@hopper-ui/components 1.3.9 → 1.3.11
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 +37 -37
- package/dist/Avatar/src/AnonymousAvatar.js +2 -2
- package/dist/Avatar/src/Avatar.css +55 -55
- package/dist/Avatar/src/Avatar.js +3 -3
- package/dist/Avatar/src/DeletedAvatar.css +37 -37
- package/dist/Avatar/src/DeletedAvatar.js +2 -2
- package/dist/Avatar/src/RichIconAvatarImage.css +37 -37
- package/dist/Avatar/src/RichIconAvatarImage.js +1 -1
- package/dist/Avatar/src/index.css +55 -55
- package/dist/Avatar/src/index.js +5 -5
- package/dist/Badge/src/Badge.css +42 -42
- package/dist/Badge/src/Badge.js +2 -2
- package/dist/Badge/src/FloatingBadge.css +37 -37
- package/dist/Badge/src/FloatingBadge.js +1 -1
- package/dist/Badge/src/index.css +52 -52
- package/dist/Badge/src/index.js +3 -3
- package/dist/ComboBox/src/ComboBox.css +713 -713
- package/dist/ComboBox/src/ComboBox.d.ts +4 -0
- package/dist/ComboBox/src/ComboBox.js +49 -50
- package/dist/ComboBox/src/index.css +713 -713
- package/dist/ComboBox/src/index.js +49 -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 +1833 -1671
- package/dist/Form/src/Form.d.ts +4 -0
- package/dist/Form/src/Form.js +49 -48
- package/dist/Form/src/index.css +1833 -1671
- package/dist/Form/src/index.js +49 -48
- 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 +857 -695
- package/dist/Select/src/Select.d.ts +4 -0
- package/dist/Select/src/Select.js +49 -48
- package/dist/Select/src/SelectValue.css +61 -61
- package/dist/Select/src/SelectValue.js +5 -5
- package/dist/Select/src/index.css +857 -695
- package/dist/Select/src/index.js +49 -48
- 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.d.ts +4 -0
- 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-B2O3ZCYC.js → chunk-47AZN77D.js} +1 -1
- package/dist/{chunk-5TH7VHRH.js → chunk-4D5OKVKB.js} +5 -5
- package/dist/{chunk-54U727IV.js → chunk-4PLO6M5P.js} +2 -2
- package/dist/{chunk-BGOYDN4M.js → chunk-4ZCY2KEA.js} +2 -2
- package/dist/{chunk-ANO4F3LJ.js → chunk-4ZUCHCV2.js} +7 -2
- package/dist/{chunk-UR3NK3LV.js → chunk-5ORMXIMY.js} +1 -1
- package/dist/{chunk-4FVIH73F.js → chunk-5RQ3FMMG.js} +2 -2
- package/dist/{chunk-GDVP2QEZ.js → chunk-64O3N7JE.js} +1 -1
- package/dist/{chunk-JX5YYFB3.js → chunk-6HV7YSW5.js} +7 -5
- package/dist/{chunk-7LTA4KPO.js → chunk-6NS4AQDI.js} +5 -4
- package/dist/{chunk-4EUVVRTY.js → chunk-7B6XUT4A.js} +3 -3
- package/dist/{chunk-HCJLAF2O.js → chunk-BJNIT3X3.js} +6 -6
- package/dist/{chunk-TRDXTYZD.js → chunk-BPFYQL3X.js} +3 -3
- package/dist/{chunk-2SF7BBJT.js → chunk-BUP6LEQX.js} +1 -1
- package/dist/{chunk-2WK465I4.js → chunk-BXBMRBPB.js} +3 -3
- package/dist/{chunk-KOT3ULJY.js → chunk-D7WXRB6L.js} +2 -2
- package/dist/{chunk-GXBVNCVP.js → chunk-DPC3Y6Y2.js} +2 -2
- package/dist/{chunk-UJXKUNEW.js → chunk-F2BSC3KH.js} +478 -194
- package/dist/{chunk-AQITZWYM.js → chunk-GTM56LGX.js} +2 -2
- package/dist/{chunk-ENHK4K3U.js → chunk-GTNBBI2S.js} +2 -2
- package/dist/{chunk-TMGUYWTR.js → chunk-HPPNJVV6.js} +2 -2
- package/dist/{chunk-CZRCXQFS.js → chunk-I7C4D6SO.js} +1 -1
- package/dist/{chunk-HI2SHIGG.js → chunk-JOIYDL4E.js} +1 -1
- package/dist/{chunk-6U6JI3L3.js → chunk-KKCIN6AH.js} +1 -1
- package/dist/{chunk-VQKJXEPU.js → chunk-KS255M2B.js} +2 -2
- package/dist/{chunk-E4JB7I3F.js → chunk-L3DEPUAF.js} +1 -1
- package/dist/{chunk-A3E76SDY.js → chunk-M64YZ3V3.js} +1 -1
- package/dist/{chunk-S6AH3YTH.js → chunk-MOEKGI3Q.js} +7 -6
- package/dist/{chunk-NQD2OQEG.js → chunk-MZTFEGDM.js} +4 -4
- package/dist/{chunk-L5A2UTQV.js → chunk-N5UT7MST.js} +2 -2
- package/dist/{chunk-2GYC6ADT.js → chunk-NTFJHBUN.js} +5 -5
- package/dist/{chunk-VC3HSOGC.js → chunk-O6I523D7.js} +5 -4
- package/dist/{chunk-3O74ORYF.js → chunk-P7OXW6SX.js} +2 -2
- package/dist/{chunk-PAW7CB3K.js → chunk-QAUIUFHM.js} +2 -2
- package/dist/{chunk-N66DZLL6.js → chunk-QEVF4GU6.js} +4 -2
- package/dist/{chunk-KQQCELPA.js → chunk-R5YV23ZF.js} +3 -3
- package/dist/{chunk-4PBFVO5S.js → chunk-S4JSEGNU.js} +3 -3
- package/dist/{chunk-I55EPFTM.js → chunk-SCDADO4Y.js} +3 -3
- package/dist/{chunk-6KHTQTRF.js → chunk-TELARNV2.js} +1 -1
- package/dist/{chunk-Q6SYCTJD.js → chunk-TQLIL4FK.js} +7 -2
- package/dist/{chunk-FBABNQTM.js → chunk-UXI6MVF4.js} +5 -4
- package/dist/{chunk-MLHAFFJQ.js → chunk-VFI4XPBU.js} +1 -1
- package/dist/{chunk-RDLI353P.js → chunk-VJWTYDCA.js} +1 -1
- package/dist/{chunk-GIMOHY5C.js → chunk-W6DTEUHF.js} +2 -2
- package/dist/{chunk-2ZXF62AA.js → chunk-WSHJXUF4.js} +9 -4
- package/dist/{chunk-XQFICAVB.js → chunk-Y4V25PX4.js} +3 -3
- package/dist/{chunk-XHW2Z6AX.js → chunk-YV4BUYJN.js} +3 -3
- package/dist/{chunk-YQDRT547.js → chunk-ZJKTV2QB.js} +7 -4
- package/dist/index.css +1839 -1677
- package/dist/index.d.ts +3 -1
- package/dist/index.js +49 -48
- 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.d.ts +4 -0
- package/dist/inputs/src/NumberField.js +6 -6
- package/dist/inputs/src/PasswordField.css +219 -219
- package/dist/inputs/src/PasswordField.d.ts +4 -0
- package/dist/inputs/src/PasswordField.js +7 -7
- package/dist/inputs/src/RemainingCharacterCount.css +30 -30
- package/dist/inputs/src/RemainingCharacterCount.d.ts +2 -1
- package/dist/inputs/src/RemainingCharacterCount.js +5 -5
- package/dist/inputs/src/SearchField.css +225 -225
- package/dist/inputs/src/SearchField.d.ts +4 -0
- package/dist/inputs/src/SearchField.js +8 -8
- package/dist/inputs/src/TextArea.css +226 -226
- package/dist/inputs/src/TextArea.d.ts +4 -0
- package/dist/inputs/src/TextArea.js +7 -7
- package/dist/inputs/src/TextField.css +223 -223
- package/dist/inputs/src/TextField.d.ts +4 -0
- package/dist/inputs/src/TextField.js +9 -9
- package/dist/inputs/src/index.css +269 -269
- package/dist/inputs/src/index.d.ts +1 -1
- 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 +1975 -1813
- package/dist/overlays/Popover/src/Popover.js +49 -48
- package/dist/overlays/Popover/src/index.css +1975 -1813
- package/dist/overlays/Popover/src/index.js +49 -48
- 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.d.ts +4 -0
- 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.d.ts +4 -0
- 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.d.ts +2 -2
- 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
- package/dist/chunk-KSKIQSYM.js +0 -260
|
@@ -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,5 +1,5 @@
|
|
|
1
1
|
import { ErrorMessageContext } from './chunk-FAE27DLF.js';
|
|
2
|
-
import { _Text } from './chunk-
|
|
2
|
+
import { _Text } from './chunk-R5YV23ZF.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___lXZly", "hop-ErrorMessage__icon": "ErrorMessage-module__hop-ErrorMessage__icon___lsI-D" };
|
|
14
14
|
var GlobalErrorMessageCssSelector = "hop-ErrorMessage";
|
|
15
15
|
function ErrorMessage(props, ref) {
|
|
16
16
|
const validation = useContext(FieldErrorContext);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HelperMessageContext } from './chunk-HZKFQ33E.js';
|
|
2
|
-
import { _Text } from './chunk-
|
|
2
|
+
import { _Text } from './chunk-R5YV23ZF.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___JFPT8", "hop-HelperMessage__icon": "HelperMessage-module__hop-HelperMessage__icon___5ii8C" };
|
|
13
13
|
var GlobalHelperMessageCssSelector = "hop-HelperMessage";
|
|
14
14
|
function HelperMessage(props, ref) {
|
|
15
15
|
const validation = useContext(FieldErrorContext);
|
|
@@ -13,7 +13,7 @@ import { useContextProps, composeRenderProps } from 'react-aria-components';
|
|
|
13
13
|
import { jsx } from 'react/jsx-runtime';
|
|
14
14
|
|
|
15
15
|
// css-module:./RadioField.module.css#css-module
|
|
16
|
-
var RadioField_module_default = { "hop-RadioField": "RadioField-module__hop-
|
|
16
|
+
var RadioField_module_default = { "hop-RadioField": "RadioField-module__hop-RadioField___ra7zr", "hop-RadioField--sm": "RadioField-module__hop-RadioField--sm___zc7Lw", "hop-RadioField--md": "RadioField-module__hop-RadioField--md___MgeF-", "hop-RadioField__description": "RadioField-module__hop-RadioField__description___whU1G", "hop-RadioField__radio": "RadioField-module__hop-RadioField__radio___QBYhd" };
|
|
17
17
|
var GlobalRadioFieldCssSelector = "hop-RadioField";
|
|
18
18
|
var RadioToDescriptionSizeAdapter = {
|
|
19
19
|
sm: "xs",
|
|
@@ -12,7 +12,7 @@ import { useContextProps, composeRenderProps } from 'react-aria-components';
|
|
|
12
12
|
import { jsx } from 'react/jsx-runtime';
|
|
13
13
|
|
|
14
14
|
// css-module:./CheckboxField.module.css#css-module
|
|
15
|
-
var CheckboxField_module_default = { "hop-CheckboxField": "CheckboxField-module__hop-
|
|
15
|
+
var CheckboxField_module_default = { "hop-CheckboxField": "CheckboxField-module__hop-CheckboxField___Ac7dH", "hop-CheckboxField--sm": "CheckboxField-module__hop-CheckboxField--sm___p6Eo9", "hop-CheckboxField--md": "CheckboxField-module__hop-CheckboxField--md___U20hY", "hop-CheckboxField__description": "CheckboxField-module__hop-CheckboxField__description___krA-H", "hop-CheckboxField__checkbox": "CheckboxField-module__hop-CheckboxField__checkbox___7uav0" };
|
|
16
16
|
var GlobalCheckboxFieldCssSelector = "hop-CheckboxField";
|
|
17
17
|
var CheckboxToDescriptionSizeAdapter = {
|
|
18
18
|
sm: "xs",
|
|
@@ -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___paIY7", "hop-FloatingBadge__badge": "FloatingBadge-module__hop-FloatingBadge__badge___wSoRB" };
|
|
14
14
|
var GlobalFloatingBadgeCssSelector = "hop-FloatingBadge";
|
|
15
15
|
function FloatingBadge(props, ref) {
|
|
16
16
|
[props, ref] = useContextProps(props, ref, FloatingBadgeContext);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SwitchContext } from './chunk-YHBJAXUY.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-R5YV23ZF.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, Switch as Switch$1 } from 'react-a
|
|
|
14
14
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
15
15
|
|
|
16
16
|
// css-module:./Switch.module.css#css-module
|
|
17
|
-
var Switch_module_default = { "hop-Switch": "Switch-module__hop-
|
|
17
|
+
var Switch_module_default = { "hop-Switch": "Switch-module__hop-Switch___-Q-zE", "hop-Switch--sm": "Switch-module__hop-Switch--sm___0LN2w", "hop-Switch--md": "Switch-module__hop-Switch--md___ulXFc", "hop-Switch__indicator": "Switch-module__hop-Switch__indicator___jX6Uq", "hop-Switch__text": "Switch-module__hop-Switch__text___IxNKF", "hop-Switch__icon-list": "Switch-module__hop-Switch__icon-list___fgbx3", "hop-Switch__icon": "Switch-module__hop-Switch__icon___OR0Ym" };
|
|
18
18
|
var GlobalSwitchCssSelector = "hop-Switch";
|
|
19
19
|
function Switch(props, ref) {
|
|
20
20
|
var _a;
|
|
@@ -12,7 +12,7 @@ import { useContextProps, composeRenderProps } from 'react-aria-components';
|
|
|
12
12
|
import { jsx } from 'react/jsx-runtime';
|
|
13
13
|
|
|
14
14
|
// css-module:./SwitchField.module.css#css-module
|
|
15
|
-
var SwitchField_module_default = { "hop-SwitchField": "SwitchField-module__hop-
|
|
15
|
+
var SwitchField_module_default = { "hop-SwitchField": "SwitchField-module__hop-SwitchField___e-Ywk", "hop-SwitchField--sm": "SwitchField-module__hop-SwitchField--sm___rCTA2", "hop-SwitchField--md": "SwitchField-module__hop-SwitchField--md___XNVHT", "hop-SwitchField__description": "SwitchField-module__hop-SwitchField__description___SxHY7", "hop-SwitchField__switch": "SwitchField-module__hop-SwitchField__switch___M4qOn" };
|
|
16
16
|
var GlobalSwitchFieldCssSelector = "hop-SwitchField";
|
|
17
17
|
var SwitchToDescriptionSizeAdapter = {
|
|
18
18
|
sm: "xs",
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { TextFieldContext } from './chunk-O4XPUINW.js';
|
|
2
2
|
import { useTruncatedText } from './chunk-Z57VHYOF.js';
|
|
3
|
-
import { _RemainingCharacterCount } from './chunk-
|
|
4
|
-
import { _InputGroup } from './chunk-
|
|
5
|
-
import { _ClearButton } from './chunk-
|
|
3
|
+
import { _RemainingCharacterCount } from './chunk-WSHJXUF4.js';
|
|
4
|
+
import { _InputGroup } from './chunk-64O3N7JE.js';
|
|
5
|
+
import { _ClearButton } from './chunk-5ORMXIMY.js';
|
|
6
6
|
import { LabelContext } from './chunk-QCA3ZR56.js';
|
|
7
7
|
import { isTextOnlyChildren } from './chunk-ZWU6DRRZ.js';
|
|
8
8
|
import { HelperMessageContext } from './chunk-HZKFQ33E.js';
|
|
9
9
|
import { ErrorMessageContext } from './chunk-FAE27DLF.js';
|
|
10
|
-
import { _Text } from './chunk-
|
|
10
|
+
import { _Text } from './chunk-R5YV23ZF.js';
|
|
11
11
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
12
12
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
13
13
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
@@ -23,7 +23,7 @@ import { useContextProps, composeRenderProps, Input, TextField as TextField$1 }
|
|
|
23
23
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
24
24
|
|
|
25
25
|
// css-module:./TextField.module.css#css-module
|
|
26
|
-
var TextField_module_default = { "hop-TextField": "TextField-module__hop-
|
|
26
|
+
var TextField_module_default = { "hop-TextField": "TextField-module__hop-TextField___wfEmf", "hop-TextField--fluid": "TextField-module__hop-TextField--fluid___INP7f", "hop-TextField__Label": "TextField-module__hop-TextField__Label___KDgCU", "hop-TextField__prefix": "TextField-module__hop-TextField__prefix___Hvtkn", "hop-TextField__InputGroup": "TextField-module__hop-TextField__InputGroup___O-G65", "hop-TextField__ErrorMessage": "TextField-module__hop-TextField__ErrorMessage___tOA4z", "hop-TextField__HelperMessage": "TextField-module__hop-TextField__HelperMessage___8zyTc" };
|
|
27
27
|
var GlobalTextFieldCssSelector = "hop-TextField";
|
|
28
28
|
function TextField(props, ref) {
|
|
29
29
|
var _a;
|
|
@@ -56,6 +56,7 @@ function TextField(props, ref) {
|
|
|
56
56
|
isInvalid,
|
|
57
57
|
isRequired,
|
|
58
58
|
restrictMaxLength = true,
|
|
59
|
+
necessityIndicator,
|
|
59
60
|
...otherProps
|
|
60
61
|
} = ownProps;
|
|
61
62
|
const inputRef = useObjectRef(mergeRefs(userProvidedInputRef, props.inputRef !== void 0 ? props.inputRef : null));
|
|
@@ -137,7 +138,7 @@ function TextField(props, ref) {
|
|
|
137
138
|
SlotProvider,
|
|
138
139
|
{
|
|
139
140
|
values: [
|
|
140
|
-
[LabelContext, { className: TextField_module_default["hop-TextField__Label"], isRequired }],
|
|
141
|
+
[LabelContext, { className: TextField_module_default["hop-TextField__Label"], isRequired, necessityIndicator }],
|
|
141
142
|
[HelperMessageContext, { className: TextField_module_default["hop-TextField__HelperMessage"] }],
|
|
142
143
|
[ErrorMessageContext, { className: TextField_module_default["hop-TextField__ErrorMessage"] }]
|
|
143
144
|
],
|
|
@@ -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___Yuie9", "hop-Label__indicator": "Label-module__hop-Label__indicator___-c2pq" };
|
|
12
12
|
var GlobalLabelCssSelector = "hop-Label";
|
|
13
13
|
function Label(props, ref) {
|
|
14
14
|
[props, ref] = useContextProps(props, ref, LabelContext);
|
|
@@ -18,7 +18,7 @@ function Label(props, ref) {
|
|
|
18
18
|
children,
|
|
19
19
|
style,
|
|
20
20
|
isRequired,
|
|
21
|
-
necessityIndicator
|
|
21
|
+
necessityIndicator,
|
|
22
22
|
...otherProps
|
|
23
23
|
} = ownProps;
|
|
24
24
|
const stringFormatter = useLocalizedString();
|
|
@@ -54,12 +54,12 @@ function Label(props, ref) {
|
|
|
54
54
|
style: mergedStyles,
|
|
55
55
|
children: [
|
|
56
56
|
children,
|
|
57
|
-
necessityIndicator === "label" && /* @__PURE__ */ jsxs("span", { children: [
|
|
57
|
+
necessityIndicator === "label" && !isRequired && /* @__PURE__ */ jsxs("span", { className: Label_module_default["hop-Label__label-indicator"], children: [
|
|
58
58
|
" (",
|
|
59
59
|
necessityLabel,
|
|
60
60
|
")"
|
|
61
61
|
] }),
|
|
62
|
-
necessityIndicator === "
|
|
62
|
+
necessityIndicator === "asterisk" && isRequired && requiredIndicator
|
|
63
63
|
]
|
|
64
64
|
}
|
|
65
65
|
);
|
|
@@ -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,11 +1,11 @@
|
|
|
1
|
-
import { _DecorativeRadio } from './chunk-
|
|
2
|
-
import { _DecorativeCheckbox } from './chunk-
|
|
1
|
+
import { _DecorativeRadio } from './chunk-5RQ3FMMG.js';
|
|
2
|
+
import { _DecorativeCheckbox } from './chunk-QAUIUFHM.js';
|
|
3
3
|
import { ListBoxItemContext } from './chunk-Y2POLIXK.js';
|
|
4
|
-
import { _ListBoxItemSkeleton } from './chunk-
|
|
4
|
+
import { _ListBoxItemSkeleton } from './chunk-VJWTYDCA.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-R5YV23ZF.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___-WYAy", "hop-ListBoxItem--xs": "ListBoxItem-module__hop-ListBoxItem--xs___0V3M4", "hop-ListBoxItem--sm": "ListBoxItem-module__hop-ListBoxItem--sm___gTmBk", "hop-ListBoxItem--md": "ListBoxItem-module__hop-ListBoxItem--md___cnajW", "hop-ListBoxItem--lg": "ListBoxItem-module__hop-ListBoxItem--lg___DaJA9", "hop-ListBoxItem__inner": "ListBoxItem-module__hop-ListBoxItem__inner___KfJ5-", "hop-ListBoxItem__checkmark": "ListBoxItem-module__hop-ListBoxItem__checkmark___ON19T", "hop-ListBoxItem__description": "ListBoxItem-module__hop-ListBoxItem__description___p5DjD", "hop-ListBoxItem__radio": "ListBoxItem-module__hop-ListBoxItem__radio___cbTk-", "hop-ListBoxItem__checkbox": "ListBoxItem-module__hop-ListBoxItem__checkbox___TUYeV", "hop-ListBoxItem__avatar": "ListBoxItem-module__hop-ListBoxItem__avatar___HnhMI", "hop-ListBoxItem__icon-list": "ListBoxItem-module__hop-ListBoxItem__icon-list___BKptR", "hop-ListBoxItem__icon": "ListBoxItem-module__hop-ListBoxItem__icon___pkfoA", "hop-ListBoxItem__label": "ListBoxItem-module__hop-ListBoxItem__label___A6dmV", "hop-ListBoxItem__end-icon-list": "ListBoxItem-module__hop-ListBoxItem__end-icon-list___AedUm", "hop-ListBoxItem__end-icon": "ListBoxItem-module__hop-ListBoxItem__end-icon___zaejp", "hop-ListBoxItem__badge": "ListBoxItem-module__hop-ListBoxItem__badge___2xctd" };
|
|
22
22
|
var GlobalListBoxItemCssSelector = "hop-ListBoxItem";
|
|
23
23
|
var ListBoxItemToIconSizeAdapter = {
|
|
24
24
|
xs: "sm",
|
|
@@ -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-64O3N7JE.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-R5YV23ZF.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___SgdwC", "hop-NumberField--fluid": "NumberField-module__hop-NumberField--fluid___Oym1Q", "hop-NumberField--mobile": "NumberField-module__hop-NumberField--mobile___UM9kc", "hop-NumberField__Label": "NumberField-module__hop-NumberField__Label___UakjP", "hop-NumberField__prefix": "NumberField-module__hop-NumberField__prefix___ByFtf", "hop-NumberField__InputGroup": "NumberField-module__hop-NumberField__InputGroup___ISO9z", "hop-NumberField__ErrorMessage": "NumberField-module__hop-NumberField__ErrorMessage___8abIq", "hop-NumberField__HelperMessage": "NumberField-module__hop-NumberField__HelperMessage___IIeLe", "hop-NumberField__stepper-button": "NumberField-module__hop-NumberField__stepper-button___637no", "hop-NumberField__stepper-button--increment": "NumberField-module__hop-NumberField__stepper-button--increment___C-wMt", "hop-NumberField__stepper-button--decrement": "NumberField-module__hop-NumberField__stepper-button--decrement___-ls03", "hop-NumberField__stepper-button--mobile": "NumberField-module__hop-NumberField__stepper-button--mobile___bZNni", "hop-NumberField__stepper-button__icon": "NumberField-module__hop-NumberField__stepper-button__icon___ojGV3", "hop-NumberField__input": "NumberField-module__hop-NumberField__input___RjmQf" };
|
|
25
25
|
var GlobalNumberFieldCssSelector = "hop-NumberField";
|
|
26
26
|
var StepperButton = ({ direction }) => {
|
|
27
27
|
const scale = useScale();
|
|
@@ -72,6 +72,7 @@ function NumberField(props, ref) {
|
|
|
72
72
|
isDisabled,
|
|
73
73
|
isInvalid,
|
|
74
74
|
isRequired,
|
|
75
|
+
necessityIndicator,
|
|
75
76
|
...otherProps
|
|
76
77
|
} = ownProps;
|
|
77
78
|
const inputRef = useObjectRef(mergeRefs(userProvidedInputRef, props.inputRef !== void 0 ? props.inputRef : null));
|
|
@@ -133,7 +134,7 @@ function NumberField(props, ref) {
|
|
|
133
134
|
SlotProvider,
|
|
134
135
|
{
|
|
135
136
|
values: [
|
|
136
|
-
[LabelContext, { className: NumberField_module_default["hop-NumberField__Label"], isRequired }],
|
|
137
|
+
[LabelContext, { className: NumberField_module_default["hop-NumberField__Label"], isRequired, necessityIndicator }],
|
|
137
138
|
[HelperMessageContext, { className: NumberField_module_default["hop-NumberField__HelperMessage"] }],
|
|
138
139
|
[ErrorMessageContext, { className: NumberField_module_default["hop-NumberField__ErrorMessage"] }]
|
|
139
140
|
],
|
|
@@ -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-R5YV23ZF.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___kizDn", "hop-Link--quiet": "Link-module__hop-Link--quiet___mj9YM", "hop-Link--primary": "Link-module__hop-Link--primary___XzpKA", "hop-Link--secondary": "Link-module__hop-Link--secondary___-y9N5", "hop-Link__icon": "Link-module__hop-Link__icon___3yyEP", "hop-Link__icon-list": "Link-module__hop-Link__icon-list___ptLy2", "hop-Link__text": "Link-module__hop-Link__text___gpjqw", "hop-Link__start-icon": "Link-module__hop-Link__start-icon___jw3pJ", "hop-Link__start-icon-list": "Link-module__hop-Link__start-icon-list___tMDOB" };
|
|
17
17
|
var GlobalLinkCssSelector = "hop-Link";
|
|
18
18
|
var LinkToIconSizeAdapter = {
|
|
19
19
|
inherit: void 0,
|
|
@@ -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-R5YV23ZF.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:./DecorativeCheckbox.module.css#css-module
|
|
19
|
-
var DecorativeCheckbox_module_default = { "hop-DecorativeCheckbox": "DecorativeCheckbox-module__hop-
|
|
19
|
+
var DecorativeCheckbox_module_default = { "hop-DecorativeCheckbox": "DecorativeCheckbox-module__hop-DecorativeCheckbox___gCeb- Checkbox-module__hop-Checkbox___vVvFz", "hop-DecorativeCheckbox--sm": "DecorativeCheckbox-module__hop-DecorativeCheckbox--sm___JiMKC Checkbox-module__hop-Checkbox--sm___kEihE", "hop-DecorativeCheckbox--md": "DecorativeCheckbox-module__hop-DecorativeCheckbox--md___l7cek Checkbox-module__hop-Checkbox--md___-0gXA", "hop-DecorativeCheckbox__icon": "DecorativeCheckbox-module__hop-DecorativeCheckbox__icon___yGdbb Checkbox-module__hop-Checkbox__icon___pTwC-", "hop-DecorativeCheckbox__icon-list": "DecorativeCheckbox-module__hop-DecorativeCheckbox__icon-list___K5TDp Checkbox-module__hop-Checkbox__icon___pTwC-", "hop-DecorativeCheckbox__box": "DecorativeCheckbox-module__hop-DecorativeCheckbox__box___-dWPg Checkbox-module__hop-Checkbox__box___3HpyC", "hop-DecorativeCheckbox__check": "DecorativeCheckbox-module__hop-DecorativeCheckbox__check___VQ4FV Checkbox-module__hop-Checkbox__check___0VQFD", "hop-DecorativeCheckbox__text": "DecorativeCheckbox-module__hop-DecorativeCheckbox__text___eHpVu Checkbox-module__hop-Checkbox__text___3dcc1" };
|
|
20
20
|
var GlobalDecorativeCheckboxCssSelector = "hop-DecorativeCheckbox";
|
|
21
21
|
function DecorativeCheckbox(props, ref) {
|
|
22
22
|
var _a;
|
|
@@ -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___0CG4x", "hop-TagGroup__label": "TagGroup-module__hop-TagGroup__label___wftMR", "hop-TagGroup__list": "TagGroup-module__hop-TagGroup__list___qNxTj", "hop-TagGroup__error-message": "TagGroup-module__hop-TagGroup__error-message___ayjwz", "hop-TagGroup__helper-message": "TagGroup-module__hop-TagGroup__helper-message___RjlXA" };
|
|
17
17
|
var GlobalTagGroupCssSelector = "hop-TagGroup";
|
|
18
18
|
function TagGroup(props, ref) {
|
|
19
19
|
var _a;
|
|
@@ -23,6 +23,7 @@ function TagGroup(props, ref) {
|
|
|
23
23
|
className,
|
|
24
24
|
children,
|
|
25
25
|
isInvalid = false,
|
|
26
|
+
necessityIndicator,
|
|
26
27
|
style: styleProp,
|
|
27
28
|
size: sizeProp,
|
|
28
29
|
variant,
|
|
@@ -48,7 +49,8 @@ function TagGroup(props, ref) {
|
|
|
48
49
|
{
|
|
49
50
|
values: [
|
|
50
51
|
[LabelContext, {
|
|
51
|
-
className: TagGroup_module_default["hop-TagGroup__label"]
|
|
52
|
+
className: TagGroup_module_default["hop-TagGroup__label"],
|
|
53
|
+
necessityIndicator
|
|
52
54
|
}],
|
|
53
55
|
[TagListContext, {
|
|
54
56
|
className: TagGroup_module_default["hop-TagGroup__list"]
|
|
@@ -2,14 +2,14 @@ import { TextContext } from './chunk-X6SER3TZ.js';
|
|
|
2
2
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
3
3
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
4
4
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
5
|
-
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
5
|
+
import { slot, useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
6
6
|
import clsx from 'clsx';
|
|
7
7
|
import { forwardRef } from 'react';
|
|
8
8
|
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___qZV3q", "hop-Text--xs": "Text-module__hop-Text--xs___bDVxV", "hop-Text--sm": "Text-module__hop-Text--sm___d61X4", "hop-Text--md": "Text-module__hop-Text--md___xnyIv", "hop-Text--lg": "Text-module__hop-Text--lg___8GI0t", "hop-Text--xl": "Text-module__hop-Text--xl___x12No", "hop-Text--2xl": "Text-module__hop-Text--2xl___ctOKo", "hop-Text--inherit": "Text-module__hop-Text--inherit___BukrW" };
|
|
13
13
|
var GlobalTextCssSelector = "hop-Text";
|
|
14
14
|
function Text(props, ref) {
|
|
15
15
|
[props, ref] = useContextProps(props, ref, TextContext);
|
|
@@ -52,7 +52,7 @@ function Text(props, ref) {
|
|
|
52
52
|
}
|
|
53
53
|
);
|
|
54
54
|
}
|
|
55
|
-
var _Text = forwardRef(Text);
|
|
55
|
+
var _Text = slot("text", forwardRef(Text));
|
|
56
56
|
_Text.displayName = "Text";
|
|
57
57
|
|
|
58
58
|
export { GlobalTextCssSelector, _Text };
|
|
@@ -3,13 +3,13 @@ import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
|
3
3
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
4
4
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
5
5
|
import { IconContext } from '@hopper-ui/icons';
|
|
6
|
-
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
6
|
+
import { slot, useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
7
7
|
import { forwardRef } from 'react';
|
|
8
8
|
import { useContextProps, composeRenderProps, Button } from 'react-aria-components';
|
|
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___Zya2B", "hop-EmbeddedButton--md": "EmbeddedButton-module__hop-EmbeddedButton--md___k-sir", "hop-EmbeddedButton--lg": "EmbeddedButton-module__hop-EmbeddedButton--lg___JVXQw", "hop-EmbeddedButton--neutral": "EmbeddedButton-module__hop-EmbeddedButton--neutral___lBOkO", "hop-EmbeddedButton--subdued": "EmbeddedButton-module__hop-EmbeddedButton--subdued___gpLdv", "hop-EmbeddedButton--progress": "EmbeddedButton-module__hop-EmbeddedButton--progress___GxrOm", "hop-EmbeddedButton--positive": "EmbeddedButton-module__hop-EmbeddedButton--positive___Qvl8I", "hop-EmbeddedButton--caution": "EmbeddedButton-module__hop-EmbeddedButton--caution___-vkv8", "hop-EmbeddedButton--negative": "EmbeddedButton-module__hop-EmbeddedButton--negative___wz4PQ", "hop-EmbeddedButton--option1": "EmbeddedButton-module__hop-EmbeddedButton--option1___mv0X8", "hop-EmbeddedButton--option2": "EmbeddedButton-module__hop-EmbeddedButton--option2___TcU3R", "hop-EmbeddedButton--option3": "EmbeddedButton-module__hop-EmbeddedButton--option3___MAsmn", "hop-EmbeddedButton--option4": "EmbeddedButton-module__hop-EmbeddedButton--option4___PrthQ", "hop-EmbeddedButton--option5": "EmbeddedButton-module__hop-EmbeddedButton--option5___7u-Au", "hop-EmbeddedButton--option6": "EmbeddedButton-module__hop-EmbeddedButton--option6___k-pcM", "hop-EmbeddedButton__icon": "EmbeddedButton-module__hop-EmbeddedButton__icon___saA-f" };
|
|
13
13
|
var GlobalEmbeddedButtonCssSelector = "hop-EmbeddedButton";
|
|
14
14
|
function EmbeddedButton(props, ref) {
|
|
15
15
|
var _a;
|
|
@@ -69,7 +69,7 @@ function EmbeddedButton(props, ref) {
|
|
|
69
69
|
}
|
|
70
70
|
);
|
|
71
71
|
}
|
|
72
|
-
var _EmbeddedButton = forwardRef(EmbeddedButton);
|
|
72
|
+
var _EmbeddedButton = slot("button", forwardRef(EmbeddedButton));
|
|
73
73
|
_EmbeddedButton.displayName = "EmbeddedButton";
|
|
74
74
|
|
|
75
75
|
export { GlobalEmbeddedButtonCssSelector, _EmbeddedButton };
|
|
@@ -2,7 +2,7 @@ import { ButtonContext } from './chunk-WMTWFKKP.js';
|
|
|
2
2
|
import { ButtonGroupContext } from './chunk-VJQ7M2BK.js';
|
|
3
3
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
4
4
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
5
|
-
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
5
|
+
import { slot, useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
6
6
|
import { filterDOMProps } from '@react-aria/utils';
|
|
7
7
|
import clsx from 'clsx';
|
|
8
8
|
import { forwardRef } from 'react';
|
|
@@ -10,7 +10,7 @@ import { useContextProps } from 'react-aria-components';
|
|
|
10
10
|
import { jsx } from 'react/jsx-runtime';
|
|
11
11
|
|
|
12
12
|
// css-module:./ButtonGroup.module.css#css-module
|
|
13
|
-
var ButtonGroup_module_default = { "hop-ButtonGroup": "ButtonGroup-module__hop-
|
|
13
|
+
var ButtonGroup_module_default = { "hop-ButtonGroup": "ButtonGroup-module__hop-ButtonGroup___faZKJ", "hop-ButtonGroup--horizontal": "ButtonGroup-module__hop-ButtonGroup--horizontal___dyeRs", "hop-ButtonGroup--vertical": "ButtonGroup-module__hop-ButtonGroup--vertical___Y2OM3", "hop-ButtonGroup--start": "ButtonGroup-module__hop-ButtonGroup--start___3hyQL", "hop-ButtonGroup--center": "ButtonGroup-module__hop-ButtonGroup--center___f-5ev", "hop-ButtonGroup--end": "ButtonGroup-module__hop-ButtonGroup--end___qROBt", "hop-ButtonGroup--wrap": "ButtonGroup-module__hop-ButtonGroup--wrap___1UWS-", "hop-ButtonGroup--fluid": "ButtonGroup-module__hop-ButtonGroup--fluid___L92YO" };
|
|
14
14
|
var GlobalButtonGroupCssSelector = "hop-ButtonGroup";
|
|
15
15
|
function ButtonGroup(props, ref) {
|
|
16
16
|
var _a, _b, _c, _d, _e;
|
|
@@ -76,7 +76,7 @@ function ButtonGroup(props, ref) {
|
|
|
76
76
|
}
|
|
77
77
|
);
|
|
78
78
|
}
|
|
79
|
-
var _ButtonGroup = forwardRef(ButtonGroup);
|
|
79
|
+
var _ButtonGroup = slot("button-group", forwardRef(ButtonGroup));
|
|
80
80
|
_ButtonGroup.displayName = "ButtonGroup";
|
|
81
81
|
|
|
82
82
|
export { GlobalButtonGroupCssSelector, _ButtonGroup };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AvatarContext } from './chunk-AES7QBQE.js';
|
|
2
|
-
import { _RichIconAvatarImage } from './chunk-
|
|
2
|
+
import { _RichIconAvatarImage } from './chunk-BXBMRBPB.js';
|
|
3
3
|
import { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
4
4
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
5
5
|
import { AnonymousRichIcon } from '@hopper-ui/icons';
|
|
@@ -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___u507k", "hop-CheckboxGroup--bordered": "CheckboxGroup-module__hop-CheckboxGroup--bordered___9Qu2O", "hop-CheckboxGroup--sm": "CheckboxGroup-module__hop-CheckboxGroup--sm___Dnbm3", "hop-CheckboxGroup--md": "CheckboxGroup-module__hop-CheckboxGroup--md___QjaDP", "hop-CheckboxGroup__label": "CheckboxGroup-module__hop-CheckboxGroup__label___NjyZ-", "hop-CheckboxGroup__list": "CheckboxGroup-module__hop-CheckboxGroup__list___X-euF", "hop-CheckboxGroup__checkbox": "CheckboxGroup-module__hop-CheckboxGroup__checkbox___r74w-", "hop-CheckboxGroup__error-message": "CheckboxGroup-module__hop-CheckboxGroup__error-message___29oqY", "hop-CheckboxGroup__helper-message": "CheckboxGroup-module__hop-CheckboxGroup__helper-message___Jj7UF" };
|
|
18
18
|
var GlobalCheckboxGroupCssSelector = "hop-CheckboxGroup";
|
|
19
19
|
function CheckboxGroup(props, ref) {
|
|
20
20
|
var _a, _b;
|
|
@@ -25,6 +25,8 @@ function CheckboxGroup(props, ref) {
|
|
|
25
25
|
children,
|
|
26
26
|
isDisabled,
|
|
27
27
|
isInvalid,
|
|
28
|
+
isRequired,
|
|
29
|
+
necessityIndicator,
|
|
28
30
|
orientation: orientationProp = "vertical",
|
|
29
31
|
size: sizeProp = "md",
|
|
30
32
|
style: styleProp,
|
|
@@ -55,7 +57,9 @@ function CheckboxGroup(props, ref) {
|
|
|
55
57
|
{
|
|
56
58
|
values: [
|
|
57
59
|
[LabelContext, {
|
|
58
|
-
className: CheckboxGroup_module_default["hop-CheckboxGroup__label"]
|
|
60
|
+
className: CheckboxGroup_module_default["hop-CheckboxGroup__label"],
|
|
61
|
+
isRequired,
|
|
62
|
+
necessityIndicator
|
|
59
63
|
}],
|
|
60
64
|
[CheckboxContext, {
|
|
61
65
|
className: CheckboxGroup_module_default["hop-CheckboxGroup__checkbox"],
|
|
@@ -86,6 +90,7 @@ function CheckboxGroup(props, ref) {
|
|
|
86
90
|
style,
|
|
87
91
|
isInvalid,
|
|
88
92
|
isDisabled,
|
|
93
|
+
isRequired,
|
|
89
94
|
"data-orientation": orientation,
|
|
90
95
|
...otherProps,
|
|
91
96
|
children
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PasswordFieldContext } from './chunk-QW45G6K4.js';
|
|
2
|
-
import { _InputGroup } from './chunk-
|
|
3
|
-
import { _EmbeddedButton } from './chunk-
|
|
2
|
+
import { _InputGroup } from './chunk-64O3N7JE.js';
|
|
3
|
+
import { _EmbeddedButton } from './chunk-S4JSEGNU.js';
|
|
4
4
|
import { LabelContext } from './chunk-QCA3ZR56.js';
|
|
5
5
|
import { useLocalizedString } from './chunk-TFVDF4YH.js';
|
|
6
6
|
import { HelperMessageContext } from './chunk-HZKFQ33E.js';
|
|
@@ -18,7 +18,7 @@ import { useContextProps, composeRenderProps, Input, TextField } from 'react-ari
|
|
|
18
18
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
19
19
|
|
|
20
20
|
// css-module:./PasswordField.module.css#css-module
|
|
21
|
-
var PasswordField_module_default = { "hop-PasswordField": "PasswordField-module__hop-
|
|
21
|
+
var PasswordField_module_default = { "hop-PasswordField": "PasswordField-module__hop-PasswordField___mmwfl", "hop-PasswordField--fluid": "PasswordField-module__hop-PasswordField--fluid___l6ePk", "hop-PasswordField__Label": "PasswordField-module__hop-PasswordField__Label___dglFc", "hop-PasswordField__InputGroup": "PasswordField-module__hop-PasswordField__InputGroup___0QEbW", "hop-PasswordField__ErrorMessage": "PasswordField-module__hop-PasswordField__ErrorMessage___0cQTW", "hop-PasswordField__HelperMessage": "PasswordField-module__hop-PasswordField__HelperMessage___Ywc3K" };
|
|
22
22
|
var GlobalPasswordFieldCssSelector = "hop-PasswordField";
|
|
23
23
|
function PasswordField(props, ref) {
|
|
24
24
|
var _a;
|
|
@@ -40,6 +40,7 @@ function PasswordField(props, ref) {
|
|
|
40
40
|
isDisabled,
|
|
41
41
|
isInvalid,
|
|
42
42
|
isRequired,
|
|
43
|
+
necessityIndicator,
|
|
43
44
|
...otherProps
|
|
44
45
|
} = ownProps;
|
|
45
46
|
const inputRef = useObjectRef(mergeRefs(userProvidedInputRef, props.inputRef !== void 0 ? props.inputRef : null));
|
|
@@ -91,7 +92,7 @@ function PasswordField(props, ref) {
|
|
|
91
92
|
SlotProvider,
|
|
92
93
|
{
|
|
93
94
|
values: [
|
|
94
|
-
[LabelContext, { className: PasswordField_module_default["hop-PasswordField__Label"], isRequired }],
|
|
95
|
+
[LabelContext, { className: PasswordField_module_default["hop-PasswordField__Label"], isRequired, necessityIndicator }],
|
|
95
96
|
[HelperMessageContext, { className: PasswordField_module_default["hop-PasswordField__HelperMessage"] }],
|
|
96
97
|
[ErrorMessageContext, { className: PasswordField_module_default["hop-PasswordField__ErrorMessage"] }]
|
|
97
98
|
],
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AvatarContext } from './chunk-AES7QBQE.js';
|
|
2
|
-
import { _RichIconAvatarImage } from './chunk-
|
|
2
|
+
import { _RichIconAvatarImage } from './chunk-BXBMRBPB.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';
|
|
@@ -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___qusXw", "placeholder-shimmer": "ListBoxItemSkeleton-module__placeholder-shimmer___fXdJi", "hop-ListBoxItemSkeleton--xs": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--xs___HVwY1", "hop-ListBoxItemSkeleton--sm": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--sm___A54Xm", "hop-ListBoxItemSkeleton--md": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--md___Az8tS", "hop-ListBoxItemSkeleton--lg": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--lg___nTbnG" };
|
|
11
11
|
var GlobalListBoxItemSkeletonCssSelector = "hop-ListBoxItemSkeleton";
|
|
12
12
|
function ListBoxItemSkeleton(props, ref) {
|
|
13
13
|
var _a;
|
|
@@ -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-R5YV23ZF.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___ioF6P", "hop-Radio--sm": "Radio-module__hop-Radio--sm___t9FlK", "hop-Radio--md": "Radio-module__hop-Radio--md___Ea4bQ", "hop-Radio__icon": "Radio-module__hop-Radio__icon___yDzLG", "hop-Radio__icon-list": "Radio-module__hop-Radio__icon-list___Es3Gh", "hop-Radio__box": "Radio-module__hop-Radio__box___dwVaq", "hop-Radio__bullet": "Radio-module__hop-Radio__bullet___Ir9Zc", "hop-Radio__text": "Radio-module__hop-Radio__text___IziEM" };
|
|
18
18
|
var GlobalRadioCssSelector = "hop-Radio";
|
|
19
19
|
function Radio(props, ref) {
|
|
20
20
|
var _a;
|