@hopper-ui/components 1.3.10 → 1.3.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 +15 -0
- package/dist/Avatar/src/AnonymousAvatar.css +37 -37
- package/dist/Avatar/src/AnonymousAvatar.js +2 -2
- package/dist/Avatar/src/Avatar.css +55 -55
- package/dist/Avatar/src/Avatar.js +4 -4
- 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 +6 -6
- package/dist/Avatar/src/useImageFallback.js +1 -1
- package/dist/Badge/src/Badge.css +42 -42
- package/dist/Badge/src/Badge.js +2 -2
- package/dist/Badge/src/FloatingBadge.css +37 -37
- package/dist/Badge/src/FloatingBadge.js +1 -1
- package/dist/Badge/src/index.css +52 -52
- package/dist/Badge/src/index.js +3 -3
- package/dist/ComboBox/src/ComboBox.css +713 -713
- package/dist/ComboBox/src/ComboBox.js +50 -50
- package/dist/ComboBox/src/index.css +713 -713
- package/dist/ComboBox/src/index.js +50 -50
- 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 +713 -713
- package/dist/Form/src/Form.js +50 -50
- package/dist/Form/src/index.css +713 -713
- package/dist/Form/src/index.js +50 -50
- package/dist/Header/src/Header.js +1 -1
- package/dist/Header/src/index.js +1 -1
- 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 +2 -2
- package/dist/Link/src/index.css +49 -49
- package/dist/Link/src/index.js +2 -2
- package/dist/ListBox/src/ListBox.css +274 -274
- package/dist/ListBox/src/ListBox.js +6 -6
- package/dist/ListBox/src/ListBoxItem.css +262 -262
- package/dist/ListBox/src/ListBoxItem.js +5 -5
- 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 +6 -6
- package/dist/Select/src/Select.css +713 -713
- package/dist/Select/src/Select.js +50 -50
- package/dist/Select/src/SelectValue.css +61 -61
- package/dist/Select/src/SelectValue.js +5 -5
- package/dist/Select/src/index.css +713 -713
- package/dist/Select/src/index.js +50 -50
- 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 +112 -112
- package/dist/buttons/src/Button.js +3 -3
- package/dist/buttons/src/ButtonGroup.css +38 -38
- package/dist/buttons/src/ButtonGroup.js +1 -1
- 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/index.css +194 -194
- package/dist/buttons/src/index.js +6 -6
- package/dist/checkbox/src/Checkbox.css +46 -46
- package/dist/checkbox/src/Checkbox.js +2 -2
- package/dist/checkbox/src/CheckboxField.css +33 -33
- package/dist/checkbox/src/CheckboxField.js +1 -1
- package/dist/checkbox/src/CheckboxGroup.css +98 -98
- package/dist/checkbox/src/CheckboxGroup.js +1 -1
- package/dist/checkbox/src/DecorativeCheckbox.css +54 -54
- package/dist/checkbox/src/DecorativeCheckbox.js +2 -2
- package/dist/checkbox/src/index.css +98 -98
- package/dist/checkbox/src/index.js +5 -5
- package/dist/{chunk-CIKHW47C.js → chunk-24KHRRRV.js} +1 -1
- package/dist/{chunk-QX6MTYPY.js → chunk-2FQE5VSB.js} +1 -1
- package/dist/{chunk-ARURHRKE.js → chunk-2GDRIOUE.js} +1 -1
- package/dist/{chunk-7P6QVHCU.js → chunk-2Q7KTNJK.js} +1 -1
- package/dist/{chunk-6J3RVKV4.js → chunk-2T2P33DB.js} +10 -10
- package/dist/{chunk-RKX7GGGY.js → chunk-2XOZMJQO.js} +1 -1
- package/dist/{chunk-B44HANDX.js → chunk-2XTLP4NP.js} +12 -6
- package/dist/{chunk-XBVS62J3.js → chunk-33FEE3VD.js} +1 -1
- package/dist/{chunk-2BYOZEHS.js → chunk-3H4QDM4L.js} +3 -3
- package/dist/{chunk-JRL2S56W.js → chunk-3MA53PNO.js} +6 -6
- package/dist/{chunk-OBLOV2RN.js → chunk-42W5GW3R.js} +3 -3
- package/dist/{chunk-X7ZM3VW6.js → chunk-5NGAA35D.js} +3 -3
- package/dist/{chunk-JCD37WMK.js → chunk-6GEVQCBK.js} +2 -2
- package/dist/{chunk-MMROXMQV.js → chunk-6LJPMEHX.js} +1 -1
- package/dist/{chunk-45BUVEOG.js → chunk-6ZAKQWYM.js} +1 -1
- package/dist/{chunk-DCAA2AVQ.js → chunk-AG67ICXW.js} +1 -1
- package/dist/{chunk-FF6KAPPN.js → chunk-AZBXRRMZ.js} +3 -3
- package/dist/{chunk-4KKT3O2S.js → chunk-BSEAFZPE.js} +3 -3
- package/dist/{chunk-XDRKVTAI.js → chunk-CPRGKGB6.js} +2 -2
- package/dist/{chunk-XFQJ7HYB.js → chunk-DIRREIZN.js} +3 -3
- package/dist/{chunk-GXBVNCVP.js → chunk-DPC3Y6Y2.js} +2 -2
- package/dist/{chunk-TNXKWBYE.js → chunk-DUDTPN7M.js} +5 -5
- package/dist/{chunk-Y7G6PIDC.js → chunk-EY4ZTKS4.js} +3 -3
- package/dist/{chunk-46Y3BNK6.js → chunk-EZTWUACB.js} +2 -2
- package/dist/{chunk-XT4MALWA.js → chunk-F3Y5D5LH.js} +2 -2
- package/dist/{chunk-UBMAVA4B.js → chunk-FJL3ZS2H.js} +1 -1
- package/dist/{chunk-AH3LBZUR.js → chunk-FM77LXOA.js} +2 -2
- package/dist/{chunk-AQITZWYM.js → chunk-GTM56LGX.js} +2 -2
- package/dist/{chunk-IJS2OFE5.js → chunk-IZ273MDI.js} +7 -5
- package/dist/{chunk-LU7KOIOH.js → chunk-JSDCGGLX.js} +5 -5
- package/dist/{chunk-FI74MGJH.js → chunk-K2OUU76F.js} +12 -11
- package/dist/{chunk-NS3XVOQ7.js → chunk-LI5HSYF7.js} +5 -2
- package/dist/{chunk-BJNXUNAB.js → chunk-LTCSPHF7.js} +2 -2
- package/dist/{chunk-VM6LLJYR.js → chunk-LTN5Q7MF.js} +2 -2
- package/dist/{chunk-XNOILDPJ.js → chunk-M5T2Y2RB.js} +1 -1
- package/dist/{chunk-L5A2UTQV.js → chunk-N5UT7MST.js} +2 -2
- package/dist/{chunk-TTECXSWO.js → chunk-O2QKRLQW.js} +2 -2
- package/dist/{chunk-GLFAZQ25.js → chunk-OARY66QV.js} +2 -2
- package/dist/{chunk-KKL5HHYL.js → chunk-P244CSQK.js} +1 -1
- package/dist/{chunk-IBHSGV7Y.js → chunk-PHMYUFQP.js} +3 -3
- package/dist/{chunk-DV7LZMDA.js → chunk-PL5Q7GF2.js} +1 -1
- package/dist/{chunk-VRMZDHNL.js → chunk-RUASAI7F.js} +1 -1
- package/dist/{chunk-P5YCVNZM.js → chunk-RZR3PQB7.js} +3 -3
- package/dist/{chunk-XT3AM5KT.js → chunk-TVRQWVE2.js} +1 -1
- package/dist/{chunk-GU6D6RQL.js → chunk-TYCTG7I2.js} +3 -3
- package/dist/{chunk-RZ4K42NA.js → chunk-W5TXSSFB.js} +3 -3
- package/dist/{chunk-ZRGWYBTI.js → chunk-WH4BAEX4.js} +1 -1
- package/dist/{chunk-OOY56G7Y.js → chunk-WYBSUDRI.js} +2 -2
- package/dist/{chunk-JMQTEJC4.js → chunk-ZQARUJYZ.js} +3 -3
- package/dist/index.css +713 -713
- package/dist/index.d.ts +1 -1
- package/dist/index.js +50 -50
- package/dist/inputs/src/InputGroup.css +209 -209
- package/dist/inputs/src/InputGroup.js +1 -1
- package/dist/inputs/src/NumberField.css +231 -231
- package/dist/inputs/src/NumberField.js +6 -6
- package/dist/inputs/src/PasswordField.css +219 -219
- package/dist/inputs/src/PasswordField.js +7 -7
- package/dist/inputs/src/RemainingCharacterCount.css +30 -30
- package/dist/inputs/src/RemainingCharacterCount.d.ts +7 -8
- package/dist/inputs/src/RemainingCharacterCount.js +5 -5
- package/dist/inputs/src/SearchField.css +225 -225
- package/dist/inputs/src/SearchField.js +8 -8
- package/dist/inputs/src/TextArea.css +226 -226
- package/dist/inputs/src/TextArea.js +7 -7
- package/dist/inputs/src/TextField.css +223 -223
- package/dist/inputs/src/TextField.js +9 -9
- package/dist/inputs/src/index.css +269 -269
- package/dist/inputs/src/index.d.ts +1 -2
- package/dist/inputs/src/index.js +13 -13
- package/dist/layout/src/Content.js +1 -1
- package/dist/layout/src/Footer.js +1 -1
- package/dist/overlays/Popover/src/Popover.css +713 -713
- package/dist/overlays/Popover/src/Popover.js +50 -50
- package/dist/overlays/Popover/src/index.css +713 -713
- package/dist/overlays/Popover/src/index.js +50 -50
- package/dist/radio/src/DecorativeRadio.css +54 -54
- package/dist/radio/src/DecorativeRadio.js +2 -2
- package/dist/radio/src/Radio.css +46 -46
- package/dist/radio/src/Radio.js +2 -2
- package/dist/radio/src/RadioField.css +33 -33
- package/dist/radio/src/RadioField.js +1 -1
- package/dist/radio/src/RadioGroup.css +98 -98
- package/dist/radio/src/RadioGroup.js +1 -1
- package/dist/radio/src/index.css +98 -98
- package/dist/radio/src/index.js +5 -5
- package/dist/switch/src/Switch.css +43 -43
- package/dist/switch/src/Switch.js +2 -2
- package/dist/switch/src/SwitchField.css +33 -33
- package/dist/switch/src/SwitchField.js +1 -1
- package/dist/switch/src/index.css +49 -49
- package/dist/switch/src/index.js +3 -3
- package/dist/tag/src/Tag.css +335 -335
- package/dist/tag/src/Tag.js +5 -5
- package/dist/tag/src/TagGroup.css +37 -37
- package/dist/tag/src/TagGroup.js +1 -1
- package/dist/tag/src/TagList.css +27 -27
- package/dist/tag/src/index.css +345 -345
- package/dist/tag/src/index.js +6 -6
- package/dist/typography/Heading/src/Heading.css +27 -27
- package/dist/typography/Heading/src/Heading.js +1 -1
- package/dist/typography/Heading/src/index.css +27 -27
- package/dist/typography/Heading/src/index.js +1 -1
- package/dist/typography/Label/src/Label.css +27 -27
- package/dist/typography/Label/src/Label.js +1 -1
- package/dist/typography/Label/src/index.css +27 -27
- package/dist/typography/Label/src/index.js +1 -1
- package/dist/typography/OverlineText/src/OverlineText.css +27 -27
- package/dist/typography/OverlineText/src/OverlineText.js +1 -1
- package/dist/typography/OverlineText/src/index.css +27 -27
- package/dist/typography/OverlineText/src/index.js +1 -1
- package/dist/typography/Text/src/Text.css +27 -27
- package/dist/typography/Text/src/Text.js +1 -1
- package/dist/typography/Text/src/index.css +27 -27
- package/dist/typography/Text/src/index.js +1 -1
- package/dist/utils/src/EnsureTextWrapper.css +27 -27
- package/dist/utils/src/EnsureTextWrapper.js +5 -5
- package/dist/utils/src/index.css +27 -27
- package/dist/utils/src/index.js +5 -5
- package/package.json +3 -3
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { RadioContext } from './chunk-FU5CCPLP.js';
|
|
2
2
|
import { isTextOnlyChildren } from './chunk-ZWU6DRRZ.js';
|
|
3
3
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
4
|
-
import { _Text } from './chunk-
|
|
4
|
+
import { _Text } from './chunk-EY4ZTKS4.js';
|
|
5
5
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
6
6
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
7
7
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.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___jfkTo", "hop-Radio--sm": "Radio-module__hop-Radio--sm___OK5R9", "hop-Radio--md": "Radio-module__hop-Radio--md___2YdrB", "hop-Radio__icon": "Radio-module__hop-Radio__icon___LBLoi", "hop-Radio__icon-list": "Radio-module__hop-Radio__icon-list___OAfQW", "hop-Radio__box": "Radio-module__hop-Radio__box___pKex2", "hop-Radio__bullet": "Radio-module__hop-Radio__bullet___yzDrc", "hop-Radio__text": "Radio-module__hop-Radio__text___jm7A1" };
|
|
18
18
|
var GlobalRadioCssSelector = "hop-Radio";
|
|
19
19
|
function Radio(props, ref) {
|
|
20
20
|
var _a;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FooterContext } from './chunk-I67NHYK4.js';
|
|
2
|
-
import { useStyledSystem } from '@hopper-ui/styled-system';
|
|
2
|
+
import { slot, useStyledSystem } from '@hopper-ui/styled-system';
|
|
3
3
|
import clsx from 'clsx';
|
|
4
4
|
import { forwardRef } from 'react';
|
|
5
5
|
import { useContextProps } from 'react-aria-components';
|
|
@@ -37,7 +37,7 @@ function Footer(props, ref) {
|
|
|
37
37
|
}
|
|
38
38
|
);
|
|
39
39
|
}
|
|
40
|
-
var _Footer = forwardRef(Footer);
|
|
40
|
+
var _Footer = slot("footer", forwardRef(Footer));
|
|
41
41
|
_Footer.displayName = "Footer";
|
|
42
42
|
|
|
43
43
|
export { GlobalFooterCssSelector, _Footer };
|
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
import { _OverlineText } from './chunk-
|
|
1
|
+
import { _OverlineText } from './chunk-TVRQWVE2.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';
|
|
5
5
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
6
6
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
7
|
-
import { useStyledSystem } from '@hopper-ui/styled-system';
|
|
7
|
+
import { slot, useStyledSystem } from '@hopper-ui/styled-system';
|
|
8
|
+
import { filterDOMProps } from '@react-aria/utils';
|
|
8
9
|
import { forwardRef } from 'react';
|
|
9
10
|
import { mergeProps } from 'react-aria';
|
|
10
11
|
import { useContextProps, composeRenderProps } from 'react-aria-components';
|
|
11
12
|
import { jsx } from 'react/jsx-runtime';
|
|
12
13
|
|
|
13
14
|
// css-module:./Badge.module.css#css-module
|
|
14
|
-
var Badge_module_default = { "hop-Badge": "Badge-module__hop-
|
|
15
|
+
var Badge_module_default = { "hop-Badge": "Badge-module__hop-Badge___CAGGZ" };
|
|
15
16
|
var GlobalBadgeCssSelector = "hop-Badge";
|
|
16
17
|
function Badge(props, ref) {
|
|
17
18
|
[props, ref] = useContextProps(props, ref, BadgeContext);
|
|
@@ -54,10 +55,11 @@ function Badge(props, ref) {
|
|
|
54
55
|
}
|
|
55
56
|
});
|
|
56
57
|
const isDot = isIndeterminate || !renderProps.children;
|
|
58
|
+
const filteredProps = filterDOMProps(otherProps, { labelable: true });
|
|
57
59
|
return /* @__PURE__ */ jsx(ClearContainerSlots, { children: /* @__PURE__ */ jsx(
|
|
58
60
|
_OverlineText,
|
|
59
61
|
{
|
|
60
|
-
...mergeProps(
|
|
62
|
+
...mergeProps(filteredProps, renderProps),
|
|
61
63
|
ref,
|
|
62
64
|
slot: slot != null ? slot : void 0,
|
|
63
65
|
"data-disabled": isDisabled || void 0,
|
|
@@ -71,7 +73,7 @@ function Badge(props, ref) {
|
|
|
71
73
|
}
|
|
72
74
|
) });
|
|
73
75
|
}
|
|
74
|
-
var _Badge = forwardRef(Badge);
|
|
76
|
+
var _Badge = slot("badge", forwardRef(Badge));
|
|
75
77
|
_Badge.displayName = "Badge";
|
|
76
78
|
|
|
77
79
|
export { GlobalBadgeCssSelector, _Badge };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { _DecorativeRadio } from './chunk-
|
|
2
|
-
import { _DecorativeCheckbox } from './chunk-
|
|
1
|
+
import { _DecorativeRadio } from './chunk-LTCSPHF7.js';
|
|
2
|
+
import { _DecorativeCheckbox } from './chunk-F3Y5D5LH.js';
|
|
3
3
|
import { ListBoxItemContext } from './chunk-Y2POLIXK.js';
|
|
4
|
-
import { _ListBoxItemSkeleton } from './chunk-
|
|
4
|
+
import { _ListBoxItemSkeleton } from './chunk-RUASAI7F.js';
|
|
5
5
|
import { isTextOnlyChildren } from './chunk-ZWU6DRRZ.js';
|
|
6
6
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
7
7
|
import { BadgeContext } from './chunk-CQDLZ42T.js';
|
|
8
|
-
import { _Text } from './chunk-
|
|
8
|
+
import { _Text } from './chunk-EY4ZTKS4.js';
|
|
9
9
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
10
10
|
import { AvatarContext } from './chunk-AES7QBQE.js';
|
|
11
11
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
@@ -18,7 +18,7 @@ import { useContextProps, composeRenderProps, ListBoxItem as ListBoxItem$1, List
|
|
|
18
18
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
19
19
|
|
|
20
20
|
// css-module:./ListBoxItem.module.css#css-module
|
|
21
|
-
var ListBoxItem_module_default = { "hop-ListBoxItem": "ListBoxItem-module__hop-
|
|
21
|
+
var ListBoxItem_module_default = { "hop-ListBoxItem": "ListBoxItem-module__hop-ListBoxItem___FsGx6", "hop-ListBoxItem--xs": "ListBoxItem-module__hop-ListBoxItem--xs___1rcka", "hop-ListBoxItem--sm": "ListBoxItem-module__hop-ListBoxItem--sm___GmXiF", "hop-ListBoxItem--md": "ListBoxItem-module__hop-ListBoxItem--md___ShKUC", "hop-ListBoxItem--lg": "ListBoxItem-module__hop-ListBoxItem--lg___ZPvS0", "hop-ListBoxItem__inner": "ListBoxItem-module__hop-ListBoxItem__inner___C4FSb", "hop-ListBoxItem__checkmark": "ListBoxItem-module__hop-ListBoxItem__checkmark___26r9S", "hop-ListBoxItem__description": "ListBoxItem-module__hop-ListBoxItem__description___Hw-0w", "hop-ListBoxItem__radio": "ListBoxItem-module__hop-ListBoxItem__radio___YeAKh", "hop-ListBoxItem__checkbox": "ListBoxItem-module__hop-ListBoxItem__checkbox___UUg42", "hop-ListBoxItem__avatar": "ListBoxItem-module__hop-ListBoxItem__avatar___e7swH", "hop-ListBoxItem__icon-list": "ListBoxItem-module__hop-ListBoxItem__icon-list___N3a4N", "hop-ListBoxItem__icon": "ListBoxItem-module__hop-ListBoxItem__icon___3u6me", "hop-ListBoxItem__label": "ListBoxItem-module__hop-ListBoxItem__label___9EHSW", "hop-ListBoxItem__end-icon-list": "ListBoxItem-module__hop-ListBoxItem__end-icon-list___RPjwT", "hop-ListBoxItem__end-icon": "ListBoxItem-module__hop-ListBoxItem__end-icon___t2-Lp", "hop-ListBoxItem__badge": "ListBoxItem-module__hop-ListBoxItem__badge___quHvk" };
|
|
22
22
|
var GlobalListBoxItemCssSelector = "hop-ListBoxItem";
|
|
23
23
|
var ListBoxItemToIconSizeAdapter = {
|
|
24
24
|
xs: "sm",
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { _Text } from './chunk-
|
|
2
|
-
import { useImageFallback } from './chunk-
|
|
1
|
+
import { _Text } from './chunk-EY4ZTKS4.js';
|
|
2
|
+
import { useImageFallback } from './chunk-LI5HSYF7.js';
|
|
3
3
|
import { AvatarContext } from './chunk-AES7QBQE.js';
|
|
4
|
-
import { _RichIconAvatarImage } from './chunk-
|
|
4
|
+
import { _RichIconAvatarImage } from './chunk-W5TXSSFB.js';
|
|
5
5
|
import { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
6
6
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
7
7
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
8
8
|
import { BrokenImageRichIcon } from '@hopper-ui/icons';
|
|
9
|
-
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
9
|
+
import { slot, useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
10
10
|
import { filterDOMProps, mergeProps } from '@react-aria/utils';
|
|
11
11
|
import { forwardRef, useMemo } from 'react';
|
|
12
12
|
import { useContextProps, composeRenderProps } from 'react-aria-components';
|
|
13
13
|
import { jsx } from 'react/jsx-runtime';
|
|
14
14
|
|
|
15
15
|
// css-module:./Avatar.module.css#css-module
|
|
16
|
-
var Avatar_module_default = { "hop-Avatar": "Avatar-module__hop-
|
|
16
|
+
var Avatar_module_default = { "hop-Avatar": "Avatar-module__hop-Avatar___7VeLx", "hop-Avatar--xs": "Avatar-module__hop-Avatar--xs___4tFrx", "hop-Avatar--sm": "Avatar-module__hop-Avatar--sm___3HUSh", "hop-Avatar--md": "Avatar-module__hop-Avatar--md___qnbCu", "hop-Avatar--lg": "Avatar-module__hop-Avatar--lg___pcQaT", "hop-Avatar--xl": "Avatar-module__hop-Avatar--xl___IS8p4", "hop-Avatar--2xl": "Avatar-module__hop-Avatar--2xl___US1S4", "hop-Avatar--decorative-option1": "Avatar-module__hop-Avatar--decorative-option1___Tp14-", "hop-Avatar--decorative-option2": "Avatar-module__hop-Avatar--decorative-option2___VpJ4v", "hop-Avatar--decorative-option3": "Avatar-module__hop-Avatar--decorative-option3___mHgoS", "hop-Avatar--decorative-option4": "Avatar-module__hop-Avatar--decorative-option4___ThOjQ", "hop-Avatar--decorative-option5": "Avatar-module__hop-Avatar--decorative-option5___JsL-S", "hop-Avatar--decorative-option6": "Avatar-module__hop-Avatar--decorative-option6___W6SRa", "hop-Avatar--decorative-option7": "Avatar-module__hop-Avatar--decorative-option7___n-xjo", "hop-Avatar--decorative-option8": "Avatar-module__hop-Avatar--decorative-option8___EXyr5", "hop-Avatar--decorative-option9": "Avatar-module__hop-Avatar--decorative-option9___6iLWS", "hop-Avatar__image": "Avatar-module__hop-Avatar__image___zN7CK" };
|
|
17
17
|
var GlobalAvatarCssSelector = "hop-Avatar";
|
|
18
18
|
var AvatarToTextSizeAdapter = {
|
|
19
19
|
xs: "xs",
|
|
@@ -81,9 +81,10 @@ function Avatar(props, ref) {
|
|
|
81
81
|
const imageLoaded = status === "loaded";
|
|
82
82
|
const imageFailed = status === "failed";
|
|
83
83
|
const size = (_a = useResponsiveValue(sizeValue)) != null ? _a : "md";
|
|
84
|
-
const
|
|
85
|
-
const
|
|
86
|
-
const
|
|
84
|
+
const isFallbackInitials = fallbackSrc === null;
|
|
85
|
+
const isBrokenImage = imageFailed && !isFallbackInitials;
|
|
86
|
+
const isImage = src && !imageFailed && imageLoaded;
|
|
87
|
+
const isInitials = !src || !isImage && isFallbackInitials;
|
|
87
88
|
const classNames = composeClassnameRenderProps(
|
|
88
89
|
className,
|
|
89
90
|
GlobalAvatarCssSelector,
|
|
@@ -111,7 +112,7 @@ function Avatar(props, ref) {
|
|
|
111
112
|
isDisabled: isDisabled || false
|
|
112
113
|
}
|
|
113
114
|
});
|
|
114
|
-
if (
|
|
115
|
+
if (isBrokenImage) {
|
|
115
116
|
return /* @__PURE__ */ jsx(
|
|
116
117
|
_RichIconAvatarImage,
|
|
117
118
|
{
|
|
@@ -126,7 +127,7 @@ function Avatar(props, ref) {
|
|
|
126
127
|
);
|
|
127
128
|
}
|
|
128
129
|
let content = null;
|
|
129
|
-
if (isInitials
|
|
130
|
+
if (isInitials) {
|
|
130
131
|
content = /* @__PURE__ */ jsx(
|
|
131
132
|
AvatarInitials,
|
|
132
133
|
{
|
|
@@ -162,7 +163,7 @@ function Avatar(props, ref) {
|
|
|
162
163
|
}
|
|
163
164
|
);
|
|
164
165
|
}
|
|
165
|
-
var _Avatar = forwardRef(Avatar);
|
|
166
|
+
var _Avatar = slot("avatar", forwardRef(Avatar));
|
|
166
167
|
_Avatar.displayName = "Avatar";
|
|
167
168
|
|
|
168
169
|
export { AvatarToTextSizeAdapter, GlobalAvatarCssSelector, _Avatar };
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import { useIsomorphicLayoutEffect } from '@hopper-ui/styled-system';
|
|
2
|
-
import { useState, useRef, useCallback } from 'react';
|
|
2
|
+
import { useState, useEffect, useRef, useCallback } from 'react';
|
|
3
3
|
|
|
4
4
|
// src/Avatar/src/useImageFallback.ts
|
|
5
5
|
function useImageFallback(props) {
|
|
6
6
|
const { src, fallbackSrc, onError, onLoad } = props;
|
|
7
|
-
const [status, setStatus] = useState(
|
|
7
|
+
const [status, setStatus] = useState("pending");
|
|
8
8
|
const [imageUrl, setImageUrl] = useState(src != null ? src : "");
|
|
9
|
+
useEffect(() => {
|
|
10
|
+
setStatus(src ? "loading" : "pending");
|
|
11
|
+
}, [src]);
|
|
9
12
|
const imageRef = useRef();
|
|
10
13
|
const load = useCallback(() => {
|
|
11
14
|
if (!src) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { RadioContext } from './chunk-FU5CCPLP.js';
|
|
2
2
|
import { isTextOnlyChildren } from './chunk-ZWU6DRRZ.js';
|
|
3
3
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
4
|
-
import { _Text } from './chunk-
|
|
4
|
+
import { _Text } from './chunk-EY4ZTKS4.js';
|
|
5
5
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
6
6
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
7
7
|
import { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
@@ -16,7 +16,7 @@ import { useContextProps, composeRenderProps } from 'react-aria-components';
|
|
|
16
16
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
17
17
|
|
|
18
18
|
// css-module:./DecorativeRadio.module.css#css-module
|
|
19
|
-
var DecorativeRadio_module_default = { "hop-DecorativeRadio": "DecorativeRadio-module__hop-
|
|
19
|
+
var DecorativeRadio_module_default = { "hop-DecorativeRadio": "DecorativeRadio-module__hop-DecorativeRadio___9-nDh Radio-module__hop-Radio___jfkTo", "hop-DecorativeRadio--sm": "DecorativeRadio-module__hop-DecorativeRadio--sm___21UrZ Radio-module__hop-Radio--sm___OK5R9", "hop-DecorativeRadio--md": "DecorativeRadio-module__hop-DecorativeRadio--md___-xbaE Radio-module__hop-Radio--md___2YdrB", "hop-DecorativeRadio__icon": "DecorativeRadio-module__hop-DecorativeRadio__icon___PAylU Radio-module__hop-Radio__icon___LBLoi", "hop-DecorativeRadio__icon-list": "DecorativeRadio-module__hop-DecorativeRadio__icon-list___-a8lv Radio-module__hop-Radio__icon___LBLoi", "hop-DecorativeRadio__box": "DecorativeRadio-module__hop-DecorativeRadio__box___kJMOI Radio-module__hop-Radio__box___pKex2", "hop-DecorativeRadio__bullet": "DecorativeRadio-module__hop-DecorativeRadio__bullet___LoeKv Radio-module__hop-Radio__bullet___yzDrc", "hop-DecorativeRadio__text": "DecorativeRadio-module__hop-DecorativeRadio__text___Zw4G6 Radio-module__hop-Radio__text___jm7A1" };
|
|
20
20
|
var GlobalDecorativeRadioCssSelector = "hop-DecorativeRadio";
|
|
21
21
|
function DecorativeRadio(props, ref) {
|
|
22
22
|
var _a;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useIsOverflow } from './chunk-EHXOXTDN.js';
|
|
2
2
|
import { useLocalizedString } from './chunk-TFVDF4YH.js';
|
|
3
|
-
import { _Text } from './chunk-
|
|
3
|
+
import { _Text } from './chunk-EY4ZTKS4.js';
|
|
4
4
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
5
5
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
6
6
|
import { AvatarContext } from './chunk-AES7QBQE.js';
|
|
@@ -16,7 +16,7 @@ import { useContextProps, SelectValueContext, SelectStateContext, useSlottedCont
|
|
|
16
16
|
import { jsx } from 'react/jsx-runtime';
|
|
17
17
|
|
|
18
18
|
// css-module:./SelectValue.module.css#css-module
|
|
19
|
-
var SelectValue_module_default = { "hop-SelectValue": "SelectValue-module__hop-
|
|
19
|
+
var SelectValue_module_default = { "hop-SelectValue": "SelectValue-module__hop-SelectValue___a1jpc", "hop-SelectValue__text": "SelectValue-module__hop-SelectValue__text___ZCStH", "hop-SelectValue__avatar": "SelectValue-module__hop-SelectValue__avatar___Xs2vx", "hop-SelectValue__icon": "SelectValue-module__hop-SelectValue__icon___RyQSV", "hop-SelectValue__end-icon": "SelectValue-module__hop-SelectValue__end-icon___-E2ZQ" };
|
|
20
20
|
var GlobalSelectValueCssSelector = "hop-SelectValue";
|
|
21
21
|
var SelectValueToAvatarSizeAdapter = {
|
|
22
22
|
sm: "xs",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AvatarContext } from './chunk-AES7QBQE.js';
|
|
2
|
-
import { _RichIconAvatarImage } from './chunk-
|
|
2
|
+
import { _RichIconAvatarImage } from './chunk-W5TXSSFB.js';
|
|
3
3
|
import { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
4
4
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
5
5
|
import { DeletedUserRichIcon } from '@hopper-ui/icons';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HeaderContext } from './chunk-7JOGKC3W.js';
|
|
2
|
-
import { useStyledSystem } from '@hopper-ui/styled-system';
|
|
2
|
+
import { slot, useStyledSystem } from '@hopper-ui/styled-system';
|
|
3
3
|
import clsx from 'clsx';
|
|
4
4
|
import { forwardRef } from 'react';
|
|
5
5
|
import { useContextProps, Header as Header$1 } from 'react-aria-components';
|
|
@@ -37,7 +37,7 @@ function Header(props, ref) {
|
|
|
37
37
|
}
|
|
38
38
|
);
|
|
39
39
|
}
|
|
40
|
-
var _Header = forwardRef(Header);
|
|
40
|
+
var _Header = slot("header", forwardRef(Header));
|
|
41
41
|
_Header.displayName = "Header";
|
|
42
42
|
|
|
43
43
|
export { GlobalHeaderCssSelector, _Header };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ErrorMessageContext } from './chunk-FAE27DLF.js';
|
|
2
|
-
import { _Text } from './chunk-
|
|
2
|
+
import { _Text } from './chunk-EY4ZTKS4.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___kq1kK", "hop-ErrorMessage__icon": "ErrorMessage-module__hop-ErrorMessage__icon___KpFrX" };
|
|
14
14
|
var GlobalErrorMessageCssSelector = "hop-ErrorMessage";
|
|
15
15
|
function ErrorMessage(props, ref) {
|
|
16
16
|
const validation = useContext(FieldErrorContext);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { isTextOnlyChildren } from './chunk-ZWU6DRRZ.js';
|
|
2
2
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
3
3
|
import { LinkContext } from './chunk-4VVNSXIB.js';
|
|
4
|
-
import { _Text } from './chunk-
|
|
4
|
+
import { _Text } from './chunk-EY4ZTKS4.js';
|
|
5
5
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
6
6
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
7
7
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
@@ -13,7 +13,7 @@ import { useContextProps, composeRenderProps, DEFAULT_SLOT, Link 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___sK0-O", "hop-Link--quiet": "Link-module__hop-Link--quiet___rc7Ur", "hop-Link--primary": "Link-module__hop-Link--primary___HzaUY", "hop-Link--secondary": "Link-module__hop-Link--secondary___uws2M", "hop-Link__icon": "Link-module__hop-Link__icon___Cg5ew", "hop-Link__icon-list": "Link-module__hop-Link__icon-list___nFXJm", "hop-Link__text": "Link-module__hop-Link__text___p-N4R", "hop-Link__start-icon": "Link-module__hop-Link__start-icon___759bI", "hop-Link__start-icon-list": "Link-module__hop-Link__start-icon-list___xuvYI" };
|
|
17
17
|
var GlobalLinkCssSelector = "hop-Link";
|
|
18
18
|
var LinkToIconSizeAdapter = {
|
|
19
19
|
inherit: void 0,
|
|
@@ -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___QONE-", "hop-TagGroup__label": "TagGroup-module__hop-TagGroup__label___oQcTi", "hop-TagGroup__list": "TagGroup-module__hop-TagGroup__list___fidyr", "hop-TagGroup__error-message": "TagGroup-module__hop-TagGroup__error-message___I-DVq", "hop-TagGroup__helper-message": "TagGroup-module__hop-TagGroup__helper-message___qyJAw" };
|
|
17
17
|
var GlobalTagGroupCssSelector = "hop-TagGroup";
|
|
18
18
|
function TagGroup(props, ref) {
|
|
19
19
|
var _a;
|
|
@@ -1,10 +1,10 @@
|
|
|
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-CPRGKGB6.js';
|
|
4
4
|
import { useLocalizedString } from './chunk-TFVDF4YH.js';
|
|
5
5
|
import { isTextOnlyChildren } from './chunk-ZWU6DRRZ.js';
|
|
6
6
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
7
|
-
import { _Text } from './chunk-
|
|
7
|
+
import { _Text } from './chunk-EY4ZTKS4.js';
|
|
8
8
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
9
9
|
import { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
10
10
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.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___wjTP-", "hop-Button--icon-only": "Button-module__hop-Button--icon-only___Y6cTW", "hop-Button--fluid": "Button-module__hop-Button--fluid___u2Rsb", "hop-Button--sm": "Button-module__hop-Button--sm___PtxVJ", "hop-Button--primary": "Button-module__hop-Button--primary___QscV7", "hop-Button--md": "Button-module__hop-Button--md___Kf-xg", "hop-Button--secondary": "Button-module__hop-Button--secondary___iKrio", "hop-Button--upsell": "Button-module__hop-Button--upsell___aX5uD", "hop-Button--danger": "Button-module__hop-Button--danger___TS4Dz", "hop-Button--ghost-danger": "Button-module__hop-Button--ghost-danger___jCt3e", "hop-Button--ghost-secondary": "Button-module__hop-Button--ghost-secondary___ukC43", "hop-Button--ghost-primary": "Button-module__hop-Button--ghost-primary___tKBcb", "hop-Button__Spinner": "Button-module__hop-Button__Spinner___wTODE", "hop-Button__icon": "Button-module__hop-Button__icon___pq1ew", "hop-Button__icon-list": "Button-module__hop-Button__icon-list___X6Uak", "hop-Button__text": "Button-module__hop-Button__text___ecOz7", "hop-Button__end-icon": "Button-module__hop-Button__end-icon___h3xwk", "hop-Button__end-icon-list": "Button-module__hop-Button__end-icon-list___JYxeZ" };
|
|
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:./FloatingBadge.module.css#css-module
|
|
13
|
-
var FloatingBadge_module_default = { "hop-FloatingBadge": "FloatingBadge-module__hop-
|
|
13
|
+
var FloatingBadge_module_default = { "hop-FloatingBadge": "FloatingBadge-module__hop-FloatingBadge___RY6Id", "hop-FloatingBadge__badge": "FloatingBadge-module__hop-FloatingBadge__badge___fhvV6" };
|
|
14
14
|
var GlobalFloatingBadgeCssSelector = "hop-FloatingBadge";
|
|
15
15
|
function FloatingBadge(props, ref) {
|
|
16
16
|
[props, ref] = useContextProps(props, ref, FloatingBadgeContext);
|
|
@@ -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___wq4li", "placeholder-shimmer": "ListBoxItemSkeleton-module__placeholder-shimmer___0HSPG", "hop-ListBoxItemSkeleton--xs": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--xs___sWHKo", "hop-ListBoxItemSkeleton--sm": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--sm___Zg45u", "hop-ListBoxItemSkeleton--md": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--md___Ye0MT", "hop-ListBoxItemSkeleton--lg": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--lg___5S4Zv" };
|
|
11
11
|
var GlobalListBoxItemSkeletonCssSelector = "hop-ListBoxItemSkeleton";
|
|
12
12
|
function ListBoxItemSkeleton(props, ref) {
|
|
13
13
|
var _a;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { useFontFaceReady } from './chunk-IU6XMS2X.js';
|
|
2
2
|
import { TextAreaContext } from './chunk-MHQZXLKW.js';
|
|
3
3
|
import { useTruncatedText } from './chunk-Z57VHYOF.js';
|
|
4
|
-
import { _RemainingCharacterCount } from './chunk-
|
|
5
|
-
import { _InputGroup } from './chunk-
|
|
4
|
+
import { _RemainingCharacterCount } from './chunk-2XTLP4NP.js';
|
|
5
|
+
import { _InputGroup } from './chunk-24KHRRRV.js';
|
|
6
6
|
import { LabelContext } from './chunk-QCA3ZR56.js';
|
|
7
7
|
import { HelperMessageContext } from './chunk-HZKFQ33E.js';
|
|
8
8
|
import { ErrorMessageContext } from './chunk-FAE27DLF.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___BapJY", "hop-TextArea--fluid": "TextArea-module__hop-TextArea--fluid___rzMAN", "hop-TextArea__Label": "TextArea-module__hop-TextArea__Label___p9CyW", "hop-TextArea__prefix": "TextArea-module__hop-TextArea__prefix___0RuoI", "hop-TextArea__InputGroup": "TextArea-module__hop-TextArea__InputGroup___gLsrJ", "hop-TextArea__RemainingCharacterCount": "TextArea-module__hop-TextArea__RemainingCharacterCount___qosDf", "hop-TextArea__textarea": "TextArea-module__hop-TextArea__textarea___3C63P", "hop-TextArea__ErrorMessage": "TextArea-module__hop-TextArea__ErrorMessage___jesHd", "hop-TextArea__HelperMessage": "TextArea-module__hop-TextArea__HelperMessage___AZJlf" };
|
|
82
82
|
var GlobalTextAreaCssSelector = "hop-TextArea";
|
|
83
83
|
var DefaultMinimumTextAreaRows = 3;
|
|
84
84
|
var pxToInt = (value) => {
|
|
@@ -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___N1Elb", "hop-OverlineText__text": "OverlineText-module__hop-OverlineText__text___JbbCm" };
|
|
11
11
|
var GlobalOverlineTextCssSelector = "hop-OverlineText";
|
|
12
12
|
function OverlineText(props, ref) {
|
|
13
13
|
[props, ref] = useContextProps(props, ref, OverlineTextContext);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { useScale } from './chunk-MTDFS4CZ.js';
|
|
2
2
|
import { NumberFieldContext } from './chunk-ZQ3AWYRR.js';
|
|
3
|
-
import { _InputGroup } from './chunk-
|
|
3
|
+
import { _InputGroup } from './chunk-24KHRRRV.js';
|
|
4
4
|
import { LabelContext } from './chunk-QCA3ZR56.js';
|
|
5
5
|
import { isTextOnlyChildren } from './chunk-ZWU6DRRZ.js';
|
|
6
6
|
import { HelperMessageContext } from './chunk-HZKFQ33E.js';
|
|
7
7
|
import { ErrorMessageContext } from './chunk-FAE27DLF.js';
|
|
8
|
-
import { _Text } from './chunk-
|
|
8
|
+
import { _Text } from './chunk-EY4ZTKS4.js';
|
|
9
9
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
10
10
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
11
11
|
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___3lW40", "hop-NumberField--fluid": "NumberField-module__hop-NumberField--fluid___tqZ-J", "hop-NumberField--mobile": "NumberField-module__hop-NumberField--mobile___uFkI1", "hop-NumberField__Label": "NumberField-module__hop-NumberField__Label___UtAol", "hop-NumberField__prefix": "NumberField-module__hop-NumberField__prefix___H2dCE", "hop-NumberField__InputGroup": "NumberField-module__hop-NumberField__InputGroup___fuxBX", "hop-NumberField__ErrorMessage": "NumberField-module__hop-NumberField__ErrorMessage___fKi4m", "hop-NumberField__HelperMessage": "NumberField-module__hop-NumberField__HelperMessage___TppEK", "hop-NumberField__stepper-button": "NumberField-module__hop-NumberField__stepper-button___NoU6e", "hop-NumberField__stepper-button--increment": "NumberField-module__hop-NumberField__stepper-button--increment___tgIiy", "hop-NumberField__stepper-button--decrement": "NumberField-module__hop-NumberField__stepper-button--decrement___KfLhx", "hop-NumberField__stepper-button--mobile": "NumberField-module__hop-NumberField__stepper-button--mobile___xP-ip", "hop-NumberField__stepper-button__icon": "NumberField-module__hop-NumberField__stepper-button__icon___ZxYch", "hop-NumberField__input": "NumberField-module__hop-NumberField__input___nZe0z" };
|
|
25
25
|
var GlobalNumberFieldCssSelector = "hop-NumberField";
|
|
26
26
|
var StepperButton = ({ direction }) => {
|
|
27
27
|
const scale = useScale();
|
|
@@ -4,14 +4,14 @@ import { SlotProvider } from './chunk-M36KANKC.js';
|
|
|
4
4
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
5
5
|
import { RichIconAvatarImageContext } from './chunk-JWW56J7M.js';
|
|
6
6
|
import { RichIconContext } from '@hopper-ui/icons';
|
|
7
|
-
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
7
|
+
import { slot, useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
8
8
|
import { forwardRef } from 'react';
|
|
9
9
|
import { mergeProps } from 'react-aria';
|
|
10
10
|
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___CBk8o", "hop-RichIconAvatarImage--xs": "RichIconAvatarImage-module__hop-RichIconAvatarImage--xs___qVxQY", "hop-RichIconAvatarImage--sm": "RichIconAvatarImage-module__hop-RichIconAvatarImage--sm___njKbU", "hop-RichIconAvatarImage--md": "RichIconAvatarImage-module__hop-RichIconAvatarImage--md___ZCmpm", "hop-RichIconAvatarImage--lg": "RichIconAvatarImage-module__hop-RichIconAvatarImage--lg___E16bV", "hop-RichIconAvatarImage--xl": "RichIconAvatarImage-module__hop-RichIconAvatarImage--xl___YaATA", "hop-RichIconAvatarImage--2xl": "RichIconAvatarImage-module__hop-RichIconAvatarImage--2xl___-pFQX", "hop-RichIconAvatarImage__icon": "RichIconAvatarImage-module__hop-RichIconAvatarImage__icon___HXRdF" };
|
|
15
15
|
var GlobalRichIconAvatarImageCssSelector = "hop-RichIconAvatarImage";
|
|
16
16
|
var AvatarToIconSizeAdapter = {
|
|
17
17
|
xs: "md",
|
|
@@ -84,7 +84,7 @@ function RichIconAvatarImage(props, ref) {
|
|
|
84
84
|
}
|
|
85
85
|
);
|
|
86
86
|
}
|
|
87
|
-
var _RichIconAvatarImage = forwardRef(RichIconAvatarImage);
|
|
87
|
+
var _RichIconAvatarImage = slot("avatar", forwardRef(RichIconAvatarImage));
|
|
88
88
|
_RichIconAvatarImage.displayName = "RichIconAvatarImage";
|
|
89
89
|
|
|
90
90
|
export { AvatarToIconSizeAdapter, GlobalRichIconAvatarImageCssSelector, _RichIconAvatarImage };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CheckboxContext } from './chunk-2EAZPH3M.js';
|
|
2
2
|
import { isTextOnlyChildren } from './chunk-ZWU6DRRZ.js';
|
|
3
3
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
4
|
-
import { _Text } from './chunk-
|
|
4
|
+
import { _Text } from './chunk-EY4ZTKS4.js';
|
|
5
5
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
6
6
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
7
7
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
@@ -14,7 +14,7 @@ import { useContextProps, composeRenderProps, Checkbox as Checkbox$1 } from 'rea
|
|
|
14
14
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
15
15
|
|
|
16
16
|
// css-module:./Checkbox.module.css#css-module
|
|
17
|
-
var Checkbox_module_default = { "hop-Checkbox": "Checkbox-module__hop-
|
|
17
|
+
var Checkbox_module_default = { "hop-Checkbox": "Checkbox-module__hop-Checkbox___72-RK", "hop-Checkbox--sm": "Checkbox-module__hop-Checkbox--sm___XSX4a", "hop-Checkbox--md": "Checkbox-module__hop-Checkbox--md___wLU0H", "hop-Checkbox__icon": "Checkbox-module__hop-Checkbox__icon___-P72h", "hop-Checkbox__icon-list": "Checkbox-module__hop-Checkbox__icon-list___Qiqnf", "hop-Checkbox__box": "Checkbox-module__hop-Checkbox__box___d7Bzl", "hop-Checkbox__check": "Checkbox-module__hop-Checkbox__check___roemI", "hop-Checkbox__text": "Checkbox-module__hop-Checkbox__text___ht42e" };
|
|
18
18
|
var GlobalCheckboxCssSelector = "hop-Checkbox";
|
|
19
19
|
function Checkbox(props, ref) {
|
|
20
20
|
var _a;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { isFunction } from './chunk-TIPN4VYD.js';
|
|
2
2
|
import { useLocalizedString } from './chunk-TFVDF4YH.js';
|
|
3
3
|
import { ListBoxContext } from './chunk-UIEP5BA5.js';
|
|
4
|
-
import { _ListBoxItem } from './chunk-
|
|
4
|
+
import { _ListBoxItem } from './chunk-JSDCGGLX.js';
|
|
5
5
|
import { ListBoxItemContext } from './chunk-Y2POLIXK.js';
|
|
6
6
|
import { SectionContext } from './chunk-5H5AZJPQ.js';
|
|
7
7
|
import { HeaderContext } from './chunk-7JOGKC3W.js';
|
|
8
|
-
import { _Text } from './chunk-
|
|
8
|
+
import { _Text } from './chunk-EY4ZTKS4.js';
|
|
9
9
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
10
10
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
11
11
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
@@ -17,7 +17,7 @@ import { useContextProps, composeRenderProps, ListBox as ListBox$1, Collection }
|
|
|
17
17
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
18
18
|
|
|
19
19
|
// css-module:./ListBox.module.css#css-module
|
|
20
|
-
var ListBox_module_default = { "hop-ListBox": "ListBox-module__hop-
|
|
20
|
+
var ListBox_module_default = { "hop-ListBox": "ListBox-module__hop-ListBox___MX6Wz", "hop-ListBox--fluid": "ListBox-module__hop-ListBox--fluid___hH-41", "hop-ListBox__section": "ListBox-module__hop-ListBox__section___qaZSm", "hop-ListBox__item": "ListBox-module__hop-ListBox__item___E5EdV", "hop-ListBox__section-header": "ListBox-module__hop-ListBox__section-header___Fyn5x" };
|
|
21
21
|
var GlobalListBoxCssSelector = "hop-ListBox";
|
|
22
22
|
var GlobalListBoxEmptyItemCssSelector = "hop-ListBox__empty-item";
|
|
23
23
|
var ListBoxToTextSizeAdapter = {
|