@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
|
@@ -110,6 +110,7 @@ var AdvancedMultiSelectComponent = /*#__PURE__*/function (_MultiSelectComponent)
|
|
|
110
110
|
_this.state = Object.assign({}, oldState, {
|
|
111
111
|
showedSelectedOptionsCount: !(0, _Common.getIsEmptyValue)(selectedOptionsLimit) && selectedOptionsLen > selectedOptionsLimit ? selectedOptionsLimit : selectedOptionsLen
|
|
112
112
|
});
|
|
113
|
+
_this.getIsShowClearIcon = (0, _dropDownUtils.makeGetIsShowClearIcon)();
|
|
113
114
|
_this.handleFilterSuggestions = _this.handleFilterSuggestions.bind(_assertThisInitialized(_this));
|
|
114
115
|
_this.handleChange = _this.handleChange.bind(_assertThisInitialized(_this));
|
|
115
116
|
_this.handleSelectOption = _this.handleSelectOption.bind(_assertThisInitialized(_this));
|
|
@@ -257,7 +258,8 @@ var AdvancedMultiSelectComponent = /*#__PURE__*/function (_MultiSelectComponent)
|
|
|
257
258
|
imageField = props.imageField,
|
|
258
259
|
optionType = props.optionType,
|
|
259
260
|
iconName = props.iconName,
|
|
260
|
-
iconSize = props.iconSize
|
|
261
|
+
iconSize = props.iconSize,
|
|
262
|
+
disabledOptions = props.disabledOptions;
|
|
261
263
|
return this.formatSelectedOptions({
|
|
262
264
|
options: selectedOptionDetails,
|
|
263
265
|
valueField: valueField,
|
|
@@ -265,7 +267,8 @@ var AdvancedMultiSelectComponent = /*#__PURE__*/function (_MultiSelectComponent)
|
|
|
265
267
|
imageField: imageField,
|
|
266
268
|
optionType: optionType,
|
|
267
269
|
iconName: iconName,
|
|
268
|
-
iconSize: iconSize
|
|
270
|
+
iconSize: iconSize,
|
|
271
|
+
disabledOptions: disabledOptions
|
|
269
272
|
});
|
|
270
273
|
}
|
|
271
274
|
}, {
|
|
@@ -411,7 +414,9 @@ var AdvancedMultiSelectComponent = /*#__PURE__*/function (_MultiSelectComponent)
|
|
|
411
414
|
borderColor = _this$props5.borderColor,
|
|
412
415
|
isBoxPaddingNeed = _this$props5.isBoxPaddingNeed,
|
|
413
416
|
getFooter = _this$props5.getFooter,
|
|
414
|
-
customProps = _this$props5.customProps
|
|
417
|
+
customProps = _this$props5.customProps,
|
|
418
|
+
needEffect = _this$props5.needEffect,
|
|
419
|
+
disabledOptions = _this$props5.disabledOptions;
|
|
415
420
|
var _customProps$Suggesti = customProps.SuggestionsProps,
|
|
416
421
|
SuggestionsProps = _customProps$Suggesti === void 0 ? {} : _customProps$Suggesti,
|
|
417
422
|
_customProps$DropBoxP = customProps.DropBoxProps,
|
|
@@ -440,8 +445,16 @@ var AdvancedMultiSelectComponent = /*#__PURE__*/function (_MultiSelectComponent)
|
|
|
440
445
|
var moreCount = allselectedOptionIdsLen - showedSelectedOptionsCount;
|
|
441
446
|
var setAriaId = this.getNextAriaId();
|
|
442
447
|
var ariaErrorId = this.getNextAriaId();
|
|
448
|
+
|
|
449
|
+
var _this$getIsShowClearI = this.getIsShowClearIcon({
|
|
450
|
+
selectedOptions: selectedOptions,
|
|
451
|
+
disabledOptions: disabledOptions
|
|
452
|
+
}),
|
|
453
|
+
isShowClear = _this$getIsShowClearI.isShowClearIcon;
|
|
454
|
+
|
|
455
|
+
var isShowClearIcon = !isReadOnly && !isDisabled && isShowClear;
|
|
443
456
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
444
|
-
className: "".concat(_AdvancedMultiSelectModule["default"].wrapper, " ").concat(isDisabled ? _AdvancedMultiSelectModule["default"].disabled : '', " ").concat(borderColor === 'transparent' ? _AdvancedMultiSelectModule["default"].transparentContainer : ''),
|
|
457
|
+
className: "".concat(_AdvancedMultiSelectModule["default"].wrapper, " ").concat(isDisabled ? _AdvancedMultiSelectModule["default"].disabled : '', " ").concat(borderColor === 'transparent' ? _AdvancedMultiSelectModule["default"].transparentContainer : '', " ").concat(needEffect && !(isDisabled || isReadOnly) ? _AdvancedMultiSelectModule["default"].effect : ''),
|
|
445
458
|
"data-id": dataIdMultiSelectComp,
|
|
446
459
|
"data-title": isDisabled ? title : '',
|
|
447
460
|
onClick: this.handleInputFocus
|
|
@@ -489,7 +502,7 @@ var AdvancedMultiSelectComponent = /*#__PURE__*/function (_MultiSelectComponent)
|
|
|
489
502
|
ariaDescribedby: ariaErrorId
|
|
490
503
|
},
|
|
491
504
|
autoComplete: false
|
|
492
|
-
})),
|
|
505
|
+
})), isShowClearIcon ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
493
506
|
className: _AdvancedMultiSelectModule["default"]["delete"],
|
|
494
507
|
dataId: dataIdClearIcon,
|
|
495
508
|
"data-title": clearText,
|
|
@@ -588,6 +601,7 @@ AdvancedMultiSelectComponent.propTypes = {
|
|
|
588
601
|
//For grouping multiSelect
|
|
589
602
|
getPublicMethods: _propTypes["default"].func,
|
|
590
603
|
optionType: _propTypes["default"].oneOf(['default', 'avatar', 'icon']),
|
|
604
|
+
needEffect: _propTypes["default"].bool,
|
|
591
605
|
animationStyle: _propTypes["default"].string,
|
|
592
606
|
defaultDropBoxPosition: _propTypes["default"].oneOf(['bottom', 'top', 'left', 'right']),
|
|
593
607
|
dropBoxSize: _propTypes["default"].oneOf(['small', 'medium', 'large']),
|
|
@@ -662,7 +676,8 @@ AdvancedMultiSelectComponent.defaultProps = {
|
|
|
662
676
|
borderColor: 'default',
|
|
663
677
|
isBoxPaddingNeed: true,
|
|
664
678
|
isSearchClearOnSelect: true,
|
|
665
|
-
customProps: {}
|
|
679
|
+
customProps: {},
|
|
680
|
+
needEffect: true
|
|
666
681
|
};
|
|
667
682
|
AdvancedMultiSelectComponent.displayName = 'AdvancedMultiSelect';
|
|
668
683
|
var AdvancedMultiSelect = (0, _Popup["default"])(AdvancedMultiSelectComponent);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
.wrapper {
|
|
2
2
|
position: relative;
|
|
3
3
|
}
|
|
4
|
-
.disabled {
|
|
5
|
-
|
|
4
|
+
.disabled, .readOnly {
|
|
5
|
+
cursor: not-allowed;
|
|
6
6
|
}
|
|
7
7
|
.container {
|
|
8
8
|
max-height: var(--zd_size120);
|
|
@@ -16,28 +16,28 @@
|
|
|
16
16
|
.borderColor_transparent {
|
|
17
17
|
border-bottom-color: var(--zdt_advancedmultiselect_transparent_border);
|
|
18
18
|
}
|
|
19
|
-
.borderColor_transparent:hover {
|
|
19
|
+
.effect .borderColor_transparent:hover {
|
|
20
20
|
border-bottom-color: var(--zdt_advancedmultiselect_transparent_hover_border);
|
|
21
21
|
}
|
|
22
|
-
.borderColor_transparent.active {
|
|
22
|
+
.effect .borderColor_transparent.active {
|
|
23
23
|
border-bottom-color: var(--zdt_advancedmultiselect_transparent_active_border);
|
|
24
24
|
}
|
|
25
25
|
.borderColor_default {
|
|
26
26
|
border-bottom-color: var(--zdt_advancedmultiselect_default_border);
|
|
27
27
|
}
|
|
28
|
-
.borderColor_default:hover {
|
|
28
|
+
.effect .borderColor_default:hover {
|
|
29
29
|
border-bottom-color: var(--zdt_advancedmultiselect_default_hover_border);
|
|
30
30
|
}
|
|
31
|
-
.borderColor_default.active {
|
|
31
|
+
.effect .borderColor_default.active {
|
|
32
32
|
border-bottom-color: var(--zdt_advancedmultiselect_default_active_border);
|
|
33
33
|
}
|
|
34
34
|
.borderColor_dark {
|
|
35
35
|
border-bottom-color: var(--zdt_advancedmultiselect_dark_border);
|
|
36
36
|
}
|
|
37
|
-
.borderColor_dark:hover {
|
|
37
|
+
.effect .borderColor_dark:hover {
|
|
38
38
|
border-bottom-color: var(--zdt_advancedmultiselect_dark_hover_border);
|
|
39
39
|
}
|
|
40
|
-
.borderColor_dark.active {
|
|
40
|
+
.effect .borderColor_dark.active {
|
|
41
41
|
border-bottom-color: var(--zdt_advancedmultiselect_dark_active_border);
|
|
42
42
|
}
|
|
43
43
|
[dir=ltr] .container.medium {
|
|
@@ -106,7 +106,8 @@ var MultiSelectComponent = /*#__PURE__*/function (_React$Component) {
|
|
|
106
106
|
_this.getNextAriaId = (0, _IdProvider.getUniqueId)(_assertThisInitialized(_this));
|
|
107
107
|
_this.getFilterSuggestions = (0, _dropDownUtils.makeGetMultiSelectFilterSuggestions)();
|
|
108
108
|
_this.formatOptions = (0, _dropDownUtils.makeFormatOptions)();
|
|
109
|
-
_this.getSelectedOptions = (0, _dropDownUtils.makeGetMultiSelectSelectedOptions)();
|
|
109
|
+
_this.getSelectedOptions = (0, _dropDownUtils.makeGetMultiSelectSelectedOptions)();
|
|
110
|
+
_this.getIsShowClearIcon = (0, _dropDownUtils.makeGetIsShowClearIcon)(); //Use in AdvancedMultiSelect component
|
|
110
111
|
|
|
111
112
|
_this.objectConcat = (0, _dropDownUtils.makeObjectConcat)();
|
|
112
113
|
_this.formatSelectedOptions = (0, _dropDownUtils.makeFormatOptions)();
|
|
@@ -367,7 +368,7 @@ var MultiSelectComponent = /*#__PURE__*/function (_React$Component) {
|
|
|
367
368
|
onKeyDown = _this$props5.onKeyDown;
|
|
368
369
|
var highLightedSelectOptionsLen = highLightedSelectOptions.length;
|
|
369
370
|
|
|
370
|
-
if (isPopupOpen && (keyCode === 38 || keyCode === 40 || keyCode === 13 || keyCode === 27)) {
|
|
371
|
+
if (isPopupOpen && (keyCode === 38 || keyCode === 40 || keyCode === 13 || keyCode === 27 || keyCode === 9)) {
|
|
371
372
|
suggestions = this.handleFilterSuggestions();
|
|
372
373
|
}
|
|
373
374
|
|
|
@@ -510,6 +511,12 @@ var MultiSelectComponent = /*#__PURE__*/function (_React$Component) {
|
|
|
510
511
|
});
|
|
511
512
|
}
|
|
512
513
|
} else if (keyCode === 27) {// this.handlePopupClose(e);
|
|
514
|
+
} else if (keyCode === 9) {
|
|
515
|
+
var _selectedOption = suggestions[hoverOption] || {};
|
|
516
|
+
|
|
517
|
+
var _id = _selectedOption.id;
|
|
518
|
+
isPopupOpen && !(0, _Common.getIsEmptyValue)(_id) && this.handleSelectOption(_id, e);
|
|
519
|
+
this.handlePopupClose(e);
|
|
513
520
|
}
|
|
514
521
|
}
|
|
515
522
|
}, {
|
|
@@ -936,7 +943,9 @@ var MultiSelectComponent = /*#__PURE__*/function (_React$Component) {
|
|
|
936
943
|
a11y = _this$props13.a11y,
|
|
937
944
|
children = _this$props13.children,
|
|
938
945
|
customChildrenClass = _this$props13.customChildrenClass,
|
|
939
|
-
getFooter = _this$props13.getFooter
|
|
946
|
+
getFooter = _this$props13.getFooter,
|
|
947
|
+
needEffect = _this$props13.needEffect,
|
|
948
|
+
disabledOptions = _this$props13.disabledOptions;
|
|
940
949
|
var _i18nKeys = i18nKeys,
|
|
941
950
|
_i18nKeys$clearText = _i18nKeys.clearText,
|
|
942
951
|
clearText = _i18nKeys$clearText === void 0 ? 'Clear all' : _i18nKeys$clearText,
|
|
@@ -960,9 +969,16 @@ var MultiSelectComponent = /*#__PURE__*/function (_React$Component) {
|
|
|
960
969
|
var suggestions = this.handleFilterSuggestions();
|
|
961
970
|
var setAriaId = this.getNextAriaId();
|
|
962
971
|
var ariaErrorId = this.getNextAriaId();
|
|
963
|
-
|
|
972
|
+
|
|
973
|
+
var _this$getIsShowClearI = this.getIsShowClearIcon({
|
|
974
|
+
selectedOptions: selectedOptions,
|
|
975
|
+
disabledOptions: disabledOptions
|
|
976
|
+
}),
|
|
977
|
+
isShowClear = _this$getIsShowClearI.isShowClearIcon;
|
|
978
|
+
|
|
979
|
+
var isShowClearIcon = !isReadOnly && !isDisabled && !disableAction && isShowClear;
|
|
964
980
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
965
|
-
className: "".concat(_MultiSelectModule["default"].wrapper, " ").concat(isDisabled ? _MultiSelectModule["default"].disabled : '', " ").concat(isReadOnly ? _MultiSelectModule["default"].readOnly : '', " ").concat(disableAction ? (0, _CssProvider["default"])('isBlock') : '', " ").concat(borderColor === 'transparent' ? _MultiSelectModule["default"].transparentContainer : ''),
|
|
981
|
+
className: "".concat(_MultiSelectModule["default"].wrapper, " ").concat(isDisabled ? _MultiSelectModule["default"].disabled : '', " ").concat(isReadOnly ? _MultiSelectModule["default"].readOnly : '', " ").concat(disableAction ? (0, _CssProvider["default"])('isBlock') : '', " ").concat(borderColor === 'transparent' ? _MultiSelectModule["default"].transparentContainer : '', " ").concat(needEffect && !(isDisabled || isReadOnly) ? _MultiSelectModule["default"].effect : ''),
|
|
966
982
|
"data-id": "".concat(isDisabled ? "".concat(dataId, "_disabled") : isReadOnly ? "".concat(dataId, "_readOnly") : dataId),
|
|
967
983
|
"data-title": isDisabled ? title : '',
|
|
968
984
|
onClick: this.handleInputFocus
|
|
@@ -1169,7 +1185,8 @@ MultiSelectComponent.propTypes = {
|
|
|
1169
1185
|
children: _propTypes["default"].node,
|
|
1170
1186
|
customChildrenClass: _propTypes["default"].string,
|
|
1171
1187
|
disabledOptions: _propTypes["default"].arrayOf(_propTypes["default"].string),
|
|
1172
|
-
getFooter: _propTypes["default"].func
|
|
1188
|
+
getFooter: _propTypes["default"].func,
|
|
1189
|
+
needEffect: _propTypes["default"].bool
|
|
1173
1190
|
};
|
|
1174
1191
|
MultiSelectComponent.defaultProps = {
|
|
1175
1192
|
animationStyle: 'bounce',
|
|
@@ -1199,7 +1216,8 @@ MultiSelectComponent.defaultProps = {
|
|
|
1199
1216
|
a11y: {},
|
|
1200
1217
|
textBoxClass: '',
|
|
1201
1218
|
palette: 'default',
|
|
1202
|
-
isSearchClearOnSelect: true
|
|
1219
|
+
isSearchClearOnSelect: true,
|
|
1220
|
+
needEffect: true
|
|
1203
1221
|
};
|
|
1204
1222
|
|
|
1205
1223
|
if (false) {
|
|
@@ -2,14 +2,9 @@
|
|
|
2
2
|
position: relative;
|
|
3
3
|
}
|
|
4
4
|
|
|
5
|
-
.disabled {
|
|
6
|
-
|
|
5
|
+
.disabled, .readOnly {
|
|
6
|
+
cursor: not-allowed;
|
|
7
7
|
}
|
|
8
|
-
|
|
9
|
-
.readOnly {
|
|
10
|
-
composes: readonly from '../common/common.module.css';
|
|
11
|
-
}
|
|
12
|
-
|
|
13
8
|
.container {
|
|
14
9
|
max-height: var(--zd_size120);
|
|
15
10
|
composes: oflowy from '../common/common.module.css';
|
|
@@ -22,28 +17,28 @@
|
|
|
22
17
|
.borderColor_transparent {
|
|
23
18
|
border-bottom-color: var(--zdt_multiselect_transparent_border);
|
|
24
19
|
}
|
|
25
|
-
.borderColor_transparent:hover {
|
|
20
|
+
.effect .borderColor_transparent:hover {
|
|
26
21
|
border-bottom-color: var(--zdt_multiselect_transparent_hover_border);
|
|
27
22
|
}
|
|
28
|
-
.borderColor_transparent.active {
|
|
23
|
+
.effect .borderColor_transparent.active {
|
|
29
24
|
border-bottom-color: var(--zdt_multiselect_transparent_active_border);
|
|
30
25
|
}
|
|
31
26
|
.borderColor_default {
|
|
32
27
|
border-bottom-color: var(--zdt_multiselect_default_border);
|
|
33
28
|
}
|
|
34
|
-
.borderColor_default:hover {
|
|
29
|
+
.effect .borderColor_default:hover {
|
|
35
30
|
border-bottom-color: var(--zdt_multiselect_default_hover_border);
|
|
36
31
|
}
|
|
37
|
-
.borderColor_default.active {
|
|
32
|
+
.effect .borderColor_default.active {
|
|
38
33
|
border-bottom-color: var(--zdt_multiselect_default_active_border);
|
|
39
34
|
}
|
|
40
35
|
.borderColor_dark {
|
|
41
36
|
border-bottom-color: var(--zdt_multiselect_dark_border);
|
|
42
37
|
}
|
|
43
|
-
.borderColor_dark:hover {
|
|
38
|
+
.effect .borderColor_dark:hover {
|
|
44
39
|
border-bottom-color: var(--zdt_multiselect_dark_hover_border);
|
|
45
40
|
}
|
|
46
|
-
.borderColor_dark.active {
|
|
41
|
+
.effect .borderColor_dark.active {
|
|
47
42
|
border-bottom-color: var(--zdt_multiselect_dark_active_border);
|
|
48
43
|
}
|
|
49
44
|
|
|
@@ -140,7 +140,8 @@ var MultiSelectWithAvatarComponent = /*#__PURE__*/function (_MultiSelectComponen
|
|
|
140
140
|
a11y = _this$props.a11y,
|
|
141
141
|
children = _this$props.children,
|
|
142
142
|
customChildrenClass = _this$props.customChildrenClass,
|
|
143
|
-
isBoxPaddingNeed = _this$props.isBoxPaddingNeed
|
|
143
|
+
isBoxPaddingNeed = _this$props.isBoxPaddingNeed,
|
|
144
|
+
needEffect = _this$props.needEffect;
|
|
144
145
|
var _i18nKeys = i18nKeys,
|
|
145
146
|
_i18nKeys$clearText = _i18nKeys.clearText,
|
|
146
147
|
clearText = _i18nKeys$clearText === void 0 ? 'Clear all' : _i18nKeys$clearText;
|
|
@@ -165,7 +166,7 @@ var MultiSelectWithAvatarComponent = /*#__PURE__*/function (_MultiSelectComponen
|
|
|
165
166
|
var popUpState = !isReadOnly && !isDisabled && !disableAction && isPopupOpen;
|
|
166
167
|
var isShowClearIcon = !isReadOnly && !isDisabled && !disableAction && selectedOptions.length > 1;
|
|
167
168
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
168
|
-
className: " ".concat(_MultiSelectModule["default"].wrapper, " ").concat(isDisabled ? _MultiSelectModule["default"].disabled : '', " ").concat(isReadOnly ? _MultiSelectModule["default"].readOnly : '', " ").concat(disableAction ? (0, _CssProvider["default"])('isBlock') : '', " ").concat(borderColor === 'transparent' ? _MultiSelectModule["default"].transparentContainer : ''),
|
|
169
|
+
className: " ".concat(_MultiSelectModule["default"].wrapper, " ").concat(isDisabled ? _MultiSelectModule["default"].disabled : '', " ").concat(isReadOnly ? _MultiSelectModule["default"].readOnly : '', " ").concat(disableAction ? (0, _CssProvider["default"])('isBlock') : '', " ").concat(borderColor === 'transparent' ? _MultiSelectModule["default"].transparentContainer : '', " ").concat(needEffect && !(isDisabled || isReadOnly) ? _MultiSelectModule["default"].effect : ''),
|
|
169
170
|
"data-id": "".concat(isDisabled ? "".concat(dataId, "_disabled") : isReadOnly ? "".concat(dataId, "_readOnly") : dataId),
|
|
170
171
|
"data-title": isDisabled ? title : '',
|
|
171
172
|
onClick: this.handleInputFocus
|
|
@@ -339,6 +340,7 @@ MultiSelectWithAvatarComponent.propTypes = {
|
|
|
339
340
|
palette: _propTypes["default"].oneOf(['default', 'dark']),
|
|
340
341
|
htmlId: _propTypes["default"].string,
|
|
341
342
|
isBoxPaddingNeed: _propTypes["default"].bool,
|
|
343
|
+
needEffect: _propTypes["default"].bool,
|
|
342
344
|
|
|
343
345
|
/**** Popup props ****/
|
|
344
346
|
isPopupOpen: _propTypes["default"].bool,
|
|
@@ -388,7 +390,8 @@ MultiSelectWithAvatarComponent.defaultProps = {
|
|
|
388
390
|
a11y: {},
|
|
389
391
|
palette: 'default',
|
|
390
392
|
isBoxPaddingNeed: true,
|
|
391
|
-
isSearchClearOnSelect: true
|
|
393
|
+
isSearchClearOnSelect: true,
|
|
394
|
+
needEffect: true
|
|
392
395
|
};
|
|
393
396
|
MultiSelectWithAvatarComponent.displayName = 'MultiSelectWithAvatar';
|
|
394
397
|
var MultiSelectWithAvatar = (0, _Popup["default"])(MultiSelectWithAvatarComponent);
|
|
@@ -76,13 +76,14 @@ var SelectedOptions = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
76
76
|
isDisabled = option.isDisabled;
|
|
77
77
|
var commonProps = {
|
|
78
78
|
disabled: isDisabled,
|
|
79
|
-
onRemove: isDisabled ? null : onRemove,
|
|
79
|
+
onRemove: isDisabled || isReadOnly ? null : onRemove,
|
|
80
80
|
text: value,
|
|
81
81
|
palette: isDarkPalette,
|
|
82
82
|
onSelectTag: isReadOnly ? null : onSelect,
|
|
83
83
|
getRef: getRef,
|
|
84
84
|
initial: value,
|
|
85
|
-
id: id
|
|
85
|
+
id: id,
|
|
86
|
+
isReadOnly: isReadOnly
|
|
86
87
|
};
|
|
87
88
|
|
|
88
89
|
if (optionType === 'avatar') {
|
package/lib/PopOver/PopOver.js
CHANGED
|
@@ -184,26 +184,25 @@ PopOver.propTypes = {
|
|
|
184
184
|
size: _propTypes["default"].string,
|
|
185
185
|
togglePopup: _propTypes["default"].func,
|
|
186
186
|
top: _propTypes["default"].string
|
|
187
|
-
};
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
};
|
|
187
|
+
}; // PopOver.propTypesDescription = {
|
|
188
|
+
// right: ' ',
|
|
189
|
+
// left: ' ',
|
|
190
|
+
// top: ' ',
|
|
191
|
+
// bottom: ' ',
|
|
192
|
+
// arrowRight: ' ',
|
|
193
|
+
// arrowLeft: ' ',
|
|
194
|
+
// arrowTop: ' ',
|
|
195
|
+
// arrowBottom: ' ',
|
|
196
|
+
// arrowPosition: ' ',
|
|
197
|
+
// boxPosition: ' ',
|
|
198
|
+
// size: ' ',
|
|
199
|
+
// children: ' ',
|
|
200
|
+
// onPopupOpen: ' ',
|
|
201
|
+
// isPopupOpen: ' ',
|
|
202
|
+
// onPopupClose: ' ',
|
|
203
|
+
// getTargetRef: ' ',
|
|
204
|
+
// getContainerRef: ' '
|
|
205
|
+
// };
|
|
207
206
|
|
|
208
207
|
if (false) {
|
|
209
208
|
PopOver.docs = {
|
package/lib/Popup/Popup.js
CHANGED
|
@@ -476,8 +476,11 @@ var Popup = function Popup(Component) {
|
|
|
476
476
|
|
|
477
477
|
var defaultPosition = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'bottomCenter';
|
|
478
478
|
var isResizeHandling = arguments.length > 1 ? arguments[1] : undefined;
|
|
479
|
+
|
|
479
480
|
// isResizeHandling --->>> Window resize and dropBox resize
|
|
480
|
-
var
|
|
481
|
+
var _ref3 = this.context || {},
|
|
482
|
+
direction = _ref3.direction;
|
|
483
|
+
|
|
481
484
|
var placeHolderElement = this.placeHolderElement,
|
|
482
485
|
dropElement = this.dropElement;
|
|
483
486
|
var needArrow = this.getNeedArrow(this);
|
|
@@ -513,12 +516,12 @@ var Popup = function Popup(Component) {
|
|
|
513
516
|
customOrder: customOrder
|
|
514
517
|
});
|
|
515
518
|
|
|
516
|
-
var
|
|
517
|
-
view =
|
|
518
|
-
views =
|
|
519
|
-
viewsOffset =
|
|
520
|
-
targetOffset =
|
|
521
|
-
popupOffset =
|
|
519
|
+
var _ref4 = betterPosition || {},
|
|
520
|
+
view = _ref4.view,
|
|
521
|
+
views = _ref4.views,
|
|
522
|
+
viewsOffset = _ref4.viewsOffset,
|
|
523
|
+
targetOffset = _ref4.targetOffset,
|
|
524
|
+
popupOffset = _ref4.popupOffset;
|
|
522
525
|
|
|
523
526
|
if (position !== view || !isPopupReady) {
|
|
524
527
|
_this4.setState({
|
|
@@ -576,25 +579,25 @@ var Popup = function Popup(Component) {
|
|
|
576
579
|
customOrder: customOrder
|
|
577
580
|
});
|
|
578
581
|
|
|
579
|
-
var
|
|
580
|
-
view =
|
|
581
|
-
views =
|
|
582
|
-
|
|
583
|
-
viewsOffset =
|
|
584
|
-
targetOffset =
|
|
585
|
-
popupOffset =
|
|
586
|
-
|
|
587
|
-
var
|
|
588
|
-
_ref5$left = _ref5.left,
|
|
589
|
-
oldLeft = _ref5$left === void 0 ? '' : _ref5$left,
|
|
590
|
-
_ref5$top = _ref5.top,
|
|
591
|
-
oldTop = _ref5$top === void 0 ? '' : _ref5$top;
|
|
592
|
-
|
|
593
|
-
var _ref6 = viewsOffset[view] || {},
|
|
582
|
+
var _ref5 = betterPosition || {},
|
|
583
|
+
view = _ref5.view,
|
|
584
|
+
views = _ref5.views,
|
|
585
|
+
_ref5$viewsOffset = _ref5.viewsOffset,
|
|
586
|
+
viewsOffset = _ref5$viewsOffset === void 0 ? {} : _ref5$viewsOffset,
|
|
587
|
+
targetOffset = _ref5.targetOffset,
|
|
588
|
+
popupOffset = _ref5.popupOffset;
|
|
589
|
+
|
|
590
|
+
var _ref6 = positionsOffset[position] || {},
|
|
594
591
|
_ref6$left = _ref6.left,
|
|
595
|
-
|
|
592
|
+
oldLeft = _ref6$left === void 0 ? '' : _ref6$left,
|
|
596
593
|
_ref6$top = _ref6.top,
|
|
597
|
-
|
|
594
|
+
oldTop = _ref6$top === void 0 ? '' : _ref6$top;
|
|
595
|
+
|
|
596
|
+
var _ref7 = viewsOffset[view] || {},
|
|
597
|
+
_ref7$left = _ref7.left,
|
|
598
|
+
left = _ref7$left === void 0 ? '' : _ref7$left,
|
|
599
|
+
_ref7$top = _ref7.top,
|
|
600
|
+
top = _ref7$top === void 0 ? '' : _ref7$top;
|
|
598
601
|
|
|
599
602
|
var changeState = isAbsolute ? position !== view : oldLeft !== left || oldTop !== top; // let isInViewPort = viewPort.isInViewPort(
|
|
600
603
|
// placeHolderElement,
|
|
@@ -658,11 +661,11 @@ var Popup = function Popup(Component) {
|
|
|
658
661
|
var height = popupSize.height,
|
|
659
662
|
width = popupSize.width;
|
|
660
663
|
|
|
661
|
-
var
|
|
662
|
-
|
|
663
|
-
oldHeight =
|
|
664
|
-
|
|
665
|
-
oldWidth =
|
|
664
|
+
var _ref8 = this.size || {},
|
|
665
|
+
_ref8$height = _ref8.height,
|
|
666
|
+
oldHeight = _ref8$height === void 0 ? 0 : _ref8$height,
|
|
667
|
+
_ref8$width = _ref8.width,
|
|
668
|
+
oldWidth = _ref8$width === void 0 ? 0 : _ref8$width;
|
|
666
669
|
|
|
667
670
|
var _this$state = this.state,
|
|
668
671
|
isPopupReady = _this$state.isPopupReady,
|
package/lib/Provider/Config.js
CHANGED
package/lib/Provider.js
CHANGED
|
@@ -15,49 +15,49 @@ var _Layout = require("./Layout");
|
|
|
15
15
|
|
|
16
16
|
var _Switch = _interopRequireDefault(require("./Switch/Switch"));
|
|
17
17
|
|
|
18
|
-
require("
|
|
18
|
+
require("../assets/Appearance/default/themes/blue/blueDefaultCTATheme.module.css");
|
|
19
19
|
|
|
20
|
-
require("
|
|
20
|
+
require("../assets/Appearance/default/themes/green/greenDefaultCTATheme.module.css");
|
|
21
21
|
|
|
22
|
-
require("
|
|
22
|
+
require("../assets/Appearance/default/themes/orange/orangeDefaultCTATheme.module.css");
|
|
23
23
|
|
|
24
|
-
require("
|
|
24
|
+
require("../assets/Appearance/default/themes/red/redDefaultCTATheme.module.css");
|
|
25
25
|
|
|
26
|
-
require("
|
|
26
|
+
require("../assets/Appearance/default/themes/yellow/yellowDefaultCTATheme.module.css");
|
|
27
27
|
|
|
28
|
-
require("
|
|
28
|
+
require("../assets/Appearance/default/themes/blue/blueDefaultComponentTheme.module.css");
|
|
29
29
|
|
|
30
|
-
require("
|
|
30
|
+
require("../assets/Appearance/default/themes/green/greenDefaultComponentTheme.module.css");
|
|
31
31
|
|
|
32
|
-
require("
|
|
32
|
+
require("../assets/Appearance/default/themes/orange/orangeDefaultComponentTheme.module.css");
|
|
33
33
|
|
|
34
|
-
require("
|
|
34
|
+
require("../assets/Appearance/default/themes/red/redDefaultComponentTheme.module.css");
|
|
35
35
|
|
|
36
|
-
require("
|
|
36
|
+
require("../assets/Appearance/default/themes/yellow/yellowDefaultComponentTheme.module.css");
|
|
37
37
|
|
|
38
|
-
require("
|
|
38
|
+
require("../assets/Appearance/default/mode/defaultMode.module.css");
|
|
39
39
|
|
|
40
|
-
require("
|
|
40
|
+
require("../assets/Appearance/dark/themes/blue/blueDarkCTATheme.module.css");
|
|
41
41
|
|
|
42
|
-
require("
|
|
42
|
+
require("../assets/Appearance/dark/themes/green/greenDarkCTATheme.module.css");
|
|
43
43
|
|
|
44
|
-
require("
|
|
44
|
+
require("../assets/Appearance/dark/themes/orange/orangeDarkCTATheme.module.css");
|
|
45
45
|
|
|
46
|
-
require("
|
|
46
|
+
require("../assets/Appearance/dark/themes/red/redDarkCTATheme.module.css");
|
|
47
47
|
|
|
48
|
-
require("
|
|
48
|
+
require("../assets/Appearance/dark/themes/yellow/yellowDarkCTATheme.module.css");
|
|
49
49
|
|
|
50
|
-
require("
|
|
50
|
+
require("../assets/Appearance/dark/themes/blue/blueDarkComponentTheme.module.css");
|
|
51
51
|
|
|
52
|
-
require("
|
|
52
|
+
require("../assets/Appearance/dark/themes/green/greenDarkComponentTheme.module.css");
|
|
53
53
|
|
|
54
|
-
require("
|
|
54
|
+
require("../assets/Appearance/dark/themes/orange/orangeDarkComponentTheme.module.css");
|
|
55
55
|
|
|
56
|
-
require("
|
|
56
|
+
require("../assets/Appearance/dark/themes/red/redDarkComponentTheme.module.css");
|
|
57
57
|
|
|
58
|
-
require("
|
|
58
|
+
require("../assets/Appearance/dark/themes/yellow/yellowDarkComponentTheme.module.css");
|
|
59
59
|
|
|
60
|
-
require("
|
|
60
|
+
require("../assets/Appearance/dark/mode/darkMode.module.css");
|
|
61
61
|
|
|
62
62
|
var _LibraryContextInit = _interopRequireDefault(require("./Provider/LibraryContextInit"));
|
|
63
63
|
|
package/lib/Radio/Radio.js
CHANGED
|
@@ -15,8 +15,6 @@ var _Label = _interopRequireDefault(require("../Label/Label"));
|
|
|
15
15
|
|
|
16
16
|
var _Layout = require("../Layout");
|
|
17
17
|
|
|
18
|
-
var _CssProvider = _interopRequireDefault(require("../Provider/CssProvider"));
|
|
19
|
-
|
|
20
18
|
var _RadioModule = _interopRequireDefault(require("./Radio.module.css"));
|
|
21
19
|
|
|
22
20
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
@@ -92,7 +90,7 @@ var Radio = /*#__PURE__*/function (_React$Component) {
|
|
|
92
90
|
customRadio = _customClass$customRa2 === void 0 ? '' : _customClass$customRa2,
|
|
93
91
|
_customClass$customLa = customClass.customLabel,
|
|
94
92
|
customLabel = _customClass$customLa === void 0 ? '' : _customClass$customLa;
|
|
95
|
-
var accessMode = isReadOnly ? _RadioModule["default"].readonly : disabled ?
|
|
93
|
+
var accessMode = isReadOnly ? _RadioModule["default"].readonly : disabled ? _RadioModule["default"].disabled : _RadioModule["default"].pointer;
|
|
96
94
|
var toolTip = disabled ? disabledTitle : title ? title : null;
|
|
97
95
|
var ariaHidden = a11y.ariaHidden,
|
|
98
96
|
_a11y$role = a11y.role,
|
|
@@ -97,7 +97,7 @@ var ResizeComponent = /*#__PURE__*/function (_React$Component) {
|
|
|
97
97
|
var newAdded = false;
|
|
98
98
|
mutation.addedNodes.forEach(function (mut) {
|
|
99
99
|
// Here we can listen for icon nodes. Confirm with bk
|
|
100
|
-
if (mut.attributes['data-responsive'] && (childrenList.length !== _this2.querySelector().length || _this2.childrenCurrentList.length !== _this2.querySelector().length)) {
|
|
100
|
+
if (mut.attributes && mut.attributes['data-responsive'] && (childrenList.length !== _this2.querySelector().length || _this2.childrenCurrentList.length !== _this2.querySelector().length)) {
|
|
101
101
|
newAdded = true;
|
|
102
102
|
}
|
|
103
103
|
});
|
package/lib/Ribbon/Ribbon.js
CHANGED
|
@@ -84,14 +84,14 @@ Ribbon.propTypes = {
|
|
|
84
84
|
text: _propTypes["default"].string,
|
|
85
85
|
type: _propTypes["default"].oneOf(['default', 'flag', 'plain', 'ribbon', 'box', 'stamp', 'sticker', 'tag']),
|
|
86
86
|
customClass: _propTypes["default"].string
|
|
87
|
-
};
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
87
|
+
}; // Ribbon.propTypesDescription = {
|
|
88
|
+
// text: ' ',
|
|
89
|
+
// type: ' ',
|
|
90
|
+
// children: ' ',
|
|
91
|
+
// palette: ' ',
|
|
92
|
+
// size: ' '
|
|
93
|
+
// };
|
|
94
|
+
|
|
95
95
|
Ribbon.defaultProps = {
|
|
96
96
|
palette: 'default',
|
|
97
97
|
size: 'large',
|