@zohodesk/components 1.0.0-temp-72 → 1.0.0-temp-73
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 +1071 -1071
- 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 -1
- package/es/AppContainer/AppContainer.module.css +18 -18
- package/es/Avatar/Avatar.js +10 -10
- package/es/Avatar/Avatar.module.css +117 -117
- package/es/Avatar/__tests__/__snapshots__/Avatar.spec.js.snap +288 -288
- package/es/AvatarTeam/AvatarTeam.js +8 -8
- package/es/AvatarTeam/AvatarTeam.module.css +161 -161
- package/es/AvatarTeam/__tests__/__snapshots__/AvatarTeam.spec.js.snap +226 -226
- package/es/AvatarTeam/docs/AvatarTeam__custom.docs.js +0 -0
- package/es/AvatarTeam/docs/AvatarTeam__default.docs.js +0 -0
- package/es/AvatarTeam/docs/AvatarTeam__palette.docs.js +0 -0
- package/es/AvatarTeam/docs/AvatarTeam__size.docs.js +0 -0
- package/es/Button/Button.js +4 -4
- package/es/Button/Button.module.css +521 -521
- package/es/Button/__tests__/__snapshots__/Button.spec.js.snap +191 -191
- package/es/Button/docs/Button__custom.docs.js +0 -0
- package/es/Button/docs/Button__default.docs.js +0 -0
- package/es/Buttongroup/Buttongroup.js +1 -1
- package/es/Buttongroup/Buttongroup.module.css +89 -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/Card/docs/Card__Custom.docs.js +0 -0
- package/es/Card/docs/Card__Default.docs.js +0 -0
- package/es/Card/docs/Card__Scroll.docs.js +0 -0
- package/es/CheckBox/CheckBox.js +1 -1
- package/es/CheckBox/CheckBox.module.css +157 -157
- package/es/CheckBox/docs/CheckBox__custom.docs.js +0 -0
- package/es/CheckBox/docs/CheckBox__default.docs.js +0 -0
- package/es/DateTime/CalendarView.js +0 -0
- package/es/DateTime/DateTime.js +0 -0
- package/es/DateTime/DateTime.module.css +187 -187
- package/es/DateTime/DateWidget.js +0 -0
- package/es/DateTime/DateWidget.module.css +38 -38
- package/es/DateTime/YearView.js +0 -0
- package/es/DateTime/YearView.module.css +81 -81
- package/es/DateTime/common.js +0 -0
- package/es/DateTime/docs/DateTime__default.docs.js +0 -0
- package/es/DateTime/docs/DateWidget__default.docs.js +0 -0
- package/es/DateTime/index.js +0 -0
- 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 +1 -1
- package/es/DropBox/DropBox.module.css +406 -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/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/Label/docs/Label__clipped.docs.js +0 -0
- package/es/Label/docs/Label__custom.docs.js +0 -0
- package/es/Label/docs/Label__palette.docs.js +0 -0
- package/es/Label/docs/Label__size.docs.js +0 -0
- package/es/Label/docs/Label__type.docs.js +0 -0
- 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/docs/Layout__default.docs.js +0 -0
- package/es/Layout/utils.js +0 -0
- package/es/LightNightMode/Colors.json +496 -496
- package/es/ListItem/ListContainer.js +1 -1
- 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/ListItemWithCheckBox.js +1 -1
- package/es/ListItem/ListItemWithIcon.js +1 -1
- package/es/ListItem/ListItemWithRadio.js +1 -1
- package/es/Modal/Modal.js +1 -1
- package/es/MultiSelect/AdvancedGroupMultiSelect.js +5 -5
- package/es/MultiSelect/AdvancedMultiSelect.js +1 -1
- package/es/MultiSelect/MultiSelect.js +5 -5
- package/es/MultiSelect/MultiSelect.module.css +205 -205
- package/es/MultiSelect/MultiSelectWithAvatar.js +0 -0
- package/es/MultiSelect/SelectedOptions.js +1 -1
- package/es/MultiSelect/SelectedOptions.module.css +15 -15
- package/es/MultiSelect/Suggestions.js +1 -1
- package/es/MultiSelect/__tests__/MultiSelect.spec.js +0 -0
- package/es/PopOver/PopOver.module.css +8 -8
- package/es/Popup/Popup.js +1 -1
- package/es/Popup/PositionMapping.json +73 -73
- package/es/Provider.js +7 -37
- package/es/Radio/Radio.js +0 -0
- package/es/Radio/Radio.module.css +112 -112
- package/es/Radio/docs/Radio__custom.docs.js +0 -0
- package/es/Radio/docs/Radio__default.docs.js +0 -0
- package/es/Responsive/CustomResponsive.js +0 -0
- package/es/Responsive/Responsive.js +1 -0
- package/es/Responsive/docs/Responsive__Custom.docs.js +0 -0
- package/es/Responsive/docs/style.module.css +55 -55
- package/es/ResponsiveDropBox/ResponsiveDropBox.js +1 -1
- package/es/ResponsiveDropBox/ResponsiveDropBox.module.css +6 -6
- package/es/Ribbon/Ribbon.js +0 -0
- package/es/Ribbon/Ribbon.module.css +376 -376
- package/es/Ribbon/__tests__/__snapshots__/Ribbon.spec.js.snap +163 -163
- package/es/Ribbon/docs/Ribbon__custom.docs.js +0 -0
- package/es/Ribbon/docs/Ribbon__default.docs.js +0 -0
- package/es/RippleEffect/RippleEffect.module.css +92 -92
- package/es/Select/GroupSelect.js +0 -0
- package/es/Select/Select.js +1 -1
- package/es/Select/Select.module.css +106 -106
- package/es/Select/SelectWithAvatar.js +0 -0
- package/es/Select/SelectWithIcon.js +1 -0
- package/es/Select/__tests__/Select.spec.js +0 -0
- package/es/Select/docs/SelectWithIcon__default.docs.js +0 -0
- package/es/Select/docs/Select__default.docs.js +0 -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 +1 -1
- package/es/Switch/Switch.module.css +110 -110
- package/es/Switch/docs/Switch__custom.docs.js +0 -0
- package/es/Switch/docs/Switch__default.docs.js +0 -0
- package/es/Tab/Tab.js +1 -1
- package/es/Tab/Tab.module.css +101 -101
- package/es/Tab/TabContent.module.css +4 -4
- package/es/Tab/TabWrapper.js +1 -1
- package/es/Tab/Tabs.js +18 -18
- package/es/Tab/Tabs.module.css +141 -141
- package/es/Tab/docs/tabdocs.module.css +29 -29
- package/es/Tag/Tag.js +8 -8
- package/es/Tag/Tag.module.css +254 -254
- package/es/Tag/docs/Tag__custom.docs.js +0 -0
- package/es/Tag/docs/Tag__default.docs.js +0 -0
- package/es/TextBox/TextBox.js +1 -1
- package/es/TextBox/TextBox.module.css +157 -157
- package/es/TextBox/__tests__/__snapshots__/TextBox.spec.js.snap +127 -127
- package/es/TextBox/docs/TextBox__custom.docs.js +0 -0
- package/es/TextBox/docs/TextBox__default.docs.js +0 -0
- package/es/TextBox/docs/TextBox__variant.docs.js +0 -0
- 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/TextBoxIcon/docs/TextBoxIcon__custom.docs.js +0 -0
- package/es/TextBoxIcon/docs/TextBoxIcon__default.docs.js +0 -0
- package/es/Textarea/Textarea.js +1 -1
- package/es/Textarea/Textarea.module.css +139 -139
- package/es/Textarea/__tests__/__snapshots__/Textarea.spec.js.snap +97 -97
- package/es/Textarea/docs/Textarea__custom.docs.js +0 -0
- package/es/Textarea/docs/Textarea__default.docs.js +0 -0
- package/es/Textarea/docs/Textarea__disabled.docs.js +0 -0
- package/es/Tooltip/Tooltip.module.css +109 -109
- package/es/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +1 -1
- package/es/common/animation.module.css +624 -624
- package/es/common/avatarsizes.module.css +44 -44
- package/es/common/basic.module.css +33 -33
- package/es/common/basicReset.module.css +40 -40
- package/es/common/common.module.css +524 -524
- package/es/common/customscroll.module.css +89 -89
- package/es/common/docStyle.module.css +766 -887
- 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 +9 -0
- package/es/semantic/Button/semanticButton.module.css +9 -9
- package/es/ucl/Grid/Grid.js +45 -0
- package/es/ucl/Grid/componentNames.js +6 -0
- package/es/ucl/Grid/css/Grid.module.css +217 -0
- package/es/ucl/Grid/css/cssJSLogic.js +46 -0
- package/es/ucl/Grid/docs/Grid__Area_Based_Detail_Layout.docs.js +41 -0
- package/es/ucl/Grid/docs/Grid__Area_Based_List_Layout.docs.js +49 -0
- package/es/ucl/Grid/docs/Grid__Auto_Flow_Row.docs.js +32 -0
- package/es/ucl/Grid/docs/Grid__Basic_Detail_Layout.docs.js +41 -0
- package/es/ucl/Grid/docs/Grid__Box_Alignment.docs.js +37 -0
- package/es/ucl/Grid/docs/Grid__Line_Based_Detail_Layout.docs.js +41 -0
- package/es/ucl/Grid/docs/Grid__Line_Based_List_Layout.docs.js +45 -0
- package/es/ucl/Grid/docs/Grid__default.docs.js +61 -0
- package/es/ucl/Grid/docs/css/gridDocsAreaBasedDetailLayout.module.css +38 -0
- package/es/ucl/Grid/docs/css/gridDocsAreaBasedListLayout.module.css +63 -0
- package/es/ucl/Grid/docs/css/gridDocsAutoFlowRow.module.css +23 -0
- package/es/ucl/Grid/docs/css/gridDocsBasicDetailLayout.module.css +21 -0
- package/es/ucl/Grid/docs/css/gridDocsBoxAlignment.module.css +16 -0
- package/es/ucl/Grid/docs/css/gridDocsDefault.module.css +15 -0
- package/es/ucl/Grid/docs/css/gridDocsLineBasedDetailLayout.module.css +38 -0
- package/es/ucl/Grid/docs/css/gridDocsLineBasedListLayout.module.css +47 -0
- package/es/ucl/Grid/docs/css/gridDocsStyle.module.css +30 -0
- package/es/ucl/Grid/index.js +5 -0
- package/es/ucl/Grid/props/ariaPropTypes.js +6 -0
- package/es/ucl/Grid/props/defaultProps.js +8 -0
- package/es/ucl/Grid/props/propConstants.js +66 -0
- package/es/ucl/Grid/props/propTypes.js +27 -0
- package/es/utils/Common.js +0 -0
- package/es/utils/dropDownUtils.js +0 -0
- package/lib/Accordion/Accordion.js +2 -2
- package/lib/Accordion/AccordionItem.js +2 -2
- package/lib/Accordion/docs/Accordion__Demo.docs.js +2 -2
- package/lib/Animation/Animation.js +2 -2
- package/lib/Animation/docs/Animation__default.docs.js +2 -2
- package/lib/Animation/docs/Animation__fadeIn.docs.js +2 -2
- package/lib/Animation/docs/Animation__scaleIn.docs.js +2 -2
- package/lib/Animation/docs/Animation__skewIn.docs.js +2 -2
- package/lib/Animation/docs/Animation__slideDown.docs.js +2 -2
- package/lib/Animation/docs/Animation__slideLeft.docs.js +2 -2
- package/lib/Animation/docs/Animation__zoomIn.docs.js +2 -2
- package/lib/AppContainer/AppContainer.js +3 -3
- package/lib/AppContainer/AppContainer.module.css +18 -18
- package/lib/AppContainer/docs/AppContainer__default.docs.js +2 -2
- package/lib/Avatar/Avatar.js +12 -12
- package/lib/Avatar/Avatar.module.css +117 -117
- package/lib/Avatar/__tests__/__snapshots__/Avatar.spec.js.snap +288 -288
- package/lib/Avatar/docs/Avatar__custom.docs.js +2 -2
- package/lib/Avatar/docs/Avatar__default.docs.js +2 -2
- package/lib/Avatar/docs/Avatar__palette.docs.js +2 -2
- package/lib/Avatar/docs/Avatar__text.docs.js +2 -2
- package/lib/AvatarTeam/AvatarTeam.js +10 -10
- package/lib/AvatarTeam/AvatarTeam.module.css +161 -161
- package/lib/AvatarTeam/__tests__/__snapshots__/AvatarTeam.spec.js.snap +226 -226
- package/lib/AvatarTeam/docs/AvatarTeam__custom.docs.js +2 -2
- package/lib/AvatarTeam/docs/AvatarTeam__default.docs.js +2 -2
- package/lib/AvatarTeam/docs/AvatarTeam__palette.docs.js +2 -2
- package/lib/AvatarTeam/docs/AvatarTeam__size.docs.js +2 -2
- package/lib/Button/Button.js +6 -6
- package/lib/Button/Button.module.css +521 -521
- package/lib/Button/__tests__/__snapshots__/Button.spec.js.snap +191 -191
- package/lib/Button/docs/Button__custom.docs.js +2 -2
- package/lib/Button/docs/Button__default.docs.js +2 -2
- package/lib/Buttongroup/Buttongroup.js +3 -3
- package/lib/Buttongroup/Buttongroup.module.css +89 -89
- package/lib/Buttongroup/__test__/__snapshots__/Buttongroup.spec.js.snap +146 -146
- package/lib/Buttongroup/docs/Buttongroup__custom.docs.js +2 -2
- package/lib/Buttongroup/docs/Buttongroup__footer.docs.js +2 -2
- package/lib/Buttongroup/docs/Buttongroup__header.docs.js +2 -2
- package/lib/Card/Card.js +6 -6
- package/lib/Card/Card.module.css +20 -20
- package/lib/Card/docs/Card__Custom.docs.js +2 -2
- package/lib/Card/docs/Card__Default.docs.js +2 -2
- package/lib/Card/docs/Card__Scroll.docs.js +2 -2
- package/lib/CheckBox/CheckBox.js +3 -3
- package/lib/CheckBox/CheckBox.module.css +157 -157
- package/lib/CheckBox/docs/CheckBox__custom.docs.js +2 -2
- package/lib/CheckBox/docs/CheckBox__default.docs.js +2 -2
- package/lib/DateTime/CalendarView.js +2 -2
- package/lib/DateTime/DateTime.js +2 -2
- package/lib/DateTime/DateTime.module.css +187 -187
- package/lib/DateTime/DateTimePopupFooter.js +2 -2
- package/lib/DateTime/DateTimePopupHeader.js +2 -2
- package/lib/DateTime/DateWidget.js +2 -2
- package/lib/DateTime/DateWidget.module.css +38 -38
- package/lib/DateTime/DaysRow.js +2 -2
- package/lib/DateTime/Time.js +2 -2
- package/lib/DateTime/YearView.js +2 -2
- package/lib/DateTime/YearView.module.css +81 -81
- package/lib/DateTime/common.js +0 -0
- package/lib/DateTime/docs/DateTime__default.docs.js +2 -2
- package/lib/DateTime/docs/DateWidget__default.docs.js +2 -2
- package/lib/DateTime/index.js +0 -0
- package/lib/DateTime/objectUtils.js +0 -0
- package/lib/DateTime/typeChecker.js +0 -0
- package/lib/DateTime/validator.js +0 -0
- package/lib/DropBox/DropBox.js +3 -3
- package/lib/DropBox/DropBox.module.css +406 -406
- package/lib/DropBox/DropBoxPositionMapping.json +144 -144
- package/lib/DropBox/docs/DropBox__custom.docs.js +2 -2
- package/lib/DropBox/docs/DropBox__customOrder.docs.js +2 -2
- package/lib/DropBox/docs/DropBox__fixedPosition.docs.js +2 -2
- package/lib/DropBox/docs/DropBox__position.docs.js +2 -2
- package/lib/DropBox/docs/DropBox__size.docs.js +2 -2
- package/lib/DropDown/DropDown.js +2 -2
- package/lib/DropDown/DropDown.module.css +5 -5
- package/lib/DropDown/DropDownHeading.js +2 -2
- package/lib/DropDown/DropDownHeading.module.css +53 -53
- package/lib/DropDown/DropDownItem.js +2 -2
- package/lib/DropDown/DropDownItem.module.css +94 -94
- package/lib/DropDown/DropDownSearch.js +2 -2
- package/lib/DropDown/DropDownSearch.module.css +14 -14
- package/lib/DropDown/DropDownSeparator.js +2 -2
- package/lib/DropDown/DropDownSeparator.module.css +7 -7
- package/lib/DropDown/docs/DropDownHeading__custom.docs.js +2 -2
- package/lib/DropDown/docs/DropDownHeading__default.docs.js +2 -2
- package/lib/Label/Label.js +2 -2
- 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/Label/docs/Label__clipped.docs.js +2 -2
- package/lib/Label/docs/Label__custom.docs.js +2 -2
- package/lib/Label/docs/Label__palette.docs.js +2 -2
- package/lib/Label/docs/Label__size.docs.js +2 -2
- package/lib/Label/docs/Label__type.docs.js +2 -2
- 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/docs/Layout__Hidden.docs.js +2 -2
- package/lib/Layout/docs/Layout__default.docs.js +2 -2
- package/lib/Layout/docs/Layout__four_Column.docs.js +2 -2
- package/lib/Layout/docs/Layout__three_Column.docs.js +2 -2
- package/lib/Layout/docs/Layout__two_Column.docs.js +2 -2
- package/lib/Layout/utils.js +0 -0
- package/lib/LightNightMode/Colors.json +496 -496
- package/lib/LightNightMode/docs/AlternativeColors.docs.js +2 -2
- package/lib/ListItem/ListContainer.js +1 -1
- package/lib/ListItem/ListItem.js +3 -3
- package/lib/ListItem/ListItem.module.css +209 -209
- package/lib/ListItem/ListItemWithAvatar.js +3 -3
- package/lib/ListItem/ListItemWithCheckBox.js +3 -3
- package/lib/ListItem/ListItemWithIcon.js +3 -3
- package/lib/ListItem/ListItemWithRadio.js +3 -3
- package/lib/ListItem/docs/ListItemWithAvatar__custom.docs.js +2 -2
- package/lib/ListItem/docs/ListItemWithAvatar__default.docs.js +2 -2
- package/lib/ListItem/docs/ListItemWithCheckBox__custom.docs.js +2 -2
- package/lib/ListItem/docs/ListItemWithCheckBox__default.docs.js +2 -2
- package/lib/ListItem/docs/ListItemWithIcon__custom.docs.js +2 -2
- package/lib/ListItem/docs/ListItemWithIcon__default.docs.js +2 -2
- package/lib/ListItem/docs/ListItemWithRadio__custom.docs.js +2 -2
- package/lib/ListItem/docs/ListItemWithRadio__default.docs.js +2 -2
- package/lib/ListItem/docs/ListItem__custom.docs.js +2 -2
- package/lib/ListItem/docs/ListItem__default.docs.js +2 -2
- package/lib/Modal/Modal.js +3 -3
- package/lib/Modal/__docs__/Modal__default.docs.js +2 -2
- package/lib/MultiSelect/AdvancedGroupMultiSelect.js +7 -7
- package/lib/MultiSelect/AdvancedMultiSelect.js +3 -3
- package/lib/MultiSelect/EmptyState.js +2 -2
- package/lib/MultiSelect/MultiSelect.js +7 -7
- package/lib/MultiSelect/MultiSelect.module.css +205 -205
- package/lib/MultiSelect/MultiSelectHeader.js +2 -2
- package/lib/MultiSelect/MultiSelectWithAvatar.js +2 -2
- package/lib/MultiSelect/SelectedOptions.js +3 -3
- package/lib/MultiSelect/SelectedOptions.module.css +15 -15
- package/lib/MultiSelect/Suggestions.js +3 -3
- package/lib/MultiSelect/__tests__/MultiSelect.spec.js +0 -0
- package/lib/MultiSelect/docs/AdvancedGroupMultiSelect__default.docs.js +2 -2
- package/lib/MultiSelect/docs/AdvancedMultiSelect__default.docs.js +2 -2
- package/lib/MultiSelect/docs/MultiSelectWithAvatar__default.docs.js +2 -2
- package/lib/MultiSelect/docs/MultiSelect__default.docs.js +2 -2
- package/lib/PopOver/PopOver.js +2 -2
- package/lib/PopOver/PopOver.module.css +8 -8
- package/lib/PopOver/docs/PopOver__default.docs.js +2 -2
- package/lib/Popup/Popup.js +3 -3
- package/lib/Popup/PositionMapping.json +73 -73
- package/lib/Popup/__tests__/Popup.spec.js +2 -2
- package/lib/Provider/docs/Provider_Id__Class.docs.js +2 -2
- package/lib/Provider/docs/Provider_Zindex__Class.docs.js +2 -2
- package/lib/Provider.js +6 -57
- package/lib/Radio/Radio.js +2 -2
- package/lib/Radio/Radio.module.css +112 -112
- package/lib/Radio/docs/Radio__custom.docs.js +2 -2
- package/lib/Radio/docs/Radio__default.docs.js +2 -2
- package/lib/Responsive/CustomResponsive.js +0 -0
- package/lib/Responsive/ResizeComponent.js +2 -2
- package/lib/Responsive/Responsive.js +2 -2
- package/lib/Responsive/docs/Responsive__Custom.docs.js +2 -2
- package/lib/Responsive/docs/Responsive__default.docs.js +2 -2
- package/lib/Responsive/docs/style.module.css +55 -55
- package/lib/Responsive/sizeObservers.js +3 -3
- package/lib/ResponsiveDropBox/ResponsiveDropBox.js +3 -3
- package/lib/ResponsiveDropBox/ResponsiveDropBox.module.css +6 -6
- package/lib/Ribbon/Ribbon.js +2 -2
- package/lib/Ribbon/Ribbon.module.css +376 -376
- package/lib/Ribbon/__tests__/__snapshots__/Ribbon.spec.js.snap +163 -163
- package/lib/Ribbon/docs/Ribbon__custom.docs.js +2 -2
- package/lib/Ribbon/docs/Ribbon__default.docs.js +2 -2
- package/lib/RippleEffect/RippleEffect.module.css +92 -92
- package/lib/RippleEffect/docs/RippleEffect__default.docs.js +2 -2
- package/lib/Select/GroupSelect.js +2 -2
- package/lib/Select/Select.js +3 -3
- package/lib/Select/Select.module.css +106 -106
- package/lib/Select/SelectWithAvatar.js +2 -2
- package/lib/Select/SelectWithIcon.js +2 -2
- package/lib/Select/__tests__/Select.spec.js +0 -0
- package/lib/Select/docs/GroupSelect__default.docs.js +2 -2
- package/lib/Select/docs/SelectWithAvatar__default.docs.js +2 -2
- package/lib/Select/docs/SelectWithIcon__default.docs.js +2 -2
- package/lib/Select/docs/Select__default.docs.js +2 -2
- package/lib/Stencils/Stencils.js +2 -2
- package/lib/Stencils/Stencils.module.css +96 -96
- package/lib/Stencils/__tests__/__snapshots__/Stencils.spec.js.snap +49 -49
- package/lib/Stencils/docs/Stencils__custom.docs.js +2 -2
- package/lib/Stencils/docs/Stencils__default.docs.js +2 -2
- package/lib/Switch/Switch.js +3 -3
- package/lib/Switch/Switch.module.css +110 -110
- package/lib/Switch/docs/Switch__custom.docs.js +2 -2
- package/lib/Switch/docs/Switch__default.docs.js +2 -2
- package/lib/Tab/Tab.js +1 -1
- package/lib/Tab/Tab.module.css +101 -101
- package/lib/Tab/TabContent.module.css +4 -4
- package/lib/Tab/TabWrapper.js +1 -1
- package/lib/Tab/Tabs.js +14 -14
- package/lib/Tab/Tabs.module.css +141 -141
- package/lib/Tab/docs/Tab__default.docs.js +2 -2
- package/lib/Tab/docs/tabdocs.module.css +29 -29
- package/lib/Tag/Tag.js +10 -10
- package/lib/Tag/Tag.module.css +254 -254
- package/lib/Tag/docs/Tag__custom.docs.js +2 -2
- package/lib/Tag/docs/Tag__default.docs.js +2 -2
- package/lib/TextBox/TextBox.js +3 -3
- package/lib/TextBox/TextBox.module.css +157 -157
- package/lib/TextBox/__tests__/__snapshots__/TextBox.spec.js.snap +127 -127
- package/lib/TextBox/docs/TextBox__custom.docs.js +2 -2
- package/lib/TextBox/docs/TextBox__default.docs.js +2 -2
- package/lib/TextBox/docs/TextBox__size.docs.js +2 -2
- package/lib/TextBox/docs/TextBox__variant.docs.js +2 -2
- package/lib/TextBoxIcon/TextBoxIcon.js +3 -3
- package/lib/TextBoxIcon/TextBoxIcon.module.css +78 -78
- package/lib/TextBoxIcon/__tests__/__snapshots__/TextBoxIcon.spec.js.snap +334 -334
- package/lib/TextBoxIcon/docs/TextBoxIcon__custom.docs.js +2 -2
- package/lib/TextBoxIcon/docs/TextBoxIcon__default.docs.js +2 -2
- package/lib/Textarea/Textarea.js +3 -3
- package/lib/Textarea/Textarea.module.css +139 -139
- package/lib/Textarea/__tests__/__snapshots__/Textarea.spec.js.snap +97 -97
- package/lib/Textarea/docs/Textarea__animated.docs.js +2 -2
- package/lib/Textarea/docs/Textarea__custom.docs.js +2 -2
- package/lib/Textarea/docs/Textarea__default.docs.js +2 -2
- package/lib/Textarea/docs/Textarea__disabled.docs.js +2 -2
- package/lib/Tooltip/Tooltip.js +2 -2
- package/lib/Tooltip/Tooltip.module.css +109 -109
- package/lib/Tooltip/__tests__/Tooltip.spec.js +2 -2
- package/lib/Tooltip/docs/Tooltip__default.docs.js +2 -2
- package/lib/VelocityAnimation/VelocityAnimation/VelocityAnimation.js +2 -2
- package/lib/VelocityAnimation/VelocityAnimation/docs/VelocityAnimation__demo.docs.js +2 -2
- package/lib/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +3 -3
- package/lib/VelocityAnimation/VelocityAnimationGroup/docs/VelocityAnimationGroup__demo.docs.js +2 -2
- package/lib/common/animation.module.css +624 -624
- package/lib/common/avatarsizes.module.css +44 -44
- package/lib/common/basic.module.css +33 -33
- package/lib/common/basicReset.module.css +40 -40
- package/lib/common/common.module.css +524 -524
- package/lib/common/customscroll.module.css +89 -89
- package/lib/common/docStyle.module.css +766 -887
- 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 +2 -2
- package/lib/deprecated/PortalLayer/docs/PortalLayer__default.docs.js +2 -2
- package/lib/index.js +86 -0
- package/lib/semantic/Button/Button.js +2 -2
- package/lib/semantic/Button/docs/Button__default.docs.js +2 -2
- package/lib/semantic/Button/semanticButton.module.css +9 -9
- package/lib/ucl/Grid/Grid.js +70 -0
- package/lib/ucl/Grid/componentNames.js +13 -0
- package/lib/ucl/Grid/css/Grid.module.css +217 -0
- package/lib/ucl/Grid/css/cssJSLogic.js +44 -0
- package/lib/ucl/Grid/docs/Grid__Area_Based_Detail_Layout.docs.js +93 -0
- package/lib/ucl/Grid/docs/Grid__Area_Based_List_Layout.docs.js +101 -0
- package/lib/ucl/Grid/docs/Grid__Auto_Flow_Row.docs.js +86 -0
- package/lib/ucl/Grid/docs/Grid__Basic_Detail_Layout.docs.js +93 -0
- package/lib/ucl/Grid/docs/Grid__Box_Alignment.docs.js +91 -0
- package/lib/ucl/Grid/docs/Grid__Line_Based_Detail_Layout.docs.js +93 -0
- package/lib/ucl/Grid/docs/Grid__Line_Based_List_Layout.docs.js +97 -0
- package/lib/ucl/Grid/docs/Grid__default.docs.js +113 -0
- package/lib/ucl/Grid/docs/css/gridDocsAreaBasedDetailLayout.module.css +38 -0
- package/lib/ucl/Grid/docs/css/gridDocsAreaBasedListLayout.module.css +63 -0
- package/lib/ucl/Grid/docs/css/gridDocsAutoFlowRow.module.css +23 -0
- package/lib/ucl/Grid/docs/css/gridDocsBasicDetailLayout.module.css +21 -0
- package/lib/ucl/Grid/docs/css/gridDocsBoxAlignment.module.css +16 -0
- package/lib/ucl/Grid/docs/css/gridDocsDefault.module.css +15 -0
- package/lib/ucl/Grid/docs/css/gridDocsLineBasedDetailLayout.module.css +38 -0
- package/lib/ucl/Grid/docs/css/gridDocsLineBasedListLayout.module.css +47 -0
- package/lib/ucl/Grid/docs/css/gridDocsStyle.module.css +30 -0
- package/lib/ucl/Grid/index.js +31 -0
- package/lib/ucl/Grid/props/ariaPropTypes.js +23 -0
- package/lib/ucl/Grid/props/defaultProps.js +19 -0
- package/lib/ucl/Grid/props/propConstants.js +73 -0
- package/lib/ucl/Grid/props/propTypes.js +46 -0
- package/lib/utils/Common.js +0 -0
- package/lib/utils/dropDownUtils.js +0 -0
- package/package.json +78 -75
- package/assets/Appearance/dark/mode/contrast/darkContrast.module.css +0 -343
- package/assets/Appearance/dark/themes/blue/contrast/blueDarkCTAThemeContrast.module.css +0 -34
- package/assets/Appearance/dark/themes/green/contrast/greenDarkCTAThemeContrast.module.css +0 -34
- package/assets/Appearance/dark/themes/orange/contrast/orangeDarkCTAThemeContrast.module.css +0 -34
- package/assets/Appearance/dark/themes/red/contrast/redDarkCTAThemeContrast.module.css +0 -34
- package/assets/Appearance/dark/themes/yellow/contrast/yellowDarkCTAThemeContrast.module.css +0 -34
- package/assets/Appearance/default/mode/contrast/defaultContrast.module.css +0 -343
- package/assets/Appearance/default/themes/blue/contrast/blueDefaultCTAThemeContrast.module.css +0 -34
- package/assets/Appearance/default/themes/green/contrast/greenDefaultCTAThemeContrast.module.css +0 -34
- package/assets/Appearance/default/themes/orange/contrast/orangeDefaultCTAThemeContrast.module.css +0 -34
- package/assets/Appearance/default/themes/red/contrast/redDefaultCTAThemeContrast.module.css +0 -34
- package/assets/Appearance/default/themes/yellow/contrast/yellowDefaultCTAThemeContrast.module.css +0 -34
- package/assets/Appearance/pureDark/mode/contrast/pureDarkContrast.module.css +0 -343
- package/assets/Appearance/pureDark/themes/blue/contrast/bluePureDarkCTAThemeContrast.module.css +0 -34
- package/assets/Appearance/pureDark/themes/green/contrast/greenPureDarkCTAThemeContrast.module.css +0 -34
- package/assets/Appearance/pureDark/themes/orange/contrast/orangePureDarkCTAThemeContrast.module.css +0 -34
- package/assets/Appearance/pureDark/themes/red/contrast/redPureDarkCTAThemeContrast.module.css +0 -34
- package/assets/Appearance/pureDark/themes/yellow/contrast/yellowPureDarkCTAThemeContrast.module.css +0 -34
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports["default"] = void 0;
|
|
9
|
+
|
|
10
|
+
var _react = _interopRequireDefault(require("react"));
|
|
11
|
+
|
|
12
|
+
var _Grid = _interopRequireDefault(require("../Grid"));
|
|
13
|
+
|
|
14
|
+
var _propConstants = _interopRequireDefault(require("../props/propConstants"));
|
|
15
|
+
|
|
16
|
+
var _gridDocsStyleModule = _interopRequireDefault(require("./css/gridDocsStyle.module.css"));
|
|
17
|
+
|
|
18
|
+
var _gridDocsDefaultModule = _interopRequireDefault(require("./css/gridDocsDefault.module.css"));
|
|
19
|
+
|
|
20
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
21
|
+
|
|
22
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
23
|
+
|
|
24
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
25
|
+
|
|
26
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
27
|
+
|
|
28
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
29
|
+
|
|
30
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
31
|
+
|
|
32
|
+
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
33
|
+
|
|
34
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
35
|
+
|
|
36
|
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
37
|
+
|
|
38
|
+
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
39
|
+
|
|
40
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
41
|
+
|
|
42
|
+
var Grid__default = /*#__PURE__*/function (_React$Component) {
|
|
43
|
+
_inherits(Grid__default, _React$Component);
|
|
44
|
+
|
|
45
|
+
var _super = _createSuper(Grid__default);
|
|
46
|
+
|
|
47
|
+
function Grid__default() {
|
|
48
|
+
_classCallCheck(this, Grid__default);
|
|
49
|
+
|
|
50
|
+
return _super.apply(this, arguments);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
_createClass(Grid__default, [{
|
|
54
|
+
key: "render",
|
|
55
|
+
value: function render() {
|
|
56
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
57
|
+
className: _gridDocsStyleModule["default"].parent
|
|
58
|
+
}, /*#__PURE__*/_react["default"].createElement(_Grid["default"], {
|
|
59
|
+
display: _propConstants["default"].display.grid,
|
|
60
|
+
tagGeneralAttributes: {
|
|
61
|
+
title: 'Click to get hi alert',
|
|
62
|
+
style: {
|
|
63
|
+
cursor: 'pointer'
|
|
64
|
+
},
|
|
65
|
+
'aria-label': 'Flex Div'
|
|
66
|
+
},
|
|
67
|
+
tagAttributes: {
|
|
68
|
+
onClick: function onClick() {
|
|
69
|
+
alert('hi');
|
|
70
|
+
},
|
|
71
|
+
'data-box': 'Flex'
|
|
72
|
+
},
|
|
73
|
+
customStyle: {
|
|
74
|
+
base: _gridDocsDefaultModule["default"].container
|
|
75
|
+
}
|
|
76
|
+
}, /*#__PURE__*/_react["default"].createElement(_Grid["default"], {
|
|
77
|
+
customStyle: {
|
|
78
|
+
base: _gridDocsDefaultModule["default"].item
|
|
79
|
+
}
|
|
80
|
+
}, "1"), /*#__PURE__*/_react["default"].createElement(_Grid["default"], {
|
|
81
|
+
customStyle: {
|
|
82
|
+
base: _gridDocsDefaultModule["default"].item
|
|
83
|
+
}
|
|
84
|
+
}, "2"), /*#__PURE__*/_react["default"].createElement(_Grid["default"], {
|
|
85
|
+
customStyle: {
|
|
86
|
+
base: _gridDocsDefaultModule["default"].item
|
|
87
|
+
}
|
|
88
|
+
}, "3"), /*#__PURE__*/_react["default"].createElement(_Grid["default"], {
|
|
89
|
+
customStyle: {
|
|
90
|
+
base: _gridDocsDefaultModule["default"].item
|
|
91
|
+
}
|
|
92
|
+
}, "4"), /*#__PURE__*/_react["default"].createElement(_Grid["default"], {
|
|
93
|
+
customStyle: {
|
|
94
|
+
base: _gridDocsDefaultModule["default"].item
|
|
95
|
+
}
|
|
96
|
+
}, "5"), /*#__PURE__*/_react["default"].createElement(_Grid["default"], {
|
|
97
|
+
customStyle: {
|
|
98
|
+
base: _gridDocsDefaultModule["default"].item
|
|
99
|
+
}
|
|
100
|
+
}, "6")));
|
|
101
|
+
}
|
|
102
|
+
}]);
|
|
103
|
+
|
|
104
|
+
return Grid__default;
|
|
105
|
+
}(_react["default"].Component);
|
|
106
|
+
|
|
107
|
+
exports["default"] = Grid__default;
|
|
108
|
+
Grid__default.docs = {
|
|
109
|
+
componentGroup: 'Grid',
|
|
110
|
+
folderName: 'Style Guide',
|
|
111
|
+
description: ' ',
|
|
112
|
+
external: false
|
|
113
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
.container {
|
|
2
|
+
font-weight: bold;
|
|
3
|
+
grid-gap: 10px;
|
|
4
|
+
grid-template-columns: repeat(8, 1fr);
|
|
5
|
+
grid-template-areas: "leftPanel propertiesPanel propertiesPanel mainContent mainContent mainContent mainContent rightPanel";
|
|
6
|
+
border-radius: 5px;
|
|
7
|
+
background-color: #fff4e6;
|
|
8
|
+
padding: 20px;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.leftPanel,
|
|
12
|
+
.propertiesPanel,
|
|
13
|
+
.mainContent,
|
|
14
|
+
.rightPanel {
|
|
15
|
+
color: #a63609;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.leftPanel, .propertiesPanel, .mainContent, .rightPanel {
|
|
19
|
+
border-radius: 5px;
|
|
20
|
+
background-color: #b4b3b2;
|
|
21
|
+
padding: 1em;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.leftPanel {
|
|
25
|
+
grid-area: leftPanel;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.propertiesPanel {
|
|
29
|
+
grid-area: propertiesPanel;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.mainContent {
|
|
33
|
+
grid-area: mainContent;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.rightPanel {
|
|
37
|
+
grid-area: rightPanel;
|
|
38
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
.container {
|
|
2
|
+
grid-template-columns: 200px 1fr 200px;
|
|
3
|
+
grid-template-rows: auto 1fr auto;
|
|
4
|
+
grid-gap: 12px;
|
|
5
|
+
grid-template-areas:
|
|
6
|
+
"header header header"
|
|
7
|
+
"nav content side"
|
|
8
|
+
"footer footer footer";
|
|
9
|
+
font-weight: bold;
|
|
10
|
+
background-color: #fff4e6;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.header, .aside, .nav, .main, .footer {
|
|
14
|
+
background: #F7AF9D44;
|
|
15
|
+
border: 3px solid #F7AF9D;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.header {
|
|
19
|
+
font-size: 14px;
|
|
20
|
+
grid-area: header;
|
|
21
|
+
text-align: center;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.nav {
|
|
25
|
+
grid-area: nav;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
[dir=ltr] .nav {
|
|
29
|
+
margin-left: 0.6rem;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
[dir=rtl] .nav {
|
|
33
|
+
margin-right: 0.6rem;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.main {
|
|
37
|
+
grid-area: content;
|
|
38
|
+
padding: 25px;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.aside {
|
|
42
|
+
grid-area: side;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
[dir=ltr] .aside {
|
|
46
|
+
margin-right: 0.6rem;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
[dir=rtl] .aside {
|
|
50
|
+
margin-left: 0.6rem;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.footer {
|
|
54
|
+
grid-area: footer;
|
|
55
|
+
text-align: center;
|
|
56
|
+
padding: 25px 0;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.nav ul li a {
|
|
60
|
+
text-decoration: none;
|
|
61
|
+
display: inline-block;
|
|
62
|
+
margin-bottom: 15px;
|
|
63
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
.container {
|
|
2
|
+
font-weight: bold;
|
|
3
|
+
grid-gap: 10px;
|
|
4
|
+
grid-template-columns: 1fr 1fr 1fr;
|
|
5
|
+
grid-template-rows: 1fr 1fr 1fr;
|
|
6
|
+
grid-auto-rows: 100px;
|
|
7
|
+
border-radius: 5px;
|
|
8
|
+
background-color: #fff4e6;
|
|
9
|
+
padding: 20px;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.item {
|
|
13
|
+
border-radius: 5px;
|
|
14
|
+
padding: 1rem;
|
|
15
|
+
background: #F7AF9D44;
|
|
16
|
+
border: 3px solid #F7AF9D;
|
|
17
|
+
text-align: center;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.item:nth-child(6n) {
|
|
21
|
+
grid-column: span 2;
|
|
22
|
+
background: cornflowerblue;
|
|
23
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
.container {
|
|
2
|
+
font-weight: bold;
|
|
3
|
+
grid-gap: 10px;
|
|
4
|
+
grid-template-columns: 200px 300px 1fr 200px;
|
|
5
|
+
border-radius: 5px;
|
|
6
|
+
background-color: #fff4e6;
|
|
7
|
+
padding: 20px;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.leftPanel,
|
|
11
|
+
.propertiesPanel,
|
|
12
|
+
.mainContent,
|
|
13
|
+
.rightPanel {
|
|
14
|
+
color: #a63609;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.leftPanel, .propertiesPanel, .mainContent, .rightPanel {
|
|
18
|
+
border-radius: 5px;
|
|
19
|
+
background-color: #b4b3b2;
|
|
20
|
+
padding: 1em;
|
|
21
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
.container {
|
|
2
|
+
font-weight: bold;
|
|
3
|
+
grid-gap: 10px;
|
|
4
|
+
grid-auto-columns: 150px;
|
|
5
|
+
border-radius: 5px;
|
|
6
|
+
background-color: #fff4e6;
|
|
7
|
+
padding: 20px;
|
|
8
|
+
margin: 20px;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.item {
|
|
12
|
+
border-radius: 5px;
|
|
13
|
+
background: #F7AF9D44;
|
|
14
|
+
border: 3px solid #F7AF9D;
|
|
15
|
+
text-align: center;
|
|
16
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
.container {
|
|
2
|
+
font-weight: bold;
|
|
3
|
+
grid-template-columns: 1fr 1fr 1fr;
|
|
4
|
+
grid-gap: 10px;
|
|
5
|
+
border-radius: 5px;
|
|
6
|
+
background-color: #fff4e6;
|
|
7
|
+
padding: 20px;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.item {
|
|
11
|
+
color: #a63609;
|
|
12
|
+
border-radius: 5px;
|
|
13
|
+
background-color: #b4b3b2;
|
|
14
|
+
padding: 1em;
|
|
15
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
.container {
|
|
2
|
+
font-weight: bold;
|
|
3
|
+
display: grid;
|
|
4
|
+
grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
|
|
5
|
+
grid-gap: 10px;
|
|
6
|
+
border-radius: 5px;
|
|
7
|
+
background-color: #fff4e6;
|
|
8
|
+
padding: 20px;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.leftPanel,
|
|
12
|
+
.propertiesPanel,
|
|
13
|
+
.mainContent,
|
|
14
|
+
.rightPanel {
|
|
15
|
+
color: #a63609;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.leftPanel, .propertiesPanel, .mainContent, .rightPanel {
|
|
19
|
+
border-radius: 5px;
|
|
20
|
+
background-color: #b4b3b2;
|
|
21
|
+
padding: 1em;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.leftPanel {
|
|
25
|
+
grid-column: 1 / 3;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.propertiesPanel {
|
|
29
|
+
grid-column: 3 / 5;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.mainContent {
|
|
33
|
+
grid-column: 5 / 10;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.rightPanel {
|
|
37
|
+
grid-column: 10 / 13;
|
|
38
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
.container {
|
|
2
|
+
grid-template-columns: 200px 1fr 250px;
|
|
3
|
+
grid-template-rows: auto 1fr auto;
|
|
4
|
+
grid-gap: 12px;
|
|
5
|
+
font-weight: bold;
|
|
6
|
+
background-color: #fff4e6;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.header, .aside, .nav, .main, .footer {
|
|
10
|
+
background: #F7AF9D44;
|
|
11
|
+
border: 3px solid #F7AF9D;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.header {
|
|
15
|
+
font-size: 14px;
|
|
16
|
+
grid-column: 1 / -1;
|
|
17
|
+
text-align: center;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.nav {
|
|
21
|
+
grid-column: 1 / 2;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
[dir=ltr] .nav {
|
|
25
|
+
margin-left: 0.6rem;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
[dir=rtl] .nav {
|
|
29
|
+
margin-right: 0.6rem;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.main {
|
|
33
|
+
grid-column: 2 / -1;
|
|
34
|
+
padding: 25px;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.footer {
|
|
38
|
+
grid-column: 1 / -1;
|
|
39
|
+
text-align: center;
|
|
40
|
+
padding: 25px 0;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.nav ul li a {
|
|
44
|
+
text-decoration: none;
|
|
45
|
+
display: inline-block;
|
|
46
|
+
margin-bottom: 15px;
|
|
47
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
.parent {
|
|
2
|
+
width: 100%;
|
|
3
|
+
height: 100%;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.container,
|
|
7
|
+
.inlineContainer {
|
|
8
|
+
gap: 10px;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.container, .inlineContainer {
|
|
12
|
+
background-color: DodgerBlue;
|
|
13
|
+
padding: 10px;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.container {
|
|
17
|
+
width: 80%
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.item {
|
|
21
|
+
width: 90px;
|
|
22
|
+
height: 90px;
|
|
23
|
+
align-items: center;
|
|
24
|
+
justify-content: center;
|
|
25
|
+
background-color: #f1f1f1;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.sampleOne {
|
|
29
|
+
background-color: red;
|
|
30
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "GridPropConstants", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function get() {
|
|
9
|
+
return _propConstants["default"];
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
Object.defineProperty(exports, "GridPropTypes", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function get() {
|
|
15
|
+
return _propTypes["default"];
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
Object.defineProperty(exports, "default", {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function get() {
|
|
21
|
+
return _Grid["default"];
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
var _Grid = _interopRequireDefault(require("./Grid"));
|
|
26
|
+
|
|
27
|
+
var _propTypes = _interopRequireDefault(require("./props/propTypes"));
|
|
28
|
+
|
|
29
|
+
var _propConstants = _interopRequireDefault(require("./props/propConstants"));
|
|
30
|
+
|
|
31
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
|
|
8
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
9
|
+
|
|
10
|
+
var _generalAriaProps = _interopRequireDefault(require("@zohodesk/utils/es/props/generalAriaProps"));
|
|
11
|
+
|
|
12
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
13
|
+
|
|
14
|
+
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; }
|
|
15
|
+
|
|
16
|
+
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; }
|
|
17
|
+
|
|
18
|
+
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; }
|
|
19
|
+
|
|
20
|
+
var _default = {
|
|
21
|
+
a11y: _propTypes["default"].shape(_objectSpread({}, _generalAriaProps["default"]))
|
|
22
|
+
};
|
|
23
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
|
|
8
|
+
var _propConstants = _interopRequireDefault(require("./propConstants"));
|
|
9
|
+
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
11
|
+
|
|
12
|
+
var _default = {
|
|
13
|
+
tagName: 'div',
|
|
14
|
+
isCover: false,
|
|
15
|
+
customStyle: {},
|
|
16
|
+
tagAttributes: {},
|
|
17
|
+
tagGeneralAttributes: {}
|
|
18
|
+
};
|
|
19
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _default = {
|
|
8
|
+
display: {
|
|
9
|
+
inline: "inline",
|
|
10
|
+
grid: "grid"
|
|
11
|
+
},
|
|
12
|
+
flow: {
|
|
13
|
+
row: "row",
|
|
14
|
+
column: "column",
|
|
15
|
+
dense: "dense",
|
|
16
|
+
rowDense: "rowDense",
|
|
17
|
+
colDense: "colDense"
|
|
18
|
+
},
|
|
19
|
+
alignItems: {
|
|
20
|
+
start: "start",
|
|
21
|
+
end: "end",
|
|
22
|
+
center: "center",
|
|
23
|
+
stretch: "stretch",
|
|
24
|
+
baseline: "baseline"
|
|
25
|
+
},
|
|
26
|
+
alignSelf: {
|
|
27
|
+
start: "start",
|
|
28
|
+
end: "end",
|
|
29
|
+
center: "center",
|
|
30
|
+
stretch: "stretch",
|
|
31
|
+
baseline: "baseline"
|
|
32
|
+
},
|
|
33
|
+
alignContent: {
|
|
34
|
+
start: "start",
|
|
35
|
+
end: "end",
|
|
36
|
+
center: "center",
|
|
37
|
+
stretch: "stretch",
|
|
38
|
+
baseline: "baseline",
|
|
39
|
+
spaceBetween: "spaceBetween",
|
|
40
|
+
spaceAround: "spaceAround",
|
|
41
|
+
spaceEvenly: "spaceEvenly"
|
|
42
|
+
},
|
|
43
|
+
justifyItems: {
|
|
44
|
+
start: "start",
|
|
45
|
+
end: "end",
|
|
46
|
+
center: "center",
|
|
47
|
+
stretch: "stretch",
|
|
48
|
+
baseline: "baseline"
|
|
49
|
+
},
|
|
50
|
+
justifySelf: {
|
|
51
|
+
start: "start",
|
|
52
|
+
end: "end",
|
|
53
|
+
center: "center",
|
|
54
|
+
stretch: "stretch",
|
|
55
|
+
baseline: "baseline"
|
|
56
|
+
},
|
|
57
|
+
justifyContent: {
|
|
58
|
+
start: "start",
|
|
59
|
+
end: "end",
|
|
60
|
+
center: "center",
|
|
61
|
+
stretch: "stretch",
|
|
62
|
+
spaceBetween: "spaceBetween",
|
|
63
|
+
spaceAround: "spaceAround",
|
|
64
|
+
spaceEvenly: "spaceEvenly"
|
|
65
|
+
},
|
|
66
|
+
scroll: {
|
|
67
|
+
x: "x",
|
|
68
|
+
y: "y",
|
|
69
|
+
both: "both",
|
|
70
|
+
none: "none"
|
|
71
|
+
}
|
|
72
|
+
};
|
|
73
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
|
|
8
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
9
|
+
|
|
10
|
+
var _automationProps = _interopRequireDefault(require("@zohodesk/utils/es/props/automationProps"));
|
|
11
|
+
|
|
12
|
+
var _customStyleProps = _interopRequireDefault(require("@zohodesk/utils/es/props/customStyleProps"));
|
|
13
|
+
|
|
14
|
+
var _tagAttributeProps = _interopRequireDefault(require("@zohodesk/utils/es/props/tagAttributeProps"));
|
|
15
|
+
|
|
16
|
+
var _tagGeneralAttributeProps = _interopRequireDefault(require("@zohodesk/utils/es/props/tagGeneralAttributeProps"));
|
|
17
|
+
|
|
18
|
+
var _propConstants = _interopRequireDefault(require("./propConstants"));
|
|
19
|
+
|
|
20
|
+
var _ariaPropTypes = _interopRequireDefault(require("./ariaPropTypes"));
|
|
21
|
+
|
|
22
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
23
|
+
|
|
24
|
+
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; }
|
|
25
|
+
|
|
26
|
+
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; }
|
|
27
|
+
|
|
28
|
+
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; }
|
|
29
|
+
|
|
30
|
+
var _default = _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({
|
|
31
|
+
tagName: _propTypes["default"].string,
|
|
32
|
+
isCover: _propTypes["default"].bool,
|
|
33
|
+
alignItems: _propTypes["default"].oneOf(Object.values(_propConstants["default"].alignItems)),
|
|
34
|
+
alignSelf: _propTypes["default"].oneOf(Object.values(_propConstants["default"].alignSelf)),
|
|
35
|
+
alignContent: _propTypes["default"].oneOf(Object.values(_propConstants["default"].alignContent)),
|
|
36
|
+
justifyItems: _propTypes["default"].oneOf(Object.values(_propConstants["default"].justifyItems)),
|
|
37
|
+
justifySelf: _propTypes["default"].oneOf(Object.values(_propConstants["default"].justifySelf)),
|
|
38
|
+
justifyContent: _propTypes["default"].oneOf(Object.values(_propConstants["default"].justifyContent)),
|
|
39
|
+
flow: _propTypes["default"].oneOf(Object.values(_propConstants["default"].flow)),
|
|
40
|
+
overFlowScroll: _propTypes["default"].oneOf(Object.values(_propConstants["default"].scroll)),
|
|
41
|
+
display: _propTypes["default"].oneOf(Object.values(_propConstants["default"].display)),
|
|
42
|
+
children: _propTypes["default"].node,
|
|
43
|
+
className: _propTypes["default"].string
|
|
44
|
+
}, _automationProps["default"]), _ariaPropTypes["default"]), _customStyleProps["default"]), _tagAttributeProps["default"]), _tagGeneralAttributeProps["default"]);
|
|
45
|
+
|
|
46
|
+
exports["default"] = _default;
|
package/lib/utils/Common.js
CHANGED
|
File without changes
|
|
File without changes
|