@hopper-ui/components 1.0.1 → 1.0.3
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/HopperProvider/src/HopperProvider.js +1 -1
- package/dist/HopperProvider/src/index.js +1 -1
- package/dist/IconList/src/IconList.css +1 -1
- package/dist/IconList/src/IconList.js +2 -2
- package/dist/IconList/src/IconListContext.js +1 -1
- package/dist/IconList/src/index.css +1 -1
- package/dist/IconList/src/index.js +2 -2
- package/dist/Link/src/Link.css +32 -32
- package/dist/Link/src/Link.js +6 -6
- package/dist/Link/src/LinkContext.js +1 -1
- package/dist/Link/src/index.css +32 -32
- package/dist/Link/src/index.js +6 -6
- package/dist/Spinner/src/Spinner.css +29 -29
- package/dist/Spinner/src/Spinner.js +5 -5
- package/dist/Spinner/src/SpinnerContext.js +1 -1
- package/dist/Spinner/src/index.css +29 -29
- package/dist/Spinner/src/index.js +5 -5
- package/dist/badge/src/Badge.css +80 -0
- package/dist/badge/src/Badge.d.ts +26 -0
- package/dist/badge/src/Badge.js +6 -0
- package/dist/badge/src/BadgeContext.d.ts +10 -0
- package/dist/badge/src/BadgeContext.js +2 -0
- package/dist/badge/src/index.css +80 -0
- package/dist/badge/src/index.d.ts +7 -0
- package/dist/badge/src/index.js +6 -0
- package/dist/buttons/src/Button.css +120 -120
- package/dist/buttons/src/Button.d.ts +1 -1
- package/dist/buttons/src/Button.js +10 -10
- package/dist/buttons/src/ButtonContext.d.ts +1 -1
- package/dist/buttons/src/ButtonContext.js +1 -1
- package/dist/buttons/src/ButtonGroup.css +11 -11
- package/dist/buttons/src/ButtonGroup.d.ts +1 -1
- package/dist/buttons/src/ButtonGroup.js +6 -83
- package/dist/buttons/src/ButtonGroupContext.js +1 -1
- package/dist/buttons/src/ClearButton.css +102 -0
- package/dist/buttons/src/ClearButton.d.ts +16 -0
- package/dist/buttons/src/ClearButton.js +9 -0
- package/dist/buttons/src/ClearButtonContext.d.ts +9 -0
- package/dist/buttons/src/ClearButtonContext.js +2 -0
- package/dist/buttons/src/EmbeddedButton.css +102 -0
- package/dist/buttons/src/EmbeddedButton.d.ts +20 -0
- package/dist/buttons/src/EmbeddedButton.js +6 -0
- package/dist/buttons/src/EmbeddedButtonContext.d.ts +8 -0
- package/dist/buttons/src/EmbeddedButtonContext.js +2 -0
- package/dist/buttons/src/index.css +262 -120
- package/dist/buttons/src/index.d.ts +7 -0
- package/dist/buttons/src/index.js +16 -10
- package/dist/checkbox/src/Checkbox.css +39 -35
- package/dist/checkbox/src/Checkbox.js +5 -5
- package/dist/checkbox/src/CheckboxContext.js +1 -1
- package/dist/checkbox/src/CheckboxField.css +16 -16
- package/dist/checkbox/src/CheckboxField.js +3 -3
- package/dist/checkbox/src/CheckboxFieldContext.js +1 -1
- package/dist/checkbox/src/CheckboxGroup.css +79 -75
- package/dist/checkbox/src/CheckboxGroup.js +3 -3
- package/dist/checkbox/src/CheckboxGroupContext.js +1 -1
- package/dist/checkbox/src/CheckboxList.js +1 -1
- package/dist/checkbox/src/CheckboxListContext.js +1 -1
- package/dist/checkbox/src/index.css +79 -75
- package/dist/checkbox/src/index.js +8 -8
- package/dist/chip/src/Chip.css +34 -34
- package/dist/chip/src/Chip.js +4 -4
- package/dist/chip/src/ChipContext.js +1 -1
- package/dist/chip/src/index.css +34 -34
- package/dist/chip/src/index.js +4 -4
- package/dist/{chunk-YSQDPG26.js → chunk-2P3A4VVY.js} +6 -1
- package/dist/{chunk-CJFCOPMQ.js → chunk-2VBOJKEP.js} +2 -2
- package/dist/{chunk-3KIUEBO3.js → chunk-3DWVMCIV.js} +2 -2
- package/dist/chunk-3NKF5TPD.js +7 -0
- package/dist/{chunk-H234F7HP.js → chunk-3XFTRBIC.js} +2 -2
- package/dist/{chunk-HUJ3PTM7.js → chunk-4RIAVSLK.js} +2 -2
- package/dist/chunk-5EPNXRCT.js +44 -0
- package/dist/chunk-6BFSSZCY.js +7 -0
- package/dist/{chunk-BIVAOAN2.js → chunk-7NT6M6KM.js} +3 -3
- package/dist/chunk-AQITZWYM.js +43 -0
- package/dist/chunk-BAKCRZAG.js +82 -0
- package/dist/{chunk-TRS7R4W3.js → chunk-CTK5YVBZ.js} +2 -2
- package/dist/chunk-CTOL6AVF.js +156 -0
- package/dist/chunk-D6UTDI2K.js +28 -0
- package/dist/{chunk-ZUMAL5WB.js → chunk-DJU2DUTQ.js} +4 -3
- package/dist/{chunk-EADFYPVX.js → chunk-DLTYFRKN.js} +4 -4
- package/dist/chunk-DXVKHP4V.js +7 -0
- package/dist/{chunk-VYNBJRJW.js → chunk-EE75ND6V.js} +2 -2
- package/dist/chunk-EWMWQ2MC.js +7 -0
- package/dist/chunk-GF2U6E4D.js +56 -0
- package/dist/chunk-GXBVNCVP.js +43 -0
- package/dist/{chunk-BPM4ETTB.js → chunk-H6CDFWVR.js} +11 -3
- package/dist/chunk-I67NHYK4.js +7 -0
- package/dist/{chunk-KKFX7YII.js → chunk-IOLNBXZM.js} +6 -5
- package/dist/chunk-IXB2WK56.js +7 -0
- package/dist/{chunk-CE3ABLD2.js → chunk-JLF7DSUY.js} +4 -4
- package/dist/{chunk-3FT5XSWV.js → chunk-JLFHTZUA.js} +4 -4
- package/dist/chunk-LCAS3YQV.js +7 -0
- package/dist/chunk-LJXTJRSB.js +1 -0
- package/dist/chunk-LYV2D5RZ.js +69 -0
- package/dist/chunk-O4XPUINW.js +7 -0
- package/dist/chunk-O7IJYNVQ.js +7 -0
- package/dist/chunk-OGMLQRES.js +91 -0
- package/dist/chunk-OQW6BT6B.js +373 -0
- package/dist/{chunk-6EMOC7TA.js → chunk-OUN5KSHD.js} +2 -2
- package/dist/{chunk-HVKOIMMW.js → chunk-QCA3ZR56.js} +1 -1
- package/dist/chunk-QW45G6K4.js +7 -0
- package/dist/chunk-RXBKOHT2.js +83 -0
- package/dist/chunk-SC6ZK5ON.js +7 -0
- package/dist/chunk-TIPN4VYD.js +46 -0
- package/dist/chunk-TXZ6BMFR.js +7 -0
- package/dist/chunk-UARL5M2W.js +32 -0
- package/dist/{chunk-SC4G54ML.js → chunk-UY7WQ7TC.js} +8 -8
- package/dist/{chunk-G7RKLBFT.js → chunk-WLSLSMK7.js} +3 -3
- package/dist/chunk-WPNVVGFW.js +7 -0
- package/dist/chunk-WWRB4K4M.js +44 -0
- package/dist/{chunk-OE5BLFZI.js → chunk-X6SER3TZ.js} +1 -1
- package/dist/{chunk-FD4HMY5A.js → chunk-XFKAXBB5.js} +4 -4
- package/dist/{chunk-YFTLWL74.js → chunk-XIOIAME2.js} +1 -1
- package/dist/chunk-XLKYXKWE.js +7 -0
- package/dist/chunk-Y7HUXUHX.js +30 -0
- package/dist/chunk-YQHNOQ3N.js +96 -0
- package/dist/chunk-Z3ID4UEE.js +55 -0
- package/dist/chunk-ZSFJVMJN.js +7 -0
- package/dist/errorMessage/src/ErrorMessage.css +12 -12
- package/dist/errorMessage/src/ErrorMessage.d.ts +1 -1
- package/dist/errorMessage/src/ErrorMessage.js +4 -4
- package/dist/errorMessage/src/ErrorMessageContext.d.ts +1 -1
- package/dist/errorMessage/src/ErrorMessageContext.js +1 -1
- package/dist/errorMessage/src/index.css +12 -12
- package/dist/errorMessage/src/index.d.ts +1 -1
- package/dist/errorMessage/src/index.js +4 -4
- package/dist/helperMessage/src/HelperMessage.css +12 -12
- package/dist/helperMessage/src/HelperMessage.d.ts +1 -1
- package/dist/helperMessage/src/HelperMessage.js +4 -4
- package/dist/helperMessage/src/HelperMessageContext.d.ts +1 -1
- package/dist/helperMessage/src/HelperMessageContext.js +1 -1
- package/dist/helperMessage/src/index.css +12 -12
- package/dist/helperMessage/src/index.d.ts +1 -1
- package/dist/helperMessage/src/index.js +4 -4
- package/dist/i18n/src/index.js +2 -2
- package/dist/i18n/src/useLocalizedString.js +2 -2
- package/dist/inputs/src/InputGroup.css +111 -0
- package/dist/inputs/src/InputGroup.d.ts +24 -0
- package/dist/inputs/src/InputGroup.js +6 -0
- package/dist/inputs/src/InputGroupContext.d.ts +8 -0
- package/dist/inputs/src/InputGroupContext.js +2 -0
- package/dist/inputs/src/PasswordField.css +2527 -0
- package/dist/inputs/src/PasswordField.d.ts +33 -0
- package/dist/inputs/src/PasswordField.js +186 -0
- package/dist/inputs/src/PasswordFieldContext.d.ts +8 -0
- package/dist/inputs/src/PasswordFieldContext.js +2 -0
- package/dist/inputs/src/SearchField.css +2548 -0
- package/dist/inputs/src/SearchField.d.ts +42 -0
- package/dist/inputs/src/SearchField.js +186 -0
- package/dist/inputs/src/SearchFieldContext.d.ts +8 -0
- package/dist/inputs/src/SearchFieldContext.js +2 -0
- package/dist/inputs/src/TextField.css +2531 -0
- package/dist/inputs/src/TextField.d.ts +49 -0
- package/dist/inputs/src/TextField.js +79 -0
- package/dist/inputs/src/TextFieldContext.d.ts +8 -0
- package/dist/inputs/src/TextFieldContext.js +2 -0
- package/dist/inputs/src/index.css +2531 -0
- package/dist/inputs/src/index.d.ts +7 -0
- package/dist/inputs/src/index.js +79 -0
- package/dist/layout/src/Content.d.ts +17 -0
- package/dist/layout/src/Content.js +3 -0
- package/dist/layout/src/ContentContext.d.ts +10 -0
- package/dist/layout/src/ContentContext.js +2 -0
- package/dist/layout/src/Flex.js +1 -1
- package/dist/layout/src/Footer.d.ts +17 -0
- package/dist/layout/src/Footer.js +3 -0
- package/dist/layout/src/FooterContext.d.ts +10 -0
- package/dist/layout/src/FooterContext.js +2 -0
- package/dist/layout/src/Grid.js +2 -55
- package/dist/layout/src/Inline.js +3 -31
- package/dist/layout/src/Stack.js +3 -29
- package/dist/overlays/Popover/src/Popover.css +2456 -0
- package/dist/overlays/Popover/src/Popover.d.ts +20 -0
- package/dist/overlays/Popover/src/Popover.js +76 -0
- package/dist/overlays/Popover/src/PopoverContext.d.ts +9 -0
- package/dist/overlays/Popover/src/PopoverContext.js +2 -0
- package/dist/overlays/Popover/src/index.css +2456 -0
- package/dist/overlays/Popover/src/index.d.ts +6 -0
- package/dist/overlays/Popover/src/index.js +76 -0
- package/dist/radio/src/Radio.css +31 -31
- package/dist/radio/src/Radio.js +5 -5
- package/dist/radio/src/RadioContext.js +1 -1
- package/dist/radio/src/RadioField.css +16 -16
- package/dist/radio/src/RadioField.js +5 -4
- package/dist/radio/src/RadioFieldContext.js +1 -1
- package/dist/radio/src/RadioGroup.css +137 -137
- package/dist/radio/src/RadioGroup.js +4 -4
- package/dist/radio/src/RadioGroupContext.js +1 -1
- package/dist/radio/src/RadioList.js +1 -1
- package/dist/radio/src/RadioListContext.js +1 -1
- package/dist/radio/src/index.css +71 -71
- package/dist/radio/src/index.js +9 -9
- package/dist/switch/src/Switch.css +26 -26
- package/dist/switch/src/Switch.js +5 -5
- package/dist/switch/src/SwitchContext.js +1 -1
- package/dist/switch/src/SwitchField.css +16 -16
- package/dist/switch/src/SwitchField.js +3 -3
- package/dist/switch/src/SwitchFieldContext.js +1 -1
- package/dist/switch/src/index.css +32 -32
- package/dist/switch/src/index.js +6 -6
- package/dist/tag/src/Tag.css +2380 -0
- package/dist/tag/src/Tag.d.ts +28 -0
- package/dist/tag/src/Tag.js +74 -0
- package/dist/tag/src/TagContext.d.ts +8 -0
- package/dist/tag/src/TagContext.js +2 -0
- package/dist/tag/src/TagGroup.css +239 -0
- package/dist/tag/src/TagGroup.d.ts +24 -0
- package/dist/tag/src/TagGroup.js +10 -0
- package/dist/tag/src/TagGroupContext.d.ts +8 -0
- package/dist/tag/src/TagGroupContext.js +2 -0
- package/dist/tag/src/TagList.d.ts +15 -0
- package/dist/tag/src/TagList.js +4 -0
- package/dist/tag/src/TagListContext.d.ts +8 -0
- package/dist/tag/src/TagListContext.js +2 -0
- package/dist/tag/src/index.css +2380 -0
- package/dist/tag/src/index.d.ts +9 -0
- package/dist/tag/src/index.js +74 -0
- package/dist/typography/Heading/src/Heading.css +2380 -0
- package/dist/typography/Heading/src/Heading.d.ts +57 -0
- package/dist/typography/Heading/src/Heading.js +74 -0
- package/dist/typography/Heading/src/HeadingContext.d.ts +8 -0
- package/dist/typography/Heading/src/HeadingContext.js +2 -0
- package/dist/typography/Heading/src/index.css +2380 -0
- package/dist/typography/Heading/src/index.d.ts +5 -0
- package/dist/typography/Heading/src/index.js +74 -0
- package/dist/{Label → typography/Label}/src/Label.css +14 -14
- package/dist/{Label → typography/Label}/src/Label.d.ts +2 -3
- package/dist/typography/Label/src/Label.js +4 -0
- package/dist/typography/Label/src/LabelContext.js +2 -0
- package/dist/{Label → typography/Label}/src/index.css +14 -14
- package/dist/{Label → typography/Label}/src/index.d.ts +1 -1
- package/dist/typography/Label/src/index.js +4 -0
- package/dist/typography/OverlineText/src/OverlineText.css +42 -0
- package/dist/typography/OverlineText/src/OverlineText.d.ts +15 -0
- package/dist/typography/OverlineText/src/OverlineText.js +4 -0
- package/dist/typography/OverlineText/src/OverlineTextContext.d.ts +8 -0
- package/dist/typography/OverlineText/src/OverlineTextContext.js +2 -0
- package/dist/typography/OverlineText/src/index.css +42 -0
- package/dist/typography/OverlineText/src/index.d.ts +5 -0
- package/dist/typography/OverlineText/src/index.js +4 -0
- package/dist/{Text → typography/Text}/src/Text.css +10 -10
- package/dist/typography/Text/src/Text.js +6 -0
- package/dist/typography/Text/src/TextContext.js +2 -0
- package/dist/{Text → typography/Text}/src/index.css +10 -10
- package/dist/typography/Text/src/index.js +6 -0
- package/dist/utils/src/ClearSlots.js +1 -1
- package/dist/utils/src/SlotProvider.js +1 -1
- package/dist/utils/src/assertion.d.ts +15 -0
- package/dist/utils/src/assertion.js +2 -0
- package/dist/utils/src/composeClassnameRenderProps.js +1 -1
- package/dist/utils/src/cssModule.js +1 -1
- package/dist/utils/src/index.d.ts +1 -0
- package/dist/utils/src/index.js +3 -2
- package/dist/utils/src/isTextOnlyChildren.js +1 -1
- package/dist/utils/src/useRenderProps.js +1 -1
- package/dist/utils/src/useSlot.js +1 -1
- package/package.json +13 -12
- package/dist/Label/src/Label.js +0 -4
- package/dist/Label/src/LabelContext.js +0 -2
- package/dist/Label/src/index.js +0 -4
- package/dist/Text/src/Text.js +0 -6
- package/dist/Text/src/TextContext.js +0 -2
- package/dist/Text/src/index.js +0 -6
- /package/dist/{Label → typography/Label}/src/LabelContext.d.ts +0 -0
- /package/dist/{Text → typography/Text}/src/Text.d.ts +0 -0
- /package/dist/{Text → typography/Text}/src/TextContext.d.ts +0 -0
- /package/dist/{Text → typography/Text}/src/index.d.ts +0 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { GlobalSwitchCssSelector, _Switch as Switch } from '../../chunk-
|
|
1
|
+
export { GlobalSwitchCssSelector, _Switch as Switch } from '../../chunk-XFKAXBB5.js';
|
|
2
2
|
import '../../chunk-YHBJAXUY.js';
|
|
3
3
|
import '../../chunk-ZWU6DRRZ.js';
|
|
4
|
-
import '../../chunk-
|
|
5
|
-
import '../../chunk-HUJ3PTM7.js';
|
|
4
|
+
import '../../chunk-4RIAVSLK.js';
|
|
6
5
|
import '../../chunk-HXI3MEEK.js';
|
|
7
|
-
import '../../chunk-
|
|
6
|
+
import '../../chunk-X6SER3TZ.js';
|
|
7
|
+
import '../../chunk-65JPI4FL.js';
|
|
8
8
|
import '../../chunk-KVDXQMWI.js';
|
|
9
9
|
import '../../chunk-M36KANKC.js';
|
|
10
10
|
import '../../chunk-DHVVYSLB.js';
|
|
11
|
-
import '../../chunk-
|
|
11
|
+
import '../../chunk-2P3A4VVY.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { SwitchContext } from '../../chunk-YHBJAXUY.js';
|
|
2
|
-
import '../../chunk-
|
|
2
|
+
import '../../chunk-2P3A4VVY.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/Text/src/Text.module.css/#css-module-data */
|
|
2
|
-
.Text-module__hop-
|
|
1
|
+
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/typography/Text/src/Text.module.css/#css-module-data */
|
|
2
|
+
.Text-module__hop-Text___M-T6r {
|
|
3
3
|
--hop-Text-xs-font-size: var(--hop-body-xs-font-size);
|
|
4
4
|
--hop-Text-xs-font-family: var(--hop-body-xs-font-family);
|
|
5
5
|
--hop-Text-xs-font-weight: var(--hop-body-xs-font-weight);
|
|
@@ -29,49 +29,49 @@
|
|
|
29
29
|
--hop-Text-inherit-size-font-weight: inherit;
|
|
30
30
|
--hop-Text-inherit-size-line-height: inherit;
|
|
31
31
|
}
|
|
32
|
-
:where(.Text-module__hop-
|
|
32
|
+
:where(.Text-module__hop-Text___M-T6r) {
|
|
33
33
|
font-family: var(--font-family);
|
|
34
34
|
font-size: var(--font-size);
|
|
35
35
|
font-weight: var(--font-weight);
|
|
36
36
|
line-height: var(--line-height);
|
|
37
37
|
}
|
|
38
|
-
:where(.Text-module__hop-Text--
|
|
38
|
+
:where(.Text-module__hop-Text--xs___4XQLX) {
|
|
39
39
|
--font-size: var(--hop-Text-xs-font-size);
|
|
40
40
|
--font-family: var(--hop-Text-xs-font-family);
|
|
41
41
|
--font-weight: var(--hop-Text-xs-font-weight);
|
|
42
42
|
--line-height: var(--hop-Text-xs-line-height);
|
|
43
43
|
}
|
|
44
|
-
:where(.Text-module__hop-Text--
|
|
44
|
+
:where(.Text-module__hop-Text--sm___dM76a) {
|
|
45
45
|
--font-size: var(--hop-Text-sm-font-size);
|
|
46
46
|
--font-family: var(--hop-Text-sm-font-family);
|
|
47
47
|
--font-weight: var(--hop-Text-sm-font-weight);
|
|
48
48
|
--line-height: var(--hop-Text-sm-line-height);
|
|
49
49
|
}
|
|
50
|
-
:where(.Text-module__hop-Text--
|
|
50
|
+
:where(.Text-module__hop-Text--md___M60JS) {
|
|
51
51
|
--font-size: var(--hop-Text-md-font-size);
|
|
52
52
|
--font-family: var(--hop-Text-md-font-family);
|
|
53
53
|
--font-weight: var(--hop-Text-md-font-weight);
|
|
54
54
|
--line-height: var(--hop-Text-md-line-height);
|
|
55
55
|
}
|
|
56
|
-
:where(.Text-module__hop-Text--
|
|
56
|
+
:where(.Text-module__hop-Text--lg___5mCtN) {
|
|
57
57
|
--font-size: var(--hop-Text-lg-font-size);
|
|
58
58
|
--font-family: var(--hop-Text-lg-font-family);
|
|
59
59
|
--font-weight: var(--hop-Text-lg-font-weight);
|
|
60
60
|
--line-height: var(--hop-Text-lg-line-height);
|
|
61
61
|
}
|
|
62
|
-
:where(.Text-module__hop-Text--
|
|
62
|
+
:where(.Text-module__hop-Text--xl___bi1Vo) {
|
|
63
63
|
--font-size: var(--hop-Text-xl-font-size);
|
|
64
64
|
--font-family: var(--hop-Text-xl-font-family);
|
|
65
65
|
--font-weight: var(--hop-Text-xl-font-weight);
|
|
66
66
|
--line-height: var(--hop-Text-xl-line-height);
|
|
67
67
|
}
|
|
68
|
-
:where(.Text-module__hop-Text--
|
|
68
|
+
:where(.Text-module__hop-Text--2xl___5SCg1) {
|
|
69
69
|
--font-size: var(--hop-Text-2xl-font-size);
|
|
70
70
|
--font-family: var(--hop-Text-2xl-font-family);
|
|
71
71
|
--font-weight: var(--hop-Text-2xl-font-weight);
|
|
72
72
|
--line-height: var(--hop-Text-2xl-line-height);
|
|
73
73
|
}
|
|
74
|
-
:where(.Text-module__hop-Text--
|
|
74
|
+
:where(.Text-module__hop-Text--inherit___X6rIb) {
|
|
75
75
|
--font-size: var(--hop-Text-inherit-size-font-size);
|
|
76
76
|
--font-family: var(--hop-Text-inherit-size-font-family);
|
|
77
77
|
--font-weight: var(--hop-Text-inherit-size-font-weight);
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/switch/src/SwitchField.module.css/#css-module-data */
|
|
82
|
-
.SwitchField-module__hop-
|
|
82
|
+
.SwitchField-module__hop-SwitchField___OlYHx {
|
|
83
83
|
--hop-SwitchField-description-color: var(--hop-neutral-text-weak);
|
|
84
84
|
--hop-SwitchField-description-color-disabled: var(--hop-neutral-text-disabled);
|
|
85
85
|
--hop-SwitchField-sm-row-gap: var(--hop-space-stack-xs);
|
|
@@ -98,22 +98,22 @@
|
|
|
98
98
|
inline-size: max-content;
|
|
99
99
|
max-inline-size: 100%;
|
|
100
100
|
}
|
|
101
|
-
.SwitchField-module__hop-
|
|
101
|
+
.SwitchField-module__hop-SwitchField___OlYHx[data-disabled] {
|
|
102
102
|
--description-color: var(--hop-SwitchField-description-color-disabled);
|
|
103
103
|
}
|
|
104
|
-
.SwitchField-module__hop-SwitchField--
|
|
104
|
+
.SwitchField-module__hop-SwitchField--sm___7s7Ty {
|
|
105
105
|
--row-gap: var(--hop-SwitchField-sm-row-gap);
|
|
106
106
|
--description-margin-inline-start: var(--hop-SwitchField-description-sm-margin-inline-start);
|
|
107
107
|
}
|
|
108
|
-
.SwitchField-module__hop-SwitchField--
|
|
108
|
+
.SwitchField-module__hop-SwitchField--md___gIbMI {
|
|
109
109
|
--row-gap: var(--hop-SwitchField-md-row-gap);
|
|
110
110
|
--description-margin-inline-start: var(--hop-SwitchField-description-md-margin-inline-start);
|
|
111
111
|
}
|
|
112
|
-
.SwitchField-module__hop-
|
|
112
|
+
.SwitchField-module__hop-SwitchField__description___Jj-gO {
|
|
113
113
|
order: 2;
|
|
114
114
|
margin-inline-start: var(--description-margin-inline-start, var(--hop-SwitchField-description-md-margin-inline-start));
|
|
115
115
|
color: var(--description-color);
|
|
116
116
|
}
|
|
117
|
-
.SwitchField-module__hop-
|
|
117
|
+
.SwitchField-module__hop-SwitchField__switch___OZkSD {
|
|
118
118
|
order: 1;
|
|
119
119
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { GlobalSwitchFieldCssSelector, _SwitchField as SwitchField } from '../../chunk-
|
|
1
|
+
export { GlobalSwitchFieldCssSelector, _SwitchField as SwitchField } from '../../chunk-OUN5KSHD.js';
|
|
2
2
|
import '../../chunk-H7VJS4MX.js';
|
|
3
3
|
import '../../chunk-YHBJAXUY.js';
|
|
4
|
-
import '../../chunk-
|
|
4
|
+
import '../../chunk-X6SER3TZ.js';
|
|
5
5
|
import '../../chunk-KVDXQMWI.js';
|
|
6
6
|
import '../../chunk-M36KANKC.js';
|
|
7
|
-
import '../../chunk-
|
|
7
|
+
import '../../chunk-2P3A4VVY.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { SwitchFieldContext } from '../../chunk-H7VJS4MX.js';
|
|
2
|
-
import '../../chunk-
|
|
2
|
+
import '../../chunk-2P3A4VVY.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
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-
|
|
2
|
+
.IconList-module__hop-IconList___bEeEm {
|
|
3
3
|
--hop-IconList-gap: var(--hop-space-inline-xs);
|
|
4
4
|
display: flex;
|
|
5
5
|
flex-wrap: wrap;
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
box-sizing: border-box;
|
|
8
8
|
}
|
|
9
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-
|
|
10
|
+
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/typography/Text/src/Text.module.css/#css-module-data */
|
|
11
|
+
.Text-module__hop-Text___M-T6r {
|
|
12
12
|
--hop-Text-xs-font-size: var(--hop-body-xs-font-size);
|
|
13
13
|
--hop-Text-xs-font-family: var(--hop-body-xs-font-family);
|
|
14
14
|
--hop-Text-xs-font-weight: var(--hop-body-xs-font-weight);
|
|
@@ -38,49 +38,49 @@
|
|
|
38
38
|
--hop-Text-inherit-size-font-weight: inherit;
|
|
39
39
|
--hop-Text-inherit-size-line-height: inherit;
|
|
40
40
|
}
|
|
41
|
-
:where(.Text-module__hop-
|
|
41
|
+
:where(.Text-module__hop-Text___M-T6r) {
|
|
42
42
|
font-family: var(--font-family);
|
|
43
43
|
font-size: var(--font-size);
|
|
44
44
|
font-weight: var(--font-weight);
|
|
45
45
|
line-height: var(--line-height);
|
|
46
46
|
}
|
|
47
|
-
:where(.Text-module__hop-Text--
|
|
47
|
+
:where(.Text-module__hop-Text--xs___4XQLX) {
|
|
48
48
|
--font-size: var(--hop-Text-xs-font-size);
|
|
49
49
|
--font-family: var(--hop-Text-xs-font-family);
|
|
50
50
|
--font-weight: var(--hop-Text-xs-font-weight);
|
|
51
51
|
--line-height: var(--hop-Text-xs-line-height);
|
|
52
52
|
}
|
|
53
|
-
:where(.Text-module__hop-Text--
|
|
53
|
+
:where(.Text-module__hop-Text--sm___dM76a) {
|
|
54
54
|
--font-size: var(--hop-Text-sm-font-size);
|
|
55
55
|
--font-family: var(--hop-Text-sm-font-family);
|
|
56
56
|
--font-weight: var(--hop-Text-sm-font-weight);
|
|
57
57
|
--line-height: var(--hop-Text-sm-line-height);
|
|
58
58
|
}
|
|
59
|
-
:where(.Text-module__hop-Text--
|
|
59
|
+
:where(.Text-module__hop-Text--md___M60JS) {
|
|
60
60
|
--font-size: var(--hop-Text-md-font-size);
|
|
61
61
|
--font-family: var(--hop-Text-md-font-family);
|
|
62
62
|
--font-weight: var(--hop-Text-md-font-weight);
|
|
63
63
|
--line-height: var(--hop-Text-md-line-height);
|
|
64
64
|
}
|
|
65
|
-
:where(.Text-module__hop-Text--
|
|
65
|
+
:where(.Text-module__hop-Text--lg___5mCtN) {
|
|
66
66
|
--font-size: var(--hop-Text-lg-font-size);
|
|
67
67
|
--font-family: var(--hop-Text-lg-font-family);
|
|
68
68
|
--font-weight: var(--hop-Text-lg-font-weight);
|
|
69
69
|
--line-height: var(--hop-Text-lg-line-height);
|
|
70
70
|
}
|
|
71
|
-
:where(.Text-module__hop-Text--
|
|
71
|
+
:where(.Text-module__hop-Text--xl___bi1Vo) {
|
|
72
72
|
--font-size: var(--hop-Text-xl-font-size);
|
|
73
73
|
--font-family: var(--hop-Text-xl-font-family);
|
|
74
74
|
--font-weight: var(--hop-Text-xl-font-weight);
|
|
75
75
|
--line-height: var(--hop-Text-xl-line-height);
|
|
76
76
|
}
|
|
77
|
-
:where(.Text-module__hop-Text--
|
|
77
|
+
:where(.Text-module__hop-Text--2xl___5SCg1) {
|
|
78
78
|
--font-size: var(--hop-Text-2xl-font-size);
|
|
79
79
|
--font-family: var(--hop-Text-2xl-font-family);
|
|
80
80
|
--font-weight: var(--hop-Text-2xl-font-weight);
|
|
81
81
|
--line-height: var(--hop-Text-2xl-line-height);
|
|
82
82
|
}
|
|
83
|
-
:where(.Text-module__hop-Text--
|
|
83
|
+
:where(.Text-module__hop-Text--inherit___X6rIb) {
|
|
84
84
|
--font-size: var(--hop-Text-inherit-size-font-size);
|
|
85
85
|
--font-family: var(--hop-Text-inherit-size-font-family);
|
|
86
86
|
--font-weight: var(--hop-Text-inherit-size-font-weight);
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/switch/src/Switch.module.css/#css-module-data */
|
|
91
|
-
.Switch-module__hop-
|
|
91
|
+
.Switch-module__hop-Switch___n4jxE {
|
|
92
92
|
--hop-Switch-border-size: 0.0625rem;
|
|
93
93
|
--hop-Switch-border-color: var(--hop-neutral-border);
|
|
94
94
|
--hop-Switch-border-radius: var(--hop-shape-rounded-lg);
|
|
@@ -146,56 +146,56 @@
|
|
|
146
146
|
inline-size: max-content;
|
|
147
147
|
max-inline-size: 100%;
|
|
148
148
|
}
|
|
149
|
-
.Switch-module__hop-Switch--
|
|
149
|
+
.Switch-module__hop-Switch--sm___-f1X2 {
|
|
150
150
|
--inline-size: var(--hop-Switch-inline-size-sm);
|
|
151
151
|
--block-size: var(--hop-Switch-block-size-sm);
|
|
152
152
|
--thumb-size: var(--hop-Switch-thumb-size-sm);
|
|
153
153
|
--inset-inline-start: var(--hop-Switch-inset-inline-start-sm);
|
|
154
154
|
--text-top-offset: var(--hop-Switch-text-top-offset-sm);
|
|
155
155
|
}
|
|
156
|
-
.Switch-module__hop-Switch--
|
|
156
|
+
.Switch-module__hop-Switch--md___QZsov {
|
|
157
157
|
--inline-size: var(--hop-Switch-inline-size-md);
|
|
158
158
|
--block-size: var(--hop-Switch-block-size-md);
|
|
159
159
|
--thumb-size: var(--hop-Switch-thumb-size-md);
|
|
160
160
|
--inset-inline-start: var(--hop-Switch-inset-inline-start-md);
|
|
161
161
|
--text-top-offset: var(--hop-Switch-text-top-offset-md);
|
|
162
162
|
}
|
|
163
|
-
.Switch-module__hop-
|
|
163
|
+
.Switch-module__hop-Switch___n4jxE[data-hovered] {
|
|
164
164
|
--border-color: var(--hop-Switch-border-color-hover);
|
|
165
165
|
--background-color: var(--hop-Switch-background-color-hover);
|
|
166
166
|
--thumb-color: var(--hop-Switch-thumb-color-hover);
|
|
167
167
|
--text-color: var(--hop-Switch-text-color-hover);
|
|
168
168
|
}
|
|
169
|
-
.Switch-module__hop-
|
|
170
|
-
.Switch-module__hop-
|
|
169
|
+
.Switch-module__hop-Switch___n4jxE[data-pressed],
|
|
170
|
+
.Switch-module__hop-Switch___n4jxE[data-pressed][data-focus-visible] {
|
|
171
171
|
--border-color: var(--hop-Switch-border-color-pressed);
|
|
172
172
|
--background-color: var(--hop-Switch-background-color-pressed);
|
|
173
173
|
--thumb-color: var(--hop-Switch-thumb-color-pressed);
|
|
174
174
|
--text-color: var(--hop-Switch-text-color-pressed);
|
|
175
175
|
}
|
|
176
|
-
.Switch-module__hop-
|
|
176
|
+
.Switch-module__hop-Switch___n4jxE[data-focus-visible] {
|
|
177
177
|
--border-color: var(--hop-Switch-border-color-focus);
|
|
178
178
|
--background-color: var(--hop-Switch-background-color-focus);
|
|
179
179
|
--thumb-color: var(--hop-Switch-thumb-color-focus);
|
|
180
180
|
--outline: 0.125rem solid var(--hop-Switch-focus-ring-color);
|
|
181
181
|
--text-color: var(--hop-Switch-text-color-focus);
|
|
182
182
|
}
|
|
183
|
-
.Switch-module__hop-
|
|
184
|
-
.Switch-module__hop-
|
|
183
|
+
.Switch-module__hop-Switch___n4jxE[data-selected],
|
|
184
|
+
.Switch-module__hop-Switch___n4jxE[data-selected][data-pressed] {
|
|
185
185
|
--border-color: var(--hop-Switch-border-color-selected);
|
|
186
186
|
--background-color: var(--hop-Switch-background-color-selected);
|
|
187
187
|
--thumb-color: var(--hop-Switch-thumb-color-selected);
|
|
188
188
|
--thumb-transform: translate(calc(var(--inline-size) - var(--thumb-size, var(--hop-Switch-thumb-size-md)) - (2 * var(--inset-inline-start, var(--hop-Switch-inset-inline-start-md))) - (2 * var(--border-size))), -50%);
|
|
189
189
|
--text-color: var(--hop-Switch-text-color-selected);
|
|
190
190
|
}
|
|
191
|
-
.Switch-module__hop-
|
|
191
|
+
.Switch-module__hop-Switch___n4jxE[data-disabled] {
|
|
192
192
|
--border-color: var(--hop-Switch-border-color-disabled);
|
|
193
193
|
--background-color: var(--hop-Switch-background-color-disabled);
|
|
194
194
|
--thumb-color: var(--hop-Switch-thumb-color-disabled);
|
|
195
195
|
--text-color: var(--hop-Switch-text-color-disabled);
|
|
196
196
|
--cursor: not-allowed;
|
|
197
197
|
}
|
|
198
|
-
.Switch-module__hop-
|
|
198
|
+
.Switch-module__hop-Switch__indicator___iRVTh {
|
|
199
199
|
position: relative;
|
|
200
200
|
flex: 0 0 auto;
|
|
201
201
|
box-sizing: border-box;
|
|
@@ -208,7 +208,7 @@
|
|
|
208
208
|
outline-offset: 0.125rem;
|
|
209
209
|
transition: background var(--hop-easing-duration-2), border-color var(--hop-easing-duration-2);
|
|
210
210
|
}
|
|
211
|
-
.Switch-module__hop-
|
|
211
|
+
.Switch-module__hop-Switch__indicator___iRVTh::before {
|
|
212
212
|
content: "";
|
|
213
213
|
position: absolute;
|
|
214
214
|
inset-block-start: 50%;
|
|
@@ -223,20 +223,20 @@
|
|
|
223
223
|
border-radius: var(--hop-shape-circle);
|
|
224
224
|
transition: transform var(--hop-easing-duration-2), background var(--hop-easing-duration-2);
|
|
225
225
|
}
|
|
226
|
-
.Switch-module__hop-
|
|
226
|
+
.Switch-module__hop-Switch__text___QeO6o {
|
|
227
227
|
flex: 0 1 auto;
|
|
228
228
|
order: 2;
|
|
229
229
|
min-inline-size: 0;
|
|
230
230
|
margin-block-start: var(--text-top-offset, var(--hop-Switch-text-top-offset-md));
|
|
231
231
|
color: var(--text-color);
|
|
232
232
|
}
|
|
233
|
-
.Switch-module__hop-Switch__icon-
|
|
234
|
-
.Switch-module__hop-
|
|
233
|
+
.Switch-module__hop-Switch__icon-list___ka5FC,
|
|
234
|
+
.Switch-module__hop-Switch__icon___j9U5W {
|
|
235
235
|
order: 3;
|
|
236
236
|
}
|
|
237
237
|
|
|
238
238
|
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/switch/src/SwitchField.module.css/#css-module-data */
|
|
239
|
-
.SwitchField-module__hop-
|
|
239
|
+
.SwitchField-module__hop-SwitchField___OlYHx {
|
|
240
240
|
--hop-SwitchField-description-color: var(--hop-neutral-text-weak);
|
|
241
241
|
--hop-SwitchField-description-color-disabled: var(--hop-neutral-text-disabled);
|
|
242
242
|
--hop-SwitchField-sm-row-gap: var(--hop-space-stack-xs);
|
|
@@ -255,22 +255,22 @@
|
|
|
255
255
|
inline-size: max-content;
|
|
256
256
|
max-inline-size: 100%;
|
|
257
257
|
}
|
|
258
|
-
.SwitchField-module__hop-
|
|
258
|
+
.SwitchField-module__hop-SwitchField___OlYHx[data-disabled] {
|
|
259
259
|
--description-color: var(--hop-SwitchField-description-color-disabled);
|
|
260
260
|
}
|
|
261
|
-
.SwitchField-module__hop-SwitchField--
|
|
261
|
+
.SwitchField-module__hop-SwitchField--sm___7s7Ty {
|
|
262
262
|
--row-gap: var(--hop-SwitchField-sm-row-gap);
|
|
263
263
|
--description-margin-inline-start: var(--hop-SwitchField-description-sm-margin-inline-start);
|
|
264
264
|
}
|
|
265
|
-
.SwitchField-module__hop-SwitchField--
|
|
265
|
+
.SwitchField-module__hop-SwitchField--md___gIbMI {
|
|
266
266
|
--row-gap: var(--hop-SwitchField-md-row-gap);
|
|
267
267
|
--description-margin-inline-start: var(--hop-SwitchField-description-md-margin-inline-start);
|
|
268
268
|
}
|
|
269
|
-
.SwitchField-module__hop-
|
|
269
|
+
.SwitchField-module__hop-SwitchField__description___Jj-gO {
|
|
270
270
|
order: 2;
|
|
271
271
|
margin-inline-start: var(--description-margin-inline-start, var(--hop-SwitchField-description-md-margin-inline-start));
|
|
272
272
|
color: var(--description-color);
|
|
273
273
|
}
|
|
274
|
-
.SwitchField-module__hop-
|
|
274
|
+
.SwitchField-module__hop-SwitchField__switch___OZkSD {
|
|
275
275
|
order: 1;
|
|
276
276
|
}
|
package/dist/switch/src/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { GlobalSwitchCssSelector, _Switch as Switch } from '../../chunk-XFKAXBB5.js';
|
|
2
|
+
export { GlobalSwitchFieldCssSelector, _SwitchField as SwitchField } from '../../chunk-OUN5KSHD.js';
|
|
2
3
|
export { SwitchFieldContext } from '../../chunk-H7VJS4MX.js';
|
|
3
|
-
export { GlobalSwitchCssSelector, _Switch as Switch } from '../../chunk-FD4HMY5A.js';
|
|
4
4
|
export { SwitchContext } from '../../chunk-YHBJAXUY.js';
|
|
5
5
|
import '../../chunk-ZWU6DRRZ.js';
|
|
6
|
-
import '../../chunk-
|
|
7
|
-
import '../../chunk-HUJ3PTM7.js';
|
|
6
|
+
import '../../chunk-4RIAVSLK.js';
|
|
8
7
|
import '../../chunk-HXI3MEEK.js';
|
|
9
|
-
import '../../chunk-
|
|
8
|
+
import '../../chunk-X6SER3TZ.js';
|
|
9
|
+
import '../../chunk-65JPI4FL.js';
|
|
10
10
|
import '../../chunk-KVDXQMWI.js';
|
|
11
11
|
import '../../chunk-M36KANKC.js';
|
|
12
12
|
import '../../chunk-DHVVYSLB.js';
|
|
13
|
-
import '../../chunk-
|
|
13
|
+
import '../../chunk-2P3A4VVY.js';
|