@esri/calcite-components 1.4.3-next.1 → 1.4.3-next.2

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 (574) hide show
  1. package/dist/calcite/assets/icon/h3Hexagon16.json +1 -0
  2. package/dist/calcite/assets/icon/h3Hexagon24.json +1 -0
  3. package/dist/calcite/assets/icon/h3Hexagon32.json +1 -0
  4. package/dist/calcite/assets/icon/transverseHexagon16.json +1 -0
  5. package/dist/calcite/assets/icon/transverseHexagon24.json +1 -0
  6. package/dist/calcite/assets/icon/transverseHexagon32.json +1 -0
  7. package/dist/calcite/calcite.esm.js +1 -1
  8. package/dist/calcite/index.esm.js +1 -1
  9. package/dist/calcite/{p-7624aea4.entry.js → p-01d1580e.entry.js} +1 -1
  10. package/dist/calcite/{p-951d32d3.entry.js → p-08796f12.entry.js} +1 -1
  11. package/dist/calcite/{p-e434a860.js → p-0923162a.js} +1 -1
  12. package/dist/calcite/{p-5f7b8217.js → p-0caf3425.js} +1 -1
  13. package/dist/calcite/{p-39e770f8.entry.js → p-0ebdc4f4.entry.js} +1 -1
  14. package/dist/calcite/{p-72d2fc8b.entry.js → p-1105fdc5.entry.js} +1 -1
  15. package/dist/calcite/{p-5655c8a8.js → p-1186cf8c.js} +1 -1
  16. package/dist/calcite/{p-b1d3e1a8.entry.js → p-11c44a33.entry.js} +1 -1
  17. package/dist/calcite/{p-0d67c637.entry.js → p-145707bf.entry.js} +1 -1
  18. package/dist/calcite/{p-5342fb90.js → p-17209b01.js} +1 -1
  19. package/dist/calcite/{p-54496124.entry.js → p-1751864a.entry.js} +1 -1
  20. package/dist/calcite/p-178f66d7.entry.js +6 -0
  21. package/dist/calcite/{p-180ecdc8.js → p-19456218.js} +1 -1
  22. package/dist/calcite/{p-110c81bf.entry.js → p-19a433c1.entry.js} +1 -1
  23. package/dist/calcite/{p-2e1aa97c.js → p-1c8b57d1.js} +1 -1
  24. package/dist/calcite/{p-6cce8772.entry.js → p-1e331e84.entry.js} +1 -1
  25. package/dist/calcite/{p-2940b214.js → p-1e3daefc.js} +1 -1
  26. package/dist/calcite/p-1fd07124.js +10 -0
  27. package/dist/calcite/{p-9b21dd42.js → p-21118a72.js} +1 -1
  28. package/dist/calcite/{p-afd5675a.entry.js → p-218a3b0c.entry.js} +1 -1
  29. package/dist/calcite/{p-91b74dc9.entry.js → p-21efb03f.entry.js} +1 -1
  30. package/dist/calcite/{p-ea02d8f4.entry.js → p-252b23d5.entry.js} +1 -1
  31. package/dist/calcite/{p-ce0c8941.js → p-281ca401.js} +1 -1
  32. package/dist/calcite/{p-10791ad1.js → p-2b241ca8.js} +1 -1
  33. package/dist/calcite/{p-357524f4.js → p-2bfb0aa9.js} +1 -1
  34. package/dist/calcite/{p-0eb3ab01.entry.js → p-2d32bb33.entry.js} +1 -1
  35. package/dist/calcite/{p-a07a770c.js → p-31d6bb79.js} +1 -1
  36. package/dist/calcite/{p-dab50cac.entry.js → p-3425cbf6.entry.js} +1 -1
  37. package/dist/calcite/{p-a882738b.entry.js → p-3695c107.entry.js} +1 -1
  38. package/dist/calcite/{p-8452cf8f.js → p-36fb59b2.js} +1 -1
  39. package/dist/calcite/{p-33f36a77.js → p-3767c4bc.js} +1 -1
  40. package/dist/calcite/{p-2d9b1acf.entry.js → p-37f0d251.entry.js} +1 -1
  41. package/dist/calcite/{p-a11252fb.entry.js → p-38c61f8c.entry.js} +1 -1
  42. package/dist/calcite/{p-08e5fc7d.entry.js → p-3fd1ade0.entry.js} +1 -1
  43. package/dist/calcite/{p-e60eb031.entry.js → p-40069c47.entry.js} +1 -1
  44. package/dist/calcite/{p-1848c097.js → p-40dd646f.js} +1 -1
  45. package/dist/calcite/{p-c9aab983.entry.js → p-41825fa9.entry.js} +1 -1
  46. package/dist/calcite/p-42f253f4.js +6 -0
  47. package/dist/calcite/{p-dd121660.js → p-4447e586.js} +1 -1
  48. package/dist/calcite/{p-a32b0605.js → p-45407c68.js} +1 -1
  49. package/dist/calcite/{p-ccdff36a.entry.js → p-468e06c5.entry.js} +1 -1
  50. package/dist/calcite/{p-8652d442.js → p-473f6435.js} +1 -1
  51. package/dist/calcite/{p-2179eae8.entry.js → p-4c60ce3c.entry.js} +1 -1
  52. package/dist/calcite/p-4e0f68ca.entry.js +6 -0
  53. package/dist/calcite/{p-302bdf03.entry.js → p-4f1cbf72.entry.js} +1 -1
  54. package/dist/calcite/{p-68d9c2a8.js → p-4fb446d8.js} +1 -1
  55. package/dist/calcite/{p-3336d880.js → p-533dc90a.js} +1 -1
  56. package/dist/calcite/{p-b990c54a.entry.js → p-56ad1489.entry.js} +1 -1
  57. package/dist/calcite/{p-c7218641.entry.js → p-598b818e.entry.js} +1 -1
  58. package/dist/calcite/{p-52379ec8.entry.js → p-59a49203.entry.js} +1 -1
  59. package/dist/calcite/{p-8d9ac5ea.entry.js → p-59c0c270.entry.js} +1 -1
  60. package/dist/calcite/{p-fa48162e.js → p-5bdd48a8.js} +1 -1
  61. package/dist/calcite/{p-f1200185.js → p-5d67ffee.js} +1 -1
  62. package/dist/calcite/{p-d3c3741f.entry.js → p-5f6e0e17.entry.js} +1 -1
  63. package/dist/calcite/{p-8d1a4202.js → p-60f647db.js} +1 -1
  64. package/dist/calcite/{p-e62895e4.js → p-6126de39.js} +1 -1
  65. package/dist/calcite/{p-bc3e97d6.js → p-6510a0c3.js} +1 -1
  66. package/dist/calcite/{p-b6359fa5.js → p-688b6d3f.js} +1 -1
  67. package/dist/calcite/{p-5dccab11.js → p-6c8f19bd.js} +1 -1
  68. package/dist/calcite/{p-39b359aa.entry.js → p-6dc42b67.entry.js} +1 -1
  69. package/dist/calcite/{p-2c036341.js → p-6e0a1df6.js} +1 -1
  70. package/dist/calcite/{p-a5d31a6a.entry.js → p-6f84438c.entry.js} +1 -1
  71. package/dist/calcite/{p-3bbb16e7.entry.js → p-714db0d0.entry.js} +1 -1
  72. package/dist/calcite/p-726bc4e4.js +6 -0
  73. package/dist/calcite/{p-b9b9be8e.entry.js → p-7447a34b.entry.js} +1 -1
  74. package/dist/calcite/{p-aafffa42.entry.js → p-7a5d297b.entry.js} +1 -1
  75. package/dist/calcite/{p-a348c287.js → p-7cdd2814.js} +1 -1
  76. package/dist/calcite/{p-b00da761.entry.js → p-7e36ecfa.entry.js} +1 -1
  77. package/dist/calcite/{p-bc5caa8b.js → p-7e7960da.js} +1 -1
  78. package/dist/calcite/{p-c6b62dc9.entry.js → p-7f122d28.entry.js} +1 -1
  79. package/dist/calcite/{p-05806d56.js → p-7f14faaf.js} +1 -1
  80. package/dist/calcite/{p-93944ebf.entry.js → p-7f3c26ac.entry.js} +1 -1
  81. package/dist/calcite/{p-f5590383.js → p-822d4c9d.js} +1 -1
  82. package/dist/calcite/{p-9860b3a2.entry.js → p-826e12cb.entry.js} +1 -1
  83. package/dist/calcite/{p-681201c8.js → p-8697ab37.js} +1 -1
  84. package/dist/calcite/p-88de7a79.js +6 -0
  85. package/dist/calcite/{p-6095084c.js → p-91a828ab.js} +1 -1
  86. package/dist/calcite/{p-6934f910.js → p-9262df4c.js} +1 -1
  87. package/dist/calcite/{p-64625835.js → p-957b56ae.js} +1 -1
  88. package/dist/calcite/{p-8c1b25ee.js → p-9580229e.js} +1 -1
  89. package/dist/calcite/{p-31052ad8.js → p-960d8355.js} +1 -1
  90. package/dist/calcite/{p-863f3776.entry.js → p-9626f9e4.entry.js} +1 -1
  91. package/dist/calcite/{p-abfa0104.js → p-988d5d9a.js} +1 -1
  92. package/dist/calcite/{p-4e8b60e4.js → p-99719822.js} +1 -1
  93. package/dist/calcite/{p-140d56bc.entry.js → p-99de3de6.entry.js} +1 -1
  94. package/dist/calcite/{p-3de1a801.entry.js → p-9c77b96c.entry.js} +1 -1
  95. package/dist/calcite/{p-71d4f1ed.entry.js → p-9da49c04.entry.js} +1 -1
  96. package/dist/calcite/{p-d700bd77.entry.js → p-9dd7dd5f.entry.js} +1 -1
  97. package/dist/calcite/{p-a0c718a7.js → p-a1592db4.js} +1 -1
  98. package/dist/calcite/{p-02d9b4c2.js → p-a1faa72b.js} +1 -1
  99. package/dist/calcite/{p-a49f2470.entry.js → p-a3eede0f.entry.js} +1 -1
  100. package/dist/calcite/{p-c12cd09f.js → p-a420161a.js} +1 -1
  101. package/dist/calcite/{p-2b11b501.js → p-a4b81aae.js} +1 -1
  102. package/dist/calcite/{p-f4b33aa8.js → p-acc35c35.js} +1 -1
  103. package/dist/calcite/{p-31673434.entry.js → p-ae27188d.entry.js} +1 -1
  104. package/dist/calcite/{p-535091d3.js → p-b202034d.js} +1 -1
  105. package/dist/calcite/{p-67509e74.js → p-b22bffe8.js} +1 -1
  106. package/dist/calcite/{p-82f7741a.entry.js → p-b40eb254.entry.js} +1 -1
  107. package/dist/calcite/{p-fb22db00.entry.js → p-b4cbac8b.entry.js} +1 -1
  108. package/dist/calcite/{p-179e1833.js → p-b557a510.js} +1 -1
  109. package/dist/calcite/{p-35a71802.entry.js → p-b900fe8c.entry.js} +1 -1
  110. package/dist/calcite/{p-e2863f11.entry.js → p-bde2ef79.entry.js} +1 -1
  111. package/dist/calcite/p-c2b06f56.entry.js +6 -0
  112. package/dist/calcite/p-c2b17583.entry.js +6 -0
  113. package/dist/calcite/{p-6b227d67.js → p-c4638f2b.js} +1 -1
  114. package/dist/calcite/{p-8a8e6bac.js → p-c4e90259.js} +1 -1
  115. package/dist/calcite/{p-268f320a.entry.js → p-c89b3800.entry.js} +1 -1
  116. package/dist/calcite/{p-104033e2.entry.js → p-cdb6d158.entry.js} +1 -1
  117. package/dist/calcite/{p-87fb09ef.js → p-cf6da62a.js} +1 -1
  118. package/dist/calcite/{p-a542a943.js → p-d60b93a9.js} +1 -1
  119. package/dist/calcite/{p-fe4c5fed.js → p-d89d9ac9.js} +1 -1
  120. package/dist/calcite/{p-d42e7d43.entry.js → p-d9663c76.entry.js} +1 -1
  121. package/dist/calcite/{p-c279e15b.entry.js → p-d9b1ca8d.entry.js} +1 -1
  122. package/dist/calcite/{p-655214cb.entry.js → p-dbfe3c90.entry.js} +1 -1
  123. package/dist/calcite/{p-02b76e79.js → p-dd3b2c8e.js} +1 -1
  124. package/dist/calcite/{p-9e90fb6d.js → p-e0609cf6.js} +1 -1
  125. package/dist/calcite/p-e1f4f8b6.js +6 -0
  126. package/dist/calcite/{p-93b2e2c8.js → p-e4acb6a6.js} +1 -1
  127. package/dist/calcite/{p-b176930d.entry.js → p-e5e43f74.entry.js} +1 -1
  128. package/dist/calcite/{p-a731b96b.entry.js → p-e8881bf8.entry.js} +1 -1
  129. package/dist/calcite/{p-93e93072.js → p-eb04265d.js} +1 -1
  130. package/dist/calcite/{p-711fde32.entry.js → p-ec367469.entry.js} +1 -1
  131. package/dist/calcite/p-ec4aa875.entry.js +6 -0
  132. package/dist/calcite/{p-167bd692.js → p-edf9818d.js} +1 -1
  133. package/dist/calcite/{p-842348f6.entry.js → p-f07e823f.entry.js} +1 -1
  134. package/dist/calcite/{p-9fc1f591.entry.js → p-f32efce4.entry.js} +1 -1
  135. package/dist/calcite/{p-458afd1b.entry.js → p-f4c820bb.entry.js} +1 -1
  136. package/dist/calcite/{p-5522d85e.js → p-f4cfc653.js} +1 -1
  137. package/dist/calcite/{p-fd60afe7.entry.js → p-f648a2d8.entry.js} +1 -1
  138. package/dist/calcite/{p-35e45e03.js → p-fc0b9f8d.js} +1 -1
  139. package/dist/calcite/{p-82fb88d8.js → p-fec14534.js} +1 -1
  140. package/dist/cjs/{ExpandToggle-1338028d.js → ExpandToggle-86cebbf7.js} +5 -7
  141. package/dist/cjs/{FloatingArrow-6cdc03bd.js → FloatingArrow-a4e0634c.js} +1 -1
  142. package/dist/cjs/{Heading-5653604b.js → Heading-7c74b20a.js} +1 -1
  143. package/dist/cjs/{ar-02792ff2.js → ar-1788f0fa.js} +8 -8
  144. package/dist/cjs/{bg-f99112d8.js → bg-ebb01576.js} +8 -8
  145. package/dist/cjs/{bs-7cfe8aa7.js → bs-a87ff6a3.js} +8 -8
  146. package/dist/cjs/{ca-696142cd.js → ca-41bdeeb3.js} +8 -8
  147. package/dist/cjs/calcite-accordion_2.cjs.entry.js +3 -3
  148. package/dist/cjs/calcite-action-bar.cjs.entry.js +23 -23
  149. package/dist/cjs/calcite-action-group.cjs.entry.js +5 -5
  150. package/dist/cjs/calcite-action-menu.cjs.entry.js +2 -2
  151. package/dist/cjs/calcite-action-pad.cjs.entry.js +8 -8
  152. package/dist/cjs/calcite-action.cjs.entry.js +4 -4
  153. package/dist/cjs/calcite-alert.cjs.entry.js +5 -5
  154. package/dist/cjs/calcite-avatar.cjs.entry.js +2 -2
  155. package/dist/cjs/calcite-block_2.cjs.entry.js +6 -6
  156. package/dist/cjs/calcite-button.cjs.entry.js +6 -6
  157. package/dist/cjs/calcite-card.cjs.entry.js +5 -5
  158. package/dist/cjs/calcite-checkbox.cjs.entry.js +4 -4
  159. package/dist/cjs/calcite-chip-group.cjs.entry.js +2 -2
  160. package/dist/cjs/calcite-chip.cjs.entry.js +5 -5
  161. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +7 -7
  162. package/dist/cjs/calcite-combobox_3.cjs.entry.js +11 -11
  163. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +6 -6
  164. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +5 -5
  165. package/dist/cjs/calcite-fab.cjs.entry.js +2 -2
  166. package/dist/cjs/calcite-filter.cjs.entry.js +6 -6
  167. package/dist/cjs/calcite-flow-item.cjs.entry.js +4 -4
  168. package/dist/cjs/calcite-flow.cjs.entry.js +1 -1
  169. package/dist/cjs/calcite-graph_2.cjs.entry.js +5 -5
  170. package/dist/cjs/calcite-handle.cjs.entry.js +4 -4
  171. package/dist/cjs/calcite-icon.cjs.entry.js +2 -2
  172. package/dist/cjs/calcite-inline-editable.cjs.entry.js +5 -5
  173. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +11 -11
  174. package/dist/cjs/calcite-input-message.cjs.entry.js +2 -2
  175. package/dist/cjs/calcite-input-number.cjs.entry.js +6 -6
  176. package/dist/cjs/calcite-input-text.cjs.entry.js +6 -6
  177. package/dist/cjs/{calcite-input-time-picker.calcite-time-picker-b9b67c0e.js → calcite-input-time-picker.calcite-time-picker-bf377002.js} +56 -56
  178. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +8 -8
  179. package/dist/cjs/calcite-input.cjs.entry.js +6 -6
  180. package/dist/cjs/calcite-label.cjs.entry.js +3 -3
  181. package/dist/cjs/calcite-link.cjs.entry.js +2 -2
  182. package/dist/cjs/calcite-list_3.cjs.entry.js +5 -5
  183. package/dist/cjs/calcite-loader.cjs.entry.js +1 -1
  184. package/dist/cjs/calcite-menu_2.cjs.entry.js +4 -4
  185. package/dist/cjs/calcite-modal.cjs.entry.js +9 -9
  186. package/dist/cjs/calcite-navigation_3.cjs.entry.js +2 -2
  187. package/dist/cjs/calcite-notice.cjs.entry.js +5 -5
  188. package/dist/cjs/calcite-option_3.cjs.entry.js +4 -4
  189. package/dist/cjs/calcite-pagination.cjs.entry.js +4 -4
  190. package/dist/cjs/calcite-panel.cjs.entry.js +5 -5
  191. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +8 -8
  192. package/dist/cjs/calcite-popover.cjs.entry.js +10 -10
  193. package/dist/cjs/calcite-progress.cjs.entry.js +1 -1
  194. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +1 -1
  195. package/dist/cjs/calcite-radio-button.cjs.entry.js +4 -4
  196. package/dist/cjs/calcite-rating.cjs.entry.js +6 -6
  197. package/dist/cjs/calcite-scrim.cjs.entry.js +4 -4
  198. package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +4 -4
  199. package/dist/cjs/calcite-shell_3.cjs.entry.js +5 -5
  200. package/dist/cjs/calcite-sortable-list.cjs.entry.js +3 -3
  201. package/dist/cjs/calcite-split-button.cjs.entry.js +1 -1
  202. package/dist/cjs/calcite-stack.cjs.entry.js +2 -2
  203. package/dist/cjs/calcite-stepper_2.cjs.entry.js +3 -3
  204. package/dist/cjs/calcite-switch.cjs.entry.js +4 -4
  205. package/dist/cjs/calcite-tab_4.cjs.entry.js +4 -4
  206. package/dist/cjs/calcite-text-area.cjs.entry.js +8 -8
  207. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +1 -1
  208. package/dist/cjs/calcite-tile.cjs.entry.js +3 -3
  209. package/dist/cjs/calcite-tip_3.cjs.entry.js +6 -6
  210. package/dist/cjs/calcite-tooltip.cjs.entry.js +6 -6
  211. package/dist/cjs/calcite-tree_2.cjs.entry.js +4 -4
  212. package/dist/cjs/calcite-value-list_2.cjs.entry.js +8 -8
  213. package/dist/cjs/calcite.cjs.js +1 -1
  214. package/dist/cjs/{conditionalSlot-95c29520.js → conditionalSlot-a54ba4ac.js} +1 -1
  215. package/dist/cjs/{cs-811766c9.js → cs-2837cb21.js} +8 -8
  216. package/dist/cjs/{da-4dbc2932.js → da-c8f77ac6.js} +8 -8
  217. package/dist/cjs/{de-0208989d.js → de-4c73492e.js} +8 -8
  218. package/dist/cjs/{de-at-ebc03490.js → de-at-d86c02f5.js} +8 -8
  219. package/dist/cjs/{de-ch-5626cf00.js → de-ch-1a281fc2.js} +8 -8
  220. package/dist/cjs/{el-006b3fad.js → el-555f770c.js} +8 -8
  221. package/dist/cjs/{en-au-aa7429c5.js → en-au-77999e98.js} +8 -8
  222. package/dist/cjs/{en-ca-7dc193e3.js → en-ca-905bc061.js} +8 -8
  223. package/dist/cjs/{en-gb-e942a6b6.js → en-gb-f99fc35f.js} +8 -8
  224. package/dist/cjs/{es-3bafe4ec.js → es-539f0000.js} +8 -8
  225. package/dist/cjs/{es-mx-7e50fa37.js → es-mx-b11a821a.js} +8 -8
  226. package/dist/cjs/{et-42ea0260.js → et-f2043471.js} +8 -8
  227. package/dist/cjs/{fi-4688f387.js → fi-00c2fd62.js} +8 -8
  228. package/dist/cjs/{filter-d7f78e55.js → filter-86493631.js} +1 -1
  229. package/dist/cjs/{floating-ui-58512f7d.js → floating-ui-79262691.js} +3 -3
  230. package/dist/cjs/{focusTrapComponent-225790ff.js → focusTrapComponent-7e0132b7.js} +46 -4
  231. package/dist/cjs/{form-2eaadd73.js → form-c7c4c9d9.js} +2 -2
  232. package/dist/cjs/{fr-27d195a8.js → fr-2e6b3c5d.js} +8 -8
  233. package/dist/cjs/{fr-ch-add2d69d.js → fr-ch-6116450c.js} +8 -8
  234. package/dist/cjs/{he-5f52d85d.js → he-296ae005.js} +8 -8
  235. package/dist/cjs/{hi-2391a8f9.js → hi-a6f6f118.js} +8 -8
  236. package/dist/cjs/{hr-d6287146.js → hr-59521751.js} +8 -8
  237. package/dist/cjs/{hu-cf38e29a.js → hu-4b87b3c6.js} +8 -8
  238. package/dist/cjs/{id-3453e168.js → id-7d6c3cb5.js} +8 -8
  239. package/dist/cjs/index.cjs.js +1 -1
  240. package/dist/cjs/{it-6693a68d.js → it-566bd71c.js} +8 -8
  241. package/dist/cjs/{it-ch-a1cfc3b1.js → it-ch-b053381b.js} +8 -8
  242. package/dist/cjs/{ja-ec746729.js → ja-bb9e6bbf.js} +8 -8
  243. package/dist/cjs/{ko-03ceb076.js → ko-99020572.js} +8 -8
  244. package/dist/cjs/{label-58c806e0.js → label-05a5dfa8.js} +1 -1
  245. package/dist/cjs/loader.cjs.js +1 -1
  246. package/dist/cjs/{locale-187fa808.js → locale-23cbd75c.js} +1 -1
  247. package/dist/cjs/{lt-41c7fb24.js → lt-54e11876.js} +8 -8
  248. package/dist/cjs/{lv-995ddfa3.js → lv-93ccaf38.js} +8 -8
  249. package/dist/cjs/{mk-cdb8c1c8.js → mk-261b5aa5.js} +8 -8
  250. package/dist/cjs/{nb-7697afa9.js → nb-a1c81cfa.js} +8 -8
  251. package/dist/cjs/{nl-c229f020.js → nl-c214ffee.js} +8 -8
  252. package/dist/cjs/{openCloseComponent-e08b8240.js → openCloseComponent-e7cca85e.js} +1 -1
  253. package/dist/cjs/{pl-40c1c41c.js → pl-3156edde.js} +8 -8
  254. package/dist/cjs/{pt-f11feeda.js → pt-37fd6dc2.js} +8 -8
  255. package/dist/cjs/{pt-br-c254777a.js → pt-br-96a58e21.js} +8 -8
  256. package/dist/cjs/{resources-00d3c245.js → resources-6a83658c.js} +3 -3
  257. package/dist/cjs/{ro-abff63ca.js → ro-f217ed84.js} +8 -8
  258. package/dist/cjs/{ru-e7083ba8.js → ru-199f1b01.js} +8 -8
  259. package/dist/cjs/{sk-923b9466.js → sk-646abfe6.js} +8 -8
  260. package/dist/cjs/{sl-e4bda2e3.js → sl-bec25ba3.js} +8 -8
  261. package/dist/cjs/{sortableComponent-e8e1dd15.js → sortableComponent-ffc76eeb.js} +1 -1
  262. package/dist/cjs/{sr-a6bd77ab.js → sr-6cea49cf.js} +8 -8
  263. package/dist/cjs/{sv-e8d01c74.js → sv-ead8ac6f.js} +8 -8
  264. package/dist/cjs/{t9n-8cb0fdfa.js → t9n-c87cc258.js} +2 -2
  265. package/dist/cjs/{th-daabe57b.js → th-bebac623.js} +8 -8
  266. package/dist/cjs/{throttle-94a77e4d.js → throttle-78b45a76.js} +1 -1
  267. package/dist/cjs/{tr-ded59051.js → tr-025892d4.js} +8 -8
  268. package/dist/cjs/{uk-4b5a1291.js → uk-207a95d9.js} +8 -8
  269. package/dist/cjs/{utils-dfd59c78.js → utils-fd488493.js} +2 -2
  270. package/dist/cjs/{vi-92ff031f.js → vi-ae2fe53f.js} +8 -8
  271. package/dist/cjs/{zh-cn-e0cc1431.js → zh-cn-8bb1296b.js} +8 -8
  272. package/dist/cjs/{zh-hk-f3b2c7aa.js → zh-hk-1d656d27.js} +8 -8
  273. package/dist/cjs/{zh-tw-f0891b3a.js → zh-tw-e86e5b38.js} +8 -8
  274. package/dist/collection/components/action-bar/action-bar.js +16 -16
  275. package/dist/collection/components/action-pad/action-pad.js +2 -2
  276. package/dist/collection/components/flow-item/flow-item.js +1 -1
  277. package/dist/collection/components/functional/ExpandToggle.js +3 -5
  278. package/dist/collection/components/icon/assets/icon/h3Hexagon16.json +1 -0
  279. package/dist/collection/components/icon/assets/icon/h3Hexagon24.json +1 -0
  280. package/dist/collection/components/icon/assets/icon/h3Hexagon32.json +1 -0
  281. package/dist/collection/components/icon/assets/icon/transverseHexagon16.json +1 -0
  282. package/dist/collection/components/icon/assets/icon/transverseHexagon24.json +1 -0
  283. package/dist/collection/components/icon/assets/icon/transverseHexagon32.json +1 -0
  284. package/dist/collection/components/modal/modal.js +2 -2
  285. package/dist/collection/components/navigation/navigation.js +1 -1
  286. package/dist/collection/components/panel/panel.js +1 -1
  287. package/dist/collection/components/shell/shell.js +1 -1
  288. package/dist/collection/components/shell-panel/shell-panel.css +1 -1
  289. package/dist/components/ExpandToggle.js +4 -6
  290. package/dist/components/FloatingArrow.js +1 -1
  291. package/dist/components/Heading.js +1 -1
  292. package/dist/components/action-group.js +1 -1
  293. package/dist/components/action-menu.js +1 -1
  294. package/dist/components/action.js +1 -1
  295. package/dist/components/avatar.js +1 -1
  296. package/dist/components/button.js +1 -1
  297. package/dist/components/calcite-accordion-item.js +1 -1
  298. package/dist/components/calcite-accordion.js +1 -1
  299. package/dist/components/calcite-action-bar.js +17 -17
  300. package/dist/components/calcite-action-pad.js +3 -3
  301. package/dist/components/calcite-alert.js +1 -1
  302. package/dist/components/calcite-block-section.js +1 -1
  303. package/dist/components/calcite-block.js +1 -1
  304. package/dist/components/calcite-card.js +1 -1
  305. package/dist/components/calcite-chip-group.js +1 -1
  306. package/dist/components/calcite-color-picker.js +1 -1
  307. package/dist/components/calcite-combobox-item-group.js +1 -1
  308. package/dist/components/calcite-combobox-item.js +1 -1
  309. package/dist/components/calcite-combobox.js +1 -1
  310. package/dist/components/calcite-dropdown-group.js +1 -1
  311. package/dist/components/calcite-dropdown-item.js +1 -1
  312. package/dist/components/calcite-fab.js +1 -1
  313. package/dist/components/calcite-flow-item.js +1 -1
  314. package/dist/components/calcite-flow.js +1 -1
  315. package/dist/components/calcite-inline-editable.js +1 -1
  316. package/dist/components/calcite-input-date-picker.js +1 -1
  317. package/dist/components/calcite-input-message.js +1 -1
  318. package/dist/components/calcite-input-text.js +1 -1
  319. package/dist/components/calcite-input-time-picker.js +2 -2
  320. package/dist/components/calcite-list-item-group.js +1 -1
  321. package/dist/components/calcite-list-item.js +1 -1
  322. package/dist/components/calcite-list.js +1 -1
  323. package/dist/components/calcite-menu-item.js +1 -1
  324. package/dist/components/calcite-modal.js +3 -3
  325. package/dist/components/calcite-navigation-logo.js +1 -1
  326. package/dist/components/calcite-navigation-user.js +1 -1
  327. package/dist/components/calcite-navigation.js +1 -1
  328. package/dist/components/calcite-notice.js +1 -1
  329. package/dist/components/calcite-option-group.js +1 -1
  330. package/dist/components/calcite-option.js +1 -1
  331. package/dist/components/calcite-pagination.js +1 -1
  332. package/dist/components/calcite-pick-list-group.js +1 -1
  333. package/dist/components/calcite-pick-list.js +1 -1
  334. package/dist/components/calcite-radio-button-group.js +1 -1
  335. package/dist/components/calcite-radio-button.js +1 -1
  336. package/dist/components/calcite-rating.js +1 -1
  337. package/dist/components/calcite-segmented-control-item.js +1 -1
  338. package/dist/components/calcite-segmented-control.js +1 -1
  339. package/dist/components/calcite-select.js +1 -1
  340. package/dist/components/calcite-shell-center-row.js +1 -1
  341. package/dist/components/calcite-shell-panel.js +1 -1
  342. package/dist/components/calcite-shell.js +1 -1
  343. package/dist/components/calcite-slider.js +1 -1
  344. package/dist/components/calcite-sortable-list.js +1 -1
  345. package/dist/components/calcite-split-button.js +1 -1
  346. package/dist/components/calcite-stack.js +1 -1
  347. package/dist/components/calcite-stepper-item.js +1 -1
  348. package/dist/components/calcite-stepper.js +1 -1
  349. package/dist/components/calcite-text-area.js +1 -1
  350. package/dist/components/calcite-tile-select-group.js +1 -1
  351. package/dist/components/calcite-tile-select.js +1 -1
  352. package/dist/components/calcite-tip-group.js +1 -1
  353. package/dist/components/calcite-tip-manager.js +1 -1
  354. package/dist/components/calcite-tip.js +1 -1
  355. package/dist/components/calcite-tree-item.js +1 -1
  356. package/dist/components/calcite-tree.js +1 -1
  357. package/dist/components/calcite-value-list-item.js +1 -1
  358. package/dist/components/calcite-value-list.js +1 -1
  359. package/dist/components/checkbox.js +1 -1
  360. package/dist/components/chip.js +1 -1
  361. package/dist/components/color-picker-hex-input.js +1 -1
  362. package/dist/components/color-picker-swatch.js +1 -1
  363. package/dist/components/conditionalSlot.js +1 -1
  364. package/dist/components/date-picker-day.js +1 -1
  365. package/dist/components/date-picker-month-header.js +1 -1
  366. package/dist/components/date-picker-month.js +1 -1
  367. package/dist/components/date-picker.js +1 -1
  368. package/dist/components/dropdown.js +1 -1
  369. package/dist/components/filter.js +1 -1
  370. package/dist/components/floating-ui.js +1 -1
  371. package/dist/components/focusTrapComponent.js +45 -3
  372. package/dist/components/form.js +1 -1
  373. package/dist/components/graph.js +1 -1
  374. package/dist/components/handle.js +1 -1
  375. package/dist/components/icon.js +1 -1
  376. package/dist/components/index.js +100 -1
  377. package/dist/components/index2.js +1 -1
  378. package/dist/components/input-number.js +1 -1
  379. package/dist/components/input.js +1 -1
  380. package/dist/components/label.js +1 -1
  381. package/dist/components/link.js +1 -1
  382. package/dist/components/loader.js +1 -1
  383. package/dist/components/menu.js +1 -1
  384. package/dist/components/observers.js +1 -1
  385. package/dist/components/openCloseComponent.js +1 -1
  386. package/dist/components/panel.js +1 -1
  387. package/dist/components/pick-list-item.js +1 -1
  388. package/dist/components/popover.js +1 -1
  389. package/dist/components/progress.js +1 -1
  390. package/dist/components/scrim.js +1 -1
  391. package/dist/components/shared-list-render.js +1 -1
  392. package/dist/components/switch.js +1 -1
  393. package/dist/components/t9n.js +1 -1
  394. package/dist/components/tab-nav.js +1 -1
  395. package/dist/components/tab-title.js +1 -1
  396. package/dist/components/tab.js +1 -1
  397. package/dist/components/tabs.js +1 -1
  398. package/dist/components/tile.js +1 -1
  399. package/dist/components/time-picker.js +1 -1
  400. package/dist/components/tooltip.js +1 -1
  401. package/dist/components/utils2.js +1 -1
  402. package/dist/components/utils3.js +1 -1
  403. package/dist/esm/{ExpandToggle-995066b8.js → ExpandToggle-94bcfa8f.js} +5 -7
  404. package/dist/esm/{FloatingArrow-994e97d9.js → FloatingArrow-af6891c9.js} +1 -1
  405. package/dist/esm/{Heading-2bc1b94a.js → Heading-049b1e77.js} +1 -1
  406. package/dist/esm/{ar-9f1dc15d.js → ar-dd11f4d8.js} +8 -8
  407. package/dist/esm/{bg-dc66e4f8.js → bg-bb4a7eb5.js} +8 -8
  408. package/dist/esm/{bs-cbab9995.js → bs-b88c1ecb.js} +8 -8
  409. package/dist/esm/{ca-76b1bb0a.js → ca-fea7c8bf.js} +8 -8
  410. package/dist/esm/calcite-accordion_2.entry.js +3 -3
  411. package/dist/esm/calcite-action-bar.entry.js +23 -23
  412. package/dist/esm/calcite-action-group.entry.js +5 -5
  413. package/dist/esm/calcite-action-menu.entry.js +2 -2
  414. package/dist/esm/calcite-action-pad.entry.js +8 -8
  415. package/dist/esm/calcite-action.entry.js +4 -4
  416. package/dist/esm/calcite-alert.entry.js +5 -5
  417. package/dist/esm/calcite-avatar.entry.js +2 -2
  418. package/dist/esm/calcite-block_2.entry.js +6 -6
  419. package/dist/esm/calcite-button.entry.js +6 -6
  420. package/dist/esm/calcite-card.entry.js +5 -5
  421. package/dist/esm/calcite-checkbox.entry.js +4 -4
  422. package/dist/esm/calcite-chip-group.entry.js +2 -2
  423. package/dist/esm/calcite-chip.entry.js +5 -5
  424. package/dist/esm/calcite-color-picker_3.entry.js +7 -7
  425. package/dist/esm/calcite-combobox_3.entry.js +11 -11
  426. package/dist/esm/calcite-date-picker_4.entry.js +6 -6
  427. package/dist/esm/calcite-dropdown_3.entry.js +5 -5
  428. package/dist/esm/calcite-fab.entry.js +2 -2
  429. package/dist/esm/calcite-filter.entry.js +6 -6
  430. package/dist/esm/calcite-flow-item.entry.js +4 -4
  431. package/dist/esm/calcite-flow.entry.js +1 -1
  432. package/dist/esm/calcite-graph_2.entry.js +5 -5
  433. package/dist/esm/calcite-handle.entry.js +4 -4
  434. package/dist/esm/calcite-icon.entry.js +2 -2
  435. package/dist/esm/calcite-inline-editable.entry.js +5 -5
  436. package/dist/esm/calcite-input-date-picker.entry.js +11 -11
  437. package/dist/esm/calcite-input-message.entry.js +2 -2
  438. package/dist/esm/calcite-input-number.entry.js +6 -6
  439. package/dist/esm/calcite-input-text.entry.js +6 -6
  440. package/dist/esm/{calcite-input-time-picker.calcite-time-picker-a0b66258.js → calcite-input-time-picker.calcite-time-picker-7bc4c563.js} +56 -56
  441. package/dist/esm/calcite-input-time-picker_2.entry.js +8 -8
  442. package/dist/esm/calcite-input.entry.js +6 -6
  443. package/dist/esm/calcite-label.entry.js +3 -3
  444. package/dist/esm/calcite-link.entry.js +2 -2
  445. package/dist/esm/calcite-list_3.entry.js +5 -5
  446. package/dist/esm/calcite-loader.entry.js +1 -1
  447. package/dist/esm/calcite-menu_2.entry.js +4 -4
  448. package/dist/esm/calcite-modal.entry.js +9 -9
  449. package/dist/esm/calcite-navigation_3.entry.js +2 -2
  450. package/dist/esm/calcite-notice.entry.js +5 -5
  451. package/dist/esm/calcite-option_3.entry.js +4 -4
  452. package/dist/esm/calcite-pagination.entry.js +4 -4
  453. package/dist/esm/calcite-panel.entry.js +5 -5
  454. package/dist/esm/calcite-pick-list_3.entry.js +8 -8
  455. package/dist/esm/calcite-popover.entry.js +10 -10
  456. package/dist/esm/calcite-progress.entry.js +1 -1
  457. package/dist/esm/calcite-radio-button-group.entry.js +1 -1
  458. package/dist/esm/calcite-radio-button.entry.js +4 -4
  459. package/dist/esm/calcite-rating.entry.js +6 -6
  460. package/dist/esm/calcite-scrim.entry.js +4 -4
  461. package/dist/esm/calcite-segmented-control_2.entry.js +4 -4
  462. package/dist/esm/calcite-shell_3.entry.js +5 -5
  463. package/dist/esm/calcite-sortable-list.entry.js +3 -3
  464. package/dist/esm/calcite-split-button.entry.js +1 -1
  465. package/dist/esm/calcite-stack.entry.js +2 -2
  466. package/dist/esm/calcite-stepper_2.entry.js +3 -3
  467. package/dist/esm/calcite-switch.entry.js +4 -4
  468. package/dist/esm/calcite-tab_4.entry.js +4 -4
  469. package/dist/esm/calcite-text-area.entry.js +8 -8
  470. package/dist/esm/calcite-tile-select_2.entry.js +1 -1
  471. package/dist/esm/calcite-tile.entry.js +3 -3
  472. package/dist/esm/calcite-tip_3.entry.js +6 -6
  473. package/dist/esm/calcite-tooltip.entry.js +6 -6
  474. package/dist/esm/calcite-tree_2.entry.js +4 -4
  475. package/dist/esm/calcite-value-list_2.entry.js +8 -8
  476. package/dist/esm/calcite.js +2 -2
  477. package/dist/esm/{conditionalSlot-c0bbab44.js → conditionalSlot-e1dd01aa.js} +1 -1
  478. package/dist/esm/{cs-0c84808f.js → cs-fb6340a3.js} +8 -8
  479. package/dist/esm/{da-931e4497.js → da-f5cf0a6c.js} +8 -8
  480. package/dist/esm/{de-993d9221.js → de-409615fd.js} +8 -8
  481. package/dist/esm/{de-at-4878899a.js → de-at-e9f795b6.js} +8 -8
  482. package/dist/esm/{de-ch-278285c0.js → de-ch-65d7b3e6.js} +8 -8
  483. package/dist/esm/{el-9f43bce0.js → el-0d4c8e93.js} +8 -8
  484. package/dist/esm/{en-au-bb1c9cc9.js → en-au-a456a05c.js} +8 -8
  485. package/dist/esm/{en-ca-e3ee8e99.js → en-ca-075b43eb.js} +8 -8
  486. package/dist/esm/{en-gb-bea5dfc5.js → en-gb-791ac306.js} +8 -8
  487. package/dist/esm/{es-9d00b24d.js → es-fa6b779c.js} +8 -8
  488. package/dist/esm/{es-mx-28dff021.js → es-mx-b85ef8a0.js} +8 -8
  489. package/dist/esm/{et-8a7a0c85.js → et-d939cb4a.js} +8 -8
  490. package/dist/esm/{fi-66c00e0c.js → fi-5fbac830.js} +8 -8
  491. package/dist/esm/{filter-7efc70f8.js → filter-73425793.js} +1 -1
  492. package/dist/esm/{floating-ui-b194697d.js → floating-ui-fee33b55.js} +3 -3
  493. package/dist/esm/{focusTrapComponent-b0286e87.js → focusTrapComponent-14b0b547.js} +46 -4
  494. package/dist/esm/{form-df307f3b.js → form-15fb21c0.js} +2 -2
  495. package/dist/esm/{fr-da1faec5.js → fr-186dda86.js} +8 -8
  496. package/dist/esm/{fr-ch-f86043d7.js → fr-ch-0e871bf9.js} +8 -8
  497. package/dist/esm/{he-f70d5afe.js → he-a28e2ed4.js} +8 -8
  498. package/dist/esm/{hi-db567e16.js → hi-0dd4f234.js} +8 -8
  499. package/dist/esm/{hr-93f267d3.js → hr-1d7290b4.js} +8 -8
  500. package/dist/esm/{hu-4cc00b16.js → hu-c514577c.js} +8 -8
  501. package/dist/esm/{id-bc5ba48f.js → id-835a6220.js} +8 -8
  502. package/dist/esm/index.js +1 -1
  503. package/dist/esm/{it-ch-f1cd869f.js → it-ch-ddd8151c.js} +8 -8
  504. package/dist/esm/{it-e6e0c681.js → it-e5c3b3e4.js} +8 -8
  505. package/dist/esm/{ja-89543063.js → ja-20226883.js} +8 -8
  506. package/dist/esm/{ko-1455c0b2.js → ko-783070e0.js} +8 -8
  507. package/dist/esm/{label-f592d748.js → label-b29976c1.js} +1 -1
  508. package/dist/esm/loader.js +2 -2
  509. package/dist/esm/{locale-92dbc10f.js → locale-4aec5885.js} +1 -1
  510. package/dist/esm/{lt-8a7b53eb.js → lt-22fe1a0c.js} +8 -8
  511. package/dist/esm/{lv-c2668499.js → lv-f265b466.js} +8 -8
  512. package/dist/esm/{mk-990414a3.js → mk-c9f37531.js} +8 -8
  513. package/dist/esm/{nb-f0651501.js → nb-fc8d8382.js} +8 -8
  514. package/dist/esm/{nl-029aadce.js → nl-024d12f0.js} +8 -8
  515. package/dist/esm/{openCloseComponent-b2024411.js → openCloseComponent-93e61418.js} +1 -1
  516. package/dist/esm/{pl-864a00e5.js → pl-6685e447.js} +8 -8
  517. package/dist/esm/{pt-12dc891b.js → pt-6eded86a.js} +8 -8
  518. package/dist/esm/{pt-br-00505784.js → pt-br-5a3d0708.js} +8 -8
  519. package/dist/esm/{resources-62c2c63f.js → resources-0c0c87df.js} +3 -3
  520. package/dist/esm/{ro-8da13663.js → ro-1d67b919.js} +8 -8
  521. package/dist/esm/{ru-67ffa2e1.js → ru-844330a1.js} +8 -8
  522. package/dist/esm/{sk-3d0077ad.js → sk-e806ae8d.js} +8 -8
  523. package/dist/esm/{sl-6b44dd7d.js → sl-1ddb3655.js} +8 -8
  524. package/dist/esm/{sortableComponent-32937c9e.js → sortableComponent-b3f2000a.js} +1 -1
  525. package/dist/esm/{sr-6066acde.js → sr-0dba409a.js} +8 -8
  526. package/dist/esm/{sv-4c2a4f73.js → sv-98a97e0a.js} +8 -8
  527. package/dist/esm/{t9n-7affaf20.js → t9n-d681059e.js} +2 -2
  528. package/dist/esm/{th-0b79d048.js → th-f0f19d4b.js} +8 -8
  529. package/dist/esm/{throttle-e8aa7926.js → throttle-36899e2c.js} +1 -1
  530. package/dist/esm/{tr-fc6bb41a.js → tr-3b825a62.js} +8 -8
  531. package/dist/esm/{uk-44e1a71d.js → uk-04b74ea6.js} +8 -8
  532. package/dist/esm/{utils-758765fc.js → utils-f25592d4.js} +2 -2
  533. package/dist/esm/{vi-e6302f6c.js → vi-0523cefa.js} +8 -8
  534. package/dist/esm/{zh-cn-b4f2a09b.js → zh-cn-b66b747a.js} +8 -8
  535. package/dist/esm/{zh-hk-d404bca8.js → zh-hk-c9f67b6e.js} +8 -8
  536. package/dist/esm/{zh-tw-164847f0.js → zh-tw-fd1ebfa4.js} +8 -8
  537. package/dist/types/components/action-bar/action-bar.d.ts +1 -2
  538. package/dist/types/components/flow-item/flow-item.d.ts +1 -1
  539. package/dist/types/components/functional/ExpandToggle.d.ts +2 -2
  540. package/dist/types/components/modal/modal.d.ts +1 -1
  541. package/dist/types/components/panel/panel.d.ts +1 -1
  542. package/dist/types/components/shell/shell.d.ts +1 -1
  543. package/dist/types/components.d.ts +1 -1
  544. package/dist/types/utils/floating-ui.d.ts +1 -1
  545. package/dist/types/utils/locale.d.ts +2 -2
  546. package/hydrate/index.js +71 -31
  547. package/package.json +15 -99
  548. package/readme.md +4 -0
  549. package/dist/calcite/p-1b3d8969.entry.js +0 -6
  550. package/dist/calcite/p-2c7fc8ba.js +0 -10
  551. package/dist/calcite/p-38bf798a.js +0 -6
  552. package/dist/calcite/p-3c014b33.entry.js +0 -6
  553. package/dist/calcite/p-44b35a03.js +0 -6
  554. package/dist/calcite/p-5c13cc90.js +0 -6
  555. package/dist/calcite/p-6d5b372a.entry.js +0 -6
  556. package/dist/calcite/p-7efd6b4e.entry.js +0 -6
  557. package/dist/calcite/p-81e30ce5.js +0 -6
  558. package/dist/calcite/p-97a48c57.entry.js +0 -6
  559. package/dist/extras/docs-json.d.ts +0 -148
  560. package/dist/extras/docs-json.json +0 -25204
  561. package/dist/extras/vscode-data.json +0 -6728
  562. package/dist/types/preact.d.ts +0 -445
  563. /package/dist/calcite/{p-f35a724d.js → p-1dcf55fa.js} +0 -0
  564. /package/dist/calcite/{p-507011a2.js → p-5e08e170.js} +0 -0
  565. /package/dist/calcite/{p-4e7f3a50.js → p-db65ec3e.js} +0 -0
  566. /package/dist/calcite/{p-053a68e5.js → p-f1e7a52c.js} +0 -0
  567. /package/dist/cjs/{composed-offset-position.esm-d1b53fad.js → composed-offset-position.esm-d13c21cd.js} +0 -0
  568. /package/dist/cjs/{debounce-c552cee3.js → debounce-dbe074b2.js} +0 -0
  569. /package/dist/cjs/{dom-51594fdc.js → dom-2bf99312.js} +0 -0
  570. /package/dist/cjs/{index-b12ba9ed.js → index-2c577a5f.js} +0 -0
  571. /package/dist/esm/{composed-offset-position.esm-2a73a9f3.js → composed-offset-position.esm-4d37f9a2.js} +0 -0
  572. /package/dist/esm/{debounce-3acaf84c.js → debounce-7a7a0d14.js} +0 -0
  573. /package/dist/esm/{dom-1dba671b.js → dom-fe55ab1f.js} +0 -0
  574. /package/dist/esm/{index-7f9dcc79.js → index-05776eaa.js} +0 -0
