@zohodesk/components 1.1.0 → 1.2.0
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/.cli/MissedPropType_Keys.html +101 -0
- package/.cli/PropLessFiles.html +101 -0
- package/.cli/PropValidationExcludeFilesArray.js +3 -0
- package/.cli/propValidation_report.html +155 -0
- package/README.md +1277 -1266
- package/assets/Appearance/dark/themes/blue/blue_ComponentTheme_DarkTheme.module.css +24 -24
- package/assets/Appearance/dark/themes/green/green_ComponentTheme_DarkTheme.module.css +24 -24
- package/assets/Appearance/dark/themes/orange/orange_ComponentTheme_DarkTheme.module.css +24 -24
- package/assets/Appearance/dark/themes/red/red_ComponentTheme_DarkTheme.module.css +24 -24
- package/assets/Appearance/dark/themes/yellow/yellow_ComponentTheme_DarkTheme.module.css +24 -24
- package/assets/Appearance/light/themes/blue/blue_ComponentTheme_LightTheme.module.css +24 -24
- package/assets/Appearance/light/themes/green/green_ComponentTheme_LightTheme.module.css +24 -24
- package/assets/Appearance/light/themes/orange/orange_ComponentTheme_LightTheme.module.css +24 -24
- package/assets/Appearance/light/themes/red/red_ComponentTheme_LightTheme.module.css +24 -24
- package/assets/Appearance/light/themes/yellow/yellow_ComponentTheme_LightTheme.module.css +24 -24
- package/assets/Appearance/pureDark/themes/blue/blue_ComponentTheme_PureDarkTheme.module.css +24 -24
- package/assets/Appearance/pureDark/themes/green/green_ComponentTheme_PureDarkTheme.module.css +24 -24
- package/assets/Appearance/pureDark/themes/orange/orange_ComponentTheme_PureDarkTheme.module.css +24 -24
- package/assets/Appearance/pureDark/themes/red/red_ComponentTheme_PureDarkTheme.module.css +24 -24
- package/assets/Appearance/pureDark/themes/yellow/yellow_ComponentTheme_PureDarkTheme.module.css +24 -24
- package/coverage/Button/Button.js.html +301 -0
- package/coverage/Button/css/Button.module.css.html +1441 -0
- package/coverage/Button/css/cssJSLogic.js.html +214 -0
- package/coverage/Button/css/index.html +131 -0
- package/coverage/Button/index.html +116 -0
- package/coverage/Button/props/defaultProps.js.html +139 -0
- package/coverage/Button/props/index.html +131 -0
- package/coverage/Button/props/propTypes.js.html +202 -0
- package/coverage/Buttongroup/Buttongroup.js.html +220 -0
- package/coverage/Buttongroup/Buttongroup.module.css.html +298 -0
- package/coverage/Buttongroup/index.html +131 -0
- package/coverage/Buttongroup/props/defaultProps.js.html +103 -0
- package/coverage/Buttongroup/props/index.html +131 -0
- package/coverage/Buttongroup/props/propTypes.js.html +115 -0
- package/coverage/base.css +224 -0
- package/coverage/block-navigation.js +87 -0
- package/coverage/coverage-final.json +11 -0
- package/coverage/coverage-summary.json +12 -0
- package/coverage/favicon.png +0 -0
- package/coverage/index.html +191 -0
- package/coverage/prettify.css +1 -0
- package/coverage/prettify.js +2 -0
- package/coverage/sort-arrow-sprite.png +0 -0
- package/coverage/sorter.js +196 -0
- package/coverage/utils/dummyFunction.js.html +88 -0
- package/coverage/utils/index.html +116 -0
- package/es/AppContainer/AppContainer.module.css +18 -18
- package/es/Avatar/Avatar.js +9 -9
- package/es/Avatar/Avatar.module.css +175 -175
- package/es/AvatarTeam/AvatarTeam.js +7 -7
- package/es/AvatarTeam/AvatarTeam.module.css +189 -189
- package/es/Button/Button.js +5 -5
- package/es/Button/__tests__/Button.spec.js +122 -0
- package/es/Button/__tests__/__snapshots__/Button.spec.js.snap +440 -0
- package/es/Button/css/Button.module.css +525 -525
- package/es/Button/css/cssJSLogic.js +1 -1
- package/es/Button/props/propTypes.js +0 -1
- package/es/Buttongroup/Buttongroup.js +1 -1
- package/es/Buttongroup/Buttongroup.module.css +105 -105
- package/es/Buttongroup/__tests__/Buttongroup.spec.js +37 -0
- package/es/Buttongroup/__tests__/__snapshots__/Buttongroup.spec.js.snap +191 -0
- package/es/Card/Card.js +4 -4
- package/es/Card/Card.module.css +20 -20
- package/es/Card/props/propTypes.js +9 -4
- package/es/CheckBox/CheckBox.js +0 -0
- package/es/CheckBox/CheckBox.module.css +157 -157
- package/es/CheckBox/props/propTypes.js +0 -2
- 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/DateTimePopupFooter.js +5 -1
- package/es/DateTime/DateTimePopupHeader.js +3 -1
- package/es/DateTime/DateWidget.js +0 -1
- package/es/DateTime/DateWidget.module.css +38 -38
- package/es/DateTime/DaysRow.js +3 -1
- package/es/DateTime/Time.js +4 -0
- package/es/DateTime/YearView.js +0 -1
- package/es/DateTime/YearView.module.css +98 -98
- package/es/DateTime/common.js +0 -0
- package/es/DateTime/index.js +0 -0
- package/es/DateTime/objectUtils.js +0 -0
- package/es/DateTime/props/defaultProps.js +6 -0
- package/es/DateTime/props/propTypes.js +58 -6
- package/es/DateTime/typeChecker.js +0 -0
- package/es/DateTime/validator.js +0 -0
- package/es/DropBox/DropBox.js +0 -0
- package/es/DropBox/DropBoxElement/DropBoxElement.js +1 -1
- package/es/DropBox/DropBoxElement/css/DropBoxElement.module.css +434 -434
- package/es/DropBox/DropBoxElement/css/cssJSLogic.js +1 -1
- package/es/DropBox/DropBoxElement/props/propTypes.js +7 -1
- package/es/DropBox/DropBoxPositionMapping.json +144 -144
- package/es/DropBox/css/DropBox.module.css +58 -58
- package/es/DropBox/props/propTypes.js +2 -1
- 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/props/propTypes.js +5 -18
- 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/props/propTypes.js +2 -1
- package/es/Layout/Box.js +2 -1
- package/es/Layout/Container.js +2 -1
- package/es/Layout/Layout.module.css +335 -335
- package/es/Layout/utils.js +0 -0
- package/es/ListItem/ListItem.js +0 -0
- package/es/ListItem/ListItem.module.css +216 -216
- package/es/ListItem/props/propTypes.js +9 -4
- package/es/Modal/props/propTypes.js +2 -1
- package/es/MultiSelect/AdvancedGroupMultiSelect.js +5 -5
- package/es/MultiSelect/MultiSelect.js +5 -5
- package/es/MultiSelect/MultiSelect.module.css +206 -206
- package/es/MultiSelect/MultiSelectWithAvatar.js +0 -0
- package/es/MultiSelect/SelectedOptions.module.css +15 -15
- package/es/MultiSelect/props/propTypes.js +15 -31
- package/es/PopOver/PopOver.js +1 -9
- package/es/PopOver/PopOver.module.css +8 -8
- package/es/Popup/Popup.js +0 -0
- package/es/Popup/PositionMapping.json +73 -73
- package/es/Radio/Radio.js +1 -6
- package/es/Radio/Radio.module.css +112 -112
- package/es/Radio/props/propTypes.js +3 -2
- package/es/Responsive/CustomResponsive.js +0 -0
- package/es/ResponsiveDropBox/ResponsiveDropBox.module.css +6 -6
- package/es/ResponsiveDropBox/props/propTypes.js +2 -1
- package/es/Ribbon/Ribbon.js +0 -0
- package/es/Ribbon/Ribbon.module.css +454 -454
- package/es/RippleEffect/RippleEffect.module.css +92 -92
- package/es/Select/GroupSelect.js +0 -0
- package/es/Select/Select.js +0 -0
- package/es/Select/Select.module.css +108 -108
- package/es/Select/SelectWithAvatar.js +0 -0
- package/es/Select/SelectWithIcon.js +0 -0
- package/es/Select/props/propTypes.js +17 -6
- package/es/Stencils/Stencils.js +0 -0
- package/es/Stencils/Stencils.module.css +96 -96
- package/es/Switch/Switch.js +0 -0
- package/es/Switch/Switch.module.css +127 -127
- package/es/Tab/Tab.module.css +100 -100
- package/es/Tab/TabContent.module.css +4 -4
- package/es/Tab/Tabs.js +17 -17
- package/es/Tab/Tabs.module.css +136 -136
- package/es/Tab/props/propTypes.js +0 -1
- package/es/Tag/Tag.js +8 -8
- package/es/Tag/Tag.module.css +254 -254
- package/es/TextBox/TextBox.js +0 -0
- package/es/TextBox/TextBox.module.css +158 -158
- package/es/TextBox/props/propTypes.js +2 -1
- package/es/TextBoxIcon/TextBoxIcon.js +0 -0
- package/es/TextBoxIcon/TextBoxIcon.module.css +79 -79
- package/es/TextBoxIcon/props/propTypes.js +2 -1
- package/es/Textarea/Textarea.js +0 -0
- package/es/Textarea/Textarea.module.css +139 -139
- package/es/Textarea/props/propTypes.js +0 -1
- package/es/Tooltip/Tooltip.module.css +140 -140
- package/es/Tooltip/props/propTypes.js +0 -3
- 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 +33 -33
- package/es/common/common.module.css +524 -524
- package/es/common/customscroll.module.css +91 -91
- package/es/common/reset.module.css +13 -13
- package/es/common/transition.module.css +146 -146
- package/es/deprecated/PortalLayer/PortalLayer.js +3 -2
- package/es/deprecated/PortalLayer/props/propTypes.js +7 -0
- package/es/semantic/Button/props/propTypes.js +1 -5
- package/es/semantic/Button/semanticButton.module.css +9 -9
- package/es/utils/Common.js +0 -0
- package/es/utils/dropDownUtils.js +0 -0
- package/es/utils/index.js +0 -2
- package/install.md +10 -10
- package/lib/AppContainer/AppContainer.module.css +18 -18
- package/lib/Avatar/Avatar.js +9 -9
- package/lib/Avatar/Avatar.module.css +175 -175
- package/lib/AvatarTeam/AvatarTeam.js +7 -7
- package/lib/AvatarTeam/AvatarTeam.module.css +189 -189
- package/lib/Button/Button.js +5 -5
- package/lib/Button/__tests__/Button.spec.js +129 -0
- package/lib/Button/__tests__/__snapshots__/Button.spec.js.snap +440 -0
- package/lib/Button/css/Button.module.css +525 -525
- package/lib/Button/css/cssJSLogic.js +1 -1
- package/lib/Button/props/propTypes.js +0 -1
- package/lib/Buttongroup/Buttongroup.js +1 -1
- package/lib/Buttongroup/Buttongroup.module.css +105 -105
- package/lib/Buttongroup/__tests__/Buttongroup.spec.js +44 -0
- package/lib/Buttongroup/__tests__/__snapshots__/Buttongroup.spec.js.snap +191 -0
- package/lib/Card/Card.js +4 -4
- package/lib/Card/Card.module.css +20 -20
- package/lib/Card/props/propTypes.js +9 -4
- package/lib/CheckBox/CheckBox.js +0 -0
- package/lib/CheckBox/CheckBox.module.css +157 -157
- package/lib/CheckBox/props/propTypes.js +0 -2
- package/lib/DateTime/CalendarView.js +0 -0
- package/lib/DateTime/DateTime.js +0 -0
- package/lib/DateTime/DateTime.module.css +235 -235
- package/lib/DateTime/DateTimePopupFooter.js +7 -1
- package/lib/DateTime/DateTimePopupHeader.js +4 -1
- package/lib/DateTime/DateWidget.js +0 -1
- package/lib/DateTime/DateWidget.module.css +38 -38
- package/lib/DateTime/DaysRow.js +4 -1
- package/lib/DateTime/Time.js +6 -0
- package/lib/DateTime/YearView.js +0 -1
- package/lib/DateTime/YearView.module.css +98 -98
- package/lib/DateTime/common.js +0 -0
- package/lib/DateTime/index.js +0 -0
- package/lib/DateTime/objectUtils.js +0 -0
- package/lib/DateTime/props/defaultProps.js +10 -2
- package/lib/DateTime/props/propTypes.js +64 -8
- package/lib/DateTime/typeChecker.js +0 -0
- package/lib/DateTime/validator.js +0 -0
- package/lib/DropBox/DropBox.js +0 -0
- package/lib/DropBox/DropBoxElement/DropBoxElement.js +1 -1
- package/lib/DropBox/DropBoxElement/css/DropBoxElement.module.css +434 -434
- package/lib/DropBox/DropBoxElement/css/cssJSLogic.js +1 -1
- package/lib/DropBox/DropBoxElement/props/propTypes.js +7 -1
- package/lib/DropBox/DropBoxPositionMapping.json +144 -144
- package/lib/DropBox/css/DropBox.module.css +58 -58
- package/lib/DropBox/props/propTypes.js +2 -1
- package/lib/DropDown/DropDown.js +0 -0
- package/lib/DropDown/DropDown.module.css +5 -5
- package/lib/DropDown/DropDownHeading.js +0 -0
- package/lib/DropDown/DropDownHeading.module.css +53 -53
- package/lib/DropDown/DropDownItem.js +0 -0
- package/lib/DropDown/DropDownItem.module.css +94 -94
- package/lib/DropDown/DropDownSearch.js +0 -0
- package/lib/DropDown/DropDownSearch.module.css +14 -14
- package/lib/DropDown/DropDownSeparator.js +0 -0
- package/lib/DropDown/DropDownSeparator.module.css +7 -7
- package/lib/DropDown/props/propTypes.js +11 -19
- package/lib/Heading/Heading.module.css +4 -4
- package/lib/Label/Label.js +0 -0
- package/lib/Label/Label.module.css +52 -52
- package/lib/Label/LabelColors.module.css +20 -20
- package/lib/Label/props/propTypes.js +2 -1
- package/lib/Layout/Box.js +0 -1
- package/lib/Layout/Container.js +0 -1
- package/lib/Layout/Layout.module.css +335 -335
- package/lib/Layout/utils.js +0 -0
- package/lib/ListItem/ListItem.js +0 -0
- package/lib/ListItem/ListItem.module.css +216 -216
- package/lib/ListItem/props/propTypes.js +9 -4
- package/lib/Modal/props/propTypes.js +2 -1
- package/lib/MultiSelect/AdvancedGroupMultiSelect.js +5 -5
- package/lib/MultiSelect/MultiSelect.js +5 -5
- package/lib/MultiSelect/MultiSelect.module.css +206 -206
- package/lib/MultiSelect/MultiSelectWithAvatar.js +0 -0
- package/lib/MultiSelect/SelectedOptions.module.css +15 -15
- package/lib/MultiSelect/props/propTypes.js +15 -31
- package/lib/PopOver/PopOver.js +1 -8
- package/lib/PopOver/PopOver.module.css +8 -8
- package/lib/Popup/Popup.js +0 -0
- package/lib/Popup/PositionMapping.json +73 -73
- package/lib/Radio/Radio.js +1 -6
- package/lib/Radio/Radio.module.css +112 -112
- package/lib/Radio/props/propTypes.js +3 -2
- package/lib/Responsive/CustomResponsive.js +0 -0
- package/lib/ResponsiveDropBox/ResponsiveDropBox.module.css +6 -6
- package/lib/ResponsiveDropBox/props/propTypes.js +11 -2
- package/lib/Ribbon/Ribbon.js +0 -0
- package/lib/Ribbon/Ribbon.module.css +454 -454
- package/lib/RippleEffect/RippleEffect.module.css +92 -92
- package/lib/Select/GroupSelect.js +0 -0
- package/lib/Select/Select.js +0 -0
- package/lib/Select/Select.module.css +108 -108
- package/lib/Select/SelectWithAvatar.js +0 -0
- package/lib/Select/SelectWithIcon.js +0 -0
- package/lib/Select/props/propTypes.js +17 -6
- package/lib/Stencils/Stencils.js +0 -0
- package/lib/Stencils/Stencils.module.css +96 -96
- package/lib/Switch/Switch.js +0 -0
- package/lib/Switch/Switch.module.css +127 -127
- package/lib/Tab/Tab.module.css +100 -100
- package/lib/Tab/TabContent.module.css +4 -4
- package/lib/Tab/Tabs.js +11 -11
- package/lib/Tab/Tabs.module.css +136 -136
- package/lib/Tab/props/propTypes.js +0 -1
- package/lib/Tag/Tag.js +8 -8
- package/lib/Tag/Tag.module.css +254 -254
- package/lib/TextBox/TextBox.js +0 -0
- package/lib/TextBox/TextBox.module.css +158 -158
- package/lib/TextBox/props/propTypes.js +1 -1
- package/lib/TextBoxIcon/TextBoxIcon.js +0 -0
- package/lib/TextBoxIcon/TextBoxIcon.module.css +79 -79
- package/lib/TextBoxIcon/props/propTypes.js +11 -2
- package/lib/Textarea/Textarea.js +0 -0
- package/lib/Textarea/Textarea.module.css +139 -139
- package/lib/Textarea/props/propTypes.js +0 -1
- package/lib/Tooltip/Tooltip.module.css +140 -140
- package/lib/Tooltip/props/propTypes.js +0 -3
- 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 +33 -33
- package/lib/common/common.module.css +524 -524
- package/lib/common/customscroll.module.css +91 -91
- package/lib/common/reset.module.css +13 -13
- package/lib/common/transition.module.css +146 -146
- package/lib/deprecated/PortalLayer/PortalLayer.js +2 -1
- package/lib/deprecated/PortalLayer/props/propTypes.js +10 -2
- package/lib/semantic/Button/props/propTypes.js +1 -5
- package/lib/semantic/Button/semanticButton.module.css +9 -9
- package/lib/utils/Common.js +0 -0
- package/lib/utils/dropDownUtils.js +0 -0
- package/lib/utils/index.js +1 -19
- package/package.json +92 -116
- package/postPublish.js +8 -8
- package/prePublish.js +70 -70
- package/react-cli.config.js +24 -0
- package/result.json +1 -0
- package/unittest/index.html +37 -0
- package/es/Accordion/__tests__/Accordion.spec.js +0 -79
- package/es/Animation/__tests__/Animation.spec.js +0 -17
- package/es/Avatar/__tests__/Avatar.spec.js +0 -161
- package/es/Avatar/__tests__/__snapshots__/Avatar.spec.js.snap +0 -288
- package/es/AvatarTeam/__tests__/AvatarTeam.spec.js +0 -76
- package/es/AvatarTeam/__tests__/__snapshots__/AvatarTeam.spec.js.snap +0 -226
- package/es/Buttongroup/__test__/Buttongroup.spec.js +0 -73
- package/es/Buttongroup/__test__/__snapshots__/Buttongroup.spec.js.snap +0 -146
- package/es/Card/__tests__/Card.spec.js +0 -36
- package/es/CheckBox/__tests__/CheckBox.spec.js +0 -12
- package/es/DateTime/__tests__/CalendarView.spec.js +0 -33
- package/es/DateTime/__tests__/DateTime.spec.js +0 -115
- package/es/DateTime/__tests__/DateWidget.spec.js +0 -75
- package/es/DropBox/__tests__/DropBox.spec.js +0 -81
- package/es/DropDown/__tests__/DropDown.spec.js +0 -44
- package/es/DropDown/__tests__/DropDownItem.spec.js +0 -45
- package/es/DropDown/__tests__/DropDownSearch.spec.js +0 -11
- package/es/Label/__tests__/Label.spec.js +0 -120
- package/es/Label/__tests__/__snapshots__/Label.spec.js.snap +0 -101
- package/es/Layout/__tests__/Box.spec.js +0 -114
- package/es/Layout/__tests__/Container.spec.js +0 -120
- package/es/MultiSelect/__tests__/MultiSelect.spec.js +0 -160
- package/es/PopOver/__tests__/PopOver.spec.js +0 -14
- package/es/Popup/__tests__/Popup.spec.js +0 -134
- package/es/Radio/__tests__/Radiospec.js +0 -23
- package/es/Ribbon/__tests__/Ribbon.spec.js +0 -168
- package/es/Ribbon/__tests__/__snapshots__/Ribbon.spec.js.snap +0 -163
- package/es/Select/__tests__/Select.spec.js +0 -345
- package/es/Stencils/__tests__/Stencils.spec.js +0 -69
- package/es/Stencils/__tests__/__snapshots__/Stencils.spec.js.snap +0 -49
- package/es/Tab/__tests__/Tab.spec.js +0 -117
- package/es/Tab/__tests__/TabContent.spec.js +0 -16
- package/es/Tab/__tests__/TabContentWrapper.spec.js +0 -50
- package/es/Tab/__tests__/TabWrapper.spec.js +0 -86
- package/es/Tab/__tests__/Tabs.spec.js +0 -115
- package/es/Tag/__tests__/Tag.spec.js +0 -28
- package/es/TextBox/__tests__/TextBox.spec.js +0 -189
- package/es/TextBox/__tests__/__snapshots__/TextBox.spec.js.snap +0 -127
- package/es/TextBoxIcon/__tests__/TextBoxIcon.spec.js +0 -212
- package/es/TextBoxIcon/__tests__/__snapshots__/TextBoxIcon.spec.js.snap +0 -334
- package/es/Textarea/__tests__/Textarea.spec.js +0 -171
- package/es/Textarea/__tests__/__snapshots__/Textarea.spec.js.snap +0 -97
- package/es/Tooltip/__tests__/Tooltip.spec.js +0 -52
- package/es/deprecated/AdvancedMultiSelect.module.css +0 -127
- package/es/deprecated/advancedMultiSelectVariableJson.js +0 -80
- package/es/utils/__tests__/constructFullName.spec.js +0 -9
- package/es/utils/__tests__/debounce.spec.js +0 -37
- package/es/utils/__tests__/getInitial.spec.js +0 -23
- package/es/utils/css/compileClassNames.js +0 -28
- package/es/utils/css/mergeStyle.js +0 -57
- package/es/utils/css/utils.js +0 -24
- package/lib/Accordion/__tests__/Accordion.spec.js +0 -85
- package/lib/Animation/__tests__/Animation.spec.js +0 -23
- package/lib/Avatar/__tests__/Avatar.spec.js +0 -208
- package/lib/Avatar/__tests__/__snapshots__/Avatar.spec.js.snap +0 -288
- package/lib/AvatarTeam/__tests__/AvatarTeam.spec.js +0 -92
- package/lib/AvatarTeam/__tests__/__snapshots__/AvatarTeam.spec.js.snap +0 -226
- package/lib/Buttongroup/__test__/Buttongroup.spec.js +0 -86
- package/lib/Buttongroup/__test__/__snapshots__/Buttongroup.spec.js.snap +0 -146
- package/lib/Card/__tests__/Card.spec.js +0 -56
- package/lib/CheckBox/__tests__/CheckBox.spec.js +0 -18
- package/lib/DateTime/__tests__/CalendarView.spec.js +0 -45
- package/lib/DateTime/__tests__/DateTime.spec.js +0 -127
- package/lib/DateTime/__tests__/DateWidget.spec.js +0 -81
- package/lib/DropBox/__tests__/DropBox.spec.js +0 -87
- package/lib/DropDown/__tests__/DropDown.spec.js +0 -50
- package/lib/DropDown/__tests__/DropDownItem.spec.js +0 -51
- package/lib/DropDown/__tests__/DropDownSearch.spec.js +0 -17
- package/lib/Label/__tests__/Label.spec.js +0 -137
- package/lib/Label/__tests__/__snapshots__/Label.spec.js.snap +0 -101
- package/lib/Layout/__tests__/Box.spec.js +0 -121
- package/lib/Layout/__tests__/Container.spec.js +0 -127
- package/lib/MultiSelect/__tests__/MultiSelect.spec.js +0 -170
- package/lib/PopOver/__tests__/PopOver.spec.js +0 -20
- package/lib/Popup/__tests__/Popup.spec.js +0 -192
- package/lib/Radio/__tests__/Radiospec.js +0 -29
- package/lib/Ribbon/__tests__/Ribbon.spec.js +0 -193
- package/lib/Ribbon/__tests__/__snapshots__/Ribbon.spec.js.snap +0 -163
- package/lib/Select/__tests__/Select.spec.js +0 -383
- package/lib/Stencils/__tests__/Stencils.spec.js +0 -84
- package/lib/Stencils/__tests__/__snapshots__/Stencils.spec.js.snap +0 -49
- package/lib/Tab/__tests__/Tab.spec.js +0 -123
- package/lib/Tab/__tests__/TabContent.spec.js +0 -22
- package/lib/Tab/__tests__/TabContentWrapper.spec.js +0 -59
- package/lib/Tab/__tests__/TabWrapper.spec.js +0 -100
- package/lib/Tab/__tests__/Tabs.spec.js +0 -123
- package/lib/Tag/__tests__/Tag.spec.js +0 -35
- package/lib/TextBox/__tests__/TextBox.spec.js +0 -205
- package/lib/TextBox/__tests__/__snapshots__/TextBox.spec.js.snap +0 -127
- package/lib/TextBoxIcon/__tests__/TextBoxIcon.spec.js +0 -228
- package/lib/TextBoxIcon/__tests__/__snapshots__/TextBoxIcon.spec.js.snap +0 -334
- package/lib/Textarea/__tests__/Textarea.spec.js +0 -186
- package/lib/Textarea/__tests__/__snapshots__/Textarea.spec.js.snap +0 -97
- package/lib/Tooltip/__tests__/Tooltip.spec.js +0 -98
- package/lib/deprecated/AdvancedMultiSelect.module.css +0 -127
- package/lib/deprecated/advancedMultiSelectVariableJson.js +0 -82
- package/lib/utils/__tests__/constructFullName.spec.js +0 -12
- package/lib/utils/__tests__/debounce.spec.js +0 -40
- package/lib/utils/__tests__/getInitial.spec.js +0 -26
- package/lib/utils/css/compileClassNames.js +0 -37
- package/lib/utils/css/mergeStyle.js +0 -69
- package/lib/utils/css/utils.js +0 -41
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
-
|
|
3
|
-
exports[`TextBox component should display size medium - primary 1`] = `
|
|
4
|
-
<input
|
|
5
|
-
className=" container medium primary border effect borderColor_default"
|
|
6
|
-
data-id="textBox"
|
|
7
|
-
maxLength="100"
|
|
8
|
-
onBlur={[Function]}
|
|
9
|
-
onChange={[Function]}
|
|
10
|
-
onFocus={[Function]}
|
|
11
|
-
placeholder="Text Area"
|
|
12
|
-
type="text"
|
|
13
|
-
value=""
|
|
14
|
-
/>
|
|
15
|
-
`;
|
|
16
|
-
|
|
17
|
-
exports[`TextBox component should display size medium - secondary 1`] = `
|
|
18
|
-
<input
|
|
19
|
-
className=" container medium secondary border effect borderColor_default"
|
|
20
|
-
data-id="textBox"
|
|
21
|
-
maxLength="100"
|
|
22
|
-
onBlur={[Function]}
|
|
23
|
-
onChange={[Function]}
|
|
24
|
-
onFocus={[Function]}
|
|
25
|
-
placeholder="Text Area"
|
|
26
|
-
type="text"
|
|
27
|
-
value=""
|
|
28
|
-
/>
|
|
29
|
-
`;
|
|
30
|
-
|
|
31
|
-
exports[`TextBox component should display size medium 1`] = `
|
|
32
|
-
<input
|
|
33
|
-
className=" container medium default border effect borderColor_default"
|
|
34
|
-
data-id="textBox"
|
|
35
|
-
maxLength="100"
|
|
36
|
-
onBlur={[Function]}
|
|
37
|
-
onChange={[Function]}
|
|
38
|
-
onFocus={[Function]}
|
|
39
|
-
placeholder="Text Area"
|
|
40
|
-
type="text"
|
|
41
|
-
value=""
|
|
42
|
-
/>
|
|
43
|
-
`;
|
|
44
|
-
|
|
45
|
-
exports[`TextBox component should display size small - primary 1`] = `
|
|
46
|
-
<input
|
|
47
|
-
className=" container small primary border effect borderColor_default"
|
|
48
|
-
data-id="textBox"
|
|
49
|
-
maxLength="100"
|
|
50
|
-
onBlur={[Function]}
|
|
51
|
-
onChange={[Function]}
|
|
52
|
-
onFocus={[Function]}
|
|
53
|
-
placeholder="Text Area"
|
|
54
|
-
type="text"
|
|
55
|
-
value=""
|
|
56
|
-
/>
|
|
57
|
-
`;
|
|
58
|
-
|
|
59
|
-
exports[`TextBox component should display size small - secondary 1`] = `
|
|
60
|
-
<input
|
|
61
|
-
className=" container small secondary border effect borderColor_default"
|
|
62
|
-
data-id="textBox"
|
|
63
|
-
maxLength="100"
|
|
64
|
-
onBlur={[Function]}
|
|
65
|
-
onChange={[Function]}
|
|
66
|
-
onFocus={[Function]}
|
|
67
|
-
placeholder="Text Area"
|
|
68
|
-
type="text"
|
|
69
|
-
value=""
|
|
70
|
-
/>
|
|
71
|
-
`;
|
|
72
|
-
|
|
73
|
-
exports[`TextBox component should display size small 1`] = `
|
|
74
|
-
<input
|
|
75
|
-
className=" container small default border effect borderColor_default"
|
|
76
|
-
data-id="textBox"
|
|
77
|
-
maxLength="100"
|
|
78
|
-
onBlur={[Function]}
|
|
79
|
-
onChange={[Function]}
|
|
80
|
-
onFocus={[Function]}
|
|
81
|
-
placeholder="Text Area"
|
|
82
|
-
type="text"
|
|
83
|
-
value=""
|
|
84
|
-
/>
|
|
85
|
-
`;
|
|
86
|
-
|
|
87
|
-
exports[`TextBox component should display size xmedium - primary 1`] = `
|
|
88
|
-
<input
|
|
89
|
-
className=" container xmedium primary border effect borderColor_default"
|
|
90
|
-
data-id="textBox"
|
|
91
|
-
maxLength="100"
|
|
92
|
-
onBlur={[Function]}
|
|
93
|
-
onChange={[Function]}
|
|
94
|
-
onFocus={[Function]}
|
|
95
|
-
placeholder="Text Area"
|
|
96
|
-
type="text"
|
|
97
|
-
value=""
|
|
98
|
-
/>
|
|
99
|
-
`;
|
|
100
|
-
|
|
101
|
-
exports[`TextBox component should display size xmedium - secondary 1`] = `
|
|
102
|
-
<input
|
|
103
|
-
className=" container xmedium secondary border effect borderColor_default"
|
|
104
|
-
data-id="textBox"
|
|
105
|
-
maxLength="100"
|
|
106
|
-
onBlur={[Function]}
|
|
107
|
-
onChange={[Function]}
|
|
108
|
-
onFocus={[Function]}
|
|
109
|
-
placeholder="Text Area"
|
|
110
|
-
type="text"
|
|
111
|
-
value=""
|
|
112
|
-
/>
|
|
113
|
-
`;
|
|
114
|
-
|
|
115
|
-
exports[`TextBox component should display size xmedium 1`] = `
|
|
116
|
-
<input
|
|
117
|
-
className=" container xmedium default border effect borderColor_default"
|
|
118
|
-
data-id="textBox"
|
|
119
|
-
maxLength="100"
|
|
120
|
-
onBlur={[Function]}
|
|
121
|
-
onChange={[Function]}
|
|
122
|
-
onFocus={[Function]}
|
|
123
|
-
placeholder="Text Area"
|
|
124
|
-
type="text"
|
|
125
|
-
value=""
|
|
126
|
-
/>
|
|
127
|
-
`;
|
|
@@ -1,212 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import TextBoxIcon from '../TextBoxIcon';
|
|
3
|
-
import renderer from 'react-test-renderer'; // children: PropTypes.node,
|
|
4
|
-
// disabled: PropTypes.bool,
|
|
5
|
-
// iconRotated: PropTypes.bool,
|
|
6
|
-
// id: PropTypes.string,
|
|
7
|
-
// inputRef: PropTypes.func,
|
|
8
|
-
// isClear: PropTypes.bool,
|
|
9
|
-
// maxLength: PropTypes.string,
|
|
10
|
-
// name: PropTypes.string,
|
|
11
|
-
// needBorder: PropTypes.bool,
|
|
12
|
-
// onBlur: PropTypes.func,
|
|
13
|
-
// onChange: PropTypes.func,
|
|
14
|
-
// onClear: PropTypes.func,
|
|
15
|
-
// onClick: PropTypes.func,
|
|
16
|
-
// onFocus: PropTypes.func,
|
|
17
|
-
// onKeyDown: PropTypes.func,
|
|
18
|
-
// onKeyUp: PropTypes.func,
|
|
19
|
-
// placeHolder: PropTypes.string,
|
|
20
|
-
// readOnly: PropTypes.bool,
|
|
21
|
-
// size: PropTypes.oneOf(['small', 'medium', 'xmedium']),
|
|
22
|
-
// title: PropTypes.func,
|
|
23
|
-
// type: PropTypes.oneOf(['text', 'password', 'number']),
|
|
24
|
-
// value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
25
|
-
// variant: PropTypes.oneOf(['primary', 'secondary', 'default'])
|
|
26
|
-
|
|
27
|
-
describe('TextBoxIcon component', () => {
|
|
28
|
-
it('should display size small', () => {
|
|
29
|
-
let ele = renderer.create( /*#__PURE__*/React.createElement(TextBoxIcon, {
|
|
30
|
-
maxLength: "100",
|
|
31
|
-
placeHolder: "Text Box Icon",
|
|
32
|
-
size: "small",
|
|
33
|
-
variant: "default"
|
|
34
|
-
}));
|
|
35
|
-
let tree = ele.toJSON();
|
|
36
|
-
expect(tree).toMatchSnapshot();
|
|
37
|
-
});
|
|
38
|
-
it('should display size medium', () => {
|
|
39
|
-
let ele = renderer.create( /*#__PURE__*/React.createElement(TextBoxIcon, {
|
|
40
|
-
maxLength: "100",
|
|
41
|
-
placeHolder: "Text Area",
|
|
42
|
-
size: "medium",
|
|
43
|
-
variant: "default"
|
|
44
|
-
}));
|
|
45
|
-
let tree = ele.toJSON();
|
|
46
|
-
expect(tree).toMatchSnapshot();
|
|
47
|
-
});
|
|
48
|
-
it('should display size xmedium', () => {
|
|
49
|
-
let ele = renderer.create( /*#__PURE__*/React.createElement(TextBoxIcon, {
|
|
50
|
-
maxLength: "100",
|
|
51
|
-
placeHolder: "Text Area",
|
|
52
|
-
size: "xmedium",
|
|
53
|
-
variant: "default"
|
|
54
|
-
}));
|
|
55
|
-
let tree = ele.toJSON();
|
|
56
|
-
expect(tree).toMatchSnapshot();
|
|
57
|
-
});
|
|
58
|
-
it('should display size small - primary', () => {
|
|
59
|
-
let ele = renderer.create( /*#__PURE__*/React.createElement(TextBoxIcon, {
|
|
60
|
-
maxLength: "100",
|
|
61
|
-
placeHolder: "Text Area",
|
|
62
|
-
size: "small",
|
|
63
|
-
variant: "primary"
|
|
64
|
-
}));
|
|
65
|
-
let tree = ele.toJSON();
|
|
66
|
-
expect(tree).toMatchSnapshot();
|
|
67
|
-
});
|
|
68
|
-
it('should display size medium - primary', () => {
|
|
69
|
-
let ele = renderer.create( /*#__PURE__*/React.createElement(TextBoxIcon, {
|
|
70
|
-
maxLength: "100",
|
|
71
|
-
placeHolder: "Text Area",
|
|
72
|
-
size: "medium",
|
|
73
|
-
variant: "primary"
|
|
74
|
-
}));
|
|
75
|
-
let tree = ele.toJSON();
|
|
76
|
-
expect(tree).toMatchSnapshot();
|
|
77
|
-
});
|
|
78
|
-
it('should display size xmedium - primary', () => {
|
|
79
|
-
let ele = renderer.create( /*#__PURE__*/React.createElement(TextBoxIcon, {
|
|
80
|
-
maxLength: "100",
|
|
81
|
-
placeHolder: "Text Area",
|
|
82
|
-
size: "xmedium",
|
|
83
|
-
variant: "primary"
|
|
84
|
-
}));
|
|
85
|
-
let tree = ele.toJSON();
|
|
86
|
-
expect(tree).toMatchSnapshot();
|
|
87
|
-
});
|
|
88
|
-
it('should display size small - secondary', () => {
|
|
89
|
-
let ele = renderer.create( /*#__PURE__*/React.createElement(TextBoxIcon, {
|
|
90
|
-
maxLength: "100",
|
|
91
|
-
placeHolder: "Text Area",
|
|
92
|
-
size: "small",
|
|
93
|
-
variant: "secondary"
|
|
94
|
-
}));
|
|
95
|
-
let tree = ele.toJSON();
|
|
96
|
-
expect(tree).toMatchSnapshot();
|
|
97
|
-
});
|
|
98
|
-
it('should display size medium - secondary', () => {
|
|
99
|
-
let ele = renderer.create( /*#__PURE__*/React.createElement(TextBoxIcon, {
|
|
100
|
-
maxLength: "100",
|
|
101
|
-
placeHolder: "Text Area",
|
|
102
|
-
size: "medium",
|
|
103
|
-
variant: "secondary"
|
|
104
|
-
}));
|
|
105
|
-
let tree = ele.toJSON();
|
|
106
|
-
expect(tree).toMatchSnapshot();
|
|
107
|
-
});
|
|
108
|
-
it('should display size xmedium - secondary', () => {
|
|
109
|
-
let ele = renderer.create( /*#__PURE__*/React.createElement(TextBoxIcon, {
|
|
110
|
-
maxLength: "100",
|
|
111
|
-
placeHolder: "Text Area",
|
|
112
|
-
size: "xmedium",
|
|
113
|
-
variant: "secondary"
|
|
114
|
-
}));
|
|
115
|
-
let tree = ele.toJSON();
|
|
116
|
-
expect(tree).toMatchSnapshot();
|
|
117
|
-
});
|
|
118
|
-
it('should text propertly entered', () => {
|
|
119
|
-
let renderedDOM = TestUtils.renderIntoDocument( /*#__PURE__*/React.createElement(TextBoxIcon, {
|
|
120
|
-
maxLength: "100",
|
|
121
|
-
placeHolder: "Text Box",
|
|
122
|
-
size: "medium",
|
|
123
|
-
variant: "primary",
|
|
124
|
-
value: "Text Box Working"
|
|
125
|
-
}));
|
|
126
|
-
expect(TestUtils.findRenderedComponentsWithTestid(renderedDOM, 'textBoxIcon').value.contains('Text Box Working')).toBe(true);
|
|
127
|
-
});
|
|
128
|
-
it('should placeHolder propertly entered', () => {
|
|
129
|
-
let renderedDOM = TestUtils.renderIntoDocument( /*#__PURE__*/React.createElement(TextBoxIcon, {
|
|
130
|
-
maxLength: "100",
|
|
131
|
-
placeHolder: "Text Box",
|
|
132
|
-
size: "medium",
|
|
133
|
-
variant: "primary",
|
|
134
|
-
text: "Text Box Working"
|
|
135
|
-
}));
|
|
136
|
-
expect(TestUtils.findRenderedComponentsWithTestid(renderedDOM, 'textBoxIcon').getAttribute('placeholder')).toMatch(/Text Box/);
|
|
137
|
-
}); // it('Check disabled works', () => {
|
|
138
|
-
// let renderedDOM = TestUtils.renderIntoDocument(
|
|
139
|
-
// <TextBoxIcon maxLength='100' placeHolder='Text Box' size='medium' variant='primary' value='Text Box Working' disabled />
|
|
140
|
-
// );
|
|
141
|
-
// let pass = false;
|
|
142
|
-
// let classNames = TestUtils.findRenderedComponentsWithTestid(renderedDOM, 'textBox').classList;
|
|
143
|
-
// Object.keys(classNames)
|
|
144
|
-
// .map(className => {
|
|
145
|
-
// if (classNames[className] == 'disabled') {
|
|
146
|
-
// pass = true;
|
|
147
|
-
// }
|
|
148
|
-
// });
|
|
149
|
-
// expect(
|
|
150
|
-
// pass
|
|
151
|
-
// ).toBe(true);
|
|
152
|
-
// });
|
|
153
|
-
// it('Check readOnly works', () => {
|
|
154
|
-
// let renderedDOM = TestUtils.renderIntoDocument(
|
|
155
|
-
// <TextBoxIcon maxLength='100' placeHolder='Text Box' size='medium' variant='primary' value='Text Box Working' readOnly />
|
|
156
|
-
// );
|
|
157
|
-
// let pass = false;
|
|
158
|
-
// let classNames = TestUtils.findRenderedComponentsWithTestid(renderedDOM, 'textBox').classList;
|
|
159
|
-
// Object.keys(classNames)
|
|
160
|
-
// .map(className => {
|
|
161
|
-
// if (classNames[className] == 'pointer') {
|
|
162
|
-
// pass = true;
|
|
163
|
-
// }
|
|
164
|
-
// });
|
|
165
|
-
// expect(
|
|
166
|
-
// pass
|
|
167
|
-
// ).toBe(true);
|
|
168
|
-
// });
|
|
169
|
-
|
|
170
|
-
it('Check onchange works', () => {
|
|
171
|
-
let mockfn = jest.fn();
|
|
172
|
-
let renderedDOM = TestUtils.renderIntoDocument( /*#__PURE__*/React.createElement(TextBoxIcon, {
|
|
173
|
-
maxLength: "100",
|
|
174
|
-
placeHolder: "Text Box",
|
|
175
|
-
size: "medium",
|
|
176
|
-
variant: "primary",
|
|
177
|
-
value: "Text Box Working",
|
|
178
|
-
onChange: mockfn
|
|
179
|
-
}));
|
|
180
|
-
let onChangeEle = TestUtils.findRenderedComponentsWithTestid(renderedDOM, 'textBoxIcon');
|
|
181
|
-
TestUtils.Simulate.change(onChangeEle);
|
|
182
|
-
expect(mockfn.mock.calls.length).toBe(1);
|
|
183
|
-
});
|
|
184
|
-
it('Check onBlur works', () => {
|
|
185
|
-
let mockfn = jest.fn();
|
|
186
|
-
let renderedDOM = TestUtils.renderIntoDocument( /*#__PURE__*/React.createElement(TextBoxIcon, {
|
|
187
|
-
maxLength: "100",
|
|
188
|
-
placeHolder: "Text Box",
|
|
189
|
-
size: "medium",
|
|
190
|
-
variant: "primary",
|
|
191
|
-
value: "Text Box Working",
|
|
192
|
-
onBlur: mockfn
|
|
193
|
-
}));
|
|
194
|
-
let onBlurEle = TestUtils.findRenderedComponentsWithTestid(renderedDOM, 'textBoxIcon');
|
|
195
|
-
TestUtils.Simulate.blur(onBlurEle);
|
|
196
|
-
expect(mockfn.mock.calls.length).toBe(1);
|
|
197
|
-
});
|
|
198
|
-
it('Check onFocus works', () => {
|
|
199
|
-
let mockfn = jest.fn();
|
|
200
|
-
let renderedDOM = TestUtils.renderIntoDocument( /*#__PURE__*/React.createElement(TextBoxIcon, {
|
|
201
|
-
maxLength: "100",
|
|
202
|
-
placeHolder: "Text Box",
|
|
203
|
-
size: "medium",
|
|
204
|
-
variant: "primary",
|
|
205
|
-
value: "Text Box Working",
|
|
206
|
-
onFocus: mockfn
|
|
207
|
-
}));
|
|
208
|
-
let onFocusEle = TestUtils.findRenderedComponentsWithTestid(renderedDOM, 'textBoxIcon');
|
|
209
|
-
TestUtils.Simulate.focus(onFocusEle);
|
|
210
|
-
expect(mockfn.mock.calls.length).toBe(1);
|
|
211
|
-
});
|
|
212
|
-
});
|
|
@@ -1,334 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
-
|
|
3
|
-
exports[`TextBoxIcon component should display size medium - primary 1`] = `
|
|
4
|
-
<div
|
|
5
|
-
className="container effect flex rowdir"
|
|
6
|
-
data-id="containerComponent"
|
|
7
|
-
data-title=""
|
|
8
|
-
>
|
|
9
|
-
<div
|
|
10
|
-
className="grow basis shrinkOff"
|
|
11
|
-
data-id="boxComponent"
|
|
12
|
-
>
|
|
13
|
-
<input
|
|
14
|
-
className=" container medium primary effect borderColor_default"
|
|
15
|
-
data-id="textBoxIcon"
|
|
16
|
-
maxLength="100"
|
|
17
|
-
onBlur={[Function]}
|
|
18
|
-
onChange={[Function]}
|
|
19
|
-
onFocus={[Function]}
|
|
20
|
-
placeholder="Text Area"
|
|
21
|
-
type="text"
|
|
22
|
-
value=""
|
|
23
|
-
/>
|
|
24
|
-
</div>
|
|
25
|
-
<div
|
|
26
|
-
className="iconContainer shrinkOff"
|
|
27
|
-
data-id="boxComponent"
|
|
28
|
-
>
|
|
29
|
-
<div
|
|
30
|
-
className="flex cover rowdir vCenter"
|
|
31
|
-
data-id="containerComponent"
|
|
32
|
-
/>
|
|
33
|
-
</div>
|
|
34
|
-
<div
|
|
35
|
-
className="line borderColor_default"
|
|
36
|
-
/>
|
|
37
|
-
</div>
|
|
38
|
-
`;
|
|
39
|
-
|
|
40
|
-
exports[`TextBoxIcon component should display size medium - secondary 1`] = `
|
|
41
|
-
<div
|
|
42
|
-
className="container effect flex rowdir"
|
|
43
|
-
data-id="containerComponent"
|
|
44
|
-
data-title=""
|
|
45
|
-
>
|
|
46
|
-
<div
|
|
47
|
-
className="grow basis shrinkOff"
|
|
48
|
-
data-id="boxComponent"
|
|
49
|
-
>
|
|
50
|
-
<input
|
|
51
|
-
className=" container medium secondary effect borderColor_default"
|
|
52
|
-
data-id="textBoxIcon"
|
|
53
|
-
maxLength="100"
|
|
54
|
-
onBlur={[Function]}
|
|
55
|
-
onChange={[Function]}
|
|
56
|
-
onFocus={[Function]}
|
|
57
|
-
placeholder="Text Area"
|
|
58
|
-
type="text"
|
|
59
|
-
value=""
|
|
60
|
-
/>
|
|
61
|
-
</div>
|
|
62
|
-
<div
|
|
63
|
-
className="iconContainer shrinkOff"
|
|
64
|
-
data-id="boxComponent"
|
|
65
|
-
>
|
|
66
|
-
<div
|
|
67
|
-
className="flex cover rowdir vCenter"
|
|
68
|
-
data-id="containerComponent"
|
|
69
|
-
/>
|
|
70
|
-
</div>
|
|
71
|
-
<div
|
|
72
|
-
className="line borderColor_default"
|
|
73
|
-
/>
|
|
74
|
-
</div>
|
|
75
|
-
`;
|
|
76
|
-
|
|
77
|
-
exports[`TextBoxIcon component should display size medium 1`] = `
|
|
78
|
-
<div
|
|
79
|
-
className="container effect flex rowdir"
|
|
80
|
-
data-id="containerComponent"
|
|
81
|
-
data-title=""
|
|
82
|
-
>
|
|
83
|
-
<div
|
|
84
|
-
className="grow basis shrinkOff"
|
|
85
|
-
data-id="boxComponent"
|
|
86
|
-
>
|
|
87
|
-
<input
|
|
88
|
-
className=" container medium default effect borderColor_default"
|
|
89
|
-
data-id="textBoxIcon"
|
|
90
|
-
maxLength="100"
|
|
91
|
-
onBlur={[Function]}
|
|
92
|
-
onChange={[Function]}
|
|
93
|
-
onFocus={[Function]}
|
|
94
|
-
placeholder="Text Area"
|
|
95
|
-
type="text"
|
|
96
|
-
value=""
|
|
97
|
-
/>
|
|
98
|
-
</div>
|
|
99
|
-
<div
|
|
100
|
-
className="iconContainer shrinkOff"
|
|
101
|
-
data-id="boxComponent"
|
|
102
|
-
>
|
|
103
|
-
<div
|
|
104
|
-
className="flex cover rowdir vCenter"
|
|
105
|
-
data-id="containerComponent"
|
|
106
|
-
/>
|
|
107
|
-
</div>
|
|
108
|
-
<div
|
|
109
|
-
className="line borderColor_default"
|
|
110
|
-
/>
|
|
111
|
-
</div>
|
|
112
|
-
`;
|
|
113
|
-
|
|
114
|
-
exports[`TextBoxIcon component should display size small - primary 1`] = `
|
|
115
|
-
<div
|
|
116
|
-
className="container effect flex rowdir"
|
|
117
|
-
data-id="containerComponent"
|
|
118
|
-
data-title=""
|
|
119
|
-
>
|
|
120
|
-
<div
|
|
121
|
-
className="grow basis shrinkOff"
|
|
122
|
-
data-id="boxComponent"
|
|
123
|
-
>
|
|
124
|
-
<input
|
|
125
|
-
className=" container small primary effect borderColor_default"
|
|
126
|
-
data-id="textBoxIcon"
|
|
127
|
-
maxLength="100"
|
|
128
|
-
onBlur={[Function]}
|
|
129
|
-
onChange={[Function]}
|
|
130
|
-
onFocus={[Function]}
|
|
131
|
-
placeholder="Text Area"
|
|
132
|
-
type="text"
|
|
133
|
-
value=""
|
|
134
|
-
/>
|
|
135
|
-
</div>
|
|
136
|
-
<div
|
|
137
|
-
className="iconContainer shrinkOff"
|
|
138
|
-
data-id="boxComponent"
|
|
139
|
-
>
|
|
140
|
-
<div
|
|
141
|
-
className="flex cover rowdir vCenter"
|
|
142
|
-
data-id="containerComponent"
|
|
143
|
-
/>
|
|
144
|
-
</div>
|
|
145
|
-
<div
|
|
146
|
-
className="line borderColor_default"
|
|
147
|
-
/>
|
|
148
|
-
</div>
|
|
149
|
-
`;
|
|
150
|
-
|
|
151
|
-
exports[`TextBoxIcon component should display size small - secondary 1`] = `
|
|
152
|
-
<div
|
|
153
|
-
className="container effect flex rowdir"
|
|
154
|
-
data-id="containerComponent"
|
|
155
|
-
data-title=""
|
|
156
|
-
>
|
|
157
|
-
<div
|
|
158
|
-
className="grow basis shrinkOff"
|
|
159
|
-
data-id="boxComponent"
|
|
160
|
-
>
|
|
161
|
-
<input
|
|
162
|
-
className=" container small secondary effect borderColor_default"
|
|
163
|
-
data-id="textBoxIcon"
|
|
164
|
-
maxLength="100"
|
|
165
|
-
onBlur={[Function]}
|
|
166
|
-
onChange={[Function]}
|
|
167
|
-
onFocus={[Function]}
|
|
168
|
-
placeholder="Text Area"
|
|
169
|
-
type="text"
|
|
170
|
-
value=""
|
|
171
|
-
/>
|
|
172
|
-
</div>
|
|
173
|
-
<div
|
|
174
|
-
className="iconContainer shrinkOff"
|
|
175
|
-
data-id="boxComponent"
|
|
176
|
-
>
|
|
177
|
-
<div
|
|
178
|
-
className="flex cover rowdir vCenter"
|
|
179
|
-
data-id="containerComponent"
|
|
180
|
-
/>
|
|
181
|
-
</div>
|
|
182
|
-
<div
|
|
183
|
-
className="line borderColor_default"
|
|
184
|
-
/>
|
|
185
|
-
</div>
|
|
186
|
-
`;
|
|
187
|
-
|
|
188
|
-
exports[`TextBoxIcon component should display size small 1`] = `
|
|
189
|
-
<div
|
|
190
|
-
className="container effect flex rowdir"
|
|
191
|
-
data-id="containerComponent"
|
|
192
|
-
data-title=""
|
|
193
|
-
>
|
|
194
|
-
<div
|
|
195
|
-
className="grow basis shrinkOff"
|
|
196
|
-
data-id="boxComponent"
|
|
197
|
-
>
|
|
198
|
-
<input
|
|
199
|
-
className=" container small default effect borderColor_default"
|
|
200
|
-
data-id="textBoxIcon"
|
|
201
|
-
maxLength="100"
|
|
202
|
-
onBlur={[Function]}
|
|
203
|
-
onChange={[Function]}
|
|
204
|
-
onFocus={[Function]}
|
|
205
|
-
placeholder="Text Box Icon"
|
|
206
|
-
type="text"
|
|
207
|
-
value=""
|
|
208
|
-
/>
|
|
209
|
-
</div>
|
|
210
|
-
<div
|
|
211
|
-
className="iconContainer shrinkOff"
|
|
212
|
-
data-id="boxComponent"
|
|
213
|
-
>
|
|
214
|
-
<div
|
|
215
|
-
className="flex cover rowdir vCenter"
|
|
216
|
-
data-id="containerComponent"
|
|
217
|
-
/>
|
|
218
|
-
</div>
|
|
219
|
-
<div
|
|
220
|
-
className="line borderColor_default"
|
|
221
|
-
/>
|
|
222
|
-
</div>
|
|
223
|
-
`;
|
|
224
|
-
|
|
225
|
-
exports[`TextBoxIcon component should display size xmedium - primary 1`] = `
|
|
226
|
-
<div
|
|
227
|
-
className="container effect flex rowdir"
|
|
228
|
-
data-id="containerComponent"
|
|
229
|
-
data-title=""
|
|
230
|
-
>
|
|
231
|
-
<div
|
|
232
|
-
className="grow basis shrinkOff"
|
|
233
|
-
data-id="boxComponent"
|
|
234
|
-
>
|
|
235
|
-
<input
|
|
236
|
-
className=" container xmedium primary effect borderColor_default"
|
|
237
|
-
data-id="textBoxIcon"
|
|
238
|
-
maxLength="100"
|
|
239
|
-
onBlur={[Function]}
|
|
240
|
-
onChange={[Function]}
|
|
241
|
-
onFocus={[Function]}
|
|
242
|
-
placeholder="Text Area"
|
|
243
|
-
type="text"
|
|
244
|
-
value=""
|
|
245
|
-
/>
|
|
246
|
-
</div>
|
|
247
|
-
<div
|
|
248
|
-
className="iconContainer shrinkOff"
|
|
249
|
-
data-id="boxComponent"
|
|
250
|
-
>
|
|
251
|
-
<div
|
|
252
|
-
className="flex cover rowdir vCenter"
|
|
253
|
-
data-id="containerComponent"
|
|
254
|
-
/>
|
|
255
|
-
</div>
|
|
256
|
-
<div
|
|
257
|
-
className="line borderColor_default"
|
|
258
|
-
/>
|
|
259
|
-
</div>
|
|
260
|
-
`;
|
|
261
|
-
|
|
262
|
-
exports[`TextBoxIcon component should display size xmedium - secondary 1`] = `
|
|
263
|
-
<div
|
|
264
|
-
className="container effect flex rowdir"
|
|
265
|
-
data-id="containerComponent"
|
|
266
|
-
data-title=""
|
|
267
|
-
>
|
|
268
|
-
<div
|
|
269
|
-
className="grow basis shrinkOff"
|
|
270
|
-
data-id="boxComponent"
|
|
271
|
-
>
|
|
272
|
-
<input
|
|
273
|
-
className=" container xmedium secondary effect borderColor_default"
|
|
274
|
-
data-id="textBoxIcon"
|
|
275
|
-
maxLength="100"
|
|
276
|
-
onBlur={[Function]}
|
|
277
|
-
onChange={[Function]}
|
|
278
|
-
onFocus={[Function]}
|
|
279
|
-
placeholder="Text Area"
|
|
280
|
-
type="text"
|
|
281
|
-
value=""
|
|
282
|
-
/>
|
|
283
|
-
</div>
|
|
284
|
-
<div
|
|
285
|
-
className="iconContainer shrinkOff"
|
|
286
|
-
data-id="boxComponent"
|
|
287
|
-
>
|
|
288
|
-
<div
|
|
289
|
-
className="flex cover rowdir vCenter"
|
|
290
|
-
data-id="containerComponent"
|
|
291
|
-
/>
|
|
292
|
-
</div>
|
|
293
|
-
<div
|
|
294
|
-
className="line borderColor_default"
|
|
295
|
-
/>
|
|
296
|
-
</div>
|
|
297
|
-
`;
|
|
298
|
-
|
|
299
|
-
exports[`TextBoxIcon component should display size xmedium 1`] = `
|
|
300
|
-
<div
|
|
301
|
-
className="container effect flex rowdir"
|
|
302
|
-
data-id="containerComponent"
|
|
303
|
-
data-title=""
|
|
304
|
-
>
|
|
305
|
-
<div
|
|
306
|
-
className="grow basis shrinkOff"
|
|
307
|
-
data-id="boxComponent"
|
|
308
|
-
>
|
|
309
|
-
<input
|
|
310
|
-
className=" container xmedium default effect borderColor_default"
|
|
311
|
-
data-id="textBoxIcon"
|
|
312
|
-
maxLength="100"
|
|
313
|
-
onBlur={[Function]}
|
|
314
|
-
onChange={[Function]}
|
|
315
|
-
onFocus={[Function]}
|
|
316
|
-
placeholder="Text Area"
|
|
317
|
-
type="text"
|
|
318
|
-
value=""
|
|
319
|
-
/>
|
|
320
|
-
</div>
|
|
321
|
-
<div
|
|
322
|
-
className="iconContainer shrinkOff"
|
|
323
|
-
data-id="boxComponent"
|
|
324
|
-
>
|
|
325
|
-
<div
|
|
326
|
-
className="flex cover rowdir vCenter"
|
|
327
|
-
data-id="containerComponent"
|
|
328
|
-
/>
|
|
329
|
-
</div>
|
|
330
|
-
<div
|
|
331
|
-
className="line borderColor_default"
|
|
332
|
-
/>
|
|
333
|
-
</div>
|
|
334
|
-
`;
|