@zohodesk/components 1.0.0-temp-153 → 1.0.0-temp-155
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.
- package/README.md +4 -0
- package/es/Avatar/Avatar.module.css +8 -8
- package/es/AvatarTeam/AvatarTeam.module.css +33 -32
- package/es/Button/css/Button.module.css +49 -48
- package/es/Buttongroup/Buttongroup.module.css +10 -10
- package/es/CheckBox/CheckBox.module.css +14 -14
- package/es/DateTime/DateTime.module.css +32 -32
- package/es/DateTime/YearView.module.css +12 -12
- package/es/DropBox/DropBoxElement/css/DropBoxElement.module.css +42 -41
- package/es/DropDown/DropDown.module.css +2 -2
- package/es/DropDown/DropDownHeading.module.css +5 -5
- package/es/DropDown/DropDownItem.module.css +7 -7
- package/es/DropDown/DropDownSearch.module.css +3 -3
- package/es/DropDown/DropDownSeparator.module.css +2 -2
- package/es/Label/Label.module.css +6 -6
- package/es/ListItem/ListItem.module.css +37 -37
- package/es/MultiSelect/MultiSelect.module.css +25 -24
- package/es/MultiSelect/SelectedOptions.module.css +4 -4
- package/es/Radio/Radio.module.css +9 -9
- package/es/ResponsiveDropBox/ResponsiveDropBox.module.css +1 -1
- package/es/Ribbon/Ribbon.module.css +44 -42
- package/es/Select/Select.module.css +19 -19
- package/es/Stencils/Stencils.module.css +13 -13
- package/es/Switch/Switch.module.css +22 -22
- package/es/Tab/Tab.module.css +10 -10
- package/es/Tab/Tabs.module.css +12 -12
- package/es/Tag/Tag.module.css +20 -20
- package/es/TextBox/TextBox.module.css +15 -14
- package/es/TextBoxIcon/TextBoxIcon.module.css +2 -1
- package/es/Textarea/Textarea.module.css +21 -21
- package/es/Tooltip/Tooltip.module.css +10 -3
- package/es/common/avatarsizes.module.css +16 -16
- package/es/common/boxShadow.module.css +1 -3
- package/es/common/customscroll.module.css +2 -0
- package/es/common/reset.module.css +1 -0
- package/es/deprecated/AdvancedMultiSelect.module.css +16 -16
- package/lib/Avatar/Avatar.module.css +8 -8
- package/lib/AvatarTeam/AvatarTeam.module.css +33 -32
- package/lib/Button/css/Button.module.css +49 -48
- package/lib/Buttongroup/Buttongroup.module.css +10 -10
- package/lib/CheckBox/CheckBox.module.css +14 -14
- package/lib/DateTime/DateTime.js +1 -1
- package/lib/DateTime/DateTime.module.css +32 -32
- package/lib/DateTime/DateTimePopupFooter.js +1 -1
- package/lib/DateTime/DateTimePopupHeader.js +1 -1
- package/lib/DateTime/DateWidget.js +1 -1
- package/lib/DateTime/DaysRow.js +1 -1
- package/lib/DateTime/Time.js +1 -1
- package/lib/DateTime/YearView.js +1 -1
- package/lib/DateTime/YearView.module.css +12 -12
- package/lib/DateTime/dateFormatUtils/timeChange.js +1 -1
- package/lib/DropBox/DropBoxElement/css/DropBoxElement.module.css +42 -41
- package/lib/DropDown/DropDown.module.css +2 -2
- package/lib/DropDown/DropDownHeading.module.css +5 -5
- package/lib/DropDown/DropDownItem.module.css +7 -7
- package/lib/DropDown/DropDownSearch.module.css +3 -3
- package/lib/DropDown/DropDownSeparator.module.css +2 -2
- package/lib/Label/Label.js +3 -1
- package/lib/Label/Label.module.css +6 -6
- package/lib/ListItem/ListContainer.js +1 -1
- package/lib/ListItem/ListItem.js +1 -1
- package/lib/ListItem/ListItem.module.css +37 -37
- package/lib/ListItem/ListItemWithAvatar.js +1 -1
- package/lib/ListItem/ListItemWithIcon.js +1 -1
- package/lib/Modal/Modal.js +1 -1
- package/lib/MultiSelect/AdvancedGroupMultiSelect.js +1 -1
- package/lib/MultiSelect/AdvancedMultiSelect.js +1 -2
- package/lib/MultiSelect/EmptyState.js +1 -1
- package/lib/MultiSelect/MultiSelect.js +1 -2
- package/lib/MultiSelect/MultiSelect.module.css +25 -24
- package/lib/MultiSelect/MultiSelectHeader.js +1 -1
- package/lib/MultiSelect/MultiSelectWithAvatar.js +1 -1
- package/lib/MultiSelect/SelectedOptions.js +1 -1
- package/lib/MultiSelect/SelectedOptions.module.css +4 -4
- package/lib/MultiSelect/Suggestions.js +1 -1
- package/lib/Popup/Popup.js +1 -1
- package/lib/Popup/__tests__/Popup.spec.js +1 -1
- package/lib/Radio/Radio.js +1 -1
- package/lib/Radio/Radio.module.css +9 -9
- package/lib/Responsive/CustomResponsive.js +0 -1
- package/lib/Responsive/ResizeComponent.js +3 -1
- package/lib/Responsive/Responsive.js +1 -1
- package/lib/ResponsiveDropBox/ResponsiveDropBox.module.css +1 -1
- package/lib/Ribbon/Ribbon.js +1 -1
- package/lib/Ribbon/Ribbon.module.css +44 -42
- package/lib/Select/GroupSelect.js +1 -1
- package/lib/Select/Select.js +1 -2
- package/lib/Select/Select.module.css +19 -19
- package/lib/Select/SelectWithAvatar.js +1 -1
- package/lib/Select/SelectWithIcon.js +1 -1
- package/lib/Select/__tests__/Select.spec.js +1 -1
- package/lib/Stencils/Stencils.js +1 -1
- package/lib/Stencils/Stencils.module.css +13 -13
- package/lib/Switch/Switch.module.css +22 -22
- package/lib/Tab/Tab.js +1 -1
- package/lib/Tab/Tab.module.css +10 -10
- package/lib/Tab/Tabs.js +7 -1
- package/lib/Tab/Tabs.module.css +12 -12
- package/lib/Tag/Tag.module.css +20 -20
- package/lib/TextBox/TextBox.js +1 -1
- package/lib/TextBox/TextBox.module.css +15 -14
- package/lib/TextBoxIcon/TextBoxIcon.module.css +2 -1
- package/lib/TextBoxIcon/__tests__/TextBoxIcon.spec.js +0 -1
- package/lib/Textarea/Textarea.js +1 -1
- package/lib/Textarea/Textarea.module.css +21 -21
- package/lib/Tooltip/Tooltip.module.css +10 -3
- package/lib/common/avatarsizes.module.css +16 -16
- package/lib/common/boxShadow.module.css +1 -3
- package/lib/common/customscroll.module.css +2 -0
- package/lib/common/reset.module.css +1 -0
- package/lib/deprecated/AdvancedMultiSelect.module.css +16 -16
- package/lib/deprecated/PortalLayer/PortalLayer.js +1 -1
- package/lib/utils/dropDownUtils.js +1 -1
- package/package.json +20 -13
|
@@ -3,24 +3,24 @@
|
|
|
3
3
|
}
|
|
4
4
|
|
|
5
5
|
[dir=ltr] .boxPadding {
|
|
6
|
-
padding-right:
|
|
7
|
-
padding-left:
|
|
6
|
+
padding-right: 19px;
|
|
7
|
+
padding-left: 19px;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
[dir=rtl] .boxPadding {
|
|
11
|
-
padding-left:
|
|
12
|
-
padding-right:
|
|
11
|
+
padding-left: 19px;
|
|
12
|
+
padding-right: 19px;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
.container {
|
|
16
|
-
font-size:
|
|
16
|
+
font-size: 16px;
|
|
17
17
|
composes: offSelection from '../common/common.module.css';
|
|
18
18
|
border-radius: 3px;
|
|
19
19
|
background-color: var(--zdt_datetime_default_bg);
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
.header {
|
|
23
|
-
min-height:
|
|
23
|
+
min-height: 36px;
|
|
24
24
|
composes: boxPadding;
|
|
25
25
|
text-align: center;
|
|
26
26
|
background-color: var(--zdt_datetime_header_bg);
|
|
@@ -33,18 +33,18 @@
|
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
.grid {
|
|
36
|
-
width:
|
|
37
|
-
height:
|
|
36
|
+
width: 28px;
|
|
37
|
+
height: 28px;
|
|
38
38
|
line-height: var(--zd_size18);
|
|
39
39
|
text-align: center;
|
|
40
|
-
padding:
|
|
40
|
+
padding: 4px 0;
|
|
41
41
|
border-radius: 50%;
|
|
42
42
|
border: 1px solid transparent;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
.thArrow,
|
|
46
46
|
.datesStr {
|
|
47
|
-
font-size:
|
|
47
|
+
font-size: 13px;
|
|
48
48
|
color: var(--zdt_datetime_datestr_text);
|
|
49
49
|
}
|
|
50
50
|
|
|
@@ -62,15 +62,15 @@
|
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
[dir=ltr] .navigation {
|
|
65
|
-
margin-left:
|
|
65
|
+
margin-left: 2px;
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
[dir=rtl] .navigation {
|
|
69
|
-
margin-right:
|
|
69
|
+
margin-right: 2px;
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
.thMonYear {
|
|
73
|
-
font-size:
|
|
73
|
+
font-size: 13px;
|
|
74
74
|
line-height: var(--zd_size24);
|
|
75
75
|
color: var(--zdt_datetime_datestr_text);
|
|
76
76
|
composes: semibold;
|
|
@@ -78,8 +78,8 @@
|
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
.dateContainer {
|
|
81
|
-
margin: 0
|
|
82
|
-
padding:
|
|
81
|
+
margin: 0 19px 0 19px;
|
|
82
|
+
padding: 6px 0 10px 0;
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
.separator {
|
|
@@ -87,23 +87,23 @@
|
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
.days {
|
|
90
|
-
min-height:
|
|
90
|
+
min-height: 36px;
|
|
91
91
|
composes: boxPadding;
|
|
92
92
|
composes: alignBetween from '../common/common.module.css';
|
|
93
|
-
padding-top:
|
|
93
|
+
padding-top: 7px;
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
.daysStr {
|
|
97
|
-
font-size:
|
|
97
|
+
font-size: 10px;
|
|
98
98
|
color: var(--zdt_datetime_daystr_text);
|
|
99
99
|
text-transform: uppercase;
|
|
100
100
|
composes: semibold;
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
.dateRow {
|
|
104
|
-
height:
|
|
104
|
+
height: 28px;
|
|
105
105
|
composes: alignBetween from '../common/common.module.css';
|
|
106
|
-
margin:
|
|
106
|
+
margin: 1px 0 5px;
|
|
107
107
|
}
|
|
108
108
|
|
|
109
109
|
.dateRow:last-child {
|
|
@@ -149,24 +149,24 @@
|
|
|
149
149
|
|
|
150
150
|
|
|
151
151
|
.timesection {
|
|
152
|
-
padding-top:
|
|
153
|
-
padding-bottom:
|
|
152
|
+
padding-top: 5px;
|
|
153
|
+
padding-bottom: 10px;
|
|
154
154
|
}
|
|
155
155
|
|
|
156
156
|
.dropDownContainer {
|
|
157
|
-
padding: 0
|
|
157
|
+
padding: 0 5px;
|
|
158
158
|
}
|
|
159
159
|
|
|
160
160
|
.dropDown {
|
|
161
|
-
width:
|
|
161
|
+
width: 60px;
|
|
162
162
|
display: inline-block;
|
|
163
163
|
position: relative;
|
|
164
|
-
margin: 0
|
|
164
|
+
margin: 0 4px;
|
|
165
165
|
}
|
|
166
166
|
|
|
167
167
|
.footer {
|
|
168
|
-
margin-top:
|
|
169
|
-
padding-bottom:
|
|
168
|
+
margin-top: 10px;
|
|
169
|
+
padding-bottom: 12px;
|
|
170
170
|
}
|
|
171
171
|
|
|
172
172
|
.timesection,
|
|
@@ -176,7 +176,7 @@
|
|
|
176
176
|
|
|
177
177
|
.space {
|
|
178
178
|
display: inline-block;
|
|
179
|
-
width:
|
|
179
|
+
width: 15px;
|
|
180
180
|
}
|
|
181
181
|
|
|
182
182
|
.downArrow {
|
|
@@ -184,11 +184,11 @@
|
|
|
184
184
|
}
|
|
185
185
|
|
|
186
186
|
[dir=ltr] .downArrow {
|
|
187
|
-
margin-left:
|
|
187
|
+
margin-left: 2px;
|
|
188
188
|
}
|
|
189
189
|
|
|
190
190
|
[dir=rtl] .downArrow {
|
|
191
|
-
margin-right:
|
|
191
|
+
margin-right: 2px;
|
|
192
192
|
}
|
|
193
193
|
|
|
194
194
|
.dateText {
|
|
@@ -201,12 +201,12 @@
|
|
|
201
201
|
|
|
202
202
|
.text {
|
|
203
203
|
composes: boxPadding;
|
|
204
|
-
font-size:
|
|
204
|
+
font-size: 11px;
|
|
205
205
|
text-transform: uppercase;
|
|
206
206
|
color: var(--zdt_datetime_text);
|
|
207
207
|
composes: semibold;
|
|
208
208
|
display: block;
|
|
209
|
-
margin-top:
|
|
209
|
+
margin-top: 14px;
|
|
210
210
|
}
|
|
211
211
|
|
|
212
212
|
.yearContainer {
|
|
@@ -23,7 +23,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
|
|
|
23
23
|
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
24
24
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
25
25
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
26
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
26
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } /* eslint-disable react/forbid-component-props */ /** ** Libraries *** */ /** ** Components *** */ /** ** CSS *** */
|
|
27
27
|
var DateTimePopupFooter = /*#__PURE__*/function (_PureComponent) {
|
|
28
28
|
_inherits(DateTimePopupFooter, _PureComponent);
|
|
29
29
|
var _super = _createSuper(DateTimePopupFooter);
|
|
@@ -24,7 +24,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
|
|
|
24
24
|
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
25
25
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
26
26
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
27
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
27
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } /* eslint-disable react/forbid-component-props */ /** ** Libraries *** */ /** ** Components *** */ /** ** CSS *** */
|
|
28
28
|
var Span = /*#__PURE__*/function (_React$PureComponent) {
|
|
29
29
|
_inherits(Span, _React$PureComponent);
|
|
30
30
|
var _super = _createSuper(Span);
|
|
@@ -37,7 +37,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
|
|
|
37
37
|
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
38
38
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
39
39
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
40
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
40
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } /**** Libraries ****/ /**** Components ****/ /**** CSS ****/ /**** Methods ****/ /** * Constants ** */
|
|
41
41
|
/* eslint-disable react/no-unused-prop-types */
|
|
42
42
|
/* eslint css-modules/no-unused-class: [0, { markAsUsed: 'inputLine'] }] */
|
|
43
43
|
var DateWidgetComponent = /*#__PURE__*/function (_React$Component) {
|
package/lib/DateTime/DaysRow.js
CHANGED
|
@@ -22,7 +22,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
|
|
|
22
22
|
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
23
23
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
24
24
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
25
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
25
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } /* eslint-disable react/forbid-component-props */ /** ** Libraries *** */ /** ** CSS *** */ /** ** Components *** */
|
|
26
26
|
var DaysRow = /*#__PURE__*/function (_PureComponent) {
|
|
27
27
|
_inherits(DaysRow, _PureComponent);
|
|
28
28
|
var _super = _createSuper(DaysRow);
|
package/lib/DateTime/Time.js
CHANGED
|
@@ -23,7 +23,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
|
|
|
23
23
|
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
24
24
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
25
25
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
26
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
26
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } /* eslint-disable react/forbid-component-props */ /** ** Libraries *** */ /**** Components ****/ /** ** CSS *** */
|
|
27
27
|
var Time = /*#__PURE__*/function (_PureComponent) {
|
|
28
28
|
_inherits(Time, _PureComponent);
|
|
29
29
|
var _super = _createSuper(Time);
|
package/lib/DateTime/YearView.js
CHANGED
|
@@ -26,7 +26,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
|
|
|
26
26
|
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
27
27
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
28
28
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
29
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
29
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } /**** Libraries ****/ /**** Components ****/ /**** CSS ****/ /**** Methods ****/
|
|
30
30
|
var monthNamesData = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'];
|
|
31
31
|
function getYears() {
|
|
32
32
|
var years = [];
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
[dir=ltr] .boxPadding {
|
|
2
|
-
padding-right:
|
|
3
|
-
padding-left:
|
|
2
|
+
padding-right: 19px;
|
|
3
|
+
padding-left: 19px;
|
|
4
4
|
}[dir=rtl] .boxPadding {
|
|
5
|
-
padding-left:
|
|
6
|
-
padding-right:
|
|
5
|
+
padding-left: 19px;
|
|
6
|
+
padding-right: 19px;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
.month {
|
|
10
10
|
width: 30.333%;
|
|
11
|
-
font-size:
|
|
11
|
+
font-size: 12px;
|
|
12
12
|
line-height: var(--zd_size26);
|
|
13
|
-
height:
|
|
13
|
+
height: 26px;
|
|
14
14
|
color: var(--zdt_yearview_month_text);
|
|
15
15
|
text-align: center;
|
|
16
|
-
margin: 0 0
|
|
16
|
+
margin: 0 0 1px;
|
|
17
17
|
cursor: pointer;
|
|
18
18
|
background-color: var(--zdt_yearview_month_bg);
|
|
19
19
|
border-radius: 20px;
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
.year {
|
|
40
|
-
padding:
|
|
40
|
+
padding: 7px 0;
|
|
41
41
|
cursor: pointer;
|
|
42
42
|
}
|
|
43
43
|
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
|
|
49
49
|
.yearText {
|
|
50
50
|
color: var(--zdt_yearview_yeartext_text);
|
|
51
|
-
font-size:
|
|
51
|
+
font-size: 11px;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
.arrow {
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
.isActive .yearText {
|
|
64
64
|
font-family: var(--zd_semibold);
|
|
65
65
|
color: var(--zdt_yearview_year_hover_text);
|
|
66
|
-
font-size:
|
|
66
|
+
font-size: 11px;
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
.arrowActive {
|
|
@@ -87,10 +87,10 @@
|
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
.yearContainer {
|
|
90
|
-
height:
|
|
90
|
+
height: 135px;
|
|
91
91
|
overflow: hidden;
|
|
92
92
|
transition: height var(--zd_transition1);
|
|
93
|
-
padding-bottom:
|
|
93
|
+
padding-bottom: 5px;
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
.toggleYear {
|
|
@@ -13,7 +13,7 @@ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructur
|
|
|
13
13
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
14
14
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
15
15
|
function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
|
|
16
|
-
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
16
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } /** * Methods ** */
|
|
17
17
|
function getChangedHour(values, event, focusOrders, keyActions) {
|
|
18
18
|
var _ref = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : {},
|
|
19
19
|
_ref$is24Hour = _ref.is24Hour,
|
|
@@ -28,44 +28,44 @@
|
|
|
28
28
|
|
|
29
29
|
.mobRadius {
|
|
30
30
|
--dropbox_border_radius: 30px 30px 0 0;
|
|
31
|
-
--dropbox_padding:
|
|
31
|
+
--dropbox_padding: 10px 0 0 0;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
/* sizes */
|
|
35
35
|
.mini {
|
|
36
|
-
width:
|
|
36
|
+
width: 140px;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
.xmini {
|
|
40
|
-
width:
|
|
40
|
+
width: 160px;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
.xsmall {
|
|
44
|
-
width:
|
|
44
|
+
width: 180px;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
.small {
|
|
48
|
-
width:
|
|
48
|
+
width: 200px;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
.medium {
|
|
52
|
-
width:
|
|
52
|
+
width: 220px;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
.large {
|
|
56
|
-
width:
|
|
56
|
+
width: 260px;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
.mlarge {
|
|
60
|
-
width:
|
|
60
|
+
width: 280px;
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
.xlarge {
|
|
64
|
-
width:
|
|
64
|
+
width: 304px;
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
.xxlarge {
|
|
68
|
-
width:
|
|
68
|
+
width: 364px;
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
.default {
|
|
@@ -160,55 +160,55 @@
|
|
|
160
160
|
|
|
161
161
|
/* space for arrow */
|
|
162
162
|
.arrowtop {
|
|
163
|
-
padding-bottom:
|
|
163
|
+
padding-bottom: 10px;
|
|
164
164
|
}
|
|
165
165
|
|
|
166
166
|
.arrowright {
|
|
167
|
-
padding-left:
|
|
167
|
+
padding-left: 10px;
|
|
168
168
|
}
|
|
169
169
|
|
|
170
170
|
.arrowleft {
|
|
171
|
-
padding-right:
|
|
171
|
+
padding-right: 10px;
|
|
172
172
|
}
|
|
173
173
|
|
|
174
174
|
.arrowbottom {
|
|
175
|
-
padding-top:
|
|
175
|
+
padding-top: 10px;
|
|
176
176
|
}
|
|
177
177
|
|
|
178
178
|
/* space from target */
|
|
179
179
|
.paddingSpace_top {
|
|
180
|
-
padding-bottom:
|
|
180
|
+
padding-bottom: 5px;
|
|
181
181
|
}
|
|
182
182
|
|
|
183
183
|
.paddingSpace_right {
|
|
184
|
-
padding-left:
|
|
184
|
+
padding-left: 5px;
|
|
185
185
|
}
|
|
186
186
|
|
|
187
187
|
.paddingSpace_left {
|
|
188
|
-
padding-right:
|
|
188
|
+
padding-right: 5px;
|
|
189
189
|
}
|
|
190
190
|
|
|
191
191
|
.paddingSpace_bottom {
|
|
192
|
-
padding-top:
|
|
192
|
+
padding-top: 5px;
|
|
193
193
|
}
|
|
194
194
|
|
|
195
195
|
.arrow {
|
|
196
196
|
position: absolute;
|
|
197
|
-
height:
|
|
198
|
-
width:
|
|
199
|
-
clip: rect(
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
padding:
|
|
197
|
+
height: 34px;
|
|
198
|
+
width: 34px;
|
|
199
|
+
clip: rect(3px,
|
|
200
|
+
29px,
|
|
201
|
+
17px,
|
|
202
|
+
8px);
|
|
203
|
+
padding: 4px;
|
|
204
204
|
display: flex;
|
|
205
205
|
align-items: center;
|
|
206
206
|
justify-content: center;
|
|
207
207
|
}
|
|
208
208
|
|
|
209
209
|
.arrowShape {
|
|
210
|
-
height:
|
|
211
|
-
width:
|
|
210
|
+
height: 10px;
|
|
211
|
+
width: 10px;
|
|
212
212
|
box-shadow: 1px -1px 2px 0 var(--dropbox_arrow_box_shadow_color);
|
|
213
213
|
background-color: var(--dropbox_bg_color);
|
|
214
214
|
-webkit-transform: rotateZ(-45deg);
|
|
@@ -225,15 +225,15 @@
|
|
|
225
225
|
.top .start,
|
|
226
226
|
.top .end,
|
|
227
227
|
.top .mid {
|
|
228
|
-
bottom:
|
|
228
|
+
bottom: -17px;
|
|
229
229
|
}
|
|
230
230
|
|
|
231
231
|
.top .start {
|
|
232
|
-
left:
|
|
232
|
+
left: 28px;
|
|
233
233
|
}
|
|
234
234
|
|
|
235
235
|
.top .end {
|
|
236
|
-
right:
|
|
236
|
+
right: 28px;
|
|
237
237
|
transform: rotate(180deg) translateX(-50%);
|
|
238
238
|
}
|
|
239
239
|
|
|
@@ -249,11 +249,11 @@
|
|
|
249
249
|
.bottom .start,
|
|
250
250
|
.bottom .end,
|
|
251
251
|
.bottom .mid {
|
|
252
|
-
top:
|
|
252
|
+
top: -17px;
|
|
253
253
|
}
|
|
254
254
|
|
|
255
255
|
.bottom .start {
|
|
256
|
-
left:
|
|
256
|
+
left: 28px;
|
|
257
257
|
}
|
|
258
258
|
|
|
259
259
|
.bottom .mid {
|
|
@@ -261,7 +261,7 @@
|
|
|
261
261
|
}
|
|
262
262
|
|
|
263
263
|
.bottom .end {
|
|
264
|
-
right:
|
|
264
|
+
right: 28px;
|
|
265
265
|
transform: translateX(50%);
|
|
266
266
|
}
|
|
267
267
|
|
|
@@ -273,16 +273,16 @@
|
|
|
273
273
|
.left .start,
|
|
274
274
|
.left .mid,
|
|
275
275
|
.left .end {
|
|
276
|
-
right:
|
|
276
|
+
right: -17px;
|
|
277
277
|
}
|
|
278
278
|
|
|
279
279
|
.left .start {
|
|
280
|
-
top:
|
|
280
|
+
top: 28px;
|
|
281
281
|
}
|
|
282
282
|
|
|
283
283
|
.left .end {
|
|
284
284
|
transform: rotate(90deg) translateX(50%);
|
|
285
|
-
bottom:
|
|
285
|
+
bottom: 28px;
|
|
286
286
|
}
|
|
287
287
|
|
|
288
288
|
.left .mid {
|
|
@@ -297,11 +297,11 @@
|
|
|
297
297
|
.right .start,
|
|
298
298
|
.right .mid,
|
|
299
299
|
.right .end {
|
|
300
|
-
left:
|
|
300
|
+
left: -17px;
|
|
301
301
|
}
|
|
302
302
|
|
|
303
303
|
.right .start {
|
|
304
|
-
top:
|
|
304
|
+
top: 28px;
|
|
305
305
|
}
|
|
306
306
|
|
|
307
307
|
.right .mid {
|
|
@@ -314,7 +314,7 @@
|
|
|
314
314
|
}
|
|
315
315
|
|
|
316
316
|
.right .end {
|
|
317
|
-
bottom:
|
|
317
|
+
bottom: 28px;
|
|
318
318
|
transform: rotate(-90deg) translateX(-50%);
|
|
319
319
|
}
|
|
320
320
|
.hidden {
|
|
@@ -411,16 +411,17 @@
|
|
|
411
411
|
}
|
|
412
412
|
|
|
413
413
|
.closeBar {
|
|
414
|
+
/* Variable:Ignore */
|
|
414
415
|
height: 6px;
|
|
415
416
|
width: 20%;
|
|
416
417
|
border-radius: 5px;
|
|
417
418
|
background-color: var(--dropbox_mob_close_bg_color);
|
|
418
419
|
cursor: pointer;
|
|
419
|
-
margin: 0 auto
|
|
420
|
+
margin: 0 auto 10px;
|
|
420
421
|
}
|
|
421
422
|
|
|
422
423
|
.boxPadding {
|
|
423
|
-
--dropbox_padding:
|
|
424
|
+
--dropbox_padding: 10px 0;
|
|
424
425
|
}
|
|
425
426
|
|
|
426
427
|
.darkPalette {
|
|
@@ -2,20 +2,20 @@
|
|
|
2
2
|
/* dropdownheading default variables */
|
|
3
3
|
--dropdownheading_text_color: var(--zdt_dropdown_default_text);
|
|
4
4
|
--dropdownheading_text_transform: uppercase;
|
|
5
|
-
--dropdownheading_padding:
|
|
5
|
+
--dropdownheading_padding: 10px 20px;
|
|
6
6
|
--dropdownheading_bg_color: none;
|
|
7
7
|
|
|
8
8
|
/* dropdownheading underline default variables */
|
|
9
|
-
--dropdownheading_underline_width:
|
|
9
|
+
--dropdownheading_underline_width: 20px;
|
|
10
10
|
--dropdownheading_underline_height: 1px;
|
|
11
11
|
--dropdownheading_underline_bg_color: var(--zdt_dropdown_default_bg);
|
|
12
|
-
--dropdownheading_underline_left:
|
|
12
|
+
--dropdownheading_underline_left: 20px;
|
|
13
13
|
}
|
|
14
14
|
.default {
|
|
15
15
|
composes: dotted semibold from '../common/common.module.css';
|
|
16
16
|
composes: varClass;
|
|
17
17
|
position: relative;
|
|
18
|
-
font-size:
|
|
18
|
+
font-size: 11px;
|
|
19
19
|
letter-spacing: 0.6px;
|
|
20
20
|
text-transform: var(--dropdownheading_text_transform);
|
|
21
21
|
color: var(--dropdownheading_text_color);
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
.default::after {
|
|
26
26
|
position: absolute;
|
|
27
27
|
content: '';
|
|
28
|
-
bottom:
|
|
28
|
+
bottom: 2px;
|
|
29
29
|
width: var(--dropdownheading_underline_width);
|
|
30
30
|
height: var(--dropdownheading_underline_height);
|
|
31
31
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
.varClass {
|
|
2
2
|
/* dropdownitem default variables */
|
|
3
|
-
--dropdownitem-padding:
|
|
3
|
+
--dropdownitem-padding: 9px 19px;
|
|
4
4
|
--dropdownitem-border-color: var(--zdt_dropdown_default_border);
|
|
5
5
|
--dropdownitem-bg-color: var(--zdt_dropdown_mirror_bg);
|
|
6
6
|
|
|
7
7
|
/* dropdownitem user default variables */
|
|
8
|
-
--dropdownitem-user-width:
|
|
8
|
+
--dropdownitem-user-width: 42px;
|
|
9
9
|
--dropdownitem-user-border-style: solid;
|
|
10
10
|
--dropdownitem-user-border-color: var(--zdt_dropdown_user_default_border);
|
|
11
11
|
--dropdownitem-user-cursor: pointer;
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
composes: dflex alignVertical from '../common/common.module.css';
|
|
20
20
|
position: relative;
|
|
21
21
|
color: var(--zdt_dropdown_default_text);
|
|
22
|
-
font-size:
|
|
22
|
+
font-size: 13px;
|
|
23
23
|
padding: var(--dropdownitem-padding);
|
|
24
24
|
border-style: solid;
|
|
25
25
|
border-color: var(--dropdownitem-border-color);
|
|
@@ -42,11 +42,11 @@
|
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
[dir=ltr] .padding {
|
|
45
|
-
--dropdownitem-padding: 0
|
|
45
|
+
--dropdownitem-padding: 0 50px 0 0/*rtl: 0 0 0 50px*/;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
[dir=rtl] .padding {
|
|
49
|
-
--dropdownitem-padding: 0 0 0
|
|
49
|
+
--dropdownitem-padding: 0 0 0 50px;
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
.children {
|
|
@@ -55,11 +55,11 @@
|
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
[dir=ltr] .children {
|
|
58
|
-
margin-right:
|
|
58
|
+
margin-right: 10px;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
[dir=rtl] .children {
|
|
62
|
-
margin-left:
|
|
62
|
+
margin-left: 10px;
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
.value {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
.varClass {
|
|
2
2
|
/* dropdownsearch default variables */
|
|
3
|
-
--dropdownsearch-padding: 0
|
|
3
|
+
--dropdownsearch-padding: 0 15px 0;
|
|
4
4
|
}
|
|
5
5
|
.search {
|
|
6
6
|
composes: varClass;
|
|
7
7
|
padding: var(--dropdownsearch-padding);
|
|
8
8
|
}
|
|
9
9
|
.smallSearch {
|
|
10
|
-
--dropdownsearch-padding: 0
|
|
10
|
+
--dropdownsearch-padding: 0 5px 0;
|
|
11
11
|
}
|
|
12
12
|
.mediumSearch {
|
|
13
|
-
--dropdownsearch-padding: 0
|
|
13
|
+
--dropdownsearch-padding: 0 15px 0;
|
|
14
14
|
}
|