@hopper-ui/components 1.0.4 → 1.0.6
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 +13 -0
- package/README.md +3 -0
- package/dist/Avatar/src/AnonymousAvatar.css +69 -0
- package/dist/Avatar/src/AnonymousAvatar.d.ts +29 -0
- package/dist/Avatar/src/AnonymousAvatar.js +7 -0
- package/dist/Avatar/src/Avatar.css +265 -0
- package/dist/Avatar/src/Avatar.d.ts +60 -0
- package/dist/Avatar/src/Avatar.js +11 -0
- package/dist/Avatar/src/AvatarContext.d.ts +12 -0
- package/dist/Avatar/src/AvatarContext.js +2 -0
- package/dist/Avatar/src/DeletedAvatar.css +69 -0
- package/dist/Avatar/src/DeletedAvatar.d.ts +29 -0
- package/dist/Avatar/src/DeletedAvatar.js +7 -0
- package/dist/Avatar/src/RichIconAvatarImage.css +69 -0
- package/dist/Avatar/src/RichIconAvatarImage.d.ts +32 -0
- package/dist/Avatar/src/RichIconAvatarImage.js +5 -0
- package/dist/Avatar/src/RichIconAvatarImageContext.d.ts +14 -0
- package/dist/Avatar/src/RichIconAvatarImageContext.js +2 -0
- package/dist/Avatar/src/index.css +265 -0
- package/dist/Avatar/src/index.d.ts +14 -0
- package/dist/Avatar/src/index.js +13 -0
- package/dist/Avatar/src/useImageFallback.d.ts +34 -0
- package/dist/Avatar/src/useImageFallback.js +2 -0
- package/dist/{badge → Badge}/src/Badge.css +11 -11
- package/dist/{badge → Badge}/src/Badge.d.ts +1 -1
- package/dist/{badge → Badge}/src/Badge.js +4 -3
- package/dist/Badge/src/BadgeContext.js +2 -0
- package/dist/{badge → Badge}/src/index.css +11 -11
- package/dist/{badge → Badge}/src/index.js +4 -3
- 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 +5 -5
- package/dist/ErrorMessage/src/ErrorMessageContext.js +2 -0
- package/dist/{errorMessage → ErrorMessage}/src/index.css +12 -12
- package/dist/{errorMessage → ErrorMessage}/src/index.js +5 -5
- 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 +5 -5
- package/dist/HelperMessage/src/HelperMessageContext.js +2 -0
- package/dist/{helperMessage → HelperMessage}/src/index.css +12 -12
- package/dist/{helperMessage → HelperMessage}/src/index.js +5 -5
- package/dist/HopperProvider/src/HopperProvider.d.ts +1 -1
- 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/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/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 +3 -3
- package/dist/Spinner/src/index.css +19 -19
- package/dist/Spinner/src/index.js +3 -3
- package/dist/buttons/src/Button.css +103 -103
- package/dist/buttons/src/Button.d.ts +2 -2
- package/dist/buttons/src/Button.js +12 -12
- package/dist/buttons/src/ButtonGroup.css +11 -11
- package/dist/buttons/src/ButtonGroup.js +3 -3
- package/dist/buttons/src/ClearButton.css +12 -12
- package/dist/buttons/src/ClearButton.js +4 -4
- package/dist/buttons/src/EmbeddedButton.css +12 -12
- package/dist/buttons/src/EmbeddedButton.js +2 -2
- package/dist/buttons/src/index.css +126 -126
- package/dist/buttons/src/index.js +16 -16
- package/dist/checkbox/src/Checkbox.css +81 -96
- package/dist/checkbox/src/Checkbox.d.ts +3 -1
- package/dist/checkbox/src/Checkbox.js +6 -6
- package/dist/checkbox/src/CheckboxContext.d.ts +2 -0
- package/dist/checkbox/src/CheckboxField.css +15 -15
- package/dist/checkbox/src/CheckboxField.js +2 -2
- package/dist/checkbox/src/CheckboxGroup.css +118 -133
- package/dist/checkbox/src/CheckboxGroup.js +4 -4
- package/dist/checkbox/src/index.css +118 -133
- package/dist/checkbox/src/index.js +10 -10
- package/dist/{chunk-BGESEKEN.js → chunk-2XUHTPCX.js} +13 -7
- package/dist/{chunk-FGDSWA7S.js → chunk-37NW34QM.js} +5 -5
- package/dist/{chunk-F7HR3VI4.js → chunk-3A6TTZAA.js} +2 -2
- package/dist/{chunk-LSVXKVG4.js → chunk-3LH2JHUO.js} +4 -4
- package/dist/{chunk-ZAJJD5FY.js → chunk-4JAV3FIH.js} +6 -6
- package/dist/chunk-4TXFHYHL.js +52 -0
- package/dist/{chunk-OMBQ3J4O.js → chunk-53FHDOG7.js} +13 -7
- package/dist/chunk-5H5AZJPQ.js +7 -0
- package/dist/{chunk-WTKIUAHI.js → chunk-632B5YBQ.js} +1 -1
- package/dist/{chunk-XSASR6CK.js → chunk-6QMIRVLY.js} +2 -2
- package/dist/chunk-7JOGKC3W.js +7 -0
- package/dist/chunk-AES7QBQE.js +7 -0
- package/dist/chunk-BC5A7RHI.js +1260 -0
- package/dist/{chunk-HDYG2F3D.js → chunk-BKC74M6Y.js} +3 -3
- package/dist/{chunk-ZSFJVMJN.js → chunk-CQDLZ42T.js} +1 -1
- package/dist/chunk-E4ALW4MZ.js +250 -0
- package/dist/chunk-E4WFKXW4.js +161 -0
- package/dist/{chunk-PEPKE5SW.js → chunk-F2URSFJA.js} +5 -5
- package/dist/{chunk-ACVMW6YD.js → chunk-FAE27DLF.js} +1 -1
- package/dist/chunk-FYIHMKHI.js +7 -0
- package/dist/{chunk-Y7XWWUMU.js → chunk-G242LPQE.js} +2 -2
- package/dist/chunk-GFHBDUJD.js +17 -0
- package/dist/{chunk-2CKDJG6R.js → chunk-HR25MLRP.js} +1 -1
- package/dist/{chunk-ESVVLTEN.js → chunk-HZKFQ33E.js} +1 -1
- package/dist/chunk-I4VPBQI7.js +7 -0
- package/dist/chunk-ITQK6JTD.js +81 -0
- package/dist/chunk-J33IFG4U.js +46 -0
- package/dist/chunk-J53HGLCT.js +49 -0
- package/dist/{chunk-PDYU6DNF.js → chunk-JRDN364E.js} +5 -5
- package/dist/chunk-JTNMFPM4.js +41 -0
- package/dist/chunk-JUMJ6A3K.js +46 -0
- package/dist/chunk-JWW56J7M.js +7 -0
- package/dist/{chunk-BCHUEONM.js → chunk-K4ZGI7DJ.js} +1 -1
- package/dist/chunk-L5A2UTQV.js +43 -0
- package/dist/{chunk-6MSYEF4W.js → chunk-MED2BIDV.js} +2 -2
- package/dist/{chunk-QJBQRYJS.js → chunk-MVRI6GLQ.js} +3 -3
- package/dist/{chunk-Z3ID4UEE.js → chunk-N77LTZ4U.js} +3 -15
- package/dist/{chunk-ANVMQBBG.js → chunk-NMKBUGSO.js} +12 -1
- package/dist/chunk-NS3XVOQ7.js +53 -0
- package/dist/chunk-O5PTD6IN.js +41 -0
- package/dist/{chunk-5GRWAXTT.js → chunk-OHB5QR5P.js} +2 -2
- package/dist/chunk-OKZYR4RF.js +7 -0
- package/dist/{chunk-GBABMUAI.js → chunk-P5CWOV3L.js} +3 -3
- package/dist/{chunk-RCFB4SN4.js → chunk-QBCCF2C2.js} +6 -6
- package/dist/chunk-RA7PM75O.js +142 -0
- package/dist/{chunk-TSXPLL55.js → chunk-RCX5B3S3.js} +4 -4
- package/dist/{chunk-WGDP4ECF.js → chunk-RG4JKE4N.js} +3 -3
- package/dist/{chunk-LRXYIR2A.js → chunk-SOSHKMNI.js} +6 -5
- package/dist/chunk-UIEP5BA5.js +7 -0
- package/dist/{chunk-DZTMUFVC.js → chunk-V5GOY6TV.js} +2 -2
- package/dist/{chunk-Y3L6TPP3.js → chunk-XGKPMLYD.js} +8 -8
- package/dist/{chunk-N745TDH5.js → chunk-XRC7XE6B.js} +2 -2
- package/dist/chunk-Y2POLIXK.js +7 -0
- package/dist/{chunk-H6CDFWVR.js → chunk-ZOTVZM6F.js} +6 -2
- package/dist/i18n/src/index.js +1 -1
- package/dist/i18n/src/useLocalizedString.js +1 -1
- package/dist/inputs/src/InputGroup.css +12 -12
- package/dist/inputs/src/InputGroup.js +2 -2
- package/dist/inputs/src/PasswordField.css +1340 -570
- package/dist/inputs/src/PasswordField.js +80 -164
- package/dist/inputs/src/SearchField.css +1325 -576
- package/dist/inputs/src/SearchField.d.ts +2 -2
- package/dist/inputs/src/SearchField.js +80 -164
- package/dist/inputs/src/TextField.css +1337 -571
- package/dist/inputs/src/TextField.js +79 -56
- package/dist/inputs/src/index.css +1237 -471
- package/dist/inputs/src/index.d.ts +4 -0
- package/dist/inputs/src/index.js +79 -56
- package/dist/layout/src/Grid.d.ts +2 -22
- package/dist/layout/src/Grid.js +1 -1
- package/dist/layout/src/grid-helpers.d.ts +24 -0
- package/dist/layout/src/grid-helpers.js +2 -0
- package/dist/overlays/Popover/src/Popover.css +1480 -639
- package/dist/overlays/Popover/src/Popover.d.ts +5 -6
- package/dist/overlays/Popover/src/Popover.js +80 -54
- package/dist/overlays/Popover/src/PopoverContext.d.ts +1 -2
- 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 +1480 -639
- package/dist/overlays/Popover/src/index.d.ts +3 -2
- package/dist/overlays/Popover/src/index.js +80 -54
- package/dist/radio/src/Radio.css +69 -81
- package/dist/radio/src/Radio.d.ts +3 -1
- package/dist/radio/src/Radio.js +6 -6
- package/dist/radio/src/RadioContext.d.ts +2 -0
- package/dist/radio/src/RadioField.css +15 -15
- package/dist/radio/src/RadioField.js +4 -4
- package/dist/radio/src/RadioGroup.css +106 -118
- package/dist/radio/src/RadioGroup.js +5 -5
- package/dist/radio/src/index.css +106 -118
- package/dist/radio/src/index.js +11 -11
- package/dist/switch/src/Switch.css +27 -28
- package/dist/switch/src/Switch.js +6 -6
- package/dist/switch/src/SwitchField.css +15 -15
- package/dist/switch/src/SwitchField.js +2 -2
- package/dist/switch/src/index.css +33 -34
- package/dist/switch/src/index.js +7 -7
- package/dist/tag/src/Tag.css +1550 -633
- package/dist/tag/src/Tag.js +80 -52
- package/dist/tag/src/TagGroup.css +30 -30
- package/dist/tag/src/TagGroup.js +5 -5
- package/dist/tag/src/index.css +1550 -633
- package/dist/tag/src/index.js +80 -52
- package/dist/typography/Heading/src/Heading.css +1439 -522
- package/dist/typography/Heading/src/Heading.js +80 -52
- package/dist/typography/Heading/src/index.css +1439 -522
- package/dist/typography/Heading/src/index.js +80 -52
- package/dist/typography/Label/src/Label.css +9 -9
- package/dist/typography/Label/src/Label.js +1 -1
- package/dist/typography/Label/src/index.css +9 -9
- package/dist/typography/Label/src/index.js +1 -1
- package/dist/typography/OverlineText/src/OverlineText.css +6 -6
- package/dist/typography/OverlineText/src/OverlineText.js +1 -1
- package/dist/typography/OverlineText/src/index.css +6 -6
- package/dist/typography/OverlineText/src/index.js +1 -1
- package/dist/typography/Text/src/Text.css +9 -9
- package/dist/typography/Text/src/Text.js +3 -3
- package/dist/typography/Text/src/index.css +9 -9
- package/dist/typography/Text/src/index.js +3 -3
- package/dist/utils/src/index.d.ts +1 -1
- package/dist/utils/src/index.js +3 -3
- package/dist/utils/src/types.d.ts +16 -1
- package/package.json +5 -4
- package/dist/badge/src/BadgeContext.js +0 -2
- package/dist/chip/src/ChipContext.js +0 -2
- package/dist/chunk-CPWTHZGJ.js +0 -156
- package/dist/chunk-LJXTJRSB.js +0 -1
- package/dist/chunk-SWMFTL46.js +0 -373
- package/dist/chunk-TR7YX3IZ.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___dMC-1 {
|
|
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___B7ZPi {
|
|
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___B7ZPi) {
|
|
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___2lyVp) {
|
|
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___ZJw0q) {
|
|
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___JVXXA) {
|
|
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___cL0LO) {
|
|
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___KLn7g) {
|
|
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___gb6mt) {
|
|
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___-UFCW) {
|
|
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___xTzRj {
|
|
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);
|
|
@@ -139,63 +139,62 @@
|
|
|
139
139
|
cursor: var(--cursor);
|
|
140
140
|
display: inline-flex;
|
|
141
141
|
column-gap: var(--column-gap);
|
|
142
|
-
align-items:
|
|
143
|
-
|
|
144
|
-
justify-content: start;
|
|
142
|
+
align-items: flex-start;
|
|
143
|
+
justify-content: flex-start;
|
|
145
144
|
box-sizing: border-box;
|
|
146
145
|
inline-size: max-content;
|
|
147
146
|
max-inline-size: 100%;
|
|
148
147
|
}
|
|
149
|
-
.Switch-module__hop-Switch--
|
|
148
|
+
.Switch-module__hop-Switch--sm___pMOUQ {
|
|
150
149
|
--inline-size: var(--hop-Switch-inline-size-sm);
|
|
151
150
|
--block-size: var(--hop-Switch-block-size-sm);
|
|
152
151
|
--thumb-size: var(--hop-Switch-thumb-size-sm);
|
|
153
152
|
--inset-inline-start: var(--hop-Switch-inset-inline-start-sm);
|
|
154
153
|
--text-top-offset: var(--hop-Switch-text-top-offset-sm);
|
|
155
154
|
}
|
|
156
|
-
.Switch-module__hop-Switch--
|
|
155
|
+
.Switch-module__hop-Switch--md___XkV-u {
|
|
157
156
|
--inline-size: var(--hop-Switch-inline-size-md);
|
|
158
157
|
--block-size: var(--hop-Switch-block-size-md);
|
|
159
158
|
--thumb-size: var(--hop-Switch-thumb-size-md);
|
|
160
159
|
--inset-inline-start: var(--hop-Switch-inset-inline-start-md);
|
|
161
160
|
--text-top-offset: var(--hop-Switch-text-top-offset-md);
|
|
162
161
|
}
|
|
163
|
-
.Switch-module__hop-
|
|
162
|
+
.Switch-module__hop-Switch___xTzRj[data-hovered] {
|
|
164
163
|
--border-color: var(--hop-Switch-border-color-hover);
|
|
165
164
|
--background-color: var(--hop-Switch-background-color-hover);
|
|
166
165
|
--thumb-color: var(--hop-Switch-thumb-color-hover);
|
|
167
166
|
--text-color: var(--hop-Switch-text-color-hover);
|
|
168
167
|
}
|
|
169
|
-
.Switch-module__hop-
|
|
170
|
-
.Switch-module__hop-
|
|
168
|
+
.Switch-module__hop-Switch___xTzRj[data-pressed],
|
|
169
|
+
.Switch-module__hop-Switch___xTzRj[data-pressed][data-focus-visible] {
|
|
171
170
|
--border-color: var(--hop-Switch-border-color-pressed);
|
|
172
171
|
--background-color: var(--hop-Switch-background-color-pressed);
|
|
173
172
|
--thumb-color: var(--hop-Switch-thumb-color-pressed);
|
|
174
173
|
--text-color: var(--hop-Switch-text-color-pressed);
|
|
175
174
|
}
|
|
176
|
-
.Switch-module__hop-
|
|
175
|
+
.Switch-module__hop-Switch___xTzRj[data-focus-visible] {
|
|
177
176
|
--border-color: var(--hop-Switch-border-color-focus);
|
|
178
177
|
--background-color: var(--hop-Switch-background-color-focus);
|
|
179
178
|
--thumb-color: var(--hop-Switch-thumb-color-focus);
|
|
180
179
|
--outline: 0.125rem solid var(--hop-Switch-focus-ring-color);
|
|
181
180
|
--text-color: var(--hop-Switch-text-color-focus);
|
|
182
181
|
}
|
|
183
|
-
.Switch-module__hop-
|
|
184
|
-
.Switch-module__hop-
|
|
182
|
+
.Switch-module__hop-Switch___xTzRj[data-selected],
|
|
183
|
+
.Switch-module__hop-Switch___xTzRj[data-selected][data-pressed] {
|
|
185
184
|
--border-color: var(--hop-Switch-border-color-selected);
|
|
186
185
|
--background-color: var(--hop-Switch-background-color-selected);
|
|
187
186
|
--thumb-color: var(--hop-Switch-thumb-color-selected);
|
|
188
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%);
|
|
189
188
|
--text-color: var(--hop-Switch-text-color-selected);
|
|
190
189
|
}
|
|
191
|
-
.Switch-module__hop-
|
|
190
|
+
.Switch-module__hop-Switch___xTzRj[data-disabled] {
|
|
192
191
|
--border-color: var(--hop-Switch-border-color-disabled);
|
|
193
192
|
--background-color: var(--hop-Switch-background-color-disabled);
|
|
194
193
|
--thumb-color: var(--hop-Switch-thumb-color-disabled);
|
|
195
194
|
--text-color: var(--hop-Switch-text-color-disabled);
|
|
196
195
|
--cursor: not-allowed;
|
|
197
196
|
}
|
|
198
|
-
.Switch-module__hop-
|
|
197
|
+
.Switch-module__hop-Switch__indicator___tCcAc {
|
|
199
198
|
position: relative;
|
|
200
199
|
flex: 0 0 auto;
|
|
201
200
|
box-sizing: border-box;
|
|
@@ -208,7 +207,7 @@
|
|
|
208
207
|
outline-offset: 0.125rem;
|
|
209
208
|
transition: background var(--hop-easing-duration-2), border-color var(--hop-easing-duration-2);
|
|
210
209
|
}
|
|
211
|
-
.Switch-module__hop-
|
|
210
|
+
.Switch-module__hop-Switch__indicator___tCcAc::before {
|
|
212
211
|
content: "";
|
|
213
212
|
position: absolute;
|
|
214
213
|
inset-block-start: 50%;
|
|
@@ -223,14 +222,14 @@
|
|
|
223
222
|
border-radius: var(--hop-shape-circle);
|
|
224
223
|
transition: transform var(--hop-easing-duration-2), background var(--hop-easing-duration-2);
|
|
225
224
|
}
|
|
226
|
-
.Switch-module__hop-
|
|
225
|
+
.Switch-module__hop-Switch__text___nvsfu {
|
|
227
226
|
flex: 0 1 auto;
|
|
228
227
|
order: 2;
|
|
229
228
|
min-inline-size: 0;
|
|
230
229
|
margin-block-start: var(--text-top-offset, var(--hop-Switch-text-top-offset-md));
|
|
231
230
|
color: var(--text-color);
|
|
232
231
|
}
|
|
233
|
-
.Switch-module__hop-Switch__icon-
|
|
234
|
-
.Switch-module__hop-
|
|
232
|
+
.Switch-module__hop-Switch__icon-list___322IP,
|
|
233
|
+
.Switch-module__hop-Switch__icon___IIFNL {
|
|
235
234
|
order: 3;
|
|
236
235
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { GlobalSwitchCssSelector, _Switch as Switch } from '../../chunk-
|
|
1
|
+
export { GlobalSwitchCssSelector, _Switch as Switch } from '../../chunk-4JAV3FIH.js';
|
|
2
2
|
import '../../chunk-YHBJAXUY.js';
|
|
3
|
+
import '../../chunk-65JPI4FL.js';
|
|
3
4
|
import '../../chunk-ZWU6DRRZ.js';
|
|
4
|
-
import '../../chunk-
|
|
5
|
-
import '../../chunk-
|
|
5
|
+
import '../../chunk-DHVVYSLB.js';
|
|
6
|
+
import '../../chunk-RG4JKE4N.js';
|
|
6
7
|
import '../../chunk-X6SER3TZ.js';
|
|
7
|
-
import '../../chunk-
|
|
8
|
-
import '../../chunk-KVDXQMWI.js';
|
|
8
|
+
import '../../chunk-HXI3MEEK.js';
|
|
9
9
|
import '../../chunk-M36KANKC.js';
|
|
10
|
-
import '../../chunk-
|
|
10
|
+
import '../../chunk-KVDXQMWI.js';
|
|
11
11
|
import '../../chunk-2P3A4VVY.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___B7ZPi {
|
|
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___B7ZPi) {
|
|
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___2lyVp) {
|
|
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___ZJw0q) {
|
|
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___JVXXA) {
|
|
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___cL0LO) {
|
|
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___KLn7g) {
|
|
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___gb6mt) {
|
|
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___-UFCW) {
|
|
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___w3L7V {
|
|
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___w3L7V[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___xSnx9 {
|
|
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___lEJk0 {
|
|
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___qqhZZ {
|
|
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___sDRnX {
|
|
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-XRC7XE6B.js';
|
|
2
2
|
import '../../chunk-H7VJS4MX.js';
|
|
3
3
|
import '../../chunk-YHBJAXUY.js';
|
|
4
4
|
import '../../chunk-X6SER3TZ.js';
|
|
5
|
-
import '../../chunk-KVDXQMWI.js';
|
|
6
5
|
import '../../chunk-M36KANKC.js';
|
|
6
|
+
import '../../chunk-KVDXQMWI.js';
|
|
7
7
|
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___dMC-1 {
|
|
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___B7ZPi {
|
|
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___B7ZPi) {
|
|
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___2lyVp) {
|
|
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___ZJw0q) {
|
|
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___JVXXA) {
|
|
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___cL0LO) {
|
|
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___KLn7g) {
|
|
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___gb6mt) {
|
|
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___-UFCW) {
|
|
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___xTzRj {
|
|
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);
|
|
@@ -139,63 +139,62 @@
|
|
|
139
139
|
cursor: var(--cursor);
|
|
140
140
|
display: inline-flex;
|
|
141
141
|
column-gap: var(--column-gap);
|
|
142
|
-
align-items:
|
|
143
|
-
|
|
144
|
-
justify-content: start;
|
|
142
|
+
align-items: flex-start;
|
|
143
|
+
justify-content: flex-start;
|
|
145
144
|
box-sizing: border-box;
|
|
146
145
|
inline-size: max-content;
|
|
147
146
|
max-inline-size: 100%;
|
|
148
147
|
}
|
|
149
|
-
.Switch-module__hop-Switch--
|
|
148
|
+
.Switch-module__hop-Switch--sm___pMOUQ {
|
|
150
149
|
--inline-size: var(--hop-Switch-inline-size-sm);
|
|
151
150
|
--block-size: var(--hop-Switch-block-size-sm);
|
|
152
151
|
--thumb-size: var(--hop-Switch-thumb-size-sm);
|
|
153
152
|
--inset-inline-start: var(--hop-Switch-inset-inline-start-sm);
|
|
154
153
|
--text-top-offset: var(--hop-Switch-text-top-offset-sm);
|
|
155
154
|
}
|
|
156
|
-
.Switch-module__hop-Switch--
|
|
155
|
+
.Switch-module__hop-Switch--md___XkV-u {
|
|
157
156
|
--inline-size: var(--hop-Switch-inline-size-md);
|
|
158
157
|
--block-size: var(--hop-Switch-block-size-md);
|
|
159
158
|
--thumb-size: var(--hop-Switch-thumb-size-md);
|
|
160
159
|
--inset-inline-start: var(--hop-Switch-inset-inline-start-md);
|
|
161
160
|
--text-top-offset: var(--hop-Switch-text-top-offset-md);
|
|
162
161
|
}
|
|
163
|
-
.Switch-module__hop-
|
|
162
|
+
.Switch-module__hop-Switch___xTzRj[data-hovered] {
|
|
164
163
|
--border-color: var(--hop-Switch-border-color-hover);
|
|
165
164
|
--background-color: var(--hop-Switch-background-color-hover);
|
|
166
165
|
--thumb-color: var(--hop-Switch-thumb-color-hover);
|
|
167
166
|
--text-color: var(--hop-Switch-text-color-hover);
|
|
168
167
|
}
|
|
169
|
-
.Switch-module__hop-
|
|
170
|
-
.Switch-module__hop-
|
|
168
|
+
.Switch-module__hop-Switch___xTzRj[data-pressed],
|
|
169
|
+
.Switch-module__hop-Switch___xTzRj[data-pressed][data-focus-visible] {
|
|
171
170
|
--border-color: var(--hop-Switch-border-color-pressed);
|
|
172
171
|
--background-color: var(--hop-Switch-background-color-pressed);
|
|
173
172
|
--thumb-color: var(--hop-Switch-thumb-color-pressed);
|
|
174
173
|
--text-color: var(--hop-Switch-text-color-pressed);
|
|
175
174
|
}
|
|
176
|
-
.Switch-module__hop-
|
|
175
|
+
.Switch-module__hop-Switch___xTzRj[data-focus-visible] {
|
|
177
176
|
--border-color: var(--hop-Switch-border-color-focus);
|
|
178
177
|
--background-color: var(--hop-Switch-background-color-focus);
|
|
179
178
|
--thumb-color: var(--hop-Switch-thumb-color-focus);
|
|
180
179
|
--outline: 0.125rem solid var(--hop-Switch-focus-ring-color);
|
|
181
180
|
--text-color: var(--hop-Switch-text-color-focus);
|
|
182
181
|
}
|
|
183
|
-
.Switch-module__hop-
|
|
184
|
-
.Switch-module__hop-
|
|
182
|
+
.Switch-module__hop-Switch___xTzRj[data-selected],
|
|
183
|
+
.Switch-module__hop-Switch___xTzRj[data-selected][data-pressed] {
|
|
185
184
|
--border-color: var(--hop-Switch-border-color-selected);
|
|
186
185
|
--background-color: var(--hop-Switch-background-color-selected);
|
|
187
186
|
--thumb-color: var(--hop-Switch-thumb-color-selected);
|
|
188
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%);
|
|
189
188
|
--text-color: var(--hop-Switch-text-color-selected);
|
|
190
189
|
}
|
|
191
|
-
.Switch-module__hop-
|
|
190
|
+
.Switch-module__hop-Switch___xTzRj[data-disabled] {
|
|
192
191
|
--border-color: var(--hop-Switch-border-color-disabled);
|
|
193
192
|
--background-color: var(--hop-Switch-background-color-disabled);
|
|
194
193
|
--thumb-color: var(--hop-Switch-thumb-color-disabled);
|
|
195
194
|
--text-color: var(--hop-Switch-text-color-disabled);
|
|
196
195
|
--cursor: not-allowed;
|
|
197
196
|
}
|
|
198
|
-
.Switch-module__hop-
|
|
197
|
+
.Switch-module__hop-Switch__indicator___tCcAc {
|
|
199
198
|
position: relative;
|
|
200
199
|
flex: 0 0 auto;
|
|
201
200
|
box-sizing: border-box;
|
|
@@ -208,7 +207,7 @@
|
|
|
208
207
|
outline-offset: 0.125rem;
|
|
209
208
|
transition: background var(--hop-easing-duration-2), border-color var(--hop-easing-duration-2);
|
|
210
209
|
}
|
|
211
|
-
.Switch-module__hop-
|
|
210
|
+
.Switch-module__hop-Switch__indicator___tCcAc::before {
|
|
212
211
|
content: "";
|
|
213
212
|
position: absolute;
|
|
214
213
|
inset-block-start: 50%;
|
|
@@ -223,20 +222,20 @@
|
|
|
223
222
|
border-radius: var(--hop-shape-circle);
|
|
224
223
|
transition: transform var(--hop-easing-duration-2), background var(--hop-easing-duration-2);
|
|
225
224
|
}
|
|
226
|
-
.Switch-module__hop-
|
|
225
|
+
.Switch-module__hop-Switch__text___nvsfu {
|
|
227
226
|
flex: 0 1 auto;
|
|
228
227
|
order: 2;
|
|
229
228
|
min-inline-size: 0;
|
|
230
229
|
margin-block-start: var(--text-top-offset, var(--hop-Switch-text-top-offset-md));
|
|
231
230
|
color: var(--text-color);
|
|
232
231
|
}
|
|
233
|
-
.Switch-module__hop-Switch__icon-
|
|
234
|
-
.Switch-module__hop-
|
|
232
|
+
.Switch-module__hop-Switch__icon-list___322IP,
|
|
233
|
+
.Switch-module__hop-Switch__icon___IIFNL {
|
|
235
234
|
order: 3;
|
|
236
235
|
}
|
|
237
236
|
|
|
238
237
|
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/switch/src/SwitchField.module.css/#css-module-data */
|
|
239
|
-
.SwitchField-module__hop-
|
|
238
|
+
.SwitchField-module__hop-SwitchField___w3L7V {
|
|
240
239
|
--hop-SwitchField-description-color: var(--hop-neutral-text-weak);
|
|
241
240
|
--hop-SwitchField-description-color-disabled: var(--hop-neutral-text-disabled);
|
|
242
241
|
--hop-SwitchField-sm-row-gap: var(--hop-space-stack-xs);
|
|
@@ -255,22 +254,22 @@
|
|
|
255
254
|
inline-size: max-content;
|
|
256
255
|
max-inline-size: 100%;
|
|
257
256
|
}
|
|
258
|
-
.SwitchField-module__hop-
|
|
257
|
+
.SwitchField-module__hop-SwitchField___w3L7V[data-disabled] {
|
|
259
258
|
--description-color: var(--hop-SwitchField-description-color-disabled);
|
|
260
259
|
}
|
|
261
|
-
.SwitchField-module__hop-SwitchField--
|
|
260
|
+
.SwitchField-module__hop-SwitchField--sm___xSnx9 {
|
|
262
261
|
--row-gap: var(--hop-SwitchField-sm-row-gap);
|
|
263
262
|
--description-margin-inline-start: var(--hop-SwitchField-description-sm-margin-inline-start);
|
|
264
263
|
}
|
|
265
|
-
.SwitchField-module__hop-SwitchField--
|
|
264
|
+
.SwitchField-module__hop-SwitchField--md___lEJk0 {
|
|
266
265
|
--row-gap: var(--hop-SwitchField-md-row-gap);
|
|
267
266
|
--description-margin-inline-start: var(--hop-SwitchField-description-md-margin-inline-start);
|
|
268
267
|
}
|
|
269
|
-
.SwitchField-module__hop-
|
|
268
|
+
.SwitchField-module__hop-SwitchField__description___qqhZZ {
|
|
270
269
|
order: 2;
|
|
271
270
|
margin-inline-start: var(--description-margin-inline-start, var(--hop-SwitchField-description-md-margin-inline-start));
|
|
272
271
|
color: var(--description-color);
|
|
273
272
|
}
|
|
274
|
-
.SwitchField-module__hop-
|
|
273
|
+
.SwitchField-module__hop-SwitchField__switch___sDRnX {
|
|
275
274
|
order: 1;
|
|
276
275
|
}
|
package/dist/switch/src/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export { GlobalSwitchFieldCssSelector, _SwitchField as SwitchField } from '../../chunk-N745TDH5.js';
|
|
1
|
+
export { GlobalSwitchFieldCssSelector, _SwitchField as SwitchField } from '../../chunk-XRC7XE6B.js';
|
|
3
2
|
export { SwitchFieldContext } from '../../chunk-H7VJS4MX.js';
|
|
3
|
+
export { GlobalSwitchCssSelector, _Switch as Switch } from '../../chunk-4JAV3FIH.js';
|
|
4
4
|
export { SwitchContext } from '../../chunk-YHBJAXUY.js';
|
|
5
|
+
import '../../chunk-65JPI4FL.js';
|
|
5
6
|
import '../../chunk-ZWU6DRRZ.js';
|
|
6
|
-
import '../../chunk-
|
|
7
|
-
import '../../chunk-
|
|
7
|
+
import '../../chunk-DHVVYSLB.js';
|
|
8
|
+
import '../../chunk-RG4JKE4N.js';
|
|
8
9
|
import '../../chunk-X6SER3TZ.js';
|
|
9
|
-
import '../../chunk-
|
|
10
|
-
import '../../chunk-KVDXQMWI.js';
|
|
10
|
+
import '../../chunk-HXI3MEEK.js';
|
|
11
11
|
import '../../chunk-M36KANKC.js';
|
|
12
|
-
import '../../chunk-
|
|
12
|
+
import '../../chunk-KVDXQMWI.js';
|
|
13
13
|
import '../../chunk-2P3A4VVY.js';
|