@hopper-ui/components 1.3.24 → 1.3.26
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 +14 -0
- package/dist/Avatar/src/AnonymousAvatar.css +37 -37
- package/dist/Avatar/src/AnonymousAvatar.js +3 -3
- package/dist/Avatar/src/Avatar.css +55 -55
- package/dist/Avatar/src/Avatar.js +5 -5
- package/dist/Avatar/src/DeletedAvatar.css +37 -37
- package/dist/Avatar/src/DeletedAvatar.js +3 -3
- package/dist/Avatar/src/RichIconAvatarImage.css +37 -37
- package/dist/Avatar/src/RichIconAvatarImage.js +2 -2
- package/dist/Avatar/src/index.css +55 -55
- package/dist/Avatar/src/index.js +7 -7
- package/dist/Badge/src/Badge.css +42 -42
- package/dist/Badge/src/Badge.js +3 -3
- 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 +6 -6
- package/dist/ComboBox/src/ComboBox.css +1251 -1251
- package/dist/ComboBox/src/ComboBox.d.ts +56 -8
- package/dist/ComboBox/src/ComboBox.js +105 -7
- package/dist/ComboBox/src/ComboBoxContext.d.ts +9 -1
- package/dist/ComboBox/src/index.css +1251 -1251
- package/dist/ComboBox/src/index.d.ts +5 -8
- package/dist/ComboBox/src/index.js +71 -79
- 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 +3 -3
- package/dist/ErrorMessage/src/index.css +29 -29
- package/dist/ErrorMessage/src/index.js +3 -3
- package/dist/Form/src/Form.css +900 -900
- package/dist/Form/src/Form.js +71 -79
- package/dist/Form/src/index.css +900 -900
- package/dist/Form/src/index.js +71 -79
- 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 +9 -9
- package/dist/Link/src/index.css +49 -49
- package/dist/Link/src/index.js +9 -9
- package/dist/ListBox/src/ListBox.css +406 -406
- package/dist/ListBox/src/ListBox.d.ts +1 -1
- package/dist/ListBox/src/ListBox.js +16 -16
- package/dist/ListBox/src/ListBoxItem.css +394 -394
- package/dist/ListBox/src/ListBoxItem.js +12 -12
- package/dist/ListBox/src/ListBoxItemSkeleton.css +34 -34
- package/dist/ListBox/src/ListBoxItemSkeleton.js +1 -1
- package/dist/ListBox/src/index.css +406 -406
- package/dist/ListBox/src/index.js +16 -16
- package/dist/Select/src/Select.css +3863 -764
- package/dist/Select/src/Select.d.ts +55 -7
- package/dist/Select/src/Select.js +104 -9
- package/dist/Select/src/SelectContext.d.ts +8 -0
- package/dist/Select/src/SelectValue.css +61 -61
- package/dist/Select/src/SelectValue.js +6 -6
- package/dist/Select/src/index.css +1506 -1506
- package/dist/Select/src/index.d.ts +3 -6
- package/dist/Select/src/index.js +71 -79
- package/dist/Spinner/src/Spinner.css +37 -37
- package/dist/Spinner/src/Spinner.js +3 -3
- package/dist/Spinner/src/index.css +37 -37
- package/dist/Spinner/src/index.js +3 -3
- package/dist/buttons/src/Button.css +93 -93
- package/dist/buttons/src/Button.js +10 -10
- package/dist/buttons/src/ButtonGroup.css +38 -38
- package/dist/buttons/src/ButtonGroup.js +2 -2
- package/dist/buttons/src/ClearButton.css +98 -98
- package/dist/buttons/src/ClearButton.js +3 -3
- package/dist/buttons/src/EmbeddedButton.css +98 -98
- package/dist/buttons/src/EmbeddedButton.js +2 -2
- package/dist/buttons/src/LinkButton.css +102 -102
- package/dist/buttons/src/LinkButton.js +9 -9
- package/dist/buttons/src/index.css +249 -249
- package/dist/buttons/src/index.js +16 -16
- package/dist/checkbox/src/Checkbox.css +46 -46
- package/dist/checkbox/src/Checkbox.js +8 -8
- package/dist/checkbox/src/CheckboxField.css +33 -33
- package/dist/checkbox/src/CheckboxField.js +3 -3
- package/dist/checkbox/src/CheckboxGroup.css +98 -98
- package/dist/checkbox/src/CheckboxGroup.d.ts +7 -11
- package/dist/checkbox/src/CheckboxGroup.js +11 -4
- package/dist/checkbox/src/DecorativeCheckbox.css +54 -54
- package/dist/checkbox/src/DecorativeCheckbox.d.ts +1 -1
- package/dist/checkbox/src/DecorativeCheckbox.js +8 -8
- package/dist/checkbox/src/index.css +98 -98
- package/dist/checkbox/src/index.d.ts +1 -3
- package/dist/checkbox/src/index.js +14 -14
- package/dist/{chunk-UAWJCHI5.js → chunk-2EV3YY6O.js} +5 -5
- package/dist/{chunk-34OD6B77.js → chunk-34ER3Q3E.js} +3 -3
- package/dist/{chunk-4GUVWQIQ.js → chunk-3O7BL2KX.js} +3 -3
- package/dist/{chunk-AACT6TYJ.js → chunk-3UP24VEW.js} +7 -7
- package/dist/{chunk-VYR2FNOF.js → chunk-3W66UTRH.js} +4 -4
- package/dist/{chunk-GIUE6E7O.js → chunk-4T564HJ6.js} +2 -2
- package/dist/{chunk-ZNAUIA3P.js → chunk-5U74TYYM.js} +4 -4
- package/dist/{chunk-EY63OJGU.js → chunk-5VMRSEZJ.js} +2 -2
- package/dist/{chunk-FDA3Z2MW.js → chunk-7YCHVZAY.js} +2 -2
- package/dist/{chunk-A3DFIXR7.js → chunk-AN67K6WK.js} +1 -1
- package/dist/{chunk-DVFD3SO5.js → chunk-AQSTIWVL.js} +3 -3
- package/dist/{chunk-5HOGOWWF.js → chunk-BBBCM4UD.js} +4 -4
- package/dist/{chunk-23GSURJM.js → chunk-BCCHOOJ6.js} +6 -6
- package/dist/{chunk-DKU4ERF3.js → chunk-BX43IOO4.js} +2 -2
- package/dist/chunk-CPMQVH6E.js +133 -0
- package/dist/{chunk-ICG7GXKL.js → chunk-D356AG3Y.js} +6 -6
- package/dist/{chunk-RFDMUGAC.js → chunk-D423VDJZ.js} +2 -2
- package/dist/{chunk-JEJIGHGA.js → chunk-DTY2IJJ4.js} +4 -4
- package/dist/{chunk-P5CTWFXU.js → chunk-E5B2HDJG.js} +1 -1
- package/dist/{chunk-YZXA24RK.js → chunk-ESWWZ7W6.js} +4 -4
- package/dist/{chunk-6ZY5OMDT.js → chunk-EXL4IHCP.js} +3 -3
- package/dist/{chunk-YSSICOAX.js → chunk-GKELD2X2.js} +3 -3
- package/dist/{chunk-DQM72KTX.js → chunk-IFHFCK4B.js} +1 -1
- package/dist/{chunk-D2LTMEJM.js → chunk-KZQDYFSO.js} +5 -5
- package/dist/{chunk-GX67ZE24.js → chunk-O4UTOFYE.js} +3 -3
- package/dist/{chunk-TKHSOAVB.js → chunk-OH47EJDL.js} +2 -2
- package/dist/{chunk-2MA4Z3CM.js → chunk-ON7MQIOJ.js} +1 -1
- package/dist/{chunk-JDMEQ2PT.js → chunk-P46AXP47.js} +3 -3
- package/dist/{chunk-3MNBXLNA.js → chunk-PLJGFTQE.js} +1 -1
- package/dist/chunk-Q6YABMDY.js +133 -0
- package/dist/{chunk-ZYU53CSB.js → chunk-QHS7OPTX.js} +2 -2
- package/dist/{chunk-QEP5RLDI.js → chunk-QLFK4TDW.js} +1 -1
- package/dist/{chunk-I54ZVSE7.js → chunk-RH56CRXC.js} +2 -2
- package/dist/{chunk-XDS75LCS.js → chunk-SEMHS2HM.js} +7 -7
- package/dist/{chunk-DXJTN6KL.js → chunk-SHLXCNCB.js} +1 -1
- package/dist/{chunk-DPM63OEM.js → chunk-TUAAD5PI.js} +1 -1
- package/dist/{chunk-4QKGKTD5.js → chunk-UIVMBUPT.js} +2 -2
- package/dist/{chunk-3WWTLVIH.js → chunk-UNIVA5T3.js} +1 -1
- package/dist/{chunk-KYTJMKI3.js → chunk-UV3CWRCS.js} +2 -2
- package/dist/{chunk-FN2RCELD.js → chunk-VAAXBSBQ.js} +2 -2
- package/dist/{chunk-WU6G2EFE.js → chunk-X5UWK5RL.js} +1 -1
- package/dist/{chunk-FTU5D3IQ.js → chunk-XF3Q4TNE.js} +3 -3
- package/dist/{chunk-V2ME5CNG.js → chunk-Y4ZE6KY7.js} +369 -92
- package/dist/{chunk-QU5EBSOI.js → chunk-YO2QYRC2.js} +3 -3
- package/dist/{chunk-US7TSPOE.js → chunk-Z2LOHKRH.js} +1 -1
- package/dist/{chunk-7UIRCOSZ.js → chunk-ZZPW6TQD.js} +1 -1
- package/dist/index.css +900 -900
- package/dist/index.d.ts +6 -14
- package/dist/index.js +71 -79
- package/dist/inputs/src/InputGroup.css +264 -264
- package/dist/inputs/src/InputGroup.js +2 -2
- package/dist/inputs/src/NumberField.css +286 -286
- package/dist/inputs/src/NumberField.js +8 -8
- package/dist/inputs/src/PasswordField.css +274 -274
- package/dist/inputs/src/PasswordField.js +8 -8
- package/dist/inputs/src/RemainingCharacterCount.css +30 -30
- package/dist/inputs/src/RemainingCharacterCount.js +6 -6
- package/dist/inputs/src/SearchField.css +280 -280
- package/dist/inputs/src/SearchField.js +9 -9
- 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 +11 -11
- package/dist/inputs/src/index.css +324 -324
- package/dist/inputs/src/index.js +18 -18
- package/dist/overlays/Popover/src/Popover.css +900 -900
- package/dist/overlays/Popover/src/Popover.js +71 -79
- package/dist/overlays/Popover/src/index.css +900 -900
- package/dist/overlays/Popover/src/index.js +71 -79
- package/dist/radio/src/DecorativeRadio.css +54 -54
- package/dist/radio/src/DecorativeRadio.d.ts +1 -1
- package/dist/radio/src/DecorativeRadio.js +8 -8
- package/dist/radio/src/Radio.css +46 -46
- package/dist/radio/src/Radio.js +8 -8
- package/dist/radio/src/RadioField.css +33 -33
- package/dist/radio/src/RadioField.js +3 -3
- package/dist/radio/src/RadioGroup.css +129 -129
- package/dist/radio/src/RadioGroup.d.ts +7 -11
- package/dist/radio/src/RadioGroup.js +11 -4
- package/dist/radio/src/index.css +264 -264
- package/dist/radio/src/index.d.ts +4 -6
- package/dist/radio/src/index.js +14 -14
- package/dist/switch/src/Switch.css +43 -43
- package/dist/switch/src/Switch.js +8 -8
- 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 +9 -9
- package/dist/tag/src/Tag.css +390 -390
- package/dist/tag/src/Tag.js +12 -12
- package/dist/tag/src/TagGroup.css +37 -37
- package/dist/tag/src/TagGroup.js +1 -1
- package/dist/tag/src/TagList.css +27 -27
- package/dist/tag/src/index.css +400 -400
- package/dist/tag/src/index.js +13 -13
- 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.d.ts +1 -1
- package/dist/utils/src/index.js +7 -7
- package/dist/utils/src/types.d.ts +28 -2
- package/dist/utils/src/useRenderProps.d.ts +1 -0
- package/package.json +1 -1
- package/dist/Avatar/src/AnonymousAvatar.temp.css +0 -296
- package/dist/Avatar/src/AnonymousAvatar.temp.d.ts +0 -31
- package/dist/Avatar/src/AnonymousAvatar.temp.js +0 -60
- package/dist/ComboBox/src/ComboBoxOptions.css +0 -5453
- package/dist/ComboBox/src/ComboBoxOptions.d.ts +0 -51
- package/dist/ComboBox/src/ComboBoxOptions.js +0 -129
- package/dist/ComboBox/src/ComboBoxOptionsContext.d.ts +0 -21
- package/dist/ComboBox/src/ComboBoxOptionsContext.js +0 -2
- package/dist/Select/src/SelectOptions.css +0 -5453
- package/dist/Select/src/SelectOptions.d.ts +0 -50
- package/dist/Select/src/SelectOptions.js +0 -129
- package/dist/Select/src/SelectOptionsContext.d.ts +0 -21
- package/dist/Select/src/SelectOptionsContext.js +0 -2
- package/dist/checkbox/src/CheckboxList.d.ts +0 -17
- package/dist/checkbox/src/CheckboxList.js +0 -3
- package/dist/checkbox/src/CheckboxListContext.d.ts +0 -10
- package/dist/checkbox/src/CheckboxListContext.js +0 -2
- package/dist/chunk-3LRBUQC2.js +0 -43
- package/dist/chunk-A7TZHALP.js +0 -7
- package/dist/chunk-BI5IK57A.js +0 -105
- package/dist/chunk-CQFXGAJK.js +0 -7
- package/dist/chunk-D7F5AAM5.js +0 -149
- package/dist/chunk-DTPOFTKE.js +0 -105
- package/dist/chunk-FAM5QSGP.js +0 -210
- package/dist/chunk-NKHMUPAP.js +0 -43
- package/dist/chunk-WDUQUPTE.js +0 -7
- package/dist/chunk-XGOJ7VOE.js +0 -7
- package/dist/radio/src/RadioList.d.ts +0 -17
- package/dist/radio/src/RadioList.js +0 -3
- package/dist/radio/src/RadioListContext.d.ts +0 -10
- package/dist/radio/src/RadioListContext.js +0 -2
package/dist/utils/src/index.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/typography/Heading/src/Heading.module.css/#css-module-data */
|
|
2
|
-
.Heading-module__hop-
|
|
2
|
+
.Heading-module__hop-Heading___q26SZ {
|
|
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___q26SZ) {
|
|
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___9SyOh) {
|
|
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___G9XTw) {
|
|
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___bh0Lp) {
|
|
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___CIDqI) {
|
|
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___LSYRw) {
|
|
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___qhs-3) {
|
|
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___yfCW6) {
|
|
80
80
|
--font-size: var(--hop-Heading-3xl-font-size);
|
|
81
81
|
--font-family: var(--hop-Heading-3xl-font-family);
|
|
82
82
|
--font-weight: var(--hop-Heading-3xl-font-weight);
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/typography/Text/src/Text.module.css/#css-module-data */
|
|
87
|
-
.Text-module__hop-
|
|
87
|
+
.Text-module__hop-Text___Ms9UM {
|
|
88
88
|
--hop-Text-xs-font-size: var(--hop-body-xs-font-size);
|
|
89
89
|
--hop-Text-xs-font-family: var(--hop-body-xs-font-family);
|
|
90
90
|
--hop-Text-xs-font-weight: var(--hop-body-xs-font-weight);
|
|
@@ -114,49 +114,49 @@
|
|
|
114
114
|
--hop-Text-inherit-size-font-weight: inherit;
|
|
115
115
|
--hop-Text-inherit-size-line-height: inherit;
|
|
116
116
|
}
|
|
117
|
-
:where(.Text-module__hop-
|
|
117
|
+
:where(.Text-module__hop-Text___Ms9UM) {
|
|
118
118
|
font-family: var(--font-family);
|
|
119
119
|
font-size: var(--font-size);
|
|
120
120
|
font-weight: var(--font-weight);
|
|
121
121
|
line-height: var(--line-height);
|
|
122
122
|
}
|
|
123
|
-
:where(.Text-module__hop-Text--
|
|
123
|
+
:where(.Text-module__hop-Text--xs___EFy-e) {
|
|
124
124
|
--font-size: var(--hop-Text-xs-font-size);
|
|
125
125
|
--font-family: var(--hop-Text-xs-font-family);
|
|
126
126
|
--font-weight: var(--hop-Text-xs-font-weight);
|
|
127
127
|
--line-height: var(--hop-Text-xs-line-height);
|
|
128
128
|
}
|
|
129
|
-
:where(.Text-module__hop-Text--
|
|
129
|
+
:where(.Text-module__hop-Text--sm___wEhhC) {
|
|
130
130
|
--font-size: var(--hop-Text-sm-font-size);
|
|
131
131
|
--font-family: var(--hop-Text-sm-font-family);
|
|
132
132
|
--font-weight: var(--hop-Text-sm-font-weight);
|
|
133
133
|
--line-height: var(--hop-Text-sm-line-height);
|
|
134
134
|
}
|
|
135
|
-
:where(.Text-module__hop-Text--
|
|
135
|
+
:where(.Text-module__hop-Text--md___PZ9Gy) {
|
|
136
136
|
--font-size: var(--hop-Text-md-font-size);
|
|
137
137
|
--font-family: var(--hop-Text-md-font-family);
|
|
138
138
|
--font-weight: var(--hop-Text-md-font-weight);
|
|
139
139
|
--line-height: var(--hop-Text-md-line-height);
|
|
140
140
|
}
|
|
141
|
-
:where(.Text-module__hop-Text--
|
|
141
|
+
:where(.Text-module__hop-Text--lg___7e4eY) {
|
|
142
142
|
--font-size: var(--hop-Text-lg-font-size);
|
|
143
143
|
--font-family: var(--hop-Text-lg-font-family);
|
|
144
144
|
--font-weight: var(--hop-Text-lg-font-weight);
|
|
145
145
|
--line-height: var(--hop-Text-lg-line-height);
|
|
146
146
|
}
|
|
147
|
-
:where(.Text-module__hop-Text--
|
|
147
|
+
:where(.Text-module__hop-Text--xl___6cRtq) {
|
|
148
148
|
--font-size: var(--hop-Text-xl-font-size);
|
|
149
149
|
--font-family: var(--hop-Text-xl-font-family);
|
|
150
150
|
--font-weight: var(--hop-Text-xl-font-weight);
|
|
151
151
|
--line-height: var(--hop-Text-xl-line-height);
|
|
152
152
|
}
|
|
153
|
-
:where(.Text-module__hop-Text--
|
|
153
|
+
:where(.Text-module__hop-Text--2xl___JtqvW) {
|
|
154
154
|
--font-size: var(--hop-Text-2xl-font-size);
|
|
155
155
|
--font-family: var(--hop-Text-2xl-font-family);
|
|
156
156
|
--font-weight: var(--hop-Text-2xl-font-weight);
|
|
157
157
|
--line-height: var(--hop-Text-2xl-line-height);
|
|
158
158
|
}
|
|
159
|
-
:where(.Text-module__hop-Text--
|
|
159
|
+
:where(.Text-module__hop-Text--inherit___e1vLn) {
|
|
160
160
|
--font-size: var(--hop-Text-inherit-size-font-size);
|
|
161
161
|
--font-family: var(--hop-Text-inherit-size-font-family);
|
|
162
162
|
--font-weight: var(--hop-Text-inherit-size-font-weight);
|
|
@@ -164,7 +164,7 @@
|
|
|
164
164
|
}
|
|
165
165
|
|
|
166
166
|
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/typography/OverlineText/src/OverlineText.module.css/#css-module-data */
|
|
167
|
-
:where(.OverlineText-module__hop-
|
|
167
|
+
:where(.OverlineText-module__hop-OverlineText___5UYuc) {
|
|
168
168
|
--hop-OverlineText-font-family: var(--hop-overline-font-family);
|
|
169
169
|
--hop-OverlineText-font-size: var(--hop-overline-font-size);
|
|
170
170
|
--hop-OverlineText-font-weight: var(--hop-overline-font-weight);
|
|
@@ -188,39 +188,39 @@
|
|
|
188
188
|
text-transform: uppercase;
|
|
189
189
|
letter-spacing: var(--letter-spacing);
|
|
190
190
|
}
|
|
191
|
-
.OverlineText-module__hop-
|
|
191
|
+
.OverlineText-module__hop-OverlineText__text___Fd-8K {
|
|
192
192
|
box-sizing: border-box;
|
|
193
193
|
}
|
|
194
|
-
.OverlineText-module__hop-
|
|
195
|
-
.OverlineText-module__hop-
|
|
194
|
+
.OverlineText-module__hop-OverlineText__text___Fd-8K::before,
|
|
195
|
+
.OverlineText-module__hop-OverlineText__text___Fd-8K::after {
|
|
196
196
|
content: "";
|
|
197
197
|
display: block;
|
|
198
198
|
box-sizing: border-box;
|
|
199
199
|
inline-size: 0;
|
|
200
200
|
block-size: 0;
|
|
201
201
|
}
|
|
202
|
-
.OverlineText-module__hop-
|
|
202
|
+
.OverlineText-module__hop-OverlineText__text___Fd-8K::before {
|
|
203
203
|
margin-block-end: var(--bottom-offset);
|
|
204
204
|
}
|
|
205
|
-
.OverlineText-module__hop-
|
|
205
|
+
.OverlineText-module__hop-OverlineText__text___Fd-8K::after {
|
|
206
206
|
margin-block-start: var(--top-offset);
|
|
207
207
|
}
|
|
208
208
|
|
|
209
209
|
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/typography/Label/src/Label.module.css/#css-module-data */
|
|
210
|
-
.Label-module__hop-
|
|
210
|
+
.Label-module__hop-Label___pQJk8 {
|
|
211
211
|
--hop-Label-font-size: var(--hop-heading-xs-font-size);
|
|
212
212
|
--hop-Label-font-family: var(--hop-heading-xs-font-family);
|
|
213
213
|
--hop-Label-font-weight: var(--hop-heading-xs-font-weight);
|
|
214
214
|
--hop-Label-line-height: var(--hop-heading-xs-line-height);
|
|
215
215
|
--hop-Label-color: var(--hop-neutral-text-weak);
|
|
216
216
|
}
|
|
217
|
-
:where(.Label-module__hop-
|
|
217
|
+
:where(.Label-module__hop-Label___pQJk8) {
|
|
218
218
|
font-family: var(--hop-Label-font-family);
|
|
219
219
|
font-size: var(--hop-Label-font-size);
|
|
220
220
|
font-weight: var(--hop-Label-font-weight);
|
|
221
221
|
line-height: var(--hop-Label-line-height);
|
|
222
222
|
color: var(--hop-Label-color);
|
|
223
223
|
}
|
|
224
|
-
:where(.Label-module__hop-
|
|
224
|
+
:where(.Label-module__hop-Label__indicator___LHF1G) {
|
|
225
225
|
padding-inline-start: var(--hop-space-20);
|
|
226
226
|
}
|
|
@@ -6,7 +6,7 @@ export { EnsureTextWrapper } from './EnsureTextWrapper.js';
|
|
|
6
6
|
export { isTextOnlyChildren } from './isTextOnlyChildren.js';
|
|
7
7
|
export { Size, SizeAdapter } from './sizeAdapter.js';
|
|
8
8
|
export { SlotProvider, SlotProviderProps } from './SlotProvider.js';
|
|
9
|
-
export { AccessibleSlotProps, Align, BaseComponentDOMProps, DOMProps, FieldSize, InputGroupVariant, InteractionProps, NecessityIndicator, RenderProps, RenderPropsHookOptions, StyleProps, StyleRenderProps } from './types.js';
|
|
9
|
+
export { AccessibleSlotProps, Align, BaseComponentDOMProps, DOMProps, FieldProps, FieldSize, InputGroupVariant, InteractionProps, MenuAlignment, MenuDirection, NecessityIndicator, RenderProps, RenderPropsHookOptions, StyleProps, StyleRenderProps } from './types.js';
|
|
10
10
|
export { useFontFaceReady } from './useFontFaceReady.js';
|
|
11
11
|
export { useIsOverflow } from './useIsOverflow.js';
|
|
12
12
|
export { useRenderProps } from './useRenderProps.js';
|
package/dist/utils/src/index.js
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import '../../chunk-LQICWONC.js';
|
|
2
2
|
import '../../chunk-SNIF7MEM.js';
|
|
3
|
+
export { useScale } from '../../chunk-MTDFS4CZ.js';
|
|
3
4
|
export { useFontFaceReady } from '../../chunk-IU6XMS2X.js';
|
|
4
5
|
export { useTruncatedText } from '../../chunk-Z57VHYOF.js';
|
|
5
|
-
export { useScale } from '../../chunk-MTDFS4CZ.js';
|
|
6
6
|
export { useSlot } from '../../chunk-H5YTU3U7.js';
|
|
7
7
|
export { useIsOverflow } from '../../chunk-EHXOXTDN.js';
|
|
8
8
|
export { isArray, isDefined, isEmptyArray, isFunction, isNil, isNilOrEmpty, isNull, isNumber, isObject, isPlainObject, isPromise, isString, isUndefined } from '../../chunk-TIPN4VYD.js';
|
|
9
|
-
export { EnsureTextWrapper } from '../../chunk-
|
|
9
|
+
export { EnsureTextWrapper } from '../../chunk-ZZPW6TQD.js';
|
|
10
10
|
export { isTextOnlyChildren } from '../../chunk-ZWU6DRRZ.js';
|
|
11
11
|
import '../../chunk-LJXTJRSB.js';
|
|
12
|
-
import '../../chunk-
|
|
13
|
-
import '../../chunk-DQM72KTX.js';
|
|
12
|
+
import '../../chunk-IFHFCK4B.js';
|
|
14
13
|
import '../../chunk-TXZ6BMFR.js';
|
|
14
|
+
import '../../chunk-X5UWK5RL.js';
|
|
15
15
|
import '../../chunk-QCA3ZR56.js';
|
|
16
16
|
import '../../chunk-TFVDF4YH.js';
|
|
17
|
-
import '../../chunk-
|
|
17
|
+
import '../../chunk-AN67K6WK.js';
|
|
18
18
|
import '../../chunk-WPNVVGFW.js';
|
|
19
|
-
import '../../chunk-
|
|
19
|
+
import '../../chunk-QLFK4TDW.js';
|
|
20
20
|
import '../../chunk-X6SER3TZ.js';
|
|
21
21
|
export { ClearContainerSlots, ClearProviders } from '../../chunk-HXI3MEEK.js';
|
|
22
|
-
export { SlotProvider } from '../../chunk-M36KANKC.js';
|
|
23
22
|
export { useRenderProps } from '../../chunk-NH3IVMXB.js';
|
|
24
23
|
export { composeClassnameRenderProps } from '../../chunk-65JPI4FL.js';
|
|
24
|
+
export { SlotProvider } from '../../chunk-M36KANKC.js';
|
|
25
25
|
export { cssModule } from '../../chunk-KVDXQMWI.js';
|
|
26
26
|
import '../../chunk-JSBRDJBE.js';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ResponsiveProp } from '@hopper-ui/styled-system';
|
|
2
|
+
import { DOMProps as DOMProps$1, AriaLabelingProps, ValidationResult } from '@react-types/shared';
|
|
2
3
|
import { CSSProperties, ReactNode } from 'react';
|
|
3
4
|
import { SlotProps } from 'react-aria-components';
|
|
4
5
|
|
|
@@ -82,5 +83,30 @@ type Align = "start" | "end" | "center";
|
|
|
82
83
|
type FieldSize = "sm" | "md";
|
|
83
84
|
type NecessityIndicator = "asterisk" | "label";
|
|
84
85
|
type InputGroupVariant = "borderless" | "bordered";
|
|
86
|
+
type MenuAlignment = "start" | "end";
|
|
87
|
+
type MenuDirection = "top" | "bottom";
|
|
88
|
+
interface FieldProps {
|
|
89
|
+
/**
|
|
90
|
+
* The helper message of the field.
|
|
91
|
+
*/
|
|
92
|
+
description?: ReactNode;
|
|
93
|
+
/**
|
|
94
|
+
* The error message of the field.
|
|
95
|
+
*/
|
|
96
|
+
errorMessage?: ReactNode | ((v: ValidationResult) => ReactNode);
|
|
97
|
+
/**
|
|
98
|
+
* The label of the field.
|
|
99
|
+
*/
|
|
100
|
+
label?: ReactNode;
|
|
101
|
+
/**
|
|
102
|
+
* Whether the required state should be shown as an asterisk or a label, which would display (Optional) on all non required field labels.
|
|
103
|
+
*/
|
|
104
|
+
necessityIndicator?: NecessityIndicator;
|
|
105
|
+
/**
|
|
106
|
+
* A CheckboxGroup can vary in size.
|
|
107
|
+
* @default "md"
|
|
108
|
+
*/
|
|
109
|
+
size?: ResponsiveProp<FieldSize>;
|
|
110
|
+
}
|
|
85
111
|
|
|
86
|
-
export type { AccessibleSlotProps, Align, BaseComponentDOMProps, DOMProps, FieldSize, InputGroupVariant, InteractionProps, NecessityIndicator, RenderProps, RenderPropsHookOptions, StyleProps, StyleRenderProps };
|
|
112
|
+
export type { AccessibleSlotProps, Align, BaseComponentDOMProps, DOMProps, FieldProps, FieldSize, InputGroupVariant, InteractionProps, MenuAlignment, MenuDirection, NecessityIndicator, RenderProps, RenderPropsHookOptions, StyleProps, StyleRenderProps };
|
package/package.json
CHANGED
|
@@ -1,296 +0,0 @@
|
|
|
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-Heading___UmxO5 {
|
|
3
|
-
--hop-Heading-xs-font-size: var(--hop-heading-xs-font-size);
|
|
4
|
-
--hop-Heading-xs-font-family: var(--hop-heading-xs-font-family);
|
|
5
|
-
--hop-Heading-xs-font-weight: var(--hop-heading-xs-font-weight);
|
|
6
|
-
--hop-Heading-xs-line-height: var(--hop-heading-xs-line-height);
|
|
7
|
-
--hop-Heading-sm-font-size: var(--hop-heading-sm-font-size);
|
|
8
|
-
--hop-Heading-sm-font-family: var(--hop-heading-sm-font-family);
|
|
9
|
-
--hop-Heading-sm-font-weight: var(--hop-heading-sm-font-weight);
|
|
10
|
-
--hop-Heading-sm-line-height: var(--hop-heading-sm-line-height);
|
|
11
|
-
--hop-Heading-md-font-size: var(--hop-heading-md-font-size);
|
|
12
|
-
--hop-Heading-md-font-family: var(--hop-heading-md-font-family);
|
|
13
|
-
--hop-Heading-md-font-weight: var(--hop-heading-md-font-weight);
|
|
14
|
-
--hop-Heading-md-line-height: var(--hop-heading-md-line-height);
|
|
15
|
-
--hop-Heading-lg-font-size: var(--hop-heading-lg-font-size);
|
|
16
|
-
--hop-Heading-lg-font-family: var(--hop-heading-lg-font-family);
|
|
17
|
-
--hop-Heading-lg-font-weight: var(--hop-heading-lg-font-weight);
|
|
18
|
-
--hop-Heading-lg-line-height: var(--hop-heading-lg-line-height);
|
|
19
|
-
--hop-Heading-xl-font-size: var(--hop-heading-xl-font-size);
|
|
20
|
-
--hop-Heading-xl-font-family: var(--hop-heading-xl-font-family);
|
|
21
|
-
--hop-Heading-xl-font-weight: var(--hop-heading-xl-font-weight);
|
|
22
|
-
--hop-Heading-xl-line-height: var(--hop-heading-xl-line-height);
|
|
23
|
-
--hop-Heading-2xl-font-size: var(--hop-heading-2xl-font-size);
|
|
24
|
-
--hop-Heading-2xl-font-family: var(--hop-heading-2xl-font-family);
|
|
25
|
-
--hop-Heading-2xl-font-weight: var(--hop-heading-2xl-font-weight);
|
|
26
|
-
--hop-Heading-2xl-line-height: var(--hop-heading-2xl-line-height);
|
|
27
|
-
--hop-Heading-3xl-font-size: var(--hop-heading-3xl-font-size);
|
|
28
|
-
--hop-Heading-3xl-font-family: var(--hop-heading-3xl-font-family);
|
|
29
|
-
--hop-Heading-3xl-font-weight: var(--hop-heading-3xl-font-weight);
|
|
30
|
-
--hop-Heading-3xl-line-height: var(--hop-heading-3xl-line-height);
|
|
31
|
-
--hop-Heading-inherit-size-font-size: inherit;
|
|
32
|
-
--hop-Heading-inherit-size-font-family: inherit;
|
|
33
|
-
--hop-Heading-inherit-size-font-weight: inherit;
|
|
34
|
-
--hop-Heading-inherit-size-line-height: inherit;
|
|
35
|
-
}
|
|
36
|
-
:where(.Heading-module__hop-Heading___UmxO5) {
|
|
37
|
-
margin: 0;
|
|
38
|
-
font-family: var(--font-family);
|
|
39
|
-
font-size: var(--font-size);
|
|
40
|
-
font-weight: var(--font-weight);
|
|
41
|
-
line-height: var(--line-height);
|
|
42
|
-
}
|
|
43
|
-
:where(.Heading-module__hop-Heading--xs___GGGdN) {
|
|
44
|
-
--font-size: var(--hop-Heading-xs-font-size);
|
|
45
|
-
--font-family: var(--hop-Heading-xs-font-family);
|
|
46
|
-
--font-weight: var(--hop-Heading-xs-font-weight);
|
|
47
|
-
--line-height: var(--hop-Heading-xs-line-height);
|
|
48
|
-
}
|
|
49
|
-
:where(.Heading-module__hop-Heading--sm___mnpv-) {
|
|
50
|
-
--font-size: var(--hop-Heading-sm-font-size);
|
|
51
|
-
--font-family: var(--hop-Heading-sm-font-family);
|
|
52
|
-
--font-weight: var(--hop-Heading-sm-font-weight);
|
|
53
|
-
--line-height: var(--hop-Heading-sm-line-height);
|
|
54
|
-
}
|
|
55
|
-
:where(.Heading-module__hop-Heading--md___zeBcq) {
|
|
56
|
-
--font-size: var(--hop-Heading-md-font-size);
|
|
57
|
-
--font-family: var(--hop-Heading-md-font-family);
|
|
58
|
-
--font-weight: var(--hop-Heading-md-font-weight);
|
|
59
|
-
--line-height: var(--hop-Heading-md-line-height);
|
|
60
|
-
}
|
|
61
|
-
:where(.Heading-module__hop-Heading--lg___X1BVp) {
|
|
62
|
-
--font-size: var(--hop-Heading-lg-font-size);
|
|
63
|
-
--font-family: var(--hop-Heading-lg-font-family);
|
|
64
|
-
--font-weight: var(--hop-Heading-lg-font-weight);
|
|
65
|
-
--line-height: var(--hop-Heading-lg-line-height);
|
|
66
|
-
}
|
|
67
|
-
:where(.Heading-module__hop-Heading--xl___OSVsP) {
|
|
68
|
-
--font-size: var(--hop-Heading-xl-font-size);
|
|
69
|
-
--font-family: var(--hop-Heading-xl-font-family);
|
|
70
|
-
--font-weight: var(--hop-Heading-xl-font-weight);
|
|
71
|
-
--line-height: var(--hop-Heading-xl-line-height);
|
|
72
|
-
}
|
|
73
|
-
:where(.Heading-module__hop-Heading--2xl___xsaHB) {
|
|
74
|
-
--font-size: var(--hop-Heading-2xl-font-size);
|
|
75
|
-
--font-family: var(--hop-Heading-2xl-font-family);
|
|
76
|
-
--font-weight: var(--hop-Heading-2xl-font-weight);
|
|
77
|
-
--line-height: var(--hop-Heading-2xl-line-height);
|
|
78
|
-
}
|
|
79
|
-
:where(.Heading-module__hop-Heading--3xl___ucK6p) {
|
|
80
|
-
--font-size: var(--hop-Heading-3xl-font-size);
|
|
81
|
-
--font-family: var(--hop-Heading-3xl-font-family);
|
|
82
|
-
--font-weight: var(--hop-Heading-3xl-font-weight);
|
|
83
|
-
--line-height: var(--hop-Heading-3xl-line-height);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/typography/Text/src/Text.module.css/#css-module-data */
|
|
87
|
-
.Text-module__hop-Text___mj8Fa {
|
|
88
|
-
--hop-Text-xs-font-size: var(--hop-body-xs-font-size);
|
|
89
|
-
--hop-Text-xs-font-family: var(--hop-body-xs-font-family);
|
|
90
|
-
--hop-Text-xs-font-weight: var(--hop-body-xs-font-weight);
|
|
91
|
-
--hop-Text-xs-line-height: var(--hop-body-xs-line-height);
|
|
92
|
-
--hop-Text-sm-font-size: var(--hop-body-sm-font-size);
|
|
93
|
-
--hop-Text-sm-font-family: var(--hop-body-sm-font-family);
|
|
94
|
-
--hop-Text-sm-font-weight: var(--hop-body-sm-font-weight);
|
|
95
|
-
--hop-Text-sm-line-height: var(--hop-body-sm-line-height);
|
|
96
|
-
--hop-Text-md-font-size: var(--hop-body-md-font-size);
|
|
97
|
-
--hop-Text-md-font-family: var(--hop-body-md-font-family);
|
|
98
|
-
--hop-Text-md-font-weight: var(--hop-body-md-font-weight);
|
|
99
|
-
--hop-Text-md-line-height: var(--hop-body-md-line-height);
|
|
100
|
-
--hop-Text-lg-font-size: var(--hop-body-lg-font-size);
|
|
101
|
-
--hop-Text-lg-font-family: var(--hop-body-lg-font-family);
|
|
102
|
-
--hop-Text-lg-font-weight: var(--hop-body-lg-font-weight);
|
|
103
|
-
--hop-Text-lg-line-height: var(--hop-body-lg-line-height);
|
|
104
|
-
--hop-Text-xl-font-size: var(--hop-body-xl-font-size);
|
|
105
|
-
--hop-Text-xl-font-family: var(--hop-body-xl-font-family);
|
|
106
|
-
--hop-Text-xl-font-weight: var(--hop-body-xl-font-weight);
|
|
107
|
-
--hop-Text-xl-line-height: var(--hop-body-xl-line-height);
|
|
108
|
-
--hop-Text-2xl-font-size: var(--hop-body-2xl-font-size);
|
|
109
|
-
--hop-Text-2xl-font-family: var(--hop-body-2xl-font-family);
|
|
110
|
-
--hop-Text-2xl-font-weight: var(--hop-body-2xl-font-weight);
|
|
111
|
-
--hop-Text-2xl-line-height: var(--hop-body-2xl-line-height);
|
|
112
|
-
--hop-Text-inherit-size-font-size: inherit;
|
|
113
|
-
--hop-Text-inherit-size-font-family: inherit;
|
|
114
|
-
--hop-Text-inherit-size-font-weight: inherit;
|
|
115
|
-
--hop-Text-inherit-size-line-height: inherit;
|
|
116
|
-
}
|
|
117
|
-
:where(.Text-module__hop-Text___mj8Fa) {
|
|
118
|
-
font-family: var(--font-family);
|
|
119
|
-
font-size: var(--font-size);
|
|
120
|
-
font-weight: var(--font-weight);
|
|
121
|
-
line-height: var(--line-height);
|
|
122
|
-
}
|
|
123
|
-
:where(.Text-module__hop-Text--xs___Ec0pB) {
|
|
124
|
-
--font-size: var(--hop-Text-xs-font-size);
|
|
125
|
-
--font-family: var(--hop-Text-xs-font-family);
|
|
126
|
-
--font-weight: var(--hop-Text-xs-font-weight);
|
|
127
|
-
--line-height: var(--hop-Text-xs-line-height);
|
|
128
|
-
}
|
|
129
|
-
:where(.Text-module__hop-Text--sm___OEOLg) {
|
|
130
|
-
--font-size: var(--hop-Text-sm-font-size);
|
|
131
|
-
--font-family: var(--hop-Text-sm-font-family);
|
|
132
|
-
--font-weight: var(--hop-Text-sm-font-weight);
|
|
133
|
-
--line-height: var(--hop-Text-sm-line-height);
|
|
134
|
-
}
|
|
135
|
-
:where(.Text-module__hop-Text--md___1w6vw) {
|
|
136
|
-
--font-size: var(--hop-Text-md-font-size);
|
|
137
|
-
--font-family: var(--hop-Text-md-font-family);
|
|
138
|
-
--font-weight: var(--hop-Text-md-font-weight);
|
|
139
|
-
--line-height: var(--hop-Text-md-line-height);
|
|
140
|
-
}
|
|
141
|
-
:where(.Text-module__hop-Text--lg___qmFPQ) {
|
|
142
|
-
--font-size: var(--hop-Text-lg-font-size);
|
|
143
|
-
--font-family: var(--hop-Text-lg-font-family);
|
|
144
|
-
--font-weight: var(--hop-Text-lg-font-weight);
|
|
145
|
-
--line-height: var(--hop-Text-lg-line-height);
|
|
146
|
-
}
|
|
147
|
-
:where(.Text-module__hop-Text--xl___X22md) {
|
|
148
|
-
--font-size: var(--hop-Text-xl-font-size);
|
|
149
|
-
--font-family: var(--hop-Text-xl-font-family);
|
|
150
|
-
--font-weight: var(--hop-Text-xl-font-weight);
|
|
151
|
-
--line-height: var(--hop-Text-xl-line-height);
|
|
152
|
-
}
|
|
153
|
-
:where(.Text-module__hop-Text--2xl___-NFPI) {
|
|
154
|
-
--font-size: var(--hop-Text-2xl-font-size);
|
|
155
|
-
--font-family: var(--hop-Text-2xl-font-family);
|
|
156
|
-
--font-weight: var(--hop-Text-2xl-font-weight);
|
|
157
|
-
--line-height: var(--hop-Text-2xl-line-height);
|
|
158
|
-
}
|
|
159
|
-
:where(.Text-module__hop-Text--inherit___PE67N) {
|
|
160
|
-
--font-size: var(--hop-Text-inherit-size-font-size);
|
|
161
|
-
--font-family: var(--hop-Text-inherit-size-font-family);
|
|
162
|
-
--font-weight: var(--hop-Text-inherit-size-font-weight);
|
|
163
|
-
--line-height: var(--hop-Text-inherit-size-line-height);
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/typography/OverlineText/src/OverlineText.module.css/#css-module-data */
|
|
167
|
-
:where(.OverlineText-module__hop-OverlineText___OggJo) {
|
|
168
|
-
--hop-OverlineText-font-family: var(--hop-overline-font-family);
|
|
169
|
-
--hop-OverlineText-font-size: var(--hop-overline-font-size);
|
|
170
|
-
--hop-OverlineText-font-weight: var(--hop-overline-font-weight);
|
|
171
|
-
--hop-OverlineText-letter-spacing: 0.015rem;
|
|
172
|
-
--hop-OverlineText-line-height: var(--hop-overline-line-height);
|
|
173
|
-
--hop-OverlineText-top-offset: var(--hop-overline-top-offset);
|
|
174
|
-
--hop-OverlineText-bottom-offset: var(--hop-overline-bottom-offset);
|
|
175
|
-
--font-family: var(--hop-OverlineText-font-family);
|
|
176
|
-
--font-size: var(--hop-OverlineText-font-size);
|
|
177
|
-
--font-weight: var(--hop-OverlineText-font-weight);
|
|
178
|
-
--letter-spacing: var(--hop-OverlineText-letter-spacing);
|
|
179
|
-
--line-height: var(--hop-OverlineText-line-height);
|
|
180
|
-
--top-offset: var(--hop-OverlineText-top-offset);
|
|
181
|
-
--bottom-offset: var(--hop-OverlineText-bottom-offset);
|
|
182
|
-
box-sizing: border-box;
|
|
183
|
-
font-family: var(--font-family);
|
|
184
|
-
font-size: var(--font-size);
|
|
185
|
-
font-feature-settings: "case";
|
|
186
|
-
font-weight: var(--font-weight);
|
|
187
|
-
line-height: var(--line-height);
|
|
188
|
-
text-transform: uppercase;
|
|
189
|
-
letter-spacing: var(--letter-spacing);
|
|
190
|
-
}
|
|
191
|
-
.OverlineText-module__hop-OverlineText__text___AvAmr {
|
|
192
|
-
box-sizing: border-box;
|
|
193
|
-
}
|
|
194
|
-
.OverlineText-module__hop-OverlineText__text___AvAmr::before,
|
|
195
|
-
.OverlineText-module__hop-OverlineText__text___AvAmr::after {
|
|
196
|
-
content: "";
|
|
197
|
-
display: block;
|
|
198
|
-
box-sizing: border-box;
|
|
199
|
-
inline-size: 0;
|
|
200
|
-
block-size: 0;
|
|
201
|
-
}
|
|
202
|
-
.OverlineText-module__hop-OverlineText__text___AvAmr::before {
|
|
203
|
-
margin-block-end: var(--bottom-offset);
|
|
204
|
-
}
|
|
205
|
-
.OverlineText-module__hop-OverlineText__text___AvAmr::after {
|
|
206
|
-
margin-block-start: var(--top-offset);
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/typography/Label/src/Label.module.css/#css-module-data */
|
|
210
|
-
.Label-module__hop-Label___gNKtA {
|
|
211
|
-
--hop-Label-font-size: var(--hop-heading-xs-font-size);
|
|
212
|
-
--hop-Label-font-family: var(--hop-heading-xs-font-family);
|
|
213
|
-
--hop-Label-font-weight: var(--hop-heading-xs-font-weight);
|
|
214
|
-
--hop-Label-line-height: var(--hop-heading-xs-line-height);
|
|
215
|
-
--hop-Label-color: var(--hop-neutral-text-weak);
|
|
216
|
-
}
|
|
217
|
-
:where(.Label-module__hop-Label___gNKtA) {
|
|
218
|
-
font-family: var(--hop-Label-font-family);
|
|
219
|
-
font-size: var(--hop-Label-font-size);
|
|
220
|
-
font-weight: var(--hop-Label-font-weight);
|
|
221
|
-
line-height: var(--hop-Label-line-height);
|
|
222
|
-
color: var(--hop-Label-color);
|
|
223
|
-
}
|
|
224
|
-
:where(.Label-module__hop-Label__indicator___DSpzJ) {
|
|
225
|
-
padding-inline-start: var(--hop-space-20);
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/Avatar/src/RichIconAvatarImage.module.css/#css-module-data */
|
|
229
|
-
.RichIconAvatarImage-module__hop-RichIconAvatarImage___hAYuF {
|
|
230
|
-
--hop-RichIconAvatarImage-background-color: var(--hop-decorative-option7-surface);
|
|
231
|
-
--hop-RichIconAvatarImage-border-radius: var(--hop-shape-circle);
|
|
232
|
-
--hop-RichIconAvatarImage-icon-color: var(--hop-decorative-option7-icon);
|
|
233
|
-
--hop-RichIconAvatarImage-xs-size: 1rem;
|
|
234
|
-
--hop-RichIconAvatarImage-icon-xs-size: 1rem;
|
|
235
|
-
--hop-RichIconAvatarImage-sm-size: 1.5rem;
|
|
236
|
-
--hop-RichIconAvatarImage-icon-sm-size: 1.5rem;
|
|
237
|
-
--hop-RichIconAvatarImage-md-size: 2rem;
|
|
238
|
-
--hop-RichIconAvatarImage-icon-md-size: 2rem;
|
|
239
|
-
--hop-RichIconAvatarImage-lg-size: 3rem;
|
|
240
|
-
--hop-RichIconAvatarImage-icon-lg-size: 3rem;
|
|
241
|
-
--hop-RichIconAvatarImage-xl-size: 4rem;
|
|
242
|
-
--hop-RichIconAvatarImage-icon-xl-size: 4rem;
|
|
243
|
-
--hop-RichIconAvatarImage-2xl-size: 6rem;
|
|
244
|
-
--hop-RichIconAvatarImage-icon-2xl-size: 4rem;
|
|
245
|
-
--hop-RichIconAvatarImage-background-color-disabled: var(--hop-neutral-surface-disabled);
|
|
246
|
-
--hop-RichIconAvatarImage-icon-color-disabled: var(--hop-neutral-icon-disabled);
|
|
247
|
-
--background-color: var(--hop-RichIconAvatarImage-background-color);
|
|
248
|
-
user-select: none;
|
|
249
|
-
position: relative;
|
|
250
|
-
overflow: hidden;
|
|
251
|
-
display: flex;
|
|
252
|
-
align-items: center;
|
|
253
|
-
justify-content: center;
|
|
254
|
-
inline-size: var(--size, var(--hop-RichIconAvatarImage-md-size));
|
|
255
|
-
block-size: var(--size, var(--hop-RichIconAvatarImage-md-size));
|
|
256
|
-
color: var(--hop-RichIconAvatarImage-icon-color);
|
|
257
|
-
background-color: var(--background-color);
|
|
258
|
-
border-radius: var(--hop-RichIconAvatarImage-border-radius);
|
|
259
|
-
}
|
|
260
|
-
.RichIconAvatarImage-module__hop-RichIconAvatarImage--xs___SGH0H {
|
|
261
|
-
--size: var(--hop-RichIconAvatarImage-xs-size);
|
|
262
|
-
--icon-size: var(--hop-RichIconAvatarImage-icon-xs-size);
|
|
263
|
-
}
|
|
264
|
-
.RichIconAvatarImage-module__hop-RichIconAvatarImage--sm___HVlXF {
|
|
265
|
-
--size: var(--hop-RichIconAvatarImage-sm-size);
|
|
266
|
-
--icon-size: var(--hop-RichIconAvatarImage-icon-sm-size);
|
|
267
|
-
}
|
|
268
|
-
.RichIconAvatarImage-module__hop-RichIconAvatarImage--md___324Ze {
|
|
269
|
-
--size: var(--hop-RichIconAvatarImage-md-size);
|
|
270
|
-
--icon-size: var(--hop-RichIconAvatarImage-icon-md-size);
|
|
271
|
-
}
|
|
272
|
-
.RichIconAvatarImage-module__hop-RichIconAvatarImage--lg___uuSrr {
|
|
273
|
-
--size: var(--hop-RichIconAvatarImage-lg-size);
|
|
274
|
-
--icon-size: var(--hop-RichIconAvatarImage-icon-lg-size);
|
|
275
|
-
}
|
|
276
|
-
.RichIconAvatarImage-module__hop-RichIconAvatarImage--xl___s0yBN {
|
|
277
|
-
--size: var(--hop-RichIconAvatarImage-xl-size);
|
|
278
|
-
--icon-size: var(--hop-RichIconAvatarImage-icon-xl-size);
|
|
279
|
-
}
|
|
280
|
-
.RichIconAvatarImage-module__hop-RichIconAvatarImage--2xl___LXSLQ {
|
|
281
|
-
--size: var(--hop-RichIconAvatarImage-2xl-size);
|
|
282
|
-
--icon-size: var(--hop-RichIconAvatarImage-icon-2xl-size);
|
|
283
|
-
}
|
|
284
|
-
.RichIconAvatarImage-module__hop-RichIconAvatarImage___hAYuF[data-disabled] {
|
|
285
|
-
--background-color: var(--hop-RichIconAvatarImage-background-color-disabled);
|
|
286
|
-
}
|
|
287
|
-
.RichIconAvatarImage-module__hop-RichIconAvatarImage__icon___SU6JR {
|
|
288
|
-
position: relative;
|
|
289
|
-
display: block;
|
|
290
|
-
inline-size: var(--icon-size, var(--hop-RichIconAvatarImage-icon-md-size));
|
|
291
|
-
block-size: var(--icon-size, var(--hop-RichIconAvatarImage-icon-md-size));
|
|
292
|
-
}
|
|
293
|
-
.RichIconAvatarImage-module__hop-RichIconAvatarImage___hAYuF[data-disabled] .RichIconAvatarImage-module__hop-RichIconAvatarImage__icon___SU6JR {
|
|
294
|
-
--hop-RichIcon-placeholder-background: var(--hop-RichIconAvatarImage-background-color-disabled);
|
|
295
|
-
--hop-RichIcon-placeholder-shadow: var(--hop-RichIconAvatarImage-icon-color-disabled);
|
|
296
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { StyledSystemProps, ResponsiveProp } from '@hopper-ui/styled-system';
|
|
3
|
-
import { ForwardedRef } from 'react';
|
|
4
|
-
import { AccessibleSlotProps, RenderProps } from '../../utils/src/types.js';
|
|
5
|
-
import { AvatarSize } from './Avatar.js';
|
|
6
|
-
import '@react-types/shared';
|
|
7
|
-
import 'react-aria-components';
|
|
8
|
-
import '../../typography/Text/src/Text.js';
|
|
9
|
-
import '../../utils/src/sizeAdapter.js';
|
|
10
|
-
|
|
11
|
-
declare const GlobalAnonymousAvatarCssSelector = "hop-AnonymousAvatar";
|
|
12
|
-
interface AnonymousAvatarRenderProps {
|
|
13
|
-
/**
|
|
14
|
-
* Whether or not the avatar is disabled.
|
|
15
|
-
*/
|
|
16
|
-
isDisabled?: boolean;
|
|
17
|
-
}
|
|
18
|
-
interface AnonymousAvatarProps extends StyledSystemProps, AccessibleSlotProps, Omit<RenderProps<AnonymousAvatarRenderProps>, "children"> {
|
|
19
|
-
/**
|
|
20
|
-
* Whether or not the avatar is disabled.
|
|
21
|
-
*/
|
|
22
|
-
isDisabled?: boolean;
|
|
23
|
-
/**
|
|
24
|
-
* The size of the avatar.
|
|
25
|
-
* * @default "md"
|
|
26
|
-
*/
|
|
27
|
-
size?: ResponsiveProp<AvatarSize>;
|
|
28
|
-
}
|
|
29
|
-
declare function AnonymousAvatar(props: AnonymousAvatarProps, ref: ForwardedRef<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
30
|
-
|
|
31
|
-
export { AnonymousAvatar, type AnonymousAvatarProps, GlobalAnonymousAvatarCssSelector };
|