@hopper-ui/components 1.3.29 → 1.3.31
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 +12 -0
- package/dist/Avatar/src/AnonymousAvatar.css +37 -37
- package/dist/Avatar/src/AnonymousAvatar.js +2 -2
- package/dist/Avatar/src/Avatar.css +55 -55
- package/dist/Avatar/src/Avatar.js +3 -3
- package/dist/Avatar/src/DeletedAvatar.css +37 -37
- package/dist/Avatar/src/DeletedAvatar.js +2 -2
- package/dist/Avatar/src/RichIconAvatarImage.css +37 -37
- package/dist/Avatar/src/RichIconAvatarImage.js +1 -1
- package/dist/Avatar/src/index.css +55 -55
- package/dist/Avatar/src/index.js +5 -5
- package/dist/Badge/src/Badge.css +42 -42
- package/dist/Badge/src/Badge.js +2 -2
- package/dist/Badge/src/FloatingBadge.css +37 -37
- package/dist/Badge/src/FloatingBadge.js +1 -1
- package/dist/Badge/src/index.css +52 -52
- package/dist/Badge/src/index.js +3 -3
- package/dist/ComboBox/src/ComboBox.css +562 -2120
- package/dist/ComboBox/src/ComboBox.js +27 -98
- package/dist/ComboBox/src/index.css +562 -2120
- package/dist/ComboBox/src/index.js +27 -98
- package/dist/Divider/src/Divider.css +29 -29
- package/dist/Divider/src/Divider.js +1 -1
- package/dist/Divider/src/index.css +29 -29
- package/dist/Divider/src/index.js +1 -1
- package/dist/ErrorMessage/src/ErrorMessage.css +29 -29
- package/dist/ErrorMessage/src/ErrorMessage.js +2 -2
- package/dist/ErrorMessage/src/index.css +29 -29
- package/dist/ErrorMessage/src/index.js +2 -2
- package/dist/Form/src/Form.css +1593 -1836
- package/dist/Form/src/Form.js +9 -100
- package/dist/Form/src/index.css +1593 -1836
- package/dist/Form/src/index.js +9 -100
- package/dist/Header/src/Header.js +1 -1
- package/dist/Header/src/index.js +1 -1
- package/dist/HelperMessage/src/HelperMessage.css +29 -29
- package/dist/HelperMessage/src/HelperMessage.js +2 -2
- package/dist/HelperMessage/src/index.css +29 -29
- package/dist/HelperMessage/src/index.js +2 -2
- package/dist/IconList/src/IconList.css +28 -28
- package/dist/IconList/src/IconList.js +1 -1
- package/dist/IconList/src/index.css +28 -28
- package/dist/IconList/src/index.js +1 -1
- package/dist/Link/src/Link.css +49 -49
- package/dist/Link/src/Link.js +9 -9
- package/dist/Link/src/index.css +49 -49
- package/dist/Link/src/index.js +9 -9
- package/dist/ListBox/src/ListBox.css +274 -274
- package/dist/ListBox/src/ListBox.js +15 -15
- package/dist/ListBox/src/ListBoxItem.css +262 -262
- package/dist/ListBox/src/ListBoxItem.js +12 -12
- package/dist/ListBox/src/ListBoxItemSkeleton.css +34 -34
- package/dist/ListBox/src/ListBoxItemSkeleton.js +1 -1
- package/dist/ListBox/src/index.css +274 -274
- package/dist/ListBox/src/index.js +15 -15
- package/dist/Section/src/Section.js +1 -1
- package/dist/Section/src/index.js +1 -1
- package/dist/Select/src/Select.css +597 -2154
- package/dist/Select/src/Select.js +29 -98
- package/dist/Select/src/SelectValue.css +61 -61
- package/dist/Select/src/SelectValue.js +6 -6
- package/dist/Select/src/index.css +566 -2123
- package/dist/Select/src/index.d.ts +1 -1
- package/dist/Select/src/index.js +29 -98
- package/dist/Spinner/src/Spinner.css +37 -37
- package/dist/Spinner/src/Spinner.js +2 -2
- package/dist/Spinner/src/index.css +37 -37
- package/dist/Spinner/src/index.js +2 -2
- package/dist/buttons/src/Button.css +93 -93
- package/dist/buttons/src/Button.js +10 -10
- package/dist/buttons/src/ButtonGroup.css +38 -38
- package/dist/buttons/src/ButtonGroup.js +2 -2
- package/dist/buttons/src/ClearButton.css +98 -98
- package/dist/buttons/src/ClearButton.js +2 -2
- package/dist/buttons/src/EmbeddedButton.css +98 -98
- package/dist/buttons/src/EmbeddedButton.js +1 -1
- package/dist/buttons/src/LinkButton.css +102 -102
- package/dist/buttons/src/LinkButton.js +9 -9
- package/dist/buttons/src/index.css +249 -249
- package/dist/buttons/src/index.js +16 -16
- package/dist/checkbox/src/Checkbox.css +46 -46
- package/dist/checkbox/src/Checkbox.js +9 -9
- package/dist/checkbox/src/CheckboxField.css +33 -33
- package/dist/checkbox/src/CheckboxField.js +2 -2
- package/dist/checkbox/src/CheckboxGroup.css +98 -98
- package/dist/checkbox/src/CheckboxGroup.js +7 -7
- package/dist/checkbox/src/DecorativeCheckbox.css +54 -54
- package/dist/checkbox/src/DecorativeCheckbox.js +9 -9
- package/dist/checkbox/src/index.css +98 -98
- package/dist/checkbox/src/index.js +16 -16
- package/dist/{chunk-WGUL4DLP.js → chunk-2BHWYRFT.js} +25 -16
- package/dist/{chunk-DDWHMWT4.js → chunk-3EAPRTHU.js} +3 -3
- package/dist/{chunk-ZGAVEQ6Z.js → chunk-3VKQHRO5.js} +1 -1
- package/dist/{chunk-HTVLKROB.js → chunk-54IRJS4J.js} +7 -7
- package/dist/{chunk-2JUAYCAW.js → chunk-5SVPP6YF.js} +2 -2
- package/dist/{chunk-A3FVUHZK.js → chunk-6JPZEUJU.js} +6 -6
- package/dist/{chunk-Y53KJZVH.js → chunk-A7B5XEGW.js} +2 -2
- package/dist/{chunk-C4DKKNFV.js → chunk-BOP2AQLT.js} +3 -3
- package/dist/{chunk-HGWUIHSZ.js → chunk-BWFO6U3N.js} +4 -4
- package/dist/{chunk-B3L5GVQQ.js → chunk-CMYS5I7X.js} +9 -9
- package/dist/{chunk-EZQXMQMG.js → chunk-D22VY376.js} +1 -1
- package/dist/{chunk-52Q76EYC.js → chunk-DOSDN7OK.js} +2 -2
- package/dist/{chunk-QHNS6W5L.js → chunk-EAJI2HCK.js} +5 -5
- package/dist/{chunk-JNUJ4XAF.js → chunk-EITAKLZD.js} +2 -2
- package/dist/{chunk-CTQTQCMW.js → chunk-EKVGUBEE.js} +7 -7
- package/dist/{chunk-V4J7N5T7.js → chunk-FSKZ7UXH.js} +3 -3
- package/dist/{chunk-SFPBA2LI.js → chunk-GKKKRGGI.js} +2 -2
- package/dist/{chunk-O7LE5ORE.js → chunk-HKX473KB.js} +2 -2
- package/dist/chunk-INOHCKSX.js +153 -0
- package/dist/{chunk-2D3WTT4F.js → chunk-J4LFCG4M.js} +2 -2
- package/dist/{chunk-OIOEDYKJ.js → chunk-L2M5I353.js} +5 -5
- package/dist/{chunk-4XH37NSN.js → chunk-L4IQU6BF.js} +3 -3
- package/dist/{chunk-IXHZNQQT.js → chunk-L4WMZWNS.js} +2 -2
- package/dist/{chunk-RXSNCXOG.js → chunk-NIDJ3QD5.js} +2 -2
- package/dist/chunk-NWEIQERE.js +205 -0
- package/dist/{chunk-HLOAIKAY.js → chunk-PGX7B5ZI.js} +6 -6
- package/dist/{chunk-2EDBKSMF.js → chunk-Q37IPST6.js} +4 -4
- package/dist/{chunk-6F5PD4QJ.js → chunk-QKCG7UMP.js} +3 -3
- package/dist/{chunk-AWNR3HP2.js → chunk-QODWUIKG.js} +5 -5
- package/dist/{chunk-WCATDV4V.js → chunk-QTWASRAE.js} +4 -4
- package/dist/{chunk-IPPTCHXV.js → chunk-QWGXDJ44.js} +4 -4
- package/dist/{chunk-QBWAS3LL.js → chunk-SP7QWHJU.js} +6 -6
- package/dist/{chunk-D7DYIGB6.js → chunk-TGWCRZOA.js} +2 -2
- package/dist/{chunk-JSSDXVT4.js → chunk-TTPSVCRY.js} +2 -2
- package/dist/{chunk-MKPL3BD2.js → chunk-UCJZEAB5.js} +2 -2
- package/dist/{chunk-MEI4QX7N.js → chunk-UFMEUTKK.js} +3 -3
- package/dist/{chunk-RGAY6AIY.js → chunk-UXDJGWHZ.js} +4 -4
- package/dist/{chunk-3PAK2K3N.js → chunk-UYEVWTDS.js} +1 -1
- package/dist/{chunk-2LQCFPLD.js → chunk-VMAP5OXR.js} +2 -2
- package/dist/{chunk-O2KXTY5Q.js → chunk-WRIA2DOV.js} +2 -2
- package/dist/{chunk-KXA4USPW.js → chunk-XGKMW4MG.js} +2 -2
- package/dist/{chunk-CP4LPO2K.js → chunk-Y2L7FXEE.js} +2 -2
- package/dist/{chunk-OUDP4L2B.js → chunk-YC5BBTPZ.js} +3 -3
- package/dist/chunk-YEN2Y62H.js +159 -0
- package/dist/{chunk-CL7I5YAI.js → chunk-YEZAILOI.js} +1 -1
- package/dist/{chunk-MCZAPH5T.js → chunk-YMDTCHEW.js} +2 -2
- package/dist/{chunk-I55KU3GU.js → chunk-Z75MF65T.js} +1 -1
- package/dist/{chunk-SWDZJM3I.js → chunk-ZM4AHBEK.js} +6 -6
- package/dist/chunk-ZUWVOUBT.js +270 -0
- package/dist/index.css +1001 -996
- package/dist/index.d.ts +2 -2
- package/dist/index.js +85 -79
- package/dist/inputs/src/InputGroup.css +264 -264
- package/dist/inputs/src/InputGroup.js +1 -1
- package/dist/inputs/src/NumberField.css +286 -286
- package/dist/inputs/src/NumberField.js +13 -13
- package/dist/inputs/src/PasswordField.css +274 -274
- package/dist/inputs/src/PasswordField.js +13 -13
- package/dist/inputs/src/RemainingCharacterCount.css +30 -30
- package/dist/inputs/src/RemainingCharacterCount.js +6 -6
- package/dist/inputs/src/SearchField.css +280 -280
- package/dist/inputs/src/SearchField.js +14 -14
- package/dist/inputs/src/TextArea.css +281 -281
- package/dist/inputs/src/TextArea.js +13 -13
- package/dist/inputs/src/TextField.css +278 -278
- package/dist/inputs/src/TextField.js +16 -16
- package/dist/inputs/src/index.css +324 -324
- package/dist/inputs/src/index.js +24 -24
- package/dist/layout/src/Content.js +1 -1
- package/dist/layout/src/Footer.js +1 -1
- package/dist/overlays/Popover/src/Popover.css +2150 -3870
- package/dist/overlays/Popover/src/Popover.d.ts +1 -1
- package/dist/overlays/Popover/src/Popover.js +10 -105
- package/dist/overlays/Popover/src/PopoverContext.d.ts +1 -1
- package/dist/overlays/Popover/src/index.css +2150 -3870
- package/dist/overlays/Popover/src/index.d.ts +1 -1
- package/dist/overlays/Popover/src/index.js +11 -105
- package/dist/radio/src/DecorativeRadio.css +54 -54
- package/dist/radio/src/DecorativeRadio.js +8 -8
- package/dist/radio/src/Radio.css +46 -46
- package/dist/radio/src/Radio.js +8 -8
- package/dist/radio/src/RadioField.css +33 -33
- package/dist/radio/src/RadioField.js +2 -2
- package/dist/radio/src/RadioGroup.css +98 -98
- package/dist/radio/src/RadioGroup.js +8 -8
- package/dist/radio/src/index.css +98 -98
- package/dist/radio/src/index.js +16 -16
- package/dist/switch/src/Switch.css +43 -43
- package/dist/switch/src/Switch.js +8 -8
- package/dist/switch/src/SwitchField.css +33 -33
- package/dist/switch/src/SwitchField.d.ts +8 -3
- package/dist/switch/src/SwitchField.js +3 -1
- package/dist/switch/src/index.css +49 -49
- package/dist/switch/src/index.js +9 -9
- package/dist/tag/src/Tag.css +390 -390
- package/dist/tag/src/Tag.js +11 -11
- package/dist/tag/src/TagGroup.css +37 -37
- package/dist/tag/src/TagGroup.js +3 -3
- package/dist/tag/src/TagList.css +27 -27
- package/dist/tag/src/TagList.js +1 -1
- package/dist/tag/src/index.css +400 -400
- package/dist/tag/src/index.js +16 -16
- package/dist/typography/Heading/src/Heading.css +27 -27
- package/dist/typography/Heading/src/Heading.js +1 -1
- package/dist/typography/Heading/src/index.css +27 -27
- package/dist/typography/Heading/src/index.js +1 -1
- package/dist/typography/Label/src/Label.css +27 -27
- package/dist/typography/Label/src/Label.js +1 -1
- package/dist/typography/Label/src/index.css +27 -27
- package/dist/typography/Label/src/index.js +1 -1
- package/dist/typography/OverlineText/src/OverlineText.css +27 -27
- package/dist/typography/OverlineText/src/OverlineText.js +1 -1
- package/dist/typography/OverlineText/src/index.css +27 -27
- package/dist/typography/OverlineText/src/index.js +1 -1
- package/dist/typography/Text/src/Text.css +27 -27
- package/dist/typography/Text/src/Text.js +1 -1
- package/dist/typography/Text/src/index.css +27 -27
- package/dist/typography/Text/src/index.js +1 -1
- package/dist/utils/src/EnsureTextWrapper.css +27 -27
- package/dist/utils/src/EnsureTextWrapper.js +6 -6
- package/dist/utils/src/index.css +27 -27
- package/dist/utils/src/index.js +6 -6
- package/package.json +2 -1
- package/dist/chunk-6IQRHHKW.js +0 -1155
- package/dist/{chunk-LJXTJRSB.js → chunk-DBIN32YS.js} +0 -0
- package/dist/{chunk-O5PTD6IN.js → chunk-NLZXVLBW.js} +1 -1
- package/dist/{chunk-WWRB4K4M.js → chunk-TPVDUGOO.js} +1 -1
- package/dist/{chunk-GTM56LGX.js → chunk-VOZN65OL.js} +1 -1
- package/dist/{chunk-N5UT7MST.js → chunk-WPJCS7L2.js} +1 -1
- package/dist/{chunk-DPC3Y6Y2.js → chunk-ZJKGATZR.js} +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ensureTextWrapper } from './chunk-CL7I5YAI.js';
|
|
1
|
+
import { ensureTextWrapper } from './chunk-YEZAILOI.js';
|
|
3
2
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
3
|
+
import { CheckboxContext } from './chunk-2EAZPH3M.js';
|
|
4
4
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
5
5
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
6
6
|
import { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
@@ -15,7 +15,7 @@ import { useContextProps, composeRenderProps } from 'react-aria-components';
|
|
|
15
15
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
16
16
|
|
|
17
17
|
// css-module:./DecorativeCheckbox.module.css#css-module
|
|
18
|
-
var DecorativeCheckbox_module_default = { "hop-DecorativeCheckbox": "DecorativeCheckbox-module__hop-
|
|
18
|
+
var DecorativeCheckbox_module_default = { "hop-DecorativeCheckbox": "DecorativeCheckbox-module__hop-DecorativeCheckbox___MHxEI Checkbox-module__hop-Checkbox___J32Yn", "hop-DecorativeCheckbox--sm": "DecorativeCheckbox-module__hop-DecorativeCheckbox--sm___67Tun Checkbox-module__hop-Checkbox--sm___7Lq9Q", "hop-DecorativeCheckbox--md": "DecorativeCheckbox-module__hop-DecorativeCheckbox--md___apMHK Checkbox-module__hop-Checkbox--md___bD05V", "hop-DecorativeCheckbox__icon": "DecorativeCheckbox-module__hop-DecorativeCheckbox__icon___fqa3R Checkbox-module__hop-Checkbox__icon___8893o", "hop-DecorativeCheckbox__icon-list": "DecorativeCheckbox-module__hop-DecorativeCheckbox__icon-list___E--Lu Checkbox-module__hop-Checkbox__icon___8893o", "hop-DecorativeCheckbox__box": "DecorativeCheckbox-module__hop-DecorativeCheckbox__box___1Pxf1 Checkbox-module__hop-Checkbox__box___syekA", "hop-DecorativeCheckbox__check": "DecorativeCheckbox-module__hop-DecorativeCheckbox__check___gugIm Checkbox-module__hop-Checkbox__check___ymFxT", "hop-DecorativeCheckbox__text": "DecorativeCheckbox-module__hop-DecorativeCheckbox__text___fCaez Checkbox-module__hop-Checkbox__text___-iCGJ" };
|
|
19
19
|
var GlobalDecorativeCheckboxCssSelector = "hop-DecorativeCheckbox";
|
|
20
20
|
function DecorativeCheckbox(props, ref) {
|
|
21
21
|
var _a;
|
|
@@ -82,7 +82,6 @@ function DecorativeCheckbox(props, ref) {
|
|
|
82
82
|
return /* @__PURE__ */ jsxs(
|
|
83
83
|
"div",
|
|
84
84
|
{
|
|
85
|
-
...mergeProps(otherProps, renderProps),
|
|
86
85
|
ref,
|
|
87
86
|
slot: slot || void 0,
|
|
88
87
|
"data-selected": isSelected || void 0,
|
|
@@ -94,6 +93,7 @@ function DecorativeCheckbox(props, ref) {
|
|
|
94
93
|
"data-readonly": isReadOnly || void 0,
|
|
95
94
|
"data-invalid": isInvalid || void 0,
|
|
96
95
|
"data-required": isRequired || void 0,
|
|
96
|
+
...mergeProps(renderProps, otherProps),
|
|
97
97
|
children: [
|
|
98
98
|
/* @__PURE__ */ jsx("div", { className: DecorativeCheckbox_module_default["hop-DecorativeCheckbox__box"], children: icon }),
|
|
99
99
|
/* @__PURE__ */ jsx(ClearContainerSlots, { children: /* @__PURE__ */ jsx(
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { _DecorativeRadio } from './chunk-
|
|
2
|
-
import { _DecorativeCheckbox } from './chunk-
|
|
1
|
+
import { _DecorativeRadio } from './chunk-BOP2AQLT.js';
|
|
2
|
+
import { _DecorativeCheckbox } from './chunk-QWGXDJ44.js';
|
|
3
3
|
import { ListBoxItemContext } from './chunk-Y2POLIXK.js';
|
|
4
|
-
import { _ListBoxItemSkeleton } from './chunk-
|
|
5
|
-
import { ensureTextWrapper } from './chunk-
|
|
4
|
+
import { _ListBoxItemSkeleton } from './chunk-FSKZ7UXH.js';
|
|
5
|
+
import { ensureTextWrapper } from './chunk-YEZAILOI.js';
|
|
6
6
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
7
7
|
import { BadgeContext } from './chunk-CQDLZ42T.js';
|
|
8
8
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
@@ -18,7 +18,7 @@ import { useContextProps, composeRenderProps, ListBoxItem as ListBoxItem$1, List
|
|
|
18
18
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
19
19
|
|
|
20
20
|
// css-module:./ListBoxItem.module.css#css-module
|
|
21
|
-
var ListBoxItem_module_default = { "hop-ListBoxItem": "ListBoxItem-module__hop-
|
|
21
|
+
var ListBoxItem_module_default = { "hop-ListBoxItem": "ListBoxItem-module__hop-ListBoxItem___jr1Ak", "hop-ListBoxItem--xs": "ListBoxItem-module__hop-ListBoxItem--xs___OknpH", "hop-ListBoxItem--sm": "ListBoxItem-module__hop-ListBoxItem--sm___N3L-W", "hop-ListBoxItem--md": "ListBoxItem-module__hop-ListBoxItem--md___ENB--", "hop-ListBoxItem--lg": "ListBoxItem-module__hop-ListBoxItem--lg___lMm-L", "hop-ListBoxItem__inner": "ListBoxItem-module__hop-ListBoxItem__inner___MJr8c", "hop-ListBoxItem__checkmark": "ListBoxItem-module__hop-ListBoxItem__checkmark___zkTgo", "hop-ListBoxItem__description": "ListBoxItem-module__hop-ListBoxItem__description___SJRF2", "hop-ListBoxItem__radio": "ListBoxItem-module__hop-ListBoxItem__radio___JXeoU", "hop-ListBoxItem__checkbox": "ListBoxItem-module__hop-ListBoxItem__checkbox___ro6ox", "hop-ListBoxItem__avatar": "ListBoxItem-module__hop-ListBoxItem__avatar___zz0kW", "hop-ListBoxItem__icon-list": "ListBoxItem-module__hop-ListBoxItem__icon-list___HWhkA", "hop-ListBoxItem__icon": "ListBoxItem-module__hop-ListBoxItem__icon___y8oyC", "hop-ListBoxItem__label": "ListBoxItem-module__hop-ListBoxItem__label___y1p8c", "hop-ListBoxItem__end-icon-list": "ListBoxItem-module__hop-ListBoxItem__end-icon-list___mpLMl", "hop-ListBoxItem__end-icon": "ListBoxItem-module__hop-ListBoxItem__end-icon___Ojl-r", "hop-ListBoxItem__badge": "ListBoxItem-module__hop-ListBoxItem__badge___5Rh4d" };
|
|
22
22
|
var GlobalListBoxItemCssSelector = "hop-ListBoxItem";
|
|
23
23
|
var ListBoxItemToIconSizeAdapter = {
|
|
24
24
|
xs: "sm",
|
|
@@ -208,7 +208,6 @@ function ListBoxItem(props, ref) {
|
|
|
208
208
|
return /* @__PURE__ */ jsx(
|
|
209
209
|
ListBoxItem$1,
|
|
210
210
|
{
|
|
211
|
-
...otherProps,
|
|
212
211
|
ref,
|
|
213
212
|
className: classNames,
|
|
214
213
|
style,
|
|
@@ -218,6 +217,7 @@ function ListBoxItem(props, ref) {
|
|
|
218
217
|
"data-loading": isLoading || void 0,
|
|
219
218
|
"aria-label": isLoading ? "Loading" : void 0,
|
|
220
219
|
"aria-live": isLoading ? "polite" : void 0,
|
|
220
|
+
...otherProps,
|
|
221
221
|
children: (listBoxItemProps) => {
|
|
222
222
|
if (isLoading) {
|
|
223
223
|
return /* @__PURE__ */ jsx("div", { className: ListBoxItem_module_default["hop-ListBoxItem__inner"], children: /* @__PURE__ */ jsx(
|
|
@@ -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___l95G4", "hop-OverlineText__text": "OverlineText-module__hop-OverlineText__text___nl4qL" };
|
|
11
11
|
var GlobalOverlineTextCssSelector = "hop-OverlineText";
|
|
12
12
|
function OverlineText(props, ref) {
|
|
13
13
|
[props, ref] = useContextProps(props, ref, OverlineTextContext);
|
|
@@ -29,11 +29,11 @@ function OverlineText(props, ref) {
|
|
|
29
29
|
return /* @__PURE__ */ jsx(
|
|
30
30
|
Text,
|
|
31
31
|
{
|
|
32
|
-
...otherProps,
|
|
33
32
|
ref,
|
|
34
33
|
elementType,
|
|
35
34
|
className: classNames,
|
|
36
35
|
style: mergedStyles,
|
|
36
|
+
...otherProps,
|
|
37
37
|
children: /* @__PURE__ */ jsx("span", { className: OverlineText_module_default["hop-OverlineText__text"], children })
|
|
38
38
|
}
|
|
39
39
|
);
|
|
@@ -10,7 +10,7 @@ import { useContextProps, useSlottedContext, InputContext, TextAreaContext, Fiel
|
|
|
10
10
|
import { jsx } from 'react/jsx-runtime';
|
|
11
11
|
|
|
12
12
|
// css-module:./InputGroup.module.css#css-module
|
|
13
|
-
var InputGroup_module_default = { "hop-InputGroup": "InputGroup-module__hop-
|
|
13
|
+
var InputGroup_module_default = { "hop-InputGroup": "InputGroup-module__hop-InputGroup___H-STx", "hop-InputGroup--fluid": "InputGroup-module__hop-InputGroup--fluid___Is4p-", "hop-InputGroup--sm": "InputGroup-module__hop-InputGroup--sm___SIL1-", "hop-InputGroup__input": "InputGroup-module__hop-InputGroup__input___cWtjZ", "hop-InputGroup__textarea": "InputGroup-module__hop-InputGroup__textarea___kNpmq", "hop-InputGroup__embedded-button": "InputGroup-module__hop-InputGroup__embedded-button___24mR2" };
|
|
14
14
|
var GlobalInputGroupCssSelector = "hop-InputGroup";
|
|
15
15
|
function InputGroup(props, ref) {
|
|
16
16
|
var _a, _b;
|
|
@@ -83,13 +83,13 @@ function InputGroup(props, ref) {
|
|
|
83
83
|
children: /* @__PURE__ */ jsx(
|
|
84
84
|
Group,
|
|
85
85
|
{
|
|
86
|
-
...otherProps,
|
|
87
86
|
isInvalid: (validation == null ? void 0 : validation.isInvalid) || isInvalid,
|
|
88
87
|
onMouseDown: handleMouseDown,
|
|
89
88
|
ref,
|
|
90
89
|
className: classNames,
|
|
91
90
|
style,
|
|
92
91
|
"data-input-type": inputType,
|
|
92
|
+
...otherProps,
|
|
93
93
|
children
|
|
94
94
|
}
|
|
95
95
|
)
|
|
@@ -10,7 +10,7 @@ import { useContextProps } from 'react-aria-components';
|
|
|
10
10
|
import { jsx } from 'react/jsx-runtime';
|
|
11
11
|
|
|
12
12
|
// css-module:./FloatingBadge.module.css#css-module
|
|
13
|
-
var FloatingBadge_module_default = { "hop-FloatingBadge": "FloatingBadge-module__hop-
|
|
13
|
+
var FloatingBadge_module_default = { "hop-FloatingBadge": "FloatingBadge-module__hop-FloatingBadge___TZbt0", "hop-FloatingBadge__badge": "FloatingBadge-module__hop-FloatingBadge__badge___0vqYu" };
|
|
14
14
|
var GlobalFloatingBadgeCssSelector = "hop-FloatingBadge";
|
|
15
15
|
function FloatingBadge(props, ref) {
|
|
16
16
|
[props, ref] = useContextProps(props, ref, FloatingBadgeContext);
|
|
@@ -53,13 +53,13 @@ function FloatingBadge(props, ref) {
|
|
|
53
53
|
children: /* @__PURE__ */ jsx(
|
|
54
54
|
"div",
|
|
55
55
|
{
|
|
56
|
-
...otherProps,
|
|
57
56
|
ref,
|
|
58
57
|
className: classNames,
|
|
59
58
|
style: mergedStyles,
|
|
60
59
|
slot: slot != null ? slot : void 0,
|
|
61
60
|
"data-overlap": overlap,
|
|
62
61
|
"data-placement": placement,
|
|
62
|
+
...otherProps,
|
|
63
63
|
children
|
|
64
64
|
}
|
|
65
65
|
)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ensureTextWrapper } from './chunk-CL7I5YAI.js';
|
|
1
|
+
import { ensureTextWrapper } from './chunk-YEZAILOI.js';
|
|
3
2
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
3
|
+
import { CheckboxContext } from './chunk-2EAZPH3M.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, Checkbox as Checkbox$1 } from 'rea
|
|
|
13
13
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
14
14
|
|
|
15
15
|
// css-module:./Checkbox.module.css#css-module
|
|
16
|
-
var Checkbox_module_default = { "hop-Checkbox": "Checkbox-module__hop-
|
|
16
|
+
var Checkbox_module_default = { "hop-Checkbox": "Checkbox-module__hop-Checkbox___J32Yn", "hop-Checkbox--sm": "Checkbox-module__hop-Checkbox--sm___7Lq9Q", "hop-Checkbox--md": "Checkbox-module__hop-Checkbox--md___bD05V", "hop-Checkbox__icon": "Checkbox-module__hop-Checkbox__icon___8893o", "hop-Checkbox__icon-list": "Checkbox-module__hop-Checkbox__icon-list___9fLOv", "hop-Checkbox__box": "Checkbox-module__hop-Checkbox__box___syekA", "hop-Checkbox__check": "Checkbox-module__hop-Checkbox__check___ymFxT", "hop-Checkbox__text": "Checkbox-module__hop-Checkbox__text___-iCGJ" };
|
|
17
17
|
var GlobalCheckboxCssSelector = "hop-Checkbox";
|
|
18
18
|
function Checkbox(props, ref) {
|
|
19
19
|
var _a;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import { _HelperMessage } from './chunk-YC5BBTPZ.js';
|
|
2
|
+
import { _ErrorMessage } from './chunk-WRIA2DOV.js';
|
|
1
3
|
import { CheckboxGroupContext } from './chunk-N7YDPVZL.js';
|
|
2
4
|
import { CheckboxFieldContext } from './chunk-ZGNK4GWA.js';
|
|
3
5
|
import { CheckboxContext } from './chunk-2EAZPH3M.js';
|
|
4
|
-
import { _Label } from './chunk-
|
|
5
|
-
import { _HelperMessage } from './chunk-OUDP4L2B.js';
|
|
6
|
-
import { _ErrorMessage } from './chunk-O2KXTY5Q.js';
|
|
6
|
+
import { _Label } from './chunk-NIDJ3QD5.js';
|
|
7
7
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
8
8
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
9
9
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
@@ -14,7 +14,7 @@ import { useContextProps, composeRenderProps, CheckboxGroup as CheckboxGroup$1 }
|
|
|
14
14
|
import { jsx, jsxs, Fragment } 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___cu2Nu", "hop-CheckboxGroup--bordered": "CheckboxGroup-module__hop-CheckboxGroup--bordered___-b8-z", "hop-CheckboxGroup--sm": "CheckboxGroup-module__hop-CheckboxGroup--sm___GZ22v", "hop-CheckboxGroup--md": "CheckboxGroup-module__hop-CheckboxGroup--md___fTLKV", "hop-CheckboxGroup__label": "CheckboxGroup-module__hop-CheckboxGroup__label___MYbFM", "hop-CheckboxGroup__list": "CheckboxGroup-module__hop-CheckboxGroup__list___Ov9pe", "hop-CheckboxGroup__checkbox": "CheckboxGroup-module__hop-CheckboxGroup__checkbox___T6fO8", "hop-CheckboxGroup__error-message": "CheckboxGroup-module__hop-CheckboxGroup__error-message___AVu--", "hop-CheckboxGroup__helper-message": "CheckboxGroup-module__hop-CheckboxGroup__helper-message___wGDxE" };
|
|
18
18
|
var GlobalCheckboxGroupCssSelector = "hop-CheckboxGroup";
|
|
19
19
|
function CheckboxGroup(props, ref) {
|
|
20
20
|
var _a, _b, _c;
|
|
@@ -11,7 +11,7 @@ import { useContextProps, composeRenderProps } from 'react-aria-components';
|
|
|
11
11
|
import { jsx } from 'react/jsx-runtime';
|
|
12
12
|
|
|
13
13
|
// css-module:./RichIconAvatarImage.module.css#css-module
|
|
14
|
-
var RichIconAvatarImage_module_default = { "hop-RichIconAvatarImage": "RichIconAvatarImage-module__hop-
|
|
14
|
+
var RichIconAvatarImage_module_default = { "hop-RichIconAvatarImage": "RichIconAvatarImage-module__hop-RichIconAvatarImage___j7TWO", "hop-RichIconAvatarImage--xs": "RichIconAvatarImage-module__hop-RichIconAvatarImage--xs___M2mbk", "hop-RichIconAvatarImage--sm": "RichIconAvatarImage-module__hop-RichIconAvatarImage--sm___uV3oA", "hop-RichIconAvatarImage--md": "RichIconAvatarImage-module__hop-RichIconAvatarImage--md___XrmGp", "hop-RichIconAvatarImage--lg": "RichIconAvatarImage-module__hop-RichIconAvatarImage--lg___IUn-m", "hop-RichIconAvatarImage--xl": "RichIconAvatarImage-module__hop-RichIconAvatarImage--xl___JMARD", "hop-RichIconAvatarImage--2xl": "RichIconAvatarImage-module__hop-RichIconAvatarImage--2xl___l6vUo", "hop-RichIconAvatarImage__icon": "RichIconAvatarImage-module__hop-RichIconAvatarImage__icon___YCJVR" };
|
|
15
15
|
var GlobalRichIconAvatarImageCssSelector = "hop-RichIconAvatarImage";
|
|
16
16
|
var AvatarToIconSizeAdapter = {
|
|
17
17
|
xs: "md",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AvatarContext } from './chunk-AES7QBQE.js';
|
|
2
|
-
import { _RichIconAvatarImage } from './chunk-
|
|
2
|
+
import { _RichIconAvatarImage } from './chunk-UYEVWTDS.js';
|
|
3
3
|
import { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
4
4
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
5
5
|
import { DeletedUserRichIcon } from '@hopper-ui/icons';
|
|
@@ -44,10 +44,10 @@ function DeletedAvatar(props, ref) {
|
|
|
44
44
|
return /* @__PURE__ */ jsx(
|
|
45
45
|
_RichIconAvatarImage,
|
|
46
46
|
{
|
|
47
|
-
...mergeProps(otherProps, renderProps),
|
|
48
47
|
isDisabled,
|
|
49
48
|
ref,
|
|
50
49
|
size,
|
|
50
|
+
...mergeProps(renderProps, otherProps),
|
|
51
51
|
children: /* @__PURE__ */ jsx(DeletedUserRichIcon, {})
|
|
52
52
|
}
|
|
53
53
|
);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ErrorMessageContext } from './chunk-FAE27DLF.js';
|
|
2
|
-
import { _Text } from './chunk-
|
|
2
|
+
import { _Text } from './chunk-J4LFCG4M.js';
|
|
3
3
|
import { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
4
4
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
5
5
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
@@ -10,7 +10,7 @@ import { FieldErrorContext, useContextProps, composeRenderProps } from 'react-ar
|
|
|
10
10
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
11
11
|
|
|
12
12
|
// css-module:./ErrorMessage.module.css#css-module
|
|
13
|
-
var ErrorMessage_module_default = { "hop-ErrorMessage": "ErrorMessage-module__hop-
|
|
13
|
+
var ErrorMessage_module_default = { "hop-ErrorMessage": "ErrorMessage-module__hop-ErrorMessage___Wg1Fu", "hop-ErrorMessage__icon": "ErrorMessage-module__hop-ErrorMessage__icon___cKatz" };
|
|
14
14
|
var GlobalErrorMessageCssSelector = "hop-ErrorMessage";
|
|
15
15
|
function ErrorMessage(props, ref) {
|
|
16
16
|
const validation = useContext(FieldErrorContext);
|
|
@@ -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___VlXPC" };
|
|
12
12
|
var GlobalIconListCssSelector = "hop-IconList";
|
|
13
13
|
function IconList(props, ref) {
|
|
14
14
|
[props, ref] = useContextProps(props, ref, IconListContext);
|
|
@@ -27,11 +27,11 @@ function IconList(props, ref) {
|
|
|
27
27
|
return /* @__PURE__ */ jsx(
|
|
28
28
|
"span",
|
|
29
29
|
{
|
|
30
|
-
...otherProps,
|
|
31
30
|
ref,
|
|
32
31
|
className: classNames,
|
|
33
32
|
style: mergedStyles,
|
|
34
33
|
slot: slot != null ? slot : void 0,
|
|
34
|
+
...otherProps,
|
|
35
35
|
children: /* @__PURE__ */ jsx(
|
|
36
36
|
SlotProvider,
|
|
37
37
|
{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SpinnerContext } from './chunk-4ZYV2XLW.js';
|
|
2
|
-
import { _Text } from './chunk-
|
|
2
|
+
import { _Text } from './chunk-J4LFCG4M.js';
|
|
3
3
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
4
4
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
5
5
|
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
@@ -9,7 +9,7 @@ import { useContextProps, ProgressBar } from 'react-aria-components';
|
|
|
9
9
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
10
10
|
|
|
11
11
|
// css-module:./Spinner.module.css#css-module
|
|
12
|
-
var Spinner_module_default = { "hop-Spinner": "Spinner-module__hop-
|
|
12
|
+
var Spinner_module_default = { "hop-Spinner": "Spinner-module__hop-Spinner___MuP7e", "spin": "Spinner-module__spin___HpFM-", "hop-Spinner--sm": "Spinner-module__hop-Spinner--sm___ktQme", "hop-Spinner--md": "Spinner-module__hop-Spinner--md___50yOv", "hop-Spinner--lg": "Spinner-module__hop-Spinner--lg___ZCBl1", "hop-Spinner__track": "Spinner-module__hop-Spinner__track___4G0TW", "hop-Spinner__fill": "Spinner-module__hop-Spinner__fill___yT12b", "hop-Spinner__label": "Spinner-module__hop-Spinner__label___SoTKE" };
|
|
13
13
|
var GlobalSpinnerCssSelector = "hop-Spinner";
|
|
14
14
|
var SpinnerToTextSizeAdapter = {
|
|
15
15
|
sm: "xs",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HelperMessageContext } from './chunk-HZKFQ33E.js';
|
|
2
|
-
import { _Text } from './chunk-
|
|
2
|
+
import { _Text } from './chunk-J4LFCG4M.js';
|
|
3
3
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
4
4
|
import { InfoIcon } from '@hopper-ui/icons';
|
|
5
5
|
import { useStyledSystem } from '@hopper-ui/styled-system';
|
|
@@ -9,7 +9,7 @@ import { useContextProps, FieldErrorContext } from 'react-aria-components';
|
|
|
9
9
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
10
10
|
|
|
11
11
|
// css-module:./HelperMessage.module.css#css-module
|
|
12
|
-
var HelperMessage_module_default = { "hop-HelperMessage": "HelperMessage-module__hop-
|
|
12
|
+
var HelperMessage_module_default = { "hop-HelperMessage": "HelperMessage-module__hop-HelperMessage___zKfpK", "hop-HelperMessage__icon": "HelperMessage-module__hop-HelperMessage__icon___D7ReP" };
|
|
13
13
|
var GlobalHelperMessageCssSelector = "hop-HelperMessage";
|
|
14
14
|
function HelperMessage(props, ref) {
|
|
15
15
|
const validation = useContext(FieldErrorContext);
|
|
@@ -40,12 +40,12 @@ var HelperMessageInner = forwardRef((props, ref) => {
|
|
|
40
40
|
return /* @__PURE__ */ jsxs(
|
|
41
41
|
_Text,
|
|
42
42
|
{
|
|
43
|
-
...otherProps,
|
|
44
43
|
ref,
|
|
45
44
|
className: classNames,
|
|
46
45
|
style: mergedStyles,
|
|
47
46
|
size: "xs",
|
|
48
47
|
slot,
|
|
48
|
+
...otherProps,
|
|
49
49
|
children: [
|
|
50
50
|
!hideIcon && /* @__PURE__ */ jsx(InfoIcon, { size: "sm", className: HelperMessage_module_default["hop-HelperMessage__icon"] }),
|
|
51
51
|
children
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
import { PopoverContext } from './chunk-SC6ZK5ON.js';
|
|
2
|
+
import { ContentContext } from './chunk-IXB2WK56.js';
|
|
3
|
+
import { FooterContext } from './chunk-I67NHYK4.js';
|
|
4
|
+
import { ButtonGroupContext } from './chunk-VJQ7M2BK.js';
|
|
5
|
+
import { isFunction, isNil } from './chunk-TIPN4VYD.js';
|
|
6
|
+
import { ListBoxContext } from './chunk-UIEP5BA5.js';
|
|
7
|
+
import { _HopperProvider } from './chunk-NMKBUGSO.js';
|
|
8
|
+
import { LinkContext } from './chunk-4VVNSXIB.js';
|
|
9
|
+
import { LinkButtonContext } from './chunk-3UQFC2NQ.js';
|
|
10
|
+
import { ButtonContext } from './chunk-WMTWFKKP.js';
|
|
11
|
+
import { HeadingContext } from './chunk-TXZ6BMFR.js';
|
|
12
|
+
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
13
|
+
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
14
|
+
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
15
|
+
import { useStyledSystem, useResponsiveValue, useColorSchemeContext } from '@hopper-ui/styled-system';
|
|
16
|
+
import clsx from 'clsx';
|
|
17
|
+
import { forwardRef } from 'react';
|
|
18
|
+
import { useContextProps, composeRenderProps, Popover as Popover$1, Dialog } from 'react-aria-components';
|
|
19
|
+
import { jsx } from 'react/jsx-runtime';
|
|
20
|
+
|
|
21
|
+
// css-module:./Popover.module.css#css-module
|
|
22
|
+
var Popover_module_default = { "hop-Popover": "Popover-module__hop-Popover___-qM3A", "fade": "Popover-module__fade___AKK2S", "hop-Popover__wrapper": "Popover-module__hop-Popover__wrapper___sD-Ru", "hop-Popover__dialog": "Popover-module__hop-Popover__dialog___RWObX", "hop-Popover__dropdown": "Popover-module__hop-Popover__dropdown___RsokU", "hop-Popover__title": "Popover-module__hop-Popover__title___Opa1B", "hop-Popover__content": "Popover-module__hop-Popover__content___hc8Km", "hop-Popover__list-box": "Popover-module__hop-Popover__list-box___SYqN4", "hop-Popover__footer": "Popover-module__hop-Popover__footer___dFu5l", "hop-Popover__actions": "Popover-module__hop-Popover__actions___KQPEZ", "hop-Popover__action": "Popover-module__hop-Popover__action___AdBQB" };
|
|
23
|
+
var GlobalPopoverCssSelector = "hop-Popover";
|
|
24
|
+
function Popover(props, ref) {
|
|
25
|
+
var _a;
|
|
26
|
+
[props, ref] = useContextProps(props, ref, PopoverContext);
|
|
27
|
+
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
28
|
+
const {
|
|
29
|
+
isAutoWidth,
|
|
30
|
+
children,
|
|
31
|
+
className,
|
|
32
|
+
offset = 4,
|
|
33
|
+
boundaryOffset,
|
|
34
|
+
isNonDialog,
|
|
35
|
+
containerPadding = 16,
|
|
36
|
+
containerProps,
|
|
37
|
+
placement: placementProp,
|
|
38
|
+
style: styleProp,
|
|
39
|
+
...otherProps
|
|
40
|
+
} = ownProps;
|
|
41
|
+
const placement = (_a = useResponsiveValue(placementProp)) != null ? _a : "bottom";
|
|
42
|
+
const { stylingProps: containerStylingProps, ...containerOwnProps } = useStyledSystem(containerProps != null ? containerProps : {});
|
|
43
|
+
const {
|
|
44
|
+
className: containerClassName,
|
|
45
|
+
style: containerStyleProp,
|
|
46
|
+
slot,
|
|
47
|
+
...containerOtherProps
|
|
48
|
+
} = containerOwnProps;
|
|
49
|
+
const { colorScheme } = useColorSchemeContext();
|
|
50
|
+
const popoverClassNames = composeClassnameRenderProps(
|
|
51
|
+
className,
|
|
52
|
+
GlobalPopoverCssSelector,
|
|
53
|
+
cssModule(
|
|
54
|
+
Popover_module_default,
|
|
55
|
+
"hop-Popover",
|
|
56
|
+
isNonDialog && "non-dialog"
|
|
57
|
+
),
|
|
58
|
+
stylingProps.className
|
|
59
|
+
);
|
|
60
|
+
const containerClassNames = isNonDialog ? clsx(containerClassName, Popover_module_default["hop-Popover__dropdown"], containerStylingProps.className) : clsx(containerClassName, Popover_module_default["hop-Popover__dialog"], containerStylingProps.className);
|
|
61
|
+
const style = composeRenderProps(styleProp, (prev) => {
|
|
62
|
+
return {
|
|
63
|
+
...stylingProps.style,
|
|
64
|
+
"--container-padding": `${containerPadding}px`,
|
|
65
|
+
...prev
|
|
66
|
+
};
|
|
67
|
+
});
|
|
68
|
+
const containerStyle = {
|
|
69
|
+
...containerStylingProps.style,
|
|
70
|
+
...containerStyleProp
|
|
71
|
+
};
|
|
72
|
+
return /* @__PURE__ */ jsx(
|
|
73
|
+
Popover$1,
|
|
74
|
+
{
|
|
75
|
+
offset,
|
|
76
|
+
ref,
|
|
77
|
+
className: popoverClassNames,
|
|
78
|
+
arrowBoundaryOffset: boundaryOffset,
|
|
79
|
+
"data-auto-width": isAutoWidth || void 0,
|
|
80
|
+
containerPadding,
|
|
81
|
+
style,
|
|
82
|
+
placement,
|
|
83
|
+
...otherProps,
|
|
84
|
+
children: (state) => {
|
|
85
|
+
const content = isFunction(children) && !isNil(children) ? children(state) : children;
|
|
86
|
+
if (isNonDialog) {
|
|
87
|
+
return /* @__PURE__ */ jsx(_HopperProvider, { colorScheme, className: Popover_module_default["hop-Popover__wrapper"], children: /* @__PURE__ */ jsx(
|
|
88
|
+
"div",
|
|
89
|
+
{
|
|
90
|
+
...containerOtherProps,
|
|
91
|
+
className: containerClassNames,
|
|
92
|
+
style: containerStyle,
|
|
93
|
+
slot: slot || void 0,
|
|
94
|
+
children: /* @__PURE__ */ jsx(
|
|
95
|
+
SlotProvider,
|
|
96
|
+
{
|
|
97
|
+
values: [
|
|
98
|
+
[ListBoxContext, {
|
|
99
|
+
className: Popover_module_default["hop-Popover__list-box"]
|
|
100
|
+
}],
|
|
101
|
+
[FooterContext, {
|
|
102
|
+
className: Popover_module_default["hop-Popover__footer"]
|
|
103
|
+
}],
|
|
104
|
+
[LinkContext, {
|
|
105
|
+
size: "sm",
|
|
106
|
+
variant: "primary",
|
|
107
|
+
isQuiet: true
|
|
108
|
+
}]
|
|
109
|
+
],
|
|
110
|
+
children: content
|
|
111
|
+
}
|
|
112
|
+
)
|
|
113
|
+
}
|
|
114
|
+
) });
|
|
115
|
+
}
|
|
116
|
+
return /* @__PURE__ */ jsx(_HopperProvider, { colorScheme, children: /* @__PURE__ */ jsx(Dialog, { ...containerOtherProps, className: containerClassNames, style: containerStyle, children: /* @__PURE__ */ jsx(
|
|
117
|
+
SlotProvider,
|
|
118
|
+
{
|
|
119
|
+
values: [
|
|
120
|
+
[HeadingContext, {
|
|
121
|
+
className: Popover_module_default["hop-Popover__title"],
|
|
122
|
+
size: "xs"
|
|
123
|
+
}],
|
|
124
|
+
[ButtonContext, {
|
|
125
|
+
size: "sm",
|
|
126
|
+
className: Popover_module_default["hop-Popover__action"]
|
|
127
|
+
}],
|
|
128
|
+
[LinkButtonContext, {
|
|
129
|
+
size: "sm",
|
|
130
|
+
className: Popover_module_default["hop-Popover__action"]
|
|
131
|
+
}],
|
|
132
|
+
[ButtonGroupContext, {
|
|
133
|
+
size: "sm",
|
|
134
|
+
align: "end",
|
|
135
|
+
className: Popover_module_default["hop-Popover__actions"]
|
|
136
|
+
}],
|
|
137
|
+
[ContentContext, {
|
|
138
|
+
className: Popover_module_default["hop-Popover__content"]
|
|
139
|
+
}],
|
|
140
|
+
[FooterContext, {
|
|
141
|
+
className: Popover_module_default["hop-Popover__footer"]
|
|
142
|
+
}],
|
|
143
|
+
[LinkContext, {
|
|
144
|
+
size: "sm",
|
|
145
|
+
variant: "primary",
|
|
146
|
+
isQuiet: true
|
|
147
|
+
}]
|
|
148
|
+
],
|
|
149
|
+
children: content
|
|
150
|
+
}
|
|
151
|
+
) }) });
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
);
|
|
155
|
+
}
|
|
156
|
+
var _Popover = forwardRef(Popover);
|
|
157
|
+
_Popover.displayName = "Popover";
|
|
158
|
+
|
|
159
|
+
export { GlobalPopoverCssSelector, _Popover };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { ButtonGroupContext } from './chunk-VJQ7M2BK.js';
|
|
1
2
|
import { LinkButtonContext } from './chunk-3UQFC2NQ.js';
|
|
2
3
|
import { ButtonContext } from './chunk-WMTWFKKP.js';
|
|
3
|
-
import { ButtonGroupContext } from './chunk-VJQ7M2BK.js';
|
|
4
4
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
5
5
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
6
6
|
import { slot, useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
@@ -11,7 +11,7 @@ import { useContextProps } from 'react-aria-components';
|
|
|
11
11
|
import { jsx } from 'react/jsx-runtime';
|
|
12
12
|
|
|
13
13
|
// css-module:./ButtonGroup.module.css#css-module
|
|
14
|
-
var ButtonGroup_module_default = { "hop-ButtonGroup": "ButtonGroup-module__hop-
|
|
14
|
+
var ButtonGroup_module_default = { "hop-ButtonGroup": "ButtonGroup-module__hop-ButtonGroup___gaNSj", "hop-ButtonGroup--horizontal": "ButtonGroup-module__hop-ButtonGroup--horizontal___Hh-nA", "hop-ButtonGroup--vertical": "ButtonGroup-module__hop-ButtonGroup--vertical___FbVpY", "hop-ButtonGroup--start": "ButtonGroup-module__hop-ButtonGroup--start___jFCxJ", "hop-ButtonGroup--center": "ButtonGroup-module__hop-ButtonGroup--center___dcupx", "hop-ButtonGroup--end": "ButtonGroup-module__hop-ButtonGroup--end___JZRp-", "hop-ButtonGroup--wrap": "ButtonGroup-module__hop-ButtonGroup--wrap___6YTyV", "hop-ButtonGroup--fluid": "ButtonGroup-module__hop-ButtonGroup--fluid___FMgwv" };
|
|
15
15
|
var GlobalButtonGroupCssSelector = "hop-ButtonGroup";
|
|
16
16
|
function ButtonGroup(props, ref) {
|
|
17
17
|
var _a, _b, _c, _d;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AvatarContext } from './chunk-AES7QBQE.js';
|
|
2
|
-
import { _RichIconAvatarImage } from './chunk-
|
|
2
|
+
import { _RichIconAvatarImage } from './chunk-UYEVWTDS.js';
|
|
3
3
|
import { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
4
4
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
5
5
|
import { AnonymousRichIcon } from '@hopper-ui/icons';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import { _InputGroup } from './chunk-TTPSVCRY.js';
|
|
2
|
+
import { _ClearButton } from './chunk-3VKQHRO5.js';
|
|
3
|
+
import { _HelperMessage } from './chunk-YC5BBTPZ.js';
|
|
4
|
+
import { _ErrorMessage } from './chunk-WRIA2DOV.js';
|
|
1
5
|
import { SearchFieldContext } from './chunk-3NKF5TPD.js';
|
|
2
|
-
import {
|
|
3
|
-
import { _ClearButton } from './chunk-ZGAVEQ6Z.js';
|
|
4
|
-
import { _Label } from './chunk-RXSNCXOG.js';
|
|
5
|
-
import { _HelperMessage } from './chunk-OUDP4L2B.js';
|
|
6
|
-
import { _ErrorMessage } from './chunk-O2KXTY5Q.js';
|
|
6
|
+
import { _Label } from './chunk-NIDJ3QD5.js';
|
|
7
7
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
8
8
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
9
9
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
@@ -18,7 +18,7 @@ import { useContextProps, composeRenderProps, Input, SearchField as SearchField$
|
|
|
18
18
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
19
19
|
|
|
20
20
|
// css-module:./SearchField.module.css#css-module
|
|
21
|
-
var SearchField_module_default = { "hop-SearchField": "SearchField-module__hop-
|
|
21
|
+
var SearchField_module_default = { "hop-SearchField": "SearchField-module__hop-SearchField___Miw6i", "hop-SearchField--fluid": "SearchField-module__hop-SearchField--fluid___CDuqL", "hop-SearchField__Label": "SearchField-module__hop-SearchField__Label___8eoeE", "hop-SearchField__prefix": "SearchField-module__hop-SearchField__prefix___pOoGp", "hop-SearchField__InputGroup": "SearchField-module__hop-SearchField__InputGroup___zvpJY", "hop-SearchField--clearable": "SearchField-module__hop-SearchField--clearable___3RlGA", "hop-SearchField__ErrorMessage": "SearchField-module__hop-SearchField__ErrorMessage___ejFd4", "hop-SearchField__HelperMessage": "SearchField-module__hop-SearchField__HelperMessage___qsTYS", "hop-SearchField__ClearButton": "SearchField-module__hop-SearchField__ClearButton___Ruhcd" };
|
|
22
22
|
var GlobalSearchFieldCssSelector = "hop-SearchField";
|
|
23
23
|
function SearchField(props, ref) {
|
|
24
24
|
var _a;
|