@hopper-ui/components 1.3.18 → 1.3.20
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 +13 -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/ComboBox/src/ComboBox.css +713 -713
- package/dist/ComboBox/src/ComboBox.js +6 -6
- package/dist/ComboBox/src/ComboBoxOptions.css +713 -713
- package/dist/ComboBox/src/ComboBoxOptions.js +47 -47
- package/dist/ComboBox/src/index.css +713 -713
- package/dist/ComboBox/src/index.js +47 -47
- 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 +713 -713
- package/dist/Form/src/Form.js +47 -47
- package/dist/Form/src/index.css +713 -713
- package/dist/Form/src/index.js +47 -47
- 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.js +9 -9
- package/dist/ListBox/src/ListBoxItemSkeleton.css +34 -34
- package/dist/ListBox/src/ListBoxItemSkeleton.js +1 -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 +713 -713
- package/dist/Select/src/SelectOptions.js +47 -47
- package/dist/Select/src/SelectValue.css +61 -61
- package/dist/Select/src/SelectValue.js +5 -5
- package/dist/Select/src/index.css +713 -713
- package/dist/Select/src/index.js +47 -47
- 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 +112 -112
- package/dist/buttons/src/Button.js +7 -7
- package/dist/buttons/src/ButtonGroup.css +38 -38
- package/dist/buttons/src/ButtonGroup.js +1 -1
- package/dist/buttons/src/ClearButton.css +98 -98
- package/dist/buttons/src/ClearButton.js +2 -2
- package/dist/buttons/src/EmbeddedButton.css +98 -98
- package/dist/buttons/src/EmbeddedButton.js +1 -1
- package/dist/buttons/src/index.css +194 -194
- package/dist/buttons/src/index.js +10 -10
- 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-AK267453.js → chunk-2GH5MFYM.js} +6 -5
- package/dist/{chunk-QYVXEOFZ.js → chunk-2TKSTDV2.js} +1 -1
- package/dist/{chunk-CIJ3WPZ7.js → chunk-3RAC77T3.js} +1 -1
- package/dist/{chunk-ZDIKM45I.js → chunk-3YY4L64N.js} +2 -2
- package/dist/{chunk-XBN3O7RO.js → chunk-4AJKRRST.js} +3 -3
- package/dist/{chunk-IBHETMJB.js → chunk-56JPORN2.js} +2 -2
- package/dist/{chunk-ZPDZFICA.js → chunk-5DE3AIOL.js} +1 -1
- package/dist/{chunk-PYN3T726.js → chunk-5IJ5WIHP.js} +3 -3
- package/dist/{chunk-YVCELBU7.js → chunk-653VMV4L.js} +3 -3
- package/dist/{chunk-6NM7WUL4.js → chunk-7S4WBT4G.js} +2 -2
- package/dist/{chunk-D3533FNR.js → chunk-AKZXMYPT.js} +1 -1
- package/dist/{chunk-AMBRBOIQ.js → chunk-AW7BK3KI.js} +1 -1
- package/dist/{chunk-VP46GULO.js → chunk-BAVC57WI.js} +1 -1
- package/dist/{chunk-JL3K5IXR.js → chunk-BPH5ATEH.js} +3 -3
- package/dist/{chunk-B3LVKBHM.js → chunk-CSG4J7DG.js} +1 -1
- package/dist/{chunk-YSIZ6OV3.js → chunk-D2ZXLYC4.js} +1 -1
- package/dist/{chunk-MPJYOQU5.js → chunk-DDCNAIN3.js} +1 -1
- package/dist/{chunk-IPM7WRBC.js → chunk-DF556GIE.js} +1 -1
- package/dist/{chunk-WHGDC7T4.js → chunk-EH3ONDLF.js} +2 -2
- package/dist/{chunk-EWAN3WSB.js → chunk-EOFFODBT.js} +2 -2
- package/dist/{chunk-SDVRNCLY.js → chunk-ETRACW2O.js} +2 -2
- package/dist/{chunk-5DZSNBY4.js → chunk-F4NDKYBQ.js} +1 -1
- package/dist/{chunk-K6BLKKG3.js → chunk-FGBJ4BQN.js} +3 -3
- package/dist/{chunk-TGQPH7A3.js → chunk-FH236DA7.js} +5 -5
- package/dist/{chunk-ATCE62U5.js → chunk-FSXYBGL2.js} +1 -1
- package/dist/{chunk-ABNZDBZP.js → chunk-FZANHOCL.js} +3 -3
- package/dist/{chunk-URE5PFMU.js → chunk-G3KPVKSY.js} +1 -1
- package/dist/{chunk-N3LRCSUZ.js → chunk-GQE7EKQR.js} +4 -4
- package/dist/{chunk-BRBEVRVF.js → chunk-H2IB2YPL.js} +1 -1
- package/dist/{chunk-AED25SMX.js → chunk-K37GG2W4.js} +1 -1
- package/dist/{chunk-Z5CODJIW.js → chunk-KFE26Z37.js} +1 -1
- package/dist/{chunk-NVDHY6W4.js → chunk-LOK2QDPO.js} +14 -3
- package/dist/{chunk-H6HGDEW4.js → chunk-LQQIV4NI.js} +2 -2
- package/dist/{chunk-OK4ANEAT.js → chunk-LU7FB5PR.js} +5 -5
- package/dist/{chunk-O25LM3KC.js → chunk-MILAEJ2L.js} +1 -1
- package/dist/{chunk-6YQY6Z2V.js → chunk-MZUJCQXJ.js} +2 -2
- package/dist/{chunk-TIP427IG.js → chunk-NBU2JO34.js} +14 -3
- package/dist/{chunk-TOOEBZKT.js → chunk-NHWFS4AT.js} +3 -3
- package/dist/{chunk-FWP67SDV.js → chunk-OQPYRC2F.js} +1 -1
- package/dist/{chunk-ALFEQ7WW.js → chunk-PMLYF4LY.js} +2 -2
- package/dist/{chunk-WX6CCUCW.js → chunk-QRJ5QOOH.js} +2 -2
- package/dist/{chunk-ZQOVNUKV.js → chunk-UXX325G4.js} +2 -2
- package/dist/{chunk-WJZ2OTC5.js → chunk-VOPMQNZU.js} +1 -1
- package/dist/{chunk-OZKEVEPI.js → chunk-VR5K6SKY.js} +2 -2
- package/dist/{chunk-UDPW7R42.js → chunk-XAEUK2IS.js} +1 -1
- package/dist/{chunk-33YTZ3QA.js → chunk-YTMJJOJ7.js} +1 -1
- package/dist/{chunk-XPPRHRLO.js → chunk-ZFLVZHFU.js} +3 -3
- package/dist/index.css +713 -713
- package/dist/index.js +47 -47
- package/dist/inputs/src/InputGroup.css +209 -209
- package/dist/inputs/src/InputGroup.js +1 -1
- package/dist/inputs/src/NumberField.css +231 -231
- package/dist/inputs/src/NumberField.js +7 -7
- package/dist/inputs/src/PasswordField.css +219 -219
- package/dist/inputs/src/PasswordField.js +7 -7
- package/dist/inputs/src/RemainingCharacterCount.css +30 -30
- package/dist/inputs/src/RemainingCharacterCount.js +5 -5
- package/dist/inputs/src/SearchField.css +225 -225
- package/dist/inputs/src/SearchField.js +8 -8
- package/dist/inputs/src/TextArea.css +226 -226
- package/dist/inputs/src/TextArea.js +7 -7
- package/dist/inputs/src/TextField.css +223 -223
- package/dist/inputs/src/TextField.js +10 -10
- package/dist/inputs/src/index.css +269 -269
- package/dist/inputs/src/index.js +14 -14
- package/dist/overlays/Popover/src/Popover.css +713 -713
- package/dist/overlays/Popover/src/Popover.js +47 -47
- package/dist/overlays/Popover/src/index.css +713 -713
- package/dist/overlays/Popover/src/index.js +47 -47
- 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 +1 -1
- package/dist/radio/src/index.css +98 -98
- package/dist/radio/src/index.js +9 -9
- 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 +1 -1
- package/dist/switch/src/index.css +49 -49
- package/dist/switch/src/index.js +7 -7
- package/dist/tag/src/Tag.css +335 -335
- package/dist/tag/src/Tag.js +9 -9
- 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 +345 -345
- package/dist/tag/src/index.js +10 -10
- 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 +5 -5
- package/package.json +1 -1
|
@@ -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___-cncn", "hop-CheckboxField--sm": "CheckboxField-module__hop-CheckboxField--sm___NyzFJ", "hop-CheckboxField--md": "CheckboxField-module__hop-CheckboxField--md___SNi5C", "hop-CheckboxField__description": "CheckboxField-module__hop-CheckboxField__description___1Swkk", "hop-CheckboxField__checkbox": "CheckboxField-module__hop-CheckboxField__checkbox___9TFNK" };
|
|
16
16
|
var GlobalCheckboxFieldCssSelector = "hop-CheckboxField";
|
|
17
17
|
var CheckboxToDescriptionSizeAdapter = {
|
|
18
18
|
sm: "xs",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BadgeContext } from './chunk-CQDLZ42T.js';
|
|
2
|
-
import { _OverlineText } from './chunk-
|
|
2
|
+
import { _OverlineText } from './chunk-DF556GIE.js';
|
|
3
3
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
4
4
|
import { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
5
5
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
@@ -11,8 +11,19 @@ import { mergeProps } from 'react-aria';
|
|
|
11
11
|
import { useContextProps, composeRenderProps } from 'react-aria-components';
|
|
12
12
|
import { jsx } from 'react/jsx-runtime';
|
|
13
13
|
|
|
14
|
+
// src/Badge/utils/Badge.utils.ts
|
|
15
|
+
function isOrbiterVariant(variant) {
|
|
16
|
+
return ["informative", "warning", "positive", "negative"].includes(variant);
|
|
17
|
+
}
|
|
18
|
+
function mapOrbiterToHopperVariants(variant) {
|
|
19
|
+
if (isOrbiterVariant(variant)) {
|
|
20
|
+
return "primary";
|
|
21
|
+
}
|
|
22
|
+
return variant;
|
|
23
|
+
}
|
|
24
|
+
|
|
14
25
|
// css-module:./Badge.module.css#css-module
|
|
15
|
-
var Badge_module_default = { "hop-Badge": "Badge-module__hop-
|
|
26
|
+
var Badge_module_default = { "hop-Badge": "Badge-module__hop-Badge___5fQ5c" };
|
|
16
27
|
var GlobalBadgeCssSelector = "hop-Badge";
|
|
17
28
|
function Badge(props, ref) {
|
|
18
29
|
[props, ref] = useContextProps(props, ref, BadgeContext);
|
|
@@ -68,7 +79,7 @@ function Badge(props, ref) {
|
|
|
68
79
|
"data-hovered": isHovered || void 0,
|
|
69
80
|
"data-pressed": isPressed || void 0,
|
|
70
81
|
"data-selected": isSelected || void 0,
|
|
71
|
-
"data-variant": variant,
|
|
82
|
+
"data-variant": mapOrbiterToHopperVariants(variant),
|
|
72
83
|
children: !isDot && renderProps.children
|
|
73
84
|
}
|
|
74
85
|
) });
|
|
@@ -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-XAEUK2IS.js';
|
|
4
4
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
5
5
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
6
6
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
@@ -13,7 +13,7 @@ import { useContextProps, composeRenderProps, Checkbox as Checkbox$1 } from 'rea
|
|
|
13
13
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
14
14
|
|
|
15
15
|
// css-module:./Checkbox.module.css#css-module
|
|
16
|
-
var Checkbox_module_default = { "hop-Checkbox": "Checkbox-module__hop-
|
|
16
|
+
var Checkbox_module_default = { "hop-Checkbox": "Checkbox-module__hop-Checkbox___CzO1h", "hop-Checkbox--sm": "Checkbox-module__hop-Checkbox--sm___VcyT6", "hop-Checkbox--md": "Checkbox-module__hop-Checkbox--md___J3sX8", "hop-Checkbox__icon": "Checkbox-module__hop-Checkbox__icon___2OaKH", "hop-Checkbox__icon-list": "Checkbox-module__hop-Checkbox__icon-list___zLzmp", "hop-Checkbox__box": "Checkbox-module__hop-Checkbox__box___w4Bp4", "hop-Checkbox__check": "Checkbox-module__hop-Checkbox__check___i6tFk", "hop-Checkbox__text": "Checkbox-module__hop-Checkbox__text___yw7JB" };
|
|
17
17
|
var GlobalCheckboxCssSelector = "hop-Checkbox";
|
|
18
18
|
function Checkbox(props, ref) {
|
|
19
19
|
var _a;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { useTruncatedText } from './chunk-Z57VHYOF.js';
|
|
2
|
-
import { _RemainingCharacterCount } from './chunk-
|
|
2
|
+
import { _RemainingCharacterCount } from './chunk-EOFFODBT.js';
|
|
3
3
|
import { TextFieldContext } from './chunk-O4XPUINW.js';
|
|
4
|
-
import { _InputGroup } from './chunk-
|
|
5
|
-
import { _ClearButton } from './chunk-
|
|
6
|
-
import { EnsureTextWrapper } from './chunk-
|
|
4
|
+
import { _InputGroup } from './chunk-AKZXMYPT.js';
|
|
5
|
+
import { _ClearButton } from './chunk-DDCNAIN3.js';
|
|
6
|
+
import { EnsureTextWrapper } from './chunk-XAEUK2IS.js';
|
|
7
7
|
import { LabelContext } from './chunk-QCA3ZR56.js';
|
|
8
8
|
import { HelperMessageContext } from './chunk-HZKFQ33E.js';
|
|
9
9
|
import { ErrorMessageContext } from './chunk-FAE27DLF.js';
|
|
@@ -23,7 +23,7 @@ import { useContextProps, composeRenderProps, Input, TextField as TextField$1 }
|
|
|
23
23
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
24
24
|
|
|
25
25
|
// css-module:./TextField.module.css#css-module
|
|
26
|
-
var TextField_module_default = { "hop-TextField": "TextField-module__hop-
|
|
26
|
+
var TextField_module_default = { "hop-TextField": "TextField-module__hop-TextField___O6kRu", "hop-TextField--fluid": "TextField-module__hop-TextField--fluid___L7VqW", "hop-TextField__Label": "TextField-module__hop-TextField__Label___6AlbQ", "hop-TextField__prefix": "TextField-module__hop-TextField__prefix___pcVM6", "hop-TextField__InputGroup": "TextField-module__hop-TextField__InputGroup___-52OU", "hop-TextField__ErrorMessage": "TextField-module__hop-TextField__ErrorMessage___HbSd3", "hop-TextField__HelperMessage": "TextField-module__hop-TextField__HelperMessage___r--7C" };
|
|
27
27
|
var GlobalTextFieldCssSelector = "hop-TextField";
|
|
28
28
|
function TextField(props, ref) {
|
|
29
29
|
var _a;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AvatarContext } from './chunk-AES7QBQE.js';
|
|
2
|
-
import { _RichIconAvatarImage } from './chunk-
|
|
2
|
+
import { _RichIconAvatarImage } from './chunk-H2IB2YPL.js';
|
|
3
3
|
import { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
4
4
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
5
5
|
import { DeletedUserRichIcon } from '@hopper-ui/icons';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HelperMessageContext } from './chunk-HZKFQ33E.js';
|
|
2
|
-
import { _Text } from './chunk-
|
|
2
|
+
import { _Text } from './chunk-G3KPVKSY.js';
|
|
3
3
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
4
4
|
import { InfoIcon } from '@hopper-ui/icons';
|
|
5
5
|
import { useStyledSystem } from '@hopper-ui/styled-system';
|
|
@@ -9,7 +9,7 @@ import { useContextProps, FieldErrorContext } from 'react-aria-components';
|
|
|
9
9
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
10
10
|
|
|
11
11
|
// css-module:./HelperMessage.module.css#css-module
|
|
12
|
-
var HelperMessage_module_default = { "hop-HelperMessage": "HelperMessage-module__hop-
|
|
12
|
+
var HelperMessage_module_default = { "hop-HelperMessage": "HelperMessage-module__hop-HelperMessage___MxY3k", "hop-HelperMessage__icon": "HelperMessage-module__hop-HelperMessage__icon___J4cU2" };
|
|
13
13
|
var GlobalHelperMessageCssSelector = "hop-HelperMessage";
|
|
14
14
|
function HelperMessage(props, ref) {
|
|
15
15
|
const validation = useContext(FieldErrorContext);
|
|
@@ -8,8 +8,19 @@ import { forwardRef } from 'react';
|
|
|
8
8
|
import { useContextProps, composeRenderProps, Button } from 'react-aria-components';
|
|
9
9
|
import { jsx } from 'react/jsx-runtime';
|
|
10
10
|
|
|
11
|
+
// src/tag/utils/Tag.utils.ts
|
|
12
|
+
function mapOrbiterToHopperVariants(variant) {
|
|
13
|
+
if (variant === "informative") {
|
|
14
|
+
return "option1";
|
|
15
|
+
}
|
|
16
|
+
if (variant === "warning") {
|
|
17
|
+
return "option6";
|
|
18
|
+
}
|
|
19
|
+
return variant;
|
|
20
|
+
}
|
|
21
|
+
|
|
11
22
|
// css-module:./EmbeddedButton.module.css#css-module
|
|
12
|
-
var EmbeddedButton_module_default = { "hop-EmbeddedButton": "EmbeddedButton-module__hop-
|
|
23
|
+
var EmbeddedButton_module_default = { "hop-EmbeddedButton": "EmbeddedButton-module__hop-EmbeddedButton___pDmaw", "hop-EmbeddedButton--md": "EmbeddedButton-module__hop-EmbeddedButton--md___TQr-0", "hop-EmbeddedButton--lg": "EmbeddedButton-module__hop-EmbeddedButton--lg___zvyKi", "hop-EmbeddedButton--neutral": "EmbeddedButton-module__hop-EmbeddedButton--neutral___TFsUF", "hop-EmbeddedButton--subdued": "EmbeddedButton-module__hop-EmbeddedButton--subdued___LxTLn", "hop-EmbeddedButton--progress": "EmbeddedButton-module__hop-EmbeddedButton--progress___tdz11", "hop-EmbeddedButton--positive": "EmbeddedButton-module__hop-EmbeddedButton--positive___JYB7M", "hop-EmbeddedButton--caution": "EmbeddedButton-module__hop-EmbeddedButton--caution___AEEc-", "hop-EmbeddedButton--negative": "EmbeddedButton-module__hop-EmbeddedButton--negative___MWxgT", "hop-EmbeddedButton--option1": "EmbeddedButton-module__hop-EmbeddedButton--option1___MOb8f", "hop-EmbeddedButton--option2": "EmbeddedButton-module__hop-EmbeddedButton--option2___ow5-i", "hop-EmbeddedButton--option3": "EmbeddedButton-module__hop-EmbeddedButton--option3___NX8HX", "hop-EmbeddedButton--option4": "EmbeddedButton-module__hop-EmbeddedButton--option4___f8xXS", "hop-EmbeddedButton--option5": "EmbeddedButton-module__hop-EmbeddedButton--option5___iUOpy", "hop-EmbeddedButton--option6": "EmbeddedButton-module__hop-EmbeddedButton--option6___k1iK7", "hop-EmbeddedButton__icon": "EmbeddedButton-module__hop-EmbeddedButton__icon___9JL7D" };
|
|
13
24
|
var GlobalEmbeddedButtonCssSelector = "hop-EmbeddedButton";
|
|
14
25
|
function EmbeddedButton(props, ref) {
|
|
15
26
|
var _a;
|
|
@@ -34,7 +45,7 @@ function EmbeddedButton(props, ref) {
|
|
|
34
45
|
EmbeddedButton_module_default,
|
|
35
46
|
"hop-EmbeddedButton",
|
|
36
47
|
size,
|
|
37
|
-
variant
|
|
48
|
+
mapOrbiterToHopperVariants(variant)
|
|
38
49
|
),
|
|
39
50
|
stylingProps.className
|
|
40
51
|
);
|
|
@@ -72,4 +83,4 @@ function EmbeddedButton(props, ref) {
|
|
|
72
83
|
var _EmbeddedButton = slot("button", forwardRef(EmbeddedButton));
|
|
73
84
|
_EmbeddedButton.displayName = "EmbeddedButton";
|
|
74
85
|
|
|
75
|
-
export { GlobalEmbeddedButtonCssSelector, _EmbeddedButton };
|
|
86
|
+
export { GlobalEmbeddedButtonCssSelector, _EmbeddedButton, mapOrbiterToHopperVariants };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useImageFallback } from './chunk-LI5HSYF7.js';
|
|
2
|
-
import { _Text } from './chunk-
|
|
2
|
+
import { _Text } from './chunk-G3KPVKSY.js';
|
|
3
3
|
import { AvatarContext } from './chunk-AES7QBQE.js';
|
|
4
|
-
import { _RichIconAvatarImage } from './chunk-
|
|
4
|
+
import { _RichIconAvatarImage } from './chunk-H2IB2YPL.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___S3G8c", "hop-Avatar--xs": "Avatar-module__hop-Avatar--xs___GjK0-", "hop-Avatar--sm": "Avatar-module__hop-Avatar--sm___Uc9w7", "hop-Avatar--md": "Avatar-module__hop-Avatar--md___wj9GR", "hop-Avatar--lg": "Avatar-module__hop-Avatar--lg___yzcBv", "hop-Avatar--xl": "Avatar-module__hop-Avatar--xl___nO3hZ", "hop-Avatar--2xl": "Avatar-module__hop-Avatar--2xl___124-T", "hop-Avatar--decorative-option1": "Avatar-module__hop-Avatar--decorative-option1___WAMt4", "hop-Avatar--decorative-option2": "Avatar-module__hop-Avatar--decorative-option2___rdhY-", "hop-Avatar--decorative-option3": "Avatar-module__hop-Avatar--decorative-option3___m1yRU", "hop-Avatar--decorative-option4": "Avatar-module__hop-Avatar--decorative-option4___XSbQE", "hop-Avatar--decorative-option5": "Avatar-module__hop-Avatar--decorative-option5___6JthT", "hop-Avatar--decorative-option6": "Avatar-module__hop-Avatar--decorative-option6___dghk6", "hop-Avatar--decorative-option7": "Avatar-module__hop-Avatar--decorative-option7___aBDkk", "hop-Avatar--decorative-option8": "Avatar-module__hop-Avatar--decorative-option8___-eIVi", "hop-Avatar--decorative-option9": "Avatar-module__hop-Avatar--decorative-option9___TIR9s", "hop-Avatar__image": "Avatar-module__hop-Avatar__image___MIRJd" };
|
|
17
17
|
var GlobalAvatarCssSelector = "hop-Avatar";
|
|
18
18
|
var AvatarToTextSizeAdapter = {
|
|
19
19
|
xs: "xs",
|
|
@@ -10,7 +10,7 @@ import { useContextProps } from 'react-aria-components';
|
|
|
10
10
|
import { jsx } from 'react/jsx-runtime';
|
|
11
11
|
|
|
12
12
|
// css-module:./FloatingBadge.module.css#css-module
|
|
13
|
-
var FloatingBadge_module_default = { "hop-FloatingBadge": "FloatingBadge-module__hop-
|
|
13
|
+
var FloatingBadge_module_default = { "hop-FloatingBadge": "FloatingBadge-module__hop-FloatingBadge___AkP3O", "hop-FloatingBadge__badge": "FloatingBadge-module__hop-FloatingBadge__badge___Igord" };
|
|
14
14
|
var GlobalFloatingBadgeCssSelector = "hop-FloatingBadge";
|
|
15
15
|
function FloatingBadge(props, ref) {
|
|
16
16
|
[props, ref] = useContextProps(props, ref, FloatingBadgeContext);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SwitchContext } from './chunk-YHBJAXUY.js';
|
|
2
2
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
3
|
-
import { EnsureTextWrapper } from './chunk-
|
|
3
|
+
import { EnsureTextWrapper } from './chunk-XAEUK2IS.js';
|
|
4
4
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
5
5
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
6
6
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
@@ -13,7 +13,7 @@ import { useContextProps, composeRenderProps, Switch as Switch$1 } from 'react-a
|
|
|
13
13
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
14
14
|
|
|
15
15
|
// css-module:./Switch.module.css#css-module
|
|
16
|
-
var Switch_module_default = { "hop-Switch": "Switch-module__hop-
|
|
16
|
+
var Switch_module_default = { "hop-Switch": "Switch-module__hop-Switch___u041L", "hop-Switch--sm": "Switch-module__hop-Switch--sm___pZI5g", "hop-Switch--md": "Switch-module__hop-Switch--md___uivPF", "hop-Switch__indicator": "Switch-module__hop-Switch__indicator___enCY5", "hop-Switch__text": "Switch-module__hop-Switch__text___wRu7p", "hop-Switch__icon-list": "Switch-module__hop-Switch__icon-list___tdVKg", "hop-Switch__icon": "Switch-module__hop-Switch__icon___OoWkK" };
|
|
17
17
|
var GlobalSwitchCssSelector = "hop-Switch";
|
|
18
18
|
function Switch(props, ref) {
|
|
19
19
|
var _a;
|
|
@@ -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-XAEUK2IS.js';
|
|
4
4
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
5
5
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
6
6
|
import { SlotProvider } from './chunk-M36KANKC.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___XtW0B", "hop-Link--quiet": "Link-module__hop-Link--quiet___cip-N", "hop-Link--primary": "Link-module__hop-Link--primary___M9s4P", "hop-Link--secondary": "Link-module__hop-Link--secondary___q0-mD", "hop-Link__icon": "Link-module__hop-Link__icon___ct9sg", "hop-Link__icon-list": "Link-module__hop-Link__icon-list___ZTtey", "hop-Link__text": "Link-module__hop-Link__text___WNUDc", "hop-Link__start-icon": "Link-module__hop-Link__start-icon___2y2GE", "hop-Link__start-icon-list": "Link-module__hop-Link__start-icon-list___LnJHN" };
|
|
16
16
|
var GlobalLinkCssSelector = "hop-Link";
|
|
17
17
|
var LinkToIconSizeAdapter = {
|
|
18
18
|
inherit: void 0,
|
|
@@ -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-XAEUK2IS.js';
|
|
4
4
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
5
5
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
6
6
|
import { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
@@ -15,7 +15,7 @@ import { useContextProps, composeRenderProps } from 'react-aria-components';
|
|
|
15
15
|
import { 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___KOwWB Checkbox-module__hop-Checkbox___CzO1h", "hop-DecorativeCheckbox--sm": "DecorativeCheckbox-module__hop-DecorativeCheckbox--sm___Wwf-t Checkbox-module__hop-Checkbox--sm___VcyT6", "hop-DecorativeCheckbox--md": "DecorativeCheckbox-module__hop-DecorativeCheckbox--md___yLA7z Checkbox-module__hop-Checkbox--md___J3sX8", "hop-DecorativeCheckbox__icon": "DecorativeCheckbox-module__hop-DecorativeCheckbox__icon___DW-Ps Checkbox-module__hop-Checkbox__icon___2OaKH", "hop-DecorativeCheckbox__icon-list": "DecorativeCheckbox-module__hop-DecorativeCheckbox__icon-list___8n8C5 Checkbox-module__hop-Checkbox__icon___2OaKH", "hop-DecorativeCheckbox__box": "DecorativeCheckbox-module__hop-DecorativeCheckbox__box___HqnCq Checkbox-module__hop-Checkbox__box___w4Bp4", "hop-DecorativeCheckbox__check": "DecorativeCheckbox-module__hop-DecorativeCheckbox__check___IGtcx Checkbox-module__hop-Checkbox__check___i6tFk", "hop-DecorativeCheckbox__text": "DecorativeCheckbox-module__hop-DecorativeCheckbox__text___bHHxl Checkbox-module__hop-Checkbox__text___yw7JB" };
|
|
19
19
|
var GlobalDecorativeCheckboxCssSelector = "hop-DecorativeCheckbox";
|
|
20
20
|
function DecorativeCheckbox(props, ref) {
|
|
21
21
|
var _a;
|
|
@@ -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___LFmX8", "hop-SwitchField--sm": "SwitchField-module__hop-SwitchField--sm___jzSHD", "hop-SwitchField--md": "SwitchField-module__hop-SwitchField--md___NLVpu", "hop-SwitchField__description": "SwitchField-module__hop-SwitchField__description___Pxn3L", "hop-SwitchField__switch": "SwitchField-module__hop-SwitchField__switch___0ajh3" };
|
|
16
16
|
var GlobalSwitchFieldCssSelector = "hop-SwitchField";
|
|
17
17
|
var SwitchToDescriptionSizeAdapter = {
|
|
18
18
|
sm: "xs",
|
|
@@ -1,6 +1,6 @@
|
|
|
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-XAEUK2IS.js';
|
|
4
4
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
5
5
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
6
6
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
@@ -13,7 +13,7 @@ import { useContextProps, composeRenderProps, Radio as Radio$1 } from 'react-ari
|
|
|
13
13
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
14
14
|
|
|
15
15
|
// css-module:./Radio.module.css#css-module
|
|
16
|
-
var Radio_module_default = { "hop-Radio": "Radio-module__hop-
|
|
16
|
+
var Radio_module_default = { "hop-Radio": "Radio-module__hop-Radio___Gt8zz", "hop-Radio--sm": "Radio-module__hop-Radio--sm___09Mx-", "hop-Radio--md": "Radio-module__hop-Radio--md___9P-QN", "hop-Radio__icon": "Radio-module__hop-Radio__icon___Qk--g", "hop-Radio__icon-list": "Radio-module__hop-Radio__icon-list___f-HBt", "hop-Radio__box": "Radio-module__hop-Radio__box___h6dfa", "hop-Radio__bullet": "Radio-module__hop-Radio__bullet___Dzw-Q", "hop-Radio__text": "Radio-module__hop-Radio__text___hKaTF" };
|
|
17
17
|
var GlobalRadioCssSelector = "hop-Radio";
|
|
18
18
|
function Radio(props, ref) {
|
|
19
19
|
var _a;
|
|
@@ -10,7 +10,7 @@ import { useContextProps } from 'react-aria-components';
|
|
|
10
10
|
import { jsx } from 'react/jsx-runtime';
|
|
11
11
|
|
|
12
12
|
// css-module:./ButtonGroup.module.css#css-module
|
|
13
|
-
var ButtonGroup_module_default = { "hop-ButtonGroup": "ButtonGroup-module__hop-
|
|
13
|
+
var ButtonGroup_module_default = { "hop-ButtonGroup": "ButtonGroup-module__hop-ButtonGroup___6Wt7-", "hop-ButtonGroup--horizontal": "ButtonGroup-module__hop-ButtonGroup--horizontal___A4PM8", "hop-ButtonGroup--vertical": "ButtonGroup-module__hop-ButtonGroup--vertical___XXsfV", "hop-ButtonGroup--start": "ButtonGroup-module__hop-ButtonGroup--start___eN8Ed", "hop-ButtonGroup--center": "ButtonGroup-module__hop-ButtonGroup--center___XfVHT", "hop-ButtonGroup--end": "ButtonGroup-module__hop-ButtonGroup--end___BSeUO", "hop-ButtonGroup--wrap": "ButtonGroup-module__hop-ButtonGroup--wrap___ckKrK", "hop-ButtonGroup--fluid": "ButtonGroup-module__hop-ButtonGroup--fluid___CO-rt" };
|
|
14
14
|
var GlobalButtonGroupCssSelector = "hop-ButtonGroup";
|
|
15
15
|
function ButtonGroup(props, ref) {
|
|
16
16
|
var _a, _b, _c, _d;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { isFunction } from './chunk-TIPN4VYD.js';
|
|
2
2
|
import { SectionContext } from './chunk-5H5AZJPQ.js';
|
|
3
|
-
import { _ListBoxItem } from './chunk-
|
|
3
|
+
import { _ListBoxItem } from './chunk-FH236DA7.js';
|
|
4
4
|
import { ListBoxItemContext } from './chunk-Y2POLIXK.js';
|
|
5
5
|
import { HeaderContext } from './chunk-7JOGKC3W.js';
|
|
6
6
|
import { ListBoxContext } from './chunk-UIEP5BA5.js';
|
|
7
7
|
import { useLocalizedString } from './chunk-TFVDF4YH.js';
|
|
8
|
-
import { _Text } from './chunk-
|
|
8
|
+
import { _Text } from './chunk-G3KPVKSY.js';
|
|
9
9
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
10
10
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
11
11
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
@@ -17,7 +17,7 @@ import { useContextProps, composeRenderProps, ListBox as ListBox$1, Collection }
|
|
|
17
17
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
18
18
|
|
|
19
19
|
// css-module:./ListBox.module.css#css-module
|
|
20
|
-
var ListBox_module_default = { "hop-ListBox": "ListBox-module__hop-
|
|
20
|
+
var ListBox_module_default = { "hop-ListBox": "ListBox-module__hop-ListBox___3hIdm", "hop-ListBox--fluid": "ListBox-module__hop-ListBox--fluid___KYv8L", "hop-ListBox__section": "ListBox-module__hop-ListBox__section___ehK9Q", "hop-ListBox__item": "ListBox-module__hop-ListBox__item___iNZjV", "hop-ListBox__section-header": "ListBox-module__hop-ListBox__section-header___1lGBP" };
|
|
21
21
|
var GlobalListBoxCssSelector = "hop-ListBox";
|
|
22
22
|
var GlobalListBoxEmptyItemCssSelector = "hop-ListBox__empty-item";
|
|
23
23
|
var ListBoxToTextSizeAdapter = {
|