@zohodesk/components 1.0.0-temp-134 → 1.0.0-temp-135
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 +1168 -1158
- package/assets/Appearance/dark/mode/darkMode.module.css +185 -184
- package/assets/Appearance/dark/themes/blue/blueDarkCTAModifyCategory.module.css +102 -0
- package/assets/Appearance/dark/themes/blue/blueDarkCTATheme.module.css +30 -30
- package/assets/Appearance/dark/themes/green/greenDarkCTAModifyCategory.module.css +102 -0
- package/assets/Appearance/dark/themes/green/greenDarkCTATheme.module.css +30 -30
- package/assets/Appearance/dark/themes/orange/orangeDarkCTAModifyCategory.module.css +102 -0
- package/assets/Appearance/dark/themes/orange/orangeDarkCTATheme.module.css +30 -30
- package/assets/Appearance/dark/themes/red/redDarkCTAModifyCategory.module.css +102 -0
- package/assets/Appearance/dark/themes/red/redDarkCTATheme.module.css +30 -30
- package/assets/Appearance/dark/themes/yellow/yellowDarkCTAModifyCategory.module.css +102 -0
- package/assets/Appearance/dark/themes/yellow/yellowDarkCTATheme.module.css +30 -30
- package/assets/Appearance/default/mode/defaultMode.module.css +181 -180
- package/assets/Appearance/default/themes/blue/blueDefaultCTAModifyCategory.module.css +102 -0
- package/assets/Appearance/default/themes/blue/blueDefaultCTATheme.module.css +30 -30
- package/assets/Appearance/default/themes/green/greenDefaultCTAModifyCategory.module.css +102 -0
- package/assets/Appearance/default/themes/green/greenDefaultCTATheme.module.css +30 -30
- package/assets/Appearance/default/themes/orange/orangeDefaultCTAModifyCategory.module.css +102 -0
- package/assets/Appearance/default/themes/orange/orangeDefaultCTATheme.module.css +30 -30
- package/assets/Appearance/default/themes/red/redDefaultCTAModifyCategory.module.css +102 -0
- package/assets/Appearance/default/themes/red/redDefaultCTATheme.module.css +30 -30
- package/assets/Appearance/default/themes/yellow/yellowDefaultCTAModifyCategory.module.css +102 -0
- package/assets/Appearance/default/themes/yellow/yellowDefaultCTATheme.module.css +30 -30
- package/assets/Appearance/pureDark/mode/pureDarkMode.module.css +186 -185
- package/assets/Appearance/pureDark/themes/blue/bluePureDarkCTAModifyCategory.module.css +102 -0
- package/assets/Appearance/pureDark/themes/blue/bluePureDarkCTATheme.module.css +30 -30
- package/assets/Appearance/pureDark/themes/green/greenPureDarkCTAModifyCategory.module.css +102 -0
- package/assets/Appearance/pureDark/themes/green/greenPureDarkCTATheme.module.css +30 -30
- package/assets/Appearance/pureDark/themes/orange/orangePureDarkCTAModifyCategory.module.css +102 -0
- package/assets/Appearance/pureDark/themes/orange/orangePureDarkCTATheme.module.css +30 -30
- package/assets/Appearance/pureDark/themes/red/redPureDarkCTAModifyCategory.module.css +102 -0
- package/assets/Appearance/pureDark/themes/red/redPureDarkCTATheme.module.css +30 -30
- package/assets/Appearance/pureDark/themes/yellow/yellowPureDarkCTAModifyCategory.module.css +102 -0
- package/assets/Appearance/pureDark/themes/yellow/yellowPureDarkCTATheme.module.css +30 -30
- package/assets/Contrast/darkContrastLightness.module.css +33 -0
- package/assets/Contrast/defaultContrastLightness.module.css +33 -0
- package/assets/Contrast/pureDarkContrastLightness.module.css +33 -0
- package/css_error.log +1 -0
- package/docs/external/active-line.js +72 -72
- package/docs/external/autorefresh.js +47 -47
- package/docs/external/codemirror.js +9681 -9681
- package/docs/external/css/hopscotch.css +576 -576
- package/docs/external/css/styleGuide.css +1100 -1100
- package/docs/external/css.js +466 -466
- package/docs/external/designTokens.js +1 -1
- package/docs/external/foldcode.js +151 -151
- package/docs/external/format.js +129 -129
- package/docs/external/htmlmixed.js +84 -84
- package/docs/external/index.html +127 -127
- package/docs/external/javascript.js +422 -422
- package/docs/external/jsx.js +147 -147
- package/docs/external/matchbrackets.js +145 -145
- package/docs/external/xml.js +322 -322
- package/docs/package.json +41 -41
- package/docs/src/index.js +1311 -1311
- package/es/AppContainer/AppContainer.js +1 -0
- package/es/AppContainer/AppContainer.module.css +18 -18
- package/es/Avatar/Avatar.js +9 -9
- package/es/Avatar/Avatar.module.css +176 -141
- package/es/Avatar/__tests__/__snapshots__/Avatar.spec.js.snap +288 -288
- package/es/AvatarTeam/AvatarTeam.js +7 -7
- package/es/AvatarTeam/AvatarTeam.module.css +188 -188
- package/es/AvatarTeam/__tests__/__snapshots__/AvatarTeam.spec.js.snap +226 -226
- package/es/Button/Button.js +4 -4
- package/es/Button/Button.module.css +543 -525
- package/es/Button/__tests__/__snapshots__/Button.spec.js.snap +191 -191
- package/es/Buttongroup/Buttongroup.js +1 -1
- package/es/Buttongroup/Buttongroup.module.css +107 -89
- package/es/Buttongroup/__test__/__snapshots__/Buttongroup.spec.js.snap +146 -146
- package/es/Card/Card.js +4 -4
- package/es/Card/Card.module.css +20 -20
- package/es/CheckBox/CheckBox.js +0 -0
- package/es/CheckBox/CheckBox.module.css +157 -157
- package/es/DateTime/CalendarView.js +0 -0
- package/es/DateTime/DateTime.js +0 -0
- package/es/DateTime/DateTime.module.css +235 -235
- package/es/DateTime/DateTimePopupHeader.js +1 -1
- package/es/DateTime/DateWidget.js +1 -1
- package/es/DateTime/DateWidget.module.css +38 -38
- package/es/DateTime/YearView.js +1 -1
- package/es/DateTime/YearView.module.css +98 -98
- package/es/DateTime/common.js +0 -0
- package/es/DateTime/index.js +1 -1
- package/es/DateTime/objectUtils.js +0 -0
- package/es/DateTime/typeChecker.js +0 -0
- package/es/DateTime/validator.js +0 -0
- package/es/DropBox/DropBox.js +0 -0
- package/es/DropBox/DropBox.module.css +489 -406
- package/es/DropBox/DropBoxPositionMapping.json +144 -144
- package/es/DropDown/DropDown.js +0 -0
- package/es/DropDown/DropDown.module.css +5 -5
- package/es/DropDown/DropDownHeading.js +0 -0
- package/es/DropDown/DropDownHeading.module.css +53 -53
- package/es/DropDown/DropDownItem.js +0 -0
- package/es/DropDown/DropDownItem.module.css +94 -94
- package/es/DropDown/DropDownSearch.js +0 -0
- package/es/DropDown/DropDownSearch.module.css +14 -14
- package/es/DropDown/DropDownSeparator.js +0 -0
- package/es/DropDown/DropDownSeparator.module.css +7 -7
- package/es/DropDown/index.js +7 -0
- package/es/Heading/Heading.module.css +4 -4
- package/es/Label/Label.js +2 -2
- package/es/Label/Label.module.css +52 -52
- package/es/Label/LabelColors.module.css +20 -20
- package/es/Label/__tests__/__snapshots__/Label.spec.js.snap +101 -101
- package/es/Layout/Box.js +0 -0
- package/es/Layout/Container.js +0 -0
- package/es/Layout/Layout.module.css +335 -335
- package/es/Layout/index.js +9 -9
- package/es/Layout/utils.js +0 -0
- package/es/ListItem/ListItem.js +1 -1
- package/es/ListItem/ListItem.module.css +209 -209
- package/es/ListItem/ListItemWithAvatar.js +1 -1
- package/es/ListItem/ListItemWithIcon.js +1 -1
- package/es/ListItem/index.js +6 -0
- package/es/MultiSelect/AdvancedGroupMultiSelect.js +6 -6
- package/es/MultiSelect/AdvancedMultiSelect.js +1 -1
- package/es/MultiSelect/MultiSelect.js +11 -24
- package/es/MultiSelect/MultiSelect.module.css +205 -205
- package/es/MultiSelect/MultiSelectWithAvatar.js +6 -19
- package/es/MultiSelect/SelectedOptions.module.css +15 -15
- package/es/MultiSelect/__tests__/MultiSelect.spec.js +0 -0
- package/es/MultiSelect/index.js +4 -0
- package/es/MultiSelect/props/defaultProps.js +2 -5
- package/es/MultiSelect/props/propTypes.js +1 -7
- package/es/PopOver/PopOver.module.css +8 -8
- package/es/PopOver/index.js +3 -0
- package/es/Popup/Popup.js +0 -0
- package/es/Popup/PositionMapping.json +73 -73
- package/es/Provider/IdProvider.js +8 -7
- package/es/Provider/index.js +4 -0
- package/es/Radio/Radio.js +0 -0
- package/es/Radio/Radio.module.css +112 -112
- package/es/Responsive/CustomResponsive.js +0 -0
- package/es/Responsive/index.js +11 -8
- package/es/ResponsiveDropBox/ResponsiveDropBox.module.css +6 -6
- package/es/Ribbon/Ribbon.js +0 -0
- package/es/Ribbon/Ribbon.module.css +454 -376
- package/es/Ribbon/__tests__/__snapshots__/Ribbon.spec.js.snap +163 -163
- package/es/RippleEffect/RippleEffect.module.css +92 -92
- package/es/Select/GroupSelect.js +1 -1
- package/es/Select/Select.js +1 -1
- package/es/Select/Select.module.css +108 -108
- package/es/Select/SelectWithAvatar.js +0 -0
- package/es/Select/SelectWithIcon.js +1 -1
- package/es/Select/__tests__/Select.spec.js +0 -0
- package/es/Select/index.js +4 -0
- package/es/Stencils/Stencils.js +0 -0
- package/es/Stencils/Stencils.module.css +96 -96
- package/es/Stencils/__tests__/__snapshots__/Stencils.spec.js.snap +49 -49
- package/es/Switch/Switch.js +0 -0
- package/es/Switch/Switch.module.css +127 -110
- package/es/Tab/Tab.module.css +100 -101
- package/es/Tab/TabContent.module.css +4 -4
- package/es/Tab/Tabs.js +18 -18
- package/es/Tab/Tabs.module.css +143 -140
- package/es/Tag/Tag.js +9 -9
- package/es/Tag/Tag.module.css +254 -254
- package/es/TextBox/TextBox.js +0 -0
- package/es/TextBox/TextBox.module.css +157 -157
- package/es/TextBox/__tests__/__snapshots__/TextBox.spec.js.snap +127 -127
- package/es/TextBoxIcon/TextBoxIcon.js +1 -1
- package/es/TextBoxIcon/TextBoxIcon.module.css +78 -78
- package/es/TextBoxIcon/__tests__/__snapshots__/TextBoxIcon.spec.js.snap +334 -334
- package/es/Textarea/Textarea.js +0 -0
- package/es/Textarea/Textarea.module.css +139 -139
- package/es/Textarea/__tests__/__snapshots__/Textarea.spec.js.snap +97 -97
- package/es/Tooltip/Tooltip.module.css +134 -109
- package/es/VelocityAnimation/index.js +2 -0
- package/es/common/a11y.module.css +3 -3
- package/es/common/animation.module.css +624 -624
- package/es/common/avatarsizes.module.css +48 -48
- package/es/common/basic.module.css +33 -33
- package/es/common/basicReset.module.css +40 -40
- package/es/common/boxShadow.module.css +71 -0
- package/es/common/common.module.css +524 -524
- package/es/common/customscroll.module.css +89 -89
- package/es/common/reset.module.css +12 -12
- package/es/common/transition.module.css +146 -146
- package/es/deprecated/AdvancedMultiSelect.module.css +126 -126
- package/es/index.js +30 -40
- package/es/semantic/Button/semanticButton.module.css +9 -9
- package/es/semantic/index.js +1 -0
- package/es/utils/Common.js +0 -0
- package/es/utils/css/compileClassNames.js +23 -0
- package/es/utils/css/mergeStyle.js +42 -0
- package/es/utils/css/utils.js +23 -0
- package/es/utils/dropDownUtils.js +2 -3
- package/es/utils/index.js +3 -0
- package/install.md +10 -10
- package/lib/Accordion/Accordion.js +1 -3
- package/lib/Accordion/AccordionItem.js +1 -3
- package/lib/Animation/Animation.js +1 -3
- package/lib/AppContainer/AppContainer.js +2 -3
- package/lib/AppContainer/AppContainer.module.css +18 -18
- package/lib/Avatar/Avatar.js +11 -13
- package/lib/Avatar/Avatar.module.css +176 -141
- package/lib/Avatar/__tests__/__snapshots__/Avatar.spec.js.snap +288 -288
- package/lib/AvatarTeam/AvatarTeam.js +8 -10
- package/lib/AvatarTeam/AvatarTeam.module.css +188 -188
- package/lib/AvatarTeam/__tests__/__snapshots__/AvatarTeam.spec.js.snap +226 -226
- package/lib/Button/Button.js +5 -7
- package/lib/Button/Button.module.css +543 -525
- package/lib/Button/__tests__/__snapshots__/Button.spec.js.snap +191 -191
- package/lib/Buttongroup/Buttongroup.js +3 -6
- package/lib/Buttongroup/Buttongroup.module.css +107 -89
- package/lib/Buttongroup/__test__/__snapshots__/Buttongroup.spec.js.snap +146 -146
- package/lib/Card/Card.js +5 -7
- package/lib/Card/Card.module.css +20 -20
- package/lib/CheckBox/CheckBox.js +1 -3
- package/lib/CheckBox/CheckBox.module.css +157 -157
- package/lib/DateTime/CalendarView.js +2 -5
- package/lib/DateTime/DateTime.js +3 -5
- package/lib/DateTime/DateTime.module.css +235 -235
- package/lib/DateTime/DateTimePopupFooter.js +1 -3
- package/lib/DateTime/DateTimePopupHeader.js +5 -7
- package/lib/DateTime/DateWidget.js +3 -5
- package/lib/DateTime/DateWidget.module.css +38 -38
- package/lib/DateTime/DaysRow.js +1 -3
- package/lib/DateTime/Time.js +1 -3
- package/lib/DateTime/YearView.js +3 -5
- package/lib/DateTime/YearView.module.css +98 -98
- package/lib/DateTime/common.js +0 -0
- package/lib/DateTime/dateFormatUtils/timeChange.js +2 -2
- package/lib/DateTime/index.js +1 -1
- package/lib/DateTime/objectUtils.js +0 -0
- package/lib/DateTime/typeChecker.js +0 -0
- package/lib/DateTime/validator.js +4 -4
- package/lib/DropBox/DropBox.js +1 -3
- package/lib/DropBox/DropBox.module.css +489 -406
- package/lib/DropBox/DropBoxPositionMapping.json +144 -144
- package/lib/DropDown/DropDown.js +2 -5
- package/lib/DropDown/DropDown.module.css +5 -5
- package/lib/DropDown/DropDownHeading.js +1 -3
- package/lib/DropDown/DropDownHeading.module.css +53 -53
- package/lib/DropDown/DropDownItem.js +1 -3
- package/lib/DropDown/DropDownItem.module.css +94 -94
- package/lib/DropDown/DropDownSearch.js +2 -5
- package/lib/DropDown/DropDownSearch.module.css +14 -14
- package/lib/DropDown/DropDownSeparator.js +1 -3
- package/lib/DropDown/DropDownSeparator.module.css +7 -7
- package/lib/DropDown/index.js +56 -0
- package/lib/DropDown/props/propTypes.js +1 -4
- package/lib/Heading/Heading.js +2 -4
- package/lib/Heading/Heading.module.css +4 -4
- package/lib/Label/Label.js +1 -3
- package/lib/Label/Label.module.css +52 -52
- package/lib/Label/LabelColors.module.css +20 -20
- package/lib/Label/__tests__/__snapshots__/Label.spec.js.snap +101 -101
- package/lib/Layout/Box.js +0 -0
- package/lib/Layout/Container.js +0 -0
- package/lib/Layout/Layout.module.css +335 -335
- package/lib/Layout/index.js +1 -11
- package/lib/Layout/utils.js +0 -0
- package/lib/ListItem/ListItem.js +3 -5
- package/lib/ListItem/ListItem.module.css +209 -209
- package/lib/ListItem/ListItemWithAvatar.js +3 -5
- package/lib/ListItem/ListItemWithCheckBox.js +1 -3
- package/lib/ListItem/ListItemWithIcon.js +4 -6
- package/lib/ListItem/ListItemWithRadio.js +1 -3
- package/lib/ListItem/index.js +48 -0
- package/lib/ListItem/props/propTypes.js +1 -4
- package/lib/Modal/Modal.js +1 -3
- package/lib/MultiSelect/AdvancedGroupMultiSelect.js +11 -13
- package/lib/MultiSelect/AdvancedMultiSelect.js +4 -6
- package/lib/MultiSelect/EmptyState.js +1 -3
- package/lib/MultiSelect/MultiSelect.js +15 -30
- package/lib/MultiSelect/MultiSelect.module.css +205 -205
- package/lib/MultiSelect/MultiSelectHeader.js +1 -3
- package/lib/MultiSelect/MultiSelectWithAvatar.js +8 -23
- package/lib/MultiSelect/SelectedOptions.js +2 -5
- package/lib/MultiSelect/SelectedOptions.module.css +15 -15
- package/lib/MultiSelect/Suggestions.js +2 -4
- package/lib/MultiSelect/__tests__/MultiSelect.spec.js +0 -0
- package/lib/MultiSelect/index.js +34 -0
- package/lib/MultiSelect/props/defaultProps.js +2 -5
- package/lib/MultiSelect/props/propTypes.js +1 -7
- package/lib/PopOver/PopOver.js +1 -3
- package/lib/PopOver/PopOver.module.css +8 -8
- package/lib/PopOver/index.js +27 -0
- package/lib/Popup/Popup.js +2 -4
- package/lib/Popup/PositionMapping.json +73 -73
- package/lib/Popup/__tests__/Popup.spec.js +1 -3
- package/lib/Provider/IdProvider.js +8 -8
- package/lib/Provider/LibraryContext.js +3 -5
- package/lib/Provider/NumberGenerator/NumberGenerator.js +1 -1
- package/lib/Provider/index.js +76 -0
- package/lib/Radio/Radio.js +1 -3
- package/lib/Radio/Radio.module.css +112 -112
- package/lib/Responsive/CustomResponsive.js +4 -6
- package/lib/Responsive/RefWrapper.js +2 -4
- package/lib/Responsive/ResizeComponent.js +4 -9
- package/lib/Responsive/ResizeObserver.js +1 -4
- package/lib/Responsive/Responsive.js +4 -6
- package/lib/Responsive/index.js +45 -22
- package/lib/Responsive/sizeObservers.js +2 -4
- package/lib/ResponsiveDropBox/ResponsiveDropBox.js +1 -3
- package/lib/ResponsiveDropBox/ResponsiveDropBox.module.css +6 -6
- package/lib/Ribbon/Ribbon.js +1 -3
- package/lib/Ribbon/Ribbon.module.css +454 -376
- package/lib/Ribbon/__tests__/__snapshots__/Ribbon.spec.js.snap +163 -163
- package/lib/RippleEffect/RippleEffect.module.css +92 -92
- package/lib/Select/GroupSelect.js +5 -7
- package/lib/Select/Select.js +3 -5
- package/lib/Select/Select.module.css +108 -108
- package/lib/Select/SelectWithAvatar.js +1 -3
- package/lib/Select/SelectWithIcon.js +4 -6
- package/lib/Select/__tests__/Select.spec.js +2 -2
- package/lib/Select/index.js +34 -0
- package/lib/Select/props/defaultProps.js +1 -4
- package/lib/Stencils/Stencils.js +1 -3
- package/lib/Stencils/Stencils.module.css +96 -96
- package/lib/Stencils/__tests__/__snapshots__/Stencils.spec.js.snap +49 -49
- package/lib/Switch/Switch.js +1 -3
- package/lib/Switch/Switch.module.css +127 -110
- package/lib/Tab/Tab.module.css +100 -101
- package/lib/Tab/TabContent.module.css +4 -4
- package/lib/Tab/TabWrapper.js +2 -2
- package/lib/Tab/Tabs.js +15 -17
- package/lib/Tab/Tabs.module.css +143 -140
- package/lib/Tag/Tag.js +12 -14
- package/lib/Tag/Tag.module.css +254 -254
- package/lib/TextBox/TextBox.js +1 -3
- package/lib/TextBox/TextBox.module.css +157 -157
- package/lib/TextBox/__tests__/__snapshots__/TextBox.spec.js.snap +127 -127
- package/lib/TextBox/props/propTypes.js +1 -4
- package/lib/TextBoxIcon/TextBoxIcon.js +4 -7
- package/lib/TextBoxIcon/TextBoxIcon.module.css +78 -78
- package/lib/TextBoxIcon/__tests__/__snapshots__/TextBoxIcon.spec.js.snap +334 -334
- package/lib/Textarea/Textarea.js +1 -3
- package/lib/Textarea/Textarea.module.css +139 -139
- package/lib/Textarea/__tests__/__snapshots__/Textarea.spec.js.snap +97 -97
- package/lib/Tooltip/Tooltip.js +1 -3
- package/lib/Tooltip/Tooltip.module.css +134 -109
- package/lib/Tooltip/__tests__/Tooltip.spec.js +1 -3
- package/lib/VelocityAnimation/VelocityAnimation/VelocityAnimation.js +1 -3
- package/lib/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +2 -4
- package/lib/VelocityAnimation/index.js +20 -0
- package/lib/common/a11y.module.css +3 -3
- package/lib/common/animation.module.css +624 -624
- package/lib/common/avatarsizes.module.css +48 -48
- package/lib/common/basic.module.css +33 -33
- package/lib/common/basicReset.module.css +40 -40
- package/lib/common/boxShadow.module.css +71 -0
- package/lib/common/common.module.css +524 -524
- package/lib/common/customscroll.module.css +89 -89
- package/lib/common/reset.module.css +12 -12
- package/lib/common/transition.module.css +146 -146
- package/lib/deprecated/AdvancedMultiSelect.module.css +126 -126
- package/lib/deprecated/PortalLayer/PortalLayer.js +1 -3
- package/lib/index.js +164 -212
- package/lib/semantic/Button/Button.js +1 -3
- package/lib/semantic/Button/semanticButton.module.css +9 -9
- package/lib/semantic/index.js +13 -0
- package/lib/utils/Common.js +0 -0
- package/lib/utils/constructFullName.js +2 -2
- package/lib/utils/css/compileClassNames.js +31 -0
- package/lib/utils/css/mergeStyle.js +49 -0
- package/lib/utils/css/utils.js +33 -0
- package/lib/utils/dropDownUtils.js +5 -10
- package/lib/utils/index.js +117 -0
- package/package.json +102 -102
package/lib/index.js
CHANGED
|
@@ -5,71 +5,33 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
7
|
var _exportNames = {
|
|
8
|
-
Layout: true,
|
|
9
|
-
AppContainer: true,
|
|
10
|
-
Accordion: true,
|
|
11
8
|
Animation: true,
|
|
12
|
-
|
|
9
|
+
AppContainer: true,
|
|
13
10
|
Avatar: true,
|
|
14
11
|
AvatarTeam: true,
|
|
15
12
|
Button: true,
|
|
16
13
|
Buttongroup: true,
|
|
17
|
-
Switch: true,
|
|
18
|
-
Radio: true,
|
|
19
|
-
Textarea: true,
|
|
20
|
-
Label: true,
|
|
21
|
-
DropDownHeading: true,
|
|
22
14
|
CheckBox: true,
|
|
15
|
+
DropBox: true,
|
|
16
|
+
Heading: true,
|
|
17
|
+
Label: true,
|
|
18
|
+
Modal: true,
|
|
19
|
+
PopOver: true,
|
|
20
|
+
Popup: true,
|
|
21
|
+
Providers: true,
|
|
22
|
+
Radio: true,
|
|
23
|
+
ResponsiveDropBox: true,
|
|
23
24
|
Ribbon: true,
|
|
25
|
+
RippleEffect: true,
|
|
26
|
+
Stencils: true,
|
|
27
|
+
Switch: true,
|
|
24
28
|
Tag: true,
|
|
29
|
+
Textarea: true,
|
|
25
30
|
TextBox: true,
|
|
26
31
|
TextBoxIcon: true,
|
|
27
32
|
Tooltip: true,
|
|
28
|
-
|
|
29
|
-
SelectWithIcon: true,
|
|
30
|
-
GroupSelect: true,
|
|
31
|
-
SelectWithAvatar: true,
|
|
32
|
-
MultiSelect: true,
|
|
33
|
-
AdvancedMultiSelect: true,
|
|
34
|
-
AdvancedGroupMultiSelect: true,
|
|
35
|
-
MultiSelectWithAvatar: true,
|
|
36
|
-
DateWidget: true,
|
|
37
|
-
ListItem: true,
|
|
38
|
-
ListItemWithIcon: true,
|
|
39
|
-
ListItemWithCheckBox: true,
|
|
40
|
-
ListItemWithRadio: true,
|
|
41
|
-
ListItemWithAvatar: true,
|
|
42
|
-
DropBox: true,
|
|
43
|
-
PopOver: true,
|
|
44
|
-
Stencils: true,
|
|
45
|
-
Modal: true,
|
|
46
|
-
RippleEffect: true,
|
|
47
|
-
PortalLayer: true,
|
|
48
|
-
VelocityAnimation: true,
|
|
49
|
-
VelocityAnimationGroup: true,
|
|
50
|
-
Provider: true,
|
|
51
|
-
SemanticButton: true,
|
|
52
|
-
ResponsiveDropBox: true,
|
|
53
|
-
Heading: true
|
|
33
|
+
utils: true
|
|
54
34
|
};
|
|
55
|
-
Object.defineProperty(exports, "Accordion", {
|
|
56
|
-
enumerable: true,
|
|
57
|
-
get: function get() {
|
|
58
|
-
return _Accordion["default"];
|
|
59
|
-
}
|
|
60
|
-
});
|
|
61
|
-
Object.defineProperty(exports, "AdvancedGroupMultiSelect", {
|
|
62
|
-
enumerable: true,
|
|
63
|
-
get: function get() {
|
|
64
|
-
return _AdvancedGroupMultiSelect["default"];
|
|
65
|
-
}
|
|
66
|
-
});
|
|
67
|
-
Object.defineProperty(exports, "AdvancedMultiSelect", {
|
|
68
|
-
enumerable: true,
|
|
69
|
-
get: function get() {
|
|
70
|
-
return _AdvancedMultiSelect["default"];
|
|
71
|
-
}
|
|
72
|
-
});
|
|
73
35
|
Object.defineProperty(exports, "Animation", {
|
|
74
36
|
enumerable: true,
|
|
75
37
|
get: function get() {
|
|
@@ -106,42 +68,18 @@ Object.defineProperty(exports, "Buttongroup", {
|
|
|
106
68
|
return _Buttongroup["default"];
|
|
107
69
|
}
|
|
108
70
|
});
|
|
109
|
-
Object.defineProperty(exports, "Card", {
|
|
110
|
-
enumerable: true,
|
|
111
|
-
get: function get() {
|
|
112
|
-
return _Card["default"];
|
|
113
|
-
}
|
|
114
|
-
});
|
|
115
71
|
Object.defineProperty(exports, "CheckBox", {
|
|
116
72
|
enumerable: true,
|
|
117
73
|
get: function get() {
|
|
118
74
|
return _CheckBox["default"];
|
|
119
75
|
}
|
|
120
76
|
});
|
|
121
|
-
Object.defineProperty(exports, "DateWidget", {
|
|
122
|
-
enumerable: true,
|
|
123
|
-
get: function get() {
|
|
124
|
-
return _DateWidget["default"];
|
|
125
|
-
}
|
|
126
|
-
});
|
|
127
77
|
Object.defineProperty(exports, "DropBox", {
|
|
128
78
|
enumerable: true,
|
|
129
79
|
get: function get() {
|
|
130
80
|
return _DropBox["default"];
|
|
131
81
|
}
|
|
132
82
|
});
|
|
133
|
-
Object.defineProperty(exports, "DropDownHeading", {
|
|
134
|
-
enumerable: true,
|
|
135
|
-
get: function get() {
|
|
136
|
-
return _DropDownHeading["default"];
|
|
137
|
-
}
|
|
138
|
-
});
|
|
139
|
-
Object.defineProperty(exports, "GroupSelect", {
|
|
140
|
-
enumerable: true,
|
|
141
|
-
get: function get() {
|
|
142
|
-
return _GroupSelect["default"];
|
|
143
|
-
}
|
|
144
|
-
});
|
|
145
83
|
Object.defineProperty(exports, "Heading", {
|
|
146
84
|
enumerable: true,
|
|
147
85
|
get: function get() {
|
|
@@ -154,73 +92,20 @@ Object.defineProperty(exports, "Label", {
|
|
|
154
92
|
return _Label["default"];
|
|
155
93
|
}
|
|
156
94
|
});
|
|
157
|
-
exports.Layout = void 0;
|
|
158
|
-
Object.defineProperty(exports, "ListItem", {
|
|
159
|
-
enumerable: true,
|
|
160
|
-
get: function get() {
|
|
161
|
-
return _ListItem["default"];
|
|
162
|
-
}
|
|
163
|
-
});
|
|
164
|
-
Object.defineProperty(exports, "ListItemWithAvatar", {
|
|
165
|
-
enumerable: true,
|
|
166
|
-
get: function get() {
|
|
167
|
-
return _ListItemWithAvatar["default"];
|
|
168
|
-
}
|
|
169
|
-
});
|
|
170
|
-
Object.defineProperty(exports, "ListItemWithCheckBox", {
|
|
171
|
-
enumerable: true,
|
|
172
|
-
get: function get() {
|
|
173
|
-
return _ListItemWithCheckBox["default"];
|
|
174
|
-
}
|
|
175
|
-
});
|
|
176
|
-
Object.defineProperty(exports, "ListItemWithIcon", {
|
|
177
|
-
enumerable: true,
|
|
178
|
-
get: function get() {
|
|
179
|
-
return _ListItemWithIcon["default"];
|
|
180
|
-
}
|
|
181
|
-
});
|
|
182
|
-
Object.defineProperty(exports, "ListItemWithRadio", {
|
|
183
|
-
enumerable: true,
|
|
184
|
-
get: function get() {
|
|
185
|
-
return _ListItemWithRadio["default"];
|
|
186
|
-
}
|
|
187
|
-
});
|
|
188
95
|
Object.defineProperty(exports, "Modal", {
|
|
189
96
|
enumerable: true,
|
|
190
97
|
get: function get() {
|
|
191
98
|
return _Modal["default"];
|
|
192
99
|
}
|
|
193
100
|
});
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
get: function get() {
|
|
197
|
-
return _MultiSelect["default"];
|
|
198
|
-
}
|
|
199
|
-
});
|
|
200
|
-
Object.defineProperty(exports, "MultiSelectWithAvatar", {
|
|
201
|
-
enumerable: true,
|
|
202
|
-
get: function get() {
|
|
203
|
-
return _MultiSelectWithAvatar["default"];
|
|
204
|
-
}
|
|
205
|
-
});
|
|
206
|
-
Object.defineProperty(exports, "PopOver", {
|
|
101
|
+
exports.PopOver = void 0;
|
|
102
|
+
Object.defineProperty(exports, "Popup", {
|
|
207
103
|
enumerable: true,
|
|
208
104
|
get: function get() {
|
|
209
|
-
return
|
|
210
|
-
}
|
|
211
|
-
});
|
|
212
|
-
Object.defineProperty(exports, "PortalLayer", {
|
|
213
|
-
enumerable: true,
|
|
214
|
-
get: function get() {
|
|
215
|
-
return _PortalLayer["default"];
|
|
216
|
-
}
|
|
217
|
-
});
|
|
218
|
-
Object.defineProperty(exports, "Provider", {
|
|
219
|
-
enumerable: true,
|
|
220
|
-
get: function get() {
|
|
221
|
-
return _IdProvider.Provider;
|
|
105
|
+
return _Popup["default"];
|
|
222
106
|
}
|
|
223
107
|
});
|
|
108
|
+
exports.Providers = void 0;
|
|
224
109
|
Object.defineProperty(exports, "Radio", {
|
|
225
110
|
enumerable: true,
|
|
226
111
|
get: function get() {
|
|
@@ -245,30 +130,6 @@ Object.defineProperty(exports, "RippleEffect", {
|
|
|
245
130
|
return _RippleEffect["default"];
|
|
246
131
|
}
|
|
247
132
|
});
|
|
248
|
-
Object.defineProperty(exports, "Select", {
|
|
249
|
-
enumerable: true,
|
|
250
|
-
get: function get() {
|
|
251
|
-
return _Select["default"];
|
|
252
|
-
}
|
|
253
|
-
});
|
|
254
|
-
Object.defineProperty(exports, "SelectWithAvatar", {
|
|
255
|
-
enumerable: true,
|
|
256
|
-
get: function get() {
|
|
257
|
-
return _SelectWithAvatar["default"];
|
|
258
|
-
}
|
|
259
|
-
});
|
|
260
|
-
Object.defineProperty(exports, "SelectWithIcon", {
|
|
261
|
-
enumerable: true,
|
|
262
|
-
get: function get() {
|
|
263
|
-
return _SelectWithIcon["default"];
|
|
264
|
-
}
|
|
265
|
-
});
|
|
266
|
-
Object.defineProperty(exports, "SemanticButton", {
|
|
267
|
-
enumerable: true,
|
|
268
|
-
get: function get() {
|
|
269
|
-
return _Button2["default"];
|
|
270
|
-
}
|
|
271
|
-
});
|
|
272
133
|
Object.defineProperty(exports, "Stencils", {
|
|
273
134
|
enumerable: true,
|
|
274
135
|
get: function get() {
|
|
@@ -311,36 +172,137 @@ Object.defineProperty(exports, "Tooltip", {
|
|
|
311
172
|
return _Tooltip["default"];
|
|
312
173
|
}
|
|
313
174
|
});
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
Object.defineProperty(exports,
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
175
|
+
exports.utils = void 0;
|
|
176
|
+
var _Accordion = require("./Accordion");
|
|
177
|
+
Object.keys(_Accordion).forEach(function (key) {
|
|
178
|
+
if (key === "default" || key === "__esModule") return;
|
|
179
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
180
|
+
if (key in exports && exports[key] === _Accordion[key]) return;
|
|
181
|
+
Object.defineProperty(exports, key, {
|
|
182
|
+
enumerable: true,
|
|
183
|
+
get: function get() {
|
|
184
|
+
return _Accordion[key];
|
|
185
|
+
}
|
|
186
|
+
});
|
|
325
187
|
});
|
|
326
|
-
var _Layout = _interopRequireWildcard(require("./Layout"));
|
|
327
|
-
exports.Layout = _Layout;
|
|
328
|
-
var _AppContainer = _interopRequireDefault(require("./AppContainer/AppContainer"));
|
|
329
|
-
var _Accordion = _interopRequireDefault(require("./Accordion/Accordion"));
|
|
330
188
|
var _Animation = _interopRequireDefault(require("./Animation/Animation"));
|
|
331
|
-
var
|
|
189
|
+
var _AppContainer = _interopRequireDefault(require("./AppContainer/AppContainer"));
|
|
332
190
|
var _Avatar = _interopRequireDefault(require("./Avatar/Avatar"));
|
|
333
191
|
var _AvatarTeam = _interopRequireDefault(require("./AvatarTeam/AvatarTeam"));
|
|
334
192
|
var _Button = _interopRequireDefault(require("./Button/Button"));
|
|
335
193
|
var _Buttongroup = _interopRequireDefault(require("./Buttongroup/Buttongroup"));
|
|
336
|
-
var
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
194
|
+
var _Card = require("./Card");
|
|
195
|
+
Object.keys(_Card).forEach(function (key) {
|
|
196
|
+
if (key === "default" || key === "__esModule") return;
|
|
197
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
198
|
+
if (key in exports && exports[key] === _Card[key]) return;
|
|
199
|
+
Object.defineProperty(exports, key, {
|
|
200
|
+
enumerable: true,
|
|
201
|
+
get: function get() {
|
|
202
|
+
return _Card[key];
|
|
203
|
+
}
|
|
204
|
+
});
|
|
205
|
+
});
|
|
341
206
|
var _CheckBox = _interopRequireDefault(require("./CheckBox/CheckBox"));
|
|
207
|
+
var _DateTime = require("./DateTime");
|
|
208
|
+
Object.keys(_DateTime).forEach(function (key) {
|
|
209
|
+
if (key === "default" || key === "__esModule") return;
|
|
210
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
211
|
+
if (key in exports && exports[key] === _DateTime[key]) return;
|
|
212
|
+
Object.defineProperty(exports, key, {
|
|
213
|
+
enumerable: true,
|
|
214
|
+
get: function get() {
|
|
215
|
+
return _DateTime[key];
|
|
216
|
+
}
|
|
217
|
+
});
|
|
218
|
+
});
|
|
219
|
+
var _DropBox = _interopRequireDefault(require("./DropBox/DropBox"));
|
|
220
|
+
var _DropDown = require("./DropDown");
|
|
221
|
+
Object.keys(_DropDown).forEach(function (key) {
|
|
222
|
+
if (key === "default" || key === "__esModule") return;
|
|
223
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
224
|
+
if (key in exports && exports[key] === _DropDown[key]) return;
|
|
225
|
+
Object.defineProperty(exports, key, {
|
|
226
|
+
enumerable: true,
|
|
227
|
+
get: function get() {
|
|
228
|
+
return _DropDown[key];
|
|
229
|
+
}
|
|
230
|
+
});
|
|
231
|
+
});
|
|
232
|
+
var _Heading = _interopRequireDefault(require("./Heading/Heading"));
|
|
233
|
+
var _Label = _interopRequireDefault(require("./Label/Label"));
|
|
234
|
+
var _Layout = require("./Layout");
|
|
235
|
+
Object.keys(_Layout).forEach(function (key) {
|
|
236
|
+
if (key === "default" || key === "__esModule") return;
|
|
237
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
238
|
+
if (key in exports && exports[key] === _Layout[key]) return;
|
|
239
|
+
Object.defineProperty(exports, key, {
|
|
240
|
+
enumerable: true,
|
|
241
|
+
get: function get() {
|
|
242
|
+
return _Layout[key];
|
|
243
|
+
}
|
|
244
|
+
});
|
|
245
|
+
});
|
|
246
|
+
var _ListItem = require("./ListItem");
|
|
247
|
+
Object.keys(_ListItem).forEach(function (key) {
|
|
248
|
+
if (key === "default" || key === "__esModule") return;
|
|
249
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
250
|
+
if (key in exports && exports[key] === _ListItem[key]) return;
|
|
251
|
+
Object.defineProperty(exports, key, {
|
|
252
|
+
enumerable: true,
|
|
253
|
+
get: function get() {
|
|
254
|
+
return _ListItem[key];
|
|
255
|
+
}
|
|
256
|
+
});
|
|
257
|
+
});
|
|
258
|
+
var _Modal = _interopRequireDefault(require("./Modal/Modal"));
|
|
259
|
+
var _MultiSelect = require("./MultiSelect");
|
|
260
|
+
Object.keys(_MultiSelect).forEach(function (key) {
|
|
261
|
+
if (key === "default" || key === "__esModule") return;
|
|
262
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
263
|
+
if (key in exports && exports[key] === _MultiSelect[key]) return;
|
|
264
|
+
Object.defineProperty(exports, key, {
|
|
265
|
+
enumerable: true,
|
|
266
|
+
get: function get() {
|
|
267
|
+
return _MultiSelect[key];
|
|
268
|
+
}
|
|
269
|
+
});
|
|
270
|
+
});
|
|
271
|
+
var _PopOver = _interopRequireWildcard(require("./PopOver"));
|
|
272
|
+
exports.PopOver = _PopOver;
|
|
273
|
+
var _Popup = _interopRequireDefault(require("./Popup/Popup"));
|
|
274
|
+
var _Providers = _interopRequireWildcard(require("./Provider"));
|
|
275
|
+
exports.Providers = _Providers;
|
|
276
|
+
var _Radio = _interopRequireDefault(require("./Radio/Radio"));
|
|
277
|
+
var _Responsive = require("./Responsive");
|
|
278
|
+
Object.keys(_Responsive).forEach(function (key) {
|
|
279
|
+
if (key === "default" || key === "__esModule") return;
|
|
280
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
281
|
+
if (key in exports && exports[key] === _Responsive[key]) return;
|
|
282
|
+
Object.defineProperty(exports, key, {
|
|
283
|
+
enumerable: true,
|
|
284
|
+
get: function get() {
|
|
285
|
+
return _Responsive[key];
|
|
286
|
+
}
|
|
287
|
+
});
|
|
288
|
+
});
|
|
289
|
+
var _ResponsiveDropBox = _interopRequireDefault(require("./ResponsiveDropBox/ResponsiveDropBox"));
|
|
342
290
|
var _Ribbon = _interopRequireDefault(require("./Ribbon/Ribbon"));
|
|
343
|
-
var
|
|
291
|
+
var _RippleEffect = _interopRequireDefault(require("./RippleEffect/RippleEffect"));
|
|
292
|
+
var _Select = require("./Select");
|
|
293
|
+
Object.keys(_Select).forEach(function (key) {
|
|
294
|
+
if (key === "default" || key === "__esModule") return;
|
|
295
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
296
|
+
if (key in exports && exports[key] === _Select[key]) return;
|
|
297
|
+
Object.defineProperty(exports, key, {
|
|
298
|
+
enumerable: true,
|
|
299
|
+
get: function get() {
|
|
300
|
+
return _Select[key];
|
|
301
|
+
}
|
|
302
|
+
});
|
|
303
|
+
});
|
|
304
|
+
var _Stencils = _interopRequireDefault(require("./Stencils/Stencils"));
|
|
305
|
+
var _Switch = _interopRequireDefault(require("./Switch/Switch"));
|
|
344
306
|
var _Tab = require("./Tab");
|
|
345
307
|
Object.keys(_Tab).forEach(function (key) {
|
|
346
308
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -353,47 +315,37 @@ Object.keys(_Tab).forEach(function (key) {
|
|
|
353
315
|
}
|
|
354
316
|
});
|
|
355
317
|
});
|
|
318
|
+
var _Tag = _interopRequireDefault(require("./Tag/Tag"));
|
|
319
|
+
var _Textarea = _interopRequireDefault(require("./Textarea/Textarea"));
|
|
356
320
|
var _TextBox = _interopRequireDefault(require("./TextBox/TextBox"));
|
|
357
321
|
var _TextBoxIcon = _interopRequireDefault(require("./TextBoxIcon/TextBoxIcon"));
|
|
358
322
|
var _Tooltip = _interopRequireDefault(require("./Tooltip/Tooltip"));
|
|
359
|
-
var
|
|
360
|
-
|
|
361
|
-
var
|
|
362
|
-
|
|
363
|
-
var _MultiSelect = _interopRequireDefault(require("./MultiSelect/MultiSelect"));
|
|
364
|
-
var _AdvancedMultiSelect = _interopRequireDefault(require("./MultiSelect/AdvancedMultiSelect"));
|
|
365
|
-
var _AdvancedGroupMultiSelect = _interopRequireDefault(require("./MultiSelect/AdvancedGroupMultiSelect"));
|
|
366
|
-
var _MultiSelectWithAvatar = _interopRequireDefault(require("./MultiSelect/MultiSelectWithAvatar"));
|
|
367
|
-
var _DateWidget = _interopRequireDefault(require("./DateTime/DateWidget"));
|
|
368
|
-
var _ListItem = _interopRequireDefault(require("./ListItem/ListItem"));
|
|
369
|
-
var _ListItemWithIcon = _interopRequireDefault(require("./ListItem/ListItemWithIcon"));
|
|
370
|
-
var _ListItemWithCheckBox = _interopRequireDefault(require("./ListItem/ListItemWithCheckBox"));
|
|
371
|
-
var _ListItemWithRadio = _interopRequireDefault(require("./ListItem/ListItemWithRadio"));
|
|
372
|
-
var _ListItemWithAvatar = _interopRequireDefault(require("./ListItem/ListItemWithAvatar"));
|
|
373
|
-
var _DropBox = _interopRequireDefault(require("./DropBox/DropBox"));
|
|
374
|
-
var _PopOver = _interopRequireDefault(require("./PopOver/PopOver"));
|
|
375
|
-
var _Stencils = _interopRequireDefault(require("./Stencils/Stencils"));
|
|
376
|
-
var _Modal = _interopRequireDefault(require("./Modal/Modal"));
|
|
377
|
-
var _Responsive = require("./Responsive");
|
|
378
|
-
Object.keys(_Responsive).forEach(function (key) {
|
|
323
|
+
var _utils = _interopRequireWildcard(require("./utils"));
|
|
324
|
+
exports.utils = _utils;
|
|
325
|
+
var _VelocityAnimation = require("./VelocityAnimation");
|
|
326
|
+
Object.keys(_VelocityAnimation).forEach(function (key) {
|
|
379
327
|
if (key === "default" || key === "__esModule") return;
|
|
380
328
|
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
381
|
-
if (key in exports && exports[key] ===
|
|
329
|
+
if (key in exports && exports[key] === _VelocityAnimation[key]) return;
|
|
382
330
|
Object.defineProperty(exports, key, {
|
|
383
331
|
enumerable: true,
|
|
384
332
|
get: function get() {
|
|
385
|
-
return
|
|
333
|
+
return _VelocityAnimation[key];
|
|
334
|
+
}
|
|
335
|
+
});
|
|
336
|
+
});
|
|
337
|
+
var _semantic = require("./semantic");
|
|
338
|
+
Object.keys(_semantic).forEach(function (key) {
|
|
339
|
+
if (key === "default" || key === "__esModule") return;
|
|
340
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
341
|
+
if (key in exports && exports[key] === _semantic[key]) return;
|
|
342
|
+
Object.defineProperty(exports, key, {
|
|
343
|
+
enumerable: true,
|
|
344
|
+
get: function get() {
|
|
345
|
+
return _semantic[key];
|
|
386
346
|
}
|
|
387
347
|
});
|
|
388
348
|
});
|
|
389
|
-
var _RippleEffect = _interopRequireDefault(require("./RippleEffect/RippleEffect"));
|
|
390
|
-
var _PortalLayer = _interopRequireDefault(require("./deprecated/PortalLayer/PortalLayer"));
|
|
391
|
-
var _VelocityAnimation = _interopRequireDefault(require("./VelocityAnimation/VelocityAnimation/VelocityAnimation"));
|
|
392
|
-
var _VelocityAnimationGroup = _interopRequireDefault(require("./VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup"));
|
|
393
|
-
var _IdProvider = require("./Provider/IdProvider");
|
|
394
|
-
var _Button2 = _interopRequireDefault(require("./semantic/Button/Button"));
|
|
395
|
-
var _ResponsiveDropBox = _interopRequireDefault(require("./ResponsiveDropBox/ResponsiveDropBox"));
|
|
396
|
-
var _Heading = _interopRequireDefault(require("./Heading/Heading"));
|
|
397
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
398
349
|
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); }
|
|
399
|
-
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; }
|
|
350
|
+
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; }
|
|
351
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
@@ -11,10 +11,8 @@ var _propTypes = require("./props/propTypes");
|
|
|
11
11
|
var _semanticButtonModule = _interopRequireDefault(require("./semanticButton.module.css"));
|
|
12
12
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
13
13
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
14
|
-
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target,
|
|
14
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
15
15
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
16
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
17
|
-
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
18
16
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
19
17
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
20
18
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
.buttonReset {
|
|
2
|
-
outline: 0;
|
|
3
|
-
font: inherit;
|
|
4
|
-
color: inherit;
|
|
5
|
-
border: inherit;
|
|
6
|
-
background-color: inherit;
|
|
7
|
-
padding: 0;
|
|
8
|
-
text-align: inherit;
|
|
9
|
-
}
|
|
1
|
+
.buttonReset {
|
|
2
|
+
outline: 0;
|
|
3
|
+
font: inherit;
|
|
4
|
+
color: inherit;
|
|
5
|
+
border: inherit;
|
|
6
|
+
background-color: inherit;
|
|
7
|
+
padding: 0;
|
|
8
|
+
text-align: inherit;
|
|
9
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "SemanticButton", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function get() {
|
|
9
|
+
return _Button["default"];
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
var _Button = _interopRequireDefault(require("./Button/Button"));
|
|
13
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
package/lib/utils/Common.js
CHANGED
|
File without changes
|
|
@@ -7,8 +7,8 @@ exports.constructFullNameByPattern = constructFullNameByPattern;
|
|
|
7
7
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
8
8
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
9
9
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
10
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
11
|
-
function _iterableToArrayLimit(arr, i) { var _i =
|
|
10
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
11
|
+
function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
|
|
12
12
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
13
13
|
function constructFullName(firstName, lastName) {
|
|
14
14
|
return "".concat(firstName ? "".concat(firstName).concat(lastName ? ' ' : '') : '').concat(lastName ? lastName : '');
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = compileClassNames;
|
|
7
|
+
var _utils = require("./utils");
|
|
8
|
+
var collectClassNames = function collectClassNames(processedClassNameList) {
|
|
9
|
+
for (var index = 0; index < (arguments.length <= 1 ? 0 : arguments.length - 1); index++) {
|
|
10
|
+
var classInfo = index + 1 < 1 || arguments.length <= index + 1 ? undefined : arguments[index + 1];
|
|
11
|
+
if (!classInfo) {
|
|
12
|
+
continue;
|
|
13
|
+
} else if ((0, _utils.isDataTypeOf)(classInfo, _utils.dataTypes.object)) {
|
|
14
|
+
for (var property in classInfo) {
|
|
15
|
+
if (Object.hasOwnProperty.call(classInfo, property) && property !== 'undefined' && property !== 'null' && classInfo[property] && !processedClassNameList.includes(property)) {
|
|
16
|
+
processedClassNameList.push(property);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
function compileClassNames() {
|
|
23
|
+
var resultClassNameList = [];
|
|
24
|
+
for (var _len = arguments.length, classinfoList = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
25
|
+
classinfoList[_key] = arguments[_key];
|
|
26
|
+
}
|
|
27
|
+
collectClassNames.apply(void 0, [resultClassNameList].concat(classinfoList));
|
|
28
|
+
return resultClassNameList.filter(function (a) {
|
|
29
|
+
return a !== '';
|
|
30
|
+
}).join(' ');
|
|
31
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = mergeStyle;
|
|
7
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
8
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
9
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
10
|
+
var REPLACER_SYMBOL = '$';
|
|
11
|
+
|
|
12
|
+
// $ startWith is used for replace the existing style.
|
|
13
|
+
// all other will be append
|
|
14
|
+
|
|
15
|
+
function mergeStyle(defaultStyle, customStyle) {
|
|
16
|
+
var additionalStyle = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
|
|
17
|
+
// if(!Object.keys(defaultStyle).includes('base')) {
|
|
18
|
+
// throw new Error(`STYLE CUSTOMIZATION RULE - Your style sheet should have "base" class name for customization`);
|
|
19
|
+
// }
|
|
20
|
+
|
|
21
|
+
return Object.keys(customStyle).reduce(function (res, next) {
|
|
22
|
+
if (next.startsWith(REPLACER_SYMBOL)) {
|
|
23
|
+
var styleValue = customStyle[next];
|
|
24
|
+
var styleName = next.replace(REPLACER_SYMBOL, '');
|
|
25
|
+
if (!defaultStyle[styleName] && !additionalStyle.includes(styleName)) {
|
|
26
|
+
// return res;
|
|
27
|
+
throw new Error("UNKNOWN CLASSNAME DETECTED - Given customStyle's key \"".concat(styleName, "\" is not available in that component style"));
|
|
28
|
+
}
|
|
29
|
+
var val = defaultStyle[styleName];
|
|
30
|
+
Object.keys(res).map(function (keyName) {
|
|
31
|
+
var styleKey = res[keyName];
|
|
32
|
+
if (styleKey.includes(val)) {
|
|
33
|
+
res[keyName] = styleKey.replace(val, styleValue);
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
} else if (defaultStyle[next] || additionalStyle.includes(next)) {
|
|
37
|
+
var _val = defaultStyle[next];
|
|
38
|
+
Object.keys(res).map(function (keyName) {
|
|
39
|
+
if (res[keyName].includes(_val)) {
|
|
40
|
+
res[keyName] = res[keyName] + ' ' + customStyle[next];
|
|
41
|
+
}
|
|
42
|
+
});
|
|
43
|
+
} else if (!defaultStyle[next] && !additionalStyle.includes(next)) {
|
|
44
|
+
// res[next] = customStyle[next];
|
|
45
|
+
"UNKNOWN CLASSNAME DETECTED - Given customStyle's key \"".concat(next, "\" is not available in that component style");
|
|
46
|
+
}
|
|
47
|
+
return res;
|
|
48
|
+
}, _objectSpread({}, defaultStyle));
|
|
49
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.isDataTypeOf = exports.getDataType = exports.dataTypes = void 0;
|
|
7
|
+
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); }
|
|
8
|
+
var dataTypes = {
|
|
9
|
+
number: 'number',
|
|
10
|
+
array: 'array',
|
|
11
|
+
string: 'string',
|
|
12
|
+
object: 'object',
|
|
13
|
+
bigint: 'bigint',
|
|
14
|
+
symbol: 'symbol',
|
|
15
|
+
undefined: 'undefined',
|
|
16
|
+
"function": 'function',
|
|
17
|
+
"boolean": 'boolean'
|
|
18
|
+
};
|
|
19
|
+
exports.dataTypes = dataTypes;
|
|
20
|
+
var getDataType = function getDataType(data) {
|
|
21
|
+
var typeofData = _typeof(data);
|
|
22
|
+
var isArrayDataType = Array.isArray(data);
|
|
23
|
+
if (isArrayDataType) {
|
|
24
|
+
return dataTypes.array;
|
|
25
|
+
} else {
|
|
26
|
+
return dataTypes[typeofData];
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
exports.getDataType = getDataType;
|
|
30
|
+
var isDataTypeOf = function isDataTypeOf(data, type) {
|
|
31
|
+
return getDataType(data) === type;
|
|
32
|
+
};
|
|
33
|
+
exports.isDataTypeOf = isDataTypeOf;
|