@easypost/easy-ui 1.0.0-alpha.67 → 1.0.0-alpha.68
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 +7 -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 +15 -15
- package/CodeBlock/index.mjs +15 -15
- package/CodeSnippet/index.js +1 -1
- package/CodeSnippet/index.mjs +1 -1
- package/DataGrid/index.js +69 -69
- package/DataGrid/index.mjs +69 -69
- package/DatePicker/index.js +8 -8
- package/DatePicker/index.mjs +8 -8
- package/DateRangePicker/index.js +8 -8
- package/DateRangePicker/index.mjs +8 -8
- package/Drawer/index.js +22 -22
- package/Drawer/index.mjs +22 -22
- package/DropdownButton/index.js +13 -13
- package/DropdownButton/index.mjs +13 -13
- 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 +42 -42
- package/ForgeLayout/index.mjs +42 -42
- 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 +13 -13
- package/IconButton/index.mjs +13 -13
- 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/index.js +1 -1
- package/Menu/index.mjs +1 -1
- package/Modal/index.js +23 -23
- package/Modal/index.mjs +23 -23
- package/MultiSelect/index.js +37 -39
- package/MultiSelect/index.mjs +38 -40
- package/NexusLayout/index.js +31 -31
- package/NexusLayout/index.mjs +31 -31
- package/Notification/index.js +1 -1
- package/Notification/index.mjs +1 -1
- package/Pagination/index.js +8 -8
- package/Pagination/index.mjs +8 -8
- package/PillGroup/index.js +1 -1
- package/PillGroup/index.mjs +1 -1
- package/ProductLayout/index.js +26 -26
- package/ProductLayout/index.mjs +26 -26
- package/Provider/index.js +2 -2
- package/Provider/index.mjs +2 -2
- package/RadioButtonGroup/index.js +10 -12
- package/RadioButtonGroup/index.mjs +10 -12
- 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 +4 -4
- package/TabPanels/index.mjs +4 -4
- 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/UnstyledButton/index.js +1 -1
- package/UnstyledButton/index.mjs +1 -1
- package/VerticalNav/index.js +25 -25
- package/VerticalNav/index.mjs +25 -25
- package/VerticalStack/index.js +1 -1
- package/VerticalStack/index.mjs +1 -1
- package/__chunks__/{Button-Y550ybuK.js → Button-BoPQ-Fx9.js} +6 -6
- package/__chunks__/{Button-10mhxReQ.mjs → Button-C2XjH0To.mjs} +19 -19
- package/__chunks__/{Button-BqogJAQ3.mjs → Button-DShBPWIF.mjs} +6 -6
- package/__chunks__/{Button-BxncM-fm.js → Button-DnLoaSJr.js} +19 -19
- package/__chunks__/{Calendar-D0ysbR2X.mjs → Calendar-CE1me5kU.mjs} +1 -1
- package/__chunks__/{Calendar-SdcIIg8-.js → Calendar-DDwEgLvp.js} +1 -1
- package/__chunks__/{CalendarBase-ncItGlBS.mjs → CalendarBase-BaIRHctl.mjs} +49 -38
- package/__chunks__/{CalendarBase-Vw2pBuuE.js → CalendarBase-C3ZpOlSV.js} +49 -38
- package/__chunks__/{Card-B1cXTObc.mjs → Card-C6wAxtdL.mjs} +12 -12
- package/__chunks__/{Card-DaX-ZuLu.js → Card-Dd-q1bh8.js} +12 -12
- package/__chunks__/{Checkbox-DSYdN5fC.js → Checkbox-CNu0kM51.js} +23 -23
- package/__chunks__/{Checkbox-DdAWbHpa.mjs → Checkbox-DxVLox7u.mjs} +23 -23
- package/__chunks__/{CodeSnippet-CPuuHMuI.js → CodeSnippet-BT2hkAfu.js} +2 -2
- package/__chunks__/{CodeSnippet-BbIqouQg.mjs → CodeSnippet-Duhq5nHT.mjs} +2 -2
- package/__chunks__/{DatePickerBase-DVA3ya0P.mjs → DatePickerBase-BeCCGUnY.mjs} +24 -24
- package/__chunks__/{DatePickerBase-D8v7yMaR.js → DatePickerBase-L-HoCUep.js} +24 -24
- package/__chunks__/{Dialog-CFyC5TFs.js → Dialog-CuqmbMC4.js} +74 -15
- package/__chunks__/{Dialog-DnCSZh3s.mjs → Dialog-Dhrf3s5u.mjs} +75 -16
- package/__chunks__/{FocusScope-Qg8vUhZ_.mjs → FocusScope-Bwm5pVEe.mjs} +7 -4
- package/__chunks__/{FocusScope-DFE0IeGl.js → FocusScope-Djtxzznf.js} +7 -4
- package/__chunks__/{HelpMenu-DeTGhGis.mjs → HelpMenu-BAmSNUnC.mjs} +7 -7
- package/__chunks__/{HelpMenu-CJK_EziM.js → HelpMenu-D1cDon5L.js} +7 -7
- package/__chunks__/{HorizontalGrid-N2NkjG0P.mjs → HorizontalGrid-Ch9ENxEo.mjs} +1 -1
- package/__chunks__/{HorizontalGrid-BYnV-Dy9.js → HorizontalGrid-kfsspHih.js} +1 -1
- package/__chunks__/{HorizontalStack-DqPlOkSw.js → HorizontalStack-B1uZiaNX.js} +1 -1
- package/__chunks__/{HorizontalStack-BjMnJAXd.mjs → HorizontalStack-Dyv-5-kh.mjs} +1 -1
- package/__chunks__/{Icon-SeXHAWa2.js → Icon-BEiJGivA.js} +2 -2
- package/__chunks__/{Icon-QpfeMf4x.mjs → Icon-DOHoWHbH.mjs} +2 -2
- package/__chunks__/{InputCaption-Bcjaxvqr.mjs → InputCaption-CySYnmNV.mjs} +2 -2
- package/__chunks__/{InputCaption-peDy98l4.js → InputCaption-Dj5fHEqX.js} +2 -2
- package/__chunks__/{InputField-CmJ6SAKl.mjs → InputField-DA7g3X1G.mjs} +6 -6
- package/__chunks__/{InputField-DvSIzId4.js → InputField-DHwzYUj5.js} +6 -6
- package/__chunks__/{InputIcon-BNR3_LeL.mjs → InputIcon-DuUwLnBp.mjs} +31 -31
- package/__chunks__/{InputIcon-szDt09pM.js → InputIcon-UgLsMyoE.js} +31 -31
- package/__chunks__/{KebabButton-BcKtZQv2.mjs → KebabButton-BIAHO0Cj.mjs} +5 -5
- package/__chunks__/{KebabButton-C4QJla9Y.js → KebabButton-C-bMU56U.js} +5 -5
- package/__chunks__/{Menu-C45BBC1Y.js → Menu-7hcIonxF.js} +43 -30
- package/__chunks__/{Menu-CW11-o2X.mjs → Menu-BhWR0nq_.mjs} +43 -30
- package/__chunks__/{Notification-BJKPFSzJ.mjs → Notification-BHHczfET.mjs} +17 -17
- package/__chunks__/{Notification-CxrDF_Pg.js → Notification-CsAZEegz.js} +17 -17
- package/__chunks__/{Overlay-Dmwy9VjC.js → Overlay-CwJbrICR.js} +1 -1
- package/__chunks__/{Overlay-BEmOdNIB.mjs → Overlay-kQ6Q7dIG.mjs} +1 -1
- package/__chunks__/{PillGroup-BtvBL5fM.mjs → PillGroup-CNUAWSR0.mjs} +135 -51
- package/__chunks__/{PillGroup-BUMKmU-f.js → PillGroup-DJbLolMZ.js} +134 -50
- package/__chunks__/{RadioGroup-C0py9A-2.js → RadioGroup-CeV2gCqE.js} +21 -21
- package/__chunks__/{RadioGroup-DZXOUSXN.mjs → RadioGroup-Cxj8sLXq.mjs} +21 -21
- package/__chunks__/{RangeCalendar-DSEwJpHw.mjs → RangeCalendar-CzkbWcll.mjs} +1 -1
- package/__chunks__/{RangeCalendar-DBiN8Tu8.js → RangeCalendar-GePc_84N.js} +1 -1
- package/__chunks__/{SelectOverlay-DBo4MARx.js → SelectOverlay-BduwEfhI.js} +28 -28
- package/__chunks__/{SelectOverlay-Cy3-vsZK.mjs → SelectOverlay-XpPaiSFA.mjs} +28 -28
- package/__chunks__/{SelectorErrorTooltip-DkECS0nt.js → SelectorErrorTooltip-CKfb04-I.js} +4 -4
- package/__chunks__/{SelectorErrorTooltip-fPBKPgvD.mjs → SelectorErrorTooltip-Dh0VAxiG.mjs} +4 -4
- package/__chunks__/{Spinner-BadWfHqn.js → Spinner-BKXdBoJJ.js} +5 -5
- package/__chunks__/{Spinner-BjlaHcou.mjs → Spinner-nrWHZuaA.mjs} +5 -5
- package/__chunks__/{Stepper-BB_ESAbw.mjs → Stepper-DJoTq-8d.mjs} +27 -27
- package/__chunks__/{Stepper-BqgzsSzg.js → Stepper-Dsu6ZQmh.js} +27 -27
- package/__chunks__/{TabNav-D77kh-Xx.mjs → TabNav-BPVFmoVS.mjs} +1 -1
- package/__chunks__/{TabNav-DnnHglAy.js → TabNav-Cdy2fWSb.js} +1 -1
- package/__chunks__/{Tabs-Y2WlJlna.js → Tabs-BwwFqtnK.js} +18 -18
- package/__chunks__/{Tabs-C2FPFWA4.mjs → Tabs-MOd7gGYp.mjs} +18 -18
- package/__chunks__/{Text-Crcy_R7t.js → Text-Bi6LyLI0.js} +34 -34
- package/__chunks__/{Text-V-yZP2s7.mjs → Text-FQhZrmyS.mjs} +34 -34
- package/__chunks__/{TextField-EkC5gsJ8.mjs → TextField-Beqw4ytb.mjs} +1 -1
- package/__chunks__/{TextField-D847huaI.js → TextField-DcwzlNPF.js} +1 -1
- package/__chunks__/{Toggle-CQIvcPcu.js → Toggle-DDgvulcD.js} +13 -13
- package/__chunks__/{Toggle-H4aOxdc8.mjs → Toggle-t9mfqH-0.mjs} +13 -13
- package/__chunks__/{Tooltip-DKFYEVdG.js → Tooltip-BB9vKUHa.js} +12 -12
- package/__chunks__/{Tooltip-CIS6DQEh.mjs → Tooltip-C30mSvZB.mjs} +12 -12
- package/__chunks__/{UnstyledButton-Dmq9K7Jv.js → UnstyledButton-BNpFL1WV.js} +1 -1
- package/__chunks__/{UnstyledButton-Ctqv-3bt.mjs → UnstyledButton-_Fv2Zvnn.mjs} +1 -1
- package/__chunks__/{VerticalStack-Djj29NqV.mjs → VerticalStack-Cth39m-n.mjs} +3 -3
- package/__chunks__/{VerticalStack-DjuWiMXF.js → VerticalStack-D5juweSg.js} +3 -3
- package/__chunks__/{VisuallyHidden-BC5PXI9q.mjs → VisuallyHidden-BM6BpKe-.mjs} +1 -1
- package/__chunks__/{VisuallyHidden-CVfjb1YY.js → VisuallyHidden-DcUrMWfu.js} +1 -1
- package/__chunks__/{ariaHideOutside-B6WqGXJj.js → ariaHideOutside-DkYn-eBq.js} +4 -14
- package/__chunks__/{ariaHideOutside-CxWZQtI1.mjs → ariaHideOutside-DzT8L09V.mjs} +4 -14
- package/__chunks__/{focusSafely-BWGCG3W3.mjs → focusSafely-DByEWahg.mjs} +2 -2
- package/__chunks__/{focusSafely-BvrXUhlW.js → focusSafely-wmTq_iKq.js} +2 -2
- package/__chunks__/{isVirtualEvent-BPCuFO54.mjs → isVirtualEvent-B_Z4yzgm.mjs} +7 -6
- package/__chunks__/{isVirtualEvent-DwoP1rNI.js → isVirtualEvent-C-tB2MCl.js} +1 -0
- package/__chunks__/{scrollIntoView-DkcUbB3D.js → scrollIntoView-BN4yt25y.js} +11 -7
- package/__chunks__/{scrollIntoView-CZM0k-rp.mjs → scrollIntoView-wURtlgJt.mjs} +11 -7
- package/__chunks__/{useButton-DZ0C3d-K.js → useButton-B_VJe1i5.js} +2 -2
- package/__chunks__/{useButton-BK6hwK02.mjs → useButton-CAB58gzb.mjs} +2 -2
- package/__chunks__/{useDialog-wy_ru95P.js → useDialog-DJ-g6m8Y.js} +2 -2
- package/__chunks__/{useDialog-h-MPfyGr.mjs → useDialog-IOP1VbOS.mjs} +2 -2
- package/__chunks__/{useEdgeInterceptors-ClXj8z7M.js → useEdgeInterceptors-BPijGinK.js} +5 -5
- package/__chunks__/{useEdgeInterceptors-CJs5WRkG.mjs → useEdgeInterceptors-DD-Z8qkB.mjs} +5 -5
- package/__chunks__/{useFocus-BJ7JikEx.mjs → useFocus-CK70xB5-.mjs} +2 -2
- package/__chunks__/{useFocus-B4oRb1dU.js → useFocus-l6ZlVMHW.js} +2 -2
- package/__chunks__/{useFocusRing-YOWeCHgO.mjs → useFocusRing-DE2KtVaT.mjs} +3 -3
- package/__chunks__/{useFocusRing-DFRFvht_.js → useFocusRing-f5StfjhA.js} +3 -3
- package/__chunks__/{useFocusVisible-ng1Hn25t.mjs → useFocusVisible-BWsOm7z5.mjs} +1 -1
- package/__chunks__/{useFocusVisible-PBQuklI8.js → useFocusVisible-CiIrKjuz.js} +1 -1
- package/__chunks__/{useFocusWithin-C1ioGWec.js → useFocusWithin-C-45XiL1.js} +1 -1
- package/__chunks__/{useFocusWithin-B-vQAW9V.mjs → useFocusWithin-C1nTntXX.mjs} +1 -1
- package/__chunks__/{useFocusable-8kJcp2yc.js → useFocusable-BQyiwtXU.js} +7 -3
- package/__chunks__/{useFocusable-CNor_Zjt.mjs → useFocusable-DFWO-r50.mjs} +7 -3
- package/__chunks__/{useFormValidation-DYz5WFze.js → useFormValidation-BeqiYVJN.js} +2 -2
- package/__chunks__/{useFormValidation-B3euLzzR.mjs → useFormValidation-DfzAl9pN.mjs} +2 -2
- package/__chunks__/{useHasTabbableChild-Cs10TUUE.js → useHasTabbableChild-CepF5tQS.js} +1 -1
- package/__chunks__/{useHasTabbableChild-BKgmY6ej.mjs → useHasTabbableChild-YC8W7aRx.mjs} +1 -1
- package/__chunks__/{useHighlightSelectionDescription-Cebr-N8X.mjs → useHighlightSelectionDescription-DjuXbVSH.mjs} +2 -2
- package/__chunks__/{useHighlightSelectionDescription-CT5XKTz0.js → useHighlightSelectionDescription-nSfKxNPA.js} +2 -2
- package/__chunks__/{useLink-DSnaSTQf.js → useLink-CQhl3ZGL.js} +2 -2
- package/__chunks__/{useLink-xdTgcuUM.mjs → useLink-D-4bwjAt.mjs} +2 -2
- package/__chunks__/{useListBoxSection-BsSdeGKp.mjs → useListBoxSection-CAwVEYPF.mjs} +10 -8
- package/__chunks__/{useListBoxSection-BlFRlBZy.js → useListBoxSection-TdoNdwIM.js} +10 -8
- package/__chunks__/{useMenuTrigger-qbIPy-fg.js → useMenuTrigger-DhSBxWW5.js} +2 -2
- package/__chunks__/{useMenuTrigger-D4pQ727R.mjs → useMenuTrigger-sRmDwcBp.mjs} +2 -2
- package/__chunks__/{useMenuTriggerState-Dai3rheB.js → useMenuTriggerState-DTZmPbSP.js} +1 -1
- package/__chunks__/{useMenuTriggerState-Cf_X36NC.mjs → useMenuTriggerState-cQf7L0mT.mjs} +1 -1
- package/__chunks__/{useModalOverlay-CkOujl0G.mjs → useModalOverlay-DyHdFvmT.mjs} +2 -2
- package/__chunks__/{useModalOverlay-BljLSPJ0.js → useModalOverlay-gSHY_FAb.js} +2 -2
- package/__chunks__/{useOverlayPosition-CMvGmqVL.js → useOverlayPosition-DJGEWKwM.js} +2 -2
- package/__chunks__/{useOverlayPosition-dua8TTSS.mjs → useOverlayPosition-VlLR-wFE.mjs} +2 -2
- package/__chunks__/{useOverlayTrigger-BS8c6XEz.mjs → useOverlayTrigger-BDiptZUo.mjs} +1 -1
- package/__chunks__/{useOverlayTrigger-Dp7RXQ9B.js → useOverlayTrigger-CiUR_pLO.js} +1 -1
- package/__chunks__/{usePress-DNETV97g.js → usePress-DTGD4Sub.js} +14 -13
- package/__chunks__/{usePress-Db4pSZfY.mjs → usePress-U7SFXdpv.mjs} +14 -13
- package/__chunks__/{useSelectableItem-B8l2VAQ8.mjs → useSelectableItem-BB067hsf.mjs} +102 -25
- package/__chunks__/{useSelectableItem-DpEX9QBc.js → useSelectableItem-BEkjpB_K.js} +101 -24
- package/__chunks__/{useSelectableList-DsUuWr0P.mjs → useSelectableList-DDqgQiaE.mjs} +1 -1
- package/__chunks__/{useSelectableList-CzTJAukw.js → useSelectableList-Dk3TxzYJ.js} +1 -1
- package/__chunks__/{useTextField-CErFc3WZ.js → useTextField-DM-ZTn9j.js} +6 -3
- package/__chunks__/{useTextField-Dd-YTxI4.mjs → useTextField-DmLS2Qbm.mjs} +6 -3
- package/__chunks__/{useToggle-BfpHeO2F.js → useToggle-Cu5EqIJD.js} +2 -2
- package/__chunks__/{useToggle-BDx-p-Zv.mjs → useToggle-infPUFau.mjs} +2 -2
- package/__chunks__/{utilities-DpKIaDkW.mjs → utilities-BXDJP7Yh.mjs} +4 -4
- package/__chunks__/{utilities-BDABIMDb.js → utilities-DIZYscJV.js} +4 -4
- package/__chunks__/{utils-Dt6xdGol.mjs → utils-BIfsWYLR.mjs} +5 -57
- package/__chunks__/{utils-eHk7b-OB.js → utils-BlKqJM2_.js} +0 -52
- package/package.json +5 -5
- package/style.css +1056 -1056
|
@@ -30,8 +30,8 @@ var __objRest = (source, exclude) => {
|
|
|
30
30
|
return target;
|
|
31
31
|
};
|
|
32
32
|
import React__default from "react";
|
|
33
|
-
import { T as Text } from "./Text-
|
|
34
|
-
import { s as styles } from "./InputIcon-
|
|
33
|
+
import { T as Text } from "./Text-FQhZrmyS.mjs";
|
|
34
|
+
import { s as styles } from "./InputIcon-DuUwLnBp.mjs";
|
|
35
35
|
import { classNames } from "../utilities/css.mjs";
|
|
36
36
|
function Label(props) {
|
|
37
37
|
const _a = props, { isLabelEmphasized = false, fieldSize = "md", hasError = false, children } = _a, labelProps = __objRest(_a, ["isLabelEmphasized", "fieldSize", "hasError", "children"]);
|
|
@@ -31,8 +31,8 @@ var __objRest = (source, exclude) => {
|
|
|
31
31
|
return target;
|
|
32
32
|
};
|
|
33
33
|
const React = require("react");
|
|
34
|
-
const Text = require("./Text-
|
|
35
|
-
const InputIcon = require("./InputIcon-
|
|
34
|
+
const Text = require("./Text-Bi6LyLI0.js");
|
|
35
|
+
const InputIcon = require("./InputIcon-UgLsMyoE.js");
|
|
36
36
|
const utilities_css = require("../utilities/css.js");
|
|
37
37
|
function Label(props) {
|
|
38
38
|
const _a = props, { isLabelEmphasized = false, fieldSize = "md", hasError = false, children } = _a, labelProps = __objRest(_a, ["isLabelEmphasized", "fieldSize", "hasError", "children"]);
|
|
@@ -20,12 +20,12 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
|
20
20
|
import * as React from "react";
|
|
21
21
|
import React__default, { useState } from "react";
|
|
22
22
|
import { classNames, variationName } from "../utilities/css.mjs";
|
|
23
|
-
import { L as Label, I as InputCaption } from "./InputCaption-
|
|
24
|
-
import { T as Text } from "./Text-
|
|
25
|
-
import { I as Icon } from "./Icon-
|
|
26
|
-
import { U as UnstyledButton } from "./UnstyledButton-
|
|
27
|
-
import { s as styles, m as mapIconSize, g as getElementType, a as logWarningsForInvalidPropConfiguration, l as logWarningForMissingAriaLabel, I as InputIcon } from "./InputIcon-
|
|
28
|
-
import { $ as $2d73ec29415bd339$export$712718f7aec83d5 } from "./useTextField-
|
|
23
|
+
import { L as Label, I as InputCaption } from "./InputCaption-CySYnmNV.mjs";
|
|
24
|
+
import { T as Text } from "./Text-FQhZrmyS.mjs";
|
|
25
|
+
import { I as Icon } from "./Icon-DOHoWHbH.mjs";
|
|
26
|
+
import { U as UnstyledButton } from "./UnstyledButton-_Fv2Zvnn.mjs";
|
|
27
|
+
import { s as styles, m as mapIconSize, g as getElementType, a as logWarningsForInvalidPropConfiguration, l as logWarningForMissingAriaLabel, I as InputIcon } from "./InputIcon-DuUwLnBp.mjs";
|
|
28
|
+
import { $ as $2d73ec29415bd339$export$712718f7aec83d5 } from "./useTextField-DmLS2Qbm.mjs";
|
|
29
29
|
import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "./useHover-BOYR4wqI.mjs";
|
|
30
30
|
var __defProp$1 = Object.defineProperty;
|
|
31
31
|
var __getOwnPropSymbols$1 = Object.getOwnPropertySymbols;
|
|
@@ -20,12 +20,12 @@ var __spreadValues = (a, b) => {
|
|
|
20
20
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
21
21
|
const React = require("react");
|
|
22
22
|
const utilities_css = require("../utilities/css.js");
|
|
23
|
-
const InputCaption = require("./InputCaption-
|
|
24
|
-
const Text = require("./Text-
|
|
25
|
-
const Icon = require("./Icon-
|
|
26
|
-
const UnstyledButton = require("./UnstyledButton-
|
|
27
|
-
const InputIcon = require("./InputIcon-
|
|
28
|
-
const useTextField = require("./useTextField-
|
|
23
|
+
const InputCaption = require("./InputCaption-Dj5fHEqX.js");
|
|
24
|
+
const Text = require("./Text-Bi6LyLI0.js");
|
|
25
|
+
const Icon = require("./Icon-BEiJGivA.js");
|
|
26
|
+
const UnstyledButton = require("./UnstyledButton-BNpFL1WV.js");
|
|
27
|
+
const InputIcon = require("./InputIcon-UgLsMyoE.js");
|
|
28
|
+
const useTextField = require("./useTextField-DM-ZTn9j.js");
|
|
29
29
|
const useHover = require("./useHover-BIKwjrCT.js");
|
|
30
30
|
function _interopNamespaceDefault(e) {
|
|
31
31
|
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import React__default from "react";
|
|
2
|
-
import { I as Icon } from "./Icon-
|
|
2
|
+
import { I as Icon } from "./Icon-DOHoWHbH.mjs";
|
|
3
3
|
import { classNames, variationName } from "../utilities/css.mjs";
|
|
4
|
-
const root = "
|
|
5
|
-
const inputIconContainer = "
|
|
6
|
-
const label = "
|
|
7
|
-
const input = "
|
|
8
|
-
const errorInput = "
|
|
9
|
-
const inputSizeSm = "
|
|
10
|
-
const inputSizeLg = "
|
|
11
|
-
const passwordInput = "
|
|
12
|
-
const passwordBtn = "
|
|
13
|
-
const hovered = "
|
|
14
|
-
const textArea = "
|
|
15
|
-
const passwordBtnError = "
|
|
16
|
-
const passwordBtnSm = "
|
|
17
|
-
const passwordBtnLg = "
|
|
18
|
-
const icon = "
|
|
19
|
-
const iconDisabled = "
|
|
20
|
-
const iconStart = "
|
|
21
|
-
const iconEnd = "
|
|
22
|
-
const iconStartInput = "
|
|
23
|
-
const iconEndInput = "
|
|
24
|
-
const inputIconPlacementSm = "
|
|
25
|
-
const inputIconPlacementLg = "
|
|
26
|
-
const caption = "
|
|
27
|
-
const textStartInput = "
|
|
28
|
-
const textEndInput = "
|
|
29
|
-
const text = "
|
|
30
|
-
const inputTextPlacementSm = "
|
|
31
|
-
const inputTextPlacementLg = "
|
|
32
|
-
const textStart = "
|
|
33
|
-
const textEnd = "
|
|
4
|
+
const root = "_root_1k8ek_5";
|
|
5
|
+
const inputIconContainer = "_inputIconContainer_1k8ek_26";
|
|
6
|
+
const label = "_label_1k8ek_32";
|
|
7
|
+
const input = "_input_1k8ek_26";
|
|
8
|
+
const errorInput = "_errorInput_1k8ek_68";
|
|
9
|
+
const inputSizeSm = "_inputSizeSm_1k8ek_76";
|
|
10
|
+
const inputSizeLg = "_inputSizeLg_1k8ek_88";
|
|
11
|
+
const passwordInput = "_passwordInput_1k8ek_94";
|
|
12
|
+
const passwordBtn = "_passwordBtn_1k8ek_104";
|
|
13
|
+
const hovered = "_hovered_1k8ek_130";
|
|
14
|
+
const textArea = "_textArea_1k8ek_139";
|
|
15
|
+
const passwordBtnError = "_passwordBtnError_1k8ek_144";
|
|
16
|
+
const passwordBtnSm = "_passwordBtnSm_1k8ek_150";
|
|
17
|
+
const passwordBtnLg = "_passwordBtnLg_1k8ek_155";
|
|
18
|
+
const icon = "_icon_1k8ek_160";
|
|
19
|
+
const iconDisabled = "_iconDisabled_1k8ek_170";
|
|
20
|
+
const iconStart = "_iconStart_1k8ek_174";
|
|
21
|
+
const iconEnd = "_iconEnd_1k8ek_178";
|
|
22
|
+
const iconStartInput = "_iconStartInput_1k8ek_182";
|
|
23
|
+
const iconEndInput = "_iconEndInput_1k8ek_186";
|
|
24
|
+
const inputIconPlacementSm = "_inputIconPlacementSm_1k8ek_190";
|
|
25
|
+
const inputIconPlacementLg = "_inputIconPlacementLg_1k8ek_194";
|
|
26
|
+
const caption = "_caption_1k8ek_198";
|
|
27
|
+
const textStartInput = "_textStartInput_1k8ek_202";
|
|
28
|
+
const textEndInput = "_textEndInput_1k8ek_206";
|
|
29
|
+
const text = "_text_1k8ek_139";
|
|
30
|
+
const inputTextPlacementSm = "_inputTextPlacementSm_1k8ek_223";
|
|
31
|
+
const inputTextPlacementLg = "_inputTextPlacementLg_1k8ek_229";
|
|
32
|
+
const textStart = "_textStart_1k8ek_202";
|
|
33
|
+
const textEnd = "_textEnd_1k8ek_206";
|
|
34
34
|
const styles = {
|
|
35
35
|
root,
|
|
36
36
|
inputIconContainer,
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const React = require("react");
|
|
3
|
-
const Icon = require("./Icon-
|
|
3
|
+
const Icon = require("./Icon-BEiJGivA.js");
|
|
4
4
|
const utilities_css = require("../utilities/css.js");
|
|
5
|
-
const root = "
|
|
6
|
-
const inputIconContainer = "
|
|
7
|
-
const label = "
|
|
8
|
-
const input = "
|
|
9
|
-
const errorInput = "
|
|
10
|
-
const inputSizeSm = "
|
|
11
|
-
const inputSizeLg = "
|
|
12
|
-
const passwordInput = "
|
|
13
|
-
const passwordBtn = "
|
|
14
|
-
const hovered = "
|
|
15
|
-
const textArea = "
|
|
16
|
-
const passwordBtnError = "
|
|
17
|
-
const passwordBtnSm = "
|
|
18
|
-
const passwordBtnLg = "
|
|
19
|
-
const icon = "
|
|
20
|
-
const iconDisabled = "
|
|
21
|
-
const iconStart = "
|
|
22
|
-
const iconEnd = "
|
|
23
|
-
const iconStartInput = "
|
|
24
|
-
const iconEndInput = "
|
|
25
|
-
const inputIconPlacementSm = "
|
|
26
|
-
const inputIconPlacementLg = "
|
|
27
|
-
const caption = "
|
|
28
|
-
const textStartInput = "
|
|
29
|
-
const textEndInput = "
|
|
30
|
-
const text = "
|
|
31
|
-
const inputTextPlacementSm = "
|
|
32
|
-
const inputTextPlacementLg = "
|
|
33
|
-
const textStart = "
|
|
34
|
-
const textEnd = "
|
|
5
|
+
const root = "_root_1k8ek_5";
|
|
6
|
+
const inputIconContainer = "_inputIconContainer_1k8ek_26";
|
|
7
|
+
const label = "_label_1k8ek_32";
|
|
8
|
+
const input = "_input_1k8ek_26";
|
|
9
|
+
const errorInput = "_errorInput_1k8ek_68";
|
|
10
|
+
const inputSizeSm = "_inputSizeSm_1k8ek_76";
|
|
11
|
+
const inputSizeLg = "_inputSizeLg_1k8ek_88";
|
|
12
|
+
const passwordInput = "_passwordInput_1k8ek_94";
|
|
13
|
+
const passwordBtn = "_passwordBtn_1k8ek_104";
|
|
14
|
+
const hovered = "_hovered_1k8ek_130";
|
|
15
|
+
const textArea = "_textArea_1k8ek_139";
|
|
16
|
+
const passwordBtnError = "_passwordBtnError_1k8ek_144";
|
|
17
|
+
const passwordBtnSm = "_passwordBtnSm_1k8ek_150";
|
|
18
|
+
const passwordBtnLg = "_passwordBtnLg_1k8ek_155";
|
|
19
|
+
const icon = "_icon_1k8ek_160";
|
|
20
|
+
const iconDisabled = "_iconDisabled_1k8ek_170";
|
|
21
|
+
const iconStart = "_iconStart_1k8ek_174";
|
|
22
|
+
const iconEnd = "_iconEnd_1k8ek_178";
|
|
23
|
+
const iconStartInput = "_iconStartInput_1k8ek_182";
|
|
24
|
+
const iconEndInput = "_iconEndInput_1k8ek_186";
|
|
25
|
+
const inputIconPlacementSm = "_inputIconPlacementSm_1k8ek_190";
|
|
26
|
+
const inputIconPlacementLg = "_inputIconPlacementLg_1k8ek_194";
|
|
27
|
+
const caption = "_caption_1k8ek_198";
|
|
28
|
+
const textStartInput = "_textStartInput_1k8ek_202";
|
|
29
|
+
const textEndInput = "_textEndInput_1k8ek_206";
|
|
30
|
+
const text = "_text_1k8ek_139";
|
|
31
|
+
const inputTextPlacementSm = "_inputTextPlacementSm_1k8ek_223";
|
|
32
|
+
const inputTextPlacementLg = "_inputTextPlacementLg_1k8ek_229";
|
|
33
|
+
const textStart = "_textStart_1k8ek_202";
|
|
34
|
+
const textEnd = "_textEnd_1k8ek_206";
|
|
35
35
|
const styles = {
|
|
36
36
|
root,
|
|
37
37
|
inputIconContainer,
|
|
@@ -32,9 +32,9 @@ var __objRest = (source, exclude) => {
|
|
|
32
32
|
import * as React from "react";
|
|
33
33
|
import React__default, { forwardRef } from "react";
|
|
34
34
|
import { classNames } from "../utilities/css.mjs";
|
|
35
|
-
import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "./usePress-
|
|
36
|
-
import { T as Text } from "./Text-
|
|
37
|
-
import { I as Icon } from "./Icon-
|
|
35
|
+
import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "./usePress-U7SFXdpv.mjs";
|
|
36
|
+
import { T as Text } from "./Text-FQhZrmyS.mjs";
|
|
37
|
+
import { I as Icon } from "./Icon-DOHoWHbH.mjs";
|
|
38
38
|
var __defProp2 = Object.defineProperty;
|
|
39
39
|
var __getOwnPropSymbols2 = Object.getOwnPropertySymbols;
|
|
40
40
|
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
|
|
@@ -72,7 +72,7 @@ const MoreVert = (_a) => {
|
|
|
72
72
|
d: "M479.88-189.23q-15.09 0-25.72-10.75-10.62-10.74-10.62-25.83 0-15.09 10.75-25.91 10.74-10.82 25.83-10.82 15.09 0 25.72 10.87 10.62 10.86 10.62 26.12 0 15.1-10.75 25.71-10.74 10.61-25.83 10.61Zm0-254.31q-15.09 0-25.72-10.75-10.62-10.74-10.62-25.83 0-15.09 10.75-25.72 10.74-10.62 25.83-10.62 15.09 0 25.72 10.75 10.62 10.74 10.62 25.83 0 15.09-10.75 25.72-10.74 10.62-25.83 10.62Zm0-253.92q-15.09 0-25.72-10.87-10.62-10.86-10.62-26.12 0-15.1 10.75-25.71 10.74-10.61 25.83-10.61 15.09 0 25.72 10.75 10.62 10.74 10.62 25.83 0 15.09-10.75 25.91-10.74 10.82-25.83 10.82Z"
|
|
73
73
|
}));
|
|
74
74
|
};
|
|
75
|
-
const UnstyledPressButton$1 = "
|
|
75
|
+
const UnstyledPressButton$1 = "_UnstyledPressButton_1h6ln_5";
|
|
76
76
|
const styles$1 = {
|
|
77
77
|
UnstyledPressButton: UnstyledPressButton$1
|
|
78
78
|
};
|
|
@@ -84,7 +84,7 @@ const UnstyledPressButton = forwardRef((props, ref) => {
|
|
|
84
84
|
}));
|
|
85
85
|
});
|
|
86
86
|
UnstyledPressButton.displayName = "UnstyledPressButton";
|
|
87
|
-
const KebabButton$1 = "
|
|
87
|
+
const KebabButton$1 = "_KebabButton_71lbq_5";
|
|
88
88
|
const styles = {
|
|
89
89
|
KebabButton: KebabButton$1
|
|
90
90
|
};
|
|
@@ -32,9 +32,9 @@ var __objRest = (source, exclude) => {
|
|
|
32
32
|
};
|
|
33
33
|
const React = require("react");
|
|
34
34
|
const utilities_css = require("../utilities/css.js");
|
|
35
|
-
const usePress = require("./usePress-
|
|
36
|
-
const Text = require("./Text-
|
|
37
|
-
const Icon = require("./Icon-
|
|
35
|
+
const usePress = require("./usePress-DTGD4Sub.js");
|
|
36
|
+
const Text = require("./Text-Bi6LyLI0.js");
|
|
37
|
+
const Icon = require("./Icon-BEiJGivA.js");
|
|
38
38
|
function _interopNamespaceDefault(e) {
|
|
39
39
|
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
40
40
|
if (e) {
|
|
@@ -89,7 +89,7 @@ const MoreVert = (_a) => {
|
|
|
89
89
|
d: "M479.88-189.23q-15.09 0-25.72-10.75-10.62-10.74-10.62-25.83 0-15.09 10.75-25.91 10.74-10.82 25.83-10.82 15.09 0 25.72 10.87 10.62 10.86 10.62 26.12 0 15.1-10.75 25.71-10.74 10.61-25.83 10.61Zm0-254.31q-15.09 0-25.72-10.75-10.62-10.74-10.62-25.83 0-15.09 10.75-25.72 10.74-10.62 25.83-10.62 15.09 0 25.72 10.75 10.62 10.74 10.62 25.83 0 15.09-10.75 25.72-10.74 10.62-25.83 10.62Zm0-253.92q-15.09 0-25.72-10.87-10.62-10.86-10.62-26.12 0-15.1 10.75-25.71 10.74-10.61 25.83-10.61 15.09 0 25.72 10.75 10.62 10.74 10.62 25.83 0 15.09-10.75 25.91-10.74 10.82-25.83 10.82Z"
|
|
90
90
|
}));
|
|
91
91
|
};
|
|
92
|
-
const UnstyledPressButton$1 = "
|
|
92
|
+
const UnstyledPressButton$1 = "_UnstyledPressButton_1h6ln_5";
|
|
93
93
|
const styles$1 = {
|
|
94
94
|
UnstyledPressButton: UnstyledPressButton$1
|
|
95
95
|
};
|
|
@@ -101,7 +101,7 @@ const UnstyledPressButton = React.forwardRef((props, ref) => {
|
|
|
101
101
|
}));
|
|
102
102
|
});
|
|
103
103
|
UnstyledPressButton.displayName = "UnstyledPressButton";
|
|
104
|
-
const KebabButton$1 = "
|
|
104
|
+
const KebabButton$1 = "_KebabButton_71lbq_5";
|
|
105
105
|
const styles = {
|
|
106
106
|
KebabButton: KebabButton$1
|
|
107
107
|
};
|
|
@@ -32,27 +32,27 @@ var __objRest = (source, exclude) => {
|
|
|
32
32
|
};
|
|
33
33
|
const React = require("react");
|
|
34
34
|
const omit = require("./omit-jjOwwbdQ.js");
|
|
35
|
-
const Checkbox = require("./Checkbox-
|
|
36
|
-
const Text = require("./Text-
|
|
37
|
-
const utilities = require("./utilities-
|
|
35
|
+
const Checkbox = require("./Checkbox-CNu0kM51.js");
|
|
36
|
+
const Text = require("./Text-Bi6LyLI0.js");
|
|
37
|
+
const utilities = require("./utilities-DIZYscJV.js");
|
|
38
38
|
const Item = require("./Item-CfWjPrxx.js");
|
|
39
39
|
const mergeProps = require("./mergeProps-DniMwM6P.js");
|
|
40
40
|
const filterDOMProps = require("./filterDOMProps-D3iOHP0H.js");
|
|
41
|
-
const
|
|
42
|
-
const
|
|
43
|
-
const useFocus = require("./useFocus-
|
|
44
|
-
const useFocusVisible = require("./useFocusVisible-
|
|
41
|
+
const usePress = require("./usePress-DTGD4Sub.js");
|
|
42
|
+
const useSelectableList = require("./useSelectableList-Dk3TxzYJ.js");
|
|
43
|
+
const useFocus = require("./useFocus-l6ZlVMHW.js");
|
|
44
|
+
const useFocusVisible = require("./useFocusVisible-CiIrKjuz.js");
|
|
45
45
|
const useHover = require("./useHover-BIKwjrCT.js");
|
|
46
|
-
const useFocusable = require("./useFocusable-
|
|
47
|
-
const useSelectableItem = require("./useSelectableItem-
|
|
46
|
+
const useFocusable = require("./useFocusable-BQyiwtXU.js");
|
|
47
|
+
const useSelectableItem = require("./useSelectableItem-BEkjpB_K.js");
|
|
48
48
|
const _commonjsHelpers = require("./_commonjsHelpers-Bc2YnDe1.js");
|
|
49
49
|
const utilities_useScrollbar = require("../utilities/useScrollbar.js");
|
|
50
50
|
const useTriggerWidth = require("./useTriggerWidth-B-IM2wNY.js");
|
|
51
|
-
const Overlay = require("./Overlay-
|
|
51
|
+
const Overlay = require("./Overlay-CwJbrICR.js");
|
|
52
52
|
const useTreeState = require("./useTreeState-D6aHf9kN.js");
|
|
53
|
-
const useMenuTriggerState = require("./useMenuTriggerState-
|
|
54
|
-
const useMenuTrigger = require("./useMenuTrigger-
|
|
55
|
-
const $
|
|
53
|
+
const useMenuTriggerState = require("./useMenuTriggerState-DTZmPbSP.js");
|
|
54
|
+
const useMenuTrigger = require("./useMenuTrigger-DhSBxWW5.js");
|
|
55
|
+
const $fc79756100351201$export$6f49b4016bfc8d56 = /* @__PURE__ */ new WeakMap();
|
|
56
56
|
function $d5336fe17ce95402$export$38eaa17faae8f579(props, state, ref) {
|
|
57
57
|
let _a = props, { shouldFocusWrap = true, onKeyDown, onKeyUp } = _a, otherProps = __objRest(_a, ["shouldFocusWrap", "onKeyDown", "onKeyUp"]);
|
|
58
58
|
if (!props["aria-label"] && !props["aria-labelledby"]) console.warn("An aria-label or aria-labelledby prop is required for accessibility.");
|
|
@@ -67,9 +67,10 @@ function $d5336fe17ce95402$export$38eaa17faae8f579(props, state, ref) {
|
|
|
67
67
|
shouldFocusWrap,
|
|
68
68
|
linkBehavior: "override"
|
|
69
69
|
}));
|
|
70
|
-
$
|
|
70
|
+
$fc79756100351201$export$6f49b4016bfc8d56.set(state, {
|
|
71
71
|
onClose: props.onClose,
|
|
72
|
-
onAction: props.onAction
|
|
72
|
+
onAction: props.onAction,
|
|
73
|
+
shouldUseVirtualFocus: props.shouldUseVirtualFocus
|
|
73
74
|
});
|
|
74
75
|
return {
|
|
75
76
|
menuProps: mergeProps.$3ef42575df84b30b$export$9d1611c77c2fe928(domProps, {
|
|
@@ -80,20 +81,20 @@ function $d5336fe17ce95402$export$38eaa17faae8f579(props, state, ref) {
|
|
|
80
81
|
}, listProps), {
|
|
81
82
|
onKeyDown: (e) => {
|
|
82
83
|
var _listProps_onKeyDown;
|
|
83
|
-
if (e.key !== "Escape") (_listProps_onKeyDown = listProps.onKeyDown) === null || _listProps_onKeyDown === void 0 ? void 0 : _listProps_onKeyDown.call(listProps, e);
|
|
84
|
+
if (e.key !== "Escape" || props.shouldUseVirtualFocus) (_listProps_onKeyDown = listProps.onKeyDown) === null || _listProps_onKeyDown === void 0 ? void 0 : _listProps_onKeyDown.call(listProps, e);
|
|
84
85
|
}
|
|
85
86
|
}))
|
|
86
87
|
};
|
|
87
88
|
}
|
|
88
89
|
function $a2e5df62f93c7633$export$9d32628fc2aea7da(props, state, ref) {
|
|
89
|
-
let { id, key, closeOnSelect, isVirtualized, "aria-haspopup": hasPopup, onPressStart: pressStartProp, onPressUp: pressUpProp, onPress, onPressChange, onPressEnd, onHoverStart: hoverStartProp, onHoverChange, onHoverEnd, onKeyDown, onKeyUp, onFocus, onFocusChange, onBlur, selectionManager = state.selectionManager } = props;
|
|
90
|
+
let { id, key, closeOnSelect, isVirtualized, "aria-haspopup": hasPopup, onPressStart: pressStartProp, onPressUp: pressUpProp, onPress: pressProp, onPressChange, onPressEnd, onHoverStart: hoverStartProp, onHoverChange, onHoverEnd, onKeyDown, onKeyUp, onFocus, onFocusChange, onBlur, selectionManager = state.selectionManager } = props;
|
|
90
91
|
let isTrigger = !!hasPopup;
|
|
91
92
|
let isTriggerExpanded = isTrigger && props["aria-expanded"] === "true";
|
|
92
93
|
var _props_isDisabled;
|
|
93
94
|
let isDisabled = (_props_isDisabled = props.isDisabled) !== null && _props_isDisabled !== void 0 ? _props_isDisabled : selectionManager.isDisabled(key);
|
|
94
95
|
var _props_isSelected;
|
|
95
96
|
let isSelected = (_props_isSelected = props.isSelected) !== null && _props_isSelected !== void 0 ? _props_isSelected : selectionManager.isSelected(key);
|
|
96
|
-
let data = $
|
|
97
|
+
let data = $fc79756100351201$export$6f49b4016bfc8d56.get(state);
|
|
97
98
|
let item2 = state.collection.getItem(key);
|
|
98
99
|
let onClose = props.onClose || data.onClose;
|
|
99
100
|
let router = usePress.$ea8dcbcb9ea1b556$export$9a302a45f65d0572();
|
|
@@ -139,14 +140,25 @@ function $a2e5df62f93c7633$export$9d32628fc2aea7da(props, state, ref) {
|
|
|
139
140
|
if (e.pointerType === "keyboard") performAction(e);
|
|
140
141
|
pressStartProp === null || pressStartProp === void 0 ? void 0 : pressStartProp(e);
|
|
141
142
|
};
|
|
143
|
+
let maybeClose = () => {
|
|
144
|
+
if (!isTrigger && onClose && (closeOnSelect !== null && closeOnSelect !== void 0 ? closeOnSelect : selectionManager.selectionMode !== "multiple" || selectionManager.isLink(key))) onClose();
|
|
145
|
+
};
|
|
142
146
|
let onPressUp = (e) => {
|
|
143
|
-
if (e.pointerType
|
|
147
|
+
if (e.pointerType === "mouse") {
|
|
144
148
|
performAction(e);
|
|
145
|
-
|
|
149
|
+
maybeClose();
|
|
146
150
|
}
|
|
147
151
|
pressUpProp === null || pressUpProp === void 0 ? void 0 : pressUpProp(e);
|
|
148
152
|
};
|
|
153
|
+
let onPress = (e) => {
|
|
154
|
+
if (e.pointerType !== "keyboard" && e.pointerType !== "mouse") {
|
|
155
|
+
performAction(e);
|
|
156
|
+
maybeClose();
|
|
157
|
+
}
|
|
158
|
+
pressProp === null || pressProp === void 0 ? void 0 : pressProp(e);
|
|
159
|
+
};
|
|
149
160
|
let { itemProps, isFocused } = useSelectableItem.$880e95eb8b93ba9a$export$ecf600387e221c37({
|
|
161
|
+
id,
|
|
150
162
|
selectionManager,
|
|
151
163
|
key,
|
|
152
164
|
ref,
|
|
@@ -156,7 +168,8 @@ function $a2e5df62f93c7633$export$9d32628fc2aea7da(props, state, ref) {
|
|
|
156
168
|
// because we handle it ourselves. The behavior of menus
|
|
157
169
|
// is slightly different from other collections because
|
|
158
170
|
// actions are performed on key down rather than key up.
|
|
159
|
-
linkBehavior: "none"
|
|
171
|
+
linkBehavior: "none",
|
|
172
|
+
shouldUseVirtualFocus: data.shouldUseVirtualFocus
|
|
160
173
|
});
|
|
161
174
|
let { pressProps, isPressed } = usePress.$f6c31cce2adf654f$export$45712eceda6fad21({
|
|
162
175
|
onPressStart,
|
|
@@ -259,15 +272,15 @@ function useInternalMenuContext() {
|
|
|
259
272
|
}
|
|
260
273
|
return menuContext;
|
|
261
274
|
}
|
|
262
|
-
const underlay = "
|
|
263
|
-
const root = "
|
|
264
|
-
const menu = "
|
|
265
|
-
const menuList = "
|
|
266
|
-
const sectionList = "
|
|
267
|
-
const sectionTitle = "
|
|
268
|
-
const itemContent = "
|
|
269
|
-
const separator = "
|
|
270
|
-
const item = "
|
|
275
|
+
const underlay = "_underlay_1qq9w_5";
|
|
276
|
+
const root = "_root_1qq9w_10";
|
|
277
|
+
const menu = "_menu_1qq9w_74";
|
|
278
|
+
const menuList = "_menuList_1qq9w_79";
|
|
279
|
+
const sectionList = "_sectionList_1qq9w_80";
|
|
280
|
+
const sectionTitle = "_sectionTitle_1qq9w_86";
|
|
281
|
+
const itemContent = "_itemContent_1qq9w_93";
|
|
282
|
+
const separator = "_separator_1qq9w_94";
|
|
283
|
+
const item = "_item_1qq9w_93";
|
|
271
284
|
const styles = {
|
|
272
285
|
underlay,
|
|
273
286
|
root,
|
|
@@ -31,27 +31,27 @@ var __objRest = (source, exclude) => {
|
|
|
31
31
|
};
|
|
32
32
|
import React__default, { createContext, useContext, useCallback, useMemo } from "react";
|
|
33
33
|
import { o as omit } from "./omit-B_jU3Uog.mjs";
|
|
34
|
-
import { C as Checkbox } from "./Checkbox-
|
|
35
|
-
import { T as Text } from "./Text-
|
|
36
|
-
import { S as SELECT_ALL_KEY, i as isSelectAllSelected, e as isSelectAllIndeterminate, u as useSelectionCapture, $ as $f2f8a6077418541e$export$542a6fd13ac93354, f as filterSelectedKeys, g as getUnmergedPopoverStyles, a as $86ea4cb521eb2e37$export$2317d149ed6f78c4, b as DEFAULT_MAX_ITEMS_UNTIL_SCROLL, d as DEFAULT_PLACEMENT, D as DEFAULT_WIDTH, O as OVERLAY_PADDING_FROM_CONTAINER, h as getMenuPopoverMaxHeight, c as OVERLAY_OFFSET } from "./utilities-
|
|
34
|
+
import { C as Checkbox } from "./Checkbox-DxVLox7u.mjs";
|
|
35
|
+
import { T as Text } from "./Text-FQhZrmyS.mjs";
|
|
36
|
+
import { S as SELECT_ALL_KEY, i as isSelectAllSelected, e as isSelectAllIndeterminate, u as useSelectionCapture, $ as $f2f8a6077418541e$export$542a6fd13ac93354, f as filterSelectedKeys, g as getUnmergedPopoverStyles, a as $86ea4cb521eb2e37$export$2317d149ed6f78c4, b as DEFAULT_MAX_ITEMS_UNTIL_SCROLL, d as DEFAULT_PLACEMENT, D as DEFAULT_WIDTH, O as OVERLAY_PADDING_FROM_CONTAINER, h as getMenuPopoverMaxHeight, c as OVERLAY_OFFSET } from "./utilities-BXDJP7Yh.mjs";
|
|
37
37
|
import { $ as $c1d7fb2ec91bae71$export$6d08773d2e66f8f2 } from "./Item-BhrTPNN2.mjs";
|
|
38
38
|
import { $ as $3ef42575df84b30b$export$9d1611c77c2fe928, b as $bdb11010cef70236$export$b4cc09c592e8fdb8, c as $bdb11010cef70236$export$f680877a34711e37 } from "./mergeProps-DSi85raC.mjs";
|
|
39
39
|
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./filterDOMProps-EDDcM64A.mjs";
|
|
40
|
-
import { $ as $
|
|
41
|
-
import {
|
|
42
|
-
import { $ as $a1ea59d68270f0dd$export$f8168d8dd8fd66e6 } from "./useFocus-
|
|
43
|
-
import { b as $507fabe10e71c6fb$export$b9b3dfddab17db27 } from "./useFocusVisible-
|
|
40
|
+
import { a as $ea8dcbcb9ea1b556$export$9a302a45f65d0572, $ as $f6c31cce2adf654f$export$45712eceda6fad21, b as $ea8dcbcb9ea1b556$export$7e924b3091a3bd18 } from "./usePress-U7SFXdpv.mjs";
|
|
41
|
+
import { $ as $982254629710d113$export$b95089534ab7c1fd, a as $453cc9f0df89c0a5$export$77d5aafae4e095b2 } from "./useSelectableList-DDqgQiaE.mjs";
|
|
42
|
+
import { $ as $a1ea59d68270f0dd$export$f8168d8dd8fd66e6 } from "./useFocus-CK70xB5-.mjs";
|
|
43
|
+
import { b as $507fabe10e71c6fb$export$b9b3dfddab17db27 } from "./useFocusVisible-BWsOm7z5.mjs";
|
|
44
44
|
import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "./useHover-BOYR4wqI.mjs";
|
|
45
|
-
import { a as $46d819fcbaf35654$export$8f71654801c2f7cd } from "./useFocusable-
|
|
46
|
-
import { $ as $880e95eb8b93ba9a$export$ecf600387e221c37 } from "./useSelectableItem-
|
|
45
|
+
import { a as $46d819fcbaf35654$export$8f71654801c2f7cd } from "./useFocusable-DFWO-r50.mjs";
|
|
46
|
+
import { $ as $880e95eb8b93ba9a$export$ecf600387e221c37 } from "./useSelectableItem-BB067hsf.mjs";
|
|
47
47
|
import { g as getDefaultExportFromCjs } from "./_commonjsHelpers-DWwsNxpa.mjs";
|
|
48
48
|
import { useScrollbar } from "../utilities/useScrollbar.mjs";
|
|
49
49
|
import { $ as $9fc4852771d079eb$export$6e2c8f0811a474ce, a as $f4b273590fab9f93$export$52210f68a14655d0, u as useTriggerWidth } from "./useTriggerWidth-CAYuGPNq.mjs";
|
|
50
|
-
import { d as $337b884510726a0d$export$c6fdb837b070b4ff } from "./Overlay-
|
|
50
|
+
import { d as $337b884510726a0d$export$c6fdb837b070b4ff } from "./Overlay-kQ6Q7dIG.mjs";
|
|
51
51
|
import { $ as $875d6693e12af071$export$728d6ba534403756 } from "./useTreeState-w_raYfy2.mjs";
|
|
52
|
-
import { $ as $a28c903ee9ad8dc5$export$79fefeb1c2091ac3 } from "./useMenuTriggerState-
|
|
53
|
-
import { $ as $168583247155ddda$export$dc9c12ed27dd1b49 } from "./useMenuTrigger-
|
|
54
|
-
const $
|
|
52
|
+
import { $ as $a28c903ee9ad8dc5$export$79fefeb1c2091ac3 } from "./useMenuTriggerState-cQf7L0mT.mjs";
|
|
53
|
+
import { $ as $168583247155ddda$export$dc9c12ed27dd1b49 } from "./useMenuTrigger-sRmDwcBp.mjs";
|
|
54
|
+
const $fc79756100351201$export$6f49b4016bfc8d56 = /* @__PURE__ */ new WeakMap();
|
|
55
55
|
function $d5336fe17ce95402$export$38eaa17faae8f579(props, state, ref) {
|
|
56
56
|
let _a = props, { shouldFocusWrap = true, onKeyDown, onKeyUp } = _a, otherProps = __objRest(_a, ["shouldFocusWrap", "onKeyDown", "onKeyUp"]);
|
|
57
57
|
if (!props["aria-label"] && !props["aria-labelledby"]) console.warn("An aria-label or aria-labelledby prop is required for accessibility.");
|
|
@@ -66,9 +66,10 @@ function $d5336fe17ce95402$export$38eaa17faae8f579(props, state, ref) {
|
|
|
66
66
|
shouldFocusWrap,
|
|
67
67
|
linkBehavior: "override"
|
|
68
68
|
}));
|
|
69
|
-
$
|
|
69
|
+
$fc79756100351201$export$6f49b4016bfc8d56.set(state, {
|
|
70
70
|
onClose: props.onClose,
|
|
71
|
-
onAction: props.onAction
|
|
71
|
+
onAction: props.onAction,
|
|
72
|
+
shouldUseVirtualFocus: props.shouldUseVirtualFocus
|
|
72
73
|
});
|
|
73
74
|
return {
|
|
74
75
|
menuProps: $3ef42575df84b30b$export$9d1611c77c2fe928(domProps, {
|
|
@@ -79,20 +80,20 @@ function $d5336fe17ce95402$export$38eaa17faae8f579(props, state, ref) {
|
|
|
79
80
|
}, listProps), {
|
|
80
81
|
onKeyDown: (e) => {
|
|
81
82
|
var _listProps_onKeyDown;
|
|
82
|
-
if (e.key !== "Escape") (_listProps_onKeyDown = listProps.onKeyDown) === null || _listProps_onKeyDown === void 0 ? void 0 : _listProps_onKeyDown.call(listProps, e);
|
|
83
|
+
if (e.key !== "Escape" || props.shouldUseVirtualFocus) (_listProps_onKeyDown = listProps.onKeyDown) === null || _listProps_onKeyDown === void 0 ? void 0 : _listProps_onKeyDown.call(listProps, e);
|
|
83
84
|
}
|
|
84
85
|
}))
|
|
85
86
|
};
|
|
86
87
|
}
|
|
87
88
|
function $a2e5df62f93c7633$export$9d32628fc2aea7da(props, state, ref) {
|
|
88
|
-
let { id, key, closeOnSelect, isVirtualized, "aria-haspopup": hasPopup, onPressStart: pressStartProp, onPressUp: pressUpProp, onPress, onPressChange, onPressEnd, onHoverStart: hoverStartProp, onHoverChange, onHoverEnd, onKeyDown, onKeyUp, onFocus, onFocusChange, onBlur, selectionManager = state.selectionManager } = props;
|
|
89
|
+
let { id, key, closeOnSelect, isVirtualized, "aria-haspopup": hasPopup, onPressStart: pressStartProp, onPressUp: pressUpProp, onPress: pressProp, onPressChange, onPressEnd, onHoverStart: hoverStartProp, onHoverChange, onHoverEnd, onKeyDown, onKeyUp, onFocus, onFocusChange, onBlur, selectionManager = state.selectionManager } = props;
|
|
89
90
|
let isTrigger = !!hasPopup;
|
|
90
91
|
let isTriggerExpanded = isTrigger && props["aria-expanded"] === "true";
|
|
91
92
|
var _props_isDisabled;
|
|
92
93
|
let isDisabled = (_props_isDisabled = props.isDisabled) !== null && _props_isDisabled !== void 0 ? _props_isDisabled : selectionManager.isDisabled(key);
|
|
93
94
|
var _props_isSelected;
|
|
94
95
|
let isSelected = (_props_isSelected = props.isSelected) !== null && _props_isSelected !== void 0 ? _props_isSelected : selectionManager.isSelected(key);
|
|
95
|
-
let data = $
|
|
96
|
+
let data = $fc79756100351201$export$6f49b4016bfc8d56.get(state);
|
|
96
97
|
let item2 = state.collection.getItem(key);
|
|
97
98
|
let onClose = props.onClose || data.onClose;
|
|
98
99
|
let router = $ea8dcbcb9ea1b556$export$9a302a45f65d0572();
|
|
@@ -138,14 +139,25 @@ function $a2e5df62f93c7633$export$9d32628fc2aea7da(props, state, ref) {
|
|
|
138
139
|
if (e.pointerType === "keyboard") performAction(e);
|
|
139
140
|
pressStartProp === null || pressStartProp === void 0 ? void 0 : pressStartProp(e);
|
|
140
141
|
};
|
|
142
|
+
let maybeClose = () => {
|
|
143
|
+
if (!isTrigger && onClose && (closeOnSelect !== null && closeOnSelect !== void 0 ? closeOnSelect : selectionManager.selectionMode !== "multiple" || selectionManager.isLink(key))) onClose();
|
|
144
|
+
};
|
|
141
145
|
let onPressUp = (e) => {
|
|
142
|
-
if (e.pointerType
|
|
146
|
+
if (e.pointerType === "mouse") {
|
|
143
147
|
performAction(e);
|
|
144
|
-
|
|
148
|
+
maybeClose();
|
|
145
149
|
}
|
|
146
150
|
pressUpProp === null || pressUpProp === void 0 ? void 0 : pressUpProp(e);
|
|
147
151
|
};
|
|
152
|
+
let onPress = (e) => {
|
|
153
|
+
if (e.pointerType !== "keyboard" && e.pointerType !== "mouse") {
|
|
154
|
+
performAction(e);
|
|
155
|
+
maybeClose();
|
|
156
|
+
}
|
|
157
|
+
pressProp === null || pressProp === void 0 ? void 0 : pressProp(e);
|
|
158
|
+
};
|
|
148
159
|
let { itemProps, isFocused } = $880e95eb8b93ba9a$export$ecf600387e221c37({
|
|
160
|
+
id,
|
|
149
161
|
selectionManager,
|
|
150
162
|
key,
|
|
151
163
|
ref,
|
|
@@ -155,7 +167,8 @@ function $a2e5df62f93c7633$export$9d32628fc2aea7da(props, state, ref) {
|
|
|
155
167
|
// because we handle it ourselves. The behavior of menus
|
|
156
168
|
// is slightly different from other collections because
|
|
157
169
|
// actions are performed on key down rather than key up.
|
|
158
|
-
linkBehavior: "none"
|
|
170
|
+
linkBehavior: "none",
|
|
171
|
+
shouldUseVirtualFocus: data.shouldUseVirtualFocus
|
|
159
172
|
});
|
|
160
173
|
let { pressProps, isPressed } = $f6c31cce2adf654f$export$45712eceda6fad21({
|
|
161
174
|
onPressStart,
|
|
@@ -258,15 +271,15 @@ function useInternalMenuContext() {
|
|
|
258
271
|
}
|
|
259
272
|
return menuContext;
|
|
260
273
|
}
|
|
261
|
-
const underlay = "
|
|
262
|
-
const root = "
|
|
263
|
-
const menu = "
|
|
264
|
-
const menuList = "
|
|
265
|
-
const sectionList = "
|
|
266
|
-
const sectionTitle = "
|
|
267
|
-
const itemContent = "
|
|
268
|
-
const separator = "
|
|
269
|
-
const item = "
|
|
274
|
+
const underlay = "_underlay_1qq9w_5";
|
|
275
|
+
const root = "_root_1qq9w_10";
|
|
276
|
+
const menu = "_menu_1qq9w_74";
|
|
277
|
+
const menuList = "_menuList_1qq9w_79";
|
|
278
|
+
const sectionList = "_sectionList_1qq9w_80";
|
|
279
|
+
const sectionTitle = "_sectionTitle_1qq9w_86";
|
|
280
|
+
const itemContent = "_itemContent_1qq9w_93";
|
|
281
|
+
const separator = "_separator_1qq9w_94";
|
|
282
|
+
const item = "_item_1qq9w_93";
|
|
270
283
|
const styles = {
|
|
271
284
|
underlay,
|
|
272
285
|
root,
|
|
@@ -25,13 +25,13 @@ import { c as $bdb11010cef70236$export$f680877a34711e37, b as $bdb11010cef70236$
|
|
|
25
25
|
import { $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "./useLocalizedStringFormatter-BHXy3Wtu.mjs";
|
|
26
26
|
import { createPortal } from "react-dom";
|
|
27
27
|
import { s as shimExports } from "./index-DCSYt1ke.mjs";
|
|
28
|
-
import { I as Icon } from "./Icon-
|
|
29
|
-
import { T as Text } from "./Text-
|
|
28
|
+
import { I as Icon } from "./Icon-DOHoWHbH.mjs";
|
|
29
|
+
import { T as Text } from "./Text-FQhZrmyS.mjs";
|
|
30
30
|
import { classNames, variationName } from "../utilities/css.mjs";
|
|
31
|
-
import { U as UnstyledButton } from "./UnstyledButton-
|
|
31
|
+
import { U as UnstyledButton } from "./UnstyledButton-_Fv2Zvnn.mjs";
|
|
32
32
|
import { a as $7215afc6de606d6b$export$de79e2c695e052f3 } from "./context-EpOG85wC.mjs";
|
|
33
|
-
import { $ as $507fabe10e71c6fb$export$630ff653c5ada6a9 } from "./useFocusVisible-
|
|
34
|
-
import { $ as $9ab94262bd0047c7$export$420e68273165f4ec } from "./useFocusWithin-
|
|
33
|
+
import { $ as $507fabe10e71c6fb$export$630ff653c5ada6a9 } from "./useFocusVisible-BWsOm7z5.mjs";
|
|
34
|
+
import { $ as $9ab94262bd0047c7$export$420e68273165f4ec } from "./useFocusWithin-C1nTntXX.mjs";
|
|
35
35
|
import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "./useHover-BOYR4wqI.mjs";
|
|
36
36
|
var __defProp$3 = Object.defineProperty;
|
|
37
37
|
var __getOwnPropSymbols$3 = Object.getOwnPropertySymbols;
|
|
@@ -998,18 +998,18 @@ function $6cc546b19ee7130a$export$b8cbbb20a51697de(props, state, ref) {
|
|
|
998
998
|
})
|
|
999
999
|
};
|
|
1000
1000
|
}
|
|
1001
|
-
const statusPromotional = "
|
|
1002
|
-
const statusSuccess = "
|
|
1003
|
-
const statusNeutral = "
|
|
1004
|
-
const statusWarning = "
|
|
1005
|
-
const statusError = "
|
|
1006
|
-
const typeToast = "
|
|
1007
|
-
const typeAlert = "
|
|
1008
|
-
const Notification$1 = "
|
|
1009
|
-
const iconText = "
|
|
1010
|
-
const closeButton = "
|
|
1011
|
-
const region = "
|
|
1012
|
-
const container = "
|
|
1001
|
+
const statusPromotional = "_statusPromotional_95i1j_5";
|
|
1002
|
+
const statusSuccess = "_statusSuccess_95i1j_10";
|
|
1003
|
+
const statusNeutral = "_statusNeutral_95i1j_15";
|
|
1004
|
+
const statusWarning = "_statusWarning_95i1j_20";
|
|
1005
|
+
const statusError = "_statusError_95i1j_25";
|
|
1006
|
+
const typeToast = "_typeToast_95i1j_30";
|
|
1007
|
+
const typeAlert = "_typeAlert_95i1j_34";
|
|
1008
|
+
const Notification$1 = "_Notification_95i1j_39";
|
|
1009
|
+
const iconText = "_iconText_95i1j_55";
|
|
1010
|
+
const closeButton = "_closeButton_95i1j_61";
|
|
1011
|
+
const region = "_region_95i1j_70";
|
|
1012
|
+
const container = "_container_95i1j_76";
|
|
1013
1013
|
const styles = {
|
|
1014
1014
|
statusPromotional,
|
|
1015
1015
|
statusSuccess,
|