@esri/calcite-components 6.0.0-next.45 → 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.
Files changed (225) hide show
  1. package/dist/cdn/{NDAIR3XA.js → 2GWNPJCU.js} +1 -1
  2. package/dist/cdn/{G7TG6NG6.js → 2KWXVHHR.js} +1 -1
  3. package/dist/cdn/{7G7EMTUF.js → 3RH67CDR.js} +1 -1
  4. package/dist/cdn/{HKQLIXK4.js → 4MGMV2CD.js} +1 -1
  5. package/dist/cdn/{7LX2HH4J.js → 536Q3W3O.js} +1 -1
  6. package/dist/cdn/{B7WSIKMX.js → 54B35BBQ.js} +1 -1
  7. package/dist/cdn/{M5M2KVGR.js → 54PEVOT6.js} +1 -1
  8. package/dist/cdn/{FIMAKXGQ.js → 55WOTGCY.js} +1 -1
  9. package/dist/cdn/{2BIOP4MZ.js → 57HPNYPL.js} +1 -1
  10. package/dist/cdn/{BBT33BLB.js → 5DYLNIMS.js} +1 -1
  11. package/dist/cdn/5KXWCZAS.js +4 -0
  12. package/dist/cdn/{MFE2PLXT.js → 5UQFY5XR.js} +1 -1
  13. package/dist/cdn/{DWZ74JD7.js → 66SOCFAT.js} +1 -1
  14. package/dist/cdn/{ITBA55JA.js → 6AKTAHUS.js} +1 -1
  15. package/dist/cdn/{XBCDGCEZ.js → 6LBEX6AB.js} +1 -1
  16. package/dist/cdn/{HW4DTINV.js → 6Q7QR4UU.js} +1 -1
  17. package/dist/cdn/{WPEOUBDT.js → 6WE4QYUX.js} +1 -1
  18. package/dist/cdn/{YRR3PUGK.js → 7BC364WX.js} +1 -1
  19. package/dist/cdn/{ROTQFWHY.js → 7Y4TF3AX.js} +1 -1
  20. package/dist/cdn/{2H2OYEBM.js → AM4VPYFA.js} +1 -1
  21. package/dist/cdn/{CAUI7BYL.js → ASXRPCJB.js} +1 -1
  22. package/dist/cdn/{7GBJQ4FI.js → AU5DLGII.js} +1 -1
  23. package/dist/cdn/{34CJLGUM.js → AZQPYZKF.js} +1 -1
  24. package/dist/cdn/{JOSWADID.js → B2XYWKFW.js} +1 -1
  25. package/dist/cdn/{FQCIOXC6.js → BEJMUC3W.js} +1 -1
  26. package/dist/cdn/{UI2FYJXI.js → BEMPSWZH.js} +1 -1
  27. package/dist/cdn/{MLS526NK.js → BXSGEW7M.js} +1 -1
  28. package/dist/cdn/{ERJB3YHY.js → C44U3WON.js} +1 -1
  29. package/dist/cdn/{SFIHVHUM.js → C72PAGEU.js} +1 -1
  30. package/dist/cdn/{QE7VKFYE.js → CIMM5EHR.js} +1 -1
  31. package/dist/cdn/{VCZSRR5D.js → CO5B7PPE.js} +1 -1
  32. package/dist/cdn/{XYJIYNCG.js → CTB7NMOP.js} +1 -1
  33. package/dist/cdn/{VAXMIDPA.js → DIUDA6T3.js} +1 -1
  34. package/dist/cdn/{A2EQLDFB.js → DJOEMGW5.js} +1 -1
  35. package/dist/cdn/{2FBLLPR3.js → E4JAEOLX.js} +1 -1
  36. package/dist/cdn/{CRPPRHQB.js → E4VTC53J.js} +1 -1
  37. package/dist/cdn/{C7VNQIOE.js → EED4H4ZJ.js} +1 -1
  38. package/dist/cdn/{DZVMWCOM.js → EKFFSBPC.js} +1 -1
  39. package/dist/cdn/{RWZC2XKT.js → EQPAUP6B.js} +1 -1
  40. package/dist/cdn/ET5BRIOF.js +2 -0
  41. package/dist/cdn/{LHJ5CGO4.js → F66DZIMH.js} +1 -1
  42. package/dist/cdn/{KHKYZGRZ.js → FAXIOVEV.js} +1 -1
  43. package/dist/cdn/{UI6AYIRK.js → FJCH3FFF.js} +1 -1
  44. package/dist/cdn/{ZEZAVNIG.js → FSK7PPUB.js} +1 -1
  45. package/dist/cdn/{NLCNLC4I.js → FTJK6UTW.js} +1 -1
  46. package/dist/cdn/{QBGRBD75.js → G5HQCWN7.js} +1 -1
  47. package/dist/cdn/{MX5BTLD5.js → G6CL2TZP.js} +1 -1
  48. package/dist/cdn/{YTX53CIX.js → GBHV7UB7.js} +1 -1
  49. package/dist/cdn/{AZQ6AVBH.js → GMFI7KCV.js} +1 -1
  50. package/dist/cdn/{RF2EH4W5.js → GZ2WKK2P.js} +1 -1
  51. package/dist/cdn/{ZTDESRDK.js → H66QM7TN.js} +1 -1
  52. package/dist/cdn/{FZHXD6BS.js → HP7XESXK.js} +1 -1
  53. package/dist/cdn/{QXKA464H.js → I267WTBZ.js} +1 -1
  54. package/dist/cdn/{FCT5GPFK.js → IGECXJY5.js} +1 -1
  55. package/dist/cdn/{X6F6GYSO.js → IIOT34VO.js} +1 -1
  56. package/dist/cdn/{KE6XDJG4.js → IK4CWSF6.js} +1 -1
  57. package/dist/cdn/{ZTACZSAI.js → IQLO5XRY.js} +1 -1
  58. package/dist/cdn/{453XPXSM.js → IWVHGBUR.js} +1 -1
  59. package/dist/cdn/{V7LESKPF.js → J22KIVYJ.js} +1 -1
  60. package/dist/cdn/{7A7RZ6FX.js → JB7WHUVP.js} +1 -1
  61. package/dist/cdn/{JGOE7QEG.js → JMWJKQE3.js} +1 -1
  62. package/dist/cdn/{TQ57Q3JQ.js → JPHW77RB.js} +1 -1
  63. package/dist/cdn/{6B3MOZIA.js → JPQSSQMW.js} +1 -1
  64. package/dist/cdn/{AMB3M3OP.js → JWIWU772.js} +1 -1
  65. package/dist/cdn/{TBJXZCJK.js → JWRYVJUD.js} +1 -1
  66. package/dist/cdn/{6XG4QOCM.js → KIXUBI7A.js} +1 -1
  67. package/dist/cdn/{6WNKZVIE.js → KR5QRAZM.js} +1 -1
  68. package/dist/cdn/{L3HMVANK.js → KYY36XYF.js} +1 -1
  69. package/dist/cdn/{RLS4LQWH.js → LI2FQWYL.js} +1 -1
  70. package/dist/cdn/{SWMMD4H5.js → LVWYQI77.js} +1 -1
  71. package/dist/cdn/{LR56TC5M.js → LZQMZ4TH.js} +1 -1
  72. package/dist/cdn/{6HJWDZHT.js → M246Q4H5.js} +1 -1
  73. package/dist/cdn/{PREALUNT.js → M5M3XMFB.js} +1 -1
  74. package/dist/cdn/{PWZGFWOM.js → MGE7JFNC.js} +1 -1
  75. package/dist/cdn/{F5S6VMMZ.js → MIF5NSHB.js} +1 -1
  76. package/dist/cdn/{Z6TJIXO7.js → MJAK65JX.js} +1 -1
  77. package/dist/cdn/{K5NVTVMK.js → MYDKINOW.js} +1 -1
  78. package/dist/cdn/{C4BG4VYS.js → MYJTLWCJ.js} +1 -1
  79. package/dist/cdn/{X6U5ODAE.js → NDBTQ5YZ.js} +1 -1
  80. package/dist/cdn/{T2Q5VTYE.js → NGUD2GI2.js} +1 -1
  81. package/dist/cdn/{FRZORQAM.js → NIHGJTFV.js} +1 -1
  82. package/dist/cdn/{34MDAXOX.js → NJU4CJ3L.js} +1 -1
  83. package/dist/cdn/{26DODVH5.js → NMC27PMN.js} +1 -1
  84. package/dist/cdn/{4HUPCETD.js → NMXY6OTC.js} +1 -1
  85. package/dist/cdn/{V7LEFNX3.js → NSQK4DWU.js} +1 -1
  86. package/dist/cdn/{MTM7VABB.js → NTFEJXLW.js} +1 -1
  87. package/dist/cdn/{R6XPJG3I.js → O4JIA7J3.js} +1 -1
  88. package/dist/cdn/{2HVWMIXF.js → ODAW3SA7.js} +1 -1
  89. package/dist/cdn/{RL3MGXVK.js → OTYTHQIX.js} +1 -1
  90. package/dist/cdn/{EBRZUBPI.js → P2UJWGW4.js} +1 -1
  91. package/dist/cdn/{BGNMVMTJ.js → PJDRQM5E.js} +1 -1
  92. package/dist/cdn/{XSN6ROXT.js → POONBKJM.js} +1 -1
  93. package/dist/cdn/{4IHIALNQ.js → QCX2TEX2.js} +1 -1
  94. package/dist/cdn/{VF7KL4A5.js → QGJSQ5BP.js} +1 -1
  95. package/dist/cdn/{F7WX2UIN.js → QHOUOQ7P.js} +1 -1
  96. package/dist/cdn/{YYB3V3FA.js → QOMOSGUU.js} +1 -1
  97. package/dist/cdn/{O7PNJVUF.js → QSTP2DBA.js} +1 -1
  98. package/dist/cdn/{3YJNMDNR.js → R2Z7T5ZQ.js} +1 -1
  99. package/dist/cdn/{YVXV3GZT.js → R4REM7OQ.js} +1 -1
  100. package/dist/cdn/{KZAKOROX.js → RAL4RKII.js} +1 -1
  101. package/dist/cdn/{M37EX7MP.js → RJF6IZCZ.js} +1 -1
  102. package/dist/cdn/{P54FRB23.js → RS35OTCN.js} +1 -1
  103. package/dist/cdn/{U4XDMTIM.js → RUNPPOC4.js} +1 -1
  104. package/dist/cdn/{5L3SBVVK.js → RUNVW545.js} +1 -1
  105. package/dist/cdn/{GAHDUXCB.js → RXPYPA6O.js} +1 -1
  106. package/dist/cdn/{3ABKL52M.js → SEE32DST.js} +1 -1
  107. package/dist/cdn/{CNNZUX2A.js → SM2B5B6A.js} +1 -1
  108. package/dist/cdn/{MZAV4AQ7.js → SR5TE6K2.js} +1 -1
  109. package/dist/cdn/{WTZT5KRN.js → SUCUYWQ7.js} +1 -1
  110. package/dist/cdn/{4JDB4ESH.js → SUSGEJSH.js} +1 -1
  111. package/dist/cdn/{3M6M4U5C.js → TAAPGIQQ.js} +1 -1
  112. package/dist/cdn/{EWTLQ7IM.js → THHKY4JC.js} +1 -1
  113. package/dist/cdn/{SJLU737V.js → TKL65RYS.js} +1 -1
  114. package/dist/cdn/{4L4QYBCT.js → TPKYOVSE.js} +1 -1
  115. package/dist/cdn/{OXX6CCPA.js → TYQDJ37Y.js} +1 -1
  116. package/dist/cdn/{VM4COOKU.js → U2TTDPZH.js} +1 -1
  117. package/dist/cdn/{LSA3PERR.js → UCY2RQLZ.js} +1 -1
  118. package/dist/cdn/{4MB4W6QQ.js → ULQAU2WE.js} +1 -1
  119. package/dist/cdn/{6JYFRCL2.js → UQ47HQRD.js} +1 -1
  120. package/dist/cdn/{Z3UOGATM.js → URG7T4ER.js} +1 -1
  121. package/dist/cdn/{ONR4D7M6.js → URSEMICR.js} +1 -1
  122. package/dist/cdn/{XZ2QTCWH.js → USBY7JLW.js} +1 -1
  123. package/dist/cdn/{V3TWPU3T.js → UTJ56NOT.js} +1 -1
  124. package/dist/cdn/{KLA3MAFG.js → UTUIW3MD.js} +1 -1
  125. package/dist/cdn/{3JFXFQ2P.js → UUTZWRQT.js} +1 -1
  126. package/dist/cdn/{NEXZINWS.js → UXX5OZY4.js} +1 -1
  127. package/dist/cdn/{ITCOUUXS.js → VSU7RAOV.js} +1 -1
  128. package/dist/cdn/{FQF5KOVN.js → VW6EBA5C.js} +1 -1
  129. package/dist/cdn/{6SX3ITD4.js → W7XV5RWX.js} +1 -1
  130. package/dist/cdn/{KUEPNPKO.js → WATCY47J.js} +1 -1
  131. package/dist/cdn/{GUKXTXVN.js → WUI7B3LN.js} +1 -1
  132. package/dist/cdn/{D6CAUHNL.js → X3C3OD2R.js} +1 -1
  133. package/dist/cdn/{LDDO47AD.js → XBLARWUV.js} +1 -1
  134. package/dist/cdn/{DMECBOWN.js → XC67A255.js} +1 -1
  135. package/dist/cdn/{7EMKTKXE.js → YE4HKJGD.js} +1 -1
  136. package/dist/cdn/{QCI7E7NI.js → YSQHGDQV.js} +1 -1
  137. package/dist/cdn/{PXZ2XIID.js → ZITMW4EK.js} +1 -1
  138. package/dist/cdn/{XPWLA23P.js → ZKZOZFRF.js} +1 -1
  139. package/dist/cdn/{ENQD4KJA.js → ZOMN64VJ.js} +1 -1
  140. package/dist/cdn/{JJJBNWTY.js → ZSDVPK3W.js} +1 -1
  141. package/dist/cdn/index.js +1 -1
  142. package/dist/cdn/main.css +1 -1
  143. package/dist/chunks/runtime.js +4 -4
  144. package/dist/chunks/useTime.js +1 -3
  145. package/dist/components/calcite-accordion/customElement.js +3 -1
  146. package/dist/components/calcite-accordion-item/customElement.js +3 -1
  147. package/dist/components/calcite-action-bar/customElement.js +6 -1
  148. package/dist/components/calcite-action-group/customElement.d.ts +0 -3
  149. package/dist/components/calcite-action-group/customElement.js +4 -1
  150. package/dist/components/calcite-action-menu/customElement.d.ts +40 -6
  151. package/dist/components/calcite-autocomplete-item-group/customElement.js +3 -1
  152. package/dist/components/calcite-block-group/customElement.js +25 -5
  153. package/dist/components/calcite-color-picker/utils.d.ts +2 -2
  154. package/dist/components/calcite-color-picker-hex-input/customElement.d.ts +21 -3
  155. package/dist/components/calcite-combobox/customElement.js +10 -3
  156. package/dist/components/calcite-combobox/types.d.ts +1 -0
  157. package/dist/components/calcite-combobox-item/customElement.d.ts +5 -1
  158. package/dist/components/calcite-combobox-item-group/customElement.d.ts +5 -1
  159. package/dist/components/calcite-combobox-item-group/customElement.js +6 -2
  160. package/dist/components/calcite-dialog/customElement.js +8 -2
  161. package/dist/components/calcite-dropdown/customElement.js +4 -1
  162. package/dist/components/calcite-dropdown-group/customElement.js +7 -2
  163. package/dist/components/calcite-dropdown-item/customElement.js +3 -1
  164. package/dist/components/calcite-flow/customElement.js +4 -1
  165. package/dist/components/calcite-graph/customElement.d.ts +22 -3
  166. package/dist/components/calcite-graph/types.d.ts +7 -7
  167. package/dist/components/calcite-icon/types.d.ts +4 -4
  168. package/dist/components/calcite-inline-editable/customElement.js +7 -2
  169. package/dist/components/calcite-input-date-picker/customElement.js +4 -1
  170. package/dist/components/calcite-input-time-picker/customElement.js +4 -1
  171. package/dist/components/calcite-input-time-zone/customElement.js +4 -1
  172. package/dist/components/calcite-list/customElement.js +16 -2
  173. package/dist/components/calcite-list-item/customElement.js +9 -2
  174. package/dist/components/calcite-list-item-group/customElement.js +3 -1
  175. package/dist/components/calcite-loader/customElement.d.ts +0 -3
  176. package/dist/components/calcite-menu/customElement.d.ts +3 -3
  177. package/dist/components/calcite-menu-item/customElement.js +4 -1
  178. package/dist/components/calcite-meter/customElement.d.ts +0 -3
  179. package/dist/components/calcite-navigation/customElement.js +13 -1
  180. package/dist/components/calcite-panel/customElement.js +4 -1
  181. package/dist/components/calcite-sheet/customElement.d.ts +0 -3
  182. package/dist/components/calcite-sheet/customElement.js +25 -6
  183. package/dist/components/calcite-shell/customElement.js +4 -1
  184. package/dist/components/calcite-shell-panel/customElement.d.ts +1 -10
  185. package/dist/components/calcite-shell-panel/customElement.js +19 -5
  186. package/dist/components/calcite-slider/customElement.js +14 -4
  187. package/dist/components/calcite-sort-handle/customElement.d.ts +81 -14
  188. package/dist/components/calcite-sort-handle/types.d.ts +14 -3
  189. package/dist/components/calcite-split-button/customElement.js +4 -1
  190. package/dist/components/calcite-stack/customElement.d.ts +12 -2
  191. package/dist/components/calcite-stepper/customElement.js +4 -1
  192. package/dist/components/calcite-stepper-item/customElement.js +3 -1
  193. package/dist/components/calcite-tab-nav/customElement.js +3 -1
  194. package/dist/components/calcite-tab-title/customElement.js +6 -2
  195. package/dist/components/calcite-table/customElement.js +3 -1
  196. package/dist/components/calcite-table-row/customElement.js +3 -1
  197. package/dist/components/calcite-text/customElement.d.ts +3 -3
  198. package/dist/components/calcite-text-area/customElement.js +3 -1
  199. package/dist/components/calcite-time-picker/customElement.d.ts +0 -3
  200. package/dist/components/calcite-tree-item/customElement.js +3 -1
  201. package/dist/components/types.d.ts +3 -3
  202. package/dist/docs/api.json +1 -1
  203. package/dist/docs/docs.json +1 -1
  204. package/dist/docs/vscode.html-custom-data.json +1 -1
  205. package/dist/docs/web-types.json +1 -1
  206. package/dist/index.d.ts +2 -9
  207. package/dist/loader.js +3 -3
  208. package/dist/types/lumina.d.ts +2 -13
  209. package/dist/types/preact.d.ts +2 -15
  210. package/dist/types/react.d.ts +2 -17
  211. package/dist/types/stencil.d.ts +2 -13
  212. package/dist/utils/config.d.ts +16 -16
  213. package/dist/utils/date.d.ts +4 -0
  214. package/dist/utils/floating-ui.d.ts +7 -7
  215. package/dist/utils/locale.d.ts +3 -3
  216. package/dist/utils/time.d.ts +1 -3
  217. package/package.json +7 -7
  218. package/dist/cdn/RRBGCYLX.js +0 -2
  219. package/dist/cdn/Y5PMHXQ3.js +0 -4
  220. package/dist/components/calcite-date-picker-day/customElement.d.ts +0 -77
  221. package/dist/components/calcite-date-picker-day/index.d.ts +0 -1
  222. package/dist/components/calcite-date-picker-month/customElement.d.ts +0 -40
  223. package/dist/components/calcite-date-picker-month/index.d.ts +0 -1
  224. package/dist/controllers/useTime.d.ts +0 -136
  225. 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
