@hopper-ui/components 1.3.7 → 1.3.8
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 +7 -0
- package/dist/Avatar/src/AnonymousAvatar.css +10 -10
- package/dist/Avatar/src/AnonymousAvatar.js +2 -2
- package/dist/Avatar/src/Avatar.css +37 -37
- package/dist/Avatar/src/Avatar.js +3 -3
- package/dist/Avatar/src/DeletedAvatar.css +10 -10
- package/dist/Avatar/src/DeletedAvatar.js +2 -2
- package/dist/Avatar/src/RichIconAvatarImage.css +10 -10
- package/dist/Avatar/src/RichIconAvatarImage.js +1 -1
- package/dist/Avatar/src/index.css +37 -37
- package/dist/Avatar/src/index.js +5 -5
- package/dist/Badge/src/Badge.css +21 -21
- package/dist/Badge/src/Badge.js +2 -2
- package/dist/Badge/src/FloatingBadge.css +10 -10
- package/dist/Badge/src/FloatingBadge.js +1 -1
- package/dist/Badge/src/index.css +31 -31
- package/dist/Badge/src/index.js +3 -3
- package/dist/Divider/src/Divider.css +2 -2
- package/dist/Divider/src/Divider.js +1 -1
- package/dist/Divider/src/index.css +2 -2
- package/dist/Divider/src/index.js +1 -1
- package/dist/ErrorMessage/src/ErrorMessage.css +11 -11
- package/dist/ErrorMessage/src/ErrorMessage.js +2 -2
- package/dist/ErrorMessage/src/index.css +11 -11
- package/dist/ErrorMessage/src/index.js +2 -2
- package/dist/Form/src/Form.css +753 -762
- package/dist/Form/src/Form.js +47 -46
- package/dist/Form/src/index.css +753 -762
- package/dist/Form/src/index.js +47 -46
- package/dist/HelperMessage/src/HelperMessage.css +11 -11
- package/dist/HelperMessage/src/HelperMessage.js +2 -2
- package/dist/HelperMessage/src/index.css +11 -11
- package/dist/HelperMessage/src/index.js +2 -2
- package/dist/IconList/src/IconList.css +1 -1
- package/dist/IconList/src/IconList.js +1 -1
- package/dist/IconList/src/index.css +1 -1
- package/dist/IconList/src/index.js +1 -1
- package/dist/Link/src/Link.css +31 -31
- package/dist/Link/src/Link.js +2 -2
- package/dist/Link/src/index.css +31 -31
- package/dist/Link/src/index.js +2 -2
- package/dist/ListBox/src/ListBox.css +267 -267
- package/dist/ListBox/src/ListBox.js +6 -6
- package/dist/ListBox/src/ListBoxItem.css +253 -253
- package/dist/ListBox/src/ListBoxItem.js +5 -5
- package/dist/ListBox/src/ListBoxItemSkeleton.css +7 -7
- package/dist/ListBox/src/ListBoxItemSkeleton.js +1 -1
- package/dist/ListBox/src/index.css +267 -267
- package/dist/ListBox/src/index.js +6 -6
- package/dist/Select/src/Select.css +753 -762
- package/dist/Select/src/Select.js +47 -46
- package/dist/Select/src/SelectValue.css +60 -60
- package/dist/Select/src/SelectValue.js +5 -5
- package/dist/Select/src/index.css +753 -762
- package/dist/Select/src/index.js +47 -46
- package/dist/Spinner/src/Spinner.css +19 -19
- package/dist/Spinner/src/Spinner.js +2 -2
- package/dist/Spinner/src/index.css +19 -19
- package/dist/Spinner/src/index.js +2 -2
- package/dist/buttons/src/Button.css +94 -94
- package/dist/buttons/src/Button.js +3 -3
- package/dist/buttons/src/ButtonGroup.css +11 -11
- package/dist/buttons/src/ButtonGroup.js +1 -1
- package/dist/buttons/src/ClearButton.css +71 -71
- package/dist/buttons/src/ClearButton.js +2 -2
- package/dist/buttons/src/EmbeddedButton.css +71 -71
- package/dist/buttons/src/EmbeddedButton.js +1 -1
- package/dist/buttons/src/index.css +176 -176
- package/dist/buttons/src/index.js +6 -6
- package/dist/checkbox/src/Checkbox.css +28 -28
- package/dist/checkbox/src/Checkbox.js +2 -2
- package/dist/checkbox/src/CheckboxField.css +15 -15
- package/dist/checkbox/src/CheckboxField.js +1 -1
- package/dist/checkbox/src/CheckboxGroup.css +83 -83
- package/dist/checkbox/src/CheckboxGroup.js +1 -1
- package/dist/checkbox/src/DecorativeCheckbox.css +36 -36
- package/dist/checkbox/src/DecorativeCheckbox.js +2 -2
- package/dist/checkbox/src/index.css +83 -83
- package/dist/checkbox/src/index.js +5 -5
- package/dist/{chunk-F4XYXAPX.js → chunk-2J5HM77N.js} +1 -1
- package/dist/{chunk-Z63VLZM2.js → chunk-3LUQ6A2L.js} +2 -2
- package/dist/{chunk-WD3GLWJA.js → chunk-4ARX267G.js} +2 -2
- package/dist/{chunk-PVLUQZAG.js → chunk-6FDLX77I.js} +1 -1
- package/dist/{chunk-VMSIQERT.js → chunk-7CIKPH4J.js} +2 -2
- package/dist/{chunk-FSRORCX7.js → chunk-7H4MZKSZ.js} +4 -4
- package/dist/{chunk-VZAUDQPW.js → chunk-AC6JVAVX.js} +3 -3
- package/dist/{chunk-HIF2U66B.js → chunk-AGRLOZWN.js} +1 -1
- package/dist/{chunk-SRT6TJ7K.js → chunk-AJMHHWRN.js} +1 -1
- package/dist/chunk-BFVCZF4H.js +52 -0
- package/dist/{chunk-C4W3WI5F.js → chunk-BPFMTXRF.js} +2 -2
- package/dist/{chunk-CWP3RDUT.js → chunk-CTTRBWBT.js} +1 -1
- package/dist/{chunk-YUMDUDZX.js → chunk-CURG4YI3.js} +3 -3
- package/dist/{chunk-5LGDXMKZ.js → chunk-DRG2376D.js} +3 -3
- package/dist/{chunk-BZC3DOXC.js → chunk-E4PIETAY.js} +2 -2
- package/dist/{chunk-JZGG67JQ.js → chunk-FIJ3CLQB.js} +1 -1
- package/dist/{chunk-PJLVJG4E.js → chunk-GMMQYERH.js} +1 -1
- package/dist/{chunk-LXWDXMVL.js → chunk-H2L3SQIO.js} +7 -7
- package/dist/{chunk-BNBUTFBN.js → chunk-IP4N5EBH.js} +1 -1
- package/dist/{chunk-2LS24P2S.js → chunk-J2OCA4O2.js} +1 -1
- package/dist/{chunk-FKFP4LFR.js → chunk-JNDKNURH.js} +1 -1
- package/dist/{chunk-YFJWAPT5.js → chunk-JURJ6BXP.js} +1 -1
- package/dist/{chunk-JKE2GH2D.js → chunk-JVDDMMRS.js} +2 -2
- package/dist/{chunk-IZUZUN6Z.js → chunk-KQ735GKE.js} +5 -5
- package/dist/{chunk-AWYN6573.js → chunk-KXUA2JOW.js} +1 -1
- package/dist/{chunk-DNFIKL5N.js → chunk-KZWQ57ZJ.js} +2 -2
- package/dist/{chunk-BUI76FPU.js → chunk-MBFMR455.js} +1 -1
- package/dist/{chunk-4PCMNJTD.js → chunk-MVBXZQAH.js} +2 -2
- package/dist/{chunk-T2DEFREG.js → chunk-NLQW4MJR.js} +1 -1
- package/dist/{chunk-LULNSRRY.js → chunk-PEB7PBUB.js} +1 -1
- package/dist/{chunk-MDI3RFZS.js → chunk-PWOFOTJR.js} +1 -1
- package/dist/{chunk-PQTB3F7K.js → chunk-QLLCRVCV.js} +12 -21
- package/dist/{chunk-MTQURD2G.js → chunk-R4LPKOSF.js} +2 -2
- package/dist/{chunk-PGYHBNCP.js → chunk-RR6N2GZX.js} +2 -2
- package/dist/{chunk-DSUR3NPA.js → chunk-THMKXCNG.js} +2 -2
- package/dist/{chunk-MJ24AAEX.js → chunk-TQZKBOSP.js} +1 -1
- package/dist/{chunk-5CR5V44E.js → chunk-UR26A74E.js} +1 -1
- package/dist/{chunk-SZIBBFKI.js → chunk-VMCZQTOI.js} +2 -2
- package/dist/{chunk-DCTC6KDW.js → chunk-XEZVEXWO.js} +1 -1
- package/dist/{chunk-DMAM2GFN.js → chunk-XHMXUELC.js} +13 -21
- package/dist/{chunk-ZVOVNXPJ.js → chunk-XJAHZJVO.js} +1 -1
- package/dist/{chunk-IA343FCT.js → chunk-YHH5TXPG.js} +3 -3
- package/dist/{chunk-AHMI7DHJ.js → chunk-Z2VOM3C3.js} +3 -3
- package/dist/{chunk-JGOXWGEG.js → chunk-Z54LX6IU.js} +3 -3
- package/dist/index.css +753 -762
- package/dist/index.d.ts +5 -4
- package/dist/index.js +47 -46
- package/dist/inputs/src/InputGroup.css +191 -191
- package/dist/inputs/src/InputGroup.js +1 -1
- package/dist/inputs/src/NumberField.css +231 -231
- package/dist/inputs/src/NumberField.js +6 -6
- package/dist/inputs/src/PasswordField.css +219 -219
- package/dist/inputs/src/PasswordField.js +7 -7
- package/dist/inputs/src/RemainingCharacterCount.css +241 -0
- package/dist/inputs/src/RemainingCharacterCount.d.ts +25 -0
- package/dist/inputs/src/RemainingCharacterCount.js +17 -0
- package/dist/inputs/src/SearchField.css +225 -225
- package/dist/inputs/src/SearchField.js +8 -8
- package/dist/inputs/src/TextArea.css +241 -237
- package/dist/inputs/src/TextArea.js +8 -6
- package/dist/inputs/src/TextField.css +235 -233
- package/dist/inputs/src/TextField.js +10 -8
- package/dist/inputs/src/index.css +329 -338
- package/dist/inputs/src/index.d.ts +8 -4
- package/dist/inputs/src/index.js +14 -12
- package/dist/overlays/Popover/src/Popover.css +753 -762
- package/dist/overlays/Popover/src/Popover.js +47 -46
- package/dist/overlays/Popover/src/index.css +753 -762
- package/dist/overlays/Popover/src/index.js +47 -46
- package/dist/radio/src/DecorativeRadio.css +36 -36
- package/dist/radio/src/DecorativeRadio.js +2 -2
- package/dist/radio/src/Radio.css +28 -28
- package/dist/radio/src/Radio.js +2 -2
- package/dist/radio/src/RadioField.css +15 -15
- package/dist/radio/src/RadioField.js +1 -1
- package/dist/radio/src/RadioGroup.css +83 -83
- package/dist/radio/src/RadioGroup.js +2 -2
- package/dist/radio/src/index.css +83 -83
- package/dist/radio/src/index.js +6 -6
- package/dist/switch/src/Switch.css +25 -25
- package/dist/switch/src/Switch.js +2 -2
- package/dist/switch/src/SwitchField.css +15 -15
- package/dist/switch/src/SwitchField.js +1 -1
- package/dist/switch/src/index.css +31 -31
- package/dist/switch/src/index.js +3 -3
- package/dist/tag/src/Tag.css +323 -323
- package/dist/tag/src/Tag.js +5 -5
- package/dist/tag/src/TagGroup.css +22 -22
- package/dist/tag/src/TagGroup.js +1 -1
- package/dist/tag/src/index.css +336 -336
- package/dist/tag/src/index.js +6 -6
- package/dist/typography/Heading/src/Heading.css +9 -9
- package/dist/typography/Heading/src/Heading.js +1 -1
- package/dist/typography/Heading/src/index.css +9 -9
- package/dist/typography/Heading/src/index.js +1 -1
- package/dist/typography/Label/src/Label.css +3 -3
- package/dist/typography/Label/src/Label.js +1 -1
- package/dist/typography/Label/src/index.css +3 -3
- package/dist/typography/Label/src/index.js +1 -1
- package/dist/typography/OverlineText/src/OverlineText.css +6 -6
- package/dist/typography/OverlineText/src/OverlineText.js +1 -1
- package/dist/typography/OverlineText/src/index.css +6 -6
- package/dist/typography/OverlineText/src/index.js +1 -1
- package/dist/typography/Text/src/Text.css +9 -9
- package/dist/typography/Text/src/Text.js +1 -1
- package/dist/typography/Text/src/index.css +9 -9
- package/dist/typography/Text/src/index.js +1 -1
- package/dist/utils/src/index.js +1 -1
- package/package.json +2 -2
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { TagContext } from './chunk-EWMWQ2MC.js';
|
|
2
|
-
import { _ClearButton } from './chunk-
|
|
3
|
-
import { _Spinner } from './chunk-
|
|
2
|
+
import { _ClearButton } from './chunk-KXUA2JOW.js';
|
|
3
|
+
import { _Spinner } from './chunk-RR6N2GZX.js';
|
|
4
4
|
import { useLocalizedString } from './chunk-TFVDF4YH.js';
|
|
5
5
|
import { isTextOnlyChildren } from './chunk-ZWU6DRRZ.js';
|
|
6
6
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
7
7
|
import { BadgeContext } from './chunk-CQDLZ42T.js';
|
|
8
|
-
import { _Text } from './chunk-
|
|
8
|
+
import { _Text } from './chunk-2J5HM77N.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';
|
|
@@ -19,7 +19,7 @@ import { useContextProps, composeRenderProps, Tag as Tag$1 } from 'react-aria-co
|
|
|
19
19
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
20
20
|
|
|
21
21
|
// css-module:./Tag.module.css#css-module
|
|
22
|
-
var Tag_module_default = { "hop-Tag": "Tag-module__hop-
|
|
22
|
+
var Tag_module_default = { "hop-Tag": "Tag-module__hop-Tag___NM6io", "hop-Tag--sm": "Tag-module__hop-Tag--sm___RusnS", "hop-Tag__remove-btn": "Tag-module__hop-Tag__remove-btn___W-ZWY", "hop-Tag__Spinner": "Tag-module__hop-Tag__Spinner___iMDOt", "hop-Tag__avatar": "Tag-module__hop-Tag__avatar___Sb-9t", "hop-Tag--md": "Tag-module__hop-Tag--md___kkBZU", "hop-Tag--lg": "Tag-module__hop-Tag--lg___6uwPK", "hop-Tag--neutral": "Tag-module__hop-Tag--neutral___USBuA", "hop-Tag--subdued": "Tag-module__hop-Tag--subdued___xQkUX", "hop-Tag--progress": "Tag-module__hop-Tag--progress___zPefF", "hop-Tag--positive": "Tag-module__hop-Tag--positive___-0pjQ", "hop-Tag--caution": "Tag-module__hop-Tag--caution___t7-CS", "hop-Tag--negative": "Tag-module__hop-Tag--negative___B5fjH", "hop-Tag--option1": "Tag-module__hop-Tag--option1___AYNLX", "hop-Tag--option2": "Tag-module__hop-Tag--option2___Sajtj", "hop-Tag--option3": "Tag-module__hop-Tag--option3___Eivl4", "hop-Tag--option4": "Tag-module__hop-Tag--option4___24aL5", "hop-Tag--option5": "Tag-module__hop-Tag--option5___MUm8-", "hop-Tag--option6": "Tag-module__hop-Tag--option6___-sBKA", "hop-Tag__icon": "Tag-module__hop-Tag__icon___Kk1ms", "hop-Tag__icon-list": "Tag-module__hop-Tag__icon-list___sGKeO", "hop-Tag__text": "Tag-module__hop-Tag__text___QMrwz", "hop-Tag__badge": "Tag-module__hop-Tag__badge___3Bb7n" };
|
|
23
23
|
var GlobalTagCssSelector = "hop-Tag";
|
|
24
24
|
var TagToTextSizeAdapter = {
|
|
25
25
|
sm: "xs",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SearchFieldContext } from './chunk-3NKF5TPD.js';
|
|
2
|
-
import { _InputGroup } from './chunk-
|
|
3
|
-
import { _ClearButton } from './chunk-
|
|
2
|
+
import { _InputGroup } from './chunk-MBFMR455.js';
|
|
3
|
+
import { _ClearButton } from './chunk-KXUA2JOW.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';
|
|
@@ -17,7 +17,7 @@ import { useContextProps, composeRenderProps, Input, SearchField as SearchField$
|
|
|
17
17
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
18
18
|
|
|
19
19
|
// css-module:./SearchField.module.css#css-module
|
|
20
|
-
var SearchField_module_default = { "hop-SearchField": "SearchField-module__hop-
|
|
20
|
+
var SearchField_module_default = { "hop-SearchField": "SearchField-module__hop-SearchField___q-EeQ", "hop-SearchField--fluid": "SearchField-module__hop-SearchField--fluid___CPvL1", "hop-SearchField__Label": "SearchField-module__hop-SearchField__Label___h8Tgk", "hop-SearchField__prefix": "SearchField-module__hop-SearchField__prefix___BJJRt", "hop-SearchField__InputGroup": "SearchField-module__hop-SearchField__InputGroup___K4N-1", "hop-SearchField--clearable": "SearchField-module__hop-SearchField--clearable___ztMMx", "hop-SearchField__ErrorMessage": "SearchField-module__hop-SearchField__ErrorMessage___nFg62", "hop-SearchField__HelperMessage": "SearchField-module__hop-SearchField__HelperMessage___pkXdH", "hop-SearchField__ClearButton": "SearchField-module__hop-SearchField__ClearButton___rn5bg" };
|
|
21
21
|
var GlobalSearchFieldCssSelector = "hop-SearchField";
|
|
22
22
|
function SearchField(props, ref) {
|
|
23
23
|
var _a;
|
|
@@ -8,7 +8,7 @@ import { useContextProps, Label as Label$1 } from 'react-aria-components';
|
|
|
8
8
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
9
9
|
|
|
10
10
|
// css-module:./Label.module.css#css-module
|
|
11
|
-
var Label_module_default = { "hop-Label": "Label-module__hop-
|
|
11
|
+
var Label_module_default = { "hop-Label": "Label-module__hop-Label___I1lcR", "hop-Label__indicator": "Label-module__hop-Label__indicator___bMR5H" };
|
|
12
12
|
var GlobalLabelCssSelector = "hop-Label";
|
|
13
13
|
function Label(props, ref) {
|
|
14
14
|
[props, ref] = useContextProps(props, ref, LabelContext);
|
|
@@ -9,7 +9,7 @@ import { useContextProps, composeRenderProps, Button } from 'react-aria-componen
|
|
|
9
9
|
import { jsx } from 'react/jsx-runtime';
|
|
10
10
|
|
|
11
11
|
// css-module:./EmbeddedButton.module.css#css-module
|
|
12
|
-
var EmbeddedButton_module_default = { "hop-EmbeddedButton": "EmbeddedButton-module__hop-
|
|
12
|
+
var EmbeddedButton_module_default = { "hop-EmbeddedButton": "EmbeddedButton-module__hop-EmbeddedButton___7FfyF", "hop-EmbeddedButton--md": "EmbeddedButton-module__hop-EmbeddedButton--md___P-YqL", "hop-EmbeddedButton--lg": "EmbeddedButton-module__hop-EmbeddedButton--lg___7q2Cu", "hop-EmbeddedButton--neutral": "EmbeddedButton-module__hop-EmbeddedButton--neutral___gyZMD", "hop-EmbeddedButton--subdued": "EmbeddedButton-module__hop-EmbeddedButton--subdued___A10nO", "hop-EmbeddedButton--progress": "EmbeddedButton-module__hop-EmbeddedButton--progress___Ik65-", "hop-EmbeddedButton--positive": "EmbeddedButton-module__hop-EmbeddedButton--positive___IJpvj", "hop-EmbeddedButton--caution": "EmbeddedButton-module__hop-EmbeddedButton--caution___cpJ1e", "hop-EmbeddedButton--negative": "EmbeddedButton-module__hop-EmbeddedButton--negative___Q-Gbf", "hop-EmbeddedButton--option1": "EmbeddedButton-module__hop-EmbeddedButton--option1___ldyS0", "hop-EmbeddedButton--option2": "EmbeddedButton-module__hop-EmbeddedButton--option2___-xE5d", "hop-EmbeddedButton--option3": "EmbeddedButton-module__hop-EmbeddedButton--option3___f33bW", "hop-EmbeddedButton--option4": "EmbeddedButton-module__hop-EmbeddedButton--option4___Yhb58", "hop-EmbeddedButton--option5": "EmbeddedButton-module__hop-EmbeddedButton--option5___vaAW4", "hop-EmbeddedButton--option6": "EmbeddedButton-module__hop-EmbeddedButton--option6___1WAFN", "hop-EmbeddedButton__icon": "EmbeddedButton-module__hop-EmbeddedButton__icon___3-ikY" };
|
|
13
13
|
var GlobalEmbeddedButtonCssSelector = "hop-EmbeddedButton";
|
|
14
14
|
function EmbeddedButton(props, ref) {
|
|
15
15
|
var _a;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { useLocalizedString } from './chunk-TFVDF4YH.js';
|
|
2
|
+
import { _Text } from './chunk-2J5HM77N.js';
|
|
3
|
+
import { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
4
|
+
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
5
|
+
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
6
|
+
import { useStyledSystem } from '@hopper-ui/styled-system';
|
|
7
|
+
import { forwardRef } from 'react';
|
|
8
|
+
import { mergeProps } from 'react-aria';
|
|
9
|
+
import { composeRenderProps } from 'react-aria-components';
|
|
10
|
+
import { jsx } from 'react/jsx-runtime';
|
|
11
|
+
|
|
12
|
+
// css-module:./RemainingCharacterCount.module.css#css-module
|
|
13
|
+
var RemainingCharacterCount_module_default = { "hop-RemainingCharacterCount": "RemainingCharacterCount-module__hop-RemainingCharacterCount___spzWY" };
|
|
14
|
+
function RemainingCharacterCount(props, ref) {
|
|
15
|
+
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
16
|
+
const { className, style, count, isDisabled, isInvalid, ...textProps } = ownProps;
|
|
17
|
+
const stringFormatter = useLocalizedString();
|
|
18
|
+
const accessibilityString = stringFormatter.format("Input.charactersLeft", { charLeft: count });
|
|
19
|
+
const classNames = composeClassnameRenderProps(className, cssModule(RemainingCharacterCount_module_default, "hop-RemainingCharacterCount"));
|
|
20
|
+
const mergedStyles = composeRenderProps(style, (prev) => {
|
|
21
|
+
return {
|
|
22
|
+
...stylingProps.style,
|
|
23
|
+
...prev
|
|
24
|
+
};
|
|
25
|
+
});
|
|
26
|
+
const renderProps = useRenderProps({
|
|
27
|
+
...props,
|
|
28
|
+
className: classNames,
|
|
29
|
+
style: mergedStyles,
|
|
30
|
+
values: {
|
|
31
|
+
isDisabled: isDisabled || false,
|
|
32
|
+
isInvalid: isInvalid || false
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
return /* @__PURE__ */ jsx(
|
|
36
|
+
_Text,
|
|
37
|
+
{
|
|
38
|
+
...mergeProps(textProps, renderProps),
|
|
39
|
+
ref,
|
|
40
|
+
"aria-label": accessibilityString,
|
|
41
|
+
"data-disabled": isDisabled || void 0,
|
|
42
|
+
"data-invalid": isInvalid || void 0,
|
|
43
|
+
role: "status",
|
|
44
|
+
size: "xs",
|
|
45
|
+
children: count
|
|
46
|
+
}
|
|
47
|
+
);
|
|
48
|
+
}
|
|
49
|
+
var _RemainingCharacterCount = forwardRef(RemainingCharacterCount);
|
|
50
|
+
_RemainingCharacterCount.displayName = "Footer";
|
|
51
|
+
|
|
52
|
+
export { _RemainingCharacterCount };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HelperMessageContext } from './chunk-HZKFQ33E.js';
|
|
2
|
-
import { _Text } from './chunk-
|
|
2
|
+
import { _Text } from './chunk-2J5HM77N.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___aVOod", "hop-HelperMessage__icon": "HelperMessage-module__hop-HelperMessage__icon___ijRfm" };
|
|
13
13
|
var GlobalHelperMessageCssSelector = "hop-HelperMessage";
|
|
14
14
|
function HelperMessage(props, ref) {
|
|
15
15
|
const validation = useContext(FieldErrorContext);
|
|
@@ -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___A7CLi", "hop-CheckboxGroup--bordered": "CheckboxGroup-module__hop-CheckboxGroup--bordered___mx6gE", "hop-CheckboxGroup--sm": "CheckboxGroup-module__hop-CheckboxGroup--sm___a-1SG", "hop-CheckboxGroup--md": "CheckboxGroup-module__hop-CheckboxGroup--md___-K6J2", "hop-CheckboxGroup__label": "CheckboxGroup-module__hop-CheckboxGroup__label___HydnG", "hop-CheckboxGroup__list": "CheckboxGroup-module__hop-CheckboxGroup__list___NPuKI", "hop-CheckboxGroup__checkbox": "CheckboxGroup-module__hop-CheckboxGroup__checkbox___smlgE", "hop-CheckboxGroup__error-message": "CheckboxGroup-module__hop-CheckboxGroup__error-message___CfroT", "hop-CheckboxGroup__helper-message": "CheckboxGroup-module__hop-CheckboxGroup__helper-message___3r4Gx" };
|
|
18
18
|
var GlobalCheckboxGroupCssSelector = "hop-CheckboxGroup";
|
|
19
19
|
function CheckboxGroup(props, ref) {
|
|
20
20
|
var _a, _b;
|
|
@@ -2,11 +2,11 @@ import { isFunction } from './chunk-TIPN4VYD.js';
|
|
|
2
2
|
import { useLocalizedString } from './chunk-TFVDF4YH.js';
|
|
3
3
|
import { SectionContext } from './chunk-5H5AZJPQ.js';
|
|
4
4
|
import { ListBoxContext } from './chunk-UIEP5BA5.js';
|
|
5
|
-
import { _ListBoxItem } from './chunk-
|
|
5
|
+
import { _ListBoxItem } from './chunk-KQ735GKE.js';
|
|
6
6
|
import { ListBoxItemContext } from './chunk-Y2POLIXK.js';
|
|
7
7
|
import { HeaderContext } from './chunk-7JOGKC3W.js';
|
|
8
8
|
import { DividerContext } from './chunk-FYIHMKHI.js';
|
|
9
|
-
import { _Text } from './chunk-
|
|
9
|
+
import { _Text } from './chunk-2J5HM77N.js';
|
|
10
10
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
11
11
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
12
12
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
@@ -18,7 +18,7 @@ import { useContextProps, composeRenderProps, ListBox as ListBox$1, Collection }
|
|
|
18
18
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
19
19
|
|
|
20
20
|
// css-module:./ListBox.module.css#css-module
|
|
21
|
-
var ListBox_module_default = { "hop-ListBox": "ListBox-module__hop-
|
|
21
|
+
var ListBox_module_default = { "hop-ListBox": "ListBox-module__hop-ListBox___eUpnT", "hop-ListBox--fluid": "ListBox-module__hop-ListBox--fluid___Ippzh", "hop-ListBox__section": "ListBox-module__hop-ListBox__section___qvP27", "hop-ListBox__item": "ListBox-module__hop-ListBox__item___zZ38V", "hop-ListBox__section-header": "ListBox-module__hop-ListBox__section-header___6j-wC" };
|
|
22
22
|
var GlobalListBoxCssSelector = "hop-ListBox";
|
|
23
23
|
var GlobalListBoxEmptyItemCssSelector = "hop-ListBox__empty-item";
|
|
24
24
|
var ListBoxToTextSizeAdapter = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PasswordFieldContext } from './chunk-QW45G6K4.js';
|
|
2
|
-
import { _InputGroup } from './chunk-
|
|
3
|
-
import { _EmbeddedButton } from './chunk-
|
|
2
|
+
import { _InputGroup } from './chunk-MBFMR455.js';
|
|
3
|
+
import { _EmbeddedButton } from './chunk-AJMHHWRN.js';
|
|
4
4
|
import { LabelContext } from './chunk-QCA3ZR56.js';
|
|
5
5
|
import { useLocalizedString } from './chunk-TFVDF4YH.js';
|
|
6
6
|
import { HelperMessageContext } from './chunk-HZKFQ33E.js';
|
|
@@ -18,7 +18,7 @@ import { useContextProps, composeRenderProps, Input, TextField } from 'react-ari
|
|
|
18
18
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
19
19
|
|
|
20
20
|
// css-module:./PasswordField.module.css#css-module
|
|
21
|
-
var PasswordField_module_default = { "hop-PasswordField": "PasswordField-module__hop-
|
|
21
|
+
var PasswordField_module_default = { "hop-PasswordField": "PasswordField-module__hop-PasswordField___lIpWY", "hop-PasswordField--fluid": "PasswordField-module__hop-PasswordField--fluid___mWiBH", "hop-PasswordField__Label": "PasswordField-module__hop-PasswordField__Label___jhOyi", "hop-PasswordField__InputGroup": "PasswordField-module__hop-PasswordField__InputGroup___neXGZ", "hop-PasswordField__ErrorMessage": "PasswordField-module__hop-PasswordField__ErrorMessage___tl8k3", "hop-PasswordField__HelperMessage": "PasswordField-module__hop-PasswordField__HelperMessage___JGtpS" };
|
|
22
22
|
var GlobalPasswordFieldCssSelector = "hop-PasswordField";
|
|
23
23
|
function PasswordField(props, ref) {
|
|
24
24
|
var _a;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { RadioContext } from './chunk-FU5CCPLP.js';
|
|
2
2
|
import { isTextOnlyChildren } from './chunk-ZWU6DRRZ.js';
|
|
3
3
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
4
|
-
import { _Text } from './chunk-
|
|
4
|
+
import { _Text } from './chunk-2J5HM77N.js';
|
|
5
5
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
6
6
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
7
7
|
import { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
@@ -16,7 +16,7 @@ import { useContextProps, composeRenderProps } from 'react-aria-components';
|
|
|
16
16
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
17
17
|
|
|
18
18
|
// css-module:./DecorativeRadio.module.css#css-module
|
|
19
|
-
var DecorativeRadio_module_default = { "hop-DecorativeRadio": "DecorativeRadio-module__hop-
|
|
19
|
+
var DecorativeRadio_module_default = { "hop-DecorativeRadio": "DecorativeRadio-module__hop-DecorativeRadio___rEyYa Radio-module__hop-Radio___W1Vdc", "hop-DecorativeRadio--sm": "DecorativeRadio-module__hop-DecorativeRadio--sm___c4DTm Radio-module__hop-Radio--sm___NYymj", "hop-DecorativeRadio--md": "DecorativeRadio-module__hop-DecorativeRadio--md___4FKuP Radio-module__hop-Radio--md___CQv8r", "hop-DecorativeRadio__icon": "DecorativeRadio-module__hop-DecorativeRadio__icon___A0Dsb Radio-module__hop-Radio__icon___W3Yrf", "hop-DecorativeRadio__icon-list": "DecorativeRadio-module__hop-DecorativeRadio__icon-list___fJ9KP Radio-module__hop-Radio__icon___W3Yrf", "hop-DecorativeRadio__box": "DecorativeRadio-module__hop-DecorativeRadio__box___e68gp Radio-module__hop-Radio__box___T-9Zw", "hop-DecorativeRadio__bullet": "DecorativeRadio-module__hop-DecorativeRadio__bullet___WU567 Radio-module__hop-Radio__bullet___aikpb", "hop-DecorativeRadio__text": "DecorativeRadio-module__hop-DecorativeRadio__text___5m-W5 Radio-module__hop-Radio__text___gfkdz" };
|
|
20
20
|
var GlobalDecorativeRadioCssSelector = "hop-DecorativeRadio";
|
|
21
21
|
function DecorativeRadio(props, ref) {
|
|
22
22
|
var _a;
|
|
@@ -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___nqUSD", "hop-Divider--vertical": "Divider-module__hop-Divider--vertical___IGn45" };
|
|
11
11
|
var GlobalDividerCssSelector = "hop-Divider";
|
|
12
12
|
function Divider(props, ref) {
|
|
13
13
|
[props, ref] = useContextProps(props, ref, DividerContext);
|
|
@@ -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___BKZ0u", "hop-ButtonGroup--horizontal": "ButtonGroup-module__hop-ButtonGroup--horizontal___X9fQE", "hop-ButtonGroup--vertical": "ButtonGroup-module__hop-ButtonGroup--vertical___Jvfhi", "hop-ButtonGroup--start": "ButtonGroup-module__hop-ButtonGroup--start___L2vod", "hop-ButtonGroup--center": "ButtonGroup-module__hop-ButtonGroup--center___FTkrz", "hop-ButtonGroup--end": "ButtonGroup-module__hop-ButtonGroup--end___5RFlc", "hop-ButtonGroup--wrap": "ButtonGroup-module__hop-ButtonGroup--wrap___QEzzw", "hop-ButtonGroup--fluid": "ButtonGroup-module__hop-ButtonGroup--fluid___uxaS1" };
|
|
14
14
|
var GlobalButtonGroupCssSelector = "hop-ButtonGroup";
|
|
15
15
|
function ButtonGroup(props, ref) {
|
|
16
16
|
var _a, _b, _c, _d, _e;
|
|
@@ -12,15 +12,15 @@ import { CheckboxFieldContext } from './chunk-ZGNK4GWA.js';
|
|
|
12
12
|
import { CheckboxGroupContext } from './chunk-N7YDPVZL.js';
|
|
13
13
|
import { ButtonGroupContext } from './chunk-VJQ7M2BK.js';
|
|
14
14
|
import { SelectContext } from './chunk-T24MBA34.js';
|
|
15
|
-
import { _SelectValue } from './chunk-
|
|
15
|
+
import { _SelectValue } from './chunk-VMCZQTOI.js';
|
|
16
16
|
import { HeadingContext } from './chunk-TXZ6BMFR.js';
|
|
17
17
|
import { LabelContext } from './chunk-QCA3ZR56.js';
|
|
18
18
|
import { ButtonContext } from './chunk-WMTWFKKP.js';
|
|
19
19
|
import { LinkContext } from './chunk-4VVNSXIB.js';
|
|
20
|
-
import { _ListBox } from './chunk-
|
|
20
|
+
import { _ListBox } from './chunk-CURG4YI3.js';
|
|
21
21
|
import { isFunction, isNil } from './chunk-TIPN4VYD.js';
|
|
22
22
|
import { ListBoxContext } from './chunk-UIEP5BA5.js';
|
|
23
|
-
import { _ListBoxItem } from './chunk-
|
|
23
|
+
import { _ListBoxItem } from './chunk-KQ735GKE.js';
|
|
24
24
|
import { CheckboxContext } from './chunk-2EAZPH3M.js';
|
|
25
25
|
import { isTextOnlyChildren } from './chunk-ZWU6DRRZ.js';
|
|
26
26
|
import { HelperMessageContext } from './chunk-HZKFQ33E.js';
|
|
@@ -28,7 +28,7 @@ import { _HopperProvider } from './chunk-NMKBUGSO.js';
|
|
|
28
28
|
import { ErrorMessageContext } from './chunk-FAE27DLF.js';
|
|
29
29
|
import { FormContext } from './chunk-EURJK4ZT.js';
|
|
30
30
|
import { BadgeContext } from './chunk-CQDLZ42T.js';
|
|
31
|
-
import { _Text } from './chunk-
|
|
31
|
+
import { _Text } from './chunk-2J5HM77N.js';
|
|
32
32
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
33
33
|
import { ClearContainerSlots, ClearProviders } from './chunk-HXI3MEEK.js';
|
|
34
34
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
@@ -44,7 +44,7 @@ import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
|
44
44
|
import { IconContext, AngleUpIcon, AngleDownIcon } from '@hopper-ui/icons';
|
|
45
45
|
|
|
46
46
|
// css-module:./Popover.module.css#css-module
|
|
47
|
-
var Popover_module_default = { "hop-Popover": "Popover-module__hop-
|
|
47
|
+
var Popover_module_default = { "hop-Popover": "Popover-module__hop-Popover___gIFrM", "fade": "Popover-module__fade___ph4u3", "hop-Popover__wrapper": "Popover-module__hop-Popover__wrapper___HAIbd", "hop-Popover__dialog": "Popover-module__hop-Popover__dialog___UFZee", "hop-Popover__dropdown": "Popover-module__hop-Popover__dropdown___H-yZY", "hop-Popover__title": "Popover-module__hop-Popover__title___7iBNB", "hop-Popover__content": "Popover-module__hop-Popover__content___9qGsS", "hop-Popover__list-box": "Popover-module__hop-Popover__list-box___4ZJko", "hop-Popover__footer": "Popover-module__hop-Popover__footer___GUjGi", "hop-Popover__actions": "Popover-module__hop-Popover__actions___8dlIL", "hop-Popover__action": "Popover-module__hop-Popover__action___PdeSV" };
|
|
48
48
|
var GlobalPopoverCssSelector = "hop-Popover";
|
|
49
49
|
function Popover(props, ref) {
|
|
50
50
|
var _a;
|
|
@@ -178,7 +178,7 @@ var _Popover = forwardRef(Popover);
|
|
|
178
178
|
_Popover.displayName = "Popover";
|
|
179
179
|
|
|
180
180
|
// css-module:./Select.module.css#css-module
|
|
181
|
-
var Select_module_default = { "hop-Select": "Select-module__hop-
|
|
181
|
+
var Select_module_default = { "hop-Select": "Select-module__hop-Select___-ffji", "hop-Select--fluid": "Select-module__hop-Select--fluid___a4kzj", "hop-Select__label": "Select-module__hop-Select__label___rG82d", "hop-Select__button": "Select-module__hop-Select__button___Ml5ar", "hop-Select__button--sm": "Select-module__hop-Select__button--sm___z5rTo", "hop-Select__button--md": "Select-module__hop-Select__button--md___pRWBr", "hop-Select__prefix": "Select-module__hop-Select__prefix___ioXh1", "hop-Select__button-icon": "Select-module__hop-Select__button-icon___hyZcO", "hop-Select__helper-message": "Select-module__hop-Select__helper-message___uE0gS", "hop-Select__error-message": "Select-module__hop-Select__error-message___66saO" };
|
|
182
182
|
var GlobalSelectCssSelector = "hop-Select";
|
|
183
183
|
function Select(props, ref) {
|
|
184
184
|
var _a, _b;
|
|
@@ -738,7 +738,7 @@ function $f86e6c1ec7da6ebb$export$bc3384a35de93d66(options) {
|
|
|
738
738
|
}
|
|
739
739
|
|
|
740
740
|
// css-module:./Form.module.css#css-module
|
|
741
|
-
var Form_module_default = { "hop-Form": "Form-module__hop-
|
|
741
|
+
var Form_module_default = { "hop-Form": "Form-module__hop-Form___00trG" };
|
|
742
742
|
var GlobalFormCssSelector = "hop-Form";
|
|
743
743
|
function Form(props, ref) {
|
|
744
744
|
var _a;
|
|
@@ -7,7 +7,7 @@ import { useContextProps } from 'react-aria-components';
|
|
|
7
7
|
import { jsx } from 'react/jsx-runtime';
|
|
8
8
|
|
|
9
9
|
// css-module:./ListBoxItemSkeleton.module.css#css-module
|
|
10
|
-
var ListBoxItemSkeleton_module_default = { "hop-ListBoxItemSkeleton": "ListBoxItemSkeleton-module__hop-
|
|
10
|
+
var ListBoxItemSkeleton_module_default = { "hop-ListBoxItemSkeleton": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton___x-eOh", "placeholder-shimmer": "ListBoxItemSkeleton-module__placeholder-shimmer___qw0Y4", "hop-ListBoxItemSkeleton--xs": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--xs___0GrS5", "hop-ListBoxItemSkeleton--sm": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--sm___1E4s5", "hop-ListBoxItemSkeleton--md": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--md___JXT-p", "hop-ListBoxItemSkeleton--lg": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--lg___671cG" };
|
|
11
11
|
var GlobalListBoxItemSkeletonCssSelector = "hop-ListBoxItemSkeleton";
|
|
12
12
|
function ListBoxItemSkeleton(props, ref) {
|
|
13
13
|
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:./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___DWDc3", "hop-FloatingBadge__badge": "FloatingBadge-module__hop-FloatingBadge__badge___Zuv6z" };
|
|
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 { AvatarContext } from './chunk-AES7QBQE.js';
|
|
2
|
-
import { _RichIconAvatarImage } from './chunk-
|
|
2
|
+
import { _RichIconAvatarImage } from './chunk-XJAHZJVO.js';
|
|
3
3
|
import { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
4
4
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
5
5
|
import { AnonymousRichIcon } from '@hopper-ui/icons';
|
|
@@ -7,7 +7,7 @@ import { useContextProps, Heading as Heading$1 } from 'react-aria-components';
|
|
|
7
7
|
import { jsx } from 'react/jsx-runtime';
|
|
8
8
|
|
|
9
9
|
// css-module:./Heading.module.css#css-module
|
|
10
|
-
var Heading_module_default = { "hop-Heading": "Heading-module__hop-
|
|
10
|
+
var Heading_module_default = { "hop-Heading": "Heading-module__hop-Heading___n97SR", "hop-Heading--xs": "Heading-module__hop-Heading--xs___mTtTP", "hop-Heading--sm": "Heading-module__hop-Heading--sm___eo32f", "hop-Heading--md": "Heading-module__hop-Heading--md___IrFcX", "hop-Heading--lg": "Heading-module__hop-Heading--lg___7r13U", "hop-Heading--xl": "Heading-module__hop-Heading--xl___TkxTV", "hop-Heading--2xl": "Heading-module__hop-Heading--2xl___JATsN", "hop-Heading--3xl": "Heading-module__hop-Heading--3xl___7Xm3l" };
|
|
11
11
|
var GlobalHeadingCssSelector = "hop-Heading";
|
|
12
12
|
function Heading(props, ref) {
|
|
13
13
|
[props, ref] = useContextProps(props, ref, HeadingContext);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _OverlineText } from './chunk-
|
|
1
|
+
import { _OverlineText } from './chunk-TQZKBOSP.js';
|
|
2
2
|
import { BadgeContext } from './chunk-CQDLZ42T.js';
|
|
3
3
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
4
4
|
import { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
@@ -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:./Badge.module.css#css-module
|
|
14
|
-
var Badge_module_default = { "hop-Badge": "Badge-module__hop-
|
|
14
|
+
var Badge_module_default = { "hop-Badge": "Badge-module__hop-Badge___6H0U2" };
|
|
15
15
|
var GlobalBadgeCssSelector = "hop-Badge";
|
|
16
16
|
function Badge(props, ref) {
|
|
17
17
|
[props, ref] = useContextProps(props, ref, BadgeContext);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { _DecorativeRadio } from './chunk-
|
|
2
|
-
import { _DecorativeCheckbox } from './chunk-
|
|
1
|
+
import { _DecorativeRadio } from './chunk-E4PIETAY.js';
|
|
2
|
+
import { _DecorativeCheckbox } from './chunk-R4LPKOSF.js';
|
|
3
3
|
import { ListBoxItemContext } from './chunk-Y2POLIXK.js';
|
|
4
|
-
import { _ListBoxItemSkeleton } from './chunk-
|
|
4
|
+
import { _ListBoxItemSkeleton } from './chunk-IP4N5EBH.js';
|
|
5
5
|
import { isTextOnlyChildren } from './chunk-ZWU6DRRZ.js';
|
|
6
6
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
7
7
|
import { BadgeContext } from './chunk-CQDLZ42T.js';
|
|
8
|
-
import { _Text } from './chunk-
|
|
8
|
+
import { _Text } from './chunk-2J5HM77N.js';
|
|
9
9
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
10
10
|
import { AvatarContext } from './chunk-AES7QBQE.js';
|
|
11
11
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
@@ -18,7 +18,7 @@ import { useContextProps, composeRenderProps, ListBoxItem as ListBoxItem$1, List
|
|
|
18
18
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
19
19
|
|
|
20
20
|
// css-module:./ListBoxItem.module.css#css-module
|
|
21
|
-
var ListBoxItem_module_default = { "hop-ListBoxItem": "ListBoxItem-module__hop-
|
|
21
|
+
var ListBoxItem_module_default = { "hop-ListBoxItem": "ListBoxItem-module__hop-ListBoxItem___MMTyZ", "hop-ListBoxItem--xs": "ListBoxItem-module__hop-ListBoxItem--xs___rnMPS", "hop-ListBoxItem--sm": "ListBoxItem-module__hop-ListBoxItem--sm___quqA7", "hop-ListBoxItem--md": "ListBoxItem-module__hop-ListBoxItem--md___zpQ-Z", "hop-ListBoxItem--lg": "ListBoxItem-module__hop-ListBoxItem--lg___-c0Bb", "hop-ListBoxItem__inner": "ListBoxItem-module__hop-ListBoxItem__inner___GdqVw", "hop-ListBoxItem__checkmark": "ListBoxItem-module__hop-ListBoxItem__checkmark___jF5Ms", "hop-ListBoxItem__description": "ListBoxItem-module__hop-ListBoxItem__description___oX2hJ", "hop-ListBoxItem__radio": "ListBoxItem-module__hop-ListBoxItem__radio___-E4Qp", "hop-ListBoxItem__checkbox": "ListBoxItem-module__hop-ListBoxItem__checkbox___gDZAy", "hop-ListBoxItem__avatar": "ListBoxItem-module__hop-ListBoxItem__avatar___ENL9t", "hop-ListBoxItem__icon-list": "ListBoxItem-module__hop-ListBoxItem__icon-list___qp7p9", "hop-ListBoxItem__icon": "ListBoxItem-module__hop-ListBoxItem__icon___uvHkz", "hop-ListBoxItem__label": "ListBoxItem-module__hop-ListBoxItem__label___RjMsK", "hop-ListBoxItem__end-icon-list": "ListBoxItem-module__hop-ListBoxItem__end-icon-list___guJ4T", "hop-ListBoxItem__end-icon": "ListBoxItem-module__hop-ListBoxItem__end-icon___wqMna", "hop-ListBoxItem__badge": "ListBoxItem-module__hop-ListBoxItem__badge___kKsUG" };
|
|
22
22
|
var GlobalListBoxItemCssSelector = "hop-ListBoxItem";
|
|
23
23
|
var ListBoxItemToIconSizeAdapter = {
|
|
24
24
|
xs: "sm",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ClearButtonContext } from './chunk-DXVKHP4V.js';
|
|
2
|
-
import { _EmbeddedButton } from './chunk-
|
|
2
|
+
import { _EmbeddedButton } from './chunk-AJMHHWRN.js';
|
|
3
3
|
import { useLocalizedString } from './chunk-TFVDF4YH.js';
|
|
4
4
|
import { DismissIcon } from '@hopper-ui/icons';
|
|
5
5
|
import { forwardRef } from 'react';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { RadioContext } from './chunk-FU5CCPLP.js';
|
|
2
2
|
import { isTextOnlyChildren } from './chunk-ZWU6DRRZ.js';
|
|
3
3
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
4
|
-
import { _Text } from './chunk-
|
|
4
|
+
import { _Text } from './chunk-2J5HM77N.js';
|
|
5
5
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
6
6
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
7
7
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
@@ -14,7 +14,7 @@ import { useContextProps, composeRenderProps, Radio as Radio$1 } from 'react-ari
|
|
|
14
14
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
15
15
|
|
|
16
16
|
// css-module:./Radio.module.css#css-module
|
|
17
|
-
var Radio_module_default = { "hop-Radio": "Radio-module__hop-
|
|
17
|
+
var Radio_module_default = { "hop-Radio": "Radio-module__hop-Radio___W1Vdc", "hop-Radio--sm": "Radio-module__hop-Radio--sm___NYymj", "hop-Radio--md": "Radio-module__hop-Radio--md___CQv8r", "hop-Radio__icon": "Radio-module__hop-Radio__icon___W3Yrf", "hop-Radio__icon-list": "Radio-module__hop-Radio__icon-list___Ky-BO", "hop-Radio__box": "Radio-module__hop-Radio__box___T-9Zw", "hop-Radio__bullet": "Radio-module__hop-Radio__bullet___aikpb", "hop-Radio__text": "Radio-module__hop-Radio__text___gfkdz" };
|
|
18
18
|
var GlobalRadioCssSelector = "hop-Radio";
|
|
19
19
|
function Radio(props, ref) {
|
|
20
20
|
var _a;
|
|
@@ -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___cxU-Q", "hop-InputGroup--fluid": "InputGroup-module__hop-InputGroup--fluid___JDLHZ", "hop-InputGroup--sm": "InputGroup-module__hop-InputGroup--sm___xub9Y", "hop-InputGroup__input": "InputGroup-module__hop-InputGroup__input___WN-8O", "hop-InputGroup__textarea": "InputGroup-module__hop-InputGroup__textarea___Kn-qF", "hop-InputGroup__embedded-button": "InputGroup-module__hop-InputGroup__embedded-button___THXUj" };
|
|
14
14
|
var GlobalInputGroupCssSelector = "hop-InputGroup";
|
|
15
15
|
function InputGroup(props, ref) {
|
|
16
16
|
var _a, _b;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ErrorMessageContext } from './chunk-FAE27DLF.js';
|
|
2
|
-
import { _Text } from './chunk-
|
|
2
|
+
import { _Text } from './chunk-2J5HM77N.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___JHTa8", "hop-ErrorMessage__icon": "ErrorMessage-module__hop-ErrorMessage__icon___aKgJ9" };
|
|
14
14
|
var GlobalErrorMessageCssSelector = "hop-ErrorMessage";
|
|
15
15
|
function ErrorMessage(props, ref) {
|
|
16
16
|
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:./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___tjnl9", "hop-CheckboxField--sm": "CheckboxField-module__hop-CheckboxField--sm___mtiU4", "hop-CheckboxField--md": "CheckboxField-module__hop-CheckboxField--md___uCBiT", "hop-CheckboxField__description": "CheckboxField-module__hop-CheckboxField__description___uxJ4N", "hop-CheckboxField__checkbox": "CheckboxField-module__hop-CheckboxField__checkbox___ytOgd" };
|
|
16
16
|
var GlobalCheckboxFieldCssSelector = "hop-CheckboxField";
|
|
17
17
|
var CheckboxToDescriptionSizeAdapter = {
|
|
18
18
|
sm: "xs",
|
|
@@ -8,7 +8,7 @@ import { useContextProps } from 'react-aria-components';
|
|
|
8
8
|
import { jsx } from 'react/jsx-runtime';
|
|
9
9
|
|
|
10
10
|
// css-module:./IconList.module.css#css-module
|
|
11
|
-
var IconList_module_default = { "hop-IconList": "IconList-module__hop-
|
|
11
|
+
var IconList_module_default = { "hop-IconList": "IconList-module__hop-IconList___ttQfU" };
|
|
12
12
|
var GlobalIconListCssSelector = "hop-IconList";
|
|
13
13
|
function IconList(props, ref) {
|
|
14
14
|
[props, ref] = useContextProps(props, ref, IconListContext);
|
|
@@ -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:./RadioField.module.css#css-module
|
|
16
|
-
var RadioField_module_default = { "hop-RadioField": "RadioField-module__hop-
|
|
16
|
+
var RadioField_module_default = { "hop-RadioField": "RadioField-module__hop-RadioField___1-HVZ", "hop-RadioField--sm": "RadioField-module__hop-RadioField--sm___QmRzg", "hop-RadioField--md": "RadioField-module__hop-RadioField--md___In1AA", "hop-RadioField__description": "RadioField-module__hop-RadioField__description___o5cEe", "hop-RadioField__radio": "RadioField-module__hop-RadioField__radio___JOWVQ" };
|
|
17
17
|
var GlobalRadioFieldCssSelector = "hop-RadioField";
|
|
18
18
|
var RadioToDescriptionSizeAdapter = {
|
|
19
19
|
sm: "xs",
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { useFontFaceReady } from './chunk-IU6XMS2X.js';
|
|
2
2
|
import { TextAreaContext } from './chunk-MHQZXLKW.js';
|
|
3
3
|
import { useTruncatedText } from './chunk-Z57VHYOF.js';
|
|
4
|
-
import {
|
|
4
|
+
import { _RemainingCharacterCount } from './chunk-BFVCZF4H.js';
|
|
5
|
+
import { _InputGroup } from './chunk-MBFMR455.js';
|
|
5
6
|
import { LabelContext } from './chunk-QCA3ZR56.js';
|
|
6
|
-
import { useLocalizedString } from './chunk-TFVDF4YH.js';
|
|
7
7
|
import { HelperMessageContext } from './chunk-HZKFQ33E.js';
|
|
8
8
|
import { ErrorMessageContext } from './chunk-FAE27DLF.js';
|
|
9
|
-
import { _Text } from './chunk-F4XYXAPX.js';
|
|
10
9
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
11
10
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
12
11
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
@@ -79,7 +78,7 @@ function $b5e257d569688ac6$export$535bd6ca7f90a273() {
|
|
|
79
78
|
}
|
|
80
79
|
|
|
81
80
|
// css-module:./TextArea.module.css#css-module
|
|
82
|
-
var TextArea_module_default = { "hop-TextArea": "TextArea-module__hop-
|
|
81
|
+
var TextArea_module_default = { "hop-TextArea": "TextArea-module__hop-TextArea___-HVPa", "hop-TextArea--fluid": "TextArea-module__hop-TextArea--fluid___EVe6A", "hop-TextArea__Label": "TextArea-module__hop-TextArea__Label___1FkkL", "hop-TextArea__prefix": "TextArea-module__hop-TextArea__prefix___Ebbu7", "hop-TextArea__InputGroup": "TextArea-module__hop-TextArea__InputGroup___RrdVH", "hop-TextArea__RemainingCharacterCount": "TextArea-module__hop-TextArea__RemainingCharacterCount___TfXYa", "hop-TextArea__textarea": "TextArea-module__hop-TextArea__textarea___vNhDn", "hop-TextArea__ErrorMessage": "TextArea-module__hop-TextArea__ErrorMessage___Vkzeg", "hop-TextArea__HelperMessage": "TextArea-module__hop-TextArea__HelperMessage___-FgEV" };
|
|
83
82
|
var GlobalTextAreaCssSelector = "hop-TextArea";
|
|
84
83
|
var DefaultMinimumTextAreaRows = 3;
|
|
85
84
|
var pxToInt = (value) => {
|
|
@@ -217,7 +216,15 @@ function TextArea(props, ref) {
|
|
|
217
216
|
inputType: "textarea",
|
|
218
217
|
children: [
|
|
219
218
|
/* @__PURE__ */ jsx(TextArea$1, { ref: mergedTextAreaRef, placeholder, cols, rows }),
|
|
220
|
-
showCharacterCount && maxLength && /* @__PURE__ */ jsx(
|
|
219
|
+
showCharacterCount && maxLength && /* @__PURE__ */ jsx(
|
|
220
|
+
_RemainingCharacterCount,
|
|
221
|
+
{
|
|
222
|
+
className: TextArea_module_default["hop-TextArea__RemainingCharacterCount"],
|
|
223
|
+
count: maxLength - characterCount,
|
|
224
|
+
isInvalid: overMaxLength,
|
|
225
|
+
isDisabled
|
|
226
|
+
}
|
|
227
|
+
)
|
|
221
228
|
]
|
|
222
229
|
}
|
|
223
230
|
) });
|
|
@@ -249,27 +256,11 @@ function TextArea(props, ref) {
|
|
|
249
256
|
isDisabled,
|
|
250
257
|
isInvalid,
|
|
251
258
|
"data-resize-mode": resizeMode,
|
|
252
|
-
"data-over-max-length": overMaxLength || void 0,
|
|
253
259
|
...otherProps,
|
|
254
260
|
children: childrenMarkup
|
|
255
261
|
}
|
|
256
262
|
);
|
|
257
263
|
}
|
|
258
|
-
function CharacterCount({ charactersLeft, isInvalid }) {
|
|
259
|
-
const stringFormatter = useLocalizedString();
|
|
260
|
-
const accessibilityString = stringFormatter.format("Input.charactersLeft", { charLeft: charactersLeft });
|
|
261
|
-
return /* @__PURE__ */ jsx(
|
|
262
|
-
_Text,
|
|
263
|
-
{
|
|
264
|
-
"aria-label": accessibilityString,
|
|
265
|
-
role: "status",
|
|
266
|
-
size: "xs",
|
|
267
|
-
className: TextArea_module_default["hop-TextArea__char-count"],
|
|
268
|
-
"data-invalid": isInvalid || void 0,
|
|
269
|
-
children: charactersLeft
|
|
270
|
-
}
|
|
271
|
-
);
|
|
272
|
-
}
|
|
273
264
|
var _TextArea = forwardRef(TextArea);
|
|
274
265
|
_TextArea.displayName = "TextArea";
|
|
275
266
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CheckboxContext } from './chunk-2EAZPH3M.js';
|
|
2
2
|
import { isTextOnlyChildren } from './chunk-ZWU6DRRZ.js';
|
|
3
3
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
4
|
-
import { _Text } from './chunk-
|
|
4
|
+
import { _Text } from './chunk-2J5HM77N.js';
|
|
5
5
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
6
6
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
7
7
|
import { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
@@ -16,7 +16,7 @@ import { useContextProps, composeRenderProps } from 'react-aria-components';
|
|
|
16
16
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
17
17
|
|
|
18
18
|
// css-module:./DecorativeCheckbox.module.css#css-module
|
|
19
|
-
var DecorativeCheckbox_module_default = { "hop-DecorativeCheckbox": "DecorativeCheckbox-module__hop-
|
|
19
|
+
var DecorativeCheckbox_module_default = { "hop-DecorativeCheckbox": "DecorativeCheckbox-module__hop-DecorativeCheckbox___lRQTM Checkbox-module__hop-Checkbox___N1R82", "hop-DecorativeCheckbox--sm": "DecorativeCheckbox-module__hop-DecorativeCheckbox--sm___dkdhx Checkbox-module__hop-Checkbox--sm___fyMAY", "hop-DecorativeCheckbox--md": "DecorativeCheckbox-module__hop-DecorativeCheckbox--md___E8aCr Checkbox-module__hop-Checkbox--md___K8Wf4", "hop-DecorativeCheckbox__icon": "DecorativeCheckbox-module__hop-DecorativeCheckbox__icon___r2Af7 Checkbox-module__hop-Checkbox__icon___-2zc-", "hop-DecorativeCheckbox__icon-list": "DecorativeCheckbox-module__hop-DecorativeCheckbox__icon-list___aE0N0 Checkbox-module__hop-Checkbox__icon___-2zc-", "hop-DecorativeCheckbox__box": "DecorativeCheckbox-module__hop-DecorativeCheckbox__box___H1ERN Checkbox-module__hop-Checkbox__box___KQHTU", "hop-DecorativeCheckbox__check": "DecorativeCheckbox-module__hop-DecorativeCheckbox__check___uTYXx Checkbox-module__hop-Checkbox__check___kpRRX", "hop-DecorativeCheckbox__text": "DecorativeCheckbox-module__hop-DecorativeCheckbox__text___RAk7V Checkbox-module__hop-Checkbox__text___lT5Jd" };
|
|
20
20
|
var GlobalDecorativeCheckboxCssSelector = "hop-DecorativeCheckbox";
|
|
21
21
|
function DecorativeCheckbox(props, ref) {
|
|
22
22
|
var _a;
|