@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
package/dist/chip/src/Chip.css
CHANGED
|
@@ -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___CIQko {
|
|
3
3
|
--hop-IconList-gap: var(--hop-space-inline-xs);
|
|
4
4
|
display: flex;
|
|
5
5
|
flex-wrap: wrap;
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
box-sizing: border-box;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/Text/src/Text.module.css/#css-module-data */
|
|
11
|
-
.Text-module__hop-
|
|
10
|
+
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/typography/Text/src/Text.module.css/#css-module-data */
|
|
11
|
+
.Text-module__hop-Text___L5SE4 {
|
|
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___L5SE4) {
|
|
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___4XSOM) {
|
|
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___rxq9a) {
|
|
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___I1rkh) {
|
|
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___A5qVa) {
|
|
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___W3xPi) {
|
|
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___C50TH) {
|
|
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___YDakN) {
|
|
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/chip/src/Chip.module.css/#css-module-data */
|
|
91
|
-
.Chip-module__hop-
|
|
91
|
+
.Chip-module__hop-Chip___224kd {
|
|
92
92
|
--hop-Chip-border-size: 0.0625rem;
|
|
93
93
|
--hop-Chip-border-radius: var(--hop-shape-pill);
|
|
94
94
|
--hop-Chip-column-gap: var(--hop-space-inline-xs);
|
|
@@ -158,94 +158,94 @@
|
|
|
158
158
|
border: var(--border-size) solid var(--border-color);
|
|
159
159
|
border-radius: var(--border-radius);
|
|
160
160
|
}
|
|
161
|
-
.Chip-module__hop-Chip--
|
|
161
|
+
.Chip-module__hop-Chip--xs___vVaFu {
|
|
162
162
|
--block-size: var(--hop-Chip-xs-block-size);
|
|
163
163
|
--padding-inline: var(--hop-Chip-xs-padding-inline);
|
|
164
164
|
}
|
|
165
|
-
.Chip-module__hop-Chip--
|
|
165
|
+
.Chip-module__hop-Chip--sm___ay2-7 {
|
|
166
166
|
--block-size: var(--hop-Chip-sm-block-size);
|
|
167
167
|
--padding-inline: var(--hop-Chip-sm-padding-inline);
|
|
168
168
|
}
|
|
169
|
-
.Chip-module__hop-Chip--
|
|
169
|
+
.Chip-module__hop-Chip--md___bPrjx {
|
|
170
170
|
--block-size: var(--hop-Chip-md-block-size);
|
|
171
171
|
--padding-inline: var(--hop-Chip-md-padding-inline);
|
|
172
172
|
}
|
|
173
|
-
.Chip-module__hop-Chip--
|
|
173
|
+
.Chip-module__hop-Chip--lg___Ep8YA {
|
|
174
174
|
--block-size: var(--hop-Chip-lg-block-size);
|
|
175
175
|
--padding-inline: var(--hop-Chip-lg-padding-inline);
|
|
176
176
|
}
|
|
177
|
-
.Chip-module__hop-Chip--
|
|
177
|
+
.Chip-module__hop-Chip--neutral___iuOzW {
|
|
178
178
|
--border-color: var(--hop-Chip-neutral-border-color);
|
|
179
179
|
--background-color: var(--hop-Chip-neutral-background-color);
|
|
180
180
|
--text-color: var(--hop-Chip-neutral-text-color);
|
|
181
181
|
}
|
|
182
|
-
.Chip-module__hop-Chip--
|
|
182
|
+
.Chip-module__hop-Chip--progress___TNwPo {
|
|
183
183
|
--border-color: var(--hop-Chip-progress-border-color);
|
|
184
184
|
--background-color: var(--hop-Chip-progress-background-color);
|
|
185
185
|
--text-color: var(--hop-Chip-progress-text-color);
|
|
186
186
|
}
|
|
187
|
-
.Chip-module__hop-Chip--
|
|
187
|
+
.Chip-module__hop-Chip--positive___s28s9 {
|
|
188
188
|
--border-color: var(--hop-Chip-positive-border-color);
|
|
189
189
|
--background-color: var(--hop-Chip-positive-background-color);
|
|
190
190
|
--text-color: var(--hop-Chip-positive-text-color);
|
|
191
191
|
}
|
|
192
|
-
.Chip-module__hop-Chip--
|
|
192
|
+
.Chip-module__hop-Chip--caution___cWFT2 {
|
|
193
193
|
--border-color: var(--hop-Chip-caution-border-color);
|
|
194
194
|
--background-color: var(--hop-Chip-caution-background-color);
|
|
195
195
|
--text-color: var(--hop-Chip-caution-text-color);
|
|
196
196
|
}
|
|
197
|
-
.Chip-module__hop-Chip--
|
|
197
|
+
.Chip-module__hop-Chip--negative___jBX4e {
|
|
198
198
|
--border-color: var(--hop-Chip-negative-border-color);
|
|
199
199
|
--background-color: var(--hop-Chip-negative-background-color);
|
|
200
200
|
--text-color: var(--hop-Chip-negative-text-color);
|
|
201
201
|
}
|
|
202
|
-
.Chip-module__hop-Chip--
|
|
202
|
+
.Chip-module__hop-Chip--option1___O1niF {
|
|
203
203
|
--border-color: var(--hop-Chip-option1-border-color);
|
|
204
204
|
--background-color: var(--hop-Chip-option1-background-color);
|
|
205
205
|
--text-color: var(--hop-Chip-option1-text-color);
|
|
206
206
|
}
|
|
207
|
-
.Chip-module__hop-Chip--
|
|
207
|
+
.Chip-module__hop-Chip--option2___a-gEh {
|
|
208
208
|
--border-color: var(--hop-Chip-option2-border-color);
|
|
209
209
|
--background-color: var(--hop-Chip-option2-background-color);
|
|
210
210
|
--text-color: var(--hop-Chip-option2-text-color);
|
|
211
211
|
}
|
|
212
|
-
.Chip-module__hop-Chip--
|
|
212
|
+
.Chip-module__hop-Chip--option3___9wALH {
|
|
213
213
|
--border-color: var(--hop-Chip-option3-border-color);
|
|
214
214
|
--background-color: var(--hop-Chip-option3-background-color);
|
|
215
215
|
--text-color: var(--hop-Chip-option3-text-color);
|
|
216
216
|
}
|
|
217
|
-
.Chip-module__hop-Chip--
|
|
217
|
+
.Chip-module__hop-Chip--option4___wF9tQ {
|
|
218
218
|
--border-color: var(--hop-Chip-option4-border-color);
|
|
219
219
|
--background-color: var(--hop-Chip-option4-background-color);
|
|
220
220
|
--text-color: var(--hop-Chip-option4-text-color);
|
|
221
221
|
}
|
|
222
|
-
.Chip-module__hop-Chip--
|
|
222
|
+
.Chip-module__hop-Chip--option5___zSGD- {
|
|
223
223
|
--border-color: var(--hop-Chip-option5-border-color);
|
|
224
224
|
--background-color: var(--hop-Chip-option5-background-color);
|
|
225
225
|
--text-color: var(--hop-Chip-option5-text-color);
|
|
226
226
|
}
|
|
227
|
-
.Chip-module__hop-Chip--
|
|
227
|
+
.Chip-module__hop-Chip--option6___jgB-E {
|
|
228
228
|
--border-color: var(--hop-Chip-option6-border-color);
|
|
229
229
|
--background-color: var(--hop-Chip-option6-background-color);
|
|
230
230
|
--text-color: var(--hop-Chip-option6-text-color);
|
|
231
231
|
}
|
|
232
|
-
.Chip-module__hop-Chip--
|
|
232
|
+
.Chip-module__hop-Chip--inactive___YRaw7 {
|
|
233
233
|
--border-color: var(--hop-Chip-inactive-border-color);
|
|
234
234
|
--background-color: var(--hop-Chip-inactive-background-color);
|
|
235
235
|
--text-color: var(--hop-Chip-inactive-text-color);
|
|
236
236
|
}
|
|
237
|
-
.Chip-module__hop-Chip--
|
|
237
|
+
.Chip-module__hop-Chip--disabled___LKrv0 {
|
|
238
238
|
--border-color: var(--hop-Chip-disabled-border-color);
|
|
239
239
|
--background-color: var(--hop-Chip-disabled-background-color);
|
|
240
240
|
--text-color: var(--hop-Chip-disabled-text-color);
|
|
241
241
|
}
|
|
242
|
-
.Chip-module__hop-
|
|
243
|
-
.Chip-module__hop-Chip__icon-
|
|
242
|
+
.Chip-module__hop-Chip__icon___YPNfW,
|
|
243
|
+
.Chip-module__hop-Chip__icon-list___gWAUM {
|
|
244
244
|
flex: 0 0 auto;
|
|
245
245
|
flex-wrap: nowrap;
|
|
246
246
|
order: 1;
|
|
247
247
|
}
|
|
248
|
-
.Chip-module__hop-
|
|
248
|
+
.Chip-module__hop-Chip__text___XGH1R {
|
|
249
249
|
overflow: hidden;
|
|
250
250
|
flex: 1 1 auto;
|
|
251
251
|
order: 2;
|
|
@@ -253,8 +253,8 @@
|
|
|
253
253
|
text-align: center;
|
|
254
254
|
text-overflow: ellipsis;
|
|
255
255
|
}
|
|
256
|
-
.Chip-module__hop-Chip__end-
|
|
257
|
-
.Chip-module__hop-Chip__end-icon-
|
|
256
|
+
.Chip-module__hop-Chip__end-icon___Gr-pd,
|
|
257
|
+
.Chip-module__hop-Chip__end-icon-list___OCPtE {
|
|
258
258
|
flex: 0 0 auto;
|
|
259
259
|
flex-wrap: nowrap;
|
|
260
260
|
order: 3;
|
package/dist/chip/src/Chip.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { _Chip as Chip, GlobalChipCssSelector } from '../../chunk-
|
|
1
|
+
export { _Chip as Chip, GlobalChipCssSelector } from '../../chunk-PEPKE5SW.js';
|
|
2
2
|
import '../../chunk-WTKIUAHI.js';
|
|
3
3
|
import '../../chunk-ZWU6DRRZ.js';
|
|
4
|
-
import '../../chunk-
|
|
4
|
+
import '../../chunk-WGDP4ECF.js';
|
|
5
5
|
import '../../chunk-HXI3MEEK.js';
|
|
6
|
-
import '../../chunk-
|
|
6
|
+
import '../../chunk-X6SER3TZ.js';
|
|
7
|
+
import '../../chunk-KVDXQMWI.js';
|
|
7
8
|
import '../../chunk-M36KANKC.js';
|
|
8
9
|
import '../../chunk-DHVVYSLB.js';
|
|
9
|
-
import '../../chunk-
|
|
10
|
-
import '../../chunk-YSQDPG26.js';
|
|
10
|
+
import '../../chunk-2P3A4VVY.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { ChipContext } from '../../chunk-WTKIUAHI.js';
|
|
2
|
-
import '../../chunk-
|
|
2
|
+
import '../../chunk-2P3A4VVY.js';
|
package/dist/chip/src/index.css
CHANGED
|
@@ -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___CIQko {
|
|
3
3
|
--hop-IconList-gap: var(--hop-space-inline-xs);
|
|
4
4
|
display: flex;
|
|
5
5
|
flex-wrap: wrap;
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
box-sizing: border-box;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/Text/src/Text.module.css/#css-module-data */
|
|
11
|
-
.Text-module__hop-
|
|
10
|
+
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/typography/Text/src/Text.module.css/#css-module-data */
|
|
11
|
+
.Text-module__hop-Text___L5SE4 {
|
|
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___L5SE4) {
|
|
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___4XSOM) {
|
|
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___rxq9a) {
|
|
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___I1rkh) {
|
|
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___A5qVa) {
|
|
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___W3xPi) {
|
|
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___C50TH) {
|
|
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___YDakN) {
|
|
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/chip/src/Chip.module.css/#css-module-data */
|
|
91
|
-
.Chip-module__hop-
|
|
91
|
+
.Chip-module__hop-Chip___224kd {
|
|
92
92
|
--hop-Chip-border-size: 0.0625rem;
|
|
93
93
|
--hop-Chip-border-radius: var(--hop-shape-pill);
|
|
94
94
|
--hop-Chip-column-gap: var(--hop-space-inline-xs);
|
|
@@ -158,94 +158,94 @@
|
|
|
158
158
|
border: var(--border-size) solid var(--border-color);
|
|
159
159
|
border-radius: var(--border-radius);
|
|
160
160
|
}
|
|
161
|
-
.Chip-module__hop-Chip--
|
|
161
|
+
.Chip-module__hop-Chip--xs___vVaFu {
|
|
162
162
|
--block-size: var(--hop-Chip-xs-block-size);
|
|
163
163
|
--padding-inline: var(--hop-Chip-xs-padding-inline);
|
|
164
164
|
}
|
|
165
|
-
.Chip-module__hop-Chip--
|
|
165
|
+
.Chip-module__hop-Chip--sm___ay2-7 {
|
|
166
166
|
--block-size: var(--hop-Chip-sm-block-size);
|
|
167
167
|
--padding-inline: var(--hop-Chip-sm-padding-inline);
|
|
168
168
|
}
|
|
169
|
-
.Chip-module__hop-Chip--
|
|
169
|
+
.Chip-module__hop-Chip--md___bPrjx {
|
|
170
170
|
--block-size: var(--hop-Chip-md-block-size);
|
|
171
171
|
--padding-inline: var(--hop-Chip-md-padding-inline);
|
|
172
172
|
}
|
|
173
|
-
.Chip-module__hop-Chip--
|
|
173
|
+
.Chip-module__hop-Chip--lg___Ep8YA {
|
|
174
174
|
--block-size: var(--hop-Chip-lg-block-size);
|
|
175
175
|
--padding-inline: var(--hop-Chip-lg-padding-inline);
|
|
176
176
|
}
|
|
177
|
-
.Chip-module__hop-Chip--
|
|
177
|
+
.Chip-module__hop-Chip--neutral___iuOzW {
|
|
178
178
|
--border-color: var(--hop-Chip-neutral-border-color);
|
|
179
179
|
--background-color: var(--hop-Chip-neutral-background-color);
|
|
180
180
|
--text-color: var(--hop-Chip-neutral-text-color);
|
|
181
181
|
}
|
|
182
|
-
.Chip-module__hop-Chip--
|
|
182
|
+
.Chip-module__hop-Chip--progress___TNwPo {
|
|
183
183
|
--border-color: var(--hop-Chip-progress-border-color);
|
|
184
184
|
--background-color: var(--hop-Chip-progress-background-color);
|
|
185
185
|
--text-color: var(--hop-Chip-progress-text-color);
|
|
186
186
|
}
|
|
187
|
-
.Chip-module__hop-Chip--
|
|
187
|
+
.Chip-module__hop-Chip--positive___s28s9 {
|
|
188
188
|
--border-color: var(--hop-Chip-positive-border-color);
|
|
189
189
|
--background-color: var(--hop-Chip-positive-background-color);
|
|
190
190
|
--text-color: var(--hop-Chip-positive-text-color);
|
|
191
191
|
}
|
|
192
|
-
.Chip-module__hop-Chip--
|
|
192
|
+
.Chip-module__hop-Chip--caution___cWFT2 {
|
|
193
193
|
--border-color: var(--hop-Chip-caution-border-color);
|
|
194
194
|
--background-color: var(--hop-Chip-caution-background-color);
|
|
195
195
|
--text-color: var(--hop-Chip-caution-text-color);
|
|
196
196
|
}
|
|
197
|
-
.Chip-module__hop-Chip--
|
|
197
|
+
.Chip-module__hop-Chip--negative___jBX4e {
|
|
198
198
|
--border-color: var(--hop-Chip-negative-border-color);
|
|
199
199
|
--background-color: var(--hop-Chip-negative-background-color);
|
|
200
200
|
--text-color: var(--hop-Chip-negative-text-color);
|
|
201
201
|
}
|
|
202
|
-
.Chip-module__hop-Chip--
|
|
202
|
+
.Chip-module__hop-Chip--option1___O1niF {
|
|
203
203
|
--border-color: var(--hop-Chip-option1-border-color);
|
|
204
204
|
--background-color: var(--hop-Chip-option1-background-color);
|
|
205
205
|
--text-color: var(--hop-Chip-option1-text-color);
|
|
206
206
|
}
|
|
207
|
-
.Chip-module__hop-Chip--
|
|
207
|
+
.Chip-module__hop-Chip--option2___a-gEh {
|
|
208
208
|
--border-color: var(--hop-Chip-option2-border-color);
|
|
209
209
|
--background-color: var(--hop-Chip-option2-background-color);
|
|
210
210
|
--text-color: var(--hop-Chip-option2-text-color);
|
|
211
211
|
}
|
|
212
|
-
.Chip-module__hop-Chip--
|
|
212
|
+
.Chip-module__hop-Chip--option3___9wALH {
|
|
213
213
|
--border-color: var(--hop-Chip-option3-border-color);
|
|
214
214
|
--background-color: var(--hop-Chip-option3-background-color);
|
|
215
215
|
--text-color: var(--hop-Chip-option3-text-color);
|
|
216
216
|
}
|
|
217
|
-
.Chip-module__hop-Chip--
|
|
217
|
+
.Chip-module__hop-Chip--option4___wF9tQ {
|
|
218
218
|
--border-color: var(--hop-Chip-option4-border-color);
|
|
219
219
|
--background-color: var(--hop-Chip-option4-background-color);
|
|
220
220
|
--text-color: var(--hop-Chip-option4-text-color);
|
|
221
221
|
}
|
|
222
|
-
.Chip-module__hop-Chip--
|
|
222
|
+
.Chip-module__hop-Chip--option5___zSGD- {
|
|
223
223
|
--border-color: var(--hop-Chip-option5-border-color);
|
|
224
224
|
--background-color: var(--hop-Chip-option5-background-color);
|
|
225
225
|
--text-color: var(--hop-Chip-option5-text-color);
|
|
226
226
|
}
|
|
227
|
-
.Chip-module__hop-Chip--
|
|
227
|
+
.Chip-module__hop-Chip--option6___jgB-E {
|
|
228
228
|
--border-color: var(--hop-Chip-option6-border-color);
|
|
229
229
|
--background-color: var(--hop-Chip-option6-background-color);
|
|
230
230
|
--text-color: var(--hop-Chip-option6-text-color);
|
|
231
231
|
}
|
|
232
|
-
.Chip-module__hop-Chip--
|
|
232
|
+
.Chip-module__hop-Chip--inactive___YRaw7 {
|
|
233
233
|
--border-color: var(--hop-Chip-inactive-border-color);
|
|
234
234
|
--background-color: var(--hop-Chip-inactive-background-color);
|
|
235
235
|
--text-color: var(--hop-Chip-inactive-text-color);
|
|
236
236
|
}
|
|
237
|
-
.Chip-module__hop-Chip--
|
|
237
|
+
.Chip-module__hop-Chip--disabled___LKrv0 {
|
|
238
238
|
--border-color: var(--hop-Chip-disabled-border-color);
|
|
239
239
|
--background-color: var(--hop-Chip-disabled-background-color);
|
|
240
240
|
--text-color: var(--hop-Chip-disabled-text-color);
|
|
241
241
|
}
|
|
242
|
-
.Chip-module__hop-
|
|
243
|
-
.Chip-module__hop-Chip__icon-
|
|
242
|
+
.Chip-module__hop-Chip__icon___YPNfW,
|
|
243
|
+
.Chip-module__hop-Chip__icon-list___gWAUM {
|
|
244
244
|
flex: 0 0 auto;
|
|
245
245
|
flex-wrap: nowrap;
|
|
246
246
|
order: 1;
|
|
247
247
|
}
|
|
248
|
-
.Chip-module__hop-
|
|
248
|
+
.Chip-module__hop-Chip__text___XGH1R {
|
|
249
249
|
overflow: hidden;
|
|
250
250
|
flex: 1 1 auto;
|
|
251
251
|
order: 2;
|
|
@@ -253,8 +253,8 @@
|
|
|
253
253
|
text-align: center;
|
|
254
254
|
text-overflow: ellipsis;
|
|
255
255
|
}
|
|
256
|
-
.Chip-module__hop-Chip__end-
|
|
257
|
-
.Chip-module__hop-Chip__end-icon-
|
|
256
|
+
.Chip-module__hop-Chip__end-icon___Gr-pd,
|
|
257
|
+
.Chip-module__hop-Chip__end-icon-list___OCPtE {
|
|
258
258
|
flex: 0 0 auto;
|
|
259
259
|
flex-wrap: nowrap;
|
|
260
260
|
order: 3;
|
package/dist/chip/src/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { _Chip as Chip, GlobalChipCssSelector } from '../../chunk-
|
|
1
|
+
export { _Chip as Chip, GlobalChipCssSelector } from '../../chunk-PEPKE5SW.js';
|
|
2
2
|
export { ChipContext } from '../../chunk-WTKIUAHI.js';
|
|
3
3
|
import '../../chunk-ZWU6DRRZ.js';
|
|
4
|
-
import '../../chunk-
|
|
4
|
+
import '../../chunk-WGDP4ECF.js';
|
|
5
5
|
import '../../chunk-HXI3MEEK.js';
|
|
6
|
-
import '../../chunk-
|
|
6
|
+
import '../../chunk-X6SER3TZ.js';
|
|
7
|
+
import '../../chunk-KVDXQMWI.js';
|
|
7
8
|
import '../../chunk-M36KANKC.js';
|
|
8
9
|
import '../../chunk-DHVVYSLB.js';
|
|
9
|
-
import '../../chunk-
|
|
10
|
-
import '../../chunk-YSQDPG26.js';
|
|
10
|
+
import '../../chunk-2P3A4VVY.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { LabelContext } from './chunk-QCA3ZR56.js';
|
|
1
2
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
2
|
-
import { LabelContext } from './chunk-HVKOIMMW.js';
|
|
3
3
|
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
4
4
|
import clsx from 'clsx';
|
|
5
5
|
import { forwardRef } from 'react';
|
|
@@ -7,7 +7,7 @@ import { useContextProps, Label as Label$1 } from 'react-aria-components';
|
|
|
7
7
|
import { jsx } from 'react/jsx-runtime';
|
|
8
8
|
|
|
9
9
|
// css-module:./Label.module.css#css-module
|
|
10
|
-
var Label_module_default = { "hop-Label": "Label-module__hop-
|
|
10
|
+
var Label_module_default = { "hop-Label": "Label-module__hop-Label___7xL3v", "hop-Label--xs": "Label-module__hop-Label--xs___CHLy3", "hop-Label--sm": "Label-module__hop-Label--sm___oQzz3", "hop-Label--md": "Label-module__hop-Label--md___dLqF6", "hop-Label--lg": "Label-module__hop-Label--lg___ViQCe", "hop-Label--xl": "Label-module__hop-Label--xl___wlNpS", "hop-Label--2xl": "Label-module__hop-Label--2xl___N5Lkc", "hop-Label--inherit": "Label-module__hop-Label--inherit___UeeVB" };
|
|
11
11
|
var GlobalLabelCssSelector = "hop-Label";
|
|
12
12
|
function Label(props, ref) {
|
|
13
13
|
var _a;
|
|
@@ -7,6 +7,10 @@ var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
|
7
7
|
var __commonJS = (cb, mod) => function __require() {
|
|
8
8
|
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
9
9
|
};
|
|
10
|
+
var __export = (target, all) => {
|
|
11
|
+
for (var name in all)
|
|
12
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
13
|
+
};
|
|
10
14
|
var __copyProps = (to, from, except, desc) => {
|
|
11
15
|
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
16
|
for (let key of __getOwnPropNames(from))
|
|
@@ -15,6 +19,7 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
15
19
|
}
|
|
16
20
|
return to;
|
|
17
21
|
};
|
|
22
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
18
23
|
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
19
24
|
// If the importer is in node compatibility mode or this is not an ESM
|
|
20
25
|
// file that has been converted to a CommonJS file using a Babel-
|
|
@@ -24,4 +29,4 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
24
29
|
mod
|
|
25
30
|
));
|
|
26
31
|
|
|
27
|
-
export { __commonJS, __toESM };
|
|
32
|
+
export { __commonJS, __export, __reExport, __toESM };
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { ClearButtonContext } from './chunk-DXVKHP4V.js';
|
|
2
|
+
import { _EmbeddedButton } from './chunk-6MSYEF4W.js';
|
|
3
|
+
import { useLocalizedString } from './chunk-H6CDFWVR.js';
|
|
4
|
+
import { DismissIcon } from '@hopper-ui/icons';
|
|
5
|
+
import { forwardRef } from 'react';
|
|
6
|
+
import { useContextProps } from 'react-aria-components';
|
|
7
|
+
import { jsx } from 'react/jsx-runtime';
|
|
8
|
+
|
|
9
|
+
var GlobalClearButtonCssSelector = "hop-ClearButton";
|
|
10
|
+
function ClearButton(props, ref) {
|
|
11
|
+
[props, ref] = useContextProps(props, ref, ClearButtonContext);
|
|
12
|
+
const stringFormatter = useLocalizedString();
|
|
13
|
+
const {
|
|
14
|
+
"aria-label": ariaLabel = stringFormatter.format("ClearButton.clearAriaLabel"),
|
|
15
|
+
size = "md",
|
|
16
|
+
...otherProps
|
|
17
|
+
} = props;
|
|
18
|
+
return /* @__PURE__ */ jsx(
|
|
19
|
+
_EmbeddedButton,
|
|
20
|
+
{
|
|
21
|
+
ref,
|
|
22
|
+
"aria-label": ariaLabel,
|
|
23
|
+
size,
|
|
24
|
+
...otherProps,
|
|
25
|
+
children: /* @__PURE__ */ jsx(DismissIcon, {})
|
|
26
|
+
}
|
|
27
|
+
);
|
|
28
|
+
}
|
|
29
|
+
var _ClearButton = forwardRef(ClearButton);
|
|
30
|
+
_ClearButton.displayName = "ClearButton";
|
|
31
|
+
|
|
32
|
+
export { GlobalClearButtonCssSelector, _ClearButton };
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { EmbeddedButtonContext } from './chunk-O7IJYNVQ.js';
|
|
2
|
+
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
3
|
+
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
4
|
+
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
5
|
+
import { IconContext } from '@hopper-ui/icons';
|
|
6
|
+
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
7
|
+
import { forwardRef } from 'react';
|
|
8
|
+
import { useContextProps, composeRenderProps, Button } from 'react-aria-components';
|
|
9
|
+
import { jsx } from 'react/jsx-runtime';
|
|
10
|
+
|
|
11
|
+
// css-module:./EmbeddedButton.module.css#css-module
|
|
12
|
+
var EmbeddedButton_module_default = { "hop-EmbeddedButton": "EmbeddedButton-module__hop-EmbeddedButton___OMar5", "hop-EmbeddedButton--md": "EmbeddedButton-module__hop-EmbeddedButton--md___YBpcJ", "hop-EmbeddedButton--lg": "EmbeddedButton-module__hop-EmbeddedButton--lg___dFa3L", "hop-EmbeddedButton__icon": "EmbeddedButton-module__hop-EmbeddedButton__icon___QZTts" };
|
|
13
|
+
var GlobalEmbeddedButtonCssSelector = "hop-EmbeddedButton";
|
|
14
|
+
function EmbeddedButton(props, ref) {
|
|
15
|
+
var _a;
|
|
16
|
+
[props, ref] = useContextProps(props, ref, EmbeddedButtonContext);
|
|
17
|
+
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
18
|
+
const {
|
|
19
|
+
className,
|
|
20
|
+
size: sizeProp,
|
|
21
|
+
isDisabled,
|
|
22
|
+
style: styleProp,
|
|
23
|
+
children,
|
|
24
|
+
...otherProps
|
|
25
|
+
} = ownProps;
|
|
26
|
+
const size = (_a = useResponsiveValue(sizeProp)) != null ? _a : "md";
|
|
27
|
+
const classNames = composeClassnameRenderProps(
|
|
28
|
+
className,
|
|
29
|
+
GlobalEmbeddedButtonCssSelector,
|
|
30
|
+
cssModule(
|
|
31
|
+
EmbeddedButton_module_default,
|
|
32
|
+
"hop-EmbeddedButton",
|
|
33
|
+
size
|
|
34
|
+
),
|
|
35
|
+
stylingProps.className
|
|
36
|
+
);
|
|
37
|
+
const style = composeRenderProps(styleProp, (prev) => {
|
|
38
|
+
return {
|
|
39
|
+
...stylingProps.style,
|
|
40
|
+
...prev
|
|
41
|
+
};
|
|
42
|
+
});
|
|
43
|
+
return /* @__PURE__ */ jsx(
|
|
44
|
+
SlotProvider,
|
|
45
|
+
{
|
|
46
|
+
values: [
|
|
47
|
+
[IconContext, {
|
|
48
|
+
className: EmbeddedButton_module_default["hop-EmbeddedButton__icon"],
|
|
49
|
+
size: "sm"
|
|
50
|
+
}]
|
|
51
|
+
],
|
|
52
|
+
children: /* @__PURE__ */ jsx(
|
|
53
|
+
Button,
|
|
54
|
+
{
|
|
55
|
+
ref,
|
|
56
|
+
className: classNames,
|
|
57
|
+
style,
|
|
58
|
+
isDisabled,
|
|
59
|
+
...otherProps,
|
|
60
|
+
children
|
|
61
|
+
}
|
|
62
|
+
)
|
|
63
|
+
}
|
|
64
|
+
);
|
|
65
|
+
}
|
|
66
|
+
var _EmbeddedButton = forwardRef(EmbeddedButton);
|
|
67
|
+
_EmbeddedButton.displayName = "EmbeddedButton";
|
|
68
|
+
|
|
69
|
+
export { GlobalEmbeddedButtonCssSelector, _EmbeddedButton };
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { FooterContext } from './chunk-I67NHYK4.js';
|
|
2
|
+
import { useStyledSystem } from '@hopper-ui/styled-system';
|
|
3
|
+
import clsx from 'clsx';
|
|
4
|
+
import { forwardRef } from 'react';
|
|
5
|
+
import { useContextProps } from 'react-aria-components';
|
|
6
|
+
import { jsx } from 'react/jsx-runtime';
|
|
7
|
+
|
|
8
|
+
var GlobalFooterCssSelector = "hop-Footer";
|
|
9
|
+
function Footer(props, ref) {
|
|
10
|
+
[props, ref] = useContextProps(props, ref, FooterContext);
|
|
11
|
+
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
12
|
+
const {
|
|
13
|
+
className,
|
|
14
|
+
children,
|
|
15
|
+
style,
|
|
16
|
+
slot,
|
|
17
|
+
...otherProps
|
|
18
|
+
} = ownProps;
|
|
19
|
+
const classNames = clsx(
|
|
20
|
+
GlobalFooterCssSelector,
|
|
21
|
+
stylingProps.className,
|
|
22
|
+
className
|
|
23
|
+
);
|
|
24
|
+
const mergedStyles = {
|
|
25
|
+
...stylingProps.style,
|
|
26
|
+
...style
|
|
27
|
+
};
|
|
28
|
+
return /* @__PURE__ */ jsx(
|
|
29
|
+
"footer",
|
|
30
|
+
{
|
|
31
|
+
...otherProps,
|
|
32
|
+
ref,
|
|
33
|
+
className: classNames,
|
|
34
|
+
style: mergedStyles,
|
|
35
|
+
slot: slot || void 0,
|
|
36
|
+
children
|
|
37
|
+
}
|
|
38
|
+
);
|
|
39
|
+
}
|
|
40
|
+
var _Footer = forwardRef(Footer);
|
|
41
|
+
_Footer.displayName = "Footer";
|
|
42
|
+
|
|
43
|
+
export { GlobalFooterCssSelector, _Footer };
|