@hopper-ui/components 1.0.2 → 1.0.4
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 +7 -7
- package/dist/Link/src/LinkContext.js +1 -1
- package/dist/Link/src/index.css +32 -32
- package/dist/Link/src/index.js +7 -7
- 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 +11 -11
- 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 +76 -40
- package/dist/buttons/src/ClearButton.d.ts +4 -3
- package/dist/buttons/src/ClearButton.js +6 -3
- package/dist/buttons/src/ClearButtonContext.d.ts +1 -0
- package/dist/buttons/src/ClearButtonContext.js +1 -1
- 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 +236 -161
- package/dist/buttons/src/index.d.ts +5 -0
- package/dist/buttons/src/index.js +17 -13
- package/dist/checkbox/src/Checkbox.css +39 -35
- package/dist/checkbox/src/Checkbox.js +6 -6
- package/dist/checkbox/src/CheckboxContext.js +1 -1
- package/dist/checkbox/src/CheckboxField.css +16 -16
- package/dist/checkbox/src/CheckboxField.js +5 -5
- package/dist/checkbox/src/CheckboxFieldContext.js +1 -1
- package/dist/checkbox/src/CheckboxGroup.css +79 -75
- package/dist/checkbox/src/CheckboxGroup.js +5 -5
- 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 +10 -10
- package/dist/chip/src/Chip.css +34 -34
- package/dist/chip/src/Chip.js +5 -5
- package/dist/chip/src/ChipContext.js +1 -1
- package/dist/chip/src/index.css +34 -34
- package/dist/chip/src/index.js +5 -5
- package/dist/{chunk-NUUG5PFN.js → chunk-2CKDJG6R.js} +2 -2
- package/dist/{chunk-YSQDPG26.js → chunk-2P3A4VVY.js} +6 -1
- package/dist/chunk-3NKF5TPD.js +7 -0
- package/dist/chunk-5GRWAXTT.js +32 -0
- package/dist/chunk-6BFSSZCY.js +7 -0
- package/dist/chunk-6MSYEF4W.js +69 -0
- package/dist/chunk-AQITZWYM.js +43 -0
- package/dist/chunk-BCHUEONM.js +44 -0
- package/dist/{chunk-TOCGJB3X.js → chunk-BGESEKEN.js} +5 -5
- package/dist/chunk-CPWTHZGJ.js +156 -0
- package/dist/chunk-D6UTDI2K.js +28 -0
- package/dist/chunk-DZTMUFVC.js +83 -0
- package/dist/chunk-EWMWQ2MC.js +7 -0
- package/dist/{chunk-MICIYADH.js → chunk-F7HR3VI4.js} +1 -1
- package/dist/chunk-FGDSWA7S.js +91 -0
- package/dist/{chunk-FJ4WILCG.js → chunk-GBABMUAI.js} +2 -2
- package/dist/chunk-GXBVNCVP.js +43 -0
- package/dist/{chunk-LL2FMAAO.js → chunk-H6CDFWVR.js} +9 -3
- package/dist/chunk-HDYG2F3D.js +82 -0
- package/dist/chunk-I67NHYK4.js +7 -0
- package/dist/chunk-IXB2WK56.js +7 -0
- package/dist/chunk-LCAS3YQV.js +7 -0
- package/dist/chunk-LJXTJRSB.js +1 -0
- package/dist/chunk-LRXYIR2A.js +56 -0
- package/dist/{chunk-6JSCWDLJ.js → chunk-LSVXKVG4.js} +4 -4
- package/dist/{chunk-O2WSE3EM.js → chunk-N745TDH5.js} +4 -4
- package/dist/chunk-O4XPUINW.js +7 -0
- package/dist/chunk-O7IJYNVQ.js +7 -0
- package/dist/{chunk-S67EVV3J.js → chunk-OMBQ3J4O.js} +5 -5
- package/dist/{chunk-LKE4VXIP.js → chunk-PDYU6DNF.js} +5 -5
- package/dist/{chunk-GYK77A5U.js → chunk-PEPKE5SW.js} +5 -4
- package/dist/{chunk-HVKOIMMW.js → chunk-QCA3ZR56.js} +1 -1
- package/dist/{chunk-N2QZWPQF.js → chunk-QJBQRYJS.js} +2 -2
- package/dist/chunk-QW45G6K4.js +7 -0
- package/dist/{chunk-XTRE6FPK.js → chunk-RCFB4SN4.js} +5 -5
- package/dist/chunk-SC6ZK5ON.js +7 -0
- package/dist/chunk-SWMFTL46.js +373 -0
- package/dist/chunk-TIPN4VYD.js +46 -0
- package/dist/chunk-TR7YX3IZ.js +96 -0
- package/dist/{chunk-FAXZNX63.js → chunk-TSXPLL55.js} +6 -5
- package/dist/chunk-TXZ6BMFR.js +7 -0
- package/dist/{chunk-2NABNL6G.js → chunk-WGDP4ECF.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-XLKYXKWE.js +7 -0
- package/dist/{chunk-IYQZFIWZ.js → chunk-XSASR6CK.js} +4 -4
- package/dist/{chunk-M67A5LAA.js → chunk-Y3L6TPP3.js} +11 -11
- package/dist/chunk-Y7HUXUHX.js +30 -0
- package/dist/{chunk-RLIG2IHH.js → chunk-Y7XWWUMU.js} +3 -3
- package/dist/chunk-Z3ID4UEE.js +55 -0
- package/dist/{chunk-CK42RJLK.js → chunk-ZAJJD5FY.js} +5 -5
- 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 +5 -5
- 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 +5 -5
- package/dist/helperMessage/src/HelperMessage.css +12 -12
- package/dist/helperMessage/src/HelperMessage.d.ts +1 -1
- package/dist/helperMessage/src/HelperMessage.js +5 -5
- 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 +5 -5
- 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 +6 -6
- 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 +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 +71 -71
- package/dist/radio/src/index.js +11 -11
- package/dist/switch/src/Switch.css +26 -26
- package/dist/switch/src/Switch.js +6 -6
- package/dist/switch/src/SwitchContext.js +1 -1
- package/dist/switch/src/SwitchField.css +16 -16
- package/dist/switch/src/SwitchField.js +5 -5
- package/dist/switch/src/SwitchFieldContext.js +1 -1
- package/dist/switch/src/index.css +32 -32
- package/dist/switch/src/index.js +8 -8
- 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 +4 -3
- 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 +14 -13
- 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/chunk-DBTHMTO4.js +0 -56
- /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,5 +1,5 @@
|
|
|
1
|
-
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/Label/src/Label.module.css/#css-module-data */
|
|
2
|
-
.Label-module__hop-
|
|
1
|
+
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/typography/Label/src/Label.module.css/#css-module-data */
|
|
2
|
+
.Label-module__hop-Label___7xL3v {
|
|
3
3
|
--hop-Label-xs-font-size: var(--hop-body-xs-font-size);
|
|
4
4
|
--hop-Label-xs-font-family: var(--hop-body-xs-font-family);
|
|
5
5
|
--hop-Label-xs-font-weight: var(--hop-body-xs-font-weight);
|
|
@@ -29,49 +29,49 @@
|
|
|
29
29
|
--hop-Label-inherit-size-font-weight: inherit;
|
|
30
30
|
--hop-Label-inherit-size-line-height: inherit;
|
|
31
31
|
}
|
|
32
|
-
:where(.Label-module__hop-
|
|
33
|
-
font-family: var(--font-family
|
|
34
|
-
font-size: var(--font-size
|
|
35
|
-
font-weight: var(--font-weight
|
|
36
|
-
line-height: var(--line-height
|
|
32
|
+
:where(.Label-module__hop-Label___7xL3v) {
|
|
33
|
+
font-family: var(--font-family);
|
|
34
|
+
font-size: var(--font-size);
|
|
35
|
+
font-weight: var(--font-weight);
|
|
36
|
+
line-height: var(--line-height);
|
|
37
37
|
}
|
|
38
|
-
:where(.Label-module__hop-Label--
|
|
38
|
+
:where(.Label-module__hop-Label--xs___CHLy3) {
|
|
39
39
|
--font-size: var(--hop-Label-xs-font-size);
|
|
40
40
|
--font-family: var(--hop-Label-xs-font-family);
|
|
41
41
|
--font-weight: var(--hop-Label-xs-font-weight);
|
|
42
42
|
--line-height: var(--hop-Label-xs-line-height);
|
|
43
43
|
}
|
|
44
|
-
:where(.Label-module__hop-Label--
|
|
44
|
+
:where(.Label-module__hop-Label--sm___oQzz3) {
|
|
45
45
|
--font-size: var(--hop-Label-sm-font-size);
|
|
46
46
|
--font-family: var(--hop-Label-sm-font-family);
|
|
47
47
|
--font-weight: var(--hop-Label-sm-font-weight);
|
|
48
48
|
--line-height: var(--hop-Label-sm-line-height);
|
|
49
49
|
}
|
|
50
|
-
:where(.Label-module__hop-Label--
|
|
50
|
+
:where(.Label-module__hop-Label--md___dLqF6) {
|
|
51
51
|
--font-size: var(--hop-Label-md-font-size);
|
|
52
52
|
--font-family: var(--hop-Label-md-font-family);
|
|
53
53
|
--font-weight: var(--hop-Label-md-font-weight);
|
|
54
54
|
--line-height: var(--hop-Label-md-line-height);
|
|
55
55
|
}
|
|
56
|
-
:where(.Label-module__hop-Label--
|
|
56
|
+
:where(.Label-module__hop-Label--lg___ViQCe) {
|
|
57
57
|
--font-size: var(--hop-Label-lg-font-size);
|
|
58
58
|
--font-family: var(--hop-Label-lg-font-family);
|
|
59
59
|
--font-weight: var(--hop-Label-lg-font-weight);
|
|
60
60
|
--line-height: var(--hop-Label-lg-line-height);
|
|
61
61
|
}
|
|
62
|
-
:where(.Label-module__hop-Label--
|
|
62
|
+
:where(.Label-module__hop-Label--xl___wlNpS) {
|
|
63
63
|
--font-size: var(--hop-Label-xl-font-size);
|
|
64
64
|
--font-family: var(--hop-Label-xl-font-family);
|
|
65
65
|
--font-weight: var(--hop-Label-xl-font-weight);
|
|
66
66
|
--line-height: var(--hop-Label-xl-line-height);
|
|
67
67
|
}
|
|
68
|
-
:where(.Label-module__hop-Label--
|
|
68
|
+
:where(.Label-module__hop-Label--2xl___N5Lkc) {
|
|
69
69
|
--font-size: var(--hop-Label-2xl-font-size);
|
|
70
70
|
--font-family: var(--hop-Label-2xl-font-family);
|
|
71
71
|
--font-weight: var(--hop-Label-2xl-font-weight);
|
|
72
72
|
--line-height: var(--hop-Label-2xl-line-height);
|
|
73
73
|
}
|
|
74
|
-
:where(.Label-module__hop-Label--
|
|
74
|
+
:where(.Label-module__hop-Label--inherit___UeeVB) {
|
|
75
75
|
--font-size: var(--hop-Label-inherit-size-font-size);
|
|
76
76
|
--font-family: var(--hop-Label-inherit-size-font-family);
|
|
77
77
|
--font-weight: var(--hop-Label-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/Spinner/src/Spinner.module.css/#css-module-data */
|
|
82
|
-
@keyframes Spinner-
|
|
82
|
+
@keyframes Spinner-module__spin___t8CGY {
|
|
83
83
|
0% {
|
|
84
84
|
transform: rotate(0deg);
|
|
85
85
|
}
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
transform: rotate(360deg);
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
|
-
.Spinner-module__hop-
|
|
90
|
+
.Spinner-module__hop-Spinner___WKQTI {
|
|
91
91
|
--hop-Spinner-border-radius: var(--hop-shape-circle);
|
|
92
92
|
--hop-Spinner-sm-wheel-size: 1rem;
|
|
93
93
|
--hop-Spinner-md-wheel-size: 1.25rem;
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
--hop-Spinner-track-width: 0.125rem;
|
|
96
96
|
--hop-Spinner-track-opacity: 0.2;
|
|
97
97
|
--hop-Spinner-track-border: var(--hop-Spinner-track-width) solid currentcolor;
|
|
98
|
-
--hop-Spinner-fill-animation: Spinner-
|
|
98
|
+
--hop-Spinner-fill-animation: Spinner-module__spin___t8CGY .8s infinite linear;
|
|
99
99
|
--hop-Spinner-fill-animation-reduced-motion-duration: 2s;
|
|
100
100
|
--hop-Spinner-fill-border: var(--hop-Spinner-track-width) solid transparent;
|
|
101
101
|
--hop-Spinner-fill-border-inline-start: var(--hop-Spinner-track-width) solid currentcolor;
|
|
@@ -106,43 +106,43 @@
|
|
|
106
106
|
align-items: center;
|
|
107
107
|
box-sizing: border-box;
|
|
108
108
|
}
|
|
109
|
-
.Spinner-module__hop-Spinner--
|
|
109
|
+
.Spinner-module__hop-Spinner--sm___YO1ZU {
|
|
110
110
|
--width: var(--hop-Spinner-sm-wheel-size);
|
|
111
111
|
--height: var(--hop-Spinner-sm-wheel-size);
|
|
112
112
|
}
|
|
113
|
-
.Spinner-module__hop-Spinner--
|
|
113
|
+
.Spinner-module__hop-Spinner--md___UiJMR {
|
|
114
114
|
--width: var(--hop-Spinner-md-wheel-size);
|
|
115
115
|
--height: var(--hop-Spinner-md-wheel-size);
|
|
116
116
|
}
|
|
117
|
-
.Spinner-module__hop-Spinner--
|
|
117
|
+
.Spinner-module__hop-Spinner--lg___uAp2X {
|
|
118
118
|
--width: var(--hop-Spinner-lg-wheel-size);
|
|
119
119
|
--height: var(--hop-Spinner-lg-wheel-size);
|
|
120
120
|
}
|
|
121
|
-
.Spinner-module__hop-
|
|
121
|
+
.Spinner-module__hop-Spinner__track___vU-oZ {
|
|
122
122
|
grid-area: spinner;
|
|
123
123
|
box-sizing: border-box;
|
|
124
|
-
inline-size: var(--width, --hop-Spinner-md-wheel-size);
|
|
125
|
-
block-size: var(--height, --hop-Spinner-md-wheel-size);
|
|
124
|
+
inline-size: var(--width, var(--hop-Spinner-md-wheel-size));
|
|
125
|
+
block-size: var(--height, var(--hop-Spinner-md-wheel-size));
|
|
126
126
|
opacity: var(--hop-Spinner-track-opacity);
|
|
127
127
|
border: var(--hop-Spinner-track-border);
|
|
128
128
|
border-radius: var(--hop-Spinner-border-radius);
|
|
129
129
|
}
|
|
130
|
-
.Spinner-module__hop-
|
|
130
|
+
.Spinner-module__hop-Spinner__fill___8gJAf {
|
|
131
131
|
grid-area: spinner;
|
|
132
132
|
box-sizing: border-box;
|
|
133
|
-
inline-size: var(--width, --hop-Spinner-md-wheel-size);
|
|
134
|
-
block-size: var(--height, --hop-Spinner-md-wheel-size);
|
|
135
|
-
border: var(
|
|
133
|
+
inline-size: var(--width, var(--hop-Spinner-md-wheel-size));
|
|
134
|
+
block-size: var(--height, var(--hop-Spinner-md-wheel-size));
|
|
135
|
+
border: var(--hop-Spinner-fill-border);
|
|
136
136
|
border-inline-start: var(--hop-Spinner-fill-border-inline-start);
|
|
137
137
|
border-radius: var(--hop-Spinner-border-radius);
|
|
138
138
|
animation: var(--hop-Spinner-fill-animation);
|
|
139
139
|
}
|
|
140
140
|
@media (prefers-reduced-motion: reduce) {
|
|
141
|
-
.Spinner-module__hop-
|
|
141
|
+
.Spinner-module__hop-Spinner__fill___8gJAf {
|
|
142
142
|
animation-duration: var(--hop-Spinner-fill-animation-reduced-motion-duration);
|
|
143
143
|
}
|
|
144
144
|
}
|
|
145
|
-
.Spinner-module__hop-
|
|
145
|
+
.Spinner-module__hop-Spinner__label___GxQ20 {
|
|
146
146
|
grid-area: label;
|
|
147
147
|
margin-inline-start: var(--hop-Spinner-label-margin-inline-start);
|
|
148
148
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { GlobalSpinnerCssSelector, _Spinner as Spinner } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
1
|
+
export { GlobalSpinnerCssSelector, _Spinner as Spinner } from '../../chunk-Y7XWWUMU.js';
|
|
2
|
+
import '../../chunk-2CKDJG6R.js';
|
|
3
|
+
import '../../chunk-QCA3ZR56.js';
|
|
3
4
|
export { SpinnerContext } from '../../chunk-4ZYV2XLW.js';
|
|
4
|
-
import '../../chunk-
|
|
5
|
+
import '../../chunk-65JPI4FL.js';
|
|
5
6
|
import '../../chunk-KVDXQMWI.js';
|
|
6
|
-
import '../../chunk-
|
|
7
|
-
import '../../chunk-YSQDPG26.js';
|
|
7
|
+
import '../../chunk-2P3A4VVY.js';
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/typography/OverlineText/src/OverlineText.module.css/#css-module-data */
|
|
2
|
+
:where(.OverlineText-module__hop-OverlineText___lA54v) {
|
|
3
|
+
--hop-OverlineText-font-family: var(--hop-overline-font-family);
|
|
4
|
+
--hop-OverlineText-font-size: var(--hop-overline-font-size);
|
|
5
|
+
--hop-OverlineText-font-weight: var(--hop-overline-font-weight);
|
|
6
|
+
--hop-OverlineText-letter-spacing: 0.015rem;
|
|
7
|
+
--hop-OverlineText-line-height: var(--hop-overline-line-height);
|
|
8
|
+
--hop-OverlineText-top-offset: var(--hop-overline-top-offset);
|
|
9
|
+
--hop-OverlineText-bottom-offset: var(--hop-overline-bottom-offset);
|
|
10
|
+
--font-family: var(--hop-OverlineText-font-family);
|
|
11
|
+
--font-size: var(--hop-OverlineText-font-size);
|
|
12
|
+
--font-weight: var(--hop-OverlineText-font-weight);
|
|
13
|
+
--letter-spacing: var(--hop-OverlineText-letter-spacing);
|
|
14
|
+
--line-height: var(--hop-OverlineText-line-height);
|
|
15
|
+
--top-offset: var(--hop-OverlineText-top-offset);
|
|
16
|
+
--bottom-offset: var(--hop-OverlineText-bottom-offset);
|
|
17
|
+
box-sizing: border-box;
|
|
18
|
+
font-family: var(--font-family);
|
|
19
|
+
font-size: var(--font-size);
|
|
20
|
+
font-feature-settings: "case";
|
|
21
|
+
font-weight: var(--font-weight);
|
|
22
|
+
line-height: var(--line-height);
|
|
23
|
+
text-transform: uppercase;
|
|
24
|
+
letter-spacing: var(--letter-spacing);
|
|
25
|
+
}
|
|
26
|
+
.OverlineText-module__hop-OverlineText__text___Z9gJ6 {
|
|
27
|
+
box-sizing: border-box;
|
|
28
|
+
}
|
|
29
|
+
.OverlineText-module__hop-OverlineText__text___Z9gJ6::before,
|
|
30
|
+
.OverlineText-module__hop-OverlineText__text___Z9gJ6::after {
|
|
31
|
+
content: "";
|
|
32
|
+
display: block;
|
|
33
|
+
box-sizing: border-box;
|
|
34
|
+
inline-size: 0;
|
|
35
|
+
block-size: 0;
|
|
36
|
+
}
|
|
37
|
+
.OverlineText-module__hop-OverlineText__text___Z9gJ6::before {
|
|
38
|
+
margin-block-end: var(--bottom-offset);
|
|
39
|
+
}
|
|
40
|
+
.OverlineText-module__hop-OverlineText__text___Z9gJ6::after {
|
|
41
|
+
margin-block-start: var(--top-offset);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/badge/src/Badge.module.css/#css-module-data */
|
|
45
|
+
.Badge-module__hop-Badge___mk1h- {
|
|
46
|
+
--hop-Badge-height: 1.5rem;
|
|
47
|
+
--hop-Badge-padding-inline: var(--hop-space-inset-sm);
|
|
48
|
+
--hop-Badge-border-radius: var(--hop-shape-pill);
|
|
49
|
+
--hop-Badge-primary-text-color: var(--hop-primary-text-strong);
|
|
50
|
+
--hop-Badge-primary-background-color: var(--hop-primary-surface-strong);
|
|
51
|
+
--hop-Badge-secondary-text-color: var(--hop-neutral-text);
|
|
52
|
+
--hop-Badge-secondary-background-color: var(--hop-neutral-surface-weak);
|
|
53
|
+
--hop-Badge-text-color-disabled: var(--hop-neutral-text-disabled);
|
|
54
|
+
--hop-Badge-background-color-disabled: var(--hop-neutral-surface-disabled);
|
|
55
|
+
--height: var(--hop-Badge-height);
|
|
56
|
+
--padding-inline: var(--hop-Badge-padding-inline);
|
|
57
|
+
--border-radius: var(--hop-Badge-border-radius);
|
|
58
|
+
display: inline-flex;
|
|
59
|
+
align-items: center;
|
|
60
|
+
justify-content: center;
|
|
61
|
+
box-sizing: border-box;
|
|
62
|
+
inline-size: max-content;
|
|
63
|
+
block-size: var(--height);
|
|
64
|
+
padding-inline: var(--padding-inline);
|
|
65
|
+
color: var(--text-color, var(--hop-Badge-primary-text-color));
|
|
66
|
+
background-color: var(--background-color, var(--hop-Badge-primary-background-color));
|
|
67
|
+
border-radius: var(--border-radius);
|
|
68
|
+
}
|
|
69
|
+
.Badge-module__hop-Badge--primary___RxxTa {
|
|
70
|
+
--background-color: var(--hop-Badge-primary-background-color);
|
|
71
|
+
--text-color: var(--hop-Badge-primary-text-color);
|
|
72
|
+
}
|
|
73
|
+
.Badge-module__hop-Badge--secondary___8k1fQ {
|
|
74
|
+
--background-color: var(--hop-Badge-secondary-background-color);
|
|
75
|
+
--text-color: var(--hop-Badge-secondary-text-color);
|
|
76
|
+
}
|
|
77
|
+
.Badge-module__hop-Badge___mk1h-[data-disabled] {
|
|
78
|
+
--background-color: var(--hop-Badge-background-color-disabled);
|
|
79
|
+
--text-color: var(--hop-Badge-text-color-disabled);
|
|
80
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { StyledSystemProps } from '@hopper-ui/styled-system';
|
|
3
|
+
import { BaseComponentProps } from '../../utils/src/types.js';
|
|
4
|
+
import '@react-types/shared';
|
|
5
|
+
import 'react-aria-components';
|
|
6
|
+
|
|
7
|
+
declare const GlobalBadgeCssSelector = "hop-Badge";
|
|
8
|
+
interface BadgeProps extends StyledSystemProps, BaseComponentProps {
|
|
9
|
+
/**
|
|
10
|
+
* The visual style of the badge.
|
|
11
|
+
* * @default "primary"
|
|
12
|
+
*/
|
|
13
|
+
variant?: "primary" | "secondary";
|
|
14
|
+
/**
|
|
15
|
+
* Whether or not the badge is disabled.
|
|
16
|
+
*/
|
|
17
|
+
isDisabled?: boolean;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* A badge, displaying either text or a count, serves to present notices or notifications associated with a parent component.
|
|
21
|
+
*
|
|
22
|
+
* [View Documentation](TODO)
|
|
23
|
+
*/
|
|
24
|
+
declare const _Badge: react.ForwardRefExoticComponent<BadgeProps & react.RefAttributes<HTMLSpanElement>>;
|
|
25
|
+
|
|
26
|
+
export { _Badge as Badge, type BadgeProps, GlobalBadgeCssSelector };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { BadgeProps } from './Badge.js';
|
|
2
|
+
import * as react from 'react';
|
|
3
|
+
import { ContextValue } from 'react-aria-components';
|
|
4
|
+
import '@hopper-ui/styled-system';
|
|
5
|
+
import '../../utils/src/types.js';
|
|
6
|
+
import '@react-types/shared';
|
|
7
|
+
|
|
8
|
+
declare const BadgeContext: react.Context<ContextValue<BadgeProps, HTMLSpanElement>>;
|
|
9
|
+
|
|
10
|
+
export { BadgeContext };
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/typography/OverlineText/src/OverlineText.module.css/#css-module-data */
|
|
2
|
+
:where(.OverlineText-module__hop-OverlineText___lA54v) {
|
|
3
|
+
--hop-OverlineText-font-family: var(--hop-overline-font-family);
|
|
4
|
+
--hop-OverlineText-font-size: var(--hop-overline-font-size);
|
|
5
|
+
--hop-OverlineText-font-weight: var(--hop-overline-font-weight);
|
|
6
|
+
--hop-OverlineText-letter-spacing: 0.015rem;
|
|
7
|
+
--hop-OverlineText-line-height: var(--hop-overline-line-height);
|
|
8
|
+
--hop-OverlineText-top-offset: var(--hop-overline-top-offset);
|
|
9
|
+
--hop-OverlineText-bottom-offset: var(--hop-overline-bottom-offset);
|
|
10
|
+
--font-family: var(--hop-OverlineText-font-family);
|
|
11
|
+
--font-size: var(--hop-OverlineText-font-size);
|
|
12
|
+
--font-weight: var(--hop-OverlineText-font-weight);
|
|
13
|
+
--letter-spacing: var(--hop-OverlineText-letter-spacing);
|
|
14
|
+
--line-height: var(--hop-OverlineText-line-height);
|
|
15
|
+
--top-offset: var(--hop-OverlineText-top-offset);
|
|
16
|
+
--bottom-offset: var(--hop-OverlineText-bottom-offset);
|
|
17
|
+
box-sizing: border-box;
|
|
18
|
+
font-family: var(--font-family);
|
|
19
|
+
font-size: var(--font-size);
|
|
20
|
+
font-feature-settings: "case";
|
|
21
|
+
font-weight: var(--font-weight);
|
|
22
|
+
line-height: var(--line-height);
|
|
23
|
+
text-transform: uppercase;
|
|
24
|
+
letter-spacing: var(--letter-spacing);
|
|
25
|
+
}
|
|
26
|
+
.OverlineText-module__hop-OverlineText__text___Z9gJ6 {
|
|
27
|
+
box-sizing: border-box;
|
|
28
|
+
}
|
|
29
|
+
.OverlineText-module__hop-OverlineText__text___Z9gJ6::before,
|
|
30
|
+
.OverlineText-module__hop-OverlineText__text___Z9gJ6::after {
|
|
31
|
+
content: "";
|
|
32
|
+
display: block;
|
|
33
|
+
box-sizing: border-box;
|
|
34
|
+
inline-size: 0;
|
|
35
|
+
block-size: 0;
|
|
36
|
+
}
|
|
37
|
+
.OverlineText-module__hop-OverlineText__text___Z9gJ6::before {
|
|
38
|
+
margin-block-end: var(--bottom-offset);
|
|
39
|
+
}
|
|
40
|
+
.OverlineText-module__hop-OverlineText__text___Z9gJ6::after {
|
|
41
|
+
margin-block-start: var(--top-offset);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/badge/src/Badge.module.css/#css-module-data */
|
|
45
|
+
.Badge-module__hop-Badge___mk1h- {
|
|
46
|
+
--hop-Badge-height: 1.5rem;
|
|
47
|
+
--hop-Badge-padding-inline: var(--hop-space-inset-sm);
|
|
48
|
+
--hop-Badge-border-radius: var(--hop-shape-pill);
|
|
49
|
+
--hop-Badge-primary-text-color: var(--hop-primary-text-strong);
|
|
50
|
+
--hop-Badge-primary-background-color: var(--hop-primary-surface-strong);
|
|
51
|
+
--hop-Badge-secondary-text-color: var(--hop-neutral-text);
|
|
52
|
+
--hop-Badge-secondary-background-color: var(--hop-neutral-surface-weak);
|
|
53
|
+
--hop-Badge-text-color-disabled: var(--hop-neutral-text-disabled);
|
|
54
|
+
--hop-Badge-background-color-disabled: var(--hop-neutral-surface-disabled);
|
|
55
|
+
--height: var(--hop-Badge-height);
|
|
56
|
+
--padding-inline: var(--hop-Badge-padding-inline);
|
|
57
|
+
--border-radius: var(--hop-Badge-border-radius);
|
|
58
|
+
display: inline-flex;
|
|
59
|
+
align-items: center;
|
|
60
|
+
justify-content: center;
|
|
61
|
+
box-sizing: border-box;
|
|
62
|
+
inline-size: max-content;
|
|
63
|
+
block-size: var(--height);
|
|
64
|
+
padding-inline: var(--padding-inline);
|
|
65
|
+
color: var(--text-color, var(--hop-Badge-primary-text-color));
|
|
66
|
+
background-color: var(--background-color, var(--hop-Badge-primary-background-color));
|
|
67
|
+
border-radius: var(--border-radius);
|
|
68
|
+
}
|
|
69
|
+
.Badge-module__hop-Badge--primary___RxxTa {
|
|
70
|
+
--background-color: var(--hop-Badge-primary-background-color);
|
|
71
|
+
--text-color: var(--hop-Badge-primary-text-color);
|
|
72
|
+
}
|
|
73
|
+
.Badge-module__hop-Badge--secondary___8k1fQ {
|
|
74
|
+
--background-color: var(--hop-Badge-secondary-background-color);
|
|
75
|
+
--text-color: var(--hop-Badge-secondary-text-color);
|
|
76
|
+
}
|
|
77
|
+
.Badge-module__hop-Badge___mk1h-[data-disabled] {
|
|
78
|
+
--background-color: var(--hop-Badge-background-color-disabled);
|
|
79
|
+
--text-color: var(--hop-Badge-text-color-disabled);
|
|
80
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { Badge, BadgeProps, GlobalBadgeCssSelector } from './Badge.js';
|
|
2
|
+
export { BadgeContext } from './BadgeContext.js';
|
|
3
|
+
import 'react';
|
|
4
|
+
import '@hopper-ui/styled-system';
|
|
5
|
+
import '../../utils/src/types.js';
|
|
6
|
+
import '@react-types/shared';
|
|
7
|
+
import 'react-aria-components';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { _Badge as Badge, GlobalBadgeCssSelector } from '../../chunk-LRXYIR2A.js';
|
|
2
|
+
import '../../chunk-BCHUEONM.js';
|
|
3
|
+
import '../../chunk-WPNVVGFW.js';
|
|
4
|
+
export { BadgeContext } from '../../chunk-ZSFJVMJN.js';
|
|
5
|
+
import '../../chunk-KVDXQMWI.js';
|
|
6
|
+
import '../../chunk-2P3A4VVY.js';
|