@easypost/easy-ui 1.0.0-alpha.65 → 1.0.0-alpha.67
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/Badge/index.js +14 -14
- package/Badge/index.mjs +14 -14
- package/Banner/index.js +5 -5
- package/Banner/index.mjs +5 -5
- package/Button/index.js +1 -1
- package/Button/index.mjs +1 -1
- package/CHANGELOG.md +13 -0
- package/Calendar/index.js +1 -1
- package/Calendar/index.mjs +1 -1
- package/Card/index.js +1 -1
- package/Card/index.mjs +1 -1
- package/Checkbox/index.js +1 -1
- package/Checkbox/index.mjs +1 -1
- package/CodeBlock/index.js +13 -13
- package/CodeBlock/index.mjs +13 -13
- package/CodeSnippet/index.js +1 -1
- package/CodeSnippet/index.mjs +1 -1
- package/DataGrid/index.js +57 -57
- package/DataGrid/index.mjs +58 -58
- package/DatePicker/index.js +3 -3
- package/DatePicker/index.mjs +5 -5
- package/DateRangePicker/index.js +3 -3
- package/DateRangePicker/index.mjs +5 -5
- package/Drawer/index.js +18 -18
- package/Drawer/index.mjs +22 -22
- package/DropdownButton/index.js +12 -12
- package/DropdownButton/index.mjs +12 -12
- package/EmptyStateCard/index.js +8 -8
- package/EmptyStateCard/index.mjs +8 -8
- package/FocusedProductLayout/index.js +23 -23
- package/FocusedProductLayout/index.mjs +23 -23
- package/ForgeLayout/index.js +41 -231
- package/ForgeLayout/index.mjs +40 -230
- package/FormLayout/index.js +5 -5
- package/FormLayout/index.mjs +5 -5
- package/HorizontalGrid/index.js +1 -1
- package/HorizontalGrid/index.mjs +1 -1
- package/HorizontalStack/index.js +1 -1
- package/HorizontalStack/index.mjs +1 -1
- package/Icon/index.js +1 -1
- package/Icon/index.mjs +1 -1
- package/IconButton/index.js +12 -12
- package/IconButton/index.mjs +12 -12
- package/InputField/index.js +1 -1
- package/InputField/index.mjs +1 -1
- package/KebabButton/index.js +1 -1
- package/KebabButton/index.mjs +1 -1
- package/Menu/MenuOverlay.d.ts.map +1 -1
- package/Menu/index.js +1 -1
- package/Menu/index.mjs +1 -1
- package/Menu/utilities.d.ts +3 -0
- package/Menu/utilities.d.ts.map +1 -1
- package/Modal/index.js +19 -19
- package/Modal/index.mjs +23 -23
- package/MultiSelect/MultiSelect.d.ts +123 -0
- package/MultiSelect/MultiSelect.d.ts.map +1 -0
- package/MultiSelect/MultiSelect.stories.d.ts +11 -0
- package/MultiSelect/MultiSelect.stories.d.ts.map +1 -0
- package/MultiSelect/MultiSelect.test.d.ts +2 -0
- package/MultiSelect/MultiSelect.test.d.ts.map +1 -0
- package/MultiSelect/MultiSelectDropdown.d.ts +22 -0
- package/MultiSelect/MultiSelectDropdown.d.ts.map +1 -0
- package/MultiSelect/index.d.ts +2 -0
- package/MultiSelect/index.d.ts.map +1 -0
- package/MultiSelect/index.js +1989 -0
- package/MultiSelect/index.mjs +1974 -0
- package/MultiSelect/utilities.d.ts +3 -0
- package/MultiSelect/utilities.d.ts.map +1 -0
- package/NexusLayout/index.js +28 -28
- package/NexusLayout/index.mjs +28 -28
- package/Notification/index.js +1 -1
- package/Notification/index.mjs +1 -1
- package/Pagination/index.js +7 -7
- package/Pagination/index.mjs +7 -7
- package/PillGroup/index.js +3 -1681
- package/PillGroup/index.mjs +3 -1681
- package/ProductLayout/index.js +21 -21
- package/ProductLayout/index.mjs +25 -25
- package/Provider/index.js +1 -1
- package/Provider/index.mjs +1 -1
- package/RadioButtonGroup/index.js +3 -3
- package/RadioButtonGroup/index.mjs +3 -3
- package/RadioGroup/index.js +1 -1
- package/RadioGroup/index.mjs +1 -1
- package/RangeCalendar/index.js +1 -1
- package/RangeCalendar/index.mjs +1 -1
- package/SearchNav/index.js +29 -29
- package/SearchNav/index.mjs +29 -29
- package/SectionCard/index.js +7 -7
- package/SectionCard/index.mjs +7 -7
- package/Select/index.js +5 -5
- package/Select/index.mjs +5 -5
- package/SelectorErrorTooltip/index.js +1 -1
- package/SelectorErrorTooltip/index.mjs +1 -1
- package/Spinner/index.js +1 -1
- package/Spinner/index.mjs +1 -1
- package/SplitToggleCard/index.js +4 -4
- package/SplitToggleCard/index.mjs +4 -4
- package/Stepper/index.js +1 -1
- package/Stepper/index.mjs +1 -1
- package/TabNav/index.js +1 -1
- package/TabNav/index.mjs +1 -1
- package/TabPanels/index.js +1 -1
- package/TabPanels/index.mjs +2 -2
- package/Tabs/index.js +1 -1
- package/Tabs/index.mjs +1 -1
- package/Text/index.js +1 -1
- package/Text/index.mjs +1 -1
- package/TextField/index.js +1 -1
- package/TextField/index.mjs +1 -1
- package/Textarea/index.js +1 -1
- package/Textarea/index.mjs +1 -1
- package/Toggle/index.js +1 -1
- package/Toggle/index.mjs +1 -1
- package/ToggleCard/index.js +2 -2
- package/ToggleCard/index.mjs +2 -2
- package/Tooltip/index.js +1 -1
- package/Tooltip/index.mjs +1 -1
- package/VerticalNav/index.js +24 -24
- package/VerticalNav/index.mjs +24 -24
- package/VerticalStack/index.js +1 -1
- package/VerticalStack/index.mjs +1 -1
- package/__chunks__/{Button-lb6KY-VK.mjs → Button-10mhxReQ.mjs} +18 -18
- package/__chunks__/{Button-CDRssWxC.mjs → Button-BqogJAQ3.mjs} +3 -3
- package/__chunks__/{Button-DXhw-VUb.js → Button-BxncM-fm.js} +18 -18
- package/__chunks__/{Button-BvLvcmfd.js → Button-Y550ybuK.js} +1 -1
- package/__chunks__/{Calendar-ChbA9Ste.mjs → Calendar-D0ysbR2X.mjs} +1 -1
- package/__chunks__/{Calendar-D-oFF4f4.js → Calendar-SdcIIg8-.js} +1 -1
- package/__chunks__/{CalendarBase-oPvH2YM1.js → CalendarBase-Vw2pBuuE.js} +18 -18
- package/__chunks__/{CalendarBase-DC8WR7md.mjs → CalendarBase-ncItGlBS.mjs} +18 -18
- package/__chunks__/{Card-CWv2re8Z.mjs → Card-B1cXTObc.mjs} +12 -12
- package/__chunks__/{Card-CRFM7MOD.js → Card-DaX-ZuLu.js} +12 -12
- package/__chunks__/{Checkbox-B7eahvPN.js → Checkbox-DSYdN5fC.js} +19 -19
- package/__chunks__/{Checkbox-XDmnzjIx.mjs → Checkbox-DdAWbHpa.mjs} +20 -20
- package/__chunks__/{CodeSnippet-CnjYkoJo.mjs → CodeSnippet-BbIqouQg.mjs} +2 -2
- package/__chunks__/{CodeSnippet-FCgb2RfQ.js → CodeSnippet-CPuuHMuI.js} +2 -2
- package/__chunks__/{DatePickerBase-DMmeUEou.js → DatePickerBase-D8v7yMaR.js} +18 -62
- package/__chunks__/{DatePickerBase-B9g5PeHi.mjs → DatePickerBase-DVA3ya0P.mjs} +20 -64
- package/__chunks__/Dialog-CFyC5TFs.js +232 -0
- package/__chunks__/Dialog-DnCSZh3s.mjs +233 -0
- package/__chunks__/{HelpMenu-BjEMVfGE.js → HelpMenu-CJK_EziM.js} +6 -6
- package/__chunks__/{HelpMenu-DWvUM5hz.mjs → HelpMenu-DeTGhGis.mjs} +6 -6
- package/__chunks__/{HorizontalGrid-BZX-WluO.js → HorizontalGrid-BYnV-Dy9.js} +1 -1
- package/__chunks__/{HorizontalGrid-DGrPEAhQ.mjs → HorizontalGrid-N2NkjG0P.mjs} +1 -1
- package/__chunks__/{HorizontalStack--Qc3cVBd.mjs → HorizontalStack-BjMnJAXd.mjs} +1 -1
- package/__chunks__/{HorizontalStack-VtCu2VMx.js → HorizontalStack-DqPlOkSw.js} +1 -1
- package/__chunks__/{Icon-BD88DLNr.mjs → Icon-QpfeMf4x.mjs} +2 -2
- package/__chunks__/{Icon-BDa4XL_V.js → Icon-SeXHAWa2.js} +2 -2
- package/__chunks__/{InputCaption-DYFfypKt.mjs → InputCaption-Bcjaxvqr.mjs} +2 -2
- package/__chunks__/{InputCaption-DKZRO84o.js → InputCaption-peDy98l4.js} +2 -2
- package/__chunks__/{InputField-Bv1SfmUB.mjs → InputField-CmJ6SAKl.mjs} +6 -89
- package/__chunks__/{InputField-C7Ti5JNz.js → InputField-DvSIzId4.js} +6 -89
- package/__chunks__/{InputIcon-VzRxuUky.mjs → InputIcon-BNR3_LeL.mjs} +31 -31
- package/__chunks__/{InputIcon-c-x0Whak.js → InputIcon-szDt09pM.js} +31 -31
- package/__chunks__/{KebabButton-TgeYkgj5.mjs → KebabButton-BcKtZQv2.mjs} +4 -4
- package/__chunks__/{KebabButton-CdlmuIRm.js → KebabButton-C4QJla9Y.js} +4 -4
- package/__chunks__/{Menu-C1Q0RfOp.js → Menu-C45BBC1Y.js} +22 -62
- package/__chunks__/{Menu-BL0okgwD.mjs → Menu-CW11-o2X.mjs} +22 -62
- package/__chunks__/{Notification-CZS59-s8.mjs → Notification-BJKPFSzJ.mjs} +14 -14
- package/__chunks__/{Notification-D7fRjiAH.js → Notification-CxrDF_Pg.js} +14 -14
- package/__chunks__/{Overlay-DyfvFsGi.mjs → Overlay-BEmOdNIB.mjs} +3 -3
- package/__chunks__/PillGroup-BUMKmU-f.js +2061 -0
- package/__chunks__/PillGroup-BtvBL5fM.mjs +2062 -0
- package/__chunks__/{RadioGroup-CYlZvoxh.js → RadioGroup-C0py9A-2.js} +15 -15
- package/__chunks__/{RadioGroup-D3RN5LLn.mjs → RadioGroup-DZXOUSXN.mjs} +16 -16
- package/__chunks__/{RangeCalendar-0Zt6GJAs.js → RangeCalendar-DBiN8Tu8.js} +1 -1
- package/__chunks__/{RangeCalendar-D5t6FuZp.mjs → RangeCalendar-DSEwJpHw.mjs} +1 -1
- package/__chunks__/{SelectOverlay-DAJ9-Wye.mjs → SelectOverlay-Cy3-vsZK.mjs} +29 -189
- package/__chunks__/{SelectOverlay-XRIcujy9.js → SelectOverlay-DBo4MARx.js} +28 -188
- package/__chunks__/{SelectorErrorTooltip-r2APVg60.js → SelectorErrorTooltip-DkECS0nt.js} +4 -4
- package/__chunks__/{SelectorErrorTooltip-BSNUFpGD.mjs → SelectorErrorTooltip-fPBKPgvD.mjs} +4 -4
- package/__chunks__/{Spinner-D9lZ3erf.js → Spinner-BadWfHqn.js} +5 -5
- package/__chunks__/{Spinner-C6CoASxe.mjs → Spinner-BjlaHcou.mjs} +5 -5
- package/__chunks__/{Stepper-BRecUCpd.mjs → Stepper-BB_ESAbw.mjs} +25 -25
- package/__chunks__/{Stepper-D0YDhoPF.js → Stepper-BqgzsSzg.js} +25 -25
- package/__chunks__/{TabNav-BzeG4JrK.mjs → TabNav-D77kh-Xx.mjs} +1 -1
- package/__chunks__/{TabNav-ipa33NIM.js → TabNav-DnnHglAy.js} +1 -1
- package/__chunks__/{Tabs-CsOlVyHJ.mjs → Tabs-C2FPFWA4.mjs} +17 -17
- package/__chunks__/{Tabs-CDUhh-Bz.js → Tabs-Y2WlJlna.js} +17 -17
- package/__chunks__/{Text-CntV2Frc.js → Text-Crcy_R7t.js} +34 -34
- package/__chunks__/{Text-BHyjSBcd.mjs → Text-V-yZP2s7.mjs} +34 -34
- package/__chunks__/{TextField-CBWpUHdy.js → TextField-D847huaI.js} +1 -1
- package/__chunks__/{TextField-Ca_M-pak.mjs → TextField-EkC5gsJ8.mjs} +1 -1
- package/__chunks__/{Toggle-C6ICkaF-.js → Toggle-CQIvcPcu.js} +11 -11
- package/__chunks__/{Toggle-BxtpUTDA.mjs → Toggle-H4aOxdc8.mjs} +11 -11
- package/__chunks__/{Tooltip-BK6l0C3n.mjs → Tooltip-CIS6DQEh.mjs} +10 -10
- package/__chunks__/{Tooltip-cqSETep4.js → Tooltip-DKFYEVdG.js} +8 -8
- package/__chunks__/{VerticalStack-BVtgNZrG.mjs → VerticalStack-Djj29NqV.mjs} +3 -3
- package/__chunks__/{VerticalStack-B7auhieq.js → VerticalStack-DjuWiMXF.js} +3 -3
- package/__chunks__/{useDialog-c-C07qhw.mjs → useDialog-h-MPfyGr.mjs} +1 -1
- package/__chunks__/{useEdgeInterceptors-DrJ9MQmY.mjs → useEdgeInterceptors-CJs5WRkG.mjs} +5 -5
- package/__chunks__/{useEdgeInterceptors-Bvg1fK8h.js → useEdgeInterceptors-ClXj8z7M.js} +5 -5
- package/__chunks__/useFilter-D-K0Oj-7.mjs +65 -0
- package/__chunks__/useFilter-DpnZ54nd.js +64 -0
- package/__chunks__/{useFormValidation-v2O6VL2V.mjs → useFormValidation-B3euLzzR.mjs} +4 -4
- package/__chunks__/useListBoxSection-BlFRlBZy.js +192 -0
- package/__chunks__/useListBoxSection-BsSdeGKp.mjs +193 -0
- package/__chunks__/{useTriggerWidth-CRz8zSDa.mjs → useMenuTrigger-D4pQ727R.mjs} +3 -130
- package/__chunks__/{useTriggerWidth-Dj7C0lza.js → useMenuTrigger-qbIPy-fg.js} +0 -127
- package/__chunks__/useMenuTriggerState-Cf_X36NC.mjs +67 -0
- package/__chunks__/useMenuTriggerState-Dai3rheB.js +66 -0
- package/__chunks__/{useModalOverlay-S0R2uVTX.mjs → useModalOverlay-CkOujl0G.mjs} +1 -1
- package/__chunks__/{useOverlayPosition-BjK7cu6U.mjs → useOverlayPosition-dua8TTSS.mjs} +1 -1
- package/__chunks__/{useOverlayTrigger-DDcXdZOM.mjs → useOverlayTrigger-BS8c6XEz.mjs} +1 -1
- package/__chunks__/{useSelectableItem-D61t76J1.mjs → useSelectableItem-B8l2VAQ8.mjs} +2 -2
- package/__chunks__/{useSelectableList-UkBCcTuC.js → useSelectableList-CzTJAukw.js} +15 -0
- package/__chunks__/{useSelectableList-BdG5I7cy.mjs → useSelectableList-DsUuWr0P.mjs} +18 -3
- package/__chunks__/useTextField-CErFc3WZ.js +106 -0
- package/__chunks__/useTextField-Dd-YTxI4.mjs +107 -0
- package/__chunks__/useTriggerWidth-B-IM2wNY.js +132 -0
- package/__chunks__/useTriggerWidth-CAYuGPNq.mjs +133 -0
- package/__chunks__/{utilities-CaBPUKEB.js → utilities-BDABIMDb.js} +4 -0
- package/__chunks__/{utilities-DASknbaa.mjs → utilities-DpKIaDkW.mjs} +5 -1
- package/__chunks__/{utils-D4ddhsBL.mjs → utils-Dt6xdGol.mjs} +10 -2
- package/__chunks__/{utils-DIF5XAA2.js → utils-eHk7b-OB.js} +8 -0
- package/package.json +2 -2
- package/style.css +1609 -1445
- package/utilities/storybook.d.ts +1 -0
- package/utilities/storybook.d.ts.map +1 -1
|
@@ -31,9 +31,9 @@ var __objRest = (source, exclude) => {
|
|
|
31
31
|
return target;
|
|
32
32
|
};
|
|
33
33
|
const React = require("react");
|
|
34
|
-
const Text = require("./Text-
|
|
35
|
-
const HorizontalStack = require("./HorizontalStack-
|
|
36
|
-
const SelectorErrorTooltip = require("./SelectorErrorTooltip-
|
|
34
|
+
const Text = require("./Text-Crcy_R7t.js");
|
|
35
|
+
const HorizontalStack = require("./HorizontalStack-DqPlOkSw.js");
|
|
36
|
+
const SelectorErrorTooltip = require("./SelectorErrorTooltip-DkECS0nt.js");
|
|
37
37
|
const utilities_css = require("../utilities/css.js");
|
|
38
38
|
const mergeProps = require("./mergeProps-DniMwM6P.js");
|
|
39
39
|
const filterDOMProps = require("./filterDOMProps-D3iOHP0H.js");
|
|
@@ -243,16 +243,16 @@ const useRadioGroupContext = () => {
|
|
|
243
243
|
}
|
|
244
244
|
return radioGroupContext;
|
|
245
245
|
};
|
|
246
|
-
const RadioGroupItem$1 = "
|
|
247
|
-
const label = "
|
|
248
|
-
const radioOuter = "
|
|
249
|
-
const radioInner = "
|
|
250
|
-
const focusVisible = "
|
|
251
|
-
const selected = "
|
|
252
|
-
const invalid = "
|
|
253
|
-
const disabled = "
|
|
254
|
-
const hovered = "
|
|
255
|
-
const readOnly = "
|
|
246
|
+
const RadioGroupItem$1 = "_RadioGroupItem_rxhlr_5";
|
|
247
|
+
const label = "_label_rxhlr_11";
|
|
248
|
+
const radioOuter = "_radioOuter_rxhlr_29";
|
|
249
|
+
const radioInner = "_radioInner_rxhlr_30";
|
|
250
|
+
const focusVisible = "_focusVisible_rxhlr_44";
|
|
251
|
+
const selected = "_selected_rxhlr_63";
|
|
252
|
+
const invalid = "_invalid_rxhlr_67";
|
|
253
|
+
const disabled = "_disabled_rxhlr_71";
|
|
254
|
+
const hovered = "_hovered_rxhlr_83";
|
|
255
|
+
const readOnly = "_readOnly_rxhlr_83";
|
|
256
256
|
const styles$1 = {
|
|
257
257
|
RadioGroupItem: RadioGroupItem$1,
|
|
258
258
|
label,
|
|
@@ -301,8 +301,8 @@ function RadioGroupItem(props) {
|
|
|
301
301
|
content: errorText
|
|
302
302
|
})));
|
|
303
303
|
}
|
|
304
|
-
const RadioGroup$1 = "
|
|
305
|
-
const list = "
|
|
304
|
+
const RadioGroup$1 = "_RadioGroup_90jpk_5";
|
|
305
|
+
const list = "_list_90jpk_14";
|
|
306
306
|
const styles = {
|
|
307
307
|
RadioGroup: RadioGroup$1,
|
|
308
308
|
list
|
|
@@ -30,15 +30,15 @@ var __objRest = (source, exclude) => {
|
|
|
30
30
|
return target;
|
|
31
31
|
};
|
|
32
32
|
import React__default, { useMemo, useState, useContext } from "react";
|
|
33
|
-
import { T as Text } from "./Text-
|
|
34
|
-
import { H as HorizontalStack } from "./HorizontalStack
|
|
35
|
-
import { S as SelectorErrorTooltip } from "./SelectorErrorTooltip-
|
|
33
|
+
import { T as Text } from "./Text-V-yZP2s7.mjs";
|
|
34
|
+
import { H as HorizontalStack } from "./HorizontalStack-BjMnJAXd.mjs";
|
|
35
|
+
import { S as SelectorErrorTooltip } from "./SelectorErrorTooltip-fPBKPgvD.mjs";
|
|
36
36
|
import { classNames } from "../utilities/css.mjs";
|
|
37
37
|
import { $ as $3ef42575df84b30b$export$9d1611c77c2fe928, c as $bdb11010cef70236$export$f680877a34711e37 } from "./mergeProps-DSi85raC.mjs";
|
|
38
38
|
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./filterDOMProps-EDDcM64A.mjs";
|
|
39
39
|
import { $ as $99facab73266f662$export$5add1d006293d136 } from "./useFormReset-DA1Lwdha.mjs";
|
|
40
40
|
import { $ as $e6afbd83fe6ebbd2$export$4c014de7c8940b4c } from "./useFocusable-CNor_Zjt.mjs";
|
|
41
|
-
import { $ as $e5be200c675c3b3a$export$fc1a364ae1f3ff10,
|
|
41
|
+
import { $ as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, a as $e93e671b31057976$export$b8473d3665f3a75a } from "./useFormValidation-B3euLzzR.mjs";
|
|
42
42
|
import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "./usePress-Db4pSZfY.mjs";
|
|
43
43
|
import { $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "./useFocusRing-YOWeCHgO.mjs";
|
|
44
44
|
import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "./useHover-BOYR4wqI.mjs";
|
|
@@ -242,16 +242,16 @@ const useRadioGroupContext = () => {
|
|
|
242
242
|
}
|
|
243
243
|
return radioGroupContext;
|
|
244
244
|
};
|
|
245
|
-
const RadioGroupItem$1 = "
|
|
246
|
-
const label = "
|
|
247
|
-
const radioOuter = "
|
|
248
|
-
const radioInner = "
|
|
249
|
-
const focusVisible = "
|
|
250
|
-
const selected = "
|
|
251
|
-
const invalid = "
|
|
252
|
-
const disabled = "
|
|
253
|
-
const hovered = "
|
|
254
|
-
const readOnly = "
|
|
245
|
+
const RadioGroupItem$1 = "_RadioGroupItem_rxhlr_5";
|
|
246
|
+
const label = "_label_rxhlr_11";
|
|
247
|
+
const radioOuter = "_radioOuter_rxhlr_29";
|
|
248
|
+
const radioInner = "_radioInner_rxhlr_30";
|
|
249
|
+
const focusVisible = "_focusVisible_rxhlr_44";
|
|
250
|
+
const selected = "_selected_rxhlr_63";
|
|
251
|
+
const invalid = "_invalid_rxhlr_67";
|
|
252
|
+
const disabled = "_disabled_rxhlr_71";
|
|
253
|
+
const hovered = "_hovered_rxhlr_83";
|
|
254
|
+
const readOnly = "_readOnly_rxhlr_83";
|
|
255
255
|
const styles$1 = {
|
|
256
256
|
RadioGroupItem: RadioGroupItem$1,
|
|
257
257
|
label,
|
|
@@ -300,8 +300,8 @@ function RadioGroupItem(props) {
|
|
|
300
300
|
content: errorText
|
|
301
301
|
})));
|
|
302
302
|
}
|
|
303
|
-
const RadioGroup$1 = "
|
|
304
|
-
const list = "
|
|
303
|
+
const RadioGroup$1 = "_RadioGroup_90jpk_5";
|
|
304
|
+
const list = "_list_90jpk_14";
|
|
305
305
|
const styles = {
|
|
306
306
|
RadioGroup: RadioGroup$1,
|
|
307
307
|
list
|
|
@@ -31,7 +31,7 @@ var __objRest = (source, exclude) => {
|
|
|
31
31
|
return target;
|
|
32
32
|
};
|
|
33
33
|
const React = require("react");
|
|
34
|
-
const CalendarBase = require("./CalendarBase-
|
|
34
|
+
const CalendarBase = require("./CalendarBase-Vw2pBuuE.js");
|
|
35
35
|
const context = require("./context-D3NeXov7.js");
|
|
36
36
|
const useControlledState = require("./useControlledState-mnKBd6Uc.js");
|
|
37
37
|
const useEvent = require("./useEvent-DY7dR7Mi.js");
|
|
@@ -30,7 +30,7 @@ var __objRest = (source, exclude) => {
|
|
|
30
30
|
return target;
|
|
31
31
|
};
|
|
32
32
|
import React__default, { useState, useRef, useMemo } from "react";
|
|
33
|
-
import { c as $f62d864046160412$export$f4a51ff076cc9a09, d as $11d87f3f76e88657$export$93522d1a439f3617, e as $14e0f24ef4ac5c92$export$a75f2bff57811055, f as $14e0f24ef4ac5c92$export$5c333a116e949cdd, a as $131cf43a05231e1e$export$6d095e787d2b5e1f, g as $14e0f24ef4ac5c92$export$91b62ebf2ba703ee, h as $f62d864046160412$export$eac50920cf2fd59a, i as $f62d864046160412$export$4f5203c0d889109e, j as $f62d864046160412$export$a1d3911297b952d7, k as $11d87f3f76e88657$export$b4a036af3fc0b032, l as $3b62074eb05584b2$export$80ee6245ec4f29ec, $ as $c4acc1de3ab169cf$export$d652b3ea2d672d5b, b as $64244302c3013299$export$dd0bbc9b26defe37, C as CalendarBase } from "./CalendarBase-
|
|
33
|
+
import { c as $f62d864046160412$export$f4a51ff076cc9a09, d as $11d87f3f76e88657$export$93522d1a439f3617, e as $14e0f24ef4ac5c92$export$a75f2bff57811055, f as $14e0f24ef4ac5c92$export$5c333a116e949cdd, a as $131cf43a05231e1e$export$6d095e787d2b5e1f, g as $14e0f24ef4ac5c92$export$91b62ebf2ba703ee, h as $f62d864046160412$export$eac50920cf2fd59a, i as $f62d864046160412$export$4f5203c0d889109e, j as $f62d864046160412$export$a1d3911297b952d7, k as $11d87f3f76e88657$export$b4a036af3fc0b032, l as $3b62074eb05584b2$export$80ee6245ec4f29ec, $ as $c4acc1de3ab169cf$export$d652b3ea2d672d5b, b as $64244302c3013299$export$dd0bbc9b26defe37, C as CalendarBase } from "./CalendarBase-ncItGlBS.mjs";
|
|
34
34
|
import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-BZCcafjG.mjs";
|
|
35
35
|
import { $ as $458b0a5536c1a7cf$export$40bfa8c7b0832715 } from "./useControlledState-CFWhSD5C.mjs";
|
|
36
36
|
import { $ as $e9faafb641e167db$export$90fc3a17d93f704c } from "./useEvent-B0fsKtsf.mjs";
|
|
@@ -17,29 +17,26 @@ var __spreadValues = (a, b) => {
|
|
|
17
17
|
return a;
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
|
-
import { $ as $e5be200c675c3b3a$export$fc1a364ae1f3ff10,
|
|
21
|
-
import {
|
|
20
|
+
import { $ as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, a as $e93e671b31057976$export$b8473d3665f3a75a } from "./useFormValidation-B3euLzzR.mjs";
|
|
21
|
+
import { a as $fc909762b330b746$export$61c6a8c84e605fb6, d as $337b884510726a0d$export$c6fdb837b070b4ff } from "./Overlay-BEmOdNIB.mjs";
|
|
22
22
|
import { $ as $a0d645289fe9b86b$export$e7f05e985daf4b5f } from "./useSingleSelectListState-DuCUY6dR.mjs";
|
|
23
23
|
import React__default, { useState, useMemo, useRef, createContext, useContext } from "react";
|
|
24
|
-
import {
|
|
24
|
+
import { $ as $3ef42575df84b30b$export$9d1611c77c2fe928, c as $bdb11010cef70236$export$f680877a34711e37, f as $ff5963eb1fccf552$export$e08e3b67e392101e } from "./mergeProps-DSi85raC.mjs";
|
|
25
25
|
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./filterDOMProps-EDDcM64A.mjs";
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
26
|
+
import { b as $2a25aae57d74318e$export$a05409b8bb224a5a } from "./useSelectableList-DsUuWr0P.mjs";
|
|
27
|
+
import { b as $fb3050f43d946246$export$e32c88dfddc6e1d8 } from "./useSelectableItem-B8l2VAQ8.mjs";
|
|
28
|
+
import { d as $507fabe10e71c6fb$export$8397ddfc504fdb9a } from "./useFocusVisible-ng1Hn25t.mjs";
|
|
29
29
|
import { $ as $325a3faab7a68acd$export$a16aca283550c30d } from "./useCollator-B-keb3wA.mjs";
|
|
30
30
|
import { $ as $2baaea4c71418dea$export$294aa081a6c6f55d } from "./useField-B6VplZ_n.mjs";
|
|
31
|
-
import { $ as $
|
|
31
|
+
import { $ as $168583247155ddda$export$dc9c12ed27dd1b49 } from "./useMenuTrigger-D4pQ727R.mjs";
|
|
32
32
|
import { $ as $99facab73266f662$export$5add1d006293d136 } from "./useFormReset-DA1Lwdha.mjs";
|
|
33
33
|
import { $ as $5c3e21d68f1c4674$export$a966af930f325cab } from "./VisuallyHidden-BC5PXI9q.mjs";
|
|
34
|
-
import { T as Text } from "./Text-
|
|
34
|
+
import { T as Text } from "./Text-V-yZP2s7.mjs";
|
|
35
35
|
import { $ as $c1d7fb2ec91bae71$export$6d08773d2e66f8f2 } from "./Item-BhrTPNN2.mjs";
|
|
36
|
-
import { b as $
|
|
37
|
-
import {
|
|
38
|
-
import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "./useHover-BOYR4wqI.mjs";
|
|
39
|
-
import { $ as $f2f8a6077418541e$export$542a6fd13ac93354, g as getUnmergedPopoverStyles, a as $86ea4cb521eb2e37$export$2317d149ed6f78c4, D as DEFAULT_WIDTH, b as DEFAULT_MAX_ITEMS_UNTIL_SCROLL, O as OVERLAY_PADDING_FROM_CONTAINER, I as ITEM_HEIGHT, Y as Y_PADDING_INSIDE_OVERLAY, c as OVERLAY_OFFSET, d as DEFAULT_PLACEMENT } from "./utilities-DASknbaa.mjs";
|
|
36
|
+
import { $ as $293f70390ea03370$export$497855f14858aa34, a as $af383d3bef1cfdc9$export$c3f9f39876e4bc7, b as $c132121280ec012d$export$50eacbbf140a3141 } from "./useListBoxSection-BsSdeGKp.mjs";
|
|
37
|
+
import { $ as $f2f8a6077418541e$export$542a6fd13ac93354, g as getUnmergedPopoverStyles, a as $86ea4cb521eb2e37$export$2317d149ed6f78c4, D as DEFAULT_WIDTH, b as DEFAULT_MAX_ITEMS_UNTIL_SCROLL, O as OVERLAY_PADDING_FROM_CONTAINER, I as ITEM_HEIGHT, Y as Y_PADDING_INSIDE_OVERLAY, c as OVERLAY_OFFSET, d as DEFAULT_PLACEMENT } from "./utilities-DpKIaDkW.mjs";
|
|
40
38
|
import { useScrollbar } from "../utilities/useScrollbar.mjs";
|
|
41
|
-
import { $ as $
|
|
42
|
-
import { $ as $d191a55c9702f145$export$8467354a121f1b9f } from "./useLabel-D37VV43W.mjs";
|
|
39
|
+
import { $ as $9fc4852771d079eb$export$6e2c8f0811a474ce, a as $f4b273590fab9f93$export$52210f68a14655d0 } from "./useTriggerWidth-CAYuGPNq.mjs";
|
|
43
40
|
function $2bc3a590c5373a4e$export$5159ec8b34d4ec12(props) {
|
|
44
41
|
let triggerState = $fc909762b330b746$export$61c6a8c84e605fb6(props);
|
|
45
42
|
let [focusStrategy, setFocusStrategy] = useState(null);
|
|
@@ -72,163 +69,6 @@ function $2bc3a590c5373a4e$export$5159ec8b34d4ec12(props) {
|
|
|
72
69
|
setFocused
|
|
73
70
|
});
|
|
74
71
|
}
|
|
75
|
-
const $b1f0cad8af73213b$export$3585ede4d035bf14 = /* @__PURE__ */ new WeakMap();
|
|
76
|
-
function $b1f0cad8af73213b$var$normalizeKey(key) {
|
|
77
|
-
if (typeof key === "string") return key.replace(/\s*/g, "");
|
|
78
|
-
return "" + key;
|
|
79
|
-
}
|
|
80
|
-
function $b1f0cad8af73213b$export$9145995848b05025(state, itemKey) {
|
|
81
|
-
let data = $b1f0cad8af73213b$export$3585ede4d035bf14.get(state);
|
|
82
|
-
if (!data) throw new Error("Unknown list");
|
|
83
|
-
return `${data.id}-option-${$b1f0cad8af73213b$var$normalizeKey(itemKey)}`;
|
|
84
|
-
}
|
|
85
|
-
function $c132121280ec012d$export$50eacbbf140a3141(props, state, ref) {
|
|
86
|
-
let domProps = $65484d02dcb7eb3e$export$457c3d6518dd4c6f(props, {
|
|
87
|
-
labelable: true
|
|
88
|
-
});
|
|
89
|
-
let selectionBehavior = props.selectionBehavior || "toggle";
|
|
90
|
-
let linkBehavior = props.linkBehavior || (selectionBehavior === "replace" ? "action" : "override");
|
|
91
|
-
if (selectionBehavior === "toggle" && linkBehavior === "action")
|
|
92
|
-
linkBehavior = "override";
|
|
93
|
-
let { listProps } = $982254629710d113$export$b95089534ab7c1fd(__spreadProps(__spreadValues({}, props), {
|
|
94
|
-
ref,
|
|
95
|
-
selectionManager: state.selectionManager,
|
|
96
|
-
collection: state.collection,
|
|
97
|
-
disabledKeys: state.disabledKeys,
|
|
98
|
-
linkBehavior
|
|
99
|
-
}));
|
|
100
|
-
let { focusWithinProps } = $9ab94262bd0047c7$export$420e68273165f4ec({
|
|
101
|
-
onFocusWithin: props.onFocus,
|
|
102
|
-
onBlurWithin: props.onBlur,
|
|
103
|
-
onFocusWithinChange: props.onFocusChange
|
|
104
|
-
});
|
|
105
|
-
let id = $bdb11010cef70236$export$f680877a34711e37(props.id);
|
|
106
|
-
$b1f0cad8af73213b$export$3585ede4d035bf14.set(state, {
|
|
107
|
-
id,
|
|
108
|
-
shouldUseVirtualFocus: props.shouldUseVirtualFocus,
|
|
109
|
-
shouldSelectOnPressUp: props.shouldSelectOnPressUp,
|
|
110
|
-
shouldFocusOnHover: props.shouldFocusOnHover,
|
|
111
|
-
isVirtualized: props.isVirtualized,
|
|
112
|
-
onAction: props.onAction,
|
|
113
|
-
linkBehavior
|
|
114
|
-
});
|
|
115
|
-
let { labelProps, fieldProps } = $d191a55c9702f145$export$8467354a121f1b9f(__spreadProps(__spreadValues({}, props), {
|
|
116
|
-
id,
|
|
117
|
-
// listbox is not an HTML input element so it
|
|
118
|
-
// shouldn't be labeled by a <label> element.
|
|
119
|
-
labelElementType: "span"
|
|
120
|
-
}));
|
|
121
|
-
return {
|
|
122
|
-
labelProps,
|
|
123
|
-
listBoxProps: $3ef42575df84b30b$export$9d1611c77c2fe928(domProps, focusWithinProps, state.selectionManager.selectionMode === "multiple" ? {
|
|
124
|
-
"aria-multiselectable": "true"
|
|
125
|
-
} : {}, __spreadValues({
|
|
126
|
-
role: "listbox"
|
|
127
|
-
}, $3ef42575df84b30b$export$9d1611c77c2fe928(fieldProps, listProps)))
|
|
128
|
-
};
|
|
129
|
-
}
|
|
130
|
-
function $293f70390ea03370$export$497855f14858aa34(props, state, ref) {
|
|
131
|
-
var _item_props, _item_props1;
|
|
132
|
-
let { key } = props;
|
|
133
|
-
let data = $b1f0cad8af73213b$export$3585ede4d035bf14.get(state);
|
|
134
|
-
var _props_isDisabled;
|
|
135
|
-
let isDisabled = (_props_isDisabled = props.isDisabled) !== null && _props_isDisabled !== void 0 ? _props_isDisabled : state.selectionManager.isDisabled(key);
|
|
136
|
-
var _props_isSelected;
|
|
137
|
-
let isSelected = (_props_isSelected = props.isSelected) !== null && _props_isSelected !== void 0 ? _props_isSelected : state.selectionManager.isSelected(key);
|
|
138
|
-
var _props_shouldSelectOnPressUp;
|
|
139
|
-
let shouldSelectOnPressUp = (_props_shouldSelectOnPressUp = props.shouldSelectOnPressUp) !== null && _props_shouldSelectOnPressUp !== void 0 ? _props_shouldSelectOnPressUp : data === null || data === void 0 ? void 0 : data.shouldSelectOnPressUp;
|
|
140
|
-
var _props_shouldFocusOnHover;
|
|
141
|
-
let shouldFocusOnHover = (_props_shouldFocusOnHover = props.shouldFocusOnHover) !== null && _props_shouldFocusOnHover !== void 0 ? _props_shouldFocusOnHover : data === null || data === void 0 ? void 0 : data.shouldFocusOnHover;
|
|
142
|
-
var _props_shouldUseVirtualFocus;
|
|
143
|
-
let shouldUseVirtualFocus = (_props_shouldUseVirtualFocus = props.shouldUseVirtualFocus) !== null && _props_shouldUseVirtualFocus !== void 0 ? _props_shouldUseVirtualFocus : data === null || data === void 0 ? void 0 : data.shouldUseVirtualFocus;
|
|
144
|
-
var _props_isVirtualized;
|
|
145
|
-
let isVirtualized = (_props_isVirtualized = props.isVirtualized) !== null && _props_isVirtualized !== void 0 ? _props_isVirtualized : data === null || data === void 0 ? void 0 : data.isVirtualized;
|
|
146
|
-
let labelId = $bdb11010cef70236$export$b4cc09c592e8fdb8();
|
|
147
|
-
let descriptionId = $bdb11010cef70236$export$b4cc09c592e8fdb8();
|
|
148
|
-
let optionProps = {
|
|
149
|
-
role: "option",
|
|
150
|
-
"aria-disabled": isDisabled || void 0,
|
|
151
|
-
"aria-selected": state.selectionManager.selectionMode !== "none" ? isSelected : void 0
|
|
152
|
-
};
|
|
153
|
-
if (!($c87311424ea30a05$export$9ac100e40613ea10() && $c87311424ea30a05$export$78551043582a6a98())) {
|
|
154
|
-
optionProps["aria-label"] = props["aria-label"];
|
|
155
|
-
optionProps["aria-labelledby"] = labelId;
|
|
156
|
-
optionProps["aria-describedby"] = descriptionId;
|
|
157
|
-
}
|
|
158
|
-
let item = state.collection.getItem(key);
|
|
159
|
-
if (isVirtualized) {
|
|
160
|
-
let index = Number(item === null || item === void 0 ? void 0 : item.index);
|
|
161
|
-
optionProps["aria-posinset"] = Number.isNaN(index) ? void 0 : index + 1;
|
|
162
|
-
optionProps["aria-setsize"] = $453cc9f0df89c0a5$export$77d5aafae4e095b2(state.collection);
|
|
163
|
-
}
|
|
164
|
-
let onAction = (data === null || data === void 0 ? void 0 : data.onAction) ? () => {
|
|
165
|
-
var _data_onAction;
|
|
166
|
-
return data === null || data === void 0 ? void 0 : (_data_onAction = data.onAction) === null || _data_onAction === void 0 ? void 0 : _data_onAction.call(data, key);
|
|
167
|
-
} : void 0;
|
|
168
|
-
let { itemProps, isPressed, isFocused, hasAction, allowsSelection } = $880e95eb8b93ba9a$export$ecf600387e221c37({
|
|
169
|
-
selectionManager: state.selectionManager,
|
|
170
|
-
key,
|
|
171
|
-
ref,
|
|
172
|
-
shouldSelectOnPressUp,
|
|
173
|
-
allowsDifferentPressOrigin: shouldSelectOnPressUp && shouldFocusOnHover,
|
|
174
|
-
isVirtualized,
|
|
175
|
-
shouldUseVirtualFocus,
|
|
176
|
-
isDisabled,
|
|
177
|
-
onAction: onAction || (item === null || item === void 0 ? void 0 : (_item_props = item.props) === null || _item_props === void 0 ? void 0 : _item_props.onAction) ? $ff5963eb1fccf552$export$e08e3b67e392101e(item === null || item === void 0 ? void 0 : (_item_props1 = item.props) === null || _item_props1 === void 0 ? void 0 : _item_props1.onAction, onAction) : void 0,
|
|
178
|
-
linkBehavior: data === null || data === void 0 ? void 0 : data.linkBehavior
|
|
179
|
-
});
|
|
180
|
-
let { hoverProps } = $6179b936705e76d3$export$ae780daf29e6d456({
|
|
181
|
-
isDisabled: isDisabled || !shouldFocusOnHover,
|
|
182
|
-
onHoverStart() {
|
|
183
|
-
if (!$507fabe10e71c6fb$export$b9b3dfddab17db27()) {
|
|
184
|
-
state.selectionManager.setFocused(true);
|
|
185
|
-
state.selectionManager.setFocusedKey(key);
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
});
|
|
189
|
-
let domProps = $65484d02dcb7eb3e$export$457c3d6518dd4c6f(item === null || item === void 0 ? void 0 : item.props);
|
|
190
|
-
delete domProps.id;
|
|
191
|
-
let linkProps = $ea8dcbcb9ea1b556$export$7e924b3091a3bd18(item === null || item === void 0 ? void 0 : item.props);
|
|
192
|
-
return {
|
|
193
|
-
optionProps: __spreadProps(__spreadValues(__spreadValues({}, optionProps), $3ef42575df84b30b$export$9d1611c77c2fe928(domProps, itemProps, hoverProps, linkProps)), {
|
|
194
|
-
id: $b1f0cad8af73213b$export$9145995848b05025(state, key)
|
|
195
|
-
}),
|
|
196
|
-
labelProps: {
|
|
197
|
-
id: labelId
|
|
198
|
-
},
|
|
199
|
-
descriptionProps: {
|
|
200
|
-
id: descriptionId
|
|
201
|
-
},
|
|
202
|
-
isFocused,
|
|
203
|
-
isFocusVisible: isFocused && $507fabe10e71c6fb$export$b9b3dfddab17db27(),
|
|
204
|
-
isSelected,
|
|
205
|
-
isDisabled,
|
|
206
|
-
isPressed,
|
|
207
|
-
allowsSelection,
|
|
208
|
-
hasAction
|
|
209
|
-
};
|
|
210
|
-
}
|
|
211
|
-
function $af383d3bef1cfdc9$export$c3f9f39876e4bc7(props) {
|
|
212
|
-
let { heading, "aria-label": ariaLabel } = props;
|
|
213
|
-
let headingId = $bdb11010cef70236$export$f680877a34711e37();
|
|
214
|
-
return {
|
|
215
|
-
itemProps: {
|
|
216
|
-
role: "presentation"
|
|
217
|
-
},
|
|
218
|
-
headingProps: heading ? {
|
|
219
|
-
// Techincally, listbox cannot contain headings according to ARIA.
|
|
220
|
-
// We hide the heading from assistive technology, using role="presentation",
|
|
221
|
-
// and only use it as a visual label for the nested group.
|
|
222
|
-
id: headingId,
|
|
223
|
-
role: "presentation"
|
|
224
|
-
} : {},
|
|
225
|
-
groupProps: {
|
|
226
|
-
role: "group",
|
|
227
|
-
"aria-label": ariaLabel,
|
|
228
|
-
"aria-labelledby": heading ? headingId : void 0
|
|
229
|
-
}
|
|
230
|
-
};
|
|
231
|
-
}
|
|
232
72
|
const $58aed456727eb0f3$export$703601b7e90536f8 = /* @__PURE__ */ new WeakMap();
|
|
233
73
|
function $58aed456727eb0f3$export$e64b2f635402ca43(props, state, ref) {
|
|
234
74
|
let { keyboardDelegate, isDisabled, isRequired, name, validationBehavior = "aria" } = props;
|
|
@@ -424,24 +264,24 @@ function useInternalSelectContext() {
|
|
|
424
264
|
}
|
|
425
265
|
return selectContext;
|
|
426
266
|
}
|
|
427
|
-
const underlay = "
|
|
428
|
-
const listboxRoot = "
|
|
429
|
-
const listbox = "
|
|
430
|
-
const listboxList = "
|
|
431
|
-
const sectionList = "
|
|
432
|
-
const optionContent = "
|
|
433
|
-
const separator = "
|
|
434
|
-
const option = "
|
|
435
|
-
const fieldRoot = "
|
|
436
|
-
const selectField = "
|
|
437
|
-
const selectSizeSm = "
|
|
438
|
-
const selectSizeLg = "
|
|
439
|
-
const selectFieldError = "
|
|
440
|
-
const selectFieldIconStart = "
|
|
441
|
-
const selectFieldIconEnd = "
|
|
442
|
-
const selectFieldIconContainer = "
|
|
443
|
-
const selectFieldText = "
|
|
444
|
-
const listboxOpen = "
|
|
267
|
+
const underlay = "_underlay_2ur1q_5";
|
|
268
|
+
const listboxRoot = "_listboxRoot_2ur1q_10";
|
|
269
|
+
const listbox = "_listbox_2ur1q_10";
|
|
270
|
+
const listboxList = "_listboxList_2ur1q_79";
|
|
271
|
+
const sectionList = "_sectionList_2ur1q_80";
|
|
272
|
+
const optionContent = "_optionContent_2ur1q_86";
|
|
273
|
+
const separator = "_separator_2ur1q_87";
|
|
274
|
+
const option = "_option_2ur1q_86";
|
|
275
|
+
const fieldRoot = "_fieldRoot_2ur1q_130";
|
|
276
|
+
const selectField = "_selectField_2ur1q_151";
|
|
277
|
+
const selectSizeSm = "_selectSizeSm_2ur1q_188";
|
|
278
|
+
const selectSizeLg = "_selectSizeLg_2ur1q_200";
|
|
279
|
+
const selectFieldError = "_selectFieldError_2ur1q_206";
|
|
280
|
+
const selectFieldIconStart = "_selectFieldIconStart_2ur1q_214";
|
|
281
|
+
const selectFieldIconEnd = "_selectFieldIconEnd_2ur1q_218";
|
|
282
|
+
const selectFieldIconContainer = "_selectFieldIconContainer_2ur1q_222";
|
|
283
|
+
const selectFieldText = "_selectFieldText_2ur1q_228";
|
|
284
|
+
const listboxOpen = "_listboxOpen_2ur1q_232";
|
|
445
285
|
const styles = {
|
|
446
286
|
underlay,
|
|
447
287
|
listboxRoot,
|