@hopper-ui/components 1.0.5 → 1.0.7
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 +12 -0
- package/README.md +3 -0
- package/dist/Avatar/src/AnonymousAvatar.css +10 -10
- package/dist/Avatar/src/AnonymousAvatar.js +4 -4
- package/dist/Avatar/src/Avatar.css +37 -37
- package/dist/Avatar/src/Avatar.js +7 -7
- package/dist/Avatar/src/AvatarContext.js +1 -1
- package/dist/Avatar/src/DeletedAvatar.css +10 -10
- package/dist/Avatar/src/DeletedAvatar.js +4 -4
- package/dist/Avatar/src/RichIconAvatarImage.css +10 -10
- package/dist/Avatar/src/RichIconAvatarImage.js +3 -3
- package/dist/Avatar/src/RichIconAvatarImageContext.js +1 -1
- package/dist/Avatar/src/index.css +37 -37
- package/dist/Avatar/src/index.js +9 -9
- package/dist/Avatar/src/useImageFallback.js +1 -1
- package/dist/{badge → Badge}/src/Badge.css +11 -11
- package/dist/{badge → Badge}/src/Badge.d.ts +1 -1
- package/dist/Badge/src/Badge.js +7 -0
- package/dist/Badge/src/BadgeContext.js +2 -0
- package/dist/{badge → Badge}/src/index.css +11 -11
- package/dist/Badge/src/index.js +7 -0
- package/dist/{chip → Chip}/src/Chip.css +34 -34
- package/dist/{chip → Chip}/src/Chip.js +6 -6
- package/dist/Chip/src/ChipContext.js +2 -0
- package/dist/{chip → Chip}/src/index.css +34 -34
- package/dist/{chip → Chip}/src/index.js +6 -6
- package/dist/Divider/src/Divider.css +32 -0
- package/dist/Divider/src/Divider.d.ts +15 -0
- package/dist/Divider/src/Divider.js +4 -0
- package/dist/Divider/src/DividerContext.d.ts +8 -0
- package/dist/Divider/src/DividerContext.js +2 -0
- package/dist/Divider/src/index.css +32 -0
- package/dist/Divider/src/index.d.ts +5 -0
- package/dist/Divider/src/index.js +4 -0
- package/dist/{errorMessage → ErrorMessage}/src/ErrorMessage.css +12 -12
- package/dist/{errorMessage → ErrorMessage}/src/ErrorMessage.js +6 -6
- package/dist/ErrorMessage/src/ErrorMessageContext.js +2 -0
- package/dist/{errorMessage → ErrorMessage}/src/index.css +12 -12
- package/dist/{errorMessage → ErrorMessage}/src/index.js +6 -6
- package/dist/Header/src/Header.d.ts +17 -0
- package/dist/Header/src/Header.js +3 -0
- package/dist/Header/src/HeaderContext.d.ts +10 -0
- package/dist/Header/src/HeaderContext.js +2 -0
- package/dist/Header/src/index.d.ts +7 -0
- package/dist/Header/src/index.js +3 -0
- package/dist/{helperMessage → HelperMessage}/src/HelperMessage.css +12 -12
- package/dist/{helperMessage → HelperMessage}/src/HelperMessage.js +6 -6
- package/dist/HelperMessage/src/HelperMessageContext.js +2 -0
- package/dist/{helperMessage → HelperMessage}/src/index.css +12 -12
- package/dist/{helperMessage → HelperMessage}/src/index.js +6 -6
- package/dist/HopperProvider/src/HopperProvider.d.ts +1 -1
- package/dist/HopperProvider/src/HopperProvider.js +2 -2
- package/dist/HopperProvider/src/index.js +2 -2
- 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 +31 -31
- package/dist/Link/src/Link.js +7 -7
- package/dist/Link/src/LinkContext.js +1 -1
- package/dist/Link/src/index.css +31 -31
- package/dist/Link/src/index.js +7 -7
- package/dist/ListBox/src/ListBox.css +1434 -0
- package/dist/ListBox/src/ListBox.d.ts +48 -0
- package/dist/ListBox/src/ListBox.js +34 -0
- package/dist/ListBox/src/ListBoxContext.d.ts +10 -0
- package/dist/ListBox/src/ListBoxContext.js +2 -0
- package/dist/ListBox/src/ListBoxItem.css +1297 -0
- package/dist/ListBox/src/ListBoxItem.d.ts +39 -0
- package/dist/ListBox/src/ListBoxItem.js +27 -0
- package/dist/ListBox/src/ListBoxItemContext.d.ts +9 -0
- package/dist/ListBox/src/ListBoxItemContext.js +2 -0
- package/dist/ListBox/src/ListBoxItemSkeleton.css +56 -0
- package/dist/ListBox/src/ListBoxItemSkeleton.d.ts +23 -0
- package/dist/ListBox/src/ListBoxItemSkeleton.js +4 -0
- package/dist/ListBox/src/ListBoxItemSkeletonContext.d.ts +10 -0
- package/dist/ListBox/src/ListBoxItemSkeletonContext.js +2 -0
- package/dist/ListBox/src/index.css +1434 -0
- package/dist/ListBox/src/index.d.ts +8 -0
- package/dist/ListBox/src/index.js +34 -0
- package/dist/ListBox/src/useLoadOnScroll.d.ts +16 -0
- package/dist/ListBox/src/useLoadOnScroll.js +2 -0
- package/dist/Section/src/Section.d.ts +19 -0
- package/dist/Section/src/Section.js +3 -0
- package/dist/Section/src/SectionContext.d.ts +9 -0
- package/dist/Section/src/SectionContext.js +2 -0
- package/dist/Section/src/index.d.ts +6 -0
- package/dist/Section/src/index.js +3 -0
- package/dist/Spinner/src/Spinner.css +19 -19
- package/dist/Spinner/src/Spinner.js +4 -4
- package/dist/Spinner/src/SpinnerContext.js +1 -1
- package/dist/Spinner/src/index.css +19 -19
- package/dist/Spinner/src/index.js +4 -4
- package/dist/buttons/src/Button.css +103 -103
- package/dist/buttons/src/Button.js +12 -12
- package/dist/buttons/src/ButtonContext.js +1 -1
- package/dist/buttons/src/ButtonGroup.css +11 -11
- package/dist/buttons/src/ButtonGroup.js +4 -4
- package/dist/buttons/src/ButtonGroupContext.js +1 -1
- package/dist/buttons/src/ClearButton.css +12 -12
- package/dist/buttons/src/ClearButton.js +5 -5
- package/dist/buttons/src/ClearButtonContext.js +1 -1
- package/dist/buttons/src/EmbeddedButton.css +12 -12
- package/dist/buttons/src/EmbeddedButton.js +3 -3
- package/dist/buttons/src/EmbeddedButtonContext.js +1 -1
- package/dist/buttons/src/index.css +126 -126
- package/dist/buttons/src/index.js +16 -16
- package/dist/checkbox/src/Checkbox.css +79 -94
- 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/CheckboxContext.js +1 -1
- package/dist/checkbox/src/CheckboxField.css +15 -15
- package/dist/checkbox/src/CheckboxField.js +3 -3
- package/dist/checkbox/src/CheckboxFieldContext.js +1 -1
- package/dist/checkbox/src/CheckboxGroup.css +116 -131
- package/dist/checkbox/src/CheckboxGroup.js +6 -6
- 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 +116 -131
- package/dist/checkbox/src/index.js +12 -12
- package/dist/{chunk-GELM73MQ.js → chunk-2NJ3RDMJ.js} +12 -6
- package/dist/chunk-3LGP5T4C.js +625 -0
- package/dist/{chunk-W2SKBBWE.js → chunk-3WUDQLLR.js} +5 -5
- package/dist/{chunk-F7S2I43Y.js → chunk-4TJUYXYN.js} +2 -2
- package/dist/{chunk-22YUFCHD.js → chunk-4V75RYJN.js} +3 -3
- package/dist/{chunk-KOA2CREJ.js → chunk-5CIADHZR.js} +5 -5
- package/dist/chunk-5H5AZJPQ.js +7 -0
- package/dist/{chunk-WTKIUAHI.js → chunk-632B5YBQ.js} +1 -1
- package/dist/{chunk-WFPCHFJI.js → chunk-666H6UTL.js} +2 -2
- package/dist/chunk-7JOGKC3W.js +7 -0
- package/dist/chunk-AE24HPDG.js +49 -0
- package/dist/{chunk-UOBWYTW7.js → chunk-CK5HMGDC.js} +11 -11
- package/dist/{chunk-5F5CWOM4.js → chunk-COBPJHIY.js} +1 -1
- package/dist/{chunk-ZSFJVMJN.js → chunk-CQDLZ42T.js} +1 -1
- package/dist/{chunk-THCG3QCD.js → chunk-CXIMLIUB.js} +3 -3
- package/dist/chunk-DESANYPD.js +142 -0
- package/dist/{chunk-7Q7VIED2.js → chunk-E7Y25WJE.js} +3 -3
- package/dist/{chunk-3IEED7AY.js → chunk-EBXHYPDU.js} +1 -1
- package/dist/{chunk-ACVMW6YD.js → chunk-FAE27DLF.js} +1 -1
- package/dist/{chunk-TM6742MU.js → chunk-FMSIW5AX.js} +3 -3
- package/dist/chunk-FYIHMKHI.js +7 -0
- package/dist/{chunk-P7JRKXBD.js → chunk-HVUX7ZQ3.js} +2 -2
- package/dist/{chunk-ESVVLTEN.js → chunk-HZKFQ33E.js} +1 -1
- package/dist/chunk-I4VPBQI7.js +7 -0
- package/dist/{chunk-6WWYES56.js → chunk-IUQNDY3E.js} +5 -5
- package/dist/{chunk-2P3A4VVY.js → chunk-JSBRDJBE.js} +1 -6
- package/dist/chunk-JTNMFPM4.js +41 -0
- package/dist/chunk-L5A2UTQV.js +43 -0
- package/dist/{chunk-Z33QZKRG.js → chunk-LIUW56HE.js} +1 -1
- package/dist/{chunk-WNVTTHBK.js → chunk-LM4HMPSD.js} +6 -5
- package/dist/{chunk-ANVMQBBG.js → chunk-NMKBUGSO.js} +12 -1
- package/dist/{chunk-BD53A2LL.js → chunk-NQOLP5NY.js} +12 -6
- package/dist/chunk-O5PTD6IN.js +41 -0
- package/dist/{chunk-LUAIMTPE.js → chunk-OKAYIZ45.js} +7 -7
- package/dist/chunk-OKZYR4RF.js +7 -0
- package/dist/{chunk-CP4AWOFU.js → chunk-QACERXDV.js} +2 -2
- package/dist/{chunk-FYDLV5BM.js → chunk-R2UVMOIP.js} +1 -1
- package/dist/chunk-RW4GDPRX.js +52 -0
- package/dist/{chunk-OPFRM3JC.js → chunk-SHVSB6MD.js} +4 -4
- package/dist/{chunk-KQPY2D3P.js → chunk-SSCPXYN6.js} +5 -5
- package/dist/chunk-SXPMPVDJ.js +250 -0
- package/dist/chunk-U4NXU44C.js +118 -0
- package/dist/chunk-UIEP5BA5.js +7 -0
- package/dist/{chunk-KOJGCQ3F.js → chunk-UUUU6SUW.js} +4 -4
- package/dist/chunk-W2ZCHVKP.js +119 -0
- package/dist/{chunk-3OWQHIJ6.js → chunk-WSNJNUUA.js} +1 -1
- package/dist/{chunk-IIZECZAH.js → chunk-WXJ3U2DV.js} +3 -3
- package/dist/{chunk-UYVKDU2W.js → chunk-XC7OT325.js} +3 -3
- package/dist/{chunk-BVGKXCQH.js → chunk-XVKZ3Q3B.js} +2 -2
- package/dist/chunk-Y2POLIXK.js +7 -0
- package/dist/{chunk-H6CDFWVR.js → chunk-YEYNRBMQ.js} +7 -3
- package/dist/{chunk-T6VFQSII.js → chunk-YTPFSLHU.js} +5 -5
- package/dist/{chunk-GWEUWPLT.js → chunk-YZRL7TXT.js} +2 -2
- package/dist/chunk-ZMDHYGEP.js +57 -0
- package/dist/i18n/src/index.js +2 -2
- package/dist/i18n/src/useLocalizedString.js +2 -2
- package/dist/index.css +3297 -0
- package/dist/index.d.ts +113 -0
- package/dist/index.js +107 -0
- package/dist/inputs/src/InputGroup.css +12 -12
- package/dist/inputs/src/InputGroup.js +3 -3
- package/dist/inputs/src/InputGroupContext.js +1 -1
- package/dist/inputs/src/PasswordField.css +202 -1793
- package/dist/inputs/src/PasswordField.js +17 -188
- package/dist/inputs/src/PasswordFieldContext.js +1 -1
- package/dist/inputs/src/SearchField.css +208 -1799
- package/dist/inputs/src/SearchField.js +18 -187
- package/dist/inputs/src/SearchFieldContext.js +1 -1
- package/dist/inputs/src/TextField.css +203 -1794
- package/dist/inputs/src/TextField.js +16 -77
- package/dist/inputs/src/TextFieldContext.js +1 -1
- package/dist/inputs/src/index.css +292 -1794
- package/dist/inputs/src/index.d.ts +4 -0
- package/dist/inputs/src/index.js +20 -77
- package/dist/layout/src/Content.js +1 -1
- package/dist/layout/src/ContentContext.js +1 -1
- package/dist/layout/src/Flex.js +1 -1
- package/dist/layout/src/Footer.js +1 -1
- package/dist/layout/src/FooterContext.js +1 -1
- package/dist/layout/src/Grid.js +1 -1
- package/dist/layout/src/Inline.js +1 -1
- package/dist/layout/src/Stack.js +1 -1
- package/dist/layout/src/grid-helpers.js +1 -1
- package/dist/overlays/Popover/src/Popover.css +1211 -555
- package/dist/overlays/Popover/src/Popover.d.ts +5 -6
- package/dist/overlays/Popover/src/Popover.js +84 -61
- package/dist/overlays/Popover/src/PopoverContext.d.ts +1 -2
- package/dist/overlays/Popover/src/PopoverContext.js +1 -1
- package/dist/overlays/Popover/src/PopoverTrigger.d.ts +8 -0
- package/dist/overlays/Popover/src/PopoverTrigger.js +2 -0
- package/dist/overlays/Popover/src/index.css +1211 -555
- package/dist/overlays/Popover/src/index.d.ts +3 -2
- package/dist/overlays/Popover/src/index.js +84 -61
- package/dist/radio/src/Radio.css +67 -79
- 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/RadioContext.js +1 -1
- package/dist/radio/src/RadioField.css +15 -15
- package/dist/radio/src/RadioField.js +4 -4
- package/dist/radio/src/RadioFieldContext.js +1 -1
- package/dist/radio/src/RadioGroup.css +104 -116
- package/dist/radio/src/RadioGroup.js +6 -6
- 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 +104 -116
- package/dist/radio/src/index.js +11 -11
- package/dist/switch/src/Switch.css +25 -25
- package/dist/switch/src/Switch.js +6 -6
- package/dist/switch/src/SwitchContext.js +1 -1
- package/dist/switch/src/SwitchField.css +15 -15
- package/dist/switch/src/SwitchField.js +4 -4
- package/dist/switch/src/SwitchFieldContext.js +1 -1
- package/dist/switch/src/index.css +31 -31
- package/dist/switch/src/index.js +8 -8
- package/dist/tag/src/Tag.css +1280 -548
- package/dist/tag/src/Tag.js +85 -60
- package/dist/tag/src/TagContext.js +1 -1
- package/dist/tag/src/TagGroup.css +30 -30
- package/dist/tag/src/TagGroup.js +6 -6
- package/dist/tag/src/TagGroupContext.js +1 -1
- package/dist/tag/src/TagList.js +1 -1
- package/dist/tag/src/TagListContext.js +1 -1
- package/dist/tag/src/index.css +1280 -548
- package/dist/tag/src/index.js +85 -60
- package/dist/typography/Heading/src/Heading.css +9 -2490
- package/dist/typography/Heading/src/Heading.js +2 -80
- package/dist/typography/Heading/src/HeadingContext.js +1 -1
- package/dist/typography/Heading/src/index.css +9 -2490
- package/dist/typography/Heading/src/index.js +2 -80
- package/dist/typography/Label/src/Label.css +9 -9
- package/dist/typography/Label/src/Label.js +2 -2
- package/dist/typography/Label/src/LabelContext.js +1 -1
- package/dist/typography/Label/src/index.css +9 -9
- package/dist/typography/Label/src/index.js +2 -2
- package/dist/typography/OverlineText/src/OverlineText.css +6 -6
- package/dist/typography/OverlineText/src/OverlineText.js +2 -2
- package/dist/typography/OverlineText/src/OverlineTextContext.js +1 -1
- package/dist/typography/OverlineText/src/index.css +6 -6
- package/dist/typography/OverlineText/src/index.js +2 -2
- package/dist/typography/Text/src/Text.css +9 -9
- package/dist/typography/Text/src/Text.js +4 -4
- package/dist/typography/Text/src/TextContext.js +1 -1
- package/dist/typography/Text/src/index.css +9 -9
- package/dist/typography/Text/src/index.js +4 -4
- package/dist/utils/src/ClearSlots.js +1 -1
- package/dist/utils/src/SlotProvider.js +1 -1
- package/dist/utils/src/assertion.js +1 -1
- package/dist/utils/src/composeClassnameRenderProps.js +1 -1
- package/dist/utils/src/cssModule.js +1 -1
- package/dist/utils/src/index.d.ts +1 -1
- package/dist/utils/src/index.js +4 -4
- package/dist/utils/src/isTextOnlyChildren.js +1 -1
- package/dist/utils/src/types.d.ts +16 -1
- package/dist/utils/src/useRenderProps.js +1 -1
- package/dist/utils/src/useSlot.js +1 -1
- package/package.json +2 -2
- package/dist/badge/src/Badge.js +0 -6
- package/dist/badge/src/BadgeContext.js +0 -2
- package/dist/badge/src/index.js +0 -6
- package/dist/chip/src/ChipContext.js +0 -2
- package/dist/chunk-NXNV5JDN.js +0 -392
- package/dist/chunk-ZCEVY7LM.js +0 -96
- package/dist/errorMessage/src/ErrorMessageContext.js +0 -2
- package/dist/helperMessage/src/HelperMessageContext.js +0 -2
- /package/dist/{badge → Badge}/src/BadgeContext.d.ts +0 -0
- /package/dist/{badge → Badge}/src/index.d.ts +0 -0
- /package/dist/{chip → Chip}/src/Chip.d.ts +0 -0
- /package/dist/{chip → Chip}/src/ChipContext.d.ts +0 -0
- /package/dist/{chip → Chip}/src/index.d.ts +0 -0
- /package/dist/{errorMessage → ErrorMessage}/src/ErrorMessage.d.ts +0 -0
- /package/dist/{errorMessage → ErrorMessage}/src/ErrorMessageContext.d.ts +0 -0
- /package/dist/{errorMessage → ErrorMessage}/src/index.d.ts +0 -0
- /package/dist/{helperMessage → HelperMessage}/src/HelperMessage.d.ts +0 -0
- /package/dist/{helperMessage → HelperMessage}/src/HelperMessageContext.d.ts +0 -0
- /package/dist/{helperMessage → HelperMessage}/src/index.d.ts +0 -0
|
@@ -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___to9W2 {
|
|
3
3
|
--hop-IconList-gap: var(--hop-space-inline-xs);
|
|
4
4
|
display: flex;
|
|
5
5
|
flex-wrap: wrap;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
|
|
10
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-
|
|
11
|
+
.Text-module__hop-Text___QAKDh {
|
|
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___QAKDh) {
|
|
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___q7OkS) {
|
|
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___5RyDW) {
|
|
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___qmqwg) {
|
|
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___BZX0m) {
|
|
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___3Zi7y) {
|
|
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___RbrDM) {
|
|
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___G5g04) {
|
|
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___SEquW {
|
|
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);
|
|
@@ -145,56 +145,56 @@
|
|
|
145
145
|
inline-size: max-content;
|
|
146
146
|
max-inline-size: 100%;
|
|
147
147
|
}
|
|
148
|
-
.Switch-module__hop-Switch--
|
|
148
|
+
.Switch-module__hop-Switch--sm___fHOlk {
|
|
149
149
|
--inline-size: var(--hop-Switch-inline-size-sm);
|
|
150
150
|
--block-size: var(--hop-Switch-block-size-sm);
|
|
151
151
|
--thumb-size: var(--hop-Switch-thumb-size-sm);
|
|
152
152
|
--inset-inline-start: var(--hop-Switch-inset-inline-start-sm);
|
|
153
153
|
--text-top-offset: var(--hop-Switch-text-top-offset-sm);
|
|
154
154
|
}
|
|
155
|
-
.Switch-module__hop-Switch--
|
|
155
|
+
.Switch-module__hop-Switch--md___bpZdR {
|
|
156
156
|
--inline-size: var(--hop-Switch-inline-size-md);
|
|
157
157
|
--block-size: var(--hop-Switch-block-size-md);
|
|
158
158
|
--thumb-size: var(--hop-Switch-thumb-size-md);
|
|
159
159
|
--inset-inline-start: var(--hop-Switch-inset-inline-start-md);
|
|
160
160
|
--text-top-offset: var(--hop-Switch-text-top-offset-md);
|
|
161
161
|
}
|
|
162
|
-
.Switch-module__hop-
|
|
162
|
+
.Switch-module__hop-Switch___SEquW[data-hovered] {
|
|
163
163
|
--border-color: var(--hop-Switch-border-color-hover);
|
|
164
164
|
--background-color: var(--hop-Switch-background-color-hover);
|
|
165
165
|
--thumb-color: var(--hop-Switch-thumb-color-hover);
|
|
166
166
|
--text-color: var(--hop-Switch-text-color-hover);
|
|
167
167
|
}
|
|
168
|
-
.Switch-module__hop-
|
|
169
|
-
.Switch-module__hop-
|
|
168
|
+
.Switch-module__hop-Switch___SEquW[data-pressed],
|
|
169
|
+
.Switch-module__hop-Switch___SEquW[data-pressed][data-focus-visible] {
|
|
170
170
|
--border-color: var(--hop-Switch-border-color-pressed);
|
|
171
171
|
--background-color: var(--hop-Switch-background-color-pressed);
|
|
172
172
|
--thumb-color: var(--hop-Switch-thumb-color-pressed);
|
|
173
173
|
--text-color: var(--hop-Switch-text-color-pressed);
|
|
174
174
|
}
|
|
175
|
-
.Switch-module__hop-
|
|
175
|
+
.Switch-module__hop-Switch___SEquW[data-focus-visible] {
|
|
176
176
|
--border-color: var(--hop-Switch-border-color-focus);
|
|
177
177
|
--background-color: var(--hop-Switch-background-color-focus);
|
|
178
178
|
--thumb-color: var(--hop-Switch-thumb-color-focus);
|
|
179
179
|
--outline: 0.125rem solid var(--hop-Switch-focus-ring-color);
|
|
180
180
|
--text-color: var(--hop-Switch-text-color-focus);
|
|
181
181
|
}
|
|
182
|
-
.Switch-module__hop-
|
|
183
|
-
.Switch-module__hop-
|
|
182
|
+
.Switch-module__hop-Switch___SEquW[data-selected],
|
|
183
|
+
.Switch-module__hop-Switch___SEquW[data-selected][data-pressed] {
|
|
184
184
|
--border-color: var(--hop-Switch-border-color-selected);
|
|
185
185
|
--background-color: var(--hop-Switch-background-color-selected);
|
|
186
186
|
--thumb-color: var(--hop-Switch-thumb-color-selected);
|
|
187
187
|
--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%);
|
|
188
188
|
--text-color: var(--hop-Switch-text-color-selected);
|
|
189
189
|
}
|
|
190
|
-
.Switch-module__hop-
|
|
190
|
+
.Switch-module__hop-Switch___SEquW[data-disabled] {
|
|
191
191
|
--border-color: var(--hop-Switch-border-color-disabled);
|
|
192
192
|
--background-color: var(--hop-Switch-background-color-disabled);
|
|
193
193
|
--thumb-color: var(--hop-Switch-thumb-color-disabled);
|
|
194
194
|
--text-color: var(--hop-Switch-text-color-disabled);
|
|
195
195
|
--cursor: not-allowed;
|
|
196
196
|
}
|
|
197
|
-
.Switch-module__hop-
|
|
197
|
+
.Switch-module__hop-Switch__indicator___uUx3m {
|
|
198
198
|
position: relative;
|
|
199
199
|
flex: 0 0 auto;
|
|
200
200
|
box-sizing: border-box;
|
|
@@ -207,7 +207,7 @@
|
|
|
207
207
|
outline-offset: 0.125rem;
|
|
208
208
|
transition: background var(--hop-easing-duration-2), border-color var(--hop-easing-duration-2);
|
|
209
209
|
}
|
|
210
|
-
.Switch-module__hop-
|
|
210
|
+
.Switch-module__hop-Switch__indicator___uUx3m::before {
|
|
211
211
|
content: "";
|
|
212
212
|
position: absolute;
|
|
213
213
|
inset-block-start: 50%;
|
|
@@ -222,14 +222,14 @@
|
|
|
222
222
|
border-radius: var(--hop-shape-circle);
|
|
223
223
|
transition: transform var(--hop-easing-duration-2), background var(--hop-easing-duration-2);
|
|
224
224
|
}
|
|
225
|
-
.Switch-module__hop-
|
|
225
|
+
.Switch-module__hop-Switch__text___fdTPU {
|
|
226
226
|
flex: 0 1 auto;
|
|
227
227
|
order: 2;
|
|
228
228
|
min-inline-size: 0;
|
|
229
229
|
margin-block-start: var(--text-top-offset, var(--hop-Switch-text-top-offset-md));
|
|
230
230
|
color: var(--text-color);
|
|
231
231
|
}
|
|
232
|
-
.Switch-module__hop-Switch__icon-
|
|
233
|
-
.Switch-module__hop-
|
|
232
|
+
.Switch-module__hop-Switch__icon-list___3MhtC,
|
|
233
|
+
.Switch-module__hop-Switch__icon___TY0dJ {
|
|
234
234
|
order: 3;
|
|
235
235
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { GlobalSwitchCssSelector, _Switch as Switch } from '../../chunk-
|
|
1
|
+
export { GlobalSwitchCssSelector, _Switch as Switch } from '../../chunk-YTPFSLHU.js';
|
|
2
2
|
import '../../chunk-YHBJAXUY.js';
|
|
3
|
-
import '../../chunk-ZWU6DRRZ.js';
|
|
4
3
|
import '../../chunk-65JPI4FL.js';
|
|
4
|
+
import '../../chunk-ZWU6DRRZ.js';
|
|
5
5
|
import '../../chunk-DHVVYSLB.js';
|
|
6
|
-
import '../../chunk-
|
|
7
|
-
import '../../chunk-HXI3MEEK.js';
|
|
6
|
+
import '../../chunk-E7Y25WJE.js';
|
|
8
7
|
import '../../chunk-X6SER3TZ.js';
|
|
9
|
-
import '../../chunk-
|
|
8
|
+
import '../../chunk-HXI3MEEK.js';
|
|
10
9
|
import '../../chunk-M36KANKC.js';
|
|
11
|
-
import '../../chunk-
|
|
10
|
+
import '../../chunk-KVDXQMWI.js';
|
|
11
|
+
import '../../chunk-JSBRDJBE.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { SwitchContext } from '../../chunk-YHBJAXUY.js';
|
|
2
|
-
import '../../chunk-
|
|
2
|
+
import '../../chunk-JSBRDJBE.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
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-
|
|
2
|
+
.Text-module__hop-Text___QAKDh {
|
|
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___QAKDh) {
|
|
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___q7OkS) {
|
|
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___5RyDW) {
|
|
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___qmqwg) {
|
|
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___BZX0m) {
|
|
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___3Zi7y) {
|
|
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___RbrDM) {
|
|
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___G5g04) {
|
|
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___cXB1T {
|
|
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___cXB1T[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___6MUUx {
|
|
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___-JFZO {
|
|
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___GRPT3 {
|
|
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___qRL1p {
|
|
118
118
|
order: 1;
|
|
119
119
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { GlobalSwitchFieldCssSelector, _SwitchField as SwitchField } from '../../chunk-
|
|
2
|
-
import '../../chunk-H7VJS4MX.js';
|
|
1
|
+
export { GlobalSwitchFieldCssSelector, _SwitchField as SwitchField } from '../../chunk-CXIMLIUB.js';
|
|
3
2
|
import '../../chunk-YHBJAXUY.js';
|
|
3
|
+
import '../../chunk-H7VJS4MX.js';
|
|
4
4
|
import '../../chunk-X6SER3TZ.js';
|
|
5
|
-
import '../../chunk-KVDXQMWI.js';
|
|
6
5
|
import '../../chunk-M36KANKC.js';
|
|
7
|
-
import '../../chunk-
|
|
6
|
+
import '../../chunk-KVDXQMWI.js';
|
|
7
|
+
import '../../chunk-JSBRDJBE.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { SwitchFieldContext } from '../../chunk-H7VJS4MX.js';
|
|
2
|
-
import '../../chunk-
|
|
2
|
+
import '../../chunk-JSBRDJBE.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___to9W2 {
|
|
3
3
|
--hop-IconList-gap: var(--hop-space-inline-xs);
|
|
4
4
|
display: flex;
|
|
5
5
|
flex-wrap: wrap;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
|
|
10
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-
|
|
11
|
+
.Text-module__hop-Text___QAKDh {
|
|
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___QAKDh) {
|
|
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___q7OkS) {
|
|
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___5RyDW) {
|
|
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___qmqwg) {
|
|
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___BZX0m) {
|
|
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___3Zi7y) {
|
|
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___RbrDM) {
|
|
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___G5g04) {
|
|
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___SEquW {
|
|
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);
|
|
@@ -145,56 +145,56 @@
|
|
|
145
145
|
inline-size: max-content;
|
|
146
146
|
max-inline-size: 100%;
|
|
147
147
|
}
|
|
148
|
-
.Switch-module__hop-Switch--
|
|
148
|
+
.Switch-module__hop-Switch--sm___fHOlk {
|
|
149
149
|
--inline-size: var(--hop-Switch-inline-size-sm);
|
|
150
150
|
--block-size: var(--hop-Switch-block-size-sm);
|
|
151
151
|
--thumb-size: var(--hop-Switch-thumb-size-sm);
|
|
152
152
|
--inset-inline-start: var(--hop-Switch-inset-inline-start-sm);
|
|
153
153
|
--text-top-offset: var(--hop-Switch-text-top-offset-sm);
|
|
154
154
|
}
|
|
155
|
-
.Switch-module__hop-Switch--
|
|
155
|
+
.Switch-module__hop-Switch--md___bpZdR {
|
|
156
156
|
--inline-size: var(--hop-Switch-inline-size-md);
|
|
157
157
|
--block-size: var(--hop-Switch-block-size-md);
|
|
158
158
|
--thumb-size: var(--hop-Switch-thumb-size-md);
|
|
159
159
|
--inset-inline-start: var(--hop-Switch-inset-inline-start-md);
|
|
160
160
|
--text-top-offset: var(--hop-Switch-text-top-offset-md);
|
|
161
161
|
}
|
|
162
|
-
.Switch-module__hop-
|
|
162
|
+
.Switch-module__hop-Switch___SEquW[data-hovered] {
|
|
163
163
|
--border-color: var(--hop-Switch-border-color-hover);
|
|
164
164
|
--background-color: var(--hop-Switch-background-color-hover);
|
|
165
165
|
--thumb-color: var(--hop-Switch-thumb-color-hover);
|
|
166
166
|
--text-color: var(--hop-Switch-text-color-hover);
|
|
167
167
|
}
|
|
168
|
-
.Switch-module__hop-
|
|
169
|
-
.Switch-module__hop-
|
|
168
|
+
.Switch-module__hop-Switch___SEquW[data-pressed],
|
|
169
|
+
.Switch-module__hop-Switch___SEquW[data-pressed][data-focus-visible] {
|
|
170
170
|
--border-color: var(--hop-Switch-border-color-pressed);
|
|
171
171
|
--background-color: var(--hop-Switch-background-color-pressed);
|
|
172
172
|
--thumb-color: var(--hop-Switch-thumb-color-pressed);
|
|
173
173
|
--text-color: var(--hop-Switch-text-color-pressed);
|
|
174
174
|
}
|
|
175
|
-
.Switch-module__hop-
|
|
175
|
+
.Switch-module__hop-Switch___SEquW[data-focus-visible] {
|
|
176
176
|
--border-color: var(--hop-Switch-border-color-focus);
|
|
177
177
|
--background-color: var(--hop-Switch-background-color-focus);
|
|
178
178
|
--thumb-color: var(--hop-Switch-thumb-color-focus);
|
|
179
179
|
--outline: 0.125rem solid var(--hop-Switch-focus-ring-color);
|
|
180
180
|
--text-color: var(--hop-Switch-text-color-focus);
|
|
181
181
|
}
|
|
182
|
-
.Switch-module__hop-
|
|
183
|
-
.Switch-module__hop-
|
|
182
|
+
.Switch-module__hop-Switch___SEquW[data-selected],
|
|
183
|
+
.Switch-module__hop-Switch___SEquW[data-selected][data-pressed] {
|
|
184
184
|
--border-color: var(--hop-Switch-border-color-selected);
|
|
185
185
|
--background-color: var(--hop-Switch-background-color-selected);
|
|
186
186
|
--thumb-color: var(--hop-Switch-thumb-color-selected);
|
|
187
187
|
--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%);
|
|
188
188
|
--text-color: var(--hop-Switch-text-color-selected);
|
|
189
189
|
}
|
|
190
|
-
.Switch-module__hop-
|
|
190
|
+
.Switch-module__hop-Switch___SEquW[data-disabled] {
|
|
191
191
|
--border-color: var(--hop-Switch-border-color-disabled);
|
|
192
192
|
--background-color: var(--hop-Switch-background-color-disabled);
|
|
193
193
|
--thumb-color: var(--hop-Switch-thumb-color-disabled);
|
|
194
194
|
--text-color: var(--hop-Switch-text-color-disabled);
|
|
195
195
|
--cursor: not-allowed;
|
|
196
196
|
}
|
|
197
|
-
.Switch-module__hop-
|
|
197
|
+
.Switch-module__hop-Switch__indicator___uUx3m {
|
|
198
198
|
position: relative;
|
|
199
199
|
flex: 0 0 auto;
|
|
200
200
|
box-sizing: border-box;
|
|
@@ -207,7 +207,7 @@
|
|
|
207
207
|
outline-offset: 0.125rem;
|
|
208
208
|
transition: background var(--hop-easing-duration-2), border-color var(--hop-easing-duration-2);
|
|
209
209
|
}
|
|
210
|
-
.Switch-module__hop-
|
|
210
|
+
.Switch-module__hop-Switch__indicator___uUx3m::before {
|
|
211
211
|
content: "";
|
|
212
212
|
position: absolute;
|
|
213
213
|
inset-block-start: 50%;
|
|
@@ -222,20 +222,20 @@
|
|
|
222
222
|
border-radius: var(--hop-shape-circle);
|
|
223
223
|
transition: transform var(--hop-easing-duration-2), background var(--hop-easing-duration-2);
|
|
224
224
|
}
|
|
225
|
-
.Switch-module__hop-
|
|
225
|
+
.Switch-module__hop-Switch__text___fdTPU {
|
|
226
226
|
flex: 0 1 auto;
|
|
227
227
|
order: 2;
|
|
228
228
|
min-inline-size: 0;
|
|
229
229
|
margin-block-start: var(--text-top-offset, var(--hop-Switch-text-top-offset-md));
|
|
230
230
|
color: var(--text-color);
|
|
231
231
|
}
|
|
232
|
-
.Switch-module__hop-Switch__icon-
|
|
233
|
-
.Switch-module__hop-
|
|
232
|
+
.Switch-module__hop-Switch__icon-list___3MhtC,
|
|
233
|
+
.Switch-module__hop-Switch__icon___TY0dJ {
|
|
234
234
|
order: 3;
|
|
235
235
|
}
|
|
236
236
|
|
|
237
237
|
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/switch/src/SwitchField.module.css/#css-module-data */
|
|
238
|
-
.SwitchField-module__hop-
|
|
238
|
+
.SwitchField-module__hop-SwitchField___cXB1T {
|
|
239
239
|
--hop-SwitchField-description-color: var(--hop-neutral-text-weak);
|
|
240
240
|
--hop-SwitchField-description-color-disabled: var(--hop-neutral-text-disabled);
|
|
241
241
|
--hop-SwitchField-sm-row-gap: var(--hop-space-stack-xs);
|
|
@@ -254,22 +254,22 @@
|
|
|
254
254
|
inline-size: max-content;
|
|
255
255
|
max-inline-size: 100%;
|
|
256
256
|
}
|
|
257
|
-
.SwitchField-module__hop-
|
|
257
|
+
.SwitchField-module__hop-SwitchField___cXB1T[data-disabled] {
|
|
258
258
|
--description-color: var(--hop-SwitchField-description-color-disabled);
|
|
259
259
|
}
|
|
260
|
-
.SwitchField-module__hop-SwitchField--
|
|
260
|
+
.SwitchField-module__hop-SwitchField--sm___6MUUx {
|
|
261
261
|
--row-gap: var(--hop-SwitchField-sm-row-gap);
|
|
262
262
|
--description-margin-inline-start: var(--hop-SwitchField-description-sm-margin-inline-start);
|
|
263
263
|
}
|
|
264
|
-
.SwitchField-module__hop-SwitchField--
|
|
264
|
+
.SwitchField-module__hop-SwitchField--md___-JFZO {
|
|
265
265
|
--row-gap: var(--hop-SwitchField-md-row-gap);
|
|
266
266
|
--description-margin-inline-start: var(--hop-SwitchField-description-md-margin-inline-start);
|
|
267
267
|
}
|
|
268
|
-
.SwitchField-module__hop-
|
|
268
|
+
.SwitchField-module__hop-SwitchField__description___GRPT3 {
|
|
269
269
|
order: 2;
|
|
270
270
|
margin-inline-start: var(--description-margin-inline-start, var(--hop-SwitchField-description-md-margin-inline-start));
|
|
271
271
|
color: var(--description-color);
|
|
272
272
|
}
|
|
273
|
-
.SwitchField-module__hop-
|
|
273
|
+
.SwitchField-module__hop-SwitchField__switch___qRL1p {
|
|
274
274
|
order: 1;
|
|
275
275
|
}
|
package/dist/switch/src/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
3
|
-
export { GlobalSwitchCssSelector, _Switch as Switch } from '../../chunk-T6VFQSII.js';
|
|
1
|
+
export { GlobalSwitchCssSelector, _Switch as Switch } from '../../chunk-YTPFSLHU.js';
|
|
2
|
+
export { GlobalSwitchFieldCssSelector, _SwitchField as SwitchField } from '../../chunk-CXIMLIUB.js';
|
|
4
3
|
export { SwitchContext } from '../../chunk-YHBJAXUY.js';
|
|
5
|
-
|
|
4
|
+
export { SwitchFieldContext } from '../../chunk-H7VJS4MX.js';
|
|
6
5
|
import '../../chunk-65JPI4FL.js';
|
|
6
|
+
import '../../chunk-ZWU6DRRZ.js';
|
|
7
7
|
import '../../chunk-DHVVYSLB.js';
|
|
8
|
-
import '../../chunk-
|
|
9
|
-
import '../../chunk-HXI3MEEK.js';
|
|
8
|
+
import '../../chunk-E7Y25WJE.js';
|
|
10
9
|
import '../../chunk-X6SER3TZ.js';
|
|
11
|
-
import '../../chunk-
|
|
10
|
+
import '../../chunk-HXI3MEEK.js';
|
|
12
11
|
import '../../chunk-M36KANKC.js';
|
|
13
|
-
import '../../chunk-
|
|
12
|
+
import '../../chunk-KVDXQMWI.js';
|
|
13
|
+
import '../../chunk-JSBRDJBE.js';
|