@esri/calcite-components 1.0.0-beta.84 → 1.0.0-beta.85

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 (837) hide show
  1. package/dist/calcite/calcite.css +1 -1
  2. package/dist/calcite/calcite.esm.js +2 -2
  3. package/dist/calcite/calcite.js +1 -1
  4. package/dist/calcite/index.esm.js +1 -1
  5. package/dist/calcite/{p-1db25c99.system.entry.js → p-01bc4f23.system.entry.js} +2 -2
  6. package/dist/calcite/{p-82e24e64.system.js → p-0212da73.system.js} +1 -1
  7. package/dist/calcite/{p-8ae680a2.system.entry.js → p-0223a366.system.entry.js} +2 -2
  8. package/dist/calcite/{p-6a554714.entry.js → p-03ab89b3.entry.js} +2 -2
  9. package/dist/calcite/{p-dd5185d6.entry.js → p-03d40265.entry.js} +2 -2
  10. package/dist/calcite/{p-5d7f4169.js → p-03ef196e.js} +1 -1
  11. package/dist/calcite/{p-6a8f1936.system.js → p-072ba3d4.system.js} +2 -2
  12. package/dist/calcite/{p-a92ac42d.system.js → p-07d77019.system.js} +1 -1
  13. package/dist/calcite/{p-49488c34.entry.js → p-07fc31c0.entry.js} +2 -2
  14. package/dist/calcite/{p-ca1b7a2e.js → p-0913167b.js} +1 -1
  15. package/dist/calcite/{p-438d87b0.entry.js → p-0c5db9b8.entry.js} +2 -2
  16. package/dist/calcite/{p-f2384caf.entry.js → p-0e40d02c.entry.js} +2 -2
  17. package/dist/calcite/{p-ee60b60f.system.entry.js → p-0f792340.system.entry.js} +2 -2
  18. package/dist/calcite/p-1027d814.js +6 -0
  19. package/dist/calcite/{p-34e0b58b.js → p-119aebca.js} +2 -2
  20. package/dist/calcite/{p-7ede3d65.system.entry.js → p-1221c17a.system.entry.js} +2 -2
  21. package/dist/calcite/{p-7ec42769.js → p-149936bc.js} +1 -1
  22. package/dist/calcite/{p-25349c89.system.entry.js → p-167a2db7.system.entry.js} +2 -2
  23. package/dist/calcite/{p-7c7ad2d6.entry.js → p-16e47db7.entry.js} +2 -2
  24. package/dist/calcite/{p-6d1c91ee.entry.js → p-170967b2.entry.js} +2 -2
  25. package/dist/calcite/{p-14a22bfc.system.entry.js → p-181ee6d9.system.entry.js} +2 -2
  26. package/dist/calcite/{p-fb97a373.system.entry.js → p-1c5b17ca.system.entry.js} +2 -2
  27. package/dist/calcite/{p-fdc7032c.system.js → p-1c5c525b.system.js} +1 -1
  28. package/dist/calcite/{p-39bb68b3.system.js → p-1cea5244.system.js} +2 -2
  29. package/dist/calcite/{p-c2ed5f67.js → p-1e18dd8f.js} +1 -1
  30. package/dist/calcite/{p-fc6a158c.system.entry.js → p-1fd12e92.system.entry.js} +2 -2
  31. package/dist/calcite/{p-ce34288b.entry.js → p-202aa07d.entry.js} +2 -2
  32. package/dist/calcite/{p-f14e0497.system.entry.js → p-2070ab78.system.entry.js} +2 -2
  33. package/dist/calcite/{p-fbbfde67.system.js → p-20ccf33e.system.js} +2 -2
  34. package/dist/calcite/{p-f8cb1eeb.js → p-222220eb.js} +1 -1
  35. package/dist/calcite/{p-bbd8269c.js → p-2346e8b5.js} +1 -1
  36. package/dist/calcite/{p-51491e10.system.js → p-243cd9e3.system.js} +1 -1
  37. package/dist/calcite/{p-b48feb98.system.entry.js → p-24eaf308.system.entry.js} +2 -2
  38. package/dist/calcite/{p-f6760679.js → p-27434c28.js} +2 -2
  39. package/dist/calcite/p-27aa7d0a.entry.js +6 -0
  40. package/dist/calcite/p-2882a864.js +6 -0
  41. package/dist/calcite/{p-4d9c7cc9.system.js → p-2b0bc91f.system.js} +1 -1
  42. package/dist/calcite/{p-98a2aa34.entry.js → p-2b38a81c.entry.js} +2 -2
  43. package/dist/calcite/{p-0bfe5ca7.entry.js → p-2d888e2f.entry.js} +2 -2
  44. package/dist/calcite/{p-67a0e692.system.entry.js → p-2d906cf6.system.entry.js} +2 -2
  45. package/dist/calcite/{p-c9d73fce.system.entry.js → p-2ff5a1cc.system.entry.js} +2 -2
  46. package/dist/calcite/{p-fca56e68.system.entry.js → p-311ddd75.system.entry.js} +2 -2
  47. package/dist/calcite/{p-5bd80046.entry.js → p-315644dd.entry.js} +2 -2
  48. package/dist/calcite/{p-e956598c.system.entry.js → p-329709c2.system.entry.js} +2 -2
  49. package/dist/calcite/{p-74153f82.js → p-338228cd.js} +2 -2
  50. package/dist/calcite/{p-b3a4497d.entry.js → p-3510aea1.entry.js} +2 -2
  51. package/dist/calcite/{p-891e53dd.system.entry.js → p-35133da2.system.entry.js} +2 -2
  52. package/dist/calcite/{p-aaba2ea0.system.js → p-37e5be23.system.js} +1 -1
  53. package/dist/calcite/{p-549e267e.system.js → p-398535e1.system.js} +1 -1
  54. package/dist/calcite/{p-bc5a7fee.system.entry.js → p-3ab2d1ea.system.entry.js} +2 -2
  55. package/dist/calcite/{p-3d2eebab.system.entry.js → p-3b70be07.system.entry.js} +2 -2
  56. package/dist/calcite/{p-e69d3ca4.system.js → p-3c31971c.system.js} +1 -1
  57. package/dist/calcite/{p-4196e498.system.js → p-3ebbb37d.system.js} +2 -2
  58. package/dist/calcite/{p-4eb531c4.js → p-420a3057.js} +1 -1
  59. package/dist/calcite/{p-9c4aa033.entry.js → p-43aac0ac.entry.js} +2 -2
  60. package/dist/calcite/{p-4f1dbd36.system.entry.js → p-464affb7.system.entry.js} +2 -2
  61. package/dist/calcite/{p-fb0e5ae3.js → p-46696d61.js} +1 -1
  62. package/dist/calcite/{p-d6d814a6.system.js → p-467704c7.system.js} +1 -1
  63. package/dist/calcite/{p-236f1255.system.entry.js → p-47fced58.system.entry.js} +2 -2
  64. package/dist/calcite/{p-890cc5a8.system.entry.js → p-48f4e304.system.entry.js} +2 -2
  65. package/dist/calcite/{p-2ce10f9a.system.js → p-49ac0f0d.system.js} +1 -1
  66. package/dist/calcite/{p-ec8d9088.system.entry.js → p-4b72075a.system.entry.js} +2 -2
  67. package/dist/calcite/{p-9d158b37.system.js → p-4e9df5b8.system.js} +2 -2
  68. package/dist/calcite/{p-4908e3a5.system.js → p-51534de9.system.js} +1 -1
  69. package/dist/calcite/{p-dd1e12e4.system.entry.js → p-51f5e06e.system.entry.js} +3 -3
  70. package/dist/calcite/{p-41cbf505.system.entry.js → p-522b5e9b.system.entry.js} +2 -2
  71. package/dist/calcite/p-529c79b7.js +6 -0
  72. package/dist/calcite/{p-974b7008.system.entry.js → p-53f28012.system.entry.js} +2 -2
  73. package/dist/calcite/{p-cc041a12.system.js → p-584b85e0.system.js} +1 -1
  74. package/dist/calcite/{p-8133b2a5.entry.js → p-5a45c95e.entry.js} +2 -2
  75. package/dist/calcite/{p-aa9ce421.js → p-5d0e2da6.js} +1 -1
  76. package/dist/calcite/{p-a89fc6a1.system.entry.js → p-5e5cafb5.system.entry.js} +2 -2
  77. package/dist/calcite/{p-a0971f99.entry.js → p-5f2a1aeb.entry.js} +2 -2
  78. package/dist/calcite/p-5fc629fa.entry.js +6 -0
  79. package/dist/calcite/{p-99551007.system.entry.js → p-618bd95d.system.entry.js} +3 -3
  80. package/dist/calcite/p-6574a052.system.js +6 -0
  81. package/dist/calcite/{p-13d66ebf.entry.js → p-6b2b5764.entry.js} +2 -2
  82. package/dist/calcite/{p-114d44c3.entry.js → p-6da35717.entry.js} +2 -2
  83. package/dist/calcite/{p-1adea169.system.entry.js → p-6f11a56f.system.entry.js} +2 -2
  84. package/dist/calcite/{p-eccc820a.entry.js → p-70d26d8a.entry.js} +2 -2
  85. package/dist/calcite/{p-bce5ab4f.system.entry.js → p-729af11a.system.entry.js} +3 -3
  86. package/dist/calcite/{p-2e3ffd32.system.js → p-736cba68.system.js} +2 -2
  87. package/dist/calcite/{p-26757de8.entry.js → p-776fdea5.entry.js} +2 -2
  88. package/dist/calcite/{p-00247a8d.system.js → p-781a286e.system.js} +1 -1
  89. package/dist/calcite/p-791b3dac.entry.js +6 -0
  90. package/dist/calcite/{p-14f0920e.system.entry.js → p-79ac98fc.system.entry.js} +2 -2
  91. package/dist/calcite/{p-6e366971.system.entry.js → p-7c60287e.system.entry.js} +2 -2
  92. package/dist/calcite/p-7d570799.system.js +6 -0
  93. package/dist/calcite/{p-b31d3dad.system.entry.js → p-80d78601.system.entry.js} +2 -2
  94. package/dist/calcite/{p-df26aab6.js → p-850bd83f.js} +1 -1
  95. package/dist/calcite/{p-8c25b934.entry.js → p-86e69716.entry.js} +2 -2
  96. package/dist/calcite/{p-e45d0fed.system.js → p-872dd7ba.system.js} +1 -1
  97. package/dist/calcite/{p-24d52a72.entry.js → p-87f22854.entry.js} +2 -2
  98. package/dist/calcite/{p-ce28c259.js → p-887d734a.js} +2 -2
  99. package/dist/calcite/{p-6cff0a2a.entry.js → p-88c828b4.entry.js} +2 -2
  100. package/dist/calcite/{p-e9c9fb33.system.entry.js → p-8919c0b9.system.entry.js} +2 -2
  101. package/dist/calcite/{p-ce654c2c.system.entry.js → p-89967a2b.system.entry.js} +2 -2
  102. package/dist/calcite/{p-4b414b81.entry.js → p-8a0b728e.entry.js} +2 -2
  103. package/dist/calcite/{p-9f13e930.entry.js → p-8b11b14e.entry.js} +2 -2
  104. package/dist/calcite/{p-ebeb09f0.system.entry.js → p-8c0d62c7.system.entry.js} +2 -2
  105. package/dist/calcite/{p-d96573eb.system.entry.js → p-8e404843.system.entry.js} +2 -2
  106. package/dist/calcite/{p-e78d93ed.entry.js → p-90e91f3f.entry.js} +2 -2
  107. package/dist/calcite/p-9126f152.system.js +6 -0
  108. package/dist/calcite/{p-88d2d38a.entry.js → p-92b62b73.entry.js} +2 -2
  109. package/dist/calcite/{p-7168da40.entry.js → p-9440f9a1.entry.js} +2 -2
  110. package/dist/calcite/{p-3aefc333.entry.js → p-9487de4e.entry.js} +2 -2
  111. package/dist/calcite/{p-20d610fc.entry.js → p-95126dbe.entry.js} +2 -2
  112. package/dist/calcite/{p-f8695531.entry.js → p-9fc3c426.entry.js} +2 -2
  113. package/dist/calcite/{p-e7b4e5b8.system.entry.js → p-a0a60580.system.entry.js} +2 -2
  114. package/dist/calcite/{p-a1208386.entry.js → p-a1405997.entry.js} +2 -2
  115. package/dist/calcite/{p-6eadd519.entry.js → p-a22911bb.entry.js} +2 -2
  116. package/dist/calcite/p-a2fc3c01.system.entry.js +6 -0
  117. package/dist/calcite/{p-a1cc6421.entry.js → p-a34e342b.entry.js} +2 -2
  118. package/dist/calcite/{p-bb1711f3.js → p-a6e2dce3.js} +1 -1
  119. package/dist/calcite/{p-061aea88.entry.js → p-a8a2f8d8.entry.js} +2 -2
  120. package/dist/calcite/{p-8202ad8a.system.entry.js → p-abe6d548.system.entry.js} +2 -2
  121. package/dist/calcite/{p-d05f35e8.system.js → p-ac2ec96b.system.js} +2 -2
  122. package/dist/calcite/{p-dca64e20.js → p-ac5555ee.js} +2 -2
  123. package/dist/calcite/{p-e6578cf2.system.entry.js → p-ad663d3e.system.entry.js} +2 -2
  124. package/dist/calcite/{p-b2f27af5.entry.js → p-ade94686.entry.js} +2 -2
  125. package/dist/calcite/{p-2b531882.entry.js → p-af8c886d.entry.js} +2 -2
  126. package/dist/calcite/{p-74b7ff1f.entry.js → p-b0f41839.entry.js} +2 -2
  127. package/dist/calcite/{p-70e1d287.system.entry.js → p-b15645e3.system.entry.js} +2 -2
  128. package/dist/calcite/{p-dd5e585b.entry.js → p-b1c2d29e.entry.js} +2 -2
  129. package/dist/calcite/{p-8137bc05.entry.js → p-b765d1ce.entry.js} +2 -2
  130. package/dist/calcite/{p-ccf1e5d8.entry.js → p-b8ce9f3e.entry.js} +2 -2
  131. package/dist/calcite/{p-e2ccf473.entry.js → p-b95af5f3.entry.js} +2 -2
  132. package/dist/calcite/{p-9c5c3cb3.system.entry.js → p-bb6b70d0.system.entry.js} +2 -2
  133. package/dist/calcite/{p-3d8ab9d5.entry.js → p-bc80710e.entry.js} +2 -2
  134. package/dist/calcite/{p-77bc0e49.entry.js → p-bcde536d.entry.js} +2 -2
  135. package/dist/calcite/{p-82dec536.system.entry.js → p-c03ca50d.system.entry.js} +2 -2
  136. package/dist/calcite/{p-30256458.entry.js → p-c0612433.entry.js} +2 -2
  137. package/dist/calcite/p-c0c270bf.entry.js +6 -0
  138. package/dist/calcite/{p-16dbdef2.system.entry.js → p-c1131334.system.entry.js} +2 -2
  139. package/dist/calcite/{p-9e8d6e02.js → p-c2f04b4a.js} +2 -2
  140. package/dist/calcite/{p-204443b0.system.entry.js → p-c6995296.system.entry.js} +2 -2
  141. package/dist/calcite/{p-ebb71e37.system.entry.js → p-c711143b.system.entry.js} +2 -2
  142. package/dist/calcite/p-c9ee2385.entry.js +6 -0
  143. package/dist/calcite/{p-16888553.system.entry.js → p-cac75100.system.entry.js} +2 -2
  144. package/dist/calcite/p-cb2a162f.system.entry.js +6 -0
  145. package/dist/calcite/{p-90608473.entry.js → p-cbe9b8f3.entry.js} +2 -2
  146. package/dist/calcite/{p-e5381e40.system.entry.js → p-ce7d3daf.system.entry.js} +2 -2
  147. package/dist/calcite/p-d00a839f.system.entry.js +6 -0
  148. package/dist/calcite/{p-594f52ca.system.entry.js → p-d0f6c70f.system.entry.js} +2 -2
  149. package/dist/calcite/{p-1157ae2f.js → p-d15c1632.js} +1 -1
  150. package/dist/calcite/{p-98dfd14b.system.entry.js → p-d37ad67f.system.entry.js} +2 -2
  151. package/dist/calcite/{p-278c8372.entry.js → p-d49fdd77.entry.js} +2 -2
  152. package/dist/calcite/{p-45588eee.system.entry.js → p-d54960f3.system.entry.js} +2 -2
  153. package/dist/calcite/{p-ecd12a92.js → p-d67695ec.js} +1 -1
  154. package/dist/calcite/{p-e345449f.entry.js → p-de06d5a7.entry.js} +2 -2
  155. package/dist/calcite/p-e2788410.system.entry.js +6 -0
  156. package/dist/calcite/{p-02bb8194.entry.js → p-e2da9506.entry.js} +2 -2
  157. package/dist/calcite/{p-51ffb552.system.entry.js → p-e647dac1.system.entry.js} +2 -2
  158. package/dist/calcite/{p-9eaf38bc.js → p-e701122c.js} +2 -2
  159. package/dist/calcite/{p-a6e1e1e4.entry.js → p-ea95a1bc.entry.js} +2 -2
  160. package/dist/calcite/{p-6309de22.entry.js → p-eacbae9a.entry.js} +2 -2
  161. package/dist/calcite/{p-4f9ce175.js → p-ecdd5df4.js} +2 -2
  162. package/dist/calcite/{p-7cc3d924.system.entry.js → p-ed126b82.system.entry.js} +3 -3
  163. package/dist/calcite/p-ed372fd5.entry.js +6 -0
  164. package/dist/calcite/p-ee53e973.system.js +6 -0
  165. package/dist/calcite/{p-57b60838.entry.js → p-f1134ced.entry.js} +2 -2
  166. package/dist/calcite/p-f411ee83.entry.js +6 -0
  167. package/dist/calcite/{p-07c6e102.system.js → p-f4d89bbe.system.js} +2 -2
  168. package/dist/calcite/p-f80c1436.system.entry.js +6 -0
  169. package/dist/calcite/{p-352b94a1.system.entry.js → p-fb6c3b22.system.entry.js} +2 -2
  170. package/dist/calcite/p-fe273bab.system.entry.js +6 -0
  171. package/dist/cjs/{ExpandToggle-894fe6d0.js → ExpandToggle-cc8723f3.js} +5 -5
  172. package/dist/cjs/{Heading-9546b15c.js → Heading-5e52526c.js} +2 -2
  173. package/dist/cjs/{array-1c85be7d.js → array-57bcaf76.js} +1 -1
  174. package/dist/cjs/calcite-accordion_2.cjs.entry.js +4 -4
  175. package/dist/cjs/calcite-action-bar.cjs.entry.js +11 -11
  176. package/dist/cjs/calcite-action-group.cjs.entry.js +8 -8
  177. package/dist/cjs/calcite-action-menu.cjs.entry.js +8 -8
  178. package/dist/cjs/calcite-action-pad.cjs.entry.js +10 -10
  179. package/dist/cjs/calcite-action.cjs.entry.js +6 -6
  180. package/dist/cjs/calcite-alert.cjs.entry.js +5 -5
  181. package/dist/cjs/calcite-avatar.cjs.entry.js +5 -5
  182. package/dist/cjs/calcite-block_2.cjs.entry.js +8 -8
  183. package/dist/cjs/calcite-button.cjs.entry.js +8 -8
  184. package/dist/cjs/calcite-card.cjs.entry.js +6 -6
  185. package/dist/cjs/calcite-checkbox.cjs.entry.js +7 -7
  186. package/dist/cjs/calcite-chip.cjs.entry.js +6 -6
  187. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +8 -8
  188. package/dist/cjs/calcite-combobox_3.cjs.entry.js +12 -12
  189. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +9 -9
  190. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +7 -7
  191. package/dist/cjs/calcite-fab.cjs.entry.js +5 -5
  192. package/dist/cjs/calcite-filter.cjs.entry.js +7 -7
  193. package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
  194. package/dist/cjs/calcite-graph_2.cjs.entry.js +9 -9
  195. package/dist/cjs/calcite-handle.cjs.entry.js +4 -4
  196. package/dist/cjs/calcite-icon.cjs.entry.js +5 -5
  197. package/dist/cjs/calcite-inline-editable.cjs.entry.js +7 -7
  198. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +37 -21
  199. package/dist/cjs/calcite-input-message.cjs.entry.js +4 -4
  200. package/dist/cjs/calcite-input-number.cjs.entry.js +531 -0
  201. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +27 -16
  202. package/dist/cjs/calcite-input.cjs.entry.js +11 -11
  203. package/dist/cjs/calcite-label.cjs.entry.js +5 -5
  204. package/dist/cjs/calcite-link.cjs.entry.js +5 -5
  205. package/dist/cjs/calcite-list_3.cjs.entry.js +8 -8
  206. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  207. package/dist/cjs/calcite-modal.cjs.entry.js +6 -6
  208. package/dist/cjs/calcite-notice.cjs.entry.js +7 -7
  209. package/dist/cjs/calcite-option_3.cjs.entry.js +8 -8
  210. package/dist/cjs/calcite-pagination.cjs.entry.js +5 -5
  211. package/dist/cjs/calcite-panel.cjs.entry.js +9 -9
  212. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +11 -11
  213. package/dist/cjs/calcite-popover_2.cjs.entry.js +7 -7
  214. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  215. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
  216. package/dist/cjs/calcite-radio-button.cjs.entry.js +8 -8
  217. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +7 -7
  218. package/dist/cjs/calcite-rating.cjs.entry.js +8 -8
  219. package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
  220. package/dist/cjs/calcite-shell_3.cjs.entry.js +7 -7
  221. package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
  222. package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
  223. package/dist/cjs/calcite-stepper_2.cjs.entry.js +5 -5
  224. package/dist/cjs/calcite-switch.cjs.entry.js +7 -7
  225. package/dist/cjs/calcite-tab_4.cjs.entry.js +6 -6
  226. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
  227. package/dist/cjs/calcite-tile.cjs.entry.js +7 -7
  228. package/dist/cjs/calcite-tip_3.cjs.entry.js +7 -7
  229. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +5 -5
  230. package/dist/cjs/calcite-tree_2.cjs.entry.js +6 -6
  231. package/dist/cjs/calcite-value-list_2.cjs.entry.js +87 -22
  232. package/dist/cjs/calcite.cjs.js +4 -4
  233. package/dist/cjs/{conditionalSlot-ecb74d9a.js → conditionalSlot-e2c3d357.js} +3 -3
  234. package/dist/cjs/{debounce-a74a2080.js → debounce-e9a51e04.js} +1 -1
  235. package/dist/cjs/{dom-69c7e941.js → dom-1b4e0097.js} +2 -2
  236. package/dist/cjs/{forIn-efe39801.js → forIn-6f2f1821.js} +2 -2
  237. package/dist/cjs/{form-901b31de.js → form-09b0739e.js} +3 -3
  238. package/dist/cjs/{guid-263ed05b.js → guid-f166e155.js} +1 -1
  239. package/dist/cjs/{index-8fbe74dd.js → index-341e1ec4.js} +1 -1
  240. package/dist/cjs/index.cjs.js +1 -1
  241. package/dist/cjs/{interactive-b2df5d51.js → interactive-97aea507.js} +1 -1
  242. package/dist/cjs/{interfaces-a8a9ed80.js → interfaces-327e49ac.js} +1 -1
  243. package/dist/cjs/{key-0fe936c7.js → key-7a6d198d.js} +1 -1
  244. package/dist/cjs/{label-f1317d82.js → label-1b7bed3e.js} +2 -2
  245. package/dist/cjs/loader.cjs.js +4 -4
  246. package/dist/cjs/{locale-0becaa93.js → locale-075bf13d.js} +2 -2
  247. package/dist/cjs/{math-0877dd01.js → math-da40a7f2.js} +1 -1
  248. package/dist/cjs/{observers-8169781c.js → observers-dea97623.js} +1 -1
  249. package/dist/cjs/{popper-46476990.js → popper-ec16ae25.js} +2 -2
  250. package/dist/cjs/{resources-93a62cd3.js → resources-38083f60.js} +1 -1
  251. package/dist/cjs/{resources-80d6cd05.js → resources-7f821e18.js} +1 -1
  252. package/dist/cjs/{resources-192c00c3.js → resources-8e6a4847.js} +12 -6
  253. package/dist/cjs/{resources-6ac223e5.js → resources-f35c4b41.js} +3 -3
  254. package/dist/cjs/{sortable.esm-b7091c1d.js → sortable.esm-1d891a3c.js} +1 -1
  255. package/dist/cjs/{utils-b1d11545.js → utils-c2ab1f6b.js} +1 -1
  256. package/dist/collection/collection-manifest.json +7 -1
  257. package/dist/collection/components/accordion/accordion.js +1 -1
  258. package/dist/collection/components/accordion/interfaces.js +1 -1
  259. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  260. package/dist/collection/components/action/action.js +1 -1
  261. package/dist/collection/components/action/resources.js +1 -1
  262. package/dist/collection/components/action-bar/action-bar.css +1 -0
  263. package/dist/collection/components/action-bar/action-bar.js +1 -1
  264. package/dist/collection/components/action-bar/resources.js +1 -1
  265. package/dist/collection/components/action-bar/utils.js +1 -1
  266. package/dist/collection/components/action-group/action-group.js +1 -1
  267. package/dist/collection/components/action-group/resources.js +1 -1
  268. package/dist/collection/components/action-menu/action-menu.js +1 -1
  269. package/dist/collection/components/action-menu/resources.js +1 -1
  270. package/dist/collection/components/action-pad/action-pad.css +1 -0
  271. package/dist/collection/components/action-pad/action-pad.js +1 -1
  272. package/dist/collection/components/action-pad/resources.js +1 -1
  273. package/dist/collection/components/alert/alert.js +1 -1
  274. package/dist/collection/components/alert/interfaces.js +1 -1
  275. package/dist/collection/components/alert/resources.js +1 -1
  276. package/dist/collection/components/avatar/avatar.js +1 -1
  277. package/dist/collection/components/avatar/utils.js +1 -1
  278. package/dist/collection/components/block/block.js +1 -1
  279. package/dist/collection/components/block/resources.js +1 -1
  280. package/dist/collection/components/block-section/block-section.js +1 -1
  281. package/dist/collection/components/block-section/interfaces.js +1 -1
  282. package/dist/collection/components/block-section/resources.js +1 -1
  283. package/dist/collection/components/button/button.js +1 -1
  284. package/dist/collection/components/button/interfaces.js +1 -1
  285. package/dist/collection/components/button/resources.js +1 -1
  286. package/dist/collection/components/card/card.js +1 -1
  287. package/dist/collection/components/card/resources.js +1 -1
  288. package/dist/collection/components/checkbox/checkbox.js +1 -1
  289. package/dist/collection/components/chip/chip.js +1 -1
  290. package/dist/collection/components/chip/interfaces.js +1 -1
  291. package/dist/collection/components/chip/resources.js +1 -1
  292. package/dist/collection/components/color-picker/color-picker.js +1 -1
  293. package/dist/collection/components/color-picker/interfaces.js +1 -1
  294. package/dist/collection/components/color-picker/resources.js +1 -1
  295. package/dist/collection/components/color-picker/utils.js +1 -1
  296. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  297. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  298. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  299. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  300. package/dist/collection/components/combobox/combobox.js +1 -1
  301. package/dist/collection/components/combobox/interfaces.js +1 -1
  302. package/dist/collection/components/combobox/resources.js +1 -1
  303. package/dist/collection/components/combobox/utils.js +1 -1
  304. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  305. package/dist/collection/components/combobox-item/resources.js +1 -1
  306. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  307. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  308. package/dist/collection/components/date-picker/date-picker.js +1 -1
  309. package/dist/collection/components/date-picker/interfaces.js +1 -1
  310. package/dist/collection/components/date-picker/resources.js +1 -1
  311. package/dist/collection/components/date-picker/utils.js +1 -1
  312. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  313. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  314. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  315. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  316. package/dist/collection/components/dropdown/dropdown.js +1 -1
  317. package/dist/collection/components/dropdown/interfaces.js +1 -1
  318. package/dist/collection/components/dropdown/resources.js +1 -1
  319. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  320. package/dist/collection/components/dropdown-group/interfaces.js +1 -1
  321. package/dist/collection/components/dropdown-group/resources.js +1 -1
  322. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  323. package/dist/collection/components/dropdown-item/resources.js +1 -1
  324. package/dist/collection/components/fab/fab.js +1 -1
  325. package/dist/collection/components/fab/resources.js +1 -1
  326. package/dist/collection/components/filter/filter.js +1 -1
  327. package/dist/collection/components/filter/resources.js +1 -1
  328. package/dist/collection/components/flow/flow.js +1 -1
  329. package/dist/collection/components/flow/interfaces.js +1 -1
  330. package/dist/collection/components/flow/resources.js +1 -1
  331. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  332. package/dist/collection/components/functional/Heading.js +1 -1
  333. package/dist/collection/components/graph/graph.js +1 -1
  334. package/dist/collection/components/graph/interfaces.js +1 -1
  335. package/dist/collection/components/graph/util.js +1 -1
  336. package/dist/collection/components/handle/handle.js +1 -1
  337. package/dist/collection/components/handle/resources.js +1 -1
  338. package/dist/collection/components/icon/icon.js +1 -1
  339. package/dist/collection/components/icon/resources.js +1 -1
  340. package/dist/collection/components/icon/utils.js +1 -1
  341. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  342. package/dist/collection/components/inline-editable/resources.js +1 -1
  343. package/dist/collection/components/input/input.js +1 -1
  344. package/dist/collection/components/input/interfaces.js +1 -1
  345. package/dist/collection/components/input/resources.js +1 -1
  346. package/dist/collection/components/input-date-picker/input-date-picker.js +46 -11
  347. package/dist/collection/components/input-date-picker/resources.js +9 -0
  348. package/dist/collection/components/input-message/input-message.js +1 -1
  349. package/dist/collection/components/input-message/interfaces.js +1 -1
  350. package/dist/collection/components/input-number/input-number.css +509 -0
  351. package/dist/collection/components/input-number/input-number.js +1251 -0
  352. package/dist/collection/components/input-number/interfaces.js +5 -0
  353. package/dist/collection/components/input-number/resources.js +27 -0
  354. package/dist/collection/components/input-time-picker/input-time-picker.js +43 -9
  355. package/dist/collection/components/interfaces.js +1 -1
  356. package/dist/collection/components/label/label.js +1 -1
  357. package/dist/collection/components/label/resources.js +1 -1
  358. package/dist/collection/components/link/link.js +1 -1
  359. package/dist/collection/components/list/list.js +1 -1
  360. package/dist/collection/components/list/resources.js +1 -1
  361. package/dist/collection/components/list-item/list-item.js +1 -1
  362. package/dist/collection/components/list-item/resources.js +1 -1
  363. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  364. package/dist/collection/components/list-item-group/resources.js +1 -1
  365. package/dist/collection/components/loader/loader.js +1 -1
  366. package/dist/collection/components/modal/interfaces.js +1 -1
  367. package/dist/collection/components/modal/modal.js +1 -1
  368. package/dist/collection/components/modal/resources.js +1 -1
  369. package/dist/collection/components/notice/notice.js +1 -1
  370. package/dist/collection/components/notice/resources.js +1 -1
  371. package/dist/collection/components/option/option.js +1 -1
  372. package/dist/collection/components/option-group/option-group.js +1 -1
  373. package/dist/collection/components/pagination/pagination.js +1 -1
  374. package/dist/collection/components/pagination/resources.js +1 -1
  375. package/dist/collection/components/panel/panel.js +1 -1
  376. package/dist/collection/components/panel/resources.js +1 -1
  377. package/dist/collection/components/pick-list/pick-list.js +1 -1
  378. package/dist/collection/components/pick-list/resources.js +1 -1
  379. package/dist/collection/components/pick-list/shared-list-logic.js +5 -1
  380. package/dist/collection/components/pick-list/shared-list-render.js +3 -2
  381. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  382. package/dist/collection/components/pick-list-group/resources.js +1 -1
  383. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  384. package/dist/collection/components/pick-list-item/resources.js +1 -1
  385. package/dist/collection/components/popover/PopoverManager.js +1 -1
  386. package/dist/collection/components/popover/popover.js +1 -1
  387. package/dist/collection/components/popover/resources.js +1 -1
  388. package/dist/collection/components/popover-manager/popover-manager.js +1 -1
  389. package/dist/collection/components/progress/progress.js +1 -1
  390. package/dist/collection/components/radio-button/radio-button.js +1 -1
  391. package/dist/collection/components/radio-button/resources.js +1 -1
  392. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  393. package/dist/collection/components/radio-group/interfaces.js +1 -1
  394. package/dist/collection/components/radio-group/radio-group.js +1 -1
  395. package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
  396. package/dist/collection/components/radio-group-item/resources.js +1 -1
  397. package/dist/collection/components/rating/rating.js +1 -1
  398. package/dist/collection/components/rating/resources.js +1 -1
  399. package/dist/collection/components/scrim/resources.js +1 -1
  400. package/dist/collection/components/scrim/scrim.js +1 -1
  401. package/dist/collection/components/select/resources.js +1 -1
  402. package/dist/collection/components/select/select.js +1 -1
  403. package/dist/collection/components/shell/resources.js +1 -1
  404. package/dist/collection/components/shell/shell.js +1 -1
  405. package/dist/collection/components/shell-center-row/resources.js +1 -1
  406. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  407. package/dist/collection/components/shell-panel/resources.js +1 -1
  408. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  409. package/dist/collection/components/slider/slider.js +1 -1
  410. package/dist/collection/components/sortable-list/resources.js +1 -1
  411. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  412. package/dist/collection/components/split-button/resources.js +1 -1
  413. package/dist/collection/components/split-button/split-button.js +1 -1
  414. package/dist/collection/components/stepper/interfaces.js +1 -1
  415. package/dist/collection/components/stepper/stepper.js +1 -1
  416. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  417. package/dist/collection/components/switch/switch.js +1 -1
  418. package/dist/collection/components/tab/interfaces.js +1 -1
  419. package/dist/collection/components/tab/tab.js +1 -1
  420. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  421. package/dist/collection/components/tab-title/tab-title.js +1 -1
  422. package/dist/collection/components/tabs/interfaces.js +1 -1
  423. package/dist/collection/components/tabs/resources.js +1 -1
  424. package/dist/collection/components/tabs/tabs.js +1 -1
  425. package/dist/collection/components/tile/resources.js +1 -1
  426. package/dist/collection/components/tile/tile.js +1 -1
  427. package/dist/collection/components/tile-select/interfaces.js +1 -1
  428. package/dist/collection/components/tile-select/resources.js +1 -1
  429. package/dist/collection/components/tile-select/tile-select.js +1 -1
  430. package/dist/collection/components/tile-select-group/interfaces.js +1 -1
  431. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  432. package/dist/collection/components/time-picker/resources.js +1 -1
  433. package/dist/collection/components/time-picker/time-picker.js +1 -1
  434. package/dist/collection/components/tip/resources.js +1 -1
  435. package/dist/collection/components/tip/tip.js +1 -1
  436. package/dist/collection/components/tip-group/tip-group.js +1 -1
  437. package/dist/collection/components/tip-manager/resources.js +1 -1
  438. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  439. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  440. package/dist/collection/components/tooltip/resources.js +1 -1
  441. package/dist/collection/components/tooltip/tooltip.js +1 -1
  442. package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
  443. package/dist/collection/components/tree/interfaces.js +1 -1
  444. package/dist/collection/components/tree/tree.js +1 -1
  445. package/dist/collection/components/tree-item/interfaces.js +1 -1
  446. package/dist/collection/components/tree-item/resources.js +1 -1
  447. package/dist/collection/components/tree-item/tree-item.js +1 -1
  448. package/dist/collection/components/value-list/interfaces.js +6 -0
  449. package/dist/collection/components/value-list/resources.js +1 -1
  450. package/dist/collection/components/value-list/utils.js +49 -0
  451. package/dist/collection/components/value-list/value-list.js +101 -11
  452. package/dist/collection/components/value-list-item/resources.js +1 -1
  453. package/dist/collection/components/value-list-item/value-list-item.js +3 -3
  454. package/dist/collection/utils/array.js +1 -1
  455. package/dist/collection/utils/conditionalSlot.js +1 -1
  456. package/dist/collection/utils/date.js +1 -1
  457. package/dist/collection/utils/dom.js +1 -1
  458. package/dist/collection/utils/filter.js +1 -1
  459. package/dist/collection/utils/form.js +1 -1
  460. package/dist/collection/utils/globalAttributes.js +1 -1
  461. package/dist/collection/utils/guid.js +1 -1
  462. package/dist/collection/utils/interactive.js +1 -1
  463. package/dist/collection/utils/key.js +1 -1
  464. package/dist/collection/utils/label.js +1 -1
  465. package/dist/collection/utils/locale.js +1 -1
  466. package/dist/collection/utils/math.js +1 -1
  467. package/dist/collection/utils/number.js +1 -1
  468. package/dist/collection/utils/observers.js +1 -1
  469. package/dist/collection/utils/openCloseComponent.js +1 -1
  470. package/dist/collection/utils/popper.js +1 -1
  471. package/dist/collection/utils/resources.js +1 -1
  472. package/dist/collection/utils/time.js +1 -1
  473. package/dist/components/ExpandToggle.js +1 -1
  474. package/dist/components/Heading.js +1 -1
  475. package/dist/components/action-group.js +1 -1
  476. package/dist/components/action-menu.js +1 -1
  477. package/dist/components/action.js +1 -1
  478. package/dist/components/array.js +1 -1
  479. package/dist/components/button.js +3 -3
  480. package/dist/components/calcite-accordion-item.js +1 -1
  481. package/dist/components/calcite-accordion.js +1 -1
  482. package/dist/components/calcite-action-bar.js +2 -2
  483. package/dist/components/calcite-action-group.js +1 -1
  484. package/dist/components/calcite-action-menu.js +1 -1
  485. package/dist/components/calcite-action-pad.js +2 -2
  486. package/dist/components/calcite-action.js +1 -1
  487. package/dist/components/calcite-alert.js +1 -1
  488. package/dist/components/calcite-avatar.js +1 -1
  489. package/dist/components/calcite-block-section.js +1 -1
  490. package/dist/components/calcite-block.js +1 -1
  491. package/dist/components/calcite-button.js +1 -1
  492. package/dist/components/calcite-card.js +2 -2
  493. package/dist/components/calcite-checkbox.js +1 -1
  494. package/dist/components/calcite-chip.js +1 -1
  495. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  496. package/dist/components/calcite-color-picker-swatch.js +1 -1
  497. package/dist/components/calcite-color-picker.js +1 -1
  498. package/dist/components/calcite-combobox-item-group.js +1 -1
  499. package/dist/components/calcite-combobox-item.js +1 -1
  500. package/dist/components/calcite-combobox.js +3 -3
  501. package/dist/components/calcite-date-picker-day.js +1 -1
  502. package/dist/components/calcite-date-picker-month-header.js +1 -1
  503. package/dist/components/calcite-date-picker-month.js +1 -1
  504. package/dist/components/calcite-date-picker.js +1 -1
  505. package/dist/components/calcite-dropdown-group.js +1 -1
  506. package/dist/components/calcite-dropdown-item.js +1 -1
  507. package/dist/components/calcite-dropdown.js +1 -1
  508. package/dist/components/calcite-fab.js +1 -1
  509. package/dist/components/calcite-filter.js +1 -1
  510. package/dist/components/calcite-flow.js +1 -1
  511. package/dist/components/calcite-graph.js +1 -1
  512. package/dist/components/calcite-handle.js +1 -1
  513. package/dist/components/calcite-icon.js +1 -1
  514. package/dist/components/calcite-inline-editable.js +2 -2
  515. package/dist/components/calcite-input-date-picker.js +33 -16
  516. package/dist/components/calcite-input-message.js +1 -1
  517. package/dist/components/calcite-input-number.d.ts +11 -0
  518. package/dist/components/calcite-input-number.js +592 -0
  519. package/dist/components/calcite-input-time-picker.js +21 -9
  520. package/dist/components/calcite-input.js +1 -1
  521. package/dist/components/calcite-label.js +2 -2
  522. package/dist/components/calcite-link.js +1 -1
  523. package/dist/components/calcite-list-item-group.js +1 -1
  524. package/dist/components/calcite-list-item.js +1 -1
  525. package/dist/components/calcite-list.js +1 -1
  526. package/dist/components/calcite-loader.js +1 -1
  527. package/dist/components/calcite-modal.js +2 -2
  528. package/dist/components/calcite-notice.js +1 -1
  529. package/dist/components/calcite-option-group.js +1 -1
  530. package/dist/components/calcite-option.js +1 -1
  531. package/dist/components/calcite-pagination.js +1 -1
  532. package/dist/components/calcite-panel.js +1 -1
  533. package/dist/components/calcite-pick-list-group.js +1 -1
  534. package/dist/components/calcite-pick-list-item.js +1 -1
  535. package/dist/components/calcite-pick-list.js +1 -1
  536. package/dist/components/calcite-popover-manager.js +1 -1
  537. package/dist/components/calcite-popover.js +1 -1
  538. package/dist/components/calcite-progress.js +1 -1
  539. package/dist/components/calcite-radio-button-group.js +1 -1
  540. package/dist/components/calcite-radio-button.js +2 -2
  541. package/dist/components/calcite-radio-group-item.js +1 -1
  542. package/dist/components/calcite-radio-group.js +2 -2
  543. package/dist/components/calcite-rating.js +2 -2
  544. package/dist/components/calcite-scrim.js +1 -1
  545. package/dist/components/calcite-select.js +2 -2
  546. package/dist/components/calcite-shell-center-row.js +1 -1
  547. package/dist/components/calcite-shell-panel.js +1 -1
  548. package/dist/components/calcite-shell.js +1 -1
  549. package/dist/components/calcite-slider.js +3 -3
  550. package/dist/components/calcite-sortable-list.js +1 -1
  551. package/dist/components/calcite-split-button.js +1 -1
  552. package/dist/components/calcite-stepper-item.js +1 -1
  553. package/dist/components/calcite-stepper.js +1 -1
  554. package/dist/components/calcite-switch.js +1 -1
  555. package/dist/components/calcite-tab-nav.js +1 -1
  556. package/dist/components/calcite-tab-title.js +1 -1
  557. package/dist/components/calcite-tab.js +1 -1
  558. package/dist/components/calcite-tabs.js +1 -1
  559. package/dist/components/calcite-tile-select-group.js +1 -1
  560. package/dist/components/calcite-tile-select.js +1 -1
  561. package/dist/components/calcite-tile.js +1 -1
  562. package/dist/components/calcite-time-picker.js +1 -1
  563. package/dist/components/calcite-tip-group.js +1 -1
  564. package/dist/components/calcite-tip-manager.js +1 -1
  565. package/dist/components/calcite-tip.js +1 -1
  566. package/dist/components/calcite-tooltip-manager.js +1 -1
  567. package/dist/components/calcite-tooltip.js +2 -2
  568. package/dist/components/calcite-tree-item.js +2 -2
  569. package/dist/components/calcite-tree.js +1 -1
  570. package/dist/components/calcite-value-list-item.js +3 -3
  571. package/dist/components/calcite-value-list.js +81 -12
  572. package/dist/components/checkbox.js +2 -2
  573. package/dist/components/chip.js +1 -1
  574. package/dist/components/color-picker-hex-input.js +1 -1
  575. package/dist/components/color-picker-swatch.js +1 -1
  576. package/dist/components/conditionalSlot.js +1 -1
  577. package/dist/components/date-picker-day.js +1 -1
  578. package/dist/components/date-picker-month-header.js +2 -2
  579. package/dist/components/date-picker-month.js +1 -1
  580. package/dist/components/date-picker.js +1 -1
  581. package/dist/components/date.js +2 -2
  582. package/dist/components/debounce.js +1 -1
  583. package/dist/components/dom.js +2 -2
  584. package/dist/components/dropdown.js +2 -2
  585. package/dist/components/filter.js +1 -1
  586. package/dist/components/forIn.js +1 -1
  587. package/dist/components/form.js +2 -2
  588. package/dist/components/graph.js +1 -1
  589. package/dist/components/guid.js +1 -1
  590. package/dist/components/handle.js +1 -1
  591. package/dist/components/icon.js +1 -1
  592. package/dist/components/index.d.ts +5 -90
  593. package/dist/components/index.js +1 -91
  594. package/dist/components/input.js +2 -2
  595. package/dist/components/interactive.js +1 -1
  596. package/dist/components/interfaces.js +1 -1
  597. package/dist/components/interfaces2.js +1 -1
  598. package/dist/components/key.js +1 -1
  599. package/dist/components/label.js +112 -87
  600. package/dist/components/label2.js +87 -112
  601. package/dist/components/link.js +1 -1
  602. package/dist/components/loader.js +1 -1
  603. package/dist/components/locale.js +1 -1
  604. package/dist/components/math.js +1 -1
  605. package/dist/components/observers.js +1 -1
  606. package/dist/components/pick-list-item.js +1 -1
  607. package/dist/components/popover.js +2 -2
  608. package/dist/components/popper.js +2 -2
  609. package/dist/components/progress.js +1 -1
  610. package/dist/components/resources.js +1 -1
  611. package/dist/components/resources2.js +1 -1
  612. package/dist/components/resources3.js +1 -1
  613. package/dist/components/scrim.js +1 -1
  614. package/dist/components/shared-list-render.js +8 -3
  615. package/dist/components/sortable.esm.js +1 -1
  616. package/dist/components/switch.js +2 -2
  617. package/dist/components/tab-nav.js +2 -2
  618. package/dist/components/tab-title.js +1 -1
  619. package/dist/components/tab.js +1 -1
  620. package/dist/components/tabs.js +1 -1
  621. package/dist/components/tile.js +1 -1
  622. package/dist/components/time-picker.js +1 -1
  623. package/dist/components/utils.js +1 -1
  624. package/dist/components/utils2.js +1 -1
  625. package/dist/custom-elements/index.d.ts +6 -0
  626. package/dist/custom-elements/index.js +1019 -408
  627. package/dist/esm/{ExpandToggle-baf2c551.js → ExpandToggle-d1d9e1ba.js} +5 -5
  628. package/dist/esm/{Heading-1183c4d7.js → Heading-383fa71b.js} +2 -2
  629. package/dist/esm/{array-d7b2d2da.js → array-d410a39a.js} +1 -1
  630. package/dist/esm/calcite-accordion_2.entry.js +4 -4
  631. package/dist/esm/calcite-action-bar.entry.js +11 -11
  632. package/dist/esm/calcite-action-group.entry.js +8 -8
  633. package/dist/esm/calcite-action-menu.entry.js +8 -8
  634. package/dist/esm/calcite-action-pad.entry.js +10 -10
  635. package/dist/esm/calcite-action.entry.js +6 -6
  636. package/dist/esm/calcite-alert.entry.js +5 -5
  637. package/dist/esm/calcite-avatar.entry.js +5 -5
  638. package/dist/esm/calcite-block_2.entry.js +8 -8
  639. package/dist/esm/calcite-button.entry.js +8 -8
  640. package/dist/esm/calcite-card.entry.js +6 -6
  641. package/dist/esm/calcite-checkbox.entry.js +7 -7
  642. package/dist/esm/calcite-chip.entry.js +6 -6
  643. package/dist/esm/calcite-color-picker_3.entry.js +8 -8
  644. package/dist/esm/calcite-combobox_3.entry.js +12 -12
  645. package/dist/esm/calcite-date-picker_4.entry.js +9 -9
  646. package/dist/esm/calcite-dropdown_3.entry.js +7 -7
  647. package/dist/esm/calcite-fab.entry.js +5 -5
  648. package/dist/esm/calcite-filter.entry.js +7 -7
  649. package/dist/esm/calcite-flow.entry.js +3 -3
  650. package/dist/esm/calcite-graph_2.entry.js +9 -9
  651. package/dist/esm/calcite-handle.entry.js +4 -4
  652. package/dist/esm/calcite-icon.entry.js +5 -5
  653. package/dist/esm/calcite-inline-editable.entry.js +7 -7
  654. package/dist/esm/calcite-input-date-picker.entry.js +39 -23
  655. package/dist/esm/calcite-input-message.entry.js +4 -4
  656. package/dist/esm/calcite-input-number.entry.js +527 -0
  657. package/dist/esm/calcite-input-time-picker_2.entry.js +27 -16
  658. package/dist/esm/calcite-input.entry.js +11 -11
  659. package/dist/esm/calcite-label.entry.js +5 -5
  660. package/dist/esm/calcite-link.entry.js +5 -5
  661. package/dist/esm/calcite-list_3.entry.js +8 -8
  662. package/dist/esm/calcite-loader.entry.js +3 -3
  663. package/dist/esm/calcite-modal.entry.js +6 -6
  664. package/dist/esm/calcite-notice.entry.js +7 -7
  665. package/dist/esm/calcite-option_3.entry.js +8 -8
  666. package/dist/esm/calcite-pagination.entry.js +5 -5
  667. package/dist/esm/calcite-panel.entry.js +9 -9
  668. package/dist/esm/calcite-pick-list_3.entry.js +11 -11
  669. package/dist/esm/calcite-popover_2.entry.js +7 -7
  670. package/dist/esm/calcite-progress.entry.js +2 -2
  671. package/dist/esm/calcite-radio-button-group.entry.js +3 -3
  672. package/dist/esm/calcite-radio-button.entry.js +8 -8
  673. package/dist/esm/calcite-radio-group_2.entry.js +7 -7
  674. package/dist/esm/calcite-rating.entry.js +8 -8
  675. package/dist/esm/calcite-scrim.entry.js +2 -2
  676. package/dist/esm/calcite-shell_3.entry.js +7 -7
  677. package/dist/esm/calcite-sortable-list.entry.js +5 -5
  678. package/dist/esm/calcite-split-button.entry.js +3 -3
  679. package/dist/esm/calcite-stepper_2.entry.js +5 -5
  680. package/dist/esm/calcite-switch.entry.js +7 -7
  681. package/dist/esm/calcite-tab_4.entry.js +6 -6
  682. package/dist/esm/calcite-tile-select_2.entry.js +4 -4
  683. package/dist/esm/calcite-tile.entry.js +7 -7
  684. package/dist/esm/calcite-tip_3.entry.js +7 -7
  685. package/dist/esm/calcite-tooltip_2.entry.js +5 -5
  686. package/dist/esm/calcite-tree_2.entry.js +6 -6
  687. package/dist/esm/calcite-value-list_2.entry.js +87 -22
  688. package/dist/esm/calcite.js +4 -4
  689. package/dist/esm/{conditionalSlot-91141c10.js → conditionalSlot-ed64bd11.js} +3 -3
  690. package/dist/esm/{debounce-8620d992.js → debounce-8d38ec02.js} +1 -1
  691. package/dist/esm/{dom-0e5130f0.js → dom-56e9893d.js} +2 -2
  692. package/dist/esm/{forIn-908ce382.js → forIn-ef92de72.js} +2 -2
  693. package/dist/esm/{form-44145a77.js → form-47a9f6d7.js} +3 -3
  694. package/dist/esm/{guid-035850cf.js → guid-aa647a83.js} +1 -1
  695. package/dist/esm/{index-7daa7f57.js → index-b91be572.js} +1 -1
  696. package/dist/esm/index.js +1 -1
  697. package/dist/esm/{interactive-26697f71.js → interactive-44c800e7.js} +1 -1
  698. package/dist/esm/{interfaces-666dcdb6.js → interfaces-b0afabf7.js} +1 -1
  699. package/dist/esm/{key-5106532f.js → key-fc19c8e8.js} +1 -1
  700. package/dist/esm/{label-e58bd849.js → label-e9cd6c74.js} +2 -2
  701. package/dist/esm/loader.js +4 -4
  702. package/dist/esm/{locale-bd54ff3b.js → locale-178bfaed.js} +2 -2
  703. package/dist/esm/{math-28a370c3.js → math-c93b8397.js} +1 -1
  704. package/dist/esm/{observers-5cd6c82a.js → observers-5d3efdea.js} +1 -1
  705. package/dist/esm/{popper-1df5bd76.js → popper-e4716ebb.js} +2 -2
  706. package/dist/esm/{resources-3498bd44.js → resources-0f20a53d.js} +3 -3
  707. package/dist/esm/{resources-b9270cdb.js → resources-3cebaf37.js} +1 -1
  708. package/dist/esm/{resources-d196b6c1.js → resources-5182df75.js} +12 -7
  709. package/dist/esm/{resources-daaebdea.js → resources-fca4a472.js} +1 -1
  710. package/dist/esm/{sortable.esm-ef18907c.js → sortable.esm-79d8d5b2.js} +1 -1
  711. package/dist/esm/{utils-cf3669f8.js → utils-24933089.js} +1 -1
  712. package/dist/esm-es5/{ExpandToggle-baf2c551.js → ExpandToggle-d1d9e1ba.js} +2 -2
  713. package/dist/esm-es5/Heading-383fa71b.js +6 -0
  714. package/dist/esm-es5/{array-d7b2d2da.js → array-d410a39a.js} +1 -1
  715. package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
  716. package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
  717. package/dist/esm-es5/calcite-action-group.entry.js +2 -2
  718. package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
  719. package/dist/esm-es5/calcite-action-pad.entry.js +2 -2
  720. package/dist/esm-es5/calcite-action.entry.js +2 -2
  721. package/dist/esm-es5/calcite-alert.entry.js +2 -2
  722. package/dist/esm-es5/calcite-avatar.entry.js +2 -2
  723. package/dist/esm-es5/calcite-block_2.entry.js +2 -2
  724. package/dist/esm-es5/calcite-button.entry.js +2 -2
  725. package/dist/esm-es5/calcite-card.entry.js +2 -2
  726. package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
  727. package/dist/esm-es5/calcite-chip.entry.js +2 -2
  728. package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
  729. package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
  730. package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
  731. package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -2
  732. package/dist/esm-es5/calcite-fab.entry.js +2 -2
  733. package/dist/esm-es5/calcite-filter.entry.js +2 -2
  734. package/dist/esm-es5/calcite-flow.entry.js +2 -2
  735. package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
  736. package/dist/esm-es5/calcite-handle.entry.js +2 -2
  737. package/dist/esm-es5/calcite-icon.entry.js +2 -2
  738. package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
  739. package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
  740. package/dist/esm-es5/calcite-input-message.entry.js +2 -2
  741. package/dist/esm-es5/calcite-input-number.entry.js +6 -0
  742. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
  743. package/dist/esm-es5/calcite-input.entry.js +2 -2
  744. package/dist/esm-es5/calcite-label.entry.js +2 -2
  745. package/dist/esm-es5/calcite-link.entry.js +2 -2
  746. package/dist/esm-es5/calcite-list_3.entry.js +2 -2
  747. package/dist/esm-es5/calcite-loader.entry.js +2 -2
  748. package/dist/esm-es5/calcite-modal.entry.js +2 -2
  749. package/dist/esm-es5/calcite-notice.entry.js +2 -2
  750. package/dist/esm-es5/calcite-option_3.entry.js +2 -2
  751. package/dist/esm-es5/calcite-pagination.entry.js +2 -2
  752. package/dist/esm-es5/calcite-panel.entry.js +2 -2
  753. package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
  754. package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
  755. package/dist/esm-es5/calcite-progress.entry.js +2 -2
  756. package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
  757. package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
  758. package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
  759. package/dist/esm-es5/calcite-rating.entry.js +2 -2
  760. package/dist/esm-es5/calcite-scrim.entry.js +2 -2
  761. package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
  762. package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
  763. package/dist/esm-es5/calcite-split-button.entry.js +2 -2
  764. package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
  765. package/dist/esm-es5/calcite-switch.entry.js +2 -2
  766. package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
  767. package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
  768. package/dist/esm-es5/calcite-tile.entry.js +2 -2
  769. package/dist/esm-es5/calcite-tip_3.entry.js +3 -3
  770. package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
  771. package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
  772. package/dist/esm-es5/calcite-value-list_2.entry.js +3 -3
  773. package/dist/esm-es5/calcite.js +2 -2
  774. package/dist/esm-es5/{conditionalSlot-91141c10.js → conditionalSlot-ed64bd11.js} +2 -2
  775. package/dist/esm-es5/{debounce-8620d992.js → debounce-8d38ec02.js} +1 -1
  776. package/dist/esm-es5/{dom-0e5130f0.js → dom-56e9893d.js} +2 -2
  777. package/dist/esm-es5/{forIn-908ce382.js → forIn-ef92de72.js} +2 -2
  778. package/dist/esm-es5/{form-44145a77.js → form-47a9f6d7.js} +2 -2
  779. package/dist/esm-es5/{guid-035850cf.js → guid-aa647a83.js} +1 -1
  780. package/dist/esm-es5/{index-7daa7f57.js → index-b91be572.js} +1 -1
  781. package/dist/esm-es5/index.js +1 -1
  782. package/dist/esm-es5/{interactive-26697f71.js → interactive-44c800e7.js} +1 -1
  783. package/dist/esm-es5/{interfaces-666dcdb6.js → interfaces-b0afabf7.js} +1 -1
  784. package/dist/esm-es5/{key-5106532f.js → key-fc19c8e8.js} +1 -1
  785. package/dist/esm-es5/{label-e58bd849.js → label-e9cd6c74.js} +2 -2
  786. package/dist/esm-es5/loader.js +2 -2
  787. package/dist/esm-es5/{locale-bd54ff3b.js → locale-178bfaed.js} +2 -2
  788. package/dist/esm-es5/{math-28a370c3.js → math-c93b8397.js} +1 -1
  789. package/dist/esm-es5/{observers-5cd6c82a.js → observers-5d3efdea.js} +1 -1
  790. package/dist/esm-es5/{popper-1df5bd76.js → popper-e4716ebb.js} +2 -2
  791. package/dist/esm-es5/{resources-3498bd44.js → resources-0f20a53d.js} +2 -2
  792. package/dist/esm-es5/{resources-b9270cdb.js → resources-3cebaf37.js} +1 -1
  793. package/dist/esm-es5/resources-5182df75.js +6 -0
  794. package/dist/esm-es5/{resources-daaebdea.js → resources-fca4a472.js} +1 -1
  795. package/dist/esm-es5/{sortable.esm-ef18907c.js → sortable.esm-79d8d5b2.js} +1 -1
  796. package/dist/esm-es5/{utils-cf3669f8.js → utils-24933089.js} +1 -1
  797. package/dist/extras/docs-json.json +824 -44
  798. package/dist/loader/cdn.js +1 -1
  799. package/dist/loader/index.cjs.js +1 -1
  800. package/dist/loader/index.es2017.js +1 -1
  801. package/dist/loader/index.js +1 -1
  802. package/dist/types/components/input-date-picker/input-date-picker.d.ts +7 -1
  803. package/dist/types/components/input-date-picker/resources.d.ts +4 -0
  804. package/dist/types/components/input-number/input-number.d.ts +216 -0
  805. package/dist/types/components/input-number/interfaces.d.ts +1 -0
  806. package/dist/types/components/input-number/resources.d.ts +22 -0
  807. package/dist/types/components/input-time-picker/input-time-picker.d.ts +7 -1
  808. package/dist/types/components/pick-list/shared-list-logic.d.ts +1 -0
  809. package/dist/types/components/pick-list/shared-list-render.d.ts +2 -0
  810. package/dist/types/components/value-list/interfaces.d.ts +1 -0
  811. package/dist/types/components/value-list/utils.d.ts +8 -0
  812. package/dist/types/components/value-list/value-list.d.ts +30 -0
  813. package/dist/types/components.d.ts +349 -0
  814. package/dist/types/preact.d.ts +7 -0
  815. package/hydrate/index.js +948 -423
  816. package/package.json +2 -2
  817. package/readme.md +2 -2
  818. package/dist/calcite/p-1363adcd.entry.js +0 -6
  819. package/dist/calcite/p-21a1034c.entry.js +0 -6
  820. package/dist/calcite/p-282106cb.system.js +0 -6
  821. package/dist/calcite/p-2bf5b9b6.js +0 -6
  822. package/dist/calcite/p-4185af29.entry.js +0 -6
  823. package/dist/calcite/p-448b3393.system.entry.js +0 -6
  824. package/dist/calcite/p-4cfef590.system.js +0 -6
  825. package/dist/calcite/p-56f93049.js +0 -6
  826. package/dist/calcite/p-6d96d61f.system.js +0 -6
  827. package/dist/calcite/p-8018d689.system.entry.js +0 -6
  828. package/dist/calcite/p-8c9e453c.js +0 -6
  829. package/dist/calcite/p-9c80707e.system.js +0 -6
  830. package/dist/calcite/p-c78d1678.system.entry.js +0 -6
  831. package/dist/calcite/p-d48cc6d2.entry.js +0 -6
  832. package/dist/calcite/p-d4f596f2.entry.js +0 -6
  833. package/dist/calcite/p-eceb3f95.system.entry.js +0 -6
  834. package/dist/calcite/p-f07627e7.system.entry.js +0 -6
  835. package/dist/calcite/p-f537a6a5.entry.js +0 -6
  836. package/dist/esm-es5/Heading-1183c4d7.js +0 -6
  837. package/dist/esm-es5/resources-d196b6c1.js +0 -6
