@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
package/dist/tag/src/Tag.js
CHANGED
|
@@ -1,24 +1,26 @@
|
|
|
1
|
-
export { GlobalTagCssSelector, _Tag as Tag } from '../../chunk-
|
|
1
|
+
export { GlobalTagCssSelector, _Tag as Tag } from '../../chunk-6L4MTZT4.js';
|
|
2
2
|
import '../../chunk-EWMWQ2MC.js';
|
|
3
|
-
import '../../chunk-
|
|
3
|
+
import '../../chunk-7FV3FDFI.js';
|
|
4
4
|
import '../../chunk-DXVKHP4V.js';
|
|
5
|
-
import '../../chunk-
|
|
5
|
+
import '../../chunk-G7QY3NWV.js';
|
|
6
6
|
import '../../chunk-O7IJYNVQ.js';
|
|
7
|
-
import '../../chunk-
|
|
7
|
+
import '../../chunk-CC5QQ4YM.js';
|
|
8
8
|
import '../../chunk-4ZYV2XLW.js';
|
|
9
|
-
import '../../chunk-UYXVO6TB.js';
|
|
10
|
-
import '../../chunk-ZWU6DRRZ.js';
|
|
11
9
|
import '../../chunk-DHVVYSLB.js';
|
|
10
|
+
import '../../chunk-WILQEDLK.js';
|
|
11
|
+
import '../../chunk-ZWU6DRRZ.js';
|
|
12
12
|
import '../../chunk-DBIN32YS.js';
|
|
13
|
-
import '../../chunk-
|
|
13
|
+
import '../../chunk-K5WUDBPF.js';
|
|
14
14
|
import '../../chunk-TXZ6BMFR.js';
|
|
15
|
-
import '../../chunk-
|
|
15
|
+
import '../../chunk-6NX5XSZH.js';
|
|
16
16
|
import '../../chunk-QCA3ZR56.js';
|
|
17
17
|
import '../../chunk-TFVDF4YH.js';
|
|
18
|
-
import '../../chunk-
|
|
18
|
+
import '../../chunk-SH3CLZKH.js';
|
|
19
|
+
import '../../chunk-Q7NXUUB3.js';
|
|
20
|
+
import '../../chunk-NUV3PDGE.js';
|
|
19
21
|
import '../../chunk-WPNVVGFW.js';
|
|
20
22
|
import '../../chunk-CQDLZ42T.js';
|
|
21
|
-
import '../../chunk-
|
|
23
|
+
import '../../chunk-75I7LTO3.js';
|
|
22
24
|
import '../../chunk-X6SER3TZ.js';
|
|
23
25
|
import '../../chunk-HXI3MEEK.js';
|
|
24
26
|
import '../../chunk-AES7QBQE.js';
|
|
@@ -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/OverlineText/src/OverlineText.module.css/#css-module-data */
|
|
87
|
-
:where(.OverlineText-module__hop-
|
|
87
|
+
:where(.OverlineText-module__hop-OverlineText___bCG0m) {
|
|
88
88
|
--hop-OverlineText-font-family: var(--hop-overline-font-family);
|
|
89
89
|
--hop-OverlineText-font-size: var(--hop-overline-font-size);
|
|
90
90
|
--hop-OverlineText-font-weight: var(--hop-overline-font-weight);
|
|
@@ -108,45 +108,52 @@
|
|
|
108
108
|
text-transform: uppercase;
|
|
109
109
|
letter-spacing: var(--letter-spacing);
|
|
110
110
|
}
|
|
111
|
-
.OverlineText-module__hop-
|
|
111
|
+
.OverlineText-module__hop-OverlineText__text___o7Sr6 {
|
|
112
112
|
box-sizing: border-box;
|
|
113
113
|
}
|
|
114
|
-
.OverlineText-module__hop-
|
|
115
|
-
.OverlineText-module__hop-
|
|
114
|
+
.OverlineText-module__hop-OverlineText__text___o7Sr6::before,
|
|
115
|
+
.OverlineText-module__hop-OverlineText__text___o7Sr6::after {
|
|
116
116
|
content: "";
|
|
117
117
|
display: block;
|
|
118
118
|
box-sizing: border-box;
|
|
119
119
|
inline-size: 0;
|
|
120
120
|
block-size: 0;
|
|
121
121
|
}
|
|
122
|
-
.OverlineText-module__hop-
|
|
122
|
+
.OverlineText-module__hop-OverlineText__text___o7Sr6::before {
|
|
123
123
|
margin-block-end: var(--bottom-offset);
|
|
124
124
|
}
|
|
125
|
-
.OverlineText-module__hop-
|
|
125
|
+
.OverlineText-module__hop-OverlineText__text___o7Sr6::after {
|
|
126
126
|
margin-block-start: var(--top-offset);
|
|
127
127
|
}
|
|
128
128
|
|
|
129
|
+
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/Form/src/Form.module.css/#css-module-data */
|
|
130
|
+
.Form-module__hop-Form___iuRf1 {
|
|
131
|
+
display: flex;
|
|
132
|
+
flex-direction: column;
|
|
133
|
+
gap: var(--hop-space-stack-lg);
|
|
134
|
+
}
|
|
135
|
+
|
|
129
136
|
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/typography/Label/src/Label.module.css/#css-module-data */
|
|
130
|
-
.Label-module__hop-
|
|
137
|
+
.Label-module__hop-Label___bYJKr {
|
|
131
138
|
--hop-Label-font-size: var(--hop-heading-xs-font-size);
|
|
132
139
|
--hop-Label-font-family: var(--hop-heading-xs-font-family);
|
|
133
140
|
--hop-Label-font-weight: var(--hop-heading-xs-font-weight);
|
|
134
141
|
--hop-Label-line-height: var(--hop-heading-xs-line-height);
|
|
135
142
|
--hop-Label-color: var(--hop-neutral-text-weak);
|
|
136
143
|
}
|
|
137
|
-
:where(.Label-module__hop-
|
|
144
|
+
:where(.Label-module__hop-Label___bYJKr) {
|
|
138
145
|
font-family: var(--hop-Label-font-family);
|
|
139
146
|
font-size: var(--hop-Label-font-size);
|
|
140
147
|
font-weight: var(--hop-Label-font-weight);
|
|
141
148
|
line-height: var(--hop-Label-line-height);
|
|
142
149
|
color: var(--hop-Label-color);
|
|
143
150
|
}
|
|
144
|
-
:where(.Label-module__hop-
|
|
151
|
+
:where(.Label-module__hop-Label__indicator___AtTcd) {
|
|
145
152
|
padding-inline-start: var(--hop-space-20);
|
|
146
153
|
}
|
|
147
154
|
|
|
148
155
|
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/typography/Text/src/Text.module.css/#css-module-data */
|
|
149
|
-
.Text-module__hop-
|
|
156
|
+
.Text-module__hop-Text___Fxj3U {
|
|
150
157
|
--hop-Text-xs-font-size: var(--hop-body-xs-font-size);
|
|
151
158
|
--hop-Text-xs-font-family: var(--hop-body-xs-font-family);
|
|
152
159
|
--hop-Text-xs-font-weight: var(--hop-body-xs-font-weight);
|
|
@@ -176,49 +183,49 @@
|
|
|
176
183
|
--hop-Text-inherit-size-font-weight: inherit;
|
|
177
184
|
--hop-Text-inherit-size-line-height: inherit;
|
|
178
185
|
}
|
|
179
|
-
:where(.Text-module__hop-
|
|
186
|
+
:where(.Text-module__hop-Text___Fxj3U) {
|
|
180
187
|
font-family: var(--font-family);
|
|
181
188
|
font-size: var(--font-size);
|
|
182
189
|
font-weight: var(--font-weight);
|
|
183
190
|
line-height: var(--line-height);
|
|
184
191
|
}
|
|
185
|
-
:where(.Text-module__hop-Text--
|
|
192
|
+
:where(.Text-module__hop-Text--xs___OBqqd) {
|
|
186
193
|
--font-size: var(--hop-Text-xs-font-size);
|
|
187
194
|
--font-family: var(--hop-Text-xs-font-family);
|
|
188
195
|
--font-weight: var(--hop-Text-xs-font-weight);
|
|
189
196
|
--line-height: var(--hop-Text-xs-line-height);
|
|
190
197
|
}
|
|
191
|
-
:where(.Text-module__hop-Text--
|
|
198
|
+
:where(.Text-module__hop-Text--sm___W0t5J) {
|
|
192
199
|
--font-size: var(--hop-Text-sm-font-size);
|
|
193
200
|
--font-family: var(--hop-Text-sm-font-family);
|
|
194
201
|
--font-weight: var(--hop-Text-sm-font-weight);
|
|
195
202
|
--line-height: var(--hop-Text-sm-line-height);
|
|
196
203
|
}
|
|
197
|
-
:where(.Text-module__hop-Text--
|
|
204
|
+
:where(.Text-module__hop-Text--md___0XAci) {
|
|
198
205
|
--font-size: var(--hop-Text-md-font-size);
|
|
199
206
|
--font-family: var(--hop-Text-md-font-family);
|
|
200
207
|
--font-weight: var(--hop-Text-md-font-weight);
|
|
201
208
|
--line-height: var(--hop-Text-md-line-height);
|
|
202
209
|
}
|
|
203
|
-
:where(.Text-module__hop-Text--
|
|
210
|
+
:where(.Text-module__hop-Text--lg___fe6zi) {
|
|
204
211
|
--font-size: var(--hop-Text-lg-font-size);
|
|
205
212
|
--font-family: var(--hop-Text-lg-font-family);
|
|
206
213
|
--font-weight: var(--hop-Text-lg-font-weight);
|
|
207
214
|
--line-height: var(--hop-Text-lg-line-height);
|
|
208
215
|
}
|
|
209
|
-
:where(.Text-module__hop-Text--
|
|
216
|
+
:where(.Text-module__hop-Text--xl___Yu73w) {
|
|
210
217
|
--font-size: var(--hop-Text-xl-font-size);
|
|
211
218
|
--font-family: var(--hop-Text-xl-font-family);
|
|
212
219
|
--font-weight: var(--hop-Text-xl-font-weight);
|
|
213
220
|
--line-height: var(--hop-Text-xl-line-height);
|
|
214
221
|
}
|
|
215
|
-
:where(.Text-module__hop-Text--
|
|
222
|
+
:where(.Text-module__hop-Text--2xl___XUoUN) {
|
|
216
223
|
--font-size: var(--hop-Text-2xl-font-size);
|
|
217
224
|
--font-family: var(--hop-Text-2xl-font-family);
|
|
218
225
|
--font-weight: var(--hop-Text-2xl-font-weight);
|
|
219
226
|
--line-height: var(--hop-Text-2xl-line-height);
|
|
220
227
|
}
|
|
221
|
-
:where(.Text-module__hop-Text--
|
|
228
|
+
:where(.Text-module__hop-Text--inherit___zBVgd) {
|
|
222
229
|
--font-size: var(--hop-Text-inherit-size-font-size);
|
|
223
230
|
--font-family: var(--hop-Text-inherit-size-font-family);
|
|
224
231
|
--font-weight: var(--hop-Text-inherit-size-font-weight);
|
|
@@ -226,7 +233,7 @@
|
|
|
226
233
|
}
|
|
227
234
|
|
|
228
235
|
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/ErrorMessage/src/ErrorMessage.module.css/#css-module-data */
|
|
229
|
-
.ErrorMessage-module__hop-
|
|
236
|
+
.ErrorMessage-module__hop-ErrorMessage___1ogYr {
|
|
230
237
|
--hop-ErrorMessage-color: var(--hop-danger-text-weak);
|
|
231
238
|
--hop-ErrorMessage-font-family: var(--hop-body-xs-font-family);
|
|
232
239
|
--hop-ErrorMessage-font-size: var(--hop-body-xs-font-size);
|
|
@@ -243,13 +250,13 @@
|
|
|
243
250
|
line-height: var(--hop-ErrorMessage-line-height);
|
|
244
251
|
color: var(--hop-ErrorMessage-color);
|
|
245
252
|
}
|
|
246
|
-
.ErrorMessage-module__hop-
|
|
253
|
+
.ErrorMessage-module__hop-ErrorMessage__icon___NXHIT {
|
|
247
254
|
flex: 0 0 auto;
|
|
248
255
|
align-self: flex-start;
|
|
249
256
|
}
|
|
250
257
|
|
|
251
258
|
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/HelperMessage/src/HelperMessage.module.css/#css-module-data */
|
|
252
|
-
.HelperMessage-module__hop-
|
|
259
|
+
.HelperMessage-module__hop-HelperMessage___2u276 {
|
|
253
260
|
--hop-HelperMessage-color: var(--hop-neutral-text-weak);
|
|
254
261
|
--hop-HelperMessage-column-gap: var(--hop-space-inline-xs);
|
|
255
262
|
display: flex;
|
|
@@ -258,13 +265,13 @@
|
|
|
258
265
|
box-sizing: border-box;
|
|
259
266
|
color: var(--hop-HelperMessage-color);
|
|
260
267
|
}
|
|
261
|
-
.HelperMessage-module__hop-
|
|
268
|
+
.HelperMessage-module__hop-HelperMessage__icon___qXSF9 {
|
|
262
269
|
flex: 0 0 auto;
|
|
263
270
|
align-self: flex-start;
|
|
264
271
|
}
|
|
265
272
|
|
|
266
273
|
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/tag/src/TagGroup.module.css/#css-module-data */
|
|
267
|
-
.TagGroup-module__hop-
|
|
274
|
+
.TagGroup-module__hop-TagGroup___-82Bs {
|
|
268
275
|
--hop-TagGroup-row-gap: var(--hop-space-inline-sm);
|
|
269
276
|
--hop-TagGroup-list-column-gap: var(--hop-space-inline-sm);
|
|
270
277
|
--hop-TagGroup-list-row-gap: var(--hop-space-inline-sm);
|
|
@@ -284,10 +291,10 @@
|
|
|
284
291
|
inline-size: max-content;
|
|
285
292
|
max-inline-size: 100%;
|
|
286
293
|
}
|
|
287
|
-
.TagGroup-module__hop-
|
|
294
|
+
.TagGroup-module__hop-TagGroup___-82Bs > .TagGroup-module__hop-TagGroup__label___8v0Gh {
|
|
288
295
|
order: 1;
|
|
289
296
|
}
|
|
290
|
-
.TagGroup-module__hop-
|
|
297
|
+
.TagGroup-module__hop-TagGroup__list___6gKT9 {
|
|
291
298
|
display: flex;
|
|
292
299
|
flex-wrap: wrap;
|
|
293
300
|
gap: var(--list-row-gap) var(--list-column-gap);
|
|
@@ -296,11 +303,11 @@
|
|
|
296
303
|
border-radius: var(--list-border-radius);
|
|
297
304
|
outline: none;
|
|
298
305
|
}
|
|
299
|
-
.TagGroup-module__hop-
|
|
306
|
+
.TagGroup-module__hop-TagGroup__list___6gKT9[data-focus-visible] {
|
|
300
307
|
outline: 0.125rem solid var(--list-focus-ring-color);
|
|
301
308
|
outline-offset: 0.125rem;
|
|
302
309
|
}
|
|
303
|
-
.TagGroup-module__hop-
|
|
304
|
-
.TagGroup-module__hop-
|
|
310
|
+
.TagGroup-module__hop-TagGroup___-82Bs > .TagGroup-module__hop-TagGroup__error-message___uSlkg,
|
|
311
|
+
.TagGroup-module__hop-TagGroup___-82Bs > .TagGroup-module__hop-TagGroup__helper-message___2WpP7 {
|
|
305
312
|
order: 3;
|
|
306
313
|
}
|
|
@@ -1,37 +1,43 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { StyledComponentProps, ResponsiveProp } from '@hopper-ui/styled-system';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { ForwardedRef } from 'react';
|
|
4
|
+
import { TagListProps as TagListProps$1, TagGroupProps as TagGroupProps$1 } from 'react-aria-components';
|
|
5
|
+
import { FieldProps } from '../../utils/src/types.js';
|
|
5
6
|
import { T as TagSize, g as TagVariant } from '../../ClearButton-DTR1qTbm.js';
|
|
6
7
|
import '@react-types/shared';
|
|
7
8
|
import '../../Spinner/src/Spinner.js';
|
|
8
9
|
|
|
9
10
|
declare const GlobalTagGroupCssSelector = "hop-TagGroup";
|
|
10
|
-
|
|
11
|
+
type ListProps = "items" | "children" | "renderEmptyState";
|
|
12
|
+
type TagListProps<T> = StyledComponentProps<Omit<TagListProps$1<T>, ListProps>>;
|
|
13
|
+
interface TagGroupProps<T> extends StyledComponentProps<Omit<TagGroupProps$1, "children">>, Pick<TagListProps$1<T>, ListProps>, Omit<FieldProps, "size"> {
|
|
11
14
|
/**
|
|
12
15
|
* Whether the tags are invalid or not.
|
|
13
16
|
*/
|
|
14
17
|
isInvalid?: boolean;
|
|
15
|
-
/**
|
|
16
|
-
* Whether the required state should be shown as an asterisk or a label, which would display (Optional) on all non required field labels.
|
|
17
|
-
*/
|
|
18
|
-
necessityIndicator?: NecessityIndicator;
|
|
19
18
|
/**
|
|
20
19
|
* A tag can vary in size.
|
|
21
20
|
* @default "md"
|
|
22
21
|
*/
|
|
23
22
|
size?: ResponsiveProp<TagSize>;
|
|
23
|
+
/**
|
|
24
|
+
* The tag list props
|
|
25
|
+
*/
|
|
26
|
+
tagListProps?: TagListProps<T>;
|
|
24
27
|
/**
|
|
25
28
|
* The visual style of the TagGroup.
|
|
26
29
|
* @default "neutral"
|
|
27
30
|
*/
|
|
28
31
|
variant?: TagVariant;
|
|
29
32
|
}
|
|
33
|
+
declare function TagGroup<T extends object>(props: TagGroupProps<T>, ref: ForwardedRef<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
30
34
|
/**
|
|
31
35
|
* A versatile TagGroup component for categorizing items.
|
|
32
36
|
*
|
|
33
37
|
* [View Documentation](TODO)
|
|
34
38
|
*/
|
|
35
|
-
declare const _TagGroup:
|
|
39
|
+
declare const _TagGroup: <T>(props: TagGroupProps<T> & {
|
|
40
|
+
ref?: ForwardedRef<HTMLDivElement>;
|
|
41
|
+
}) => ReturnType<typeof TagGroup>;
|
|
36
42
|
|
|
37
|
-
export { GlobalTagGroupCssSelector, _TagGroup as TagGroup, type TagGroupProps };
|
|
43
|
+
export { GlobalTagGroupCssSelector, _TagGroup as TagGroup, type TagGroupProps, type TagListProps };
|
package/dist/tag/src/TagGroup.js
CHANGED
|
@@ -1,10 +1,20 @@
|
|
|
1
|
-
export { GlobalTagGroupCssSelector, _TagGroup as TagGroup } from '../../chunk-
|
|
2
|
-
import '../../chunk-XLKYXKWE.js';
|
|
3
|
-
import '../../chunk-EWMWQ2MC.js';
|
|
1
|
+
export { GlobalTagGroupCssSelector, _TagGroup as TagGroup } from '../../chunk-RAAORA53.js';
|
|
4
2
|
import '../../chunk-LCAS3YQV.js';
|
|
3
|
+
import '../../chunk-EWMWQ2MC.js';
|
|
4
|
+
import '../../chunk-EXO4OJ7Z.js';
|
|
5
5
|
import '../../chunk-HZKFQ33E.js';
|
|
6
|
-
import '../../chunk-
|
|
6
|
+
import '../../chunk-KFPJZFZS.js';
|
|
7
7
|
import '../../chunk-FAE27DLF.js';
|
|
8
|
+
import '../../chunk-6NX5XSZH.js';
|
|
9
|
+
import '../../chunk-QCA3ZR56.js';
|
|
10
|
+
import '../../chunk-TFVDF4YH.js';
|
|
11
|
+
import '../../chunk-SH3CLZKH.js';
|
|
12
|
+
import '../../chunk-Q7NXUUB3.js';
|
|
13
|
+
import '../../chunk-75I7LTO3.js';
|
|
14
|
+
import '../../chunk-X6SER3TZ.js';
|
|
15
|
+
import '../../chunk-HXI3MEEK.js';
|
|
16
|
+
import '../../chunk-NH3IVMXB.js';
|
|
17
|
+
import '../../chunk-65JPI4FL.js';
|
|
8
18
|
import '../../chunk-M36KANKC.js';
|
|
9
19
|
import '../../chunk-KVDXQMWI.js';
|
|
10
20
|
import '../../chunk-JSBRDJBE.js';
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ContextValue } from 'react-aria-components';
|
|
3
3
|
import { TagGroupProps } from './TagGroup.js';
|
|
4
|
+
import 'react/jsx-runtime';
|
|
4
5
|
import '@hopper-ui/styled-system';
|
|
5
6
|
import '../../utils/src/types.js';
|
|
6
7
|
import '@react-types/shared';
|
|
7
8
|
import '../../ClearButton-DTR1qTbm.js';
|
|
8
9
|
import '../../Spinner/src/Spinner.js';
|
|
9
10
|
|
|
10
|
-
declare const TagGroupContext: react.Context<ContextValue<TagGroupProps
|
|
11
|
+
declare const TagGroupContext: react.Context<ContextValue<TagGroupProps<any>, HTMLDivElement>>;
|
|
11
12
|
|
|
12
13
|
export { TagGroupContext };
|