@hopper-ui/components 1.3.23 → 1.3.25
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 +15 -0
- package/dist/Avatar/src/AnonymousAvatar.css +37 -37
- package/dist/Avatar/src/AnonymousAvatar.js +3 -3
- package/dist/Avatar/src/Avatar.css +55 -55
- package/dist/Avatar/src/Avatar.js +4 -4
- package/dist/Avatar/src/DeletedAvatar.css +37 -37
- package/dist/Avatar/src/DeletedAvatar.js +3 -3
- package/dist/Avatar/src/RichIconAvatarImage.css +37 -37
- package/dist/Avatar/src/RichIconAvatarImage.js +2 -2
- package/dist/Avatar/src/index.css +55 -55
- package/dist/Avatar/src/index.js +6 -6
- package/dist/Badge/src/Badge.css +42 -42
- package/dist/Badge/src/Badge.js +2 -2
- package/dist/Badge/src/FloatingBadge.css +37 -37
- package/dist/Badge/src/FloatingBadge.js +2 -2
- package/dist/Badge/src/index.css +52 -52
- package/dist/Badge/src/index.js +5 -5
- package/dist/ComboBox/src/ComboBox.css +900 -900
- package/dist/ComboBox/src/ComboBox.js +8 -8
- package/dist/ComboBox/src/ComboBoxOptions.css +900 -900
- package/dist/ComboBox/src/ComboBoxOptions.js +67 -71
- package/dist/ComboBox/src/index.css +900 -900
- package/dist/ComboBox/src/index.js +67 -71
- package/dist/Divider/src/Divider.css +29 -29
- package/dist/Divider/src/Divider.js +1 -1
- package/dist/Divider/src/index.css +29 -29
- package/dist/Divider/src/index.js +1 -1
- package/dist/ErrorMessage/src/ErrorMessage.css +29 -29
- package/dist/ErrorMessage/src/ErrorMessage.js +3 -3
- package/dist/ErrorMessage/src/index.css +29 -29
- package/dist/ErrorMessage/src/index.js +3 -3
- package/dist/Form/src/Form.css +900 -900
- package/dist/Form/src/Form.js +67 -71
- package/dist/Form/src/index.css +900 -900
- package/dist/Form/src/index.js +67 -71
- package/dist/HelperMessage/src/HelperMessage.css +29 -29
- package/dist/HelperMessage/src/HelperMessage.js +2 -2
- package/dist/HelperMessage/src/index.css +29 -29
- package/dist/HelperMessage/src/index.js +2 -2
- package/dist/IconList/src/IconList.css +28 -28
- package/dist/IconList/src/IconList.js +1 -1
- package/dist/IconList/src/index.css +28 -28
- package/dist/IconList/src/index.js +1 -1
- package/dist/Link/src/Link.css +49 -49
- package/dist/Link/src/Link.js +7 -7
- package/dist/Link/src/index.css +49 -49
- package/dist/Link/src/index.js +7 -7
- package/dist/ListBox/src/ListBox.css +406 -406
- package/dist/ListBox/src/ListBox.js +12 -12
- package/dist/ListBox/src/ListBoxItem.css +394 -394
- package/dist/ListBox/src/ListBoxItem.d.ts +1 -1
- package/dist/ListBox/src/ListBoxItem.js +11 -11
- package/dist/ListBox/src/ListBoxItemSkeleton.css +34 -34
- package/dist/ListBox/src/ListBoxItemSkeleton.js +1 -1
- package/dist/ListBox/src/index.css +406 -406
- package/dist/ListBox/src/index.js +12 -12
- package/dist/Select/src/Select.css +428 -428
- package/dist/Select/src/Select.js +8 -8
- package/dist/Select/src/SelectOptions.css +900 -900
- package/dist/Select/src/SelectOptions.js +67 -71
- package/dist/Select/src/SelectValue.css +61 -61
- package/dist/Select/src/SelectValue.js +6 -6
- package/dist/Select/src/index.css +900 -900
- package/dist/Select/src/index.js +67 -71
- package/dist/Spinner/src/Spinner.css +37 -37
- package/dist/Spinner/src/Spinner.js +3 -3
- package/dist/Spinner/src/index.css +37 -37
- package/dist/Spinner/src/index.js +3 -3
- package/dist/buttons/src/Button.css +93 -93
- package/dist/buttons/src/Button.js +8 -8
- package/dist/buttons/src/ButtonGroup.css +38 -38
- package/dist/buttons/src/ButtonGroup.js +1 -1
- package/dist/buttons/src/ClearButton.css +98 -98
- package/dist/buttons/src/ClearButton.js +3 -3
- package/dist/buttons/src/EmbeddedButton.css +98 -98
- package/dist/buttons/src/EmbeddedButton.js +2 -2
- package/dist/buttons/src/LinkButton.css +102 -102
- package/dist/buttons/src/LinkButton.js +8 -8
- package/dist/buttons/src/index.css +249 -249
- package/dist/buttons/src/index.js +14 -14
- package/dist/checkbox/src/Checkbox.css +46 -46
- package/dist/checkbox/src/Checkbox.js +7 -7
- package/dist/checkbox/src/CheckboxField.css +33 -33
- package/dist/checkbox/src/CheckboxField.d.ts +5 -0
- package/dist/checkbox/src/CheckboxField.js +4 -2
- package/dist/checkbox/src/CheckboxGroup.css +98 -98
- package/dist/checkbox/src/CheckboxGroup.d.ts +7 -11
- package/dist/checkbox/src/CheckboxGroup.js +10 -3
- package/dist/checkbox/src/DecorativeCheckbox.css +54 -54
- package/dist/checkbox/src/DecorativeCheckbox.d.ts +1 -1
- package/dist/checkbox/src/DecorativeCheckbox.js +7 -7
- package/dist/checkbox/src/index.css +98 -98
- package/dist/checkbox/src/index.d.ts +1 -3
- package/dist/checkbox/src/index.js +12 -12
- package/dist/{chunk-4PL7X7KE.js → chunk-2ETSJJL5.js} +2 -2
- package/dist/{chunk-LDNIFXIK.js → chunk-2KG3OHKZ.js} +3 -3
- package/dist/{chunk-MMTH7I32.js → chunk-3JTKO6GT.js} +1 -1
- package/dist/{chunk-S3HUD5FR.js → chunk-4TP6C4G2.js} +6 -6
- package/dist/{chunk-SH7Y7ZAK.js → chunk-53JGRJCV.js} +2 -2
- package/dist/{chunk-OJWMKFCM.js → chunk-5HPWSPMG.js} +1 -1
- package/dist/{chunk-VGEDX2KH.js → chunk-62HFZTN3.js} +1 -1
- package/dist/{chunk-Q5ITMJW2.js → chunk-6FGO2GDP.js} +4 -4
- package/dist/{chunk-XFPH3PDB.js → chunk-7F5TKAIG.js} +4 -4
- package/dist/{chunk-ME25LLJQ.js → chunk-A2EH4QHT.js} +2 -2
- package/dist/{chunk-T3RZI4I7.js → chunk-AAMEZDS5.js} +1 -1
- package/dist/{chunk-ZAOJLOO4.js → chunk-AGPDWIJB.js} +1 -1
- package/dist/{chunk-VD3VD7FT.js → chunk-BTHGQBNC.js} +4 -4
- package/dist/{chunk-W5COIO2O.js → chunk-CB2SODXY.js} +2 -2
- package/dist/{chunk-C4MZAXMT.js → chunk-CCZOA5KO.js} +2 -2
- package/dist/{chunk-JM577F4Y.js → chunk-FR7CLIF6.js} +1 -1
- package/dist/{chunk-GS3BOLCC.js → chunk-G5AT4DUS.js} +25 -15
- package/dist/{chunk-5RWK5FRS.js → chunk-HL6KUV6M.js} +4 -4
- package/dist/{chunk-22R324WS.js → chunk-IH3RR5MG.js} +4 -4
- package/dist/{chunk-HC5CLOX3.js → chunk-KAYNG6FW.js} +1 -1
- package/dist/{chunk-GL7Z5DMW.js → chunk-KJIGRQNG.js} +7 -7
- package/dist/{chunk-E5X75YOL.js → chunk-L37Y7HGN.js} +2 -2
- package/dist/{chunk-GUB5P3EE.js → chunk-L7RJGOCA.js} +2 -2
- package/dist/{chunk-V7VLONEF.js → chunk-LVMXSXUU.js} +7 -7
- package/dist/{chunk-JZQ5ECZR.js → chunk-M6YJFDSQ.js} +4 -4
- package/dist/{chunk-YSPOLHL3.js → chunk-MMOO3PA2.js} +22 -13
- package/dist/chunk-N3ZSOPEG.js +133 -0
- package/dist/{chunk-QNC5YD7L.js → chunk-NGK3TCDT.js} +3 -3
- package/dist/{chunk-Q4IWTQWW.js → chunk-NSMUWG64.js} +1 -1
- package/dist/{chunk-274FJB5O.js → chunk-P5EJKG65.js} +2 -2
- package/dist/{chunk-ZSCI4FHZ.js → chunk-P6DGNPLB.js} +1 -1
- package/dist/{chunk-HJZRGFXZ.js → chunk-PAYW2NOQ.js} +3 -3
- package/dist/{chunk-J2ZYJILQ.js → chunk-PM3R4HC6.js} +5 -5
- package/dist/{chunk-HCU4ACIU.js → chunk-QCEUL6I6.js} +2 -2
- package/dist/{chunk-2ASLFWR3.js → chunk-QH5LWKA7.js} +1 -1
- package/dist/{chunk-LJ5XIABY.js → chunk-QIFW365G.js} +3 -3
- package/dist/{chunk-4ICFPMB2.js → chunk-RFDRCPQ7.js} +4 -4
- package/dist/{chunk-7TOEC4BY.js → chunk-SLF2NM3M.js} +3 -3
- package/dist/{chunk-6IOI5J2G.js → chunk-TLQ7IGJK.js} +3 -3
- package/dist/{chunk-EKO72ADZ.js → chunk-VG4DSVZN.js} +3 -3
- package/dist/{chunk-W6PNTZPC.js → chunk-VNW2HMOF.js} +2 -2
- package/dist/{chunk-N5DC4UFP.js → chunk-WABC2ZXX.js} +3 -3
- package/dist/{chunk-QN4JO3ZF.js → chunk-WQT2547E.js} +1 -1
- package/dist/{chunk-2E3YA5WL.js → chunk-WYWHOSC6.js} +3 -3
- package/dist/{chunk-H3MVVKNK.js → chunk-X7WNB6WS.js} +1 -1
- package/dist/{chunk-CFRCUHQZ.js → chunk-XSKVQY7T.js} +11 -11
- package/dist/{chunk-FJJGUPQ2.js → chunk-XVOHLDT7.js} +3 -3
- package/dist/chunk-YSI55QTD.js +133 -0
- package/dist/index.css +900 -900
- package/dist/index.d.ts +4 -8
- package/dist/index.js +67 -71
- package/dist/inputs/src/InputGroup.css +264 -264
- package/dist/inputs/src/InputGroup.js +2 -2
- package/dist/inputs/src/NumberField.css +286 -286
- package/dist/inputs/src/NumberField.js +8 -8
- package/dist/inputs/src/PasswordField.css +274 -274
- package/dist/inputs/src/PasswordField.js +9 -9
- package/dist/inputs/src/RemainingCharacterCount.css +30 -30
- package/dist/inputs/src/RemainingCharacterCount.js +6 -6
- package/dist/inputs/src/SearchField.css +280 -280
- package/dist/inputs/src/SearchField.js +9 -9
- package/dist/inputs/src/TextArea.css +281 -281
- package/dist/inputs/src/TextArea.js +9 -9
- package/dist/inputs/src/TextField.css +278 -278
- package/dist/inputs/src/TextField.js +12 -12
- package/dist/inputs/src/index.css +324 -324
- package/dist/inputs/src/index.js +18 -18
- package/dist/overlays/Popover/src/Popover.css +900 -900
- package/dist/overlays/Popover/src/Popover.js +67 -71
- package/dist/overlays/Popover/src/index.css +900 -900
- package/dist/overlays/Popover/src/index.js +67 -71
- package/dist/radio/src/DecorativeRadio.css +54 -54
- package/dist/radio/src/DecorativeRadio.d.ts +1 -1
- package/dist/radio/src/DecorativeRadio.js +7 -7
- package/dist/radio/src/Radio.css +46 -46
- package/dist/radio/src/Radio.js +7 -7
- package/dist/radio/src/RadioField.css +33 -33
- package/dist/radio/src/RadioField.d.ts +5 -0
- package/dist/radio/src/RadioField.js +3 -2
- package/dist/radio/src/RadioGroup.css +129 -129
- package/dist/radio/src/RadioGroup.d.ts +7 -11
- package/dist/radio/src/RadioGroup.js +11 -4
- package/dist/radio/src/index.css +264 -264
- package/dist/radio/src/index.d.ts +4 -6
- package/dist/radio/src/index.js +13 -13
- package/dist/switch/src/Switch.css +43 -43
- package/dist/switch/src/Switch.js +7 -7
- package/dist/switch/src/SwitchField.css +33 -33
- package/dist/switch/src/SwitchField.js +3 -3
- package/dist/switch/src/index.css +49 -49
- package/dist/switch/src/index.js +9 -9
- package/dist/tag/src/Tag.css +390 -390
- package/dist/tag/src/Tag.js +11 -11
- package/dist/tag/src/TagGroup.css +37 -37
- package/dist/tag/src/TagGroup.js +2 -2
- package/dist/tag/src/TagList.css +27 -27
- package/dist/tag/src/index.css +400 -400
- package/dist/tag/src/index.js +13 -13
- package/dist/typography/Heading/src/Heading.css +27 -27
- package/dist/typography/Heading/src/Heading.js +1 -1
- package/dist/typography/Heading/src/index.css +27 -27
- package/dist/typography/Heading/src/index.js +1 -1
- package/dist/typography/Label/src/Label.css +27 -27
- package/dist/typography/Label/src/Label.js +1 -1
- package/dist/typography/Label/src/index.css +27 -27
- package/dist/typography/Label/src/index.js +1 -1
- package/dist/typography/OverlineText/src/OverlineText.css +27 -27
- package/dist/typography/OverlineText/src/OverlineText.js +1 -1
- package/dist/typography/OverlineText/src/index.css +27 -27
- package/dist/typography/OverlineText/src/index.js +1 -1
- package/dist/typography/Text/src/Text.css +27 -27
- package/dist/typography/Text/src/Text.js +1 -1
- package/dist/typography/Text/src/index.css +27 -27
- package/dist/typography/Text/src/index.js +1 -1
- package/dist/utils/src/EnsureTextWrapper.css +27 -27
- package/dist/utils/src/EnsureTextWrapper.js +5 -5
- package/dist/utils/src/index.css +27 -27
- package/dist/utils/src/index.d.ts +1 -1
- package/dist/utils/src/index.js +6 -6
- package/dist/utils/src/types.d.ts +25 -1
- package/dist/utils/src/useRenderProps.d.ts +2 -1
- package/package.json +19 -18
- package/dist/Avatar/src/AnonymousAvatar.temp.css +0 -296
- package/dist/Avatar/src/AnonymousAvatar.temp.d.ts +0 -31
- package/dist/Avatar/src/AnonymousAvatar.temp.js +0 -60
- package/dist/checkbox/src/CheckboxList.d.ts +0 -17
- package/dist/checkbox/src/CheckboxList.js +0 -3
- package/dist/checkbox/src/CheckboxListContext.d.ts +0 -10
- package/dist/checkbox/src/CheckboxListContext.js +0 -2
- package/dist/chunk-3HAFXWC7.js +0 -105
- package/dist/chunk-3LRBUQC2.js +0 -43
- package/dist/chunk-A7TZHALP.js +0 -7
- package/dist/chunk-CXPA2XU3.js +0 -105
- package/dist/chunk-NKHMUPAP.js +0 -43
- package/dist/chunk-WDUQUPTE.js +0 -7
- package/dist/radio/src/RadioList.d.ts +0 -17
- package/dist/radio/src/RadioList.js +0 -3
- package/dist/radio/src/RadioListContext.d.ts +0 -10
- package/dist/radio/src/RadioListContext.js +0 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ClearButtonContext } from './chunk-DXVKHP4V.js';
|
|
2
|
-
import { _EmbeddedButton } from './chunk-
|
|
2
|
+
import { _EmbeddedButton } from './chunk-P5EJKG65.js';
|
|
3
3
|
import { useLocalizedString } from './chunk-TFVDF4YH.js';
|
|
4
4
|
import { DismissIcon } from '@hopper-ui/icons';
|
|
5
5
|
import { forwardRef } from 'react';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { CheckboxContext } from './chunk-2EAZPH3M.js';
|
|
2
2
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
3
|
-
import { EnsureTextWrapper } from './chunk-
|
|
3
|
+
import { EnsureTextWrapper } from './chunk-QH5LWKA7.js';
|
|
4
4
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
5
5
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
6
|
-
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
7
6
|
import { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
8
7
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
8
|
+
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
9
9
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
10
10
|
import { IconContext, MinusIcon, CheckmarkIcon } from '@hopper-ui/icons';
|
|
11
11
|
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
@@ -15,7 +15,7 @@ import { useContextProps, composeRenderProps } from 'react-aria-components';
|
|
|
15
15
|
import { jsx, jsxs } 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___AbS9w Checkbox-module__hop-Checkbox___egH6w", "hop-DecorativeCheckbox--sm": "DecorativeCheckbox-module__hop-DecorativeCheckbox--sm___pe8Ns Checkbox-module__hop-Checkbox--sm___bE3Lt", "hop-DecorativeCheckbox--md": "DecorativeCheckbox-module__hop-DecorativeCheckbox--md___dNtzP Checkbox-module__hop-Checkbox--md___-VJ30", "hop-DecorativeCheckbox__icon": "DecorativeCheckbox-module__hop-DecorativeCheckbox__icon___kdbBA Checkbox-module__hop-Checkbox__icon___zNKWi", "hop-DecorativeCheckbox__icon-list": "DecorativeCheckbox-module__hop-DecorativeCheckbox__icon-list___-D6ul Checkbox-module__hop-Checkbox__icon___zNKWi", "hop-DecorativeCheckbox__box": "DecorativeCheckbox-module__hop-DecorativeCheckbox__box___CIPTg Checkbox-module__hop-Checkbox__box___VefY2", "hop-DecorativeCheckbox__check": "DecorativeCheckbox-module__hop-DecorativeCheckbox__check___plG89 Checkbox-module__hop-Checkbox__check___fpH6T", "hop-DecorativeCheckbox__text": "DecorativeCheckbox-module__hop-DecorativeCheckbox__text___Amp9H Checkbox-module__hop-Checkbox__text___njOhl" };
|
|
19
19
|
var GlobalDecorativeCheckboxCssSelector = "hop-DecorativeCheckbox";
|
|
20
20
|
function DecorativeCheckbox(props, ref) {
|
|
21
21
|
var _a;
|
|
@@ -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___Y2cEn", "placeholder-shimmer": "ListBoxItemSkeleton-module__placeholder-shimmer___oYBzt", "hop-ListBoxItemSkeleton--xs": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--xs___kt9oJ", "hop-ListBoxItemSkeleton--sm": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--sm___34R4r", "hop-ListBoxItemSkeleton--md": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--md___7TOhU", "hop-ListBoxItemSkeleton--lg": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--lg___o-ej7" };
|
|
11
11
|
var GlobalListBoxItemSkeletonCssSelector = "hop-ListBoxItemSkeleton";
|
|
12
12
|
function ListBoxItemSkeleton(props, ref) {
|
|
13
13
|
var _a;
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import { TagGroupContext } from './chunk-LCAS3YQV.js';
|
|
2
2
|
import { RadioGroupContext } from './chunk-5MBJWRZD.js';
|
|
3
|
-
import { TextFieldContext } from './chunk-O4XPUINW.js';
|
|
4
3
|
import { ContentContext } from './chunk-IXB2WK56.js';
|
|
5
4
|
import { _Footer } from './chunk-GTM56LGX.js';
|
|
6
5
|
import { FooterContext } from './chunk-I67NHYK4.js';
|
|
7
|
-
import { PasswordFieldContext } from './chunk-QW45G6K4.js';
|
|
8
6
|
import { SearchFieldContext } from './chunk-3NKF5TPD.js';
|
|
9
7
|
import { TextAreaContext } from './chunk-MHQZXLKW.js';
|
|
8
|
+
import { TextFieldContext } from './chunk-O4XPUINW.js';
|
|
10
9
|
import { NumberFieldContext } from './chunk-ZQ3AWYRR.js';
|
|
10
|
+
import { PasswordFieldContext } from './chunk-QW45G6K4.js';
|
|
11
11
|
import { CheckboxFieldContext } from './chunk-ZGNK4GWA.js';
|
|
12
12
|
import { CheckboxGroupContext } from './chunk-N7YDPVZL.js';
|
|
13
13
|
import { ButtonGroupContext } from './chunk-VJQ7M2BK.js';
|
|
14
14
|
import { LinkButtonContext } from './chunk-3UQFC2NQ.js';
|
|
15
|
-
import { SelectOptionsContext } from './chunk-CQFXGAJK.js';
|
|
16
15
|
import { ButtonContext as ButtonContext$1 } from './chunk-WMTWFKKP.js';
|
|
17
16
|
import { SelectContext } from './chunk-T24MBA34.js';
|
|
18
|
-
import {
|
|
19
|
-
import { _ListBox } from './chunk-
|
|
17
|
+
import { SelectOptionsContext } from './chunk-CQFXGAJK.js';
|
|
18
|
+
import { _ListBox } from './chunk-6FGO2GDP.js';
|
|
20
19
|
import { isFunction, isNil } from './chunk-TIPN4VYD.js';
|
|
21
20
|
import { CheckboxContext } from './chunk-2EAZPH3M.js';
|
|
22
21
|
import { _HopperProvider } from './chunk-NMKBUGSO.js';
|
|
22
|
+
import { LinkContext } from './chunk-4VVNSXIB.js';
|
|
23
23
|
import { FormContext } from './chunk-EURJK4ZT.js';
|
|
24
|
+
import { ComboBoxOptionsContext } from './chunk-XGOJ7VOE.js';
|
|
25
|
+
import { BadgeContext } from './chunk-CQDLZ42T.js';
|
|
24
26
|
import { PopoverContext } from './chunk-SC6ZK5ON.js';
|
|
25
27
|
import { ListBoxContext } from './chunk-UIEP5BA5.js';
|
|
26
|
-
import { EnsureTextWrapper } from './chunk-
|
|
28
|
+
import { EnsureTextWrapper } from './chunk-QH5LWKA7.js';
|
|
27
29
|
import { HeadingContext } from './chunk-TXZ6BMFR.js';
|
|
28
30
|
import { LabelContext } from './chunk-QCA3ZR56.js';
|
|
29
31
|
import { ComboBoxContext } from './chunk-4XHTP4GX.js';
|
|
30
|
-
import { ComboBoxOptionsContext } from './chunk-XGOJ7VOE.js';
|
|
31
|
-
import { BadgeContext } from './chunk-CQDLZ42T.js';
|
|
32
32
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
33
33
|
import { ClearProviders } from './chunk-HXI3MEEK.js';
|
|
34
|
-
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
35
34
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
35
|
+
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
36
36
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
37
37
|
import { useStyledSystem, useResponsiveValue, useColorSchemeContext } from '@hopper-ui/styled-system';
|
|
38
38
|
export * from '@hopper-ui/styled-system';
|
|
@@ -123,7 +123,7 @@ var _ComboBoxOptions = forwardRef(ComboBoxOptions);
|
|
|
123
123
|
_ComboBoxOptions.displayName = "ComboBoxOptions";
|
|
124
124
|
|
|
125
125
|
// css-module:./Form.module.css#css-module
|
|
126
|
-
var Form_module_default = { "hop-Form": "Form-module__hop-
|
|
126
|
+
var Form_module_default = { "hop-Form": "Form-module__hop-Form___k-qf6" };
|
|
127
127
|
var GlobalFormCssSelector = "hop-Form";
|
|
128
128
|
function Form(props, ref) {
|
|
129
129
|
var _a;
|
|
@@ -738,7 +738,7 @@ function $f86e6c1ec7da6ebb$export$bc3384a35de93d66(options) {
|
|
|
738
738
|
}
|
|
739
739
|
|
|
740
740
|
// css-module:./Popover.module.css#css-module
|
|
741
|
-
var Popover_module_default = { "hop-Popover": "Popover-module__hop-
|
|
741
|
+
var Popover_module_default = { "hop-Popover": "Popover-module__hop-Popover___0W4lQ", "fade": "Popover-module__fade___-Uil4", "hop-Popover__wrapper": "Popover-module__hop-Popover__wrapper___1zEVU", "hop-Popover__dialog": "Popover-module__hop-Popover__dialog___Mt9Jo", "hop-Popover__dropdown": "Popover-module__hop-Popover__dropdown___PoQpI", "hop-Popover__title": "Popover-module__hop-Popover__title___1oWTa", "hop-Popover__content": "Popover-module__hop-Popover__content___Rgicc", "hop-Popover__list-box": "Popover-module__hop-Popover__list-box___LQ8My", "hop-Popover__footer": "Popover-module__hop-Popover__footer___EiDp8", "hop-Popover__actions": "Popover-module__hop-Popover__actions___R0VZP", "hop-Popover__action": "Popover-module__hop-Popover__action___0c-dO" };
|
|
742
742
|
var GlobalPopoverCssSelector = "hop-Popover";
|
|
743
743
|
function Popover(props, ref) {
|
|
744
744
|
var _a;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { PopoverContext } from './chunk-SC6ZK5ON.js';
|
|
2
2
|
import { ListBoxContext } from './chunk-UIEP5BA5.js';
|
|
3
|
-
import { EnsureTextWrapper } from './chunk-
|
|
3
|
+
import { EnsureTextWrapper } from './chunk-QH5LWKA7.js';
|
|
4
4
|
import { LabelContext } from './chunk-QCA3ZR56.js';
|
|
5
5
|
import { HelperMessageContext } from './chunk-HZKFQ33E.js';
|
|
6
6
|
import { ErrorMessageContext } from './chunk-FAE27DLF.js';
|
|
7
7
|
import { ComboBoxContext } from './chunk-4XHTP4GX.js';
|
|
8
8
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
9
9
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
10
|
-
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
11
10
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
11
|
+
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
12
12
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
13
13
|
import { IconContext, AngleUpIcon, AngleDownIcon } from '@hopper-ui/icons';
|
|
14
14
|
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
@@ -18,7 +18,7 @@ import { useContextProps, useSlottedContext, InputContext, composeRenderProps, C
|
|
|
18
18
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
19
19
|
|
|
20
20
|
// css-module:./ComboBox.module.css#css-module
|
|
21
|
-
var ComboBox_module_default = { "hop-ComboBox": "ComboBox-module__hop-
|
|
21
|
+
var ComboBox_module_default = { "hop-ComboBox": "ComboBox-module__hop-ComboBox___a9LpO", "hop-ComboBox--fluid": "ComboBox-module__hop-ComboBox--fluid___d-xQt", "hop-ComboBox__label": "ComboBox-module__hop-ComboBox__label___1Pmp0", "hop-ComboBox__trigger": "ComboBox-module__hop-ComboBox__trigger___Y0udS", "hop-ComboBox__trigger--sm": "ComboBox-module__hop-ComboBox__trigger--sm___iATng", "hop-ComboBox__trigger--md": "ComboBox-module__hop-ComboBox__trigger--md___4-gUx", "hop-ComboBox__input": "ComboBox-module__hop-ComboBox__input___uEoSl", "hop-ComboBox__button": "ComboBox-module__hop-ComboBox__button___-e9b-", "hop-ComboBox__prefix": "ComboBox-module__hop-ComboBox__prefix___omevd", "hop-ComboBox__button-icon": "ComboBox-module__hop-ComboBox__button-icon___LTpHS", "hop-ComboBox__helper-message": "ComboBox-module__hop-ComboBox__helper-message___avOXN", "hop-ComboBox__error-message": "ComboBox-module__hop-ComboBox__error-message___QGgiZ" };
|
|
22
22
|
var GlobalComboBoxCssSelector = "hop-ComboBox";
|
|
23
23
|
function ComboBox(props, ref) {
|
|
24
24
|
var _a, _b, _c;
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import { RadioFieldContext } from './chunk-DGLAGYBD.js';
|
|
2
|
+
import { RadioGroupContext } from './chunk-5MBJWRZD.js';
|
|
3
|
+
import { RadioContext } from './chunk-FU5CCPLP.js';
|
|
4
|
+
import { _HelperMessage } from './chunk-L37Y7HGN.js';
|
|
5
|
+
import { _ErrorMessage } from './chunk-2ETSJJL5.js';
|
|
6
|
+
import { _Label } from './chunk-AAMEZDS5.js';
|
|
7
|
+
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
8
|
+
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
9
|
+
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
10
|
+
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
11
|
+
import clsx from 'clsx';
|
|
12
|
+
import { forwardRef } from 'react';
|
|
13
|
+
import { useContextProps, composeRenderProps, RadioGroup as RadioGroup$1 } from 'react-aria-components';
|
|
14
|
+
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
15
|
+
|
|
16
|
+
// css-module:./RadioGroup.module.css#css-module
|
|
17
|
+
var RadioGroup_module_default = { "hop-RadioGroup": "RadioGroup-module__hop-RadioGroup___S5RSh", "hop-RadioGroup--bordered": "RadioGroup-module__hop-RadioGroup--bordered___lbjiV", "hop-RadioGroup--sm": "RadioGroup-module__hop-RadioGroup--sm___55KLp", "hop-RadioGroup--md": "RadioGroup-module__hop-RadioGroup--md___hI2c8", "hop-RadioGroup__label": "RadioGroup-module__hop-RadioGroup__label___VqckA", "hop-RadioGroup__list": "RadioGroup-module__hop-RadioGroup__list___pCNlq", "hop-RadioGroup__radio": "RadioGroup-module__hop-RadioGroup__radio___82uWm", "hop-RadioGroup__error-message": "RadioGroup-module__hop-RadioGroup__error-message___EQAOM", "hop-RadioGroup__helper-message": "RadioGroup-module__hop-RadioGroup__helper-message___A0DRQ" };
|
|
18
|
+
var GlobalRadioGroupCssSelector = "hop-RadioGroup";
|
|
19
|
+
function RadioGroup(props, ref) {
|
|
20
|
+
var _a, _b, _c;
|
|
21
|
+
[props, ref] = useContextProps(props, ref, RadioGroupContext);
|
|
22
|
+
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
23
|
+
const { stylingProps: listStylingProps, ...listProps } = useStyledSystem((_a = ownProps.listProps) != null ? _a : {});
|
|
24
|
+
const {
|
|
25
|
+
className,
|
|
26
|
+
children: childrenProp,
|
|
27
|
+
description,
|
|
28
|
+
errorMessage,
|
|
29
|
+
isDisabled,
|
|
30
|
+
isInvalid,
|
|
31
|
+
isRequired,
|
|
32
|
+
label,
|
|
33
|
+
orientation: orientationProp = "vertical",
|
|
34
|
+
size: sizeProp = "md",
|
|
35
|
+
style: styleProp,
|
|
36
|
+
variant = "borderless",
|
|
37
|
+
necessityIndicator,
|
|
38
|
+
...otherProps
|
|
39
|
+
} = ownProps;
|
|
40
|
+
const {
|
|
41
|
+
className: listClassName,
|
|
42
|
+
slot: listSlot,
|
|
43
|
+
style: listStyleProp,
|
|
44
|
+
...otherListProps
|
|
45
|
+
} = listProps;
|
|
46
|
+
const orientation = (_b = useResponsiveValue(orientationProp)) != null ? _b : "vertical";
|
|
47
|
+
const size = (_c = useResponsiveValue(sizeProp)) != null ? _c : "md";
|
|
48
|
+
const classNames = composeClassnameRenderProps(
|
|
49
|
+
className,
|
|
50
|
+
GlobalRadioGroupCssSelector,
|
|
51
|
+
cssModule(
|
|
52
|
+
RadioGroup_module_default,
|
|
53
|
+
"hop-RadioGroup",
|
|
54
|
+
size,
|
|
55
|
+
variant
|
|
56
|
+
),
|
|
57
|
+
stylingProps.className
|
|
58
|
+
);
|
|
59
|
+
const listClassNames = clsx(
|
|
60
|
+
RadioGroup_module_default["hop-RadioGroup__list"],
|
|
61
|
+
listClassName,
|
|
62
|
+
listStylingProps.className
|
|
63
|
+
);
|
|
64
|
+
const style = composeRenderProps(styleProp, (prev) => {
|
|
65
|
+
return {
|
|
66
|
+
...stylingProps.style,
|
|
67
|
+
...prev
|
|
68
|
+
};
|
|
69
|
+
});
|
|
70
|
+
const listStyle = {
|
|
71
|
+
...listStylingProps.style,
|
|
72
|
+
...listStyleProp
|
|
73
|
+
};
|
|
74
|
+
const children = composeRenderProps(childrenProp, (prev) => {
|
|
75
|
+
return /* @__PURE__ */ jsx(
|
|
76
|
+
"div",
|
|
77
|
+
{
|
|
78
|
+
className: listClassNames,
|
|
79
|
+
slot: listSlot != null ? listSlot : void 0,
|
|
80
|
+
style: listStyle,
|
|
81
|
+
...otherListProps,
|
|
82
|
+
children: prev
|
|
83
|
+
}
|
|
84
|
+
);
|
|
85
|
+
});
|
|
86
|
+
return /* @__PURE__ */ jsx(
|
|
87
|
+
SlotProvider,
|
|
88
|
+
{
|
|
89
|
+
values: [
|
|
90
|
+
[RadioContext, {
|
|
91
|
+
className: RadioGroup_module_default["hop-RadioGroup__radio"],
|
|
92
|
+
size
|
|
93
|
+
}],
|
|
94
|
+
[RadioFieldContext, {
|
|
95
|
+
className: RadioGroup_module_default["hop-RadioGroup__radio"],
|
|
96
|
+
size,
|
|
97
|
+
isDisabled
|
|
98
|
+
}]
|
|
99
|
+
],
|
|
100
|
+
children: /* @__PURE__ */ jsx(
|
|
101
|
+
RadioGroup$1,
|
|
102
|
+
{
|
|
103
|
+
ref,
|
|
104
|
+
className: classNames,
|
|
105
|
+
style,
|
|
106
|
+
isInvalid,
|
|
107
|
+
isDisabled,
|
|
108
|
+
isRequired,
|
|
109
|
+
orientation,
|
|
110
|
+
...otherProps,
|
|
111
|
+
children: (radioGroupRenderProps) => /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
112
|
+
label && /* @__PURE__ */ jsx(
|
|
113
|
+
_Label,
|
|
114
|
+
{
|
|
115
|
+
className: RadioGroup_module_default["hop-RadioGroup__label"],
|
|
116
|
+
isRequired,
|
|
117
|
+
necessityIndicator,
|
|
118
|
+
children: label
|
|
119
|
+
}
|
|
120
|
+
),
|
|
121
|
+
children(radioGroupRenderProps),
|
|
122
|
+
description && /* @__PURE__ */ jsx(_HelperMessage, { className: RadioGroup_module_default["hop-RadioGroup__helper-message"], hideIcon: true, children: description }),
|
|
123
|
+
errorMessage && /* @__PURE__ */ jsx(_ErrorMessage, { className: RadioGroup_module_default["hop-RadioGroup__error-message"], hideIcon: true, children: errorMessage })
|
|
124
|
+
] })
|
|
125
|
+
}
|
|
126
|
+
)
|
|
127
|
+
}
|
|
128
|
+
);
|
|
129
|
+
}
|
|
130
|
+
var _RadioGroup = forwardRef(RadioGroup);
|
|
131
|
+
_RadioGroup.displayName = "RadioGroup";
|
|
132
|
+
|
|
133
|
+
export { GlobalRadioGroupCssSelector, _RadioGroup };
|