@hopper-ui/components 1.0.5 → 1.0.6
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/README.md +3 -0
- package/dist/Avatar/src/AnonymousAvatar.css +10 -10
- package/dist/Avatar/src/AnonymousAvatar.js +3 -3
- package/dist/Avatar/src/Avatar.css +37 -37
- package/dist/Avatar/src/Avatar.js +5 -5
- package/dist/Avatar/src/DeletedAvatar.css +10 -10
- package/dist/Avatar/src/DeletedAvatar.js +3 -3
- package/dist/Avatar/src/RichIconAvatarImage.css +10 -10
- package/dist/Avatar/src/RichIconAvatarImage.js +2 -2
- package/dist/Avatar/src/index.css +37 -37
- package/dist/Avatar/src/index.js +7 -7
- package/dist/{badge → Badge}/src/Badge.css +11 -11
- package/dist/{badge → Badge}/src/Badge.d.ts +1 -1
- package/dist/{badge → Badge}/src/Badge.js +4 -3
- package/dist/Badge/src/BadgeContext.js +2 -0
- package/dist/{badge → Badge}/src/index.css +11 -11
- package/dist/{badge → Badge}/src/index.js +4 -3
- package/dist/{chip → Chip}/src/Chip.css +34 -34
- package/dist/{chip → Chip}/src/Chip.js +5 -5
- package/dist/Chip/src/ChipContext.js +2 -0
- package/dist/{chip → Chip}/src/index.css +34 -34
- package/dist/{chip → Chip}/src/index.js +5 -5
- package/dist/Divider/src/Divider.css +32 -0
- package/dist/Divider/src/Divider.d.ts +15 -0
- package/dist/Divider/src/Divider.js +4 -0
- package/dist/Divider/src/DividerContext.d.ts +8 -0
- package/dist/Divider/src/DividerContext.js +2 -0
- package/dist/Divider/src/index.css +32 -0
- package/dist/Divider/src/index.d.ts +5 -0
- package/dist/Divider/src/index.js +4 -0
- package/dist/{errorMessage → ErrorMessage}/src/ErrorMessage.css +12 -12
- package/dist/{errorMessage → ErrorMessage}/src/ErrorMessage.js +5 -5
- package/dist/ErrorMessage/src/ErrorMessageContext.js +2 -0
- package/dist/{errorMessage → ErrorMessage}/src/index.css +12 -12
- package/dist/{errorMessage → ErrorMessage}/src/index.js +5 -5
- package/dist/Header/src/Header.d.ts +17 -0
- package/dist/Header/src/Header.js +3 -0
- package/dist/Header/src/HeaderContext.d.ts +10 -0
- package/dist/Header/src/HeaderContext.js +2 -0
- package/dist/Header/src/index.d.ts +7 -0
- package/dist/Header/src/index.js +3 -0
- package/dist/{helperMessage → HelperMessage}/src/HelperMessage.css +12 -12
- package/dist/{helperMessage → HelperMessage}/src/HelperMessage.js +5 -5
- package/dist/HelperMessage/src/HelperMessageContext.js +2 -0
- package/dist/{helperMessage → HelperMessage}/src/index.css +12 -12
- package/dist/{helperMessage → HelperMessage}/src/index.js +5 -5
- package/dist/HopperProvider/src/HopperProvider.d.ts +1 -1
- package/dist/HopperProvider/src/HopperProvider.js +1 -1
- package/dist/HopperProvider/src/index.js +1 -1
- 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 +6 -6
- package/dist/Link/src/index.css +31 -31
- package/dist/Link/src/index.js +6 -6
- package/dist/ListBox/src/ListBox.css +1434 -0
- package/dist/ListBox/src/ListBox.d.ts +48 -0
- package/dist/ListBox/src/ListBox.js +34 -0
- package/dist/ListBox/src/ListBoxContext.d.ts +10 -0
- package/dist/ListBox/src/ListBoxContext.js +2 -0
- package/dist/ListBox/src/ListBoxItem.css +1297 -0
- package/dist/ListBox/src/ListBoxItem.d.ts +39 -0
- package/dist/ListBox/src/ListBoxItem.js +27 -0
- package/dist/ListBox/src/ListBoxItemContext.d.ts +9 -0
- package/dist/ListBox/src/ListBoxItemContext.js +2 -0
- package/dist/ListBox/src/ListBoxItemSkeleton.css +56 -0
- package/dist/ListBox/src/ListBoxItemSkeleton.d.ts +23 -0
- package/dist/ListBox/src/ListBoxItemSkeleton.js +4 -0
- package/dist/ListBox/src/ListBoxItemSkeletonContext.d.ts +10 -0
- package/dist/ListBox/src/ListBoxItemSkeletonContext.js +2 -0
- package/dist/ListBox/src/index.css +1434 -0
- package/dist/ListBox/src/index.d.ts +8 -0
- package/dist/ListBox/src/index.js +34 -0
- package/dist/ListBox/src/useLoadOnScroll.d.ts +16 -0
- package/dist/ListBox/src/useLoadOnScroll.js +2 -0
- package/dist/Section/src/Section.d.ts +19 -0
- package/dist/Section/src/Section.js +3 -0
- package/dist/Section/src/SectionContext.d.ts +9 -0
- package/dist/Section/src/SectionContext.js +2 -0
- package/dist/Section/src/index.d.ts +6 -0
- package/dist/Section/src/index.js +3 -0
- package/dist/Spinner/src/Spinner.css +19 -19
- package/dist/Spinner/src/Spinner.js +3 -3
- package/dist/Spinner/src/index.css +19 -19
- package/dist/Spinner/src/index.js +3 -3
- package/dist/buttons/src/Button.css +103 -103
- package/dist/buttons/src/Button.js +11 -11
- package/dist/buttons/src/ButtonGroup.css +11 -11
- package/dist/buttons/src/ButtonGroup.js +3 -3
- package/dist/buttons/src/ClearButton.css +12 -12
- package/dist/buttons/src/ClearButton.js +4 -4
- package/dist/buttons/src/EmbeddedButton.css +12 -12
- package/dist/buttons/src/EmbeddedButton.js +2 -2
- package/dist/buttons/src/index.css +126 -126
- package/dist/buttons/src/index.js +15 -15
- package/dist/checkbox/src/Checkbox.css +79 -94
- package/dist/checkbox/src/Checkbox.d.ts +3 -1
- package/dist/checkbox/src/Checkbox.js +5 -5
- package/dist/checkbox/src/CheckboxContext.d.ts +2 -0
- package/dist/checkbox/src/CheckboxField.css +15 -15
- package/dist/checkbox/src/CheckboxField.js +2 -2
- package/dist/checkbox/src/CheckboxGroup.css +116 -131
- package/dist/checkbox/src/CheckboxGroup.js +4 -4
- package/dist/checkbox/src/index.css +116 -131
- package/dist/checkbox/src/index.js +9 -9
- package/dist/{chunk-BD53A2LL.js → chunk-2XUHTPCX.js} +12 -6
- package/dist/{chunk-6WWYES56.js → chunk-37NW34QM.js} +5 -5
- package/dist/{chunk-3OWQHIJ6.js → chunk-3A6TTZAA.js} +1 -1
- package/dist/{chunk-KQPY2D3P.js → chunk-3LH2JHUO.js} +4 -4
- package/dist/{chunk-T6VFQSII.js → chunk-4JAV3FIH.js} +5 -5
- package/dist/chunk-4TXFHYHL.js +52 -0
- package/dist/{chunk-GELM73MQ.js → chunk-53FHDOG7.js} +12 -6
- package/dist/chunk-5H5AZJPQ.js +7 -0
- package/dist/{chunk-WTKIUAHI.js → chunk-632B5YBQ.js} +1 -1
- package/dist/{chunk-WFPCHFJI.js → chunk-6QMIRVLY.js} +2 -2
- package/dist/chunk-7JOGKC3W.js +7 -0
- package/dist/chunk-BC5A7RHI.js +1260 -0
- package/dist/{chunk-TM6742MU.js → chunk-BKC74M6Y.js} +3 -3
- package/dist/{chunk-ZSFJVMJN.js → chunk-CQDLZ42T.js} +1 -1
- package/dist/chunk-E4ALW4MZ.js +250 -0
- package/dist/{chunk-OPFRM3JC.js → chunk-E4WFKXW4.js} +3 -3
- package/dist/{chunk-KOJGCQ3F.js → chunk-F2URSFJA.js} +4 -4
- package/dist/{chunk-ACVMW6YD.js → chunk-FAE27DLF.js} +1 -1
- package/dist/chunk-FYIHMKHI.js +7 -0
- package/dist/{chunk-BVGKXCQH.js → chunk-G242LPQE.js} +2 -2
- package/dist/{chunk-5F5CWOM4.js → chunk-HR25MLRP.js} +1 -1
- package/dist/{chunk-ESVVLTEN.js → chunk-HZKFQ33E.js} +1 -1
- package/dist/chunk-I4VPBQI7.js +7 -0
- package/dist/{chunk-CP4AWOFU.js → chunk-ITQK6JTD.js} +2 -2
- package/dist/{chunk-Z33QZKRG.js → chunk-J33IFG4U.js} +1 -1
- package/dist/chunk-J53HGLCT.js +49 -0
- package/dist/{chunk-W2SKBBWE.js → chunk-JRDN364E.js} +5 -5
- package/dist/chunk-JTNMFPM4.js +41 -0
- package/dist/{chunk-FYDLV5BM.js → chunk-JUMJ6A3K.js} +1 -1
- package/dist/{chunk-3IEED7AY.js → chunk-K4ZGI7DJ.js} +1 -1
- package/dist/chunk-L5A2UTQV.js +43 -0
- package/dist/{chunk-F7S2I43Y.js → chunk-MED2BIDV.js} +2 -2
- package/dist/{chunk-22YUFCHD.js → chunk-MVRI6GLQ.js} +3 -3
- package/dist/{chunk-ANVMQBBG.js → chunk-NMKBUGSO.js} +12 -1
- package/dist/chunk-O5PTD6IN.js +41 -0
- package/dist/{chunk-P7JRKXBD.js → chunk-OHB5QR5P.js} +2 -2
- package/dist/chunk-OKZYR4RF.js +7 -0
- package/dist/{chunk-IIZECZAH.js → chunk-P5CWOV3L.js} +3 -3
- package/dist/{chunk-KOA2CREJ.js → chunk-QBCCF2C2.js} +5 -5
- package/dist/chunk-RA7PM75O.js +142 -0
- package/dist/{chunk-UYVKDU2W.js → chunk-RCX5B3S3.js} +3 -3
- package/dist/{chunk-7Q7VIED2.js → chunk-RG4JKE4N.js} +3 -3
- package/dist/{chunk-WNVTTHBK.js → chunk-SOSHKMNI.js} +6 -5
- package/dist/chunk-UIEP5BA5.js +7 -0
- package/dist/{chunk-GWEUWPLT.js → chunk-V5GOY6TV.js} +2 -2
- package/dist/{chunk-LUAIMTPE.js → chunk-XGKPMLYD.js} +7 -7
- package/dist/{chunk-THCG3QCD.js → chunk-XRC7XE6B.js} +2 -2
- package/dist/chunk-Y2POLIXK.js +7 -0
- package/dist/{chunk-H6CDFWVR.js → chunk-ZOTVZM6F.js} +6 -2
- package/dist/i18n/src/index.js +1 -1
- package/dist/i18n/src/useLocalizedString.js +1 -1
- package/dist/inputs/src/InputGroup.css +12 -12
- package/dist/inputs/src/InputGroup.js +2 -2
- package/dist/inputs/src/PasswordField.css +1176 -591
- package/dist/inputs/src/PasswordField.js +73 -165
- package/dist/inputs/src/SearchField.css +1161 -597
- package/dist/inputs/src/SearchField.js +73 -165
- package/dist/inputs/src/TextField.css +1173 -592
- package/dist/inputs/src/TextField.js +72 -57
- package/dist/inputs/src/index.css +1073 -492
- package/dist/inputs/src/index.d.ts +4 -0
- package/dist/inputs/src/index.js +72 -57
- package/dist/overlays/Popover/src/Popover.css +1211 -555
- package/dist/overlays/Popover/src/Popover.d.ts +5 -6
- package/dist/overlays/Popover/src/Popover.js +73 -55
- package/dist/overlays/Popover/src/PopoverContext.d.ts +1 -2
- package/dist/overlays/Popover/src/PopoverTrigger.d.ts +8 -0
- package/dist/overlays/Popover/src/PopoverTrigger.js +2 -0
- package/dist/overlays/Popover/src/index.css +1211 -555
- package/dist/overlays/Popover/src/index.d.ts +3 -2
- package/dist/overlays/Popover/src/index.js +73 -55
- package/dist/radio/src/Radio.css +67 -79
- package/dist/radio/src/Radio.d.ts +3 -1
- package/dist/radio/src/Radio.js +5 -5
- package/dist/radio/src/RadioContext.d.ts +2 -0
- package/dist/radio/src/RadioField.css +15 -15
- package/dist/radio/src/RadioField.js +3 -3
- package/dist/radio/src/RadioGroup.css +104 -116
- package/dist/radio/src/RadioGroup.js +5 -5
- package/dist/radio/src/index.css +104 -116
- package/dist/radio/src/index.js +10 -10
- package/dist/switch/src/Switch.css +25 -25
- package/dist/switch/src/Switch.js +5 -5
- package/dist/switch/src/SwitchField.css +15 -15
- package/dist/switch/src/SwitchField.js +2 -2
- package/dist/switch/src/index.css +31 -31
- package/dist/switch/src/index.js +6 -6
- package/dist/tag/src/Tag.css +1280 -548
- package/dist/tag/src/Tag.js +73 -53
- package/dist/tag/src/TagGroup.css +30 -30
- package/dist/tag/src/TagGroup.js +5 -5
- package/dist/tag/src/index.css +1280 -548
- package/dist/tag/src/index.js +73 -53
- package/dist/typography/Heading/src/Heading.css +1204 -472
- package/dist/typography/Heading/src/Heading.js +73 -53
- package/dist/typography/Heading/src/index.css +1204 -472
- package/dist/typography/Heading/src/index.js +73 -53
- package/dist/typography/Label/src/Label.css +9 -9
- package/dist/typography/Label/src/Label.js +1 -1
- package/dist/typography/Label/src/index.css +9 -9
- 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 +3 -3
- package/dist/typography/Text/src/index.css +9 -9
- package/dist/typography/Text/src/index.js +3 -3
- package/dist/utils/src/index.d.ts +1 -1
- package/dist/utils/src/index.js +3 -3
- package/dist/utils/src/types.d.ts +16 -1
- package/package.json +2 -2
- package/dist/badge/src/BadgeContext.js +0 -2
- package/dist/chip/src/ChipContext.js +0 -2
- package/dist/chunk-LJXTJRSB.js +0 -1
- package/dist/chunk-NXNV5JDN.js +0 -392
- package/dist/chunk-UOBWYTW7.js +0 -156
- package/dist/chunk-ZCEVY7LM.js +0 -96
- package/dist/errorMessage/src/ErrorMessageContext.js +0 -2
- package/dist/helperMessage/src/HelperMessageContext.js +0 -2
- /package/dist/{badge → Badge}/src/BadgeContext.d.ts +0 -0
- /package/dist/{badge → Badge}/src/index.d.ts +0 -0
- /package/dist/{chip → Chip}/src/Chip.d.ts +0 -0
- /package/dist/{chip → Chip}/src/ChipContext.d.ts +0 -0
- /package/dist/{chip → Chip}/src/index.d.ts +0 -0
- /package/dist/{errorMessage → ErrorMessage}/src/ErrorMessage.d.ts +0 -0
- /package/dist/{errorMessage → ErrorMessage}/src/ErrorMessageContext.d.ts +0 -0
- /package/dist/{errorMessage → ErrorMessage}/src/index.d.ts +0 -0
- /package/dist/{helperMessage → HelperMessage}/src/HelperMessage.d.ts +0 -0
- /package/dist/{helperMessage → HelperMessage}/src/HelperMessageContext.d.ts +0 -0
- /package/dist/{helperMessage → HelperMessage}/src/index.d.ts +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ErrorMessageContext } from './chunk-ACVMW6YD.js';
|
|
2
1
|
import { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
3
|
-
import {
|
|
2
|
+
import { ErrorMessageContext } from './chunk-FAE27DLF.js';
|
|
3
|
+
import { _Text } from './chunk-RG4JKE4N.js';
|
|
4
4
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
5
5
|
import { WarningIcon } from '@hopper-ui/icons';
|
|
6
6
|
import { useStyledSystem } from '@hopper-ui/styled-system';
|
|
@@ -10,7 +10,7 @@ import { FieldErrorContext, useContextProps } from 'react-aria-components';
|
|
|
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___SA3fD", "hop-ErrorMessage__icon": "ErrorMessage-module__hop-ErrorMessage__icon___cB2Bk" };
|
|
14
14
|
var GlobalErrorMessageCssSelector = "hop-ErrorMessage";
|
|
15
15
|
function ErrorMessage(props, ref) {
|
|
16
16
|
const validation = useContext(FieldErrorContext);
|
|
@@ -26,7 +26,18 @@ var HopperProvider = (props, ref) => {
|
|
|
26
26
|
if (navigate) {
|
|
27
27
|
content = /* @__PURE__ */ jsx(RouterProvider, { navigate, useHref, children });
|
|
28
28
|
}
|
|
29
|
-
return /* @__PURE__ */ jsx(
|
|
29
|
+
return /* @__PURE__ */ jsx(
|
|
30
|
+
StyledSystemProvider,
|
|
31
|
+
{
|
|
32
|
+
ref,
|
|
33
|
+
withBodyStyle,
|
|
34
|
+
colorScheme,
|
|
35
|
+
withCssVariables,
|
|
36
|
+
className: classNames,
|
|
37
|
+
...rest,
|
|
38
|
+
children: /* @__PURE__ */ jsx(I18nProvider, { locale, children: content })
|
|
39
|
+
}
|
|
40
|
+
);
|
|
30
41
|
};
|
|
31
42
|
var _HopperProvider = forwardRef(HopperProvider);
|
|
32
43
|
_HopperProvider.displayName = "HopperProvider";
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { SectionContext } from './chunk-5H5AZJPQ.js';
|
|
2
|
+
import { useStyledSystem } from '@hopper-ui/styled-system';
|
|
3
|
+
import clsx from 'clsx';
|
|
4
|
+
import { forwardRef } from 'react';
|
|
5
|
+
import { useContextProps, Section as Section$1 } from 'react-aria-components';
|
|
6
|
+
import { jsx } from 'react/jsx-runtime';
|
|
7
|
+
|
|
8
|
+
var GlobalSectionCssSelector = "hop-Section";
|
|
9
|
+
function Section(props, ref) {
|
|
10
|
+
[props, ref] = useContextProps(props, ref, SectionContext);
|
|
11
|
+
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
12
|
+
const {
|
|
13
|
+
className,
|
|
14
|
+
children,
|
|
15
|
+
style,
|
|
16
|
+
...otherProps
|
|
17
|
+
} = ownProps;
|
|
18
|
+
const classNames = clsx(
|
|
19
|
+
GlobalSectionCssSelector,
|
|
20
|
+
stylingProps.className,
|
|
21
|
+
className
|
|
22
|
+
);
|
|
23
|
+
const mergedStyles = {
|
|
24
|
+
...stylingProps.style,
|
|
25
|
+
...style
|
|
26
|
+
};
|
|
27
|
+
return /* @__PURE__ */ jsx(
|
|
28
|
+
Section$1,
|
|
29
|
+
{
|
|
30
|
+
...otherProps,
|
|
31
|
+
ref,
|
|
32
|
+
className: classNames,
|
|
33
|
+
style: mergedStyles,
|
|
34
|
+
children
|
|
35
|
+
}
|
|
36
|
+
);
|
|
37
|
+
}
|
|
38
|
+
var _Section = forwardRef(Section);
|
|
39
|
+
_Section.displayName = "Section";
|
|
40
|
+
|
|
41
|
+
export { GlobalSectionCssSelector, _Section };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ClearButtonContext } from './chunk-DXVKHP4V.js';
|
|
2
|
-
import { _EmbeddedButton } from './chunk-
|
|
3
|
-
import { useLocalizedString } from './chunk-
|
|
2
|
+
import { _EmbeddedButton } from './chunk-MED2BIDV.js';
|
|
3
|
+
import { useLocalizedString } from './chunk-ZOTVZM6F.js';
|
|
4
4
|
import { DismissIcon } from '@hopper-ui/icons';
|
|
5
5
|
import { forwardRef } from 'react';
|
|
6
6
|
import { useContextProps } from 'react-aria-components';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { HelperMessageContext } from './chunk-
|
|
2
|
-
import { _Text } from './chunk-
|
|
1
|
+
import { HelperMessageContext } from './chunk-HZKFQ33E.js';
|
|
2
|
+
import { _Text } from './chunk-RG4JKE4N.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___msUnY", "hop-HelperMessage__icon": "HelperMessage-module__hop-HelperMessage__icon___-GUWj" };
|
|
13
13
|
var GlobalHelperMessageCssSelector = "hop-HelperMessage";
|
|
14
14
|
function HelperMessage(props, ref) {
|
|
15
15
|
const validation = useContext(FieldErrorContext);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { LinkContext } from './chunk-4VVNSXIB.js';
|
|
2
2
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
3
|
+
import { isTextOnlyChildren } from './chunk-ZWU6DRRZ.js';
|
|
3
4
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
4
|
-
import {
|
|
5
|
-
import { _Text } from './chunk-7Q7VIED2.js';
|
|
5
|
+
import { _Text } from './chunk-RG4JKE4N.js';
|
|
6
6
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
7
|
-
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
8
7
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
8
|
+
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
9
9
|
import { IconContext } from '@hopper-ui/icons';
|
|
10
10
|
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
11
11
|
import { forwardRef } from 'react';
|
|
@@ -13,7 +13,7 @@ import { useContextProps, composeRenderProps, DEFAULT_SLOT, Link as Link$1 } fro
|
|
|
13
13
|
import { jsx } from 'react/jsx-runtime';
|
|
14
14
|
|
|
15
15
|
// css-module:./Link.module.css#css-module
|
|
16
|
-
var Link_module_default = { "hop-Link": "Link-module__hop-
|
|
16
|
+
var Link_module_default = { "hop-Link": "Link-module__hop-Link___m4HlM", "hop-Link--quiet": "Link-module__hop-Link--quiet___PEKek", "hop-Link--primary": "Link-module__hop-Link--primary___-EqWZ", "hop-Link--secondary": "Link-module__hop-Link--secondary___UNknc", "hop-Link__icon": "Link-module__hop-Link__icon___KiZR6", "hop-Link__icon-list": "Link-module__hop-Link__icon-list___eu2Y4", "hop-Link__text": "Link-module__hop-Link__text___I34XD", "hop-Link__start-icon": "Link-module__hop-Link__start-icon___Klqm6", "hop-Link__start-icon-list": "Link-module__hop-Link__start-icon-list___23TDM" };
|
|
17
17
|
var GlobalLinkCssSelector = "hop-Link";
|
|
18
18
|
var LinkToIconSizeAdapter = {
|
|
19
19
|
inherit: void 0,
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
import { isFunction } from './chunk-TIPN4VYD.js';
|
|
2
|
+
import { useLoadOnScroll } from './chunk-JTNMFPM4.js';
|
|
3
|
+
import { SectionContext } from './chunk-5H5AZJPQ.js';
|
|
4
|
+
import { ListBoxContext } from './chunk-UIEP5BA5.js';
|
|
5
|
+
import { _ListBoxItem } from './chunk-E4ALW4MZ.js';
|
|
6
|
+
import { useLocalizedString } from './chunk-ZOTVZM6F.js';
|
|
7
|
+
import { ListBoxItemContext } from './chunk-Y2POLIXK.js';
|
|
8
|
+
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
9
|
+
import { HeaderContext } from './chunk-7JOGKC3W.js';
|
|
10
|
+
import { DividerContext } from './chunk-FYIHMKHI.js';
|
|
11
|
+
import { _Text } from './chunk-RG4JKE4N.js';
|
|
12
|
+
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
13
|
+
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
14
|
+
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
15
|
+
import clsx from 'clsx';
|
|
16
|
+
import { forwardRef } from 'react';
|
|
17
|
+
import { useContextProps, composeRenderProps, ListBox as ListBox$1, Collection } from 'react-aria-components';
|
|
18
|
+
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
19
|
+
|
|
20
|
+
// css-module:./ListBox.module.css#css-module
|
|
21
|
+
var ListBox_module_default = { "hop-ListBox": "ListBox-module__hop-ListBox___SARwA", "hop-ListBox--fluid": "ListBox-module__hop-ListBox--fluid___Imbbr", "hop-ListBox__section": "ListBox-module__hop-ListBox__section___EdImM", "hop-ListBox__item": "ListBox-module__hop-ListBox__item___-dZ1Z", "hop-ListBox__section-header": "ListBox-module__hop-ListBox__section-header___F18mO", "hop-ListBox__divider": "ListBox-module__hop-ListBox__divider___5vc2s" };
|
|
22
|
+
var GlobalListBoxCssSelector = "hop-ListBox";
|
|
23
|
+
var GlobalListBoxEmptyItemCssSelector = "hop-ListBox__empty-item";
|
|
24
|
+
var ListBoxToTextSizeAdapter = {
|
|
25
|
+
xs: "sm",
|
|
26
|
+
sm: "sm",
|
|
27
|
+
md: "sm",
|
|
28
|
+
lg: "md"
|
|
29
|
+
};
|
|
30
|
+
function ListBox(props, ref) {
|
|
31
|
+
var _a, _b;
|
|
32
|
+
[props, ref] = useContextProps(props, ref, ListBoxContext);
|
|
33
|
+
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
34
|
+
const {
|
|
35
|
+
className,
|
|
36
|
+
children,
|
|
37
|
+
disallowEmptySelection: disallowEmptySelectionProp,
|
|
38
|
+
isFluid: isFluidProp,
|
|
39
|
+
isInvalid,
|
|
40
|
+
isLoading,
|
|
41
|
+
onLoadMore,
|
|
42
|
+
renderEmptyState,
|
|
43
|
+
size: sizeProp,
|
|
44
|
+
style: styleProp,
|
|
45
|
+
selectionIndicator = "check",
|
|
46
|
+
selectionMode,
|
|
47
|
+
...otherProps
|
|
48
|
+
} = ownProps;
|
|
49
|
+
const size = (_a = useResponsiveValue(sizeProp)) != null ? _a : "sm";
|
|
50
|
+
const isFluid = (_b = useResponsiveValue(isFluidProp)) != null ? _b : false;
|
|
51
|
+
const disallowEmptySelection = disallowEmptySelectionProp != null ? disallowEmptySelectionProp : selectionIndicator === "input" && selectionMode === "single";
|
|
52
|
+
const stringFormatter = useLocalizedString();
|
|
53
|
+
const classNames = composeClassnameRenderProps(
|
|
54
|
+
className,
|
|
55
|
+
GlobalListBoxCssSelector,
|
|
56
|
+
cssModule(
|
|
57
|
+
ListBox_module_default,
|
|
58
|
+
"hop-ListBox",
|
|
59
|
+
size,
|
|
60
|
+
isFluid && "fluid"
|
|
61
|
+
),
|
|
62
|
+
stylingProps.className
|
|
63
|
+
);
|
|
64
|
+
const emptyItemClassNames = clsx(
|
|
65
|
+
GlobalListBoxEmptyItemCssSelector,
|
|
66
|
+
cssModule(
|
|
67
|
+
ListBox_module_default,
|
|
68
|
+
"hop-ListBox__empty-item",
|
|
69
|
+
size
|
|
70
|
+
)
|
|
71
|
+
);
|
|
72
|
+
const style = composeRenderProps(styleProp, (prev) => {
|
|
73
|
+
return {
|
|
74
|
+
...stylingProps.style,
|
|
75
|
+
...prev
|
|
76
|
+
};
|
|
77
|
+
});
|
|
78
|
+
const onScroll = useLoadOnScroll({ isLoading, onLoadMore }, ref);
|
|
79
|
+
const renderChildren = () => {
|
|
80
|
+
if (props.items) {
|
|
81
|
+
return /* @__PURE__ */ jsx(Collection, { items: props.items, children: (item) => isFunction(children) ? children(item) : children });
|
|
82
|
+
}
|
|
83
|
+
return /* @__PURE__ */ jsx(Fragment, { children });
|
|
84
|
+
};
|
|
85
|
+
const handleRenderEmptyState = (renderProps) => {
|
|
86
|
+
let result = null;
|
|
87
|
+
if (renderEmptyState && isFunction(renderEmptyState)) {
|
|
88
|
+
result = renderEmptyState(renderProps);
|
|
89
|
+
if (result) {
|
|
90
|
+
return /* @__PURE__ */ jsx(_Text, { className: emptyItemClassNames, size: ListBoxToTextSizeAdapter[size], children: result });
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
return result;
|
|
94
|
+
};
|
|
95
|
+
return /* @__PURE__ */ jsx(
|
|
96
|
+
SlotProvider,
|
|
97
|
+
{
|
|
98
|
+
values: [
|
|
99
|
+
[HeaderContext, {
|
|
100
|
+
className: ListBox_module_default["hop-ListBox__section-header"]
|
|
101
|
+
}],
|
|
102
|
+
[SectionContext, {
|
|
103
|
+
className: ListBox_module_default["hop-ListBox__section"]
|
|
104
|
+
}],
|
|
105
|
+
[DividerContext, {
|
|
106
|
+
className: ListBox_module_default["hop-ListBox__divider"]
|
|
107
|
+
}],
|
|
108
|
+
[ListBoxItemContext, {
|
|
109
|
+
className: ListBox_module_default["hop-ListBox__item"],
|
|
110
|
+
size,
|
|
111
|
+
selectionIndicator,
|
|
112
|
+
isInvalid
|
|
113
|
+
}]
|
|
114
|
+
],
|
|
115
|
+
children: /* @__PURE__ */ jsxs(
|
|
116
|
+
ListBox$1,
|
|
117
|
+
{
|
|
118
|
+
...otherProps,
|
|
119
|
+
ref,
|
|
120
|
+
className: classNames,
|
|
121
|
+
disallowEmptySelection,
|
|
122
|
+
renderEmptyState: handleRenderEmptyState,
|
|
123
|
+
selectionMode,
|
|
124
|
+
style,
|
|
125
|
+
onScroll,
|
|
126
|
+
"data-loading": isLoading,
|
|
127
|
+
shouldSelectOnPressUp: true,
|
|
128
|
+
children: [
|
|
129
|
+
renderChildren(),
|
|
130
|
+
isLoading && Array.from({ length: 5 }).map((_, index) => {
|
|
131
|
+
return /* @__PURE__ */ jsx(_ListBoxItem, { id: `loadingListItem_${index.toString()}`, isLoading, size, textValue: stringFormatter.format("ListBoxItem.loadingTextValue") }, `loadingListItem_${index.toString()}`);
|
|
132
|
+
})
|
|
133
|
+
]
|
|
134
|
+
}
|
|
135
|
+
)
|
|
136
|
+
}
|
|
137
|
+
);
|
|
138
|
+
}
|
|
139
|
+
var _ListBox = forwardRef(ListBox);
|
|
140
|
+
_ListBox.displayName = "ListBox";
|
|
141
|
+
|
|
142
|
+
export { GlobalListBoxCssSelector, GlobalListBoxEmptyItemCssSelector, _ListBox };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { RadioFieldContext } from './chunk-DGLAGYBD.js';
|
|
2
2
|
import { RadioContext } from './chunk-FU5CCPLP.js';
|
|
3
|
-
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
4
3
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
5
|
-
import {
|
|
4
|
+
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
6
5
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
6
|
+
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
7
7
|
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
8
8
|
import clsx from 'clsx';
|
|
9
9
|
import { forwardRef } from 'react';
|
|
@@ -12,7 +12,7 @@ import { useContextProps } from 'react-aria-components';
|
|
|
12
12
|
import { jsx } from 'react/jsx-runtime';
|
|
13
13
|
|
|
14
14
|
// css-module:./RadioField.module.css#css-module
|
|
15
|
-
var RadioField_module_default = { "hop-RadioField": "RadioField-module__hop-
|
|
15
|
+
var RadioField_module_default = { "hop-RadioField": "RadioField-module__hop-RadioField___8QRjD", "hop-RadioField--sm": "RadioField-module__hop-RadioField--sm___X4Gkl", "hop-RadioField--md": "RadioField-module__hop-RadioField--md___Z451F", "hop-RadioField__description": "RadioField-module__hop-RadioField__description___SqBmM", "hop-RadioField__radio": "RadioField-module__hop-RadioField__radio___CfAFT" };
|
|
16
16
|
var GlobalRadioFieldCssSelector = "hop-RadioField";
|
|
17
17
|
var RadioToDescriptionSizeAdapter = {
|
|
18
18
|
sm: "xs",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
2
1
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
3
|
-
import {
|
|
2
|
+
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
4
3
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
4
|
+
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
5
5
|
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
6
6
|
import clsx from 'clsx';
|
|
7
7
|
import { forwardRef } from 'react';
|
|
@@ -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___B7ZPi", "hop-Text--xs": "Text-module__hop-Text--xs___2lyVp", "hop-Text--sm": "Text-module__hop-Text--sm___ZJw0q", "hop-Text--md": "Text-module__hop-Text--md___JVXXA", "hop-Text--lg": "Text-module__hop-Text--lg___cL0LO", "hop-Text--xl": "Text-module__hop-Text--xl___KLn7g", "hop-Text--2xl": "Text-module__hop-Text--2xl___gb6mt", "hop-Text--inherit": "Text-module__hop-Text--inherit___-UFCW" };
|
|
13
13
|
var GlobalTextCssSelector = "hop-Text";
|
|
14
14
|
function Text(props, ref) {
|
|
15
15
|
[props, ref] = useContextProps(props, ref, TextContext);
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { _OverlineText } from './chunk-
|
|
2
|
-
import { BadgeContext } from './chunk-
|
|
1
|
+
import { _OverlineText } from './chunk-K4ZGI7DJ.js';
|
|
2
|
+
import { BadgeContext } from './chunk-CQDLZ42T.js';
|
|
3
|
+
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
3
4
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
4
5
|
import { useStyledSystem } from '@hopper-ui/styled-system';
|
|
5
6
|
import clsx from 'clsx';
|
|
@@ -8,7 +9,7 @@ import { useContextProps } from 'react-aria-components';
|
|
|
8
9
|
import { jsx } from 'react/jsx-runtime';
|
|
9
10
|
|
|
10
11
|
// css-module:./Badge.module.css#css-module
|
|
11
|
-
var Badge_module_default = { "hop-Badge": "Badge-module__hop-
|
|
12
|
+
var Badge_module_default = { "hop-Badge": "Badge-module__hop-Badge___vobuo", "hop-Badge--primary": "Badge-module__hop-Badge--primary___qDeOA", "hop-Badge--secondary": "Badge-module__hop-Badge--secondary___jTHaT" };
|
|
12
13
|
var GlobalBadgeCssSelector = "hop-Badge";
|
|
13
14
|
function Badge(props, ref) {
|
|
14
15
|
[props, ref] = useContextProps(props, ref, BadgeContext);
|
|
@@ -36,7 +37,7 @@ function Badge(props, ref) {
|
|
|
36
37
|
...stylingProps.style,
|
|
37
38
|
...style
|
|
38
39
|
};
|
|
39
|
-
return /* @__PURE__ */ jsx(
|
|
40
|
+
return /* @__PURE__ */ jsx(ClearContainerSlots, { children: /* @__PURE__ */ jsx(
|
|
40
41
|
_OverlineText,
|
|
41
42
|
{
|
|
42
43
|
...otherProps,
|
|
@@ -48,7 +49,7 @@ function Badge(props, ref) {
|
|
|
48
49
|
"aria-disabled": isDisabled || void 0,
|
|
49
50
|
children
|
|
50
51
|
}
|
|
51
|
-
);
|
|
52
|
+
) });
|
|
52
53
|
}
|
|
53
54
|
var _Badge = forwardRef(Badge);
|
|
54
55
|
_Badge.displayName = "Badge";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { InputGroupContext } from './chunk-6BFSSZCY.js';
|
|
2
2
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
3
|
-
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
4
3
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
4
|
+
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
5
5
|
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
6
6
|
import { mergeRefs } from '@react-aria/utils';
|
|
7
7
|
import { forwardRef, useRef, useCallback } from 'react';
|
|
@@ -9,7 +9,7 @@ import { useContextProps, useSlottedContext, InputContext, composeRenderProps, G
|
|
|
9
9
|
import { jsx } from 'react/jsx-runtime';
|
|
10
10
|
|
|
11
11
|
// css-module:./InputGroup.module.css#css-module
|
|
12
|
-
var InputGroup_module_default = { "hop-InputGroup": "InputGroup-module__hop-
|
|
12
|
+
var InputGroup_module_default = { "hop-InputGroup": "InputGroup-module__hop-InputGroup___8-hBh", "hop-InputGroup--fluid": "InputGroup-module__hop-InputGroup--fluid___IhxFv", "hop-InputGroup--sm": "InputGroup-module__hop-InputGroup--sm___xBYVZ", "hop-InputGroup__input": "InputGroup-module__hop-InputGroup__input___8IwkG" };
|
|
13
13
|
var GlobalInputGroupCssSelector = "hop-InputGroup";
|
|
14
14
|
function InputGroup(props, ref) {
|
|
15
15
|
var _a, _b;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { useSlot } from './chunk-H5YTU3U7.js';
|
|
2
|
-
import { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
3
|
-
import { useLocalizedString } from './chunk-H6CDFWVR.js';
|
|
4
|
-
import { _Spinner } from './chunk-BVGKXCQH.js';
|
|
5
2
|
import { ButtonContext } from './chunk-WMTWFKKP.js';
|
|
6
|
-
import {
|
|
3
|
+
import { _Spinner } from './chunk-G242LPQE.js';
|
|
4
|
+
import { useLocalizedString } from './chunk-ZOTVZM6F.js';
|
|
7
5
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
6
|
+
import { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
7
|
+
import { isTextOnlyChildren } from './chunk-ZWU6DRRZ.js';
|
|
8
8
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
9
|
-
import { _Text } from './chunk-
|
|
9
|
+
import { _Text } from './chunk-RG4JKE4N.js';
|
|
10
10
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
11
|
-
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
12
11
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
12
|
+
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
13
13
|
import { IconContext } from '@hopper-ui/icons';
|
|
14
14
|
import { slot, useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
15
15
|
import { chain, filterDOMProps, useRouter, shouldClientNavigate } from '@react-aria/utils';
|
|
@@ -19,7 +19,7 @@ import { useContextProps, ButtonContext as ButtonContext$1, composeRenderProps,
|
|
|
19
19
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
20
20
|
|
|
21
21
|
// css-module:./Button.module.css#css-module
|
|
22
|
-
var Button_module_default = { "hop-Button": "Button-module__hop-
|
|
22
|
+
var Button_module_default = { "hop-Button": "Button-module__hop-Button___6Jiki", "hop-Button--icon-only": "Button-module__hop-Button--icon-only___y4CMb", "hop-Button--fluid": "Button-module__hop-Button--fluid___amZH5", "hop-Button--sm": "Button-module__hop-Button--sm___3GNbY", "hop-Button--primary": "Button-module__hop-Button--primary___7PQ3v", "hop-Button--md": "Button-module__hop-Button--md___jB89G", "hop-Button--secondary": "Button-module__hop-Button--secondary___M28Qu", "hop-Button--upsell": "Button-module__hop-Button--upsell___kpJX6", "hop-Button--danger": "Button-module__hop-Button--danger___3zlGc", "hop-Button--ghost-danger": "Button-module__hop-Button--ghost-danger___Lm-JJ", "hop-Button--ghost-secondary": "Button-module__hop-Button--ghost-secondary___5s8pM", "hop-Button--ghost-primary": "Button-module__hop-Button--ghost-primary___exZqP", "hop-Button__Spinner": "Button-module__hop-Button__Spinner___4F-DD", "hop-Button__icon": "Button-module__hop-Button__icon___2A2PD", "hop-Button__icon-list": "Button-module__hop-Button__icon-list___Zttas", "hop-Button__text": "Button-module__hop-Button__text___Wa9pk", "hop-Button__end-icon": "Button-module__hop-Button__end-icon___471ZI", "hop-Button__end-icon-list": "Button-module__hop-Button__end-icon-list___WAbW6" };
|
|
23
23
|
var GlobalButtonCssSelector = "hop-Button";
|
|
24
24
|
var additionalButtonHTMLAttributes = /* @__PURE__ */ new Set(["form", "formAction", "formEncType", "formMethod", "formNoValidate", "formTarget", "name", "value"]);
|
|
25
25
|
function useSimulatedRACButton(props, ref) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { SwitchFieldContext } from './chunk-H7VJS4MX.js';
|
|
2
2
|
import { SwitchContext } from './chunk-YHBJAXUY.js';
|
|
3
3
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
4
|
-
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
5
4
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
5
|
+
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
6
6
|
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
7
7
|
import clsx from 'clsx';
|
|
8
8
|
import { forwardRef } from 'react';
|
|
@@ -11,7 +11,7 @@ import { useContextProps } from 'react-aria-components';
|
|
|
11
11
|
import { jsx } from 'react/jsx-runtime';
|
|
12
12
|
|
|
13
13
|
// css-module:./SwitchField.module.css#css-module
|
|
14
|
-
var SwitchField_module_default = { "hop-SwitchField": "SwitchField-module__hop-
|
|
14
|
+
var SwitchField_module_default = { "hop-SwitchField": "SwitchField-module__hop-SwitchField___w3L7V", "hop-SwitchField--sm": "SwitchField-module__hop-SwitchField--sm___xSnx9", "hop-SwitchField--md": "SwitchField-module__hop-SwitchField--md___lEJk0", "hop-SwitchField__description": "SwitchField-module__hop-SwitchField__description___qqhZZ", "hop-SwitchField__switch": "SwitchField-module__hop-SwitchField__switch___sDRnX" };
|
|
15
15
|
var GlobalSwitchFieldCssSelector = "hop-SwitchField";
|
|
16
16
|
var SwitchToDescriptionSizeAdapter = {
|
|
17
17
|
sm: "xs",
|
|
@@ -10,7 +10,9 @@ var require_en_US = __commonJS({
|
|
|
10
10
|
"ClearButton.clearAriaLabel": `Clear`,
|
|
11
11
|
"Input.charactersLeft": (args, formatter) => `${formatter.plural(args.charLeft, { "=0": `No characters left`, one: () => `${formatter.number(args.charLeft)} character left`, other: () => `${formatter.number(args.charLeft)} characters left` })}.`,
|
|
12
12
|
"PasswordField.toggleVisibility": `Toggle password visibility`,
|
|
13
|
-
"Tag.removeAriaLabel": `Remove
|
|
13
|
+
"Tag.removeAriaLabel": `Remove`,
|
|
14
|
+
"ListBoxItem.loadingTextValue": `Loading Item`,
|
|
15
|
+
"ListBoxItem.indicatorAriaLabel": `List Item Selection Indicator`
|
|
14
16
|
};
|
|
15
17
|
}
|
|
16
18
|
});
|
|
@@ -24,7 +26,9 @@ var require_fr_CA = __commonJS({
|
|
|
24
26
|
"ClearButton.clearAriaLabel": `Effacer`,
|
|
25
27
|
"Input.charactersLeft": (args, formatter) => `${formatter.plural(args.charLeft, { "=0": `Aucun caract\xE8re restant`, one: () => `${formatter.number(args.charLeft)} caract\xE8re restant`, other: () => `${formatter.number(args.charLeft)} caract\xE8res restants` })}.`,
|
|
26
28
|
"PasswordField.toggleVisibility": `Basculer la visibilit\xE9 du mot de passe`,
|
|
27
|
-
"Tag.removeAriaLabel": `Supprimer
|
|
29
|
+
"Tag.removeAriaLabel": `Supprimer`,
|
|
30
|
+
"ListBoxItem.loadingTextValue": `\xC9l\xE9ment en cours de chargement`,
|
|
31
|
+
"ListBoxItem.indicatorAriaLabel": `Indicateur de s\xE9lection d'\xE9l\xE9ment de liste`
|
|
28
32
|
};
|
|
29
33
|
}
|
|
30
34
|
});
|
package/dist/i18n/src/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { useLocalizedString } from '../../chunk-
|
|
1
|
+
export { useLocalizedString } from '../../chunk-ZOTVZM6F.js';
|
|
2
2
|
import '../../chunk-2P3A4VVY.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { useLocalizedString } from '../../chunk-
|
|
1
|
+
export { useLocalizedString } from '../../chunk-ZOTVZM6F.js';
|
|
2
2
|
import '../../chunk-2P3A4VVY.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/inputs/src/InputGroup.module.css/#css-module-data */
|
|
2
|
-
.InputGroup-module__hop-
|
|
2
|
+
.InputGroup-module__hop-InputGroup___8-hBh {
|
|
3
3
|
--hop-InputGroup-background: var(--hop-neutral-surface);
|
|
4
4
|
--hop-InputGroup-border-color: var(--hop-neutral-border);
|
|
5
5
|
--hop-InputGroup-border-width: 0.0625rem;
|
|
@@ -47,27 +47,27 @@
|
|
|
47
47
|
border: var(--border);
|
|
48
48
|
border-radius: var(--hop-InputGroup-border-radius);
|
|
49
49
|
}
|
|
50
|
-
.InputGroup-module__hop-InputGroup--
|
|
50
|
+
.InputGroup-module__hop-InputGroup--fluid___IhxFv {
|
|
51
51
|
--inline-size: 100% ;
|
|
52
52
|
}
|
|
53
|
-
.InputGroup-module__hop-InputGroup--
|
|
53
|
+
.InputGroup-module__hop-InputGroup--sm___xBYVZ {
|
|
54
54
|
--block-size: var(--hop-InputGroup-sm-block-size);
|
|
55
55
|
}
|
|
56
|
-
.InputGroup-module__hop-
|
|
56
|
+
.InputGroup-module__hop-InputGroup___8-hBh[data-hovered] {
|
|
57
57
|
--background: var(--hop-InputGroup-background-hover);
|
|
58
58
|
--border: var(--hop-InputGroup-border-width) solid var(--hop-InputGroup-border-color-hover) ;
|
|
59
59
|
}
|
|
60
|
-
.InputGroup-module__hop-
|
|
60
|
+
.InputGroup-module__hop-InputGroup___8-hBh[data-focus-within] {
|
|
61
61
|
--border: var(--hop-InputGroup-border-width) solid var(--hop-InputGroup-border-color-focus) ;
|
|
62
62
|
}
|
|
63
|
-
.InputGroup-module__hop-
|
|
63
|
+
.InputGroup-module__hop-InputGroup___8-hBh[data-invalid] {
|
|
64
64
|
--border: var(--hop-InputGroup-border-width) solid var(--hop-InputGroup-border-color-invalid) ;
|
|
65
65
|
}
|
|
66
|
-
.InputGroup-module__hop-
|
|
66
|
+
.InputGroup-module__hop-InputGroup___8-hBh[data-disabled] {
|
|
67
67
|
--background: var(--hop-InputGroup-background-disabled);
|
|
68
68
|
--border: 0.0625rem solid var(--hop-InputGroup-border-color-disabled) ;
|
|
69
69
|
}
|
|
70
|
-
.InputGroup-module__hop-
|
|
70
|
+
.InputGroup-module__hop-InputGroup__input___8IwkG {
|
|
71
71
|
--input-font-family: var(--hop-InputGroup-input-md-font-family);
|
|
72
72
|
--input-font-size: var(--hop-InputGroup-input-md-font-size);
|
|
73
73
|
--input-font-weight: var(--hop-InputGroup-input-md-font-weight);
|
|
@@ -89,23 +89,23 @@
|
|
|
89
89
|
border: none;
|
|
90
90
|
outline: none;
|
|
91
91
|
}
|
|
92
|
-
.InputGroup-module__hop-InputGroup--
|
|
92
|
+
.InputGroup-module__hop-InputGroup--fluid___IhxFv .InputGroup-module__hop-InputGroup__input___8IwkG {
|
|
93
93
|
--input-inline-size: 100%;
|
|
94
94
|
}
|
|
95
|
-
.InputGroup-module__hop-InputGroup--
|
|
95
|
+
.InputGroup-module__hop-InputGroup--sm___xBYVZ .InputGroup-module__hop-InputGroup__input___8IwkG {
|
|
96
96
|
--input-font-family: var(--hop-InputGroup-input-sm-font-family);
|
|
97
97
|
--input-font-size: var(--hop-InputGroup-input-sm-font-size);
|
|
98
98
|
--input-font-weight: var(--hop-InputGroup-input-sm-font-weight);
|
|
99
99
|
--input-line-height: var(--hop-InputGroup-input-sm-line-height);
|
|
100
100
|
--input-block-size: var(--hop-InputGroup-input-sm-block-size);
|
|
101
101
|
}
|
|
102
|
-
.InputGroup-module__hop-
|
|
102
|
+
.InputGroup-module__hop-InputGroup__input___8IwkG::placeholder {
|
|
103
103
|
font-family: var(--hop-InputGroup-placeholder-font-family);
|
|
104
104
|
font-size: var(--hop-InputGroup-placeholder-font-size);
|
|
105
105
|
font-weight: var(--hop-InputGroup-placeholder-font-weight);
|
|
106
106
|
line-height: var(--hop-InputGroup-placeholder-line-height);
|
|
107
107
|
color: var(--input-placeholder-color);
|
|
108
108
|
}
|
|
109
|
-
.InputGroup-module__hop-
|
|
109
|
+
.InputGroup-module__hop-InputGroup__input___8IwkG[data-disabled]::placeholder {
|
|
110
110
|
--input-placeholder-color: var(--hop-InputGroup-placeholder-color-disabled);
|
|
111
111
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { GlobalInputGroupCssSelector, _InputGroup as InputGroup } from '../../chunk-
|
|
1
|
+
export { GlobalInputGroupCssSelector, _InputGroup as InputGroup } from '../../chunk-V5GOY6TV.js';
|
|
2
2
|
import '../../chunk-6BFSSZCY.js';
|
|
3
3
|
import '../../chunk-65JPI4FL.js';
|
|
4
|
-
import '../../chunk-KVDXQMWI.js';
|
|
5
4
|
import '../../chunk-M36KANKC.js';
|
|
5
|
+
import '../../chunk-KVDXQMWI.js';
|
|
6
6
|
import '../../chunk-2P3A4VVY.js';
|