@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
package/lib/Label/Label.js
CHANGED
|
@@ -22,7 +22,9 @@ 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 css-modules/no-unused-class: [2, { markAsUsed: [
|
|
26
|
+
'small', 'medium', 'large', 'title', 'subtitle', 'default', 'primary', 'secondary', 'danger', 'mandatory'
|
|
27
|
+
]}] */
|
|
26
28
|
var Label = /*#__PURE__*/function (_React$Component) {
|
|
27
29
|
_inherits(Label, _React$Component);
|
|
28
30
|
var _super = _createSuper(Label);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
.varClass {
|
|
2
2
|
/* label default variables */
|
|
3
|
-
--label_font_size:
|
|
3
|
+
--label_font_size: 14px;
|
|
4
4
|
--label_text_color: var(--zdt_label_default_text);
|
|
5
5
|
--label_font_family: var(--zd_regular);
|
|
6
6
|
--label_cursor: default;
|
|
7
|
-
--label_line_height:
|
|
7
|
+
--label_line_height: 18px;
|
|
8
8
|
}
|
|
9
9
|
.label {
|
|
10
10
|
composes: varClass;
|
|
@@ -16,16 +16,16 @@
|
|
|
16
16
|
cursor: var(--label_cursor);
|
|
17
17
|
}
|
|
18
18
|
.xsmall {
|
|
19
|
-
--label_font_size:
|
|
19
|
+
--label_font_size: 12px;
|
|
20
20
|
}
|
|
21
21
|
.small {
|
|
22
|
-
--label_font_size:
|
|
22
|
+
--label_font_size: 13px;
|
|
23
23
|
}
|
|
24
24
|
.medium {
|
|
25
|
-
--label_font_size:
|
|
25
|
+
--label_font_size: 14px;
|
|
26
26
|
}
|
|
27
27
|
.large {
|
|
28
|
-
--label_font_size:
|
|
28
|
+
--label_font_size: 26px;
|
|
29
29
|
composes: semibold from '../common/common.module.css';
|
|
30
30
|
}
|
|
31
31
|
.pointer {
|
|
@@ -15,7 +15,7 @@ var _CustomResponsive = require("../Responsive/CustomResponsive");
|
|
|
15
15
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
16
16
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
17
17
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
18
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
18
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } /**** Libraries ****/
|
|
19
19
|
var ListContainer = function ListContainer(props) {
|
|
20
20
|
var size = props.size,
|
|
21
21
|
active = props.active,
|
package/lib/ListItem/ListItem.js
CHANGED
|
@@ -25,7 +25,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
|
|
|
25
25
|
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); }
|
|
26
26
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
27
27
|
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; } }
|
|
28
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
28
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } /**** Libraries ****/ /**** Components ****/ /**** CSS ****/
|
|
29
29
|
var ListItem = /*#__PURE__*/function (_React$Component) {
|
|
30
30
|
_inherits(ListItem, _React$Component);
|
|
31
31
|
var _super = _createSuper(ListItem);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
.varClass {
|
|
2
2
|
/* listitem default variables */
|
|
3
3
|
--listitem_text_color: var(--zdt_listitem_default_text);
|
|
4
|
-
--listitem_padding:
|
|
4
|
+
--listitem_padding: 9px 20px;
|
|
5
5
|
--listitem_border_width: 0;
|
|
6
6
|
--listitem_border_color: var(--zdt_listitem_default_border);
|
|
7
7
|
--listitem_bg_color: var(--zdt_listitem_default_bg);
|
|
@@ -15,17 +15,17 @@
|
|
|
15
15
|
/* listitem tick icon default variables */
|
|
16
16
|
--listitem_tickicon_color: var(--zdt_listitem_default_tickicon);
|
|
17
17
|
}[dir=ltr] .varClass {
|
|
18
|
-
--listitem_avatar_margin: 0
|
|
19
|
-
/*rtl: 0 0 0
|
|
18
|
+
--listitem_avatar_margin: 0 15px 0 0
|
|
19
|
+
/*rtl: 0 0 0 15px*/;
|
|
20
20
|
}[dir=rtl] .varClass {
|
|
21
|
-
--listitem_avatar_margin: 0 0 0
|
|
21
|
+
--listitem_avatar_margin: 0 0 0 15px;
|
|
22
22
|
}
|
|
23
23
|
.list {
|
|
24
24
|
composes: varClass;
|
|
25
25
|
position: relative;
|
|
26
26
|
list-style: none;
|
|
27
27
|
color: var(--listitem_text_color);
|
|
28
|
-
font-size:
|
|
28
|
+
font-size: 13px;
|
|
29
29
|
height: var(--listitem_height);
|
|
30
30
|
min-height: var(--listitem_min_height);
|
|
31
31
|
text-decoration: none;
|
|
@@ -48,27 +48,27 @@
|
|
|
48
48
|
--listitem_border_color: var(--zdt_listitem_active_border);
|
|
49
49
|
}
|
|
50
50
|
[dir=ltr] .small {
|
|
51
|
-
--listitem_padding:
|
|
52
|
-
|
|
53
|
-
/*rtl:
|
|
51
|
+
--listitem_padding: 7px 3px 7px
|
|
52
|
+
5px
|
|
53
|
+
/*rtl: 7px 5px 7px 3px*/;
|
|
54
54
|
}
|
|
55
55
|
[dir=rtl] .small {
|
|
56
|
-
--listitem_padding:
|
|
56
|
+
--listitem_padding: 7px 5px 7px 3px;
|
|
57
57
|
}
|
|
58
58
|
.medium {
|
|
59
|
-
--listitem_padding:
|
|
60
|
-
--listitem_min_height:
|
|
59
|
+
--listitem_padding: 7px 20px;
|
|
60
|
+
--listitem_min_height: 35px;
|
|
61
61
|
}
|
|
62
62
|
.large {
|
|
63
|
-
--listitem_height:
|
|
63
|
+
--listitem_height: 48px;
|
|
64
64
|
}
|
|
65
65
|
[dir=ltr] .large {
|
|
66
|
-
--listitem_padding:
|
|
67
|
-
|
|
68
|
-
/*rtl:
|
|
66
|
+
--listitem_padding: 10px 3px 10px
|
|
67
|
+
25px
|
|
68
|
+
/*rtl: 10px 25px 10px 3px*/;
|
|
69
69
|
}
|
|
70
70
|
[dir=rtl] .large {
|
|
71
|
-
--listitem_padding:
|
|
71
|
+
--listitem_padding: 10px 25px 10px 3px;
|
|
72
72
|
}
|
|
73
73
|
.value,
|
|
74
74
|
.children {
|
|
@@ -82,14 +82,14 @@
|
|
|
82
82
|
composes: clamp from '../common/common.module.css'
|
|
83
83
|
}
|
|
84
84
|
.iconBox {
|
|
85
|
-
width:
|
|
85
|
+
width: 20px;
|
|
86
86
|
text-align: center;
|
|
87
87
|
}
|
|
88
88
|
[dir=ltr] .iconBox {
|
|
89
|
-
margin-right:
|
|
89
|
+
margin-right: 10px;
|
|
90
90
|
}
|
|
91
91
|
[dir=rtl] .iconBox {
|
|
92
|
-
margin-left:
|
|
92
|
+
margin-left: 10px;
|
|
93
93
|
}
|
|
94
94
|
.iconBox,
|
|
95
95
|
.leftAvatar {
|
|
@@ -169,11 +169,11 @@
|
|
|
169
169
|
}
|
|
170
170
|
|
|
171
171
|
[dir=ltr] .tickIcon, [dir=ltr] .defaultTick, [dir=ltr] .darkTick {
|
|
172
|
-
right:
|
|
172
|
+
right: 20px;
|
|
173
173
|
}
|
|
174
174
|
|
|
175
175
|
[dir=rtl] .tickIcon, [dir=rtl] .defaultTick, [dir=rtl] .darkTick {
|
|
176
|
-
left:
|
|
176
|
+
left: 20px;
|
|
177
177
|
}
|
|
178
178
|
.defaultTick {
|
|
179
179
|
--listitem_tickicon_color: var(--zdt_listitem_default_tickicon);
|
|
@@ -185,32 +185,32 @@
|
|
|
185
185
|
display: block;
|
|
186
186
|
}
|
|
187
187
|
[dir=ltr] .smallwithTick {
|
|
188
|
-
--listitem_padding:
|
|
189
|
-
|
|
190
|
-
/*rtl:
|
|
188
|
+
--listitem_padding: 7px 39px 7px
|
|
189
|
+
5px
|
|
190
|
+
/*rtl: 7px 5px 7px 39px*/;
|
|
191
191
|
}
|
|
192
192
|
[dir=rtl] .smallwithTick {
|
|
193
|
-
--listitem_padding:
|
|
193
|
+
--listitem_padding: 7px 5px 7px 39px;
|
|
194
194
|
}
|
|
195
195
|
[dir=ltr] .mediumwithTick {
|
|
196
|
-
--listitem_padding:
|
|
197
|
-
|
|
198
|
-
/*rtl:
|
|
196
|
+
--listitem_padding: 7px 39px 7px
|
|
197
|
+
20px
|
|
198
|
+
/*rtl: 7px 20px 7px 39px*/;
|
|
199
199
|
}
|
|
200
200
|
[dir=rtl] .mediumwithTick {
|
|
201
|
-
--listitem_padding:
|
|
201
|
+
--listitem_padding: 7px 20px 7px 39px;
|
|
202
202
|
}
|
|
203
203
|
[dir=ltr] .largewithTick {
|
|
204
|
-
--listitem_padding:
|
|
205
|
-
|
|
206
|
-
/*rtl:
|
|
204
|
+
--listitem_padding: 10px 39px 10px
|
|
205
|
+
25px
|
|
206
|
+
/*rtl: 10px 25px 10px 39px*/;
|
|
207
207
|
}
|
|
208
208
|
[dir=rtl] .largewithTick {
|
|
209
|
-
--listitem_padding:
|
|
209
|
+
--listitem_padding: 10px 25px 10px 39px;
|
|
210
210
|
}
|
|
211
211
|
.responsiveHeight {
|
|
212
|
-
--listitem_min_height:
|
|
213
|
-
font-size:
|
|
214
|
-
padding-top:
|
|
215
|
-
padding-bottom:
|
|
212
|
+
--listitem_min_height: 45px;
|
|
213
|
+
font-size: 15px;
|
|
214
|
+
padding-top: 10px;
|
|
215
|
+
padding-bottom: 10px;
|
|
216
216
|
}
|
|
@@ -27,7 +27,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
|
|
|
27
27
|
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); }
|
|
28
28
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
29
29
|
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; } }
|
|
30
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
30
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } /**** Libraries ****/ /**** Components ****/ /**** CSS ****/
|
|
31
31
|
var ListItemWithAvatar = /*#__PURE__*/function (_React$PureComponent) {
|
|
32
32
|
_inherits(ListItemWithAvatar, _React$PureComponent);
|
|
33
33
|
var _super = _createSuper(ListItemWithAvatar);
|
|
@@ -25,7 +25,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
|
|
|
25
25
|
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); }
|
|
26
26
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
27
27
|
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; } }
|
|
28
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
28
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } /**** Libraries ****/ /**** CSS ****/
|
|
29
29
|
var ListItemWithIcon = /*#__PURE__*/function (_React$Component) {
|
|
30
30
|
_inherits(ListItemWithIcon, _React$Component);
|
|
31
31
|
var _super = _createSuper(ListItemWithIcon);
|
package/lib/Modal/Modal.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); } /**** Libraries ****/
|
|
27
27
|
var createdPortalIds = [];
|
|
28
28
|
var newPortalPrefix = 'CPortal';
|
|
29
29
|
var portalChildrenTopIndexValues;
|
|
@@ -50,7 +50,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
|
|
|
50
50
|
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); }
|
|
51
51
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
52
52
|
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; } }
|
|
53
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
53
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } /**** Components ****/ /**** Icons ****/ /**** CSS ****/ /**** Methods ****/
|
|
54
54
|
/* eslint-disable react/forbid-component-props */
|
|
55
55
|
/* eslint-disable react/no-unused-prop-types */
|
|
56
56
|
var AdvancedGroupMultiSelect = /*#__PURE__*/function (_React$Component) {
|
|
@@ -46,11 +46,10 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
|
|
|
46
46
|
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); }
|
|
47
47
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
48
48
|
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; } }
|
|
49
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
49
|
+
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 ****/
|
|
50
50
|
/* eslint-disable react/sort-prop-types */
|
|
51
51
|
/* eslint-disable react/no-unused-prop-types */
|
|
52
52
|
/* eslint-disable react/forbid-component-props */
|
|
53
|
-
|
|
54
53
|
var dummyArray = [];
|
|
55
54
|
var AdvancedMultiSelectComponent = /*#__PURE__*/function (_MultiSelectComponent) {
|
|
56
55
|
_inherits(AdvancedMultiSelectComponent, _MultiSelectComponent);
|
|
@@ -21,7 +21,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
|
|
|
21
21
|
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); }
|
|
22
22
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
23
23
|
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; } }
|
|
24
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
24
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } /**** Libraries ****/ /**** CSS ****/
|
|
25
25
|
var EmptyState = /*#__PURE__*/function (_React$PureComponent) {
|
|
26
26
|
_inherits(EmptyState, _React$PureComponent);
|
|
27
27
|
var _super = _createSuper(EmptyState);
|
|
@@ -50,10 +50,9 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
|
|
|
50
50
|
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); }
|
|
51
51
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
52
52
|
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; } }
|
|
53
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
53
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } /**** Libraries ****/ /**** Components ****/ /**** Icons ****/ /**** CSS ****/ /**** Methods ****/
|
|
54
54
|
/* eslint-disable react/forbid-component-props */
|
|
55
55
|
/* eslint-disable react/no-unused-prop-types */
|
|
56
|
-
|
|
57
56
|
var dummyArray = [];
|
|
58
57
|
var MultiSelectComponent = /*#__PURE__*/function (_React$Component) {
|
|
59
58
|
_inherits(MultiSelectComponent, _React$Component);
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
cursor: not-allowed;
|
|
6
6
|
}
|
|
7
7
|
.container {
|
|
8
|
-
max-height:
|
|
8
|
+
max-height: 120px;
|
|
9
9
|
composes: oflowy from '../common/common.module.css';
|
|
10
10
|
}
|
|
11
11
|
.hasBorder {
|
|
@@ -42,17 +42,17 @@
|
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
.container.medium {
|
|
45
|
-
padding-bottom:
|
|
45
|
+
padding-bottom: 8px;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
.container.xmedium {
|
|
49
|
-
min-height:
|
|
50
|
-
padding-bottom:
|
|
49
|
+
min-height: 30px;
|
|
50
|
+
padding-bottom: 3px;
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
.delete {
|
|
54
54
|
font: inherit;
|
|
55
|
-
padding:
|
|
55
|
+
padding: 2px 6px;
|
|
56
56
|
cursor: pointer;
|
|
57
57
|
border: 0;
|
|
58
58
|
background-color: var(--zdt_multiselect_delete_bg);
|
|
@@ -86,19 +86,19 @@
|
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
[dir=ltr] .container.xmedium .tag {
|
|
89
|
-
margin:
|
|
89
|
+
margin: 2px 10px 0 0;
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
[dir=rtl] .container.xmedium .tag {
|
|
93
|
-
margin:
|
|
93
|
+
margin: 2px 0 0 10px;
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
[dir=ltr] .container.medium .tag {
|
|
97
|
-
margin:
|
|
97
|
+
margin: 5px 10px 0 0;
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
[dir=rtl] .container.medium .tag {
|
|
101
|
-
margin:
|
|
101
|
+
margin: 5px 0 0 10px;
|
|
102
102
|
}
|
|
103
103
|
.responsiveParent{
|
|
104
104
|
width: 100%;
|
|
@@ -112,21 +112,21 @@
|
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
.small {
|
|
115
|
-
max-height:
|
|
115
|
+
max-height: 200px;
|
|
116
116
|
}
|
|
117
117
|
|
|
118
118
|
.medium {
|
|
119
|
-
max-height:
|
|
119
|
+
max-height: 350px;
|
|
120
120
|
}
|
|
121
121
|
|
|
122
122
|
.large {
|
|
123
|
-
max-height:
|
|
123
|
+
max-height: 400px;
|
|
124
124
|
}
|
|
125
125
|
|
|
126
126
|
.commonMessage {
|
|
127
|
-
font-size:
|
|
127
|
+
font-size: 14px;
|
|
128
128
|
composes: semibold from '../common/common.module.css';
|
|
129
|
-
padding:
|
|
129
|
+
padding: 12px 15px;
|
|
130
130
|
}
|
|
131
131
|
.default,
|
|
132
132
|
.dark {
|
|
@@ -158,10 +158,10 @@
|
|
|
158
158
|
visibility: hidden;
|
|
159
159
|
}
|
|
160
160
|
.custmSpanMedium {
|
|
161
|
-
height:
|
|
161
|
+
height: 35px;
|
|
162
162
|
}
|
|
163
163
|
.custmSpanXmedium {
|
|
164
|
-
height:
|
|
164
|
+
height: 28px;
|
|
165
165
|
}
|
|
166
166
|
.custmInputWrapper {
|
|
167
167
|
position: absolute;
|
|
@@ -175,32 +175,33 @@
|
|
|
175
175
|
right: 0;
|
|
176
176
|
}
|
|
177
177
|
.title {
|
|
178
|
-
margin-bottom:
|
|
178
|
+
margin-bottom: 6px;
|
|
179
179
|
}
|
|
180
180
|
.groupTitle {
|
|
181
|
-
margin:
|
|
181
|
+
margin: 6px 0;
|
|
182
182
|
}
|
|
183
183
|
.loader {
|
|
184
|
-
padding:
|
|
184
|
+
padding: 10px;
|
|
185
185
|
}
|
|
186
186
|
.iconContainer {
|
|
187
|
-
padding-top:
|
|
187
|
+
padding-top: 3px
|
|
188
188
|
}
|
|
189
189
|
[dir=ltr] .clearIconSpace {
|
|
190
|
-
padding-right:
|
|
190
|
+
padding-right: 37px
|
|
191
191
|
}
|
|
192
192
|
[dir=rtl] .clearIconSpace {
|
|
193
|
-
padding-left:
|
|
193
|
+
padding-left: 37px
|
|
194
194
|
}
|
|
195
195
|
.search{
|
|
196
|
+
/* Variable:Ignore */
|
|
196
197
|
padding: 0px 20px;
|
|
197
198
|
}
|
|
198
199
|
.more {
|
|
199
|
-
font-size:
|
|
200
|
+
font-size: 14px;
|
|
200
201
|
color: var(--zdt_multiselect_more_text);
|
|
201
202
|
font-family: inherit;
|
|
202
203
|
cursor: pointer;
|
|
203
|
-
margin-top:
|
|
204
|
+
margin-top: 5px;
|
|
204
205
|
background-color: var(--zdt_multiselect_delete_bg);
|
|
205
206
|
border: 0;
|
|
206
207
|
}
|
|
@@ -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); } /**** Libraries ****/ /**** Icons ****/ /**** CSS ****/
|
|
26
26
|
var MultiSelectHeader = /*#__PURE__*/function (_React$PureComponent) {
|
|
27
27
|
_inherits(MultiSelectHeader, _React$PureComponent);
|
|
28
28
|
var _super = _createSuper(MultiSelectHeader);
|
|
@@ -39,7 +39,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
|
|
|
39
39
|
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); }
|
|
40
40
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
41
41
|
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; } }
|
|
42
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
42
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } /**** Libraries ****/ /**** Components ****/ /**** Icons ****/ /**** CSS ****/
|
|
43
43
|
/*eslint-disable react/sort-prop-types*/
|
|
44
44
|
/* eslint-disable react/forbid-component-props */
|
|
45
45
|
/* eslint-disable react/no-unused-prop-types */
|
|
@@ -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); } /**** Libraries ****/ /**** Components ****/ /**** Style ****/
|
|
28
28
|
/* eslint-disable react/forbid-component-props */
|
|
29
29
|
var SelectedOptions = /*#__PURE__*/function (_React$PureComponent) {
|
|
30
30
|
_inherits(SelectedOptions, _React$PureComponent);
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
max-width: 100%;
|
|
3
3
|
}
|
|
4
4
|
[dir=ltr] .xmedium {
|
|
5
|
-
margin: 0
|
|
5
|
+
margin: 0 10px 2px 0;
|
|
6
6
|
}
|
|
7
7
|
[dir=rtl] .xmedium {
|
|
8
|
-
margin: 0 0
|
|
8
|
+
margin: 0 0 2px 10px;
|
|
9
9
|
}
|
|
10
10
|
[dir=ltr] .medium {
|
|
11
|
-
margin:
|
|
11
|
+
margin: 5px 10px 0 0;
|
|
12
12
|
}
|
|
13
13
|
[dir=rtl] .medium {
|
|
14
|
-
margin:
|
|
14
|
+
margin: 5px 0 0 10px;
|
|
15
15
|
}
|
|
@@ -28,7 +28,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
|
|
|
28
28
|
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); }
|
|
29
29
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
30
30
|
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; } }
|
|
31
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
31
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } /**** Libraries ****/ /**** Components ****/
|
|
32
32
|
var Suggestions = /*#__PURE__*/function (_React$PureComponent) {
|
|
33
33
|
_inherits(Suggestions, _React$PureComponent);
|
|
34
34
|
var _super = _createSuper(Suggestions);
|
package/lib/Popup/Popup.js
CHANGED
|
@@ -31,7 +31,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
|
|
|
31
31
|
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); }
|
|
32
32
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
33
33
|
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; } }
|
|
34
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
34
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } /**** Libraries ****/ /**** Methods ****/
|
|
35
35
|
var lastOpenedGroup = [];
|
|
36
36
|
var popups = {};
|
|
37
37
|
global.closeGroupPopups = function (groupName) {
|
|
@@ -17,7 +17,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
|
|
|
17
17
|
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); }
|
|
18
18
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
19
19
|
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; } }
|
|
20
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
20
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } /* eslint-disable no-undef */ /**** Libraries ****/ /**** Components ****/
|
|
21
21
|
var SamplePopup = /*#__PURE__*/function (_React$Component) {
|
|
22
22
|
_inherits(SamplePopup, _React$Component);
|
|
23
23
|
var _super = _createSuper(SamplePopup);
|
package/lib/Radio/Radio.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 css-modules/no-unused-class: [2, { markAsUsed: ['small', 'medium'] }] */
|
|
27
27
|
var Radio = /*#__PURE__*/function (_React$Component) {
|
|
28
28
|
_inherits(Radio, _React$Component);
|
|
29
29
|
var _super = _createSuper(Radio);
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
.varClass {
|
|
2
2
|
/* radio default variables */
|
|
3
|
-
--radio_width:
|
|
4
|
-
--radio_height:
|
|
3
|
+
--radio_width: 16px;
|
|
4
|
+
--radio_height: 16px;
|
|
5
5
|
--radio_bg_color: none;
|
|
6
|
-
--radio_stroke_width:
|
|
6
|
+
--radio_stroke_width: 2px;
|
|
7
7
|
--radio_stroke_color: var(--zdt_radio_default_stroke);
|
|
8
8
|
--radio_fill: none;
|
|
9
9
|
--radio_inner_stroke_width: 0;
|
|
10
10
|
}[dir=ltr] .varClass {
|
|
11
|
-
--radio_label_margin: 0 0 0
|
|
11
|
+
--radio_label_margin: 0 0 0 6px/*rtl: 0 6px 0 0*/;
|
|
12
12
|
}[dir=rtl] .varClass {
|
|
13
|
-
--radio_label_margin: 0
|
|
13
|
+
--radio_label_margin: 0 6px 0 0;
|
|
14
14
|
}
|
|
15
15
|
.container {
|
|
16
16
|
composes: varClass;
|
|
@@ -38,12 +38,12 @@
|
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
.medium {
|
|
41
|
-
--radio_width:
|
|
42
|
-
--radio_height:
|
|
41
|
+
--radio_width: 16px;
|
|
42
|
+
--radio_height: 16px;
|
|
43
43
|
}
|
|
44
44
|
.small {
|
|
45
|
-
--radio_width:
|
|
46
|
-
--radio_height:
|
|
45
|
+
--radio_width: 13px;
|
|
46
|
+
--radio_height: 13px;
|
|
47
47
|
}
|
|
48
48
|
.radioLabel {
|
|
49
49
|
font-size: 0;
|
|
@@ -31,7 +31,6 @@ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _ty
|
|
|
31
31
|
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
32
32
|
// const commonBreakPoints = [ 480, 640, 768, 1024, 1440 ];
|
|
33
33
|
// const otherBreakPoints = [320, 360, 375, 720, 1280, 1600, 1920];
|
|
34
|
-
|
|
35
34
|
// defaultResponsiveId means if ResponsiveSender do not recive id This will be id
|
|
36
35
|
var defaultResponsiveId = 'parent_sender';
|
|
37
36
|
|
|
@@ -24,7 +24,9 @@ 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 */ // QUestions to be discussed
|
|
28
|
+
//1) mutation.type === 'characterData' needed ???
|
|
29
|
+
// 2) debounce Mutation observer and resize observer
|
|
28
30
|
var ResizeComponent = /*#__PURE__*/function (_React$Component) {
|
|
29
31
|
_inherits(ResizeComponent, _React$Component);
|
|
30
32
|
var _super = _createSuper(ResizeComponent);
|
|
@@ -38,7 +38,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
|
|
|
38
38
|
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); }
|
|
39
39
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
40
40
|
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; } }
|
|
41
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
41
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } // import React, { useState, useMemo, useCallback, useContext } from 'react';
|
|
42
42
|
// const sortedBreackPointKey = [ 'MOBILE_XS', 'MOBILE_S', 'MOBILE_M', 'MOBILE', 'TABLET_S', 'TABLET_M', 'TABLET', 'LAPTOP_S', 'LAPTOP_M', 'LAPTOP', 'MONITOR_M', 'MONITOR'];
|
|
43
43
|
|
|
44
44
|
var ResponsiveContext = /*#__PURE__*/_react["default"].createContext({});
|