@hopper-ui/components 1.3.32 → 1.3.33
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 +6 -0
- package/dist/Avatar/src/AnonymousAvatar.css +37 -37
- package/dist/Avatar/src/AnonymousAvatar.js +2 -2
- package/dist/Avatar/src/Avatar.css +55 -55
- package/dist/Avatar/src/Avatar.js +4 -4
- package/dist/Avatar/src/DeletedAvatar.css +37 -37
- package/dist/Avatar/src/DeletedAvatar.js +2 -2
- package/dist/Avatar/src/RichIconAvatarImage.css +37 -37
- package/dist/Avatar/src/RichIconAvatarImage.js +1 -1
- package/dist/Avatar/src/index.css +55 -55
- package/dist/Avatar/src/index.js +6 -6
- package/dist/Badge/src/Badge.css +42 -42
- package/dist/Badge/src/Badge.js +2 -2
- package/dist/Badge/src/FloatingBadge.css +37 -37
- package/dist/Badge/src/FloatingBadge.js +2 -2
- package/dist/Badge/src/index.css +52 -52
- package/dist/Badge/src/index.js +4 -4
- package/dist/Card/src/Card.css +30 -30
- package/dist/Card/src/Card.js +2 -2
- package/dist/Card/src/index.css +30 -30
- package/dist/Card/src/index.js +2 -2
- package/dist/ComboBox/src/ComboBox.css +559 -559
- package/dist/ComboBox/src/ComboBox.js +17 -17
- package/dist/ComboBox/src/index.css +559 -559
- package/dist/ComboBox/src/index.js +17 -17
- package/dist/Divider/src/Divider.css +29 -29
- package/dist/Divider/src/Divider.js +1 -1
- package/dist/Divider/src/index.css +29 -29
- package/dist/Divider/src/index.js +1 -1
- package/dist/ErrorMessage/src/ErrorMessage.css +29 -29
- package/dist/ErrorMessage/src/ErrorMessage.js +2 -2
- package/dist/ErrorMessage/src/index.css +29 -29
- package/dist/ErrorMessage/src/index.js +2 -2
- package/dist/Form/src/Form.css +747 -747
- package/dist/Form/src/Form.js +6 -6
- package/dist/Form/src/index.css +747 -747
- package/dist/Form/src/index.js +6 -6
- package/dist/HelperMessage/src/HelperMessage.css +29 -29
- package/dist/HelperMessage/src/HelperMessage.js +2 -2
- package/dist/HelperMessage/src/index.css +29 -29
- package/dist/HelperMessage/src/index.js +2 -2
- package/dist/IconList/src/IconList.css +28 -28
- package/dist/IconList/src/IconList.js +1 -1
- package/dist/IconList/src/index.css +28 -28
- package/dist/IconList/src/index.js +1 -1
- package/dist/Link/src/Link.css +49 -49
- package/dist/Link/src/Link.js +6 -6
- package/dist/Link/src/index.css +49 -49
- package/dist/Link/src/index.js +6 -6
- package/dist/ListBox/src/ListBox.css +274 -274
- package/dist/ListBox/src/ListBox.js +10 -10
- package/dist/ListBox/src/ListBoxItem.css +262 -262
- package/dist/ListBox/src/ListBoxItem.js +9 -9
- package/dist/ListBox/src/ListBoxItemSkeleton.css +34 -34
- package/dist/ListBox/src/ListBoxItemSkeleton.js +1 -1
- package/dist/ListBox/src/index.css +274 -274
- package/dist/ListBox/src/index.js +10 -10
- package/dist/Select/src/Select.css +563 -563
- package/dist/Select/src/Select.js +17 -17
- package/dist/Select/src/SelectValue.css +61 -61
- package/dist/Select/src/SelectValue.js +5 -5
- package/dist/Select/src/index.css +563 -563
- package/dist/Select/src/index.js +17 -17
- package/dist/Spinner/src/Spinner.css +37 -37
- package/dist/Spinner/src/Spinner.js +2 -2
- package/dist/Spinner/src/index.css +37 -37
- package/dist/Spinner/src/index.js +2 -2
- package/dist/buttons/src/Button.css +93 -93
- package/dist/buttons/src/Button.js +7 -7
- package/dist/buttons/src/ButtonGroup.css +38 -38
- package/dist/buttons/src/ButtonGroup.js +1 -1
- package/dist/buttons/src/ClearButton.css +98 -98
- package/dist/buttons/src/ClearButton.js +2 -2
- package/dist/buttons/src/EmbeddedButton.css +98 -98
- package/dist/buttons/src/EmbeddedButton.js +1 -1
- package/dist/buttons/src/LinkButton.css +102 -102
- package/dist/buttons/src/LinkButton.js +6 -6
- package/dist/buttons/src/index.css +249 -249
- package/dist/buttons/src/index.js +11 -11
- package/dist/checkbox/src/Checkbox.css +46 -46
- package/dist/checkbox/src/Checkbox.js +6 -6
- package/dist/checkbox/src/CheckboxField.css +33 -33
- package/dist/checkbox/src/CheckboxField.js +2 -2
- package/dist/checkbox/src/CheckboxGroup.css +98 -98
- package/dist/checkbox/src/CheckboxGroup.js +5 -5
- package/dist/checkbox/src/DecorativeCheckbox.css +54 -54
- package/dist/checkbox/src/DecorativeCheckbox.js +6 -6
- package/dist/checkbox/src/index.css +98 -98
- package/dist/checkbox/src/index.js +11 -11
- package/dist/{chunk-X5SCISRD.js → chunk-5L4SRFMM.js} +2 -2
- package/dist/{chunk-VYNPGUH2.js → chunk-5N6R4USJ.js} +1 -1
- package/dist/{chunk-2ZAWI3VO.js → chunk-5V32JYKM.js} +1 -1
- package/dist/{chunk-ZTS67CFU.js → chunk-6SOC4ZCP.js} +2 -2
- package/dist/{chunk-7RTEFFZS.js → chunk-6URDOTFT.js} +1 -1
- package/dist/{chunk-F3GTLFKR.js → chunk-7TNFRZPO.js} +1 -1
- package/dist/{chunk-UOVCHVGX.js → chunk-7W2MXYXZ.js} +4 -4
- package/dist/{chunk-HPEGBHAQ.js → chunk-BCUIZE4G.js} +1 -1
- package/dist/{chunk-OFYHUD3N.js → chunk-BYOQKF3I.js} +2 -2
- package/dist/{chunk-U7NERCPG.js → chunk-CWGQSZVV.js} +6 -6
- package/dist/{chunk-WXP3P4KY.js → chunk-DJWMHKN5.js} +3 -3
- package/dist/{chunk-5TE4QKZ2.js → chunk-DPGUTB2Z.js} +2 -2
- package/dist/{chunk-YTKE4ERV.js → chunk-DRVU56LK.js} +8 -8
- package/dist/{chunk-XDJMIWOT.js → chunk-ECAM35AM.js} +3 -3
- package/dist/{chunk-JHZLRSJY.js → chunk-ETR3U3FY.js} +1 -1
- package/dist/{chunk-UEZ6JMBX.js → chunk-GCPJ72ES.js} +1 -1
- package/dist/{chunk-UYDOZLJW.js → chunk-GDB7JQ3D.js} +1 -1
- package/dist/{chunk-FXB7BBJB.js → chunk-HLWX7CML.js} +2 -2
- package/dist/{chunk-UJAYZEVR.js → chunk-HXO6663T.js} +2 -2
- package/dist/{chunk-MCSPPEQN.js → chunk-JA3U74ZK.js} +1 -1
- package/dist/{chunk-QDIICTRS.js → chunk-JCJA22ZN.js} +2 -2
- package/dist/{chunk-PR6Q2XJD.js → chunk-JGHJ2M26.js} +8 -8
- package/dist/{chunk-OEMWDVBB.js → chunk-JQDHDPWX.js} +2 -2
- package/dist/{chunk-B2PZHGGT.js → chunk-JTHUJSFK.js} +2 -2
- package/dist/{chunk-WJ6YDFFC.js → chunk-MAMRCWYC.js} +1 -1
- package/dist/{chunk-SWQEWYNM.js → chunk-MYDEFJS3.js} +1 -1
- package/dist/{chunk-2PIWQBQ7.js → chunk-NDJTJNFH.js} +2 -2
- package/dist/{chunk-77K422AK.js → chunk-NOY3G4YX.js} +1 -1
- package/dist/{chunk-KXZYWFM3.js → chunk-O44XKAD6.js} +4 -4
- package/dist/{chunk-VYFGV7LF.js → chunk-OQ5ANYTP.js} +2 -2
- package/dist/{chunk-Y75VH6OP.js → chunk-PSIGABQ5.js} +1 -1
- package/dist/{chunk-UYXVO6TB.js → chunk-R5756BNI.js} +1 -1
- package/dist/{chunk-MY7R6ZMF.js → chunk-ROBSHFBH.js} +2 -2
- package/dist/{chunk-MOIFFJJ3.js → chunk-SVBLMLJM.js} +1 -1
- package/dist/{chunk-ZUL2DWRU.js → chunk-TQKARZW6.js} +2 -2
- package/dist/{chunk-MMCWVCOD.js → chunk-TUQXINCS.js} +2 -2
- package/dist/{chunk-5YGTZWHS.js → chunk-UBXBQMCI.js} +1 -1
- package/dist/{chunk-4XMDZ5QF.js → chunk-VB4KGI6T.js} +2 -2
- package/dist/{chunk-JZV3EU5P.js → chunk-VDEBLHQC.js} +5 -5
- package/dist/chunk-VHQQVD4Y.js +121 -0
- package/dist/{chunk-PME32XAH.js → chunk-WOSZZL62.js} +6 -6
- package/dist/{chunk-7OZNJCXL.js → chunk-WUXVBNRQ.js} +6 -6
- package/dist/{chunk-XTY7LASB.js → chunk-YGEF3D4F.js} +3 -3
- package/dist/{chunk-BAX352BZ.js → chunk-YQXI64TQ.js} +1 -1
- package/dist/{chunk-7ITDXJPN.js → chunk-YXAAHLMF.js} +5 -5
- package/dist/{chunk-6XSOF5IT.js → chunk-Z2LRCDGL.js} +2 -2
- package/dist/{chunk-N7ORIARY.js → chunk-Z2UVDVEE.js} +2 -2
- package/dist/{chunk-SMNKMZIC.js → chunk-Z5GLI3AC.js} +8 -8
- package/dist/{chunk-OAUTLKSG.js → chunk-ZV45TYGR.js} +6 -6
- package/dist/{chunk-425TRLX5.js → chunk-ZWNZNKIJ.js} +2 -2
- package/dist/index.css +773 -773
- package/dist/index.d.ts +1 -3
- package/dist/index.js +58 -60
- package/dist/inputs/src/InputGroup.css +264 -264
- package/dist/inputs/src/InputGroup.js +1 -1
- package/dist/inputs/src/NumberField.css +286 -286
- package/dist/inputs/src/NumberField.js +9 -9
- package/dist/inputs/src/PasswordField.css +274 -274
- package/dist/inputs/src/PasswordField.js +9 -9
- package/dist/inputs/src/RemainingCharacterCount.css +30 -30
- package/dist/inputs/src/RemainingCharacterCount.js +5 -5
- package/dist/inputs/src/SearchField.css +280 -280
- package/dist/inputs/src/SearchField.js +10 -10
- package/dist/inputs/src/TextArea.css +281 -281
- package/dist/inputs/src/TextArea.js +9 -9
- package/dist/inputs/src/TextField.css +278 -278
- package/dist/inputs/src/TextField.js +12 -12
- package/dist/inputs/src/index.css +324 -324
- package/dist/inputs/src/index.js +16 -16
- package/dist/overlays/Popover/src/Popover.css +541 -541
- package/dist/overlays/Popover/src/Popover.js +6 -6
- package/dist/overlays/Popover/src/index.css +541 -541
- package/dist/overlays/Popover/src/index.js +6 -6
- package/dist/radio/src/DecorativeRadio.css +54 -54
- package/dist/radio/src/DecorativeRadio.js +6 -6
- package/dist/radio/src/Radio.css +46 -46
- package/dist/radio/src/Radio.js +6 -6
- package/dist/radio/src/RadioField.css +33 -33
- package/dist/radio/src/RadioField.js +2 -2
- package/dist/radio/src/RadioGroup.css +98 -98
- package/dist/radio/src/RadioGroup.js +5 -5
- package/dist/radio/src/index.css +98 -98
- package/dist/radio/src/index.js +11 -11
- package/dist/switch/src/Switch.css +43 -43
- package/dist/switch/src/Switch.js +6 -6
- package/dist/switch/src/SwitchField.css +33 -33
- package/dist/switch/src/SwitchField.js +2 -2
- package/dist/switch/src/index.css +49 -49
- package/dist/switch/src/index.js +7 -7
- package/dist/tag/src/Tag.css +390 -390
- package/dist/tag/src/Tag.js +9 -9
- package/dist/tag/src/TagGroup.css +37 -37
- package/dist/tag/src/TagGroup.d.ts +16 -10
- package/dist/tag/src/TagGroup.js +10 -2
- package/dist/tag/src/TagGroupContext.d.ts +2 -1
- package/dist/tag/src/index.css +400 -400
- package/dist/tag/src/index.d.ts +2 -3
- package/dist/tag/src/index.js +13 -12
- package/dist/typography/Heading/src/Heading.css +27 -27
- package/dist/typography/Heading/src/Heading.js +1 -1
- package/dist/typography/Heading/src/index.css +27 -27
- package/dist/typography/Heading/src/index.js +1 -1
- package/dist/typography/Label/src/Label.css +27 -27
- package/dist/typography/Label/src/Label.js +1 -1
- package/dist/typography/Label/src/index.css +27 -27
- package/dist/typography/Label/src/index.js +1 -1
- package/dist/typography/OverlineText/src/OverlineText.css +27 -27
- package/dist/typography/OverlineText/src/OverlineText.js +1 -1
- package/dist/typography/OverlineText/src/index.css +27 -27
- package/dist/typography/OverlineText/src/index.js +1 -1
- package/dist/typography/Text/src/Text.css +27 -27
- package/dist/typography/Text/src/Text.js +1 -1
- package/dist/typography/Text/src/index.css +27 -27
- package/dist/typography/Text/src/index.js +1 -1
- package/dist/utils/src/EnsureTextWrapper.css +27 -27
- package/dist/utils/src/EnsureTextWrapper.js +5 -5
- package/dist/utils/src/index.css +27 -27
- package/dist/utils/src/index.js +5 -5
- package/package.json +1 -1
- package/dist/chunk-52EKMM7G.js +0 -94
- package/dist/chunk-TPVDUGOO.js +0 -44
- package/dist/chunk-XLKYXKWE.js +0 -7
- package/dist/tag/src/TagList.css +0 -226
- 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,24 @@
|
|
|
1
|
-
export { GlobalTagCssSelector, _Tag as Tag } from '../../chunk-
|
|
1
|
+
export { GlobalTagCssSelector, _Tag as Tag } from '../../chunk-YXAAHLMF.js';
|
|
2
2
|
import '../../chunk-EWMWQ2MC.js';
|
|
3
|
-
import '../../chunk-
|
|
3
|
+
import '../../chunk-5N6R4USJ.js';
|
|
4
4
|
import '../../chunk-DXVKHP4V.js';
|
|
5
|
-
import '../../chunk-
|
|
5
|
+
import '../../chunk-PSIGABQ5.js';
|
|
6
6
|
import '../../chunk-O7IJYNVQ.js';
|
|
7
|
-
import '../../chunk-
|
|
7
|
+
import '../../chunk-HLWX7CML.js';
|
|
8
8
|
import '../../chunk-4ZYV2XLW.js';
|
|
9
|
-
import '../../chunk-
|
|
9
|
+
import '../../chunk-R5756BNI.js';
|
|
10
10
|
import '../../chunk-ZWU6DRRZ.js';
|
|
11
11
|
import '../../chunk-DHVVYSLB.js';
|
|
12
12
|
import '../../chunk-DBIN32YS.js';
|
|
13
|
-
import '../../chunk-
|
|
13
|
+
import '../../chunk-BCUIZE4G.js';
|
|
14
14
|
import '../../chunk-TXZ6BMFR.js';
|
|
15
|
-
import '../../chunk-
|
|
15
|
+
import '../../chunk-YQXI64TQ.js';
|
|
16
16
|
import '../../chunk-QCA3ZR56.js';
|
|
17
17
|
import '../../chunk-TFVDF4YH.js';
|
|
18
|
-
import '../../chunk-
|
|
18
|
+
import '../../chunk-ETR3U3FY.js';
|
|
19
19
|
import '../../chunk-WPNVVGFW.js';
|
|
20
20
|
import '../../chunk-CQDLZ42T.js';
|
|
21
|
-
import '../../chunk-
|
|
21
|
+
import '../../chunk-5V32JYKM.js';
|
|
22
22
|
import '../../chunk-X6SER3TZ.js';
|
|
23
23
|
import '../../chunk-HXI3MEEK.js';
|
|
24
24
|
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___CVskF {
|
|
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___CVskF) {
|
|
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___7Zrw2) {
|
|
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___VbyiN) {
|
|
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___gkCTa) {
|
|
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___XhmuU) {
|
|
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___0Rnx-) {
|
|
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___H2izG) {
|
|
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___NX39q) {
|
|
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___Fyhbp) {
|
|
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,45 @@
|
|
|
108
108
|
text-transform: uppercase;
|
|
109
109
|
letter-spacing: var(--letter-spacing);
|
|
110
110
|
}
|
|
111
|
-
.OverlineText-module__hop-
|
|
111
|
+
.OverlineText-module__hop-OverlineText__text___-NVnD {
|
|
112
112
|
box-sizing: border-box;
|
|
113
113
|
}
|
|
114
|
-
.OverlineText-module__hop-
|
|
115
|
-
.OverlineText-module__hop-
|
|
114
|
+
.OverlineText-module__hop-OverlineText__text___-NVnD::before,
|
|
115
|
+
.OverlineText-module__hop-OverlineText__text___-NVnD::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___-NVnD::before {
|
|
123
123
|
margin-block-end: var(--bottom-offset);
|
|
124
124
|
}
|
|
125
|
-
.OverlineText-module__hop-
|
|
125
|
+
.OverlineText-module__hop-OverlineText__text___-NVnD::after {
|
|
126
126
|
margin-block-start: var(--top-offset);
|
|
127
127
|
}
|
|
128
128
|
|
|
129
129
|
/* 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-
|
|
130
|
+
.Label-module__hop-Label___0IaEN {
|
|
131
131
|
--hop-Label-font-size: var(--hop-heading-xs-font-size);
|
|
132
132
|
--hop-Label-font-family: var(--hop-heading-xs-font-family);
|
|
133
133
|
--hop-Label-font-weight: var(--hop-heading-xs-font-weight);
|
|
134
134
|
--hop-Label-line-height: var(--hop-heading-xs-line-height);
|
|
135
135
|
--hop-Label-color: var(--hop-neutral-text-weak);
|
|
136
136
|
}
|
|
137
|
-
:where(.Label-module__hop-
|
|
137
|
+
:where(.Label-module__hop-Label___0IaEN) {
|
|
138
138
|
font-family: var(--hop-Label-font-family);
|
|
139
139
|
font-size: var(--hop-Label-font-size);
|
|
140
140
|
font-weight: var(--hop-Label-font-weight);
|
|
141
141
|
line-height: var(--hop-Label-line-height);
|
|
142
142
|
color: var(--hop-Label-color);
|
|
143
143
|
}
|
|
144
|
-
:where(.Label-module__hop-
|
|
144
|
+
:where(.Label-module__hop-Label__indicator___ckLyt) {
|
|
145
145
|
padding-inline-start: var(--hop-space-20);
|
|
146
146
|
}
|
|
147
147
|
|
|
148
148
|
/* 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-
|
|
149
|
+
.Text-module__hop-Text___oqQoT {
|
|
150
150
|
--hop-Text-xs-font-size: var(--hop-body-xs-font-size);
|
|
151
151
|
--hop-Text-xs-font-family: var(--hop-body-xs-font-family);
|
|
152
152
|
--hop-Text-xs-font-weight: var(--hop-body-xs-font-weight);
|
|
@@ -176,49 +176,49 @@
|
|
|
176
176
|
--hop-Text-inherit-size-font-weight: inherit;
|
|
177
177
|
--hop-Text-inherit-size-line-height: inherit;
|
|
178
178
|
}
|
|
179
|
-
:where(.Text-module__hop-
|
|
179
|
+
:where(.Text-module__hop-Text___oqQoT) {
|
|
180
180
|
font-family: var(--font-family);
|
|
181
181
|
font-size: var(--font-size);
|
|
182
182
|
font-weight: var(--font-weight);
|
|
183
183
|
line-height: var(--line-height);
|
|
184
184
|
}
|
|
185
|
-
:where(.Text-module__hop-Text--
|
|
185
|
+
:where(.Text-module__hop-Text--xs___gmh3H) {
|
|
186
186
|
--font-size: var(--hop-Text-xs-font-size);
|
|
187
187
|
--font-family: var(--hop-Text-xs-font-family);
|
|
188
188
|
--font-weight: var(--hop-Text-xs-font-weight);
|
|
189
189
|
--line-height: var(--hop-Text-xs-line-height);
|
|
190
190
|
}
|
|
191
|
-
:where(.Text-module__hop-Text--
|
|
191
|
+
:where(.Text-module__hop-Text--sm___vOWCS) {
|
|
192
192
|
--font-size: var(--hop-Text-sm-font-size);
|
|
193
193
|
--font-family: var(--hop-Text-sm-font-family);
|
|
194
194
|
--font-weight: var(--hop-Text-sm-font-weight);
|
|
195
195
|
--line-height: var(--hop-Text-sm-line-height);
|
|
196
196
|
}
|
|
197
|
-
:where(.Text-module__hop-Text--
|
|
197
|
+
:where(.Text-module__hop-Text--md___k7DwC) {
|
|
198
198
|
--font-size: var(--hop-Text-md-font-size);
|
|
199
199
|
--font-family: var(--hop-Text-md-font-family);
|
|
200
200
|
--font-weight: var(--hop-Text-md-font-weight);
|
|
201
201
|
--line-height: var(--hop-Text-md-line-height);
|
|
202
202
|
}
|
|
203
|
-
:where(.Text-module__hop-Text--
|
|
203
|
+
:where(.Text-module__hop-Text--lg___yM6qv) {
|
|
204
204
|
--font-size: var(--hop-Text-lg-font-size);
|
|
205
205
|
--font-family: var(--hop-Text-lg-font-family);
|
|
206
206
|
--font-weight: var(--hop-Text-lg-font-weight);
|
|
207
207
|
--line-height: var(--hop-Text-lg-line-height);
|
|
208
208
|
}
|
|
209
|
-
:where(.Text-module__hop-Text--
|
|
209
|
+
:where(.Text-module__hop-Text--xl___2nk6L) {
|
|
210
210
|
--font-size: var(--hop-Text-xl-font-size);
|
|
211
211
|
--font-family: var(--hop-Text-xl-font-family);
|
|
212
212
|
--font-weight: var(--hop-Text-xl-font-weight);
|
|
213
213
|
--line-height: var(--hop-Text-xl-line-height);
|
|
214
214
|
}
|
|
215
|
-
:where(.Text-module__hop-Text--
|
|
215
|
+
:where(.Text-module__hop-Text--2xl___NUzYK) {
|
|
216
216
|
--font-size: var(--hop-Text-2xl-font-size);
|
|
217
217
|
--font-family: var(--hop-Text-2xl-font-family);
|
|
218
218
|
--font-weight: var(--hop-Text-2xl-font-weight);
|
|
219
219
|
--line-height: var(--hop-Text-2xl-line-height);
|
|
220
220
|
}
|
|
221
|
-
:where(.Text-module__hop-Text--
|
|
221
|
+
:where(.Text-module__hop-Text--inherit___WNcxc) {
|
|
222
222
|
--font-size: var(--hop-Text-inherit-size-font-size);
|
|
223
223
|
--font-family: var(--hop-Text-inherit-size-font-family);
|
|
224
224
|
--font-weight: var(--hop-Text-inherit-size-font-weight);
|
|
@@ -226,7 +226,7 @@
|
|
|
226
226
|
}
|
|
227
227
|
|
|
228
228
|
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/ErrorMessage/src/ErrorMessage.module.css/#css-module-data */
|
|
229
|
-
.ErrorMessage-module__hop-
|
|
229
|
+
.ErrorMessage-module__hop-ErrorMessage___IeyIQ {
|
|
230
230
|
--hop-ErrorMessage-color: var(--hop-danger-text-weak);
|
|
231
231
|
--hop-ErrorMessage-font-family: var(--hop-body-xs-font-family);
|
|
232
232
|
--hop-ErrorMessage-font-size: var(--hop-body-xs-font-size);
|
|
@@ -243,13 +243,13 @@
|
|
|
243
243
|
line-height: var(--hop-ErrorMessage-line-height);
|
|
244
244
|
color: var(--hop-ErrorMessage-color);
|
|
245
245
|
}
|
|
246
|
-
.ErrorMessage-module__hop-
|
|
246
|
+
.ErrorMessage-module__hop-ErrorMessage__icon___wmjDl {
|
|
247
247
|
flex: 0 0 auto;
|
|
248
248
|
align-self: flex-start;
|
|
249
249
|
}
|
|
250
250
|
|
|
251
251
|
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/HelperMessage/src/HelperMessage.module.css/#css-module-data */
|
|
252
|
-
.HelperMessage-module__hop-
|
|
252
|
+
.HelperMessage-module__hop-HelperMessage___05GPA {
|
|
253
253
|
--hop-HelperMessage-color: var(--hop-neutral-text-weak);
|
|
254
254
|
--hop-HelperMessage-column-gap: var(--hop-space-inline-xs);
|
|
255
255
|
display: flex;
|
|
@@ -258,13 +258,13 @@
|
|
|
258
258
|
box-sizing: border-box;
|
|
259
259
|
color: var(--hop-HelperMessage-color);
|
|
260
260
|
}
|
|
261
|
-
.HelperMessage-module__hop-
|
|
261
|
+
.HelperMessage-module__hop-HelperMessage__icon___H5hK- {
|
|
262
262
|
flex: 0 0 auto;
|
|
263
263
|
align-self: flex-start;
|
|
264
264
|
}
|
|
265
265
|
|
|
266
266
|
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/tag/src/TagGroup.module.css/#css-module-data */
|
|
267
|
-
.TagGroup-module__hop-
|
|
267
|
+
.TagGroup-module__hop-TagGroup___r75G6 {
|
|
268
268
|
--hop-TagGroup-row-gap: var(--hop-space-inline-sm);
|
|
269
269
|
--hop-TagGroup-list-column-gap: var(--hop-space-inline-sm);
|
|
270
270
|
--hop-TagGroup-list-row-gap: var(--hop-space-inline-sm);
|
|
@@ -284,10 +284,10 @@
|
|
|
284
284
|
inline-size: max-content;
|
|
285
285
|
max-inline-size: 100%;
|
|
286
286
|
}
|
|
287
|
-
.TagGroup-module__hop-
|
|
287
|
+
.TagGroup-module__hop-TagGroup___r75G6 > .TagGroup-module__hop-TagGroup__label___fwjSr {
|
|
288
288
|
order: 1;
|
|
289
289
|
}
|
|
290
|
-
.TagGroup-module__hop-
|
|
290
|
+
.TagGroup-module__hop-TagGroup__list___cJoAk {
|
|
291
291
|
display: flex;
|
|
292
292
|
flex-wrap: wrap;
|
|
293
293
|
gap: var(--list-row-gap) var(--list-column-gap);
|
|
@@ -296,11 +296,11 @@
|
|
|
296
296
|
border-radius: var(--list-border-radius);
|
|
297
297
|
outline: none;
|
|
298
298
|
}
|
|
299
|
-
.TagGroup-module__hop-
|
|
299
|
+
.TagGroup-module__hop-TagGroup__list___cJoAk[data-focus-visible] {
|
|
300
300
|
outline: 0.125rem solid var(--list-focus-ring-color);
|
|
301
301
|
outline-offset: 0.125rem;
|
|
302
302
|
}
|
|
303
|
-
.TagGroup-module__hop-
|
|
304
|
-
.TagGroup-module__hop-
|
|
303
|
+
.TagGroup-module__hop-TagGroup___r75G6 > .TagGroup-module__hop-TagGroup__error-message___-R-9d,
|
|
304
|
+
.TagGroup-module__hop-TagGroup___r75G6 > .TagGroup-module__hop-TagGroup__helper-message___h1vlD {
|
|
305
305
|
order: 3;
|
|
306
306
|
}
|
|
@@ -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,18 @@
|
|
|
1
|
-
export { GlobalTagGroupCssSelector, _TagGroup as TagGroup } from '../../chunk-
|
|
2
|
-
import '../../chunk-XLKYXKWE.js';
|
|
1
|
+
export { GlobalTagGroupCssSelector, _TagGroup as TagGroup } from '../../chunk-VHQQVD4Y.js';
|
|
3
2
|
import '../../chunk-EWMWQ2MC.js';
|
|
4
3
|
import '../../chunk-LCAS3YQV.js';
|
|
4
|
+
import '../../chunk-5L4SRFMM.js';
|
|
5
5
|
import '../../chunk-HZKFQ33E.js';
|
|
6
|
+
import '../../chunk-YQXI64TQ.js';
|
|
6
7
|
import '../../chunk-QCA3ZR56.js';
|
|
8
|
+
import '../../chunk-TFVDF4YH.js';
|
|
9
|
+
import '../../chunk-Z2UVDVEE.js';
|
|
7
10
|
import '../../chunk-FAE27DLF.js';
|
|
11
|
+
import '../../chunk-5V32JYKM.js';
|
|
12
|
+
import '../../chunk-X6SER3TZ.js';
|
|
13
|
+
import '../../chunk-HXI3MEEK.js';
|
|
14
|
+
import '../../chunk-NH3IVMXB.js';
|
|
15
|
+
import '../../chunk-65JPI4FL.js';
|
|
8
16
|
import '../../chunk-M36KANKC.js';
|
|
9
17
|
import '../../chunk-KVDXQMWI.js';
|
|
10
18
|
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 };
|