@zohodesk/components 1.0.0-temp-42 → 1.0.0-temp-43
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 +3 -0
- package/es/Animation/docs/Animation__default.docs.js +2 -2
- package/es/Animation/docs/Animation__fadeIn.docs.js +2 -2
- package/es/Animation/docs/Animation__scaleIn.docs.js +2 -2
- package/es/Animation/docs/Animation__skewIn.docs.js +2 -2
- package/es/Animation/docs/Animation__slideDown.docs.js +2 -2
- package/es/Animation/docs/Animation__slideLeft.docs.js +2 -2
- package/es/Animation/docs/Animation__zoomIn.docs.js +2 -2
- package/es/Appearance/dark/mode/darkMode.module.css +69 -69
- package/es/Appearance/dark/themes/blue/blueDarkCTATheme.module.css +2 -2
- package/es/Appearance/dark/themes/blue/blueDarkComponentTheme.module.css +2 -2
- package/es/Appearance/dark/themes/green/greenDarkCTATheme.module.css +1 -1
- package/es/Appearance/dark/themes/green/greenDarkComponentTheme.module.css +2 -2
- package/es/Appearance/dark/themes/orange/orangeDarkCTATheme.module.css +1 -1
- package/es/Appearance/dark/themes/orange/orangeDarkComponentTheme.module.css +2 -2
- package/es/Appearance/dark/themes/red/redDarkCTATheme.module.css +1 -1
- package/es/Appearance/dark/themes/red/redDarkComponentTheme.module.css +2 -2
- package/es/Appearance/dark/themes/yellow/yellowDarkCTATheme.module.css +1 -1
- package/es/Appearance/dark/themes/yellow/yellowDarkComponentTheme.module.css +2 -2
- package/es/Appearance/default/mode/defaultMode.module.css +158 -158
- package/es/Appearance/default/themes/blue/blueDefaultCTATheme.module.css +28 -28
- package/es/Appearance/default/themes/blue/blueDefaultComponentTheme.module.css +5 -5
- package/es/Appearance/default/themes/green/greenDefaultCTATheme.module.css +1 -1
- package/es/Appearance/default/themes/green/greenDefaultComponentTheme.module.css +4 -4
- package/es/Appearance/default/themes/orange/orangeDefaultCTATheme.module.css +1 -1
- package/es/Appearance/default/themes/orange/orangeDefaultComponentTheme.module.css +4 -4
- package/es/Appearance/default/themes/red/redDefaultCTATheme.module.css +1 -1
- package/es/Appearance/default/themes/red/redDefaultComponentTheme.module.css +4 -4
- package/es/Appearance/default/themes/yellow/yellowDefaultCTATheme.module.css +1 -1
- package/es/Appearance/default/themes/yellow/yellowDefaultComponentTheme.module.css +4 -4
- package/es/Avatar/Avatar.js +1 -2
- package/es/Avatar/__tests__/Avatar.spec.js +1 -0
- package/es/AvatarTeam/__tests__/AvatarTeam.spec.js +1 -0
- package/es/AvatarTeam/docs/AvatarTeam__palette.docs.js +1 -1
- package/es/Button/__tests__/Button.spec.js +1 -0
- package/es/Buttongroup/__test__/Buttongroup.spec.js +1 -0
- package/es/Card/Card.module.css +3 -3
- package/es/Card/docs/Card__Default.docs.js +4 -4
- package/es/Card/docs/Card__Scroll.docs.js +4 -4
- package/es/DateTime/DateTime.js +3 -6
- package/es/DateTime/DateWidget.js +2 -5
- package/es/DateTime/DateWidget.module.css +0 -4
- package/es/DateTime/YearView.js +5 -6
- package/es/DateTime/common.js +2 -9
- package/es/DateTime/dateFormatUtils/dateFormat.js +57 -76
- package/es/DateTime/dateFormatUtils/index.js +7 -12
- package/es/DateTime/dateFormatUtils/timeChange.js +3 -4
- package/es/DateTime/dateFormatUtils/yearChange.js +3 -4
- package/es/DateTime/validator.js +1 -0
- package/es/Label/__tests__/Label.spec.js +2 -0
- package/es/Layout/docs/Layout__Hidden.docs.js +1 -1
- package/es/Layout/docs/Layout__four_Column.docs.js +1 -1
- package/es/Layout/docs/Layout__three_Column.docs.js +1 -1
- package/es/Layout/utils.js +1 -2
- package/es/ListItem/ListItem.js +2 -0
- package/es/ListItem/ListItemWithIcon.js +2 -0
- package/es/MultiSelect/AdvancedGroupMultiSelect.js +10 -15
- package/es/MultiSelect/AdvancedMultiSelect.js +7 -6
- package/es/MultiSelect/AdvancedMultiSelect.module.css +8 -8
- package/es/MultiSelect/MultiSelect.js +10 -15
- package/es/MultiSelect/MultiSelect.module.css +8 -13
- package/es/MultiSelect/MultiSelectWithAvatar.js +6 -3
- package/es/MultiSelect/SelectedOptions.js +3 -2
- package/es/MultiSelect/docs/AdvancedGroupMultiSelect__default.docs.js +1 -2
- package/es/PopOver/PopOver.module.css +1 -1
- package/es/Popup/Popup.js +8 -14
- package/es/Popup/viewPort.js +9 -14
- package/es/Provider/IdProvider.js +4 -5
- package/es/Provider/LibraryContext.js +5 -6
- package/es/Provider/NumberGenerator/NumberGenerator.js +15 -17
- package/es/Provider/ZindexProvider.js +4 -5
- package/es/Radio/Radio.js +1 -2
- package/es/Radio/Radio.module.css +2 -2
- package/es/Responsive/CustomResponsive.js +8 -11
- package/es/Responsive/ResizeComponent.js +1 -3
- package/es/Responsive/Responsive.js +9 -12
- package/es/Responsive/docs/Responsive__Custom.docs.js +44 -49
- package/es/Responsive/docs/Responsive__default.docs.js +74 -77
- package/es/Responsive/sizeObservers.js +1 -5
- package/es/Ribbon/__tests__/Ribbon.spec.js +1 -0
- package/es/RippleEffect/RippleEffect.js +7 -4
- package/es/RippleEffect/RippleEffect.module.css +3 -0
- package/es/RippleEffect/docs/RippleEffect__default.docs.js +8 -8
- package/es/Select/GroupSelect.js +1 -2
- package/es/Select/Select.js +1 -2
- package/es/Select/Select.module.css +1 -1
- package/es/Select/SelectWithAvatar.js +7 -4
- package/es/Select/docs/Select__default.docs.js +1 -2
- package/es/Stencils/__tests__/Stencils.spec.js +1 -0
- package/es/Tab/Tab.js +26 -27
- package/es/Tab/TabContent.js +14 -17
- package/es/Tab/TabContentWrapper.js +14 -17
- package/es/Tab/TabWrapper.js +14 -15
- package/es/Tab/Tabs.js +1 -2
- package/es/Tab/docs/Tab__default.docs.js +1 -0
- package/es/Tag/Tag.js +10 -4
- package/es/Tag/Tag.module.css +14 -11
- package/es/Tag/docs/Tag__default.docs.js +70 -0
- package/es/TextBox/__tests__/TextBox.spec.js +1 -0
- package/es/TextBoxIcon/TextBoxIcon.js +1 -1
- package/es/TextBoxIcon/TextBoxIcon.module.css +5 -2
- package/es/TextBoxIcon/__tests__/TextBoxIcon.spec.js +1 -0
- package/es/Textarea/__tests__/Textarea.spec.js +1 -0
- package/es/Tooltip/Tooltip.js +1 -0
- package/es/VelocityAnimation/VelocityAnimation/docs/VelocityAnimation__demo.docs.js +2 -2
- package/es/VelocityAnimation/VelocityAnimationGroup/docs/VelocityAnimationGroup__demo.docs.js +2 -2
- package/es/a11y/FocusScope/FocusScope.js +4 -10
- package/es/beta/FocusRing/FocusRing.js +1 -4
- package/es/common/docStyle.module.css +9 -9
- package/es/utils/Common.js +11 -31
- package/es/utils/datetime/common.js +3 -6
- package/es/utils/dropDownUtils.js +5 -6
- package/es/utils/getInitial.js +1 -3
- package/lib/Accordion/Accordion.js +3 -3
- package/lib/Accordion/AccordionItem.js +3 -3
- package/lib/Accordion/docs/Accordion__Demo.docs.js +3 -3
- package/lib/Animation/Animation.js +3 -3
- package/lib/Animation/docs/Animation__default.docs.js +5 -5
- package/lib/Animation/docs/Animation__fadeIn.docs.js +5 -5
- package/lib/Animation/docs/Animation__scaleIn.docs.js +5 -5
- package/lib/Animation/docs/Animation__skewIn.docs.js +5 -5
- package/lib/Animation/docs/Animation__slideDown.docs.js +5 -5
- package/lib/Animation/docs/Animation__slideLeft.docs.js +5 -5
- package/lib/Animation/docs/Animation__zoomIn.docs.js +5 -5
- package/lib/AppContainer/AppContainer.js +3 -3
- package/lib/AppContainer/docs/AppContainer__default.docs.js +3 -3
- package/lib/Appearance/dark/mode/darkMode.module.css +69 -69
- package/lib/Appearance/dark/themes/blue/blueDarkCTATheme.module.css +2 -2
- package/lib/Appearance/dark/themes/blue/blueDarkComponentTheme.module.css +2 -2
- package/lib/Appearance/dark/themes/green/greenDarkCTATheme.module.css +1 -1
- package/lib/Appearance/dark/themes/green/greenDarkComponentTheme.module.css +2 -2
- package/lib/Appearance/dark/themes/orange/orangeDarkCTATheme.module.css +1 -1
- package/lib/Appearance/dark/themes/orange/orangeDarkComponentTheme.module.css +2 -2
- package/lib/Appearance/dark/themes/red/redDarkCTATheme.module.css +1 -1
- package/lib/Appearance/dark/themes/red/redDarkComponentTheme.module.css +2 -2
- package/lib/Appearance/dark/themes/yellow/yellowDarkCTATheme.module.css +1 -1
- package/lib/Appearance/dark/themes/yellow/yellowDarkComponentTheme.module.css +2 -2
- package/lib/Appearance/default/mode/defaultMode.module.css +158 -158
- package/lib/Appearance/default/themes/blue/blueDefaultCTATheme.module.css +28 -28
- package/lib/Appearance/default/themes/blue/blueDefaultComponentTheme.module.css +5 -5
- package/lib/Appearance/default/themes/green/greenDefaultCTATheme.module.css +1 -1
- package/lib/Appearance/default/themes/green/greenDefaultComponentTheme.module.css +4 -4
- package/lib/Appearance/default/themes/orange/orangeDefaultCTATheme.module.css +1 -1
- package/lib/Appearance/default/themes/orange/orangeDefaultComponentTheme.module.css +4 -4
- package/lib/Appearance/default/themes/red/redDefaultCTATheme.module.css +1 -1
- package/lib/Appearance/default/themes/red/redDefaultComponentTheme.module.css +4 -4
- package/lib/Appearance/default/themes/yellow/yellowDefaultCTATheme.module.css +1 -1
- package/lib/Appearance/default/themes/yellow/yellowDefaultComponentTheme.module.css +4 -4
- package/lib/Avatar/Avatar.js +3 -3
- package/lib/Avatar/docs/Avatar__custom.docs.js +3 -3
- package/lib/Avatar/docs/Avatar__default.docs.js +3 -3
- package/lib/Avatar/docs/Avatar__palette.docs.js +3 -3
- package/lib/Avatar/docs/Avatar__text.docs.js +3 -3
- package/lib/AvatarTeam/AvatarTeam.js +3 -3
- package/lib/AvatarTeam/docs/AvatarTeam__custom.docs.js +3 -3
- package/lib/AvatarTeam/docs/AvatarTeam__default.docs.js +3 -3
- package/lib/AvatarTeam/docs/AvatarTeam__palette.docs.js +4 -4
- package/lib/AvatarTeam/docs/AvatarTeam__size.docs.js +3 -3
- package/lib/Button/Button.js +3 -3
- package/lib/Button/docs/Button__custom.docs.js +3 -3
- package/lib/Button/docs/Button__default.docs.js +3 -3
- package/lib/Buttongroup/Buttongroup.js +3 -3
- package/lib/Buttongroup/docs/Buttongroup__custom.docs.js +3 -3
- package/lib/Buttongroup/docs/Buttongroup__footer.docs.js +3 -3
- package/lib/Buttongroup/docs/Buttongroup__header.docs.js +3 -3
- package/lib/Card/Card.js +4 -4
- package/lib/Card/Card.module.css +3 -3
- package/lib/Card/__tests__/Card.spec.js +1 -1
- package/lib/Card/docs/Card__Custom.docs.js +3 -3
- package/lib/Card/docs/Card__Default.docs.js +7 -7
- package/lib/Card/docs/Card__Scroll.docs.js +7 -7
- package/lib/Card/index.js +7 -7
- package/lib/CheckBox/CheckBox.js +3 -3
- package/lib/CheckBox/docs/CheckBox__custom.docs.js +3 -3
- package/lib/CheckBox/docs/CheckBox__default.docs.js +3 -3
- package/lib/DateTime/CalendarView.js +4 -4
- package/lib/DateTime/DateTime.js +3 -3
- package/lib/DateTime/DateTimePopupFooter.js +3 -3
- package/lib/DateTime/DateTimePopupHeader.js +3 -3
- package/lib/DateTime/DateWidget.js +3 -3
- package/lib/DateTime/DateWidget.module.css +0 -4
- package/lib/DateTime/DaysRow.js +3 -3
- package/lib/DateTime/Time.js +3 -3
- package/lib/DateTime/YearView.js +3 -3
- package/lib/DateTime/__tests__/CalendarView.spec.js +1 -1
- package/lib/DateTime/__tests__/DateTime.spec.js +1 -1
- package/lib/DateTime/constants.js +1 -1
- package/lib/DateTime/dateFormatUtils/dateFormat.js +2 -2
- package/lib/DateTime/dateFormatUtils/index.js +13 -13
- package/lib/DateTime/docs/DateTime__default.docs.js +3 -3
- package/lib/DateTime/docs/DateWidget__default.docs.js +3 -3
- package/lib/DateTime/objectUtils.js +2 -2
- package/lib/DropBox/DropBox.js +3 -3
- package/lib/DropBox/docs/DropBox__custom.docs.js +3 -3
- package/lib/DropBox/docs/DropBox__customOrder.docs.js +3 -3
- package/lib/DropBox/docs/DropBox__fixedPosition.docs.js +3 -3
- package/lib/DropBox/docs/DropBox__position.docs.js +3 -3
- package/lib/DropBox/docs/DropBox__size.docs.js +3 -3
- package/lib/DropDown/DropDown.js +4 -4
- package/lib/DropDown/DropDownHeading.js +3 -3
- package/lib/DropDown/DropDownItem.js +3 -3
- package/lib/DropDown/DropDownSearch.js +3 -3
- package/lib/DropDown/DropDownSeparator.js +3 -3
- package/lib/DropDown/docs/DropDownHeading__custom.docs.js +3 -3
- package/lib/DropDown/docs/DropDownHeading__default.docs.js +3 -3
- package/lib/Label/Label.js +3 -3
- package/lib/Label/docs/Label__clipped.docs.js +3 -3
- package/lib/Label/docs/Label__custom.docs.js +3 -3
- package/lib/Label/docs/Label__palette.docs.js +3 -3
- package/lib/Label/docs/Label__size.docs.js +3 -3
- package/lib/Label/docs/Label__type.docs.js +3 -3
- package/lib/Layout/Box.js +1 -1
- package/lib/Layout/Container.js +1 -1
- package/lib/Layout/docs/Layout__Hidden.docs.js +4 -4
- package/lib/Layout/docs/Layout__default.docs.js +3 -3
- package/lib/Layout/docs/Layout__four_Column.docs.js +4 -4
- package/lib/Layout/docs/Layout__three_Column.docs.js +4 -4
- package/lib/Layout/docs/Layout__two_Column.docs.js +3 -3
- package/lib/Layout/index.js +4 -4
- package/lib/Layout/utils.js +2 -2
- package/lib/LightNightMode/docs/AlternativeColors.docs.js +3 -3
- package/lib/ListItem/ListItem.js +3 -3
- package/lib/ListItem/ListItemWithAvatar.js +3 -3
- package/lib/ListItem/ListItemWithCheckBox.js +3 -3
- package/lib/ListItem/ListItemWithIcon.js +3 -3
- package/lib/ListItem/ListItemWithRadio.js +3 -3
- package/lib/ListItem/docs/ListItemWithAvatar__custom.docs.js +3 -3
- package/lib/ListItem/docs/ListItemWithAvatar__default.docs.js +3 -3
- package/lib/ListItem/docs/ListItemWithCheckBox__custom.docs.js +3 -3
- package/lib/ListItem/docs/ListItemWithCheckBox__default.docs.js +3 -3
- package/lib/ListItem/docs/ListItemWithIcon__custom.docs.js +3 -3
- package/lib/ListItem/docs/ListItemWithIcon__default.docs.js +3 -3
- package/lib/ListItem/docs/ListItemWithRadio__custom.docs.js +3 -3
- package/lib/ListItem/docs/ListItemWithRadio__default.docs.js +3 -3
- package/lib/ListItem/docs/ListItem__custom.docs.js +3 -3
- package/lib/ListItem/docs/ListItem__default.docs.js +3 -3
- package/lib/Modal/Modal.js +3 -3
- package/lib/Modal/__docs__/Modal__default.docs.js +3 -3
- package/lib/MultiSelect/AdvancedGroupMultiSelect.js +10 -7
- package/lib/MultiSelect/AdvancedMultiSelect.js +9 -6
- package/lib/MultiSelect/AdvancedMultiSelect.module.css +8 -8
- package/lib/MultiSelect/EmptyState.js +3 -3
- package/lib/MultiSelect/MultiSelect.js +10 -7
- package/lib/MultiSelect/MultiSelect.module.css +8 -13
- package/lib/MultiSelect/MultiSelectHeader.js +3 -3
- package/lib/MultiSelect/MultiSelectWithAvatar.js +9 -6
- package/lib/MultiSelect/SelectedOptions.js +6 -5
- package/lib/MultiSelect/Suggestions.js +5 -5
- package/lib/MultiSelect/docs/AdvancedGroupMultiSelect__default.docs.js +3 -3
- package/lib/MultiSelect/docs/AdvancedMultiSelect__default.docs.js +3 -3
- package/lib/MultiSelect/docs/MultiSelectWithAvatar__default.docs.js +3 -3
- package/lib/MultiSelect/docs/MultiSelect__default.docs.js +3 -3
- package/lib/PopOver/PopOver.js +4 -4
- package/lib/PopOver/PopOver.module.css +1 -1
- package/lib/PopOver/docs/PopOver__default.docs.js +3 -3
- package/lib/Popup/Popup.js +3 -3
- package/lib/Popup/__tests__/Popup.spec.js +3 -3
- package/lib/Provider/IdProvider.js +3 -3
- package/lib/Provider/LibraryContext.js +3 -3
- package/lib/Provider/NumberGenerator/NumberGenerator.js +2 -2
- package/lib/Provider/ZindexProvider.js +1 -1
- package/lib/Provider/docs/Provider_Id__Class.docs.js +3 -3
- package/lib/Provider/docs/Provider_Zindex__Class.docs.js +3 -3
- package/lib/Provider.js +3 -3
- package/lib/Radio/Radio.js +4 -6
- package/lib/Radio/Radio.module.css +2 -2
- package/lib/Radio/docs/Radio__custom.docs.js +3 -3
- package/lib/Radio/docs/Radio__default.docs.js +3 -3
- package/lib/Responsive/CustomResponsive.js +4 -4
- package/lib/Responsive/RefWrapper.js +1 -1
- package/lib/Responsive/ResizeComponent.js +3 -3
- package/lib/Responsive/ResizeObserver.js +1 -1
- package/lib/Responsive/Responsive.js +5 -6
- package/lib/Responsive/docs/Responsive__Custom.docs.js +3 -3
- package/lib/Responsive/docs/Responsive__default.docs.js +3 -3
- package/lib/Responsive/sizeObservers.js +5 -6
- package/lib/Responsive/utils/index.js +2 -3
- package/lib/Responsive/utils/shallowCompare.js +1 -1
- package/lib/Ribbon/Ribbon.js +3 -3
- package/lib/Ribbon/docs/Ribbon__custom.docs.js +3 -3
- package/lib/Ribbon/docs/Ribbon__default.docs.js +3 -3
- package/lib/RippleEffect/RippleEffect.js +7 -4
- package/lib/RippleEffect/RippleEffect.module.css +3 -0
- package/lib/RippleEffect/docs/RippleEffect__default.docs.js +11 -11
- package/lib/Select/GroupSelect.js +3 -3
- package/lib/Select/Select.js +3 -3
- package/lib/Select/Select.module.css +1 -1
- package/lib/Select/SelectWithAvatar.js +10 -7
- package/lib/Select/SelectWithIcon.js +3 -3
- package/lib/Select/docs/GroupSelect__default.docs.js +3 -3
- package/lib/Select/docs/SelectWithAvatar__default.docs.js +3 -3
- package/lib/Select/docs/SelectWithIcon__default.docs.js +3 -3
- package/lib/Select/docs/Select__default.docs.js +3 -3
- package/lib/Stencils/Stencils.js +3 -3
- package/lib/Stencils/docs/Stencils__custom.docs.js +3 -3
- package/lib/Stencils/docs/Stencils__default.docs.js +3 -3
- package/lib/Switch/Switch.js +3 -3
- package/lib/Switch/docs/Switch__custom.docs.js +3 -3
- package/lib/Switch/docs/Switch__default.docs.js +3 -3
- package/lib/Tab/Tab.js +1 -1
- package/lib/Tab/TabWrapper.js +1 -1
- package/lib/Tab/Tabs.js +3 -3
- package/lib/Tab/docs/Tab__default.docs.js +3 -3
- package/lib/Tab/index.js +10 -10
- package/lib/Tag/Tag.js +13 -7
- package/lib/Tag/Tag.module.css +14 -11
- package/lib/Tag/docs/Tag__custom.docs.js +3 -3
- package/lib/Tag/docs/Tag__default.docs.js +73 -3
- package/lib/TextBox/TextBox.js +3 -3
- package/lib/TextBox/docs/TextBox__custom.docs.js +3 -3
- package/lib/TextBox/docs/TextBox__default.docs.js +3 -3
- package/lib/TextBox/docs/TextBox__size.docs.js +3 -3
- package/lib/TextBox/docs/TextBox__variant.docs.js +3 -3
- package/lib/TextBoxIcon/TextBoxIcon.js +4 -4
- package/lib/TextBoxIcon/TextBoxIcon.module.css +5 -2
- package/lib/TextBoxIcon/docs/TextBoxIcon__custom.docs.js +3 -3
- package/lib/TextBoxIcon/docs/TextBoxIcon__default.docs.js +3 -3
- package/lib/Textarea/Textarea.js +3 -3
- package/lib/Textarea/docs/Textarea__animated.docs.js +3 -3
- package/lib/Textarea/docs/Textarea__custom.docs.js +3 -3
- package/lib/Textarea/docs/Textarea__default.docs.js +3 -3
- package/lib/Textarea/docs/Textarea__disabled.docs.js +3 -3
- package/lib/Tooltip/Tooltip.js +3 -3
- package/lib/Tooltip/__tests__/Tooltip.spec.js +3 -3
- package/lib/Tooltip/docs/Tooltip__default.docs.js +3 -3
- package/lib/VelocityAnimation/VelocityAnimation/VelocityAnimation.js +3 -3
- package/lib/VelocityAnimation/VelocityAnimation/docs/VelocityAnimation__demo.docs.js +5 -5
- package/lib/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +3 -3
- package/lib/VelocityAnimation/VelocityAnimationGroup/docs/VelocityAnimationGroup__demo.docs.js +5 -5
- package/lib/a11y/FocusScope/FocusScope.js +2 -2
- package/lib/a11y/FocusScope/docs/FocusScope__default.docs.js +3 -3
- package/lib/beta/FocusRing/FocusRing.js +3 -3
- package/lib/beta/FocusRing/docs/FocusRing__default.docs.js +3 -3
- package/lib/common/docStyle.module.css +9 -9
- package/lib/deprecated/PortalLayer/PortalLayer.js +3 -3
- package/lib/deprecated/PortalLayer/docs/PortalLayer__default.docs.js +3 -3
- package/lib/index.js +308 -308
- package/lib/semantic/Button/Button.js +3 -3
- package/lib/semantic/Button/docs/Button__default.docs.js +3 -3
- package/lib/utils/Common.js +16 -20
- package/lib/utils/datetime/common.js +10 -10
- package/lib/utils/dropDownUtils.js +2 -2
- package/lib/utils/shallowEqual.js +1 -1
- package/package.json +5 -5
- package/preprocess/componentAppearanceColors.js +1 -1
- package/preprocess/json/componentAppearanceVariableJson.js +230 -230
- package/preprocess/json/componentThemeVariableJson.js +33 -33
- package/preprocess/json/ctaThemeVariableJson.js +38 -38
package/lib/Tab/index.js
CHANGED
|
@@ -3,16 +3,10 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
Object.defineProperty(exports, "
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: function get() {
|
|
9
|
-
return _Tab["default"];
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
|
-
Object.defineProperty(exports, "TabContent", {
|
|
6
|
+
Object.defineProperty(exports, "TabWrapper", {
|
|
13
7
|
enumerable: true,
|
|
14
8
|
get: function get() {
|
|
15
|
-
return
|
|
9
|
+
return _TabWrapper["default"];
|
|
16
10
|
}
|
|
17
11
|
});
|
|
18
12
|
Object.defineProperty(exports, "TabContentWrapper", {
|
|
@@ -21,10 +15,10 @@ Object.defineProperty(exports, "TabContentWrapper", {
|
|
|
21
15
|
return _TabContentWrapper["default"];
|
|
22
16
|
}
|
|
23
17
|
});
|
|
24
|
-
Object.defineProperty(exports, "
|
|
18
|
+
Object.defineProperty(exports, "TabContent", {
|
|
25
19
|
enumerable: true,
|
|
26
20
|
get: function get() {
|
|
27
|
-
return
|
|
21
|
+
return _TabContent["default"];
|
|
28
22
|
}
|
|
29
23
|
});
|
|
30
24
|
Object.defineProperty(exports, "Tabs", {
|
|
@@ -33,6 +27,12 @@ Object.defineProperty(exports, "Tabs", {
|
|
|
33
27
|
return _Tabs["default"];
|
|
34
28
|
}
|
|
35
29
|
});
|
|
30
|
+
Object.defineProperty(exports, "Tab", {
|
|
31
|
+
enumerable: true,
|
|
32
|
+
get: function get() {
|
|
33
|
+
return _Tab["default"];
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
36
|
|
|
37
37
|
var _TabWrapper = _interopRequireDefault(require("./TabWrapper"));
|
|
38
38
|
|
package/lib/Tag/Tag.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
4
4
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
@@ -33,9 +33,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
33
33
|
|
|
34
34
|
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); } }
|
|
35
35
|
|
|
36
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps);
|
|
36
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
37
37
|
|
|
38
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
38
|
+
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 } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
39
39
|
|
|
40
40
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
41
41
|
|
|
@@ -132,7 +132,9 @@ var Tag = /*#__PURE__*/function (_PureComponent) {
|
|
|
132
132
|
tooltip = _this$props4.tooltip,
|
|
133
133
|
avatarPalette = _this$props4.avatarPalette,
|
|
134
134
|
customClass = _this$props4.customClass,
|
|
135
|
-
a11y = _this$props4.a11y
|
|
135
|
+
a11y = _this$props4.a11y,
|
|
136
|
+
needEffect = _this$props4.needEffect,
|
|
137
|
+
isReadOnly = _this$props4.isReadOnly;
|
|
136
138
|
var _customClass$customTa = customClass.customTag,
|
|
137
139
|
customTag = _customClass$customTa === void 0 ? '' : _customClass$customTa,
|
|
138
140
|
_customClass$customTa2 = customClass.customTagClose,
|
|
@@ -147,7 +149,7 @@ var Tag = /*#__PURE__*/function (_PureComponent) {
|
|
|
147
149
|
clearLabel = _a11y$clearLabel === void 0 ? 'Delete' : _a11y$clearLabel;
|
|
148
150
|
var isDarkPalette = palette === 'dark';
|
|
149
151
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
150
|
-
className: "".concat(_TagModule["default"].container, " ").concat(active ? "".concat(_TagModule["default"].selected, " ").concat(_TagModule["default"]["active".concat(palette)]) : '', " ").concat(onRemove ? active ? "".concat(_TagModule["default"]["active".concat(size, "Effect")]) : '' : '', " ").concat(_TagModule["default"][size], " ").concat(rounded ? _TagModule["default"].lgRadius : _TagModule["default"].smRadius, " ").concat(_TagModule["default"][palette], " ").concat(disabled ? _TagModule["default"].disabled : '', " ").concat(onSelectTag ? _TagModule["default"].pointer : '', " ").concat(customTag),
|
|
152
|
+
className: "".concat(_TagModule["default"].container, " ").concat(needEffect && !isReadOnly ? _TagModule["default"].effect : _TagModule["default"].readonly, " ").concat(active ? "".concat(_TagModule["default"].selected, " ").concat(_TagModule["default"]["active".concat(palette)]) : '', " ").concat(onRemove ? active ? "".concat(_TagModule["default"]["active".concat(size, "Effect")]) : '' : '', " ").concat(_TagModule["default"][size], " ").concat(rounded ? _TagModule["default"].lgRadius : _TagModule["default"].smRadius, " ").concat(_TagModule["default"][palette], " ").concat(disabled ? _TagModule["default"].disabled : '', " ").concat(onSelectTag ? _TagModule["default"].pointer : '', " ").concat(customTag),
|
|
151
153
|
"data-id": active ? "".concat(dataId, "_TagSelected") : "".concat(dataId, "_Tag"),
|
|
152
154
|
onClick: this.handleSelect,
|
|
153
155
|
ref: this.getRef,
|
|
@@ -204,7 +206,9 @@ Tag.defaultProps = {
|
|
|
204
206
|
size: 'medium',
|
|
205
207
|
dataId: 'tag',
|
|
206
208
|
customClass: {},
|
|
207
|
-
a11y: {}
|
|
209
|
+
a11y: {},
|
|
210
|
+
needEffect: true,
|
|
211
|
+
isReadOnly: false
|
|
208
212
|
};
|
|
209
213
|
Tag.propTypes = {
|
|
210
214
|
active: _propTypes.PropTypes.bool,
|
|
@@ -235,7 +239,9 @@ Tag.propTypes = {
|
|
|
235
239
|
}),
|
|
236
240
|
a11y: _propTypes.PropTypes.shape({
|
|
237
241
|
clearLabel: _propTypes.PropTypes.string
|
|
238
|
-
})
|
|
242
|
+
}),
|
|
243
|
+
needEffect: _propTypes.PropTypes.bool,
|
|
244
|
+
isReadOnly: _propTypes.PropTypes.bool
|
|
239
245
|
};
|
|
240
246
|
|
|
241
247
|
if (false) {
|
package/lib/Tag/Tag.module.css
CHANGED
|
@@ -50,9 +50,12 @@
|
|
|
50
50
|
}
|
|
51
51
|
.disabled {
|
|
52
52
|
pointer-events: none;
|
|
53
|
-
--tag_cursor: not-allowed;
|
|
54
53
|
--tag_text_color: var(--zdt_tag_disabled_text);
|
|
55
54
|
}
|
|
55
|
+
.readonly,
|
|
56
|
+
.disabled {
|
|
57
|
+
--tag_cursor: not-allowed;
|
|
58
|
+
}
|
|
56
59
|
.pointer {
|
|
57
60
|
--tag_cursor: pointer;
|
|
58
61
|
}
|
|
@@ -158,11 +161,11 @@
|
|
|
158
161
|
.danger {
|
|
159
162
|
--tag_bg_color: var(--zdt_tag_default_danger_bg);
|
|
160
163
|
}
|
|
161
|
-
.default:hover {
|
|
164
|
+
.effect.default:hover {
|
|
162
165
|
--tag_bg_color: var(--zdt_tag_default_hover_bg);
|
|
163
166
|
}
|
|
164
167
|
.activedefault,
|
|
165
|
-
.activedefault:hover {
|
|
168
|
+
.effect.activedefault:hover {
|
|
166
169
|
--tag_bg_color: var(--zdt_tag_active_default_bg);
|
|
167
170
|
}
|
|
168
171
|
.activeprimaryClose,
|
|
@@ -170,11 +173,11 @@
|
|
|
170
173
|
--tag_closeicon_bg_color: var(--zdt_tag_primary_bg);
|
|
171
174
|
}
|
|
172
175
|
|
|
173
|
-
.danger:hover {
|
|
176
|
+
.effect.danger:hover {
|
|
174
177
|
--tag_bg_color: var(--zdt_tag_danger_hover_bg);
|
|
175
178
|
}
|
|
176
179
|
.activedanger,
|
|
177
|
-
.activedanger:hover {
|
|
180
|
+
.effect.activedanger:hover {
|
|
178
181
|
--tag_bg_color: var(--zdt_tag_danger_hover_bg);
|
|
179
182
|
}
|
|
180
183
|
.activedangerClose,
|
|
@@ -187,7 +190,7 @@
|
|
|
187
190
|
--tag_text_color: var(--zdt_tag_secondary_text);
|
|
188
191
|
}
|
|
189
192
|
.activesecondary,
|
|
190
|
-
.secondary:hover {
|
|
193
|
+
.effect.secondary:hover {
|
|
191
194
|
--tag_bg_color: var(--zdt_tag_secondary_hover_bg);
|
|
192
195
|
}
|
|
193
196
|
|
|
@@ -196,12 +199,12 @@
|
|
|
196
199
|
--tag_border_width: 1px;
|
|
197
200
|
--tag_border_color: var(--zdt_tag_pure_border);
|
|
198
201
|
}
|
|
199
|
-
.pureDotted:hover {
|
|
202
|
+
.effect.pureDotted:hover {
|
|
200
203
|
--tag_bg_color: var(--zdt_tag_pure_hover_bg);
|
|
201
204
|
--tag_border_color: var(--zdt_tag_pure_hover_border);
|
|
202
205
|
}
|
|
203
206
|
.activepureDotted,
|
|
204
|
-
.activepureDotted:hover {
|
|
207
|
+
.effect.activepureDotted:hover {
|
|
205
208
|
--tag_bg_color: var(--zdt_tag_pure_bg);
|
|
206
209
|
}
|
|
207
210
|
|
|
@@ -210,10 +213,10 @@
|
|
|
210
213
|
--tag_border_width: 1px;
|
|
211
214
|
--tag_border_color: var(--zdt_tag_primary_border);
|
|
212
215
|
}
|
|
213
|
-
.primaryDotted:hover,
|
|
216
|
+
.effect.primaryDotted:hover,
|
|
214
217
|
.activeprimaryDotted,
|
|
215
218
|
.primary,
|
|
216
|
-
.primary:hover {
|
|
219
|
+
.effect.primary:hover {
|
|
217
220
|
--tag_bg_color: var(--zdt_tag_active_default_bg);
|
|
218
221
|
}
|
|
219
222
|
|
|
@@ -228,7 +231,7 @@
|
|
|
228
231
|
--tag_bg_color: var(--zdt_tag_dark_bg);
|
|
229
232
|
--tag_text_color: var(--zdt_tag_dark_text);
|
|
230
233
|
}
|
|
231
|
-
.dark:hover {
|
|
234
|
+
.effect.dark:hover {
|
|
232
235
|
--tag_bg_color: var(--zdt_tag_dark_hover_bg);
|
|
233
236
|
--tag_text_color: var(--zdt_tag_dark_hover_text);
|
|
234
237
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
4
4
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
@@ -25,9 +25,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
25
25
|
|
|
26
26
|
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); } }
|
|
27
27
|
|
|
28
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps);
|
|
28
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
29
29
|
|
|
30
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
30
|
+
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 } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
31
31
|
|
|
32
32
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
33
33
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
4
4
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
@@ -23,9 +23,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
23
23
|
|
|
24
24
|
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); } }
|
|
25
25
|
|
|
26
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps);
|
|
26
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
27
27
|
|
|
28
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
28
|
+
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 } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
29
29
|
|
|
30
30
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
31
31
|
|
|
@@ -185,6 +185,76 @@ var Tag__default = /*#__PURE__*/function (_Component) {
|
|
|
185
185
|
}, /*#__PURE__*/_react["default"].createElement(_Tag["default"], {
|
|
186
186
|
text: "Bharathi",
|
|
187
187
|
palette: "primaryDotted"
|
|
188
|
+
})), /*#__PURE__*/_react["default"].createElement("span", {
|
|
189
|
+
style: spanStyle
|
|
190
|
+
}, /*#__PURE__*/_react["default"].createElement(_Tag["default"], {
|
|
191
|
+
text: "Bharathi",
|
|
192
|
+
palette: "dark"
|
|
193
|
+
})), /*#__PURE__*/_react["default"].createElement("span", {
|
|
194
|
+
style: spanStyle
|
|
195
|
+
}, /*#__PURE__*/_react["default"].createElement(_Tag["default"], {
|
|
196
|
+
text: "Bharathi",
|
|
197
|
+
palette: "pureDarkDotted"
|
|
198
|
+
})), /*#__PURE__*/_react["default"].createElement("span", {
|
|
199
|
+
style: spanStyle
|
|
200
|
+
}, /*#__PURE__*/_react["default"].createElement(_Tag["default"], {
|
|
201
|
+
text: "Bharathi",
|
|
202
|
+
palette: "darkPrimaryDotted"
|
|
203
|
+
})))), /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement("div", {
|
|
204
|
+
style: titleStyle
|
|
205
|
+
}, "Palette with Read-only"), /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement("span", {
|
|
206
|
+
style: spanStyle
|
|
207
|
+
}, /*#__PURE__*/_react["default"].createElement(_Tag["default"], {
|
|
208
|
+
text: "Bharathi",
|
|
209
|
+
imageURL: "https://iz.zohostatic.com/sites/default/files/styles/product-home-page/public/Desk-logo.png?itok=NW1geavh",
|
|
210
|
+
hasAvatar: true,
|
|
211
|
+
palette: "default",
|
|
212
|
+
isReadOnly: true
|
|
213
|
+
})), /*#__PURE__*/_react["default"].createElement("span", {
|
|
214
|
+
style: spanStyle
|
|
215
|
+
}, /*#__PURE__*/_react["default"].createElement(_Tag["default"], {
|
|
216
|
+
text: "Bharathi",
|
|
217
|
+
rounded: false,
|
|
218
|
+
initial: "TT",
|
|
219
|
+
hasAvatar: true,
|
|
220
|
+
palette: "danger",
|
|
221
|
+
isReadOnly: true
|
|
222
|
+
})), /*#__PURE__*/_react["default"].createElement("span", {
|
|
223
|
+
style: spanStyle
|
|
224
|
+
}, /*#__PURE__*/_react["default"].createElement(_Tag["default"], {
|
|
225
|
+
text: "Bharathi",
|
|
226
|
+
palette: "secondary",
|
|
227
|
+
isReadOnly: true
|
|
228
|
+
})), /*#__PURE__*/_react["default"].createElement("span", {
|
|
229
|
+
style: spanStyle
|
|
230
|
+
}, /*#__PURE__*/_react["default"].createElement(_Tag["default"], {
|
|
231
|
+
text: "Bharathi",
|
|
232
|
+
palette: "pureDotted",
|
|
233
|
+
isReadOnly: true
|
|
234
|
+
})), /*#__PURE__*/_react["default"].createElement("span", {
|
|
235
|
+
style: spanStyle
|
|
236
|
+
}, /*#__PURE__*/_react["default"].createElement(_Tag["default"], {
|
|
237
|
+
text: "Bharathi",
|
|
238
|
+
palette: "primaryDotted",
|
|
239
|
+
isReadOnly: true
|
|
240
|
+
})), /*#__PURE__*/_react["default"].createElement("span", {
|
|
241
|
+
style: spanStyle
|
|
242
|
+
}, /*#__PURE__*/_react["default"].createElement(_Tag["default"], {
|
|
243
|
+
text: "Bharathi",
|
|
244
|
+
palette: "dark",
|
|
245
|
+
isReadOnly: true
|
|
246
|
+
})), /*#__PURE__*/_react["default"].createElement("span", {
|
|
247
|
+
style: spanStyle
|
|
248
|
+
}, /*#__PURE__*/_react["default"].createElement(_Tag["default"], {
|
|
249
|
+
text: "Bharathi",
|
|
250
|
+
palette: "pureDarkDotted",
|
|
251
|
+
isReadOnly: true
|
|
252
|
+
})), /*#__PURE__*/_react["default"].createElement("span", {
|
|
253
|
+
style: spanStyle
|
|
254
|
+
}, /*#__PURE__*/_react["default"].createElement(_Tag["default"], {
|
|
255
|
+
text: "Bharathi",
|
|
256
|
+
palette: "darkPrimaryDotted",
|
|
257
|
+
isReadOnly: true
|
|
188
258
|
})))), /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement("div", {
|
|
189
259
|
style: titleStyle
|
|
190
260
|
}, "Rounded"), /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement("span", {
|
package/lib/TextBox/TextBox.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
4
4
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
@@ -25,9 +25,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
25
25
|
|
|
26
26
|
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); } }
|
|
27
27
|
|
|
28
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps);
|
|
28
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
29
29
|
|
|
30
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
30
|
+
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 } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
31
31
|
|
|
32
32
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
33
33
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
4
4
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
@@ -25,9 +25,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
25
25
|
|
|
26
26
|
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); } }
|
|
27
27
|
|
|
28
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps);
|
|
28
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
29
29
|
|
|
30
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
30
|
+
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 } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
31
31
|
|
|
32
32
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
33
33
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
4
4
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
@@ -25,9 +25,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
25
25
|
|
|
26
26
|
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); } }
|
|
27
27
|
|
|
28
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps);
|
|
28
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
29
29
|
|
|
30
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
30
|
+
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 } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
31
31
|
|
|
32
32
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
33
33
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
4
4
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
@@ -25,9 +25,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
25
25
|
|
|
26
26
|
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); } }
|
|
27
27
|
|
|
28
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps);
|
|
28
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
29
29
|
|
|
30
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
30
|
+
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 } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
31
31
|
|
|
32
32
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
33
33
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
4
4
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
@@ -25,9 +25,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
25
25
|
|
|
26
26
|
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); } }
|
|
27
27
|
|
|
28
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps);
|
|
28
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
29
29
|
|
|
30
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
30
|
+
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 } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
31
31
|
|
|
32
32
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
33
33
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
4
4
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
@@ -29,9 +29,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
29
29
|
|
|
30
30
|
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); } }
|
|
31
31
|
|
|
32
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps);
|
|
32
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
33
33
|
|
|
34
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
34
|
+
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 } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
35
35
|
|
|
36
36
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
37
37
|
|
|
@@ -144,7 +144,7 @@ var TextBoxIcon = /*#__PURE__*/function (_React$Component) {
|
|
|
144
144
|
return /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
145
145
|
alignBox: "row",
|
|
146
146
|
isCover: false,
|
|
147
|
-
className: "".concat(_TextBoxIconModule["default"].container, " ").concat(isDisabled ? _TextBoxIconModule["default"].disabled : isReadOnly ? needEffect ? _TextBoxIconModule["default"].effect :
|
|
147
|
+
className: "".concat(_TextBoxIconModule["default"].container, " ").concat(isDisabled ? _TextBoxIconModule["default"].disabled : isReadOnly ? needEffect ? _TextBoxIconModule["default"].effect : _TextBoxIconModule["default"].readonly : _TextBoxIconModule["default"].effect, " ").concat(isActive || isFocus ? _TextBoxIconModule["default"].effectFocused : '', " ").concat(customTBoxWrap, " ").concat(iconOnHover && (isReadOnly || isDisabled) ? _TextBoxIconModule["default"].iconOnHoverReadonly : iconOnHover && !(isReadOnly || isDisabled) ? _TextBoxIconModule["default"].iconOnHoverStyle : ''),
|
|
148
148
|
"data-title": isDisabled ? title : ''
|
|
149
149
|
}, /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
150
150
|
flexible: true
|
|
@@ -12,8 +12,11 @@
|
|
|
12
12
|
composes: varClass;
|
|
13
13
|
position: relative;
|
|
14
14
|
}
|
|
15
|
-
.disabled {
|
|
16
|
-
|
|
15
|
+
.disabled,.readonly {
|
|
16
|
+
--textboxicon_icon_cursor: not-allowed;
|
|
17
|
+
}
|
|
18
|
+
.disabled, .readonly {
|
|
19
|
+
cursor: not-allowed;
|
|
17
20
|
}
|
|
18
21
|
.icon {
|
|
19
22
|
composes: offSelection from '../common/common.module.css';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
4
4
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
@@ -27,9 +27,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
27
27
|
|
|
28
28
|
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); } }
|
|
29
29
|
|
|
30
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps);
|
|
30
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
31
31
|
|
|
32
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
32
|
+
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 } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
33
33
|
|
|
34
34
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
35
35
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
4
4
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
@@ -27,9 +27,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
27
27
|
|
|
28
28
|
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); } }
|
|
29
29
|
|
|
30
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps);
|
|
30
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
31
31
|
|
|
32
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
32
|
+
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 } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
33
33
|
|
|
34
34
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
35
35
|
|
package/lib/Textarea/Textarea.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
4
4
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
@@ -21,9 +21,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
21
21
|
|
|
22
22
|
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); } }
|
|
23
23
|
|
|
24
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps);
|
|
24
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
25
25
|
|
|
26
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
26
|
+
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 } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
27
27
|
|
|
28
28
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
29
29
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
4
4
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
@@ -23,9 +23,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
23
23
|
|
|
24
24
|
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); } }
|
|
25
25
|
|
|
26
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps);
|
|
26
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
27
27
|
|
|
28
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
28
|
+
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 } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
29
29
|
|
|
30
30
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
31
31
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
4
4
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
@@ -25,9 +25,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
25
25
|
|
|
26
26
|
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); } }
|
|
27
27
|
|
|
28
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps);
|
|
28
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
29
29
|
|
|
30
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
30
|
+
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 } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
31
31
|
|
|
32
32
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
33
33
|
|