@zgfe/business-lib 1.0.21-cdp.25 → 1.0.21-cdp.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -104,7 +104,7 @@ var MonthDay = function MonthDay(props) {
104
104
  }, /*#__PURE__*/React.createElement("div", {
105
105
  className: "".concat(classPrefix, "-wrapper")
106
106
  }, /*#__PURE__*/React.createElement("div", {
107
- className: "".concat(classPrefix, "-handle ").concat(props.size)
107
+ className: "".concat(classPrefix, "-handle ").concat(props.size, " ").concat(!chosenDayList.length ? "holder" : '')
108
108
  }, /*#__PURE__*/React.createElement("div", {
109
109
  className: "".concat(classPrefix, "-val")
110
110
  }, chosenDayList.map(function (item) {
@@ -5,7 +5,7 @@
5
5
  width: 129px;
6
6
  }
7
7
  &-day {
8
- width: 210px;
8
+ width: 280px;
9
9
  vertical-align: top;
10
10
  &.multi {
11
11
  width: 470px;
@@ -19,6 +19,18 @@
19
19
  .bsicon {
20
20
  flex: none;
21
21
  }
22
+ &.holder {
23
+ padding: 0 @padding-xs;
24
+ &.large {
25
+ line-height: @height-lg;
26
+ }
27
+ &.middle {
28
+ line-height: @height-base;
29
+ }
30
+ &.small {
31
+ line-height: @height-sm;
32
+ }
33
+ }
22
34
  }
23
35
  &-holder {
24
36
  color: @input-placeholder-color;
@@ -53,7 +65,8 @@
53
65
  text-align: center;
54
66
  border-radius: 100%;
55
67
  &.lastday {
56
- .__default-hover();
68
+ color: @primary-color;
69
+ font-size: @font-size-sm;
57
70
  }
58
71
  }
59
72
  }
@@ -1,5 +1,6 @@
1
1
  import React from 'react';
2
2
  import { IconFontProps } from '@ant-design/icons/lib/components/IconFont';
3
+ import '../assets/iconfont/iconfont.css';
3
4
  interface Props extends IconFontProps {
4
5
  family?: string;
5
6
  size?: number;
@@ -11,6 +11,7 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return
11
11
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
12
12
 
13
13
  import React, { useMemo } from 'react';
14
+ import '../assets/iconfont/iconfont.css';
14
15
 
15
16
  var IconFont = function IconFont(props) {
16
17
  var className = props.className,
@@ -8,6 +8,9 @@
8
8
 
9
9
  &.disable {
10
10
  .__disable();
11
+ .bsicon {
12
+ color: @disabled-color;
13
+ }
11
14
  }
12
15
 
13
16
  .__select-default();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zgfe/business-lib",
3
- "version": "1.0.21-cdp.25",
3
+ "version": "1.0.21-cdp.26",
4
4
  "scripts": {
5
5
  "start": "dumi dev",
6
6
  "docs:build": "dumi build",
@@ -58,5 +58,5 @@
58
58
  "react": "^16.12.0 || ^17.0.0",
59
59
  "yorkie": "^2.0.0"
60
60
  },
61
- "gitHead": "5dd4f2a2d987418c3035b3472b15fcca213895d7"
61
+ "gitHead": "dbc273e27fa3890a325a22e415ea5054c85add28"
62
62
  }