@easypost/easy-ui 1.0.0-alpha.52 → 1.0.0-alpha.53
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 +11 -0
- package/Calendar/index.js +21 -21
- package/Calendar/index.mjs +20 -20
- 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/ActionsCellContent.d.ts.map +1 -1
- package/DataGrid/index.js +77 -150
- package/DataGrid/index.mjs +74 -131
- package/Drawer/index.js +21 -21
- package/Drawer/index.mjs +21 -21
- 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/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/KebabButton.d.ts +19 -0
- package/KebabButton/KebabButton.d.ts.map +1 -0
- package/KebabButton/KebabButton.stories.d.ts +7 -0
- package/KebabButton/KebabButton.stories.d.ts.map +1 -0
- package/KebabButton/KebabButton.test.d.ts +2 -0
- package/KebabButton/KebabButton.test.d.ts.map +1 -0
- package/KebabButton/index.d.ts +2 -0
- package/KebabButton/index.d.ts.map +1 -0
- package/KebabButton/index.js +4 -0
- package/KebabButton/index.mjs +4 -0
- package/Menu/index.js +1 -1
- package/Menu/index.mjs +1 -1
- package/Modal/index.js +22 -22
- package/Modal/index.mjs +22 -22
- 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 +16 -16
- package/PillGroup/index.mjs +16 -16
- package/ProductLayout/index.js +25 -25
- package/ProductLayout/index.mjs +25 -25
- package/Provider/index.js +2 -2
- package/Provider/index.mjs +2 -2
- package/RadioGroup/index.js +21 -21
- package/RadioGroup/index.mjs +21 -21
- package/SearchNav/index.js +30 -30
- package/SearchNav/index.mjs +30 -30
- 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/UnstyledPressButton.d.ts.map +1 -0
- 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-C8CAs9Ya.js → Button-BLXBu8Ta.js} +18 -18
- package/__chunks__/{Button-B-PwoC5y.mjs → Button-KmjMp6fw.mjs} +18 -18
- package/__chunks__/{Card-UU3JcpMA.js → Card-Bn_WwYcR.js} +12 -12
- package/__chunks__/{Card-BWhI0hJm.mjs → Card-YKZzjRiK.mjs} +12 -12
- package/__chunks__/{Checkbox-BZqZjAnI.mjs → Checkbox--LkvUfIF.mjs} +23 -23
- package/__chunks__/{Checkbox-CqRLbwPQ.js → Checkbox-CLLYuQFM.js} +23 -23
- package/__chunks__/{CodeSnippet-B1oVvl-o.js → CodeSnippet-D5b8WTPo.js} +2 -2
- package/__chunks__/{CodeSnippet-pRcbJYFv.mjs → CodeSnippet-daiUE0ZZ.mjs} +2 -2
- package/__chunks__/{FocusScope-CoZUVDQG.js → FocusScope-D5T6fKI9.js} +14 -14
- package/__chunks__/{FocusScope-CjqREKhC.mjs → FocusScope-OD0PXxQI.mjs} +2 -2
- package/__chunks__/{HelpMenu-BqXmt7b0.mjs → HelpMenu-CvYzKDPL.mjs} +7 -7
- package/__chunks__/{HelpMenu-c9NnR9pL.js → HelpMenu-dUbPE3b6.js} +7 -7
- package/__chunks__/{HorizontalGrid-DdZMHCh6.mjs → HorizontalGrid-BZ6IHKxE.mjs} +1 -1
- package/__chunks__/{HorizontalGrid-LK3oV1Xf.js → HorizontalGrid-ijPB5iDF.js} +1 -1
- package/__chunks__/{HorizontalStack-CyOBQGUF.js → HorizontalStack-BhYVqGNF.js} +1 -1
- package/__chunks__/{HorizontalStack-Cj64cYl-.mjs → HorizontalStack-CVOKWs2C.mjs} +1 -1
- package/__chunks__/{Icon-vgTkejl_.js → Icon-DTlCtPmb.js} +2 -2
- package/__chunks__/{Icon-BmhO04p4.mjs → Icon-ML4td6nu.mjs} +2 -2
- package/__chunks__/{InputField-w-orC_z_.mjs → InputField-BGuPTA6X.mjs} +7 -7
- package/__chunks__/{InputField-nGv1FZJR.js → InputField-BVj42bl6.js} +8 -8
- package/__chunks__/{InputIcon-D5WHF9JB.mjs → InputIcon-Ds8RTUHn.mjs} +25 -25
- package/__chunks__/{InputIcon-eg1DDtXb.js → InputIcon-cgR2J0CY.js} +25 -25
- package/__chunks__/KebabButton-Dwul0lCB.js +121 -0
- package/__chunks__/KebabButton-KJLOsFVT.mjs +106 -0
- package/__chunks__/{Menu-Bo7BjljK.mjs → Menu-_F51cSwS.mjs} +19 -19
- package/__chunks__/{Menu-ComLF8Lu.js → Menu-aW3etzMU.js} +19 -19
- package/__chunks__/{Notification-B344rGS6.mjs → Notification-B_EYEB85.mjs} +18 -18
- package/__chunks__/{Notification-BZ3ybUEX.js → Notification-FLiv_7Pz.js} +22 -22
- package/__chunks__/{Overlay-Dz_4R38U.mjs → Overlay-8RgU2lAl.mjs} +1 -1
- package/__chunks__/{Overlay-DBi2SVGv.js → Overlay-B-di_dfG.js} +1 -1
- package/__chunks__/{SelectOverlay-DQgtS85D.js → SelectOverlay-BXUOr3V4.js} +30 -29
- package/__chunks__/{SelectOverlay-Dlh7kgJP.mjs → SelectOverlay-CE6xQN1A.mjs} +29 -28
- package/__chunks__/{SelectorErrorTooltip-PmNc0Njc.js → SelectorErrorTooltip-CVmgS1ea.js} +4 -4
- package/__chunks__/{SelectorErrorTooltip-BkPBRxMN.mjs → SelectorErrorTooltip-Kb6OHby6.mjs} +4 -4
- package/__chunks__/{Spinner-DzWjiJW-.js → Spinner-B824MsLf.js} +5 -5
- package/__chunks__/{Spinner-7zBK2Xm-.mjs → Spinner-B_gLJGR4.mjs} +5 -5
- package/__chunks__/{Stepper-D_Eb3lcZ.js → Stepper-BsXgQ8uM.js} +27 -27
- package/__chunks__/{Stepper-CSyqKD6E.mjs → Stepper-jvJMb2AN.mjs} +27 -27
- package/__chunks__/{TabNav-bXzfdbir.js → TabNav-7zvsNpDC.js} +1 -1
- package/__chunks__/{TabNav-ihtxj9yI.mjs → TabNav-DZMmlU0F.mjs} +1 -1
- package/__chunks__/{Tabs-CmmF0WMQ.js → Tabs-Bno4dYlh.js} +18 -18
- package/__chunks__/{Tabs-CJ0TRL3H.mjs → Tabs-S7stbA0f.mjs} +18 -18
- package/__chunks__/{Text-CLXCmUFd.mjs → Text-7pwgbag-.mjs} +34 -34
- package/__chunks__/{Text-DN9QVNH4.js → Text-CT2y5c8a.js} +34 -34
- package/__chunks__/{Toggle-D4oyHZCf.js → Toggle-DTGHrByH.js} +13 -13
- package/__chunks__/{Toggle-DytN4mU6.mjs → Toggle-DnXlXQfM.mjs} +13 -13
- package/__chunks__/{Tooltip-BHGCJiVl.mjs → Tooltip-CtI3y9PC.mjs} +11 -11
- package/__chunks__/{Tooltip-BFf05Sd7.js → Tooltip-D3oH4aIj.js} +11 -11
- package/__chunks__/{UnstyledButton-DcvMv4SL.mjs → UnstyledButton-0v6TRjMY.mjs} +1 -1
- package/__chunks__/{UnstyledButton-DVpiY5Qh.js → UnstyledButton-BfeN_d1h.js} +1 -1
- package/__chunks__/{VerticalStack-DOMDyLlK.mjs → VerticalStack-BHv8i_jQ.mjs} +3 -3
- package/__chunks__/{VerticalStack-CbamvYP6.js → VerticalStack-BiBVFfHt.js} +3 -3
- package/__chunks__/{VisuallyHidden-CBNzWIG8.mjs → VisuallyHidden-BsBkcHpw.mjs} +1 -1
- package/__chunks__/{VisuallyHidden-zJSJlhfQ.js → VisuallyHidden-CVfjb1YY.js} +1 -1
- package/__chunks__/{ariaHideOutside-qn3-pnlW.js → ariaHideOutside-BYYnLsgt.js} +5 -5
- package/__chunks__/{ariaHideOutside-CGNrOhSc.mjs → ariaHideOutside-CGNwwQAc.mjs} +3 -3
- package/__chunks__/focusSafely-CZPj1Dug.js +14 -0
- package/__chunks__/focusSafely-DfpH-pE9.mjs +15 -0
- package/__chunks__/isVirtualEvent-BPCuFO54.mjs +74 -0
- package/__chunks__/isVirtualEvent-DwoP1rNI.js +73 -0
- package/__chunks__/{focusSafely-MxnwWbsu.mjs → runAfterTransition-B7Bfhj0D.mjs} +2 -13
- package/__chunks__/{focusSafely-BpCL6rxl.js → runAfterTransition-DtSqibrj.js} +0 -11
- package/__chunks__/{useButton-COCB0O4M.mjs → useButton-C6QFpa4j.mjs} +2 -2
- package/__chunks__/{useButton-hrdBTa5u.js → useButton-DVdJNlul.js} +2 -2
- package/__chunks__/{useDialog-47nl4w_8.mjs → useDialog-BThBdiel.mjs} +3 -3
- package/__chunks__/{useDialog-DNGXm940.js → useDialog-DIiUusMk.js} +3 -3
- package/__chunks__/{useEdgeInterceptors-CrrZ-iAb.js → useEdgeInterceptors-CegFcI5C.js} +5 -5
- package/__chunks__/{useEdgeInterceptors-D0TMU4bR.mjs → useEdgeInterceptors-Cg-US2Aq.mjs} +5 -5
- package/__chunks__/{useFocus-Dk6g6k91.js → useFocus-B4oRb1dU.js} +3 -2
- package/__chunks__/{useFocus-DOcjAFnP.mjs → useFocus-By3Cx-xz.mjs} +2 -1
- package/__chunks__/{useFocusRing-CKgGPgoX.js → useFocusRing-DFRFvht_.js} +3 -3
- package/__chunks__/{useFocusRing-Cj5zef_6.mjs → useFocusRing-dRPhwlpK.mjs} +3 -3
- package/__chunks__/{useFocusVisible-DXAxI2Xj.mjs → useFocusVisible-BbEmluTm.mjs} +4 -75
- package/__chunks__/{useFocusVisible-DAg8LS6j.js → useFocusVisible-PBQuklI8.js} +13 -84
- package/__chunks__/{useFocusWithin-CxvNMoRn.js → useFocusWithin-C1ioGWec.js} +1 -1
- package/__chunks__/{useFocusWithin-Bg5BTlgA.mjs → useFocusWithin-krnNAgDY.mjs} +1 -1
- package/__chunks__/{useFocusable-Uo_zjP6s.mjs → useFocusable-B0naYTNU.mjs} +2 -2
- package/__chunks__/{useFocusable-By9yXfUQ.js → useFocusable-D0hhxIk-.js} +2 -2
- package/__chunks__/{useFormValidation-DOUyT2Mb.js → useFormValidation-C2DoIczP.js} +1 -1
- package/__chunks__/{useFormValidation-C_CD-7QE.mjs → useFormValidation-DAScndBq.mjs} +1 -1
- package/__chunks__/{useHasTabbableChild-BCSKoUR_.js → useHasTabbableChild-4Ga1outX.js} +1 -1
- package/__chunks__/{useHasTabbableChild-DhoFI49t.mjs → useHasTabbableChild-DU6tKe-i.mjs} +1 -1
- package/__chunks__/{useHighlightSelectionDescription-P7rP7hnM.js → useHighlightSelectionDescription-CG5W6CIQ.js} +1 -1
- package/__chunks__/{useHighlightSelectionDescription-BGSwVQtc.mjs → useHighlightSelectionDescription-CPtYsCSQ.mjs} +1 -1
- package/__chunks__/{useModal-sVKQd6HX.mjs → useModal-DajWXu6g.mjs} +1 -1
- package/__chunks__/{useModal-BV6_Azqp.js → useModal-QwDRNW96.js} +2 -2
- package/__chunks__/{usePress-DjyN_yP2.js → usePress-BVH8whNd.js} +26 -26
- package/__chunks__/{usePress-CA-sH9oY.mjs → usePress-CiUDlxr6.mjs} +2 -2
- package/__chunks__/{useSelectableItem-Bgjo4Ulj.js → useSelectableItem-CJ5_OAlc.js} +10 -8
- package/__chunks__/{useSelectableItem-Dn-hODEw.mjs → useSelectableItem-SVHzvSUI.mjs} +6 -4
- package/__chunks__/{useSelectableList-DjrCndUM.mjs → useSelectableList-C-_LjaIN.mjs} +1 -1
- package/__chunks__/{useSelectableList-CjopKGbS.js → useSelectableList-ICLJNy5q.js} +1 -1
- package/__chunks__/{useToggle-V7BhKpNo.mjs → useToggle-B8pvlPQG.mjs} +2 -2
- package/__chunks__/{useToggle-qLiVQ6Y2.js → useToggle-CE4Qgz03.js} +2 -2
- package/__chunks__/{useTriggerWidth-CI9YrWOP.mjs → useTriggerWidth-BhAxDRD1.mjs} +4 -4
- package/__chunks__/{useTriggerWidth-Bj1hzfIg.js → useTriggerWidth-CCmtSs-d.js} +4 -4
- package/package.json +2 -2
- package/style.css +970 -968
- package/DataGrid/UnstyledPressButton.d.ts.map +0 -1
- /package/{DataGrid → UnstyledButton}/UnstyledPressButton.d.ts +0 -0
package/VerticalNav/index.mjs
CHANGED
|
@@ -32,13 +32,13 @@ var __objRest = (source, exclude) => {
|
|
|
32
32
|
import React__default, { createContext, useContext, useMemo, forwardRef } from "react";
|
|
33
33
|
import { $ as $c1d7fb2ec91bae71$export$6d08773d2e66f8f2 } from "../__chunks__/Item-BhrTPNN2.mjs";
|
|
34
34
|
import { classNames, variationName } from "../utilities/css.mjs";
|
|
35
|
-
import { I as Icon } from "../__chunks__/Icon-
|
|
36
|
-
import { T as Text } from "../__chunks__/Text-
|
|
35
|
+
import { I as Icon } from "../__chunks__/Icon-ML4td6nu.mjs";
|
|
36
|
+
import { T as Text } from "../__chunks__/Text-7pwgbag-.mjs";
|
|
37
37
|
import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "../__chunks__/useHover-BOYR4wqI.mjs";
|
|
38
38
|
import { a as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "../__chunks__/mergeProps-SJQ-f8LF.mjs";
|
|
39
39
|
import { $ as $e72dd72e1c76a225$export$2f645645f7bca764 } from "../__chunks__/useListState-CH1PXfc5.mjs";
|
|
40
40
|
import { A as ArrowForwardIos } from "../__chunks__/ArrowForwardIos-DSeLeLhY.mjs";
|
|
41
|
-
import { U as UnstyledButton } from "../__chunks__/UnstyledButton-
|
|
41
|
+
import { U as UnstyledButton } from "../__chunks__/UnstyledButton-0v6TRjMY.mjs";
|
|
42
42
|
import { $ as $875d6693e12af071$export$728d6ba534403756 } from "../__chunks__/useTreeState-BZxhJy4m.mjs";
|
|
43
43
|
function Item(_props) {
|
|
44
44
|
return null;
|
|
@@ -50,11 +50,11 @@ const getCollectionNode = (props, context) => originalGetCollectionNode(__spread
|
|
|
50
50
|
Object.assign(Item, $c1d7fb2ec91bae71$export$6d08773d2e66f8f2, {
|
|
51
51
|
getCollectionNode
|
|
52
52
|
});
|
|
53
|
-
const Container$1 = "
|
|
54
|
-
const banner = "
|
|
55
|
-
const logo = "
|
|
56
|
-
const nav = "
|
|
57
|
-
const supplementaryActionContainer = "
|
|
53
|
+
const Container$1 = "_Container_11vsp_5";
|
|
54
|
+
const banner = "_banner_11vsp_16";
|
|
55
|
+
const logo = "_logo_11vsp_20";
|
|
56
|
+
const nav = "_nav_11vsp_31";
|
|
57
|
+
const supplementaryActionContainer = "_supplementaryActionContainer_11vsp_38";
|
|
58
58
|
const styles$5 = {
|
|
59
59
|
Container: Container$1,
|
|
60
60
|
banner,
|
|
@@ -80,12 +80,12 @@ function Container(props) {
|
|
|
80
80
|
className: styles$5.supplementaryActionContainer
|
|
81
81
|
}, supplementaryAction));
|
|
82
82
|
}
|
|
83
|
-
const NavItem$1 = "
|
|
84
|
-
const hovered$1 = "
|
|
85
|
-
const selectedTree = "
|
|
86
|
-
const selectedList = "
|
|
87
|
-
const linkContainer = "
|
|
88
|
-
const link$1 = "
|
|
83
|
+
const NavItem$1 = "_NavItem_1l4al_5";
|
|
84
|
+
const hovered$1 = "_hovered_1l4al_12";
|
|
85
|
+
const selectedTree = "_selectedTree_1l4al_16";
|
|
86
|
+
const selectedList = "_selectedList_1l4al_20";
|
|
87
|
+
const linkContainer = "_linkContainer_1l4al_24";
|
|
88
|
+
const link$1 = "_link_1l4al_24";
|
|
89
89
|
const navItemStyles = {
|
|
90
90
|
NavItem: NavItem$1,
|
|
91
91
|
hovered: hovered$1,
|
|
@@ -145,9 +145,9 @@ function ListNavItem({ item, state }) {
|
|
|
145
145
|
isSelected
|
|
146
146
|
});
|
|
147
147
|
}
|
|
148
|
-
const SubnavItemDot$1 = "
|
|
149
|
-
const cozy = "
|
|
150
|
-
const visible = "
|
|
148
|
+
const SubnavItemDot$1 = "_SubnavItemDot_8g4wu_5";
|
|
149
|
+
const cozy = "_cozy_8g4wu_17";
|
|
150
|
+
const visible = "_visible_8g4wu_21";
|
|
151
151
|
const styles$4 = {
|
|
152
152
|
SubnavItemDot: SubnavItemDot$1,
|
|
153
153
|
cozy,
|
|
@@ -159,10 +159,10 @@ function SubnavItemDot({ isCozy, isVisible }) {
|
|
|
159
159
|
className
|
|
160
160
|
});
|
|
161
161
|
}
|
|
162
|
-
const SubnavItem$1 = "
|
|
163
|
-
const link = "
|
|
164
|
-
const hovered = "
|
|
165
|
-
const selected = "
|
|
162
|
+
const SubnavItem$1 = "_SubnavItem_237g5_5";
|
|
163
|
+
const link = "_link_237g5_11";
|
|
164
|
+
const hovered = "_hovered_237g5_27";
|
|
165
|
+
const selected = "_selected_237g5_31";
|
|
166
166
|
const styles$3 = {
|
|
167
167
|
SubnavItem: SubnavItem$1,
|
|
168
168
|
link,
|
|
@@ -192,7 +192,7 @@ function SubnavItem(props) {
|
|
|
192
192
|
weight: isSelected && level === 1 ? "medium" : "normal"
|
|
193
193
|
}, label)), item.props.children && item.rendered);
|
|
194
194
|
}
|
|
195
|
-
const Subnav$1 = "
|
|
195
|
+
const Subnav$1 = "_Subnav_19bct_5";
|
|
196
196
|
const styles$2 = {
|
|
197
197
|
Subnav: Subnav$1
|
|
198
198
|
};
|
|
@@ -216,7 +216,7 @@ function Subnav(props) {
|
|
|
216
216
|
item
|
|
217
217
|
}))));
|
|
218
218
|
}
|
|
219
|
-
const SupplementaryAction$1 = "
|
|
219
|
+
const SupplementaryAction$1 = "_SupplementaryAction_159by_5";
|
|
220
220
|
const styles$1 = {
|
|
221
221
|
SupplementaryAction: SupplementaryAction$1
|
|
222
222
|
};
|
|
@@ -233,8 +233,8 @@ const SupplementaryAction = forwardRef((props, ref) => {
|
|
|
233
233
|
}));
|
|
234
234
|
});
|
|
235
235
|
SupplementaryAction.displayName = "SupplementaryAction";
|
|
236
|
-
const ExpandButton$1 = "
|
|
237
|
-
const expanded = "
|
|
236
|
+
const ExpandButton$1 = "_ExpandButton_hrptn_5";
|
|
237
|
+
const expanded = "_expanded_hrptn_9";
|
|
238
238
|
const styles = {
|
|
239
239
|
ExpandButton: ExpandButton$1,
|
|
240
240
|
expanded
|
package/VerticalStack/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const VerticalStack = require("../__chunks__/VerticalStack-
|
|
3
|
+
const VerticalStack = require("../__chunks__/VerticalStack-BiBVFfHt.js");
|
|
4
4
|
exports.VerticalStack = VerticalStack.VerticalStack;
|
package/VerticalStack/index.mjs
CHANGED
|
@@ -28,25 +28,25 @@ var __objRest = (source, exclude) => {
|
|
|
28
28
|
return target;
|
|
29
29
|
};
|
|
30
30
|
const React = require("react");
|
|
31
|
-
const UnstyledButton = require("./UnstyledButton-
|
|
32
|
-
const Icon = require("./Icon-
|
|
31
|
+
const UnstyledButton = require("./UnstyledButton-BfeN_d1h.js");
|
|
32
|
+
const Icon = require("./Icon-DTlCtPmb.js");
|
|
33
33
|
const utilities_css = require("../utilities/css.js");
|
|
34
|
-
const Button$1 = "
|
|
35
|
-
const colorPrimary = "
|
|
36
|
-
const colorSecondary = "
|
|
37
|
-
const colorSuccess = "
|
|
38
|
-
const colorWarning = "
|
|
39
|
-
const colorNeutral = "
|
|
40
|
-
const colorSupport = "
|
|
41
|
-
const colorInverse = "
|
|
42
|
-
const variantFilled = "
|
|
43
|
-
const variantOutlined = "
|
|
44
|
-
const variantLink = "
|
|
45
|
-
const sizeMd = "
|
|
46
|
-
const sizeSm = "
|
|
47
|
-
const block = "
|
|
48
|
-
const iconAtStart = "
|
|
49
|
-
const iconAtEnd = "
|
|
34
|
+
const Button$1 = "_Button_1gzr0_5";
|
|
35
|
+
const colorPrimary = "_colorPrimary_1gzr0_20";
|
|
36
|
+
const colorSecondary = "_colorSecondary_1gzr0_28";
|
|
37
|
+
const colorSuccess = "_colorSuccess_1gzr0_36";
|
|
38
|
+
const colorWarning = "_colorWarning_1gzr0_44";
|
|
39
|
+
const colorNeutral = "_colorNeutral_1gzr0_52";
|
|
40
|
+
const colorSupport = "_colorSupport_1gzr0_60";
|
|
41
|
+
const colorInverse = "_colorInverse_1gzr0_66";
|
|
42
|
+
const variantFilled = "_variantFilled_1gzr0_72";
|
|
43
|
+
const variantOutlined = "_variantOutlined_1gzr0_99";
|
|
44
|
+
const variantLink = "_variantLink_1gzr0_127";
|
|
45
|
+
const sizeMd = "_sizeMd_1gzr0_151";
|
|
46
|
+
const sizeSm = "_sizeSm_1gzr0_159";
|
|
47
|
+
const block = "_block_1gzr0_176";
|
|
48
|
+
const iconAtStart = "_iconAtStart_1gzr0_181";
|
|
49
|
+
const iconAtEnd = "_iconAtEnd_1gzr0_185";
|
|
50
50
|
const styles = {
|
|
51
51
|
Button: Button$1,
|
|
52
52
|
colorPrimary,
|
|
@@ -27,25 +27,25 @@ var __objRest = (source, exclude) => {
|
|
|
27
27
|
return target;
|
|
28
28
|
};
|
|
29
29
|
import React__default, { forwardRef } from "react";
|
|
30
|
-
import { l as logWarningIfInvalidColorVariantCombination, U as UnstyledButton } from "./UnstyledButton-
|
|
31
|
-
import { I as Icon } from "./Icon-
|
|
30
|
+
import { l as logWarningIfInvalidColorVariantCombination, U as UnstyledButton } from "./UnstyledButton-0v6TRjMY.mjs";
|
|
31
|
+
import { I as Icon } from "./Icon-ML4td6nu.mjs";
|
|
32
32
|
import { classNames, variationName } from "../utilities/css.mjs";
|
|
33
|
-
const Button$1 = "
|
|
34
|
-
const colorPrimary = "
|
|
35
|
-
const colorSecondary = "
|
|
36
|
-
const colorSuccess = "
|
|
37
|
-
const colorWarning = "
|
|
38
|
-
const colorNeutral = "
|
|
39
|
-
const colorSupport = "
|
|
40
|
-
const colorInverse = "
|
|
41
|
-
const variantFilled = "
|
|
42
|
-
const variantOutlined = "
|
|
43
|
-
const variantLink = "
|
|
44
|
-
const sizeMd = "
|
|
45
|
-
const sizeSm = "
|
|
46
|
-
const block = "
|
|
47
|
-
const iconAtStart = "
|
|
48
|
-
const iconAtEnd = "
|
|
33
|
+
const Button$1 = "_Button_1gzr0_5";
|
|
34
|
+
const colorPrimary = "_colorPrimary_1gzr0_20";
|
|
35
|
+
const colorSecondary = "_colorSecondary_1gzr0_28";
|
|
36
|
+
const colorSuccess = "_colorSuccess_1gzr0_36";
|
|
37
|
+
const colorWarning = "_colorWarning_1gzr0_44";
|
|
38
|
+
const colorNeutral = "_colorNeutral_1gzr0_52";
|
|
39
|
+
const colorSupport = "_colorSupport_1gzr0_60";
|
|
40
|
+
const colorInverse = "_colorInverse_1gzr0_66";
|
|
41
|
+
const variantFilled = "_variantFilled_1gzr0_72";
|
|
42
|
+
const variantOutlined = "_variantOutlined_1gzr0_99";
|
|
43
|
+
const variantLink = "_variantLink_1gzr0_127";
|
|
44
|
+
const sizeMd = "_sizeMd_1gzr0_151";
|
|
45
|
+
const sizeSm = "_sizeSm_1gzr0_159";
|
|
46
|
+
const block = "_block_1gzr0_176";
|
|
47
|
+
const iconAtStart = "_iconAtStart_1gzr0_181";
|
|
48
|
+
const iconAtEnd = "_iconAtEnd_1gzr0_185";
|
|
49
49
|
const styles = {
|
|
50
50
|
Button: Button$1,
|
|
51
51
|
colorPrimary,
|
|
@@ -158,18 +158,18 @@ function requirePick() {
|
|
|
158
158
|
}
|
|
159
159
|
var pickExports = requirePick();
|
|
160
160
|
const pick = /* @__PURE__ */ _commonjsHelpers.getDefaultExportFromCjs(pickExports);
|
|
161
|
-
const container = "
|
|
162
|
-
const area = "
|
|
163
|
-
const variantFlagged = "
|
|
164
|
-
const variantOutlined = "
|
|
165
|
-
const selected = "
|
|
166
|
-
const disabled = "
|
|
167
|
-
const statusDanger = "
|
|
168
|
-
const statusWarning = "
|
|
169
|
-
const statusSuccess = "
|
|
170
|
-
const statusNeutral = "
|
|
171
|
-
const statusPrimary = "
|
|
172
|
-
const statusSecondary = "
|
|
161
|
+
const container = "_container_oyiws_5";
|
|
162
|
+
const area = "_area_oyiws_25";
|
|
163
|
+
const variantFlagged = "_variantFlagged_oyiws_219";
|
|
164
|
+
const variantOutlined = "_variantOutlined_oyiws_226";
|
|
165
|
+
const selected = "_selected_oyiws_231";
|
|
166
|
+
const disabled = "_disabled_oyiws_235";
|
|
167
|
+
const statusDanger = "_statusDanger_oyiws_239";
|
|
168
|
+
const statusWarning = "_statusWarning_oyiws_243";
|
|
169
|
+
const statusSuccess = "_statusSuccess_oyiws_247";
|
|
170
|
+
const statusNeutral = "_statusNeutral_oyiws_251";
|
|
171
|
+
const statusPrimary = "_statusPrimary_oyiws_255";
|
|
172
|
+
const statusSecondary = "_statusSecondary_oyiws_259";
|
|
173
173
|
const styles = {
|
|
174
174
|
container,
|
|
175
175
|
area,
|
|
@@ -157,18 +157,18 @@ function requirePick() {
|
|
|
157
157
|
}
|
|
158
158
|
var pickExports = requirePick();
|
|
159
159
|
const pick = /* @__PURE__ */ getDefaultExportFromCjs(pickExports);
|
|
160
|
-
const container = "
|
|
161
|
-
const area = "
|
|
162
|
-
const variantFlagged = "
|
|
163
|
-
const variantOutlined = "
|
|
164
|
-
const selected = "
|
|
165
|
-
const disabled = "
|
|
166
|
-
const statusDanger = "
|
|
167
|
-
const statusWarning = "
|
|
168
|
-
const statusSuccess = "
|
|
169
|
-
const statusNeutral = "
|
|
170
|
-
const statusPrimary = "
|
|
171
|
-
const statusSecondary = "
|
|
160
|
+
const container = "_container_oyiws_5";
|
|
161
|
+
const area = "_area_oyiws_25";
|
|
162
|
+
const variantFlagged = "_variantFlagged_oyiws_219";
|
|
163
|
+
const variantOutlined = "_variantOutlined_oyiws_226";
|
|
164
|
+
const selected = "_selected_oyiws_231";
|
|
165
|
+
const disabled = "_disabled_oyiws_235";
|
|
166
|
+
const statusDanger = "_statusDanger_oyiws_239";
|
|
167
|
+
const statusWarning = "_statusWarning_oyiws_243";
|
|
168
|
+
const statusSuccess = "_statusSuccess_oyiws_247";
|
|
169
|
+
const statusNeutral = "_statusNeutral_oyiws_251";
|
|
170
|
+
const statusPrimary = "_statusPrimary_oyiws_255";
|
|
171
|
+
const statusSecondary = "_statusSecondary_oyiws_259";
|
|
172
172
|
const styles = {
|
|
173
173
|
container,
|
|
174
174
|
area,
|
|
@@ -33,14 +33,14 @@ import * as React from "react";
|
|
|
33
33
|
import React__default, { useEffect, forwardRef } from "react";
|
|
34
34
|
import { a as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./mergeProps-SJQ-f8LF.mjs";
|
|
35
35
|
import { $ as $5dc95899b306f630$export$c9058316764c140e } from "./mergeRefs-CCV6itCY.mjs";
|
|
36
|
-
import { I as Icon } from "./Icon-
|
|
37
|
-
import { S as SelectorErrorTooltip } from "./SelectorErrorTooltip-
|
|
38
|
-
import { T as Text } from "./Text-
|
|
36
|
+
import { I as Icon } from "./Icon-ML4td6nu.mjs";
|
|
37
|
+
import { S as SelectorErrorTooltip } from "./SelectorErrorTooltip-Kb6OHby6.mjs";
|
|
38
|
+
import { T as Text } from "./Text-7pwgbag-.mjs";
|
|
39
39
|
import { classNames, variationName } from "../utilities/css.mjs";
|
|
40
|
-
import { $ as $d2c8e2b0480f3f34$export$cbe85ee05b554577, a as $3017fa7ffdddec74$export$8042c6c013fd5226 } from "./useToggle-
|
|
41
|
-
import { $ as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, a as $e93e671b31057976$export$b8473d3665f3a75a, b as $e5be200c675c3b3a$export$a763b9476acd3eb } from "./useFormValidation-
|
|
42
|
-
import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "./usePress-
|
|
43
|
-
import { $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "./useFocusRing-
|
|
40
|
+
import { $ as $d2c8e2b0480f3f34$export$cbe85ee05b554577, a as $3017fa7ffdddec74$export$8042c6c013fd5226 } from "./useToggle-B8pvlPQG.mjs";
|
|
41
|
+
import { $ as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, a as $e93e671b31057976$export$b8473d3665f3a75a, b as $e5be200c675c3b3a$export$a763b9476acd3eb } from "./useFormValidation-DAScndBq.mjs";
|
|
42
|
+
import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "./usePress-CiUDlxr6.mjs";
|
|
43
|
+
import { $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "./useFocusRing-dRPhwlpK.mjs";
|
|
44
44
|
import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "./useHover-BOYR4wqI.mjs";
|
|
45
45
|
function $406796ff087fe49b$export$e375f10ce42261c5(props, state, inputRef) {
|
|
46
46
|
let validationState = $e5be200c675c3b3a$export$fc1a364ae1f3ff10(__spreadProps(__spreadValues({}, props), {
|
|
@@ -153,22 +153,22 @@ const Remove600 = (_a) => {
|
|
|
153
153
|
d: "M185.87-440.39v-79.22H774.7v79.22H185.87Z"
|
|
154
154
|
}));
|
|
155
155
|
};
|
|
156
|
-
const Checkbox$1 = "
|
|
157
|
-
const label = "
|
|
158
|
-
const box = "
|
|
159
|
-
const check = "
|
|
160
|
-
const focusVisible = "
|
|
161
|
-
const text = "
|
|
162
|
-
const indeterminateSvg = "
|
|
163
|
-
const nested = "
|
|
164
|
-
const sizeLg = "
|
|
165
|
-
const standalone = "
|
|
166
|
-
const invalid = "
|
|
167
|
-
const disabled = "
|
|
168
|
-
const indeterminate = "
|
|
169
|
-
const selected = "
|
|
170
|
-
const hovered = "
|
|
171
|
-
const readOnly = "
|
|
156
|
+
const Checkbox$1 = "_Checkbox_jig4u_5";
|
|
157
|
+
const label = "_label_jig4u_17";
|
|
158
|
+
const box = "_box_jig4u_41";
|
|
159
|
+
const check = "_check_jig4u_42";
|
|
160
|
+
const focusVisible = "_focusVisible_jig4u_57";
|
|
161
|
+
const text = "_text_jig4u_73";
|
|
162
|
+
const indeterminateSvg = "_indeterminateSvg_jig4u_78";
|
|
163
|
+
const nested = "_nested_jig4u_82";
|
|
164
|
+
const sizeLg = "_sizeLg_jig4u_86";
|
|
165
|
+
const standalone = "_standalone_jig4u_91";
|
|
166
|
+
const invalid = "_invalid_jig4u_96";
|
|
167
|
+
const disabled = "_disabled_jig4u_100";
|
|
168
|
+
const indeterminate = "_indeterminate_jig4u_78";
|
|
169
|
+
const selected = "_selected_jig4u_105";
|
|
170
|
+
const hovered = "_hovered_jig4u_121";
|
|
171
|
+
const readOnly = "_readOnly_jig4u_121";
|
|
172
172
|
const styles = {
|
|
173
173
|
Checkbox: Checkbox$1,
|
|
174
174
|
label,
|
|
@@ -33,14 +33,14 @@ var __objRest = (source, exclude) => {
|
|
|
33
33
|
const React = require("react");
|
|
34
34
|
const mergeProps = require("./mergeProps-DniMwM6P.js");
|
|
35
35
|
const mergeRefs = require("./mergeRefs-CQsNYO0P.js");
|
|
36
|
-
const Icon = require("./Icon-
|
|
37
|
-
const SelectorErrorTooltip = require("./SelectorErrorTooltip-
|
|
38
|
-
const Text = require("./Text-
|
|
36
|
+
const Icon = require("./Icon-DTlCtPmb.js");
|
|
37
|
+
const SelectorErrorTooltip = require("./SelectorErrorTooltip-CVmgS1ea.js");
|
|
38
|
+
const Text = require("./Text-CT2y5c8a.js");
|
|
39
39
|
const utilities_css = require("../utilities/css.js");
|
|
40
|
-
const useToggle = require("./useToggle-
|
|
41
|
-
const useFormValidation = require("./useFormValidation-
|
|
42
|
-
const usePress = require("./usePress-
|
|
43
|
-
const useFocusRing = require("./useFocusRing-
|
|
40
|
+
const useToggle = require("./useToggle-CE4Qgz03.js");
|
|
41
|
+
const useFormValidation = require("./useFormValidation-C2DoIczP.js");
|
|
42
|
+
const usePress = require("./usePress-BVH8whNd.js");
|
|
43
|
+
const useFocusRing = require("./useFocusRing-DFRFvht_.js");
|
|
44
44
|
const useHover = require("./useHover-BIKwjrCT.js");
|
|
45
45
|
function _interopNamespaceDefault(e) {
|
|
46
46
|
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
@@ -170,22 +170,22 @@ const Remove600 = (_a) => {
|
|
|
170
170
|
d: "M185.87-440.39v-79.22H774.7v79.22H185.87Z"
|
|
171
171
|
}));
|
|
172
172
|
};
|
|
173
|
-
const Checkbox$1 = "
|
|
174
|
-
const label = "
|
|
175
|
-
const box = "
|
|
176
|
-
const check = "
|
|
177
|
-
const focusVisible = "
|
|
178
|
-
const text = "
|
|
179
|
-
const indeterminateSvg = "
|
|
180
|
-
const nested = "
|
|
181
|
-
const sizeLg = "
|
|
182
|
-
const standalone = "
|
|
183
|
-
const invalid = "
|
|
184
|
-
const disabled = "
|
|
185
|
-
const indeterminate = "
|
|
186
|
-
const selected = "
|
|
187
|
-
const hovered = "
|
|
188
|
-
const readOnly = "
|
|
173
|
+
const Checkbox$1 = "_Checkbox_jig4u_5";
|
|
174
|
+
const label = "_label_jig4u_17";
|
|
175
|
+
const box = "_box_jig4u_41";
|
|
176
|
+
const check = "_check_jig4u_42";
|
|
177
|
+
const focusVisible = "_focusVisible_jig4u_57";
|
|
178
|
+
const text = "_text_jig4u_73";
|
|
179
|
+
const indeterminateSvg = "_indeterminateSvg_jig4u_78";
|
|
180
|
+
const nested = "_nested_jig4u_82";
|
|
181
|
+
const sizeLg = "_sizeLg_jig4u_86";
|
|
182
|
+
const standalone = "_standalone_jig4u_91";
|
|
183
|
+
const invalid = "_invalid_jig4u_96";
|
|
184
|
+
const disabled = "_disabled_jig4u_100";
|
|
185
|
+
const indeterminate = "_indeterminate_jig4u_78";
|
|
186
|
+
const selected = "_selected_jig4u_105";
|
|
187
|
+
const hovered = "_hovered_jig4u_121";
|
|
188
|
+
const readOnly = "_readOnly_jig4u_121";
|
|
189
189
|
const styles = {
|
|
190
190
|
Checkbox: Checkbox$1,
|
|
191
191
|
label,
|
|
@@ -20,7 +20,7 @@ var __spreadValues = (a, b) => {
|
|
|
20
20
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
21
21
|
const mergeRefs = require("./mergeRefs-CQsNYO0P.js");
|
|
22
22
|
const React = require("react");
|
|
23
|
-
const Card = require("./Card-
|
|
23
|
+
const Card = require("./Card-Bn_WwYcR.js");
|
|
24
24
|
const _commonjsHelpers = require("./_commonjsHelpers-Bc2YnDe1.js");
|
|
25
25
|
const objectWithoutPropertiesLoose = require("./objectWithoutPropertiesLoose-3GpnIKeG.js");
|
|
26
26
|
const tokens = require("./tokens-BmCk-Bk0.js");
|
|
@@ -5672,7 +5672,7 @@ const useCodeBlock = () => {
|
|
|
5672
5672
|
}
|
|
5673
5673
|
return codeBlock;
|
|
5674
5674
|
};
|
|
5675
|
-
const CodeSnippet$1 = "
|
|
5675
|
+
const CodeSnippet$1 = "_CodeSnippet_m36ka_5";
|
|
5676
5676
|
const styles = {
|
|
5677
5677
|
CodeSnippet: CodeSnippet$1
|
|
5678
5678
|
};
|
|
@@ -19,7 +19,7 @@ var __spreadValues = (a, b) => {
|
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
import { $ as $5dc95899b306f630$export$c9058316764c140e } from "./mergeRefs-CCV6itCY.mjs";
|
|
21
21
|
import React__default, { useMemo, useEffect, createContext, useContext, forwardRef, useRef } from "react";
|
|
22
|
-
import { C as Card } from "./Card-
|
|
22
|
+
import { C as Card } from "./Card-YKZzjRiK.mjs";
|
|
23
23
|
import { c as commonjsGlobal, g as getDefaultExportFromCjs } from "./_commonjsHelpers-DWwsNxpa.mjs";
|
|
24
24
|
import { _ as _objectWithoutPropertiesLoose, a as _extends } from "./objectWithoutPropertiesLoose-ij10PUAf.mjs";
|
|
25
25
|
import { e as ezuiTokens } from "./tokens-BolVbjJp.mjs";
|
|
@@ -5671,7 +5671,7 @@ const useCodeBlock = () => {
|
|
|
5671
5671
|
}
|
|
5672
5672
|
return codeBlock;
|
|
5673
5673
|
};
|
|
5674
|
-
const CodeSnippet$1 = "
|
|
5674
|
+
const CodeSnippet$1 = "_CodeSnippet_m36ka_5";
|
|
5675
5675
|
const styles = {
|
|
5676
5676
|
CodeSnippet: CodeSnippet$1
|
|
5677
5677
|
};
|
|
@@ -35,12 +35,12 @@ var __yieldStar = (value) => {
|
|
|
35
35
|
throw x;
|
|
36
36
|
}, "return" in obj && method("return"), it;
|
|
37
37
|
};
|
|
38
|
-
const focusSafely = require("./focusSafely-
|
|
39
|
-
const
|
|
38
|
+
const focusSafely = require("./focusSafely-CZPj1Dug.js");
|
|
39
|
+
const isVirtualEvent = require("./isVirtualEvent-DwoP1rNI.js");
|
|
40
40
|
const mergeProps = require("./mergeProps-DniMwM6P.js");
|
|
41
41
|
const React = require("react");
|
|
42
42
|
function $645f2e67b85a24c9$var$isStyleVisible(element) {
|
|
43
|
-
const windowObject =
|
|
43
|
+
const windowObject = isVirtualEvent.$431fbd86ca7dc216$export$f21a1ffae260145a(element);
|
|
44
44
|
if (!(element instanceof windowObject.HTMLElement) && !(element instanceof windowObject.SVGElement)) return false;
|
|
45
45
|
let { display, visibility } = element.style;
|
|
46
46
|
let isVisible = display !== "none" && visibility !== "hidden" && visibility !== "collapse";
|
|
@@ -112,7 +112,7 @@ function $9bf71ea28793e738$export$20e40289641fbbb6(props) {
|
|
|
112
112
|
$9bf71ea28793e738$var$useRestoreFocus(scopeRef, restoreFocus, contain);
|
|
113
113
|
$9bf71ea28793e738$var$useAutoFocus(scopeRef, autoFocus);
|
|
114
114
|
React.useEffect(() => {
|
|
115
|
-
const activeElement =
|
|
115
|
+
const activeElement = isVirtualEvent.$431fbd86ca7dc216$export$b204af158042fbac(scopeRef.current ? scopeRef.current[0] : void 0).activeElement;
|
|
116
116
|
let scope = null;
|
|
117
117
|
if ($9bf71ea28793e738$var$isElementInScope(activeElement, scopeRef.current)) {
|
|
118
118
|
for (let node2 of $9bf71ea28793e738$export$d06fae2ee68b101e.traverse()) if (node2.scopeRef && $9bf71ea28793e738$var$isElementInScope(activeElement, node2.scopeRef.current)) scope = node2;
|
|
@@ -157,7 +157,7 @@ function $9bf71ea28793e738$var$createFocusManagerForScope(scopeRef) {
|
|
|
157
157
|
focusNext(opts = {}) {
|
|
158
158
|
let scope = scopeRef.current;
|
|
159
159
|
let { from, tabbable, wrap, accept } = opts;
|
|
160
|
-
let node = from ||
|
|
160
|
+
let node = from || isVirtualEvent.$431fbd86ca7dc216$export$b204af158042fbac(scope[0]).activeElement;
|
|
161
161
|
let sentinel = scope[0].previousElementSibling;
|
|
162
162
|
let scopeRoot = $9bf71ea28793e738$var$getScopeRoot(scope);
|
|
163
163
|
let walker = $9bf71ea28793e738$export$2d6ec8fc375ceafa(scopeRoot, {
|
|
@@ -176,7 +176,7 @@ function $9bf71ea28793e738$var$createFocusManagerForScope(scopeRef) {
|
|
|
176
176
|
focusPrevious(opts = {}) {
|
|
177
177
|
let scope = scopeRef.current;
|
|
178
178
|
let { from, tabbable, wrap, accept } = opts;
|
|
179
|
-
let node = from ||
|
|
179
|
+
let node = from || isVirtualEvent.$431fbd86ca7dc216$export$b204af158042fbac(scope[0]).activeElement;
|
|
180
180
|
let sentinel = scope[scope.length - 1].nextElementSibling;
|
|
181
181
|
let scopeRoot = $9bf71ea28793e738$var$getScopeRoot(scope);
|
|
182
182
|
let walker = $9bf71ea28793e738$export$2d6ec8fc375ceafa(scopeRoot, {
|
|
@@ -261,7 +261,7 @@ function $9bf71ea28793e738$var$useFocusContainment(scopeRef, contain) {
|
|
|
261
261
|
}
|
|
262
262
|
return;
|
|
263
263
|
}
|
|
264
|
-
const ownerDocument =
|
|
264
|
+
const ownerDocument = isVirtualEvent.$431fbd86ca7dc216$export$b204af158042fbac(scope ? scope[0] : void 0);
|
|
265
265
|
let onKeyDown = (e) => {
|
|
266
266
|
if (e.key !== "Tab" || e.altKey || e.ctrlKey || e.metaKey || !$9bf71ea28793e738$var$shouldContainFocus(scopeRef) || e.isComposing) return;
|
|
267
267
|
let focusedElement = ownerDocument.activeElement;
|
|
@@ -388,7 +388,7 @@ function $9bf71ea28793e738$var$useAutoFocus(scopeRef, autoFocus) {
|
|
|
388
388
|
React.useEffect(() => {
|
|
389
389
|
if (autoFocusRef.current) {
|
|
390
390
|
$9bf71ea28793e738$var$activeScope = scopeRef;
|
|
391
|
-
const ownerDocument =
|
|
391
|
+
const ownerDocument = isVirtualEvent.$431fbd86ca7dc216$export$b204af158042fbac(scopeRef.current ? scopeRef.current[0] : void 0);
|
|
392
392
|
if (!$9bf71ea28793e738$var$isElementInScope(ownerDocument.activeElement, $9bf71ea28793e738$var$activeScope.current) && scopeRef.current) $9bf71ea28793e738$var$focusFirstInScope(scopeRef.current);
|
|
393
393
|
}
|
|
394
394
|
autoFocusRef.current = false;
|
|
@@ -400,7 +400,7 @@ function $9bf71ea28793e738$var$useActiveScopeTracker(scopeRef, restore, contain)
|
|
|
400
400
|
mergeProps.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(() => {
|
|
401
401
|
if (restore || contain) return;
|
|
402
402
|
let scope = scopeRef.current;
|
|
403
|
-
const ownerDocument =
|
|
403
|
+
const ownerDocument = isVirtualEvent.$431fbd86ca7dc216$export$b204af158042fbac(scope ? scope[0] : void 0);
|
|
404
404
|
let onFocus = (e) => {
|
|
405
405
|
let target = e.target;
|
|
406
406
|
if ($9bf71ea28793e738$var$isElementInScope(target, scopeRef.current)) $9bf71ea28793e738$var$activeScope = scopeRef;
|
|
@@ -427,10 +427,10 @@ function $9bf71ea28793e738$var$shouldRestoreFocus(scopeRef) {
|
|
|
427
427
|
return (scope === null || scope === void 0 ? void 0 : scope.scopeRef) === scopeRef;
|
|
428
428
|
}
|
|
429
429
|
function $9bf71ea28793e738$var$useRestoreFocus(scopeRef, restoreFocus, contain) {
|
|
430
|
-
const nodeToRestoreRef = React.useRef(typeof document !== "undefined" ?
|
|
430
|
+
const nodeToRestoreRef = React.useRef(typeof document !== "undefined" ? isVirtualEvent.$431fbd86ca7dc216$export$b204af158042fbac(scopeRef.current ? scopeRef.current[0] : void 0).activeElement : null);
|
|
431
431
|
mergeProps.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(() => {
|
|
432
432
|
let scope = scopeRef.current;
|
|
433
|
-
const ownerDocument =
|
|
433
|
+
const ownerDocument = isVirtualEvent.$431fbd86ca7dc216$export$b204af158042fbac(scope ? scope[0] : void 0);
|
|
434
434
|
if (!restoreFocus || contain) return;
|
|
435
435
|
let onFocus = () => {
|
|
436
436
|
if ((!$9bf71ea28793e738$var$activeScope || $9bf71ea28793e738$var$isAncestorScope($9bf71ea28793e738$var$activeScope, scopeRef)) && $9bf71ea28793e738$var$isElementInScope(ownerDocument.activeElement, scopeRef.current)) $9bf71ea28793e738$var$activeScope = scopeRef;
|
|
@@ -446,7 +446,7 @@ function $9bf71ea28793e738$var$useRestoreFocus(scopeRef, restoreFocus, contain)
|
|
|
446
446
|
contain
|
|
447
447
|
]);
|
|
448
448
|
mergeProps.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(() => {
|
|
449
|
-
const ownerDocument =
|
|
449
|
+
const ownerDocument = isVirtualEvent.$431fbd86ca7dc216$export$b204af158042fbac(scopeRef.current ? scopeRef.current[0] : void 0);
|
|
450
450
|
if (!restoreFocus) return;
|
|
451
451
|
let onKeyDown = (e) => {
|
|
452
452
|
if (e.key !== "Tab" || e.altKey || e.ctrlKey || e.metaKey || !$9bf71ea28793e738$var$shouldContainFocus(scopeRef) || e.isComposing) return;
|
|
@@ -486,7 +486,7 @@ function $9bf71ea28793e738$var$useRestoreFocus(scopeRef, restoreFocus, contain)
|
|
|
486
486
|
contain
|
|
487
487
|
]);
|
|
488
488
|
mergeProps.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(() => {
|
|
489
|
-
const ownerDocument =
|
|
489
|
+
const ownerDocument = isVirtualEvent.$431fbd86ca7dc216$export$b204af158042fbac(scopeRef.current ? scopeRef.current[0] : void 0);
|
|
490
490
|
if (!restoreFocus) return;
|
|
491
491
|
let treeNode = $9bf71ea28793e738$export$d06fae2ee68b101e.getTreeNode(scopeRef);
|
|
492
492
|
if (!treeNode) return;
|
|
@@ -534,7 +534,7 @@ function $9bf71ea28793e738$var$restoreFocusToElement(node) {
|
|
|
534
534
|
}
|
|
535
535
|
function $9bf71ea28793e738$export$2d6ec8fc375ceafa(root, opts, scope) {
|
|
536
536
|
let selector = (opts === null || opts === void 0 ? void 0 : opts.tabbable) ? $9bf71ea28793e738$var$TABBABLE_ELEMENT_SELECTOR : $9bf71ea28793e738$var$FOCUSABLE_ELEMENT_SELECTOR;
|
|
537
|
-
let walker =
|
|
537
|
+
let walker = isVirtualEvent.$431fbd86ca7dc216$export$b204af158042fbac(root).createTreeWalker(root, NodeFilter.SHOW_ELEMENT, {
|
|
538
538
|
acceptNode(node) {
|
|
539
539
|
var _opts_from;
|
|
540
540
|
if (opts === null || opts === void 0 ? void 0 : (_opts_from = opts.from) === null || _opts_from === void 0 ? void 0 : _opts_from.contains(node)) return NodeFilter.FILTER_REJECT;
|
|
@@ -34,8 +34,8 @@ var __yieldStar = (value) => {
|
|
|
34
34
|
throw x;
|
|
35
35
|
}, "return" in obj && method("return"), it;
|
|
36
36
|
};
|
|
37
|
-
import { $ as $6a99195332edec8b$export$80f3e147d781571c } from "./focusSafely-
|
|
38
|
-
import {
|
|
37
|
+
import { $ as $6a99195332edec8b$export$80f3e147d781571c } from "./focusSafely-DfpH-pE9.mjs";
|
|
38
|
+
import { a as $431fbd86ca7dc216$export$f21a1ffae260145a, $ as $431fbd86ca7dc216$export$b204af158042fbac } from "./isVirtualEvent-BPCuFO54.mjs";
|
|
39
39
|
import { b as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c } from "./mergeProps-SJQ-f8LF.mjs";
|
|
40
40
|
import React__default, { useRef, useContext, useMemo, useEffect } from "react";
|
|
41
41
|
function $645f2e67b85a24c9$var$isStyleVisible(element) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { I as Icon } from "./Icon-
|
|
4
|
-
import { M as Menu } from "./Menu-
|
|
5
|
-
import { T as Text } from "./Text-
|
|
6
|
-
import { U as UnstyledButton } from "./UnstyledButton-
|
|
3
|
+
import { I as Icon } from "./Icon-ML4td6nu.mjs";
|
|
4
|
+
import { M as Menu } from "./Menu-_F51cSwS.mjs";
|
|
5
|
+
import { T as Text } from "./Text-7pwgbag-.mjs";
|
|
6
|
+
import { U as UnstyledButton } from "./UnstyledButton-0v6TRjMY.mjs";
|
|
7
7
|
var __defProp$1 = Object.defineProperty;
|
|
8
8
|
var __getOwnPropSymbols$1 = Object.getOwnPropertySymbols;
|
|
9
9
|
var __hasOwnProp$1 = Object.prototype.hasOwnProperty;
|
|
@@ -78,9 +78,9 @@ const Support = (_a) => {
|
|
|
78
78
|
d: "M480.07-100q-78.84 0-148.21-29.92t-120.68-81.21q-51.31-51.29-81.25-120.63Q100-401.1 100-479.93q0-78.84 29.92-148.21t81.21-120.68q51.29-51.31 120.63-81.25Q401.1-860 479.93-860q78.84 0 148.21 29.92t120.68 81.21q51.31 51.29 81.25 120.63Q860-558.9 860-480.07q0 78.84-29.92 148.21t-81.21 120.68q-51.29 51.31-120.63 81.25Q558.9-100 480.07-100Zm-119.53-65.77 69.54-163.08q-34.61-11.99-61-37.53t-39.46-62.31L165-362.54q29.46 69.46 79.69 120.31 50.23 50.84 115.85 76.46ZM329-530.69q12.54-36.77 38.85-62.31 26.3-25.54 60.84-37.38L362.54-795Q289.85-765.54 239-714.19q-50.85 51.34-74 117.34l164 66.16Zm150.91 164.54q47.4 0 80.67-33.18t33.27-80.58q0-47.4-33.18-80.67t-80.58-33.27q-47.4 0-80.67 33.18t-33.27 80.58q0 47.4 33.18 80.67t80.58 33.27Zm119.94 200.38q67.07-27.23 117.11-77.58 50.04-50.34 77.27-117.19l-163.08-68.92q-12.69 37.38-39.11 63-26.43 25.61-60.96 36.84l68.77 163.85Zm30.53-366.31 163.85-67.77q-27.23-66.46-77.58-116.8-50.34-50.35-116.8-77.58l-67.16 163.85q33.39 12.23 58.5 37.27 25.12 25.03 39.19 61.03Z"
|
|
79
79
|
}));
|
|
80
80
|
};
|
|
81
|
-
const button = "
|
|
82
|
-
const buttonContent = "
|
|
83
|
-
const arrow = "
|
|
81
|
+
const button = "_button_10d5l_5";
|
|
82
|
+
const buttonContent = "_buttonContent_10d5l_10";
|
|
83
|
+
const arrow = "_arrow_10d5l_17";
|
|
84
84
|
const styles = {
|
|
85
85
|
button,
|
|
86
86
|
buttonContent,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const React = require("react");
|
|
3
|
-
const Icon = require("./Icon-
|
|
4
|
-
const Menu = require("./Menu-
|
|
5
|
-
const Text = require("./Text-
|
|
6
|
-
const UnstyledButton = require("./UnstyledButton-
|
|
3
|
+
const Icon = require("./Icon-DTlCtPmb.js");
|
|
4
|
+
const Menu = require("./Menu-aW3etzMU.js");
|
|
5
|
+
const Text = require("./Text-CT2y5c8a.js");
|
|
6
|
+
const UnstyledButton = require("./UnstyledButton-BfeN_d1h.js");
|
|
7
7
|
function _interopNamespaceDefault(e) {
|
|
8
8
|
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
9
9
|
if (e) {
|
|
@@ -95,9 +95,9 @@ const Support = (_a) => {
|
|
|
95
95
|
d: "M480.07-100q-78.84 0-148.21-29.92t-120.68-81.21q-51.31-51.29-81.25-120.63Q100-401.1 100-479.93q0-78.84 29.92-148.21t81.21-120.68q51.29-51.31 120.63-81.25Q401.1-860 479.93-860q78.84 0 148.21 29.92t120.68 81.21q51.31 51.29 81.25 120.63Q860-558.9 860-480.07q0 78.84-29.92 148.21t-81.21 120.68q-51.29 51.31-120.63 81.25Q558.9-100 480.07-100Zm-119.53-65.77 69.54-163.08q-34.61-11.99-61-37.53t-39.46-62.31L165-362.54q29.46 69.46 79.69 120.31 50.23 50.84 115.85 76.46ZM329-530.69q12.54-36.77 38.85-62.31 26.3-25.54 60.84-37.38L362.54-795Q289.85-765.54 239-714.19q-50.85 51.34-74 117.34l164 66.16Zm150.91 164.54q47.4 0 80.67-33.18t33.27-80.58q0-47.4-33.18-80.67t-80.58-33.27q-47.4 0-80.67 33.18t-33.27 80.58q0 47.4 33.18 80.67t80.58 33.27Zm119.94 200.38q67.07-27.23 117.11-77.58 50.04-50.34 77.27-117.19l-163.08-68.92q-12.69 37.38-39.11 63-26.43 25.61-60.96 36.84l68.77 163.85Zm30.53-366.31 163.85-67.77q-27.23-66.46-77.58-116.8-50.34-50.35-116.8-77.58l-67.16 163.85q33.39 12.23 58.5 37.27 25.12 25.03 39.19 61.03Z"
|
|
96
96
|
}));
|
|
97
97
|
};
|
|
98
|
-
const button = "
|
|
99
|
-
const buttonContent = "
|
|
100
|
-
const arrow = "
|
|
98
|
+
const button = "_button_10d5l_5";
|
|
99
|
+
const buttonContent = "_buttonContent_10d5l_10";
|
|
100
|
+
const arrow = "_arrow_10d5l_17";
|
|
101
101
|
const styles = {
|
|
102
102
|
button,
|
|
103
103
|
buttonContent,
|