@hopper-ui/components 1.0.11 → 1.0.12
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 +10 -10
- package/dist/Badge/src/Badge.js +2 -2
- package/dist/Badge/src/index.css +10 -10
- package/dist/Badge/src/index.js +2 -2
- package/dist/Chip/src/Chip.css +33 -33
- package/dist/Chip/src/Chip.js +2 -2
- package/dist/Chip/src/index.css +33 -33
- package/dist/Chip/src/index.js +2 -2
- 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/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 +179 -256
- package/dist/ListBox/src/ListBox.js +9 -9
- package/dist/ListBox/src/ListBoxItem.css +164 -241
- package/dist/ListBox/src/ListBoxItem.js +8 -8
- package/dist/ListBox/src/ListBoxItemSkeleton.css +7 -7
- package/dist/ListBox/src/ListBoxItemSkeleton.js +1 -1
- package/dist/ListBox/src/index.css +179 -256
- package/dist/ListBox/src/index.js +9 -9
- package/dist/Spinner/src/Spinner.css +83 -83
- package/dist/Spinner/src/Spinner.js +5 -3
- package/dist/Spinner/src/index.css +83 -83
- package/dist/Spinner/src/index.js +5 -3
- package/dist/buttons/src/Button.css +153 -233
- package/dist/buttons/src/Button.js +3 -5
- package/dist/buttons/src/ButtonGroup.css +11 -11
- package/dist/buttons/src/ButtonGroup.js +1 -1
- package/dist/buttons/src/ClearButton.css +12 -12
- package/dist/buttons/src/ClearButton.js +2 -2
- package/dist/buttons/src/EmbeddedButton.css +12 -12
- package/dist/buttons/src/EmbeddedButton.js +1 -1
- package/dist/buttons/src/index.css +176 -256
- package/dist/buttons/src/index.js +6 -8
- package/dist/checkbox/src/Checkbox.css +31 -37
- 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 +70 -140
- package/dist/checkbox/src/CheckboxGroup.js +2 -2
- package/dist/checkbox/src/index.css +70 -140
- package/dist/checkbox/src/index.js +5 -5
- package/dist/{chunk-BRIG7AIE.js → chunk-26DZ7VIM.js} +2 -2
- package/dist/{chunk-L2HJORV2.js → chunk-2EWSXUKP.js} +3 -4
- package/dist/{chunk-B3EA6PO5.js → chunk-37ZFOV4F.js} +3 -4
- package/dist/{chunk-PPO5T6D3.js → chunk-4GSKU4TS.js} +1 -1
- package/dist/{chunk-ZINTZZLE.js → chunk-4RGYMJVX.js} +1 -1
- package/dist/{chunk-TYMV4JQ2.js → chunk-5O2R6OZD.js} +2 -2
- package/dist/{chunk-B5563GK3.js → chunk-AV6EXKJL.js} +4 -4
- package/dist/{chunk-WQPDNKWM.js → chunk-B57SRQ7N.js} +1 -1
- package/dist/{chunk-4SPQFKVC.js → chunk-C6HQZUJC.js} +2 -2
- package/dist/{chunk-LRJ5ZWXY.js → chunk-EUVNSKLC.js} +1 -1
- package/dist/{chunk-HTM3ZSBX.js → chunk-F54JRMFF.js} +1 -1
- package/dist/{chunk-P62FAV3S.js → chunk-FMYIFMMF.js} +1 -1
- package/dist/{chunk-GAPQ6VJL.js → chunk-GF4GFADL.js} +3 -3
- package/dist/{chunk-YLUVOHHC.js → chunk-GLJ23R4O.js} +1 -1
- package/dist/{chunk-TP6OU6SQ.js → chunk-H47QYKHU.js} +5 -5
- package/dist/{chunk-JTX4ZTQ6.js → chunk-HAJOOYIY.js} +3 -3
- package/dist/{chunk-5VWMGH3R.js → chunk-JHCYXGZQ.js} +1 -1
- package/dist/{chunk-K7RORXVD.js → chunk-KHBGN72O.js} +2 -2
- package/dist/{chunk-QQBJ4REK.js → chunk-L6GOPZJM.js} +4 -7
- package/dist/{chunk-GDCTBE7C.js → chunk-LPNAHCYD.js} +2 -2
- package/dist/chunk-MTDFS4CZ.js +12 -0
- package/dist/{chunk-AB24MF66.js → chunk-OPVD3ERM.js} +2 -2
- package/dist/{chunk-NFOY572L.js → chunk-OQ4PSWC7.js} +2 -2
- package/dist/{chunk-WC72FIUS.js → chunk-OWUGMRU6.js} +3 -3
- package/dist/{chunk-KUX5YOEF.js → chunk-QCUDNLBI.js} +1 -1
- package/dist/{chunk-7PFCZHVB.js → chunk-R5TKT4GV.js} +5 -4
- package/dist/{chunk-I3OSQDQM.js → chunk-RHZPF2YH.js} +2 -2
- package/dist/{chunk-RYSCBMR6.js → chunk-TRIFBDZE.js} +1 -1
- package/dist/{chunk-3XZXPN6Y.js → chunk-UG2GABQI.js} +3 -3
- package/dist/{chunk-OFNA3Y6A.js → chunk-USYSDGSI.js} +9 -5
- package/dist/{chunk-OWWIZWZA.js → chunk-UZWPP6WB.js} +1 -1
- package/dist/{chunk-EZX4K3AY.js → chunk-VIJAZ3D6.js} +2 -2
- package/dist/{chunk-BKYHKRAJ.js → chunk-W6AZ2ZWU.js} +1 -1
- package/dist/{chunk-N65OIMRV.js → chunk-WKTV56XG.js} +3 -4
- package/dist/{chunk-UAKDD5TO.js → chunk-WQ2IDC5N.js} +6 -6
- package/dist/{chunk-7GVDINGU.js → chunk-XVFY4N5S.js} +1 -1
- package/dist/{chunk-W5DFK35A.js → chunk-YKLQWMUL.js} +6 -6
- package/dist/{chunk-5SHNL47W.js → chunk-Z4S37Y6Z.js} +1 -1
- package/dist/chunk-ZQ3AWYRR.js +7 -0
- package/dist/index.css +466 -570
- package/dist/index.d.ts +1 -0
- package/dist/index.js +47 -46
- package/dist/inputs/src/InputGroup.css +14 -12
- package/dist/inputs/src/InputGroup.d.ts +1 -0
- package/dist/inputs/src/InputGroup.js +1 -1
- package/dist/inputs/src/NumberField.css +517 -0
- package/dist/inputs/src/NumberField.d.ts +37 -0
- package/dist/inputs/src/NumberField.js +177 -0
- package/dist/inputs/src/NumberFieldContext.d.ts +8 -0
- package/dist/inputs/src/NumberFieldContext.js +2 -0
- package/dist/inputs/src/PasswordField.css +231 -303
- package/dist/inputs/src/PasswordField.js +8 -8
- package/dist/inputs/src/SearchField.css +237 -308
- package/dist/inputs/src/SearchField.js +9 -9
- package/dist/inputs/src/TextField.css +232 -304
- package/dist/inputs/src/TextField.js +9 -9
- package/dist/inputs/src/index.css +250 -341
- package/dist/inputs/src/index.js +12 -12
- package/dist/overlays/Popover/src/Popover.css +466 -570
- package/dist/overlays/Popover/src/Popover.js +47 -46
- package/dist/overlays/Popover/src/index.css +466 -570
- package/dist/overlays/Popover/src/index.js +47 -46
- package/dist/radio/src/Radio.css +31 -38
- package/dist/radio/src/Radio.js +2 -2
- package/dist/radio/src/RadioField.css +15 -15
- package/dist/radio/src/RadioField.js +2 -2
- package/dist/radio/src/RadioGroup.css +70 -141
- package/dist/radio/src/RadioGroup.js +2 -2
- package/dist/radio/src/index.css +70 -141
- package/dist/radio/src/index.js +5 -5
- 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 +466 -570
- package/dist/tag/src/Tag.js +47 -46
- package/dist/tag/src/TagGroup.css +32 -96
- package/dist/tag/src/TagGroup.js +2 -2
- package/dist/tag/src/index.css +466 -570
- package/dist/tag/src/index.js +47 -46
- 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 +13 -77
- package/dist/typography/Label/src/Label.d.ts +1 -6
- package/dist/typography/Label/src/Label.js +1 -1
- package/dist/typography/Label/src/index.css +13 -77
- 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.d.ts +1 -0
- package/dist/utils/src/index.js +1 -0
- package/dist/utils/src/useScale.d.ts +11 -0
- package/dist/utils/src/useScale.js +2 -0
- package/package.json +2 -2
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { PopoverContext } from './chunk-SC6ZK5ON.js';
|
|
2
2
|
import { TagContext } from './chunk-EWMWQ2MC.js';
|
|
3
|
-
import { FooterContext } from './chunk-I67NHYK4.js';
|
|
4
3
|
import { ContentContext } from './chunk-IXB2WK56.js';
|
|
4
|
+
import { FooterContext } from './chunk-I67NHYK4.js';
|
|
5
5
|
import { HeadingContext } from './chunk-TXZ6BMFR.js';
|
|
6
6
|
import { ButtonContext } from './chunk-WMTWFKKP.js';
|
|
7
7
|
import { ButtonGroupContext } from './chunk-VJQ7M2BK.js';
|
|
8
|
-
import { _ClearButton } from './chunk-
|
|
9
|
-
import { _Spinner } from './chunk-
|
|
8
|
+
import { _ClearButton } from './chunk-XVFY4N5S.js';
|
|
9
|
+
import { _Spinner } from './chunk-USYSDGSI.js';
|
|
10
10
|
import { LinkContext } from './chunk-4VVNSXIB.js';
|
|
11
11
|
import { isFunction, isNil } from './chunk-TIPN4VYD.js';
|
|
12
12
|
import { useLocalizedString } from './chunk-YEYNRBMQ.js';
|
|
@@ -15,7 +15,7 @@ import { _HopperProvider } from './chunk-NMKBUGSO.js';
|
|
|
15
15
|
import { isTextOnlyChildren } from './chunk-ZWU6DRRZ.js';
|
|
16
16
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
17
17
|
import { BadgeContext } from './chunk-CQDLZ42T.js';
|
|
18
|
-
import { _Text } from './chunk-
|
|
18
|
+
import { _Text } from './chunk-4GSKU4TS.js';
|
|
19
19
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
20
20
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
21
21
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
@@ -30,7 +30,7 @@ import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
|
30
30
|
import clsx from 'clsx';
|
|
31
31
|
|
|
32
32
|
// css-module:./Tag.module.css#css-module
|
|
33
|
-
var Tag_module_default = { "hop-Tag": "Tag-module__hop-
|
|
33
|
+
var Tag_module_default = { "hop-Tag": "Tag-module__hop-Tag___dUIE3", "hop-Tag--md": "Tag-module__hop-Tag--md___6wtY9", "hop-Tag__icon": "Tag-module__hop-Tag__icon___eGrcZ", "hop-Tag__icon-list": "Tag-module__hop-Tag__icon-list___tHZ8i", "hop-Tag__badge": "Tag-module__hop-Tag__badge___URIV7", "hop-Tag__remove-btn": "Tag-module__hop-Tag__remove-btn___-00hP", "hop-Tag__Spinner": "Tag-module__hop-Tag__Spinner___IE8gQ", "hop-Tag--lg": "Tag-module__hop-Tag--lg___ckkYy", "hop-Tag__text": "Tag-module__hop-Tag__text___w76Kl", "hop-Badge--secondary": "Tag-module__hop-Badge--secondary___l1zBp" };
|
|
34
34
|
var GlobalTagCssSelector = "hop-Tag";
|
|
35
35
|
var TagToTextSizeAdapter = {
|
|
36
36
|
md: "xs",
|
|
@@ -548,7 +548,7 @@ function $f86e6c1ec7da6ebb$export$bc3384a35de93d66(options) {
|
|
|
548
548
|
}
|
|
549
549
|
|
|
550
550
|
// css-module:./Popover.module.css#css-module
|
|
551
|
-
var Popover_module_default = { "hop-Popover": "Popover-module__hop-
|
|
551
|
+
var Popover_module_default = { "hop-Popover": "Popover-module__hop-Popover___oe5Mf", "hop-Popover__dialog": "Popover-module__hop-Popover__dialog___e6Rb4", "hop-Popover__title": "Popover-module__hop-Popover__title___QLtD7", "hop-Popover__actions": "Popover-module__hop-Popover__actions___SNYCF", "hop-Popover__action": "Popover-module__hop-Popover__action___GzNu1", "hop-Popover__content": "Popover-module__hop-Popover__content___iRBVT", "hop-Popover__footer": "Popover-module__hop-Popover__footer___nIVSF" };
|
|
552
552
|
var GlobalPopoverCssSelector = "hop-Popover";
|
|
553
553
|
function Popover(props, ref) {
|
|
554
554
|
[props, ref] = useContextProps(props, ref, PopoverContext);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ClearButtonContext } from './chunk-DXVKHP4V.js';
|
|
2
|
-
import { _EmbeddedButton } from './chunk-
|
|
2
|
+
import { _EmbeddedButton } from './chunk-QCUDNLBI.js';
|
|
3
3
|
import { useLocalizedString } from './chunk-YEYNRBMQ.js';
|
|
4
4
|
import { DismissIcon } from '@hopper-ui/icons';
|
|
5
5
|
import { forwardRef } from 'react';
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _Radio } from './chunk-RHZPF2YH.js';
|
|
2
|
+
import { _RadioGroup } from './chunk-37ZFOV4F.js';
|
|
2
3
|
import { _RadioList } from './chunk-NKHMUPAP.js';
|
|
3
|
-
import {
|
|
4
|
-
import { _Checkbox } from './chunk-BRIG7AIE.js';
|
|
4
|
+
import { _Checkbox } from './chunk-26DZ7VIM.js';
|
|
5
5
|
import { useLocalizedString } from './chunk-YEYNRBMQ.js';
|
|
6
6
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
7
7
|
import { ListBoxItemContext } from './chunk-Y2POLIXK.js';
|
|
8
|
-
import { _ListBoxItemSkeleton } from './chunk-
|
|
8
|
+
import { _ListBoxItemSkeleton } from './chunk-TRIFBDZE.js';
|
|
9
9
|
import { isTextOnlyChildren } from './chunk-ZWU6DRRZ.js';
|
|
10
10
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
11
11
|
import { BadgeContext } from './chunk-CQDLZ42T.js';
|
|
12
|
-
import { _Text } from './chunk-
|
|
12
|
+
import { _Text } from './chunk-4GSKU4TS.js';
|
|
13
13
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
14
14
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
15
15
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
@@ -20,7 +20,7 @@ import { useContextProps, composeRenderProps, ListBoxItem as ListBoxItem$1, List
|
|
|
20
20
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
21
21
|
|
|
22
22
|
// css-module:./ListBoxItem.module.css#css-module
|
|
23
|
-
var ListBoxItem_module_default = { "hop-ListBoxItem": "ListBoxItem-module__hop-
|
|
23
|
+
var ListBoxItem_module_default = { "hop-ListBoxItem": "ListBoxItem-module__hop-ListBoxItem___Syzqw", "hop-ListBoxItem--xs": "ListBoxItem-module__hop-ListBoxItem--xs___hbmq-", "hop-ListBoxItem--sm": "ListBoxItem-module__hop-ListBoxItem--sm___LjXoN", "hop-ListBoxItem--md": "ListBoxItem-module__hop-ListBoxItem--md___Cmsby", "hop-ListBoxItem--lg": "ListBoxItem-module__hop-ListBoxItem--lg___xkWLx", "hop-ListBoxItem__inner": "ListBoxItem-module__hop-ListBoxItem__inner___JjNbc", "hop-ListBoxItem__checkmark": "ListBoxItem-module__hop-ListBoxItem__checkmark___dEMd-", "hop-ListBoxItem__description": "ListBoxItem-module__hop-ListBoxItem__description___17ea0", "hop-ListBoxItem__radio-group": "ListBoxItem-module__hop-ListBoxItem__radio-group___w5cKZ", "hop-ListBoxItem__checkbox": "ListBoxItem-module__hop-ListBoxItem__checkbox___UIwrZ", "hop-ListBoxItem__avatar": "ListBoxItem-module__hop-ListBoxItem__avatar___zY88a", "hop-ListBoxItem__icon-list": "ListBoxItem-module__hop-ListBoxItem__icon-list___y6Vkq", "hop-ListBoxItem__icon": "ListBoxItem-module__hop-ListBoxItem__icon___zCWRX", "hop-ListBoxItem__label": "ListBoxItem-module__hop-ListBoxItem__label___MUh3H", "hop-ListBoxItem__end-icon-list": "ListBoxItem-module__hop-ListBoxItem__end-icon-list___Gjgzj", "hop-ListBoxItem__end-icon": "ListBoxItem-module__hop-ListBoxItem__end-icon___eyVo4", "hop-ListBoxItem__badge": "ListBoxItem-module__hop-ListBoxItem__badge___mdC5C" };
|
|
24
24
|
var GlobalListBoxItemCssSelector = "hop-ListBoxItem";
|
|
25
25
|
var ListBoxItemToIconSizeAdapter = {
|
|
26
26
|
xs: "sm",
|
|
@@ -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___4xPe3", "hop-Heading--xs": "Heading-module__hop-Heading--xs___xYFpG", "hop-Heading--sm": "Heading-module__hop-Heading--sm___Aml98", "hop-Heading--md": "Heading-module__hop-Heading--md___PsOHz", "hop-Heading--lg": "Heading-module__hop-Heading--lg___IsxrC", "hop-Heading--xl": "Heading-module__hop-Heading--xl___ywQbL", "hop-Heading--2xl": "Heading-module__hop-Heading--2xl___BBRjF", "hop-Heading--3xl": "Heading-module__hop-Heading--3xl___UMvJM" };
|
|
11
11
|
var GlobalHeadingCssSelector = "hop-Heading";
|
|
12
12
|
function Heading(props, ref) {
|
|
13
13
|
[props, ref] = useContextProps(props, ref, HeadingContext);
|