@hopper-ui/components 1.3.33 → 1.3.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/Avatar/src/AnonymousAvatar.css +44 -37
- package/dist/Avatar/src/AnonymousAvatar.js +2 -2
- package/dist/Avatar/src/Avatar.css +62 -55
- package/dist/Avatar/src/Avatar.js +3 -3
- package/dist/Avatar/src/DeletedAvatar.css +44 -37
- package/dist/Avatar/src/DeletedAvatar.js +2 -2
- package/dist/Avatar/src/RichIconAvatarImage.css +44 -37
- package/dist/Avatar/src/RichIconAvatarImage.js +1 -1
- package/dist/Avatar/src/index.css +62 -55
- package/dist/Avatar/src/index.js +5 -5
- package/dist/Badge/src/Badge.css +49 -42
- package/dist/Badge/src/Badge.js +2 -2
- package/dist/Badge/src/FloatingBadge.css +44 -37
- package/dist/Badge/src/FloatingBadge.js +1 -1
- package/dist/Badge/src/index.css +59 -52
- package/dist/Badge/src/index.js +3 -3
- package/dist/Card/src/Card.css +39 -30
- package/dist/Card/src/Card.js +2 -2
- package/dist/Card/src/index.css +39 -30
- package/dist/Card/src/index.js +2 -2
- package/dist/ComboBox/src/ComboBox.css +578 -570
- package/dist/ComboBox/src/ComboBox.d.ts +1 -0
- package/dist/ComboBox/src/ComboBox.js +30 -25
- package/dist/ComboBox/src/ComboBoxContext.d.ts +1 -0
- package/dist/ComboBox/src/index.css +578 -570
- package/dist/ComboBox/src/index.d.ts +1 -0
- package/dist/ComboBox/src/index.js +30 -25
- package/dist/Disclosure/src/Disclosure.css +305 -0
- package/dist/Disclosure/src/Disclosure.d.ts +16 -0
- package/dist/Disclosure/src/Disclosure.js +9 -0
- package/dist/Disclosure/src/DisclosureContext.d.ts +8 -0
- package/dist/Disclosure/src/DisclosureContext.js +2 -0
- package/dist/Disclosure/src/DisclosureHeader.css +405 -0
- package/dist/Disclosure/src/DisclosureHeader.d.ts +21 -0
- package/dist/Disclosure/src/DisclosureHeader.js +22 -0
- package/dist/Disclosure/src/DisclosureHeaderContext.d.ts +9 -0
- package/dist/Disclosure/src/DisclosureHeaderContext.js +2 -0
- package/dist/Disclosure/src/DisclosurePanel.css +292 -0
- package/dist/Disclosure/src/DisclosurePanel.d.ts +15 -0
- package/dist/Disclosure/src/DisclosurePanel.js +22 -0
- package/dist/Disclosure/src/DisclosurePanelContext.d.ts +8 -0
- package/dist/Disclosure/src/DisclosurePanelContext.js +2 -0
- package/dist/Disclosure/src/index.css +526 -0
- package/dist/Disclosure/src/index.d.ts +10 -0
- package/dist/Disclosure/src/index.js +27 -0
- package/dist/Divider/src/Divider.css +36 -29
- package/dist/Divider/src/Divider.js +1 -1
- package/dist/Divider/src/index.css +36 -29
- package/dist/Divider/src/index.js +1 -1
- package/dist/ErrorMessage/src/ErrorMessage.css +36 -29
- package/dist/ErrorMessage/src/ErrorMessage.js +2 -2
- package/dist/ErrorMessage/src/index.css +36 -29
- package/dist/ErrorMessage/src/index.js +2 -2
- package/dist/Form/src/Form.css +28 -5005
- package/dist/Form/src/Form.d.ts +6 -3
- package/dist/Form/src/Form.js +2 -28
- package/dist/Form/src/FormContext.d.ts +3 -3
- package/dist/Form/src/FormContext.js +1 -1
- package/dist/Form/src/index.css +28 -5005
- package/dist/Form/src/index.d.ts +1 -1
- package/dist/Form/src/index.js +2 -28
- package/dist/HelperMessage/src/HelperMessage.css +36 -29
- package/dist/HelperMessage/src/HelperMessage.js +2 -2
- package/dist/HelperMessage/src/index.css +36 -29
- package/dist/HelperMessage/src/index.js +2 -2
- package/dist/IconList/src/IconList.css +35 -28
- package/dist/IconList/src/IconList.js +1 -1
- package/dist/IconList/src/index.css +35 -28
- package/dist/IconList/src/index.js +1 -1
- package/dist/Link/src/Link.css +56 -49
- package/dist/Link/src/Link.js +9 -7
- package/dist/Link/src/index.css +56 -49
- package/dist/Link/src/index.js +9 -7
- package/dist/ListBox/src/ListBox.css +281 -274
- package/dist/ListBox/src/ListBox.js +16 -14
- package/dist/ListBox/src/ListBoxItem.css +269 -262
- package/dist/ListBox/src/ListBoxItem.js +13 -11
- package/dist/ListBox/src/ListBoxItemSkeleton.css +41 -34
- package/dist/ListBox/src/ListBoxItemSkeleton.js +1 -1
- package/dist/ListBox/src/index.css +281 -274
- package/dist/ListBox/src/index.js +16 -14
- package/dist/ListBoxSection/src/ListBoxSection.d.ts +19 -0
- package/dist/ListBoxSection/src/ListBoxSection.js +3 -0
- package/dist/ListBoxSection/src/ListBoxSectionContext.d.ts +9 -0
- package/dist/ListBoxSection/src/ListBoxSectionContext.js +2 -0
- package/dist/ListBoxSection/src/index.d.ts +6 -0
- package/dist/ListBoxSection/src/index.js +3 -0
- package/dist/Select/src/Select.css +582 -564
- package/dist/Select/src/Select.d.ts +1 -0
- package/dist/Select/src/Select.js +32 -27
- package/dist/Select/src/SelectContext.d.ts +1 -0
- package/dist/Select/src/SelectValue.css +68 -61
- package/dist/Select/src/SelectValue.js +7 -5
- package/dist/Select/src/index.css +582 -564
- package/dist/Select/src/index.d.ts +1 -0
- package/dist/Select/src/index.js +32 -27
- package/dist/Spinner/src/Spinner.css +44 -37
- package/dist/Spinner/src/Spinner.js +2 -2
- package/dist/Spinner/src/index.css +44 -37
- package/dist/Spinner/src/index.js +2 -2
- package/dist/ToggleArrow/src/ToggleArrow.css +243 -0
- package/dist/ToggleArrow/src/ToggleArrow.d.ts +21 -0
- package/dist/ToggleArrow/src/ToggleArrow.js +4 -0
- package/dist/ToggleArrow/src/ToggleArrowContext.d.ts +10 -0
- package/dist/ToggleArrow/src/ToggleArrowContext.js +2 -0
- package/dist/ToggleArrow/src/index.css +243 -0
- package/dist/ToggleArrow/src/index.d.ts +7 -0
- package/dist/ToggleArrow/src/index.js +4 -0
- package/dist/buttons/src/Button.css +100 -93
- package/dist/buttons/src/Button.js +11 -9
- package/dist/buttons/src/ButtonGroup.css +45 -38
- package/dist/buttons/src/ButtonGroup.js +1 -1
- package/dist/buttons/src/ClearButton.css +105 -98
- package/dist/buttons/src/ClearButton.js +2 -2
- package/dist/buttons/src/EmbeddedButton.css +105 -98
- package/dist/buttons/src/EmbeddedButton.js +1 -1
- package/dist/buttons/src/LinkButton.css +109 -102
- package/dist/buttons/src/LinkButton.js +10 -8
- package/dist/buttons/src/index.css +256 -249
- package/dist/buttons/src/index.js +15 -13
- package/dist/checkbox/src/Checkbox.css +53 -46
- package/dist/checkbox/src/Checkbox.js +10 -8
- package/dist/checkbox/src/CheckboxField.css +93 -86
- package/dist/checkbox/src/CheckboxField.js +4 -2
- package/dist/checkbox/src/CheckboxGroup.css +105 -98
- package/dist/checkbox/src/CheckboxGroup.js +9 -7
- package/dist/checkbox/src/DecorativeCheckbox.css +61 -54
- package/dist/checkbox/src/DecorativeCheckbox.js +10 -8
- package/dist/checkbox/src/index.css +105 -98
- package/dist/checkbox/src/index.js +17 -15
- package/dist/{chunk-6SOC4ZCP.js → chunk-2HHYW5O7.js} +2 -2
- package/dist/{chunk-DPGUTB2Z.js → chunk-2VRVLS4A.js} +2 -2
- package/dist/{chunk-JGHJ2M26.js → chunk-3THUO6AY.js} +18 -10
- package/dist/{chunk-WUXVBNRQ.js → chunk-5LMIPWJ4.js} +8 -6
- package/dist/{chunk-5L4SRFMM.js → chunk-5MVIPFJG.js} +2 -2
- package/dist/{chunk-OQ5ANYTP.js → chunk-6LK7QKDE.js} +5 -3
- package/dist/{chunk-7W2MXYXZ.js → chunk-6XXPLEOU.js} +7 -5
- package/dist/chunk-7CJXILRD.js +7 -0
- package/dist/chunk-AYW3VAZY.js +79 -0
- package/dist/{chunk-VHQQVD4Y.js → chunk-BVZYQJKK.js} +7 -5
- package/dist/{chunk-ROBSHFBH.js → chunk-CGHAMVQH.js} +2 -2
- package/dist/{chunk-NLZXVLBW.js → chunk-DZJSSJVJ.js} +9 -9
- package/dist/{chunk-Z2UVDVEE.js → chunk-EJGX57JX.js} +2 -2
- package/dist/{chunk-CWGQSZVV.js → chunk-EPSUB3U3.js} +8 -6
- package/dist/{chunk-VB4KGI6T.js → chunk-F7F57LOT.js} +1 -1
- package/dist/chunk-FSXFF7TJ.js +124 -0
- package/dist/{chunk-BYOQKF3I.js → chunk-FUSWS7EZ.js} +2 -2
- package/dist/{chunk-ECAM35AM.js → chunk-G34IZZZR.js} +6 -4
- package/dist/{chunk-YGEF3D4F.js → chunk-G3XUMSZ4.js} +3 -3
- package/dist/chunk-GFRTCF4B.js +7 -0
- package/dist/{chunk-JA3U74ZK.js → chunk-IAHBYEON.js} +1 -1
- package/dist/chunk-IXXQUPXA.js +67 -0
- package/dist/chunk-J6WBI2I2.js +7 -0
- package/dist/{chunk-JTHUJSFK.js → chunk-JJ6IB366.js} +2 -2
- package/dist/{chunk-GCPJ72ES.js → chunk-KM6OVMUI.js} +1 -1
- package/dist/{chunk-HLWX7CML.js → chunk-LL362RG6.js} +2 -2
- package/dist/{chunk-7TNFRZPO.js → chunk-M4HNTQU7.js} +1 -1
- package/dist/{chunk-TUQXINCS.js → chunk-MAO7KM3A.js} +2 -2
- package/dist/{chunk-UBXBQMCI.js → chunk-MGZMC7Q2.js} +1 -1
- package/dist/{chunk-ETR3U3FY.js → chunk-MI3FZZRE.js} +1 -1
- package/dist/{chunk-5V32JYKM.js → chunk-MM727X5U.js} +1 -1
- package/dist/chunk-MUAXK42C.js +7 -0
- package/dist/{chunk-YQXI64TQ.js → chunk-NEVRDLRS.js} +8 -2
- package/dist/{chunk-Z2LRCDGL.js → chunk-NGJP7SMI.js} +5 -3
- package/dist/{chunk-ZV45TYGR.js → chunk-OQSYJW5D.js} +9 -7
- package/dist/{chunk-WOSZZL62.js → chunk-P7VQVTDQ.js} +8 -6
- package/dist/{chunk-EURJK4ZT.js → chunk-Q7NXUUB3.js} +1 -1
- package/dist/{chunk-ZWNZNKIJ.js → chunk-QBOXEWTP.js} +2 -2
- package/dist/{chunk-MAMRCWYC.js → chunk-QKJUME2B.js} +1 -1
- package/dist/{chunk-PSIGABQ5.js → chunk-QZTLUJBL.js} +1 -1
- package/dist/{chunk-Z5GLI3AC.js → chunk-RBU6S27I.js} +10 -8
- package/dist/{chunk-DRVU56LK.js → chunk-RFVQDNIT.js} +19 -11
- package/dist/chunk-RLDIAT4F.js +7 -0
- package/dist/chunk-RTABBR2E.js +68 -0
- package/dist/{chunk-5N6R4USJ.js → chunk-SDNIPJPM.js} +1 -1
- package/dist/{chunk-O44XKAD6.js → chunk-SYXSGWNE.js} +6 -4
- package/dist/{chunk-VDEBLHQC.js → chunk-TBZB627Y.js} +8 -6
- package/dist/{chunk-DJWMHKN5.js → chunk-TP3LLTP7.js} +6 -6
- package/dist/{chunk-NDJTJNFH.js → chunk-UKPQDNTE.js} +2 -2
- package/dist/{chunk-NOY3G4YX.js → chunk-USO7PAIT.js} +1 -1
- package/dist/{chunk-YXAAHLMF.js → chunk-VK743S4L.js} +7 -5
- package/dist/{chunk-R5756BNI.js → chunk-X3G7OJKA.js} +3 -3
- package/dist/chunk-XJPH3TL7.js +50 -0
- package/dist/{chunk-JCJA22ZN.js → chunk-XJUDFLDF.js} +4 -2
- package/dist/{chunk-SVBLMLJM.js → chunk-XYU4RE35.js} +1 -1
- package/dist/{chunk-JQDHDPWX.js → chunk-YGFDJWW6.js} +3 -3
- package/dist/{chunk-HXO6663T.js → chunk-YSL6C4TP.js} +2 -2
- package/dist/{chunk-MYDEFJS3.js → chunk-ZFGFRLWN.js} +1 -1
- package/dist/{chunk-TQKARZW6.js → chunk-ZJCGRPXS.js} +2 -2
- package/dist/{chunk-BCUIZE4G.js → chunk-ZTSBOPRT.js} +1 -1
- package/dist/{chunk-6URDOTFT.js → chunk-ZUSVLWHC.js} +6 -6
- package/dist/index.css +1244 -957
- package/dist/index.d.ts +9 -3
- package/dist/index.js +85 -77
- package/dist/inputs/src/InputGroup.css +271 -264
- package/dist/inputs/src/InputGroup.js +1 -1
- package/dist/inputs/src/NumberField.css +293 -286
- package/dist/inputs/src/NumberField.js +14 -12
- package/dist/inputs/src/PasswordField.css +281 -274
- package/dist/inputs/src/PasswordField.js +13 -11
- package/dist/inputs/src/RemainingCharacterCount.css +37 -30
- package/dist/inputs/src/RemainingCharacterCount.js +7 -5
- package/dist/inputs/src/SearchField.css +287 -280
- package/dist/inputs/src/SearchField.js +14 -12
- package/dist/inputs/src/TextArea.css +288 -281
- package/dist/inputs/src/TextArea.js +13 -11
- package/dist/inputs/src/TextField.css +285 -278
- package/dist/inputs/src/TextField.js +17 -15
- package/dist/inputs/src/index.css +331 -324
- package/dist/inputs/src/index.js +25 -23
- package/dist/overlays/Popover/src/Popover.css +548 -541
- package/dist/overlays/Popover/src/Popover.js +12 -10
- package/dist/overlays/Popover/src/index.css +548 -541
- package/dist/overlays/Popover/src/index.js +12 -10
- package/dist/radio/src/DecorativeRadio.css +61 -54
- package/dist/radio/src/DecorativeRadio.js +9 -7
- package/dist/radio/src/Radio.css +53 -46
- package/dist/radio/src/Radio.js +9 -7
- package/dist/radio/src/RadioField.css +40 -33
- package/dist/radio/src/RadioField.js +2 -2
- package/dist/radio/src/RadioGroup.css +105 -98
- package/dist/radio/src/RadioGroup.js +9 -7
- package/dist/radio/src/index.css +105 -98
- package/dist/radio/src/index.js +17 -15
- package/dist/switch/src/Switch.css +50 -43
- package/dist/switch/src/Switch.js +9 -7
- package/dist/switch/src/SwitchField.css +40 -33
- package/dist/switch/src/SwitchField.js +2 -2
- package/dist/switch/src/index.css +56 -49
- package/dist/switch/src/index.js +10 -8
- package/dist/tag/src/Tag.css +397 -390
- package/dist/tag/src/Tag.js +12 -10
- package/dist/tag/src/TagGroup.css +44 -37
- package/dist/tag/src/TagGroup.js +9 -7
- package/dist/tag/src/index.css +407 -400
- package/dist/tag/src/index.js +18 -16
- package/dist/typography/Heading/src/Heading.css +34 -27
- package/dist/typography/Heading/src/Heading.js +1 -1
- package/dist/typography/Heading/src/index.css +34 -27
- package/dist/typography/Heading/src/index.js +1 -1
- package/dist/typography/Label/src/Label.css +34 -27
- package/dist/typography/Label/src/Label.js +3 -1
- package/dist/typography/Label/src/index.css +34 -27
- package/dist/typography/Label/src/index.js +3 -1
- package/dist/typography/OverlineText/src/OverlineText.css +34 -27
- package/dist/typography/OverlineText/src/OverlineText.js +1 -1
- package/dist/typography/OverlineText/src/index.css +34 -27
- package/dist/typography/OverlineText/src/index.js +1 -1
- package/dist/typography/Text/src/Text.css +34 -27
- package/dist/typography/Text/src/Text.js +1 -1
- package/dist/typography/Text/src/index.css +34 -27
- package/dist/typography/Text/src/index.js +1 -1
- package/dist/utils/src/EnsureTextWrapper.css +34 -27
- package/dist/utils/src/EnsureTextWrapper.d.ts +1 -1
- package/dist/utils/src/EnsureTextWrapper.js +7 -5
- package/dist/utils/src/index.css +34 -27
- package/dist/utils/src/index.js +7 -5
- package/dist/utils/src/types.d.ts +1 -1
- package/package.json +9 -9
- package/dist/Section/src/Section.d.ts +0 -19
- package/dist/Section/src/Section.js +0 -3
- package/dist/Section/src/SectionContext.d.ts +0 -9
- package/dist/Section/src/SectionContext.js +0 -2
- package/dist/Section/src/index.d.ts +0 -6
- package/dist/Section/src/index.js +0 -3
- package/dist/chunk-5H5AZJPQ.js +0 -7
- package/dist/chunk-GDB7JQ3D.js +0 -153
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RadioFieldContext } from './chunk-DGLAGYBD.js';
|
|
2
2
|
import { RadioContext } from './chunk-FU5CCPLP.js';
|
|
3
|
-
import { _Text } from './chunk-
|
|
3
|
+
import { _Text } from './chunk-MM727X5U.js';
|
|
4
4
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
5
5
|
import { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
6
6
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
@@ -14,7 +14,7 @@ import { useContextProps, composeRenderProps } from 'react-aria-components';
|
|
|
14
14
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
15
15
|
|
|
16
16
|
// css-module:./RadioField.module.css#css-module
|
|
17
|
-
var RadioField_module_default = { "hop-RadioField": "RadioField-module__hop-
|
|
17
|
+
var RadioField_module_default = { "hop-RadioField": "RadioField-module__hop-RadioField___eRUbg", "hop-RadioField--sm": "RadioField-module__hop-RadioField--sm___lt51-", "hop-RadioField--md": "RadioField-module__hop-RadioField--md___hthTf", "hop-RadioField__description": "RadioField-module__hop-RadioField__description___nP5r9", "hop-RadioField__radio": "RadioField-module__hop-RadioField__radio___7mDGH" };
|
|
18
18
|
var GlobalRadioFieldCssSelector = "hop-RadioField";
|
|
19
19
|
var RadioToDescriptionSizeAdapter = {
|
|
20
20
|
sm: "xs",
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { useSlot } from './chunk-H5YTU3U7.js';
|
|
2
|
-
import { _Spinner } from './chunk-
|
|
3
|
-
import { ensureTextWrapper } from './chunk-R5756BNI.js';
|
|
4
|
-
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
2
|
+
import { _Spinner } from './chunk-LL362RG6.js';
|
|
5
3
|
import { ButtonContext } from './chunk-WMTWFKKP.js';
|
|
4
|
+
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
5
|
+
import { ensureTextWrapper } from './chunk-X3G7OJKA.js';
|
|
6
6
|
import { useLocalizedString } from './chunk-TFVDF4YH.js';
|
|
7
|
+
import { useFormProps } from './chunk-RTABBR2E.js';
|
|
7
8
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
8
9
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
9
10
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
@@ -16,11 +17,12 @@ import { useContextProps, composeRenderProps, DEFAULT_SLOT, Button as Button$1 }
|
|
|
16
17
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
17
18
|
|
|
18
19
|
// css-module:./Button.module.css#css-module
|
|
19
|
-
var Button_module_default = { "hop-Button": "Button-module__hop-
|
|
20
|
+
var Button_module_default = { "hop-Button": "Button-module__hop-Button___KDYtZ", "hop-Button--fluid": "Button-module__hop-Button--fluid___ZOQ70", "hop-Button--sm": "Button-module__hop-Button--sm___PlAe6", "hop-Button--md": "Button-module__hop-Button--md___sCQzf", "hop-Button--icon-only": "Button-module__hop-Button--icon-only___8c-Sx", "hop-Button--primary": "Button-module__hop-Button--primary___Kb-uQ", "hop-Button--secondary": "Button-module__hop-Button--secondary___O4v2Q", "hop-Button--upsell": "Button-module__hop-Button--upsell___Ztsgb", "hop-Button--danger": "Button-module__hop-Button--danger___rLBG1", "hop-Button--ghost-primary": "Button-module__hop-Button--ghost-primary___E3iRx", "hop-Button--ghost-secondary": "Button-module__hop-Button--ghost-secondary___6czKV", "hop-Button--ghost-danger": "Button-module__hop-Button--ghost-danger___rvJYN", "hop-Button__Spinner": "Button-module__hop-Button__Spinner___Q-ree", "hop-Button__icon": "Button-module__hop-Button__icon___d5unn", "hop-Button__icon-list": "Button-module__hop-Button__icon-list___WH0t4", "hop-Button__text": "Button-module__hop-Button__text___Bfvnr", "hop-Button__end-icon": "Button-module__hop-Button__end-icon___Ufo59", "hop-Button__end-icon-list": "Button-module__hop-Button__end-icon-list___WL-Qi" };
|
|
20
21
|
var GlobalButtonCssSelector = "hop-Button";
|
|
21
22
|
function Button(props, ref) {
|
|
22
23
|
var _a, _b;
|
|
23
24
|
[props, ref] = useContextProps(props, ref, ButtonContext);
|
|
25
|
+
props = useFormProps(props);
|
|
24
26
|
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
25
27
|
const stringFormatter = useLocalizedString();
|
|
26
28
|
const {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useImageFallback } from './chunk-LI5HSYF7.js';
|
|
2
|
-
import { _Text } from './chunk-
|
|
2
|
+
import { _Text } from './chunk-MM727X5U.js';
|
|
3
3
|
import { AvatarContext } from './chunk-AES7QBQE.js';
|
|
4
|
-
import { _RichIconAvatarImage } from './chunk-
|
|
4
|
+
import { _RichIconAvatarImage } from './chunk-ZFGFRLWN.js';
|
|
5
5
|
import { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
6
6
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
7
7
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
@@ -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:./Avatar.module.css#css-module
|
|
16
|
-
var Avatar_module_default = { "hop-Avatar": "Avatar-module__hop-
|
|
16
|
+
var Avatar_module_default = { "hop-Avatar": "Avatar-module__hop-Avatar___-S-fg", "hop-Avatar--xs": "Avatar-module__hop-Avatar--xs___DgFlq", "hop-Avatar--sm": "Avatar-module__hop-Avatar--sm___jXpex", "hop-Avatar--md": "Avatar-module__hop-Avatar--md___qblF4", "hop-Avatar--lg": "Avatar-module__hop-Avatar--lg___ML8Gz", "hop-Avatar--xl": "Avatar-module__hop-Avatar--xl___ofAgp", "hop-Avatar--2xl": "Avatar-module__hop-Avatar--2xl___fbmlO", "hop-Avatar--decorative-option1": "Avatar-module__hop-Avatar--decorative-option1___bJaOB", "hop-Avatar--decorative-option2": "Avatar-module__hop-Avatar--decorative-option2___hYJVz", "hop-Avatar--decorative-option3": "Avatar-module__hop-Avatar--decorative-option3___Wna9W", "hop-Avatar--decorative-option4": "Avatar-module__hop-Avatar--decorative-option4___jGIra", "hop-Avatar--decorative-option5": "Avatar-module__hop-Avatar--decorative-option5___lBDEE", "hop-Avatar--decorative-option6": "Avatar-module__hop-Avatar--decorative-option6___3Gi7-", "hop-Avatar--decorative-option7": "Avatar-module__hop-Avatar--decorative-option7___8ZRQS", "hop-Avatar--decorative-option8": "Avatar-module__hop-Avatar--decorative-option8___-nL1Z", "hop-Avatar--decorative-option9": "Avatar-module__hop-Avatar--decorative-option9___NbTFD", "hop-Avatar__image": "Avatar-module__hop-Avatar__image___mWFGU" };
|
|
17
17
|
var GlobalAvatarCssSelector = "hop-Avatar";
|
|
18
18
|
var AvatarToTextSizeAdapter = {
|
|
19
19
|
xs: "xs",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AvatarContext } from './chunk-AES7QBQE.js';
|
|
2
|
-
import { _RichIconAvatarImage } from './chunk-
|
|
2
|
+
import { _RichIconAvatarImage } from './chunk-ZFGFRLWN.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';
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { DisclosurePanelContext } from './chunk-7CJXILRD.js';
|
|
2
|
+
import { DisclosureContext } from './chunk-MUAXK42C.js';
|
|
3
|
+
import { ensureTextWrapper } from './chunk-X3G7OJKA.js';
|
|
4
|
+
import { FormContext } from './chunk-Q7NXUUB3.js';
|
|
5
|
+
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
6
|
+
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
7
|
+
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
8
|
+
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
9
|
+
import { useStyledSystem } from '@hopper-ui/styled-system';
|
|
10
|
+
import { forwardRef } from 'react';
|
|
11
|
+
import { useContextProps, useSlottedContext, composeRenderProps, DisclosurePanel as DisclosurePanel$1 } from 'react-aria-components';
|
|
12
|
+
import { jsx } from 'react/jsx-runtime';
|
|
13
|
+
|
|
14
|
+
// css-module:./DisclosurePanel.module.css#css-module
|
|
15
|
+
var DisclosurePanel_module_default = { "hop-DisclosurePanel": "DisclosurePanel-module__hop-DisclosurePanel___NcAZI", "hop-DisclosurePanel--inline": "DisclosurePanel-module__hop-DisclosurePanel--inline___Y8y9c", "hop-DisclosurePanel--disabled": "DisclosurePanel-module__hop-DisclosurePanel--disabled___aLmDO", "hop-DisclosurePanel__text": "DisclosurePanel-module__hop-DisclosurePanel__text___zuol-" };
|
|
16
|
+
var GlobalDisclosurePanelCssSelector = "hop-DisclosurePanel";
|
|
17
|
+
function DisclosurePanel(props, ref) {
|
|
18
|
+
[props, ref] = useContextProps(props, ref, DisclosurePanelContext);
|
|
19
|
+
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
20
|
+
const {
|
|
21
|
+
className,
|
|
22
|
+
children,
|
|
23
|
+
style: styleProp,
|
|
24
|
+
...otherProps
|
|
25
|
+
} = ownProps;
|
|
26
|
+
const { isDisabled, variant } = useSlottedContext(DisclosureContext);
|
|
27
|
+
const classNames = composeClassnameRenderProps(
|
|
28
|
+
className,
|
|
29
|
+
GlobalDisclosurePanelCssSelector,
|
|
30
|
+
cssModule(
|
|
31
|
+
DisclosurePanel_module_default,
|
|
32
|
+
"hop-DisclosurePanel",
|
|
33
|
+
variant,
|
|
34
|
+
isDisabled && "disabled"
|
|
35
|
+
),
|
|
36
|
+
stylingProps.className
|
|
37
|
+
);
|
|
38
|
+
const style = composeRenderProps(styleProp, (prev) => {
|
|
39
|
+
return {
|
|
40
|
+
...stylingProps.style,
|
|
41
|
+
...prev
|
|
42
|
+
};
|
|
43
|
+
});
|
|
44
|
+
return /* @__PURE__ */ jsx(
|
|
45
|
+
DisclosurePanel$1,
|
|
46
|
+
{
|
|
47
|
+
ref,
|
|
48
|
+
className: classNames,
|
|
49
|
+
style,
|
|
50
|
+
...otherProps,
|
|
51
|
+
children: /* @__PURE__ */ jsx(
|
|
52
|
+
SlotProvider,
|
|
53
|
+
{
|
|
54
|
+
values: [
|
|
55
|
+
[TextContext, { size: "sm", className: DisclosurePanel_module_default["hop-DisclosurePanel__text"] }],
|
|
56
|
+
[FormContext, { size: "sm", isDisabled }]
|
|
57
|
+
],
|
|
58
|
+
children: ensureTextWrapper(children, "p")
|
|
59
|
+
}
|
|
60
|
+
)
|
|
61
|
+
}
|
|
62
|
+
);
|
|
63
|
+
}
|
|
64
|
+
var _DisclosurePanel = forwardRef(DisclosurePanel);
|
|
65
|
+
_DisclosurePanel.displayName = "DisclosurePanel";
|
|
66
|
+
|
|
67
|
+
export { GlobalDisclosurePanelCssSelector, _DisclosurePanel };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SwitchContext } from './chunk-YHBJAXUY.js';
|
|
2
|
-
import { ensureTextWrapper } from './chunk-R5756BNI.js';
|
|
3
2
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
3
|
+
import { ensureTextWrapper } from './chunk-X3G7OJKA.js';
|
|
4
4
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
5
5
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
6
6
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
@@ -13,7 +13,7 @@ import { useContextProps, composeRenderProps, Switch as Switch$1 } from 'react-a
|
|
|
13
13
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
14
14
|
|
|
15
15
|
// css-module:./Switch.module.css#css-module
|
|
16
|
-
var Switch_module_default = { "hop-Switch": "Switch-module__hop-
|
|
16
|
+
var Switch_module_default = { "hop-Switch": "Switch-module__hop-Switch___WBRtu", "hop-Switch--sm": "Switch-module__hop-Switch--sm___iPDt3", "hop-Switch--md": "Switch-module__hop-Switch--md___o-yTv", "hop-Switch__indicator": "Switch-module__hop-Switch__indicator___yeACK", "hop-Switch__text": "Switch-module__hop-Switch__text___x23i9", "hop-Switch__icon-list": "Switch-module__hop-Switch__icon-list___poNOV", "hop-Switch__icon": "Switch-module__hop-Switch__icon___2Yu7-" };
|
|
17
17
|
var GlobalSwitchCssSelector = "hop-Switch";
|
|
18
18
|
function Switch(props, ref) {
|
|
19
19
|
var _a;
|
|
@@ -11,7 +11,7 @@ import { useContextProps } from 'react-aria-components';
|
|
|
11
11
|
import { jsx } from 'react/jsx-runtime';
|
|
12
12
|
|
|
13
13
|
// css-module:./ButtonGroup.module.css#css-module
|
|
14
|
-
var ButtonGroup_module_default = { "hop-ButtonGroup": "ButtonGroup-module__hop-
|
|
14
|
+
var ButtonGroup_module_default = { "hop-ButtonGroup": "ButtonGroup-module__hop-ButtonGroup___cORKn", "hop-ButtonGroup--horizontal": "ButtonGroup-module__hop-ButtonGroup--horizontal___NHdiK", "hop-ButtonGroup--vertical": "ButtonGroup-module__hop-ButtonGroup--vertical___XzcPR", "hop-ButtonGroup--start": "ButtonGroup-module__hop-ButtonGroup--start___8TObt", "hop-ButtonGroup--center": "ButtonGroup-module__hop-ButtonGroup--center___k7SDM", "hop-ButtonGroup--end": "ButtonGroup-module__hop-ButtonGroup--end___kpTJH", "hop-ButtonGroup--wrap": "ButtonGroup-module__hop-ButtonGroup--wrap___G9jWL", "hop-ButtonGroup--fluid": "ButtonGroup-module__hop-ButtonGroup--fluid___LRhkV" };
|
|
15
15
|
var GlobalButtonGroupCssSelector = "hop-ButtonGroup";
|
|
16
16
|
function ButtonGroup(props, ref) {
|
|
17
17
|
var _a, _b, _c, _d;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SpinnerContext } from './chunk-4ZYV2XLW.js';
|
|
2
|
-
import { _Text } from './chunk-
|
|
2
|
+
import { _Text } from './chunk-MM727X5U.js';
|
|
3
3
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
4
4
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
5
5
|
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
@@ -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___f2Jew", "spin": "Spinner-module__spin___yY3cN", "hop-Spinner--sm": "Spinner-module__hop-Spinner--sm___YTD7u", "hop-Spinner--md": "Spinner-module__hop-Spinner--md___LX-AD", "hop-Spinner--lg": "Spinner-module__hop-Spinner--lg___eg9q8", "hop-Spinner__track": "Spinner-module__hop-Spinner__track___IW7Cd", "hop-Spinner__fill": "Spinner-module__hop-Spinner__fill___ED6C0", "hop-Spinner__label": "Spinner-module__hop-Spinner__label___EId-C" };
|
|
13
13
|
var GlobalSpinnerCssSelector = "hop-Spinner";
|
|
14
14
|
var SpinnerToTextSizeAdapter = {
|
|
15
15
|
sm: "xs",
|
|
@@ -10,7 +10,7 @@ import { useContextProps, useSlottedContext, InputContext, TextAreaContext, Fiel
|
|
|
10
10
|
import { jsx } from 'react/jsx-runtime';
|
|
11
11
|
|
|
12
12
|
// css-module:./InputGroup.module.css#css-module
|
|
13
|
-
var InputGroup_module_default = { "hop-InputGroup": "InputGroup-module__hop-
|
|
13
|
+
var InputGroup_module_default = { "hop-InputGroup": "InputGroup-module__hop-InputGroup___lqcze", "hop-InputGroup--fluid": "InputGroup-module__hop-InputGroup--fluid___9vsnJ", "hop-InputGroup--sm": "InputGroup-module__hop-InputGroup--sm___fmNTG", "hop-InputGroup__input": "InputGroup-module__hop-InputGroup__input___N96kZ", "hop-InputGroup__textarea": "InputGroup-module__hop-InputGroup__textarea___l-fXQ", "hop-InputGroup__embedded-button": "InputGroup-module__hop-InputGroup__embedded-button___A5ODy" };
|
|
14
14
|
var GlobalInputGroupCssSelector = "hop-InputGroup";
|
|
15
15
|
function InputGroup(props, ref) {
|
|
16
16
|
var _a, _b;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useLocalizedString } from './chunk-TFVDF4YH.js';
|
|
2
|
-
import { _Text } from './chunk-
|
|
2
|
+
import { _Text } from './chunk-MM727X5U.js';
|
|
3
3
|
import { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
4
4
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
5
5
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
@@ -10,7 +10,7 @@ import { composeRenderProps } from 'react-aria-components';
|
|
|
10
10
|
import { jsx } from 'react/jsx-runtime';
|
|
11
11
|
|
|
12
12
|
// css-module:./RemainingCharacterCount.module.css#css-module
|
|
13
|
-
var RemainingCharacterCount_module_default = { "hop-RemainingCharacterCount": "RemainingCharacterCount-module__hop-
|
|
13
|
+
var RemainingCharacterCount_module_default = { "hop-RemainingCharacterCount": "RemainingCharacterCount-module__hop-RemainingCharacterCount___hpm6g" };
|
|
14
14
|
var GlobalRemainingCharacterCountCssSelector = "hop-RemainingCharacterCount";
|
|
15
15
|
function RemainingCharacterCount(props, ref) {
|
|
16
16
|
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AvatarContext } from './chunk-AES7QBQE.js';
|
|
2
|
-
import { _RichIconAvatarImage } from './chunk-
|
|
2
|
+
import { _RichIconAvatarImage } from './chunk-ZFGFRLWN.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';
|
|
@@ -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___D-RLi", "hop-OverlineText__text": "OverlineText-module__hop-OverlineText__text___Y6Wnp" };
|
|
11
11
|
var GlobalOverlineTextCssSelector = "hop-OverlineText";
|
|
12
12
|
function OverlineText(props, ref) {
|
|
13
13
|
[props, ref] = useContextProps(props, ref, OverlineTextContext);
|
|
@@ -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___9GSuR", "hop-Text--xs": "Text-module__hop-Text--xs___oFNpU", "hop-Text--sm": "Text-module__hop-Text--sm___FaLG3", "hop-Text--md": "Text-module__hop-Text--md___pW7zQ", "hop-Text--lg": "Text-module__hop-Text--lg___8efIV", "hop-Text--xl": "Text-module__hop-Text--xl___R-9rB", "hop-Text--2xl": "Text-module__hop-Text--2xl___OTgcy", "hop-Text--inherit": "Text-module__hop-Text--inherit___5e8-3" };
|
|
13
13
|
var GlobalTextCssSelector = "hop-Text";
|
|
14
14
|
function Text(props, ref) {
|
|
15
15
|
[props, ref] = useContextProps(props, ref, TextContext);
|
|
@@ -1,21 +1,25 @@
|
|
|
1
1
|
import { LabelContext } from './chunk-QCA3ZR56.js';
|
|
2
2
|
import { useLocalizedString } from './chunk-TFVDF4YH.js';
|
|
3
|
+
import { useFormProps } from './chunk-RTABBR2E.js';
|
|
3
4
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
4
5
|
import { useStyledSystem } from '@hopper-ui/styled-system';
|
|
6
|
+
import { filterDOMProps } from '@react-aria/utils';
|
|
5
7
|
import clsx from 'clsx';
|
|
6
8
|
import { forwardRef } from 'react';
|
|
7
9
|
import { useContextProps, Label as Label$1 } from 'react-aria-components';
|
|
8
10
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
9
11
|
|
|
10
12
|
// css-module:./Label.module.css#css-module
|
|
11
|
-
var Label_module_default = { "hop-Label": "Label-module__hop-
|
|
13
|
+
var Label_module_default = { "hop-Label": "Label-module__hop-Label___WAgRk", "hop-Label__indicator": "Label-module__hop-Label__indicator___KrKa0" };
|
|
12
14
|
var GlobalLabelCssSelector = "hop-Label";
|
|
13
15
|
function Label(props, ref) {
|
|
14
16
|
[props, ref] = useContextProps(props, ref, LabelContext);
|
|
17
|
+
props = useFormProps(props);
|
|
15
18
|
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
16
19
|
const {
|
|
17
20
|
className,
|
|
18
21
|
children,
|
|
22
|
+
slot,
|
|
19
23
|
style,
|
|
20
24
|
isRequired,
|
|
21
25
|
necessityIndicator,
|
|
@@ -45,13 +49,15 @@ function Label(props, ref) {
|
|
|
45
49
|
children: "*"
|
|
46
50
|
}
|
|
47
51
|
);
|
|
52
|
+
const filteredProps = filterDOMProps(otherProps, { labelable: true });
|
|
48
53
|
return /* @__PURE__ */ jsxs(
|
|
49
54
|
Label$1,
|
|
50
55
|
{
|
|
51
56
|
ref,
|
|
52
57
|
className: classNames,
|
|
58
|
+
slot: slot || void 0,
|
|
53
59
|
style: mergedStyles,
|
|
54
|
-
...
|
|
60
|
+
...filteredProps,
|
|
55
61
|
children: [
|
|
56
62
|
children,
|
|
57
63
|
necessityIndicator === "label" && !isRequired && /* @__PURE__ */ jsxs("span", { className: Label_module_default["hop-Label__label-indicator"], children: [
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { useSlot } from './chunk-H5YTU3U7.js';
|
|
2
|
-
import { ensureTextWrapper } from './chunk-R5756BNI.js';
|
|
3
|
-
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
4
2
|
import { LinkButtonContext } from './chunk-3UQFC2NQ.js';
|
|
3
|
+
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
4
|
+
import { ensureTextWrapper } from './chunk-X3G7OJKA.js';
|
|
5
|
+
import { useFormProps } from './chunk-RTABBR2E.js';
|
|
5
6
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
6
7
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
7
8
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
@@ -13,11 +14,12 @@ import { useContextProps, composeRenderProps, DEFAULT_SLOT, Link } from 'react-a
|
|
|
13
14
|
import { jsx } from 'react/jsx-runtime';
|
|
14
15
|
|
|
15
16
|
// css-module:./LinkButton.module.css#css-module
|
|
16
|
-
var LinkButton_module_default = { "hop-LinkButton": "LinkButton-module__hop-
|
|
17
|
+
var LinkButton_module_default = { "hop-LinkButton": "LinkButton-module__hop-LinkButton___8hiIp Button-module__hop-Button___KDYtZ", "hop-LinkButton--fluid": "LinkButton-module__hop-LinkButton--fluid___tPzcL Button-module__hop-Button--fluid___ZOQ70", "hop-LinkButton--sm": "LinkButton-module__hop-LinkButton--sm___VgEwO Button-module__hop-Button--sm___PlAe6", "hop-LinkButton--icon-only": "LinkButton-module__hop-LinkButton--icon-only___UBCRA Button-module__hop-Button--icon-only___8c-Sx", "hop-LinkButton--primary": "LinkButton-module__hop-LinkButton--primary___-0CLO Button-module__hop-Button--primary___Kb-uQ", "hop-LinkButton--secondary": "LinkButton-module__hop-LinkButton--secondary___0oZi4 Button-module__hop-Button--secondary___O4v2Q", "hop-LinkButton--upsell": "LinkButton-module__hop-LinkButton--upsell___EYyzR Button-module__hop-Button--upsell___Ztsgb", "hop-LinkButton--danger": "LinkButton-module__hop-LinkButton--danger___zPOHx Button-module__hop-Button--danger___rLBG1", "hop-LinkButton--ghost-primary": "LinkButton-module__hop-LinkButton--ghost-primary___X-0mA Button-module__hop-Button--ghost-primary___E3iRx", "hop-LinkButton--ghost-secondary": "LinkButton-module__hop-LinkButton--ghost-secondary___BVsqg Button-module__hop-Button--ghost-secondary___6czKV", "hop-LinkButton--ghost-danger": "LinkButton-module__hop-LinkButton--ghost-danger___VIqZ7 Button-module__hop-Button--ghost-danger___rvJYN", "hop-LinkButton__Spinner": "LinkButton-module__hop-LinkButton__Spinner___opDlf Button-module__hop-Button__Spinner___Q-ree", "hop-LinkButton__icon": "LinkButton-module__hop-LinkButton__icon___9PwgC Button-module__hop-Button__icon___d5unn", "hop-LinkButton__icon-list": "LinkButton-module__hop-LinkButton__icon-list___ceseg Button-module__hop-Button__icon___d5unn", "hop-LinkButton__text": "LinkButton-module__hop-LinkButton__text___0B6BF Button-module__hop-Button__text___Bfvnr", "hop-LinkButton__end-icon": "LinkButton-module__hop-LinkButton__end-icon___q5WIw Button-module__hop-Button__end-icon___Ufo59", "hop-LinkButton__end-icon-list": "LinkButton-module__hop-LinkButton__end-icon-list___mZHFb Button-module__hop-Button__end-icon___Ufo59" };
|
|
17
18
|
var GlobalLinkButtonCssSelector = "hop-LinkButton";
|
|
18
19
|
function LinkButton(props, ref) {
|
|
19
20
|
var _a, _b;
|
|
20
21
|
[props, ref] = useContextProps(props, ref, LinkButtonContext);
|
|
22
|
+
props = useFormProps(props);
|
|
21
23
|
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
22
24
|
const {
|
|
23
25
|
className,
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { useFontFaceReady } from './chunk-IU6XMS2X.js';
|
|
2
|
-
import { useTruncatedText } from './chunk-Z57VHYOF.js';
|
|
3
|
-
import { _InputGroup } from './chunk-7TNFRZPO.js';
|
|
4
|
-
import { _RemainingCharacterCount } from './chunk-TUQXINCS.js';
|
|
5
2
|
import { TextAreaContext } from './chunk-MHQZXLKW.js';
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
3
|
+
import { useTruncatedText } from './chunk-Z57VHYOF.js';
|
|
4
|
+
import { _RemainingCharacterCount } from './chunk-MAO7KM3A.js';
|
|
5
|
+
import { _InputGroup } from './chunk-M4HNTQU7.js';
|
|
6
|
+
import { _HelperMessage } from './chunk-5MVIPFJG.js';
|
|
7
|
+
import { _ErrorMessage } from './chunk-EJGX57JX.js';
|
|
8
|
+
import { _Label } from './chunk-NEVRDLRS.js';
|
|
9
|
+
import { useFormProps } from './chunk-RTABBR2E.js';
|
|
9
10
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
10
11
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
11
12
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
@@ -78,7 +79,7 @@ function $b5e257d569688ac6$export$535bd6ca7f90a273() {
|
|
|
78
79
|
}
|
|
79
80
|
|
|
80
81
|
// css-module:./TextArea.module.css#css-module
|
|
81
|
-
var TextArea_module_default = { "hop-TextArea": "TextArea-module__hop-
|
|
82
|
+
var TextArea_module_default = { "hop-TextArea": "TextArea-module__hop-TextArea___F7U6X", "hop-TextArea--fluid": "TextArea-module__hop-TextArea--fluid___7DK9t", "hop-TextArea__Label": "TextArea-module__hop-TextArea__Label___3oSGP", "hop-TextArea__prefix": "TextArea-module__hop-TextArea__prefix___75djx", "hop-TextArea__InputGroup": "TextArea-module__hop-TextArea__InputGroup___UF09N", "hop-TextArea__RemainingCharacterCount": "TextArea-module__hop-TextArea__RemainingCharacterCount___0OcyS", "hop-TextArea__textarea": "TextArea-module__hop-TextArea__textarea___R2xFB", "hop-TextArea__ErrorMessage": "TextArea-module__hop-TextArea__ErrorMessage___S57sB", "hop-TextArea__HelperMessage": "TextArea-module__hop-TextArea__HelperMessage___BJvm8" };
|
|
82
83
|
var GlobalTextAreaCssSelector = "hop-TextArea";
|
|
83
84
|
var DefaultMinimumTextAreaRows = 3;
|
|
84
85
|
var pxToInt = (value) => {
|
|
@@ -117,6 +118,7 @@ function TextArea(props, ref) {
|
|
|
117
118
|
...propsWithoutRef
|
|
118
119
|
} = props;
|
|
119
120
|
[props, ref] = useContextProps(propsWithoutRef, ref, TextAreaContext);
|
|
121
|
+
props = useFormProps(props);
|
|
120
122
|
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
121
123
|
const [characterCount, setCharacterCount] = useState(() => {
|
|
122
124
|
var _a2, _b2, _c, _d;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { _InputGroup } from './chunk-7TNFRZPO.js';
|
|
2
|
-
import { _ClearButton } from './chunk-5N6R4USJ.js';
|
|
3
1
|
import { SearchFieldContext } from './chunk-3NKF5TPD.js';
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
2
|
+
import { _InputGroup } from './chunk-M4HNTQU7.js';
|
|
3
|
+
import { _ClearButton } from './chunk-SDNIPJPM.js';
|
|
4
|
+
import { _HelperMessage } from './chunk-5MVIPFJG.js';
|
|
5
|
+
import { _ErrorMessage } from './chunk-EJGX57JX.js';
|
|
6
|
+
import { _Label } from './chunk-NEVRDLRS.js';
|
|
7
|
+
import { useFormProps } from './chunk-RTABBR2E.js';
|
|
7
8
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
8
9
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
9
10
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
@@ -18,7 +19,7 @@ import { useContextProps, composeRenderProps, Input, SearchField as SearchField$
|
|
|
18
19
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
19
20
|
|
|
20
21
|
// css-module:./SearchField.module.css#css-module
|
|
21
|
-
var SearchField_module_default = { "hop-SearchField": "SearchField-module__hop-
|
|
22
|
+
var SearchField_module_default = { "hop-SearchField": "SearchField-module__hop-SearchField___-UtsJ", "hop-SearchField--fluid": "SearchField-module__hop-SearchField--fluid___AiNty", "hop-SearchField__Label": "SearchField-module__hop-SearchField__Label___w8qs6", "hop-SearchField__prefix": "SearchField-module__hop-SearchField__prefix___CRkdK", "hop-SearchField__InputGroup": "SearchField-module__hop-SearchField__InputGroup___7B9Iw", "hop-SearchField--clearable": "SearchField-module__hop-SearchField--clearable___UewJK", "hop-SearchField__ErrorMessage": "SearchField-module__hop-SearchField__ErrorMessage___jlbS4", "hop-SearchField__HelperMessage": "SearchField-module__hop-SearchField__HelperMessage___-ZEf8", "hop-SearchField__ClearButton": "SearchField-module__hop-SearchField__ClearButton___sGdm7" };
|
|
22
23
|
var GlobalSearchFieldCssSelector = "hop-SearchField";
|
|
23
24
|
function SearchField(props, ref) {
|
|
24
25
|
var _a;
|
|
@@ -27,6 +28,7 @@ function SearchField(props, ref) {
|
|
|
27
28
|
...propsWithoutRef
|
|
28
29
|
} = props;
|
|
29
30
|
[props, ref] = useContextProps(propsWithoutRef, ref, SearchFieldContext);
|
|
31
|
+
props = useFormProps(props);
|
|
30
32
|
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
31
33
|
const {
|
|
32
34
|
className,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CardContext } from './chunk-V2EQFVTJ.js';
|
|
2
|
-
import { FooterContext } from './chunk-I67NHYK4.js';
|
|
3
2
|
import { ContentContext } from './chunk-IXB2WK56.js';
|
|
3
|
+
import { FooterContext } from './chunk-I67NHYK4.js';
|
|
4
4
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
5
5
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
6
6
|
import { useStyledSystem } from '@hopper-ui/styled-system';
|
|
@@ -10,7 +10,7 @@ import { useContextProps, HeaderContext } from 'react-aria-components';
|
|
|
10
10
|
import { jsx } from 'react/jsx-runtime';
|
|
11
11
|
|
|
12
12
|
// css-module:./Card.module.css#css-module
|
|
13
|
-
var Card_module_default = { "hop-Card": "Card-module__hop-
|
|
13
|
+
var Card_module_default = { "hop-Card": "Card-module__hop-Card___1xTPS", "hop-Card--main": "Card-module__hop-Card--main___CaABR", "hop-Card--second-level": "Card-module__hop-Card--second-level___ofQ-w" };
|
|
14
14
|
var GlobalCardCssSelector = "hop-Card";
|
|
15
15
|
var Card = (props, ref) => {
|
|
16
16
|
[props, ref] = useContextProps(props, ref, CardContext);
|
|
@@ -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___OVSSP", "placeholder-shimmer": "ListBoxItemSkeleton-module__placeholder-shimmer___GlrbS", "hop-ListBoxItemSkeleton--xs": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--xs___Sd8v6", "hop-ListBoxItemSkeleton--sm": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--sm___ELHKT", "hop-ListBoxItemSkeleton--md": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--md___ldPWP", "hop-ListBoxItemSkeleton--lg": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--lg___PNlyx" };
|
|
11
11
|
var GlobalListBoxItemSkeletonCssSelector = "hop-ListBoxItemSkeleton";
|
|
12
12
|
function ListBoxItemSkeleton(props, ref) {
|
|
13
13
|
var _a;
|
|
@@ -20,7 +20,7 @@ function mapOrbiterToHopperVariants(variant) {
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
// css-module:./EmbeddedButton.module.css#css-module
|
|
23
|
-
var EmbeddedButton_module_default = { "hop-EmbeddedButton": "EmbeddedButton-module__hop-
|
|
23
|
+
var EmbeddedButton_module_default = { "hop-EmbeddedButton": "EmbeddedButton-module__hop-EmbeddedButton___zcNAQ", "hop-EmbeddedButton--md": "EmbeddedButton-module__hop-EmbeddedButton--md___nlhW6", "hop-EmbeddedButton--lg": "EmbeddedButton-module__hop-EmbeddedButton--lg___y2r8n", "hop-EmbeddedButton--neutral": "EmbeddedButton-module__hop-EmbeddedButton--neutral___RQgDW", "hop-EmbeddedButton--subdued": "EmbeddedButton-module__hop-EmbeddedButton--subdued___y5bim", "hop-EmbeddedButton--progress": "EmbeddedButton-module__hop-EmbeddedButton--progress___xL-Ig", "hop-EmbeddedButton--positive": "EmbeddedButton-module__hop-EmbeddedButton--positive___h-QZr", "hop-EmbeddedButton--caution": "EmbeddedButton-module__hop-EmbeddedButton--caution___YTKHH", "hop-EmbeddedButton--negative": "EmbeddedButton-module__hop-EmbeddedButton--negative___njjyb", "hop-EmbeddedButton--option1": "EmbeddedButton-module__hop-EmbeddedButton--option1___1k2Cf", "hop-EmbeddedButton--option2": "EmbeddedButton-module__hop-EmbeddedButton--option2___1xiO6", "hop-EmbeddedButton--option3": "EmbeddedButton-module__hop-EmbeddedButton--option3___hKt2i", "hop-EmbeddedButton--option4": "EmbeddedButton-module__hop-EmbeddedButton--option4___fIvzx", "hop-EmbeddedButton--option5": "EmbeddedButton-module__hop-EmbeddedButton--option5___N8AtS", "hop-EmbeddedButton--option6": "EmbeddedButton-module__hop-EmbeddedButton--option6___dd12g", "hop-EmbeddedButton__icon": "EmbeddedButton-module__hop-EmbeddedButton__icon___1gGml" };
|
|
24
24
|
var GlobalEmbeddedButtonCssSelector = "hop-EmbeddedButton";
|
|
25
25
|
function EmbeddedButton(props, ref) {
|
|
26
26
|
var _a;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { useTruncatedText } from './chunk-Z57VHYOF.js';
|
|
2
|
-
import {
|
|
3
|
-
import { _RemainingCharacterCount } from './chunk-TUQXINCS.js';
|
|
4
|
-
import { _ClearButton } from './chunk-5N6R4USJ.js';
|
|
2
|
+
import { _RemainingCharacterCount } from './chunk-MAO7KM3A.js';
|
|
5
3
|
import { TextFieldContext } from './chunk-O4XPUINW.js';
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
4
|
+
import { _InputGroup } from './chunk-M4HNTQU7.js';
|
|
5
|
+
import { _ClearButton } from './chunk-SDNIPJPM.js';
|
|
6
|
+
import { _HelperMessage } from './chunk-5MVIPFJG.js';
|
|
7
|
+
import { ensureTextWrapper } from './chunk-X3G7OJKA.js';
|
|
8
|
+
import { _ErrorMessage } from './chunk-EJGX57JX.js';
|
|
9
|
+
import { _Label } from './chunk-NEVRDLRS.js';
|
|
10
|
+
import { useFormProps } from './chunk-RTABBR2E.js';
|
|
10
11
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
11
12
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
12
13
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
@@ -23,7 +24,7 @@ import { useContextProps, composeRenderProps, Input, TextField as TextField$1 }
|
|
|
23
24
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
24
25
|
|
|
25
26
|
// css-module:./TextField.module.css#css-module
|
|
26
|
-
var TextField_module_default = { "hop-TextField": "TextField-module__hop-
|
|
27
|
+
var TextField_module_default = { "hop-TextField": "TextField-module__hop-TextField___wLPQZ", "hop-TextField--fluid": "TextField-module__hop-TextField--fluid___vVdUl", "hop-TextField__Label": "TextField-module__hop-TextField__Label___-Wjbo", "hop-TextField__prefix": "TextField-module__hop-TextField__prefix___p4mna", "hop-TextField__InputGroup": "TextField-module__hop-TextField__InputGroup___O-kLn", "hop-TextField__ErrorMessage": "TextField-module__hop-TextField__ErrorMessage___FN9c2", "hop-TextField__HelperMessage": "TextField-module__hop-TextField__HelperMessage___ufOUq" };
|
|
27
28
|
var GlobalTextFieldCssSelector = "hop-TextField";
|
|
28
29
|
function TextField(props, ref) {
|
|
29
30
|
var _a;
|
|
@@ -32,6 +33,7 @@ function TextField(props, ref) {
|
|
|
32
33
|
...propsWithoutRef
|
|
33
34
|
} = props;
|
|
34
35
|
[props, ref] = useContextProps(propsWithoutRef, ref, TextFieldContext);
|
|
36
|
+
props = useFormProps(props);
|
|
35
37
|
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
36
38
|
const [characterCount, setCharacterCount] = useState(() => {
|
|
37
39
|
var _a2, _b, _c, _d;
|