package/hydrate/index.js CHANGED
@@ -1,14 +1,14 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-beta.84
4
+ * v1.0.0-beta.85
5
5
  */
6
6
  'use strict';
7
7
 
8
8
  Object.defineProperty(exports, '__esModule', { value: true });
9
9
 
10
10
  /*!
11
- Stencil Mock Doc v2.17.0 | MIT Licensed | https://stenciljs.com
11
+ Stencil Mock Doc v2.16.1 | MIT Licensed | https://stenciljs.com
12
12
  */
13
13
  const CONTENT_REF_ID = 'r';
14
14
  const ORG_LOCATION_ID = 'o';
@@ -1607,9 +1607,6 @@ class MockElement extends MockNode {
1607
1607
  this.shadowRoot = shadowRoot;
1608
1608
  return shadowRoot;
1609
1609
  }
1610
- blur() {
1611
- /**/
1612
- }
1613
1610
  get shadowRoot() {
1614
1611
  return this.__shadowRoot || null;
1615
1612
  }
@@ -1678,7 +1675,6 @@ class MockElement extends MockNode {
1678
1675
  get firstElementChild() {
1679
1676
  return this.children[0] || null;
1680
1677
  }
1681
- focus(_options) { }
1682
1678
  getAttribute(attrName) {
1683
1679
  if (attrName === 'style') {
1684
1680
  if (this.__style != null && this.__style.length > 0) {
@@ -2582,28 +2578,7 @@ function createElementNS(ownerDocument, namespaceURI, tagName) {
2582
2578
  return createElement(ownerDocument, tagName);
2583
2579
  }
2584
2580
  else if (namespaceURI === 'http://www.w3.org/2000/svg') {
2585
- switch (tagName.toLowerCase()) {
2586
- case 'text':
2587
- case 'tspan':
2588
- case 'tref':
2589
- case 'altglyph':
2590
- case 'textpath':
2591
- return new MockSVGTextContentElement(ownerDocument, tagName);
2592
- case 'circle':
2593
- case 'ellipse':
2594
- case 'image':
2595
- case 'line':
2596
- case 'path':
2597
- case 'polygon':
2598
- case 'polyline':
2599
- case 'rect':
2600
- case 'use':
2601
- return new MockSVGGraphicsElement(ownerDocument, tagName);
2602
- case 'svg':
2603
- return new MockSVGSVGElement(ownerDocument, tagName);
2604
- default:
2605
- return new MockSVGElement(ownerDocument, tagName);
2606
- }
2581
+ return new MockSVGElement(ownerDocument, tagName);
2607
2582
  }
2608
2583
  else {
2609
2584
  return new MockElement(ownerDocument, tagName);
@@ -2750,98 +2725,6 @@ class MockScriptElement extends MockHTMLElement {
2750
2725
  patchPropAttributes(MockScriptElement.prototype, {
2751
2726
  type: String,
2752
2727
  });
2753
- class MockDOMMatrix {
2754
- constructor() {
2755
- this.a = 1;
2756
- this.b = 0;
2757
- this.c = 0;
2758
- this.d = 1;
2759
- this.e = 0;
2760
- this.f = 0;
2761
- this.m11 = 1;
2762
- this.m12 = 0;
2763
- this.m13 = 0;
2764
- this.m14 = 0;
2765
- this.m21 = 0;
2766
- this.m22 = 1;
2767
- this.m23 = 0;
2768
- this.m24 = 0;
2769
- this.m31 = 0;
2770
- this.m32 = 0;
2771
- this.m33 = 1;
2772
- this.m34 = 0;
2773
- this.m41 = 0;
2774
- this.m42 = 0;
2775
- this.m43 = 0;
2776
- this.m44 = 1;
2777
- this.is2D = true;
2778
- this.isIdentity = true;
2779
- }
2780
- static fromMatrix() {
2781
- return new MockDOMMatrix();
2782
- }
2783
- inverse() {
2784
- return new MockDOMMatrix();
2785
- }
2786
- flipX() {
2787
- return new MockDOMMatrix();
2788
- }
2789
- flipY() {
2790
- return new MockDOMMatrix();
2791
- }
2792
- multiply() {
2793
- return new MockDOMMatrix();
2794
- }
2795
- rotate() {
2796
- return new MockDOMMatrix();
2797
- }
2798
- rotateAxisAngle() {
2799
- return new MockDOMMatrix();
2800
- }
2801
- rotateFromVector() {
2802
- return new MockDOMMatrix();
2803
- }
2804
- scale() {
2805
- return new MockDOMMatrix();
2806
- }
2807
- scaleNonUniform() {
2808
- return new MockDOMMatrix();
2809
- }
2810
- skewX() {
2811
- return new MockDOMMatrix();
2812
- }
2813
- skewY() {
2814
- return new MockDOMMatrix();
2815
- }
2816
- toJSON() { }
2817
- toString() { }
2818
- transformPoint() {
2819
- return new MockDOMPoint();
2820
- }
2821
- translate() {
2822
- return new MockDOMMatrix();
2823
- }
2824
- }
2825
- class MockDOMPoint {
2826
- constructor() {
2827
- this.w = 1;
2828
- this.x = 0;
2829
- this.y = 0;
2830
- this.z = 0;
2831
- }
2832
- toJSON() { }
2833
- matrixTransform() {
2834
- return new MockDOMMatrix();
2835
- }
2836
- }
2837
- class MockSVGRect {
2838
- constructor() {
2839
- this.height = 10;
2840
- this.width = 10;
2841
- this.x = 0;
2842
- this.y = 0;
2843
- }
2844
- }
2845
2728
  class MockStyleElement extends MockHTMLElement {
2846
2729
  constructor(ownerDocument) {
2847
2730
  super(ownerDocument, 'style');
@@ -2874,6 +2757,9 @@ class MockSVGElement extends MockElement {
2874
2757
  get viewportElement() {
2875
2758
  return null;
2876
2759
  }
2760
+ focus() {
2761
+ /**/
2762
+ }
2877
2763
  onunload() {
2878
2764
  /**/
2879
2765
  }
@@ -2891,27 +2777,6 @@ class MockSVGElement extends MockElement {
2891
2777
  return 0;
2892
2778
  }
2893
2779
  }
2894
- class MockSVGGraphicsElement extends MockSVGElement {
2895
- getBBox(_options) {
2896
- return new MockSVGRect();
2897
- }
2898
- getCTM() {
2899
- return new MockDOMMatrix();
2900
- }
2901
- getScreenCTM() {
2902
- return new MockDOMMatrix();
2903
- }
2904
- }
2905
- class MockSVGSVGElement extends MockSVGGraphicsElement {
2906
- createSVGPoint() {
2907
- return new MockDOMPoint();
2908
- }
2909
- }
2910
- class MockSVGTextContentElement extends MockSVGGraphicsElement {
2911
- getComputedTextLength() {
2912
- return 0;
2913
- }
2914
- }
2915
2780
  class MockBaseElement extends MockHTMLElement {
2916
2781
  constructor(ownerDocument) {
2917
2782
  super(ownerDocument, 'base');
@@ -5869,7 +5734,7 @@ const CSS_UTILITY = {
5869
5734
  lightTheme,
5870
5735
  rtl: "calcite--rtl"
5871
5736
  };
5872
- const TEXT$s = {
5737
+ const TEXT$t = {
5873
5738
  loading: "Loading"
5874
5739
  };
5875
5740
 
@@ -6207,7 +6072,7 @@ class AccordionItem {
6207
6072
  }; }
6208
6073
  }
6209
6074
 
6210
- const CSS$P = {
6075
+ const CSS$R = {
6211
6076
  button: "button",
6212
6077
  buttonTextVisible: "button--text-visible",
6213
6078
  buttonCompact: "button--compact",
@@ -6217,7 +6082,7 @@ const CSS$P = {
6217
6082
  textContainer: "text-container",
6218
6083
  textContainerVisible: "text-container--visible"
6219
6084
  };
6220
- const TEXT$r = {
6085
+ const TEXT$s = {
6221
6086
  loading: "Loading"
6222
6087
  };
6223
6088
 
@@ -6309,7 +6174,7 @@ class Action {
6309
6174
  *
6310
6175
  * @default "Loading"
6311
6176
  */
6312
- this.intlLoading = TEXT$r.loading;
6177
+ this.intlLoading = TEXT$s.loading;
6313
6178
  /**
6314
6179
  * When true, a busy indicator is displayed.
6315
6180
  */
@@ -6368,8 +6233,8 @@ class Action {
6368
6233
  renderTextContainer() {
6369
6234
  const { text, textEnabled } = this;
6370
6235
  const textContainerClasses = {
6371
- [CSS$P.textContainer]: true,
6372
- [CSS$P.textContainerVisible]: textEnabled
6236
+ [CSS$R.textContainer]: true,
6237
+ [CSS$R.textContainerVisible]: textEnabled
6373
6238
  };
6374
6239
  return text ? (hAsync("div", { class: textContainerClasses, key: "text-container" }, text)) : null;
6375
6240
  }
@@ -6383,18 +6248,18 @@ class Action {
6383
6248
  const iconNode = calciteLoaderNode || calciteIconNode;
6384
6249
  const hasIconToDisplay = iconNode || ((_a = el.children) === null || _a === void 0 ? void 0 : _a.length);
6385
6250
  const slotContainerNode = (hAsync("div", { class: {
6386
- [CSS$P.slotContainer]: true,
6387
- [CSS$P.slotContainerHidden]: loading
6251
+ [CSS$R.slotContainer]: true,
6252
+ [CSS$R.slotContainerHidden]: loading
6388
6253
  } }, hAsync("slot", null)));
6389
- return hasIconToDisplay ? (hAsync("div", { "aria-hidden": "true", class: CSS$P.iconContainer, key: "icon-container" }, iconNode, slotContainerNode)) : null;
6254
+ return hasIconToDisplay ? (hAsync("div", { "aria-hidden": "true", class: CSS$R.iconContainer, key: "icon-container" }, iconNode, slotContainerNode)) : null;
6390
6255
  }
6391
6256
  render() {
6392
6257
  const { compact, disabled, loading, textEnabled, label, text } = this;
6393
6258
  const ariaLabel = label || text;
6394
6259
  const buttonClasses = {
6395
- [CSS$P.button]: true,
6396
- [CSS$P.buttonTextVisible]: textEnabled,
6397
- [CSS$P.buttonCompact]: compact
6260
+ [CSS$R.button]: true,
6261
+ [CSS$R.buttonTextVisible]: textEnabled,
6262
+ [CSS$R.buttonCompact]: compact
6398
6263
  };
6399
6264
  return (hAsync(Host, { onClick: this.calciteActionClickHandler }, hAsync("button", { "aria-busy": toAriaBoolean(loading), "aria-disabled": toAriaBoolean(disabled), "aria-label": ariaLabel, class: buttonClasses, disabled: disabled, ref: (buttonEl) => (this.buttonEl = buttonEl) }, this.renderIconContainer(), this.renderTextContainer())));
6400
6265
  }
@@ -6425,11 +6290,11 @@ class Action {
6425
6290
  }; }
6426
6291
  }
6427
6292
 
6428
- const CSS$O = {
6293
+ const CSS$Q = {
6429
6294
  menu: "menu",
6430
6295
  defaultTrigger: "default-trigger"
6431
6296
  };
6432
- const SLOTS$p = {
6297
+ const SLOTS$q = {
6433
6298
  tooltip: "tooltip",
6434
6299
  trigger: "trigger"
6435
6300
  };
@@ -6437,11 +6302,11 @@ const ICONS$f = {
6437
6302
  menu: "ellipsis"
6438
6303
  };
6439
6304
 
6440
- const SLOTS$o = {
6305
+ const SLOTS$p = {
6441
6306
  menuActions: "menu-actions",
6442
6307
  menuTooltip: "menu-tooltip"
6443
6308
  };
6444
- const TEXT$q = {
6309
+ const TEXT$r = {
6445
6310
  more: "More"
6446
6311
  };
6447
6312
  const ICONS$e = {
@@ -6457,7 +6322,7 @@ const getOverflowCount = ({ actionCount, actionHeight, height, groupCount }) =>
6457
6322
  return Math.max(actionCount - getMaxActionCount({ height, actionHeight, groupCount }), 0);
6458
6323
  };
6459
6324
  const queryActions = (el) => {
6460
- return Array.from(el.querySelectorAll("calcite-action")).filter((action) => action.closest("calcite-action-menu") ? action.slot === SLOTS$p.trigger : true);
6325
+ return Array.from(el.querySelectorAll("calcite-action")).filter((action) => action.closest("calcite-action-menu") ? action.slot === SLOTS$q.trigger : true);
6461
6326
  };
6462
6327
  const overflowActions = ({ actionGroups, expanded, overflowCount }) => {
6463
6328
  let needToSlotCount = overflowCount;
@@ -6465,7 +6330,7 @@ const overflowActions = ({ actionGroups, expanded, overflowCount }) => {
6465
6330
  let slottedWithinGroupCount = 0;
6466
6331
  const groupActions = queryActions(group).reverse();
6467
6332
  groupActions.forEach((groupAction) => {
6468
- if (groupAction.slot === SLOTS$o.menuActions) {
6333
+ if (groupAction.slot === SLOTS$p.menuActions) {
6469
6334
  groupAction.removeAttribute("slot");
6470
6335
  groupAction.textEnabled = expanded;
6471
6336
  }
@@ -6475,7 +6340,7 @@ const overflowActions = ({ actionGroups, expanded, overflowCount }) => {
6475
6340
  const unslottedActions = groupActions.filter((action) => !action.slot);
6476
6341
  if (unslottedActions.length > 1 && groupActions.length > 2 && !groupAction.closest("calcite-action-menu")) {
6477
6342
  groupAction.textEnabled = true;
6478
- groupAction.setAttribute("slot", SLOTS$o.menuActions);
6343
+ groupAction.setAttribute("slot", SLOTS$p.menuActions);
6479
6344
  slottedWithinGroupCount++;
6480
6345
  if (slottedWithinGroupCount > 1) {
6481
6346
  needToSlotCount--;
@@ -6498,7 +6363,7 @@ function getCalcitePosition(position, el) {
6498
6363
  }
6499
6364
  function toggleChildActionText({ parent, expanded }) {
6500
6365
  queryActions(parent)
6501
- .filter((el) => el.slot !== SLOTS$o.menuActions)
6366
+ .filter((el) => el.slot !== SLOTS$p.menuActions)
6502
6367
  .forEach((action) => (action.textEnabled = expanded));
6503
6368
  parent
6504
6369
  .querySelectorAll("calcite-action-group, calcite-action-menu")
@@ -6527,14 +6392,14 @@ const ExpandToggle = ({ expanded, intlExpand, intlCollapse, toggle, el, position
6527
6392
  return actionNode;
6528
6393
  };
6529
6394
 
6530
- const CSS$N = {
6395
+ const CSS$P = {
6531
6396
  actionGroupBottom: "action-group--bottom"
6532
6397
  };
6533
- const SLOTS$n = {
6398
+ const SLOTS$o = {
6534
6399
  bottomActions: "bottom-actions",
6535
6400
  expandTooltip: "expand-tooltip"
6536
6401
  };
6537
- const TEXT$p = {
6402
+ const TEXT$q = {
6538
6403
  expand: "Expand",
6539
6404
  collapse: "Collapse"
6540
6405
  };
@@ -7838,7 +7703,7 @@ function processMutations$1(mutations) {
7838
7703
  });
7839
7704
  }
7840
7705
 
7841
- const actionBarCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-action-bar:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-action-bar{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-action-bar{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-action-bar{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-action-bar{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-action-bar{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:host*/.sc-calcite-action-bar-h{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}/*!@:host **/.sc-calcite-action-bar-h *.sc-calcite-action-bar{-webkit-box-sizing:border-box;box-sizing:border-box}/*!@:root*/.sc-calcite-action-bar:root{--calcite-popper-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-action-bar-h{display:none}/*!@:host*/.sc-calcite-action-bar-h{pointer-events:auto;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-item-align:stretch;align-self:stretch;max-width:15vw}/*!@:host([overflow-actions-disabled])*/[overflow-actions-disabled].sc-calcite-action-bar-h{overflow-y:auto}/*!@:host([expanded])*/[expanded].sc-calcite-action-bar-h{max-width:20vw}/*!@::slotted(calcite-action-group)*/.sc-calcite-action-bar-s>calcite-action-group{border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}/*!@::slotted(calcite-action-group:last-child)*/.sc-calcite-action-bar-s>calcite-action-group:last-child{border-bottom-width:0px}/*!@.action-group--bottom*/.action-group--bottom.sc-calcite-action-bar{-ms-flex-positive:1;flex-grow:1;-ms-flex-pack:end;justify-content:flex-end;padding-bottom:0px}";
7706
+ const actionBarCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-action-bar:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-action-bar{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-action-bar{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-action-bar{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-action-bar{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-action-bar{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:host*/.sc-calcite-action-bar-h{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}/*!@:host **/.sc-calcite-action-bar-h *.sc-calcite-action-bar{-webkit-box-sizing:border-box;box-sizing:border-box}/*!@:root*/.sc-calcite-action-bar:root{--calcite-popper-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-action-bar-h{display:none}/*!@:host*/.sc-calcite-action-bar-h{pointer-events:auto;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-item-align:stretch;align-self:stretch;max-width:15vw;background:transparent}/*!@:host([overflow-actions-disabled])*/[overflow-actions-disabled].sc-calcite-action-bar-h{overflow-y:auto}/*!@:host([expanded])*/[expanded].sc-calcite-action-bar-h{max-width:20vw}/*!@::slotted(calcite-action-group)*/.sc-calcite-action-bar-s>calcite-action-group{border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}/*!@::slotted(calcite-action-group:last-child)*/.sc-calcite-action-bar-s>calcite-action-group:last-child{border-bottom-width:0px}/*!@.action-group--bottom*/.action-group--bottom.sc-calcite-action-bar{-ms-flex-positive:1;flex-grow:1;-ms-flex-pack:end;justify-content:flex-end;padding-bottom:0px}";
7842
7707
 
7843
7708
  /**
7844
7709
  * @slot - A slot for adding `calcite-action`s that will appear at the top of the action bar.
@@ -7899,7 +7764,7 @@ class ActionBar {
7899
7764
  const actions = queryActions(el);
7900
7765
  const actionCount = expandDisabled ? actions.length : actions.length + 1;
7901
7766
  const actionGroups = Array.from(el.querySelectorAll("calcite-action-group"));
7902
- const groupCount = getSlotted(el, SLOTS$n.bottomActions) || !expandDisabled
7767
+ const groupCount = getSlotted(el, SLOTS$o.bottomActions) || !expandDisabled
7903
7768
  ? actionGroups.length + 1
7904
7769
  : actionGroups.length;
7905
7770
  const overflowCount = getOverflowCount({
@@ -7996,11 +7861,11 @@ class ActionBar {
7996
7861
  // --------------------------------------------------------------------------
7997
7862
  renderBottomActionGroup() {
7998
7863
  const { expanded, expandDisabled, intlExpand, intlCollapse, el, position, toggleExpand, scale } = this;
7999
- const tooltip = getSlotted(el, SLOTS$n.expandTooltip);
8000
- const expandLabel = intlExpand || TEXT$p.expand;
8001
- const collapseLabel = intlCollapse || TEXT$p.collapse;
7864
+ const tooltip = getSlotted(el, SLOTS$o.expandTooltip);
7865
+ const expandLabel = intlExpand || TEXT$q.expand;
7866
+ const collapseLabel = intlCollapse || TEXT$q.collapse;
8002
7867
  const expandToggleNode = !expandDisabled ? (hAsync(ExpandToggle, { el: el, expanded: expanded, intlCollapse: collapseLabel, intlExpand: expandLabel, position: position, ref: this.setExpandToggleRef, scale: scale, toggle: toggleExpand, tooltip: tooltip })) : null;
8003
- return getSlotted(el, SLOTS$n.bottomActions) || expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$N.actionGroupBottom, scale: scale }, hAsync("slot", { name: SLOTS$n.bottomActions }), hAsync("slot", { name: SLOTS$n.expandTooltip }), expandToggleNode)) : null;
7868
+ return getSlotted(el, SLOTS$o.bottomActions) || expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$P.actionGroupBottom, scale: scale }, hAsync("slot", { name: SLOTS$o.bottomActions }), hAsync("slot", { name: SLOTS$o.expandTooltip }), expandToggleNode)) : null;
8004
7869
  }
8005
7870
  render() {
8006
7871
  return (hAsync(Host, { onCalciteActionMenuOpenChange: this.actionMenuOpenChangeHandler }, hAsync("slot", null), this.renderBottomActionGroup()));
@@ -8089,13 +7954,13 @@ class ActionGroup {
8089
7954
  // --------------------------------------------------------------------------
8090
7955
  renderTooltip() {
8091
7956
  const { el } = this;
8092
- const hasTooltip = getSlotted(el, SLOTS$o.menuTooltip);
8093
- return hasTooltip ? hAsync("slot", { name: SLOTS$o.menuTooltip, slot: SLOTS$p.tooltip }) : null;
7957
+ const hasTooltip = getSlotted(el, SLOTS$p.menuTooltip);
7958
+ return hasTooltip ? hAsync("slot", { name: SLOTS$p.menuTooltip, slot: SLOTS$q.tooltip }) : null;
8094
7959
  }
8095
7960
  renderMenu() {
8096
7961
  const { el, expanded, intlMore, menuOpen, scale } = this;
8097
- const hasMenuItems = getSlotted(el, SLOTS$o.menuActions);
8098
- return hasMenuItems ? (hAsync("calcite-action-menu", { expanded: expanded, flipPlacements: ["left", "right"], label: intlMore || TEXT$q.more, onCalciteActionMenuOpenChange: this.setMenuOpen, open: menuOpen, placement: "leading-start", scale: scale }, hAsync("calcite-action", { icon: ICONS$e.menu, scale: scale, slot: SLOTS$p.trigger, text: intlMore || TEXT$q.more, textEnabled: expanded }), hAsync("slot", { name: SLOTS$o.menuActions }), this.renderTooltip())) : null;
7962
+ const hasMenuItems = getSlotted(el, SLOTS$p.menuActions);
7963
+ return hasMenuItems ? (hAsync("calcite-action-menu", { expanded: expanded, flipPlacements: ["left", "right"], label: intlMore || TEXT$r.more, onCalciteActionMenuOpenChange: this.setMenuOpen, open: menuOpen, placement: "leading-start", scale: scale }, hAsync("calcite-action", { icon: ICONS$e.menu, scale: scale, slot: SLOTS$q.trigger, text: intlMore || TEXT$r.more, textEnabled: expanded }), hAsync("slot", { name: SLOTS$p.menuActions }), this.renderTooltip())) : null;
8099
7964
  }
8100
7965
  render() {
8101
7966
  return (hAsync(Fragment, null, hAsync("slot", null), this.renderMenu()));
@@ -8173,7 +8038,7 @@ class ActionMenu {
8173
8038
  // --------------------------------------------------------------------------
8174
8039
  this.connectMenuButtonEl = () => {
8175
8040
  const { el, menuButtonId, menuId, open, label } = this;
8176
- const menuButtonEl = getSlotted(el, SLOTS$p.trigger) || this.defaultMenuButtonEl;
8041
+ const menuButtonEl = getSlotted(el, SLOTS$q.trigger) || this.defaultMenuButtonEl;
8177
8042
  if (this.menuButtonEl === menuButtonEl) {
8178
8043
  return;
8179
8044
  }
@@ -8387,17 +8252,17 @@ class ActionMenu {
8387
8252
  }
8388
8253
  renderMenuButton() {
8389
8254
  const { label, scale, expanded } = this;
8390
- const menuButtonSlot = (hAsync("slot", { name: SLOTS$p.trigger }, hAsync("calcite-action", { class: CSS$O.defaultTrigger, icon: ICONS$f.menu, ref: this.setDefaultMenuButtonEl, scale: scale, text: label, textEnabled: expanded })));
8255
+ const menuButtonSlot = (hAsync("slot", { name: SLOTS$q.trigger }, hAsync("calcite-action", { class: CSS$Q.defaultTrigger, icon: ICONS$f.menu, ref: this.setDefaultMenuButtonEl, scale: scale, text: label, textEnabled: expanded })));
8391
8256
  return menuButtonSlot;
8392
8257
  }
8393
8258
  renderMenuItems() {
8394
8259
  const { actionElements, activeMenuItemIndex, open, menuId, menuButtonEl, label, placement, overlayPositioning, flipPlacements } = this;
8395
8260
  const activeAction = actionElements[activeMenuItemIndex];
8396
8261
  const activeDescendantId = (activeAction === null || activeAction === void 0 ? void 0 : activeAction.id) || null;
8397
- return (hAsync("calcite-popover", { disablePointer: true, flipPlacements: flipPlacements, label: label, offsetDistance: 0, open: open, overlayPositioning: overlayPositioning, placement: placement, referenceElement: menuButtonEl }, hAsync("div", { "aria-activedescendant": activeDescendantId, "aria-labelledby": menuButtonEl === null || menuButtonEl === void 0 ? void 0 : menuButtonEl.id, class: CSS$O.menu, id: menuId, onClick: this.handleCalciteActionClick, onKeyDown: this.menuActionsContainerKeyDown, onKeyUp: this.menuActionsContainerKeyUp, ref: (el) => (this.menuEl = el), role: "menu", tabIndex: -1 }, hAsync("slot", null))));
8262
+ return (hAsync("calcite-popover", { disablePointer: true, flipPlacements: flipPlacements, label: label, offsetDistance: 0, open: open, overlayPositioning: overlayPositioning, placement: placement, referenceElement: menuButtonEl }, hAsync("div", { "aria-activedescendant": activeDescendantId, "aria-labelledby": menuButtonEl === null || menuButtonEl === void 0 ? void 0 : menuButtonEl.id, class: CSS$Q.menu, id: menuId, onClick: this.handleCalciteActionClick, onKeyDown: this.menuActionsContainerKeyDown, onKeyUp: this.menuActionsContainerKeyUp, ref: (el) => (this.menuEl = el), role: "menu", tabIndex: -1 }, hAsync("slot", null))));
8398
8263
  }
8399
8264
  render() {
8400
- return (hAsync(Fragment, null, this.renderMenuButton(), this.renderMenuItems(), hAsync("slot", { name: SLOTS$p.tooltip, onSlotchange: this.updateTooltip })));
8265
+ return (hAsync(Fragment, null, this.renderMenuButton(), this.renderMenuItems(), hAsync("slot", { name: SLOTS$q.tooltip, onSlotchange: this.updateTooltip })));
8401
8266
  }
8402
8267
  isValidKey(key, supportedKeys) {
8403
8268
  return !!supportedKeys.find((k) => k === key);
@@ -8429,19 +8294,19 @@ class ActionMenu {
8429
8294
  }; }
8430
8295
  }
8431
8296
 
8432
- const CSS$M = {
8297
+ const CSS$O = {
8433
8298
  actionGroupBottom: "action-group--bottom",
8434
8299
  container: "container"
8435
8300
  };
8436
- const TEXT$o = {
8301
+ const TEXT$p = {
8437
8302
  expand: "Expand",
8438
8303
  collapse: "Collapse"
8439
8304
  };
8440
- const SLOTS$m = {
8305
+ const SLOTS$n = {
8441
8306
  expandTooltip: "expand-tooltip"
8442
8307
  };
8443
8308
 
8444
- const actionPadCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-action-pad:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-action-pad{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-action-pad{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-action-pad{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-action-pad{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-action-pad{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:host*/.sc-calcite-action-pad-h{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}/*!@:host **/.sc-calcite-action-pad-h *.sc-calcite-action-pad{-webkit-box-sizing:border-box;box-sizing:border-box}/*!@:root*/.sc-calcite-action-pad:root{--calcite-popper-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-action-pad-h{display:none}/*!@:host*/.sc-calcite-action-pad-h{display:block}@keyframes in{0%{opacity:0}100%{opacity:1}}/*!@:host*/.sc-calcite-action-pad-h{-webkit-animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.125rem}/*!@:host([expanded])*/[expanded].sc-calcite-action-pad-h{max-width:20vw}/*!@::slotted(calcite-action-group)*/.sc-calcite-action-pad-s>calcite-action-group{border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-bottom:0px;padding-top:0px}/*!@.container*/.container.sc-calcite-action-pad{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:column;flex-direction:column;overflow-y:auto;border-radius:0.25rem;background-color:var(--calcite-ui-background);--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);max-width:15vw}/*!@.action-group--bottom*/.action-group--bottom.sc-calcite-action-pad{-ms-flex-positive:1;flex-grow:1;-ms-flex-pack:end;justify-content:flex-end;padding-bottom:0px}/*!@:host([layout=horizontal]) .container*/[layout=horizontal].sc-calcite-action-pad-h .container.sc-calcite-action-pad{-ms-flex-direction:row;flex-direction:row;max-width:unset}/*!@:host([layout=horizontal]) .container .action-group--bottom*/[layout=horizontal].sc-calcite-action-pad-h .container.sc-calcite-action-pad .action-group--bottom.sc-calcite-action-pad{padding:0px}/*!@:host([layout=horizontal]) .container ::slotted(calcite-action-group)*/.sc-calcite-action-pad-h[layout=horizontal] .container .sc-calcite-action-pad-s>calcite-action-group{border-width:0px;padding:0px;border-inline-end-width:1px}/*!@::slotted(calcite-action-group:last-child)*/.sc-calcite-action-pad-s>calcite-action-group:last-child{border-bottom-width:0px}";
8309
+ const actionPadCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-action-pad:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-action-pad{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-action-pad{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-action-pad{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-action-pad{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-action-pad{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:host*/.sc-calcite-action-pad-h{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}/*!@:host **/.sc-calcite-action-pad-h *.sc-calcite-action-pad{-webkit-box-sizing:border-box;box-sizing:border-box}/*!@:root*/.sc-calcite-action-pad:root{--calcite-popper-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-action-pad-h{display:none}/*!@:host*/.sc-calcite-action-pad-h{display:block}@keyframes in{0%{opacity:0}100%{opacity:1}}/*!@:host*/.sc-calcite-action-pad-h{-webkit-animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.125rem}/*!@:host([expanded])*/[expanded].sc-calcite-action-pad-h{max-width:20vw;background:transparent}/*!@::slotted(calcite-action-group)*/.sc-calcite-action-pad-s>calcite-action-group{border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-bottom:0px;padding-top:0px}/*!@.container*/.container.sc-calcite-action-pad{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:column;flex-direction:column;overflow-y:auto;border-radius:0.25rem;background-color:var(--calcite-ui-background);--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);max-width:15vw}/*!@.action-group--bottom*/.action-group--bottom.sc-calcite-action-pad{-ms-flex-positive:1;flex-grow:1;-ms-flex-pack:end;justify-content:flex-end;padding-bottom:0px}/*!@:host([layout=horizontal]) .container*/[layout=horizontal].sc-calcite-action-pad-h .container.sc-calcite-action-pad{-ms-flex-direction:row;flex-direction:row;max-width:unset}/*!@:host([layout=horizontal]) .container .action-group--bottom*/[layout=horizontal].sc-calcite-action-pad-h .container.sc-calcite-action-pad .action-group--bottom.sc-calcite-action-pad{padding:0px}/*!@:host([layout=horizontal]) .container ::slotted(calcite-action-group)*/.sc-calcite-action-pad-h[layout=horizontal] .container .sc-calcite-action-pad-s>calcite-action-group{border-width:0px;padding:0px;border-inline-end-width:1px}/*!@::slotted(calcite-action-group:last-child)*/.sc-calcite-action-pad-s>calcite-action-group:last-child{border-bottom-width:0px}";
8445
8310
 
8446
8311
  /**
8447
8312
  * @slot - A slot for adding `calcite-action`s to the component.
@@ -8534,14 +8399,14 @@ class ActionPad {
8534
8399
  // --------------------------------------------------------------------------
8535
8400
  renderBottomActionGroup() {
8536
8401
  const { expanded, expandDisabled, intlExpand, intlCollapse, el, position, toggleExpand, scale } = this;
8537
- const tooltip = getSlotted(el, SLOTS$m.expandTooltip);
8538
- const expandLabel = intlExpand || TEXT$o.expand;
8539
- const collapseLabel = intlCollapse || TEXT$o.collapse;
8402
+ const tooltip = getSlotted(el, SLOTS$n.expandTooltip);
8403
+ const expandLabel = intlExpand || TEXT$p.expand;
8404
+ const collapseLabel = intlCollapse || TEXT$p.collapse;
8540
8405
  const expandToggleNode = !expandDisabled ? (hAsync(ExpandToggle, { el: el, expanded: expanded, intlCollapse: collapseLabel, intlExpand: expandLabel, position: position, ref: this.setExpandToggleRef, scale: scale, toggle: toggleExpand, tooltip: tooltip })) : null;
8541
- return expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$M.actionGroupBottom, scale: scale }, hAsync("slot", { name: SLOTS$m.expandTooltip }), expandToggleNode)) : null;
8406
+ return expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$O.actionGroupBottom, scale: scale }, hAsync("slot", { name: SLOTS$n.expandTooltip }), expandToggleNode)) : null;
8542
8407
  }
8543
8408
  render() {
8544
- return (hAsync(Host, { onCalciteActionMenuOpenChange: this.actionMenuOpenChangeHandler }, hAsync("div", { class: CSS$M.container }, hAsync("slot", null), this.renderBottomActionGroup())));
8409
+ return (hAsync(Host, { onCalciteActionMenuOpenChange: this.actionMenuOpenChangeHandler }, hAsync("div", { class: CSS$O.container }, hAsync("slot", null), this.renderBottomActionGroup())));
8545
8410
  }
8546
8411
  get el() { return getElement(this); }
8547
8412
  static get watchers() { return {
@@ -8567,7 +8432,7 @@ class ActionPad {
8567
8432
  }; }
8568
8433
  }
8569
8434
 
8570
- const TEXT$n = {
8435
+ const TEXT$o = {
8571
8436
  intlClose: "Close"
8572
8437
  };
8573
8438
  const DURATIONS = {
@@ -8575,7 +8440,7 @@ const DURATIONS = {
8575
8440
  medium: 10000,
8576
8441
  fast: 6000
8577
8442
  };
8578
- const SLOTS$l = {
8443
+ const SLOTS$m = {
8579
8444
  title: "title",
8580
8445
  message: "message",
8581
8446
  link: "link"
@@ -8627,7 +8492,7 @@ class Alert {
8627
8492
  *
8628
8493
  * @default "Close"
8629
8494
  */
8630
- this.intlClose = TEXT$n.intlClose;
8495
+ this.intlClose = TEXT$o.intlClose;
8631
8496
  /** Specifies the placement of the component */
8632
8497
  this.placement = "bottom";
8633
8498
  /** Specifies the size of the component. */
@@ -8722,7 +8587,7 @@ class Alert {
8722
8587
  container: true,
8723
8588
  queued,
8724
8589
  [placement]: true
8725
- }, onTransitionEnd: this.transitionEnd, ref: this.setContainerDiv }, requestedIcon ? (hAsync("div", { class: "alert-icon" }, hAsync("calcite-icon", { icon: requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, hAsync("div", { class: "alert-content" }, hAsync("slot", { name: SLOTS$l.title }), hAsync("slot", { name: SLOTS$l.message }), hAsync("slot", { name: SLOTS$l.link })), queueCount, !autoDismiss ? closeButton : null, active && !queued && autoDismiss ? hAsync("div", { class: "alert-dismiss-progress" }) : null)));
8590
+ }, onTransitionEnd: this.transitionEnd, ref: this.setContainerDiv }, requestedIcon ? (hAsync("div", { class: "alert-icon" }, hAsync("calcite-icon", { icon: requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, hAsync("div", { class: "alert-content" }, hAsync("slot", { name: SLOTS$m.title }), hAsync("slot", { name: SLOTS$m.message }), hAsync("slot", { name: SLOTS$m.link })), queueCount, !autoDismiss ? closeButton : null, active && !queued && autoDismiss ? hAsync("div", { class: "alert-dismiss-progress" }) : null)));
8726
8591
  }
8727
8592
  // when an alert is opened or closed, update queue and determine active alert
8728
8593
  alertSync(event) {
@@ -9090,7 +8955,7 @@ class Avatar {
9090
8955
  }; }
9091
8956
  }
9092
8957
 
9093
- const CSS$L = {
8958
+ const CSS$N = {
9094
8959
  article: "article",
9095
8960
  content: "content",
9096
8961
  headerContainer: "header-container",
@@ -9109,13 +8974,13 @@ const CSS$L = {
9109
8974
  invalid: "invalid",
9110
8975
  loading: "loading"
9111
8976
  };
9112
- const TEXT$m = {
8977
+ const TEXT$n = {
9113
8978
  collapse: "Collapse",
9114
8979
  expand: "Expand",
9115
8980
  loading: "Loading",
9116
8981
  options: "Options"
9117
8982
  };
9118
- const SLOTS$k = {
8983
+ const SLOTS$l = {
9119
8984
  icon: "icon",
9120
8985
  control: "control",
9121
8986
  headerMenuActions: "header-menu-actions"
@@ -9172,25 +9037,25 @@ class Block {
9172
9037
  *
9173
9038
  * @default "Collapse"
9174
9039
  */
9175
- this.intlCollapse = TEXT$m.collapse;
9040
+ this.intlCollapse = TEXT$n.collapse;
9176
9041
  /**
9177
9042
  * Aria-label for expanding the toggle and tooltip used for the toggle when collapsed.
9178
9043
  *
9179
9044
  * @default "Expand"
9180
9045
  */
9181
- this.intlExpand = TEXT$m.expand;
9046
+ this.intlExpand = TEXT$n.expand;
9182
9047
  /**
9183
9048
  * string to override English loading text
9184
9049
  *
9185
9050
  * @default "Loading"
9186
9051
  */
9187
- this.intlLoading = TEXT$m.loading;
9052
+ this.intlLoading = TEXT$n.loading;
9188
9053
  /**
9189
9054
  * Text string used for the actions menu
9190
9055
  *
9191
9056
  * @default "Options"
9192
9057
  */
9193
- this.intlOptions = TEXT$m.options;
9058
+ this.intlOptions = TEXT$n.options;
9194
9059
  /**
9195
9060
  * When true, content is waiting to be loaded. This state shows a busy indicator.
9196
9061
  */
@@ -9245,32 +9110,32 @@ class Block {
9245
9110
  const { el, status } = this;
9246
9111
  const showingLoadingStatus = this.loading && !this.open;
9247
9112
  const statusIcon = showingLoadingStatus ? ICONS$c.refresh : ICONS$c[status];
9248
- const hasIcon = getSlotted(el, SLOTS$k.icon) || statusIcon;
9249
- const iconEl = !statusIcon ? (hAsync("slot", { key: "icon-slot", name: SLOTS$k.icon })) : (hAsync("calcite-icon", { class: {
9250
- [CSS$L.statusIcon]: true,
9251
- [CSS$L.valid]: status == "valid",
9252
- [CSS$L.invalid]: status == "invalid",
9253
- [CSS$L.loading]: showingLoadingStatus
9113
+ const hasIcon = getSlotted(el, SLOTS$l.icon) || statusIcon;
9114
+ const iconEl = !statusIcon ? (hAsync("slot", { key: "icon-slot", name: SLOTS$l.icon })) : (hAsync("calcite-icon", { class: {
9115
+ [CSS$N.statusIcon]: true,
9116
+ [CSS$N.valid]: status == "valid",
9117
+ [CSS$N.invalid]: status == "invalid",
9118
+ [CSS$N.loading]: showingLoadingStatus
9254
9119
  }, icon: statusIcon, scale: "m" }));
9255
- return hasIcon ? hAsync("div", { class: CSS$L.icon }, iconEl) : null;
9120
+ return hasIcon ? hAsync("div", { class: CSS$N.icon }, iconEl) : null;
9256
9121
  }
9257
9122
  renderTitle() {
9258
9123
  const { heading, headingLevel, summary, description } = this;
9259
- return heading || summary || description ? (hAsync("div", { class: CSS$L.title }, hAsync(Heading, { class: CSS$L.heading, level: headingLevel || HEADING_LEVEL$7 }, heading), summary || description ? (hAsync("div", { class: CSS$L.description }, summary || description)) : null)) : null;
9124
+ return heading || summary || description ? (hAsync("div", { class: CSS$N.title }, hAsync(Heading, { class: CSS$N.heading, level: headingLevel || HEADING_LEVEL$7 }, heading), summary || description ? (hAsync("div", { class: CSS$N.description }, summary || description)) : null)) : null;
9260
9125
  }
9261
9126
  render() {
9262
9127
  const { collapsible, el, intlCollapse, intlExpand, loading, open, intlLoading } = this;
9263
- const toggleLabel = open ? intlCollapse || TEXT$m.collapse : intlExpand || TEXT$m.expand;
9264
- const headerContent = (hAsync("header", { class: CSS$L.header }, this.renderIcon(), this.renderTitle()));
9265
- const hasControl = !!getSlotted(el, SLOTS$k.control);
9266
- const hasMenuActions = !!getSlotted(el, SLOTS$k.headerMenuActions);
9128
+ const toggleLabel = open ? intlCollapse || TEXT$n.collapse : intlExpand || TEXT$n.expand;
9129
+ const headerContent = (hAsync("header", { class: CSS$N.header }, this.renderIcon(), this.renderTitle()));
9130
+ const hasControl = !!getSlotted(el, SLOTS$l.control);
9131
+ const hasMenuActions = !!getSlotted(el, SLOTS$l.headerMenuActions);
9267
9132
  const collapseIcon = open ? ICONS$c.opened : ICONS$c.closed;
9268
9133
  const { guid } = this;
9269
9134
  const regionId = `${guid}-region`;
9270
9135
  const buttonId = `${guid}-button`;
9271
- const headerNode = (hAsync("div", { class: CSS$L.headerContainer }, this.dragHandle ? hAsync("calcite-handle", null) : null, collapsible ? (hAsync("button", { "aria-controls": regionId, "aria-expanded": collapsible ? toAriaBoolean(open) : null, "aria-label": toggleLabel, class: CSS$L.toggle, id: buttonId, onClick: this.onHeaderClick, title: toggleLabel }, headerContent, !hasControl && !hasMenuActions ? (hAsync("calcite-icon", { "aria-hidden": "true", class: CSS$L.toggleIcon, icon: collapseIcon, scale: "s" })) : null)) : (headerContent), loading ? (hAsync("calcite-loader", { inline: true, "is-active": true, label: intlLoading })) : hasControl ? (hAsync("div", { class: CSS$L.controlContainer }, hAsync("slot", { name: SLOTS$k.control }))) : null, hasMenuActions ? (hAsync("calcite-action-menu", { label: this.intlOptions || TEXT$m.options }, hAsync("slot", { name: SLOTS$k.headerMenuActions }))) : null));
9136
+ const headerNode = (hAsync("div", { class: CSS$N.headerContainer }, this.dragHandle ? hAsync("calcite-handle", null) : null, collapsible ? (hAsync("button", { "aria-controls": regionId, "aria-expanded": collapsible ? toAriaBoolean(open) : null, "aria-label": toggleLabel, class: CSS$N.toggle, id: buttonId, onClick: this.onHeaderClick, title: toggleLabel }, headerContent, !hasControl && !hasMenuActions ? (hAsync("calcite-icon", { "aria-hidden": "true", class: CSS$N.toggleIcon, icon: collapseIcon, scale: "s" })) : null)) : (headerContent), loading ? (hAsync("calcite-loader", { inline: true, "is-active": true, label: intlLoading })) : hasControl ? (hAsync("div", { class: CSS$N.controlContainer }, hAsync("slot", { name: SLOTS$l.control }))) : null, hasMenuActions ? (hAsync("calcite-action-menu", { label: this.intlOptions || TEXT$n.options }, hAsync("slot", { name: SLOTS$l.headerMenuActions }))) : null));
9272
9137
  return (hAsync(Host, null, hAsync("article", { "aria-busy": toAriaBoolean(loading), class: {
9273
- [CSS$L.article]: true
9138
+ [CSS$N.article]: true
9274
9139
  } }, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: {
9275
9140
  content: true,
9276
9141
  "content--spaced": !this.disablePadding
@@ -9304,7 +9169,7 @@ class Block {
9304
9169
  }; }
9305
9170
  }
9306
9171
 
9307
- const CSS$K = {
9172
+ const CSS$M = {
9308
9173
  content: "content",
9309
9174
  invalid: "invalid",
9310
9175
  toggle: "toggle",
@@ -9316,7 +9181,7 @@ const CSS$K = {
9316
9181
  statusIcon: "status-icon",
9317
9182
  valid: "valid"
9318
9183
  };
9319
- const TEXT$l = {
9184
+ const TEXT$m = {
9320
9185
  collapse: "Collapse",
9321
9186
  expand: "Expand"
9322
9187
  };
@@ -9375,9 +9240,9 @@ class BlockSection {
9375
9240
  const { status } = this;
9376
9241
  const statusIcon = (_a = ICONS$b[status]) !== null && _a !== void 0 ? _a : false;
9377
9242
  const statusIconClasses = {
9378
- [CSS$K.statusIcon]: true,
9379
- [CSS$K.valid]: status == "valid",
9380
- [CSS$K.invalid]: status == "invalid"
9243
+ [CSS$M.statusIcon]: true,
9244
+ [CSS$M.valid]: status == "valid",
9245
+ [CSS$M.invalid]: status == "invalid"
9381
9246
  };
9382
9247
  return !!statusIcon ? (hAsync("calcite-icon", { class: statusIconClasses, icon: statusIcon, scale: "s" })) : null;
9383
9248
  }
@@ -9389,18 +9254,18 @@ class BlockSection {
9389
9254
  : dir === "rtl"
9390
9255
  ? ICONS$b.menuClosedLeft
9391
9256
  : ICONS$b.menuClosedRight;
9392
- const toggleLabel = open ? intlCollapse || TEXT$l.collapse : intlExpand || TEXT$l.expand;
9257
+ const toggleLabel = open ? intlCollapse || TEXT$m.collapse : intlExpand || TEXT$m.expand;
9393
9258
  const { guid } = this;
9394
9259
  const regionId = `${guid}-region`;
9395
9260
  const buttonId = `${guid}-button`;
9396
9261
  const headerNode = toggleDisplay === "switch" ? (hAsync("div", { "aria-controls": regionId, "aria-label": toggleLabel, class: {
9397
- [CSS$K.toggle]: true,
9398
- [CSS$K.toggleSwitch]: true
9399
- }, id: buttonId, onClick: this.toggleSection, onKeyDown: this.handleHeaderKeyDown, tabIndex: 0, title: toggleLabel }, hAsync("div", { class: CSS$K.toggleSwitchContent }, hAsync("span", { class: CSS$K.toggleSwitchText }, text)), hAsync("calcite-switch", { checked: open, label: toggleLabel, scale: "s", tabIndex: -1 }), this.renderStatusIcon())) : (hAsync("button", { "aria-controls": regionId, "aria-label": toggleLabel, class: {
9400
- [CSS$K.sectionHeader]: true,
9401
- [CSS$K.toggle]: true
9402
- }, id: buttonId, name: toggleLabel, onClick: this.toggleSection }, hAsync("calcite-icon", { icon: arrowIcon, scale: "s" }), hAsync("span", { class: CSS$K.sectionHeaderText }, text), this.renderStatusIcon()));
9403
- return (hAsync(Host, null, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$K.content, hidden: !open, id: regionId }, hAsync("slot", null))));
9262
+ [CSS$M.toggle]: true,
9263
+ [CSS$M.toggleSwitch]: true
9264
+ }, id: buttonId, onClick: this.toggleSection, onKeyDown: this.handleHeaderKeyDown, tabIndex: 0, title: toggleLabel }, hAsync("div", { class: CSS$M.toggleSwitchContent }, hAsync("span", { class: CSS$M.toggleSwitchText }, text)), hAsync("calcite-switch", { checked: open, label: toggleLabel, scale: "s", tabIndex: -1 }), this.renderStatusIcon())) : (hAsync("button", { "aria-controls": regionId, "aria-label": toggleLabel, class: {
9265
+ [CSS$M.sectionHeader]: true,
9266
+ [CSS$M.toggle]: true
9267
+ }, id: buttonId, name: toggleLabel, onClick: this.toggleSection }, hAsync("calcite-icon", { icon: arrowIcon, scale: "s" }), hAsync("span", { class: CSS$M.sectionHeaderText }, text), this.renderStatusIcon()));
9268
+ return (hAsync(Host, null, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$M.content, hidden: !open, id: regionId }, hAsync("slot", null))));
9404
9269
  }
9405
9270
  get el() { return getElement(this); }
9406
9271
  static get style() { return blockSectionCss; }
@@ -9449,7 +9314,7 @@ class BlockSection {
9449
9314
  }
9450
9315
  })(HTMLFormElement.prototype);
9451
9316
 
9452
- const CSS$J = {
9317
+ const CSS$L = {
9453
9318
  buttonLoader: "calcite-button--loader",
9454
9319
  content: "content",
9455
9320
  contentSlotted: "content--slotted",
@@ -9461,7 +9326,7 @@ const CSS$J = {
9461
9326
  iconStartEmpty: "icon-start-empty",
9462
9327
  iconEndEmpty: "icon-end-empty"
9463
9328
  };
9464
- const TEXT$k = {
9329
+ const TEXT$l = {
9465
9330
  loading: "Loading"
9466
9331
  };
9467
9332
 
@@ -9809,7 +9674,7 @@ class Button {
9809
9674
  *
9810
9675
  * @default "Loading"
9811
9676
  */
9812
- this.intlLoading = TEXT$k.loading;
9677
+ this.intlLoading = TEXT$l.loading;
9813
9678
  /** optionally add a calcite-loader component to the button, disabling interaction. */
9814
9679
  this.loading = false;
9815
9680
  /** optionally add a round style to the button */
@@ -9878,14 +9743,14 @@ class Button {
9878
9743
  render() {
9879
9744
  const childElType = this.href ? "a" : "button";
9880
9745
  const Tag = childElType;
9881
- const loaderNode = this.hasLoader ? (hAsync("div", { class: CSS$J.buttonLoader }, hAsync("calcite-loader", { active: true, class: this.loading ? CSS$J.loadingIn : CSS$J.loadingOut, inline: true, label: this.intlLoading, scale: "m" }))) : null;
9882
- const iconStartEl = (hAsync("calcite-icon", { class: { [CSS$J.icon]: true, [CSS$J.iconStart]: true }, flipRtl: this.iconFlipRtl === "start" || this.iconFlipRtl === "both", icon: this.iconStart, scale: "s" }));
9883
- const iconEndEl = (hAsync("calcite-icon", { class: { [CSS$J.icon]: true, [CSS$J.iconEnd]: true }, flipRtl: this.iconFlipRtl === "end" || this.iconFlipRtl === "both", icon: this.iconEnd, scale: "s" }));
9884
- const contentEl = (hAsync("span", { class: CSS$J.content }, hAsync("slot", null)));
9746
+ const loaderNode = this.hasLoader ? (hAsync("div", { class: CSS$L.buttonLoader }, hAsync("calcite-loader", { active: true, class: this.loading ? CSS$L.loadingIn : CSS$L.loadingOut, inline: true, label: this.intlLoading, scale: "m" }))) : null;
9747
+ const iconStartEl = (hAsync("calcite-icon", { class: { [CSS$L.icon]: true, [CSS$L.iconStart]: true }, flipRtl: this.iconFlipRtl === "start" || this.iconFlipRtl === "both", icon: this.iconStart, scale: "s" }));
9748
+ const iconEndEl = (hAsync("calcite-icon", { class: { [CSS$L.icon]: true, [CSS$L.iconEnd]: true }, flipRtl: this.iconFlipRtl === "end" || this.iconFlipRtl === "both", icon: this.iconEnd, scale: "s" }));
9749
+ const contentEl = (hAsync("span", { class: CSS$L.content }, hAsync("slot", null)));
9885
9750
  return (hAsync(Tag, { "aria-label": getLabelText(this), class: {
9886
- [CSS$J.contentSlotted]: this.hasContent,
9887
- [CSS$J.iconStartEmpty]: !this.iconStart,
9888
- [CSS$J.iconEndEmpty]: !this.iconEnd
9751
+ [CSS$L.contentSlotted]: this.hasContent,
9752
+ [CSS$L.iconStartEmpty]: !this.iconStart,
9753
+ [CSS$L.iconEndEmpty]: !this.iconEnd
9889
9754
  }, disabled: this.disabled || this.loading, href: childElType === "a" && this.href, name: childElType === "button" && this.name, onClick: this.handleClick, ref: (el) => (this.childEl = el), rel: childElType === "a" && this.rel, tabIndex: this.disabled || this.loading ? -1 : null, target: childElType === "a" && this.target, type: childElType === "button" && this.type }, loaderNode, this.iconStart ? iconStartEl : null, this.hasContent ? contentEl : null, this.iconEnd ? iconEndEl : null));
9890
9755
  }
9891
9756
  //--------------------------------------------------------------------------
@@ -9958,7 +9823,7 @@ class Button {
9958
9823
  }; }
9959
9824
  }
9960
9825
 
9961
- const CSS$I = {
9826
+ const CSS$K = {
9962
9827
  container: "container",
9963
9828
  header: "header",
9964
9829
  footer: "footer",
@@ -9967,14 +9832,14 @@ const CSS$I = {
9967
9832
  checkboxWrapper: "checkbox-wrapper",
9968
9833
  thumbnailWrapper: "thumbnail-wrapper"
9969
9834
  };
9970
- const SLOTS$j = {
9835
+ const SLOTS$k = {
9971
9836
  thumbnail: "thumbnail",
9972
9837
  title: "title",
9973
9838
  subtitle: "subtitle",
9974
9839
  footerLeading: "footer-leading",
9975
9840
  footerTrailing: "footer-trailing"
9976
9841
  };
9977
- const TEXT$j = {
9842
+ const TEXT$k = {
9978
9843
  select: "Select",
9979
9844
  deselect: "Deselect",
9980
9845
  loading: "Loading"
@@ -10014,19 +9879,19 @@ class Card {
10014
9879
  *
10015
9880
  * @default "Loading"
10016
9881
  */
10017
- this.intlLoading = TEXT$j.loading;
9882
+ this.intlLoading = TEXT$k.loading;
10018
9883
  /**
10019
9884
  * string to override English select text for checkbox when selectable is true
10020
9885
  *
10021
9886
  * @default "Select"
10022
9887
  */
10023
- this.intlSelect = TEXT$j.select;
9888
+ this.intlSelect = TEXT$k.select;
10024
9889
  /**
10025
9890
  * string to override English deselect text for checkbox when selectable is true
10026
9891
  *
10027
9892
  * @default "Deselect"
10028
9893
  */
10029
- this.intlDeselect = TEXT$j.deselect;
9894
+ this.intlDeselect = TEXT$k.deselect;
10030
9895
  this.thumbnailPosition = "block-start";
10031
9896
  //--------------------------------------------------------------------------
10032
9897
  //
@@ -10065,32 +9930,32 @@ class Card {
10065
9930
  render() {
10066
9931
  const thumbnailInline = this.thumbnailPosition.startsWith("inline");
10067
9932
  const thumbnailStart = this.thumbnailPosition.endsWith("start");
10068
- return (hAsync("div", { class: { "calcite-card-container": true, inline: thumbnailInline } }, this.loading ? (hAsync("div", { class: "calcite-card-loader-container" }, hAsync("calcite-loader", { active: true, label: this.intlLoading }))) : null, thumbnailStart && this.renderThumbnail(), hAsync("section", { "aria-busy": toAriaBoolean(this.loading), class: { [CSS$I.container]: true } }, this.selectable ? this.renderCheckbox() : null, this.renderHeader(), hAsync("div", { class: "card-content" }, hAsync("slot", null)), this.renderFooter()), !thumbnailStart && this.renderThumbnail()));
9933
+ return (hAsync("div", { class: { "calcite-card-container": true, inline: thumbnailInline } }, this.loading ? (hAsync("div", { class: "calcite-card-loader-container" }, hAsync("calcite-loader", { active: true, label: this.intlLoading }))) : null, thumbnailStart && this.renderThumbnail(), hAsync("section", { "aria-busy": toAriaBoolean(this.loading), class: { [CSS$K.container]: true } }, this.selectable ? this.renderCheckbox() : null, this.renderHeader(), hAsync("div", { class: "card-content" }, hAsync("slot", null)), this.renderFooter()), !thumbnailStart && this.renderThumbnail()));
10069
9934
  }
10070
9935
  selectCard() {
10071
9936
  this.selected = !this.selected;
10072
9937
  this.calciteCardSelect.emit();
10073
9938
  }
10074
9939
  renderThumbnail() {
10075
- return getSlotted(this.el, SLOTS$j.thumbnail) ? (hAsync("section", { class: CSS$I.thumbnailWrapper }, hAsync("slot", { name: SLOTS$j.thumbnail }))) : null;
9940
+ return getSlotted(this.el, SLOTS$k.thumbnail) ? (hAsync("section", { class: CSS$K.thumbnailWrapper }, hAsync("slot", { name: SLOTS$k.thumbnail }))) : null;
10076
9941
  }
10077
9942
  renderCheckbox() {
10078
9943
  const checkboxLabel = this.selected ? this.intlDeselect : this.intlSelect;
10079
- return (hAsync("calcite-label", { class: CSS$I.checkboxWrapper, onClick: this.cardSelectClick, onKeyDown: this.cardSelectKeyDown }, hAsync("calcite-checkbox", { checked: this.selected, label: checkboxLabel })));
9944
+ return (hAsync("calcite-label", { class: CSS$K.checkboxWrapper, onClick: this.cardSelectClick, onKeyDown: this.cardSelectKeyDown }, hAsync("calcite-checkbox", { checked: this.selected, label: checkboxLabel })));
10080
9945
  }
10081
9946
  renderHeader() {
10082
9947
  const { el } = this;
10083
- const title = getSlotted(el, SLOTS$j.title);
10084
- const subtitle = getSlotted(el, SLOTS$j.subtitle);
9948
+ const title = getSlotted(el, SLOTS$k.title);
9949
+ const subtitle = getSlotted(el, SLOTS$k.subtitle);
10085
9950
  const hasHeader = title || subtitle;
10086
- return hasHeader ? (hAsync("header", { class: CSS$I.header }, hAsync("slot", { name: SLOTS$j.title }), hAsync("slot", { name: SLOTS$j.subtitle }))) : null;
9951
+ return hasHeader ? (hAsync("header", { class: CSS$K.header }, hAsync("slot", { name: SLOTS$k.title }), hAsync("slot", { name: SLOTS$k.subtitle }))) : null;
10087
9952
  }
10088
9953
  renderFooter() {
10089
9954
  const { el } = this;
10090
- const leadingFooter = getSlotted(el, SLOTS$j.footerLeading);
10091
- const trailingFooter = getSlotted(el, SLOTS$j.footerTrailing);
9955
+ const leadingFooter = getSlotted(el, SLOTS$k.footerLeading);
9956
+ const trailingFooter = getSlotted(el, SLOTS$k.footerTrailing);
10092
9957
  const hasFooter = leadingFooter || trailingFooter;
10093
- return hasFooter ? (hAsync("footer", { class: CSS$I.footer }, hAsync("slot", { name: SLOTS$j.footerLeading }), hAsync("slot", { name: SLOTS$j.footerTrailing }))) : null;
9958
+ return hasFooter ? (hAsync("footer", { class: CSS$K.footer }, hAsync("slot", { name: SLOTS$k.footerLeading }), hAsync("slot", { name: SLOTS$k.footerTrailing }))) : null;
10094
9959
  }
10095
9960
  get el() { return getElement(this); }
10096
9961
  static get style() { return cardCss; }
@@ -10253,17 +10118,17 @@ class Checkbox {
10253
10118
  }; }
10254
10119
  }
10255
10120
 
10256
- const CSS$H = {
10121
+ const CSS$J = {
10257
10122
  title: "title",
10258
10123
  close: "close",
10259
10124
  imageContainer: "image-container",
10260
10125
  chipIcon: "chip-icon",
10261
10126
  closeIcon: "close-icon"
10262
10127
  };
10263
- const TEXT$i = {
10128
+ const TEXT$j = {
10264
10129
  close: "Close"
10265
10130
  };
10266
- const SLOTS$i = {
10131
+ const SLOTS$j = {
10267
10132
  image: "image"
10268
10133
  };
10269
10134
  const ICONS$a = {
@@ -10296,7 +10161,7 @@ class Chip {
10296
10161
  *
10297
10162
  * @default "Close"
10298
10163
  */
10299
- this.dismissLabel = TEXT$i.close;
10164
+ this.dismissLabel = TEXT$j.close;
10300
10165
  /** flip the icon in rtl */
10301
10166
  this.iconFlipRtl = false;
10302
10167
  /** specify the scale of the chip, defaults to m */
@@ -10343,13 +10208,13 @@ class Chip {
10343
10208
  //--------------------------------------------------------------------------
10344
10209
  renderChipImage() {
10345
10210
  const { el } = this;
10346
- const hasChipImage = getSlotted(el, SLOTS$i.image);
10347
- return hasChipImage ? (hAsync("div", { class: CSS$H.imageContainer, key: "image" }, hAsync("slot", { name: SLOTS$i.image }))) : null;
10211
+ const hasChipImage = getSlotted(el, SLOTS$j.image);
10212
+ return hasChipImage ? (hAsync("div", { class: CSS$J.imageContainer, key: "image" }, hAsync("slot", { name: SLOTS$j.image }))) : null;
10348
10213
  }
10349
10214
  render() {
10350
- const iconEl = (hAsync("calcite-icon", { class: CSS$H.chipIcon, flipRtl: this.iconFlipRtl, icon: this.icon, scale: "s" }));
10351
- const closeButton = (hAsync("button", { "aria-describedby": this.guid, "aria-label": this.dismissLabel, class: CSS$H.close, onClick: this.closeClickHandler, ref: (el) => (this.closeButton = el) }, hAsync("calcite-icon", { class: CSS$H.closeIcon, icon: ICONS$a.close, scale: "s" })));
10352
- return (hAsync("div", { class: "container" }, this.renderChipImage(), this.icon ? iconEl : null, hAsync("span", { class: CSS$H.title, id: this.guid }, hAsync("slot", null)), this.dismissible ? closeButton : null));
10215
+ const iconEl = (hAsync("calcite-icon", { class: CSS$J.chipIcon, flipRtl: this.iconFlipRtl, icon: this.icon, scale: "s" }));
10216
+ const closeButton = (hAsync("button", { "aria-describedby": this.guid, "aria-label": this.dismissLabel, class: CSS$J.close, onClick: this.closeClickHandler, ref: (el) => (this.closeButton = el) }, hAsync("calcite-icon", { class: CSS$J.closeIcon, icon: ICONS$a.close, scale: "s" })));
10217
+ return (hAsync("div", { class: "container" }, this.renderChipImage(), this.icon ? iconEl : null, hAsync("span", { class: CSS$J.title, id: this.guid }, hAsync("slot", null)), this.dismissible ? closeButton : null));
10353
10218
  }
10354
10219
  get el() { return getElement(this); }
10355
10220
  static get style() { return chipCss; }
@@ -12484,7 +12349,7 @@ function zeroArray(array, length) {
12484
12349
 
12485
12350
  var color = Color;
12486
12351
 
12487
- const CSS$G = {
12352
+ const CSS$I = {
12488
12353
  container: "container",
12489
12354
  controlSection: "control-section",
12490
12355
  hexOptions: "color-hex-options",
@@ -12522,7 +12387,7 @@ const HSV_LIMITS = {
12522
12387
  s: 100,
12523
12388
  v: 100
12524
12389
  };
12525
- const TEXT$h = {
12390
+ const TEXT$i = {
12526
12391
  b: "B",
12527
12392
  blue: "Blue",
12528
12393
  deleteColor: "Delete color",
@@ -12650,115 +12515,115 @@ class ColorPicker {
12650
12515
  *
12651
12516
  * @default "B"
12652
12517
  */
12653
- this.intlB = TEXT$h.b;
12518
+ this.intlB = TEXT$i.b;
12654
12519
  /**
12655
12520
  * Label used for the blue channel description
12656
12521
  *
12657
12522
  * @default "Blue"
12658
12523
  */
12659
- this.intlBlue = TEXT$h.blue;
12524
+ this.intlBlue = TEXT$i.blue;
12660
12525
  /**
12661
12526
  * Label used for the delete color button.
12662
12527
  *
12663
12528
  * @default "Delete color"
12664
12529
  */
12665
- this.intlDeleteColor = TEXT$h.deleteColor;
12530
+ this.intlDeleteColor = TEXT$i.deleteColor;
12666
12531
  /**
12667
12532
  * Label used for the green channel
12668
12533
  *
12669
12534
  * @default "G"
12670
12535
  */
12671
- this.intlG = TEXT$h.g;
12536
+ this.intlG = TEXT$i.g;
12672
12537
  /**
12673
12538
  * Label used for the green channel description
12674
12539
  *
12675
12540
  * @default "Green"
12676
12541
  */
12677
- this.intlGreen = TEXT$h.green;
12542
+ this.intlGreen = TEXT$i.green;
12678
12543
  /**
12679
12544
  * Label used for the hue channel
12680
12545
  *
12681
12546
  * @default "H"
12682
12547
  */
12683
- this.intlH = TEXT$h.h;
12548
+ this.intlH = TEXT$i.h;
12684
12549
  /**
12685
12550
  * Label used for the HSV mode
12686
12551
  *
12687
12552
  * @default "HSV"
12688
12553
  */
12689
- this.intlHsv = TEXT$h.hsv;
12554
+ this.intlHsv = TEXT$i.hsv;
12690
12555
  /**
12691
12556
  * Label used for the hex input
12692
12557
  *
12693
12558
  * @default "Hex"
12694
12559
  */
12695
- this.intlHex = TEXT$h.hex;
12560
+ this.intlHex = TEXT$i.hex;
12696
12561
  /**
12697
12562
  * Label used for the hue channel description
12698
12563
  *
12699
12564
  * @default "Hue"
12700
12565
  */
12701
- this.intlHue = TEXT$h.hue;
12566
+ this.intlHue = TEXT$i.hue;
12702
12567
  /**
12703
12568
  * Label used for the hex input when there is no color selected.
12704
12569
  *
12705
12570
  * @default "No color"
12706
12571
  */
12707
- this.intlNoColor = TEXT$h.noColor;
12572
+ this.intlNoColor = TEXT$i.noColor;
12708
12573
  /**
12709
12574
  * Label used for the red channel
12710
12575
  *
12711
12576
  * @default "R"
12712
12577
  */
12713
- this.intlR = TEXT$h.r;
12578
+ this.intlR = TEXT$i.r;
12714
12579
  /**
12715
12580
  * Label used for the red channel description
12716
12581
  *
12717
12582
  * @default "Red"
12718
12583
  */
12719
- this.intlRed = TEXT$h.red;
12584
+ this.intlRed = TEXT$i.red;
12720
12585
  /**
12721
12586
  * Label used for the RGB mode
12722
12587
  *
12723
12588
  * @default "RGB"
12724
12589
  */
12725
- this.intlRgb = TEXT$h.rgb;
12590
+ this.intlRgb = TEXT$i.rgb;
12726
12591
  /**
12727
12592
  * Label used for the saturation channel
12728
12593
  *
12729
12594
  * @default "S"
12730
12595
  */
12731
- this.intlS = TEXT$h.s;
12596
+ this.intlS = TEXT$i.s;
12732
12597
  /**
12733
12598
  * Label used for the saturation channel description
12734
12599
  *
12735
12600
  * @default "Saturation"
12736
12601
  */
12737
- this.intlSaturation = TEXT$h.saturation;
12602
+ this.intlSaturation = TEXT$i.saturation;
12738
12603
  /**
12739
12604
  * Label used for the save color button.
12740
12605
  *
12741
12606
  * @default "Save color"
12742
12607
  */
12743
- this.intlSaveColor = TEXT$h.saveColor;
12608
+ this.intlSaveColor = TEXT$i.saveColor;
12744
12609
  /**
12745
12610
  * Label used for the saved colors section
12746
12611
  *
12747
12612
  * @default "Saved"
12748
12613
  */
12749
- this.intlSaved = TEXT$h.saved;
12614
+ this.intlSaved = TEXT$i.saved;
12750
12615
  /**
12751
12616
  * Label used for the value channel
12752
12617
  *
12753
12618
  * @default "V"
12754
12619
  */
12755
- this.intlV = TEXT$h.v;
12620
+ this.intlV = TEXT$i.v;
12756
12621
  /**
12757
12622
  * Label used for the
12758
12623
  *
12759
12624
  * @default "Value"
12760
12625
  */
12761
- this.intlValue = TEXT$h.value;
12626
+ this.intlValue = TEXT$i.value;
12762
12627
  /**
12763
12628
  * The scale of the color picker.
12764
12629
  */
@@ -13025,7 +12890,7 @@ class ColorPicker {
13025
12890
  const { channelMode: activeChannelMode, intlRgb, intlHsv } = this;
13026
12891
  const active = channelMode === activeChannelMode;
13027
12892
  const label = channelMode === "rgb" ? intlRgb : intlHsv;
13028
- return (hAsync("calcite-tab-title", { active: active, class: CSS$G.colorMode, "data-color-mode": channelMode, key: channelMode, onCalciteTabsActivate: this.handleTabActivate }, label));
12893
+ return (hAsync("calcite-tab-title", { active: active, class: CSS$I.colorMode, "data-color-mode": channelMode, key: channelMode, onCalciteTabsActivate: this.handleTabActivate }, label));
13029
12894
  };
13030
12895
  this.renderChannelsTab = (channelMode) => {
13031
12896
  const { channelMode: activeChannelMode, channels, intlB, intlBlue, intlG, intlGreen, intlH, intlHue, intlR, intlRed, intlS, intlSaturation, intlV, intlValue } = this;
@@ -13036,11 +12901,11 @@ class ColorPicker {
13036
12901
  ? [intlRed, intlGreen, intlBlue]
13037
12902
  : [intlHue, intlSaturation, intlValue];
13038
12903
  const direction = getElementDir(this.el);
13039
- return (hAsync("calcite-tab", { active: active, class: CSS$G.control, key: channelMode }, hAsync("div", { class: CSS$G.channels, dir: "ltr" }, channels.map((channel, index) =>
12904
+ return (hAsync("calcite-tab", { active: active, class: CSS$I.control, key: channelMode }, hAsync("div", { class: CSS$I.channels, dir: "ltr" }, channels.map((channel, index) =>
13040
12905
  /* the channel container is ltr, so we apply the host's direction */
13041
12906
  this.renderChannel(channel, index, channelLabels[index], channelAriaLabels[index], direction)))));
13042
12907
  };
13043
- this.renderChannel = (value, index, label, ariaLabel, direction) => (hAsync("calcite-input", { class: CSS$G.channel, "data-channel-index": index, dir: direction, label: ariaLabel, numberButtonType: "none", numberingSystem: this.numberingSystem, onCalciteInputChange: this.handleChannelChange, onCalciteInputInput: this.handleChannelInput, onKeyDown: this.handleKeyDown, prefixText: label, scale: this.scale === "l" ? "m" : "s", type: "number", value: value === null || value === void 0 ? void 0 : value.toString() }));
12908
+ this.renderChannel = (value, index, label, ariaLabel, direction) => (hAsync("calcite-input", { class: CSS$I.channel, "data-channel-index": index, dir: direction, label: ariaLabel, numberButtonType: "none", numberingSystem: this.numberingSystem, onCalciteInputChange: this.handleChannelChange, onCalciteInputInput: this.handleChannelInput, onKeyDown: this.handleKeyDown, prefixText: label, scale: this.scale === "l" ? "m" : "s", type: "number", value: value === null || value === void 0 ? void 0 : value.toString() }));
13044
12909
  this.deleteColor = () => {
13045
12910
  const colorToDelete = this.color.hex();
13046
12911
  const inStorage = this.savedColors.indexOf(colorToDelete) > -1;
@@ -13143,7 +13008,7 @@ class ColorPicker {
13143
13008
  this.shiftKeyChannelAdjustment = 0;
13144
13009
  const key = event.key;
13145
13010
  if ((key !== "ArrowUp" && key !== "ArrowDown") ||
13146
- !event.composedPath().some((node) => { var _a; return (_a = node.classList) === null || _a === void 0 ? void 0 : _a.contains(CSS$G.channel); })) {
13011
+ !event.composedPath().some((node) => { var _a; return (_a = node.classList) === null || _a === void 0 ? void 0 : _a.contains(CSS$I.channel); })) {
13147
13012
  return;
13148
13013
  }
13149
13014
  const { shiftKey } = event;
@@ -13214,20 +13079,20 @@ class ColorPicker {
13214
13079
  const hueLeft = hueScopeLeft !== null && hueScopeLeft !== void 0 ? hueScopeLeft : (colorFieldWidth * DEFAULT_COLOR$1.hue()) / HSV_LIMITS.h;
13215
13080
  const noColor = color === null;
13216
13081
  const vertical = scopeOrientation === "vertical";
13217
- return (hAsync("div", { class: CSS$G.container }, hAsync("div", { class: CSS$G.colorFieldAndSliderWrap }, hAsync("canvas", { class: {
13218
- [CSS$G.colorFieldAndSlider]: true,
13219
- [CSS$G.colorFieldAndSliderInteractive]: colorFieldAndSliderInteractive
13220
- }, onPointerDown: this.handleColorFieldAndSliderPointerDown, onPointerEnter: this.handleColorFieldAndSliderPointerEnterOrMove, onPointerLeave: this.handleColorFieldAndSliderPointerLeave, onPointerMove: this.handleColorFieldAndSliderPointerEnterOrMove, ref: this.initColorFieldAndSlider }), hAsync("div", { "aria-label": vertical ? this.intlValue : this.intlSaturation, "aria-valuemax": vertical ? HSV_LIMITS.v : HSV_LIMITS.s, "aria-valuemin": "0", "aria-valuenow": (vertical ? color === null || color === void 0 ? void 0 : color.saturationv() : color === null || color === void 0 ? void 0 : color.value()) || "0", class: { [CSS$G.scope]: true, [CSS$G.colorFieldScope]: true }, onKeyDown: this.handleColorFieldScopeKeyDown, ref: this.storeColorFieldScope, role: "slider", style: { top: `${colorFieldScopeTop || 0}px`, left: `${colorFieldScopeLeft || 0}px` }, tabindex: "0" }), hAsync("div", { "aria-label": this.intlHue, "aria-valuemax": HSV_LIMITS.h, "aria-valuemin": "0", "aria-valuenow": (color === null || color === void 0 ? void 0 : color.round().hue()) || DEFAULT_COLOR$1.round().hue(), class: { [CSS$G.scope]: true, [CSS$G.hueScope]: true }, onKeyDown: this.handleHueScopeKeyDown, ref: this.storeHueScope, role: "slider", style: { top: `${hueTop}px`, left: `${hueLeft}px` }, tabindex: "0" })), hideHex && hideChannels ? null : (hAsync("div", { class: {
13221
- [CSS$G.controlSection]: true,
13222
- [CSS$G.section]: true
13223
- } }, hideHex ? null : (hAsync("div", { class: CSS$G.hexOptions }, hAsync("span", { class: {
13224
- [CSS$G.header]: true,
13225
- [CSS$G.headerHex]: true
13226
- } }, intlHex), hAsync("calcite-color-picker-hex-input", { allowEmpty: allowEmpty, class: CSS$G.control, numberingSystem: this.numberingSystem, onCalciteColorPickerHexInputChange: this.handleHexInputChange, scale: hexInputScale, value: selectedColorInHex }))), hideChannels ? null : (hAsync("calcite-tabs", { class: {
13227
- [CSS$G.colorModeContainer]: true,
13228
- [CSS$G.splitSection]: true
13229
- }, scale: hexInputScale }, hAsync("calcite-tab-nav", { slot: "tab-nav" }, this.renderChannelsTabTitle("rgb"), this.renderChannelsTabTitle("hsv")), this.renderChannelsTab("rgb"), this.renderChannelsTab("hsv"))))), hideSaved ? null : (hAsync("div", { class: { [CSS$G.savedColorsSection]: true, [CSS$G.section]: true } }, hAsync("div", { class: CSS$G.header }, hAsync("label", null, intlSaved), hAsync("div", { class: CSS$G.savedColorsButtons }, hAsync("calcite-button", { appearance: "transparent", class: CSS$G.deleteColor, color: "neutral", disabled: noColor, iconStart: "minus", label: intlDeleteColor, onClick: this.deleteColor, scale: hexInputScale, type: "button" }), hAsync("calcite-button", { appearance: "transparent", class: CSS$G.saveColor, color: "neutral", disabled: noColor, iconStart: "plus", label: intlSaveColor, onClick: this.saveColor, scale: hexInputScale, type: "button" }))), savedColors.length > 0 ? (hAsync("div", { class: CSS$G.savedColors }, [
13230
- ...savedColors.map((color) => (hAsync("calcite-color-picker-swatch", { active: selectedColorInHex === color, class: CSS$G.savedColor, color: color, key: color, onClick: this.handleSavedColorSelect, onKeyDown: this.handleSavedColorKeyDown, scale: scale, tabIndex: 0 })))
13082
+ return (hAsync("div", { class: CSS$I.container }, hAsync("div", { class: CSS$I.colorFieldAndSliderWrap }, hAsync("canvas", { class: {
13083
+ [CSS$I.colorFieldAndSlider]: true,
13084
+ [CSS$I.colorFieldAndSliderInteractive]: colorFieldAndSliderInteractive
13085
+ }, onPointerDown: this.handleColorFieldAndSliderPointerDown, onPointerEnter: this.handleColorFieldAndSliderPointerEnterOrMove, onPointerLeave: this.handleColorFieldAndSliderPointerLeave, onPointerMove: this.handleColorFieldAndSliderPointerEnterOrMove, ref: this.initColorFieldAndSlider }), hAsync("div", { "aria-label": vertical ? this.intlValue : this.intlSaturation, "aria-valuemax": vertical ? HSV_LIMITS.v : HSV_LIMITS.s, "aria-valuemin": "0", "aria-valuenow": (vertical ? color === null || color === void 0 ? void 0 : color.saturationv() : color === null || color === void 0 ? void 0 : color.value()) || "0", class: { [CSS$I.scope]: true, [CSS$I.colorFieldScope]: true }, onKeyDown: this.handleColorFieldScopeKeyDown, ref: this.storeColorFieldScope, role: "slider", style: { top: `${colorFieldScopeTop || 0}px`, left: `${colorFieldScopeLeft || 0}px` }, tabindex: "0" }), hAsync("div", { "aria-label": this.intlHue, "aria-valuemax": HSV_LIMITS.h, "aria-valuemin": "0", "aria-valuenow": (color === null || color === void 0 ? void 0 : color.round().hue()) || DEFAULT_COLOR$1.round().hue(), class: { [CSS$I.scope]: true, [CSS$I.hueScope]: true }, onKeyDown: this.handleHueScopeKeyDown, ref: this.storeHueScope, role: "slider", style: { top: `${hueTop}px`, left: `${hueLeft}px` }, tabindex: "0" })), hideHex && hideChannels ? null : (hAsync("div", { class: {
13086
+ [CSS$I.controlSection]: true,
13087
+ [CSS$I.section]: true
13088
+ } }, hideHex ? null : (hAsync("div", { class: CSS$I.hexOptions }, hAsync("span", { class: {
13089
+ [CSS$I.header]: true,
13090
+ [CSS$I.headerHex]: true
13091
+ } }, intlHex), hAsync("calcite-color-picker-hex-input", { allowEmpty: allowEmpty, class: CSS$I.control, numberingSystem: this.numberingSystem, onCalciteColorPickerHexInputChange: this.handleHexInputChange, scale: hexInputScale, value: selectedColorInHex }))), hideChannels ? null : (hAsync("calcite-tabs", { class: {
13092
+ [CSS$I.colorModeContainer]: true,
13093
+ [CSS$I.splitSection]: true
13094
+ }, scale: hexInputScale }, hAsync("calcite-tab-nav", { slot: "tab-nav" }, this.renderChannelsTabTitle("rgb"), this.renderChannelsTabTitle("hsv")), this.renderChannelsTab("rgb"), this.renderChannelsTab("hsv"))))), hideSaved ? null : (hAsync("div", { class: { [CSS$I.savedColorsSection]: true, [CSS$I.section]: true } }, hAsync("div", { class: CSS$I.header }, hAsync("label", null, intlSaved), hAsync("div", { class: CSS$I.savedColorsButtons }, hAsync("calcite-button", { appearance: "transparent", class: CSS$I.deleteColor, color: "neutral", disabled: noColor, iconStart: "minus", label: intlDeleteColor, onClick: this.deleteColor, scale: hexInputScale, type: "button" }), hAsync("calcite-button", { appearance: "transparent", class: CSS$I.saveColor, color: "neutral", disabled: noColor, iconStart: "plus", label: intlSaveColor, onClick: this.saveColor, scale: hexInputScale, type: "button" }))), savedColors.length > 0 ? (hAsync("div", { class: CSS$I.savedColors }, [
13095
+ ...savedColors.map((color) => (hAsync("calcite-color-picker-swatch", { active: selectedColorInHex === color, class: CSS$I.savedColor, color: color, key: color, onClick: this.handleSavedColorSelect, onKeyDown: this.handleSavedColorKeyDown, scale: scale, tabIndex: 0 })))
13231
13096
  ])) : null))));
13232
13097
  }
13233
13098
  // --------------------------------------------------------------------------
@@ -13473,7 +13338,7 @@ class ColorPicker {
13473
13338
  }; }
13474
13339
  }
13475
13340
 
13476
- const CSS$F = {
13341
+ const CSS$H = {
13477
13342
  container: "container",
13478
13343
  preview: "preview",
13479
13344
  input: "input"
@@ -13502,13 +13367,13 @@ class ColorPickerHexInput {
13502
13367
  *
13503
13368
  * @default "Hex"
13504
13369
  */
13505
- this.intlHex = TEXT$h.hex;
13370
+ this.intlHex = TEXT$i.hex;
13506
13371
  /**
13507
13372
  * Label used for the hex input when there is no color selected.
13508
13373
  *
13509
13374
  * @default "No color"
13510
13375
  */
13511
- this.intlNoColor = TEXT$h.noColor;
13376
+ this.intlNoColor = TEXT$i.noColor;
13512
13377
  /**
13513
13378
  * The component's scale.
13514
13379
  */
@@ -13602,7 +13467,7 @@ class ColorPickerHexInput {
13602
13467
  render() {
13603
13468
  const { intlHex, value } = this;
13604
13469
  const hexInputValue = this.formatForInternalInput(value);
13605
- return (hAsync("div", { class: CSS$F.container }, hAsync("calcite-input", { class: CSS$F.input, label: intlHex, maxLength: 6, numberingSystem: this.numberingSystem, onCalciteInputChange: this.onInputChange, onCalciteInternalInputBlur: this.onCalciteInternalInputBlur, onKeyDown: this.handleKeyDown, prefixText: "#", ref: this.storeInputRef, scale: this.scale, value: hexInputValue }), hexInputValue ? (hAsync("calcite-color-picker-swatch", { active: true, class: CSS$F.preview, color: `#${hexInputValue}`, scale: this.scale })) : null));
13470
+ return (hAsync("div", { class: CSS$H.container }, hAsync("calcite-input", { class: CSS$H.input, label: intlHex, maxLength: 6, numberingSystem: this.numberingSystem, onCalciteInputChange: this.onInputChange, onCalciteInternalInputBlur: this.onCalciteInternalInputBlur, onKeyDown: this.handleKeyDown, prefixText: "#", ref: this.storeInputRef, scale: this.scale, value: hexInputValue }), hexInputValue ? (hAsync("calcite-color-picker-swatch", { active: true, class: CSS$H.preview, color: `#${hexInputValue}`, scale: this.scale })) : null));
13606
13471
  }
13607
13472
  //--------------------------------------------------------------------------
13608
13473
  //
@@ -13678,7 +13543,7 @@ class ColorPickerHexInput {
13678
13543
  }; }
13679
13544
  }
13680
13545
 
13681
- const CSS$E = {
13546
+ const CSS$G = {
13682
13547
  swatch: "swatch",
13683
13548
  noColorIcon: "no-color-icon"
13684
13549
  };
@@ -13723,7 +13588,7 @@ class ColorPickerSwatch {
13723
13588
  const hex = internalColor.hex();
13724
13589
  const theme = getThemeName(el);
13725
13590
  const borderColor = theme === "light" ? COLORS.borderLight : COLORS.borderDark;
13726
- return (hAsync("svg", { class: CSS$E.swatch, xmlns: "http://www.w3.org/2000/svg" }, hAsync("title", null, hex), hAsync("rect", { fill: hex, height: "100%", id: "swatch", rx: borderRadius, stroke: borderColor, "stroke-width": "2", style: { "clip-path": `inset(0 round ${borderRadius})` }, width: "100%" })));
13591
+ return (hAsync("svg", { class: CSS$G.swatch, xmlns: "http://www.w3.org/2000/svg" }, hAsync("title", null, hex), hAsync("rect", { fill: hex, height: "100%", id: "swatch", rx: borderRadius, stroke: borderColor, "stroke-width": "2", style: { "clip-path": `inset(0 round ${borderRadius})` }, width: "100%" })));
13727
13592
  }
13728
13593
  get el() { return getElement(this); }
13729
13594
  static get watchers() { return {
@@ -15588,7 +15453,7 @@ const popperMenuComputedPlacements = [
15588
15453
  "bottom",
15589
15454
  "bottom-end"
15590
15455
  ];
15591
- const CSS$D = {
15456
+ const CSS$F = {
15592
15457
  animation: "calcite-popper-anim",
15593
15458
  animationActive: "calcite-popper-anim--active"
15594
15459
  };
@@ -15641,7 +15506,7 @@ const defaultOffsetDistance = Math.ceil(hypotenuse(visiblePointerSize, visiblePo
15641
15506
  const ComboboxItem$1 = "CALCITE-COMBOBOX-ITEM";
15642
15507
  const ComboboxItemGroup$1 = "CALCITE-COMBOBOX-ITEM-GROUP";
15643
15508
  const ComboboxChildSelector = `${ComboboxItem$1}, ${ComboboxItemGroup$1}`;
15644
- const TEXT$g = {
15509
+ const TEXT$h = {
15645
15510
  removeTag: "Remove tag"
15646
15511
  };
15647
15512
 
@@ -15731,7 +15596,7 @@ class Combobox {
15731
15596
  *
15732
15597
  * @default "Remove tag"
15733
15598
  */
15734
- this.intlRemoveTag = TEXT$g.removeTag;
15599
+ this.intlRemoveTag = TEXT$h.removeTag;
15735
15600
  this.internalValueChangeFlag = false;
15736
15601
  this.items = [];
15737
15602
  this.groupItems = [];
@@ -16463,8 +16328,8 @@ class Combobox {
16463
16328
  const { active, setMenuEl, setListContainerEl, open } = this;
16464
16329
  const classes = {
16465
16330
  "list-container": true,
16466
- [CSS$D.animation]: true,
16467
- [CSS$D.animationActive]: open || active
16331
+ [CSS$F.animation]: true,
16332
+ [CSS$F.animationActive]: open || active
16468
16333
  };
16469
16334
  return (hAsync("div", { "aria-hidden": "true", class: { "popper-container": true, "popper-container--active": open || active }, ref: setMenuEl }, hAsync("div", { class: classes, onTransitionEnd: this.transitionEnd, ref: setListContainerEl }, hAsync("ul", { class: { list: true, "list--hide": !(open || active) } }, hAsync("slot", null)))));
16470
16335
  }
@@ -16539,7 +16404,7 @@ class Combobox {
16539
16404
  }; }
16540
16405
  }
16541
16406
 
16542
- const CSS$C = {
16407
+ const CSS$E = {
16543
16408
  icon: "icon",
16544
16409
  iconActive: "icon--active",
16545
16410
  custom: "icon--custom",
@@ -16631,18 +16496,18 @@ class ComboboxItem {
16631
16496
  // --------------------------------------------------------------------------
16632
16497
  renderIcon(isSingle) {
16633
16498
  const { icon, disabled, selected } = this;
16634
- const level = `${CSS$C.icon}--indent`;
16499
+ const level = `${CSS$E.icon}--indent`;
16635
16500
  const defaultIcon = isSingle ? "dot" : "check";
16636
16501
  const iconPath = disabled ? "circle-disallowed" : defaultIcon;
16637
16502
  const showDot = isSingle && !icon && !disabled;
16638
16503
  return showDot ? (hAsync("span", { class: {
16639
- [CSS$C.icon]: true,
16640
- [CSS$C.dot]: true,
16504
+ [CSS$E.icon]: true,
16505
+ [CSS$E.dot]: true,
16641
16506
  [level]: true
16642
16507
  } })) : (hAsync("calcite-icon", { class: {
16643
- [CSS$C.icon]: !icon,
16644
- [CSS$C.custom]: !!icon,
16645
- [CSS$C.iconActive]: icon && selected,
16508
+ [CSS$E.icon]: !icon,
16509
+ [CSS$E.custom]: !!icon,
16510
+ [CSS$E.iconActive]: icon && selected,
16646
16511
  [level]: true
16647
16512
  }, icon: icon || iconPath, scale: "s" }));
16648
16513
  }
@@ -16655,13 +16520,13 @@ class ComboboxItem {
16655
16520
  render() {
16656
16521
  const isSingleSelect = getElementProp(this.el, "selection-mode", "multi") === "single";
16657
16522
  const classes = {
16658
- [CSS$C.label]: true,
16659
- [CSS$C.selected]: this.selected,
16660
- [CSS$C.active]: this.active,
16661
- [CSS$C.single]: isSingleSelect
16523
+ [CSS$E.label]: true,
16524
+ [CSS$E.selected]: this.selected,
16525
+ [CSS$E.active]: this.active,
16526
+ [CSS$E.single]: isSingleSelect
16662
16527
  };
16663
16528
  const depth = getDepth();
16664
- return (hAsync(Host, { "aria-hidden": "true" }, hAsync("div", { class: `container scale--${this.scale}`, style: { "--calcite-combobox-item-spacing-indent-multiplier": `${depth}` } }, hAsync("li", { class: classes, id: this.guid, onClick: this.itemClickHandler }, this.renderIcon(isSingleSelect), hAsync("span", { class: CSS$C.title }, this.textLabel)), this.renderChildren())));
16529
+ return (hAsync(Host, { "aria-hidden": "true" }, hAsync("div", { class: `container scale--${this.scale}`, style: { "--calcite-combobox-item-spacing-indent-multiplier": `${depth}` } }, hAsync("li", { class: classes, id: this.guid, onClick: this.itemClickHandler }, this.renderIcon(isSingleSelect), hAsync("span", { class: CSS$E.title }, this.textLabel)), this.renderChildren())));
16665
16530
  }
16666
16531
  get el() { return getElement(this); }
16667
16532
  static get watchers() { return {
@@ -16690,7 +16555,7 @@ class ComboboxItem {
16690
16555
  }; }
16691
16556
  }
16692
16557
 
16693
- const CSS$B = {
16558
+ const CSS$D = {
16694
16559
  list: "list",
16695
16560
  label: "label",
16696
16561
  title: "title"
@@ -16723,8 +16588,8 @@ class ComboboxItemGroup {
16723
16588
  // --------------------------------------------------------------------------
16724
16589
  render() {
16725
16590
  const { el, scale } = this;
16726
- const indent = `${CSS$B.label}--indent-${getDepth()}`;
16727
- return (hAsync("ul", { "aria-labelledby": this.guid, class: { [CSS$B.list]: true, [`scale--${scale}`]: true }, role: "group" }, hAsync("li", { class: { [CSS$B.label]: true, [indent]: true }, id: this.guid, role: "presentation" }, hAsync("span", { class: CSS$B.title }, this.label)), hAsync("slot", null)));
16591
+ const indent = `${CSS$D.label}--indent-${getDepth()}`;
16592
+ return (hAsync("ul", { "aria-labelledby": this.guid, class: { [CSS$D.list]: true, [`scale--${scale}`]: true }, role: "group" }, hAsync("li", { class: { [CSS$D.label]: true, [indent]: true }, id: this.guid, role: "presentation" }, hAsync("span", { class: CSS$D.title }, this.label)), hAsync("slot", null)));
16728
16593
  }
16729
16594
  get el() { return getElement(this); }
16730
16595
  static get style() { return comboboxItemGroupCss; }
@@ -17131,7 +16996,7 @@ function getDaysDiff(date1, date2) {
17131
16996
  }
17132
16997
 
17133
16998
  const HEADING_LEVEL$6 = 2;
17134
- const TEXT$f = {
16999
+ const TEXT$g = {
17135
17000
  nextMonth: "Next month",
17136
17001
  prevMonth: "Previous month",
17137
17002
  year: "Year"
@@ -17149,19 +17014,19 @@ class DatePicker {
17149
17014
  *
17150
17015
  * @default "Previous month"
17151
17016
  */
17152
- this.intlPrevMonth = TEXT$f.prevMonth;
17017
+ this.intlPrevMonth = TEXT$g.prevMonth;
17153
17018
  /**
17154
17019
  * Localized string for "next month" (used for aria label)
17155
17020
  *
17156
17021
  * @default "Next month"
17157
17022
  */
17158
- this.intlNextMonth = TEXT$f.nextMonth;
17023
+ this.intlNextMonth = TEXT$g.nextMonth;
17159
17024
  /**
17160
17025
  * Localized string for "year" (used for aria label)
17161
17026
  *
17162
17027
  * @default "Year"
17163
17028
  */
17164
- this.intlYear = TEXT$f.year;
17029
+ this.intlYear = TEXT$g.year;
17165
17030
  /** BCP 47 language tag for desired language and country format */
17166
17031
  this.locale = document.documentElement.lang || "en";
17167
17032
  /** specify the scale of the date picker */
@@ -18178,7 +18043,7 @@ class DatePickerMonthHeader {
18178
18043
  }; }
18179
18044
  }
18180
18045
 
18181
- const SLOTS$h = {
18046
+ const SLOTS$i = {
18182
18047
  dropdownTrigger: "dropdown-trigger"
18183
18048
  };
18184
18049
 
@@ -18415,10 +18280,10 @@ class Dropdown {
18415
18280
  }
18416
18281
  render() {
18417
18282
  const { active, open } = this;
18418
- return (hAsync(Host, null, hAsync("div", { class: "calcite-dropdown-trigger-container", onClick: this.openCalciteDropdown, onKeyDown: this.keyDownHandler, ref: this.setReferenceEl }, hAsync("slot", { "aria-expanded": toAriaBoolean(active || open), "aria-haspopup": "true", name: SLOTS$h.dropdownTrigger, onSlotchange: this.updateTriggers })), hAsync("div", { "aria-hidden": toAriaBoolean(!(active || open)), class: "calcite-dropdown-wrapper", ref: this.setMenuEl }, hAsync("div", { class: {
18283
+ return (hAsync(Host, null, hAsync("div", { class: "calcite-dropdown-trigger-container", onClick: this.openCalciteDropdown, onKeyDown: this.keyDownHandler, ref: this.setReferenceEl }, hAsync("slot", { "aria-expanded": toAriaBoolean(active || open), "aria-haspopup": "true", name: SLOTS$i.dropdownTrigger, onSlotchange: this.updateTriggers })), hAsync("div", { "aria-hidden": toAriaBoolean(!(active || open)), class: "calcite-dropdown-wrapper", ref: this.setMenuEl }, hAsync("div", { class: {
18419
18284
  ["calcite-dropdown-content"]: true,
18420
- [CSS$D.animation]: true,
18421
- [CSS$D.animationActive]: active || open
18285
+ [CSS$F.animation]: true,
18286
+ [CSS$F.animationActive]: active || open
18422
18287
  }, onTransitionEnd: this.transitionEnd, ref: this.setScrollerEl }, hAsync("div", { hidden: !(open || active) }, hAsync("slot", { onSlotchange: this.updateGroups }))))));
18423
18288
  }
18424
18289
  //--------------------------------------------------------------------------
@@ -18657,7 +18522,7 @@ class Dropdown {
18657
18522
  }; }
18658
18523
  }
18659
18524
 
18660
- const CSS$A = {
18525
+ const CSS$C = {
18661
18526
  containerSmall: "container--s",
18662
18527
  containerMedium: "container--m",
18663
18528
  containerLarge: "container--l"
@@ -18692,9 +18557,9 @@ class DropdownGroup {
18692
18557
  const dropdownSeparator = this.groupPosition > 0 ? hAsync("div", { class: "dropdown-separator", role: "separator" }) : null;
18693
18558
  return (hAsync(Host, { role: "menu" }, hAsync("div", { class: {
18694
18559
  container: true,
18695
- [CSS$A.containerSmall]: scale === "s",
18696
- [CSS$A.containerMedium]: scale === "m",
18697
- [CSS$A.containerLarge]: scale === "l"
18560
+ [CSS$C.containerSmall]: scale === "s",
18561
+ [CSS$C.containerMedium]: scale === "m",
18562
+ [CSS$C.containerLarge]: scale === "l"
18698
18563
  }, title: this.groupTitle }, dropdownSeparator, groupTitle, hAsync("slot", null))));
18699
18564
  }
18700
18565
  //--------------------------------------------------------------------------
@@ -18734,7 +18599,7 @@ class DropdownGroup {
18734
18599
  }; }
18735
18600
  }
18736
18601
 
18737
- const CSS$z = {
18602
+ const CSS$B = {
18738
18603
  containerLink: "container--link",
18739
18604
  containerSmall: "container--s",
18740
18605
  containerMedium: "container--m",
@@ -18807,13 +18672,13 @@ class DropdownItem {
18807
18672
  const itemAria = this.selectionMode !== "none" ? toAriaBoolean(this.active) : null;
18808
18673
  return (hAsync(Host, { "aria-checked": itemAria, role: itemRole, tabindex: "0" }, hAsync("div", { class: {
18809
18674
  container: true,
18810
- [CSS$z.containerLink]: !!this.href,
18811
- [CSS$z.containerSmall]: scale === "s",
18812
- [CSS$z.containerMedium]: scale === "m",
18813
- [CSS$z.containerLarge]: scale === "l",
18814
- [CSS$z.containerMulti]: this.selectionMode === "multi",
18815
- [CSS$z.containerSingle]: this.selectionMode === "single",
18816
- [CSS$z.containerNone]: this.selectionMode === "none"
18675
+ [CSS$B.containerLink]: !!this.href,
18676
+ [CSS$B.containerSmall]: scale === "s",
18677
+ [CSS$B.containerMedium]: scale === "m",
18678
+ [CSS$B.containerLarge]: scale === "l",
18679
+ [CSS$B.containerMulti]: this.selectionMode === "multi",
18680
+ [CSS$B.containerSingle]: this.selectionMode === "single",
18681
+ [CSS$B.containerNone]: this.selectionMode === "none"
18817
18682
  } }, this.selectionMode !== "none" ? (hAsync("calcite-icon", { class: "dropdown-item-icon", icon: this.selectionMode === "multi" ? "check" : "bullet-point", scale: "s" })) : null, contentEl)));
18818
18683
  }
18819
18684
  //--------------------------------------------------------------------------
@@ -18919,7 +18784,7 @@ class DropdownItem {
18919
18784
  }; }
18920
18785
  }
18921
18786
 
18922
- const CSS$y = {
18787
+ const CSS$A = {
18923
18788
  button: "button"
18924
18789
  };
18925
18790
  const ICONS$9 = {
@@ -18992,7 +18857,7 @@ class Fab {
18992
18857
  render() {
18993
18858
  const { appearance, color, disabled, loading, scale, textEnabled, icon, label, text } = this;
18994
18859
  const title = !textEnabled ? label || text || null : null;
18995
- return (hAsync("calcite-button", { appearance: appearance === "solid" ? "solid" : "outline", class: CSS$y.button, color: color, disabled: disabled, iconStart: icon, label: label, loading: loading, ref: (buttonEl) => {
18860
+ return (hAsync("calcite-button", { appearance: appearance === "solid" ? "solid" : "outline", class: CSS$A.button, color: color, disabled: disabled, iconStart: icon, label: label, loading: loading, ref: (buttonEl) => {
18996
18861
  this.buttonEl = buttonEl;
18997
18862
  }, round: true, scale: scale, title: title, type: "button", width: "auto" }, this.textEnabled ? this.text : null));
18998
18863
  }
@@ -19019,11 +18884,11 @@ class Fab {
19019
18884
  }; }
19020
18885
  }
19021
18886
 
19022
- const CSS$x = {
18887
+ const CSS$z = {
19023
18888
  container: "container",
19024
18889
  searchIcon: "search-icon"
19025
18890
  };
19026
- const TEXT$e = {
18891
+ const TEXT$f = {
19027
18892
  filterLabel: "Filter",
19028
18893
  clear: "Clear filter"
19029
18894
  };
@@ -19164,7 +19029,7 @@ class Filter {
19164
19029
  // --------------------------------------------------------------------------
19165
19030
  render() {
19166
19031
  const { disabled, scale } = this;
19167
- return (hAsync(Fragment, null, hAsync("div", { class: CSS$x.container }, hAsync("label", null, hAsync("calcite-input", { "aria-label": this.intlLabel || TEXT$e.filterLabel, clearable: true, disabled: disabled, icon: ICONS$8.search, intlClear: this.intlClear || TEXT$e.clear, onCalciteInputInput: this.inputHandler, onKeyDown: this.keyDownHandler, placeholder: this.placeholder, ref: (el) => {
19032
+ return (hAsync(Fragment, null, hAsync("div", { class: CSS$z.container }, hAsync("label", null, hAsync("calcite-input", { "aria-label": this.intlLabel || TEXT$f.filterLabel, clearable: true, disabled: disabled, icon: ICONS$8.search, intlClear: this.intlClear || TEXT$f.clear, onCalciteInputInput: this.inputHandler, onKeyDown: this.keyDownHandler, placeholder: this.placeholder, ref: (el) => {
19168
19033
  this.textInput = el;
19169
19034
  }, scale: scale, type: "text", value: this.value })))));
19170
19035
  }
@@ -19194,7 +19059,7 @@ class Filter {
19194
19059
  }; }
19195
19060
  }
19196
19061
 
19197
- const CSS$w = {
19062
+ const CSS$y = {
19198
19063
  frame: "frame",
19199
19064
  frameAdvancing: "frame--advancing",
19200
19065
  frameRetreating: "frame--retreating"
@@ -19296,9 +19161,9 @@ class Flow {
19296
19161
  render() {
19297
19162
  const { flowDirection } = this;
19298
19163
  const frameDirectionClasses = {
19299
- [CSS$w.frame]: true,
19300
- [CSS$w.frameAdvancing]: flowDirection === "advancing",
19301
- [CSS$w.frameRetreating]: flowDirection === "retreating"
19164
+ [CSS$y.frame]: true,
19165
+ [CSS$y.frameAdvancing]: flowDirection === "advancing",
19166
+ [CSS$y.frameRetreating]: flowDirection === "retreating"
19302
19167
  };
19303
19168
  return (hAsync("div", { class: frameDirectionClasses }, hAsync("slot", null)));
19304
19169
  }
@@ -19550,7 +19415,7 @@ class Graph {
19550
19415
  }; }
19551
19416
  }
19552
19417
 
19553
- const CSS$v = {
19418
+ const CSS$x = {
19554
19419
  handle: "handle",
19555
19420
  handleActivated: "handle--activated"
19556
19421
  };
@@ -19619,7 +19484,7 @@ class Handle {
19619
19484
  render() {
19620
19485
  return (
19621
19486
  // Needs to be a span because of https://github.com/SortableJS/Sortable/issues/1486
19622
- hAsync("span", { "aria-pressed": toAriaBoolean(this.activated), class: { [CSS$v.handle]: true, [CSS$v.handleActivated]: this.activated }, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, ref: (el) => {
19487
+ hAsync("span", { "aria-pressed": toAriaBoolean(this.activated), class: { [CSS$x.handle]: true, [CSS$x.handleActivated]: this.activated }, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, ref: (el) => {
19623
19488
  this.handleButton = el;
19624
19489
  }, role: "button", tabindex: "0", title: this.textTitle }, hAsync("calcite-icon", { icon: ICONS$7.drag, scale: "s" })));
19625
19490
  }
@@ -19639,7 +19504,7 @@ class Handle {
19639
19504
  }; }
19640
19505
  }
19641
19506
 
19642
- const CSS$u = {
19507
+ const CSS$w = {
19643
19508
  icon: "icon",
19644
19509
  flipRtl: "flip-rtl"
19645
19510
  };
@@ -19700,7 +19565,7 @@ class Icon {
19700
19565
  const semantic = !!textLabel;
19701
19566
  const paths = [].concat(pathData || "");
19702
19567
  return (hAsync(Host, { "aria-hidden": toAriaBoolean(!semantic), "aria-label": semantic ? textLabel : null, role: semantic ? "img" : null }, hAsync("svg", { class: {
19703
- [CSS$u.flipRtl]: dir === "rtl" && flipRtl,
19568
+ [CSS$w.flipRtl]: dir === "rtl" && flipRtl,
19704
19569
  svg: true
19705
19570
  }, fill: "currentColor", height: "100%", viewBox: `0 0 ${size} ${size}`, width: "100%", xmlns: "http://www.w3.org/2000/svg" }, paths.map((path) => typeof path === "string" ? (hAsync("path", { d: path })) : (hAsync("path", { d: path.d, opacity: "opacity" in path ? path.opacity : 1 }))))));
19706
19571
  }
@@ -19746,7 +19611,7 @@ class Icon {
19746
19611
  }; }
19747
19612
  }
19748
19613
 
19749
- const CSS$t = {
19614
+ const CSS$v = {
19750
19615
  wrapper: "wrapper",
19751
19616
  confirmChangesButton: "confirm-changes-button",
19752
19617
  cancelEditingButton: "cancel-editing-button",
@@ -19755,7 +19620,7 @@ const CSS$t = {
19755
19620
  enableEditingButton: "enable-editing-button",
19756
19621
  controlsWrapper: "controls-wrapper"
19757
19622
  };
19758
- const TEXT$d = {
19623
+ const TEXT$e = {
19759
19624
  intlEnablingEditing: "Click to edit",
19760
19625
  intlCancelEditing: "Cancel",
19761
19626
  intlConfirmChanges: "Save"
@@ -19790,19 +19655,19 @@ class InlineEditable {
19790
19655
  *
19791
19656
  * @default "Click to edit"
19792
19657
  */
19793
- this.intlEnableEditing = TEXT$d.intlEnablingEditing;
19658
+ this.intlEnableEditing = TEXT$e.intlEnablingEditing;
19794
19659
  /**
19795
19660
  * specify text to be user for the cancel editing button's aria-label, defaults to `Cancel`
19796
19661
  *
19797
19662
  * @default "Cancel"
19798
19663
  */
19799
- this.intlCancelEditing = TEXT$d.intlCancelEditing;
19664
+ this.intlCancelEditing = TEXT$e.intlCancelEditing;
19800
19665
  /**
19801
19666
  * specify text to be user for the confirm changes button's aria-label, defaults to `Save`
19802
19667
  *
19803
19668
  * @default "Save"
19804
19669
  */
19805
- this.intlConfirmChanges = TEXT$d.intlConfirmChanges;
19670
+ this.intlConfirmChanges = TEXT$e.intlConfirmChanges;
19806
19671
  this.mutationObserver = createObserver();
19807
19672
  this.enableEditing = () => {
19808
19673
  var _a, _b;
@@ -19907,12 +19772,12 @@ class InlineEditable {
19907
19772
  updateHostInteraction(this);
19908
19773
  }
19909
19774
  render() {
19910
- return (hAsync("div", { class: CSS$t.wrapper, onClick: this.enableEditingHandler, onKeyDown: this.escapeKeyHandler }, hAsync("div", { class: CSS$t.inputWrapper }, hAsync("slot", null)), hAsync("div", { class: CSS$t.controlsWrapper }, hAsync("calcite-button", { appearance: "transparent", class: CSS$t.enableEditingButton, color: "neutral", disabled: this.disabled, iconStart: "pencil", label: this.intlEnableEditing, onClick: this.enableEditingHandler, ref: (el) => (this.enableEditingButton = el), scale: this.scale, style: {
19775
+ return (hAsync("div", { class: CSS$v.wrapper, onClick: this.enableEditingHandler, onKeyDown: this.escapeKeyHandler }, hAsync("div", { class: CSS$v.inputWrapper }, hAsync("slot", null)), hAsync("div", { class: CSS$v.controlsWrapper }, hAsync("calcite-button", { appearance: "transparent", class: CSS$v.enableEditingButton, color: "neutral", disabled: this.disabled, iconStart: "pencil", label: this.intlEnableEditing, onClick: this.enableEditingHandler, ref: (el) => (this.enableEditingButton = el), scale: this.scale, style: {
19911
19776
  opacity: this.editingEnabled ? "0" : "1",
19912
19777
  width: this.editingEnabled ? "0" : "inherit"
19913
19778
  }, type: "button" }), this.shouldShowControls && [
19914
- hAsync("div", { class: CSS$t.cancelEditingButtonWrapper }, hAsync("calcite-button", { appearance: "transparent", class: CSS$t.cancelEditingButton, color: "neutral", disabled: this.disabled, iconStart: "x", label: this.intlCancelEditing, onClick: this.cancelEditingHandler, ref: (el) => (this.cancelEditingButton = el), scale: this.scale, type: "button" })),
19915
- hAsync("calcite-button", { appearance: "solid", class: CSS$t.confirmChangesButton, color: "blue", disabled: this.disabled, iconStart: "check", label: this.intlConfirmChanges, loading: this.loading, onClick: this.confirmChangesHandler, ref: (el) => (this.confirmEditingButton = el), scale: this.scale, type: "button" })
19779
+ hAsync("div", { class: CSS$v.cancelEditingButtonWrapper }, hAsync("calcite-button", { appearance: "transparent", class: CSS$v.cancelEditingButton, color: "neutral", disabled: this.disabled, iconStart: "x", label: this.intlCancelEditing, onClick: this.cancelEditingHandler, ref: (el) => (this.cancelEditingButton = el), scale: this.scale, type: "button" })),
19780
+ hAsync("calcite-button", { appearance: "solid", class: CSS$v.confirmChangesButton, color: "blue", disabled: this.disabled, iconStart: "check", label: this.intlConfirmChanges, loading: this.loading, onClick: this.confirmChangesHandler, ref: (el) => (this.confirmEditingButton = el), scale: this.scale, type: "button" })
19916
19781
  ])));
19917
19782
  }
19918
19783
  //--------------------------------------------------------------------------
@@ -19994,7 +19859,7 @@ class InlineEditable {
19994
19859
  }; }
19995
19860
  }
19996
19861
 
19997
- const CSS$s = {
19862
+ const CSS$u = {
19998
19863
  loader: "loader",
19999
19864
  clearButton: "clear-button",
20000
19865
  editingEnabled: "editing-enabled",
@@ -20018,10 +19883,10 @@ const INPUT_TYPE_ICONS = {
20018
19883
  time: "clock",
20019
19884
  search: "search"
20020
19885
  };
20021
- const SLOTS$g = {
19886
+ const SLOTS$h = {
20022
19887
  action: "action"
20023
19888
  };
20024
- const TEXT$c = {
19889
+ const TEXT$d = {
20025
19890
  clear: "Clear value"
20026
19891
  };
20027
19892
 
@@ -20075,7 +19940,7 @@ class Input {
20075
19940
  *
20076
19941
  * @default "Loading"
20077
19942
  */
20078
- this.intlLoading = TEXT$s.loading;
19943
+ this.intlLoading = TEXT$t.loading;
20079
19944
  /** When true, the icon is flipped in RTL. */
20080
19945
  this.iconFlipRtl = false;
20081
19946
  /** When true, the component is in the loading state and `calcite-progress` is displayed. */
@@ -20560,34 +20425,34 @@ class Input {
20560
20425
  // --------------------------------------------------------------------------
20561
20426
  render() {
20562
20427
  const dir = getElementDir(this.el);
20563
- const loader = (hAsync("div", { class: CSS$s.loader }, hAsync("calcite-progress", { label: this.intlLoading, type: "indeterminate" })));
20564
- const inputClearButton = (hAsync("button", { "aria-label": this.intlClear || TEXT$c.clear, class: CSS$s.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputValue, tabIndex: this.disabled ? -1 : 0, type: "button" }, hAsync("calcite-icon", { icon: "x", scale: "s" })));
20565
- const iconEl = (hAsync("calcite-icon", { class: CSS$s.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: "s" }));
20428
+ const loader = (hAsync("div", { class: CSS$u.loader }, hAsync("calcite-progress", { label: this.intlLoading, type: "indeterminate" })));
20429
+ const inputClearButton = (hAsync("button", { "aria-label": this.intlClear || TEXT$d.clear, class: CSS$u.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputValue, tabIndex: this.disabled ? -1 : 0, type: "button" }, hAsync("calcite-icon", { icon: "x", scale: "s" })));
20430
+ const iconEl = (hAsync("calcite-icon", { class: CSS$u.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: "s" }));
20566
20431
  const isHorizontalNumberButton = this.numberButtonType === "horizontal";
20567
20432
  const numberButtonsHorizontalUp = (hAsync("button", { class: {
20568
- [CSS$s.numberButtonItem]: true,
20569
- [CSS$s.buttonItemHorizontal]: isHorizontalNumberButton
20433
+ [CSS$u.numberButtonItem]: true,
20434
+ [CSS$u.buttonItemHorizontal]: isHorizontalNumberButton
20570
20435
  }, "data-adjustment": "up", disabled: this.disabled || this.readOnly, onPointerDown: this.numberButtonPointerDownHandler, onPointerOut: this.numberButtonPointerUpAndOutHandler, onPointerUp: this.numberButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "chevron-up", scale: "s" })));
20571
20436
  const numberButtonsHorizontalDown = (hAsync("button", { class: {
20572
- [CSS$s.numberButtonItem]: true,
20573
- [CSS$s.buttonItemHorizontal]: isHorizontalNumberButton
20437
+ [CSS$u.numberButtonItem]: true,
20438
+ [CSS$u.buttonItemHorizontal]: isHorizontalNumberButton
20574
20439
  }, "data-adjustment": "down", disabled: this.disabled || this.readOnly, onPointerDown: this.numberButtonPointerDownHandler, onPointerOut: this.numberButtonPointerUpAndOutHandler, onPointerUp: this.numberButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "chevron-down", scale: "s" })));
20575
- const numberButtonsVertical = (hAsync("div", { class: CSS$s.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
20576
- const prefixText = hAsync("div", { class: CSS$s.prefix }, this.prefixText);
20577
- const suffixText = hAsync("div", { class: CSS$s.suffix }, this.suffixText);
20440
+ const numberButtonsVertical = (hAsync("div", { class: CSS$u.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
20441
+ const prefixText = hAsync("div", { class: CSS$u.prefix }, this.prefixText);
20442
+ const suffixText = hAsync("div", { class: CSS$u.suffix }, this.suffixText);
20578
20443
  const localeNumberInput = this.type === "number" ? (hAsync("input", { "aria-label": getLabelText(this), autofocus: this.autofocus ? true : null, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.el.enterKeyHint, inputMode: this.el.inputMode, key: "localized-input", maxLength: this.maxLength, minLength: this.minLength, name: undefined, onBlur: this.inputBlurHandler, onFocus: this.inputFocusHandler, onInput: this.inputNumberInputHandler, onKeyDown: this.inputNumberKeyDownHandler, onKeyUp: this.inputKeyUpHandler, placeholder: this.placeholder || "", readOnly: this.readOnly, ref: this.setChildNumberElRef, type: "text", value: this.localizedValue })) : null;
20579
20444
  const childEl = this.type !== "number"
20580
20445
  ? [
20581
20446
  hAsync(this.childElType, { "aria-label": getLabelText(this), autofocus: this.autofocus ? true : null, class: {
20582
- [CSS$s.editingEnabled]: this.editingEnabled,
20583
- [CSS$s.inlineChild]: !!this.inlineEditableEl
20447
+ [CSS$u.editingEnabled]: this.editingEnabled,
20448
+ [CSS$u.inlineChild]: !!this.inlineEditableEl
20584
20449
  }, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.el.enterKeyHint, inputMode: this.el.inputMode, max: this.maxString, maxLength: this.maxLength, min: this.minString, minLength: this.minLength, name: this.name, onBlur: this.inputBlurHandler, onFocus: this.inputFocusHandler, onInput: this.inputInputHandler, onKeyDown: this.inputKeyDownHandler, onKeyUp: this.inputKeyUpHandler, placeholder: this.placeholder || "", readOnly: this.readOnly, ref: this.setChildElRef, required: this.required ? true : null, step: this.step, tabIndex: this.disabled || (this.inlineEditableEl && !this.editingEnabled) ? -1 : null, type: this.type, value: this.value }),
20585
- this.isTextarea ? (hAsync("div", { class: CSS$s.resizeIconWrapper }, hAsync("calcite-icon", { icon: "chevron-down", scale: "s" }))) : null
20450
+ this.isTextarea ? (hAsync("div", { class: CSS$u.resizeIconWrapper }, hAsync("calcite-icon", { icon: "chevron-down", scale: "s" }))) : null
20586
20451
  ]
20587
20452
  : null;
20588
- return (hAsync(Host, { onClick: this.inputFocusHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$s.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
20453
+ return (hAsync(Host, { onClick: this.inputFocusHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$u.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
20589
20454
  ? numberButtonsHorizontalDown
20590
- : null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$s.wrapper }, localeNumberInput, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), hAsync("div", { class: CSS$s.actionWrapper }, hAsync("slot", { name: SLOTS$g.action })), this.type === "number" && this.numberButtonType === "vertical" && !this.readOnly
20455
+ : null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$u.wrapper }, localeNumberInput, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), hAsync("div", { class: CSS$u.actionWrapper }, hAsync("slot", { name: SLOTS$h.action })), this.type === "number" && this.numberButtonType === "vertical" && !this.readOnly
20591
20456
  ? numberButtonsVertical
20592
20457
  : null, this.suffixText ? suffixText : null, this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
20593
20458
  ? numberButtonsHorizontalUp
@@ -20650,6 +20515,11 @@ class Input {
20650
20515
  }; }
20651
20516
  }
20652
20517
 
20518
+ const CSS$t = {
20519
+ menu: "menu-container",
20520
+ menuActive: "menu-container--active"
20521
+ };
20522
+
20653
20523
  const inputDatePickerCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-input-date-picker:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-input-date-picker{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-input-date-picker{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-input-date-picker{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-input-date-picker{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-input-date-picker{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:host*/.sc-calcite-input-date-picker-h{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}/*!@:root*/.sc-calcite-input-date-picker:root{--calcite-popper-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-input-date-picker-h{display:none}/*!@:host*/.sc-calcite-input-date-picker-h{position:relative;display:inline-block;width:100%;overflow:visible;vertical-align:top;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}/*!@:host([disabled])*/[disabled].sc-calcite-input-date-picker-h{pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-input-date-picker-h[disabled] .sc-calcite-input-date-picker-s>[calcite-hydrated][disabled],[disabled].sc-calcite-input-date-picker-h [calcite-hydrated][disabled].sc-calcite-input-date-picker{opacity:1}/*!@.calendar-picker-wrapper*/.calendar-picker-wrapper.sc-calcite-input-date-picker{position:static;width:100%;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}/*!@.input-wrapper*/.input-wrapper.sc-calcite-input-date-picker{position:relative}/*!@:host([range]) .input-container*/[range].sc-calcite-input-date-picker-h .input-container.sc-calcite-input-date-picker{display:-ms-flexbox;display:flex}/*!@:host([range]) .input-wrapper*/[range].sc-calcite-input-date-picker-h .input-wrapper.sc-calcite-input-date-picker{-ms-flex:1 1 auto;flex:1 1 auto}/*!@:host([range]) .horizontal-arrow-container*/[range].sc-calcite-input-date-picker-h .horizontal-arrow-container.sc-calcite-input-date-picker{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;border-width:1px;border-left-width:0px;border-right-width:0px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-background);padding-top:0px;padding-bottom:0px;padding-left:0.25rem;padding-right:0.25rem}/*!@:host([range][layout=vertical]) .input-wrapper*/[range][layout=vertical].sc-calcite-input-date-picker-h .input-wrapper.sc-calcite-input-date-picker{width:100%}/*!@:host([range][layout=vertical]) .input-container*/[range][layout=vertical].sc-calcite-input-date-picker-h .input-container.sc-calcite-input-date-picker{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start}/*!@:host([range][layout=vertical]) .calendar-picker-wrapper--end*/[range][layout=vertical].sc-calcite-input-date-picker-h .calendar-picker-wrapper--end.sc-calcite-input-date-picker{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}/*!@:host([range][layout=vertical]) .vertical-arrow-container*/[range][layout=vertical].sc-calcite-input-date-picker-h .vertical-arrow-container.sc-calcite-input-date-picker{top:1.5rem;position:absolute;left:0px;z-index:10;margin-left:1px;margin-right:1px;background-color:var(--calcite-ui-foreground-1);padding-left:0.625rem;padding-right:0.625rem}/*!@:host([scale=s][range]:not([layout=vertical])) .calendar-picker-wrapper*/[scale=s][range].sc-calcite-input-date-picker-h:not([layout=vertical]) .calendar-picker-wrapper.sc-calcite-input-date-picker{width:216px}/*!@:host([scale=m][range]:not([layout=vertical])) .calendar-picker-wrapper*/[scale=m][range].sc-calcite-input-date-picker-h:not([layout=vertical]) .calendar-picker-wrapper.sc-calcite-input-date-picker{width:286px}/*!@:host([scale=l][range]:not([layout=vertical])) .calendar-picker-wrapper*/[scale=l][range].sc-calcite-input-date-picker-h:not([layout=vertical]) .calendar-picker-wrapper.sc-calcite-input-date-picker{width:398px}/*!@.menu-container*/.menu-container.sc-calcite-input-date-picker{display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0);visibility:hidden;pointer-events:none}/*!@.menu-container .calcite-popper-anim*/.menu-container.sc-calcite-input-date-picker .calcite-popper-anim.sc-calcite-input-date-picker{position:relative;z-index:1;-webkit-transition:var(--calcite-popper-transition);transition:var(--calcite-popper-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);border-radius:0.25rem}/*!@.menu-container[data-popper-placement^=bottom] .calcite-popper-anim*/.menu-container[data-popper-placement^=bottom].sc-calcite-input-date-picker .calcite-popper-anim.sc-calcite-input-date-picker{-webkit-transform:translateY(-5px);transform:translateY(-5px)}/*!@.menu-container[data-popper-placement^=top] .calcite-popper-anim*/.menu-container[data-popper-placement^=top].sc-calcite-input-date-picker .calcite-popper-anim.sc-calcite-input-date-picker{-webkit-transform:translateY(5px);transform:translateY(5px)}/*!@.menu-container[data-popper-placement^=left] .calcite-popper-anim*/.menu-container[data-popper-placement^=left].sc-calcite-input-date-picker .calcite-popper-anim.sc-calcite-input-date-picker{-webkit-transform:translateX(5px);transform:translateX(5px)}/*!@.menu-container[data-popper-placement^=right] .calcite-popper-anim*/.menu-container[data-popper-placement^=right].sc-calcite-input-date-picker .calcite-popper-anim.sc-calcite-input-date-picker{-webkit-transform:translateX(-5px);transform:translateX(-5px)}/*!@.menu-container[data-popper-placement] .calcite-popper-anim--active*/.menu-container[data-popper-placement].sc-calcite-input-date-picker .calcite-popper-anim--active.sc-calcite-input-date-picker{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}/*!@:host([active]) .menu-container*/[active].sc-calcite-input-date-picker-h .menu-container.sc-calcite-input-date-picker{pointer-events:initial;visibility:visible}/*!@.menu-container--active .menu-container .calcite-popper-anim*/.menu-container--active.sc-calcite-input-date-picker .menu-container.sc-calcite-input-date-picker .calcite-popper-anim.sc-calcite-input-date-picker{position:relative;z-index:1;-webkit-transition:var(--calcite-popper-transition);transition:var(--calcite-popper-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);border-radius:0.25rem}/*!@.menu-container--active .menu-container[data-popper-placement^=bottom] .calcite-popper-anim*/.menu-container--active.sc-calcite-input-date-picker .menu-container[data-popper-placement^=bottom].sc-calcite-input-date-picker .calcite-popper-anim.sc-calcite-input-date-picker{-webkit-transform:translateY(-5px);transform:translateY(-5px)}/*!@.menu-container--active .menu-container[data-popper-placement^=top] .calcite-popper-anim*/.menu-container--active.sc-calcite-input-date-picker .menu-container[data-popper-placement^=top].sc-calcite-input-date-picker .calcite-popper-anim.sc-calcite-input-date-picker{-webkit-transform:translateY(5px);transform:translateY(5px)}/*!@.menu-container--active .menu-container[data-popper-placement^=left] .calcite-popper-anim*/.menu-container--active.sc-calcite-input-date-picker .menu-container[data-popper-placement^=left].sc-calcite-input-date-picker .calcite-popper-anim.sc-calcite-input-date-picker{-webkit-transform:translateX(5px);transform:translateX(5px)}/*!@.menu-container--active .menu-container[data-popper-placement^=right] .calcite-popper-anim*/.menu-container--active.sc-calcite-input-date-picker .menu-container[data-popper-placement^=right].sc-calcite-input-date-picker .calcite-popper-anim.sc-calcite-input-date-picker{-webkit-transform:translateX(-5px);transform:translateX(-5px)}/*!@.menu-container--active .menu-container[data-popper-placement] .calcite-popper-anim--active*/.menu-container--active.sc-calcite-input-date-picker .menu-container[data-popper-placement].sc-calcite-input-date-picker .calcite-popper-anim--active.sc-calcite-input-date-picker{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}/*!@.input .calcite-input__wrapper*/.input.sc-calcite-input-date-picker .calcite-input__wrapper.sc-calcite-input-date-picker{margin-top:0px}/*!@:host([range][layout=vertical][scale=m]) .vertical-arrow-container*/[range][layout=vertical][scale=m].sc-calcite-input-date-picker-h .vertical-arrow-container.sc-calcite-input-date-picker{top:1.5rem;-webkit-padding-start:0.75rem;padding-inline-start:0.75rem}/*!@:host([range][layout=vertical][scale=m]) .vertical-arrow-container calcite-icon*/[range][layout=vertical][scale=m].sc-calcite-input-date-picker-h .vertical-arrow-container.sc-calcite-input-date-picker calcite-icon.sc-calcite-input-date-picker{height:0.75rem;width:0.75rem;min-width:0px}/*!@:host([range][layout=vertical][scale=l]) .vertical-arrow-container*/[range][layout=vertical][scale=l].sc-calcite-input-date-picker-h .vertical-arrow-container.sc-calcite-input-date-picker{top:2.25rem;padding-left:0.875rem;padding-right:0.875rem}/*!@:host([range][layout=vertical][active]) .vertical-arrow-container*/[range][layout=vertical][active].sc-calcite-input-date-picker-h .vertical-arrow-container.sc-calcite-input-date-picker{display:none}/*!@::slotted(input[slot=hidden-form-input])*/.sc-calcite-input-date-picker-s>input[slot=hidden-form-input]{bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
20654
20524
 
20655
20525
  class InputDatePicker {
@@ -20669,6 +20539,12 @@ class InputDatePicker {
20669
20539
  * When false, the component won't be interactive.
20670
20540
  */
20671
20541
  this.disabled = false;
20542
+ /**
20543
+ * When true, still focusable but controls are gone and the value cannot be modified.
20544
+ *
20545
+ * @mdn [readOnly](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly)
20546
+ */
20547
+ this.readOnly = false;
20672
20548
  /** Expand or collapse when calendar does not have input */
20673
20549
  this.active = false;
20674
20550
  /**
@@ -20676,19 +20552,19 @@ class InputDatePicker {
20676
20552
  *
20677
20553
  * @default "Previous month"
20678
20554
  */
20679
- this.intlPrevMonth = TEXT$f.prevMonth;
20555
+ this.intlPrevMonth = TEXT$g.prevMonth;
20680
20556
  /**
20681
20557
  * Localized string for "next month" (used for aria label)
20682
20558
  *
20683
20559
  * @default "Next month"
20684
20560
  */
20685
- this.intlNextMonth = TEXT$f.nextMonth;
20561
+ this.intlNextMonth = TEXT$g.nextMonth;
20686
20562
  /**
20687
20563
  * Localized string for "year" (used for aria label)
20688
20564
  *
20689
20565
  * @default "Year"
20690
20566
  */
20691
- this.intlYear = TEXT$f.year;
20567
+ this.intlYear = TEXT$g.year;
20692
20568
  /** BCP 47 language tag for desired language and country format */
20693
20569
  this.locale = document.documentElement.lang || "en";
20694
20570
  /** specify the scale of the date picker */
@@ -20756,11 +20632,15 @@ class InputDatePicker {
20756
20632
  this.blur(e.detail);
20757
20633
  };
20758
20634
  this.startInputFocus = () => {
20759
- this.active = true;
20635
+ if (!this.readOnly) {
20636
+ this.active = true;
20637
+ }
20760
20638
  this.focusedInput = "start";
20761
20639
  };
20762
20640
  this.endInputFocus = () => {
20763
- this.active = true;
20641
+ if (!this.readOnly) {
20642
+ this.active = true;
20643
+ }
20764
20644
  this.focusedInput = "end";
20765
20645
  };
20766
20646
  this.inputInput = (e) => {
@@ -20808,7 +20688,7 @@ class InputDatePicker {
20808
20688
  }
20809
20689
  };
20810
20690
  }
20811
- handleDisabledChange(value) {
20691
+ handleDisabledAndReadOnlyChange(value) {
20812
20692
  if (!value) {
20813
20693
  this.active = false;
20814
20694
  }
@@ -20844,7 +20724,7 @@ class InputDatePicker {
20844
20724
  }
20845
20725
  }
20846
20726
  activeHandler() {
20847
- if (!this.disabled) {
20727
+ if (!this.disabled || !this.readOnly) {
20848
20728
  this.reposition();
20849
20729
  return;
20850
20730
  }
@@ -20935,25 +20815,25 @@ class InputDatePicker {
20935
20815
  }
20936
20816
  render() {
20937
20817
  var _a, _b;
20938
- const { disabled } = this;
20818
+ const { disabled, readOnly } = this;
20939
20819
  const date = dateFromRange(this.range ? this.startAsDate : this.valueAsDate, this.minAsDate, this.maxAsDate);
20940
20820
  const endDate = this.range
20941
20821
  ? dateFromRange(this.endAsDate, this.minAsDate, this.maxAsDate)
20942
20822
  : null;
20943
20823
  const formattedEndDate = endDate ? endDate.toLocaleDateString(this.locale) : "";
20944
20824
  const formattedDate = date ? date.toLocaleDateString(this.locale) : "";
20945
- return (hAsync(Host, { onBlur: this.deactivate, onKeyDown: this.keyDownHandler, onKeyUp: this.keyUpHandler, role: "application" }, this.localeData && (hAsync("div", { "aria-expanded": toAriaBoolean(this.active), class: "input-container", role: "application" }, hAsync("div", { class: "input-wrapper", ref: this.setStartWrapper }, hAsync("calcite-input", { class: `input ${this.layout === "vertical" && this.range ? `no-bottom-border` : ``}`, disabled: disabled, icon: "calendar", label: getLabelText(this), "number-button-type": "none", onCalciteInputInput: this.inputInput, onCalciteInternalInputBlur: this.inputBlur, onCalciteInternalInputFocus: this.startInputFocus, placeholder: (_a = this.localeData) === null || _a === void 0 ? void 0 : _a.placeholder, ref: this.setStartInput, scale: this.scale, type: "text", value: formattedDate })), hAsync("div", { "aria-hidden": toAriaBoolean(!this.active), class: {
20946
- "menu-container": true,
20947
- "menu-container--active": this.active
20825
+ return (hAsync(Host, { onBlur: this.deactivate, onKeyDown: this.keyDownHandler, onKeyUp: this.keyUpHandler, role: "application" }, this.localeData && (hAsync("div", { "aria-expanded": toAriaBoolean(this.active), class: "input-container", role: "application" }, hAsync("div", { class: "input-wrapper", ref: this.setStartWrapper }, hAsync("calcite-input", { class: `input ${this.layout === "vertical" && this.range ? `no-bottom-border` : ``}`, disabled: disabled, icon: "calendar", label: getLabelText(this), "number-button-type": "none", onCalciteInputInput: this.inputInput, onCalciteInternalInputBlur: this.inputBlur, onCalciteInternalInputFocus: this.startInputFocus, placeholder: (_a = this.localeData) === null || _a === void 0 ? void 0 : _a.placeholder, readOnly: readOnly, ref: this.setStartInput, scale: this.scale, type: "text", value: formattedDate })), hAsync("div", { "aria-hidden": toAriaBoolean(!this.active), class: {
20826
+ [CSS$t.menu]: true,
20827
+ [CSS$t.menuActive]: this.active
20948
20828
  }, ref: this.setMenuEl }, hAsync("div", { class: {
20949
20829
  ["calendar-picker-wrapper"]: true,
20950
20830
  ["calendar-picker-wrapper--end"]: this.focusedInput === "end",
20951
- [CSS$D.animation]: true,
20952
- [CSS$D.animationActive]: this.active
20831
+ [CSS$F.animation]: true,
20832
+ [CSS$F.animationActive]: this.active
20953
20833
  }, onTransitionEnd: this.transitionEnd }, hAsync("calcite-date-picker", { activeRange: this.focusedInput, endAsDate: this.endAsDate, headingLevel: this.headingLevel, intlNextMonth: this.intlNextMonth, intlPrevMonth: this.intlPrevMonth, intlYear: this.intlYear, locale: this.locale, max: this.max, maxAsDate: this.maxAsDate, min: this.min, minAsDate: this.minAsDate, onCalciteDatePickerChange: this.handleDateChange, onCalciteDatePickerRangeChange: this.handleDateRangeChange, proximitySelectionDisabled: this.proximitySelectionDisabled, range: this.range, scale: this.scale, startAsDate: this.startAsDate, tabIndex: 0, valueAsDate: this.valueAsDate }))), this.range && this.layout === "horizontal" && (hAsync("div", { class: "horizontal-arrow-container" }, hAsync("calcite-icon", { flipRtl: true, icon: "arrow-right", scale: "s" }))), this.range && this.layout === "vertical" && this.scale !== "s" && (hAsync("div", { class: "vertical-arrow-container" }, hAsync("calcite-icon", { icon: "arrow-down", scale: "s" }))), this.range && (hAsync("div", { class: "input-wrapper", ref: this.setEndWrapper }, hAsync("calcite-input", { class: {
20954
20834
  input: true,
20955
20835
  "border-top-color-one": this.layout === "vertical" && this.range
20956
- }, disabled: disabled, icon: "calendar", "number-button-type": "none", onCalciteInputInput: this.inputInput, onCalciteInternalInputBlur: this.inputBlur, onCalciteInternalInputFocus: this.endInputFocus, placeholder: (_b = this.localeData) === null || _b === void 0 ? void 0 : _b.placeholder, ref: this.setEndInput, scale: this.scale, type: "text", value: formattedEndDate }))))), hAsync(HiddenFormInputSlot, { component: this })));
20836
+ }, disabled: disabled, icon: "calendar", "number-button-type": "none", onCalciteInputInput: this.inputInput, onCalciteInternalInputBlur: this.inputBlur, onCalciteInternalInputFocus: this.endInputFocus, placeholder: (_b = this.localeData) === null || _b === void 0 ? void 0 : _b.placeholder, readOnly: readOnly, ref: this.setEndInput, scale: this.scale, type: "text", value: formattedEndDate }))))), hAsync(HiddenFormInputSlot, { component: this })));
20957
20837
  }
20958
20838
  setReferenceEl() {
20959
20839
  const { focusedInput, layout, endWrapper, startWrapper } = this;
@@ -21146,7 +21026,8 @@ class InputDatePicker {
21146
21026
  }
21147
21027
  get el() { return getElement(this); }
21148
21028
  static get watchers() { return {
21149
- "disabled": ["handleDisabledChange"],
21029
+ "disabled": ["handleDisabledAndReadOnlyChange"],
21030
+ "readOnly": ["handleDisabledAndReadOnlyChange"],
21150
21031
  "value": ["valueHandler"],
21151
21032
  "flipPlacements": ["flipPlacementsHandler"],
21152
21033
  "min": ["onMinChanged"],
@@ -21164,6 +21045,7 @@ class InputDatePicker {
21164
21045
  "$tagName$": "calcite-input-date-picker",
21165
21046
  "$members$": {
21166
21047
  "disabled": [516],
21048
+ "readOnly": [4, "read-only"],
21167
21049
  "value": [1025],
21168
21050
  "flipPlacements": [16],
21169
21051
  "headingLevel": [2, "heading-level"],
@@ -21276,6 +21158,562 @@ class InputMessage {
21276
21158
  }; }
21277
21159
  }
21278
21160
 
21161
+ const CSS$s = {
21162
+ loader: "loader",
21163
+ clearButton: "clear-button",
21164
+ editingEnabled: "editing-enabled",
21165
+ inlineChild: "inline-child",
21166
+ inputIcon: "icon",
21167
+ prefix: "prefix",
21168
+ suffix: "suffix",
21169
+ numberButtonWrapper: "number-button-wrapper",
21170
+ buttonItemHorizontal: "number-button-item--horizontal",
21171
+ wrapper: "element-wrapper",
21172
+ inputWrapper: "wrapper",
21173
+ actionWrapper: "action-wrapper",
21174
+ resizeIconWrapper: "resize-icon-wrapper",
21175
+ numberButtonItem: "number-button-item"
21176
+ };
21177
+ const SLOTS$g = {
21178
+ action: "action"
21179
+ };
21180
+ const TEXT$c = {
21181
+ clear: "Clear value"
21182
+ };
21183
+
21184
+ const inputNumberCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-input-number:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-input-number{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-input-number{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-input-number{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-input-number{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-input-number{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-input-number:root{--calcite-popper-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-input-number-h{display:none}/*!@:host*/.sc-calcite-input-number-h{display:block}/*!@:host([scale=s]) input, :host([scale=s]) .prefix, :host([scale=s]) .suffix*/[scale=s].sc-calcite-input-number-h input.sc-calcite-input-number,[scale=s].sc-calcite-input-number-h .prefix.sc-calcite-input-number,[scale=s].sc-calcite-input-number-h .suffix.sc-calcite-input-number{height:1.5rem;padding-left:0.5rem;padding-right:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}/*!@:host([scale=s]) .number-button-wrapper, :host([scale=s]) .action-wrapper calcite-button, :host([scale=s]) .action-wrapper calcite-button button*/[scale=s].sc-calcite-input-number-h .number-button-wrapper.sc-calcite-input-number,[scale=s].sc-calcite-input-number-h .action-wrapper.sc-calcite-input-number calcite-button.sc-calcite-input-number,[scale=s].sc-calcite-input-number-h .action-wrapper.sc-calcite-input-number calcite-button.sc-calcite-input-number button.sc-calcite-input-number{height:1.5rem}/*!@:host([scale=s]) .clear-button*/[scale=s].sc-calcite-input-number-h .clear-button.sc-calcite-input-number{min-height:1.5rem;min-width:1.5rem}/*!@:host([scale=m]) input, :host([scale=m]) .prefix, :host([scale=m]) .suffix*/[scale=m].sc-calcite-input-number-h input.sc-calcite-input-number,[scale=m].sc-calcite-input-number-h .prefix.sc-calcite-input-number,[scale=m].sc-calcite-input-number-h .suffix.sc-calcite-input-number{height:2rem;padding-left:0.75rem;padding-right:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}/*!@:host([scale=m]) .number-button-wrapper, :host([scale=m]) .action-wrapper calcite-button, :host([scale=m]) .action-wrapper calcite-button button*/[scale=m].sc-calcite-input-number-h .number-button-wrapper.sc-calcite-input-number,[scale=m].sc-calcite-input-number-h .action-wrapper.sc-calcite-input-number calcite-button.sc-calcite-input-number,[scale=m].sc-calcite-input-number-h .action-wrapper.sc-calcite-input-number calcite-button.sc-calcite-input-number button.sc-calcite-input-number{height:2rem}/*!@:host([scale=m]) .clear-button*/[scale=m].sc-calcite-input-number-h .clear-button.sc-calcite-input-number{min-height:2rem;min-width:2rem}/*!@:host([scale=l]) input, :host([scale=l]) .prefix, :host([scale=l]) .suffix*/[scale=l].sc-calcite-input-number-h input.sc-calcite-input-number,[scale=l].sc-calcite-input-number-h .prefix.sc-calcite-input-number,[scale=l].sc-calcite-input-number-h .suffix.sc-calcite-input-number{height:2.75rem;padding-left:1rem;padding-right:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@:host([scale=l]) .number-button-wrapper, :host([scale=l]) .action-wrapper calcite-button, :host([scale=l]) .action-wrapper calcite-button button*/[scale=l].sc-calcite-input-number-h .number-button-wrapper.sc-calcite-input-number,[scale=l].sc-calcite-input-number-h .action-wrapper.sc-calcite-input-number calcite-button.sc-calcite-input-number,[scale=l].sc-calcite-input-number-h .action-wrapper.sc-calcite-input-number calcite-button.sc-calcite-input-number button.sc-calcite-input-number{height:2.75rem}/*!@:host([scale=l]) .clear-button*/[scale=l].sc-calcite-input-number-h .clear-button.sc-calcite-input-number{min-height:2.75rem;min-width:2.75rem}/*!@:host([disabled])*/[disabled].sc-calcite-input-number-h{pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-input-number-h[disabled] .sc-calcite-input-number-s>[calcite-hydrated][disabled],[disabled].sc-calcite-input-number-h [calcite-hydrated][disabled].sc-calcite-input-number{opacity:1}/*!@:host input*/.sc-calcite-input-number-h input.sc-calcite-input-number{-webkit-transition:var(--calcite-animation-timing), height 0, outline-offset 0s;transition:var(--calcite-animation-timing), height 0, outline-offset 0s;-webkit-appearance:none;position:relative;margin:0px;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;max-height:100%;width:100%;max-width:100%;-ms-flex:1 1 0%;flex:1 1 0%;border-radius:0px;background-color:var(--calcite-ui-foreground-1);font-family:inherit;font-weight:var(--calcite-font-weight-normal);border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);color:var(--calcite-ui-text-1)}/*!@:host input::placeholder, :host input:-ms-input-placeholder, :host input::-ms-input-placeholder*/.sc-calcite-input-number-h input.sc-calcite-input-number:-ms-input-placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}.sc-calcite-input-number-h input.sc-calcite-input-number::-ms-input-placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}.sc-calcite-input-number-h input.sc-calcite-input-number::placeholder,.sc-calcite-input-number-h input.sc-calcite-input-number:-ms-input-placeholder,.sc-calcite-input-number-h input.sc-calcite-input-number::-ms-input-placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}/*!@:host input:focus*/.sc-calcite-input-number-h input.sc-calcite-input-number:focus{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-text-1)}/*!@:host input[readonly]*/.sc-calcite-input-number-h input[readonly].sc-calcite-input-number{background-color:var(--calcite-ui-background);font-weight:var(--calcite-font-weight-medium)}/*!@:host input[readonly]:focus*/.sc-calcite-input-number-h input[readonly].sc-calcite-input-number:focus{color:var(--calcite-ui-text-1)}/*!@:host calcite-icon*/.sc-calcite-input-number-h calcite-icon.sc-calcite-input-number{color:var(--calcite-ui-text-3)}/*!@:host input*/.sc-calcite-input-number-h input.sc-calcite-input-number{outline-color:transparent}/*!@:host input:focus*/.sc-calcite-input-number-h input.sc-calcite-input-number:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@:host([status=invalid]) input*/[status=invalid].sc-calcite-input-number-h input.sc-calcite-input-number{border-color:var(--calcite-ui-danger)}/*!@:host([status=invalid]) input:focus*/[status=invalid].sc-calcite-input-number-h input.sc-calcite-input-number:focus{outline:2px solid var(--calcite-ui-danger);outline-offset:-2px}/*!@:host([scale=s]) .icon*/[scale=s].sc-calcite-input-number-h .icon.sc-calcite-input-number{inset-inline-start:0.5rem}/*!@:host([scale=m]) .icon*/[scale=m].sc-calcite-input-number-h .icon.sc-calcite-input-number{inset-inline-start:0.75rem}/*!@:host([scale=l]) .icon*/[scale=l].sc-calcite-input-number-h .icon.sc-calcite-input-number{inset-inline-start:1rem}/*!@:host([icon][scale=s]) input*/[icon][scale=s].sc-calcite-input-number-h input.sc-calcite-input-number{-webkit-padding-start:2rem;padding-inline-start:2rem}/*!@:host([icon][scale=m]) input*/[icon][scale=m].sc-calcite-input-number-h input.sc-calcite-input-number{-webkit-padding-start:2.5rem;padding-inline-start:2.5rem}/*!@:host([icon][scale=l]) input*/[icon][scale=l].sc-calcite-input-number-h input.sc-calcite-input-number{-webkit-padding-start:3rem;padding-inline-start:3rem}/*!@.element-wrapper*/.element-wrapper.sc-calcite-input-number{position:relative;-ms-flex-order:3;order:3;display:-ms-inline-flexbox;display:inline-flex;-ms-flex:1 1 0%;flex:1 1 0%;-ms-flex-align:center;align-items:center}/*!@.icon*/.icon.sc-calcite-input-number{pointer-events:none;position:absolute;z-index:10;display:block;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}/*!@.clear-button*/.clear-button.sc-calcite-input-number{pointer-events:initial;-ms-flex-order:4;order:4;margin:0px;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;min-height:100%;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-ms-flex-item-align:stretch;align-self:stretch;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);outline-color:transparent;border-inline-start-width:0px}/*!@.clear-button:hover*/.clear-button.sc-calcite-input-number:hover{background-color:var(--calcite-ui-foreground-2);-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}/*!@.clear-button:hover calcite-icon*/.clear-button.sc-calcite-input-number:hover calcite-icon.sc-calcite-input-number{color:var(--calcite-ui-text-1);-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}/*!@.clear-button:active*/.clear-button.sc-calcite-input-number:active{background-color:var(--calcite-ui-foreground-3)}/*!@.clear-button:active calcite-icon*/.clear-button.sc-calcite-input-number:active calcite-icon.sc-calcite-input-number{color:var(--calcite-ui-text-1)}/*!@.clear-button:focus*/.clear-button.sc-calcite-input-number:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@.clear-button:disabled*/.clear-button.sc-calcite-input-number:disabled{opacity:var(--calcite-ui-opacity-disabled)}/*!@.loader*/.loader.sc-calcite-input-number{top:1px;left:1px;right:1px;pointer-events:none;position:absolute;display:block}/*!@.action-wrapper*/.action-wrapper.sc-calcite-input-number{-ms-flex-order:7;order:7;display:-ms-flexbox;display:flex}/*!@.prefix, \n.suffix*/.prefix.sc-calcite-input-number,.suffix.sc-calcite-input-number{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;height:auto;min-height:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-ms-flex-line-pack:center;align-content:center;-ms-flex-align:center;align-items:center;overflow-wrap:break-word;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-background);font-weight:var(--calcite-font-weight-medium);line-height:1;color:var(--calcite-ui-text-2)}/*!@.prefix*/.prefix.sc-calcite-input-number{-ms-flex-order:2;order:2;border-inline-end-width:0px}/*!@.suffix*/.suffix.sc-calcite-input-number{-ms-flex-order:5;order:5;border-inline-start-width:0px}/*!@:host([alignment=start]) input*/[alignment=start].sc-calcite-input-number-h input.sc-calcite-input-number{text-align:start}/*!@:host([alignment=end]) input*/[alignment=end].sc-calcite-input-number-h input.sc-calcite-input-number{text-align:end}/*!@.number-button-wrapper*/.number-button-wrapper.sc-calcite-input-number{pointer-events:none;-ms-flex-order:6;order:6;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}/*!@:host([number-button-type=vertical]) .wrapper*/[number-button-type=vertical].sc-calcite-input-number-h .wrapper.sc-calcite-input-number{-ms-flex-direction:row;flex-direction:row;display:-ms-flexbox;display:flex}/*!@:host([number-button-type=vertical]) input*/[number-button-type=vertical].sc-calcite-input-number-h input.sc-calcite-input-number{-ms-flex-order:2;order:2}/*!@:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=down] calcite-icon*/[number-button-type=horizontal].sc-calcite-input-number-h .calcite--rtl.sc-calcite-input-number .number-button-item[data-adjustment=down].sc-calcite-input-number calcite-icon.sc-calcite-input-number{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}/*!@:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=up] calcite-icon*/[number-button-type=horizontal].sc-calcite-input-number-h .calcite--rtl.sc-calcite-input-number .number-button-item[data-adjustment=up].sc-calcite-input-number calcite-icon.sc-calcite-input-number{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}/*!@.number-button-item.number-button-item--horizontal[data-adjustment=down], .number-button-item.number-button-item--horizontal[data-adjustment=up]*/.number-button-item.number-button-item--horizontal[data-adjustment=down].sc-calcite-input-number,.number-button-item.number-button-item--horizontal[data-adjustment=up].sc-calcite-input-number{-ms-flex-order:1;order:1;max-height:100%;min-height:100%;-ms-flex-item-align:stretch;align-self:stretch}/*!@.number-button-item.number-button-item--horizontal[data-adjustment=down] calcite-icon, .number-button-item.number-button-item--horizontal[data-adjustment=up] calcite-icon*/.number-button-item.number-button-item--horizontal[data-adjustment=down].sc-calcite-input-number calcite-icon.sc-calcite-input-number,.number-button-item.number-button-item--horizontal[data-adjustment=up].sc-calcite-input-number calcite-icon.sc-calcite-input-number{-webkit-transform:rotate(90deg);transform:rotate(90deg)}/*!@.number-button-item.number-button-item--horizontal[data-adjustment=down]*/.number-button-item.number-button-item--horizontal[data-adjustment=down].sc-calcite-input-number{border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);border-inline-end-width:0px}/*!@.number-button-item.number-button-item--horizontal[data-adjustment=down]:hover*/.number-button-item.number-button-item--horizontal[data-adjustment=down].sc-calcite-input-number:hover{background-color:var(--calcite-ui-foreground-2)}/*!@.number-button-item.number-button-item--horizontal[data-adjustment=down]:hover calcite-icon*/.number-button-item.number-button-item--horizontal[data-adjustment=down].sc-calcite-input-number:hover calcite-icon.sc-calcite-input-number{color:var(--calcite-ui-text-1)}/*!@.number-button-item.number-button-item--horizontal[data-adjustment=up]*/.number-button-item.number-button-item--horizontal[data-adjustment=up].sc-calcite-input-number{-ms-flex-order:5;order:5}/*!@.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover*/.number-button-item.number-button-item--horizontal[data-adjustment=up].sc-calcite-input-number:hover{background-color:var(--calcite-ui-foreground-2)}/*!@.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover calcite-icon*/.number-button-item.number-button-item--horizontal[data-adjustment=up].sc-calcite-input-number:hover calcite-icon.sc-calcite-input-number{color:var(--calcite-ui-text-1)}/*!@:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover*/[number-button-type=vertical].sc-calcite-input-number-h .number-button-item[data-adjustment=down].sc-calcite-input-number:hover{background-color:var(--calcite-ui-foreground-2)}/*!@:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover calcite-icon*/[number-button-type=vertical].sc-calcite-input-number-h .number-button-item[data-adjustment=down].sc-calcite-input-number:hover calcite-icon.sc-calcite-input-number{color:var(--calcite-ui-text-1)}/*!@:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover*/[number-button-type=vertical].sc-calcite-input-number-h .number-button-item[data-adjustment=up].sc-calcite-input-number:hover{background-color:var(--calcite-ui-foreground-2)}/*!@:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover calcite-icon*/[number-button-type=vertical].sc-calcite-input-number-h .number-button-item[data-adjustment=up].sc-calcite-input-number:hover calcite-icon.sc-calcite-input-number{color:var(--calcite-ui-text-1)}/*!@:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]*/[number-button-type=vertical].sc-calcite-input-number-h .number-button-item[data-adjustment=down].sc-calcite-input-number{border-top-width:0px}/*!@.number-button-item*/.number-button-item.sc-calcite-input-number{max-height:50%;min-height:50%;pointer-events:initial;margin:0px;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-item-align:center;align-self:center;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);padding-top:0px;padding-bottom:0px;padding-left:0.5rem;padding-right:0.5rem;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-inline-start-width:0px}/*!@.number-button-item calcite-icon*/.number-button-item.sc-calcite-input-number calcite-icon.sc-calcite-input-number{pointer-events:none;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}/*!@.number-button-item:focus*/.number-button-item.sc-calcite-input-number:focus{background-color:var(--calcite-ui-foreground-2)}/*!@.number-button-item:focus calcite-icon*/.number-button-item.sc-calcite-input-number:focus calcite-icon.sc-calcite-input-number{color:var(--calcite-ui-text-1)}/*!@.number-button-item:active*/.number-button-item.sc-calcite-input-number:active{background-color:var(--calcite-ui-foreground-3)}/*!@.number-button-item:disabled*/.number-button-item.sc-calcite-input-number:disabled{pointer-events:none}/*!@.wrapper*/.wrapper.sc-calcite-input-number{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center}/*!@.resize-icon-wrapper*/.resize-icon-wrapper.sc-calcite-input-number{bottom:2px;inset-inline-end:2px;pointer-events:none;position:absolute;z-index:10;height:0.75rem;width:0.75rem;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3)}/*!@.resize-icon-wrapper calcite-icon*/.resize-icon-wrapper.sc-calcite-input-number calcite-icon.sc-calcite-input-number{bottom:0.25rem;inset-inline-end:0.25rem;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}/*!@.calcite--rtl .resize-icon-wrapper calcite-icon*/.calcite--rtl.sc-calcite-input-number .resize-icon-wrapper.sc-calcite-input-number calcite-icon.sc-calcite-input-number{-webkit-transform:rotate(45deg);transform:rotate(45deg)}/*!@:host(.no-bottom-border) input*/.no-bottom-border.sc-calcite-input-number-h input.sc-calcite-input-number{border-bottom-width:0px}/*!@:host(.border-top-color-one) input*/.border-top-color-one.sc-calcite-input-number-h input.sc-calcite-input-number{border-top-color:var(--calcite-ui-border-1)}/*!@:host .inline-child*/.sc-calcite-input-number-h .inline-child.sc-calcite-input-number{background-color:transparent;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}/*!@:host .inline-child .editing-enabled*/.sc-calcite-input-number-h .inline-child.sc-calcite-input-number .editing-enabled.sc-calcite-input-number{background-color:inherit}/*!@:host .inline-child:not(.editing-enabled)*/.sc-calcite-input-number-h .inline-child.sc-calcite-input-number:not(.editing-enabled){display:-ms-flexbox;display:flex;cursor:pointer;border-color:transparent;-webkit-padding-start:0;padding-inline-start:0}/*!@::slotted(input[slot=hidden-form-input])*/.sc-calcite-input-number-s>input[slot=hidden-form-input]{bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
21185
+
21186
+ /**
21187
+ * @slot action - A slot for positioning a button next to the component.
21188
+ */
21189
+ class InputNumber {
21190
+ constructor(hostRef) {
21191
+ registerInstance(this, hostRef);
21192
+ this.calciteInternalInputNumberFocus = createEvent(this, "calciteInternalInputNumberFocus", 7);
21193
+ this.calciteInternalInputNumberBlur = createEvent(this, "calciteInternalInputNumberBlur", 7);
21194
+ this.calciteInputNumberInput = createEvent(this, "calciteInputNumberInput", 7);
21195
+ this.calciteInputNumberChange = createEvent(this, "calciteInputNumberChange", 7);
21196
+ //--------------------------------------------------------------------------
21197
+ //
21198
+ // Properties
21199
+ //
21200
+ //--------------------------------------------------------------------------
21201
+ /** Specifies the text alignment of the component's value. */
21202
+ this.alignment = "start";
21203
+ /**
21204
+ * When true, the component is focused on page load.
21205
+ *
21206
+ * @mdn [autofocus](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus)
21207
+ */
21208
+ this.autofocus = false;
21209
+ /**
21210
+ * When true, a clear button is displayed when the component has a value.
21211
+ */
21212
+ this.clearable = false;
21213
+ /**
21214
+ * When true, interaction is prevented and the component is displayed with lower opacity.
21215
+ *
21216
+ * @mdn [disabled](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled)
21217
+ */
21218
+ this.disabled = false;
21219
+ /**
21220
+ * When true, number values are displayed with the locale's group separator.
21221
+ */
21222
+ this.groupSeparator = false;
21223
+ /**
21224
+ * When true, the component will not be visible.
21225
+ *
21226
+ * @mdn [hidden](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/hidden)
21227
+ */
21228
+ this.hidden = false;
21229
+ /**
21230
+ * Accessible name that will appear while loading.
21231
+ *
21232
+ * @default "Loading"
21233
+ */
21234
+ this.intlLoading = TEXT$t.loading;
21235
+ /** When true, the icon is flipped in RTL. */
21236
+ this.iconFlipRtl = false;
21237
+ /** When true, the component is in the loading state and `calcite-progress` is displayed. */
21238
+ this.loading = false;
21239
+ /** Specifies the BCP 47 language tag for the desired language and country format. */
21240
+ this.locale = document.documentElement.lang || "en";
21241
+ /**
21242
+ * Toggles locale formatting for numbers.
21243
+ *
21244
+ * @internal
21245
+ */
21246
+ this.localeFormat = false;
21247
+ /** Specifies the placement of the buttons. */
21248
+ this.numberButtonType = "vertical";
21249
+ /**
21250
+ * When true, the value cannot be modified.
21251
+ *
21252
+ * @mdn [readOnly](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly)
21253
+ */
21254
+ this.readOnly = false;
21255
+ /** When true, the component must have a value in order for the form to submit. */
21256
+ this.required = false;
21257
+ /** Specifies the size of the component. */
21258
+ this.scale = "m";
21259
+ /** Specifies the status of the input field, which determines message and icons. */
21260
+ this.status = "idle";
21261
+ /**
21262
+ * @internal
21263
+ */
21264
+ this.editingEnabled = false;
21265
+ /** The component's value. */
21266
+ this.value = "";
21267
+ this.previousValueOrigin = "initial";
21268
+ this.mutationObserver = createObserver();
21269
+ this.userChangedValue = false;
21270
+ //--------------------------------------------------------------------------
21271
+ //
21272
+ // Private Methods
21273
+ //
21274
+ //--------------------------------------------------------------------------
21275
+ this.keyDownHandler = (event) => {
21276
+ if (this.readOnly || this.disabled) {
21277
+ return;
21278
+ }
21279
+ if (this.isClearable && event.key === "Escape") {
21280
+ this.clearInputValue(event);
21281
+ event.preventDefault();
21282
+ }
21283
+ if (event.key === "Enter" && !event.defaultPrevented) {
21284
+ submitForm(this);
21285
+ }
21286
+ };
21287
+ this.clearInputValue = (nativeEvent) => {
21288
+ this.setNumberValue({
21289
+ committing: true,
21290
+ nativeEvent,
21291
+ origin: "user",
21292
+ value: ""
21293
+ });
21294
+ };
21295
+ this.emitChangeIfUserModified = () => {
21296
+ if (this.previousValueOrigin === "user" && this.value !== this.previousEmittedValue) {
21297
+ this.calciteInputNumberChange.emit();
21298
+ }
21299
+ this.previousEmittedValue = this.value;
21300
+ };
21301
+ this.inputNumberBlurHandler = () => {
21302
+ this.calciteInternalInputNumberBlur.emit({
21303
+ element: this.childNumberEl,
21304
+ value: this.value
21305
+ });
21306
+ this.emitChangeIfUserModified();
21307
+ };
21308
+ this.inputNumberFocusHandler = (event) => {
21309
+ const slottedActionEl = getSlotted(this.el, "action");
21310
+ if (event.target !== slottedActionEl) {
21311
+ this.setFocus();
21312
+ }
21313
+ this.calciteInternalInputNumberFocus.emit({
21314
+ element: this.childNumberEl,
21315
+ value: this.value
21316
+ });
21317
+ };
21318
+ this.inputNumberInputHandler = (nativeEvent) => {
21319
+ if (this.disabled || this.readOnly) {
21320
+ return;
21321
+ }
21322
+ const value = nativeEvent.target.value;
21323
+ const delocalizedValue = delocalizeNumberString(value, this.locale);
21324
+ if (nativeEvent.inputType === "insertFromPaste") {
21325
+ if (!isValidNumber(delocalizedValue)) {
21326
+ nativeEvent.preventDefault();
21327
+ }
21328
+ this.setNumberValue({
21329
+ nativeEvent,
21330
+ origin: "user",
21331
+ value: parseNumberString(delocalizedValue)
21332
+ });
21333
+ this.childNumberEl.value = this.localizedValue;
21334
+ }
21335
+ else {
21336
+ this.setNumberValue({
21337
+ nativeEvent,
21338
+ origin: "user",
21339
+ value: delocalizedValue
21340
+ });
21341
+ }
21342
+ };
21343
+ this.inputNumberKeyDownHandler = (event) => {
21344
+ if (this.disabled || this.readOnly) {
21345
+ return;
21346
+ }
21347
+ if (event.key === "ArrowUp") {
21348
+ /* prevent default behavior of moving cursor to the beginning of the input when holding down ArrowUp */
21349
+ event.preventDefault();
21350
+ this.nudgeNumberValue("up", event);
21351
+ return;
21352
+ }
21353
+ if (event.key === "ArrowDown") {
21354
+ this.nudgeNumberValue("down", event);
21355
+ return;
21356
+ }
21357
+ const supportedKeys = [
21358
+ ...numberKeys,
21359
+ "ArrowLeft",
21360
+ "ArrowRight",
21361
+ "Backspace",
21362
+ "Delete",
21363
+ "Enter",
21364
+ "Escape",
21365
+ "Tab"
21366
+ ];
21367
+ if (event.altKey || event.ctrlKey || event.metaKey) {
21368
+ return;
21369
+ }
21370
+ const isShiftTabEvent = event.shiftKey && event.key === "Tab";
21371
+ if (supportedKeys.includes(event.key) && (!event.shiftKey || isShiftTabEvent)) {
21372
+ if (event.key === "Enter") {
21373
+ this.emitChangeIfUserModified();
21374
+ }
21375
+ return;
21376
+ }
21377
+ const decimalSeparator = getDecimalSeparator(this.locale);
21378
+ if (event.key === decimalSeparator) {
21379
+ if (!this.value && !this.childNumberEl.value) {
21380
+ return;
21381
+ }
21382
+ if (this.value && this.childNumberEl.value.indexOf(decimalSeparator) === -1) {
21383
+ return;
21384
+ }
21385
+ }
21386
+ if (/[eE]/.test(event.key)) {
21387
+ if (!this.value && !this.childNumberEl.value) {
21388
+ return;
21389
+ }
21390
+ if (this.value && !/[eE]/.test(this.childNumberEl.value)) {
21391
+ return;
21392
+ }
21393
+ }
21394
+ if (event.key === "-") {
21395
+ if (!this.value && !this.childNumberEl.value) {
21396
+ return;
21397
+ }
21398
+ if (this.value && this.childNumberEl.value.split("-").length <= 2) {
21399
+ return;
21400
+ }
21401
+ }
21402
+ event.preventDefault();
21403
+ };
21404
+ this.nudgeNumberValue = (direction, nativeEvent) => {
21405
+ if (nativeEvent instanceof KeyboardEvent && nativeEvent.repeat) {
21406
+ return;
21407
+ }
21408
+ const inputMax = this.maxString ? parseFloat(this.maxString) : null;
21409
+ const inputMin = this.minString ? parseFloat(this.minString) : null;
21410
+ const valueNudgeDelayInMs = 100;
21411
+ this.incrementOrDecrementNumberValue(direction, inputMax, inputMin, nativeEvent);
21412
+ if (this.nudgeNumberValueIntervalId) {
21413
+ window.clearInterval(this.nudgeNumberValueIntervalId);
21414
+ }
21415
+ let firstValueNudge = true;
21416
+ this.nudgeNumberValueIntervalId = window.setInterval(() => {
21417
+ if (firstValueNudge) {
21418
+ firstValueNudge = false;
21419
+ return;
21420
+ }
21421
+ this.incrementOrDecrementNumberValue(direction, inputMax, inputMin, nativeEvent);
21422
+ }, valueNudgeDelayInMs);
21423
+ };
21424
+ this.nudgeButtonPointerUpAndOutHandler = () => {
21425
+ window.clearInterval(this.nudgeNumberValueIntervalId);
21426
+ };
21427
+ this.nudgeButtonPointerDownHandler = (event) => {
21428
+ event.preventDefault();
21429
+ const direction = event.target.dataset.adjustment;
21430
+ if (!this.disabled) {
21431
+ this.nudgeNumberValue(direction, event);
21432
+ }
21433
+ };
21434
+ this.setChildNumberElRef = (el) => {
21435
+ this.childNumberEl = el;
21436
+ };
21437
+ this.setInputNumberValue = (newInputValue) => {
21438
+ if (!this.childNumberEl) {
21439
+ return;
21440
+ }
21441
+ this.childNumberEl.value = newInputValue;
21442
+ };
21443
+ this.setPreviousEmittedNumberValue = (newPreviousEmittedValue) => {
21444
+ this.previousEmittedValue = isValidNumber(newPreviousEmittedValue)
21445
+ ? newPreviousEmittedValue
21446
+ : "";
21447
+ };
21448
+ this.setPreviousNumberValue = (newPreviousValue) => {
21449
+ this.previousValue = isValidNumber(newPreviousValue) ? newPreviousValue : "";
21450
+ };
21451
+ this.setNumberValue = ({ committing = false, nativeEvent, origin, previousValue, value }) => {
21452
+ const previousLocalizedValue = localizeNumberString(this.previousValue, this.locale, this.groupSeparator, this.numberingSystem);
21453
+ const sanitizedValue = sanitizeNumberString(value);
21454
+ const newValue = value && !sanitizedValue
21455
+ ? isValidNumber(this.previousValue)
21456
+ ? this.previousValue
21457
+ : ""
21458
+ : sanitizedValue;
21459
+ const newLocalizedValue = localizeNumberString(newValue, this.locale, this.groupSeparator, this.numberingSystem);
21460
+ this.setPreviousNumberValue(previousValue || this.value);
21461
+ this.previousValueOrigin = origin;
21462
+ this.userChangedValue = origin === "user" && this.value !== newValue;
21463
+ this.value = newValue;
21464
+ this.localizedValue = newLocalizedValue;
21465
+ if (origin === "direct") {
21466
+ this.setInputNumberValue(newLocalizedValue);
21467
+ }
21468
+ if (nativeEvent) {
21469
+ const calciteInputNumberInputEvent = this.calciteInputNumberInput.emit({
21470
+ element: this.childNumberEl,
21471
+ nativeEvent,
21472
+ value: this.value
21473
+ });
21474
+ if (calciteInputNumberInputEvent.defaultPrevented) {
21475
+ this.value = this.previousValue;
21476
+ this.localizedValue = previousLocalizedValue;
21477
+ }
21478
+ else if (committing) {
21479
+ this.emitChangeIfUserModified();
21480
+ }
21481
+ }
21482
+ };
21483
+ this.inputNumberKeyUpHandler = () => {
21484
+ window.clearInterval(this.nudgeNumberValueIntervalId);
21485
+ };
21486
+ }
21487
+ disabledWatcher() {
21488
+ this.setDisabledAction();
21489
+ }
21490
+ /** watcher to update number-to-string for max */
21491
+ maxWatcher() {
21492
+ var _a;
21493
+ this.maxString = ((_a = this.max) === null || _a === void 0 ? void 0 : _a.toString()) || null;
21494
+ }
21495
+ /** watcher to update number-to-string for min */
21496
+ minWatcher() {
21497
+ var _a;
21498
+ this.minString = ((_a = this.min) === null || _a === void 0 ? void 0 : _a.toString()) || null;
21499
+ }
21500
+ valueWatcher(newValue, previousValue) {
21501
+ if (!this.userChangedValue) {
21502
+ this.setNumberValue({
21503
+ origin: "direct",
21504
+ previousValue,
21505
+ value: newValue == null || newValue == ""
21506
+ ? ""
21507
+ : isValidNumber(newValue)
21508
+ ? newValue
21509
+ : this.previousValue || ""
21510
+ });
21511
+ this.warnAboutInvalidNumberValue(newValue);
21512
+ }
21513
+ this.userChangedValue = false;
21514
+ }
21515
+ updateRequestedIcon() {
21516
+ this.requestedIcon = setRequestedIcon({}, this.icon, "number");
21517
+ }
21518
+ get isClearable() {
21519
+ return this.clearable && this.value.length > 0;
21520
+ }
21521
+ //--------------------------------------------------------------------------
21522
+ //
21523
+ // Lifecycle
21524
+ //
21525
+ //--------------------------------------------------------------------------
21526
+ connectedCallback() {
21527
+ var _a;
21528
+ this.scale = getElementProp(this.el, "scale", this.scale);
21529
+ this.status = getElementProp(this.el, "status", this.status);
21530
+ this.inlineEditableEl = this.el.closest("calcite-inline-editable");
21531
+ if (this.inlineEditableEl) {
21532
+ this.editingEnabled = this.inlineEditableEl.editingEnabled || false;
21533
+ }
21534
+ this.setPreviousEmittedNumberValue(this.value);
21535
+ this.setPreviousNumberValue(this.value);
21536
+ this.warnAboutInvalidNumberValue(this.value);
21537
+ this.setNumberValue({
21538
+ origin: "connected",
21539
+ value: isValidNumber(this.value) ? this.value : ""
21540
+ });
21541
+ connectLabel(this);
21542
+ connectForm(this);
21543
+ (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true });
21544
+ this.setDisabledAction();
21545
+ }
21546
+ disconnectedCallback() {
21547
+ var _a;
21548
+ disconnectLabel(this);
21549
+ disconnectForm(this);
21550
+ (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
21551
+ }
21552
+ componentWillLoad() {
21553
+ var _a, _b;
21554
+ this.maxString = (_a = this.max) === null || _a === void 0 ? void 0 : _a.toString();
21555
+ this.minString = (_b = this.min) === null || _b === void 0 ? void 0 : _b.toString();
21556
+ this.requestedIcon = setRequestedIcon({}, this.icon, "number");
21557
+ }
21558
+ componentShouldUpdate(newValue, oldValue, property) {
21559
+ if (property === "value" && newValue && !isValidNumber(newValue)) {
21560
+ this.setNumberValue({
21561
+ origin: "reset",
21562
+ value: oldValue
21563
+ });
21564
+ return false;
21565
+ }
21566
+ return true;
21567
+ }
21568
+ componentDidRender() {
21569
+ updateHostInteraction(this);
21570
+ }
21571
+ //--------------------------------------------------------------------------
21572
+ //
21573
+ // Public Methods
21574
+ //
21575
+ //--------------------------------------------------------------------------
21576
+ /** Sets focus on the component. */
21577
+ async setFocus() {
21578
+ var _a;
21579
+ (_a = this.childNumberEl) === null || _a === void 0 ? void 0 : _a.focus();
21580
+ }
21581
+ /** Selects all text of the component's `value`. */
21582
+ async selectText() {
21583
+ var _a;
21584
+ (_a = this.childNumberEl) === null || _a === void 0 ? void 0 : _a.select();
21585
+ }
21586
+ onLabelClick() {
21587
+ this.setFocus();
21588
+ }
21589
+ incrementOrDecrementNumberValue(direction, inputMax, inputMin, nativeEvent) {
21590
+ const { value } = this;
21591
+ const inputStep = this.step === "any" ? 1 : Math.abs(this.step || 1);
21592
+ const inputVal = value && value !== "" ? parseFloat(value) : 0;
21593
+ const adjustment = direction === "up" ? 1 : -1;
21594
+ const nudgedValue = inputVal + inputStep * adjustment;
21595
+ const finalValue = (typeof inputMin === "number" && !isNaN(inputMin) && nudgedValue < inputMin) ||
21596
+ (typeof inputMax === "number" && !isNaN(inputMax) && nudgedValue > inputMax)
21597
+ ? inputVal
21598
+ : nudgedValue;
21599
+ const inputValPlaces = decimalPlaces(inputVal);
21600
+ const inputStepPlaces = decimalPlaces(inputStep);
21601
+ this.setNumberValue({
21602
+ committing: true,
21603
+ nativeEvent,
21604
+ origin: "user",
21605
+ value: finalValue.toFixed(Math.max(inputValPlaces, inputStepPlaces))
21606
+ });
21607
+ }
21608
+ onFormReset() {
21609
+ this.setNumberValue({
21610
+ origin: "reset",
21611
+ value: this.defaultValue
21612
+ });
21613
+ }
21614
+ syncHiddenFormInput(input) {
21615
+ var _a, _b, _c, _d;
21616
+ input.type = "number";
21617
+ input.min = (_b = (_a = this.min) === null || _a === void 0 ? void 0 : _a.toString(10)) !== null && _b !== void 0 ? _b : "";
21618
+ input.max = (_d = (_c = this.max) === null || _c === void 0 ? void 0 : _c.toString(10)) !== null && _d !== void 0 ? _d : "";
21619
+ }
21620
+ setDisabledAction() {
21621
+ const slottedActionEl = getSlotted(this.el, "action");
21622
+ if (!slottedActionEl) {
21623
+ return;
21624
+ }
21625
+ this.disabled
21626
+ ? slottedActionEl.setAttribute("disabled", "")
21627
+ : slottedActionEl.removeAttribute("disabled");
21628
+ }
21629
+ warnAboutInvalidNumberValue(value) {
21630
+ if (value && !isValidNumber(value)) {
21631
+ console.warn(`The specified value "${value}" cannot be parsed, or is out of range.`);
21632
+ }
21633
+ }
21634
+ // --------------------------------------------------------------------------
21635
+ //
21636
+ // Render Methods
21637
+ //
21638
+ // --------------------------------------------------------------------------
21639
+ render() {
21640
+ const dir = getElementDir(this.el);
21641
+ const loader = (hAsync("div", { class: CSS$s.loader }, hAsync("calcite-progress", { label: this.intlLoading, type: "indeterminate" })));
21642
+ const inputClearButton = (hAsync("button", { "aria-label": this.intlClear || TEXT$c.clear, class: CSS$s.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputValue, tabIndex: this.disabled ? -1 : 0, type: "button" }, hAsync("calcite-icon", { icon: "x", scale: "s" })));
21643
+ const iconEl = (hAsync("calcite-icon", { class: CSS$s.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: "s" }));
21644
+ const isHorizontalNumberButton = this.numberButtonType === "horizontal";
21645
+ const numberButtonsHorizontalUp = (hAsync("button", { class: {
21646
+ [CSS$s.numberButtonItem]: true,
21647
+ [CSS$s.buttonItemHorizontal]: isHorizontalNumberButton
21648
+ }, "data-adjustment": "up", disabled: this.disabled || this.readOnly, onPointerDown: this.nudgeButtonPointerDownHandler, onPointerOut: this.nudgeButtonPointerUpAndOutHandler, onPointerUp: this.nudgeButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "chevron-up", scale: "s" })));
21649
+ const numberButtonsHorizontalDown = (hAsync("button", { class: {
21650
+ [CSS$s.numberButtonItem]: true,
21651
+ [CSS$s.buttonItemHorizontal]: isHorizontalNumberButton
21652
+ }, "data-adjustment": "down", disabled: this.disabled || this.readOnly, onPointerDown: this.nudgeButtonPointerDownHandler, onPointerOut: this.nudgeButtonPointerUpAndOutHandler, onPointerUp: this.nudgeButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "chevron-down", scale: "s" })));
21653
+ const numberButtonsVertical = (hAsync("div", { class: CSS$s.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
21654
+ const prefixText = hAsync("div", { class: CSS$s.prefix }, this.prefixText);
21655
+ const suffixText = hAsync("div", { class: CSS$s.suffix }, this.suffixText);
21656
+ const childEl = (hAsync("input", { "aria-label": getLabelText(this), autofocus: this.autofocus ? true : null, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.el.enterKeyHint, inputMode: this.el.inputMode, key: "localized-input", maxLength: this.maxLength, minLength: this.minLength, name: undefined, onBlur: this.inputNumberBlurHandler, onFocus: this.inputNumberFocusHandler, onInput: this.inputNumberInputHandler, onKeyDown: this.inputNumberKeyDownHandler, onKeyUp: this.inputNumberKeyUpHandler, placeholder: this.placeholder || "", readOnly: this.readOnly, ref: this.setChildNumberElRef, type: "text", value: this.localizedValue }));
21657
+ return (hAsync(Host, { onClick: this.inputNumberFocusHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$s.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.numberButtonType === "horizontal" && !this.readOnly
21658
+ ? numberButtonsHorizontalDown
21659
+ : null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$s.wrapper }, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), hAsync("div", { class: CSS$s.actionWrapper }, hAsync("slot", { name: SLOTS$g.action })), this.numberButtonType === "vertical" && !this.readOnly ? numberButtonsVertical : null, this.suffixText ? suffixText : null, this.numberButtonType === "horizontal" && !this.readOnly
21660
+ ? numberButtonsHorizontalUp
21661
+ : null, hAsync(HiddenFormInputSlot, { component: this }))));
21662
+ }
21663
+ get el() { return getElement(this); }
21664
+ static get watchers() { return {
21665
+ "disabled": ["disabledWatcher"],
21666
+ "max": ["maxWatcher"],
21667
+ "min": ["minWatcher"],
21668
+ "value": ["valueWatcher"],
21669
+ "icon": ["updateRequestedIcon"]
21670
+ }; }
21671
+ static get style() { return inputNumberCss; }
21672
+ static get cmpMeta() { return {
21673
+ "$flags$": 9,
21674
+ "$tagName$": "calcite-input-number",
21675
+ "$members$": {
21676
+ "alignment": [513],
21677
+ "autofocus": [4],
21678
+ "clearable": [516],
21679
+ "disabled": [516],
21680
+ "groupSeparator": [4, "group-separator"],
21681
+ "hidden": [4],
21682
+ "icon": [520],
21683
+ "intlClear": [1, "intl-clear"],
21684
+ "intlLoading": [1, "intl-loading"],
21685
+ "iconFlipRtl": [516, "icon-flip-rtl"],
21686
+ "label": [1],
21687
+ "loading": [516],
21688
+ "locale": [1],
21689
+ "numberingSystem": [1, "numbering-system"],
21690
+ "localeFormat": [4, "locale-format"],
21691
+ "max": [514],
21692
+ "min": [514],
21693
+ "maxLength": [514, "max-length"],
21694
+ "minLength": [514, "min-length"],
21695
+ "name": [513],
21696
+ "numberButtonType": [513, "number-button-type"],
21697
+ "placeholder": [1],
21698
+ "prefixText": [1, "prefix-text"],
21699
+ "readOnly": [4, "read-only"],
21700
+ "required": [4],
21701
+ "scale": [1537],
21702
+ "status": [1537],
21703
+ "step": [520],
21704
+ "suffixText": [1, "suffix-text"],
21705
+ "editingEnabled": [1540, "editing-enabled"],
21706
+ "value": [1025],
21707
+ "localizedValue": [32],
21708
+ "setFocus": [64],
21709
+ "selectText": [64]
21710
+ },
21711
+ "$listeners$": undefined,
21712
+ "$lazyBundleId$": "-",
21713
+ "$attrsToReflect$": [["alignment", "alignment"], ["clearable", "clearable"], ["disabled", "disabled"], ["icon", "icon"], ["iconFlipRtl", "icon-flip-rtl"], ["loading", "loading"], ["max", "max"], ["min", "min"], ["maxLength", "max-length"], ["minLength", "min-length"], ["name", "name"], ["numberButtonType", "number-button-type"], ["scale", "scale"], ["status", "status"], ["step", "step"], ["editingEnabled", "editing-enabled"]]
21714
+ }; }
21715
+ }
21716
+
21279
21717
  const maxTenthForMinuteAndSecond = 5;
21280
21718
  function createLocaleDateTimeFormatter(locale, includeSeconds = true) {
21281
21719
  try {
@@ -21467,6 +21905,12 @@ class InputTimePicker {
21467
21905
  this.active = false;
21468
21906
  /** The disabled state of the time input */
21469
21907
  this.disabled = false;
21908
+ /**
21909
+ * When true, still focusable but controls are gone and the value cannot be modified.
21910
+ *
21911
+ * @mdn [readOnly](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly)
21912
+ */
21913
+ this.readOnly = false;
21470
21914
  /**
21471
21915
  * BCP 47 language tag for desired language and country format
21472
21916
  *
@@ -21507,8 +21951,10 @@ class InputTimePicker {
21507
21951
  this.setInputValue(localizedInputValue || localizeTimeString(this.value, this.locale, shouldIncludeSeconds));
21508
21952
  };
21509
21953
  this.calciteInternalInputFocusHandler = (event) => {
21510
- this.active = true;
21511
- event.stopPropagation();
21954
+ if (!this.readOnly) {
21955
+ this.active = true;
21956
+ event.stopPropagation();
21957
+ }
21512
21958
  };
21513
21959
  this.calciteInputInputHandler = (event) => {
21514
21960
  const target = event.target;
@@ -21587,13 +22033,13 @@ class InputTimePicker {
21587
22033
  };
21588
22034
  }
21589
22035
  activeHandler() {
21590
- if (this.disabled) {
22036
+ if (this.disabled || this.readOnly) {
21591
22037
  this.active = false;
21592
22038
  return;
21593
22039
  }
21594
22040
  this.reposition();
21595
22041
  }
21596
- handleDisabledChange(value) {
22042
+ handleDisabledAndReadOnlyChange(value) {
21597
22043
  if (!value) {
21598
22044
  this.active = false;
21599
22045
  }
@@ -21626,7 +22072,9 @@ class InputTimePicker {
21626
22072
  timePickerFocusHandler(event) {
21627
22073
  event.preventDefault();
21628
22074
  event.stopPropagation();
21629
- this.active = true;
22075
+ if (!this.readOnly) {
22076
+ this.active = true;
22077
+ }
21630
22078
  }
21631
22079
  // --------------------------------------------------------------------------
21632
22080
  //
@@ -21678,12 +22126,13 @@ class InputTimePicker {
21678
22126
  // --------------------------------------------------------------------------
21679
22127
  render() {
21680
22128
  const popoverId = `${this.referenceElementId}-popover`;
21681
- return (hAsync(Host, { onKeyDown: this.keyDownHandler }, hAsync("div", { "aria-controls": popoverId, "aria-haspopup": "dialog", "aria-label": this.name, "aria-owns": popoverId, id: this.referenceElementId, role: "combobox" }, hAsync("calcite-input", { disabled: this.disabled, icon: "clock", label: getLabelText(this), onCalciteInputInput: this.calciteInputInputHandler, onCalciteInternalInputBlur: this.calciteInternalInputBlurHandler, onCalciteInternalInputFocus: this.calciteInternalInputFocusHandler, ref: this.setCalciteInputEl, scale: this.scale, step: this.step })), hAsync("calcite-popover", { id: popoverId, label: "Time Picker", open: this.active, placement: this.placement, ref: this.setCalcitePopoverEl, referenceElement: this.referenceElementId }, hAsync("calcite-time-picker", { intlHour: this.intlHour, intlHourDown: this.intlHourDown, intlHourUp: this.intlHourUp, intlMeridiem: this.intlMeridiem, intlMeridiemDown: this.intlMeridiemDown, intlMeridiemUp: this.intlMeridiemUp, intlMinute: this.intlMinute, intlMinuteDown: this.intlMinuteDown, intlMinuteUp: this.intlMinuteUp, intlSecond: this.intlSecond, intlSecondDown: this.intlSecondDown, intlSecondUp: this.intlSecondUp, lang: this.locale, onCalciteInternalTimePickerChange: this.timePickerChangeHandler, ref: this.setCalciteTimePickerEl, scale: this.scale, step: this.step, value: this.value })), hAsync(HiddenFormInputSlot, { component: this })));
22129
+ return (hAsync(Host, { onKeyDown: this.keyDownHandler }, hAsync("div", { "aria-controls": popoverId, "aria-haspopup": "dialog", "aria-label": this.name, "aria-owns": popoverId, id: this.referenceElementId, role: "combobox" }, hAsync("calcite-input", { disabled: this.disabled, icon: "clock", label: getLabelText(this), onCalciteInputInput: this.calciteInputInputHandler, onCalciteInternalInputBlur: this.calciteInternalInputBlurHandler, onCalciteInternalInputFocus: this.calciteInternalInputFocusHandler, readOnly: this.readOnly, ref: this.setCalciteInputEl, scale: this.scale, step: this.step })), hAsync("calcite-popover", { id: popoverId, label: "Time Picker", open: this.active, placement: this.placement, ref: this.setCalcitePopoverEl, referenceElement: this.referenceElementId, triggerDisabled: true }, hAsync("calcite-time-picker", { intlHour: this.intlHour, intlHourDown: this.intlHourDown, intlHourUp: this.intlHourUp, intlMeridiem: this.intlMeridiem, intlMeridiemDown: this.intlMeridiemDown, intlMeridiemUp: this.intlMeridiemUp, intlMinute: this.intlMinute, intlMinuteDown: this.intlMinuteDown, intlMinuteUp: this.intlMinuteUp, intlSecond: this.intlSecond, intlSecondDown: this.intlSecondDown, intlSecondUp: this.intlSecondUp, lang: this.locale, onCalciteInternalTimePickerChange: this.timePickerChangeHandler, ref: this.setCalciteTimePickerEl, scale: this.scale, step: this.step, value: this.value })), hAsync(HiddenFormInputSlot, { component: this })));
21682
22130
  }
21683
22131
  get el() { return getElement(this); }
21684
22132
  static get watchers() { return {
21685
22133
  "active": ["activeHandler"],
21686
- "disabled": ["handleDisabledChange"],
22134
+ "disabled": ["handleDisabledAndReadOnlyChange"],
22135
+ "readOnly": ["handleDisabledAndReadOnlyChange"],
21687
22136
  "locale": ["localeWatcher"],
21688
22137
  "value": ["valueWatcher"]
21689
22138
  }; }
@@ -21694,6 +22143,7 @@ class InputTimePicker {
21694
22143
  "$members$": {
21695
22144
  "active": [1540],
21696
22145
  "disabled": [516],
22146
+ "readOnly": [4, "read-only"],
21697
22147
  "intlHour": [1, "intl-hour"],
21698
22148
  "intlHourDown": [1, "intl-hour-down"],
21699
22149
  "intlHourUp": [1, "intl-hour-up"],
@@ -23419,7 +23869,7 @@ class Panel {
23419
23869
  renderMenu() {
23420
23870
  const { el, intlOptions, menuOpen } = this;
23421
23871
  const hasMenuItems = getSlotted(el, SLOTS$c.headerMenuActions);
23422
- return hasMenuItems ? (hAsync("calcite-action-menu", { flipPlacements: ["top", "bottom"], key: "menu", label: intlOptions || TEXT$8.options, open: menuOpen, placement: "bottom-end" }, hAsync("calcite-action", { icon: ICONS$5.menu, slot: SLOTS$p.trigger, text: intlOptions || TEXT$8.options }), hAsync("slot", { name: SLOTS$c.headerMenuActions }))) : null;
23872
+ return hasMenuItems ? (hAsync("calcite-action-menu", { flipPlacements: ["top", "bottom"], key: "menu", label: intlOptions || TEXT$8.options, open: menuOpen, placement: "bottom-end" }, hAsync("calcite-action", { icon: ICONS$5.menu, slot: SLOTS$q.trigger, text: intlOptions || TEXT$8.options }), hAsync("slot", { name: SLOTS$c.headerMenuActions }))) : null;
23423
23873
  }
23424
23874
  renderHeaderNode() {
23425
23875
  const { el, showBackButton } = this;
@@ -23638,6 +24088,10 @@ function moveItemIndex(list, item, direction) {
23638
24088
  }
23639
24089
  return index;
23640
24090
  }
24091
+ function getItemIndex(list, item) {
24092
+ const { items } = list;
24093
+ return items.indexOf(item);
24094
+ }
23641
24095
  function filterOutDisabled(items) {
23642
24096
  return items.filter((item) => !item.disabled);
23643
24097
  }
@@ -23802,10 +24256,11 @@ function getItemData() {
23802
24256
  }));
23803
24257
  }
23804
24258
 
23805
- const List = ({ props: { disabled, loading, filterEnabled, dataForFilter, handleFilter, filterPlaceholder, setFilterEl }, ...rest }) => {
24259
+ const List = ({ props: { disabled, loading, filterEnabled, dataForFilter, handleFilter, filterPlaceholder, setFilterEl, dragEnabled, storeAssistiveEl }, ...rest }) => {
23806
24260
  const defaultSlot = hAsync("slot", null);
23807
24261
  return (hAsync(Host, { "aria-busy": toAriaBoolean(loading), role: "menu", ...rest },
23808
24262
  hAsync("section", null,
24263
+ dragEnabled ? (hAsync("span", { "aria-live": "assertive", class: "assistive-text", ref: storeAssistiveEl })) : null,
23809
24264
  hAsync("header", { class: { [CSS$j.sticky]: true } },
23810
24265
  filterEnabled ? (hAsync("calcite-filter", { "aria-label": filterPlaceholder, disabled: loading || disabled, items: dataForFilter, onCalciteFilterChange: handleFilter, placeholder: filterPlaceholder, ref: setFilterEl })) : null,
23811
24266
  hAsync("slot", { name: SLOTS$b.menuActions })),
@@ -24622,8 +25077,8 @@ class Popover {
24622
25077
  const hidden = !displayed;
24623
25078
  const arrowNode = !disablePointer ? (hAsync("div", { class: CSS$g.arrow, ref: (arrowEl) => (this.arrowEl = arrowEl) })) : null;
24624
25079
  return (hAsync(Host, { "aria-hidden": toAriaBoolean(hidden), "aria-label": label, "aria-live": "polite", "calcite-hydrated-hidden": hidden, id: this.getId(), role: "dialog" }, hAsync("div", { class: {
24625
- [CSS$D.animation]: true,
24626
- [CSS$D.animationActive]: displayed
25080
+ [CSS$F.animation]: true,
25081
+ [CSS$F.animationActive]: displayed
24627
25082
  }, onTransitionEnd: this.transitionEnd }, arrowNode, hAsync("div", { class: {
24628
25083
  [CSS$g.hasHeader]: !!heading,
24629
25084
  [CSS$g.container]: true
@@ -33518,8 +33973,8 @@ class Tooltip {
33518
33973
  const displayed = effectiveReferenceElement && open;
33519
33974
  const hidden = !displayed;
33520
33975
  return (hAsync(Host, { "aria-hidden": toAriaBoolean(hidden), "aria-label": label, "aria-live": "polite", "calcite-hydrated-hidden": hidden, id: this.getId(), role: "tooltip" }, hAsync("div", { class: {
33521
- [CSS$D.animation]: true,
33522
- [CSS$D.animationActive]: displayed
33976
+ [CSS$F.animation]: true,
33977
+ [CSS$F.animationActive]: displayed
33523
33978
  } }, hAsync("div", { class: CSS$2.arrow, ref: (arrowEl) => (this.arrowEl = arrowEl) }), hAsync("div", { class: CSS$2.container }, hAsync("slot", null)))));
33524
33979
  }
33525
33980
  get el() { return getElement(this); }
@@ -34122,6 +34577,50 @@ var ICON_TYPES;
34122
34577
  ICON_TYPES["grip"] = "grip";
34123
34578
  })(ICON_TYPES || (ICON_TYPES = {}));
34124
34579
 
34580
+ function getScreenReaderText(item, status, valueList) {
34581
+ const { items, intlDragHandleIdle, intlDragHandleActive, intlDragHandleChange, intlDragHandleCommit } = valueList;
34582
+ const total = items.length;
34583
+ const position = getItemIndex(valueList, item) + 1;
34584
+ if (status === "idle") {
34585
+ const idleText = intlDragHandleIdle
34586
+ ? replacePlaceholders(intlDragHandleIdle, item.label, position, total)
34587
+ : `${item.label}, press space and use arrow keys to reorder content. Current position ${position} of ${total}.`;
34588
+ return idleText;
34589
+ }
34590
+ else if (status === "active") {
34591
+ const activeText = intlDragHandleActive
34592
+ ? replacePlaceholders(intlDragHandleActive, item.label, position, total)
34593
+ : `Reordering ${item.label}, current position ${position} of ${total}.`;
34594
+ return activeText;
34595
+ }
34596
+ else if (status === "change") {
34597
+ const changeText = intlDragHandleChange
34598
+ ? replacePlaceholders(intlDragHandleChange, item.label, position, total)
34599
+ : `${item.label}, new position ${position} of ${total}. Press space to confirm.`;
34600
+ return changeText;
34601
+ }
34602
+ else {
34603
+ const commitText = intlDragHandleCommit
34604
+ ? replacePlaceholders(intlDragHandleCommit, item.label, position, total)
34605
+ : `${item.label}, current position ${position} of ${total}.`;
34606
+ return commitText;
34607
+ }
34608
+ }
34609
+ function getHandleAndItemElement(event) {
34610
+ const handle = event
34611
+ .composedPath()
34612
+ .find((item) => { var _a; return ((_a = item.dataset) === null || _a === void 0 ? void 0 : _a.jsHandle) !== undefined; });
34613
+ const item = event
34614
+ .composedPath()
34615
+ .find((item) => { var _a; return ((_a = item.tagName) === null || _a === void 0 ? void 0 : _a.toLowerCase()) === "calcite-value-list-item"; });
34616
+ return { handle, item };
34617
+ }
34618
+ function replacePlaceholders(text, label, position, total) {
34619
+ const replacePosition = text.replace("${position}", position.toString());
34620
+ const replaceLabel = replacePosition.replace("${item.label}", label);
34621
+ return replaceLabel.replace("${total}", total.toString());
34622
+ }
34623
+
34125
34624
  const valueListCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-value-list:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-value-list{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-value-list{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-value-list{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-value-list{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-value-list{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-value-list:root{--calcite-popper-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-value-list-h{display:none}/*!@:host*/.sc-calcite-value-list-h{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0;-ms-flex-positive:0;flex-grow:0;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}/*!@:host **/.sc-calcite-value-list-h *.sc-calcite-value-list{-webkit-box-sizing:border-box;box-sizing:border-box}/*!@:host([disabled])*/[disabled].sc-calcite-value-list-h{pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-value-list-h[disabled] .sc-calcite-value-list-s>[calcite-hydrated][disabled],[disabled].sc-calcite-value-list-h [calcite-hydrated][disabled].sc-calcite-value-list{opacity:1}/*!@calcite-value-list-item:last-of-type*/calcite-value-list-item.sc-calcite-value-list:last-of-type{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}/*!@:host([filter-enabled]) header*/[filter-enabled].sc-calcite-value-list-h header.sc-calcite-value-list{margin-bottom:0.25rem;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end;background-color:var(--calcite-ui-foreground-1);--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}/*!@:host([filter-enabled]) header.sticky-pos*/[filter-enabled].sc-calcite-value-list-h header.sticky-pos.sc-calcite-value-list{position:-webkit-sticky;position:sticky;top:0px;z-index:10}/*!@calcite-filter*/calcite-filter.sc-calcite-value-list{margin-bottom:1px}";
34126
34625
 
34127
34626
  /**
@@ -34183,18 +34682,18 @@ class ValueList {
34183
34682
  this.handleFilter = handleFilter.bind(this);
34184
34683
  this.getItemData = getItemData.bind(this);
34185
34684
  this.keyDownHandler = (event) => {
34186
- const handleElement = event
34187
- .composedPath()
34188
- .find((item) => { var _a; return ((_a = item.dataset) === null || _a === void 0 ? void 0 : _a.jsHandle) !== undefined; });
34189
- const item = event
34190
- .composedPath()
34191
- .find((item) => { var _a; return ((_a = item.tagName) === null || _a === void 0 ? void 0 : _a.toLowerCase()) === "calcite-value-list-item"; });
34192
- // Only trigger keyboard sorting when the internal drag handle is focused and activated
34193
- if (!handleElement || !item.handleActivated) {
34685
+ const { handle, item } = getHandleAndItemElement(event);
34686
+ if (handle && !item.handleActivated && event.key === " ") {
34687
+ this.updateScreenReaderText(getScreenReaderText(item, "commit", this));
34688
+ }
34689
+ if (!handle || !item.handleActivated) {
34194
34690
  keyDownHandler.call(this, event);
34195
34691
  return;
34196
34692
  }
34197
34693
  const { items } = this;
34694
+ if (event.key === " ") {
34695
+ this.updateScreenReaderText(getScreenReaderText(item, "active", this));
34696
+ }
34198
34697
  if ((event.key !== "ArrowUp" && event.key !== "ArrowDown") || items.length <= 1) {
34199
34698
  return;
34200
34699
  }
@@ -34213,8 +34712,18 @@ class ValueList {
34213
34712
  }
34214
34713
  this.items = this.getItems();
34215
34714
  this.calciteListOrderChange.emit(this.items.map(({ value }) => value));
34216
- requestAnimationFrame(() => handleElement === null || handleElement === void 0 ? void 0 : handleElement.focus());
34715
+ requestAnimationFrame(() => handle === null || handle === void 0 ? void 0 : handle.focus());
34217
34716
  item.handleActivated = true;
34717
+ this.updateHandleAriaLabel(handle, getScreenReaderText(item, "change", this));
34718
+ };
34719
+ this.storeAssistiveEl = (el) => {
34720
+ this.assistiveTextEl = el;
34721
+ };
34722
+ this.handleFocusIn = (event) => {
34723
+ const { handle, item } = getHandleAndItemElement(event);
34724
+ if (!(item === null || item === void 0 ? void 0 : item.handleActivated) && item && handle) {
34725
+ this.updateHandleAriaLabel(handle, getScreenReaderText(item, "idle", this));
34726
+ }
34218
34727
  };
34219
34728
  }
34220
34729
  // --------------------------------------------------------------------------
@@ -34291,6 +34800,11 @@ class ValueList {
34291
34800
  (_a = this.sortable) === null || _a === void 0 ? void 0 : _a.destroy();
34292
34801
  this.sortable = null;
34293
34802
  }
34803
+ handleBlur() {
34804
+ if (this.dragEnabled) {
34805
+ this.updateScreenReaderText("");
34806
+ }
34807
+ }
34294
34808
  // --------------------------------------------------------------------------
34295
34809
  //
34296
34810
  // Public Methods
@@ -34320,8 +34834,14 @@ class ValueList {
34320
34834
  }
34321
34835
  return type;
34322
34836
  }
34837
+ updateScreenReaderText(text) {
34838
+ this.assistiveTextEl.textContent = text;
34839
+ }
34840
+ updateHandleAriaLabel(handleElement, text) {
34841
+ handleElement.ariaLabel = text;
34842
+ }
34323
34843
  render() {
34324
- return hAsync(List, { onKeyDown: this.keyDownHandler, props: this });
34844
+ return (hAsync(List, { onBlur: this.handleBlur, onFocusin: this.handleFocusIn, onKeyDown: this.keyDownHandler, props: this }));
34325
34845
  }
34326
34846
  get el() { return getElement(this); }
34327
34847
  static get style() { return valueListCss; }
@@ -34337,6 +34857,10 @@ class ValueList {
34337
34857
  "loading": [516],
34338
34858
  "multiple": [516],
34339
34859
  "selectionFollowsFocus": [4, "selection-follows-focus"],
34860
+ "intlDragHandleIdle": [1, "intl-drag-handle-idle"],
34861
+ "intlDragHandleActive": [1, "intl-drag-handle-active"],
34862
+ "intlDragHandleChange": [1, "intl-drag-handle-change"],
34863
+ "intlDragHandleCommit": [1, "intl-drag-handle-commit"],
34340
34864
  "selectedValues": [32],
34341
34865
  "dataForFilter": [32],
34342
34866
  "getSelectedItems": [64],
@@ -34471,7 +34995,7 @@ class ValueListItem {
34471
34995
  renderHandle() {
34472
34996
  const { icon } = this;
34473
34997
  if (icon === ICON_TYPES$1.grip) {
34474
- return (hAsync("span", { "aria-pressed": toAriaBoolean(this.handleActivated), class: {
34998
+ return (hAsync("span", { class: {
34475
34999
  [CSS$h.handle]: true,
34476
35000
  [CSS$h.handleActivated]: this.handleActivated
34477
35001
  }, "data-js-handle": true, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, role: "button", tabindex: "0" }, hAsync("calcite-icon", { icon: ICONS.drag, scale: "s" })));
@@ -34545,6 +35069,7 @@ registerComponents([
34545
35069
  Input,
34546
35070
  InputDatePicker,
34547
35071
  InputMessage,
35072
+ InputNumber,
34548
35073
  InputTimePicker,
34549
35074
  Label,
34550
35075
  Link,