@@ -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,messages:,scale,text,type,value"],
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,messages:,min,name,numberingSystem,rangeLabels,rangeLabelType,scale,unitLabel,value,valueLabel,valueLabelType"],
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:,messages:,modal,open,opened,outsideCloseDisabled,position,resizable,topLayerDisabled,width,widthScale;setFocus,updateFocusTrapElements,updateSize"],
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],
@@ -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,12 +245,6 @@ interface LuminaCalciteDatePicker extends Partial<Pick<DatePicker, "activeDate"
248
245
  oncalciteDatePickerRangeChange?: EventHandler<DatePicker["calciteDatePickerRangeChange"]>;
249
246
  }
250
247
 
251
- interface LuminaCalciteDatePickerDay extends Required<Pick<DatePickerDay, "day">>, Partial<Pick<DatePickerDay, "active" | "currentMonth" | "disabled" | "endOfRange" | "highlighted" | "range" | "rangeHover" | "scale" | "selected" | "startOfRange" | "value">>, h.JSX.HTMLAttributes<DatePickerDay> {
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
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"]>;
@@ -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" | "shellSizingDataProvider" | "width" | "widthScale">>, h.JSX.HTMLAttributes<ShellPanel> {
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" | "time" | "value">>, h.JSX.HTMLAttributes<TimePicker> {
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;
@@ -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,12 +246,6 @@ interface PreactCalciteDatePicker extends Partial<Pick<DatePicker, "activeDate"
249
246
  oncalciteDatePickerRangeChange?: EventHandler<DatePicker["calciteDatePickerRangeChange"]>;
250
247
  }
