@zohodesk/components 1.0.0-temp-48 → 1.0.0-temp-49
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 +48 -0
- package/assets/Appearance/dark/mode/darkMode.module.css +358 -0
- package/assets/Appearance/dark/themes/blue/blueDarkCTATheme.module.css +34 -0
- package/assets/Appearance/dark/themes/blue/blueDarkComponentTheme.module.css +42 -0
- package/assets/Appearance/dark/themes/green/greenDarkCTATheme.module.css +34 -0
- package/assets/Appearance/dark/themes/green/greenDarkComponentTheme.module.css +42 -0
- package/assets/Appearance/dark/themes/orange/orangeDarkCTATheme.module.css +34 -0
- package/assets/Appearance/dark/themes/orange/orangeDarkComponentTheme.module.css +42 -0
- package/assets/Appearance/dark/themes/red/redDarkCTATheme.module.css +34 -0
- package/assets/Appearance/dark/themes/red/redDarkComponentTheme.module.css +42 -0
- package/assets/Appearance/dark/themes/yellow/yellowDarkCTATheme.module.css +34 -0
- package/assets/Appearance/dark/themes/yellow/yellowDarkComponentTheme.module.css +42 -0
- package/assets/Appearance/default/mode/defaultMode.module.css +358 -0
- package/assets/Appearance/default/themes/blue/blueDefaultCTATheme.module.css +34 -0
- package/assets/Appearance/default/themes/blue/blueDefaultComponentTheme.module.css +42 -0
- package/assets/Appearance/default/themes/green/greenDefaultCTATheme.module.css +34 -0
- package/assets/Appearance/default/themes/green/greenDefaultComponentTheme.module.css +42 -0
- package/assets/Appearance/default/themes/orange/orangeDefaultCTATheme.module.css +34 -0
- package/assets/Appearance/default/themes/orange/orangeDefaultComponentTheme.module.css +42 -0
- package/assets/Appearance/default/themes/red/redDefaultCTATheme.module.css +34 -0
- package/assets/Appearance/default/themes/red/redDefaultComponentTheme.module.css +42 -0
- package/assets/Appearance/default/themes/yellow/yellowDefaultCTATheme.module.css +34 -0
- package/assets/Appearance/default/themes/yellow/yellowDefaultComponentTheme.module.css +42 -0
- package/es/Animation/Animation.js +7 -8
- package/es/AppContainer/AppContainer.js +52 -11
- package/es/Avatar/Avatar.js +10 -10
- package/es/Button/Button.js +17 -17
- package/es/Button/Button.module.css +6 -2
- package/es/Card/Card.js +4 -5
- package/es/Card/Card.module.css +3 -3
- package/es/DateTime/DateWidget.module.css +0 -4
- package/es/DropBox/DropBox.js +2 -2
- package/es/ListItem/ListContainer.js +118 -0
- package/es/ListItem/ListItem.js +23 -31
- package/es/ListItem/ListItemWithAvatar.js +21 -27
- package/es/ListItem/ListItemWithCheckBox.js +23 -29
- package/es/ListItem/ListItemWithIcon.js +26 -26
- package/es/ListItem/ListItemWithRadio.js +24 -31
- package/es/MultiSelect/AdvancedGroupMultiSelect.js +7 -4
- package/es/MultiSelect/AdvancedMultiSelect.js +21 -7
- package/es/MultiSelect/AdvancedMultiSelect.module.css +8 -8
- package/es/MultiSelect/MultiSelect.js +26 -8
- package/es/MultiSelect/MultiSelect.module.css +8 -13
- package/es/MultiSelect/MultiSelectWithAvatar.js +6 -3
- package/es/MultiSelect/SelectedOptions.js +3 -2
- package/es/PopOver/PopOver.js +19 -20
- package/es/PopOver/PopOver.module.css +1 -1
- package/es/Popup/Popup.js +1 -1
- package/es/Provider/Config.js +2 -1
- package/es/Provider.js +22 -22
- package/es/Radio/Radio.js +1 -2
- package/es/Radio/Radio.module.css +2 -2
- package/es/Responsive/ResizeComponent.js +1 -1
- package/es/Ribbon/Ribbon.js +8 -8
- package/es/RippleEffect/RippleEffect.js +7 -4
- package/es/RippleEffect/RippleEffect.module.css +3 -0
- package/es/Select/Select.js +14 -0
- package/es/Select/Select.module.css +1 -1
- package/es/Select/SelectWithAvatar.js +7 -4
- package/es/Stencils/Stencils.js +5 -6
- package/es/Stencils/Stencils.module.css +4 -14
- package/es/Tab/Tabs.js +14 -2
- package/es/Tag/Tag.js +10 -4
- package/es/Tag/Tag.module.css +14 -11
- package/es/TextBoxIcon/TextBoxIcon.js +1 -1
- package/es/TextBoxIcon/TextBoxIcon.module.css +5 -2
- package/es/VelocityAnimation/VelocityAnimation/VelocityAnimation.js +1 -1
- package/es/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +1 -1
- package/es/common/docStyle.module.css +9 -9
- package/es/utils/dropDownUtils.js +39 -1
- package/lib/Animation/Animation.js +7 -8
- package/lib/AppContainer/AppContainer.js +61 -12
- package/lib/Avatar/Avatar.js +10 -10
- package/lib/Button/Button.js +17 -17
- package/lib/Button/Button.module.css +6 -2
- package/lib/Card/Card.js +4 -5
- package/lib/Card/Card.module.css +3 -3
- package/lib/DateTime/DateWidget.module.css +0 -4
- package/lib/DropBox/DropBox.js +6 -2
- package/lib/ListItem/ListContainer.js +127 -0
- package/lib/ListItem/ListItem.js +25 -32
- package/lib/ListItem/ListItemWithAvatar.js +23 -28
- package/lib/ListItem/ListItemWithCheckBox.js +24 -27
- package/lib/ListItem/ListItemWithIcon.js +27 -26
- package/lib/ListItem/ListItemWithRadio.js +26 -27
- package/lib/MultiSelect/AdvancedGroupMultiSelect.js +7 -4
- package/lib/MultiSelect/AdvancedMultiSelect.js +21 -6
- package/lib/MultiSelect/AdvancedMultiSelect.module.css +8 -8
- package/lib/MultiSelect/MultiSelect.js +25 -7
- package/lib/MultiSelect/MultiSelect.module.css +8 -13
- package/lib/MultiSelect/MultiSelectWithAvatar.js +6 -3
- package/lib/MultiSelect/SelectedOptions.js +3 -2
- package/lib/PopOver/PopOver.js +19 -20
- package/lib/PopOver/PopOver.module.css +1 -1
- package/lib/Popup/Popup.js +32 -29
- package/lib/Provider/Config.js +2 -1
- package/lib/Provider.js +22 -22
- package/lib/Radio/Radio.js +1 -3
- package/lib/Radio/Radio.module.css +2 -2
- package/lib/Responsive/ResizeComponent.js +1 -1
- package/lib/Ribbon/Ribbon.js +8 -8
- package/lib/RippleEffect/RippleEffect.js +7 -4
- package/lib/RippleEffect/RippleEffect.module.css +3 -0
- package/lib/Select/Select.js +16 -2
- package/lib/Select/Select.module.css +1 -1
- package/lib/Select/SelectWithAvatar.js +7 -4
- package/lib/Stencils/Stencils.js +5 -6
- package/lib/Stencils/Stencils.module.css +4 -14
- package/lib/Tab/Tabs.js +13 -2
- package/lib/Tag/Tag.js +10 -4
- package/lib/Tag/Tag.module.css +14 -11
- package/lib/TextBoxIcon/TextBoxIcon.js +1 -1
- package/lib/TextBoxIcon/TextBoxIcon.module.css +5 -2
- package/lib/VelocityAnimation/VelocityAnimation/VelocityAnimation.js +5 -3
- package/lib/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +5 -3
- package/lib/common/docStyle.module.css +9 -9
- package/lib/utils/dropDownUtils.js +45 -2
- package/package.json +13 -9
- package/README_Beta.md +0 -2
- package/__testUtils__/globals.js +0 -46
- package/__testUtils__/moduleMapKey.json +0 -138
- package/dubFinder.js +0 -96
- package/es/Accordion/docs/Accordion__Demo.docs.js +0 -80
- package/es/Animation/docs/Animation__default.docs.js +0 -34
- package/es/Animation/docs/Animation__fadeIn.docs.js +0 -34
- package/es/Animation/docs/Animation__scaleIn.docs.js +0 -34
- package/es/Animation/docs/Animation__skewIn.docs.js +0 -34
- package/es/Animation/docs/Animation__slideDown.docs.js +0 -34
- package/es/Animation/docs/Animation__slideLeft.docs.js +0 -34
- package/es/Animation/docs/Animation__zoomIn.docs.js +0 -34
- package/es/AppContainer/docs/AppContainer__default.docs.js +0 -20
- package/es/Appearance/dark/mode/darkMode.module.css +0 -393
- package/es/Appearance/dark/themes/blue/blueDarkCTATheme.module.css +0 -34
- package/es/Appearance/dark/themes/blue/blueDarkComponentTheme.module.css +0 -48
- package/es/Appearance/dark/themes/green/greenDarkCTATheme.module.css +0 -34
- package/es/Appearance/dark/themes/green/greenDarkComponentTheme.module.css +0 -48
- package/es/Appearance/dark/themes/orange/orangeDarkCTATheme.module.css +0 -34
- package/es/Appearance/dark/themes/orange/orangeDarkComponentTheme.module.css +0 -48
- package/es/Appearance/dark/themes/red/redDarkCTATheme.module.css +0 -34
- package/es/Appearance/dark/themes/red/redDarkComponentTheme.module.css +0 -48
- package/es/Appearance/dark/themes/yellow/yellowDarkCTATheme.module.css +0 -34
- package/es/Appearance/dark/themes/yellow/yellowDarkComponentTheme.module.css +0 -48
- package/es/Appearance/default/mode/defaultMode.module.css +0 -395
- package/es/Appearance/default/themes/blue/blueDefaultCTATheme.module.css +0 -34
- package/es/Appearance/default/themes/blue/blueDefaultComponentTheme.module.css +0 -48
- package/es/Appearance/default/themes/green/greenDefaultCTATheme.module.css +0 -34
- package/es/Appearance/default/themes/green/greenDefaultComponentTheme.module.css +0 -48
- package/es/Appearance/default/themes/orange/orangeDefaultCTATheme.module.css +0 -34
- package/es/Appearance/default/themes/orange/orangeDefaultComponentTheme.module.css +0 -48
- package/es/Appearance/default/themes/red/redDefaultCTATheme.module.css +0 -34
- package/es/Appearance/default/themes/red/redDefaultComponentTheme.module.css +0 -48
- package/es/Appearance/default/themes/yellow/yellowDefaultCTATheme.module.css +0 -34
- package/es/Appearance/default/themes/yellow/yellowDefaultComponentTheme.module.css +0 -48
- package/es/Avatar/docs/Avatar__custom.docs.js +0 -29
- package/es/Avatar/docs/Avatar__default.docs.js +0 -29
- package/es/Avatar/docs/Avatar__palette.docs.js +0 -49
- package/es/Avatar/docs/Avatar__text.docs.js +0 -28
- package/es/AvatarTeam/docs/AvatarTeam__custom.docs.js +0 -73
- package/es/AvatarTeam/docs/AvatarTeam__default.docs.js +0 -31
- package/es/AvatarTeam/docs/AvatarTeam__palette.docs.js +0 -50
- package/es/AvatarTeam/docs/AvatarTeam__size.docs.js +0 -49
- package/es/Button/docs/Button__custom.docs.js +0 -771
- package/es/Button/docs/Button__default.docs.js +0 -536
- package/es/Buttongroup/docs/Buttongroup__custom.docs.js +0 -37
- package/es/Buttongroup/docs/Buttongroup__footer.docs.js +0 -33
- package/es/Buttongroup/docs/Buttongroup__header.docs.js +0 -42
- package/es/Card/docs/Card__Custom.docs.js +0 -34
- package/es/Card/docs/Card__Default.docs.js +0 -37
- package/es/Card/docs/Card__Scroll.docs.js +0 -59
- package/es/CheckBox/docs/CheckBox__custom.docs.js +0 -293
- package/es/CheckBox/docs/CheckBox__default.docs.js +0 -219
- package/es/DateTime/docs/DateTime__default.docs.js +0 -91
- package/es/DateTime/docs/DateWidget__default.docs.js +0 -183
- package/es/DateTime/docs/timezonedata.json +0 -1
- package/es/DropBox/docs/DropBox__custom.docs.js +0 -66
- package/es/DropBox/docs/DropBox__customOrder.docs.js +0 -92
- package/es/DropBox/docs/DropBox__fixedPosition.docs.js +0 -91
- package/es/DropBox/docs/DropBox__position.docs.js +0 -87
- package/es/DropBox/docs/DropBox__size.docs.js +0 -61
- package/es/DropDown/docs/DropDownHeading__custom.docs.js +0 -23
- package/es/DropDown/docs/DropDownHeading__default.docs.js +0 -21
- package/es/Label/docs/Label__clipped.docs.js +0 -27
- package/es/Label/docs/Label__custom.docs.js +0 -30
- package/es/Label/docs/Label__palette.docs.js +0 -42
- package/es/Label/docs/Label__size.docs.js +0 -29
- package/es/Label/docs/Label__type.docs.js +0 -37
- package/es/Layout/docs/Layout__Hidden.docs.js +0 -77
- package/es/Layout/docs/Layout__default.docs.js +0 -49
- package/es/Layout/docs/Layout__four_Column.docs.js +0 -85
- package/es/Layout/docs/Layout__three_Column.docs.js +0 -76
- package/es/Layout/docs/Layout__two_Column.docs.js +0 -69
- package/es/LightNightMode/docs/AlternativeColors.docs.js +0 -74
- package/es/ListItem/docs/ListItemWithAvatar__custom.docs.js +0 -155
- package/es/ListItem/docs/ListItemWithAvatar__default.docs.js +0 -112
- package/es/ListItem/docs/ListItemWithCheckBox__custom.docs.js +0 -91
- package/es/ListItem/docs/ListItemWithCheckBox__default.docs.js +0 -65
- package/es/ListItem/docs/ListItemWithIcon__custom.docs.js +0 -68
- package/es/ListItem/docs/ListItemWithIcon__default.docs.js +0 -62
- package/es/ListItem/docs/ListItemWithRadio__custom.docs.js +0 -91
- package/es/ListItem/docs/ListItemWithRadio__default.docs.js +0 -65
- package/es/ListItem/docs/ListItem__custom.docs.js +0 -114
- package/es/ListItem/docs/ListItem__default.docs.js +0 -82
- package/es/MultiSelect/docs/AdvancedGroupMultiSelect__default.docs.js +0 -125
- package/es/MultiSelect/docs/AdvancedMultiSelect__default.docs.js +0 -114
- package/es/MultiSelect/docs/MultiSelectWithAvatar__default.docs.js +0 -141
- package/es/MultiSelect/docs/MultiSelect__default.docs.js +0 -161
- package/es/PopOver/docs/PopOver__default.docs.js +0 -32
- package/es/Provider/docs/Provider_Id__Class.docs.js +0 -29
- package/es/Provider/docs/Provider_Id__Function.docs.js +0 -18
- package/es/Provider/docs/Provider_Zindex__Class.docs.js +0 -32
- package/es/Provider/docs/Provider_Zindex__Function.docs.js +0 -23
- package/es/Radio/docs/Radio__custom.docs.js +0 -245
- package/es/Radio/docs/Radio__default.docs.js +0 -169
- package/es/Responsive/docs/Responsive__Custom.docs.js +0 -206
- package/es/Responsive/docs/Responsive__default.docs.js +0 -97
- package/es/Responsive/docs/style.module.css +0 -56
- package/es/Ribbon/docs/Ribbon__custom.docs.js +0 -386
- package/es/Ribbon/docs/Ribbon__default.docs.js +0 -342
- package/es/RippleEffect/docs/RippleEffect__default.docs.js +0 -435
- package/es/Select/docs/GroupSelect__default.docs.js +0 -149
- package/es/Select/docs/SelectWithAvatar__default.docs.js +0 -97
- package/es/Select/docs/SelectWithIcon__default.docs.js +0 -138
- package/es/Select/docs/Select__default.docs.js +0 -288
- package/es/Stencils/docs/Stencils__custom.docs.js +0 -45
- package/es/Stencils/docs/Stencils__default.docs.js +0 -50
- package/es/Switch/docs/Switch__custom.docs.js +0 -153
- package/es/Switch/docs/Switch__default.docs.js +0 -107
- package/es/Tab/docs/Tab__default.docs.js +0 -258
- package/es/Tab/docs/tabdocs.module.css +0 -29
- package/es/Tag/docs/Tag__custom.docs.js +0 -368
- package/es/Tag/docs/Tag__default.docs.js +0 -253
- package/es/TextBox/docs/TextBox__custom.docs.js +0 -43
- package/es/TextBox/docs/TextBox__default.docs.js +0 -40
- package/es/TextBox/docs/TextBox__size.docs.js +0 -38
- package/es/TextBox/docs/TextBox__variant.docs.js +0 -38
- package/es/TextBoxIcon/docs/TextBoxIcon__custom.docs.js +0 -89
- package/es/TextBoxIcon/docs/TextBoxIcon__default.docs.js +0 -61
- package/es/Textarea/docs/Textarea__animated.docs.js +0 -41
- package/es/Textarea/docs/Textarea__custom.docs.js +0 -82
- package/es/Textarea/docs/Textarea__default.docs.js +0 -76
- package/es/Textarea/docs/Textarea__disabled.docs.js +0 -29
- package/es/Tooltip/docs/Tooltip__default.docs.js +0 -332
- package/es/VelocityAnimation/VelocityAnimation/docs/VelocityAnimation__demo.docs.js +0 -97
- package/es/VelocityAnimation/VelocityAnimationGroup/docs/VelocityAnimationGroup__demo.docs.js +0 -150
- package/es/a11y/FocusScope/docs/FocusScope__default.docs.js +0 -139
- package/es/beta/FocusRing/docs/FocusRing__default.docs.js +0 -48
- package/es/deprecated/PortalLayer/docs/PortalLayer__default.docs.js +0 -72
- package/es/semantic/Button/docs/Button__default.docs.js +0 -20
- package/externalDocsBuild.js +0 -21
- package/lib/Accordion/docs/Accordion__Demo.docs.js +0 -126
- package/lib/Animation/docs/Animation__default.docs.js +0 -85
- package/lib/Animation/docs/Animation__fadeIn.docs.js +0 -85
- package/lib/Animation/docs/Animation__scaleIn.docs.js +0 -85
- package/lib/Animation/docs/Animation__skewIn.docs.js +0 -85
- package/lib/Animation/docs/Animation__slideDown.docs.js +0 -85
- package/lib/Animation/docs/Animation__slideLeft.docs.js +0 -85
- package/lib/Animation/docs/Animation__zoomIn.docs.js +0 -85
- package/lib/AppContainer/docs/AppContainer__default.docs.js +0 -70
- package/lib/Appearance/dark/mode/darkMode.module.css +0 -393
- package/lib/Appearance/dark/themes/blue/blueDarkCTATheme.module.css +0 -34
- package/lib/Appearance/dark/themes/blue/blueDarkComponentTheme.module.css +0 -48
- package/lib/Appearance/dark/themes/green/greenDarkCTATheme.module.css +0 -34
- package/lib/Appearance/dark/themes/green/greenDarkComponentTheme.module.css +0 -48
- package/lib/Appearance/dark/themes/orange/orangeDarkCTATheme.module.css +0 -34
- package/lib/Appearance/dark/themes/orange/orangeDarkComponentTheme.module.css +0 -48
- package/lib/Appearance/dark/themes/red/redDarkCTATheme.module.css +0 -34
- package/lib/Appearance/dark/themes/red/redDarkComponentTheme.module.css +0 -48
- package/lib/Appearance/dark/themes/yellow/yellowDarkCTATheme.module.css +0 -34
- package/lib/Appearance/dark/themes/yellow/yellowDarkComponentTheme.module.css +0 -48
- package/lib/Appearance/default/mode/defaultMode.module.css +0 -395
- package/lib/Appearance/default/themes/blue/blueDefaultCTATheme.module.css +0 -34
- package/lib/Appearance/default/themes/blue/blueDefaultComponentTheme.module.css +0 -48
- package/lib/Appearance/default/themes/green/greenDefaultCTATheme.module.css +0 -34
- package/lib/Appearance/default/themes/green/greenDefaultComponentTheme.module.css +0 -48
- package/lib/Appearance/default/themes/orange/orangeDefaultCTATheme.module.css +0 -34
- package/lib/Appearance/default/themes/orange/orangeDefaultComponentTheme.module.css +0 -48
- package/lib/Appearance/default/themes/red/redDefaultCTATheme.module.css +0 -34
- package/lib/Appearance/default/themes/red/redDefaultComponentTheme.module.css +0 -48
- package/lib/Appearance/default/themes/yellow/yellowDefaultCTATheme.module.css +0 -34
- package/lib/Appearance/default/themes/yellow/yellowDefaultComponentTheme.module.css +0 -48
- package/lib/Avatar/docs/Avatar__custom.docs.js +0 -87
- package/lib/Avatar/docs/Avatar__default.docs.js +0 -83
- package/lib/Avatar/docs/Avatar__palette.docs.js +0 -107
- package/lib/Avatar/docs/Avatar__text.docs.js +0 -86
- package/lib/AvatarTeam/docs/AvatarTeam__custom.docs.js +0 -124
- package/lib/AvatarTeam/docs/AvatarTeam__default.docs.js +0 -82
- package/lib/AvatarTeam/docs/AvatarTeam__palette.docs.js +0 -101
- package/lib/AvatarTeam/docs/AvatarTeam__size.docs.js +0 -100
- package/lib/Button/docs/Button__custom.docs.js +0 -826
- package/lib/Button/docs/Button__default.docs.js +0 -590
- package/lib/Buttongroup/docs/Buttongroup__custom.docs.js +0 -89
- package/lib/Buttongroup/docs/Buttongroup__footer.docs.js +0 -85
- package/lib/Buttongroup/docs/Buttongroup__header.docs.js +0 -98
- package/lib/Card/docs/Card__Custom.docs.js +0 -90
- package/lib/Card/docs/Card__Default.docs.js +0 -92
- package/lib/Card/docs/Card__Scroll.docs.js +0 -114
- package/lib/CheckBox/docs/CheckBox__custom.docs.js +0 -348
- package/lib/CheckBox/docs/CheckBox__default.docs.js +0 -273
- package/lib/DateTime/docs/DateTime__default.docs.js +0 -142
- package/lib/DateTime/docs/DateWidget__default.docs.js +0 -240
- package/lib/DateTime/docs/timezonedata.json +0 -1
- package/lib/DropBox/docs/DropBox__custom.docs.js +0 -122
- package/lib/DropBox/docs/DropBox__customOrder.docs.js +0 -141
- package/lib/DropBox/docs/DropBox__fixedPosition.docs.js +0 -140
- package/lib/DropBox/docs/DropBox__position.docs.js +0 -142
- package/lib/DropBox/docs/DropBox__size.docs.js +0 -116
- package/lib/DropDown/docs/DropDownHeading__custom.docs.js +0 -73
- package/lib/DropDown/docs/DropDownHeading__default.docs.js +0 -70
- package/lib/Label/docs/Label__clipped.docs.js +0 -81
- package/lib/Label/docs/Label__custom.docs.js +0 -85
- package/lib/Label/docs/Label__palette.docs.js +0 -96
- package/lib/Label/docs/Label__size.docs.js +0 -83
- package/lib/Label/docs/Label__type.docs.js +0 -91
- package/lib/Layout/docs/Layout__Hidden.docs.js +0 -127
- package/lib/Layout/docs/Layout__default.docs.js +0 -98
- package/lib/Layout/docs/Layout__four_Column.docs.js +0 -135
- package/lib/Layout/docs/Layout__three_Column.docs.js +0 -126
- package/lib/Layout/docs/Layout__two_Column.docs.js +0 -119
- package/lib/LightNightMode/docs/AlternativeColors.docs.js +0 -131
- package/lib/ListItem/docs/ListItemWithAvatar__custom.docs.js +0 -206
- package/lib/ListItem/docs/ListItemWithAvatar__default.docs.js +0 -162
- package/lib/ListItem/docs/ListItemWithCheckBox__custom.docs.js +0 -142
- package/lib/ListItem/docs/ListItemWithCheckBox__default.docs.js +0 -115
- package/lib/ListItem/docs/ListItemWithIcon__custom.docs.js +0 -119
- package/lib/ListItem/docs/ListItemWithIcon__default.docs.js +0 -112
- package/lib/ListItem/docs/ListItemWithRadio__custom.docs.js +0 -142
- package/lib/ListItem/docs/ListItemWithRadio__default.docs.js +0 -115
- package/lib/ListItem/docs/ListItem__custom.docs.js +0 -164
- package/lib/ListItem/docs/ListItem__default.docs.js +0 -131
- package/lib/MultiSelect/docs/AdvancedGroupMultiSelect__default.docs.js +0 -177
- package/lib/MultiSelect/docs/AdvancedMultiSelect__default.docs.js +0 -165
- package/lib/MultiSelect/docs/MultiSelectWithAvatar__default.docs.js +0 -191
- package/lib/MultiSelect/docs/MultiSelect__default.docs.js +0 -214
- package/lib/PopOver/docs/PopOver__default.docs.js +0 -86
- package/lib/Provider/docs/Provider_Id__Class.docs.js +0 -77
- package/lib/Provider/docs/Provider_Id__Function.docs.js +0 -29
- package/lib/Provider/docs/Provider_Zindex__Class.docs.js +0 -80
- package/lib/Provider/docs/Provider_Zindex__Function.docs.js +0 -34
- package/lib/Radio/docs/Radio__custom.docs.js +0 -299
- package/lib/Radio/docs/Radio__default.docs.js +0 -222
- package/lib/Responsive/docs/Responsive__Custom.docs.js +0 -272
- package/lib/Responsive/docs/Responsive__default.docs.js +0 -142
- package/lib/Responsive/docs/style.module.css +0 -56
- package/lib/Ribbon/docs/Ribbon__custom.docs.js +0 -437
- package/lib/Ribbon/docs/Ribbon__default.docs.js +0 -392
- package/lib/RippleEffect/docs/RippleEffect__default.docs.js +0 -484
- package/lib/Select/docs/GroupSelect__default.docs.js +0 -199
- package/lib/Select/docs/SelectWithAvatar__default.docs.js +0 -152
- package/lib/Select/docs/SelectWithIcon__default.docs.js +0 -190
- package/lib/Select/docs/Select__default.docs.js +0 -340
- package/lib/Stencils/docs/Stencils__custom.docs.js +0 -96
- package/lib/Stencils/docs/Stencils__default.docs.js +0 -101
- package/lib/Switch/docs/Switch__custom.docs.js +0 -203
- package/lib/Switch/docs/Switch__default.docs.js +0 -156
- package/lib/Tab/docs/Tab__default.docs.js +0 -308
- package/lib/Tab/docs/tabdocs.module.css +0 -29
- package/lib/Tag/docs/Tag__custom.docs.js +0 -423
- package/lib/Tag/docs/Tag__default.docs.js +0 -307
- package/lib/TextBox/docs/TextBox__custom.docs.js +0 -98
- package/lib/TextBox/docs/TextBox__default.docs.js +0 -95
- package/lib/TextBox/docs/TextBox__size.docs.js +0 -93
- package/lib/TextBox/docs/TextBox__variant.docs.js +0 -93
- package/lib/TextBoxIcon/docs/TextBoxIcon__custom.docs.js +0 -145
- package/lib/TextBoxIcon/docs/TextBoxIcon__default.docs.js +0 -117
- package/lib/Textarea/docs/Textarea__animated.docs.js +0 -95
- package/lib/Textarea/docs/Textarea__custom.docs.js +0 -137
- package/lib/Textarea/docs/Textarea__default.docs.js +0 -130
- package/lib/Textarea/docs/Textarea__disabled.docs.js +0 -83
- package/lib/Tooltip/docs/Tooltip__default.docs.js +0 -391
- package/lib/VelocityAnimation/VelocityAnimation/docs/VelocityAnimation__demo.docs.js +0 -150
- package/lib/VelocityAnimation/VelocityAnimationGroup/docs/VelocityAnimationGroup__demo.docs.js +0 -206
- package/lib/a11y/FocusScope/docs/FocusScope__default.docs.js +0 -191
- package/lib/beta/FocusRing/docs/FocusRing__default.docs.js +0 -101
- package/lib/deprecated/PortalLayer/docs/PortalLayer__default.docs.js +0 -145
- package/lib/semantic/Button/docs/Button__default.docs.js +0 -66
|
@@ -1,484 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
value: true
|
|
7
|
-
});
|
|
8
|
-
exports["default"] = void 0;
|
|
9
|
-
|
|
10
|
-
var _react = _interopRequireDefault(require("react"));
|
|
11
|
-
|
|
12
|
-
var _RippleEffect = _interopRequireDefault(require("../RippleEffect"));
|
|
13
|
-
|
|
14
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
15
|
-
|
|
16
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
17
|
-
|
|
18
|
-
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); } }
|
|
19
|
-
|
|
20
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
21
|
-
|
|
22
|
-
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); }
|
|
23
|
-
|
|
24
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
25
|
-
|
|
26
|
-
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); }; }
|
|
27
|
-
|
|
28
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
29
|
-
|
|
30
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
31
|
-
|
|
32
|
-
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; } }
|
|
33
|
-
|
|
34
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
35
|
-
|
|
36
|
-
var RippleEffect__default = /*#__PURE__*/function (_React$Component) {
|
|
37
|
-
_inherits(RippleEffect__default, _React$Component);
|
|
38
|
-
|
|
39
|
-
var _super = _createSuper(RippleEffect__default);
|
|
40
|
-
|
|
41
|
-
function RippleEffect__default() {
|
|
42
|
-
_classCallCheck(this, RippleEffect__default);
|
|
43
|
-
|
|
44
|
-
return _super.apply(this, arguments);
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
_createClass(RippleEffect__default, [{
|
|
48
|
-
key: "render",
|
|
49
|
-
value: function render() {
|
|
50
|
-
var style = {
|
|
51
|
-
margin: '20px 20px 0'
|
|
52
|
-
},
|
|
53
|
-
boxStyle = {
|
|
54
|
-
border: '1px solid #e3e6eb',
|
|
55
|
-
padding: '15px 20px 25px',
|
|
56
|
-
marginBottom: '10px'
|
|
57
|
-
},
|
|
58
|
-
titleStyle = {
|
|
59
|
-
fontSize: '13px',
|
|
60
|
-
paddingBottom: '25px',
|
|
61
|
-
textTransform: 'upperCase'
|
|
62
|
-
};
|
|
63
|
-
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
64
|
-
style: style
|
|
65
|
-
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
66
|
-
style: boxStyle
|
|
67
|
-
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
68
|
-
style: titleStyle
|
|
69
|
-
}, "Hover Default"), /*#__PURE__*/_react["default"].createElement("div", {
|
|
70
|
-
style: {
|
|
71
|
-
marginRight: '20px',
|
|
72
|
-
display: 'inline-block'
|
|
73
|
-
}
|
|
74
|
-
}, /*#__PURE__*/_react["default"].createElement(_RippleEffect["default"], null, /*#__PURE__*/_react["default"].createElement("span", {
|
|
75
|
-
style: {
|
|
76
|
-
fontSize: '13px',
|
|
77
|
-
padding: '4px 9px 7px',
|
|
78
|
-
cursor: 'pointer'
|
|
79
|
-
}
|
|
80
|
-
}, "Default"))), /*#__PURE__*/_react["default"].createElement("div", {
|
|
81
|
-
style: {
|
|
82
|
-
marginRight: '20px',
|
|
83
|
-
display: 'inline-block'
|
|
84
|
-
}
|
|
85
|
-
}, /*#__PURE__*/_react["default"].createElement(_RippleEffect["default"], {
|
|
86
|
-
palette: "primary"
|
|
87
|
-
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
88
|
-
style: {
|
|
89
|
-
fontSize: '13px',
|
|
90
|
-
padding: '4px 9px 7px',
|
|
91
|
-
cursor: 'pointer',
|
|
92
|
-
color: 'var(--zdt_cta_primary_hover_text)'
|
|
93
|
-
}
|
|
94
|
-
}, "Primary"))), /*#__PURE__*/_react["default"].createElement("div", {
|
|
95
|
-
style: {
|
|
96
|
-
marginRight: '20px',
|
|
97
|
-
display: 'inline-block'
|
|
98
|
-
}
|
|
99
|
-
}, /*#__PURE__*/_react["default"].createElement(_RippleEffect["default"], {
|
|
100
|
-
palette: "primaryLight"
|
|
101
|
-
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
102
|
-
style: {
|
|
103
|
-
fontSize: '13px',
|
|
104
|
-
padding: '4px 9px 7px',
|
|
105
|
-
cursor: 'pointer',
|
|
106
|
-
color: 'var(--zdt_cta_primary_text)'
|
|
107
|
-
}
|
|
108
|
-
}, "Primary Light"))), /*#__PURE__*/_react["default"].createElement("div", {
|
|
109
|
-
style: {
|
|
110
|
-
marginRight: '20px',
|
|
111
|
-
display: 'inline-block'
|
|
112
|
-
}
|
|
113
|
-
}, /*#__PURE__*/_react["default"].createElement(_RippleEffect["default"], {
|
|
114
|
-
palette: "primaryFilled"
|
|
115
|
-
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
116
|
-
style: {
|
|
117
|
-
fontSize: '13px',
|
|
118
|
-
padding: '4px 9px 7px',
|
|
119
|
-
cursor: 'pointer',
|
|
120
|
-
color: 'var(--zdt_cta_secondary_text)'
|
|
121
|
-
}
|
|
122
|
-
}, "Primary Filled"))), /*#__PURE__*/_react["default"].createElement("div", {
|
|
123
|
-
style: {
|
|
124
|
-
marginRight: '20px',
|
|
125
|
-
display: 'inline-block'
|
|
126
|
-
}
|
|
127
|
-
}, /*#__PURE__*/_react["default"].createElement(_RippleEffect["default"], {
|
|
128
|
-
palette: "green"
|
|
129
|
-
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
130
|
-
style: {
|
|
131
|
-
fontSize: '13px',
|
|
132
|
-
padding: '4px 9px 7px',
|
|
133
|
-
cursor: 'pointer',
|
|
134
|
-
color: 'var(--dot_text_strongGreen)'
|
|
135
|
-
}
|
|
136
|
-
}, "Green"))), /*#__PURE__*/_react["default"].createElement("div", {
|
|
137
|
-
style: {
|
|
138
|
-
marginRight: '20px',
|
|
139
|
-
display: 'inline-block'
|
|
140
|
-
}
|
|
141
|
-
}, /*#__PURE__*/_react["default"].createElement(_RippleEffect["default"], {
|
|
142
|
-
palette: "danger"
|
|
143
|
-
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
144
|
-
style: {
|
|
145
|
-
fontSize: '13px',
|
|
146
|
-
padding: '4px 9px 7px',
|
|
147
|
-
cursor: 'pointer',
|
|
148
|
-
color: 'var(--dot_text_brightRed)'
|
|
149
|
-
}
|
|
150
|
-
}, "Danger")))), /*#__PURE__*/_react["default"].createElement("div", {
|
|
151
|
-
style: boxStyle
|
|
152
|
-
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
153
|
-
style: titleStyle
|
|
154
|
-
}, "Hover Border"), /*#__PURE__*/_react["default"].createElement("div", {
|
|
155
|
-
style: {
|
|
156
|
-
marginRight: '20px',
|
|
157
|
-
display: 'inline-block'
|
|
158
|
-
}
|
|
159
|
-
}, /*#__PURE__*/_react["default"].createElement(_RippleEffect["default"], {
|
|
160
|
-
hoverType: "border"
|
|
161
|
-
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
162
|
-
style: {
|
|
163
|
-
fontSize: '13px',
|
|
164
|
-
padding: '4px 9px 7px',
|
|
165
|
-
cursor: 'pointer'
|
|
166
|
-
}
|
|
167
|
-
}, "Default"))), /*#__PURE__*/_react["default"].createElement("div", {
|
|
168
|
-
style: {
|
|
169
|
-
marginRight: '20px',
|
|
170
|
-
display: 'inline-block'
|
|
171
|
-
}
|
|
172
|
-
}, /*#__PURE__*/_react["default"].createElement(_RippleEffect["default"], {
|
|
173
|
-
palette: "primary",
|
|
174
|
-
hoverType: "border"
|
|
175
|
-
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
176
|
-
style: {
|
|
177
|
-
fontSize: '13px',
|
|
178
|
-
padding: '4px 9px 7px',
|
|
179
|
-
cursor: 'pointer',
|
|
180
|
-
color: 'var(--zdt_cta_primary_hover_text)'
|
|
181
|
-
}
|
|
182
|
-
}, "Primary"))), /*#__PURE__*/_react["default"].createElement("div", {
|
|
183
|
-
style: {
|
|
184
|
-
marginRight: '20px',
|
|
185
|
-
display: 'inline-block'
|
|
186
|
-
}
|
|
187
|
-
}, /*#__PURE__*/_react["default"].createElement(_RippleEffect["default"], {
|
|
188
|
-
palette: "primaryLight",
|
|
189
|
-
hoverType: "border"
|
|
190
|
-
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
191
|
-
style: {
|
|
192
|
-
fontSize: '13px',
|
|
193
|
-
padding: '4px 9px 7px',
|
|
194
|
-
cursor: 'pointer',
|
|
195
|
-
color: 'var(--zdt_cta_primary_text)'
|
|
196
|
-
}
|
|
197
|
-
}, "Primary Light"))), /*#__PURE__*/_react["default"].createElement("div", {
|
|
198
|
-
style: {
|
|
199
|
-
marginRight: '20px',
|
|
200
|
-
display: 'inline-block'
|
|
201
|
-
}
|
|
202
|
-
}, /*#__PURE__*/_react["default"].createElement(_RippleEffect["default"], {
|
|
203
|
-
palette: "green",
|
|
204
|
-
hoverType: "border"
|
|
205
|
-
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
206
|
-
style: {
|
|
207
|
-
fontSize: '13px',
|
|
208
|
-
padding: '4px 9px 7px',
|
|
209
|
-
cursor: 'pointer',
|
|
210
|
-
color: 'var(--dot_text_strongGreen)'
|
|
211
|
-
}
|
|
212
|
-
}, "Green"))), /*#__PURE__*/_react["default"].createElement("div", {
|
|
213
|
-
style: {
|
|
214
|
-
marginRight: '20px',
|
|
215
|
-
display: 'inline-block'
|
|
216
|
-
}
|
|
217
|
-
}, /*#__PURE__*/_react["default"].createElement(_RippleEffect["default"], {
|
|
218
|
-
palette: "danger",
|
|
219
|
-
hoverType: "border"
|
|
220
|
-
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
221
|
-
style: {
|
|
222
|
-
fontSize: '13px',
|
|
223
|
-
padding: '4px 9px 7px',
|
|
224
|
-
cursor: 'pointer',
|
|
225
|
-
color: 'var(--dot_text_brightRed)'
|
|
226
|
-
}
|
|
227
|
-
}, "Danger")))), /*#__PURE__*/_react["default"].createElement("div", {
|
|
228
|
-
style: boxStyle
|
|
229
|
-
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
230
|
-
style: titleStyle
|
|
231
|
-
}, "Hover Bg Color"), /*#__PURE__*/_react["default"].createElement("div", {
|
|
232
|
-
style: {
|
|
233
|
-
marginRight: '20px',
|
|
234
|
-
display: 'inline-block'
|
|
235
|
-
}
|
|
236
|
-
}, /*#__PURE__*/_react["default"].createElement(_RippleEffect["default"], {
|
|
237
|
-
hoverType: "bg"
|
|
238
|
-
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
239
|
-
style: {
|
|
240
|
-
fontSize: '13px',
|
|
241
|
-
padding: '4px 9px 7px'
|
|
242
|
-
}
|
|
243
|
-
}, "Default"))), /*#__PURE__*/_react["default"].createElement("div", {
|
|
244
|
-
style: {
|
|
245
|
-
marginRight: '20px',
|
|
246
|
-
display: 'inline-block'
|
|
247
|
-
}
|
|
248
|
-
}, /*#__PURE__*/_react["default"].createElement(_RippleEffect["default"], {
|
|
249
|
-
palette: "primaryLight",
|
|
250
|
-
hoverType: "bg"
|
|
251
|
-
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
252
|
-
style: {
|
|
253
|
-
fontSize: '13px',
|
|
254
|
-
padding: '4px 9px 7px',
|
|
255
|
-
cursor: 'pointer',
|
|
256
|
-
color: 'var(--zdt_cta_primary_text)'
|
|
257
|
-
}
|
|
258
|
-
}, "Primary Light"))), /*#__PURE__*/_react["default"].createElement("div", {
|
|
259
|
-
style: {
|
|
260
|
-
marginRight: '20px',
|
|
261
|
-
display: 'inline-block'
|
|
262
|
-
}
|
|
263
|
-
}, /*#__PURE__*/_react["default"].createElement(_RippleEffect["default"], {
|
|
264
|
-
palette: "green",
|
|
265
|
-
hoverType: "bg"
|
|
266
|
-
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
267
|
-
style: {
|
|
268
|
-
fontSize: '13px',
|
|
269
|
-
padding: '4px 9px 7px',
|
|
270
|
-
cursor: 'pointer',
|
|
271
|
-
color: 'var(--dot_text_strongGreen)'
|
|
272
|
-
}
|
|
273
|
-
}, "Green"))), /*#__PURE__*/_react["default"].createElement("div", {
|
|
274
|
-
style: {
|
|
275
|
-
marginRight: '20px',
|
|
276
|
-
display: 'inline-block'
|
|
277
|
-
}
|
|
278
|
-
}, /*#__PURE__*/_react["default"].createElement(_RippleEffect["default"], {
|
|
279
|
-
palette: "danger",
|
|
280
|
-
hoverType: "bg"
|
|
281
|
-
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
282
|
-
style: {
|
|
283
|
-
fontSize: '13px',
|
|
284
|
-
padding: '4px 9px 7px',
|
|
285
|
-
cursor: 'pointer',
|
|
286
|
-
color: 'var(--dot_text_brightRed)'
|
|
287
|
-
}
|
|
288
|
-
}, "Danger"))), /*#__PURE__*/_react["default"].createElement("div", {
|
|
289
|
-
style: {
|
|
290
|
-
marginRight: '20px',
|
|
291
|
-
display: 'inline-block'
|
|
292
|
-
}
|
|
293
|
-
}, /*#__PURE__*/_react["default"].createElement(_RippleEffect["default"], {
|
|
294
|
-
palette: "primaryDark",
|
|
295
|
-
hoverType: "bg"
|
|
296
|
-
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
297
|
-
style: {
|
|
298
|
-
fontSize: '13px',
|
|
299
|
-
padding: '4px 9px 7px',
|
|
300
|
-
cursor: 'pointer',
|
|
301
|
-
color: 'var(--zdt_cta_primary_text)'
|
|
302
|
-
}
|
|
303
|
-
}, "Primary Dark")))), /*#__PURE__*/_react["default"].createElement("div", {
|
|
304
|
-
style: boxStyle
|
|
305
|
-
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
306
|
-
style: titleStyle
|
|
307
|
-
}, "Disabled"), /*#__PURE__*/_react["default"].createElement("div", {
|
|
308
|
-
style: {
|
|
309
|
-
marginRight: '20px',
|
|
310
|
-
display: 'inline-block'
|
|
311
|
-
}
|
|
312
|
-
}, /*#__PURE__*/_react["default"].createElement(_RippleEffect["default"], {
|
|
313
|
-
isDisabled: true
|
|
314
|
-
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
315
|
-
style: {
|
|
316
|
-
fontSize: '13px',
|
|
317
|
-
padding: '4px 9px 7px'
|
|
318
|
-
}
|
|
319
|
-
}, "Default"))), /*#__PURE__*/_react["default"].createElement("div", {
|
|
320
|
-
style: {
|
|
321
|
-
marginRight: '20px',
|
|
322
|
-
display: 'inline-block'
|
|
323
|
-
}
|
|
324
|
-
}, /*#__PURE__*/_react["default"].createElement(_RippleEffect["default"], {
|
|
325
|
-
palette: "primary",
|
|
326
|
-
isDisabled: true
|
|
327
|
-
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
328
|
-
style: {
|
|
329
|
-
fontSize: '13px',
|
|
330
|
-
padding: '4px 9px 7px',
|
|
331
|
-
cursor: 'pointer',
|
|
332
|
-
color: 'var(--zdt_cta_primary_hover_text)'
|
|
333
|
-
}
|
|
334
|
-
}, "Primary"))), /*#__PURE__*/_react["default"].createElement("div", {
|
|
335
|
-
style: {
|
|
336
|
-
marginRight: '20px',
|
|
337
|
-
display: 'inline-block'
|
|
338
|
-
}
|
|
339
|
-
}, /*#__PURE__*/_react["default"].createElement(_RippleEffect["default"], {
|
|
340
|
-
palette: "primaryLight",
|
|
341
|
-
isDisabled: true
|
|
342
|
-
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
343
|
-
style: {
|
|
344
|
-
fontSize: '13px',
|
|
345
|
-
padding: '4px 9px 7px',
|
|
346
|
-
cursor: 'pointer',
|
|
347
|
-
color: 'var(--zdt_cta_primary_text)'
|
|
348
|
-
}
|
|
349
|
-
}, "Primary Light"))), /*#__PURE__*/_react["default"].createElement("div", {
|
|
350
|
-
style: {
|
|
351
|
-
marginRight: '20px',
|
|
352
|
-
display: 'inline-block'
|
|
353
|
-
}
|
|
354
|
-
}, /*#__PURE__*/_react["default"].createElement(_RippleEffect["default"], {
|
|
355
|
-
palette: "primaryFilled",
|
|
356
|
-
isDisabled: true
|
|
357
|
-
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
358
|
-
style: {
|
|
359
|
-
fontSize: '13px',
|
|
360
|
-
padding: '4px 9px 7px',
|
|
361
|
-
cursor: 'pointer',
|
|
362
|
-
color: 'var(--zdt_cta_secondary_text)'
|
|
363
|
-
}
|
|
364
|
-
}, "Primary Filled"))), /*#__PURE__*/_react["default"].createElement("div", {
|
|
365
|
-
style: {
|
|
366
|
-
marginRight: '20px',
|
|
367
|
-
display: 'inline-block'
|
|
368
|
-
}
|
|
369
|
-
}, /*#__PURE__*/_react["default"].createElement(_RippleEffect["default"], {
|
|
370
|
-
palette: "green",
|
|
371
|
-
isDisabled: true
|
|
372
|
-
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
373
|
-
style: {
|
|
374
|
-
fontSize: '13px',
|
|
375
|
-
padding: '4px 9px 7px',
|
|
376
|
-
color: 'var(--dot_text_strongGreen)'
|
|
377
|
-
}
|
|
378
|
-
}, "Green")))), /*#__PURE__*/_react["default"].createElement("div", {
|
|
379
|
-
style: boxStyle
|
|
380
|
-
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
381
|
-
style: titleStyle
|
|
382
|
-
}, "Active"), /*#__PURE__*/_react["default"].createElement("div", {
|
|
383
|
-
style: {
|
|
384
|
-
marginRight: '20px',
|
|
385
|
-
display: 'inline-block'
|
|
386
|
-
}
|
|
387
|
-
}, /*#__PURE__*/_react["default"].createElement(_RippleEffect["default"], {
|
|
388
|
-
isActive: true
|
|
389
|
-
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
390
|
-
style: {
|
|
391
|
-
fontSize: '13px',
|
|
392
|
-
padding: '4px 9px 7px',
|
|
393
|
-
cursor: 'pointer'
|
|
394
|
-
}
|
|
395
|
-
}, "Default"))), /*#__PURE__*/_react["default"].createElement("div", {
|
|
396
|
-
style: {
|
|
397
|
-
marginRight: '20px',
|
|
398
|
-
display: 'inline-block'
|
|
399
|
-
}
|
|
400
|
-
}, /*#__PURE__*/_react["default"].createElement(_RippleEffect["default"], {
|
|
401
|
-
palette: "primary",
|
|
402
|
-
isActive: true
|
|
403
|
-
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
404
|
-
style: {
|
|
405
|
-
fontSize: '13px',
|
|
406
|
-
padding: '4px 9px 7px',
|
|
407
|
-
cursor: 'pointer',
|
|
408
|
-
color: 'var(--zdt_cta_secondary_text)'
|
|
409
|
-
}
|
|
410
|
-
}, "Primary"))), /*#__PURE__*/_react["default"].createElement("div", {
|
|
411
|
-
style: {
|
|
412
|
-
marginRight: '20px',
|
|
413
|
-
display: 'inline-block'
|
|
414
|
-
}
|
|
415
|
-
}, /*#__PURE__*/_react["default"].createElement(_RippleEffect["default"], {
|
|
416
|
-
palette: "primaryLight",
|
|
417
|
-
isActive: true
|
|
418
|
-
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
419
|
-
style: {
|
|
420
|
-
fontSize: '13px',
|
|
421
|
-
padding: '4px 9px 7px',
|
|
422
|
-
cursor: 'pointer',
|
|
423
|
-
color: 'var(--zdt_cta_primary_text)'
|
|
424
|
-
}
|
|
425
|
-
}, "Primary Light"))), /*#__PURE__*/_react["default"].createElement("div", {
|
|
426
|
-
style: {
|
|
427
|
-
marginRight: '20px',
|
|
428
|
-
display: 'inline-block'
|
|
429
|
-
}
|
|
430
|
-
}, /*#__PURE__*/_react["default"].createElement(_RippleEffect["default"], {
|
|
431
|
-
palette: "primaryFilled",
|
|
432
|
-
isActive: true
|
|
433
|
-
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
434
|
-
style: {
|
|
435
|
-
fontSize: '13px',
|
|
436
|
-
padding: '4px 9px 7px',
|
|
437
|
-
cursor: 'pointer',
|
|
438
|
-
color: 'var(--zdt_cta_secondary_text)'
|
|
439
|
-
}
|
|
440
|
-
}, "Primary Filled"))), /*#__PURE__*/_react["default"].createElement("div", {
|
|
441
|
-
style: {
|
|
442
|
-
marginRight: '20px',
|
|
443
|
-
display: 'inline-block'
|
|
444
|
-
}
|
|
445
|
-
}, /*#__PURE__*/_react["default"].createElement(_RippleEffect["default"], {
|
|
446
|
-
palette: "green",
|
|
447
|
-
isActive: true
|
|
448
|
-
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
449
|
-
style: {
|
|
450
|
-
fontSize: '13px',
|
|
451
|
-
padding: '4px 9px 7px',
|
|
452
|
-
cursor: 'pointer',
|
|
453
|
-
color: 'var(--dot_text_strongGreen)'
|
|
454
|
-
}
|
|
455
|
-
}, "Green"))), /*#__PURE__*/_react["default"].createElement("div", {
|
|
456
|
-
style: {
|
|
457
|
-
marginRight: '20px',
|
|
458
|
-
display: 'inline-block'
|
|
459
|
-
}
|
|
460
|
-
}, /*#__PURE__*/_react["default"].createElement(_RippleEffect["default"], {
|
|
461
|
-
palette: "primaryDark",
|
|
462
|
-
isActive: true
|
|
463
|
-
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
464
|
-
style: {
|
|
465
|
-
fontSize: '13px',
|
|
466
|
-
padding: '4px 9px 7px',
|
|
467
|
-
cursor: 'pointer',
|
|
468
|
-
color: 'var(--zdt_cta_primary_text)'
|
|
469
|
-
}
|
|
470
|
-
}, "Primary Dark")))));
|
|
471
|
-
}
|
|
472
|
-
}]);
|
|
473
|
-
|
|
474
|
-
return RippleEffect__default;
|
|
475
|
-
}(_react["default"].Component);
|
|
476
|
-
|
|
477
|
-
exports["default"] = RippleEffect__default;
|
|
478
|
-
|
|
479
|
-
if (false) {
|
|
480
|
-
RippleEffect__default.docs = {
|
|
481
|
-
componentGroup: 'RippleEffect',
|
|
482
|
-
folderName: 'Style Guide'
|
|
483
|
-
};
|
|
484
|
-
}
|
|
@@ -1,199 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
value: true
|
|
7
|
-
});
|
|
8
|
-
exports["default"] = void 0;
|
|
9
|
-
|
|
10
|
-
var _react = _interopRequireWildcard(require("react"));
|
|
11
|
-
|
|
12
|
-
var _GroupSelect = _interopRequireDefault(require("../GroupSelect"));
|
|
13
|
-
|
|
14
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
15
|
-
|
|
16
|
-
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
17
|
-
|
|
18
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
19
|
-
|
|
20
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
21
|
-
|
|
22
|
-
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
23
|
-
|
|
24
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
25
|
-
|
|
26
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
27
|
-
|
|
28
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
29
|
-
|
|
30
|
-
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); }; }
|
|
31
|
-
|
|
32
|
-
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); }
|
|
33
|
-
|
|
34
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
35
|
-
|
|
36
|
-
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; } }
|
|
37
|
-
|
|
38
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
39
|
-
|
|
40
|
-
var groupedOptions = [{
|
|
41
|
-
id: 'tickets',
|
|
42
|
-
name: 'Tickets',
|
|
43
|
-
options: [{
|
|
44
|
-
id: '001',
|
|
45
|
-
subject: 'Ticket001'
|
|
46
|
-
}, {
|
|
47
|
-
id: '002',
|
|
48
|
-
subject: 'Ticket002'
|
|
49
|
-
}, {
|
|
50
|
-
id: '003',
|
|
51
|
-
subject: 'Ticket003'
|
|
52
|
-
}, {
|
|
53
|
-
id: '004',
|
|
54
|
-
subject: 'Ticket004'
|
|
55
|
-
}, {
|
|
56
|
-
id: '005',
|
|
57
|
-
subject: 'Ticket005'
|
|
58
|
-
}],
|
|
59
|
-
valueField: 'id',
|
|
60
|
-
textField: 'subject'
|
|
61
|
-
}, {
|
|
62
|
-
id: 'tasks',
|
|
63
|
-
name: 'Tasks',
|
|
64
|
-
options: [{
|
|
65
|
-
id: '001',
|
|
66
|
-
subject: 'Task001'
|
|
67
|
-
}, {
|
|
68
|
-
id: '002',
|
|
69
|
-
subject: 'Task002'
|
|
70
|
-
}, {
|
|
71
|
-
id: '003',
|
|
72
|
-
subject: 'Task003'
|
|
73
|
-
}, {
|
|
74
|
-
id: '004',
|
|
75
|
-
subject: 'Task004'
|
|
76
|
-
}, {
|
|
77
|
-
id: '005',
|
|
78
|
-
subject: 'Task005'
|
|
79
|
-
}],
|
|
80
|
-
valueField: 'id',
|
|
81
|
-
textField: 'subject'
|
|
82
|
-
}, {
|
|
83
|
-
id: 'accounts',
|
|
84
|
-
name: 'Accounts',
|
|
85
|
-
options: [{
|
|
86
|
-
id: '001',
|
|
87
|
-
name: 'Account001'
|
|
88
|
-
}, {
|
|
89
|
-
id: '002',
|
|
90
|
-
name: 'Account002'
|
|
91
|
-
}, {
|
|
92
|
-
id: '003',
|
|
93
|
-
name: 'Account003'
|
|
94
|
-
}, {
|
|
95
|
-
id: '004',
|
|
96
|
-
name: 'Account004'
|
|
97
|
-
}, {
|
|
98
|
-
id: '005',
|
|
99
|
-
name: 'Account005'
|
|
100
|
-
}],
|
|
101
|
-
valueField: 'id',
|
|
102
|
-
textField: 'name'
|
|
103
|
-
}, {
|
|
104
|
-
id: 'contacts',
|
|
105
|
-
name: 'Contacts',
|
|
106
|
-
options: [{
|
|
107
|
-
id: '001',
|
|
108
|
-
name: 'Contact001'
|
|
109
|
-
}, {
|
|
110
|
-
id: '002',
|
|
111
|
-
name: 'Contact002'
|
|
112
|
-
}, {
|
|
113
|
-
id: '003',
|
|
114
|
-
name: 'Contact003'
|
|
115
|
-
}, {
|
|
116
|
-
id: '004',
|
|
117
|
-
name: 'Contact004'
|
|
118
|
-
}, {
|
|
119
|
-
id: '005',
|
|
120
|
-
name: 'Contact005'
|
|
121
|
-
}],
|
|
122
|
-
valueField: 'id',
|
|
123
|
-
textField: 'name'
|
|
124
|
-
}];
|
|
125
|
-
|
|
126
|
-
var GroupSelect__default = /*#__PURE__*/function (_Component) {
|
|
127
|
-
_inherits(GroupSelect__default, _Component);
|
|
128
|
-
|
|
129
|
-
var _super = _createSuper(GroupSelect__default);
|
|
130
|
-
|
|
131
|
-
function GroupSelect__default(props) {
|
|
132
|
-
var _this;
|
|
133
|
-
|
|
134
|
-
_classCallCheck(this, GroupSelect__default);
|
|
135
|
-
|
|
136
|
-
_this = _super.call(this, props);
|
|
137
|
-
_this.state = {
|
|
138
|
-
selectedOption: {
|
|
139
|
-
groupId: 'tickets',
|
|
140
|
-
selected: '001'
|
|
141
|
-
}
|
|
142
|
-
};
|
|
143
|
-
_this.handleChange = _this.handleChange.bind(_assertThisInitialized(_this));
|
|
144
|
-
_this.groupFooter = _this.groupFooter.bind(_assertThisInitialized(_this));
|
|
145
|
-
return _this;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
_createClass(GroupSelect__default, [{
|
|
149
|
-
key: "handleChange",
|
|
150
|
-
value: function handleChange(selectedOption) {
|
|
151
|
-
this.setState({
|
|
152
|
-
selectedOption: selectedOption
|
|
153
|
-
});
|
|
154
|
-
}
|
|
155
|
-
}, {
|
|
156
|
-
key: "groupFooter",
|
|
157
|
-
value: function groupFooter() {
|
|
158
|
-
return /*#__PURE__*/_react["default"].createElement("div", null, "Footer");
|
|
159
|
-
}
|
|
160
|
-
}, {
|
|
161
|
-
key: "render",
|
|
162
|
-
value: function render() {
|
|
163
|
-
var selectedOption = this.state.selectedOption;
|
|
164
|
-
return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_GroupSelect["default"], {
|
|
165
|
-
groupedOptions: groupedOptions,
|
|
166
|
-
selectedOption: selectedOption,
|
|
167
|
-
onChange: this.handleChange,
|
|
168
|
-
needSearch: true,
|
|
169
|
-
searchEmptyMessage: "No matches found",
|
|
170
|
-
emptyMessage: "No Options",
|
|
171
|
-
isDefaultSelectValue: false,
|
|
172
|
-
placeHolder: "Select Option",
|
|
173
|
-
needLocalSearch: true
|
|
174
|
-
}), /*#__PURE__*/_react["default"].createElement(_GroupSelect["default"], {
|
|
175
|
-
groupedOptions: groupedOptions,
|
|
176
|
-
selectedOption: selectedOption,
|
|
177
|
-
onChange: this.handleChange,
|
|
178
|
-
needSearch: true,
|
|
179
|
-
searchEmptyMessage: "No matches found",
|
|
180
|
-
emptyMessage: "No Options",
|
|
181
|
-
isDefaultSelectValue: false,
|
|
182
|
-
placeHolder: "Select Option",
|
|
183
|
-
needLocalSearch: true,
|
|
184
|
-
getFooter: this.groupFooter
|
|
185
|
-
}, "Children"));
|
|
186
|
-
}
|
|
187
|
-
}]);
|
|
188
|
-
|
|
189
|
-
return GroupSelect__default;
|
|
190
|
-
}(_react.Component);
|
|
191
|
-
|
|
192
|
-
exports["default"] = GroupSelect__default;
|
|
193
|
-
|
|
194
|
-
if (false) {
|
|
195
|
-
GroupSelect__default.docs = {
|
|
196
|
-
componentGroup: 'Form Elements',
|
|
197
|
-
folderName: 'Style Guide'
|
|
198
|
-
};
|
|
199
|
-
}
|