@hopper-ui/components 1.3.13 → 1.3.15
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 +14 -0
- package/dist/Avatar/src/AnonymousAvatar.css +37 -37
- package/dist/Avatar/src/AnonymousAvatar.js +2 -2
- package/dist/Avatar/src/Avatar.css +55 -55
- package/dist/Avatar/src/Avatar.d.ts +2 -2
- package/dist/Avatar/src/Avatar.js +3 -3
- package/dist/Avatar/src/DeletedAvatar.css +37 -37
- package/dist/Avatar/src/DeletedAvatar.js +2 -2
- package/dist/Avatar/src/RichIconAvatarImage.css +37 -37
- package/dist/Avatar/src/RichIconAvatarImage.js +1 -1
- package/dist/Avatar/src/index.css +55 -55
- package/dist/Avatar/src/index.js +5 -5
- package/dist/Badge/src/Badge.css +44 -44
- package/dist/Badge/src/Badge.d.ts +3 -2
- package/dist/Badge/src/Badge.js +2 -2
- package/dist/Badge/src/FloatingBadge.css +37 -37
- package/dist/Badge/src/FloatingBadge.js +1 -1
- package/dist/Badge/src/index.css +54 -54
- package/dist/Badge/src/index.d.ts +1 -1
- package/dist/Badge/src/index.js +3 -3
- package/dist/ClearButton-DTR1qTbm.d.ts +84 -0
- package/dist/ComboBox/src/ComboBox.css +715 -715
- package/dist/ComboBox/src/ComboBox.d.ts +5 -6
- package/dist/ComboBox/src/ComboBox.js +45 -45
- package/dist/ComboBox/src/index.css +715 -715
- package/dist/ComboBox/src/index.d.ts +1 -1
- package/dist/ComboBox/src/index.js +45 -45
- package/dist/Divider/src/Divider.css +29 -29
- package/dist/Divider/src/Divider.js +1 -1
- package/dist/Divider/src/index.css +29 -29
- package/dist/Divider/src/index.js +1 -1
- package/dist/ErrorMessage/src/ErrorMessage.css +29 -29
- package/dist/ErrorMessage/src/ErrorMessage.js +2 -2
- package/dist/ErrorMessage/src/index.css +29 -29
- package/dist/ErrorMessage/src/index.js +2 -2
- package/dist/Form/src/Form.css +715 -715
- package/dist/Form/src/Form.d.ts +4 -2
- package/dist/Form/src/Form.js +45 -45
- package/dist/Form/src/FormContext.d.ts +2 -0
- package/dist/Form/src/index.css +715 -715
- package/dist/Form/src/index.d.ts +2 -0
- package/dist/Form/src/index.js +45 -45
- package/dist/HelperMessage/src/HelperMessage.css +29 -29
- package/dist/HelperMessage/src/HelperMessage.js +2 -2
- package/dist/HelperMessage/src/index.css +29 -29
- package/dist/HelperMessage/src/index.js +2 -2
- package/dist/IconList/src/IconList.css +28 -28
- package/dist/IconList/src/IconList.d.ts +2 -1
- package/dist/IconList/src/IconList.js +1 -1
- package/dist/IconList/src/IconListContext.d.ts +1 -0
- package/dist/IconList/src/index.css +28 -28
- package/dist/IconList/src/index.d.ts +1 -0
- package/dist/IconList/src/index.js +1 -1
- package/dist/Link/src/Link.css +49 -49
- package/dist/Link/src/Link.d.ts +5 -3
- package/dist/Link/src/Link.js +6 -6
- package/dist/Link/src/index.css +49 -49
- package/dist/Link/src/index.d.ts +1 -1
- package/dist/Link/src/index.js +6 -6
- package/dist/ListBox/src/ListBox.css +276 -276
- package/dist/ListBox/src/ListBox.d.ts +2 -2
- package/dist/ListBox/src/ListBox.js +10 -10
- package/dist/ListBox/src/ListBoxItem.css +264 -264
- package/dist/ListBox/src/ListBoxItem.d.ts +3 -2
- package/dist/ListBox/src/ListBoxItem.js +9 -9
- package/dist/ListBox/src/ListBoxItemSkeleton.css +34 -34
- package/dist/ListBox/src/ListBoxItemSkeleton.d.ts +7 -2
- package/dist/ListBox/src/ListBoxItemSkeleton.js +1 -1
- package/dist/ListBox/src/ListBoxItemSkeletonContext.d.ts +6 -0
- package/dist/ListBox/src/index.css +276 -276
- package/dist/ListBox/src/index.d.ts +1 -1
- package/dist/ListBox/src/index.js +10 -10
- package/dist/Select/src/Select.css +715 -715
- package/dist/Select/src/Select.d.ts +5 -6
- package/dist/Select/src/Select.js +45 -45
- package/dist/Select/src/SelectValue.css +61 -61
- package/dist/Select/src/SelectValue.d.ts +2 -12
- package/dist/Select/src/SelectValue.js +5 -5
- package/dist/Select/src/index.css +715 -715
- package/dist/Select/src/index.d.ts +1 -1
- package/dist/Select/src/index.js +45 -45
- package/dist/Spinner/src/Spinner.css +37 -37
- package/dist/Spinner/src/Spinner.d.ts +3 -2
- package/dist/Spinner/src/Spinner.js +2 -2
- package/dist/Spinner/src/index.css +37 -37
- package/dist/Spinner/src/index.d.ts +1 -1
- package/dist/Spinner/src/index.js +2 -2
- package/dist/buttons/src/Button.css +112 -112
- package/dist/buttons/src/Button.d.ts +5 -3
- package/dist/buttons/src/Button.js +7 -7
- package/dist/buttons/src/ButtonGroup.css +38 -38
- package/dist/buttons/src/ButtonGroup.d.ts +7 -2
- package/dist/buttons/src/ButtonGroup.js +1 -1
- package/dist/buttons/src/ButtonGroupContext.d.ts +4 -0
- package/dist/buttons/src/ClearButton.css +98 -98
- package/dist/buttons/src/ClearButton.d.ts +5 -14
- package/dist/buttons/src/ClearButton.js +2 -2
- package/dist/buttons/src/ClearButtonContext.d.ts +4 -2
- package/dist/buttons/src/EmbeddedButton.css +98 -98
- package/dist/buttons/src/EmbeddedButton.d.ts +7 -33
- package/dist/buttons/src/EmbeddedButton.js +1 -1
- package/dist/buttons/src/EmbeddedButtonContext.d.ts +4 -1
- package/dist/buttons/src/index.css +194 -194
- package/dist/buttons/src/index.d.ts +2 -3
- package/dist/buttons/src/index.js +10 -10
- package/dist/checkbox/src/Checkbox.css +46 -46
- package/dist/checkbox/src/Checkbox.d.ts +3 -1
- package/dist/checkbox/src/Checkbox.js +6 -6
- package/dist/checkbox/src/CheckboxContext.d.ts +2 -0
- package/dist/checkbox/src/CheckboxField.css +33 -33
- package/dist/checkbox/src/CheckboxField.d.ts +2 -2
- package/dist/checkbox/src/CheckboxField.js +1 -1
- package/dist/checkbox/src/CheckboxGroup.css +98 -98
- package/dist/checkbox/src/CheckboxGroup.d.ts +7 -4
- package/dist/checkbox/src/CheckboxGroup.js +1 -1
- package/dist/checkbox/src/CheckboxGroupContext.d.ts +3 -0
- package/dist/checkbox/src/DecorativeCheckbox.css +54 -54
- package/dist/checkbox/src/DecorativeCheckbox.js +6 -6
- package/dist/checkbox/src/index.css +98 -98
- package/dist/checkbox/src/index.d.ts +1 -0
- package/dist/checkbox/src/index.js +9 -9
- package/dist/{chunk-525E7GQA.js → chunk-2F2YVBQD.js} +1 -1
- package/dist/{chunk-WHESXP63.js → chunk-2UYFV2P4.js} +5 -5
- package/dist/{chunk-NMVERJN3.js → chunk-3MXOMHBS.js} +9 -6
- package/dist/{chunk-PIPM74ZR.js → chunk-42SR5EVF.js} +1 -1
- package/dist/{chunk-KEFMYHZ7.js → chunk-4R3M2NNX.js} +2 -2
- package/dist/{chunk-WXDO7NVW.js → chunk-4UGSRIBO.js} +1 -1
- package/dist/{chunk-WGK36YRB.js → chunk-AHLKBS2Y.js} +1 -1
- package/dist/{chunk-4SAYVVYL.js → chunk-BF7HAYOR.js} +3 -3
- package/dist/{chunk-6CMYDEZX.js → chunk-BRHWCD4E.js} +8 -8
- package/dist/{chunk-Y4DX32HX.js → chunk-DKRWFVL5.js} +2 -2
- package/dist/{chunk-2T4YF6YA.js → chunk-DSOQFDL6.js} +11 -8
- package/dist/{chunk-TWDVOXVB.js → chunk-EKKM325I.js} +1 -1
- package/dist/{chunk-VGVPCTWN.js → chunk-FCLBTCIZ.js} +2 -2
- package/dist/{chunk-POYJ4HSP.js → chunk-FM3OXN5X.js} +2 -2
- package/dist/{chunk-2YCQ3HR4.js → chunk-HEM5EQTE.js} +1 -1
- package/dist/{chunk-YEFNZ7AV.js → chunk-INPQCCZW.js} +4 -4
- package/dist/{chunk-SED3IAG6.js → chunk-J3D2R65H.js} +2 -2
- package/dist/{chunk-BNRFZJH2.js → chunk-JS73246N.js} +1 -1
- package/dist/{chunk-QOJVYB3C.js → chunk-K5YXQRB6.js} +1 -1
- package/dist/{chunk-YJR4NQEV.js → chunk-KD2BNI3B.js} +2 -2
- package/dist/{chunk-5C4FZTGZ.js → chunk-MNULBQEY.js} +3 -3
- package/dist/{chunk-2FPPOLXY.js → chunk-MSVVMR25.js} +2 -2
- package/dist/{chunk-NDNG5JZM.js → chunk-MVXDS4SV.js} +1 -1
- package/dist/{chunk-5NLYTU3H.js → chunk-NPBJ5NP3.js} +2 -2
- package/dist/{chunk-JE3XX2SJ.js → chunk-NY6LKOFP.js} +1 -1
- package/dist/{chunk-ZXLXPVHG.js → chunk-ON7TM5G4.js} +2 -2
- package/dist/{chunk-PC57XZVV.js → chunk-QODTNXC4.js} +3 -3
- package/dist/{chunk-AXOHWQ3F.js → chunk-QUZKTC4T.js} +1 -1
- package/dist/{chunk-BRXIL2PF.js → chunk-REQBEZXL.js} +1 -1
- package/dist/{chunk-XA4GSKHM.js → chunk-S6VNAA2B.js} +1 -1
- package/dist/{chunk-AHYLFUTN.js → chunk-TRUSCHM6.js} +3 -3
- package/dist/{chunk-D7DJDRJ3.js → chunk-TYD72WIE.js} +1 -1
- package/dist/{chunk-TAKV5UAB.js → chunk-U6KO3LSI.js} +1 -1
- package/dist/{chunk-7NUKUYR2.js → chunk-UMRM67P6.js} +1 -1
- package/dist/{chunk-4LGBWVIU.js → chunk-V2FUAW5S.js} +1 -1
- package/dist/{chunk-AG6PENAS.js → chunk-VKWSBS2Q.js} +2 -2
- package/dist/{chunk-RWV3WC6S.js → chunk-VXHWY73C.js} +3 -3
- package/dist/{chunk-GP6BKXPT.js → chunk-WISSHKEJ.js} +1 -1
- package/dist/{chunk-QZK76BU7.js → chunk-WLTMFA3D.js} +1 -1
- package/dist/{chunk-VNC3T7SU.js → chunk-WPA4XSMS.js} +1 -1
- package/dist/{chunk-N2LF4W2F.js → chunk-XQYDLNV6.js} +1 -1
- package/dist/{chunk-NCSZH3BX.js → chunk-XX3CTQ6Z.js} +2 -2
- package/dist/{chunk-ZVEICADL.js → chunk-YIRX2ZQU.js} +1 -1
- package/dist/{chunk-N4W5OGVT.js → chunk-Z23GBTBB.js} +3 -3
- package/dist/{chunk-L4P3WZD5.js → chunk-ZOX6BPCQ.js} +2 -2
- package/dist/index.css +715 -715
- package/dist/index.d.ts +15 -17
- package/dist/index.js +45 -45
- package/dist/inputs/src/InputGroup.css +209 -209
- package/dist/inputs/src/InputGroup.d.ts +6 -3
- package/dist/inputs/src/InputGroup.js +1 -1
- package/dist/inputs/src/InputGroupContext.d.ts +2 -0
- package/dist/inputs/src/NumberField.css +231 -231
- package/dist/inputs/src/NumberField.d.ts +4 -2
- package/dist/inputs/src/NumberField.js +7 -7
- package/dist/inputs/src/NumberFieldContext.d.ts +2 -0
- package/dist/inputs/src/PasswordField.css +219 -219
- package/dist/inputs/src/PasswordField.d.ts +6 -3
- package/dist/inputs/src/PasswordField.js +7 -7
- package/dist/inputs/src/PasswordFieldContext.d.ts +4 -1
- package/dist/inputs/src/RemainingCharacterCount.css +30 -30
- package/dist/inputs/src/RemainingCharacterCount.js +5 -5
- package/dist/inputs/src/SearchField.css +225 -225
- package/dist/inputs/src/SearchField.d.ts +6 -4
- package/dist/inputs/src/SearchField.js +8 -8
- package/dist/inputs/src/SearchFieldContext.d.ts +4 -2
- package/dist/inputs/src/TextArea.css +226 -226
- package/dist/inputs/src/TextArea.d.ts +5 -7
- package/dist/inputs/src/TextArea.js +7 -7
- package/dist/inputs/src/TextAreaContext.d.ts +2 -2
- package/dist/inputs/src/TextField.css +223 -223
- package/dist/inputs/src/TextField.d.ts +5 -7
- package/dist/inputs/src/TextField.js +10 -10
- package/dist/inputs/src/TextFieldContext.d.ts +2 -2
- package/dist/inputs/src/index.css +269 -269
- package/dist/inputs/src/index.d.ts +3 -3
- package/dist/inputs/src/index.js +14 -14
- package/dist/overlays/Popover/src/Popover.css +715 -715
- package/dist/overlays/Popover/src/Popover.d.ts +3 -5
- package/dist/overlays/Popover/src/Popover.js +45 -45
- package/dist/overlays/Popover/src/index.css +715 -715
- package/dist/overlays/Popover/src/index.d.ts +1 -1
- package/dist/overlays/Popover/src/index.js +45 -45
- package/dist/radio/src/DecorativeRadio.css +54 -54
- package/dist/radio/src/DecorativeRadio.js +6 -6
- package/dist/radio/src/Radio.css +46 -46
- package/dist/radio/src/Radio.d.ts +3 -1
- package/dist/radio/src/Radio.js +6 -6
- package/dist/radio/src/RadioContext.d.ts +2 -0
- package/dist/radio/src/RadioField.css +33 -33
- package/dist/radio/src/RadioField.d.ts +2 -2
- package/dist/radio/src/RadioField.js +1 -1
- package/dist/radio/src/RadioGroup.css +98 -98
- package/dist/radio/src/RadioGroup.d.ts +7 -4
- package/dist/radio/src/RadioGroup.js +1 -1
- package/dist/radio/src/RadioGroupContext.d.ts +3 -0
- package/dist/radio/src/index.css +98 -98
- package/dist/radio/src/index.d.ts +1 -0
- package/dist/radio/src/index.js +9 -9
- package/dist/switch/src/Switch.css +43 -43
- package/dist/switch/src/Switch.d.ts +3 -1
- package/dist/switch/src/Switch.js +6 -6
- package/dist/switch/src/SwitchContext.d.ts +2 -0
- package/dist/switch/src/SwitchField.css +33 -33
- package/dist/switch/src/SwitchField.d.ts +2 -2
- package/dist/switch/src/SwitchField.js +1 -1
- package/dist/switch/src/index.css +49 -49
- package/dist/switch/src/index.js +7 -7
- package/dist/tag/src/Tag.css +337 -337
- package/dist/tag/src/Tag.d.ts +5 -44
- package/dist/tag/src/Tag.js +9 -9
- package/dist/tag/src/TagContext.d.ts +1 -3
- package/dist/tag/src/TagGroup.css +37 -37
- package/dist/tag/src/TagGroup.d.ts +7 -3
- package/dist/tag/src/TagGroup.js +1 -1
- package/dist/tag/src/TagGroupContext.d.ts +4 -0
- package/dist/tag/src/TagList.css +27 -27
- package/dist/tag/src/index.css +347 -347
- package/dist/tag/src/index.d.ts +1 -3
- package/dist/tag/src/index.js +10 -10
- package/dist/typography/Heading/src/Heading.css +27 -27
- package/dist/typography/Heading/src/Heading.d.ts +3 -2
- package/dist/typography/Heading/src/Heading.js +1 -1
- package/dist/typography/Heading/src/index.css +27 -27
- package/dist/typography/Heading/src/index.d.ts +1 -1
- package/dist/typography/Heading/src/index.js +1 -1
- package/dist/typography/Label/src/Label.css +27 -27
- package/dist/typography/Label/src/Label.d.ts +3 -1
- package/dist/typography/Label/src/Label.js +1 -1
- package/dist/typography/Label/src/LabelContext.d.ts +2 -0
- package/dist/typography/Label/src/index.css +27 -27
- package/dist/typography/Label/src/index.d.ts +2 -0
- package/dist/typography/Label/src/index.js +1 -1
- package/dist/typography/OverlineText/src/OverlineText.css +27 -27
- package/dist/typography/OverlineText/src/OverlineText.js +1 -1
- package/dist/typography/OverlineText/src/index.css +27 -27
- package/dist/typography/OverlineText/src/index.js +1 -1
- package/dist/typography/Text/src/Text.css +27 -27
- package/dist/typography/Text/src/Text.d.ts +3 -2
- package/dist/typography/Text/src/Text.js +1 -1
- package/dist/typography/Text/src/index.css +27 -27
- package/dist/typography/Text/src/index.d.ts +1 -1
- package/dist/typography/Text/src/index.js +1 -1
- package/dist/utils/src/EnsureTextWrapper.css +27 -27
- package/dist/utils/src/EnsureTextWrapper.js +5 -5
- package/dist/utils/src/index.css +27 -27
- package/dist/utils/src/index.d.ts +1 -1
- package/dist/utils/src/index.js +5 -5
- package/dist/utils/src/types.d.ts +5 -1
- package/package.json +4 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/typography/Heading/src/Heading.module.css/#css-module-data */
|
|
2
|
-
.Heading-module__hop-
|
|
2
|
+
.Heading-module__hop-Heading___7E7Pr {
|
|
3
3
|
--hop-Heading-xs-font-size: var(--hop-heading-xs-font-size);
|
|
4
4
|
--hop-Heading-xs-font-family: var(--hop-heading-xs-font-family);
|
|
5
5
|
--hop-Heading-xs-font-weight: var(--hop-heading-xs-font-weight);
|
|
@@ -33,50 +33,50 @@
|
|
|
33
33
|
--hop-Heading-inherit-size-font-weight: inherit;
|
|
34
34
|
--hop-Heading-inherit-size-line-height: inherit;
|
|
35
35
|
}
|
|
36
|
-
:where(.Heading-module__hop-
|
|
36
|
+
:where(.Heading-module__hop-Heading___7E7Pr) {
|
|
37
37
|
margin: 0;
|
|
38
38
|
font-family: var(--font-family);
|
|
39
39
|
font-size: var(--font-size);
|
|
40
40
|
font-weight: var(--font-weight);
|
|
41
41
|
line-height: var(--line-height);
|
|
42
42
|
}
|
|
43
|
-
:where(.Heading-module__hop-Heading--
|
|
43
|
+
:where(.Heading-module__hop-Heading--xs___sfcV4) {
|
|
44
44
|
--font-size: var(--hop-Heading-xs-font-size);
|
|
45
45
|
--font-family: var(--hop-Heading-xs-font-family);
|
|
46
46
|
--font-weight: var(--hop-Heading-xs-font-weight);
|
|
47
47
|
--line-height: var(--hop-Heading-xs-line-height);
|
|
48
48
|
}
|
|
49
|
-
:where(.Heading-module__hop-Heading--
|
|
49
|
+
:where(.Heading-module__hop-Heading--sm___B7yyb) {
|
|
50
50
|
--font-size: var(--hop-Heading-sm-font-size);
|
|
51
51
|
--font-family: var(--hop-Heading-sm-font-family);
|
|
52
52
|
--font-weight: var(--hop-Heading-sm-font-weight);
|
|
53
53
|
--line-height: var(--hop-Heading-sm-line-height);
|
|
54
54
|
}
|
|
55
|
-
:where(.Heading-module__hop-Heading--
|
|
55
|
+
:where(.Heading-module__hop-Heading--md___4kKyY) {
|
|
56
56
|
--font-size: var(--hop-Heading-md-font-size);
|
|
57
57
|
--font-family: var(--hop-Heading-md-font-family);
|
|
58
58
|
--font-weight: var(--hop-Heading-md-font-weight);
|
|
59
59
|
--line-height: var(--hop-Heading-md-line-height);
|
|
60
60
|
}
|
|
61
|
-
:where(.Heading-module__hop-Heading--
|
|
61
|
+
:where(.Heading-module__hop-Heading--lg___wWh-I) {
|
|
62
62
|
--font-size: var(--hop-Heading-lg-font-size);
|
|
63
63
|
--font-family: var(--hop-Heading-lg-font-family);
|
|
64
64
|
--font-weight: var(--hop-Heading-lg-font-weight);
|
|
65
65
|
--line-height: var(--hop-Heading-lg-line-height);
|
|
66
66
|
}
|
|
67
|
-
:where(.Heading-module__hop-Heading--
|
|
67
|
+
:where(.Heading-module__hop-Heading--xl___w6IwO) {
|
|
68
68
|
--font-size: var(--hop-Heading-xl-font-size);
|
|
69
69
|
--font-family: var(--hop-Heading-xl-font-family);
|
|
70
70
|
--font-weight: var(--hop-Heading-xl-font-weight);
|
|
71
71
|
--line-height: var(--hop-Heading-xl-line-height);
|
|
72
72
|
}
|
|
73
|
-
:where(.Heading-module__hop-Heading--
|
|
73
|
+
:where(.Heading-module__hop-Heading--2xl___uf1ph) {
|
|
74
74
|
--font-size: var(--hop-Heading-2xl-font-size);
|
|
75
75
|
--font-family: var(--hop-Heading-2xl-font-family);
|
|
76
76
|
--font-weight: var(--hop-Heading-2xl-font-weight);
|
|
77
77
|
--line-height: var(--hop-Heading-2xl-line-height);
|
|
78
78
|
}
|
|
79
|
-
:where(.Heading-module__hop-Heading--
|
|
79
|
+
:where(.Heading-module__hop-Heading--3xl___sJOSZ) {
|
|
80
80
|
--font-size: var(--hop-Heading-3xl-font-size);
|
|
81
81
|
--font-family: var(--hop-Heading-3xl-font-family);
|
|
82
82
|
--font-weight: var(--hop-Heading-3xl-font-weight);
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/typography/Text/src/Text.module.css/#css-module-data */
|
|
87
|
-
.Text-module__hop-
|
|
87
|
+
.Text-module__hop-Text___N8grK {
|
|
88
88
|
--hop-Text-xs-font-size: var(--hop-body-xs-font-size);
|
|
89
89
|
--hop-Text-xs-font-family: var(--hop-body-xs-font-family);
|
|
90
90
|
--hop-Text-xs-font-weight: var(--hop-body-xs-font-weight);
|
|
@@ -114,49 +114,49 @@
|
|
|
114
114
|
--hop-Text-inherit-size-font-weight: inherit;
|
|
115
115
|
--hop-Text-inherit-size-line-height: inherit;
|
|
116
116
|
}
|
|
117
|
-
:where(.Text-module__hop-
|
|
117
|
+
:where(.Text-module__hop-Text___N8grK) {
|
|
118
118
|
font-family: var(--font-family);
|
|
119
119
|
font-size: var(--font-size);
|
|
120
120
|
font-weight: var(--font-weight);
|
|
121
121
|
line-height: var(--line-height);
|
|
122
122
|
}
|
|
123
|
-
:where(.Text-module__hop-Text--
|
|
123
|
+
:where(.Text-module__hop-Text--xs___he69L) {
|
|
124
124
|
--font-size: var(--hop-Text-xs-font-size);
|
|
125
125
|
--font-family: var(--hop-Text-xs-font-family);
|
|
126
126
|
--font-weight: var(--hop-Text-xs-font-weight);
|
|
127
127
|
--line-height: var(--hop-Text-xs-line-height);
|
|
128
128
|
}
|
|
129
|
-
:where(.Text-module__hop-Text--
|
|
129
|
+
:where(.Text-module__hop-Text--sm___z2W9l) {
|
|
130
130
|
--font-size: var(--hop-Text-sm-font-size);
|
|
131
131
|
--font-family: var(--hop-Text-sm-font-family);
|
|
132
132
|
--font-weight: var(--hop-Text-sm-font-weight);
|
|
133
133
|
--line-height: var(--hop-Text-sm-line-height);
|
|
134
134
|
}
|
|
135
|
-
:where(.Text-module__hop-Text--
|
|
135
|
+
:where(.Text-module__hop-Text--md___-jclu) {
|
|
136
136
|
--font-size: var(--hop-Text-md-font-size);
|
|
137
137
|
--font-family: var(--hop-Text-md-font-family);
|
|
138
138
|
--font-weight: var(--hop-Text-md-font-weight);
|
|
139
139
|
--line-height: var(--hop-Text-md-line-height);
|
|
140
140
|
}
|
|
141
|
-
:where(.Text-module__hop-Text--
|
|
141
|
+
:where(.Text-module__hop-Text--lg___WCPge) {
|
|
142
142
|
--font-size: var(--hop-Text-lg-font-size);
|
|
143
143
|
--font-family: var(--hop-Text-lg-font-family);
|
|
144
144
|
--font-weight: var(--hop-Text-lg-font-weight);
|
|
145
145
|
--line-height: var(--hop-Text-lg-line-height);
|
|
146
146
|
}
|
|
147
|
-
:where(.Text-module__hop-Text--
|
|
147
|
+
:where(.Text-module__hop-Text--xl___nkxvu) {
|
|
148
148
|
--font-size: var(--hop-Text-xl-font-size);
|
|
149
149
|
--font-family: var(--hop-Text-xl-font-family);
|
|
150
150
|
--font-weight: var(--hop-Text-xl-font-weight);
|
|
151
151
|
--line-height: var(--hop-Text-xl-line-height);
|
|
152
152
|
}
|
|
153
|
-
:where(.Text-module__hop-Text--
|
|
153
|
+
:where(.Text-module__hop-Text--2xl___OdutS) {
|
|
154
154
|
--font-size: var(--hop-Text-2xl-font-size);
|
|
155
155
|
--font-family: var(--hop-Text-2xl-font-family);
|
|
156
156
|
--font-weight: var(--hop-Text-2xl-font-weight);
|
|
157
157
|
--line-height: var(--hop-Text-2xl-line-height);
|
|
158
158
|
}
|
|
159
|
-
:where(.Text-module__hop-Text--
|
|
159
|
+
:where(.Text-module__hop-Text--inherit___HrcZh) {
|
|
160
160
|
--font-size: var(--hop-Text-inherit-size-font-size);
|
|
161
161
|
--font-family: var(--hop-Text-inherit-size-font-family);
|
|
162
162
|
--font-weight: var(--hop-Text-inherit-size-font-weight);
|
|
@@ -164,7 +164,7 @@
|
|
|
164
164
|
}
|
|
165
165
|
|
|
166
166
|
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/typography/OverlineText/src/OverlineText.module.css/#css-module-data */
|
|
167
|
-
:where(.OverlineText-module__hop-
|
|
167
|
+
:where(.OverlineText-module__hop-OverlineText___gvlgy) {
|
|
168
168
|
--hop-OverlineText-font-family: var(--hop-overline-font-family);
|
|
169
169
|
--hop-OverlineText-font-size: var(--hop-overline-font-size);
|
|
170
170
|
--hop-OverlineText-font-weight: var(--hop-overline-font-weight);
|
|
@@ -188,45 +188,45 @@
|
|
|
188
188
|
text-transform: uppercase;
|
|
189
189
|
letter-spacing: var(--letter-spacing);
|
|
190
190
|
}
|
|
191
|
-
.OverlineText-module__hop-
|
|
191
|
+
.OverlineText-module__hop-OverlineText__text___0W6Pv {
|
|
192
192
|
box-sizing: border-box;
|
|
193
193
|
}
|
|
194
|
-
.OverlineText-module__hop-
|
|
195
|
-
.OverlineText-module__hop-
|
|
194
|
+
.OverlineText-module__hop-OverlineText__text___0W6Pv::before,
|
|
195
|
+
.OverlineText-module__hop-OverlineText__text___0W6Pv::after {
|
|
196
196
|
content: "";
|
|
197
197
|
display: block;
|
|
198
198
|
box-sizing: border-box;
|
|
199
199
|
inline-size: 0;
|
|
200
200
|
block-size: 0;
|
|
201
201
|
}
|
|
202
|
-
.OverlineText-module__hop-
|
|
202
|
+
.OverlineText-module__hop-OverlineText__text___0W6Pv::before {
|
|
203
203
|
margin-block-end: var(--bottom-offset);
|
|
204
204
|
}
|
|
205
|
-
.OverlineText-module__hop-
|
|
205
|
+
.OverlineText-module__hop-OverlineText__text___0W6Pv::after {
|
|
206
206
|
margin-block-start: var(--top-offset);
|
|
207
207
|
}
|
|
208
208
|
|
|
209
209
|
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/typography/Label/src/Label.module.css/#css-module-data */
|
|
210
|
-
.Label-module__hop-
|
|
210
|
+
.Label-module__hop-Label___n46Lr {
|
|
211
211
|
--hop-Label-font-size: var(--hop-heading-xs-font-size);
|
|
212
212
|
--hop-Label-font-family: var(--hop-heading-xs-font-family);
|
|
213
213
|
--hop-Label-font-weight: var(--hop-heading-xs-font-weight);
|
|
214
214
|
--hop-Label-line-height: var(--hop-heading-xs-line-height);
|
|
215
215
|
--hop-Label-color: var(--hop-neutral-text-weak);
|
|
216
216
|
}
|
|
217
|
-
:where(.Label-module__hop-
|
|
217
|
+
:where(.Label-module__hop-Label___n46Lr) {
|
|
218
218
|
font-family: var(--hop-Label-font-family);
|
|
219
219
|
font-size: var(--hop-Label-font-size);
|
|
220
220
|
font-weight: var(--hop-Label-font-weight);
|
|
221
221
|
line-height: var(--hop-Label-line-height);
|
|
222
222
|
color: var(--hop-Label-color);
|
|
223
223
|
}
|
|
224
|
-
:where(.Label-module__hop-
|
|
224
|
+
:where(.Label-module__hop-Label__indicator___-saZ-) {
|
|
225
225
|
padding-inline-start: var(--hop-space-20);
|
|
226
226
|
}
|
|
227
227
|
|
|
228
228
|
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/IconList/src/IconList.module.css/#css-module-data */
|
|
229
|
-
.IconList-module__hop-
|
|
229
|
+
.IconList-module__hop-IconList___sohOX {
|
|
230
230
|
--hop-IconList-gap: var(--hop-space-inline-xs);
|
|
231
231
|
display: flex;
|
|
232
232
|
flex-wrap: wrap;
|
|
@@ -235,7 +235,7 @@
|
|
|
235
235
|
}
|
|
236
236
|
|
|
237
237
|
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/Spinner/src/Spinner.module.css/#css-module-data */
|
|
238
|
-
@keyframes Spinner-
|
|
238
|
+
@keyframes Spinner-module__spin___5ZMLZ {
|
|
239
239
|
0% {
|
|
240
240
|
transform: rotate(0deg);
|
|
241
241
|
}
|
|
@@ -243,7 +243,7 @@
|
|
|
243
243
|
transform: rotate(360deg);
|
|
244
244
|
}
|
|
245
245
|
}
|
|
246
|
-
.Spinner-module__hop-
|
|
246
|
+
.Spinner-module__hop-Spinner___MwDXH {
|
|
247
247
|
--hop-Spinner-border-radius: var(--hop-shape-circle);
|
|
248
248
|
--hop-Spinner-sm-wheel-size: 1rem;
|
|
249
249
|
--hop-Spinner-md-wheel-size: 1.25rem;
|
|
@@ -251,7 +251,7 @@
|
|
|
251
251
|
--hop-Spinner-track-width: 0.125rem;
|
|
252
252
|
--hop-Spinner-track-opacity: 0.2;
|
|
253
253
|
--hop-Spinner-track-border: var(--hop-Spinner-track-width) solid currentcolor;
|
|
254
|
-
--hop-Spinner-fill-animation: Spinner-
|
|
254
|
+
--hop-Spinner-fill-animation: Spinner-module__spin___5ZMLZ .8s infinite linear;
|
|
255
255
|
--hop-Spinner-fill-animation-reduced-motion-duration: 2s;
|
|
256
256
|
--hop-Spinner-fill-border: var(--hop-Spinner-track-width) solid transparent;
|
|
257
257
|
--hop-Spinner-fill-border-inline-start: var(--hop-Spinner-track-width) solid currentcolor;
|
|
@@ -262,19 +262,19 @@
|
|
|
262
262
|
align-items: center;
|
|
263
263
|
box-sizing: border-box;
|
|
264
264
|
}
|
|
265
|
-
.Spinner-module__hop-Spinner--
|
|
265
|
+
.Spinner-module__hop-Spinner--sm___6HAHH {
|
|
266
266
|
--width: var(--hop-Spinner-sm-wheel-size);
|
|
267
267
|
--height: var(--hop-Spinner-sm-wheel-size);
|
|
268
268
|
}
|
|
269
|
-
.Spinner-module__hop-Spinner--
|
|
269
|
+
.Spinner-module__hop-Spinner--md___fpYWn {
|
|
270
270
|
--width: var(--hop-Spinner-md-wheel-size);
|
|
271
271
|
--height: var(--hop-Spinner-md-wheel-size);
|
|
272
272
|
}
|
|
273
|
-
.Spinner-module__hop-Spinner--
|
|
273
|
+
.Spinner-module__hop-Spinner--lg___R-ALj {
|
|
274
274
|
--width: var(--hop-Spinner-lg-wheel-size);
|
|
275
275
|
--height: var(--hop-Spinner-lg-wheel-size);
|
|
276
276
|
}
|
|
277
|
-
.Spinner-module__hop-
|
|
277
|
+
.Spinner-module__hop-Spinner__track___jL7TG {
|
|
278
278
|
grid-area: spinner;
|
|
279
279
|
box-sizing: border-box;
|
|
280
280
|
inline-size: var(--width, var(--hop-Spinner-md-wheel-size));
|
|
@@ -283,7 +283,7 @@
|
|
|
283
283
|
border: var(--hop-Spinner-track-border);
|
|
284
284
|
border-radius: var(--hop-Spinner-border-radius);
|
|
285
285
|
}
|
|
286
|
-
.Spinner-module__hop-
|
|
286
|
+
.Spinner-module__hop-Spinner__fill___BTgP4 {
|
|
287
287
|
grid-area: spinner;
|
|
288
288
|
box-sizing: border-box;
|
|
289
289
|
inline-size: var(--width, var(--hop-Spinner-md-wheel-size));
|
|
@@ -294,17 +294,17 @@
|
|
|
294
294
|
animation: var(--hop-Spinner-fill-animation);
|
|
295
295
|
}
|
|
296
296
|
@media (prefers-reduced-motion: reduce) {
|
|
297
|
-
.Spinner-module__hop-
|
|
297
|
+
.Spinner-module__hop-Spinner__fill___BTgP4 {
|
|
298
298
|
animation-duration: var(--hop-Spinner-fill-animation-reduced-motion-duration);
|
|
299
299
|
}
|
|
300
300
|
}
|
|
301
|
-
.Spinner-module__hop-
|
|
301
|
+
.Spinner-module__hop-Spinner__label___OJj-D {
|
|
302
302
|
grid-area: label;
|
|
303
303
|
margin-inline-start: var(--hop-Spinner-label-margin-inline-start);
|
|
304
304
|
}
|
|
305
305
|
|
|
306
306
|
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/buttons/src/Button.module.css/#css-module-data */
|
|
307
|
-
.Button-module__hop-
|
|
307
|
+
.Button-module__hop-Button___3R65p {
|
|
308
308
|
--hop-Button-border-radius: var(--hop-shape-rounded-md);
|
|
309
309
|
--hop-Button-focus-ring-color: var(--hop-primary-border-focus);
|
|
310
310
|
--hop-Button-icon-only-padding: 0;
|
|
@@ -463,272 +463,272 @@
|
|
|
463
463
|
background-color var(--hop-easing-duration-2) var(--hop-easing-productive),
|
|
464
464
|
border var(--hop-easing-duration-2) var(--hop-easing-productive);
|
|
465
465
|
}
|
|
466
|
-
.Button-module__hop-
|
|
466
|
+
.Button-module__hop-Button___3R65p[data-focus-visible] {
|
|
467
467
|
outline: 0.125rem solid var(--hop-Button-focus-ring-color);
|
|
468
468
|
}
|
|
469
|
-
.Button-module__hop-Button--icon-
|
|
469
|
+
.Button-module__hop-Button--icon-only___vmU4h {
|
|
470
470
|
--padding-block: var(--hop-Button-icon-only-padding);
|
|
471
471
|
--padding-inline: var(--hop-Button-icon-only-padding);
|
|
472
472
|
column-gap: 0;
|
|
473
473
|
aspect-ratio: 1;
|
|
474
474
|
}
|
|
475
|
-
.Button-module__hop-
|
|
476
|
-
.Button-module__hop-
|
|
475
|
+
.Button-module__hop-Button___3R65p[data-disabled],
|
|
476
|
+
.Button-module__hop-Button___3R65p[data-loading] {
|
|
477
477
|
cursor: not-allowed;
|
|
478
478
|
}
|
|
479
|
-
.Button-module__hop-Button--
|
|
479
|
+
.Button-module__hop-Button--fluid___I-DqC {
|
|
480
480
|
--inline-size: 100%;
|
|
481
481
|
}
|
|
482
|
-
.Button-module__hop-Button--
|
|
482
|
+
.Button-module__hop-Button--sm___w7vdk {
|
|
483
483
|
--block-size: var(--hop-Button-sm-height);
|
|
484
484
|
}
|
|
485
|
-
.Button-module__hop-Button--
|
|
485
|
+
.Button-module__hop-Button--primary___sFO6q.Button-module__hop-Button--sm___w7vdk:not(.Button-module__hop-Button--icon-only___vmU4h) {
|
|
486
486
|
--padding-inline: var(--hop-Button-primary-sm-padding-x);
|
|
487
487
|
--padding-block: var(--hop-Button-primary-sm-padding-y);
|
|
488
488
|
}
|
|
489
|
-
.Button-module__hop-Button--
|
|
489
|
+
.Button-module__hop-Button--primary___sFO6q.Button-module__hop-Button--md___4gwEm:not(.Button-module__hop-Button--icon-only___vmU4h) {
|
|
490
490
|
--padding-inline: var(--hop-Button-primary-md-padding-x);
|
|
491
491
|
--padding-block: var(--hop-Button-primary-md-padding-y);
|
|
492
492
|
}
|
|
493
|
-
.Button-module__hop-Button--
|
|
493
|
+
.Button-module__hop-Button--secondary___3yUD8.Button-module__hop-Button--md___4gwEm:not(.Button-module__hop-Button--icon-only___vmU4h) {
|
|
494
494
|
--padding-inline: var(--hop-Button-secondary-md-padding-x);
|
|
495
495
|
--padding-block: var(--hop-Button-secondary-md-padding-y);
|
|
496
496
|
}
|
|
497
|
-
.Button-module__hop-Button--
|
|
497
|
+
.Button-module__hop-Button--secondary___3yUD8.Button-module__hop-Button--sm___w7vdk:not(.Button-module__hop-Button--icon-only___vmU4h) {
|
|
498
498
|
--padding-inline: var(--hop-Button-secondary-sm-padding-x);
|
|
499
499
|
--padding-block: var(--hop-Button-secondary-sm-padding-y);
|
|
500
500
|
}
|
|
501
|
-
.Button-module__hop-Button--
|
|
501
|
+
.Button-module__hop-Button--upsell___jrkm7.Button-module__hop-Button--md___4gwEm:not(.Button-module__hop-Button--icon-only___vmU4h) {
|
|
502
502
|
--padding-inline: var(--hop-Button-upsell-md-padding-x);
|
|
503
503
|
--padding-block: var(--hop-Button-upsell-md-padding-y);
|
|
504
504
|
}
|
|
505
|
-
.Button-module__hop-Button--
|
|
505
|
+
.Button-module__hop-Button--upsell___jrkm7.Button-module__hop-Button--sm___w7vdk:not(.Button-module__hop-Button--icon-only___vmU4h) {
|
|
506
506
|
--padding-inline: var(--hop-Button-upsell-sm-padding-x);
|
|
507
507
|
--padding-block: var(--hop-Button-upsell-sm-padding-y);
|
|
508
508
|
}
|
|
509
|
-
.Button-module__hop-Button--
|
|
509
|
+
.Button-module__hop-Button--danger___doULV.Button-module__hop-Button--md___4gwEm:not(.Button-module__hop-Button--icon-only___vmU4h) {
|
|
510
510
|
--padding-inline: var(--hop-Button-danger-md-padding-x);
|
|
511
511
|
--padding-block: var(--hop-Button-danger-md-padding-y);
|
|
512
512
|
}
|
|
513
|
-
.Button-module__hop-Button--
|
|
513
|
+
.Button-module__hop-Button--danger___doULV.Button-module__hop-Button--sm___w7vdk:not(.Button-module__hop-Button--icon-only___vmU4h) {
|
|
514
514
|
--padding-inline: var(--hop-Button-danger-sm-padding-x);
|
|
515
515
|
--padding-block: var(--hop-Button-danger-sm-padding-y);
|
|
516
516
|
}
|
|
517
|
-
.Button-module__hop-Button--ghost-
|
|
517
|
+
.Button-module__hop-Button--ghost-danger___kmhtH.Button-module__hop-Button--md___4gwEm:not(.Button-module__hop-Button--icon-only___vmU4h) {
|
|
518
518
|
--padding-inline: var(--hop-Button-ghost-danger-md-padding-x);
|
|
519
519
|
--padding-block: var(--hop-Button-ghost-danger-md-padding-y);
|
|
520
520
|
}
|
|
521
|
-
.Button-module__hop-Button--ghost-
|
|
521
|
+
.Button-module__hop-Button--ghost-danger___kmhtH.Button-module__hop-Button--sm___w7vdk:not(.Button-module__hop-Button--icon-only___vmU4h) {
|
|
522
522
|
--padding-inline: var(--hop-Button-ghost-danger-sm-padding-x);
|
|
523
523
|
--padding-block: var(--hop-Button-ghost-danger-sm-padding-y);
|
|
524
524
|
}
|
|
525
|
-
.Button-module__hop-Button--ghost-
|
|
525
|
+
.Button-module__hop-Button--ghost-secondary___3LQQY.Button-module__hop-Button--md___4gwEm:not(.Button-module__hop-Button--icon-only___vmU4h) {
|
|
526
526
|
--padding-inline: var(--hop-Button-ghost-secondary-md-padding-x);
|
|
527
527
|
--padding-block: var(--hop-Button-ghost-secondary-md-padding-y);
|
|
528
528
|
}
|
|
529
|
-
.Button-module__hop-Button--ghost-
|
|
529
|
+
.Button-module__hop-Button--ghost-secondary___3LQQY.Button-module__hop-Button--sm___w7vdk:not(.Button-module__hop-Button--icon-only___vmU4h) {
|
|
530
530
|
--padding-inline: var(--hop-Button-ghost-secondary-sm-padding-x);
|
|
531
531
|
--padding-block: var(--hop-Button-ghost-secondary-sm-padding-y);
|
|
532
532
|
}
|
|
533
|
-
.Button-module__hop-Button--ghost-
|
|
533
|
+
.Button-module__hop-Button--ghost-primary___emXc1.Button-module__hop-Button--md___4gwEm:not(.Button-module__hop-Button--icon-only___vmU4h) {
|
|
534
534
|
--padding-inline: var(--hop-Button-ghost-primary-md-padding-x);
|
|
535
535
|
--padding-block: var(--hop-Button-ghost-primary-md-padding-y);
|
|
536
536
|
}
|
|
537
|
-
.Button-module__hop-Button--ghost-
|
|
537
|
+
.Button-module__hop-Button--ghost-primary___emXc1.Button-module__hop-Button--sm___w7vdk:not(.Button-module__hop-Button--icon-only___vmU4h) {
|
|
538
538
|
--padding-inline: var(--hop-Button-ghost-primary-sm-padding-x);
|
|
539
539
|
--padding-block: var(--hop-Button-ghost-primary-sm-padding-y);
|
|
540
540
|
}
|
|
541
|
-
.Button-module__hop-Button--
|
|
541
|
+
.Button-module__hop-Button--primary___sFO6q {
|
|
542
542
|
--background-color: var(--hop-Button-primary-background-color);
|
|
543
543
|
--color: var(--hop-Button-primary-color);
|
|
544
544
|
--border: var(--hop-Button-primary-border);
|
|
545
545
|
--spinner-color: var(--hop-Button-primary-spinner-color);
|
|
546
546
|
}
|
|
547
|
-
.Button-module__hop-Button--
|
|
547
|
+
.Button-module__hop-Button--primary___sFO6q[data-disabled]:not([data-loading]) {
|
|
548
548
|
--background-color: var(--hop-Button-primary-background-color-disabled);
|
|
549
549
|
--color: var(--hop-Button-primary-color-disabled);
|
|
550
550
|
--border: var(--hop-Button-primary-border-disabled);
|
|
551
551
|
}
|
|
552
|
-
.Button-module__hop-Button--
|
|
553
|
-
.Button-module__hop-Button--
|
|
552
|
+
.Button-module__hop-Button--primary___sFO6q[data-hovered]:not([data-disabled], [data-loading]),
|
|
553
|
+
.Button-module__hop-Button--primary___sFO6q[data-focus-visible]:not([data-disabled], [data-loading]) {
|
|
554
554
|
--background-color: var(--hop-Button-primary-background-color-hover);
|
|
555
555
|
--color: var(--hop-Button-primary-color-hover);
|
|
556
556
|
--border: var(--hop-Button-primary-border-hover);
|
|
557
557
|
}
|
|
558
|
-
.Button-module__hop-Button--
|
|
558
|
+
.Button-module__hop-Button--primary___sFO6q[data-pressed]:not([data-loading]) {
|
|
559
559
|
--background-color: var(--hop-Button-primary-background-color-pressed);
|
|
560
560
|
--color: var(--hop-Button-primary-color-pressed);
|
|
561
561
|
--border: var(--hop-Button-primary-border-pressed);
|
|
562
562
|
}
|
|
563
|
-
.Button-module__hop-Button--
|
|
563
|
+
.Button-module__hop-Button--secondary___3yUD8 {
|
|
564
564
|
--background-color: var(--hop-Button-secondary-background-color);
|
|
565
565
|
--color: var(--hop-Button-secondary-color);
|
|
566
566
|
--border: var(--hop-Button-secondary-border);
|
|
567
567
|
--spinner-color: var(--hop-Button-secondary-spinner-color);
|
|
568
568
|
}
|
|
569
|
-
.Button-module__hop-Button--
|
|
569
|
+
.Button-module__hop-Button--secondary___3yUD8[data-disabled]:not([data-loading]) {
|
|
570
570
|
--background-color: var(--hop-Button-secondary-background-color-disabled);
|
|
571
571
|
--color: var(--hop-Button-secondary-color-disabled);
|
|
572
572
|
--border: var(--hop-Button-secondary-border-disabled);
|
|
573
573
|
}
|
|
574
|
-
.Button-module__hop-Button--
|
|
575
|
-
.Button-module__hop-Button--
|
|
574
|
+
.Button-module__hop-Button--secondary___3yUD8[data-hovered]:not([data-disabled], [data-loading]),
|
|
575
|
+
.Button-module__hop-Button--secondary___3yUD8[data-focus-visible]:not([data-disabled], [data-loading]) {
|
|
576
576
|
--background-color: var(--hop-Button-secondary-background-color-hover);
|
|
577
577
|
--color: var(--hop-Button-secondary-color-hover);
|
|
578
578
|
--border: var(--hop-Button-secondary-border-hover);
|
|
579
579
|
}
|
|
580
|
-
.Button-module__hop-Button--
|
|
580
|
+
.Button-module__hop-Button--secondary___3yUD8[data-pressed]:not([data-loading]) {
|
|
581
581
|
--background-color: var(--hop-Button-secondary-background-color-pressed);
|
|
582
582
|
--color: var(--hop-Button-secondary-color-pressed);
|
|
583
583
|
--border: var(--hop-Button-secondary-border-pressed);
|
|
584
584
|
}
|
|
585
|
-
.Button-module__hop-Button--
|
|
585
|
+
.Button-module__hop-Button--upsell___jrkm7 {
|
|
586
586
|
--background-color: var(--hop-Button-upsell-background-color);
|
|
587
587
|
--color: var(--hop-Button-upsell-color);
|
|
588
588
|
--border: var(--hop-Button-upsell-border);
|
|
589
589
|
--spinner-color: var(--hop-Button-upsell-spinner-color);
|
|
590
590
|
}
|
|
591
|
-
.Button-module__hop-Button--
|
|
591
|
+
.Button-module__hop-Button--upsell___jrkm7[data-disabled]:not([data-loading]) {
|
|
592
592
|
--background-color: var(--hop-Button-upsell-background-color-disabled);
|
|
593
593
|
--color: var(--hop-Button-upsell-color-disabled);
|
|
594
594
|
--border: var(--hop-Button-upsell-border-disabled);
|
|
595
595
|
}
|
|
596
|
-
.Button-module__hop-Button--
|
|
597
|
-
.Button-module__hop-Button--
|
|
596
|
+
.Button-module__hop-Button--upsell___jrkm7[data-hovered]:not([data-disabled], [data-loading]),
|
|
597
|
+
.Button-module__hop-Button--upsell___jrkm7[data-focus-visible]:not([data-disabled], [data-loading]) {
|
|
598
598
|
--background-color: var(--hop-Button-upsell-background-color-hover);
|
|
599
599
|
--color: var(--hop-Button-upsell-color-hover);
|
|
600
600
|
--border: var(--hop-Button-upsell-border-hover);
|
|
601
601
|
}
|
|
602
|
-
.Button-module__hop-Button--
|
|
602
|
+
.Button-module__hop-Button--upsell___jrkm7[data-pressed]:not([data-loading]) {
|
|
603
603
|
--background-color: var(--hop-Button-upsell-background-color-pressed);
|
|
604
604
|
--color: var(--hop-Button-upsell-color-pressed);
|
|
605
605
|
--border: var(--hop-Button-upsell-border-pressed);
|
|
606
606
|
}
|
|
607
|
-
.Button-module__hop-Button--
|
|
607
|
+
.Button-module__hop-Button--danger___doULV {
|
|
608
608
|
--background-color: var(--hop-Button-danger-background-color);
|
|
609
609
|
--color: var(--hop-Button-danger-color);
|
|
610
610
|
--border: var(--hop-Button-danger-border);
|
|
611
611
|
--spinner-color: var(--hop-Button-danger-spinner-color);
|
|
612
612
|
}
|
|
613
|
-
.Button-module__hop-Button--
|
|
613
|
+
.Button-module__hop-Button--danger___doULV[data-disabled]:not([data-loading]) {
|
|
614
614
|
--background-color: var(--hop-Button-danger-background-color-disabled);
|
|
615
615
|
--color: var(--hop-Button-danger-color-disabled);
|
|
616
616
|
--border: var(--hop-Button-danger-border-disabled);
|
|
617
617
|
}
|
|
618
|
-
.Button-module__hop-Button--
|
|
619
|
-
.Button-module__hop-Button--
|
|
618
|
+
.Button-module__hop-Button--danger___doULV[data-hovered]:not([data-disabled], [data-loading]),
|
|
619
|
+
.Button-module__hop-Button--danger___doULV[data-focus-visible]:not([data-disabled], [data-loading]) {
|
|
620
620
|
--background-color: var(--hop-Button-danger-background-color-hover);
|
|
621
621
|
--color: var(--hop-Button-danger-color-hover);
|
|
622
622
|
--border: var(--hop-Button-danger-border-hover);
|
|
623
623
|
}
|
|
624
|
-
.Button-module__hop-Button--
|
|
624
|
+
.Button-module__hop-Button--danger___doULV[data-pressed]:not([data-loading]) {
|
|
625
625
|
--background-color: var(--hop-Button-danger-background-color-pressed);
|
|
626
626
|
--color: var(--hop-Button-danger-color-pressed);
|
|
627
627
|
--border: var(--hop-Button-danger-border-pressed);
|
|
628
628
|
}
|
|
629
|
-
.Button-module__hop-Button--ghost-
|
|
629
|
+
.Button-module__hop-Button--ghost-primary___emXc1 {
|
|
630
630
|
--background-color: var(--hop-Button-ghost-primary-background-color);
|
|
631
631
|
--color: var(--hop-Button-ghost-primary-color);
|
|
632
632
|
--border: var(--hop-Button-ghost-primary-border);
|
|
633
633
|
--spinner-color: var(--hop-Button-ghost-primary-spinner-color);
|
|
634
634
|
}
|
|
635
|
-
.Button-module__hop-Button--ghost-
|
|
635
|
+
.Button-module__hop-Button--ghost-primary___emXc1[data-disabled]:not([data-loading]) {
|
|
636
636
|
--background-color: var(--hop-Button-ghost-primary-background-color-disabled);
|
|
637
637
|
--color: var(--hop-Button-ghost-primary-color-disabled);
|
|
638
638
|
--border: var(--hop-Button-ghost-primary-border-disabled);
|
|
639
639
|
}
|
|
640
|
-
.Button-module__hop-Button--ghost-
|
|
641
|
-
.Button-module__hop-Button--ghost-
|
|
640
|
+
.Button-module__hop-Button--ghost-primary___emXc1[data-hovered]:not([data-disabled], [data-loading]),
|
|
641
|
+
.Button-module__hop-Button--ghost-primary___emXc1[data-focus-visible]:not([data-disabled], [data-loading]) {
|
|
642
642
|
--background-color: var(--hop-Button-ghost-primary-background-color-hover);
|
|
643
643
|
--color: var(--hop-Button-ghost-primary-color-hover);
|
|
644
644
|
--border: var(--hop-Button-ghost-primary-border-hover);
|
|
645
645
|
}
|
|
646
|
-
.Button-module__hop-Button--ghost-
|
|
646
|
+
.Button-module__hop-Button--ghost-primary___emXc1[data-pressed]:not([data-loading]) {
|
|
647
647
|
--background-color: var(--hop-Button-ghost-primary-background-color-pressed);
|
|
648
648
|
--color: var(--hop-Button-ghost-primary-color-pressed);
|
|
649
649
|
--border: var(--hop-Button-ghost-primary-border-pressed);
|
|
650
650
|
}
|
|
651
|
-
.Button-module__hop-Button--ghost-
|
|
651
|
+
.Button-module__hop-Button--ghost-secondary___3LQQY {
|
|
652
652
|
--background-color: var(--hop-Button-ghost-secondary-background-color);
|
|
653
653
|
--color: var(--hop-Button-ghost-secondary-color);
|
|
654
654
|
--border: var(--hop-Button-ghost-secondary-border);
|
|
655
655
|
--spinner-color: var(--hop-Button-ghost-secondary-spinner-color);
|
|
656
656
|
}
|
|
657
|
-
.Button-module__hop-Button--ghost-
|
|
657
|
+
.Button-module__hop-Button--ghost-secondary___3LQQY[data-disabled]:not([data-loading]) {
|
|
658
658
|
--background-color: var(--hop-Button-ghost-secondary-background-color-disabled);
|
|
659
659
|
--color: var(--hop-Button-ghost-secondary-color-disabled);
|
|
660
660
|
--border: var(--hop-Button-ghost-secondary-border-disabled);
|
|
661
661
|
}
|
|
662
|
-
.Button-module__hop-Button--ghost-
|
|
663
|
-
.Button-module__hop-Button--ghost-
|
|
662
|
+
.Button-module__hop-Button--ghost-secondary___3LQQY[data-hovered]:not([data-disabled], [data-loading]),
|
|
663
|
+
.Button-module__hop-Button--ghost-secondary___3LQQY[data-focus-visible]:not([data-disabled], [data-loading]) {
|
|
664
664
|
--background-color: var(--hop-Button-ghost-secondary-background-color-hover);
|
|
665
665
|
--color: var(--hop-Button-ghost-secondary-color-hover);
|
|
666
666
|
--border: var(--hop-Button-ghost-secondary-border-hover);
|
|
667
667
|
}
|
|
668
|
-
.Button-module__hop-Button--ghost-
|
|
668
|
+
.Button-module__hop-Button--ghost-secondary___3LQQY[data-pressed]:not([data-loading]) {
|
|
669
669
|
--background-color: var(--hop-Button-ghost-secondary-background-color-pressed);
|
|
670
670
|
--color: var(--hop-Button-ghost-secondary-color-pressed);
|
|
671
671
|
--border: var(--hop-Button-ghost-secondary-border-pressed);
|
|
672
672
|
}
|
|
673
|
-
.Button-module__hop-Button--ghost-
|
|
673
|
+
.Button-module__hop-Button--ghost-danger___kmhtH {
|
|
674
674
|
--background-color: var(--hop-Button-ghost-danger-background-color);
|
|
675
675
|
--color: var(--hop-Button-ghost-danger-color);
|
|
676
676
|
--border: var(--hop-Button-ghost-danger-border);
|
|
677
677
|
--spinner-color: var(--hop-Button-ghost-danger-spinner-color);
|
|
678
678
|
}
|
|
679
|
-
.Button-module__hop-Button--ghost-
|
|
679
|
+
.Button-module__hop-Button--ghost-danger___kmhtH[data-disabled]:not([data-loading]) {
|
|
680
680
|
--background-color: var(--hop-Button-ghost-danger-background-color-disabled);
|
|
681
681
|
--color: var(--hop-Button-ghost-danger-color-disabled);
|
|
682
682
|
--border: var(--hop-Button-ghost-danger-border-disabled);
|
|
683
683
|
}
|
|
684
|
-
.Button-module__hop-Button--ghost-
|
|
685
|
-
.Button-module__hop-Button--ghost-
|
|
684
|
+
.Button-module__hop-Button--ghost-danger___kmhtH[data-hovered]:not([data-disabled], [data-loading]),
|
|
685
|
+
.Button-module__hop-Button--ghost-danger___kmhtH[data-focus-visible]:not([data-disabled], [data-loading]) {
|
|
686
686
|
--background-color: var(--hop-Button-ghost-danger-background-color-hover);
|
|
687
687
|
--color: var(--hop-Button-ghost-danger-color-hover);
|
|
688
688
|
--border: var(--hop-Button-ghost-danger-border-hover);
|
|
689
689
|
}
|
|
690
|
-
.Button-module__hop-Button--ghost-
|
|
690
|
+
.Button-module__hop-Button--ghost-danger___kmhtH[data-pressed]:not([data-loading]) {
|
|
691
691
|
--background-color: var(--hop-Button-ghost-danger-background-color-pressed);
|
|
692
692
|
--color: var(--hop-Button-ghost-danger-color-pressed);
|
|
693
693
|
--border: var(--hop-Button-ghost-danger-border-pressed);
|
|
694
694
|
}
|
|
695
|
-
.Button-module__hop-
|
|
695
|
+
.Button-module__hop-Button__Spinner___ZnVVk {
|
|
696
696
|
position: absolute;
|
|
697
697
|
justify-self: center;
|
|
698
698
|
color: var(--spinner-color);
|
|
699
699
|
}
|
|
700
|
-
.Button-module__hop-
|
|
701
|
-
.Button-module__hop-Button__icon-
|
|
700
|
+
.Button-module__hop-Button__icon___xb5IF,
|
|
701
|
+
.Button-module__hop-Button__icon-list___fh4aX {
|
|
702
702
|
grid-area: start-icon;
|
|
703
703
|
justify-self: end;
|
|
704
704
|
}
|
|
705
|
-
.Button-module__hop-
|
|
705
|
+
.Button-module__hop-Button__text___3bwzH {
|
|
706
706
|
user-select: none;
|
|
707
707
|
overflow: visible;
|
|
708
708
|
grid-area: content;
|
|
709
709
|
font-weight: var(--hop-font-weight-505);
|
|
710
710
|
text-wrap: nowrap;
|
|
711
711
|
}
|
|
712
|
-
.Button-module__hop-Button--ghost-
|
|
713
|
-
.Button-module__hop-Button--ghost-
|
|
714
|
-
.Button-module__hop-Button--ghost-
|
|
715
|
-
.Button-module__hop-Button--ghost-
|
|
716
|
-
.Button-module__hop-Button--ghost-
|
|
717
|
-
.Button-module__hop-Button--ghost-
|
|
718
|
-
.Button-module__hop-Button--ghost-
|
|
719
|
-
.Button-module__hop-Button--ghost-
|
|
720
|
-
.Button-module__hop-Button--ghost-
|
|
712
|
+
.Button-module__hop-Button--ghost-primary___emXc1[data-hovered]:not([data-loading]) .Button-module__hop-Button__text___3bwzH,
|
|
713
|
+
.Button-module__hop-Button--ghost-secondary___3LQQY[data-hovered]:not([data-loading]) .Button-module__hop-Button__text___3bwzH,
|
|
714
|
+
.Button-module__hop-Button--ghost-danger___kmhtH[data-hovered]:not([data-loading]) .Button-module__hop-Button__text___3bwzH,
|
|
715
|
+
.Button-module__hop-Button--ghost-primary___emXc1[data-pressed]:not([data-loading]) .Button-module__hop-Button__text___3bwzH,
|
|
716
|
+
.Button-module__hop-Button--ghost-secondary___3LQQY[data-pressed]:not([data-loading]) .Button-module__hop-Button__text___3bwzH,
|
|
717
|
+
.Button-module__hop-Button--ghost-danger___kmhtH[data-pressed]:not([data-loading]) .Button-module__hop-Button__text___3bwzH,
|
|
718
|
+
.Button-module__hop-Button--ghost-primary___emXc1[data-focus-visible]:not([data-loading]) .Button-module__hop-Button__text___3bwzH,
|
|
719
|
+
.Button-module__hop-Button--ghost-secondary___3LQQY[data-focus-visible]:not([data-loading]) .Button-module__hop-Button__text___3bwzH,
|
|
720
|
+
.Button-module__hop-Button--ghost-danger___kmhtH[data-focus-visible]:not([data-loading]) .Button-module__hop-Button__text___3bwzH {
|
|
721
721
|
text-decoration: underline;
|
|
722
722
|
text-underline-offset: 0.125rem;
|
|
723
723
|
}
|
|
724
|
-
.Button-module__hop-Button__end-
|
|
725
|
-
.Button-module__hop-Button__end-icon-
|
|
724
|
+
.Button-module__hop-Button__end-icon___ibbEF,
|
|
725
|
+
.Button-module__hop-Button__end-icon-list___jZX43 {
|
|
726
726
|
grid-area: end-icon;
|
|
727
727
|
}
|
|
728
|
-
.Button-module__hop-
|
|
729
|
-
.Button-module__hop-
|
|
728
|
+
.Button-module__hop-Button___3R65p .Button-module__hop-Button__icon-list___fh4aX,
|
|
729
|
+
.Button-module__hop-Button___3R65p .Button-module__hop-Button__end-icon-list___jZX43 {
|
|
730
730
|
flex-wrap: nowrap;
|
|
731
731
|
}
|
|
732
|
-
.Button-module__hop-
|
|
732
|
+
.Button-module__hop-Button___3R65p[data-loading] > *:not(.Button-module__hop-Button__Spinner___ZnVVk) {
|
|
733
733
|
opacity: 0;
|
|
734
734
|
}
|
|
@@ -6,17 +6,19 @@ import { SpinnerProps } from '../../Spinner/src/Spinner.js';
|
|
|
6
6
|
import '../../utils/src/types.js';
|
|
7
7
|
|
|
8
8
|
declare const GlobalButtonCssSelector = "hop-Button";
|
|
9
|
+
type ButtonVariant = "primary" | "secondary" | "danger" | "upsell" | "ghost-primary" | "ghost-secondary" | "ghost-danger";
|
|
10
|
+
type ButtonSize = "sm" | "md";
|
|
9
11
|
interface ButtonProps extends StyledComponentProps<ButtonProps$1> {
|
|
10
12
|
/**
|
|
11
13
|
* The visual style of the button.
|
|
12
14
|
* @default "primary"
|
|
13
15
|
*/
|
|
14
|
-
variant?:
|
|
16
|
+
variant?: ButtonVariant;
|
|
15
17
|
/**
|
|
16
18
|
* A button can vary in size.
|
|
17
19
|
* @default "md"
|
|
18
20
|
*/
|
|
19
|
-
size?: ResponsiveProp<
|
|
21
|
+
size?: ResponsiveProp<ButtonSize>;
|
|
20
22
|
/**
|
|
21
23
|
* Whether or not the button takes up the width of its container.
|
|
22
24
|
*/
|
|
@@ -41,4 +43,4 @@ interface ButtonProps extends StyledComponentProps<ButtonProps$1> {
|
|
|
41
43
|
*/
|
|
42
44
|
declare const _Button: react.ForwardRefExoticComponent<ButtonProps & react.RefAttributes<HTMLElement>>;
|
|
43
45
|
|
|
44
|
-
export { _Button as Button, type ButtonProps, GlobalButtonCssSelector };
|
|
46
|
+
export { _Button as Button, type ButtonProps, type ButtonSize, type ButtonVariant, GlobalButtonCssSelector };
|