@hopper-ui/components 1.3.20 → 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 +12 -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 +3 -3
- 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 +1179 -866
- package/dist/ComboBox/src/ComboBox.js +8 -8
- package/dist/ComboBox/src/ComboBoxOptions.css +1179 -866
- package/dist/ComboBox/src/ComboBoxOptions.js +63 -61
- package/dist/ComboBox/src/index.css +1179 -866
- package/dist/ComboBox/src/index.js +63 -61
- 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 +1179 -866
- package/dist/Form/src/Form.js +63 -61
- package/dist/Form/src/index.css +1179 -866
- package/dist/Form/src/index.js +63 -61
- 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 +274 -274
- package/dist/ListBox/src/ListBox.js +12 -12
- package/dist/ListBox/src/ListBoxItem.css +262 -262
- package/dist/ListBox/src/ListBoxItem.d.ts +2 -6
- package/dist/ListBox/src/ListBoxItem.js +11 -11
- 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 +12 -12
- package/dist/Select/src/Select.css +296 -296
- package/dist/Select/src/Select.js +8 -8
- package/dist/Select/src/SelectOptions.css +1179 -866
- package/dist/Select/src/SelectOptions.js +63 -61
- package/dist/Select/src/SelectValue.css +61 -61
- package/dist/Select/src/SelectValue.js +6 -6
- package/dist/Select/src/index.css +1179 -866
- package/dist/Select/src/index.js +63 -61
- 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 +186 -265
- package/dist/buttons/src/Button.d.ts +5 -14
- package/dist/buttons/src/Button.js +8 -9
- 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.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 +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 +6 -3
- package/dist/buttons/src/index.js +13 -12
- 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.js +2 -2
- package/dist/checkbox/src/CheckboxGroup.css +98 -98
- package/dist/checkbox/src/CheckboxGroup.js +2 -2
- package/dist/checkbox/src/DecorativeCheckbox.css +54 -54
- package/dist/checkbox/src/DecorativeCheckbox.js +7 -7
- package/dist/checkbox/src/index.css +98 -98
- package/dist/checkbox/src/index.js +10 -10
- package/dist/{chunk-56JPORN2.js → chunk-2FXHD5EF.js} +2 -2
- package/dist/{chunk-G3KPVKSY.js → chunk-3PONZZJH.js} +1 -1
- package/dist/{chunk-PMLYF4LY.js → chunk-3TN23WXI.js} +3 -3
- package/dist/chunk-3UQFC2NQ.js +7 -0
- package/dist/{chunk-DF556GIE.js → chunk-4MJUV4Y4.js} +1 -1
- package/dist/{chunk-NBU2JO34.js → chunk-7XRGRMKN.js} +2 -2
- package/dist/{chunk-2TKSTDV2.js → chunk-AJAXFPMZ.js} +1 -1
- package/dist/{chunk-LOK2QDPO.js → chunk-BZDYEIAN.js} +2 -2
- package/dist/{chunk-MILAEJ2L.js → chunk-CRBWHSR5.js} +1 -1
- package/dist/{chunk-ZFLVZHFU.js → chunk-D3ES4N5I.js} +4 -4
- package/dist/{chunk-FH236DA7.js → chunk-DQ3RMWYV.js} +6 -6
- package/dist/{chunk-653VMV4L.js → chunk-DSDDTQSP.js} +4 -4
- package/dist/{chunk-7S4WBT4G.js → chunk-E6KLDSL7.js} +2 -2
- package/dist/{chunk-3YY4L64N.js → chunk-EI3IUNUO.js} +3 -3
- package/dist/{chunk-LQQIV4NI.js → chunk-F6SXVFV7.js} +3 -3
- package/dist/{chunk-EOFFODBT.js → chunk-H5SFGSQY.js} +2 -2
- package/dist/{chunk-VR5K6SKY.js → chunk-HCDZVQF5.js} +3 -3
- package/dist/{chunk-AW7BK3KI.js → chunk-HEAER6AM.js} +1 -1
- package/dist/{chunk-MZUJCQXJ.js → chunk-HIDFOPDG.js} +2 -2
- package/dist/{chunk-AKZXMYPT.js → chunk-I7RO3Y4Y.js} +2 -2
- package/dist/{chunk-5DE3AIOL.js → chunk-ID7CLQIZ.js} +1 -1
- package/dist/{chunk-BAVC57WI.js → chunk-IRP5O2PB.js} +1 -1
- package/dist/{chunk-OQPYRC2F.js → chunk-IVVBR4PT.js} +2 -2
- package/dist/{chunk-EH3ONDLF.js → chunk-J3D3EFH7.js} +3 -3
- package/dist/{chunk-LU7FB5PR.js → chunk-KGVQXCKY.js} +7 -7
- package/dist/{chunk-FSXYBGL2.js → chunk-KWYYG3UT.js} +1 -1
- package/dist/{chunk-F4NDKYBQ.js → chunk-LTIKJWVL.js} +2 -2
- package/dist/{chunk-FGBJ4BQN.js → chunk-MCGBD7B2.js} +4 -4
- package/dist/{chunk-XAEUK2IS.js → chunk-MHDM4YO4.js} +1 -1
- package/dist/{chunk-ETRACW2O.js → chunk-N4TMRRF4.js} +3 -3
- package/dist/{chunk-H2IB2YPL.js → chunk-NH4G3E35.js} +2 -2
- package/dist/{chunk-D2ZXLYC4.js → chunk-NZUOHL5V.js} +2 -2
- package/dist/{chunk-VOPMQNZU.js → chunk-OD7U6X4F.js} +3 -3
- package/dist/{chunk-2GH5MFYM.js → chunk-QFWFNJTE.js} +7 -7
- package/dist/{chunk-4AJKRRST.js → chunk-QTVWIRCB.js} +4 -4
- package/dist/{chunk-GQE7EKQR.js → chunk-RJW3T3TL.js} +15 -9
- package/dist/{chunk-KFE26Z37.js → chunk-SH2PCVCP.js} +2 -2
- package/dist/{chunk-NHWFS4AT.js → chunk-SM3RKPS2.js} +3 -3
- package/dist/{chunk-UXX325G4.js → chunk-SUMAGCIA.js} +3 -3
- package/dist/chunk-T54ITIHK.js +107 -0
- package/dist/{chunk-DDCNAIN3.js → chunk-UHT3G5QZ.js} +1 -1
- package/dist/chunk-UKR2P5OV.js +130 -0
- package/dist/{chunk-CSG4J7DG.js → chunk-WMRLDPFX.js} +3 -3
- package/dist/{chunk-FZANHOCL.js → chunk-X5N7I2HV.js} +4 -4
- package/dist/{chunk-5IJ5WIHP.js → chunk-XSAC6GZB.js} +4 -4
- package/dist/{chunk-3RAC77T3.js → chunk-Y76Z32VB.js} +1 -1
- package/dist/{chunk-YTMJJOJ7.js → chunk-YGZQBJTZ.js} +11 -6
- package/dist/{chunk-QRJ5QOOH.js → chunk-YIIWGRHM.js} +3 -3
- package/dist/{chunk-K37GG2W4.js → chunk-ZWUASBUA.js} +1 -1
- package/dist/index.css +1179 -866
- package/dist/index.d.ts +6 -3
- package/dist/index.js +63 -61
- package/dist/inputs/src/InputGroup.css +675 -362
- package/dist/inputs/src/InputGroup.js +2 -2
- package/dist/inputs/src/NumberField.css +697 -384
- package/dist/inputs/src/NumberField.js +9 -9
- package/dist/inputs/src/PasswordField.css +685 -372
- 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 +691 -378
- package/dist/inputs/src/SearchField.js +9 -9
- package/dist/inputs/src/TextArea.css +692 -379
- package/dist/inputs/src/TextArea.js +8 -8
- package/dist/inputs/src/TextField.css +689 -376
- package/dist/inputs/src/TextField.js +12 -12
- package/dist/inputs/src/index.css +735 -422
- package/dist/inputs/src/index.js +18 -18
- package/dist/overlays/Popover/src/Popover.css +1179 -866
- package/dist/overlays/Popover/src/Popover.js +63 -61
- package/dist/overlays/Popover/src/index.css +1179 -866
- package/dist/overlays/Popover/src/index.js +63 -61
- package/dist/radio/src/DecorativeRadio.css +54 -54
- 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.js +2 -2
- package/dist/radio/src/RadioGroup.css +98 -98
- package/dist/radio/src/RadioGroup.js +3 -3
- package/dist/radio/src/index.css +98 -98
- package/dist/radio/src/index.js +11 -11
- 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 +801 -488
- package/dist/tag/src/Tag.js +11 -11
- package/dist/tag/src/TagGroup.css +37 -37
- package/dist/tag/src/TagGroup.js +1 -1
- package/dist/tag/src/TagList.css +27 -27
- package/dist/tag/src/index.css +811 -498
- package/dist/tag/src/index.js +12 -12
- 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 +7 -7
- package/package.json +10 -10
- package/dist/chunk-BPH5ATEH.js +0 -187
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { RadioContext } from './chunk-FU5CCPLP.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
|
+
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
6
7
|
import { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
7
8
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
8
|
-
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
9
9
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
10
10
|
import { BulletIcon, IconContext } 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:./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___G970V Radio-module__hop-Radio___XpuQG", "hop-DecorativeRadio--sm": "DecorativeRadio-module__hop-DecorativeRadio--sm___evuAe Radio-module__hop-Radio--sm___qIPmE", "hop-DecorativeRadio--md": "DecorativeRadio-module__hop-DecorativeRadio--md___vRdWJ Radio-module__hop-Radio--md___A8z-9", "hop-DecorativeRadio__icon": "DecorativeRadio-module__hop-DecorativeRadio__icon___YkXaI Radio-module__hop-Radio__icon___yeuXg", "hop-DecorativeRadio__icon-list": "DecorativeRadio-module__hop-DecorativeRadio__icon-list___4eJZB Radio-module__hop-Radio__icon___yeuXg", "hop-DecorativeRadio__box": "DecorativeRadio-module__hop-DecorativeRadio__box___DtAMN Radio-module__hop-Radio__box___W7AH6", "hop-DecorativeRadio__bullet": "DecorativeRadio-module__hop-DecorativeRadio__bullet___2-V8G Radio-module__hop-Radio__bullet___lXZ2T", "hop-DecorativeRadio__text": "DecorativeRadio-module__hop-DecorativeRadio__text___aKVl1 Radio-module__hop-Radio__text___-d-rN" };
|
|
19
19
|
var GlobalDecorativeRadioCssSelector = "hop-DecorativeRadio";
|
|
20
20
|
function DecorativeRadio(props, ref) {
|
|
21
21
|
var _a;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
1
2
|
import { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
2
3
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
3
|
-
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
4
4
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
5
5
|
import { RichIconAvatarImageContext } from './chunk-JWW56J7M.js';
|
|
6
6
|
import { RichIconContext } from '@hopper-ui/icons';
|
|
@@ -11,7 +11,7 @@ import { useContextProps, composeRenderProps } from 'react-aria-components';
|
|
|
11
11
|
import { jsx } from 'react/jsx-runtime';
|
|
12
12
|
|
|
13
13
|
// css-module:./RichIconAvatarImage.module.css#css-module
|
|
14
|
-
var RichIconAvatarImage_module_default = { "hop-RichIconAvatarImage": "RichIconAvatarImage-module__hop-
|
|
14
|
+
var RichIconAvatarImage_module_default = { "hop-RichIconAvatarImage": "RichIconAvatarImage-module__hop-RichIconAvatarImage___WBGT4", "hop-RichIconAvatarImage--xs": "RichIconAvatarImage-module__hop-RichIconAvatarImage--xs___jFcEk", "hop-RichIconAvatarImage--sm": "RichIconAvatarImage-module__hop-RichIconAvatarImage--sm___Tp-W8", "hop-RichIconAvatarImage--md": "RichIconAvatarImage-module__hop-RichIconAvatarImage--md___f4Jds", "hop-RichIconAvatarImage--lg": "RichIconAvatarImage-module__hop-RichIconAvatarImage--lg___TJeA3", "hop-RichIconAvatarImage--xl": "RichIconAvatarImage-module__hop-RichIconAvatarImage--xl___TnS4q", "hop-RichIconAvatarImage--2xl": "RichIconAvatarImage-module__hop-RichIconAvatarImage--2xl___All-Y", "hop-RichIconAvatarImage__icon": "RichIconAvatarImage-module__hop-RichIconAvatarImage__icon___V5XSb" };
|
|
15
15
|
var GlobalRichIconAvatarImageCssSelector = "hop-RichIconAvatarImage";
|
|
16
16
|
var AvatarToIconSizeAdapter = {
|
|
17
17
|
xs: "md",
|
|
@@ -5,8 +5,8 @@ import { CheckboxContext } from './chunk-2EAZPH3M.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';
|
|
8
|
-
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
9
8
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
9
|
+
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
10
10
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
11
11
|
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
12
12
|
import { forwardRef } from 'react';
|
|
@@ -14,7 +14,7 @@ import { useContextProps, composeRenderProps, CheckboxGroup as CheckboxGroup$1 }
|
|
|
14
14
|
import { jsx } from 'react/jsx-runtime';
|
|
15
15
|
|
|
16
16
|
// css-module:./CheckboxGroup.module.css#css-module
|
|
17
|
-
var CheckboxGroup_module_default = { "hop-CheckboxGroup": "CheckboxGroup-module__hop-
|
|
17
|
+
var CheckboxGroup_module_default = { "hop-CheckboxGroup": "CheckboxGroup-module__hop-CheckboxGroup___TY0L4", "hop-CheckboxGroup--bordered": "CheckboxGroup-module__hop-CheckboxGroup--bordered___u7Qad", "hop-CheckboxGroup--sm": "CheckboxGroup-module__hop-CheckboxGroup--sm___OpNi3", "hop-CheckboxGroup--md": "CheckboxGroup-module__hop-CheckboxGroup--md___orn6Z", "hop-CheckboxGroup__label": "CheckboxGroup-module__hop-CheckboxGroup__label___VT-Jc", "hop-CheckboxGroup__list": "CheckboxGroup-module__hop-CheckboxGroup__list___xGgvs", "hop-CheckboxGroup__checkbox": "CheckboxGroup-module__hop-CheckboxGroup__checkbox___18s2-", "hop-CheckboxGroup__error-message": "CheckboxGroup-module__hop-CheckboxGroup__error-message___Tb1J3", "hop-CheckboxGroup__helper-message": "CheckboxGroup-module__hop-CheckboxGroup__helper-message___oiDoF" };
|
|
18
18
|
var GlobalCheckboxGroupCssSelector = "hop-CheckboxGroup";
|
|
19
19
|
function CheckboxGroup(props, ref) {
|
|
20
20
|
var _a, _b;
|
|
@@ -1,9 +1,9 @@
|
|
|
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
|
+
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
4
5
|
import { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
5
6
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
6
|
-
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
7
7
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
8
8
|
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
9
9
|
import { forwardRef } from 'react';
|
|
@@ -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,16 +1,16 @@
|
|
|
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 {
|
|
7
|
-
import { EnsureTextWrapper } from './chunk-XAEUK2IS.js';
|
|
6
|
+
import { EnsureTextWrapper } from './chunk-MHDM4YO4.js';
|
|
8
7
|
import { useLocalizedString } from './chunk-TFVDF4YH.js';
|
|
8
|
+
import { BadgeContext } from './chunk-CQDLZ42T.js';
|
|
9
9
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
10
10
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
11
11
|
import { AvatarContext } from './chunk-AES7QBQE.js';
|
|
12
|
-
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
13
12
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
13
|
+
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
14
14
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
15
15
|
import { IconContext } from '@hopper-ui/icons';
|
|
16
16
|
import { slot, useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
@@ -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,12 +1,12 @@
|
|
|
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';
|
|
7
7
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
8
|
-
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
9
8
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
9
|
+
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
10
10
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
11
11
|
import { IconContext, SearchIcon } from '@hopper-ui/icons';
|
|
12
12
|
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
@@ -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,35 +3,36 @@ 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';
|
|
21
22
|
import { LinkContext } from './chunk-4VVNSXIB.js';
|
|
22
23
|
import { FormContext } from './chunk-EURJK4ZT.js';
|
|
23
|
-
import { ComboBoxOptionsContext } from './chunk-XGOJ7VOE.js';
|
|
24
|
-
import { BadgeContext } from './chunk-CQDLZ42T.js';
|
|
25
24
|
import { PopoverContext } from './chunk-SC6ZK5ON.js';
|
|
26
25
|
import { ListBoxContext } from './chunk-UIEP5BA5.js';
|
|
27
|
-
import { EnsureTextWrapper } from './chunk-
|
|
26
|
+
import { EnsureTextWrapper } from './chunk-MHDM4YO4.js';
|
|
28
27
|
import { HeadingContext } from './chunk-TXZ6BMFR.js';
|
|
29
28
|
import { LabelContext } from './chunk-QCA3ZR56.js';
|
|
30
29
|
import { ComboBoxContext } from './chunk-4XHTP4GX.js';
|
|
30
|
+
import { ComboBoxOptionsContext } from './chunk-XGOJ7VOE.js';
|
|
31
|
+
import { BadgeContext } from './chunk-CQDLZ42T.js';
|
|
31
32
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
32
33
|
import { ClearProviders } from './chunk-HXI3MEEK.js';
|
|
33
|
-
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
34
34
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
35
|
+
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
35
36
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
36
37
|
import { useStyledSystem, useResponsiveValue, useColorSchemeContext } from '@hopper-ui/styled-system';
|
|
37
38
|
export * from '@hopper-ui/styled-system';
|
|
@@ -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",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { CheckboxFieldContext } from './chunk-ZGNK4GWA.js';
|
|
2
2
|
import { CheckboxContext } from './chunk-2EAZPH3M.js';
|
|
3
3
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
4
|
+
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
4
5
|
import { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
5
6
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
6
|
-
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
7
7
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
8
8
|
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
9
9
|
import { forwardRef } from 'react';
|
|
@@ -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,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-MHDM4YO4.js';
|
|
4
4
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
5
5
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
6
|
+
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
6
7
|
import { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
7
8
|
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___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,12 +1,12 @@
|
|
|
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';
|
|
7
7
|
import { ErrorMessageContext } from './chunk-FAE27DLF.js';
|
|
8
|
-
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
9
8
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
9
|
+
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
10
10
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
11
11
|
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
12
12
|
import { forwardRef } from 'react';
|
|
@@ -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;
|