@zohodesk/components 1.0.0-temp-667 → 1.0.0-temp-999
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 +7 -0
- package/assets/Appearance/default/themes/blue/blueDefaultCTATheme.module.css +1 -1
- package/assets/Appearance/default/themes/green/greenDefaultCTATheme.module.css +1 -1
- package/assets/Appearance/default/themes/orange/orangeDefaultCTATheme.module.css +1 -1
- package/assets/Appearance/default/themes/red/redDefaultCTATheme.module.css +1 -1
- package/assets/Appearance/default/themes/yellow/yellowDefaultCTATheme.module.css +1 -1
- package/es/AppContainer/AppContainer.js +1 -1
- package/es/Avatar/Avatar.js +1 -1
- package/es/Avatar/Avatar.module.css +9 -11
- package/es/AvatarTeam/AvatarTeam.js +1 -1
- package/es/AvatarTeam/AvatarTeam.module.css +7 -21
- package/es/Button/Button.module.css +24 -97
- package/es/Buttongroup/Buttongroup.module.css +8 -37
- package/es/CheckBox/CheckBox.js +1 -1
- package/es/CheckBox/CheckBox.module.css +19 -29
- package/es/DateTime/DateTime.module.css +12 -39
- package/es/DateTime/DateWidget.module.css +5 -9
- package/es/DateTime/YearView.module.css +7 -17
- package/es/DropBox/DropBox.js +1 -1
- package/es/DropBox/DropBox.module.css +11 -47
- package/es/DropDown/DropDownHeading.module.css +3 -7
- package/es/DropDown/DropDownItem.module.css +6 -32
- package/es/ListItem/ListContainer.js +1 -1
- package/es/ListItem/ListItem.js +1 -1
- package/es/ListItem/ListItem.module.css +33 -69
- package/es/ListItem/ListItemWithAvatar.js +1 -1
- package/es/ListItem/ListItemWithCheckBox.js +1 -1
- package/es/ListItem/ListItemWithIcon.js +1 -1
- package/es/ListItem/ListItemWithRadio.js +1 -1
- package/es/Modal/Modal.js +1 -1
- package/es/MultiSelect/AdvancedMultiSelect.js +1 -1
- package/es/MultiSelect/AdvancedMultiSelect.module.css +113 -0
- package/es/MultiSelect/MultiSelect.module.css +11 -28
- package/es/MultiSelect/SelectedOptions.js +1 -1
- package/es/MultiSelect/SelectedOptions.module.css +2 -8
- package/es/MultiSelect/Suggestions.js +1 -1
- package/es/PopOver/PopOver.module.css +1 -1
- package/es/Popup/Popup.js +1 -1
- package/es/Radio/Radio.module.css +10 -18
- package/es/Responsive/ResizeComponent.js +82 -15
- package/es/Responsive/ResizeObserver.js +6 -2
- package/es/Responsive/docs/style.module.css +8 -17
- package/es/ResponsiveDropBox/ResponsiveDropBox.js +1 -1
- package/es/Ribbon/Ribbon.module.css +28 -93
- package/es/RippleEffect/RippleEffect.module.css +44 -37
- package/es/Select/Select.js +8 -30
- package/es/Select/Select.module.css +2 -12
- package/es/Select/docs/Select__default.docs.js +1 -1
- package/es/Stencils/Stencils.module.css +3 -21
- package/es/Switch/Switch.js +1 -1
- package/es/Switch/Switch.module.css +9 -9
- package/es/Tab/Tab.js +1 -1
- package/es/Tab/Tab.module.css +7 -16
- package/es/Tab/TabWrapper.js +1 -1
- package/es/Tab/Tabs.js +1 -1
- package/es/Tab/Tabs.module.css +8 -42
- package/es/Tab/docs/tabdocs.module.css +1 -1
- package/es/Tag/Tag.module.css +14 -36
- package/es/TextBox/TextBox.js +1 -1
- package/es/TextBox/TextBox.module.css +11 -7
- package/es/TextBoxIcon/TextBoxIcon.js +1 -1
- package/es/TextBoxIcon/TextBoxIcon.module.css +5 -12
- package/es/Textarea/Textarea.js +1 -1
- package/es/Textarea/Textarea.module.css +7 -6
- package/es/Tooltip/Tooltip.module.css +8 -9
- package/es/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +1 -1
- package/es/beta/FocusRing/FocusRing.module.css +26 -51
- package/es/common/animation.module.css +21 -219
- package/es/common/basicReset.module.css +12 -2
- package/es/common/common.module.css +18 -62
- package/es/common/customscroll.module.css +21 -17
- package/es/common/docStyle.module.css +32 -79
- package/es/common/transition.module.css +10 -50
- package/es/deprecated/AdvancedMultiSelect.module.css +8 -22
- package/es/semantic/Button/semanticButton.module.css +3 -3
- package/lib/Accordion/Accordion.js +2 -2
- package/lib/Accordion/AccordionItem.js +2 -2
- package/lib/Accordion/docs/Accordion__Demo.docs.js +2 -2
- package/lib/Animation/Animation.js +2 -2
- package/lib/Animation/docs/Animation__default.docs.js +2 -2
- package/lib/Animation/docs/Animation__fadeIn.docs.js +2 -2
- package/lib/Animation/docs/Animation__scaleIn.docs.js +2 -2
- package/lib/Animation/docs/Animation__skewIn.docs.js +2 -2
- package/lib/Animation/docs/Animation__slideDown.docs.js +2 -2
- package/lib/Animation/docs/Animation__slideLeft.docs.js +2 -2
- package/lib/Animation/docs/Animation__zoomIn.docs.js +2 -2
- package/lib/AppContainer/AppContainer.js +4 -11
- package/lib/AppContainer/docs/AppContainer__default.docs.js +2 -2
- package/lib/Avatar/Avatar.js +3 -3
- package/lib/Avatar/docs/Avatar__custom.docs.js +2 -2
- package/lib/Avatar/docs/Avatar__default.docs.js +2 -2
- package/lib/Avatar/docs/Avatar__palette.docs.js +2 -2
- package/lib/Avatar/docs/Avatar__text.docs.js +2 -2
- package/lib/AvatarTeam/AvatarTeam.js +3 -3
- package/lib/AvatarTeam/docs/AvatarTeam__custom.docs.js +2 -2
- package/lib/AvatarTeam/docs/AvatarTeam__default.docs.js +2 -2
- package/lib/AvatarTeam/docs/AvatarTeam__palette.docs.js +2 -2
- package/lib/AvatarTeam/docs/AvatarTeam__size.docs.js +2 -2
- package/lib/Button/Button.js +2 -2
- package/lib/Button/docs/Button__custom.docs.js +2 -2
- package/lib/Button/docs/Button__default.docs.js +2 -2
- package/lib/Buttongroup/Buttongroup.js +2 -2
- package/lib/Buttongroup/docs/Buttongroup__custom.docs.js +2 -2
- package/lib/Buttongroup/docs/Buttongroup__footer.docs.js +2 -2
- package/lib/Buttongroup/docs/Buttongroup__header.docs.js +2 -2
- package/lib/Card/Card.js +2 -2
- package/lib/Card/docs/Card__Custom.docs.js +2 -2
- package/lib/Card/docs/Card__Default.docs.js +2 -2
- package/lib/Card/docs/Card__Scroll.docs.js +2 -2
- package/lib/CheckBox/CheckBox.js +4 -5
- package/lib/CheckBox/CheckBox.module.css +8 -12
- package/lib/CheckBox/docs/CheckBox__custom.docs.js +2 -2
- package/lib/CheckBox/docs/CheckBox__default.docs.js +2 -2
- package/lib/DateTime/CalendarView.js +2 -2
- package/lib/DateTime/DateTime.js +22 -50
- package/lib/DateTime/DateTime.module.css +1 -1
- package/lib/DateTime/DateTimePopupFooter.js +2 -2
- package/lib/DateTime/DateTimePopupHeader.js +2 -2
- package/lib/DateTime/DateWidget.js +4 -14
- package/lib/DateTime/DateWidget.module.css +4 -0
- package/lib/DateTime/DaysRow.js +2 -2
- package/lib/DateTime/Time.js +2 -2
- package/lib/DateTime/YearView.js +2 -2
- package/lib/DateTime/YearView.module.css +0 -1
- package/lib/DateTime/docs/DateTime__default.docs.js +2 -2
- package/lib/DateTime/docs/DateWidget__default.docs.js +2 -2
- package/lib/DropBox/DropBox.js +4 -4
- package/lib/DropBox/docs/DropBox__custom.docs.js +2 -2
- package/lib/DropBox/docs/DropBox__customOrder.docs.js +2 -2
- package/lib/DropBox/docs/DropBox__fixedPosition.docs.js +2 -2
- package/lib/DropBox/docs/DropBox__position.docs.js +2 -2
- package/lib/DropBox/docs/DropBox__size.docs.js +2 -2
- package/lib/DropDown/DropDown.js +2 -2
- package/lib/DropDown/DropDownHeading.js +2 -2
- package/lib/DropDown/DropDownItem.js +2 -2
- package/lib/DropDown/DropDownSearch.js +2 -2
- package/lib/DropDown/DropDownSeparator.js +2 -2
- package/lib/DropDown/docs/DropDownHeading__custom.docs.js +2 -2
- package/lib/DropDown/docs/DropDownHeading__default.docs.js +2 -2
- package/lib/Label/Label.js +2 -2
- package/lib/Label/docs/Label__clipped.docs.js +2 -2
- package/lib/Label/docs/Label__custom.docs.js +2 -2
- package/lib/Label/docs/Label__palette.docs.js +2 -2
- package/lib/Label/docs/Label__size.docs.js +2 -2
- package/lib/Label/docs/Label__type.docs.js +2 -2
- package/lib/Layout/docs/Layout__Hidden.docs.js +2 -2
- package/lib/Layout/docs/Layout__default.docs.js +2 -2
- package/lib/Layout/docs/Layout__four_Column.docs.js +2 -2
- package/lib/Layout/docs/Layout__three_Column.docs.js +2 -2
- package/lib/Layout/docs/Layout__two_Column.docs.js +2 -2
- package/lib/LightNightMode/Colors.json +397 -496
- package/lib/LightNightMode/docs/AlternativeColors.docs.js +3 -25
- package/lib/ListItem/ListContainer.js +5 -8
- package/lib/ListItem/ListItem.js +4 -4
- package/lib/ListItem/ListItem.module.css +19 -18
- package/lib/ListItem/ListItemWithAvatar.js +4 -4
- package/lib/ListItem/ListItemWithCheckBox.js +4 -4
- package/lib/ListItem/ListItemWithIcon.js +4 -4
- package/lib/ListItem/ListItemWithRadio.js +4 -4
- package/lib/ListItem/docs/ListItemWithAvatar__custom.docs.js +2 -2
- package/lib/ListItem/docs/ListItemWithAvatar__default.docs.js +2 -2
- package/lib/ListItem/docs/ListItemWithCheckBox__custom.docs.js +2 -2
- package/lib/ListItem/docs/ListItemWithCheckBox__default.docs.js +2 -2
- package/lib/ListItem/docs/ListItemWithIcon__custom.docs.js +2 -2
- package/lib/ListItem/docs/ListItemWithIcon__default.docs.js +2 -2
- package/lib/ListItem/docs/ListItemWithRadio__custom.docs.js +2 -2
- package/lib/ListItem/docs/ListItemWithRadio__default.docs.js +2 -2
- package/lib/ListItem/docs/ListItem__custom.docs.js +2 -2
- package/lib/ListItem/docs/ListItem__default.docs.js +2 -2
- package/lib/Modal/Modal.js +3 -3
- package/lib/Modal/__docs__/Modal__default.docs.js +2 -2
- package/lib/MultiSelect/AdvancedGroupMultiSelect.js +88 -120
- package/lib/MultiSelect/AdvancedMultiSelect.js +62 -99
- package/lib/{deprecated → MultiSelect}/AdvancedMultiSelect.module.css +1 -1
- package/lib/MultiSelect/EmptyState.js +2 -2
- package/lib/MultiSelect/MultiSelect.js +64 -90
- package/lib/MultiSelect/MultiSelect.module.css +2 -15
- package/lib/MultiSelect/MultiSelectHeader.js +2 -2
- package/lib/MultiSelect/MultiSelectWithAvatar.js +55 -80
- package/lib/MultiSelect/SelectedOptions.js +3 -3
- package/lib/MultiSelect/Suggestions.js +3 -3
- package/lib/MultiSelect/docs/AdvancedGroupMultiSelect__default.docs.js +2 -2
- package/lib/MultiSelect/docs/AdvancedMultiSelect__default.docs.js +2 -2
- package/lib/MultiSelect/docs/MultiSelectWithAvatar__default.docs.js +2 -2
- package/lib/MultiSelect/docs/MultiSelect__default.docs.js +2 -2
- package/lib/PopOver/PopOver.js +6 -13
- package/lib/PopOver/docs/PopOver__default.docs.js +2 -2
- package/lib/Popup/Popup.js +3 -3
- package/lib/Popup/__tests__/Popup.spec.js +2 -2
- package/lib/Provider/Config.js +1 -3
- package/lib/Provider/docs/Provider_Id__Class.docs.js +2 -2
- package/lib/Provider/docs/Provider_Zindex__Class.docs.js +2 -2
- package/lib/Provider.js +100 -34
- package/lib/Radio/Radio.js +2 -2
- package/lib/Radio/Radio.module.css +6 -8
- package/lib/Radio/docs/Radio__custom.docs.js +2 -2
- package/lib/Radio/docs/Radio__default.docs.js +2 -2
- package/lib/Responsive/ResizeComponent.js +2 -2
- package/lib/Responsive/Responsive.js +2 -2
- package/lib/Responsive/docs/Responsive__Custom.docs.js +2 -2
- package/lib/Responsive/docs/Responsive__default.docs.js +2 -2
- package/lib/Responsive/sizeObservers.js +3 -3
- package/lib/Ribbon/Ribbon.js +2 -2
- package/lib/Ribbon/docs/Ribbon__custom.docs.js +2 -2
- package/lib/Ribbon/docs/Ribbon__default.docs.js +2 -2
- package/lib/RippleEffect/RippleEffect.module.css +15 -37
- package/lib/RippleEffect/docs/RippleEffect__default.docs.js +2 -2
- package/lib/Select/GroupSelect.js +79 -102
- package/lib/Select/Select.js +87 -142
- package/lib/Select/Select.module.css +0 -6
- package/lib/Select/SelectWithAvatar.js +73 -98
- package/lib/Select/SelectWithIcon.js +76 -99
- package/lib/Select/docs/GroupSelect__default.docs.js +2 -2
- package/lib/Select/docs/SelectWithAvatar__default.docs.js +2 -2
- package/lib/Select/docs/SelectWithIcon__default.docs.js +2 -2
- package/lib/Select/docs/Select__default.docs.js +3 -3
- package/lib/Stencils/Stencils.js +2 -2
- package/lib/Stencils/docs/Stencils__custom.docs.js +2 -2
- package/lib/Stencils/docs/Stencils__default.docs.js +2 -2
- package/lib/Switch/Switch.js +3 -3
- package/lib/Switch/Switch.module.css +2 -3
- package/lib/Switch/docs/Switch__custom.docs.js +2 -2
- package/lib/Switch/docs/Switch__default.docs.js +2 -2
- package/lib/Tab/Tab.js +1 -1
- package/lib/Tab/TabWrapper.js +1 -1
- package/lib/Tab/Tabs.js +47 -70
- package/lib/Tab/Tabs.module.css +1 -2
- package/lib/Tab/docs/Tab__default.docs.js +2 -2
- package/lib/Tag/Tag.js +3 -3
- package/lib/Tag/Tag.module.css +2 -6
- package/lib/Tag/docs/Tag__custom.docs.js +2 -2
- package/lib/Tag/docs/Tag__default.docs.js +2 -2
- package/lib/TextBox/TextBox.js +3 -3
- package/lib/TextBox/docs/TextBox__custom.docs.js +2 -2
- package/lib/TextBox/docs/TextBox__default.docs.js +2 -2
- package/lib/TextBox/docs/TextBox__size.docs.js +2 -2
- package/lib/TextBox/docs/TextBox__variant.docs.js +2 -2
- package/lib/TextBoxIcon/TextBoxIcon.js +3 -3
- package/lib/TextBoxIcon/docs/TextBoxIcon__custom.docs.js +2 -2
- package/lib/TextBoxIcon/docs/TextBoxIcon__default.docs.js +2 -2
- package/lib/Textarea/Textarea.js +3 -3
- package/lib/Textarea/docs/Textarea__animated.docs.js +2 -2
- package/lib/Textarea/docs/Textarea__custom.docs.js +2 -2
- package/lib/Textarea/docs/Textarea__default.docs.js +2 -2
- package/lib/Textarea/docs/Textarea__disabled.docs.js +2 -2
- package/lib/Tooltip/Tooltip.js +10 -62
- package/lib/Tooltip/Tooltip.module.css +1 -6
- package/lib/Tooltip/__tests__/Tooltip.spec.js +2 -2
- package/lib/Tooltip/docs/Tooltip__default.docs.js +13 -52
- package/lib/VelocityAnimation/VelocityAnimation/VelocityAnimation.js +2 -2
- package/lib/VelocityAnimation/VelocityAnimation/docs/VelocityAnimation__demo.docs.js +2 -2
- package/lib/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +3 -3
- package/lib/VelocityAnimation/VelocityAnimationGroup/docs/VelocityAnimationGroup__demo.docs.js +2 -2
- package/lib/a11y/FocusScope/docs/FocusScope__default.docs.js +2 -2
- package/lib/beta/FocusRing/docs/FocusRing__default.docs.js +2 -2
- package/lib/common/docStyle.module.css +2 -6
- package/lib/css.js +2 -0
- package/lib/deprecated/PortalLayer/PortalLayer.js +2 -2
- package/lib/deprecated/PortalLayer/docs/PortalLayer__default.docs.js +2 -2
- package/lib/index.js +1 -10
- package/lib/semantic/Button/Button.js +2 -2
- package/lib/semantic/Button/docs/Button__default.docs.js +2 -2
- package/package.json +6 -5
- package/lib/ResponsiveDropBox/ResponsiveDropBox.js +0 -130
- package/lib/ResponsiveDropBox/ResponsiveDropBox.module.css +0 -6
- package/lib/deprecated/advancedMultiSelectVariableJson.js +0 -82
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zohodesk/components",
|
|
3
|
-
"version": "1.0.0-temp-
|
|
3
|
+
"version": "1.0.0-temp-999",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"module": "es/index.js",
|
|
6
6
|
"jsnext:main": "es/index.js",
|
|
@@ -16,8 +16,9 @@
|
|
|
16
16
|
"init": "npm run clean && cd ../assets && npm run componentsassets && cd ../components && npm run build:variables",
|
|
17
17
|
"build:variables": "node ./preprocess/index",
|
|
18
18
|
"rtl": "react-cli rtl ./src ./lib && react-cli rtl ./src ./es",
|
|
19
|
+
"common_package_build":"cd ../common && npm run build && cd ../components",
|
|
19
20
|
"start": "react-cli start",
|
|
20
|
-
"docs": "npm run dubCheck && react-cli docs",
|
|
21
|
+
"docs": "npm run common_package_build && npm run dubCheck && react-cli docs",
|
|
21
22
|
"build": " react-cli build:component:cmjs",
|
|
22
23
|
"buildlocal": " react-cli build:component:cmjs && npm run rtl",
|
|
23
24
|
"build:dev": "npm run build:variables && npm run build && npm run build:es --module:mode=dev -- -w",
|
|
@@ -41,7 +42,7 @@
|
|
|
41
42
|
"@zohodesk/virtualizer": "1.0.3",
|
|
42
43
|
"velocity-react": "1.4.3",
|
|
43
44
|
"react-sortable-hoc": "^0.8.3",
|
|
44
|
-
"@zohodesk/svg": "1.0.0-beta.
|
|
45
|
+
"@zohodesk/svg": "1.0.0-beta.48"
|
|
45
46
|
},
|
|
46
47
|
"dependencies": {
|
|
47
48
|
"hoist-non-react-statics": "3.0.1",
|
|
@@ -52,7 +53,7 @@
|
|
|
52
53
|
"peerDependencies": {
|
|
53
54
|
"@zohodesk/icons": "1.0.0-beta.109",
|
|
54
55
|
"@zohodesk/variables": "1.0.0-beta.29",
|
|
55
|
-
"@zohodesk/svg": "1.0.0-beta.
|
|
56
|
+
"@zohodesk/svg": "1.0.0-beta.49",
|
|
56
57
|
"@zohodesk/virtualizer": "1.0.3",
|
|
57
58
|
"velocity-react": "1.4.3",
|
|
58
59
|
"react-sortable-hoc": "^0.8.3"
|
|
@@ -72,4 +73,4 @@
|
|
|
72
73
|
"hasRTL": true
|
|
73
74
|
}
|
|
74
75
|
}
|
|
75
|
-
}
|
|
76
|
+
}
|
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
value: true
|
|
7
|
-
});
|
|
8
|
-
exports["default"] = void 0;
|
|
9
|
-
|
|
10
|
-
var _react = _interopRequireWildcard(require("react"));
|
|
11
|
-
|
|
12
|
-
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
13
|
-
|
|
14
|
-
var _DropBox = _interopRequireDefault(require("../DropBox/DropBox"));
|
|
15
|
-
|
|
16
|
-
var _Layout = require("../Layout");
|
|
17
|
-
|
|
18
|
-
var _CustomResponsive = require("../Responsive/CustomResponsive");
|
|
19
|
-
|
|
20
|
-
var _ResponsiveDropBoxModule = _interopRequireDefault(require("./ResponsiveDropBox.module.css"));
|
|
21
|
-
|
|
22
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
23
|
-
|
|
24
|
-
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); }
|
|
25
|
-
|
|
26
|
-
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; }
|
|
27
|
-
|
|
28
|
-
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); }
|
|
29
|
-
|
|
30
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
31
|
-
|
|
32
|
-
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
33
|
-
|
|
34
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
35
|
-
|
|
36
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
37
|
-
|
|
38
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
39
|
-
|
|
40
|
-
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
41
|
-
|
|
42
|
-
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); }
|
|
43
|
-
|
|
44
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
45
|
-
|
|
46
|
-
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; } }
|
|
47
|
-
|
|
48
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
49
|
-
|
|
50
|
-
var ResponsiveDropBox = /*#__PURE__*/function (_Component) {
|
|
51
|
-
_inherits(ResponsiveDropBox, _Component);
|
|
52
|
-
|
|
53
|
-
var _super = _createSuper(ResponsiveDropBox);
|
|
54
|
-
|
|
55
|
-
function ResponsiveDropBox(props) {
|
|
56
|
-
var _this;
|
|
57
|
-
|
|
58
|
-
_classCallCheck(this, ResponsiveDropBox);
|
|
59
|
-
|
|
60
|
-
_this = _super.call(this, props);
|
|
61
|
-
_this.responsiveFunc = _this.responsiveFunc.bind(_assertThisInitialized(_this));
|
|
62
|
-
return _this;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
_createClass(ResponsiveDropBox, [{
|
|
66
|
-
key: "responsiveFunc",
|
|
67
|
-
value: function responsiveFunc(_ref) {
|
|
68
|
-
var mediaQueryOR = _ref.mediaQueryOR;
|
|
69
|
-
return {
|
|
70
|
-
tabletMode: mediaQueryOR([{
|
|
71
|
-
maxWidth: 700
|
|
72
|
-
}])
|
|
73
|
-
};
|
|
74
|
-
}
|
|
75
|
-
}, {
|
|
76
|
-
key: "render",
|
|
77
|
-
value: function render() {
|
|
78
|
-
var _this$props = this.props,
|
|
79
|
-
children = _this$props.children,
|
|
80
|
-
_this$props$customCla = _this$props.customClass,
|
|
81
|
-
customClass = _this$props$customCla === void 0 ? {} : _this$props$customCla,
|
|
82
|
-
isResponsivePadding = _this$props.isResponsivePadding,
|
|
83
|
-
alignBox = _this$props.alignBox;
|
|
84
|
-
var _customClass$customDr = customClass.customDropBox,
|
|
85
|
-
customDropBox = _customClass$customDr === void 0 ? '' : _customClass$customDr,
|
|
86
|
-
_customClass$customMo = customClass.customMobileDropBox,
|
|
87
|
-
customMobileDropBox = _customClass$customMo === void 0 ? '' : _customClass$customMo,
|
|
88
|
-
_customClass$customDr2 = customClass.customDropBoxWrap,
|
|
89
|
-
customDropBoxWrap = _customClass$customDr2 === void 0 ? '' : _customClass$customDr2,
|
|
90
|
-
_customClass$customMo2 = customClass.customMobileDropBoxWrap,
|
|
91
|
-
customMobileDropBoxWrap = _customClass$customMo2 === void 0 ? '' : _customClass$customMo2,
|
|
92
|
-
_customClass$customRe = customClass.customResponsiveContainer,
|
|
93
|
-
customResponsiveContainer = _customClass$customRe === void 0 ? '' : _customClass$customRe;
|
|
94
|
-
var dropBoxClasses = {
|
|
95
|
-
customDropBox: "".concat(customDropBox),
|
|
96
|
-
customMobileDropBox: "".concat(customMobileDropBox),
|
|
97
|
-
customDropBoxWrap: "".concat(customDropBoxWrap),
|
|
98
|
-
customMobileDropBoxWrap: "".concat(customMobileDropBoxWrap),
|
|
99
|
-
customResponsiveContainer: "".concat(customResponsiveContainer)
|
|
100
|
-
};
|
|
101
|
-
return /*#__PURE__*/_react["default"].createElement(_DropBox["default"], _extends({}, this.props, {
|
|
102
|
-
customClass: dropBoxClasses
|
|
103
|
-
}), /*#__PURE__*/_react["default"].createElement(_CustomResponsive.ResponsiveReceiver, {
|
|
104
|
-
query: this.responsiveFunc,
|
|
105
|
-
responsiveId: "Helmet"
|
|
106
|
-
}, function (_ref2) {
|
|
107
|
-
var tabletMode = _ref2.tabletMode;
|
|
108
|
-
return /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
109
|
-
alignBox: alignBox,
|
|
110
|
-
isCover: false,
|
|
111
|
-
className: "".concat(tabletMode ? _ResponsiveDropBoxModule["default"].dropBoxContainer : '', " ").concat(tabletMode && isResponsivePadding ? _ResponsiveDropBoxModule["default"].boxPadding : '', " ").concat(customResponsiveContainer)
|
|
112
|
-
}, children);
|
|
113
|
-
}));
|
|
114
|
-
}
|
|
115
|
-
}]);
|
|
116
|
-
|
|
117
|
-
return ResponsiveDropBox;
|
|
118
|
-
}(_react.Component);
|
|
119
|
-
|
|
120
|
-
exports["default"] = ResponsiveDropBox;
|
|
121
|
-
ResponsiveDropBox.propTypes = {
|
|
122
|
-
children: _propTypes["default"].element,
|
|
123
|
-
customClass: _propTypes["default"].object,
|
|
124
|
-
isResponsivePadding: _propTypes["default"].bool,
|
|
125
|
-
alignBox: _propTypes["default"].oneOf(['column', 'row'])
|
|
126
|
-
};
|
|
127
|
-
ResponsiveDropBox.defaultProps = {
|
|
128
|
-
isResponsivePadding: false,
|
|
129
|
-
alignBox: 'column'
|
|
130
|
-
};
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var componentAppearanceVariables = [{
|
|
4
|
-
"comment": "advanced multiselect",
|
|
5
|
-
"data": {
|
|
6
|
-
"zdt_advancedmultiselect_default_border": {
|
|
7
|
-
'light': ['var(--dot_inputLine)'],
|
|
8
|
-
'dark': ['var(--dot_inputLine)'],
|
|
9
|
-
'pureDark': ['var(--dot_inputLine)']
|
|
10
|
-
},
|
|
11
|
-
"zdt_advancedmultiselect_transparent_border": {
|
|
12
|
-
'light': ['var(--dot_mirror)'],
|
|
13
|
-
'dark': ['var(--dot_mirror)'],
|
|
14
|
-
'pureDark': ['var(--dot_mirror)']
|
|
15
|
-
},
|
|
16
|
-
"zdt_advancedmultiselect_dark_border": {
|
|
17
|
-
'light': ['var(--dot_mulledwine)'],
|
|
18
|
-
'dark': ['var(--dot_mulledwine)'],
|
|
19
|
-
'pureDark': ['var(--dot_mulledwine)']
|
|
20
|
-
},
|
|
21
|
-
"zdt_advancedmultiselect_default_hover_border": {
|
|
22
|
-
'light': ['var(--dot_inputLineHover)'],
|
|
23
|
-
'dark': ['var(--dot_inputLineHover)'],
|
|
24
|
-
'pureDark': ['var(--dot_inputLineHover)']
|
|
25
|
-
},
|
|
26
|
-
"zdt_advancedmultiselect_transparent_hover_border": {
|
|
27
|
-
'light': ['var(--dot_inputLineHover)'],
|
|
28
|
-
'dark': ['var(--dot_inputLineHover)'],
|
|
29
|
-
'pureDark': ['var(--dot_inputLineHover)']
|
|
30
|
-
},
|
|
31
|
-
"zdt_advancedmultiselect_dark_hover_border": {
|
|
32
|
-
'light': ['var(--dot_stardust)'],
|
|
33
|
-
'dark': ['var(--dot_stardust)'],
|
|
34
|
-
'pureDark': ['var(--dot_stardust)']
|
|
35
|
-
},
|
|
36
|
-
"zdt_advancedmultiselect_default_active_border": {
|
|
37
|
-
'light': ['var(--dot_inputLineFocus)'],
|
|
38
|
-
'dark': ['var(--dot_inputLineFocus)'],
|
|
39
|
-
'pureDark': ['var(--dot_inputLineFocus)']
|
|
40
|
-
},
|
|
41
|
-
"zdt_advancedmultiselect_transparent_active_border": {
|
|
42
|
-
'light': ['var(--dot_inputLineFocus)'],
|
|
43
|
-
'dark': ['var(--dot_inputLineFocus)'],
|
|
44
|
-
'pureDark': ['var(--dot_inputLineFocus)']
|
|
45
|
-
},
|
|
46
|
-
"zdt_advancedmultiselect_dark_active_border": {
|
|
47
|
-
'light': ['var(--dot_stardust)'],
|
|
48
|
-
'dark': ['var(--dot_stardust)'],
|
|
49
|
-
'pureDark': ['var(--dot_stardust)']
|
|
50
|
-
},
|
|
51
|
-
"zdt_advancedmultiselect_delete_text": {
|
|
52
|
-
'light': ['var(--dot_shuttleGrey)'],
|
|
53
|
-
'dark': ['var(--dot_cadetblue)'],
|
|
54
|
-
'pureDark': ['#999']
|
|
55
|
-
},
|
|
56
|
-
"zdt_advancedmultiselect_delete_hover_text": {
|
|
57
|
-
'light': ['var(--dot_black)'],
|
|
58
|
-
'dark': ['var(--dot_platinum)'],
|
|
59
|
-
'pureDark': ['var(--dot_platinum)']
|
|
60
|
-
},
|
|
61
|
-
"zdt_advancedmultiselect_delete_bg": {
|
|
62
|
-
'light': ['var(--dot_mirror)'],
|
|
63
|
-
'dark': ['var(--dot_mirror)'],
|
|
64
|
-
'pureDark': ['var(--dot_mirror)']
|
|
65
|
-
},
|
|
66
|
-
"zdt_advancedmultiselect_box_bg": {
|
|
67
|
-
'light': ['var(--dot_white)'],
|
|
68
|
-
'dark': ['var(--dot_ebonyclay)'],
|
|
69
|
-
'pureDark': ['#212121']
|
|
70
|
-
},
|
|
71
|
-
"zdt_advancedmultiselect_droppopup_text": {
|
|
72
|
-
'light': ['var(--dot_slateGrey)'],
|
|
73
|
-
'dark': ['var(--dot_oslogrey)'],
|
|
74
|
-
'pureDark': ['var(--dot_oslogrey)']
|
|
75
|
-
},
|
|
76
|
-
"zdt_advancedmultiselect_more_text": {
|
|
77
|
-
'light': ['var(--zdt_cta_primary_text)'],
|
|
78
|
-
'dark': ['var(--zdt_cta_primary_text)'],
|
|
79
|
-
'pureDark': ['var(--zdt_cta_primary_text)']
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
}];
|