@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,11 +1,11 @@
|
|
|
1
|
+
import { TagListContext } from './chunk-XLKYXKWE.js';
|
|
1
2
|
import { TagContext } from './chunk-EWMWQ2MC.js';
|
|
2
3
|
import { TagGroupContext } from './chunk-LCAS3YQV.js';
|
|
3
|
-
import { TagListContext } from './chunk-XLKYXKWE.js';
|
|
4
|
-
import { ErrorMessageContext } from './chunk-ACVMW6YD.js';
|
|
5
|
-
import { HelperMessageContext } from './chunk-ESVVLTEN.js';
|
|
6
4
|
import { LabelContext } from './chunk-QCA3ZR56.js';
|
|
7
|
-
import {
|
|
5
|
+
import { ErrorMessageContext } from './chunk-FAE27DLF.js';
|
|
6
|
+
import { HelperMessageContext } from './chunk-HZKFQ33E.js';
|
|
8
7
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
8
|
+
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
9
9
|
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
10
10
|
import clsx from 'clsx';
|
|
11
11
|
import { forwardRef } from 'react';
|
|
@@ -13,7 +13,7 @@ import { useContextProps, FieldErrorContext, TagGroup as TagGroup$1 } from 'reac
|
|
|
13
13
|
import { jsx } from 'react/jsx-runtime';
|
|
14
14
|
|
|
15
15
|
// css-module:./TagGroup.module.css#css-module
|
|
16
|
-
var TagGroup_module_default = { "hop-TagGroup": "TagGroup-module__hop-
|
|
16
|
+
var TagGroup_module_default = { "hop-TagGroup": "TagGroup-module__hop-TagGroup___HSRyk", "hop-TagGroup__label": "TagGroup-module__hop-TagGroup__label___2FqNk", "hop-TagGroup__list": "TagGroup-module__hop-TagGroup__list___PssjU", "hop-TagGroup__error-message": "TagGroup-module__hop-TagGroup__error-message___Nd-LK", "hop-TagGroup__helper-message": "TagGroup-module__hop-TagGroup__helper-message___-MMag" };
|
|
17
17
|
var GlobalTagGroupCssSelector = "hop-TagGroup";
|
|
18
18
|
function TagGroup(props, ref) {
|
|
19
19
|
var _a;
|
|
@@ -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___dMC-1" };
|
|
12
12
|
var GlobalIconListCssSelector = "hop-IconList";
|
|
13
13
|
function IconList(props, ref) {
|
|
14
14
|
[props, ref] = useContextProps(props, ref, IconListContext);
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { ErrorMessageContext } from './chunk-ACVMW6YD.js';
|
|
2
|
-
import { HelperMessageContext } from './chunk-ESVVLTEN.js';
|
|
3
1
|
import { CheckboxFieldContext } from './chunk-ZGNK4GWA.js';
|
|
4
2
|
import { CheckboxGroupContext } from './chunk-N7YDPVZL.js';
|
|
5
3
|
import { CheckboxListContext } from './chunk-WDUQUPTE.js';
|
|
6
4
|
import { CheckboxContext } from './chunk-2EAZPH3M.js';
|
|
7
5
|
import { LabelContext } from './chunk-QCA3ZR56.js';
|
|
8
6
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
9
|
-
import {
|
|
7
|
+
import { ErrorMessageContext } from './chunk-FAE27DLF.js';
|
|
8
|
+
import { HelperMessageContext } from './chunk-HZKFQ33E.js';
|
|
10
9
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
10
|
+
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
11
11
|
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
12
12
|
import { forwardRef } from 'react';
|
|
13
13
|
import { useContextProps, composeRenderProps, CheckboxGroup as CheckboxGroup$1 } from 'react-aria-components';
|
|
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___J0v3l", "hop-CheckboxGroup--bordered": "CheckboxGroup-module__hop-CheckboxGroup--bordered___D1T7w", "hop-CheckboxGroup--sm": "CheckboxGroup-module__hop-CheckboxGroup--sm___UpAzu", "hop-CheckboxGroup--md": "CheckboxGroup-module__hop-CheckboxGroup--md___hdnvw", "hop-CheckboxGroup__label": "CheckboxGroup-module__hop-CheckboxGroup__label___4s1y7", "hop-CheckboxGroup__list": "CheckboxGroup-module__hop-CheckboxGroup__list___f-Ifz", "hop-CheckboxGroup__checkbox": "CheckboxGroup-module__hop-CheckboxGroup__checkbox___x1-dz", "hop-CheckboxGroup__error-message": "CheckboxGroup-module__hop-CheckboxGroup__error-message___RXQBs", "hop-CheckboxGroup__helper-message": "CheckboxGroup-module__hop-CheckboxGroup__helper-message___ArBfp" };
|
|
18
18
|
var GlobalCheckboxGroupCssSelector = "hop-CheckboxGroup";
|
|
19
19
|
function CheckboxGroup(props, ref) {
|
|
20
20
|
var _a, _b;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { SwitchContext } from './chunk-YHBJAXUY.js';
|
|
2
|
-
import { isTextOnlyChildren } from './chunk-ZWU6DRRZ.js';
|
|
3
2
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
3
|
+
import { isTextOnlyChildren } from './chunk-ZWU6DRRZ.js';
|
|
4
4
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
5
|
-
import { _Text } from './chunk-
|
|
6
|
-
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
5
|
+
import { _Text } from './chunk-RG4JKE4N.js';
|
|
7
6
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
8
|
-
import {
|
|
7
|
+
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
9
8
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
9
|
+
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
10
10
|
import { IconContext } from '@hopper-ui/icons';
|
|
11
11
|
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
12
12
|
import { forwardRef } from 'react';
|
|
@@ -14,7 +14,7 @@ import { useContextProps, composeRenderProps, Switch as Switch$1 } from 'react-a
|
|
|
14
14
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
15
15
|
|
|
16
16
|
// css-module:./Switch.module.css#css-module
|
|
17
|
-
var Switch_module_default = { "hop-Switch": "Switch-module__hop-
|
|
17
|
+
var Switch_module_default = { "hop-Switch": "Switch-module__hop-Switch___xTzRj", "hop-Switch--sm": "Switch-module__hop-Switch--sm___pMOUQ", "hop-Switch--md": "Switch-module__hop-Switch--md___XkV-u", "hop-Switch__indicator": "Switch-module__hop-Switch__indicator___tCcAc", "hop-Switch__text": "Switch-module__hop-Switch__text___nvsfu", "hop-Switch__icon-list": "Switch-module__hop-Switch__icon-list___322IP", "hop-Switch__icon": "Switch-module__hop-Switch__icon___IIFNL" };
|
|
18
18
|
var GlobalSwitchCssSelector = "hop-Switch";
|
|
19
19
|
function Switch(props, ref) {
|
|
20
20
|
var _a;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { ListBoxItemSkeletonContext } from './chunk-OKZYR4RF.js';
|
|
2
|
+
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
3
|
+
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
4
|
+
import clsx from 'clsx';
|
|
5
|
+
import { forwardRef } from 'react';
|
|
6
|
+
import { useContextProps } from 'react-aria-components';
|
|
7
|
+
import { jsx } from 'react/jsx-runtime';
|
|
8
|
+
|
|
9
|
+
// css-module:./ListBoxItemSkeleton.module.css#css-module
|
|
10
|
+
var ListBoxItemSkeleton_module_default = { "hop-ListBoxItemSkeleton": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton___vxdl4", "placeholder-shimmer": "ListBoxItemSkeleton-module__placeholder-shimmer___zxMXK", "hop-ListBoxItemSkeleton--xs": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--xs___lRdbr", "hop-ListBoxItemSkeleton--sm": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--sm___yWx0f", "hop-ListBoxItemSkeleton--md": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--md___S7Deh", "hop-ListBoxItemSkeleton--lg": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--lg___Rrcau" };
|
|
11
|
+
var GlobalListBoxItemSkeletonCssSelector = "hop-ListBoxItemSkeleton";
|
|
12
|
+
function ListBoxItemSkeleton(props, ref) {
|
|
13
|
+
var _a;
|
|
14
|
+
[props, ref] = useContextProps(props, ref, ListBoxItemSkeletonContext);
|
|
15
|
+
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
16
|
+
const {
|
|
17
|
+
className,
|
|
18
|
+
size: sizeProp,
|
|
19
|
+
style: styleProp,
|
|
20
|
+
slot,
|
|
21
|
+
...otherProps
|
|
22
|
+
} = ownProps;
|
|
23
|
+
const size = (_a = useResponsiveValue(sizeProp)) != null ? _a : "sm";
|
|
24
|
+
const classNames = clsx(
|
|
25
|
+
className,
|
|
26
|
+
GlobalListBoxItemSkeletonCssSelector,
|
|
27
|
+
cssModule(
|
|
28
|
+
ListBoxItemSkeleton_module_default,
|
|
29
|
+
"hop-ListBoxItemSkeleton",
|
|
30
|
+
size
|
|
31
|
+
),
|
|
32
|
+
stylingProps.className
|
|
33
|
+
);
|
|
34
|
+
const style = {
|
|
35
|
+
...stylingProps.style,
|
|
36
|
+
...styleProp
|
|
37
|
+
};
|
|
38
|
+
return /* @__PURE__ */ jsx(
|
|
39
|
+
"div",
|
|
40
|
+
{
|
|
41
|
+
...otherProps,
|
|
42
|
+
ref,
|
|
43
|
+
className: classNames,
|
|
44
|
+
style,
|
|
45
|
+
slot: slot != null ? slot : void 0
|
|
46
|
+
}
|
|
47
|
+
);
|
|
48
|
+
}
|
|
49
|
+
var _ListBoxItemSkeleton = forwardRef(ListBoxItemSkeleton);
|
|
50
|
+
_ListBoxItemSkeleton.displayName = "ListBoxItemSkeleton";
|
|
51
|
+
|
|
52
|
+
export { GlobalListBoxItemSkeletonCssSelector, _ListBoxItemSkeleton };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { CheckboxContext } from './chunk-2EAZPH3M.js';
|
|
2
|
-
import { isTextOnlyChildren } from './chunk-ZWU6DRRZ.js';
|
|
3
2
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
3
|
+
import { isTextOnlyChildren } from './chunk-ZWU6DRRZ.js';
|
|
4
4
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
5
|
-
import { _Text } from './chunk-
|
|
6
|
-
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
5
|
+
import { _Text } from './chunk-RG4JKE4N.js';
|
|
7
6
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
8
|
-
import {
|
|
7
|
+
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
9
8
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
9
|
+
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
10
10
|
import { MinusIcon, CheckmarkIcon, IconContext } from '@hopper-ui/icons';
|
|
11
11
|
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
12
12
|
import { forwardRef } from 'react';
|
|
@@ -14,7 +14,7 @@ import { useContextProps, composeRenderProps, Checkbox as Checkbox$1 } from 'rea
|
|
|
14
14
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
15
15
|
|
|
16
16
|
// css-module:./Checkbox.module.css#css-module
|
|
17
|
-
var Checkbox_module_default = { "hop-Checkbox": "Checkbox-module__hop-
|
|
17
|
+
var Checkbox_module_default = { "hop-Checkbox": "Checkbox-module__hop-Checkbox___kkfkh", "hop-Checkbox--focused": "Checkbox-module__hop-Checkbox--focused___TlPED", "hop-Checkbox--hovered": "Checkbox-module__hop-Checkbox--hovered___RChm-", "hop-Checkbox--pressed": "Checkbox-module__hop-Checkbox--pressed___rF14S", "hop-Checkbox--sm": "Checkbox-module__hop-Checkbox--sm___meRzS", "hop-Checkbox--md": "Checkbox-module__hop-Checkbox--md___FP707", "hop-Checkbox__icon": "Checkbox-module__hop-Checkbox__icon___riT8C", "hop-Checkbox__icon-list": "Checkbox-module__hop-Checkbox__icon-list___qqh1A", "hop-Checkbox__box": "Checkbox-module__hop-Checkbox__box___0yaup", "hop-Checkbox__check": "Checkbox-module__hop-Checkbox__check___QslyE", "hop-Checkbox__text": "Checkbox-module__hop-Checkbox__text___dS-ci" };
|
|
18
18
|
var GlobalCheckboxCssSelector = "hop-Checkbox";
|
|
19
19
|
function Checkbox(props, ref) {
|
|
20
20
|
var _a;
|
|
@@ -25,6 +25,9 @@ function Checkbox(props, ref) {
|
|
|
25
25
|
children: childrenProp,
|
|
26
26
|
size: sizeProp = "md",
|
|
27
27
|
style: styleProp,
|
|
28
|
+
isPressed,
|
|
29
|
+
isHovered,
|
|
30
|
+
isFocused,
|
|
28
31
|
...otherProps
|
|
29
32
|
} = ownProps;
|
|
30
33
|
const size = (_a = useResponsiveValue(sizeProp)) != null ? _a : "md";
|
|
@@ -34,7 +37,10 @@ function Checkbox(props, ref) {
|
|
|
34
37
|
cssModule(
|
|
35
38
|
Checkbox_module_default,
|
|
36
39
|
"hop-Checkbox",
|
|
37
|
-
size
|
|
40
|
+
size,
|
|
41
|
+
isPressed && "pressed",
|
|
42
|
+
isHovered && "hovered",
|
|
43
|
+
isFocused && "focused"
|
|
38
44
|
),
|
|
39
45
|
stylingProps.className
|
|
40
46
|
);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { CheckboxFieldContext } from './chunk-ZGNK4GWA.js';
|
|
2
2
|
import { CheckboxContext } from './chunk-2EAZPH3M.js';
|
|
3
3
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
4
|
-
import { 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:./CheckboxField.module.css#css-module
|
|
14
|
-
var CheckboxField_module_default = { "hop-CheckboxField": "CheckboxField-module__hop-
|
|
14
|
+
var CheckboxField_module_default = { "hop-CheckboxField": "CheckboxField-module__hop-CheckboxField___sv7hL", "hop-CheckboxField--sm": "CheckboxField-module__hop-CheckboxField--sm___Kkdsk", "hop-CheckboxField--md": "CheckboxField-module__hop-CheckboxField--md___2zUca", "hop-CheckboxField__description": "CheckboxField-module__hop-CheckboxField__description___0-Wfs", "hop-CheckboxField__checkbox": "CheckboxField-module__hop-CheckboxField__checkbox___ziF8w" };
|
|
15
15
|
var GlobalCheckboxFieldCssSelector = "hop-CheckboxField";
|
|
16
16
|
var CheckboxToDescriptionSizeAdapter = {
|
|
17
17
|
sm: "xs",
|