@hopper-ui/components 1.3.20 → 1.3.22
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 +18 -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 +4 -4
- 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 +6 -6
- package/dist/Badge/src/Badge.css +42 -42
- package/dist/Badge/src/Badge.d.ts +5 -0
- 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 +5 -5
- package/dist/ComboBox/src/ComboBox.css +1179 -866
- package/dist/ComboBox/src/ComboBox.js +8 -8
- package/dist/ComboBox/src/ComboBoxOptions.css +1179 -866
- package/dist/ComboBox/src/ComboBoxOptions.js +63 -61
- package/dist/ComboBox/src/index.css +1179 -866
- package/dist/ComboBox/src/index.js +63 -61
- 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 +1179 -866
- package/dist/Form/src/Form.js +63 -61
- package/dist/Form/src/index.css +1179 -866
- package/dist/Form/src/index.js +63 -61
- 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 +7 -7
- package/dist/Link/src/index.css +49 -49
- package/dist/Link/src/index.js +7 -7
- package/dist/ListBox/src/ListBox.css +274 -274
- package/dist/ListBox/src/ListBox.js +12 -12
- package/dist/ListBox/src/ListBoxItem.css +262 -262
- package/dist/ListBox/src/ListBoxItem.d.ts +2 -6
- package/dist/ListBox/src/ListBoxItem.js +11 -11
- package/dist/ListBox/src/ListBoxItemContext.d.ts +1 -2
- package/dist/ListBox/src/ListBoxItemSkeleton.css +34 -34
- package/dist/ListBox/src/ListBoxItemSkeleton.d.ts +0 -1
- package/dist/ListBox/src/ListBoxItemSkeleton.js +1 -1
- package/dist/ListBox/src/ListBoxItemSkeletonContext.d.ts +0 -1
- package/dist/ListBox/src/index.css +274 -274
- package/dist/ListBox/src/index.js +12 -12
- package/dist/Select/src/Select.css +296 -296
- package/dist/Select/src/Select.js +8 -8
- package/dist/Select/src/SelectOptions.css +1179 -866
- package/dist/Select/src/SelectOptions.js +63 -61
- package/dist/Select/src/SelectValue.css +61 -61
- package/dist/Select/src/SelectValue.js +6 -6
- package/dist/Select/src/index.css +1179 -866
- package/dist/Select/src/index.js +63 -61
- 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 +186 -265
- package/dist/buttons/src/Button.d.ts +5 -14
- package/dist/buttons/src/Button.js +8 -9
- package/dist/buttons/src/ButtonContext.d.ts +4 -6
- package/dist/buttons/src/ButtonGroup.css +38 -38
- package/dist/buttons/src/ButtonGroup.d.ts +1 -2
- package/dist/buttons/src/ButtonGroup.js +2 -1
- package/dist/buttons/src/ButtonGroupContext.d.ts +1 -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 +627 -0
- package/dist/buttons/src/LinkButton.d.ts +30 -0
- package/dist/buttons/src/LinkButton.js +21 -0
- package/dist/buttons/src/LinkButtonContext.d.ts +9 -0
- package/dist/buttons/src/LinkButtonContext.js +2 -0
- package/dist/buttons/src/index.css +660 -347
- package/dist/buttons/src/index.d.ts +6 -3
- package/dist/buttons/src/index.js +13 -12
- package/dist/checkbox/src/Checkbox.css +46 -46
- package/dist/checkbox/src/Checkbox.js +7 -7
- package/dist/checkbox/src/CheckboxField.css +33 -33
- package/dist/checkbox/src/CheckboxField.js +2 -2
- package/dist/checkbox/src/CheckboxGroup.css +98 -98
- package/dist/checkbox/src/CheckboxGroup.js +2 -2
- package/dist/checkbox/src/DecorativeCheckbox.css +54 -54
- package/dist/checkbox/src/DecorativeCheckbox.js +7 -7
- package/dist/checkbox/src/index.css +98 -98
- package/dist/checkbox/src/index.js +10 -10
- package/dist/{chunk-FZANHOCL.js → chunk-252JECH3.js} +4 -4
- package/dist/{chunk-VOPMQNZU.js → chunk-2H6UV2SG.js} +3 -3
- package/dist/{chunk-K37GG2W4.js → chunk-2VHUBRYW.js} +1 -1
- package/dist/chunk-3UQFC2NQ.js +7 -0
- package/dist/{chunk-ZFLVZHFU.js → chunk-4JSLFCFC.js} +4 -4
- package/dist/{chunk-2GH5MFYM.js → chunk-4O4FBHN5.js} +14 -8
- package/dist/{chunk-3RAC77T3.js → chunk-5TSWWRP5.js} +1 -1
- package/dist/chunk-5YJ67DFM.js +107 -0
- package/dist/{chunk-FGBJ4BQN.js → chunk-6NYROZG5.js} +4 -4
- package/dist/{chunk-FH236DA7.js → chunk-6RICOPVG.js} +6 -6
- package/dist/{chunk-56JPORN2.js → chunk-6RNMY3B3.js} +2 -2
- package/dist/{chunk-3YY4L64N.js → chunk-6UPNVYSM.js} +3 -3
- package/dist/{chunk-EOFFODBT.js → chunk-7J3TNUEU.js} +2 -2
- package/dist/{chunk-FSXYBGL2.js → chunk-B63FSPKP.js} +1 -1
- package/dist/{chunk-D2ZXLYC4.js → chunk-B7HFTI4F.js} +2 -2
- package/dist/{chunk-XAEUK2IS.js → chunk-BPHBGKEP.js} +1 -1
- package/dist/{chunk-UXX325G4.js → chunk-D3SH5S47.js} +3 -3
- package/dist/{chunk-QRJ5QOOH.js → chunk-DBMGIEGU.js} +3 -3
- package/dist/{chunk-LU7FB5PR.js → chunk-FUOWPCCB.js} +7 -7
- package/dist/{chunk-CSG4J7DG.js → chunk-GMVVIPQG.js} +3 -3
- package/dist/chunk-GWG4MVEJ.js +130 -0
- package/dist/{chunk-VR5K6SKY.js → chunk-HA2G7Z3Y.js} +3 -3
- package/dist/{chunk-BAVC57WI.js → chunk-HWO7TXDE.js} +1 -1
- package/dist/{chunk-DDCNAIN3.js → chunk-I6KKIOW4.js} +1 -1
- package/dist/{chunk-LQQIV4NI.js → chunk-IJ63FSF2.js} +3 -3
- package/dist/{chunk-NBU2JO34.js → chunk-IXSK27JB.js} +2 -2
- package/dist/{chunk-7S4WBT4G.js → chunk-JP6GK2ZA.js} +2 -2
- package/dist/{chunk-DF556GIE.js → chunk-JTX57GMF.js} +1 -1
- package/dist/{chunk-G3KPVKSY.js → chunk-KSVVXFS7.js} +1 -1
- package/dist/{chunk-H2IB2YPL.js → chunk-LIWVG7YG.js} +2 -2
- package/dist/{chunk-GQE7EKQR.js → chunk-M5KK5N5H.js} +15 -9
- package/dist/{chunk-MZUJCQXJ.js → chunk-MPQTHOE3.js} +2 -2
- package/dist/{chunk-AW7BK3KI.js → chunk-OA3QBRFE.js} +1 -1
- package/dist/{chunk-LOK2QDPO.js → chunk-OJUEP7CC.js} +6 -5
- package/dist/{chunk-MILAEJ2L.js → chunk-OMUZK3MO.js} +1 -1
- package/dist/{chunk-KFE26Z37.js → chunk-ORU5PV3C.js} +2 -2
- package/dist/{chunk-4AJKRRST.js → chunk-QESAGPPL.js} +4 -4
- package/dist/{chunk-5IJ5WIHP.js → chunk-R4F5OA3R.js} +4 -4
- package/dist/{chunk-2TKSTDV2.js → chunk-RS26HRDP.js} +1 -1
- package/dist/{chunk-PMLYF4LY.js → chunk-RVSFILDF.js} +3 -3
- package/dist/{chunk-653VMV4L.js → chunk-TFUV5RJ3.js} +4 -4
- package/dist/{chunk-EH3ONDLF.js → chunk-X66XJOKK.js} +3 -3
- package/dist/{chunk-F4NDKYBQ.js → chunk-X7NKH6N6.js} +2 -2
- package/dist/{chunk-OQPYRC2F.js → chunk-XZ3DY7TN.js} +2 -2
- package/dist/{chunk-5DE3AIOL.js → chunk-Y4JN2FNO.js} +1 -1
- package/dist/{chunk-YTMJJOJ7.js → chunk-YBR7YMSR.js} +11 -6
- package/dist/{chunk-ETRACW2O.js → chunk-YOLWUQYK.js} +3 -3
- package/dist/{chunk-AKZXMYPT.js → chunk-ZELJHVRI.js} +2 -2
- package/dist/{chunk-NHWFS4AT.js → chunk-ZTILFVDQ.js} +3 -3
- package/dist/index.css +1179 -866
- package/dist/index.d.ts +6 -3
- package/dist/index.js +63 -61
- package/dist/inputs/src/InputGroup.css +675 -362
- package/dist/inputs/src/InputGroup.js +2 -2
- package/dist/inputs/src/NumberField.css +697 -384
- package/dist/inputs/src/NumberField.js +9 -9
- package/dist/inputs/src/PasswordField.css +685 -372
- package/dist/inputs/src/PasswordField.js +9 -9
- package/dist/inputs/src/RemainingCharacterCount.css +30 -30
- package/dist/inputs/src/RemainingCharacterCount.js +6 -6
- package/dist/inputs/src/SearchField.css +691 -378
- package/dist/inputs/src/SearchField.js +9 -9
- package/dist/inputs/src/TextArea.css +692 -379
- package/dist/inputs/src/TextArea.js +8 -8
- package/dist/inputs/src/TextField.css +689 -376
- package/dist/inputs/src/TextField.js +12 -12
- package/dist/inputs/src/index.css +735 -422
- package/dist/inputs/src/index.js +18 -18
- package/dist/overlays/Popover/src/Popover.css +1179 -866
- package/dist/overlays/Popover/src/Popover.js +63 -61
- package/dist/overlays/Popover/src/index.css +1179 -866
- package/dist/overlays/Popover/src/index.js +63 -61
- package/dist/radio/src/DecorativeRadio.css +54 -54
- package/dist/radio/src/DecorativeRadio.js +7 -7
- package/dist/radio/src/Radio.css +46 -46
- package/dist/radio/src/Radio.js +7 -7
- package/dist/radio/src/RadioField.css +33 -33
- package/dist/radio/src/RadioField.js +2 -2
- package/dist/radio/src/RadioGroup.css +98 -98
- package/dist/radio/src/RadioGroup.js +3 -3
- package/dist/radio/src/index.css +98 -98
- package/dist/radio/src/index.js +11 -11
- package/dist/switch/src/Switch.css +43 -43
- package/dist/switch/src/Switch.js +7 -7
- package/dist/switch/src/SwitchField.css +33 -33
- package/dist/switch/src/SwitchField.js +3 -3
- package/dist/switch/src/index.css +49 -49
- package/dist/switch/src/index.js +9 -9
- package/dist/tag/src/Tag.css +801 -488
- package/dist/tag/src/Tag.js +11 -11
- 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 +811 -498
- package/dist/tag/src/index.js +12 -12
- package/dist/types-CVCUJ7un.d.ts +4 -0
- 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.js +7 -7
- package/package.json +10 -10
- package/dist/chunk-BPH5ATEH.js +0 -187
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
import { useSlot } from './chunk-H5YTU3U7.js';
|
|
2
|
+
import { _Spinner } from './chunk-JP6GK2ZA.js';
|
|
3
|
+
import { ButtonContext } from './chunk-WMTWFKKP.js';
|
|
4
|
+
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
5
|
+
import { EnsureTextWrapper } from './chunk-BPHBGKEP.js';
|
|
6
|
+
import { useLocalizedString } from './chunk-TFVDF4YH.js';
|
|
7
|
+
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
8
|
+
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
9
|
+
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
10
|
+
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
11
|
+
import { IconContext } from '@hopper-ui/icons';
|
|
12
|
+
import { slot, useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
13
|
+
import clsx from 'clsx';
|
|
14
|
+
import { forwardRef } from 'react';
|
|
15
|
+
import { useContextProps, composeRenderProps, DEFAULT_SLOT, Button as Button$1 } from 'react-aria-components';
|
|
16
|
+
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
17
|
+
|
|
18
|
+
// css-module:./Button.module.css#css-module
|
|
19
|
+
var Button_module_default = { "hop-Button": "Button-module__hop-Button___wPmJq", "hop-Button--fluid": "Button-module__hop-Button--fluid___2mgsx", "hop-Button--sm": "Button-module__hop-Button--sm___MZYWe", "hop-Button--md": "Button-module__hop-Button--md___giNX1", "hop-Button--icon-only": "Button-module__hop-Button--icon-only___KFrmA", "hop-Button--primary": "Button-module__hop-Button--primary___naJ-v", "hop-Button--secondary": "Button-module__hop-Button--secondary___oFVxG", "hop-Button--upsell": "Button-module__hop-Button--upsell___IrFm6", "hop-Button--danger": "Button-module__hop-Button--danger___XvzVY", "hop-Button--ghost-primary": "Button-module__hop-Button--ghost-primary___8QTaO", "hop-Button--ghost-secondary": "Button-module__hop-Button--ghost-secondary___VzDHp", "hop-Button--ghost-danger": "Button-module__hop-Button--ghost-danger___Tt4Mb", "hop-Button__Spinner": "Button-module__hop-Button__Spinner___iKsuT", "hop-Button__icon": "Button-module__hop-Button__icon___psDEj", "hop-Button__icon-list": "Button-module__hop-Button__icon-list___uvHt-", "hop-Button__text": "Button-module__hop-Button__text___0u8jo", "hop-Button__end-icon": "Button-module__hop-Button__end-icon___oxOgt", "hop-Button__end-icon-list": "Button-module__hop-Button__end-icon-list___QmVeu" };
|
|
20
|
+
var GlobalButtonCssSelector = "hop-Button";
|
|
21
|
+
function Button(props, ref) {
|
|
22
|
+
var _a, _b;
|
|
23
|
+
[props, ref] = useContextProps(props, ref, ButtonContext);
|
|
24
|
+
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
25
|
+
const stringFormatter = useLocalizedString();
|
|
26
|
+
const {
|
|
27
|
+
className,
|
|
28
|
+
children: childrenProp,
|
|
29
|
+
size: sizeProp,
|
|
30
|
+
isFluid: isFluidProp,
|
|
31
|
+
variant = "primary",
|
|
32
|
+
isLoading,
|
|
33
|
+
style: styleProp,
|
|
34
|
+
spinnerProps,
|
|
35
|
+
...otherProps
|
|
36
|
+
} = ownProps;
|
|
37
|
+
const [textRef, hasText] = useSlot();
|
|
38
|
+
const size = (_a = useResponsiveValue(sizeProp)) != null ? _a : "md";
|
|
39
|
+
const isFluid = (_b = useResponsiveValue(isFluidProp)) != null ? _b : false;
|
|
40
|
+
const classNames = composeClassnameRenderProps(
|
|
41
|
+
className,
|
|
42
|
+
GlobalButtonCssSelector,
|
|
43
|
+
cssModule(
|
|
44
|
+
Button_module_default,
|
|
45
|
+
"hop-Button",
|
|
46
|
+
variant,
|
|
47
|
+
size,
|
|
48
|
+
isFluid && "fluid",
|
|
49
|
+
isLoading && "loading",
|
|
50
|
+
!hasText && "icon-only"
|
|
51
|
+
),
|
|
52
|
+
stylingProps.className
|
|
53
|
+
);
|
|
54
|
+
const style = composeRenderProps(styleProp, (prev) => {
|
|
55
|
+
return {
|
|
56
|
+
...stylingProps.style,
|
|
57
|
+
...prev
|
|
58
|
+
};
|
|
59
|
+
});
|
|
60
|
+
const children = composeRenderProps(childrenProp, (prev) => {
|
|
61
|
+
return /* @__PURE__ */ jsx(EnsureTextWrapper, { children: prev });
|
|
62
|
+
});
|
|
63
|
+
const { className: spinnerClassName, ...otherSpinnerProps } = spinnerProps || {};
|
|
64
|
+
const spinnerClassNames = clsx(Button_module_default["hop-Button__Spinner"], spinnerClassName);
|
|
65
|
+
return /* @__PURE__ */ jsx(
|
|
66
|
+
SlotProvider,
|
|
67
|
+
{
|
|
68
|
+
values: [
|
|
69
|
+
[IconListContext, {
|
|
70
|
+
slots: {
|
|
71
|
+
[DEFAULT_SLOT]: {
|
|
72
|
+
size,
|
|
73
|
+
className: Button_module_default["hop-Button__icon-list"]
|
|
74
|
+
},
|
|
75
|
+
"end-icon": {
|
|
76
|
+
size,
|
|
77
|
+
className: Button_module_default["hop-Button__end-icon-list"]
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}],
|
|
81
|
+
[IconContext, {
|
|
82
|
+
slots: {
|
|
83
|
+
[DEFAULT_SLOT]: {
|
|
84
|
+
size,
|
|
85
|
+
className: Button_module_default["hop-Button__icon"]
|
|
86
|
+
},
|
|
87
|
+
"end-icon": {
|
|
88
|
+
size,
|
|
89
|
+
className: Button_module_default["hop-Button__end-icon"]
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}],
|
|
93
|
+
[TextContext, {
|
|
94
|
+
className: Button_module_default["hop-Button__text"],
|
|
95
|
+
size,
|
|
96
|
+
ref: textRef
|
|
97
|
+
}]
|
|
98
|
+
],
|
|
99
|
+
children: /* @__PURE__ */ jsx(
|
|
100
|
+
Button$1,
|
|
101
|
+
{
|
|
102
|
+
...otherProps,
|
|
103
|
+
ref,
|
|
104
|
+
slot: props.slot || void 0,
|
|
105
|
+
className: classNames,
|
|
106
|
+
style,
|
|
107
|
+
isPending: isLoading,
|
|
108
|
+
children: (buttonRenderProps) => {
|
|
109
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
110
|
+
children(buttonRenderProps),
|
|
111
|
+
isLoading && /* @__PURE__ */ jsx(
|
|
112
|
+
_Spinner,
|
|
113
|
+
{
|
|
114
|
+
"aria-label": stringFormatter.format("Button.spinnerAriaLabel"),
|
|
115
|
+
size,
|
|
116
|
+
className: spinnerClassNames,
|
|
117
|
+
...otherSpinnerProps
|
|
118
|
+
}
|
|
119
|
+
)
|
|
120
|
+
] });
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
)
|
|
124
|
+
}
|
|
125
|
+
);
|
|
126
|
+
}
|
|
127
|
+
var _Button = slot("button", forwardRef(Button));
|
|
128
|
+
_Button.displayName = "Button";
|
|
129
|
+
|
|
130
|
+
export { GlobalButtonCssSelector, _Button };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { RadioContext } from './chunk-FU5CCPLP.js';
|
|
2
2
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
3
|
-
import { EnsureTextWrapper } from './chunk-
|
|
3
|
+
import { EnsureTextWrapper } from './chunk-BPHBGKEP.js';
|
|
4
4
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
5
5
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
6
|
-
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
7
6
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
7
|
+
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
8
8
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
9
9
|
import { BulletIcon, IconContext } from '@hopper-ui/icons';
|
|
10
10
|
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
@@ -13,7 +13,7 @@ import { useContextProps, composeRenderProps, Radio as Radio$1 } from 'react-ari
|
|
|
13
13
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
14
14
|
|
|
15
15
|
// css-module:./Radio.module.css#css-module
|
|
16
|
-
var Radio_module_default = { "hop-Radio": "Radio-module__hop-
|
|
16
|
+
var Radio_module_default = { "hop-Radio": "Radio-module__hop-Radio___uVVY4", "hop-Radio--sm": "Radio-module__hop-Radio--sm___LWATw", "hop-Radio--md": "Radio-module__hop-Radio--md___RhP2t", "hop-Radio__icon": "Radio-module__hop-Radio__icon___HMK-H", "hop-Radio__icon-list": "Radio-module__hop-Radio__icon-list___EPAwm", "hop-Radio__box": "Radio-module__hop-Radio__box___fe1zI", "hop-Radio__bullet": "Radio-module__hop-Radio__bullet___CzSwE", "hop-Radio__text": "Radio-module__hop-Radio__text___Ze9cX" };
|
|
17
17
|
var GlobalRadioCssSelector = "hop-Radio";
|
|
18
18
|
function Radio(props, ref) {
|
|
19
19
|
var _a;
|
|
@@ -7,7 +7,7 @@ import { useContextProps, Heading as Heading$1 } from 'react-aria-components';
|
|
|
7
7
|
import { jsx } from 'react/jsx-runtime';
|
|
8
8
|
|
|
9
9
|
// css-module:./Heading.module.css#css-module
|
|
10
|
-
var Heading_module_default = { "hop-Heading": "Heading-module__hop-
|
|
10
|
+
var Heading_module_default = { "hop-Heading": "Heading-module__hop-Heading___Eay4d", "hop-Heading--xs": "Heading-module__hop-Heading--xs___d3EXo", "hop-Heading--sm": "Heading-module__hop-Heading--sm___kJu64", "hop-Heading--md": "Heading-module__hop-Heading--md___5l07Q", "hop-Heading--lg": "Heading-module__hop-Heading--lg___n4a5t", "hop-Heading--xl": "Heading-module__hop-Heading--xl___iRAGJ", "hop-Heading--2xl": "Heading-module__hop-Heading--2xl___7feao", "hop-Heading--3xl": "Heading-module__hop-Heading--3xl___YyZPS" };
|
|
11
11
|
var GlobalHeadingCssSelector = "hop-Heading";
|
|
12
12
|
function Heading(props, ref) {
|
|
13
13
|
[props, ref] = useContextProps(props, ref, HeadingContext);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ClearButtonContext } from './chunk-DXVKHP4V.js';
|
|
2
|
-
import { _EmbeddedButton } from './chunk-
|
|
2
|
+
import { _EmbeddedButton } from './chunk-IXSK27JB.js';
|
|
3
3
|
import { useLocalizedString } from './chunk-TFVDF4YH.js';
|
|
4
4
|
import { DismissIcon } from '@hopper-ui/icons';
|
|
5
5
|
import { forwardRef } from 'react';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { CheckboxContext } from './chunk-2EAZPH3M.js';
|
|
2
2
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
3
|
-
import { EnsureTextWrapper } from './chunk-
|
|
3
|
+
import { EnsureTextWrapper } from './chunk-BPHBGKEP.js';
|
|
4
4
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
5
5
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
6
|
-
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
7
6
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
7
|
+
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
8
8
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
9
9
|
import { MinusIcon, CheckmarkIcon, IconContext } from '@hopper-ui/icons';
|
|
10
10
|
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
@@ -13,7 +13,7 @@ import { useContextProps, composeRenderProps, Checkbox as Checkbox$1 } from 'rea
|
|
|
13
13
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
14
14
|
|
|
15
15
|
// css-module:./Checkbox.module.css#css-module
|
|
16
|
-
var Checkbox_module_default = { "hop-Checkbox": "Checkbox-module__hop-
|
|
16
|
+
var Checkbox_module_default = { "hop-Checkbox": "Checkbox-module__hop-Checkbox___breG4", "hop-Checkbox--sm": "Checkbox-module__hop-Checkbox--sm___9BSWl", "hop-Checkbox--md": "Checkbox-module__hop-Checkbox--md___njUQ-", "hop-Checkbox__icon": "Checkbox-module__hop-Checkbox__icon___ijxtW", "hop-Checkbox__icon-list": "Checkbox-module__hop-Checkbox__icon-list___e8kO9", "hop-Checkbox__box": "Checkbox-module__hop-Checkbox__box___plFgM", "hop-Checkbox__check": "Checkbox-module__hop-Checkbox__check___nPJ40", "hop-Checkbox__text": "Checkbox-module__hop-Checkbox__text___X5z5O" };
|
|
17
17
|
var GlobalCheckboxCssSelector = "hop-Checkbox";
|
|
18
18
|
function Checkbox(props, ref) {
|
|
19
19
|
var _a;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EmbeddedButtonContext } from './chunk-O7IJYNVQ.js';
|
|
2
|
-
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
3
2
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
3
|
+
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
4
4
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
5
5
|
import { IconContext } from '@hopper-ui/icons';
|
|
6
6
|
import { slot, useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
@@ -20,7 +20,7 @@ function mapOrbiterToHopperVariants(variant) {
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
// css-module:./EmbeddedButton.module.css#css-module
|
|
23
|
-
var EmbeddedButton_module_default = { "hop-EmbeddedButton": "EmbeddedButton-module__hop-
|
|
23
|
+
var EmbeddedButton_module_default = { "hop-EmbeddedButton": "EmbeddedButton-module__hop-EmbeddedButton___U6rqK", "hop-EmbeddedButton--md": "EmbeddedButton-module__hop-EmbeddedButton--md___-pICA", "hop-EmbeddedButton--lg": "EmbeddedButton-module__hop-EmbeddedButton--lg___r-69A", "hop-EmbeddedButton--neutral": "EmbeddedButton-module__hop-EmbeddedButton--neutral___FgAz0", "hop-EmbeddedButton--subdued": "EmbeddedButton-module__hop-EmbeddedButton--subdued___deja-", "hop-EmbeddedButton--progress": "EmbeddedButton-module__hop-EmbeddedButton--progress___VGCG1", "hop-EmbeddedButton--positive": "EmbeddedButton-module__hop-EmbeddedButton--positive___3hszl", "hop-EmbeddedButton--caution": "EmbeddedButton-module__hop-EmbeddedButton--caution___rGOd3", "hop-EmbeddedButton--negative": "EmbeddedButton-module__hop-EmbeddedButton--negative___nQbYt", "hop-EmbeddedButton--option1": "EmbeddedButton-module__hop-EmbeddedButton--option1___-CvhO", "hop-EmbeddedButton--option2": "EmbeddedButton-module__hop-EmbeddedButton--option2___XeH7B", "hop-EmbeddedButton--option3": "EmbeddedButton-module__hop-EmbeddedButton--option3___OFTT3", "hop-EmbeddedButton--option4": "EmbeddedButton-module__hop-EmbeddedButton--option4___tGcdE", "hop-EmbeddedButton--option5": "EmbeddedButton-module__hop-EmbeddedButton--option5___zvsRX", "hop-EmbeddedButton--option6": "EmbeddedButton-module__hop-EmbeddedButton--option6___GZiUl", "hop-EmbeddedButton__icon": "EmbeddedButton-module__hop-EmbeddedButton__icon___ic3a-" };
|
|
24
24
|
var GlobalEmbeddedButtonCssSelector = "hop-EmbeddedButton";
|
|
25
25
|
function EmbeddedButton(props, ref) {
|
|
26
26
|
var _a;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SpinnerContext } from './chunk-4ZYV2XLW.js';
|
|
2
|
-
import { _Text } from './chunk-
|
|
2
|
+
import { _Text } from './chunk-KSVVXFS7.js';
|
|
3
3
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
4
4
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
5
5
|
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
@@ -9,7 +9,7 @@ import { useContextProps, ProgressBar } from 'react-aria-components';
|
|
|
9
9
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
10
10
|
|
|
11
11
|
// css-module:./Spinner.module.css#css-module
|
|
12
|
-
var Spinner_module_default = { "hop-Spinner": "Spinner-module__hop-
|
|
12
|
+
var Spinner_module_default = { "hop-Spinner": "Spinner-module__hop-Spinner___onvPh", "spin": "Spinner-module__spin___WOkJX", "hop-Spinner--sm": "Spinner-module__hop-Spinner--sm___JHVMc", "hop-Spinner--md": "Spinner-module__hop-Spinner--md___MJO4R", "hop-Spinner--lg": "Spinner-module__hop-Spinner--lg___8koyM", "hop-Spinner__track": "Spinner-module__hop-Spinner__track___DGEYQ", "hop-Spinner__fill": "Spinner-module__hop-Spinner__fill___9bv2L", "hop-Spinner__label": "Spinner-module__hop-Spinner__label___yuL5c" };
|
|
13
13
|
var GlobalSpinnerCssSelector = "hop-Spinner";
|
|
14
14
|
var SpinnerToTextSizeAdapter = {
|
|
15
15
|
sm: "xs",
|
|
@@ -7,7 +7,7 @@ import { useContextProps, Text } from 'react-aria-components';
|
|
|
7
7
|
import { jsx } from 'react/jsx-runtime';
|
|
8
8
|
|
|
9
9
|
// css-module:./OverlineText.module.css#css-module
|
|
10
|
-
var OverlineText_module_default = { "hop-OverlineText": "OverlineText-module__hop-
|
|
10
|
+
var OverlineText_module_default = { "hop-OverlineText": "OverlineText-module__hop-OverlineText___cowIx", "hop-OverlineText__text": "OverlineText-module__hop-OverlineText__text___bMeuH" };
|
|
11
11
|
var GlobalOverlineTextCssSelector = "hop-OverlineText";
|
|
12
12
|
function OverlineText(props, ref) {
|
|
13
13
|
[props, ref] = useContextProps(props, ref, OverlineTextContext);
|
|
@@ -9,7 +9,7 @@ import { useContextProps, Text as Text$1 } from 'react-aria-components';
|
|
|
9
9
|
import { jsx } from 'react/jsx-runtime';
|
|
10
10
|
|
|
11
11
|
// css-module:./Text.module.css#css-module
|
|
12
|
-
var Text_module_default = { "hop-Text": "Text-module__hop-
|
|
12
|
+
var Text_module_default = { "hop-Text": "Text-module__hop-Text___a3kO5", "hop-Text--xs": "Text-module__hop-Text--xs___oNTnw", "hop-Text--sm": "Text-module__hop-Text--sm___w91cp", "hop-Text--md": "Text-module__hop-Text--md___sWC3z", "hop-Text--lg": "Text-module__hop-Text--lg___CsB7P", "hop-Text--xl": "Text-module__hop-Text--xl___CIkMe", "hop-Text--2xl": "Text-module__hop-Text--2xl___hSu4e", "hop-Text--inherit": "Text-module__hop-Text--inherit___KZpNu" };
|
|
13
13
|
var GlobalTextCssSelector = "hop-Text";
|
|
14
14
|
function Text(props, ref) {
|
|
15
15
|
[props, ref] = useContextProps(props, ref, TextContext);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
1
2
|
import { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
2
3
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
3
|
-
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
4
4
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
5
5
|
import { RichIconAvatarImageContext } from './chunk-JWW56J7M.js';
|
|
6
6
|
import { RichIconContext } from '@hopper-ui/icons';
|
|
@@ -11,7 +11,7 @@ import { useContextProps, composeRenderProps } from 'react-aria-components';
|
|
|
11
11
|
import { jsx } from 'react/jsx-runtime';
|
|
12
12
|
|
|
13
13
|
// css-module:./RichIconAvatarImage.module.css#css-module
|
|
14
|
-
var RichIconAvatarImage_module_default = { "hop-RichIconAvatarImage": "RichIconAvatarImage-module__hop-
|
|
14
|
+
var RichIconAvatarImage_module_default = { "hop-RichIconAvatarImage": "RichIconAvatarImage-module__hop-RichIconAvatarImage___fwdHR", "hop-RichIconAvatarImage--xs": "RichIconAvatarImage-module__hop-RichIconAvatarImage--xs___22wrb", "hop-RichIconAvatarImage--sm": "RichIconAvatarImage-module__hop-RichIconAvatarImage--sm___oiBrJ", "hop-RichIconAvatarImage--md": "RichIconAvatarImage-module__hop-RichIconAvatarImage--md___DoJ2j", "hop-RichIconAvatarImage--lg": "RichIconAvatarImage-module__hop-RichIconAvatarImage--lg___rZJlT", "hop-RichIconAvatarImage--xl": "RichIconAvatarImage-module__hop-RichIconAvatarImage--xl___gmzZ-", "hop-RichIconAvatarImage--2xl": "RichIconAvatarImage-module__hop-RichIconAvatarImage--2xl___2-Asx", "hop-RichIconAvatarImage__icon": "RichIconAvatarImage-module__hop-RichIconAvatarImage__icon___vAdpY" };
|
|
15
15
|
var GlobalRichIconAvatarImageCssSelector = "hop-RichIconAvatarImage";
|
|
16
16
|
var AvatarToIconSizeAdapter = {
|
|
17
17
|
xs: "md",
|
|
@@ -3,35 +3,36 @@ import { RadioGroupContext } from './chunk-5MBJWRZD.js';
|
|
|
3
3
|
import { ContentContext } from './chunk-IXB2WK56.js';
|
|
4
4
|
import { _Footer } from './chunk-GTM56LGX.js';
|
|
5
5
|
import { FooterContext } from './chunk-I67NHYK4.js';
|
|
6
|
+
import { PasswordFieldContext } from './chunk-QW45G6K4.js';
|
|
6
7
|
import { SearchFieldContext } from './chunk-3NKF5TPD.js';
|
|
7
8
|
import { TextAreaContext } from './chunk-MHQZXLKW.js';
|
|
8
9
|
import { TextFieldContext } from './chunk-O4XPUINW.js';
|
|
9
10
|
import { NumberFieldContext } from './chunk-ZQ3AWYRR.js';
|
|
10
|
-
import { PasswordFieldContext } from './chunk-QW45G6K4.js';
|
|
11
11
|
import { CheckboxFieldContext } from './chunk-ZGNK4GWA.js';
|
|
12
12
|
import { CheckboxGroupContext } from './chunk-N7YDPVZL.js';
|
|
13
13
|
import { ButtonGroupContext } from './chunk-VJQ7M2BK.js';
|
|
14
|
+
import { LinkButtonContext } from './chunk-3UQFC2NQ.js';
|
|
14
15
|
import { ButtonContext as ButtonContext$1 } from './chunk-WMTWFKKP.js';
|
|
15
16
|
import { SelectContext } from './chunk-T24MBA34.js';
|
|
16
17
|
import { SelectOptionsContext } from './chunk-CQFXGAJK.js';
|
|
17
|
-
import { _ListBox } from './chunk-
|
|
18
|
+
import { _ListBox } from './chunk-4JSLFCFC.js';
|
|
18
19
|
import { isFunction, isNil } from './chunk-TIPN4VYD.js';
|
|
19
20
|
import { CheckboxContext } from './chunk-2EAZPH3M.js';
|
|
20
21
|
import { _HopperProvider } from './chunk-NMKBUGSO.js';
|
|
21
22
|
import { LinkContext } from './chunk-4VVNSXIB.js';
|
|
22
23
|
import { FormContext } from './chunk-EURJK4ZT.js';
|
|
23
|
-
import { ComboBoxOptionsContext } from './chunk-XGOJ7VOE.js';
|
|
24
|
-
import { BadgeContext } from './chunk-CQDLZ42T.js';
|
|
25
24
|
import { PopoverContext } from './chunk-SC6ZK5ON.js';
|
|
26
25
|
import { ListBoxContext } from './chunk-UIEP5BA5.js';
|
|
27
|
-
import { EnsureTextWrapper } from './chunk-
|
|
26
|
+
import { EnsureTextWrapper } from './chunk-BPHBGKEP.js';
|
|
28
27
|
import { HeadingContext } from './chunk-TXZ6BMFR.js';
|
|
29
28
|
import { LabelContext } from './chunk-QCA3ZR56.js';
|
|
30
29
|
import { ComboBoxContext } from './chunk-4XHTP4GX.js';
|
|
30
|
+
import { ComboBoxOptionsContext } from './chunk-XGOJ7VOE.js';
|
|
31
|
+
import { BadgeContext } from './chunk-CQDLZ42T.js';
|
|
31
32
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
32
33
|
import { ClearProviders } from './chunk-HXI3MEEK.js';
|
|
33
|
-
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
34
34
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
35
|
+
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
35
36
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
36
37
|
import { useStyledSystem, useResponsiveValue, useColorSchemeContext } from '@hopper-ui/styled-system';
|
|
37
38
|
export * from '@hopper-ui/styled-system';
|
|
@@ -122,7 +123,7 @@ var _ComboBoxOptions = forwardRef(ComboBoxOptions);
|
|
|
122
123
|
_ComboBoxOptions.displayName = "ComboBoxOptions";
|
|
123
124
|
|
|
124
125
|
// css-module:./Form.module.css#css-module
|
|
125
|
-
var Form_module_default = { "hop-Form": "Form-module__hop-
|
|
126
|
+
var Form_module_default = { "hop-Form": "Form-module__hop-Form___eqN2-" };
|
|
126
127
|
var GlobalFormCssSelector = "hop-Form";
|
|
127
128
|
function Form(props, ref) {
|
|
128
129
|
var _a;
|
|
@@ -228,7 +229,8 @@ function Form(props, ref) {
|
|
|
228
229
|
[TagGroupContext, {
|
|
229
230
|
necessityIndicator,
|
|
230
231
|
size
|
|
231
|
-
}]
|
|
232
|
+
}],
|
|
233
|
+
[LinkButtonContext, { isDisabled, size }]
|
|
232
234
|
],
|
|
233
235
|
children: /* @__PURE__ */ jsx(
|
|
234
236
|
Form$1,
|
|
@@ -736,7 +738,7 @@ function $f86e6c1ec7da6ebb$export$bc3384a35de93d66(options) {
|
|
|
736
738
|
}
|
|
737
739
|
|
|
738
740
|
// css-module:./Popover.module.css#css-module
|
|
739
|
-
var Popover_module_default = { "hop-Popover": "Popover-module__hop-
|
|
741
|
+
var Popover_module_default = { "hop-Popover": "Popover-module__hop-Popover___8d0kH", "fade": "Popover-module__fade___ScKhP", "hop-Popover__wrapper": "Popover-module__hop-Popover__wrapper___OlnYm", "hop-Popover__dialog": "Popover-module__hop-Popover__dialog___u3ugx", "hop-Popover__dropdown": "Popover-module__hop-Popover__dropdown___T1gtF", "hop-Popover__title": "Popover-module__hop-Popover__title___6CPkP", "hop-Popover__content": "Popover-module__hop-Popover__content___kOQSN", "hop-Popover__list-box": "Popover-module__hop-Popover__list-box___uQerR", "hop-Popover__footer": "Popover-module__hop-Popover__footer___gT-x1", "hop-Popover__actions": "Popover-module__hop-Popover__actions___-Ar4R", "hop-Popover__action": "Popover-module__hop-Popover__action___BE3ex" };
|
|
740
742
|
var GlobalPopoverCssSelector = "hop-Popover";
|
|
741
743
|
function Popover(props, ref) {
|
|
742
744
|
var _a;
|
|
@@ -842,6 +844,10 @@ function Popover(props, ref) {
|
|
|
842
844
|
size: "sm",
|
|
843
845
|
className: Popover_module_default["hop-Popover__action"]
|
|
844
846
|
}],
|
|
847
|
+
[LinkButtonContext, {
|
|
848
|
+
size: "sm",
|
|
849
|
+
className: Popover_module_default["hop-Popover__action"]
|
|
850
|
+
}],
|
|
845
851
|
[ButtonGroupContext, {
|
|
846
852
|
size: "sm",
|
|
847
853
|
align: "end",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HelperMessageContext } from './chunk-HZKFQ33E.js';
|
|
2
|
-
import { _Text } from './chunk-
|
|
2
|
+
import { _Text } from './chunk-KSVVXFS7.js';
|
|
3
3
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
4
4
|
import { InfoIcon } from '@hopper-ui/icons';
|
|
5
5
|
import { useStyledSystem } from '@hopper-ui/styled-system';
|
|
@@ -9,7 +9,7 @@ import { useContextProps, FieldErrorContext } from 'react-aria-components';
|
|
|
9
9
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
10
10
|
|
|
11
11
|
// css-module:./HelperMessage.module.css#css-module
|
|
12
|
-
var HelperMessage_module_default = { "hop-HelperMessage": "HelperMessage-module__hop-
|
|
12
|
+
var HelperMessage_module_default = { "hop-HelperMessage": "HelperMessage-module__hop-HelperMessage___cboH7", "hop-HelperMessage__icon": "HelperMessage-module__hop-HelperMessage__icon___LOn-n" };
|
|
13
13
|
var GlobalHelperMessageCssSelector = "hop-HelperMessage";
|
|
14
14
|
function HelperMessage(props, ref) {
|
|
15
15
|
const validation = useContext(FieldErrorContext);
|
|
@@ -8,7 +8,7 @@ import { useContextProps, Label as Label$1 } from 'react-aria-components';
|
|
|
8
8
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
9
9
|
|
|
10
10
|
// css-module:./Label.module.css#css-module
|
|
11
|
-
var Label_module_default = { "hop-Label": "Label-module__hop-
|
|
11
|
+
var Label_module_default = { "hop-Label": "Label-module__hop-Label___lehKc", "hop-Label__indicator": "Label-module__hop-Label__indicator___fWyCS" };
|
|
12
12
|
var GlobalLabelCssSelector = "hop-Label";
|
|
13
13
|
function Label(props, ref) {
|
|
14
14
|
[props, ref] = useContextProps(props, ref, LabelContext);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { _OverlineText } from './chunk-JTX57GMF.js';
|
|
1
2
|
import { BadgeContext } from './chunk-CQDLZ42T.js';
|
|
2
|
-
import { _OverlineText } from './chunk-DF556GIE.js';
|
|
3
3
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
4
4
|
import { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
5
5
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
@@ -23,7 +23,7 @@ function mapOrbiterToHopperVariants(variant) {
|
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
// css-module:./Badge.module.css#css-module
|
|
26
|
-
var Badge_module_default = { "hop-Badge": "Badge-module__hop-
|
|
26
|
+
var Badge_module_default = { "hop-Badge": "Badge-module__hop-Badge___MEPnI", "hop-Badge--primary": "Badge-module__hop-Badge--primary___sHpPz", "hop-Badge--secondary": "Badge-module__hop-Badge--secondary___SvqSX", "hop-Badge--subdued": "Badge-module__hop-Badge--subdued___XgCBD" };
|
|
27
27
|
var GlobalBadgeCssSelector = "hop-Badge";
|
|
28
28
|
function Badge(props, ref) {
|
|
29
29
|
[props, ref] = useContextProps(props, ref, BadgeContext);
|
|
@@ -43,7 +43,8 @@ function Badge(props, ref) {
|
|
|
43
43
|
GlobalBadgeCssSelector,
|
|
44
44
|
cssModule(
|
|
45
45
|
Badge_module_default,
|
|
46
|
-
"hop-Badge"
|
|
46
|
+
"hop-Badge",
|
|
47
|
+
mapOrbiterToHopperVariants(variant)
|
|
47
48
|
),
|
|
48
49
|
stylingProps.className
|
|
49
50
|
);
|
|
@@ -62,7 +63,8 @@ function Badge(props, ref) {
|
|
|
62
63
|
isIndeterminate: isIndeterminate || false,
|
|
63
64
|
isHovered: isHovered || false,
|
|
64
65
|
isPressed: isPressed || false,
|
|
65
|
-
isSelected: isSelected || false
|
|
66
|
+
isSelected: isSelected || false,
|
|
67
|
+
variant: mapOrbiterToHopperVariants(variant)
|
|
66
68
|
}
|
|
67
69
|
});
|
|
68
70
|
const isDot = isIndeterminate || !renderProps.children;
|
|
@@ -79,7 +81,6 @@ function Badge(props, ref) {
|
|
|
79
81
|
"data-hovered": isHovered || void 0,
|
|
80
82
|
"data-pressed": isPressed || void 0,
|
|
81
83
|
"data-selected": isSelected || void 0,
|
|
82
|
-
"data-variant": mapOrbiterToHopperVariants(variant),
|
|
83
84
|
children: !isDot && renderProps.children
|
|
84
85
|
}
|
|
85
86
|
) });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AvatarContext } from './chunk-AES7QBQE.js';
|
|
2
|
-
import { _RichIconAvatarImage } from './chunk-
|
|
2
|
+
import { _RichIconAvatarImage } from './chunk-LIWVG7YG.js';
|
|
3
3
|
import { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
4
4
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
5
5
|
import { DeletedUserRichIcon } from '@hopper-ui/icons';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { CheckboxFieldContext } from './chunk-ZGNK4GWA.js';
|
|
2
2
|
import { CheckboxContext } from './chunk-2EAZPH3M.js';
|
|
3
3
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
4
|
+
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
4
5
|
import { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
5
6
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
6
|
-
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
7
7
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
8
8
|
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
9
9
|
import { forwardRef } from 'react';
|
|
@@ -12,7 +12,7 @@ import { useContextProps, composeRenderProps } from 'react-aria-components';
|
|
|
12
12
|
import { jsx } from 'react/jsx-runtime';
|
|
13
13
|
|
|
14
14
|
// css-module:./CheckboxField.module.css#css-module
|
|
15
|
-
var CheckboxField_module_default = { "hop-CheckboxField": "CheckboxField-module__hop-
|
|
15
|
+
var CheckboxField_module_default = { "hop-CheckboxField": "CheckboxField-module__hop-CheckboxField___NM98u", "hop-CheckboxField--sm": "CheckboxField-module__hop-CheckboxField--sm___KmoTe", "hop-CheckboxField--md": "CheckboxField-module__hop-CheckboxField--md___cVrKu", "hop-CheckboxField__description": "CheckboxField-module__hop-CheckboxField__description___-KTuS", "hop-CheckboxField__checkbox": "CheckboxField-module__hop-CheckboxField__checkbox___SZNAO" };
|
|
16
16
|
var GlobalCheckboxFieldCssSelector = "hop-CheckboxField";
|
|
17
17
|
var CheckboxToDescriptionSizeAdapter = {
|
|
18
18
|
sm: "xs",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { SearchFieldContext } from './chunk-3NKF5TPD.js';
|
|
2
|
-
import { _InputGroup } from './chunk-
|
|
3
|
-
import { _ClearButton } from './chunk-
|
|
2
|
+
import { _InputGroup } from './chunk-ZELJHVRI.js';
|
|
3
|
+
import { _ClearButton } from './chunk-I6KKIOW4.js';
|
|
4
4
|
import { LabelContext } from './chunk-QCA3ZR56.js';
|
|
5
5
|
import { HelperMessageContext } from './chunk-HZKFQ33E.js';
|
|
6
6
|
import { ErrorMessageContext } from './chunk-FAE27DLF.js';
|
|
7
7
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
8
|
-
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
9
8
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
9
|
+
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
10
10
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
11
11
|
import { IconContext, SearchIcon } from '@hopper-ui/icons';
|
|
12
12
|
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
@@ -18,7 +18,7 @@ import { useContextProps, composeRenderProps, Input, SearchField as SearchField$
|
|
|
18
18
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
19
19
|
|
|
20
20
|
// css-module:./SearchField.module.css#css-module
|
|
21
|
-
var SearchField_module_default = { "hop-SearchField": "SearchField-module__hop-
|
|
21
|
+
var SearchField_module_default = { "hop-SearchField": "SearchField-module__hop-SearchField___HfIPZ", "hop-SearchField--fluid": "SearchField-module__hop-SearchField--fluid___Pl1t7", "hop-SearchField__Label": "SearchField-module__hop-SearchField__Label___U-GWL", "hop-SearchField__prefix": "SearchField-module__hop-SearchField__prefix___SppZQ", "hop-SearchField__InputGroup": "SearchField-module__hop-SearchField__InputGroup___R1sxH", "hop-SearchField--clearable": "SearchField-module__hop-SearchField--clearable___yDzOM", "hop-SearchField__ErrorMessage": "SearchField-module__hop-SearchField__ErrorMessage___fVscl", "hop-SearchField__HelperMessage": "SearchField-module__hop-SearchField__HelperMessage___Y8Hvq", "hop-SearchField__ClearButton": "SearchField-module__hop-SearchField__ClearButton___I-i9y" };
|
|
22
22
|
var GlobalSearchFieldCssSelector = "hop-SearchField";
|
|
23
23
|
function SearchField(props, ref) {
|
|
24
24
|
var _a;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { useScale } from './chunk-MTDFS4CZ.js';
|
|
2
|
+
import { _InputGroup } from './chunk-ZELJHVRI.js';
|
|
2
3
|
import { NumberFieldContext } from './chunk-ZQ3AWYRR.js';
|
|
3
|
-
import {
|
|
4
|
-
import { EnsureTextWrapper } from './chunk-XAEUK2IS.js';
|
|
4
|
+
import { EnsureTextWrapper } from './chunk-BPHBGKEP.js';
|
|
5
5
|
import { LabelContext } from './chunk-QCA3ZR56.js';
|
|
6
6
|
import { HelperMessageContext } from './chunk-HZKFQ33E.js';
|
|
7
7
|
import { ErrorMessageContext } from './chunk-FAE27DLF.js';
|
|
8
8
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
9
9
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
10
|
-
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
11
10
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
11
|
+
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
12
12
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
13
13
|
import { IconContext, AngleUpIcon, AngleDownIcon } from '@hopper-ui/icons';
|
|
14
14
|
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
@@ -21,7 +21,7 @@ import { useContextProps, composeRenderProps, Input, NumberField as NumberField$
|
|
|
21
21
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
22
22
|
|
|
23
23
|
// css-module:./NumberField.module.css#css-module
|
|
24
|
-
var NumberField_module_default = { "hop-NumberField": "NumberField-module__hop-
|
|
24
|
+
var NumberField_module_default = { "hop-NumberField": "NumberField-module__hop-NumberField___7TOQ4", "hop-NumberField--fluid": "NumberField-module__hop-NumberField--fluid___N-U6H", "hop-NumberField--mobile": "NumberField-module__hop-NumberField--mobile___6vh9Z", "hop-NumberField__Label": "NumberField-module__hop-NumberField__Label___NzB2B", "hop-NumberField__prefix": "NumberField-module__hop-NumberField__prefix___a1itP", "hop-NumberField__InputGroup": "NumberField-module__hop-NumberField__InputGroup___sQY4D", "hop-NumberField__ErrorMessage": "NumberField-module__hop-NumberField__ErrorMessage___ue7-p", "hop-NumberField__HelperMessage": "NumberField-module__hop-NumberField__HelperMessage___9dMxc", "hop-NumberField__stepper-button": "NumberField-module__hop-NumberField__stepper-button___rM2YP", "hop-NumberField__stepper-button--increment": "NumberField-module__hop-NumberField__stepper-button--increment___rIqbb", "hop-NumberField__stepper-button--decrement": "NumberField-module__hop-NumberField__stepper-button--decrement___42jBA", "hop-NumberField__stepper-button--mobile": "NumberField-module__hop-NumberField__stepper-button--mobile___UeufX", "hop-NumberField__stepper-button__icon": "NumberField-module__hop-NumberField__stepper-button__icon___Bnc6i", "hop-NumberField__input": "NumberField-module__hop-NumberField__input___VAt38" };
|
|
25
25
|
var GlobalNumberFieldCssSelector = "hop-NumberField";
|
|
26
26
|
var StepperButton = ({ direction }) => {
|
|
27
27
|
const scale = useScale();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AvatarContext } from './chunk-AES7QBQE.js';
|
|
2
|
-
import { _RichIconAvatarImage } from './chunk-
|
|
2
|
+
import { _RichIconAvatarImage } from './chunk-LIWVG7YG.js';
|
|
3
3
|
import { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
4
4
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
5
5
|
import { AnonymousRichIcon } from '@hopper-ui/icons';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { SwitchContext } from './chunk-YHBJAXUY.js';
|
|
2
2
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
3
|
-
import { EnsureTextWrapper } from './chunk-
|
|
3
|
+
import { EnsureTextWrapper } from './chunk-BPHBGKEP.js';
|
|
4
4
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
5
5
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
6
|
-
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
7
6
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
7
|
+
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
8
8
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
9
9
|
import { IconContext } from '@hopper-ui/icons';
|
|
10
10
|
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
@@ -13,7 +13,7 @@ import { useContextProps, composeRenderProps, Switch as Switch$1 } from 'react-a
|
|
|
13
13
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
14
14
|
|
|
15
15
|
// css-module:./Switch.module.css#css-module
|
|
16
|
-
var Switch_module_default = { "hop-Switch": "Switch-module__hop-
|
|
16
|
+
var Switch_module_default = { "hop-Switch": "Switch-module__hop-Switch___uhAMS", "hop-Switch--sm": "Switch-module__hop-Switch--sm___I--SH", "hop-Switch--md": "Switch-module__hop-Switch--md___XskDz", "hop-Switch__indicator": "Switch-module__hop-Switch__indicator___1Kfbz", "hop-Switch__text": "Switch-module__hop-Switch__text___UXs4t", "hop-Switch__icon-list": "Switch-module__hop-Switch__icon-list___AaKpd", "hop-Switch__icon": "Switch-module__hop-Switch__icon___2lqFj" };
|
|
17
17
|
var GlobalSwitchCssSelector = "hop-Switch";
|
|
18
18
|
function Switch(props, ref) {
|
|
19
19
|
var _a;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { _SelectValue } from './chunk-
|
|
1
|
+
import { _SelectValue } from './chunk-6UPNVYSM.js';
|
|
2
2
|
import { SelectContext } from './chunk-T24MBA34.js';
|
|
3
3
|
import { ListBoxContext } from './chunk-UIEP5BA5.js';
|
|
4
|
-
import { EnsureTextWrapper } from './chunk-
|
|
4
|
+
import { EnsureTextWrapper } from './chunk-BPHBGKEP.js';
|
|
5
5
|
import { LabelContext } from './chunk-QCA3ZR56.js';
|
|
6
6
|
import { HelperMessageContext } from './chunk-HZKFQ33E.js';
|
|
7
7
|
import { ErrorMessageContext } from './chunk-FAE27DLF.js';
|
|
8
8
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
9
9
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
10
|
-
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
11
10
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
11
|
+
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
12
12
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
13
13
|
import { IconContext, AngleUpIcon, AngleDownIcon } from '@hopper-ui/icons';
|
|
14
14
|
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
@@ -17,7 +17,7 @@ import { useContextProps, composeRenderProps, Select as Select$1, Button } from
|
|
|
17
17
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
18
18
|
|
|
19
19
|
// css-module:./Select.module.css#css-module
|
|
20
|
-
var Select_module_default = { "hop-Select": "Select-module__hop-
|
|
20
|
+
var Select_module_default = { "hop-Select": "Select-module__hop-Select___QfkJS", "hop-Select--fluid": "Select-module__hop-Select--fluid___ehxcK", "hop-Select__label": "Select-module__hop-Select__label___eabHv", "hop-Select__button": "Select-module__hop-Select__button___oRdsv", "hop-Select__button--sm": "Select-module__hop-Select__button--sm___hjzPC", "hop-Select__button--md": "Select-module__hop-Select__button--md___az8pt", "hop-Select__prefix": "Select-module__hop-Select__prefix___xW2IR", "hop-Select__button-icon": "Select-module__hop-Select__button-icon___ZL9DN", "hop-Select__helper-message": "Select-module__hop-Select__helper-message___OKRr4", "hop-Select__error-message": "Select-module__hop-Select__error-message___zQ-lf" };
|
|
21
21
|
var GlobalSelectCssSelector = "hop-Select";
|
|
22
22
|
function Select(props, ref) {
|
|
23
23
|
var _a, _b;
|