@hopper-ui/components 1.0.11 → 1.0.12
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 +7 -0
- package/dist/Avatar/src/AnonymousAvatar.css +10 -10
- package/dist/Avatar/src/AnonymousAvatar.js +2 -2
- package/dist/Avatar/src/Avatar.css +37 -37
- package/dist/Avatar/src/Avatar.js +3 -3
- package/dist/Avatar/src/DeletedAvatar.css +10 -10
- package/dist/Avatar/src/DeletedAvatar.js +2 -2
- package/dist/Avatar/src/RichIconAvatarImage.css +10 -10
- package/dist/Avatar/src/RichIconAvatarImage.js +1 -1
- package/dist/Avatar/src/index.css +37 -37
- package/dist/Avatar/src/index.js +5 -5
- package/dist/Badge/src/Badge.css +10 -10
- package/dist/Badge/src/Badge.js +2 -2
- package/dist/Badge/src/index.css +10 -10
- package/dist/Badge/src/index.js +2 -2
- package/dist/Chip/src/Chip.css +33 -33
- package/dist/Chip/src/Chip.js +2 -2
- package/dist/Chip/src/index.css +33 -33
- package/dist/Chip/src/index.js +2 -2
- package/dist/Divider/src/Divider.css +2 -2
- package/dist/Divider/src/Divider.js +1 -1
- package/dist/Divider/src/index.css +2 -2
- package/dist/Divider/src/index.js +1 -1
- package/dist/ErrorMessage/src/ErrorMessage.css +11 -11
- package/dist/ErrorMessage/src/ErrorMessage.js +2 -2
- package/dist/ErrorMessage/src/index.css +11 -11
- package/dist/ErrorMessage/src/index.js +2 -2
- package/dist/HelperMessage/src/HelperMessage.css +11 -11
- package/dist/HelperMessage/src/HelperMessage.js +2 -2
- package/dist/HelperMessage/src/index.css +11 -11
- package/dist/HelperMessage/src/index.js +2 -2
- package/dist/IconList/src/IconList.css +1 -1
- package/dist/IconList/src/IconList.js +1 -1
- package/dist/IconList/src/index.css +1 -1
- package/dist/IconList/src/index.js +1 -1
- package/dist/Link/src/Link.css +31 -31
- package/dist/Link/src/Link.js +2 -2
- package/dist/Link/src/index.css +31 -31
- package/dist/Link/src/index.js +2 -2
- package/dist/ListBox/src/ListBox.css +179 -256
- package/dist/ListBox/src/ListBox.js +9 -9
- package/dist/ListBox/src/ListBoxItem.css +164 -241
- package/dist/ListBox/src/ListBoxItem.js +8 -8
- package/dist/ListBox/src/ListBoxItemSkeleton.css +7 -7
- package/dist/ListBox/src/ListBoxItemSkeleton.js +1 -1
- package/dist/ListBox/src/index.css +179 -256
- package/dist/ListBox/src/index.js +9 -9
- package/dist/Spinner/src/Spinner.css +83 -83
- package/dist/Spinner/src/Spinner.js +5 -3
- package/dist/Spinner/src/index.css +83 -83
- package/dist/Spinner/src/index.js +5 -3
- package/dist/buttons/src/Button.css +153 -233
- package/dist/buttons/src/Button.js +3 -5
- package/dist/buttons/src/ButtonGroup.css +11 -11
- package/dist/buttons/src/ButtonGroup.js +1 -1
- package/dist/buttons/src/ClearButton.css +12 -12
- package/dist/buttons/src/ClearButton.js +2 -2
- package/dist/buttons/src/EmbeddedButton.css +12 -12
- package/dist/buttons/src/EmbeddedButton.js +1 -1
- package/dist/buttons/src/index.css +176 -256
- package/dist/buttons/src/index.js +6 -8
- package/dist/checkbox/src/Checkbox.css +31 -37
- package/dist/checkbox/src/Checkbox.js +2 -2
- package/dist/checkbox/src/CheckboxField.css +15 -15
- package/dist/checkbox/src/CheckboxField.js +1 -1
- package/dist/checkbox/src/CheckboxGroup.css +70 -140
- package/dist/checkbox/src/CheckboxGroup.js +2 -2
- package/dist/checkbox/src/index.css +70 -140
- package/dist/checkbox/src/index.js +5 -5
- package/dist/{chunk-BRIG7AIE.js → chunk-26DZ7VIM.js} +2 -2
- package/dist/{chunk-L2HJORV2.js → chunk-2EWSXUKP.js} +3 -4
- package/dist/{chunk-B3EA6PO5.js → chunk-37ZFOV4F.js} +3 -4
- package/dist/{chunk-PPO5T6D3.js → chunk-4GSKU4TS.js} +1 -1
- package/dist/{chunk-ZINTZZLE.js → chunk-4RGYMJVX.js} +1 -1
- package/dist/{chunk-TYMV4JQ2.js → chunk-5O2R6OZD.js} +2 -2
- package/dist/{chunk-B5563GK3.js → chunk-AV6EXKJL.js} +4 -4
- package/dist/{chunk-WQPDNKWM.js → chunk-B57SRQ7N.js} +1 -1
- package/dist/{chunk-4SPQFKVC.js → chunk-C6HQZUJC.js} +2 -2
- package/dist/{chunk-LRJ5ZWXY.js → chunk-EUVNSKLC.js} +1 -1
- package/dist/{chunk-HTM3ZSBX.js → chunk-F54JRMFF.js} +1 -1
- package/dist/{chunk-P62FAV3S.js → chunk-FMYIFMMF.js} +1 -1
- package/dist/{chunk-GAPQ6VJL.js → chunk-GF4GFADL.js} +3 -3
- package/dist/{chunk-YLUVOHHC.js → chunk-GLJ23R4O.js} +1 -1
- package/dist/{chunk-TP6OU6SQ.js → chunk-H47QYKHU.js} +5 -5
- package/dist/{chunk-JTX4ZTQ6.js → chunk-HAJOOYIY.js} +3 -3
- package/dist/{chunk-5VWMGH3R.js → chunk-JHCYXGZQ.js} +1 -1
- package/dist/{chunk-K7RORXVD.js → chunk-KHBGN72O.js} +2 -2
- package/dist/{chunk-QQBJ4REK.js → chunk-L6GOPZJM.js} +4 -7
- package/dist/{chunk-GDCTBE7C.js → chunk-LPNAHCYD.js} +2 -2
- package/dist/chunk-MTDFS4CZ.js +12 -0
- package/dist/{chunk-AB24MF66.js → chunk-OPVD3ERM.js} +2 -2
- package/dist/{chunk-NFOY572L.js → chunk-OQ4PSWC7.js} +2 -2
- package/dist/{chunk-WC72FIUS.js → chunk-OWUGMRU6.js} +3 -3
- package/dist/{chunk-KUX5YOEF.js → chunk-QCUDNLBI.js} +1 -1
- package/dist/{chunk-7PFCZHVB.js → chunk-R5TKT4GV.js} +5 -4
- package/dist/{chunk-I3OSQDQM.js → chunk-RHZPF2YH.js} +2 -2
- package/dist/{chunk-RYSCBMR6.js → chunk-TRIFBDZE.js} +1 -1
- package/dist/{chunk-3XZXPN6Y.js → chunk-UG2GABQI.js} +3 -3
- package/dist/{chunk-OFNA3Y6A.js → chunk-USYSDGSI.js} +9 -5
- package/dist/{chunk-OWWIZWZA.js → chunk-UZWPP6WB.js} +1 -1
- package/dist/{chunk-EZX4K3AY.js → chunk-VIJAZ3D6.js} +2 -2
- package/dist/{chunk-BKYHKRAJ.js → chunk-W6AZ2ZWU.js} +1 -1
- package/dist/{chunk-N65OIMRV.js → chunk-WKTV56XG.js} +3 -4
- package/dist/{chunk-UAKDD5TO.js → chunk-WQ2IDC5N.js} +6 -6
- package/dist/{chunk-7GVDINGU.js → chunk-XVFY4N5S.js} +1 -1
- package/dist/{chunk-W5DFK35A.js → chunk-YKLQWMUL.js} +6 -6
- package/dist/{chunk-5SHNL47W.js → chunk-Z4S37Y6Z.js} +1 -1
- package/dist/chunk-ZQ3AWYRR.js +7 -0
- package/dist/index.css +466 -570
- package/dist/index.d.ts +1 -0
- package/dist/index.js +47 -46
- package/dist/inputs/src/InputGroup.css +14 -12
- package/dist/inputs/src/InputGroup.d.ts +1 -0
- package/dist/inputs/src/InputGroup.js +1 -1
- package/dist/inputs/src/NumberField.css +517 -0
- package/dist/inputs/src/NumberField.d.ts +37 -0
- package/dist/inputs/src/NumberField.js +177 -0
- package/dist/inputs/src/NumberFieldContext.d.ts +8 -0
- package/dist/inputs/src/NumberFieldContext.js +2 -0
- package/dist/inputs/src/PasswordField.css +231 -303
- package/dist/inputs/src/PasswordField.js +8 -8
- package/dist/inputs/src/SearchField.css +237 -308
- package/dist/inputs/src/SearchField.js +9 -9
- package/dist/inputs/src/TextField.css +232 -304
- package/dist/inputs/src/TextField.js +9 -9
- package/dist/inputs/src/index.css +250 -341
- package/dist/inputs/src/index.js +12 -12
- package/dist/overlays/Popover/src/Popover.css +466 -570
- package/dist/overlays/Popover/src/Popover.js +47 -46
- package/dist/overlays/Popover/src/index.css +466 -570
- package/dist/overlays/Popover/src/index.js +47 -46
- package/dist/radio/src/Radio.css +31 -38
- package/dist/radio/src/Radio.js +2 -2
- package/dist/radio/src/RadioField.css +15 -15
- package/dist/radio/src/RadioField.js +2 -2
- package/dist/radio/src/RadioGroup.css +70 -141
- package/dist/radio/src/RadioGroup.js +2 -2
- package/dist/radio/src/index.css +70 -141
- package/dist/radio/src/index.js +5 -5
- package/dist/switch/src/Switch.css +25 -25
- package/dist/switch/src/Switch.js +2 -2
- package/dist/switch/src/SwitchField.css +15 -15
- package/dist/switch/src/SwitchField.js +1 -1
- package/dist/switch/src/index.css +31 -31
- package/dist/switch/src/index.js +3 -3
- package/dist/tag/src/Tag.css +466 -570
- package/dist/tag/src/Tag.js +47 -46
- package/dist/tag/src/TagGroup.css +32 -96
- package/dist/tag/src/TagGroup.js +2 -2
- package/dist/tag/src/index.css +466 -570
- package/dist/tag/src/index.js +47 -46
- package/dist/typography/Heading/src/Heading.css +9 -9
- package/dist/typography/Heading/src/Heading.js +1 -1
- package/dist/typography/Heading/src/index.css +9 -9
- package/dist/typography/Heading/src/index.js +1 -1
- package/dist/typography/Label/src/Label.css +13 -77
- package/dist/typography/Label/src/Label.d.ts +1 -6
- package/dist/typography/Label/src/Label.js +1 -1
- package/dist/typography/Label/src/index.css +13 -77
- package/dist/typography/Label/src/index.js +1 -1
- package/dist/typography/OverlineText/src/OverlineText.css +6 -6
- package/dist/typography/OverlineText/src/OverlineText.js +1 -1
- package/dist/typography/OverlineText/src/index.css +6 -6
- package/dist/typography/OverlineText/src/index.js +1 -1
- package/dist/typography/Text/src/Text.css +9 -9
- package/dist/typography/Text/src/Text.js +1 -1
- package/dist/typography/Text/src/index.css +9 -9
- package/dist/typography/Text/src/index.js +1 -1
- package/dist/utils/src/index.d.ts +1 -0
- package/dist/utils/src/index.js +1 -0
- package/dist/utils/src/useScale.d.ts +11 -0
- package/dist/utils/src/useScale.js +2 -0
- package/package.json +2 -2
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { PasswordFieldContext } from './chunk-QW45G6K4.js';
|
|
2
|
-
import { _InputGroup } from './chunk-
|
|
3
|
-
import { _EmbeddedButton } from './chunk-
|
|
4
|
-
import { useLocalizedString } from './chunk-YEYNRBMQ.js';
|
|
2
|
+
import { _InputGroup } from './chunk-R5TKT4GV.js';
|
|
3
|
+
import { _EmbeddedButton } from './chunk-QCUDNLBI.js';
|
|
5
4
|
import { LabelContext } from './chunk-QCA3ZR56.js';
|
|
5
|
+
import { useLocalizedString } from './chunk-YEYNRBMQ.js';
|
|
6
6
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
7
7
|
import { HelperMessageContext } from './chunk-HZKFQ33E.js';
|
|
8
8
|
import { ErrorMessageContext } from './chunk-FAE27DLF.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___tGAnL", "hop-PasswordField--fluid": "PasswordField-module__hop-PasswordField--fluid___zmJOU", "hop-PasswordField__Label": "PasswordField-module__hop-PasswordField__Label___Cs2zX", "hop-PasswordField__InputGroup": "PasswordField-module__hop-PasswordField__InputGroup___Z-QX5", "hop-PasswordField__ErrorMessage": "PasswordField-module__hop-PasswordField__ErrorMessage___NyfMK", "hop-PasswordField__HelperMessage": "PasswordField-module__hop-PasswordField__HelperMessage___bPO4D" };
|
|
22
22
|
var GlobalPasswordFieldCssSelector = "hop-PasswordField";
|
|
23
23
|
function PasswordField(props, ref) {
|
|
24
24
|
var _a;
|
|
@@ -11,7 +11,7 @@ import { useContextProps } from 'react-aria-components';
|
|
|
11
11
|
import { jsx } from 'react/jsx-runtime';
|
|
12
12
|
|
|
13
13
|
// css-module:./CheckboxField.module.css#css-module
|
|
14
|
-
var CheckboxField_module_default = { "hop-CheckboxField": "CheckboxField-module__hop-
|
|
14
|
+
var CheckboxField_module_default = { "hop-CheckboxField": "CheckboxField-module__hop-CheckboxField___OAoPo", "hop-CheckboxField--sm": "CheckboxField-module__hop-CheckboxField--sm___inSFS", "hop-CheckboxField--md": "CheckboxField-module__hop-CheckboxField--md___G9ND4", "hop-CheckboxField__description": "CheckboxField-module__hop-CheckboxField__description___OWGfn", "hop-CheckboxField__checkbox": "CheckboxField-module__hop-CheckboxField__checkbox___WBIi-" };
|
|
15
15
|
var GlobalCheckboxFieldCssSelector = "hop-CheckboxField";
|
|
16
16
|
var CheckboxToDescriptionSizeAdapter = {
|
|
17
17
|
sm: "xs",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { RadioFieldContext } from './chunk-DGLAGYBD.js';
|
|
2
1
|
import { RadioContext } from './chunk-FU5CCPLP.js';
|
|
2
|
+
import { RadioFieldContext } from './chunk-DGLAGYBD.js';
|
|
3
3
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
4
4
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
5
5
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
@@ -12,7 +12,7 @@ import { useContextProps } from 'react-aria-components';
|
|
|
12
12
|
import { jsx } from 'react/jsx-runtime';
|
|
13
13
|
|
|
14
14
|
// css-module:./RadioField.module.css#css-module
|
|
15
|
-
var RadioField_module_default = { "hop-RadioField": "RadioField-module__hop-
|
|
15
|
+
var RadioField_module_default = { "hop-RadioField": "RadioField-module__hop-RadioField___9jNWZ", "hop-RadioField--sm": "RadioField-module__hop-RadioField--sm___W0W-v", "hop-RadioField--md": "RadioField-module__hop-RadioField--md___T8Hql", "hop-RadioField__description": "RadioField-module__hop-RadioField__description___kV7yP", "hop-RadioField__radio": "RadioField-module__hop-RadioField__radio___9Q-Up" };
|
|
16
16
|
var GlobalRadioFieldCssSelector = "hop-RadioField";
|
|
17
17
|
var RadioToDescriptionSizeAdapter = {
|
|
18
18
|
sm: "xs",
|
|
@@ -11,7 +11,7 @@ import { useContextProps } from 'react-aria-components';
|
|
|
11
11
|
import { jsx } from 'react/jsx-runtime';
|
|
12
12
|
|
|
13
13
|
// css-module:./SwitchField.module.css#css-module
|
|
14
|
-
var SwitchField_module_default = { "hop-SwitchField": "SwitchField-module__hop-
|
|
14
|
+
var SwitchField_module_default = { "hop-SwitchField": "SwitchField-module__hop-SwitchField___4jMVT", "hop-SwitchField--sm": "SwitchField-module__hop-SwitchField--sm___kB4r0", "hop-SwitchField--md": "SwitchField-module__hop-SwitchField--md___VM86A", "hop-SwitchField__description": "SwitchField-module__hop-SwitchField__description___CmvIH", "hop-SwitchField__switch": "SwitchField-module__hop-SwitchField__switch___T8HA-" };
|
|
15
15
|
var GlobalSwitchFieldCssSelector = "hop-SwitchField";
|
|
16
16
|
var SwitchToDescriptionSizeAdapter = {
|
|
17
17
|
sm: "xs",
|
|
@@ -8,7 +8,7 @@ import { useContextProps } from 'react-aria-components';
|
|
|
8
8
|
import { jsx } from 'react/jsx-runtime';
|
|
9
9
|
|
|
10
10
|
// css-module:./IconList.module.css#css-module
|
|
11
|
-
var IconList_module_default = { "hop-IconList": "IconList-module__hop-
|
|
11
|
+
var IconList_module_default = { "hop-IconList": "IconList-module__hop-IconList___rbH36" };
|
|
12
12
|
var GlobalIconListCssSelector = "hop-IconList";
|
|
13
13
|
function IconList(props, ref) {
|
|
14
14
|
[props, ref] = useContextProps(props, ref, IconListContext);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AvatarContext } from './chunk-AES7QBQE.js';
|
|
2
|
-
import { _RichIconAvatarImage } from './chunk-
|
|
2
|
+
import { _RichIconAvatarImage } from './chunk-4RGYMJVX.js';
|
|
3
3
|
import { AnonymousRichIcon } from '@hopper-ui/icons';
|
|
4
4
|
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
5
5
|
import clsx from 'clsx';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SearchFieldContext } from './chunk-3NKF5TPD.js';
|
|
2
|
-
import { _InputGroup } from './chunk-
|
|
3
|
-
import { _ClearButton } from './chunk-
|
|
2
|
+
import { _InputGroup } from './chunk-R5TKT4GV.js';
|
|
3
|
+
import { _ClearButton } from './chunk-XVFY4N5S.js';
|
|
4
4
|
import { LabelContext } from './chunk-QCA3ZR56.js';
|
|
5
5
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
6
6
|
import { HelperMessageContext } from './chunk-HZKFQ33E.js';
|
|
@@ -17,7 +17,7 @@ import { useContextProps, composeRenderProps, Input, SearchField as SearchField$
|
|
|
17
17
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
18
18
|
|
|
19
19
|
// css-module:./SearchField.module.css#css-module
|
|
20
|
-
var SearchField_module_default = { "hop-SearchField": "SearchField-module__hop-
|
|
20
|
+
var SearchField_module_default = { "hop-SearchField": "SearchField-module__hop-SearchField___KAyaM", "hop-SearchField--fluid": "SearchField-module__hop-SearchField--fluid___uqJFd", "hop-SearchField__Label": "SearchField-module__hop-SearchField__Label___iQzQm", "hop-SearchField__prefix": "SearchField-module__hop-SearchField__prefix___Uey9N", "hop-SearchField__InputGroup": "SearchField-module__hop-SearchField__InputGroup___NHHD0", "hop-SearchField--clearable": "SearchField-module__hop-SearchField--clearable___ke6Hg", "hop-SearchField__ErrorMessage": "SearchField-module__hop-SearchField__ErrorMessage___HGTE1", "hop-SearchField__HelperMessage": "SearchField-module__hop-SearchField__HelperMessage___JGB1J", "hop-SearchField__ClearButton": "SearchField-module__hop-SearchField__ClearButton___fmGfx" };
|
|
21
21
|
var GlobalSearchFieldCssSelector = "hop-SearchField";
|
|
22
22
|
function SearchField(props, ref) {
|
|
23
23
|
var _a;
|
|
@@ -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___ZFMb-", "hop-OverlineText__text": "OverlineText-module__hop-OverlineText__text___dGxq3" };
|
|
11
11
|
var GlobalOverlineTextCssSelector = "hop-OverlineText";
|
|
12
12
|
function OverlineText(props, ref) {
|
|
13
13
|
[props, ref] = useContextProps(props, ref, OverlineTextContext);
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { TextFieldContext } from './chunk-O4XPUINW.js';
|
|
2
|
-
import { _InputGroup } from './chunk-
|
|
3
|
-
import { _ClearButton } from './chunk-
|
|
4
|
-
import { useLocalizedString } from './chunk-YEYNRBMQ.js';
|
|
2
|
+
import { _InputGroup } from './chunk-R5TKT4GV.js';
|
|
3
|
+
import { _ClearButton } from './chunk-XVFY4N5S.js';
|
|
5
4
|
import { LabelContext } from './chunk-QCA3ZR56.js';
|
|
5
|
+
import { useLocalizedString } from './chunk-YEYNRBMQ.js';
|
|
6
6
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
7
7
|
import { HelperMessageContext } from './chunk-HZKFQ33E.js';
|
|
8
8
|
import { ErrorMessageContext } from './chunk-FAE27DLF.js';
|
|
9
9
|
import { isTextOnlyChildren } from './chunk-ZWU6DRRZ.js';
|
|
10
|
-
import { _Text } from './chunk-
|
|
10
|
+
import { _Text } from './chunk-4GSKU4TS.js';
|
|
11
11
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
12
12
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
13
13
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
@@ -22,7 +22,7 @@ import { useContextProps, composeRenderProps, Input, TextField as TextField$1 }
|
|
|
22
22
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
23
23
|
|
|
24
24
|
// css-module:./TextField.module.css#css-module
|
|
25
|
-
var TextField_module_default = { "hop-TextField": "TextField-module__hop-
|
|
25
|
+
var TextField_module_default = { "hop-TextField": "TextField-module__hop-TextField___OiBGE", "hop-TextField--fluid": "TextField-module__hop-TextField--fluid___xDISU", "hop-TextField__Label": "TextField-module__hop-TextField__Label___HlIWe", "hop-TextField__prefix": "TextField-module__hop-TextField__prefix___WTQZJ", "hop-TextField__InputGroup": "TextField-module__hop-TextField__InputGroup___8632V", "hop-TextField__ErrorMessage": "TextField-module__hop-TextField__ErrorMessage___dsrrC", "hop-TextField__HelperMessage": "TextField-module__hop-TextField__HelperMessage___TBdzx" };
|
|
26
26
|
var GlobalTextFieldCssSelector = "hop-TextField";
|
|
27
27
|
function TextField(props, ref) {
|
|
28
28
|
var _a;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { useSlot } from './chunk-H5YTU3U7.js';
|
|
2
2
|
import { ButtonContext } from './chunk-WMTWFKKP.js';
|
|
3
|
-
import { _Spinner } from './chunk-
|
|
3
|
+
import { _Spinner } from './chunk-USYSDGSI.js';
|
|
4
4
|
import { useLocalizedString } from './chunk-YEYNRBMQ.js';
|
|
5
5
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
6
6
|
import { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
7
7
|
import { isTextOnlyChildren } from './chunk-ZWU6DRRZ.js';
|
|
8
8
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
9
|
-
import { _Text } from './chunk-
|
|
9
|
+
import { _Text } from './chunk-4GSKU4TS.js';
|
|
10
10
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
11
11
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
12
12
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
@@ -19,7 +19,7 @@ import { useContextProps, ButtonContext as ButtonContext$1, composeRenderProps,
|
|
|
19
19
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
20
20
|
|
|
21
21
|
// css-module:./Button.module.css#css-module
|
|
22
|
-
var Button_module_default = { "hop-Button": "Button-module__hop-
|
|
22
|
+
var Button_module_default = { "hop-Button": "Button-module__hop-Button___yNXRh", "hop-Button--icon-only": "Button-module__hop-Button--icon-only___hzMPB", "hop-Button--fluid": "Button-module__hop-Button--fluid___ysDPL", "hop-Button--sm": "Button-module__hop-Button--sm___FLrQz", "hop-Button--primary": "Button-module__hop-Button--primary___YM5f0", "hop-Button--md": "Button-module__hop-Button--md___1j6uB", "hop-Button--secondary": "Button-module__hop-Button--secondary___evejT", "hop-Button--upsell": "Button-module__hop-Button--upsell___Wpp3Y", "hop-Button--danger": "Button-module__hop-Button--danger___JlBVm", "hop-Button--ghost-danger": "Button-module__hop-Button--ghost-danger___Ld82M", "hop-Button--ghost-secondary": "Button-module__hop-Button--ghost-secondary___mPpFc", "hop-Button--ghost-primary": "Button-module__hop-Button--ghost-primary___yvct6", "hop-Button__Spinner": "Button-module__hop-Button__Spinner___415z2", "hop-Button__icon": "Button-module__hop-Button__icon___SUSBS", "hop-Button__icon-list": "Button-module__hop-Button__icon-list___uanOZ", "hop-Button__text": "Button-module__hop-Button__text___F4YLd", "hop-Button__end-icon": "Button-module__hop-Button__end-icon___gtmLk", "hop-Button__end-icon-list": "Button-module__hop-Button__end-icon-list___Yl6-x" };
|
|
23
23
|
var GlobalButtonCssSelector = "hop-Button";
|
|
24
24
|
var additionalButtonHTMLAttributes = /* @__PURE__ */ new Set(["form", "formAction", "formEncType", "formMethod", "formNoValidate", "formTarget", "name", "value"]);
|
|
25
25
|
function useSimulatedRACButton(props, ref) {
|
|
@@ -10,7 +10,7 @@ import { useContextProps } from 'react-aria-components';
|
|
|
10
10
|
import { jsx } from 'react/jsx-runtime';
|
|
11
11
|
|
|
12
12
|
// css-module:./ButtonGroup.module.css#css-module
|
|
13
|
-
var ButtonGroup_module_default = { "hop-ButtonGroup": "ButtonGroup-module__hop-
|
|
13
|
+
var ButtonGroup_module_default = { "hop-ButtonGroup": "ButtonGroup-module__hop-ButtonGroup___Ju-Ee", "hop-ButtonGroup--horizontal": "ButtonGroup-module__hop-ButtonGroup--horizontal___BG8Yr", "hop-ButtonGroup--vertical": "ButtonGroup-module__hop-ButtonGroup--vertical___7oKsm", "hop-ButtonGroup--start": "ButtonGroup-module__hop-ButtonGroup--start___IwvI3", "hop-ButtonGroup--center": "ButtonGroup-module__hop-ButtonGroup--center___oVD8v", "hop-ButtonGroup--end": "ButtonGroup-module__hop-ButtonGroup--end___tEx6H", "hop-ButtonGroup--wrap": "ButtonGroup-module__hop-ButtonGroup--wrap___TGJgI", "hop-ButtonGroup--fluid": "ButtonGroup-module__hop-ButtonGroup--fluid___ft3Je" };
|
|
14
14
|
var GlobalButtonGroupCssSelector = "hop-ButtonGroup";
|
|
15
15
|
function ButtonGroup(props, ref) {
|
|
16
16
|
var _a, _b, _c, _d, _e;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { isTextOnlyChildren } from './chunk-ZWU6DRRZ.js';
|
|
2
2
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
3
3
|
import { ChipContext } from './chunk-632B5YBQ.js';
|
|
4
|
-
import { _Text } from './chunk-
|
|
4
|
+
import { _Text } from './chunk-4GSKU4TS.js';
|
|
5
5
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
6
6
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
7
7
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
@@ -13,7 +13,7 @@ import { useContextProps, DEFAULT_SLOT } from 'react-aria-components';
|
|
|
13
13
|
import { jsx } from 'react/jsx-runtime';
|
|
14
14
|
|
|
15
15
|
// css-module:./Chip.module.css#css-module
|
|
16
|
-
var Chip_module_default = { "hop-Chip": "Chip-module__hop-
|
|
16
|
+
var Chip_module_default = { "hop-Chip": "Chip-module__hop-Chip___MdIh4", "hop-Chip--xs": "Chip-module__hop-Chip--xs___5MP-o", "hop-Chip--sm": "Chip-module__hop-Chip--sm___ESqjQ", "hop-Chip--md": "Chip-module__hop-Chip--md___4Av8D", "hop-Chip--lg": "Chip-module__hop-Chip--lg___Q8BjA", "hop-Chip--neutral": "Chip-module__hop-Chip--neutral___v3mGh", "hop-Chip--progress": "Chip-module__hop-Chip--progress___B8mLR", "hop-Chip--positive": "Chip-module__hop-Chip--positive___j47Hq", "hop-Chip--caution": "Chip-module__hop-Chip--caution___vxV5Q", "hop-Chip--negative": "Chip-module__hop-Chip--negative___6zdpE", "hop-Chip--option1": "Chip-module__hop-Chip--option1___KKff7", "hop-Chip--option2": "Chip-module__hop-Chip--option2___9kSMo", "hop-Chip--option3": "Chip-module__hop-Chip--option3___gqngh", "hop-Chip--option4": "Chip-module__hop-Chip--option4___dpGTV", "hop-Chip--option5": "Chip-module__hop-Chip--option5___PU4i5", "hop-Chip--option6": "Chip-module__hop-Chip--option6___-ZijO", "hop-Chip--inactive": "Chip-module__hop-Chip--inactive___2CnPj", "hop-Chip--disabled": "Chip-module__hop-Chip--disabled___rI-O3", "hop-Chip__icon": "Chip-module__hop-Chip__icon___STwZi", "hop-Chip__icon-list": "Chip-module__hop-Chip__icon-list___KNDMR", "hop-Chip__text": "Chip-module__hop-Chip__text___v-XfX", "hop-Chip__end-icon": "Chip-module__hop-Chip__end-icon___yNTZi", "hop-Chip__end-icon-list": "Chip-module__hop-Chip__end-icon-list___6bOFU" };
|
|
17
17
|
var GlobalChipCssSelector = "hop-Chip";
|
|
18
18
|
var ChipToTextSizeAdapter = {
|
|
19
19
|
xs: "xs",
|
|
@@ -1,27 +1,24 @@
|
|
|
1
1
|
import { LabelContext } from './chunk-QCA3ZR56.js';
|
|
2
2
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
3
|
-
import { useStyledSystem
|
|
3
|
+
import { useStyledSystem } from '@hopper-ui/styled-system';
|
|
4
4
|
import clsx from 'clsx';
|
|
5
5
|
import { forwardRef } from 'react';
|
|
6
6
|
import { useContextProps, Label as Label$1 } from 'react-aria-components';
|
|
7
7
|
import { jsx } from 'react/jsx-runtime';
|
|
8
8
|
|
|
9
9
|
// css-module:./Label.module.css#css-module
|
|
10
|
-
var Label_module_default = { "hop-Label": "Label-module__hop-
|
|
10
|
+
var Label_module_default = { "hop-Label": "Label-module__hop-Label___T9bhE" };
|
|
11
11
|
var GlobalLabelCssSelector = "hop-Label";
|
|
12
12
|
function Label(props, ref) {
|
|
13
|
-
var _a;
|
|
14
13
|
[props, ref] = useContextProps(props, ref, LabelContext);
|
|
15
14
|
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
16
|
-
const { className,
|
|
17
|
-
const size = (_a = useResponsiveValue(sizeProp)) != null ? _a : "md";
|
|
15
|
+
const { className, children, style, ...otherProps } = ownProps;
|
|
18
16
|
const classNames = clsx(
|
|
19
17
|
className,
|
|
20
18
|
GlobalLabelCssSelector,
|
|
21
19
|
cssModule(
|
|
22
20
|
Label_module_default,
|
|
23
|
-
"hop-Label"
|
|
24
|
-
size
|
|
21
|
+
"hop-Label"
|
|
25
22
|
),
|
|
26
23
|
stylingProps.className
|
|
27
24
|
);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HelperMessageContext } from './chunk-HZKFQ33E.js';
|
|
2
|
-
import { _Text } from './chunk-
|
|
2
|
+
import { _Text } from './chunk-4GSKU4TS.js';
|
|
3
3
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
4
4
|
import { InfoIcon } from '@hopper-ui/icons';
|
|
5
5
|
import { useStyledSystem } from '@hopper-ui/styled-system';
|
|
@@ -9,7 +9,7 @@ import { useContextProps, FieldErrorContext } from 'react-aria-components';
|
|
|
9
9
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
10
10
|
|
|
11
11
|
// css-module:./HelperMessage.module.css#css-module
|
|
12
|
-
var HelperMessage_module_default = { "hop-HelperMessage": "HelperMessage-module__hop-
|
|
12
|
+
var HelperMessage_module_default = { "hop-HelperMessage": "HelperMessage-module__hop-HelperMessage___vJKjp", "hop-HelperMessage__icon": "HelperMessage-module__hop-HelperMessage__icon___XmbUU" };
|
|
13
13
|
var GlobalHelperMessageCssSelector = "hop-HelperMessage";
|
|
14
14
|
function HelperMessage(props, ref) {
|
|
15
15
|
const validation = useContext(FieldErrorContext);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { useMediaQuery } from '@hopper-ui/styled-system';
|
|
2
|
+
|
|
3
|
+
// src/utils/src/useScale.ts
|
|
4
|
+
function useScale() {
|
|
5
|
+
const matchesFine = useMediaQuery("(any-pointer: fine)");
|
|
6
|
+
if (matchesFine) {
|
|
7
|
+
return "medium";
|
|
8
|
+
}
|
|
9
|
+
return "large";
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export { useScale };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
2
2
|
import { ErrorMessageContext } from './chunk-FAE27DLF.js';
|
|
3
|
-
import { _Text } from './chunk-
|
|
3
|
+
import { _Text } from './chunk-4GSKU4TS.js';
|
|
4
4
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
5
5
|
import { WarningIcon } from '@hopper-ui/icons';
|
|
6
6
|
import { useStyledSystem } from '@hopper-ui/styled-system';
|
|
@@ -10,7 +10,7 @@ import { FieldErrorContext, useContextProps } from 'react-aria-components';
|
|
|
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___TiOLv", "hop-ErrorMessage__icon": "ErrorMessage-module__hop-ErrorMessage__icon___uJa5n" };
|
|
14
14
|
var GlobalErrorMessageCssSelector = "hop-ErrorMessage";
|
|
15
15
|
function ErrorMessage(props, ref) {
|
|
16
16
|
const validation = useContext(FieldErrorContext);
|
|
@@ -2,7 +2,7 @@ import { SwitchContext } from './chunk-YHBJAXUY.js';
|
|
|
2
2
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
3
3
|
import { isTextOnlyChildren } from './chunk-ZWU6DRRZ.js';
|
|
4
4
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
5
|
-
import { _Text } from './chunk-
|
|
5
|
+
import { _Text } from './chunk-4GSKU4TS.js';
|
|
6
6
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
7
7
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
8
8
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
@@ -14,7 +14,7 @@ import { useContextProps, composeRenderProps, Switch as Switch$1 } from 'react-a
|
|
|
14
14
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
15
15
|
|
|
16
16
|
// css-module:./Switch.module.css#css-module
|
|
17
|
-
var Switch_module_default = { "hop-Switch": "Switch-module__hop-
|
|
17
|
+
var Switch_module_default = { "hop-Switch": "Switch-module__hop-Switch___30WsO", "hop-Switch--sm": "Switch-module__hop-Switch--sm___EoF-a", "hop-Switch--md": "Switch-module__hop-Switch--md___ULWcM", "hop-Switch__indicator": "Switch-module__hop-Switch__indicator___FdvNl", "hop-Switch__text": "Switch-module__hop-Switch__text___c7e-a", "hop-Switch__icon-list": "Switch-module__hop-Switch__icon-list___nsw5H", "hop-Switch__icon": "Switch-module__hop-Switch__icon___GxVQQ" };
|
|
18
18
|
var GlobalSwitchCssSelector = "hop-Switch";
|
|
19
19
|
function Switch(props, ref) {
|
|
20
20
|
var _a;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useImageFallback } from './chunk-NS3XVOQ7.js';
|
|
2
|
-
import { _Text } from './chunk-
|
|
2
|
+
import { _Text } from './chunk-4GSKU4TS.js';
|
|
3
3
|
import { AvatarContext } from './chunk-AES7QBQE.js';
|
|
4
|
-
import { _RichIconAvatarImage } from './chunk-
|
|
4
|
+
import { _RichIconAvatarImage } from './chunk-4RGYMJVX.js';
|
|
5
5
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
6
6
|
import { BrokenImageRichIcon } from '@hopper-ui/icons';
|
|
7
7
|
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
@@ -12,7 +12,7 @@ import { useContextProps } from 'react-aria-components';
|
|
|
12
12
|
import { jsx } from 'react/jsx-runtime';
|
|
13
13
|
|
|
14
14
|
// css-module:./Avatar.module.css#css-module
|
|
15
|
-
var Avatar_module_default = { "hop-Avatar": "Avatar-module__hop-
|
|
15
|
+
var Avatar_module_default = { "hop-Avatar": "Avatar-module__hop-Avatar___-yNiS", "hop-Avatar--xs": "Avatar-module__hop-Avatar--xs___0246-", "hop-Avatar--sm": "Avatar-module__hop-Avatar--sm___czjni", "hop-Avatar--md": "Avatar-module__hop-Avatar--md___geNUg", "hop-Avatar--lg": "Avatar-module__hop-Avatar--lg___OrobB", "hop-Avatar--xl": "Avatar-module__hop-Avatar--xl___sr4-j", "hop-Avatar--2xl": "Avatar-module__hop-Avatar--2xl___4D7HI", "hop-Avatar--decorative-option1": "Avatar-module__hop-Avatar--decorative-option1___QPAsF", "hop-Avatar--decorative-option2": "Avatar-module__hop-Avatar--decorative-option2___xqKJY", "hop-Avatar--decorative-option3": "Avatar-module__hop-Avatar--decorative-option3___wbenw", "hop-Avatar--decorative-option4": "Avatar-module__hop-Avatar--decorative-option4___ruK8D", "hop-Avatar--decorative-option5": "Avatar-module__hop-Avatar--decorative-option5___R91IQ", "hop-Avatar--decorative-option6": "Avatar-module__hop-Avatar--decorative-option6___fMuum", "hop-Avatar--decorative-option7": "Avatar-module__hop-Avatar--decorative-option7___WmWnu", "hop-Avatar--decorative-option8": "Avatar-module__hop-Avatar--decorative-option8___f-yzq", "hop-Avatar--decorative-option9": "Avatar-module__hop-Avatar--decorative-option9___e7aQU", "hop-Avatar__image": "Avatar-module__hop-Avatar__image___GB-zo" };
|
|
16
16
|
var GlobalAvatarCssSelector = "hop-Avatar";
|
|
17
17
|
var AvatarToTextSizeAdapter = {
|
|
18
18
|
xs: "xs",
|
|
@@ -9,7 +9,7 @@ import { useContextProps, composeRenderProps, Button } from 'react-aria-componen
|
|
|
9
9
|
import { jsx } from 'react/jsx-runtime';
|
|
10
10
|
|
|
11
11
|
// css-module:./EmbeddedButton.module.css#css-module
|
|
12
|
-
var EmbeddedButton_module_default = { "hop-EmbeddedButton": "EmbeddedButton-module__hop-
|
|
12
|
+
var EmbeddedButton_module_default = { "hop-EmbeddedButton": "EmbeddedButton-module__hop-EmbeddedButton___MerPv", "hop-EmbeddedButton--md": "EmbeddedButton-module__hop-EmbeddedButton--md___vsSCr", "hop-EmbeddedButton--lg": "EmbeddedButton-module__hop-EmbeddedButton--lg___N62qP", "hop-EmbeddedButton__icon": "EmbeddedButton-module__hop-EmbeddedButton__icon___yJBM-" };
|
|
13
13
|
var GlobalEmbeddedButtonCssSelector = "hop-EmbeddedButton";
|
|
14
14
|
function EmbeddedButton(props, ref) {
|
|
15
15
|
var _a;
|
|
@@ -9,7 +9,7 @@ import { useContextProps, useSlottedContext, InputContext, composeRenderProps, G
|
|
|
9
9
|
import { jsx } from 'react/jsx-runtime';
|
|
10
10
|
|
|
11
11
|
// css-module:./InputGroup.module.css#css-module
|
|
12
|
-
var InputGroup_module_default = { "hop-InputGroup": "InputGroup-module__hop-
|
|
12
|
+
var InputGroup_module_default = { "hop-InputGroup": "InputGroup-module__hop-InputGroup___7m6-I", "hop-InputGroup--fluid": "InputGroup-module__hop-InputGroup--fluid___P3TmP", "hop-InputGroup--sm": "InputGroup-module__hop-InputGroup--sm___XqGLX", "hop-InputGroup__input": "InputGroup-module__hop-InputGroup__input___6P3GF" };
|
|
13
13
|
var GlobalInputGroupCssSelector = "hop-InputGroup";
|
|
14
14
|
function InputGroup(props, ref) {
|
|
15
15
|
var _a, _b;
|
|
@@ -24,6 +24,7 @@ function InputGroup(props, ref) {
|
|
|
24
24
|
children,
|
|
25
25
|
size: sizeProp,
|
|
26
26
|
isFluid: isFluidProp,
|
|
27
|
+
inputClassName,
|
|
27
28
|
onMouseDown,
|
|
28
29
|
...otherProps
|
|
29
30
|
} = ownProps;
|
|
@@ -48,10 +49,10 @@ function InputGroup(props, ref) {
|
|
|
48
49
|
});
|
|
49
50
|
const handleMouseDown = useCallback((e) => {
|
|
50
51
|
onMouseDown == null ? void 0 : onMouseDown(e);
|
|
51
|
-
if (inputRef.current) {
|
|
52
|
+
if (inputRef.current && e.target !== inputRef.current) {
|
|
52
53
|
inputRef.current.focus();
|
|
54
|
+
e.preventDefault();
|
|
53
55
|
}
|
|
54
|
-
e.preventDefault();
|
|
55
56
|
}, [onMouseDown]);
|
|
56
57
|
return /* @__PURE__ */ jsx(
|
|
57
58
|
SlotProvider,
|
|
@@ -60,7 +61,7 @@ function InputGroup(props, ref) {
|
|
|
60
61
|
[InputContext, {
|
|
61
62
|
...inputContext,
|
|
62
63
|
ref: mergedRefs,
|
|
63
|
-
className: composeClassnameRenderProps(inputContext == null ? void 0 : inputContext.className, InputGroup_module_default["hop-InputGroup__input"])
|
|
64
|
+
className: composeClassnameRenderProps(inputContext == null ? void 0 : inputContext.className, inputClassName, InputGroup_module_default["hop-InputGroup__input"])
|
|
64
65
|
}]
|
|
65
66
|
],
|
|
66
67
|
children: /* @__PURE__ */ jsx(
|
|
@@ -2,7 +2,7 @@ import { RadioContext } from './chunk-FU5CCPLP.js';
|
|
|
2
2
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
3
3
|
import { isTextOnlyChildren } from './chunk-ZWU6DRRZ.js';
|
|
4
4
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
5
|
-
import { _Text } from './chunk-
|
|
5
|
+
import { _Text } from './chunk-4GSKU4TS.js';
|
|
6
6
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
7
7
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
8
8
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
@@ -14,7 +14,7 @@ import { useContextProps, composeRenderProps, Radio as Radio$1 } from 'react-ari
|
|
|
14
14
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
15
15
|
|
|
16
16
|
// css-module:./Radio.module.css#css-module
|
|
17
|
-
var Radio_module_default = { "hop-Radio": "Radio-module__hop-
|
|
17
|
+
var Radio_module_default = { "hop-Radio": "Radio-module__hop-Radio___AM8tK", "hop-Radio--focused": "Radio-module__hop-Radio--focused___itwDR", "hop-Radio--hovered": "Radio-module__hop-Radio--hovered___6VHIU", "hop-Radio--pressed": "Radio-module__hop-Radio--pressed___lx2sF", "hop-Radio--sm": "Radio-module__hop-Radio--sm___F7KXR", "hop-Radio--md": "Radio-module__hop-Radio--md___p5mai", "hop-Radio__icon": "Radio-module__hop-Radio__icon___RKZFs", "hop-Radio__icon-list": "Radio-module__hop-Radio__icon-list___IWPSR", "hop-Radio__box": "Radio-module__hop-Radio__box___8viCp", "hop-Radio__bullet": "Radio-module__hop-Radio__bullet___czAwE", "hop-Radio__text": "Radio-module__hop-Radio__text___vA5SR" };
|
|
18
18
|
var GlobalRadioCssSelector = "hop-Radio";
|
|
19
19
|
function Radio(props, ref) {
|
|
20
20
|
var _a;
|
|
@@ -7,7 +7,7 @@ import { useContextProps } from 'react-aria-components';
|
|
|
7
7
|
import { jsx } from 'react/jsx-runtime';
|
|
8
8
|
|
|
9
9
|
// css-module:./ListBoxItemSkeleton.module.css#css-module
|
|
10
|
-
var ListBoxItemSkeleton_module_default = { "hop-ListBoxItemSkeleton": "ListBoxItemSkeleton-module__hop-
|
|
10
|
+
var ListBoxItemSkeleton_module_default = { "hop-ListBoxItemSkeleton": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton___naikK", "placeholder-shimmer": "ListBoxItemSkeleton-module__placeholder-shimmer___4yLmy", "hop-ListBoxItemSkeleton--xs": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--xs___BoS9h", "hop-ListBoxItemSkeleton--sm": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--sm___sMtsw", "hop-ListBoxItemSkeleton--md": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--md___xMp35", "hop-ListBoxItemSkeleton--lg": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--lg___3TdWv" };
|
|
11
11
|
var GlobalListBoxItemSkeletonCssSelector = "hop-ListBoxItemSkeleton";
|
|
12
12
|
function ListBoxItemSkeleton(props, ref) {
|
|
13
13
|
var _a;
|
|
@@ -2,13 +2,13 @@ import { isFunction } from './chunk-TIPN4VYD.js';
|
|
|
2
2
|
import { useLoadOnScroll } from './chunk-JTNMFPM4.js';
|
|
3
3
|
import { SectionContext } from './chunk-5H5AZJPQ.js';
|
|
4
4
|
import { ListBoxContext } from './chunk-UIEP5BA5.js';
|
|
5
|
-
import { _ListBoxItem } from './chunk-
|
|
5
|
+
import { _ListBoxItem } from './chunk-YKLQWMUL.js';
|
|
6
6
|
import { useLocalizedString } from './chunk-YEYNRBMQ.js';
|
|
7
7
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
8
8
|
import { ListBoxItemContext } from './chunk-Y2POLIXK.js';
|
|
9
9
|
import { HeaderContext } from './chunk-7JOGKC3W.js';
|
|
10
10
|
import { DividerContext } from './chunk-FYIHMKHI.js';
|
|
11
|
-
import { _Text } from './chunk-
|
|
11
|
+
import { _Text } from './chunk-4GSKU4TS.js';
|
|
12
12
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
13
13
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
14
14
|
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
@@ -18,7 +18,7 @@ import { useContextProps, composeRenderProps, ListBox as ListBox$1, Collection }
|
|
|
18
18
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
19
19
|
|
|
20
20
|
// css-module:./ListBox.module.css#css-module
|
|
21
|
-
var ListBox_module_default = { "hop-ListBox": "ListBox-module__hop-
|
|
21
|
+
var ListBox_module_default = { "hop-ListBox": "ListBox-module__hop-ListBox___wrhSb", "hop-ListBox--fluid": "ListBox-module__hop-ListBox--fluid___OFSHl", "hop-ListBox__section": "ListBox-module__hop-ListBox__section___1o15O", "hop-ListBox__item": "ListBox-module__hop-ListBox__item___KssdA", "hop-ListBox__section-header": "ListBox-module__hop-ListBox__section-header___wjwgk", "hop-ListBox__divider": "ListBox-module__hop-ListBox__divider___EIj16" };
|
|
22
22
|
var GlobalListBoxCssSelector = "hop-ListBox";
|
|
23
23
|
var GlobalListBoxEmptyItemCssSelector = "hop-ListBox__empty-item";
|
|
24
24
|
var ListBoxToTextSizeAdapter = {
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { _Label } from './chunk-QQBJ4REK.js';
|
|
2
1
|
import { SpinnerContext } from './chunk-4ZYV2XLW.js';
|
|
3
2
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
3
|
+
import { _Text } from './chunk-4GSKU4TS.js';
|
|
4
4
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
5
5
|
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
6
6
|
import { forwardRef } from 'react';
|
|
7
|
+
import { useId } from 'react-aria';
|
|
7
8
|
import { useContextProps, ProgressBar } from 'react-aria-components';
|
|
8
9
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
9
10
|
|
|
10
11
|
// css-module:./Spinner.module.css#css-module
|
|
11
|
-
var Spinner_module_default = { "hop-Spinner": "Spinner-module__hop-
|
|
12
|
+
var Spinner_module_default = { "hop-Spinner": "Spinner-module__hop-Spinner___sIe39", "spin": "Spinner-module__spin___u5DUL", "hop-Spinner--sm": "Spinner-module__hop-Spinner--sm___LAMAv", "hop-Spinner--md": "Spinner-module__hop-Spinner--md___5B8fe", "hop-Spinner--lg": "Spinner-module__hop-Spinner--lg___2j1gO", "hop-Spinner__track": "Spinner-module__hop-Spinner__track___XOSCJ", "hop-Spinner__fill": "Spinner-module__hop-Spinner__fill___W9lQA", "hop-Spinner__label": "Spinner-module__hop-Spinner__label___I-He9" };
|
|
12
13
|
var GlobalSpinnerCssSelector = "hop-Spinner";
|
|
13
|
-
var
|
|
14
|
+
var SpinnerToTextSizeAdapter = {
|
|
14
15
|
sm: "xs",
|
|
15
16
|
md: "sm",
|
|
16
17
|
lg: "md"
|
|
@@ -41,14 +42,16 @@ var Spinner = (props, ref) => {
|
|
|
41
42
|
...stylingProps.style,
|
|
42
43
|
...style
|
|
43
44
|
};
|
|
45
|
+
const labelId = useId();
|
|
44
46
|
const labelMarkup = children && /* @__PURE__ */ jsx(
|
|
45
|
-
|
|
47
|
+
_Text,
|
|
46
48
|
{
|
|
47
49
|
className: cssModule(
|
|
48
50
|
Spinner_module_default,
|
|
49
51
|
"hop-Spinner__label"
|
|
50
52
|
),
|
|
51
|
-
size:
|
|
53
|
+
size: SpinnerToTextSizeAdapter[size],
|
|
54
|
+
id: labelId,
|
|
52
55
|
children
|
|
53
56
|
}
|
|
54
57
|
);
|
|
@@ -59,6 +62,7 @@ var Spinner = (props, ref) => {
|
|
|
59
62
|
isIndeterminate: true,
|
|
60
63
|
className: classNames,
|
|
61
64
|
style: mergedStyles,
|
|
65
|
+
"aria-labelledby": labelId,
|
|
62
66
|
...otherProps,
|
|
63
67
|
children: [
|
|
64
68
|
/* @__PURE__ */ jsx(
|
|
@@ -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___ddvkQ", "hop-Divider--vertical": "Divider-module__hop-Divider--vertical___7YAIR" };
|
|
11
11
|
var GlobalDividerCssSelector = "hop-Divider";
|
|
12
12
|
function Divider(props, ref) {
|
|
13
13
|
[props, ref] = useContextProps(props, ref, DividerContext);
|
|
@@ -2,7 +2,7 @@ import { LinkContext } from './chunk-4VVNSXIB.js';
|
|
|
2
2
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
3
3
|
import { isTextOnlyChildren } from './chunk-ZWU6DRRZ.js';
|
|
4
4
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
5
|
-
import { _Text } from './chunk-
|
|
5
|
+
import { _Text } from './chunk-4GSKU4TS.js';
|
|
6
6
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
7
7
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
8
8
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
@@ -13,7 +13,7 @@ import { useContextProps, composeRenderProps, DEFAULT_SLOT, Link as Link$1 } fro
|
|
|
13
13
|
import { jsx } from 'react/jsx-runtime';
|
|
14
14
|
|
|
15
15
|
// css-module:./Link.module.css#css-module
|
|
16
|
-
var Link_module_default = { "hop-Link": "Link-module__hop-
|
|
16
|
+
var Link_module_default = { "hop-Link": "Link-module__hop-Link___gO7ZE", "hop-Link--quiet": "Link-module__hop-Link--quiet___heTWE", "hop-Link--primary": "Link-module__hop-Link--primary___y9YA1", "hop-Link--secondary": "Link-module__hop-Link--secondary___-skZ9", "hop-Link__icon": "Link-module__hop-Link__icon___bSf-7", "hop-Link__icon-list": "Link-module__hop-Link__icon-list___7UQlQ", "hop-Link__text": "Link-module__hop-Link__text___Hfd08", "hop-Link__start-icon": "Link-module__hop-Link__start-icon___vd5oC", "hop-Link__start-icon-list": "Link-module__hop-Link__start-icon-list___WHFXI" };
|
|
17
17
|
var GlobalLinkCssSelector = "hop-Link";
|
|
18
18
|
var LinkToIconSizeAdapter = {
|
|
19
19
|
inherit: void 0,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AvatarContext } from './chunk-AES7QBQE.js';
|
|
2
|
-
import { _RichIconAvatarImage } from './chunk-
|
|
2
|
+
import { _RichIconAvatarImage } from './chunk-4RGYMJVX.js';
|
|
3
3
|
import { DeletedUserRichIcon } from '@hopper-ui/icons';
|
|
4
4
|
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
5
5
|
import clsx from 'clsx';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { TagContext } from './chunk-EWMWQ2MC.js';
|
|
1
2
|
import { TagGroupContext } from './chunk-LCAS3YQV.js';
|
|
2
3
|
import { TagListContext } from './chunk-XLKYXKWE.js';
|
|
3
|
-
import { TagContext } from './chunk-EWMWQ2MC.js';
|
|
4
4
|
import { LabelContext } from './chunk-QCA3ZR56.js';
|
|
5
5
|
import { HelperMessageContext } from './chunk-HZKFQ33E.js';
|
|
6
6
|
import { ErrorMessageContext } from './chunk-FAE27DLF.js';
|
|
@@ -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___n0isT", "hop-TagGroup__label": "TagGroup-module__hop-TagGroup__label___4eKc-", "hop-TagGroup__list": "TagGroup-module__hop-TagGroup__list___nCEFt", "hop-TagGroup__error-message": "TagGroup-module__hop-TagGroup__error-message___bZ23L", "hop-TagGroup__helper-message": "TagGroup-module__hop-TagGroup__helper-message___QtAIt" };
|
|
17
17
|
var GlobalTagGroupCssSelector = "hop-TagGroup";
|
|
18
18
|
function TagGroup(props, ref) {
|
|
19
19
|
var _a;
|
|
@@ -47,8 +47,7 @@ function TagGroup(props, ref) {
|
|
|
47
47
|
{
|
|
48
48
|
values: [
|
|
49
49
|
[LabelContext, {
|
|
50
|
-
className: TagGroup_module_default["hop-TagGroup__label"]
|
|
51
|
-
size
|
|
50
|
+
className: TagGroup_module_default["hop-TagGroup__label"]
|
|
52
51
|
}],
|
|
53
52
|
[TagListContext, {
|
|
54
53
|
className: TagGroup_module_default["hop-TagGroup__list"]
|