@hopper-ui/components 0.1.0 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +117 -0
- package/dist/HopperProvider/src/HopperProvider.d.ts +33 -1
- package/dist/HopperProvider/src/HopperProvider.js +2 -1
- package/dist/HopperProvider/src/index.d.ts +1 -0
- package/dist/HopperProvider/src/index.js +2 -1
- package/dist/IconList/src/IconList.css +6 -6
- package/dist/IconList/src/IconList.js +2 -1
- package/dist/IconList/src/IconListContext.js +1 -0
- package/dist/IconList/src/index.css +6 -6
- package/dist/IconList/src/index.js +2 -1
- package/dist/Label/src/Label.css +70 -70
- package/dist/Label/src/Label.js +3 -2
- package/dist/Label/src/LabelContext.js +1 -0
- package/dist/Label/src/index.css +70 -70
- package/dist/Label/src/index.js +3 -2
- package/dist/Link/src/Link.css +165 -0
- package/dist/Link/src/Link.d.ts +33 -0
- package/dist/Link/src/Link.js +11 -0
- package/dist/Link/src/LinkContext.d.ts +8 -0
- package/dist/Link/src/LinkContext.js +2 -0
- package/dist/Link/src/index.css +165 -0
- package/dist/Link/src/index.d.ts +5 -0
- package/dist/Link/src/index.js +11 -0
- package/dist/Spinner/src/Spinner.css +124 -124
- package/dist/Spinner/src/Spinner.d.ts +1 -0
- package/dist/Spinner/src/Spinner.js +5 -4
- package/dist/Spinner/src/SpinnerContext.js +1 -0
- package/dist/Spinner/src/index.css +124 -124
- package/dist/Spinner/src/index.js +5 -4
- package/dist/Text/src/Text.css +67 -67
- package/dist/Text/src/Text.d.ts +2 -3
- package/dist/Text/src/Text.js +5 -2
- package/dist/Text/src/TextContext.js +1 -0
- package/dist/Text/src/index.css +67 -67
- package/dist/Text/src/index.d.ts +1 -1
- package/dist/Text/src/index.js +5 -2
- package/dist/buttons/src/Button.css +634 -435
- package/dist/buttons/src/Button.d.ts +15 -10
- package/dist/buttons/src/Button.js +13 -9
- package/dist/buttons/src/ButtonContext.d.ts +6 -2
- package/dist/buttons/src/ButtonContext.js +1 -0
- package/dist/buttons/src/ButtonGroup.css +38 -0
- package/dist/buttons/src/ButtonGroup.d.ts +40 -0
- package/dist/buttons/src/ButtonGroup.js +83 -0
- package/dist/buttons/src/ButtonGroupContext.d.ts +9 -0
- package/dist/buttons/src/ButtonGroupContext.js +2 -0
- package/dist/buttons/src/index.css +634 -435
- package/dist/buttons/src/index.d.ts +2 -1
- package/dist/buttons/src/index.js +13 -9
- package/dist/checkbox/src/Checkbox.css +292 -0
- package/dist/checkbox/src/Checkbox.d.ts +20 -0
- package/dist/checkbox/src/Checkbox.js +11 -0
- package/dist/checkbox/src/CheckboxContext.d.ts +8 -0
- package/dist/checkbox/src/CheckboxContext.js +2 -0
- package/dist/checkbox/src/CheckboxField.css +119 -0
- package/dist/checkbox/src/CheckboxField.d.ts +26 -0
- package/dist/checkbox/src/CheckboxField.js +7 -0
- package/dist/checkbox/src/CheckboxFieldContext.d.ts +10 -0
- package/dist/checkbox/src/CheckboxFieldContext.js +2 -0
- package/dist/checkbox/src/CheckboxGroup.css +568 -0
- package/dist/checkbox/src/CheckboxGroup.d.ts +30 -0
- package/dist/checkbox/src/CheckboxGroup.js +12 -0
- package/dist/checkbox/src/CheckboxGroupContext.d.ts +8 -0
- package/dist/checkbox/src/CheckboxGroupContext.js +2 -0
- package/dist/checkbox/src/CheckboxList.d.ts +17 -0
- package/dist/checkbox/src/CheckboxList.js +3 -0
- package/dist/checkbox/src/CheckboxListContext.d.ts +10 -0
- package/dist/checkbox/src/CheckboxListContext.js +2 -0
- package/dist/checkbox/src/index.css +568 -0
- package/dist/checkbox/src/index.d.ts +13 -0
- package/dist/checkbox/src/index.js +20 -0
- package/dist/chip/src/Chip.css +261 -0
- package/dist/chip/src/Chip.d.ts +27 -0
- package/dist/chip/src/Chip.js +10 -0
- package/dist/chip/src/ChipContext.d.ts +10 -0
- package/dist/chip/src/ChipContext.js +2 -0
- package/dist/chip/src/index.css +261 -0
- package/dist/chip/src/index.d.ts +7 -0
- package/dist/chip/src/index.js +10 -0
- package/dist/chunk-2EAZPH3M.js +7 -0
- package/dist/chunk-3LRBUQC2.js +43 -0
- package/dist/chunk-4AARNXWE.js +101 -0
- package/dist/chunk-4VVNSXIB.js +7 -0
- package/dist/chunk-5KJ5IKUE.js +69 -0
- package/dist/chunk-5MBJWRZD.js +7 -0
- package/dist/{chunk-SEU4CGZD.js → chunk-65JPI4FL.js} +1 -1
- package/dist/chunk-7ELZ57E5.js +93 -0
- package/dist/chunk-A7TZHALP.js +7 -0
- package/dist/chunk-ACVMW6YD.js +7 -0
- package/dist/{chunk-YLDA2M2E.js → chunk-ANVMQBBG.js} +2 -1
- package/dist/chunk-B7WS4DBA.js +83 -0
- package/dist/chunk-BPM4ETTB.js +35 -0
- package/dist/{chunk-QIOYM2XJ.js → chunk-DFUQTSEV.js} +13 -13
- package/dist/chunk-DGLAGYBD.js +7 -0
- package/dist/chunk-ESVVLTEN.js +7 -0
- package/dist/chunk-FU5CCPLP.js +7 -0
- package/dist/chunk-GXKSX5N5.js +104 -0
- package/dist/chunk-H5YTU3U7.js +20 -0
- package/dist/chunk-H7VJS4MX.js +7 -0
- package/dist/chunk-HVRSS5RT.js +186 -0
- package/dist/chunk-HXI3MEEK.js +27 -0
- package/dist/chunk-I7AMDVGG.js +124 -0
- package/dist/{chunk-XCKF6EU7.js → chunk-IYITZANI.js} +9 -9
- package/dist/chunk-JHY3TXL4.js +101 -0
- package/dist/{chunk-6BEVZRUL.js → chunk-KVDXQMWI.js} +1 -1
- package/dist/chunk-M6UHXS6K.js +58 -0
- package/dist/chunk-MD6IFXLG.js +57 -0
- package/dist/chunk-ME3RBGOT.js +91 -0
- package/dist/chunk-N7YDPVZL.js +7 -0
- package/dist/chunk-NH3IVMXB.js +43 -0
- package/dist/chunk-NKHMUPAP.js +43 -0
- package/dist/chunk-OHPGEHL3.js +83 -0
- package/dist/chunk-VIHBOZVN.js +92 -0
- package/dist/chunk-VJQ7M2BK.js +7 -0
- package/dist/chunk-WDUQUPTE.js +7 -0
- package/dist/chunk-WTKIUAHI.js +7 -0
- package/dist/chunk-YHBJAXUY.js +7 -0
- package/dist/chunk-YSQDPG26.js +27 -0
- package/dist/chunk-YWUIJ6ZQ.js +83 -0
- package/dist/chunk-ZGNK4GWA.js +7 -0
- package/dist/{chunk-XQ3GUEBN.js → chunk-ZQEB3Y3X.js} +8 -9
- package/dist/{chunk-7QUHQYCR.js → chunk-ZWU6DRRZ.js} +1 -1
- package/dist/errorMessage/src/ErrorMessage.css +102 -0
- package/dist/errorMessage/src/ErrorMessage.d.ts +20 -0
- package/dist/errorMessage/src/ErrorMessage.js +9 -0
- package/dist/errorMessage/src/ErrorMessageContext.d.ts +9 -0
- package/dist/errorMessage/src/ErrorMessageContext.js +2 -0
- package/dist/errorMessage/src/index.css +102 -0
- package/dist/errorMessage/src/index.d.ts +6 -0
- package/dist/errorMessage/src/index.js +9 -0
- package/dist/helperMessage/src/HelperMessage.css +94 -0
- package/dist/helperMessage/src/HelperMessage.d.ts +20 -0
- package/dist/helperMessage/src/HelperMessage.js +8 -0
- package/dist/helperMessage/src/HelperMessageContext.d.ts +9 -0
- package/dist/helperMessage/src/HelperMessageContext.js +2 -0
- package/dist/helperMessage/src/index.css +94 -0
- package/dist/helperMessage/src/index.d.ts +6 -0
- package/dist/helperMessage/src/index.js +8 -0
- package/dist/{intl → i18n}/src/index.d.ts +1 -0
- package/dist/i18n/src/index.js +2 -0
- package/dist/i18n/src/useLocalizedString.d.ts +9 -0
- package/dist/i18n/src/useLocalizedString.js +2 -0
- package/dist/layout/src/Flex.js +1 -0
- package/dist/layout/src/Grid.js +1 -1
- package/dist/layout/src/Inline.js +1 -0
- package/dist/layout/src/Stack.js +1 -0
- package/dist/radio/src/Radio.css +293 -0
- package/dist/radio/src/Radio.d.ts +20 -0
- package/dist/radio/src/Radio.js +11 -0
- package/dist/radio/src/RadioContext.d.ts +8 -0
- package/dist/radio/src/RadioContext.js +2 -0
- package/dist/radio/src/RadioField.css +119 -0
- package/dist/radio/src/RadioField.d.ts +26 -0
- package/dist/radio/src/RadioField.js +7 -0
- package/dist/radio/src/RadioFieldContext.d.ts +10 -0
- package/dist/radio/src/RadioFieldContext.js +2 -0
- package/dist/radio/src/RadioGroup.css +570 -0
- package/dist/radio/src/RadioGroup.d.ts +30 -0
- package/dist/radio/src/RadioGroup.js +12 -0
- package/dist/radio/src/RadioGroupContext.d.ts +8 -0
- package/dist/radio/src/RadioGroupContext.js +2 -0
- package/dist/radio/src/RadioList.d.ts +17 -0
- package/dist/radio/src/RadioList.js +3 -0
- package/dist/radio/src/RadioListContext.d.ts +10 -0
- package/dist/radio/src/RadioListContext.js +2 -0
- package/dist/radio/src/index.css +570 -0
- package/dist/radio/src/index.d.ts +13 -0
- package/dist/radio/src/index.js +20 -0
- package/dist/switch/src/Switch.css +236 -0
- package/dist/switch/src/Switch.d.ts +20 -0
- package/dist/switch/src/Switch.js +11 -0
- package/dist/switch/src/SwitchContext.d.ts +8 -0
- package/dist/switch/src/SwitchContext.js +2 -0
- package/dist/switch/src/SwitchField.css +119 -0
- package/dist/switch/src/SwitchField.d.ts +26 -0
- package/dist/switch/src/SwitchField.js +7 -0
- package/dist/switch/src/SwitchFieldContext.d.ts +10 -0
- package/dist/switch/src/SwitchFieldContext.js +2 -0
- package/dist/switch/src/index.css +276 -0
- package/dist/switch/src/index.d.ts +9 -0
- package/dist/switch/src/index.js +13 -0
- package/dist/utils/src/ClearSlots.d.ts +28 -0
- package/dist/utils/src/ClearSlots.js +2 -0
- package/dist/utils/src/SlotProvider.js +1 -0
- package/dist/utils/src/composeClassnameRenderProps.js +2 -0
- package/dist/utils/src/cssModule.js +2 -0
- package/dist/utils/src/index.d.ts +11 -6
- package/dist/utils/src/index.js +8 -4
- package/dist/utils/src/isTextOnlyChildren.js +2 -0
- package/dist/utils/src/{size-adapter.d.ts → sizeAdapter.d.ts} +1 -1
- package/dist/utils/src/sizeAdapter.js +1 -0
- package/dist/utils/src/types.d.ts +17 -5
- package/dist/utils/src/useRenderProps.d.ts +843 -0
- package/dist/utils/src/useRenderProps.js +2 -0
- package/dist/utils/src/useSlot.d.ts +8 -0
- package/dist/utils/src/useSlot.js +2 -0
- package/package.json +32 -27
- package/dist/chunk-GXUPEV64.js +0 -24
- package/dist/chunk-WROQHGG5.js +0 -141
- package/dist/chunk-WRWNRVTG.js +0 -47
- package/dist/intl/src/index.js +0 -1
- package/dist/intl/src/useLocalizedString.d.ts +0 -26
- package/dist/intl/src/useLocalizedString.js +0 -1
- package/dist/utils/src/compose-classname-render-props.js +0 -1
- package/dist/utils/src/css-module.js +0 -1
- package/dist/utils/src/is-text-only-children.js +0 -1
- package/dist/utils/src/size-adapter.js +0 -1
- /package/dist/{chunk-D57ZIX5W.js → chunk-LQICWONC.js} +0 -0
- /package/dist/utils/src/{compose-classname-render-props.d.ts → composeClassnameRenderProps.d.ts} +0 -0
- /package/dist/utils/src/{css-module.d.ts → cssModule.d.ts} +0 -0
- /package/dist/utils/src/{is-text-only-children.d.ts → isTextOnlyChildren.d.ts} +0 -0
|
@@ -0,0 +1,570 @@
|
|
|
1
|
+
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/IconList/src/IconList.module.css/#css-module-data */
|
|
2
|
+
.IconList-module__hop-IconList___eJ4Sl {
|
|
3
|
+
--hop-IconList-gap: var(--hop-space-inline-xs);
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-wrap: wrap;
|
|
6
|
+
gap: var(--hop-IconList-gap);
|
|
7
|
+
box-sizing: border-box;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/Text/src/Text.module.css/#css-module-data */
|
|
11
|
+
.Text-module__hop-Text___-u1e- {
|
|
12
|
+
--hop-Text-xs-font-size: var(--hop-body-xs-font-size);
|
|
13
|
+
--hop-Text-xs-font-family: var(--hop-body-xs-font-family);
|
|
14
|
+
--hop-Text-xs-font-weight: var(--hop-body-xs-font-weight);
|
|
15
|
+
--hop-Text-xs-line-height: var(--hop-body-xs-line-height);
|
|
16
|
+
--hop-Text-sm-font-size: var(--hop-body-sm-font-size);
|
|
17
|
+
--hop-Text-sm-font-family: var(--hop-body-sm-font-family);
|
|
18
|
+
--hop-Text-sm-font-weight: var(--hop-body-sm-font-weight);
|
|
19
|
+
--hop-Text-sm-line-height: var(--hop-body-sm-line-height);
|
|
20
|
+
--hop-Text-md-font-size: var(--hop-body-md-font-size);
|
|
21
|
+
--hop-Text-md-font-family: var(--hop-body-md-font-family);
|
|
22
|
+
--hop-Text-md-font-weight: var(--hop-body-md-font-weight);
|
|
23
|
+
--hop-Text-md-line-height: var(--hop-body-md-line-height);
|
|
24
|
+
--hop-Text-lg-font-size: var(--hop-body-lg-font-size);
|
|
25
|
+
--hop-Text-lg-font-family: var(--hop-body-lg-font-family);
|
|
26
|
+
--hop-Text-lg-font-weight: var(--hop-body-lg-font-weight);
|
|
27
|
+
--hop-Text-lg-line-height: var(--hop-body-lg-line-height);
|
|
28
|
+
--hop-Text-xl-font-size: var(--hop-body-xl-font-size);
|
|
29
|
+
--hop-Text-xl-font-family: var(--hop-body-xl-font-family);
|
|
30
|
+
--hop-Text-xl-font-weight: var(--hop-body-xl-font-weight);
|
|
31
|
+
--hop-Text-xl-line-height: var(--hop-body-xl-line-height);
|
|
32
|
+
--hop-Text-2xl-font-size: var(--hop-body-2xl-font-size);
|
|
33
|
+
--hop-Text-2xl-font-family: var(--hop-body-2xl-font-family);
|
|
34
|
+
--hop-Text-2xl-font-weight: var(--hop-body-2xl-font-weight);
|
|
35
|
+
--hop-Text-2xl-line-height: var(--hop-body-2xl-line-height);
|
|
36
|
+
--hop-Text-inherit-size-font-size: inherit;
|
|
37
|
+
--hop-Text-inherit-size-font-family: inherit;
|
|
38
|
+
--hop-Text-inherit-size-font-weight: inherit;
|
|
39
|
+
--hop-Text-inherit-size-line-height: inherit;
|
|
40
|
+
}
|
|
41
|
+
:where(.Text-module__hop-Text___-u1e-) {
|
|
42
|
+
font-family: var(--font-family);
|
|
43
|
+
font-size: var(--font-size);
|
|
44
|
+
font-weight: var(--font-weight);
|
|
45
|
+
line-height: var(--line-height);
|
|
46
|
+
}
|
|
47
|
+
:where(.Text-module__hop-Text--xs___P2Mlk) {
|
|
48
|
+
--font-size: var(--hop-Text-xs-font-size);
|
|
49
|
+
--font-family: var(--hop-Text-xs-font-family);
|
|
50
|
+
--font-weight: var(--hop-Text-xs-font-weight);
|
|
51
|
+
--line-height: var(--hop-Text-xs-line-height);
|
|
52
|
+
}
|
|
53
|
+
:where(.Text-module__hop-Text--sm___DIgJn) {
|
|
54
|
+
--font-size: var(--hop-Text-sm-font-size);
|
|
55
|
+
--font-family: var(--hop-Text-sm-font-family);
|
|
56
|
+
--font-weight: var(--hop-Text-sm-font-weight);
|
|
57
|
+
--line-height: var(--hop-Text-sm-line-height);
|
|
58
|
+
}
|
|
59
|
+
:where(.Text-module__hop-Text--md___EBUtj) {
|
|
60
|
+
--font-size: var(--hop-Text-md-font-size);
|
|
61
|
+
--font-family: var(--hop-Text-md-font-family);
|
|
62
|
+
--font-weight: var(--hop-Text-md-font-weight);
|
|
63
|
+
--line-height: var(--hop-Text-md-line-height);
|
|
64
|
+
}
|
|
65
|
+
:where(.Text-module__hop-Text--lg___Au1wj) {
|
|
66
|
+
--font-size: var(--hop-Text-lg-font-size);
|
|
67
|
+
--font-family: var(--hop-Text-lg-font-family);
|
|
68
|
+
--font-weight: var(--hop-Text-lg-font-weight);
|
|
69
|
+
--line-height: var(--hop-Text-lg-line-height);
|
|
70
|
+
}
|
|
71
|
+
:where(.Text-module__hop-Text--xl___UoQSa) {
|
|
72
|
+
--font-size: var(--hop-Text-xl-font-size);
|
|
73
|
+
--font-family: var(--hop-Text-xl-font-family);
|
|
74
|
+
--font-weight: var(--hop-Text-xl-font-weight);
|
|
75
|
+
--line-height: var(--hop-Text-xl-line-height);
|
|
76
|
+
}
|
|
77
|
+
:where(.Text-module__hop-Text--2xl___Nxjf-) {
|
|
78
|
+
--font-size: var(--hop-Text-2xl-font-size);
|
|
79
|
+
--font-family: var(--hop-Text-2xl-font-family);
|
|
80
|
+
--font-weight: var(--hop-Text-2xl-font-weight);
|
|
81
|
+
--line-height: var(--hop-Text-2xl-line-height);
|
|
82
|
+
}
|
|
83
|
+
:where(.Text-module__hop-Text--inherit___WPX1D) {
|
|
84
|
+
--font-size: var(--hop-Text-inherit-size-font-size);
|
|
85
|
+
--font-family: var(--hop-Text-inherit-size-font-family);
|
|
86
|
+
--font-weight: var(--hop-Text-inherit-size-font-weight);
|
|
87
|
+
--line-height: var(--hop-Text-inherit-size-line-height);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/radio/src/Radio.module.css/#css-module-data */
|
|
91
|
+
.Radio-module__hop-Radio___ixqBm {
|
|
92
|
+
--hop-Radio-box-border-size: 0.0625rem;
|
|
93
|
+
--hop-Radio-box-border-color: var(--hop-neutral-border);
|
|
94
|
+
--hop-Radio-box-background-color: var(--hop-neutral-surface);
|
|
95
|
+
--hop-Radio-bullet-color: var(--hop-neutral-icon-selected);
|
|
96
|
+
--hop-Radio-bullet-display: none;
|
|
97
|
+
--hop-Radio-text-color: var(--hop-neutral-text);
|
|
98
|
+
--hop-Radio-icon-color: var(--hop-neutral-icon);
|
|
99
|
+
--hop-Radio-box-border-color-hover: var(--hop-neutral-border-hover);
|
|
100
|
+
--hop-Radio-box-background-color-hover: var(--hop-neutral-surface-hover);
|
|
101
|
+
--hop-Radio-box-border-color-selected-hover: var(--hop-neutral-border-selected);
|
|
102
|
+
--hop-Radio-box-background-color-selected-hover: var(--hop-neutral-surface-selected);
|
|
103
|
+
--hop-Radio-text-color-hover: var(--hop-neutral-text-hover);
|
|
104
|
+
--hop-Radio-icon-color-hover: var(--hop-neutral-icon-hover);
|
|
105
|
+
--hop-Radio-box-border-color-pressed: var(--hop-neutral-border-press);
|
|
106
|
+
--hop-Radio-box-background-color-pressed: var(--hop-neutral-surface-press);
|
|
107
|
+
--hop-Radio-box-border-color-selected-pressed: var(--hop-neutral-border-selected);
|
|
108
|
+
--hop-Radio-box-background-color-selected-pressed: var(--hop-neutral-surface-selected);
|
|
109
|
+
--hop-Radio-text-color-pressed: var(--hop-neutral-text-press);
|
|
110
|
+
--hop-Radio-icon-color-pressed: var(--hop-neutral-icon-press);
|
|
111
|
+
--hop-Radio-box-border-color-selected: var(--hop-neutral-border-selected);
|
|
112
|
+
--hop-Radio-box-background-color-selected: var(--hop-neutral-surface-selected);
|
|
113
|
+
--hop-Radio-bullet-display-selected: block;
|
|
114
|
+
--hop-Radio-text-color-selected: var(--hop-neutral-text);
|
|
115
|
+
--hop-Radio-icon-color-selected: var(--hop-neutral-icon);
|
|
116
|
+
--hop-Radio-box-border-color-disabled: var(--hop-neutral-border-disabled);
|
|
117
|
+
--hop-Radio-box-background-color-disabled: var(--hop-neutral-surface-disabled);
|
|
118
|
+
--hop-Radio-box-border-color-selected-disabled: var(--hop-neutral-border-disabled);
|
|
119
|
+
--hop-Radio-box-background-color-selected-disabled: var(--hop-neutral-surface-disabled);
|
|
120
|
+
--hop-Radio-bullet-color-disabled: var(--hop-neutral-icon-disabled);
|
|
121
|
+
--hop-Radio-text-color-disabled: var(--hop-neutral-text-disabled);
|
|
122
|
+
--hop-Radio-icon-color-disabled: var(--hop-neutral-icon-disabled);
|
|
123
|
+
--hop-Radio-box-border-color-focus: var(--hop-neutral-border-hover);
|
|
124
|
+
--hop-Radio-box-background-color-focus: var(--hop-neutral-surface-hover);
|
|
125
|
+
--hop-Radio-box-focus-ring-color: var(--hop-primary-border-focus);
|
|
126
|
+
--hop-Radio-box-border-color-selected-focus: var(--hop-neutral-border-selected);
|
|
127
|
+
--hop-Radio-box-background-color-selected-focus: var(--hop-neutral-surface-selected);
|
|
128
|
+
--hop-Radio-text-color-focus: var(--hop-neutral-text);
|
|
129
|
+
--hop-Radio-icon-color-focus: var(--hop-neutral-icon);
|
|
130
|
+
--hop-Radio-box-border-color-invalid: var(--hop-danger-border-strong);
|
|
131
|
+
--hop-Radio-box-background-color-invalid: var(--hop-neutral-surface);
|
|
132
|
+
--hop-Radio-box-border-color-hover-invalid: var(--hop-danger-border-strong);
|
|
133
|
+
--hop-Radio-box-background-color-hover-invalid: var(--hop-danger-surface);
|
|
134
|
+
--hop-Radio-box-border-color-pressed-invalid: var(--hop-danger-border-press);
|
|
135
|
+
--hop-Radio-box-background-color-pressed-invalid: var(--hop-danger-surface-weak);
|
|
136
|
+
--hop-Radio-box-border-color-focus-invalid: var(--hop-danger-border-strong);
|
|
137
|
+
--hop-Radio-box-background-color-focus-invalid: var(--hop-danger-surface);
|
|
138
|
+
--hop-Radio-box-border-color-selected-invalid: var(--hop-danger-border-strong);
|
|
139
|
+
--hop-Radio-box-background-color-selected-invalid: var(--hop-danger-surface-strong);
|
|
140
|
+
--hop-Radio-bullet-color-invalid: var(--hop-danger-icon-strong);
|
|
141
|
+
--hop-Radio-text-color-invalid: var(--hop-danger-text-weak);
|
|
142
|
+
--hop-Radio-icon-color-invalid: var(--hop-danger-icon-weak);
|
|
143
|
+
--hop-Radio-text-color-hover-invalid: var(--hop-danger-text-weak-hover);
|
|
144
|
+
--hop-Radio-icon-color-hover-invalid: var(--hop-danger-icon-weak-hover);
|
|
145
|
+
--hop-Radio-text-color-pressed-invalid: var(--hop-danger-text-weak-press);
|
|
146
|
+
--hop-Radio-box-sm-inline-size: 1rem;
|
|
147
|
+
--hop-Radio-box-sm-block-size: 1rem;
|
|
148
|
+
--hop-Radio-text-sm-top-offset: calc((var(--box-inline-size) - (var(--hop-body-sm-line-height) * var(--hop-body-sm-font-size))) / 2);
|
|
149
|
+
--hop-Radio-text-sm-margin-inline-start: calc(var(--hop-space-inline-sm) - var(--hop-space-inline-xs));
|
|
150
|
+
--hop-Radio-box-md-inline-size: 1.5rem;
|
|
151
|
+
--hop-Radio-box-md-block-size: 1.5rem;
|
|
152
|
+
--hop-Radio-text-md-top-offset: calc((var(--box-inline-size) - (var(--hop-body-md-line-height) * var(--hop-body-md-font-size))) / 2);
|
|
153
|
+
--hop-Radio-text-md-margin-inline-start: calc(var(--hop-space-inline-md) - var(--hop-space-inline-xs));
|
|
154
|
+
--box-background-color: var(--hop-Radio-box-background-color);
|
|
155
|
+
--box-border-color: var(--hop-Radio-box-border-color);
|
|
156
|
+
--box-border-radius: var(--hop-shape-circle);
|
|
157
|
+
--bullet-color: var(--hop-Radio-bullet-color);
|
|
158
|
+
--bullet-display: var(--hop-Radio-bullet-display);
|
|
159
|
+
--cursor: pointer;
|
|
160
|
+
--text-color: var(--hop-Radio-text-color);
|
|
161
|
+
--icon-color: var(--hop-Radio-icon-color);
|
|
162
|
+
--description-color: var(--hop-Radio-description-color);
|
|
163
|
+
--transition-duration: var(--hop-easing-duration-2);
|
|
164
|
+
cursor: var(--cursor);
|
|
165
|
+
display: flex;
|
|
166
|
+
column-gap: var(--hop-space-inline-xs);
|
|
167
|
+
align-items: start;
|
|
168
|
+
justify-content: start;
|
|
169
|
+
box-sizing: border-box;
|
|
170
|
+
inline-size: max-content;
|
|
171
|
+
max-inline-size: 100%;
|
|
172
|
+
}
|
|
173
|
+
.Radio-module__hop-Radio___ixqBm[data-hovered] {
|
|
174
|
+
--box-background-color: var(--hop-Radio-box-background-color-hover);
|
|
175
|
+
--box-border-color: var(--hop-Radio-box-border-color-hover);
|
|
176
|
+
--text-color: var(--hop-Radio-text-color-hover);
|
|
177
|
+
--icon-color: var(--hop-Radio-icon-color-hover);
|
|
178
|
+
--description-color: var(--hop-Radio-description-color-hover);
|
|
179
|
+
}
|
|
180
|
+
.Radio-module__hop-Radio___ixqBm[data-pressed] {
|
|
181
|
+
--box-background-color: var(--hop-Radio-box-background-color-pressed);
|
|
182
|
+
--box-border-color: var(--hop-Radio-box-border-color-pressed);
|
|
183
|
+
--text-color: var(--hop-Radio-text-color-pressed);
|
|
184
|
+
--icon-color: var(--hop-Radio-icon-color-pressed);
|
|
185
|
+
--description-color: var(--hop-Radio-description-color-pressed);
|
|
186
|
+
}
|
|
187
|
+
.Radio-module__hop-Radio___ixqBm[data-selected] {
|
|
188
|
+
--box-background-color: var(--hop-Radio-box-background-color-selected-hover);
|
|
189
|
+
--box-border-color: var(--hop-Radio-box-border-color-selected-hover);
|
|
190
|
+
--bullet-display: var(--hop-Radio-bullet-display-selected);
|
|
191
|
+
--text-color: var(--hop-Radio-text-color-selected);
|
|
192
|
+
--icon-color: var(--hop-Radio-icon-color-selected);
|
|
193
|
+
--description-color: var(--hop-Radio-description-color-selected);
|
|
194
|
+
}
|
|
195
|
+
.Radio-module__hop-Radio___ixqBm[data-focus-visible] {
|
|
196
|
+
--box-background-color: var(--hop-Radio-box-background-color-focus);
|
|
197
|
+
--box-border-color: var(--hop-Radio-box-border-color-focus);
|
|
198
|
+
--box-outline: 0.125rem solid var(--hop-Radio-box-focus-ring-color);
|
|
199
|
+
--text-color: var(--hop-Radio-text-color-focus);
|
|
200
|
+
--icon-color: var(--hop-Radio-icon-color-focus);
|
|
201
|
+
--description-color: var(--hop-Radio-description-color-focus);
|
|
202
|
+
}
|
|
203
|
+
.Radio-module__hop-Radio___ixqBm[data-focus-visible][data-selected] {
|
|
204
|
+
--box-background-color: var(--hop-Radio-box-background-color-selected-focus);
|
|
205
|
+
--box-border-color: var(--hop-Radio-box-border-color-selected-focus);
|
|
206
|
+
}
|
|
207
|
+
.Radio-module__hop-Radio___ixqBm[data-invalid] {
|
|
208
|
+
--box-background-color: var(--hop-Radio-box-background-color-invalid);
|
|
209
|
+
--box-border-color: var(--hop-Radio-box-border-color-invalid);
|
|
210
|
+
--bullet-color: var(--hop-Radio-bullet-color-invalid);
|
|
211
|
+
--text-color: var(--hop-Radio-text-color-invalid);
|
|
212
|
+
--icon-color: var(--hop-Radio-icon-color-invalid);
|
|
213
|
+
--description-color: var(--hop-Radio-description-color-invalid);
|
|
214
|
+
}
|
|
215
|
+
.Radio-module__hop-Radio___ixqBm[data-invalid][data-hovered] {
|
|
216
|
+
--box-background-color: var(--hop-Radio-box-background-color-hover-invalid);
|
|
217
|
+
--box-border-color: var(--hop-Radio-box-border-color-hover-invalid);
|
|
218
|
+
--text-color: var(--hop-Radio-text-color-hover-invalid);
|
|
219
|
+
--icon-color: var(--hop-Radio-text-color-hover-invalid);
|
|
220
|
+
}
|
|
221
|
+
.Radio-module__hop-Radio___ixqBm[data-invalid][data-pressed] {
|
|
222
|
+
--box-background-color: var(--hop-Radio-box-background-color-pressed-invalid);
|
|
223
|
+
--box-border-color: var(--hop-Radio-box-border-color-pressed-invalid);
|
|
224
|
+
--text-color: var(--hop-Radio-text-color-pressed-invalid);
|
|
225
|
+
--icon-color: var(--hop-Radio-icon-color-pressed-invalid);
|
|
226
|
+
}
|
|
227
|
+
.Radio-module__hop-Radio___ixqBm[data-invalid][data-focus-visible] {
|
|
228
|
+
--box-background-color: var(--hop-Radio-box-background-color-focus-invalid);
|
|
229
|
+
--box-border-color: var(--hop-Radio-box-border-color-focus-invalid);
|
|
230
|
+
}
|
|
231
|
+
.Radio-module__hop-Radio___ixqBm[data-invalid][data-selected] {
|
|
232
|
+
--box-background-color: var(--hop-Radio-box-background-color-selected-invalid);
|
|
233
|
+
--box-border-color: var(--hop-Radio-box-border-color-selected-invalid);
|
|
234
|
+
}
|
|
235
|
+
.Radio-module__hop-Radio___ixqBm[data-disabled] {
|
|
236
|
+
--box-background-color: var(--hop-Radio-box-background-color-disabled);
|
|
237
|
+
--box-border-color: var(--hop-Radio-box-border-color-disabled);
|
|
238
|
+
--bullet-color: var(--hop-Radio-bullet-color-disabled);
|
|
239
|
+
--cursor: not-allowed;
|
|
240
|
+
--text-color: var(--hop-Radio-text-color-disabled);
|
|
241
|
+
--icon-color: var(--hop-Radio-icon-color-disabled);
|
|
242
|
+
--description-color: var(--hop-Radio-description-color-disabled);
|
|
243
|
+
}
|
|
244
|
+
.Radio-module__hop-Radio___ixqBm[data-disabled][data-selected] {
|
|
245
|
+
--box-background-color: var(--hop-Radio-box-background-color-selected-disabled);
|
|
246
|
+
--box-border-color: var(--hop-Radio-box-border-color-selected-disabled);
|
|
247
|
+
}
|
|
248
|
+
.Radio-module__hop-Radio--sm___G0-gW {
|
|
249
|
+
--box-inline-size: var(--hop-Radio-box-sm-inline-size);
|
|
250
|
+
--box-block-size: var(--hop-Radio-box-sm-block-size);
|
|
251
|
+
--text-top-offset: var(--hop-Radio-text-sm-top-offset);
|
|
252
|
+
--text-margin-inline-start: var(--hop-Radio-text-sm-margin-inline-start);
|
|
253
|
+
}
|
|
254
|
+
.Radio-module__hop-Radio--md___xRFTQ {
|
|
255
|
+
--box-inline-size: var(--hop-Radio-box-md-inline-size);
|
|
256
|
+
--box-block-size: var(--hop-Radio-box-md-block-size);
|
|
257
|
+
--text-top-offset: var(--hop-Radio-text-md-top-offset);
|
|
258
|
+
--text-margin-inline-start: var(--hop-Radio-text-md-margin-inline-start);
|
|
259
|
+
}
|
|
260
|
+
.Radio-module__hop-Radio__icon___wXYjp,
|
|
261
|
+
.Radio-module__hop-Radio__icon-list___VqAkj {
|
|
262
|
+
flex: 0 0 auto;
|
|
263
|
+
order: 3;
|
|
264
|
+
color: var(--icon-color);
|
|
265
|
+
}
|
|
266
|
+
.Radio-module__hop-Radio__box___LvVYK {
|
|
267
|
+
display: flex;
|
|
268
|
+
flex: 0 0 auto;
|
|
269
|
+
align-items: center;
|
|
270
|
+
justify-content: center;
|
|
271
|
+
order: 1;
|
|
272
|
+
box-sizing: border-box;
|
|
273
|
+
inline-size: var(--box-inline-size, var(--hop-Radio-box-md-inline-size));
|
|
274
|
+
block-size: var(--box-block-size, var(--hop-Radio-box-md-block-size));
|
|
275
|
+
background-color: var(--box-background-color);
|
|
276
|
+
border: var(--hop-Radio-box-border-size) solid var(--box-border-color);
|
|
277
|
+
border-radius: var(--box-border-radius);
|
|
278
|
+
outline: var(--box-outline, none);
|
|
279
|
+
outline-offset: 0.125rem;
|
|
280
|
+
transition: background-color var(--transition-duration) var(--hop-easing-productive), border var(--transition-duration) var(--hop-easing-productive);
|
|
281
|
+
}
|
|
282
|
+
.Radio-module__hop-Radio__bullet___7Sv97 {
|
|
283
|
+
display: var(--bullet-display);
|
|
284
|
+
color: var(--bullet-color);
|
|
285
|
+
}
|
|
286
|
+
.Radio-module__hop-Radio__text___FcEZE {
|
|
287
|
+
flex: 0 1 auto;
|
|
288
|
+
order: 2;
|
|
289
|
+
min-inline-size: 0;
|
|
290
|
+
margin-block-start: var(--text-top-offset, var(--hop-Radio-text-md-top-offset));
|
|
291
|
+
margin-inline-start: var(--text-margin-inline-start, var(--hop-Radio-text-md-margin-inline-start));
|
|
292
|
+
color: var(--text-color);
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/radio/src/RadioField.module.css/#css-module-data */
|
|
296
|
+
.RadioField-module__hop-RadioField___u5q-m {
|
|
297
|
+
--hop-RadioField-description-color: var(--hop-neutral-text-weak);
|
|
298
|
+
--hop-RadioField-description-color-disabled: var(--hop-neutral-text-disabled);
|
|
299
|
+
--hop-RadioField-sm-row-gap: var(--hop-space-stack-xs);
|
|
300
|
+
--hop-RadioField-radio-sm-inline-size: 1rem;
|
|
301
|
+
--hop-RadioField-description-sm-margin-inline-start: calc(var(--hop-RadioField-radio-sm-inline-size) + var(--hop-space-inline-sm));
|
|
302
|
+
--hop-RadioField-md-row-gap: var(--hop-space-stack-xs);
|
|
303
|
+
--hop-RadioField-radio-md-inline-size: 1.5rem;
|
|
304
|
+
--hop-RadioField-description-md-margin-inline-start: calc(var(--hop-RadioField-radio-md-inline-size) + var(--hop-space-inline-md));
|
|
305
|
+
--description-color: var(--hop-RadioField-description-color);
|
|
306
|
+
display: flex;
|
|
307
|
+
flex-direction: column;
|
|
308
|
+
row-gap: var(--row-gap, var(--hop-space-stack-sm));
|
|
309
|
+
align-items: flex-start;
|
|
310
|
+
justify-content: flex-start;
|
|
311
|
+
box-sizing: border-box;
|
|
312
|
+
inline-size: max-content;
|
|
313
|
+
max-inline-size: 100%;
|
|
314
|
+
}
|
|
315
|
+
.RadioField-module__hop-RadioField___u5q-m[data-disabled] {
|
|
316
|
+
--description-color: var(--hop-RadioField-description-color-disabled);
|
|
317
|
+
}
|
|
318
|
+
.RadioField-module__hop-RadioField--sm___xyabe {
|
|
319
|
+
--row-gap: var(--hop-RadioField-sm-row-gap);
|
|
320
|
+
--description-margin-inline-start: var(--hop-RadioField-description-sm-margin-inline-start);
|
|
321
|
+
}
|
|
322
|
+
.RadioField-module__hop-RadioField--md___RaN8s {
|
|
323
|
+
--row-gap: var(--hop-RadioField-md-row-gap);
|
|
324
|
+
--description-margin-inline-start: var(--hop-RadioField-description-md-margin-inline-start);
|
|
325
|
+
}
|
|
326
|
+
.RadioField-module__hop-RadioField__description___XKSO3 {
|
|
327
|
+
order: 2;
|
|
328
|
+
margin-inline-start: var(--description-margin-inline-start, var(--hop-RadioField-description-md-margin-inline-start));
|
|
329
|
+
color: var(--description-color);
|
|
330
|
+
}
|
|
331
|
+
.RadioField-module__hop-RadioField__radio___hg6Wr {
|
|
332
|
+
order: 1;
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/errorMessage/src/ErrorMessage.module.css/#css-module-data */
|
|
336
|
+
.ErrorMessage-module__hop-ErrorMessage___ByQ5V {
|
|
337
|
+
--hop-ErrorMessage-color: var(--hop-danger-text-weak);
|
|
338
|
+
--hop-ErrorMessage-font-family: var(--hop-body-xs-font-family);
|
|
339
|
+
--hop-ErrorMessage-font-size: var(--hop-body-xs-font-size);
|
|
340
|
+
--hop-ErrorMessage-font-weight: var(--hop-body-xs-font-weight);
|
|
341
|
+
--hop-ErrorMessage-line-height: var(--hop-body-xs-line-height);
|
|
342
|
+
--hop-ErrorMessage-column-gap: var(--hop-space-inline-xs);
|
|
343
|
+
display: flex;
|
|
344
|
+
column-gap: var(--hop-ErrorMessage-column-gap);
|
|
345
|
+
align-items: center;
|
|
346
|
+
box-sizing: border-box;
|
|
347
|
+
font-family: var(--hop-ErrorMessage-font-family);
|
|
348
|
+
font-size: var(--hop-ErrorMessage-font-size);
|
|
349
|
+
font-weight: var(--hop-ErrorMessage-font-weight);
|
|
350
|
+
line-height: var(--hop-ErrorMessage-line-height);
|
|
351
|
+
color: var(--hop-ErrorMessage-color);
|
|
352
|
+
}
|
|
353
|
+
.ErrorMessage-module__hop-ErrorMessage__icon___Z0oW9 {
|
|
354
|
+
flex: 0 0 auto;
|
|
355
|
+
align-self: flex-start;
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/helperMessage/src/HelperMessage.module.css/#css-module-data */
|
|
359
|
+
.HelperMessage-module__hop-HelperMessage___1YNO0 {
|
|
360
|
+
--hop-HelperMessage-color: var(--hop-neutral-text-weak);
|
|
361
|
+
--hop-HelperMessage-column-gap: var(--hop-space-inline-xs);
|
|
362
|
+
display: flex;
|
|
363
|
+
column-gap: var(--hop-HelperMessage-column-gap);
|
|
364
|
+
align-items: center;
|
|
365
|
+
box-sizing: border-box;
|
|
366
|
+
color: var(--hop-HelperMessage-color);
|
|
367
|
+
}
|
|
368
|
+
.HelperMessage-module__hop-HelperMessage__icon___c7iS1 {
|
|
369
|
+
flex: 0 0 auto;
|
|
370
|
+
align-self: flex-start;
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/Label/src/Label.module.css/#css-module-data */
|
|
374
|
+
.Label-module__hop-Label___sZV4v {
|
|
375
|
+
--hop-Label-xs-font-size: var(--hop-body-xs-font-size);
|
|
376
|
+
--hop-Label-xs-font-family: var(--hop-body-xs-font-family);
|
|
377
|
+
--hop-Label-xs-font-weight: var(--hop-body-xs-font-weight);
|
|
378
|
+
--hop-Label-xs-line-height: var(--hop-body-xs-line-height);
|
|
379
|
+
--hop-Label-sm-font-size: var(--hop-body-sm-font-size);
|
|
380
|
+
--hop-Label-sm-font-family: var(--hop-body-sm-font-family);
|
|
381
|
+
--hop-Label-sm-font-weight: var(--hop-body-sm-font-weight);
|
|
382
|
+
--hop-Label-sm-line-height: var(--hop-body-sm-line-height);
|
|
383
|
+
--hop-Label-md-font-size: var(--hop-body-md-font-size);
|
|
384
|
+
--hop-Label-md-font-family: var(--hop-body-md-font-family);
|
|
385
|
+
--hop-Label-md-font-weight: var(--hop-body-md-font-weight);
|
|
386
|
+
--hop-Label-md-line-height: var(--hop-body-md-line-height);
|
|
387
|
+
--hop-Label-lg-font-size: var(--hop-body-lg-font-size);
|
|
388
|
+
--hop-Label-lg-font-family: var(--hop-body-lg-font-family);
|
|
389
|
+
--hop-Label-lg-font-weight: var(--hop-body-lg-font-weight);
|
|
390
|
+
--hop-Label-lg-line-height: var(--hop-body-lg-line-height);
|
|
391
|
+
--hop-Label-xl-font-size: var(--hop-body-xl-font-size);
|
|
392
|
+
--hop-Label-xl-font-family: var(--hop-body-xl-font-family);
|
|
393
|
+
--hop-Label-xl-font-weight: var(--hop-body-xl-font-weight);
|
|
394
|
+
--hop-Label-xl-line-height: var(--hop-body-xl-line-height);
|
|
395
|
+
--hop-Label-2xl-font-size: var(--hop-body-2xl-font-size);
|
|
396
|
+
--hop-Label-2xl-font-family: var(--hop-body-2xl-font-family);
|
|
397
|
+
--hop-Label-2xl-font-weight: var(--hop-body-2xl-font-weight);
|
|
398
|
+
--hop-Label-2xl-line-height: var(--hop-body-2xl-line-height);
|
|
399
|
+
--hop-Label-inherit-size-font-size: inherit;
|
|
400
|
+
--hop-Label-inherit-size-font-family: inherit;
|
|
401
|
+
--hop-Label-inherit-size-font-weight: inherit;
|
|
402
|
+
--hop-Label-inherit-size-line-height: inherit;
|
|
403
|
+
}
|
|
404
|
+
:where(.Label-module__hop-Label___sZV4v) {
|
|
405
|
+
font-family: var(--font-family, --hop-Label-md-font-family);
|
|
406
|
+
font-size: var(--font-size, --hop-Label-md-font-size);
|
|
407
|
+
font-weight: var(--font-weight, --hop-Label-md-font-weight);
|
|
408
|
+
line-height: var(--line-height, --hop-Label-md-line-height);
|
|
409
|
+
}
|
|
410
|
+
:where(.Label-module__hop-Label--xs___7Flvr) {
|
|
411
|
+
--font-size: var(--hop-Label-xs-font-size);
|
|
412
|
+
--font-family: var(--hop-Label-xs-font-family);
|
|
413
|
+
--font-weight: var(--hop-Label-xs-font-weight);
|
|
414
|
+
--line-height: var(--hop-Label-xs-line-height);
|
|
415
|
+
}
|
|
416
|
+
:where(.Label-module__hop-Label--sm___q7-gY) {
|
|
417
|
+
--font-size: var(--hop-Label-sm-font-size);
|
|
418
|
+
--font-family: var(--hop-Label-sm-font-family);
|
|
419
|
+
--font-weight: var(--hop-Label-sm-font-weight);
|
|
420
|
+
--line-height: var(--hop-Label-sm-line-height);
|
|
421
|
+
}
|
|
422
|
+
:where(.Label-module__hop-Label--md___ZxMc1) {
|
|
423
|
+
--font-size: var(--hop-Label-md-font-size);
|
|
424
|
+
--font-family: var(--hop-Label-md-font-family);
|
|
425
|
+
--font-weight: var(--hop-Label-md-font-weight);
|
|
426
|
+
--line-height: var(--hop-Label-md-line-height);
|
|
427
|
+
}
|
|
428
|
+
:where(.Label-module__hop-Label--lg___qnzoz) {
|
|
429
|
+
--font-size: var(--hop-Label-lg-font-size);
|
|
430
|
+
--font-family: var(--hop-Label-lg-font-family);
|
|
431
|
+
--font-weight: var(--hop-Label-lg-font-weight);
|
|
432
|
+
--line-height: var(--hop-Label-lg-line-height);
|
|
433
|
+
}
|
|
434
|
+
:where(.Label-module__hop-Label--xl___3pCXT) {
|
|
435
|
+
--font-size: var(--hop-Label-xl-font-size);
|
|
436
|
+
--font-family: var(--hop-Label-xl-font-family);
|
|
437
|
+
--font-weight: var(--hop-Label-xl-font-weight);
|
|
438
|
+
--line-height: var(--hop-Label-xl-line-height);
|
|
439
|
+
}
|
|
440
|
+
:where(.Label-module__hop-Label--2xl___CuLU9) {
|
|
441
|
+
--font-size: var(--hop-Label-2xl-font-size);
|
|
442
|
+
--font-family: var(--hop-Label-2xl-font-family);
|
|
443
|
+
--font-weight: var(--hop-Label-2xl-font-weight);
|
|
444
|
+
--line-height: var(--hop-Label-2xl-line-height);
|
|
445
|
+
}
|
|
446
|
+
:where(.Label-module__hop-Label--inherit___pCJ8C) {
|
|
447
|
+
--font-size: var(--hop-Label-inherit-size-font-size);
|
|
448
|
+
--font-family: var(--hop-Label-inherit-size-font-family);
|
|
449
|
+
--font-weight: var(--hop-Label-inherit-size-font-weight);
|
|
450
|
+
--line-height: var(--hop-Label-inherit-size-line-height);
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/radio/src/RadioGroup.module.css/#css-module-data */
|
|
454
|
+
.RadioGroup-module__hop-RadioGroup___T9TtY {
|
|
455
|
+
--hop-RadioGroup-align-items: flex-start;
|
|
456
|
+
--hop-RadioGroup-justify-content: flex-start;
|
|
457
|
+
--hop-RadioGroup-bordered-border-color: var(--hop-neutral-border-weak);
|
|
458
|
+
--hop-RadioGroup-sm-column-gap: var(--hop-space-inline-sm);
|
|
459
|
+
--hop-RadioGroup-sm-row-gap: var(--hop-space-stack-sm);
|
|
460
|
+
--hop-RadioGroup-list-sm-column-gap: var(--hop-space-inline-sm);
|
|
461
|
+
--hop-RadioGroup-list-sm-row-gap: var(--hop-space-stack-sm);
|
|
462
|
+
--hop-RadioGroup-bordered-sm-padding: var(--hop-space-inset-sm);
|
|
463
|
+
--hop-RadioGroup-bordered-sm-column-gap: var(--hop-space-inline-sm);
|
|
464
|
+
--hop-RadioGroup-bordered-sm-row-gap: var(--hop-space-stack-sm);
|
|
465
|
+
--hop-RadioGroup-list-bordered-sm-column-gap: 0;
|
|
466
|
+
--hop-RadioGroup-list-bordered-sm-row-gap: 0;
|
|
467
|
+
--hop-RadioGroup-md-column-gap: var(--hop-space-inline-md);
|
|
468
|
+
--hop-RadioGroup-md-row-gap: var(--hop-space-stack-md);
|
|
469
|
+
--hop-RadioGroup-list-md-column-gap: var(--hop-space-inline-md);
|
|
470
|
+
--hop-RadioGroup-list-md-row-gap: var(--hop-space-stack-md);
|
|
471
|
+
--hop-RadioGroup-bordered-md-padding: var(--hop-space-inset-md);
|
|
472
|
+
--hop-RadioGroup-bordered-md-column-gap: var(--hop-space-inline-sm);
|
|
473
|
+
--hop-RadioGroup-bordered-md-row-gap: var(--hop-space-stack-sm);
|
|
474
|
+
--hop-RadioGroup-list-bordered-md-column-gap: 0;
|
|
475
|
+
--hop-RadioGroup-list-bordered-md-row-gap: 0;
|
|
476
|
+
--hop-RadioGroup-vertical-flex-direction: column;
|
|
477
|
+
--hop-RadioGroup-horizontal-flex-direction: row;
|
|
478
|
+
--radio-border-size: 0.0625rem;
|
|
479
|
+
--radio-border-color: var(--hop-neutral-border-weak);
|
|
480
|
+
--flex-direction: var(--hop-RadioGroup-vertical-flex-direction);
|
|
481
|
+
--align-items: var(--hop-RadioGroup-align-items);
|
|
482
|
+
--justify-content: var(--hop-RadioGroup-justify-content);
|
|
483
|
+
--flex-wrap: wrap;
|
|
484
|
+
--inline-size: max-content;
|
|
485
|
+
display: flex;
|
|
486
|
+
flex-direction: column;
|
|
487
|
+
gap: var(--row-gap, var(--hop-space-stack-md)) var(--column-gap, var(--hop-space-inline-md));
|
|
488
|
+
align-items: var(--align-items);
|
|
489
|
+
justify-content: var(--justify-content);
|
|
490
|
+
box-sizing: border-box;
|
|
491
|
+
inline-size: var(--inline-size);
|
|
492
|
+
max-inline-size: 100%;
|
|
493
|
+
}
|
|
494
|
+
.RadioGroup-module__hop-RadioGroup--bordered___YceTZ {
|
|
495
|
+
--list-border: var(--radio-border-size) solid var(--radio-border-color);
|
|
496
|
+
--list-border-radius: var(--hop-shape-rounded-md);
|
|
497
|
+
}
|
|
498
|
+
.RadioGroup-module__hop-RadioGroup--sm___EXu0Q {
|
|
499
|
+
--column-gap: var(--hop-RadioGroup-sm-column-gap);
|
|
500
|
+
--row-gap: var(--hop-RadioGroup-sm-row-gap);
|
|
501
|
+
--list-column-gap: var(--hop-RadioGroup-list-sm-column-gap);
|
|
502
|
+
--list-row-gap: var(--hop-RadioGroup-list-sm-row-gap);
|
|
503
|
+
}
|
|
504
|
+
.RadioGroup-module__hop-RadioGroup--md___xNRU8 {
|
|
505
|
+
--column-gap: var(--hop-RadioGroup-md-column-gap);
|
|
506
|
+
--row-gap: var(--hop-RadioGroup-md-row-gap);
|
|
507
|
+
--list-column-gap: var(--hop-RadioGroup-list-md-column-gap);
|
|
508
|
+
--list-row-gap: var(--hop-RadioGroup-list-md-row-gap);
|
|
509
|
+
}
|
|
510
|
+
.RadioGroup-module__hop-RadioGroup--bordered___YceTZ.RadioGroup-module__hop-RadioGroup--sm___EXu0Q {
|
|
511
|
+
--radio-padding: var(--hop-RadioGroup-bordered-sm-padding);
|
|
512
|
+
--column-gap: var(--hop-RadioGroup-bordered-sm-column-gap);
|
|
513
|
+
--row-gap: var(--hop-RadioGroup-bordered-sm-row-gap);
|
|
514
|
+
--list-column-gap: var(--hop-RadioGroup-list-bordered-sm-column-gap);
|
|
515
|
+
--list-row-gap: var(--hop-RadioGroup-list-bordered-sm-row-gap);
|
|
516
|
+
}
|
|
517
|
+
.RadioGroup-module__hop-RadioGroup--bordered___YceTZ.RadioGroup-module__hop-RadioGroup--md___xNRU8 {
|
|
518
|
+
--radio-padding: var(--hop-RadioGroup-bordered-md-padding);
|
|
519
|
+
--column-gap: var(--hop-RadioGroup-bordered-md-column-gap);
|
|
520
|
+
--row-gap: var(--hop-RadioGroup-bordered-md-row-gap);
|
|
521
|
+
--list-column-gap: var(--hop-RadioGroup-list-bordered-md-column-gap);
|
|
522
|
+
--list-row-gap: var(--hop-RadioGroup-list-bordered-md-row-gap);
|
|
523
|
+
}
|
|
524
|
+
.RadioGroup-module__hop-RadioGroup___T9TtY[data-orientation=horizontal] {
|
|
525
|
+
--flex-direction: var(--hop-RadioGroup-horizontal-flex-direction);
|
|
526
|
+
}
|
|
527
|
+
.RadioGroup-module__hop-RadioGroup--bordered___YceTZ[data-orientation=horizontal] {
|
|
528
|
+
--flex-wrap: nowrap;
|
|
529
|
+
}
|
|
530
|
+
.RadioGroup-module__hop-RadioGroup___T9TtY > .RadioGroup-module__hop-RadioGroup__label___eybbP {
|
|
531
|
+
order: 1;
|
|
532
|
+
}
|
|
533
|
+
.RadioGroup-module__hop-RadioGroup__list___kk0V7 {
|
|
534
|
+
display: flex;
|
|
535
|
+
flex-flow: var(--flex-direction) var(--flex-wrap);
|
|
536
|
+
gap: var(--list-row-gap, var(--hop-space-stack-md)) var(--list-column-gap, var(--hop-space-inline-md));
|
|
537
|
+
order: 2;
|
|
538
|
+
box-sizing: border-box;
|
|
539
|
+
inline-size: var(--inline-size);
|
|
540
|
+
max-inline-size: 100%;
|
|
541
|
+
border: var(--list-border, none);
|
|
542
|
+
border-radius: var(--list-border-radius, 0);
|
|
543
|
+
}
|
|
544
|
+
.RadioGroup-module__hop-RadioGroup__list___kk0V7 > .RadioGroup-module__hop-RadioGroup__radio___rf-mr {
|
|
545
|
+
position: relative;
|
|
546
|
+
flex: 0 1 auto;
|
|
547
|
+
align-content: start;
|
|
548
|
+
inline-size: auto;
|
|
549
|
+
min-inline-size: 0;
|
|
550
|
+
padding: var(--radio-padding, 0);
|
|
551
|
+
}
|
|
552
|
+
.RadioGroup-module__hop-RadioGroup--bordered___YceTZ .RadioGroup-module__hop-RadioGroup__list___kk0V7 > .RadioGroup-module__hop-RadioGroup__radio___rf-mr ~ .RadioGroup-module__hop-RadioGroup__radio___rf-mr::before {
|
|
553
|
+
content: "";
|
|
554
|
+
position: absolute;
|
|
555
|
+
display: block;
|
|
556
|
+
}
|
|
557
|
+
.RadioGroup-module__hop-RadioGroup--bordered___YceTZ[data-orientation=vertical] .RadioGroup-module__hop-RadioGroup__list___kk0V7 > .RadioGroup-module__hop-RadioGroup__radio___rf-mr ~ .RadioGroup-module__hop-RadioGroup__radio___rf-mr::before {
|
|
558
|
+
inset-block-start: 0;
|
|
559
|
+
inset-inline: 0;
|
|
560
|
+
border-block-start: var(--list-border, none);
|
|
561
|
+
}
|
|
562
|
+
.RadioGroup-module__hop-RadioGroup--bordered___YceTZ[data-orientation=horizontal] .RadioGroup-module__hop-RadioGroup__list___kk0V7 > .RadioGroup-module__hop-RadioGroup__radio___rf-mr ~ .RadioGroup-module__hop-RadioGroup__radio___rf-mr::before {
|
|
563
|
+
inset-block: 0;
|
|
564
|
+
inset-inline-start: 0;
|
|
565
|
+
border-inline-start: var(--list-border, none);
|
|
566
|
+
}
|
|
567
|
+
.RadioGroup-module__hop-RadioGroup___T9TtY > .RadioGroup-module__hop-RadioGroup__error-message___wj9r4,
|
|
568
|
+
.RadioGroup-module__hop-RadioGroup___T9TtY > .RadioGroup-module__hop-RadioGroup__helper-message___vyN6b {
|
|
569
|
+
order: 3;
|
|
570
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export { GlobalRadioCssSelector, Radio, RadioProps } from './Radio.js';
|
|
2
|
+
export { RadioContext } from './RadioContext.js';
|
|
3
|
+
export { GlobalRadioFieldCssSelector, RadioField, RadioFieldProps } from './RadioField.js';
|
|
4
|
+
export { RadioFieldContext } from './RadioFieldContext.js';
|
|
5
|
+
export { GlobalRadioGroupCssSelector, RadioGroup, RadioGroupProps } from './RadioGroup.js';
|
|
6
|
+
export { RadioGroupContext } from './RadioGroupContext.js';
|
|
7
|
+
export { GlobalRadioListCssSelector, RadioList, RadioListProps } from './RadioList.js';
|
|
8
|
+
export { RadioListContext } from './RadioListContext.js';
|
|
9
|
+
import 'react';
|
|
10
|
+
import '@hopper-ui/styled-system';
|
|
11
|
+
import 'react-aria-components';
|
|
12
|
+
import '../../utils/src/types.js';
|
|
13
|
+
import '@react-types/shared';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export { GlobalRadioFieldCssSelector, _RadioField as RadioField } from '../../chunk-B7WS4DBA.js';
|
|
2
|
+
export { GlobalRadioGroupCssSelector, _RadioGroup as RadioGroup } from '../../chunk-4AARNXWE.js';
|
|
3
|
+
export { RadioFieldContext } from '../../chunk-DGLAGYBD.js';
|
|
4
|
+
export { RadioGroupContext } from '../../chunk-5MBJWRZD.js';
|
|
5
|
+
export { GlobalRadioListCssSelector, _RadioList as RadioList } from '../../chunk-NKHMUPAP.js';
|
|
6
|
+
export { RadioListContext } from '../../chunk-A7TZHALP.js';
|
|
7
|
+
export { GlobalRadioCssSelector, _Radio as Radio } from '../../chunk-VIHBOZVN.js';
|
|
8
|
+
export { RadioContext } from '../../chunk-FU5CCPLP.js';
|
|
9
|
+
import '../../chunk-ACVMW6YD.js';
|
|
10
|
+
import '../../chunk-ESVVLTEN.js';
|
|
11
|
+
import '../../chunk-ZWU6DRRZ.js';
|
|
12
|
+
import '../../chunk-65JPI4FL.js';
|
|
13
|
+
import '../../chunk-M6UHXS6K.js';
|
|
14
|
+
import '../../chunk-HXI3MEEK.js';
|
|
15
|
+
import '../../chunk-OE5BLFZI.js';
|
|
16
|
+
import '../../chunk-M36KANKC.js';
|
|
17
|
+
import '../../chunk-DHVVYSLB.js';
|
|
18
|
+
import '../../chunk-KVDXQMWI.js';
|
|
19
|
+
import '../../chunk-HVKOIMMW.js';
|
|
20
|
+
import '../../chunk-YSQDPG26.js';
|