@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,11 +1,11 @@
|
|
|
1
1
|
import { isFunction } from './chunk-TIPN4VYD.js';
|
|
2
2
|
import { SectionContext } from './chunk-5H5AZJPQ.js';
|
|
3
3
|
import { ListBoxContext } from './chunk-UIEP5BA5.js';
|
|
4
|
-
import { _ListBoxItem } from './chunk-
|
|
4
|
+
import { _ListBoxItem } from './chunk-RBENLQVB.js';
|
|
5
5
|
import { ListBoxItemContext } from './chunk-Y2POLIXK.js';
|
|
6
|
-
import { useLocalizedString } from './chunk-TFVDF4YH.js';
|
|
7
6
|
import { HeaderContext } from './chunk-7JOGKC3W.js';
|
|
8
|
-
import {
|
|
7
|
+
import { useLocalizedString } from './chunk-TFVDF4YH.js';
|
|
8
|
+
import { _Text } from './chunk-75I7LTO3.js';
|
|
9
9
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
10
10
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
11
11
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
@@ -17,7 +17,7 @@ import { useContextProps, composeRenderProps, ListBox as ListBox$1, Collection }
|
|
|
17
17
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
18
18
|
|
|
19
19
|
// css-module:./ListBox.module.css#css-module
|
|
20
|
-
var ListBox_module_default = { "hop-ListBox": "ListBox-module__hop-
|
|
20
|
+
var ListBox_module_default = { "hop-ListBox": "ListBox-module__hop-ListBox___zgpB-", "hop-ListBox--fluid": "ListBox-module__hop-ListBox--fluid___lgUzj", "hop-ListBox__section": "ListBox-module__hop-ListBox__section___MjTP8", "hop-ListBox__item": "ListBox-module__hop-ListBox__item___v-LeI", "hop-ListBox__section-header": "ListBox-module__hop-ListBox__section-header___USUd7" };
|
|
21
21
|
var GlobalListBoxCssSelector = "hop-ListBox";
|
|
22
22
|
var GlobalListBoxEmptyItemCssSelector = "hop-ListBox__empty-item";
|
|
23
23
|
var ListBoxToTextSizeAdapter = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HelperMessageContext } from './chunk-HZKFQ33E.js';
|
|
2
|
-
import { _Text } from './chunk-
|
|
2
|
+
import { _Text } from './chunk-75I7LTO3.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___2u276", "hop-HelperMessage__icon": "HelperMessage-module__hop-HelperMessage__icon___qXSF9" };
|
|
13
13
|
var GlobalHelperMessageCssSelector = "hop-HelperMessage";
|
|
14
14
|
function HelperMessage(props, ref) {
|
|
15
15
|
const validation = useContext(FieldErrorContext);
|
|
@@ -20,7 +20,7 @@ function mapOrbiterToHopperVariants(variant) {
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
// css-module:./EmbeddedButton.module.css#css-module
|
|
23
|
-
var EmbeddedButton_module_default = { "hop-EmbeddedButton": "EmbeddedButton-module__hop-
|
|
23
|
+
var EmbeddedButton_module_default = { "hop-EmbeddedButton": "EmbeddedButton-module__hop-EmbeddedButton___U95Sy", "hop-EmbeddedButton--md": "EmbeddedButton-module__hop-EmbeddedButton--md___hbpeA", "hop-EmbeddedButton--lg": "EmbeddedButton-module__hop-EmbeddedButton--lg___CZhR9", "hop-EmbeddedButton--neutral": "EmbeddedButton-module__hop-EmbeddedButton--neutral___e6JwV", "hop-EmbeddedButton--subdued": "EmbeddedButton-module__hop-EmbeddedButton--subdued___i-2qa", "hop-EmbeddedButton--progress": "EmbeddedButton-module__hop-EmbeddedButton--progress___jDT6T", "hop-EmbeddedButton--positive": "EmbeddedButton-module__hop-EmbeddedButton--positive___sywpr", "hop-EmbeddedButton--caution": "EmbeddedButton-module__hop-EmbeddedButton--caution___9HpKn", "hop-EmbeddedButton--negative": "EmbeddedButton-module__hop-EmbeddedButton--negative___XqVQE", "hop-EmbeddedButton--option1": "EmbeddedButton-module__hop-EmbeddedButton--option1___vZ2qH", "hop-EmbeddedButton--option2": "EmbeddedButton-module__hop-EmbeddedButton--option2___W0qJU", "hop-EmbeddedButton--option3": "EmbeddedButton-module__hop-EmbeddedButton--option3___KYLG7", "hop-EmbeddedButton--option4": "EmbeddedButton-module__hop-EmbeddedButton--option4___EFIcJ", "hop-EmbeddedButton--option5": "EmbeddedButton-module__hop-EmbeddedButton--option5___dlQOG", "hop-EmbeddedButton--option6": "EmbeddedButton-module__hop-EmbeddedButton--option6___RZkSJ", "hop-EmbeddedButton__icon": "EmbeddedButton-module__hop-EmbeddedButton__icon___MPwAs" };
|
|
24
24
|
var GlobalEmbeddedButtonCssSelector = "hop-EmbeddedButton";
|
|
25
25
|
function EmbeddedButton(props, ref) {
|
|
26
26
|
var _a;
|
|
@@ -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 { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
@@ -15,7 +15,7 @@ import { useContextProps, composeRenderProps } from 'react-aria-components';
|
|
|
15
15
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
16
16
|
|
|
17
17
|
// css-module:./DecorativeRadio.module.css#css-module
|
|
18
|
-
var DecorativeRadio_module_default = { "hop-DecorativeRadio": "DecorativeRadio-module__hop-
|
|
18
|
+
var DecorativeRadio_module_default = { "hop-DecorativeRadio": "DecorativeRadio-module__hop-DecorativeRadio___IEyJb Radio-module__hop-Radio___izkpm", "hop-DecorativeRadio--sm": "DecorativeRadio-module__hop-DecorativeRadio--sm___MnjI- Radio-module__hop-Radio--sm___fJH1M", "hop-DecorativeRadio--md": "DecorativeRadio-module__hop-DecorativeRadio--md___435kK Radio-module__hop-Radio--md___mxR3S", "hop-DecorativeRadio__icon": "DecorativeRadio-module__hop-DecorativeRadio__icon___LE8aU Radio-module__hop-Radio__icon___FnTgU", "hop-DecorativeRadio__icon-list": "DecorativeRadio-module__hop-DecorativeRadio__icon-list___tTwVE Radio-module__hop-Radio__icon___FnTgU", "hop-DecorativeRadio__box": "DecorativeRadio-module__hop-DecorativeRadio__box___melup Radio-module__hop-Radio__box___61ph-", "hop-DecorativeRadio__bullet": "DecorativeRadio-module__hop-DecorativeRadio__bullet___pOh7l Radio-module__hop-Radio__bullet___nWPay", "hop-DecorativeRadio__text": "DecorativeRadio-module__hop-DecorativeRadio__text___wXFty Radio-module__hop-Radio__text___x7XaX" };
|
|
19
19
|
var GlobalDecorativeRadioCssSelector = "hop-DecorativeRadio";
|
|
20
20
|
function DecorativeRadio(props, ref) {
|
|
21
21
|
var _a;
|
|
@@ -11,7 +11,7 @@ import { useContextProps } from 'react-aria-components';
|
|
|
11
11
|
import { jsx } from 'react/jsx-runtime';
|
|
12
12
|
|
|
13
13
|
// css-module:./ButtonGroup.module.css#css-module
|
|
14
|
-
var ButtonGroup_module_default = { "hop-ButtonGroup": "ButtonGroup-module__hop-
|
|
14
|
+
var ButtonGroup_module_default = { "hop-ButtonGroup": "ButtonGroup-module__hop-ButtonGroup___hqLSF", "hop-ButtonGroup--horizontal": "ButtonGroup-module__hop-ButtonGroup--horizontal___3av6y", "hop-ButtonGroup--vertical": "ButtonGroup-module__hop-ButtonGroup--vertical___gv-ld", "hop-ButtonGroup--start": "ButtonGroup-module__hop-ButtonGroup--start___kJMSf", "hop-ButtonGroup--center": "ButtonGroup-module__hop-ButtonGroup--center___3hmgX", "hop-ButtonGroup--end": "ButtonGroup-module__hop-ButtonGroup--end___oVQYE", "hop-ButtonGroup--wrap": "ButtonGroup-module__hop-ButtonGroup--wrap___qi3Sl", "hop-ButtonGroup--fluid": "ButtonGroup-module__hop-ButtonGroup--fluid___v7t-F" };
|
|
15
15
|
var GlobalButtonGroupCssSelector = "hop-ButtonGroup";
|
|
16
16
|
function ButtonGroup(props, ref) {
|
|
17
17
|
var _a, _b, _c, _d;
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { DisclosurePanelContext } from './chunk-7CJXILRD.js';
|
|
2
|
+
import { ToggleArrowContext } from './chunk-J6WBI2I2.js';
|
|
3
|
+
import { DisclosureContext } from './chunk-MUAXK42C.js';
|
|
4
|
+
import { DisclosureHeaderContext } from './chunk-GFRTCF4B.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___gvlxa", "hop-Disclosure__header": "Disclosure-module__hop-Disclosure__header___ucZIG", "hop-Disclosure--inline": "Disclosure-module__hop-Disclosure--inline___q-0k4", "hop-Disclosure__panel": "Disclosure-module__hop-Disclosure__panel___bjiCz" };
|
|
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 };
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { ensureTextWrapper } from './chunk-WILQEDLK.js';
|
|
2
|
+
import { DisclosurePanelContext } from './chunk-7CJXILRD.js';
|
|
3
|
+
import { FormContext } from './chunk-Q7NXUUB3.js';
|
|
4
|
+
import { DisclosureContext } from './chunk-MUAXK42C.js';
|
|
5
|
+
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
6
|
+
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
7
|
+
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
8
|
+
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
9
|
+
import { useStyledSystem } from '@hopper-ui/styled-system';
|
|
10
|
+
import { forwardRef } from 'react';
|
|
11
|
+
import { useContextProps, useSlottedContext, composeRenderProps, DisclosurePanel as DisclosurePanel$1 } from 'react-aria-components';
|
|
12
|
+
import { jsx } from 'react/jsx-runtime';
|
|
13
|
+
|
|
14
|
+
// css-module:./DisclosurePanel.module.css#css-module
|
|
15
|
+
var DisclosurePanel_module_default = { "hop-DisclosurePanel": "DisclosurePanel-module__hop-DisclosurePanel___HlzkD", "hop-DisclosurePanel--inline": "DisclosurePanel-module__hop-DisclosurePanel--inline___1GycZ", "hop-DisclosurePanel--disabled": "DisclosurePanel-module__hop-DisclosurePanel--disabled___CYfsT", "hop-DisclosurePanel__text": "DisclosurePanel-module__hop-DisclosurePanel__text___47Nfk" };
|
|
16
|
+
var GlobalDisclosurePanelCssSelector = "hop-DisclosurePanel";
|
|
17
|
+
function DisclosurePanel(props, ref) {
|
|
18
|
+
[props, ref] = useContextProps(props, ref, DisclosurePanelContext);
|
|
19
|
+
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
20
|
+
const {
|
|
21
|
+
className,
|
|
22
|
+
children,
|
|
23
|
+
style: styleProp,
|
|
24
|
+
...otherProps
|
|
25
|
+
} = ownProps;
|
|
26
|
+
const { isDisabled, variant } = useSlottedContext(DisclosureContext);
|
|
27
|
+
const classNames = composeClassnameRenderProps(
|
|
28
|
+
className,
|
|
29
|
+
GlobalDisclosurePanelCssSelector,
|
|
30
|
+
cssModule(
|
|
31
|
+
DisclosurePanel_module_default,
|
|
32
|
+
"hop-DisclosurePanel",
|
|
33
|
+
variant,
|
|
34
|
+
isDisabled && "disabled"
|
|
35
|
+
),
|
|
36
|
+
stylingProps.className
|
|
37
|
+
);
|
|
38
|
+
const style = composeRenderProps(styleProp, (prev) => {
|
|
39
|
+
return {
|
|
40
|
+
...stylingProps.style,
|
|
41
|
+
...prev
|
|
42
|
+
};
|
|
43
|
+
});
|
|
44
|
+
return /* @__PURE__ */ jsx(
|
|
45
|
+
DisclosurePanel$1,
|
|
46
|
+
{
|
|
47
|
+
ref,
|
|
48
|
+
className: classNames,
|
|
49
|
+
style,
|
|
50
|
+
...otherProps,
|
|
51
|
+
children: /* @__PURE__ */ jsx(
|
|
52
|
+
SlotProvider,
|
|
53
|
+
{
|
|
54
|
+
values: [
|
|
55
|
+
[TextContext, { size: "sm", className: DisclosurePanel_module_default["hop-DisclosurePanel__text"] }],
|
|
56
|
+
[FormContext, { size: "sm", isDisabled }]
|
|
57
|
+
],
|
|
58
|
+
children: ensureTextWrapper(children, "p")
|
|
59
|
+
}
|
|
60
|
+
)
|
|
61
|
+
}
|
|
62
|
+
);
|
|
63
|
+
}
|
|
64
|
+
var _DisclosurePanel = forwardRef(DisclosurePanel);
|
|
65
|
+
_DisclosurePanel.displayName = "DisclosurePanel";
|
|
66
|
+
|
|
67
|
+
export { GlobalDisclosurePanelCssSelector, _DisclosurePanel };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { ensureTextWrapper } from './chunk-UYXVO6TB.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-WILQEDLK.js';
|
|
4
|
+
import { useFormProps } from './chunk-SH3CLZKH.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___KXJNl", "hop-Checkbox--sm": "Checkbox-module__hop-Checkbox--sm___3u1nr", "hop-Checkbox--md": "Checkbox-module__hop-Checkbox--md___sBiRN", "hop-Checkbox__icon": "Checkbox-module__hop-Checkbox__icon___-9JFc", "hop-Checkbox__icon-list": "Checkbox-module__hop-Checkbox__icon-list___Uad5p", "hop-Checkbox__box": "Checkbox-module__hop-Checkbox__box___67wkL", "hop-Checkbox__check": "Checkbox-module__hop-Checkbox__check___r6Mbn", "hop-Checkbox__text": "Checkbox-module__hop-Checkbox__text___6DKyb" };
|
|
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,6 +1,6 @@
|
|
|
1
|
-
import { ensureTextWrapper } from './chunk-UYXVO6TB.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-WILQEDLK.js';
|
|
4
4
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
5
5
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
6
6
|
import { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
@@ -15,7 +15,7 @@ import { useContextProps, composeRenderProps } from 'react-aria-components';
|
|
|
15
15
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
16
16
|
|
|
17
17
|
// css-module:./DecorativeCheckbox.module.css#css-module
|
|
18
|
-
var DecorativeCheckbox_module_default = { "hop-DecorativeCheckbox": "DecorativeCheckbox-module__hop-
|
|
18
|
+
var DecorativeCheckbox_module_default = { "hop-DecorativeCheckbox": "DecorativeCheckbox-module__hop-DecorativeCheckbox___Pavnn Checkbox-module__hop-Checkbox___KXJNl", "hop-DecorativeCheckbox--sm": "DecorativeCheckbox-module__hop-DecorativeCheckbox--sm___s-OUL Checkbox-module__hop-Checkbox--sm___3u1nr", "hop-DecorativeCheckbox--md": "DecorativeCheckbox-module__hop-DecorativeCheckbox--md___uTiEf Checkbox-module__hop-Checkbox--md___sBiRN", "hop-DecorativeCheckbox__icon": "DecorativeCheckbox-module__hop-DecorativeCheckbox__icon___jdsmD Checkbox-module__hop-Checkbox__icon___-9JFc", "hop-DecorativeCheckbox__icon-list": "DecorativeCheckbox-module__hop-DecorativeCheckbox__icon-list___DR06I Checkbox-module__hop-Checkbox__icon___-9JFc", "hop-DecorativeCheckbox__box": "DecorativeCheckbox-module__hop-DecorativeCheckbox__box___CSIFx Checkbox-module__hop-Checkbox__box___67wkL", "hop-DecorativeCheckbox__check": "DecorativeCheckbox-module__hop-DecorativeCheckbox__check___CvGk4 Checkbox-module__hop-Checkbox__check___r6Mbn", "hop-DecorativeCheckbox__text": "DecorativeCheckbox-module__hop-DecorativeCheckbox__text___ffON5 Checkbox-module__hop-Checkbox__text___6DKyb" };
|
|
19
19
|
var GlobalDecorativeCheckboxCssSelector = "hop-DecorativeCheckbox";
|
|
20
20
|
function DecorativeCheckbox(props, ref) {
|
|
21
21
|
var _a;
|
|
@@ -7,7 +7,7 @@ import { useContextProps, Heading as Heading$1 } from 'react-aria-components';
|
|
|
7
7
|
import { jsx } from 'react/jsx-runtime';
|
|
8
8
|
|
|
9
9
|
// css-module:./Heading.module.css#css-module
|
|
10
|
-
var Heading_module_default = { "hop-Heading": "Heading-module__hop-
|
|
10
|
+
var Heading_module_default = { "hop-Heading": "Heading-module__hop-Heading___UhOuN", "hop-Heading--xs": "Heading-module__hop-Heading--xs___mgq0R", "hop-Heading--sm": "Heading-module__hop-Heading--sm___Sd105", "hop-Heading--md": "Heading-module__hop-Heading--md___OeuQ-", "hop-Heading--lg": "Heading-module__hop-Heading--lg___937DG", "hop-Heading--xl": "Heading-module__hop-Heading--xl___PA7Cj", "hop-Heading--2xl": "Heading-module__hop-Heading--2xl___9H5AH", "hop-Heading--3xl": "Heading-module__hop-Heading--3xl___BC0kT" };
|
|
11
11
|
var GlobalHeadingCssSelector = "hop-Heading";
|
|
12
12
|
function Heading(props, ref) {
|
|
13
13
|
[props, ref] = useContextProps(props, ref, HeadingContext);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RadioFieldContext } from './chunk-DGLAGYBD.js';
|
|
2
2
|
import { RadioContext } from './chunk-FU5CCPLP.js';
|
|
3
|
-
import { _Text } from './chunk-
|
|
3
|
+
import { _Text } from './chunk-75I7LTO3.js';
|
|
4
4
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
5
5
|
import { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
6
6
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
@@ -14,7 +14,7 @@ import { useContextProps, composeRenderProps } from 'react-aria-components';
|
|
|
14
14
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
15
15
|
|
|
16
16
|
// css-module:./RadioField.module.css#css-module
|
|
17
|
-
var RadioField_module_default = { "hop-RadioField": "RadioField-module__hop-
|
|
17
|
+
var RadioField_module_default = { "hop-RadioField": "RadioField-module__hop-RadioField___mf5HF", "hop-RadioField--sm": "RadioField-module__hop-RadioField--sm___Mjtg9", "hop-RadioField--md": "RadioField-module__hop-RadioField--md___UO8HE", "hop-RadioField__description": "RadioField-module__hop-RadioField__description___wCpfE", "hop-RadioField__radio": "RadioField-module__hop-RadioField__radio___ocTvT" };
|
|
18
18
|
var GlobalRadioFieldCssSelector = "hop-RadioField";
|
|
19
19
|
var RadioToDescriptionSizeAdapter = {
|
|
20
20
|
sm: "xs",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ErrorMessageContext } from './chunk-FAE27DLF.js';
|
|
2
|
-
import { _Text } from './chunk-
|
|
2
|
+
import { _Text } from './chunk-75I7LTO3.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___1ogYr", "hop-ErrorMessage__icon": "ErrorMessage-module__hop-ErrorMessage__icon___NXHIT" };
|
|
14
14
|
var GlobalErrorMessageCssSelector = "hop-ErrorMessage";
|
|
15
15
|
function ErrorMessage(props, ref) {
|
|
16
16
|
const validation = useContext(FieldErrorContext);
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { useFontFaceReady } from './chunk-IU6XMS2X.js';
|
|
2
|
-
import { useTruncatedText } from './chunk-Z57VHYOF.js';
|
|
3
|
-
import { _InputGroup } from './chunk-F3GTLFKR.js';
|
|
4
|
-
import { _RemainingCharacterCount } from './chunk-MMCWVCOD.js';
|
|
5
2
|
import { TextAreaContext } from './chunk-MHQZXLKW.js';
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
3
|
+
import { useTruncatedText } from './chunk-Z57VHYOF.js';
|
|
4
|
+
import { _RemainingCharacterCount } from './chunk-NR7UTMYX.js';
|
|
5
|
+
import { _InputGroup } from './chunk-7H7A6BGG.js';
|
|
6
|
+
import { _HelperMessage } from './chunk-EXO4OJ7Z.js';
|
|
7
|
+
import { _ErrorMessage } from './chunk-KFPJZFZS.js';
|
|
8
|
+
import { _Label } from './chunk-6NX5XSZH.js';
|
|
9
|
+
import { useFormProps } from './chunk-SH3CLZKH.js';
|
|
9
10
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
10
11
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
11
12
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
@@ -78,7 +79,7 @@ function $b5e257d569688ac6$export$535bd6ca7f90a273() {
|
|
|
78
79
|
}
|
|
79
80
|
|
|
80
81
|
// css-module:./TextArea.module.css#css-module
|
|
81
|
-
var TextArea_module_default = { "hop-TextArea": "TextArea-module__hop-
|
|
82
|
+
var TextArea_module_default = { "hop-TextArea": "TextArea-module__hop-TextArea___1FtH-", "hop-TextArea--fluid": "TextArea-module__hop-TextArea--fluid___L5apr", "hop-TextArea__Label": "TextArea-module__hop-TextArea__Label___iBvOX", "hop-TextArea__prefix": "TextArea-module__hop-TextArea__prefix___kiRsf", "hop-TextArea__InputGroup": "TextArea-module__hop-TextArea__InputGroup___z0ehB", "hop-TextArea__RemainingCharacterCount": "TextArea-module__hop-TextArea__RemainingCharacterCount___w9NAd", "hop-TextArea__textarea": "TextArea-module__hop-TextArea__textarea___GXo0W", "hop-TextArea__ErrorMessage": "TextArea-module__hop-TextArea__ErrorMessage___b4bWF", "hop-TextArea__HelperMessage": "TextArea-module__hop-TextArea__HelperMessage___D9fY3" };
|
|
82
83
|
var GlobalTextAreaCssSelector = "hop-TextArea";
|
|
83
84
|
var DefaultMinimumTextAreaRows = 3;
|
|
84
85
|
var pxToInt = (value) => {
|
|
@@ -117,6 +118,7 @@ function TextArea(props, ref) {
|
|
|
117
118
|
...propsWithoutRef
|
|
118
119
|
} = props;
|
|
119
120
|
[props, ref] = useContextProps(propsWithoutRef, ref, TextAreaContext);
|
|
121
|
+
props = useFormProps(props);
|
|
120
122
|
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
121
123
|
const [characterCount, setCharacterCount] = useState(() => {
|
|
122
124
|
var _a2, _b2, _c, _d;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { ToggleArrowContext } from './chunk-J6WBI2I2.js';
|
|
2
|
+
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
3
|
+
import { AngleDownIcon } from '@hopper-ui/icons';
|
|
4
|
+
import { useStyledSystem } from '@hopper-ui/styled-system';
|
|
5
|
+
import clsx from 'clsx';
|
|
6
|
+
import { forwardRef } from 'react';
|
|
7
|
+
import { useContextProps } from 'react-aria-components';
|
|
8
|
+
import { jsx } from 'react/jsx-runtime';
|
|
9
|
+
|
|
10
|
+
// css-module:./ToggleArrow.module.css#css-module
|
|
11
|
+
var ToggleArrow_module_default = { "hop-ToggleArrow": "ToggleArrow-module__hop-ToggleArrow___jZilu" };
|
|
12
|
+
var GlobalToggleArrowCssSelector = "hop-ToggleArrow";
|
|
13
|
+
function ToggleArrow(props, ref) {
|
|
14
|
+
[props, ref] = useContextProps(props, ref, ToggleArrowContext);
|
|
15
|
+
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
16
|
+
const {
|
|
17
|
+
className,
|
|
18
|
+
isExpanded,
|
|
19
|
+
style: styleProp,
|
|
20
|
+
...otherProps
|
|
21
|
+
} = ownProps;
|
|
22
|
+
const classNames = clsx(
|
|
23
|
+
GlobalToggleArrowCssSelector,
|
|
24
|
+
cssModule(
|
|
25
|
+
ToggleArrow_module_default,
|
|
26
|
+
"hop-ToggleArrow"
|
|
27
|
+
),
|
|
28
|
+
stylingProps.className,
|
|
29
|
+
className
|
|
30
|
+
);
|
|
31
|
+
const style = {
|
|
32
|
+
...stylingProps.style,
|
|
33
|
+
...styleProp
|
|
34
|
+
};
|
|
35
|
+
return /* @__PURE__ */ jsx(
|
|
36
|
+
AngleDownIcon,
|
|
37
|
+
{
|
|
38
|
+
ref,
|
|
39
|
+
className: classNames,
|
|
40
|
+
style,
|
|
41
|
+
size: "sm",
|
|
42
|
+
"data-expanded": isExpanded || void 0,
|
|
43
|
+
...otherProps
|
|
44
|
+
}
|
|
45
|
+
);
|
|
46
|
+
}
|
|
47
|
+
var _ToggleArrow = forwardRef(ToggleArrow);
|
|
48
|
+
_ToggleArrow.displayName = "ToggleArrow";
|
|
49
|
+
|
|
50
|
+
export { GlobalToggleArrowCssSelector, _ToggleArrow };
|
|
@@ -8,7 +8,7 @@ import { useContextProps } from 'react-aria-components';
|
|
|
8
8
|
import { jsx } from 'react/jsx-runtime';
|
|
9
9
|
|
|
10
10
|
// css-module:./IconList.module.css#css-module
|
|
11
|
-
var IconList_module_default = { "hop-IconList": "IconList-module__hop-
|
|
11
|
+
var IconList_module_default = { "hop-IconList": "IconList-module__hop-IconList___6xhpN" };
|
|
12
12
|
var GlobalIconListCssSelector = "hop-IconList";
|
|
13
13
|
function IconList(props, ref) {
|
|
14
14
|
[props, ref] = useContextProps(props, ref, IconListContext);
|
|
@@ -7,7 +7,7 @@ import { useContextProps } from 'react-aria-components';
|
|
|
7
7
|
import { jsx } from 'react/jsx-runtime';
|
|
8
8
|
|
|
9
9
|
// css-module:./ListBoxItemSkeleton.module.css#css-module
|
|
10
|
-
var ListBoxItemSkeleton_module_default = { "hop-ListBoxItemSkeleton": "ListBoxItemSkeleton-module__hop-
|
|
10
|
+
var ListBoxItemSkeleton_module_default = { "hop-ListBoxItemSkeleton": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton___Rg9Fq", "placeholder-shimmer": "ListBoxItemSkeleton-module__placeholder-shimmer___u6ub-", "hop-ListBoxItemSkeleton--xs": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--xs___DQk--", "hop-ListBoxItemSkeleton--sm": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--sm___5L8ib", "hop-ListBoxItemSkeleton--md": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--md___CAEDi", "hop-ListBoxItemSkeleton--lg": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--lg___eP2l4" };
|
|
11
11
|
var GlobalListBoxItemSkeletonCssSelector = "hop-ListBoxItemSkeleton";
|
|
12
12
|
function ListBoxItemSkeleton(props, ref) {
|
|
13
13
|
var _a;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useLocalizedString } from './chunk-TFVDF4YH.js';
|
|
2
|
-
import { _Text } from './chunk-
|
|
2
|
+
import { _Text } from './chunk-75I7LTO3.js';
|
|
3
3
|
import { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
4
4
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
5
5
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
@@ -10,7 +10,7 @@ import { composeRenderProps } from 'react-aria-components';
|
|
|
10
10
|
import { jsx } from 'react/jsx-runtime';
|
|
11
11
|
|
|
12
12
|
// css-module:./RemainingCharacterCount.module.css#css-module
|
|
13
|
-
var RemainingCharacterCount_module_default = { "hop-RemainingCharacterCount": "RemainingCharacterCount-module__hop-
|
|
13
|
+
var RemainingCharacterCount_module_default = { "hop-RemainingCharacterCount": "RemainingCharacterCount-module__hop-RemainingCharacterCount___cCpzk" };
|
|
14
14
|
var GlobalRemainingCharacterCountCssSelector = "hop-RemainingCharacterCount";
|
|
15
15
|
function RemainingCharacterCount(props, ref) {
|
|
16
16
|
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
@@ -7,7 +7,7 @@ import { useContextProps, Text } from 'react-aria-components';
|
|
|
7
7
|
import { jsx } from 'react/jsx-runtime';
|
|
8
8
|
|
|
9
9
|
// css-module:./OverlineText.module.css#css-module
|
|
10
|
-
var OverlineText_module_default = { "hop-OverlineText": "OverlineText-module__hop-
|
|
10
|
+
var OverlineText_module_default = { "hop-OverlineText": "OverlineText-module__hop-OverlineText___bCG0m", "hop-OverlineText__text": "OverlineText-module__hop-OverlineText__text___o7Sr6" };
|
|
11
11
|
var GlobalOverlineTextCssSelector = "hop-OverlineText";
|
|
12
12
|
function OverlineText(props, ref) {
|
|
13
13
|
[props, ref] = useContextProps(props, ref, OverlineTextContext);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AvatarContext } from './chunk-AES7QBQE.js';
|
|
2
|
-
import { _RichIconAvatarImage } from './chunk-
|
|
2
|
+
import { _RichIconAvatarImage } from './chunk-566DZ4RC.js';
|
|
3
3
|
import { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
4
4
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
5
5
|
import { AnonymousRichIcon } from '@hopper-ui/icons';
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { useScale } from './chunk-MTDFS4CZ.js';
|
|
2
|
-
import { _InputGroup } from './chunk-F3GTLFKR.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-7H7A6BGG.js';
|
|
4
|
+
import { _HelperMessage } from './chunk-EXO4OJ7Z.js';
|
|
5
|
+
import { ensureTextWrapper } from './chunk-WILQEDLK.js';
|
|
6
|
+
import { _ErrorMessage } from './chunk-KFPJZFZS.js';
|
|
7
|
+
import { _Label } from './chunk-6NX5XSZH.js';
|
|
8
|
+
import { useFormProps } from './chunk-SH3CLZKH.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___0xDEK", "hop-NumberField--fluid": "NumberField-module__hop-NumberField--fluid___hnwEK", "hop-NumberField--mobile": "NumberField-module__hop-NumberField--mobile___Nee2r", "hop-NumberField__Label": "NumberField-module__hop-NumberField__Label___SR3Gs", "hop-NumberField__prefix": "NumberField-module__hop-NumberField__prefix___bmX-H", "hop-NumberField__InputGroup": "NumberField-module__hop-NumberField__InputGroup___h-I-D", "hop-NumberField__ErrorMessage": "NumberField-module__hop-NumberField__ErrorMessage___4dXol", "hop-NumberField__HelperMessage": "NumberField-module__hop-NumberField__HelperMessage___S35Zn", "hop-NumberField__stepper-button": "NumberField-module__hop-NumberField__stepper-button___pxqlA", "hop-NumberField__stepper-button--increment": "NumberField-module__hop-NumberField__stepper-button--increment___ktXFG", "hop-NumberField__stepper-button--decrement": "NumberField-module__hop-NumberField__stepper-button--decrement___gWipP", "hop-NumberField__stepper-button--mobile": "NumberField-module__hop-NumberField__stepper-button--mobile___cSGer", "hop-NumberField__stepper-button__icon": "NumberField-module__hop-NumberField__stepper-button__icon___RO-tI", "hop-NumberField__input": "NumberField-module__hop-NumberField__input___keTth" };
|
|
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,
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { useSlot } from './chunk-H5YTU3U7.js';
|
|
2
|
-
import { ensureTextWrapper } from './chunk-UYXVO6TB.js';
|
|
3
|
-
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
4
2
|
import { LinkButtonContext } from './chunk-3UQFC2NQ.js';
|
|
3
|
+
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
4
|
+
import { ensureTextWrapper } from './chunk-WILQEDLK.js';
|
|
5
|
+
import { useFormProps } from './chunk-SH3CLZKH.js';
|
|
5
6
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
6
7
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
7
8
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
@@ -13,11 +14,12 @@ import { useContextProps, composeRenderProps, DEFAULT_SLOT, Link } from 'react-a
|
|
|
13
14
|
import { jsx } from 'react/jsx-runtime';
|
|
14
15
|
|
|
15
16
|
// css-module:./LinkButton.module.css#css-module
|
|
16
|
-
var LinkButton_module_default = { "hop-LinkButton": "LinkButton-module__hop-
|
|
17
|
+
var LinkButton_module_default = { "hop-LinkButton": "LinkButton-module__hop-LinkButton___n1i2C Button-module__hop-Button___aWAvb", "hop-LinkButton--fluid": "LinkButton-module__hop-LinkButton--fluid___C-q7f Button-module__hop-Button--fluid___pOgS1", "hop-LinkButton--sm": "LinkButton-module__hop-LinkButton--sm___Jm9cq Button-module__hop-Button--sm___EJn1m", "hop-LinkButton--icon-only": "LinkButton-module__hop-LinkButton--icon-only___G-7ia Button-module__hop-Button--icon-only___E63X8", "hop-LinkButton--primary": "LinkButton-module__hop-LinkButton--primary___oT9il Button-module__hop-Button--primary___Lm30i", "hop-LinkButton--secondary": "LinkButton-module__hop-LinkButton--secondary___lf59Y Button-module__hop-Button--secondary___bl3yb", "hop-LinkButton--upsell": "LinkButton-module__hop-LinkButton--upsell___kMlgg Button-module__hop-Button--upsell___ZsXQr", "hop-LinkButton--danger": "LinkButton-module__hop-LinkButton--danger___iQMcR Button-module__hop-Button--danger___VMtVT", "hop-LinkButton--ghost-primary": "LinkButton-module__hop-LinkButton--ghost-primary___ow8OT Button-module__hop-Button--ghost-primary___7eXLd", "hop-LinkButton--ghost-secondary": "LinkButton-module__hop-LinkButton--ghost-secondary___SakNp Button-module__hop-Button--ghost-secondary___6099y", "hop-LinkButton--ghost-danger": "LinkButton-module__hop-LinkButton--ghost-danger___tQ73M Button-module__hop-Button--ghost-danger___NOYOj", "hop-LinkButton__Spinner": "LinkButton-module__hop-LinkButton__Spinner___pNuSh Button-module__hop-Button__Spinner___tUy92", "hop-LinkButton__icon": "LinkButton-module__hop-LinkButton__icon___6OZS4 Button-module__hop-Button__icon___WqWnu", "hop-LinkButton__icon-list": "LinkButton-module__hop-LinkButton__icon-list___cstbL Button-module__hop-Button__icon___WqWnu", "hop-LinkButton__text": "LinkButton-module__hop-LinkButton__text___4iZKg Button-module__hop-Button__text___yHV7K", "hop-LinkButton__end-icon": "LinkButton-module__hop-LinkButton__end-icon___tbINE Button-module__hop-Button__end-icon___YziQH", "hop-LinkButton__end-icon-list": "LinkButton-module__hop-LinkButton__end-icon-list___zkFzr Button-module__hop-Button__end-icon___YziQH" };
|
|
17
18
|
var GlobalLinkButtonCssSelector = "hop-LinkButton";
|
|
18
19
|
function LinkButton(props, ref) {
|
|
19
20
|
var _a, _b;
|
|
20
21
|
[props, ref] = useContextProps(props, ref, LinkButtonContext);
|
|
22
|
+
props = useFormProps(props);
|
|
21
23
|
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
22
24
|
const {
|
|
23
25
|
className,
|
|
@@ -2,7 +2,7 @@ import { SectionContext } from './chunk-5H5AZJPQ.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 } from 'react-aria-components';
|
|
6
6
|
import { jsx } from 'react/jsx-runtime';
|
|
7
7
|
|
|
8
8
|
var GlobalSectionCssSelector = "hop-Section";
|
|
@@ -25,7 +25,7 @@ function Section(props, ref) {
|
|
|
25
25
|
...style
|
|
26
26
|
};
|
|
27
27
|
return /* @__PURE__ */ jsx(
|
|
28
|
-
|
|
28
|
+
ListBoxSection,
|
|
29
29
|
{
|
|
30
30
|
ref,
|
|
31
31
|
className: classNames,
|