@hopper-ui/components 1.3.32 → 1.3.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/Avatar/src/AnonymousAvatar.css +44 -37
- package/dist/Avatar/src/AnonymousAvatar.js +2 -2
- package/dist/Avatar/src/Avatar.css +62 -55
- package/dist/Avatar/src/Avatar.js +3 -3
- package/dist/Avatar/src/DeletedAvatar.css +44 -37
- package/dist/Avatar/src/DeletedAvatar.js +2 -2
- package/dist/Avatar/src/RichIconAvatarImage.css +44 -37
- package/dist/Avatar/src/RichIconAvatarImage.js +1 -1
- package/dist/Avatar/src/index.css +62 -55
- package/dist/Avatar/src/index.js +5 -5
- package/dist/Badge/src/Badge.css +49 -42
- package/dist/Badge/src/Badge.js +2 -2
- package/dist/Badge/src/FloatingBadge.css +44 -37
- package/dist/Badge/src/FloatingBadge.js +1 -1
- package/dist/Badge/src/index.css +59 -52
- package/dist/Badge/src/index.js +3 -3
- package/dist/Card/src/Card.css +39 -30
- package/dist/Card/src/Card.js +2 -2
- package/dist/Card/src/index.css +39 -30
- package/dist/Card/src/index.js +2 -2
- package/dist/ComboBox/src/ComboBox.css +578 -570
- package/dist/ComboBox/src/ComboBox.js +28 -24
- package/dist/ComboBox/src/index.css +578 -570
- package/dist/ComboBox/src/index.js +28 -24
- package/dist/Disclosure/src/Disclosure.css +305 -0
- package/dist/Disclosure/src/Disclosure.d.ts +16 -0
- package/dist/Disclosure/src/Disclosure.js +9 -0
- package/dist/Disclosure/src/DisclosureContext.d.ts +8 -0
- package/dist/Disclosure/src/DisclosureContext.js +2 -0
- package/dist/Disclosure/src/DisclosureHeader.css +405 -0
- package/dist/Disclosure/src/DisclosureHeader.d.ts +21 -0
- package/dist/Disclosure/src/DisclosureHeader.js +22 -0
- package/dist/Disclosure/src/DisclosureHeaderContext.d.ts +9 -0
- package/dist/Disclosure/src/DisclosureHeaderContext.js +2 -0
- package/dist/Disclosure/src/DisclosurePanel.css +292 -0
- package/dist/Disclosure/src/DisclosurePanel.d.ts +15 -0
- package/dist/Disclosure/src/DisclosurePanel.js +22 -0
- package/dist/Disclosure/src/DisclosurePanelContext.d.ts +8 -0
- package/dist/Disclosure/src/DisclosurePanelContext.js +2 -0
- package/dist/Disclosure/src/index.css +526 -0
- package/dist/Disclosure/src/index.d.ts +10 -0
- package/dist/Disclosure/src/index.js +27 -0
- package/dist/Divider/src/Divider.css +36 -29
- package/dist/Divider/src/Divider.js +1 -1
- package/dist/Divider/src/index.css +36 -29
- package/dist/Divider/src/index.js +1 -1
- package/dist/ErrorMessage/src/ErrorMessage.css +36 -29
- package/dist/ErrorMessage/src/ErrorMessage.js +2 -2
- package/dist/ErrorMessage/src/index.css +36 -29
- package/dist/ErrorMessage/src/index.js +2 -2
- package/dist/Form/src/Form.css +28 -5005
- package/dist/Form/src/Form.d.ts +6 -3
- package/dist/Form/src/Form.js +2 -28
- package/dist/Form/src/FormContext.d.ts +3 -3
- package/dist/Form/src/FormContext.js +1 -1
- package/dist/Form/src/index.css +28 -5005
- package/dist/Form/src/index.d.ts +1 -1
- package/dist/Form/src/index.js +2 -28
- package/dist/HelperMessage/src/HelperMessage.css +36 -29
- package/dist/HelperMessage/src/HelperMessage.js +2 -2
- package/dist/HelperMessage/src/index.css +36 -29
- package/dist/HelperMessage/src/index.js +2 -2
- package/dist/IconList/src/IconList.css +35 -28
- package/dist/IconList/src/IconList.js +1 -1
- package/dist/IconList/src/index.css +35 -28
- package/dist/IconList/src/index.js +1 -1
- package/dist/Link/src/Link.css +56 -49
- package/dist/Link/src/Link.js +9 -7
- package/dist/Link/src/index.css +56 -49
- package/dist/Link/src/index.js +9 -7
- package/dist/ListBox/src/ListBox.css +281 -274
- package/dist/ListBox/src/ListBox.js +15 -13
- package/dist/ListBox/src/ListBoxItem.css +269 -262
- package/dist/ListBox/src/ListBoxItem.js +13 -11
- package/dist/ListBox/src/ListBoxItemSkeleton.css +41 -34
- package/dist/ListBox/src/ListBoxItemSkeleton.js +1 -1
- package/dist/ListBox/src/index.css +281 -274
- package/dist/ListBox/src/index.js +15 -13
- package/dist/Section/src/Section.js +1 -1
- package/dist/Section/src/index.js +1 -1
- package/dist/Select/src/Select.css +582 -564
- package/dist/Select/src/Select.js +29 -25
- package/dist/Select/src/SelectValue.css +68 -61
- package/dist/Select/src/SelectValue.js +7 -5
- package/dist/Select/src/index.css +582 -564
- package/dist/Select/src/index.js +29 -25
- package/dist/Spinner/src/Spinner.css +44 -37
- package/dist/Spinner/src/Spinner.js +2 -2
- package/dist/Spinner/src/index.css +44 -37
- package/dist/Spinner/src/index.js +2 -2
- package/dist/{tag/src/TagList.css → ToggleArrow/src/ToggleArrow.css} +44 -27
- package/dist/ToggleArrow/src/ToggleArrow.d.ts +21 -0
- package/dist/ToggleArrow/src/ToggleArrow.js +4 -0
- package/dist/ToggleArrow/src/ToggleArrowContext.d.ts +10 -0
- package/dist/ToggleArrow/src/ToggleArrowContext.js +2 -0
- package/dist/ToggleArrow/src/index.css +243 -0
- package/dist/ToggleArrow/src/index.d.ts +7 -0
- package/dist/ToggleArrow/src/index.js +4 -0
- package/dist/buttons/src/Button.css +100 -93
- package/dist/buttons/src/Button.js +11 -9
- package/dist/buttons/src/ButtonGroup.css +45 -38
- package/dist/buttons/src/ButtonGroup.js +1 -1
- package/dist/buttons/src/ClearButton.css +105 -98
- package/dist/buttons/src/ClearButton.js +2 -2
- package/dist/buttons/src/EmbeddedButton.css +105 -98
- package/dist/buttons/src/EmbeddedButton.js +1 -1
- package/dist/buttons/src/LinkButton.css +109 -102
- package/dist/buttons/src/LinkButton.js +10 -8
- package/dist/buttons/src/index.css +256 -249
- package/dist/buttons/src/index.js +15 -13
- package/dist/checkbox/src/Checkbox.css +53 -46
- package/dist/checkbox/src/Checkbox.js +10 -8
- package/dist/checkbox/src/CheckboxField.css +93 -86
- package/dist/checkbox/src/CheckboxField.js +4 -2
- package/dist/checkbox/src/CheckboxGroup.css +105 -98
- package/dist/checkbox/src/CheckboxGroup.js +9 -7
- package/dist/checkbox/src/DecorativeCheckbox.css +61 -54
- package/dist/checkbox/src/DecorativeCheckbox.js +10 -8
- package/dist/checkbox/src/index.css +105 -98
- package/dist/checkbox/src/index.js +17 -15
- package/dist/{chunk-B2PZHGGT.js → chunk-2DFRNPSR.js} +2 -2
- package/dist/{chunk-PR6Q2XJD.js → chunk-333PGOMR.js} +18 -10
- package/dist/{chunk-SWQEWYNM.js → chunk-566DZ4RC.js} +1 -1
- package/dist/{chunk-2PIWQBQ7.js → chunk-5SMJSNMW.js} +2 -2
- package/dist/chunk-5ZXBTCX3.js +124 -0
- package/dist/{chunk-425TRLX5.js → chunk-6AMCBCFX.js} +2 -2
- package/dist/{chunk-7ITDXJPN.js → chunk-6L4MTZT4.js} +7 -5
- package/dist/{chunk-BAX352BZ.js → chunk-6NX5XSZH.js} +8 -2
- package/dist/{chunk-2ZAWI3VO.js → chunk-75I7LTO3.js} +1 -1
- package/dist/chunk-7CJXILRD.js +7 -0
- package/dist/{chunk-UOVCHVGX.js → chunk-7FQHEXNP.js} +7 -5
- package/dist/{chunk-7OZNJCXL.js → chunk-7FQXKGYA.js} +8 -6
- package/dist/{chunk-VYNPGUH2.js → chunk-7FV3FDFI.js} +1 -1
- package/dist/{chunk-F3GTLFKR.js → chunk-7H7A6BGG.js} +1 -1
- package/dist/{chunk-ZUL2DWRU.js → chunk-BFYJWYHU.js} +2 -2
- package/dist/{chunk-MY7R6ZMF.js → chunk-C2ON6QTY.js} +2 -2
- package/dist/{chunk-FXB7BBJB.js → chunk-CC5QQ4YM.js} +2 -2
- package/dist/{chunk-ZTS67CFU.js → chunk-CS2YF25E.js} +2 -2
- package/dist/{chunk-QDIICTRS.js → chunk-DVIAXHYK.js} +4 -2
- package/dist/{chunk-MOIFFJJ3.js → chunk-E6TOJ3QU.js} +1 -1
- package/dist/{chunk-WXP3P4KY.js → chunk-EABCCXRD.js} +4 -4
- package/dist/{chunk-X5SCISRD.js → chunk-EXO4OJ7Z.js} +2 -2
- package/dist/{chunk-Y75VH6OP.js → chunk-G7QY3NWV.js} +1 -1
- package/dist/chunk-GFRTCF4B.js +7 -0
- package/dist/{chunk-UJAYZEVR.js → chunk-GO5KCRGN.js} +2 -2
- package/dist/{chunk-UEZ6JMBX.js → chunk-GQJ7GNYQ.js} +1 -1
- package/dist/chunk-GUCWHJZX.js +79 -0
- package/dist/chunk-GVEPINW7.js +67 -0
- package/dist/{chunk-VYFGV7LF.js → chunk-GYJQJEJS.js} +5 -3
- package/dist/chunk-J6WBI2I2.js +7 -0
- package/dist/{chunk-OEMWDVBB.js → chunk-K22HKHG2.js} +3 -3
- package/dist/{chunk-HPEGBHAQ.js → chunk-K5WUDBPF.js} +1 -1
- package/dist/{chunk-OFYHUD3N.js → chunk-KFMYXZFT.js} +2 -2
- package/dist/{chunk-N7ORIARY.js → chunk-KFPJZFZS.js} +2 -2
- package/dist/{chunk-OAUTLKSG.js → chunk-L7ORX4VV.js} +9 -7
- package/dist/chunk-LHX75LVJ.js +50 -0
- package/dist/{chunk-77K422AK.js → chunk-LVCA23CC.js} +1 -1
- package/dist/chunk-MUAXK42C.js +7 -0
- package/dist/{chunk-WJ6YDFFC.js → chunk-NIERUDZ6.js} +1 -1
- package/dist/{chunk-MMCWVCOD.js → chunk-NR7UTMYX.js} +2 -2
- package/dist/{chunk-JHZLRSJY.js → chunk-NUV3PDGE.js} +1 -1
- package/dist/{chunk-5YGTZWHS.js → chunk-O5LFX4XZ.js} +1 -1
- package/dist/{chunk-U7NERCPG.js → chunk-OFQN5TXX.js} +8 -6
- package/dist/{chunk-6XSOF5IT.js → chunk-PUQ7RTX4.js} +5 -3
- package/dist/{chunk-EURJK4ZT.js → chunk-Q7NXUUB3.js} +1 -1
- package/dist/{chunk-NLZXVLBW.js → chunk-QTD66QJH.js} +2 -2
- package/dist/{chunk-5TE4QKZ2.js → chunk-R5343IYO.js} +2 -2
- package/dist/chunk-RAAORA53.js +123 -0
- package/dist/{chunk-JZV3EU5P.js → chunk-RBENLQVB.js} +8 -6
- package/dist/{chunk-4XMDZ5QF.js → chunk-SBSBVVKM.js} +1 -1
- package/dist/chunk-SH3CLZKH.js +68 -0
- package/dist/{chunk-SMNKMZIC.js → chunk-SNDPAUAL.js} +10 -8
- package/dist/{chunk-MCSPPEQN.js → chunk-T3PSAQEK.js} +1 -1
- package/dist/{chunk-PME32XAH.js → chunk-U5SHNMC3.js} +8 -6
- package/dist/{chunk-KXZYWFM3.js → chunk-UMCSSGCS.js} +6 -4
- package/dist/{chunk-7RTEFFZS.js → chunk-VHRMFZPJ.js} +5 -5
- package/dist/{chunk-UYXVO6TB.js → chunk-WILQEDLK.js} +3 -3
- package/dist/{chunk-XTY7LASB.js → chunk-WWXZNKBE.js} +3 -3
- package/dist/{chunk-YTKE4ERV.js → chunk-Z57BGAOZ.js} +19 -11
- package/dist/{chunk-XDJMIWOT.js → chunk-ZRT7MWIL.js} +6 -4
- package/dist/index.css +1244 -957
- package/dist/index.d.ts +8 -4
- package/dist/index.js +84 -78
- package/dist/inputs/src/InputGroup.css +271 -264
- package/dist/inputs/src/InputGroup.js +1 -1
- package/dist/inputs/src/NumberField.css +293 -286
- package/dist/inputs/src/NumberField.js +14 -12
- package/dist/inputs/src/PasswordField.css +281 -274
- package/dist/inputs/src/PasswordField.js +13 -11
- package/dist/inputs/src/RemainingCharacterCount.css +37 -30
- package/dist/inputs/src/RemainingCharacterCount.js +7 -5
- package/dist/inputs/src/SearchField.css +287 -280
- package/dist/inputs/src/SearchField.js +14 -12
- package/dist/inputs/src/TextArea.css +288 -281
- package/dist/inputs/src/TextArea.js +13 -11
- package/dist/inputs/src/TextField.css +285 -278
- package/dist/inputs/src/TextField.js +17 -15
- package/dist/inputs/src/index.css +331 -324
- package/dist/inputs/src/index.js +25 -23
- package/dist/overlays/Popover/src/Popover.css +548 -541
- package/dist/overlays/Popover/src/Popover.js +11 -9
- package/dist/overlays/Popover/src/index.css +548 -541
- package/dist/overlays/Popover/src/index.js +11 -9
- package/dist/radio/src/DecorativeRadio.css +61 -54
- package/dist/radio/src/DecorativeRadio.js +9 -7
- package/dist/radio/src/Radio.css +53 -46
- package/dist/radio/src/Radio.js +9 -7
- package/dist/radio/src/RadioField.css +40 -33
- package/dist/radio/src/RadioField.js +2 -2
- package/dist/radio/src/RadioGroup.css +105 -98
- package/dist/radio/src/RadioGroup.js +9 -7
- package/dist/radio/src/index.css +105 -98
- package/dist/radio/src/index.js +17 -15
- package/dist/switch/src/Switch.css +50 -43
- package/dist/switch/src/Switch.js +9 -7
- package/dist/switch/src/SwitchField.css +40 -33
- package/dist/switch/src/SwitchField.js +2 -2
- package/dist/switch/src/index.css +56 -49
- package/dist/switch/src/index.js +10 -8
- package/dist/tag/src/Tag.css +397 -390
- package/dist/tag/src/Tag.js +12 -10
- package/dist/tag/src/TagGroup.css +44 -37
- package/dist/tag/src/TagGroup.d.ts +16 -10
- package/dist/tag/src/TagGroup.js +14 -4
- package/dist/tag/src/TagGroupContext.d.ts +2 -1
- package/dist/tag/src/index.css +407 -400
- package/dist/tag/src/index.d.ts +2 -3
- package/dist/tag/src/index.js +19 -16
- package/dist/typography/Heading/src/Heading.css +34 -27
- package/dist/typography/Heading/src/Heading.js +1 -1
- package/dist/typography/Heading/src/index.css +34 -27
- package/dist/typography/Heading/src/index.js +1 -1
- package/dist/typography/Label/src/Label.css +34 -27
- package/dist/typography/Label/src/Label.js +3 -1
- package/dist/typography/Label/src/index.css +34 -27
- package/dist/typography/Label/src/index.js +3 -1
- package/dist/typography/OverlineText/src/OverlineText.css +34 -27
- package/dist/typography/OverlineText/src/OverlineText.js +1 -1
- package/dist/typography/OverlineText/src/index.css +34 -27
- package/dist/typography/OverlineText/src/index.js +1 -1
- package/dist/typography/Text/src/Text.css +34 -27
- package/dist/typography/Text/src/Text.js +1 -1
- package/dist/typography/Text/src/index.css +34 -27
- package/dist/typography/Text/src/index.js +1 -1
- package/dist/utils/src/EnsureTextWrapper.css +34 -27
- package/dist/utils/src/EnsureTextWrapper.d.ts +1 -1
- package/dist/utils/src/EnsureTextWrapper.js +7 -5
- package/dist/utils/src/index.css +34 -27
- package/dist/utils/src/index.js +7 -5
- package/dist/utils/src/types.d.ts +1 -1
- package/package.json +9 -9
- package/dist/chunk-52EKMM7G.js +0 -94
- package/dist/chunk-TPVDUGOO.js +0 -44
- package/dist/chunk-UYDOZLJW.js +0 -153
- package/dist/chunk-XLKYXKWE.js +0 -7
- package/dist/tag/src/TagList.d.ts +0 -15
- package/dist/tag/src/TagList.js +0 -4
- package/dist/tag/src/TagListContext.d.ts +0 -8
- package/dist/tag/src/TagListContext.js +0 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/typography/Heading/src/Heading.module.css/#css-module-data */
|
|
2
|
-
.Heading-module__hop-
|
|
2
|
+
.Heading-module__hop-Heading___UhOuN {
|
|
3
3
|
--hop-Heading-xs-font-size: var(--hop-heading-xs-font-size);
|
|
4
4
|
--hop-Heading-xs-font-family: var(--hop-heading-xs-font-family);
|
|
5
5
|
--hop-Heading-xs-font-weight: var(--hop-heading-xs-font-weight);
|
|
@@ -33,50 +33,50 @@
|
|
|
33
33
|
--hop-Heading-inherit-size-font-weight: inherit;
|
|
34
34
|
--hop-Heading-inherit-size-line-height: inherit;
|
|
35
35
|
}
|
|
36
|
-
:where(.Heading-module__hop-
|
|
36
|
+
:where(.Heading-module__hop-Heading___UhOuN) {
|
|
37
37
|
margin: 0;
|
|
38
38
|
font-family: var(--font-family);
|
|
39
39
|
font-size: var(--font-size);
|
|
40
40
|
font-weight: var(--font-weight);
|
|
41
41
|
line-height: var(--line-height);
|
|
42
42
|
}
|
|
43
|
-
:where(.Heading-module__hop-Heading--
|
|
43
|
+
:where(.Heading-module__hop-Heading--xs___mgq0R) {
|
|
44
44
|
--font-size: var(--hop-Heading-xs-font-size);
|
|
45
45
|
--font-family: var(--hop-Heading-xs-font-family);
|
|
46
46
|
--font-weight: var(--hop-Heading-xs-font-weight);
|
|
47
47
|
--line-height: var(--hop-Heading-xs-line-height);
|
|
48
48
|
}
|
|
49
|
-
:where(.Heading-module__hop-Heading--
|
|
49
|
+
:where(.Heading-module__hop-Heading--sm___Sd105) {
|
|
50
50
|
--font-size: var(--hop-Heading-sm-font-size);
|
|
51
51
|
--font-family: var(--hop-Heading-sm-font-family);
|
|
52
52
|
--font-weight: var(--hop-Heading-sm-font-weight);
|
|
53
53
|
--line-height: var(--hop-Heading-sm-line-height);
|
|
54
54
|
}
|
|
55
|
-
:where(.Heading-module__hop-Heading--
|
|
55
|
+
:where(.Heading-module__hop-Heading--md___OeuQ-) {
|
|
56
56
|
--font-size: var(--hop-Heading-md-font-size);
|
|
57
57
|
--font-family: var(--hop-Heading-md-font-family);
|
|
58
58
|
--font-weight: var(--hop-Heading-md-font-weight);
|
|
59
59
|
--line-height: var(--hop-Heading-md-line-height);
|
|
60
60
|
}
|
|
61
|
-
:where(.Heading-module__hop-Heading--
|
|
61
|
+
:where(.Heading-module__hop-Heading--lg___937DG) {
|
|
62
62
|
--font-size: var(--hop-Heading-lg-font-size);
|
|
63
63
|
--font-family: var(--hop-Heading-lg-font-family);
|
|
64
64
|
--font-weight: var(--hop-Heading-lg-font-weight);
|
|
65
65
|
--line-height: var(--hop-Heading-lg-line-height);
|
|
66
66
|
}
|
|
67
|
-
:where(.Heading-module__hop-Heading--
|
|
67
|
+
:where(.Heading-module__hop-Heading--xl___PA7Cj) {
|
|
68
68
|
--font-size: var(--hop-Heading-xl-font-size);
|
|
69
69
|
--font-family: var(--hop-Heading-xl-font-family);
|
|
70
70
|
--font-weight: var(--hop-Heading-xl-font-weight);
|
|
71
71
|
--line-height: var(--hop-Heading-xl-line-height);
|
|
72
72
|
}
|
|
73
|
-
:where(.Heading-module__hop-Heading--
|
|
73
|
+
:where(.Heading-module__hop-Heading--2xl___9H5AH) {
|
|
74
74
|
--font-size: var(--hop-Heading-2xl-font-size);
|
|
75
75
|
--font-family: var(--hop-Heading-2xl-font-family);
|
|
76
76
|
--font-weight: var(--hop-Heading-2xl-font-weight);
|
|
77
77
|
--line-height: var(--hop-Heading-2xl-line-height);
|
|
78
78
|
}
|
|
79
|
-
:where(.Heading-module__hop-Heading--
|
|
79
|
+
:where(.Heading-module__hop-Heading--3xl___BC0kT) {
|
|
80
80
|
--font-size: var(--hop-Heading-3xl-font-size);
|
|
81
81
|
--font-family: var(--hop-Heading-3xl-font-family);
|
|
82
82
|
--font-weight: var(--hop-Heading-3xl-font-weight);
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/typography/Text/src/Text.module.css/#css-module-data */
|
|
87
|
-
.Text-module__hop-
|
|
87
|
+
.Text-module__hop-Text___Fxj3U {
|
|
88
88
|
--hop-Text-xs-font-size: var(--hop-body-xs-font-size);
|
|
89
89
|
--hop-Text-xs-font-family: var(--hop-body-xs-font-family);
|
|
90
90
|
--hop-Text-xs-font-weight: var(--hop-body-xs-font-weight);
|
|
@@ -114,49 +114,49 @@
|
|
|
114
114
|
--hop-Text-inherit-size-font-weight: inherit;
|
|
115
115
|
--hop-Text-inherit-size-line-height: inherit;
|
|
116
116
|
}
|
|
117
|
-
:where(.Text-module__hop-
|
|
117
|
+
:where(.Text-module__hop-Text___Fxj3U) {
|
|
118
118
|
font-family: var(--font-family);
|
|
119
119
|
font-size: var(--font-size);
|
|
120
120
|
font-weight: var(--font-weight);
|
|
121
121
|
line-height: var(--line-height);
|
|
122
122
|
}
|
|
123
|
-
:where(.Text-module__hop-Text--
|
|
123
|
+
:where(.Text-module__hop-Text--xs___OBqqd) {
|
|
124
124
|
--font-size: var(--hop-Text-xs-font-size);
|
|
125
125
|
--font-family: var(--hop-Text-xs-font-family);
|
|
126
126
|
--font-weight: var(--hop-Text-xs-font-weight);
|
|
127
127
|
--line-height: var(--hop-Text-xs-line-height);
|
|
128
128
|
}
|
|
129
|
-
:where(.Text-module__hop-Text--
|
|
129
|
+
:where(.Text-module__hop-Text--sm___W0t5J) {
|
|
130
130
|
--font-size: var(--hop-Text-sm-font-size);
|
|
131
131
|
--font-family: var(--hop-Text-sm-font-family);
|
|
132
132
|
--font-weight: var(--hop-Text-sm-font-weight);
|
|
133
133
|
--line-height: var(--hop-Text-sm-line-height);
|
|
134
134
|
}
|
|
135
|
-
:where(.Text-module__hop-Text--
|
|
135
|
+
:where(.Text-module__hop-Text--md___0XAci) {
|
|
136
136
|
--font-size: var(--hop-Text-md-font-size);
|
|
137
137
|
--font-family: var(--hop-Text-md-font-family);
|
|
138
138
|
--font-weight: var(--hop-Text-md-font-weight);
|
|
139
139
|
--line-height: var(--hop-Text-md-line-height);
|
|
140
140
|
}
|
|
141
|
-
:where(.Text-module__hop-Text--
|
|
141
|
+
:where(.Text-module__hop-Text--lg___fe6zi) {
|
|
142
142
|
--font-size: var(--hop-Text-lg-font-size);
|
|
143
143
|
--font-family: var(--hop-Text-lg-font-family);
|
|
144
144
|
--font-weight: var(--hop-Text-lg-font-weight);
|
|
145
145
|
--line-height: var(--hop-Text-lg-line-height);
|
|
146
146
|
}
|
|
147
|
-
:where(.Text-module__hop-Text--
|
|
147
|
+
:where(.Text-module__hop-Text--xl___Yu73w) {
|
|
148
148
|
--font-size: var(--hop-Text-xl-font-size);
|
|
149
149
|
--font-family: var(--hop-Text-xl-font-family);
|
|
150
150
|
--font-weight: var(--hop-Text-xl-font-weight);
|
|
151
151
|
--line-height: var(--hop-Text-xl-line-height);
|
|
152
152
|
}
|
|
153
|
-
:where(.Text-module__hop-Text--
|
|
153
|
+
:where(.Text-module__hop-Text--2xl___XUoUN) {
|
|
154
154
|
--font-size: var(--hop-Text-2xl-font-size);
|
|
155
155
|
--font-family: var(--hop-Text-2xl-font-family);
|
|
156
156
|
--font-weight: var(--hop-Text-2xl-font-weight);
|
|
157
157
|
--line-height: var(--hop-Text-2xl-line-height);
|
|
158
158
|
}
|
|
159
|
-
:where(.Text-module__hop-Text--
|
|
159
|
+
:where(.Text-module__hop-Text--inherit___zBVgd) {
|
|
160
160
|
--font-size: var(--hop-Text-inherit-size-font-size);
|
|
161
161
|
--font-family: var(--hop-Text-inherit-size-font-family);
|
|
162
162
|
--font-weight: var(--hop-Text-inherit-size-font-weight);
|
|
@@ -164,7 +164,7 @@
|
|
|
164
164
|
}
|
|
165
165
|
|
|
166
166
|
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/typography/OverlineText/src/OverlineText.module.css/#css-module-data */
|
|
167
|
-
:where(.OverlineText-module__hop-
|
|
167
|
+
:where(.OverlineText-module__hop-OverlineText___bCG0m) {
|
|
168
168
|
--hop-OverlineText-font-family: var(--hop-overline-font-family);
|
|
169
169
|
--hop-OverlineText-font-size: var(--hop-overline-font-size);
|
|
170
170
|
--hop-OverlineText-font-weight: var(--hop-overline-font-weight);
|
|
@@ -188,39 +188,46 @@
|
|
|
188
188
|
text-transform: uppercase;
|
|
189
189
|
letter-spacing: var(--letter-spacing);
|
|
190
190
|
}
|
|
191
|
-
.OverlineText-module__hop-
|
|
191
|
+
.OverlineText-module__hop-OverlineText__text___o7Sr6 {
|
|
192
192
|
box-sizing: border-box;
|
|
193
193
|
}
|
|
194
|
-
.OverlineText-module__hop-
|
|
195
|
-
.OverlineText-module__hop-
|
|
194
|
+
.OverlineText-module__hop-OverlineText__text___o7Sr6::before,
|
|
195
|
+
.OverlineText-module__hop-OverlineText__text___o7Sr6::after {
|
|
196
196
|
content: "";
|
|
197
197
|
display: block;
|
|
198
198
|
box-sizing: border-box;
|
|
199
199
|
inline-size: 0;
|
|
200
200
|
block-size: 0;
|
|
201
201
|
}
|
|
202
|
-
.OverlineText-module__hop-
|
|
202
|
+
.OverlineText-module__hop-OverlineText__text___o7Sr6::before {
|
|
203
203
|
margin-block-end: var(--bottom-offset);
|
|
204
204
|
}
|
|
205
|
-
.OverlineText-module__hop-
|
|
205
|
+
.OverlineText-module__hop-OverlineText__text___o7Sr6::after {
|
|
206
206
|
margin-block-start: var(--top-offset);
|
|
207
207
|
}
|
|
208
208
|
|
|
209
|
+
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/Form/src/Form.module.css/#css-module-data */
|
|
210
|
+
.Form-module__hop-Form___iuRf1 {
|
|
211
|
+
display: flex;
|
|
212
|
+
flex-direction: column;
|
|
213
|
+
gap: var(--hop-space-stack-lg);
|
|
214
|
+
}
|
|
215
|
+
|
|
209
216
|
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/typography/Label/src/Label.module.css/#css-module-data */
|
|
210
|
-
.Label-module__hop-
|
|
217
|
+
.Label-module__hop-Label___bYJKr {
|
|
211
218
|
--hop-Label-font-size: var(--hop-heading-xs-font-size);
|
|
212
219
|
--hop-Label-font-family: var(--hop-heading-xs-font-family);
|
|
213
220
|
--hop-Label-font-weight: var(--hop-heading-xs-font-weight);
|
|
214
221
|
--hop-Label-line-height: var(--hop-heading-xs-line-height);
|
|
215
222
|
--hop-Label-color: var(--hop-neutral-text-weak);
|
|
216
223
|
}
|
|
217
|
-
:where(.Label-module__hop-
|
|
224
|
+
:where(.Label-module__hop-Label___bYJKr) {
|
|
218
225
|
font-family: var(--hop-Label-font-family);
|
|
219
226
|
font-size: var(--hop-Label-font-size);
|
|
220
227
|
font-weight: var(--hop-Label-font-weight);
|
|
221
228
|
line-height: var(--hop-Label-line-height);
|
|
222
229
|
color: var(--hop-Label-color);
|
|
223
230
|
}
|
|
224
|
-
:where(.Label-module__hop-
|
|
231
|
+
:where(.Label-module__hop-Label__indicator___AtTcd) {
|
|
225
232
|
padding-inline-start: var(--hop-space-20);
|
|
226
233
|
}
|
|
@@ -1,14 +1,16 @@
|
|
|
1
|
-
export { ensureTextWrapper } from '../../chunk-
|
|
1
|
+
export { ensureTextWrapper } from '../../chunk-WILQEDLK.js';
|
|
2
2
|
import '../../chunk-ZWU6DRRZ.js';
|
|
3
3
|
import '../../chunk-DBIN32YS.js';
|
|
4
|
-
import '../../chunk-
|
|
4
|
+
import '../../chunk-K5WUDBPF.js';
|
|
5
5
|
import '../../chunk-TXZ6BMFR.js';
|
|
6
|
-
import '../../chunk-
|
|
6
|
+
import '../../chunk-6NX5XSZH.js';
|
|
7
7
|
import '../../chunk-QCA3ZR56.js';
|
|
8
8
|
import '../../chunk-TFVDF4YH.js';
|
|
9
|
-
import '../../chunk-
|
|
9
|
+
import '../../chunk-SH3CLZKH.js';
|
|
10
|
+
import '../../chunk-Q7NXUUB3.js';
|
|
11
|
+
import '../../chunk-NUV3PDGE.js';
|
|
10
12
|
import '../../chunk-WPNVVGFW.js';
|
|
11
|
-
import '../../chunk-
|
|
13
|
+
import '../../chunk-75I7LTO3.js';
|
|
12
14
|
import '../../chunk-X6SER3TZ.js';
|
|
13
15
|
import '../../chunk-HXI3MEEK.js';
|
|
14
16
|
import '../../chunk-M36KANKC.js';
|
package/dist/utils/src/index.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/typography/Heading/src/Heading.module.css/#css-module-data */
|
|
2
|
-
.Heading-module__hop-
|
|
2
|
+
.Heading-module__hop-Heading___UhOuN {
|
|
3
3
|
--hop-Heading-xs-font-size: var(--hop-heading-xs-font-size);
|
|
4
4
|
--hop-Heading-xs-font-family: var(--hop-heading-xs-font-family);
|
|
5
5
|
--hop-Heading-xs-font-weight: var(--hop-heading-xs-font-weight);
|
|
@@ -33,50 +33,50 @@
|
|
|
33
33
|
--hop-Heading-inherit-size-font-weight: inherit;
|
|
34
34
|
--hop-Heading-inherit-size-line-height: inherit;
|
|
35
35
|
}
|
|
36
|
-
:where(.Heading-module__hop-
|
|
36
|
+
:where(.Heading-module__hop-Heading___UhOuN) {
|
|
37
37
|
margin: 0;
|
|
38
38
|
font-family: var(--font-family);
|
|
39
39
|
font-size: var(--font-size);
|
|
40
40
|
font-weight: var(--font-weight);
|
|
41
41
|
line-height: var(--line-height);
|
|
42
42
|
}
|
|
43
|
-
:where(.Heading-module__hop-Heading--
|
|
43
|
+
:where(.Heading-module__hop-Heading--xs___mgq0R) {
|
|
44
44
|
--font-size: var(--hop-Heading-xs-font-size);
|
|
45
45
|
--font-family: var(--hop-Heading-xs-font-family);
|
|
46
46
|
--font-weight: var(--hop-Heading-xs-font-weight);
|
|
47
47
|
--line-height: var(--hop-Heading-xs-line-height);
|
|
48
48
|
}
|
|
49
|
-
:where(.Heading-module__hop-Heading--
|
|
49
|
+
:where(.Heading-module__hop-Heading--sm___Sd105) {
|
|
50
50
|
--font-size: var(--hop-Heading-sm-font-size);
|
|
51
51
|
--font-family: var(--hop-Heading-sm-font-family);
|
|
52
52
|
--font-weight: var(--hop-Heading-sm-font-weight);
|
|
53
53
|
--line-height: var(--hop-Heading-sm-line-height);
|
|
54
54
|
}
|
|
55
|
-
:where(.Heading-module__hop-Heading--
|
|
55
|
+
:where(.Heading-module__hop-Heading--md___OeuQ-) {
|
|
56
56
|
--font-size: var(--hop-Heading-md-font-size);
|
|
57
57
|
--font-family: var(--hop-Heading-md-font-family);
|
|
58
58
|
--font-weight: var(--hop-Heading-md-font-weight);
|
|
59
59
|
--line-height: var(--hop-Heading-md-line-height);
|
|
60
60
|
}
|
|
61
|
-
:where(.Heading-module__hop-Heading--
|
|
61
|
+
:where(.Heading-module__hop-Heading--lg___937DG) {
|
|
62
62
|
--font-size: var(--hop-Heading-lg-font-size);
|
|
63
63
|
--font-family: var(--hop-Heading-lg-font-family);
|
|
64
64
|
--font-weight: var(--hop-Heading-lg-font-weight);
|
|
65
65
|
--line-height: var(--hop-Heading-lg-line-height);
|
|
66
66
|
}
|
|
67
|
-
:where(.Heading-module__hop-Heading--
|
|
67
|
+
:where(.Heading-module__hop-Heading--xl___PA7Cj) {
|
|
68
68
|
--font-size: var(--hop-Heading-xl-font-size);
|
|
69
69
|
--font-family: var(--hop-Heading-xl-font-family);
|
|
70
70
|
--font-weight: var(--hop-Heading-xl-font-weight);
|
|
71
71
|
--line-height: var(--hop-Heading-xl-line-height);
|
|
72
72
|
}
|
|
73
|
-
:where(.Heading-module__hop-Heading--
|
|
73
|
+
:where(.Heading-module__hop-Heading--2xl___9H5AH) {
|
|
74
74
|
--font-size: var(--hop-Heading-2xl-font-size);
|
|
75
75
|
--font-family: var(--hop-Heading-2xl-font-family);
|
|
76
76
|
--font-weight: var(--hop-Heading-2xl-font-weight);
|
|
77
77
|
--line-height: var(--hop-Heading-2xl-line-height);
|
|
78
78
|
}
|
|
79
|
-
:where(.Heading-module__hop-Heading--
|
|
79
|
+
:where(.Heading-module__hop-Heading--3xl___BC0kT) {
|
|
80
80
|
--font-size: var(--hop-Heading-3xl-font-size);
|
|
81
81
|
--font-family: var(--hop-Heading-3xl-font-family);
|
|
82
82
|
--font-weight: var(--hop-Heading-3xl-font-weight);
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/typography/Text/src/Text.module.css/#css-module-data */
|
|
87
|
-
.Text-module__hop-
|
|
87
|
+
.Text-module__hop-Text___Fxj3U {
|
|
88
88
|
--hop-Text-xs-font-size: var(--hop-body-xs-font-size);
|
|
89
89
|
--hop-Text-xs-font-family: var(--hop-body-xs-font-family);
|
|
90
90
|
--hop-Text-xs-font-weight: var(--hop-body-xs-font-weight);
|
|
@@ -114,49 +114,49 @@
|
|
|
114
114
|
--hop-Text-inherit-size-font-weight: inherit;
|
|
115
115
|
--hop-Text-inherit-size-line-height: inherit;
|
|
116
116
|
}
|
|
117
|
-
:where(.Text-module__hop-
|
|
117
|
+
:where(.Text-module__hop-Text___Fxj3U) {
|
|
118
118
|
font-family: var(--font-family);
|
|
119
119
|
font-size: var(--font-size);
|
|
120
120
|
font-weight: var(--font-weight);
|
|
121
121
|
line-height: var(--line-height);
|
|
122
122
|
}
|
|
123
|
-
:where(.Text-module__hop-Text--
|
|
123
|
+
:where(.Text-module__hop-Text--xs___OBqqd) {
|
|
124
124
|
--font-size: var(--hop-Text-xs-font-size);
|
|
125
125
|
--font-family: var(--hop-Text-xs-font-family);
|
|
126
126
|
--font-weight: var(--hop-Text-xs-font-weight);
|
|
127
127
|
--line-height: var(--hop-Text-xs-line-height);
|
|
128
128
|
}
|
|
129
|
-
:where(.Text-module__hop-Text--
|
|
129
|
+
:where(.Text-module__hop-Text--sm___W0t5J) {
|
|
130
130
|
--font-size: var(--hop-Text-sm-font-size);
|
|
131
131
|
--font-family: var(--hop-Text-sm-font-family);
|
|
132
132
|
--font-weight: var(--hop-Text-sm-font-weight);
|
|
133
133
|
--line-height: var(--hop-Text-sm-line-height);
|
|
134
134
|
}
|
|
135
|
-
:where(.Text-module__hop-Text--
|
|
135
|
+
:where(.Text-module__hop-Text--md___0XAci) {
|
|
136
136
|
--font-size: var(--hop-Text-md-font-size);
|
|
137
137
|
--font-family: var(--hop-Text-md-font-family);
|
|
138
138
|
--font-weight: var(--hop-Text-md-font-weight);
|
|
139
139
|
--line-height: var(--hop-Text-md-line-height);
|
|
140
140
|
}
|
|
141
|
-
:where(.Text-module__hop-Text--
|
|
141
|
+
:where(.Text-module__hop-Text--lg___fe6zi) {
|
|
142
142
|
--font-size: var(--hop-Text-lg-font-size);
|
|
143
143
|
--font-family: var(--hop-Text-lg-font-family);
|
|
144
144
|
--font-weight: var(--hop-Text-lg-font-weight);
|
|
145
145
|
--line-height: var(--hop-Text-lg-line-height);
|
|
146
146
|
}
|
|
147
|
-
:where(.Text-module__hop-Text--
|
|
147
|
+
:where(.Text-module__hop-Text--xl___Yu73w) {
|
|
148
148
|
--font-size: var(--hop-Text-xl-font-size);
|
|
149
149
|
--font-family: var(--hop-Text-xl-font-family);
|
|
150
150
|
--font-weight: var(--hop-Text-xl-font-weight);
|
|
151
151
|
--line-height: var(--hop-Text-xl-line-height);
|
|
152
152
|
}
|
|
153
|
-
:where(.Text-module__hop-Text--
|
|
153
|
+
:where(.Text-module__hop-Text--2xl___XUoUN) {
|
|
154
154
|
--font-size: var(--hop-Text-2xl-font-size);
|
|
155
155
|
--font-family: var(--hop-Text-2xl-font-family);
|
|
156
156
|
--font-weight: var(--hop-Text-2xl-font-weight);
|
|
157
157
|
--line-height: var(--hop-Text-2xl-line-height);
|
|
158
158
|
}
|
|
159
|
-
:where(.Text-module__hop-Text--
|
|
159
|
+
:where(.Text-module__hop-Text--inherit___zBVgd) {
|
|
160
160
|
--font-size: var(--hop-Text-inherit-size-font-size);
|
|
161
161
|
--font-family: var(--hop-Text-inherit-size-font-family);
|
|
162
162
|
--font-weight: var(--hop-Text-inherit-size-font-weight);
|
|
@@ -164,7 +164,7 @@
|
|
|
164
164
|
}
|
|
165
165
|
|
|
166
166
|
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/typography/OverlineText/src/OverlineText.module.css/#css-module-data */
|
|
167
|
-
:where(.OverlineText-module__hop-
|
|
167
|
+
:where(.OverlineText-module__hop-OverlineText___bCG0m) {
|
|
168
168
|
--hop-OverlineText-font-family: var(--hop-overline-font-family);
|
|
169
169
|
--hop-OverlineText-font-size: var(--hop-overline-font-size);
|
|
170
170
|
--hop-OverlineText-font-weight: var(--hop-overline-font-weight);
|
|
@@ -188,39 +188,46 @@
|
|
|
188
188
|
text-transform: uppercase;
|
|
189
189
|
letter-spacing: var(--letter-spacing);
|
|
190
190
|
}
|
|
191
|
-
.OverlineText-module__hop-
|
|
191
|
+
.OverlineText-module__hop-OverlineText__text___o7Sr6 {
|
|
192
192
|
box-sizing: border-box;
|
|
193
193
|
}
|
|
194
|
-
.OverlineText-module__hop-
|
|
195
|
-
.OverlineText-module__hop-
|
|
194
|
+
.OverlineText-module__hop-OverlineText__text___o7Sr6::before,
|
|
195
|
+
.OverlineText-module__hop-OverlineText__text___o7Sr6::after {
|
|
196
196
|
content: "";
|
|
197
197
|
display: block;
|
|
198
198
|
box-sizing: border-box;
|
|
199
199
|
inline-size: 0;
|
|
200
200
|
block-size: 0;
|
|
201
201
|
}
|
|
202
|
-
.OverlineText-module__hop-
|
|
202
|
+
.OverlineText-module__hop-OverlineText__text___o7Sr6::before {
|
|
203
203
|
margin-block-end: var(--bottom-offset);
|
|
204
204
|
}
|
|
205
|
-
.OverlineText-module__hop-
|
|
205
|
+
.OverlineText-module__hop-OverlineText__text___o7Sr6::after {
|
|
206
206
|
margin-block-start: var(--top-offset);
|
|
207
207
|
}
|
|
208
208
|
|
|
209
|
+
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/Form/src/Form.module.css/#css-module-data */
|
|
210
|
+
.Form-module__hop-Form___iuRf1 {
|
|
211
|
+
display: flex;
|
|
212
|
+
flex-direction: column;
|
|
213
|
+
gap: var(--hop-space-stack-lg);
|
|
214
|
+
}
|
|
215
|
+
|
|
209
216
|
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/typography/Label/src/Label.module.css/#css-module-data */
|
|
210
|
-
.Label-module__hop-
|
|
217
|
+
.Label-module__hop-Label___bYJKr {
|
|
211
218
|
--hop-Label-font-size: var(--hop-heading-xs-font-size);
|
|
212
219
|
--hop-Label-font-family: var(--hop-heading-xs-font-family);
|
|
213
220
|
--hop-Label-font-weight: var(--hop-heading-xs-font-weight);
|
|
214
221
|
--hop-Label-line-height: var(--hop-heading-xs-line-height);
|
|
215
222
|
--hop-Label-color: var(--hop-neutral-text-weak);
|
|
216
223
|
}
|
|
217
|
-
:where(.Label-module__hop-
|
|
224
|
+
:where(.Label-module__hop-Label___bYJKr) {
|
|
218
225
|
font-family: var(--hop-Label-font-family);
|
|
219
226
|
font-size: var(--hop-Label-font-size);
|
|
220
227
|
font-weight: var(--hop-Label-font-weight);
|
|
221
228
|
line-height: var(--hop-Label-line-height);
|
|
222
229
|
color: var(--hop-Label-color);
|
|
223
230
|
}
|
|
224
|
-
:where(.Label-module__hop-
|
|
231
|
+
:where(.Label-module__hop-Label__indicator___AtTcd) {
|
|
225
232
|
padding-inline-start: var(--hop-space-20);
|
|
226
233
|
}
|
package/dist/utils/src/index.js
CHANGED
|
@@ -6,17 +6,19 @@ export { useScale } from '../../chunk-MTDFS4CZ.js';
|
|
|
6
6
|
export { useSlot } from '../../chunk-H5YTU3U7.js';
|
|
7
7
|
export { useIsOverflow } from '../../chunk-EHXOXTDN.js';
|
|
8
8
|
export { isArray, isDefined, isEmptyArray, isFunction, isNil, isNilOrEmpty, isNull, isNumber, isObject, isPlainObject, isPromise, isString, isUndefined } from '../../chunk-TIPN4VYD.js';
|
|
9
|
-
export { ensureTextWrapper } from '../../chunk-
|
|
9
|
+
export { ensureTextWrapper } from '../../chunk-WILQEDLK.js';
|
|
10
10
|
export { isTextOnlyChildren } from '../../chunk-ZWU6DRRZ.js';
|
|
11
11
|
import '../../chunk-DBIN32YS.js';
|
|
12
|
-
import '../../chunk-
|
|
12
|
+
import '../../chunk-K5WUDBPF.js';
|
|
13
13
|
import '../../chunk-TXZ6BMFR.js';
|
|
14
|
-
import '../../chunk-
|
|
14
|
+
import '../../chunk-6NX5XSZH.js';
|
|
15
15
|
import '../../chunk-QCA3ZR56.js';
|
|
16
16
|
import '../../chunk-TFVDF4YH.js';
|
|
17
|
-
import '../../chunk-
|
|
17
|
+
import '../../chunk-SH3CLZKH.js';
|
|
18
|
+
import '../../chunk-Q7NXUUB3.js';
|
|
19
|
+
import '../../chunk-NUV3PDGE.js';
|
|
18
20
|
import '../../chunk-WPNVVGFW.js';
|
|
19
|
-
import '../../chunk-
|
|
21
|
+
import '../../chunk-75I7LTO3.js';
|
|
20
22
|
import '../../chunk-X6SER3TZ.js';
|
|
21
23
|
export { ClearContainerSlots, ClearProviders } from '../../chunk-HXI3MEEK.js';
|
|
22
24
|
export { useRenderProps } from '../../chunk-NH3IVMXB.js';
|
|
@@ -25,7 +25,7 @@ interface StyleRenderProps<T> {
|
|
|
25
25
|
/** The inline [style](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/style) for the element. A function may be provided to compute the style based on component state. */
|
|
26
26
|
style?: CSSProperties | ((values: T & {
|
|
27
27
|
defaultStyle: CSSProperties;
|
|
28
|
-
}) => CSSProperties);
|
|
28
|
+
}) => CSSProperties | undefined);
|
|
29
29
|
}
|
|
30
30
|
interface RenderProps<T> extends StyleRenderProps<T> {
|
|
31
31
|
/** The children of the component. A function may be provided to alter the children based on component state. */
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hopper-ui/components",
|
|
3
3
|
"author": "Workleap",
|
|
4
|
-
"version": "1.3.
|
|
4
|
+
"version": "1.3.34",
|
|
5
5
|
"description": "The components package.",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"repository": {
|
|
@@ -36,15 +36,15 @@
|
|
|
36
36
|
"peerDependencies": {
|
|
37
37
|
"@hopper-ui/styled-system": "^2.4",
|
|
38
38
|
"react": "^18",
|
|
39
|
-
"react-aria": "^3.
|
|
40
|
-
"react-aria-components": "^1.
|
|
39
|
+
"react-aria": "^3.36",
|
|
40
|
+
"react-aria-components": "^1.5",
|
|
41
41
|
"react-dom": "^18"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@react-aria/utils": "^3.
|
|
45
|
-
"@react-stately/data": "^3.
|
|
46
|
-
"@react-stately/utils": "^3.10.
|
|
47
|
-
"@react-types/shared": "^3.
|
|
44
|
+
"@react-aria/utils": "^3.26.0",
|
|
45
|
+
"@react-stately/data": "^3.12.0",
|
|
46
|
+
"@react-stately/utils": "^3.10.5",
|
|
47
|
+
"@react-types/shared": "^3.26.0",
|
|
48
48
|
"clsx": "^2.1.1",
|
|
49
49
|
"@hopper-ui/icons": "2.8.4"
|
|
50
50
|
},
|
|
@@ -72,8 +72,8 @@
|
|
|
72
72
|
"jest-fail-on-console": "3.3.1",
|
|
73
73
|
"jest-fetch-mock": "3.0.3",
|
|
74
74
|
"react": "18.3.1",
|
|
75
|
-
"react-aria": "3.
|
|
76
|
-
"react-aria-components": "1.
|
|
75
|
+
"react-aria": "3.36.0",
|
|
76
|
+
"react-aria-components": "1.5.0",
|
|
77
77
|
"react-dom": "18.3.1",
|
|
78
78
|
"react-test-renderer": "18.3.1",
|
|
79
79
|
"ts-jest": "29.2.5",
|
package/dist/chunk-52EKMM7G.js
DELETED
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { TagListContext } from './chunk-XLKYXKWE.js';
|
|
2
|
-
import { TagContext } from './chunk-EWMWQ2MC.js';
|
|
3
|
-
import { TagGroupContext } from './chunk-LCAS3YQV.js';
|
|
4
|
-
import { HelperMessageContext } from './chunk-HZKFQ33E.js';
|
|
5
|
-
import { LabelContext } from './chunk-QCA3ZR56.js';
|
|
6
|
-
import { ErrorMessageContext } from './chunk-FAE27DLF.js';
|
|
7
|
-
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
8
|
-
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
9
|
-
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
10
|
-
import clsx from 'clsx';
|
|
11
|
-
import { forwardRef } from 'react';
|
|
12
|
-
import { useContextProps, FieldErrorContext, TagGroup as TagGroup$1 } from 'react-aria-components';
|
|
13
|
-
import { jsx } from 'react/jsx-runtime';
|
|
14
|
-
|
|
15
|
-
// css-module:./TagGroup.module.css#css-module
|
|
16
|
-
var TagGroup_module_default = { "hop-TagGroup": "TagGroup-module__hop-TagGroup___86SX6", "hop-TagGroup__label": "TagGroup-module__hop-TagGroup__label___9q2EX", "hop-TagGroup__list": "TagGroup-module__hop-TagGroup__list___wY28t", "hop-TagGroup__error-message": "TagGroup-module__hop-TagGroup__error-message___lPWQQ", "hop-TagGroup__helper-message": "TagGroup-module__hop-TagGroup__helper-message___S4hdN" };
|
|
17
|
-
var GlobalTagGroupCssSelector = "hop-TagGroup";
|
|
18
|
-
function TagGroup(props, ref) {
|
|
19
|
-
var _a;
|
|
20
|
-
[props, ref] = useContextProps(props, ref, TagGroupContext);
|
|
21
|
-
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
22
|
-
const {
|
|
23
|
-
className,
|
|
24
|
-
children,
|
|
25
|
-
isInvalid = false,
|
|
26
|
-
necessityIndicator,
|
|
27
|
-
style: styleProp,
|
|
28
|
-
size: sizeProp,
|
|
29
|
-
variant,
|
|
30
|
-
...otherProps
|
|
31
|
-
} = ownProps;
|
|
32
|
-
const size = (_a = useResponsiveValue(sizeProp)) != null ? _a : "md";
|
|
33
|
-
const classNames = clsx(
|
|
34
|
-
className,
|
|
35
|
-
GlobalTagGroupCssSelector,
|
|
36
|
-
stylingProps.className,
|
|
37
|
-
cssModule(
|
|
38
|
-
TagGroup_module_default,
|
|
39
|
-
"hop-TagGroup",
|
|
40
|
-
size
|
|
41
|
-
)
|
|
42
|
-
);
|
|
43
|
-
const style = {
|
|
44
|
-
...stylingProps.style,
|
|
45
|
-
...styleProp
|
|
46
|
-
};
|
|
47
|
-
return /* @__PURE__ */ jsx(
|
|
48
|
-
SlotProvider,
|
|
49
|
-
{
|
|
50
|
-
values: [
|
|
51
|
-
[LabelContext, {
|
|
52
|
-
className: TagGroup_module_default["hop-TagGroup__label"],
|
|
53
|
-
necessityIndicator
|
|
54
|
-
}],
|
|
55
|
-
[TagListContext, {
|
|
56
|
-
className: TagGroup_module_default["hop-TagGroup__list"]
|
|
57
|
-
}],
|
|
58
|
-
[TagContext, {
|
|
59
|
-
className: TagGroup_module_default["hop-TagGroup__tag"],
|
|
60
|
-
isInvalid,
|
|
61
|
-
size,
|
|
62
|
-
variant
|
|
63
|
-
}],
|
|
64
|
-
[ErrorMessageContext, {
|
|
65
|
-
className: TagGroup_module_default["hop-TagGroup__error-message"],
|
|
66
|
-
hideIcon: true
|
|
67
|
-
}],
|
|
68
|
-
[HelperMessageContext, {
|
|
69
|
-
className: TagGroup_module_default["hop-TagGroup__helper-message"],
|
|
70
|
-
hideIcon: true
|
|
71
|
-
}],
|
|
72
|
-
[FieldErrorContext, {
|
|
73
|
-
isInvalid,
|
|
74
|
-
validationErrors: [],
|
|
75
|
-
validationDetails: {}
|
|
76
|
-
}]
|
|
77
|
-
],
|
|
78
|
-
children: /* @__PURE__ */ jsx(
|
|
79
|
-
TagGroup$1,
|
|
80
|
-
{
|
|
81
|
-
ref,
|
|
82
|
-
className: classNames,
|
|
83
|
-
style,
|
|
84
|
-
...otherProps,
|
|
85
|
-
children
|
|
86
|
-
}
|
|
87
|
-
)
|
|
88
|
-
}
|
|
89
|
-
);
|
|
90
|
-
}
|
|
91
|
-
var _TagGroup = forwardRef(TagGroup);
|
|
92
|
-
_TagGroup.displayName = "TagGroup";
|
|
93
|
-
|
|
94
|
-
export { GlobalTagGroupCssSelector, _TagGroup };
|
package/dist/chunk-TPVDUGOO.js
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { TagListContext } from './chunk-XLKYXKWE.js';
|
|
2
|
-
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
3
|
-
import { useStyledSystem } from '@hopper-ui/styled-system';
|
|
4
|
-
import { forwardRef } from 'react';
|
|
5
|
-
import { useContextProps, composeRenderProps, TagList as TagList$1 } from 'react-aria-components';
|
|
6
|
-
import { jsx } from 'react/jsx-runtime';
|
|
7
|
-
|
|
8
|
-
var GlobalTagListCssSelector = "hop-TagList";
|
|
9
|
-
function TagList(props, ref) {
|
|
10
|
-
[props, ref] = useContextProps(props, ref, TagListContext);
|
|
11
|
-
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
12
|
-
const {
|
|
13
|
-
className,
|
|
14
|
-
children,
|
|
15
|
-
style: styleProp,
|
|
16
|
-
...otherProps
|
|
17
|
-
} = ownProps;
|
|
18
|
-
const classNames = composeClassnameRenderProps(
|
|
19
|
-
className,
|
|
20
|
-
GlobalTagListCssSelector,
|
|
21
|
-
"hop-TagList",
|
|
22
|
-
stylingProps.className
|
|
23
|
-
);
|
|
24
|
-
const style = composeRenderProps(styleProp, (prev) => {
|
|
25
|
-
return {
|
|
26
|
-
...stylingProps.style,
|
|
27
|
-
...prev
|
|
28
|
-
};
|
|
29
|
-
});
|
|
30
|
-
return /* @__PURE__ */ jsx(
|
|
31
|
-
TagList$1,
|
|
32
|
-
{
|
|
33
|
-
ref,
|
|
34
|
-
className: classNames,
|
|
35
|
-
style,
|
|
36
|
-
...otherProps,
|
|
37
|
-
children
|
|
38
|
-
}
|
|
39
|
-
);
|
|
40
|
-
}
|
|
41
|
-
var _TagList = forwardRef(TagList);
|
|
42
|
-
_TagList.displayName = "TagList";
|
|
43
|
-
|
|
44
|
-
export { GlobalTagListCssSelector, _TagList };
|