@zohodesk/components 1.0.0-temp-79 → 1.0.0-temp-80
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 +1084 -1079
- package/assets/Appearance/dark/mode/contrast/darkContrast.module.css +343 -0
- package/assets/Appearance/dark/themes/blue/contrast/blueDarkCTAThemeContrast.module.css +34 -0
- package/assets/Appearance/dark/themes/green/contrast/greenDarkCTAThemeContrast.module.css +34 -0
- package/assets/Appearance/dark/themes/orange/contrast/orangeDarkCTAThemeContrast.module.css +34 -0
- package/assets/Appearance/dark/themes/red/contrast/redDarkCTAThemeContrast.module.css +34 -0
- package/assets/Appearance/dark/themes/yellow/contrast/yellowDarkCTAThemeContrast.module.css +34 -0
- package/assets/Appearance/default/mode/contrast/defaultContrast.module.css +343 -0
- package/assets/Appearance/default/themes/blue/contrast/blueDefaultCTAThemeContrast.module.css +34 -0
- package/assets/Appearance/default/themes/green/contrast/greenDefaultCTAThemeContrast.module.css +34 -0
- package/assets/Appearance/default/themes/orange/contrast/orangeDefaultCTAThemeContrast.module.css +34 -0
- package/assets/Appearance/default/themes/red/contrast/redDefaultCTAThemeContrast.module.css +34 -0
- package/assets/Appearance/default/themes/yellow/contrast/yellowDefaultCTAThemeContrast.module.css +34 -0
- package/assets/Appearance/pureDark/mode/contrast/pureDarkContrast.module.css +343 -0
- package/assets/Appearance/pureDark/themes/blue/contrast/bluePureDarkCTAThemeContrast.module.css +34 -0
- package/assets/Appearance/pureDark/themes/green/contrast/greenPureDarkCTAThemeContrast.module.css +34 -0
- package/assets/Appearance/pureDark/themes/orange/contrast/orangePureDarkCTAThemeContrast.module.css +34 -0
- package/assets/Appearance/pureDark/themes/red/contrast/redPureDarkCTAThemeContrast.module.css +34 -0
- package/assets/Appearance/pureDark/themes/yellow/contrast/yellowPureDarkCTAThemeContrast.module.css +34 -0
- package/docs/external/active-line.js +72 -72
- package/docs/external/autorefresh.js +47 -47
- package/docs/external/codemirror.js +9681 -9681
- package/docs/external/css/hopscotch.css +576 -576
- package/docs/external/css/styleGuide.css +1100 -1100
- package/docs/external/css.js +466 -466
- package/docs/external/designTokens.js +1 -1
- package/docs/external/foldcode.js +151 -151
- package/docs/external/format.js +129 -129
- package/docs/external/htmlmixed.js +84 -84
- package/docs/external/index.html +127 -127
- package/docs/external/javascript.js +422 -422
- package/docs/external/jsx.js +147 -147
- package/docs/external/matchbrackets.js +145 -145
- package/docs/external/xml.js +322 -322
- package/docs/package.json +41 -41
- package/docs/src/index.js +1311 -1311
- package/es/Accordion/Accordion.js +0 -7
- package/es/Accordion/AccordionItem.js +0 -4
- package/es/Accordion/docs/Accordion__Demo.docs.js +0 -2
- package/es/Animation/Animation.js +0 -3
- package/es/Animation/docs/Animation__default.docs.js +0 -2
- package/es/Animation/docs/Animation__fadeIn.docs.js +0 -2
- package/es/Animation/docs/Animation__scaleIn.docs.js +0 -2
- package/es/Animation/docs/Animation__skewIn.docs.js +0 -2
- package/es/Animation/docs/Animation__slideDown.docs.js +0 -2
- package/es/Animation/docs/Animation__slideLeft.docs.js +0 -2
- package/es/Animation/docs/Animation__zoomIn.docs.js +0 -2
- package/es/AppContainer/AppContainer.js +3 -14
- package/es/AppContainer/AppContainer.module.css +18 -18
- package/es/AppContainer/docs/AppContainer__default.docs.js +0 -2
- package/es/Avatar/Avatar.js +45 -51
- package/es/Avatar/Avatar.module.css +135 -115
- package/es/Avatar/__tests__/__snapshots__/Avatar.spec.js.snap +288 -288
- package/es/Avatar/docs/Avatar__custom.docs.js +1 -3
- package/es/Avatar/docs/Avatar__default.docs.js +1 -3
- package/es/Avatar/docs/Avatar__palette.docs.js +1 -3
- package/es/Avatar/docs/Avatar__text.docs.js +1 -3
- package/es/Avatar/props/defaultProps.js +2 -1
- package/es/Avatar/props/propTypes.js +2 -1
- package/es/AvatarTeam/AvatarTeam.js +8 -11
- package/es/AvatarTeam/AvatarTeam.module.css +161 -147
- package/es/AvatarTeam/__tests__/__snapshots__/AvatarTeam.spec.js.snap +226 -226
- package/es/AvatarTeam/docs/AvatarTeam__custom.docs.js +0 -2
- package/es/AvatarTeam/docs/AvatarTeam__default.docs.js +0 -2
- package/es/AvatarTeam/docs/AvatarTeam__palette.docs.js +0 -2
- package/es/AvatarTeam/docs/AvatarTeam__size.docs.js +0 -2
- package/es/Button/Button.js +4 -8
- package/es/Button/Button.module.css +521 -448
- package/es/Button/__tests__/__snapshots__/Button.spec.js.snap +191 -191
- package/es/Button/docs/Button__custom.docs.js +11 -13
- package/es/Button/docs/Button__default.docs.js +11 -13
- package/es/Buttongroup/Buttongroup.js +1 -4
- package/es/Buttongroup/Buttongroup.module.css +89 -60
- package/es/Buttongroup/__test__/__snapshots__/Buttongroup.spec.js.snap +146 -146
- package/es/Buttongroup/docs/Buttongroup__custom.docs.js +0 -2
- package/es/Buttongroup/docs/Buttongroup__footer.docs.js +0 -2
- package/es/Buttongroup/docs/Buttongroup__header.docs.js +0 -2
- package/es/Card/Card.js +11 -26
- package/es/Card/Card.module.css +20 -20
- package/es/Card/docs/Card__Custom.docs.js +0 -2
- package/es/Card/docs/Card__Default.docs.js +0 -2
- package/es/Card/docs/Card__Scroll.docs.js +0 -3
- package/es/CheckBox/CheckBox.js +1 -6
- package/es/CheckBox/CheckBox.module.css +157 -151
- package/es/CheckBox/docs/CheckBox__custom.docs.js +12 -16
- package/es/CheckBox/docs/CheckBox__default.docs.js +12 -16
- package/es/DateTime/CalendarView.js +4 -23
- package/es/DateTime/DateTime.js +6 -74
- package/es/DateTime/DateTime.module.css +187 -160
- package/es/DateTime/DateTimePopupFooter.js +2 -4
- package/es/DateTime/DateTimePopupHeader.js +2 -8
- package/es/DateTime/DateWidget.js +34 -101
- package/es/DateTime/DateWidget.module.css +38 -34
- package/es/DateTime/DaysRow.js +2 -4
- package/es/DateTime/Time.js +2 -10
- package/es/DateTime/YearView.js +4 -28
- package/es/DateTime/YearView.module.css +81 -71
- package/es/DateTime/__tests__/CalendarView.spec.js +0 -1
- package/es/DateTime/__tests__/DateTime.spec.js +0 -1
- package/es/DateTime/__tests__/DateWidget.spec.js +3 -2
- package/es/DateTime/common.js +0 -3
- package/es/DateTime/constants.js +0 -1
- package/es/DateTime/dateFormatUtils/dateFormat.js +30 -63
- package/es/DateTime/dateFormatUtils/dayChange.js +4 -13
- package/es/DateTime/dateFormatUtils/index.js +2 -28
- package/es/DateTime/dateFormatUtils/monthChange.js +0 -8
- package/es/DateTime/dateFormatUtils/timeChange.js +6 -22
- package/es/DateTime/dateFormatUtils/yearChange.js +2 -11
- package/es/DateTime/docs/DateTime__default.docs.js +6 -9
- package/es/DateTime/docs/DateWidget__default.docs.js +0 -5
- package/es/DateTime/index.js +0 -0
- package/es/DateTime/objectUtils.js +20 -14
- package/es/DateTime/typeChecker.js +0 -3
- package/es/DateTime/validator.js +6 -58
- package/es/DropBox/DropBox.js +6 -29
- package/es/DropBox/DropBox.module.css +406 -370
- package/es/DropBox/DropBoxPositionMapping.json +144 -144
- package/es/DropBox/docs/DropBox__custom.docs.js +25 -27
- package/es/DropBox/docs/DropBox__customOrder.docs.js +0 -7
- package/es/DropBox/docs/DropBox__fixedPosition.docs.js +0 -7
- package/es/DropBox/docs/DropBox__position.docs.js +35 -37
- package/es/DropBox/docs/DropBox__size.docs.js +28 -30
- package/es/DropDown/DropDown.js +1 -9
- package/es/DropDown/DropDown.module.css +5 -5
- package/es/DropDown/DropDownHeading.js +2 -4
- package/es/DropDown/DropDownHeading.module.css +53 -49
- package/es/DropDown/DropDownItem.js +0 -6
- package/es/DropDown/DropDownItem.module.css +94 -68
- package/es/DropDown/DropDownSearch.js +0 -4
- package/es/DropDown/DropDownSearch.module.css +14 -14
- package/es/DropDown/DropDownSeparator.js +0 -1
- package/es/DropDown/DropDownSeparator.module.css +7 -7
- package/es/DropDown/__tests__/DropDown.spec.js +2 -1
- package/es/DropDown/docs/DropDownHeading__custom.docs.js +0 -2
- package/es/DropDown/docs/DropDownHeading__default.docs.js +0 -2
- package/es/Heading/Heading.js +2 -13
- package/es/Heading/Heading.module.css +5 -5
- package/es/Heading/docs/Heading__default.docs.js +3 -6
- package/es/Heading/props/propTypes.js +1 -4
- package/es/Label/Label.js +2 -4
- package/es/Label/Label.module.css +52 -52
- package/es/Label/LabelColors.module.css +20 -20
- package/es/Label/__tests__/__snapshots__/Label.spec.js.snap +101 -101
- package/es/Label/docs/Label__clipped.docs.js +0 -2
- package/es/Label/docs/Label__custom.docs.js +0 -2
- package/es/Label/docs/Label__palette.docs.js +0 -2
- package/es/Label/docs/Label__size.docs.js +0 -2
- package/es/Label/docs/Label__type.docs.js +0 -2
- package/es/Layout/Box.js +0 -13
- package/es/Layout/Container.js +1 -12
- package/es/Layout/Layout.module.css +335 -335
- package/es/Layout/docs/Layout__Hidden.docs.js +0 -1
- package/es/Layout/docs/Layout__default.docs.js +0 -1
- package/es/Layout/docs/Layout__four_Column.docs.js +0 -1
- package/es/Layout/docs/Layout__three_Column.docs.js +0 -1
- package/es/Layout/docs/Layout__two_Column.docs.js +0 -1
- package/es/Layout/utils.js +0 -0
- package/es/LightNightMode/Colors.json +496 -496
- package/es/LightNightMode/docs/AlternativeColors.docs.js +0 -2
- package/es/ListItem/ListContainer.js +1 -9
- package/es/ListItem/ListItem.js +1 -10
- package/es/ListItem/ListItem.module.css +209 -177
- package/es/ListItem/ListItemWithAvatar.js +2 -10
- package/es/ListItem/ListItemWithCheckBox.js +1 -8
- package/es/ListItem/ListItemWithIcon.js +1 -9
- package/es/ListItem/ListItemWithRadio.js +1 -8
- package/es/ListItem/docs/ListItemWithAvatar__custom.docs.js +0 -2
- package/es/ListItem/docs/ListItemWithAvatar__default.docs.js +0 -2
- package/es/ListItem/docs/ListItemWithCheckBox__custom.docs.js +0 -2
- package/es/ListItem/docs/ListItemWithCheckBox__default.docs.js +0 -2
- package/es/ListItem/docs/ListItemWithIcon__custom.docs.js +0 -2
- package/es/ListItem/docs/ListItemWithIcon__default.docs.js +0 -2
- package/es/ListItem/docs/ListItemWithRadio__custom.docs.js +0 -2
- package/es/ListItem/docs/ListItemWithRadio__default.docs.js +0 -2
- package/es/ListItem/docs/ListItem__custom.docs.js +0 -2
- package/es/ListItem/docs/ListItem__default.docs.js +0 -2
- package/es/Modal/Modal.js +9 -29
- package/es/Modal/__docs__/Modal__default.docs.js +1 -5
- package/es/MultiSelect/AdvancedGroupMultiSelect.js +16 -95
- package/es/MultiSelect/AdvancedMultiSelect.js +11 -37
- package/es/MultiSelect/EmptyState.js +0 -2
- package/es/MultiSelect/MultiSelect.js +36 -105
- package/es/MultiSelect/MultiSelect.module.css +205 -188
- package/es/MultiSelect/MultiSelectHeader.js +0 -3
- package/es/MultiSelect/MultiSelectWithAvatar.js +5 -14
- package/es/MultiSelect/SelectedOptions.js +4 -7
- package/es/MultiSelect/SelectedOptions.module.css +15 -9
- package/es/MultiSelect/Suggestions.js +4 -8
- package/es/MultiSelect/__tests__/MultiSelect.spec.js +6 -4
- package/es/MultiSelect/docs/AdvancedGroupMultiSelect__default.docs.js +0 -7
- package/es/MultiSelect/docs/AdvancedMultiSelect__default.docs.js +1 -7
- package/es/MultiSelect/docs/MultiSelectWithAvatar__default.docs.js +1 -5
- package/es/MultiSelect/docs/MultiSelect__default.docs.js +1 -6
- package/es/MultiSelect/props/propTypes.js +0 -2
- package/es/PopOver/PopOver.js +0 -18
- package/es/PopOver/PopOver.module.css +8 -8
- package/es/PopOver/__tests__/PopOver.spec.js +1 -2
- package/es/PopOver/docs/PopOver__default.docs.js +0 -2
- package/es/Popup/Popup.js +25 -78
- package/es/Popup/PositionMapping.json +73 -73
- package/es/Popup/__tests__/Popup.spec.js +5 -17
- package/es/Popup/viewPort.js +4 -16
- package/es/Provider/IdProvider.js +2 -9
- package/es/Provider/LibraryContext.js +4 -6
- package/es/Provider/NumberGenerator/NumberGenerator.js +7 -21
- package/es/Provider/ZindexProvider.js +2 -9
- package/es/Provider/docs/Provider_Id__Class.docs.js +3 -4
- package/es/Provider/docs/Provider_Id__Function.docs.js +0 -1
- package/es/Provider/docs/Provider_Zindex__Class.docs.js +3 -4
- package/es/Provider/docs/Provider_Zindex__Function.docs.js +0 -1
- package/es/Provider.js +36 -11
- package/es/Radio/Radio.js +0 -4
- package/es/Radio/Radio.module.css +112 -106
- package/es/Radio/docs/Radio__custom.docs.js +12 -16
- package/es/Radio/docs/Radio__default.docs.js +12 -16
- package/es/Responsive/CustomResponsive.js +18 -28
- package/es/Responsive/RefWrapper.js +7 -6
- package/es/Responsive/ResizeComponent.js +25 -35
- package/es/Responsive/ResizeObserver.js +6 -26
- package/es/Responsive/Responsive.js +20 -35
- package/es/Responsive/docs/Responsive__Custom.docs.js +22 -14
- package/es/Responsive/docs/Responsive__default.docs.js +1 -3
- package/es/Responsive/docs/style.module.css +55 -46
- package/es/Responsive/sizeObservers.js +7 -28
- package/es/Responsive/utils/index.js +5 -7
- package/es/Responsive/utils/shallowCompare.js +2 -7
- package/es/Responsive/windowResizeObserver.js +0 -7
- package/es/ResponsiveDropBox/ResponsiveDropBox.js +1 -5
- package/es/ResponsiveDropBox/ResponsiveDropBox.module.css +6 -6
- package/es/Ribbon/Ribbon.js +0 -3
- package/es/Ribbon/Ribbon.module.css +376 -311
- package/es/Ribbon/__tests__/__snapshots__/Ribbon.spec.js.snap +163 -163
- package/es/Ribbon/docs/Ribbon__custom.docs.js +13 -14
- package/es/Ribbon/docs/Ribbon__default.docs.js +13 -14
- package/es/RippleEffect/RippleEffect.js +0 -1
- package/es/RippleEffect/RippleEffect.module.css +92 -110
- package/es/RippleEffect/docs/RippleEffect__default.docs.js +12 -14
- package/es/Select/GroupSelect.js +13 -60
- package/es/Select/Select.js +35 -85
- package/es/Select/Select.module.css +106 -96
- package/es/Select/SelectWithAvatar.js +3 -20
- package/es/Select/SelectWithIcon.js +2 -41
- package/es/Select/__tests__/Select.spec.js +8 -6
- package/es/Select/docs/GroupSelect__default.docs.js +1 -6
- package/es/Select/docs/SelectWithAvatar__default.docs.js +0 -4
- package/es/Select/docs/SelectWithIcon__default.docs.js +0 -4
- package/es/Select/docs/Select__default.docs.js +0 -5
- package/es/Select/props/propTypes.js +0 -1
- package/es/Stencils/Stencils.js +0 -3
- package/es/Stencils/Stencils.module.css +96 -78
- package/es/Stencils/__tests__/__snapshots__/Stencils.spec.js.snap +49 -49
- package/es/Stencils/docs/Stencils__custom.docs.js +0 -2
- package/es/Stencils/docs/Stencils__default.docs.js +0 -2
- package/es/Switch/Switch.js +1 -6
- package/es/Switch/Switch.module.css +110 -111
- package/es/Switch/docs/Switch__custom.docs.js +12 -14
- package/es/Switch/docs/Switch__default.docs.js +12 -14
- package/es/Tab/Tab.js +2 -5
- package/es/Tab/Tab.module.css +101 -92
- package/es/Tab/TabContent.js +0 -1
- package/es/Tab/TabContent.module.css +4 -4
- package/es/Tab/TabContentWrapper.js +0 -2
- package/es/Tab/TabWrapper.js +3 -6
- package/es/Tab/Tabs.js +25 -72
- package/es/Tab/Tabs.module.css +141 -107
- package/es/Tab/__tests__/Tab.spec.js +2 -1
- package/es/Tab/__tests__/TabWrapper.spec.js +0 -1
- package/es/Tab/docs/Tab__default.docs.js +0 -5
- package/es/Tab/docs/tabdocs.module.css +29 -29
- package/es/Tag/Tag.js +9 -14
- package/es/Tag/Tag.module.css +254 -232
- package/es/Tag/docs/Tag__custom.docs.js +11 -13
- package/es/Tag/docs/Tag__default.docs.js +11 -13
- package/es/TextBox/TextBox.js +1 -16
- package/es/TextBox/TextBox.module.css +157 -161
- package/es/TextBox/__tests__/TextBox.spec.js +4 -1
- package/es/TextBox/__tests__/__snapshots__/TextBox.spec.js.snap +127 -127
- package/es/TextBox/docs/TextBox__custom.docs.js +0 -2
- package/es/TextBox/docs/TextBox__default.docs.js +0 -2
- package/es/TextBox/docs/TextBox__size.docs.js +0 -2
- package/es/TextBox/docs/TextBox__variant.docs.js +0 -2
- package/es/TextBoxIcon/TextBoxIcon.js +1 -8
- package/es/TextBoxIcon/TextBoxIcon.module.css +78 -71
- package/es/TextBoxIcon/__tests__/TextBoxIcon.spec.js +7 -2
- package/es/TextBoxIcon/__tests__/__snapshots__/TextBoxIcon.spec.js.snap +334 -334
- package/es/TextBoxIcon/docs/TextBoxIcon__custom.docs.js +0 -2
- package/es/TextBoxIcon/docs/TextBoxIcon__default.docs.js +0 -2
- package/es/Textarea/Textarea.js +1 -13
- package/es/Textarea/Textarea.module.css +139 -140
- package/es/Textarea/__tests__/Textarea.spec.js +2 -2
- package/es/Textarea/__tests__/__snapshots__/Textarea.spec.js.snap +97 -97
- package/es/Textarea/docs/Textarea__animated.docs.js +0 -2
- package/es/Textarea/docs/Textarea__custom.docs.js +0 -2
- package/es/Textarea/docs/Textarea__default.docs.js +0 -2
- package/es/Textarea/docs/Textarea__disabled.docs.js +0 -2
- package/es/Tooltip/Tooltip.js +11 -58
- package/es/Tooltip/Tooltip.module.css +109 -108
- package/es/Tooltip/__tests__/Tooltip.spec.js +0 -5
- package/es/Tooltip/docs/Tooltip__default.docs.js +63 -67
- package/es/VelocityAnimation/VelocityAnimation/VelocityAnimation.js +0 -3
- package/es/VelocityAnimation/VelocityAnimation/docs/VelocityAnimation__demo.docs.js +0 -5
- package/es/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +3 -8
- package/es/VelocityAnimation/VelocityAnimationGroup/docs/VelocityAnimationGroup__demo.docs.js +17 -28
- package/es/common/animation.module.css +624 -426
- package/es/common/avatarsizes.module.css +44 -44
- package/es/common/basic.module.css +33 -33
- package/es/common/basicReset.module.css +40 -50
- package/es/common/common.module.css +524 -478
- package/es/common/customscroll.module.css +89 -93
- package/es/common/docStyle.module.css +887 -719
- package/es/common/reset.module.css +12 -12
- package/es/common/transition.module.css +146 -106
- package/es/deprecated/AdvancedMultiSelect.module.css +126 -112
- package/es/deprecated/PortalLayer/PortalLayer.js +17 -25
- package/es/deprecated/PortalLayer/docs/PortalLayer__default.docs.js +0 -7
- package/es/index.js +2 -1
- package/es/semantic/Button/Button.js +0 -3
- package/es/semantic/Button/docs/Button__default.docs.js +0 -3
- package/es/semantic/Button/semanticButton.module.css +9 -9
- package/es/utils/Common.js +5 -47
- package/es/utils/ContextOptimizer.js +5 -4
- package/es/utils/__tests__/debounce.spec.js +2 -2
- package/es/utils/constructFullName.js +0 -2
- package/es/utils/datetime/common.js +5 -16
- package/es/utils/debounce.js +1 -5
- package/es/utils/dropDownUtils.js +11 -67
- package/es/utils/getInitial.js +0 -4
- package/es/utils/shallowEqual.js +0 -6
- package/lib/Accordion/Accordion.js +102 -0
- package/lib/Accordion/AccordionItem.js +84 -0
- package/lib/Accordion/__tests__/Accordion.spec.js +82 -0
- package/lib/Accordion/docs/Accordion__Demo.docs.js +104 -0
- package/lib/Accordion/index.js +20 -0
- package/lib/Accordion/props/defaultProps.js +16 -0
- package/lib/Accordion/props/propTypes.js +39 -0
- package/lib/Animation/Animation.js +161 -0
- package/lib/Animation/__tests__/Animation.spec.js +19 -0
- package/lib/Animation/docs/Animation__default.docs.js +61 -0
- package/lib/Animation/docs/Animation__fadeIn.docs.js +61 -0
- package/lib/Animation/docs/Animation__scaleIn.docs.js +61 -0
- package/lib/Animation/docs/Animation__skewIn.docs.js +61 -0
- package/lib/Animation/docs/Animation__slideDown.docs.js +61 -0
- package/lib/Animation/docs/Animation__slideLeft.docs.js +61 -0
- package/lib/Animation/docs/Animation__zoomIn.docs.js +61 -0
- package/lib/Animation/props/defaultProps.js +14 -0
- package/lib/Animation/props/propTypes.js +20 -0
- package/lib/AppContainer/AppContainer.js +156 -0
- package/lib/AppContainer/AppContainer.module.css +18 -0
- package/lib/AppContainer/docs/AppContainer__default.docs.js +47 -0
- package/lib/AppContainer/props/defaultProps.js +15 -0
- package/lib/AppContainer/props/propTypes.js +23 -0
- package/lib/Avatar/Avatar.js +199 -0
- package/lib/Avatar/Avatar.module.css +135 -0
- package/lib/Avatar/__tests__/Avatar.spec.js +164 -0
- package/lib/Avatar/__tests__/__snapshots__/Avatar.spec.js.snap +288 -0
- package/lib/Avatar/docs/Avatar__custom.docs.js +62 -0
- package/lib/Avatar/docs/Avatar__default.docs.js +60 -0
- package/lib/Avatar/docs/Avatar__palette.docs.js +82 -0
- package/lib/Avatar/docs/Avatar__text.docs.js +61 -0
- package/lib/Avatar/props/defaultProps.js +21 -0
- package/lib/Avatar/props/propTypes.js +31 -0
- package/lib/AvatarTeam/AvatarTeam.js +99 -0
- package/lib/AvatarTeam/AvatarTeam.module.css +161 -0
- package/lib/AvatarTeam/__tests__/AvatarTeam.spec.js +79 -0
- package/lib/AvatarTeam/__tests__/__snapshots__/AvatarTeam.spec.js.snap +226 -0
- package/lib/AvatarTeam/docs/AvatarTeam__custom.docs.js +100 -0
- package/lib/AvatarTeam/docs/AvatarTeam__default.docs.js +58 -0
- package/lib/AvatarTeam/docs/AvatarTeam__palette.docs.js +77 -0
- package/lib/AvatarTeam/docs/AvatarTeam__size.docs.js +76 -0
- package/lib/AvatarTeam/props/defaultProps.js +20 -0
- package/lib/AvatarTeam/props/propTypes.js +31 -0
- package/lib/Button/Button.js +90 -0
- package/lib/Button/Button.module.css +522 -0
- package/lib/Button/__tests__/Button.spec.js +193 -0
- package/lib/Button/__tests__/__snapshots__/Button.spec.js.snap +191 -0
- package/lib/Button/docs/Button__custom.docs.js +800 -0
- package/lib/Button/docs/Button__default.docs.js +565 -0
- package/lib/Button/props/defaultProps.js +22 -0
- package/lib/Button/props/propTypes.js +30 -0
- package/lib/Buttongroup/Buttongroup.js +69 -0
- package/lib/Buttongroup/Buttongroup.module.css +89 -0
- package/lib/Buttongroup/__test__/Buttongroup.spec.js +76 -0
- package/lib/Buttongroup/__test__/__snapshots__/Buttongroup.spec.js.snap +146 -0
- package/lib/Buttongroup/docs/Buttongroup__custom.docs.js +64 -0
- package/lib/Buttongroup/docs/Buttongroup__footer.docs.js +60 -0
- package/lib/Buttongroup/docs/Buttongroup__header.docs.js +71 -0
- package/lib/Buttongroup/props/defaultProps.js +11 -0
- package/lib/Buttongroup/props/propTypes.js +15 -0
- package/lib/Card/Card.js +301 -0
- package/lib/Card/Card.module.css +20 -0
- package/lib/Card/__tests__/Card.spec.js +47 -0
- package/lib/Card/docs/Card__Custom.docs.js +63 -0
- package/lib/Card/docs/Card__Default.docs.js +66 -0
- package/lib/Card/docs/Card__Scroll.docs.js +87 -0
- package/lib/Card/index.js +33 -0
- package/lib/Card/props/defaultProps.js +23 -0
- package/lib/Card/props/propTypes.js +54 -0
- package/lib/CheckBox/CheckBox.js +183 -0
- package/lib/CheckBox/CheckBox.module.css +157 -0
- package/lib/CheckBox/__tests__/CheckBox.spec.js +15 -0
- package/lib/CheckBox/docs/CheckBox__custom.docs.js +323 -0
- package/lib/CheckBox/docs/CheckBox__default.docs.js +249 -0
- package/lib/CheckBox/props/defaultProps.js +25 -0
- package/lib/CheckBox/props/propTypes.js +49 -0
- package/lib/DateTime/CalendarView.js +216 -0
- package/lib/DateTime/DateTime.js +766 -0
- package/lib/DateTime/DateTime.module.css +188 -0
- package/lib/DateTime/DateTimePopupFooter.js +65 -0
- package/lib/DateTime/DateTimePopupHeader.js +117 -0
- package/lib/DateTime/DateWidget.js +1015 -0
- package/lib/DateTime/DateWidget.module.css +38 -0
- package/lib/DateTime/DaysRow.js +52 -0
- package/lib/DateTime/Time.js +205 -0
- package/lib/DateTime/YearView.js +267 -0
- package/lib/DateTime/YearView.module.css +81 -0
- package/lib/DateTime/__tests__/CalendarView.spec.js +37 -0
- package/lib/DateTime/__tests__/DateTime.spec.js +113 -0
- package/lib/DateTime/__tests__/DateWidget.spec.js +79 -0
- package/lib/DateTime/common.js +30 -0
- package/lib/DateTime/constants.js +76 -0
- package/lib/DateTime/dateFormatUtils/dateFormat.js +551 -0
- package/lib/DateTime/dateFormatUtils/dayChange.js +74 -0
- package/lib/DateTime/dateFormatUtils/index.js +225 -0
- package/lib/DateTime/dateFormatUtils/monthChange.js +84 -0
- package/lib/DateTime/dateFormatUtils/timeChange.js +208 -0
- package/lib/DateTime/dateFormatUtils/yearChange.js +108 -0
- package/lib/DateTime/docs/DateTime__default.docs.js +119 -0
- package/lib/DateTime/docs/DateWidget__default.docs.js +212 -0
- package/lib/DateTime/docs/timezonedata.json +1 -0
- package/lib/DateTime/index.js +13 -0
- package/lib/DateTime/objectUtils.js +72 -0
- package/lib/DateTime/props/defaultProps.js +61 -0
- package/lib/DateTime/props/propTypes.js +142 -0
- package/lib/DateTime/typeChecker.js +22 -0
- package/lib/DateTime/validator.js +290 -0
- package/lib/DropBox/DropBox.js +266 -0
- package/lib/DropBox/DropBox.module.css +406 -0
- package/lib/DropBox/DropBoxPositionMapping.json +145 -0
- package/lib/DropBox/__tests__/DropBox.spec.js +83 -0
- package/lib/DropBox/docs/DropBox__custom.docs.js +97 -0
- package/lib/DropBox/docs/DropBox__customOrder.docs.js +114 -0
- package/lib/DropBox/docs/DropBox__fixedPosition.docs.js +113 -0
- package/lib/DropBox/docs/DropBox__position.docs.js +118 -0
- package/lib/DropBox/docs/DropBox__size.docs.js +92 -0
- package/lib/DropBox/props/defaultProps.js +27 -0
- package/lib/DropBox/props/propTypes.js +55 -0
- package/lib/DropDown/DropDown.js +127 -0
- package/lib/DropDown/DropDown.module.css +5 -0
- package/lib/DropDown/DropDownHeading.js +64 -0
- package/lib/DropDown/DropDownHeading.module.css +53 -0
- package/lib/DropDown/DropDownItem.js +102 -0
- package/lib/DropDown/DropDownItem.module.css +94 -0
- package/lib/DropDown/DropDownSearch.js +88 -0
- package/lib/DropDown/DropDownSearch.module.css +14 -0
- package/lib/DropDown/DropDownSeparator.js +42 -0
- package/lib/DropDown/DropDownSeparator.module.css +7 -0
- package/lib/DropDown/__tests__/DropDown.spec.js +44 -0
- package/lib/DropDown/__tests__/DropDownItem.spec.js +46 -0
- package/lib/DropDown/__tests__/DropDownSearch.spec.js +14 -0
- package/lib/DropDown/docs/DropDownHeading__custom.docs.js +50 -0
- package/lib/DropDown/docs/DropDownHeading__default.docs.js +48 -0
- package/lib/DropDown/props/defaultProps.js +28 -0
- package/lib/DropDown/props/propTypes.js +89 -0
- package/lib/Heading/Heading.js +64 -0
- package/lib/Heading/Heading.module.css +5 -0
- package/lib/Heading/docs/Heading__default.docs.js +50 -0
- package/lib/Heading/props/defaultProps.js +12 -0
- package/lib/Heading/props/propTypes.js +19 -0
- package/lib/Label/Label.js +65 -0
- package/lib/Label/Label.module.css +52 -0
- package/lib/Label/LabelColors.module.css +21 -0
- package/lib/Label/__tests__/Label.spec.js +124 -0
- package/lib/Label/__tests__/__snapshots__/Label.spec.js.snap +101 -0
- package/lib/Label/docs/Label__clipped.docs.js +56 -0
- package/lib/Label/docs/Label__custom.docs.js +59 -0
- package/lib/Label/docs/Label__palette.docs.js +71 -0
- package/lib/Label/docs/Label__size.docs.js +58 -0
- package/lib/Label/docs/Label__type.docs.js +66 -0
- package/lib/Label/props/defaultProps.js +17 -0
- package/lib/Label/props/propTypes.js +22 -0
- package/lib/Layout/Box.js +104 -0
- package/lib/Layout/Container.js +122 -0
- package/lib/Layout/Layout.module.css +336 -0
- package/lib/Layout/__tests__/Box.spec.js +105 -0
- package/lib/Layout/__tests__/Container.spec.js +110 -0
- package/lib/Layout/docs/Layout__Hidden.docs.js +105 -0
- package/lib/Layout/docs/Layout__default.docs.js +77 -0
- package/lib/Layout/docs/Layout__four_Column.docs.js +107 -0
- package/lib/Layout/docs/Layout__three_Column.docs.js +104 -0
- package/lib/Layout/docs/Layout__two_Column.docs.js +97 -0
- package/lib/Layout/index.js +30 -0
- package/lib/Layout/props/defaultProps.js +20 -0
- package/lib/Layout/props/propTypes.js +51 -0
- package/lib/Layout/utils.js +45 -0
- package/lib/LightNightMode/Colors.json +497 -0
- package/lib/LightNightMode/docs/AlternativeColors.docs.js +128 -0
- package/lib/ListItem/ListContainer.js +93 -0
- package/lib/ListItem/ListItem.js +153 -0
- package/lib/ListItem/ListItem.module.css +209 -0
- package/lib/ListItem/ListItemWithAvatar.js +175 -0
- package/lib/ListItem/ListItemWithCheckBox.js +141 -0
- package/lib/ListItem/ListItemWithIcon.js +158 -0
- package/lib/ListItem/ListItemWithRadio.js +143 -0
- package/lib/ListItem/docs/ListItemWithAvatar__custom.docs.js +182 -0
- package/lib/ListItem/docs/ListItemWithAvatar__default.docs.js +139 -0
- package/lib/ListItem/docs/ListItemWithCheckBox__custom.docs.js +118 -0
- package/lib/ListItem/docs/ListItemWithCheckBox__default.docs.js +92 -0
- package/lib/ListItem/docs/ListItemWithIcon__custom.docs.js +95 -0
- package/lib/ListItem/docs/ListItemWithIcon__default.docs.js +89 -0
- package/lib/ListItem/docs/ListItemWithRadio__custom.docs.js +118 -0
- package/lib/ListItem/docs/ListItemWithRadio__default.docs.js +92 -0
- package/lib/ListItem/docs/ListItem__custom.docs.js +141 -0
- package/lib/ListItem/docs/ListItem__default.docs.js +109 -0
- package/lib/ListItem/props/defaultProps.js +97 -0
- package/lib/ListItem/props/propTypes.js +176 -0
- package/lib/Modal/Modal.js +174 -0
- package/lib/Modal/__docs__/Modal__default.docs.js +65 -0
- package/lib/Modal/props/defaultProps.js +10 -0
- package/lib/Modal/props/propTypes.js +14 -0
- package/lib/MultiSelect/AdvancedGroupMultiSelect.js +1032 -0
- package/lib/MultiSelect/AdvancedMultiSelect.js +544 -0
- package/lib/MultiSelect/EmptyState.js +85 -0
- package/lib/MultiSelect/MultiSelect.js +1035 -0
- package/lib/MultiSelect/MultiSelect.module.css +206 -0
- package/lib/MultiSelect/MultiSelectHeader.js +55 -0
- package/lib/MultiSelect/MultiSelectWithAvatar.js +296 -0
- package/lib/MultiSelect/SelectedOptions.js +97 -0
- package/lib/MultiSelect/SelectedOptions.module.css +15 -0
- package/lib/MultiSelect/Suggestions.js +158 -0
- package/lib/MultiSelect/__tests__/MultiSelect.spec.js +159 -0
- package/lib/MultiSelect/docs/AdvancedGroupMultiSelect__default.docs.js +154 -0
- package/lib/MultiSelect/docs/AdvancedMultiSelect__default.docs.js +140 -0
- package/lib/MultiSelect/docs/MultiSelectWithAvatar__default.docs.js +165 -0
- package/lib/MultiSelect/docs/MultiSelect__default.docs.js +186 -0
- package/lib/MultiSelect/props/defaultProps.js +154 -0
- package/lib/MultiSelect/props/propTypes.js +373 -0
- package/lib/PopOver/PopOver.js +252 -0
- package/lib/PopOver/PopOver.module.css +8 -0
- package/lib/PopOver/__tests__/PopOver.spec.js +17 -0
- package/lib/PopOver/docs/PopOver__default.docs.js +61 -0
- package/lib/PopOver/props/defaultProps.js +15 -0
- package/lib/PopOver/props/propTypes.js +63 -0
- package/lib/Popup/Popup.js +640 -0
- package/lib/Popup/PositionMapping.json +74 -0
- package/lib/Popup/__tests__/Popup.spec.js +155 -0
- package/lib/Popup/viewPort.js +354 -0
- package/lib/Provider/AvatarSize.js +19 -0
- package/lib/Provider/Config.js +25 -0
- package/lib/Provider/CssProvider.js +23 -0
- package/lib/Provider/IdProvider.js +68 -0
- package/lib/Provider/LibraryContext.js +54 -0
- package/lib/Provider/LibraryContextInit.js +11 -0
- package/lib/Provider/NumberGenerator/NumberGenerator.js +145 -0
- package/lib/Provider/ZindexProvider.js +57 -0
- package/lib/Provider/docs/Provider_Id__Class.docs.js +56 -0
- package/lib/Provider/docs/Provider_Id__Function.docs.js +24 -0
- package/lib/Provider/docs/Provider_Zindex__Class.docs.js +59 -0
- package/lib/Provider/docs/Provider_Zindex__Function.docs.js +29 -0
- package/lib/Provider.js +149 -0
- package/lib/Radio/Radio.js +146 -0
- package/lib/Radio/Radio.module.css +112 -0
- package/lib/Radio/__tests__/Radiospec.js +25 -0
- package/lib/Radio/docs/Radio__custom.docs.js +273 -0
- package/lib/Radio/docs/Radio__default.docs.js +197 -0
- package/lib/Radio/props/defaultProps.js +21 -0
- package/lib/Radio/props/propTypes.js +40 -0
- package/lib/Responsive/CustomResponsive.js +192 -0
- package/lib/Responsive/RefWrapper.js +47 -0
- package/lib/Responsive/ResizeComponent.js +237 -0
- package/lib/Responsive/ResizeObserver.js +151 -0
- package/lib/Responsive/Responsive.js +222 -0
- package/lib/Responsive/docs/Responsive__Custom.docs.js +247 -0
- package/lib/Responsive/docs/Responsive__default.docs.js +118 -0
- package/lib/Responsive/docs/style.module.css +56 -0
- package/lib/Responsive/index.js +28 -0
- package/lib/Responsive/props/defaultProps.js +23 -0
- package/lib/Responsive/props/propTypes.js +36 -0
- package/lib/Responsive/sizeObservers.js +176 -0
- package/lib/Responsive/utils/index.js +62 -0
- package/lib/Responsive/utils/shallowCompare.js +29 -0
- package/lib/Responsive/windowResizeObserver.js +55 -0
- package/lib/ResponsiveDropBox/ResponsiveDropBox.js +94 -0
- package/lib/ResponsiveDropBox/ResponsiveDropBox.module.css +6 -0
- package/lib/ResponsiveDropBox/props/defaultProps.js +11 -0
- package/lib/ResponsiveDropBox/props/propTypes.js +15 -0
- package/lib/Ribbon/Ribbon.js +71 -0
- package/lib/Ribbon/Ribbon.module.css +377 -0
- package/lib/Ribbon/__tests__/Ribbon.spec.js +171 -0
- package/lib/Ribbon/__tests__/__snapshots__/Ribbon.spec.js.snap +163 -0
- package/lib/Ribbon/docs/Ribbon__custom.docs.js +414 -0
- package/lib/Ribbon/docs/Ribbon__default.docs.js +370 -0
- package/lib/Ribbon/props/defaultProps.js +15 -0
- package/lib/Ribbon/props/propTypes.js +18 -0
- package/lib/RippleEffect/RippleEffect.js +35 -0
- package/lib/RippleEffect/RippleEffect.module.css +92 -0
- package/lib/RippleEffect/docs/RippleEffect__default.docs.js +462 -0
- package/lib/RippleEffect/props/defaultProps.js +16 -0
- package/lib/RippleEffect/props/propTypes.js +19 -0
- package/lib/Select/GroupSelect.js +763 -0
- package/lib/Select/Select.js +909 -0
- package/lib/Select/Select.module.css +106 -0
- package/lib/Select/SelectWithAvatar.js +332 -0
- package/lib/Select/SelectWithIcon.js +466 -0
- package/lib/Select/__tests__/Select.spec.js +341 -0
- package/lib/Select/docs/GroupSelect__default.docs.js +173 -0
- package/lib/Select/docs/SelectWithAvatar__default.docs.js +124 -0
- package/lib/Select/docs/SelectWithIcon__default.docs.js +165 -0
- package/lib/Select/docs/Select__default.docs.js +313 -0
- package/lib/Select/props/defaultProps.js +109 -0
- package/lib/Select/props/propTypes.js +276 -0
- package/lib/Stencils/Stencils.js +57 -0
- package/lib/Stencils/Stencils.module.css +96 -0
- package/lib/Stencils/__tests__/Stencils.spec.js +72 -0
- package/lib/Stencils/__tests__/__snapshots__/Stencils.spec.js.snap +49 -0
- package/lib/Stencils/docs/Stencils__custom.docs.js +72 -0
- package/lib/Stencils/docs/Stencils__default.docs.js +77 -0
- package/lib/Stencils/props/defaultProps.js +13 -0
- package/lib/Stencils/props/propTypes.js +15 -0
- package/lib/Switch/Switch.js +123 -0
- package/lib/Switch/Switch.module.css +111 -0
- package/lib/Switch/docs/Switch__custom.docs.js +180 -0
- package/lib/Switch/docs/Switch__default.docs.js +134 -0
- package/lib/Switch/props/defaultProps.js +17 -0
- package/lib/Switch/props/propTypes.js +35 -0
- package/lib/Tab/Tab.js +116 -0
- package/lib/Tab/Tab.module.css +101 -0
- package/lib/Tab/TabContent.js +33 -0
- package/lib/Tab/TabContent.module.css +4 -0
- package/lib/Tab/TabContentWrapper.js +33 -0
- package/lib/Tab/TabWrapper.js +69 -0
- package/lib/Tab/Tabs.js +581 -0
- package/lib/Tab/Tabs.module.css +141 -0
- package/lib/Tab/__tests__/Tab.spec.js +119 -0
- package/lib/Tab/__tests__/TabContent.spec.js +18 -0
- package/lib/Tab/__tests__/TabContentWrapper.spec.js +51 -0
- package/lib/Tab/__tests__/TabWrapper.spec.js +88 -0
- package/lib/Tab/__tests__/Tabs.spec.js +109 -0
- package/lib/Tab/docs/Tab__default.docs.js +283 -0
- package/lib/Tab/docs/tabdocs.module.css +29 -0
- package/lib/Tab/index.js +41 -0
- package/lib/Tab/props/defaultProps.js +50 -0
- package/lib/Tab/props/propTypes.js +114 -0
- package/lib/Tag/Tag.js +177 -0
- package/lib/Tag/Tag.module.css +255 -0
- package/lib/Tag/__tests__/Tag.spec.js +29 -0
- package/lib/Tag/docs/Tag__custom.docs.js +397 -0
- package/lib/Tag/docs/Tag__default.docs.js +352 -0
- package/lib/Tag/props/defaultProps.js +20 -0
- package/lib/Tag/props/propTypes.js +42 -0
- package/lib/TextBox/TextBox.js +193 -0
- package/lib/TextBox/TextBox.module.css +157 -0
- package/lib/TextBox/__tests__/TextBox.spec.js +195 -0
- package/lib/TextBox/__tests__/__snapshots__/TextBox.spec.js.snap +127 -0
- package/lib/TextBox/docs/TextBox__custom.docs.js +72 -0
- package/lib/TextBox/docs/TextBox__default.docs.js +69 -0
- package/lib/TextBox/docs/TextBox__size.docs.js +67 -0
- package/lib/TextBox/docs/TextBox__variant.docs.js +67 -0
- package/lib/TextBox/props/defaultProps.js +26 -0
- package/lib/TextBox/props/propTypes.js +57 -0
- package/lib/TextBoxIcon/TextBoxIcon.js +187 -0
- package/lib/TextBoxIcon/TextBoxIcon.module.css +78 -0
- package/lib/TextBoxIcon/__tests__/TextBoxIcon.spec.js +219 -0
- package/lib/TextBoxIcon/__tests__/__snapshots__/TextBoxIcon.spec.js.snap +334 -0
- package/lib/TextBoxIcon/docs/TextBoxIcon__custom.docs.js +118 -0
- package/lib/TextBoxIcon/docs/TextBoxIcon__default.docs.js +90 -0
- package/lib/TextBoxIcon/props/defaultProps.js +28 -0
- package/lib/TextBoxIcon/props/propTypes.js +57 -0
- package/lib/Textarea/Textarea.js +130 -0
- package/lib/Textarea/Textarea.module.css +139 -0
- package/lib/Textarea/__tests__/Textarea.spec.js +174 -0
- package/lib/Textarea/__tests__/__snapshots__/Textarea.spec.js.snap +97 -0
- package/lib/Textarea/docs/Textarea__animated.docs.js +70 -0
- package/lib/Textarea/docs/Textarea__custom.docs.js +111 -0
- package/lib/Textarea/docs/Textarea__default.docs.js +105 -0
- package/lib/Textarea/docs/Textarea__disabled.docs.js +58 -0
- package/lib/Textarea/props/defaultProps.js +23 -0
- package/lib/Textarea/props/propTypes.js +39 -0
- package/lib/Tooltip/Tooltip.js +516 -0
- package/lib/Tooltip/Tooltip.module.css +109 -0
- package/lib/Tooltip/__tests__/Tooltip.spec.js +75 -0
- package/lib/Tooltip/docs/Tooltip__default.docs.js +402 -0
- package/lib/Tooltip/props/defaultProps.js +11 -0
- package/lib/Tooltip/props/propTypes.js +16 -0
- package/lib/VelocityAnimation/VelocityAnimation/VelocityAnimation.js +100 -0
- package/lib/VelocityAnimation/VelocityAnimation/docs/VelocityAnimation__demo.docs.js +123 -0
- package/lib/VelocityAnimation/VelocityAnimation/props/defaultProps.js +14 -0
- package/lib/VelocityAnimation/VelocityAnimation/props/propTypes.js +20 -0
- package/lib/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +131 -0
- package/lib/VelocityAnimation/VelocityAnimationGroup/docs/VelocityAnimationGroup__demo.docs.js +174 -0
- package/lib/VelocityAnimation/VelocityAnimationGroup/props/defaultProps.js +22 -0
- package/lib/VelocityAnimation/VelocityAnimationGroup/props/propTypes.js +27 -0
- package/lib/common/animation.module.css +624 -0
- package/lib/common/avatarsizes.module.css +45 -0
- package/lib/common/basic.module.css +33 -0
- package/lib/common/basicReset.module.css +40 -0
- package/lib/common/common.module.css +525 -0
- package/lib/common/customscroll.module.css +89 -0
- package/lib/common/docStyle.module.css +887 -0
- package/lib/common/reset.module.css +12 -0
- package/lib/common/transition.module.css +146 -0
- package/lib/css.js +42 -0
- package/lib/deprecated/AdvancedMultiSelect.module.css +127 -0
- package/lib/deprecated/PortalLayer/PortalLayer.js +126 -0
- package/lib/deprecated/PortalLayer/docs/PortalLayer__default.docs.js +111 -0
- package/lib/deprecated/PortalLayer/props/defaultProps.js +12 -0
- package/lib/deprecated/PortalLayer/props/propTypes.js +19 -0
- package/lib/deprecated/advancedMultiSelectVariableJson.js +82 -0
- package/lib/index.js +1245 -0
- package/lib/semantic/Button/Button.js +81 -0
- package/lib/semantic/Button/docs/Button__default.docs.js +43 -0
- package/lib/semantic/Button/props/defaultProps.js +19 -0
- package/lib/semantic/Button/props/propTypes.js +34 -0
- package/lib/semantic/Button/semanticButton.module.css +9 -0
- package/lib/utils/Common.js +373 -0
- package/lib/utils/ContextOptimizer.js +43 -0
- package/lib/utils/__tests__/constructFullName.spec.js +11 -0
- package/lib/utils/__tests__/debounce.spec.js +39 -0
- package/lib/utils/__tests__/getInitial.spec.js +25 -0
- package/lib/utils/constant.js +10 -0
- package/lib/utils/constructFullName.js +25 -0
- package/lib/utils/datetime/common.js +206 -0
- package/lib/utils/debounce.js +25 -0
- package/lib/utils/dropDownUtils.js +491 -0
- package/lib/utils/dummyFunction.js +8 -0
- package/lib/utils/getHTMLFontSize.js +10 -0
- package/lib/utils/getInitial.js +27 -0
- package/lib/utils/scrollTo.js +20 -0
- package/lib/utils/shallowEqual.js +33 -0
- package/package.json +76 -76
- package/es/FramerAnimation/FramerAnimation.js +0 -206
- package/es/FramerAnimation/docs/FramerAnimation__default.docs.js +0 -123
|
@@ -3,7 +3,6 @@ import React from 'react';
|
|
|
3
3
|
import { SelectWithAvatar_defaultProps } from './props/defaultProps';
|
|
4
4
|
import { SelectWithAvatar_propTypes } from './props/propTypes';
|
|
5
5
|
/**** Components ****/
|
|
6
|
-
|
|
7
6
|
import { SelectComponent } from './Select';
|
|
8
7
|
import Popup from '../Popup/Popup';
|
|
9
8
|
import Tag from '../Tag/Tag';
|
|
@@ -17,11 +16,10 @@ import DropDownHeading from '../DropDown/DropDownHeading';
|
|
|
17
16
|
import { getUniqueId } from '../Provider/IdProvider';
|
|
18
17
|
import ResponsiveDropBox from '../ResponsiveDropBox/ResponsiveDropBox';
|
|
19
18
|
import { ResponsiveReceiver } from '../Responsive/CustomResponsive';
|
|
20
|
-
/**** CSS ****/
|
|
21
19
|
|
|
20
|
+
/**** CSS ****/
|
|
22
21
|
import style from '../MultiSelect/MultiSelect.module.css';
|
|
23
22
|
import selectStyle from './Select.module.css';
|
|
24
|
-
|
|
25
23
|
class SelectWithAvatarComponent extends SelectComponent {
|
|
26
24
|
constructor(props) {
|
|
27
25
|
super(props);
|
|
@@ -33,7 +31,6 @@ class SelectWithAvatarComponent extends SelectComponent {
|
|
|
33
31
|
this.handleRemoveOption = this.handleRemoveOption.bind(this);
|
|
34
32
|
this.getNextAriaId = getUniqueId(this);
|
|
35
33
|
}
|
|
36
|
-
|
|
37
34
|
handleFormatOptions(props) {
|
|
38
35
|
let {
|
|
39
36
|
options,
|
|
@@ -49,18 +46,15 @@ class SelectWithAvatarComponent extends SelectComponent {
|
|
|
49
46
|
optionType: 'avatar'
|
|
50
47
|
});
|
|
51
48
|
}
|
|
52
|
-
|
|
53
49
|
handleActive(e) {
|
|
54
50
|
let {
|
|
55
51
|
isActive
|
|
56
52
|
} = this.state;
|
|
57
|
-
|
|
58
53
|
if (!isActive) {
|
|
59
54
|
this.setState({
|
|
60
55
|
isActive: true
|
|
61
56
|
});
|
|
62
57
|
}
|
|
63
|
-
|
|
64
58
|
let {
|
|
65
59
|
target
|
|
66
60
|
} = e || {};
|
|
@@ -70,19 +64,16 @@ class SelectWithAvatarComponent extends SelectComponent {
|
|
|
70
64
|
} = this.props;
|
|
71
65
|
onFocus && onFocus(this.state.searchStr);
|
|
72
66
|
}
|
|
73
|
-
|
|
74
67
|
handleInactive() {
|
|
75
68
|
let {
|
|
76
69
|
isActive
|
|
77
70
|
} = this.state;
|
|
78
|
-
|
|
79
71
|
if (isActive) {
|
|
80
72
|
this.setState({
|
|
81
73
|
isActive: false
|
|
82
74
|
});
|
|
83
75
|
}
|
|
84
76
|
}
|
|
85
|
-
|
|
86
77
|
handleSearchChange(e) {
|
|
87
78
|
let {
|
|
88
79
|
isPopupOpen
|
|
@@ -90,7 +81,6 @@ class SelectWithAvatarComponent extends SelectComponent {
|
|
|
90
81
|
!isPopupOpen && this.togglePopup(e);
|
|
91
82
|
this.handleSearch(e);
|
|
92
83
|
}
|
|
93
|
-
|
|
94
84
|
handleRemoveOption(e) {
|
|
95
85
|
let {
|
|
96
86
|
keyCode
|
|
@@ -101,14 +91,12 @@ class SelectWithAvatarComponent extends SelectComponent {
|
|
|
101
91
|
let {
|
|
102
92
|
isDefaultSelectValue
|
|
103
93
|
} = this.props;
|
|
104
|
-
|
|
105
94
|
if (keyCode === 8 && searchStr.length === 0 && !isDefaultSelectValue) {
|
|
106
95
|
this.handleChange('');
|
|
107
96
|
} else {
|
|
108
97
|
this.handleKeyDown(e);
|
|
109
98
|
}
|
|
110
99
|
}
|
|
111
|
-
|
|
112
100
|
responsiveFunc(_ref) {
|
|
113
101
|
let {
|
|
114
102
|
mediaQueryOR
|
|
@@ -119,7 +107,6 @@ class SelectWithAvatarComponent extends SelectComponent {
|
|
|
119
107
|
}])
|
|
120
108
|
};
|
|
121
109
|
}
|
|
122
|
-
|
|
123
110
|
render() {
|
|
124
111
|
let {
|
|
125
112
|
dropBoxSize,
|
|
@@ -312,22 +299,18 @@ class SelectWithAvatarComponent extends SelectComponent {
|
|
|
312
299
|
})))));
|
|
313
300
|
}) : null);
|
|
314
301
|
}
|
|
315
|
-
|
|
316
302
|
}
|
|
317
|
-
|
|
318
303
|
SelectWithAvatarComponent.propTypes = SelectWithAvatar_propTypes;
|
|
319
304
|
SelectWithAvatarComponent.defaultProps = SelectWithAvatar_defaultProps;
|
|
320
305
|
SelectWithAvatarComponent.displayName = 'SelectWithAvatar';
|
|
321
306
|
let SelectWithAvatar = Popup(SelectWithAvatarComponent);
|
|
322
307
|
SelectWithAvatar.defaultProps = SelectWithAvatarComponent.defaultProps;
|
|
323
|
-
|
|
324
308
|
if (false) {
|
|
325
309
|
SelectWithAvatar.docs = {
|
|
326
310
|
componentGroup: 'Form Elements',
|
|
327
311
|
folderName: 'Style Guide'
|
|
328
|
-
};
|
|
329
|
-
|
|
312
|
+
};
|
|
313
|
+
// eslint-disable-next-line react/forbid-foreign-prop-types
|
|
330
314
|
SelectWithAvatar.propTypes = SelectWithAvatarComponent.propTypes;
|
|
331
315
|
}
|
|
332
|
-
|
|
333
316
|
export default Popup(SelectWithAvatar);
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import "core-js/modules/es.array.includes";
|
|
2
1
|
import React, { Component } from 'react';
|
|
3
2
|
import { SelectWithIcon_defaultProps } from './props/defaultProps';
|
|
4
3
|
import { SelectWithIcon_propTypes } from './props/propTypes';
|
|
5
4
|
/**** Components ****/
|
|
6
|
-
|
|
7
5
|
import Popup from '../Popup/Popup';
|
|
8
6
|
import TextBoxIcon from '../TextBoxIcon/TextBoxIcon';
|
|
9
7
|
import Icon from '@zohodesk/icons/lib/Icon';
|
|
@@ -15,12 +13,9 @@ import { getUniqueId } from '../Provider/IdProvider';
|
|
|
15
13
|
import ResponsiveDropBox from '../ResponsiveDropBox/ResponsiveDropBox';
|
|
16
14
|
import { ResponsiveReceiver } from '../Responsive/CustomResponsive';
|
|
17
15
|
/**** Methods ****/
|
|
18
|
-
|
|
19
16
|
import { scrollTo } from '../utils/Common.js';
|
|
20
17
|
/**** CSS ****/
|
|
21
|
-
|
|
22
18
|
import style from './Select.module.css';
|
|
23
|
-
|
|
24
19
|
class SelectWithIcon extends Component {
|
|
25
20
|
constructor(props) {
|
|
26
21
|
super(props);
|
|
@@ -42,35 +37,28 @@ class SelectWithIcon extends Component {
|
|
|
42
37
|
this.handleScroll = this.handleScroll.bind(this);
|
|
43
38
|
this.getNextAriaId = getUniqueId(this);
|
|
44
39
|
}
|
|
45
|
-
|
|
46
40
|
inputRef(el) {
|
|
47
41
|
this.input = el;
|
|
48
42
|
}
|
|
49
|
-
|
|
50
43
|
itemRef(ele, index, id) {
|
|
51
44
|
this[`suggestion_${id}`] = ele;
|
|
52
45
|
}
|
|
53
|
-
|
|
54
46
|
searchInputRef(el) {
|
|
55
47
|
this.searchInput = el;
|
|
56
48
|
}
|
|
57
|
-
|
|
58
49
|
scrollContentRef(el) {
|
|
59
50
|
let {
|
|
60
51
|
isPopupOpen
|
|
61
52
|
} = this.props;
|
|
62
|
-
|
|
63
53
|
if (isPopupOpen) {
|
|
64
54
|
this.optionsContainer = el;
|
|
65
55
|
}
|
|
66
56
|
}
|
|
67
|
-
|
|
68
57
|
handleMouseEnter(id, value, index, e) {
|
|
69
58
|
this.setState({
|
|
70
59
|
selectedIndex: index
|
|
71
60
|
});
|
|
72
61
|
}
|
|
73
|
-
|
|
74
62
|
handleKeyDown(e) {
|
|
75
63
|
let {
|
|
76
64
|
keyCode
|
|
@@ -87,12 +75,10 @@ class SelectWithIcon extends Component {
|
|
|
87
75
|
isPopupOpen,
|
|
88
76
|
selectedId
|
|
89
77
|
} = this.props;
|
|
90
|
-
|
|
91
78
|
if (isPopupOpen && (keyCode === 38 || keyCode === 40) && e.preventDefault) {
|
|
92
79
|
e.preventDefault(); //prevent body scroll
|
|
93
80
|
} else if (!isPopupOpen && (keyCode === 40 || keyCode === 13)) {
|
|
94
81
|
e.preventDefault(); //prevent body scroll
|
|
95
|
-
|
|
96
82
|
this.togglePopup(e);
|
|
97
83
|
options.map((list, index) => {
|
|
98
84
|
if (list.id === selectedId) {
|
|
@@ -102,7 +88,6 @@ class SelectWithIcon extends Component {
|
|
|
102
88
|
}
|
|
103
89
|
});
|
|
104
90
|
}
|
|
105
|
-
|
|
106
91
|
if (isPopupOpen) {
|
|
107
92
|
switch (keyCode) {
|
|
108
93
|
case 40:
|
|
@@ -114,14 +99,11 @@ class SelectWithIcon extends Component {
|
|
|
114
99
|
if (selectedIndex === options.length - 3) {
|
|
115
100
|
isNextOptions && getNextOptions && getNextOptions();
|
|
116
101
|
}
|
|
117
|
-
|
|
118
102
|
this.setState({
|
|
119
103
|
selectedIndex: selectedIndex + 1
|
|
120
104
|
});
|
|
121
105
|
}
|
|
122
|
-
|
|
123
106
|
break;
|
|
124
|
-
|
|
125
107
|
case 38:
|
|
126
108
|
if (selectedIndex === 0) {
|
|
127
109
|
this.setState({
|
|
@@ -132,9 +114,7 @@ class SelectWithIcon extends Component {
|
|
|
132
114
|
selectedIndex: selectedIndex - 1
|
|
133
115
|
});
|
|
134
116
|
}
|
|
135
|
-
|
|
136
117
|
break;
|
|
137
|
-
|
|
138
118
|
case 13:
|
|
139
119
|
let option = options[selectedIndex];
|
|
140
120
|
this.handleChange && this.handleChange(option[idKey], option[valueKey], selectedIndex, e);
|
|
@@ -142,7 +122,6 @@ class SelectWithIcon extends Component {
|
|
|
142
122
|
}
|
|
143
123
|
}
|
|
144
124
|
}
|
|
145
|
-
|
|
146
125
|
componentDidUpdate(prevProps) {
|
|
147
126
|
let {
|
|
148
127
|
idKey,
|
|
@@ -153,7 +132,6 @@ class SelectWithIcon extends Component {
|
|
|
153
132
|
selectedIndex,
|
|
154
133
|
options
|
|
155
134
|
} = this.state;
|
|
156
|
-
|
|
157
135
|
if (prevProps.isPopupOpen != isPopupOpen) {
|
|
158
136
|
setTimeout(() => {
|
|
159
137
|
isPopupOpen ? needSearch ? this.searchInput.focus({
|
|
@@ -165,39 +143,32 @@ class SelectWithIcon extends Component {
|
|
|
165
143
|
});
|
|
166
144
|
}, 10);
|
|
167
145
|
}
|
|
168
|
-
|
|
169
146
|
let option = options[selectedIndex];
|
|
170
147
|
let id = option && option[idKey] || {};
|
|
171
148
|
let selSuggestion = this[`suggestion_${id}`];
|
|
172
|
-
|
|
173
149
|
if (isPopupOpen) {
|
|
174
150
|
this.optionsContainer && scrollTo(this.optionsContainer, selSuggestion);
|
|
175
151
|
}
|
|
176
152
|
}
|
|
177
|
-
|
|
178
153
|
searchList(searchValue) {
|
|
179
154
|
let datas = [];
|
|
180
155
|
let {
|
|
181
156
|
options,
|
|
182
157
|
valueKey
|
|
183
158
|
} = this.props;
|
|
184
|
-
|
|
185
159
|
if (options.length) {
|
|
186
160
|
datas = options.filter(obj => obj[valueKey].toLowerCase().includes(searchValue.toLowerCase()));
|
|
187
161
|
}
|
|
188
|
-
|
|
189
162
|
return datas;
|
|
190
163
|
}
|
|
191
|
-
|
|
192
164
|
onSearchClear() {
|
|
193
|
-
let options = this.searchList('');
|
|
194
|
-
|
|
165
|
+
let options = this.searchList('');
|
|
166
|
+
// this.searchInput.focus({preventScroll:false});
|
|
195
167
|
this.setState({
|
|
196
168
|
searchValue: '',
|
|
197
169
|
options
|
|
198
170
|
});
|
|
199
171
|
}
|
|
200
|
-
|
|
201
172
|
onSearch(searchValue) {
|
|
202
173
|
let options = this.searchList(searchValue);
|
|
203
174
|
this.setState({
|
|
@@ -206,7 +177,6 @@ class SelectWithIcon extends Component {
|
|
|
206
177
|
options
|
|
207
178
|
});
|
|
208
179
|
}
|
|
209
|
-
|
|
210
180
|
togglePopup(e) {
|
|
211
181
|
let {
|
|
212
182
|
togglePopup,
|
|
@@ -215,7 +185,6 @@ class SelectWithIcon extends Component {
|
|
|
215
185
|
} = this.props;
|
|
216
186
|
!isReadOnly && togglePopup(e, boxPosition);
|
|
217
187
|
}
|
|
218
|
-
|
|
219
188
|
handleChange(id, value, index, e) {
|
|
220
189
|
let {
|
|
221
190
|
onChange,
|
|
@@ -224,18 +193,15 @@ class SelectWithIcon extends Component {
|
|
|
224
193
|
!isReadOnly && onChange && onChange(id, value, index, e);
|
|
225
194
|
this.togglePopup(e);
|
|
226
195
|
}
|
|
227
|
-
|
|
228
196
|
handleScroll(e) {
|
|
229
197
|
const {
|
|
230
198
|
isNextOptions,
|
|
231
199
|
getNextOptions
|
|
232
200
|
} = this.props;
|
|
233
|
-
|
|
234
201
|
if (e.target.scrollTop + e.target.offsetHeight > e.target.scrollHeight - 1) {
|
|
235
202
|
isNextOptions && getNextOptions && getNextOptions(e);
|
|
236
203
|
}
|
|
237
204
|
}
|
|
238
|
-
|
|
239
205
|
responsiveFunc(_ref) {
|
|
240
206
|
let {
|
|
241
207
|
mediaQueryOR
|
|
@@ -246,7 +212,6 @@ class SelectWithIcon extends Component {
|
|
|
246
212
|
}])
|
|
247
213
|
};
|
|
248
214
|
}
|
|
249
|
-
|
|
250
215
|
render() {
|
|
251
216
|
let {
|
|
252
217
|
animationStyle,
|
|
@@ -449,17 +414,13 @@ class SelectWithIcon extends Component {
|
|
|
449
414
|
})))));
|
|
450
415
|
}) : null);
|
|
451
416
|
}
|
|
452
|
-
|
|
453
417
|
}
|
|
454
|
-
|
|
455
418
|
SelectWithIcon.propTypes = SelectWithIcon_propTypes;
|
|
456
419
|
SelectWithIcon.defaultProps = SelectWithIcon_defaultProps;
|
|
457
|
-
|
|
458
420
|
if (false) {
|
|
459
421
|
SelectWithIcon.docs = {
|
|
460
422
|
componentGroup: 'Form Elements',
|
|
461
423
|
folderName: 'Style Guide'
|
|
462
424
|
};
|
|
463
425
|
}
|
|
464
|
-
|
|
465
426
|
export default Popup(SelectWithIcon);
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
/* eslint-disable no-undef */
|
|
2
|
-
|
|
3
2
|
/**** Libraries ****/
|
|
4
3
|
import expect from 'expect';
|
|
5
|
-
/**** Components ****/
|
|
6
4
|
|
|
5
|
+
/**** Components ****/
|
|
7
6
|
import Select from '../Select';
|
|
8
7
|
import ListItem from '../../ListItem/ListItem';
|
|
9
8
|
describe('Select component conditions', () => {
|
|
@@ -189,8 +188,9 @@ describe('Select component conditions', () => {
|
|
|
189
188
|
target: {
|
|
190
189
|
value: 'value changed'
|
|
191
190
|
}
|
|
192
|
-
});
|
|
191
|
+
});
|
|
193
192
|
|
|
193
|
+
//
|
|
194
194
|
setTimeout(() => {
|
|
195
195
|
expect(props.onSearch).toHaveBeenCalled();
|
|
196
196
|
expect(props.onSearch.mock.calls[0][0]).toEqual('value changed');
|
|
@@ -202,8 +202,10 @@ describe('Select component conditions', () => {
|
|
|
202
202
|
expect(loadingEleArr.length).toBe(0);
|
|
203
203
|
cb();
|
|
204
204
|
});
|
|
205
|
-
}, searchDebounceTime);
|
|
205
|
+
}, searchDebounceTime);
|
|
206
|
+
//
|
|
206
207
|
});
|
|
208
|
+
|
|
207
209
|
it('Should call onChange, When select list item', () => {
|
|
208
210
|
let defaultProps = {
|
|
209
211
|
options: [{
|
|
@@ -299,11 +301,11 @@ describe('Select component conditions', () => {
|
|
|
299
301
|
};
|
|
300
302
|
let {
|
|
301
303
|
renderedDOM
|
|
302
|
-
} = setup(Select, defaultProps);
|
|
304
|
+
} = setup(Select, defaultProps);
|
|
305
|
+
// let liteItemArr = TestUtils.scryRenderedComponentsWithTestid(
|
|
303
306
|
// renderedDOM,
|
|
304
307
|
// 'listItem'
|
|
305
308
|
// );
|
|
306
|
-
|
|
307
309
|
let liteItemArr = TestUtils.scryRenderedComponentsWithType(renderedDOM, ListItem);
|
|
308
310
|
expect(liteItemArr.length).toBe(3);
|
|
309
311
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**** Libraries ****/
|
|
2
2
|
import React, { Component } from 'react';
|
|
3
|
-
/**** Components ****/
|
|
4
3
|
|
|
4
|
+
/**** Components ****/
|
|
5
5
|
import GroupSelect from '../GroupSelect';
|
|
6
6
|
let groupedOptions = [{
|
|
7
7
|
id: 'tickets',
|
|
@@ -100,17 +100,14 @@ export default class GroupSelect__default extends Component {
|
|
|
100
100
|
this.handleChange = this.handleChange.bind(this);
|
|
101
101
|
this.groupFooter = this.groupFooter.bind(this);
|
|
102
102
|
}
|
|
103
|
-
|
|
104
103
|
handleChange(selectedOption) {
|
|
105
104
|
this.setState({
|
|
106
105
|
selectedOption
|
|
107
106
|
});
|
|
108
107
|
}
|
|
109
|
-
|
|
110
108
|
groupFooter() {
|
|
111
109
|
return /*#__PURE__*/React.createElement("div", null, "Footer");
|
|
112
110
|
}
|
|
113
|
-
|
|
114
111
|
render() {
|
|
115
112
|
let {
|
|
116
113
|
selectedOption
|
|
@@ -138,9 +135,7 @@ export default class GroupSelect__default extends Component {
|
|
|
138
135
|
getFooter: this.groupFooter
|
|
139
136
|
}, "Children"));
|
|
140
137
|
}
|
|
141
|
-
|
|
142
138
|
}
|
|
143
|
-
|
|
144
139
|
if (false) {
|
|
145
140
|
GroupSelect__default.docs = {
|
|
146
141
|
componentGroup: 'Form Elements',
|
|
@@ -40,13 +40,11 @@ export default class SelectWithAvatar__default extends Component {
|
|
|
40
40
|
};
|
|
41
41
|
this.handleChange = this.handleChange.bind(this);
|
|
42
42
|
}
|
|
43
|
-
|
|
44
43
|
handleChange(value) {
|
|
45
44
|
this.setState({
|
|
46
45
|
value
|
|
47
46
|
});
|
|
48
47
|
}
|
|
49
|
-
|
|
50
48
|
render() {
|
|
51
49
|
let {
|
|
52
50
|
value
|
|
@@ -86,9 +84,7 @@ export default class SelectWithAvatar__default extends Component {
|
|
|
86
84
|
isDisabled: true
|
|
87
85
|
})));
|
|
88
86
|
}
|
|
89
|
-
|
|
90
87
|
}
|
|
91
|
-
|
|
92
88
|
if (false) {
|
|
93
89
|
SelectWithAvatar__default.docs = {
|
|
94
90
|
componentGroup: 'Form Elements',
|
|
@@ -52,7 +52,6 @@ export default class SelectWithIcon__default extends Component {
|
|
|
52
52
|
};
|
|
53
53
|
this.handleChange = this.handleChange.bind(this);
|
|
54
54
|
}
|
|
55
|
-
|
|
56
55
|
handleChange(selectedId, selectedValue, index, e) {
|
|
57
56
|
this.setState({
|
|
58
57
|
selectedValue,
|
|
@@ -61,7 +60,6 @@ export default class SelectWithIcon__default extends Component {
|
|
|
61
60
|
selectedIconSize: this.options[index].iconSize
|
|
62
61
|
});
|
|
63
62
|
}
|
|
64
|
-
|
|
65
63
|
render() {
|
|
66
64
|
let {
|
|
67
65
|
selectedValue,
|
|
@@ -127,9 +125,7 @@ export default class SelectWithIcon__default extends Component {
|
|
|
127
125
|
iconName: selectedIcon
|
|
128
126
|
})));
|
|
129
127
|
}
|
|
130
|
-
|
|
131
128
|
}
|
|
132
|
-
|
|
133
129
|
if (false) {
|
|
134
130
|
SelectWithIcon__default.docs = {
|
|
135
131
|
componentGroup: 'Form Elements',
|
|
@@ -80,18 +80,15 @@ export default class Select__default extends React.Component {
|
|
|
80
80
|
this.handleChange = this.handleChange.bind(this);
|
|
81
81
|
this.customChildren = this.customChildren.bind(this);
|
|
82
82
|
}
|
|
83
|
-
|
|
84
83
|
handleChange(value) {
|
|
85
84
|
this.setState({
|
|
86
85
|
value
|
|
87
86
|
});
|
|
88
87
|
}
|
|
89
|
-
|
|
90
88
|
customChildren() {
|
|
91
89
|
let serach = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
92
90
|
return /*#__PURE__*/React.createElement("div", null, serach.searchString, "Custom Children");
|
|
93
91
|
}
|
|
94
|
-
|
|
95
92
|
render() {
|
|
96
93
|
let {
|
|
97
94
|
value
|
|
@@ -275,9 +272,7 @@ export default class Select__default extends React.Component {
|
|
|
275
272
|
size: "18"
|
|
276
273
|
})))));
|
|
277
274
|
}
|
|
278
|
-
|
|
279
275
|
}
|
|
280
|
-
|
|
281
276
|
if (false) {
|
|
282
277
|
Select__default.docs = {
|
|
283
278
|
componentGroup: 'Form Elements',
|
package/es/Stencils/Stencils.js
CHANGED
|
@@ -2,7 +2,6 @@ import React from 'react';
|
|
|
2
2
|
import { defaultProps } from './props/defaultProps';
|
|
3
3
|
import { propTypes } from './props/propTypes';
|
|
4
4
|
/* eslint css-modules/no-unused-class: [2, { markAsUsed: [primary, secondary, small, default, medium, large, clarge, cmedium, cdefault, csmall] }] */
|
|
5
|
-
|
|
6
5
|
import style from './Stencils.module.css';
|
|
7
6
|
export default class Stencils extends React.PureComponent {
|
|
8
7
|
render() {
|
|
@@ -18,11 +17,9 @@ export default class Stencils extends React.PureComponent {
|
|
|
18
17
|
className: `${style.container} ${shape} ${size} ${style[palette]} ${customClass}`
|
|
19
18
|
});
|
|
20
19
|
}
|
|
21
|
-
|
|
22
20
|
}
|
|
23
21
|
Stencils.propTypes = propTypes;
|
|
24
22
|
Stencils.defaultProps = defaultProps;
|
|
25
|
-
|
|
26
23
|
if (false) {
|
|
27
24
|
Stencils.docs = {
|
|
28
25
|
componentGroup: 'Atom',
|