@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
@@ -13,7 +13,9 @@ class ListItemGroup extends LitElement {
13
13
  this.filterHidden = false;
14
14
  this.scale = "m";
15
15
  this.calciteInternalListItemGroupChange = createEvent({ cancelable: false });
16
- this.calciteInternalListItemGroupDefaultSlotChange = createEvent({ cancelable: false });
16
+ this.calciteInternalListItemGroupDefaultSlotChange = createEvent({
17
+ cancelable: false
18
+ });
17
19
  }
18
20
  static {
19
21
  this.properties = { disabled: [7, {}, { reflect: true, type: Boolean }], filterHidden: [7, {}, { reflect: true, type: Boolean }], heading: [3, {}, { reflect: true }], scale: [3, {}, { reflect: true }] };
@@ -1,7 +1,6 @@
1
1
  /// <reference path="../../index.d.ts" />
2
2
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
3
3
  import type { Scale } from "../types.js";
4
- import type { T9nMeta } from "@arcgis/lumina/controllers";
5
4
 
6
5
  declare module "@arcgis/lumina" {
7
6
  export interface DeclareCssProperties {
@@ -39,8 +38,6 @@ export abstract class Loader extends LitElement {
39
38
  * @required
40
39
  */
41
40
  accessor label: string;
42
- /** @internal */
43
- protected messages: Partial<Record<string, never>> & T9nMeta<Record<string, never>>;
44
41
  /**
45
42
  * Specifies the size of the component.
46
43
  *
@@ -2,6 +2,8 @@
2
2
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
3
3
  import type { Scale } from "../types.js";
4
4
 
5
+ export type Layout = "horizontal" | "vertical";
6
+
5
7
  /** @docGroup Menu */
6
8
  export abstract class Menu extends LitElement {
7
9
  /**
@@ -35,6 +37,4 @@ export abstract class Menu extends LitElement {
35
37
  * @see [MDN - focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
36
38
  */
37
39
  setFocus(options?: FocusOptions): Promise<void>;
38
- }
39
-
40
- export type Layout = "horizontal" | "vertical";
40
+ }
@@ -159,7 +159,10 @@ class MenuItem extends LitElement {
159
159
  return html`<li class=${safeClassMap({
160
160
  [CSS.container]: true,
161
161
  [CSS.isParentVertical]: this.topLevelMenuLayout === "vertical"
162
- })} role=none><div class=${safeClassMap(CSS.itemContent)}><a .ariaCurrent=${this.isFocused ? "page" : false} .ariaExpanded=${this.open} .ariaHasPopup=${this.hasSubmenu} .ariaLabel=${this.label} class=${safeClassMap({ [CSS.layoutVertical]: this.layout === "vertical", [CSS.content]: true })} href=${this.href ?? nothing} @click=${this.clickHandler} @keydown=${this.keyDownHandler} rel=${this.rel ?? nothing} role=menuitem .tabIndex=${this.isTopLevelItem ? 0 : -1} target=${this.target ?? nothing} ${ref(this.anchorRef)}>${this.renderItemContent(dir)}</a>${this.href && this.hasSubmenu ? this.renderDropdownAction(dir) : null}</div>${this.renderSubmenuItems(dir)}</li>`;
162
+ })} role=none><div class=${safeClassMap(CSS.itemContent)}><a .ariaCurrent=${this.isFocused ? "page" : false} .ariaExpanded=${this.open} .ariaHasPopup=${this.hasSubmenu} .ariaLabel=${this.label} class=${safeClassMap({
163
+ [CSS.layoutVertical]: this.layout === "vertical",
164
+ [CSS.content]: true
165
+ })} href=${this.href ?? nothing} @click=${this.clickHandler} @keydown=${this.keyDownHandler} rel=${this.rel ?? nothing} role=menuitem .tabIndex=${this.isTopLevelItem ? 0 : -1} target=${this.target ?? nothing} ${ref(this.anchorRef)}>${this.renderItemContent(dir)}</a>${this.href && this.hasSubmenu ? this.renderDropdownAction(dir) : null}</div>${this.renderSubmenuItems(dir)}</li>`;
163
166
  }
164
167
  }
165
168
  customElement("calcite-menu-item", MenuItem);
@@ -3,7 +3,6 @@ import type { PublicLitElement as LitElement } from "@arcgis/lumina";
3
3
  import type { Appearance, Scale } from "../types.js";
4
4
  import type { NumberingSystem } from "../../utils/locale.js";
5
5
  import type { MeterFillType, MeterLabelType } from "./types.js";
6
- import type { T9nMeta } from "@arcgis/lumina/controllers";
7
6
 
8
7
  declare module "@arcgis/lumina" {
9
8
  export interface DeclareCssProperties {
@@ -74,8 +73,6 @@ export abstract class Meter extends LitElement {
74
73
  * @default 100
75
74
  */
76
75
  accessor max: number;
77
- /** @internal */
78
- protected messages: Partial<Record<string, never>> & T9nMeta<Record<string, never>>;
79
76
  /**
80
77
  * Specifies the component's lowest allowed value.
81
78
  *
@@ -173,7 +173,19 @@ class Navigation extends LitElement {
173
173
  [CSS.secondary]: slotName === SLOTS.navSecondary,
174
174
  [CSS.tertiary]: slotName === SLOTS.navTertiary,
175
175
  [CSS.primary]: primaryLevelHasElements
176
- })}><div class=${safeClassMap({ [CSS.hide]: !this.progressSlotHasElement, [SLOTS.progress]: true })}><slot name=${SLOTS.progress} @slotchange=${this.handleProgressSlotChange}></slot></div><div class=${safeClassMap({ [CSS.containerContent]: true, [CSS.hasProgress]: this.progressSlotHasElement })}>${this.renderMenuAction()}<div class=${safeClassMap({ [CSS.hide]: !this.logoSlotHasElements, [SLOTS.logo]: true })}><slot name=${SLOTS.logo} @slotchange=${this.handleLogoSlotChange}></slot></div><slot name=${SLOTS.contentStart} @slotchange=${this.handleContentStartSlotChange}></slot><slot name=${SLOTS.contentCenter} @slotchange=${this.handleContentCenterSlotChange}></slot><slot name=${SLOTS.contentEnd} @slotchange=${this.handleContentEndSlotChange}></slot><div class=${safeClassMap({ [CSS.hide]: !this.userSlotHasElements, [SLOTS.user]: true })}><slot name=${SLOTS.user} @slotchange=${this.handleUserSlotChange}></slot></div></div></div><slot name=${SLOTS.navSecondary} @slotchange=${this.handleSecondarySlotChange}></slot><slot name=${SLOTS.navTertiary} @slotchange=${this.handleTertiarySlotChange}></slot>`;
176
+ })}><div class=${safeClassMap({
177
+ [CSS.hide]: !this.progressSlotHasElement,
178
+ [SLOTS.progress]: true
179
+ })}><slot name=${SLOTS.progress} @slotchange=${this.handleProgressSlotChange}></slot></div><div class=${safeClassMap({
180
+ [CSS.containerContent]: true,
181
+ [CSS.hasProgress]: this.progressSlotHasElement
182
+ })}>${this.renderMenuAction()}<div class=${safeClassMap({
183
+ [CSS.hide]: !this.logoSlotHasElements,
184
+ [SLOTS.logo]: true
185
+ })}><slot name=${SLOTS.logo} @slotchange=${this.handleLogoSlotChange}></slot></div><slot name=${SLOTS.contentStart} @slotchange=${this.handleContentStartSlotChange}></slot><slot name=${SLOTS.contentCenter} @slotchange=${this.handleContentCenterSlotChange}></slot><slot name=${SLOTS.contentEnd} @slotchange=${this.handleContentEndSlotChange}></slot><div class=${safeClassMap({
186
+ [CSS.hide]: !this.userSlotHasElements,
187
+ [SLOTS.user]: true
188
+ })}><slot name=${SLOTS.user} @slotchange=${this.handleUserSlotChange}></slot></div></div></div><slot name=${SLOTS.navSecondary} @slotchange=${this.handleSecondarySlotChange}></slot><slot name=${SLOTS.navTertiary} @slotchange=${this.handleTertiarySlotChange}></slot>`;
177
189
  }
178
190
  }
179
191
  customElement("calcite-navigation", Navigation);
@@ -246,7 +246,10 @@ class Panel extends LitElement {
246
246
  const iconNode = icon ? html`<calcite-icon class=${safeClassMap(CSS.icon)} .flipRtl=${this.iconFlipRtl} .icon=${icon} .scale=${getIconScale(scale)}></calcite-icon>` : null;
247
247
  const headingNode = Heading({ class: CSS.heading, hidden: !showHeaderHeading, id: IDS.heading, level: headingLevel, children: html`<slot .hidden=${!hasHeaderHeading} name=${SLOTS.heading} @slotchange=${this.handleHeaderHeadingSlotChange}></slot>${!hasHeaderHeading ? heading : null}` });
248
248
  const descriptionNode = html`<span class=${safeClassMap(CSS.description)} .hidden=${!showHeaderDescription}><slot .hidden=${!hasHeaderDescription} name=${SLOTS.description} @slotchange=${this.handleHeaderDescriptionSlotChange}></slot>${!hasHeaderDescription ? description : null}</span>`;
249
- return keyed("header-content", html`<div class=${safeClassMap({ [CSS.headerContent]: true, [CSS.headerNonSlottedContent]: true })} .hidden=${hasHeaderContent || !showHeaderTextContent}>${iconNode}<div class=${safeClassMap(CSS.headingTextContent)}>${headingNode}${descriptionNode}</div></div>`);
249
+ return keyed("header-content", html`<div class=${safeClassMap({
250
+ [CSS.headerContent]: true,
251
+ [CSS.headerNonSlottedContent]: true
252
+ })} .hidden=${hasHeaderContent || !showHeaderTextContent}>${iconNode}<div class=${safeClassMap(CSS.headingTextContent)}>${headingNode}${descriptionNode}</div></div>`);
250
253
  }
251
254
  renderActionBar() {
252
255
  return html`<div class=${safeClassMap(CSS.actionBarContainer)} .hidden=${!this.hasActionBar}><slot name=${SLOTS.actionBar} @slotchange=${this.handleActionBarSlotChange}></slot></div>`;
@@ -3,7 +3,6 @@ import type { PublicLitElement as LitElement } from "@arcgis/lumina";
3
3
  import type { Height, LogicalFlowPosition, Scale, Width } from "../types.js";
4
4
  import type { FocusTrapOptions } from "../../controllers/useFocusTrap.js";
5
5
  import type { DisplayMode } from "./types.js";
6
- import type { T9nMeta } from "@arcgis/lumina/controllers";
7
6
 
8
7
  declare module "@arcgis/lumina" {
9
8
  export interface DeclareCssProperties {
@@ -90,8 +89,6 @@ export abstract class Sheet extends LitElement {
90
89
  * _**Note**: Individual message keys may change between releases._
91
90
  */
92
91
  accessor messageOverrides: { resizeEnabled?: string | undefined; };
93
- /** @internal */
94
- protected messages: Partial<{ resizeEnabled: string; }> & T9nMeta<{ resizeEnabled: string; }>;
95
92
  /**
96
93
  * When `true`, displays a scrim blocking interaction underneath the component.
97
94
  *
@@ -55,8 +55,14 @@ class Sheet extends LitElement {
55
55
  this.sizeOverride = useSizeOverride({
56
56
  targetElement: this.contentRef,
57
57
  getBounds: () => ({
58
- inline: { min: this.resizeValues.minInlineSize, max: this.resizeValues.maxInlineSize },
59
- block: { min: this.resizeValues.minBlockSize, max: this.resizeValues.maxBlockSize }
58
+ inline: {
59
+ min: this.resizeValues.minInlineSize,
60
+ max: this.resizeValues.maxInlineSize
61
+ },
62
+ block: {
63
+ min: this.resizeValues.minBlockSize,
64
+ max: this.resizeValues.maxBlockSize
65
+ }
60
66
  }),
61
67
  onResize: (resizeValues) => {
62
68
  this.resizeValues = { ...resizeValues };
@@ -252,16 +258,29 @@ class Sheet extends LitElement {
252
258
  return;
253
259
  }
254
260
  const rtl = this.direction === "rtl";
255
- const restrictSizeMin = this.resizeValues.minInlineSize === null || this.resizeValues.minBlockSize === null ? void 0 : { width: this.resizeValues.minInlineSize, height: this.resizeValues.minBlockSize };
256
- const restrictSizeMax = this.resizeValues.maxInlineSize === null || this.resizeValues.maxBlockSize === null ? void 0 : { width: this.resizeValues.maxInlineSize, height: this.resizeValues.maxBlockSize };
257
- this.interaction = interact(contentRef.value, { context: el.ownerDocument }).resizable({
261
+ const restrictSizeMin = this.resizeValues.minInlineSize === null || this.resizeValues.minBlockSize === null ? void 0 : {
262
+ width: this.resizeValues.minInlineSize,
263
+ height: this.resizeValues.minBlockSize
264
+ };
265
+ const restrictSizeMax = this.resizeValues.maxInlineSize === null || this.resizeValues.maxBlockSize === null ? void 0 : {
266
+ width: this.resizeValues.maxInlineSize,
267
+ height: this.resizeValues.maxBlockSize
268
+ };
269
+ this.interaction = interact(contentRef.value, {
270
+ context: el.ownerDocument
271
+ }).resizable({
258
272
  edges: {
259
273
  top: position === "block-end" ? resizeHandleEl : false,
260
274
  right: position === (rtl ? "inline-end" : "inline-start") ? resizeHandleEl : false,
261
275
  bottom: position === "block-start" ? resizeHandleEl : false,
262
276
  left: position === (rtl ? "inline-start" : "inline-end") ? resizeHandleEl : false
263
277
  },
264
- modifiers: [interact.modifiers.restrictSize({ min: restrictSizeMin, max: restrictSizeMax })],
278
+ modifiers: [
279
+ interact.modifiers.restrictSize({
280
+ min: restrictSizeMin,
281
+ max: restrictSizeMax
282
+ })
283
+ ],
265
284
  listeners: {
266
285
  move: ({ rect }) => {
267
286
  const isBlock = position === "block-start" || position === "block-end";
@@ -223,7 +223,10 @@ class Shell extends LitElement {
223
223
  [CSS.contentBottom]: this.hasOnlyPanelBottom
224
224
  })}>${panelTopSlotNode}${panelBottomSlotNode}</div>`
