@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/DataGrid/index.js
CHANGED
|
@@ -68,52 +68,37 @@ var __yieldStar = (value) => {
|
|
|
68
68
|
};
|
|
69
69
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
70
70
|
const React = require("react");
|
|
71
|
-
const Icon = require("../__chunks__/Icon-
|
|
72
|
-
const Menu = require("../__chunks__/Menu-
|
|
73
|
-
const Text = require("../__chunks__/Text-
|
|
74
|
-
const
|
|
75
|
-
const usePress = require("../__chunks__/usePress-DjyN_yP2.js");
|
|
71
|
+
const Icon = require("../__chunks__/Icon-DTlCtPmb.js");
|
|
72
|
+
const Menu = require("../__chunks__/Menu-aW3etzMU.js");
|
|
73
|
+
const Text = require("../__chunks__/Text-CT2y5c8a.js");
|
|
74
|
+
const KebabButton = require("../__chunks__/KebabButton-Dwul0lCB.js");
|
|
76
75
|
const ArrowForwardIos = require("../__chunks__/ArrowForwardIos-DpRiDPNZ.js");
|
|
77
|
-
const
|
|
78
|
-
const
|
|
79
|
-
const
|
|
76
|
+
const utilities_css = require("../utilities/css.js");
|
|
77
|
+
const Checkbox = require("../__chunks__/Checkbox-CLLYuQFM.js");
|
|
78
|
+
const FocusScope = require("../__chunks__/FocusScope-D5T6fKI9.js");
|
|
79
|
+
const focusSafely = require("../__chunks__/focusSafely-CZPj1Dug.js");
|
|
80
80
|
const mergeProps = require("../__chunks__/mergeProps-DniMwM6P.js");
|
|
81
81
|
const getScrollParent = require("../__chunks__/getScrollParent-DNz2ReWu.js");
|
|
82
82
|
const scrollIntoView = require("../__chunks__/scrollIntoView-DkcUbB3D.js");
|
|
83
|
-
const useFocusVisible = require("../__chunks__/useFocusVisible-
|
|
83
|
+
const useFocusVisible = require("../__chunks__/useFocusVisible-PBQuklI8.js");
|
|
84
84
|
const context = require("../__chunks__/context-D3NeXov7.js");
|
|
85
|
-
const useSelectableItem = require("../__chunks__/useSelectableItem-
|
|
86
|
-
const useHighlightSelectionDescription = require("../__chunks__/useHighlightSelectionDescription-
|
|
85
|
+
const useSelectableItem = require("../__chunks__/useSelectableItem-CJ5_OAlc.js");
|
|
86
|
+
const useHighlightSelectionDescription = require("../__chunks__/useHighlightSelectionDescription-CG5W6CIQ.js");
|
|
87
87
|
const useLocalizedStringFormatter = require("../__chunks__/useLocalizedStringFormatter-D74_5d4h.js");
|
|
88
|
-
const useFocusRing = require("../__chunks__/useFocusRing-
|
|
89
|
-
const
|
|
90
|
-
const
|
|
88
|
+
const useFocusRing = require("../__chunks__/useFocusRing-DFRFvht_.js");
|
|
89
|
+
const isVirtualEvent = require("../__chunks__/isVirtualEvent-DwoP1rNI.js");
|
|
90
|
+
const useFocusable = require("../__chunks__/useFocusable-D0hhxIk-.js");
|
|
91
|
+
const usePress = require("../__chunks__/usePress-BVH8whNd.js");
|
|
92
|
+
const VisuallyHidden = require("../__chunks__/VisuallyHidden-CVfjb1YY.js");
|
|
91
93
|
const SelectionManager = require("../__chunks__/SelectionManager-DuX6geJg.js");
|
|
92
94
|
const useHover = require("../__chunks__/useHover-BIKwjrCT.js");
|
|
93
|
-
const useEdgeInterceptors = require("../__chunks__/useEdgeInterceptors-
|
|
95
|
+
const useEdgeInterceptors = require("../__chunks__/useEdgeInterceptors-CegFcI5C.js");
|
|
94
96
|
const useResizeObserver = require("../__chunks__/useResizeObserver-BsbT3mjh.js");
|
|
95
|
-
const Spinner = require("../__chunks__/Spinner-
|
|
96
|
-
const useSelectableList = require("../__chunks__/useSelectableList-
|
|
97
|
+
const Spinner = require("../__chunks__/Spinner-B824MsLf.js");
|
|
98
|
+
const useSelectableList = require("../__chunks__/useSelectableList-ICLJNy5q.js");
|
|
97
99
|
const LiveAnnouncer = require("../__chunks__/LiveAnnouncer-CWnuIRMW.js");
|
|
98
100
|
const filterDOMProps = require("../__chunks__/filterDOMProps-D3iOHP0H.js");
|
|
99
|
-
const useHasTabbableChild = require("../__chunks__/useHasTabbableChild-
|
|
100
|
-
function _interopNamespaceDefault(e) {
|
|
101
|
-
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
102
|
-
if (e) {
|
|
103
|
-
for (const k in e) {
|
|
104
|
-
if (k !== "default") {
|
|
105
|
-
const d = Object.getOwnPropertyDescriptor(e, k);
|
|
106
|
-
Object.defineProperty(n, k, d.get ? d : {
|
|
107
|
-
enumerable: true,
|
|
108
|
-
get: () => e[k]
|
|
109
|
-
});
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
n.default = e;
|
|
114
|
-
return Object.freeze(n);
|
|
115
|
-
}
|
|
116
|
-
const React__namespace = /* @__PURE__ */ _interopNamespaceDefault(React);
|
|
101
|
+
const useHasTabbableChild = require("../__chunks__/useHasTabbableChild-4Ga1outX.js");
|
|
117
102
|
function $62967d126f3aa823$export$4007ac09ff9c68ed(props) {
|
|
118
103
|
let { collection, focusMode } = props;
|
|
119
104
|
let selectionState = props.UNSAFE_selectionState || SelectionManager.$7af3f5b51489e0b5$export$253fe78d46329472(props);
|
|
@@ -1999,12 +1984,12 @@ function $f329116d8ad0aba0$export$9514819a8c81e960(props, state, ref) {
|
|
|
1999
1984
|
let ariaSort = void 0;
|
|
2000
1985
|
let isSortedColumn = ((_state_sortDescriptor = state.sortDescriptor) === null || _state_sortDescriptor === void 0 ? void 0 : _state_sortDescriptor.column) === node.key;
|
|
2001
1986
|
let sortDirection = (_state_sortDescriptor1 = state.sortDescriptor) === null || _state_sortDescriptor1 === void 0 ? void 0 : _state_sortDescriptor1.direction;
|
|
2002
|
-
if (node.props.allowsSorting && !
|
|
1987
|
+
if (node.props.allowsSorting && !isVirtualEvent.$c87311424ea30a05$export$a11b0059900ceec8()) ariaSort = isSortedColumn ? sortDirection : "none";
|
|
2003
1988
|
let stringFormatter = useLocalizedStringFormatter.$fca6afa0e843324b$export$f12b703ca79dfbb1($parcel$interopDefault$1($7476b46781682bf5$exports), "@react-aria/table");
|
|
2004
1989
|
let sortDescription;
|
|
2005
1990
|
if (allowsSorting2) {
|
|
2006
1991
|
sortDescription = `${stringFormatter.format("sortable")}`;
|
|
2007
|
-
if (isSortedColumn && sortDirection &&
|
|
1992
|
+
if (isSortedColumn && sortDirection && isVirtualEvent.$c87311424ea30a05$export$a11b0059900ceec8()) sortDescription = `${sortDescription}, ${stringFormatter.format(sortDirection)}`;
|
|
2008
1993
|
}
|
|
2009
1994
|
let descriptionProps = scrollIntoView.$ef06256079686ba0$export$f8aeda7b10753fa1(sortDescription);
|
|
2010
1995
|
let shouldDisableFocus = state.collection.size === 0;
|
|
@@ -2132,55 +2117,6 @@ function $2a795c53a101c542$export$1003db6a7e384b99(state) {
|
|
|
2132
2117
|
function $0047e6c294ea075f$export$6fb1613bd7b28198() {
|
|
2133
2118
|
return $e45487f8ba1cbdbf$export$d3037f5d3f3e51bf();
|
|
2134
2119
|
}
|
|
2135
|
-
var __defProp2 = Object.defineProperty;
|
|
2136
|
-
var __getOwnPropSymbols2 = Object.getOwnPropertySymbols;
|
|
2137
|
-
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
|
|
2138
|
-
var __propIsEnum2 = Object.prototype.propertyIsEnumerable;
|
|
2139
|
-
var __defNormalProp2 = (obj, key, value) => key in obj ? __defProp2(obj, key, {
|
|
2140
|
-
enumerable: true,
|
|
2141
|
-
configurable: true,
|
|
2142
|
-
writable: true,
|
|
2143
|
-
value
|
|
2144
|
-
}) : obj[key] = value;
|
|
2145
|
-
var __spreadValues2 = (a, b) => {
|
|
2146
|
-
for (var prop in b || (b = {})) if (__hasOwnProp2.call(b, prop)) __defNormalProp2(a, prop, b[prop]);
|
|
2147
|
-
if (__getOwnPropSymbols2) for (var prop of __getOwnPropSymbols2(b)) {
|
|
2148
|
-
if (__propIsEnum2.call(b, prop)) __defNormalProp2(a, prop, b[prop]);
|
|
2149
|
-
}
|
|
2150
|
-
return a;
|
|
2151
|
-
};
|
|
2152
|
-
var __objRest2 = (source, exclude) => {
|
|
2153
|
-
var target = {};
|
|
2154
|
-
for (var prop in source) if (__hasOwnProp2.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
2155
|
-
if (source != null && __getOwnPropSymbols2) for (var prop of __getOwnPropSymbols2(source)) {
|
|
2156
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum2.call(source, prop)) target[prop] = source[prop];
|
|
2157
|
-
}
|
|
2158
|
-
return target;
|
|
2159
|
-
};
|
|
2160
|
-
const MoreVert = (_a) => {
|
|
2161
|
-
var _b = _a, { title, titleId } = _b, props = __objRest2(_b, ["title", "titleId"]);
|
|
2162
|
-
return React__namespace.createElement("svg", __spreadValues2({
|
|
2163
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
2164
|
-
viewBox: "0 -960 960 960",
|
|
2165
|
-
"aria-labelledby": titleId
|
|
2166
|
-
}, props), title ? React__namespace.createElement("title", {
|
|
2167
|
-
id: titleId
|
|
2168
|
-
}, title) : null, React__namespace.createElement("path", {
|
|
2169
|
-
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"
|
|
2170
|
-
}));
|
|
2171
|
-
};
|
|
2172
|
-
const UnstyledPressButton$1 = "_UnstyledPressButton_ojrj0_5";
|
|
2173
|
-
const styles$8 = {
|
|
2174
|
-
UnstyledPressButton: UnstyledPressButton$1
|
|
2175
|
-
};
|
|
2176
|
-
const UnstyledPressButton = React.forwardRef((props, ref) => {
|
|
2177
|
-
const { pressProps } = usePress.$f6c31cce2adf654f$export$45712eceda6fad21(props);
|
|
2178
|
-
return React.createElement("button", __spreadProps(__spreadValues({}, pressProps), {
|
|
2179
|
-
ref,
|
|
2180
|
-
className: utilities_css.classNames(styles$8.UnstyledPressButton, pressProps.className)
|
|
2181
|
-
}));
|
|
2182
|
-
});
|
|
2183
|
-
UnstyledPressButton.displayName = "UnstyledPressButton";
|
|
2184
2120
|
const DataGridContext = React.createContext(null);
|
|
2185
2121
|
const DataGridTableContext = React.createContext(null);
|
|
2186
2122
|
const useDataGridTable = () => {
|
|
@@ -2198,13 +2134,9 @@ const useDataGridRow = () => {
|
|
|
2198
2134
|
}
|
|
2199
2135
|
return dataGridRowContext;
|
|
2200
2136
|
};
|
|
2201
|
-
const ActionsCellContent$1 = "
|
|
2202
|
-
const MenuButton = "_MenuButton_1tyr1_10";
|
|
2203
|
-
const open = "_open_1tyr1_15";
|
|
2137
|
+
const ActionsCellContent$1 = "_ActionsCellContent_1aw79_5";
|
|
2204
2138
|
const styles$7 = {
|
|
2205
|
-
ActionsCellContent: ActionsCellContent$1
|
|
2206
|
-
MenuButton,
|
|
2207
|
-
open
|
|
2139
|
+
ActionsCellContent: ActionsCellContent$1
|
|
2208
2140
|
};
|
|
2209
2141
|
function ActionsCellContent({ rowActions }) {
|
|
2210
2142
|
return React.createElement("span", {
|
|
@@ -2227,25 +2159,20 @@ function MenuRowAction({ rowAction }) {
|
|
|
2227
2159
|
const handleOpenChange = React.useCallback((isOpen2) => {
|
|
2228
2160
|
setIsOpen(isOpen2);
|
|
2229
2161
|
}, []);
|
|
2230
|
-
const className = utilities_css.classNames(styles$7.MenuButton, isOpen && styles$7.open);
|
|
2231
2162
|
return React.createElement(Menu.Menu, {
|
|
2232
2163
|
isOpen,
|
|
2233
2164
|
onOpenChange: handleOpenChange
|
|
2234
|
-
}, React.createElement(Menu.Menu.Trigger, null, React.createElement(
|
|
2165
|
+
}, React.createElement(Menu.Menu.Trigger, null, React.createElement(KebabButton.KebabButton, {
|
|
2235
2166
|
onPress: handleClick,
|
|
2236
|
-
|
|
2237
|
-
},
|
|
2238
|
-
visuallyHidden: true
|
|
2239
|
-
}, accessibilityLabel), React.createElement(Icon.Icon, {
|
|
2240
|
-
symbol: MoreVert
|
|
2241
|
-
}))), rowAction.renderMenuOverlay());
|
|
2167
|
+
accessibilityLabel
|
|
2168
|
+
})), rowAction.renderMenuOverlay());
|
|
2242
2169
|
}
|
|
2243
2170
|
function ActionRowAction({ rowAction }) {
|
|
2244
2171
|
const { onAction } = rowAction;
|
|
2245
2172
|
const handleClick = React.useCallback(() => {
|
|
2246
2173
|
onAction();
|
|
2247
2174
|
}, [onAction]);
|
|
2248
|
-
return React.createElement(UnstyledPressButton, {
|
|
2175
|
+
return React.createElement(KebabButton.UnstyledPressButton, {
|
|
2249
2176
|
onPress: handleClick
|
|
2250
2177
|
}, React.createElement(Text.Text, {
|
|
2251
2178
|
visuallyHidden: true
|
|
@@ -2253,8 +2180,8 @@ function ActionRowAction({ rowAction }) {
|
|
|
2253
2180
|
symbol: rowAction.iconSymbol
|
|
2254
2181
|
}));
|
|
2255
2182
|
}
|
|
2256
|
-
const button = "
|
|
2257
|
-
const expanded$2 = "
|
|
2183
|
+
const button = "_button_51yum_5";
|
|
2184
|
+
const expanded$2 = "_expanded_51yum_23";
|
|
2258
2185
|
const styles$6 = {
|
|
2259
2186
|
button,
|
|
2260
2187
|
expanded: expanded$2
|
|
@@ -2264,7 +2191,7 @@ function ExpandCellContent({ isExpanded, toggleExpanded }) {
|
|
|
2264
2191
|
toggleExpanded();
|
|
2265
2192
|
}, [toggleExpanded]);
|
|
2266
2193
|
const className = utilities_css.classNames(styles$6.button, isExpanded && styles$6.expanded);
|
|
2267
|
-
return React.createElement(UnstyledPressButton, {
|
|
2194
|
+
return React.createElement(KebabButton.UnstyledPressButton, {
|
|
2268
2195
|
onPress: handleClick,
|
|
2269
2196
|
className,
|
|
2270
2197
|
"aria-expanded": isExpanded
|
|
@@ -2275,20 +2202,20 @@ function ExpandCellContent({ isExpanded, toggleExpanded }) {
|
|
|
2275
2202
|
size: "xs"
|
|
2276
2203
|
}));
|
|
2277
2204
|
}
|
|
2278
|
-
const Cell$1 = "
|
|
2279
|
-
const content$1 = "
|
|
2280
|
-
const lastRow = "
|
|
2281
|
-
const focused$1 = "
|
|
2282
|
-
const rowFocused = "
|
|
2283
|
-
const expanded$1 = "
|
|
2284
|
-
const first$1 = "
|
|
2285
|
-
const firstWithActions$1 = "
|
|
2286
|
-
const secondWithActions$1 = "
|
|
2287
|
-
const last$1 = "
|
|
2288
|
-
const lastWithActions$1 = "
|
|
2289
|
-
const secondToLastWithActions$1 = "
|
|
2290
|
-
const shadowLeft$1 = "
|
|
2291
|
-
const shadowRight$1 = "
|
|
2205
|
+
const Cell$1 = "_Cell_t9zct_5";
|
|
2206
|
+
const content$1 = "_content_t9zct_14";
|
|
2207
|
+
const lastRow = "_lastRow_t9zct_25";
|
|
2208
|
+
const focused$1 = "_focused_t9zct_29";
|
|
2209
|
+
const rowFocused = "_rowFocused_t9zct_30";
|
|
2210
|
+
const expanded$1 = "_expanded_t9zct_34";
|
|
2211
|
+
const first$1 = "_first_t9zct_38";
|
|
2212
|
+
const firstWithActions$1 = "_firstWithActions_t9zct_45";
|
|
2213
|
+
const secondWithActions$1 = "_secondWithActions_t9zct_51";
|
|
2214
|
+
const last$1 = "_last_t9zct_25";
|
|
2215
|
+
const lastWithActions$1 = "_lastWithActions_t9zct_62";
|
|
2216
|
+
const secondToLastWithActions$1 = "_secondToLastWithActions_t9zct_70";
|
|
2217
|
+
const shadowLeft$1 = "_shadowLeft_t9zct_74";
|
|
2218
|
+
const shadowRight$1 = "_shadowRight_t9zct_93";
|
|
2292
2219
|
const styles$5 = {
|
|
2293
2220
|
Cell: Cell$1,
|
|
2294
2221
|
content: content$1,
|
|
@@ -2304,7 +2231,7 @@ const styles$5 = {
|
|
|
2304
2231
|
secondToLastWithActions: secondToLastWithActions$1,
|
|
2305
2232
|
shadowLeft: shadowLeft$1,
|
|
2306
2233
|
shadowRight: shadowRight$1,
|
|
2307
|
-
"static": "
|
|
2234
|
+
"static": "_static_t9zct_112"
|
|
2308
2235
|
};
|
|
2309
2236
|
function Cell({ cell, state }) {
|
|
2310
2237
|
const table2 = useDataGridTable();
|
|
@@ -2356,10 +2283,10 @@ function StaticCell({ children, colSpan }) {
|
|
|
2356
2283
|
"data-ezui-data-grid-shadow": true
|
|
2357
2284
|
})));
|
|
2358
2285
|
}
|
|
2359
|
-
const SortIndicator$1 = "
|
|
2360
|
-
const arrow = "
|
|
2361
|
-
const sorted = "
|
|
2362
|
-
const onHeaderSecondary = "
|
|
2286
|
+
const SortIndicator$1 = "_SortIndicator_ejh20_5";
|
|
2287
|
+
const arrow = "_arrow_ejh20_10";
|
|
2288
|
+
const sorted = "_sorted_ejh20_14";
|
|
2289
|
+
const onHeaderSecondary = "_onHeaderSecondary_ejh20_18";
|
|
2363
2290
|
const styles$4 = {
|
|
2364
2291
|
SortIndicator: SortIndicator$1,
|
|
2365
2292
|
arrow,
|
|
@@ -2392,19 +2319,19 @@ function Arrow(props) {
|
|
|
2392
2319
|
d: "M12 0.344238L0 0.344238L6 7.561L12 0.344238Z"
|
|
2393
2320
|
}));
|
|
2394
2321
|
}
|
|
2395
|
-
const ColumnHeader$1 = "
|
|
2396
|
-
const content = "
|
|
2397
|
-
const allowsSorting = "
|
|
2398
|
-
const focused = "
|
|
2399
|
-
const first = "
|
|
2400
|
-
const firstWithActions = "
|
|
2401
|
-
const secondWithActions = "
|
|
2402
|
-
const last = "
|
|
2403
|
-
const lastWithActions = "
|
|
2404
|
-
const secondToLastWithActions = "
|
|
2405
|
-
const shadowBottom = "
|
|
2406
|
-
const shadowRight = "
|
|
2407
|
-
const shadowLeft = "
|
|
2322
|
+
const ColumnHeader$1 = "_ColumnHeader_1w32j_5";
|
|
2323
|
+
const content = "_content_1w32j_15";
|
|
2324
|
+
const allowsSorting = "_allowsSorting_1w32j_26";
|
|
2325
|
+
const focused = "_focused_1w32j_31";
|
|
2326
|
+
const first = "_first_1w32j_44";
|
|
2327
|
+
const firstWithActions = "_firstWithActions_1w32j_50";
|
|
2328
|
+
const secondWithActions = "_secondWithActions_1w32j_57";
|
|
2329
|
+
const last = "_last_1w32j_63";
|
|
2330
|
+
const lastWithActions = "_lastWithActions_1w32j_67";
|
|
2331
|
+
const secondToLastWithActions = "_secondToLastWithActions_1w32j_74";
|
|
2332
|
+
const shadowBottom = "_shadowBottom_1w32j_78";
|
|
2333
|
+
const shadowRight = "_shadowRight_1w32j_100";
|
|
2334
|
+
const shadowLeft = "_shadowLeft_1w32j_119";
|
|
2408
2335
|
const styles$3 = {
|
|
2409
2336
|
ColumnHeader: ColumnHeader$1,
|
|
2410
2337
|
content,
|
|
@@ -2463,8 +2390,8 @@ function SelectAllColumnHeaderContent({ state }) {
|
|
|
2463
2390
|
}
|
|
2464
2391
|
return React.createElement(Checkbox.Checkbox, __spreadValues({}, checkboxProps));
|
|
2465
2392
|
}
|
|
2466
|
-
const ExpandedRowContent$1 = "
|
|
2467
|
-
const inner = "
|
|
2393
|
+
const ExpandedRowContent$1 = "_ExpandedRowContent_5gu38_5";
|
|
2394
|
+
const inner = "_inner_5gu38_17";
|
|
2468
2395
|
const styles$2 = {
|
|
2469
2396
|
ExpandedRowContent: ExpandedRowContent$1,
|
|
2470
2397
|
inner
|
|
@@ -2477,10 +2404,10 @@ function ExpandedRowContent({ children }) {
|
|
|
2477
2404
|
className: utilities_css.classNames(styles$2.inner)
|
|
2478
2405
|
}, children));
|
|
2479
2406
|
}
|
|
2480
|
-
const Row$1 = "
|
|
2481
|
-
const expanded = "
|
|
2482
|
-
const hovered = "
|
|
2483
|
-
const selected = "
|
|
2407
|
+
const Row$1 = "_Row_1nd87_5";
|
|
2408
|
+
const expanded = "_expanded_1nd87_12";
|
|
2409
|
+
const hovered = "_hovered_1nd87_18";
|
|
2410
|
+
const selected = "_selected_1nd87_22";
|
|
2484
2411
|
const styles$1 = {
|
|
2485
2412
|
Row: Row$1,
|
|
2486
2413
|
expanded,
|
|
@@ -2548,14 +2475,14 @@ function StaticRow({ children }) {
|
|
|
2548
2475
|
className: styles$1.Row
|
|
2549
2476
|
}, children);
|
|
2550
2477
|
}
|
|
2551
|
-
const DataGrid$1 = "
|
|
2552
|
-
const sizeSm = "
|
|
2553
|
-
const sizeLg = "
|
|
2554
|
-
const innerContainer = "
|
|
2555
|
-
const contents = "
|
|
2556
|
-
const table = "
|
|
2557
|
-
const headerSecondary = "
|
|
2558
|
-
const headerEmphasized = "
|
|
2478
|
+
const DataGrid$1 = "_DataGrid_wzrwf_5";
|
|
2479
|
+
const sizeSm = "_sizeSm_wzrwf_42";
|
|
2480
|
+
const sizeLg = "_sizeLg_wzrwf_47";
|
|
2481
|
+
const innerContainer = "_innerContainer_wzrwf_51";
|
|
2482
|
+
const contents = "_contents_wzrwf_56";
|
|
2483
|
+
const table = "_table_wzrwf_60";
|
|
2484
|
+
const headerSecondary = "_headerSecondary_wzrwf_68";
|
|
2485
|
+
const headerEmphasized = "_headerEmphasized_wzrwf_73";
|
|
2559
2486
|
const styles = {
|
|
2560
2487
|
DataGrid: DataGrid$1,
|
|
2561
2488
|
sizeSm,
|