@hopper-ui/components 1.0.11 → 1.0.13
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 +13 -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 +179 -256
- package/dist/ListBox/src/ListBox.js +10 -10
- package/dist/ListBox/src/ListBoxItem.css +164 -241
- package/dist/ListBox/src/ListBoxItem.js +9 -9
- package/dist/ListBox/src/ListBoxItemSkeleton.css +7 -7
- package/dist/ListBox/src/ListBoxItemSkeleton.js +1 -1
- package/dist/ListBox/src/index.css +179 -256
- package/dist/ListBox/src/index.js +10 -10
- package/dist/Spinner/src/Spinner.css +83 -83
- package/dist/Spinner/src/Spinner.js +5 -3
- package/dist/Spinner/src/index.css +83 -83
- package/dist/Spinner/src/index.js +5 -3
- package/dist/buttons/src/Button.css +156 -236
- package/dist/buttons/src/Button.js +3 -5
- 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 +179 -259
- package/dist/buttons/src/index.js +6 -8
- package/dist/checkbox/src/Checkbox.css +31 -37
- 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 +70 -140
- package/dist/checkbox/src/CheckboxGroup.js +2 -2
- package/dist/checkbox/src/index.css +70 -140
- package/dist/checkbox/src/index.js +5 -5
- package/dist/{chunk-L2HJORV2.js → chunk-2MUGMKNO.js} +3 -4
- package/dist/{chunk-TP6OU6SQ.js → chunk-44KY7MFF.js} +5 -5
- package/dist/{chunk-YLUVOHHC.js → chunk-5WWMVQI4.js} +1 -1
- package/dist/{chunk-JTX4ZTQ6.js → chunk-723W7LGB.js} +3 -3
- package/dist/{chunk-OFNA3Y6A.js → chunk-AMXRADUV.js} +9 -5
- package/dist/{chunk-ZINTZZLE.js → chunk-AYPCLDGU.js} +1 -1
- package/dist/{chunk-UAKDD5TO.js → chunk-B42AJF74.js} +7 -7
- package/dist/{chunk-7PFCZHVB.js → chunk-CCIVRIKG.js} +5 -4
- package/dist/{chunk-3XZXPN6Y.js → chunk-CS2RAWQB.js} +3 -3
- package/dist/{chunk-4SPQFKVC.js → chunk-CXIH6I5X.js} +2 -2
- package/dist/{chunk-OWWIZWZA.js → chunk-DZHRELLA.js} +1 -1
- package/dist/{chunk-5SHNL47W.js → chunk-ERE2XRQA.js} +1 -1
- package/dist/{chunk-TYMV4JQ2.js → chunk-ESRYOELK.js} +2 -2
- package/dist/{chunk-P62FAV3S.js → chunk-GH5LAOQU.js} +1 -1
- package/dist/{chunk-QQBJ4REK.js → chunk-I2YZLGRE.js} +4 -7
- package/dist/{chunk-LRJ5ZWXY.js → chunk-IEE2HHGR.js} +1 -1
- package/dist/{chunk-5VWMGH3R.js → chunk-JLUFMLGV.js} +1 -1
- package/dist/{chunk-HTM3ZSBX.js → chunk-JN2FF2IX.js} +1 -1
- package/dist/{chunk-7GVDINGU.js → chunk-KARK64JC.js} +1 -1
- package/dist/{chunk-EZX4K3AY.js → chunk-LDORNYHF.js} +2 -2
- package/dist/{chunk-B5563GK3.js → chunk-M4IVTAHY.js} +4 -4
- package/dist/chunk-MTDFS4CZ.js +12 -0
- package/dist/{chunk-N65OIMRV.js → chunk-MVWQVBTK.js} +3 -4
- package/dist/{chunk-B3EA6PO5.js → chunk-NHM3MQI3.js} +3 -4
- package/dist/{chunk-PPO5T6D3.js → chunk-PAYZGXTT.js} +1 -1
- package/dist/{chunk-NFOY572L.js → chunk-QTV45NTY.js} +2 -2
- package/dist/{chunk-GDCTBE7C.js → chunk-RGGVZKNN.js} +2 -2
- package/dist/{chunk-K7RORXVD.js → chunk-RXZQB35O.js} +2 -2
- package/dist/{chunk-BKYHKRAJ.js → chunk-SNWJJ3FF.js} +1 -1
- package/dist/{chunk-I3OSQDQM.js → chunk-SSMGKQ27.js} +2 -2
- package/dist/{chunk-W5DFK35A.js → chunk-SW7LHIQ2.js} +7 -7
- package/dist/{chunk-RYSCBMR6.js → chunk-THQZBL4T.js} +1 -1
- package/dist/{chunk-GAPQ6VJL.js → chunk-TNVYVDLF.js} +3 -3
- package/dist/{chunk-WC72FIUS.js → chunk-UGHMX7QX.js} +3 -3
- package/dist/{chunk-AB24MF66.js → chunk-UPR32DV5.js} +2 -2
- package/dist/{chunk-BRIG7AIE.js → chunk-W34MMJ2L.js} +2 -2
- package/dist/{chunk-WQPDNKWM.js → chunk-WCLGYVXV.js} +1 -1
- package/dist/chunk-ZQ3AWYRR.js +7 -0
- package/dist/{chunk-KUX5YOEF.js → chunk-ZXDN2IRM.js} +1 -1
- package/dist/index.css +469 -573
- package/dist/index.d.ts +1 -0
- package/dist/index.js +49 -48
- package/dist/inputs/src/InputGroup.css +14 -12
- package/dist/inputs/src/InputGroup.d.ts +1 -0
- package/dist/inputs/src/InputGroup.js +1 -1
- package/dist/inputs/src/NumberField.css +517 -0
- package/dist/inputs/src/NumberField.d.ts +37 -0
- package/dist/inputs/src/NumberField.js +177 -0
- package/dist/inputs/src/NumberFieldContext.d.ts +8 -0
- package/dist/inputs/src/NumberFieldContext.js +2 -0
- package/dist/inputs/src/PasswordField.css +234 -306
- package/dist/inputs/src/PasswordField.js +8 -8
- package/dist/inputs/src/SearchField.css +240 -311
- package/dist/inputs/src/SearchField.js +9 -9
- package/dist/inputs/src/TextField.css +235 -307
- package/dist/inputs/src/TextField.js +10 -10
- package/dist/inputs/src/index.css +253 -344
- package/dist/inputs/src/index.js +13 -13
- package/dist/overlays/Popover/src/Popover.css +469 -573
- package/dist/overlays/Popover/src/Popover.js +49 -48
- package/dist/overlays/Popover/src/index.css +469 -573
- package/dist/overlays/Popover/src/index.js +49 -48
- package/dist/radio/src/Radio.css +31 -38
- package/dist/radio/src/Radio.js +2 -2
- package/dist/radio/src/RadioField.css +15 -15
- package/dist/radio/src/RadioField.js +2 -2
- package/dist/radio/src/RadioGroup.css +70 -141
- package/dist/radio/src/RadioGroup.js +2 -2
- package/dist/radio/src/index.css +70 -141
- package/dist/radio/src/index.js +5 -5
- 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 +469 -573
- package/dist/tag/src/Tag.js +49 -48
- package/dist/tag/src/TagGroup.css +32 -96
- package/dist/tag/src/TagGroup.js +2 -2
- package/dist/tag/src/index.css +469 -573
- package/dist/tag/src/index.js +49 -48
- 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 +13 -77
- package/dist/typography/Label/src/Label.d.ts +1 -6
- package/dist/typography/Label/src/Label.js +1 -1
- package/dist/typography/Label/src/index.css +13 -77
- 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 +1 -0
- package/dist/utils/src/index.js +1 -0
- package/dist/utils/src/useScale.d.ts +11 -0
- package/dist/utils/src/useScale.js +2 -0
- package/package.json +2 -2
|
@@ -0,0 +1,517 @@
|
|
|
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___XGciL {
|
|
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___XGciL) {
|
|
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___8DcIm) {
|
|
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___B0mGK) {
|
|
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___QwBMo) {
|
|
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___BAtSv) {
|
|
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___QUy6V) {
|
|
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___DFqJ4) {
|
|
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___WkAxg) {
|
|
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___hGjrh {
|
|
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___wE1hg {
|
|
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___0xUz2 {
|
|
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___N2F4v {
|
|
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___FB1PP {
|
|
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___FB1PP) {
|
|
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___ZJL3P) {
|
|
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___fp3A6) {
|
|
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___rEF7K) {
|
|
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___kCSub) {
|
|
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___5VyFh) {
|
|
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___-qmiM) {
|
|
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___xDM3d) {
|
|
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___1BZid) {
|
|
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___RuqQo {
|
|
230
|
+
box-sizing: border-box;
|
|
231
|
+
}
|
|
232
|
+
.OverlineText-module__hop-OverlineText__text___RuqQo::before,
|
|
233
|
+
.OverlineText-module__hop-OverlineText__text___RuqQo::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___RuqQo::before {
|
|
241
|
+
margin-block-end: var(--bottom-offset);
|
|
242
|
+
}
|
|
243
|
+
.OverlineText-module__hop-OverlineText__text___RuqQo::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___PodEd {
|
|
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___PodEd) {
|
|
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___yPMIO {
|
|
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-gap: var(--hop-space-inline-sm);
|
|
269
|
+
--hop-InputGroup-sm-block-size: 2rem;
|
|
270
|
+
--hop-InputGroup-md-block-size: 2.5rem;
|
|
271
|
+
--hop-InputGroup-border-radius: var(--hop-shape-rounded-md);
|
|
272
|
+
--hop-InputGroup-padding-inline: var(--hop-space-inset-md);
|
|
273
|
+
--hop-InputGroup-border-color-hover: var(--hop-neutral-border-hover);
|
|
274
|
+
--hop-InputGroup-border-color-focus: var(--hop-primary-border-focus);
|
|
275
|
+
--hop-InputGroup-background-hover: var(--hop-neutral-surface-hover);
|
|
276
|
+
--hop-InputGroup-border-color-invalid: var(--hop-danger-border-strong);
|
|
277
|
+
--hop-InputGroup-input-color: var(--hop-neutral-text);
|
|
278
|
+
--hop-InputGroup-input-sm-font-family: var(--hop-body-sm-font-family);
|
|
279
|
+
--hop-InputGroup-input-sm-font-size: var(--hop-body-sm-font-size);
|
|
280
|
+
--hop-InputGroup-input-sm-font-weight: var(--hop-body-sm-font-weight);
|
|
281
|
+
--hop-InputGroup-input-sm-line-height: var(--hop-body-sm-line-height);
|
|
282
|
+
--hop-InputGroup-input-sm-block-size: 1.5rem;
|
|
283
|
+
--hop-InputGroup-input-md-font-family: var(--hop-body-md-font-family);
|
|
284
|
+
--hop-InputGroup-input-md-font-size: var(--hop-body-md-font-size);
|
|
285
|
+
--hop-InputGroup-input-md-font-weight: var(--hop-body-md-font-weight);
|
|
286
|
+
--hop-InputGroup-input-md-line-height: var(--hop-body-md-line-height);
|
|
287
|
+
--hop-InputGroup-input-md-block-size: 2rem;
|
|
288
|
+
--hop-InputGroup-background-disabled: var(--hop-neutral-surface-disabled);
|
|
289
|
+
--hop-InputGroup-border-color-disabled: var(--hop-neutral-border-disabled);
|
|
290
|
+
--hop-InputGroup-placeholder-font-family: inherit;
|
|
291
|
+
--hop-InputGroup-placeholder-font-size: inherit;
|
|
292
|
+
--hop-InputGroup-placeholder-font-weight: inherit;
|
|
293
|
+
--hop-InputGroup-placeholder-line-height: inherit;
|
|
294
|
+
--hop-InputGroup-placeholder-color: var(--hop-neutral-text-weakest);
|
|
295
|
+
--hop-InputGroup-placeholder-color-disabled: var(--hop-neutral-text-disabled);
|
|
296
|
+
--inline-size: fit-content;
|
|
297
|
+
--border: var(--hop-InputGroup-border-width) solid var(--hop-InputGroup-border-color);
|
|
298
|
+
--background: var(--hop-InputGroup-background);
|
|
299
|
+
--block-size: var(--hop-InputGroup-md-block-size);
|
|
300
|
+
}
|
|
301
|
+
:where(.InputGroup-module__hop-InputGroup___yPMIO) {
|
|
302
|
+
position: relative;
|
|
303
|
+
display: inline-flex;
|
|
304
|
+
gap: var(--hop-InputGroup-gap);
|
|
305
|
+
align-items: center;
|
|
306
|
+
box-sizing: border-box;
|
|
307
|
+
inline-size: var(--inline-size);
|
|
308
|
+
block-size: var(--block-size);
|
|
309
|
+
padding-inline: var(--hop-InputGroup-padding-inline);
|
|
310
|
+
background: var(--background);
|
|
311
|
+
border: var(--border);
|
|
312
|
+
border-radius: var(--hop-InputGroup-border-radius);
|
|
313
|
+
}
|
|
314
|
+
.InputGroup-module__hop-InputGroup--fluid___SDrjN {
|
|
315
|
+
--inline-size: 100% ;
|
|
316
|
+
}
|
|
317
|
+
.InputGroup-module__hop-InputGroup--sm___uk-A0 {
|
|
318
|
+
--block-size: var(--hop-InputGroup-sm-block-size);
|
|
319
|
+
}
|
|
320
|
+
.InputGroup-module__hop-InputGroup___yPMIO[data-hovered] {
|
|
321
|
+
--background: var(--hop-InputGroup-background-hover);
|
|
322
|
+
--border: var(--hop-InputGroup-border-width) solid var(--hop-InputGroup-border-color-hover) ;
|
|
323
|
+
}
|
|
324
|
+
.InputGroup-module__hop-InputGroup___yPMIO[data-focus-within] {
|
|
325
|
+
--border: var(--hop-InputGroup-border-width) solid var(--hop-InputGroup-border-color-focus) ;
|
|
326
|
+
}
|
|
327
|
+
.InputGroup-module__hop-InputGroup___yPMIO[data-invalid] {
|
|
328
|
+
--border: var(--hop-InputGroup-border-width) solid var(--hop-InputGroup-border-color-invalid) ;
|
|
329
|
+
}
|
|
330
|
+
.InputGroup-module__hop-InputGroup___yPMIO[data-disabled] {
|
|
331
|
+
--background: var(--hop-InputGroup-background-disabled);
|
|
332
|
+
--border: 0.0625rem solid var(--hop-InputGroup-border-color-disabled) ;
|
|
333
|
+
}
|
|
334
|
+
.InputGroup-module__hop-InputGroup__input___aerYh {
|
|
335
|
+
--input-font-family: var(--hop-InputGroup-input-md-font-family);
|
|
336
|
+
--input-font-size: var(--hop-InputGroup-input-md-font-size);
|
|
337
|
+
--input-font-weight: var(--hop-InputGroup-input-md-font-weight);
|
|
338
|
+
--input-line-height: var(--hop-InputGroup-input-md-line-height);
|
|
339
|
+
--input-block-size: var(--hop-InputGroup-input-md-block-size);
|
|
340
|
+
--input-inline-size: initial;
|
|
341
|
+
--input-placeholder-color: var(--hop-InputGroup-placeholder-color);
|
|
342
|
+
flex: 1 1 auto;
|
|
343
|
+
inline-size: var(--input-inline-size);
|
|
344
|
+
min-inline-size: 0;
|
|
345
|
+
block-size: var(--input-block-size);
|
|
346
|
+
padding: 0;
|
|
347
|
+
font-family: var(--input-font-family);
|
|
348
|
+
font-size: var(--input-font-size);
|
|
349
|
+
font-weight: var(--input-font-weight);
|
|
350
|
+
line-height: var(--input-line-height);
|
|
351
|
+
color: var(--hop-InputGroup-input-color);
|
|
352
|
+
background: transparent;
|
|
353
|
+
border: none;
|
|
354
|
+
outline: none;
|
|
355
|
+
}
|
|
356
|
+
.InputGroup-module__hop-InputGroup--fluid___SDrjN .InputGroup-module__hop-InputGroup__input___aerYh {
|
|
357
|
+
--input-inline-size: 100%;
|
|
358
|
+
}
|
|
359
|
+
.InputGroup-module__hop-InputGroup--sm___uk-A0 .InputGroup-module__hop-InputGroup__input___aerYh {
|
|
360
|
+
--input-font-family: var(--hop-InputGroup-input-sm-font-family);
|
|
361
|
+
--input-font-size: var(--hop-InputGroup-input-sm-font-size);
|
|
362
|
+
--input-font-weight: var(--hop-InputGroup-input-sm-font-weight);
|
|
363
|
+
--input-line-height: var(--hop-InputGroup-input-sm-line-height);
|
|
364
|
+
--input-block-size: var(--hop-InputGroup-input-sm-block-size);
|
|
365
|
+
}
|
|
366
|
+
.InputGroup-module__hop-InputGroup__input___aerYh::placeholder {
|
|
367
|
+
font-family: var(--hop-InputGroup-placeholder-font-family);
|
|
368
|
+
font-size: var(--hop-InputGroup-placeholder-font-size);
|
|
369
|
+
font-weight: var(--hop-InputGroup-placeholder-font-weight);
|
|
370
|
+
line-height: var(--hop-InputGroup-placeholder-line-height);
|
|
371
|
+
color: var(--input-placeholder-color);
|
|
372
|
+
}
|
|
373
|
+
.InputGroup-module__hop-InputGroup__input___aerYh[data-disabled]::placeholder {
|
|
374
|
+
--input-placeholder-color: var(--hop-InputGroup-placeholder-color-disabled);
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/inputs/src/NumberField.module.css/#css-module-data */
|
|
378
|
+
.NumberField-module__hop-NumberField___AAaVN {
|
|
379
|
+
--hop-NumberField-gap: var(--hop-space-stack-xs);
|
|
380
|
+
--hop-NumberField-inline-size: 20rem;
|
|
381
|
+
--hop-NumberField-inline-size-fluid: 100%;
|
|
382
|
+
--hop-NumberField-prefix-color: var(--hop-neutral-text-weak);
|
|
383
|
+
--hop-NumberField-prefix-margin-inline-end: var(--hop-space-inline-sm);
|
|
384
|
+
--hop-NumberField-input-group-display: grid;
|
|
385
|
+
--hop-NumberField-input-group-template: "prefix input stepup" auto "prefix input stepdown" auto / auto 1fr auto;
|
|
386
|
+
--hop-NumberField-input-group-template-mobile: "stepdown prefix input stepup" auto / auto auto 1fr auto;
|
|
387
|
+
--hop-NumberField-stepper-color: var(--hop-neutral-icon);
|
|
388
|
+
--hop-NumberField-stepper-color-hovered: var(--hop-neutral-icon-hover);
|
|
389
|
+
--hop-NumberField-stepper-color-pressed: var(--hop-neutral-icon-press);
|
|
390
|
+
--hop-NumberField-stepper-color-disabled: var(--hop-neutral-icon-disabled);
|
|
391
|
+
--hop-NumberField-stepper-background-color: var(--hop-neutral-surface);
|
|
392
|
+
--hop-NumberField-stepper-background-color-hovered: var(--hop-neutral-surface-hover);
|
|
393
|
+
--hop-NumberField-stepper-background-color-pressed: var(--hop-neutral-surface-press);
|
|
394
|
+
--hop-NumberField-stepper-background-color-disabled: transparent;
|
|
395
|
+
--hop-NumberField-stepper-border-radius: calc(var(--hop-shape-rounded-sm));
|
|
396
|
+
--hop-NumberField-stepper-border-radius-increment: var(--hop-NumberField-stepper-border-radius) var(--hop-NumberField-stepper-border-radius) 0 0;
|
|
397
|
+
--hop-NumberField-stepper-border-radius-decrement: 0 0 var(--hop-NumberField-stepper-border-radius) var(--hop-NumberField-stepper-border-radius);
|
|
398
|
+
--hop-NumberField-stepper-border-radius-mobile-increment: 0 var(--hop-shape-rounded-md) var(--hop-shape-rounded-md) 0;
|
|
399
|
+
--hop-NumberField-stepper-border-radius-mobile-decrement: var(--hop-shape-rounded-md) 0 0 var(--hop-shape-rounded-md);
|
|
400
|
+
--hop-NumberField-stepper-height: 0.86rem;
|
|
401
|
+
--hop-NumberField-stepper-height-mobile: 100%;
|
|
402
|
+
--hop-NumberField-stepper-width: 1.5rem;
|
|
403
|
+
--hop-NumberField-stepper-border-color: var(--hop-neutral-border);
|
|
404
|
+
--hop-NumberField-stepper-border-width: 0.0625rem;
|
|
405
|
+
--hop-NumberField-stepper-align-self-increment: end;
|
|
406
|
+
--hop-NumberField-stepper-align-self-decrement: start;
|
|
407
|
+
--hop-NumberField-stepper-align-self-increment-mobile: center;
|
|
408
|
+
--hop-NumberField-stepper-align-self-decrement-mobile: center;
|
|
409
|
+
--hop-NumberField-stepper-margin-inline-increment: var(--hop-space-inline-sm) calc(-1 * var(--hop-space-inline-sm));
|
|
410
|
+
--hop-NumberField-stepper-margin-inline-decrement: var(--hop-space-inline-sm) calc(-1 * var(--hop-space-inline-sm));
|
|
411
|
+
--hop-NumberField-stepper-margin-inline-increment-mobile: var(--hop-space-inline-sm) calc(-1 * var(--hop-space-inline-md));
|
|
412
|
+
--hop-NumberField-stepper-margin-inline-decrement-mobile: calc(-1 * var(--hop-space-inline-md)) var(--hop-space-inline-sm);
|
|
413
|
+
--inline-size: var(--hop-NumberField-inline-size);
|
|
414
|
+
--stepper-color: var(--hop-NumberField-stepper-color);
|
|
415
|
+
--stepper-background-color: var(--hop-NumberField-stepper-background-color);
|
|
416
|
+
--stepper-border: var(--hop-NumberField-stepper-border-width) solid var(--hop-NumberField-stepper-border-color);
|
|
417
|
+
--stepper-height: var(--hop-NumberField-stepper-height);
|
|
418
|
+
--input-group-display: var(--hop-NumberField-input-group-display);
|
|
419
|
+
--input-group-template: var(--hop-NumberField-input-group-template);
|
|
420
|
+
overflow: hidden;
|
|
421
|
+
display: flex;
|
|
422
|
+
flex-direction: column;
|
|
423
|
+
gap: var(--hop-NumberField-gap);
|
|
424
|
+
inline-size: var(--inline-size);
|
|
425
|
+
}
|
|
426
|
+
.NumberField-module__hop-NumberField--fluid___rVrvC {
|
|
427
|
+
--inline-size: var(--hop-NumberField-inline-size-fluid);
|
|
428
|
+
}
|
|
429
|
+
.NumberField-module__hop-NumberField--mobile___T-kUj {
|
|
430
|
+
--input-group-template: var(--hop-NumberField-input-group-template-mobile);
|
|
431
|
+
--stepper-height: var(--hop-NumberField-stepper-height-mobile);
|
|
432
|
+
}
|
|
433
|
+
.NumberField-module__hop-NumberField__Label___5I8jv {
|
|
434
|
+
order: 0;
|
|
435
|
+
}
|
|
436
|
+
.NumberField-module__hop-NumberField__prefix___Q0Gr1 {
|
|
437
|
+
grid-area: prefix;
|
|
438
|
+
margin-inline-end: var(--hop-NumberField-prefix-margin-inline-end);
|
|
439
|
+
color: var(--hop-NumberField-prefix-color);
|
|
440
|
+
}
|
|
441
|
+
.NumberField-module__hop-NumberField__InputGroup___3zR9a {
|
|
442
|
+
display: var(--input-group-display);
|
|
443
|
+
grid-template: var(--input-group-template);
|
|
444
|
+
gap: 0;
|
|
445
|
+
order: 1;
|
|
446
|
+
inline-size: 100%;
|
|
447
|
+
}
|
|
448
|
+
.NumberField-module__hop-NumberField__ErrorMessage___EM5fn,
|
|
449
|
+
.NumberField-module__hop-NumberField__HelperMessage___vnwQj {
|
|
450
|
+
order: 3;
|
|
451
|
+
}
|
|
452
|
+
.NumberField-module__hop-NumberField__stepper-button___OL7-O {
|
|
453
|
+
cursor: pointer;
|
|
454
|
+
display: flex;
|
|
455
|
+
grid-area: var(--grid-area, unset);
|
|
456
|
+
align-items: center;
|
|
457
|
+
align-self: var(--stepper-align-self);
|
|
458
|
+
justify-content: center;
|
|
459
|
+
box-sizing: border-box;
|
|
460
|
+
inline-size: var(--hop-NumberField-stepper-width);
|
|
461
|
+
block-size: var(--stepper-height);
|
|
462
|
+
margin-inline: var(--stepper-margin-inline);
|
|
463
|
+
padding: 0;
|
|
464
|
+
color: var(--stepper-color);
|
|
465
|
+
background-color: var(--stepper-background-color);
|
|
466
|
+
border-color: var(--hop-NumberField-stepper-border-color);
|
|
467
|
+
border-style: solid;
|
|
468
|
+
border-width: var(--stepper-border-width);
|
|
469
|
+
border-radius: var(--stepper-border-radius, 0);
|
|
470
|
+
outline: none;
|
|
471
|
+
}
|
|
472
|
+
.NumberField-module__hop-NumberField__stepper-button--increment___W5YHN {
|
|
473
|
+
--stepper-border-radius: var(--hop-NumberField-stepper-border-radius-increment);
|
|
474
|
+
--stepper-border-width: var(--hop-NumberField-stepper-border-width) var(--hop-NumberField-stepper-border-width) 0 var(--hop-NumberField-stepper-border-width);
|
|
475
|
+
--stepper-align-self: var(--hop-NumberField-stepper-align-self-increment);
|
|
476
|
+
--stepper-margin-inline: var(--hop-NumberField-stepper-margin-inline-increment);
|
|
477
|
+
--grid-area: stepup;
|
|
478
|
+
}
|
|
479
|
+
.NumberField-module__hop-NumberField__stepper-button--decrement___i-Kmo {
|
|
480
|
+
--stepper-border-radius: var(--hop-NumberField-stepper-border-radius-decrement);
|
|
481
|
+
--stepper-border-width: 0 var(--hop-NumberField-stepper-border-width) var(--hop-NumberField-stepper-border-width) var(--hop-NumberField-stepper-border-width);
|
|
482
|
+
--stepper-align-self: var(--hop-NumberField-stepper-align-self-decrement);
|
|
483
|
+
--stepper-margin-inline: var(--hop-NumberField-stepper-margin-inline-decrement);
|
|
484
|
+
--grid-area: stepdown;
|
|
485
|
+
}
|
|
486
|
+
.NumberField-module__hop-NumberField__stepper-button--mobile___V4omC.NumberField-module__hop-NumberField__stepper-button--increment___W5YHN {
|
|
487
|
+
--stepper-border-width: 0 0 0 var(--hop-NumberField-stepper-border-width);
|
|
488
|
+
--stepper-align-self: var(--hop-NumberField-stepper-align-self-increment-mobile);
|
|
489
|
+
--stepper-margin-inline: var(--hop-NumberField-stepper-margin-inline-increment-mobile);
|
|
490
|
+
--stepper-border-radius: var(--hop-NumberField-stepper-border-radius-mobile-increment);
|
|
491
|
+
}
|
|
492
|
+
.NumberField-module__hop-NumberField__stepper-button--mobile___V4omC.NumberField-module__hop-NumberField__stepper-button--decrement___i-Kmo {
|
|
493
|
+
--stepper-border-width: 0 var(--hop-NumberField-stepper-border-width) 0 0;
|
|
494
|
+
--stepper-align-self: var(--hop-NumberField-stepper-align-self-decrement-mobile);
|
|
495
|
+
--stepper-margin-inline: var(--hop-NumberField-stepper-margin-inline-decrement-mobile);
|
|
496
|
+
--stepper-border-radius: var(--hop-NumberField-stepper-border-radius-mobile-decrement);
|
|
497
|
+
}
|
|
498
|
+
.NumberField-module__hop-NumberField__stepper-button___OL7-O[data-hovered] {
|
|
499
|
+
color: var(--hop-NumberField-stepper-color-hovered);
|
|
500
|
+
background-color: var(--hop-NumberField-stepper-background-color-hovered);
|
|
501
|
+
}
|
|
502
|
+
.NumberField-module__hop-NumberField__stepper-button___OL7-O[data-pressed] {
|
|
503
|
+
color: var(--hop-NumberField-stepper-color-pressed);
|
|
504
|
+
background-color: var(--hop-NumberField-stepper-background-color-pressed);
|
|
505
|
+
}
|
|
506
|
+
.NumberField-module__hop-NumberField__stepper-button___OL7-O[data-disabled] {
|
|
507
|
+
cursor: not-allowed;
|
|
508
|
+
color: var(--hop-NumberField-stepper-color-disabled);
|
|
509
|
+
background-color: var(--hop-NumberField-stepper-background-color-disabled);
|
|
510
|
+
}
|
|
511
|
+
.NumberField-module__hop-NumberField__stepper-button__icon___ZCqO6 {
|
|
512
|
+
display: block;
|
|
513
|
+
max-block-size: 100%;
|
|
514
|
+
}
|
|
515
|
+
.NumberField-module__hop-NumberField__input___GSHPf {
|
|
516
|
+
grid-area: input;
|
|
517
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { ReactNode, MutableRefObject } from 'react';
|
|
3
|
+
import { StyledComponentProps, ResponsiveProp } from '@hopper-ui/styled-system';
|
|
4
|
+
import { NumberFieldProps as NumberFieldProps$1 } from 'react-aria-components';
|
|
5
|
+
|
|
6
|
+
declare const GlobalNumberFieldCssSelector = "hop-NumberField";
|
|
7
|
+
interface NumberFieldProps extends StyledComponentProps<NumberFieldProps$1> {
|
|
8
|
+
/**
|
|
9
|
+
* An icon or text to display at the start of the input.
|
|
10
|
+
*/
|
|
11
|
+
prefix?: ReactNode;
|
|
12
|
+
/**
|
|
13
|
+
* The placeholder text when the NumberField is empty.
|
|
14
|
+
*/
|
|
15
|
+
placeholder?: string;
|
|
16
|
+
/**
|
|
17
|
+
* The size of the NumberField.
|
|
18
|
+
* @default "md"
|
|
19
|
+
*/
|
|
20
|
+
size?: ResponsiveProp<"sm" | "md">;
|
|
21
|
+
/**
|
|
22
|
+
* If `true`, the NumberField will take all available width.
|
|
23
|
+
*/
|
|
24
|
+
isFluid?: ResponsiveProp<boolean>;
|
|
25
|
+
/**
|
|
26
|
+
* A ref for the HTML input element.
|
|
27
|
+
*/
|
|
28
|
+
inputRef?: MutableRefObject<HTMLInputElement>;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* A number field allows a user to enter a number value with a keyboard or increment and decrement buttons.
|
|
32
|
+
*
|
|
33
|
+
* [View Documentation](TODO)
|
|
34
|
+
*/
|
|
35
|
+
declare const _NumberField: react.ForwardRefExoticComponent<NumberFieldProps & react.RefAttributes<HTMLDivElement>>;
|
|
36
|
+
|
|
37
|
+
export { GlobalNumberFieldCssSelector, _NumberField as NumberField, type NumberFieldProps };
|