@hopper-ui/components 1.3.33 → 1.3.35
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 +44 -37
- package/dist/Avatar/src/AnonymousAvatar.js +2 -2
- package/dist/Avatar/src/Avatar.css +62 -55
- package/dist/Avatar/src/Avatar.js +3 -3
- package/dist/Avatar/src/DeletedAvatar.css +44 -37
- package/dist/Avatar/src/DeletedAvatar.js +2 -2
- package/dist/Avatar/src/RichIconAvatarImage.css +44 -37
- package/dist/Avatar/src/RichIconAvatarImage.js +1 -1
- package/dist/Avatar/src/index.css +62 -55
- package/dist/Avatar/src/index.js +5 -5
- package/dist/Badge/src/Badge.css +49 -42
- package/dist/Badge/src/Badge.js +2 -2
- package/dist/Badge/src/FloatingBadge.css +44 -37
- package/dist/Badge/src/FloatingBadge.js +1 -1
- package/dist/Badge/src/index.css +59 -52
- package/dist/Badge/src/index.js +3 -3
- package/dist/Card/src/Card.css +39 -30
- package/dist/Card/src/Card.js +2 -2
- package/dist/Card/src/index.css +39 -30
- package/dist/Card/src/index.js +2 -2
- package/dist/ComboBox/src/ComboBox.css +578 -570
- package/dist/ComboBox/src/ComboBox.d.ts +1 -0
- package/dist/ComboBox/src/ComboBox.js +30 -25
- package/dist/ComboBox/src/ComboBoxContext.d.ts +1 -0
- package/dist/ComboBox/src/index.css +578 -570
- package/dist/ComboBox/src/index.d.ts +1 -0
- package/dist/ComboBox/src/index.js +30 -25
- package/dist/Disclosure/src/Disclosure.css +305 -0
- package/dist/Disclosure/src/Disclosure.d.ts +16 -0
- package/dist/Disclosure/src/Disclosure.js +9 -0
- package/dist/Disclosure/src/DisclosureContext.d.ts +8 -0
- package/dist/Disclosure/src/DisclosureContext.js +2 -0
- package/dist/Disclosure/src/DisclosureHeader.css +405 -0
- package/dist/Disclosure/src/DisclosureHeader.d.ts +21 -0
- package/dist/Disclosure/src/DisclosureHeader.js +22 -0
- package/dist/Disclosure/src/DisclosureHeaderContext.d.ts +9 -0
- package/dist/Disclosure/src/DisclosureHeaderContext.js +2 -0
- package/dist/Disclosure/src/DisclosurePanel.css +292 -0
- package/dist/Disclosure/src/DisclosurePanel.d.ts +15 -0
- package/dist/Disclosure/src/DisclosurePanel.js +22 -0
- package/dist/Disclosure/src/DisclosurePanelContext.d.ts +8 -0
- package/dist/Disclosure/src/DisclosurePanelContext.js +2 -0
- package/dist/Disclosure/src/index.css +526 -0
- package/dist/Disclosure/src/index.d.ts +10 -0
- package/dist/Disclosure/src/index.js +27 -0
- package/dist/Divider/src/Divider.css +36 -29
- package/dist/Divider/src/Divider.js +1 -1
- package/dist/Divider/src/index.css +36 -29
- package/dist/Divider/src/index.js +1 -1
- package/dist/ErrorMessage/src/ErrorMessage.css +36 -29
- package/dist/ErrorMessage/src/ErrorMessage.js +2 -2
- package/dist/ErrorMessage/src/index.css +36 -29
- package/dist/ErrorMessage/src/index.js +2 -2
- package/dist/Form/src/Form.css +28 -5005
- package/dist/Form/src/Form.d.ts +6 -3
- package/dist/Form/src/Form.js +2 -28
- package/dist/Form/src/FormContext.d.ts +3 -3
- package/dist/Form/src/FormContext.js +1 -1
- package/dist/Form/src/index.css +28 -5005
- package/dist/Form/src/index.d.ts +1 -1
- package/dist/Form/src/index.js +2 -28
- package/dist/HelperMessage/src/HelperMessage.css +36 -29
- package/dist/HelperMessage/src/HelperMessage.js +2 -2
- package/dist/HelperMessage/src/index.css +36 -29
- package/dist/HelperMessage/src/index.js +2 -2
- package/dist/IconList/src/IconList.css +35 -28
- package/dist/IconList/src/IconList.js +1 -1
- package/dist/IconList/src/index.css +35 -28
- package/dist/IconList/src/index.js +1 -1
- package/dist/Link/src/Link.css +56 -49
- package/dist/Link/src/Link.js +9 -7
- package/dist/Link/src/index.css +56 -49
- package/dist/Link/src/index.js +9 -7
- package/dist/ListBox/src/ListBox.css +281 -274
- package/dist/ListBox/src/ListBox.js +16 -14
- package/dist/ListBox/src/ListBoxItem.css +269 -262
- package/dist/ListBox/src/ListBoxItem.js +13 -11
- package/dist/ListBox/src/ListBoxItemSkeleton.css +41 -34
- package/dist/ListBox/src/ListBoxItemSkeleton.js +1 -1
- package/dist/ListBox/src/index.css +281 -274
- package/dist/ListBox/src/index.js +16 -14
- package/dist/ListBoxSection/src/ListBoxSection.d.ts +19 -0
- package/dist/ListBoxSection/src/ListBoxSection.js +3 -0
- package/dist/ListBoxSection/src/ListBoxSectionContext.d.ts +9 -0
- package/dist/ListBoxSection/src/ListBoxSectionContext.js +2 -0
- package/dist/ListBoxSection/src/index.d.ts +6 -0
- package/dist/ListBoxSection/src/index.js +3 -0
- package/dist/Select/src/Select.css +582 -564
- package/dist/Select/src/Select.d.ts +1 -0
- package/dist/Select/src/Select.js +32 -27
- package/dist/Select/src/SelectContext.d.ts +1 -0
- package/dist/Select/src/SelectValue.css +68 -61
- package/dist/Select/src/SelectValue.js +7 -5
- package/dist/Select/src/index.css +582 -564
- package/dist/Select/src/index.d.ts +1 -0
- package/dist/Select/src/index.js +32 -27
- package/dist/Spinner/src/Spinner.css +44 -37
- package/dist/Spinner/src/Spinner.js +2 -2
- package/dist/Spinner/src/index.css +44 -37
- package/dist/Spinner/src/index.js +2 -2
- package/dist/ToggleArrow/src/ToggleArrow.css +243 -0
- package/dist/ToggleArrow/src/ToggleArrow.d.ts +21 -0
- package/dist/ToggleArrow/src/ToggleArrow.js +4 -0
- package/dist/ToggleArrow/src/ToggleArrowContext.d.ts +10 -0
- package/dist/ToggleArrow/src/ToggleArrowContext.js +2 -0
- package/dist/ToggleArrow/src/index.css +243 -0
- package/dist/ToggleArrow/src/index.d.ts +7 -0
- package/dist/ToggleArrow/src/index.js +4 -0
- package/dist/buttons/src/Button.css +100 -93
- package/dist/buttons/src/Button.js +11 -9
- package/dist/buttons/src/ButtonGroup.css +45 -38
- package/dist/buttons/src/ButtonGroup.js +1 -1
- package/dist/buttons/src/ClearButton.css +105 -98
- package/dist/buttons/src/ClearButton.js +2 -2
- package/dist/buttons/src/EmbeddedButton.css +105 -98
- package/dist/buttons/src/EmbeddedButton.js +1 -1
- package/dist/buttons/src/LinkButton.css +109 -102
- package/dist/buttons/src/LinkButton.js +10 -8
- package/dist/buttons/src/index.css +256 -249
- package/dist/buttons/src/index.js +15 -13
- package/dist/checkbox/src/Checkbox.css +53 -46
- package/dist/checkbox/src/Checkbox.js +10 -8
- package/dist/checkbox/src/CheckboxField.css +93 -86
- package/dist/checkbox/src/CheckboxField.js +4 -2
- package/dist/checkbox/src/CheckboxGroup.css +105 -98
- package/dist/checkbox/src/CheckboxGroup.js +9 -7
- package/dist/checkbox/src/DecorativeCheckbox.css +61 -54
- package/dist/checkbox/src/DecorativeCheckbox.js +10 -8
- package/dist/checkbox/src/index.css +105 -98
- package/dist/checkbox/src/index.js +17 -15
- package/dist/{chunk-6SOC4ZCP.js → chunk-2HHYW5O7.js} +2 -2
- package/dist/{chunk-DPGUTB2Z.js → chunk-2VRVLS4A.js} +2 -2
- package/dist/{chunk-JGHJ2M26.js → chunk-3THUO6AY.js} +18 -10
- package/dist/{chunk-WUXVBNRQ.js → chunk-5LMIPWJ4.js} +8 -6
- package/dist/{chunk-5L4SRFMM.js → chunk-5MVIPFJG.js} +2 -2
- package/dist/{chunk-OQ5ANYTP.js → chunk-6LK7QKDE.js} +5 -3
- package/dist/{chunk-7W2MXYXZ.js → chunk-6XXPLEOU.js} +7 -5
- package/dist/chunk-7CJXILRD.js +7 -0
- package/dist/chunk-AYW3VAZY.js +79 -0
- package/dist/{chunk-VHQQVD4Y.js → chunk-BVZYQJKK.js} +7 -5
- package/dist/{chunk-ROBSHFBH.js → chunk-CGHAMVQH.js} +2 -2
- package/dist/{chunk-NLZXVLBW.js → chunk-DZJSSJVJ.js} +9 -9
- package/dist/{chunk-Z2UVDVEE.js → chunk-EJGX57JX.js} +2 -2
- package/dist/{chunk-CWGQSZVV.js → chunk-EPSUB3U3.js} +8 -6
- package/dist/{chunk-VB4KGI6T.js → chunk-F7F57LOT.js} +1 -1
- package/dist/chunk-FSXFF7TJ.js +124 -0
- package/dist/{chunk-BYOQKF3I.js → chunk-FUSWS7EZ.js} +2 -2
- package/dist/{chunk-ECAM35AM.js → chunk-G34IZZZR.js} +6 -4
- package/dist/{chunk-YGEF3D4F.js → chunk-G3XUMSZ4.js} +3 -3
- package/dist/chunk-GFRTCF4B.js +7 -0
- package/dist/{chunk-JA3U74ZK.js → chunk-IAHBYEON.js} +1 -1
- package/dist/chunk-IXXQUPXA.js +67 -0
- package/dist/chunk-J6WBI2I2.js +7 -0
- package/dist/{chunk-JTHUJSFK.js → chunk-JJ6IB366.js} +2 -2
- package/dist/{chunk-GCPJ72ES.js → chunk-KM6OVMUI.js} +1 -1
- package/dist/{chunk-HLWX7CML.js → chunk-LL362RG6.js} +2 -2
- package/dist/{chunk-7TNFRZPO.js → chunk-M4HNTQU7.js} +1 -1
- package/dist/{chunk-TUQXINCS.js → chunk-MAO7KM3A.js} +2 -2
- package/dist/{chunk-UBXBQMCI.js → chunk-MGZMC7Q2.js} +1 -1
- package/dist/{chunk-ETR3U3FY.js → chunk-MI3FZZRE.js} +1 -1
- package/dist/{chunk-5V32JYKM.js → chunk-MM727X5U.js} +1 -1
- package/dist/chunk-MUAXK42C.js +7 -0
- package/dist/{chunk-YQXI64TQ.js → chunk-NEVRDLRS.js} +8 -2
- package/dist/{chunk-Z2LRCDGL.js → chunk-NGJP7SMI.js} +5 -3
- package/dist/{chunk-ZV45TYGR.js → chunk-OQSYJW5D.js} +9 -7
- package/dist/{chunk-WOSZZL62.js → chunk-P7VQVTDQ.js} +8 -6
- package/dist/{chunk-EURJK4ZT.js → chunk-Q7NXUUB3.js} +1 -1
- package/dist/{chunk-ZWNZNKIJ.js → chunk-QBOXEWTP.js} +2 -2
- package/dist/{chunk-MAMRCWYC.js → chunk-QKJUME2B.js} +1 -1
- package/dist/{chunk-PSIGABQ5.js → chunk-QZTLUJBL.js} +1 -1
- package/dist/{chunk-Z5GLI3AC.js → chunk-RBU6S27I.js} +10 -8
- package/dist/{chunk-DRVU56LK.js → chunk-RFVQDNIT.js} +19 -11
- package/dist/chunk-RLDIAT4F.js +7 -0
- package/dist/chunk-RTABBR2E.js +68 -0
- package/dist/{chunk-5N6R4USJ.js → chunk-SDNIPJPM.js} +1 -1
- package/dist/{chunk-O44XKAD6.js → chunk-SYXSGWNE.js} +6 -4
- package/dist/{chunk-VDEBLHQC.js → chunk-TBZB627Y.js} +8 -6
- package/dist/{chunk-DJWMHKN5.js → chunk-TP3LLTP7.js} +6 -6
- package/dist/{chunk-NDJTJNFH.js → chunk-UKPQDNTE.js} +2 -2
- package/dist/{chunk-NOY3G4YX.js → chunk-USO7PAIT.js} +1 -1
- package/dist/{chunk-YXAAHLMF.js → chunk-VK743S4L.js} +7 -5
- package/dist/{chunk-R5756BNI.js → chunk-X3G7OJKA.js} +3 -3
- package/dist/chunk-XJPH3TL7.js +50 -0
- package/dist/{chunk-JCJA22ZN.js → chunk-XJUDFLDF.js} +4 -2
- package/dist/{chunk-SVBLMLJM.js → chunk-XYU4RE35.js} +1 -1
- package/dist/{chunk-JQDHDPWX.js → chunk-YGFDJWW6.js} +3 -3
- package/dist/{chunk-HXO6663T.js → chunk-YSL6C4TP.js} +2 -2
- package/dist/{chunk-MYDEFJS3.js → chunk-ZFGFRLWN.js} +1 -1
- package/dist/{chunk-TQKARZW6.js → chunk-ZJCGRPXS.js} +2 -2
- package/dist/{chunk-BCUIZE4G.js → chunk-ZTSBOPRT.js} +1 -1
- package/dist/{chunk-6URDOTFT.js → chunk-ZUSVLWHC.js} +6 -6
- package/dist/index.css +1244 -957
- package/dist/index.d.ts +9 -3
- package/dist/index.js +85 -77
- package/dist/inputs/src/InputGroup.css +271 -264
- package/dist/inputs/src/InputGroup.js +1 -1
- package/dist/inputs/src/NumberField.css +293 -286
- package/dist/inputs/src/NumberField.js +14 -12
- package/dist/inputs/src/PasswordField.css +281 -274
- package/dist/inputs/src/PasswordField.js +13 -11
- package/dist/inputs/src/RemainingCharacterCount.css +37 -30
- package/dist/inputs/src/RemainingCharacterCount.js +7 -5
- package/dist/inputs/src/SearchField.css +287 -280
- package/dist/inputs/src/SearchField.js +14 -12
- package/dist/inputs/src/TextArea.css +288 -281
- package/dist/inputs/src/TextArea.js +13 -11
- package/dist/inputs/src/TextField.css +285 -278
- package/dist/inputs/src/TextField.js +17 -15
- package/dist/inputs/src/index.css +331 -324
- package/dist/inputs/src/index.js +25 -23
- package/dist/overlays/Popover/src/Popover.css +548 -541
- package/dist/overlays/Popover/src/Popover.js +12 -10
- package/dist/overlays/Popover/src/index.css +548 -541
- package/dist/overlays/Popover/src/index.js +12 -10
- package/dist/radio/src/DecorativeRadio.css +61 -54
- package/dist/radio/src/DecorativeRadio.js +9 -7
- package/dist/radio/src/Radio.css +53 -46
- package/dist/radio/src/Radio.js +9 -7
- package/dist/radio/src/RadioField.css +40 -33
- package/dist/radio/src/RadioField.js +2 -2
- package/dist/radio/src/RadioGroup.css +105 -98
- package/dist/radio/src/RadioGroup.js +9 -7
- package/dist/radio/src/index.css +105 -98
- package/dist/radio/src/index.js +17 -15
- package/dist/switch/src/Switch.css +50 -43
- package/dist/switch/src/Switch.js +9 -7
- package/dist/switch/src/SwitchField.css +40 -33
- package/dist/switch/src/SwitchField.js +2 -2
- package/dist/switch/src/index.css +56 -49
- package/dist/switch/src/index.js +10 -8
- package/dist/tag/src/Tag.css +397 -390
- package/dist/tag/src/Tag.js +12 -10
- package/dist/tag/src/TagGroup.css +44 -37
- package/dist/tag/src/TagGroup.js +9 -7
- package/dist/tag/src/index.css +407 -400
- package/dist/tag/src/index.js +18 -16
- package/dist/typography/Heading/src/Heading.css +34 -27
- package/dist/typography/Heading/src/Heading.js +1 -1
- package/dist/typography/Heading/src/index.css +34 -27
- package/dist/typography/Heading/src/index.js +1 -1
- package/dist/typography/Label/src/Label.css +34 -27
- package/dist/typography/Label/src/Label.js +3 -1
- package/dist/typography/Label/src/index.css +34 -27
- package/dist/typography/Label/src/index.js +3 -1
- package/dist/typography/OverlineText/src/OverlineText.css +34 -27
- package/dist/typography/OverlineText/src/OverlineText.js +1 -1
- package/dist/typography/OverlineText/src/index.css +34 -27
- package/dist/typography/OverlineText/src/index.js +1 -1
- package/dist/typography/Text/src/Text.css +34 -27
- package/dist/typography/Text/src/Text.js +1 -1
- package/dist/typography/Text/src/index.css +34 -27
- package/dist/typography/Text/src/index.js +1 -1
- package/dist/utils/src/EnsureTextWrapper.css +34 -27
- package/dist/utils/src/EnsureTextWrapper.d.ts +1 -1
- package/dist/utils/src/EnsureTextWrapper.js +7 -5
- package/dist/utils/src/index.css +34 -27
- package/dist/utils/src/index.js +7 -5
- package/dist/utils/src/types.d.ts +1 -1
- package/package.json +9 -9
- package/dist/Section/src/Section.d.ts +0 -19
- package/dist/Section/src/Section.js +0 -3
- package/dist/Section/src/SectionContext.d.ts +0 -9
- package/dist/Section/src/SectionContext.js +0 -2
- package/dist/Section/src/index.d.ts +0 -6
- package/dist/Section/src/index.js +0 -3
- package/dist/chunk-5H5AZJPQ.js +0 -7
- package/dist/chunk-GDB7JQ3D.js +0 -153
|
@@ -1,30 +1,33 @@
|
|
|
1
|
-
import { _SelectValue } from './chunk-NDJTJNFH.js';
|
|
2
1
|
import { SelectContext } from './chunk-T24MBA34.js';
|
|
3
|
-
import {
|
|
2
|
+
import { _SelectValue } from './chunk-UKPQDNTE.js';
|
|
3
|
+
import { _Popover } from './chunk-ZUSVLWHC.js';
|
|
4
4
|
import { _Footer } from './chunk-VOZN65OL.js';
|
|
5
|
-
import { _ListBox } from './chunk-
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
5
|
+
import { _ListBox } from './chunk-TP3LLTP7.js';
|
|
6
|
+
import { _HelperMessage } from './chunk-5MVIPFJG.js';
|
|
7
|
+
import { ensureTextWrapper } from './chunk-X3G7OJKA.js';
|
|
8
|
+
import { _ErrorMessage } from './chunk-EJGX57JX.js';
|
|
9
|
+
import { _ToggleArrow } from './chunk-XJPH3TL7.js';
|
|
10
|
+
import { _Label } from './chunk-NEVRDLRS.js';
|
|
11
|
+
import { useFormProps } from './chunk-RTABBR2E.js';
|
|
10
12
|
import { BadgeContext } from './chunk-CQDLZ42T.js';
|
|
11
13
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
12
14
|
import { ClearContainerSlots, ClearProviders } from './chunk-HXI3MEEK.js';
|
|
13
15
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
14
16
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
15
17
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
16
|
-
import { IconContext
|
|
18
|
+
import { IconContext } from '@hopper-ui/icons';
|
|
17
19
|
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
18
20
|
import { forwardRef } from 'react';
|
|
19
21
|
import { useContextProps, composeRenderProps, TextContext as TextContext$1, ButtonContext, Select as Select$1, Button } from 'react-aria-components';
|
|
20
22
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
21
23
|
|
|
22
24
|
// css-module:./Select.module.css#css-module
|
|
23
|
-
var Select_module_default = { "hop-Select": "Select-module__hop-
|
|
25
|
+
var Select_module_default = { "hop-Select": "Select-module__hop-Select___seuDq", "hop-Select--fluid": "Select-module__hop-Select--fluid___BBRur", "hop-Select__label": "Select-module__hop-Select__label___J4OCa", "hop-Select__button": "Select-module__hop-Select__button___9tMvD", "hop-Select__button--sm": "Select-module__hop-Select__button--sm___E4LyZ", "hop-Select__button--md": "Select-module__hop-Select__button--md___OaW5D", "hop-Select__prefix": "Select-module__hop-Select__prefix___kJK-x", "hop-Select__button-icon": "Select-module__hop-Select__button-icon___0uaGB", "hop-Select__helper-message": "Select-module__hop-Select__helper-message___dTR3p", "hop-Select__error-message": "Select-module__hop-Select__error-message___e1ged" };
|
|
24
26
|
var GlobalSelectCssSelector = "hop-Select";
|
|
25
27
|
function Select(props, ref) {
|
|
26
28
|
var _a, _b, _c, _d;
|
|
27
29
|
[props, ref] = useContextProps(props, ref, SelectContext);
|
|
30
|
+
props = useFormProps(props);
|
|
28
31
|
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
29
32
|
const {
|
|
30
33
|
align: alignProp,
|
|
@@ -138,7 +141,6 @@ function Select(props, ref) {
|
|
|
138
141
|
...otherProps,
|
|
139
142
|
children: (selectRenderProps) => {
|
|
140
143
|
const { isOpen } = selectRenderProps;
|
|
141
|
-
const ButtonIcon = isOpen ? AngleUpIcon : AngleDownIcon;
|
|
142
144
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
143
145
|
label && /* @__PURE__ */ jsx(
|
|
144
146
|
_Label,
|
|
@@ -190,7 +192,13 @@ function Select(props, ref) {
|
|
|
190
192
|
/* @__PURE__ */ jsx(_SelectValue, { size, children: (valueRenderProps) => {
|
|
191
193
|
return renderValue == null ? void 0 : renderValue(valueRenderProps);
|
|
192
194
|
} }),
|
|
193
|
-
/* @__PURE__ */ jsx(
|
|
195
|
+
/* @__PURE__ */ jsx(
|
|
196
|
+
_ToggleArrow,
|
|
197
|
+
{
|
|
198
|
+
className: Select_module_default["hop-Select__button-icon"],
|
|
199
|
+
isExpanded: isOpen
|
|
200
|
+
}
|
|
201
|
+
)
|
|
194
202
|
] }),
|
|
195
203
|
description && /* @__PURE__ */ jsx(_HelperMessage, { className: Select_module_default["hop-Select__helper-message"], children: description }),
|
|
196
204
|
/* @__PURE__ */ jsx(_ErrorMessage, { className: Select_module_default["hop-Select__error-message"], children: errorMessage })
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { FormContext } from './chunk-Q7NXUUB3.js';
|
|
2
|
+
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
3
|
+
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
4
|
+
import clsx from 'clsx';
|
|
5
|
+
import { forwardRef, useContext, useMemo } from 'react';
|
|
6
|
+
import { Form as Form$1 } from 'react-aria-components';
|
|
7
|
+
import { jsx } from 'react/jsx-runtime';
|
|
8
|
+
|
|
9
|
+
// css-module:./Form.module.css#css-module
|
|
10
|
+
var Form_module_default = { "hop-Form": "Form-module__hop-Form___OXHm7" };
|
|
11
|
+
var GlobalFormCssSelector = "hop-Form";
|
|
12
|
+
function useFormProps(props) {
|
|
13
|
+
const ctx = useContext(FormContext);
|
|
14
|
+
return useMemo(() => {
|
|
15
|
+
let result = props;
|
|
16
|
+
if (ctx) {
|
|
17
|
+
result = { ...props };
|
|
18
|
+
for (const key in ctx) {
|
|
19
|
+
if (result[key] === void 0) {
|
|
20
|
+
result[key] = ctx[key];
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
return result;
|
|
25
|
+
}, [ctx, props]);
|
|
26
|
+
}
|
|
27
|
+
function Form(props, ref) {
|
|
28
|
+
var _a;
|
|
29
|
+
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
30
|
+
const {
|
|
31
|
+
className,
|
|
32
|
+
children,
|
|
33
|
+
style,
|
|
34
|
+
isFluid,
|
|
35
|
+
isDisabled,
|
|
36
|
+
necessityIndicator,
|
|
37
|
+
size: sizeProp,
|
|
38
|
+
...otherProps
|
|
39
|
+
} = ownProps;
|
|
40
|
+
const size = (_a = useResponsiveValue(sizeProp)) != null ? _a : "md";
|
|
41
|
+
const classNames = clsx(
|
|
42
|
+
GlobalFormCssSelector,
|
|
43
|
+
cssModule(
|
|
44
|
+
Form_module_default,
|
|
45
|
+
"hop-Form"
|
|
46
|
+
),
|
|
47
|
+
stylingProps.className,
|
|
48
|
+
className
|
|
49
|
+
);
|
|
50
|
+
const mergedStyles = {
|
|
51
|
+
...stylingProps.style,
|
|
52
|
+
...style
|
|
53
|
+
};
|
|
54
|
+
return /* @__PURE__ */ jsx(FormContext.Provider, { value: { isDisabled, isFluid, necessityIndicator, size }, children: /* @__PURE__ */ jsx(
|
|
55
|
+
Form$1,
|
|
56
|
+
{
|
|
57
|
+
ref,
|
|
58
|
+
className: classNames,
|
|
59
|
+
style: mergedStyles,
|
|
60
|
+
...otherProps,
|
|
61
|
+
children
|
|
62
|
+
}
|
|
63
|
+
) });
|
|
64
|
+
}
|
|
65
|
+
var _Form = forwardRef(Form);
|
|
66
|
+
_Form.displayName = "Form";
|
|
67
|
+
|
|
68
|
+
export { GlobalFormCssSelector, _Form, useFormProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ClearButtonContext } from './chunk-DXVKHP4V.js';
|
|
2
|
-
import { _EmbeddedButton } from './chunk-
|
|
2
|
+
import { _EmbeddedButton } from './chunk-QZTLUJBL.js';
|
|
3
3
|
import { useLocalizedString } from './chunk-TFVDF4YH.js';
|
|
4
4
|
import { DismissIcon } from '@hopper-ui/icons';
|
|
5
5
|
import { forwardRef } from 'react';
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { CheckboxFieldContext } from './chunk-ZGNK4GWA.js';
|
|
2
2
|
import { CheckboxGroupContext } from './chunk-N7YDPVZL.js';
|
|
3
|
-
import { _HelperMessage } from './chunk-5L4SRFMM.js';
|
|
4
3
|
import { CheckboxContext } from './chunk-2EAZPH3M.js';
|
|
5
|
-
import {
|
|
6
|
-
import { _ErrorMessage } from './chunk-
|
|
4
|
+
import { _HelperMessage } from './chunk-5MVIPFJG.js';
|
|
5
|
+
import { _ErrorMessage } from './chunk-EJGX57JX.js';
|
|
6
|
+
import { _Label } from './chunk-NEVRDLRS.js';
|
|
7
|
+
import { useFormProps } from './chunk-RTABBR2E.js';
|
|
7
8
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
8
9
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
9
10
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
@@ -14,11 +15,12 @@ import { useContextProps, composeRenderProps, CheckboxGroup as CheckboxGroup$1 }
|
|
|
14
15
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
15
16
|
|
|
16
17
|
// css-module:./CheckboxGroup.module.css#css-module
|
|
17
|
-
var CheckboxGroup_module_default = { "hop-CheckboxGroup": "CheckboxGroup-module__hop-
|
|
18
|
+
var CheckboxGroup_module_default = { "hop-CheckboxGroup": "CheckboxGroup-module__hop-CheckboxGroup___3NbD4", "hop-CheckboxGroup--bordered": "CheckboxGroup-module__hop-CheckboxGroup--bordered___CfcV5", "hop-CheckboxGroup--sm": "CheckboxGroup-module__hop-CheckboxGroup--sm___JV4x3", "hop-CheckboxGroup--md": "CheckboxGroup-module__hop-CheckboxGroup--md___QjdjF", "hop-CheckboxGroup__label": "CheckboxGroup-module__hop-CheckboxGroup__label___OfD-I", "hop-CheckboxGroup__list": "CheckboxGroup-module__hop-CheckboxGroup__list___Oa-UA", "hop-CheckboxGroup__checkbox": "CheckboxGroup-module__hop-CheckboxGroup__checkbox___D76Qp", "hop-CheckboxGroup__error-message": "CheckboxGroup-module__hop-CheckboxGroup__error-message___AvyZR", "hop-CheckboxGroup__helper-message": "CheckboxGroup-module__hop-CheckboxGroup__helper-message___po9xv" };
|
|
18
19
|
var GlobalCheckboxGroupCssSelector = "hop-CheckboxGroup";
|
|
19
20
|
function CheckboxGroup(props, ref) {
|
|
20
21
|
var _a, _b, _c;
|
|
21
22
|
[props, ref] = useContextProps(props, ref, CheckboxGroupContext);
|
|
23
|
+
props = useFormProps(props);
|
|
22
24
|
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
23
25
|
const { stylingProps: listStylingProps, ...listProps } = useStyledSystem((_a = ownProps.listProps) != null ? _a : {});
|
|
24
26
|
const {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { _DecorativeRadio } from './chunk-
|
|
2
|
-
import { _DecorativeCheckbox } from './chunk-
|
|
3
|
-
import { ensureTextWrapper } from './chunk-R5756BNI.js';
|
|
1
|
+
import { _DecorativeRadio } from './chunk-YSL6C4TP.js';
|
|
2
|
+
import { _DecorativeCheckbox } from './chunk-YGFDJWW6.js';
|
|
4
3
|
import { ListBoxItemContext } from './chunk-Y2POLIXK.js';
|
|
5
|
-
import { _ListBoxItemSkeleton } from './chunk-
|
|
4
|
+
import { _ListBoxItemSkeleton } from './chunk-QKJUME2B.js';
|
|
6
5
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
6
|
+
import { ensureTextWrapper } from './chunk-X3G7OJKA.js';
|
|
7
7
|
import { BadgeContext } from './chunk-CQDLZ42T.js';
|
|
8
8
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
9
9
|
import { AvatarContext } from './chunk-AES7QBQE.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___IE8-z", "hop-ListBoxItem--xs": "ListBoxItem-module__hop-ListBoxItem--xs___HQP4E", "hop-ListBoxItem--sm": "ListBoxItem-module__hop-ListBoxItem--sm___ThhWh", "hop-ListBoxItem--md": "ListBoxItem-module__hop-ListBoxItem--md___oNHXF", "hop-ListBoxItem--lg": "ListBoxItem-module__hop-ListBoxItem--lg___C7R5e", "hop-ListBoxItem__inner": "ListBoxItem-module__hop-ListBoxItem__inner___aaYxB", "hop-ListBoxItem__checkmark": "ListBoxItem-module__hop-ListBoxItem__checkmark___anZ2b", "hop-ListBoxItem__description": "ListBoxItem-module__hop-ListBoxItem__description___NpjiB", "hop-ListBoxItem__radio": "ListBoxItem-module__hop-ListBoxItem__radio___Dn9Cy", "hop-ListBoxItem__checkbox": "ListBoxItem-module__hop-ListBoxItem__checkbox___Hwu82", "hop-ListBoxItem__avatar": "ListBoxItem-module__hop-ListBoxItem__avatar___-IG1L", "hop-ListBoxItem__icon-list": "ListBoxItem-module__hop-ListBoxItem__icon-list___aGhSg", "hop-ListBoxItem__icon": "ListBoxItem-module__hop-ListBoxItem__icon___9cvZP", "hop-ListBoxItem__label": "ListBoxItem-module__hop-ListBoxItem__label___TDIs9", "hop-ListBoxItem__end-icon-list": "ListBoxItem-module__hop-ListBoxItem__end-icon-list___N6zJv", "hop-ListBoxItem__end-icon": "ListBoxItem-module__hop-ListBoxItem__end-icon___qGrpv", "hop-ListBoxItem__badge": "ListBoxItem-module__hop-ListBoxItem__badge___R5c41" };
|
|
22
22
|
var GlobalListBoxItemCssSelector = "hop-ListBoxItem";
|
|
23
23
|
var ListBoxItemToIconSizeAdapter = {
|
|
24
24
|
xs: "sm",
|
|
@@ -39,6 +39,7 @@ var ListBoxItemToAvatarSizeAdapter = {
|
|
|
39
39
|
lg: "md"
|
|
40
40
|
};
|
|
41
41
|
function ListBoxItemInner(props) {
|
|
42
|
+
var _a, _b;
|
|
42
43
|
const listStateContext = useContext(ListStateContext);
|
|
43
44
|
const {
|
|
44
45
|
selectionMode,
|
|
@@ -57,7 +58,8 @@ function ListBoxItemInner(props) {
|
|
|
57
58
|
const isRadio = selectionIndicator === "input" && selectionMode === "single";
|
|
58
59
|
const isCheckbox = selectionIndicator === "input" && selectionMode === "multiple";
|
|
59
60
|
const isCheck = selectionIndicator === "check" && selectionMode !== "none";
|
|
60
|
-
const
|
|
61
|
+
const selectedKeysLength = (_b = (_a = listStateContext == null ? void 0 : listStateContext.selectionManager) == null ? void 0 : _a.selectedKeys) == null ? void 0 : _b.size;
|
|
62
|
+
const isListHasSelection = (selectedKeysLength != null ? selectedKeysLength : 0) > 0;
|
|
61
63
|
const [isListHasSelectionEnd, setIsListHasSelectionEnd] = useState(isListHasSelection);
|
|
62
64
|
const handleTransitionEnd = (event) => {
|
|
63
65
|
if (event.propertyName === "grid-template-columns") {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { isFunction } from './chunk-TIPN4VYD.js';
|
|
2
|
-
import {
|
|
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-TBZB627Y.js';
|
|
5
5
|
import { ListBoxItemContext } from './chunk-Y2POLIXK.js';
|
|
6
|
-
import { useLocalizedString } from './chunk-TFVDF4YH.js';
|
|
7
6
|
import { HeaderContext } from './chunk-7JOGKC3W.js';
|
|
8
|
-
import {
|
|
7
|
+
import { useLocalizedString } from './chunk-TFVDF4YH.js';
|
|
8
|
+
import { _Text } from './chunk-MM727X5U.js';
|
|
9
9
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
10
10
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
11
11
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
@@ -17,7 +17,7 @@ import { useContextProps, composeRenderProps, ListBox as ListBox$1, Collection }
|
|
|
17
17
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
18
18
|
|
|
19
19
|
// css-module:./ListBox.module.css#css-module
|
|
20
|
-
var ListBox_module_default = { "hop-ListBox": "ListBox-module__hop-
|
|
20
|
+
var ListBox_module_default = { "hop-ListBox": "ListBox-module__hop-ListBox___k3FN-", "hop-ListBox--fluid": "ListBox-module__hop-ListBox--fluid___P77qj", "hop-ListBox__section": "ListBox-module__hop-ListBox__section___tn1SB", "hop-ListBox__item": "ListBox-module__hop-ListBox__item___fRzRY", "hop-ListBox__section-header": "ListBox-module__hop-ListBox__section-header___vJb8R" };
|
|
21
21
|
var GlobalListBoxCssSelector = "hop-ListBox";
|
|
22
22
|
var GlobalListBoxEmptyItemCssSelector = "hop-ListBox__empty-item";
|
|
23
23
|
var ListBoxToTextSizeAdapter = {
|
|
@@ -99,7 +99,7 @@ function ListBox(props, ref) {
|
|
|
99
99
|
[HeaderContext, {
|
|
100
100
|
className: ListBox_module_default["hop-ListBox__section-header"]
|
|
101
101
|
}],
|
|
102
|
-
[
|
|
102
|
+
[ListBoxSectionContext, {
|
|
103
103
|
className: ListBox_module_default["hop-ListBox__section"]
|
|
104
104
|
}],
|
|
105
105
|
[ListBoxItemContext, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useIsOverflow } from './chunk-EHXOXTDN.js';
|
|
2
2
|
import { useLocalizedString } from './chunk-TFVDF4YH.js';
|
|
3
|
-
import { _Text } from './chunk-
|
|
3
|
+
import { _Text } from './chunk-MM727X5U.js';
|
|
4
4
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
5
5
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
6
6
|
import { AvatarContext } from './chunk-AES7QBQE.js';
|
|
@@ -16,7 +16,7 @@ import { useContextProps, SelectValueContext, SelectStateContext, useSlottedCont
|
|
|
16
16
|
import { jsx } from 'react/jsx-runtime';
|
|
17
17
|
|
|
18
18
|
// css-module:./SelectValue.module.css#css-module
|
|
19
|
-
var SelectValue_module_default = { "hop-SelectValue": "SelectValue-module__hop-
|
|
19
|
+
var SelectValue_module_default = { "hop-SelectValue": "SelectValue-module__hop-SelectValue___WZNcG", "hop-SelectValue__text": "SelectValue-module__hop-SelectValue__text___hCdE9", "hop-SelectValue__avatar": "SelectValue-module__hop-SelectValue__avatar___eX9dA", "hop-SelectValue__icon": "SelectValue-module__hop-SelectValue__icon___E1t6L", "hop-SelectValue__end-icon": "SelectValue-module__hop-SelectValue__end-icon___q-P8n" };
|
|
20
20
|
var GlobalSelectValueCssSelector = "hop-SelectValue";
|
|
21
21
|
var SelectValueToAvatarSizeAdapter = {
|
|
22
22
|
sm: "xs",
|
|
@@ -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___aKk8b" };
|
|
12
12
|
var GlobalIconListCssSelector = "hop-IconList";
|
|
13
13
|
function IconList(props, ref) {
|
|
14
14
|
[props, ref] = useContextProps(props, ref, IconListContext);
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { TagContext } from './chunk-EWMWQ2MC.js';
|
|
2
|
-
import { _ClearButton } from './chunk-
|
|
3
|
-
import { mapOrbiterToHopperVariants } from './chunk-
|
|
4
|
-
import { _Spinner } from './chunk-
|
|
5
|
-
import { ensureTextWrapper } from './chunk-R5756BNI.js';
|
|
2
|
+
import { _ClearButton } from './chunk-SDNIPJPM.js';
|
|
3
|
+
import { mapOrbiterToHopperVariants } from './chunk-QZTLUJBL.js';
|
|
4
|
+
import { _Spinner } from './chunk-LL362RG6.js';
|
|
6
5
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
6
|
+
import { ensureTextWrapper } from './chunk-X3G7OJKA.js';
|
|
7
7
|
import { useLocalizedString } from './chunk-TFVDF4YH.js';
|
|
8
|
+
import { useFormProps } from './chunk-RTABBR2E.js';
|
|
8
9
|
import { BadgeContext } from './chunk-CQDLZ42T.js';
|
|
9
10
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
10
11
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
@@ -20,7 +21,7 @@ import { useContextProps, composeRenderProps, Tag as Tag$1 } from 'react-aria-co
|
|
|
20
21
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
21
22
|
|
|
22
23
|
// css-module:./Tag.module.css#css-module
|
|
23
|
-
var Tag_module_default = { "hop-Tag": "Tag-module__hop-
|
|
24
|
+
var Tag_module_default = { "hop-Tag": "Tag-module__hop-Tag___sbn6o", "hop-Tag--sm": "Tag-module__hop-Tag--sm___6kwWX", "hop-Tag__remove-btn": "Tag-module__hop-Tag__remove-btn___3IObp", "hop-Tag__Spinner": "Tag-module__hop-Tag__Spinner___pFwVj", "hop-Tag__avatar": "Tag-module__hop-Tag__avatar___ForEc", "hop-Tag--md": "Tag-module__hop-Tag--md___IrR1-", "hop-Tag--lg": "Tag-module__hop-Tag--lg___EJhU5", "hop-Tag--neutral": "Tag-module__hop-Tag--neutral___V-Woc", "hop-Tag--subdued": "Tag-module__hop-Tag--subdued___E2yQY", "hop-Tag--progress": "Tag-module__hop-Tag--progress___xsT0l", "hop-Tag--positive": "Tag-module__hop-Tag--positive___8-j-b", "hop-Tag--caution": "Tag-module__hop-Tag--caution___aiMnF", "hop-Tag--negative": "Tag-module__hop-Tag--negative___D9YhU", "hop-Tag--option1": "Tag-module__hop-Tag--option1___zs5pn", "hop-Tag--option2": "Tag-module__hop-Tag--option2___3Wn-b", "hop-Tag--option3": "Tag-module__hop-Tag--option3___w-4ol", "hop-Tag--option4": "Tag-module__hop-Tag--option4___eLEcC", "hop-Tag--option5": "Tag-module__hop-Tag--option5___QuYOq", "hop-Tag--option6": "Tag-module__hop-Tag--option6___cESws", "hop-Tag__icon": "Tag-module__hop-Tag__icon___cJUVv", "hop-Tag__icon-list": "Tag-module__hop-Tag__icon-list___9XEvF", "hop-Tag__text": "Tag-module__hop-Tag__text___50-xL", "hop-Tag__badge": "Tag-module__hop-Tag__badge___-bC0L", "hop-Tag__badge--subdued": "Tag-module__hop-Tag__badge--subdued___D89bI" };
|
|
24
25
|
var GlobalTagCssSelector = "hop-Tag";
|
|
25
26
|
var TagToTextSizeAdapter = {
|
|
26
27
|
sm: "xs",
|
|
@@ -40,6 +41,7 @@ var TagToButtonSizeAdapter = {
|
|
|
40
41
|
function Tag(props, ref) {
|
|
41
42
|
var _a;
|
|
42
43
|
[props, ref] = useContextProps(props, ref, TagContext);
|
|
44
|
+
props = useFormProps(props);
|
|
43
45
|
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
44
46
|
const {
|
|
45
47
|
className,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { isTextOnlyChildren } from './chunk-ZWU6DRRZ.js';
|
|
2
|
-
import { _Text } from './chunk-
|
|
2
|
+
import { _Text } from './chunk-MM727X5U.js';
|
|
3
3
|
import { jsx } from 'react/jsx-runtime';
|
|
4
4
|
|
|
5
|
-
function ensureTextWrapper(children) {
|
|
5
|
+
function ensureTextWrapper(children, elementType) {
|
|
6
6
|
if (children && isTextOnlyChildren(children)) {
|
|
7
|
-
return /* @__PURE__ */ jsx(_Text, { children });
|
|
7
|
+
return /* @__PURE__ */ jsx(_Text, { elementType, children });
|
|
8
8
|
}
|
|
9
9
|
return children;
|
|
10
10
|
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { ToggleArrowContext } from './chunk-J6WBI2I2.js';
|
|
2
|
+
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
3
|
+
import { AngleDownIcon } from '@hopper-ui/icons';
|
|
4
|
+
import { useStyledSystem } from '@hopper-ui/styled-system';
|
|
5
|
+
import clsx from 'clsx';
|
|
6
|
+
import { forwardRef } from 'react';
|
|
7
|
+
import { useContextProps } from 'react-aria-components';
|
|
8
|
+
import { jsx } from 'react/jsx-runtime';
|
|
9
|
+
|
|
10
|
+
// css-module:./ToggleArrow.module.css#css-module
|
|
11
|
+
var ToggleArrow_module_default = { "hop-ToggleArrow": "ToggleArrow-module__hop-ToggleArrow___ZWmVx" };
|
|
12
|
+
var GlobalToggleArrowCssSelector = "hop-ToggleArrow";
|
|
13
|
+
function ToggleArrow(props, ref) {
|
|
14
|
+
[props, ref] = useContextProps(props, ref, ToggleArrowContext);
|
|
15
|
+
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
16
|
+
const {
|
|
17
|
+
className,
|
|
18
|
+
isExpanded,
|
|
19
|
+
style: styleProp,
|
|
20
|
+
...otherProps
|
|
21
|
+
} = ownProps;
|
|
22
|
+
const classNames = clsx(
|
|
23
|
+
GlobalToggleArrowCssSelector,
|
|
24
|
+
cssModule(
|
|
25
|
+
ToggleArrow_module_default,
|
|
26
|
+
"hop-ToggleArrow"
|
|
27
|
+
),
|
|
28
|
+
stylingProps.className,
|
|
29
|
+
className
|
|
30
|
+
);
|
|
31
|
+
const style = {
|
|
32
|
+
...stylingProps.style,
|
|
33
|
+
...styleProp
|
|
34
|
+
};
|
|
35
|
+
return /* @__PURE__ */ jsx(
|
|
36
|
+
AngleDownIcon,
|
|
37
|
+
{
|
|
38
|
+
ref,
|
|
39
|
+
className: classNames,
|
|
40
|
+
style,
|
|
41
|
+
size: "sm",
|
|
42
|
+
"data-expanded": isExpanded || void 0,
|
|
43
|
+
...otherProps
|
|
44
|
+
}
|
|
45
|
+
);
|
|
46
|
+
}
|
|
47
|
+
var _ToggleArrow = forwardRef(ToggleArrow);
|
|
48
|
+
_ToggleArrow.displayName = "ToggleArrow";
|
|
49
|
+
|
|
50
|
+
export { GlobalToggleArrowCssSelector, _ToggleArrow };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { CheckboxFieldContext } from './chunk-ZGNK4GWA.js';
|
|
2
2
|
import { CheckboxContext } from './chunk-2EAZPH3M.js';
|
|
3
|
-
import {
|
|
3
|
+
import { useFormProps } from './chunk-RTABBR2E.js';
|
|
4
|
+
import { _Text } from './chunk-MM727X5U.js';
|
|
4
5
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
5
6
|
import { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
6
7
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
@@ -14,7 +15,7 @@ import { useContextProps, composeRenderProps } from 'react-aria-components';
|
|
|
14
15
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
15
16
|
|
|
16
17
|
// css-module:./CheckboxField.module.css#css-module
|
|
17
|
-
var CheckboxField_module_default = { "hop-CheckboxField": "CheckboxField-module__hop-
|
|
18
|
+
var CheckboxField_module_default = { "hop-CheckboxField": "CheckboxField-module__hop-CheckboxField___CopQp", "hop-CheckboxField--sm": "CheckboxField-module__hop-CheckboxField--sm___-fmG7", "hop-CheckboxField--md": "CheckboxField-module__hop-CheckboxField--md___5NXiz", "hop-CheckboxField__description": "CheckboxField-module__hop-CheckboxField__description___Cp5xf", "hop-CheckboxField__checkbox": "CheckboxField-module__hop-CheckboxField__checkbox___cbibX" };
|
|
18
19
|
var GlobalCheckboxFieldCssSelector = "hop-CheckboxField";
|
|
19
20
|
var CheckboxToDescriptionSizeAdapter = {
|
|
20
21
|
sm: "xs",
|
|
@@ -23,6 +24,7 @@ var CheckboxToDescriptionSizeAdapter = {
|
|
|
23
24
|
function CheckboxField(props, ref) {
|
|
24
25
|
var _a;
|
|
25
26
|
[props, ref] = useContextProps(props, ref, CheckboxFieldContext);
|
|
27
|
+
props = useFormProps(props);
|
|
26
28
|
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
27
29
|
const {
|
|
28
30
|
className,
|
|
@@ -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___zGXPW", "hop-Divider--vertical": "Divider-module__hop-Divider--vertical___PM-tr" };
|
|
11
11
|
var GlobalDividerCssSelector = "hop-Divider";
|
|
12
12
|
function Divider(props, ref) {
|
|
13
13
|
[props, ref] = useContextProps(props, ref, DividerContext);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ensureTextWrapper } from './chunk-R5756BNI.js';
|
|
2
|
-
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
3
1
|
import { CheckboxContext } from './chunk-2EAZPH3M.js';
|
|
2
|
+
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
3
|
+
import { ensureTextWrapper } from './chunk-X3G7OJKA.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___BDXhJ Checkbox-module__hop-Checkbox___fJ0hw", "hop-DecorativeCheckbox--sm": "DecorativeCheckbox-module__hop-DecorativeCheckbox--sm___bo4E8 Checkbox-module__hop-Checkbox--sm___C3RYR", "hop-DecorativeCheckbox--md": "DecorativeCheckbox-module__hop-DecorativeCheckbox--md___eikLw Checkbox-module__hop-Checkbox--md___7jr7u", "hop-DecorativeCheckbox__icon": "DecorativeCheckbox-module__hop-DecorativeCheckbox__icon___mgnQg Checkbox-module__hop-Checkbox__icon___CorNP", "hop-DecorativeCheckbox__icon-list": "DecorativeCheckbox-module__hop-DecorativeCheckbox__icon-list___WUmBl Checkbox-module__hop-Checkbox__icon___CorNP", "hop-DecorativeCheckbox__box": "DecorativeCheckbox-module__hop-DecorativeCheckbox__box___Kgwzc Checkbox-module__hop-Checkbox__box___Tpq92", "hop-DecorativeCheckbox__check": "DecorativeCheckbox-module__hop-DecorativeCheckbox__check___eTb3E Checkbox-module__hop-Checkbox__check___bDkze", "hop-DecorativeCheckbox__text": "DecorativeCheckbox-module__hop-DecorativeCheckbox__text___83f4T Checkbox-module__hop-Checkbox__text___NlwJN" };
|
|
19
19
|
var GlobalDecorativeCheckboxCssSelector = "hop-DecorativeCheckbox";
|
|
20
20
|
function DecorativeCheckbox(props, ref) {
|
|
21
21
|
var _a;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RadioContext } from './chunk-FU5CCPLP.js';
|
|
2
|
-
import { ensureTextWrapper } from './chunk-R5756BNI.js';
|
|
3
2
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
3
|
+
import { ensureTextWrapper } from './chunk-X3G7OJKA.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:./DecorativeRadio.module.css#css-module
|
|
18
|
-
var DecorativeRadio_module_default = { "hop-DecorativeRadio": "DecorativeRadio-module__hop-
|
|
18
|
+
var DecorativeRadio_module_default = { "hop-DecorativeRadio": "DecorativeRadio-module__hop-DecorativeRadio___Wpi5I Radio-module__hop-Radio___TG-WF", "hop-DecorativeRadio--sm": "DecorativeRadio-module__hop-DecorativeRadio--sm___F9lyI Radio-module__hop-Radio--sm___y4yZa", "hop-DecorativeRadio--md": "DecorativeRadio-module__hop-DecorativeRadio--md___3MZCT Radio-module__hop-Radio--md___bmepu", "hop-DecorativeRadio__icon": "DecorativeRadio-module__hop-DecorativeRadio__icon___6IxUS Radio-module__hop-Radio__icon___PPhpu", "hop-DecorativeRadio__icon-list": "DecorativeRadio-module__hop-DecorativeRadio__icon-list___irJJg Radio-module__hop-Radio__icon___PPhpu", "hop-DecorativeRadio__box": "DecorativeRadio-module__hop-DecorativeRadio__box___9smua Radio-module__hop-Radio__box___f4sNQ", "hop-DecorativeRadio__bullet": "DecorativeRadio-module__hop-DecorativeRadio__bullet___HDYOy Radio-module__hop-Radio__bullet___PmY5I", "hop-DecorativeRadio__text": "DecorativeRadio-module__hop-DecorativeRadio__text___pZJKN Radio-module__hop-Radio__text___lQDmi" };
|
|
19
19
|
var GlobalDecorativeRadioCssSelector = "hop-DecorativeRadio";
|
|
20
20
|
function DecorativeRadio(props, ref) {
|
|
21
21
|
var _a;
|
|
@@ -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___jDh9z", "hop-RichIconAvatarImage--xs": "RichIconAvatarImage-module__hop-RichIconAvatarImage--xs___sDKDs", "hop-RichIconAvatarImage--sm": "RichIconAvatarImage-module__hop-RichIconAvatarImage--sm___fz7KS", "hop-RichIconAvatarImage--md": "RichIconAvatarImage-module__hop-RichIconAvatarImage--md___qGFk1", "hop-RichIconAvatarImage--lg": "RichIconAvatarImage-module__hop-RichIconAvatarImage--lg___oDwrG", "hop-RichIconAvatarImage--xl": "RichIconAvatarImage-module__hop-RichIconAvatarImage--xl___j3ehb", "hop-RichIconAvatarImage--2xl": "RichIconAvatarImage-module__hop-RichIconAvatarImage--2xl___qFOUf", "hop-RichIconAvatarImage__icon": "RichIconAvatarImage-module__hop-RichIconAvatarImage__icon___RS7mU" };
|
|
15
15
|
var GlobalRichIconAvatarImageCssSelector = "hop-RichIconAvatarImage";
|
|
16
16
|
var AvatarToIconSizeAdapter = {
|
|
17
17
|
xs: "md",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RadioContext } from './chunk-FU5CCPLP.js';
|
|
2
|
-
import { ensureTextWrapper } from './chunk-R5756BNI.js';
|
|
3
2
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
3
|
+
import { ensureTextWrapper } from './chunk-X3G7OJKA.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, Radio as Radio$1 } from 'react-ari
|
|
|
13
13
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
14
14
|
|
|
15
15
|
// css-module:./Radio.module.css#css-module
|
|
16
|
-
var Radio_module_default = { "hop-Radio": "Radio-module__hop-
|
|
16
|
+
var Radio_module_default = { "hop-Radio": "Radio-module__hop-Radio___TG-WF", "hop-Radio--sm": "Radio-module__hop-Radio--sm___y4yZa", "hop-Radio--md": "Radio-module__hop-Radio--md___bmepu", "hop-Radio__icon": "Radio-module__hop-Radio__icon___PPhpu", "hop-Radio__icon-list": "Radio-module__hop-Radio__icon-list___8iFsx", "hop-Radio__box": "Radio-module__hop-Radio__box___f4sNQ", "hop-Radio__bullet": "Radio-module__hop-Radio__bullet___PmY5I", "hop-Radio__text": "Radio-module__hop-Radio__text___lQDmi" };
|
|
17
17
|
var GlobalRadioCssSelector = "hop-Radio";
|
|
18
18
|
function Radio(props, ref) {
|
|
19
19
|
var _a;
|
|
@@ -7,7 +7,7 @@ import { useContextProps, Heading as Heading$1 } from 'react-aria-components';
|
|
|
7
7
|
import { jsx } from 'react/jsx-runtime';
|
|
8
8
|
|
|
9
9
|
// css-module:./Heading.module.css#css-module
|
|
10
|
-
var Heading_module_default = { "hop-Heading": "Heading-module__hop-
|
|
10
|
+
var Heading_module_default = { "hop-Heading": "Heading-module__hop-Heading___kTk6X", "hop-Heading--xs": "Heading-module__hop-Heading--xs___YkbL6", "hop-Heading--sm": "Heading-module__hop-Heading--sm___blSam", "hop-Heading--md": "Heading-module__hop-Heading--md___y4meX", "hop-Heading--lg": "Heading-module__hop-Heading--lg___uBzEA", "hop-Heading--xl": "Heading-module__hop-Heading--xl___GpG4F", "hop-Heading--2xl": "Heading-module__hop-Heading--2xl___MTCAL", "hop-Heading--3xl": "Heading-module__hop-Heading--3xl___rWxe6" };
|
|
11
11
|
var GlobalHeadingCssSelector = "hop-Heading";
|
|
12
12
|
function Heading(props, ref) {
|
|
13
13
|
[props, ref] = useContextProps(props, ref, HeadingContext);
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { PopoverContext } from './chunk-SC6ZK5ON.js';
|
|
2
2
|
import { ButtonGroupContext } from './chunk-VJQ7M2BK.js';
|
|
3
|
-
import {
|
|
3
|
+
import { LinkButtonContext } from './chunk-3UQFC2NQ.js';
|
|
4
|
+
import { ButtonContext } from './chunk-WMTWFKKP.js';
|
|
4
5
|
import { isFunction, isNil } from './chunk-TIPN4VYD.js';
|
|
5
6
|
import { ListBoxContext } from './chunk-UIEP5BA5.js';
|
|
6
7
|
import { _HopperProvider } from './chunk-NMKBUGSO.js';
|
|
7
|
-
import {
|
|
8
|
-
import { ButtonContext } from './chunk-WMTWFKKP.js';
|
|
9
|
-
import { HeadingContext } from './chunk-TXZ6BMFR.js';
|
|
10
|
-
import { FooterContext } from './chunk-I67NHYK4.js';
|
|
8
|
+
import { LinkContext } from './chunk-4VVNSXIB.js';
|
|
11
9
|
import { ContentContext } from './chunk-IXB2WK56.js';
|
|
10
|
+
import { FooterContext } from './chunk-I67NHYK4.js';
|
|
11
|
+
import { HeadingContext } from './chunk-TXZ6BMFR.js';
|
|
12
12
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
13
13
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
14
14
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
@@ -19,7 +19,7 @@ import { useContextProps, composeRenderProps, Popover as Popover$1, Dialog } fro
|
|
|
19
19
|
import { jsx } from 'react/jsx-runtime';
|
|
20
20
|
|
|
21
21
|
// css-module:./Popover.module.css#css-module
|
|
22
|
-
var Popover_module_default = { "hop-Popover": "Popover-module__hop-
|
|
22
|
+
var Popover_module_default = { "hop-Popover": "Popover-module__hop-Popover___LJWAP", "fade": "Popover-module__fade___aNg-R", "hop-Popover__wrapper": "Popover-module__hop-Popover__wrapper___tWxHY", "hop-Popover__dialog": "Popover-module__hop-Popover__dialog___SKAez", "hop-Popover__dropdown": "Popover-module__hop-Popover__dropdown___gaiur", "hop-Popover__title": "Popover-module__hop-Popover__title___-P1sb", "hop-Popover__content": "Popover-module__hop-Popover__content___3Gg81", "hop-Popover__list-box": "Popover-module__hop-Popover__list-box___DWRjE", "hop-Popover__footer": "Popover-module__hop-Popover__footer___3WUVh", "hop-Popover__actions": "Popover-module__hop-Popover__actions___kXeak", "hop-Popover__action": "Popover-module__hop-Popover__action___ODE26" };
|
|
23
23
|
var GlobalPopoverCssSelector = "hop-Popover";
|
|
24
24
|
function Popover(props, ref) {
|
|
25
25
|
var _a;
|