@zohodesk/components 1.0.0-temp-257.1 → 1.0.0-temp-259.1
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/CHANGELOG.md +2038 -0
- package/README.md +2 -2031
- package/assets/Appearance/dark/themes/blue/blue_componentsCTA_DarkModifyCategory.module.css +12 -12
- package/assets/Appearance/dark/themes/green/green_componentsCTA_DarkModifyCategory.module.css +12 -12
- package/assets/Appearance/dark/themes/orange/orange_componentsCTA_DarkModifyCategory.module.css +12 -12
- package/assets/Appearance/dark/themes/red/red_componentsCTA_DarkModifyCategory.module.css +12 -12
- package/assets/Appearance/dark/themes/yellow/yellow_componentsCTA_DarkModifyCategory.module.css +12 -12
- package/assets/Appearance/light/themes/blue/blue_componentsCTA_LightModifyCategory.module.css +12 -12
- package/assets/Appearance/light/themes/green/green_componentsCTA_LightModifyCategory.module.css +12 -12
- package/assets/Appearance/light/themes/orange/orange_componentsCTA_LightModifyCategory.module.css +12 -12
- package/assets/Appearance/light/themes/red/red_componentsCTA_LightModifyCategory.module.css +12 -12
- package/assets/Appearance/light/themes/yellow/yellow_componentsCTA_LightModifyCategory.module.css +12 -12
- package/assets/Appearance/pureDark/themes/blue/blue_componentsCTA_PureDarkModifyCategory.module.css +12 -12
- package/assets/Appearance/pureDark/themes/green/green_componentsCTA_PureDarkModifyCategory.module.css +12 -12
- package/assets/Appearance/pureDark/themes/orange/orange_componentsCTA_PureDarkModifyCategory.module.css +12 -12
- package/assets/Appearance/pureDark/themes/red/red_componentsCTA_PureDarkModifyCategory.module.css +12 -12
- package/assets/Appearance/pureDark/themes/yellow/yellow_componentsCTA_PureDarkModifyCategory.module.css +12 -12
- package/es/Accordion/Accordion.js +1 -6
- package/es/Accordion/AccordionItem.js +1 -6
- package/es/Animation/Animation.js +1 -8
- package/es/AppContainer/AppContainer.js +1 -6
- package/es/AppContainer/__tests__/__snapshots__/AppContainer.spec.js.snap +16 -16
- package/es/Avatar/Avatar.js +1 -6
- package/es/AvatarTeam/AvatarTeam.js +1 -7
- package/es/Button/Button.js +1 -6
- package/es/Buttongroup/Buttongroup.js +1 -14
- package/es/Card/Card.js +1 -9
- package/es/Card/__tests__/__snapshots__/Card.spec.js.snap +17 -17
- package/es/Card/__tests__/__snapshots__/CardContent.spec.js.snap +12 -12
- package/es/Card/__tests__/__snapshots__/CardHeader.spec.js.snap +4 -4
- package/es/CheckBox/CheckBox.js +1 -6
- package/es/CheckBox/__tests__/__snapshots__/CheckBox.spec.js.snap +88 -88
- package/es/ColorSelect/__tests__/__snapshots__/ColorMultiSelect.spec.js.snap +45 -45
- package/es/ColorSelect/__tests__/__snapshots__/ColorSingleSelect.spec.js.snap +24 -24
- package/es/DateTime/DateWidget.js +0 -10
- package/es/DateTime/__tests__/__snapshots__/CalendarView.spec.js.snap +49 -49
- package/es/DateTime/__tests__/__snapshots__/DateTime.spec.js.snap +87 -87
- package/es/DateTime/__tests__/__snapshots__/DateTimePopupFooter.spec.js.snap +1 -1
- package/es/DateTime/__tests__/__snapshots__/DateTimePopupHeader.spec.js.snap +5 -5
- package/es/DateTime/__tests__/__snapshots__/DateWidget.spec.js.snap +6 -6
- package/es/DateTime/__tests__/__snapshots__/DaysRow.spec.js.snap +1 -1
- package/es/DateTime/__tests__/__snapshots__/Time.spec.js.snap +25 -25
- package/es/DropDown/DropDownHeading.js +1 -6
- package/es/DropDown/__tests__/__snapshots__/DropDown.spec.js.snap +2 -2
- package/es/Heading/Heading.js +1 -6
- package/es/Label/Label.js +1 -6
- package/es/Label/__tests__/__snapshots__/Label.spec.js.snap +4 -4
- package/es/ListItem/ListContainer.js +1 -6
- package/es/ListItem/ListItem.js +1 -6
- package/es/ListItem/ListItemWithAvatar.js +1 -6
- package/es/ListItem/ListItemWithCheckBox.js +1 -6
- package/es/ListItem/ListItemWithIcon.js +1 -6
- package/es/ListItem/ListItemWithRadio.js +1 -6
- package/es/ListItem/__tests__/__snapshots__/ListContainer.spec.js.snap +2 -2
- package/es/ListItem/__tests__/__snapshots__/ListItem.spec.js.snap +16 -16
- package/es/ListItem/__tests__/__snapshots__/ListItemWithAvatar.spec.js.snap +41 -41
- package/es/ListItem/__tests__/__snapshots__/ListItemWithCheckBox.spec.js.snap +62 -62
- package/es/ListItem/__tests__/__snapshots__/ListItemWithIcon.spec.js.snap +41 -41
- package/es/ListItem/__tests__/__snapshots__/ListItemWithRadio.spec.js.snap +62 -62
- package/es/Modal/Modal.js +1 -8
- package/es/MultiSelect/AdvancedGroupMultiSelect.js +1 -7
- package/es/MultiSelect/AdvancedMultiSelect.js +1 -9
- package/es/MultiSelect/MobileHeader/__tests__/__snapshots__/MobileHeader.spec.js.snap +3 -3
- package/es/MultiSelect/__tests__/__snapshots__/AdvancedGroupMultiSelect.spec.js.snap +6 -6
- package/es/MultiSelect/__tests__/__snapshots__/AdvancedMultiSelect.spec.js.snap +50 -50
- package/es/MultiSelect/__tests__/__snapshots__/MultiSelect.spec.js.snap +31 -31
- package/es/MultiSelect/__tests__/__snapshots__/MultiSelectHeader.spec.js.snap +6 -6
- package/es/MultiSelect/__tests__/__snapshots__/MultiSelectWithAvatar.spec.js.snap +8 -8
- package/es/MultiSelect/__tests__/__snapshots__/SelectedOptions.spec.js.snap +4 -4
- package/es/MultiSelect/__tests__/__snapshots__/Suggestions.spec.js.snap +47 -47
- package/es/Radio/__tests__/__snapshots__/Radio.spec.js.snap +94 -94
- package/es/ResponsiveDropBox/__tests__/__snapshots__/ResponsiveDropBox.spec.js.snap +1 -1
- package/es/RippleEffect/RippleEffect.js +1 -6
- package/es/Select/GroupSelect.js +1 -8
- package/es/Select/Select.js +1 -10
- package/es/Select/SelectWithAvatar.js +1 -9
- package/es/Select/SelectWithIcon.js +1 -7
- package/es/Select/__tests__/__snapshots__/GroupSelect.spec.js.snap +6 -6
- package/es/Select/__tests__/__snapshots__/Select.spec.js.snap +756 -756
- package/es/Select/__tests__/__snapshots__/SelectWithAvatar.spec.js.snap +2 -2
- package/es/Select/__tests__/__snapshots__/SelectWithIcon.spec.js.snap +9 -9
- package/es/Switch/Switch.js +1 -6
- package/es/Switch/__tests__/__snapshots__/Switch.spec.js.snap +44 -44
- package/es/Tab/Tab.js +1 -6
- package/es/Tab/__tests__/__snapshots__/Tab.spec.js.snap +2 -2
- package/es/Tab/__tests__/__snapshots__/TabContent.spec.js.snap +1 -1
- package/es/Tab/__tests__/__snapshots__/TabContentWrapper.spec.js.snap +1 -1
- package/es/Tab/__tests__/__snapshots__/TabLayout.spec.js.snap +36 -36
- package/es/Tab/__tests__/__snapshots__/TabWrapper.spec.js.snap +1 -1
- package/es/Tab/__tests__/__snapshots__/Tabs.spec.js.snap +4 -4
- package/es/Tag/Tag.js +1 -6
- package/es/Tag/__tests__/__snapshots__/Tag.spec.js.snap +46 -46
- package/es/TextBox/TextBox.js +1 -8
- package/es/TextBoxIcon/TextBoxIcon.js +1 -8
- package/es/TextBoxIcon/__tests__/__snapshots__/TextBoxIcon.spec.js.snap +164 -164
- package/es/Textarea/Textarea.js +1 -8
- package/es/Tooltip/Tooltip.js +1 -8
- package/es/VelocityAnimation/VelocityAnimation/VelocityAnimation.js +1 -5
- package/es/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +1 -5
- package/es/semantic/Button/Button.js +1 -6
- package/es/shared/ArrowIcon/__tests__/__snapshots__/ArrowIcon.spec.js.snap +10 -10
- package/es/shared/InputFieldLine/__tests__/__snapshots__/InputFieldLine.spec.js.snap +19 -19
- package/es/v1/Button/Button.js +7 -12
- package/es/v1/Button/README.md +3 -2
- package/es/v1/Button/__tests__/Button.spec.js +14 -6
- package/es/v1/Button/__tests__/__snapshots__/Button.spec.js.snap +298 -218
- package/es/v1/Button/constants/index.js +26 -20
- package/es/v1/Button/constants/presets.js +158 -0
- package/es/v1/Button/css/Button_v1.module.css +17 -8
- package/es/v1/Button/css/cssJSLogic.js +30 -26
- package/es/v1/Button/props/defaultProps.js +5 -6
- package/es/v1/Button/props/propTypes.js +12 -5
- package/es/v1/Label/__tests__/__snapshots__/Label.spec.js.snap +24 -24
- package/es/v1/Switch/__tests__/__snapshots__/Switch.spec.js.snap +14 -14
- package/es/v1/helpers/colorHelpers/background/backgroundColor.module.css +5 -5
- package/es/v1/helpers/colorHelpers/border/borderColor.module.css +5 -5
- package/es/v1/helpers/colorHelpers/colorHelper.js +114 -138
- package/es/v1/helpers/colorHelpers/constants/index.js +45 -4
- package/es/v1/shared/{Loader/Loader.js → Spinner/Spinner.js} +5 -5
- package/es/v1/shared/{Loader/__tests__/Loader.spec.js → Spinner/__tests__/Spinner.spec.js} +4 -4
- package/{lib/v1/shared/Loader/__tests__/__snapshots__/Loader.spec.js.snap → es/v1/shared/Spinner/__tests__/__snapshots__/Spinner.spec.js.snap} +2 -2
- package/lib/Accordion/Accordion.js +1 -6
- package/lib/Accordion/AccordionItem.js +1 -6
- package/lib/Animation/Animation.js +1 -8
- package/lib/AppContainer/AppContainer.js +1 -6
- package/lib/AppContainer/__tests__/__snapshots__/AppContainer.spec.js.snap +16 -16
- package/lib/Avatar/Avatar.js +1 -6
- package/lib/AvatarTeam/AvatarTeam.js +1 -7
- package/lib/Button/Button.js +1 -7
- package/lib/Buttongroup/Buttongroup.js +1 -14
- package/lib/Card/Card.js +1 -8
- package/lib/Card/__tests__/__snapshots__/Card.spec.js.snap +17 -17
- package/lib/Card/__tests__/__snapshots__/CardContent.spec.js.snap +12 -12
- package/lib/Card/__tests__/__snapshots__/CardHeader.spec.js.snap +4 -4
- package/lib/CheckBox/CheckBox.js +1 -6
- package/lib/CheckBox/__tests__/__snapshots__/CheckBox.spec.js.snap +88 -88
- package/lib/ColorSelect/__tests__/__snapshots__/ColorMultiSelect.spec.js.snap +45 -45
- package/lib/ColorSelect/__tests__/__snapshots__/ColorSingleSelect.spec.js.snap +24 -24
- package/lib/DateTime/DateWidget.js +0 -10
- package/lib/DateTime/__tests__/__snapshots__/CalendarView.spec.js.snap +49 -49
- package/lib/DateTime/__tests__/__snapshots__/DateTime.spec.js.snap +87 -87
- package/lib/DateTime/__tests__/__snapshots__/DateTimePopupFooter.spec.js.snap +1 -1
- package/lib/DateTime/__tests__/__snapshots__/DateTimePopupHeader.spec.js.snap +5 -5
- package/lib/DateTime/__tests__/__snapshots__/DateWidget.spec.js.snap +6 -6
- package/lib/DateTime/__tests__/__snapshots__/DaysRow.spec.js.snap +1 -1
- package/lib/DateTime/__tests__/__snapshots__/Time.spec.js.snap +25 -25
- package/lib/DropDown/DropDownHeading.js +1 -6
- package/lib/DropDown/__tests__/__snapshots__/DropDown.spec.js.snap +2 -2
- package/lib/Heading/Heading.js +1 -6
- package/lib/Label/Label.js +1 -6
- package/lib/Label/__tests__/__snapshots__/Label.spec.js.snap +4 -4
- package/lib/ListItem/ListContainer.js +1 -7
- package/lib/ListItem/ListItem.js +1 -6
- package/lib/ListItem/ListItemWithAvatar.js +1 -6
- package/lib/ListItem/ListItemWithCheckBox.js +1 -6
- package/lib/ListItem/ListItemWithIcon.js +1 -6
- package/lib/ListItem/ListItemWithRadio.js +1 -6
- package/lib/ListItem/__tests__/__snapshots__/ListContainer.spec.js.snap +2 -2
- package/lib/ListItem/__tests__/__snapshots__/ListItem.spec.js.snap +16 -16
- package/lib/ListItem/__tests__/__snapshots__/ListItemWithAvatar.spec.js.snap +41 -41
- package/lib/ListItem/__tests__/__snapshots__/ListItemWithCheckBox.spec.js.snap +62 -62
- package/lib/ListItem/__tests__/__snapshots__/ListItemWithIcon.spec.js.snap +41 -41
- package/lib/ListItem/__tests__/__snapshots__/ListItemWithRadio.spec.js.snap +62 -62
- package/lib/Modal/Modal.js +1 -8
- package/lib/MultiSelect/AdvancedGroupMultiSelect.js +1 -7
- package/lib/MultiSelect/AdvancedMultiSelect.js +1 -9
- package/lib/MultiSelect/MobileHeader/__tests__/__snapshots__/MobileHeader.spec.js.snap +3 -3
- package/lib/MultiSelect/__tests__/__snapshots__/AdvancedGroupMultiSelect.spec.js.snap +6 -6
- package/lib/MultiSelect/__tests__/__snapshots__/AdvancedMultiSelect.spec.js.snap +50 -50
- package/lib/MultiSelect/__tests__/__snapshots__/MultiSelect.spec.js.snap +31 -31
- package/lib/MultiSelect/__tests__/__snapshots__/MultiSelectHeader.spec.js.snap +6 -6
- package/lib/MultiSelect/__tests__/__snapshots__/MultiSelectWithAvatar.spec.js.snap +8 -8
- package/lib/MultiSelect/__tests__/__snapshots__/SelectedOptions.spec.js.snap +4 -4
- package/lib/MultiSelect/__tests__/__snapshots__/Suggestions.spec.js.snap +47 -47
- package/lib/Radio/__tests__/__snapshots__/Radio.spec.js.snap +94 -94
- package/lib/ResponsiveDropBox/__tests__/__snapshots__/ResponsiveDropBox.spec.js.snap +1 -1
- package/lib/RippleEffect/RippleEffect.js +1 -6
- package/lib/Select/GroupSelect.js +1 -9
- package/lib/Select/Select.js +1 -11
- package/lib/Select/SelectWithAvatar.js +1 -9
- package/lib/Select/SelectWithIcon.js +1 -7
- package/lib/Select/__tests__/__snapshots__/GroupSelect.spec.js.snap +6 -6
- package/lib/Select/__tests__/__snapshots__/Select.spec.js.snap +756 -756
- package/lib/Select/__tests__/__snapshots__/SelectWithAvatar.spec.js.snap +2 -2
- package/lib/Select/__tests__/__snapshots__/SelectWithIcon.spec.js.snap +9 -9
- package/lib/Switch/Switch.js +1 -6
- package/lib/Switch/__tests__/__snapshots__/Switch.spec.js.snap +44 -44
- package/lib/Tab/Tab.js +1 -6
- package/lib/Tab/__tests__/__snapshots__/Tab.spec.js.snap +2 -2
- package/lib/Tab/__tests__/__snapshots__/TabContent.spec.js.snap +1 -1
- package/lib/Tab/__tests__/__snapshots__/TabContentWrapper.spec.js.snap +1 -1
- package/lib/Tab/__tests__/__snapshots__/TabLayout.spec.js.snap +36 -36
- package/lib/Tab/__tests__/__snapshots__/TabWrapper.spec.js.snap +1 -1
- package/lib/Tab/__tests__/__snapshots__/Tabs.spec.js.snap +4 -4
- package/lib/Tag/Tag.js +1 -6
- package/lib/Tag/__tests__/__snapshots__/Tag.spec.js.snap +46 -46
- package/lib/TextBox/TextBox.js +1 -8
- package/lib/TextBoxIcon/TextBoxIcon.js +1 -8
- package/lib/TextBoxIcon/__tests__/__snapshots__/TextBoxIcon.spec.js.snap +164 -164
- package/lib/Textarea/Textarea.js +1 -8
- package/lib/Tooltip/Tooltip.js +1 -8
- package/lib/VelocityAnimation/VelocityAnimation/VelocityAnimation.js +1 -5
- package/lib/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +1 -5
- package/lib/semantic/Button/Button.js +1 -6
- package/lib/shared/ArrowIcon/__tests__/__snapshots__/ArrowIcon.spec.js.snap +10 -10
- package/lib/shared/InputFieldLine/__tests__/__snapshots__/InputFieldLine.spec.js.snap +19 -19
- package/lib/v1/Button/Button.js +7 -12
- package/lib/v1/Button/README.md +3 -2
- package/lib/v1/Button/__tests__/Button.spec.js +66 -52
- package/lib/v1/Button/__tests__/__snapshots__/Button.spec.js.snap +298 -218
- package/lib/v1/Button/constants/index.js +31 -28
- package/lib/v1/Button/constants/presets.js +176 -0
- package/lib/v1/Button/css/Button_v1.module.css +17 -8
- package/lib/v1/Button/css/cssJSLogic.js +16 -15
- package/lib/v1/Button/props/defaultProps.js +4 -5
- package/lib/v1/Button/props/propTypes.js +27 -4
- package/lib/v1/Label/__tests__/__snapshots__/Label.spec.js.snap +24 -24
- package/lib/v1/Switch/__tests__/__snapshots__/Switch.spec.js.snap +14 -14
- package/lib/v1/helpers/colorHelpers/background/backgroundColor.module.css +5 -5
- package/lib/v1/helpers/colorHelpers/border/borderColor.module.css +5 -5
- package/lib/v1/helpers/colorHelpers/colorHelper.js +125 -153
- package/lib/v1/helpers/colorHelpers/constants/index.js +45 -4
- package/lib/v1/shared/{Loader/Loader.js → Spinner/Spinner.js} +8 -8
- package/lib/v1/shared/{Loader/__tests__/Loader.spec.js → Spinner/__tests__/Spinner.spec.js} +4 -4
- package/{es/v1/shared/Loader/__tests__/__snapshots__/Loader.spec.js.snap → lib/v1/shared/Spinner/__tests__/__snapshots__/Spinner.spec.js.snap} +2 -2
- package/package.json +9 -9
- /package/es/v1/shared/{Loader/Loader_v1.module.css → Spinner/Spinner_v1.module.css} +0 -0
- /package/es/v1/shared/{Loader → Spinner}/props/defaultProps.js +0 -0
- /package/es/v1/shared/{Loader → Spinner}/props/propTypes.js +0 -0
- /package/lib/v1/shared/{Loader/Loader_v1.module.css → Spinner/Spinner_v1.module.css} +0 -0
- /package/lib/v1/shared/{Loader → Spinner}/props/defaultProps.js +0 -0
- /package/lib/v1/shared/{Loader → Spinner}/props/propTypes.js +0 -0
|
@@ -5,15 +5,13 @@ exports[`Button - Component Should apply a11yAttributes to the button 1`] = `
|
|
|
5
5
|
<button
|
|
6
6
|
aria-busy="false"
|
|
7
7
|
aria-describedby="button-description"
|
|
8
|
-
aria-disabled="false"
|
|
9
8
|
aria-label="Smart Button"
|
|
10
9
|
aria-pressed="false"
|
|
11
|
-
|
|
12
|
-
class="buttonReset button bg-brand-80 text-brand-filled border-brand-80 sizeMedium shapeRoundedRectangle"
|
|
10
|
+
class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-brand-80 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantText"
|
|
13
11
|
type="button"
|
|
14
12
|
>
|
|
15
13
|
<div
|
|
16
|
-
class="flex row
|
|
14
|
+
class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
|
|
17
15
|
data-id="flex"
|
|
18
16
|
data-test-id="flex"
|
|
19
17
|
>
|
|
@@ -31,14 +29,12 @@ exports[`Button - Component Should apply customClass to wrapper, text and icon 1
|
|
|
31
29
|
<DocumentFragment>
|
|
32
30
|
<button
|
|
33
31
|
aria-busy="false"
|
|
34
|
-
aria-disabled="false"
|
|
35
32
|
aria-pressed="false"
|
|
36
|
-
|
|
37
|
-
class="buttonReset button bg-brand-80 text-brand-filled border-brand-80 sizeMedium shapeRoundedRectangle customButtonClass"
|
|
33
|
+
class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-brand-80 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantIconWithText customButtonClass"
|
|
38
34
|
type="button"
|
|
39
35
|
>
|
|
40
36
|
<div
|
|
41
|
-
class="flex row
|
|
37
|
+
class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
|
|
42
38
|
data-id="flex"
|
|
43
39
|
data-test-id="flex"
|
|
44
40
|
>
|
|
@@ -63,14 +59,12 @@ exports[`Button - Component Should apply customProps to wrapper, text and icon 1
|
|
|
63
59
|
<DocumentFragment>
|
|
64
60
|
<button
|
|
65
61
|
aria-busy="false"
|
|
66
|
-
aria-disabled="false"
|
|
67
62
|
aria-pressed="false"
|
|
68
|
-
|
|
69
|
-
class="buttonReset button bg-brand-80 text-brand-filled border-brand-80 sizeMedium shapeRoundedRectangle"
|
|
63
|
+
class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-brand-80 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantIconWithText"
|
|
70
64
|
type="button"
|
|
71
65
|
>
|
|
72
66
|
<div
|
|
73
|
-
class="flex row
|
|
67
|
+
class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
|
|
74
68
|
data-id="flex"
|
|
75
69
|
data-test-id="flex"
|
|
76
70
|
>
|
|
@@ -88,14 +82,15 @@ exports[`Button - Component Should be disabled when isDisabled prop is true 1`]
|
|
|
88
82
|
<DocumentFragment>
|
|
89
83
|
<button
|
|
90
84
|
aria-busy="false"
|
|
91
|
-
aria-disabled="true"
|
|
92
85
|
aria-pressed="false"
|
|
93
|
-
|
|
94
|
-
|
|
86
|
+
class="buttonReset button bg-brand-80 text-brand-filled border-brand-80 sizeMedium shapeRoundedRectangle variantText disabledOpac disabledPointer"
|
|
87
|
+
data-id="undefined_disabled"
|
|
88
|
+
data-test-id="undefined_disabled"
|
|
89
|
+
disabled=""
|
|
95
90
|
type="button"
|
|
96
91
|
>
|
|
97
92
|
<div
|
|
98
|
-
class="flex row
|
|
93
|
+
class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
|
|
99
94
|
data-id="flex"
|
|
100
95
|
data-test-id="flex"
|
|
101
96
|
/>
|
|
@@ -107,14 +102,12 @@ exports[`Button - Component Should render Sizes of buttons - full 1`] = `
|
|
|
107
102
|
<DocumentFragment>
|
|
108
103
|
<button
|
|
109
104
|
aria-busy="false"
|
|
110
|
-
aria-disabled="false"
|
|
111
105
|
aria-pressed="false"
|
|
112
|
-
|
|
113
|
-
class="buttonReset button bg-brand-80 text-brand-filled border-brand-80 sizeFull shapeRoundedRectangle"
|
|
106
|
+
class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-brand-80 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeFull shapeRoundedRectangle variantText"
|
|
114
107
|
type="button"
|
|
115
108
|
>
|
|
116
109
|
<div
|
|
117
|
-
class="flex row
|
|
110
|
+
class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
|
|
118
111
|
data-id="flex"
|
|
119
112
|
data-test-id="flex"
|
|
120
113
|
/>
|
|
@@ -126,14 +119,12 @@ exports[`Button - Component Should render Sizes of buttons - large 1`] = `
|
|
|
126
119
|
<DocumentFragment>
|
|
127
120
|
<button
|
|
128
121
|
aria-busy="false"
|
|
129
|
-
aria-disabled="false"
|
|
130
122
|
aria-pressed="false"
|
|
131
|
-
|
|
132
|
-
class="buttonReset button bg-brand-80 text-brand-filled border-brand-80 sizeLarge shapeRoundedRectangle"
|
|
123
|
+
class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-brand-80 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeLarge shapeRoundedRectangle variantText"
|
|
133
124
|
type="button"
|
|
134
125
|
>
|
|
135
126
|
<div
|
|
136
|
-
class="flex row
|
|
127
|
+
class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
|
|
137
128
|
data-id="flex"
|
|
138
129
|
data-test-id="flex"
|
|
139
130
|
/>
|
|
@@ -145,14 +136,12 @@ exports[`Button - Component Should render Sizes of buttons - medium 1`] = `
|
|
|
145
136
|
<DocumentFragment>
|
|
146
137
|
<button
|
|
147
138
|
aria-busy="false"
|
|
148
|
-
aria-disabled="false"
|
|
149
139
|
aria-pressed="false"
|
|
150
|
-
|
|
151
|
-
class="buttonReset button bg-brand-80 text-brand-filled border-brand-80 sizeMedium shapeRoundedRectangle"
|
|
140
|
+
class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-brand-80 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantText"
|
|
152
141
|
type="button"
|
|
153
142
|
>
|
|
154
143
|
<div
|
|
155
|
-
class="flex row
|
|
144
|
+
class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
|
|
156
145
|
data-id="flex"
|
|
157
146
|
data-test-id="flex"
|
|
158
147
|
/>
|
|
@@ -164,14 +153,12 @@ exports[`Button - Component Should render Sizes of buttons - small 1`] = `
|
|
|
164
153
|
<DocumentFragment>
|
|
165
154
|
<button
|
|
166
155
|
aria-busy="false"
|
|
167
|
-
aria-disabled="false"
|
|
168
156
|
aria-pressed="false"
|
|
169
|
-
|
|
170
|
-
class="buttonReset button bg-brand-80 text-brand-filled border-brand-80 sizeSmall shapeRoundedRectangle"
|
|
157
|
+
class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-brand-80 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeSmall shapeRoundedRectangle variantText"
|
|
171
158
|
type="button"
|
|
172
159
|
>
|
|
173
160
|
<div
|
|
174
|
-
class="flex row
|
|
161
|
+
class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
|
|
175
162
|
data-id="flex"
|
|
176
163
|
data-test-id="flex"
|
|
177
164
|
/>
|
|
@@ -183,14 +170,12 @@ exports[`Button - Component Should render Status of buttons - default 1`] = `
|
|
|
183
170
|
<DocumentFragment>
|
|
184
171
|
<button
|
|
185
172
|
aria-busy="false"
|
|
186
|
-
aria-disabled="false"
|
|
187
173
|
aria-pressed="false"
|
|
188
|
-
|
|
189
|
-
class="buttonReset button bg-brand-80 text-brand-filled border-brand-80 sizeMedium shapeRoundedRectangle"
|
|
174
|
+
class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-brand-80 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantText"
|
|
190
175
|
type="button"
|
|
191
176
|
>
|
|
192
177
|
<div
|
|
193
|
-
class="flex row
|
|
178
|
+
class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
|
|
194
179
|
data-id="flex"
|
|
195
180
|
data-test-id="flex"
|
|
196
181
|
/>
|
|
@@ -202,19 +187,18 @@ exports[`Button - Component Should render Status of buttons - loading 1`] = `
|
|
|
202
187
|
<DocumentFragment>
|
|
203
188
|
<button
|
|
204
189
|
aria-busy="true"
|
|
205
|
-
aria-disabled="true"
|
|
206
190
|
aria-pressed="false"
|
|
207
|
-
|
|
208
|
-
|
|
191
|
+
class="buttonReset button bg-brand-80 text-brand-filled border-brand-80 sizeMedium shapeRoundedRectangle variantText loading"
|
|
192
|
+
disabled=""
|
|
209
193
|
type="button"
|
|
210
194
|
>
|
|
211
195
|
<div
|
|
212
|
-
class="flex row
|
|
196
|
+
class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink overlayHidden"
|
|
213
197
|
data-id="flex"
|
|
214
198
|
data-test-id="flex"
|
|
215
199
|
/>
|
|
216
200
|
<div
|
|
217
|
-
class="flex row
|
|
201
|
+
class="d-flex d-flex-row d-items-center d-justify-center loaderOverlay"
|
|
218
202
|
data-id="flex"
|
|
219
203
|
data-test-id="flex"
|
|
220
204
|
>
|
|
@@ -246,19 +230,17 @@ exports[`Button - Component Should render Status of buttons - success 1`] = `
|
|
|
246
230
|
<DocumentFragment>
|
|
247
231
|
<button
|
|
248
232
|
aria-busy="false"
|
|
249
|
-
aria-disabled="false"
|
|
250
233
|
aria-pressed="false"
|
|
251
|
-
|
|
252
|
-
class="buttonReset button bg-brand-80 text-brand-filled border-brand-80 sizeMedium shapeRoundedRectangle"
|
|
234
|
+
class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-brand-80 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantText"
|
|
253
235
|
type="button"
|
|
254
236
|
>
|
|
255
237
|
<div
|
|
256
|
-
class="flex row
|
|
238
|
+
class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink overlayHidden"
|
|
257
239
|
data-id="flex"
|
|
258
240
|
data-test-id="flex"
|
|
259
241
|
/>
|
|
260
242
|
<div
|
|
261
|
-
class="flex row
|
|
243
|
+
class="d-flex d-flex-row d-items-center d-justify-center successOverlay"
|
|
262
244
|
data-id="flex"
|
|
263
245
|
data-test-id="flex"
|
|
264
246
|
>
|
|
@@ -277,18 +259,16 @@ exports[`Button - Component Should render Status of buttons - success 1`] = `
|
|
|
277
259
|
</DocumentFragment>
|
|
278
260
|
`;
|
|
279
261
|
|
|
280
|
-
exports[`Button - Component Should render
|
|
262
|
+
exports[`Button - Component Should render appearance of buttons - [ 'bg' ] 1`] = `
|
|
281
263
|
<DocumentFragment>
|
|
282
264
|
<button
|
|
283
265
|
aria-busy="false"
|
|
284
|
-
aria-disabled="false"
|
|
285
266
|
aria-pressed="false"
|
|
286
|
-
|
|
287
|
-
class="buttonReset button bg-brand-80 text-brand-filled border-brand-80 sizeMedium shapeRoundedRectangle"
|
|
267
|
+
class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-transparent hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantText"
|
|
288
268
|
type="button"
|
|
289
269
|
>
|
|
290
270
|
<div
|
|
291
|
-
class="flex row
|
|
271
|
+
class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
|
|
292
272
|
data-id="flex"
|
|
293
273
|
data-test-id="flex"
|
|
294
274
|
/>
|
|
@@ -296,18 +276,16 @@ exports[`Button - Component Should render bgAppearance of buttons - default 1`]
|
|
|
296
276
|
</DocumentFragment>
|
|
297
277
|
`;
|
|
298
278
|
|
|
299
|
-
exports[`Button - Component Should render
|
|
279
|
+
exports[`Button - Component Should render appearance of buttons - [ 'bg', 'border' ] 1`] = `
|
|
300
280
|
<DocumentFragment>
|
|
301
281
|
<button
|
|
302
282
|
aria-busy="false"
|
|
303
|
-
aria-disabled="false"
|
|
304
283
|
aria-pressed="false"
|
|
305
|
-
|
|
306
|
-
class="buttonReset button text-brand-80 border-brand-80 sizeMedium shapeRoundedRectangle"
|
|
284
|
+
class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-brand-80 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantText"
|
|
307
285
|
type="button"
|
|
308
286
|
>
|
|
309
287
|
<div
|
|
310
|
-
class="flex row
|
|
288
|
+
class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
|
|
311
289
|
data-id="flex"
|
|
312
290
|
data-test-id="flex"
|
|
313
291
|
/>
|
|
@@ -315,18 +293,16 @@ exports[`Button - Component Should render bgAppearance of buttons - none 1`] = `
|
|
|
315
293
|
</DocumentFragment>
|
|
316
294
|
`;
|
|
317
295
|
|
|
318
|
-
exports[`Button - Component Should render
|
|
296
|
+
exports[`Button - Component Should render appearance of buttons - [ 'border' ] 1`] = `
|
|
319
297
|
<DocumentFragment>
|
|
320
298
|
<button
|
|
321
299
|
aria-busy="false"
|
|
322
|
-
aria-disabled="false"
|
|
323
300
|
aria-pressed="false"
|
|
324
|
-
|
|
325
|
-
class="buttonReset button text-brand-80 border-brand-80 sizeMedium shapeRoundedRectangle"
|
|
301
|
+
class="buttonReset button hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-brand-80 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantText"
|
|
326
302
|
type="button"
|
|
327
303
|
>
|
|
328
304
|
<div
|
|
329
|
-
class="flex row
|
|
305
|
+
class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
|
|
330
306
|
data-id="flex"
|
|
331
307
|
data-test-id="flex"
|
|
332
308
|
/>
|
|
@@ -334,18 +310,73 @@ exports[`Button - Component Should render bgAppearance of buttons - onHover 1`]
|
|
|
334
310
|
</DocumentFragment>
|
|
335
311
|
`;
|
|
336
312
|
|
|
337
|
-
exports[`Button - Component Should render
|
|
313
|
+
exports[`Button - Component Should render appearance of buttons - [ 'text' ] 1`] = `
|
|
338
314
|
<DocumentFragment>
|
|
339
315
|
<button
|
|
340
316
|
aria-busy="false"
|
|
341
|
-
aria-disabled="false"
|
|
342
317
|
aria-pressed="false"
|
|
343
|
-
|
|
344
|
-
class="buttonReset button bg-brand-80 text-brand-filled border-brand-80 sizeMedium shapeRoundedRectangle"
|
|
318
|
+
class="buttonReset button hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-80 hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-transparent hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantText"
|
|
345
319
|
type="button"
|
|
346
320
|
>
|
|
347
321
|
<div
|
|
348
|
-
class="flex row
|
|
322
|
+
class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
|
|
323
|
+
data-id="flex"
|
|
324
|
+
data-test-id="flex"
|
|
325
|
+
/>
|
|
326
|
+
</button>
|
|
327
|
+
</DocumentFragment>
|
|
328
|
+
`;
|
|
329
|
+
|
|
330
|
+
exports[`Button - Component Should render appearance of buttons - [] 1`] = `
|
|
331
|
+
<DocumentFragment>
|
|
332
|
+
<button
|
|
333
|
+
aria-busy="false"
|
|
334
|
+
aria-pressed="false"
|
|
335
|
+
class="buttonReset button hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-transparent hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantText"
|
|
336
|
+
type="button"
|
|
337
|
+
>
|
|
338
|
+
<div
|
|
339
|
+
class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
|
|
340
|
+
data-id="flex"
|
|
341
|
+
data-test-id="flex"
|
|
342
|
+
/>
|
|
343
|
+
</button>
|
|
344
|
+
</DocumentFragment>
|
|
345
|
+
`;
|
|
346
|
+
|
|
347
|
+
exports[`Button - Component Should render disabledAppearance of buttons - dull 1`] = `
|
|
348
|
+
<DocumentFragment>
|
|
349
|
+
<button
|
|
350
|
+
aria-busy="false"
|
|
351
|
+
aria-pressed="false"
|
|
352
|
+
class="buttonReset button bg-brand-80 text-brand-filled border-brand-80 sizeMedium shapeRoundedRectangle variantText disabledOpac disabledPointer"
|
|
353
|
+
data-id="undefined_disabled"
|
|
354
|
+
data-test-id="undefined_disabled"
|
|
355
|
+
disabled=""
|
|
356
|
+
type="button"
|
|
357
|
+
>
|
|
358
|
+
<div
|
|
359
|
+
class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
|
|
360
|
+
data-id="flex"
|
|
361
|
+
data-test-id="flex"
|
|
362
|
+
/>
|
|
363
|
+
</button>
|
|
364
|
+
</DocumentFragment>
|
|
365
|
+
`;
|
|
366
|
+
|
|
367
|
+
exports[`Button - Component Should render disabledAppearance of buttons - none 1`] = `
|
|
368
|
+
<DocumentFragment>
|
|
369
|
+
<button
|
|
370
|
+
aria-busy="false"
|
|
371
|
+
aria-pressed="false"
|
|
372
|
+
class="buttonReset button bg-brand-80 text-brand-filled border-brand-80 sizeMedium shapeRoundedRectangle variantText disabledPointer"
|
|
373
|
+
data-id="undefined_disabled"
|
|
374
|
+
data-test-id="undefined_disabled"
|
|
375
|
+
disabled=""
|
|
376
|
+
type="button"
|
|
377
|
+
>
|
|
378
|
+
<div
|
|
379
|
+
class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
|
|
349
380
|
data-id="flex"
|
|
350
381
|
data-test-id="flex"
|
|
351
382
|
/>
|
|
@@ -353,14 +384,15 @@ exports[`Button - Component Should render borderAppearance of buttons - default
|
|
|
353
384
|
</DocumentFragment>
|
|
354
385
|
`;
|
|
355
386
|
|
|
356
|
-
exports[`Button - Component Should render
|
|
387
|
+
exports[`Button - Component Should render disabledAppearance of buttons - strike 1`] = `
|
|
357
388
|
<DocumentFragment>
|
|
358
389
|
<button
|
|
359
390
|
aria-busy="false"
|
|
360
|
-
aria-disabled="false"
|
|
361
391
|
aria-pressed="false"
|
|
362
|
-
|
|
363
|
-
|
|
392
|
+
class="buttonReset button bg-brand-80 text-brand-filled border-brand-80 sizeMedium shapeRoundedRectangle variantText disabledPointer strike"
|
|
393
|
+
data-id="undefined_disabled"
|
|
394
|
+
data-test-id="undefined_disabled"
|
|
395
|
+
disabled=""
|
|
364
396
|
type="button"
|
|
365
397
|
>
|
|
366
398
|
<div
|
|
@@ -372,14 +404,12 @@ exports[`Button - Component Should render borderAppearance of buttons - none 1`]
|
|
|
372
404
|
</DocumentFragment>
|
|
373
405
|
`;
|
|
374
406
|
|
|
375
|
-
exports[`Button - Component Should render
|
|
407
|
+
exports[`Button - Component Should render hoverAppearance of buttons - [ 'bg' ] 1`] = `
|
|
376
408
|
<DocumentFragment>
|
|
377
409
|
<button
|
|
378
410
|
aria-busy="false"
|
|
379
|
-
aria-disabled="false"
|
|
380
411
|
aria-pressed="false"
|
|
381
|
-
|
|
382
|
-
class="buttonReset button bg-brand-80 text-brand-filled border-transparent sizeMedium shapeRoundedRectangle"
|
|
412
|
+
class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-brand-80 hover:border-transparent focus:border-transparent active:border-transparent sizeMedium shapeRoundedRectangle variantText"
|
|
383
413
|
type="button"
|
|
384
414
|
>
|
|
385
415
|
<div
|
|
@@ -391,14 +421,12 @@ exports[`Button - Component Should render borderAppearance of buttons - onHover
|
|
|
391
421
|
</DocumentFragment>
|
|
392
422
|
`;
|
|
393
423
|
|
|
394
|
-
exports[`Button - Component Should render
|
|
424
|
+
exports[`Button - Component Should render hoverAppearance of buttons - [ 'bg', 'border' ] 1`] = `
|
|
395
425
|
<DocumentFragment>
|
|
396
426
|
<button
|
|
397
427
|
aria-busy="false"
|
|
398
|
-
aria-disabled="true"
|
|
399
428
|
aria-pressed="false"
|
|
400
|
-
|
|
401
|
-
class="buttonReset button bg-brand-80 text-brand-filled border-brand-80 sizeMedium shapeRoundedRectangle disabledOpac disabledPointer"
|
|
429
|
+
class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-brand-80 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantText"
|
|
402
430
|
type="button"
|
|
403
431
|
>
|
|
404
432
|
<div
|
|
@@ -410,14 +438,12 @@ exports[`Button - Component Should render disabledAppearance of buttons - dull 1
|
|
|
410
438
|
</DocumentFragment>
|
|
411
439
|
`;
|
|
412
440
|
|
|
413
|
-
exports[`Button - Component Should render
|
|
441
|
+
exports[`Button - Component Should render hoverAppearance of buttons - [ 'border' ] 1`] = `
|
|
414
442
|
<DocumentFragment>
|
|
415
443
|
<button
|
|
416
444
|
aria-busy="false"
|
|
417
|
-
aria-disabled="true"
|
|
418
445
|
aria-pressed="false"
|
|
419
|
-
|
|
420
|
-
class="buttonReset button bg-brand-80 text-brand-filled border-brand-80 sizeMedium shapeRoundedRectangle disabledPointer"
|
|
446
|
+
class="buttonReset button bg-brand-80 text-brand-filled border-brand-80 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantText"
|
|
421
447
|
type="button"
|
|
422
448
|
>
|
|
423
449
|
<div
|
|
@@ -429,14 +455,12 @@ exports[`Button - Component Should render disabledAppearance of buttons - none 1
|
|
|
429
455
|
</DocumentFragment>
|
|
430
456
|
`;
|
|
431
457
|
|
|
432
|
-
exports[`Button - Component Should render
|
|
458
|
+
exports[`Button - Component Should render hoverAppearance of buttons - [ 'text' ] 1`] = `
|
|
433
459
|
<DocumentFragment>
|
|
434
460
|
<button
|
|
435
461
|
aria-busy="false"
|
|
436
|
-
aria-disabled="true"
|
|
437
462
|
aria-pressed="false"
|
|
438
|
-
|
|
439
|
-
class="buttonReset button bg-brand-80 text-brand-filled border-brand-80 sizeMedium shapeRoundedRectangle disabledPointer strike"
|
|
463
|
+
class="buttonReset button bg-brand-80 text-brand-filled hover:text-brand-100 focus:text-brand-100 active:text-brand-100 border-brand-80 hover:border-transparent focus:border-transparent active:border-transparent sizeMedium shapeRoundedRectangle variantText"
|
|
440
464
|
type="button"
|
|
441
465
|
>
|
|
442
466
|
<div
|
|
@@ -448,23 +472,39 @@ exports[`Button - Component Should render disabledAppearance of buttons - strike
|
|
|
448
472
|
</DocumentFragment>
|
|
449
473
|
`;
|
|
450
474
|
|
|
475
|
+
exports[`Button - Component Should render hoverAppearance of buttons - [] 1`] = `
|
|
476
|
+
<DocumentFragment>
|
|
477
|
+
<button
|
|
478
|
+
aria-busy="false"
|
|
479
|
+
aria-pressed="false"
|
|
480
|
+
class="buttonReset button bg-brand-80 text-brand-filled border-brand-80 hover:border-transparent focus:border-transparent active:border-transparent sizeMedium shapeRoundedRectangle variantText"
|
|
481
|
+
type="button"
|
|
482
|
+
>
|
|
483
|
+
<div
|
|
484
|
+
class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
|
|
485
|
+
data-id="flex"
|
|
486
|
+
data-test-id="flex"
|
|
487
|
+
/>
|
|
488
|
+
</button>
|
|
489
|
+
</DocumentFragment>
|
|
490
|
+
`;
|
|
491
|
+
|
|
451
492
|
exports[`Button - Component Should render loaderPlacement of buttons - end 1`] = `
|
|
452
493
|
<DocumentFragment>
|
|
453
494
|
<button
|
|
454
495
|
aria-busy="true"
|
|
455
|
-
aria-disabled="true"
|
|
456
496
|
aria-pressed="false"
|
|
457
|
-
|
|
458
|
-
|
|
497
|
+
class="buttonReset button bg-brand-80 text-brand-filled border-brand-80 sizeMedium shapeRoundedRectangle variantText loading"
|
|
498
|
+
disabled=""
|
|
459
499
|
type="button"
|
|
460
500
|
>
|
|
461
501
|
<div
|
|
462
|
-
class="flex row
|
|
502
|
+
class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
|
|
463
503
|
data-id="flex"
|
|
464
504
|
data-test-id="flex"
|
|
465
505
|
>
|
|
466
506
|
<div
|
|
467
|
-
class="flex row
|
|
507
|
+
class="d-flex d-flex-row d-items-center d-justify-center"
|
|
468
508
|
data-id="flex"
|
|
469
509
|
data-test-id="flex"
|
|
470
510
|
>
|
|
@@ -497,19 +537,18 @@ exports[`Button - Component Should render loaderPlacement of buttons - overlay 1
|
|
|
497
537
|
<DocumentFragment>
|
|
498
538
|
<button
|
|
499
539
|
aria-busy="true"
|
|
500
|
-
aria-disabled="true"
|
|
501
540
|
aria-pressed="false"
|
|
502
|
-
|
|
503
|
-
|
|
541
|
+
class="buttonReset button bg-brand-80 text-brand-filled border-brand-80 sizeMedium shapeRoundedRectangle variantText loading"
|
|
542
|
+
disabled=""
|
|
504
543
|
type="button"
|
|
505
544
|
>
|
|
506
545
|
<div
|
|
507
|
-
class="flex row
|
|
546
|
+
class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink overlayHidden"
|
|
508
547
|
data-id="flex"
|
|
509
548
|
data-test-id="flex"
|
|
510
549
|
/>
|
|
511
550
|
<div
|
|
512
|
-
class="flex row
|
|
551
|
+
class="d-flex d-flex-row d-items-center d-justify-center loaderOverlay"
|
|
513
552
|
data-id="flex"
|
|
514
553
|
data-test-id="flex"
|
|
515
554
|
>
|
|
@@ -541,19 +580,18 @@ exports[`Button - Component Should render loaderPlacement of buttons - start 1`]
|
|
|
541
580
|
<DocumentFragment>
|
|
542
581
|
<button
|
|
543
582
|
aria-busy="true"
|
|
544
|
-
aria-disabled="true"
|
|
545
583
|
aria-pressed="false"
|
|
546
|
-
|
|
547
|
-
|
|
584
|
+
class="buttonReset button bg-brand-80 text-brand-filled border-brand-80 sizeMedium shapeRoundedRectangle variantText loading"
|
|
585
|
+
disabled=""
|
|
548
586
|
type="button"
|
|
549
587
|
>
|
|
550
588
|
<div
|
|
551
|
-
class="flex row
|
|
589
|
+
class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
|
|
552
590
|
data-id="flex"
|
|
553
591
|
data-test-id="flex"
|
|
554
592
|
>
|
|
555
593
|
<div
|
|
556
|
-
class="flex row
|
|
594
|
+
class="d-flex d-flex-row d-items-center d-justify-center"
|
|
557
595
|
data-id="flex"
|
|
558
596
|
data-test-id="flex"
|
|
559
597
|
>
|
|
@@ -586,14 +624,12 @@ exports[`Button - Component Should render palette of buttons - danger 1`] = `
|
|
|
586
624
|
<DocumentFragment>
|
|
587
625
|
<button
|
|
588
626
|
aria-busy="false"
|
|
589
|
-
aria-disabled="false"
|
|
590
627
|
aria-pressed="false"
|
|
591
|
-
|
|
592
|
-
class="buttonReset button bg-red-70 text-white border-red-70 sizeMedium shapeRoundedRectangle"
|
|
628
|
+
class="buttonReset button bg-red-70 hover:bg-red-100 focus:bg-red-100 active:bg-red-100 text-white hover:text-white focus:text-white active:text-white border-red-70 hover:border-red-100 focus:border-red-100 active:border-red-100 sizeMedium shapeRoundedRectangle variantText"
|
|
593
629
|
type="button"
|
|
594
630
|
>
|
|
595
631
|
<div
|
|
596
|
-
class="flex row
|
|
632
|
+
class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
|
|
597
633
|
data-id="flex"
|
|
598
634
|
data-test-id="flex"
|
|
599
635
|
/>
|
|
@@ -605,14 +641,12 @@ exports[`Button - Component Should render palette of buttons - default 1`] = `
|
|
|
605
641
|
<DocumentFragment>
|
|
606
642
|
<button
|
|
607
643
|
aria-busy="false"
|
|
608
|
-
aria-disabled="false"
|
|
609
644
|
aria-pressed="false"
|
|
610
|
-
|
|
611
|
-
class="buttonReset button bg-brand-80 text-brand-filled border-brand-80 sizeMedium shapeRoundedRectangle"
|
|
645
|
+
class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-brand-80 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantText"
|
|
612
646
|
type="button"
|
|
613
647
|
>
|
|
614
648
|
<div
|
|
615
|
-
class="flex row
|
|
649
|
+
class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
|
|
616
650
|
data-id="flex"
|
|
617
651
|
data-test-id="flex"
|
|
618
652
|
/>
|
|
@@ -624,14 +658,12 @@ exports[`Button - Component Should render palette of buttons - primary 1`] = `
|
|
|
624
658
|
<DocumentFragment>
|
|
625
659
|
<button
|
|
626
660
|
aria-busy="false"
|
|
627
|
-
aria-disabled="false"
|
|
628
661
|
aria-pressed="false"
|
|
629
|
-
|
|
630
|
-
class="buttonReset button bg-blue-80 text-white border-blue-80 sizeMedium shapeRoundedRectangle"
|
|
662
|
+
class="buttonReset button bg-blue-80 hover:bg-blue-100 focus:bg-blue-100 active:bg-blue-100 text-white hover:text-white focus:text-white active:text-white border-blue-80 hover:border-blue-100 focus:border-blue-100 active:border-blue-100 sizeMedium shapeRoundedRectangle variantText"
|
|
631
663
|
type="button"
|
|
632
664
|
>
|
|
633
665
|
<div
|
|
634
|
-
class="flex row
|
|
666
|
+
class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
|
|
635
667
|
data-id="flex"
|
|
636
668
|
data-test-id="flex"
|
|
637
669
|
/>
|
|
@@ -643,14 +675,12 @@ exports[`Button - Component Should render palette of buttons - secondary 1`] = `
|
|
|
643
675
|
<DocumentFragment>
|
|
644
676
|
<button
|
|
645
677
|
aria-busy="false"
|
|
646
|
-
aria-disabled="false"
|
|
647
678
|
aria-pressed="false"
|
|
648
|
-
|
|
649
|
-
class="buttonReset button bg-grey-65 text-white border-grey-65 sizeMedium shapeRoundedRectangle"
|
|
679
|
+
class="buttonReset button bg-grey-65 hover:bg-grey-55 focus:bg-grey-55 active:bg-grey-55 text-white hover:text-white focus:text-white active:text-white border-grey-65 hover:border-grey-55 focus:border-grey-55 active:border-grey-55 sizeMedium shapeRoundedRectangle variantText"
|
|
650
680
|
type="button"
|
|
651
681
|
>
|
|
652
682
|
<div
|
|
653
|
-
class="flex row
|
|
683
|
+
class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
|
|
654
684
|
data-id="flex"
|
|
655
685
|
data-test-id="flex"
|
|
656
686
|
/>
|
|
@@ -662,14 +692,12 @@ exports[`Button - Component Should render palette of buttons - success 1`] = `
|
|
|
662
692
|
<DocumentFragment>
|
|
663
693
|
<button
|
|
664
694
|
aria-busy="false"
|
|
665
|
-
aria-disabled="false"
|
|
666
695
|
aria-pressed="false"
|
|
667
|
-
|
|
668
|
-
class="buttonReset button bg-green-80 text-white border-green-80 sizeMedium shapeRoundedRectangle"
|
|
696
|
+
class="buttonReset button bg-green-80 hover:bg-green-100 focus:bg-green-100 active:bg-green-100 text-white hover:text-white focus:text-white active:text-white border-green-80 hover:border-green-100 focus:border-green-100 active:border-green-100 sizeMedium shapeRoundedRectangle variantText"
|
|
669
697
|
type="button"
|
|
670
698
|
>
|
|
671
699
|
<div
|
|
672
|
-
class="flex row
|
|
700
|
+
class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
|
|
673
701
|
data-id="flex"
|
|
674
702
|
data-test-id="flex"
|
|
675
703
|
/>
|
|
@@ -681,14 +709,12 @@ exports[`Button - Component Should render paletteShade of buttons - default 1`]
|
|
|
681
709
|
<DocumentFragment>
|
|
682
710
|
<button
|
|
683
711
|
aria-busy="false"
|
|
684
|
-
aria-disabled="false"
|
|
685
712
|
aria-pressed="false"
|
|
686
|
-
|
|
687
|
-
class="buttonReset button bg-brand-80 text-brand-filled border-brand-80 sizeMedium shapeRoundedRectangle"
|
|
713
|
+
class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-brand-80 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantText"
|
|
688
714
|
type="button"
|
|
689
715
|
>
|
|
690
716
|
<div
|
|
691
|
-
class="flex row
|
|
717
|
+
class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
|
|
692
718
|
data-id="flex"
|
|
693
719
|
data-test-id="flex"
|
|
694
720
|
/>
|
|
@@ -700,10 +726,8 @@ exports[`Button - Component Should render paletteShade of buttons - lighter 1`]
|
|
|
700
726
|
<DocumentFragment>
|
|
701
727
|
<button
|
|
702
728
|
aria-busy="false"
|
|
703
|
-
aria-disabled="false"
|
|
704
729
|
aria-pressed="false"
|
|
705
|
-
|
|
706
|
-
class="buttonReset button bg-brand-10 text-brand-80 border-brand-10 sizeMedium shapeRoundedRectangle"
|
|
730
|
+
class="buttonReset button bg-brand-10 hover:bg-brand-20 focus:bg-brand-20 active:bg-brand-20 text-brand-80 hover:text-brand-100 focus:text-brand-100 active:text-brand-100 border-brand-10 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantText"
|
|
707
731
|
type="button"
|
|
708
732
|
>
|
|
709
733
|
<div
|
|
@@ -715,18 +739,101 @@ exports[`Button - Component Should render paletteShade of buttons - lighter 1`]
|
|
|
715
739
|
</DocumentFragment>
|
|
716
740
|
`;
|
|
717
741
|
|
|
742
|
+
exports[`Button - Component Should render selectedAppearance of buttons - [ 'bg' ] 1`] = `
|
|
743
|
+
<DocumentFragment>
|
|
744
|
+
<button
|
|
745
|
+
aria-busy="false"
|
|
746
|
+
aria-pressed="true"
|
|
747
|
+
class="buttonReset button selected:bg-brand-100 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 selected:text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled selected:border-transparent hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantText"
|
|
748
|
+
type="button"
|
|
749
|
+
>
|
|
750
|
+
<div
|
|
751
|
+
class="flex row alignItems_center justifyContent_center shrink contentWrapper"
|
|
752
|
+
data-id="flex"
|
|
753
|
+
data-test-id="flex"
|
|
754
|
+
/>
|
|
755
|
+
</button>
|
|
756
|
+
</DocumentFragment>
|
|
757
|
+
`;
|
|
758
|
+
|
|
759
|
+
exports[`Button - Component Should render selectedAppearance of buttons - [ 'bg', 'border' ] 1`] = `
|
|
760
|
+
<DocumentFragment>
|
|
761
|
+
<button
|
|
762
|
+
aria-busy="false"
|
|
763
|
+
aria-pressed="true"
|
|
764
|
+
class="buttonReset button selected:bg-brand-100 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 selected:text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled selected:border-brand-100 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantText"
|
|
765
|
+
type="button"
|
|
766
|
+
>
|
|
767
|
+
<div
|
|
768
|
+
class="flex row alignItems_center justifyContent_center shrink contentWrapper"
|
|
769
|
+
data-id="flex"
|
|
770
|
+
data-test-id="flex"
|
|
771
|
+
/>
|
|
772
|
+
</button>
|
|
773
|
+
</DocumentFragment>
|
|
774
|
+
`;
|
|
775
|
+
|
|
776
|
+
exports[`Button - Component Should render selectedAppearance of buttons - [ 'border' ] 1`] = `
|
|
777
|
+
<DocumentFragment>
|
|
778
|
+
<button
|
|
779
|
+
aria-busy="false"
|
|
780
|
+
aria-pressed="true"
|
|
781
|
+
class="buttonReset button hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 hover:text-brand-filled focus:text-brand-filled active:text-brand-filled selected:border-brand-100 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantText"
|
|
782
|
+
type="button"
|
|
783
|
+
>
|
|
784
|
+
<div
|
|
785
|
+
class="flex row alignItems_center justifyContent_center shrink contentWrapper"
|
|
786
|
+
data-id="flex"
|
|
787
|
+
data-test-id="flex"
|
|
788
|
+
/>
|
|
789
|
+
</button>
|
|
790
|
+
</DocumentFragment>
|
|
791
|
+
`;
|
|
792
|
+
|
|
793
|
+
exports[`Button - Component Should render selectedAppearance of buttons - [ 'text' ] 1`] = `
|
|
794
|
+
<DocumentFragment>
|
|
795
|
+
<button
|
|
796
|
+
aria-busy="false"
|
|
797
|
+
aria-pressed="true"
|
|
798
|
+
class="buttonReset button hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 selected:text-brand-100 hover:text-brand-filled focus:text-brand-filled active:text-brand-filled selected:border-transparent hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantText"
|
|
799
|
+
type="button"
|
|
800
|
+
>
|
|
801
|
+
<div
|
|
802
|
+
class="flex row alignItems_center justifyContent_center shrink contentWrapper"
|
|
803
|
+
data-id="flex"
|
|
804
|
+
data-test-id="flex"
|
|
805
|
+
/>
|
|
806
|
+
</button>
|
|
807
|
+
</DocumentFragment>
|
|
808
|
+
`;
|
|
809
|
+
|
|
810
|
+
exports[`Button - Component Should render selectedAppearance of buttons - [] 1`] = `
|
|
811
|
+
<DocumentFragment>
|
|
812
|
+
<button
|
|
813
|
+
aria-busy="false"
|
|
814
|
+
aria-pressed="true"
|
|
815
|
+
class="buttonReset button hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 hover:text-brand-filled focus:text-brand-filled active:text-brand-filled selected:border-transparent hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantText"
|
|
816
|
+
type="button"
|
|
817
|
+
>
|
|
818
|
+
<div
|
|
819
|
+
class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
|
|
820
|
+
data-id="flex"
|
|
821
|
+
data-test-id="flex"
|
|
822
|
+
/>
|
|
823
|
+
</button>
|
|
824
|
+
</DocumentFragment>
|
|
825
|
+
`;
|
|
826
|
+
|
|
718
827
|
exports[`Button - Component Should render shape of buttons - pill 1`] = `
|
|
719
828
|
<DocumentFragment>
|
|
720
829
|
<button
|
|
721
830
|
aria-busy="false"
|
|
722
|
-
aria-disabled="false"
|
|
723
831
|
aria-pressed="false"
|
|
724
|
-
|
|
725
|
-
class="buttonReset button bg-brand-80 text-brand-filled border-brand-80 sizeMedium shapePill"
|
|
832
|
+
class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-brand-80 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapePill variantText"
|
|
726
833
|
type="button"
|
|
727
834
|
>
|
|
728
835
|
<div
|
|
729
|
-
class="flex row
|
|
836
|
+
class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
|
|
730
837
|
data-id="flex"
|
|
731
838
|
data-test-id="flex"
|
|
732
839
|
/>
|
|
@@ -738,14 +845,12 @@ exports[`Button - Component Should render shape of buttons - rectangle 1`] = `
|
|
|
738
845
|
<DocumentFragment>
|
|
739
846
|
<button
|
|
740
847
|
aria-busy="false"
|
|
741
|
-
aria-disabled="false"
|
|
742
848
|
aria-pressed="false"
|
|
743
|
-
|
|
744
|
-
class="buttonReset button bg-brand-80 text-brand-filled border-brand-80 sizeMedium shapeRectangle"
|
|
849
|
+
class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-brand-80 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRectangle variantText"
|
|
745
850
|
type="button"
|
|
746
851
|
>
|
|
747
852
|
<div
|
|
748
|
-
class="flex row
|
|
853
|
+
class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
|
|
749
854
|
data-id="flex"
|
|
750
855
|
data-test-id="flex"
|
|
751
856
|
/>
|
|
@@ -757,14 +862,12 @@ exports[`Button - Component Should render shape of buttons - roundedRectangle 1`
|
|
|
757
862
|
<DocumentFragment>
|
|
758
863
|
<button
|
|
759
864
|
aria-busy="false"
|
|
760
|
-
aria-disabled="false"
|
|
761
865
|
aria-pressed="false"
|
|
762
|
-
|
|
763
|
-
class="buttonReset button bg-brand-80 text-brand-filled border-brand-80 sizeMedium shapeRoundedRectangle"
|
|
866
|
+
class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-brand-80 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantText"
|
|
764
867
|
type="button"
|
|
765
868
|
>
|
|
766
869
|
<div
|
|
767
|
-
class="flex row
|
|
870
|
+
class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
|
|
768
871
|
data-id="flex"
|
|
769
872
|
data-test-id="flex"
|
|
770
873
|
/>
|
|
@@ -776,14 +879,12 @@ exports[`Button - Component Should render type of buttons - button 1`] = `
|
|
|
776
879
|
<DocumentFragment>
|
|
777
880
|
<button
|
|
778
881
|
aria-busy="false"
|
|
779
|
-
aria-disabled="false"
|
|
780
882
|
aria-pressed="false"
|
|
781
|
-
|
|
782
|
-
class="buttonReset button bg-brand-80 text-brand-filled border-brand-80 sizeMedium shapeRoundedRectangle"
|
|
883
|
+
class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-brand-80 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantText"
|
|
783
884
|
type="button"
|
|
784
885
|
>
|
|
785
886
|
<div
|
|
786
|
-
class="flex row
|
|
887
|
+
class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
|
|
787
888
|
data-id="flex"
|
|
788
889
|
data-test-id="flex"
|
|
789
890
|
/>
|
|
@@ -795,14 +896,12 @@ exports[`Button - Component Should render type of buttons - reset 1`] = `
|
|
|
795
896
|
<DocumentFragment>
|
|
796
897
|
<button
|
|
797
898
|
aria-busy="false"
|
|
798
|
-
aria-disabled="false"
|
|
799
899
|
aria-pressed="false"
|
|
800
|
-
|
|
801
|
-
class="buttonReset button bg-brand-80 text-brand-filled border-brand-80 sizeMedium shapeRoundedRectangle"
|
|
900
|
+
class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-brand-80 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantText"
|
|
802
901
|
type="reset"
|
|
803
902
|
>
|
|
804
903
|
<div
|
|
805
|
-
class="flex row
|
|
904
|
+
class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
|
|
806
905
|
data-id="flex"
|
|
807
906
|
data-test-id="flex"
|
|
808
907
|
/>
|
|
@@ -814,14 +913,12 @@ exports[`Button - Component Should render type of buttons - submit 1`] = `
|
|
|
814
913
|
<DocumentFragment>
|
|
815
914
|
<button
|
|
816
915
|
aria-busy="false"
|
|
817
|
-
aria-disabled="false"
|
|
818
916
|
aria-pressed="false"
|
|
819
|
-
|
|
820
|
-
class="buttonReset button bg-brand-80 text-brand-filled border-brand-80 sizeMedium shapeRoundedRectangle"
|
|
917
|
+
class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-brand-80 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantText"
|
|
821
918
|
type="submit"
|
|
822
919
|
>
|
|
823
920
|
<div
|
|
824
|
-
class="flex row
|
|
921
|
+
class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
|
|
825
922
|
data-id="flex"
|
|
826
923
|
data-test-id="flex"
|
|
827
924
|
/>
|
|
@@ -833,14 +930,12 @@ exports[`Button - Component Should render variant of buttons - icon 1`] = `
|
|
|
833
930
|
<DocumentFragment>
|
|
834
931
|
<button
|
|
835
932
|
aria-busy="false"
|
|
836
|
-
aria-disabled="false"
|
|
837
933
|
aria-pressed="false"
|
|
838
|
-
|
|
839
|
-
class="buttonReset button bg-brand-80 text-brand-filled border-brand-80 sizeMedium shapeRoundedRectangle"
|
|
934
|
+
class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-brand-80 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantIcon"
|
|
840
935
|
type="button"
|
|
841
936
|
>
|
|
842
937
|
<div
|
|
843
|
-
class="flex row
|
|
938
|
+
class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
|
|
844
939
|
data-id="flex"
|
|
845
940
|
data-test-id="flex"
|
|
846
941
|
/>
|
|
@@ -852,14 +947,12 @@ exports[`Button - Component Should render variant of buttons - iconWithText 1`]
|
|
|
852
947
|
<DocumentFragment>
|
|
853
948
|
<button
|
|
854
949
|
aria-busy="false"
|
|
855
|
-
aria-disabled="false"
|
|
856
950
|
aria-pressed="false"
|
|
857
|
-
|
|
858
|
-
class="buttonReset button bg-brand-80 text-brand-filled border-brand-80 sizeMedium shapeRoundedRectangle"
|
|
951
|
+
class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-brand-80 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantIconWithText"
|
|
859
952
|
type="button"
|
|
860
953
|
>
|
|
861
954
|
<div
|
|
862
|
-
class="flex row
|
|
955
|
+
class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
|
|
863
956
|
data-id="flex"
|
|
864
957
|
data-test-id="flex"
|
|
865
958
|
/>
|
|
@@ -871,14 +964,12 @@ exports[`Button - Component Should render variant of buttons - text 1`] = `
|
|
|
871
964
|
<DocumentFragment>
|
|
872
965
|
<button
|
|
873
966
|
aria-busy="false"
|
|
874
|
-
aria-disabled="false"
|
|
875
967
|
aria-pressed="false"
|
|
876
|
-
|
|
877
|
-
class="buttonReset button bg-brand-80 text-brand-filled border-brand-80 sizeMedium shapeRoundedRectangle"
|
|
968
|
+
class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-brand-80 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantText"
|
|
878
969
|
type="button"
|
|
879
970
|
>
|
|
880
971
|
<div
|
|
881
|
-
class="flex row
|
|
972
|
+
class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
|
|
882
973
|
data-id="flex"
|
|
883
974
|
data-test-id="flex"
|
|
884
975
|
/>
|
|
@@ -890,14 +981,12 @@ exports[`Button - Component Should render with children 1`] = `
|
|
|
890
981
|
<DocumentFragment>
|
|
891
982
|
<button
|
|
892
983
|
aria-busy="false"
|
|
893
|
-
aria-disabled="false"
|
|
894
984
|
aria-pressed="false"
|
|
895
|
-
|
|
896
|
-
class="buttonReset button bg-brand-80 text-brand-filled border-brand-80 sizeMedium shapeRoundedRectangle"
|
|
985
|
+
class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-brand-80 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantText"
|
|
897
986
|
type="button"
|
|
898
987
|
>
|
|
899
988
|
<div
|
|
900
|
-
class="flex row
|
|
989
|
+
class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
|
|
901
990
|
data-id="flex"
|
|
902
991
|
data-test-id="flex"
|
|
903
992
|
>
|
|
@@ -915,16 +1004,14 @@ exports[`Button - Component Should render with customId and testId 1`] = `
|
|
|
915
1004
|
<DocumentFragment>
|
|
916
1005
|
<button
|
|
917
1006
|
aria-busy="false"
|
|
918
|
-
aria-disabled="false"
|
|
919
1007
|
aria-pressed="false"
|
|
920
|
-
|
|
921
|
-
class="buttonReset button bg-brand-80 text-brand-filled border-brand-80 sizeMedium shapeRoundedRectangle"
|
|
1008
|
+
class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-brand-80 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantText"
|
|
922
1009
|
data-id="customIdValue"
|
|
923
1010
|
data-test-id="testIdValue"
|
|
924
1011
|
type="button"
|
|
925
1012
|
>
|
|
926
1013
|
<div
|
|
927
|
-
class="flex row
|
|
1014
|
+
class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
|
|
928
1015
|
data-id="flex"
|
|
929
1016
|
data-test-id="flex"
|
|
930
1017
|
/>
|
|
@@ -936,14 +1023,12 @@ exports[`Button - Component Should render with iconName and iconSize 1`] = `
|
|
|
936
1023
|
<DocumentFragment>
|
|
937
1024
|
<button
|
|
938
1025
|
aria-busy="false"
|
|
939
|
-
aria-disabled="false"
|
|
940
1026
|
aria-pressed="false"
|
|
941
|
-
|
|
942
|
-
class="buttonReset button bg-brand-80 text-brand-filled border-brand-80 sizeMedium shapeRoundedRectangle"
|
|
1027
|
+
class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-brand-80 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantIcon"
|
|
943
1028
|
type="button"
|
|
944
1029
|
>
|
|
945
1030
|
<div
|
|
946
|
-
class="flex row
|
|
1031
|
+
class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
|
|
947
1032
|
data-id="flex"
|
|
948
1033
|
data-test-id="flex"
|
|
949
1034
|
>
|
|
@@ -963,14 +1048,12 @@ exports[`Button - Component Should render with iconPlacement 1`] = `
|
|
|
963
1048
|
<DocumentFragment>
|
|
964
1049
|
<button
|
|
965
1050
|
aria-busy="false"
|
|
966
|
-
aria-disabled="false"
|
|
967
1051
|
aria-pressed="false"
|
|
968
|
-
|
|
969
|
-
class="buttonReset button bg-brand-80 text-brand-filled border-brand-80 sizeMedium shapeRoundedRectangle"
|
|
1052
|
+
class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-brand-80 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantIconWithText"
|
|
970
1053
|
type="button"
|
|
971
1054
|
>
|
|
972
1055
|
<div
|
|
973
|
-
class="flex row
|
|
1056
|
+
class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
|
|
974
1057
|
data-id="flex"
|
|
975
1058
|
data-test-id="flex"
|
|
976
1059
|
>
|
|
@@ -995,14 +1078,12 @@ exports[`Button - Component Should render with readOnly style when isReadOnly pr
|
|
|
995
1078
|
<DocumentFragment>
|
|
996
1079
|
<button
|
|
997
1080
|
aria-busy="false"
|
|
998
|
-
aria-disabled="false"
|
|
999
1081
|
aria-pressed="false"
|
|
1000
|
-
|
|
1001
|
-
class="buttonReset button bg-brand-80 text-brand-filled border-brand-80 sizeMedium shapeRoundedRectangle disabledOpac disabledPointer"
|
|
1082
|
+
class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-brand-80 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantText"
|
|
1002
1083
|
type="button"
|
|
1003
1084
|
>
|
|
1004
1085
|
<div
|
|
1005
|
-
class="flex row
|
|
1086
|
+
class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
|
|
1006
1087
|
data-id="flex"
|
|
1007
1088
|
data-test-id="flex"
|
|
1008
1089
|
/>
|
|
@@ -1014,14 +1095,12 @@ exports[`Button - Component Should render with renderBefore and renderAfter 1`]
|
|
|
1014
1095
|
<DocumentFragment>
|
|
1015
1096
|
<button
|
|
1016
1097
|
aria-busy="false"
|
|
1017
|
-
aria-disabled="false"
|
|
1018
1098
|
aria-pressed="false"
|
|
1019
|
-
|
|
1020
|
-
class="buttonReset button bg-brand-80 text-brand-filled border-brand-80 sizeMedium shapeRoundedRectangle"
|
|
1099
|
+
class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-brand-80 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantText"
|
|
1021
1100
|
type="button"
|
|
1022
1101
|
>
|
|
1023
1102
|
<div
|
|
1024
|
-
class="flex row
|
|
1103
|
+
class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
|
|
1025
1104
|
data-id="flex"
|
|
1026
1105
|
data-test-id="flex"
|
|
1027
1106
|
>
|
|
@@ -1045,14 +1124,12 @@ exports[`Button - Component Should render with renderIcon 1`] = `
|
|
|
1045
1124
|
<DocumentFragment>
|
|
1046
1125
|
<button
|
|
1047
1126
|
aria-busy="false"
|
|
1048
|
-
aria-disabled="false"
|
|
1049
1127
|
aria-pressed="false"
|
|
1050
|
-
|
|
1051
|
-
class="buttonReset button bg-brand-80 text-brand-filled border-brand-80 sizeMedium shapeRoundedRectangle"
|
|
1128
|
+
class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-brand-80 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantIcon"
|
|
1052
1129
|
type="button"
|
|
1053
1130
|
>
|
|
1054
1131
|
<div
|
|
1055
|
-
class="flex row
|
|
1132
|
+
class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
|
|
1056
1133
|
data-id="flex"
|
|
1057
1134
|
data-test-id="flex"
|
|
1058
1135
|
>
|
|
@@ -1068,20 +1145,25 @@ exports[`Button - Component Should render with renderLoader 1`] = `
|
|
|
1068
1145
|
<DocumentFragment>
|
|
1069
1146
|
<button
|
|
1070
1147
|
aria-busy="true"
|
|
1071
|
-
aria-disabled="true"
|
|
1072
1148
|
aria-pressed="false"
|
|
1073
|
-
|
|
1074
|
-
|
|
1149
|
+
class="buttonReset button bg-brand-80 text-brand-filled border-brand-80 sizeMedium shapeRoundedRectangle variantText loading"
|
|
1150
|
+
disabled=""
|
|
1075
1151
|
type="button"
|
|
1076
1152
|
>
|
|
1077
1153
|
<div
|
|
1078
|
-
class="flex row
|
|
1154
|
+
class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink overlayHidden"
|
|
1079
1155
|
data-id="flex"
|
|
1080
1156
|
data-test-id="flex"
|
|
1081
1157
|
/>
|
|
1082
|
-
<
|
|
1083
|
-
|
|
1084
|
-
|
|
1158
|
+
<div
|
|
1159
|
+
class="flex row alignItems_center justifyContent_center loaderOverlay"
|
|
1160
|
+
data-id="flex"
|
|
1161
|
+
data-test-id="flex"
|
|
1162
|
+
>
|
|
1163
|
+
<span>
|
|
1164
|
+
Loading...
|
|
1165
|
+
</span>
|
|
1166
|
+
</div>
|
|
1085
1167
|
</button>
|
|
1086
1168
|
</DocumentFragment>
|
|
1087
1169
|
`;
|
|
@@ -1090,20 +1172,24 @@ exports[`Button - Component Should render with renderSuccess 1`] = `
|
|
|
1090
1172
|
<DocumentFragment>
|
|
1091
1173
|
<button
|
|
1092
1174
|
aria-busy="false"
|
|
1093
|
-
aria-disabled="false"
|
|
1094
1175
|
aria-pressed="false"
|
|
1095
|
-
|
|
1096
|
-
class="buttonReset button bg-brand-80 text-brand-filled border-brand-80 sizeMedium shapeRoundedRectangle"
|
|
1176
|
+
class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-brand-80 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantText"
|
|
1097
1177
|
type="button"
|
|
1098
1178
|
>
|
|
1099
1179
|
<div
|
|
1100
|
-
class="flex row
|
|
1180
|
+
class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink overlayHidden"
|
|
1101
1181
|
data-id="flex"
|
|
1102
1182
|
data-test-id="flex"
|
|
1103
1183
|
/>
|
|
1104
|
-
<
|
|
1105
|
-
|
|
1106
|
-
|
|
1184
|
+
<div
|
|
1185
|
+
class="flex row alignItems_center justifyContent_center successOverlay"
|
|
1186
|
+
data-id="flex"
|
|
1187
|
+
data-test-id="flex"
|
|
1188
|
+
>
|
|
1189
|
+
<span>
|
|
1190
|
+
Success!
|
|
1191
|
+
</span>
|
|
1192
|
+
</div>
|
|
1107
1193
|
</button>
|
|
1108
1194
|
</DocumentFragment>
|
|
1109
1195
|
`;
|
|
@@ -1112,14 +1198,12 @@ exports[`Button - Component Should render with selected style when isSelected pr
|
|
|
1112
1198
|
<DocumentFragment>
|
|
1113
1199
|
<button
|
|
1114
1200
|
aria-busy="false"
|
|
1115
|
-
aria-disabled="false"
|
|
1116
1201
|
aria-pressed="true"
|
|
1117
|
-
|
|
1118
|
-
class="buttonReset button sizeMedium shapeRoundedRectangle"
|
|
1202
|
+
class="buttonReset button selected:bg-brand-100 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 selected:text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled selected:border-brand-100 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantText"
|
|
1119
1203
|
type="button"
|
|
1120
1204
|
>
|
|
1121
1205
|
<div
|
|
1122
|
-
class="flex row
|
|
1206
|
+
class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
|
|
1123
1207
|
data-id="flex"
|
|
1124
1208
|
data-test-id="flex"
|
|
1125
1209
|
/>
|
|
@@ -1131,14 +1215,12 @@ exports[`Button - Component Should render with the basic set of default props 1`
|
|
|
1131
1215
|
<DocumentFragment>
|
|
1132
1216
|
<button
|
|
1133
1217
|
aria-busy="false"
|
|
1134
|
-
aria-disabled="false"
|
|
1135
1218
|
aria-pressed="false"
|
|
1136
|
-
|
|
1137
|
-
class="buttonReset button bg-brand-80 text-brand-filled border-brand-80 sizeMedium shapeRoundedRectangle"
|
|
1219
|
+
class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-brand-80 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantText"
|
|
1138
1220
|
type="button"
|
|
1139
1221
|
>
|
|
1140
1222
|
<div
|
|
1141
|
-
class="flex row
|
|
1223
|
+
class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
|
|
1142
1224
|
data-id="flex"
|
|
1143
1225
|
data-test-id="flex"
|
|
1144
1226
|
/>
|
|
@@ -1150,15 +1232,13 @@ exports[`Button - Component Should render with title attribute 1`] = `
|
|
|
1150
1232
|
<DocumentFragment>
|
|
1151
1233
|
<button
|
|
1152
1234
|
aria-busy="false"
|
|
1153
|
-
aria-disabled="false"
|
|
1154
1235
|
aria-pressed="false"
|
|
1155
|
-
|
|
1156
|
-
class="buttonReset button bg-brand-80 text-brand-filled border-brand-80 sizeMedium shapeRoundedRectangle"
|
|
1236
|
+
class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-brand-80 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantText"
|
|
1157
1237
|
data-title="Button test title"
|
|
1158
1238
|
type="button"
|
|
1159
1239
|
>
|
|
1160
1240
|
<div
|
|
1161
|
-
class="flex row
|
|
1241
|
+
class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
|
|
1162
1242
|
data-id="flex"
|
|
1163
1243
|
data-test-id="flex"
|
|
1164
1244
|
/>
|