]> git.immae.eu Git - github/fretlink/time-picker.git/commitdiff
change the className of panel and its container.
authorMG12 <wuzhao.mail@gmail.com>
Fri, 20 Nov 2015 05:28:12 +0000 (13:28 +0800)
committerMG12 <wuzhao.mail@gmail.com>
Fri, 20 Nov 2015 05:28:12 +0000 (13:28 +0800)
HISTORY.md
assets/index/Panel.less
assets/index/Picker.less
package.json
src/TimePicker.jsx
src/module/Panel.jsx

index 53c7836b7488522302e6889e26e03768ffb8834e..e4b12b660551a59d510b5315affe5421a6ec6277 100644 (file)
@@ -2,17 +2,22 @@
 
 ---
 
-0.5.6 / 2015-11-20
+0.7.0 / 2015-11-20
+------------------
+
+`update` change the className of panel and its container.
+
+0.5.6 / 2015-11-19
 ------------------
 
 `fix` use another method to change time and fix the bug about value.getTime().
 
-0.5.4 / 2015-11-20
+0.5.4 / 2015-11-19
 ------------------
 
 `update` change value prop to defaultValue.
 
-0.5.2 / 2015-11-20
+0.5.2 / 2015-11-19
 ------------------
 
 `update` renew placements config.
index 0abdbfb98eac091bea7fcad643cf4be4ad66f1ef..a11c4aa157f7de99d160d3e4881e3662f5580d83 100644 (file)
@@ -1,4 +1,4 @@
-.@{prefixClass}-panel {
+.@{prefixClass}-panel-inner {
   display: inline-block;
   position: relative;
   outline: none;
index c8de18a584eca7d6e85d3c0b0534017e1b5d3714..dc1fbbda443cba366d262f54fb40b4b5db239f70 100644 (file)
@@ -1,4 +1,4 @@
-.@{prefixClass}-container {
+.@{prefixClass}-panel {
   z-index: 1070;
   position: absolute;
 
index 8ecd8af3794196814428cf3ca31694afbf668dbc..e721be7c79a9acc5b53e09450ab47a65b14d2b4c 100644 (file)
@@ -1,6 +1,6 @@
 {
   "name": "rc-time-picker",
-  "version": "0.6.0",
+  "version": "0.7.0",
   "description": "React TimePicker",
   "keywords": [
     "react",
index f0b580c2dbf1d169c74ce17e1e4cf20bbc936e50..060446a4d183f0f1e043b424abb91edc469cdcbd 100644 (file)
@@ -148,7 +148,7 @@ const Picker = React.createClass({
 
     return (
       <Trigger
-        prefixCls={`${prefixCls}-container`}
+        prefixCls={`${prefixCls}-panel`}
         popup={this.getPanelElement()}
         popupAlign={align}
         builtinPlacements={placements}
index d5e15217e909ae0ed0e5d2fc9bb11c2371cb42af..e372774af9c3786964397b9e0bbd4d5885bd4f37 100644 (file)
@@ -90,7 +90,7 @@ const Panel = React.createClass({
     const cls = classnames({ 'narrow': !this.showHour || !this.showSecond });
 
     return (
-      <div className={`${prefixCls}-panel ${cls}`}>
+      <div className={`${prefixCls}-panel-inner ${cls}`}>
         <Header
           prefixCls={prefixCls}
           gregorianTimePickerLocale={value.locale}