@esri/calcite-components 5.1.0-next.4 → 5.1.0-next.41

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 (483) hide show
  1. package/dist/cdn/{CAAZHUX4.js → 24MYDDCX.js} +1 -1
  2. package/dist/cdn/2CMEG656.js +2 -0
  3. package/dist/cdn/{SYSNPKVM.js → 2ERRVHOG.js} +1 -1
  4. package/dist/cdn/{5WKPS2ZT.js → 2FA462GH.js} +1 -1
  5. package/dist/cdn/2HNLUEFE.js +2 -0
  6. package/dist/cdn/{3W4NT367.js → 2S7YK3XB.js} +1 -1
  7. package/dist/cdn/2ZVRANSV.js +2 -0
  8. package/dist/cdn/3JPPSAVC.js +2 -0
  9. package/dist/cdn/{5TWM6GKK.js → 3PMEQAA4.js} +1 -1
  10. package/dist/cdn/3Z3BLSQV.js +2 -0
  11. package/dist/cdn/45PPV4KB.js +2 -0
  12. package/dist/cdn/{HRUVPNCI.js → 4BN3NFQE.js} +1 -1
  13. package/dist/cdn/{X7JEHH2B.js → 4EQVX3RN.js} +1 -1
  14. package/dist/cdn/4JQR5BFT.js +2 -0
  15. package/dist/cdn/{EW6277QZ.js → 4LF7JOWB.js} +1 -1
  16. package/dist/cdn/4R2OUXIA.js +2 -0
  17. package/dist/cdn/4RK74RAX.js +2 -0
  18. package/dist/cdn/{F7XISEIT.js → 4Y2EOU6I.js} +1 -1
  19. package/dist/cdn/{RRHN2PDB.js → 564OQMMG.js} +1 -1
  20. package/dist/cdn/{WR6QBFCR.js → 5DNRIF2T.js} +1 -1
  21. package/dist/cdn/5LFL3RZM.js +2 -0
  22. package/dist/cdn/{RROGXGP5.js → 5W3NUC35.js} +1 -1
  23. package/dist/cdn/{AYPT6VGV.js → 5XXHCJWT.js} +1 -1
  24. package/dist/cdn/{UTFS3HNB.js → 5YJHDAMC.js} +1 -1
  25. package/dist/cdn/{FAHLSHDH.js → 6ALR2RKE.js} +1 -1
  26. package/dist/cdn/{HXS3PD57.js → 6FYE5EO4.js} +1 -1
  27. package/dist/cdn/{DFXECQ6Z.js → 6HUNPYIU.js} +1 -1
  28. package/dist/cdn/6IXX24B5.js +2 -0
  29. package/dist/cdn/6OIJRLWE.js +2 -0
  30. package/dist/cdn/6OJ75BQL.js +2 -0
  31. package/dist/cdn/6W5UQMJB.js +2 -0
  32. package/dist/cdn/6WINJYQB.js +2 -0
  33. package/dist/cdn/{XDOFVA4S.js → 7FDVLRYA.js} +1 -1
  34. package/dist/cdn/{R6D5F2V7.js → 7MRRY2FG.js} +1 -1
  35. package/dist/cdn/7ZM7AHRH.js +2 -0
  36. package/dist/cdn/A3EVLDK2.js +2 -0
  37. package/dist/cdn/ABWDY3S3.js +2 -0
  38. package/dist/cdn/{GM6FZWSL.js → AGJOJXT7.js} +1 -1
  39. package/dist/cdn/AGT4E2MR.js +2 -0
  40. package/dist/cdn/AKNE222R.js +2 -0
  41. package/dist/cdn/AMBU24RT.js +2 -0
  42. package/dist/cdn/B5HEG3NU.js +2 -0
  43. package/dist/cdn/B6IJE67V.js +2 -0
  44. package/dist/cdn/{7DA7BZM3.js → B74NISG7.js} +1 -1
  45. package/dist/cdn/C3ZMZ6DZ.js +2 -0
  46. package/dist/cdn/CKN7KBBX.js +2 -0
  47. package/dist/cdn/{LGKOEBZ4.js → CQTKLBEA.js} +1 -1
  48. package/dist/cdn/CUEFJU5M.js +2 -0
  49. package/dist/cdn/CX6NYW6U.js +2 -0
  50. package/dist/cdn/DAN2REQH.js +2 -0
  51. package/dist/cdn/{EHIAXJAL.js → DCWL5FUH.js} +1 -1
  52. package/dist/cdn/DM4TDFHC.js +2 -0
  53. package/dist/cdn/DNCPJ3MF.js +2 -0
  54. package/dist/cdn/DQX5RKEG.js +2 -0
  55. package/dist/cdn/DREDLWCT.js +2 -0
  56. package/dist/cdn/{MTNYIXZQ.js → DSZEUV6U.js} +1 -1
  57. package/dist/cdn/DVT6XGRX.js +2 -0
  58. package/dist/cdn/{VLGFWPBL.js → E4G4YBUV.js} +1 -1
  59. package/dist/cdn/EDZNJS2P.js +2 -0
  60. package/dist/cdn/{XLGGANFA.js → EYQJAUTS.js} +1 -1
  61. package/dist/cdn/F2OT6ZS7.js +2 -0
  62. package/dist/cdn/FNUCXO5T.js +2 -0
  63. package/dist/cdn/FO5KZ2B4.js +2 -0
  64. package/dist/cdn/{TCAGY7OI.js → FUAQVSMM.js} +1 -1
  65. package/dist/cdn/FUUTIPHY.js +2 -0
  66. package/dist/cdn/FVJPSUND.js +2 -0
  67. package/dist/cdn/{A4OYPK5D.js → FWIH6QX6.js} +1 -1
  68. package/dist/cdn/FXPBVOSU.js +2 -0
  69. package/dist/cdn/G2N5QQQC.js +2 -0
  70. package/dist/cdn/{Z22BRBT4.js → GA7UTPCH.js} +1 -1
  71. package/dist/cdn/GEWK7CNC.js +2 -0
  72. package/dist/cdn/{QOSBMGOZ.js → GF6UHDWG.js} +1 -1
  73. package/dist/cdn/{TLAXB6HU.js → GPB37IZK.js} +1 -1
  74. package/dist/cdn/GRAXNZVF.js +2 -0
  75. package/dist/cdn/{KKH2HVQW.js → I2C2U4EG.js} +1 -1
  76. package/dist/cdn/{CZYFEVKF.js → II5Q35BQ.js} +1 -1
  77. package/dist/cdn/J75WMG5K.js +2 -0
  78. package/dist/cdn/JGCSNM6I.js +2 -0
  79. package/dist/cdn/{BWUA5WU5.js → JIPOSCDQ.js} +1 -1
  80. package/dist/cdn/{MXRMT4RB.js → JMESEQBV.js} +1 -1
  81. package/dist/cdn/{HCJDTU7F.js → JQ2SIN67.js} +1 -1
  82. package/dist/cdn/{AMZPSRIA.js → JQWPSLVQ.js} +1 -1
  83. package/dist/cdn/{OVU2NGHU.js → JTIOKO5Z.js} +1 -1
  84. package/dist/cdn/K2J5VOGN.js +2 -0
  85. package/dist/cdn/K3TXMTAA.js +2 -0
  86. package/dist/cdn/KGN7LNPW.js +2 -0
  87. package/dist/cdn/{IFHMJCAE.js → KKCLSEGI.js} +1 -1
  88. package/dist/cdn/KT5ZBHYJ.js +2 -0
  89. package/dist/cdn/KZ26ANWU.js +2 -0
  90. package/dist/cdn/LQJ57QQT.js +2 -0
  91. package/dist/cdn/M2AV52WE.js +2 -0
  92. package/dist/cdn/M3F5QBVV.js +2 -0
  93. package/dist/cdn/MDIOA3TB.js +2 -0
  94. package/dist/cdn/MHY3UNM6.js +4 -0
  95. package/dist/cdn/MWRUONCP.js +2 -0
  96. package/dist/cdn/{3GV45XL7.js → MYDCGCGV.js} +1 -1
  97. package/dist/cdn/N7RECCIH.js +2 -0
  98. package/dist/cdn/{ED2GANBI.js → NBJNGORU.js} +1 -1
  99. package/dist/cdn/{ZZNRLKQQ.js → NPL2RAJH.js} +1 -1
  100. package/dist/cdn/{6IZMIAV2.js → NT3HJBBX.js} +1 -1
  101. package/dist/cdn/OW7J4OUX.js +2 -0
  102. package/dist/cdn/PQFBEGNW.js +2 -0
  103. package/dist/cdn/{LIJYENWJ.js → PS3RNTX7.js} +1 -1
  104. package/dist/cdn/{4MFRMO5M.js → Q43RHQO7.js} +1 -1
  105. package/dist/cdn/{ZIOXZBYF.js → QA5WKG2V.js} +1 -1
  106. package/dist/cdn/{YQY6DOSF.js → QB4POCYZ.js} +1 -1
  107. package/dist/cdn/{QKUQGG2M.js → QH3YRMT7.js} +1 -1
  108. package/dist/cdn/QKTDNEVV.js +2 -0
  109. package/dist/cdn/R6ION3EX.js +2 -0
  110. package/dist/cdn/{A22XLAKZ.js → RBNGWGBY.js} +3 -3
  111. package/dist/cdn/{IMOAPVVW.js → RGLX6ZUD.js} +1 -1
  112. package/dist/cdn/RLDG7JKF.js +2 -0
  113. package/dist/cdn/{HYYJZO6T.js → RUV4NSFE.js} +1 -1
  114. package/dist/cdn/RVXWIAKA.js +2 -0
  115. package/dist/cdn/S6W6A66Z.js +2 -0
  116. package/dist/cdn/{Z3IVC2AV.js → S7XRYSLC.js} +1 -1
  117. package/dist/cdn/{7TEW7OYZ.js → SOV3TN4E.js} +1 -1
  118. package/dist/cdn/{XYAZINKS.js → T5FTXYCC.js} +1 -1
  119. package/dist/cdn/T5OE6UXW.js +2 -0
  120. package/dist/cdn/T5QTQYSJ.js +2 -0
  121. package/dist/cdn/{GZNBU3BV.js → TDPJ5IO7.js} +1 -1
  122. package/dist/cdn/{5HQ3O27G.js → TIOSPWRC.js} +1 -1
  123. package/dist/cdn/{KVSU3DLB.js → TRGMORRC.js} +1 -1
  124. package/dist/cdn/TWAQRNOV.js +2 -0
  125. package/dist/cdn/U4RNEEDS.js +2 -0
  126. package/dist/cdn/U66XQE3L.js +2 -0
  127. package/dist/cdn/UWTFVQZZ.js +2 -0
  128. package/dist/cdn/V2V4HEZE.js +2 -0
  129. package/dist/cdn/{IOSK2I75.js → V3MIT2UF.js} +1 -1
  130. package/dist/cdn/{RA4KNUNM.js → V7U5TUOP.js} +1 -1
  131. package/dist/cdn/{7B4D4WJ2.js → VFQ6FGYV.js} +1 -1
  132. package/dist/cdn/{LHJSBAM5.js → VG74OPNP.js} +1 -1
  133. package/dist/cdn/VIV5RTB5.js +2 -0
  134. package/dist/cdn/VJUAN25O.js +2 -0
  135. package/dist/cdn/{CDTY6WOM.js → VS7QNWXR.js} +1 -1
  136. package/dist/cdn/WLMV5NME.js +2 -0
  137. package/dist/cdn/{GJE7FY35.js → XDZU4ZCM.js} +1 -1
  138. package/dist/cdn/{HXVXRVZW.js → XL6HVXTT.js} +1 -1
  139. package/dist/cdn/{5YROPSGB.js → XQ2A5CAB.js} +1 -1
  140. package/dist/cdn/XWE4Y4LH.js +2 -0
  141. package/dist/cdn/Y73IXKXQ.js +2 -0
  142. package/dist/cdn/YK2YMJCK.js +2 -0
  143. package/dist/cdn/YZZ2SHC2.js +2 -0
  144. package/dist/cdn/{QBLAE2O5.js → Z3PR5L6P.js} +1 -1
  145. package/dist/cdn/{MJCRT7H4.js → ZDXIPCCV.js} +1 -1
  146. package/dist/cdn/assets/combobox/t9n/messages.ar.json +1 -1
  147. package/dist/cdn/assets/combobox/t9n/messages.bg.json +1 -1
  148. package/dist/cdn/assets/combobox/t9n/messages.bs.json +1 -1
  149. package/dist/cdn/assets/combobox/t9n/messages.ca.json +1 -1
  150. package/dist/cdn/assets/combobox/t9n/messages.cs.json +1 -1
  151. package/dist/cdn/assets/combobox/t9n/messages.da.json +1 -1
  152. package/dist/cdn/assets/combobox/t9n/messages.de.json +1 -1
  153. package/dist/cdn/assets/combobox/t9n/messages.el.json +1 -1
  154. package/dist/cdn/assets/combobox/t9n/messages.en.json +1 -1
  155. package/dist/cdn/assets/combobox/t9n/messages.es.json +1 -1
  156. package/dist/cdn/assets/combobox/t9n/messages.et.json +1 -1
  157. package/dist/cdn/assets/combobox/t9n/messages.fi.json +1 -1
  158. package/dist/cdn/assets/combobox/t9n/messages.fr.json +1 -1
  159. package/dist/cdn/assets/combobox/t9n/messages.he.json +1 -1
  160. package/dist/cdn/assets/combobox/t9n/messages.hr.json +1 -1
  161. package/dist/cdn/assets/combobox/t9n/messages.hu.json +1 -1
  162. package/dist/cdn/assets/combobox/t9n/messages.id.json +1 -1
  163. package/dist/cdn/assets/combobox/t9n/messages.it.json +1 -1
  164. package/dist/cdn/assets/combobox/t9n/messages.ja.json +1 -1
  165. package/dist/cdn/assets/combobox/t9n/messages.json +1 -1
  166. package/dist/cdn/assets/combobox/t9n/messages.ko.json +1 -1
  167. package/dist/cdn/assets/combobox/t9n/messages.lt.json +1 -1
  168. package/dist/cdn/assets/combobox/t9n/messages.lv.json +1 -1
  169. package/dist/cdn/assets/combobox/t9n/messages.nl.json +1 -1
  170. package/dist/cdn/assets/combobox/t9n/messages.no.json +1 -1
  171. package/dist/cdn/assets/combobox/t9n/messages.pl.json +1 -1
  172. package/dist/cdn/assets/combobox/t9n/messages.pt-BR.json +1 -1
  173. package/dist/cdn/assets/combobox/t9n/messages.pt-PT.json +1 -1
  174. package/dist/cdn/assets/combobox/t9n/messages.ro.json +1 -1
  175. package/dist/cdn/assets/combobox/t9n/messages.ru.json +1 -1
  176. package/dist/cdn/assets/combobox/t9n/messages.sk.json +1 -1
  177. package/dist/cdn/assets/combobox/t9n/messages.sl.json +1 -1
  178. package/dist/cdn/assets/combobox/t9n/messages.sr.json +1 -1
  179. package/dist/cdn/assets/combobox/t9n/messages.sv.json +1 -1
  180. package/dist/cdn/assets/combobox/t9n/messages.th.json +1 -1
  181. package/dist/cdn/assets/combobox/t9n/messages.tr.json +1 -1
  182. package/dist/cdn/assets/combobox/t9n/messages.uk.json +1 -1
  183. package/dist/cdn/assets/combobox/t9n/messages.vi.json +1 -1
  184. package/dist/cdn/assets/combobox/t9n/messages.zh-CN.json +1 -1
  185. package/dist/cdn/assets/combobox/t9n/messages.zh-HK.json +1 -1
  186. package/dist/cdn/assets/combobox/t9n/messages.zh-TW.json +1 -1
  187. package/dist/cdn/assets/icon/arcgisQuickcapture16.json +1 -0
  188. package/dist/cdn/assets/icon/arcgisQuickcapture24.json +1 -0
  189. package/dist/cdn/assets/icon/arcgisQuickcapture32.json +1 -0
  190. package/dist/cdn/assets/icon/arcgisSurvey12316.json +1 -0
  191. package/dist/cdn/assets/icon/arcgisSurvey12324.json +1 -0
  192. package/dist/cdn/assets/icon/arcgisSurvey12332.json +1 -0
  193. package/dist/cdn/assets/icon/gpsReceiver16.json +1 -0
  194. package/dist/cdn/assets/icon/gpsReceiver24.json +1 -0
  195. package/dist/cdn/assets/icon/gpsReceiver32.json +1 -0
  196. package/dist/cdn/assets/icon/layerStreamSetting16.json +1 -0
  197. package/dist/cdn/assets/icon/layerStreamSetting24.json +1 -0
  198. package/dist/cdn/assets/icon/layerStreamSetting32.json +1 -0
  199. package/dist/cdn/assets/icon/publish16.json +1 -0
  200. package/dist/cdn/assets/icon/publish24.json +1 -0
  201. package/dist/cdn/assets/icon/publish32.json +1 -0
  202. package/dist/cdn/assets/icon/totalStation16.json +1 -0
  203. package/dist/cdn/assets/icon/totalStation24.json +1 -0
  204. package/dist/cdn/assets/icon/totalStation32.json +1 -0
  205. package/dist/cdn/assets/icon/velocityServer16.json +1 -0
  206. package/dist/cdn/assets/icon/velocityServer24.json +1 -0
  207. package/dist/cdn/assets/icon/velocityServer32.json +1 -0
  208. package/dist/cdn/index.js +2 -2
  209. package/dist/cdn/main.css +1 -1
  210. package/dist/chunks/ClearButton.js +16 -0
  211. package/dist/chunks/ExpandToggle.js +4 -5
  212. package/dist/chunks/Heading.js +3 -3
  213. package/dist/chunks/dom.js +63 -49
  214. package/dist/chunks/floating-ui.js +3 -6
  215. package/dist/chunks/label.js +1 -1
  216. package/dist/chunks/locale.js +29 -12
  217. package/dist/chunks/manager.js +505 -0
  218. package/dist/chunks/openCloseComponent.js +1 -1
  219. package/dist/chunks/resources5.js +2 -1
  220. package/dist/chunks/resources6.js +2 -0
  221. package/dist/chunks/runtime.js +4 -4
  222. package/dist/chunks/useFocusTrap.js +22 -1
  223. package/dist/chunks/useForm.js +294 -0
  224. package/dist/chunks/useFormTrigger.js +25 -0
  225. package/dist/chunks/useSetFocus.js +1 -1
  226. package/dist/chunks/{sortableComponent.js → useSortable.js} +70 -44
  227. package/dist/chunks/utils2.js +1 -1
  228. package/dist/components/calcite-accordion-item/customElement.d.ts +6 -6
  229. package/dist/components/calcite-accordion-item/customElement.js +4 -3
  230. package/dist/components/calcite-action/customElement.d.ts +14 -12
  231. package/dist/components/calcite-action/customElement.js +8 -14
  232. package/dist/components/calcite-action-bar/customElement.d.ts +12 -3
  233. package/dist/components/calcite-action-bar/customElement.js +43 -15
  234. package/dist/components/calcite-action-group/customElement.d.ts +6 -6
  235. package/dist/components/calcite-action-menu/customElement.d.ts +2 -2
  236. package/dist/components/calcite-action-pad/customElement.d.ts +3 -3
  237. package/dist/components/calcite-action-pad/customElement.js +5 -3
  238. package/dist/components/calcite-alert/customElement.d.ts +2 -2
  239. package/dist/components/calcite-alert/customElement.js +2 -2
  240. package/dist/components/calcite-autocomplete/customElement.d.ts +16 -13
  241. package/dist/components/calcite-autocomplete/customElement.js +23 -32
  242. package/dist/components/calcite-autocomplete-item/customElement.d.ts +6 -0
  243. package/dist/components/calcite-autocomplete-item/customElement.js +9 -4
  244. package/dist/components/calcite-avatar/customElement.js +1 -1
  245. package/dist/components/calcite-block/customElement.d.ts +5 -5
  246. package/dist/components/calcite-block/customElement.js +2 -2
  247. package/dist/components/calcite-block-group/customElement.d.ts +1 -1
  248. package/dist/components/calcite-block-group/customElement.js +5 -12
  249. package/dist/components/calcite-block-group/interfaces.d.ts +2 -6
  250. package/dist/components/calcite-block-section/customElement.d.ts +1 -1
  251. package/dist/components/calcite-button/customElement.d.ts +6 -6
  252. package/dist/components/calcite-button/customElement.js +11 -23
  253. package/dist/components/calcite-card/customElement.d.ts +4 -4
  254. package/dist/components/calcite-card/customElement.js +5 -3
  255. package/dist/components/calcite-card-group/customElement.d.ts +9 -3
  256. package/dist/components/calcite-card-group/customElement.js +11 -1
  257. package/dist/components/calcite-carousel/customElement.d.ts +1 -1
  258. package/dist/components/calcite-carousel/customElement.js +27 -25
  259. package/dist/components/calcite-checkbox/customElement.d.ts +4 -5
  260. package/dist/components/calcite-checkbox/customElement.js +10 -23
  261. package/dist/components/calcite-chip/customElement.d.ts +2 -2
  262. package/dist/components/calcite-chip/customElement.js +2 -2
  263. package/dist/components/calcite-chip-group/customElement.d.ts +1 -1
  264. package/dist/components/calcite-chip-group/customElement.js +1 -1
  265. package/dist/components/calcite-color-picker/customElement.d.ts +2 -2
  266. package/dist/components/calcite-color-picker/customElement.js +4 -2
  267. package/dist/components/calcite-color-picker-hex-input/customElement.d.ts +1 -1
  268. package/dist/components/calcite-color-picker-swatch/customElement.d.ts +1 -1
  269. package/dist/components/calcite-color-picker-swatch/customElement.js +1 -1
  270. package/dist/components/calcite-combobox/customElement.d.ts +16 -6
  271. package/dist/components/calcite-combobox/customElement.js +189 -106
  272. package/dist/components/calcite-combobox/index.js +2 -1
  273. package/dist/components/calcite-combobox-item/customElement.d.ts +1 -1
  274. package/dist/components/calcite-combobox-item/customElement.js +10 -4
  275. package/dist/components/calcite-date-picker/customElement.d.ts +1 -1
  276. package/dist/components/calcite-date-picker-day/customElement.d.ts +1 -1
  277. package/dist/components/calcite-date-picker-month/customElement.js +1 -1
  278. package/dist/components/calcite-date-picker-month-header/customElement.js +1 -1
  279. package/dist/components/calcite-dialog/customElement.d.ts +8 -6
  280. package/dist/components/calcite-dialog/customElement.js +5 -3
  281. package/dist/components/calcite-dropdown/customElement.d.ts +15 -5
  282. package/dist/components/calcite-dropdown/customElement.js +168 -90
  283. package/dist/components/calcite-dropdown-item/customElement.d.ts +2 -2
  284. package/dist/components/calcite-dropdown-item/customElement.js +14 -32
  285. package/dist/components/calcite-fab/customElement.d.ts +1 -1
  286. package/dist/components/calcite-filter/customElement.d.ts +1 -1
  287. package/dist/components/calcite-flow/customElement.d.ts +1 -1
  288. package/dist/components/calcite-flow-item/customElement.d.ts +9 -7
  289. package/dist/components/calcite-flow-item/customElement.js +6 -4
  290. package/dist/components/calcite-handle/customElement.d.ts +1 -1
  291. package/dist/components/calcite-icon/customElement.d.ts +1 -1
  292. package/dist/components/calcite-icon/customElement.js +4 -3
  293. package/dist/components/calcite-inline-editable/customElement.d.ts +1 -1
  294. package/dist/components/calcite-inline-editable/customElement.js +1 -1
  295. package/dist/components/calcite-input/customElement.d.ts +17 -18
  296. package/dist/components/calcite-input/customElement.js +30 -52
  297. package/dist/components/calcite-input/index.js +1 -0
  298. package/dist/components/calcite-input-date-picker/customElement.d.ts +6 -7
  299. package/dist/components/calcite-input-date-picker/customElement.js +34 -28
  300. package/dist/components/calcite-input-message/customElement.d.ts +1 -1
  301. package/dist/components/calcite-input-message/customElement.js +1 -1
  302. package/dist/components/calcite-input-number/customElement.d.ts +13 -14
  303. package/dist/components/calcite-input-number/customElement.js +26 -51
  304. package/dist/components/calcite-input-number/index.js +1 -0
  305. package/dist/components/calcite-input-text/customElement.d.ts +11 -12
  306. package/dist/components/calcite-input-text/customElement.js +20 -44
  307. package/dist/components/calcite-input-text/index.js +1 -0
  308. package/dist/components/calcite-input-time-picker/customElement.d.ts +6 -7
  309. package/dist/components/calcite-input-time-picker/customElement.js +14 -25
  310. package/dist/components/calcite-input-time-zone/customElement.d.ts +5 -6
  311. package/dist/components/calcite-input-time-zone/customElement.js +21 -19
  312. package/dist/components/calcite-link/customElement.d.ts +9 -9
  313. package/dist/components/calcite-link/customElement.js +31 -25
  314. package/dist/components/calcite-list/customElement.d.ts +1 -1
  315. package/dist/components/calcite-list/customElement.js +30 -11
  316. package/dist/components/calcite-list/interfaces.d.ts +2 -6
  317. package/dist/components/calcite-list-item/customElement.d.ts +2 -2
  318. package/dist/components/calcite-list-item/customElement.js +6 -4
  319. package/dist/components/calcite-list-item-group/customElement.js +1 -1
  320. package/dist/components/calcite-loader/customElement.d.ts +1 -1
  321. package/dist/components/calcite-menu/customElement.d.ts +1 -1
  322. package/dist/components/calcite-menu/customElement.js +2 -2
  323. package/dist/components/calcite-menu-item/customElement.d.ts +3 -3
  324. package/dist/components/calcite-menu-item/customElement.js +4 -2
  325. package/dist/components/calcite-meter/customElement.d.ts +7 -1
  326. package/dist/components/calcite-meter/customElement.js +4 -8
  327. package/dist/components/calcite-navigation/customElement.d.ts +2 -2
  328. package/dist/components/calcite-navigation-logo/customElement.d.ts +3 -3
  329. package/dist/components/calcite-navigation-user/customElement.d.ts +1 -1
  330. package/dist/components/calcite-notice/customElement.d.ts +3 -3
  331. package/dist/components/calcite-notice/customElement.js +2 -2
  332. package/dist/components/calcite-pagination/customElement.d.ts +1 -1
  333. package/dist/components/calcite-pagination/customElement.js +1 -1
  334. package/dist/components/calcite-panel/customElement.d.ts +11 -9
  335. package/dist/components/calcite-panel/customElement.js +20 -8
  336. package/dist/components/calcite-popover/customElement.d.ts +2 -2
  337. package/dist/components/calcite-popover/customElement.js +14 -175
  338. package/dist/components/calcite-progress/customElement.js +3 -2
  339. package/dist/components/calcite-radio-button/customElement.d.ts +1 -1
  340. package/dist/components/calcite-radio-button/customElement.js +173 -5
  341. package/dist/components/calcite-radio-button-group/customElement.d.ts +1 -1
  342. package/dist/components/calcite-rating/customElement.d.ts +3 -4
  343. package/dist/components/calcite-rating/customElement.js +12 -18
  344. package/dist/components/calcite-scrim/customElement.js +1 -1
  345. package/dist/components/calcite-segmented-control/customElement.d.ts +3 -4
  346. package/dist/components/calcite-segmented-control/customElement.js +13 -22
  347. package/dist/components/calcite-segmented-control-item/customElement.js +2 -2
  348. package/dist/components/calcite-select/customElement.d.ts +3 -4
  349. package/dist/components/calcite-select/customElement.js +8 -19
  350. package/dist/components/calcite-sheet/customElement.d.ts +2 -2
  351. package/dist/components/calcite-sheet/customElement.js +10 -11
  352. package/dist/components/calcite-shell/customElement.js +1 -1
  353. package/dist/components/calcite-shell-panel/customElement.d.ts +2 -2
  354. package/dist/components/calcite-shell-panel/customElement.js +11 -5
  355. package/dist/components/calcite-slider/customElement.d.ts +3 -4
  356. package/dist/components/calcite-slider/customElement.js +12 -22
  357. package/dist/components/calcite-sort-handle/customElement.d.ts +4 -4
  358. package/dist/components/calcite-sort-handle/customElement.js +44 -17
  359. package/dist/components/calcite-sortable-list/customElement.d.ts +1 -1
  360. package/dist/components/calcite-sortable-list/customElement.js +4 -4
  361. package/dist/components/calcite-split-button/customElement.d.ts +8 -8
  362. package/dist/components/calcite-stepper/customElement.d.ts +2 -2
  363. package/dist/components/calcite-stepper/customElement.js +30 -43
  364. package/dist/components/calcite-stepper-item/customElement.d.ts +1 -1
  365. package/dist/components/calcite-stepper-item/customElement.js +3 -9
  366. package/dist/components/calcite-swatch/customElement.d.ts +1 -1
  367. package/dist/components/calcite-swatch-group/customElement.js +1 -1
  368. package/dist/components/calcite-switch/customElement.d.ts +4 -4
  369. package/dist/components/calcite-switch/customElement.js +9 -8
  370. package/dist/components/calcite-tab/customElement.d.ts +1 -1
  371. package/dist/components/calcite-tab/customElement.js +2 -2
  372. package/dist/components/calcite-tab-nav/customElement.js +4 -2
  373. package/dist/components/calcite-tab-title/customElement.js +6 -4
  374. package/dist/components/calcite-table/customElement.js +1 -1
  375. package/dist/components/calcite-table-cell/customElement.d.ts +2 -2
  376. package/dist/components/calcite-table-cell/customElement.js +3 -2
  377. package/dist/components/calcite-table-header/customElement.d.ts +2 -2
  378. package/dist/components/calcite-table-row/customElement.d.ts +1 -1
  379. package/dist/components/calcite-tabs/customElement.js +1 -1
  380. package/dist/components/calcite-text-area/customElement.d.ts +13 -14
  381. package/dist/components/calcite-text-area/customElement.js +32 -37
  382. package/dist/components/calcite-tile/customElement.d.ts +1 -1
  383. package/dist/components/calcite-time-picker/customElement.d.ts +1 -1
  384. package/dist/components/calcite-time-picker/customElement.js +5 -4
  385. package/dist/components/calcite-tooltip/customElement.d.ts +15 -2
  386. package/dist/components/calcite-tooltip/customElement.js +27 -315
  387. package/dist/components/calcite-tree/customElement.js +1 -1
  388. package/dist/components/calcite-tree-item/customElement.js +5 -4
  389. package/dist/controllers/useSortable.d.ts +7 -0
  390. package/dist/docs/api.json +1 -1
  391. package/dist/docs/docs.json +1 -1
  392. package/dist/docs/supported-browsers.json +1 -1
  393. package/dist/docs/translations.json +1 -1
  394. package/dist/docs/vscode.css-custom-data.json +1 -1
  395. package/dist/docs/vscode.html-custom-data.json +1 -1
  396. package/dist/docs/web-types.json +1 -1
  397. package/dist/loader.js +25 -25
  398. package/dist/types/lumina.d.ts +6 -6
  399. package/dist/types/preact.d.ts +6 -6
  400. package/dist/types/react.d.ts +6 -6
  401. package/dist/types/stencil.d.ts +6 -6
  402. package/package.json +14 -13
  403. package/dist/cdn/256EMMKX.js +0 -2
  404. package/dist/cdn/2ZJ5ADD2.js +0 -2
  405. package/dist/cdn/37APBABQ.js +0 -2
  406. package/dist/cdn/3OIE2RR5.js +0 -2
  407. package/dist/cdn/3TCEXRVB.js +0 -2
  408. package/dist/cdn/43T3HPVW.js +0 -2
  409. package/dist/cdn/4ET37OQN.js +0 -2
  410. package/dist/cdn/4SJVPWEI.js +0 -2
  411. package/dist/cdn/6NGWODBG.js +0 -2
  412. package/dist/cdn/7CLOFSLV.js +0 -2
  413. package/dist/cdn/7CZHE7FZ.js +0 -2
  414. package/dist/cdn/7KCC74EE.js +0 -2
  415. package/dist/cdn/7WPF3NTF.js +0 -2
  416. package/dist/cdn/CPDXUV3S.js +0 -2
  417. package/dist/cdn/EIFNZZAD.js +0 -2
  418. package/dist/cdn/F7SGO63N.js +0 -2
  419. package/dist/cdn/FAOX7WLQ.js +0 -2
  420. package/dist/cdn/FCNCDBSI.js +0 -2
  421. package/dist/cdn/FDGUUC3D.js +0 -2
  422. package/dist/cdn/FRI4RPRX.js +0 -2
  423. package/dist/cdn/G6R56WT6.js +0 -2
  424. package/dist/cdn/GAUJK4Z7.js +0 -2
  425. package/dist/cdn/GDTRICJF.js +0 -2
  426. package/dist/cdn/GFZYTB3O.js +0 -2
  427. package/dist/cdn/GW7IPUQS.js +0 -2
  428. package/dist/cdn/HBVQ77SB.js +0 -2
  429. package/dist/cdn/HD23H6LX.js +0 -2
  430. package/dist/cdn/HVBNJRAQ.js +0 -2
  431. package/dist/cdn/I6CQ5UW5.js +0 -2
  432. package/dist/cdn/ILES2J66.js +0 -2
  433. package/dist/cdn/IR6Z2XSF.js +0 -2
  434. package/dist/cdn/IUAHSZQ6.js +0 -2
  435. package/dist/cdn/JKLX623E.js +0 -2
  436. package/dist/cdn/JLB2FYLL.js +0 -2
  437. package/dist/cdn/JRCEHRYP.js +0 -2
  438. package/dist/cdn/KNDQJ2XX.js +0 -2
  439. package/dist/cdn/L6F7C3O7.js +0 -2
  440. package/dist/cdn/LIZ5IMMJ.js +0 -2
  441. package/dist/cdn/LR57FDVO.js +0 -2
  442. package/dist/cdn/LRL6N22U.js +0 -2
  443. package/dist/cdn/LYKD5N65.js +0 -2
  444. package/dist/cdn/MASQZEFU.js +0 -2
  445. package/dist/cdn/MAXAPKJ5.js +0 -2
  446. package/dist/cdn/MQPFYNQR.js +0 -2
  447. package/dist/cdn/MUGKSK5F.js +0 -2
  448. package/dist/cdn/N6QRZM7N.js +0 -2
  449. package/dist/cdn/NQEVKT6K.js +0 -2
  450. package/dist/cdn/OS7NHPEF.js +0 -2
  451. package/dist/cdn/P7RXOG72.js +0 -2
  452. package/dist/cdn/P7U46JDU.js +0 -2
  453. package/dist/cdn/PBMFDSRI.js +0 -2
  454. package/dist/cdn/PS64W4X6.js +0 -2
  455. package/dist/cdn/Q52SIZ3L.js +0 -2
  456. package/dist/cdn/Q7WYXKFZ.js +0 -2
  457. package/dist/cdn/R3EE76WN.js +0 -2
  458. package/dist/cdn/R6YSSNOG.js +0 -2
  459. package/dist/cdn/RSCA2AM5.js +0 -2
  460. package/dist/cdn/S22OVJTO.js +0 -3
  461. package/dist/cdn/SBPWZDAB.js +0 -2
  462. package/dist/cdn/SFEXJ2YW.js +0 -2
  463. package/dist/cdn/SXVCUXNL.js +0 -2
  464. package/dist/cdn/TPXLAPIE.js +0 -2
  465. package/dist/cdn/TSZAQNPK.js +0 -2
  466. package/dist/cdn/U6LKEFFT.js +0 -2
  467. package/dist/cdn/UAADJQTQ.js +0 -2
  468. package/dist/cdn/ULBA6IRN.js +0 -2
  469. package/dist/cdn/UOIMVKXE.js +0 -2
  470. package/dist/cdn/V4KATS7H.js +0 -2
  471. package/dist/cdn/WAC3IAWB.js +0 -2
  472. package/dist/cdn/WJXZ7BPV.js +0 -2
  473. package/dist/cdn/XSSG2WBN.js +0 -2
  474. package/dist/cdn/YHGC7HRA.js +0 -2
  475. package/dist/cdn/YOYLPMEA.js +0 -2
  476. package/dist/cdn/YUJ33VWR.js +0 -2
  477. package/dist/cdn/Z53AVC5H.js +0 -2
  478. package/dist/cdn/ZQLGBHLZ.js +0 -2
  479. package/dist/cdn/ZXUITROT.js +0 -2
  480. package/dist/chunks/form.js +0 -268
  481. package/dist/chunks/input.js +0 -30
  482. package/dist/utils/form.d.ts +0 -3
  483. package/dist/utils/sortableComponent.d.ts +0 -7
