@zohodesk/components 1.0.0-temp-83 → 1.0.0-temp-107
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/es/Avatar/Avatar.js +3 -1
- package/es/Avatar/Avatar.module.css +11 -23
- package/es/AvatarTeam/AvatarTeam.module.css +7 -21
- package/es/Button/Button.js +3 -5
- package/es/Button/Button.module.css +24 -97
- package/es/Buttongroup/Buttongroup.module.css +8 -37
- package/es/CheckBox/CheckBox.module.css +11 -17
- package/es/DateTime/CalendarView.js +4 -2
- package/es/DateTime/DateTime.module.css +13 -44
- package/es/DateTime/DateTimePopupHeader.js +24 -9
- package/es/DateTime/DateWidget.js +4 -2
- package/es/DateTime/DateWidget.module.css +5 -9
- package/es/DateTime/DaysRow.js +5 -2
- package/es/DateTime/YearView.js +12 -4
- package/es/DateTime/YearView.module.css +23 -18
- package/es/DropBox/DropBox.js +4 -24
- package/es/DropBox/DropBox.module.css +11 -47
- package/es/DropBox/props/defaultProps.js +1 -2
- package/es/DropBox/props/propTypes.js +0 -1
- package/es/DropDown/DropDownHeading.js +3 -1
- package/es/DropDown/DropDownHeading.module.css +3 -7
- package/es/DropDown/DropDownItem.module.css +6 -32
- package/es/DropDown/props/propTypes.js +2 -1
- package/es/FramerAnimation/FramerAnimation.js +206 -0
- package/es/FramerAnimation/docs/FramerAnimation__default.docs.js +123 -0
- package/es/Label/Label.js +4 -2
- package/es/ListItem/ListContainer.js +3 -2
- package/es/ListItem/ListItem.js +2 -1
- package/es/ListItem/ListItem.module.css +25 -57
- package/es/MultiSelect/MultiSelect.js +4 -2
- package/es/MultiSelect/MultiSelect.module.css +11 -28
- package/es/MultiSelect/SelectedOptions.module.css +2 -8
- package/es/MultiSelect/Suggestions.js +2 -1
- package/es/PopOver/PopOver.module.css +1 -1
- package/es/Radio/Radio.module.css +4 -10
- package/es/Responsive/docs/style.module.css +8 -17
- package/es/Ribbon/Ribbon.module.css +28 -93
- package/es/RippleEffect/RippleEffect.module.css +27 -9
- package/es/Select/Select.js +7 -4
- package/es/Select/Select.module.css +2 -12
- package/es/Select/SelectWithIcon.js +2 -1
- package/es/Stencils/Stencils.module.css +3 -21
- package/es/Switch/Switch.js +5 -7
- package/es/Switch/Switch.module.css +7 -6
- package/es/Tab/Tab.js +2 -1
- package/es/Tab/Tab.module.css +7 -16
- package/es/Tab/TabContent.js +1 -1
- package/es/Tab/Tabs.js +9 -10
- package/es/Tab/Tabs.module.css +8 -42
- package/es/Tab/docs/tabdocs.module.css +1 -1
- package/es/Tag/Tag.module.css +14 -36
- package/es/TextBox/TextBox.module.css +11 -7
- package/es/TextBoxIcon/TextBoxIcon.module.css +5 -12
- package/es/Textarea/Textarea.module.css +7 -6
- package/es/Tooltip/Tooltip.module.css +8 -9
- package/es/common/animation.module.css +21 -219
- package/es/common/basicReset.module.css +12 -2
- package/es/common/common.module.css +18 -64
- package/es/common/customscroll.module.css +21 -17
- package/es/common/docStyle.module.css +32 -79
- package/es/common/transition.module.css +10 -50
- package/es/deprecated/AdvancedMultiSelect.module.css +8 -22
- package/es/semantic/Button/semanticButton.module.css +3 -3
- package/package.json +2 -3
- package/lib/Accordion/Accordion.js +0 -102
- package/lib/Accordion/AccordionItem.js +0 -84
- package/lib/Accordion/__tests__/Accordion.spec.js +0 -82
- package/lib/Accordion/docs/Accordion__Demo.docs.js +0 -104
- package/lib/Accordion/index.js +0 -20
- package/lib/Accordion/props/defaultProps.js +0 -16
- package/lib/Accordion/props/propTypes.js +0 -39
- package/lib/Animation/Animation.js +0 -161
- package/lib/Animation/__tests__/Animation.spec.js +0 -19
- package/lib/Animation/docs/Animation__default.docs.js +0 -61
- package/lib/Animation/docs/Animation__fadeIn.docs.js +0 -61
- package/lib/Animation/docs/Animation__scaleIn.docs.js +0 -61
- package/lib/Animation/docs/Animation__skewIn.docs.js +0 -61
- package/lib/Animation/docs/Animation__slideDown.docs.js +0 -61
- package/lib/Animation/docs/Animation__slideLeft.docs.js +0 -61
- package/lib/Animation/docs/Animation__zoomIn.docs.js +0 -61
- package/lib/Animation/props/defaultProps.js +0 -14
- package/lib/Animation/props/propTypes.js +0 -20
- package/lib/AppContainer/AppContainer.js +0 -156
- package/lib/AppContainer/AppContainer.module.css +0 -18
- package/lib/AppContainer/docs/AppContainer__default.docs.js +0 -47
- package/lib/AppContainer/props/defaultProps.js +0 -15
- package/lib/AppContainer/props/propTypes.js +0 -23
- package/lib/Avatar/Avatar.js +0 -199
- package/lib/Avatar/Avatar.module.css +0 -135
- package/lib/Avatar/__tests__/Avatar.spec.js +0 -164
- package/lib/Avatar/__tests__/__snapshots__/Avatar.spec.js.snap +0 -288
- package/lib/Avatar/docs/Avatar__custom.docs.js +0 -62
- package/lib/Avatar/docs/Avatar__default.docs.js +0 -60
- package/lib/Avatar/docs/Avatar__palette.docs.js +0 -82
- package/lib/Avatar/docs/Avatar__text.docs.js +0 -61
- package/lib/Avatar/props/defaultProps.js +0 -21
- package/lib/Avatar/props/propTypes.js +0 -31
- package/lib/AvatarTeam/AvatarTeam.js +0 -99
- package/lib/AvatarTeam/AvatarTeam.module.css +0 -161
- package/lib/AvatarTeam/__tests__/AvatarTeam.spec.js +0 -79
- package/lib/AvatarTeam/__tests__/__snapshots__/AvatarTeam.spec.js.snap +0 -226
- package/lib/AvatarTeam/docs/AvatarTeam__custom.docs.js +0 -100
- package/lib/AvatarTeam/docs/AvatarTeam__default.docs.js +0 -58
- package/lib/AvatarTeam/docs/AvatarTeam__palette.docs.js +0 -77
- package/lib/AvatarTeam/docs/AvatarTeam__size.docs.js +0 -76
- package/lib/AvatarTeam/props/defaultProps.js +0 -20
- package/lib/AvatarTeam/props/propTypes.js +0 -31
- package/lib/Button/Button.js +0 -92
- package/lib/Button/Button.module.css +0 -522
- package/lib/Button/__tests__/Button.spec.js +0 -193
- package/lib/Button/__tests__/__snapshots__/Button.spec.js.snap +0 -191
- package/lib/Button/docs/Button__custom.docs.js +0 -800
- package/lib/Button/docs/Button__default.docs.js +0 -565
- package/lib/Button/props/defaultProps.js +0 -22
- package/lib/Button/props/propTypes.js +0 -30
- package/lib/Buttongroup/Buttongroup.js +0 -69
- package/lib/Buttongroup/Buttongroup.module.css +0 -89
- package/lib/Buttongroup/__test__/Buttongroup.spec.js +0 -76
- package/lib/Buttongroup/__test__/__snapshots__/Buttongroup.spec.js.snap +0 -146
- package/lib/Buttongroup/docs/Buttongroup__custom.docs.js +0 -64
- package/lib/Buttongroup/docs/Buttongroup__footer.docs.js +0 -60
- package/lib/Buttongroup/docs/Buttongroup__header.docs.js +0 -71
- package/lib/Buttongroup/props/defaultProps.js +0 -11
- package/lib/Buttongroup/props/propTypes.js +0 -15
- package/lib/Card/Card.js +0 -301
- package/lib/Card/Card.module.css +0 -20
- package/lib/Card/__tests__/Card.spec.js +0 -47
- package/lib/Card/docs/Card__Custom.docs.js +0 -63
- package/lib/Card/docs/Card__Default.docs.js +0 -66
- package/lib/Card/docs/Card__Scroll.docs.js +0 -87
- package/lib/Card/index.js +0 -33
- package/lib/Card/props/defaultProps.js +0 -23
- package/lib/Card/props/propTypes.js +0 -54
- package/lib/CheckBox/CheckBox.js +0 -183
- package/lib/CheckBox/CheckBox.module.css +0 -157
- package/lib/CheckBox/__tests__/CheckBox.spec.js +0 -15
- package/lib/CheckBox/docs/CheckBox__custom.docs.js +0 -323
- package/lib/CheckBox/docs/CheckBox__default.docs.js +0 -249
- package/lib/CheckBox/props/defaultProps.js +0 -25
- package/lib/CheckBox/props/propTypes.js +0 -49
- package/lib/DateTime/CalendarView.js +0 -227
- package/lib/DateTime/DateTime.js +0 -779
- package/lib/DateTime/DateTime.module.css +0 -233
- package/lib/DateTime/DateTimePopupFooter.js +0 -65
- package/lib/DateTime/DateTimePopupHeader.js +0 -117
- package/lib/DateTime/DateWidget.js +0 -1015
- package/lib/DateTime/DateWidget.module.css +0 -38
- package/lib/DateTime/DaysRow.js +0 -52
- package/lib/DateTime/Time.js +0 -205
- package/lib/DateTime/YearView.js +0 -267
- package/lib/DateTime/YearView.module.css +0 -81
- package/lib/DateTime/__tests__/CalendarView.spec.js +0 -37
- package/lib/DateTime/__tests__/DateTime.spec.js +0 -113
- package/lib/DateTime/__tests__/DateWidget.spec.js +0 -79
- package/lib/DateTime/common.js +0 -30
- package/lib/DateTime/constants.js +0 -76
- package/lib/DateTime/dateFormatUtils/dateFormat.js +0 -551
- package/lib/DateTime/dateFormatUtils/dayChange.js +0 -74
- package/lib/DateTime/dateFormatUtils/index.js +0 -225
- package/lib/DateTime/dateFormatUtils/monthChange.js +0 -84
- package/lib/DateTime/dateFormatUtils/timeChange.js +0 -208
- package/lib/DateTime/dateFormatUtils/yearChange.js +0 -108
- package/lib/DateTime/docs/DateTime__default.docs.js +0 -119
- package/lib/DateTime/docs/DateWidget__default.docs.js +0 -212
- package/lib/DateTime/docs/timezonedata.json +0 -1
- package/lib/DateTime/index.js +0 -13
- package/lib/DateTime/objectUtils.js +0 -72
- package/lib/DateTime/props/defaultProps.js +0 -61
- package/lib/DateTime/props/propTypes.js +0 -144
- package/lib/DateTime/typeChecker.js +0 -22
- package/lib/DateTime/validator.js +0 -290
- package/lib/DropBox/DropBox.js +0 -286
- package/lib/DropBox/DropBox.module.css +0 -406
- package/lib/DropBox/DropBoxPositionMapping.json +0 -145
- package/lib/DropBox/__tests__/DropBox.spec.js +0 -83
- package/lib/DropBox/docs/DropBox__custom.docs.js +0 -97
- package/lib/DropBox/docs/DropBox__customOrder.docs.js +0 -114
- package/lib/DropBox/docs/DropBox__fixedPosition.docs.js +0 -113
- package/lib/DropBox/docs/DropBox__position.docs.js +0 -118
- package/lib/DropBox/docs/DropBox__size.docs.js +0 -92
- package/lib/DropBox/props/defaultProps.js +0 -28
- package/lib/DropBox/props/propTypes.js +0 -56
- package/lib/DropDown/DropDown.js +0 -127
- package/lib/DropDown/DropDown.module.css +0 -5
- package/lib/DropDown/DropDownHeading.js +0 -64
- package/lib/DropDown/DropDownHeading.module.css +0 -53
- package/lib/DropDown/DropDownItem.js +0 -102
- package/lib/DropDown/DropDownItem.module.css +0 -94
- package/lib/DropDown/DropDownSearch.js +0 -88
- package/lib/DropDown/DropDownSearch.module.css +0 -14
- package/lib/DropDown/DropDownSeparator.js +0 -42
- package/lib/DropDown/DropDownSeparator.module.css +0 -7
- package/lib/DropDown/__tests__/DropDown.spec.js +0 -44
- package/lib/DropDown/__tests__/DropDownItem.spec.js +0 -46
- package/lib/DropDown/__tests__/DropDownSearch.spec.js +0 -14
- package/lib/DropDown/docs/DropDownHeading__custom.docs.js +0 -50
- package/lib/DropDown/docs/DropDownHeading__default.docs.js +0 -48
- package/lib/DropDown/props/defaultProps.js +0 -28
- package/lib/DropDown/props/propTypes.js +0 -89
- package/lib/Heading/Heading.js +0 -64
- package/lib/Heading/Heading.module.css +0 -5
- package/lib/Heading/docs/Heading__default.docs.js +0 -50
- package/lib/Heading/props/defaultProps.js +0 -12
- package/lib/Heading/props/propTypes.js +0 -19
- package/lib/Label/Label.js +0 -65
- package/lib/Label/Label.module.css +0 -52
- package/lib/Label/LabelColors.module.css +0 -21
- package/lib/Label/__tests__/Label.spec.js +0 -124
- package/lib/Label/__tests__/__snapshots__/Label.spec.js.snap +0 -101
- package/lib/Label/docs/Label__clipped.docs.js +0 -56
- package/lib/Label/docs/Label__custom.docs.js +0 -59
- package/lib/Label/docs/Label__palette.docs.js +0 -71
- package/lib/Label/docs/Label__size.docs.js +0 -58
- package/lib/Label/docs/Label__type.docs.js +0 -66
- package/lib/Label/props/defaultProps.js +0 -17
- package/lib/Label/props/propTypes.js +0 -22
- package/lib/Layout/Box.js +0 -104
- package/lib/Layout/Container.js +0 -122
- package/lib/Layout/Layout.module.css +0 -336
- package/lib/Layout/__tests__/Box.spec.js +0 -105
- package/lib/Layout/__tests__/Container.spec.js +0 -110
- package/lib/Layout/docs/Layout__Hidden.docs.js +0 -105
- package/lib/Layout/docs/Layout__default.docs.js +0 -77
- package/lib/Layout/docs/Layout__four_Column.docs.js +0 -107
- package/lib/Layout/docs/Layout__three_Column.docs.js +0 -104
- package/lib/Layout/docs/Layout__two_Column.docs.js +0 -97
- package/lib/Layout/index.js +0 -30
- package/lib/Layout/props/defaultProps.js +0 -20
- package/lib/Layout/props/propTypes.js +0 -51
- package/lib/Layout/utils.js +0 -45
- package/lib/LightNightMode/Colors.json +0 -497
- package/lib/LightNightMode/docs/AlternativeColors.docs.js +0 -128
- package/lib/ListItem/ListContainer.js +0 -94
- package/lib/ListItem/ListItem.js +0 -153
- package/lib/ListItem/ListItem.module.css +0 -209
- package/lib/ListItem/ListItemWithAvatar.js +0 -175
- package/lib/ListItem/ListItemWithCheckBox.js +0 -141
- package/lib/ListItem/ListItemWithIcon.js +0 -158
- package/lib/ListItem/ListItemWithRadio.js +0 -143
- package/lib/ListItem/docs/ListItemWithAvatar__custom.docs.js +0 -182
- package/lib/ListItem/docs/ListItemWithAvatar__default.docs.js +0 -139
- package/lib/ListItem/docs/ListItemWithCheckBox__custom.docs.js +0 -118
- package/lib/ListItem/docs/ListItemWithCheckBox__default.docs.js +0 -92
- package/lib/ListItem/docs/ListItemWithIcon__custom.docs.js +0 -95
- package/lib/ListItem/docs/ListItemWithIcon__default.docs.js +0 -89
- package/lib/ListItem/docs/ListItemWithRadio__custom.docs.js +0 -118
- package/lib/ListItem/docs/ListItemWithRadio__default.docs.js +0 -92
- package/lib/ListItem/docs/ListItem__custom.docs.js +0 -141
- package/lib/ListItem/docs/ListItem__default.docs.js +0 -109
- package/lib/ListItem/props/defaultProps.js +0 -97
- package/lib/ListItem/props/propTypes.js +0 -176
- package/lib/Modal/Modal.js +0 -174
- package/lib/Modal/__docs__/Modal__default.docs.js +0 -65
- package/lib/Modal/props/defaultProps.js +0 -10
- package/lib/Modal/props/propTypes.js +0 -14
- package/lib/MultiSelect/AdvancedGroupMultiSelect.js +0 -1032
- package/lib/MultiSelect/AdvancedMultiSelect.js +0 -552
- package/lib/MultiSelect/EmptyState.js +0 -85
- package/lib/MultiSelect/MultiSelect.js +0 -1044
- package/lib/MultiSelect/MultiSelect.module.css +0 -206
- package/lib/MultiSelect/MultiSelectHeader.js +0 -55
- package/lib/MultiSelect/MultiSelectWithAvatar.js +0 -304
- package/lib/MultiSelect/SelectedOptions.js +0 -97
- package/lib/MultiSelect/SelectedOptions.module.css +0 -15
- package/lib/MultiSelect/Suggestions.js +0 -158
- package/lib/MultiSelect/__tests__/MultiSelect.spec.js +0 -159
- package/lib/MultiSelect/docs/AdvancedGroupMultiSelect__default.docs.js +0 -154
- package/lib/MultiSelect/docs/AdvancedMultiSelect__default.docs.js +0 -140
- package/lib/MultiSelect/docs/MultiSelectWithAvatar__default.docs.js +0 -165
- package/lib/MultiSelect/docs/MultiSelect__default.docs.js +0 -186
- package/lib/MultiSelect/props/defaultProps.js +0 -158
- package/lib/MultiSelect/props/propTypes.js +0 -377
- package/lib/PopOver/PopOver.js +0 -252
- package/lib/PopOver/PopOver.module.css +0 -8
- package/lib/PopOver/__tests__/PopOver.spec.js +0 -17
- package/lib/PopOver/docs/PopOver__default.docs.js +0 -61
- package/lib/PopOver/props/defaultProps.js +0 -15
- package/lib/PopOver/props/propTypes.js +0 -63
- package/lib/Popup/Popup.js +0 -640
- package/lib/Popup/PositionMapping.json +0 -74
- package/lib/Popup/__tests__/Popup.spec.js +0 -155
- package/lib/Popup/viewPort.js +0 -354
- package/lib/Provider/AvatarSize.js +0 -19
- package/lib/Provider/Config.js +0 -25
- package/lib/Provider/CssProvider.js +0 -23
- package/lib/Provider/IdProvider.js +0 -68
- package/lib/Provider/LibraryContext.js +0 -54
- package/lib/Provider/LibraryContextInit.js +0 -11
- package/lib/Provider/NumberGenerator/NumberGenerator.js +0 -145
- package/lib/Provider/ZindexProvider.js +0 -57
- package/lib/Provider/docs/Provider_Id__Class.docs.js +0 -56
- package/lib/Provider/docs/Provider_Id__Function.docs.js +0 -24
- package/lib/Provider/docs/Provider_Zindex__Class.docs.js +0 -59
- package/lib/Provider/docs/Provider_Zindex__Function.docs.js +0 -29
- package/lib/Provider.js +0 -116
- package/lib/Radio/Radio.js +0 -146
- package/lib/Radio/Radio.module.css +0 -112
- package/lib/Radio/__tests__/Radiospec.js +0 -25
- package/lib/Radio/docs/Radio__custom.docs.js +0 -273
- package/lib/Radio/docs/Radio__default.docs.js +0 -197
- package/lib/Radio/props/defaultProps.js +0 -21
- package/lib/Radio/props/propTypes.js +0 -40
- package/lib/Responsive/CustomResponsive.js +0 -192
- package/lib/Responsive/RefWrapper.js +0 -47
- package/lib/Responsive/ResizeComponent.js +0 -237
- package/lib/Responsive/ResizeObserver.js +0 -151
- package/lib/Responsive/Responsive.js +0 -222
- package/lib/Responsive/docs/Responsive__Custom.docs.js +0 -247
- package/lib/Responsive/docs/Responsive__default.docs.js +0 -118
- package/lib/Responsive/docs/style.module.css +0 -56
- package/lib/Responsive/index.js +0 -28
- package/lib/Responsive/props/defaultProps.js +0 -23
- package/lib/Responsive/props/propTypes.js +0 -36
- package/lib/Responsive/sizeObservers.js +0 -176
- package/lib/Responsive/utils/index.js +0 -62
- package/lib/Responsive/utils/shallowCompare.js +0 -29
- package/lib/Responsive/windowResizeObserver.js +0 -55
- package/lib/ResponsiveDropBox/ResponsiveDropBox.js +0 -94
- package/lib/ResponsiveDropBox/ResponsiveDropBox.module.css +0 -6
- package/lib/ResponsiveDropBox/props/defaultProps.js +0 -11
- package/lib/ResponsiveDropBox/props/propTypes.js +0 -15
- package/lib/Ribbon/Ribbon.js +0 -71
- package/lib/Ribbon/Ribbon.module.css +0 -377
- package/lib/Ribbon/__tests__/Ribbon.spec.js +0 -171
- package/lib/Ribbon/__tests__/__snapshots__/Ribbon.spec.js.snap +0 -163
- package/lib/Ribbon/docs/Ribbon__custom.docs.js +0 -414
- package/lib/Ribbon/docs/Ribbon__default.docs.js +0 -370
- package/lib/Ribbon/props/defaultProps.js +0 -15
- package/lib/Ribbon/props/propTypes.js +0 -18
- package/lib/RippleEffect/RippleEffect.js +0 -35
- package/lib/RippleEffect/RippleEffect.module.css +0 -92
- package/lib/RippleEffect/docs/RippleEffect__default.docs.js +0 -462
- package/lib/RippleEffect/props/defaultProps.js +0 -16
- package/lib/RippleEffect/props/propTypes.js +0 -19
- package/lib/Select/GroupSelect.js +0 -771
- package/lib/Select/Select.js +0 -910
- package/lib/Select/Select.module.css +0 -109
- package/lib/Select/SelectWithAvatar.js +0 -340
- package/lib/Select/SelectWithIcon.js +0 -530
- package/lib/Select/__tests__/Select.spec.js +0 -341
- package/lib/Select/docs/GroupSelect__default.docs.js +0 -173
- package/lib/Select/docs/SelectWithAvatar__default.docs.js +0 -124
- package/lib/Select/docs/SelectWithIcon__default.docs.js +0 -165
- package/lib/Select/docs/Select__default.docs.js +0 -313
- package/lib/Select/props/defaultProps.js +0 -112
- package/lib/Select/props/propTypes.js +0 -280
- package/lib/Stencils/Stencils.js +0 -57
- package/lib/Stencils/Stencils.module.css +0 -96
- package/lib/Stencils/__tests__/Stencils.spec.js +0 -72
- package/lib/Stencils/__tests__/__snapshots__/Stencils.spec.js.snap +0 -49
- package/lib/Stencils/docs/Stencils__custom.docs.js +0 -72
- package/lib/Stencils/docs/Stencils__default.docs.js +0 -77
- package/lib/Stencils/props/defaultProps.js +0 -13
- package/lib/Stencils/props/propTypes.js +0 -15
- package/lib/Switch/Switch.js +0 -125
- package/lib/Switch/Switch.module.css +0 -111
- package/lib/Switch/docs/Switch__custom.docs.js +0 -180
- package/lib/Switch/docs/Switch__default.docs.js +0 -134
- package/lib/Switch/props/defaultProps.js +0 -17
- package/lib/Switch/props/propTypes.js +0 -35
- package/lib/Tab/Tab.js +0 -116
- package/lib/Tab/Tab.module.css +0 -101
- package/lib/Tab/TabContent.js +0 -33
- package/lib/Tab/TabContent.module.css +0 -4
- package/lib/Tab/TabContentWrapper.js +0 -33
- package/lib/Tab/TabWrapper.js +0 -69
- package/lib/Tab/Tabs.js +0 -586
- package/lib/Tab/Tabs.module.css +0 -141
- package/lib/Tab/__tests__/Tab.spec.js +0 -119
- package/lib/Tab/__tests__/TabContent.spec.js +0 -18
- package/lib/Tab/__tests__/TabContentWrapper.spec.js +0 -51
- package/lib/Tab/__tests__/TabWrapper.spec.js +0 -88
- package/lib/Tab/__tests__/Tabs.spec.js +0 -109
- package/lib/Tab/docs/Tab__default.docs.js +0 -283
- package/lib/Tab/docs/tabdocs.module.css +0 -29
- package/lib/Tab/index.js +0 -41
- package/lib/Tab/props/defaultProps.js +0 -50
- package/lib/Tab/props/propTypes.js +0 -114
- package/lib/Tag/Tag.js +0 -177
- package/lib/Tag/Tag.module.css +0 -255
- package/lib/Tag/__tests__/Tag.spec.js +0 -29
- package/lib/Tag/docs/Tag__custom.docs.js +0 -397
- package/lib/Tag/docs/Tag__default.docs.js +0 -352
- package/lib/Tag/props/defaultProps.js +0 -20
- package/lib/Tag/props/propTypes.js +0 -42
- package/lib/TextBox/TextBox.js +0 -193
- package/lib/TextBox/TextBox.module.css +0 -157
- package/lib/TextBox/__tests__/TextBox.spec.js +0 -195
- package/lib/TextBox/__tests__/__snapshots__/TextBox.spec.js.snap +0 -127
- package/lib/TextBox/docs/TextBox__custom.docs.js +0 -72
- package/lib/TextBox/docs/TextBox__default.docs.js +0 -69
- package/lib/TextBox/docs/TextBox__size.docs.js +0 -67
- package/lib/TextBox/docs/TextBox__variant.docs.js +0 -67
- package/lib/TextBox/props/defaultProps.js +0 -26
- package/lib/TextBox/props/propTypes.js +0 -57
- package/lib/TextBoxIcon/TextBoxIcon.js +0 -187
- package/lib/TextBoxIcon/TextBoxIcon.module.css +0 -78
- package/lib/TextBoxIcon/__tests__/TextBoxIcon.spec.js +0 -219
- package/lib/TextBoxIcon/__tests__/__snapshots__/TextBoxIcon.spec.js.snap +0 -334
- package/lib/TextBoxIcon/docs/TextBoxIcon__custom.docs.js +0 -118
- package/lib/TextBoxIcon/docs/TextBoxIcon__default.docs.js +0 -90
- package/lib/TextBoxIcon/props/defaultProps.js +0 -28
- package/lib/TextBoxIcon/props/propTypes.js +0 -57
- package/lib/Textarea/Textarea.js +0 -130
- package/lib/Textarea/Textarea.module.css +0 -139
- package/lib/Textarea/__tests__/Textarea.spec.js +0 -174
- package/lib/Textarea/__tests__/__snapshots__/Textarea.spec.js.snap +0 -97
- package/lib/Textarea/docs/Textarea__animated.docs.js +0 -70
- package/lib/Textarea/docs/Textarea__custom.docs.js +0 -111
- package/lib/Textarea/docs/Textarea__default.docs.js +0 -105
- package/lib/Textarea/docs/Textarea__disabled.docs.js +0 -58
- package/lib/Textarea/props/defaultProps.js +0 -23
- package/lib/Textarea/props/propTypes.js +0 -39
- package/lib/Tooltip/Tooltip.js +0 -519
- package/lib/Tooltip/Tooltip.module.css +0 -109
- package/lib/Tooltip/__tests__/Tooltip.spec.js +0 -75
- package/lib/Tooltip/docs/Tooltip__default.docs.js +0 -402
- package/lib/Tooltip/props/defaultProps.js +0 -11
- package/lib/Tooltip/props/propTypes.js +0 -16
- package/lib/VelocityAnimation/VelocityAnimation/VelocityAnimation.js +0 -100
- package/lib/VelocityAnimation/VelocityAnimation/docs/VelocityAnimation__demo.docs.js +0 -123
- package/lib/VelocityAnimation/VelocityAnimation/props/defaultProps.js +0 -14
- package/lib/VelocityAnimation/VelocityAnimation/props/propTypes.js +0 -20
- package/lib/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +0 -131
- package/lib/VelocityAnimation/VelocityAnimationGroup/docs/VelocityAnimationGroup__demo.docs.js +0 -174
- package/lib/VelocityAnimation/VelocityAnimationGroup/props/defaultProps.js +0 -22
- package/lib/VelocityAnimation/VelocityAnimationGroup/props/propTypes.js +0 -27
- package/lib/common/animation.module.css +0 -624
- package/lib/common/avatarsizes.module.css +0 -45
- package/lib/common/basic.module.css +0 -33
- package/lib/common/basicReset.module.css +0 -40
- package/lib/common/common.module.css +0 -525
- package/lib/common/customscroll.module.css +0 -89
- package/lib/common/docStyle.module.css +0 -766
- package/lib/common/reset.module.css +0 -12
- package/lib/common/transition.module.css +0 -146
- package/lib/css.js +0 -42
- package/lib/deprecated/AdvancedMultiSelect.module.css +0 -127
- package/lib/deprecated/PortalLayer/PortalLayer.js +0 -126
- package/lib/deprecated/PortalLayer/docs/PortalLayer__default.docs.js +0 -111
- package/lib/deprecated/PortalLayer/props/defaultProps.js +0 -12
- package/lib/deprecated/PortalLayer/props/propTypes.js +0 -19
- package/lib/deprecated/advancedMultiSelectVariableJson.js +0 -82
- package/lib/index.js +0 -1245
- package/lib/semantic/Button/Button.js +0 -81
- package/lib/semantic/Button/docs/Button__default.docs.js +0 -43
- package/lib/semantic/Button/props/defaultProps.js +0 -19
- package/lib/semantic/Button/props/propTypes.js +0 -34
- package/lib/semantic/Button/semanticButton.module.css +0 -9
- package/lib/utils/Common.js +0 -391
- package/lib/utils/ContextOptimizer.js +0 -43
- package/lib/utils/__tests__/constructFullName.spec.js +0 -11
- package/lib/utils/__tests__/debounce.spec.js +0 -39
- package/lib/utils/__tests__/getInitial.spec.js +0 -25
- package/lib/utils/constant.js +0 -10
- package/lib/utils/constructFullName.js +0 -25
- package/lib/utils/datetime/common.js +0 -206
- package/lib/utils/debounce.js +0 -25
- package/lib/utils/dropDownUtils.js +0 -491
- package/lib/utils/dummyFunction.js +0 -8
- package/lib/utils/getHTMLFontSize.js +0 -10
- package/lib/utils/getInitial.js +0 -27
- package/lib/utils/scrollTo.js +0 -20
- package/lib/utils/shallowEqual.js +0 -33
|
@@ -1,280 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.Select_propTypes = exports.SelectWithIcon_propTypes = exports.SelectWithAvatar_propTypes = exports.GroupSelect_propTypes = void 0;
|
|
7
|
-
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
8
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
9
|
-
var Select_propTypes = {
|
|
10
|
-
animationStyle: _propTypes["default"].string,
|
|
11
|
-
autoComplete: _propTypes["default"].bool,
|
|
12
|
-
autoSelectDebouneTime: _propTypes["default"].number,
|
|
13
|
-
autoSelectOnType: _propTypes["default"].bool,
|
|
14
|
-
borderColor: _propTypes["default"].oneOf(['transparent', 'default']),
|
|
15
|
-
boxSize: _propTypes["default"].string,
|
|
16
|
-
className: _propTypes["default"].string,
|
|
17
|
-
closePopupOnly: _propTypes["default"].func,
|
|
18
|
-
dataId: _propTypes["default"].string,
|
|
19
|
-
defaultDropBoxPosition: _propTypes["default"].string,
|
|
20
|
-
dropBoxSize: _propTypes["default"].oneOf(['small', 'medium', 'large']),
|
|
21
|
-
emptyMessage: _propTypes["default"].string,
|
|
22
|
-
excludeOptions: _propTypes["default"].array,
|
|
23
|
-
getChildren: _propTypes["default"].func,
|
|
24
|
-
getContainerRef: _propTypes["default"].func,
|
|
25
|
-
getCustomEmptyState: _propTypes["default"].func,
|
|
26
|
-
getFooter: _propTypes["default"].func,
|
|
27
|
-
getNextOptions: _propTypes["default"].func,
|
|
28
|
-
getPopupHandlers: _propTypes["default"].func,
|
|
29
|
-
getRef: _propTypes["default"].func,
|
|
30
|
-
getTargetRef: _propTypes["default"].func,
|
|
31
|
-
i18nKeys: _propTypes["default"].shape({
|
|
32
|
-
loadingText: _propTypes["default"].string,
|
|
33
|
-
emptyText: _propTypes["default"].string,
|
|
34
|
-
noMoreText: _propTypes["default"].string,
|
|
35
|
-
searchEmptyText: _propTypes["default"].string
|
|
36
|
-
}),
|
|
37
|
-
isDefaultSelectValue: _propTypes["default"].bool,
|
|
38
|
-
isDisabled: _propTypes["default"].bool,
|
|
39
|
-
isNextOptions: _propTypes["default"].bool,
|
|
40
|
-
isParentBased: _propTypes["default"].bool,
|
|
41
|
-
isPopupOpen: _propTypes["default"].bool,
|
|
42
|
-
isPopupOpenOnEnter: _propTypes["default"].bool,
|
|
43
|
-
isPopupReady: _propTypes["default"].bool,
|
|
44
|
-
isReadOnly: _propTypes["default"].bool,
|
|
45
|
-
isSearchClearOnClose: _propTypes["default"].bool,
|
|
46
|
-
listItemSize: _propTypes["default"].oneOf(['small', 'medium', 'large']),
|
|
47
|
-
maxLength: _propTypes["default"].string,
|
|
48
|
-
needBorder: _propTypes["default"].bool,
|
|
49
|
-
needCloseOnSelect: _propTypes["default"].bool,
|
|
50
|
-
needListBorder: _propTypes["default"].bool,
|
|
51
|
-
needLocalSearch: _propTypes["default"].bool,
|
|
52
|
-
needResponsive: _propTypes["default"].bool,
|
|
53
|
-
needSearch: _propTypes["default"].bool,
|
|
54
|
-
needSelectDownIcon: _propTypes["default"].bool,
|
|
55
|
-
needTick: _propTypes["default"].bool,
|
|
56
|
-
onAddNewOption: _propTypes["default"].func,
|
|
57
|
-
onChange: _propTypes["default"].func.isRequired,
|
|
58
|
-
onDropBoxClose: _propTypes["default"].func,
|
|
59
|
-
onDropBoxOpen: _propTypes["default"].func,
|
|
60
|
-
onKeyDown: _propTypes["default"].func,
|
|
61
|
-
onSearch: _propTypes["default"].func,
|
|
62
|
-
options: _propTypes["default"].oneOfType([_propTypes["default"].arrayOf(_propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])), _propTypes["default"].arrayOf(_propTypes["default"].shape({
|
|
63
|
-
id: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number]),
|
|
64
|
-
text: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
65
|
-
}))]).isRequired,
|
|
66
|
-
placeHolder: _propTypes["default"].string,
|
|
67
|
-
position: _propTypes["default"].string,
|
|
68
|
-
removeClose: _propTypes["default"].func,
|
|
69
|
-
searchBoxPlaceHolder: _propTypes["default"].string,
|
|
70
|
-
searchBoxSize: _propTypes["default"].string,
|
|
71
|
-
searchDebounceTime: _propTypes["default"].number,
|
|
72
|
-
searchEmptyMessage: _propTypes["default"].string,
|
|
73
|
-
selectedValue: _propTypes["default"].oneOfType([_propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number]), _propTypes["default"].shape({
|
|
74
|
-
id: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number]),
|
|
75
|
-
text: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
76
|
-
})]),
|
|
77
|
-
size: _propTypes["default"].oneOf(['small', 'medium']),
|
|
78
|
-
textBoxSize: _propTypes["default"].string,
|
|
79
|
-
textBoxVariant: _propTypes["default"].string,
|
|
80
|
-
textField: _propTypes["default"].string,
|
|
81
|
-
title: _propTypes["default"].string,
|
|
82
|
-
togglePopup: _propTypes["default"].func,
|
|
83
|
-
valueField: _propTypes["default"].string,
|
|
84
|
-
htmlId: _propTypes["default"].string,
|
|
85
|
-
children: _propTypes["default"].node,
|
|
86
|
-
onFocus: _propTypes["default"].func,
|
|
87
|
-
iconOnHover: _propTypes["default"].bool,
|
|
88
|
-
customProps: _propTypes["default"].shape({
|
|
89
|
-
TextBoxProps: _propTypes["default"].object,
|
|
90
|
-
DropdownSearchTextBoxProps: _propTypes["default"].object,
|
|
91
|
-
listItemProps: _propTypes["default"].object,
|
|
92
|
-
SuggestionsProps: _propTypes["default"].object
|
|
93
|
-
}),
|
|
94
|
-
isLoading: _propTypes["default"].bool
|
|
95
|
-
};
|
|
96
|
-
exports.Select_propTypes = Select_propTypes;
|
|
97
|
-
var GroupSelect_propTypes = {
|
|
98
|
-
groupedOptions: _propTypes["default"].arrayOf(_propTypes["default"].shape({
|
|
99
|
-
id: _propTypes["default"].string.isRequired,
|
|
100
|
-
name: _propTypes["default"].string.isRequired,
|
|
101
|
-
valueField: _propTypes["default"].string,
|
|
102
|
-
textField: _propTypes["default"].string,
|
|
103
|
-
options: _propTypes["default"].oneOfType([_propTypes["default"].arrayOf(_propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])), _propTypes["default"].arrayOf(_propTypes["default"].shape({
|
|
104
|
-
id: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number]),
|
|
105
|
-
text: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
106
|
-
}))])
|
|
107
|
-
})),
|
|
108
|
-
selectedOption: _propTypes["default"].shape({
|
|
109
|
-
groupId: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number]),
|
|
110
|
-
selected: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
111
|
-
}),
|
|
112
|
-
emptyMessage: _propTypes["default"].string.isRequired,
|
|
113
|
-
placeHolder: _propTypes["default"].string,
|
|
114
|
-
onChange: _propTypes["default"].func.isRequired,
|
|
115
|
-
onKeyDown: _propTypes["default"].func,
|
|
116
|
-
searchBoxPlaceHolder: _propTypes["default"].string,
|
|
117
|
-
needSearch: _propTypes["default"].bool,
|
|
118
|
-
searchEmptyMessage: _propTypes["default"].string,
|
|
119
|
-
getRef: _propTypes["default"].func,
|
|
120
|
-
isDisabled: _propTypes["default"].bool,
|
|
121
|
-
isReadOnly: _propTypes["default"].bool,
|
|
122
|
-
needSelectDownIcon: _propTypes["default"].bool,
|
|
123
|
-
isPopupOpenOnEnter: _propTypes["default"].bool,
|
|
124
|
-
maxLength: _propTypes["default"].string,
|
|
125
|
-
needBorder: _propTypes["default"].bool,
|
|
126
|
-
autoSelectOnType: _propTypes["default"].bool,
|
|
127
|
-
autoSelectDebouneTime: _propTypes["default"].number,
|
|
128
|
-
dataId: _propTypes["default"].string,
|
|
129
|
-
dataIdSlctComp: _propTypes["default"].string,
|
|
130
|
-
dataIdDownIcon: _propTypes["default"].string,
|
|
131
|
-
dataIdSrchEmptyMsg: _propTypes["default"].string,
|
|
132
|
-
isNextOptions: _propTypes["default"].bool,
|
|
133
|
-
getNextOptions: _propTypes["default"].func,
|
|
134
|
-
searchDebounceTime: _propTypes["default"].func,
|
|
135
|
-
needLocalSearch: _propTypes["default"].bool,
|
|
136
|
-
onSearch: _propTypes["default"].func,
|
|
137
|
-
isSearchClearOnClose: _propTypes["default"].bool,
|
|
138
|
-
animationStyle: _propTypes["default"].string,
|
|
139
|
-
dropBoxSize: _propTypes["default"].oneOf(['small', 'medium', 'large']),
|
|
140
|
-
defaultDropBoxPosition: _propTypes["default"].oneOf(['bottom', 'top', 'left', 'right']),
|
|
141
|
-
isAnimate: _propTypes["default"].bool,
|
|
142
|
-
onFocus: _propTypes["default"].func,
|
|
143
|
-
size: _propTypes["default"].oneOf(['medium', 'xmedium']),
|
|
144
|
-
textBoxSize: _propTypes["default"].oneOf(['small', 'medium', 'xmedium']),
|
|
145
|
-
title: _propTypes["default"].string,
|
|
146
|
-
variant: _propTypes["default"].string,
|
|
147
|
-
needResponsive: _propTypes["default"].bool,
|
|
148
|
-
className: _propTypes["default"].string,
|
|
149
|
-
textBoxVariant: _propTypes["default"].string,
|
|
150
|
-
searchBoxSize: _propTypes["default"].string,
|
|
151
|
-
borderColor: _propTypes["default"].oneOf(['transparent', 'default']),
|
|
152
|
-
needTick: _propTypes["default"].bool,
|
|
153
|
-
children: _propTypes["default"].node,
|
|
154
|
-
getFooter: _propTypes["default"].func,
|
|
155
|
-
htmlId: _propTypes["default"].string,
|
|
156
|
-
iconOnHover: _propTypes["default"].bool,
|
|
157
|
-
/**** Popup Props ****/
|
|
158
|
-
isPopupOpen: _propTypes["default"].bool,
|
|
159
|
-
isPopupReady: _propTypes["default"].bool,
|
|
160
|
-
togglePopup: _propTypes["default"].func,
|
|
161
|
-
getTargetRef: _propTypes["default"].func,
|
|
162
|
-
getContainerRef: _propTypes["default"].func,
|
|
163
|
-
closePopupOnly: _propTypes["default"].func,
|
|
164
|
-
position: _propTypes["default"].string,
|
|
165
|
-
removeClose: _propTypes["default"].func,
|
|
166
|
-
i18nKeys: _propTypes["default"].shape({
|
|
167
|
-
loadingText: _propTypes["default"].string,
|
|
168
|
-
emptyText: _propTypes["default"].string,
|
|
169
|
-
noMoreText: _propTypes["default"].string,
|
|
170
|
-
searchEmptyText: _propTypes["default"].string
|
|
171
|
-
}),
|
|
172
|
-
isLoading: _propTypes["default"].bool
|
|
173
|
-
};
|
|
174
|
-
exports.GroupSelect_propTypes = GroupSelect_propTypes;
|
|
175
|
-
var SelectWithAvatar_propTypes = {
|
|
176
|
-
animationStyle: _propTypes["default"].string,
|
|
177
|
-
avatarPalette: _propTypes["default"].string,
|
|
178
|
-
borderColor: _propTypes["default"].oneOf(['transparent', 'default']),
|
|
179
|
-
className: _propTypes["default"].string,
|
|
180
|
-
closePopupOnly: _propTypes["default"].func,
|
|
181
|
-
dataId: _propTypes["default"].string,
|
|
182
|
-
defaultDropBoxPosition: _propTypes["default"].oneOf(['bottom', 'top', 'left', 'right']),
|
|
183
|
-
dropBoxSize: _propTypes["default"].oneOf(['small', 'medium', 'large']),
|
|
184
|
-
emptyMessage: _propTypes["default"].string,
|
|
185
|
-
excludeOptions: _propTypes["default"].array,
|
|
186
|
-
getContainerRef: _propTypes["default"].func,
|
|
187
|
-
getNextOptions: _propTypes["default"].func,
|
|
188
|
-
getRef: _propTypes["default"].func,
|
|
189
|
-
groupName: _propTypes["default"].string,
|
|
190
|
-
i18nKeys: _propTypes["default"].shape({
|
|
191
|
-
loadingText: _propTypes["default"].string,
|
|
192
|
-
emptyText: _propTypes["default"].string,
|
|
193
|
-
noMoreText: _propTypes["default"].string,
|
|
194
|
-
searchEmptyText: _propTypes["default"].string
|
|
195
|
-
}),
|
|
196
|
-
isDisabled: _propTypes["default"].bool,
|
|
197
|
-
isNextOptions: _propTypes["default"].bool,
|
|
198
|
-
isPopupOpen: _propTypes["default"].bool,
|
|
199
|
-
isPopupReady: _propTypes["default"].bool,
|
|
200
|
-
isReadOnly: _propTypes["default"].bool,
|
|
201
|
-
isSearchClearOnClose: _propTypes["default"].bool,
|
|
202
|
-
maxLength: _propTypes["default"].string,
|
|
203
|
-
needBorder: _propTypes["default"].bool,
|
|
204
|
-
needLocalSearch: _propTypes["default"].bool,
|
|
205
|
-
needResponsive: _propTypes["default"].bool,
|
|
206
|
-
onChange: _propTypes["default"].func.isRequired,
|
|
207
|
-
onDropBoxClose: _propTypes["default"].func,
|
|
208
|
-
onDropBoxOpen: _propTypes["default"].func,
|
|
209
|
-
onRemove: _propTypes["default"].func,
|
|
210
|
-
onSearch: _propTypes["default"].func,
|
|
211
|
-
options: _propTypes["default"].oneOfType([_propTypes["default"].arrayOf(_propTypes["default"].string), _propTypes["default"].arrayOf(_propTypes["default"].shape({
|
|
212
|
-
id: _propTypes["default"].string,
|
|
213
|
-
text: _propTypes["default"].string,
|
|
214
|
-
photoURL: _propTypes["default"].string
|
|
215
|
-
}))]).isRequired,
|
|
216
|
-
position: _propTypes["default"].string,
|
|
217
|
-
removeClose: _propTypes["default"].func,
|
|
218
|
-
searchDebounceTime: _propTypes["default"].number,
|
|
219
|
-
searchEmptyMessage: _propTypes["default"].string,
|
|
220
|
-
selectedValue: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number]),
|
|
221
|
-
size: _propTypes["default"].oneOf(['small', 'medium']),
|
|
222
|
-
tagSize: _propTypes["default"].string,
|
|
223
|
-
textBoxSize: _propTypes["default"].string,
|
|
224
|
-
textBoxVariant: _propTypes["default"].string,
|
|
225
|
-
textField: _propTypes["default"].string,
|
|
226
|
-
title: _propTypes["default"].string,
|
|
227
|
-
togglePopup: _propTypes["default"].func,
|
|
228
|
-
valueField: _propTypes["default"].string,
|
|
229
|
-
htmlId: _propTypes["default"].string,
|
|
230
|
-
needEffect: _propTypes["default"].bool,
|
|
231
|
-
isLoading: _propTypes["default"].bool
|
|
232
|
-
};
|
|
233
|
-
exports.SelectWithAvatar_propTypes = SelectWithAvatar_propTypes;
|
|
234
|
-
var SelectWithIcon_propTypes = {
|
|
235
|
-
animationStyle: _propTypes["default"].oneOf(['default', 'bounce']),
|
|
236
|
-
borderColor: _propTypes["default"].oneOf(['transparent', 'default']),
|
|
237
|
-
boxPosition: _propTypes["default"].oneOf(['bottomRight', 'bottomLeft', 'bottomCenter', 'topRight', 'topLeft', 'topCenter', 'rightTop', 'rightBottom', 'rightCenter', 'leftTop', 'leftBottom', 'leftCenter']),
|
|
238
|
-
dataId: _propTypes["default"].string,
|
|
239
|
-
dropBoxSize: _propTypes["default"].oneOf(['small', 'medium', 'large']),
|
|
240
|
-
getContainerRef: _propTypes["default"].func,
|
|
241
|
-
getNextOptions: _propTypes["default"].func,
|
|
242
|
-
getTargetRef: _propTypes["default"].func,
|
|
243
|
-
i18nKeys: _propTypes["default"].shape({
|
|
244
|
-
loadingText: _propTypes["default"].string,
|
|
245
|
-
emptyText: _propTypes["default"].string,
|
|
246
|
-
noMoreText: _propTypes["default"].string,
|
|
247
|
-
searchEmptyText: _propTypes["default"].string
|
|
248
|
-
}),
|
|
249
|
-
iconClass: _propTypes["default"].string,
|
|
250
|
-
iconName: _propTypes["default"].string,
|
|
251
|
-
iconSize: _propTypes["default"].string,
|
|
252
|
-
idKey: _propTypes["default"].string,
|
|
253
|
-
isDisabled: _propTypes["default"].bool,
|
|
254
|
-
isNextOptions: _propTypes["default"].bool,
|
|
255
|
-
isPopupOpen: _propTypes["default"].bool,
|
|
256
|
-
isPopupReady: _propTypes["default"].bool,
|
|
257
|
-
isReadOnly: _propTypes["default"].bool,
|
|
258
|
-
maxLength: _propTypes["default"].string,
|
|
259
|
-
needIcon: _propTypes["default"].bool,
|
|
260
|
-
needListBorder: _propTypes["default"].bool,
|
|
261
|
-
needSearch: _propTypes["default"].bool,
|
|
262
|
-
needTick: _propTypes["default"].bool,
|
|
263
|
-
onChange: _propTypes["default"].func,
|
|
264
|
-
options: _propTypes["default"].array,
|
|
265
|
-
placeHolder: _propTypes["default"].string,
|
|
266
|
-
position: _propTypes["default"].string,
|
|
267
|
-
removeClose: _propTypes["default"].func,
|
|
268
|
-
searchBoxPlaceHolder: _propTypes["default"].string,
|
|
269
|
-
searchEmptyMessage: _propTypes["default"].string,
|
|
270
|
-
selectedId: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number]),
|
|
271
|
-
selectedValue: _propTypes["default"].string,
|
|
272
|
-
size: _propTypes["default"].oneOf(['small', 'medium']),
|
|
273
|
-
textBoxSize: _propTypes["default"].oneOf(['small', 'medium', 'xmedium']),
|
|
274
|
-
textBoxVariant: _propTypes["default"].oneOf(['primary', 'secondary', 'default']),
|
|
275
|
-
togglePopup: _propTypes["default"].func,
|
|
276
|
-
valueKey: _propTypes["default"].string,
|
|
277
|
-
htmlId: _propTypes["default"].string,
|
|
278
|
-
isLoading: _propTypes["default"].bool
|
|
279
|
-
};
|
|
280
|
-
exports.SelectWithIcon_propTypes = SelectWithIcon_propTypes;
|
package/lib/Stencils/Stencils.js
DELETED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports["default"] = void 0;
|
|
8
|
-
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
var _defaultProps = require("./props/defaultProps");
|
|
10
|
-
var _propTypes = require("./props/propTypes");
|
|
11
|
-
var _StencilsModule = _interopRequireDefault(require("./Stencils.module.css"));
|
|
12
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
13
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
14
|
-
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); } }
|
|
15
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
16
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
17
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
18
|
-
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
19
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
20
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
21
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
22
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
23
|
-
var Stencils = /*#__PURE__*/function (_React$PureComponent) {
|
|
24
|
-
_inherits(Stencils, _React$PureComponent);
|
|
25
|
-
var _super = _createSuper(Stencils);
|
|
26
|
-
function Stencils() {
|
|
27
|
-
_classCallCheck(this, Stencils);
|
|
28
|
-
return _super.apply(this, arguments);
|
|
29
|
-
}
|
|
30
|
-
_createClass(Stencils, [{
|
|
31
|
-
key: "render",
|
|
32
|
-
value: function render() {
|
|
33
|
-
var _this$props = this.props,
|
|
34
|
-
shape = _this$props.shape,
|
|
35
|
-
size = _this$props.size,
|
|
36
|
-
palette = _this$props.palette,
|
|
37
|
-
customClass = _this$props.customClass;
|
|
38
|
-
size = shape === 'rect' ? _StencilsModule["default"][size] : _StencilsModule["default"]["c".concat(size)];
|
|
39
|
-
shape = shape === 'rect' ? _StencilsModule["default"].rectangular : _StencilsModule["default"].circle;
|
|
40
|
-
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
41
|
-
className: "".concat(_StencilsModule["default"].container, " ").concat(shape, " ").concat(size, " ").concat(_StencilsModule["default"][palette], " ").concat(customClass)
|
|
42
|
-
});
|
|
43
|
-
}
|
|
44
|
-
}]);
|
|
45
|
-
return Stencils;
|
|
46
|
-
}(_react["default"].PureComponent);
|
|
47
|
-
exports["default"] = Stencils;
|
|
48
|
-
Stencils.propTypes = _propTypes.propTypes;
|
|
49
|
-
Stencils.defaultProps = _defaultProps.defaultProps;
|
|
50
|
-
if (false) {
|
|
51
|
-
Stencils.docs = {
|
|
52
|
-
componentGroup: 'Atom',
|
|
53
|
-
folderName: 'Style Guide',
|
|
54
|
-
description: ' ',
|
|
55
|
-
external: true
|
|
56
|
-
};
|
|
57
|
-
}
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
.varClass {
|
|
2
|
-
/* stencils default variables */
|
|
3
|
-
--stencil_height: var(--zd_size9);
|
|
4
|
-
--stencil_width: 100%;
|
|
5
|
-
--stencil_border_radius: var(--zd_size5);
|
|
6
|
-
}
|
|
7
|
-
.container {
|
|
8
|
-
composes: varClass;
|
|
9
|
-
height: var(--stencil_height);
|
|
10
|
-
width: var(--stencil_width);
|
|
11
|
-
border-radius: var(--stencil_border_radius);
|
|
12
|
-
}
|
|
13
|
-
.stencil {
|
|
14
|
-
background-size: 800px 1px;
|
|
15
|
-
}
|
|
16
|
-
[dir=ltr] .stencil {
|
|
17
|
-
animation-name: placeHolderShimmer-ltr ;
|
|
18
|
-
animation-fill-mode: forwards;
|
|
19
|
-
animation-iteration-count: infinite;
|
|
20
|
-
animation-duration: var(--zd_transition10);
|
|
21
|
-
animation-timing-function: linear;
|
|
22
|
-
}
|
|
23
|
-
[dir=rtl] .stencil {
|
|
24
|
-
animation-name: placeHolderShimmer-rtl ;
|
|
25
|
-
animation-fill-mode: forwards;
|
|
26
|
-
animation-iteration-count: infinite;
|
|
27
|
-
animation-duration: var(--zd_transition10);
|
|
28
|
-
animation-timing-function: linear;
|
|
29
|
-
}
|
|
30
|
-
@keyframes placeHolderShimmer-ltr {
|
|
31
|
-
0% {
|
|
32
|
-
background-position: calc(var(--zd_size468) * -1) 0;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
100% {
|
|
36
|
-
background-position: var(--zd_size468) 0;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
@keyframes placeHolderShimmer-rtl {
|
|
40
|
-
0% {
|
|
41
|
-
background-position: calc(100% - (var(--zd_size468) * -1)) 0;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
100% {
|
|
45
|
-
background-position: var(--zd_size468) 100%;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.rectangular {
|
|
50
|
-
composes: stencil;
|
|
51
|
-
--stencil_height: var(--zd_size9);
|
|
52
|
-
--stencil_border_radius: var(--zd_size5);
|
|
53
|
-
}
|
|
54
|
-
.primary {
|
|
55
|
-
background-color: var(--zdt_stencil_primary_bg);
|
|
56
|
-
background-image: var(--zdt_stencil_primary_gradient_bg);
|
|
57
|
-
}
|
|
58
|
-
.secondary {
|
|
59
|
-
background-color: var(--zdt_stencil_secondary_bg);
|
|
60
|
-
background-image: var(--zdt_stencil_secondary_gradient_bg);
|
|
61
|
-
}
|
|
62
|
-
.dark {
|
|
63
|
-
background-color: var(--zdt_stencil_dark_bg);
|
|
64
|
-
background-image: var(--zdt_stencil_dark_gradient_bg);
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.small {
|
|
68
|
-
--stencil_width: var(--zd_size110);
|
|
69
|
-
}
|
|
70
|
-
.default {
|
|
71
|
-
--stencil_width: 100%;
|
|
72
|
-
}
|
|
73
|
-
.medium {
|
|
74
|
-
--stencil_width: var(--zd_size170);
|
|
75
|
-
}
|
|
76
|
-
.large {
|
|
77
|
-
--stencil_width: var(--zd_size220);
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
.circle {
|
|
81
|
-
composes: stencil;
|
|
82
|
-
--stencil_border_radius: 50%;
|
|
83
|
-
}
|
|
84
|
-
.clarge {
|
|
85
|
-
--stencil_width: var(--zd_size42);
|
|
86
|
-
--stencil_height: var(--zd_size42);
|
|
87
|
-
}
|
|
88
|
-
.cmedium,
|
|
89
|
-
.cdefault {
|
|
90
|
-
--stencil_width: var(--zd_size30);
|
|
91
|
-
--stencil_height: var(--zd_size30);
|
|
92
|
-
}
|
|
93
|
-
.csmall {
|
|
94
|
-
--stencil_width: var(--zd_size20);
|
|
95
|
-
--stencil_height: var(--zd_size20);
|
|
96
|
-
}
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _react = _interopRequireDefault(require("react"));
|
|
4
|
-
var _Stencils = _interopRequireDefault(require("../Stencils"));
|
|
5
|
-
var _reactTestRenderer = _interopRequireDefault(require("react-test-renderer"));
|
|
6
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
7
|
-
describe('Stencils component', function () {
|
|
8
|
-
it('should the palette is primary', function () {
|
|
9
|
-
var ele = _reactTestRenderer["default"].create( /*#__PURE__*/_react["default"].createElement(_Stencils["default"], {
|
|
10
|
-
palette: "primary"
|
|
11
|
-
}));
|
|
12
|
-
var tree = ele.toJSON();
|
|
13
|
-
expect(tree).toMatchSnapshot();
|
|
14
|
-
});
|
|
15
|
-
it('should the palette is secondary', function () {
|
|
16
|
-
var ele = _reactTestRenderer["default"].create( /*#__PURE__*/_react["default"].createElement(_Stencils["default"], {
|
|
17
|
-
palette: "secondary"
|
|
18
|
-
}));
|
|
19
|
-
var tree = ele.toJSON();
|
|
20
|
-
expect(tree).toMatchSnapshot();
|
|
21
|
-
});
|
|
22
|
-
it('should the size is small', function () {
|
|
23
|
-
var ele = _reactTestRenderer["default"].create( /*#__PURE__*/_react["default"].createElement(_Stencils["default"], {
|
|
24
|
-
palette: "default",
|
|
25
|
-
size: "small"
|
|
26
|
-
}));
|
|
27
|
-
var tree = ele.toJSON();
|
|
28
|
-
expect(tree).toMatchSnapshot();
|
|
29
|
-
});
|
|
30
|
-
it('should the size is medium', function () {
|
|
31
|
-
var ele = _reactTestRenderer["default"].create( /*#__PURE__*/_react["default"].createElement(_Stencils["default"], {
|
|
32
|
-
palette: "default",
|
|
33
|
-
size: "small"
|
|
34
|
-
}));
|
|
35
|
-
var tree = ele.toJSON();
|
|
36
|
-
expect(tree).toMatchSnapshot();
|
|
37
|
-
});
|
|
38
|
-
it('should the size is large', function () {
|
|
39
|
-
var ele = _reactTestRenderer["default"].create( /*#__PURE__*/_react["default"].createElement(_Stencils["default"], {
|
|
40
|
-
palette: "default",
|
|
41
|
-
size: "large"
|
|
42
|
-
}));
|
|
43
|
-
var tree = ele.toJSON();
|
|
44
|
-
expect(tree).toMatchSnapshot();
|
|
45
|
-
});
|
|
46
|
-
it('should the size is default', function () {
|
|
47
|
-
var ele = _reactTestRenderer["default"].create( /*#__PURE__*/_react["default"].createElement(_Stencils["default"], {
|
|
48
|
-
palette: "default",
|
|
49
|
-
size: "default"
|
|
50
|
-
}));
|
|
51
|
-
var tree = ele.toJSON();
|
|
52
|
-
expect(tree).toMatchSnapshot();
|
|
53
|
-
});
|
|
54
|
-
it('should the shape is rect', function () {
|
|
55
|
-
var ele = _reactTestRenderer["default"].create( /*#__PURE__*/_react["default"].createElement(_Stencils["default"], {
|
|
56
|
-
palette: "default",
|
|
57
|
-
shape: "rect",
|
|
58
|
-
size: "default"
|
|
59
|
-
}));
|
|
60
|
-
var tree = ele.toJSON();
|
|
61
|
-
expect(tree).toMatchSnapshot();
|
|
62
|
-
});
|
|
63
|
-
it('should the shape is circle', function () {
|
|
64
|
-
var ele = _reactTestRenderer["default"].create( /*#__PURE__*/_react["default"].createElement(_Stencils["default"], {
|
|
65
|
-
palette: "default",
|
|
66
|
-
shape: "circle",
|
|
67
|
-
size: "default"
|
|
68
|
-
}));
|
|
69
|
-
var tree = ele.toJSON();
|
|
70
|
-
expect(tree).toMatchSnapshot();
|
|
71
|
-
});
|
|
72
|
-
});
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
-
|
|
3
|
-
exports[`Stencils component should the palette is primary 1`] = `
|
|
4
|
-
<div
|
|
5
|
-
className="rectangular medium primary"
|
|
6
|
-
/>
|
|
7
|
-
`;
|
|
8
|
-
|
|
9
|
-
exports[`Stencils component should the palette is secondary 1`] = `
|
|
10
|
-
<div
|
|
11
|
-
className="rectangular medium secondary"
|
|
12
|
-
/>
|
|
13
|
-
`;
|
|
14
|
-
|
|
15
|
-
exports[`Stencils component should the shape is circle 1`] = `
|
|
16
|
-
<div
|
|
17
|
-
className="circle cdefault default"
|
|
18
|
-
/>
|
|
19
|
-
`;
|
|
20
|
-
|
|
21
|
-
exports[`Stencils component should the shape is rect 1`] = `
|
|
22
|
-
<div
|
|
23
|
-
className="rectangular default default"
|
|
24
|
-
/>
|
|
25
|
-
`;
|
|
26
|
-
|
|
27
|
-
exports[`Stencils component should the size is default 1`] = `
|
|
28
|
-
<div
|
|
29
|
-
className="rectangular default default"
|
|
30
|
-
/>
|
|
31
|
-
`;
|
|
32
|
-
|
|
33
|
-
exports[`Stencils component should the size is large 1`] = `
|
|
34
|
-
<div
|
|
35
|
-
className="rectangular large default"
|
|
36
|
-
/>
|
|
37
|
-
`;
|
|
38
|
-
|
|
39
|
-
exports[`Stencils component should the size is medium 1`] = `
|
|
40
|
-
<div
|
|
41
|
-
className="rectangular small default"
|
|
42
|
-
/>
|
|
43
|
-
`;
|
|
44
|
-
|
|
45
|
-
exports[`Stencils component should the size is small 1`] = `
|
|
46
|
-
<div
|
|
47
|
-
className="rectangular small default"
|
|
48
|
-
/>
|
|
49
|
-
`;
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports["default"] = void 0;
|
|
8
|
-
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
var _Stencils = _interopRequireDefault(require("../Stencils"));
|
|
10
|
-
var _docStyleModule = _interopRequireDefault(require("../../common/docStyle.module.css"));
|
|
11
|
-
var _CodeExtractor = _interopRequireDefault(require("@zohodesk/docstool/lib/CodeExtractor/CodeExtractor"));
|
|
12
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
13
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
14
|
-
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); } }
|
|
15
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
16
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
17
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
18
|
-
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
19
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
20
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
21
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
22
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
23
|
-
var Stencils__custom = /*#__PURE__*/function (_React$Component) {
|
|
24
|
-
_inherits(Stencils__custom, _React$Component);
|
|
25
|
-
var _super = _createSuper(Stencils__custom);
|
|
26
|
-
function Stencils__custom() {
|
|
27
|
-
_classCallCheck(this, Stencils__custom);
|
|
28
|
-
return _super.apply(this, arguments);
|
|
29
|
-
}
|
|
30
|
-
_createClass(Stencils__custom, [{
|
|
31
|
-
key: "render",
|
|
32
|
-
value: function render() {
|
|
33
|
-
return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement("div", {
|
|
34
|
-
className: _docStyleModule["default"].m10
|
|
35
|
-
}, /*#__PURE__*/_react["default"].createElement(_CodeExtractor["default"], null, /*#__PURE__*/_react["default"].createElement(_Stencils["default"], {
|
|
36
|
-
customClass: _docStyleModule["default"].squareStencil,
|
|
37
|
-
size: "small"
|
|
38
|
-
}))), /*#__PURE__*/_react["default"].createElement("div", {
|
|
39
|
-
className: _docStyleModule["default"].m10
|
|
40
|
-
}, /*#__PURE__*/_react["default"].createElement(_CodeExtractor["default"], null, /*#__PURE__*/_react["default"].createElement(_Stencils["default"], {
|
|
41
|
-
customClass: _docStyleModule["default"].squareStencil,
|
|
42
|
-
size: "medium"
|
|
43
|
-
}))), /*#__PURE__*/_react["default"].createElement("div", {
|
|
44
|
-
className: _docStyleModule["default"].m10
|
|
45
|
-
}, /*#__PURE__*/_react["default"].createElement(_CodeExtractor["default"], null, /*#__PURE__*/_react["default"].createElement(_Stencils["default"], {
|
|
46
|
-
customClass: _docStyleModule["default"].customStencil,
|
|
47
|
-
size: "large"
|
|
48
|
-
}))), /*#__PURE__*/_react["default"].createElement("div", {
|
|
49
|
-
className: _docStyleModule["default"].m10
|
|
50
|
-
}, /*#__PURE__*/_react["default"].createElement(_CodeExtractor["default"], null, /*#__PURE__*/_react["default"].createElement(_Stencils["default"], {
|
|
51
|
-
customClass: _docStyleModule["default"].customStencil,
|
|
52
|
-
size: "default"
|
|
53
|
-
}))), /*#__PURE__*/_react["default"].createElement("div", {
|
|
54
|
-
className: _docStyleModule["default"].m10
|
|
55
|
-
}, /*#__PURE__*/_react["default"].createElement(_CodeExtractor["default"], null, /*#__PURE__*/_react["default"].createElement(_Stencils["default"], {
|
|
56
|
-
customClass: _docStyleModule["default"].customStencil,
|
|
57
|
-
shape: "circle",
|
|
58
|
-
size: "small"
|
|
59
|
-
}))));
|
|
60
|
-
}
|
|
61
|
-
}]);
|
|
62
|
-
return Stencils__custom;
|
|
63
|
-
}(_react["default"].Component);
|
|
64
|
-
exports["default"] = Stencils__custom;
|
|
65
|
-
if (false) {
|
|
66
|
-
Stencils__custom.docs = {
|
|
67
|
-
componentGroup: 'Atom',
|
|
68
|
-
folderName: 'Style Guide',
|
|
69
|
-
description: ' ',
|
|
70
|
-
external: true
|
|
71
|
-
};
|
|
72
|
-
}
|