251
248
 
252
- interface PreactCalciteDatePickerDay extends Required<Pick<DatePickerDay, "day">>, Partial<Pick<DatePickerDay, "active" | "currentMonth" | "disabled" | "endOfRange" | "highlighted" | "range" | "rangeHover" | "scale" | "selected" | "startOfRange" | "value">>, HTMLAttributes<DatePickerDay> {
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
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"]>;
@@ -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" | "shellSizingDataProvider" | "width" | "widthScale">>, HTMLAttributes<ShellPanel> {
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" | "time" | "value">>, HTMLAttributes<TimePicker> {
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;
@@ -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,12 +246,6 @@ interface ReactCalciteDatePicker extends Partial<Pick<DatePicker, "activeDate" |
249
246
  oncalciteDatePickerRangeChange?: EventHandler<DatePicker["calciteDatePickerRangeChange"]>;
250
247
  }
251
248
 
252
- interface ReactCalciteDatePickerDay extends Required<Pick<DatePickerDay, "day">>, Partial<Pick<DatePickerDay, "active" | "currentMonth" | "disabled" | "endOfRange" | "highlighted" | "range" | "rangeHover" | "scale" | "selected" | "startOfRange" | "value">>, HTMLProps<DatePickerDay> {
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
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"]>;
@@ -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" | "shellSizingDataProvider" | "width" | "widthScale">>, HTMLProps<ShellPanel> {
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" | "time" | "value">>, HTMLProps<TimePicker> {
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;
@@ -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,12 +246,6 @@ interface StencilCalciteDatePicker extends Partial<Pick<DatePicker, "activeDate"
249
246
  onCalciteDatePickerRangeChange?: EventHandler<DatePicker["calciteDatePickerRangeChange"]>;
250
247
  }