225
225
  ] : [
226
- keyed(contentContainerKey, html`<div class=${safeClassMap({ [CSS.content]: true, [CSS.contentBottom]: this.hasOnlyPanelBottom })}>${panelTopSlotNode}${defaultSlotContainerNode}${panelBottomSlotNode}</div>`)
226
+ keyed(contentContainerKey, html`<div class=${safeClassMap({
227
+ [CSS.content]: true,
228
+ [CSS.contentBottom]: this.hasOnlyPanelBottom
229
+ })}>${panelTopSlotNode}${defaultSlotContainerNode}${panelBottomSlotNode}</div>`)
227
230
  ];
228
231
  return content;
229
232
  }
@@ -90,8 +90,6 @@ export abstract class ShellPanel extends LitElement {
90
90
  * @default false
91
91
  */
92
92
  accessor resizable: boolean;
93
- /** @internal */
94
- accessor shellSizingDataProvider: ShellSizingDataProvider | undefined;
95
93
  /** Specifies the component's width. */
96
94
  accessor width: Extract<Width, Scale> | undefined;
97
95
  /**
@@ -121,11 +119,4 @@ export abstract class ShellPanel extends LitElement {
121
119
  calciteShellPanelCollapse: ShellPanel["calciteShellPanelCollapse"]["detail"];
122
120
  calciteShellPanelExpand: ShellPanel["calciteShellPanelExpand"]["detail"];
123
121
  };
124
- }
125
-
126
- /** @param axis */
127
- export type ShellSizingDataProvider = (axis: "inline" | "block") => ShellPanelSizingData | null;
128
-
129
- export type ShellPanelSizingData = {
130
- availableSize: number;
131
- };
122
+ }
@@ -26,8 +26,14 @@ class ShellPanel extends LitElement {
26
26
  this.sizeOverride = useSizeOverride({
27
27
  targetElement: this.contentRef,
28
28
  getBounds: () => ({
29
- inline: { min: this.resizeValues.minInlineSize, max: this.getMaxInlineSize() },
30
- block: { min: this.resizeValues.minBlockSize, max: this.getMaxBlockSize() }
29
+ inline: {
30
+ min: this.resizeValues.minInlineSize,
31
+ max: this.getMaxInlineSize()
32
+ },
33
+ block: {
34
+ min: this.resizeValues.minBlockSize,
35
+ max: this.getMaxBlockSize()
36
+ }
31
37
  }),
32
38
  onResize: (resizeValues) => {
33
39
  this.resizeValues = resizeValues;
@@ -256,8 +262,13 @@ class ShellPanel extends LitElement {
256
262
  return;
257
263
  }
258
264
  const rtl = this.direction === "rtl";
259
- const restrictSizeMin = this.resizeValues.minInlineSize === null || this.resizeValues.minBlockSize === null ? void 0 : { width: this.resizeValues.minInlineSize, height: this.resizeValues.minBlockSize };
260
- this.interaction = interact(contentRef.value, { context: el.ownerDocument }).resizable({
265
+ const restrictSizeMin = this.resizeValues.minInlineSize === null || this.resizeValues.minBlockSize === null ? void 0 : {
266
+ width: this.resizeValues.minInlineSize,
267
+ height: this.resizeValues.minBlockSize
268
+ };
269
+ this.interaction = interact(contentRef.value, {
270
+ context: el.ownerDocument
271
+ }).resizable({
261
272
  edges: {
262
273
  top: position === "end" && layout === "horizontal" ? resizeHandle : false,
263
274
  right: position === (rtl ? "end" : "start") && layout === "vertical" ? resizeHandle : false,
@@ -325,7 +336,10 @@ class ShellPanel extends LitElement {
325
336
  if (position === "end") {
326
337
  mainNodes.reverse();
327
338
  }
328
- return html`<div class=${safeClassMap({ [CSS.container]: true, [CSS.floatAll]: displayMode === "float-all" })} ${ref(this.containerRef)}>${mainNodes}</div>`;
339
+ return html`<div class=${safeClassMap({
340
+ [CSS.container]: true,
341
+ [CSS.floatAll]: displayMode === "float-all"
342
+ })} ${ref(this.containerRef)}>${mainNodes}</div>`;
329
343
  }
330
344
  }
331
345
  customElement("calcite-shell-panel", ShellPanel);
@@ -107,10 +107,14 @@ class Slider extends LitElement {
107
107
  this.dragProp = "minValue";
108
108
  this.minHandleRef.value.focus();
109
109
  } else {
110
- this.setValue({ [this.dragProp]: this.clamp(value, this.dragProp) });
110
+ this.setValue({
111
+ [this.dragProp]: this.clamp(value, this.dragProp)
112
+ });
111
113
  }
112
114
  } else {
113
- this.setValue({ [this.dragProp]: this.clamp(value, this.dragProp) });
115
+ this.setValue({
116
+ [this.dragProp]: this.clamp(value, this.dragProp)
117
+ });
114
118
  }
115
119
  }
116
120
  };
@@ -183,7 +187,10 @@ class Slider extends LitElement {
183
187
  this.formAssociated = true;
184
188
  }
185
189
  static {
186
- this.shadowRootOptions = { mode: "open", delegatesFocus: true };
190
+ this.shadowRootOptions = {
191
+ mode: "open",
192
+ delegatesFocus: true
193
+ };
187
194
  }
188
195
  static {
189
196
  this.styles = styles;
@@ -467,7 +474,10 @@ class Slider extends LitElement {
467
474
  }
468
475
  mapToRange(x) {
469
476
  const range = this.max - this.min;
470
- const { left, width } = this.trackRef.value.getBoundingClientRect() || { left: 0, width: 0 };
477
+ const { left, width } = this.trackRef.value.getBoundingClientRect() || {
478
+ left: 0,
479
+ width: 0
480
+ };
471
481
  const percent = (x - left) / width;
472
482
  const mirror = this.shouldMirror();
473
483
  const clampedValue = this.clamp(this.min + range * (mirror ? 1 - percent : percent));
@@ -4,23 +4,39 @@ import type { Scale } from "../types.js";
4
4
  import type { FlipPlacement, LogicalPlacement, OverlayPositioning } from "../../utils/floating-ui.js";
5
5
  import type { MoveEventDetail, SortMenuItem, ReorderEventDetail, AddEventDetail } from "./types.js";
6
6
 
7
+ /** @internal */
7
8
  export abstract class SortHandle extends LitElement {
8
- /** Defines the "Add to" items. */
9
+ /**
10
+ * Defines the "Add to" items.
11
+ *
12
+ * @internal
13
+ */
9
14
  accessor addToItems: SortMenuItem[];
10
15
  /**
11
16
  * When `true`, interaction is prevented and the component is displayed with lower opacity.
12
17
  *
13
18
  * @default false
19
+ * @internal
14
20
  */
15
21
  accessor disabled: boolean;
16
- /** Specifies the component's fallback `placement` for slotted content when its initial or specified `placement` has insufficient space available. */
22
+ /**
23
+ * Specifies the component's fallback `placement` for slotted content when its initial or specified `placement` has insufficient space available.
24
+ *
25
+ * @internal
26
+ */
17
27
  accessor flipPlacements: FlipPlacement[] | undefined;
18
- /** Specifies an accessible label for the component. */
28
+ /**
29
+ * Specifies an accessible label for the component.
30
+ *
31
+ * @internal
32
+ */
19
33
  accessor label: string | undefined;
20
34
  /**
21
35
  * Replace localized message strings with your own strings.
22
36
  *
23
37
  * _**Note**: Individual message keys may change between releases._
38
+ *
39
+ * @internal
24
40
  */
25
41
  accessor messageOverrides: {
26
42
  reorder?: string | undefined;
@@ -33,12 +49,17 @@ export abstract class SortHandle extends LitElement {
33
49
  repositionLabel?: string | undefined;
34
50
  reposition?: string | undefined;
35
51
  };
36
- /** Defines the "Move to" items. */
52
+ /**
53
+ * Defines the "Move to" items.
54
+ *
55
+ * @internal
56
+ */
37
57
  accessor moveToItems: SortMenuItem[];
38
58
  /**
39
59
  * When `true`, displays and positions the component.
40
60
  *
41
61
  * @default false
62
+ * @internal
42
63
  */
43
64
  accessor open: boolean;
44
65
  /**
@@ -49,59 +70,105 @@ export abstract class SortHandle extends LitElement {
49
70
  * - `"fixed"` is used to escape an overflowing parent container, or when the reference element's `position` CSS property is `"fixed"`.
50
71
  *
51
72
  * @default "absolute"
73
+ * @internal
52
74
  */
53
75
  accessor overlayPositioning: OverlayPositioning;
54
76
  /**
55
77
  * Determines where the component will be positioned relative to the container element.
56
78
  *
57
79
  * @default "bottom-start"
80
+ * @internal
58
81
  */
59
82
  accessor placement: LogicalPlacement;
60
83
  /**
61
84
  * Specifies the size of the component.
62
85
  *
63
86
  * @default "m"
87
+ * @internal
64
88
  */
65
89
  accessor scale: Scale;
66
- /** Specifies the handle's current position. */
90
+ /**
91
+ * Specifies the handle's current position.
92
+ *
93
+ * @internal
94
+ */
67
95
  accessor setPosition: number | undefined;
68
- /** Specifies the total number of sortable items. */
96
+ /**
97
+ * Specifies the total number of sortable items.
98
+ *
99
+ * @internal
100
+ */
69
101
  accessor setSize: number | undefined;
70
102
  /**
71
103
  * When `true`, prevents sorting of items.
72
104
  *
73
105
  * @default false
106
+ * @internal
74
107
  */
75
108
  accessor sortDisabled: boolean;
76
109
  /**
77
110
  * When `true` and the component is `open`, disables top layer placement. Only set this if you need complex z-index control or if top layer placement causes conflicts with third-party components.
78
111
  *
79
112
  * @default false
113
+ * @internal
80
114
  * @see [MDN - Top Layer](https://developer.mozilla.org/en-US/docs/Glossary/Top_layer)
81
115
  */
82
116
  accessor topLayerDisabled: boolean;
83
- /** Specifies the width of the component. */
117
+ /**
118
+ * Specifies the width of the component.
119
+ *
120
+ * @internal
121
+ */
84
122
  accessor widthScale: Scale | undefined;
85
123
  /**
86
124
  * Sets focus on the component.
87
125
  *
88
126
  * @param options - When specified an optional object customizes the component's focusing process. When `preventScroll` is `true`, scrolling will not occur on the component.
127
+ * @internal
89
128
  * @see [MDN - focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
90
129
  */
91
130
  setFocus(options?: FocusOptions): Promise<void>;
92
- /** Fires when an add item has been selected. */
131
+ /**
132
+ * Fires when an add item has been selected.
133
+ *
134
+ * @internal
135
+ */
93
136
  readonly calciteSortHandleAdd: import("@arcgis/lumina").TargetedEvent<this, AddEventDetail>;
94
- /** Fires when the component is requested to be closed and before the closing transition begins. */
137
+ /**
138
+ * Fires when the component is requested to be closed and before the closing transition begins.
139
+ *
140
+ * @internal
141
+ */
95
142
  readonly calciteSortHandleBeforeClose: import("@arcgis/lumina").TargetedEvent<this, void>;
96
- /** Fires when the component is added to the DOM but not rendered, and before the opening transition begins. */
143
+ /**
144
+ * Fires when the component is added to the DOM but not rendered, and before the opening transition begins.
145
+ *
146
+ * @internal
147
+ */
97
148
  readonly calciteSortHandleBeforeOpen: import("@arcgis/lumina").TargetedEvent<this, void>;
98
- /** Fires when the component is closed and animation is complete. */
149
+ /**
150
+ * Fires when the component is closed and animation is complete.
151
+ *
152
+ * @internal
153
+ */
99
154
  readonly calciteSortHandleClose: import("@arcgis/lumina").TargetedEvent<this, void>;
100
- /** Fires when a move item has been selected. */
155
+ /**
156
+ * Fires when a move item has been selected.
157
+ *
158
+ * @internal
159
+ */
101
160
  readonly calciteSortHandleMove: import("@arcgis/lumina").TargetedEvent<this, MoveEventDetail>;
102
- /** Fires when the component is open and animation is complete. */
161
+ /**
162
+ * Fires when the component is open and animation is complete.
163
+ *
164
+ * @internal
165
+ */
103
166
  readonly calciteSortHandleOpen: import("@arcgis/lumina").TargetedEvent<this, void>;
104
- /** Fires when a reorder has been selected. */
167
+ /**
168
+ * Fires when a reorder has been selected.
169
+ *
170
+ * @internal
171
+ */
105
172
  readonly calciteSortHandleReorder: import("@arcgis/lumina").TargetedEvent<this, ReorderEventDetail>;
106
173
  readonly "@eventTypes": {
107
174
  calciteSortHandleAdd: SortHandle["calciteSortHandleAdd"]["detail"];
@@ -1,19 +1,30 @@
1
+ /** @internal */
2
+ export type Reorder = "up" | "down" | "top" | "bottom";
3
+
4
+ /** @internal */
1
5
  export interface SortMenuItem {
6
+ /** @internal */
2
7
  element: HTMLElement;
8
+ /** @internal */
3
9
  id: string;
10
+ /** @internal */
4
11
  label: string;
5
12
  }
6
13
 
14
+ /** @internal */
7
15
  export interface ReorderEventDetail {
16
+ /** @internal */
8
17
  reorder: Reorder;
9
18
  }
10
19
 
20
+ /** @internal */
11
21
  export interface MoveEventDetail {
22
+ /** @internal */
12
23
  moveTo: SortMenuItem;
13
24
  }
14
25
 
26
+ /** @internal */
15
27
  export interface AddEventDetail {
28
+ /** @internal */
16
29
  addTo: SortMenuItem;
17
- }
18
-
19
- export type Reorder = "up" | "down" | "top" | "bottom";
30
+ }
@@ -43,7 +43,10 @@ class SplitButton extends LitElement {
43
43
  this.properties = { active: [7, {}, { reflect: true, type: Boolean }], appearance: [3, {}, { reflect: true }], disabled: [7, {}, { reflect: true, type: Boolean }], download: [3, { converter: stringOrBoolean }, { reflect: true }], dropdownIconType: [3, {}, { reflect: true }], dropdownLabel: [3, {}, { reflect: true }], flipPlacements: [0, {}, { attribute: false }], href: [3, {}, { reflect: true }], kind: [3, {}, { reflect: true }], loading: [7, {}, { reflect: true, type: Boolean }], overlayPositioning: [3, {}, { reflect: true }], rel: [3, {}, { reflect: true }], placement: [3, {}, { reflect: true }], primaryIconEnd: [3, {}, { reflect: true }], primaryIconFlipRtl: [3, {}, { reflect: true }], primaryIconStart: [3, {}, { reflect: true }], primaryLabel: [3, {}, { reflect: true }], primaryText: [3, {}, { reflect: true }], scale: [3, {}, { reflect: true }], target: [3, {}, { reflect: true }], topLayerDisabled: [7, {}, { reflect: true, type: Boolean }], width: [3, {}, { reflect: true }] };
44
44
  }
45
45
  static {
46
- this.shadowRootOptions = { mode: "open", delegatesFocus: true };
46
+ this.shadowRootOptions = {
47
+ mode: "open",
48
+ delegatesFocus: true
49
+ };
47
50
  }
48
51
  static {
49
52
  this.styles = styles;
@@ -3,9 +3,17 @@ import type { PublicLitElement as LitElement } from "@arcgis/lumina";
3
3
 
4
4
  declare module "@arcgis/lumina" {
5
5
  export interface DeclareCssProperties {
6
- /** Specifies the inline padding of the component's content. */
6
+ /**
7
+ * Specifies the inline padding of the component's content.
8
+ *
9
+ * @internal
10
+ */
7
11
  "--calcite-stack-padding-inline": "*";
8
- /** Specifies the block padding of the component's content. */
12
+ /**
13
+ * Specifies the block padding of the component's content.
14
+ *
15
+ * @internal
16
+ */
9
17
  "--calcite-stack-padding-block": "*";
10
18
  }
11
19
  }
@@ -16,12 +24,14 @@ export interface DeclareCssProperties {
16
24
  * @slot [content-start] - A slot for adding non-actionable elements before content of the component.
17
25
  * @slot [content-end] - A slot for adding non-actionable elements after content of the component.
18
26
  * @slot [actions-end] - A slot for adding actionable `calcite-action` elements after the content of the component.
27
+ * @internal
19
28
  */
20
29
  export abstract class Stack extends LitElement {
21
30
  /**
22
31
  * When `true`, content interaction is prevented and displayed with lower opacity.
23
32
  *
24
33
  * @default false
34
+ * @internal
25
35
  */
26
36
  accessor disabled: boolean;
27
37
  }
@@ -249,7 +249,10 @@ class Stepper extends LitElement {
249
249
  render() {
250
250
  this.el.ariaLabel = this.messages.label ?? null;
251
251
  this.el.role = "region";
252
- return html`<div class=${safeClassMap({ container: true, [CSS$1.singleView]: this.layout === "horizontal-single" })} ${ref(this.containerRef)}>${this.layout === "horizontal-single" && html`<div class=${safeClassMap({ [CSS$1.stepBarContainer]: true })}>${this.visibleItems.map((item, index) => StepBar({ active: index === this.currentActivePosition, complete: item.complete && index !== this.currentActivePosition && !item.error, disabled: item.disabled && index !== this.currentActivePosition, error: item.error && index !== this.currentActivePosition }))}</div>` || ""}${this.layout === "horizontal-single" && html`<div class=${safeClassMap({ [CSS$1.actionContainer]: true })}>${this.renderAction("start")}${this.renderAction("end")}</div>` || ""}<slot @slotchange=${this.handleDefaultSlotChange}></slot></div>`;
252
+ return html`<div class=${safeClassMap({
253
+ container: true,
254
+ [CSS$1.singleView]: this.layout === "horizontal-single"
255
+ })} ${ref(this.containerRef)}>${this.layout === "horizontal-single" && html`<div class=${safeClassMap({ [CSS$1.stepBarContainer]: true })}>${this.visibleItems.map((item, index) => StepBar({ active: index === this.currentActivePosition, complete: item.complete && index !== this.currentActivePosition && !item.error, disabled: item.disabled && index !== this.currentActivePosition, error: item.error && index !== this.currentActivePosition }))}</div>` || ""}${this.layout === "horizontal-single" && html`<div class=${safeClassMap({ [CSS$1.actionContainer]: true })}>${this.renderAction("start")}${this.renderAction("end")}</div>` || ""}<slot @slotchange=${this.handleDefaultSlotChange}></slot></div>`;
253
256
  }
254
257
  renderAction(position) {
255
258
  const isPositionStart = position === "start";
@@ -32,7 +32,9 @@ class StepperItem extends LitElement {
32
32
  this.numbered = false;
33
33
  this.scale = "m";
34
34
  this.selected = false;
35
- this.calciteInternalStepperItemSelect = createEvent({ cancelable: false });
35
+ this.calciteInternalStepperItemSelect = createEvent({
36
+ cancelable: false
37
+ });
36
38
  this.calciteInternalStepperItemUpdate = createEvent({ cancelable: false });
37
39
  this.calciteStepperItemSelect = createEvent({ cancelable: false });
38
40
  this.listenOn(document.body, "calciteInternalStepperItemChange", this.updateActiveItemOnChange);
@@ -43,7 +43,9 @@ class TabNav extends LitElement {
43
43
  this.position = "bottom";
44
44
  this.scale = "m";
45
45
  this.selectedTitle = null;
46
- this.calciteInternalTabChange = createEvent({ cancelable: false });
46
+ this.calciteInternalTabChange = createEvent({
47
+ cancelable: false
48
+ });
47
49
  this.calciteInternalTabNavSlotChange = createEvent();
48
50
  this.calciteTabChange = createEvent({ cancelable: false });
49
51
  this.listen("calciteInternalTabsFocusPrevious", this.focusPreviousTabHandler);
@@ -58,8 +58,12 @@ class TabTitle extends LitElement {
58
58
  this.calciteInternalTabIconChanged = createEvent({ cancelable: false });
59
59
  this.calciteInternalTabTitleCloseChange = createEvent({ cancelable: false });
60
60
  this.calciteInternalTabTitleRegister = createEvent({ cancelable: false });
61
- this.calciteInternalTabsActivate = createEvent({ cancelable: false });
62
- this.calciteInternalTabsClose = createEvent({ cancelable: false });
61
+ this.calciteInternalTabsActivate = createEvent({
62
+ cancelable: false
63
+ });
64
+ this.calciteInternalTabsClose = createEvent({
65
+ cancelable: false
66
+ });
63
67
  this.calciteInternalTabsFocusFirst = createEvent({ cancelable: false });
64
68
  this.calciteInternalTabsFocusLast = createEvent({ cancelable: false });
65
69
  this.calciteInternalTabsFocusNext = createEvent({ cancelable: false });
@@ -78,7 +78,9 @@ class Table extends LitElement {
78
78
  this.selectionMode = "none";
79
79
  this.striped = false;
80
80
  this.stickyHeader = false;
81
- this.calciteInternalTableRowFocusChange = createEvent({ cancelable: false });
81
+ this.calciteInternalTableRowFocusChange = createEvent({
82
+ cancelable: false
83
+ });
82
84
  this.calciteTablePageChange = createEvent({ cancelable: false });
83
85
  this.calciteTableSelect = createEvent({ cancelable: false });
84
86
  this.listen("calciteTableRowSelect", this.calciteTableRowSelectListener);
@@ -42,7 +42,9 @@ class TableRow extends LitElement {
42
42
  this.numbered = false;
43
43
  this.stickyHeaderEnabled = false;
44
44
  this.selectionMode = "none";
45
- this.calciteInternalTableRowFocusRequest = createEvent({ cancelable: false });
45
+ this.calciteInternalTableRowFocusRequest = createEvent({
46
+ cancelable: false
47
+ });
46
48
  this.calciteInternalTableRowSelect = createEvent({ cancelable: false });
47
49
  this.calciteTableRowSelect = createEvent({ cancelable: false });
48
50
  }