@@ -3,20 +3,20 @@
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  * v1.4.3-next.1
5
5
  */
6
- import { d as dayjs } from './calcite-input-time-picker.calcite-time-picker-a0b66258.js';
7
- import './index-7f9dcc79.js';
8
- import './form-df307f3b.js';
9
- import './dom-1dba671b.js';
6
+ import { d as dayjs } from './calcite-input-time-picker.calcite-time-picker-7bc4c563.js';
7
+ import './index-05776eaa.js';
8
+ import './form-15fb21c0.js';
9
+ import './dom-fe55ab1f.js';
10
10
  import './guid-4b1095f9.js';
11
11
  import './resources-d3006717.js';
12
12
  import './interactive-08e745df.js';
13
13
  import './key-cc9c7970.js';
14
- import './label-f592d748.js';
14
+ import './label-b29976c1.js';
15
15
  import './loadable-7867e1e0.js';
16
- import './locale-92dbc10f.js';
16
+ import './locale-4aec5885.js';
17
17
  import './observers-0f1dfcfa.js';
18
- import './focusTrapComponent-b0286e87.js';
19
- import './t9n-7affaf20.js';
18
+ import './focusTrapComponent-14b0b547.js';
19
+ import './t9n-d681059e.js';
20
20
 
21
21
  // Chinese (Taiwan) [zh-tw]
