@hopper-ui/components 1.3.30 → 1.3.31
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 +6 -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.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.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.js +3 -3
- package/dist/ComboBox/src/ComboBox.css +562 -2120
- package/dist/ComboBox/src/ComboBox.js +24 -95
- package/dist/ComboBox/src/index.css +562 -2120
- package/dist/ComboBox/src/index.js +24 -95
- 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 +1593 -1836
- package/dist/Form/src/Form.js +8 -99
- package/dist/Form/src/index.css +1593 -1836
- package/dist/Form/src/index.js +8 -99
- package/dist/HelperMessage/src/HelperMessage.css +29 -29
- package/dist/HelperMessage/src/HelperMessage.js +2 -2
- package/dist/HelperMessage/src/index.css +29 -29
- package/dist/HelperMessage/src/index.js +2 -2
- package/dist/IconList/src/IconList.css +28 -28
- package/dist/IconList/src/IconList.js +1 -1
- package/dist/IconList/src/index.css +28 -28
- package/dist/IconList/src/index.js +1 -1
- package/dist/Link/src/Link.css +49 -49
- package/dist/Link/src/Link.js +9 -9
- package/dist/Link/src/index.css +49 -49
- package/dist/Link/src/index.js +9 -9
- package/dist/ListBox/src/ListBox.css +274 -274
- package/dist/ListBox/src/ListBox.js +15 -15
- package/dist/ListBox/src/ListBoxItem.css +262 -262
- package/dist/ListBox/src/ListBoxItem.js +12 -12
- package/dist/ListBox/src/ListBoxItemSkeleton.css +34 -34
- package/dist/ListBox/src/ListBoxItemSkeleton.js +1 -1
- package/dist/ListBox/src/index.css +274 -274
- package/dist/ListBox/src/index.js +15 -15
- package/dist/Select/src/Select.css +597 -2154
- package/dist/Select/src/Select.js +27 -96
- package/dist/Select/src/SelectValue.css +61 -61
- package/dist/Select/src/SelectValue.js +6 -6
- package/dist/Select/src/index.css +566 -2123
- package/dist/Select/src/index.d.ts +1 -1
- package/dist/Select/src/index.js +27 -96
- package/dist/Spinner/src/Spinner.css +37 -37
- package/dist/Spinner/src/Spinner.js +2 -2
- package/dist/Spinner/src/index.css +37 -37
- package/dist/Spinner/src/index.js +2 -2
- package/dist/buttons/src/Button.css +93 -93
- package/dist/buttons/src/Button.js +10 -10
- package/dist/buttons/src/ButtonGroup.css +38 -38
- package/dist/buttons/src/ButtonGroup.js +2 -2
- package/dist/buttons/src/ClearButton.css +98 -98
- package/dist/buttons/src/ClearButton.js +2 -2
- package/dist/buttons/src/EmbeddedButton.css +98 -98
- package/dist/buttons/src/EmbeddedButton.js +1 -1
- package/dist/buttons/src/LinkButton.css +102 -102
- package/dist/buttons/src/LinkButton.js +9 -9
- package/dist/buttons/src/index.css +249 -249
- package/dist/buttons/src/index.js +16 -16
- package/dist/checkbox/src/Checkbox.css +46 -46
- package/dist/checkbox/src/Checkbox.js +9 -9
- 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 +7 -7
- package/dist/checkbox/src/DecorativeCheckbox.css +54 -54
- package/dist/checkbox/src/DecorativeCheckbox.js +9 -9
- package/dist/checkbox/src/index.css +98 -98
- package/dist/checkbox/src/index.js +16 -16
- package/dist/{chunk-PHGFB7Z7.js → chunk-2BHWYRFT.js} +22 -13
- package/dist/{chunk-2MYELF25.js → chunk-3EAPRTHU.js} +1 -1
- package/dist/{chunk-DOKGX5N4.js → chunk-3VKQHRO5.js} +1 -1
- package/dist/{chunk-FVH4W7VW.js → chunk-54IRJS4J.js} +7 -7
- package/dist/{chunk-T62GNS7A.js → chunk-5SVPP6YF.js} +2 -2
- package/dist/{chunk-KUEXWJCI.js → chunk-6JPZEUJU.js} +6 -6
- package/dist/{chunk-J2GXT52N.js → chunk-A7B5XEGW.js} +2 -2
- package/dist/{chunk-7Q6MXAW6.js → chunk-BOP2AQLT.js} +2 -2
- package/dist/{chunk-SJTPZSVU.js → chunk-BWFO6U3N.js} +3 -3
- package/dist/{chunk-CY7GW4SB.js → chunk-CMYS5I7X.js} +9 -9
- package/dist/{chunk-S5NKOTEO.js → chunk-D22VY376.js} +1 -1
- package/dist/{chunk-2SXSYPWT.js → chunk-DOSDN7OK.js} +2 -2
- package/dist/{chunk-6S4ZOYNF.js → chunk-EAJI2HCK.js} +4 -4
- package/dist/{chunk-VAKUV6QI.js → chunk-EITAKLZD.js} +2 -2
- package/dist/{chunk-4YZZWHBM.js → chunk-EKVGUBEE.js} +6 -6
- package/dist/{chunk-5TIGRW6E.js → chunk-FSKZ7UXH.js} +1 -1
- package/dist/{chunk-64EU3M5O.js → chunk-GKKKRGGI.js} +2 -2
- package/dist/{chunk-SFMVHFVH.js → chunk-HKX473KB.js} +2 -2
- package/dist/chunk-INOHCKSX.js +153 -0
- package/dist/{chunk-QXOFUM6L.js → chunk-J4LFCG4M.js} +1 -1
- package/dist/{chunk-3SNUQFBZ.js → chunk-L2M5I353.js} +5 -5
- package/dist/{chunk-DZHNBZQQ.js → chunk-L4IQU6BF.js} +2 -2
- package/dist/{chunk-VLVEXVWZ.js → chunk-L4WMZWNS.js} +1 -1
- package/dist/{chunk-J4ZUH2ZP.js → chunk-NIDJ3QD5.js} +1 -1
- package/dist/chunk-NWEIQERE.js +205 -0
- package/dist/{chunk-WR3P4XWE.js → chunk-PGX7B5ZI.js} +6 -6
- package/dist/{chunk-6RCOGX6X.js → chunk-Q37IPST6.js} +3 -3
- package/dist/{chunk-MBX35AGZ.js → chunk-QKCG7UMP.js} +3 -3
- package/dist/{chunk-L5FDVVDI.js → chunk-QODWUIKG.js} +5 -5
- package/dist/{chunk-ZZVFZ7I7.js → chunk-QTWASRAE.js} +3 -3
- package/dist/{chunk-47FKFZ4S.js → chunk-QWGXDJ44.js} +3 -3
- package/dist/{chunk-5MYQ7W33.js → chunk-SP7QWHJU.js} +5 -5
- package/dist/{chunk-CVMHGZQE.js → chunk-TGWCRZOA.js} +1 -1
- package/dist/{chunk-LFCEYG5R.js → chunk-TTPSVCRY.js} +1 -1
- package/dist/{chunk-44XBQWFL.js → chunk-UCJZEAB5.js} +1 -1
- package/dist/{chunk-LXWLN4DS.js → chunk-UFMEUTKK.js} +3 -3
- package/dist/{chunk-UO5QJHXD.js → chunk-UXDJGWHZ.js} +4 -4
- package/dist/{chunk-YWNQJ4FB.js → chunk-UYEVWTDS.js} +1 -1
- package/dist/{chunk-TMVKRT2P.js → chunk-VMAP5OXR.js} +1 -1
- package/dist/{chunk-NE3BRLPL.js → chunk-WRIA2DOV.js} +2 -2
- package/dist/{chunk-NPJBY3QK.js → chunk-XGKMW4MG.js} +1 -1
- package/dist/{chunk-2JMXBZHI.js → chunk-Y2L7FXEE.js} +2 -2
- package/dist/{chunk-4I7NFPPR.js → chunk-YC5BBTPZ.js} +2 -2
- package/dist/chunk-YEN2Y62H.js +159 -0
- package/dist/{chunk-HQPE2NHR.js → chunk-YEZAILOI.js} +1 -1
- package/dist/{chunk-GRQTYLL6.js → chunk-YMDTCHEW.js} +2 -2
- package/dist/{chunk-FWIQZGWG.js → chunk-Z75MF65T.js} +1 -1
- package/dist/{chunk-WUZ4LSNY.js → chunk-ZM4AHBEK.js} +6 -6
- package/dist/chunk-ZUWVOUBT.js +270 -0
- package/dist/index.css +1001 -996
- package/dist/index.d.ts +2 -2
- package/dist/index.js +80 -74
- package/dist/inputs/src/InputGroup.css +264 -264
- package/dist/inputs/src/InputGroup.js +1 -1
- package/dist/inputs/src/NumberField.css +286 -286
- package/dist/inputs/src/NumberField.js +13 -13
- package/dist/inputs/src/PasswordField.css +274 -274
- package/dist/inputs/src/PasswordField.js +13 -13
- package/dist/inputs/src/RemainingCharacterCount.css +30 -30
- package/dist/inputs/src/RemainingCharacterCount.js +6 -6
- package/dist/inputs/src/SearchField.css +280 -280
- package/dist/inputs/src/SearchField.js +14 -14
- package/dist/inputs/src/TextArea.css +281 -281
- package/dist/inputs/src/TextArea.js +13 -13
- package/dist/inputs/src/TextField.css +278 -278
- package/dist/inputs/src/TextField.js +16 -16
- package/dist/inputs/src/index.css +324 -324
- package/dist/inputs/src/index.js +24 -24
- package/dist/overlays/Popover/src/Popover.css +2150 -3870
- package/dist/overlays/Popover/src/Popover.d.ts +1 -1
- package/dist/overlays/Popover/src/Popover.js +10 -105
- package/dist/overlays/Popover/src/PopoverContext.d.ts +1 -1
- package/dist/overlays/Popover/src/index.css +2150 -3870
- package/dist/overlays/Popover/src/index.d.ts +1 -1
- package/dist/overlays/Popover/src/index.js +11 -105
- package/dist/radio/src/DecorativeRadio.css +54 -54
- package/dist/radio/src/DecorativeRadio.js +8 -8
- package/dist/radio/src/Radio.css +46 -46
- package/dist/radio/src/Radio.js +8 -8
- package/dist/radio/src/RadioField.css +33 -33
- package/dist/radio/src/RadioField.js +2 -2
- package/dist/radio/src/RadioGroup.css +98 -98
- package/dist/radio/src/RadioGroup.js +8 -8
- package/dist/radio/src/index.css +98 -98
- package/dist/radio/src/index.js +16 -16
- package/dist/switch/src/Switch.css +43 -43
- package/dist/switch/src/Switch.js +8 -8
- package/dist/switch/src/SwitchField.css +33 -33
- package/dist/switch/src/SwitchField.d.ts +8 -3
- package/dist/switch/src/SwitchField.js +3 -1
- package/dist/switch/src/index.css +49 -49
- package/dist/switch/src/index.js +9 -9
- package/dist/tag/src/Tag.css +390 -390
- package/dist/tag/src/Tag.js +11 -11
- package/dist/tag/src/TagGroup.css +37 -37
- package/dist/tag/src/TagGroup.js +3 -3
- package/dist/tag/src/TagList.css +27 -27
- package/dist/tag/src/index.css +400 -400
- package/dist/tag/src/index.js +15 -15
- 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 +6 -6
- package/dist/utils/src/index.css +27 -27
- package/dist/utils/src/index.js +6 -6
- package/package.json +2 -1
- package/dist/chunk-UCAG6OQL.js +0 -1155
- /package/dist/{chunk-LJXTJRSB.js → chunk-DBIN32YS.js} +0 -0
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
import { TagGroupContext } from './chunk-LCAS3YQV.js';
|
|
2
|
+
import { RadioGroupContext } from './chunk-5MBJWRZD.js';
|
|
3
|
+
import { TextFieldContext } from './chunk-O4XPUINW.js';
|
|
4
|
+
import { NumberFieldContext } from './chunk-ZQ3AWYRR.js';
|
|
5
|
+
import { PasswordFieldContext } from './chunk-QW45G6K4.js';
|
|
6
|
+
import { SearchFieldContext } from './chunk-3NKF5TPD.js';
|
|
7
|
+
import { TextAreaContext } from './chunk-MHQZXLKW.js';
|
|
8
|
+
import { CheckboxGroupContext } from './chunk-N7YDPVZL.js';
|
|
9
|
+
import { CheckboxFieldContext } from './chunk-ZGNK4GWA.js';
|
|
10
|
+
import { SelectContext } from './chunk-T24MBA34.js';
|
|
11
|
+
import { FormContext } from './chunk-EURJK4ZT.js';
|
|
12
|
+
import { LinkButtonContext } from './chunk-3UQFC2NQ.js';
|
|
13
|
+
import { ButtonContext } from './chunk-WMTWFKKP.js';
|
|
14
|
+
import { CheckboxContext } from './chunk-2EAZPH3M.js';
|
|
15
|
+
import { LabelContext } from './chunk-QCA3ZR56.js';
|
|
16
|
+
import { ComboBoxContext } from './chunk-4XHTP4GX.js';
|
|
17
|
+
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
18
|
+
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
19
|
+
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
20
|
+
import clsx from 'clsx';
|
|
21
|
+
import { forwardRef } from 'react';
|
|
22
|
+
import { useContextProps, Form as Form$1 } from 'react-aria-components';
|
|
23
|
+
import { jsx } from 'react/jsx-runtime';
|
|
24
|
+
|
|
25
|
+
// css-module:./Form.module.css#css-module
|
|
26
|
+
var Form_module_default = { "hop-Form": "Form-module__hop-Form___GNIWV" };
|
|
27
|
+
var GlobalFormCssSelector = "hop-Form";
|
|
28
|
+
function Form(props, ref) {
|
|
29
|
+
var _a;
|
|
30
|
+
[props, ref] = useContextProps(props, ref, FormContext);
|
|
31
|
+
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
32
|
+
const {
|
|
33
|
+
className,
|
|
34
|
+
children,
|
|
35
|
+
style,
|
|
36
|
+
isFluid,
|
|
37
|
+
isDisabled,
|
|
38
|
+
necessityIndicator,
|
|
39
|
+
size: sizeProp,
|
|
40
|
+
...otherProps
|
|
41
|
+
} = ownProps;
|
|
42
|
+
const size = (_a = useResponsiveValue(sizeProp)) != null ? _a : "md";
|
|
43
|
+
const classNames = clsx(
|
|
44
|
+
GlobalFormCssSelector,
|
|
45
|
+
cssModule(
|
|
46
|
+
Form_module_default,
|
|
47
|
+
"hop-Form"
|
|
48
|
+
),
|
|
49
|
+
stylingProps.className,
|
|
50
|
+
className
|
|
51
|
+
);
|
|
52
|
+
const mergedStyles = {
|
|
53
|
+
...stylingProps.style,
|
|
54
|
+
...style
|
|
55
|
+
};
|
|
56
|
+
return /* @__PURE__ */ jsx(
|
|
57
|
+
SlotProvider,
|
|
58
|
+
{
|
|
59
|
+
values: [
|
|
60
|
+
[LabelContext, {
|
|
61
|
+
necessityIndicator
|
|
62
|
+
}],
|
|
63
|
+
[TextFieldContext, {
|
|
64
|
+
isDisabled,
|
|
65
|
+
isFluid,
|
|
66
|
+
necessityIndicator,
|
|
67
|
+
size
|
|
68
|
+
}],
|
|
69
|
+
[PasswordFieldContext, {
|
|
70
|
+
isDisabled,
|
|
71
|
+
isFluid,
|
|
72
|
+
necessityIndicator,
|
|
73
|
+
size
|
|
74
|
+
}],
|
|
75
|
+
[SearchFieldContext, {
|
|
76
|
+
isDisabled,
|
|
77
|
+
isFluid,
|
|
78
|
+
necessityIndicator,
|
|
79
|
+
size
|
|
80
|
+
}],
|
|
81
|
+
[NumberFieldContext, {
|
|
82
|
+
isDisabled,
|
|
83
|
+
necessityIndicator,
|
|
84
|
+
size,
|
|
85
|
+
isFluid
|
|
86
|
+
}],
|
|
87
|
+
[TextAreaContext, {
|
|
88
|
+
isDisabled,
|
|
89
|
+
necessityIndicator,
|
|
90
|
+
size,
|
|
91
|
+
isFluid
|
|
92
|
+
}],
|
|
93
|
+
[RadioGroupContext, {
|
|
94
|
+
isDisabled,
|
|
95
|
+
necessityIndicator,
|
|
96
|
+
size
|
|
97
|
+
}],
|
|
98
|
+
[CheckboxContext, {
|
|
99
|
+
isDisabled,
|
|
100
|
+
size
|
|
101
|
+
}],
|
|
102
|
+
[CheckboxFieldContext, {
|
|
103
|
+
isDisabled,
|
|
104
|
+
size
|
|
105
|
+
}],
|
|
106
|
+
[CheckboxGroupContext, {
|
|
107
|
+
isDisabled,
|
|
108
|
+
necessityIndicator,
|
|
109
|
+
size
|
|
110
|
+
}],
|
|
111
|
+
[ButtonContext, { isDisabled, size }]
|
|
112
|
+
],
|
|
113
|
+
children: /* @__PURE__ */ jsx(
|
|
114
|
+
SlotProvider,
|
|
115
|
+
{
|
|
116
|
+
values: [
|
|
117
|
+
[SelectContext, {
|
|
118
|
+
isDisabled,
|
|
119
|
+
isFluid,
|
|
120
|
+
necessityIndicator,
|
|
121
|
+
size
|
|
122
|
+
}],
|
|
123
|
+
[ComboBoxContext, {
|
|
124
|
+
isDisabled,
|
|
125
|
+
isFluid,
|
|
126
|
+
necessityIndicator,
|
|
127
|
+
size
|
|
128
|
+
}],
|
|
129
|
+
[TagGroupContext, {
|
|
130
|
+
necessityIndicator,
|
|
131
|
+
size
|
|
132
|
+
}],
|
|
133
|
+
[LinkButtonContext, { isDisabled, size }]
|
|
134
|
+
],
|
|
135
|
+
children: /* @__PURE__ */ jsx(
|
|
136
|
+
Form$1,
|
|
137
|
+
{
|
|
138
|
+
ref,
|
|
139
|
+
className: classNames,
|
|
140
|
+
style: mergedStyles,
|
|
141
|
+
...otherProps,
|
|
142
|
+
children
|
|
143
|
+
}
|
|
144
|
+
)
|
|
145
|
+
}
|
|
146
|
+
)
|
|
147
|
+
}
|
|
148
|
+
);
|
|
149
|
+
}
|
|
150
|
+
var _Form = forwardRef(Form);
|
|
151
|
+
_Form.displayName = "Form";
|
|
152
|
+
|
|
153
|
+
export { GlobalFormCssSelector, _Form };
|
|
@@ -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___a2WV-", "hop-Text--xs": "Text-module__hop-Text--xs___4UT1h", "hop-Text--sm": "Text-module__hop-Text--sm___o7IYY", "hop-Text--md": "Text-module__hop-Text--md___fw10A", "hop-Text--lg": "Text-module__hop-Text--lg___9kzD3", "hop-Text--xl": "Text-module__hop-Text--xl___mai9U", "hop-Text--2xl": "Text-module__hop-Text--2xl___aPrD3", "hop-Text--inherit": "Text-module__hop-Text--inherit___RnX6z" };
|
|
13
13
|
var GlobalTextCssSelector = "hop-Text";
|
|
14
14
|
function Text(props, ref) {
|
|
15
15
|
[props, ref] = useContextProps(props, ref, TextContext);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { isFunction } from './chunk-TIPN4VYD.js';
|
|
2
|
-
import { SectionContext } from './chunk-5H5AZJPQ.js';
|
|
3
2
|
import { ListBoxContext } from './chunk-UIEP5BA5.js';
|
|
4
|
-
import { _ListBoxItem } from './chunk-
|
|
3
|
+
import { _ListBoxItem } from './chunk-SP7QWHJU.js';
|
|
5
4
|
import { ListBoxItemContext } from './chunk-Y2POLIXK.js';
|
|
6
|
-
import {
|
|
5
|
+
import { SectionContext } from './chunk-5H5AZJPQ.js';
|
|
7
6
|
import { HeaderContext } from './chunk-7JOGKC3W.js';
|
|
8
|
-
import {
|
|
7
|
+
import { useLocalizedString } from './chunk-TFVDF4YH.js';
|
|
8
|
+
import { _Text } from './chunk-J4LFCG4M.js';
|
|
9
9
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
10
10
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
11
11
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
@@ -17,7 +17,7 @@ import { useContextProps, composeRenderProps, ListBox as ListBox$1, Collection }
|
|
|
17
17
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
18
18
|
|
|
19
19
|
// css-module:./ListBox.module.css#css-module
|
|
20
|
-
var ListBox_module_default = { "hop-ListBox": "ListBox-module__hop-
|
|
20
|
+
var ListBox_module_default = { "hop-ListBox": "ListBox-module__hop-ListBox___8T7IJ", "hop-ListBox--fluid": "ListBox-module__hop-ListBox--fluid___Okleq", "hop-ListBox__section": "ListBox-module__hop-ListBox__section___jH9A9", "hop-ListBox__item": "ListBox-module__hop-ListBox__item___aeife", "hop-ListBox__section-header": "ListBox-module__hop-ListBox__section-header___StzMM" };
|
|
21
21
|
var GlobalListBoxCssSelector = "hop-ListBox";
|
|
22
22
|
var GlobalListBoxEmptyItemCssSelector = "hop-ListBox__empty-item";
|
|
23
23
|
var ListBoxToTextSizeAdapter = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CheckboxFieldContext } from './chunk-ZGNK4GWA.js';
|
|
2
2
|
import { CheckboxContext } from './chunk-2EAZPH3M.js';
|
|
3
|
-
import { _Text } from './chunk-
|
|
3
|
+
import { _Text } from './chunk-J4LFCG4M.js';
|
|
4
4
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
5
5
|
import { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
6
6
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
@@ -14,7 +14,7 @@ import { useContextProps, composeRenderProps } from 'react-aria-components';
|
|
|
14
14
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
15
15
|
|
|
16
16
|
// css-module:./CheckboxField.module.css#css-module
|
|
17
|
-
var CheckboxField_module_default = { "hop-CheckboxField": "CheckboxField-module__hop-
|
|
17
|
+
var CheckboxField_module_default = { "hop-CheckboxField": "CheckboxField-module__hop-CheckboxField___pF9g8", "hop-CheckboxField--sm": "CheckboxField-module__hop-CheckboxField--sm___HmCmi", "hop-CheckboxField--md": "CheckboxField-module__hop-CheckboxField--md___AHeg5", "hop-CheckboxField__description": "CheckboxField-module__hop-CheckboxField__description___TbSCN", "hop-CheckboxField__checkbox": "CheckboxField-module__hop-CheckboxField__checkbox___aDFB9" };
|
|
18
18
|
var GlobalCheckboxFieldCssSelector = "hop-CheckboxField";
|
|
19
19
|
var CheckboxToDescriptionSizeAdapter = {
|
|
20
20
|
sm: "xs",
|
|
@@ -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___J9hpy", "hop-Heading--xs": "Heading-module__hop-Heading--xs___JY0NF", "hop-Heading--sm": "Heading-module__hop-Heading--sm___rhzL9", "hop-Heading--md": "Heading-module__hop-Heading--md___M0Dtn", "hop-Heading--lg": "Heading-module__hop-Heading--lg___8-kMZ", "hop-Heading--xl": "Heading-module__hop-Heading--xl___85KfN", "hop-Heading--2xl": "Heading-module__hop-Heading--2xl___wrGVh", "hop-Heading--3xl": "Heading-module__hop-Heading--3xl___RlO86" };
|
|
11
11
|
var GlobalHeadingCssSelector = "hop-Heading";
|
|
12
12
|
function Heading(props, ref) {
|
|
13
13
|
[props, ref] = useContextProps(props, ref, HeadingContext);
|
|
@@ -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___8sKdH", "hop-Label__indicator": "Label-module__hop-Label__indicator___UT93n" };
|
|
12
12
|
var GlobalLabelCssSelector = "hop-Label";
|
|
13
13
|
function Label(props, ref) {
|
|
14
14
|
[props, ref] = useContextProps(props, ref, LabelContext);
|
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
import { _SelectValue } from './chunk-5SVPP6YF.js';
|
|
2
|
+
import { _Popover } from './chunk-YEN2Y62H.js';
|
|
3
|
+
import { _Footer } from './chunk-VOZN65OL.js';
|
|
4
|
+
import { _ListBox } from './chunk-L2M5I353.js';
|
|
5
|
+
import { ensureTextWrapper } from './chunk-YEZAILOI.js';
|
|
6
|
+
import { _HelperMessage } from './chunk-YC5BBTPZ.js';
|
|
7
|
+
import { _ErrorMessage } from './chunk-WRIA2DOV.js';
|
|
8
|
+
import { SelectContext } from './chunk-T24MBA34.js';
|
|
9
|
+
import { _Label } from './chunk-NIDJ3QD5.js';
|
|
10
|
+
import { BadgeContext } from './chunk-CQDLZ42T.js';
|
|
11
|
+
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
12
|
+
import { ClearContainerSlots, ClearProviders } from './chunk-HXI3MEEK.js';
|
|
13
|
+
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
14
|
+
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
15
|
+
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
16
|
+
import { IconContext, AngleUpIcon, AngleDownIcon } from '@hopper-ui/icons';
|
|
17
|
+
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
18
|
+
import { forwardRef } from 'react';
|
|
19
|
+
import { useContextProps, composeRenderProps, TextContext as TextContext$1, ButtonContext, Select as Select$1, Button } from 'react-aria-components';
|
|
20
|
+
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
21
|
+
|
|
22
|
+
// css-module:./Select.module.css#css-module
|
|
23
|
+
var Select_module_default = { "hop-Select": "Select-module__hop-Select___eBqBc", "hop-Select--fluid": "Select-module__hop-Select--fluid___7ojqi", "hop-Select__label": "Select-module__hop-Select__label___M2zRt", "hop-Select__button": "Select-module__hop-Select__button___EM50D", "hop-Select__button--sm": "Select-module__hop-Select__button--sm___M49Tl", "hop-Select__button--md": "Select-module__hop-Select__button--md___01LXX", "hop-Select__prefix": "Select-module__hop-Select__prefix___eQt6C", "hop-Select__button-icon": "Select-module__hop-Select__button-icon___I0qRe", "hop-Select__helper-message": "Select-module__hop-Select__helper-message___uiJ4c", "hop-Select__error-message": "Select-module__hop-Select__error-message___fAlYf" };
|
|
24
|
+
var GlobalSelectCssSelector = "hop-Select";
|
|
25
|
+
function Select(props, ref) {
|
|
26
|
+
var _a, _b, _c, _d;
|
|
27
|
+
[props, ref] = useContextProps(props, ref, SelectContext);
|
|
28
|
+
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
29
|
+
const {
|
|
30
|
+
align: alignProp,
|
|
31
|
+
className,
|
|
32
|
+
children,
|
|
33
|
+
description,
|
|
34
|
+
direction: directionProp,
|
|
35
|
+
errorMessage,
|
|
36
|
+
footer,
|
|
37
|
+
isAutoMenuWidth,
|
|
38
|
+
isFluid: isFluidProp,
|
|
39
|
+
isInvalid,
|
|
40
|
+
isLoading,
|
|
41
|
+
isRequired,
|
|
42
|
+
items,
|
|
43
|
+
label,
|
|
44
|
+
listBoxProps,
|
|
45
|
+
necessityIndicator,
|
|
46
|
+
onLoadMore,
|
|
47
|
+
popoverProps,
|
|
48
|
+
prefix,
|
|
49
|
+
renderValue,
|
|
50
|
+
selectionIndicator,
|
|
51
|
+
shouldFlip,
|
|
52
|
+
size: sizeProp,
|
|
53
|
+
style: styleProp,
|
|
54
|
+
triggerProps,
|
|
55
|
+
...otherProps
|
|
56
|
+
} = ownProps;
|
|
57
|
+
const { stylingProps: triggerStylingProps, ...triggerOwnProps } = useStyledSystem(triggerProps != null ? triggerProps : {});
|
|
58
|
+
const {
|
|
59
|
+
className: triggerClassName,
|
|
60
|
+
style: triggerStyleProp,
|
|
61
|
+
...otherTriggerProps
|
|
62
|
+
} = triggerOwnProps;
|
|
63
|
+
const size = (_a = useResponsiveValue(sizeProp)) != null ? _a : "md";
|
|
64
|
+
const isFluid = (_b = useResponsiveValue(isFluidProp)) != null ? _b : false;
|
|
65
|
+
const align = (_c = useResponsiveValue(alignProp)) != null ? _c : "start";
|
|
66
|
+
const direction = (_d = useResponsiveValue(directionProp)) != null ? _d : "bottom";
|
|
67
|
+
const classNames = composeClassnameRenderProps(
|
|
68
|
+
className,
|
|
69
|
+
GlobalSelectCssSelector,
|
|
70
|
+
cssModule(
|
|
71
|
+
Select_module_default,
|
|
72
|
+
"hop-Select",
|
|
73
|
+
isFluid && "fluid",
|
|
74
|
+
size
|
|
75
|
+
),
|
|
76
|
+
stylingProps.className
|
|
77
|
+
);
|
|
78
|
+
const buttonClassNames = composeClassnameRenderProps(
|
|
79
|
+
triggerClassName,
|
|
80
|
+
cssModule(
|
|
81
|
+
Select_module_default,
|
|
82
|
+
"hop-Select__button",
|
|
83
|
+
size
|
|
84
|
+
),
|
|
85
|
+
triggerStylingProps.className
|
|
86
|
+
);
|
|
87
|
+
const style = composeRenderProps(styleProp, (prev) => {
|
|
88
|
+
return {
|
|
89
|
+
...stylingProps.style,
|
|
90
|
+
...prev
|
|
91
|
+
};
|
|
92
|
+
});
|
|
93
|
+
const triggerStyle = composeRenderProps(triggerStyleProp, (prev) => {
|
|
94
|
+
return {
|
|
95
|
+
...triggerStylingProps.style,
|
|
96
|
+
...prev
|
|
97
|
+
};
|
|
98
|
+
});
|
|
99
|
+
const prefixMarkup = prefix ? /* @__PURE__ */ jsx(
|
|
100
|
+
SlotProvider,
|
|
101
|
+
{
|
|
102
|
+
values: [
|
|
103
|
+
[TextContext, { size, className: Select_module_default["hop-Select__prefix"] }],
|
|
104
|
+
[IconContext, { size, className: Select_module_default["hop-Select__prefix"] }]
|
|
105
|
+
],
|
|
106
|
+
children: /* @__PURE__ */ jsx(ClearContainerSlots, { children: ensureTextWrapper(prefix) })
|
|
107
|
+
}
|
|
108
|
+
) : null;
|
|
109
|
+
const footerMarkup = footer ? /* @__PURE__ */ jsx(
|
|
110
|
+
ClearProviders,
|
|
111
|
+
{
|
|
112
|
+
values: [
|
|
113
|
+
TextContext$1,
|
|
114
|
+
TextContext,
|
|
115
|
+
ButtonContext
|
|
116
|
+
],
|
|
117
|
+
children: /* @__PURE__ */ jsx(
|
|
118
|
+
SlotProvider,
|
|
119
|
+
{
|
|
120
|
+
values: [
|
|
121
|
+
[TextContext, {
|
|
122
|
+
size
|
|
123
|
+
}]
|
|
124
|
+
],
|
|
125
|
+
children: /* @__PURE__ */ jsx(_Footer, { children: ensureTextWrapper(footer) })
|
|
126
|
+
}
|
|
127
|
+
)
|
|
128
|
+
}
|
|
129
|
+
) : null;
|
|
130
|
+
return /* @__PURE__ */ jsx(
|
|
131
|
+
Select$1,
|
|
132
|
+
{
|
|
133
|
+
ref,
|
|
134
|
+
className: classNames,
|
|
135
|
+
style,
|
|
136
|
+
isInvalid,
|
|
137
|
+
isRequired,
|
|
138
|
+
...otherProps,
|
|
139
|
+
children: (selectRenderProps) => {
|
|
140
|
+
const { isOpen } = selectRenderProps;
|
|
141
|
+
const ButtonIcon = isOpen ? AngleUpIcon : AngleDownIcon;
|
|
142
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
143
|
+
label && /* @__PURE__ */ jsx(
|
|
144
|
+
_Label,
|
|
145
|
+
{
|
|
146
|
+
className: Select_module_default["hop-Select__label"],
|
|
147
|
+
isRequired,
|
|
148
|
+
necessityIndicator,
|
|
149
|
+
children: label
|
|
150
|
+
}
|
|
151
|
+
),
|
|
152
|
+
/* @__PURE__ */ jsxs(
|
|
153
|
+
_Popover,
|
|
154
|
+
{
|
|
155
|
+
isAutoWidth: isAutoMenuWidth,
|
|
156
|
+
isNonDialog: true,
|
|
157
|
+
placement: `${direction} ${align}`,
|
|
158
|
+
shouldFlip,
|
|
159
|
+
...popoverProps,
|
|
160
|
+
children: [
|
|
161
|
+
/* @__PURE__ */ jsx(
|
|
162
|
+
SlotProvider,
|
|
163
|
+
{
|
|
164
|
+
values: [
|
|
165
|
+
[BadgeContext, {
|
|
166
|
+
variant: "secondary"
|
|
167
|
+
}]
|
|
168
|
+
],
|
|
169
|
+
children: /* @__PURE__ */ jsx(
|
|
170
|
+
_ListBox,
|
|
171
|
+
{
|
|
172
|
+
size,
|
|
173
|
+
isInvalid,
|
|
174
|
+
items,
|
|
175
|
+
isLoading,
|
|
176
|
+
onLoadMore,
|
|
177
|
+
selectionIndicator,
|
|
178
|
+
...listBoxProps,
|
|
179
|
+
children
|
|
180
|
+
}
|
|
181
|
+
)
|
|
182
|
+
}
|
|
183
|
+
),
|
|
184
|
+
footerMarkup
|
|
185
|
+
]
|
|
186
|
+
}
|
|
187
|
+
),
|
|
188
|
+
/* @__PURE__ */ jsxs(Button, { className: buttonClassNames, style: triggerStyle, "data-invalid": isInvalid || void 0, ...otherTriggerProps, children: [
|
|
189
|
+
prefixMarkup,
|
|
190
|
+
/* @__PURE__ */ jsx(_SelectValue, { size, children: (valueRenderProps) => {
|
|
191
|
+
return renderValue == null ? void 0 : renderValue(valueRenderProps);
|
|
192
|
+
} }),
|
|
193
|
+
/* @__PURE__ */ jsx(ButtonIcon, { size: "sm", className: Select_module_default["hop-Select__button-icon"] })
|
|
194
|
+
] }),
|
|
195
|
+
description && /* @__PURE__ */ jsx(_HelperMessage, { className: Select_module_default["hop-Select__helper-message"], children: description }),
|
|
196
|
+
/* @__PURE__ */ jsx(_ErrorMessage, { className: Select_module_default["hop-Select__error-message"], children: errorMessage })
|
|
197
|
+
] });
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
);
|
|
201
|
+
}
|
|
202
|
+
var _Select = forwardRef(Select);
|
|
203
|
+
_Select.displayName = "Select";
|
|
204
|
+
|
|
205
|
+
export { GlobalSelectCssSelector, _Select };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import { _InputGroup } from './chunk-TTPSVCRY.js';
|
|
2
|
+
import { _EmbeddedButton } from './chunk-D22VY376.js';
|
|
3
|
+
import { _HelperMessage } from './chunk-YC5BBTPZ.js';
|
|
4
|
+
import { _ErrorMessage } from './chunk-WRIA2DOV.js';
|
|
1
5
|
import { PasswordFieldContext } from './chunk-QW45G6K4.js';
|
|
2
|
-
import {
|
|
3
|
-
import { _EmbeddedButton } from './chunk-S5NKOTEO.js';
|
|
4
|
-
import { _Label } from './chunk-J4ZUH2ZP.js';
|
|
6
|
+
import { _Label } from './chunk-NIDJ3QD5.js';
|
|
5
7
|
import { useLocalizedString } from './chunk-TFVDF4YH.js';
|
|
6
|
-
import { _HelperMessage } from './chunk-4I7NFPPR.js';
|
|
7
|
-
import { _ErrorMessage } from './chunk-NE3BRLPL.js';
|
|
8
8
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
9
9
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
10
10
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
@@ -18,7 +18,7 @@ import { useContextProps, composeRenderProps, Input, TextField } from 'react-ari
|
|
|
18
18
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
19
19
|
|
|
20
20
|
// css-module:./PasswordField.module.css#css-module
|
|
21
|
-
var PasswordField_module_default = { "hop-PasswordField": "PasswordField-module__hop-
|
|
21
|
+
var PasswordField_module_default = { "hop-PasswordField": "PasswordField-module__hop-PasswordField___Ub8q5", "hop-PasswordField--fluid": "PasswordField-module__hop-PasswordField--fluid___P4-xr", "hop-PasswordField__Label": "PasswordField-module__hop-PasswordField__Label___XZ7R1", "hop-PasswordField__InputGroup": "PasswordField-module__hop-PasswordField__InputGroup___heohL", "hop-PasswordField__ErrorMessage": "PasswordField-module__hop-PasswordField__ErrorMessage___BOS-m", "hop-PasswordField__HelperMessage": "PasswordField-module__hop-PasswordField__HelperMessage___0h3hK" };
|
|
22
22
|
var GlobalPasswordFieldCssSelector = "hop-PasswordField";
|
|
23
23
|
function PasswordField(props, ref) {
|
|
24
24
|
var _a;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { TagContext } from './chunk-EWMWQ2MC.js';
|
|
2
|
-
import { TagGroupContext } from './chunk-LCAS3YQV.js';
|
|
3
2
|
import { TagListContext } from './chunk-XLKYXKWE.js';
|
|
4
|
-
import { LabelContext } from './chunk-QCA3ZR56.js';
|
|
5
3
|
import { HelperMessageContext } from './chunk-HZKFQ33E.js';
|
|
6
4
|
import { ErrorMessageContext } from './chunk-FAE27DLF.js';
|
|
5
|
+
import { TagGroupContext } from './chunk-LCAS3YQV.js';
|
|
6
|
+
import { LabelContext } from './chunk-QCA3ZR56.js';
|
|
7
7
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
8
8
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
9
9
|
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
@@ -13,7 +13,7 @@ import { useContextProps, FieldErrorContext, TagGroup as TagGroup$1 } from 'reac
|
|
|
13
13
|
import { jsx } from 'react/jsx-runtime';
|
|
14
14
|
|
|
15
15
|
// css-module:./TagGroup.module.css#css-module
|
|
16
|
-
var TagGroup_module_default = { "hop-TagGroup": "TagGroup-module__hop-
|
|
16
|
+
var TagGroup_module_default = { "hop-TagGroup": "TagGroup-module__hop-TagGroup___m-QDI", "hop-TagGroup__label": "TagGroup-module__hop-TagGroup__label___5tFpL", "hop-TagGroup__list": "TagGroup-module__hop-TagGroup__list___amws3", "hop-TagGroup__error-message": "TagGroup-module__hop-TagGroup__error-message___IH1il", "hop-TagGroup__helper-message": "TagGroup-module__hop-TagGroup__helper-message___GN9MB" };
|
|
17
17
|
var GlobalTagGroupCssSelector = "hop-TagGroup";
|
|
18
18
|
function TagGroup(props, ref) {
|
|
19
19
|
var _a;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _Text } from './chunk-
|
|
1
|
+
import { _Text } from './chunk-J4LFCG4M.js';
|
|
2
2
|
import { useImageFallback } from './chunk-LI5HSYF7.js';
|
|
3
3
|
import { AvatarContext } from './chunk-AES7QBQE.js';
|
|
4
|
-
import { _RichIconAvatarImage } from './chunk-
|
|
4
|
+
import { _RichIconAvatarImage } from './chunk-UYEVWTDS.js';
|
|
5
5
|
import { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
6
6
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
7
7
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
@@ -13,7 +13,7 @@ import { useContextProps, composeRenderProps } from 'react-aria-components';
|
|
|
13
13
|
import { jsx } from 'react/jsx-runtime';
|
|
14
14
|
|
|
15
15
|
// css-module:./Avatar.module.css#css-module
|
|
16
|
-
var Avatar_module_default = { "hop-Avatar": "Avatar-module__hop-
|
|
16
|
+
var Avatar_module_default = { "hop-Avatar": "Avatar-module__hop-Avatar___RxMSl", "hop-Avatar--xs": "Avatar-module__hop-Avatar--xs___x5XsG", "hop-Avatar--sm": "Avatar-module__hop-Avatar--sm___qtlWk", "hop-Avatar--md": "Avatar-module__hop-Avatar--md___svkVx", "hop-Avatar--lg": "Avatar-module__hop-Avatar--lg___Jtwlj", "hop-Avatar--xl": "Avatar-module__hop-Avatar--xl___-k3cH", "hop-Avatar--2xl": "Avatar-module__hop-Avatar--2xl___94vpz", "hop-Avatar--decorative-option1": "Avatar-module__hop-Avatar--decorative-option1___f2RLQ", "hop-Avatar--decorative-option2": "Avatar-module__hop-Avatar--decorative-option2___TRXUA", "hop-Avatar--decorative-option3": "Avatar-module__hop-Avatar--decorative-option3___WYVa1", "hop-Avatar--decorative-option4": "Avatar-module__hop-Avatar--decorative-option4___0qXqo", "hop-Avatar--decorative-option5": "Avatar-module__hop-Avatar--decorative-option5___eZDrV", "hop-Avatar--decorative-option6": "Avatar-module__hop-Avatar--decorative-option6___bkFw3", "hop-Avatar--decorative-option7": "Avatar-module__hop-Avatar--decorative-option7___WuK1z", "hop-Avatar--decorative-option8": "Avatar-module__hop-Avatar--decorative-option8___2dujG", "hop-Avatar--decorative-option9": "Avatar-module__hop-Avatar--decorative-option9___b-g-b", "hop-Avatar__image": "Avatar-module__hop-Avatar__image___4Pefa" };
|
|
17
17
|
var GlobalAvatarCssSelector = "hop-Avatar";
|
|
18
18
|
var AvatarToTextSizeAdapter = {
|
|
19
19
|
xs: "xs",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { RadioFieldContext } from './chunk-DGLAGYBD.js';
|
|
2
|
-
import { RadioGroupContext } from './chunk-5MBJWRZD.js';
|
|
3
2
|
import { RadioContext } from './chunk-FU5CCPLP.js';
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
3
|
+
import { _HelperMessage } from './chunk-YC5BBTPZ.js';
|
|
4
|
+
import { _ErrorMessage } from './chunk-WRIA2DOV.js';
|
|
5
|
+
import { RadioGroupContext } from './chunk-5MBJWRZD.js';
|
|
6
|
+
import { _Label } from './chunk-NIDJ3QD5.js';
|
|
7
7
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
8
8
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
9
9
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
@@ -14,7 +14,7 @@ import { useContextProps, composeRenderProps, RadioGroup as RadioGroup$1 } from
|
|
|
14
14
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
15
15
|
|
|
16
16
|
// css-module:./RadioGroup.module.css#css-module
|
|
17
|
-
var RadioGroup_module_default = { "hop-RadioGroup": "RadioGroup-module__hop-
|
|
17
|
+
var RadioGroup_module_default = { "hop-RadioGroup": "RadioGroup-module__hop-RadioGroup___e5dHf", "hop-RadioGroup--bordered": "RadioGroup-module__hop-RadioGroup--bordered___g0rIC", "hop-RadioGroup--sm": "RadioGroup-module__hop-RadioGroup--sm___BCHne", "hop-RadioGroup--md": "RadioGroup-module__hop-RadioGroup--md___MAC8B", "hop-RadioGroup__label": "RadioGroup-module__hop-RadioGroup__label___-0qi5", "hop-RadioGroup__list": "RadioGroup-module__hop-RadioGroup__list___XxNCc", "hop-RadioGroup__radio": "RadioGroup-module__hop-RadioGroup__radio___qpmvS", "hop-RadioGroup__error-message": "RadioGroup-module__hop-RadioGroup__error-message___bricg", "hop-RadioGroup__helper-message": "RadioGroup-module__hop-RadioGroup__helper-message___mIx2Y" };
|
|
18
18
|
var GlobalRadioGroupCssSelector = "hop-RadioGroup";
|
|
19
19
|
function RadioGroup(props, ref) {
|
|
20
20
|
var _a, _b, _c;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useSlot } from './chunk-H5YTU3U7.js';
|
|
2
|
-
import {
|
|
3
|
-
import { ensureTextWrapper } from './chunk-HQPE2NHR.js';
|
|
2
|
+
import { ensureTextWrapper } from './chunk-YEZAILOI.js';
|
|
4
3
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
4
|
+
import { LinkButtonContext } from './chunk-3UQFC2NQ.js';
|
|
5
5
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
6
6
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
7
7
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
@@ -13,7 +13,7 @@ import { useContextProps, composeRenderProps, DEFAULT_SLOT, Link } from 'react-a
|
|
|
13
13
|
import { jsx } from 'react/jsx-runtime';
|
|
14
14
|
|
|
15
15
|
// css-module:./LinkButton.module.css#css-module
|
|
16
|
-
var LinkButton_module_default = { "hop-LinkButton": "LinkButton-module__hop-
|
|
16
|
+
var LinkButton_module_default = { "hop-LinkButton": "LinkButton-module__hop-LinkButton___l8Nhd Button-module__hop-Button___P5aEy", "hop-LinkButton--fluid": "LinkButton-module__hop-LinkButton--fluid___CV-hC Button-module__hop-Button--fluid___9Dt2P", "hop-LinkButton--sm": "LinkButton-module__hop-LinkButton--sm___akPcH Button-module__hop-Button--sm___0VkqB", "hop-LinkButton--icon-only": "LinkButton-module__hop-LinkButton--icon-only___X-I3- Button-module__hop-Button--icon-only___nFaFf", "hop-LinkButton--primary": "LinkButton-module__hop-LinkButton--primary___rHRpc Button-module__hop-Button--primary___BYN9w", "hop-LinkButton--secondary": "LinkButton-module__hop-LinkButton--secondary___YLSbZ Button-module__hop-Button--secondary___EJZW5", "hop-LinkButton--upsell": "LinkButton-module__hop-LinkButton--upsell___965n- Button-module__hop-Button--upsell___7c4j5", "hop-LinkButton--danger": "LinkButton-module__hop-LinkButton--danger___mfaDJ Button-module__hop-Button--danger___wRa-q", "hop-LinkButton--ghost-primary": "LinkButton-module__hop-LinkButton--ghost-primary___7CqnY Button-module__hop-Button--ghost-primary___0vxZz", "hop-LinkButton--ghost-secondary": "LinkButton-module__hop-LinkButton--ghost-secondary___LIF5v Button-module__hop-Button--ghost-secondary___SegW0", "hop-LinkButton--ghost-danger": "LinkButton-module__hop-LinkButton--ghost-danger___I6ynY Button-module__hop-Button--ghost-danger___iJkRV", "hop-LinkButton__Spinner": "LinkButton-module__hop-LinkButton__Spinner___7WV4m Button-module__hop-Button__Spinner___CgxCu", "hop-LinkButton__icon": "LinkButton-module__hop-LinkButton__icon___Hcazq Button-module__hop-Button__icon___WyL6g", "hop-LinkButton__icon-list": "LinkButton-module__hop-LinkButton__icon-list___oPwy1 Button-module__hop-Button__icon___WyL6g", "hop-LinkButton__text": "LinkButton-module__hop-LinkButton__text___j8EFQ Button-module__hop-Button__text___w7fxG", "hop-LinkButton__end-icon": "LinkButton-module__hop-LinkButton__end-icon___FAXN9 Button-module__hop-Button__end-icon___gsAc-", "hop-LinkButton__end-icon-list": "LinkButton-module__hop-LinkButton__end-icon-list___j08KA Button-module__hop-Button__end-icon___gsAc-" };
|
|
17
17
|
var GlobalLinkButtonCssSelector = "hop-LinkButton";
|
|
18
18
|
function LinkButton(props, ref) {
|
|
19
19
|
var _a, _b;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ensureTextWrapper } from './chunk-HQPE2NHR.js';
|
|
1
|
+
import { ensureTextWrapper } from './chunk-YEZAILOI.js';
|
|
3
2
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
3
|
+
import { CheckboxContext } from './chunk-2EAZPH3M.js';
|
|
4
4
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
5
5
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
6
6
|
import { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
@@ -15,7 +15,7 @@ import { useContextProps, composeRenderProps } from 'react-aria-components';
|
|
|
15
15
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
16
16
|
|
|
17
17
|
// css-module:./DecorativeCheckbox.module.css#css-module
|
|
18
|
-
var DecorativeCheckbox_module_default = { "hop-DecorativeCheckbox": "DecorativeCheckbox-module__hop-
|
|
18
|
+
var DecorativeCheckbox_module_default = { "hop-DecorativeCheckbox": "DecorativeCheckbox-module__hop-DecorativeCheckbox___MHxEI Checkbox-module__hop-Checkbox___J32Yn", "hop-DecorativeCheckbox--sm": "DecorativeCheckbox-module__hop-DecorativeCheckbox--sm___67Tun Checkbox-module__hop-Checkbox--sm___7Lq9Q", "hop-DecorativeCheckbox--md": "DecorativeCheckbox-module__hop-DecorativeCheckbox--md___apMHK Checkbox-module__hop-Checkbox--md___bD05V", "hop-DecorativeCheckbox__icon": "DecorativeCheckbox-module__hop-DecorativeCheckbox__icon___fqa3R Checkbox-module__hop-Checkbox__icon___8893o", "hop-DecorativeCheckbox__icon-list": "DecorativeCheckbox-module__hop-DecorativeCheckbox__icon-list___E--Lu Checkbox-module__hop-Checkbox__icon___8893o", "hop-DecorativeCheckbox__box": "DecorativeCheckbox-module__hop-DecorativeCheckbox__box___1Pxf1 Checkbox-module__hop-Checkbox__box___syekA", "hop-DecorativeCheckbox__check": "DecorativeCheckbox-module__hop-DecorativeCheckbox__check___gugIm Checkbox-module__hop-Checkbox__check___ymFxT", "hop-DecorativeCheckbox__text": "DecorativeCheckbox-module__hop-DecorativeCheckbox__text___fCaez Checkbox-module__hop-Checkbox__text___-iCGJ" };
|
|
19
19
|
var GlobalDecorativeCheckboxCssSelector = "hop-DecorativeCheckbox";
|
|
20
20
|
function DecorativeCheckbox(props, ref) {
|
|
21
21
|
var _a;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { _DecorativeRadio } from './chunk-
|
|
2
|
-
import { _DecorativeCheckbox } from './chunk-
|
|
1
|
+
import { _DecorativeRadio } from './chunk-BOP2AQLT.js';
|
|
2
|
+
import { _DecorativeCheckbox } from './chunk-QWGXDJ44.js';
|
|
3
3
|
import { ListBoxItemContext } from './chunk-Y2POLIXK.js';
|
|
4
|
-
import { _ListBoxItemSkeleton } from './chunk-
|
|
5
|
-
import { ensureTextWrapper } from './chunk-
|
|
4
|
+
import { _ListBoxItemSkeleton } from './chunk-FSKZ7UXH.js';
|
|
5
|
+
import { ensureTextWrapper } from './chunk-YEZAILOI.js';
|
|
6
6
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
7
7
|
import { BadgeContext } from './chunk-CQDLZ42T.js';
|
|
8
8
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
@@ -18,7 +18,7 @@ import { useContextProps, composeRenderProps, ListBoxItem as ListBoxItem$1, List
|
|
|
18
18
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
19
19
|
|
|
20
20
|
// css-module:./ListBoxItem.module.css#css-module
|
|
21
|
-
var ListBoxItem_module_default = { "hop-ListBoxItem": "ListBoxItem-module__hop-
|
|
21
|
+
var ListBoxItem_module_default = { "hop-ListBoxItem": "ListBoxItem-module__hop-ListBoxItem___jr1Ak", "hop-ListBoxItem--xs": "ListBoxItem-module__hop-ListBoxItem--xs___OknpH", "hop-ListBoxItem--sm": "ListBoxItem-module__hop-ListBoxItem--sm___N3L-W", "hop-ListBoxItem--md": "ListBoxItem-module__hop-ListBoxItem--md___ENB--", "hop-ListBoxItem--lg": "ListBoxItem-module__hop-ListBoxItem--lg___lMm-L", "hop-ListBoxItem__inner": "ListBoxItem-module__hop-ListBoxItem__inner___MJr8c", "hop-ListBoxItem__checkmark": "ListBoxItem-module__hop-ListBoxItem__checkmark___zkTgo", "hop-ListBoxItem__description": "ListBoxItem-module__hop-ListBoxItem__description___SJRF2", "hop-ListBoxItem__radio": "ListBoxItem-module__hop-ListBoxItem__radio___JXeoU", "hop-ListBoxItem__checkbox": "ListBoxItem-module__hop-ListBoxItem__checkbox___ro6ox", "hop-ListBoxItem__avatar": "ListBoxItem-module__hop-ListBoxItem__avatar___zz0kW", "hop-ListBoxItem__icon-list": "ListBoxItem-module__hop-ListBoxItem__icon-list___HWhkA", "hop-ListBoxItem__icon": "ListBoxItem-module__hop-ListBoxItem__icon___y8oyC", "hop-ListBoxItem__label": "ListBoxItem-module__hop-ListBoxItem__label___y1p8c", "hop-ListBoxItem__end-icon-list": "ListBoxItem-module__hop-ListBoxItem__end-icon-list___mpLMl", "hop-ListBoxItem__end-icon": "ListBoxItem-module__hop-ListBoxItem__end-icon___Ojl-r", "hop-ListBoxItem__badge": "ListBoxItem-module__hop-ListBoxItem__badge___5Rh4d" };
|
|
22
22
|
var GlobalListBoxItemCssSelector = "hop-ListBoxItem";
|
|
23
23
|
var ListBoxItemToIconSizeAdapter = {
|
|
24
24
|
xs: "sm",
|
|
@@ -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___l95G4", "hop-OverlineText__text": "OverlineText-module__hop-OverlineText__text___nl4qL" };
|
|
11
11
|
var GlobalOverlineTextCssSelector = "hop-OverlineText";
|
|
12
12
|
function OverlineText(props, ref) {
|
|
13
13
|
[props, ref] = useContextProps(props, ref, OverlineTextContext);
|
|
@@ -10,7 +10,7 @@ import { useContextProps, useSlottedContext, InputContext, TextAreaContext, Fiel
|
|
|
10
10
|
import { jsx } from 'react/jsx-runtime';
|
|
11
11
|
|
|
12
12
|
// css-module:./InputGroup.module.css#css-module
|
|
13
|
-
var InputGroup_module_default = { "hop-InputGroup": "InputGroup-module__hop-
|
|
13
|
+
var InputGroup_module_default = { "hop-InputGroup": "InputGroup-module__hop-InputGroup___H-STx", "hop-InputGroup--fluid": "InputGroup-module__hop-InputGroup--fluid___Is4p-", "hop-InputGroup--sm": "InputGroup-module__hop-InputGroup--sm___SIL1-", "hop-InputGroup__input": "InputGroup-module__hop-InputGroup__input___cWtjZ", "hop-InputGroup__textarea": "InputGroup-module__hop-InputGroup__textarea___kNpmq", "hop-InputGroup__embedded-button": "InputGroup-module__hop-InputGroup__embedded-button___24mR2" };
|
|
14
14
|
var GlobalInputGroupCssSelector = "hop-InputGroup";
|
|
15
15
|
function InputGroup(props, ref) {
|
|
16
16
|
var _a, _b;
|