@hopper-ui/components 1.4.4 → 1.4.6
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/Accordion/src/Accordion.css +68 -68
- package/dist/Accordion/src/Accordion.js +1 -1
- package/dist/Accordion/src/index.css +68 -68
- package/dist/Accordion/src/index.js +1 -1
- package/dist/Avatar/src/AnonymousAvatar.css +38 -38
- package/dist/Avatar/src/AnonymousAvatar.js +2 -2
- package/dist/Avatar/src/Avatar.css +56 -56
- package/dist/Avatar/src/Avatar.js +3 -3
- package/dist/Avatar/src/DeletedAvatar.css +38 -38
- package/dist/Avatar/src/DeletedAvatar.js +2 -2
- package/dist/Avatar/src/RichIconAvatarImage.css +38 -38
- package/dist/Avatar/src/RichIconAvatarImage.js +1 -1
- package/dist/Avatar/src/index.css +56 -56
- package/dist/Avatar/src/index.js +5 -5
- package/dist/Badge/src/Badge.css +43 -43
- package/dist/Badge/src/Badge.js +2 -2
- package/dist/Badge/src/FloatingBadge.css +38 -38
- package/dist/Badge/src/FloatingBadge.js +1 -1
- package/dist/Badge/src/index.css +53 -53
- package/dist/Badge/src/index.js +3 -3
- package/dist/Card/src/Card.css +31 -31
- package/dist/Card/src/Card.js +1 -1
- package/dist/Card/src/index.css +31 -31
- package/dist/Card/src/index.js +1 -1
- package/dist/ComboBox/src/ComboBox.css +594 -564
- package/dist/ComboBox/src/ComboBox.d.ts +11 -5
- package/dist/ComboBox/src/ComboBox.js +18 -18
- package/dist/ComboBox/src/ComboBoxContext.d.ts +2 -2
- package/dist/ComboBox/src/index.css +594 -564
- package/dist/ComboBox/src/index.d.ts +4 -4
- package/dist/ComboBox/src/index.js +18 -18
- package/dist/Disclosure/src/Disclosure.css +38 -38
- package/dist/Disclosure/src/Disclosure.js +1 -1
- package/dist/Disclosure/src/DisclosureHeader.css +45 -45
- package/dist/Disclosure/src/DisclosureHeader.js +7 -7
- package/dist/Disclosure/src/DisclosurePanel.css +38 -38
- package/dist/Disclosure/src/DisclosurePanel.js +7 -7
- package/dist/Disclosure/src/index.css +63 -63
- package/dist/Disclosure/src/index.js +10 -10
- package/dist/Divider/src/Divider.css +30 -30
- package/dist/Divider/src/Divider.js +1 -1
- package/dist/Divider/src/index.css +30 -30
- package/dist/Divider/src/index.js +1 -1
- package/dist/ErrorMessage/src/ErrorMessage.css +30 -30
- package/dist/ErrorMessage/src/ErrorMessage.js +2 -2
- package/dist/ErrorMessage/src/index.css +30 -30
- package/dist/ErrorMessage/src/index.js +2 -2
- package/dist/Form/src/Form.css +28 -28
- package/dist/Form/src/Form.js +1 -1
- package/dist/Form/src/index.css +28 -28
- package/dist/Form/src/index.js +1 -1
- package/dist/HelperMessage/src/HelperMessage.css +30 -30
- package/dist/HelperMessage/src/HelperMessage.js +2 -2
- package/dist/HelperMessage/src/index.css +30 -30
- package/dist/HelperMessage/src/index.js +2 -2
- package/dist/IconList/src/IconList.css +29 -29
- package/dist/IconList/src/IconList.js +1 -1
- package/dist/IconList/src/index.css +29 -29
- package/dist/IconList/src/index.js +1 -1
- package/dist/IllustratedMessage/src/IllustratedMessage.css +269 -269
- package/dist/IllustratedMessage/src/IllustratedMessage.js +2 -2
- package/dist/IllustratedMessage/src/index.css +269 -269
- package/dist/IllustratedMessage/src/index.js +2 -2
- package/dist/Image/src/Image.css +31 -31
- package/dist/Image/src/Image.js +1 -1
- package/dist/Image/src/SvgImage.css +29 -29
- package/dist/Image/src/SvgImage.js +1 -1
- package/dist/Image/src/index.css +32 -32
- package/dist/Image/src/index.js +2 -2
- package/dist/Link/src/Link.css +80 -50
- package/dist/Link/src/Link.d.ts +4 -0
- package/dist/Link/src/Link.js +7 -7
- package/dist/Link/src/index.css +80 -50
- package/dist/Link/src/index.js +7 -7
- package/dist/ListBox/src/ListBox.css +277 -277
- package/dist/ListBox/src/ListBox.js +11 -11
- package/dist/ListBox/src/ListBoxItem.css +265 -265
- package/dist/ListBox/src/ListBoxItem.js +10 -10
- package/dist/ListBox/src/ListBoxItemSkeleton.css +37 -37
- package/dist/ListBox/src/ListBoxItemSkeleton.js +1 -1
- package/dist/ListBox/src/index.css +277 -277
- package/dist/ListBox/src/index.js +11 -11
- package/dist/SegmentedControl/src/SegmentedControl.css +251 -0
- package/dist/SegmentedControl/src/SegmentedControl.d.ts +43 -0
- package/dist/SegmentedControl/src/SegmentedControl.js +5 -0
- package/dist/SegmentedControl/src/SegmentedControlContext.d.ts +18 -0
- package/dist/SegmentedControl/src/SegmentedControlContext.js +2 -0
- package/dist/SegmentedControl/src/SegmentedControlItem.css +344 -0
- package/dist/SegmentedControl/src/SegmentedControlItem.d.ts +31 -0
- package/dist/SegmentedControl/src/SegmentedControlItem.js +19 -0
- package/dist/SegmentedControl/src/SegmentedControlItemContext.d.ts +12 -0
- package/dist/SegmentedControl/src/SegmentedControlItemContext.js +2 -0
- package/dist/SegmentedControl/src/index.css +362 -0
- package/dist/SegmentedControl/src/index.d.ts +7 -0
- package/dist/SegmentedControl/src/index.js +20 -0
- package/dist/Select/src/Select.css +598 -568
- package/dist/Select/src/Select.d.ts +12 -6
- package/dist/Select/src/Select.js +19 -19
- package/dist/Select/src/SelectContext.d.ts +1 -1
- package/dist/Select/src/SelectValue.css +62 -62
- package/dist/Select/src/SelectValue.js +6 -6
- package/dist/Select/src/index.css +598 -568
- package/dist/Select/src/index.d.ts +6 -6
- package/dist/Select/src/index.js +19 -19
- package/dist/Spinner/src/Spinner.css +38 -38
- package/dist/Spinner/src/Spinner.js +2 -2
- package/dist/Spinner/src/index.css +38 -38
- package/dist/Spinner/src/index.js +2 -2
- package/dist/ToggleArrow/src/ToggleArrow.css +30 -30
- package/dist/ToggleArrow/src/ToggleArrow.js +1 -1
- package/dist/ToggleArrow/src/index.css +30 -30
- package/dist/ToggleArrow/src/index.js +1 -1
- package/dist/buttons/src/Button.css +94 -94
- package/dist/buttons/src/Button.js +8 -8
- package/dist/buttons/src/ButtonGroup.css +39 -39
- package/dist/buttons/src/ButtonGroup.js +2 -2
- package/dist/buttons/src/ClearButton.css +99 -99
- package/dist/buttons/src/ClearButton.js +2 -2
- package/dist/buttons/src/EmbeddedButton.css +99 -99
- package/dist/buttons/src/EmbeddedButton.js +1 -1
- package/dist/buttons/src/LinkButton.css +103 -103
- package/dist/buttons/src/LinkButton.js +7 -7
- package/dist/buttons/src/index.css +250 -250
- package/dist/buttons/src/index.js +14 -14
- package/dist/checkbox/src/Checkbox.css +47 -47
- package/dist/checkbox/src/Checkbox.js +7 -7
- package/dist/checkbox/src/CheckboxField.css +34 -34
- package/dist/checkbox/src/CheckboxField.js +3 -3
- package/dist/checkbox/src/CheckboxGroup.css +99 -99
- package/dist/checkbox/src/CheckboxGroup.js +7 -7
- package/dist/checkbox/src/DecorativeCheckbox.css +55 -55
- package/dist/checkbox/src/DecorativeCheckbox.js +7 -7
- package/dist/checkbox/src/index.css +99 -99
- package/dist/checkbox/src/index.js +13 -13
- package/dist/{chunk-Z7MJ7PV5.js → chunk-25APP2V4.js} +1 -1
- package/dist/{chunk-4O66BZ6D.js → chunk-3AB3J5EP.js} +3 -3
- package/dist/{chunk-SN4PLDSN.js → chunk-3HGZNFEQ.js} +1 -1
- package/dist/{chunk-EV6GK7WQ.js → chunk-4PZCXSIJ.js} +3 -3
- package/dist/{chunk-746EWHEN.js → chunk-4WKUWT6B.js} +6 -6
- package/dist/{chunk-CMG4VD5X.js → chunk-56QFPH7A.js} +1 -1
- package/dist/{chunk-BW663SSE.js → chunk-5CW3ZTUM.js} +3 -3
- package/dist/{chunk-ONMGC33C.js → chunk-5DW5MIOP.js} +1 -1
- package/dist/{chunk-SMLTEO45.js → chunk-5OS5HF6G.js} +2 -2
- package/dist/{chunk-Z4NZLU64.js → chunk-67VFL63C.js} +2 -2
- package/dist/{chunk-LT2MDHP5.js → chunk-6I4ZCACA.js} +1 -1
- package/dist/{chunk-KZXK4WRP.js → chunk-73CBNN4K.js} +7 -7
- package/dist/{chunk-M6RD5JHJ.js → chunk-AZBN2SOE.js} +6 -6
- package/dist/{chunk-JPEUJXYD.js → chunk-B22BEVRV.js} +6 -6
- package/dist/{chunk-6ZYGCRKJ.js → chunk-BOOMSDK7.js} +1 -1
- package/dist/{chunk-F4Z6ISDK.js → chunk-BQJA5YLU.js} +4 -4
- package/dist/{chunk-JIMLRXXF.js → chunk-BQZSLU4S.js} +2 -2
- package/dist/{chunk-BJZAXT2F.js → chunk-C67PNOQX.js} +2 -2
- package/dist/{chunk-WLLYP5GR.js → chunk-CPI34H7R.js} +3 -3
- package/dist/{chunk-GJTJWDMN.js → chunk-D4CWHBFC.js} +7 -7
- package/dist/{chunk-2X2LRNYD.js → chunk-DCIGY462.js} +1 -1
- package/dist/{chunk-QLFOYPBD.js → chunk-DW26OLDB.js} +5 -5
- package/dist/{chunk-JFHEC3M5.js → chunk-E74QE424.js} +5 -3
- package/dist/{chunk-N3R475B6.js → chunk-EOES5IUI.js} +1 -1
- package/dist/{chunk-XY7PAHQB.js → chunk-FQHHLFAB.js} +7 -7
- package/dist/{chunk-3AAGPFDH.js → chunk-GK7I65BF.js} +1 -1
- package/dist/{chunk-NFLZWSYR.js → chunk-IFQPPUVZ.js} +14 -10
- package/dist/{chunk-MLNWMBCL.js → chunk-JELBOYLB.js} +1 -1
- package/dist/chunk-JHX5QEIH.js +8 -0
- package/dist/{chunk-6MY6YECS.js → chunk-KUBUEVXB.js} +2 -2
- package/dist/{chunk-PX2R6M5I.js → chunk-LLEWW4UQ.js} +1 -1
- package/dist/{chunk-64BCMHW2.js → chunk-LPKBOHFG.js} +1 -1
- package/dist/{chunk-SBW6CWYN.js → chunk-LUC6XJU7.js} +15 -11
- package/dist/{chunk-CZZBGCIX.js → chunk-LULTNKIP.js} +2 -2
- package/dist/{chunk-WCRASDES.js → chunk-M5Q2CFRQ.js} +1 -1
- package/dist/{chunk-OUY6UXVS.js → chunk-MISFLYHH.js} +2 -2
- package/dist/{chunk-XEUVFD47.js → chunk-NKCDMR4Y.js} +1 -1
- package/dist/{chunk-7Z6WJCG6.js → chunk-O2YRPX5E.js} +2 -2
- package/dist/{chunk-4JBPIRZN.js → chunk-OMGZXRVE.js} +6 -6
- package/dist/{chunk-MLK5TBAR.js → chunk-OT3SSSAN.js} +1 -1
- package/dist/{chunk-AJYF4K7F.js → chunk-OUGECIOS.js} +2 -2
- package/dist/{chunk-TPRZ7BTR.js → chunk-OUTV4GW4.js} +1 -1
- package/dist/{chunk-LU4ZOPNX.js → chunk-P63VMXVG.js} +2 -2
- package/dist/chunk-Q5WT3U7W.js +108 -0
- package/dist/{chunk-5JGCU3OG.js → chunk-QZL7DSHL.js} +3 -3
- package/dist/{chunk-5LDARV3U.js → chunk-RTB477QF.js} +2 -2
- package/dist/{chunk-NCRCC7XA.js → chunk-SC6GOFII.js} +2 -2
- package/dist/{chunk-6ZDC2YFW.js → chunk-SUB3BVYD.js} +1 -1
- package/dist/chunk-TDKQPTN6.js +7 -0
- package/dist/{chunk-R2EYP5QR.js → chunk-ULU4LXYF.js} +7 -7
- package/dist/chunk-VUDALBYV.js +89 -0
- package/dist/{chunk-BUD4Z25C.js → chunk-WN3TGQHF.js} +10 -10
- package/dist/{chunk-X323OHPE.js → chunk-X5H6RCTP.js} +3 -3
- package/dist/{chunk-WYIF7VLQ.js → chunk-X7PEWS4A.js} +1 -1
- package/dist/{chunk-URJ67DGZ.js → chunk-X7QAJPWB.js} +1 -1
- package/dist/{chunk-WFR36XTH.js → chunk-XE6JG2MF.js} +2 -2
- package/dist/{chunk-4XZTEP4Q.js → chunk-XQIEHXUJ.js} +2 -2
- package/dist/{chunk-BORQ3ZAL.js → chunk-YA5VMTPD.js} +2 -2
- package/dist/{chunk-Q5E3TQRF.js → chunk-YAK3UMON.js} +1 -1
- package/dist/{chunk-7KB2OZW3.js → chunk-YKHKR2GB.js} +2 -2
- package/dist/{chunk-5EC2BYL7.js → chunk-ZLWJJVD3.js} +1 -1
- package/dist/{chunk-R2ZIGLJV.js → chunk-ZXHTDMQB.js} +3 -3
- package/dist/index.css +993 -834
- package/dist/index.d.ts +6 -4
- package/dist/index.js +76 -72
- package/dist/inputs/src/InputGroup.css +265 -265
- package/dist/inputs/src/InputGroup.js +1 -1
- package/dist/inputs/src/NumberField.css +287 -287
- package/dist/inputs/src/NumberField.js +10 -10
- package/dist/inputs/src/PasswordField.css +275 -275
- package/dist/inputs/src/PasswordField.js +10 -10
- package/dist/inputs/src/RemainingCharacterCount.css +31 -31
- package/dist/inputs/src/RemainingCharacterCount.js +6 -6
- package/dist/inputs/src/SearchField.css +281 -281
- package/dist/inputs/src/SearchField.js +11 -11
- package/dist/inputs/src/TextArea.css +282 -282
- package/dist/inputs/src/TextArea.js +10 -10
- package/dist/inputs/src/TextField.css +279 -279
- package/dist/inputs/src/TextField.js +14 -14
- package/dist/inputs/src/index.css +325 -325
- package/dist/inputs/src/index.js +21 -21
- package/dist/overlays/Popover/src/Popover.css +574 -544
- package/dist/overlays/Popover/src/Popover.js +7 -7
- package/dist/overlays/Popover/src/index.css +574 -544
- package/dist/overlays/Popover/src/index.js +7 -7
- package/dist/radio/src/DecorativeRadio.css +55 -55
- package/dist/radio/src/DecorativeRadio.js +7 -7
- package/dist/radio/src/Radio.css +47 -47
- package/dist/radio/src/Radio.js +7 -7
- package/dist/radio/src/RadioField.css +34 -34
- package/dist/radio/src/RadioField.js +2 -2
- package/dist/radio/src/RadioGroup.css +99 -99
- package/dist/radio/src/RadioGroup.js +7 -7
- package/dist/radio/src/index.css +99 -99
- package/dist/radio/src/index.js +13 -13
- package/dist/switch/src/Switch.css +44 -44
- package/dist/switch/src/Switch.js +7 -7
- package/dist/switch/src/SwitchField.css +34 -34
- package/dist/switch/src/SwitchField.js +3 -3
- package/dist/switch/src/index.css +50 -50
- package/dist/switch/src/index.js +9 -9
- package/dist/tag/src/Tag.css +391 -391
- package/dist/tag/src/Tag.js +10 -10
- package/dist/tag/src/TagGroup.css +38 -38
- package/dist/tag/src/TagGroup.js +7 -7
- package/dist/tag/src/index.css +401 -401
- package/dist/tag/src/index.js +14 -14
- package/dist/typography/Heading/src/Heading.css +28 -28
- package/dist/typography/Heading/src/Heading.js +1 -1
- package/dist/typography/Heading/src/index.css +28 -28
- package/dist/typography/Heading/src/index.js +1 -1
- package/dist/typography/Label/src/Label.css +28 -28
- package/dist/typography/Label/src/Label.js +2 -2
- package/dist/typography/Label/src/index.css +28 -28
- package/dist/typography/Label/src/index.js +2 -2
- package/dist/typography/OverlineText/src/OverlineText.css +28 -28
- package/dist/typography/OverlineText/src/OverlineText.js +1 -1
- package/dist/typography/OverlineText/src/index.css +28 -28
- package/dist/typography/OverlineText/src/index.js +1 -1
- package/dist/typography/Text/src/Text.css +28 -28
- package/dist/typography/Text/src/Text.js +1 -1
- package/dist/typography/Text/src/index.css +28 -28
- package/dist/typography/Text/src/index.js +1 -1
- package/dist/utils/src/EnsureTextWrapper.css +28 -28
- package/dist/utils/src/EnsureTextWrapper.js +6 -6
- package/dist/utils/src/index.css +28 -28
- package/dist/utils/src/index.js +8 -8
- package/package.json +1 -1
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
export { GlobalListBoxCssSelector, GlobalListBoxEmptyItemCssSelector, _ListBox as ListBox } from '../../chunk-
|
|
1
|
+
export { GlobalListBoxCssSelector, GlobalListBoxEmptyItemCssSelector, _ListBox as ListBox } from '../../chunk-QZL7DSHL.js';
|
|
2
2
|
import '../../chunk-TIPN4VYD.js';
|
|
3
3
|
import '../../chunk-RLDIAT4F.js';
|
|
4
4
|
export { ListBoxContext } from '../../chunk-UIEP5BA5.js';
|
|
5
|
-
export { GlobalListBoxItemCssSelector, _ListBoxItem as ListBoxItem } from '../../chunk-
|
|
6
|
-
import '../../chunk-
|
|
5
|
+
export { GlobalListBoxItemCssSelector, _ListBoxItem as ListBoxItem } from '../../chunk-DW26OLDB.js';
|
|
6
|
+
import '../../chunk-XE6JG2MF.js';
|
|
7
7
|
import '../../chunk-FU5CCPLP.js';
|
|
8
|
-
import '../../chunk-
|
|
8
|
+
import '../../chunk-RTB477QF.js';
|
|
9
9
|
import '../../chunk-2EAZPH3M.js';
|
|
10
10
|
export { ListBoxItemContext } from '../../chunk-Y2POLIXK.js';
|
|
11
|
-
import '../../chunk-
|
|
11
|
+
import '../../chunk-ZLWJJVD3.js';
|
|
12
12
|
import '../../chunk-OKZYR4RF.js';
|
|
13
13
|
import '../../chunk-DHVVYSLB.js';
|
|
14
14
|
import '../../chunk-7JOGKC3W.js';
|
|
15
|
-
import '../../chunk-
|
|
15
|
+
import '../../chunk-YAK3UMON.js';
|
|
16
16
|
import '../../chunk-ZWU6DRRZ.js';
|
|
17
17
|
import '../../chunk-DBIN32YS.js';
|
|
18
|
-
import '../../chunk-
|
|
19
|
-
import '../../chunk-
|
|
18
|
+
import '../../chunk-56QFPH7A.js';
|
|
19
|
+
import '../../chunk-C67PNOQX.js';
|
|
20
20
|
import '../../chunk-QCA3ZR56.js';
|
|
21
21
|
import '../../chunk-TFVDF4YH.js';
|
|
22
22
|
import '../../chunk-TXZ6BMFR.js';
|
|
23
|
-
import '../../chunk-
|
|
23
|
+
import '../../chunk-M5Q2CFRQ.js';
|
|
24
24
|
import '../../chunk-Q7NXUUB3.js';
|
|
25
|
-
import '../../chunk-
|
|
25
|
+
import '../../chunk-JELBOYLB.js';
|
|
26
26
|
import '../../chunk-WPNVVGFW.js';
|
|
27
27
|
import '../../chunk-CQDLZ42T.js';
|
|
28
|
-
import '../../chunk-
|
|
28
|
+
import '../../chunk-BOOMSDK7.js';
|
|
29
29
|
import '../../chunk-X6SER3TZ.js';
|
|
30
30
|
import '../../chunk-HXI3MEEK.js';
|
|
31
31
|
import '../../chunk-NH3IVMXB.js';
|
|
@@ -0,0 +1,251 @@
|
|
|
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___6rgZ- {
|
|
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___6rgZ-) {
|
|
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___CU9xu) {
|
|
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___exgBk) {
|
|
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___rcL9t) {
|
|
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___DYMzj) {
|
|
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___Hna8N) {
|
|
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___1s5HE) {
|
|
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___Rxofk) {
|
|
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___QOekS {
|
|
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___QOekS) {
|
|
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___dC-dY) {
|
|
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___Cc616) {
|
|
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___-Cnfu) {
|
|
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___42oYt) {
|
|
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___NuxkX) {
|
|
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___edbgN) {
|
|
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___ipzBl) {
|
|
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___XmSxB) {
|
|
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___VSfku {
|
|
192
|
+
box-sizing: border-box;
|
|
193
|
+
}
|
|
194
|
+
.OverlineText-module__hop-OverlineText__text___VSfku::before,
|
|
195
|
+
.OverlineText-module__hop-OverlineText__text___VSfku::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___VSfku::before {
|
|
203
|
+
margin-block-end: var(--bottom-offset);
|
|
204
|
+
}
|
|
205
|
+
.OverlineText-module__hop-OverlineText__text___VSfku::after {
|
|
206
|
+
margin-block-start: var(--top-offset);
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/Form/src/Form.module.css/#css-module-data */
|
|
210
|
+
.Form-module__hop-Form___Z7zNm {
|
|
211
|
+
display: flex;
|
|
212
|
+
flex-direction: column;
|
|
213
|
+
gap: var(--hop-space-stack-lg);
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/typography/Label/src/Label.module.css/#css-module-data */
|
|
217
|
+
.Label-module__hop-Label___hi6n3 {
|
|
218
|
+
--hop-Label-font-size: var(--hop-heading-xs-font-size);
|
|
219
|
+
--hop-Label-font-family: var(--hop-heading-xs-font-family);
|
|
220
|
+
--hop-Label-font-weight: var(--hop-heading-xs-font-weight);
|
|
221
|
+
--hop-Label-line-height: var(--hop-heading-xs-line-height);
|
|
222
|
+
--hop-Label-color: var(--hop-neutral-text-weak);
|
|
223
|
+
}
|
|
224
|
+
:where(.Label-module__hop-Label___hi6n3) {
|
|
225
|
+
font-family: var(--hop-Label-font-family);
|
|
226
|
+
font-size: var(--hop-Label-font-size);
|
|
227
|
+
font-weight: var(--hop-Label-font-weight);
|
|
228
|
+
line-height: var(--hop-Label-line-height);
|
|
229
|
+
color: var(--hop-Label-color);
|
|
230
|
+
}
|
|
231
|
+
:where(.Label-module__hop-Label__indicator___dmiaC) {
|
|
232
|
+
padding-inline-start: var(--hop-space-20);
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/SegmentedControl/src/SegmentedControl.module.css/#css-module-data */
|
|
236
|
+
.SegmentedControl-module__hop-SegmentedControl___irevx {
|
|
237
|
+
--hop-SegmentedControl-gap: var(--hop-space-inline-xs);
|
|
238
|
+
--hop-SegmentedControl-padding: var(--hop-space-inset-xs);
|
|
239
|
+
--hop-SegmentedControl-width: fit-content;
|
|
240
|
+
--hop-SegmentedControl-background: var(--hop-neutral-surface);
|
|
241
|
+
--hop-SegmentedControl-border: 0.0625rem solid var(--hop-neutral-border);
|
|
242
|
+
--hop-SegmentedControl-border-radius: var(--hop-shape-rounded-md);
|
|
243
|
+
--hop-SegmentedControl-display: flex;
|
|
244
|
+
display: var(--hop-SegmentedControl-display);
|
|
245
|
+
gap: var(--hop-SegmentedControl-gap);
|
|
246
|
+
inline-size: var(--hop-SegmentedControl-width);
|
|
247
|
+
padding: var(--hop-SegmentedControl-padding);
|
|
248
|
+
background: var(--hop-SegmentedControl-background);
|
|
249
|
+
border: var(--hop-SegmentedControl-border);
|
|
250
|
+
border-radius: var(--hop-SegmentedControl-border-radius);
|
|
251
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { StyledComponentProps, ResponsiveProp } from '@hopper-ui/styled-system';
|
|
3
|
+
import { Key } from 'react-aria-components';
|
|
4
|
+
import { BaseComponentDOMProps } from '../../utils/src/types.js';
|
|
5
|
+
import { SegmentedControlItemSize } from './SegmentedControlItem.js';
|
|
6
|
+
import '@react-types/shared';
|
|
7
|
+
|
|
8
|
+
declare const GlobalSegmentedControlCssSelector = "hop-SegmentedControl";
|
|
9
|
+
interface SegmentedControlProps extends StyledComponentProps<BaseComponentDOMProps> {
|
|
10
|
+
/**
|
|
11
|
+
* Whether the segmented control is disabled.
|
|
12
|
+
*/
|
|
13
|
+
isDisabled?: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Whether the items should divide the container width equally.
|
|
16
|
+
*/
|
|
17
|
+
isJustified?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* The id of the currently selected item (controlled).
|
|
20
|
+
*/
|
|
21
|
+
selectedKey?: Key;
|
|
22
|
+
/**
|
|
23
|
+
* The id of the initial selected item (uncontrolled).
|
|
24
|
+
*/
|
|
25
|
+
defaultSelectedKey?: Key;
|
|
26
|
+
/**
|
|
27
|
+
* Handler that is called when the selection changes.
|
|
28
|
+
*/
|
|
29
|
+
onSelectionChange?: (id: Key) => void;
|
|
30
|
+
/**
|
|
31
|
+
* The size of the controls.
|
|
32
|
+
* * @default "sm"
|
|
33
|
+
*/
|
|
34
|
+
size?: ResponsiveProp<SegmentedControlItemSize>;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Segmented control displays multiple contextually or conceptually related action or option stacked in a horizontal row.
|
|
38
|
+
*
|
|
39
|
+
* [View Documentation](https://hopper.workleap.design/components/SegmentedControl)
|
|
40
|
+
*/
|
|
41
|
+
declare const _SegmentedControl: react.ForwardRefExoticComponent<SegmentedControlProps & react.RefAttributes<HTMLDivElement>>;
|
|
42
|
+
|
|
43
|
+
export { GlobalSegmentedControlCssSelector, _SegmentedControl as SegmentedControl, type SegmentedControlProps };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { MutableRefObject, RefObject } from 'react';
|
|
3
|
+
import { ContextValue } from 'react-aria-components';
|
|
4
|
+
import { SegmentedControlProps } from './SegmentedControl.js';
|
|
5
|
+
import '@hopper-ui/styled-system';
|
|
6
|
+
import '../../utils/src/types.js';
|
|
7
|
+
import '@react-types/shared';
|
|
8
|
+
import './SegmentedControlItem.js';
|
|
9
|
+
|
|
10
|
+
declare const SegmentedControlContext: react.Context<ContextValue<SegmentedControlProps, HTMLDivElement>>;
|
|
11
|
+
interface InternalSegmentedControlContextProps {
|
|
12
|
+
prevRef?: MutableRefObject<DOMRect | null>;
|
|
13
|
+
currentSelectedRef?: RefObject<HTMLDivElement | null>;
|
|
14
|
+
isJustified?: boolean;
|
|
15
|
+
}
|
|
16
|
+
declare const InternalSegmentedControlContext: react.Context<InternalSegmentedControlContextProps>;
|
|
17
|
+
|
|
18
|
+
export { InternalSegmentedControlContext, SegmentedControlContext };
|