@hopper-ui/components 1.4.6 → 1.4.7
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/Accordion/src/Accordion.css +68 -68
- package/dist/Accordion/src/Accordion.js +1 -1
- package/dist/Accordion/src/index.css +68 -68
- package/dist/Accordion/src/index.js +1 -1
- package/dist/Avatar/src/AnonymousAvatar.css +38 -38
- package/dist/Avatar/src/AnonymousAvatar.js +2 -2
- package/dist/Avatar/src/Avatar.css +56 -56
- package/dist/Avatar/src/Avatar.js +4 -4
- package/dist/Avatar/src/DeletedAvatar.css +38 -38
- package/dist/Avatar/src/DeletedAvatar.js +2 -2
- package/dist/Avatar/src/RichIconAvatarImage.css +38 -38
- package/dist/Avatar/src/RichIconAvatarImage.js +1 -1
- package/dist/Avatar/src/index.css +56 -56
- package/dist/Avatar/src/index.js +6 -6
- package/dist/Badge/src/Badge.css +43 -43
- package/dist/Badge/src/Badge.js +2 -2
- package/dist/Badge/src/FloatingBadge.css +38 -38
- package/dist/Badge/src/FloatingBadge.js +2 -2
- package/dist/Badge/src/index.css +53 -53
- package/dist/Badge/src/index.js +4 -4
- package/dist/Callout/src/Callout.css +1649 -0
- package/dist/Callout/src/Callout.d.ts +38 -0
- package/dist/Callout/src/Callout.js +30 -0
- package/dist/Callout/src/CalloutContext.d.ts +10 -0
- package/dist/Callout/src/CalloutContext.js +2 -0
- package/dist/Callout/src/CompactCallout.css +1750 -0
- package/dist/Callout/src/CompactCallout.d.ts +18 -0
- package/dist/Callout/src/CompactCallout.js +31 -0
- package/dist/Callout/src/CompactCalloutContext.d.ts +11 -0
- package/dist/Callout/src/CompactCalloutContext.js +2 -0
- package/dist/Callout/src/index.css +1835 -0
- package/dist/Callout/src/index.d.ts +9 -0
- package/dist/Callout/src/index.js +33 -0
- package/dist/Card/src/Card.css +31 -31
- package/dist/Card/src/Card.js +1 -1
- package/dist/Card/src/index.css +31 -31
- package/dist/Card/src/index.js +1 -1
- package/dist/ComboBox/src/ComboBox.css +583 -571
- package/dist/ComboBox/src/ComboBox.d.ts +1 -1
- package/dist/ComboBox/src/ComboBox.js +25 -25
- package/dist/ComboBox/src/index.css +583 -571
- package/dist/ComboBox/src/index.js +25 -25
- package/dist/Disclosure/src/Disclosure.css +38 -38
- package/dist/Disclosure/src/Disclosure.js +1 -1
- package/dist/Disclosure/src/DisclosureHeader.css +45 -45
- package/dist/Disclosure/src/DisclosureHeader.js +9 -9
- package/dist/Disclosure/src/DisclosurePanel.css +38 -38
- package/dist/Disclosure/src/DisclosurePanel.js +8 -8
- package/dist/Disclosure/src/index.css +63 -63
- package/dist/Disclosure/src/index.js +12 -12
- package/dist/Divider/src/Divider.css +30 -30
- package/dist/Divider/src/Divider.js +1 -1
- package/dist/Divider/src/index.css +30 -30
- package/dist/Divider/src/index.js +1 -1
- package/dist/ErrorMessage/src/ErrorMessage.css +30 -30
- package/dist/ErrorMessage/src/ErrorMessage.js +2 -2
- package/dist/ErrorMessage/src/index.css +30 -30
- package/dist/ErrorMessage/src/index.js +2 -2
- package/dist/Form/src/Form.css +28 -28
- package/dist/Form/src/Form.js +1 -1
- package/dist/Form/src/index.css +28 -28
- package/dist/Form/src/index.js +1 -1
- package/dist/HelperMessage/src/HelperMessage.css +30 -30
- package/dist/HelperMessage/src/HelperMessage.js +2 -2
- package/dist/HelperMessage/src/index.css +30 -30
- package/dist/HelperMessage/src/index.js +2 -2
- package/dist/IconList/src/IconList.css +29 -29
- package/dist/IconList/src/IconList.js +1 -1
- package/dist/IconList/src/index.css +29 -29
- package/dist/IconList/src/index.js +1 -1
- package/dist/IllustratedMessage/src/IllustratedMessage.css +281 -269
- package/dist/IllustratedMessage/src/IllustratedMessage.js +2 -2
- package/dist/IllustratedMessage/src/index.css +281 -269
- package/dist/IllustratedMessage/src/index.js +2 -2
- package/dist/Image/src/Image.css +31 -31
- package/dist/Image/src/Image.js +1 -1
- package/dist/Image/src/SvgImage.css +29 -29
- package/dist/Image/src/SvgImage.js +1 -1
- package/dist/Image/src/index.css +32 -32
- package/dist/Image/src/index.js +2 -2
- package/dist/Link/src/Link.css +59 -59
- package/dist/Link/src/Link.js +8 -8
- package/dist/Link/src/index.css +59 -59
- package/dist/Link/src/index.js +8 -8
- package/dist/ListBox/src/ListBox.css +275 -275
- package/dist/ListBox/src/ListBox.js +13 -13
- package/dist/ListBox/src/ListBoxItem.css +263 -263
- package/dist/ListBox/src/ListBoxItem.js +11 -11
- package/dist/ListBox/src/ListBoxItemSkeleton.css +35 -35
- package/dist/ListBox/src/ListBoxItemSkeleton.js +1 -1
- package/dist/ListBox/src/index.css +275 -275
- package/dist/ListBox/src/index.js +13 -13
- package/dist/SegmentedControl/src/SegmentedControl.css +29 -29
- package/dist/SegmentedControl/src/SegmentedControl.js +1 -1
- package/dist/SegmentedControl/src/SegmentedControlItem.css +43 -43
- package/dist/SegmentedControl/src/SegmentedControlItem.js +7 -7
- package/dist/SegmentedControl/src/index.css +44 -44
- package/dist/SegmentedControl/src/index.d.ts +2 -0
- package/dist/SegmentedControl/src/index.js +10 -10
- package/dist/Select/src/Select.css +587 -575
- package/dist/Select/src/Select.js +25 -25
- package/dist/Select/src/SelectValue.css +62 -62
- package/dist/Select/src/SelectValue.js +7 -7
- package/dist/Select/src/index.css +587 -575
- package/dist/Select/src/index.js +25 -25
- package/dist/Spinner/src/Spinner.css +38 -38
- package/dist/Spinner/src/Spinner.js +2 -2
- package/dist/Spinner/src/index.css +38 -38
- package/dist/Spinner/src/index.js +2 -2
- package/dist/ToggleArrow/src/ToggleArrow.css +30 -30
- package/dist/ToggleArrow/src/ToggleArrow.js +1 -1
- package/dist/ToggleArrow/src/index.css +30 -30
- package/dist/ToggleArrow/src/index.js +1 -1
- package/dist/buttons/src/Button.css +94 -94
- package/dist/buttons/src/Button.js +10 -10
- package/dist/buttons/src/ButtonGroup.css +39 -39
- package/dist/buttons/src/ButtonGroup.js +1 -1
- package/dist/buttons/src/ClearButton.css +99 -99
- package/dist/buttons/src/ClearButton.js +3 -3
- package/dist/buttons/src/CloseButton.css +679 -0
- package/dist/buttons/src/CloseButton.d.ts +18 -0
- package/dist/buttons/src/CloseButton.js +27 -0
- package/dist/buttons/src/CloseButtonContext.d.ts +13 -0
- package/dist/buttons/src/CloseButtonContext.js +2 -0
- package/dist/buttons/src/EmbeddedButton.css +99 -99
- package/dist/buttons/src/EmbeddedButton.js +1 -1
- package/dist/buttons/src/LinkButton.css +103 -103
- package/dist/buttons/src/LinkButton.js +9 -9
- package/dist/buttons/src/index.css +262 -250
- package/dist/buttons/src/index.d.ts +2 -0
- package/dist/buttons/src/index.js +18 -16
- package/dist/checkbox/src/Checkbox.css +47 -47
- package/dist/checkbox/src/Checkbox.js +8 -8
- package/dist/checkbox/src/CheckboxField.css +34 -34
- package/dist/checkbox/src/CheckboxField.js +3 -3
- package/dist/checkbox/src/CheckboxGroup.css +99 -99
- package/dist/checkbox/src/CheckboxGroup.js +7 -7
- package/dist/checkbox/src/DecorativeCheckbox.css +55 -55
- package/dist/checkbox/src/DecorativeCheckbox.js +8 -8
- package/dist/checkbox/src/index.css +99 -99
- package/dist/checkbox/src/index.js +14 -14
- package/dist/{chunk-OUGECIOS.js → chunk-2DF25AEQ.js} +2 -2
- package/dist/{chunk-YA5VMTPD.js → chunk-2GGER6XM.js} +2 -2
- package/dist/{chunk-X7PEWS4A.js → chunk-2JXEPUMG.js} +1 -1
- package/dist/{chunk-ULU4LXYF.js → chunk-2XVB536Z.js} +7 -7
- package/dist/{chunk-BOOMSDK7.js → chunk-3JJL6GD6.js} +1 -1
- package/dist/{chunk-3HGZNFEQ.js → chunk-4B5NJLD3.js} +1 -1
- package/dist/{chunk-YAK3UMON.js → chunk-4BXMSXYQ.js} +1 -1
- package/dist/{chunk-LPKBOHFG.js → chunk-55OPYST3.js} +2 -2
- package/dist/{chunk-DW26OLDB.js → chunk-5JYQWCE5.js} +5 -5
- package/dist/{chunk-5OS5HF6G.js → chunk-6LIFUQT4.js} +2 -2
- package/dist/{chunk-TFVDF4YH.js → chunk-75DHKNW2.js} +2 -0
- package/dist/{chunk-5CW3ZTUM.js → chunk-7DLSOYOU.js} +3 -3
- package/dist/{chunk-M5Q2CFRQ.js → chunk-7EUXODLY.js} +1 -1
- package/dist/{chunk-XE6JG2MF.js → chunk-7SCKD7PW.js} +2 -2
- package/dist/{chunk-FQHHLFAB.js → chunk-7UNZPFF5.js} +7 -7
- package/dist/{chunk-Q5WT3U7W.js → chunk-BHIQ5PPC.js} +2 -2
- package/dist/{chunk-VUDALBYV.js → chunk-BXPKRAAY.js} +1 -1
- package/dist/{chunk-D4CWHBFC.js → chunk-DOYWH7O2.js} +7 -7
- package/dist/{chunk-LULTNKIP.js → chunk-DW44WR6W.js} +2 -2
- package/dist/{chunk-56QFPH7A.js → chunk-ERIQNISN.js} +1 -1
- package/dist/{chunk-6I4ZCACA.js → chunk-GNPTWYD3.js} +1 -1
- package/dist/chunk-GRCAVJC6.js +7 -0
- package/dist/{chunk-BQZSLU4S.js → chunk-HJXC5SRI.js} +2 -2
- package/dist/{chunk-SUB3BVYD.js → chunk-HMG6U7FQ.js} +1 -1
- package/dist/{chunk-73CBNN4K.js → chunk-HXNEWO5D.js} +8 -8
- package/dist/{chunk-RTB477QF.js → chunk-I73SWVA3.js} +2 -2
- package/dist/{chunk-X7QAJPWB.js → chunk-IIAAY3DD.js} +1 -1
- package/dist/{chunk-E74QE424.js → chunk-IYRRO5H3.js} +2 -2
- package/dist/{chunk-X5H6RCTP.js → chunk-J6RDT7TX.js} +3 -3
- package/dist/{chunk-GK7I65BF.js → chunk-JAR25BBL.js} +2 -2
- package/dist/{chunk-WN3TGQHF.js → chunk-JNJYQ26N.js} +9 -9
- package/dist/{chunk-3AB3J5EP.js → chunk-JUVZRX26.js} +2 -2
- package/dist/{chunk-B22BEVRV.js → chunk-JZ6DMATL.js} +6 -6
- package/dist/{chunk-CPI34H7R.js → chunk-K3IUMMRF.js} +3 -3
- package/dist/{chunk-AZBN2SOE.js → chunk-K7JDZAO3.js} +7 -7
- package/dist/{chunk-NKCDMR4Y.js → chunk-KBHWDMMF.js} +1 -1
- package/dist/{chunk-LLEWW4UQ.js → chunk-KXAYZ6PQ.js} +1 -1
- package/dist/{chunk-BQJA5YLU.js → chunk-LMATFHSS.js} +6 -6
- package/dist/{chunk-MISFLYHH.js → chunk-MF2LIHC6.js} +2 -2
- package/dist/{chunk-OMGZXRVE.js → chunk-MHQ3VHAA.js} +5 -5
- package/dist/{chunk-4WKUWT6B.js → chunk-MIZJXB3R.js} +5 -5
- package/dist/chunk-MO4EWTIM.js +56 -0
- package/dist/{chunk-XQIEHXUJ.js → chunk-MPCOEMN2.js} +3 -3
- package/dist/{chunk-SC6GOFII.js → chunk-N3XC5CZP.js} +2 -2
- package/dist/{chunk-4PZCXSIJ.js → chunk-NFIZ44XF.js} +3 -3
- package/dist/{chunk-KUBUEVXB.js → chunk-NJUYQ7VF.js} +2 -2
- package/dist/chunk-NZ4VFVXA.js +7 -0
- package/dist/{chunk-OUTV4GW4.js → chunk-OCG7CSY5.js} +1 -1
- package/dist/{chunk-EOES5IUI.js → chunk-OIELLCFE.js} +1 -1
- package/dist/{chunk-LUC6XJU7.js → chunk-OQFPMKF2.js} +11 -11
- package/dist/{chunk-P63VMXVG.js → chunk-P5EIKUXO.js} +3 -3
- package/dist/{chunk-C67PNOQX.js → chunk-PHQ6YPQQ.js} +3 -3
- package/dist/chunk-RBWFFWIG.js +7 -0
- package/dist/{chunk-67VFL63C.js → chunk-RYJBYNZT.js} +1 -1
- package/dist/{chunk-YKHKR2GB.js → chunk-SV6RSWOR.js} +4 -4
- package/dist/{chunk-ZLWJJVD3.js → chunk-TZEOP7YF.js} +1 -1
- package/dist/{chunk-QZL7DSHL.js → chunk-UICYQNAO.js} +4 -4
- package/dist/{chunk-ZXHTDMQB.js → chunk-W5HTSWT3.js} +4 -4
- package/dist/{chunk-DCIGY462.js → chunk-WICGT2T5.js} +1 -1
- package/dist/{chunk-OT3SSSAN.js → chunk-WLIPEWRM.js} +1 -1
- package/dist/{chunk-JELBOYLB.js → chunk-WX5UNPM3.js} +1 -1
- package/dist/{chunk-IFQPPUVZ.js → chunk-XLPW4NX3.js} +10 -10
- package/dist/{chunk-5DW5MIOP.js → chunk-Y7ATRH3L.js} +1 -1
- package/dist/{chunk-O2YRPX5E.js → chunk-YQLCOKBQ.js} +2 -2
- package/dist/{chunk-25APP2V4.js → chunk-Z3WDZ52E.js} +1 -1
- package/dist/chunk-ZVNGQXRR.js +79 -0
- package/dist/chunk-ZWDUMUN4.js +118 -0
- package/dist/i18n/src/index.js +1 -1
- package/dist/i18n/src/useLocalizedString.js +1 -1
- package/dist/index.css +1110 -934
- package/dist/index.d.ts +8 -0
- package/dist/index.js +86 -80
- package/dist/inputs/src/InputGroup.css +277 -265
- package/dist/inputs/src/InputGroup.js +1 -1
- package/dist/inputs/src/NumberField.css +299 -287
- package/dist/inputs/src/NumberField.js +11 -11
- package/dist/inputs/src/PasswordField.css +287 -275
- package/dist/inputs/src/PasswordField.js +12 -12
- package/dist/inputs/src/RemainingCharacterCount.css +31 -31
- package/dist/inputs/src/RemainingCharacterCount.js +7 -7
- package/dist/inputs/src/SearchField.css +293 -281
- package/dist/inputs/src/SearchField.js +12 -12
- package/dist/inputs/src/TextArea.css +294 -282
- package/dist/inputs/src/TextArea.js +11 -11
- package/dist/inputs/src/TextField.css +291 -279
- package/dist/inputs/src/TextField.js +14 -14
- package/dist/inputs/src/index.css +337 -325
- package/dist/inputs/src/index.js +19 -19
- package/dist/overlays/Popover/src/Popover.css +563 -551
- package/dist/overlays/Popover/src/Popover.js +10 -10
- package/dist/overlays/Popover/src/index.css +563 -551
- package/dist/overlays/Popover/src/index.js +10 -10
- package/dist/radio/src/DecorativeRadio.css +55 -55
- package/dist/radio/src/DecorativeRadio.js +8 -8
- package/dist/radio/src/Radio.css +47 -47
- package/dist/radio/src/Radio.js +8 -8
- package/dist/radio/src/RadioField.css +34 -34
- package/dist/radio/src/RadioField.js +2 -2
- package/dist/radio/src/RadioGroup.css +99 -99
- package/dist/radio/src/RadioGroup.js +8 -8
- package/dist/radio/src/index.css +99 -99
- package/dist/radio/src/index.js +15 -15
- package/dist/switch/src/Switch.css +44 -44
- package/dist/switch/src/Switch.js +8 -8
- package/dist/switch/src/SwitchField.css +34 -34
- package/dist/switch/src/SwitchField.js +2 -2
- package/dist/switch/src/index.css +50 -50
- package/dist/switch/src/index.js +9 -9
- package/dist/tag/src/Tag.css +403 -391
- package/dist/tag/src/Tag.js +11 -11
- package/dist/tag/src/TagGroup.css +38 -38
- package/dist/tag/src/TagGroup.js +7 -7
- package/dist/tag/src/index.css +413 -401
- package/dist/tag/src/index.js +16 -16
- package/dist/typography/Heading/src/Heading.css +28 -28
- package/dist/typography/Heading/src/Heading.js +1 -1
- package/dist/typography/Heading/src/index.css +28 -28
- package/dist/typography/Heading/src/index.js +1 -1
- package/dist/typography/Label/src/Label.css +28 -28
- package/dist/typography/Label/src/Label.js +3 -3
- package/dist/typography/Label/src/index.css +28 -28
- package/dist/typography/Label/src/index.js +3 -3
- package/dist/typography/OverlineText/src/OverlineText.css +28 -28
- package/dist/typography/OverlineText/src/OverlineText.js +1 -1
- package/dist/typography/OverlineText/src/index.css +28 -28
- package/dist/typography/OverlineText/src/index.js +1 -1
- package/dist/typography/Text/src/Text.css +28 -28
- package/dist/typography/Text/src/Text.js +1 -1
- package/dist/typography/Text/src/index.css +28 -28
- package/dist/typography/Text/src/index.js +1 -1
- package/dist/utils/src/EnsureTextWrapper.css +28 -28
- package/dist/utils/src/EnsureTextWrapper.js +7 -7
- package/dist/utils/src/index.css +28 -28
- package/dist/utils/src/index.js +8 -8
- package/package.json +2 -2
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { isFunction } from './chunk-TIPN4VYD.js';
|
|
2
2
|
import { ListBoxSectionContext } from './chunk-RLDIAT4F.js';
|
|
3
3
|
import { ListBoxContext } from './chunk-UIEP5BA5.js';
|
|
4
|
-
import { _ListBoxItem } from './chunk-
|
|
4
|
+
import { _ListBoxItem } from './chunk-5JYQWCE5.js';
|
|
5
5
|
import { ListBoxItemContext } from './chunk-Y2POLIXK.js';
|
|
6
6
|
import { HeaderContext } from './chunk-7JOGKC3W.js';
|
|
7
|
-
import { useLocalizedString } from './chunk-
|
|
8
|
-
import { _Text } from './chunk-
|
|
7
|
+
import { useLocalizedString } from './chunk-75DHKNW2.js';
|
|
8
|
+
import { _Text } from './chunk-3JJL6GD6.js';
|
|
9
9
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
10
10
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
11
11
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
@@ -18,7 +18,7 @@ import { useContextProps, composeRenderProps, ListBox as ListBox$1, Collection }
|
|
|
18
18
|
import { jsx, jsxs } 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___ukNfM", "hop-ListBox--fluid": "ListBox-module__hop-ListBox--fluid___IfcPu", "hop-ListBox__section": "ListBox-module__hop-ListBox__section___j6NHb", "hop-ListBox__item": "ListBox-module__hop-ListBox__item___0jLwz", "hop-ListBox__section-header": "ListBox-module__hop-ListBox__section-header___6LqU8" };
|
|
22
22
|
var GlobalListBoxCssSelector = "hop-ListBox";
|
|
23
23
|
var GlobalListBoxEmptyItemCssSelector = "hop-ListBox__empty-item";
|
|
24
24
|
var ListBoxToTextSizeAdapter = {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { useSlot } from './chunk-H5YTU3U7.js';
|
|
2
1
|
import { LinkButtonContext } from './chunk-3UQFC2NQ.js';
|
|
2
|
+
import { useSlot } from './chunk-H5YTU3U7.js';
|
|
3
3
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
4
|
-
import { ensureTextWrapper } from './chunk-
|
|
5
|
-
import { useFormProps } from './chunk-
|
|
4
|
+
import { ensureTextWrapper } from './chunk-4BXMSXYQ.js';
|
|
5
|
+
import { useFormProps } from './chunk-7EUXODLY.js';
|
|
6
6
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
7
7
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
8
8
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
@@ -14,7 +14,7 @@ import { useContextProps, composeRenderProps, DEFAULT_SLOT, Link } from 'react-a
|
|
|
14
14
|
import { jsx } from 'react/jsx-runtime';
|
|
15
15
|
|
|
16
16
|
// css-module:./LinkButton.module.css#css-module
|
|
17
|
-
var LinkButton_module_default = { "hop-LinkButton": "LinkButton-module__hop-
|
|
17
|
+
var LinkButton_module_default = { "hop-LinkButton": "LinkButton-module__hop-LinkButton___N0s1M Button-module__hop-Button___XnpzX", "hop-LinkButton--fluid": "LinkButton-module__hop-LinkButton--fluid___jCmDA Button-module__hop-Button--fluid___ZZXwq", "hop-LinkButton--sm": "LinkButton-module__hop-LinkButton--sm___8o1s3 Button-module__hop-Button--sm___6jOD3", "hop-LinkButton--icon-only": "LinkButton-module__hop-LinkButton--icon-only___EtSuw Button-module__hop-Button--icon-only___-VLNH", "hop-LinkButton--primary": "LinkButton-module__hop-LinkButton--primary___XcaN5 Button-module__hop-Button--primary___5doCv", "hop-LinkButton--secondary": "LinkButton-module__hop-LinkButton--secondary___41COB Button-module__hop-Button--secondary___p2tPu", "hop-LinkButton--upsell": "LinkButton-module__hop-LinkButton--upsell___0W6-c Button-module__hop-Button--upsell___pbl2O", "hop-LinkButton--danger": "LinkButton-module__hop-LinkButton--danger___Tngcg Button-module__hop-Button--danger___D4nJ-", "hop-LinkButton--ghost-primary": "LinkButton-module__hop-LinkButton--ghost-primary___I-JA1 Button-module__hop-Button--ghost-primary___WPu49", "hop-LinkButton--ghost-secondary": "LinkButton-module__hop-LinkButton--ghost-secondary___gDQ1B Button-module__hop-Button--ghost-secondary___M0eZA", "hop-LinkButton--ghost-danger": "LinkButton-module__hop-LinkButton--ghost-danger___4sqcD Button-module__hop-Button--ghost-danger___-Mvaw", "hop-LinkButton__Spinner": "LinkButton-module__hop-LinkButton__Spinner___wBN9a Button-module__hop-Button__Spinner___Bhn4b", "hop-LinkButton__icon": "LinkButton-module__hop-LinkButton__icon___5G09q Button-module__hop-Button__icon___ShNZp", "hop-LinkButton__icon-list": "LinkButton-module__hop-LinkButton__icon-list___ELEM2 Button-module__hop-Button__icon___ShNZp", "hop-LinkButton__text": "LinkButton-module__hop-LinkButton__text___gC5VW Button-module__hop-Button__text___iwCeX", "hop-LinkButton__end-icon": "LinkButton-module__hop-LinkButton__end-icon___uFvlC Button-module__hop-Button__end-icon___4hJm7", "hop-LinkButton__end-icon-list": "LinkButton-module__hop-LinkButton__end-icon-list___rCbkA Button-module__hop-Button__end-icon___4hJm7" };
|
|
18
18
|
var GlobalLinkButtonCssSelector = "hop-LinkButton";
|
|
19
19
|
function LinkButton(props, ref) {
|
|
20
20
|
var _a, _b;
|
|
@@ -7,7 +7,7 @@ import { useContextProps, Separator } from 'react-aria-components';
|
|
|
7
7
|
import { jsx } from 'react/jsx-runtime';
|
|
8
8
|
|
|
9
9
|
// css-module:./Divider.module.css#css-module
|
|
10
|
-
var Divider_module_default = { "hop-Divider": "Divider-module__hop-
|
|
10
|
+
var Divider_module_default = { "hop-Divider": "Divider-module__hop-Divider___NJThK", "hop-Divider--vertical": "Divider-module__hop-Divider--vertical___63Bm-" };
|
|
11
11
|
var GlobalDividerCssSelector = "hop-Divider";
|
|
12
12
|
function Divider(props, ref) {
|
|
13
13
|
[props, ref] = useContextProps(props, ref, DividerContext);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _RichIconAvatarImage } from './chunk-
|
|
1
|
+
import { _RichIconAvatarImage } from './chunk-IIAAY3DD.js';
|
|
2
2
|
import { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
3
3
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
4
4
|
import { AvatarContext } from './chunk-AES7QBQE.js';
|
|
@@ -7,7 +7,7 @@ import { useContextProps, Text } from 'react-aria-components';
|
|
|
7
7
|
import { jsx } from 'react/jsx-runtime';
|
|
8
8
|
|
|
9
9
|
// css-module:./OverlineText.module.css#css-module
|
|
10
|
-
var OverlineText_module_default = { "hop-OverlineText": "OverlineText-module__hop-
|
|
10
|
+
var OverlineText_module_default = { "hop-OverlineText": "OverlineText-module__hop-OverlineText___wsazM", "hop-OverlineText__text": "OverlineText-module__hop-OverlineText__text___sBkU7" };
|
|
11
11
|
var GlobalOverlineTextCssSelector = "hop-OverlineText";
|
|
12
12
|
function OverlineText(props, ref) {
|
|
13
13
|
[props, ref] = useContextProps(props, ref, OverlineTextContext);
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { _Popover } from './chunk-
|
|
1
|
+
import { _Popover } from './chunk-SV6RSWOR.js';
|
|
2
2
|
import { _Footer } from './chunk-VOZN65OL.js';
|
|
3
3
|
import { _ListBoxSection } from './chunk-DZJSSJVJ.js';
|
|
4
|
-
import { _ListBox } from './chunk-
|
|
5
|
-
import { _ListBoxItem } from './chunk-
|
|
6
|
-
import { _HelperMessage } from './chunk-
|
|
7
|
-
import { _ErrorMessage } from './chunk-SC6GOFII.js';
|
|
8
|
-
import { _ToggleArrow } from './chunk-EOES5IUI.js';
|
|
9
|
-
import { ensureTextWrapper } from './chunk-YAK3UMON.js';
|
|
10
|
-
import { _Label } from './chunk-C67PNOQX.js';
|
|
11
|
-
import { useFormProps } from './chunk-M5Q2CFRQ.js';
|
|
4
|
+
import { _ListBox } from './chunk-UICYQNAO.js';
|
|
5
|
+
import { _ListBoxItem } from './chunk-5JYQWCE5.js';
|
|
6
|
+
import { _HelperMessage } from './chunk-2DF25AEQ.js';
|
|
12
7
|
import { ComboBoxContext } from './chunk-4XHTP4GX.js';
|
|
8
|
+
import { _ErrorMessage } from './chunk-N3XC5CZP.js';
|
|
9
|
+
import { _ToggleArrow } from './chunk-OIELLCFE.js';
|
|
10
|
+
import { ensureTextWrapper } from './chunk-4BXMSXYQ.js';
|
|
11
|
+
import { _Label } from './chunk-PHQ6YPQQ.js';
|
|
12
|
+
import { useFormProps } from './chunk-7EUXODLY.js';
|
|
13
13
|
import { BadgeContext } from './chunk-CQDLZ42T.js';
|
|
14
14
|
import { TextContext as TextContext$1 } from './chunk-X6SER3TZ.js';
|
|
15
15
|
import { ClearProviders, ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
@@ -24,7 +24,7 @@ import { useContextProps, useSlottedContext, InputContext, composeRenderProps, T
|
|
|
24
24
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
25
25
|
|
|
26
26
|
// css-module:./ComboBox.module.css#css-module
|
|
27
|
-
var ComboBox_module_default = { "hop-ComboBox": "ComboBox-module__hop-
|
|
27
|
+
var ComboBox_module_default = { "hop-ComboBox": "ComboBox-module__hop-ComboBox___qaC5g", "hop-ComboBox--fluid": "ComboBox-module__hop-ComboBox--fluid___pweee", "hop-ComboBox__label": "ComboBox-module__hop-ComboBox__label___1Ef2l", "hop-ComboBox__trigger": "ComboBox-module__hop-ComboBox__trigger___-sd7F", "hop-ComboBox__trigger--sm": "ComboBox-module__hop-ComboBox__trigger--sm___KKZT6", "hop-ComboBox__trigger--md": "ComboBox-module__hop-ComboBox__trigger--md___fZXGk", "hop-ComboBox__input": "ComboBox-module__hop-ComboBox__input___AVYWQ", "hop-ComboBox__button": "ComboBox-module__hop-ComboBox__button___ZWtZo", "hop-ComboBox__prefix": "ComboBox-module__hop-ComboBox__prefix___It-w2", "hop-ComboBox__button-icon": "ComboBox-module__hop-ComboBox__button-icon___Ot2LN", "hop-ComboBox__helper-message": "ComboBox-module__hop-ComboBox__helper-message___ShFaj", "hop-ComboBox__error-message": "ComboBox-module__hop-ComboBox__error-message___OtWuP" };
|
|
28
28
|
var GlobalComboBoxCssSelector = "hop-ComboBox";
|
|
29
29
|
function ComboBox(props, ref) {
|
|
30
30
|
var _a, _b, _c, _d, _e;
|
|
@@ -12,7 +12,7 @@ import { useContextProps, useSlottedContext, composeRenderProps, Disclosure as D
|
|
|
12
12
|
import { jsx } from 'react/jsx-runtime';
|
|
13
13
|
|
|
14
14
|
// css-module:./Disclosure.module.css#css-module
|
|
15
|
-
var Disclosure_module_default = { "hop-Disclosure": "Disclosure-module__hop-
|
|
15
|
+
var Disclosure_module_default = { "hop-Disclosure": "Disclosure-module__hop-Disclosure___xd62m", "hop-Disclosure__header": "Disclosure-module__hop-Disclosure__header___IcBDC", "hop-Disclosure--inline": "Disclosure-module__hop-Disclosure--inline___cUddw", "hop-Disclosure__panel": "Disclosure-module__hop-Disclosure__panel___vagyX" };
|
|
16
16
|
var GlobalDisclosureCssSelector = "hop-Disclosure";
|
|
17
17
|
function Disclosure(props, ref) {
|
|
18
18
|
[props, ref] = useContextProps(props, ref, DisclosureContext);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SwitchContext } from './chunk-YHBJAXUY.js';
|
|
2
2
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
3
|
-
import { ensureTextWrapper } from './chunk-
|
|
3
|
+
import { ensureTextWrapper } from './chunk-4BXMSXYQ.js';
|
|
4
4
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
5
5
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
6
6
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
@@ -13,7 +13,7 @@ import { useContextProps, composeRenderProps, Switch as Switch$1 } from 'react-a
|
|
|
13
13
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
14
14
|
|
|
15
15
|
// css-module:./Switch.module.css#css-module
|
|
16
|
-
var Switch_module_default = { "hop-Switch": "Switch-module__hop-
|
|
16
|
+
var Switch_module_default = { "hop-Switch": "Switch-module__hop-Switch___GFIU2", "hop-Switch--sm": "Switch-module__hop-Switch--sm___7B0z4", "hop-Switch--md": "Switch-module__hop-Switch--md___hUERX", "hop-Switch__indicator": "Switch-module__hop-Switch__indicator___5lhrN", "hop-Switch__text": "Switch-module__hop-Switch__text___tAozH", "hop-Switch__icon-list": "Switch-module__hop-Switch__icon-list___MKfvE", "hop-Switch__icon": "Switch-module__hop-Switch__icon___f2ezJ" };
|
|
17
17
|
var GlobalSwitchCssSelector = "hop-Switch";
|
|
18
18
|
function Switch(props, ref) {
|
|
19
19
|
var _a;
|
|
@@ -7,7 +7,7 @@ import { useContextProps } from 'react-aria-components';
|
|
|
7
7
|
import { jsx } from 'react/jsx-runtime';
|
|
8
8
|
|
|
9
9
|
// css-module:./Card.module.css#css-module
|
|
10
|
-
var Card_module_default = { "hop-Card": "Card-module__hop-
|
|
10
|
+
var Card_module_default = { "hop-Card": "Card-module__hop-Card___se8ow", "hop-Card--main": "Card-module__hop-Card--main___qOkxo", "hop-Card--second-level": "Card-module__hop-Card--second-level___0X6Xj" };
|
|
11
11
|
var GlobalCardCssSelector = "hop-Card";
|
|
12
12
|
var Card = (props, ref) => {
|
|
13
13
|
[props, ref] = useContextProps(props, ref, CardContext);
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { LinkContext } from './chunk-4VVNSXIB.js';
|
|
2
|
+
import { _CloseButton } from './chunk-MO4EWTIM.js';
|
|
3
|
+
import { ContentContext } from './chunk-IXB2WK56.js';
|
|
4
|
+
import { ButtonContext } from './chunk-WMTWFKKP.js';
|
|
5
|
+
import { CompactCalloutContext } from './chunk-GRCAVJC6.js';
|
|
6
|
+
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
7
|
+
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
8
|
+
import { useStyledSystem } from '@hopper-ui/styled-system';
|
|
9
|
+
import clsx from 'clsx';
|
|
10
|
+
import { forwardRef } from 'react';
|
|
11
|
+
import { useContextProps } from 'react-aria-components';
|
|
12
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
13
|
+
|
|
14
|
+
// css-module:./CompactCallout.module.css#css-module
|
|
15
|
+
var CompactCallout_module_default = { "hop-CompactCallout": "CompactCallout-module__hop-CompactCallout___SuehB", "hop-CompactCallout__content": "CompactCallout-module__hop-CompactCallout__content___rlTuS", "hop-CompactCallout__button": "CompactCallout-module__hop-CompactCallout__button___SgDZL", "hop-CompactCallout__link": "CompactCallout-module__hop-CompactCallout__link___lyNd-", "hop-CompactCallout__dismiss": "CompactCallout-module__hop-CompactCallout__dismiss___ReMTE", "hop-CompactCallout--information": "CompactCallout-module__hop-CompactCallout--information___UjtVj", "hop-CompactCallout--success": "CompactCallout-module__hop-CompactCallout--success___NSjQc", "hop-CompactCallout--warning": "CompactCallout-module__hop-CompactCallout--warning___mvu2J", "hop-CompactCallout--upsell": "CompactCallout-module__hop-CompactCallout--upsell___ttOO6", "hop-CompactCallout--subtle-fill": "CompactCallout-module__hop-CompactCallout--subtle-fill___aC3g8" };
|
|
16
|
+
var GlobalCompactCalloutCssSelector = "hop-CompactCallout";
|
|
17
|
+
var CompactCallout = (props, ref) => {
|
|
18
|
+
[props, ref] = useContextProps(props, ref, CompactCalloutContext);
|
|
19
|
+
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
20
|
+
const {
|
|
21
|
+
className,
|
|
22
|
+
children,
|
|
23
|
+
style,
|
|
24
|
+
slot,
|
|
25
|
+
onClose,
|
|
26
|
+
fillStyle = "border",
|
|
27
|
+
variant = "information",
|
|
28
|
+
...otherProps
|
|
29
|
+
} = ownProps;
|
|
30
|
+
const classNames = clsx(
|
|
31
|
+
GlobalCompactCalloutCssSelector,
|
|
32
|
+
cssModule(
|
|
33
|
+
CompactCallout_module_default,
|
|
34
|
+
"hop-CompactCallout",
|
|
35
|
+
variant,
|
|
36
|
+
fillStyle === "subtleFill" && "subtle-fill"
|
|
37
|
+
),
|
|
38
|
+
stylingProps.className,
|
|
39
|
+
className
|
|
40
|
+
);
|
|
41
|
+
const mergedStyles = {
|
|
42
|
+
...style,
|
|
43
|
+
...stylingProps.style
|
|
44
|
+
};
|
|
45
|
+
return /* @__PURE__ */ jsx(
|
|
46
|
+
"div",
|
|
47
|
+
{
|
|
48
|
+
ref,
|
|
49
|
+
className: classNames,
|
|
50
|
+
style: mergedStyles,
|
|
51
|
+
slot: slot != null ? slot : void 0,
|
|
52
|
+
...otherProps,
|
|
53
|
+
children: /* @__PURE__ */ jsxs(
|
|
54
|
+
SlotProvider,
|
|
55
|
+
{
|
|
56
|
+
values: [
|
|
57
|
+
[ContentContext, {
|
|
58
|
+
className: CompactCallout_module_default["hop-CompactCallout__content"]
|
|
59
|
+
}],
|
|
60
|
+
[ButtonContext, {
|
|
61
|
+
className: CompactCallout_module_default["hop-CompactCallout__button"]
|
|
62
|
+
}],
|
|
63
|
+
[LinkContext, {
|
|
64
|
+
className: CompactCallout_module_default["hop-CompactCallout__link"]
|
|
65
|
+
}]
|
|
66
|
+
],
|
|
67
|
+
children: [
|
|
68
|
+
children,
|
|
69
|
+
onClose && /* @__PURE__ */ jsx(_CloseButton, { className: CompactCallout_module_default["hop-CompactCallout__dismiss"], onPress: onClose })
|
|
70
|
+
]
|
|
71
|
+
}
|
|
72
|
+
)
|
|
73
|
+
}
|
|
74
|
+
);
|
|
75
|
+
};
|
|
76
|
+
var _CompactCallout = forwardRef(CompactCallout);
|
|
77
|
+
_CompactCallout.displayName = "CompactCallout";
|
|
78
|
+
|
|
79
|
+
export { GlobalCompactCalloutCssSelector, _CompactCallout };
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { CalloutContext } from './chunk-NZ4VFVXA.js';
|
|
2
|
+
import { _CloseButton } from './chunk-MO4EWTIM.js';
|
|
3
|
+
import { useSlot } from './chunk-H5YTU3U7.js';
|
|
4
|
+
import { ContentContext } from './chunk-IXB2WK56.js';
|
|
5
|
+
import { ButtonContext } from './chunk-WMTWFKKP.js';
|
|
6
|
+
import { HeadingContext } from './chunk-TXZ6BMFR.js';
|
|
7
|
+
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
8
|
+
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
9
|
+
import { InfoRichIcon, UpsellRichIcon, SuccessRichIcon, CautionRichIcon, RichIconContext } from '@hopper-ui/icons';
|
|
10
|
+
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
11
|
+
import clsx from 'clsx';
|
|
12
|
+
import { forwardRef, useMemo } from 'react';
|
|
13
|
+
import { useContextProps } from 'react-aria-components';
|
|
14
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
15
|
+
|
|
16
|
+
// css-module:./Callout.module.css#css-module
|
|
17
|
+
var Callout_module_default = { "hop-Callout": "Callout-module__hop-Callout___5V-kw", "hop-Callout__icon": "Callout-module__hop-Callout__icon___R-gXO", "hop-Callout__heading": "Callout-module__hop-Callout__heading___rteqk", "hop-Callout__content": "Callout-module__hop-Callout__content___qOMja", "hop-Callout__button": "Callout-module__hop-Callout__button___TwGMl", "hop-Callout__dismiss": "Callout-module__hop-Callout__dismiss___Rkd1z", "hop-Callout--information": "Callout-module__hop-Callout--information___d955B", "hop-Callout--success": "Callout-module__hop-Callout--success___BaKhq", "hop-Callout--warning": "Callout-module__hop-Callout--warning___BTHIn", "hop-Callout--upsell": "Callout-module__hop-Callout--upsell___QM-s4", "hop-Callout--subtle-fill": "Callout-module__hop-Callout--subtle-fill___oKHzb" };
|
|
18
|
+
var GlobalCalloutCssSelector = "hop-Callout";
|
|
19
|
+
var Callout = (props, ref) => {
|
|
20
|
+
[props, ref] = useContextProps(props, ref, CalloutContext);
|
|
21
|
+
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
22
|
+
const {
|
|
23
|
+
className,
|
|
24
|
+
children,
|
|
25
|
+
style,
|
|
26
|
+
slot,
|
|
27
|
+
hideIcon: hideIconProp,
|
|
28
|
+
onClose,
|
|
29
|
+
fillStyle = "border",
|
|
30
|
+
variant = "information",
|
|
31
|
+
...otherProps
|
|
32
|
+
} = ownProps;
|
|
33
|
+
const hideIcon = useResponsiveValue(hideIconProp);
|
|
34
|
+
const [iconRef, hasIcon] = useSlot();
|
|
35
|
+
const classNames = clsx(
|
|
36
|
+
GlobalCalloutCssSelector,
|
|
37
|
+
cssModule(
|
|
38
|
+
Callout_module_default,
|
|
39
|
+
"hop-Callout",
|
|
40
|
+
variant,
|
|
41
|
+
fillStyle === "subtleFill" && "subtle-fill"
|
|
42
|
+
),
|
|
43
|
+
stylingProps.className,
|
|
44
|
+
className
|
|
45
|
+
);
|
|
46
|
+
const mergedStyles = {
|
|
47
|
+
...style,
|
|
48
|
+
...stylingProps.style
|
|
49
|
+
};
|
|
50
|
+
const icon = useMemo(() => {
|
|
51
|
+
if (hideIcon) {
|
|
52
|
+
return null;
|
|
53
|
+
}
|
|
54
|
+
switch (variant) {
|
|
55
|
+
case "warning":
|
|
56
|
+
return /* @__PURE__ */ jsx(CautionRichIcon, {});
|
|
57
|
+
case "success":
|
|
58
|
+
return /* @__PURE__ */ jsx(SuccessRichIcon, {});
|
|
59
|
+
case "upsell":
|
|
60
|
+
return /* @__PURE__ */ jsx(UpsellRichIcon, {});
|
|
61
|
+
default:
|
|
62
|
+
return /* @__PURE__ */ jsx(InfoRichIcon, {});
|
|
63
|
+
}
|
|
64
|
+
}, [hideIcon, variant]);
|
|
65
|
+
return /* @__PURE__ */ jsx(
|
|
66
|
+
"div",
|
|
67
|
+
{
|
|
68
|
+
ref,
|
|
69
|
+
className: classNames,
|
|
70
|
+
style: mergedStyles,
|
|
71
|
+
slot: slot != null ? slot : void 0,
|
|
72
|
+
...otherProps,
|
|
73
|
+
children: /* @__PURE__ */ jsxs(
|
|
74
|
+
SlotProvider,
|
|
75
|
+
{
|
|
76
|
+
values: [
|
|
77
|
+
[HeadingContext, {
|
|
78
|
+
className: Callout_module_default["hop-Callout__heading"]
|
|
79
|
+
}],
|
|
80
|
+
[ContentContext, {
|
|
81
|
+
className: Callout_module_default["hop-Callout__content"]
|
|
82
|
+
}],
|
|
83
|
+
[ButtonContext, {
|
|
84
|
+
className: Callout_module_default["hop-Callout__button"]
|
|
85
|
+
}],
|
|
86
|
+
[RichIconContext, {
|
|
87
|
+
className: Callout_module_default["hop-Callout__icon"],
|
|
88
|
+
variant,
|
|
89
|
+
size: "xl"
|
|
90
|
+
}]
|
|
91
|
+
],
|
|
92
|
+
children: [
|
|
93
|
+
!hasIcon && icon,
|
|
94
|
+
/* @__PURE__ */ jsx(
|
|
95
|
+
SlotProvider,
|
|
96
|
+
{
|
|
97
|
+
values: [
|
|
98
|
+
[RichIconContext, {
|
|
99
|
+
className: Callout_module_default["hop-Callout__icon"],
|
|
100
|
+
variant,
|
|
101
|
+
size: "xl",
|
|
102
|
+
ref: iconRef
|
|
103
|
+
}]
|
|
104
|
+
],
|
|
105
|
+
children
|
|
106
|
+
}
|
|
107
|
+
),
|
|
108
|
+
onClose && /* @__PURE__ */ jsx(_CloseButton, { size: "sm", className: Callout_module_default["hop-Callout__dismiss"], onPress: onClose })
|
|
109
|
+
]
|
|
110
|
+
}
|
|
111
|
+
)
|
|
112
|
+
}
|
|
113
|
+
);
|
|
114
|
+
};
|
|
115
|
+
var _Callout = forwardRef(Callout);
|
|
116
|
+
_Callout.displayName = "Callout";
|
|
117
|
+
|
|
118
|
+
export { GlobalCalloutCssSelector, _Callout };
|
package/dist/i18n/src/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { useLocalizedString } from '../../chunk-
|
|
1
|
+
export { useLocalizedString } from '../../chunk-75DHKNW2.js';
|
|
2
2
|
import '../../chunk-JSBRDJBE.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { useLocalizedString } from '../../chunk-
|
|
1
|
+
export { useLocalizedString } from '../../chunk-75DHKNW2.js';
|
|
2
2
|
import '../../chunk-JSBRDJBE.js';
|