@hopper-ui/components 1.3.32 → 1.3.34
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.js +28 -24
- package/dist/ComboBox/src/index.css +578 -570
- package/dist/ComboBox/src/index.js +28 -24
- 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 +15 -13
- 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 +15 -13
- package/dist/Section/src/Section.js +1 -1
- package/dist/Section/src/index.js +1 -1
- package/dist/Select/src/Select.css +582 -564
- package/dist/Select/src/Select.js +29 -25
- 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.js +29 -25
- 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/{tag/src/TagList.css → ToggleArrow/src/ToggleArrow.css} +44 -27
- 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-B2PZHGGT.js → chunk-2DFRNPSR.js} +2 -2
- package/dist/{chunk-PR6Q2XJD.js → chunk-333PGOMR.js} +18 -10
- package/dist/{chunk-SWQEWYNM.js → chunk-566DZ4RC.js} +1 -1
- package/dist/{chunk-2PIWQBQ7.js → chunk-5SMJSNMW.js} +2 -2
- package/dist/chunk-5ZXBTCX3.js +124 -0
- package/dist/{chunk-425TRLX5.js → chunk-6AMCBCFX.js} +2 -2
- package/dist/{chunk-7ITDXJPN.js → chunk-6L4MTZT4.js} +7 -5
- package/dist/{chunk-BAX352BZ.js → chunk-6NX5XSZH.js} +8 -2
- package/dist/{chunk-2ZAWI3VO.js → chunk-75I7LTO3.js} +1 -1
- package/dist/chunk-7CJXILRD.js +7 -0
- package/dist/{chunk-UOVCHVGX.js → chunk-7FQHEXNP.js} +7 -5
- package/dist/{chunk-7OZNJCXL.js → chunk-7FQXKGYA.js} +8 -6
- package/dist/{chunk-VYNPGUH2.js → chunk-7FV3FDFI.js} +1 -1
- package/dist/{chunk-F3GTLFKR.js → chunk-7H7A6BGG.js} +1 -1
- package/dist/{chunk-ZUL2DWRU.js → chunk-BFYJWYHU.js} +2 -2
- package/dist/{chunk-MY7R6ZMF.js → chunk-C2ON6QTY.js} +2 -2
- package/dist/{chunk-FXB7BBJB.js → chunk-CC5QQ4YM.js} +2 -2
- package/dist/{chunk-ZTS67CFU.js → chunk-CS2YF25E.js} +2 -2
- package/dist/{chunk-QDIICTRS.js → chunk-DVIAXHYK.js} +4 -2
- package/dist/{chunk-MOIFFJJ3.js → chunk-E6TOJ3QU.js} +1 -1
- package/dist/{chunk-WXP3P4KY.js → chunk-EABCCXRD.js} +4 -4
- package/dist/{chunk-X5SCISRD.js → chunk-EXO4OJ7Z.js} +2 -2
- package/dist/{chunk-Y75VH6OP.js → chunk-G7QY3NWV.js} +1 -1
- package/dist/chunk-GFRTCF4B.js +7 -0
- package/dist/{chunk-UJAYZEVR.js → chunk-GO5KCRGN.js} +2 -2
- package/dist/{chunk-UEZ6JMBX.js → chunk-GQJ7GNYQ.js} +1 -1
- package/dist/chunk-GUCWHJZX.js +79 -0
- package/dist/chunk-GVEPINW7.js +67 -0
- package/dist/{chunk-VYFGV7LF.js → chunk-GYJQJEJS.js} +5 -3
- package/dist/chunk-J6WBI2I2.js +7 -0
- package/dist/{chunk-OEMWDVBB.js → chunk-K22HKHG2.js} +3 -3
- package/dist/{chunk-HPEGBHAQ.js → chunk-K5WUDBPF.js} +1 -1
- package/dist/{chunk-OFYHUD3N.js → chunk-KFMYXZFT.js} +2 -2
- package/dist/{chunk-N7ORIARY.js → chunk-KFPJZFZS.js} +2 -2
- package/dist/{chunk-OAUTLKSG.js → chunk-L7ORX4VV.js} +9 -7
- package/dist/chunk-LHX75LVJ.js +50 -0
- package/dist/{chunk-77K422AK.js → chunk-LVCA23CC.js} +1 -1
- package/dist/chunk-MUAXK42C.js +7 -0
- package/dist/{chunk-WJ6YDFFC.js → chunk-NIERUDZ6.js} +1 -1
- package/dist/{chunk-MMCWVCOD.js → chunk-NR7UTMYX.js} +2 -2
- package/dist/{chunk-JHZLRSJY.js → chunk-NUV3PDGE.js} +1 -1
- package/dist/{chunk-5YGTZWHS.js → chunk-O5LFX4XZ.js} +1 -1
- package/dist/{chunk-U7NERCPG.js → chunk-OFQN5TXX.js} +8 -6
- package/dist/{chunk-6XSOF5IT.js → chunk-PUQ7RTX4.js} +5 -3
- package/dist/{chunk-EURJK4ZT.js → chunk-Q7NXUUB3.js} +1 -1
- package/dist/{chunk-NLZXVLBW.js → chunk-QTD66QJH.js} +2 -2
- package/dist/{chunk-5TE4QKZ2.js → chunk-R5343IYO.js} +2 -2
- package/dist/chunk-RAAORA53.js +123 -0
- package/dist/{chunk-JZV3EU5P.js → chunk-RBENLQVB.js} +8 -6
- package/dist/{chunk-4XMDZ5QF.js → chunk-SBSBVVKM.js} +1 -1
- package/dist/chunk-SH3CLZKH.js +68 -0
- package/dist/{chunk-SMNKMZIC.js → chunk-SNDPAUAL.js} +10 -8
- package/dist/{chunk-MCSPPEQN.js → chunk-T3PSAQEK.js} +1 -1
- package/dist/{chunk-PME32XAH.js → chunk-U5SHNMC3.js} +8 -6
- package/dist/{chunk-KXZYWFM3.js → chunk-UMCSSGCS.js} +6 -4
- package/dist/{chunk-7RTEFFZS.js → chunk-VHRMFZPJ.js} +5 -5
- package/dist/{chunk-UYXVO6TB.js → chunk-WILQEDLK.js} +3 -3
- package/dist/{chunk-XTY7LASB.js → chunk-WWXZNKBE.js} +3 -3
- package/dist/{chunk-YTKE4ERV.js → chunk-Z57BGAOZ.js} +19 -11
- package/dist/{chunk-XDJMIWOT.js → chunk-ZRT7MWIL.js} +6 -4
- package/dist/index.css +1244 -957
- package/dist/index.d.ts +8 -4
- package/dist/index.js +84 -78
- 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 +11 -9
- package/dist/overlays/Popover/src/index.css +548 -541
- package/dist/overlays/Popover/src/index.js +11 -9
- 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.d.ts +16 -10
- package/dist/tag/src/TagGroup.js +14 -4
- package/dist/tag/src/TagGroupContext.d.ts +2 -1
- package/dist/tag/src/index.css +407 -400
- package/dist/tag/src/index.d.ts +2 -3
- package/dist/tag/src/index.js +19 -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/chunk-52EKMM7G.js +0 -94
- package/dist/chunk-TPVDUGOO.js +0 -44
- package/dist/chunk-UYDOZLJW.js +0 -153
- package/dist/chunk-XLKYXKWE.js +0 -7
- package/dist/tag/src/TagList.d.ts +0 -15
- package/dist/tag/src/TagList.js +0 -4
- package/dist/tag/src/TagListContext.d.ts +0 -8
- package/dist/tag/src/TagListContext.js +0 -2
|
@@ -1,26 +1,28 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
1
|
+
export { _Checkbox as Checkbox, GlobalCheckboxCssSelector } from '../../chunk-GYJQJEJS.js';
|
|
2
|
+
export { _CheckboxField as CheckboxField, GlobalCheckboxFieldCssSelector } from '../../chunk-DVIAXHYK.js';
|
|
3
|
+
export { _CheckboxGroup as CheckboxGroup, GlobalCheckboxGroupCssSelector } from '../../chunk-UMCSSGCS.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-UYXVO6TB.js';
|
|
8
|
-
import '../../chunk-ZWU6DRRZ.js';
|
|
9
|
-
import '../../chunk-X5SCISRD.js';
|
|
10
|
-
import '../../chunk-HZKFQ33E.js';
|
|
11
|
-
import '../../chunk-DHVVYSLB.js';
|
|
6
|
+
export { _DecorativeCheckbox as DecorativeCheckbox, GlobalDecorativeCheckboxCssSelector } from '../../chunk-K22HKHG2.js';
|
|
12
7
|
export { CheckboxContext } from '../../chunk-2EAZPH3M.js';
|
|
8
|
+
import '../../chunk-DHVVYSLB.js';
|
|
9
|
+
import '../../chunk-EXO4OJ7Z.js';
|
|
10
|
+
import '../../chunk-HZKFQ33E.js';
|
|
11
|
+
import '../../chunk-WILQEDLK.js';
|
|
12
|
+
import '../../chunk-ZWU6DRRZ.js';
|
|
13
|
+
import '../../chunk-KFPJZFZS.js';
|
|
14
|
+
import '../../chunk-FAE27DLF.js';
|
|
13
15
|
import '../../chunk-DBIN32YS.js';
|
|
14
|
-
import '../../chunk-
|
|
16
|
+
import '../../chunk-K5WUDBPF.js';
|
|
15
17
|
import '../../chunk-TXZ6BMFR.js';
|
|
16
|
-
import '../../chunk-
|
|
18
|
+
import '../../chunk-6NX5XSZH.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-SH3CLZKH.js';
|
|
22
|
+
import '../../chunk-Q7NXUUB3.js';
|
|
23
|
+
import '../../chunk-NUV3PDGE.js';
|
|
22
24
|
import '../../chunk-WPNVVGFW.js';
|
|
23
|
-
import '../../chunk-
|
|
25
|
+
import '../../chunk-75I7LTO3.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
|
-
import { ensureTextWrapper } from './chunk-UYXVO6TB.js';
|
|
3
2
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
3
|
+
import { ensureTextWrapper } from './chunk-WILQEDLK.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___EiW97", "hop-Switch--sm": "Switch-module__hop-Switch--sm___M7qZE", "hop-Switch--md": "Switch-module__hop-Switch--md___gZedf", "hop-Switch__indicator": "Switch-module__hop-Switch__indicator___TFun4", "hop-Switch__text": "Switch-module__hop-Switch__text___7Bdx3", "hop-Switch__icon-list": "Switch-module__hop-Switch__icon-list___nBg0l", "hop-Switch__icon": "Switch-module__hop-Switch__icon___9C-Id" };
|
|
17
17
|
var GlobalSwitchCssSelector = "hop-Switch";
|
|
18
18
|
function Switch(props, ref) {
|
|
19
19
|
var _a;
|
|
@@ -1,18 +1,20 @@
|
|
|
1
|
-
import { _Popover } from './chunk-
|
|
1
|
+
import { _Popover } from './chunk-VHRMFZPJ.js';
|
|
2
2
|
import { _Footer } from './chunk-VOZN65OL.js';
|
|
3
|
-
import { _ListBox } from './chunk-
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
3
|
+
import { _ListBox } from './chunk-EABCCXRD.js';
|
|
4
|
+
import { _HelperMessage } from './chunk-EXO4OJ7Z.js';
|
|
5
|
+
import { ensureTextWrapper } from './chunk-WILQEDLK.js';
|
|
6
|
+
import { _ErrorMessage } from './chunk-KFPJZFZS.js';
|
|
7
7
|
import { ComboBoxContext } from './chunk-4XHTP4GX.js';
|
|
8
|
-
import {
|
|
8
|
+
import { _ToggleArrow } from './chunk-LHX75LVJ.js';
|
|
9
|
+
import { _Label } from './chunk-6NX5XSZH.js';
|
|
10
|
+
import { useFormProps } from './chunk-SH3CLZKH.js';
|
|
9
11
|
import { BadgeContext } from './chunk-CQDLZ42T.js';
|
|
10
12
|
import { TextContext as TextContext$1 } from './chunk-X6SER3TZ.js';
|
|
11
13
|
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___G0jme", "hop-ComboBox--fluid": "ComboBox-module__hop-ComboBox--fluid___JW6UO", "hop-ComboBox__label": "ComboBox-module__hop-ComboBox__label___-mswA", "hop-ComboBox__trigger": "ComboBox-module__hop-ComboBox__trigger___mrtHx", "hop-ComboBox__trigger--sm": "ComboBox-module__hop-ComboBox__trigger--sm___FuK81", "hop-ComboBox__trigger--md": "ComboBox-module__hop-ComboBox__trigger--md___uhTg9", "hop-ComboBox__input": "ComboBox-module__hop-ComboBox__input___aJeR-", "hop-ComboBox__button": "ComboBox-module__hop-ComboBox__button___4itcB", "hop-ComboBox__prefix": "ComboBox-module__hop-ComboBox__prefix___32Pl0", "hop-ComboBox__button-icon": "ComboBox-module__hop-ComboBox__button-icon___KXj6R", "hop-ComboBox__helper-message": "ComboBox-module__hop-ComboBox__helper-message___W5YZG", "hop-ComboBox__error-message": "ComboBox-module__hop-ComboBox__error-message___0cWJf" };
|
|
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
|
),
|
|
@@ -11,7 +11,7 @@ import { useContextProps, composeRenderProps } from 'react-aria-components';
|
|
|
11
11
|
import { jsx } from 'react/jsx-runtime';
|
|
12
12
|
|
|
13
13
|
// css-module:./RichIconAvatarImage.module.css#css-module
|
|
14
|
-
var RichIconAvatarImage_module_default = { "hop-RichIconAvatarImage": "RichIconAvatarImage-module__hop-
|
|
14
|
+
var RichIconAvatarImage_module_default = { "hop-RichIconAvatarImage": "RichIconAvatarImage-module__hop-RichIconAvatarImage___i42N-", "hop-RichIconAvatarImage--xs": "RichIconAvatarImage-module__hop-RichIconAvatarImage--xs___K8a9l", "hop-RichIconAvatarImage--sm": "RichIconAvatarImage-module__hop-RichIconAvatarImage--sm___ce7Gs", "hop-RichIconAvatarImage--md": "RichIconAvatarImage-module__hop-RichIconAvatarImage--md___-AbNA", "hop-RichIconAvatarImage--lg": "RichIconAvatarImage-module__hop-RichIconAvatarImage--lg___9WaH2", "hop-RichIconAvatarImage--xl": "RichIconAvatarImage-module__hop-RichIconAvatarImage--xl___N9NHN", "hop-RichIconAvatarImage--2xl": "RichIconAvatarImage-module__hop-RichIconAvatarImage--2xl___bkXaL", "hop-RichIconAvatarImage__icon": "RichIconAvatarImage-module__hop-RichIconAvatarImage__icon___lN8s2" };
|
|
15
15
|
var GlobalRichIconAvatarImageCssSelector = "hop-RichIconAvatarImage";
|
|
16
16
|
var AvatarToIconSizeAdapter = {
|
|
17
17
|
xs: "md",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useIsOverflow } from './chunk-EHXOXTDN.js';
|
|
2
2
|
import { useLocalizedString } from './chunk-TFVDF4YH.js';
|
|
3
|
-
import { _Text } from './chunk-
|
|
3
|
+
import { _Text } from './chunk-75I7LTO3.js';
|
|
4
4
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
5
5
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
6
6
|
import { AvatarContext } from './chunk-AES7QBQE.js';
|
|
@@ -16,7 +16,7 @@ import { useContextProps, SelectValueContext, SelectStateContext, useSlottedCont
|
|
|
16
16
|
import { jsx } from 'react/jsx-runtime';
|
|
17
17
|
|
|
18
18
|
// css-module:./SelectValue.module.css#css-module
|
|
19
|
-
var SelectValue_module_default = { "hop-SelectValue": "SelectValue-module__hop-
|
|
19
|
+
var SelectValue_module_default = { "hop-SelectValue": "SelectValue-module__hop-SelectValue___RkG5j", "hop-SelectValue__text": "SelectValue-module__hop-SelectValue__text___agZ-x", "hop-SelectValue__avatar": "SelectValue-module__hop-SelectValue__avatar___zcflr", "hop-SelectValue__icon": "SelectValue-module__hop-SelectValue__icon___bo6xX", "hop-SelectValue__end-icon": "SelectValue-module__hop-SelectValue__end-icon___TOmKt" };
|
|
20
20
|
var GlobalSelectValueCssSelector = "hop-SelectValue";
|
|
21
21
|
var SelectValueToAvatarSizeAdapter = {
|
|
22
22
|
sm: "xs",
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import { _ToggleArrow } from './chunk-LHX75LVJ.js';
|
|
2
|
+
import { _Heading } from './chunk-K5WUDBPF.js';
|
|
3
|
+
import { DisclosureContext } from './chunk-MUAXK42C.js';
|
|
4
|
+
import { DisclosureHeaderContext } from './chunk-GFRTCF4B.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___gizcm", "hop-DisclosureHeader__button": "DisclosureHeader-module__hop-DisclosureHeader__button___V8h5M", "hop-DisclosureHeader__button--inline": "DisclosureHeader-module__hop-DisclosureHeader__button--inline___-ewzd", "hop-DisclosureHeader__icon": "DisclosureHeader-module__hop-DisclosureHeader__icon___Lp9gl", "hop-DisclosureHeader__title": "DisclosureHeader-module__hop-DisclosureHeader__title___mjkG0", "hop-DisclosureHeader__toggle-arrow": "DisclosureHeader-module__hop-DisclosureHeader__toggle-arrow___BmWee" };
|
|
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 };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { FooterContext } from './chunk-I67NHYK4.js';
|
|
2
1
|
import { ContentContext } from './chunk-IXB2WK56.js';
|
|
2
|
+
import { FooterContext } from './chunk-I67NHYK4.js';
|
|
3
3
|
import { CardContext } from './chunk-V2EQFVTJ.js';
|
|
4
4
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
5
5
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
@@ -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___K7GQr", "hop-Card--main": "Card-module__hop-Card--main___5WRl5", "hop-Card--second-level": "Card-module__hop-Card--second-level___qgEs4" };
|
|
14
14
|
var GlobalCardCssSelector = "hop-Card";
|
|
15
15
|
var Card = (props, ref) => {
|
|
16
16
|
[props, ref] = useContextProps(props, ref, CardContext);
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { TagContext } from './chunk-EWMWQ2MC.js';
|
|
2
|
-
import { _ClearButton } from './chunk-
|
|
3
|
-
import { mapOrbiterToHopperVariants } from './chunk-
|
|
4
|
-
import { _Spinner } from './chunk-
|
|
5
|
-
import { ensureTextWrapper } from './chunk-UYXVO6TB.js';
|
|
2
|
+
import { _ClearButton } from './chunk-7FV3FDFI.js';
|
|
3
|
+
import { mapOrbiterToHopperVariants } from './chunk-G7QY3NWV.js';
|
|
4
|
+
import { _Spinner } from './chunk-CC5QQ4YM.js';
|
|
6
5
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
6
|
+
import { ensureTextWrapper } from './chunk-WILQEDLK.js';
|
|
7
7
|
import { useLocalizedString } from './chunk-TFVDF4YH.js';
|
|
8
|
+
import { useFormProps } from './chunk-SH3CLZKH.js';
|
|
8
9
|
import { BadgeContext } from './chunk-CQDLZ42T.js';
|
|
9
10
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
10
11
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
@@ -20,7 +21,7 @@ import { useContextProps, composeRenderProps, Tag as Tag$1 } from 'react-aria-co
|
|
|
20
21
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
21
22
|
|
|
22
23
|
// css-module:./Tag.module.css#css-module
|
|
23
|
-
var Tag_module_default = { "hop-Tag": "Tag-module__hop-
|
|
24
|
+
var Tag_module_default = { "hop-Tag": "Tag-module__hop-Tag___5VrwY", "hop-Tag--sm": "Tag-module__hop-Tag--sm___IhQ0r", "hop-Tag__remove-btn": "Tag-module__hop-Tag__remove-btn___PL1DR", "hop-Tag__Spinner": "Tag-module__hop-Tag__Spinner___gVDY1", "hop-Tag__avatar": "Tag-module__hop-Tag__avatar___6e1MD", "hop-Tag--md": "Tag-module__hop-Tag--md___Gh9GZ", "hop-Tag--lg": "Tag-module__hop-Tag--lg___3nGOI", "hop-Tag--neutral": "Tag-module__hop-Tag--neutral___GoYOf", "hop-Tag--subdued": "Tag-module__hop-Tag--subdued___BN71F", "hop-Tag--progress": "Tag-module__hop-Tag--progress___tw0Kv", "hop-Tag--positive": "Tag-module__hop-Tag--positive___WDK8Q", "hop-Tag--caution": "Tag-module__hop-Tag--caution___-sXJn", "hop-Tag--negative": "Tag-module__hop-Tag--negative___lypAp", "hop-Tag--option1": "Tag-module__hop-Tag--option1___H9NF-", "hop-Tag--option2": "Tag-module__hop-Tag--option2___Ktpan", "hop-Tag--option3": "Tag-module__hop-Tag--option3___wGnFx", "hop-Tag--option4": "Tag-module__hop-Tag--option4___-kLHN", "hop-Tag--option5": "Tag-module__hop-Tag--option5___BhgVR", "hop-Tag--option6": "Tag-module__hop-Tag--option6___Oy4ZE", "hop-Tag__icon": "Tag-module__hop-Tag__icon___gToHE", "hop-Tag__icon-list": "Tag-module__hop-Tag__icon-list___GkU-Q", "hop-Tag__text": "Tag-module__hop-Tag__text___aVAKi", "hop-Tag__badge": "Tag-module__hop-Tag__badge___HuplQ", "hop-Tag__badge--subdued": "Tag-module__hop-Tag__badge--subdued___85hnw" };
|
|
24
25
|
var GlobalTagCssSelector = "hop-Tag";
|
|
25
26
|
var TagToTextSizeAdapter = {
|
|
26
27
|
sm: "xs",
|
|
@@ -40,6 +41,7 @@ var TagToButtonSizeAdapter = {
|
|
|
40
41
|
function Tag(props, ref) {
|
|
41
42
|
var _a;
|
|
42
43
|
[props, ref] = useContextProps(props, ref, TagContext);
|
|
44
|
+
props = useFormProps(props);
|
|
43
45
|
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
44
46
|
const {
|
|
45
47
|
className,
|
|
@@ -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-SH3CLZKH.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___bYJKr", "hop-Label__indicator": "Label-module__hop-Label__indicator___AtTcd" };
|
|
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: [
|
|
@@ -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___Fxj3U", "hop-Text--xs": "Text-module__hop-Text--xs___OBqqd", "hop-Text--sm": "Text-module__hop-Text--sm___W0t5J", "hop-Text--md": "Text-module__hop-Text--md___0XAci", "hop-Text--lg": "Text-module__hop-Text--lg___fe6zi", "hop-Text--xl": "Text-module__hop-Text--xl___Yu73w", "hop-Text--2xl": "Text-module__hop-Text--2xl___XUoUN", "hop-Text--inherit": "Text-module__hop-Text--inherit___zBVgd" };
|
|
13
13
|
var GlobalTextCssSelector = "hop-Text";
|
|
14
14
|
function Text(props, ref) {
|
|
15
15
|
[props, ref] = useContextProps(props, ref, TextContext);
|
|
@@ -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-EXO4OJ7Z.js';
|
|
5
|
+
import { _ErrorMessage } from './chunk-KFPJZFZS.js';
|
|
6
|
+
import { _Label } from './chunk-6NX5XSZH.js';
|
|
7
|
+
import { useFormProps } from './chunk-SH3CLZKH.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___eVzJc", "hop-RadioGroup--bordered": "RadioGroup-module__hop-RadioGroup--bordered___1D5B2", "hop-RadioGroup--sm": "RadioGroup-module__hop-RadioGroup--sm___XN1LJ", "hop-RadioGroup--md": "RadioGroup-module__hop-RadioGroup--md___F-BOQ", "hop-RadioGroup__label": "RadioGroup-module__hop-RadioGroup__label___-Xk4v", "hop-RadioGroup__list": "RadioGroup-module__hop-RadioGroup__list___cschd", "hop-RadioGroup__radio": "RadioGroup-module__hop-RadioGroup__radio___jMtni", "hop-RadioGroup__error-message": "RadioGroup-module__hop-RadioGroup__error-message___fCdg7", "hop-RadioGroup__helper-message": "RadioGroup-module__hop-RadioGroup__helper-message___-9BLW" };
|
|
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 {
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { _InputGroup } from './chunk-F3GTLFKR.js';
|
|
2
|
-
import { _EmbeddedButton } from './chunk-Y75VH6OP.js';
|
|
3
1
|
import { PasswordFieldContext } from './chunk-QW45G6K4.js';
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
2
|
+
import { _InputGroup } from './chunk-7H7A6BGG.js';
|
|
3
|
+
import { _EmbeddedButton } from './chunk-G7QY3NWV.js';
|
|
4
|
+
import { _HelperMessage } from './chunk-EXO4OJ7Z.js';
|
|
5
|
+
import { _ErrorMessage } from './chunk-KFPJZFZS.js';
|
|
6
|
+
import { _Label } from './chunk-6NX5XSZH.js';
|
|
6
7
|
import { useLocalizedString } from './chunk-TFVDF4YH.js';
|
|
7
|
-
import {
|
|
8
|
+
import { useFormProps } from './chunk-SH3CLZKH.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___9cW0X", "hop-PasswordField--fluid": "PasswordField-module__hop-PasswordField--fluid___EHA4y", "hop-PasswordField__Label": "PasswordField-module__hop-PasswordField__Label___ajz98", "hop-PasswordField__InputGroup": "PasswordField-module__hop-PasswordField__InputGroup___DgcQ2", "hop-PasswordField__ErrorMessage": "PasswordField-module__hop-PasswordField__ErrorMessage___7ASTp", "hop-PasswordField__HelperMessage": "PasswordField-module__hop-PasswordField__HelperMessage___ag7YT" };
|
|
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 { ClearButtonContext } from './chunk-DXVKHP4V.js';
|
|
2
|
-
import { _EmbeddedButton } from './chunk-
|
|
2
|
+
import { _EmbeddedButton } from './chunk-G7QY3NWV.js';
|
|
3
3
|
import { useLocalizedString } from './chunk-TFVDF4YH.js';
|
|
4
4
|
import { DismissIcon } from '@hopper-ui/icons';
|
|
5
5
|
import { forwardRef } from 'react';
|
|
@@ -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___4l-iO", "hop-InputGroup--fluid": "InputGroup-module__hop-InputGroup--fluid___S7AfK", "hop-InputGroup--sm": "InputGroup-module__hop-InputGroup--sm___EG910", "hop-InputGroup__input": "InputGroup-module__hop-InputGroup__input___UZwnp", "hop-InputGroup__textarea": "InputGroup-module__hop-InputGroup__textarea___DNTDz", "hop-InputGroup__embedded-button": "InputGroup-module__hop-InputGroup__embedded-button___fkVoL" };
|
|
14
14
|
var GlobalInputGroupCssSelector = "hop-InputGroup";
|
|
15
15
|
function InputGroup(props, ref) {
|
|
16
16
|
var _a, _b;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RadioContext } from './chunk-FU5CCPLP.js';
|
|
2
|
-
import { ensureTextWrapper } from './chunk-UYXVO6TB.js';
|
|
3
2
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
3
|
+
import { ensureTextWrapper } from './chunk-WILQEDLK.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, Radio as Radio$1 } from 'react-ari
|
|
|
13
13
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
14
14
|
|
|
15
15
|
// css-module:./Radio.module.css#css-module
|
|
16
|
-
var Radio_module_default = { "hop-Radio": "Radio-module__hop-
|
|
16
|
+
var Radio_module_default = { "hop-Radio": "Radio-module__hop-Radio___izkpm", "hop-Radio--sm": "Radio-module__hop-Radio--sm___fJH1M", "hop-Radio--md": "Radio-module__hop-Radio--md___mxR3S", "hop-Radio__icon": "Radio-module__hop-Radio__icon___FnTgU", "hop-Radio__icon-list": "Radio-module__hop-Radio__icon-list___QP7Cf", "hop-Radio__box": "Radio-module__hop-Radio__box___61ph-", "hop-Radio__bullet": "Radio-module__hop-Radio__bullet___nWPay", "hop-Radio__text": "Radio-module__hop-Radio__text___x7XaX" };
|
|
17
17
|
var GlobalRadioCssSelector = "hop-Radio";
|
|
18
18
|
function Radio(props, ref) {
|
|
19
19
|
var _a;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _OverlineText } from './chunk-
|
|
1
|
+
import { _OverlineText } from './chunk-NUV3PDGE.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___Y75Nt", "hop-Badge--primary": "Badge-module__hop-Badge--primary___O16gy", "hop-Badge--secondary": "Badge-module__hop-Badge--secondary___IOaYF", "hop-Badge--subdued": "Badge-module__hop-Badge--subdued___Xhin7" };
|
|
27
27
|
var GlobalBadgeCssSelector = "hop-Badge";
|
|
28
28
|
function Badge(props, ref) {
|
|
29
29
|
[props, ref] = useContextProps(props, ref, BadgeContext);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SpinnerContext } from './chunk-4ZYV2XLW.js';
|
|
2
|
-
import { _Text } from './chunk-
|
|
2
|
+
import { _Text } from './chunk-75I7LTO3.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___0THu8", "spin": "Spinner-module__spin___Q2ZYo", "hop-Spinner--sm": "Spinner-module__hop-Spinner--sm___PVr-T", "hop-Spinner--md": "Spinner-module__hop-Spinner--md___DkDx6", "hop-Spinner--lg": "Spinner-module__hop-Spinner--lg___bqHkM", "hop-Spinner__track": "Spinner-module__hop-Spinner__track___B5Dai", "hop-Spinner__fill": "Spinner-module__hop-Spinner__fill___-UaCn", "hop-Spinner__label": "Spinner-module__hop-Spinner__label___GhNV8" };
|
|
13
13
|
var GlobalSpinnerCssSelector = "hop-Spinner";
|
|
14
14
|
var SpinnerToTextSizeAdapter = {
|
|
15
15
|
sm: "xs",
|
|
@@ -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-75I7LTO3.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___yOp0D", "hop-SwitchField--sm": "SwitchField-module__hop-SwitchField--sm___ThfcP", "hop-SwitchField--md": "SwitchField-module__hop-SwitchField--md___yKQkj", "hop-SwitchField__description": "SwitchField-module__hop-SwitchField__description___-473U", "hop-SwitchField__switch": "SwitchField-module__hop-SwitchField__switch___EGUdy" };
|
|
17
17
|
var GlobalSwitchFieldCssSelector = "hop-SwitchField";
|
|
18
18
|
var SwitchToDescriptionSizeAdapter = {
|
|
19
19
|
sm: "xs",
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { CheckboxFieldContext } from './chunk-ZGNK4GWA.js';
|
|
2
2
|
import { CheckboxContext } from './chunk-2EAZPH3M.js';
|
|
3
|
-
import {
|
|
3
|
+
import { useFormProps } from './chunk-SH3CLZKH.js';
|
|
4
|
+
import { _Text } from './chunk-75I7LTO3.js';
|
|
4
5
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
5
6
|
import { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
6
7
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
@@ -14,7 +15,7 @@ import { useContextProps, composeRenderProps } from 'react-aria-components';
|
|
|
14
15
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
15
16
|
|
|
16
17
|
// css-module:./CheckboxField.module.css#css-module
|
|
17
|
-
var CheckboxField_module_default = { "hop-CheckboxField": "CheckboxField-module__hop-
|
|
18
|
+
var CheckboxField_module_default = { "hop-CheckboxField": "CheckboxField-module__hop-CheckboxField___SMhkE", "hop-CheckboxField--sm": "CheckboxField-module__hop-CheckboxField--sm___wLg7-", "hop-CheckboxField--md": "CheckboxField-module__hop-CheckboxField--md___6FeJ3", "hop-CheckboxField__description": "CheckboxField-module__hop-CheckboxField__description___yyNXs", "hop-CheckboxField__checkbox": "CheckboxField-module__hop-CheckboxField__checkbox___IYOq4" };
|
|
18
19
|
var GlobalCheckboxFieldCssSelector = "hop-CheckboxField";
|
|
19
20
|
var CheckboxToDescriptionSizeAdapter = {
|
|
20
21
|
sm: "xs",
|
|
@@ -23,6 +24,7 @@ var CheckboxToDescriptionSizeAdapter = {
|
|
|
23
24
|
function CheckboxField(props, ref) {
|
|
24
25
|
var _a;
|
|
25
26
|
[props, ref] = useContextProps(props, ref, CheckboxFieldContext);
|
|
27
|
+
props = useFormProps(props);
|
|
26
28
|
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
27
29
|
const {
|
|
28
30
|
className,
|
|
@@ -7,7 +7,7 @@ import { useContextProps, Separator } from 'react-aria-components';
|
|
|
7
7
|
import { jsx } from 'react/jsx-runtime';
|
|
8
8
|
|
|
9
9
|
// css-module:./Divider.module.css#css-module
|
|
10
|
-
var Divider_module_default = { "hop-Divider": "Divider-module__hop-
|
|
10
|
+
var Divider_module_default = { "hop-Divider": "Divider-module__hop-Divider___at3vn", "hop-Divider--vertical": "Divider-module__hop-Divider--vertical___IDbAI" };
|
|
11
11
|
var GlobalDividerCssSelector = "hop-Divider";
|
|
12
12
|
function Divider(props, ref) {
|
|
13
13
|
[props, ref] = useContextProps(props, ref, DividerContext);
|