251
248
 
252
- interface StencilCalciteDatePickerDay extends Required<Pick<DatePickerDay, "day">>, Partial<Pick<DatePickerDay, "active" | "currentMonth" | "disabled" | "endOfRange" | "highlighted" | "range" | "rangeHover" | "scale" | "selected" | "startOfRange" | "value">>, StencilJsx.HTMLAttributes<DatePickerDay> {
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
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"]>;
@@ -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" | "shellSizingDataProvider" | "width" | "widthScale">>, StencilJsx.HTMLAttributes<ShellPanel> {
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" | "time" | "value">>, StencilJsx.HTMLAttributes<TimePicker> {
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;
@@ -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;
@@ -1,5 +1,9 @@
1
+ /** @internal */
1
2
  export interface HoverRange {
3
+ /** @internal */
2
4
  focused: "end" | "start";
5
+ /** @internal */
3
6
  start?: Date;
7
+ /** @internal */
4
8
  end?: Date;
5
9
  }
@@ -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">;
@@ -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];
@@ -1,5 +1,3 @@
1
1
  export type EffectiveHourFormat = "12" | "24";
2
2
 
3
- export type HourFormat = "user" | EffectiveHourFormat;
4
-
5
- export type Meridiem = "AM" | "PM";
3
+ export type HourFormat = "user" | EffectiveHourFormat;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esri/calcite-components",
3
- "version": "6.0.0-next.45",
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.11",
74
- "@vitest/coverage-v8": "4.1.11",
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.3",
102
+ "rimraf": "6.1.4",
103
103
  "sass-embedded": "1.104.1",
104
104
  "storybook": "10.6.2",
105
- "storybook-addon-rtl": "3.0.1",
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.6",
114
- "vitest": "4.1.11",
113
+ "vite": "7.3.8",
114
+ "vitest": "4.1.12",
115
115
  "vitest-browser-commands": "0.2.1"
116
116
  },
117
117
  "css.customData": [
@@ -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};
@@ -1,4 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import{b as ee}from"./CRPPRHQB.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"./KUEPNPKO.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};