@hopper-ui/components 1.0.13 → 1.1.0
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 +10 -10
- package/dist/Avatar/src/AnonymousAvatar.js +2 -2
- package/dist/Avatar/src/Avatar.css +37 -37
- package/dist/Avatar/src/Avatar.js +3 -3
- package/dist/Avatar/src/DeletedAvatar.css +10 -10
- package/dist/Avatar/src/DeletedAvatar.js +2 -2
- package/dist/Avatar/src/RichIconAvatarImage.css +10 -10
- package/dist/Avatar/src/RichIconAvatarImage.js +1 -1
- package/dist/Avatar/src/index.css +37 -37
- package/dist/Avatar/src/index.js +5 -5
- package/dist/Badge/src/Badge.css +10 -10
- package/dist/Badge/src/Badge.js +2 -2
- package/dist/Badge/src/index.css +10 -10
- package/dist/Badge/src/index.js +2 -2
- package/dist/Chip/src/Chip.css +33 -33
- package/dist/Chip/src/Chip.js +2 -2
- package/dist/Chip/src/index.css +33 -33
- package/dist/Chip/src/index.js +2 -2
- package/dist/Divider/src/Divider.css +2 -2
- package/dist/Divider/src/Divider.js +1 -1
- package/dist/Divider/src/index.css +2 -2
- package/dist/Divider/src/index.js +1 -1
- package/dist/ErrorMessage/src/ErrorMessage.css +11 -11
- package/dist/ErrorMessage/src/ErrorMessage.js +2 -2
- package/dist/ErrorMessage/src/index.css +11 -11
- package/dist/ErrorMessage/src/index.js +2 -2
- package/dist/HelperMessage/src/HelperMessage.css +11 -11
- package/dist/HelperMessage/src/HelperMessage.js +2 -2
- package/dist/HelperMessage/src/index.css +11 -11
- package/dist/HelperMessage/src/index.js +2 -2
- package/dist/IconList/src/IconList.css +1 -1
- package/dist/IconList/src/IconList.js +1 -1
- package/dist/IconList/src/index.css +1 -1
- package/dist/IconList/src/index.js +1 -1
- package/dist/Link/src/Link.css +31 -31
- package/dist/Link/src/Link.js +2 -2
- package/dist/Link/src/index.css +31 -31
- package/dist/Link/src/index.js +2 -2
- package/dist/ListBox/src/ListBox.css +168 -168
- package/dist/ListBox/src/ListBox.js +11 -11
- package/dist/ListBox/src/ListBoxItem.css +153 -153
- package/dist/ListBox/src/ListBoxItem.js +10 -10
- package/dist/ListBox/src/ListBoxItemSkeleton.css +7 -7
- package/dist/ListBox/src/ListBoxItemSkeleton.js +1 -1
- package/dist/ListBox/src/index.css +168 -168
- package/dist/ListBox/src/index.js +11 -11
- package/dist/Spinner/src/Spinner.css +19 -19
- package/dist/Spinner/src/Spinner.js +2 -2
- package/dist/Spinner/src/index.css +19 -19
- package/dist/Spinner/src/index.js +2 -2
- package/dist/buttons/src/Button.css +94 -94
- package/dist/buttons/src/Button.js +3 -3
- package/dist/buttons/src/ButtonGroup.css +11 -11
- package/dist/buttons/src/ButtonGroup.js +1 -1
- package/dist/buttons/src/ClearButton.css +12 -12
- package/dist/buttons/src/ClearButton.js +2 -2
- package/dist/buttons/src/EmbeddedButton.css +12 -12
- package/dist/buttons/src/EmbeddedButton.js +1 -1
- package/dist/buttons/src/index.css +117 -117
- package/dist/buttons/src/index.js +6 -6
- package/dist/checkbox/src/Checkbox.css +31 -31
- package/dist/checkbox/src/Checkbox.js +2 -2
- package/dist/checkbox/src/CheckboxField.css +15 -15
- package/dist/checkbox/src/CheckboxField.js +1 -1
- package/dist/checkbox/src/CheckboxGroup.css +59 -59
- package/dist/checkbox/src/CheckboxGroup.js +1 -1
- package/dist/checkbox/src/index.css +59 -59
- package/dist/checkbox/src/index.js +4 -4
- package/dist/{chunk-723W7LGB.js → chunk-6CDXS774.js} +3 -3
- package/dist/{chunk-TNVYVDLF.js → chunk-6K6W32Q7.js} +3 -3
- package/dist/{chunk-PAYZGXTT.js → chunk-6MSRPPI6.js} +1 -1
- package/dist/{chunk-AYPCLDGU.js → chunk-6PH4IIEW.js} +1 -1
- package/dist/{chunk-I2YZLGRE.js → chunk-7VS566A2.js} +1 -1
- package/dist/{chunk-44KY7MFF.js → chunk-A7HLXFSP.js} +14 -5
- package/dist/{chunk-THQZBL4T.js → chunk-AT7ZY6GA.js} +1 -1
- package/dist/{chunk-JN2FF2IX.js → chunk-BGRKDTCG.js} +1 -1
- package/dist/{chunk-CXIH6I5X.js → chunk-BLQ72S4U.js} +1 -1
- package/dist/{chunk-JLUFMLGV.js → chunk-BQZQTNI6.js} +1 -1
- package/dist/{chunk-B42AJF74.js → chunk-BXPZ6HPC.js} +6 -6
- package/dist/{chunk-MVWQVBTK.js → chunk-CXCOSGTO.js} +1 -1
- package/dist/{chunk-2MUGMKNO.js → chunk-FQO2QRSC.js} +1 -1
- package/dist/{chunk-M4IVTAHY.js → chunk-GCJT5PQ4.js} +3 -3
- package/dist/{chunk-ERE2XRQA.js → chunk-GXFFLWNF.js} +1 -1
- package/dist/{chunk-LDORNYHF.js → chunk-I6OII2RA.js} +2 -2
- package/dist/{chunk-SNWJJ3FF.js → chunk-ICDMJUNE.js} +1 -1
- package/dist/chunk-IU6XMS2X.js +21 -0
- package/dist/{chunk-QTV45NTY.js → chunk-KA6KVIVV.js} +2 -2
- package/dist/chunk-MHQZXLKW.js +7 -0
- package/dist/{chunk-RXZQB35O.js → chunk-OETAIO6N.js} +2 -2
- package/dist/{chunk-RGGVZKNN.js → chunk-P7UUQGGF.js} +2 -2
- package/dist/{chunk-UGHMX7QX.js → chunk-PQV24MM4.js} +3 -3
- package/dist/{chunk-UPR32DV5.js → chunk-Q52NUBN7.js} +2 -2
- package/dist/{chunk-ESRYOELK.js → chunk-QY6U3R3W.js} +2 -2
- package/dist/{chunk-SW7LHIQ2.js → chunk-RD6VCI72.js} +7 -7
- package/dist/{chunk-KARK64JC.js → chunk-SR3GAXY5.js} +1 -1
- package/dist/{chunk-ZXDN2IRM.js → chunk-TGXZJJJA.js} +1 -1
- package/dist/{chunk-IEE2HHGR.js → chunk-TKB5Q2WX.js} +1 -1
- package/dist/{chunk-SSMGKQ27.js → chunk-TMWNNF4J.js} +2 -2
- package/dist/{chunk-GH5LAOQU.js → chunk-TVV4RMFR.js} +1 -1
- package/dist/{chunk-WCLGYVXV.js → chunk-UMD6RDUS.js} +1 -1
- package/dist/{chunk-DZHRELLA.js → chunk-VFYGHX3N.js} +1 -1
- package/dist/{chunk-NHM3MQI3.js → chunk-VVY3ONWS.js} +3 -3
- package/dist/{chunk-AMXRADUV.js → chunk-WAUGFWZA.js} +2 -2
- package/dist/chunk-XGI4LDIF.js +276 -0
- package/dist/{chunk-CS2RAWQB.js → chunk-XHZ4R2MB.js} +3 -3
- package/dist/{chunk-5WWMVQI4.js → chunk-YE7RARJB.js} +1 -1
- package/dist/{chunk-CCIVRIKG.js → chunk-YRUBXLBX.js} +12 -2
- package/dist/chunk-Z57VHYOF.js +22 -0
- package/dist/{chunk-W34MMJ2L.js → chunk-ZNGSZW7M.js} +2 -2
- package/dist/index.css +568 -477
- package/dist/index.d.ts +4 -0
- package/dist/index.js +50 -46
- package/dist/inputs/src/InputGroup.css +78 -39
- package/dist/inputs/src/InputGroup.d.ts +8 -0
- package/dist/inputs/src/InputGroup.js +1 -1
- package/dist/inputs/src/NumberField.css +126 -90
- package/dist/inputs/src/NumberField.js +8 -7
- package/dist/inputs/src/PasswordField.css +222 -183
- package/dist/inputs/src/PasswordField.js +7 -7
- package/dist/inputs/src/SearchField.css +228 -189
- package/dist/inputs/src/SearchField.js +8 -8
- package/dist/inputs/src/TextArea.css +466 -0
- package/dist/inputs/src/TextArea.d.ts +62 -0
- package/dist/inputs/src/TextArea.js +23 -0
- package/dist/inputs/src/TextAreaContext.d.ts +8 -0
- package/dist/inputs/src/TextAreaContext.js +2 -0
- package/dist/inputs/src/TextField.css +223 -184
- package/dist/inputs/src/TextField.js +9 -9
- package/dist/inputs/src/index.css +462 -371
- package/dist/inputs/src/index.d.ts +2 -0
- package/dist/inputs/src/index.js +15 -11
- package/dist/overlays/Popover/src/Popover.css +568 -477
- package/dist/overlays/Popover/src/Popover.js +50 -46
- package/dist/overlays/Popover/src/index.css +568 -477
- package/dist/overlays/Popover/src/index.js +50 -46
- package/dist/radio/src/Radio.css +31 -31
- package/dist/radio/src/Radio.js +2 -2
- package/dist/radio/src/RadioField.css +15 -15
- package/dist/radio/src/RadioField.js +1 -1
- package/dist/radio/src/RadioGroup.css +59 -59
- package/dist/radio/src/RadioGroup.js +3 -3
- package/dist/radio/src/index.css +59 -59
- package/dist/radio/src/index.js +7 -7
- package/dist/switch/src/Switch.css +25 -25
- package/dist/switch/src/Switch.js +2 -2
- package/dist/switch/src/SwitchField.css +15 -15
- package/dist/switch/src/SwitchField.js +1 -1
- package/dist/switch/src/index.css +31 -31
- package/dist/switch/src/index.js +3 -3
- package/dist/tag/src/Tag.css +568 -477
- package/dist/tag/src/Tag.js +50 -46
- package/dist/tag/src/TagGroup.css +21 -21
- package/dist/tag/src/TagGroup.js +1 -1
- package/dist/tag/src/index.css +568 -477
- package/dist/tag/src/index.js +50 -46
- package/dist/typography/Heading/src/Heading.css +9 -9
- package/dist/typography/Heading/src/Heading.js +1 -1
- package/dist/typography/Heading/src/index.css +9 -9
- package/dist/typography/Heading/src/index.js +1 -1
- package/dist/typography/Label/src/Label.css +2 -2
- package/dist/typography/Label/src/Label.js +1 -1
- package/dist/typography/Label/src/index.css +2 -2
- package/dist/typography/Label/src/index.js +1 -1
- package/dist/typography/OverlineText/src/OverlineText.css +6 -6
- package/dist/typography/OverlineText/src/OverlineText.js +1 -1
- package/dist/typography/OverlineText/src/index.css +6 -6
- package/dist/typography/OverlineText/src/index.js +1 -1
- package/dist/typography/Text/src/Text.css +9 -9
- package/dist/typography/Text/src/Text.js +1 -1
- package/dist/typography/Text/src/index.css +9 -9
- package/dist/typography/Text/src/index.js +1 -1
- package/dist/utils/src/index.d.ts +2 -0
- package/dist/utils/src/index.js +3 -1
- package/dist/utils/src/useFontFaceReady.d.ts +3 -0
- package/dist/utils/src/useFontFaceReady.js +2 -0
- package/dist/utils/src/useTruncatedText.d.ts +3 -0
- package/dist/utils/src/useTruncatedText.js +2 -0
- package/package.json +1 -1
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
export { GlobalSearchFieldCssSelector, _SearchField as SearchField } from '../../chunk-
|
|
1
|
+
export { GlobalSearchFieldCssSelector, _SearchField as SearchField } from '../../chunk-6K6W32Q7.js';
|
|
2
2
|
import '../../chunk-3NKF5TPD.js';
|
|
3
3
|
import '../../chunk-LJXTJRSB.js';
|
|
4
|
-
import '../../chunk-
|
|
5
|
-
import '../../chunk-ERE2XRQA.js';
|
|
4
|
+
import '../../chunk-GXFFLWNF.js';
|
|
6
5
|
import '../../chunk-TXZ6BMFR.js';
|
|
7
|
-
import '../../chunk-
|
|
6
|
+
import '../../chunk-7VS566A2.js';
|
|
7
|
+
import '../../chunk-YRUBXLBX.js';
|
|
8
8
|
import '../../chunk-6BFSSZCY.js';
|
|
9
|
-
import '../../chunk-
|
|
9
|
+
import '../../chunk-SR3GAXY5.js';
|
|
10
10
|
import '../../chunk-DXVKHP4V.js';
|
|
11
|
-
import '../../chunk-
|
|
11
|
+
import '../../chunk-TGXZJJJA.js';
|
|
12
12
|
import '../../chunk-O7IJYNVQ.js';
|
|
13
13
|
import '../../chunk-QCA3ZR56.js';
|
|
14
14
|
import '../../chunk-YEYNRBMQ.js';
|
|
15
15
|
import '../../chunk-65JPI4FL.js';
|
|
16
16
|
import '../../chunk-HZKFQ33E.js';
|
|
17
17
|
import '../../chunk-FAE27DLF.js';
|
|
18
|
-
import '../../chunk-
|
|
18
|
+
import '../../chunk-YE7RARJB.js';
|
|
19
19
|
import '../../chunk-WPNVVGFW.js';
|
|
20
|
-
import '../../chunk-
|
|
20
|
+
import '../../chunk-6MSRPPI6.js';
|
|
21
21
|
import '../../chunk-X6SER3TZ.js';
|
|
22
22
|
import '../../chunk-HXI3MEEK.js';
|
|
23
23
|
import '../../chunk-M36KANKC.js';
|
|
@@ -0,0 +1,466 @@
|
|
|
1
|
+
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/typography/Text/src/Text.module.css/#css-module-data */
|
|
2
|
+
.Text-module__hop-Text___HnTiu {
|
|
3
|
+
--hop-Text-xs-font-size: var(--hop-body-xs-font-size);
|
|
4
|
+
--hop-Text-xs-font-family: var(--hop-body-xs-font-family);
|
|
5
|
+
--hop-Text-xs-font-weight: var(--hop-body-xs-font-weight);
|
|
6
|
+
--hop-Text-xs-line-height: var(--hop-body-xs-line-height);
|
|
7
|
+
--hop-Text-sm-font-size: var(--hop-body-sm-font-size);
|
|
8
|
+
--hop-Text-sm-font-family: var(--hop-body-sm-font-family);
|
|
9
|
+
--hop-Text-sm-font-weight: var(--hop-body-sm-font-weight);
|
|
10
|
+
--hop-Text-sm-line-height: var(--hop-body-sm-line-height);
|
|
11
|
+
--hop-Text-md-font-size: var(--hop-body-md-font-size);
|
|
12
|
+
--hop-Text-md-font-family: var(--hop-body-md-font-family);
|
|
13
|
+
--hop-Text-md-font-weight: var(--hop-body-md-font-weight);
|
|
14
|
+
--hop-Text-md-line-height: var(--hop-body-md-line-height);
|
|
15
|
+
--hop-Text-lg-font-size: var(--hop-body-lg-font-size);
|
|
16
|
+
--hop-Text-lg-font-family: var(--hop-body-lg-font-family);
|
|
17
|
+
--hop-Text-lg-font-weight: var(--hop-body-lg-font-weight);
|
|
18
|
+
--hop-Text-lg-line-height: var(--hop-body-lg-line-height);
|
|
19
|
+
--hop-Text-xl-font-size: var(--hop-body-xl-font-size);
|
|
20
|
+
--hop-Text-xl-font-family: var(--hop-body-xl-font-family);
|
|
21
|
+
--hop-Text-xl-font-weight: var(--hop-body-xl-font-weight);
|
|
22
|
+
--hop-Text-xl-line-height: var(--hop-body-xl-line-height);
|
|
23
|
+
--hop-Text-2xl-font-size: var(--hop-body-2xl-font-size);
|
|
24
|
+
--hop-Text-2xl-font-family: var(--hop-body-2xl-font-family);
|
|
25
|
+
--hop-Text-2xl-font-weight: var(--hop-body-2xl-font-weight);
|
|
26
|
+
--hop-Text-2xl-line-height: var(--hop-body-2xl-line-height);
|
|
27
|
+
--hop-Text-inherit-size-font-size: inherit;
|
|
28
|
+
--hop-Text-inherit-size-font-family: inherit;
|
|
29
|
+
--hop-Text-inherit-size-font-weight: inherit;
|
|
30
|
+
--hop-Text-inherit-size-line-height: inherit;
|
|
31
|
+
}
|
|
32
|
+
:where(.Text-module__hop-Text___HnTiu) {
|
|
33
|
+
font-family: var(--font-family);
|
|
34
|
+
font-size: var(--font-size);
|
|
35
|
+
font-weight: var(--font-weight);
|
|
36
|
+
line-height: var(--line-height);
|
|
37
|
+
}
|
|
38
|
+
:where(.Text-module__hop-Text--xs___ndb-c) {
|
|
39
|
+
--font-size: var(--hop-Text-xs-font-size);
|
|
40
|
+
--font-family: var(--hop-Text-xs-font-family);
|
|
41
|
+
--font-weight: var(--hop-Text-xs-font-weight);
|
|
42
|
+
--line-height: var(--hop-Text-xs-line-height);
|
|
43
|
+
}
|
|
44
|
+
:where(.Text-module__hop-Text--sm___cv0bL) {
|
|
45
|
+
--font-size: var(--hop-Text-sm-font-size);
|
|
46
|
+
--font-family: var(--hop-Text-sm-font-family);
|
|
47
|
+
--font-weight: var(--hop-Text-sm-font-weight);
|
|
48
|
+
--line-height: var(--hop-Text-sm-line-height);
|
|
49
|
+
}
|
|
50
|
+
:where(.Text-module__hop-Text--md___daNZS) {
|
|
51
|
+
--font-size: var(--hop-Text-md-font-size);
|
|
52
|
+
--font-family: var(--hop-Text-md-font-family);
|
|
53
|
+
--font-weight: var(--hop-Text-md-font-weight);
|
|
54
|
+
--line-height: var(--hop-Text-md-line-height);
|
|
55
|
+
}
|
|
56
|
+
:where(.Text-module__hop-Text--lg___ByUWL) {
|
|
57
|
+
--font-size: var(--hop-Text-lg-font-size);
|
|
58
|
+
--font-family: var(--hop-Text-lg-font-family);
|
|
59
|
+
--font-weight: var(--hop-Text-lg-font-weight);
|
|
60
|
+
--line-height: var(--hop-Text-lg-line-height);
|
|
61
|
+
}
|
|
62
|
+
:where(.Text-module__hop-Text--xl___Udc-p) {
|
|
63
|
+
--font-size: var(--hop-Text-xl-font-size);
|
|
64
|
+
--font-family: var(--hop-Text-xl-font-family);
|
|
65
|
+
--font-weight: var(--hop-Text-xl-font-weight);
|
|
66
|
+
--line-height: var(--hop-Text-xl-line-height);
|
|
67
|
+
}
|
|
68
|
+
:where(.Text-module__hop-Text--2xl___sxc7S) {
|
|
69
|
+
--font-size: var(--hop-Text-2xl-font-size);
|
|
70
|
+
--font-family: var(--hop-Text-2xl-font-family);
|
|
71
|
+
--font-weight: var(--hop-Text-2xl-font-weight);
|
|
72
|
+
--line-height: var(--hop-Text-2xl-line-height);
|
|
73
|
+
}
|
|
74
|
+
:where(.Text-module__hop-Text--inherit___WU81u) {
|
|
75
|
+
--font-size: var(--hop-Text-inherit-size-font-size);
|
|
76
|
+
--font-family: var(--hop-Text-inherit-size-font-family);
|
|
77
|
+
--font-weight: var(--hop-Text-inherit-size-font-weight);
|
|
78
|
+
--line-height: var(--hop-Text-inherit-size-line-height);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/ErrorMessage/src/ErrorMessage.module.css/#css-module-data */
|
|
82
|
+
.ErrorMessage-module__hop-ErrorMessage___dDEnR {
|
|
83
|
+
--hop-ErrorMessage-color: var(--hop-danger-text-weak);
|
|
84
|
+
--hop-ErrorMessage-font-family: var(--hop-body-xs-font-family);
|
|
85
|
+
--hop-ErrorMessage-font-size: var(--hop-body-xs-font-size);
|
|
86
|
+
--hop-ErrorMessage-font-weight: var(--hop-body-xs-font-weight);
|
|
87
|
+
--hop-ErrorMessage-line-height: var(--hop-body-xs-line-height);
|
|
88
|
+
--hop-ErrorMessage-column-gap: var(--hop-space-inline-xs);
|
|
89
|
+
display: flex;
|
|
90
|
+
column-gap: var(--hop-ErrorMessage-column-gap);
|
|
91
|
+
align-items: center;
|
|
92
|
+
box-sizing: border-box;
|
|
93
|
+
font-family: var(--hop-ErrorMessage-font-family);
|
|
94
|
+
font-size: var(--hop-ErrorMessage-font-size);
|
|
95
|
+
font-weight: var(--hop-ErrorMessage-font-weight);
|
|
96
|
+
line-height: var(--hop-ErrorMessage-line-height);
|
|
97
|
+
color: var(--hop-ErrorMessage-color);
|
|
98
|
+
}
|
|
99
|
+
.ErrorMessage-module__hop-ErrorMessage__icon___pGy0- {
|
|
100
|
+
flex: 0 0 auto;
|
|
101
|
+
align-self: flex-start;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/HelperMessage/src/HelperMessage.module.css/#css-module-data */
|
|
105
|
+
.HelperMessage-module__hop-HelperMessage___U0gBi {
|
|
106
|
+
--hop-HelperMessage-color: var(--hop-neutral-text-weak);
|
|
107
|
+
--hop-HelperMessage-column-gap: var(--hop-space-inline-xs);
|
|
108
|
+
display: flex;
|
|
109
|
+
column-gap: var(--hop-HelperMessage-column-gap);
|
|
110
|
+
align-items: center;
|
|
111
|
+
box-sizing: border-box;
|
|
112
|
+
color: var(--hop-HelperMessage-color);
|
|
113
|
+
}
|
|
114
|
+
.HelperMessage-module__hop-HelperMessage__icon___z35Yf {
|
|
115
|
+
flex: 0 0 auto;
|
|
116
|
+
align-self: flex-start;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/typography/Heading/src/Heading.module.css/#css-module-data */
|
|
120
|
+
.Heading-module__hop-Heading___hJVqv {
|
|
121
|
+
--hop-Heading-xs-font-size: var(--hop-heading-xs-font-size);
|
|
122
|
+
--hop-Heading-xs-font-family: var(--hop-heading-xs-font-family);
|
|
123
|
+
--hop-Heading-xs-font-weight: var(--hop-heading-xs-font-weight);
|
|
124
|
+
--hop-Heading-xs-line-height: var(--hop-heading-xs-line-height);
|
|
125
|
+
--hop-Heading-sm-font-size: var(--hop-heading-sm-font-size);
|
|
126
|
+
--hop-Heading-sm-font-family: var(--hop-heading-sm-font-family);
|
|
127
|
+
--hop-Heading-sm-font-weight: var(--hop-heading-sm-font-weight);
|
|
128
|
+
--hop-Heading-sm-line-height: var(--hop-heading-sm-line-height);
|
|
129
|
+
--hop-Heading-md-font-size: var(--hop-heading-md-font-size);
|
|
130
|
+
--hop-Heading-md-font-family: var(--hop-heading-md-font-family);
|
|
131
|
+
--hop-Heading-md-font-weight: var(--hop-heading-md-font-weight);
|
|
132
|
+
--hop-Heading-md-line-height: var(--hop-heading-md-line-height);
|
|
133
|
+
--hop-Heading-lg-font-size: var(--hop-heading-lg-font-size);
|
|
134
|
+
--hop-Heading-lg-font-family: var(--hop-heading-lg-font-family);
|
|
135
|
+
--hop-Heading-lg-font-weight: var(--hop-heading-lg-font-weight);
|
|
136
|
+
--hop-Heading-lg-line-height: var(--hop-heading-lg-line-height);
|
|
137
|
+
--hop-Heading-xl-font-size: var(--hop-heading-xl-font-size);
|
|
138
|
+
--hop-Heading-xl-font-family: var(--hop-heading-xl-font-family);
|
|
139
|
+
--hop-Heading-xl-font-weight: var(--hop-heading-xl-font-weight);
|
|
140
|
+
--hop-Heading-xl-line-height: var(--hop-heading-xl-line-height);
|
|
141
|
+
--hop-Heading-2xl-font-size: var(--hop-heading-2xl-font-size);
|
|
142
|
+
--hop-Heading-2xl-font-family: var(--hop-heading-2xl-font-family);
|
|
143
|
+
--hop-Heading-2xl-font-weight: var(--hop-heading-2xl-font-weight);
|
|
144
|
+
--hop-Heading-2xl-line-height: var(--hop-heading-2xl-line-height);
|
|
145
|
+
--hop-Heading-3xl-font-size: var(--hop-heading-3xl-font-size);
|
|
146
|
+
--hop-Heading-3xl-font-family: var(--hop-heading-3xl-font-family);
|
|
147
|
+
--hop-Heading-3xl-font-weight: var(--hop-heading-3xl-font-weight);
|
|
148
|
+
--hop-Heading-3xl-line-height: var(--hop-heading-3xl-line-height);
|
|
149
|
+
--hop-Heading-inherit-size-font-size: inherit;
|
|
150
|
+
--hop-Heading-inherit-size-font-family: inherit;
|
|
151
|
+
--hop-Heading-inherit-size-font-weight: inherit;
|
|
152
|
+
--hop-Heading-inherit-size-line-height: inherit;
|
|
153
|
+
}
|
|
154
|
+
:where(.Heading-module__hop-Heading___hJVqv) {
|
|
155
|
+
margin: 0;
|
|
156
|
+
font-family: var(--font-family);
|
|
157
|
+
font-size: var(--font-size);
|
|
158
|
+
font-weight: var(--font-weight);
|
|
159
|
+
line-height: var(--line-height);
|
|
160
|
+
}
|
|
161
|
+
:where(.Heading-module__hop-Heading--xs___Gkvx5) {
|
|
162
|
+
--font-size: var(--hop-Heading-xs-font-size);
|
|
163
|
+
--font-family: var(--hop-Heading-xs-font-family);
|
|
164
|
+
--font-weight: var(--hop-Heading-xs-font-weight);
|
|
165
|
+
--line-height: var(--hop-Heading-xs-line-height);
|
|
166
|
+
}
|
|
167
|
+
:where(.Heading-module__hop-Heading--sm___GUTqC) {
|
|
168
|
+
--font-size: var(--hop-Heading-sm-font-size);
|
|
169
|
+
--font-family: var(--hop-Heading-sm-font-family);
|
|
170
|
+
--font-weight: var(--hop-Heading-sm-font-weight);
|
|
171
|
+
--line-height: var(--hop-Heading-sm-line-height);
|
|
172
|
+
}
|
|
173
|
+
:where(.Heading-module__hop-Heading--md___AqJfy) {
|
|
174
|
+
--font-size: var(--hop-Heading-md-font-size);
|
|
175
|
+
--font-family: var(--hop-Heading-md-font-family);
|
|
176
|
+
--font-weight: var(--hop-Heading-md-font-weight);
|
|
177
|
+
--line-height: var(--hop-Heading-md-line-height);
|
|
178
|
+
}
|
|
179
|
+
:where(.Heading-module__hop-Heading--lg___pDVN1) {
|
|
180
|
+
--font-size: var(--hop-Heading-lg-font-size);
|
|
181
|
+
--font-family: var(--hop-Heading-lg-font-family);
|
|
182
|
+
--font-weight: var(--hop-Heading-lg-font-weight);
|
|
183
|
+
--line-height: var(--hop-Heading-lg-line-height);
|
|
184
|
+
}
|
|
185
|
+
:where(.Heading-module__hop-Heading--xl___T0hGA) {
|
|
186
|
+
--font-size: var(--hop-Heading-xl-font-size);
|
|
187
|
+
--font-family: var(--hop-Heading-xl-font-family);
|
|
188
|
+
--font-weight: var(--hop-Heading-xl-font-weight);
|
|
189
|
+
--line-height: var(--hop-Heading-xl-line-height);
|
|
190
|
+
}
|
|
191
|
+
:where(.Heading-module__hop-Heading--2xl___qJRjZ) {
|
|
192
|
+
--font-size: var(--hop-Heading-2xl-font-size);
|
|
193
|
+
--font-family: var(--hop-Heading-2xl-font-family);
|
|
194
|
+
--font-weight: var(--hop-Heading-2xl-font-weight);
|
|
195
|
+
--line-height: var(--hop-Heading-2xl-line-height);
|
|
196
|
+
}
|
|
197
|
+
:where(.Heading-module__hop-Heading--3xl___uQNVA) {
|
|
198
|
+
--font-size: var(--hop-Heading-3xl-font-size);
|
|
199
|
+
--font-family: var(--hop-Heading-3xl-font-family);
|
|
200
|
+
--font-weight: var(--hop-Heading-3xl-font-weight);
|
|
201
|
+
--line-height: var(--hop-Heading-3xl-line-height);
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/typography/OverlineText/src/OverlineText.module.css/#css-module-data */
|
|
205
|
+
:where(.OverlineText-module__hop-OverlineText___OCaWy) {
|
|
206
|
+
--hop-OverlineText-font-family: var(--hop-overline-font-family);
|
|
207
|
+
--hop-OverlineText-font-size: var(--hop-overline-font-size);
|
|
208
|
+
--hop-OverlineText-font-weight: var(--hop-overline-font-weight);
|
|
209
|
+
--hop-OverlineText-letter-spacing: 0.015rem;
|
|
210
|
+
--hop-OverlineText-line-height: var(--hop-overline-line-height);
|
|
211
|
+
--hop-OverlineText-top-offset: var(--hop-overline-top-offset);
|
|
212
|
+
--hop-OverlineText-bottom-offset: var(--hop-overline-bottom-offset);
|
|
213
|
+
--font-family: var(--hop-OverlineText-font-family);
|
|
214
|
+
--font-size: var(--hop-OverlineText-font-size);
|
|
215
|
+
--font-weight: var(--hop-OverlineText-font-weight);
|
|
216
|
+
--letter-spacing: var(--hop-OverlineText-letter-spacing);
|
|
217
|
+
--line-height: var(--hop-OverlineText-line-height);
|
|
218
|
+
--top-offset: var(--hop-OverlineText-top-offset);
|
|
219
|
+
--bottom-offset: var(--hop-OverlineText-bottom-offset);
|
|
220
|
+
box-sizing: border-box;
|
|
221
|
+
font-family: var(--font-family);
|
|
222
|
+
font-size: var(--font-size);
|
|
223
|
+
font-feature-settings: "case";
|
|
224
|
+
font-weight: var(--font-weight);
|
|
225
|
+
line-height: var(--line-height);
|
|
226
|
+
text-transform: uppercase;
|
|
227
|
+
letter-spacing: var(--letter-spacing);
|
|
228
|
+
}
|
|
229
|
+
.OverlineText-module__hop-OverlineText__text___C3XIa {
|
|
230
|
+
box-sizing: border-box;
|
|
231
|
+
}
|
|
232
|
+
.OverlineText-module__hop-OverlineText__text___C3XIa::before,
|
|
233
|
+
.OverlineText-module__hop-OverlineText__text___C3XIa::after {
|
|
234
|
+
content: "";
|
|
235
|
+
display: block;
|
|
236
|
+
box-sizing: border-box;
|
|
237
|
+
inline-size: 0;
|
|
238
|
+
block-size: 0;
|
|
239
|
+
}
|
|
240
|
+
.OverlineText-module__hop-OverlineText__text___C3XIa::before {
|
|
241
|
+
margin-block-end: var(--bottom-offset);
|
|
242
|
+
}
|
|
243
|
+
.OverlineText-module__hop-OverlineText__text___C3XIa::after {
|
|
244
|
+
margin-block-start: var(--top-offset);
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/typography/Label/src/Label.module.css/#css-module-data */
|
|
248
|
+
.Label-module__hop-Label___5okv4 {
|
|
249
|
+
--hop-Label-font-size: var(--hop-heading-xs-font-size);
|
|
250
|
+
--hop-Label-font-family: var(--hop-heading-xs-font-family);
|
|
251
|
+
--hop-Label-font-weight: var(--hop-heading-xs-font-weight);
|
|
252
|
+
--hop-Label-line-height: var(--hop-heading-xs-line-height);
|
|
253
|
+
--hop-Label-color: var(--hop-neutral-text-weak);
|
|
254
|
+
}
|
|
255
|
+
:where(.Label-module__hop-Label___5okv4) {
|
|
256
|
+
font-family: var(--hop-Label-font-family);
|
|
257
|
+
font-size: var(--hop-Label-font-size);
|
|
258
|
+
font-weight: var(--hop-Label-font-weight);
|
|
259
|
+
line-height: var(--hop-Label-line-height);
|
|
260
|
+
color: var(--hop-Label-color);
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/inputs/src/InputGroup.module.css/#css-module-data */
|
|
264
|
+
.InputGroup-module__hop-InputGroup___MpyEZ {
|
|
265
|
+
--hop-InputGroup-background: var(--hop-neutral-surface);
|
|
266
|
+
--hop-InputGroup-border-color: var(--hop-neutral-border);
|
|
267
|
+
--hop-InputGroup-border-width: 0.0625rem;
|
|
268
|
+
--hop-InputGroup-display: inline-flex;
|
|
269
|
+
--hop-InputGroup-display-number: grid;
|
|
270
|
+
--hop-InputGroup-gap: var(--hop-space-inline-sm);
|
|
271
|
+
--hop-InputGroup-gap-textarea: 0;
|
|
272
|
+
--hop-InputGroup-gap-number: 0;
|
|
273
|
+
--hop-InputGroup-flex-direction: row;
|
|
274
|
+
--hop-InputGroup-flex-direction-textarea: column;
|
|
275
|
+
--hop-InputGroup-align-items: center;
|
|
276
|
+
--hop-InputGroup-align-items-textarea: flex-end;
|
|
277
|
+
--hop-InputGroup-inline-size: fit-content;
|
|
278
|
+
--hop-InputGroup-inline-size-number: 100%;
|
|
279
|
+
--hop-InputGroup-sm-block-size: 2rem;
|
|
280
|
+
--hop-InputGroup-md-block-size: 2.5rem;
|
|
281
|
+
--hop-InputGroup-block-size-textarea: auto;
|
|
282
|
+
--hop-InputGroup-border-radius: var(--hop-shape-rounded-md);
|
|
283
|
+
--hop-InputGroup-padding-inline: var(--hop-space-inset-md);
|
|
284
|
+
--hop-InputGroup-padding-block: 0;
|
|
285
|
+
--hop-InputGroup-padding-inline-textarea: var(--hop-space-inset-xs);
|
|
286
|
+
--hop-InputGroup-padding-block-textarea: var(--hop-space-inset-xs);
|
|
287
|
+
--hop-InputGroup-border-color-hover: var(--hop-neutral-border-hover);
|
|
288
|
+
--hop-InputGroup-border-color-focus: var(--hop-primary-border-focus);
|
|
289
|
+
--hop-InputGroup-background-hover: var(--hop-neutral-surface-hover);
|
|
290
|
+
--hop-InputGroup-border-color-invalid: var(--hop-danger-border-strong);
|
|
291
|
+
--hop-InputGroup-input-color: var(--hop-neutral-text);
|
|
292
|
+
--hop-InputGroup-input-color-disabled: var(--hop-neutral-text-disabled);
|
|
293
|
+
--hop-InputGroup-input-sm-font-family: var(--hop-body-sm-font-family);
|
|
294
|
+
--hop-InputGroup-input-sm-font-size: var(--hop-body-sm-font-size);
|
|
295
|
+
--hop-InputGroup-input-sm-font-weight: var(--hop-body-sm-font-weight);
|
|
296
|
+
--hop-InputGroup-input-sm-line-height: var(--hop-body-sm-line-height);
|
|
297
|
+
--hop-InputGroup-input-sm-block-size: 1.5rem;
|
|
298
|
+
--hop-InputGroup-input-md-font-family: var(--hop-body-md-font-family);
|
|
299
|
+
--hop-InputGroup-input-md-font-size: var(--hop-body-md-font-size);
|
|
300
|
+
--hop-InputGroup-input-md-font-weight: var(--hop-body-md-font-weight);
|
|
301
|
+
--hop-InputGroup-input-md-line-height: var(--hop-body-md-line-height);
|
|
302
|
+
--hop-InputGroup-input-md-block-size: 2rem;
|
|
303
|
+
--hop-InputGroup-input-padding: 0;
|
|
304
|
+
--hop-InputGroup-textarea-padding: var(--hop-space-inset-xs) calc(var(--hop-space-inset-md) - var(--hop-space-inset-xs));
|
|
305
|
+
--hop-InputGroup-background-disabled: var(--hop-neutral-surface-disabled);
|
|
306
|
+
--hop-InputGroup-border-color-disabled: var(--hop-neutral-border-disabled);
|
|
307
|
+
--hop-InputGroup-placeholder-font-family: inherit;
|
|
308
|
+
--hop-InputGroup-placeholder-font-size: inherit;
|
|
309
|
+
--hop-InputGroup-placeholder-font-weight: inherit;
|
|
310
|
+
--hop-InputGroup-placeholder-line-height: inherit;
|
|
311
|
+
--hop-InputGroup-placeholder-color: var(--hop-neutral-text-weakest);
|
|
312
|
+
--hop-InputGroup-placeholder-color-disabled: var(--hop-neutral-text-disabled);
|
|
313
|
+
--inline-size: var(--hop-InputGroup-inline-size);
|
|
314
|
+
--border: var(--hop-InputGroup-border-width) solid var(--hop-InputGroup-border-color);
|
|
315
|
+
--background: var(--hop-InputGroup-background);
|
|
316
|
+
--block-size: var(--hop-InputGroup-md-block-size);
|
|
317
|
+
--display: var(--hop-InputGroup-display);
|
|
318
|
+
--gap: var(--hop-InputGroup-gap);
|
|
319
|
+
--flex-direction: var(--hop-InputGroup-flex-direction);
|
|
320
|
+
--align-items: var(--hop-InputGroup-align-items);
|
|
321
|
+
--padding-inline: var(--hop-InputGroup-padding-inline);
|
|
322
|
+
--padding-block: var(--hop-InputGroup-padding-block);
|
|
323
|
+
--input-font-family: var(--hop-InputGroup-input-md-font-family);
|
|
324
|
+
--input-font-size: var(--hop-InputGroup-input-md-font-size);
|
|
325
|
+
--input-font-weight: var(--hop-InputGroup-input-md-font-weight);
|
|
326
|
+
--input-line-height: var(--hop-InputGroup-input-md-line-height);
|
|
327
|
+
--input-block-size: var(--hop-InputGroup-input-md-block-size);
|
|
328
|
+
--input-inline-size: initial;
|
|
329
|
+
--input-color: var(--hop-InputGroup-input-color);
|
|
330
|
+
--input-placeholder-color: var(--hop-InputGroup-placeholder-color);
|
|
331
|
+
position: relative;
|
|
332
|
+
display: var(--display);
|
|
333
|
+
flex-direction: var(--flex-direction);
|
|
334
|
+
gap: var(--gap);
|
|
335
|
+
align-items: var(--align-items);
|
|
336
|
+
box-sizing: border-box;
|
|
337
|
+
inline-size: var(--inline-size);
|
|
338
|
+
block-size: var(--block-size);
|
|
339
|
+
padding-block: var(--padding-block);
|
|
340
|
+
padding-inline: var(--padding-inline);
|
|
341
|
+
background: var(--background);
|
|
342
|
+
border: var(--border);
|
|
343
|
+
border-radius: var(--hop-InputGroup-border-radius);
|
|
344
|
+
}
|
|
345
|
+
.InputGroup-module__hop-InputGroup--fluid___nXqi6 {
|
|
346
|
+
--inline-size: 100%;
|
|
347
|
+
--input-inline-size: 100%;
|
|
348
|
+
}
|
|
349
|
+
.InputGroup-module__hop-InputGroup--sm___tvLAO {
|
|
350
|
+
--block-size: var(--hop-InputGroup-sm-block-size);
|
|
351
|
+
--input-font-family: var(--hop-InputGroup-input-sm-font-family);
|
|
352
|
+
--input-font-size: var(--hop-InputGroup-input-sm-font-size);
|
|
353
|
+
--input-font-weight: var(--hop-InputGroup-input-sm-font-weight);
|
|
354
|
+
--input-line-height: var(--hop-InputGroup-input-sm-line-height);
|
|
355
|
+
--input-block-size: var(--hop-InputGroup-input-sm-block-size);
|
|
356
|
+
}
|
|
357
|
+
.InputGroup-module__hop-InputGroup___MpyEZ[data-input-type=textarea] {
|
|
358
|
+
--gap: var(--hop-InputGroup-gap-textarea);
|
|
359
|
+
--flex-direction: var(--hop-InputGroup-flex-direction-textarea);
|
|
360
|
+
--align-items: var(--hop-InputGroup-align-items-textarea);
|
|
361
|
+
--block-size: var(--hop-InputGroup-block-size-textarea);
|
|
362
|
+
--padding-inline: var(--hop-InputGroup-padding-inline-textarea);
|
|
363
|
+
--padding-block: var(--hop-InputGroup-padding-block-textarea);
|
|
364
|
+
}
|
|
365
|
+
.InputGroup-module__hop-InputGroup___MpyEZ[data-input-type=number] {
|
|
366
|
+
--display: var(--hop-InputGroup-display-number);
|
|
367
|
+
--gap: var(--hop-InputGroup-gap-number);
|
|
368
|
+
--inline-size: var(--hop-InputGroup-inline-size-number);
|
|
369
|
+
}
|
|
370
|
+
.InputGroup-module__hop-InputGroup___MpyEZ[data-hovered] {
|
|
371
|
+
--background: var(--hop-InputGroup-background-hover);
|
|
372
|
+
--border: var(--hop-InputGroup-border-width) solid var(--hop-InputGroup-border-color-hover) ;
|
|
373
|
+
}
|
|
374
|
+
.InputGroup-module__hop-InputGroup___MpyEZ[data-focus-within] {
|
|
375
|
+
--border: var(--hop-InputGroup-border-width) solid var(--hop-InputGroup-border-color-focus) ;
|
|
376
|
+
}
|
|
377
|
+
.InputGroup-module__hop-InputGroup___MpyEZ[data-invalid] {
|
|
378
|
+
--border: var(--hop-InputGroup-border-width) solid var(--hop-InputGroup-border-color-invalid) ;
|
|
379
|
+
}
|
|
380
|
+
.InputGroup-module__hop-InputGroup___MpyEZ[data-disabled] {
|
|
381
|
+
--background: var(--hop-InputGroup-background-disabled);
|
|
382
|
+
--border: 0.0625rem solid var(--hop-InputGroup-border-color-disabled);
|
|
383
|
+
--input-color: var(--hop-InputGroup-input-color-disabled);
|
|
384
|
+
--input-placeholder-color: var(--hop-InputGroup-placeholder-color-disabled);
|
|
385
|
+
}
|
|
386
|
+
.InputGroup-module__hop-InputGroup__input___lecEl,
|
|
387
|
+
.InputGroup-module__hop-InputGroup__textarea___e89Dj {
|
|
388
|
+
flex: 1 1 auto;
|
|
389
|
+
box-sizing: border-box;
|
|
390
|
+
inline-size: var(--input-inline-size);
|
|
391
|
+
min-inline-size: 0;
|
|
392
|
+
font-family: var(--input-font-family);
|
|
393
|
+
font-size: var(--input-font-size);
|
|
394
|
+
font-weight: var(--input-font-weight);
|
|
395
|
+
line-height: var(--input-line-height);
|
|
396
|
+
color: var(--input-color);
|
|
397
|
+
background: transparent;
|
|
398
|
+
border: none;
|
|
399
|
+
outline: none;
|
|
400
|
+
}
|
|
401
|
+
.InputGroup-module__hop-InputGroup__input___lecEl {
|
|
402
|
+
block-size: var(--input-block-size);
|
|
403
|
+
padding: var(--hop-InputGroup-input-padding);
|
|
404
|
+
}
|
|
405
|
+
.InputGroup-module__hop-InputGroup__textarea___e89Dj {
|
|
406
|
+
padding: var(--hop-InputGroup-textarea-padding);
|
|
407
|
+
}
|
|
408
|
+
.InputGroup-module__hop-InputGroup__input___lecEl::placeholder {
|
|
409
|
+
font-family: var(--hop-InputGroup-placeholder-font-family);
|
|
410
|
+
font-size: var(--hop-InputGroup-placeholder-font-size);
|
|
411
|
+
font-weight: var(--hop-InputGroup-placeholder-font-weight);
|
|
412
|
+
line-height: var(--hop-InputGroup-placeholder-line-height);
|
|
413
|
+
color: var(--input-placeholder-color);
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/inputs/src/TextArea.module.css/#css-module-data */
|
|
417
|
+
.TextArea-module__hop-TextArea___uQGKH {
|
|
418
|
+
--hop-TextArea-gap: var(--hop-space-stack-xs);
|
|
419
|
+
--hop-TextArea-inline-size: 20rem;
|
|
420
|
+
--hop-TextArea-prefix-color: var(--hop-neutral-text-weak);
|
|
421
|
+
--hop-TextArea-char-count-padding: 0 calc(var(--hop-space-inset-md) - var(--hop-space-inset-xs)) var(--hop-space-inset-xs);
|
|
422
|
+
--hop-TextArea-char-count-color: var(--hop-neutral-text-weakest);
|
|
423
|
+
--hop-TextArea-char-count-color-disabled: var(--hop-neutral-text-disabled);
|
|
424
|
+
--hop-TextArea-char-count-color-invalid: var(--hop-danger-text-weak);
|
|
425
|
+
--hop-TextArea-input-min-height: 2rem;
|
|
426
|
+
--inline-size: var(--hop-TextArea-inline-size);
|
|
427
|
+
--resize: none;
|
|
428
|
+
--char-count-color: var(--hop-TextArea-char-count-color);
|
|
429
|
+
display: flex;
|
|
430
|
+
flex-direction: column;
|
|
431
|
+
gap: var(--hop-TextArea-gap);
|
|
432
|
+
inline-size: var(--inline-size);
|
|
433
|
+
}
|
|
434
|
+
.TextArea-module__hop-TextArea--fluid___sNZwX {
|
|
435
|
+
--inline-size: 100%;
|
|
436
|
+
}
|
|
437
|
+
.TextArea-module__hop-TextArea___uQGKH[data-resize-mode=vertical] {
|
|
438
|
+
--resize: vertical;
|
|
439
|
+
}
|
|
440
|
+
.TextArea-module__hop-TextArea___uQGKH[data-over-max-length] {
|
|
441
|
+
--char-count-color: var(--hop-TextArea-char-count-color-invalid);
|
|
442
|
+
}
|
|
443
|
+
.TextArea-module__hop-TextArea___uQGKH[data-disabled] {
|
|
444
|
+
--char-count-color: var(--hop-TextArea-char-count-color-disabled);
|
|
445
|
+
}
|
|
446
|
+
.TextArea-module__hop-TextArea__Label___x0-91 {
|
|
447
|
+
order: 0;
|
|
448
|
+
}
|
|
449
|
+
.TextArea-module__hop-TextArea__prefix___ozMT- {
|
|
450
|
+
color: var(--hop-TextArea-prefix-color);
|
|
451
|
+
}
|
|
452
|
+
.TextArea-module__hop-TextArea__InputGroup___1hWlx {
|
|
453
|
+
order: 1;
|
|
454
|
+
}
|
|
455
|
+
.TextArea-module__hop-TextArea__textarea___r0SC4 {
|
|
456
|
+
resize: var(--resize);
|
|
457
|
+
min-block-size: var(--hop-TextArea-input-min-height);
|
|
458
|
+
}
|
|
459
|
+
.TextArea-module__hop-TextArea__char-count___TBxZb {
|
|
460
|
+
padding: var(--hop-TextArea-char-count-padding);
|
|
461
|
+
color: var(--char-count-color);
|
|
462
|
+
}
|
|
463
|
+
.TextArea-module__hop-TextArea__ErrorMessage___F5Ho0,
|
|
464
|
+
.TextArea-module__hop-TextArea__HelperMessage___EXkDT {
|
|
465
|
+
order: 3;
|
|
466
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { MutableRefObject } from 'react';
|
|
3
|
+
import { StyledComponentProps, ResponsiveProp } from '@hopper-ui/styled-system';
|
|
4
|
+
import { TextFieldProps } from 'react-aria-components';
|
|
5
|
+
|
|
6
|
+
declare const GlobalTextAreaCssSelector = "hop-TextArea";
|
|
7
|
+
type ResizeMode = "none" | "vertical";
|
|
8
|
+
interface TextAreaProps extends StyledComponentProps<TextFieldProps> {
|
|
9
|
+
/**
|
|
10
|
+
* True to display the number of remaining allowed characters on the right of the input. Requires a valid value in the "maxLength" prop.
|
|
11
|
+
*/
|
|
12
|
+
showCharacterCount?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* The maximum number of visible text lines before displaying a scrollbar.
|
|
15
|
+
*/
|
|
16
|
+
maxRows?: number;
|
|
17
|
+
/**
|
|
18
|
+
* The placeholder text when the TextArea is empty.
|
|
19
|
+
*/
|
|
20
|
+
placeholder?: string;
|
|
21
|
+
/**
|
|
22
|
+
* See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea#attr-rows).
|
|
23
|
+
*/
|
|
24
|
+
rows?: number;
|
|
25
|
+
/**
|
|
26
|
+
* See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea#attr-cols).
|
|
27
|
+
*/
|
|
28
|
+
cols?: number;
|
|
29
|
+
/**
|
|
30
|
+
* The size of the TextArea.
|
|
31
|
+
* @default "md"
|
|
32
|
+
*/
|
|
33
|
+
size?: ResponsiveProp<"sm" | "md">;
|
|
34
|
+
/**
|
|
35
|
+
* If `true`, the TextArea will take all available width.
|
|
36
|
+
*/
|
|
37
|
+
isFluid?: ResponsiveProp<boolean>;
|
|
38
|
+
/**
|
|
39
|
+
* This should only be used with the `showCharacterCount` prop.
|
|
40
|
+
* If `true`, the TextArea prevents the text from ever going over the max length.
|
|
41
|
+
* If `false`, the TextArea will allow the text to go over the max length, but it will add an error look tot he character count.
|
|
42
|
+
* @default true
|
|
43
|
+
*/
|
|
44
|
+
restrictMaxLength?: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* The resize mode value of the TextArea. It's equivalent to the CSS resize property.
|
|
47
|
+
* @default "none"
|
|
48
|
+
*/
|
|
49
|
+
resizeMode?: ResponsiveProp<ResizeMode>;
|
|
50
|
+
/**
|
|
51
|
+
* A ref for the HTML textarea element.
|
|
52
|
+
*/
|
|
53
|
+
inputRef?: MutableRefObject<HTMLTextAreaElement>;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* A textarea field allows a user to enter a plain text value with a keyboard.
|
|
57
|
+
*
|
|
58
|
+
* [View Documentation](TODO)
|
|
59
|
+
*/
|
|
60
|
+
declare const _TextArea: react.ForwardRefExoticComponent<TextAreaProps & react.RefAttributes<HTMLDivElement>>;
|
|
61
|
+
|
|
62
|
+
export { GlobalTextAreaCssSelector, type ResizeMode, _TextArea as TextArea, type TextAreaProps };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export { GlobalTextAreaCssSelector, _TextArea as TextArea } from '../../chunk-XGI4LDIF.js';
|
|
2
|
+
import '../../chunk-IU6XMS2X.js';
|
|
3
|
+
import '../../chunk-Z57VHYOF.js';
|
|
4
|
+
import '../../chunk-MHQZXLKW.js';
|
|
5
|
+
import '../../chunk-LJXTJRSB.js';
|
|
6
|
+
import '../../chunk-GXFFLWNF.js';
|
|
7
|
+
import '../../chunk-TXZ6BMFR.js';
|
|
8
|
+
import '../../chunk-7VS566A2.js';
|
|
9
|
+
import '../../chunk-YRUBXLBX.js';
|
|
10
|
+
import '../../chunk-6BFSSZCY.js';
|
|
11
|
+
import '../../chunk-QCA3ZR56.js';
|
|
12
|
+
import '../../chunk-YEYNRBMQ.js';
|
|
13
|
+
import '../../chunk-65JPI4FL.js';
|
|
14
|
+
import '../../chunk-HZKFQ33E.js';
|
|
15
|
+
import '../../chunk-FAE27DLF.js';
|
|
16
|
+
import '../../chunk-YE7RARJB.js';
|
|
17
|
+
import '../../chunk-WPNVVGFW.js';
|
|
18
|
+
import '../../chunk-6MSRPPI6.js';
|
|
19
|
+
import '../../chunk-X6SER3TZ.js';
|
|
20
|
+
import '../../chunk-HXI3MEEK.js';
|
|
21
|
+
import '../../chunk-M36KANKC.js';
|
|
22
|
+
import '../../chunk-KVDXQMWI.js';
|
|
23
|
+
import '../../chunk-JSBRDJBE.js';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { ContextValue } from 'react-aria-components';
|
|
3
|
+
import { TextAreaProps } from './TextArea.js';
|
|
4
|
+
import '@hopper-ui/styled-system';
|
|
5
|
+
|
|
6
|
+
declare const TextAreaContext: react.Context<ContextValue<TextAreaProps, HTMLDivElement>>;
|
|
7
|
+
|
|
8
|
+
export { TextAreaContext };
|