@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,26 +1,28 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
1
|
+
export { _Checkbox as Checkbox, GlobalCheckboxCssSelector } from '../../chunk-6LK7QKDE.js';
|
|
2
|
+
export { _CheckboxField as CheckboxField, GlobalCheckboxFieldCssSelector } from '../../chunk-XJUDFLDF.js';
|
|
3
|
+
export { _CheckboxGroup as CheckboxGroup, GlobalCheckboxGroupCssSelector } from '../../chunk-SYXSGWNE.js';
|
|
4
4
|
export { CheckboxFieldContext } from '../../chunk-ZGNK4GWA.js';
|
|
5
5
|
export { CheckboxGroupContext } from '../../chunk-N7YDPVZL.js';
|
|
6
|
-
export { _DecorativeCheckbox as DecorativeCheckbox, GlobalDecorativeCheckboxCssSelector } from '../../chunk-
|
|
7
|
-
import '../../chunk-R5756BNI.js';
|
|
8
|
-
import '../../chunk-ZWU6DRRZ.js';
|
|
9
|
-
import '../../chunk-5L4SRFMM.js';
|
|
10
|
-
import '../../chunk-HZKFQ33E.js';
|
|
11
|
-
import '../../chunk-DHVVYSLB.js';
|
|
6
|
+
export { _DecorativeCheckbox as DecorativeCheckbox, GlobalDecorativeCheckboxCssSelector } from '../../chunk-YGFDJWW6.js';
|
|
12
7
|
export { CheckboxContext } from '../../chunk-2EAZPH3M.js';
|
|
8
|
+
import '../../chunk-DHVVYSLB.js';
|
|
9
|
+
import '../../chunk-5MVIPFJG.js';
|
|
10
|
+
import '../../chunk-HZKFQ33E.js';
|
|
11
|
+
import '../../chunk-X3G7OJKA.js';
|
|
12
|
+
import '../../chunk-ZWU6DRRZ.js';
|
|
13
|
+
import '../../chunk-EJGX57JX.js';
|
|
14
|
+
import '../../chunk-FAE27DLF.js';
|
|
13
15
|
import '../../chunk-DBIN32YS.js';
|
|
14
|
-
import '../../chunk-
|
|
16
|
+
import '../../chunk-ZTSBOPRT.js';
|
|
15
17
|
import '../../chunk-TXZ6BMFR.js';
|
|
16
|
-
import '../../chunk-
|
|
18
|
+
import '../../chunk-NEVRDLRS.js';
|
|
17
19
|
import '../../chunk-QCA3ZR56.js';
|
|
18
20
|
import '../../chunk-TFVDF4YH.js';
|
|
19
|
-
import '../../chunk-
|
|
20
|
-
import '../../chunk-
|
|
21
|
-
import '../../chunk-
|
|
21
|
+
import '../../chunk-RTABBR2E.js';
|
|
22
|
+
import '../../chunk-Q7NXUUB3.js';
|
|
23
|
+
import '../../chunk-MI3FZZRE.js';
|
|
22
24
|
import '../../chunk-WPNVVGFW.js';
|
|
23
|
-
import '../../chunk-
|
|
25
|
+
import '../../chunk-MM727X5U.js';
|
|
24
26
|
import '../../chunk-X6SER3TZ.js';
|
|
25
27
|
import '../../chunk-HXI3MEEK.js';
|
|
26
28
|
import '../../chunk-NH3IVMXB.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SwitchContext } from './chunk-YHBJAXUY.js';
|
|
2
2
|
import { SwitchFieldContext } from './chunk-H7VJS4MX.js';
|
|
3
|
-
import { _Text } from './chunk-
|
|
3
|
+
import { _Text } from './chunk-MM727X5U.js';
|
|
4
4
|
import { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
5
5
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
6
6
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
@@ -13,7 +13,7 @@ import { useContextProps, composeRenderProps } from 'react-aria-components';
|
|
|
13
13
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
14
14
|
|
|
15
15
|
// css-module:./SwitchField.module.css#css-module
|
|
16
|
-
var SwitchField_module_default = { "hop-SwitchField": "SwitchField-module__hop-
|
|
16
|
+
var SwitchField_module_default = { "hop-SwitchField": "SwitchField-module__hop-SwitchField___mnbqO", "hop-SwitchField--sm": "SwitchField-module__hop-SwitchField--sm___k6DMy", "hop-SwitchField--md": "SwitchField-module__hop-SwitchField--md___lXSm2", "hop-SwitchField__description": "SwitchField-module__hop-SwitchField__description___At8fQ", "hop-SwitchField__switch": "SwitchField-module__hop-SwitchField__switch___YHUZ0" };
|
|
17
17
|
var GlobalSwitchFieldCssSelector = "hop-SwitchField";
|
|
18
18
|
var SwitchToDescriptionSizeAdapter = {
|
|
19
19
|
sm: "xs",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { LinkContext } from './chunk-4VVNSXIB.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 { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
6
6
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
@@ -12,7 +12,7 @@ import { useContextProps, composeRenderProps, DEFAULT_SLOT, Link as Link$1 } fro
|
|
|
12
12
|
import { jsx } from 'react/jsx-runtime';
|
|
13
13
|
|
|
14
14
|
// css-module:./Link.module.css#css-module
|
|
15
|
-
var Link_module_default = { "hop-Link": "Link-module__hop-
|
|
15
|
+
var Link_module_default = { "hop-Link": "Link-module__hop-Link___T-h6-", "hop-Link--quiet": "Link-module__hop-Link--quiet___ZXgx1", "hop-Link--primary": "Link-module__hop-Link--primary___wEvDO", "hop-Link--secondary": "Link-module__hop-Link--secondary___GWtNa", "hop-Link__icon": "Link-module__hop-Link__icon___Ezdkp", "hop-Link__icon-list": "Link-module__hop-Link__icon-list___wjqa-", "hop-Link__text": "Link-module__hop-Link__text___1OL2p", "hop-Link__start-icon": "Link-module__hop-Link__start-icon___cTvd-", "hop-Link__start-icon-list": "Link-module__hop-Link__start-icon-list___Y4VyG" };
|
|
16
16
|
var GlobalLinkCssSelector = "hop-Link";
|
|
17
17
|
var LinkToIconSizeAdapter = {
|
|
18
18
|
inherit: void 0,
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import { _Popover } from './chunk-
|
|
1
|
+
import { _Popover } from './chunk-ZUSVLWHC.js';
|
|
2
2
|
import { _Footer } from './chunk-VOZN65OL.js';
|
|
3
|
-
import { _ListBox } from './chunk-
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
3
|
+
import { _ListBox } from './chunk-TP3LLTP7.js';
|
|
4
|
+
import { _HelperMessage } from './chunk-5MVIPFJG.js';
|
|
5
|
+
import { ensureTextWrapper } from './chunk-X3G7OJKA.js';
|
|
6
|
+
import { _ErrorMessage } from './chunk-EJGX57JX.js';
|
|
7
|
+
import { _ToggleArrow } from './chunk-XJPH3TL7.js';
|
|
8
|
+
import { _Label } from './chunk-NEVRDLRS.js';
|
|
9
|
+
import { useFormProps } from './chunk-RTABBR2E.js';
|
|
8
10
|
import { BadgeContext } from './chunk-CQDLZ42T.js';
|
|
9
11
|
import { ComboBoxContext } from './chunk-4XHTP4GX.js';
|
|
10
12
|
import { TextContext as TextContext$1 } from './chunk-X6SER3TZ.js';
|
|
@@ -12,7 +14,7 @@ import { ClearProviders, ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
|
12
14
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
13
15
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
14
16
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
15
|
-
import { IconContext
|
|
17
|
+
import { IconContext } from '@hopper-ui/icons';
|
|
16
18
|
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
17
19
|
import { useObjectRef, mergeRefs, useResizeObserver } from '@react-aria/utils';
|
|
18
20
|
import { forwardRef, useRef, useState, useCallback } from 'react';
|
|
@@ -20,7 +22,7 @@ import { useContextProps, useSlottedContext, InputContext, composeRenderProps, T
|
|
|
20
22
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
21
23
|
|
|
22
24
|
// css-module:./ComboBox.module.css#css-module
|
|
23
|
-
var ComboBox_module_default = { "hop-ComboBox": "ComboBox-module__hop-
|
|
25
|
+
var ComboBox_module_default = { "hop-ComboBox": "ComboBox-module__hop-ComboBox___AKDEt", "hop-ComboBox--fluid": "ComboBox-module__hop-ComboBox--fluid___BmR9n", "hop-ComboBox__label": "ComboBox-module__hop-ComboBox__label___pjJQI", "hop-ComboBox__trigger": "ComboBox-module__hop-ComboBox__trigger___u02GY", "hop-ComboBox__trigger--sm": "ComboBox-module__hop-ComboBox__trigger--sm___P4Pqu", "hop-ComboBox__trigger--md": "ComboBox-module__hop-ComboBox__trigger--md___FsKTM", "hop-ComboBox__input": "ComboBox-module__hop-ComboBox__input___JK-eK", "hop-ComboBox__button": "ComboBox-module__hop-ComboBox__button___azazS", "hop-ComboBox__prefix": "ComboBox-module__hop-ComboBox__prefix___cZ67H", "hop-ComboBox__button-icon": "ComboBox-module__hop-ComboBox__button-icon___kyy8-", "hop-ComboBox__helper-message": "ComboBox-module__hop-ComboBox__helper-message___ej1ng", "hop-ComboBox__error-message": "ComboBox-module__hop-ComboBox__error-message___wM56e" };
|
|
24
26
|
var GlobalComboBoxCssSelector = "hop-ComboBox";
|
|
25
27
|
function ComboBox(props, ref) {
|
|
26
28
|
var _a, _b, _c, _d, _e;
|
|
@@ -29,6 +31,7 @@ function ComboBox(props, ref) {
|
|
|
29
31
|
...propsWithoutRef
|
|
30
32
|
} = props;
|
|
31
33
|
[props, ref] = useContextProps(propsWithoutRef, ref, ComboBoxContext);
|
|
34
|
+
props = useFormProps(props);
|
|
32
35
|
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
33
36
|
const {
|
|
34
37
|
align: alignProp,
|
|
@@ -185,7 +188,6 @@ function ComboBox(props, ref) {
|
|
|
185
188
|
...otherProps,
|
|
186
189
|
children: (comboBoxRenderProps) => {
|
|
187
190
|
const { isOpen } = comboBoxRenderProps;
|
|
188
|
-
const ButtonIcon = isOpen ? AngleUpIcon : AngleDownIcon;
|
|
189
191
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
190
192
|
label && /* @__PURE__ */ jsx(
|
|
191
193
|
_Label,
|
|
@@ -253,7 +255,13 @@ function ComboBox(props, ref) {
|
|
|
253
255
|
placeholder
|
|
254
256
|
}
|
|
255
257
|
),
|
|
256
|
-
/* @__PURE__ */ jsx(Button, { className: buttonClassNames, ref: buttonRef, children: /* @__PURE__ */ jsx(
|
|
258
|
+
/* @__PURE__ */ jsx(Button, { className: buttonClassNames, ref: buttonRef, children: /* @__PURE__ */ jsx(
|
|
259
|
+
_ToggleArrow,
|
|
260
|
+
{
|
|
261
|
+
className: ComboBox_module_default["hop-ComboBox__button-icon"],
|
|
262
|
+
isExpanded: isOpen
|
|
263
|
+
}
|
|
264
|
+
) })
|
|
257
265
|
]
|
|
258
266
|
}
|
|
259
267
|
),
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { _InputGroup } from './chunk-7TNFRZPO.js';
|
|
2
|
-
import { _EmbeddedButton } from './chunk-PSIGABQ5.js';
|
|
3
1
|
import { PasswordFieldContext } from './chunk-QW45G6K4.js';
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
2
|
+
import { _InputGroup } from './chunk-M4HNTQU7.js';
|
|
3
|
+
import { _EmbeddedButton } from './chunk-QZTLUJBL.js';
|
|
4
|
+
import { _HelperMessage } from './chunk-5MVIPFJG.js';
|
|
5
|
+
import { _ErrorMessage } from './chunk-EJGX57JX.js';
|
|
6
|
+
import { _Label } from './chunk-NEVRDLRS.js';
|
|
6
7
|
import { useLocalizedString } from './chunk-TFVDF4YH.js';
|
|
7
|
-
import {
|
|
8
|
+
import { useFormProps } from './chunk-RTABBR2E.js';
|
|
8
9
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
9
10
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
10
11
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
@@ -18,7 +19,7 @@ import { useContextProps, composeRenderProps, Input, TextField } from 'react-ari
|
|
|
18
19
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
19
20
|
|
|
20
21
|
// css-module:./PasswordField.module.css#css-module
|
|
21
|
-
var PasswordField_module_default = { "hop-PasswordField": "PasswordField-module__hop-
|
|
22
|
+
var PasswordField_module_default = { "hop-PasswordField": "PasswordField-module__hop-PasswordField___912b5", "hop-PasswordField--fluid": "PasswordField-module__hop-PasswordField--fluid___znUlX", "hop-PasswordField__Label": "PasswordField-module__hop-PasswordField__Label___7lzpM", "hop-PasswordField__InputGroup": "PasswordField-module__hop-PasswordField__InputGroup___LcSH3", "hop-PasswordField__ErrorMessage": "PasswordField-module__hop-PasswordField__ErrorMessage___gZole", "hop-PasswordField__HelperMessage": "PasswordField-module__hop-PasswordField__HelperMessage___q-Fsc" };
|
|
22
23
|
var GlobalPasswordFieldCssSelector = "hop-PasswordField";
|
|
23
24
|
function PasswordField(props, ref) {
|
|
24
25
|
var _a;
|
|
@@ -27,6 +28,7 @@ function PasswordField(props, ref) {
|
|
|
27
28
|
...propsWithoutRef
|
|
28
29
|
} = props;
|
|
29
30
|
[props, ref] = useContextProps(propsWithoutRef, ref, PasswordFieldContext);
|
|
31
|
+
props = useFormProps(props);
|
|
30
32
|
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
31
33
|
const [showPassword, setShowPassword] = useState(false);
|
|
32
34
|
const stringFormatter = useLocalizedString();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HelperMessageContext } from './chunk-HZKFQ33E.js';
|
|
2
|
-
import { _Text } from './chunk-
|
|
2
|
+
import { _Text } from './chunk-MM727X5U.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___Gx5gv", "hop-HelperMessage__icon": "HelperMessage-module__hop-HelperMessage__icon___A2U5C" };
|
|
13
13
|
var GlobalHelperMessageCssSelector = "hop-HelperMessage";
|
|
14
14
|
function HelperMessage(props, ref) {
|
|
15
15
|
const validation = useContext(FieldErrorContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { ensureTextWrapper } from './chunk-R5756BNI.js';
|
|
2
|
-
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
3
1
|
import { CheckboxContext } from './chunk-2EAZPH3M.js';
|
|
2
|
+
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
3
|
+
import { ensureTextWrapper } from './chunk-X3G7OJKA.js';
|
|
4
|
+
import { useFormProps } from './chunk-RTABBR2E.js';
|
|
4
5
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
5
6
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
6
7
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
@@ -13,11 +14,12 @@ import { useContextProps, composeRenderProps, Checkbox as Checkbox$1 } from 'rea
|
|
|
13
14
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
14
15
|
|
|
15
16
|
// css-module:./Checkbox.module.css#css-module
|
|
16
|
-
var Checkbox_module_default = { "hop-Checkbox": "Checkbox-module__hop-
|
|
17
|
+
var Checkbox_module_default = { "hop-Checkbox": "Checkbox-module__hop-Checkbox___fJ0hw", "hop-Checkbox--sm": "Checkbox-module__hop-Checkbox--sm___C3RYR", "hop-Checkbox--md": "Checkbox-module__hop-Checkbox--md___7jr7u", "hop-Checkbox__icon": "Checkbox-module__hop-Checkbox__icon___CorNP", "hop-Checkbox__icon-list": "Checkbox-module__hop-Checkbox__icon-list___WFFaF", "hop-Checkbox__box": "Checkbox-module__hop-Checkbox__box___Tpq92", "hop-Checkbox__check": "Checkbox-module__hop-Checkbox__check___bDkze", "hop-Checkbox__text": "Checkbox-module__hop-Checkbox__text___NlwJN" };
|
|
17
18
|
var GlobalCheckboxCssSelector = "hop-Checkbox";
|
|
18
19
|
function Checkbox(props, ref) {
|
|
19
20
|
var _a;
|
|
20
21
|
[props, ref] = useContextProps(props, ref, CheckboxContext);
|
|
22
|
+
props = useFormProps(props);
|
|
21
23
|
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
22
24
|
const {
|
|
23
25
|
className,
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { RadioFieldContext } from './chunk-DGLAGYBD.js';
|
|
2
1
|
import { RadioGroupContext } from './chunk-5MBJWRZD.js';
|
|
2
|
+
import { RadioFieldContext } from './chunk-DGLAGYBD.js';
|
|
3
3
|
import { RadioContext } from './chunk-FU5CCPLP.js';
|
|
4
|
-
import { _HelperMessage } from './chunk-
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
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 { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
8
9
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
9
10
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
@@ -14,11 +15,12 @@ import { useContextProps, composeRenderProps, RadioGroup as RadioGroup$1 } from
|
|
|
14
15
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
15
16
|
|
|
16
17
|
// css-module:./RadioGroup.module.css#css-module
|
|
17
|
-
var RadioGroup_module_default = { "hop-RadioGroup": "RadioGroup-module__hop-
|
|
18
|
+
var RadioGroup_module_default = { "hop-RadioGroup": "RadioGroup-module__hop-RadioGroup___1NPQZ", "hop-RadioGroup--bordered": "RadioGroup-module__hop-RadioGroup--bordered___O04rj", "hop-RadioGroup--sm": "RadioGroup-module__hop-RadioGroup--sm___AccI8", "hop-RadioGroup--md": "RadioGroup-module__hop-RadioGroup--md___t46BC", "hop-RadioGroup__label": "RadioGroup-module__hop-RadioGroup__label___cWiik", "hop-RadioGroup__list": "RadioGroup-module__hop-RadioGroup__list___AyUy9", "hop-RadioGroup__radio": "RadioGroup-module__hop-RadioGroup__radio___GPDnQ", "hop-RadioGroup__error-message": "RadioGroup-module__hop-RadioGroup__error-message___FSkSN", "hop-RadioGroup__helper-message": "RadioGroup-module__hop-RadioGroup__helper-message___ueeau" };
|
|
18
19
|
var GlobalRadioGroupCssSelector = "hop-RadioGroup";
|
|
19
20
|
function RadioGroup(props, ref) {
|
|
20
21
|
var _a, _b, _c;
|
|
21
22
|
[props, ref] = useContextProps(props, ref, RadioGroupContext);
|
|
23
|
+
props = useFormProps(props);
|
|
22
24
|
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
23
25
|
const { stylingProps: listStylingProps, ...listProps } = useStyledSystem((_a = ownProps.listProps) != null ? _a : {});
|
|
24
26
|
const {
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { DisclosurePanelContext } from './chunk-7CJXILRD.js';
|
|
2
|
+
import { DisclosureContext } from './chunk-MUAXK42C.js';
|
|
3
|
+
import { DisclosureHeaderContext } from './chunk-GFRTCF4B.js';
|
|
4
|
+
import { ToggleArrowContext } from './chunk-J6WBI2I2.js';
|
|
5
|
+
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
6
|
+
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
7
|
+
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
8
|
+
import { useStyledSystem } from '@hopper-ui/styled-system';
|
|
9
|
+
import { forwardRef } from 'react';
|
|
10
|
+
import { useContextProps, composeRenderProps, Disclosure as Disclosure$1 } from 'react-aria-components';
|
|
11
|
+
import { jsx } from 'react/jsx-runtime';
|
|
12
|
+
|
|
13
|
+
// css-module:./Disclosure.module.css#css-module
|
|
14
|
+
var Disclosure_module_default = { "hop-Disclosure": "Disclosure-module__hop-Disclosure___xCpQ7", "hop-Disclosure__header": "Disclosure-module__hop-Disclosure__header___PTwfY", "hop-Disclosure--inline": "Disclosure-module__hop-Disclosure--inline___5P5N6", "hop-Disclosure__panel": "Disclosure-module__hop-Disclosure__panel___KGD3s" };
|
|
15
|
+
var GlobalDisclosureCssSelector = "hop-Disclosure";
|
|
16
|
+
function Disclosure(props, ref) {
|
|
17
|
+
[props, ref] = useContextProps(props, ref, DisclosureContext);
|
|
18
|
+
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
19
|
+
const {
|
|
20
|
+
className,
|
|
21
|
+
children: childrenProp,
|
|
22
|
+
style: styleProp,
|
|
23
|
+
variant = "standalone",
|
|
24
|
+
...otherProps
|
|
25
|
+
} = ownProps;
|
|
26
|
+
const classNames = composeClassnameRenderProps(
|
|
27
|
+
className,
|
|
28
|
+
GlobalDisclosureCssSelector,
|
|
29
|
+
cssModule(
|
|
30
|
+
Disclosure_module_default,
|
|
31
|
+
"hop-Disclosure",
|
|
32
|
+
variant
|
|
33
|
+
),
|
|
34
|
+
stylingProps.className
|
|
35
|
+
);
|
|
36
|
+
const style = composeRenderProps(styleProp, (prev) => {
|
|
37
|
+
return {
|
|
38
|
+
...stylingProps.style,
|
|
39
|
+
...prev
|
|
40
|
+
};
|
|
41
|
+
});
|
|
42
|
+
const children = composeRenderProps(childrenProp, (prev) => {
|
|
43
|
+
return prev;
|
|
44
|
+
});
|
|
45
|
+
return /* @__PURE__ */ jsx(
|
|
46
|
+
Disclosure$1,
|
|
47
|
+
{
|
|
48
|
+
ref,
|
|
49
|
+
className: classNames,
|
|
50
|
+
style,
|
|
51
|
+
...otherProps,
|
|
52
|
+
children: (disclosureRenderProps) => /* @__PURE__ */ jsx(
|
|
53
|
+
SlotProvider,
|
|
54
|
+
{
|
|
55
|
+
values: [
|
|
56
|
+
[DisclosureContext, {
|
|
57
|
+
isDisabled: disclosureRenderProps.isDisabled,
|
|
58
|
+
variant
|
|
59
|
+
}],
|
|
60
|
+
[DisclosureHeaderContext, {
|
|
61
|
+
className: Disclosure_module_default["hop-Disclosure__header"]
|
|
62
|
+
}],
|
|
63
|
+
[DisclosurePanelContext, {
|
|
64
|
+
className: Disclosure_module_default["hop-Disclosure__panel"]
|
|
65
|
+
}],
|
|
66
|
+
[ToggleArrowContext, {
|
|
67
|
+
isExpanded: disclosureRenderProps.isExpanded
|
|
68
|
+
}]
|
|
69
|
+
],
|
|
70
|
+
children: children(disclosureRenderProps)
|
|
71
|
+
}
|
|
72
|
+
)
|
|
73
|
+
}
|
|
74
|
+
);
|
|
75
|
+
}
|
|
76
|
+
var _Disclosure = forwardRef(Disclosure);
|
|
77
|
+
_Disclosure.displayName = "Disclosure";
|
|
78
|
+
|
|
79
|
+
export { GlobalDisclosureCssSelector, _Disclosure };
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { TagContext } from './chunk-EWMWQ2MC.js';
|
|
2
1
|
import { TagGroupContext } from './chunk-LCAS3YQV.js';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { _ErrorMessage } from './chunk-
|
|
2
|
+
import { TagContext } from './chunk-EWMWQ2MC.js';
|
|
3
|
+
import { _HelperMessage } from './chunk-5MVIPFJG.js';
|
|
4
|
+
import { _ErrorMessage } from './chunk-EJGX57JX.js';
|
|
5
|
+
import { _Label } from './chunk-NEVRDLRS.js';
|
|
6
|
+
import { useFormProps } from './chunk-RTABBR2E.js';
|
|
6
7
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
7
8
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
8
9
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
@@ -13,11 +14,12 @@ import { useContextProps, composeRenderProps, FieldErrorContext, TagGroup as Tag
|
|
|
13
14
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
14
15
|
|
|
15
16
|
// css-module:./TagGroup.module.css#css-module
|
|
16
|
-
var TagGroup_module_default = { "hop-TagGroup": "TagGroup-module__hop-
|
|
17
|
+
var TagGroup_module_default = { "hop-TagGroup": "TagGroup-module__hop-TagGroup___Zj6ZW", "hop-TagGroup__label": "TagGroup-module__hop-TagGroup__label___oCIWY", "hop-TagGroup__list": "TagGroup-module__hop-TagGroup__list___2A-ho", "hop-TagGroup__error-message": "TagGroup-module__hop-TagGroup__error-message___Pk6aF", "hop-TagGroup__helper-message": "TagGroup-module__hop-TagGroup__helper-message___jpLRp" };
|
|
17
18
|
var GlobalTagGroupCssSelector = "hop-TagGroup";
|
|
18
19
|
function TagGroup(props, ref) {
|
|
19
20
|
var _a;
|
|
20
21
|
[props, ref] = useContextProps(props, ref, TagGroupContext);
|
|
22
|
+
props = useFormProps(props);
|
|
21
23
|
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
22
24
|
const {
|
|
23
25
|
className,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _OverlineText } from './chunk-
|
|
1
|
+
import { _OverlineText } from './chunk-MI3FZZRE.js';
|
|
2
2
|
import { BadgeContext } from './chunk-CQDLZ42T.js';
|
|
3
3
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
4
4
|
import { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
@@ -23,7 +23,7 @@ function mapOrbiterToHopperVariants(variant) {
|
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
// css-module:./Badge.module.css#css-module
|
|
26
|
-
var Badge_module_default = { "hop-Badge": "Badge-module__hop-
|
|
26
|
+
var Badge_module_default = { "hop-Badge": "Badge-module__hop-Badge___wrGLz", "hop-Badge--primary": "Badge-module__hop-Badge--primary___HBtBu", "hop-Badge--secondary": "Badge-module__hop-Badge--secondary___VVOyJ", "hop-Badge--subdued": "Badge-module__hop-Badge--subdued___03nDA" };
|
|
27
27
|
var GlobalBadgeCssSelector = "hop-Badge";
|
|
28
28
|
function Badge(props, ref) {
|
|
29
29
|
[props, ref] = useContextProps(props, ref, BadgeContext);
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ListBoxSectionContext } from './chunk-RLDIAT4F.js';
|
|
2
2
|
import { useStyledSystem } from '@hopper-ui/styled-system';
|
|
3
3
|
import clsx from 'clsx';
|
|
4
4
|
import { forwardRef } from 'react';
|
|
5
|
-
import { useContextProps,
|
|
5
|
+
import { useContextProps, ListBoxSection as ListBoxSection$1 } from 'react-aria-components';
|
|
6
6
|
import { jsx } from 'react/jsx-runtime';
|
|
7
7
|
|
|
8
|
-
var GlobalSectionCssSelector = "hop-
|
|
9
|
-
function
|
|
10
|
-
[props, ref] = useContextProps(props, ref,
|
|
8
|
+
var GlobalSectionCssSelector = "hop-ListBoxSection";
|
|
9
|
+
function ListBoxSection(props, ref) {
|
|
10
|
+
[props, ref] = useContextProps(props, ref, ListBoxSectionContext);
|
|
11
11
|
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
12
12
|
const {
|
|
13
13
|
className,
|
|
@@ -25,7 +25,7 @@ function Section(props, ref) {
|
|
|
25
25
|
...style
|
|
26
26
|
};
|
|
27
27
|
return /* @__PURE__ */ jsx(
|
|
28
|
-
|
|
28
|
+
ListBoxSection$1,
|
|
29
29
|
{
|
|
30
30
|
ref,
|
|
31
31
|
className: classNames,
|
|
@@ -35,7 +35,7 @@ function Section(props, ref) {
|
|
|
35
35
|
}
|
|
36
36
|
);
|
|
37
37
|
}
|
|
38
|
-
var
|
|
39
|
-
|
|
38
|
+
var _ListBoxSection = forwardRef(ListBoxSection);
|
|
39
|
+
_ListBoxSection.displayName = "ListBoxSection";
|
|
40
40
|
|
|
41
|
-
export { GlobalSectionCssSelector,
|
|
41
|
+
export { GlobalSectionCssSelector, _ListBoxSection };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ErrorMessageContext } from './chunk-FAE27DLF.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 { 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___eMQZh", "hop-ErrorMessage__icon": "ErrorMessage-module__hop-ErrorMessage__icon___-iyKo" };
|
|
14
14
|
var GlobalErrorMessageCssSelector = "hop-ErrorMessage";
|
|
15
15
|
function ErrorMessage(props, ref) {
|
|
16
16
|
const validation = useContext(FieldErrorContext);
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { useScale } from './chunk-MTDFS4CZ.js';
|
|
2
|
-
import { _InputGroup } from './chunk-7TNFRZPO.js';
|
|
3
2
|
import { NumberFieldContext } from './chunk-ZQ3AWYRR.js';
|
|
4
|
-
import {
|
|
5
|
-
import { _HelperMessage } from './chunk-
|
|
6
|
-
import {
|
|
7
|
-
import { _ErrorMessage } from './chunk-
|
|
3
|
+
import { _InputGroup } from './chunk-M4HNTQU7.js';
|
|
4
|
+
import { _HelperMessage } from './chunk-5MVIPFJG.js';
|
|
5
|
+
import { ensureTextWrapper } from './chunk-X3G7OJKA.js';
|
|
6
|
+
import { _ErrorMessage } from './chunk-EJGX57JX.js';
|
|
7
|
+
import { _Label } from './chunk-NEVRDLRS.js';
|
|
8
|
+
import { useFormProps } from './chunk-RTABBR2E.js';
|
|
8
9
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
9
10
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
10
11
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
@@ -21,7 +22,7 @@ import { useContextProps, composeRenderProps, Input, NumberField as NumberField$
|
|
|
21
22
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
22
23
|
|
|
23
24
|
// css-module:./NumberField.module.css#css-module
|
|
24
|
-
var NumberField_module_default = { "hop-NumberField": "NumberField-module__hop-
|
|
25
|
+
var NumberField_module_default = { "hop-NumberField": "NumberField-module__hop-NumberField___hSsxT", "hop-NumberField--fluid": "NumberField-module__hop-NumberField--fluid___GFBV8", "hop-NumberField--mobile": "NumberField-module__hop-NumberField--mobile___ArQXO", "hop-NumberField__Label": "NumberField-module__hop-NumberField__Label___uIBXd", "hop-NumberField__prefix": "NumberField-module__hop-NumberField__prefix___tgtba", "hop-NumberField__InputGroup": "NumberField-module__hop-NumberField__InputGroup___TvSpd", "hop-NumberField__ErrorMessage": "NumberField-module__hop-NumberField__ErrorMessage___NnOQu", "hop-NumberField__HelperMessage": "NumberField-module__hop-NumberField__HelperMessage___l14gj", "hop-NumberField__stepper-button": "NumberField-module__hop-NumberField__stepper-button___ixKMN", "hop-NumberField__stepper-button--increment": "NumberField-module__hop-NumberField__stepper-button--increment___Mo-VG", "hop-NumberField__stepper-button--decrement": "NumberField-module__hop-NumberField__stepper-button--decrement___RZogl", "hop-NumberField__stepper-button--mobile": "NumberField-module__hop-NumberField__stepper-button--mobile___t1Sjb", "hop-NumberField__stepper-button__icon": "NumberField-module__hop-NumberField__stepper-button__icon___GqWyR", "hop-NumberField__input": "NumberField-module__hop-NumberField__input___VEMTb" };
|
|
25
26
|
var GlobalNumberFieldCssSelector = "hop-NumberField";
|
|
26
27
|
var StepperButton = ({ direction }) => {
|
|
27
28
|
const scale = useScale();
|
|
@@ -58,6 +59,7 @@ function NumberField(props, ref) {
|
|
|
58
59
|
...propsWithoutRef
|
|
59
60
|
} = props;
|
|
60
61
|
[props, ref] = useContextProps(propsWithoutRef, ref, NumberFieldContext);
|
|
62
|
+
props = useFormProps(props);
|
|
61
63
|
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
62
64
|
const {
|
|
63
65
|
className,
|
|
@@ -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___XVrt5", "hop-FloatingBadge__badge": "FloatingBadge-module__hop-FloatingBadge__badge___xkC6I" };
|
|
14
14
|
var GlobalFloatingBadgeCssSelector = "hop-FloatingBadge";
|
|
15
15
|
function FloatingBadge(props, ref) {
|
|
16
16
|
[props, ref] = useContextProps(props, ref, FloatingBadgeContext);
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import { DisclosureContext } from './chunk-MUAXK42C.js';
|
|
2
|
+
import { DisclosureHeaderContext } from './chunk-GFRTCF4B.js';
|
|
3
|
+
import { _ToggleArrow } from './chunk-XJPH3TL7.js';
|
|
4
|
+
import { _Heading } from './chunk-ZTSBOPRT.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 { IconContext } from '@hopper-ui/icons';
|
|
10
|
+
import { useStyledSystem } from '@hopper-ui/styled-system';
|
|
11
|
+
import clsx from 'clsx';
|
|
12
|
+
import { forwardRef, useContext } from 'react';
|
|
13
|
+
import { useContextProps, DisclosureStateContext, useSlottedContext, composeRenderProps, Button, DEFAULT_SLOT } from 'react-aria-components';
|
|
14
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
15
|
+
|
|
16
|
+
// css-module:./DisclosureHeader.module.css#css-module
|
|
17
|
+
var DisclosureHeader_module_default = { "hop-DisclosureHeader": "DisclosureHeader-module__hop-DisclosureHeader___6dacL", "hop-DisclosureHeader__button": "DisclosureHeader-module__hop-DisclosureHeader__button___yefS-", "hop-DisclosureHeader__button--inline": "DisclosureHeader-module__hop-DisclosureHeader__button--inline___aie95", "hop-DisclosureHeader__icon": "DisclosureHeader-module__hop-DisclosureHeader__icon___PKvHT", "hop-DisclosureHeader__title": "DisclosureHeader-module__hop-DisclosureHeader__title___Nqvyi", "hop-DisclosureHeader__toggle-arrow": "DisclosureHeader-module__hop-DisclosureHeader__toggle-arrow___noLeO" };
|
|
18
|
+
var GlobalDisclosureHeaderCssSelector = "hop-DisclosureHeader";
|
|
19
|
+
function DisclosureHeader(props, ref) {
|
|
20
|
+
[props, ref] = useContextProps(props, ref, DisclosureHeaderContext);
|
|
21
|
+
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
22
|
+
const {
|
|
23
|
+
buttonProps,
|
|
24
|
+
className,
|
|
25
|
+
children,
|
|
26
|
+
level = 3,
|
|
27
|
+
size = "xs",
|
|
28
|
+
style: styleProp,
|
|
29
|
+
...otherProps
|
|
30
|
+
} = ownProps;
|
|
31
|
+
const { isExpanded } = useContext(DisclosureStateContext);
|
|
32
|
+
const { variant } = useSlottedContext(DisclosureContext);
|
|
33
|
+
const classNames = clsx(
|
|
34
|
+
GlobalDisclosureHeaderCssSelector,
|
|
35
|
+
cssModule(
|
|
36
|
+
DisclosureHeader_module_default,
|
|
37
|
+
"hop-DisclosureHeader"
|
|
38
|
+
),
|
|
39
|
+
stylingProps.className,
|
|
40
|
+
className
|
|
41
|
+
);
|
|
42
|
+
const style = {
|
|
43
|
+
...stylingProps.style,
|
|
44
|
+
...styleProp
|
|
45
|
+
};
|
|
46
|
+
const { stylingProps: buttonStylingProps, ...buttonOwnProps } = useStyledSystem(buttonProps != null ? buttonProps : {});
|
|
47
|
+
const {
|
|
48
|
+
className: buttonClassName,
|
|
49
|
+
style: buttonStyleProp,
|
|
50
|
+
...buttonOtherProps
|
|
51
|
+
} = buttonOwnProps;
|
|
52
|
+
const buttonClassNames = composeClassnameRenderProps(
|
|
53
|
+
buttonClassName,
|
|
54
|
+
cssModule(
|
|
55
|
+
DisclosureHeader_module_default,
|
|
56
|
+
"hop-DisclosureHeader__button",
|
|
57
|
+
variant
|
|
58
|
+
),
|
|
59
|
+
buttonStylingProps.className
|
|
60
|
+
);
|
|
61
|
+
const buttonStyle = composeRenderProps(buttonStyleProp, (prev) => {
|
|
62
|
+
return {
|
|
63
|
+
...buttonStylingProps.style,
|
|
64
|
+
...prev
|
|
65
|
+
};
|
|
66
|
+
});
|
|
67
|
+
return /* @__PURE__ */ jsx(
|
|
68
|
+
_Heading,
|
|
69
|
+
{
|
|
70
|
+
ref,
|
|
71
|
+
className: classNames,
|
|
72
|
+
style,
|
|
73
|
+
level,
|
|
74
|
+
size,
|
|
75
|
+
...otherProps,
|
|
76
|
+
children: /* @__PURE__ */ jsxs(
|
|
77
|
+
Button,
|
|
78
|
+
{
|
|
79
|
+
slot: "trigger",
|
|
80
|
+
className: buttonClassNames,
|
|
81
|
+
style: buttonStyle,
|
|
82
|
+
"data-expanded": isExpanded || void 0,
|
|
83
|
+
...buttonOtherProps,
|
|
84
|
+
children: [
|
|
85
|
+
/* @__PURE__ */ jsx(
|
|
86
|
+
SlotProvider,
|
|
87
|
+
{
|
|
88
|
+
values: [
|
|
89
|
+
[TextContext, {
|
|
90
|
+
slots: {
|
|
91
|
+
[DEFAULT_SLOT]: {
|
|
92
|
+
className: DisclosureHeader_module_default["hop-DisclosureHeader__title"],
|
|
93
|
+
size: "inherit"
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}],
|
|
97
|
+
[IconContext, {
|
|
98
|
+
slots: {
|
|
99
|
+
[DEFAULT_SLOT]: {
|
|
100
|
+
className: DisclosureHeader_module_default["hop-DisclosureHeader__icon"],
|
|
101
|
+
size: "md"
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}]
|
|
105
|
+
],
|
|
106
|
+
children
|
|
107
|
+
}
|
|
108
|
+
),
|
|
109
|
+
/* @__PURE__ */ jsx(
|
|
110
|
+
_ToggleArrow,
|
|
111
|
+
{
|
|
112
|
+
className: DisclosureHeader_module_default["hop-DisclosureHeader__toggle-arrow"]
|
|
113
|
+
}
|
|
114
|
+
)
|
|
115
|
+
]
|
|
116
|
+
}
|
|
117
|
+
)
|
|
118
|
+
}
|
|
119
|
+
);
|
|
120
|
+
}
|
|
121
|
+
var _DisclosureHeader = forwardRef(DisclosureHeader);
|
|
122
|
+
_DisclosureHeader.displayName = "DisclosureHeader";
|
|
123
|
+
|
|
124
|
+
export { GlobalDisclosureHeaderCssSelector, _DisclosureHeader };
|