@hopper-ui/components 1.3.26 → 1.3.27
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 +6 -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 +768 -768
- package/dist/ComboBox/src/ComboBox.js +48 -48
- package/dist/ComboBox/src/index.css +768 -768
- package/dist/ComboBox/src/index.js +48 -48
- 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 +768 -768
- package/dist/Form/src/Form.js +48 -48
- package/dist/Form/src/index.css +768 -768
- package/dist/Form/src/index.js +48 -48
- 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 +768 -768
- package/dist/Select/src/Select.js +48 -48
- package/dist/Select/src/SelectValue.css +61 -61
- package/dist/Select/src/SelectValue.js +5 -5
- package/dist/Select/src/index.css +768 -768
- package/dist/Select/src/index.js +48 -48
- 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 +93 -93
- 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/LinkButton.css +102 -102
- package/dist/buttons/src/LinkButton.js +6 -6
- package/dist/buttons/src/index.css +249 -249
- package/dist/buttons/src/index.js +11 -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 +2 -2
- package/dist/checkbox/src/CheckboxGroup.css +98 -98
- package/dist/checkbox/src/CheckboxGroup.js +5 -5
- 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 +11 -11
- package/dist/{chunk-YO2QYRC2.js → chunk-262RJIGA.js} +2 -2
- package/dist/{chunk-RH56CRXC.js → chunk-26JRG5P2.js} +1 -1
- package/dist/{chunk-4T564HJ6.js → chunk-3A5Q37MM.js} +1 -1
- package/dist/{chunk-5U74TYYM.js → chunk-3DSI4A25.js} +4 -4
- package/dist/{chunk-2EV3YY6O.js → chunk-3FABBS5K.js} +4 -4
- package/dist/{chunk-OH47EJDL.js → chunk-4ESIATYX.js} +26 -12
- package/dist/{chunk-34ER3Q3E.js → chunk-4LY3QUF7.js} +3 -3
- package/dist/{chunk-Z2LOHKRH.js → chunk-4R4VJYXW.js} +1 -1
- package/dist/{chunk-3O7BL2KX.js → chunk-5ZDKZVQM.js} +4 -4
- package/dist/{chunk-AN67K6WK.js → chunk-72NKF2AB.js} +1 -1
- package/dist/{chunk-D423VDJZ.js → chunk-7366VQMH.js} +2 -2
- package/dist/{chunk-UV3CWRCS.js → chunk-7NSEHOZW.js} +1 -1
- package/dist/{chunk-QLFK4TDW.js → chunk-7OSLSIHA.js} +1 -1
- package/dist/{chunk-VAAXBSBQ.js → chunk-7QNILDAK.js} +1 -1
- package/dist/{chunk-7YCHVZAY.js → chunk-AAJGLUXC.js} +2 -2
- package/dist/{chunk-UNIVA5T3.js → chunk-AOUWGLHZ.js} +1 -1
- package/dist/chunk-BMOOWAAW.js +12 -0
- package/dist/{chunk-AQSTIWVL.js → chunk-CEFWC6OK.js} +2 -2
- package/dist/{chunk-BX43IOO4.js → chunk-CSLPKYB6.js} +1 -1
- package/dist/{chunk-GKELD2X2.js → chunk-D4N5ORWO.js} +4 -4
- package/dist/{chunk-ESWWZ7W6.js → chunk-DLYK2J7R.js} +3 -3
- package/dist/{chunk-EXL4IHCP.js → chunk-EDAWPFOP.js} +2 -2
- package/dist/{chunk-Y4ZE6KY7.js → chunk-FHKWROAK.js} +31 -31
- package/dist/{chunk-3UP24VEW.js → chunk-FYCSOMNM.js} +6 -6
- package/dist/{chunk-D356AG3Y.js → chunk-IF6FFKJB.js} +6 -6
- package/dist/{chunk-SHLXCNCB.js → chunk-JGCL3ROE.js} +1 -1
- package/dist/{chunk-CPMQVH6E.js → chunk-JUEWDQTT.js} +5 -5
- package/dist/{chunk-XF3Q4TNE.js → chunk-L346WC7U.js} +3 -3
- package/dist/{chunk-DTY2IJJ4.js → chunk-L4ONWVF5.js} +3 -3
- package/dist/{chunk-E5B2HDJG.js → chunk-LU2S4CPY.js} +1 -1
- package/dist/{chunk-P46AXP47.js → chunk-PTH2WMQB.js} +3 -3
- package/dist/{chunk-3W66UTRH.js → chunk-PUUCFEQG.js} +3 -3
- package/dist/{chunk-BBBCM4UD.js → chunk-QQ4G5H73.js} +3 -3
- package/dist/{chunk-BCCHOOJ6.js → chunk-R4H626CF.js} +18 -26
- package/dist/{chunk-TUAAD5PI.js → chunk-R4PZKRHK.js} +1 -1
- package/dist/{chunk-Q6YABMDY.js → chunk-RMCIJTZ3.js} +5 -5
- package/dist/{chunk-ON7MQIOJ.js → chunk-RQKPEW74.js} +1 -1
- package/dist/{chunk-UIVMBUPT.js → chunk-S7MY54LO.js} +1 -1
- package/dist/{chunk-5VMRSEZJ.js → chunk-SI6ESKQ7.js} +2 -2
- package/dist/{chunk-IFHFCK4B.js → chunk-SUPINNZT.js} +1 -1
- package/dist/{chunk-KZQDYFSO.js → chunk-U3TSBX2D.js} +3 -3
- package/dist/{chunk-O4UTOFYE.js → chunk-V6PEW5FQ.js} +3 -3
- package/dist/{chunk-QHS7OPTX.js → chunk-VQCVSSSJ.js} +2 -2
- package/dist/{chunk-X5UWK5RL.js → chunk-WH2HH7QB.js} +1 -1
- package/dist/{chunk-PLJGFTQE.js → chunk-XULV7YVB.js} +1 -1
- package/dist/{chunk-SEMHS2HM.js → chunk-YNSPLMBA.js} +3 -3
- package/dist/index.css +768 -768
- package/dist/index.d.ts +1 -1
- package/dist/index.js +48 -48
- package/dist/inputs/src/InputGroup.css +264 -264
- package/dist/inputs/src/InputGroup.js +1 -1
- package/dist/inputs/src/NumberField.css +286 -286
- package/dist/inputs/src/NumberField.js +7 -7
- package/dist/inputs/src/PasswordField.css +274 -274
- 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 +280 -280
- package/dist/inputs/src/SearchField.js +8 -8
- package/dist/inputs/src/TextArea.css +281 -281
- package/dist/inputs/src/TextArea.js +7 -7
- package/dist/inputs/src/TextField.css +278 -278
- package/dist/inputs/src/TextField.d.ts +2 -11
- package/dist/inputs/src/TextField.js +12 -10
- package/dist/inputs/src/index.css +324 -324
- package/dist/inputs/src/index.js +16 -14
- package/dist/overlays/Popover/src/Popover.css +768 -768
- package/dist/overlays/Popover/src/Popover.js +48 -48
- package/dist/overlays/Popover/src/index.css +768 -768
- package/dist/overlays/Popover/src/index.js +48 -48
- 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 +2 -2
- package/dist/radio/src/RadioGroup.css +98 -98
- package/dist/radio/src/RadioGroup.js +5 -5
- 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 +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 +390 -390
- 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 +400 -400
- 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.d.ts +2 -6
- package/dist/utils/src/EnsureTextWrapper.js +5 -5
- package/dist/utils/src/index.css +27 -27
- package/dist/utils/src/index.d.ts +1 -1
- package/dist/utils/src/index.js +5 -5
- package/package.json +1 -1
- package/dist/chunk-ZZPW6TQD.js +0 -9
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
export { _CheckboxGroup as CheckboxGroup, GlobalCheckboxGroupCssSelector } from '../../chunk-
|
|
1
|
+
export { _CheckboxGroup as CheckboxGroup, GlobalCheckboxGroupCssSelector } from '../../chunk-JUEWDQTT.js';
|
|
2
2
|
export { CheckboxGroupContext } from '../../chunk-N7YDPVZL.js';
|
|
3
|
-
export { _Checkbox as Checkbox, GlobalCheckboxCssSelector } from '../../chunk-
|
|
4
|
-
export { _CheckboxField as CheckboxField, GlobalCheckboxFieldCssSelector } from '../../chunk-
|
|
3
|
+
export { _Checkbox as Checkbox, GlobalCheckboxCssSelector } from '../../chunk-4LY3QUF7.js';
|
|
4
|
+
export { _CheckboxField as CheckboxField, GlobalCheckboxFieldCssSelector } from '../../chunk-262RJIGA.js';
|
|
5
5
|
export { CheckboxFieldContext } from '../../chunk-ZGNK4GWA.js';
|
|
6
|
-
export { _DecorativeCheckbox as DecorativeCheckbox, GlobalDecorativeCheckboxCssSelector } from '../../chunk-
|
|
6
|
+
export { _DecorativeCheckbox as DecorativeCheckbox, GlobalDecorativeCheckboxCssSelector } from '../../chunk-D4N5ORWO.js';
|
|
7
7
|
export { CheckboxContext } from '../../chunk-2EAZPH3M.js';
|
|
8
|
-
import '../../chunk-
|
|
8
|
+
import '../../chunk-BMOOWAAW.js';
|
|
9
9
|
import '../../chunk-ZWU6DRRZ.js';
|
|
10
10
|
import '../../chunk-LJXTJRSB.js';
|
|
11
|
-
import '../../chunk-
|
|
11
|
+
import '../../chunk-SUPINNZT.js';
|
|
12
12
|
import '../../chunk-TXZ6BMFR.js';
|
|
13
|
-
import '../../chunk-
|
|
13
|
+
import '../../chunk-WH2HH7QB.js';
|
|
14
14
|
import '../../chunk-QCA3ZR56.js';
|
|
15
15
|
import '../../chunk-TFVDF4YH.js';
|
|
16
16
|
import '../../chunk-DHVVYSLB.js';
|
|
17
|
-
import '../../chunk-
|
|
17
|
+
import '../../chunk-7366VQMH.js';
|
|
18
18
|
import '../../chunk-HZKFQ33E.js';
|
|
19
|
-
import '../../chunk-
|
|
19
|
+
import '../../chunk-4ESIATYX.js';
|
|
20
20
|
import '../../chunk-FAE27DLF.js';
|
|
21
|
-
import '../../chunk-
|
|
21
|
+
import '../../chunk-72NKF2AB.js';
|
|
22
22
|
import '../../chunk-WPNVVGFW.js';
|
|
23
|
-
import '../../chunk-
|
|
23
|
+
import '../../chunk-7OSLSIHA.js';
|
|
24
24
|
import '../../chunk-X6SER3TZ.js';
|
|
25
25
|
import '../../chunk-HXI3MEEK.js';
|
|
26
26
|
import '../../chunk-NH3IVMXB.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CheckboxFieldContext } from './chunk-ZGNK4GWA.js';
|
|
2
2
|
import { CheckboxContext } from './chunk-2EAZPH3M.js';
|
|
3
|
-
import { _Text } from './chunk-
|
|
3
|
+
import { _Text } from './chunk-7OSLSIHA.js';
|
|
4
4
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
5
5
|
import { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
6
6
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
@@ -14,7 +14,7 @@ import { useContextProps, composeRenderProps } from 'react-aria-components';
|
|
|
14
14
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
15
15
|
|
|
16
16
|
// css-module:./CheckboxField.module.css#css-module
|
|
17
|
-
var CheckboxField_module_default = { "hop-CheckboxField": "CheckboxField-module__hop-
|
|
17
|
+
var CheckboxField_module_default = { "hop-CheckboxField": "CheckboxField-module__hop-CheckboxField___td3hT", "hop-CheckboxField--sm": "CheckboxField-module__hop-CheckboxField--sm___7r09R", "hop-CheckboxField--md": "CheckboxField-module__hop-CheckboxField--md___NOz40", "hop-CheckboxField__description": "CheckboxField-module__hop-CheckboxField__description___3eGDz", "hop-CheckboxField__checkbox": "CheckboxField-module__hop-CheckboxField__checkbox___nUQ1h" };
|
|
18
18
|
var GlobalCheckboxFieldCssSelector = "hop-CheckboxField";
|
|
19
19
|
var CheckboxToDescriptionSizeAdapter = {
|
|
20
20
|
sm: "xs",
|
|
@@ -11,7 +11,7 @@ import { useContextProps } from 'react-aria-components';
|
|
|
11
11
|
import { jsx } from 'react/jsx-runtime';
|
|
12
12
|
|
|
13
13
|
// css-module:./ButtonGroup.module.css#css-module
|
|
14
|
-
var ButtonGroup_module_default = { "hop-ButtonGroup": "ButtonGroup-module__hop-
|
|
14
|
+
var ButtonGroup_module_default = { "hop-ButtonGroup": "ButtonGroup-module__hop-ButtonGroup___bjbbT", "hop-ButtonGroup--horizontal": "ButtonGroup-module__hop-ButtonGroup--horizontal___-t-Qy", "hop-ButtonGroup--vertical": "ButtonGroup-module__hop-ButtonGroup--vertical___-e8XN", "hop-ButtonGroup--start": "ButtonGroup-module__hop-ButtonGroup--start___DAWjN", "hop-ButtonGroup--center": "ButtonGroup-module__hop-ButtonGroup--center___dRJtF", "hop-ButtonGroup--end": "ButtonGroup-module__hop-ButtonGroup--end___VV1VR", "hop-ButtonGroup--wrap": "ButtonGroup-module__hop-ButtonGroup--wrap___ZfZ-2", "hop-ButtonGroup--fluid": "ButtonGroup-module__hop-ButtonGroup--fluid___oKIgm" };
|
|
15
15
|
var GlobalButtonGroupCssSelector = "hop-ButtonGroup";
|
|
16
16
|
function ButtonGroup(props, ref) {
|
|
17
17
|
var _a, _b, _c, _d;
|
|
@@ -10,7 +10,7 @@ import { useContextProps, useSlottedContext, InputContext, TextAreaContext, Fiel
|
|
|
10
10
|
import { jsx } from 'react/jsx-runtime';
|
|
11
11
|
|
|
12
12
|
// css-module:./InputGroup.module.css#css-module
|
|
13
|
-
var InputGroup_module_default = { "hop-InputGroup": "InputGroup-module__hop-
|
|
13
|
+
var InputGroup_module_default = { "hop-InputGroup": "InputGroup-module__hop-InputGroup___fNW71", "hop-InputGroup--fluid": "InputGroup-module__hop-InputGroup--fluid___2WcBf", "hop-InputGroup--sm": "InputGroup-module__hop-InputGroup--sm___u0WsG", "hop-InputGroup__input": "InputGroup-module__hop-InputGroup__input___7lTCu", "hop-InputGroup__textarea": "InputGroup-module__hop-InputGroup__textarea___FulyH", "hop-InputGroup__embedded-button": "InputGroup-module__hop-InputGroup__embedded-button___3356c" };
|
|
14
14
|
var GlobalInputGroupCssSelector = "hop-InputGroup";
|
|
15
15
|
function InputGroup(props, ref) {
|
|
16
16
|
var _a, _b;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useScale } from './chunk-MTDFS4CZ.js';
|
|
2
2
|
import { NumberFieldContext } from './chunk-ZQ3AWYRR.js';
|
|
3
|
-
import { _InputGroup } from './chunk-
|
|
4
|
-
import {
|
|
3
|
+
import { _InputGroup } from './chunk-3A5Q37MM.js';
|
|
4
|
+
import { ensureTextWrapper } from './chunk-BMOOWAAW.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___z0Ie6", "hop-NumberField--fluid": "NumberField-module__hop-NumberField--fluid___mTsZ2", "hop-NumberField--mobile": "NumberField-module__hop-NumberField--mobile___NPnuI", "hop-NumberField__Label": "NumberField-module__hop-NumberField__Label___35NnE", "hop-NumberField__prefix": "NumberField-module__hop-NumberField__prefix___kuDHO", "hop-NumberField__InputGroup": "NumberField-module__hop-NumberField__InputGroup___ecZAQ", "hop-NumberField__ErrorMessage": "NumberField-module__hop-NumberField__ErrorMessage___8VlAK", "hop-NumberField__HelperMessage": "NumberField-module__hop-NumberField__HelperMessage___5jxHy", "hop-NumberField__stepper-button": "NumberField-module__hop-NumberField__stepper-button___N5fCM", "hop-NumberField__stepper-button--increment": "NumberField-module__hop-NumberField__stepper-button--increment___LjUvA", "hop-NumberField__stepper-button--decrement": "NumberField-module__hop-NumberField__stepper-button--decrement___pzOJ9", "hop-NumberField__stepper-button--mobile": "NumberField-module__hop-NumberField__stepper-button--mobile___AhWsy", "hop-NumberField__stepper-button__icon": "NumberField-module__hop-NumberField__stepper-button__icon___yJxyL", "hop-NumberField__input": "NumberField-module__hop-NumberField__input___APaI-" };
|
|
25
25
|
var GlobalNumberFieldCssSelector = "hop-NumberField";
|
|
26
26
|
var StepperButton = ({ direction }) => {
|
|
27
27
|
const scale = useScale();
|
|
@@ -108,7 +108,7 @@ function NumberField(props, ref) {
|
|
|
108
108
|
[TextContext, { size, className: NumberField_module_default["hop-NumberField__prefix"] }],
|
|
109
109
|
[IconContext, { size, className: NumberField_module_default["hop-NumberField__prefix"] }]
|
|
110
110
|
],
|
|
111
|
-
children:
|
|
111
|
+
children: ensureTextWrapper(prefix)
|
|
112
112
|
}
|
|
113
113
|
) : null;
|
|
114
114
|
const { className: inputGroupClassName, inputClassName: inputGroupInputClassName, ...otherInputGroupProps } = inputGroupProps || {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useSlot } from './chunk-H5YTU3U7.js';
|
|
2
2
|
import { ButtonContext } from './chunk-WMTWFKKP.js';
|
|
3
|
-
import { _Spinner } from './chunk-
|
|
4
|
-
import {
|
|
3
|
+
import { _Spinner } from './chunk-VQCVSSSJ.js';
|
|
4
|
+
import { ensureTextWrapper } from './chunk-BMOOWAAW.js';
|
|
5
5
|
import { useLocalizedString } from './chunk-TFVDF4YH.js';
|
|
6
6
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
7
7
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
@@ -16,7 +16,7 @@ import { useContextProps, composeRenderProps, DEFAULT_SLOT, Button as Button$1 }
|
|
|
16
16
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
17
17
|
|
|
18
18
|
// css-module:./Button.module.css#css-module
|
|
19
|
-
var Button_module_default = { "hop-Button": "Button-module__hop-
|
|
19
|
+
var Button_module_default = { "hop-Button": "Button-module__hop-Button___STjp3", "hop-Button--fluid": "Button-module__hop-Button--fluid___wuSIS", "hop-Button--sm": "Button-module__hop-Button--sm___jnnW0", "hop-Button--md": "Button-module__hop-Button--md___TpcEK", "hop-Button--icon-only": "Button-module__hop-Button--icon-only___s-KxE", "hop-Button--primary": "Button-module__hop-Button--primary___uKmx-", "hop-Button--secondary": "Button-module__hop-Button--secondary___qiz0y", "hop-Button--upsell": "Button-module__hop-Button--upsell___1YL3P", "hop-Button--danger": "Button-module__hop-Button--danger___Rzelg", "hop-Button--ghost-primary": "Button-module__hop-Button--ghost-primary___3rhhh", "hop-Button--ghost-secondary": "Button-module__hop-Button--ghost-secondary___ltzud", "hop-Button--ghost-danger": "Button-module__hop-Button--ghost-danger___-Pj-Y", "hop-Button__Spinner": "Button-module__hop-Button__Spinner___Wp8XK", "hop-Button__icon": "Button-module__hop-Button__icon___qmq5h", "hop-Button__icon-list": "Button-module__hop-Button__icon-list___i05b7", "hop-Button__text": "Button-module__hop-Button__text___Lnjj-", "hop-Button__end-icon": "Button-module__hop-Button__end-icon___yOBWa", "hop-Button__end-icon-list": "Button-module__hop-Button__end-icon-list___BDcwr" };
|
|
20
20
|
var GlobalButtonCssSelector = "hop-Button";
|
|
21
21
|
function Button(props, ref) {
|
|
22
22
|
var _a, _b;
|
|
@@ -58,7 +58,7 @@ function Button(props, ref) {
|
|
|
58
58
|
};
|
|
59
59
|
});
|
|
60
60
|
const children = composeRenderProps(childrenProp, (prev) => {
|
|
61
|
-
return
|
|
61
|
+
return ensureTextWrapper(prev);
|
|
62
62
|
});
|
|
63
63
|
const { className: spinnerClassName, ...otherSpinnerProps } = spinnerProps || {};
|
|
64
64
|
const spinnerClassNames = clsx(Button_module_default["hop-Button__Spinner"], spinnerClassName);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ErrorMessageContext } from './chunk-FAE27DLF.js';
|
|
2
|
-
import { _Text } from './chunk-
|
|
2
|
+
import { _Text } from './chunk-7OSLSIHA.js';
|
|
3
3
|
import { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
4
4
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
5
5
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
@@ -10,7 +10,7 @@ import { FieldErrorContext, useContextProps, composeRenderProps } from 'react-ar
|
|
|
10
10
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
11
11
|
|
|
12
12
|
// css-module:./ErrorMessage.module.css#css-module
|
|
13
|
-
var ErrorMessage_module_default = { "hop-ErrorMessage": "ErrorMessage-module__hop-
|
|
13
|
+
var ErrorMessage_module_default = { "hop-ErrorMessage": "ErrorMessage-module__hop-ErrorMessage___Kpvc1", "hop-ErrorMessage__icon": "ErrorMessage-module__hop-ErrorMessage__icon___i1HE3" };
|
|
14
14
|
var GlobalErrorMessageCssSelector = "hop-ErrorMessage";
|
|
15
15
|
function ErrorMessage(props, ref) {
|
|
16
16
|
const validation = useContext(FieldErrorContext);
|
|
@@ -25,7 +25,14 @@ var ErrorMessageInner = forwardRef((props, ref) => {
|
|
|
25
25
|
const validation = useContext(FieldErrorContext);
|
|
26
26
|
[props, ref] = useContextProps(props, ref, ErrorMessageContext);
|
|
27
27
|
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
28
|
-
const {
|
|
28
|
+
const {
|
|
29
|
+
className,
|
|
30
|
+
children: childrenProp,
|
|
31
|
+
hideIcon = false,
|
|
32
|
+
style: styleProp,
|
|
33
|
+
slot = "errorMessage",
|
|
34
|
+
...otherProps
|
|
35
|
+
} = ownProps;
|
|
29
36
|
const classNames = composeClassnameRenderProps(
|
|
30
37
|
GlobalErrorMessageCssSelector,
|
|
31
38
|
cssModule(
|
|
@@ -42,28 +49,35 @@ var ErrorMessageInner = forwardRef((props, ref) => {
|
|
|
42
49
|
};
|
|
43
50
|
});
|
|
44
51
|
const warningIcon = !hideIcon && /* @__PURE__ */ jsx(WarningIcon, { size: "sm", className: ErrorMessage_module_default["hop-ErrorMessage__icon"] });
|
|
52
|
+
const children = composeRenderProps(childrenProp, (prev) => {
|
|
53
|
+
return prev ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
54
|
+
warningIcon,
|
|
55
|
+
" ",
|
|
56
|
+
prev
|
|
57
|
+
] }) : null;
|
|
58
|
+
});
|
|
45
59
|
const renderProps = useRenderProps({
|
|
60
|
+
...props,
|
|
46
61
|
className: classNames,
|
|
47
62
|
style,
|
|
48
|
-
children
|
|
49
|
-
|
|
50
|
-
" ",
|
|
51
|
-
children
|
|
52
|
-
] }) : null,
|
|
53
|
-
defaultChildren: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
63
|
+
children,
|
|
64
|
+
defaultChildren: validation.validationErrors.length === 0 ? void 0 : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
54
65
|
warningIcon,
|
|
55
66
|
" ",
|
|
56
67
|
validation.validationErrors.join(" ")
|
|
57
68
|
] }),
|
|
58
69
|
values: validation
|
|
59
70
|
});
|
|
71
|
+
if (renderProps.children == null) {
|
|
72
|
+
return null;
|
|
73
|
+
}
|
|
60
74
|
return /* @__PURE__ */ jsx(
|
|
61
75
|
_Text,
|
|
62
76
|
{
|
|
63
|
-
...otherProps,
|
|
64
|
-
...renderProps,
|
|
65
77
|
slot,
|
|
66
|
-
ref
|
|
78
|
+
ref,
|
|
79
|
+
...otherProps,
|
|
80
|
+
...renderProps
|
|
67
81
|
}
|
|
68
82
|
);
|
|
69
83
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CheckboxContext } from './chunk-2EAZPH3M.js';
|
|
2
|
-
import {
|
|
2
|
+
import { ensureTextWrapper } from './chunk-BMOOWAAW.js';
|
|
3
3
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
4
4
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
5
5
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.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___qODtD", "hop-Checkbox--sm": "Checkbox-module__hop-Checkbox--sm___-DvlR", "hop-Checkbox--md": "Checkbox-module__hop-Checkbox--md___yGdtX", "hop-Checkbox__icon": "Checkbox-module__hop-Checkbox__icon___o2Sm5", "hop-Checkbox__icon-list": "Checkbox-module__hop-Checkbox__icon-list___yKk2g", "hop-Checkbox__box": "Checkbox-module__hop-Checkbox__box___DiA09", "hop-Checkbox__check": "Checkbox-module__hop-Checkbox__check___PXtmY", "hop-Checkbox__text": "Checkbox-module__hop-Checkbox__text___hjMYk" };
|
|
17
17
|
var GlobalCheckboxCssSelector = "hop-Checkbox";
|
|
18
18
|
function Checkbox(props, ref) {
|
|
19
19
|
var _a;
|
|
@@ -44,7 +44,7 @@ function Checkbox(props, ref) {
|
|
|
44
44
|
};
|
|
45
45
|
});
|
|
46
46
|
const children = composeRenderProps(childrenProp, (prev) => {
|
|
47
|
-
return
|
|
47
|
+
return ensureTextWrapper(prev);
|
|
48
48
|
});
|
|
49
49
|
return /* @__PURE__ */ jsx(
|
|
50
50
|
Checkbox$1,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AvatarContext } from './chunk-AES7QBQE.js';
|
|
2
|
-
import { _RichIconAvatarImage } from './chunk-
|
|
2
|
+
import { _RichIconAvatarImage } from './chunk-S7MY54LO.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 { RadioContext } from './chunk-FU5CCPLP.js';
|
|
2
|
-
import {
|
|
2
|
+
import { ensureTextWrapper } from './chunk-BMOOWAAW.js';
|
|
3
3
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
4
4
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
5
5
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
@@ -12,10 +12,10 @@ import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
|
12
12
|
import { forwardRef } from 'react';
|
|
13
13
|
import { mergeProps } from 'react-aria';
|
|
14
14
|
import { useContextProps, composeRenderProps } from 'react-aria-components';
|
|
15
|
-
import {
|
|
15
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
16
16
|
|
|
17
17
|
// css-module:./DecorativeRadio.module.css#css-module
|
|
18
|
-
var DecorativeRadio_module_default = { "hop-DecorativeRadio": "DecorativeRadio-module__hop-
|
|
18
|
+
var DecorativeRadio_module_default = { "hop-DecorativeRadio": "DecorativeRadio-module__hop-DecorativeRadio___0CVm- Radio-module__hop-Radio___3-UHU", "hop-DecorativeRadio--sm": "DecorativeRadio-module__hop-DecorativeRadio--sm___NMrlo Radio-module__hop-Radio--sm___CkxHm", "hop-DecorativeRadio--md": "DecorativeRadio-module__hop-DecorativeRadio--md___Z8YcF Radio-module__hop-Radio--md___RQB3-", "hop-DecorativeRadio__icon": "DecorativeRadio-module__hop-DecorativeRadio__icon___UcfRL Radio-module__hop-Radio__icon___OJAaR", "hop-DecorativeRadio__icon-list": "DecorativeRadio-module__hop-DecorativeRadio__icon-list___IBRBe Radio-module__hop-Radio__icon___OJAaR", "hop-DecorativeRadio__box": "DecorativeRadio-module__hop-DecorativeRadio__box___bfQvy Radio-module__hop-Radio__box___2MiU4", "hop-DecorativeRadio__bullet": "DecorativeRadio-module__hop-DecorativeRadio__bullet___mHmvv Radio-module__hop-Radio__bullet___wcBIe", "hop-DecorativeRadio__text": "DecorativeRadio-module__hop-DecorativeRadio__text___uLlYd Radio-module__hop-Radio__text___xQmps" };
|
|
19
19
|
var GlobalDecorativeRadioCssSelector = "hop-DecorativeRadio";
|
|
20
20
|
function DecorativeRadio(props, ref) {
|
|
21
21
|
var _a;
|
|
@@ -40,7 +40,7 @@ function DecorativeRadio(props, ref) {
|
|
|
40
40
|
} = ownProps;
|
|
41
41
|
const size = (_a = useResponsiveValue(sizeProp)) != null ? _a : "md";
|
|
42
42
|
const children = composeRenderProps(childrenProp, (prev) => {
|
|
43
|
-
return
|
|
43
|
+
return ensureTextWrapper(prev);
|
|
44
44
|
});
|
|
45
45
|
const classNames = composeClassnameRenderProps(
|
|
46
46
|
className,
|
|
@@ -7,7 +7,7 @@ import { useContextProps, Text } from 'react-aria-components';
|
|
|
7
7
|
import { jsx } from 'react/jsx-runtime';
|
|
8
8
|
|
|
9
9
|
// css-module:./OverlineText.module.css#css-module
|
|
10
|
-
var OverlineText_module_default = { "hop-OverlineText": "OverlineText-module__hop-
|
|
10
|
+
var OverlineText_module_default = { "hop-OverlineText": "OverlineText-module__hop-OverlineText___mXivM", "hop-OverlineText__text": "OverlineText-module__hop-OverlineText__text___u-6BC" };
|
|
11
11
|
var GlobalOverlineTextCssSelector = "hop-OverlineText";
|
|
12
12
|
function OverlineText(props, ref) {
|
|
13
13
|
[props, ref] = useContextProps(props, ref, OverlineTextContext);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HelperMessageContext } from './chunk-HZKFQ33E.js';
|
|
2
|
-
import { _Text } from './chunk-
|
|
2
|
+
import { _Text } from './chunk-7OSLSIHA.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___YK3YB", "hop-HelperMessage__icon": "HelperMessage-module__hop-HelperMessage__icon___xPXtm" };
|
|
13
13
|
var GlobalHelperMessageCssSelector = "hop-HelperMessage";
|
|
14
14
|
function HelperMessage(props, ref) {
|
|
15
15
|
const validation = useContext(FieldErrorContext);
|
|
@@ -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___9Kquw", "hop-SwitchField--sm": "SwitchField-module__hop-SwitchField--sm___mBl60", "hop-SwitchField--md": "SwitchField-module__hop-SwitchField--md___IySS7", "hop-SwitchField__description": "SwitchField-module__hop-SwitchField__description___4tjCa", "hop-SwitchField__switch": "SwitchField-module__hop-SwitchField__switch___s7dBv" };
|
|
16
16
|
var GlobalSwitchFieldCssSelector = "hop-SwitchField";
|
|
17
17
|
var SwitchToDescriptionSizeAdapter = {
|
|
18
18
|
sm: "xs",
|
|
@@ -9,7 +9,7 @@ import { useContextProps, Text as Text$1 } from 'react-aria-components';
|
|
|
9
9
|
import { jsx } from 'react/jsx-runtime';
|
|
10
10
|
|
|
11
11
|
// css-module:./Text.module.css#css-module
|
|
12
|
-
var Text_module_default = { "hop-Text": "Text-module__hop-
|
|
12
|
+
var Text_module_default = { "hop-Text": "Text-module__hop-Text___yrj1h", "hop-Text--xs": "Text-module__hop-Text--xs___Lu8T3", "hop-Text--sm": "Text-module__hop-Text--sm___pRig8", "hop-Text--md": "Text-module__hop-Text--md___uKmjq", "hop-Text--lg": "Text-module__hop-Text--lg___qlKXm", "hop-Text--xl": "Text-module__hop-Text--xl___FgxT6", "hop-Text--2xl": "Text-module__hop-Text--2xl___C6sgK", "hop-Text--inherit": "Text-module__hop-Text--inherit___quEAZ" };
|
|
13
13
|
var GlobalTextCssSelector = "hop-Text";
|
|
14
14
|
function Text(props, ref) {
|
|
15
15
|
[props, ref] = useContextProps(props, ref, TextContext);
|
|
@@ -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___4muQu", "hop-FloatingBadge__badge": "FloatingBadge-module__hop-FloatingBadge__badge___1jtJH" };
|
|
14
14
|
var GlobalFloatingBadgeCssSelector = "hop-FloatingBadge";
|
|
15
15
|
function FloatingBadge(props, ref) {
|
|
16
16
|
[props, ref] = useContextProps(props, ref, FloatingBadgeContext);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useLocalizedString } from './chunk-TFVDF4YH.js';
|
|
2
|
-
import { _Text } from './chunk-
|
|
2
|
+
import { _Text } from './chunk-7OSLSIHA.js';
|
|
3
3
|
import { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
4
4
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
5
5
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
@@ -10,7 +10,7 @@ import { composeRenderProps } from 'react-aria-components';
|
|
|
10
10
|
import { jsx } from 'react/jsx-runtime';
|
|
11
11
|
|
|
12
12
|
// css-module:./RemainingCharacterCount.module.css#css-module
|
|
13
|
-
var RemainingCharacterCount_module_default = { "hop-RemainingCharacterCount": "RemainingCharacterCount-module__hop-
|
|
13
|
+
var RemainingCharacterCount_module_default = { "hop-RemainingCharacterCount": "RemainingCharacterCount-module__hop-RemainingCharacterCount___yyxM-" };
|
|
14
14
|
var GlobalRemainingCharacterCountCssSelector = "hop-RemainingCharacterCount";
|
|
15
15
|
function RemainingCharacterCount(props, ref) {
|
|
16
16
|
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
@@ -7,7 +7,7 @@ import { useContextProps, 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___bU4rM", "hop-Divider--vertical": "Divider-module__hop-Divider--vertical___SLtmb" };
|
|
11
11
|
var GlobalDividerCssSelector = "hop-Divider";
|
|
12
12
|
function Divider(props, ref) {
|
|
13
13
|
[props, ref] = useContextProps(props, ref, DividerContext);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { isTextOnlyChildren } from './chunk-ZWU6DRRZ.js';
|
|
2
|
+
import { _Text } from './chunk-7OSLSIHA.js';
|
|
3
|
+
import { jsx } from 'react/jsx-runtime';
|
|
4
|
+
|
|
5
|
+
function ensureTextWrapper(children) {
|
|
6
|
+
if (children && isTextOnlyChildren(children)) {
|
|
7
|
+
return /* @__PURE__ */ jsx(_Text, { children });
|
|
8
|
+
}
|
|
9
|
+
return children;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export { ensureTextWrapper };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RadioFieldContext } from './chunk-DGLAGYBD.js';
|
|
2
2
|
import { RadioContext } from './chunk-FU5CCPLP.js';
|
|
3
|
-
import { _Text } from './chunk-
|
|
3
|
+
import { _Text } from './chunk-7OSLSIHA.js';
|
|
4
4
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
5
5
|
import { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
6
6
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
@@ -14,7 +14,7 @@ import { useContextProps, composeRenderProps } from 'react-aria-components';
|
|
|
14
14
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
15
15
|
|
|
16
16
|
// css-module:./RadioField.module.css#css-module
|
|
17
|
-
var RadioField_module_default = { "hop-RadioField": "RadioField-module__hop-
|
|
17
|
+
var RadioField_module_default = { "hop-RadioField": "RadioField-module__hop-RadioField___-8Bpf", "hop-RadioField--sm": "RadioField-module__hop-RadioField--sm___uOXG-", "hop-RadioField--md": "RadioField-module__hop-RadioField--md___aPljS", "hop-RadioField__description": "RadioField-module__hop-RadioField__description___XveA5", "hop-RadioField__radio": "RadioField-module__hop-RadioField__radio___DhXFV" };
|
|
18
18
|
var GlobalRadioFieldCssSelector = "hop-RadioField";
|
|
19
19
|
var RadioToDescriptionSizeAdapter = {
|
|
20
20
|
sm: "xs",
|
|
@@ -20,7 +20,7 @@ function mapOrbiterToHopperVariants(variant) {
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
// css-module:./EmbeddedButton.module.css#css-module
|
|
23
|
-
var EmbeddedButton_module_default = { "hop-EmbeddedButton": "EmbeddedButton-module__hop-
|
|
23
|
+
var EmbeddedButton_module_default = { "hop-EmbeddedButton": "EmbeddedButton-module__hop-EmbeddedButton___ybW5t", "hop-EmbeddedButton--md": "EmbeddedButton-module__hop-EmbeddedButton--md___cXuwW", "hop-EmbeddedButton--lg": "EmbeddedButton-module__hop-EmbeddedButton--lg___EU8N5", "hop-EmbeddedButton--neutral": "EmbeddedButton-module__hop-EmbeddedButton--neutral___ioAA4", "hop-EmbeddedButton--subdued": "EmbeddedButton-module__hop-EmbeddedButton--subdued___KqZd3", "hop-EmbeddedButton--progress": "EmbeddedButton-module__hop-EmbeddedButton--progress___ANm7U", "hop-EmbeddedButton--positive": "EmbeddedButton-module__hop-EmbeddedButton--positive___TSF-j", "hop-EmbeddedButton--caution": "EmbeddedButton-module__hop-EmbeddedButton--caution___z4rUn", "hop-EmbeddedButton--negative": "EmbeddedButton-module__hop-EmbeddedButton--negative___B3Wtn", "hop-EmbeddedButton--option1": "EmbeddedButton-module__hop-EmbeddedButton--option1___gCRuz", "hop-EmbeddedButton--option2": "EmbeddedButton-module__hop-EmbeddedButton--option2___5D9FV", "hop-EmbeddedButton--option3": "EmbeddedButton-module__hop-EmbeddedButton--option3___7eXzF", "hop-EmbeddedButton--option4": "EmbeddedButton-module__hop-EmbeddedButton--option4___hshoT", "hop-EmbeddedButton--option5": "EmbeddedButton-module__hop-EmbeddedButton--option5___a6uFp", "hop-EmbeddedButton--option6": "EmbeddedButton-module__hop-EmbeddedButton--option6___-NgTI", "hop-EmbeddedButton__icon": "EmbeddedButton-module__hop-EmbeddedButton__icon___eKBCg" };
|
|
24
24
|
var GlobalEmbeddedButtonCssSelector = "hop-EmbeddedButton";
|
|
25
25
|
function EmbeddedButton(props, ref) {
|
|
26
26
|
var _a;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CheckboxContext } from './chunk-2EAZPH3M.js';
|
|
2
|
-
import {
|
|
2
|
+
import { ensureTextWrapper } from './chunk-BMOOWAAW.js';
|
|
3
3
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
4
4
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
5
5
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
@@ -12,10 +12,10 @@ import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
|
12
12
|
import { forwardRef } from 'react';
|
|
13
13
|
import { mergeProps } from 'react-aria';
|
|
14
14
|
import { useContextProps, composeRenderProps } from 'react-aria-components';
|
|
15
|
-
import {
|
|
15
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
16
16
|
|
|
17
17
|
// css-module:./DecorativeCheckbox.module.css#css-module
|
|
18
|
-
var DecorativeCheckbox_module_default = { "hop-DecorativeCheckbox": "DecorativeCheckbox-module__hop-
|
|
18
|
+
var DecorativeCheckbox_module_default = { "hop-DecorativeCheckbox": "DecorativeCheckbox-module__hop-DecorativeCheckbox___h1hXl Checkbox-module__hop-Checkbox___qODtD", "hop-DecorativeCheckbox--sm": "DecorativeCheckbox-module__hop-DecorativeCheckbox--sm___UYpIf Checkbox-module__hop-Checkbox--sm___-DvlR", "hop-DecorativeCheckbox--md": "DecorativeCheckbox-module__hop-DecorativeCheckbox--md___6laQF Checkbox-module__hop-Checkbox--md___yGdtX", "hop-DecorativeCheckbox__icon": "DecorativeCheckbox-module__hop-DecorativeCheckbox__icon___9SB-X Checkbox-module__hop-Checkbox__icon___o2Sm5", "hop-DecorativeCheckbox__icon-list": "DecorativeCheckbox-module__hop-DecorativeCheckbox__icon-list___9ILKK Checkbox-module__hop-Checkbox__icon___o2Sm5", "hop-DecorativeCheckbox__box": "DecorativeCheckbox-module__hop-DecorativeCheckbox__box___DKrpa Checkbox-module__hop-Checkbox__box___DiA09", "hop-DecorativeCheckbox__check": "DecorativeCheckbox-module__hop-DecorativeCheckbox__check___gB-UK Checkbox-module__hop-Checkbox__check___PXtmY", "hop-DecorativeCheckbox__text": "DecorativeCheckbox-module__hop-DecorativeCheckbox__text___62GEW Checkbox-module__hop-Checkbox__text___hjMYk" };
|
|
19
19
|
var GlobalDecorativeCheckboxCssSelector = "hop-DecorativeCheckbox";
|
|
20
20
|
function DecorativeCheckbox(props, ref) {
|
|
21
21
|
var _a;
|
|
@@ -41,7 +41,7 @@ function DecorativeCheckbox(props, ref) {
|
|
|
41
41
|
} = ownProps;
|
|
42
42
|
const size = (_a = useResponsiveValue(sizeProp)) != null ? _a : "md";
|
|
43
43
|
const children = composeRenderProps(childrenProp, (prev) => {
|
|
44
|
-
return
|
|
44
|
+
return ensureTextWrapper(prev);
|
|
45
45
|
});
|
|
46
46
|
const classNames = composeClassnameRenderProps(
|
|
47
47
|
className,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ensureTextWrapper } from './chunk-BMOOWAAW.js';
|
|
2
2
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
3
3
|
import { LinkContext } from './chunk-4VVNSXIB.js';
|
|
4
4
|
import { TextContext } from './chunk-X6SER3TZ.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___CLZqI", "hop-Link--quiet": "Link-module__hop-Link--quiet___4DCdt", "hop-Link--primary": "Link-module__hop-Link--primary___3ujr5", "hop-Link--secondary": "Link-module__hop-Link--secondary___FfY0I", "hop-Link__icon": "Link-module__hop-Link__icon___RADrx", "hop-Link__icon-list": "Link-module__hop-Link__icon-list___k6WEx", "hop-Link__text": "Link-module__hop-Link__text___uTGpk", "hop-Link__start-icon": "Link-module__hop-Link__start-icon___LOkmo", "hop-Link__start-icon-list": "Link-module__hop-Link__start-icon-list___7Jm-k" };
|
|
16
16
|
var GlobalLinkCssSelector = "hop-Link";
|
|
17
17
|
var LinkToIconSizeAdapter = {
|
|
18
18
|
inherit: void 0,
|
|
@@ -59,7 +59,7 @@ function Link(props, ref) {
|
|
|
59
59
|
};
|
|
60
60
|
});
|
|
61
61
|
const children = composeRenderProps(childrenProp, (prev) => {
|
|
62
|
-
return
|
|
62
|
+
return ensureTextWrapper(prev);
|
|
63
63
|
});
|
|
64
64
|
const iconSize = LinkToIconSizeAdapter[size];
|
|
65
65
|
return /* @__PURE__ */ jsx(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useIsOverflow } from './chunk-EHXOXTDN.js';
|
|
2
2
|
import { useLocalizedString } from './chunk-TFVDF4YH.js';
|
|
3
|
-
import { _Text } from './chunk-
|
|
3
|
+
import { _Text } from './chunk-7OSLSIHA.js';
|
|
4
4
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
5
5
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
6
6
|
import { AvatarContext } from './chunk-AES7QBQE.js';
|
|
@@ -16,7 +16,7 @@ import { useContextProps, SelectValueContext, SelectStateContext, useSlottedCont
|
|
|
16
16
|
import { jsx } from 'react/jsx-runtime';
|
|
17
17
|
|
|
18
18
|
// css-module:./SelectValue.module.css#css-module
|
|
19
|
-
var SelectValue_module_default = { "hop-SelectValue": "SelectValue-module__hop-
|
|
19
|
+
var SelectValue_module_default = { "hop-SelectValue": "SelectValue-module__hop-SelectValue___ATG3s", "hop-SelectValue__text": "SelectValue-module__hop-SelectValue__text___GdCkP", "hop-SelectValue__avatar": "SelectValue-module__hop-SelectValue__avatar___lIPA8", "hop-SelectValue__icon": "SelectValue-module__hop-SelectValue__icon___dddrJ", "hop-SelectValue__end-icon": "SelectValue-module__hop-SelectValue__end-icon___fQRGB" };
|
|
20
20
|
var GlobalSelectValueCssSelector = "hop-SelectValue";
|
|
21
21
|
var SelectValueToAvatarSizeAdapter = {
|
|
22
22
|
sm: "xs",
|