@hopper-ui/components 1.3.30 → 1.3.32
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 +12 -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/Card/src/Card.css +247 -0
- package/dist/Card/src/Card.d.ts +22 -0
- package/dist/Card/src/Card.js +7 -0
- package/dist/Card/src/CardContext.d.ts +10 -0
- package/dist/Card/src/CardContext.js +2 -0
- package/dist/Card/src/index.css +247 -0
- package/dist/Card/src/index.d.ts +7 -0
- package/dist/Card/src/index.js +7 -0
- package/dist/ComboBox/src/ComboBox.css +562 -2120
- package/dist/ComboBox/src/ComboBox.js +25 -96
- package/dist/ComboBox/src/index.css +562 -2120
- package/dist/ComboBox/src/index.js +25 -96
- 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 +11 -102
- package/dist/Form/src/index.css +1593 -1836
- package/dist/Form/src/index.js +11 -102
- 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 +8 -8
- package/dist/Link/src/index.css +49 -49
- package/dist/Link/src/index.js +8 -8
- package/dist/ListBox/src/ListBox.css +274 -274
- package/dist/ListBox/src/ListBox.js +14 -14
- package/dist/ListBox/src/ListBoxItem.css +262 -262
- package/dist/ListBox/src/ListBoxItem.js +13 -13
- 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 +14 -14
- 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 +17 -17
- 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-T62GNS7A.js → chunk-2PIWQBQ7.js} +2 -2
- package/dist/{chunk-QXOFUM6L.js → chunk-2ZAWI3VO.js} +1 -1
- package/dist/chunk-425TRLX5.js +71 -0
- package/dist/{chunk-44XBQWFL.js → chunk-4XMDZ5QF.js} +1 -1
- package/dist/{chunk-6RCOGX6X.js → chunk-52EKMM7G.js} +3 -3
- package/dist/{chunk-SJTPZSVU.js → chunk-5TE4QKZ2.js} +2 -2
- package/dist/{chunk-FWIQZGWG.js → chunk-5YGTZWHS.js} +1 -1
- package/dist/{chunk-ZZVFZ7I7.js → chunk-6XSOF5IT.js} +3 -3
- package/dist/{chunk-NPJBY3QK.js → chunk-77K422AK.js} +1 -1
- package/dist/{chunk-4YZZWHBM.js → chunk-7ITDXJPN.js} +6 -6
- package/dist/{chunk-WR3P4XWE.js → chunk-7OZNJCXL.js} +6 -6
- package/dist/chunk-7RTEFFZS.js +159 -0
- package/dist/{chunk-J2GXT52N.js → chunk-B2PZHGGT.js} +2 -2
- package/dist/{chunk-J4ZUH2ZP.js → chunk-BAX352BZ.js} +1 -1
- package/dist/{chunk-LFCEYG5R.js → chunk-F3GTLFKR.js} +1 -1
- package/dist/{chunk-2JMXBZHI.js → chunk-FXB7BBJB.js} +2 -2
- package/dist/{chunk-VLVEXVWZ.js → chunk-HPEGBHAQ.js} +1 -1
- package/dist/{chunk-CVMHGZQE.js → chunk-JHZLRSJY.js} +1 -1
- package/dist/{chunk-5MYQ7W33.js → chunk-JZV3EU5P.js} +5 -5
- package/dist/{chunk-UO5QJHXD.js → chunk-KXZYWFM3.js} +5 -5
- package/dist/{chunk-TMVKRT2P.js → chunk-MCSPPEQN.js} +1 -1
- package/dist/{chunk-VAKUV6QI.js → chunk-MMCWVCOD.js} +2 -2
- package/dist/{chunk-2MYELF25.js → chunk-MOIFFJJ3.js} +1 -1
- package/dist/{chunk-SFMVHFVH.js → chunk-MY7R6ZMF.js} +2 -2
- package/dist/{chunk-NE3BRLPL.js → chunk-N7ORIARY.js} +2 -2
- package/dist/{chunk-FVH4W7VW.js → chunk-OAUTLKSG.js} +7 -7
- package/dist/{chunk-47FKFZ4S.js → chunk-OEMWDVBB.js} +3 -3
- package/dist/{chunk-2SXSYPWT.js → chunk-OFYHUD3N.js} +2 -2
- package/dist/{chunk-WUZ4LSNY.js → chunk-PME32XAH.js} +6 -6
- package/dist/chunk-PR6Q2XJD.js +270 -0
- package/dist/{chunk-DZHNBZQQ.js → chunk-QDIICTRS.js} +2 -2
- package/dist/{chunk-CY7GW4SB.js → chunk-SMNKMZIC.js} +9 -9
- package/dist/{chunk-YWNQJ4FB.js → chunk-SWQEWYNM.js} +1 -1
- package/dist/{chunk-KUEXWJCI.js → chunk-U7NERCPG.js} +6 -6
- package/dist/{chunk-GRQTYLL6.js → chunk-UEZ6JMBX.js} +2 -2
- package/dist/{chunk-7Q6MXAW6.js → chunk-UJAYZEVR.js} +2 -2
- package/dist/{chunk-L5FDVVDI.js → chunk-UOVCHVGX.js} +4 -4
- package/dist/chunk-UYDOZLJW.js +153 -0
- package/dist/{chunk-HQPE2NHR.js → chunk-UYXVO6TB.js} +1 -1
- package/dist/chunk-V2EQFVTJ.js +7 -0
- package/dist/{chunk-LXWLN4DS.js → chunk-VYFGV7LF.js} +3 -3
- package/dist/{chunk-DOKGX5N4.js → chunk-VYNPGUH2.js} +1 -1
- package/dist/{chunk-5TIGRW6E.js → chunk-WJ6YDFFC.js} +1 -1
- package/dist/{chunk-3SNUQFBZ.js → chunk-WXP3P4KY.js} +3 -3
- package/dist/{chunk-4I7NFPPR.js → chunk-X5SCISRD.js} +2 -2
- package/dist/{chunk-6S4ZOYNF.js → chunk-XDJMIWOT.js} +4 -4
- package/dist/{chunk-MBX35AGZ.js → chunk-XTY7LASB.js} +3 -3
- package/dist/{chunk-S5NKOTEO.js → chunk-Y75VH6OP.js} +1 -1
- package/dist/chunk-YTKE4ERV.js +205 -0
- package/dist/{chunk-PHGFB7Z7.js → chunk-ZTS67CFU.js} +23 -14
- package/dist/{chunk-64EU3M5O.js → chunk-ZUL2DWRU.js} +2 -2
- package/dist/index.css +1022 -996
- package/dist/index.d.ts +4 -2
- package/dist/index.js +88 -80
- 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 +12 -12
- package/dist/inputs/src/PasswordField.css +274 -274
- package/dist/inputs/src/PasswordField.js +12 -12
- 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 +13 -13
- package/dist/inputs/src/TextArea.css +281 -281
- package/dist/inputs/src/TextArea.js +12 -12
- package/dist/inputs/src/TextField.css +278 -278
- package/dist/inputs/src/TextField.js +15 -15
- 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 +11 -106
- 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 +12 -106
- 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 +6 -6
- package/dist/radio/src/index.css +98 -98
- package/dist/radio/src/index.js +14 -14
- package/dist/switch/src/Switch.css +43 -43
- package/dist/switch/src/Switch.js +8 -8
- package/dist/switch/src/SwitchField.css +33 -33
- package/dist/switch/src/SwitchField.d.ts +8 -3
- package/dist/switch/src/SwitchField.js +4 -2
- package/dist/switch/src/index.css +49 -49
- package/dist/switch/src/index.js +10 -10
- 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 +7 -7
- package/package.json +2 -1
- package/dist/chunk-UCAG6OQL.js +0 -1155
- /package/dist/{chunk-LJXTJRSB.js → chunk-DBIN32YS.js} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useLocalizedString } from './chunk-TFVDF4YH.js';
|
|
2
|
-
import { _Text } from './chunk-
|
|
2
|
+
import { _Text } from './chunk-2ZAWI3VO.js';
|
|
3
3
|
import { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
4
4
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
5
5
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
@@ -10,7 +10,7 @@ import { composeRenderProps } from 'react-aria-components';
|
|
|
10
10
|
import { jsx } from 'react/jsx-runtime';
|
|
11
11
|
|
|
12
12
|
// css-module:./RemainingCharacterCount.module.css#css-module
|
|
13
|
-
var RemainingCharacterCount_module_default = { "hop-RemainingCharacterCount": "RemainingCharacterCount-module__hop-
|
|
13
|
+
var RemainingCharacterCount_module_default = { "hop-RemainingCharacterCount": "RemainingCharacterCount-module__hop-RemainingCharacterCount___SdAX-" };
|
|
14
14
|
var GlobalRemainingCharacterCountCssSelector = "hop-RemainingCharacterCount";
|
|
15
15
|
function RemainingCharacterCount(props, ref) {
|
|
16
16
|
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
@@ -7,7 +7,7 @@ import { useContextProps, Separator } from 'react-aria-components';
|
|
|
7
7
|
import { jsx } from 'react/jsx-runtime';
|
|
8
8
|
|
|
9
9
|
// css-module:./Divider.module.css#css-module
|
|
10
|
-
var Divider_module_default = { "hop-Divider": "Divider-module__hop-
|
|
10
|
+
var Divider_module_default = { "hop-Divider": "Divider-module__hop-Divider___TmoBL", "hop-Divider--vertical": "Divider-module__hop-Divider--vertical___WQ-0H" };
|
|
11
11
|
var GlobalDividerCssSelector = "hop-Divider";
|
|
12
12
|
function Divider(props, ref) {
|
|
13
13
|
[props, ref] = useContextProps(props, ref, DividerContext);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _OverlineText } from './chunk-
|
|
1
|
+
import { _OverlineText } from './chunk-JHZLRSJY.js';
|
|
2
2
|
import { BadgeContext } from './chunk-CQDLZ42T.js';
|
|
3
3
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
4
4
|
import { useRenderProps } from './chunk-NH3IVMXB.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___4pcJq", "hop-Badge--primary": "Badge-module__hop-Badge--primary___6XVJb", "hop-Badge--secondary": "Badge-module__hop-Badge--secondary___wRFvz", "hop-Badge--subdued": "Badge-module__hop-Badge--subdued___QK3Fi" };
|
|
27
27
|
var GlobalBadgeCssSelector = "hop-Badge";
|
|
28
28
|
function Badge(props, ref) {
|
|
29
29
|
[props, ref] = useContextProps(props, ref, BadgeContext);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ErrorMessageContext } from './chunk-FAE27DLF.js';
|
|
2
|
-
import { _Text } from './chunk-
|
|
2
|
+
import { _Text } from './chunk-2ZAWI3VO.js';
|
|
3
3
|
import { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
4
4
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
5
5
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
@@ -10,7 +10,7 @@ import { FieldErrorContext, useContextProps, composeRenderProps } from 'react-ar
|
|
|
10
10
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
11
11
|
|
|
12
12
|
// css-module:./ErrorMessage.module.css#css-module
|
|
13
|
-
var ErrorMessage_module_default = { "hop-ErrorMessage": "ErrorMessage-module__hop-
|
|
13
|
+
var ErrorMessage_module_default = { "hop-ErrorMessage": "ErrorMessage-module__hop-ErrorMessage___-OJ96", "hop-ErrorMessage__icon": "ErrorMessage-module__hop-ErrorMessage__icon___G-fBg" };
|
|
14
14
|
var GlobalErrorMessageCssSelector = "hop-ErrorMessage";
|
|
15
15
|
function ErrorMessage(props, ref) {
|
|
16
16
|
const validation = useContext(FieldErrorContext);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { useFontFaceReady } from './chunk-IU6XMS2X.js';
|
|
2
|
-
import { TextAreaContext } from './chunk-MHQZXLKW.js';
|
|
3
2
|
import { useTruncatedText } from './chunk-Z57VHYOF.js';
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { _HelperMessage } from './chunk-
|
|
8
|
-
import {
|
|
3
|
+
import { _InputGroup } from './chunk-F3GTLFKR.js';
|
|
4
|
+
import { _RemainingCharacterCount } from './chunk-MMCWVCOD.js';
|
|
5
|
+
import { TextAreaContext } from './chunk-MHQZXLKW.js';
|
|
6
|
+
import { _HelperMessage } from './chunk-X5SCISRD.js';
|
|
7
|
+
import { _Label } from './chunk-BAX352BZ.js';
|
|
8
|
+
import { _ErrorMessage } from './chunk-N7ORIARY.js';
|
|
9
9
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
10
10
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
11
11
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
@@ -78,7 +78,7 @@ function $b5e257d569688ac6$export$535bd6ca7f90a273() {
|
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
// css-module:./TextArea.module.css#css-module
|
|
81
|
-
var TextArea_module_default = { "hop-TextArea": "TextArea-module__hop-
|
|
81
|
+
var TextArea_module_default = { "hop-TextArea": "TextArea-module__hop-TextArea___KIaZD", "hop-TextArea--fluid": "TextArea-module__hop-TextArea--fluid___WCRS5", "hop-TextArea__Label": "TextArea-module__hop-TextArea__Label___9L3xU", "hop-TextArea__prefix": "TextArea-module__hop-TextArea__prefix___cehps", "hop-TextArea__InputGroup": "TextArea-module__hop-TextArea__InputGroup___xWuhF", "hop-TextArea__RemainingCharacterCount": "TextArea-module__hop-TextArea__RemainingCharacterCount___WOL0F", "hop-TextArea__textarea": "TextArea-module__hop-TextArea__textarea___idyBQ", "hop-TextArea__ErrorMessage": "TextArea-module__hop-TextArea__ErrorMessage___3vVZO", "hop-TextArea__HelperMessage": "TextArea-module__hop-TextArea__HelperMessage___y9qX5" };
|
|
82
82
|
var GlobalTextAreaCssSelector = "hop-TextArea";
|
|
83
83
|
var DefaultMinimumTextAreaRows = 3;
|
|
84
84
|
var pxToInt = (value) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ensureTextWrapper } from './chunk-HQPE2NHR.js';
|
|
1
|
+
import { ensureTextWrapper } from './chunk-UYXVO6TB.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___KYkbr Checkbox-module__hop-Checkbox___Z-y0e", "hop-DecorativeCheckbox--sm": "DecorativeCheckbox-module__hop-DecorativeCheckbox--sm___615B0 Checkbox-module__hop-Checkbox--sm___5J3HW", "hop-DecorativeCheckbox--md": "DecorativeCheckbox-module__hop-DecorativeCheckbox--md___B141G Checkbox-module__hop-Checkbox--md___PZTMw", "hop-DecorativeCheckbox__icon": "DecorativeCheckbox-module__hop-DecorativeCheckbox__icon___qoWh1 Checkbox-module__hop-Checkbox__icon___MY2sJ", "hop-DecorativeCheckbox__icon-list": "DecorativeCheckbox-module__hop-DecorativeCheckbox__icon-list___eSW-g Checkbox-module__hop-Checkbox__icon___MY2sJ", "hop-DecorativeCheckbox__box": "DecorativeCheckbox-module__hop-DecorativeCheckbox__box___Pxc1V Checkbox-module__hop-Checkbox__box___nMgAo", "hop-DecorativeCheckbox__check": "DecorativeCheckbox-module__hop-DecorativeCheckbox__check___iA-33 Checkbox-module__hop-Checkbox__check___4g1qS", "hop-DecorativeCheckbox__text": "DecorativeCheckbox-module__hop-DecorativeCheckbox__text___T6T6R Checkbox-module__hop-Checkbox__text___QBE-c" };
|
|
19
19
|
var GlobalDecorativeCheckboxCssSelector = "hop-DecorativeCheckbox";
|
|
20
20
|
function DecorativeCheckbox(props, ref) {
|
|
21
21
|
var _a;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RadioFieldContext } from './chunk-DGLAGYBD.js';
|
|
2
2
|
import { RadioContext } from './chunk-FU5CCPLP.js';
|
|
3
|
-
import { _Text } from './chunk-
|
|
3
|
+
import { _Text } from './chunk-2ZAWI3VO.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:./RadioField.module.css#css-module
|
|
17
|
-
var RadioField_module_default = { "hop-RadioField": "RadioField-module__hop-
|
|
17
|
+
var RadioField_module_default = { "hop-RadioField": "RadioField-module__hop-RadioField___i9uRv", "hop-RadioField--sm": "RadioField-module__hop-RadioField--sm___mgBvw", "hop-RadioField--md": "RadioField-module__hop-RadioField--md___H8PcX", "hop-RadioField__description": "RadioField-module__hop-RadioField__description___-rpFO", "hop-RadioField__radio": "RadioField-module__hop-RadioField__radio___4mpOv" };
|
|
18
18
|
var GlobalRadioFieldCssSelector = "hop-RadioField";
|
|
19
19
|
var RadioToDescriptionSizeAdapter = {
|
|
20
20
|
sm: "xs",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import { _InputGroup } from './chunk-F3GTLFKR.js';
|
|
2
|
+
import { _ClearButton } from './chunk-VYNPGUH2.js';
|
|
1
3
|
import { SearchFieldContext } from './chunk-3NKF5TPD.js';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { _HelperMessage } from './chunk-4I7NFPPR.js';
|
|
6
|
-
import { _ErrorMessage } from './chunk-NE3BRLPL.js';
|
|
4
|
+
import { _HelperMessage } from './chunk-X5SCISRD.js';
|
|
5
|
+
import { _Label } from './chunk-BAX352BZ.js';
|
|
6
|
+
import { _ErrorMessage } from './chunk-N7ORIARY.js';
|
|
7
7
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
8
8
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
9
9
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
@@ -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___aZb-c", "hop-SearchField--fluid": "SearchField-module__hop-SearchField--fluid___2wtRA", "hop-SearchField__Label": "SearchField-module__hop-SearchField__Label___38cX7", "hop-SearchField__prefix": "SearchField-module__hop-SearchField__prefix___GVXhK", "hop-SearchField__InputGroup": "SearchField-module__hop-SearchField__InputGroup___Pix8O", "hop-SearchField--clearable": "SearchField-module__hop-SearchField--clearable___Inua2", "hop-SearchField__ErrorMessage": "SearchField-module__hop-SearchField__ErrorMessage___eSI4J", "hop-SearchField__HelperMessage": "SearchField-module__hop-SearchField__HelperMessage___Y4l6r", "hop-SearchField__ClearButton": "SearchField-module__hop-SearchField__ClearButton___-g0yY" };
|
|
22
22
|
var GlobalSearchFieldCssSelector = "hop-SearchField";
|
|
23
23
|
function SearchField(props, ref) {
|
|
24
24
|
var _a;
|
|
@@ -0,0 +1,270 @@
|
|
|
1
|
+
import { _Popover } from './chunk-7RTEFFZS.js';
|
|
2
|
+
import { _Footer } from './chunk-VOZN65OL.js';
|
|
3
|
+
import { _ListBox } from './chunk-WXP3P4KY.js';
|
|
4
|
+
import { ensureTextWrapper } from './chunk-UYXVO6TB.js';
|
|
5
|
+
import { _HelperMessage } from './chunk-X5SCISRD.js';
|
|
6
|
+
import { _Label } from './chunk-BAX352BZ.js';
|
|
7
|
+
import { ComboBoxContext } from './chunk-4XHTP4GX.js';
|
|
8
|
+
import { _ErrorMessage } from './chunk-N7ORIARY.js';
|
|
9
|
+
import { BadgeContext } from './chunk-CQDLZ42T.js';
|
|
10
|
+
import { TextContext as TextContext$1 } from './chunk-X6SER3TZ.js';
|
|
11
|
+
import { ClearProviders, ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
12
|
+
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
13
|
+
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
14
|
+
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
15
|
+
import { IconContext, AngleUpIcon, AngleDownIcon } from '@hopper-ui/icons';
|
|
16
|
+
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
17
|
+
import { useObjectRef, mergeRefs, useResizeObserver } from '@react-aria/utils';
|
|
18
|
+
import { forwardRef, useRef, useState, useCallback } from 'react';
|
|
19
|
+
import { useContextProps, useSlottedContext, InputContext, composeRenderProps, TextContext, ButtonContext, ComboBox as ComboBox$1, Group, Input, Button } from 'react-aria-components';
|
|
20
|
+
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
21
|
+
|
|
22
|
+
// css-module:./ComboBox.module.css#css-module
|
|
23
|
+
var ComboBox_module_default = { "hop-ComboBox": "ComboBox-module__hop-ComboBox___XHuS3", "hop-ComboBox--fluid": "ComboBox-module__hop-ComboBox--fluid___rYnlH", "hop-ComboBox__label": "ComboBox-module__hop-ComboBox__label___Jzb0y", "hop-ComboBox__trigger": "ComboBox-module__hop-ComboBox__trigger___fV-1a", "hop-ComboBox__trigger--sm": "ComboBox-module__hop-ComboBox__trigger--sm___gigfO", "hop-ComboBox__trigger--md": "ComboBox-module__hop-ComboBox__trigger--md___aGyqc", "hop-ComboBox__input": "ComboBox-module__hop-ComboBox__input___3yJyH", "hop-ComboBox__button": "ComboBox-module__hop-ComboBox__button___UsOgJ", "hop-ComboBox__prefix": "ComboBox-module__hop-ComboBox__prefix___gkU12", "hop-ComboBox__button-icon": "ComboBox-module__hop-ComboBox__button-icon___Hq9L2", "hop-ComboBox__helper-message": "ComboBox-module__hop-ComboBox__helper-message___cVFuZ", "hop-ComboBox__error-message": "ComboBox-module__hop-ComboBox__error-message___8CZCp" };
|
|
24
|
+
var GlobalComboBoxCssSelector = "hop-ComboBox";
|
|
25
|
+
function ComboBox(props, ref) {
|
|
26
|
+
var _a, _b, _c, _d, _e;
|
|
27
|
+
const {
|
|
28
|
+
inputRef: userProvidedInputRef = null,
|
|
29
|
+
...propsWithoutRef
|
|
30
|
+
} = props;
|
|
31
|
+
[props, ref] = useContextProps(propsWithoutRef, ref, ComboBoxContext);
|
|
32
|
+
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
33
|
+
const {
|
|
34
|
+
align: alignProp,
|
|
35
|
+
className,
|
|
36
|
+
children,
|
|
37
|
+
description,
|
|
38
|
+
direction: directionProp,
|
|
39
|
+
errorMessage,
|
|
40
|
+
footer,
|
|
41
|
+
isAutoMenuWidth,
|
|
42
|
+
isFluid: isFluidProp,
|
|
43
|
+
isInvalid,
|
|
44
|
+
isLoading,
|
|
45
|
+
isRequired,
|
|
46
|
+
items,
|
|
47
|
+
label,
|
|
48
|
+
listBoxProps,
|
|
49
|
+
menuTrigger = "focus",
|
|
50
|
+
necessityIndicator,
|
|
51
|
+
onLoadMore,
|
|
52
|
+
popoverProps,
|
|
53
|
+
placeholder,
|
|
54
|
+
prefix,
|
|
55
|
+
selectionIndicator,
|
|
56
|
+
shouldFlip,
|
|
57
|
+
size: sizeProp,
|
|
58
|
+
style: styleProp,
|
|
59
|
+
triggerProps,
|
|
60
|
+
...otherProps
|
|
61
|
+
} = ownProps;
|
|
62
|
+
const inputRef = useObjectRef(mergeRefs(userProvidedInputRef, (_a = props.inputRef) != null ? _a : null));
|
|
63
|
+
const inputContext = useSlottedContext(InputContext);
|
|
64
|
+
const mergedInputRefs = (inputContext == null ? void 0 : inputContext.ref) ? mergeRefs(inputRef, inputContext.ref) : inputRef;
|
|
65
|
+
const triggerRef = useRef(null);
|
|
66
|
+
const buttonRef = useRef(null);
|
|
67
|
+
const [triggerWidth, setTriggerWidth] = useState(null);
|
|
68
|
+
const onResize = useCallback(() => {
|
|
69
|
+
if (triggerRef.current) {
|
|
70
|
+
setTriggerWidth(triggerRef.current.offsetWidth + "px");
|
|
71
|
+
}
|
|
72
|
+
}, [triggerRef]);
|
|
73
|
+
useResizeObserver({
|
|
74
|
+
ref: triggerRef,
|
|
75
|
+
onResize
|
|
76
|
+
});
|
|
77
|
+
const { stylingProps: triggerStylingProps, ...triggerOwnProps } = useStyledSystem(triggerProps != null ? triggerProps : {});
|
|
78
|
+
const {
|
|
79
|
+
className: triggerClassName,
|
|
80
|
+
style: triggerStyleProp,
|
|
81
|
+
...otherTriggerProps
|
|
82
|
+
} = triggerOwnProps;
|
|
83
|
+
const {
|
|
84
|
+
style: popoverStyleProp
|
|
85
|
+
} = popoverProps != null ? popoverProps : {};
|
|
86
|
+
const size = (_b = useResponsiveValue(sizeProp)) != null ? _b : "md";
|
|
87
|
+
const isFluid = (_c = useResponsiveValue(isFluidProp)) != null ? _c : false;
|
|
88
|
+
const align = (_d = useResponsiveValue(alignProp)) != null ? _d : "start";
|
|
89
|
+
const direction = (_e = useResponsiveValue(directionProp)) != null ? _e : "bottom";
|
|
90
|
+
const classNames = composeClassnameRenderProps(
|
|
91
|
+
className,
|
|
92
|
+
GlobalComboBoxCssSelector,
|
|
93
|
+
cssModule(
|
|
94
|
+
ComboBox_module_default,
|
|
95
|
+
"hop-ComboBox",
|
|
96
|
+
isFluid && "fluid",
|
|
97
|
+
size
|
|
98
|
+
),
|
|
99
|
+
stylingProps.className
|
|
100
|
+
);
|
|
101
|
+
const triggerClassNames = composeClassnameRenderProps(
|
|
102
|
+
triggerClassName,
|
|
103
|
+
cssModule(
|
|
104
|
+
ComboBox_module_default,
|
|
105
|
+
"hop-ComboBox__trigger",
|
|
106
|
+
size
|
|
107
|
+
),
|
|
108
|
+
triggerStylingProps.className
|
|
109
|
+
);
|
|
110
|
+
const buttonClassNames = composeClassnameRenderProps(
|
|
111
|
+
cssModule(
|
|
112
|
+
ComboBox_module_default,
|
|
113
|
+
"hop-ComboBox__button"
|
|
114
|
+
)
|
|
115
|
+
);
|
|
116
|
+
const inputClassNames = composeClassnameRenderProps(
|
|
117
|
+
inputContext == null ? void 0 : inputContext.className,
|
|
118
|
+
ComboBox_module_default["hop-ComboBox__input"]
|
|
119
|
+
);
|
|
120
|
+
const style = composeRenderProps(styleProp, (prev) => {
|
|
121
|
+
return {
|
|
122
|
+
...stylingProps.style,
|
|
123
|
+
...prev
|
|
124
|
+
};
|
|
125
|
+
});
|
|
126
|
+
const triggerStyle = composeRenderProps(triggerStyleProp, (prev) => {
|
|
127
|
+
return {
|
|
128
|
+
...triggerStylingProps.style,
|
|
129
|
+
...prev
|
|
130
|
+
};
|
|
131
|
+
});
|
|
132
|
+
const popoverStyle = composeRenderProps(popoverStyleProp, (prev) => {
|
|
133
|
+
return {
|
|
134
|
+
...prev,
|
|
135
|
+
"--custom-trigger-width": triggerWidth
|
|
136
|
+
};
|
|
137
|
+
});
|
|
138
|
+
const footerMarkup = footer ? /* @__PURE__ */ jsx(
|
|
139
|
+
ClearProviders,
|
|
140
|
+
{
|
|
141
|
+
values: [
|
|
142
|
+
TextContext,
|
|
143
|
+
TextContext$1,
|
|
144
|
+
ButtonContext
|
|
145
|
+
],
|
|
146
|
+
children: /* @__PURE__ */ jsx(
|
|
147
|
+
SlotProvider,
|
|
148
|
+
{
|
|
149
|
+
values: [
|
|
150
|
+
[TextContext$1, {
|
|
151
|
+
size
|
|
152
|
+
}]
|
|
153
|
+
],
|
|
154
|
+
children: /* @__PURE__ */ jsx(_Footer, { children: ensureTextWrapper(footer) })
|
|
155
|
+
}
|
|
156
|
+
)
|
|
157
|
+
}
|
|
158
|
+
) : null;
|
|
159
|
+
const handleMouseDown = useCallback((e) => {
|
|
160
|
+
if (inputRef.current && e.target !== inputRef.current && buttonRef.current && e.target !== buttonRef.current) {
|
|
161
|
+
inputRef.current.focus();
|
|
162
|
+
e.preventDefault();
|
|
163
|
+
}
|
|
164
|
+
}, [inputRef]);
|
|
165
|
+
const prefixMarkup = prefix ? /* @__PURE__ */ jsx(
|
|
166
|
+
SlotProvider,
|
|
167
|
+
{
|
|
168
|
+
values: [
|
|
169
|
+
[TextContext$1, { size, className: ComboBox_module_default["hop-ComboBox__prefix"] }],
|
|
170
|
+
[IconContext, { size, className: ComboBox_module_default["hop-ComboBox__prefix"] }]
|
|
171
|
+
],
|
|
172
|
+
children: /* @__PURE__ */ jsx(ClearContainerSlots, { children: ensureTextWrapper(prefix) })
|
|
173
|
+
}
|
|
174
|
+
) : null;
|
|
175
|
+
return /* @__PURE__ */ jsx(
|
|
176
|
+
ComboBox$1,
|
|
177
|
+
{
|
|
178
|
+
ref,
|
|
179
|
+
className: classNames,
|
|
180
|
+
style,
|
|
181
|
+
isInvalid,
|
|
182
|
+
isRequired,
|
|
183
|
+
items,
|
|
184
|
+
menuTrigger,
|
|
185
|
+
...otherProps,
|
|
186
|
+
children: (comboBoxRenderProps) => {
|
|
187
|
+
const { isOpen } = comboBoxRenderProps;
|
|
188
|
+
const ButtonIcon = isOpen ? AngleUpIcon : AngleDownIcon;
|
|
189
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
190
|
+
label && /* @__PURE__ */ jsx(
|
|
191
|
+
_Label,
|
|
192
|
+
{
|
|
193
|
+
className: ComboBox_module_default["hop-ComboBox__label"],
|
|
194
|
+
isRequired,
|
|
195
|
+
necessityIndicator,
|
|
196
|
+
children: label
|
|
197
|
+
}
|
|
198
|
+
),
|
|
199
|
+
/* @__PURE__ */ jsxs(
|
|
200
|
+
_Popover,
|
|
201
|
+
{
|
|
202
|
+
isAutoWidth: isAutoMenuWidth,
|
|
203
|
+
isNonDialog: true,
|
|
204
|
+
placement: `${direction} ${align}`,
|
|
205
|
+
shouldFlip,
|
|
206
|
+
style: popoverStyle,
|
|
207
|
+
triggerRef,
|
|
208
|
+
...popoverProps,
|
|
209
|
+
children: [
|
|
210
|
+
/* @__PURE__ */ jsx(
|
|
211
|
+
SlotProvider,
|
|
212
|
+
{
|
|
213
|
+
values: [
|
|
214
|
+
[BadgeContext, {
|
|
215
|
+
variant: "secondary"
|
|
216
|
+
}]
|
|
217
|
+
],
|
|
218
|
+
children: /* @__PURE__ */ jsx(
|
|
219
|
+
_ListBox,
|
|
220
|
+
{
|
|
221
|
+
size,
|
|
222
|
+
isInvalid,
|
|
223
|
+
items,
|
|
224
|
+
isLoading,
|
|
225
|
+
onLoadMore,
|
|
226
|
+
selectionIndicator,
|
|
227
|
+
...listBoxProps,
|
|
228
|
+
children
|
|
229
|
+
}
|
|
230
|
+
)
|
|
231
|
+
}
|
|
232
|
+
),
|
|
233
|
+
footerMarkup
|
|
234
|
+
]
|
|
235
|
+
}
|
|
236
|
+
),
|
|
237
|
+
/* @__PURE__ */ jsxs(
|
|
238
|
+
Group,
|
|
239
|
+
{
|
|
240
|
+
ref: triggerRef,
|
|
241
|
+
className: triggerClassNames,
|
|
242
|
+
style: triggerStyle,
|
|
243
|
+
onMouseDown: handleMouseDown,
|
|
244
|
+
"data-selected": isOpen || void 0,
|
|
245
|
+
...otherTriggerProps,
|
|
246
|
+
children: [
|
|
247
|
+
prefixMarkup,
|
|
248
|
+
/* @__PURE__ */ jsx(
|
|
249
|
+
Input,
|
|
250
|
+
{
|
|
251
|
+
ref: mergedInputRefs,
|
|
252
|
+
className: inputClassNames,
|
|
253
|
+
placeholder
|
|
254
|
+
}
|
|
255
|
+
),
|
|
256
|
+
/* @__PURE__ */ jsx(Button, { className: buttonClassNames, ref: buttonRef, children: /* @__PURE__ */ jsx(ButtonIcon, { size: "sm", className: ComboBox_module_default["hop-ComboBox__button-icon"] }) })
|
|
257
|
+
]
|
|
258
|
+
}
|
|
259
|
+
),
|
|
260
|
+
description && /* @__PURE__ */ jsx(_HelperMessage, { className: ComboBox_module_default["hop-ComboBox__helper-message"], children: description }),
|
|
261
|
+
/* @__PURE__ */ jsx(_ErrorMessage, { className: ComboBox_module_default["hop-ComboBox__error-message"], children: errorMessage })
|
|
262
|
+
] });
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
);
|
|
266
|
+
}
|
|
267
|
+
var _ComboBox = forwardRef(ComboBox);
|
|
268
|
+
_ComboBox.displayName = "ComboBox";
|
|
269
|
+
|
|
270
|
+
export { GlobalComboBoxCssSelector, _ComboBox };
|
|
@@ -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-2ZAWI3VO.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___wCqNN", "hop-CheckboxField--sm": "CheckboxField-module__hop-CheckboxField--sm___qR6mK", "hop-CheckboxField--md": "CheckboxField-module__hop-CheckboxField--md___dl-jS", "hop-CheckboxField__description": "CheckboxField-module__hop-CheckboxField__description___0zRU3", "hop-CheckboxField__checkbox": "CheckboxField-module__hop-CheckboxField__checkbox___5-89Z" };
|
|
18
18
|
var GlobalCheckboxFieldCssSelector = "hop-CheckboxField";
|
|
19
19
|
var CheckboxToDescriptionSizeAdapter = {
|
|
20
20
|
sm: "xs",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { TextFieldContext } from './chunk-O4XPUINW.js';
|
|
2
1
|
import { useTruncatedText } from './chunk-Z57VHYOF.js';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { _ClearButton } from './chunk-
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { _HelperMessage } from './chunk-
|
|
9
|
-
import {
|
|
2
|
+
import { _InputGroup } from './chunk-F3GTLFKR.js';
|
|
3
|
+
import { _RemainingCharacterCount } from './chunk-MMCWVCOD.js';
|
|
4
|
+
import { _ClearButton } from './chunk-VYNPGUH2.js';
|
|
5
|
+
import { TextFieldContext } from './chunk-O4XPUINW.js';
|
|
6
|
+
import { ensureTextWrapper } from './chunk-UYXVO6TB.js';
|
|
7
|
+
import { _HelperMessage } from './chunk-X5SCISRD.js';
|
|
8
|
+
import { _Label } from './chunk-BAX352BZ.js';
|
|
9
|
+
import { _ErrorMessage } from './chunk-N7ORIARY.js';
|
|
10
10
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
11
11
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
12
12
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
@@ -23,7 +23,7 @@ import { useContextProps, composeRenderProps, Input, TextField as TextField$1 }
|
|
|
23
23
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
24
24
|
|
|
25
25
|
// css-module:./TextField.module.css#css-module
|
|
26
|
-
var TextField_module_default = { "hop-TextField": "TextField-module__hop-
|
|
26
|
+
var TextField_module_default = { "hop-TextField": "TextField-module__hop-TextField___-8i4v", "hop-TextField--fluid": "TextField-module__hop-TextField--fluid___J5STF", "hop-TextField__Label": "TextField-module__hop-TextField__Label___-7Pm3", "hop-TextField__prefix": "TextField-module__hop-TextField__prefix___uEmAs", "hop-TextField__InputGroup": "TextField-module__hop-TextField__InputGroup___2pRwn", "hop-TextField__ErrorMessage": "TextField-module__hop-TextField__ErrorMessage___4agXz", "hop-TextField__HelperMessage": "TextField-module__hop-TextField__HelperMessage___JbReR" };
|
|
27
27
|
var GlobalTextFieldCssSelector = "hop-TextField";
|
|
28
28
|
function TextField(props, ref) {
|
|
29
29
|
var _a;
|
|
@@ -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___sciln", "hop-RichIconAvatarImage--xs": "RichIconAvatarImage-module__hop-RichIconAvatarImage--xs___0t8wK", "hop-RichIconAvatarImage--sm": "RichIconAvatarImage-module__hop-RichIconAvatarImage--sm___qbuKo", "hop-RichIconAvatarImage--md": "RichIconAvatarImage-module__hop-RichIconAvatarImage--md___Thvly", "hop-RichIconAvatarImage--lg": "RichIconAvatarImage-module__hop-RichIconAvatarImage--lg___CH9ui", "hop-RichIconAvatarImage--xl": "RichIconAvatarImage-module__hop-RichIconAvatarImage--xl___Kx4LY", "hop-RichIconAvatarImage--2xl": "RichIconAvatarImage-module__hop-RichIconAvatarImage--2xl___pPJGO", "hop-RichIconAvatarImage__icon": "RichIconAvatarImage-module__hop-RichIconAvatarImage__icon___qdQ1m" };
|
|
15
15
|
var GlobalRichIconAvatarImageCssSelector = "hop-RichIconAvatarImage";
|
|
16
16
|
var AvatarToIconSizeAdapter = {
|
|
17
17
|
xs: "md",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { useScale } from './chunk-MTDFS4CZ.js';
|
|
2
|
+
import { _InputGroup } from './chunk-F3GTLFKR.js';
|
|
2
3
|
import { NumberFieldContext } from './chunk-ZQ3AWYRR.js';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { _Label } from './chunk-
|
|
6
|
-
import {
|
|
7
|
-
import { _ErrorMessage } from './chunk-NE3BRLPL.js';
|
|
4
|
+
import { ensureTextWrapper } from './chunk-UYXVO6TB.js';
|
|
5
|
+
import { _HelperMessage } from './chunk-X5SCISRD.js';
|
|
6
|
+
import { _Label } from './chunk-BAX352BZ.js';
|
|
7
|
+
import { _ErrorMessage } from './chunk-N7ORIARY.js';
|
|
8
8
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
9
9
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
10
10
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
@@ -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___SzZFL", "hop-NumberField--fluid": "NumberField-module__hop-NumberField--fluid___HAcFD", "hop-NumberField--mobile": "NumberField-module__hop-NumberField--mobile___o5jp-", "hop-NumberField__Label": "NumberField-module__hop-NumberField__Label___wyxWA", "hop-NumberField__prefix": "NumberField-module__hop-NumberField__prefix___W9qgl", "hop-NumberField__InputGroup": "NumberField-module__hop-NumberField__InputGroup___bhQ-m", "hop-NumberField__ErrorMessage": "NumberField-module__hop-NumberField__ErrorMessage___P4JtX", "hop-NumberField__HelperMessage": "NumberField-module__hop-NumberField__HelperMessage___4Ow7r", "hop-NumberField__stepper-button": "NumberField-module__hop-NumberField__stepper-button___1vuYG", "hop-NumberField__stepper-button--increment": "NumberField-module__hop-NumberField__stepper-button--increment___wtqxH", "hop-NumberField__stepper-button--decrement": "NumberField-module__hop-NumberField__stepper-button--decrement___Js9Gj", "hop-NumberField__stepper-button--mobile": "NumberField-module__hop-NumberField__stepper-button--mobile___AomVg", "hop-NumberField__stepper-button__icon": "NumberField-module__hop-NumberField__stepper-button__icon___muxeR", "hop-NumberField__input": "NumberField-module__hop-NumberField__input___g2VOC" };
|
|
25
25
|
var GlobalNumberFieldCssSelector = "hop-NumberField";
|
|
26
26
|
var StepperButton = ({ direction }) => {
|
|
27
27
|
const scale = useScale();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { ButtonGroupContext } from './chunk-VJQ7M2BK.js';
|
|
1
2
|
import { LinkButtonContext } from './chunk-3UQFC2NQ.js';
|
|
2
3
|
import { ButtonContext } from './chunk-WMTWFKKP.js';
|
|
3
|
-
import { ButtonGroupContext } from './chunk-VJQ7M2BK.js';
|
|
4
4
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
5
5
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
6
6
|
import { slot, useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
@@ -11,7 +11,7 @@ import { useContextProps } from 'react-aria-components';
|
|
|
11
11
|
import { jsx } from 'react/jsx-runtime';
|
|
12
12
|
|
|
13
13
|
// css-module:./ButtonGroup.module.css#css-module
|
|
14
|
-
var ButtonGroup_module_default = { "hop-ButtonGroup": "ButtonGroup-module__hop-
|
|
14
|
+
var ButtonGroup_module_default = { "hop-ButtonGroup": "ButtonGroup-module__hop-ButtonGroup___qZZvz", "hop-ButtonGroup--horizontal": "ButtonGroup-module__hop-ButtonGroup--horizontal___BqExP", "hop-ButtonGroup--vertical": "ButtonGroup-module__hop-ButtonGroup--vertical___Y1h0w", "hop-ButtonGroup--start": "ButtonGroup-module__hop-ButtonGroup--start___4uIzc", "hop-ButtonGroup--center": "ButtonGroup-module__hop-ButtonGroup--center___QMUIS", "hop-ButtonGroup--end": "ButtonGroup-module__hop-ButtonGroup--end___0X0T1", "hop-ButtonGroup--wrap": "ButtonGroup-module__hop-ButtonGroup--wrap___oVOWS", "hop-ButtonGroup--fluid": "ButtonGroup-module__hop-ButtonGroup--fluid___c11bZ" };
|
|
15
15
|
var GlobalButtonGroupCssSelector = "hop-ButtonGroup";
|
|
16
16
|
function ButtonGroup(props, ref) {
|
|
17
17
|
var _a, _b, _c, _d;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { RadioContext } from './chunk-FU5CCPLP.js';
|
|
2
|
-
import { ensureTextWrapper } from './chunk-
|
|
2
|
+
import { ensureTextWrapper } from './chunk-UYXVO6TB.js';
|
|
3
3
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
4
4
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
5
5
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.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:./DecorativeRadio.module.css#css-module
|
|
18
|
-
var DecorativeRadio_module_default = { "hop-DecorativeRadio": "DecorativeRadio-module__hop-
|
|
18
|
+
var DecorativeRadio_module_default = { "hop-DecorativeRadio": "DecorativeRadio-module__hop-DecorativeRadio___5l24i Radio-module__hop-Radio___dqo1a", "hop-DecorativeRadio--sm": "DecorativeRadio-module__hop-DecorativeRadio--sm___xVSDX Radio-module__hop-Radio--sm___kXHtb", "hop-DecorativeRadio--md": "DecorativeRadio-module__hop-DecorativeRadio--md___ZG2HZ Radio-module__hop-Radio--md___9-Uza", "hop-DecorativeRadio__icon": "DecorativeRadio-module__hop-DecorativeRadio__icon___ClgPx Radio-module__hop-Radio__icon___-IP5F", "hop-DecorativeRadio__icon-list": "DecorativeRadio-module__hop-DecorativeRadio__icon-list___w9Km2 Radio-module__hop-Radio__icon___-IP5F", "hop-DecorativeRadio__box": "DecorativeRadio-module__hop-DecorativeRadio__box___MYQ-F Radio-module__hop-Radio__box___13G2q", "hop-DecorativeRadio__bullet": "DecorativeRadio-module__hop-DecorativeRadio__bullet___c0sPv Radio-module__hop-Radio__bullet___G4ui2", "hop-DecorativeRadio__text": "DecorativeRadio-module__hop-DecorativeRadio__text___AC1V9 Radio-module__hop-Radio__text___h2OQE" };
|
|
19
19
|
var GlobalDecorativeRadioCssSelector = "hop-DecorativeRadio";
|
|
20
20
|
function DecorativeRadio(props, ref) {
|
|
21
21
|
var _a;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { RadioFieldContext } from './chunk-DGLAGYBD.js';
|
|
2
2
|
import { RadioGroupContext } from './chunk-5MBJWRZD.js';
|
|
3
3
|
import { RadioContext } from './chunk-FU5CCPLP.js';
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { _ErrorMessage } from './chunk-
|
|
4
|
+
import { _HelperMessage } from './chunk-X5SCISRD.js';
|
|
5
|
+
import { _Label } from './chunk-BAX352BZ.js';
|
|
6
|
+
import { _ErrorMessage } from './chunk-N7ORIARY.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___CoiPr", "hop-RadioGroup--bordered": "RadioGroup-module__hop-RadioGroup--bordered___SgmMj", "hop-RadioGroup--sm": "RadioGroup-module__hop-RadioGroup--sm___TFTYI", "hop-RadioGroup--md": "RadioGroup-module__hop-RadioGroup--md___QnMhM", "hop-RadioGroup__label": "RadioGroup-module__hop-RadioGroup__label___7wadH", "hop-RadioGroup__list": "RadioGroup-module__hop-RadioGroup__list___8yU6S", "hop-RadioGroup__radio": "RadioGroup-module__hop-RadioGroup__radio___35VDB", "hop-RadioGroup__error-message": "RadioGroup-module__hop-RadioGroup__error-message___sTi-m", "hop-RadioGroup__helper-message": "RadioGroup-module__hop-RadioGroup__helper-message___-QTtZ" };
|
|
18
18
|
var GlobalRadioGroupCssSelector = "hop-RadioGroup";
|
|
19
19
|
function RadioGroup(props, ref) {
|
|
20
20
|
var _a, _b, _c;
|