@@ -4,7 +4,8 @@ import { css, html } from "lit";
4
4
  import { keyed } from "lit/directives/keyed.js";
5
5
  import { createRef, ref } from "lit/directives/ref.js";
6
6
  import { LitElement, createEvent, safeClassMap, nothing } from "@arcgis/lumina";
7
- import { b as slotChangeGetAssignedElements, g as getElementDir } from "../../chunks/dom.js";
7
+ import { useDirection } from "@arcgis/lumina/controllers";
8
+ import { a as slotChangeGetAssignedElements } from "../../chunks/dom.js";
8
9
  import { u as useT9n } from "../../chunks/useT9n.js";
9
10
  import { u as useSetFocus } from "../../chunks/useSetFocus.js";
10
11
  const CSS = {
@@ -42,6 +43,7 @@ class MenuItem extends LitElement {
42
43
  constructor() {
43
44
  super();
44
45
  this.anchorRef = createRef();
46
+ this.direction = useDirection();
45
47
  this.dropdownActionRef = createRef();
46
48
  this.messages = useT9n();
47
49
  this.focusSetter = useSetFocus()(this);
@@ -193,7 +195,7 @@ class MenuItem extends LitElement {
193
195
  return html`${this.iconStart && this.renderIconStart() || ""}<div class=${safeClassMap(CSS.textContainer)}><span>${this.text}</span></div>${hasHref && this.renderHrefIcon(dir) || ""}${this.iconEnd && this.renderIconEnd() || ""}${this.breadcrumb ? this.renderBreadcrumbIcon(dir) : null}${!this.href && this.hasSubmenu ? this.renderDropdownIcon(dir) : null}`;
194
196
  }
195
197
  render() {
196
- const dir = getElementDir(this.el);
198
+ const dir = this.direction;
197
199
  return html`<li class=${safeClassMap({
198
200
  [CSS.container]: true,
199
201
  [CSS.isParentVertical]: this.topLevelMenuLayout === "vertical"
@@ -39,6 +39,8 @@ export abstract class Meter extends LitElement {
39
39
  * Specifies the `id` of the component's associated form.
40
40
  *
41
41
  * When not set, the component is associated with its ancestor form element, if one exists.
42
+ *
43
+ * @deprecated in v5.1.0, removal target v6.0.0 - This property has no effect on the component.
42
44
  */
43
45
  accessor form: string;
44
46
  /**
@@ -71,7 +73,11 @@ export abstract class Meter extends LitElement {
71
73
  * @default 0
72
74
  */
73
75
  accessor min: number;
74
- /** Specifies the name of the component. Required to pass the component's `value` on form submission. */
76
+ /**
77
+ * Specifies the name of the component. Required to pass the component's `value` on form submission.
78
+ *
79
+ * @deprecated in v5.1.0, removal target v6.0.0 - This property has no effect on the component.
80
+ */
75
81
  accessor name: string;
76
82
  /** Specifies the Unicode numeral system used by the component for localization. */
77
83
  accessor numberingSystem: NumberingSystem;
@@ -4,9 +4,8 @@ import { keyed } from "lit/directives/keyed.js";
4
4
  import { css, html } from "lit";
5
5
  import { createRef, ref } from "lit/directives/ref.js";
6
6
  import { LitElement, safeClassMap, safeStyleMap } from "@arcgis/lumina";
7
- import { c as connectForm, a as afterConnectDefaultValueSet, d as disconnectForm } from "../../chunks/form.js";
8
7
  import { n as numberStringFormatter } from "../../chunks/locale.js";
9
- import { x as intersects } from "../../chunks/dom.js";
8
+ import { z as intersects } from "../../chunks/dom.js";
10
9
  import { c as createObserver } from "../../chunks/observers.js";
11
10
  import { u as useT9n } from "../../chunks/useT9n.js";
12
11
  const CSS = {
@@ -24,7 +23,7 @@ const CSS = {
24
23
  warning: "fill-warning",
25
24
  danger: "fill-danger"
26
25
  };
27
- const styles = css`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host{display:flex;--calcite-internal-meter-space: var(--calcite-spacing-base);--calcite-internal-meter-height: var(--calcite-spacing-lg);--calcite-internal-meter-font-size: var(--calcite-font-size--1);--calcite-internal-meter-fill-color: var(--calcite-meter-fill-color, var(--calcite-color-brand));--calcite-internal-meter-background-color: var(--calcite-meter-background-color, var(--calcite-color-foreground-2));--calcite-internal-meter-border-color: var(--calcite-meter-border-color, var(--calcite-color-border-3));--calcite-internal-meter-shadow: var(--calcite-meter-shadow, var(--calcite-shadow-none));--calcite-internal-meter-corner-radius: var(--calcite-meter-corner-radius, 9999px);--calcite-internal-meter-value-text-color: var(--calcite-meter-value-text-color, var(--calcite-color-text-1));--calcite-internal-meter-range-text-color: var(--calcite-meter-range-text-color, var(--calcite-color-text-3))}:host([scale=s]){--calcite-internal-meter-height: var(--calcite-spacing-md);--calcite-internal-meter-font-size: var(--calcite-font-size--2)}:host([scale=l]){--calcite-internal-meter-height: var(--calcite-spacing-xxl);--calcite-internal-meter-font-size: var(--calcite-font-size-0)}:host([appearance=solid]){--calcite-internal-meter-border-color: var(--calcite-color-foreground-3);--calcite-internal-meter-background-color: var(--calcite-color-foreground-3)}:host([appearance=outline]){--calcite-internal-meter-background-color: transparent}.fill{--calcite-internal-meter-fill-color: var(--calcite-meter-fill-color, var(--calcite-color-brand))}.fill-danger{--calcite-internal-meter-fill-color: var(--calcite-meter-fill-color, var(--calcite-color-status-danger))}.fill-success{--calcite-internal-meter-fill-color: var(--calcite-meter-fill-color, var(--calcite-color-status-success))}.fill-warning{--calcite-internal-meter-fill-color: var(--calcite-meter-fill-color, var(--calcite-color-status-warning))}.container{position:relative;display:flex;align-items:center;margin:0;inline-size:var(--calcite-container-size-content-fluid);block-size:var(--calcite-internal-meter-height);background-color:var(--calcite-internal-meter-background-color);border:var(--calcite-border-width-sm) solid var(--calcite-internal-meter-border-color);border-radius:var(--calcite-internal-meter-corner-radius);box-shadow:var(--calcite-internal-meter-shadow)}.value-visible{margin-block-start:var(--calcite-spacing-xxl)}.steps-visible{margin-block-end:var(--calcite-spacing-xxl)}.step-line{position:absolute;inset-block:0px;display:block;inline-size:var(--calcite-internal-meter-space);background-color:var(--calcite-internal-meter-border-color)}.label{position:absolute;font-size:var(--calcite-internal-meter-font-size)}.label-hidden{visibility:hidden;opacity:0}.label-value{inset-block-end:calc(100% + .5em);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-internal-meter-value-text-color)}.label-range{color:var(--calcite-internal-meter-range-text-color);inset-block-start:calc(100% + .5em)}.label-range .unit-label{font-weight:var(--calcite-font-weight-medium)}.fill{position:absolute;z-index:var(--calcite-z-index);display:block;transition-timing-function:cubic-bezier(.4,0,.2,1);inset-inline-start:var(--calcite-internal-meter-space);inset-block:var(--calcite-internal-meter-space);border-radius:var(--calcite-internal-meter-corner-radius);max-inline-size:calc(100% - var(--calcite-internal-meter-space) * 2);min-inline-size:calc(var(--calcite-internal-meter-height) - var(--calcite-internal-meter-space) * 2);background-color:var(--calcite-internal-meter-fill-color);transition-property:inline-size,background-color,box-shadow}.solid .fill{inset-block:0;inset-inline-start:0;max-inline-size:100%;min-inline-size:calc(var(--calcite-internal-meter-height));box-shadow:0 0 0 1px var(--calcite-internal-meter-fill-color)}`;
26
+ const styles = css`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host{display:flex;--calcite-internal-meter-space: var(--calcite-spacing-base);--calcite-internal-meter-height: var(--calcite-spacing-lg);--calcite-internal-meter-font-size: var(--calcite-font-size--1);--calcite-internal-meter-fill-color: var(--calcite-meter-fill-color, var(--calcite-color-brand));--calcite-internal-meter-background-color: var(--calcite-meter-background-color, var(--calcite-color-foreground-2));--calcite-internal-meter-border-color: var(--calcite-meter-border-color, var(--calcite-color-border-2));--calcite-internal-meter-shadow: var(--calcite-meter-shadow, var(--calcite-shadow-none));--calcite-internal-meter-corner-radius: var(--calcite-meter-corner-radius, 9999px);--calcite-internal-meter-value-text-color: var(--calcite-meter-value-text-color, var(--calcite-color-text-1));--calcite-internal-meter-range-text-color: var(--calcite-meter-range-text-color, var(--calcite-color-text-3));--calcite-internal-meter-label-line-height: var(--calcite-font-line-height-base)}:host([scale=s]){--calcite-internal-meter-height: var(--calcite-spacing-md);--calcite-internal-meter-font-size: var(--calcite-font-size--2)}:host([scale=l]){--calcite-internal-meter-height: var(--calcite-spacing-xxl);--calcite-internal-meter-font-size: var(--calcite-font-size-0);--calcite-internal-meter-label-line-height: var(--calcite-font-line-height-md)}:host([appearance=solid]){--calcite-internal-meter-border-color: var(--calcite-color-foreground-3);--calcite-internal-meter-background-color: var(--calcite-color-foreground-3)}:host([appearance=outline]){--calcite-internal-meter-background-color: transparent}.fill{--calcite-internal-meter-fill-color: var(--calcite-meter-fill-color, var(--calcite-color-brand))}.fill-danger{--calcite-internal-meter-fill-color: var(--calcite-meter-fill-color, var(--calcite-color-status-danger))}.fill-success{--calcite-internal-meter-fill-color: var(--calcite-meter-fill-color, var(--calcite-color-status-success))}.fill-warning{--calcite-internal-meter-fill-color: var(--calcite-meter-fill-color, var(--calcite-color-status-warning))}.container{position:relative;display:flex;align-items:center;margin:0;inline-size:var(--calcite-container-size-content-fluid);block-size:var(--calcite-internal-meter-height);background-color:var(--calcite-internal-meter-background-color);border:var(--calcite-border-width-sm) solid var(--calcite-internal-meter-border-color);border-radius:var(--calcite-internal-meter-corner-radius);box-shadow:var(--calcite-internal-meter-shadow)}.value-visible{margin-block-start:var(--calcite-spacing-xxl)}.steps-visible{margin-block-end:var(--calcite-spacing-xxl)}.step-line{position:absolute;inset-block:0px;display:block;inline-size:var(--calcite-internal-meter-space);background-color:var(--calcite-internal-meter-border-color)}.label{position:absolute;display:flex;gap:var(--calcite-spacing-xxs);font-size:var(--calcite-internal-meter-font-size);line-height:var(--calcite-internal-meter-label-line-height)}.label-hidden{visibility:hidden;opacity:0}.label-value{inset-block-end:calc(100% + .5em);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-internal-meter-value-text-color)}.label-range{color:var(--calcite-internal-meter-range-text-color);inset-block-start:calc(100% + .5em)}.label-range .unit-label{font-weight:var(--calcite-font-weight-medium)}.fill{position:absolute;z-index:var(--calcite-z-index);display:block;transition-timing-function:cubic-bezier(.4,0,.2,1);inset-inline-start:var(--calcite-internal-meter-space);inset-block:var(--calcite-internal-meter-space);border-radius:var(--calcite-internal-meter-corner-radius);max-inline-size:calc(100% - var(--calcite-internal-meter-space) * 2);min-inline-size:calc(var(--calcite-internal-meter-height) - var(--calcite-internal-meter-space) * 2);background-color:var(--calcite-internal-meter-fill-color);transition-property:inline-size,background-color,box-shadow}.solid .fill{inset-block:0;inset-inline-start:0;max-inline-size:100%;min-inline-size:calc(var(--calcite-internal-meter-height));box-shadow:0 0 0 1px var(--calcite-internal-meter-fill-color)}`;
28
27
  class Meter extends LitElement {
29
28
  constructor() {
30
29
  super(...arguments);
@@ -61,12 +60,10 @@ class Meter extends LitElement {
61
60
  }
62
61
  connectedCallback() {
63
62
  super.connectedCallback();
64
- connectForm(this);
65
63
  this.resizeObserver?.observe(this.el);
66
64
  }
67
65
  load() {
68
66
  this.calculateValues();
69
- afterConnectDefaultValueSet(this, this.value);
70
67
  }
71
68
  willUpdate(changes) {
72
69
  if (changes.has("min") && (this.hasUpdated || this.min !== 0) || changes.has("max") && (this.hasUpdated || this.max !== 100) || changes.has("low") || changes.has("high") || changes.has("value")) {
@@ -81,7 +78,6 @@ class Meter extends LitElement {
81
78
  }
82
79
  disconnectedCallback() {
83
80
  super.disconnectedCallback();
84
- disconnectForm(this);
85
81
  this.resizeObserver?.disconnect();
86
82
  }
87
83
  handleRangeChange() {
@@ -217,13 +213,13 @@ class Meter extends LitElement {
217
213
  renderValueLabel() {
218
214
  const { currentPercent, valueLabelType, unitLabel, value } = this;
219
215
  const label = this.formatLabel(valueLabelType === "percent" ? currentPercent / 100 : value || 0, valueLabelType);
220
- return keyed("low-label-line", html`<div class=${safeClassMap({ [CSS.label]: true, [CSS.labelValue]: true })} ${ref(this.valueLabelRef)}>${label}${unitLabel && valueLabelType !== "percent" && html`<span class=${safeClassMap(CSS.unitLabel)}>&nbsp;${unitLabel}</span>` || ""}</div>`);
216
+ return keyed("low-label-line", html`<div class=${safeClassMap({ [CSS.label]: true, [CSS.labelValue]: true })} ${ref(this.valueLabelRef)}>${label}${unitLabel && valueLabelType !== "percent" && html`<span class=${safeClassMap(CSS.unitLabel)}>${unitLabel}</span>` || ""}</div>`);
221
217
  }
222
218
  renderMinLabel() {
223
219
  const { rangeLabelType, min, minPercent, unitLabel } = this;
224
220
  const style = { insetInlineStart: `${minPercent}%` };
225
221
  const labelMin = this.formatLabel(rangeLabelType === "percent" ? minPercent : min, rangeLabelType);
226
- return keyed("min-label-line", html`<div class=${safeClassMap({ [CSS.label]: true, [CSS.labelRange]: true })} style=${safeStyleMap(style)} ${ref(this.minLabelRef)}>${labelMin}${unitLabel && rangeLabelType !== "percent" && html`<span class=${safeClassMap(CSS.unitLabel)}>&nbsp;${unitLabel}</span>` || ""}</div>`);
222
+ return keyed("min-label-line", html`<div class=${safeClassMap({ [CSS.label]: true, [CSS.labelRange]: true })} style=${safeStyleMap(style)} ${ref(this.minLabelRef)}>${labelMin}${unitLabel && rangeLabelType !== "percent" && html`<span class=${safeClassMap(CSS.unitLabel)}>${unitLabel}</span>` || ""}</div>`);
227
223
  }
228
224
  renderLowLabel() {
229
225
  const { rangeLabelType, low, lowPercent, highPercent, labelFlipProximity } = this;
@@ -3,7 +3,7 @@ import type { PublicLitElement as LitElement } from "@arcgis/lumina";
3
3
 
4
4
  /**
5
5
  * @cssproperty [--calcite-navigation-width] - Specifies the width of the component's content area.
6
- * @cssproperty [--calcite-navigation-background] - [Deprecated] Use `--calcite-navigation-background-color`. Specifies the background color of the component.
6
+ * @cssproperty [--calcite-navigation-background] - [Deprecated] in v3.0.0, removal target v6.0.0 - Use `--calcite-navigation-background-color` instead. Specifies the background color of the component.
7
7
  * @cssproperty [--calcite-navigation-background-color] - Specifies the component's background color.
8
8
  * @cssproperty [--calcite-navigation-border-color] - Specifies the component's border color.
9
9
  * @slot [logo] - A slot for adding a `calcite-logo` component to the primary navigation level.
@@ -29,7 +29,7 @@ export abstract class Navigation extends LitElement {
29
29
  * When `navigationAction` is `true`, sets focus on the component's action element.
30
30
  *
31
31
  * @param options - When specified an optional object customizes the component's focusing process. When `preventScroll` is `true`, scrolling will not occur on the component.
32
- * @mdn [focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
32
+ * @see [MDN - focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
33
33
  */
34
34
  setFocus(options?: FocusOptions): Promise<void>;
35
35
  /** When `navigationAction` is `true`, emits when the displayed action selection changes. */
@@ -37,13 +37,13 @@ export abstract class NavigationLogo extends LitElement {
37
37
  /**
38
38
  * Defines the relationship between the `href` value and the current document.
39
39
  *
40
- * @mdn [rel](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel)
40
+ * @see [MDN - rel](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel)
41
41
  */
42
42
  accessor rel: string;
43
43
  /**
44
44
  * Specifies where to open the linked document defined in the `href` property.
45
45
  *
46
- * @mdn [target](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-target)
46
+ * @see [MDN - target](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-target)
47
47
  */
48
48
  accessor target: string;
49
49
  /** Specifies the `src` to an image. */
@@ -52,7 +52,7 @@ export abstract class NavigationLogo extends LitElement {
52
52
  * Sets focus on the component.
53
53
  *
54
54
  * @param options - When specified an optional object customizes the component's focusing process. When `preventScroll` is `true`, scrolling will not occur on the component.
55
- * @mdn [focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
55
+ * @see [MDN - focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
56
56
  */
57
57
  setFocus(options?: FocusOptions): Promise<void>;
58
58
  }
@@ -36,7 +36,7 @@ export abstract class NavigationUser extends LitElement {
36
36
  * Sets focus on the component.
37
37
  *
38
38
  * @param options - When specified an optional object customizes the component's focusing process. When `preventScroll` is `true`, scrolling will not occur on the component.
39
- * @mdn [focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
39
+ * @see [MDN - focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
40
40
  */
41
41
  setFocus(options?: FocusOptions): Promise<void>;
42
42
  }
@@ -14,13 +14,13 @@ import type { IconName } from "../calcite-icon/interfaces.js";
14
14
  * @cssproperty [--calcite-notice-corner-radius] - Specifies the component's border radius.
15
15
  * @cssproperty [--calcite-notice-close-background-color] - Specifies the background color of the component's close element.
16
16
  * @cssproperty [--calcite-notice-close-background-color-hover] - Specifies the background color of the component's close element when hovered.
17
- * @cssproperty [--calcite-notice-close-background-color-focus] - [Deprecated] Specifies the background color of the component's close element when hovered. Use `--calcite-notice-close-background-color-hover` instead.
17
+ * @cssproperty [--calcite-notice-close-background-color-focus] - [Deprecated] in v5.0.0, removal target v6.0.0 - Use `--calcite-notice-close-background-color-hover` instead. Specifies the background color of the component's close element when hovered.
18
18
  * @cssproperty [--calcite-notice-close-background-color-press] - Specifies the background color of the component's close element when active.
19
19
  * @cssproperty [--calcite-notice-close-icon-color-hover] - Specifies the icon color of the component's close element when hovered or active.
20
20
  * @cssproperty [--calcite-notice-close-icon-color] - Specifies the icon color of the component's close element.
21
21
  * @cssproperty [--calcite-notice-title-text-color] - Specifies the component's slotted `"title"` content text color.
22
22
  * @cssproperty [--calcite-notice-content-text-color] - Specifies the component's slotted `"message"` content text color.
23
- * @cssproperty [--calcite-notice-width] - [Deprecated] Specifies the component's width.
23
+ * @cssproperty [--calcite-notice-width] - [Deprecated] in v3.0.0, removal target v6.0.0 - Specifies the component's width.
24
24
  * @cssproperty [--calcite-notice-shadow] - Specifies the component's shadow.
25
25
  * @slot [title] - A slot for adding a title.
26
26
  * @slot [message] - A slot for adding a message.
@@ -78,7 +78,7 @@ export abstract class Notice extends LitElement {
78
78
  * Sets focus on the component's first focusable element.
79
79
  *
80
80
  * @param options - When specified an optional object customizes the component's focusing process. When `preventScroll` is `true`, scrolling will not occur on the component.
81
- * @mdn [focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
81
+ * @see [MDN - focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
82
82
  */
83
83
  setFocus(options?: FocusOptions): Promise<void>;
84
84
  /** Fires when the component is requested to be closed and before the closing transition begins. */
@@ -3,7 +3,7 @@ import { c as customElement } from "../../chunks/runtime.js";
3
3
  import { css, html } from "lit";
4
4
  import { createRef, ref } from "lit/directives/ref.js";
5
5
  import { LitElement, createEvent, stringOrBoolean, safeClassMap } from "@arcgis/lumina";
6
- import { d as setRequestedIcon, s as slotChangeHasAssignedElement } from "../../chunks/dom.js";
6
+ import { b as setRequestedIcon, s as slotChangeHasAssignedElement } from "../../chunks/dom.js";
7
7
  import { K as KindIcons, a as KindIconsFilled } from "../../chunks/resources4.js";
8
8
  import { t as toggleOpenClose } from "../../chunks/openCloseComponent.js";
9
9
  import { g as getIconScale } from "../../chunks/component.js";
@@ -22,7 +22,7 @@ const CSS = {
22
22
  content: "notice-content",
23
23
  icon: "notice-icon"
24
24
  };
25
- const styles = css`:host([scale=s]){--calcite-notice-spacing-token-small: .5rem;--calcite-notice-spacing-token-large: .75rem}:host([scale=s]) .container slot[name=title]::slotted(*),:host([scale=s]) .container *::slotted([slot=title]){font-size:var(--calcite-font-size-relative-base);line-height:var(--calcite-font-line-height-relative-snug)}:host([scale=s]) .container slot[name=message]::slotted(*),:host([scale=s]) .container *::slotted([slot=message]){font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-relative-snug)}:host([scale=s]) ::slotted(calcite-link){font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-relative-snug)}:host([scale=m]){--calcite-notice-spacing-token-small: .75rem;--calcite-notice-spacing-token-large: 1rem}:host([scale=m]) .container slot[name=title]::slotted(*),:host([scale=m]) .container *::slotted([slot=title]){font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-relative-snug)}:host([scale=m]) .container slot[name=message]::slotted(*),:host([scale=m]) .container *::slotted([slot=message]){font-size:var(--calcite-font-size-relative-base);line-height:var(--calcite-font-line-height-relative-snug)}:host([scale=m]) ::slotted(calcite-link){font-size:var(--calcite-font-size-relative-base);line-height:var(--calcite-font-line-height-relative-snug)}:host([scale=l]){--calcite-notice-spacing-token-small: 1rem;--calcite-notice-spacing-token-large: 1.25rem}:host([scale=l]) .container slot[name=title]::slotted(*),:host([scale=l]) .container *::slotted([slot=title]){font-size:var(--calcite-font-size-relative-lg);line-height:var(--calcite-font-line-height-relative-snug)}:host([scale=l]) .container slot[name=message]::slotted(*),:host([scale=l]) .container *::slotted([slot=message]){font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-relative-snug)}:host([scale=l]) ::slotted(calcite-link){font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-relative-snug)}:host([scale=l]) .notice-close{margin-inline-end:var(--calcite-spacing-sm)}:host([scale=l]) .actions-end{margin-inline-end:var(--calcite-spacing-sm);gap:var(--calcite-spacing-sm)}:host([width=auto]){--calcite-notice-width: auto}:host([width=half]){--calcite-notice-width: 50%}:host([width=full]){--calcite-notice-width: 100%}:host{margin-inline:auto;display:none;max-inline-size:100%;align-items:center;inline-size:var(--calcite-notice-width)}.container{pointer-events:none;margin-block:0px;box-sizing:border-box;display:flex;inline-size:100%;opacity:0;overflow:hidden;max-block-size:0;transition-property:opacity,max-block-size;transition-duration:var(--calcite-animation-timing);text-align:start;border-radius:var(--calcite-notice-corner-radius, var(--calcite-corner-radius-sm));box-shadow:var(--calcite-notice-shadow, var(--calcite-shadow-none))}:host{display:flex}:host([open]) .container{pointer-events:auto;max-block-size:100%;align-items:center;opacity:1;overflow:visible}:host([open][appearance=outline-fill]) .container{border:var(--calcite-border-width-sm) solid}.container slot[name=title]::slotted(*),.container *::slotted([slot=title]){margin:0;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-notice-title-text-color, var(--calcite-color-text-1))}.container slot[name=message]::slotted(*),.container *::slotted([slot=message]){margin:0;display:inline;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-notice-content-text-color, var(--calcite-color-text-2))}:host(:not([kind=neutral])[appearance=solid]) .container slot[name=title]::slotted(*),:host(:not([kind=neutral])[appearance=solid]) .container *::slotted([slot=title]){color:var(--calcite-notice-title-text-color, var(--calcite-color-text-inverse))}:host(:not([kind=neutral])[appearance=solid]) .container slot[name=message]::slotted(*),:host(:not([kind=neutral])[appearance=solid]) .container *::slotted([slot=message]){color:var(--calcite-notice-content-text-color, var(--calcite-color-text-inverse))}.notice-content{box-sizing:border-box;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto;display:flex;min-inline-size:0px;flex-direction:column;overflow-wrap:break-word;flex:1 1 0;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:0 var(--calcite-notice-spacing-token-large)}.notice-content:first-of-type:not(:only-child){padding-inline-start:var(--calcite-notice-spacing-token-large)}.notice-content:only-of-type{padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large)}.notice-icon{display:flex;align-items:center;box-sizing:border-box;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto;padding-inline:var(--calcite-notice-spacing-token-small)}.notice-close{box-sizing:border-box;display:flex;cursor:pointer;align-items:center;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;flex:0 0 auto;margin-inline-end:var(--calcite-spacing-xs);--calcite-action-background-color: var(--calcite-notice-close-background-color);--calcite-action-background-color-hover: var( --calcite-notice-close-background-color-hover, var(--calcite-notice-close-background-color-focus) );--calcite-action-background-color-press: var(--calcite-notice-close-background-color-press);--calcite-action-text-color: var(--calcite-notice-close-icon-color, var(--calcite-color-text-3));--calcite-action-text-color-press: var(--calcite-notice-close-icon-color-hover)}.actions-end{display:flex;align-items:center;flex:0 0 auto;margin-inline-end:var(--calcite-spacing-xs);gap:var(--calcite-spacing-xs)}:host([kind=brand][appearance=outline-fill]) .container{border-color:var(--calcite-notice-border-color, rgb(from var(--calcite-color-brand) r g b/var(--calcite-opacity-half)));background-color:var(--calcite-notice-background-color, color-mix(in srgb, var(--calcite-color-brand) 5%, var(--calcite-color-foreground-1)))}:host([kind=brand][appearance=outline-fill]) .notice-icon,:host([kind=brand][appearance=transparent]) .notice-icon{color:var(--calcite-color-brand)}:host([kind=info][appearance=outline-fill]) .container{border-color:var(--calcite-notice-border-color, rgb(from var(--calcite-color-status-info) r g b/var(--calcite-opacity-half)));background-color:var(--calcite-notice-background-color, color-mix(in srgb, var(--calcite-color-status-info) 5%, var(--calcite-color-foreground-1)))}:host([kind=info][appearance=outline-fill]) .notice-icon,:host([kind=info][appearance=transparent]) .notice-icon{color:var(--calcite-color-status-info)}:host([kind=danger][appearance=outline-fill]) .container{border-color:var(--calcite-notice-border-color, rgb(from var(--calcite-color-status-danger) r g b/var(--calcite-opacity-half)));background-color:var(--calcite-notice-background-color, color-mix(in srgb, var(--calcite-color-status-danger) 5%, var(--calcite-color-foreground-1)))}:host([kind=danger][appearance=outline-fill]) .notice-icon,:host([kind=danger][appearance=transparent]) .notice-icon{color:var(--calcite-color-status-danger)}:host([kind=success][appearance=outline-fill]) .container{border-color:var(--calcite-notice-border-color, rgb(from var(--calcite-color-status-success) r g b/var(--calcite-opacity-half)));background-color:var(--calcite-notice-background-color, color-mix(in srgb, var(--calcite-color-status-success) 5%, var(--calcite-color-foreground-1)))}:host([kind=success][appearance=outline-fill]) .notice-icon,:host([kind=success][appearance=transparent]) .notice-icon{color:var(--calcite-color-status-success)}:host([kind=warning][appearance=outline-fill]) .container{border-color:var(--calcite-notice-border-color, rgb(from var(--calcite-color-status-warning) r g b/var(--calcite-opacity-half)));background-color:var(--calcite-notice-background-color, color-mix(in srgb, var(--calcite-color-status-warning) 5%, var(--calcite-color-foreground-1)))}:host([kind=warning][appearance=outline-fill]) .notice-icon,:host([kind=warning][appearance=transparent]) .notice-icon{color:var(--calcite-color-status-warning)}:host([kind=neutral][appearance=outline-fill]) .container{border-color:var(--calcite-color-border-2);background-color:var(--calcite-notice-background-color, var(--calcite-color-foreground-1))}:host([kind=neutral]) .notice-icon{color:var(--calcite-color-text-3)}:host([appearance=transparent]) .container{background-color:transparent}:host([hidden]){display:none}[hidden]{display:none}`;
25
+ const styles = css`:host([scale=s]){--calcite-notice-spacing-token-small: .5rem;--calcite-notice-spacing-token-large: .75rem}:host([scale=s]) .container slot[name=title]::slotted(*),:host([scale=s]) .container *::slotted([slot=title]){font-size:var(--calcite-font-size-relative-base);line-height:var(--calcite-font-line-height-relative-snug)}:host([scale=s]) .container slot[name=message]::slotted(*),:host([scale=s]) .container *::slotted([slot=message]){font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-relative-snug)}:host([scale=s]) ::slotted(calcite-link){font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-relative-snug)}:host([scale=m]){--calcite-notice-spacing-token-small: .75rem;--calcite-notice-spacing-token-large: 1rem}:host([scale=m]) .container slot[name=title]::slotted(*),:host([scale=m]) .container *::slotted([slot=title]){font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-relative-snug)}:host([scale=m]) .container slot[name=message]::slotted(*),:host([scale=m]) .container *::slotted([slot=message]){font-size:var(--calcite-font-size-relative-base);line-height:var(--calcite-font-line-height-relative-snug)}:host([scale=m]) ::slotted(calcite-link){font-size:var(--calcite-font-size-relative-base);line-height:var(--calcite-font-line-height-relative-snug)}:host([scale=l]){--calcite-notice-spacing-token-small: 1rem;--calcite-notice-spacing-token-large: 1.25rem}:host([scale=l]) .container slot[name=title]::slotted(*),:host([scale=l]) .container *::slotted([slot=title]){font-size:var(--calcite-font-size-relative-lg);line-height:var(--calcite-font-line-height-relative-snug)}:host([scale=l]) .container slot[name=message]::slotted(*),:host([scale=l]) .container *::slotted([slot=message]){font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-relative-snug)}:host([scale=l]) ::slotted(calcite-link){font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-relative-snug)}:host([scale=l]) .notice-close{margin-inline-end:var(--calcite-spacing-sm)}:host([scale=l]) .actions-end{margin-inline-end:var(--calcite-spacing-sm);gap:var(--calcite-spacing-sm)}:host([width=auto]){--calcite-notice-width: auto}:host([width=half]){--calcite-notice-width: 50%}:host([width=full]){--calcite-notice-width: 100%}:host{margin-inline:auto;display:none;max-inline-size:100%;align-items:center;inline-size:var(--calcite-notice-width)}.container{pointer-events:none;margin-block:0px;box-sizing:border-box;display:flex;inline-size:100%;opacity:0;overflow:hidden;max-block-size:0;transition-property:opacity,max-block-size;transition-duration:var(--calcite-animation-timing);text-align:start;border-radius:var(--calcite-notice-corner-radius, var(--calcite-corner-radius-sm));box-shadow:var(--calcite-notice-shadow, var(--calcite-shadow-none))}:host{display:flex}:host([open]) .container{pointer-events:auto;max-block-size:100%;align-items:center;opacity:1;overflow:visible}@starting-style{:host([open]) .container{opacity:0;max-block-size:0}}:host([open][appearance=outline-fill]) .container{border:var(--calcite-border-width-sm) solid}.container slot[name=title]::slotted(*),.container *::slotted([slot=title]){margin:0;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-notice-title-text-color, var(--calcite-color-text-1))}.container slot[name=message]::slotted(*),.container *::slotted([slot=message]){margin:0;display:inline;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-notice-content-text-color, var(--calcite-color-text-2))}:host(:not([kind=neutral])[appearance=solid]) .container slot[name=title]::slotted(*),:host(:not([kind=neutral])[appearance=solid]) .container *::slotted([slot=title]){color:var(--calcite-notice-title-text-color, var(--calcite-color-text-inverse))}:host(:not([kind=neutral])[appearance=solid]) .container slot[name=message]::slotted(*),:host(:not([kind=neutral])[appearance=solid]) .container *::slotted([slot=message]){color:var(--calcite-notice-content-text-color, var(--calcite-color-text-inverse))}.notice-content{box-sizing:border-box;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto;display:flex;min-inline-size:0px;flex-direction:column;overflow-wrap:break-word;flex:1 1 0;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:0 var(--calcite-notice-spacing-token-large)}.notice-content:first-of-type:not(:only-child){padding-inline-start:var(--calcite-notice-spacing-token-large)}.notice-content:only-of-type{padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large)}.notice-icon{display:flex;align-items:center;box-sizing:border-box;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto;padding-inline:var(--calcite-notice-spacing-token-small)}.notice-close{box-sizing:border-box;display:flex;cursor:pointer;align-items:center;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;flex:0 0 auto;margin-inline-end:var(--calcite-spacing-xs);--calcite-action-background-color: var(--calcite-notice-close-background-color);--calcite-action-background-color-hover: var( --calcite-notice-close-background-color-hover, var(--calcite-notice-close-background-color-focus) );--calcite-action-background-color-press: var(--calcite-notice-close-background-color-press);--calcite-action-text-color: var(--calcite-notice-close-icon-color, var(--calcite-color-text-3));--calcite-action-text-color-press: var(--calcite-notice-close-icon-color-hover)}.actions-end{display:flex;align-items:center;flex:0 0 auto;margin-inline-end:var(--calcite-spacing-xs);gap:var(--calcite-spacing-xs)}:host([kind=brand][appearance=outline-fill]) .container{border-color:var(--calcite-notice-border-color, rgb(from var(--calcite-color-brand) r g b/var(--calcite-opacity-half)));background-color:var(--calcite-notice-background-color, color-mix(in srgb, var(--calcite-color-brand) 5%, var(--calcite-color-foreground-1)))}:host([kind=brand][appearance=outline-fill]) .notice-icon,:host([kind=brand][appearance=transparent]) .notice-icon{color:var(--calcite-color-brand)}:host([kind=info][appearance=outline-fill]) .container{border-color:var(--calcite-notice-border-color, rgb(from var(--calcite-color-status-info) r g b/var(--calcite-opacity-half)));background-color:var(--calcite-notice-background-color, color-mix(in srgb, var(--calcite-color-status-info) 5%, var(--calcite-color-foreground-1)))}:host([kind=info][appearance=outline-fill]) .notice-icon,:host([kind=info][appearance=transparent]) .notice-icon{color:var(--calcite-color-status-info)}:host([kind=danger][appearance=outline-fill]) .container{border-color:var(--calcite-notice-border-color, rgb(from var(--calcite-color-status-danger) r g b/var(--calcite-opacity-half)));background-color:var(--calcite-notice-background-color, color-mix(in srgb, var(--calcite-color-status-danger) 5%, var(--calcite-color-foreground-1)))}:host([kind=danger][appearance=outline-fill]) .notice-icon,:host([kind=danger][appearance=transparent]) .notice-icon{color:var(--calcite-color-status-danger)}:host([kind=success][appearance=outline-fill]) .container{border-color:var(--calcite-notice-border-color, rgb(from var(--calcite-color-status-success) r g b/var(--calcite-opacity-half)));background-color:var(--calcite-notice-background-color, color-mix(in srgb, var(--calcite-color-status-success) 5%, var(--calcite-color-foreground-1)))}:host([kind=success][appearance=outline-fill]) .notice-icon,:host([kind=success][appearance=transparent]) .notice-icon{color:var(--calcite-color-status-success)}:host([kind=warning][appearance=outline-fill]) .container{border-color:var(--calcite-notice-border-color, rgb(from var(--calcite-color-status-warning) r g b/var(--calcite-opacity-half)));background-color:var(--calcite-notice-background-color, color-mix(in srgb, var(--calcite-color-status-warning) 5%, var(--calcite-color-foreground-1)))}:host([kind=warning][appearance=outline-fill]) .notice-icon,:host([kind=warning][appearance=transparent]) .notice-icon{color:var(--calcite-color-status-warning)}:host([kind=neutral][appearance=outline-fill]) .container{border-color:var(--calcite-color-border-2);background-color:var(--calcite-notice-background-color, var(--calcite-color-foreground-1))}:host([kind=neutral]) .notice-icon{color:var(--calcite-color-text-3)}:host([appearance=transparent]) .container{background-color:transparent}:host([hidden]){display:none}[hidden]{display:none}`;
26
26
  class Notice extends LitElement {
27
27
  constructor() {
28
28
  super(...arguments);
@@ -65,7 +65,7 @@ export abstract class Pagination extends LitElement {
65
65
  * Sets focus on the component's first focusable element.
66
66
  *
67
67
  * @param options - When specified an optional object customizes the component's focusing process. When `preventScroll` is `true`, scrolling will not occur on the component.
68
- * @mdn [focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
68
+ * @see [MDN - focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
69
69
  */
70
70
  setFocus(options?: FocusOptions): Promise<void>;
71
71
  /** Emits when the selected page changes. */
@@ -25,7 +25,7 @@ const ICONS = {
25
25
  first: "chevron-start",
26
26
  last: "chevron-end"
27
27
  };
28
- const styles = css`:host{display:flex;writing-mode:horizontal-tb}.list{margin:0;display:flex;list-style-type:none;padding:0;column-gap:var(--calcite-spacing-base)}.list-item{margin:0;display:flex;padding:0}.hidden-item{display:none}:host([scale=s]) .chevron,:host([scale=s]) .page,:host([scale=s]) .ellipsis{block-size:1.5rem;padding-inline:.25rem;font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-sm);min-inline-size:1.5rem}:host([scale=m]) .chevron,:host([scale=m]) .page,:host([scale=m]) .ellipsis{block-size:2rem;padding-inline:.5rem;font-size:var(--calcite-font-size-relative-base);line-height:var(--calcite-font-line-height-base);min-inline-size:2rem}:host([scale=l]) .chevron,:host([scale=l]) .page,:host([scale=l]) .ellipsis{block-size:2.75rem;font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md);min-inline-size:2.75rem}:host([scale=l]) .chevron{padding-inline:.625rem}:host([scale=l]) .page,:host([scale=l]) .ellipsis{padding-inline:.75rem}:host button{outline-color:transparent}:host button:focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.chevron,.page,.ellipsis{margin:0;box-sizing:border-box;display:flex;align-items:center;justify-content:center;border-style:none;--tw-border-opacity: 0;background-color:transparent;padding:0;vertical-align:baseline;font-family:inherit;font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md);color:var(--calcite-pagination-color, var(--calcite-color-text-3))}.chevron,.page{cursor:pointer;border-block:2px solid transparent}.chevron:hover,.page:hover{transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;color:var(--calcite-pagination-color-hover, var(--calcite-color-text-1))}.chevron:active,.page:active{color:var(--calcite-pagination-color-hover, var(--calcite-color-text-1))}.page:hover{border-block-end-color:var(--calcite-pagination-color-border-hover, var(--calcite-color-border-2))}.page:active{background-color:var(--calcite-pagination-background-color, var(--calcite-color-foreground-3))}.page.selected{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-pagination-color-hover, var(--calcite-color-text-1));border-block-end-color:var(--calcite-pagination-color-border-active, var(--calcite-color-brand))}.page.selected:focus{border-block-end-width:var(--calcite-spacing-xxs);padding-block-start:var(--calcite-spacing-base)}.chevron:hover{background-color:var(--calcite-pagination-icon-color-background-hover, var(--calcite-color-foreground-2))}.chevron:active{background-color:var(--calcite-pagination-background-color, var(--calcite-color-foreground-3))}.chevron.disabled{pointer-events:none;background-color:transparent}.chevron.disabled>calcite-icon{opacity:var(--calcite-opacity-disabled)}:host([hidden]){display:none}[hidden]{display:none}`;
28
+ const styles = css`:host{display:flex;writing-mode:horizontal-tb}.list{margin:0;display:flex;list-style-type:none;padding:0;column-gap:var(--calcite-spacing-base)}.list-item{margin:0;display:flex;padding:0}.hidden-item{display:none}:host([scale=s]) .chevron,:host([scale=s]) .page,:host([scale=s]) .ellipsis{block-size:1.5rem;padding-inline:.25rem;font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-sm);min-inline-size:1.5rem}:host([scale=m]) .chevron,:host([scale=m]) .page,:host([scale=m]) .ellipsis{block-size:2rem;padding-inline:.5rem;font-size:var(--calcite-font-size-relative-base);line-height:var(--calcite-font-line-height-base);min-inline-size:2rem}:host([scale=l]) .chevron,:host([scale=l]) .page,:host([scale=l]) .ellipsis{block-size:2.75rem;font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md);min-inline-size:2.75rem}:host([scale=l]) .chevron{padding-inline:var(--calcite-space-sm-plus)}:host([scale=l]) .page,:host([scale=l]) .ellipsis{padding-inline:.75rem}:host button{outline-color:transparent}:host button:focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.chevron,.page,.ellipsis{margin:0;box-sizing:border-box;display:flex;align-items:center;justify-content:center;border-style:none;--tw-border-opacity: 0;background-color:transparent;padding:0;vertical-align:baseline;font-family:inherit;font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md);color:var(--calcite-pagination-color, var(--calcite-color-text-3))}.chevron,.page{cursor:pointer;border-block:2px solid transparent}.chevron:hover,.page:hover{transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;color:var(--calcite-pagination-color-hover, var(--calcite-color-text-1))}.chevron:active,.page:active{color:var(--calcite-pagination-color-hover, var(--calcite-color-text-1))}.page:hover{border-block-end-color:var(--calcite-pagination-color-border-hover, var(--calcite-color-border-2))}.page:active{background-color:var(--calcite-pagination-background-color, var(--calcite-color-foreground-3))}.page.selected{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-pagination-color-hover, var(--calcite-color-text-1));border-block-end-color:var(--calcite-pagination-color-border-active, var(--calcite-color-brand))}.page.selected:focus{border-block-end-width:var(--calcite-spacing-xxs);padding-block-start:var(--calcite-spacing-base)}.chevron:hover{background-color:var(--calcite-pagination-icon-color-background-hover, var(--calcite-color-foreground-2))}.chevron:active{background-color:var(--calcite-pagination-background-color, var(--calcite-color-foreground-3))}.chevron.disabled{pointer-events:none;background-color:transparent}.chevron.disabled>calcite-icon{opacity:var(--calcite-opacity-disabled)}:host([hidden]){display:none}[hidden]{display:none}`;
29
29
  const firstAndLastPageCount = 2;
30
30
  const ellipsisCount = 2;
31
31
  const maxItemBreakpoints = {
@@ -12,8 +12,8 @@ import type { IconName } from "../calcite-icon/interfaces.js";
12
12
  * @cssproperty [--calcite-panel-description-text-color] - Specifies the text color of the component's `description`.
13
13
  * @cssproperty [--calcite-panel-border-color] - Specifies the component's border color.
14
14
  * @cssproperty [--calcite-panel-background-color] - Specifies the component's background color.
15
- * @cssproperty [--calcite-panel-content-top-space] - Specifies the padding of the `"content-top"` slot.
16
- * @cssproperty [--calcite-panel-content-bottom-space] - Specifies the padding of the `"content-bottom"` slot.
15
+ * @cssproperty [--calcite-panel-content-top-space] - Specifies the padding of the component's `content-top` slot.
16
+ * @cssproperty [--calcite-panel-content-bottom-space] - Specifies the padding of the component's `content-bottom` slot.
17
17
  * @cssproperty [--calcite-panel-header-background-color] - Specifies the background color of the component's header.
18
18
  * @cssproperty [--calcite-panel-header-action-background-color] - Specifies the background color of the component's `closable`, `collapsible`, and elements slotted in `header-menu-actions`.
19
19
  * @cssproperty [--calcite-panel-header-action-background-color-hover] - Specifies the background color of the component's `closable`, `collapsible`, and elements slotted in `header-menu-actions` when hovered.
@@ -21,13 +21,13 @@ import type { IconName } from "../calcite-icon/interfaces.js";
21
21
  * @cssproperty [--calcite-panel-header-action-text-color] - Specifies the text color of the component's `closable`, `collapsible`, and elements slotted in `header-menu-actions`.
22
22
  * @cssproperty [--calcite-panel-header-action-text-color-press] - Specifies the text color of the component's `closable`, `collapsible`, and elements slotted in `header-menu-actions` when pressed or hovered.
23
23
  * @cssproperty [--calcite-panel-footer-background-color] - Specifies the background color of the component's footer.
24
- * @cssproperty [--calcite-panel-space] - Specifies the padding of the component's `"unnamed (default)"` slot.
25
- * @cssproperty [--calcite-panel-header-content-space] - Specifies the padding of the `"header-content"` slot.
24
+ * @cssproperty [--calcite-panel-space] - Specifies the padding of the component's `unnamed (default)` slot.
25
+ * @cssproperty [--calcite-panel-header-content-space] - Specifies the padding of the component's `header-content` slot.
26
26
  * @cssproperty [--calcite-panel-footer-space] - Specifies the padding of the component's footer.
27
27
  * @cssproperty [--calcite-popover-border-color] - Specifies the border color of the component's internally rendered `calcite-popover`, which is rendered within a `calcite-action` menu when slotted `calcite-action`s are present in the `header-actions-end` slot. Applies to any slotted `calcite-popover`s.
28
- * @cssproperty [--calcite-panel-content-space] - [Deprecated] Use `--calcite-panel-space` instead. Specifies the padding of the component's content.
29
- * @cssproperty [--calcite-panel-footer-padding] - [Deprecated] Use `--calcite-panel-footer-space` instead. Specifies the padding of the component's footer.
30
- * @cssproperty [--calcite-panel-header-border-block-end] - [Deprecated] Use `--calcite-panel-border-color` instead. Specifies the component header's block end border.
28
+ * @cssproperty [--calcite-panel-content-space] - [Deprecated] in v3.0.0, removal target v6.0.0 - Use `--calcite-panel-space` instead. Specifies the padding of the component's content.
29
+ * @cssproperty [--calcite-panel-footer-padding] - [Deprecated] in v3.0.0, removal target v6.0.0 - Use `--calcite-panel-footer-space` instead. Specifies the padding of the component's footer.
30
+ * @cssproperty [--calcite-panel-header-border-block-end] - [Deprecated] in v3.0.0, removal target v6.0.0 - Use `--calcite-panel-border-color` instead. Specifies the component header's block end border.
31
31
  * @slot - A slot for adding custom content.
32
32
  * @slot [action-bar] - A slot for adding a `calcite-action-bar` to the component.
33
33
  * @slot [alerts] - A slot for adding `calcite-alert`s to the component.
@@ -37,6 +37,8 @@ import type { IconName } from "../calcite-icon/interfaces.js";
37
37
  * @slot [header-actions-end] - A slot for adding actions or content to the end side of the header.
38
38
  * @slot [header-content] - A slot for adding custom content to the header.
39
39
  * @slot [header-menu-actions] - A slot for adding an overflow menu with actions inside a `calcite-dropdown`.
40
+ * @slot [heading] - A slot for adding content to the heading area of the default header. Takes precedence over the `heading` property.
41
+ * @slot [description] - A slot for adding content to the description area of the default header. Takes precedence over the `description` property.
40
42
  * @slot [fab] - A slot for adding a `calcite-fab` (floating action button) to perform an action.
41
43
  * @slot [footer] - A slot for adding custom content to the component's footer. Should not be used with the `"footer-start"` or `"footer-end"` slots.
42
44
  * @slot [footer-end] - A slot for adding custom content to a trailing footer. Should not be used with the `"footer"` slot.
@@ -144,7 +146,7 @@ export abstract class Panel extends LitElement {
144
146
  * Only set this if you need complex z-index control or if top layer placement causes conflicts with third-party components.
145
147
  *
146
148
  * @default false
147
- * @mdn [Top Layer](https://developer.mozilla.org/en-US/docs/Glossary/Top_layer)
149
+ * @see [MDN - Top Layer](https://developer.mozilla.org/en-US/docs/Glossary/Top_layer)
148
150
  */
149
151
  accessor topLayerDisabled: boolean;
150
152
  /**
@@ -164,7 +166,7 @@ export abstract class Panel extends LitElement {
164
166
  * Sets focus on the component's first focusable element.
165
167
  *
166
168
  * @param options - When specified an optional object customizes the component's focusing process. When `preventScroll` is `true`, scrolling will not occur on the component.
167
- * @mdn [focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
169
+ * @see [MDN - focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
168
170
  */
169
171
  setFocus(options?: FocusOptions): Promise<void>;
170
172
  /** Fires when the close button is clicked. */
@@ -4,7 +4,7 @@ import { keyed } from "lit/directives/keyed.js";
4
4
  import { css, html, nothing } from "lit";
5
5
  import { LitElement, createEvent, safeClassMap } from "@arcgis/lumina";
6
6
  import { createRef, ref } from "lit/directives/ref.js";
7
- import { s as slotChangeHasAssignedElement, b as slotChangeGetAssignedElements } from "../../chunks/dom.js";
7
+ import { s as slotChangeHasAssignedElement, a as slotChangeGetAssignedElements, A as slotChangeHasTextContent, h as hasVisibleContent } from "../../chunks/dom.js";
8
8
  import { g as getIconScale } from "../../chunks/component.js";
9
9
  import { c as createObserver, u as updateRefObserver } from "../../chunks/observers.js";
10
10
  import { S as SLOTS$1 } from "../../chunks/resources2.js";
@@ -34,6 +34,8 @@ class Panel extends LitElement {
34
34
  this.hasFooterEndContent = false;
35
35
  this.hasFooterStartContent = false;
36
36
  this.hasHeaderContent = false;
37
+ this.hasHeaderDescription = false;
38
+ this.hasHeaderHeading = false;
37
39
  this.hasMenuItems = false;
38
40
  this.hasStartActions = false;
39
41
  this.showHeaderContent = false;
@@ -58,7 +60,7 @@ class Panel extends LitElement {
58
60
  this.listen("calcitePanelClose", this.panelCloseHandler);
59
61
  }
60
62
  static {
61
- this.properties = { hasActionBar: [16, {}, { state: true }], hasContentBottom: [16, {}, { state: true }], hasContentTop: [16, {}, { state: true }], hasEndActions: [16, {}, { state: true }], hasFab: [16, {}, { state: true }], hasFooterContent: [16, {}, { state: true }], hasFooterEndContent: [16, {}, { state: true }], hasFooterStartContent: [16, {}, { state: true }], hasHeaderContent: [16, {}, { state: true }], hasMenuItems: [16, {}, { state: true }], hasStartActions: [16, {}, { state: true }], showHeaderContent: [16, {}, { state: true }], beforeClose: [0, {}, { attribute: false }], closable: [7, {}, { reflect: true, type: Boolean }], closed: [7, {}, { reflect: true, type: Boolean }], collapseDirection: 1, collapsed: [7, {}, { reflect: true, type: Boolean }], collapsible: [7, {}, { reflect: true, type: Boolean }], description: 1, disabled: [7, {}, { reflect: true, type: Boolean }], heading: 1, headingLevel: [11, {}, { type: Number, reflect: true }], icon: [3, { type: String }, { reflect: true }], iconFlipRtl: [7, {}, { reflect: true, type: Boolean }], loading: [7, {}, { reflect: true, type: Boolean }], menuFlipPlacements: [0, {}, { attribute: false }], menuOpen: [7, {}, { reflect: true, type: Boolean }], menuPlacement: [3, {}, { reflect: true }], messageOverrides: [0, {}, { attribute: false }], overlayPositioning: [3, {}, { reflect: true }], scale: [3, {}, { reflect: true }], topLayerDisabled: [7, {}, { reflect: true, type: Boolean }] };
63
+ this.properties = { hasActionBar: [16, {}, { state: true }], hasContentBottom: [16, {}, { state: true }], hasContentTop: [16, {}, { state: true }], hasEndActions: [16, {}, { state: true }], hasFab: [16, {}, { state: true }], hasFooterContent: [16, {}, { state: true }], hasFooterEndContent: [16, {}, { state: true }], hasFooterStartContent: [16, {}, { state: true }], hasHeaderContent: [16, {}, { state: true }], hasHeaderDescription: [16, {}, { state: true }], hasHeaderHeading: [16, {}, { state: true }], hasMenuItems: [16, {}, { state: true }], hasStartActions: [16, {}, { state: true }], showHeaderContent: [16, {}, { state: true }], beforeClose: [0, {}, { attribute: false }], closable: [7, {}, { reflect: true, type: Boolean }], closed: [7, {}, { reflect: true, type: Boolean }], collapseDirection: 1, collapsed: [7, {}, { reflect: true, type: Boolean }], collapsible: [7, {}, { reflect: true, type: Boolean }], description: 1, disabled: [7, {}, { reflect: true, type: Boolean }], heading: 1, headingLevel: [11, {}, { type: Number, reflect: true }], icon: [3, { type: String }, { reflect: true }], iconFlipRtl: [7, {}, { reflect: true, type: Boolean }], loading: [7, {}, { reflect: true, type: Boolean }], menuFlipPlacements: [0, {}, { attribute: false }], menuOpen: [7, {}, { reflect: true, type: Boolean }], menuPlacement: [3, {}, { reflect: true }], messageOverrides: [0, {}, { attribute: false }], overlayPositioning: [3, {}, { reflect: true }], scale: [3, {}, { reflect: true }], topLayerDisabled: [7, {}, { reflect: true, type: Boolean }] };
62
64
  }
63
65
  static {
64
66
  this.styles = [styles$1, styles];
@@ -155,6 +157,12 @@ class Panel extends LitElement {
155
157
  handleHeaderContentSlotChange(event) {
156
158
  this.hasHeaderContent = slotChangeHasAssignedElement(event);
157
159
  }
160
+ handleHeaderDescriptionSlotChange(event) {
161
+ this.hasHeaderDescription = slotChangeHasTextContent(event) || slotChangeGetAssignedElements(event).some(hasVisibleContent);
162
+ }
163
+ handleHeaderHeadingSlotChange(event) {
164
+ this.hasHeaderHeading = slotChangeHasTextContent(event) || slotChangeGetAssignedElements(event).some(hasVisibleContent);
165
+ }
158
166
  handleFabSlotChange(event) {
159
167
  this.hasFab = slotChangeHasAssignedElement(event);
160
168
  }
@@ -185,11 +193,14 @@ class Panel extends LitElement {
185
193
  });
186
194
  }
187
195
  renderHeaderContent() {
188
- const { heading, headingLevel, description, hasHeaderContent, icon, scale } = this;
196
+ const { heading, headingLevel, description, hasHeaderContent, hasHeaderDescription, hasHeaderHeading, icon, scale } = this;
197
+ const showHeaderHeading = !!heading || hasHeaderHeading;
198
+ const showHeaderDescription = !!description || hasHeaderDescription;
199
+ const showHeaderTextContent = showHeaderHeading || showHeaderDescription;
189
200
  const iconNode = icon ? html`<calcite-icon class=${safeClassMap(CSS.icon)} .flipRtl=${this.iconFlipRtl} .icon=${icon} .scale=${getIconScale(scale)}></calcite-icon>` : null;
190
- const headingNode = heading ? Heading({ class: CSS.heading, level: headingLevel, children: heading }) : null;
191
- const descriptionNode = description ? html`<span class=${safeClassMap(CSS.description)}>${description}</span>` : null;
192
- return !hasHeaderContent && (headingNode || descriptionNode) ? keyed("header-content", html`<div class=${safeClassMap({ [CSS.headerContent]: true, [CSS.headerNonSlottedContent]: true })}>${iconNode}<div class=${safeClassMap(CSS.headingTextContent)}>${headingNode}${descriptionNode}</div></div>`) : null;
201
+ const headingNode = Heading({ class: CSS.heading, hidden: !showHeaderHeading, level: headingLevel, children: html`<slot .hidden=${!hasHeaderHeading} name=${SLOTS.heading} @slotchange=${this.handleHeaderHeadingSlotChange}></slot>${!hasHeaderHeading ? heading : null}` });
202
+ const descriptionNode = html`<span class=${safeClassMap(CSS.description)} .hidden=${!showHeaderDescription}><slot .hidden=${!hasHeaderDescription} name=${SLOTS.description} @slotchange=${this.handleHeaderDescriptionSlotChange}></slot>${!hasHeaderDescription ? description : null}</span>`;
203
+ 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>`);
193
204
  }
