@hopper-ui/components 1.3.4 → 1.3.6
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 +14 -0
- package/dist/Avatar/src/AnonymousAvatar.css +10 -10
- package/dist/Avatar/src/AnonymousAvatar.d.ts +8 -2
- package/dist/Avatar/src/AnonymousAvatar.js +4 -2
- package/dist/Avatar/src/Avatar.css +37 -37
- package/dist/Avatar/src/Avatar.d.ts +8 -2
- package/dist/Avatar/src/Avatar.js +5 -3
- package/dist/Avatar/src/DeletedAvatar.css +10 -10
- package/dist/Avatar/src/DeletedAvatar.d.ts +8 -2
- package/dist/Avatar/src/DeletedAvatar.js +4 -2
- package/dist/Avatar/src/RichIconAvatarImage.css +10 -10
- package/dist/Avatar/src/RichIconAvatarImage.d.ts +9 -2
- package/dist/Avatar/src/RichIconAvatarImage.js +3 -1
- package/dist/Avatar/src/index.css +37 -37
- package/dist/Avatar/src/index.js +7 -5
- package/dist/Badge/src/Badge.css +21 -21
- package/dist/Badge/src/Badge.d.ts +24 -2
- package/dist/Badge/src/Badge.js +4 -2
- package/dist/Badge/src/FloatingBadge.css +10 -10
- package/dist/Badge/src/FloatingBadge.d.ts +2 -2
- package/dist/Badge/src/FloatingBadge.js +1 -1
- package/dist/Badge/src/index.css +31 -31
- package/dist/Badge/src/index.js +5 -3
- 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 +4 -3
- package/dist/ErrorMessage/src/index.css +11 -11
- package/dist/ErrorMessage/src/index.js +4 -3
- package/dist/Form/src/Form.css +1069 -650
- package/dist/Form/src/Form.js +57 -55
- package/dist/Form/src/index.css +1069 -650
- package/dist/Form/src/index.js +57 -55
- package/dist/Header/src/Header.d.ts +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.d.ts +2 -2
- 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 +3 -3
- package/dist/Link/src/index.css +31 -31
- package/dist/Link/src/index.js +3 -3
- package/dist/ListBox/src/ListBox.css +613 -222
- package/dist/ListBox/src/ListBox.js +9 -16
- package/dist/ListBox/src/ListBoxItem.css +598 -207
- package/dist/ListBox/src/ListBoxItem.js +7 -15
- package/dist/ListBox/src/ListBoxItemSkeleton.css +7 -7
- package/dist/ListBox/src/ListBoxItemSkeleton.d.ts +2 -2
- package/dist/ListBox/src/ListBoxItemSkeleton.js +1 -1
- package/dist/ListBox/src/index.css +613 -222
- package/dist/ListBox/src/index.js +9 -16
- package/dist/Select/src/Select.css +1069 -650
- package/dist/Select/src/Select.js +57 -55
- package/dist/Select/src/SelectValue.css +60 -60
- package/dist/Select/src/SelectValue.js +7 -7
- package/dist/Select/src/index.css +1069 -650
- package/dist/Select/src/index.js +57 -55
- package/dist/Spinner/src/Spinner.css +19 -19
- package/dist/Spinner/src/Spinner.d.ts +2 -2
- package/dist/Spinner/src/Spinner.js +3 -3
- package/dist/Spinner/src/index.css +19 -19
- package/dist/Spinner/src/index.js +3 -3
- package/dist/buttons/src/Button.css +94 -94
- package/dist/buttons/src/Button.js +5 -5
- package/dist/buttons/src/ButtonGroup.css +11 -11
- package/dist/buttons/src/ButtonGroup.js +1 -1
- package/dist/buttons/src/ClearButton.css +71 -71
- package/dist/buttons/src/ClearButton.js +2 -2
- package/dist/buttons/src/EmbeddedButton.css +71 -71
- package/dist/buttons/src/EmbeddedButton.js +1 -1
- package/dist/buttons/src/index.css +176 -176
- package/dist/buttons/src/index.js +8 -8
- package/dist/checkbox/src/Checkbox.css +28 -31
- package/dist/checkbox/src/Checkbox.d.ts +1 -3
- package/dist/checkbox/src/Checkbox.js +3 -3
- package/dist/checkbox/src/CheckboxContext.d.ts +0 -2
- package/dist/checkbox/src/CheckboxField.css +15 -15
- package/dist/checkbox/src/CheckboxField.d.ts +8 -2
- package/dist/checkbox/src/CheckboxField.js +3 -1
- package/dist/checkbox/src/CheckboxGroup.css +256 -60
- package/dist/checkbox/src/CheckboxGroup.js +3 -3
- package/dist/checkbox/src/CheckboxList.d.ts +2 -2
- package/dist/checkbox/src/DecorativeCheckbox.css +287 -0
- package/dist/checkbox/src/DecorativeCheckbox.d.ts +18 -0
- package/dist/checkbox/src/DecorativeCheckbox.js +12 -0
- package/dist/checkbox/src/index.css +256 -60
- package/dist/checkbox/src/index.d.ts +1 -0
- package/dist/checkbox/src/index.js +8 -6
- package/dist/{chunk-K7RMLEFM.js → chunk-23GXMA5L.js} +3 -3
- package/dist/{chunk-C4X5PI6E.js → chunk-32QBNIEM.js} +1 -1
- package/dist/{chunk-M5XA2PEG.js → chunk-3K2JRC5Y.js} +1 -1
- package/dist/{chunk-7CT2IBNY.js → chunk-46GSYJ4O.js} +5 -5
- package/dist/{chunk-UWR4QQYY.js → chunk-4RSRAAPW.js} +15 -13
- package/dist/{chunk-3HABKGTW.js → chunk-4U7DCAUG.js} +23 -15
- package/dist/{chunk-YYU3DZW3.js → chunk-56UB7UOG.js} +1 -1
- package/dist/{chunk-BYEORLMA.js → chunk-5RHMPFIJ.js} +4 -4
- package/dist/chunk-6W5XVFIS.js +127 -0
- package/dist/{chunk-QYKLMSBR.js → chunk-6XHZ6XI2.js} +5 -12
- package/dist/chunk-7L5HTRIH.js +130 -0
- package/dist/{chunk-43LD4A2H.js → chunk-7MB63YNF.js} +24 -16
- package/dist/{chunk-OZQT5F42.js → chunk-AAV7H2PI.js} +4 -4
- package/dist/{chunk-RMTA4M7X.js → chunk-C2IFIGEU.js} +4 -10
- package/dist/{chunk-CJU6B2CE.js → chunk-CGL75FSH.js} +17 -28
- package/dist/{chunk-LLQHZY4A.js → chunk-CVYYW7J4.js} +2 -2
- package/dist/{chunk-LUE3SWJ2.js → chunk-D7KHPU3U.js} +1 -1
- package/dist/{chunk-C77ZSLQG.js → chunk-DZZ4WWRN.js} +2 -2
- package/dist/{chunk-MDUON6B4.js → chunk-EUXXCRBZ.js} +1 -1
- package/dist/{chunk-NJD5XPQF.js → chunk-FE6YBJMN.js} +4 -4
- package/dist/{chunk-IZJI5MOD.js → chunk-FU2IY2JF.js} +25 -18
- package/dist/{chunk-MB52JXEM.js → chunk-G6W6FNEX.js} +3 -3
- package/dist/{chunk-KPHI7JZW.js → chunk-HXMMNMFV.js} +4 -4
- package/dist/{chunk-2L4JHF4B.js → chunk-ICGQUOUM.js} +1 -1
- package/dist/{chunk-746OLQYL.js → chunk-KIZSSIMT.js} +3 -3
- package/dist/{chunk-GLSPSFBC.js → chunk-LDWNFZXA.js} +1 -1
- package/dist/{chunk-V7RSOERT.js → chunk-LEPWFS5L.js} +4 -10
- package/dist/{chunk-NLLH6YL3.js → chunk-MYAC6TLH.js} +1 -1
- package/dist/{chunk-Q2VOGHVA.js → chunk-NKZRZZMH.js} +1 -1
- package/dist/{chunk-7HQIQPIT.js → chunk-NQYHB7S3.js} +5 -5
- package/dist/{chunk-24TFXRVQ.js → chunk-NUB4BYRF.js} +22 -12
- package/dist/{chunk-TXW35G4W.js → chunk-NZKS5OKD.js} +22 -13
- package/dist/{chunk-LEG7NAKL.js → chunk-ODXA2UZN.js} +28 -15
- package/dist/{chunk-XTQ3H3SE.js → chunk-OGIBVQFW.js} +22 -14
- package/dist/{chunk-L7K2RI3N.js → chunk-OMF56Z2Y.js} +2 -2
- package/dist/{chunk-F2UGOH5F.js → chunk-PNWMICY7.js} +1 -1
- package/dist/{chunk-OZRPGA34.js → chunk-QLR77TGC.js} +1 -1
- package/dist/{chunk-AGLZTGGC.js → chunk-R4LJYEOV.js} +5 -5
- package/dist/{chunk-BITEHGS4.js → chunk-RDPNKPZ3.js} +23 -11
- package/dist/{chunk-5BCWNYYC.js → chunk-SSCVAJ2H.js} +4 -4
- package/dist/{chunk-37572JO3.js → chunk-UJVTDWNG.js} +11 -11
- package/dist/{chunk-36KWPNRH.js → chunk-YZ676IC2.js} +5 -5
- package/dist/{chunk-ZGJENXEU.js → chunk-ZSOGDKV5.js} +1 -1
- package/dist/index.css +1069 -650
- package/dist/index.d.ts +3 -1
- package/dist/index.js +57 -55
- package/dist/inputs/src/InputGroup.css +191 -191
- package/dist/inputs/src/InputGroup.js +1 -1
- package/dist/inputs/src/NumberField.css +231 -231
- package/dist/inputs/src/NumberField.d.ts +0 -4
- package/dist/inputs/src/NumberField.js +7 -7
- package/dist/inputs/src/PasswordField.css +219 -219
- package/dist/inputs/src/PasswordField.js +9 -9
- package/dist/inputs/src/SearchField.css +225 -225
- package/dist/inputs/src/SearchField.js +9 -9
- package/dist/inputs/src/TextArea.css +225 -225
- 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 +271 -271
- package/dist/inputs/src/index.js +14 -14
- package/dist/layout/src/Content.d.ts +2 -2
- package/dist/layout/src/Footer.d.ts +2 -2
- package/dist/overlays/Popover/src/Popover.css +1069 -650
- package/dist/overlays/Popover/src/Popover.d.ts +2 -2
- package/dist/overlays/Popover/src/Popover.js +57 -55
- package/dist/overlays/Popover/src/index.css +1069 -650
- package/dist/overlays/Popover/src/index.js +57 -55
- package/dist/radio/src/DecorativeRadio.css +286 -0
- package/dist/radio/src/DecorativeRadio.d.ts +18 -0
- package/dist/radio/src/DecorativeRadio.js +12 -0
- package/dist/radio/src/Radio.css +28 -31
- package/dist/radio/src/Radio.d.ts +1 -3
- package/dist/radio/src/Radio.js +3 -3
- package/dist/radio/src/RadioContext.d.ts +0 -2
- package/dist/radio/src/RadioField.css +15 -15
- package/dist/radio/src/RadioField.d.ts +8 -2
- package/dist/radio/src/RadioField.js +4 -2
- package/dist/radio/src/RadioGroup.css +255 -60
- package/dist/radio/src/RadioGroup.js +4 -4
- package/dist/radio/src/RadioList.d.ts +2 -2
- package/dist/radio/src/index.css +255 -60
- package/dist/radio/src/index.d.ts +1 -0
- package/dist/radio/src/index.js +10 -8
- package/dist/switch/src/Switch.css +25 -25
- package/dist/switch/src/Switch.js +3 -3
- package/dist/switch/src/SwitchField.css +15 -15
- package/dist/switch/src/SwitchField.d.ts +8 -2
- package/dist/switch/src/SwitchField.js +3 -1
- package/dist/switch/src/index.css +31 -31
- package/dist/switch/src/index.js +5 -4
- package/dist/tag/src/Tag.css +323 -323
- package/dist/tag/src/Tag.js +6 -6
- package/dist/tag/src/TagGroup.css +22 -22
- package/dist/tag/src/TagGroup.js +2 -2
- package/dist/tag/src/index.css +336 -336
- package/dist/tag/src/index.js +9 -9
- 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 +3 -3
- package/dist/typography/Label/src/Label.js +1 -1
- package/dist/typography/Label/src/index.css +3 -3
- 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 -1
- package/dist/utils/src/index.js +2 -2
- package/dist/utils/src/types.d.ts +30 -6
- package/package.json +4 -4
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { useIsOverflow } from './chunk-EHXOXTDN.js';
|
|
2
2
|
import { useLocalizedString } from './chunk-TFVDF4YH.js';
|
|
3
|
-
import {
|
|
4
|
-
import { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
5
|
-
import { _Text } from './chunk-NLLH6YL3.js';
|
|
3
|
+
import { _Text } from './chunk-MYAC6TLH.js';
|
|
6
4
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
7
5
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
8
6
|
import { AvatarContext } from './chunk-AES7QBQE.js';
|
|
7
|
+
import { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
8
|
+
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
9
9
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
10
10
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
11
11
|
import { IconContext } from '@hopper-ui/icons';
|
|
@@ -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___yOd2A", "hop-SelectValue__avatar": "SelectValue-module__hop-SelectValue__avatar___GYDxZ", "hop-SelectValue__icon": "SelectValue-module__hop-SelectValue__icon___CcPp9", "hop-SelectValue__text": "SelectValue-module__hop-SelectValue__text___pwDdn", "hop-SelectValue__end-icon": "SelectValue-module__hop-SelectValue__end-icon___-JM9p" };
|
|
20
20
|
var GlobalSelectValueCssSelector = "hop-SelectValue";
|
|
21
21
|
var SelectValueToAvatarSizeAdapter = {
|
|
22
22
|
sm: "xs",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { CheckboxContext } from './chunk-2EAZPH3M.js';
|
|
2
2
|
import { isTextOnlyChildren } from './chunk-ZWU6DRRZ.js';
|
|
3
|
-
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
4
3
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
5
|
-
import { _Text } from './chunk-
|
|
4
|
+
import { _Text } from './chunk-MYAC6TLH.js';
|
|
6
5
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
7
6
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
7
|
+
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
8
8
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
9
9
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
10
10
|
import { MinusIcon, CheckmarkIcon, IconContext } from '@hopper-ui/icons';
|
|
@@ -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___wCCR3", "hop-Checkbox--sm": "Checkbox-module__hop-Checkbox--sm___d1GQZ", "hop-Checkbox--md": "Checkbox-module__hop-Checkbox--md___FjgKo", "hop-Checkbox__icon": "Checkbox-module__hop-Checkbox__icon___Yv3pS", "hop-Checkbox__icon-list": "Checkbox-module__hop-Checkbox__icon-list___YsPWx", "hop-Checkbox__box": "Checkbox-module__hop-Checkbox__box___PoPW7", "hop-Checkbox__check": "Checkbox-module__hop-Checkbox__check___YUwMq", "hop-Checkbox__text": "Checkbox-module__hop-Checkbox__text___FLKuq" };
|
|
18
18
|
var GlobalCheckboxCssSelector = "hop-Checkbox";
|
|
19
19
|
function Checkbox(props, ref) {
|
|
20
20
|
var _a;
|
|
@@ -25,9 +25,6 @@ function Checkbox(props, ref) {
|
|
|
25
25
|
children: childrenProp,
|
|
26
26
|
size: sizeProp = "md",
|
|
27
27
|
style: styleProp,
|
|
28
|
-
isPressed,
|
|
29
|
-
isHovered,
|
|
30
|
-
isFocused,
|
|
31
28
|
...otherProps
|
|
32
29
|
} = ownProps;
|
|
33
30
|
const size = (_a = useResponsiveValue(sizeProp)) != null ? _a : "md";
|
|
@@ -37,10 +34,7 @@ function Checkbox(props, ref) {
|
|
|
37
34
|
cssModule(
|
|
38
35
|
Checkbox_module_default,
|
|
39
36
|
"hop-Checkbox",
|
|
40
|
-
size
|
|
41
|
-
isPressed && "pressed",
|
|
42
|
-
isHovered && "hovered",
|
|
43
|
-
isFocused && "focused"
|
|
37
|
+
size
|
|
44
38
|
),
|
|
45
39
|
stylingProps.className
|
|
46
40
|
);
|
|
@@ -1,17 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { _RadioList } from './chunk-NKHMUPAP.js';
|
|
4
|
-
import { _Checkbox } from './chunk-RMTA4M7X.js';
|
|
5
|
-
import { useLocalizedString } from './chunk-TFVDF4YH.js';
|
|
1
|
+
import { _DecorativeRadio } from './chunk-6W5XVFIS.js';
|
|
2
|
+
import { _DecorativeCheckbox } from './chunk-7L5HTRIH.js';
|
|
6
3
|
import { ListBoxItemContext } from './chunk-Y2POLIXK.js';
|
|
7
|
-
import { _ListBoxItemSkeleton } from './chunk-
|
|
4
|
+
import { _ListBoxItemSkeleton } from './chunk-ICGQUOUM.js';
|
|
8
5
|
import { isTextOnlyChildren } from './chunk-ZWU6DRRZ.js';
|
|
9
|
-
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
10
6
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
11
7
|
import { BadgeContext } from './chunk-CQDLZ42T.js';
|
|
12
|
-
import { _Text } from './chunk-
|
|
8
|
+
import { _Text } from './chunk-MYAC6TLH.js';
|
|
13
9
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
14
10
|
import { AvatarContext } from './chunk-AES7QBQE.js';
|
|
11
|
+
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
15
12
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
16
13
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
17
14
|
import { CheckmarkIcon, IconContext } from '@hopper-ui/icons';
|
|
@@ -21,7 +18,7 @@ import { useContextProps, composeRenderProps, ListBoxItem as ListBoxItem$1, List
|
|
|
21
18
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
22
19
|
|
|
23
20
|
// css-module:./ListBoxItem.module.css#css-module
|
|
24
|
-
var ListBoxItem_module_default = { "hop-ListBoxItem": "ListBoxItem-module__hop-
|
|
21
|
+
var ListBoxItem_module_default = { "hop-ListBoxItem": "ListBoxItem-module__hop-ListBoxItem___JwnhO", "hop-ListBoxItem--xs": "ListBoxItem-module__hop-ListBoxItem--xs___zl90j", "hop-ListBoxItem--sm": "ListBoxItem-module__hop-ListBoxItem--sm___liBj0", "hop-ListBoxItem--md": "ListBoxItem-module__hop-ListBoxItem--md___JobkU", "hop-ListBoxItem--lg": "ListBoxItem-module__hop-ListBoxItem--lg___x6zNi", "hop-ListBoxItem__inner": "ListBoxItem-module__hop-ListBoxItem__inner___Y-OfJ", "hop-ListBoxItem__checkmark": "ListBoxItem-module__hop-ListBoxItem__checkmark___4r7bo", "hop-ListBoxItem__description": "ListBoxItem-module__hop-ListBoxItem__description___f6ZNM", "hop-ListBoxItem__radio": "ListBoxItem-module__hop-ListBoxItem__radio___GvYtf", "hop-ListBoxItem__checkbox": "ListBoxItem-module__hop-ListBoxItem__checkbox___JoH8e", "hop-ListBoxItem__avatar": "ListBoxItem-module__hop-ListBoxItem__avatar___foPUm", "hop-ListBoxItem__icon-list": "ListBoxItem-module__hop-ListBoxItem__icon-list___6z82m", "hop-ListBoxItem__icon": "ListBoxItem-module__hop-ListBoxItem__icon___s4qb0", "hop-ListBoxItem__label": "ListBoxItem-module__hop-ListBoxItem__label___M2Rln", "hop-ListBoxItem__end-icon-list": "ListBoxItem-module__hop-ListBoxItem__end-icon-list___9bQl5", "hop-ListBoxItem__end-icon": "ListBoxItem-module__hop-ListBoxItem__end-icon___JsRz0", "hop-ListBoxItem__badge": "ListBoxItem-module__hop-ListBoxItem__badge___UFdM9" };
|
|
25
22
|
var GlobalListBoxItemCssSelector = "hop-ListBoxItem";
|
|
26
23
|
var ListBoxItemToIconSizeAdapter = {
|
|
27
24
|
xs: "sm",
|
|
@@ -42,7 +39,6 @@ var ListBoxItemToAvatarSizeAdapter = {
|
|
|
42
39
|
lg: "md"
|
|
43
40
|
};
|
|
44
41
|
function ListBoxItemInner(props) {
|
|
45
|
-
const stringFormatter = useLocalizedString();
|
|
46
42
|
const listStateContext = useContext(ListStateContext);
|
|
47
43
|
const {
|
|
48
44
|
selectionMode,
|
|
@@ -75,32 +71,23 @@ function ListBoxItemInner(props) {
|
|
|
75
71
|
onTransitionEnd: handleTransitionEnd,
|
|
76
72
|
children: [
|
|
77
73
|
isRadio && /* @__PURE__ */ jsx(
|
|
78
|
-
|
|
74
|
+
_DecorativeRadio,
|
|
79
75
|
{
|
|
76
|
+
className: ListBoxItem_module_default["hop-ListBoxItem__radio"],
|
|
77
|
+
value: "radio",
|
|
80
78
|
size: "sm",
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
isInvalid
|
|
86
|
-
children: /* @__PURE__ */ jsx(_RadioList, { children: /* @__PURE__ */ jsx(
|
|
87
|
-
_Radio,
|
|
88
|
-
{
|
|
89
|
-
className: ListBoxItem_module_default["hop-ListBoxItem__radio"],
|
|
90
|
-
value: "radio",
|
|
91
|
-
isDisabled,
|
|
92
|
-
isHovered: isHovered || isFocusVisible,
|
|
93
|
-
isPressed
|
|
94
|
-
}
|
|
95
|
-
) })
|
|
79
|
+
isDisabled,
|
|
80
|
+
isHovered: isHovered || isFocusVisible,
|
|
81
|
+
isPressed,
|
|
82
|
+
isSelected,
|
|
83
|
+
isInvalid
|
|
96
84
|
}
|
|
97
85
|
),
|
|
98
86
|
isCheckbox && /* @__PURE__ */ jsx(
|
|
99
|
-
|
|
87
|
+
_DecorativeCheckbox,
|
|
100
88
|
{
|
|
101
89
|
size: "sm",
|
|
102
90
|
value: "checkbox",
|
|
103
|
-
"aria-hidden": "true",
|
|
104
91
|
className: ListBoxItem_module_default["hop-ListBoxItem__checkbox"],
|
|
105
92
|
isDisabled,
|
|
106
93
|
isHovered: isHovered || isFocusVisible,
|
|
@@ -227,6 +214,8 @@ function ListBoxItem(props, ref) {
|
|
|
227
214
|
isDisabled: isLoading || isDisabled,
|
|
228
215
|
"data-invalid": isInvalid || void 0,
|
|
229
216
|
"data-loading": isLoading || void 0,
|
|
217
|
+
"aria-label": isLoading ? "Loading" : void 0,
|
|
218
|
+
"aria-live": isLoading ? "polite" : void 0,
|
|
230
219
|
children: (listBoxItemProps) => {
|
|
231
220
|
if (isLoading) {
|
|
232
221
|
return /* @__PURE__ */ jsx(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SpinnerContext } from './chunk-4ZYV2XLW.js';
|
|
2
|
+
import { _Text } from './chunk-MYAC6TLH.js';
|
|
2
3
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
3
|
-
import { _Text } from './chunk-NLLH6YL3.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';
|
|
@@ -9,7 +9,7 @@ import { useContextProps, ProgressBar } from 'react-aria-components';
|
|
|
9
9
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
10
10
|
|
|
11
11
|
// css-module:./Spinner.module.css#css-module
|
|
12
|
-
var Spinner_module_default = { "hop-Spinner": "Spinner-module__hop-
|
|
12
|
+
var Spinner_module_default = { "hop-Spinner": "Spinner-module__hop-Spinner___pzOoW", "spin": "Spinner-module__spin___LNaNh", "hop-Spinner--sm": "Spinner-module__hop-Spinner--sm___pfYnw", "hop-Spinner--md": "Spinner-module__hop-Spinner--md___nOWUL", "hop-Spinner--lg": "Spinner-module__hop-Spinner--lg___lyNuv", "hop-Spinner__track": "Spinner-module__hop-Spinner__track___Ls4HB", "hop-Spinner__fill": "Spinner-module__hop-Spinner__fill___SkjGT", "hop-Spinner__label": "Spinner-module__hop-Spinner__label___Px-28" };
|
|
13
13
|
var GlobalSpinnerCssSelector = "hop-Spinner";
|
|
14
14
|
var SpinnerToTextSizeAdapter = {
|
|
15
15
|
sm: "xs",
|
|
@@ -8,7 +8,7 @@ import { useContextProps, Label as Label$1 } from 'react-aria-components';
|
|
|
8
8
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
9
9
|
|
|
10
10
|
// css-module:./Label.module.css#css-module
|
|
11
|
-
var Label_module_default = { "hop-Label": "Label-module__hop-
|
|
11
|
+
var Label_module_default = { "hop-Label": "Label-module__hop-Label___FQWXv", "hop-Label__indicator": "Label-module__hop-Label__indicator___z-FtY" };
|
|
12
12
|
var GlobalLabelCssSelector = "hop-Label";
|
|
13
13
|
function Label(props, ref) {
|
|
14
14
|
[props, ref] = useContextProps(props, ref, LabelContext);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HelperMessageContext } from './chunk-HZKFQ33E.js';
|
|
2
|
-
import { _Text } from './chunk-
|
|
2
|
+
import { _Text } from './chunk-MYAC6TLH.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___C9XRG", "hop-HelperMessage__icon": "HelperMessage-module__hop-HelperMessage__icon___cgykX" };
|
|
13
13
|
var GlobalHelperMessageCssSelector = "hop-HelperMessage";
|
|
14
14
|
function HelperMessage(props, ref) {
|
|
15
15
|
const validation = useContext(FieldErrorContext);
|
|
@@ -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___a-rdM", "hop-OverlineText__text": "OverlineText-module__hop-OverlineText__text___3-D9M" };
|
|
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 { SearchFieldContext } from './chunk-3NKF5TPD.js';
|
|
2
|
-
import { _InputGroup } from './chunk-
|
|
3
|
-
import { _ClearButton } from './chunk-
|
|
2
|
+
import { _InputGroup } from './chunk-ZSOGDKV5.js';
|
|
3
|
+
import { _ClearButton } from './chunk-QLR77TGC.js';
|
|
4
4
|
import { LabelContext } from './chunk-QCA3ZR56.js';
|
|
5
|
-
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
6
5
|
import { HelperMessageContext } from './chunk-HZKFQ33E.js';
|
|
7
6
|
import { ErrorMessageContext } from './chunk-FAE27DLF.js';
|
|
8
7
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
8
|
+
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
9
9
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
10
10
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
11
11
|
import { IconContext, SearchIcon } from '@hopper-ui/icons';
|
|
@@ -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___9vSYz", "hop-SearchField--fluid": "SearchField-module__hop-SearchField--fluid___r42qe", "hop-SearchField__Label": "SearchField-module__hop-SearchField__Label___4kF-D", "hop-SearchField__prefix": "SearchField-module__hop-SearchField__prefix___Fz0yf", "hop-SearchField__InputGroup": "SearchField-module__hop-SearchField__InputGroup___hloXw", "hop-SearchField--clearable": "SearchField-module__hop-SearchField--clearable___QTkJg", "hop-SearchField__ErrorMessage": "SearchField-module__hop-SearchField__ErrorMessage___MARXt", "hop-SearchField__HelperMessage": "SearchField-module__hop-SearchField__HelperMessage___XXX32", "hop-SearchField__ClearButton": "SearchField-module__hop-SearchField__ClearButton___iCONd" };
|
|
21
21
|
var GlobalSearchFieldCssSelector = "hop-SearchField";
|
|
22
22
|
function SearchField(props, ref) {
|
|
23
23
|
var _a;
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import { _Text } from './chunk-
|
|
1
|
+
import { _Text } from './chunk-MYAC6TLH.js';
|
|
2
2
|
import { useImageFallback } from './chunk-NS3XVOQ7.js';
|
|
3
3
|
import { AvatarContext } from './chunk-AES7QBQE.js';
|
|
4
|
-
import { _RichIconAvatarImage } from './chunk-
|
|
4
|
+
import { _RichIconAvatarImage } from './chunk-NZKS5OKD.js';
|
|
5
|
+
import { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
6
|
+
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
5
7
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
6
8
|
import { BrokenImageRichIcon } from '@hopper-ui/icons';
|
|
7
9
|
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
8
|
-
import { filterDOMProps } from '@react-aria/utils';
|
|
9
|
-
import clsx from 'clsx';
|
|
10
|
+
import { filterDOMProps, mergeProps } from '@react-aria/utils';
|
|
10
11
|
import { forwardRef, useMemo } from 'react';
|
|
11
|
-
import { useContextProps } from 'react-aria-components';
|
|
12
|
+
import { useContextProps, composeRenderProps } from 'react-aria-components';
|
|
12
13
|
import { jsx } from 'react/jsx-runtime';
|
|
13
14
|
|
|
14
15
|
// css-module:./Avatar.module.css#css-module
|
|
15
|
-
var Avatar_module_default = { "hop-Avatar": "Avatar-module__hop-
|
|
16
|
+
var Avatar_module_default = { "hop-Avatar": "Avatar-module__hop-Avatar___zMUBx", "hop-Avatar--xs": "Avatar-module__hop-Avatar--xs___fwYJ0", "hop-Avatar--sm": "Avatar-module__hop-Avatar--sm___RSYai", "hop-Avatar--md": "Avatar-module__hop-Avatar--md___K6lSB", "hop-Avatar--lg": "Avatar-module__hop-Avatar--lg___mwFIB", "hop-Avatar--xl": "Avatar-module__hop-Avatar--xl___KMY1q", "hop-Avatar--2xl": "Avatar-module__hop-Avatar--2xl___6SVrF", "hop-Avatar--decorative-option1": "Avatar-module__hop-Avatar--decorative-option1___npU1o", "hop-Avatar--decorative-option2": "Avatar-module__hop-Avatar--decorative-option2___F-pzz", "hop-Avatar--decorative-option3": "Avatar-module__hop-Avatar--decorative-option3___2NVPh", "hop-Avatar--decorative-option4": "Avatar-module__hop-Avatar--decorative-option4___3II-Z", "hop-Avatar--decorative-option5": "Avatar-module__hop-Avatar--decorative-option5___0Gn--", "hop-Avatar--decorative-option6": "Avatar-module__hop-Avatar--decorative-option6___Vs2U2", "hop-Avatar--decorative-option7": "Avatar-module__hop-Avatar--decorative-option7___fD-81", "hop-Avatar--decorative-option8": "Avatar-module__hop-Avatar--decorative-option8___UPSl5", "hop-Avatar--decorative-option9": "Avatar-module__hop-Avatar--decorative-option9___b9s4c", "hop-Avatar__image": "Avatar-module__hop-Avatar__image___bE5J8" };
|
|
16
17
|
var GlobalAvatarCssSelector = "hop-Avatar";
|
|
17
18
|
var AvatarToTextSizeAdapter = {
|
|
18
19
|
xs: "xs",
|
|
@@ -63,7 +64,6 @@ function Avatar(props, ref) {
|
|
|
63
64
|
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
64
65
|
const {
|
|
65
66
|
"aria-label": ariaLabel,
|
|
66
|
-
className,
|
|
67
67
|
fallbackSrc,
|
|
68
68
|
imageProps,
|
|
69
69
|
isDisabled,
|
|
@@ -71,6 +71,7 @@ function Avatar(props, ref) {
|
|
|
71
71
|
size: sizeValue,
|
|
72
72
|
slot,
|
|
73
73
|
src,
|
|
74
|
+
className,
|
|
74
75
|
style,
|
|
75
76
|
...otherProps
|
|
76
77
|
} = ownProps;
|
|
@@ -83,7 +84,7 @@ function Avatar(props, ref) {
|
|
|
83
84
|
const isBrokenImage = src && imageFailed && fallbackSrc !== null;
|
|
84
85
|
const isImage = src && !imageFailed;
|
|
85
86
|
const isInitials = !src || src && imageFailed && fallbackSrc === null;
|
|
86
|
-
const classNames =
|
|
87
|
+
const classNames = composeClassnameRenderProps(
|
|
87
88
|
className,
|
|
88
89
|
GlobalAvatarCssSelector,
|
|
89
90
|
cssModule(
|
|
@@ -96,22 +97,30 @@ function Avatar(props, ref) {
|
|
|
96
97
|
),
|
|
97
98
|
stylingProps.className
|
|
98
99
|
);
|
|
99
|
-
const mergedStyles = {
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
100
|
+
const mergedStyles = composeRenderProps(style, (prev) => {
|
|
101
|
+
return {
|
|
102
|
+
...stylingProps.style,
|
|
103
|
+
...prev
|
|
104
|
+
};
|
|
105
|
+
});
|
|
106
|
+
const renderProps = useRenderProps({
|
|
107
|
+
...props,
|
|
108
|
+
className: classNames,
|
|
109
|
+
style: mergedStyles,
|
|
110
|
+
values: {
|
|
111
|
+
isDisabled: isDisabled || false
|
|
112
|
+
}
|
|
113
|
+
});
|
|
103
114
|
if (imageFailed && fallbackSrc !== null) {
|
|
104
115
|
return /* @__PURE__ */ jsx(
|
|
105
116
|
_RichIconAvatarImage,
|
|
106
117
|
{
|
|
107
|
-
...domProps,
|
|
118
|
+
...mergeProps(domProps, renderProps),
|
|
108
119
|
"aria-label": ariaLabel != null ? ariaLabel : name,
|
|
109
|
-
className: classNames,
|
|
110
120
|
isDisabled,
|
|
111
121
|
ref,
|
|
112
122
|
size,
|
|
113
123
|
slot,
|
|
114
|
-
style: mergedStyles,
|
|
115
124
|
children: /* @__PURE__ */ jsx(BrokenImageRichIcon, {})
|
|
116
125
|
}
|
|
117
126
|
);
|
|
@@ -143,14 +152,12 @@ function Avatar(props, ref) {
|
|
|
143
152
|
return /* @__PURE__ */ jsx(
|
|
144
153
|
"div",
|
|
145
154
|
{
|
|
146
|
-
...domProps,
|
|
155
|
+
...mergeProps(domProps, renderProps),
|
|
147
156
|
"aria-label": ariaLabel != null ? ariaLabel : name,
|
|
148
|
-
className: classNames,
|
|
149
157
|
"data-disabled": isDisabled || void 0,
|
|
150
158
|
role: "img",
|
|
151
159
|
slot: slot != null ? slot : void 0,
|
|
152
160
|
ref,
|
|
153
|
-
style: mergedStyles,
|
|
154
161
|
children: content
|
|
155
162
|
}
|
|
156
163
|
);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { LinkContext } from './chunk-4VVNSXIB.js';
|
|
2
2
|
import { isTextOnlyChildren } from './chunk-ZWU6DRRZ.js';
|
|
3
|
-
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
4
3
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
5
|
-
import { _Text } from './chunk-
|
|
4
|
+
import { _Text } from './chunk-MYAC6TLH.js';
|
|
6
5
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
6
|
+
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
7
7
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
8
8
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
9
9
|
import { IconContext } from '@hopper-ui/icons';
|
|
@@ -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___ZyB-W", "hop-Link--quiet": "Link-module__hop-Link--quiet___xw3UQ", "hop-Link--primary": "Link-module__hop-Link--primary___LRFPM", "hop-Link--secondary": "Link-module__hop-Link--secondary___PS6RE", "hop-Link__icon": "Link-module__hop-Link__icon___tqMgy", "hop-Link__icon-list": "Link-module__hop-Link__icon-list___zA3TQ", "hop-Link__text": "Link-module__hop-Link__text___X-M4s", "hop-Link__start-icon": "Link-module__hop-Link__start-icon___Ri7ek", "hop-Link__start-icon-list": "Link-module__hop-Link__start-icon-list___dzQhC" };
|
|
17
17
|
var GlobalLinkCssSelector = "hop-Link";
|
|
18
18
|
var LinkToIconSizeAdapter = {
|
|
19
19
|
inherit: void 0,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RadioListContext } from './chunk-A7TZHALP.js';
|
|
2
2
|
import { RadioFieldContext } from './chunk-DGLAGYBD.js';
|
|
3
3
|
import { RadioGroupContext } from './chunk-5MBJWRZD.js';
|
|
4
|
-
import { RadioListContext } from './chunk-A7TZHALP.js';
|
|
5
4
|
import { LabelContext } from './chunk-QCA3ZR56.js';
|
|
6
|
-
import {
|
|
5
|
+
import { RadioContext } from './chunk-FU5CCPLP.js';
|
|
7
6
|
import { HelperMessageContext } from './chunk-HZKFQ33E.js';
|
|
8
7
|
import { ErrorMessageContext } from './chunk-FAE27DLF.js';
|
|
8
|
+
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
9
9
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
10
10
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
11
11
|
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
@@ -14,7 +14,7 @@ import { useContextProps, composeRenderProps, RadioGroup as RadioGroup$1 } from
|
|
|
14
14
|
import { jsx } from 'react/jsx-runtime';
|
|
15
15
|
|
|
16
16
|
// css-module:./RadioGroup.module.css#css-module
|
|
17
|
-
var RadioGroup_module_default = { "hop-RadioGroup": "RadioGroup-module__hop-
|
|
17
|
+
var RadioGroup_module_default = { "hop-RadioGroup": "RadioGroup-module__hop-RadioGroup___MiSJ7", "hop-RadioGroup--bordered": "RadioGroup-module__hop-RadioGroup--bordered___Nriql", "hop-RadioGroup--sm": "RadioGroup-module__hop-RadioGroup--sm___IrP-E", "hop-RadioGroup--md": "RadioGroup-module__hop-RadioGroup--md___FFXm3", "hop-RadioGroup__label": "RadioGroup-module__hop-RadioGroup__label___sryAv", "hop-RadioGroup__list": "RadioGroup-module__hop-RadioGroup__list___U5NgA", "hop-RadioGroup__radio": "RadioGroup-module__hop-RadioGroup__radio___T2EAn", "hop-RadioGroup__error-message": "RadioGroup-module__hop-RadioGroup__error-message___-vNmu", "hop-RadioGroup__helper-message": "RadioGroup-module__hop-RadioGroup__helper-message___ykY3T" };
|
|
18
18
|
var GlobalRadioGroupCssSelector = "hop-RadioGroup";
|
|
19
19
|
function RadioGroup(props, ref) {
|
|
20
20
|
var _a, _b;
|
|
@@ -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___zgPHG", "placeholder-shimmer": "ListBoxItemSkeleton-module__placeholder-shimmer___gcDLf", "hop-ListBoxItemSkeleton--xs": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--xs___nMqoM", "hop-ListBoxItemSkeleton--sm": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--sm___rSb-I", "hop-ListBoxItemSkeleton--md": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--md___tlBUR", "hop-ListBoxItemSkeleton--lg": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--lg___c8Y4L" };
|
|
11
11
|
var GlobalListBoxItemSkeletonCssSelector = "hop-ListBoxItemSkeleton";
|
|
12
12
|
function ListBoxItemSkeleton(props, ref) {
|
|
13
13
|
var _a;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { CheckboxFieldContext } from './chunk-ZGNK4GWA.js';
|
|
2
2
|
import { CheckboxGroupContext } from './chunk-N7YDPVZL.js';
|
|
3
3
|
import { CheckboxListContext } from './chunk-WDUQUPTE.js';
|
|
4
|
-
import { CheckboxContext } from './chunk-2EAZPH3M.js';
|
|
5
4
|
import { LabelContext } from './chunk-QCA3ZR56.js';
|
|
6
|
-
import {
|
|
5
|
+
import { CheckboxContext } from './chunk-2EAZPH3M.js';
|
|
7
6
|
import { HelperMessageContext } from './chunk-HZKFQ33E.js';
|
|
8
7
|
import { ErrorMessageContext } from './chunk-FAE27DLF.js';
|
|
8
|
+
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
9
9
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
10
10
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
11
11
|
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
@@ -14,7 +14,7 @@ import { useContextProps, composeRenderProps, CheckboxGroup as CheckboxGroup$1 }
|
|
|
14
14
|
import { jsx } from 'react/jsx-runtime';
|
|
15
15
|
|
|
16
16
|
// css-module:./CheckboxGroup.module.css#css-module
|
|
17
|
-
var CheckboxGroup_module_default = { "hop-CheckboxGroup": "CheckboxGroup-module__hop-
|
|
17
|
+
var CheckboxGroup_module_default = { "hop-CheckboxGroup": "CheckboxGroup-module__hop-CheckboxGroup___izA5I", "hop-CheckboxGroup--bordered": "CheckboxGroup-module__hop-CheckboxGroup--bordered___6Gomr", "hop-CheckboxGroup--sm": "CheckboxGroup-module__hop-CheckboxGroup--sm___Ja9UA", "hop-CheckboxGroup--md": "CheckboxGroup-module__hop-CheckboxGroup--md___1e57F", "hop-CheckboxGroup__label": "CheckboxGroup-module__hop-CheckboxGroup__label___Ytl-9", "hop-CheckboxGroup__list": "CheckboxGroup-module__hop-CheckboxGroup__list___c9BqI", "hop-CheckboxGroup__checkbox": "CheckboxGroup-module__hop-CheckboxGroup__checkbox___QLISY", "hop-CheckboxGroup__error-message": "CheckboxGroup-module__hop-CheckboxGroup__error-message___gWeGt", "hop-CheckboxGroup__helper-message": "CheckboxGroup-module__hop-CheckboxGroup__helper-message___10PiB" };
|
|
18
18
|
var GlobalCheckboxGroupCssSelector = "hop-CheckboxGroup";
|
|
19
19
|
function CheckboxGroup(props, ref) {
|
|
20
20
|
var _a, _b;
|
|
@@ -7,7 +7,7 @@ import { useContextProps, Heading as Heading$1 } from 'react-aria-components';
|
|
|
7
7
|
import { jsx } from 'react/jsx-runtime';
|
|
8
8
|
|
|
9
9
|
// css-module:./Heading.module.css#css-module
|
|
10
|
-
var Heading_module_default = { "hop-Heading": "Heading-module__hop-
|
|
10
|
+
var Heading_module_default = { "hop-Heading": "Heading-module__hop-Heading___xok42", "hop-Heading--xs": "Heading-module__hop-Heading--xs___yyvuF", "hop-Heading--sm": "Heading-module__hop-Heading--sm___KCcNN", "hop-Heading--md": "Heading-module__hop-Heading--md___IwpUP", "hop-Heading--lg": "Heading-module__hop-Heading--lg___GELZH", "hop-Heading--xl": "Heading-module__hop-Heading--xl___ixPVU", "hop-Heading--2xl": "Heading-module__hop-Heading--2xl___b7nfx", "hop-Heading--3xl": "Heading-module__hop-Heading--3xl___efLin" };
|
|
11
11
|
var GlobalHeadingCssSelector = "hop-Heading";
|
|
12
12
|
function Heading(props, ref) {
|
|
13
13
|
[props, ref] = useContextProps(props, ref, HeadingContext);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { RadioContext } from './chunk-FU5CCPLP.js';
|
|
2
2
|
import { isTextOnlyChildren } from './chunk-ZWU6DRRZ.js';
|
|
3
|
-
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
4
3
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
5
|
-
import { _Text } from './chunk-
|
|
4
|
+
import { _Text } from './chunk-MYAC6TLH.js';
|
|
6
5
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
7
6
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
7
|
+
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
8
8
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
9
9
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
10
10
|
import { BulletIcon, IconContext } from '@hopper-ui/icons';
|
|
@@ -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___3GVjM", "hop-Radio--sm": "Radio-module__hop-Radio--sm___qIsKs", "hop-Radio--md": "Radio-module__hop-Radio--md___Eszb9", "hop-Radio__icon": "Radio-module__hop-Radio__icon___ChXsk", "hop-Radio__icon-list": "Radio-module__hop-Radio__icon-list___Xk7yf", "hop-Radio__box": "Radio-module__hop-Radio__box___wgOZS", "hop-Radio__bullet": "Radio-module__hop-Radio__bullet___f0qvY", "hop-Radio__text": "Radio-module__hop-Radio__text___2EXJv" };
|
|
18
18
|
var GlobalRadioCssSelector = "hop-Radio";
|
|
19
19
|
function Radio(props, ref) {
|
|
20
20
|
var _a;
|
|
@@ -25,9 +25,6 @@ function Radio(props, ref) {
|
|
|
25
25
|
children: childrenProp,
|
|
26
26
|
size: sizeProp = "md",
|
|
27
27
|
style: styleProp,
|
|
28
|
-
isPressed,
|
|
29
|
-
isHovered,
|
|
30
|
-
isFocused,
|
|
31
28
|
...otherProps
|
|
32
29
|
} = ownProps;
|
|
33
30
|
const size = (_a = useResponsiveValue(sizeProp)) != null ? _a : "md";
|
|
@@ -37,10 +34,7 @@ function Radio(props, ref) {
|
|
|
37
34
|
cssModule(
|
|
38
35
|
Radio_module_default,
|
|
39
36
|
"hop-Radio",
|
|
40
|
-
size
|
|
41
|
-
isPressed && "pressed",
|
|
42
|
-
isHovered && "hovered",
|
|
43
|
-
isFocused && "focused"
|
|
37
|
+
size
|
|
44
38
|
),
|
|
45
39
|
stylingProps.className
|
|
46
40
|
);
|
|
@@ -9,7 +9,7 @@ import { useContextProps, Text as Text$1 } from 'react-aria-components';
|
|
|
9
9
|
import { jsx } from 'react/jsx-runtime';
|
|
10
10
|
|
|
11
11
|
// css-module:./Text.module.css#css-module
|
|
12
|
-
var Text_module_default = { "hop-Text": "Text-module__hop-
|
|
12
|
+
var Text_module_default = { "hop-Text": "Text-module__hop-Text___STL8w", "hop-Text--xs": "Text-module__hop-Text--xs___VMB69", "hop-Text--sm": "Text-module__hop-Text--sm___qeScp", "hop-Text--md": "Text-module__hop-Text--md___2mgs7", "hop-Text--lg": "Text-module__hop-Text--lg___0EFPU", "hop-Text--xl": "Text-module__hop-Text--xl___w3euL", "hop-Text--2xl": "Text-module__hop-Text--2xl___n8Xzj", "hop-Text--inherit": "Text-module__hop-Text--inherit___GpaJO" };
|
|
13
13
|
var GlobalTextCssSelector = "hop-Text";
|
|
14
14
|
function Text(props, ref) {
|
|
15
15
|
[props, ref] = useContextProps(props, ref, TextContext);
|
|
@@ -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___JYrVb", "hop-EmbeddedButton--md": "EmbeddedButton-module__hop-EmbeddedButton--md___FXQRH", "hop-EmbeddedButton--lg": "EmbeddedButton-module__hop-EmbeddedButton--lg___KbeNf", "hop-EmbeddedButton--neutral": "EmbeddedButton-module__hop-EmbeddedButton--neutral___3tbZp", "hop-EmbeddedButton--subdued": "EmbeddedButton-module__hop-EmbeddedButton--subdued___wg93y", "hop-EmbeddedButton--progress": "EmbeddedButton-module__hop-EmbeddedButton--progress___kfy-2", "hop-EmbeddedButton--positive": "EmbeddedButton-module__hop-EmbeddedButton--positive___fln30", "hop-EmbeddedButton--caution": "EmbeddedButton-module__hop-EmbeddedButton--caution___uHxYx", "hop-EmbeddedButton--negative": "EmbeddedButton-module__hop-EmbeddedButton--negative___Rq7v7", "hop-EmbeddedButton--option1": "EmbeddedButton-module__hop-EmbeddedButton--option1___N7auw", "hop-EmbeddedButton--option2": "EmbeddedButton-module__hop-EmbeddedButton--option2___DSgZO", "hop-EmbeddedButton--option3": "EmbeddedButton-module__hop-EmbeddedButton--option3___F9UhK", "hop-EmbeddedButton--option4": "EmbeddedButton-module__hop-EmbeddedButton--option4___sS9kT", "hop-EmbeddedButton--option5": "EmbeddedButton-module__hop-EmbeddedButton--option5___ZlJli", "hop-EmbeddedButton--option6": "EmbeddedButton-module__hop-EmbeddedButton--option6___UZEwb", "hop-EmbeddedButton__icon": "EmbeddedButton-module__hop-EmbeddedButton__icon___rRXsh" };
|
|
13
13
|
var GlobalEmbeddedButtonCssSelector = "hop-EmbeddedButton";
|
|
14
14
|
function EmbeddedButton(props, ref) {
|
|
15
15
|
var _a;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { isFunction } from './chunk-TIPN4VYD.js';
|
|
2
|
+
import { useLocalizedString } from './chunk-TFVDF4YH.js';
|
|
2
3
|
import { SectionContext } from './chunk-5H5AZJPQ.js';
|
|
3
4
|
import { ListBoxContext } from './chunk-UIEP5BA5.js';
|
|
4
|
-
import { _ListBoxItem } from './chunk-
|
|
5
|
-
import { useLocalizedString } from './chunk-TFVDF4YH.js';
|
|
5
|
+
import { _ListBoxItem } from './chunk-CGL75FSH.js';
|
|
6
6
|
import { ListBoxItemContext } from './chunk-Y2POLIXK.js';
|
|
7
|
-
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
8
7
|
import { HeaderContext } from './chunk-7JOGKC3W.js';
|
|
9
8
|
import { DividerContext } from './chunk-FYIHMKHI.js';
|
|
10
|
-
import { _Text } from './chunk-
|
|
9
|
+
import { _Text } from './chunk-MYAC6TLH.js';
|
|
10
|
+
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
11
11
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
12
12
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
13
13
|
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___e4j-o", "hop-ListBox--fluid": "ListBox-module__hop-ListBox--fluid___GMtww", "hop-ListBox__section": "ListBox-module__hop-ListBox__section___FTXLR", "hop-ListBox__item": "ListBox-module__hop-ListBox__item___M8ZWz", "hop-ListBox__section-header": "ListBox-module__hop-ListBox__section-header___qkK-O", "hop-ListBox__divider": "ListBox-module__hop-ListBox__divider___RwdwS" };
|
|
22
22
|
var GlobalListBoxCssSelector = "hop-ListBox";
|
|
23
23
|
var GlobalListBoxEmptyItemCssSelector = "hop-ListBox__empty-item";
|
|
24
24
|
var ListBoxToTextSizeAdapter = {
|