@hopper-ui/components 1.1.0 → 1.2.0
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 +11 -0
- package/README.md +1 -1
- 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/AvatarContext.d.ts +1 -1
- 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/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 +4111 -0
- package/dist/Form/src/Form.d.ts +28 -0
- package/dist/Form/src/Form.js +114 -0
- package/dist/Form/src/FormContext.d.ts +8 -0
- package/dist/Form/src/FormContext.js +2 -0
- package/dist/Form/src/index.css +4111 -0
- package/dist/Form/src/index.d.ts +5 -0
- package/dist/Form/src/index.js +114 -0
- 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 +3 -3
- package/dist/Link/src/index.css +31 -31
- package/dist/Link/src/index.js +3 -3
- package/dist/ListBox/src/ListBox.css +369 -169
- package/dist/ListBox/src/ListBox.js +12 -11
- package/dist/ListBox/src/ListBoxItem.css +425 -225
- package/dist/ListBox/src/ListBoxItem.js +10 -9
- package/dist/ListBox/src/ListBoxItemSkeleton.css +7 -7
- package/dist/ListBox/src/ListBoxItemSkeleton.js +1 -1
- package/dist/ListBox/src/index.css +369 -169
- package/dist/ListBox/src/index.js +12 -11
- 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 +6 -6
- package/dist/buttons/src/ButtonGroup.css +11 -11
- package/dist/buttons/src/ButtonGroup.js +1 -1
- package/dist/buttons/src/ClearButton.css +375 -28
- package/dist/buttons/src/ClearButton.js +3 -3
- package/dist/buttons/src/EmbeddedButton.css +375 -28
- package/dist/buttons/src/EmbeddedButton.d.ts +9 -0
- package/dist/buttons/src/EmbeddedButton.js +1 -1
- package/dist/buttons/src/index.css +480 -133
- package/dist/buttons/src/index.js +9 -9
- package/dist/checkbox/src/Checkbox.css +31 -31
- package/dist/checkbox/src/Checkbox.js +3 -3
- package/dist/checkbox/src/CheckboxField.css +15 -15
- package/dist/checkbox/src/CheckboxField.js +1 -1
- package/dist/checkbox/src/CheckboxGroup.css +62 -59
- package/dist/checkbox/src/CheckboxGroup.js +1 -1
- package/dist/checkbox/src/index.css +62 -59
- package/dist/checkbox/src/index.js +6 -6
- package/dist/{chunk-SR3GAXY5.js → chunk-2XO5CZBO.js} +2 -2
- package/dist/{chunk-VFYGHX3N.js → chunk-354H4FNA.js} +1 -1
- package/dist/{chunk-TGXZJJJA.js → chunk-5IB23E3O.js} +6 -2
- package/dist/{chunk-UMD6RDUS.js → chunk-BKCMCC7V.js} +1 -1
- package/dist/{chunk-YE7RARJB.js → chunk-CEUQHDEQ.js} +1 -1
- package/dist/{chunk-WAUGFWZA.js → chunk-CKKLDA5J.js} +2 -2
- package/dist/{chunk-PQV24MM4.js → chunk-COIGQP33.js} +3 -3
- package/dist/{chunk-VVY3ONWS.js → chunk-EJUIYBAC.js} +1 -1
- package/dist/chunk-EURJK4ZT.js +7 -0
- package/dist/{chunk-YEYNRBMQ.js → chunk-F4H76S4H.js} +6 -2
- package/dist/{chunk-A7HLXFSP.js → chunk-FA4IXLWZ.js} +9 -7
- package/dist/chunk-FOD7XUSJ.js +150 -0
- package/dist/{chunk-ZNGSZW7M.js → chunk-FOKTHCFK.js} +3 -3
- package/dist/{chunk-XGI4LDIF.js → chunk-HCRWIU7V.js} +4 -4
- package/dist/{chunk-BGRKDTCG.js → chunk-IUOLKHYQ.js} +1 -1
- package/dist/{chunk-FQO2QRSC.js → chunk-IXWYHDGU.js} +1 -1
- package/dist/{chunk-TMWNNF4J.js → chunk-J44DIB5J.js} +3 -3
- package/dist/{chunk-TVV4RMFR.js → chunk-JJ4EFTES.js} +1 -1
- package/dist/{chunk-P7UUQGGF.js → chunk-L5KI4ZCL.js} +2 -2
- package/dist/{chunk-6PH4IIEW.js → chunk-M3K4IYX6.js} +1 -1
- package/dist/{chunk-TKB5Q2WX.js → chunk-MJHMFANK.js} +1 -1
- package/dist/{chunk-BLQ72S4U.js → chunk-PFABSIDM.js} +1 -1
- package/dist/{chunk-GXFFLWNF.js → chunk-PQXVL3YJ.js} +1 -1
- package/dist/{chunk-YRUBXLBX.js → chunk-Q63YLWI6.js} +6 -3
- package/dist/{chunk-BQZQTNI6.js → chunk-RQKU3XDG.js} +1 -1
- package/dist/chunk-RWAVMW7T.js +70 -0
- package/dist/{chunk-6K6W32Q7.js → chunk-S5CK32KM.js} +6 -4
- package/dist/{chunk-I6OII2RA.js → chunk-SZSQZ4C7.js} +3 -3
- package/dist/{chunk-Q52NUBN7.js → chunk-T6MAOVLH.js} +2 -2
- package/dist/{chunk-BXPZ6HPC.js → chunk-TCOZUCPD.js} +142 -159
- package/dist/{chunk-GCJT5PQ4.js → chunk-TG623HPA.js} +7 -5
- package/dist/{chunk-6CDXS774.js → chunk-U56LEEEA.js} +6 -6
- package/dist/{chunk-AT7ZY6GA.js → chunk-UT4CSUUM.js} +1 -1
- package/dist/{chunk-CXCOSGTO.js → chunk-V5Q245NH.js} +4 -2
- package/dist/chunk-VISBUD2K.js +172 -0
- package/dist/{chunk-KA6KVIVV.js → chunk-VYKPDMP3.js} +3 -3
- package/dist/{chunk-XHZ4R2MB.js → chunk-W2BQZEW6.js} +4 -4
- package/dist/{chunk-RD6VCI72.js → chunk-W474WFOP.js} +20 -8
- package/dist/{chunk-QY6U3R3W.js → chunk-X253QCYD.js} +3 -2
- package/dist/{chunk-6MSRPPI6.js → chunk-XT2MZWEV.js} +1 -1
- package/dist/{chunk-ICDMJUNE.js → chunk-XUJNQNB3.js} +1 -1
- package/dist/i18n/src/index.js +1 -1
- package/dist/i18n/src/useLocalizedString.js +1 -1
- package/dist/index.css +1521 -694
- package/dist/index.d.ts +5 -3
- package/dist/index.js +46 -44
- package/dist/inputs/src/InputGroup.css +14 -14
- package/dist/inputs/src/InputGroup.d.ts +2 -1
- package/dist/inputs/src/InputGroup.js +1 -1
- package/dist/inputs/src/NumberField.css +65 -62
- package/dist/inputs/src/NumberField.d.ts +1 -0
- package/dist/inputs/src/NumberField.js +18 -173
- package/dist/inputs/src/PasswordField.css +524 -174
- package/dist/inputs/src/PasswordField.d.ts +1 -0
- package/dist/inputs/src/PasswordField.js +9 -9
- package/dist/inputs/src/SearchField.css +530 -180
- package/dist/inputs/src/SearchField.d.ts +1 -0
- package/dist/inputs/src/SearchField.js +10 -10
- package/dist/inputs/src/TextArea.css +59 -56
- package/dist/inputs/src/TextArea.js +8 -8
- package/dist/inputs/src/TextField.css +525 -175
- package/dist/inputs/src/TextField.d.ts +2 -0
- package/dist/inputs/src/TextField.js +11 -11
- package/dist/inputs/src/index.css +694 -205
- package/dist/inputs/src/index.d.ts +2 -0
- package/dist/inputs/src/index.js +17 -14
- package/dist/overlays/Popover/src/Popover.css +1521 -694
- package/dist/overlays/Popover/src/Popover.js +46 -44
- package/dist/overlays/Popover/src/index.css +1521 -694
- package/dist/overlays/Popover/src/index.js +46 -44
- package/dist/radio/src/Radio.css +31 -31
- package/dist/radio/src/Radio.js +3 -3
- package/dist/radio/src/RadioField.css +15 -15
- package/dist/radio/src/RadioField.js +1 -1
- package/dist/radio/src/RadioGroup.css +62 -59
- package/dist/radio/src/RadioGroup.js +1 -1
- package/dist/radio/src/index.css +62 -59
- package/dist/radio/src/index.js +6 -6
- package/dist/switch/src/Switch.css +25 -25
- package/dist/switch/src/Switch.js +3 -3
- 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 +4 -4
- package/dist/tag/src/Tag.css +1041 -2332
- package/dist/tag/src/Tag.d.ts +6 -1
- package/dist/tag/src/Tag.js +7 -99
- package/dist/tag/src/TagGroup.css +24 -21
- package/dist/tag/src/TagGroup.d.ts +7 -2
- package/dist/tag/src/TagGroup.js +1 -1
- package/dist/tag/src/index.css +1104 -2296
- package/dist/tag/src/index.js +9 -94
- 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 +5 -2
- package/dist/typography/Label/src/Label.d.ts +8 -0
- package/dist/typography/Label/src/Label.js +2 -1
- package/dist/typography/Label/src/index.css +5 -2
- package/dist/typography/Label/src/index.js +2 -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 +3 -3
- package/dist/Chip/src/Chip.css +0 -261
- package/dist/Chip/src/Chip.d.ts +0 -27
- package/dist/Chip/src/Chip.js +0 -10
- package/dist/Chip/src/ChipContext.d.ts +0 -10
- package/dist/Chip/src/ChipContext.js +0 -2
- package/dist/Chip/src/index.css +0 -261
- package/dist/Chip/src/index.d.ts +0 -7
- package/dist/Chip/src/index.js +0 -10
- package/dist/chunk-632B5YBQ.js +0 -7
- package/dist/chunk-7VS566A2.js +0 -43
- package/dist/chunk-OETAIO6N.js +0 -105
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { SwitchContext } from './chunk-YHBJAXUY.js';
|
|
2
|
-
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
3
2
|
import { isTextOnlyChildren } from './chunk-ZWU6DRRZ.js';
|
|
3
|
+
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
4
4
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
5
|
-
import { _Text } from './chunk-
|
|
5
|
+
import { _Text } from './chunk-XT2MZWEV.js';
|
|
6
6
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
7
7
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
8
8
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
@@ -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___Mf5VL", "hop-Switch--sm": "Switch-module__hop-Switch--sm___-gT1c", "hop-Switch--md": "Switch-module__hop-Switch--md___bPSgp", "hop-Switch__indicator": "Switch-module__hop-Switch__indicator___Ak4ez", "hop-Switch__text": "Switch-module__hop-Switch__text___yWPwC", "hop-Switch__icon-list": "Switch-module__hop-Switch__icon-list___Lx1ak", "hop-Switch__icon": "Switch-module__hop-Switch__icon___vAPk1" };
|
|
18
18
|
var GlobalSwitchCssSelector = "hop-Switch";
|
|
19
19
|
function Switch(props, ref) {
|
|
20
20
|
var _a;
|
|
@@ -2,13 +2,13 @@ import { isFunction } from './chunk-TIPN4VYD.js';
|
|
|
2
2
|
import { useLoadOnScroll } from './chunk-JTNMFPM4.js';
|
|
3
3
|
import { SectionContext } from './chunk-5H5AZJPQ.js';
|
|
4
4
|
import { ListBoxContext } from './chunk-UIEP5BA5.js';
|
|
5
|
-
import { _ListBoxItem } from './chunk-
|
|
6
|
-
import { useLocalizedString } from './chunk-
|
|
5
|
+
import { _ListBoxItem } from './chunk-W474WFOP.js';
|
|
6
|
+
import { useLocalizedString } from './chunk-F4H76S4H.js';
|
|
7
7
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
8
8
|
import { ListBoxItemContext } from './chunk-Y2POLIXK.js';
|
|
9
9
|
import { HeaderContext } from './chunk-7JOGKC3W.js';
|
|
10
10
|
import { DividerContext } from './chunk-FYIHMKHI.js';
|
|
11
|
-
import { _Text } from './chunk-
|
|
11
|
+
import { _Text } from './chunk-XT2MZWEV.js';
|
|
12
12
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
13
13
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
14
14
|
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
@@ -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___84c8C", "hop-ListBox--fluid": "ListBox-module__hop-ListBox--fluid___mHn4u", "hop-ListBox__section": "ListBox-module__hop-ListBox__section___iv9s3", "hop-ListBox__item": "ListBox-module__hop-ListBox__item___rQ48O", "hop-ListBox__section-header": "ListBox-module__hop-ListBox__section-header___WUF4y", "hop-ListBox__divider": "ListBox-module__hop-ListBox__divider___PU1hF" };
|
|
22
22
|
var GlobalListBoxCssSelector = "hop-ListBox";
|
|
23
23
|
var GlobalListBoxEmptyItemCssSelector = "hop-ListBox__empty-item";
|
|
24
24
|
var ListBoxToTextSizeAdapter = {
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import { _RadioList } from './chunk-NKHMUPAP.js';
|
|
2
|
-
import { _Radio } from './chunk-
|
|
3
|
-
import { _RadioGroup } from './chunk-
|
|
4
|
-
import { _Checkbox } from './chunk-
|
|
5
|
-
import { useLocalizedString } from './chunk-
|
|
2
|
+
import { _Radio } from './chunk-J44DIB5J.js';
|
|
3
|
+
import { _RadioGroup } from './chunk-EJUIYBAC.js';
|
|
4
|
+
import { _Checkbox } from './chunk-FOKTHCFK.js';
|
|
5
|
+
import { useLocalizedString } from './chunk-F4H76S4H.js';
|
|
6
|
+
import { isTextOnlyChildren } from './chunk-ZWU6DRRZ.js';
|
|
6
7
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
7
8
|
import { ListBoxItemContext } from './chunk-Y2POLIXK.js';
|
|
8
|
-
import { _ListBoxItemSkeleton } from './chunk-
|
|
9
|
-
import { isTextOnlyChildren } from './chunk-ZWU6DRRZ.js';
|
|
9
|
+
import { _ListBoxItemSkeleton } from './chunk-UT4CSUUM.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-XT2MZWEV.js';
|
|
13
13
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
14
|
+
import { AvatarContext } from './chunk-AES7QBQE.js';
|
|
14
15
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
15
16
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
16
17
|
import { CheckmarkIcon, IconContext } from '@hopper-ui/icons';
|
|
@@ -20,7 +21,7 @@ import { useContextProps, composeRenderProps, ListBoxItem as ListBoxItem$1, List
|
|
|
20
21
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
21
22
|
|
|
22
23
|
// css-module:./ListBoxItem.module.css#css-module
|
|
23
|
-
var ListBoxItem_module_default = { "hop-ListBoxItem": "ListBoxItem-module__hop-
|
|
24
|
+
var ListBoxItem_module_default = { "hop-ListBoxItem": "ListBoxItem-module__hop-ListBoxItem___u6Es7", "hop-ListBoxItem--xs": "ListBoxItem-module__hop-ListBoxItem--xs___yXyVw", "hop-ListBoxItem--sm": "ListBoxItem-module__hop-ListBoxItem--sm___937pQ", "hop-ListBoxItem--md": "ListBoxItem-module__hop-ListBoxItem--md___ymimv", "hop-ListBoxItem--lg": "ListBoxItem-module__hop-ListBoxItem--lg___1mW38", "hop-ListBoxItem__inner": "ListBoxItem-module__hop-ListBoxItem__inner___I35FE", "hop-ListBoxItem__checkmark": "ListBoxItem-module__hop-ListBoxItem__checkmark___LAbSz", "hop-ListBoxItem__description": "ListBoxItem-module__hop-ListBoxItem__description___EPW2R", "hop-ListBoxItem__radio-group": "ListBoxItem-module__hop-ListBoxItem__radio-group___g-HnK", "hop-ListBoxItem__checkbox": "ListBoxItem-module__hop-ListBoxItem__checkbox___ppGNP", "hop-ListBoxItem__avatar": "ListBoxItem-module__hop-ListBoxItem__avatar___QwkiM", "hop-ListBoxItem__icon-list": "ListBoxItem-module__hop-ListBoxItem__icon-list___Yhy58", "hop-ListBoxItem__icon": "ListBoxItem-module__hop-ListBoxItem__icon___mFm52", "hop-ListBoxItem__label": "ListBoxItem-module__hop-ListBoxItem__label___y1bWL", "hop-ListBoxItem__end-icon-list": "ListBoxItem-module__hop-ListBoxItem__end-icon-list___LBHo2", "hop-ListBoxItem__end-icon": "ListBoxItem-module__hop-ListBoxItem__end-icon___Luvle", "hop-ListBoxItem__badge": "ListBoxItem-module__hop-ListBoxItem__badge___bdsUo" };
|
|
24
25
|
var GlobalListBoxItemCssSelector = "hop-ListBoxItem";
|
|
25
26
|
var ListBoxItemToIconSizeAdapter = {
|
|
26
27
|
xs: "sm",
|
|
@@ -34,6 +35,12 @@ var ListBoxItemToTextSizeAdapter = {
|
|
|
34
35
|
md: "sm",
|
|
35
36
|
lg: "md"
|
|
36
37
|
};
|
|
38
|
+
var ListBoxItemToAvatarSizeAdapter = {
|
|
39
|
+
xs: "xs",
|
|
40
|
+
sm: "xs",
|
|
41
|
+
md: "md",
|
|
42
|
+
lg: "md"
|
|
43
|
+
};
|
|
37
44
|
function ListBoxItemInner(props) {
|
|
38
45
|
const stringFormatter = useLocalizedString();
|
|
39
46
|
const listStateContext = useContext(ListStateContext);
|
|
@@ -153,6 +160,11 @@ function ListBoxItemInner(props) {
|
|
|
153
160
|
[BadgeContext, {
|
|
154
161
|
className: ListBoxItem_module_default["hop-ListBoxItem__badge"],
|
|
155
162
|
isDisabled
|
|
163
|
+
}],
|
|
164
|
+
[AvatarContext, {
|
|
165
|
+
className: ListBoxItem_module_default["hop-ListBoxItem__avatar"],
|
|
166
|
+
isDisabled,
|
|
167
|
+
size: ListBoxItemToAvatarSizeAdapter[size]
|
|
156
168
|
}]
|
|
157
169
|
],
|
|
158
170
|
children
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _OverlineText } from './chunk-
|
|
1
|
+
import { _OverlineText } from './chunk-CEUQHDEQ.js';
|
|
2
2
|
import { BadgeContext } from './chunk-CQDLZ42T.js';
|
|
3
3
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
4
4
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
@@ -9,7 +9,7 @@ import { useContextProps } from 'react-aria-components';
|
|
|
9
9
|
import { jsx } from 'react/jsx-runtime';
|
|
10
10
|
|
|
11
11
|
// css-module:./Badge.module.css#css-module
|
|
12
|
-
var Badge_module_default = { "hop-Badge": "Badge-module__hop-
|
|
12
|
+
var Badge_module_default = { "hop-Badge": "Badge-module__hop-Badge___lrDM9", "hop-Badge--primary": "Badge-module__hop-Badge--primary___B9IJu", "hop-Badge--secondary": "Badge-module__hop-Badge--secondary___rsYF4" };
|
|
13
13
|
var GlobalBadgeCssSelector = "hop-Badge";
|
|
14
14
|
function Badge(props, ref) {
|
|
15
15
|
[props, ref] = useContextProps(props, ref, BadgeContext);
|
|
@@ -47,6 +47,7 @@ function Badge(props, ref) {
|
|
|
47
47
|
slot: slot != null ? slot : void 0,
|
|
48
48
|
"data-disabled": isDisabled || void 0,
|
|
49
49
|
"aria-disabled": isDisabled || void 0,
|
|
50
|
+
"data-variant": variant,
|
|
50
51
|
children
|
|
51
52
|
}
|
|
52
53
|
) });
|
|
@@ -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___7s-NC", "hop-Text--xs": "Text-module__hop-Text--xs___uRZNm", "hop-Text--sm": "Text-module__hop-Text--sm___LfDaA", "hop-Text--md": "Text-module__hop-Text--md___aGVbv", "hop-Text--lg": "Text-module__hop-Text--lg___TgsRg", "hop-Text--xl": "Text-module__hop-Text--xl___gAcxP", "hop-Text--2xl": "Text-module__hop-Text--2xl___n-9B9", "hop-Text--inherit": "Text-module__hop-Text--inherit___SEa0P" };
|
|
13
13
|
var GlobalTextCssSelector = "hop-Text";
|
|
14
14
|
function Text(props, ref) {
|
|
15
15
|
[props, ref] = useContextProps(props, ref, TextContext);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AvatarContext } from './chunk-AES7QBQE.js';
|
|
2
|
-
import { _RichIconAvatarImage } from './chunk-
|
|
2
|
+
import { _RichIconAvatarImage } from './chunk-M3K4IYX6.js';
|
|
3
3
|
import { DeletedUserRichIcon } from '@hopper-ui/icons';
|
|
4
4
|
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
5
5
|
import clsx from 'clsx';
|
package/dist/i18n/src/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { useLocalizedString } from '../../chunk-
|
|
1
|
+
export { useLocalizedString } from '../../chunk-F4H76S4H.js';
|
|
2
2
|
import '../../chunk-JSBRDJBE.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { useLocalizedString } from '../../chunk-
|
|
1
|
+
export { useLocalizedString } from '../../chunk-F4H76S4H.js';
|
|
2
2
|
import '../../chunk-JSBRDJBE.js';
|