@hopper-ui/components 1.3.14 → 1.3.16
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 +15 -0
- package/dist/Avatar/src/AnonymousAvatar.css +37 -37
- package/dist/Avatar/src/AnonymousAvatar.js +2 -2
- package/dist/Avatar/src/Avatar.css +55 -55
- package/dist/Avatar/src/Avatar.d.ts +2 -2
- package/dist/Avatar/src/Avatar.js +3 -3
- package/dist/Avatar/src/DeletedAvatar.css +37 -37
- package/dist/Avatar/src/DeletedAvatar.js +2 -2
- package/dist/Avatar/src/RichIconAvatarImage.css +37 -37
- package/dist/Avatar/src/RichIconAvatarImage.js +1 -1
- package/dist/Avatar/src/index.css +55 -55
- package/dist/Avatar/src/index.js +5 -5
- package/dist/Badge/src/Badge.css +42 -42
- package/dist/Badge/src/Badge.d.ts +3 -2
- package/dist/Badge/src/Badge.js +2 -2
- package/dist/Badge/src/FloatingBadge.css +37 -37
- package/dist/Badge/src/FloatingBadge.js +1 -1
- package/dist/Badge/src/index.css +52 -52
- package/dist/Badge/src/index.d.ts +1 -1
- package/dist/Badge/src/index.js +3 -3
- package/dist/ClearButton-DTR1qTbm.d.ts +84 -0
- package/dist/ComboBox/src/ComboBox.css +731 -726
- package/dist/ComboBox/src/ComboBox.d.ts +5 -6
- package/dist/ComboBox/src/ComboBox.js +45 -45
- package/dist/ComboBox/src/index.css +731 -726
- package/dist/ComboBox/src/index.d.ts +1 -1
- package/dist/ComboBox/src/index.js +45 -45
- package/dist/Divider/src/Divider.css +29 -29
- package/dist/Divider/src/Divider.js +1 -1
- package/dist/Divider/src/index.css +29 -29
- package/dist/Divider/src/index.js +1 -1
- package/dist/ErrorMessage/src/ErrorMessage.css +29 -29
- package/dist/ErrorMessage/src/ErrorMessage.js +2 -2
- package/dist/ErrorMessage/src/index.css +29 -29
- package/dist/ErrorMessage/src/index.js +2 -2
- package/dist/Form/src/Form.css +731 -726
- package/dist/Form/src/Form.d.ts +4 -2
- package/dist/Form/src/Form.js +45 -45
- package/dist/Form/src/FormContext.d.ts +2 -0
- package/dist/Form/src/index.css +731 -726
- package/dist/Form/src/index.d.ts +2 -0
- package/dist/Form/src/index.js +45 -45
- 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.d.ts +2 -1
- package/dist/IconList/src/IconList.js +1 -1
- package/dist/IconList/src/IconListContext.d.ts +1 -0
- package/dist/IconList/src/index.css +28 -28
- package/dist/IconList/src/index.d.ts +1 -0
- package/dist/IconList/src/index.js +1 -1
- package/dist/Link/src/Link.css +49 -49
- package/dist/Link/src/Link.d.ts +5 -3
- package/dist/Link/src/Link.js +6 -6
- package/dist/Link/src/index.css +49 -49
- package/dist/Link/src/index.d.ts +1 -1
- package/dist/Link/src/index.js +6 -6
- package/dist/ListBox/src/ListBox.css +274 -274
- package/dist/ListBox/src/ListBox.d.ts +2 -2
- package/dist/ListBox/src/ListBox.js +10 -10
- package/dist/ListBox/src/ListBoxItem.css +262 -262
- package/dist/ListBox/src/ListBoxItem.d.ts +3 -2
- package/dist/ListBox/src/ListBoxItem.js +9 -9
- package/dist/ListBox/src/ListBoxItemSkeleton.css +34 -34
- package/dist/ListBox/src/ListBoxItemSkeleton.d.ts +7 -2
- package/dist/ListBox/src/ListBoxItemSkeleton.js +1 -1
- package/dist/ListBox/src/ListBoxItemSkeletonContext.d.ts +6 -0
- package/dist/ListBox/src/index.css +274 -274
- package/dist/ListBox/src/index.d.ts +1 -1
- package/dist/ListBox/src/index.js +10 -10
- package/dist/Select/src/Select.css +731 -726
- package/dist/Select/src/Select.d.ts +5 -6
- package/dist/Select/src/Select.js +45 -45
- package/dist/Select/src/SelectValue.css +61 -61
- package/dist/Select/src/SelectValue.d.ts +2 -12
- package/dist/Select/src/SelectValue.js +5 -5
- package/dist/Select/src/index.css +731 -726
- package/dist/Select/src/index.d.ts +1 -1
- package/dist/Select/src/index.js +45 -45
- package/dist/Spinner/src/Spinner.css +37 -37
- package/dist/Spinner/src/Spinner.d.ts +3 -2
- package/dist/Spinner/src/Spinner.js +2 -2
- package/dist/Spinner/src/index.css +37 -37
- package/dist/Spinner/src/index.d.ts +1 -1
- package/dist/Spinner/src/index.js +2 -2
- package/dist/buttons/src/Button.css +128 -123
- package/dist/buttons/src/Button.d.ts +5 -3
- package/dist/buttons/src/Button.js +7 -7
- package/dist/buttons/src/ButtonGroup.css +40 -40
- package/dist/buttons/src/ButtonGroup.d.ts +7 -2
- package/dist/buttons/src/ButtonGroup.js +1 -1
- package/dist/buttons/src/ButtonGroupContext.d.ts +4 -0
- package/dist/buttons/src/ClearButton.css +98 -98
- package/dist/buttons/src/ClearButton.d.ts +5 -14
- package/dist/buttons/src/ClearButton.js +2 -2
- package/dist/buttons/src/ClearButtonContext.d.ts +4 -2
- package/dist/buttons/src/EmbeddedButton.css +98 -98
- package/dist/buttons/src/EmbeddedButton.d.ts +7 -33
- package/dist/buttons/src/EmbeddedButton.js +1 -1
- package/dist/buttons/src/EmbeddedButtonContext.d.ts +4 -1
- package/dist/buttons/src/index.css +212 -207
- package/dist/buttons/src/index.d.ts +2 -3
- package/dist/buttons/src/index.js +10 -10
- package/dist/checkbox/src/Checkbox.css +46 -46
- package/dist/checkbox/src/Checkbox.d.ts +3 -1
- package/dist/checkbox/src/Checkbox.js +6 -6
- package/dist/checkbox/src/CheckboxContext.d.ts +2 -0
- package/dist/checkbox/src/CheckboxField.css +33 -33
- package/dist/checkbox/src/CheckboxField.d.ts +2 -2
- package/dist/checkbox/src/CheckboxField.js +1 -1
- package/dist/checkbox/src/CheckboxGroup.css +98 -98
- package/dist/checkbox/src/CheckboxGroup.d.ts +7 -4
- package/dist/checkbox/src/CheckboxGroup.js +1 -1
- package/dist/checkbox/src/CheckboxGroupContext.d.ts +3 -0
- package/dist/checkbox/src/DecorativeCheckbox.css +54 -54
- package/dist/checkbox/src/DecorativeCheckbox.js +6 -6
- package/dist/checkbox/src/index.css +98 -98
- package/dist/checkbox/src/index.d.ts +1 -0
- package/dist/checkbox/src/index.js +9 -9
- package/dist/{chunk-RUZ3J43X.js → chunk-2HFFANGL.js} +7 -7
- package/dist/{chunk-CUPCOAXZ.js → chunk-2PPQY3B2.js} +1 -1
- package/dist/{chunk-YYFZDZXJ.js → chunk-3HPUMEF6.js} +1 -1
- package/dist/{chunk-ZPLEEUPC.js → chunk-3RRF33G3.js} +5 -5
- package/dist/{chunk-R2EN2OFJ.js → chunk-43D3MCMN.js} +2 -2
- package/dist/{chunk-A4UHNZBX.js → chunk-4YPVPNN3.js} +1 -1
- package/dist/{chunk-6DYXXDY4.js → chunk-532EGRYD.js} +3 -3
- package/dist/{chunk-F6P4WIKS.js → chunk-5TLUX4FA.js} +2 -2
- package/dist/{chunk-A265GCLA.js → chunk-7A6CYDDX.js} +2 -2
- package/dist/{chunk-LFFRDNDM.js → chunk-7C76VW2S.js} +2 -2
- package/dist/{chunk-BWMRLYXD.js → chunk-AAMYSAT4.js} +3 -3
- package/dist/{chunk-DN63JAPT.js → chunk-ARZVBUNR.js} +1 -1
- package/dist/{chunk-JZAWRJFA.js → chunk-AUEHFPNX.js} +1 -1
- package/dist/{chunk-JB3N2PYV.js → chunk-BK4B5TOE.js} +1 -1
- package/dist/{chunk-VVVDQWQ3.js → chunk-BMNXD345.js} +3 -3
- package/dist/{chunk-PCOOOVLE.js → chunk-BOFZY7AG.js} +2 -2
- package/dist/{chunk-SG2POHLX.js → chunk-BWBS4H3T.js} +5 -5
- package/dist/{chunk-USP2ITRL.js → chunk-BZZ3R77M.js} +1 -1
- package/dist/{chunk-PWJCO32L.js → chunk-CKPFSDF5.js} +1 -1
- package/dist/{chunk-26L2JI5Z.js → chunk-CQQWAC7P.js} +2 -2
- package/dist/{chunk-DFKPVOQ4.js → chunk-D3ATZADP.js} +1 -1
- package/dist/{chunk-2D2QW2TN.js → chunk-E3ZVVZI2.js} +3 -3
- package/dist/{chunk-BA265NQT.js → chunk-GFAHOC2Y.js} +4 -4
- package/dist/{chunk-FXHZXIPR.js → chunk-GLAJGJ5L.js} +2 -2
- package/dist/{chunk-XGS34BBU.js → chunk-HG4WPVDQ.js} +3 -3
- package/dist/{chunk-K2DSUPKO.js → chunk-JMBLHNVE.js} +1 -1
- package/dist/{chunk-5TL2U37O.js → chunk-KBDTTZPD.js} +2 -2
- package/dist/{chunk-MLLUZ55T.js → chunk-KGMX2K4Z.js} +1 -1
- package/dist/{chunk-4DLUFECD.js → chunk-LNMXRJGJ.js} +1 -1
- package/dist/{chunk-X57PKGPX.js → chunk-LZNVIB4Q.js} +2 -2
- package/dist/{chunk-DWVXSSVC.js → chunk-MGHBK4XX.js} +2 -2
- package/dist/{chunk-I3B3G6N4.js → chunk-NCOVEXXO.js} +1 -1
- package/dist/{chunk-PQR2DVBK.js → chunk-PBFGUMTY.js} +1 -1
- package/dist/{chunk-JHP7LA2B.js → chunk-PXMJ2JSP.js} +1 -1
- package/dist/{chunk-4W7GPP6I.js → chunk-RERNNMNX.js} +1 -1
- package/dist/{chunk-FRVE3N27.js → chunk-RLNCYCEL.js} +1 -1
- package/dist/{chunk-KFXDFFLE.js → chunk-SOS2KEKX.js} +2 -2
- package/dist/{chunk-MDIVABWE.js → chunk-T2DMBK3U.js} +1 -1
- package/dist/{chunk-GUHMGBDJ.js → chunk-TIT2RZMI.js} +1 -1
- package/dist/{chunk-P2OSN32C.js → chunk-TU4QEQE4.js} +1 -1
- package/dist/{chunk-5C2HFY65.js → chunk-V2Z4BWEP.js} +8 -8
- package/dist/{chunk-AA6XHAZJ.js → chunk-XH5AZHD6.js} +3 -3
- package/dist/{chunk-TH46DMKQ.js → chunk-YGEQT76S.js} +2 -2
- package/dist/{chunk-6XBPJOFU.js → chunk-ZCP2AXPD.js} +1 -1
- package/dist/{chunk-RXMCGKWB.js → chunk-ZJND7BQD.js} +3 -3
- package/dist/index.css +731 -726
- package/dist/index.d.ts +15 -17
- package/dist/index.js +45 -45
- package/dist/inputs/src/InputGroup.css +227 -222
- package/dist/inputs/src/InputGroup.d.ts +6 -3
- package/dist/inputs/src/InputGroup.js +1 -1
- package/dist/inputs/src/InputGroupContext.d.ts +2 -0
- package/dist/inputs/src/NumberField.css +249 -244
- package/dist/inputs/src/NumberField.d.ts +4 -2
- package/dist/inputs/src/NumberField.js +7 -7
- package/dist/inputs/src/NumberFieldContext.d.ts +2 -0
- package/dist/inputs/src/PasswordField.css +237 -232
- package/dist/inputs/src/PasswordField.d.ts +6 -3
- package/dist/inputs/src/PasswordField.js +7 -7
- package/dist/inputs/src/PasswordFieldContext.d.ts +4 -1
- package/dist/inputs/src/RemainingCharacterCount.css +30 -30
- package/dist/inputs/src/RemainingCharacterCount.js +5 -5
- package/dist/inputs/src/SearchField.css +243 -238
- package/dist/inputs/src/SearchField.d.ts +6 -4
- package/dist/inputs/src/SearchField.js +8 -8
- package/dist/inputs/src/SearchFieldContext.d.ts +4 -2
- package/dist/inputs/src/TextArea.css +244 -239
- package/dist/inputs/src/TextArea.d.ts +3 -3
- package/dist/inputs/src/TextArea.js +7 -7
- package/dist/inputs/src/TextAreaContext.d.ts +2 -2
- package/dist/inputs/src/TextField.css +241 -236
- package/dist/inputs/src/TextField.d.ts +3 -3
- package/dist/inputs/src/TextField.js +10 -10
- package/dist/inputs/src/TextFieldContext.d.ts +2 -2
- package/dist/inputs/src/index.css +287 -282
- package/dist/inputs/src/index.d.ts +3 -3
- package/dist/inputs/src/index.js +14 -14
- package/dist/overlays/Popover/src/Popover.css +731 -726
- package/dist/overlays/Popover/src/Popover.d.ts +3 -5
- package/dist/overlays/Popover/src/Popover.js +45 -45
- package/dist/overlays/Popover/src/index.css +731 -726
- package/dist/overlays/Popover/src/index.d.ts +1 -1
- package/dist/overlays/Popover/src/index.js +45 -45
- package/dist/radio/src/DecorativeRadio.css +54 -54
- package/dist/radio/src/DecorativeRadio.js +6 -6
- package/dist/radio/src/Radio.css +46 -46
- package/dist/radio/src/Radio.d.ts +3 -1
- package/dist/radio/src/Radio.js +6 -6
- package/dist/radio/src/RadioContext.d.ts +2 -0
- package/dist/radio/src/RadioField.css +33 -33
- package/dist/radio/src/RadioField.d.ts +2 -2
- package/dist/radio/src/RadioField.js +1 -1
- package/dist/radio/src/RadioGroup.css +98 -98
- package/dist/radio/src/RadioGroup.d.ts +7 -4
- package/dist/radio/src/RadioGroup.js +1 -1
- package/dist/radio/src/RadioGroupContext.d.ts +3 -0
- package/dist/radio/src/index.css +98 -98
- package/dist/radio/src/index.d.ts +1 -0
- package/dist/radio/src/index.js +9 -9
- package/dist/switch/src/Switch.css +43 -43
- package/dist/switch/src/Switch.d.ts +3 -1
- package/dist/switch/src/Switch.js +6 -6
- package/dist/switch/src/SwitchContext.d.ts +2 -0
- package/dist/switch/src/SwitchField.css +33 -33
- package/dist/switch/src/SwitchField.d.ts +2 -2
- package/dist/switch/src/SwitchField.js +1 -1
- package/dist/switch/src/index.css +49 -49
- package/dist/switch/src/index.js +7 -7
- package/dist/tag/src/Tag.css +353 -348
- package/dist/tag/src/Tag.d.ts +5 -44
- package/dist/tag/src/Tag.js +9 -9
- package/dist/tag/src/TagContext.d.ts +1 -3
- package/dist/tag/src/TagGroup.css +37 -37
- package/dist/tag/src/TagGroup.d.ts +7 -3
- package/dist/tag/src/TagGroup.js +1 -1
- package/dist/tag/src/TagGroupContext.d.ts +4 -0
- package/dist/tag/src/TagList.css +27 -27
- package/dist/tag/src/index.css +363 -358
- package/dist/tag/src/index.d.ts +1 -3
- package/dist/tag/src/index.js +10 -10
- package/dist/typography/Heading/src/Heading.css +27 -27
- package/dist/typography/Heading/src/Heading.d.ts +3 -2
- package/dist/typography/Heading/src/Heading.js +1 -1
- package/dist/typography/Heading/src/index.css +27 -27
- package/dist/typography/Heading/src/index.d.ts +1 -1
- package/dist/typography/Heading/src/index.js +1 -1
- package/dist/typography/Label/src/Label.css +27 -27
- package/dist/typography/Label/src/Label.d.ts +3 -1
- package/dist/typography/Label/src/Label.js +1 -1
- package/dist/typography/Label/src/LabelContext.d.ts +2 -0
- package/dist/typography/Label/src/index.css +27 -27
- package/dist/typography/Label/src/index.d.ts +2 -0
- 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.d.ts +3 -2
- package/dist/typography/Text/src/Text.js +1 -1
- package/dist/typography/Text/src/index.css +27 -27
- package/dist/typography/Text/src/index.d.ts +1 -1
- 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 +5 -5
- package/dist/utils/src/types.d.ts +5 -1
- package/package.json +4 -3
|
@@ -6,17 +6,19 @@ import { SpinnerProps } from '../../Spinner/src/Spinner.js';
|
|
|
6
6
|
import '../../utils/src/types.js';
|
|
7
7
|
|
|
8
8
|
declare const GlobalButtonCssSelector = "hop-Button";
|
|
9
|
+
type ButtonVariant = "primary" | "secondary" | "danger" | "upsell" | "ghost-primary" | "ghost-secondary" | "ghost-danger";
|
|
10
|
+
type ButtonSize = "sm" | "md";
|
|
9
11
|
interface ButtonProps extends StyledComponentProps<ButtonProps$1> {
|
|
10
12
|
/**
|
|
11
13
|
* The visual style of the button.
|
|
12
14
|
* @default "primary"
|
|
13
15
|
*/
|
|
14
|
-
variant?:
|
|
16
|
+
variant?: ButtonVariant;
|
|
15
17
|
/**
|
|
16
18
|
* A button can vary in size.
|
|
17
19
|
* @default "md"
|
|
18
20
|
*/
|
|
19
|
-
size?: ResponsiveProp<
|
|
21
|
+
size?: ResponsiveProp<ButtonSize>;
|
|
20
22
|
/**
|
|
21
23
|
* Whether or not the button takes up the width of its container.
|
|
22
24
|
*/
|
|
@@ -41,4 +43,4 @@ interface ButtonProps extends StyledComponentProps<ButtonProps$1> {
|
|
|
41
43
|
*/
|
|
42
44
|
declare const _Button: react.ForwardRefExoticComponent<ButtonProps & react.RefAttributes<HTMLElement>>;
|
|
43
45
|
|
|
44
|
-
export { _Button as Button, type ButtonProps, GlobalButtonCssSelector };
|
|
46
|
+
export { _Button as Button, type ButtonProps, type ButtonSize, type ButtonVariant, GlobalButtonCssSelector };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
export { _Button as Button, GlobalButtonCssSelector } from '../../chunk-
|
|
1
|
+
export { _Button as Button, GlobalButtonCssSelector } from '../../chunk-ZJND7BQD.js';
|
|
2
2
|
import '../../chunk-H5YTU3U7.js';
|
|
3
3
|
import '../../chunk-WMTWFKKP.js';
|
|
4
|
-
import '../../chunk-
|
|
4
|
+
import '../../chunk-43D3MCMN.js';
|
|
5
5
|
import '../../chunk-4ZYV2XLW.js';
|
|
6
|
-
import '../../chunk-
|
|
6
|
+
import '../../chunk-TU4QEQE4.js';
|
|
7
7
|
import '../../chunk-ZWU6DRRZ.js';
|
|
8
8
|
import '../../chunk-LJXTJRSB.js';
|
|
9
|
-
import '../../chunk-
|
|
10
|
-
import '../../chunk-
|
|
9
|
+
import '../../chunk-CKPFSDF5.js';
|
|
10
|
+
import '../../chunk-NCOVEXXO.js';
|
|
11
11
|
import '../../chunk-TXZ6BMFR.js';
|
|
12
12
|
import '../../chunk-QCA3ZR56.js';
|
|
13
13
|
import '../../chunk-TFVDF4YH.js';
|
|
14
14
|
import '../../chunk-DHVVYSLB.js';
|
|
15
|
-
import '../../chunk-
|
|
15
|
+
import '../../chunk-AUEHFPNX.js';
|
|
16
16
|
import '../../chunk-WPNVVGFW.js';
|
|
17
|
-
import '../../chunk-
|
|
17
|
+
import '../../chunk-KGMX2K4Z.js';
|
|
18
18
|
import '../../chunk-X6SER3TZ.js';
|
|
19
19
|
import '../../chunk-HXI3MEEK.js';
|
|
20
20
|
import '../../chunk-NH3IVMXB.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/typography/Heading/src/Heading.module.css/#css-module-data */
|
|
2
|
-
.Heading-module__hop-
|
|
2
|
+
.Heading-module__hop-Heading___xZw9W {
|
|
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___xZw9W) {
|
|
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___0mH4P) {
|
|
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___zuPx1) {
|
|
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___dMnqg) {
|
|
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___VBwKM) {
|
|
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___rNXkV) {
|
|
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___R1-Y8) {
|
|
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___gmnf3) {
|
|
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___7-tYM {
|
|
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___7-tYM) {
|
|
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___HbFAZ) {
|
|
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___tYwpG) {
|
|
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___kRzjz) {
|
|
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___-9lHi) {
|
|
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___7-Sot) {
|
|
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___9rIz6) {
|
|
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___MTfwM) {
|
|
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___9vlkQ) {
|
|
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,78 +188,78 @@
|
|
|
188
188
|
text-transform: uppercase;
|
|
189
189
|
letter-spacing: var(--letter-spacing);
|
|
190
190
|
}
|
|
191
|
-
.OverlineText-module__hop-
|
|
191
|
+
.OverlineText-module__hop-OverlineText__text___NRM2V {
|
|
192
192
|
box-sizing: border-box;
|
|
193
193
|
}
|
|
194
|
-
.OverlineText-module__hop-
|
|
195
|
-
.OverlineText-module__hop-
|
|
194
|
+
.OverlineText-module__hop-OverlineText__text___NRM2V::before,
|
|
195
|
+
.OverlineText-module__hop-OverlineText__text___NRM2V::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___NRM2V::before {
|
|
203
203
|
margin-block-end: var(--bottom-offset);
|
|
204
204
|
}
|
|
205
|
-
.OverlineText-module__hop-
|
|
205
|
+
.OverlineText-module__hop-OverlineText__text___NRM2V::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___55NlZ {
|
|
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___55NlZ) {
|
|
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___daGkb) {
|
|
225
225
|
padding-inline-start: var(--hop-space-20);
|
|
226
226
|
}
|
|
227
227
|
|
|
228
228
|
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/buttons/src/ButtonGroup.module.css/#css-module-data */
|
|
229
|
-
.ButtonGroup-module__hop-
|
|
229
|
+
.ButtonGroup-module__hop-ButtonGroup___t5qpa {
|
|
230
230
|
display: inline-flex;
|
|
231
231
|
flex-wrap: nowrap;
|
|
232
232
|
gap: var(--hop-space-inline-md);
|
|
233
233
|
}
|
|
234
|
-
.ButtonGroup-module__hop-ButtonGroup--
|
|
235
|
-
|
|
234
|
+
.ButtonGroup-module__hop-ButtonGroup--horizontal___6Vg3i {
|
|
235
|
+
align-items: center;
|
|
236
236
|
}
|
|
237
|
-
.ButtonGroup-module__hop-ButtonGroup--
|
|
237
|
+
.ButtonGroup-module__hop-ButtonGroup--vertical___B18j0 {
|
|
238
238
|
flex-direction: column;
|
|
239
239
|
gap: var(--hop-space-stack-md);
|
|
240
|
-
|
|
240
|
+
justify-content: center;
|
|
241
241
|
}
|
|
242
|
-
.ButtonGroup-module__hop-ButtonGroup--
|
|
242
|
+
.ButtonGroup-module__hop-ButtonGroup--start___dTygn.ButtonGroup-module__hop-ButtonGroup--vertical___B18j0 {
|
|
243
243
|
align-items: flex-start;
|
|
244
244
|
}
|
|
245
|
-
.ButtonGroup-module__hop-ButtonGroup--
|
|
245
|
+
.ButtonGroup-module__hop-ButtonGroup--center___-KnB4.ButtonGroup-module__hop-ButtonGroup--vertical___B18j0 {
|
|
246
246
|
align-items: center;
|
|
247
247
|
}
|
|
248
|
-
.ButtonGroup-module__hop-ButtonGroup--
|
|
248
|
+
.ButtonGroup-module__hop-ButtonGroup--end___09mLc.ButtonGroup-module__hop-ButtonGroup--vertical___B18j0 {
|
|
249
249
|
align-items: flex-end;
|
|
250
250
|
}
|
|
251
|
-
.ButtonGroup-module__hop-ButtonGroup--
|
|
251
|
+
.ButtonGroup-module__hop-ButtonGroup--start___dTygn.ButtonGroup-module__hop-ButtonGroup--horizontal___6Vg3i {
|
|
252
252
|
justify-content: flex-start;
|
|
253
253
|
}
|
|
254
|
-
.ButtonGroup-module__hop-ButtonGroup--
|
|
254
|
+
.ButtonGroup-module__hop-ButtonGroup--center___-KnB4.ButtonGroup-module__hop-ButtonGroup--horizontal___6Vg3i {
|
|
255
255
|
justify-content: center;
|
|
256
256
|
}
|
|
257
|
-
.ButtonGroup-module__hop-ButtonGroup--
|
|
257
|
+
.ButtonGroup-module__hop-ButtonGroup--end___09mLc.ButtonGroup-module__hop-ButtonGroup--horizontal___6Vg3i {
|
|
258
258
|
justify-content: flex-end;
|
|
259
259
|
}
|
|
260
|
-
.ButtonGroup-module__hop-ButtonGroup--
|
|
260
|
+
.ButtonGroup-module__hop-ButtonGroup--wrap___mTPyO {
|
|
261
261
|
flex-wrap: wrap;
|
|
262
262
|
}
|
|
263
|
-
.ButtonGroup-module__hop-ButtonGroup--
|
|
263
|
+
.ButtonGroup-module__hop-ButtonGroup--fluid___3rDTv {
|
|
264
264
|
inline-size: 100%;
|
|
265
265
|
}
|
|
@@ -2,6 +2,11 @@ import * as react from 'react';
|
|
|
2
2
|
import { HTMLAttributes } from 'react';
|
|
3
3
|
import { StyledComponentProps, ResponsiveProp } from '@hopper-ui/styled-system';
|
|
4
4
|
import { Orientation } from 'react-aria';
|
|
5
|
+
import { Align } from '../../utils/src/types.js';
|
|
6
|
+
import { ButtonSize } from './Button.js';
|
|
7
|
+
import '@react-types/shared';
|
|
8
|
+
import 'react-aria-components';
|
|
9
|
+
import '../../Spinner/src/Spinner.js';
|
|
5
10
|
|
|
6
11
|
interface ButtonGroupProps extends StyledComponentProps<HTMLAttributes<HTMLDivElement>> {
|
|
7
12
|
/**
|
|
@@ -17,7 +22,7 @@ interface ButtonGroupProps extends StyledComponentProps<HTMLAttributes<HTMLDivEl
|
|
|
17
22
|
* The size of the buttons in the ButtonGroup.
|
|
18
23
|
* @default "md"
|
|
19
24
|
*/
|
|
20
|
-
size?: ResponsiveProp<
|
|
25
|
+
size?: ResponsiveProp<ButtonSize>;
|
|
21
26
|
/**
|
|
22
27
|
* Whether elements are forced onto one line or can wrap onto multiple rows.
|
|
23
28
|
* @default true
|
|
@@ -27,7 +32,7 @@ interface ButtonGroupProps extends StyledComponentProps<HTMLAttributes<HTMLDivEl
|
|
|
27
32
|
* The alignment of the buttons within the ButtonGroup.
|
|
28
33
|
* @default 'start'
|
|
29
34
|
*/
|
|
30
|
-
align?: ResponsiveProp<
|
|
35
|
+
align?: ResponsiveProp<Align>;
|
|
31
36
|
}
|
|
32
37
|
declare const GlobalButtonGroupCssSelector = "hop-ButtonGroup";
|
|
33
38
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { _ButtonGroup as ButtonGroup, GlobalButtonGroupCssSelector } from '../../chunk-
|
|
1
|
+
export { _ButtonGroup as ButtonGroup, GlobalButtonGroupCssSelector } from '../../chunk-2HFFANGL.js';
|
|
2
2
|
import '../../chunk-WMTWFKKP.js';
|
|
3
3
|
import '../../chunk-VJQ7M2BK.js';
|
|
4
4
|
import '../../chunk-M36KANKC.js';
|
|
@@ -3,6 +3,10 @@ import { ContextValue } from 'react-aria-components';
|
|
|
3
3
|
import { ButtonGroupProps } from './ButtonGroup.js';
|
|
4
4
|
import '@hopper-ui/styled-system';
|
|
5
5
|
import 'react-aria';
|
|
6
|
+
import '../../utils/src/types.js';
|
|
7
|
+
import '@react-types/shared';
|
|
8
|
+
import './Button.js';
|
|
9
|
+
import '../../Spinner/src/Spinner.js';
|
|
6
10
|
|
|
7
11
|
declare const ButtonGroupContext: react.Context<ContextValue<ButtonGroupProps, HTMLDivElement>>;
|
|
8
12
|
|