22
22
  var locale = {
@@ -20,7 +20,7 @@ export declare class ActionBar implements ConditionalSlotComponent, LoadableComp
20
20
  * When `true`, the component is expanded.
21
21
  */
22
22
  expanded: boolean;
23
- expandedHandler(expanded: boolean): void;
23
+ expandedHandler(): void;
24
24
  /**
25
25
  * The layout direction of the actions.
26
26
  */
@@ -79,7 +79,6 @@ export declare class ActionBar implements ConditionalSlotComponent, LoadableComp
79
79
  resizeHandlerEntries: (entries: ResizeObserverEntry[]) => void;
80
80
  resizeHandler: (entry: ResizeObserverEntry) => void;
81
81
  private resize;
82
- conditionallyOverflowActions: () => void;
83
82
  toggleExpand: () => void;
84
83
  setExpandToggleRef: (el: HTMLCalciteActionElement) => void;
85
84
  updateGroups(): void;
@@ -13,7 +13,7 @@ import { FlowItemMessages } from "./assets/flow-item/t9n";
13
13
  * @slot header-content - A slot for adding custom content to the component's header.
14
14
  * @slot header-menu-actions - A slot for adding an overflow menu with `calcite-action`s inside a `calcite-dropdown`.
15
15
  * @slot fab - A slot for adding a `calcite-fab` (floating action button) to perform an action.
16
- * @slot footer-actions - [Deprecated] A slot for adding `calcite-button`s to the component's footer.
16
+ * @slot footer-actions - [Deprecated] Use the `"footer"` slot instead. A slot for adding `calcite-button`s to the component's footer.
17
17
  * @slot footer - A slot for adding custom content to the component's footer.
18
18
  */
19
19
  export declare class FlowItem implements InteractiveComponent, LoadableComponent, LocalizedComponent, T9nComponent {
@@ -11,8 +11,8 @@ interface ExpandToggleProps {
11
11
  ref?: (el: HTMLElement) => void;
12
12
  scale?: Scale;
13
13
  }
14
- export declare function toggleChildActionText({ parent, expanded }: {
15
- parent: HTMLElement;
14
+ export declare function toggleChildActionText({ el, expanded }: {
15
+ el: HTMLElement;
16
16
  expanded: boolean;
17
17
  }): void;
18
18
  export declare const ExpandToggle: FunctionalComponent<ExpandToggleProps>;
@@ -28,7 +28,7 @@ export declare class Modal implements ConditionalSlotComponent, OpenCloseCompone
28
28
  * When `true`, prevents focus trapping.
29
29
  */
30
30
  focusTrapDisabled: boolean;
31
- handlefocusTrapDisabled(focusTrapDisabled: boolean): void;
31
+ handleFocusTrapDisabled(focusTrapDisabled: boolean): void;
32
32
  /** When `true`, disables the closing of the component when clicked outside. */
33
33
  outsideCloseDisabled: boolean;
34
34
  /** When `true`, prevents the component from expanding to the entire screen on mobile devices. */
@@ -13,7 +13,7 @@ import { PanelMessages } from "./assets/panel/t9n";
13
13
  * @slot header-content - A slot for adding custom content to the header.
14
14
  * @slot header-menu-actions - A slot for adding an overflow menu with actions inside a `calcite-dropdown`.
15
15
  * @slot fab - A slot for adding a `calcite-fab` (floating action button) to perform an action.
16
- * @slot footer-actions - [Deprecated] A slot for adding buttons to the footer.
16
+ * @slot footer-actions - [Deprecated] Use the `"footer"` slot instead. A slot for adding `calcite-button`s to the component's footer.
17
17
  * @slot footer - A slot for adding custom content to the footer.
18
18
  */
19
19
  export declare class Panel implements InteractiveComponent, LoadableComponent, LocalizedComponent, T9nComponent {
@@ -8,7 +8,7 @@ import { ConditionalSlotComponent } from "../../utils/conditionalSlot";
8
8
  * @slot panel-end - A slot for adding the ending `calcite-shell-panel`.
9
9
  * @slot panel-top - A slot for adding the top `calcite-shell-center-row`.
10
10
  * @slot panel-bottom - A slot for adding the bottom `calcite-shell-center-row`.
11
- * @slot center-row - [Deprecated] use `"panel-bottom"` instead. A slot for adding the bottom `calcite-shell-center-row`.
11
+ * @slot center-row - [Deprecated] Use the `"panel-bottom"` slot instead. A slot for adding the bottom `calcite-shell-center-row`.
12
12
  * @slot modals - A slot for adding `calcite-modal` components. When placed in this slot, the modal position will be constrained to the extent of the shell.
13
13
  * @slot alerts - A slot for adding `calcite-alert` components. When placed in this slot, the alert position will be constrained to the extent of the shell.
14
14
  */
@@ -7944,7 +7944,7 @@ declare namespace LocalJSX {
7944
7944
  /**
7945
7945
  * When `navigationAction` is `true`, specifies the label of the `calcite-action`.
7946
7946
  */
7947
- "label": string;
7947
+ "label"?: string;
7948
7948
  /**
7949
7949
  * When `true`, displays a `calcite-action` and emits a `calciteNavActionSelect` event on selection change.
7950
7950
  */
@@ -22,7 +22,7 @@ export type OverlayPositioning = Strategy;
22
22
  */
23
23
  export type EffectivePlacement = Placement;
24
24
  export declare const placements: readonly ["auto", "auto-start", "auto-end", "top", "top-start", "top-end", "bottom", "bottom-start", "bottom-end", "right", "right-start", "right-end", "left", "left-start", "left-end", "leading-start", "leading", "leading-end", "trailing-end", "trailing", "trailing-start"];
25
- export type LogicalPlacement = typeof placements[number];
25
+ export type LogicalPlacement = (typeof placements)[number];
26
26
  export declare const effectivePlacements: EffectivePlacement[];
27
27
  export declare const menuPlacements: MenuPlacement[];
28
28
  export declare const menuEffectivePlacements: EffectivePlacement[];
@@ -3,8 +3,8 @@ export declare const t9nLocales: string[];
3
3
  export declare const locales: string[];
4
4
  export declare const numberingSystems: readonly ["arab", "arabext", "bali", "beng", "deva", "fullwide", "gujr", "guru", "hanidec", "khmr", "knda", "laoo", "latn", "limb", "mlym", "mong", "mymr", "orya", "tamldec", "telu", "thai", "tibt"];
5
5
  export declare const supportedLocales: readonly string[];
6
- export type NumberingSystem = typeof numberingSystems[number];
7
- export type SupportedLocales = typeof supportedLocales[number];
6
+ export type NumberingSystem = (typeof numberingSystems)[number];
7
+ export type SupportedLocales = (typeof supportedLocales)[number];
8
8
  export declare const defaultNumberingSystem: "arab" | "arabext" | "bali" | "beng" | "deva" | "fullwide" | "gujr" | "guru" | "hanidec" | "khmr" | "knda" | "laoo" | "latn" | "limb" | "mlym" | "mong" | "mymr" | "orya" | "tamldec" | "telu" | "thai" | "tibt";
9
9
  export declare const getSupportedNumberingSystem: (numberingSystem: string) => NumberingSystem;
10
10
  /**
package/hydrate/index.js CHANGED
@@ -9306,13 +9306,11 @@ const ICONS$h = {
9306
9306
  function getCalcitePosition(position, el) {
9307
9307
  return position || el.closest("calcite-shell-panel")?.position || "start";
9308
9308
  }
9309
- function toggleChildActionText({ parent, expanded }) {
9310
- queryActions(parent)
9309
+ function toggleChildActionText({ el, expanded }) {
9310
+ queryActions(el)
9311
9311
  .filter((el) => el.slot !== SLOTS$v.menuActions)
9312
9312
  .forEach((action) => (action.textEnabled = expanded));
9313
- parent
9314
- .querySelectorAll("calcite-action-group, calcite-action-menu")
9315
- .forEach((el) => (el.expanded = expanded));
9313
+ el.querySelectorAll("calcite-action-group, calcite-action-menu").forEach((el) => (el.expanded = expanded));
9316
9314
  }
9317
9315
  const setTooltipReference = ({ tooltip, referenceElement, expanded, ref }) => {
9318
9316
  if (tooltip) {
@@ -9383,8 +9381,10 @@ class ActionBar {
9383
9381
  this.resize({ width, height });
9384
9382
  };
9385
9383
  this.resize = debounce(({ width, height }) => {
9386
- const { el, expanded, expandDisabled, layout } = this;
9387
- if ((layout === "vertical" && !height) || (layout === "horizontal" && !width)) {
9384
+ const { el, expanded, expandDisabled, layout, overflowActionsDisabled } = this;
9385
+ if (overflowActionsDisabled ||
9386
+ (layout === "vertical" && !height) ||
9387
+ (layout === "horizontal" && !width)) {
9388
9388
  return;
9389
9389
  }
9390
9390
  const actions = queryActions(el);
@@ -9410,11 +9410,6 @@ class ActionBar {
9410
9410
  overflowCount
9411
9411
  });
9412
9412
  }, overflowActionsDebounceInMs);
9413
- this.conditionallyOverflowActions = () => {
9414
- if (!this.overflowActionsDisabled) {
9415
- this.overflowActions();
9416
- }
9417
- };
9418
9413
  this.toggleExpand = () => {
9419
9414
  this.expanded = !this.expanded;
9420
9415
  this.calciteActionBarToggle.emit();
@@ -9438,11 +9433,12 @@ class ActionBar {
9438
9433
  this.defaultMessages = undefined;
9439
9434
  }
9440
9435
  expandHandler() {
9441
- this.conditionallyOverflowActions();
9436
+ this.overflowActions();
9442
9437
  }
9443
- expandedHandler(expanded) {
9444
- toggleChildActionText({ parent: this.el, expanded });
9445
- this.conditionallyOverflowActions();
9438
+ expandedHandler() {
9439
+ const { el, expanded } = this;
9440
+ toggleChildActionText({ el, expanded });
9441
+ this.overflowActions();
9446
9442
  }
9447
9443
  layoutHandler() {
9448
9444
  this.updateGroups();
@@ -9464,19 +9460,21 @@ class ActionBar {
9464
9460
  //
9465
9461
  // --------------------------------------------------------------------------
9466
9462
  componentDidLoad() {
9463
+ const { el, expanded } = this;
9467
9464
  setComponentLoaded(this);
9468
- this.conditionallyOverflowActions();
9465
+ toggleChildActionText({ el, expanded });
9466
+ this.overflowActions();
9469
9467
  }
9470
9468
  connectedCallback() {
9471
9469
  const { el, expanded } = this;
9472
9470
  connectLocalized(this);
9473
9471
  connectMessages(this);
9474
- toggleChildActionText({ parent: el, expanded });
9472
+ toggleChildActionText({ el, expanded });
9475
9473
  this.mutationObserver?.observe(el, { childList: true, subtree: true });
9476
9474
  if (!this.overflowActionsDisabled) {
9477
9475
  this.resizeObserver?.observe(el);
9478
9476
  }
9479
- this.conditionallyOverflowActions();
9477
+ this.overflowActions();
9480
9478
  connectConditionalSlotComponent(this);
9481
9479
  }
9482
9480
  async componentWillLoad() {
@@ -10034,7 +10032,7 @@ class ActionPad {
10034
10032
  this.defaultMessages = undefined;
10035
10033
  }
10036
10034
  expandedHandler(expanded) {
10037
- toggleChildActionText({ parent: this.el, expanded });
10035
+ toggleChildActionText({ el: this.el, expanded });
10038
10036
  }
10039
10037
  layoutHandler() {
10040
10038
  this.updateGroups();
@@ -10063,7 +10061,7 @@ class ActionPad {
10063
10061
  async componentWillLoad() {
10064
10062
  setUpLoadableComponent(this);
10065
10063
  const { el, expanded } = this;
10066
- toggleChildActionText({ parent: el, expanded });
10064
+ toggleChildActionText({ el, expanded });
10067
10065
  await setUpMessages(this);
10068
10066
  }
10069
10067
  componentDidLoad() {
@@ -13538,7 +13536,7 @@ var colorString = createCommonjsModule(function (module) {
13538
13536
 
13539
13537
  var hasOwnProperty = Object.hasOwnProperty;
13540
13538
 
13541
- var reverseNames = {};
13539
+ var reverseNames = Object.create(null);
13542
13540
 
13543
13541
  // create a list of reverse color names
13544
13542
  for (var name in colorName$1) {
@@ -22078,7 +22076,7 @@ const flowItemCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-do
22078
22076
  * @slot header-content - A slot for adding custom content to the component's header.
22079
22077
  * @slot header-menu-actions - A slot for adding an overflow menu with `calcite-action`s inside a `calcite-dropdown`.
22080
22078
  * @slot fab - A slot for adding a `calcite-fab` (floating action button) to perform an action.
22081
- * @slot footer-actions - [Deprecated] A slot for adding `calcite-button`s to the component's footer.
22079
+ * @slot footer-actions - [Deprecated] Use the `"footer"` slot instead. A slot for adding `calcite-button`s to the component's footer.
22082
22080
  * @slot footer - A slot for adding custom content to the component's footer.
22083
22081
  */
22084
22082
  class FlowItem {
@@ -23633,7 +23631,7 @@ const CSS$A = {
23633
23631
  };
23634
23632
 
23635
23633
  /*!
23636
- * focus-trap 7.4.2
23634
+ * focus-trap 7.4.3
23637
23635
  * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
23638
23636
  */
23639
23637
 
@@ -23915,8 +23913,8 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
23915
23913
  if (node === false) {
23916
23914
  return false;
23917
23915
  }
23918
- if (node === undefined) {
23919
- // option not specified: use fallback options
23916
+ if (node === undefined || !isFocusable(node, config.tabbableOptions)) {
23917
+ // option not specified nor focusable: use fallback options
23920
23918
  if (findContainerIndex(doc.activeElement) >= 0) {
23921
23919
  node = doc.activeElement;
23922
23920
  } else {
@@ -24242,6 +24240,43 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
24242
24240
  return trap;
24243
24241
  };
24244
24242
 
24243
+ //
24244
+ // MUTATION OBSERVER
24245
+ //
24246
+
24247
+ var checkDomRemoval = function checkDomRemoval(mutations) {
24248
+ var isFocusedNodeRemoved = mutations.some(function (mutation) {
24249
+ var removedNodes = Array.from(mutation.removedNodes);
24250
+ return removedNodes.some(function (node) {
24251
+ return node === state.mostRecentlyFocusedNode;
24252
+ });
24253
+ });
24254
+
24255
+ // If the currently focused is removed then browsers will move focus to the
24256
+ // <body> element. If this happens, try to move focus back into the trap.
24257
+ if (isFocusedNodeRemoved) {
24258
+ tryFocus(getInitialFocusNode());
24259
+ }
24260
+ };
24261
+
24262
+ // Use MutationObserver - if supported - to detect if focused node is removed
24263
+ // from the DOM.
24264
+ var mutationObserver = typeof window !== 'undefined' && 'MutationObserver' in window ? new MutationObserver(checkDomRemoval) : undefined;
24265
+ var updateObservedNodes = function updateObservedNodes() {
24266
+ if (!mutationObserver) {
24267
+ return;
24268
+ }
24269
+ mutationObserver.disconnect();
24270
+ if (state.active && !state.paused) {
24271
+ state.containers.map(function (container) {
24272
+ mutationObserver.observe(container, {
24273
+ subtree: true,
24274
+ childList: true
24275
+ });
24276
+ });
24277
+ }
24278
+ };
24279
+
24245
24280
  //
24246
24281
  // TRAP DEFINITION
24247
24282
  //
@@ -24272,6 +24307,7 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
24272
24307
  updateTabbableNodes();
24273
24308
  }
24274
24309
  addListeners();
24310
+ updateObservedNodes();
24275
24311
  onPostActivate === null || onPostActivate === void 0 ? void 0 : onPostActivate();
24276
24312
  };
24277
24313
  if (checkCanFocusTrap) {
@@ -24295,6 +24331,7 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
24295
24331
  removeListeners();
24296
24332
  state.active = false;
24297
24333
  state.paused = false;
24334
+ updateObservedNodes();
24298
24335
  activeFocusTraps.deactivateTrap(trapStack, trap);
24299
24336
  var onDeactivate = getOption(options, 'onDeactivate');
24300
24337
  var onPostDeactivate = getOption(options, 'onPostDeactivate');
@@ -24325,6 +24362,7 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
24325
24362
  state.paused = true;
24326
24363
  onPause === null || onPause === void 0 ? void 0 : onPause();
24327
24364
  removeListeners();
24365
+ updateObservedNodes();
24328
24366
  onPostPause === null || onPostPause === void 0 ? void 0 : onPostPause();
24329
24367
  return this;
24330
24368
  },
@@ -24338,6 +24376,7 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
24338
24376
  onUnpause === null || onUnpause === void 0 ? void 0 : onUnpause();
24339
24377
  updateTabbableNodes();
24340
24378
  addListeners();
24379
+ updateObservedNodes();
24341
24380
  onPostUnpause === null || onPostUnpause === void 0 ? void 0 : onPostUnpause();
24342
24381
  return this;
24343
24382
  },
@@ -24349,6 +24388,7 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
24349
24388
  if (state.active) {
24350
24389
  updateTabbableNodes();
24351
24390
  }
24391
+ updateObservedNodes();
24352
24392
  return this;
24353
24393
  }
24354
24394
  };
@@ -26690,7 +26730,7 @@ var Dayjs = /*#__PURE__*/function () {
26690
26730
 
26691
26731
  var matches = {
26692
26732
  YY: String(this.$y).slice(-2),
26693
- YYYY: this.$y,
26733
+ YYYY: Utils.s(this.$y, 4, '0'),
26694
26734
  M: $M + 1,
26695
26735
  MM: Utils.s($M + 1, 2, '0'),
26696
26736
  MMM: getShort(locale.monthsShort, $M, months, 3),
@@ -29059,7 +29099,7 @@ class Modal {
29059
29099
  this.effectiveLocale = undefined;
29060
29100
  this.defaultMessages = undefined;
29061
29101
  }
29062
- handlefocusTrapDisabled(focusTrapDisabled) {
29102
+ handleFocusTrapDisabled(focusTrapDisabled) {
29063
29103
  if (!this.open) {
29064
29104
  return;
29065
29105
  }
@@ -29264,7 +29304,7 @@ class Modal {
29264
29304
  static get assetsDirs() { return ["assets"]; }
29265
29305
  get el() { return getElement(this); }
29266
29306
  static get watchers() { return {
29267
- "focusTrapDisabled": ["handlefocusTrapDisabled"],
29307
+ "focusTrapDisabled": ["handleFocusTrapDisabled"],
29268
29308
  "messageOverrides": ["onMessagesChange"],
29269
29309
  "effectiveLocale": ["effectiveLocaleChange"],
29270
29310
  "open": ["toggleModal"]
@@ -29803,7 +29843,7 @@ const panelCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{
29803
29843
  * @slot header-content - A slot for adding custom content to the header.
29804
29844
  * @slot header-menu-actions - A slot for adding an overflow menu with actions inside a `calcite-dropdown`.
29805
29845
  * @slot fab - A slot for adding a `calcite-fab` (floating action button) to perform an action.
29806
- * @slot footer-actions - [Deprecated] A slot for adding buttons to the footer.
29846
+ * @slot footer-actions - [Deprecated] Use the `"footer"` slot instead. A slot for adding `calcite-button`s to the component's footer.
29807
29847
  * @slot footer - A slot for adding custom content to the footer.
29808
29848
  */
29809
29849
  class Panel {
@@ -32618,7 +32658,7 @@ const shellCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{
32618
32658
  * @slot panel-end - A slot for adding the ending `calcite-shell-panel`.
32619
32659
  * @slot panel-top - A slot for adding the top `calcite-shell-center-row`.
32620
32660
  * @slot panel-bottom - A slot for adding the bottom `calcite-shell-center-row`.
32621
- * @slot center-row - [Deprecated] use `"panel-bottom"` instead. A slot for adding the bottom `calcite-shell-center-row`.
32661
+ * @slot center-row - [Deprecated] Use the `"panel-bottom"` slot instead. A slot for adding the bottom `calcite-shell-center-row`.
32622
32662
  * @slot modals - A slot for adding `calcite-modal` components. When placed in this slot, the modal position will be constrained to the extent of the shell.
32623
32663
  * @slot alerts - A slot for adding `calcite-alert` components. When placed in this slot, the alert position will be constrained to the extent of the shell.
32624
32664
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esri/calcite-components",
3
- "version": "1.4.3-next.1",
3
+ "version": "1.4.3-next.2",
4
4
  "description": "Web Components for Esri's Calcite Design System.",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -23,6 +23,7 @@
23
23
  "build:watch": "npm run util:prep-build-reqs && stencil build --no-docs --watch",
24
24
  "build:watch-dev": "npm run util:prep-build-reqs && stencil build --no-docs --dev --watch",
25
25
  "build-storybook": "npm run util:build-docs && build-storybook --output-dir ./docs --quiet",
26
+ "clean": "npm run util:clean-js-files && rimraf node_modules dist www hydrate docs .turbo src/components.d.ts",
26
27
  "deps:update": "updtr --exclude chalk cheerio typescript @types/jest jest jest-cli ts-jest puppeteer @whitespace/storybook-addon-html && npm audit fix",
27
28
  "docs": "concurrently --kill-others --raw \"npm run build-storybook\" \"ts-node --esm ./support/cleanOnProcessExit.ts --path ./__docs-temp__\"",
28
29
  "docs:preview": "concurrently --raw \"npm:util:build-docs && start-storybook\" \"ts-node --esm ./support/cleanOnProcessExit.ts --path ./__docs-temp__\"",
@@ -30,38 +31,24 @@
30
31
  "lint:html": "prettier --write \"**/*.html\" >/dev/null",
31
32
  "lint:json": "prettier --write \"**/*.json\" >/dev/null",
32
33
  "lint:md": "markdownlint \"**/*.md\" --fix --ignore node_modules --disable MD024 MD013 MD041 MD033 && prettier --write \"**/*.md\" >/dev/null",
33
- "lint:yml": "prettier --write \"**/*.yml\" >/dev/null",
34
34
  "lint:scss": "stylelint --fix \"src/**/*.scss\" && prettier --write \"**/*.scss\" >/dev/null",
35
35
  "lint:ts": "eslint --ext .ts,.tsx --fix . && prettier --write \"**/*.ts?(x)\" >/dev/null",
36
36
  "posttest": "npm run test:prerender",
37
- "prepare": "husky install",
38
- "prepublishOnly": "ts-node --esm ./support/prepublish.ts",
39
37
  "release:docs": "npm run docs && storybook-to-ghpages --existing-output-dir=docs",
40
- "release:next": "npm ci && npm test && npm run util:deploy-next",
41
- "release:prepare": "npm run util:is-working-tree-clean && npm ci && npm test && standard-version && npm run build",
42
- "release:publish": "npm run util:test-types && npm run util:push-tags && npm publish && ts-node --esm ./support/releaseToGitHub.ts",
43
38
  "start": "concurrently --kill-others --raw \"tsc --project ./tsconfig-demos.json --watch\" \"npm run build:watch-dev -- --serve\" \"ts-node --esm ./support/cleanOnProcessExit.ts --path ./src/demos/**/*.js \"",
44
- "test": "npm run build && npm run test:existing-build",
45
- "test:existing-build": "stencil test --no-docs --no-build --spec --e2e",
39
+ "test": "stencil test --no-docs --no-build --spec --e2e",
46
40
  "test:prerender": "stencil build --no-docs --prerender",
47
- "test:watch": "npm run test -- -- --watchAll",
41
+ "test:watch": "npm run build && npm run test -- -- --watchAll",
48
42
  "util:build-docs": "npm run util:prep-build-reqs && stencil build --docs --config stencil.storybook.config.ts",
49
43
  "util:clean-tested-build": "npm ci && npm test && npm run build",
50
44
  "util:copy-assets": "npm run util:copy-icons",
51
- "util:copy-icons": "cpy \"./node_modules/@esri/calcite-ui-icons/js/*.json\" \"./src/components/icon/assets/icon/\" --flat",
52
- "util:deploy-next": "npm run util:prep-next && npm run util:publish-next",
53
- "util:deploy-next-from-ci": "ts-node --esm support/deployNextFromCI.ts",
45
+ "util:copy-icons": "cpy \"../../node_modules/@esri/calcite-ui-icons/js/*.json\" \"./src/components/icon/assets/icon/\" --flat",
54
46
  "util:generate-t9n-types": "ts-node --esm support/generateT9nTypes.ts",
55
47
  "util:hydration-styles": "ts-node --esm support/hydrationStyles.ts",
56
- "util:is-next-deployable": "ts-node --esm support/isNextDeployable.ts",
57
48
  "util:patch": "npm run util:patch-esm-resolution && npm run util:patch-tree-shaking",
58
49
  "util:patch-esm-resolution": "ts-node --esm support/patchESMResolution.ts",
59
50
  "util:patch-tree-shaking": "ts-node --esm support/patchTreeShaking.ts",
60
51
  "util:prep-build-reqs": "npm run util:copy-assets && npm run util:generate-t9n-types",
61
- "util:prep-next": "npm run util:is-working-tree-clean && standard-version --prerelease next && npm run build",
62
- "util:publish-next": "npm run util:test-types && npm publish --tag next && npm run util:push-tags",
63
- "util:check-squash-mergeable-branch": "ts-node --esm support/checkSquashMergeableBranch.ts",
64
- "util:push-tags": "git push --atomic origin master \"$(git describe --tags --abbrev=0)\"",
65
52
  "util:sync-t9n-en-bundles": "ts-node --esm support/syncEnT9nBundles.ts",
66
53
  "util:test-types": "tsc --esModuleInterop dist/types/**/*.d.ts dist/components/*.d.ts && ! grep -rnw 'dist/types' -e '<reference types=' && npm run util:clean-js-files",
67
54
  "util:clean-js-files": "find src .storybook support -name '*.js' | xargs rm -rf && find . -maxdepth 1 -name '*.js' | xargs rm -rf",
@@ -77,95 +64,24 @@
77
64
  "@types/color": "3.0.3",
78
65
  "color": "4.2.3",
79
66
  "composed-offset-position": "0.0.4",
80
- "dayjs": "1.11.7",
81
- "focus-trap": "7.4.2",
67
+ "dayjs": "1.11.8",
68
+ "focus-trap": "7.4.3",
82
69
  "form-request-submit-polyfill": "2.0.0",
83
70
  "lodash-es": "4.17.21",
84
71
  "sortablejs": "1.15.0"
85
72
  },
86
73
  "devDependencies": {
87
- "@babel/preset-react": "7.18.6",
88
- "@esri/calcite-base": "^1.2.0",
89
- "@esri/calcite-colors": "6.1.0",
90
74
  "@esri/calcite-design-tokens": "1.0.0",
91
- "@esri/calcite-ui-icons": "3.22.8",
92
- "@esri/eslint-plugin-calcite-components": "0.2.2",
75
+ "@esri/calcite-ui-icons": "3.22.9",
93
76
  "@stencil-community/eslint-plugin": "0.5.0",
94
77
  "@stencil/postcss": "2.1.0",
95
- "@stencil/sass": "3.0.0",
96
- "@stencil/state-tunnel": "^1.0.1",
97
- "@storybook/addon-a11y": "6.5.16",
98
- "@storybook/addon-docs": "6.5.15",
99
- "@storybook/addon-interactions": "6.5.16",
100
- "@storybook/addon-knobs": "6.4.0",
101
- "@storybook/html": "6.5.15",
102
- "@storybook/storybook-deployer": "2.8.16",
103
- "@storybook/testing-library": "0.0.13",
104
- "@types/dedent": "0.7.0",
105
- "@types/jest": "27.0.3",
106
- "@types/jest-axe": "3.5.5",
107
- "@types/lodash-es": "4.17.7",
108
- "@types/semver": "7.3.13",
109
- "@types/shell-quote": "1.7.1",
110
- "@types/sortablejs": "1.15.1",
111
- "@types/standard-version": "7.0.1",
112
- "@types/yargs": "17.0.24",
113
- "@typescript-eslint/eslint-plugin": "5.59.5",
114
- "@typescript-eslint/parser": "5.48.2",
115
- "@whitespace/storybook-addon-html": "5.0.0",
116
- "autoprefixer": "10.4.13",
117
- "axe-core": "4.6.3",
118
- "babel-loader": "8.3.0",
119
- "chalk": "4.1.2",
120
- "cheerio": "1.0.0-rc.10",
121
- "chokidar": "3.5.3",
122
- "chromatic": "6.17.4",
123
- "concurrently": "8.0.1",
124
- "conventional-changelog-cli": "2.2.2",
125
- "cpy-cli": "4.2.0",
126
- "dedent": "0.7.0",
127
- "eslint": "8.41.0",
128
- "eslint-config-prettier": "8.8.0",
129
- "eslint-plugin-import": "2.27.5",
130
- "eslint-plugin-jest": "27.2.1",
131
- "eslint-plugin-jsdoc": "44.2.5",
132
- "eslint-plugin-prettier": "4.2.1",
133
- "eslint-plugin-react": "7.32.2",
134
- "eslint-plugin-unicorn": "46.0.0",
135
- "gh-release": "7.0.2",
136
- "git-semver-tags": "4.1.1",
137
- "husky": "8.0.3",
138
- "jest": "27.4.5",
139
- "jest-axe": "7.0.1",
140
- "jest-cli": "27.4.5",
141
- "lint-staged": "13.2.1",
142
- "markdownlint-cli": "0.33.0",
143
- "postcss": "8.4.21",
144
- "prettier": "2.8.1",
145
- "puppeteer": "10.0.0",
146
- "quicktype-core": "23.0.12",
147
- "rimraf": "4.1.2",
148
- "semver": "7.3.8",
149
- "shell-quote": "1.8.0",
150
- "standard-version": "9.5.0",
151
- "stencil-eslint-core": "0.3.1",
152
- "storybook": "6.5.16",
153
- "storybook-addon-themes": "6.1.0",
154
- "storybook-rtl-addon": "0.3.3",
155
- "stylelint": "14.16.1",
156
- "stylelint-config-recommended-scss": "8.0.0",
157
- "stylelint-use-logical-spec": "5.0.0",
158
- "tailwindcss": "3.3.1",
159
- "ts-jest": "27.1.5",
160
- "ts-node": "10.9.1",
161
- "type-fest": "3.5.0",
162
- "typescript": "4.9.5",
163
- "updtr": "4.0.0",
164
- "workbox-build": "6.5.4",
165
- "yargs": "17.7.2"
78
+ "@stencil/react-output-target": "0.4.0",
79
+ "@stencil/sass": "3.0.4",
80
+ "@stencil/state-tunnel": "1.0.1"
166
81
  },
167
- "license": "SEE LICENSE IN copyright.txt",
82
+ "license": "SEE LICENSE.md",
168
83
  "volta": {
169
- "node": "16.20.0"
170
- }
84
+ "extends": "../../package.json"
85
+ },
86
+ "gitHead": "eec07850015f472e3fc261a6480fccfb20871a10"
171
87
  }
package/readme.md CHANGED
@@ -12,6 +12,8 @@ Calcite Components, part of Esri's Calcite Design System, is a rich library of f
12
12
 
13
13
  The most common approach for loading Calcite Components is to use the version hosted on the CDN. The components can be loaded via `<script>` and `<link>` tags in the head of your HTML document:
14
14
 
15
+ <!-- x-release-please-start-version -->
16
+
15
17
  ```html
16
18
  <script
17
19
  type="module"
@@ -24,6 +26,8 @@ The most common approach for loading Calcite Components is to use the version ho
24
26
  />
25
27
  ```
26
28
 
29
+ <!-- x-release-please-end -->
30
+
27
31
  Once these tags are added, components can be used like any other HTML element. Only components that are used in the application will be loaded.
28
32
 
29
33
  ## Use the NPM package
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.4.3-next.1
5
- */
6
- import{r as t,c as e,h as i,a}from"./p-f35a724d.js";import{c as n,d as o}from"./p-38bf798a.js";import{t as r,g as s}from"./p-507011a2.js";import{c,d as l}from"./p-2b11b501.js";import{c as d,d as m,s as h,u as f}from"./p-93e93072.js";import"./p-1a4a1a53.js";import"./p-d8247b8a.js";import"./p-9e0e63fd.js";import"./p-58610f6e.js";const p="thumbnail",u="title",g="subtitle",b="footer-start",v="footer-end",x=class{constructor(i){t(this,i),this.calciteCardSelect=e(this,"calciteCardSelect",6),this.cardSelectClick=()=>{this.selectCard()},this.cardSelectKeyDown=t=>{switch(t.key){case" ":case"Enter":this.selectCard(),t.preventDefault()}},this.loading=!1,this.selected=!1,this.selectable=!1,this.thumbnailPosition="block-start",this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale=void 0,this.defaultMessages=void 0}onMessagesChange(){}connectedCallback(){n(this),c(this),d(this)}disonnectedCallback(){o(this),l(this),m(this)}async componentWillLoad(){await h(this)}render(){const t=this.thumbnailPosition.startsWith("inline"),e=this.thumbnailPosition.endsWith("start");return i("div",{class:{"calcite-card-container":!0,inline:t}},this.loading?i("div",{class:"calcite-card-loader-container"},i("calcite-loader",{label:this.messages.loading})):null,e&&this.renderThumbnail(),i("section",{"aria-busy":r(this.loading),class:{container:!0}},this.selectable?this.renderCheckbox():null,this.renderHeader(),i("div",{class:"card-content"},i("slot",null)),this.renderFooter()),!e&&this.renderThumbnail())}effectiveLocaleChange(){f(this,this.effectiveLocale)}selectCard(){this.selected=!this.selected,this.calciteCardSelect.emit()}renderThumbnail(){return s(this.el,p)?i("section",{class:"thumbnail-wrapper"},i("slot",{name:p})):null}renderCheckbox(){return i("calcite-label",{class:"checkbox-wrapper",onClick:this.cardSelectClick,onKeyDown:this.cardSelectKeyDown},i("calcite-checkbox",{checked:this.selected,label:this.messages.select}))}renderHeader(){const{el:t}=this,e=s(t,u),a=s(t,g);return e||a?i("header",{class:"header"},i("slot",{name:u}),i("slot",{name:g})):null}renderFooter(){const{el:t}=this,e=s(t,b),a=s(t,v);return e||a?i("footer",{class:"footer"},i("slot",{name:b}),i("slot",{name:v})):null}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};x.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}: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{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host{display:block;max-inline-size:100%}:host .calcite-card-container{position:relative;display:flex;block-size:100%;flex-direction:column;justify-content:space-between;overflow:hidden;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3);--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);border-radius:var(--calcite-border-radius-base)}.container{position:relative;display:flex;flex:1 1 auto;flex-direction:column}:host([loading]) .calcite-card-container *:not(calcite-loader):not(.calcite-card-loader-container){pointer-events:none;opacity:0}:host([loading]) .calcite-card-loader-container{position:absolute;inset:0px;display:flex;align-items:center}.header,.footer{display:flex;padding-inline:0.75rem;padding-block:0.75rem 0.25rem}.header{flex-direction:column}.footer{margin-block-start:auto;flex-direction:row;align-content:space-between;justify-content:space-between;padding-inline:0.75rem;padding-block:0.25rem 0.75rem}.card-content{padding:0.75rem;font-size:var(--calcite-font-size--2);line-height:1.375;color:var(--calcite-ui-text-3)}:host([selected]) .calcite-card-container{border-color:var(--calcite-ui-brand)}slot[name=title]::slotted(*),*::slotted([slot=title]){margin:0px;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}:host([selectable]) .header{padding-inline-end:2rem}slot[name=subtitle]::slotted(*),*::slotted([slot=subtitle]){margin:0px;margin-block-start:0.5rem;font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2)}slot[name=thumbnail]::slotted(img),img::slotted([slot=thumbnail]){min-inline-size:100%;max-inline-size:100%}slot[name=footer-start]::slotted(*),*::slotted([slot=footer-start]){align-self:center;font-size:var(--calcite-font-size--2);line-height:1.375;margin-inline-end:auto}slot[name=footer-end]::slotted(*),*::slotted([slot=footer-end]){align-self:center;font-size:var(--calcite-font-size--2);line-height:1.375}.checkbox-wrapper{position:absolute;margin:0px;padding:0px;inset-block-start:0.5rem;inset-inline-end:0.5rem}.thumbnail-wrapper{display:flex}.calcite-card-container.inline{flex-direction:row}.calcite-card-container.inline>.container{inline-size:60%}.calcite-card-container.inline>.thumbnail-wrapper{inline-size:40%;align-items:flex-start}.calcite-card-container.inline slot[name=thumbnail]::slotted(img),.calcite-card-container.inline img::slotted([slot=thumbnail]){inline-size:100%}slot[name=footer-start]::slotted(*),slot[name=footer-end]::slotted(*){display:flex;gap:0.25rem}";export{x as calcite_card}
@@ -1,10 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.4.3-next.1
5
- */
6
- import{k as n,l as t,m as e,n as r,f as o,o as u}from"./p-507011a2.js";
7
- /*!
8
- * focus-trap 7.4.2
9
- * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
10
- */function i(n,t){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),e.push.apply(e,r)}return e}function a(n){for(var t=1;t<arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{};t%2?i(Object(e),!0).forEach((function(t){c(n,t,e[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(e)):i(Object(e)).forEach((function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(e,t))}))}return n}function c(n,t,e){return(t=function(n){var t=function(n){if("object"!=typeof n||null===n)return n;var t=n[Symbol.toPrimitive];if(void 0!==t){var e=t.call(n,"string");if("object"!=typeof e)return e;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"==typeof t?t:String(t)}(t))in n?Object.defineProperty(n,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):n[t]=e,n}var f=function(n){return"Tab"===n.key||9===n.keyCode},s=function(n){return f(n)&&!n.shiftKey},l=function(n){return f(n)&&n.shiftKey},v=function(n){return setTimeout(n,0)},d=function(n,t){var e=-1;return n.every((function(n,r){return!t(n)||(e=r,!1)})),e},b=function(n){for(var t=arguments.length,e=new Array(t>1?t-1:0),r=1;r<t;r++)e[r-1]=arguments[r];return"function"==typeof n?n.apply(void 0,e):n},p=function(n){return n.target.shadowRoot&&"function"==typeof n.composedPath?n.composedPath()[0]:n.target},h=[];const w=[];function m(i,c){const{el:m}=i,y=c?.focusTrapEl||m;if(!y)return;const F={clickOutsideDeactivates:!0,escapeDeactivates:!1,fallbackFocus:y,setReturnFocus:n=>(o(n),!1),...c?.focusTrapOptions,document:m.ownerDocument,tabbableOptions:u,trapStack:w};i.focusTrap=function(o,u){var i,c=(null==u?void 0:u.document)||document,w=(null==u?void 0:u.trapStack)||h,m=a({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:s,isKeyBackward:l},u),y={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0},F=function(n,t,e){return n&&void 0!==n[t]?n[t]:m[e||t]},k=function(n,t){var e="function"==typeof(null==t?void 0:t.composedPath)?t.composedPath():void 0;return y.containerGroups.findIndex((function(t){var r=t.container,o=t.tabbableNodes;return r.contains(n)||(null==e?void 0:e.includes(r))||o.find((function(t){return t===n}))}))},O=function(n){var t=m[n];if("function"==typeof t){for(var e=arguments.length,r=new Array(e>1?e-1:0),o=1;o<e;o++)r[o-1]=arguments[o];t=t.apply(void 0,r)}if(!0===t&&(t=void 0),!t){if(void 0===t||!1===t)return t;throw new Error("`".concat(n,"` was specified but was not a node, or did not return a node"))}var u=t;if("string"==typeof t&&!(u=c.querySelector(t)))throw new Error("`".concat(n,"` as selector refers to no known node"));return u},j=function(){var n=O("initialFocus");if(!1===n)return!1;if(void 0===n)if(k(c.activeElement)>=0)n=c.activeElement;else{var t=y.tabbableGroups[0];n=t&&t.firstTabbableNode||O("fallbackFocus")}if(!n)throw new Error("Your focus-trap needs to have at least one focusable element");return n},D=function(){if(y.containerGroups=y.containers.map((function(r){var o=n(r,m.tabbableOptions),u=t(r,m.tabbableOptions);return{container:r,tabbableNodes:o,focusableNodes:u,firstTabbableNode:o.length>0?o[0]:null,lastTabbableNode:o.length>0?o[o.length-1]:null,nextTabbableNode:function(n){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=u.findIndex((function(t){return t===n}));if(!(r<0))return t?u.slice(r+1).find((function(n){return e(n,m.tabbableOptions)})):u.slice(0,r).reverse().find((function(n){return e(n,m.tabbableOptions)}))}}})),y.tabbableGroups=y.containerGroups.filter((function(n){return n.tabbableNodes.length>0})),y.tabbableGroups.length<=0&&!O("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")},T=function n(t){!1!==t&&t!==c.activeElement&&(t&&t.focus?(t.focus({preventScroll:!!m.preventScroll}),y.mostRecentlyFocusedNode=t,function(n){return n.tagName&&"input"===n.tagName.toLowerCase()&&"function"==typeof n.select}(t)&&t.select()):n(j()))},g=function(n){var t=O("setReturnFocus",n);return t||!1!==t&&n},E=function(n){var t=p(n);k(t,n)>=0||(b(m.clickOutsideDeactivates,n)?i.deactivate({returnFocus:m.returnFocusOnDeactivate}):b(m.allowOutsideClick,n)||n.preventDefault())},P=function(n){var t=p(n),e=k(t,n)>=0;e||t instanceof Document?e&&(y.mostRecentlyFocusedNode=t):(n.stopImmediatePropagation(),T(y.mostRecentlyFocusedNode||j()))},N=function(n){if(("Escape"===(t=n).key||"Esc"===t.key||27===t.keyCode)&&!1!==b(m.escapeDeactivates,n))return n.preventDefault(),void i.deactivate();var t;(m.isKeyForward(n)||m.isKeyBackward(n))&&function(n){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=p(n);D();var u=null;if(y.tabbableGroups.length>0){var i=k(o,n),a=i>=0?y.containerGroups[i]:void 0;if(i<0)u=t?y.tabbableGroups[y.tabbableGroups.length-1].lastTabbableNode:y.tabbableGroups[0].firstTabbableNode;else if(t){var c=d(y.tabbableGroups,(function(n){return o===n.firstTabbableNode}));c<0&&(a.container===o||r(o,m.tabbableOptions)&&!e(o,m.tabbableOptions)&&!a.nextTabbableNode(o,!1))&&(c=i),c>=0?u=y.tabbableGroups[0===c?y.tabbableGroups.length-1:c-1].lastTabbableNode:f(n)||(u=a.nextTabbableNode(o,!1))}else{var s=d(y.tabbableGroups,(function(n){return o===n.lastTabbableNode}));s<0&&(a.container===o||r(o,m.tabbableOptions)&&!e(o,m.tabbableOptions)&&!a.nextTabbableNode(o))&&(s=i),s>=0?u=y.tabbableGroups[s===y.tabbableGroups.length-1?0:s+1].firstTabbableNode:f(n)||(u=a.nextTabbableNode(o))}}else u=O("fallbackFocus");u&&(f(n)&&n.preventDefault(),T(u))}(n,m.isKeyBackward(n))},A=function(n){var t=p(n);k(t,n)>=0||b(m.clickOutsideDeactivates,n)||b(m.allowOutsideClick,n)||(n.preventDefault(),n.stopImmediatePropagation())},R=function(){if(y.active)return function(n,t){if(n.length>0){var e=n[n.length-1];e!==t&&e.pause()}var r=n.indexOf(t);-1===r||n.splice(r,1),n.push(t)}(w,i),y.delayInitialFocusTimer=m.delayInitialFocus?v((function(){T(j())})):T(j()),c.addEventListener("focusin",P,!0),c.addEventListener("mousedown",E,{capture:!0,passive:!1}),c.addEventListener("touchstart",E,{capture:!0,passive:!1}),c.addEventListener("click",A,{capture:!0,passive:!1}),c.addEventListener("keydown",N,{capture:!0,passive:!1}),i},S=function(){if(y.active)return c.removeEventListener("focusin",P,!0),c.removeEventListener("mousedown",E,!0),c.removeEventListener("touchstart",E,!0),c.removeEventListener("click",A,!0),c.removeEventListener("keydown",N,!0),i};return(i={get active(){return y.active},get paused(){return y.paused},activate:function(n){if(y.active)return this;var t=F(n,"onActivate"),e=F(n,"onPostActivate"),r=F(n,"checkCanFocusTrap");r||D(),y.active=!0,y.paused=!1,y.nodeFocusedBeforeActivation=c.activeElement,null==t||t();var o=function(){r&&D(),R(),null==e||e()};return r?(r(y.containers.concat()).then(o,o),this):(o(),this)},deactivate:function(n){if(!y.active)return this;var t=a({onDeactivate:m.onDeactivate,onPostDeactivate:m.onPostDeactivate,checkCanReturnFocus:m.checkCanReturnFocus},n);clearTimeout(y.delayInitialFocusTimer),y.delayInitialFocusTimer=void 0,S(),y.active=!1,y.paused=!1,function(n,t){var e=n.indexOf(t);-1!==e&&n.splice(e,1),n.length>0&&n[n.length-1].unpause()}(w,i);var e=F(t,"onDeactivate"),r=F(t,"onPostDeactivate"),o=F(t,"checkCanReturnFocus"),u=F(t,"returnFocus","returnFocusOnDeactivate");null==e||e();var c=function(){v((function(){u&&T(g(y.nodeFocusedBeforeActivation)),null==r||r()}))};return u&&o?(o(g(y.nodeFocusedBeforeActivation)).then(c,c),this):(c(),this)},pause:function(n){if(y.paused||!y.active)return this;var t=F(n,"onPause"),e=F(n,"onPostPause");return y.paused=!0,null==t||t(),S(),null==e||e(),this},unpause:function(n){if(!y.paused||!y.active)return this;var t=F(n,"onUnpause"),e=F(n,"onPostUnpause");return y.paused=!1,null==t||t(),D(),R(),null==e||e(),this},updateContainerElements:function(n){var t=[].concat(n).filter(Boolean);return y.containers=t.map((function(n){return"string"==typeof n?c.querySelector(n):n})),y.active&&D(),this}}).updateContainerElements(o),i}(y,F)}function y(n,t){n.focusTrapDisabled||n.focusTrap?.activate(t)}function F(n,t){n.focusTrap?.deactivate(t)}function k(n){n.focusTrap?.updateContainerElements(n.el)}export{y as a,m as c,F as d,k as u}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.4.3-next.1
5
- */
6
- import{f as t}from"./p-f35a724d.js";import{c as o}from"./p-1a4a1a53.js";const n=new Set;let a;const s={childList:!0};function c(t){a||(a=o("mutation",i)),a.observe(t.el,s)}function f(t){n.delete(t.el),i(a.takeRecords()),a.disconnect();for(const[t]of n.entries())a.observe(t,s)}function i(o){o.forEach((({target:o})=>{t(o)}))}export{c,f as d}