194
205
  renderActionBar() {
195
206
  return html`<div class=${safeClassMap(CSS.actionBarContainer)} .hidden=${!this.hasActionBar}><slot name=${SLOTS.actionBar} @slotchange=${this.handleActionBarSlotChange}></slot></div>`;
@@ -219,9 +230,10 @@ class Panel extends LitElement {
219
230
  return keyed("menu", html`<calcite-action-menu .flipPlacements=${menuFlipPlacements ?? ["top", "bottom"]} .hidden=${!hasMenuItems} .label=${messages.options} .open=${menuOpen} .overlayPositioning=${this.overlayPositioning} .placement=${menuPlacement} .scale=${scale} .topLayerDisabled=${this.topLayerDisabled}><calcite-action class=${safeClassMap(CSS.menuAction)} .icon=${ICONS.menu} .scale=${scale} slot=${SLOTS$1.trigger} .text=${messages.options}></calcite-action><slot name=${SLOTS.headerMenuActions} @slotchange=${this.handleHeaderMenuActionsSlotChange}></slot></calcite-action-menu>`);
220
231
  }
221
232
  renderHeaderNode() {
222
- const { hasHeaderContent, hasStartActions, hasEndActions, closable, collapsible, hasMenuItems, hasActionBar, hasContentTop } = this;
233
+ const { hasHeaderContent, hasHeaderDescription, hasHeaderHeading, hasStartActions, hasEndActions, closable, collapsible, hasMenuItems, hasActionBar, hasContentTop, heading, description } = this;
223
234
  const headerContentNode = this.renderHeaderContent();
224
- const showHeaderContent = hasHeaderContent || !!headerContentNode || hasStartActions || hasEndActions || collapsible || closable || hasMenuItems || hasActionBar || hasContentTop;
235
+ const hasDefaultHeaderContent = !!heading || !!description || hasHeaderHeading || hasHeaderDescription;
236
+ const showHeaderContent = hasHeaderContent || hasDefaultHeaderContent || hasStartActions || hasEndActions || collapsible || closable || hasMenuItems || hasActionBar || hasContentTop;
225
237
  this.showHeaderContent = showHeaderContent;
226
238
  return html`<header class=${safeClassMap(CSS.header)} .hidden=${!(showHeaderContent || hasActionBar || hasContentTop)}><div class=${safeClassMap({ [CSS.headerContainer]: true, [CSS.headerContainerBorderEnd]: hasActionBar })} .hidden=${!showHeaderContent}>${this.renderHeaderStartActions()}${this.renderHeaderSlottedContent()}${headerContentNode}${this.renderHeaderActionsEnd()}</div>${this.renderActionBar()}${this.renderContentTop()}</header>`;
227
239
  }
@@ -122,7 +122,7 @@ export abstract class Popover extends LitElement {
122
122
  * Only set this if you need complex z-index control or if top layer placement causes conflicts with third-party components.
123
123
  *
124
124
  * @default false
125
- * @mdn [Top Layer](https://developer.mozilla.org/en-US/docs/Glossary/Top_layer)
125
+ * @see [MDN - Top Layer](https://developer.mozilla.org/en-US/docs/Glossary/Top_layer)
126
126
  */
127
127
  accessor topLayerDisabled: boolean;
128
128
  /**
@@ -143,7 +143,7 @@ export abstract class Popover extends LitElement {
143
143
  * Sets focus on the component's first focusable element.
144
144
  *
145
145
  * @param options - When specified an optional object customizes the component's focusing process. When `preventScroll` is `true`, scrolling will not occur on the component.
146
- * @mdn [focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
146
+ * @see [MDN - focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
147
147
  */
148
148
  setFocus(options?: FocusOptions): Promise<void>;
149
149
  /**