@esri/calcite-components 6.0.0-next.44 → 6.0.0-next.46
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/dist/cdn/{IGTMQVDK.js → 2GWNPJCU.js} +1 -1
- package/dist/cdn/{XSE3TDD3.js → 2KWXVHHR.js} +1 -1
- package/dist/cdn/{INJWMU4Y.js → 3RH67CDR.js} +1 -1
- package/dist/cdn/{TZLURK72.js → 4MGMV2CD.js} +1 -1
- package/dist/cdn/{KJNWG5UB.js → 536Q3W3O.js} +1 -1
- package/dist/cdn/{VVRLQ467.js → 54B35BBQ.js} +1 -1
- package/dist/cdn/{GI7JLGAU.js → 54PEVOT6.js} +1 -1
- package/dist/cdn/{ZFXALOEB.js → 55WOTGCY.js} +1 -1
- package/dist/cdn/{DLRMWM6P.js → 57HPNYPL.js} +1 -1
- package/dist/cdn/{NSOVD5XG.js → 5DYLNIMS.js} +1 -1
- package/dist/cdn/5KXWCZAS.js +4 -0
- package/dist/cdn/{FAFI26X3.js → 5UQFY5XR.js} +1 -1
- package/dist/cdn/{256NAX7A.js → 66SOCFAT.js} +1 -1
- package/dist/cdn/{GPBC4W3T.js → 6AKTAHUS.js} +1 -1
- package/dist/cdn/{DN4JRA25.js → 6LBEX6AB.js} +1 -1
- package/dist/cdn/{L4OVRKCG.js → 6Q7QR4UU.js} +1 -1
- package/dist/cdn/{YZCY3HD3.js → 6WE4QYUX.js} +1 -1
- package/dist/cdn/{RXGBFGWO.js → 7BC364WX.js} +1 -1
- package/dist/cdn/{VIY7MYNH.js → 7Y4TF3AX.js} +1 -1
- package/dist/cdn/{RZCW3AF4.js → AM4VPYFA.js} +1 -1
- package/dist/cdn/{OPBPOH4Y.js → ASXRPCJB.js} +1 -1
- package/dist/cdn/{IMOXJJUA.js → AU5DLGII.js} +1 -1
- package/dist/cdn/{FD6ZZOIV.js → AZQPYZKF.js} +1 -1
- package/dist/cdn/{QZYDF7E4.js → B2XYWKFW.js} +1 -1
- package/dist/cdn/{AQTCLZB2.js → BEJMUC3W.js} +1 -1
- package/dist/cdn/{QJ5LD2RM.js → BEMPSWZH.js} +1 -1
- package/dist/cdn/{S5M22SGB.js → BXSGEW7M.js} +1 -1
- package/dist/cdn/{VCEHM5S3.js → C44U3WON.js} +1 -1
- package/dist/cdn/{V7BXBYOL.js → C72PAGEU.js} +1 -1
- package/dist/cdn/{WMZD2OGF.js → CIMM5EHR.js} +1 -1
- package/dist/cdn/{NSDHAJOD.js → CO5B7PPE.js} +1 -1
- package/dist/cdn/{2NA73NFL.js → CTB7NMOP.js} +1 -1
- package/dist/cdn/{OXRNS2ZQ.js → DIUDA6T3.js} +1 -1
- package/dist/cdn/{X3KNG44J.js → DJOEMGW5.js} +1 -1
- package/dist/cdn/{MFUKWSPI.js → E4JAEOLX.js} +1 -1
- package/dist/cdn/{46X4NELN.js → E4VTC53J.js} +1 -1
- package/dist/cdn/{P3EG6N6S.js → EED4H4ZJ.js} +1 -1
- package/dist/cdn/{3KCRJGPM.js → EKFFSBPC.js} +1 -1
- package/dist/cdn/{BMGTK5DH.js → EQPAUP6B.js} +1 -1
- package/dist/cdn/ET5BRIOF.js +2 -0
- package/dist/cdn/{75CRB24S.js → F66DZIMH.js} +1 -1
- package/dist/cdn/{R2DHIQL7.js → FAXIOVEV.js} +1 -1
- package/dist/cdn/{34HD74N6.js → FJCH3FFF.js} +1 -1
- package/dist/cdn/{7FI7BSNU.js → FSK7PPUB.js} +1 -1
- package/dist/cdn/{RW7ME4RZ.js → FTJK6UTW.js} +1 -1
- package/dist/cdn/{OGQ6H7IS.js → G5HQCWN7.js} +1 -1
- package/dist/cdn/{QWNCBVS2.js → G6CL2TZP.js} +1 -1
- package/dist/cdn/{5RLSW7TE.js → GBHV7UB7.js} +1 -1
- package/dist/cdn/{L4EOVAX6.js → GMFI7KCV.js} +1 -1
- package/dist/cdn/{IW6ZHSI4.js → GZ2WKK2P.js} +1 -1
- package/dist/cdn/{SDH4L2N6.js → H66QM7TN.js} +1 -1
- package/dist/cdn/{6QXUNNPS.js → HP7XESXK.js} +1 -1
- package/dist/cdn/{CXUNMVXE.js → I267WTBZ.js} +1 -1
- package/dist/cdn/{U2JHIC4H.js → IGECXJY5.js} +1 -1
- package/dist/cdn/{4L2TRHJ4.js → IIOT34VO.js} +1 -1
- package/dist/cdn/{XTS4ZAKR.js → IK4CWSF6.js} +1 -1
- package/dist/cdn/{IRBOQGYK.js → IQLO5XRY.js} +1 -1
- package/dist/cdn/{VMMXHD5Y.js → IWVHGBUR.js} +1 -1
- package/dist/cdn/{MAPOS42G.js → J22KIVYJ.js} +1 -1
- package/dist/cdn/{LQRS3CCQ.js → JB7WHUVP.js} +1 -1
- package/dist/cdn/{LUPHBIHH.js → JMWJKQE3.js} +1 -1
- package/dist/cdn/{NWWFCRUH.js → JPHW77RB.js} +1 -1
- package/dist/cdn/{23ERH32S.js → JPQSSQMW.js} +1 -1
- package/dist/cdn/{AFIW5R7W.js → JWIWU772.js} +1 -1
- package/dist/cdn/{E4L6XD2B.js → JWRYVJUD.js} +1 -1
- package/dist/cdn/{2RQDJKF2.js → KIXUBI7A.js} +1 -1
- package/dist/cdn/{WPJYPVCM.js → KR5QRAZM.js} +1 -1
- package/dist/cdn/{MYPO7ZRJ.js → KYY36XYF.js} +1 -1
- package/dist/cdn/{HXAPEFTL.js → LI2FQWYL.js} +1 -1
- package/dist/cdn/{FMEXYEAL.js → LVWYQI77.js} +1 -1
- package/dist/cdn/{IKILTZTV.js → LZQMZ4TH.js} +1 -1
- package/dist/cdn/{QMJLRNHV.js → M246Q4H5.js} +1 -1
- package/dist/cdn/{IECC7NAD.js → M5M3XMFB.js} +1 -1
- package/dist/cdn/{2EXLOPIK.js → MGE7JFNC.js} +1 -1
- package/dist/cdn/{F7QIUMTH.js → MIF5NSHB.js} +1 -1
- package/dist/cdn/{JKWBC6ZA.js → MJAK65JX.js} +1 -1
- package/dist/cdn/{E4RURPUI.js → MYDKINOW.js} +1 -1
- package/dist/cdn/{TUPSCQPO.js → MYJTLWCJ.js} +1 -1
- package/dist/cdn/{BVG5S4EW.js → NDBTQ5YZ.js} +1 -1
- package/dist/cdn/{UMCRRTWX.js → NGUD2GI2.js} +1 -1
- package/dist/cdn/{UV6PHXJH.js → NIHGJTFV.js} +1 -1
- package/dist/cdn/{UJTQYOA6.js → NJU4CJ3L.js} +1 -1
- package/dist/cdn/{HSKO5BRO.js → NMC27PMN.js} +1 -1
- package/dist/cdn/{ZK63JHY6.js → NMXY6OTC.js} +1 -1
- package/dist/cdn/{L574K2MA.js → NSQK4DWU.js} +1 -1
- package/dist/cdn/{L2V33GKS.js → NTFEJXLW.js} +1 -1
- package/dist/cdn/{H23UMTBG.js → O4JIA7J3.js} +1 -1
- package/dist/cdn/{AMM2HEHX.js → ODAW3SA7.js} +1 -1
- package/dist/cdn/{QTUAX3RV.js → OTYTHQIX.js} +1 -1
- package/dist/cdn/{V46XCL3W.js → P2UJWGW4.js} +1 -1
- package/dist/cdn/{PHYLQ32K.js → PJDRQM5E.js} +1 -1
- package/dist/cdn/{OBC5DBAU.js → POONBKJM.js} +1 -1
- package/dist/cdn/{2G3RQES4.js → QCX2TEX2.js} +1 -1
- package/dist/cdn/{OHTBJHAX.js → QGJSQ5BP.js} +1 -1
- package/dist/cdn/{AYWX6LCM.js → QHOUOQ7P.js} +1 -1
- package/dist/cdn/{IAI6MFBP.js → QOMOSGUU.js} +1 -1
- package/dist/cdn/{MORNVXLT.js → QSTP2DBA.js} +1 -1
- package/dist/cdn/{2YZOC3HZ.js → R2Z7T5ZQ.js} +1 -1
- package/dist/cdn/{GUDSK7HH.js → R4REM7OQ.js} +1 -1
- package/dist/cdn/{EHJW3CZ7.js → RAL4RKII.js} +1 -1
- package/dist/cdn/{5XFOJ55S.js → RJF6IZCZ.js} +1 -1
- package/dist/cdn/{LSKZPNQR.js → RS35OTCN.js} +1 -1
- package/dist/cdn/{BREQPYTM.js → RUNPPOC4.js} +1 -1
- package/dist/cdn/{2R3HDJ2D.js → RUNVW545.js} +1 -1
- package/dist/cdn/{WP36KDWI.js → RXPYPA6O.js} +1 -1
- package/dist/cdn/{MFJV3LYW.js → SEE32DST.js} +1 -1
- package/dist/cdn/{CNNZUX2A.js → SM2B5B6A.js} +1 -1
- package/dist/cdn/{XLA7PZAV.js → SR5TE6K2.js} +1 -1
- package/dist/cdn/{TJHJPQPD.js → SUCUYWQ7.js} +1 -1
- package/dist/cdn/{QIXITNJ7.js → SUSGEJSH.js} +1 -1
- package/dist/cdn/{XZDNBDTR.js → TAAPGIQQ.js} +1 -1
- package/dist/cdn/{5OXILMWZ.js → THHKY4JC.js} +1 -1
- package/dist/cdn/{AFZJFTCZ.js → TKL65RYS.js} +1 -1
- package/dist/cdn/{RNARXDRJ.js → TPKYOVSE.js} +1 -1
- package/dist/cdn/{S6LBSWOH.js → TYQDJ37Y.js} +1 -1
- package/dist/cdn/{XD46SAFF.js → U2TTDPZH.js} +1 -1
- package/dist/cdn/{LEONWKDU.js → UCY2RQLZ.js} +1 -1
- package/dist/cdn/{EKWIUYAV.js → ULQAU2WE.js} +1 -1
- package/dist/cdn/{OUVO425W.js → UQ47HQRD.js} +1 -1
- package/dist/cdn/{EYERBLBJ.js → URG7T4ER.js} +1 -1
- package/dist/cdn/{NZRDB6EH.js → URSEMICR.js} +1 -1
- package/dist/cdn/{B6AOZZ67.js → USBY7JLW.js} +1 -1
- package/dist/cdn/{6JG7OYZQ.js → UTJ56NOT.js} +1 -1
- package/dist/cdn/{5QZ5EKI3.js → UTUIW3MD.js} +1 -1
- package/dist/cdn/{545QEWV4.js → UUTZWRQT.js} +1 -1
- package/dist/cdn/{WUSHFM67.js → UXX5OZY4.js} +1 -1
- package/dist/cdn/{F4H2MOX5.js → VSU7RAOV.js} +1 -1
- package/dist/cdn/{FQF5KOVN.js → VW6EBA5C.js} +1 -1
- package/dist/cdn/{ACSUJHLA.js → W7XV5RWX.js} +1 -1
- package/dist/cdn/{C64XEFVJ.js → WATCY47J.js} +1 -1
- package/dist/cdn/{YHDQCHQT.js → WUI7B3LN.js} +1 -1
- package/dist/cdn/{XDKITAXI.js → X3C3OD2R.js} +1 -1
- package/dist/cdn/{5ATZXVE7.js → XBLARWUV.js} +1 -1
- package/dist/cdn/{VYGNCPEL.js → XC67A255.js} +1 -1
- package/dist/cdn/{LATU7X2M.js → YE4HKJGD.js} +1 -1
- package/dist/cdn/{N57OLIAM.js → YSQHGDQV.js} +1 -1
- package/dist/cdn/{R2PKZGY4.js → ZITMW4EK.js} +1 -1
- package/dist/cdn/{V5XQURWN.js → ZKZOZFRF.js} +1 -1
- package/dist/cdn/{WEIBRP3F.js → ZOMN64VJ.js} +1 -1
- package/dist/cdn/{CC2ZAZ5K.js → ZSDVPK3W.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/runtime.js +4 -4
- package/dist/chunks/useTime.js +1 -3
- package/dist/components/calcite-accordion/customElement.js +3 -1
- package/dist/components/calcite-accordion-item/customElement.js +3 -1
- package/dist/components/calcite-action-bar/customElement.js +6 -1
- package/dist/components/calcite-action-group/customElement.d.ts +0 -3
- package/dist/components/calcite-action-group/customElement.js +4 -1
- package/dist/components/calcite-action-menu/customElement.d.ts +40 -6
- package/dist/components/calcite-autocomplete-item-group/customElement.js +3 -1
- package/dist/components/calcite-block-group/customElement.js +25 -5
- package/dist/components/calcite-color-picker/utils.d.ts +2 -2
- package/dist/components/calcite-color-picker-hex-input/customElement.d.ts +21 -3
- package/dist/components/calcite-combobox/customElement.js +10 -3
- package/dist/components/calcite-combobox/types.d.ts +1 -0
- package/dist/components/calcite-combobox-item/customElement.d.ts +5 -1
- package/dist/components/calcite-combobox-item-group/customElement.d.ts +5 -1
- package/dist/components/calcite-combobox-item-group/customElement.js +6 -2
- package/dist/components/calcite-dialog/customElement.d.ts +1 -4
- package/dist/components/calcite-dialog/customElement.js +11 -5
- package/dist/components/calcite-dropdown/customElement.js +4 -1
- package/dist/components/calcite-dropdown-group/customElement.js +7 -2
- package/dist/components/calcite-dropdown-item/customElement.js +3 -1
- package/dist/components/calcite-flow/customElement.js +4 -1
- package/dist/components/calcite-graph/customElement.d.ts +22 -3
- package/dist/components/calcite-graph/types.d.ts +7 -7
- package/dist/components/calcite-icon/types.d.ts +4 -4
- package/dist/components/calcite-inline-editable/customElement.js +7 -2
- package/dist/components/calcite-input-date-picker/customElement.js +4 -1
- package/dist/components/calcite-input-time-picker/customElement.js +4 -1
- package/dist/components/calcite-input-time-zone/customElement.js +4 -1
- package/dist/components/calcite-list/customElement.js +16 -2
- package/dist/components/calcite-list-item/customElement.js +9 -2
- package/dist/components/calcite-list-item-group/customElement.js +3 -1
- package/dist/components/calcite-loader/customElement.d.ts +0 -3
- package/dist/components/calcite-menu/customElement.d.ts +3 -3
- package/dist/components/calcite-menu-item/customElement.js +4 -1
- package/dist/components/calcite-meter/customElement.d.ts +0 -3
- package/dist/components/calcite-navigation/customElement.js +13 -1
- package/dist/components/calcite-panel/customElement.js +4 -1
- package/dist/components/calcite-sheet/customElement.d.ts +0 -3
- package/dist/components/calcite-sheet/customElement.js +25 -6
- package/dist/components/calcite-shell/customElement.js +4 -1
- package/dist/components/calcite-shell-panel/customElement.d.ts +1 -10
- package/dist/components/calcite-shell-panel/customElement.js +19 -5
- package/dist/components/calcite-slider/customElement.js +14 -4
- package/dist/components/calcite-sort-handle/customElement.d.ts +81 -14
- package/dist/components/calcite-sort-handle/types.d.ts +14 -3
- package/dist/components/calcite-split-button/customElement.js +4 -1
- package/dist/components/calcite-stack/customElement.d.ts +12 -2
- package/dist/components/calcite-stepper/customElement.js +4 -1
- package/dist/components/calcite-stepper-item/customElement.js +3 -1
- package/dist/components/calcite-tab-nav/customElement.js +3 -1
- package/dist/components/calcite-tab-title/customElement.js +6 -2
- package/dist/components/calcite-table/customElement.js +3 -1
- package/dist/components/calcite-table-row/customElement.js +3 -1
- package/dist/components/calcite-text/customElement.d.ts +3 -3
- package/dist/components/calcite-text-area/customElement.js +3 -1
- package/dist/components/calcite-time-picker/customElement.d.ts +0 -3
- package/dist/components/calcite-tree-item/customElement.js +3 -1
- package/dist/components/types.d.ts +3 -3
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +2 -9
- package/dist/loader.js +4 -4
- package/dist/types/lumina.d.ts +3 -14
- package/dist/types/preact.d.ts +3 -16
- package/dist/types/react.d.ts +3 -18
- package/dist/types/stencil.d.ts +3 -14
- package/dist/utils/config.d.ts +16 -16
- package/dist/utils/date.d.ts +4 -0
- package/dist/utils/floating-ui.d.ts +7 -7
- package/dist/utils/locale.d.ts +3 -3
- package/dist/utils/time.d.ts +1 -3
- package/package.json +7 -7
- package/dist/cdn/GYORUOJJ.js +0 -4
- package/dist/cdn/RRBGCYLX.js +0 -2
- package/dist/components/calcite-date-picker-day/customElement.d.ts +0 -77
- package/dist/components/calcite-date-picker-day/index.d.ts +0 -1
- package/dist/components/calcite-date-picker-month/customElement.d.ts +0 -40
- package/dist/components/calcite-date-picker-month/index.d.ts +0 -1
- package/dist/controllers/useTime.d.ts +0 -136
- package/dist/utils/dom.d.ts +0 -19
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
export { assetPathChanged } from "./runtime.js";
|
|
2
|
+
export { setAssetPath, getAssetPath } from "./runtime.js";
|
|
2
3
|
|
|
3
4
|
// ⚠️ Please reach out to Franco (or Ben if he's out) before editing this file ⚠️
|
|
4
5
|
// This file follows the same setup as `stencil-ds-output-targets` (https://github.com/ionic-team/stencil-ds-output-targets/blob/main/packages/example-project/component-library/src/index.ts).
|
|
5
|
-
|
|
6
|
+
/*
|
|
6
7
|
* Place in this file any utility functions you wish to expose for the consumers
|
|
7
8
|
* of your package
|
|
8
9
|
*/
|
|
@@ -68,8 +69,6 @@ import type { Combobox } from "./components/calcite-combobox/customElement.js";
|
|
|
68
69
|
import type { ComboboxItem } from "./components/calcite-combobox-item/customElement.js";
|
|
69
70
|
import type { ComboboxItemGroup } from "./components/calcite-combobox-item-group/customElement.js";
|
|
70
71
|
import type { DatePicker } from "./components/calcite-date-picker/customElement.js";
|
|
71
|
-
import type { DatePickerDay } from "./components/calcite-date-picker-day/customElement.js";
|
|
72
|
-
import type { DatePickerMonth } from "./components/calcite-date-picker-month/customElement.js";
|
|
73
72
|
import type { Dialog } from "./components/calcite-dialog/customElement.js";
|
|
74
73
|
import type { Dropdown } from "./components/calcite-dropdown/customElement.js";
|
|
75
74
|
import type { DropdownGroup } from "./components/calcite-dropdown-group/customElement.js";
|
|
@@ -512,8 +511,6 @@ declare global {
|
|
|
512
511
|
"calcite-combobox-item": ComboboxItem;
|
|
513
512
|
"calcite-combobox-item-group": ComboboxItemGroup;
|
|
514
513
|
"calcite-date-picker": DatePicker;
|
|
515
|
-
"calcite-date-picker-day": DatePickerDay;
|
|
516
|
-
"calcite-date-picker-month": DatePickerMonth;
|
|
517
514
|
"calcite-dialog": Dialog;
|
|
518
515
|
"calcite-dropdown": Dropdown;
|
|
519
516
|
"calcite-dropdown-group": DropdownGroup;
|
|
@@ -666,10 +663,6 @@ declare global {
|
|
|
666
663
|
type HTMLCalciteDatePickerElementEventMap = DatePicker["@eventTypes"];
|
|
667
664
|
type HTMLCalciteDatePickerElement = DatePicker;
|
|
668
665
|
|
|
669
|
-
type HTMLCalciteDatePickerDayElement = DatePickerDay;
|
|
670
|
-
|
|
671
|
-
type HTMLCalciteDatePickerMonthElement = DatePickerMonth;
|
|
672
|
-
|
|
673
666
|
type HTMLCalciteDialogElementEventMap = Dialog["@eventTypes"];
|
|
674
667
|
type HTMLCalciteDialogElement = Dialog;
|
|
675
668
|
|
package/dist/loader.js
CHANGED
|
@@ -33,7 +33,7 @@ const defineCustomElements = makeDefineCustomElements(runtime, {
|
|
|
33
33
|
"calcite-date-picker-day": [() => import("./components/calcite-date-picker-day/customElement.js"), "active,currentMonth,dateTimeFormat:,day,disabled,endOfRange,highlighted,range,rangeHover,scale,selected,startOfRange,value:;setFocus"],
|
|
34
34
|
"calcite-date-picker-month": [() => import("./components/calcite-date-picker-month/customElement.js"), "activeDate:,calendars,dateTimeFormat:,endDate:,headingLevel,hoverRange:,layout,localeData:,max:,messages:,min:,monthStyle,range,scale,selectedDate:,startDate:"],
|
|
35
35
|
"calcite-date-picker-month-header": [() => import("./components/calcite-date-picker-month-header/customElement.js"), "activeDate:,headingLevel,localeData:,max:,messages:,min:,monthStyle,position,scale,selectedDate:"],
|
|
36
|
-
"calcite-dialog": [() => import("./components/calcite-dialog/customElement.js"), "aria:,beforeClose:,closeDisabled,description,dragEnabled,embedded,escapeDisabled,focusTrapDisabled,focusTrapOptions:,fullscreenDisabled,heading,headingLevel,icon,iconFlipRtl,kind,loading,menuOpen,messageOverrides:,modal,open,outsideCloseDisabled,overlayPositioning,placement,resizable,scale,topLayerDisabled,width
|
|
36
|
+
"calcite-dialog": [() => import("./components/calcite-dialog/customElement.js"), "aria:,beforeClose:,closeDisabled,description,dragEnabled,embedded,escapeDisabled,focusTrapDisabled,focusTrapOptions:,fullscreenDisabled,heading,headingLevel,icon,iconFlipRtl,kind,loading,menuOpen,messageOverrides:,modal,open,outsideCloseDisabled,overlayPositioning,placement,resizable,scale,topLayerDisabled,width;scrollContentTo,setFocus,updateFocusTrapElements,updateSize"],
|
|
37
37
|
"calcite-dropdown": [() => import("./components/calcite-dropdown/customElement.js"), "closeOnSelectDisabled,disabled,flipPlacements:,maxItems,offsetDistance,offsetSkidding,open,overlayPositioning,placement,referenceElement,scale,selectedItems:,topLayerDisabled,type,width,widthScale;reposition,setFocus"],
|
|
38
38
|
"calcite-dropdown-group": [() => import("./components/calcite-dropdown-group/customElement.js"), "groupTitle,position,scale,selectionMode"],
|
|
39
39
|
"calcite-dropdown-item": [() => import("./components/calcite-dropdown-item/customElement.js"), "disabled,href,iconEnd,iconFlipRtl,iconStart,label,rel,scale,selected,selectionMode,target;activateItem,setFocus"],
|
|
@@ -56,10 +56,10 @@ const defineCustomElements = makeDefineCustomElements(runtime, {
|
|
|
56
56
|
"calcite-list": [() => import("./components/calcite-list/customElement.js"), "canPull:,canPut:,disabled,displayMode,dragEnabled,filteredData:,filteredItems:,filterEnabled,filterLabel,filterPlaceholder,filterPredicate:,filterProps:,filterText,group,interactionMode,label,loading,messageOverrides:,numberingSystem,scale,selectedItems:,selectionAppearance,selectionMode,sortDisabled;setFocus;emitOrderChangeEvent"],
|
|
57
57
|
"calcite-list-item": [() => import("./components/calcite-list-item/customElement.js"), "active,addToItems:,bordered,closable,closed,description,disabled,displayMode,dragDisabled,dragHandle,expanded,filterHidden,iconEnd,iconFlipRtl,iconStart,interactionMode,label,messageOverrides:,metadata:,moveToItems:,open,scale,selected,selectionAppearance,selectionMode,setPosition,setSize,sortDisabled,sortHandleOpen,topLayerDisabled,unavailable,value;setFocus"],
|
|
58
58
|
"calcite-list-item-group": [() => import("./components/calcite-list-item-group/customElement.js"), "disabled,filterHidden,heading,scale"],
|
|
59
|
-
"calcite-loader": [() => import("./components/calcite-loader/customElement.js"), "complete,inline,label,
|
|
59
|
+
"calcite-loader": [() => import("./components/calcite-loader/customElement.js"), "complete,inline,label,scale,text,type,value"],
|
|
60
60
|
"calcite-menu": [() => import("./components/calcite-menu/customElement.js"), "label,layout,messageOverrides:,scale;setFocus"],
|
|
61
61
|
"calcite-menu-item": [() => import("./components/calcite-menu-item/customElement.js"), "active,breadcrumb,href,iconEnd,iconFlipRtl,iconStart,isTopLevelItem,label,layout,messageOverrides:,open,rel,scale,target,text,topLevelMenuLayout;setFocus"],
|
|
62
|
-
"calcite-meter": [() => import("./components/calcite-meter/customElement.js"), "appearance,disabled,fillType,form,groupSeparator,high,label,low,max,
|
|
62
|
+
"calcite-meter": [() => import("./components/calcite-meter/customElement.js"), "appearance,disabled,fillType,form,groupSeparator,high,label,low,max,min,name,numberingSystem,rangeLabels,rangeLabelType,scale,unitLabel,value,valueLabel,valueLabelType"],
|
|
63
63
|
"calcite-navigation": [() => import("./components/calcite-navigation/customElement.js"), "label,navigationAction,scale;setFocus"],
|
|
64
64
|
"calcite-navigation-logo": [() => import("./components/calcite-navigation-logo/customElement.js"), "active,description,heading,headingLevel,href,icon,iconFlipRtl,label,rel,scale,target,thumbnail;setFocus"],
|
|
65
65
|
"calcite-navigation-user": [() => import("./components/calcite-navigation-user/customElement.js"), "active,fullName,label,scale,textDisabled,thumbnail,userId,username;setFocus"],
|
|
@@ -77,7 +77,7 @@ const defineCustomElements = makeDefineCustomElements(runtime, {
|
|
|
77
77
|
"calcite-segmented-control": [() => import("./components/calcite-segmented-control/customElement.js"), "appearance,disabled,form,labelText,layout,messageOverrides:,name,required,scale,selectedItem:,status,validationIcon,validationMessage,validity:,value,width;setFocus", 1],
|
|
78
78
|
"calcite-segmented-control-item": [() => import("./components/calcite-segmented-control-item/customElement.js"), "appearance,checked,iconEnd,iconFlipRtl,iconStart,layout,scale,value"],
|
|
79
79
|
"calcite-select": [() => import("./components/calcite-select/customElement.js"), "disabled,form,label,labelText,messageOverrides:,name,required,scale,selectedOption:,status,validationIcon,validationMessage,validity:,value,width;setFocus", 1],
|
|
80
|
-
"calcite-sheet": [() => import("./components/calcite-sheet/customElement.js"), "beforeClose:,displayMode,embedded,escapeDisabled,focusTrapDisabled,focusTrapOptions:,height,heightScale,label,messageOverrides:,
|
|
80
|
+
"calcite-sheet": [() => import("./components/calcite-sheet/customElement.js"), "beforeClose:,displayMode,embedded,escapeDisabled,focusTrapDisabled,focusTrapOptions:,height,heightScale,label,messageOverrides:,modal,open,opened,outsideCloseDisabled,position,resizable,topLayerDisabled,width,widthScale;setFocus,updateFocusTrapElements,updateSize"],
|
|
81
81
|
"calcite-shell": [() => import("./components/calcite-shell/customElement.js"), "contentBehind"],
|
|
82
82
|
"calcite-shell-panel": [() => import("./components/calcite-shell-panel/customElement.js"), "collapsed,displayMode,height,heightScale,layout,messageOverrides:,position,resizable,shellSizingDataProvider:,width,widthScale;updateSize"],
|
|
83
83
|
"calcite-slider": [() => import("./components/calcite-slider/customElement.js"), "disabled,fillPlacement,form,groupSeparator,hasHistogram,histogram:,histogramStops:,label,labelFormatter:,labelHandles,labelText,labelTicks,max,maxLabel,maxValue,messageOverrides:,min,minLabel,minValue,mirrored,name,numberingSystem,pageStep,precise,required,scale,snap,status,step,ticks,validationIcon,validationMessage,validity:,value;setFocus", 1],
|
package/dist/types/lumina.d.ts
CHANGED
|
@@ -27,8 +27,6 @@ import type { Combobox } from "../components/calcite-combobox/customElement.js";
|
|
|
27
27
|
import type { ComboboxItem } from "../components/calcite-combobox-item/customElement.js";
|
|
28
28
|
import type { ComboboxItemGroup } from "../components/calcite-combobox-item-group/customElement.js";
|
|
29
29
|
import type { DatePicker } from "../components/calcite-date-picker/customElement.js";
|
|
30
|
-
import type { DatePickerDay } from "../components/calcite-date-picker-day/customElement.js";
|
|
31
|
-
import type { DatePickerMonth } from "../components/calcite-date-picker-month/customElement.js";
|
|
32
30
|
import type { Dialog } from "../components/calcite-dialog/customElement.js";
|
|
33
31
|
import type { Dropdown } from "../components/calcite-dropdown/customElement.js";
|
|
34
32
|
import type { DropdownGroup } from "../components/calcite-dropdown-group/customElement.js";
|
|
@@ -124,7 +122,6 @@ interface LuminaCalciteActionGroup extends Partial<Pick<ActionGroup, "actionMenu
|
|
|
124
122
|
oncalciteActionGroupChange?: EventHandler<ActionGroup["calciteActionGroupChange"]>;
|
|
125
123
|
oncalciteActionGroupCollapse?: EventHandler<ActionGroup["calciteActionGroupCollapse"]>;
|
|
126
124
|
oncalciteActionGroupExpand?: EventHandler<ActionGroup["calciteActionGroupExpand"]>;
|
|
127
|
-
oncalciteInternalActionGroupActionsChange?: EventHandler<ActionGroup["calciteInternalActionGroupActionsChange"]>;
|
|
128
125
|
}
|
|
129
126
|
|
|
130
127
|
interface LuminaCalciteActionMenu extends Required<Pick<ActionMenu, "label">>, Partial<Pick<ActionMenu, "appearance" | "expanded" | "flipPlacements" | "open" | "overlayPositioning" | "placement" | "scale" | "topLayerDisabled">>, h.JSX.HTMLAttributes<ActionMenu> {
|
|
@@ -248,13 +245,7 @@ interface LuminaCalciteDatePicker extends Partial<Pick<DatePicker, "activeDate"
|
|
|
248
245
|
oncalciteDatePickerRangeChange?: EventHandler<DatePicker["calciteDatePickerRangeChange"]>;
|
|
249
246
|
}
|
|
250
247
|
|
|
251
|
-
interface
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
interface LuminaCalciteDatePickerMonth extends Partial<Pick<DatePickerMonth, "activeDate" | "calendars" | "endDate" | "headingLevel" | "hoverRange" | "max" | "min" | "monthStyle" | "range" | "scale" | "selectedDate" | "startDate">>, h.JSX.HTMLAttributes<DatePickerMonth> {
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
interface LuminaCalciteDialog extends Partial<Pick<Dialog, "aria" | "beforeClose" | "closeDisabled" | "description" | "dragEnabled" | "escapeDisabled" | "focusTrapDisabled" | "focusTrapOptions" | "fullscreenDisabled" | "heading" | "headingLevel" | "icon" | "iconFlipRtl" | "kind" | "loading" | "menuOpen" | "messageOverrides" | "modal" | "open" | "outsideCloseDisabled" | "overlayPositioning" | "placement" | "resizable" | "scale" | "topLayerDisabled" | "width" | "widthScale">>, h.JSX.HTMLAttributes<Dialog> {
|
|
248
|
+
interface LuminaCalciteDialog extends Partial<Pick<Dialog, "aria" | "beforeClose" | "closeDisabled" | "description" | "dragEnabled" | "escapeDisabled" | "focusTrapDisabled" | "focusTrapOptions" | "fullscreenDisabled" | "heading" | "headingLevel" | "icon" | "iconFlipRtl" | "kind" | "loading" | "menuOpen" | "messageOverrides" | "modal" | "open" | "outsideCloseDisabled" | "overlayPositioning" | "placement" | "resizable" | "scale" | "topLayerDisabled" | "width">>, h.JSX.HTMLAttributes<Dialog> {
|
|
258
249
|
oncalciteDialogBeforeClose?: EventHandler<Dialog["calciteDialogBeforeClose"]>;
|
|
259
250
|
oncalciteDialogBeforeOpen?: EventHandler<Dialog["calciteDialogBeforeOpen"]>;
|
|
260
251
|
oncalciteDialogClose?: EventHandler<Dialog["calciteDialogClose"]>;
|
|
@@ -481,7 +472,7 @@ interface LuminaCalciteSheet extends Required<Pick<Sheet, "label">>, Partial<Pic
|
|
|
481
472
|
interface LuminaCalciteShell extends Partial<Pick<Shell, "contentBehind">>, h.JSX.HTMLAttributes<Shell> {
|
|
482
473
|
}
|
|
483
474
|
|
|
484
|
-
interface LuminaCalciteShellPanel extends Partial<Pick<ShellPanel, "collapsed" | "displayMode" | "height" | "heightScale" | "layout" | "messageOverrides" | "position" | "resizable" | "
|
|
475
|
+
interface LuminaCalciteShellPanel extends Partial<Pick<ShellPanel, "collapsed" | "displayMode" | "height" | "heightScale" | "layout" | "messageOverrides" | "position" | "resizable" | "width" | "widthScale">>, h.JSX.HTMLAttributes<ShellPanel> {
|
|
485
476
|
oncalciteShellPanelCollapse?: EventHandler<ShellPanel["calciteShellPanelCollapse"]>;
|
|
486
477
|
oncalciteShellPanelExpand?: EventHandler<ShellPanel["calciteShellPanelExpand"]>;
|
|
487
478
|
}
|
|
@@ -575,7 +566,7 @@ interface LuminaCalciteTileGroup extends Required<Pick<TileGroup, "label">>, Par
|
|
|
575
566
|
oncalciteTileGroupSelect?: EventHandler<TileGroup["calciteTileGroupSelect"]>;
|
|
576
567
|
}
|
|
577
568
|
|
|
578
|
-
interface LuminaCalciteTimePicker extends Partial<Pick<TimePicker, "hourFormat" | "messageOverrides" | "numberingSystem" | "scale" | "step" | "
|
|
569
|
+
interface LuminaCalciteTimePicker extends Partial<Pick<TimePicker, "hourFormat" | "messageOverrides" | "numberingSystem" | "scale" | "step" | "value">>, h.JSX.HTMLAttributes<TimePicker> {
|
|
579
570
|
oncalciteTimePickerChange?: EventHandler<TimePicker["calciteTimePickerChange"]>;
|
|
580
571
|
}
|
|
581
572
|
|
|
@@ -627,8 +618,6 @@ declare module "@arcgis/lumina" {
|
|
|
627
618
|
"calcite-combobox-item": LuminaCalciteComboboxItem;
|
|
628
619
|
"calcite-combobox-item-group": LuminaCalciteComboboxItemGroup;
|
|
629
620
|
"calcite-date-picker": LuminaCalciteDatePicker;
|
|
630
|
-
"calcite-date-picker-day": LuminaCalciteDatePickerDay;
|
|
631
|
-
"calcite-date-picker-month": LuminaCalciteDatePickerMonth;
|
|
632
621
|
"calcite-dialog": LuminaCalciteDialog;
|
|
633
622
|
"calcite-dropdown": LuminaCalciteDropdown;
|
|
634
623
|
"calcite-dropdown-group": LuminaCalciteDropdownGroup;
|
package/dist/types/preact.d.ts
CHANGED
|
@@ -27,8 +27,6 @@ import type { Combobox } from "../components/calcite-combobox/customElement.js";
|
|
|
27
27
|
import type { ComboboxItem } from "../components/calcite-combobox-item/customElement.js";
|
|
28
28
|
import type { ComboboxItemGroup } from "../components/calcite-combobox-item-group/customElement.js";
|
|
29
29
|
import type { DatePicker } from "../components/calcite-date-picker/customElement.js";
|
|
30
|
-
import type { DatePickerDay } from "../components/calcite-date-picker-day/customElement.js";
|
|
31
|
-
import type { DatePickerMonth } from "../components/calcite-date-picker-month/customElement.js";
|
|
32
30
|
import type { Dialog } from "../components/calcite-dialog/customElement.js";
|
|
33
31
|
import type { Dropdown } from "../components/calcite-dropdown/customElement.js";
|
|
34
32
|
import type { DropdownGroup } from "../components/calcite-dropdown-group/customElement.js";
|
|
@@ -125,7 +123,6 @@ interface PreactCalciteActionGroup extends Partial<Pick<ActionGroup, "actionMenu
|
|
|
125
123
|
oncalciteActionGroupChange?: EventHandler<ActionGroup["calciteActionGroupChange"]>;
|
|
126
124
|
oncalciteActionGroupCollapse?: EventHandler<ActionGroup["calciteActionGroupCollapse"]>;
|
|
127
125
|
oncalciteActionGroupExpand?: EventHandler<ActionGroup["calciteActionGroupExpand"]>;
|
|
128
|
-
oncalciteInternalActionGroupActionsChange?: EventHandler<ActionGroup["calciteInternalActionGroupActionsChange"]>;
|
|
129
126
|
}
|
|
130
127
|
|
|
131
128
|
interface PreactCalciteActionMenu extends Required<Pick<ActionMenu, "label">>, Partial<Pick<ActionMenu, "appearance" | "expanded" | "flipPlacements" | "open" | "overlayPositioning" | "placement" | "scale" | "topLayerDisabled">>, HTMLAttributes<ActionMenu> {
|
|
@@ -249,13 +246,7 @@ interface PreactCalciteDatePicker extends Partial<Pick<DatePicker, "activeDate"
|
|
|
249
246
|
oncalciteDatePickerRangeChange?: EventHandler<DatePicker["calciteDatePickerRangeChange"]>;
|
|
250
247
|
}
|
|
251
248
|
|
|
252
|
-
interface
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
interface PreactCalciteDatePickerMonth extends Partial<Pick<DatePickerMonth, "activeDate" | "calendars" | "endDate" | "headingLevel" | "hoverRange" | "max" | "min" | "monthStyle" | "range" | "scale" | "selectedDate" | "startDate">>, HTMLAttributes<DatePickerMonth> {
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
interface PreactCalciteDialog extends Partial<Pick<Dialog, "aria" | "beforeClose" | "closeDisabled" | "description" | "dragEnabled" | "escapeDisabled" | "focusTrapDisabled" | "focusTrapOptions" | "fullscreenDisabled" | "heading" | "headingLevel" | "icon" | "iconFlipRtl" | "kind" | "loading" | "menuOpen" | "messageOverrides" | "modal" | "open" | "outsideCloseDisabled" | "overlayPositioning" | "placement" | "resizable" | "scale" | "topLayerDisabled" | "width" | "widthScale">>, HTMLAttributes<Dialog> {
|
|
249
|
+
interface PreactCalciteDialog extends Partial<Pick<Dialog, "aria" | "beforeClose" | "closeDisabled" | "description" | "dragEnabled" | "escapeDisabled" | "focusTrapDisabled" | "focusTrapOptions" | "fullscreenDisabled" | "heading" | "headingLevel" | "icon" | "iconFlipRtl" | "kind" | "loading" | "menuOpen" | "messageOverrides" | "modal" | "open" | "outsideCloseDisabled" | "overlayPositioning" | "placement" | "resizable" | "scale" | "topLayerDisabled" | "width">>, HTMLAttributes<Dialog> {
|
|
259
250
|
oncalciteDialogBeforeClose?: EventHandler<Dialog["calciteDialogBeforeClose"]>;
|
|
260
251
|
oncalciteDialogBeforeOpen?: EventHandler<Dialog["calciteDialogBeforeOpen"]>;
|
|
261
252
|
oncalciteDialogClose?: EventHandler<Dialog["calciteDialogClose"]>;
|
|
@@ -482,7 +473,7 @@ interface PreactCalciteSheet extends Required<Pick<Sheet, "label">>, Partial<Pic
|
|
|
482
473
|
interface PreactCalciteShell extends Partial<Pick<Shell, "contentBehind">>, HTMLAttributes<Shell> {
|
|
483
474
|
}
|
|
484
475
|
|
|
485
|
-
interface PreactCalciteShellPanel extends Partial<Pick<ShellPanel, "collapsed" | "displayMode" | "height" | "heightScale" | "layout" | "messageOverrides" | "position" | "resizable" | "
|
|
476
|
+
interface PreactCalciteShellPanel extends Partial<Pick<ShellPanel, "collapsed" | "displayMode" | "height" | "heightScale" | "layout" | "messageOverrides" | "position" | "resizable" | "width" | "widthScale">>, HTMLAttributes<ShellPanel> {
|
|
486
477
|
oncalciteShellPanelCollapse?: EventHandler<ShellPanel["calciteShellPanelCollapse"]>;
|
|
487
478
|
oncalciteShellPanelExpand?: EventHandler<ShellPanel["calciteShellPanelExpand"]>;
|
|
488
479
|
}
|
|
@@ -576,7 +567,7 @@ interface PreactCalciteTileGroup extends Required<Pick<TileGroup, "label">>, Par
|
|
|
576
567
|
oncalciteTileGroupSelect?: EventHandler<TileGroup["calciteTileGroupSelect"]>;
|
|
577
568
|
}
|
|
578
569
|
|
|
579
|
-
interface PreactCalciteTimePicker extends Partial<Pick<TimePicker, "hourFormat" | "messageOverrides" | "numberingSystem" | "scale" | "step" | "
|
|
570
|
+
interface PreactCalciteTimePicker extends Partial<Pick<TimePicker, "hourFormat" | "messageOverrides" | "numberingSystem" | "scale" | "step" | "value">>, HTMLAttributes<TimePicker> {
|
|
580
571
|
oncalciteTimePickerChange?: EventHandler<TimePicker["calciteTimePickerChange"]>;
|
|
581
572
|
}
|
|
582
573
|
|
|
@@ -628,8 +619,6 @@ declare module 'preact' {
|
|
|
628
619
|
"calcite-combobox-item": PreactCalciteComboboxItem;
|
|
629
620
|
"calcite-combobox-item-group": PreactCalciteComboboxItemGroup;
|
|
630
621
|
"calcite-date-picker": PreactCalciteDatePicker;
|
|
631
|
-
"calcite-date-picker-day": PreactCalciteDatePickerDay;
|
|
632
|
-
"calcite-date-picker-month": PreactCalciteDatePickerMonth;
|
|
633
622
|
"calcite-dialog": PreactCalciteDialog;
|
|
634
623
|
"calcite-dropdown": PreactCalciteDropdown;
|
|
635
624
|
"calcite-dropdown-group": PreactCalciteDropdownGroup;
|
|
@@ -734,8 +723,6 @@ declare module 'preact' {
|
|
|
734
723
|
"calcite-combobox-item": PreactCalciteComboboxItem;
|
|
735
724
|
"calcite-combobox-item-group": PreactCalciteComboboxItemGroup;
|
|
736
725
|
"calcite-date-picker": PreactCalciteDatePicker;
|
|
737
|
-
"calcite-date-picker-day": PreactCalciteDatePickerDay;
|
|
738
|
-
"calcite-date-picker-month": PreactCalciteDatePickerMonth;
|
|
739
726
|
"calcite-dialog": PreactCalciteDialog;
|
|
740
727
|
"calcite-dropdown": PreactCalciteDropdown;
|
|
741
728
|
"calcite-dropdown-group": PreactCalciteDropdownGroup;
|
package/dist/types/react.d.ts
CHANGED
|
@@ -27,8 +27,6 @@ import type { Combobox } from "../components/calcite-combobox/customElement.js";
|
|
|
27
27
|
import type { ComboboxItem } from "../components/calcite-combobox-item/customElement.js";
|
|
28
28
|
import type { ComboboxItemGroup } from "../components/calcite-combobox-item-group/customElement.js";
|
|
29
29
|
import type { DatePicker } from "../components/calcite-date-picker/customElement.js";
|
|
30
|
-
import type { DatePickerDay } from "../components/calcite-date-picker-day/customElement.js";
|
|
31
|
-
import type { DatePickerMonth } from "../components/calcite-date-picker-month/customElement.js";
|
|
32
30
|
import type { Dialog } from "../components/calcite-dialog/customElement.js";
|
|
33
31
|
import type { Dropdown } from "../components/calcite-dropdown/customElement.js";
|
|
34
32
|
import type { DropdownGroup } from "../components/calcite-dropdown-group/customElement.js";
|
|
@@ -125,7 +123,6 @@ interface ReactCalciteActionGroup extends Partial<Pick<ActionGroup, "actionMenu"
|
|
|
125
123
|
oncalciteActionGroupChange?: EventHandler<ActionGroup["calciteActionGroupChange"]>;
|
|
126
124
|
oncalciteActionGroupCollapse?: EventHandler<ActionGroup["calciteActionGroupCollapse"]>;
|
|
127
125
|
oncalciteActionGroupExpand?: EventHandler<ActionGroup["calciteActionGroupExpand"]>;
|
|
128
|
-
oncalciteInternalActionGroupActionsChange?: EventHandler<ActionGroup["calciteInternalActionGroupActionsChange"]>;
|
|
129
126
|
}
|
|
130
127
|
|
|
131
128
|
interface ReactCalciteActionMenu extends Required<Pick<ActionMenu, "label">>, Partial<Pick<ActionMenu, "appearance" | "expanded" | "flipPlacements" | "open" | "overlayPositioning" | "placement" | "scale" | "topLayerDisabled">>, HTMLProps<ActionMenu> {
|
|
@@ -249,13 +246,7 @@ interface ReactCalciteDatePicker extends Partial<Pick<DatePicker, "activeDate" |
|
|
|
249
246
|
oncalciteDatePickerRangeChange?: EventHandler<DatePicker["calciteDatePickerRangeChange"]>;
|
|
250
247
|
}
|
|
251
248
|
|
|
252
|
-
interface
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
interface ReactCalciteDatePickerMonth extends Partial<Pick<DatePickerMonth, "activeDate" | "calendars" | "endDate" | "headingLevel" | "hoverRange" | "max" | "min" | "monthStyle" | "range" | "scale" | "selectedDate" | "startDate">>, HTMLProps<DatePickerMonth> {
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
interface ReactCalciteDialog extends Partial<Pick<Dialog, "aria" | "beforeClose" | "closeDisabled" | "description" | "dragEnabled" | "escapeDisabled" | "focusTrapDisabled" | "focusTrapOptions" | "fullscreenDisabled" | "heading" | "headingLevel" | "icon" | "iconFlipRtl" | "kind" | "loading" | "menuOpen" | "messageOverrides" | "modal" | "open" | "outsideCloseDisabled" | "overlayPositioning" | "placement" | "resizable" | "scale" | "topLayerDisabled" | "width" | "widthScale">>, HTMLProps<Dialog> {
|
|
249
|
+
interface ReactCalciteDialog extends Partial<Pick<Dialog, "aria" | "beforeClose" | "closeDisabled" | "description" | "dragEnabled" | "escapeDisabled" | "focusTrapDisabled" | "focusTrapOptions" | "fullscreenDisabled" | "heading" | "headingLevel" | "icon" | "iconFlipRtl" | "kind" | "loading" | "menuOpen" | "messageOverrides" | "modal" | "open" | "outsideCloseDisabled" | "overlayPositioning" | "placement" | "resizable" | "scale" | "topLayerDisabled" | "width">>, HTMLProps<Dialog> {
|
|
259
250
|
oncalciteDialogBeforeClose?: EventHandler<Dialog["calciteDialogBeforeClose"]>;
|
|
260
251
|
oncalciteDialogBeforeOpen?: EventHandler<Dialog["calciteDialogBeforeOpen"]>;
|
|
261
252
|
oncalciteDialogClose?: EventHandler<Dialog["calciteDialogClose"]>;
|
|
@@ -482,7 +473,7 @@ interface ReactCalciteSheet extends Required<Pick<Sheet, "label">>, Partial<Pick
|
|
|
482
473
|
interface ReactCalciteShell extends Partial<Pick<Shell, "contentBehind">>, HTMLProps<Shell> {
|
|
483
474
|
}
|
|
484
475
|
|
|
485
|
-
interface ReactCalciteShellPanel extends Partial<Pick<ShellPanel, "collapsed" | "displayMode" | "height" | "heightScale" | "layout" | "messageOverrides" | "position" | "resizable" | "
|
|
476
|
+
interface ReactCalciteShellPanel extends Partial<Pick<ShellPanel, "collapsed" | "displayMode" | "height" | "heightScale" | "layout" | "messageOverrides" | "position" | "resizable" | "width" | "widthScale">>, HTMLProps<ShellPanel> {
|
|
486
477
|
oncalciteShellPanelCollapse?: EventHandler<ShellPanel["calciteShellPanelCollapse"]>;
|
|
487
478
|
oncalciteShellPanelExpand?: EventHandler<ShellPanel["calciteShellPanelExpand"]>;
|
|
488
479
|
}
|
|
@@ -576,7 +567,7 @@ interface ReactCalciteTileGroup extends Required<Pick<TileGroup, "label">>, Part
|
|
|
576
567
|
oncalciteTileGroupSelect?: EventHandler<TileGroup["calciteTileGroupSelect"]>;
|
|
577
568
|
}
|
|
578
569
|
|
|
579
|
-
interface ReactCalciteTimePicker extends Partial<Pick<TimePicker, "hourFormat" | "messageOverrides" | "numberingSystem" | "scale" | "step" | "
|
|
570
|
+
interface ReactCalciteTimePicker extends Partial<Pick<TimePicker, "hourFormat" | "messageOverrides" | "numberingSystem" | "scale" | "step" | "value">>, HTMLProps<TimePicker> {
|
|
580
571
|
oncalciteTimePickerChange?: EventHandler<TimePicker["calciteTimePickerChange"]>;
|
|
581
572
|
}
|
|
582
573
|
|
|
@@ -628,8 +619,6 @@ declare module "react" {
|
|
|
628
619
|
"calcite-combobox-item": ReactCalciteComboboxItem;
|
|
629
620
|
"calcite-combobox-item-group": ReactCalciteComboboxItemGroup;
|
|
630
621
|
"calcite-date-picker": ReactCalciteDatePicker;
|
|
631
|
-
"calcite-date-picker-day": ReactCalciteDatePickerDay;
|
|
632
|
-
"calcite-date-picker-month": ReactCalciteDatePickerMonth;
|
|
633
622
|
"calcite-dialog": ReactCalciteDialog;
|
|
634
623
|
"calcite-dropdown": ReactCalciteDropdown;
|
|
635
624
|
"calcite-dropdown-group": ReactCalciteDropdownGroup;
|
|
@@ -736,8 +725,6 @@ declare module "react/jsx-runtime" {
|
|
|
736
725
|
"calcite-combobox-item": ReactCalciteComboboxItem;
|
|
737
726
|
"calcite-combobox-item-group": ReactCalciteComboboxItemGroup;
|
|
738
727
|
"calcite-date-picker": ReactCalciteDatePicker;
|
|
739
|
-
"calcite-date-picker-day": ReactCalciteDatePickerDay;
|
|
740
|
-
"calcite-date-picker-month": ReactCalciteDatePickerMonth;
|
|
741
728
|
"calcite-dialog": ReactCalciteDialog;
|
|
742
729
|
"calcite-dropdown": ReactCalciteDropdown;
|
|
743
730
|
"calcite-dropdown-group": ReactCalciteDropdownGroup;
|
|
@@ -844,8 +831,6 @@ declare module "react/jsx-dev-runtime" {
|
|
|
844
831
|
"calcite-combobox-item": ReactCalciteComboboxItem;
|
|
845
832
|
"calcite-combobox-item-group": ReactCalciteComboboxItemGroup;
|
|
846
833
|
"calcite-date-picker": ReactCalciteDatePicker;
|
|
847
|
-
"calcite-date-picker-day": ReactCalciteDatePickerDay;
|
|
848
|
-
"calcite-date-picker-month": ReactCalciteDatePickerMonth;
|
|
849
834
|
"calcite-dialog": ReactCalciteDialog;
|
|
850
835
|
"calcite-dropdown": ReactCalciteDropdown;
|
|
851
836
|
"calcite-dropdown-group": ReactCalciteDropdownGroup;
|
package/dist/types/stencil.d.ts
CHANGED
|
@@ -27,8 +27,6 @@ import type { Combobox } from "../components/calcite-combobox/customElement.js";
|
|
|
27
27
|
import type { ComboboxItem } from "../components/calcite-combobox-item/customElement.js";
|
|
28
28
|
import type { ComboboxItemGroup } from "../components/calcite-combobox-item-group/customElement.js";
|
|
29
29
|
import type { DatePicker } from "../components/calcite-date-picker/customElement.js";
|
|
30
|
-
import type { DatePickerDay } from "../components/calcite-date-picker-day/customElement.js";
|
|
31
|
-
import type { DatePickerMonth } from "../components/calcite-date-picker-month/customElement.js";
|
|
32
30
|
import type { Dialog } from "../components/calcite-dialog/customElement.js";
|
|
33
31
|
import type { Dropdown } from "../components/calcite-dropdown/customElement.js";
|
|
34
32
|
import type { DropdownGroup } from "../components/calcite-dropdown-group/customElement.js";
|
|
@@ -125,7 +123,6 @@ interface StencilCalciteActionGroup extends Partial<Pick<ActionGroup, "actionMen
|
|
|
125
123
|
onCalciteActionGroupChange?: EventHandler<ActionGroup["calciteActionGroupChange"]>;
|
|
126
124
|
onCalciteActionGroupCollapse?: EventHandler<ActionGroup["calciteActionGroupCollapse"]>;
|
|
127
125
|
onCalciteActionGroupExpand?: EventHandler<ActionGroup["calciteActionGroupExpand"]>;
|
|
128
|
-
onCalciteInternalActionGroupActionsChange?: EventHandler<ActionGroup["calciteInternalActionGroupActionsChange"]>;
|
|
129
126
|
}
|
|
130
127
|
|
|
131
128
|
interface StencilCalciteActionMenu extends Required<Pick<ActionMenu, "label">>, Partial<Pick<ActionMenu, "appearance" | "expanded" | "flipPlacements" | "open" | "overlayPositioning" | "placement" | "scale" | "topLayerDisabled">>, StencilJsx.HTMLAttributes<ActionMenu> {
|
|
@@ -249,13 +246,7 @@ interface StencilCalciteDatePicker extends Partial<Pick<DatePicker, "activeDate"
|
|
|
249
246
|
onCalciteDatePickerRangeChange?: EventHandler<DatePicker["calciteDatePickerRangeChange"]>;
|
|
250
247
|
}
|
|
251
248
|
|
|
252
|
-
interface
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
interface StencilCalciteDatePickerMonth extends Partial<Pick<DatePickerMonth, "activeDate" | "calendars" | "endDate" | "headingLevel" | "hoverRange" | "max" | "min" | "monthStyle" | "range" | "scale" | "selectedDate" | "startDate">>, StencilJsx.HTMLAttributes<DatePickerMonth> {
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
interface StencilCalciteDialog extends Partial<Pick<Dialog, "aria" | "beforeClose" | "closeDisabled" | "description" | "dragEnabled" | "escapeDisabled" | "focusTrapDisabled" | "focusTrapOptions" | "fullscreenDisabled" | "heading" | "headingLevel" | "icon" | "iconFlipRtl" | "kind" | "loading" | "menuOpen" | "messageOverrides" | "modal" | "open" | "outsideCloseDisabled" | "overlayPositioning" | "placement" | "resizable" | "scale" | "topLayerDisabled" | "width" | "widthScale">>, StencilJsx.HTMLAttributes<Dialog> {
|
|
249
|
+
interface StencilCalciteDialog extends Partial<Pick<Dialog, "aria" | "beforeClose" | "closeDisabled" | "description" | "dragEnabled" | "escapeDisabled" | "focusTrapDisabled" | "focusTrapOptions" | "fullscreenDisabled" | "heading" | "headingLevel" | "icon" | "iconFlipRtl" | "kind" | "loading" | "menuOpen" | "messageOverrides" | "modal" | "open" | "outsideCloseDisabled" | "overlayPositioning" | "placement" | "resizable" | "scale" | "topLayerDisabled" | "width">>, StencilJsx.HTMLAttributes<Dialog> {
|
|
259
250
|
onCalciteDialogBeforeClose?: EventHandler<Dialog["calciteDialogBeforeClose"]>;
|
|
260
251
|
onCalciteDialogBeforeOpen?: EventHandler<Dialog["calciteDialogBeforeOpen"]>;
|
|
261
252
|
onCalciteDialogClose?: EventHandler<Dialog["calciteDialogClose"]>;
|
|
@@ -482,7 +473,7 @@ interface StencilCalciteSheet extends Required<Pick<Sheet, "label">>, Partial<Pi
|
|
|
482
473
|
interface StencilCalciteShell extends Partial<Pick<Shell, "contentBehind">>, StencilJsx.HTMLAttributes<Shell> {
|
|
483
474
|
}
|
|
484
475
|
|
|
485
|
-
interface StencilCalciteShellPanel extends Partial<Pick<ShellPanel, "collapsed" | "displayMode" | "height" | "heightScale" | "layout" | "messageOverrides" | "position" | "resizable" | "
|
|
476
|
+
interface StencilCalciteShellPanel extends Partial<Pick<ShellPanel, "collapsed" | "displayMode" | "height" | "heightScale" | "layout" | "messageOverrides" | "position" | "resizable" | "width" | "widthScale">>, StencilJsx.HTMLAttributes<ShellPanel> {
|
|
486
477
|
onCalciteShellPanelCollapse?: EventHandler<ShellPanel["calciteShellPanelCollapse"]>;
|
|
487
478
|
onCalciteShellPanelExpand?: EventHandler<ShellPanel["calciteShellPanelExpand"]>;
|
|
488
479
|
}
|
|
@@ -576,7 +567,7 @@ interface StencilCalciteTileGroup extends Required<Pick<TileGroup, "label">>, Pa
|
|
|
576
567
|
onCalciteTileGroupSelect?: EventHandler<TileGroup["calciteTileGroupSelect"]>;
|
|
577
568
|
}
|
|
578
569
|
|
|
579
|
-
interface StencilCalciteTimePicker extends Partial<Pick<TimePicker, "hourFormat" | "messageOverrides" | "numberingSystem" | "scale" | "step" | "
|
|
570
|
+
interface StencilCalciteTimePicker extends Partial<Pick<TimePicker, "hourFormat" | "messageOverrides" | "numberingSystem" | "scale" | "step" | "value">>, StencilJsx.HTMLAttributes<TimePicker> {
|
|
580
571
|
onCalciteTimePickerChange?: EventHandler<TimePicker["calciteTimePickerChange"]>;
|
|
581
572
|
}
|
|
582
573
|
|
|
@@ -626,8 +617,6 @@ interface ExposedElements {
|
|
|
626
617
|
"calcite-combobox-item": StencilCalciteComboboxItem;
|
|
627
618
|
"calcite-combobox-item-group": StencilCalciteComboboxItemGroup;
|
|
628
619
|
"calcite-date-picker": StencilCalciteDatePicker;
|
|
629
|
-
"calcite-date-picker-day": StencilCalciteDatePickerDay;
|
|
630
|
-
"calcite-date-picker-month": StencilCalciteDatePickerMonth;
|
|
631
620
|
"calcite-dialog": StencilCalciteDialog;
|
|
632
621
|
"calcite-dropdown": StencilCalciteDropdown;
|
|
633
622
|
"calcite-dropdown-group": StencilCalciteDropdownGroup;
|
package/dist/utils/config.d.ts
CHANGED
|
@@ -1,6 +1,21 @@
|
|
|
1
1
|
import type { FocusTrap } from "focus-trap";
|
|
2
2
|
import type { LogLevel } from "./logger.js";
|
|
3
3
|
|
|
4
|
+
export interface CalciteConfig {
|
|
5
|
+
/**
|
|
6
|
+
* Defines the global trap stack to use for focus-trapping components.
|
|
7
|
+
*
|
|
8
|
+
* This is useful if your application uses its own instance of `focus-trap` and both need to be aware of each other.
|
|
9
|
+
*
|
|
10
|
+
* @see [focus-trap createOptions](https://github.com/focus-trap/focus-trap#createoptions).
|
|
11
|
+
*/
|
|
12
|
+
focusTrapStack: FocusTrap[];
|
|
13
|
+
/** Defines the global log level to use when logging messages. */
|
|
14
|
+
logLevel: LogLevel;
|
|
15
|
+
/** Contains the version of the Calcite components. */
|
|
16
|
+
readonly version?: string;
|
|
17
|
+
}
|
|
18
|
+
|
|
4
19
|
/**
|
|
5
20
|
* Exporting for testing purposes only
|
|
6
21
|
*
|
|
@@ -22,19 +37,4 @@ export function clearConfig(): void;
|
|
|
22
37
|
*
|
|
23
38
|
* @internal
|
|
24
39
|
*/
|
|
25
|
-
export function getConfig(): CalciteConfig;
|
|
26
|
-
|
|
27
|
-
export interface CalciteConfig {
|
|
28
|
-
/**
|
|
29
|
-
* Defines the global trap stack to use for focus-trapping components.
|
|
30
|
-
*
|
|
31
|
-
* This is useful if your application uses its own instance of `focus-trap` and both need to be aware of each other.
|
|
32
|
-
*
|
|
33
|
-
* @see [focus-trap createOptions](https://github.com/focus-trap/focus-trap#createoptions).
|
|
34
|
-
*/
|
|
35
|
-
focusTrapStack: FocusTrap[];
|
|
36
|
-
/** Defines the global log level to use when logging messages. */
|
|
37
|
-
logLevel: LogLevel;
|
|
38
|
-
/** Contains the version of the Calcite components. */
|
|
39
|
-
readonly version?: string;
|
|
40
|
-
}
|
|
40
|
+
export function getConfig(): CalciteConfig;
|
package/dist/utils/date.d.ts
CHANGED
|
@@ -4,12 +4,6 @@ export type ReferenceElement = VirtualElement | Element;
|
|
|
4
4
|
|
|
5
5
|
export type OverlayPositioning = Strategy;
|
|
6
6
|
|
|
7
|
-
export type LogicalPlacement = (typeof placements)[number];
|
|
8
|
-
|
|
9
|
-
export type FlipPlacement = Exclude<LogicalPlacement, "auto" | "auto-start" | "auto-end">;
|
|
10
|
-
|
|
11
|
-
export type MenuPlacement = Extract<LogicalPlacement, "top-start" | "top" | "top-end" | "bottom-start" | "bottom" | "bottom-end">;
|
|
12
|
-
|
|
13
7
|
export const placements: readonly [
|
|
14
8
|
"auto",
|
|
15
9
|
"auto-start",
|
|
@@ -32,4 +26,10 @@ export const placements: readonly [
|
|
|
32
26
|
"trailing-end",
|
|
33
27
|
"trailing",
|
|
34
28
|
"trailing-start"
|
|
35
|
-
];
|
|
29
|
+
];
|
|
30
|
+
|
|
31
|
+
export type LogicalPlacement = (typeof placements)[number];
|
|
32
|
+
|
|
33
|
+
export type FlipPlacement = Exclude<LogicalPlacement, "auto" | "auto-start" | "auto-end">;
|
|
34
|
+
|
|
35
|
+
export type MenuPlacement = Extract<LogicalPlacement, "top-start" | "top" | "top-end" | "bottom-start" | "bottom" | "bottom-end">;
|
package/dist/utils/locale.d.ts
CHANGED
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
*/
|
|
6
6
|
export type Locale = HTMLElement["lang"];
|
|
7
7
|
|
|
8
|
-
export type NumberingSystem = (typeof numberingSystems)[number];
|
|
9
|
-
|
|
10
8
|
export const numberingSystems: readonly [
|
|
11
9
|
"arab",
|
|
12
10
|
"arabext",
|
|
13
11
|
"latn"
|
|
14
|
-
];
|
|
12
|
+
];
|
|
13
|
+
|
|
14
|
+
export type NumberingSystem = (typeof numberingSystems)[number];
|
package/dist/utils/time.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@esri/calcite-components",
|
|
3
|
-
"version": "6.0.0-next.
|
|
3
|
+
"version": "6.0.0-next.46",
|
|
4
4
|
"description": "Web Components for Esri's Calcite Design System.",
|
|
5
5
|
"homepage": "https://developers.arcgis.com/calcite-design-system/",
|
|
6
6
|
"repository": {
|
|
@@ -70,8 +70,8 @@
|
|
|
70
70
|
"@types/cloudfour__simple-svg-placeholder": "1.1.2",
|
|
71
71
|
"@types/jest-axe": "3.5.9",
|
|
72
72
|
"@types/node": "24.10.0",
|
|
73
|
-
"@vitest/browser-playwright": "4.1.
|
|
74
|
-
"@vitest/coverage-v8": "4.1.
|
|
73
|
+
"@vitest/browser-playwright": "4.1.12",
|
|
74
|
+
"@vitest/coverage-v8": "4.1.12",
|
|
75
75
|
"@vitest/eslint-plugin": "1.6.28",
|
|
76
76
|
"@whitespace/storybook-addon-html": "9.0.0",
|
|
77
77
|
"autoprefixer": "10.6.2",
|
|
@@ -99,10 +99,10 @@
|
|
|
99
99
|
"postcss-scss": "4.0.9",
|
|
100
100
|
"prettier": "3.8.4",
|
|
101
101
|
"puppeteer": "23.4.1",
|
|
102
|
-
"rimraf": "6.1.
|
|
102
|
+
"rimraf": "6.1.4",
|
|
103
103
|
"sass-embedded": "1.104.1",
|
|
104
104
|
"storybook": "10.6.2",
|
|
105
|
-
"storybook-addon-rtl": "3.0.
|
|
105
|
+
"storybook-addon-rtl": "3.0.2",
|
|
106
106
|
"stylelint": "17.13.0",
|
|
107
107
|
"stylelint-config-recommended-scss": "17.0.1",
|
|
108
108
|
"stylelint-use-logical-spec": "5.0.1",
|
|
@@ -110,8 +110,8 @@
|
|
|
110
110
|
"type-fest": "5.6.0",
|
|
111
111
|
"typescript": "6.0.3",
|
|
112
112
|
"typescript-eslint": "8.64.0",
|
|
113
|
-
"vite": "7.3.
|
|
114
|
-
"vitest": "4.1.
|
|
113
|
+
"vite": "7.3.8",
|
|
114
|
+
"vitest": "4.1.12",
|
|
115
115
|
"vitest-browser-commands": "0.2.1"
|
|
116
116
|
},
|
|
117
117
|
"css.customData": [
|
package/dist/cdn/GYORUOJJ.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{b as ee}from"./46X4NELN.js";import{a as I,b as te,c as ae,d as C,e as x,f as re,q as ne}from"./RRBGCYLX.js";import{R as Z}from"./C64XEFVJ.js";function U(n,e){(e==null||e>n.length)&&(e=n.length);for(var i=0,o=Array(e);i<e;i++)o[i]=n[i];return o}function ye(n){if(Array.isArray(n))return U(n)}function ie(n,e){var i=typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(!i){if(Array.isArray(n)||(i=ce(n))||e){i&&(n=i);var o=0,y=function(){};return{s:y,n:function(){return o>=n.length?{done:!0}:{done:!1,value:n[o++]}},e:function(h){throw h},f:y}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
3
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var s,r=!0,b=!1;return{s:function(){i=i.call(n)},n:function(){var h=i.next();return r=h.done,h},e:function(h){b=!0,s=h},f:function(){try{r||i.return==null||i.return()}finally{if(b)throw s}}}}function me(n,e,i){return(e=Fe(e))in n?Object.defineProperty(n,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[e]=i,n}function he(n){if(typeof Symbol<"u"&&n[Symbol.iterator]!=null||n["@@iterator"]!=null)return Array.from(n)}function ge(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
4
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function oe(n,e){var i=Object.keys(n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);e&&(o=o.filter(function(y){return Object.getOwnPropertyDescriptor(n,y).enumerable})),i.push.apply(i,o)}return i}function ue(n){for(var e=1;e<arguments.length;e++){var i=arguments[e]!=null?arguments[e]:{};e%2?oe(Object(i),!0).forEach(function(o){me(n,o,i[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):oe(Object(i)).forEach(function(o){Object.defineProperty(n,o,Object.getOwnPropertyDescriptor(i,o))})}return n}function we(n){return ye(n)||he(n)||ce(n)||ge()}function Te(n,e){if(typeof n!="object"||!n)return n;var i=n[Symbol.toPrimitive];if(i!==void 0){var o=i.call(n,e);if(typeof o!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(n)}function Fe(n){var e=Te(n,"string");return typeof e=="symbol"?e:e+""}function ce(n,e){if(n){if(typeof n=="string")return U(n,e);var i={}.toString.call(n).slice(8,-1);return i==="Object"&&n.constructor&&(i=n.constructor.name),i==="Map"||i==="Set"?Array.from(n):i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?U(n,e):void 0}}var D={getActiveTrap:function(e){return e?.length>0?e[e.length-1]:null},activateTrap:function(e,i){var o=D.getActiveTrap(e);i!==o&&D.pauseTrap(e);var y=e.indexOf(i);y===-1||e.splice(y,1),e.push(i)},deactivateTrap:function(e,i){var o=e.indexOf(i);o!==-1&&e.splice(o,1),D.unpauseTrap(e)},pauseTrap:function(e){var i=D.getActiveTrap(e);i?._setPausedState(!0)},unpauseTrap:function(e){var i=D.getActiveTrap(e);i&&!i._isManuallyPaused()&&i._setPausedState(!1)}},Ne=function(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select=="function"},ke=function(e){return e?.key==="Escape"||e?.key==="Esc"||e?.keyCode===27},K=function(e){return e?.key==="Tab"||e?.keyCode===9},Ee=function(e){return K(e)&&!e.shiftKey},De=function(e){return K(e)&&e.shiftKey},se=function(e){return setTimeout(e,0)},L=function(e){for(var i=arguments.length,o=new Array(i>1?i-1:0),y=1;y<i;y++)o[y-1]=arguments[y];return typeof e=="function"?e.apply(void 0,o):e},G=function(e){return e.target.shadowRoot&&typeof e.composedPath=="function"?e.composedPath()[0]:e.target},Ae=[],le=function(e,i){var o=i?.document||document,y=i?.trapStack||Ae,s=ue({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,delayReturnFocus:!0,isolateSubtrees:!1,isKeyForward:Ee,isKeyBackward:De},i),r={containers:[],containerGroups:[],tabbableGroups:[],adjacentElements:new Set,alreadySilent:new Set,nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,manuallyPaused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},b,h=function(t,a,u){return t&&t[a]!==void 0?t[a]:s[u||a]},N=function(t,a){var u=typeof a?.composedPath=="function"?a.composedPath():void 0;return r.containerGroups.findIndex(function(f){var l=f.container,p=f.tabbableNodes;return l.contains(t)||u?.includes(l)||p.find(function(c){return c===t})})},A=function(t){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u=a.hasFallback,f=u===void 0?!1:u,l=a.params,p=l===void 0?[]:l,c=s[t];if(typeof c=="function"&&(c=c.apply(void 0,we(p))),c===!0&&(c=void 0),!c){if(c===void 0||c===!1)return c;throw new Error("`".concat(t,"` was specified but was not a node, or did not return a node"))}var v=c;if(typeof c=="string"){try{v=o.querySelector(c)}catch(d){throw new Error("`".concat(t,'` appears to be an invalid selector; error="').concat(d.message,'"'),{cause:d})}if(!v&&!f)throw new Error("`".concat(t,"` as selector refers to no known node"))}return v},S=function(t){var a=t.activeElement;return a?a.shadowRoot&&a.shadowRoot.activeElement!==null?S(a.shadowRoot):a:null},k=function(){var t=A("initialFocus",{hasFallback:!0});if(t===!1)return!1;if(t===void 0||t&&!x(t,s.tabbableOptions)){var a=S(o);if(N(a)>=0)t=a;else{var u=r.tabbableGroups[0],f=u&&u.firstTabbableNode;t=f||A("fallbackFocus")}}else t===null&&(t=A("fallbackFocus"));if(!t)throw new Error("Your focus-trap needs to have at least one focusable element");return t},P=function(){if(r.containerGroups=r.containers.map(function(t){var a=te(t,s.tabbableOptions),u=ae(t,s.tabbableOptions),f=a.length>0?a[0]:void 0,l=a.length>0?a[a.length-1]:void 0,p=u.find(function(d){return C(d)}),c=u.slice().reverse().find(function(d){return C(d)}),v=!!a.find(function(d){return I(d)>0});return{container:t,tabbableNodes:a,focusableNodes:u,posTabIndexesFound:v,firstTabbableNode:f,lastTabbableNode:l,firstDomTabbableNode:p,lastDomTabbableNode:c,nextTabbableNode:function(g){var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,F=a.indexOf(g);return F<0?T?u.slice(u.indexOf(g)+1).find(function(E){return C(E)}):u.slice(0,u.indexOf(g)).reverse().find(function(E){return C(E)}):a[F+(T?1:-1)]}}}),r.tabbableGroups=r.containerGroups.filter(function(t){return t.tabbableNodes.length>0}),r.tabbableGroups.length<=0&&!A("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(r.containerGroups.find(function(t){return t.posTabIndexesFound})&&r.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},w=function(t){if(t!==!1){if(t===S(o)){r.mostRecentlyFocusedNode=t;return}if(!t||!t.focus){w(k());return}t.focus({preventScroll:!!s.preventScroll}),r.mostRecentlyFocusedNode=t,Ne(t)&&t.select()}},B=function(t){var a=A("setReturnFocus",{params:[t]});return a||(a===!1?!1:t)},V=function(t){var a=t.target,u=t.event,f=t.isBackward,l=f===void 0?!1:f;a=a||G(u),P();var p=null;if(r.tabbableGroups.length>0){var c=N(a,u),v=c>=0?r.containerGroups[c]:void 0;if(c<0)l?p=r.tabbableGroups[r.tabbableGroups.length-1].lastTabbableNode:p=r.tabbableGroups[0].firstTabbableNode;else if(l){var d=r.tabbableGroups.findIndex(function(R){var q=R.firstTabbableNode;return a===q});if(d<0&&(v.container===a||x(a,s.tabbableOptions)&&!C(a,s.tabbableOptions)&&!v.nextTabbableNode(a,!1))&&(d=Math.max(0,r.tabbableGroups.findIndex(function(R){return r.containerGroups.indexOf(R)>=c}))),d>=0){var g=d===0?r.tabbableGroups.length-1:d-1,T=r.tabbableGroups[g];p=I(a)>=0?T.lastTabbableNode:T.lastDomTabbableNode}else K(u)||(p=v.nextTabbableNode(a,!1))}else{var F=r.tabbableGroups.findIndex(function(R){var q=R.lastTabbableNode;return a===q});if(F<0&&(v.container===a||x(a,s.tabbableOptions)&&!C(a,s.tabbableOptions)&&!v.nextTabbableNode(a))){var E=r.tabbableGroups.findIndex(function(R){return r.containerGroups.indexOf(R)>c});F=E>0?E-1:r.tabbableGroups.length-1}if(F>=0){var O=F===r.tabbableGroups.length-1?0:F+1,X=r.tabbableGroups[O];p=I(a)>=0?X.firstTabbableNode:X.firstDomTabbableNode}else K(u)||(p=v.nextTabbableNode(a))}}else p=A("fallbackFocus");return p},_=function(t){var a=G(t);if(!(N(a,t)>=0)){if(L(s.clickOutsideDeactivates,t)){b.deactivate({returnFocus:s.returnFocusOnDeactivate});return}L(s.allowOutsideClick,t)||t.preventDefault()}},W=function(t){var a=G(t),u=N(a,t)>=0;if(u||a instanceof Document)u&&(r.mostRecentlyFocusedNode=a);else{t.stopImmediatePropagation();var f,l=!0;if(r.mostRecentlyFocusedNode)if(I(r.mostRecentlyFocusedNode)>0){var p=N(r.mostRecentlyFocusedNode),c=r.containerGroups[p].tabbableNodes;if(c.length>0){var v=c.findIndex(function(d){return d===r.mostRecentlyFocusedNode});v>=0&&(s.isKeyForward(r.recentNavEvent)?v+1<c.length&&(f=c[v+1],l=!1):v-1>=0&&(f=c[v-1],l=!1))}}else r.containerGroups.some(function(d){return d.tabbableNodes.some(function(g){return I(g)>0})})||(l=!1);else l=!1;l&&(f=V({target:r.mostRecentlyFocusedNode,isBackward:s.isKeyBackward(r.recentNavEvent)})),w(f||r.mostRecentlyFocusedNode||k())}r.recentNavEvent=void 0},ve=function(t){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;r.recentNavEvent=t;var u=V({event:t,isBackward:a});u&&(K(t)&&t.preventDefault(),w(u))},Y=function(t){(s.isKeyForward(t)||s.isKeyBackward(t))&&ve(t,s.isKeyBackward(t))},$=function(t){ke(t)&&L(s.escapeDeactivates,t)!==!1&&(t.preventDefault(),b.deactivate())},z=function(t){var a=G(t);N(a,t)>=0||L(s.clickOutsideDeactivates,t)||L(s.allowOutsideClick,t)||(t.preventDefault(),t.stopImmediatePropagation())},J=function(){if(r.active){D.activateTrap(y,b);var t;return s.delayInitialFocus?t=new Promise(function(a){r.delayInitialFocusTimer=se(function(){w(k()),a()})}):w(k()),o.addEventListener("focusin",W,!0),o.addEventListener("mousedown",_,{capture:!0,passive:!1}),o.addEventListener("touchstart",_,{capture:!0,passive:!1}),o.addEventListener("click",z,{capture:!0,passive:!1}),o.addEventListener("keydown",Y,{capture:!0,passive:!1}),o.addEventListener("keydown",$),t}},be=function(t){r.active&&!r.paused&&b._setSubtreeIsolation(!1),r.adjacentElements.clear(),r.alreadySilent.clear();var a=new Set,u=new Set,f=ie(t),l;try{for(f.s();!(l=f.n()).done;){var p=l.value;a.add(p);for(var c=typeof ShadowRoot<"u"&&p.getRootNode()instanceof ShadowRoot,v=p;v;){a.add(v);var d=v.parentElement,g=[];d?g=d.children:!d&&c&&(g=v.getRootNode().children,d=v.getRootNode().host,c=typeof ShadowRoot<"u"&&d.getRootNode()instanceof ShadowRoot);var T=ie(g),F;try{for(T.s();!(F=T.n()).done;){var E=F.value;u.add(E)}}catch(O){T.e(O)}finally{T.f()}v=d}}}catch(O){f.e(O)}finally{f.f()}a.forEach(function(O){u.delete(O)}),r.adjacentElements=u},Q=function(){if(r.active)return o.removeEventListener("focusin",W,!0),o.removeEventListener("mousedown",_,!0),o.removeEventListener("touchstart",_,!0),o.removeEventListener("click",z,!0),o.removeEventListener("keydown",Y,!0),o.removeEventListener("keydown",$),b},pe=function(t){var a=r.mostRecentlyFocusedNode;if(a){var u=t.some(function(l){var p=Array.from(l.removedNodes);return p.some(function(c){return c===a||typeof c.contains=="function"&&c.contains(a)})});if(u&&r.containers.some(function(l){return l?.isConnected})){P();var f=k();w(f)}}},H=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(pe):void 0,j=function(){H&&(H.disconnect(),r.active&&!r.paused&&r.containers.map(function(t){H.observe(t,{subtree:!0,childList:!0})}))};return b={get active(){return r.active},get paused(){return r.paused},activate:function(t){if(r.active)return this;var a=h(t,"onActivate"),u=h(t,"onPostActivate"),f=h(t,"checkCanFocusTrap"),l=D.getActiveTrap(y),p=!1;if(l&&!l.paused){var c;(c=l._setSubtreeIsolation)===null||c===void 0||c.call(l,!1),p=!0}try{f||P(),r.active=!0,r.paused=!1,r.nodeFocusedBeforeActivation=S(o),a?.({trap:b});var v=function(){f&&P();var T=function(){b._setSubtreeIsolation(!0),j(),u?.({trap:b})},F=J();F?F.then(T):T()};if(f)return f(r.containers.concat()).then(v,v),this;v()}catch(g){if(l===D.getActiveTrap(y)&&p){var d;(d=l._setSubtreeIsolation)===null||d===void 0||d.call(l,!0)}throw g}return this},deactivate:function(t){if(!r.active)return this;var a=ue({onDeactivate:s.onDeactivate,onPostDeactivate:s.onPostDeactivate,checkCanReturnFocus:s.checkCanReturnFocus},t);clearTimeout(r.delayInitialFocusTimer),r.delayInitialFocusTimer=void 0,r.paused||b._setSubtreeIsolation(!1),r.alreadySilent.clear(),Q(),r.active=!1,r.paused=!1,j(),D.deactivateTrap(y,b);var u=h(a,"onDeactivate"),f=h(a,"onPostDeactivate"),l=h(a,"checkCanReturnFocus"),p=h(a,"delayReturnFocus"),c=h(a,"returnFocus","returnFocusOnDeactivate");u?.({trap:b});var v=function(){c&&w(B(r.nodeFocusedBeforeActivation)),f?.({trap:b})},d=function(){p&&c?se(v):v()};return c&&l?(l(B(r.nodeFocusedBeforeActivation)).then(d,d),this):(d(),this)},pause:function(t){return r.active?(r.manuallyPaused=!0,this._setPausedState(!0,t)):this},unpause:function(t){return r.active?(r.manuallyPaused=!1,y[y.length-1]!==this?this:this._setPausedState(!1,t)):this},updateContainerElements:function(t){var a=[].concat(t).filter(Boolean);return r.containers=a.map(function(u){return typeof u=="string"?o.querySelector(u):u}),s.isolateSubtrees&&be(r.containers),r.active&&(P(),r.paused||b._setSubtreeIsolation(!0)),j(),this}},Object.defineProperties(b,{_isManuallyPaused:{value:function(){return r.manuallyPaused}},_setPausedState:{value:function(t,a){if(r.paused===t)return this;if(r.paused=t,t){var u=h(a,"onPause"),f=h(a,"onPostPause");u?.({trap:b}),Q(),b._setSubtreeIsolation(!1),j(),f?.({trap:b})}else{var l=h(a,"onUnpause"),p=h(a,"onPostUnpause");l?.({trap:b});var c=function(){P();var d=function(){b._setSubtreeIsolation(!0),j(),p?.({trap:b})},g=J();g?g.then(d):d()};c()}return this}},_setSubtreeIsolation:{value:function(t){s.isolateSubtrees&&r.adjacentElements.forEach(function(a){var u;t?s.isolateSubtrees==="aria-hidden"?((a.ariaHidden==="true"||((u=a.getAttribute("aria-hidden"))===null||u===void 0?void 0:u.toLowerCase())==="true")&&r.alreadySilent.add(a),a.setAttribute("aria-hidden","true")):((a.inert||a.hasAttribute("inert"))&&r.alreadySilent.add(a),a.setAttribute("inert",!0)):r.alreadySilent.has(a)||(s.isolateSubtrees==="aria-hidden"?a.removeAttribute("aria-hidden"):a.removeAttribute("inert"))})}}}),b.updateContainerElements(e),b};function fe(n,{focusTrapOptions:e},i){return!e?.extraContainers&&!i?n:[n,...de(e?.extraContainers),...de(i)]}function de(n=[]){return Array.isArray(n)?n:[n]}var M=new WeakSet;function Se(n,e){let i=e&&e!==document.body&&e!==document.documentElement;return!M.has(n)&&i&&ne(e),!1}function Pe(n,e){let i=e?.fallbackFocus||n,o=e?.clickOutsideDeactivates??!0,y;return{fallbackFocus:i,...e,document:n.ownerDocument,tabbableOptions:re,trapStack:Z().focusTrapStack,clickOutsideDeactivates:s=>(M.has(n)||M.add(n),typeof o=="function"?o(s):o),onActivate:s=>{e?.escapeDeactivates&&(y=new AbortController,n.addEventListener("keydown",r=>{if(r.key==="Escape"){let b=e?.escapeDeactivates;(typeof b=="function"?b(r):b??!0)&&s.trap.deactivate()}},{signal:y.signal})),e?.onActivate?.(s)},onDeactivate:s=>{y?.abort(),y=void 0,e?.onDeactivate?.(s)},onPostDeactivate:()=>{M.delete(n)},setReturnFocus:s=>{let r=typeof e?.setReturnFocus=="function"?e.setReturnFocus(s):e?.setReturnFocus;return r===void 0?Se(n,s):r}}}var Ke=(n={})=>ee((e,i)=>{let o,y,s,r=!1,b=n.focusTrapOptions,h=()=>n.triggerProp?!!e[n.triggerProp]:!0,N=()=>n.triggerProp?h():r,A=()=>typeof e.focusTrapDisabledOverride=="function"?!e.focusTrapDisabledOverride():!e.focusTrapDisabled,S=()=>{let w=y||e.el;w.isConnected&&(o||(s||=fe(w,e),o=le(s,Pe(w,{...b,...e.focusTrapOptions}))),A()&&o.activate())},k=()=>{o?.deactivate()};return i.onConnected(()=>{o&&N()&&S()}),i.onUpdate(w=>{if(!(!e.hasUpdated||!w.has("focusTrapDisabled"))){if(e.focusTrapDisabled||!h()){k();return}N()&&S()}}),i.onDisconnected(()=>k()),{get _instance(){},activate:()=>{r=!0,S()},deactivate:()=>{r=!1,k()},overrideFocusTrapEl:w=>{if(o)throw new Error("Focus trap already created");y=w},setExtraContainers:w=>{let B=y||e.el;s=fe(B,e,w)},updateContainerElements:()=>o?.updateContainerElements(s)}});export{Ke as a};
|
package/dist/cdn/RRBGCYLX.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
var C=["input:not([inert]):not([inert] *)","select:not([inert]):not([inert] *)","textarea:not([inert]):not([inert] *)","a[href]:not([inert]):not([inert] *)","area[href]:not([inert]):not([inert] *)","button:not([inert]):not([inert] *)","[tabindex]:not(slot):not([inert]):not([inert] *)","audio[controls]:not([inert]):not([inert] *)","video[controls]:not([inert]):not([inert] *)",'[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *)',"details>summary:first-of-type:not([inert]):not([inert] *)","details:not([inert]):not([inert] *)"],h=C.join(","),x=typeof Element>"u",d=x?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,v=!x&&Element.prototype.getRootNode?function(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}:function(e){return e?.ownerDocument},g=function(t,r){var n;r===void 0&&(r=!0);var i=t==null||(n=t.getAttribute)===null||n===void 0?void 0:n.call(t,"inert"),o=i===""||i==="true",a=o||r&&t&&(typeof t.closest=="function"?t.closest("[inert]"):g(t.parentNode));return a},q=function(t){var r,n=t==null||(r=t.getAttribute)===null||r===void 0?void 0:r.call(t,"contenteditable");return n===""||n==="true"},I=function(t,r,n){if(g(t))return[];var i=Array.prototype.slice.apply(t.querySelectorAll(h));return r&&d.call(t,h)&&i.unshift(t),i=i.filter(n),i},y=function(t,r,n){for(var i=[],o=Array.from(t);o.length;){var a=o.shift();if(!g(a,!1))if(a.tagName==="SLOT"){var s=a.assignedElements(),c=s.length?s:a.children,u=y(c,!0,n);n.flatten?i.push.apply(i,u):i.push({scopeParent:a,candidates:u})}else{var f=d.call(a,h);f&&n.filter(a)&&(r||!t.includes(a))&&i.push(a);var l=a.shadowRoot||typeof n.getShadowRoot=="function"&&n.getShadowRoot(a),b=!g(l,!1)&&(!n.shadowRootFilter||n.shadowRootFilter(a));if(l&&b){var E=y(l===!0?a.children:l.children,!0,n);n.flatten?i.push.apply(i,E):i.push({scopeParent:a,candidates:E})}else o.unshift.apply(o,a.children)}}return i},A=function(t){return!isNaN(parseInt(t.getAttribute("tabindex"),10))},F=function(t){if(!t)throw new Error("No node provided");return t.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||q(t))&&!A(t)?0:t.tabIndex},L=function(t,r){var n=F(t);return n<0&&r&&!A(t)?0:n},W=function(t,r){return t.tabIndex===r.tabIndex?t.documentOrder-r.documentOrder:t.tabIndex-r.tabIndex},R=function(t){return t.tagName==="INPUT"},G=function(t){return R(t)&&t.type==="hidden"},U=function(t){var r=t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some(function(n){return n.tagName==="SUMMARY"});return r},V=function(t,r){for(var n=0;n<t.length;n++)if(t[n].checked&&t[n].form===r)return t[n]},j=function(t){if(!t.name)return!0;var r=t.form||v(t),n=function(s){return r.querySelectorAll('input[type="radio"][name="'+s+'"]')},i;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")i=n(window.CSS.escape(t.name));else try{i=n(t.name)}catch(a){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",a.message),!1}var o=V(i,t.form);return!o||o===t},X=function(t){return R(t)&&t.type==="radio"},z=function(t){return X(t)&&!j(t)},H=function(t){var r,n=t&&v(t),i=(r=n)===null||r===void 0?void 0:r.host,o=!1;if(n&&n!==t){var a,s,c;for(o=!!((a=i)!==null&&a!==void 0&&(s=a.ownerDocument)!==null&&s!==void 0&&s.contains(i)||t!=null&&(c=t.ownerDocument)!==null&&c!==void 0&&c.contains(t));!o&&i;){var u,f,l;n=v(i),i=(u=n)===null||u===void 0?void 0:u.host,o=!!((f=i)!==null&&f!==void 0&&(l=f.ownerDocument)!==null&&l!==void 0&&l.contains(i))}}return o},N=function(t){var r=t.getBoundingClientRect(),n=r.width,i=r.height;return n===0&&i===0},Z=function(t,r){var n=r.displayCheck,i=r.getShadowRoot;if(n==="full-native"&&"checkVisibility"in t){var o=t.checkVisibility({checkOpacity:!1,opacityProperty:!1,contentVisibilityAuto:!0,visibilityProperty:!0,checkVisibilityCSS:!0});return!o}var a=getComputedStyle(t),s=a.visibility;if(s==="hidden"||s==="collapse")return!0;var c=d.call(t,"details>summary:first-of-type"),u=c?t.parentElement:t;if(d.call(u,"details:not([open]) *"))return!0;if(!n||n==="full"||n==="full-native"||n==="legacy-full"){if(typeof i=="function"){for(var f=t;t;){var l=t.parentElement,b=v(t);if(l&&!l.shadowRoot&&i(l)===!0)return N(t);t.assignedSlot?t=t.assignedSlot:!l&&b!==t.ownerDocument?t=b.host:t=l}t=f}if(H(t))return!t.getClientRects().length;if(n!=="legacy-full")return!0}else if(n==="non-zero-area")return N(t);return!1},K=function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var r=t.parentElement;r;){if(r.tagName==="FIELDSET"&&r.disabled){for(var n=0;n<r.children.length;n++){var i=r.children.item(n);if(i.tagName==="LEGEND")return d.call(r,"fieldset[disabled] *")?!0:!i.contains(t)}return!0}r=r.parentElement}return!1},p=function(t,r){return!(r.disabled||G(r)||Z(r,t)||U(r)||K(r))},S=function(t,r){return!(z(r)||F(r)<0||!p(t,r))},Y=function(t){var r=parseInt(t.getAttribute("tabindex"),10);return!!(isNaN(r)||r>=0)},O=function(t){var r=[],n=[];return t.forEach(function(i,o){var a=!!i.scopeParent,s=a?i.scopeParent:i,c=L(s,a),u=a?O(i.candidates):s;c===0?a?r.push.apply(r,u):r.push(s):n.push({documentOrder:o,tabIndex:c,item:i,isScope:a,content:u})}),n.sort(W).reduce(function(i,o){return o.isScope?i.push.apply(i,o.content):i.push(o.content),i},[]).concat(r)},D=function(t,r){r=r||{};var n;return r.getShadowRoot?n=y([t],r.includeContainer,{filter:S.bind(null,r),flatten:!1,getShadowRoot:r.getShadowRoot,shadowRootFilter:Y}):n=I(t,r.includeContainer,S.bind(null,r)),O(n)},m=function(t,r){r=r||{};var n;return r.getShadowRoot?n=y([t],r.includeContainer,{filter:p.bind(null,r),flatten:!0,getShadowRoot:r.getShadowRoot}):n=I(t,r.includeContainer,p.bind(null,r)),n},ht=function(t,r){if(r=r||{},!t)throw new Error("No node provided");return d.call(t,h)===!1?!1:S(r,t)},J=C.concat("iframe:not([inert]):not([inert] *)").join(","),vt=function(t,r){if(r=r||{},!t)throw new Error("No node provided");return d.call(t,J)===!1?!1:p(r,t)};var T={getShadowRoot:!0};function pt(e){return Array.isArray(e)?e:Array.from(e)}function St(e){return e?parseFloat(getComputedStyle(e).inlineSize):0}function w(e){return e.getRootNode()}function mt(e){let t=w(e);return"host"in t?t:null}function Tt(e,t,r){if(!e)return 0;let i=document.createElement("canvas").getContext("2d");return i.font=t,i.letterSpacing=r||"normal",i.measureText(e).width}function B(e){return e.host||null}function Q(e,{selector:t,id:r}){if(!e)return null;e.assignedSlot&&(e=e.assignedSlot);let n=w(e),i=r?"getElementById"in n?n.getElementById(r):null:t?n.querySelector(t):null;if(i)return i;let o=B(n);return o?Q(o,{selector:t,id:r}):null}function $(e,t){if(!e)return null;let r=e.closest(t);if(r)return r;let n=B(w(e));return n?$(n,t):null}function _(e){return e instanceof HTMLElement||e instanceof SVGElement}function wt(e){return e?m(e,{...T,includeContainer:!0}).filter(_):[]}function tt(e){return typeof e?.setFocus=="function"}async function et(e,t=!1,r="tabbable",n,i){return e?tt(e)&&n!==e?e.setFocus(i):(r==="tabbable"?nt:at)(e,t,i):void 0}function rt(e,t){if(e)return D(e,{...T,includeContainer:t})[0]??e}function nt(e,t,r){rt(e,t)?.focus(r)}function it(e,t){if(e)return m(e,{...T,includeContainer:t})[0]??e}function at(e,t,r){it(e,t)?.focus(r)}function Et(e,t){return Array.from(e.children).filter(r=>r.matches(t))}function ot(e,t){return e.filter(r=>r.matches(t))}function Nt(e,t,r){if(typeof t=="string"&&t!=="")return t;if(t===""||t===!0)return e[r]}function Ct(e,t){return!(t.left>e.right||t.right<e.left||t.top>e.bottom||t.bottom<e.top)}function xt(e){return ct(e)||st(e)}function ut(e){return lt(e).filter(t=>t.nodeType===Node.TEXT_NODE).map(t=>t.textContent).join("").trim()}function It(e){for(let t of e.childNodes)if(t.nodeType===Node.TEXT_NODE&&t.textContent?.trim()!==""||t.nodeType===Node.ELEMENT_NODE)return!0;return!1}function st(e){return!!ut(e)}function lt(e){return e.currentTarget.assignedNodes({flatten:!0})}function ct(e){return!!ft(e).length}function ft(e,t){return dt(e.currentTarget,t)}function dt(e,t){let r=e.assignedElements({flatten:!0});return t?ot(r,t):r}function At(e){return!!(e.isPrimary&&e.button===0)}function Ft(e){return e.detail===0}var Rt=(e,t,r,n=!0,i=!0,o=!1)=>{let a=e.indexOf(t),s=a===0,c=a===e.length-1;n&&(r=r==="previous"&&s?"last":r==="next"&&c?"first":r);let u;return r==="previous"?u=e[a-1]||e[n?e.length-1:a]:r==="next"?u=e[a+1]||e[n?0:a]:r==="last"?u=e[e.length-1]:u=e[0],et(u,i,"tabbable",o?u:void 0),u};function Ot(e,t){if(!e.parentNode||!t.parentNode||e.parentNode!==t.parentNode)return!1;let r=Array.from(e.parentNode.children);return r.indexOf(e)<r.indexOf(t)}async function Dt(e,t){return M(e,t,"animation")}async function kt(e,t){return M(e,t,"transition")}function k(e,t,r){return e.getAnimations().find(n=>t==="transition"?"transitionProperty"in n&&n.transitionProperty===r:"animationName"in n&&n.animationName===r)}async function M(e,t,r){let n=k(e,r,t);if(n||(await bt(),n=k(e,r,t)),!!n)try{await n.finished}catch{}}async function bt(){await new Promise(e=>requestAnimationFrame(()=>e()))}function Pt(e){return e.endsWith("px")?parseFloat(e):e.endsWith("vw")?P(parseFloat(e),window.innerWidth):e.endsWith("vh")?P(parseFloat(e),window.innerHeight):0}function P(e,t){return e*t/100}function Bt(e){return e.assignedNodes({flatten:!0}).filter(t=>t.nodeType===Node.TEXT_NODE)??[]}export{F as a,D as b,m as c,ht as d,vt as e,T as f,pt as g,St as h,w as i,mt as j,Tt as k,Q as l,$ as m,_ as n,wt as o,tt as p,et as q,rt as r,Et as s,Nt as t,Ct as u,xt as v,ut as w,It as x,st as y,ct as z,ft as A,dt as B,At as C,Ft as D,Rt as E,Ot as F,Dt as G,kt as H,bt as I,Pt as J,Bt as K};
|