@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,214 +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 _CodeExtractor = _interopRequireDefault(require("@zohodesk/docstool/lib/CodeExtractor/CodeExtractor"));
|
|
13
|
-
|
|
14
|
-
var _Layout = require("../../Layout");
|
|
15
|
-
|
|
16
|
-
var _Icon = _interopRequireDefault(require("@zohodesk/icons/lib/Icon"));
|
|
17
|
-
|
|
18
|
-
var _MultiSelect = _interopRequireDefault(require("../MultiSelect"));
|
|
19
|
-
|
|
20
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
21
|
-
|
|
22
|
-
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); }
|
|
23
|
-
|
|
24
|
-
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; }
|
|
25
|
-
|
|
26
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
27
|
-
|
|
28
|
-
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
29
|
-
|
|
30
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
31
|
-
|
|
32
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
33
|
-
|
|
34
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
35
|
-
|
|
36
|
-
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); }; }
|
|
37
|
-
|
|
38
|
-
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); }
|
|
39
|
-
|
|
40
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
41
|
-
|
|
42
|
-
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; } }
|
|
43
|
-
|
|
44
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
45
|
-
|
|
46
|
-
var MultiSelect__default = /*#__PURE__*/function (_Component) {
|
|
47
|
-
_inherits(MultiSelect__default, _Component);
|
|
48
|
-
|
|
49
|
-
var _super = _createSuper(MultiSelect__default);
|
|
50
|
-
|
|
51
|
-
function MultiSelect__default(props) {
|
|
52
|
-
var _this;
|
|
53
|
-
|
|
54
|
-
_classCallCheck(this, MultiSelect__default);
|
|
55
|
-
|
|
56
|
-
_this = _super.call(this, props);
|
|
57
|
-
_this.state = {
|
|
58
|
-
options: ['text1', 'text2', 'text3', 'text4', 'text5', 'text6', 'text7', 'text8', 'text9', 'text10'],
|
|
59
|
-
selectedOptions: ['text1', 'text2', 'text3']
|
|
60
|
-
};
|
|
61
|
-
_this.handleSelect = _this.handleSelect.bind(_assertThisInitialized(_this));
|
|
62
|
-
_this.getFooter = _this.getFooter.bind(_assertThisInitialized(_this));
|
|
63
|
-
return _this;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
_createClass(MultiSelect__default, [{
|
|
67
|
-
key: "handleSelect",
|
|
68
|
-
value: function handleSelect(options) {
|
|
69
|
-
this.setState({
|
|
70
|
-
selectedOptions: options
|
|
71
|
-
});
|
|
72
|
-
}
|
|
73
|
-
}, {
|
|
74
|
-
key: "getFooter",
|
|
75
|
-
value: function getFooter() {
|
|
76
|
-
return /*#__PURE__*/_react["default"].createElement("div", null, "Custom Footer");
|
|
77
|
-
}
|
|
78
|
-
}, {
|
|
79
|
-
key: "render",
|
|
80
|
-
value: function render() {
|
|
81
|
-
var _this$state = this.state,
|
|
82
|
-
selectedOptions = _this$state.selectedOptions,
|
|
83
|
-
options = _this$state.options;
|
|
84
|
-
return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_CodeExtractor["default"], null, /*#__PURE__*/_react["default"].createElement("div", null, "Default"), /*#__PURE__*/_react["default"].createElement(_MultiSelect["default"], {
|
|
85
|
-
valueField: "id",
|
|
86
|
-
textField: "text",
|
|
87
|
-
options: options,
|
|
88
|
-
onChange: this.handleSelect,
|
|
89
|
-
selectedOptions: selectedOptions,
|
|
90
|
-
needSelectAll: true,
|
|
91
|
-
selectAllText: "Select All",
|
|
92
|
-
placeHolder: "Select Text",
|
|
93
|
-
i18nKeys: {
|
|
94
|
-
clearText: 'Clear Selected Items',
|
|
95
|
-
loadingText: 'Fetching...',
|
|
96
|
-
emptyText: 'No Options .',
|
|
97
|
-
noMoreText: 'No More Options .',
|
|
98
|
-
searchEmptyText: 'No Matches Found .'
|
|
99
|
-
}
|
|
100
|
-
}), /*#__PURE__*/_react["default"].createElement("div", null, "Disabled"), /*#__PURE__*/_react["default"].createElement(_MultiSelect["default"], {
|
|
101
|
-
isDisabled: true,
|
|
102
|
-
valueField: "id",
|
|
103
|
-
textField: "text",
|
|
104
|
-
options: options,
|
|
105
|
-
onChange: this.handleSelect,
|
|
106
|
-
selectedOptions: selectedOptions,
|
|
107
|
-
needSelectAll: true,
|
|
108
|
-
selectAllText: "Select All",
|
|
109
|
-
placeHolder: "Select Text",
|
|
110
|
-
emptyMessage: "No Options",
|
|
111
|
-
noMoreOptionsMessage: "No More Options",
|
|
112
|
-
searchEmptyMessage: "No Matches Found"
|
|
113
|
-
}), /*#__PURE__*/_react["default"].createElement("div", null, "Readonly"), /*#__PURE__*/_react["default"].createElement(_MultiSelect["default"], {
|
|
114
|
-
isReadOnly: true,
|
|
115
|
-
valueField: "id",
|
|
116
|
-
textField: "text",
|
|
117
|
-
options: options,
|
|
118
|
-
onChange: this.handleSelect,
|
|
119
|
-
selectedOptions: selectedOptions,
|
|
120
|
-
needSelectAll: true,
|
|
121
|
-
selectAllText: "Select All",
|
|
122
|
-
placeHolder: "Select Text",
|
|
123
|
-
emptyMessage: "No Options",
|
|
124
|
-
noMoreOptionsMessage: "No More Options",
|
|
125
|
-
searchEmptyMessage: "No Matches Found"
|
|
126
|
-
}), /*#__PURE__*/_react["default"].createElement("div", null, "disableAction"), /*#__PURE__*/_react["default"].createElement(_MultiSelect["default"], {
|
|
127
|
-
valueField: "id",
|
|
128
|
-
textField: "text",
|
|
129
|
-
options: options,
|
|
130
|
-
onChange: this.handleSelect,
|
|
131
|
-
selectedOptions: selectedOptions,
|
|
132
|
-
needSelectAll: true,
|
|
133
|
-
selectAllText: "Select All",
|
|
134
|
-
placeHolder: "Select Text",
|
|
135
|
-
emptyMessage: "No Options",
|
|
136
|
-
noMoreOptionsMessage: "No More Options",
|
|
137
|
-
searchEmptyMessage: "No Matches Found",
|
|
138
|
-
needBorder: false,
|
|
139
|
-
disableAction: true
|
|
140
|
-
}), /*#__PURE__*/_react["default"].createElement("div", null, "Children"), /*#__PURE__*/_react["default"].createElement(_MultiSelect["default"], {
|
|
141
|
-
valueField: "id",
|
|
142
|
-
textField: "text",
|
|
143
|
-
options: options,
|
|
144
|
-
onChange: this.handleSelect,
|
|
145
|
-
selectedOptions: selectedOptions,
|
|
146
|
-
needSelectAll: true,
|
|
147
|
-
selectAllText: "Select All",
|
|
148
|
-
placeHolder: "Select Text",
|
|
149
|
-
i18nKeys: {
|
|
150
|
-
clearText: 'Clear Selected Items',
|
|
151
|
-
loadingText: 'Fetching...',
|
|
152
|
-
emptyText: 'No Options .',
|
|
153
|
-
noMoreText: 'No More Options .',
|
|
154
|
-
searchEmptyText: 'No Matches Found .'
|
|
155
|
-
}
|
|
156
|
-
}, /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
157
|
-
align: "both",
|
|
158
|
-
style: {
|
|
159
|
-
marginRight: '15px'
|
|
160
|
-
}
|
|
161
|
-
}, /*#__PURE__*/_react["default"].createElement(_Icon["default"], {
|
|
162
|
-
name: "ZD-SE-setpracket",
|
|
163
|
-
size: "18"
|
|
164
|
-
}))), /*#__PURE__*/_react["default"].createElement("div", null, "Disabled Options"), /*#__PURE__*/_react["default"].createElement(_MultiSelect["default"], {
|
|
165
|
-
valueField: "id",
|
|
166
|
-
textField: "text",
|
|
167
|
-
options: options,
|
|
168
|
-
onChange: this.handleSelect,
|
|
169
|
-
selectedOptions: selectedOptions,
|
|
170
|
-
needSelectAll: true,
|
|
171
|
-
selectAllText: "Select All",
|
|
172
|
-
placeHolder: "Select Text",
|
|
173
|
-
i18nKeys: {
|
|
174
|
-
clearText: 'Clear Selected Items',
|
|
175
|
-
loadingText: 'Fetching...',
|
|
176
|
-
emptyText: 'No Options .',
|
|
177
|
-
noMoreText: 'No More Options .',
|
|
178
|
-
searchEmptyText: 'No Matches Found .'
|
|
179
|
-
},
|
|
180
|
-
disabledOptions: ['text2', 'text3']
|
|
181
|
-
}), /*#__PURE__*/_react["default"].createElement("div", null, "Custom Footer"), /*#__PURE__*/_react["default"].createElement(_MultiSelect["default"], {
|
|
182
|
-
valueField: "id",
|
|
183
|
-
textField: "text",
|
|
184
|
-
options: options,
|
|
185
|
-
onChange: this.handleSelect,
|
|
186
|
-
selectedOptions: selectedOptions,
|
|
187
|
-
needSelectAll: true,
|
|
188
|
-
selectAllText: "Select All",
|
|
189
|
-
placeHolder: "Select Text",
|
|
190
|
-
i18nKeys: {
|
|
191
|
-
clearText: 'Clear Selected Items',
|
|
192
|
-
loadingText: 'Fetching...',
|
|
193
|
-
emptyText: 'No Options .',
|
|
194
|
-
noMoreText: 'No More Options .',
|
|
195
|
-
searchEmptyText: 'No Matches Found .'
|
|
196
|
-
},
|
|
197
|
-
getFooter: this.getFooter
|
|
198
|
-
})));
|
|
199
|
-
}
|
|
200
|
-
}]);
|
|
201
|
-
|
|
202
|
-
return MultiSelect__default;
|
|
203
|
-
}(_react.Component);
|
|
204
|
-
|
|
205
|
-
exports["default"] = MultiSelect__default;
|
|
206
|
-
|
|
207
|
-
if (false) {
|
|
208
|
-
MultiSelect__default.docs = {
|
|
209
|
-
componentGroup: 'Form Elements',
|
|
210
|
-
folderName: 'Style Guide',
|
|
211
|
-
external: true,
|
|
212
|
-
description: ' '
|
|
213
|
-
};
|
|
214
|
-
}
|
|
@@ -1,86 +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 _PopOver = _interopRequireWildcard(require("../PopOver"));
|
|
13
|
-
|
|
14
|
-
var _CodeExtractor = _interopRequireDefault(require("@zohodesk/docstool/lib/CodeExtractor/CodeExtractor"));
|
|
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 _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
21
|
-
|
|
22
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
23
|
-
|
|
24
|
-
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
25
|
-
|
|
26
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
27
|
-
|
|
28
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
29
|
-
|
|
30
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
31
|
-
|
|
32
|
-
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); }; }
|
|
33
|
-
|
|
34
|
-
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); }
|
|
35
|
-
|
|
36
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
37
|
-
|
|
38
|
-
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; } }
|
|
39
|
-
|
|
40
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
41
|
-
|
|
42
|
-
var PopOver__default = /*#__PURE__*/function (_React$Component) {
|
|
43
|
-
_inherits(PopOver__default, _React$Component);
|
|
44
|
-
|
|
45
|
-
var _super = _createSuper(PopOver__default);
|
|
46
|
-
|
|
47
|
-
function PopOver__default() {
|
|
48
|
-
_classCallCheck(this, PopOver__default);
|
|
49
|
-
|
|
50
|
-
return _super.apply(this, arguments);
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
_createClass(PopOver__default, [{
|
|
54
|
-
key: "render",
|
|
55
|
-
value: function render() {
|
|
56
|
-
return /*#__PURE__*/_react["default"].createElement("span", {
|
|
57
|
-
style: {
|
|
58
|
-
width: '200px',
|
|
59
|
-
display: 'inline-block'
|
|
60
|
-
},
|
|
61
|
-
className: 'popParent'
|
|
62
|
-
}, /*#__PURE__*/_react["default"].createElement(_PopOver["default"], {
|
|
63
|
-
isArrow: true,
|
|
64
|
-
isAnimate: true,
|
|
65
|
-
boxPosition: "bottomRight"
|
|
66
|
-
}, /*#__PURE__*/_react["default"].createElement(_PopOver.PopOverTarget, null, " Click Me! "), /*#__PURE__*/_react["default"].createElement(_PopOver.PopOverContainer, null, /*#__PURE__*/_react["default"].createElement("div", {
|
|
67
|
-
style: {
|
|
68
|
-
padding: '20px'
|
|
69
|
-
}
|
|
70
|
-
}, "Content"), ' ')));
|
|
71
|
-
}
|
|
72
|
-
}]);
|
|
73
|
-
|
|
74
|
-
return PopOver__default;
|
|
75
|
-
}(_react["default"].Component);
|
|
76
|
-
|
|
77
|
-
exports["default"] = PopOver__default;
|
|
78
|
-
|
|
79
|
-
if (false) {
|
|
80
|
-
PopOver__default.docs = {
|
|
81
|
-
componentGroup: 'Form Elements',
|
|
82
|
-
folderName: 'Style Guide',
|
|
83
|
-
description: ' ',
|
|
84
|
-
external: true
|
|
85
|
-
};
|
|
86
|
-
}
|
|
@@ -1,77 +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 _IdProvider = require("../IdProvider");
|
|
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 Provider_Id__Class = /*#__PURE__*/function (_React$Component) {
|
|
37
|
-
_inherits(Provider_Id__Class, _React$Component);
|
|
38
|
-
|
|
39
|
-
var _super = _createSuper(Provider_Id__Class);
|
|
40
|
-
|
|
41
|
-
function Provider_Id__Class(props) {
|
|
42
|
-
var _this;
|
|
43
|
-
|
|
44
|
-
_classCallCheck(this, Provider_Id__Class);
|
|
45
|
-
|
|
46
|
-
_this = _super.call(this, props);
|
|
47
|
-
(0, _IdProvider.setGlobalIdPrefix)('zohodesk');
|
|
48
|
-
_this.getNextId = (0, _IdProvider.getUniqueId)(_assertThisInitialized(_this));
|
|
49
|
-
return _this;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
_createClass(Provider_Id__Class, [{
|
|
53
|
-
key: "render",
|
|
54
|
-
value: function render() {
|
|
55
|
-
var id = this.getNextId();
|
|
56
|
-
return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement("div", {
|
|
57
|
-
id: id
|
|
58
|
-
}, "Id ", id), /*#__PURE__*/_react["default"].createElement("div", {
|
|
59
|
-
id: id
|
|
60
|
-
}, "Id ", id));
|
|
61
|
-
}
|
|
62
|
-
}]);
|
|
63
|
-
|
|
64
|
-
return Provider_Id__Class;
|
|
65
|
-
}(_react["default"].Component);
|
|
66
|
-
|
|
67
|
-
exports["default"] = Provider_Id__Class;
|
|
68
|
-
|
|
69
|
-
if (false) {
|
|
70
|
-
Provider_Id__Class.docs = {
|
|
71
|
-
componentGroup: 'Provider',
|
|
72
|
-
folderName: 'Functions'
|
|
73
|
-
};
|
|
74
|
-
} // setGlobalIdPrefix => to set prefix for all id
|
|
75
|
-
// removeGlobalIdPrefix => remove prfeix
|
|
76
|
-
// useUniqueId => for function components
|
|
77
|
-
// getUniqueId => for class components
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports["default"] = Provider_Id__Function;
|
|
7
|
-
|
|
8
|
-
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
|
|
10
|
-
var _IdProvider = require("../IdProvider");
|
|
11
|
-
|
|
12
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
13
|
-
|
|
14
|
-
function Provider_Id__Function() {
|
|
15
|
-
var getNextId = (0, _IdProvider.useUniqueId)();
|
|
16
|
-
var id = getNextId();
|
|
17
|
-
return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement("div", {
|
|
18
|
-
id: id
|
|
19
|
-
}, "Id ", id), /*#__PURE__*/_react["default"].createElement("div", {
|
|
20
|
-
id: id
|
|
21
|
-
}, "Id ", id));
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
if (false) {
|
|
25
|
-
Provider_Id__Function.docs = {
|
|
26
|
-
componentGroup: 'Provider',
|
|
27
|
-
folderName: 'Functions'
|
|
28
|
-
};
|
|
29
|
-
}
|
|
@@ -1,80 +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 _ZindexProvider = require("../ZindexProvider");
|
|
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 Provider_Zindex__Class = /*#__PURE__*/function (_React$Component) {
|
|
37
|
-
_inherits(Provider_Zindex__Class, _React$Component);
|
|
38
|
-
|
|
39
|
-
var _super = _createSuper(Provider_Zindex__Class);
|
|
40
|
-
|
|
41
|
-
function Provider_Zindex__Class(props) {
|
|
42
|
-
var _this;
|
|
43
|
-
|
|
44
|
-
_classCallCheck(this, Provider_Zindex__Class);
|
|
45
|
-
|
|
46
|
-
_this = _super.call(this, props);
|
|
47
|
-
(0, _ZindexProvider.setInitialZIndex)('1000');
|
|
48
|
-
_this.getNextId = (0, _ZindexProvider.getZIndex)(_assertThisInitialized(_this));
|
|
49
|
-
return _this;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
_createClass(Provider_Zindex__Class, [{
|
|
53
|
-
key: "render",
|
|
54
|
-
value: function render() {
|
|
55
|
-
var zIndex = this.getNextId();
|
|
56
|
-
return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement("div", {
|
|
57
|
-
style: {
|
|
58
|
-
zIndex: "".concat(zIndex)
|
|
59
|
-
}
|
|
60
|
-
}, "Zindex ", zIndex), /*#__PURE__*/_react["default"].createElement("div", {
|
|
61
|
-
style: {
|
|
62
|
-
zIndex: "".concat(zIndex)
|
|
63
|
-
}
|
|
64
|
-
}, "Zindex ", zIndex));
|
|
65
|
-
}
|
|
66
|
-
}]);
|
|
67
|
-
|
|
68
|
-
return Provider_Zindex__Class;
|
|
69
|
-
}(_react["default"].Component);
|
|
70
|
-
|
|
71
|
-
exports["default"] = Provider_Zindex__Class;
|
|
72
|
-
|
|
73
|
-
if (false) {
|
|
74
|
-
Provider_Zindex__Class.docs = {
|
|
75
|
-
componentGroup: 'Provider',
|
|
76
|
-
folderName: 'Functions'
|
|
77
|
-
};
|
|
78
|
-
} // setGlobalZIndexPrefix
|
|
79
|
-
// useZIndex
|
|
80
|
-
// getZIndex
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports["default"] = Provider_Zindex__Function;
|
|
7
|
-
|
|
8
|
-
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
|
|
10
|
-
var _ZindexProvider = require("../ZindexProvider");
|
|
11
|
-
|
|
12
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
13
|
-
|
|
14
|
-
function Provider_Zindex__Function() {
|
|
15
|
-
var getNextId = (0, _ZindexProvider.useZIndex)();
|
|
16
|
-
var Zindex = getNextId();
|
|
17
|
-
var Zindex2 = getNextId();
|
|
18
|
-
return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement("div", {
|
|
19
|
-
style: {
|
|
20
|
-
'zIndex': "".concat(Zindex)
|
|
21
|
-
}
|
|
22
|
-
}, "Zindex ", Zindex), /*#__PURE__*/_react["default"].createElement("div", {
|
|
23
|
-
style: {
|
|
24
|
-
'zIndex': "".concat(Zindex2)
|
|
25
|
-
}
|
|
26
|
-
}, "Zindex ", Zindex2));
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
if (false) {
|
|
30
|
-
Provider_Zindex__Function.docs = {
|
|
31
|
-
componentGroup: 'Provider',
|
|
32
|
-
folderName: 'Functions'
|
|
33
|
-
};
|
|
34
|
-
}
|