@hopper-ui/components 1.3.19 → 1.3.21
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 +19 -0
- package/dist/Avatar/src/AnonymousAvatar.css +37 -37
- package/dist/Avatar/src/AnonymousAvatar.js +2 -2
- package/dist/Avatar/src/Avatar.css +55 -55
- package/dist/Avatar/src/Avatar.js +3 -3
- package/dist/Avatar/src/DeletedAvatar.css +37 -37
- package/dist/Avatar/src/DeletedAvatar.js +2 -2
- package/dist/Avatar/src/RichIconAvatarImage.css +37 -37
- package/dist/Avatar/src/RichIconAvatarImage.js +1 -1
- package/dist/Avatar/src/index.css +55 -55
- package/dist/Avatar/src/index.js +5 -5
- 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 +1 -1
- package/dist/Badge/src/index.css +52 -52
- package/dist/Badge/src/index.js +3 -3
- package/dist/{ClearButton-_NnHqYE1.d.ts → ClearButton-DTR1qTbm.d.ts} +1 -3
- package/dist/ComboBox/src/ComboBox.css +1179 -866
- package/dist/ComboBox/src/ComboBox.js +6 -6
- package/dist/ComboBox/src/ComboBoxOptions.css +1179 -866
- package/dist/ComboBox/src/ComboBoxOptions.js +58 -56
- package/dist/ComboBox/src/index.css +1179 -866
- package/dist/ComboBox/src/index.js +58 -56
- 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 +2 -2
- package/dist/ErrorMessage/src/index.css +29 -29
- package/dist/ErrorMessage/src/index.js +2 -2
- package/dist/Form/src/Form.css +1179 -866
- package/dist/Form/src/Form.js +58 -56
- package/dist/Form/src/index.css +1179 -866
- package/dist/Form/src/index.js +58 -56
- 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 +6 -6
- package/dist/Link/src/index.css +49 -49
- package/dist/Link/src/index.js +6 -6
- package/dist/ListBox/src/ListBox.css +274 -274
- package/dist/ListBox/src/ListBox.js +10 -10
- package/dist/ListBox/src/ListBoxItem.css +262 -262
- package/dist/ListBox/src/ListBoxItem.d.ts +2 -6
- package/dist/ListBox/src/ListBoxItem.js +9 -9
- package/dist/ListBox/src/ListBoxItemContext.d.ts +1 -2
- package/dist/ListBox/src/ListBoxItemSkeleton.css +34 -34
- package/dist/ListBox/src/ListBoxItemSkeleton.d.ts +0 -1
- package/dist/ListBox/src/ListBoxItemSkeleton.js +1 -1
- package/dist/ListBox/src/ListBoxItemSkeletonContext.d.ts +0 -1
- package/dist/ListBox/src/index.css +274 -274
- package/dist/ListBox/src/index.js +10 -10
- package/dist/Select/src/Select.css +296 -296
- package/dist/Select/src/Select.js +7 -7
- package/dist/Select/src/SelectOptions.css +1179 -866
- package/dist/Select/src/SelectOptions.js +58 -56
- package/dist/Select/src/SelectValue.css +61 -61
- package/dist/Select/src/SelectValue.js +5 -5
- package/dist/Select/src/index.css +1179 -866
- package/dist/Select/src/index.js +58 -56
- package/dist/Spinner/src/Spinner.css +37 -37
- package/dist/Spinner/src/Spinner.js +2 -2
- package/dist/Spinner/src/index.css +37 -37
- package/dist/Spinner/src/index.js +2 -2
- package/dist/buttons/src/Button.css +186 -265
- package/dist/buttons/src/Button.d.ts +5 -14
- package/dist/buttons/src/Button.js +7 -8
- package/dist/buttons/src/ButtonContext.d.ts +4 -6
- package/dist/buttons/src/ButtonGroup.css +38 -38
- package/dist/buttons/src/ButtonGroup.d.ts +1 -2
- package/dist/buttons/src/ButtonGroup.js +2 -1
- package/dist/buttons/src/ButtonGroupContext.d.ts +1 -2
- package/dist/buttons/src/ClearButton.css +98 -98
- package/dist/buttons/src/ClearButton.d.ts +1 -1
- package/dist/buttons/src/ClearButton.js +2 -2
- package/dist/buttons/src/ClearButtonContext.d.ts +1 -1
- package/dist/buttons/src/EmbeddedButton.css +98 -98
- package/dist/buttons/src/EmbeddedButton.d.ts +1 -1
- package/dist/buttons/src/EmbeddedButton.js +1 -1
- package/dist/buttons/src/EmbeddedButtonContext.d.ts +1 -1
- package/dist/buttons/src/LinkButton.css +627 -0
- package/dist/buttons/src/LinkButton.d.ts +30 -0
- package/dist/buttons/src/LinkButton.js +21 -0
- package/dist/buttons/src/LinkButtonContext.d.ts +9 -0
- package/dist/buttons/src/LinkButtonContext.js +2 -0
- package/dist/buttons/src/index.css +660 -347
- package/dist/buttons/src/index.d.ts +7 -4
- package/dist/buttons/src/index.js +12 -11
- package/dist/checkbox/src/Checkbox.css +46 -46
- package/dist/checkbox/src/Checkbox.js +6 -6
- package/dist/checkbox/src/CheckboxField.css +33 -33
- package/dist/checkbox/src/CheckboxField.js +1 -1
- package/dist/checkbox/src/CheckboxGroup.css +98 -98
- package/dist/checkbox/src/CheckboxGroup.js +1 -1
- package/dist/checkbox/src/DecorativeCheckbox.css +54 -54
- package/dist/checkbox/src/DecorativeCheckbox.js +6 -6
- package/dist/checkbox/src/index.css +98 -98
- package/dist/checkbox/src/index.js +9 -9
- package/dist/{chunk-PRRWXAH6.js → chunk-2FXHD5EF.js} +2 -2
- package/dist/{chunk-AZZPA2LW.js → chunk-3PONZZJH.js} +1 -1
- package/dist/{chunk-SP77UBAZ.js → chunk-3TN23WXI.js} +2 -2
- package/dist/chunk-3UQFC2NQ.js +7 -0
- package/dist/{chunk-LSNF44NV.js → chunk-4MJUV4Y4.js} +1 -1
- package/dist/{chunk-2REEY4WL.js → chunk-7XRGRMKN.js} +5 -3
- package/dist/{chunk-ZC6L6YVM.js → chunk-AJAXFPMZ.js} +1 -1
- package/dist/{chunk-WNSRRKT4.js → chunk-BZDYEIAN.js} +14 -3
- package/dist/{chunk-ZSX65Q2Z.js → chunk-CRBWHSR5.js} +1 -1
- package/dist/{chunk-MU3JYORH.js → chunk-D3ES4N5I.js} +3 -3
- package/dist/{chunk-UBFL654S.js → chunk-DQ3RMWYV.js} +5 -5
- package/dist/{chunk-FGW443T2.js → chunk-DSDDTQSP.js} +3 -3
- package/dist/{chunk-Q6BAJIO5.js → chunk-E6KLDSL7.js} +2 -2
- package/dist/{chunk-3UDYVVZU.js → chunk-EI3IUNUO.js} +2 -2
- package/dist/{chunk-IS2BGYLY.js → chunk-F6SXVFV7.js} +2 -2
- package/dist/{chunk-M5W6ERG2.js → chunk-H5SFGSQY.js} +2 -2
- package/dist/{chunk-SFCKVMYU.js → chunk-HCDZVQF5.js} +2 -2
- package/dist/{chunk-RX6A4PRX.js → chunk-HEAER6AM.js} +1 -1
- package/dist/{chunk-PBYJNOG2.js → chunk-HIDFOPDG.js} +2 -2
- package/dist/{chunk-64KJ34CI.js → chunk-I7RO3Y4Y.js} +1 -1
- package/dist/{chunk-PPLVWRK2.js → chunk-ID7CLQIZ.js} +1 -1
- package/dist/{chunk-PS7WUB3A.js → chunk-IRP5O2PB.js} +1 -1
- package/dist/{chunk-IRCC3UPO.js → chunk-IVVBR4PT.js} +1 -1
- package/dist/{chunk-DZKGGMUX.js → chunk-J3D3EFH7.js} +2 -2
- package/dist/{chunk-CH737ZX3.js → chunk-KGVQXCKY.js} +6 -6
- package/dist/{chunk-Z3FPJEJF.js → chunk-KWYYG3UT.js} +1 -1
- package/dist/{chunk-O3ZEY7CW.js → chunk-LTIKJWVL.js} +1 -1
- package/dist/{chunk-GL7VLPBW.js → chunk-MCGBD7B2.js} +3 -3
- package/dist/{chunk-GPEHOZZZ.js → chunk-MHDM4YO4.js} +1 -1
- package/dist/{chunk-YJI422TC.js → chunk-N4TMRRF4.js} +2 -2
- package/dist/{chunk-2GICZNLE.js → chunk-NH4G3E35.js} +1 -1
- package/dist/{chunk-HAANV3KV.js → chunk-NZUOHL5V.js} +1 -1
- package/dist/{chunk-C2NLOFTM.js → chunk-OD7U6X4F.js} +2 -2
- package/dist/{chunk-TOGZZNBR.js → chunk-QFWFNJTE.js} +5 -5
- package/dist/{chunk-GNRP6XEK.js → chunk-QTVWIRCB.js} +3 -3
- package/dist/{chunk-XZHYEQHC.js → chunk-RJW3T3TL.js} +12 -6
- package/dist/{chunk-TWW7CCA5.js → chunk-SH2PCVCP.js} +1 -1
- package/dist/{chunk-RG6K6GEC.js → chunk-SM3RKPS2.js} +3 -3
- package/dist/{chunk-32NTVJGG.js → chunk-SUMAGCIA.js} +2 -2
- package/dist/chunk-T54ITIHK.js +107 -0
- package/dist/{chunk-JCIL76AS.js → chunk-UHT3G5QZ.js} +1 -1
- package/dist/chunk-UKR2P5OV.js +130 -0
- package/dist/{chunk-W3BZV5E6.js → chunk-WMRLDPFX.js} +2 -2
- package/dist/{chunk-ESN3V5U5.js → chunk-X5N7I2HV.js} +3 -3
- package/dist/{chunk-S2ZLZ5GK.js → chunk-XSAC6GZB.js} +3 -3
- package/dist/{chunk-I3L55E7N.js → chunk-Y76Z32VB.js} +1 -1
- package/dist/{chunk-PG6KV5GW.js → chunk-YGZQBJTZ.js} +11 -6
- package/dist/{chunk-O5LG53HF.js → chunk-YIIWGRHM.js} +2 -2
- package/dist/{chunk-VJKLOE2J.js → chunk-ZWUASBUA.js} +1 -1
- package/dist/index.css +1179 -866
- package/dist/index.d.ts +7 -4
- package/dist/index.js +58 -56
- package/dist/inputs/src/InputGroup.css +675 -362
- package/dist/inputs/src/InputGroup.js +1 -1
- package/dist/inputs/src/NumberField.css +697 -384
- package/dist/inputs/src/NumberField.js +8 -8
- package/dist/inputs/src/PasswordField.css +685 -372
- package/dist/inputs/src/PasswordField.d.ts +1 -1
- package/dist/inputs/src/PasswordField.js +8 -8
- package/dist/inputs/src/PasswordFieldContext.d.ts +1 -1
- package/dist/inputs/src/RemainingCharacterCount.css +30 -30
- package/dist/inputs/src/RemainingCharacterCount.js +5 -5
- package/dist/inputs/src/SearchField.css +691 -378
- package/dist/inputs/src/SearchField.d.ts +1 -1
- package/dist/inputs/src/SearchField.js +8 -8
- package/dist/inputs/src/SearchFieldContext.d.ts +1 -1
- package/dist/inputs/src/TextArea.css +692 -379
- package/dist/inputs/src/TextArea.js +7 -7
- package/dist/inputs/src/TextField.css +689 -376
- package/dist/inputs/src/TextField.js +11 -11
- package/dist/inputs/src/index.css +735 -422
- package/dist/inputs/src/index.d.ts +1 -1
- package/dist/inputs/src/index.js +17 -17
- package/dist/overlays/Popover/src/Popover.css +1179 -866
- package/dist/overlays/Popover/src/Popover.js +58 -56
- package/dist/overlays/Popover/src/index.css +1179 -866
- package/dist/overlays/Popover/src/index.js +58 -56
- package/dist/radio/src/DecorativeRadio.css +54 -54
- package/dist/radio/src/DecorativeRadio.js +6 -6
- package/dist/radio/src/Radio.css +46 -46
- package/dist/radio/src/Radio.js +6 -6
- package/dist/radio/src/RadioField.css +33 -33
- package/dist/radio/src/RadioField.js +1 -1
- package/dist/radio/src/RadioGroup.css +98 -98
- package/dist/radio/src/RadioGroup.js +2 -2
- package/dist/radio/src/index.css +98 -98
- package/dist/radio/src/index.js +10 -10
- package/dist/switch/src/Switch.css +43 -43
- package/dist/switch/src/Switch.js +6 -6
- package/dist/switch/src/SwitchField.css +33 -33
- package/dist/switch/src/SwitchField.js +2 -2
- package/dist/switch/src/index.css +49 -49
- package/dist/switch/src/index.js +8 -8
- package/dist/tag/src/Tag.css +801 -488
- package/dist/tag/src/Tag.d.ts +1 -1
- package/dist/tag/src/Tag.js +9 -9
- package/dist/tag/src/TagContext.d.ts +1 -1
- package/dist/tag/src/TagGroup.css +37 -37
- package/dist/tag/src/TagGroup.d.ts +1 -1
- package/dist/tag/src/TagGroup.js +1 -1
- package/dist/tag/src/TagGroupContext.d.ts +1 -1
- package/dist/tag/src/TagList.css +27 -27
- package/dist/tag/src/index.css +811 -498
- package/dist/tag/src/index.d.ts +1 -1
- package/dist/tag/src/index.js +10 -10
- package/dist/types-CVCUJ7un.d.ts +4 -0
- 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.js +6 -6
- package/package.json +10 -10
- package/dist/chunk-2GJNPGAM.js +0 -187
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SwitchContext } from './chunk-YHBJAXUY.js';
|
|
2
1
|
import { SwitchFieldContext } from './chunk-H7VJS4MX.js';
|
|
2
|
+
import { SwitchContext } from './chunk-YHBJAXUY.js';
|
|
3
3
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
4
4
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
5
5
|
import { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
@@ -12,7 +12,7 @@ import { useContextProps, composeRenderProps } from 'react-aria-components';
|
|
|
12
12
|
import { jsx } from 'react/jsx-runtime';
|
|
13
13
|
|
|
14
14
|
// css-module:./SwitchField.module.css#css-module
|
|
15
|
-
var SwitchField_module_default = { "hop-SwitchField": "SwitchField-module__hop-
|
|
15
|
+
var SwitchField_module_default = { "hop-SwitchField": "SwitchField-module__hop-SwitchField___8mqTD", "hop-SwitchField--sm": "SwitchField-module__hop-SwitchField--sm___xCPif", "hop-SwitchField--md": "SwitchField-module__hop-SwitchField--md___MVRHF", "hop-SwitchField__description": "SwitchField-module__hop-SwitchField__description___YV7ZQ", "hop-SwitchField__switch": "SwitchField-module__hop-SwitchField__switch___5DyVa" };
|
|
16
16
|
var GlobalSwitchFieldCssSelector = "hop-SwitchField";
|
|
17
17
|
var SwitchToDescriptionSizeAdapter = {
|
|
18
18
|
sm: "xs",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { TagContext } from './chunk-EWMWQ2MC.js';
|
|
2
|
-
import { _ClearButton } from './chunk-
|
|
3
|
-
import { mapOrbiterToHopperVariants } from './chunk-
|
|
4
|
-
import { _Spinner } from './chunk-
|
|
2
|
+
import { _ClearButton } from './chunk-UHT3G5QZ.js';
|
|
3
|
+
import { mapOrbiterToHopperVariants } from './chunk-7XRGRMKN.js';
|
|
4
|
+
import { _Spinner } from './chunk-E6KLDSL7.js';
|
|
5
5
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
6
|
-
import { EnsureTextWrapper } from './chunk-
|
|
6
|
+
import { EnsureTextWrapper } from './chunk-MHDM4YO4.js';
|
|
7
7
|
import { useLocalizedString } from './chunk-TFVDF4YH.js';
|
|
8
8
|
import { BadgeContext } from './chunk-CQDLZ42T.js';
|
|
9
9
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
@@ -20,7 +20,7 @@ import { useContextProps, composeRenderProps, Tag as Tag$1 } from 'react-aria-co
|
|
|
20
20
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
21
21
|
|
|
22
22
|
// css-module:./Tag.module.css#css-module
|
|
23
|
-
var Tag_module_default = { "hop-Tag": "Tag-module__hop-
|
|
23
|
+
var Tag_module_default = { "hop-Tag": "Tag-module__hop-Tag___rDWrj", "hop-Tag--sm": "Tag-module__hop-Tag--sm___G43uy", "hop-Tag__remove-btn": "Tag-module__hop-Tag__remove-btn___4UalQ", "hop-Tag__Spinner": "Tag-module__hop-Tag__Spinner___hECt2", "hop-Tag__avatar": "Tag-module__hop-Tag__avatar___-Mf3W", "hop-Tag--md": "Tag-module__hop-Tag--md___GjBY4", "hop-Tag--lg": "Tag-module__hop-Tag--lg___jH8cV", "hop-Tag--neutral": "Tag-module__hop-Tag--neutral___DMXm-", "hop-Tag--subdued": "Tag-module__hop-Tag--subdued___cHcuG", "hop-Tag--progress": "Tag-module__hop-Tag--progress___yT1Yp", "hop-Tag--positive": "Tag-module__hop-Tag--positive___Wo-dp", "hop-Tag--caution": "Tag-module__hop-Tag--caution___m6YZy", "hop-Tag--negative": "Tag-module__hop-Tag--negative___mn5nz", "hop-Tag--option1": "Tag-module__hop-Tag--option1___DvYvC", "hop-Tag--option2": "Tag-module__hop-Tag--option2___qBDkw", "hop-Tag--option3": "Tag-module__hop-Tag--option3___134rX", "hop-Tag--option4": "Tag-module__hop-Tag--option4___0E7FR", "hop-Tag--option5": "Tag-module__hop-Tag--option5___E00Yw", "hop-Tag--option6": "Tag-module__hop-Tag--option6___NfLqm", "hop-Tag__icon": "Tag-module__hop-Tag__icon___4bQPB", "hop-Tag__icon-list": "Tag-module__hop-Tag__icon-list___XyMyY", "hop-Tag__text": "Tag-module__hop-Tag__text___K1ewf", "hop-Tag__badge": "Tag-module__hop-Tag__badge___xuEf-" };
|
|
24
24
|
var GlobalTagCssSelector = "hop-Tag";
|
|
25
25
|
var TagToTextSizeAdapter = {
|
|
26
26
|
sm: "xs",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SearchFieldContext } from './chunk-3NKF5TPD.js';
|
|
2
|
-
import { _InputGroup } from './chunk-
|
|
3
|
-
import { _ClearButton } from './chunk-
|
|
2
|
+
import { _InputGroup } from './chunk-I7RO3Y4Y.js';
|
|
3
|
+
import { _ClearButton } from './chunk-UHT3G5QZ.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';
|
|
@@ -18,7 +18,7 @@ import { useContextProps, composeRenderProps, Input, SearchField as SearchField$
|
|
|
18
18
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
19
19
|
|
|
20
20
|
// css-module:./SearchField.module.css#css-module
|
|
21
|
-
var SearchField_module_default = { "hop-SearchField": "SearchField-module__hop-
|
|
21
|
+
var SearchField_module_default = { "hop-SearchField": "SearchField-module__hop-SearchField___ZkY8S", "hop-SearchField--fluid": "SearchField-module__hop-SearchField--fluid___Y312D", "hop-SearchField__Label": "SearchField-module__hop-SearchField__Label___M5qca", "hop-SearchField__prefix": "SearchField-module__hop-SearchField__prefix___hQOmk", "hop-SearchField__InputGroup": "SearchField-module__hop-SearchField__InputGroup___w6-F4", "hop-SearchField--clearable": "SearchField-module__hop-SearchField--clearable___hEuLP", "hop-SearchField__ErrorMessage": "SearchField-module__hop-SearchField__ErrorMessage___YfqKQ", "hop-SearchField__HelperMessage": "SearchField-module__hop-SearchField__HelperMessage___qX2-3", "hop-SearchField__ClearButton": "SearchField-module__hop-SearchField__ClearButton___MZ8y-" };
|
|
22
22
|
var GlobalSearchFieldCssSelector = "hop-SearchField";
|
|
23
23
|
function SearchField(props, ref) {
|
|
24
24
|
var _a;
|
|
@@ -3,18 +3,19 @@ import { RadioGroupContext } from './chunk-5MBJWRZD.js';
|
|
|
3
3
|
import { ContentContext } from './chunk-IXB2WK56.js';
|
|
4
4
|
import { _Footer } from './chunk-GTM56LGX.js';
|
|
5
5
|
import { FooterContext } from './chunk-I67NHYK4.js';
|
|
6
|
+
import { PasswordFieldContext } from './chunk-QW45G6K4.js';
|
|
6
7
|
import { SearchFieldContext } from './chunk-3NKF5TPD.js';
|
|
7
8
|
import { TextAreaContext } from './chunk-MHQZXLKW.js';
|
|
8
9
|
import { TextFieldContext } from './chunk-O4XPUINW.js';
|
|
9
10
|
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
|
+
import { LinkButtonContext } from './chunk-3UQFC2NQ.js';
|
|
14
15
|
import { ButtonContext as ButtonContext$1 } from './chunk-WMTWFKKP.js';
|
|
15
16
|
import { SelectContext } from './chunk-T24MBA34.js';
|
|
16
17
|
import { SelectOptionsContext } from './chunk-CQFXGAJK.js';
|
|
17
|
-
import { _ListBox } from './chunk-
|
|
18
|
+
import { _ListBox } from './chunk-D3ES4N5I.js';
|
|
18
19
|
import { isFunction, isNil } from './chunk-TIPN4VYD.js';
|
|
19
20
|
import { CheckboxContext } from './chunk-2EAZPH3M.js';
|
|
20
21
|
import { _HopperProvider } from './chunk-NMKBUGSO.js';
|
|
@@ -22,7 +23,7 @@ import { LinkContext } from './chunk-4VVNSXIB.js';
|
|
|
22
23
|
import { FormContext } from './chunk-EURJK4ZT.js';
|
|
23
24
|
import { PopoverContext } from './chunk-SC6ZK5ON.js';
|
|
24
25
|
import { ListBoxContext } from './chunk-UIEP5BA5.js';
|
|
25
|
-
import { EnsureTextWrapper } from './chunk-
|
|
26
|
+
import { EnsureTextWrapper } from './chunk-MHDM4YO4.js';
|
|
26
27
|
import { HeadingContext } from './chunk-TXZ6BMFR.js';
|
|
27
28
|
import { LabelContext } from './chunk-QCA3ZR56.js';
|
|
28
29
|
import { ComboBoxContext } from './chunk-4XHTP4GX.js';
|
|
@@ -122,7 +123,7 @@ var _ComboBoxOptions = forwardRef(ComboBoxOptions);
|
|
|
122
123
|
_ComboBoxOptions.displayName = "ComboBoxOptions";
|
|
123
124
|
|
|
124
125
|
// css-module:./Form.module.css#css-module
|
|
125
|
-
var Form_module_default = { "hop-Form": "Form-module__hop-
|
|
126
|
+
var Form_module_default = { "hop-Form": "Form-module__hop-Form___WRlBU" };
|
|
126
127
|
var GlobalFormCssSelector = "hop-Form";
|
|
127
128
|
function Form(props, ref) {
|
|
128
129
|
var _a;
|
|
@@ -228,7 +229,8 @@ function Form(props, ref) {
|
|
|
228
229
|
[TagGroupContext, {
|
|
229
230
|
necessityIndicator,
|
|
230
231
|
size
|
|
231
|
-
}]
|
|
232
|
+
}],
|
|
233
|
+
[LinkButtonContext, { isDisabled, size }]
|
|
232
234
|
],
|
|
233
235
|
children: /* @__PURE__ */ jsx(
|
|
234
236
|
Form$1,
|
|
@@ -736,7 +738,7 @@ function $f86e6c1ec7da6ebb$export$bc3384a35de93d66(options) {
|
|
|
736
738
|
}
|
|
737
739
|
|
|
738
740
|
// css-module:./Popover.module.css#css-module
|
|
739
|
-
var Popover_module_default = { "hop-Popover": "Popover-module__hop-
|
|
741
|
+
var Popover_module_default = { "hop-Popover": "Popover-module__hop-Popover___ccT6r", "fade": "Popover-module__fade___FkPE6", "hop-Popover__wrapper": "Popover-module__hop-Popover__wrapper___8J-K3", "hop-Popover__dialog": "Popover-module__hop-Popover__dialog___n4Uvf", "hop-Popover__dropdown": "Popover-module__hop-Popover__dropdown___jDakO", "hop-Popover__title": "Popover-module__hop-Popover__title___9bcgP", "hop-Popover__content": "Popover-module__hop-Popover__content___zpaSB", "hop-Popover__list-box": "Popover-module__hop-Popover__list-box___TLlq4", "hop-Popover__footer": "Popover-module__hop-Popover__footer___4Eqb0", "hop-Popover__actions": "Popover-module__hop-Popover__actions___-4lqO", "hop-Popover__action": "Popover-module__hop-Popover__action___jtirX" };
|
|
740
742
|
var GlobalPopoverCssSelector = "hop-Popover";
|
|
741
743
|
function Popover(props, ref) {
|
|
742
744
|
var _a;
|
|
@@ -842,6 +844,10 @@ function Popover(props, ref) {
|
|
|
842
844
|
size: "sm",
|
|
843
845
|
className: Popover_module_default["hop-Popover__action"]
|
|
844
846
|
}],
|
|
847
|
+
[LinkButtonContext, {
|
|
848
|
+
size: "sm",
|
|
849
|
+
className: Popover_module_default["hop-Popover__action"]
|
|
850
|
+
}],
|
|
845
851
|
[ButtonGroupContext, {
|
|
846
852
|
size: "sm",
|
|
847
853
|
align: "end",
|
|
@@ -12,7 +12,7 @@ import { useContextProps, composeRenderProps } from 'react-aria-components';
|
|
|
12
12
|
import { jsx } from 'react/jsx-runtime';
|
|
13
13
|
|
|
14
14
|
// css-module:./CheckboxField.module.css#css-module
|
|
15
|
-
var CheckboxField_module_default = { "hop-CheckboxField": "CheckboxField-module__hop-
|
|
15
|
+
var CheckboxField_module_default = { "hop-CheckboxField": "CheckboxField-module__hop-CheckboxField___1aGo3", "hop-CheckboxField--sm": "CheckboxField-module__hop-CheckboxField--sm___oq2Qa", "hop-CheckboxField--md": "CheckboxField-module__hop-CheckboxField--md___hMYjs", "hop-CheckboxField__description": "CheckboxField-module__hop-CheckboxField__description___ebTxh", "hop-CheckboxField__checkbox": "CheckboxField-module__hop-CheckboxField__checkbox___UEj8N" };
|
|
16
16
|
var GlobalCheckboxFieldCssSelector = "hop-CheckboxField";
|
|
17
17
|
var CheckboxToDescriptionSizeAdapter = {
|
|
18
18
|
sm: "xs",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useImageFallback } from './chunk-LI5HSYF7.js';
|
|
2
|
-
import { _Text } from './chunk-
|
|
2
|
+
import { _Text } from './chunk-3PONZZJH.js';
|
|
3
3
|
import { AvatarContext } from './chunk-AES7QBQE.js';
|
|
4
|
-
import { _RichIconAvatarImage } from './chunk-
|
|
4
|
+
import { _RichIconAvatarImage } from './chunk-NH4G3E35.js';
|
|
5
5
|
import { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
6
6
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
7
7
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
@@ -13,7 +13,7 @@ import { useContextProps, composeRenderProps } from 'react-aria-components';
|
|
|
13
13
|
import { jsx } from 'react/jsx-runtime';
|
|
14
14
|
|
|
15
15
|
// css-module:./Avatar.module.css#css-module
|
|
16
|
-
var Avatar_module_default = { "hop-Avatar": "Avatar-module__hop-
|
|
16
|
+
var Avatar_module_default = { "hop-Avatar": "Avatar-module__hop-Avatar___V-tog", "hop-Avatar--xs": "Avatar-module__hop-Avatar--xs___Q55Yc", "hop-Avatar--sm": "Avatar-module__hop-Avatar--sm___m2WLy", "hop-Avatar--md": "Avatar-module__hop-Avatar--md___Gf8i9", "hop-Avatar--lg": "Avatar-module__hop-Avatar--lg___DRafX", "hop-Avatar--xl": "Avatar-module__hop-Avatar--xl___VUaj9", "hop-Avatar--2xl": "Avatar-module__hop-Avatar--2xl___T7F4O", "hop-Avatar--decorative-option1": "Avatar-module__hop-Avatar--decorative-option1___q8Gq1", "hop-Avatar--decorative-option2": "Avatar-module__hop-Avatar--decorative-option2___4pj7q", "hop-Avatar--decorative-option3": "Avatar-module__hop-Avatar--decorative-option3___Xqgtl", "hop-Avatar--decorative-option4": "Avatar-module__hop-Avatar--decorative-option4___NZjJ2", "hop-Avatar--decorative-option5": "Avatar-module__hop-Avatar--decorative-option5___D8-8Q", "hop-Avatar--decorative-option6": "Avatar-module__hop-Avatar--decorative-option6___57wIP", "hop-Avatar--decorative-option7": "Avatar-module__hop-Avatar--decorative-option7___Lls3f", "hop-Avatar--decorative-option8": "Avatar-module__hop-Avatar--decorative-option8___kbBbR", "hop-Avatar--decorative-option9": "Avatar-module__hop-Avatar--decorative-option9___nLT4F", "hop-Avatar__image": "Avatar-module__hop-Avatar__image___YIAYq" };
|
|
17
17
|
var GlobalAvatarCssSelector = "hop-Avatar";
|
|
18
18
|
var AvatarToTextSizeAdapter = {
|
|
19
19
|
xs: "xs",
|
|
@@ -1,6 +1,6 @@
|
|
|
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-MHDM4YO4.js';
|
|
4
4
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
5
5
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
6
6
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
@@ -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___7G-qd Checkbox-module__hop-Checkbox___BAZW7", "hop-DecorativeCheckbox--sm": "DecorativeCheckbox-module__hop-DecorativeCheckbox--sm___FiN5k Checkbox-module__hop-Checkbox--sm___YqWaC", "hop-DecorativeCheckbox--md": "DecorativeCheckbox-module__hop-DecorativeCheckbox--md___Iy3nN Checkbox-module__hop-Checkbox--md___U5XZP", "hop-DecorativeCheckbox__icon": "DecorativeCheckbox-module__hop-DecorativeCheckbox__icon___fB5K6 Checkbox-module__hop-Checkbox__icon___KLnth", "hop-DecorativeCheckbox__icon-list": "DecorativeCheckbox-module__hop-DecorativeCheckbox__icon-list___tpof1 Checkbox-module__hop-Checkbox__icon___KLnth", "hop-DecorativeCheckbox__box": "DecorativeCheckbox-module__hop-DecorativeCheckbox__box___-VWj4 Checkbox-module__hop-Checkbox__box___S6YLI", "hop-DecorativeCheckbox__check": "DecorativeCheckbox-module__hop-DecorativeCheckbox__check___lCcKA Checkbox-module__hop-Checkbox__check___6XxRa", "hop-DecorativeCheckbox__text": "DecorativeCheckbox-module__hop-DecorativeCheckbox__text___oCixZ Checkbox-module__hop-Checkbox__text___IDqT7" };
|
|
19
19
|
var GlobalDecorativeCheckboxCssSelector = "hop-DecorativeCheckbox";
|
|
20
20
|
function DecorativeCheckbox(props, ref) {
|
|
21
21
|
var _a;
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { useSlot } from './chunk-H5YTU3U7.js';
|
|
2
|
+
import { LinkButtonContext } from './chunk-3UQFC2NQ.js';
|
|
3
|
+
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
4
|
+
import { EnsureTextWrapper } from './chunk-MHDM4YO4.js';
|
|
5
|
+
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
6
|
+
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
7
|
+
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
8
|
+
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
9
|
+
import { IconContext } from '@hopper-ui/icons';
|
|
10
|
+
import { slot, useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
11
|
+
import { forwardRef } from 'react';
|
|
12
|
+
import { useContextProps, composeRenderProps, DEFAULT_SLOT, Link } from 'react-aria-components';
|
|
13
|
+
import { jsx } from 'react/jsx-runtime';
|
|
14
|
+
|
|
15
|
+
// css-module:./LinkButton.module.css#css-module
|
|
16
|
+
var LinkButton_module_default = { "hop-LinkButton": "LinkButton-module__hop-LinkButton___AJ7uv Button-module__hop-Button___y82Y5", "hop-LinkButton--fluid": "LinkButton-module__hop-LinkButton--fluid___eUTM2 Button-module__hop-Button--fluid___yrsMn", "hop-LinkButton--sm": "LinkButton-module__hop-LinkButton--sm___304eI Button-module__hop-Button--sm___MqqBM", "hop-LinkButton--icon-only": "LinkButton-module__hop-LinkButton--icon-only___ejsSp Button-module__hop-Button--icon-only___mnrYP", "hop-LinkButton--primary": "LinkButton-module__hop-LinkButton--primary___Hh1-L Button-module__hop-Button--primary___i4wgt", "hop-LinkButton--secondary": "LinkButton-module__hop-LinkButton--secondary___v6hRn Button-module__hop-Button--secondary___aTxQ5", "hop-LinkButton--upsell": "LinkButton-module__hop-LinkButton--upsell___sT6J9 Button-module__hop-Button--upsell___VdxM3", "hop-LinkButton--danger": "LinkButton-module__hop-LinkButton--danger___2i8Ov Button-module__hop-Button--danger___U0g6u", "hop-LinkButton--ghost-primary": "LinkButton-module__hop-LinkButton--ghost-primary___jL-l- Button-module__hop-Button--ghost-primary___R3YQO", "hop-LinkButton--ghost-secondary": "LinkButton-module__hop-LinkButton--ghost-secondary___Ng0Vv Button-module__hop-Button--ghost-secondary___0IoPr", "hop-LinkButton--ghost-danger": "LinkButton-module__hop-LinkButton--ghost-danger___tckjJ Button-module__hop-Button--ghost-danger___-3oFp", "hop-LinkButton__Spinner": "LinkButton-module__hop-LinkButton__Spinner___oKMl8 Button-module__hop-Button__Spinner___iIz-g", "hop-LinkButton__icon": "LinkButton-module__hop-LinkButton__icon___uBdH- Button-module__hop-Button__icon___ol4xI", "hop-LinkButton__icon-list": "LinkButton-module__hop-LinkButton__icon-list___elfO1 Button-module__hop-Button__icon___ol4xI", "hop-LinkButton__text": "LinkButton-module__hop-LinkButton__text___3bvOv Button-module__hop-Button__text___8Y-6a", "hop-LinkButton__end-icon": "LinkButton-module__hop-LinkButton__end-icon___EsYoO Button-module__hop-Button__end-icon___UD9RU", "hop-LinkButton__end-icon-list": "LinkButton-module__hop-LinkButton__end-icon-list___FsZjl Button-module__hop-Button__end-icon___UD9RU" };
|
|
17
|
+
var GlobalLinkButtonCssSelector = "hop-LinkButton";
|
|
18
|
+
function LinkButton(props, ref) {
|
|
19
|
+
var _a, _b;
|
|
20
|
+
[props, ref] = useContextProps(props, ref, LinkButtonContext);
|
|
21
|
+
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
22
|
+
const {
|
|
23
|
+
className,
|
|
24
|
+
children: childrenProp,
|
|
25
|
+
size: sizeProp,
|
|
26
|
+
isFluid: isFluidProp,
|
|
27
|
+
variant = "primary",
|
|
28
|
+
style: styleProp,
|
|
29
|
+
...otherProps
|
|
30
|
+
} = ownProps;
|
|
31
|
+
const [textRef, hasText] = useSlot();
|
|
32
|
+
const size = (_a = useResponsiveValue(sizeProp)) != null ? _a : "md";
|
|
33
|
+
const isFluid = (_b = useResponsiveValue(isFluidProp)) != null ? _b : false;
|
|
34
|
+
const classNames = composeClassnameRenderProps(
|
|
35
|
+
className,
|
|
36
|
+
GlobalLinkButtonCssSelector,
|
|
37
|
+
cssModule(
|
|
38
|
+
LinkButton_module_default,
|
|
39
|
+
"hop-LinkButton",
|
|
40
|
+
variant,
|
|
41
|
+
size,
|
|
42
|
+
isFluid && "fluid",
|
|
43
|
+
!hasText && "icon-only"
|
|
44
|
+
),
|
|
45
|
+
stylingProps.className
|
|
46
|
+
);
|
|
47
|
+
const style = composeRenderProps(styleProp, (prev) => {
|
|
48
|
+
return {
|
|
49
|
+
...stylingProps.style,
|
|
50
|
+
...prev
|
|
51
|
+
};
|
|
52
|
+
});
|
|
53
|
+
const children = composeRenderProps(childrenProp, (prev) => {
|
|
54
|
+
return /* @__PURE__ */ jsx(EnsureTextWrapper, { children: prev });
|
|
55
|
+
});
|
|
56
|
+
return /* @__PURE__ */ jsx(
|
|
57
|
+
SlotProvider,
|
|
58
|
+
{
|
|
59
|
+
values: [
|
|
60
|
+
[IconListContext, {
|
|
61
|
+
slots: {
|
|
62
|
+
[DEFAULT_SLOT]: {
|
|
63
|
+
size,
|
|
64
|
+
className: LinkButton_module_default["hop-LinkButton__icon-list"]
|
|
65
|
+
},
|
|
66
|
+
"end-icon": {
|
|
67
|
+
size,
|
|
68
|
+
className: LinkButton_module_default["hop-LinkButton__end-icon-list"]
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}],
|
|
72
|
+
[IconContext, {
|
|
73
|
+
slots: {
|
|
74
|
+
[DEFAULT_SLOT]: {
|
|
75
|
+
size,
|
|
76
|
+
className: LinkButton_module_default["hop-LinkButton__icon"]
|
|
77
|
+
},
|
|
78
|
+
"end-icon": {
|
|
79
|
+
size,
|
|
80
|
+
className: LinkButton_module_default["hop-LinkButton__end-icon"]
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}],
|
|
84
|
+
[TextContext, {
|
|
85
|
+
className: LinkButton_module_default["hop-LinkButton__text"],
|
|
86
|
+
size,
|
|
87
|
+
ref: textRef
|
|
88
|
+
}]
|
|
89
|
+
],
|
|
90
|
+
children: /* @__PURE__ */ jsx(
|
|
91
|
+
Link,
|
|
92
|
+
{
|
|
93
|
+
...otherProps,
|
|
94
|
+
ref,
|
|
95
|
+
className: classNames,
|
|
96
|
+
style,
|
|
97
|
+
slot: props.slot || void 0,
|
|
98
|
+
children
|
|
99
|
+
}
|
|
100
|
+
)
|
|
101
|
+
}
|
|
102
|
+
);
|
|
103
|
+
}
|
|
104
|
+
var _LinkButton = slot("button", forwardRef(LinkButton));
|
|
105
|
+
_LinkButton.displayName = "LinkButton";
|
|
106
|
+
|
|
107
|
+
export { GlobalLinkButtonCssSelector, _LinkButton };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ClearButtonContext } from './chunk-DXVKHP4V.js';
|
|
2
|
-
import { _EmbeddedButton } from './chunk-
|
|
2
|
+
import { _EmbeddedButton } from './chunk-7XRGRMKN.js';
|
|
3
3
|
import { useLocalizedString } from './chunk-TFVDF4YH.js';
|
|
4
4
|
import { DismissIcon } from '@hopper-ui/icons';
|
|
5
5
|
import { forwardRef } from 'react';
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
import { useSlot } from './chunk-H5YTU3U7.js';
|
|
2
|
+
import { _Spinner } from './chunk-E6KLDSL7.js';
|
|
3
|
+
import { ButtonContext } from './chunk-WMTWFKKP.js';
|
|
4
|
+
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
5
|
+
import { EnsureTextWrapper } from './chunk-MHDM4YO4.js';
|
|
6
|
+
import { useLocalizedString } from './chunk-TFVDF4YH.js';
|
|
7
|
+
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
8
|
+
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
9
|
+
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
10
|
+
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
11
|
+
import { IconContext } from '@hopper-ui/icons';
|
|
12
|
+
import { slot, useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
13
|
+
import clsx from 'clsx';
|
|
14
|
+
import { forwardRef } from 'react';
|
|
15
|
+
import { useContextProps, composeRenderProps, DEFAULT_SLOT, Button as Button$1 } from 'react-aria-components';
|
|
16
|
+
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
17
|
+
|
|
18
|
+
// css-module:./Button.module.css#css-module
|
|
19
|
+
var Button_module_default = { "hop-Button": "Button-module__hop-Button___y82Y5", "hop-Button--fluid": "Button-module__hop-Button--fluid___yrsMn", "hop-Button--sm": "Button-module__hop-Button--sm___MqqBM", "hop-Button--md": "Button-module__hop-Button--md___689QA", "hop-Button--icon-only": "Button-module__hop-Button--icon-only___mnrYP", "hop-Button--primary": "Button-module__hop-Button--primary___i4wgt", "hop-Button--secondary": "Button-module__hop-Button--secondary___aTxQ5", "hop-Button--upsell": "Button-module__hop-Button--upsell___VdxM3", "hop-Button--danger": "Button-module__hop-Button--danger___U0g6u", "hop-Button--ghost-primary": "Button-module__hop-Button--ghost-primary___R3YQO", "hop-Button--ghost-secondary": "Button-module__hop-Button--ghost-secondary___0IoPr", "hop-Button--ghost-danger": "Button-module__hop-Button--ghost-danger___-3oFp", "hop-Button__Spinner": "Button-module__hop-Button__Spinner___iIz-g", "hop-Button__icon": "Button-module__hop-Button__icon___ol4xI", "hop-Button__icon-list": "Button-module__hop-Button__icon-list___wcA7Z", "hop-Button__text": "Button-module__hop-Button__text___8Y-6a", "hop-Button__end-icon": "Button-module__hop-Button__end-icon___UD9RU", "hop-Button__end-icon-list": "Button-module__hop-Button__end-icon-list___2-25Q" };
|
|
20
|
+
var GlobalButtonCssSelector = "hop-Button";
|
|
21
|
+
function Button(props, ref) {
|
|
22
|
+
var _a, _b;
|
|
23
|
+
[props, ref] = useContextProps(props, ref, ButtonContext);
|
|
24
|
+
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
25
|
+
const stringFormatter = useLocalizedString();
|
|
26
|
+
const {
|
|
27
|
+
className,
|
|
28
|
+
children: childrenProp,
|
|
29
|
+
size: sizeProp,
|
|
30
|
+
isFluid: isFluidProp,
|
|
31
|
+
variant = "primary",
|
|
32
|
+
isLoading,
|
|
33
|
+
style: styleProp,
|
|
34
|
+
spinnerProps,
|
|
35
|
+
...otherProps
|
|
36
|
+
} = ownProps;
|
|
37
|
+
const [textRef, hasText] = useSlot();
|
|
38
|
+
const size = (_a = useResponsiveValue(sizeProp)) != null ? _a : "md";
|
|
39
|
+
const isFluid = (_b = useResponsiveValue(isFluidProp)) != null ? _b : false;
|
|
40
|
+
const classNames = composeClassnameRenderProps(
|
|
41
|
+
className,
|
|
42
|
+
GlobalButtonCssSelector,
|
|
43
|
+
cssModule(
|
|
44
|
+
Button_module_default,
|
|
45
|
+
"hop-Button",
|
|
46
|
+
variant,
|
|
47
|
+
size,
|
|
48
|
+
isFluid && "fluid",
|
|
49
|
+
isLoading && "loading",
|
|
50
|
+
!hasText && "icon-only"
|
|
51
|
+
),
|
|
52
|
+
stylingProps.className
|
|
53
|
+
);
|
|
54
|
+
const style = composeRenderProps(styleProp, (prev) => {
|
|
55
|
+
return {
|
|
56
|
+
...stylingProps.style,
|
|
57
|
+
...prev
|
|
58
|
+
};
|
|
59
|
+
});
|
|
60
|
+
const children = composeRenderProps(childrenProp, (prev) => {
|
|
61
|
+
return /* @__PURE__ */ jsx(EnsureTextWrapper, { children: prev });
|
|
62
|
+
});
|
|
63
|
+
const { className: spinnerClassName, ...otherSpinnerProps } = spinnerProps || {};
|
|
64
|
+
const spinnerClassNames = clsx(Button_module_default["hop-Button__Spinner"], spinnerClassName);
|
|
65
|
+
return /* @__PURE__ */ jsx(
|
|
66
|
+
SlotProvider,
|
|
67
|
+
{
|
|
68
|
+
values: [
|
|
69
|
+
[IconListContext, {
|
|
70
|
+
slots: {
|
|
71
|
+
[DEFAULT_SLOT]: {
|
|
72
|
+
size,
|
|
73
|
+
className: Button_module_default["hop-Button__icon-list"]
|
|
74
|
+
},
|
|
75
|
+
"end-icon": {
|
|
76
|
+
size,
|
|
77
|
+
className: Button_module_default["hop-Button__end-icon-list"]
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}],
|
|
81
|
+
[IconContext, {
|
|
82
|
+
slots: {
|
|
83
|
+
[DEFAULT_SLOT]: {
|
|
84
|
+
size,
|
|
85
|
+
className: Button_module_default["hop-Button__icon"]
|
|
86
|
+
},
|
|
87
|
+
"end-icon": {
|
|
88
|
+
size,
|
|
89
|
+
className: Button_module_default["hop-Button__end-icon"]
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}],
|
|
93
|
+
[TextContext, {
|
|
94
|
+
className: Button_module_default["hop-Button__text"],
|
|
95
|
+
size,
|
|
96
|
+
ref: textRef
|
|
97
|
+
}]
|
|
98
|
+
],
|
|
99
|
+
children: /* @__PURE__ */ jsx(
|
|
100
|
+
Button$1,
|
|
101
|
+
{
|
|
102
|
+
...otherProps,
|
|
103
|
+
ref,
|
|
104
|
+
slot: props.slot || void 0,
|
|
105
|
+
className: classNames,
|
|
106
|
+
style,
|
|
107
|
+
isPending: isLoading,
|
|
108
|
+
children: (buttonRenderProps) => {
|
|
109
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
110
|
+
children(buttonRenderProps),
|
|
111
|
+
isLoading && /* @__PURE__ */ jsx(
|
|
112
|
+
_Spinner,
|
|
113
|
+
{
|
|
114
|
+
"aria-label": stringFormatter.format("Button.spinnerAriaLabel"),
|
|
115
|
+
size,
|
|
116
|
+
className: spinnerClassNames,
|
|
117
|
+
...otherSpinnerProps
|
|
118
|
+
}
|
|
119
|
+
)
|
|
120
|
+
] });
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
)
|
|
124
|
+
}
|
|
125
|
+
);
|
|
126
|
+
}
|
|
127
|
+
var _Button = slot("button", forwardRef(Button));
|
|
128
|
+
_Button.displayName = "Button";
|
|
129
|
+
|
|
130
|
+
export { GlobalButtonCssSelector, _Button };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { RadioGroupContext } from './chunk-5MBJWRZD.js';
|
|
1
2
|
import { RadioListContext } from './chunk-A7TZHALP.js';
|
|
2
3
|
import { RadioFieldContext } from './chunk-DGLAGYBD.js';
|
|
3
|
-
import { RadioGroupContext } from './chunk-5MBJWRZD.js';
|
|
4
4
|
import { RadioContext } from './chunk-FU5CCPLP.js';
|
|
5
5
|
import { LabelContext } from './chunk-QCA3ZR56.js';
|
|
6
6
|
import { HelperMessageContext } from './chunk-HZKFQ33E.js';
|
|
@@ -14,7 +14,7 @@ import { useContextProps, composeRenderProps, RadioGroup as RadioGroup$1 } from
|
|
|
14
14
|
import { jsx } from 'react/jsx-runtime';
|
|
15
15
|
|
|
16
16
|
// css-module:./RadioGroup.module.css#css-module
|
|
17
|
-
var RadioGroup_module_default = { "hop-RadioGroup": "RadioGroup-module__hop-
|
|
17
|
+
var RadioGroup_module_default = { "hop-RadioGroup": "RadioGroup-module__hop-RadioGroup___2wZA0", "hop-RadioGroup--bordered": "RadioGroup-module__hop-RadioGroup--bordered___qlNXg", "hop-RadioGroup--sm": "RadioGroup-module__hop-RadioGroup--sm___frU7B", "hop-RadioGroup--md": "RadioGroup-module__hop-RadioGroup--md___80FWT", "hop-RadioGroup__label": "RadioGroup-module__hop-RadioGroup__label___DfHKF", "hop-RadioGroup__list": "RadioGroup-module__hop-RadioGroup__list___feKs5", "hop-RadioGroup__radio": "RadioGroup-module__hop-RadioGroup__radio___FrUyU", "hop-RadioGroup__error-message": "RadioGroup-module__hop-RadioGroup__error-message___3wQhm", "hop-RadioGroup__helper-message": "RadioGroup-module__hop-RadioGroup__helper-message___wo5Vw" };
|
|
18
18
|
var GlobalRadioGroupCssSelector = "hop-RadioGroup";
|
|
19
19
|
function RadioGroup(props, ref) {
|
|
20
20
|
var _a, _b;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { useFontFaceReady } from './chunk-IU6XMS2X.js';
|
|
2
2
|
import { TextAreaContext } from './chunk-MHQZXLKW.js';
|
|
3
3
|
import { useTruncatedText } from './chunk-Z57VHYOF.js';
|
|
4
|
-
import { _RemainingCharacterCount } from './chunk-
|
|
5
|
-
import { _InputGroup } from './chunk-
|
|
4
|
+
import { _RemainingCharacterCount } from './chunk-H5SFGSQY.js';
|
|
5
|
+
import { _InputGroup } from './chunk-I7RO3Y4Y.js';
|
|
6
6
|
import { LabelContext } from './chunk-QCA3ZR56.js';
|
|
7
7
|
import { HelperMessageContext } from './chunk-HZKFQ33E.js';
|
|
8
8
|
import { ErrorMessageContext } from './chunk-FAE27DLF.js';
|
|
@@ -79,7 +79,7 @@ function $b5e257d569688ac6$export$535bd6ca7f90a273() {
|
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
// css-module:./TextArea.module.css#css-module
|
|
82
|
-
var TextArea_module_default = { "hop-TextArea": "TextArea-module__hop-
|
|
82
|
+
var TextArea_module_default = { "hop-TextArea": "TextArea-module__hop-TextArea___KhTrE", "hop-TextArea--fluid": "TextArea-module__hop-TextArea--fluid___JSAOc", "hop-TextArea__Label": "TextArea-module__hop-TextArea__Label___GC1PW", "hop-TextArea__prefix": "TextArea-module__hop-TextArea__prefix___5SA3q", "hop-TextArea__InputGroup": "TextArea-module__hop-TextArea__InputGroup___ktEvK", "hop-TextArea__RemainingCharacterCount": "TextArea-module__hop-TextArea__RemainingCharacterCount___srK-x", "hop-TextArea__textarea": "TextArea-module__hop-TextArea__textarea___WF4yI", "hop-TextArea__ErrorMessage": "TextArea-module__hop-TextArea__ErrorMessage___47A0-", "hop-TextArea__HelperMessage": "TextArea-module__hop-TextArea__HelperMessage___oPHb0" };
|
|
83
83
|
var GlobalTextAreaCssSelector = "hop-TextArea";
|
|
84
84
|
var DefaultMinimumTextAreaRows = 3;
|
|
85
85
|
var pxToInt = (value) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useScale } from './chunk-MTDFS4CZ.js';
|
|
2
|
+
import { _InputGroup } from './chunk-I7RO3Y4Y.js';
|
|
2
3
|
import { NumberFieldContext } from './chunk-ZQ3AWYRR.js';
|
|
3
|
-
import {
|
|
4
|
-
import { EnsureTextWrapper } from './chunk-GPEHOZZZ.js';
|
|
4
|
+
import { EnsureTextWrapper } from './chunk-MHDM4YO4.js';
|
|
5
5
|
import { LabelContext } from './chunk-QCA3ZR56.js';
|
|
6
6
|
import { HelperMessageContext } from './chunk-HZKFQ33E.js';
|
|
7
7
|
import { ErrorMessageContext } from './chunk-FAE27DLF.js';
|
|
@@ -21,7 +21,7 @@ import { useContextProps, composeRenderProps, Input, NumberField as NumberField$
|
|
|
21
21
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
22
22
|
|
|
23
23
|
// css-module:./NumberField.module.css#css-module
|
|
24
|
-
var NumberField_module_default = { "hop-NumberField": "NumberField-module__hop-
|
|
24
|
+
var NumberField_module_default = { "hop-NumberField": "NumberField-module__hop-NumberField___Aafsl", "hop-NumberField--fluid": "NumberField-module__hop-NumberField--fluid___bfwBd", "hop-NumberField--mobile": "NumberField-module__hop-NumberField--mobile___-R6kn", "hop-NumberField__Label": "NumberField-module__hop-NumberField__Label___mnX2E", "hop-NumberField__prefix": "NumberField-module__hop-NumberField__prefix___Xpm1f", "hop-NumberField__InputGroup": "NumberField-module__hop-NumberField__InputGroup___T6EDz", "hop-NumberField__ErrorMessage": "NumberField-module__hop-NumberField__ErrorMessage___PGF7w", "hop-NumberField__HelperMessage": "NumberField-module__hop-NumberField__HelperMessage___fqrIa", "hop-NumberField__stepper-button": "NumberField-module__hop-NumberField__stepper-button___R0db6", "hop-NumberField__stepper-button--increment": "NumberField-module__hop-NumberField__stepper-button--increment___Y4-4N", "hop-NumberField__stepper-button--decrement": "NumberField-module__hop-NumberField__stepper-button--decrement___o7WIv", "hop-NumberField__stepper-button--mobile": "NumberField-module__hop-NumberField__stepper-button--mobile___bubyJ", "hop-NumberField__stepper-button__icon": "NumberField-module__hop-NumberField__stepper-button__icon___0m3h0", "hop-NumberField__input": "NumberField-module__hop-NumberField__input___JbL2a" };
|
|
25
25
|
var GlobalNumberFieldCssSelector = "hop-NumberField";
|
|
26
26
|
var StepperButton = ({ direction }) => {
|
|
27
27
|
const scale = useScale();
|
|
@@ -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___Tbxxd", "hop-Divider--vertical": "Divider-module__hop-Divider--vertical___1sH2V" };
|
|
11
11
|
var GlobalDividerCssSelector = "hop-Divider";
|
|
12
12
|
function Divider(props, ref) {
|
|
13
13
|
[props, ref] = useContextProps(props, ref, DividerContext);
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ButtonGroupContext } from './chunk-VJQ7M2BK.js';
|
|
2
|
+
import { LinkButtonContext } from './chunk-3UQFC2NQ.js';
|
|
2
3
|
import { ButtonContext } from './chunk-WMTWFKKP.js';
|
|
3
4
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
4
5
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
@@ -10,7 +11,7 @@ import { useContextProps } from 'react-aria-components';
|
|
|
10
11
|
import { jsx } from 'react/jsx-runtime';
|
|
11
12
|
|
|
12
13
|
// css-module:./ButtonGroup.module.css#css-module
|
|
13
|
-
var ButtonGroup_module_default = { "hop-ButtonGroup": "ButtonGroup-module__hop-
|
|
14
|
+
var ButtonGroup_module_default = { "hop-ButtonGroup": "ButtonGroup-module__hop-ButtonGroup___bqIMq", "hop-ButtonGroup--horizontal": "ButtonGroup-module__hop-ButtonGroup--horizontal___BSNlY", "hop-ButtonGroup--vertical": "ButtonGroup-module__hop-ButtonGroup--vertical___n7MaV", "hop-ButtonGroup--start": "ButtonGroup-module__hop-ButtonGroup--start___Unpn2", "hop-ButtonGroup--center": "ButtonGroup-module__hop-ButtonGroup--center___AufeM", "hop-ButtonGroup--end": "ButtonGroup-module__hop-ButtonGroup--end___JoVZV", "hop-ButtonGroup--wrap": "ButtonGroup-module__hop-ButtonGroup--wrap___0re0-", "hop-ButtonGroup--fluid": "ButtonGroup-module__hop-ButtonGroup--fluid___tfM32" };
|
|
14
15
|
var GlobalButtonGroupCssSelector = "hop-ButtonGroup";
|
|
15
16
|
function ButtonGroup(props, ref) {
|
|
16
17
|
var _a, _b, _c, _d;
|
|
@@ -62,14 +63,18 @@ function ButtonGroup(props, ref) {
|
|
|
62
63
|
children: /* @__PURE__ */ jsx(
|
|
63
64
|
SlotProvider,
|
|
64
65
|
{
|
|
65
|
-
values: [
|
|
66
|
-
ButtonContext,
|
|
67
|
-
{
|
|
66
|
+
values: [
|
|
67
|
+
[ButtonContext, {
|
|
68
68
|
size,
|
|
69
69
|
isDisabled,
|
|
70
70
|
isFluid
|
|
71
|
-
}
|
|
72
|
-
|
|
71
|
+
}],
|
|
72
|
+
[LinkButtonContext, {
|
|
73
|
+
size,
|
|
74
|
+
isDisabled,
|
|
75
|
+
isFluid
|
|
76
|
+
}]
|
|
77
|
+
],
|
|
73
78
|
children
|
|
74
79
|
}
|
|
75
80
|
)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { LinkContext } from './chunk-4VVNSXIB.js';
|
|
2
2
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
3
|
-
import { EnsureTextWrapper } from './chunk-
|
|
3
|
+
import { EnsureTextWrapper } from './chunk-MHDM4YO4.js';
|
|
4
4
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
5
5
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
6
6
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
@@ -12,7 +12,7 @@ import { useContextProps, composeRenderProps, DEFAULT_SLOT, Link as Link$1 } fro
|
|
|
12
12
|
import { jsx } from 'react/jsx-runtime';
|
|
13
13
|
|
|
14
14
|
// css-module:./Link.module.css#css-module
|
|
15
|
-
var Link_module_default = { "hop-Link": "Link-module__hop-
|
|
15
|
+
var Link_module_default = { "hop-Link": "Link-module__hop-Link___kIYpl", "hop-Link--quiet": "Link-module__hop-Link--quiet___0jiat", "hop-Link--primary": "Link-module__hop-Link--primary___CibAU", "hop-Link--secondary": "Link-module__hop-Link--secondary___fp7SO", "hop-Link__icon": "Link-module__hop-Link__icon___rdg06", "hop-Link__icon-list": "Link-module__hop-Link__icon-list___x2OpW", "hop-Link__text": "Link-module__hop-Link__text___p274Z", "hop-Link__start-icon": "Link-module__hop-Link__start-icon___bSWwY", "hop-Link__start-icon-list": "Link-module__hop-Link__start-icon-list___EUk4c" };
|
|
16
16
|
var GlobalLinkCssSelector = "hop-Link";
|
|
17
17
|
var LinkToIconSizeAdapter = {
|
|
18
18
|
inherit: void 0,
|
|
@@ -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___9zffP", "placeholder-shimmer": "ListBoxItemSkeleton-module__placeholder-shimmer___WAceV", "hop-ListBoxItemSkeleton--xs": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--xs___FFwjh", "hop-ListBoxItemSkeleton--sm": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--sm___SRA10", "hop-ListBoxItemSkeleton--md": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--md___Sqyy9", "hop-ListBoxItemSkeleton--lg": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--lg___0csSN" };
|
|
11
11
|
var GlobalListBoxItemSkeletonCssSelector = "hop-ListBoxItemSkeleton";
|
|
12
12
|
function ListBoxItemSkeleton(props, ref) {
|
|
13
13
|
var _a;
|