@midas-ds/components 10.4.0 → 11.0.0
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/{AccordionItem-BqsgiVWV.js → AccordionItem-BtDoammf.js} +7 -7
- package/{AccordionItem-BcsoC78F.cjs → AccordionItem-D2QYNgZS.cjs} +1 -1
- package/{BadgeContainer-DM8TdyMT.js → BadgeContainer-CKBIZWsc.js} +13 -13
- package/BadgeContainer-DWVHS5dn.cjs +1 -0
- package/{Breadcrumbs-D7eoibWk.js → Breadcrumbs-BBzSV4SK.js} +4 -4
- package/{Breadcrumbs-CfW5IuyE.cjs → Breadcrumbs-CFUryOhf.cjs} +1 -1
- package/{Button-BZUo7vsZ.js → Button-BjMaGya2.js} +2 -2
- package/{Button-CFYdzG0H.js → Button-CepQFEit.js} +4 -4
- package/{Button-BXY5ZhqI.cjs → Button-Dq6ugqxT.cjs} +1 -1
- package/Button.module-D-mPLRxe.js +14 -0
- package/Button.module-goCEz5qs.cjs +1 -0
- package/CHANGELOG.md +36 -0
- package/{Card-BaWSgtSF.js → Card-BRs1FKX5.js} +4 -4
- package/{Card-Cc1TNPcQ.cjs → Card-cdL5669N.cjs} +1 -1
- package/{CharacterCounter-cLhqPZlk.js → CharacterCounter-DpBDwvLw.js} +2 -2
- package/{Checkbox-LuUwTZ3W.js → Checkbox-EB_SCBEo.js} +3 -3
- package/{CheckboxGroup-CUA8_xSx.js → CheckboxGroup-CC9QGMuE.js} +7 -8
- package/CheckboxGroup-DhQX10rP.cjs +1 -0
- package/{Collection--62xKPm9.js → Collection-D2jVTmDW.js} +1 -1
- package/{ColorSchemeSwitch-Cwono7Ap.js → ColorSchemeSwitch-Cnyb9EKC.js} +42 -41
- package/ColorSchemeSwitch-owUryjYz.cjs +16 -0
- package/ComboBox-CiCB2e4W.cjs +1 -0
- package/{ComboBox-HLIAbb2q.js → ComboBox-Dnk8JMQ6.js} +65 -66
- package/{DateField-CnLEi7uX.js → DateField-BAS2v9aI.js} +4 -4
- package/{DateField-B3VjOSde.cjs → DateField-DleDM0Sy.cjs} +1 -1
- package/{DateInputDivider-Bi5N-C0c.js → DateInputDivider-B3oE1_tB.js} +39 -38
- package/DateInputDivider-ToFY-yjB.cjs +1 -0
- package/{DateRangePicker-CFOoGvut.js → DateRangePicker-Blej-jD0.js} +71 -72
- package/DateRangePicker-CYXWnCTq.cjs +6 -0
- package/{Dialog-pSSy1zwf.cjs → Dialog-B3R3WtL5.cjs} +1 -1
- package/{Dialog-SqciohRY.js → Dialog-BkUw6PlA.js} +7 -7
- package/{Dialog-CtVrVuMr.js → Dialog-DKHo0W9B.js} +443 -468
- package/Dialog-DtHk3eXI.cjs +1 -0
- package/{DragAndDrop-BoEd260f.cjs → DragAndDrop-CSg60YQE.cjs} +1 -1
- package/{DragAndDrop-DkSTL28C.js → DragAndDrop-DOXLfJaA.js} +1 -1
- package/Dropdown-CYakzdJg.cjs +6 -0
- package/{Dropdown-CkBp70BH.js → Dropdown-D6WCi_Ll.js} +19 -19
- package/FieldError-Bv3Q6ZP-.cjs +1 -0
- package/FieldError-CDCvUjK5.js +46 -0
- package/{FileUpload-B4rv-wke.js → FileUpload-BokzdXVc.js} +448 -562
- package/{FileUpload-BwMhyLjG.cjs → FileUpload-Bz9md5zc.cjs} +2 -2
- package/{FocusScope-D_hwN_TJ.js → FocusScope-BCsrRPqD.js} +1 -1
- package/{Group-CpkUzEAs.js → Group-B0vQfHDy.js} +1 -1
- package/{Heading-NxtGri2i.js → Heading-D2y_kiC0.js} +1 -1
- package/{InfoBanner-CVry6Y8i.cjs → InfoBanner-CzwbOdRG.cjs} +1 -1
- package/{InfoBanner-CBUoad7A.js → InfoBanner-D05poAe3.js} +5 -5
- package/{Input-LnjmFI1x.js → Input-n-Z20KbW.js} +1 -1
- package/{Label-TVxwGZ-O.js → Label-JLgFEbP9.js} +5 -5
- package/{Label-CNmTN1YY.cjs → Label-VO6CAFux.cjs} +1 -1
- package/Layout-BwLxIwtY.cjs +16 -0
- package/{Layout-amz9BESl.js → Layout-CcADAhds.js} +98 -98
- package/{Link-Bn8V3ZI0.js → Link-CibH8uRY.js} +3 -3
- package/Link-ESjrl63P.cjs +6 -0
- package/Link-ovwNVMfg.js +60 -0
- package/LinkButton-B6AWNiRn.cjs +6 -0
- package/LinkButton-BkZULm2a.js +69 -0
- package/{ListBox-BCz5-23H.cjs → ListBox-B0E1hdEt.cjs} +1 -1
- package/{ListBox-C-isJIHL.js → ListBox-CsxDGpCA.js} +11 -11
- package/{ListBoxButton-DNm3gvcT.cjs → ListBoxButton-BsuHFd_O.cjs} +1 -1
- package/{ListBoxButton-C_krklY0.js → ListBoxButton-DawRfuny.js} +1 -1
- package/{ListBoxSection-CfQZoURJ.cjs → ListBoxSection-C-Rz358T.cjs} +1 -1
- package/{ListBoxSection-BVR2xtOH.js → ListBoxSection-Cc2cx0_S.js} +6 -6
- package/{ListKeyboardDelegate-CY6t6y1t.js → ListKeyboardDelegate-C-sPNj0f.js} +2 -2
- package/{ListKeyboardDelegate-CPsZ7D83.cjs → ListKeyboardDelegate-ZKBk2IId.cjs} +1 -1
- package/{OverlayArrow-CfhSYL46.js → OverlayArrow-DB_aVTVM.js} +1 -1
- package/Popover--r4Zr4mO.cjs +1 -0
- package/{Popover-C8VY1YKi.js → Popover-DypW9ift.js} +13 -13
- package/PressResponder-4jE_HLu3.cjs +1 -0
- package/PressResponder-C3APAKsz.js +34 -0
- package/{ProgressBar-BNCjpcv8.js → ProgressBar-CFgcqHTR.js} +2 -2
- package/{ProgressBar-CcbxcWdT.cjs → ProgressBar-CJFNiudl.cjs} +1 -1
- package/Radio-CMH6pTWD.cjs +1 -0
- package/{Radio-CZYibh9r.js → Radio-DUBSD0kQ.js} +19 -20
- package/{RangeCalendar-B16b6tJD.js → RangeCalendar-BCruEq9d.js} +106 -109
- package/RangeCalendar-BY82hPRu.cjs +11 -0
- package/SearchField-QFyuaT-K.cjs +6 -0
- package/{SearchField-giwECmXS.js → SearchField-nwlyszwt.js} +47 -47
- package/Select-C5i-rIDh.cjs +1 -0
- package/{Select-mwaAv20X.js → Select-DKME5lZp.js} +107 -108
- package/SelectionManager-BJjqIWtf.cjs +1 -0
- package/{SelectionManager-zsWy3vsd.js → SelectionManager-BubxiIKu.js} +25 -24
- package/{Separator-Dn5LYN5I.js → Separator-CEZ5y7tZ.js} +4 -4
- package/{Separator-CxF-3jhR.cjs → Separator-DPLEx950.cjs} +1 -1
- package/Spinner-VSyPhiJ9.js +51 -0
- package/Spinner-vof0Y9Hh.cjs +6 -0
- package/{TabList-7VtCiXxX.cjs → TabList-BkSWzbDG.cjs} +1 -1
- package/{TabList-CthsM5h6.js → TabList-QApx8qRC.js} +90 -90
- package/{Table-BcQPvJT3.js → Table-B5Aine4F.js} +55 -54
- package/Table-DGYC-sDq.cjs +16 -0
- package/{Tag-Bs8T2Ei7.js → Tag-Byva_Xuy.js} +136 -135
- package/Tag-bYq-wf5D.cjs +1 -0
- package/{Text-DlKqpvSa.js → Text-BPcfhYQ9.js} +1 -1
- package/{Text-92cPh38G.js → Text-DcZqSUN9.js} +3 -3
- package/{TextArea-DBNAVWqL.js → TextArea-BhmdgD1w.js} +8 -8
- package/{TextArea-XJDfeXRs.cjs → TextArea-CY_tzBAJ.cjs} +1 -1
- package/{TextField-BdK9KEQ5.cjs → TextField-BAX93sq7.cjs} +1 -1
- package/{TextField-ByDJkig9.js → TextField-Dma22dnD.js} +19 -19
- package/{Toast-DPPvPhrF.js → Toast-CWt_mNIg.js} +5 -5
- package/{Toast-l1bKo2oA.cjs → Toast-DdmSvNaO.cjs} +1 -1
- package/{ToggleButtonGroup-DH8IgR4G.cjs → ToggleButtonGroup-DZ_wo0qx.cjs} +1 -1
- package/{ToggleButtonGroup-HOWNWtQZ.js → ToggleButtonGroup-HjvaTYD4.js} +4 -4
- package/{Tooltip-5mLWn_wO.js → Tooltip-DjNc93tV.js} +3 -3
- package/accordion/index.cjs +1 -1
- package/accordion/index.js +1 -1
- package/arrow-right-BGd86zzR.cjs +6 -0
- package/{arrow-right-Dg8sttFO.js → arrow-right-uemUGIg8.js} +5 -5
- package/assets/BadgeContainer.css +1 -1
- package/assets/Button.css +1 -1
- package/assets/FileUpload.css +1 -1
- package/assets/LinkButton.css +1 -1
- package/assets/Popover.css +1 -1
- package/assets/TabList.css +1 -1
- package/assets/Tag.css +1 -1
- package/badge/index.cjs +1 -1
- package/badge/index.js +1 -1
- package/breadcrumbs/index.cjs +1 -1
- package/breadcrumbs/index.js +1 -1
- package/button/index.cjs +1 -1
- package/button/index.js +1 -1
- package/calendar/index.cjs +1 -1
- package/calendar/index.js +1 -1
- package/card/Card.d.ts +1 -1
- package/card/index.cjs +1 -1
- package/card/index.js +1 -1
- package/character-counter/index.js +1 -1
- package/check-B0aKTFe5.cjs +6 -0
- package/check-B5h1DvDs.js +11 -0
- package/checkbox/index.cjs +1 -1
- package/checkbox/index.js +2 -2
- package/chevron-down-5hFlg_lR.cjs +6 -0
- package/chevron-down-DmZMdOiC.js +11 -0
- package/{circle-check-B9HYcH7Z.js → circle-check-BErh6TKu.js} +9 -9
- package/circle-check-OVUGxwp9.cjs +11 -0
- package/color-scheme-switch/index.cjs +1 -1
- package/color-scheme-switch/index.js +1 -1
- package/combobox/index.cjs +1 -1
- package/combobox/index.js +1 -1
- package/createLucideIcon-CTVXwe6i.cjs +21 -0
- package/createLucideIcon-XRdN60yz.js +94 -0
- package/date-field/index.cjs +1 -1
- package/date-field/index.js +2 -2
- package/date-picker/index.cjs +1 -1
- package/date-picker/index.js +1 -1
- package/dropdown/index.cjs +1 -1
- package/dropdown/index.js +1 -1
- package/field-error/index.cjs +1 -1
- package/field-error/index.js +1 -1
- package/file-upload/FileUpload.d.ts +3 -14
- package/file-upload/index.cjs +1 -1
- package/file-upload/index.d.ts +1 -1
- package/file-upload/index.js +3 -2
- package/{getScrollParent-CsZ9ciml.cjs → getScrollParent-DuKmPmUa.cjs} +1 -1
- package/{getScrollParent-CT_L9LUr.js → getScrollParent-Ru2U2LlM.js} +1 -1
- package/heading/index.js +1 -1
- package/index.cjs +1 -1
- package/index.js +97 -96
- package/{info-BZwphdye.js → info-CPK1vbOJ.js} +5 -5
- package/info-Dj6SyPex.cjs +6 -0
- package/info-banner/index.cjs +1 -1
- package/info-banner/index.js +1 -1
- package/label/index.cjs +1 -1
- package/label/index.js +1 -1
- package/layout/index.cjs +1 -1
- package/layout/index.js +1 -1
- package/link/Link.d.ts +1 -1
- package/link/index.cjs +1 -1
- package/link/index.js +2 -2
- package/link-button/LinkButton.d.ts +1 -1
- package/link-button/index.cjs +1 -1
- package/link-button/index.js +2 -2
- package/list-box/index.cjs +1 -1
- package/list-box/index.js +2 -2
- package/modal/index.cjs +1 -1
- package/modal/index.js +2 -2
- package/package.json +1 -1
- package/popover/index.cjs +1 -1
- package/popover/index.js +1 -1
- package/progress-bar/index.cjs +1 -1
- package/progress-bar/index.js +1 -1
- package/radio/index.cjs +1 -1
- package/radio/index.js +1 -1
- package/scrollIntoView-ClEACHUk.js +57 -0
- package/scrollIntoView-DRSoJp89.cjs +1 -0
- package/search-field/index.cjs +1 -1
- package/search-field/index.js +1 -1
- package/select/index.cjs +1 -1
- package/select/index.js +1 -1
- package/spinner/index.cjs +1 -1
- package/spinner/index.js +1 -1
- package/{square-arrow-out-up-right-BkyqV2PN.js → square-arrow-out-up-right-ok0A3Ovo.js} +4 -4
- package/square-arrow-out-up-right-xCFdJTzY.cjs +6 -0
- package/table/index.cjs +1 -1
- package/table/index.js +1 -1
- package/tabs/index.cjs +1 -1
- package/tabs/index.js +1 -1
- package/tag/index.cjs +1 -1
- package/tag/index.js +1 -1
- package/text/index.js +1 -1
- package/textfield/index.cjs +1 -1
- package/textfield/index.js +1 -1
- package/theme/index.cjs +1 -1
- package/theme/index.d.ts +1 -0
- package/theme/index.js +2 -2
- package/theme/tokens.d.ts +1 -0
- package/toast/index.cjs +1 -1
- package/toast/index.js +1 -1
- package/toggle-button/index.cjs +1 -1
- package/toggle-button/index.js +1 -1
- package/{tokens-BghDnMdO.cjs → tokens-BF-dPard.cjs} +1 -1
- package/{tokens-fEwCQXDv.js → tokens-r1r3wC04.js} +4 -3
- package/tooltip/index.js +1 -1
- package/{triangle-alert-wxyxspAl.js → triangle-alert-B_qAPmWC.js} +5 -5
- package/triangle-alert-BviJNFjf.cjs +6 -0
- package/{useButton-1-Jf-oHj.js → useButton-BoIV3kDJ.js} +5 -5
- package/{useDateFormatter-BVCkxVdw.js → useDateFormatter-C7BJgoDR.js} +1 -1
- package/useDescription-CPo72trh.cjs +1 -0
- package/useDescription-DYfKjGGU.js +32 -0
- package/{useField-BEBXv5Mh.js → useField-CefQB81E.js} +1 -1
- package/{useFilter-e2oIVF_O.cjs → useFilter-BhM2yVO3.cjs} +1 -1
- package/{useFilter-CousKe2K.js → useFilter-DginflOU.js} +1 -1
- package/{useFocusable-ChPA2Jc7.js → useFocusable-BjE42axF.js} +7 -7
- package/{useHasTabbableChild-BE81d_ab.js → useHasTabbableChild-DP62kzkG.js} +1 -1
- package/{useHighlightSelectionDescription-BfR_vGOe.cjs → useHighlightSelectionDescription-DmbDkFGY.cjs} +1 -1
- package/{useHighlightSelectionDescription-D73hrkmn.js → useHighlightSelectionDescription-xr_16pKd.js} +2 -2
- package/{useListState-CebsX_1d.js → useListState-DNB7JWoj.js} +1 -1
- package/{useListState-DymkJGDF.cjs → useListState-wLau6fXo.cjs} +1 -1
- package/{usePress-DuR4pVsE.js → usePress-BW47IcyU.js} +34 -34
- package/{useSingleSelectListState-BLXvGjLI.js → useSingleSelectListState-B0OMoHd_.js} +1 -1
- package/{useSingleSelectListState-BPhlCU26.cjs → useSingleSelectListState-DlO5H9N-.cjs} +1 -1
- package/{useTextField-C-sUypsx.js → useTextField-DjxayZsV.js} +2 -2
- package/{utils-DJhAJHk_.js → utils-KLjWgdLR.js} +5 -5
- package/{x-JK7i-TQC.js → x-C2xUHAEl.js} +5 -5
- package/x-rV-nu490.cjs +6 -0
- package/BadgeContainer-I1XA3OCl.cjs +0 -1
- package/Button.module-DEQtBYe5.cjs +0 -1
- package/Button.module-tti8HGxs.js +0 -14
- package/CheckboxGroup-DmUOM0xl.cjs +0 -1
- package/ColorSchemeSwitch-DDXdSzqg.cjs +0 -16
- package/ComboBox-BBC7jhnm.cjs +0 -1
- package/DateInputDivider-3BvwXXa9.cjs +0 -1
- package/DateRangePicker-BPlZ12r8.cjs +0 -6
- package/Dialog-CSnN6baf.cjs +0 -1
- package/Dropdown-DAsVShlt.cjs +0 -6
- package/FieldError-B3YFj-an.js +0 -23
- package/FieldError-BbR-29BM.js +0 -28
- package/FieldError-MVsU-Mgw.cjs +0 -1
- package/FieldError-bRTpchvr.cjs +0 -1
- package/Layout-Dw-oCqxd.cjs +0 -16
- package/Link-D92ftFi2.cjs +0 -6
- package/Link-DegonJfl.js +0 -59
- package/LinkButton-CckYzfJ8.js +0 -69
- package/LinkButton-DKZ4z6zu.cjs +0 -6
- package/Popover-CnAsw3wI.cjs +0 -1
- package/Radio-B2zfEFdq.cjs +0 -1
- package/RangeCalendar-C1LFeOVk.cjs +0 -11
- package/SearchField-CML0kjtn.cjs +0 -6
- package/Select-DKey6CeS.cjs +0 -1
- package/SelectionManager-D0jYUYcy.cjs +0 -1
- package/Spinner-CbJ6YAz-.js +0 -53
- package/Spinner-yHcy8YHC.cjs +0 -6
- package/Table-DkvNp6xm.cjs +0 -16
- package/Tag-CFWZ2LQW.cjs +0 -1
- package/arrow-right-QJ2gXPKQ.cjs +0 -6
- package/check-CLF6Yxza.js +0 -11
- package/check-D_KoootC.cjs +0 -6
- package/chevron-down-Cd1bkzXT.js +0 -13
- package/chevron-down-jl83cllc.cjs +0 -6
- package/circle-check-BGo8gML8.cjs +0 -11
- package/createLucideIcon-Cg_wkoIA.cjs +0 -21
- package/createLucideIcon-DeWljiyi.js +0 -79
- package/file-upload/intl/translations.json.d.ts +0 -17
- package/info-CIEIENo6.cjs +0 -6
- package/scrollIntoView-BLnsPvFA.js +0 -87
- package/scrollIntoView-joIyo-Jt.cjs +0 -1
- package/square-arrow-out-up-right-V4Gd08uI.cjs +0 -6
- package/triangle-alert-DJW8U7jL.cjs +0 -6
- package/x-H8Zrx8-x.cjs +0 -6
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import { jsx as m, jsxs as B } from "react/jsx-runtime";
|
|
2
|
-
import * as
|
|
3
|
-
import u, { useMemo as
|
|
2
|
+
import * as w from "react";
|
|
3
|
+
import u, { useMemo as E, useRef as W, useEffect as j, forwardRef as N, createContext as R, useContext as p } from "react";
|
|
4
4
|
import { c as v } from "./clsx-OuTLNxxd.js";
|
|
5
5
|
import { u as U } from "./useObserveElement-BdI4zgd7.js";
|
|
6
|
-
import { w as q } from "./tokens-
|
|
7
|
-
import { $ as G, b as J, d as A, f as Q, c as X, g as Y } from "./Collection
|
|
8
|
-
import { $ as Z,
|
|
6
|
+
import { w as q } from "./tokens-r1r3wC04.js";
|
|
7
|
+
import { $ as G, b as J, d as A, f as Q, c as X, g as Y } from "./Collection-D2jVTmDW.js";
|
|
8
|
+
import { $ as Z, b as C, a as D, f as V, c as ee } from "./utils-KLjWgdLR.js";
|
|
9
9
|
import { $ as te } from "./Hidden-C9KWUR7b.js";
|
|
10
10
|
import { a as g, c as ie } from "./mergeProps-C1U1OIeJ.js";
|
|
11
11
|
import { $ as F } from "./filterDOMProps-D6KHYVBX.js";
|
|
12
12
|
import { $ as L } from "./inertValue-B7loUihk.js";
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import { d as
|
|
13
|
+
import { d as ae } from "./usePress-BW47IcyU.js";
|
|
14
|
+
import { a as ne } from "./useFocusable-BjE42axF.js";
|
|
15
|
+
import { d as le, e as se } from "./SelectionManager-BubxiIKu.js";
|
|
16
16
|
import { $ as O } from "./useLabels-LrKQiY11.js";
|
|
17
|
-
import { $ as
|
|
17
|
+
import { $ as oe } from "./useHasTabbableChild-DP62kzkG.js";
|
|
18
18
|
import { $ as re } from "./context-CGNJ3grH.js";
|
|
19
19
|
import { $ as I } from "./useFocusRing-DOfBqnUN.js";
|
|
20
20
|
import { $ as de } from "./useHover-DQvJ3Y-W.js";
|
|
21
|
-
import { $ as ce } from "./useSingleSelectListState-
|
|
21
|
+
import { $ as ce } from "./useSingleSelectListState-B0OMoHd_.js";
|
|
22
22
|
import './assets/TabList.css';const H = /* @__PURE__ */ new WeakMap();
|
|
23
23
|
function K(i, e, t) {
|
|
24
24
|
return i ? (typeof e == "string" && (e = e.replace(/\s+/g, "")), `${H.get(i)}-${t}-${e}`) : "";
|
|
25
25
|
}
|
|
26
26
|
function fe(i, e, t) {
|
|
27
|
-
let { key: a, isDisabled: n, shouldSelectOnPressUp: r } = i, { selectionManager:
|
|
28
|
-
selectionManager:
|
|
27
|
+
let { key: a, isDisabled: n, shouldSelectOnPressUp: r } = i, { selectionManager: o, selectedKey: d } = e, s = a === d, l = n || e.isDisabled || e.selectionManager.isDisabled(a), { itemProps: c, isPressed: f } = le({
|
|
28
|
+
selectionManager: o,
|
|
29
29
|
key: a,
|
|
30
30
|
ref: t,
|
|
31
|
-
isDisabled:
|
|
31
|
+
isDisabled: l,
|
|
32
32
|
shouldSelectOnPressUp: r,
|
|
33
33
|
linkBehavior: "selection"
|
|
34
34
|
}), b = K(e, a, "tab"), P = K(e, a, "tabpanel"), { tabIndex: x } = c, $ = e.collection.getItem(a), T = F($ == null ? void 0 : $.props, {
|
|
@@ -36,32 +36,32 @@ function fe(i, e, t) {
|
|
|
36
36
|
});
|
|
37
37
|
delete T.id;
|
|
38
38
|
let z = ae($ == null ? void 0 : $.props), { focusableProps: _ } = ne({
|
|
39
|
-
isDisabled:
|
|
39
|
+
isDisabled: l
|
|
40
40
|
}, t);
|
|
41
41
|
return {
|
|
42
42
|
tabProps: g(T, _, z, c, {
|
|
43
43
|
id: b,
|
|
44
|
-
"aria-selected":
|
|
45
|
-
"aria-disabled":
|
|
46
|
-
"aria-controls":
|
|
47
|
-
tabIndex:
|
|
44
|
+
"aria-selected": s,
|
|
45
|
+
"aria-disabled": l || void 0,
|
|
46
|
+
"aria-controls": s ? P : void 0,
|
|
47
|
+
tabIndex: l ? void 0 : x,
|
|
48
48
|
role: "tab"
|
|
49
49
|
}),
|
|
50
|
-
isSelected:
|
|
51
|
-
isDisabled:
|
|
50
|
+
isSelected: s,
|
|
51
|
+
isDisabled: l,
|
|
52
52
|
isPressed: f
|
|
53
53
|
};
|
|
54
54
|
}
|
|
55
55
|
function ue(i, e, t) {
|
|
56
|
-
let a =
|
|
56
|
+
let a = oe(t) ? void 0 : 0;
|
|
57
57
|
var n;
|
|
58
|
-
const r = K(e, (n = i.id) !== null && n !== void 0 ? n : e == null ? void 0 : e.selectedKey, "tabpanel"),
|
|
58
|
+
const r = K(e, (n = i.id) !== null && n !== void 0 ? n : e == null ? void 0 : e.selectedKey, "tabpanel"), o = O({
|
|
59
59
|
...i,
|
|
60
60
|
id: r,
|
|
61
61
|
"aria-labelledby": K(e, e == null ? void 0 : e.selectedKey, "tab")
|
|
62
62
|
});
|
|
63
63
|
return {
|
|
64
|
-
tabPanelProps: g(
|
|
64
|
+
tabPanelProps: g(o, {
|
|
65
65
|
tabIndex: a,
|
|
66
66
|
role: "tabpanel",
|
|
67
67
|
"aria-describedby": i["aria-describedby"],
|
|
@@ -113,15 +113,15 @@ class be {
|
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
115
|
function $e(i, e, t) {
|
|
116
|
-
let { orientation: a = "horizontal", keyboardActivation: n = "automatic" } = i, { collection: r, selectionManager:
|
|
116
|
+
let { orientation: a = "horizontal", keyboardActivation: n = "automatic" } = i, { collection: r, selectionManager: o, disabledKeys: d } = e, { direction: s } = re(), l = E(() => new be(r, s, a, d), [
|
|
117
117
|
r,
|
|
118
118
|
d,
|
|
119
119
|
a,
|
|
120
|
-
|
|
121
|
-
]), { collectionProps: c } =
|
|
120
|
+
s
|
|
121
|
+
]), { collectionProps: c } = se({
|
|
122
122
|
ref: t,
|
|
123
|
-
selectionManager:
|
|
124
|
-
keyboardDelegate:
|
|
123
|
+
selectionManager: o,
|
|
124
|
+
keyboardDelegate: l,
|
|
125
125
|
selectOnFocus: n === "automatic",
|
|
126
126
|
disallowEmptySelection: !0,
|
|
127
127
|
scrollRef: t,
|
|
@@ -145,18 +145,18 @@ function me(i) {
|
|
|
145
145
|
var e, t;
|
|
146
146
|
let a = ce({
|
|
147
147
|
...i,
|
|
148
|
-
onSelectionChange: i.onSelectionChange ? (
|
|
149
|
-
var
|
|
150
|
-
|
|
148
|
+
onSelectionChange: i.onSelectionChange ? (s) => {
|
|
149
|
+
var l;
|
|
150
|
+
s != null && ((l = i.onSelectionChange) === null || l === void 0 || l.call(i, s));
|
|
151
151
|
} : void 0,
|
|
152
152
|
suppressTextValueWarning: !0,
|
|
153
153
|
defaultSelectedKey: (t = (e = i.defaultSelectedKey) !== null && e !== void 0 ? e : M(i.collection, i.disabledKeys ? new Set(i.disabledKeys) : /* @__PURE__ */ new Set())) !== null && t !== void 0 ? t : void 0
|
|
154
|
-
}), { selectionManager: n, collection: r, selectedKey:
|
|
154
|
+
}), { selectionManager: n, collection: r, selectedKey: o } = a, d = W(o);
|
|
155
155
|
return j(() => {
|
|
156
|
-
let
|
|
157
|
-
i.selectedKey == null && (n.isEmpty ||
|
|
158
|
-
|
|
159
|
-
])), (
|
|
156
|
+
let s = o;
|
|
157
|
+
i.selectedKey == null && (n.isEmpty || s == null || !r.getItem(s)) && (s = M(r, a.disabledKeys), s != null && n.setSelectedKeys([
|
|
158
|
+
s
|
|
159
|
+
])), (s != null && n.focusedKey == null || !n.isFocused && s !== d.current) && n.setFocusedKey(s), d.current = s;
|
|
160
160
|
}), {
|
|
161
161
|
...a,
|
|
162
162
|
isDisabled: i.isDisabled || !1
|
|
@@ -165,16 +165,16 @@ function me(i) {
|
|
|
165
165
|
function M(i, e) {
|
|
166
166
|
let t = null;
|
|
167
167
|
if (i) {
|
|
168
|
-
var a, n, r,
|
|
168
|
+
var a, n, r, o;
|
|
169
169
|
for (t = i.getFirstKey(); t != null && (e.has(t) || !((n = i.getItem(t)) === null || n === void 0 || (a = n.props) === null || a === void 0) && a.isDisabled) && t !== i.getLastKey(); ) t = i.getKeyAfter(t);
|
|
170
|
-
t != null && (e.has(t) || !((
|
|
170
|
+
t != null && (e.has(t) || !((o = i.getItem(t)) === null || o === void 0 || (r = o.props) === null || r === void 0) && r.isDisabled) && t === i.getLastKey() && (t = i.getFirstKey());
|
|
171
171
|
}
|
|
172
172
|
return t;
|
|
173
173
|
}
|
|
174
174
|
const S = /* @__PURE__ */ R(null), h = /* @__PURE__ */ R(null), k = /* @__PURE__ */ N(function(e, t) {
|
|
175
175
|
[e, t] = Z(e, t, S);
|
|
176
176
|
let { children: a, orientation: n = "horizontal" } = e;
|
|
177
|
-
return a =
|
|
177
|
+
return a = E(() => typeof a == "function" ? a({
|
|
178
178
|
orientation: n,
|
|
179
179
|
defaultChildren: null
|
|
180
180
|
}) : a, [
|
|
@@ -193,28 +193,28 @@ function he({ props: i, tabsRef: e, collection: t }) {
|
|
|
193
193
|
...i,
|
|
194
194
|
collection: t,
|
|
195
195
|
children: void 0
|
|
196
|
-
}), { focusProps: r, isFocused:
|
|
196
|
+
}), { focusProps: r, isFocused: o, isFocusVisible: d } = I({
|
|
197
197
|
within: !0
|
|
198
|
-
}),
|
|
198
|
+
}), s = E(() => ({
|
|
199
199
|
orientation: a,
|
|
200
|
-
isFocusWithin:
|
|
200
|
+
isFocusWithin: o,
|
|
201
201
|
isFocusVisible: d
|
|
202
202
|
}), [
|
|
203
203
|
a,
|
|
204
|
-
|
|
204
|
+
o,
|
|
205
205
|
d
|
|
206
|
-
]),
|
|
206
|
+
]), l = D({
|
|
207
207
|
...i,
|
|
208
208
|
defaultClassName: "react-aria-Tabs",
|
|
209
|
-
values:
|
|
209
|
+
values: s
|
|
210
210
|
});
|
|
211
211
|
return /* @__PURE__ */ u.createElement("div", {
|
|
212
212
|
...F(i),
|
|
213
213
|
...r,
|
|
214
|
-
...
|
|
214
|
+
...l,
|
|
215
215
|
ref: e,
|
|
216
216
|
slot: i.slot || void 0,
|
|
217
|
-
"data-focused":
|
|
217
|
+
"data-focused": o || void 0,
|
|
218
218
|
"data-orientation": a,
|
|
219
219
|
"data-focus-visible": d || void 0,
|
|
220
220
|
"data-disabled": n.isDisabled || void 0
|
|
@@ -229,7 +229,7 @@ function he({ props: i, tabsRef: e, collection: t }) {
|
|
|
229
229
|
n
|
|
230
230
|
]
|
|
231
231
|
]
|
|
232
|
-
},
|
|
232
|
+
}, l.children));
|
|
233
233
|
}
|
|
234
234
|
const pe = /* @__PURE__ */ N(function(e, t) {
|
|
235
235
|
return p(h) ? /* @__PURE__ */ u.createElement(ve, {
|
|
@@ -238,11 +238,11 @@ const pe = /* @__PURE__ */ N(function(e, t) {
|
|
|
238
238
|
}) : /* @__PURE__ */ u.createElement(X, e);
|
|
239
239
|
});
|
|
240
240
|
function ve({ props: i, forwardedRef: e }) {
|
|
241
|
-
let t = p(h), { CollectionRoot: a } = p(A), { orientation: n = "horizontal", keyboardActivation: r = "automatic" } = ee(S),
|
|
241
|
+
let t = p(h), { CollectionRoot: a } = p(A), { orientation: n = "horizontal", keyboardActivation: r = "automatic" } = ee(S), o = C(e), { tabListProps: d } = $e({
|
|
242
242
|
...i,
|
|
243
243
|
orientation: n,
|
|
244
244
|
keyboardActivation: r
|
|
245
|
-
}, t,
|
|
245
|
+
}, t, o), s = D({
|
|
246
246
|
...i,
|
|
247
247
|
children: null,
|
|
248
248
|
defaultClassName: "react-aria-TabList",
|
|
@@ -250,12 +250,12 @@ function ve({ props: i, forwardedRef: e }) {
|
|
|
250
250
|
orientation: n,
|
|
251
251
|
state: t
|
|
252
252
|
}
|
|
253
|
-
}),
|
|
254
|
-
return delete
|
|
255
|
-
...o,
|
|
256
|
-
...d,
|
|
257
|
-
ref: s,
|
|
253
|
+
}), l = F(i);
|
|
254
|
+
return delete l.id, /* @__PURE__ */ u.createElement("div", {
|
|
258
255
|
...l,
|
|
256
|
+
...d,
|
|
257
|
+
ref: o,
|
|
258
|
+
...s,
|
|
259
259
|
"data-orientation": n || void 0
|
|
260
260
|
}, /* @__PURE__ */ u.createElement(a, {
|
|
261
261
|
collection: t.collection,
|
|
@@ -263,10 +263,10 @@ function ve({ props: i, forwardedRef: e }) {
|
|
|
263
263
|
}));
|
|
264
264
|
}
|
|
265
265
|
const ye = /* @__PURE__ */ G("item", (i, e, t) => {
|
|
266
|
-
let a = p(h), n = C(e), { tabProps: r, isSelected:
|
|
266
|
+
let a = p(h), n = C(e), { tabProps: r, isSelected: o, isDisabled: d, isPressed: s } = fe({
|
|
267
267
|
key: t.key,
|
|
268
268
|
...i
|
|
269
|
-
}, a, n), { focusProps:
|
|
269
|
+
}, a, n), { focusProps: l, isFocused: c, isFocusVisible: f } = I(), { hoverProps: b, isHovered: P } = de({
|
|
270
270
|
isDisabled: d,
|
|
271
271
|
onHoverStart: i.onHoverStart,
|
|
272
272
|
onHoverEnd: i.onHoverEnd,
|
|
@@ -277,49 +277,49 @@ const ye = /* @__PURE__ */ G("item", (i, e, t) => {
|
|
|
277
277
|
children: t.rendered,
|
|
278
278
|
defaultClassName: "react-aria-Tab",
|
|
279
279
|
values: {
|
|
280
|
-
isSelected:
|
|
280
|
+
isSelected: o,
|
|
281
281
|
isDisabled: d,
|
|
282
282
|
isFocused: c,
|
|
283
283
|
isFocusVisible: f,
|
|
284
|
-
isPressed:
|
|
284
|
+
isPressed: s,
|
|
285
285
|
isHovered: P
|
|
286
286
|
}
|
|
287
287
|
}), $ = t.props.href ? "a" : "div";
|
|
288
288
|
return /* @__PURE__ */ u.createElement($, {
|
|
289
|
-
...g(r,
|
|
289
|
+
...g(r, l, b, x),
|
|
290
290
|
ref: n,
|
|
291
|
-
"data-selected":
|
|
291
|
+
"data-selected": o || void 0,
|
|
292
292
|
"data-disabled": d || void 0,
|
|
293
293
|
"data-focused": c || void 0,
|
|
294
294
|
"data-focus-visible": f || void 0,
|
|
295
|
-
"data-pressed":
|
|
295
|
+
"data-pressed": s || void 0,
|
|
296
296
|
"data-hovered": P || void 0
|
|
297
297
|
}, x.children);
|
|
298
298
|
}), ge = /* @__PURE__ */ te(function(e, t) {
|
|
299
299
|
const a = p(h);
|
|
300
|
-
let n = C(t), { tabPanelProps: r } = ue(e, a, n), { focusProps:
|
|
300
|
+
let n = C(t), { tabPanelProps: r } = ue(e, a, n), { focusProps: o, isFocused: d, isFocusVisible: s } = I(), l = a.selectedKey === e.id, c = D({
|
|
301
301
|
...e,
|
|
302
302
|
defaultClassName: "react-aria-TabPanel",
|
|
303
303
|
values: {
|
|
304
304
|
isFocused: d,
|
|
305
|
-
isFocusVisible:
|
|
305
|
+
isFocusVisible: s,
|
|
306
306
|
// @ts-ignore - compatibility with React < 19
|
|
307
|
-
isInert: L(!
|
|
307
|
+
isInert: L(!l),
|
|
308
308
|
state: a
|
|
309
309
|
}
|
|
310
310
|
});
|
|
311
|
-
if (!
|
|
311
|
+
if (!l && !e.shouldForceMount) return null;
|
|
312
312
|
let f = F(e);
|
|
313
313
|
delete f.id;
|
|
314
|
-
let b =
|
|
314
|
+
let b = l ? g(f, r, o, c) : c;
|
|
315
315
|
return /* @__PURE__ */ u.createElement("div", {
|
|
316
316
|
...b,
|
|
317
317
|
ref: n,
|
|
318
318
|
"data-focused": d || void 0,
|
|
319
|
-
"data-focus-visible":
|
|
319
|
+
"data-focus-visible": s || void 0,
|
|
320
320
|
// @ts-ignore
|
|
321
|
-
inert: L(!
|
|
322
|
-
"data-inert":
|
|
321
|
+
inert: L(!l),
|
|
322
|
+
"data-inert": l ? void 0 : "true"
|
|
323
323
|
}, /* @__PURE__ */ u.createElement(V, {
|
|
324
324
|
values: [
|
|
325
325
|
[
|
|
@@ -334,7 +334,7 @@ const ye = /* @__PURE__ */ G("item", (i, e, t) => {
|
|
|
334
334
|
}, /* @__PURE__ */ u.createElement(A.Provider, {
|
|
335
335
|
value: Q
|
|
336
336
|
}, c.children)));
|
|
337
|
-
}), Pe = "
|
|
337
|
+
}), Pe = "_container_rtudw_4", xe = "_list_rtudw_8", Ke = "_listItem_rtudw_13", De = "_panel_rtudw_55", y = {
|
|
338
338
|
container: Pe,
|
|
339
339
|
list: xe,
|
|
340
340
|
listItem: Ke,
|
|
@@ -349,13 +349,13 @@ const ye = /* @__PURE__ */ G("item", (i, e, t) => {
|
|
|
349
349
|
const { width: r } = U(
|
|
350
350
|
typeof document > "u" ? null : document.body,
|
|
351
351
|
{ includePadding: !0 }
|
|
352
|
-
),
|
|
352
|
+
), o = n.orientation || r >= q.sm ? "horizontal" : "vertical";
|
|
353
353
|
if (!(i != null && i.length))
|
|
354
354
|
return /* @__PURE__ */ m(
|
|
355
355
|
k,
|
|
356
356
|
{
|
|
357
357
|
...n,
|
|
358
|
-
orientation:
|
|
358
|
+
orientation: o,
|
|
359
359
|
className: v(y.container, a),
|
|
360
360
|
children: t
|
|
361
361
|
}
|
|
@@ -364,18 +364,18 @@ const ye = /* @__PURE__ */ G("item", (i, e, t) => {
|
|
|
364
364
|
return console.error(
|
|
365
365
|
'Only the declarative API supports passing a function to children, replace the "tabs" prop according to the documentation: https://designsystem.migrationsverket.se/components/tabs/ '
|
|
366
366
|
), null;
|
|
367
|
-
const d =
|
|
367
|
+
const d = w.Children.toArray(t);
|
|
368
368
|
if (d.length !== i.length)
|
|
369
369
|
return console.error(
|
|
370
370
|
`The number of children must match the number of tabs. Children: ${d.length} Tabs: ${i.length}`
|
|
371
371
|
), null;
|
|
372
|
-
const
|
|
373
|
-
(
|
|
374
|
-
if (
|
|
372
|
+
const s = d.reduce(
|
|
373
|
+
(l, c, f) => {
|
|
374
|
+
if (w.isValidElement(c)) {
|
|
375
375
|
const b = i[f];
|
|
376
|
-
b && (
|
|
376
|
+
b && (l[b] = w.cloneElement(c, { id: b }));
|
|
377
377
|
}
|
|
378
|
-
return
|
|
378
|
+
return l;
|
|
379
379
|
},
|
|
380
380
|
{}
|
|
381
381
|
);
|
|
@@ -383,24 +383,24 @@ const ye = /* @__PURE__ */ G("item", (i, e, t) => {
|
|
|
383
383
|
k,
|
|
384
384
|
{
|
|
385
385
|
...n,
|
|
386
|
-
orientation:
|
|
386
|
+
orientation: o,
|
|
387
387
|
className: v(y.container, a),
|
|
388
388
|
children: [
|
|
389
|
-
/* @__PURE__ */ m(
|
|
389
|
+
/* @__PURE__ */ m(we, { "aria-label": e, children: i.map((l) => /* @__PURE__ */ m(
|
|
390
390
|
Fe,
|
|
391
391
|
{
|
|
392
|
-
id:
|
|
393
|
-
children:
|
|
392
|
+
id: l,
|
|
393
|
+
children: l
|
|
394
394
|
},
|
|
395
|
-
|
|
395
|
+
l
|
|
396
396
|
)) }),
|
|
397
|
-
i.map((
|
|
397
|
+
i.map((l) => /* @__PURE__ */ m(
|
|
398
398
|
Se,
|
|
399
399
|
{
|
|
400
|
-
id:
|
|
401
|
-
children: l
|
|
400
|
+
id: l,
|
|
401
|
+
children: s[l]
|
|
402
402
|
},
|
|
403
|
-
|
|
403
|
+
l
|
|
404
404
|
))
|
|
405
405
|
]
|
|
406
406
|
}
|
|
@@ -417,7 +417,7 @@ const ye = /* @__PURE__ */ G("item", (i, e, t) => {
|
|
|
417
417
|
className: v(y.panel, i),
|
|
418
418
|
...e
|
|
419
419
|
}
|
|
420
|
-
),
|
|
420
|
+
), we = ({
|
|
421
421
|
className: i,
|
|
422
422
|
...e
|
|
423
423
|
}) => /* @__PURE__ */ m(
|
|
@@ -431,5 +431,5 @@ export {
|
|
|
431
431
|
Ge as T,
|
|
432
432
|
Fe as a,
|
|
433
433
|
Se as b,
|
|
434
|
-
|
|
434
|
+
we as c
|
|
435
435
|
};
|
|
@@ -1,33 +1,34 @@
|
|
|
1
1
|
import { jsx as S, jsxs as pe, Fragment as zt } from "react/jsx-runtime";
|
|
2
|
-
import { f as At, e as Kt, $ as Pt } from "./Button-
|
|
2
|
+
import { f as At, e as Kt, $ as Pt } from "./Button-CepQFEit.js";
|
|
3
3
|
import { a as ze } from "./RSPContexts-BW2SEIqe.js";
|
|
4
|
-
import { a as he, $ as ge, d as F, c as X, b as Nt, i as Ft, f as Ae, j as Mt, k as De } from "./Collection
|
|
5
|
-
import { a as O, $ as Rt,
|
|
6
|
-
import { $ as L, b as Vt, a as Ht, c as Tt, d as jt } from "./DragAndDrop-
|
|
7
|
-
import { f as E, i as T, j as H, k as _, e as Ot, d as Ke, $ as Pe, b as Ut, a as Wt } from "./SelectionManager-
|
|
4
|
+
import { a as he, $ as ge, d as F, c as X, b as Nt, i as Ft, f as Ae, j as Mt, k as De } from "./Collection-D2jVTmDW.js";
|
|
5
|
+
import { a as O, $ as Rt, b as Q, f as te, g as we, h as It } from "./utils-KLjWgdLR.js";
|
|
6
|
+
import { $ as L, b as Vt, a as Ht, c as Tt, d as jt } from "./DragAndDrop-DOXLfJaA.js";
|
|
7
|
+
import { f as E, i as T, j as H, k as _, e as Ot, d as Ke, $ as Pe, b as Ut, a as Wt } from "./SelectionManager-BubxiIKu.js";
|
|
8
8
|
import $, { useMemo as M, useCallback as me, useRef as N, useEffect as le, useState as Lt, forwardRef as Ne, useContext as C, createContext as G } from "react";
|
|
9
9
|
import { c as ve, a as K, e as Gt } from "./mergeProps-C1U1OIeJ.js";
|
|
10
10
|
import { $ as I } from "./filterDOMProps-D6KHYVBX.js";
|
|
11
11
|
import { $ as Yt } from "./inertValue-B7loUihk.js";
|
|
12
12
|
import "react-dom";
|
|
13
13
|
import { a as qt, d as Ce, $ as oe } from "./useHover-DQvJ3Y-W.js";
|
|
14
|
-
import {
|
|
14
|
+
import { b as Zt, g as Jt } from "./usePress-BW47IcyU.js";
|
|
15
15
|
import { o as ee } from "./utils-CoCR_Fce.js";
|
|
16
16
|
import { $ as ne } from "./context-CGNJ3grH.js";
|
|
17
17
|
import { $ as J } from "./useFocusRing-DOfBqnUN.js";
|
|
18
|
-
import { $ as ke, a as Xt } from "./FocusScope-
|
|
19
|
-
import { $ as Qt, a as _t, b as el } from "./useHighlightSelectionDescription-
|
|
18
|
+
import { $ as ke, a as Xt } from "./FocusScope-BCsrRPqD.js";
|
|
19
|
+
import { $ as Qt, a as _t, b as el } from "./useHighlightSelectionDescription-xr_16pKd.js";
|
|
20
20
|
import { $ as re } from "./useLocalizedStringFormatter-CL9MUZ8A.js";
|
|
21
21
|
import { a as be } from "./VisuallyHidden-CYfmTSCD.js";
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import { $ as
|
|
25
|
-
import { b as
|
|
26
|
-
import { $ as
|
|
22
|
+
import { $ as Fe } from "./useDescription-DYfKjGGU.js";
|
|
23
|
+
import { b as V, a as tl } from "./useFocusable-BjE42axF.js";
|
|
24
|
+
import { $ as U } from "./getScrollParent-Ru2U2LlM.js";
|
|
25
|
+
import { b as W } from "./scrollIntoView-ClEACHUk.js";
|
|
26
|
+
import { b as ll, $ as Me, a as ol } from "./ListKeyboardDelegate-C-sPNj0f.js";
|
|
27
|
+
import { $ as nl } from "./useHasTabbableChild-DP62kzkG.js";
|
|
27
28
|
import { $ as rl } from "./useUpdateEffect-CCDx8D4X.js";
|
|
28
|
-
import { C as Re } from "./Checkbox-
|
|
29
|
+
import { C as Re } from "./Checkbox-EB_SCBEo.js";
|
|
29
30
|
import { c as Ie } from "./clsx-OuTLNxxd.js";
|
|
30
|
-
import { c as ye } from "./createLucideIcon-
|
|
31
|
+
import { c as ye } from "./createLucideIcon-XRdN60yz.js";
|
|
31
32
|
import './assets/Table.css';class Ve {
|
|
32
33
|
isCell(t) {
|
|
33
34
|
return t.type === "cell";
|
|
@@ -403,8 +404,8 @@ function He(e, t, l) {
|
|
|
403
404
|
case "ArrowLeft": {
|
|
404
405
|
let w = s === "rtl" ? x.nextNode() : x.previousNode();
|
|
405
406
|
if (r === "child" && w === l.current && (w = null), b.preventDefault(), b.stopPropagation(), w)
|
|
406
|
-
V(w),
|
|
407
|
-
containingElement:
|
|
407
|
+
V(w), W(w, {
|
|
408
|
+
containingElement: U(l.current)
|
|
408
409
|
});
|
|
409
410
|
else {
|
|
410
411
|
var g;
|
|
@@ -413,10 +414,10 @@ function He(e, t, l) {
|
|
|
413
414
|
(k = l.current.parentElement) === null || k === void 0 || k.dispatchEvent(new KeyboardEvent(b.nativeEvent.type, b.nativeEvent));
|
|
414
415
|
break;
|
|
415
416
|
}
|
|
416
|
-
r === "cell" && s === "rtl" ? (V(l.current),
|
|
417
|
-
containingElement:
|
|
418
|
-
})) : (x.currentNode = l.current, w = s === "rtl" ? x.firstChild() : de(x), w && (V(w),
|
|
419
|
-
containingElement:
|
|
417
|
+
r === "cell" && s === "rtl" ? (V(l.current), W(l.current, {
|
|
418
|
+
containingElement: U(l.current)
|
|
419
|
+
})) : (x.currentNode = l.current, w = s === "rtl" ? x.firstChild() : de(x), w && (V(w), W(w, {
|
|
420
|
+
containingElement: U(l.current)
|
|
420
421
|
})));
|
|
421
422
|
}
|
|
422
423
|
break;
|
|
@@ -424,8 +425,8 @@ function He(e, t, l) {
|
|
|
424
425
|
case "ArrowRight": {
|
|
425
426
|
let w = s === "rtl" ? x.previousNode() : x.nextNode();
|
|
426
427
|
if (r === "child" && w === l.current && (w = null), b.preventDefault(), b.stopPropagation(), w)
|
|
427
|
-
V(w),
|
|
428
|
-
containingElement:
|
|
428
|
+
V(w), W(w, {
|
|
429
|
+
containingElement: U(l.current)
|
|
429
430
|
});
|
|
430
431
|
else {
|
|
431
432
|
var z;
|
|
@@ -434,10 +435,10 @@ function He(e, t, l) {
|
|
|
434
435
|
(P = l.current.parentElement) === null || P === void 0 || P.dispatchEvent(new KeyboardEvent(b.nativeEvent.type, b.nativeEvent));
|
|
435
436
|
break;
|
|
436
437
|
}
|
|
437
|
-
r === "cell" && s === "ltr" ? (V(l.current),
|
|
438
|
-
containingElement:
|
|
439
|
-
})) : (x.currentNode = l.current, w = s === "rtl" ? de(x) : x.firstChild(), w && (V(w),
|
|
440
|
-
containingElement:
|
|
438
|
+
r === "cell" && s === "ltr" ? (V(l.current), W(l.current, {
|
|
439
|
+
containingElement: U(l.current)
|
|
440
|
+
})) : (x.currentNode = l.current, w = s === "rtl" ? de(x) : x.firstChild(), w && (V(w), W(w, {
|
|
441
|
+
containingElement: U(l.current)
|
|
441
442
|
})));
|
|
442
443
|
}
|
|
443
444
|
break;
|
|
@@ -2016,7 +2017,7 @@ const Rl = /* @__PURE__ */ ge("column", (e, t, l) => {
|
|
|
2016
2017
|
]
|
|
2017
2018
|
]
|
|
2018
2019
|
}, v.children));
|
|
2019
|
-
}), Il = /* @__PURE__ */ G(null),
|
|
2020
|
+
}), Il = /* @__PURE__ */ G(null), Ro = /* @__PURE__ */ he("tablebody", (e, t) => {
|
|
2020
2021
|
let l = C(R), { isVirtualized: o } = C(F), n = l.collection, { CollectionBranch: r } = C(F), { dragAndDropHooks: i, dropState: p } = C(L), s = !!(i != null && i.useDroppableCollectionState) && !(p != null && p.isDisabled);
|
|
2021
2022
|
var f;
|
|
2022
2023
|
let a = s && !!p && ((f = p.isDropTarget({
|
|
@@ -2322,54 +2323,54 @@ ge("loader", function(t, l, o) {
|
|
|
2322
2323
|
}, c.children)));
|
|
2323
2324
|
});
|
|
2324
2325
|
/**
|
|
2325
|
-
* @license lucide-react v0.
|
|
2326
|
+
* @license lucide-react v0.525.0 - ISC
|
|
2326
2327
|
*
|
|
2327
2328
|
* This source code is licensed under the ISC license.
|
|
2328
2329
|
* See the LICENSE file in the root directory of this source tree.
|
|
2329
2330
|
*/
|
|
2330
|
-
const Wl =
|
|
2331
|
+
const Wl = [
|
|
2331
2332
|
["path", { d: "m3 16 4 4 4-4", key: "1co6wj" }],
|
|
2332
2333
|
["path", { d: "M7 20V4", key: "1yoxec" }],
|
|
2333
2334
|
["path", { d: "M11 4h4", key: "6d7r33" }],
|
|
2334
2335
|
["path", { d: "M11 8h7", key: "djye34" }],
|
|
2335
2336
|
["path", { d: "M11 12h10", key: "1438ji" }]
|
|
2336
|
-
]);
|
|
2337
|
+
], Ll = ye("arrow-down-narrow-wide", Wl);
|
|
2337
2338
|
/**
|
|
2338
|
-
* @license lucide-react v0.
|
|
2339
|
+
* @license lucide-react v0.525.0 - ISC
|
|
2339
2340
|
*
|
|
2340
2341
|
* This source code is licensed under the ISC license.
|
|
2341
2342
|
* See the LICENSE file in the root directory of this source tree.
|
|
2342
2343
|
*/
|
|
2343
|
-
const
|
|
2344
|
+
const Gl = [
|
|
2344
2345
|
["path", { d: "m3 8 4-4 4 4", key: "11wl7u" }],
|
|
2345
2346
|
["path", { d: "M7 4v16", key: "1glfcx" }],
|
|
2346
2347
|
["path", { d: "M11 12h10", key: "1438ji" }],
|
|
2347
2348
|
["path", { d: "M11 16h7", key: "uosisv" }],
|
|
2348
2349
|
["path", { d: "M11 20h4", key: "1krc32" }]
|
|
2349
|
-
]);
|
|
2350
|
+
], Yl = ye("arrow-up-wide-narrow", Gl);
|
|
2350
2351
|
/**
|
|
2351
|
-
* @license lucide-react v0.
|
|
2352
|
+
* @license lucide-react v0.525.0 - ISC
|
|
2352
2353
|
*
|
|
2353
2354
|
* This source code is licensed under the ISC license.
|
|
2354
2355
|
* See the LICENSE file in the root directory of this source tree.
|
|
2355
2356
|
*/
|
|
2356
|
-
const
|
|
2357
|
+
const ql = [
|
|
2357
2358
|
["circle", { cx: "9", cy: "12", r: "1", key: "1vctgf" }],
|
|
2358
2359
|
["circle", { cx: "9", cy: "5", r: "1", key: "hp0tcf" }],
|
|
2359
2360
|
["circle", { cx: "9", cy: "19", r: "1", key: "fkjjf6" }],
|
|
2360
2361
|
["circle", { cx: "15", cy: "12", r: "1", key: "1tmaij" }],
|
|
2361
2362
|
["circle", { cx: "15", cy: "5", r: "1", key: "19l28e" }],
|
|
2362
2363
|
["circle", { cx: "15", cy: "19", r: "1", key: "f4zoj3" }]
|
|
2363
|
-
]),
|
|
2364
|
-
table:
|
|
2365
|
-
tableHeader:
|
|
2366
|
-
column:
|
|
2367
|
-
row:
|
|
2368
|
-
cell:
|
|
2369
|
-
narrow:
|
|
2370
|
-
medium:
|
|
2371
|
-
striped:
|
|
2372
|
-
},
|
|
2364
|
+
], Zl = ye("grip-vertical", ql), Jl = "_table_1275v_4", Xl = "_tableHeader_1275v_10", Ql = "_column_1275v_14", _l = "_row_1275v_26", eo = "_cell_1275v_35", to = "_narrow_1275v_47", lo = "_medium_1275v_60", oo = "_striped_1275v_70", j = {
|
|
2365
|
+
table: Jl,
|
|
2366
|
+
tableHeader: Xl,
|
|
2367
|
+
column: Ql,
|
|
2368
|
+
row: _l,
|
|
2369
|
+
cell: eo,
|
|
2370
|
+
narrow: to,
|
|
2371
|
+
medium: lo,
|
|
2372
|
+
striped: oo
|
|
2373
|
+
}, Io = ({
|
|
2373
2374
|
narrow: e = !1,
|
|
2374
2375
|
size: t = "large",
|
|
2375
2376
|
striped: l = !1,
|
|
@@ -2385,7 +2386,7 @@ const Gl = ye("GripVertical", [
|
|
|
2385
2386
|
}),
|
|
2386
2387
|
...n
|
|
2387
2388
|
}
|
|
2388
|
-
),
|
|
2389
|
+
), Vo = ({
|
|
2389
2390
|
columns: e,
|
|
2390
2391
|
children: t
|
|
2391
2392
|
}) => {
|
|
@@ -2395,7 +2396,7 @@ const Gl = ye("GripVertical", [
|
|
|
2395
2396
|
l === "toggle" && /* @__PURE__ */ S(Se, { width: 50, children: o === "multiple" && /* @__PURE__ */ S(Re, { slot: "selection" }) }),
|
|
2396
2397
|
/* @__PURE__ */ S(X, { items: e, children: t })
|
|
2397
2398
|
] });
|
|
2398
|
-
},
|
|
2399
|
+
}, Ho = ({
|
|
2399
2400
|
id: e,
|
|
2400
2401
|
columns: t,
|
|
2401
2402
|
children: l,
|
|
@@ -2409,7 +2410,7 @@ const Gl = ye("GripVertical", [
|
|
|
2409
2410
|
className: Ie(j.row),
|
|
2410
2411
|
...o,
|
|
2411
2412
|
children: [
|
|
2412
|
-
r && /* @__PURE__ */ S(Be, { children: /* @__PURE__ */ S(Pt, { slot: "drag", children: /* @__PURE__ */ S(
|
|
2413
|
+
r && /* @__PURE__ */ S(Be, { children: /* @__PURE__ */ S(Pt, { slot: "drag", children: /* @__PURE__ */ S(Zl, { size: 20 }) }) }),
|
|
2413
2414
|
n === "toggle" && /* @__PURE__ */ S(Be, { children: /* @__PURE__ */ S(Re, { slot: "selection" }) }),
|
|
2414
2415
|
/* @__PURE__ */ S(X, { items: t, children: l })
|
|
2415
2416
|
]
|
|
@@ -2427,7 +2428,7 @@ const Gl = ye("GripVertical", [
|
|
|
2427
2428
|
{
|
|
2428
2429
|
"aria-hidden": "true",
|
|
2429
2430
|
className: "sort-indicator",
|
|
2430
|
-
children: o === "ascending" ? /* @__PURE__ */ S(
|
|
2431
|
+
children: o === "ascending" ? /* @__PURE__ */ S(Yl, { size: 20 }) : /* @__PURE__ */ S(Ll, { size: 20 })
|
|
2431
2432
|
}
|
|
2432
2433
|
)
|
|
2433
2434
|
] })
|
|
@@ -2440,10 +2441,10 @@ const Gl = ye("GripVertical", [
|
|
|
2440
2441
|
}
|
|
2441
2442
|
);
|
|
2442
2443
|
export {
|
|
2443
|
-
|
|
2444
|
+
Ro as $,
|
|
2444
2445
|
Se as C,
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2446
|
+
Ho as R,
|
|
2447
|
+
Io as T,
|
|
2448
|
+
Vo as a,
|
|
2448
2449
|
Be as b
|
|
2449
2450
|
};
|