@esri/calcite-components 1.0.0-beta.83 → 1.0.0-beta.86

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 (1073) hide show
  1. package/dist/calcite/assets/date-picker/nls/th.json +1 -1
  2. package/dist/calcite/assets/icon/changeDetection16.json +1 -0
  3. package/dist/calcite/assets/icon/changeDetection24.json +1 -0
  4. package/dist/calcite/assets/icon/changeDetection32.json +1 -0
  5. package/dist/calcite/assets/icon/imageDisplayOrder16.json +1 -0
  6. package/dist/calcite/assets/icon/imageDisplayOrder24.json +1 -0
  7. package/dist/calcite/assets/icon/imageDisplayOrder32.json +1 -0
  8. package/dist/calcite/assets/icon/numberCircle416.json +1 -0
  9. package/dist/calcite/assets/icon/numberCircle424.json +1 -0
  10. package/dist/calcite/assets/icon/numberCircle432.json +1 -0
  11. package/dist/calcite/assets/icon/numberCircle516.json +1 -0
  12. package/dist/calcite/assets/icon/numberCircle524.json +1 -0
  13. package/dist/calcite/assets/icon/numberCircle532.json +1 -0
  14. package/dist/calcite/assets/icon/numberCircle616.json +1 -0
  15. package/dist/calcite/assets/icon/numberCircle624.json +1 -0
  16. package/dist/calcite/assets/icon/numberCircle632.json +1 -0
  17. package/dist/calcite/assets/icon/numberCircle716.json +1 -0
  18. package/dist/calcite/assets/icon/numberCircle724.json +1 -0
  19. package/dist/calcite/assets/icon/numberCircle732.json +1 -0
  20. package/dist/calcite/assets/icon/numberCircle816.json +1 -0
  21. package/dist/calcite/assets/icon/numberCircle824.json +1 -0
  22. package/dist/calcite/assets/icon/numberCircle832.json +1 -0
  23. package/dist/calcite/assets/icon/numberCircle916.json +1 -0
  24. package/dist/calcite/assets/icon/numberCircle924.json +1 -0
  25. package/dist/calcite/assets/icon/numberCircle932.json +1 -0
  26. package/dist/calcite/assets/icon/showMultipleLayersAtATime16.json +1 -0
  27. package/dist/calcite/assets/icon/showMultipleLayersAtATime24.json +1 -0
  28. package/dist/calcite/assets/icon/showMultipleLayersAtATime32.json +1 -0
  29. package/dist/calcite/assets/icon/showOneLayerAtATime16.json +1 -0
  30. package/dist/calcite/assets/icon/showOneLayerAtATime24.json +1 -0
  31. package/dist/calcite/assets/icon/showOneLayerAtATime32.json +1 -0
  32. package/dist/calcite/calcite.esm.js +2 -2
  33. package/dist/calcite/calcite.js +1 -1
  34. package/dist/calcite/index.esm.js +1 -1
  35. package/dist/calcite/{p-7d8fe7b3.system.entry.js → p-03005912.system.entry.js} +2 -2
  36. package/dist/calcite/{p-2c974b60.js → p-038a1a34.js} +1 -1
  37. package/dist/calcite/{p-07587a94.system.entry.js → p-05acf942.system.entry.js} +2 -2
  38. package/dist/calcite/{p-46d30c39.system.js → p-078aa8cf.system.js} +1 -1
  39. package/dist/calcite/p-098bf101.entry.js +6 -0
  40. package/dist/calcite/p-0ac22887.js +6 -0
  41. package/dist/calcite/p-0d0ab1c5.system.entry.js +6 -0
  42. package/dist/calcite/{p-f7546789.system.js → p-12bca4f1.system.js} +1 -1
  43. package/dist/calcite/{p-3962123d.system.entry.js → p-15a9e209.system.entry.js} +2 -2
  44. package/dist/calcite/{p-1bc2d58d.system.js → p-17bb1d46.system.js} +1 -1
  45. package/dist/calcite/p-17c8a622.system.entry.js +6 -0
  46. package/dist/calcite/p-1b79a3a3.entry.js +6 -0
  47. package/dist/calcite/p-1b939beb.system.entry.js +6 -0
  48. package/dist/calcite/p-1e7d3d02.system.entry.js +6 -0
  49. package/dist/calcite/{p-0d37d621.system.entry.js → p-1e9d27fe.system.entry.js} +3 -3
  50. package/dist/calcite/{p-2fcac2cf.system.entry.js → p-1ef82cc5.system.entry.js} +2 -2
  51. package/dist/calcite/p-1f0bf183.system.entry.js +6 -0
  52. package/dist/calcite/{p-fd70b6c1.entry.js → p-1f289404.entry.js} +2 -2
  53. package/dist/calcite/p-22217b06.entry.js +6 -0
  54. package/dist/calcite/p-247f1abc.entry.js +6 -0
  55. package/dist/calcite/p-27f31e04.js +6 -0
  56. package/dist/calcite/p-283ed748.entry.js +6 -0
  57. package/dist/calcite/p-29122323.system.entry.js +6 -0
  58. package/dist/calcite/{p-2f82a677.system.js → p-29c3c079.system.js} +1 -1
  59. package/dist/calcite/p-29c6691b.js +6 -0
  60. package/dist/calcite/{p-7a8cddad.js → p-2c78140e.js} +1 -1
  61. package/dist/calcite/{p-57ccba45.system.js → p-2ce0209d.system.js} +1 -1
  62. package/dist/calcite/p-2d556f94.system.entry.js +6 -0
  63. package/dist/calcite/p-2d7b7215.system.entry.js +6 -0
  64. package/dist/calcite/p-2efde396.js +6 -0
  65. package/dist/calcite/p-2f717afb.js +6 -0
  66. package/dist/calcite/{p-6bcb5a71.system.entry.js → p-2f906310.system.entry.js} +2 -2
  67. package/dist/calcite/{p-e321018b.js → p-336d62ab.js} +1 -1
  68. package/dist/calcite/p-33e02930.entry.js +6 -0
  69. package/dist/calcite/{p-834f407d.system.entry.js → p-36183756.system.entry.js} +2 -2
  70. package/dist/calcite/p-36ee6a02.entry.js +6 -0
  71. package/dist/calcite/p-37f621e1.entry.js +6 -0
  72. package/dist/calcite/p-386d256d.entry.js +6 -0
  73. package/dist/calcite/p-39201c6f.entry.js +6 -0
  74. package/dist/calcite/p-40825758.entry.js +6 -0
  75. package/dist/calcite/p-40ddce6a.system.entry.js +6 -0
  76. package/dist/calcite/{p-358cba5a.system.entry.js → p-4178c522.system.entry.js} +2 -2
  77. package/dist/calcite/p-451e4a81.entry.js +6 -0
  78. package/dist/calcite/p-498af5d7.system.entry.js +6 -0
  79. package/dist/calcite/{p-78f2801c.entry.js → p-4a1a8fac.entry.js} +2 -2
  80. package/dist/calcite/{p-5afb0fbb.js → p-4c3e960e.js} +2 -2
  81. package/dist/calcite/p-4c62aae1.system.js +6 -0
  82. package/dist/calcite/p-4f206065.system.js +6 -0
  83. package/dist/calcite/{p-1eb6cfb5.entry.js → p-52474c34.entry.js} +2 -2
  84. package/dist/calcite/{p-85a769d3.system.entry.js → p-55b9c3d8.system.entry.js} +2 -2
  85. package/dist/calcite/p-58ba388d.entry.js +6 -0
  86. package/dist/calcite/{p-9d3f8b0c.system.entry.js → p-62f31a5a.system.entry.js} +2 -2
  87. package/dist/calcite/{p-98dc9493.entry.js → p-645da33b.entry.js} +2 -2
  88. package/dist/calcite/{p-ba349f22.system.js → p-64abac3a.system.js} +1 -1
  89. package/dist/calcite/p-660b54aa.system.js +6 -0
  90. package/dist/calcite/{p-2785ecb9.system.js → p-661fe743.system.js} +2 -2
  91. package/dist/calcite/{p-2e57803f.entry.js → p-667c6be1.entry.js} +2 -2
  92. package/dist/calcite/{p-e117fad1.system.entry.js → p-670df541.system.entry.js} +2 -2
  93. package/dist/calcite/{p-f9687b03.system.js → p-694231fe.system.js} +1 -1
  94. package/dist/calcite/{p-462cefe9.system.entry.js → p-6abdcefa.system.entry.js} +2 -2
  95. package/dist/calcite/{p-9c85d763.system.entry.js → p-6c4c7404.system.entry.js} +2 -2
  96. package/dist/calcite/{p-fd5a2277.entry.js → p-6e59222f.entry.js} +2 -2
  97. package/dist/calcite/p-6f3fad62.system.entry.js +6 -0
  98. package/dist/calcite/{p-7bbfe1a2.system.entry.js → p-705dcfd0.system.entry.js} +2 -2
  99. package/dist/calcite/{p-c86b91ca.entry.js → p-7124aeac.entry.js} +2 -2
  100. package/dist/calcite/{p-59122590.entry.js → p-718bec4c.entry.js} +2 -2
  101. package/dist/calcite/p-71df706c.system.entry.js +6 -0
  102. package/dist/calcite/p-7285074f.entry.js +6 -0
  103. package/dist/calcite/{p-4620ae05.entry.js → p-72ac5927.entry.js} +2 -2
  104. package/dist/calcite/{p-ef4ca55d.entry.js → p-72d06cc6.entry.js} +2 -2
  105. package/dist/calcite/{p-292c567d.js → p-741a874b.js} +1 -1
  106. package/dist/calcite/{p-5ae3ce21.system.entry.js → p-7624aeb6.system.entry.js} +2 -2
  107. package/dist/calcite/{p-77762ff3.system.js → p-786ca76b.system.js} +1 -1
  108. package/dist/calcite/p-78f82837.system.entry.js +6 -0
  109. package/dist/calcite/{p-f46cf640.js → p-7bdab3f4.js} +1 -1
  110. package/dist/calcite/{p-900fd30e.js → p-7f519a6f.js} +2 -2
  111. package/dist/calcite/{p-d1d05643.entry.js → p-81460471.entry.js} +2 -2
  112. package/dist/calcite/p-822445af.entry.js +6 -0
  113. package/dist/calcite/p-82655fe7.entry.js +6 -0
  114. package/dist/calcite/{p-e9e34c7f.system.entry.js → p-82c99865.entry.js} +2 -2
  115. package/dist/calcite/{p-8e2129c6.system.entry.js → p-8381e935.system.entry.js} +2 -2
  116. package/dist/calcite/{p-1755cd6f.entry.js → p-85fab359.entry.js} +2 -2
  117. package/dist/calcite/{p-773b540e.system.entry.js → p-869ceaf2.system.entry.js} +2 -2
  118. package/dist/calcite/p-8701d6ec.js +6 -0
  119. package/dist/calcite/p-881346ec.system.entry.js +6 -0
  120. package/dist/calcite/{p-d901c470.system.js → p-8a1593db.system.js} +1 -1
  121. package/dist/calcite/{p-3f80afb9.system.entry.js → p-8b8580be.system.entry.js} +3 -3
  122. package/dist/calcite/{p-994d99ff.system.js → p-8d7bcbbe.system.js} +1 -1
  123. package/dist/calcite/{p-4a88016c.system.entry.js → p-8d90241c.system.entry.js} +2 -2
  124. package/dist/calcite/{p-f54288ad.js → p-8e5b28c2.js} +1 -1
  125. package/dist/calcite/{p-5e07a875.system.entry.js → p-8e8279db.system.entry.js} +2 -2
  126. package/dist/calcite/p-8e962e28.system.js +6 -0
  127. package/dist/calcite/{p-ae6f5622.js → p-8f789b45.js} +1 -1
  128. package/dist/calcite/{p-a1118db1.entry.js → p-8f8f1f3c.entry.js} +2 -2
  129. package/dist/calcite/{p-1ba93966.system.js → p-9191aae7.system.js} +1 -1
  130. package/dist/calcite/p-92c0a612.entry.js +6 -0
  131. package/dist/calcite/{p-8dfe7af3.js → p-93fb8320.js} +2 -2
  132. package/dist/calcite/{p-fba2fa9f.system.js → p-94e059ed.system.js} +2 -2
  133. package/dist/calcite/p-97f24602.entry.js +6 -0
  134. package/dist/calcite/{p-0804ce36.system.entry.js → p-97fef747.system.entry.js} +2 -2
  135. package/dist/calcite/p-99306484.entry.js +6 -0
  136. package/dist/calcite/{p-26526a6d.system.entry.js → p-9c3e33db.system.entry.js} +2 -2
  137. package/dist/calcite/{p-191d0802.system.js → p-9d82f6ba.system.js} +2 -2
  138. package/dist/calcite/p-9e7c867f.entry.js +6 -0
  139. package/dist/calcite/p-a1dec328.system.entry.js +6 -0
  140. package/dist/calcite/{p-1a5fc48b.entry.js → p-a2b65dca.entry.js} +2 -2
  141. package/dist/calcite/{p-df419c8b.entry.js → p-a5318c00.entry.js} +2 -2
  142. package/dist/calcite/p-a574d688.entry.js +6 -0
  143. package/dist/calcite/p-a6da6fa9.entry.js +6 -0
  144. package/dist/calcite/{p-0e1c259f.system.entry.js → p-a6ec6d30.system.entry.js} +2 -2
  145. package/dist/calcite/{p-5b60d64c.system.entry.js → p-a792b4d4.system.entry.js} +2 -2
  146. package/dist/calcite/p-a8d26072.entry.js +6 -0
  147. package/dist/calcite/p-a8e86b7c.system.js +6 -0
  148. package/dist/calcite/p-a930b4c7.system.entry.js +6 -0
  149. package/dist/calcite/p-aa40e505.entry.js +6 -0
  150. package/dist/calcite/p-ad42a290.system.entry.js +6 -0
  151. package/dist/calcite/{p-edf3436f.js → p-ae579245.js} +2 -2
  152. package/dist/calcite/p-afa96d7b.entry.js +6 -0
  153. package/dist/calcite/p-b3b7d99f.entry.js +6 -0
  154. package/dist/calcite/{p-4f82d10a.system.entry.js → p-b3c08277.system.entry.js} +2 -2
  155. package/dist/calcite/{p-3981a495.js → p-b4afbab0.js} +1 -1
  156. package/dist/calcite/{p-a75ad7cb.system.js → p-ba04d4a6.system.js} +1 -1
  157. package/dist/calcite/{p-2778cb53.entry.js → p-bae5371e.entry.js} +2 -2
  158. package/dist/calcite/p-bbad2c78.entry.js +6 -0
  159. package/dist/calcite/p-bbbf6fcb.system.entry.js +6 -0
  160. package/dist/calcite/p-bbc195d0.system.entry.js +6 -0
  161. package/dist/calcite/p-bc9c9c9b.js +6 -0
  162. package/dist/calcite/{p-e3076302.system.js → p-bdbeb0b8.system.js} +3 -3
  163. package/dist/calcite/{p-5904a047.entry.js → p-be0b7ae8.entry.js} +2 -2
  164. package/dist/calcite/{p-636e43ac.system.entry.js → p-bed13ccd.system.entry.js} +2 -2
  165. package/dist/calcite/p-c075111b.system.entry.js +6 -0
  166. package/dist/calcite/{p-ed0608ea.system.entry.js → p-c09197e1.system.entry.js} +2 -2
  167. package/dist/calcite/{p-6d41e372.system.entry.js → p-c3200434.system.entry.js} +2 -2
  168. package/dist/calcite/{p-c1548c19.js → p-c7e8f753.js} +2 -2
  169. package/dist/calcite/{p-eda11878.entry.js → p-cda3843c.entry.js} +2 -2
  170. package/dist/calcite/p-cfbd1180.entry.js +6 -0
  171. package/dist/calcite/p-d1fef3a5.entry.js +6 -0
  172. package/dist/calcite/{p-2fd30fee.entry.js → p-d313af3b.entry.js} +2 -2
  173. package/dist/calcite/{p-63d2bcec.system.entry.js → p-d69560ee.system.entry.js} +2 -2
  174. package/dist/calcite/{p-acafe8ca.system.js → p-d713b734.system.js} +1 -1
  175. package/dist/calcite/p-d7614205.entry.js +6 -0
  176. package/dist/calcite/{p-3b54c4a0.system.entry.js → p-d8cca171.system.entry.js} +2 -2
  177. package/dist/calcite/{p-9634f60d.entry.js → p-d8d3ee29.entry.js} +2 -2
  178. package/dist/calcite/p-d91ab8b3.system.entry.js +6 -0
  179. package/dist/calcite/p-da045e5a.system.js +6 -0
  180. package/dist/calcite/p-da603fb6.system.js +6 -0
  181. package/dist/calcite/{p-132b60fd.system.entry.js → p-dc5681bd.system.entry.js} +2 -2
  182. package/dist/calcite/{p-9ba769e3.system.entry.js → p-dda6305e.system.entry.js} +2 -2
  183. package/dist/calcite/{p-476e276f.entry.js → p-dfd66185.entry.js} +2 -2
  184. package/dist/calcite/{p-caea0782.js → p-e2a9bc3c.js} +1 -1
  185. package/dist/calcite/p-e4a9f3a3.entry.js +6 -0
  186. package/dist/calcite/p-e5100a68.system.entry.js +6 -0
  187. package/dist/calcite/p-e55af056.entry.js +6 -0
  188. package/dist/calcite/{p-4effc6db.js → p-e6ad54a7.js} +1 -1
  189. package/dist/calcite/{p-f1935a52.entry.js → p-ec0ff216.entry.js} +2 -2
  190. package/dist/calcite/{p-0cbdfc7e.entry.js → p-ee4221f2.entry.js} +2 -2
  191. package/dist/calcite/p-ef596bf4.system.js +6 -0
  192. package/dist/calcite/p-f00b1294.entry.js +6 -0
  193. package/dist/calcite/{p-feb71776.system.entry.js → p-f1b829e3.system.entry.js} +2 -2
  194. package/dist/calcite/p-f29e929e.system.entry.js +6 -0
  195. package/dist/calcite/{p-a73419ab.js → p-f54622d6.js} +1 -1
  196. package/dist/calcite/{p-ccb5a784.js → p-f70b3399.js} +1 -1
  197. package/dist/calcite/p-f8798ee9.system.js +6 -0
  198. package/dist/calcite/{p-45b6d321.entry.js → p-fcbb3104.entry.js} +2 -2
  199. package/dist/calcite/p-fe758da5.system.entry.js +6 -0
  200. package/dist/calcite/{p-515e5f7e.system.entry.js → p-ffc4d4f5.system.entry.js} +2 -2
  201. package/dist/cjs/{ExpandToggle-988c63cd.js → ExpandToggle-62479ccb.js} +5 -5
  202. package/dist/cjs/{Heading-19d7669b.js → Heading-f792c5a6.js} +3 -3
  203. package/dist/cjs/{array-d5bca414.js → array-b72d7dd3.js} +1 -1
  204. package/dist/cjs/calcite-accordion_2.cjs.entry.js +25 -16
  205. package/dist/cjs/calcite-action-bar.cjs.entry.js +16 -15
  206. package/dist/cjs/calcite-action-group.cjs.entry.js +11 -11
  207. package/dist/cjs/calcite-action-menu.cjs.entry.js +12 -12
  208. package/dist/cjs/calcite-action-pad.cjs.entry.js +15 -14
  209. package/dist/cjs/calcite-action.cjs.entry.js +17 -16
  210. package/dist/cjs/calcite-alert.cjs.entry.js +49 -25
  211. package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
  212. package/dist/cjs/calcite-block_2.cjs.entry.js +18 -12
  213. package/dist/cjs/calcite-button.cjs.entry.js +10 -9
  214. package/dist/cjs/calcite-card.cjs.entry.js +7 -7
  215. package/dist/cjs/calcite-checkbox.cjs.entry.js +7 -7
  216. package/dist/cjs/calcite-chip.cjs.entry.js +18 -9
  217. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +41 -32
  218. package/dist/cjs/calcite-combobox_3.cjs.entry.js +96 -45
  219. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +34 -15
  220. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +63 -22
  221. package/dist/cjs/calcite-fab.cjs.entry.js +5 -5
  222. package/dist/cjs/calcite-filter.cjs.entry.js +7 -7
  223. package/dist/cjs/calcite-flow.cjs.entry.js +18 -11
  224. package/dist/cjs/calcite-graph_2.cjs.entry.js +10 -10
  225. package/dist/cjs/calcite-handle.cjs.entry.js +6 -5
  226. package/dist/cjs/calcite-icon.cjs.entry.js +5 -5
  227. package/dist/cjs/calcite-inline-editable.cjs.entry.js +7 -7
  228. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +37 -21
  229. package/dist/cjs/calcite-input-message.cjs.entry.js +4 -4
  230. package/dist/cjs/calcite-input-number.cjs.entry.js +531 -0
  231. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +59 -46
  232. package/dist/cjs/calcite-input.cjs.entry.js +76 -48
  233. package/dist/cjs/calcite-label.cjs.entry.js +12 -8
  234. package/dist/cjs/calcite-link.cjs.entry.js +5 -5
  235. package/dist/cjs/calcite-list_3.cjs.entry.js +11 -11
  236. package/dist/cjs/calcite-loader.cjs.entry.js +9 -9
  237. package/dist/cjs/calcite-modal.cjs.entry.js +31 -22
  238. package/dist/cjs/calcite-notice.cjs.entry.js +21 -15
  239. package/dist/cjs/calcite-option_3.cjs.entry.js +10 -10
  240. package/dist/cjs/calcite-pagination.cjs.entry.js +13 -13
  241. package/dist/cjs/calcite-panel.cjs.entry.js +36 -25
  242. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +25 -25
  243. package/dist/cjs/calcite-popover_2.cjs.entry.js +29 -25
  244. package/dist/cjs/calcite-progress.cjs.entry.js +5 -5
  245. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
  246. package/dist/cjs/calcite-radio-button.cjs.entry.js +8 -8
  247. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +12 -9
  248. package/dist/cjs/calcite-rating.cjs.entry.js +26 -12
  249. package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
  250. package/dist/cjs/calcite-shell_3.cjs.entry.js +7 -7
  251. package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
  252. package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
  253. package/dist/cjs/calcite-stepper_2.cjs.entry.js +50 -17
  254. package/dist/cjs/calcite-switch.cjs.entry.js +7 -7
  255. package/dist/cjs/calcite-tab_4.cjs.entry.js +16 -16
  256. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +6 -5
  257. package/dist/cjs/calcite-tile.cjs.entry.js +7 -7
  258. package/dist/cjs/calcite-tip_3.cjs.entry.js +7 -7
  259. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +11 -11
  260. package/dist/cjs/calcite-tree_2.cjs.entry.js +15 -15
  261. package/dist/cjs/calcite-value-list_2.cjs.entry.js +99 -34
  262. package/dist/cjs/calcite.cjs.js +4 -4
  263. package/dist/cjs/{conditionalSlot-462ae1f4.js → conditionalSlot-d1eb82ce.js} +3 -3
  264. package/dist/cjs/{debounce-5127bc67.js → debounce-d2139fc6.js} +1 -1
  265. package/dist/cjs/{dom-b0904219.js → dom-99c1b44d.js} +3 -30
  266. package/dist/cjs/{forIn-265c8eb3.js → forIn-9ac96598.js} +2 -2
  267. package/dist/cjs/{form-4c32a5c7.js → form-4d1ef8c2.js} +8 -5
  268. package/dist/cjs/{guid-8af0f93c.js → guid-609f1c0d.js} +1 -1
  269. package/dist/cjs/{index-82ee13f7.js → index-68ddfe8e.js} +1 -1
  270. package/dist/cjs/index.cjs.js +1 -1
  271. package/dist/cjs/{interactive-15f9fd28.js → interactive-d1ef280c.js} +1 -1
  272. package/dist/cjs/{interfaces-86334104.js → interfaces-a3bdc804.js} +1 -1
  273. package/dist/cjs/key-017aa5b0.js +14 -0
  274. package/dist/cjs/{label-131d9cce.js → label-e24023c6.js} +2 -2
  275. package/dist/cjs/loader.cjs.js +4 -4
  276. package/dist/cjs/locale-2d8feb15.js +262 -0
  277. package/dist/cjs/{math-2f83830f.js → math-7fe3e64d.js} +1 -1
  278. package/dist/cjs/{observers-f672f664.js → observers-aa7367df.js} +1 -1
  279. package/dist/cjs/{popper-5ca144d4.js → popper-f29f9a3b.js} +2 -2
  280. package/dist/cjs/{resources-0de59f13.js → resources-0c0019fb.js} +13 -19
  281. package/dist/cjs/{resources-24a7ca1a.js → resources-9aaa6e0a.js} +3 -3
  282. package/dist/cjs/{resources-06f33bd4.js → resources-a7f0af25.js} +1 -1
  283. package/dist/cjs/{resources-08dc0a5e.js → resources-b4ed54b9.js} +1 -1
  284. package/dist/cjs/{sortable.esm-8e944897.js → sortable.esm-6dc17794.js} +1 -1
  285. package/dist/cjs/{utils-f3a37c0a.js → utils-53d98078.js} +1 -1
  286. package/dist/collection/collection-manifest.json +7 -1
  287. package/dist/collection/components/accordion/accordion.js +14 -14
  288. package/dist/collection/components/accordion/interfaces.js +1 -1
  289. package/dist/collection/components/accordion-item/accordion-item.css +55 -18
  290. package/dist/collection/components/accordion-item/accordion-item.js +84 -14
  291. package/dist/collection/components/action/action.css +37 -11
  292. package/dist/collection/components/action/action.js +24 -23
  293. package/dist/collection/components/action/resources.js +1 -1
  294. package/dist/collection/components/action-bar/action-bar.css +1 -0
  295. package/dist/collection/components/action-bar/action-bar.js +14 -13
  296. package/dist/collection/components/action-bar/resources.js +1 -1
  297. package/dist/collection/components/action-bar/utils.js +1 -1
  298. package/dist/collection/components/action-group/action-group.css +1 -1
  299. package/dist/collection/components/action-group/action-group.js +11 -11
  300. package/dist/collection/components/action-group/resources.js +1 -1
  301. package/dist/collection/components/action-menu/action-menu.css +2 -1
  302. package/dist/collection/components/action-menu/action-menu.js +12 -12
  303. package/dist/collection/components/action-menu/resources.js +1 -1
  304. package/dist/collection/components/action-pad/action-pad.css +1 -0
  305. package/dist/collection/components/action-pad/action-pad.js +16 -15
  306. package/dist/collection/components/action-pad/resources.js +1 -1
  307. package/dist/collection/components/alert/alert.css +26 -14
  308. package/dist/collection/components/alert/alert.js +111 -43
  309. package/dist/collection/components/alert/interfaces.js +1 -1
  310. package/dist/collection/components/alert/resources.js +4 -1
  311. package/dist/collection/components/avatar/avatar.js +7 -7
  312. package/dist/collection/components/avatar/utils.js +1 -1
  313. package/dist/collection/components/block/block.css +6 -2
  314. package/dist/collection/components/block/block.js +49 -6
  315. package/dist/collection/components/block/resources.js +2 -1
  316. package/dist/collection/components/block-section/block-section.css +6 -3
  317. package/dist/collection/components/block-section/block-section.js +1 -1
  318. package/dist/collection/components/block-section/interfaces.js +1 -1
  319. package/dist/collection/components/block-section/resources.js +1 -1
  320. package/dist/collection/components/button/button.css +115 -54
  321. package/dist/collection/components/button/button.js +3 -2
  322. package/dist/collection/components/button/interfaces.js +1 -1
  323. package/dist/collection/components/button/resources.js +1 -1
  324. package/dist/collection/components/card/card.css +15 -7
  325. package/dist/collection/components/card/card.js +1 -1
  326. package/dist/collection/components/card/resources.js +1 -1
  327. package/dist/collection/components/checkbox/checkbox.css +3 -2
  328. package/dist/collection/components/checkbox/checkbox.js +1 -1
  329. package/dist/collection/components/chip/chip.css +8 -2
  330. package/dist/collection/components/chip/chip.js +52 -4
  331. package/dist/collection/components/chip/interfaces.js +1 -1
  332. package/dist/collection/components/chip/resources.js +1 -1
  333. package/dist/collection/components/color-picker/color-picker.css +1 -0
  334. package/dist/collection/components/color-picker/color-picker.js +49 -23
  335. package/dist/collection/components/color-picker/interfaces.js +1 -1
  336. package/dist/collection/components/color-picker/resources.js +1 -1
  337. package/dist/collection/components/color-picker/utils.js +1 -1
  338. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +19 -2
  339. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  340. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  341. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  342. package/dist/collection/components/combobox/combobox.css +10 -2
  343. package/dist/collection/components/combobox/combobox.js +179 -49
  344. package/dist/collection/components/combobox/interfaces.js +1 -1
  345. package/dist/collection/components/combobox/resources.js +3 -2
  346. package/dist/collection/components/combobox/utils.js +1 -1
  347. package/dist/collection/components/combobox-item/combobox-item.css +8 -2
  348. package/dist/collection/components/combobox-item/combobox-item.js +22 -2
  349. package/dist/collection/components/combobox-item/resources.js +1 -1
  350. package/dist/collection/components/combobox-item-group/combobox-item-group.css +6 -1
  351. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  352. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  353. package/dist/collection/components/date-picker/assets/date-picker/nls/th.json +1 -1
  354. package/dist/collection/components/date-picker/date-picker.js +1 -1
  355. package/dist/collection/components/date-picker/interfaces.js +1 -1
  356. package/dist/collection/components/date-picker/resources.js +1 -1
  357. package/dist/collection/components/date-picker/utils.js +1 -1
  358. package/dist/collection/components/date-picker-day/date-picker-day.css +18 -9
  359. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  360. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  361. package/dist/collection/components/date-picker-month-header/date-picker-month-header.css +4 -2
  362. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +25 -7
  363. package/dist/collection/components/date-picker-month-header/resources.js +6 -0
  364. package/dist/collection/components/dropdown/dropdown.css +10 -1
  365. package/dist/collection/components/dropdown/dropdown.js +130 -23
  366. package/dist/collection/components/dropdown/interfaces.js +1 -1
  367. package/dist/collection/components/dropdown/resources.js +4 -1
  368. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  369. package/dist/collection/components/dropdown-group/interfaces.js +1 -1
  370. package/dist/collection/components/dropdown-group/resources.js +1 -1
  371. package/dist/collection/components/dropdown-item/dropdown-item.css +16 -11
  372. package/dist/collection/components/dropdown-item/dropdown-item.js +3 -2
  373. package/dist/collection/components/dropdown-item/resources.js +1 -1
  374. package/dist/collection/components/fab/fab.js +1 -1
  375. package/dist/collection/components/fab/resources.js +1 -1
  376. package/dist/collection/components/filter/filter.css +1 -1
  377. package/dist/collection/components/filter/filter.js +1 -1
  378. package/dist/collection/components/filter/resources.js +1 -1
  379. package/dist/collection/components/flow/flow.js +17 -10
  380. package/dist/collection/components/flow/interfaces.js +1 -1
  381. package/dist/collection/components/flow/resources.js +1 -1
  382. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  383. package/dist/collection/components/functional/Heading.js +2 -2
  384. package/dist/collection/components/graph/graph.js +1 -1
  385. package/dist/collection/components/graph/interfaces.js +1 -1
  386. package/dist/collection/components/graph/util.js +1 -1
  387. package/dist/collection/components/handle/handle.js +3 -2
  388. package/dist/collection/components/handle/resources.js +1 -1
  389. package/dist/collection/components/icon/assets/icon/changeDetection16.json +1 -0
  390. package/dist/collection/components/icon/assets/icon/changeDetection24.json +1 -0
  391. package/dist/collection/components/icon/assets/icon/changeDetection32.json +1 -0
  392. package/dist/collection/components/icon/assets/icon/imageDisplayOrder16.json +1 -0
  393. package/dist/collection/components/icon/assets/icon/imageDisplayOrder24.json +1 -0
  394. package/dist/collection/components/icon/assets/icon/imageDisplayOrder32.json +1 -0
  395. package/dist/collection/components/icon/assets/icon/numberCircle416.json +1 -0
  396. package/dist/collection/components/icon/assets/icon/numberCircle424.json +1 -0
  397. package/dist/collection/components/icon/assets/icon/numberCircle432.json +1 -0
  398. package/dist/collection/components/icon/assets/icon/numberCircle516.json +1 -0
  399. package/dist/collection/components/icon/assets/icon/numberCircle524.json +1 -0
  400. package/dist/collection/components/icon/assets/icon/numberCircle532.json +1 -0
  401. package/dist/collection/components/icon/assets/icon/numberCircle616.json +1 -0
  402. package/dist/collection/components/icon/assets/icon/numberCircle624.json +1 -0
  403. package/dist/collection/components/icon/assets/icon/numberCircle632.json +1 -0
  404. package/dist/collection/components/icon/assets/icon/numberCircle716.json +1 -0
  405. package/dist/collection/components/icon/assets/icon/numberCircle724.json +1 -0
  406. package/dist/collection/components/icon/assets/icon/numberCircle732.json +1 -0
  407. package/dist/collection/components/icon/assets/icon/numberCircle816.json +1 -0
  408. package/dist/collection/components/icon/assets/icon/numberCircle824.json +1 -0
  409. package/dist/collection/components/icon/assets/icon/numberCircle832.json +1 -0
  410. package/dist/collection/components/icon/assets/icon/numberCircle916.json +1 -0
  411. package/dist/collection/components/icon/assets/icon/numberCircle924.json +1 -0
  412. package/dist/collection/components/icon/assets/icon/numberCircle932.json +1 -0
  413. package/dist/collection/components/icon/assets/icon/showMultipleLayersAtATime16.json +1 -0
  414. package/dist/collection/components/icon/assets/icon/showMultipleLayersAtATime24.json +1 -0
  415. package/dist/collection/components/icon/assets/icon/showMultipleLayersAtATime32.json +1 -0
  416. package/dist/collection/components/icon/assets/icon/showOneLayerAtATime16.json +1 -0
  417. package/dist/collection/components/icon/assets/icon/showOneLayerAtATime24.json +1 -0
  418. package/dist/collection/components/icon/assets/icon/showOneLayerAtATime32.json +1 -0
  419. package/dist/collection/components/icon/icon.js +1 -1
  420. package/dist/collection/components/icon/resources.js +1 -1
  421. package/dist/collection/components/icon/utils.js +1 -1
  422. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  423. package/dist/collection/components/inline-editable/resources.js +1 -1
  424. package/dist/collection/components/input/input.css +33 -20
  425. package/dist/collection/components/input/input.js +151 -71
  426. package/dist/collection/components/input/interfaces.js +1 -1
  427. package/dist/collection/components/input/resources.js +1 -1
  428. package/dist/collection/components/input-date-picker/input-date-picker.js +46 -11
  429. package/dist/collection/components/input-date-picker/resources.js +9 -0
  430. package/dist/collection/components/input-message/input-message.js +1 -1
  431. package/dist/collection/components/input-message/interfaces.js +1 -1
  432. package/dist/collection/components/input-number/input-number.css +509 -0
  433. package/dist/collection/components/input-number/input-number.js +1251 -0
  434. package/dist/collection/components/input-number/interfaces.js +6 -0
  435. package/dist/collection/components/input-number/resources.js +27 -0
  436. package/dist/collection/components/input-time-picker/input-time-picker.js +45 -10
  437. package/dist/collection/components/interfaces.js +1 -1
  438. package/dist/collection/components/label/label.css +26 -6
  439. package/dist/collection/components/label/label.js +20 -13
  440. package/dist/collection/components/label/resources.js +1 -1
  441. package/dist/collection/components/link/link.css +8 -4
  442. package/dist/collection/components/link/link.js +1 -1
  443. package/dist/collection/components/list/list.js +5 -4
  444. package/dist/collection/components/list/resources.js +1 -1
  445. package/dist/collection/components/list-item/list-item.css +20 -9
  446. package/dist/collection/components/list-item/list-item.js +12 -12
  447. package/dist/collection/components/list-item/resources.js +1 -1
  448. package/dist/collection/components/list-item-group/list-item-group.js +3 -3
  449. package/dist/collection/components/list-item-group/resources.js +1 -1
  450. package/dist/collection/components/loader/loader.css +1 -1
  451. package/dist/collection/components/loader/loader.js +17 -17
  452. package/dist/collection/components/modal/interfaces.js +1 -1
  453. package/dist/collection/components/modal/modal.css +28 -17
  454. package/dist/collection/components/modal/modal.js +62 -30
  455. package/dist/collection/components/modal/resources.js +1 -1
  456. package/dist/collection/components/notice/notice.css +18 -10
  457. package/dist/collection/components/notice/notice.js +49 -22
  458. package/dist/collection/components/notice/resources.js +1 -1
  459. package/dist/collection/components/option/option.js +6 -6
  460. package/dist/collection/components/option-group/option-group.js +4 -4
  461. package/dist/collection/components/pagination/pagination.css +24 -13
  462. package/dist/collection/components/pagination/pagination.js +20 -20
  463. package/dist/collection/components/pagination/resources.js +1 -1
  464. package/dist/collection/components/panel/panel.css +10 -7
  465. package/dist/collection/components/panel/panel.js +114 -40
  466. package/dist/collection/components/panel/resources.js +2 -1
  467. package/dist/collection/components/pick-list/pick-list.js +18 -18
  468. package/dist/collection/components/pick-list/resources.js +1 -1
  469. package/dist/collection/components/pick-list/shared-list-logic.js +5 -1
  470. package/dist/collection/components/pick-list/shared-list-render.js +4 -15
  471. package/dist/collection/components/pick-list-group/pick-list-group.css +2 -1
  472. package/dist/collection/components/pick-list-group/pick-list-group.js +3 -3
  473. package/dist/collection/components/pick-list-group/resources.js +1 -1
  474. package/dist/collection/components/pick-list-item/pick-list-item.css +2 -1
  475. package/dist/collection/components/pick-list-item/pick-list-item.js +23 -23
  476. package/dist/collection/components/pick-list-item/resources.js +1 -1
  477. package/dist/collection/components/popover/PopoverManager.js +3 -4
  478. package/dist/collection/components/popover/popover.css +2 -1
  479. package/dist/collection/components/popover/popover.js +62 -37
  480. package/dist/collection/components/popover/resources.js +1 -1
  481. package/dist/collection/components/popover-manager/popover-manager.js +1 -1
  482. package/dist/collection/components/progress/progress.css +2 -1
  483. package/dist/collection/components/progress/progress.js +9 -9
  484. package/dist/collection/components/radio-button/radio-button.js +1 -1
  485. package/dist/collection/components/radio-button/resources.js +1 -1
  486. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  487. package/dist/collection/components/radio-group/interfaces.js +1 -1
  488. package/dist/collection/components/radio-group/radio-group.css +2 -1
  489. package/dist/collection/components/radio-group/radio-group.js +10 -4
  490. package/dist/collection/components/radio-group-item/radio-group-item.css +14 -0
  491. package/dist/collection/components/radio-group-item/radio-group-item.js +2 -2
  492. package/dist/collection/components/radio-group-item/resources.js +1 -1
  493. package/dist/collection/components/rating/rating.js +20 -6
  494. package/dist/collection/components/rating/resources.js +1 -1
  495. package/dist/collection/components/scrim/resources.js +1 -1
  496. package/dist/collection/components/scrim/scrim.js +1 -1
  497. package/dist/collection/components/select/resources.js +1 -1
  498. package/dist/collection/components/select/select.js +1 -1
  499. package/dist/collection/components/shell/resources.js +1 -1
  500. package/dist/collection/components/shell/shell.css +7 -3
  501. package/dist/collection/components/shell/shell.js +1 -1
  502. package/dist/collection/components/shell-center-row/resources.js +1 -1
  503. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  504. package/dist/collection/components/shell-panel/resources.js +1 -1
  505. package/dist/collection/components/shell-panel/shell-panel.css +11 -4
  506. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  507. package/dist/collection/components/slider/slider.css +18 -8
  508. package/dist/collection/components/slider/slider.js +2 -2
  509. package/dist/collection/components/sortable-list/resources.js +1 -1
  510. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  511. package/dist/collection/components/split-button/resources.js +1 -1
  512. package/dist/collection/components/split-button/split-button.js +1 -1
  513. package/dist/collection/components/stepper/interfaces.js +1 -1
  514. package/dist/collection/components/stepper/stepper.js +48 -9
  515. package/dist/collection/components/stepper-item/stepper-item.css +23 -15
  516. package/dist/collection/components/stepper-item/stepper-item.js +107 -12
  517. package/dist/collection/components/switch/switch.css +2 -1
  518. package/dist/collection/components/switch/switch.js +1 -1
  519. package/dist/collection/components/tab/interfaces.js +1 -1
  520. package/dist/collection/components/tab/tab.js +1 -1
  521. package/dist/collection/components/tab-nav/tab-nav.css +15 -4
  522. package/dist/collection/components/tab-nav/tab-nav.js +6 -6
  523. package/dist/collection/components/tab-title/tab-title.css +49 -13
  524. package/dist/collection/components/tab-title/tab-title.js +3 -4
  525. package/dist/collection/components/tabs/interfaces.js +1 -1
  526. package/dist/collection/components/tabs/resources.js +1 -1
  527. package/dist/collection/components/tabs/tabs.css +28 -0
  528. package/dist/collection/components/tabs/tabs.js +7 -6
  529. package/dist/collection/components/tile/resources.js +1 -1
  530. package/dist/collection/components/tile/tile.css +4 -2
  531. package/dist/collection/components/tile/tile.js +1 -1
  532. package/dist/collection/components/tile-select/interfaces.js +1 -1
  533. package/dist/collection/components/tile-select/resources.js +1 -1
  534. package/dist/collection/components/tile-select/tile-select.css +2 -1
  535. package/dist/collection/components/tile-select/tile-select.js +3 -2
  536. package/dist/collection/components/tile-select-group/interfaces.js +1 -1
  537. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  538. package/dist/collection/components/time-picker/resources.js +1 -1
  539. package/dist/collection/components/time-picker/time-picker.css +8 -5
  540. package/dist/collection/components/time-picker/time-picker.js +1 -1
  541. package/dist/collection/components/tip/resources.js +1 -1
  542. package/dist/collection/components/tip/tip.css +4 -2
  543. package/dist/collection/components/tip/tip.js +1 -1
  544. package/dist/collection/components/tip-group/tip-group.js +1 -1
  545. package/dist/collection/components/tip-manager/resources.js +1 -1
  546. package/dist/collection/components/tip-manager/tip-manager.css +2 -1
  547. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  548. package/dist/collection/components/tooltip/TooltipManager.js +2 -2
  549. package/dist/collection/components/tooltip/resources.js +1 -1
  550. package/dist/collection/components/tooltip/tooltip.js +12 -12
  551. package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
  552. package/dist/collection/components/tree/interfaces.js +1 -1
  553. package/dist/collection/components/tree/tree.css +3 -0
  554. package/dist/collection/components/tree/tree.js +8 -8
  555. package/dist/collection/components/tree-item/interfaces.js +1 -1
  556. package/dist/collection/components/tree-item/resources.js +1 -1
  557. package/dist/collection/components/tree-item/tree-item.css +22 -9
  558. package/dist/collection/components/tree-item/tree-item.js +8 -8
  559. package/dist/collection/components/value-list/interfaces.js +6 -0
  560. package/dist/collection/components/value-list/resources.js +1 -1
  561. package/dist/collection/components/value-list/utils.js +49 -0
  562. package/dist/collection/components/value-list/value-list.js +116 -26
  563. package/dist/collection/components/value-list-item/resources.js +1 -1
  564. package/dist/collection/components/value-list-item/value-list-item.css +2 -1
  565. package/dist/collection/components/value-list-item/value-list-item.js +18 -18
  566. package/dist/collection/utils/array.js +1 -1
  567. package/dist/collection/utils/conditionalSlot.js +1 -1
  568. package/dist/collection/utils/date.js +1 -1
  569. package/dist/collection/utils/dom.js +2 -28
  570. package/dist/collection/utils/filter.js +3 -3
  571. package/dist/collection/utils/form.js +6 -3
  572. package/dist/collection/utils/globalAttributes.js +1 -1
  573. package/dist/collection/utils/guid.js +1 -1
  574. package/dist/collection/utils/interactive.js +1 -1
  575. package/dist/collection/utils/key.js +1 -1
  576. package/dist/collection/utils/label.js +1 -1
  577. package/dist/collection/utils/locale.js +8 -9
  578. package/dist/collection/utils/math.js +1 -1
  579. package/dist/collection/utils/number.js +71 -8
  580. package/dist/collection/utils/observers.js +1 -1
  581. package/dist/collection/utils/openCloseComponent.js +6 -0
  582. package/dist/collection/utils/popper.js +1 -1
  583. package/dist/collection/utils/resources.js +1 -1
  584. package/dist/collection/utils/time.js +1 -1
  585. package/dist/components/ExpandToggle.js +1 -1
  586. package/dist/components/Heading.js +2 -2
  587. package/dist/components/action-group.js +4 -4
  588. package/dist/components/action-menu.js +5 -5
  589. package/dist/components/action.js +12 -11
  590. package/dist/components/array.js +1 -1
  591. package/dist/components/button.js +4 -3
  592. package/dist/components/calcite-accordion-item.js +19 -7
  593. package/dist/components/calcite-accordion.js +8 -8
  594. package/dist/components/calcite-action-bar.js +7 -6
  595. package/dist/components/calcite-action-group.js +1 -1
  596. package/dist/components/calcite-action-menu.js +1 -1
  597. package/dist/components/calcite-action-pad.js +7 -6
  598. package/dist/components/calcite-action.js +1 -1
  599. package/dist/components/calcite-alert.js +45 -21
  600. package/dist/components/calcite-avatar.js +3 -3
  601. package/dist/components/calcite-block-section.js +1 -1
  602. package/dist/components/calcite-block.js +14 -6
  603. package/dist/components/calcite-button.js +1 -1
  604. package/dist/components/calcite-card.js +2 -2
  605. package/dist/components/calcite-checkbox.js +1 -1
  606. package/dist/components/calcite-chip.js +1 -1
  607. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  608. package/dist/components/calcite-color-picker-swatch.js +1 -1
  609. package/dist/components/calcite-color-picker.js +34 -24
  610. package/dist/components/calcite-combobox-item-group.js +2 -2
  611. package/dist/components/calcite-combobox-item.js +3 -2
  612. package/dist/components/calcite-combobox.js +85 -32
  613. package/dist/components/calcite-date-picker-day.js +1 -1
  614. package/dist/components/calcite-date-picker-month-header.js +1 -1
  615. package/dist/components/calcite-date-picker-month.js +1 -1
  616. package/dist/components/calcite-date-picker.js +1 -1
  617. package/dist/components/calcite-dropdown-group.js +1 -1
  618. package/dist/components/calcite-dropdown-item.js +4 -3
  619. package/dist/components/calcite-dropdown.js +1 -1
  620. package/dist/components/calcite-fab.js +1 -1
  621. package/dist/components/calcite-filter.js +1 -1
  622. package/dist/components/calcite-flow.js +17 -10
  623. package/dist/components/calcite-graph.js +1 -1
  624. package/dist/components/calcite-handle.js +1 -1
  625. package/dist/components/calcite-icon.js +1 -1
  626. package/dist/components/calcite-inline-editable.js +1 -1
  627. package/dist/components/calcite-input-date-picker.js +31 -14
  628. package/dist/components/calcite-input-message.js +1 -1
  629. package/dist/components/calcite-input-number.d.ts +11 -0
  630. package/dist/components/calcite-input-number.js +592 -0
  631. package/dist/components/calcite-input-time-picker.js +22 -9
  632. package/dist/components/calcite-input.js +1 -1
  633. package/dist/components/calcite-label.js +1 -1
  634. package/dist/components/calcite-link.js +1 -1
  635. package/dist/components/calcite-list-item-group.js +1 -1
  636. package/dist/components/calcite-list-item.js +3 -3
  637. package/dist/components/calcite-list.js +2 -2
  638. package/dist/components/calcite-loader.js +1 -1
  639. package/dist/components/calcite-modal.js +28 -18
  640. package/dist/components/calcite-notice.js +16 -9
  641. package/dist/components/calcite-option-group.js +2 -2
  642. package/dist/components/calcite-option.js +2 -2
  643. package/dist/components/calcite-pagination.js +9 -9
  644. package/dist/components/calcite-panel.js +31 -17
  645. package/dist/components/calcite-pick-list-group.js +1 -1
  646. package/dist/components/calcite-pick-list-item.js +1 -1
  647. package/dist/components/calcite-pick-list.js +9 -9
  648. package/dist/components/calcite-popover-manager.js +1 -1
  649. package/dist/components/calcite-popover.js +1 -1
  650. package/dist/components/calcite-progress.js +1 -1
  651. package/dist/components/calcite-radio-button-group.js +1 -1
  652. package/dist/components/calcite-radio-button.js +1 -1
  653. package/dist/components/calcite-radio-group-item.js +3 -3
  654. package/dist/components/calcite-radio-group.js +5 -2
  655. package/dist/components/calcite-rating.js +20 -6
  656. package/dist/components/calcite-scrim.js +1 -1
  657. package/dist/components/calcite-select.js +1 -1
  658. package/dist/components/calcite-shell-center-row.js +1 -1
  659. package/dist/components/calcite-shell-panel.js +1 -1
  660. package/dist/components/calcite-shell.js +1 -1
  661. package/dist/components/calcite-slider.js +3 -3
  662. package/dist/components/calcite-sortable-list.js +1 -1
  663. package/dist/components/calcite-split-button.js +1 -1
  664. package/dist/components/calcite-stepper-item.js +31 -7
  665. package/dist/components/calcite-stepper.js +19 -8
  666. package/dist/components/calcite-switch.js +1 -1
  667. package/dist/components/calcite-tab-nav.js +1 -1
  668. package/dist/components/calcite-tab-title.js +1 -1
  669. package/dist/components/calcite-tab.js +1 -1
  670. package/dist/components/calcite-tabs.js +1 -1
  671. package/dist/components/calcite-tile-select-group.js +1 -1
  672. package/dist/components/calcite-tile-select.js +3 -2
  673. package/dist/components/calcite-tile.js +1 -1
  674. package/dist/components/calcite-time-picker.js +1 -1
  675. package/dist/components/calcite-tip-group.js +1 -1
  676. package/dist/components/calcite-tip-manager.js +1 -1
  677. package/dist/components/calcite-tip.js +1 -1
  678. package/dist/components/calcite-tooltip-manager.js +1 -1
  679. package/dist/components/calcite-tooltip.js +8 -8
  680. package/dist/components/calcite-tree-item.js +7 -7
  681. package/dist/components/calcite-tree.js +5 -5
  682. package/dist/components/calcite-value-list-item.js +7 -7
  683. package/dist/components/calcite-value-list.js +89 -20
  684. package/dist/components/checkbox.js +1 -1
  685. package/dist/components/chip.js +15 -4
  686. package/dist/components/color-picker-hex-input.js +3 -2
  687. package/dist/components/color-picker-swatch.js +2 -2
  688. package/dist/components/conditionalSlot.js +1 -1
  689. package/dist/components/date-picker-day.js +1 -1
  690. package/dist/components/date-picker-month-header.js +27 -8
  691. package/dist/components/date-picker-month.js +1 -1
  692. package/dist/components/date-picker.js +1 -1
  693. package/dist/components/date.js +1 -1
  694. package/dist/components/debounce.js +1 -1
  695. package/dist/components/dom.js +3 -29
  696. package/dist/components/dropdown.js +55 -14
  697. package/dist/components/filter.js +1 -1
  698. package/dist/components/forIn.js +1 -1
  699. package/dist/components/form.js +7 -4
  700. package/dist/components/graph.js +1 -1
  701. package/dist/components/guid.js +1 -1
  702. package/dist/components/handle.js +3 -2
  703. package/dist/components/icon.js +1 -1
  704. package/dist/components/index.js +1 -1
  705. package/dist/components/input.js +59 -30
  706. package/dist/components/interactive.js +1 -1
  707. package/dist/components/interfaces.js +1 -1
  708. package/dist/components/interfaces2.js +1 -1
  709. package/dist/components/key.js +11 -0
  710. package/dist/components/label.js +2 -2
  711. package/dist/components/label2.js +10 -6
  712. package/dist/components/link.js +1 -1
  713. package/dist/components/loader.js +7 -7
  714. package/dist/components/locale.js +136 -8
  715. package/dist/components/math.js +1 -1
  716. package/dist/components/observers.js +1 -1
  717. package/dist/components/pick-list-item.js +7 -7
  718. package/dist/components/popover.js +25 -20
  719. package/dist/components/popper.js +1 -1
  720. package/dist/components/progress.js +4 -4
  721. package/dist/components/resources.js +1 -1
  722. package/dist/components/resources2.js +1 -1
  723. package/dist/components/resources3.js +1 -1
  724. package/dist/components/scrim.js +1 -1
  725. package/dist/components/shared-list-render.js +9 -16
  726. package/dist/components/sortable.esm.js +1 -1
  727. package/dist/components/switch.js +1 -1
  728. package/dist/components/tab-nav.js +6 -6
  729. package/dist/components/tab-title.js +3 -4
  730. package/dist/components/tab.js +1 -1
  731. package/dist/components/tabs.js +5 -4
  732. package/dist/components/tile.js +1 -1
  733. package/dist/components/time-picker.js +3 -2
  734. package/dist/components/utils.js +1 -1
  735. package/dist/components/utils2.js +1 -1
  736. package/dist/custom-elements/index.d.ts +6 -0
  737. package/dist/custom-elements/index.js +1628 -698
  738. package/dist/esm/{ExpandToggle-ce794961.js → ExpandToggle-7076d600.js} +5 -5
  739. package/dist/esm/{Heading-9ccb3452.js → Heading-5ccb3b17.js} +3 -3
  740. package/dist/esm/{array-7a76d321.js → array-48f23287.js} +1 -1
  741. package/dist/esm/calcite-accordion_2.entry.js +25 -16
  742. package/dist/esm/calcite-action-bar.entry.js +16 -15
  743. package/dist/esm/calcite-action-group.entry.js +11 -11
  744. package/dist/esm/calcite-action-menu.entry.js +12 -12
  745. package/dist/esm/calcite-action-pad.entry.js +15 -14
  746. package/dist/esm/calcite-action.entry.js +17 -16
  747. package/dist/esm/calcite-alert.entry.js +49 -25
  748. package/dist/esm/calcite-avatar.entry.js +6 -6
  749. package/dist/esm/calcite-block_2.entry.js +18 -12
  750. package/dist/esm/calcite-button.entry.js +10 -9
  751. package/dist/esm/calcite-card.entry.js +7 -7
  752. package/dist/esm/calcite-checkbox.entry.js +7 -7
  753. package/dist/esm/calcite-chip.entry.js +18 -9
  754. package/dist/esm/calcite-color-picker_3.entry.js +41 -32
  755. package/dist/esm/calcite-combobox_3.entry.js +96 -45
  756. package/dist/esm/calcite-date-picker_4.entry.js +34 -15
  757. package/dist/esm/calcite-dropdown_3.entry.js +63 -22
  758. package/dist/esm/calcite-fab.entry.js +5 -5
  759. package/dist/esm/calcite-filter.entry.js +7 -7
  760. package/dist/esm/calcite-flow.entry.js +18 -11
  761. package/dist/esm/calcite-graph_2.entry.js +10 -10
  762. package/dist/esm/calcite-handle.entry.js +6 -5
  763. package/dist/esm/calcite-icon.entry.js +5 -5
  764. package/dist/esm/calcite-inline-editable.entry.js +7 -7
  765. package/dist/esm/calcite-input-date-picker.entry.js +39 -23
  766. package/dist/esm/calcite-input-message.entry.js +4 -4
  767. package/dist/esm/calcite-input-number.entry.js +527 -0
  768. package/dist/esm/calcite-input-time-picker_2.entry.js +29 -16
  769. package/dist/esm/calcite-input.entry.js +65 -37
  770. package/dist/esm/calcite-label.entry.js +12 -8
  771. package/dist/esm/calcite-link.entry.js +5 -5
  772. package/dist/esm/calcite-list_3.entry.js +11 -11
  773. package/dist/esm/calcite-loader.entry.js +9 -9
  774. package/dist/esm/calcite-modal.entry.js +31 -22
  775. package/dist/esm/calcite-notice.entry.js +21 -15
  776. package/dist/esm/calcite-option_3.entry.js +10 -10
  777. package/dist/esm/calcite-pagination.entry.js +13 -13
  778. package/dist/esm/calcite-panel.entry.js +36 -25
  779. package/dist/esm/calcite-pick-list_3.entry.js +25 -25
  780. package/dist/esm/calcite-popover_2.entry.js +29 -25
  781. package/dist/esm/calcite-progress.entry.js +5 -5
  782. package/dist/esm/calcite-radio-button-group.entry.js +3 -3
  783. package/dist/esm/calcite-radio-button.entry.js +8 -8
  784. package/dist/esm/calcite-radio-group_2.entry.js +12 -9
  785. package/dist/esm/calcite-rating.entry.js +26 -12
  786. package/dist/esm/calcite-scrim.entry.js +2 -2
  787. package/dist/esm/calcite-shell_3.entry.js +7 -7
  788. package/dist/esm/calcite-sortable-list.entry.js +5 -5
  789. package/dist/esm/calcite-split-button.entry.js +3 -3
  790. package/dist/esm/calcite-stepper_2.entry.js +50 -17
  791. package/dist/esm/calcite-switch.entry.js +7 -7
  792. package/dist/esm/calcite-tab_4.entry.js +16 -16
  793. package/dist/esm/calcite-tile-select_2.entry.js +6 -5
  794. package/dist/esm/calcite-tile.entry.js +7 -7
  795. package/dist/esm/calcite-tip_3.entry.js +7 -7
  796. package/dist/esm/calcite-tooltip_2.entry.js +11 -11
  797. package/dist/esm/calcite-tree_2.entry.js +15 -15
  798. package/dist/esm/calcite-value-list_2.entry.js +99 -34
  799. package/dist/esm/calcite.js +4 -4
  800. package/dist/esm/{conditionalSlot-6be8f3bd.js → conditionalSlot-13c69fa9.js} +3 -3
  801. package/dist/esm/{debounce-9626aac0.js → debounce-bef6fc2c.js} +1 -1
  802. package/dist/esm/{dom-4caa79e4.js → dom-6c1f7204.js} +4 -30
  803. package/dist/esm/{forIn-091a9d50.js → forIn-566610cc.js} +2 -2
  804. package/dist/esm/{form-7c2e444b.js → form-115e3241.js} +8 -5
  805. package/dist/esm/{guid-27925469.js → guid-9ee41ac6.js} +1 -1
  806. package/dist/esm/{index-1e02e91b.js → index-dfcf10d7.js} +1 -1
  807. package/dist/esm/index.js +1 -1
  808. package/dist/esm/{interactive-32803ed8.js → interactive-2a03c362.js} +1 -1
  809. package/dist/esm/{interfaces-64ad1cde.js → interfaces-02cee59d.js} +1 -1
  810. package/dist/esm/key-1219c482.js +11 -0
  811. package/dist/esm/{label-ccf07634.js → label-b30a7cde.js} +2 -2
  812. package/dist/esm/loader.js +4 -4
  813. package/dist/esm/locale-98144f51.js +254 -0
  814. package/dist/esm/{math-351ff0de.js → math-7409ae0d.js} +1 -1
  815. package/dist/esm/{observers-c18e9524.js → observers-fa0db945.js} +1 -1
  816. package/dist/esm/{popper-44b3ba83.js → popper-f38ba1ab.js} +2 -2
  817. package/dist/esm/{resources-0aacb21d.js → resources-3157143b.js} +3 -3
  818. package/dist/esm/{resources-a32d1180.js → resources-3b67e62a.js} +1 -1
  819. package/dist/esm/{resources-a2cad43d.js → resources-7198828a.js} +1 -1
  820. package/dist/esm/{resources-529884cb.js → resources-ccd18bbb.js} +13 -20
  821. package/dist/esm/{sortable.esm-4e7d5c7b.js → sortable.esm-e7918a0d.js} +1 -1
  822. package/dist/esm/{utils-2f763d44.js → utils-06a51b70.js} +1 -1
  823. package/dist/esm-es5/{ExpandToggle-ce794961.js → ExpandToggle-7076d600.js} +2 -2
  824. package/dist/esm-es5/Heading-5ccb3b17.js +6 -0
  825. package/dist/esm-es5/{array-7a76d321.js → array-48f23287.js} +1 -1
  826. package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
  827. package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
  828. package/dist/esm-es5/calcite-action-group.entry.js +2 -2
  829. package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
  830. package/dist/esm-es5/calcite-action-pad.entry.js +3 -3
  831. package/dist/esm-es5/calcite-action.entry.js +2 -2
  832. package/dist/esm-es5/calcite-alert.entry.js +2 -2
  833. package/dist/esm-es5/calcite-avatar.entry.js +2 -2
  834. package/dist/esm-es5/calcite-block_2.entry.js +2 -2
  835. package/dist/esm-es5/calcite-button.entry.js +2 -2
  836. package/dist/esm-es5/calcite-card.entry.js +2 -2
  837. package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
  838. package/dist/esm-es5/calcite-chip.entry.js +2 -2
  839. package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
  840. package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
  841. package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
  842. package/dist/esm-es5/calcite-dropdown_3.entry.js +3 -3
  843. package/dist/esm-es5/calcite-fab.entry.js +2 -2
  844. package/dist/esm-es5/calcite-filter.entry.js +2 -2
  845. package/dist/esm-es5/calcite-flow.entry.js +3 -3
  846. package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
  847. package/dist/esm-es5/calcite-handle.entry.js +2 -2
  848. package/dist/esm-es5/calcite-icon.entry.js +2 -2
  849. package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
  850. package/dist/esm-es5/calcite-input-date-picker.entry.js +3 -3
  851. package/dist/esm-es5/calcite-input-message.entry.js +2 -2
  852. package/dist/esm-es5/calcite-input-number.entry.js +6 -0
  853. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
  854. package/dist/esm-es5/calcite-input.entry.js +2 -2
  855. package/dist/esm-es5/calcite-label.entry.js +2 -2
  856. package/dist/esm-es5/calcite-link.entry.js +3 -3
  857. package/dist/esm-es5/calcite-list_3.entry.js +2 -2
  858. package/dist/esm-es5/calcite-loader.entry.js +3 -3
  859. package/dist/esm-es5/calcite-modal.entry.js +2 -2
  860. package/dist/esm-es5/calcite-notice.entry.js +3 -3
  861. package/dist/esm-es5/calcite-option_3.entry.js +2 -2
  862. package/dist/esm-es5/calcite-pagination.entry.js +2 -2
  863. package/dist/esm-es5/calcite-panel.entry.js +3 -3
  864. package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
  865. package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
  866. package/dist/esm-es5/calcite-progress.entry.js +2 -2
  867. package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
  868. package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
  869. package/dist/esm-es5/calcite-radio-group_2.entry.js +3 -3
  870. package/dist/esm-es5/calcite-rating.entry.js +3 -3
  871. package/dist/esm-es5/calcite-scrim.entry.js +2 -2
  872. package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
  873. package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
  874. package/dist/esm-es5/calcite-split-button.entry.js +2 -2
  875. package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
  876. package/dist/esm-es5/calcite-switch.entry.js +2 -2
  877. package/dist/esm-es5/calcite-tab_4.entry.js +3 -3
  878. package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
  879. package/dist/esm-es5/calcite-tile.entry.js +2 -2
  880. package/dist/esm-es5/calcite-tip_3.entry.js +2 -2
  881. package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
  882. package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
  883. package/dist/esm-es5/calcite-value-list_2.entry.js +3 -3
  884. package/dist/esm-es5/calcite.js +2 -2
  885. package/dist/esm-es5/{conditionalSlot-6be8f3bd.js → conditionalSlot-13c69fa9.js} +2 -2
  886. package/dist/esm-es5/{debounce-9626aac0.js → debounce-bef6fc2c.js} +1 -1
  887. package/dist/esm-es5/dom-6c1f7204.js +6 -0
  888. package/dist/esm-es5/{forIn-091a9d50.js → forIn-566610cc.js} +2 -2
  889. package/dist/esm-es5/form-115e3241.js +6 -0
  890. package/dist/esm-es5/{guid-27925469.js → guid-9ee41ac6.js} +1 -1
  891. package/dist/esm-es5/{index-1e02e91b.js → index-dfcf10d7.js} +1 -1
  892. package/dist/esm-es5/index.js +1 -1
  893. package/dist/esm-es5/{interactive-32803ed8.js → interactive-2a03c362.js} +1 -1
  894. package/dist/esm-es5/{interfaces-64ad1cde.js → interfaces-02cee59d.js} +1 -1
  895. package/dist/esm-es5/key-1219c482.js +6 -0
  896. package/dist/esm-es5/{label-ccf07634.js → label-b30a7cde.js} +2 -2
  897. package/dist/esm-es5/loader.js +2 -2
  898. package/dist/esm-es5/locale-98144f51.js +6 -0
  899. package/dist/esm-es5/{math-351ff0de.js → math-7409ae0d.js} +1 -1
  900. package/dist/esm-es5/{observers-c18e9524.js → observers-fa0db945.js} +1 -1
  901. package/dist/esm-es5/{popper-44b3ba83.js → popper-f38ba1ab.js} +2 -2
  902. package/dist/esm-es5/{resources-0aacb21d.js → resources-3157143b.js} +2 -2
  903. package/dist/esm-es5/{resources-a32d1180.js → resources-3b67e62a.js} +1 -1
  904. package/dist/esm-es5/{resources-a2cad43d.js → resources-7198828a.js} +1 -1
  905. package/dist/esm-es5/resources-ccd18bbb.js +6 -0
  906. package/dist/esm-es5/{sortable.esm-4e7d5c7b.js → sortable.esm-e7918a0d.js} +1 -1
  907. package/dist/esm-es5/{utils-2f763d44.js → utils-06a51b70.js} +1 -1
  908. package/dist/extras/docs-json.json +1814 -407
  909. package/dist/loader/cdn.js +1 -1
  910. package/dist/loader/index.cjs.js +1 -1
  911. package/dist/loader/index.es2017.js +1 -1
  912. package/dist/loader/index.js +1 -1
  913. package/dist/types/components/accordion/accordion.d.ts +7 -7
  914. package/dist/types/components/accordion-item/accordion-item.d.ts +22 -4
  915. package/dist/types/components/action/action.d.ts +13 -15
  916. package/dist/types/components/action-bar/action-bar.d.ts +8 -8
  917. package/dist/types/components/action-group/action-group.d.ts +7 -7
  918. package/dist/types/components/action-menu/action-menu.d.ts +7 -7
  919. package/dist/types/components/action-pad/action-pad.d.ts +10 -10
  920. package/dist/types/components/alert/alert.d.ts +37 -21
  921. package/dist/types/components/alert/resources.d.ts +3 -0
  922. package/dist/types/components/avatar/avatar.d.ts +5 -5
  923. package/dist/types/components/block/block.d.ts +6 -0
  924. package/dist/types/components/block/resources.d.ts +1 -0
  925. package/dist/types/components/checkbox/checkbox.d.ts +1 -0
  926. package/dist/types/components/chip/chip.d.ts +9 -1
  927. package/dist/types/components/color-picker/color-picker.d.ts +8 -5
  928. package/dist/types/components/color-picker-hex-input/color-picker-hex-input.d.ts +2 -0
  929. package/dist/types/components/combobox/combobox.d.ts +29 -15
  930. package/dist/types/components/combobox/resources.d.ts +1 -0
  931. package/dist/types/components/combobox-item/combobox-item.d.ts +9 -1
  932. package/dist/types/components/date-picker/utils.d.ts +1 -1
  933. package/dist/types/components/date-picker-month-header/date-picker-month-header.d.ts +2 -0
  934. package/dist/types/components/date-picker-month-header/resources.d.ts +1 -0
  935. package/dist/types/components/dropdown/dropdown.d.ts +21 -5
  936. package/dist/types/components/dropdown/resources.d.ts +3 -0
  937. package/dist/types/components/flow/flow.d.ts +4 -1
  938. package/dist/types/components/input/input.d.ts +86 -40
  939. package/dist/types/components/input-date-picker/input-date-picker.d.ts +7 -1
  940. package/dist/types/components/input-date-picker/resources.d.ts +4 -0
  941. package/dist/types/components/input-number/input-number.d.ts +216 -0
  942. package/dist/types/components/input-number/interfaces.d.ts +1 -0
  943. package/dist/types/components/input-number/resources.d.ts +22 -0
  944. package/dist/types/components/input-time-picker/input-time-picker.d.ts +7 -1
  945. package/dist/types/components/label/label.d.ts +6 -2
  946. package/dist/types/components/list/list.d.ts +3 -2
  947. package/dist/types/components/list-item/list-item.d.ts +9 -9
  948. package/dist/types/components/list-item-group/list-item-group.d.ts +2 -2
  949. package/dist/types/components/loader/loader.d.ts +6 -6
  950. package/dist/types/components/modal/modal.d.ts +22 -16
  951. package/dist/types/components/notice/notice.d.ts +18 -12
  952. package/dist/types/components/option/option.d.ts +4 -4
  953. package/dist/types/components/option-group/option-group.d.ts +2 -2
  954. package/dist/types/components/pagination/pagination.d.ts +11 -11
  955. package/dist/types/components/panel/panel.d.ts +33 -21
  956. package/dist/types/components/panel/resources.d.ts +1 -0
  957. package/dist/types/components/pick-list/pick-list.d.ts +12 -12
  958. package/dist/types/components/pick-list/shared-list-logic.d.ts +1 -0
  959. package/dist/types/components/pick-list/shared-list-render.d.ts +2 -0
  960. package/dist/types/components/pick-list-group/pick-list-group.d.ts +2 -2
  961. package/dist/types/components/pick-list-item/pick-list-item.d.ts +16 -16
  962. package/dist/types/components/popover/popover.d.ts +23 -19
  963. package/dist/types/components/progress/progress.d.ts +5 -5
  964. package/dist/types/components/radio-button/radio-button.d.ts +1 -0
  965. package/dist/types/components/radio-group/radio-group.d.ts +3 -0
  966. package/dist/types/components/rating/rating.d.ts +2 -0
  967. package/dist/types/components/stepper/stepper.d.ts +7 -1
  968. package/dist/types/components/stepper-item/stepper-item.d.ts +22 -4
  969. package/dist/types/components/tabs/interfaces.d.ts +1 -1
  970. package/dist/types/components/tabs/tabs.d.ts +2 -1
  971. package/dist/types/components/tooltip/tooltip.d.ts +6 -6
  972. package/dist/types/components/tree/tree.d.ts +4 -4
  973. package/dist/types/components/tree-item/tree-item.d.ts +3 -3
  974. package/dist/types/components/value-list/interfaces.d.ts +1 -0
  975. package/dist/types/components/value-list/utils.d.ts +8 -0
  976. package/dist/types/components/value-list/value-list.d.ts +39 -9
  977. package/dist/types/components/value-list-item/value-list-item.d.ts +11 -11
  978. package/dist/types/components.d.ts +1063 -470
  979. package/dist/types/preact.d.ts +21 -6
  980. package/dist/types/utils/dom.d.ts +0 -8
  981. package/dist/types/utils/form.d.ts +1 -3
  982. package/dist/types/utils/locale.d.ts +1 -0
  983. package/dist/types/utils/number.d.ts +16 -0
  984. package/dist/types/utils/openCloseComponent.d.ts +26 -0
  985. package/hydrate/index.js +1741 -737
  986. package/package.json +27 -27
  987. package/readme.md +10 -2
  988. package/dist/calcite/p-004e3dc9.js +0 -6
  989. package/dist/calcite/p-08b6213a.system.js +0 -6
  990. package/dist/calcite/p-0f41fb58.entry.js +0 -6
  991. package/dist/calcite/p-0fc84480.js +0 -6
  992. package/dist/calcite/p-1571ede3.system.entry.js +0 -6
  993. package/dist/calcite/p-1a07da7e.system.js +0 -6
  994. package/dist/calcite/p-1f94715e.entry.js +0 -6
  995. package/dist/calcite/p-2111668f.system.entry.js +0 -6
  996. package/dist/calcite/p-23188966.entry.js +0 -6
  997. package/dist/calcite/p-24edad61.entry.js +0 -6
  998. package/dist/calcite/p-25fd5141.entry.js +0 -6
  999. package/dist/calcite/p-2609d345.system.entry.js +0 -6
  1000. package/dist/calcite/p-37c23e83.system.entry.js +0 -6
  1001. package/dist/calcite/p-3a256056.entry.js +0 -6
  1002. package/dist/calcite/p-3d4548a9.js +0 -6
  1003. package/dist/calcite/p-3f00dc7c.entry.js +0 -6
  1004. package/dist/calcite/p-41b0a2a1.system.js +0 -6
  1005. package/dist/calcite/p-4214c119.system.entry.js +0 -6
  1006. package/dist/calcite/p-47bf0f7d.entry.js +0 -6
  1007. package/dist/calcite/p-47dd3632.entry.js +0 -6
  1008. package/dist/calcite/p-4f71c68d.js +0 -6
  1009. package/dist/calcite/p-506f5631.system.entry.js +0 -6
  1010. package/dist/calcite/p-5207385b.system.entry.js +0 -6
  1011. package/dist/calcite/p-53b147dc.system.entry.js +0 -6
  1012. package/dist/calcite/p-59aae748.entry.js +0 -6
  1013. package/dist/calcite/p-5df0640c.system.entry.js +0 -6
  1014. package/dist/calcite/p-5eb016b6.system.entry.js +0 -6
  1015. package/dist/calcite/p-61483431.system.entry.js +0 -6
  1016. package/dist/calcite/p-623f6224.entry.js +0 -6
  1017. package/dist/calcite/p-64384786.entry.js +0 -6
  1018. package/dist/calcite/p-6531fb85.entry.js +0 -6
  1019. package/dist/calcite/p-67af4998.entry.js +0 -6
  1020. package/dist/calcite/p-67ef236d.entry.js +0 -6
  1021. package/dist/calcite/p-68e3013f.system.js +0 -6
  1022. package/dist/calcite/p-6a966c2f.entry.js +0 -6
  1023. package/dist/calcite/p-717fac51.entry.js +0 -6
  1024. package/dist/calcite/p-799f79af.entry.js +0 -6
  1025. package/dist/calcite/p-7a95bbeb.entry.js +0 -6
  1026. package/dist/calcite/p-7e576c74.system.entry.js +0 -6
  1027. package/dist/calcite/p-800a9250.entry.js +0 -6
  1028. package/dist/calcite/p-878d7c09.system.js +0 -6
  1029. package/dist/calcite/p-912c9e61.system.entry.js +0 -6
  1030. package/dist/calcite/p-940ac25d.system.entry.js +0 -6
  1031. package/dist/calcite/p-9ea395ee.js +0 -6
  1032. package/dist/calcite/p-a1176eac.system.entry.js +0 -6
  1033. package/dist/calcite/p-a3e19cec.entry.js +0 -6
  1034. package/dist/calcite/p-a5fd7a87.system.entry.js +0 -6
  1035. package/dist/calcite/p-a81ad35a.entry.js +0 -6
  1036. package/dist/calcite/p-a945b681.system.js +0 -6
  1037. package/dist/calcite/p-adc2b773.entry.js +0 -6
  1038. package/dist/calcite/p-c470cecf.entry.js +0 -6
  1039. package/dist/calcite/p-c5eec108.entry.js +0 -6
  1040. package/dist/calcite/p-c84f0dec.entry.js +0 -6
  1041. package/dist/calcite/p-c96917cb.system.js +0 -6
  1042. package/dist/calcite/p-cbe3c2c0.entry.js +0 -6
  1043. package/dist/calcite/p-ccb27d44.system.entry.js +0 -6
  1044. package/dist/calcite/p-db63dc35.system.entry.js +0 -6
  1045. package/dist/calcite/p-dc10e8bb.system.entry.js +0 -6
  1046. package/dist/calcite/p-ddb96773.system.js +0 -6
  1047. package/dist/calcite/p-e0ff045a.js +0 -6
  1048. package/dist/calcite/p-e6ef10e2.js +0 -6
  1049. package/dist/calcite/p-e7336cab.entry.js +0 -6
  1050. package/dist/calcite/p-ee47a382.system.entry.js +0 -6
  1051. package/dist/calcite/p-ee8f8d7e.entry.js +0 -6
  1052. package/dist/calcite/p-f313806e.entry.js +0 -6
  1053. package/dist/calcite/p-f39d0565.system.entry.js +0 -6
  1054. package/dist/calcite/p-f828bc9b.entry.js +0 -6
  1055. package/dist/calcite/p-f850e63f.system.js +0 -6
  1056. package/dist/calcite/p-f91e835d.entry.js +0 -6
  1057. package/dist/calcite/p-f96d2623.system.entry.js +0 -6
  1058. package/dist/calcite/p-faaa959a.entry.js +0 -6
  1059. package/dist/cjs/locale-6c28abd8.js +0 -131
  1060. package/dist/cjs/number-6f1151e7.js +0 -85
  1061. package/dist/collection/demos/_assets/demo-spacer.js +0 -17
  1062. package/dist/collection/demos/_assets/demo-template.js +0 -13
  1063. package/dist/collection/demos/_assets/head.js +0 -45
  1064. package/dist/collection/demos/_assets/locales.js +0 -223
  1065. package/dist/components/number.js +0 -77
  1066. package/dist/esm/locale-705ed382.js +0 -126
  1067. package/dist/esm/number-bb265f44.js +0 -77
  1068. package/dist/esm-es5/Heading-9ccb3452.js +0 -6
  1069. package/dist/esm-es5/dom-4caa79e4.js +0 -6
  1070. package/dist/esm-es5/form-7c2e444b.js +0 -6
  1071. package/dist/esm-es5/locale-705ed382.js +0 -6
  1072. package/dist/esm-es5/number-bb265f44.js +0 -6
  1073. package/dist/esm-es5/resources-529884cb.js +0 -6
@@ -0,0 +1,254 @@
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.0.0-beta.86
5
+ */
6
+ import { n as numberKeys } from './key-1219c482.js';
7
+
8
+ // regex for number sanitization
9
+ const allLeadingZerosOptionallyNegative = /^([-0])0+(?=\d)/;
10
+ const decimalOnlyAtEndOfString = /(?!^\.)\.$/;
11
+ const allHyphensExceptTheStart = /(?!^-)-/g;
12
+ const isNegativeDecimalOnlyZeros = /^-\b0\b\.?0*$/;
13
+ // adopted from https://stackoverflow.com/a/66939244
14
+ class BigDecimal {
15
+ constructor(input) {
16
+ if (input instanceof BigDecimal) {
17
+ return input;
18
+ }
19
+ const [integers, decimals] = String(input).split(".").concat("");
20
+ this.value =
21
+ BigInt(integers + decimals.padEnd(BigDecimal.DECIMALS, "0").slice(0, BigDecimal.DECIMALS)) +
22
+ BigInt(BigDecimal.ROUNDED && decimals[BigDecimal.DECIMALS] >= "5");
23
+ this.isNegative = input.charAt(0) === "-";
24
+ }
25
+ static _divRound(dividend, divisor) {
26
+ return BigDecimal.fromBigInt(dividend / divisor + (BigDecimal.ROUNDED ? ((dividend * BigInt(2)) / divisor) % BigInt(2) : BigInt(0)));
27
+ }
28
+ static fromBigInt(bigint) {
29
+ return Object.assign(Object.create(BigDecimal.prototype), { value: bigint });
30
+ }
31
+ toString() {
32
+ const s = this.value
33
+ .toString()
34
+ .replace(new RegExp("-", "g"), "")
35
+ .padStart(BigDecimal.DECIMALS + 1, "0");
36
+ const i = s.slice(0, -BigDecimal.DECIMALS);
37
+ const d = s.slice(-BigDecimal.DECIMALS).replace(/\.?0+$/, "");
38
+ const value = i.concat(d.length ? "." + d : "");
39
+ return (this.isNegative ? "-" : "").concat(value);
40
+ }
41
+ formatToParts(locale, numberingSystem) {
42
+ const formatter = createLocaleNumberFormatter(locale, numberingSystem);
43
+ const s = this.value
44
+ .toString()
45
+ .replace(new RegExp("-", "g"), "")
46
+ .padStart(BigDecimal.DECIMALS + 1, "0");
47
+ const i = s.slice(0, -BigDecimal.DECIMALS);
48
+ const d = s.slice(-BigDecimal.DECIMALS).replace(/\.?0+$/, "");
49
+ const parts = formatter.formatToParts(BigInt(i));
50
+ this.isNegative && parts.unshift({ type: "minusSign", value: getMinusSign(locale) });
51
+ if (d.length) {
52
+ parts.push({ type: "decimal", value: getDecimalSeparator(locale) });
53
+ d.split("").forEach((char) => parts.push({ type: "fraction", value: char }));
54
+ }
55
+ return parts;
56
+ }
57
+ add(num) {
58
+ return BigDecimal.fromBigInt(this.value + new BigDecimal(num).value);
59
+ }
60
+ subtract(num) {
61
+ return BigDecimal.fromBigInt(this.value - new BigDecimal(num).value);
62
+ }
63
+ multiply(num) {
64
+ return BigDecimal._divRound(this.value * new BigDecimal(num).value, BigDecimal.SHIFT);
65
+ }
66
+ divide(num) {
67
+ return BigDecimal._divRound(this.value * BigDecimal.SHIFT, new BigDecimal(num).value);
68
+ }
69
+ }
70
+ // Configuration: constants
71
+ BigDecimal.DECIMALS = 100; // number of decimals on all instances
72
+ BigDecimal.ROUNDED = true; // numbers are truncated (false) or rounded (true)
73
+ BigDecimal.SHIFT = BigInt("1" + "0".repeat(BigDecimal.DECIMALS)); // derived constant
74
+ function isValidNumber(numberString) {
75
+ return !(!numberString || isNaN(Number(numberString)));
76
+ }
77
+ function parseNumberString(numberString) {
78
+ if (!numberString || !stringContainsNumbers(numberString)) {
79
+ return "";
80
+ }
81
+ return sanitizeExponentialNumberString(numberString, (nonExpoNumString) => {
82
+ let containsDecimal = false;
83
+ const result = nonExpoNumString
84
+ .split("")
85
+ .filter((value, i) => {
86
+ if (value.match(/\./g) && !containsDecimal) {
87
+ containsDecimal = true;
88
+ return true;
89
+ }
90
+ if (value.match(/\-/g) && i === 0) {
91
+ return true;
92
+ }
93
+ return numberKeys.includes(value);
94
+ })
95
+ .reduce((string, part) => string + part);
96
+ return isValidNumber(result) ? new BigDecimal(result).toString() : "";
97
+ });
98
+ }
99
+ function sanitizeDecimalString(decimalString) {
100
+ return decimalString.replace(decimalOnlyAtEndOfString, "");
101
+ }
102
+ function sanitizeNegativeString(negativeString) {
103
+ return negativeString.replace(allHyphensExceptTheStart, "");
104
+ }
105
+ function sanitizeLeadingZeroString(zeroString) {
106
+ return zeroString.replace(allLeadingZerosOptionallyNegative, "$1");
107
+ }
108
+ function sanitizeNumberString(numberString) {
109
+ return sanitizeExponentialNumberString(numberString, (nonExpoNumString) => {
110
+ const sanitizedValue = sanitizeNegativeString(sanitizeDecimalString(sanitizeLeadingZeroString(nonExpoNumString)));
111
+ return isValidNumber(sanitizedValue)
112
+ ? isNegativeDecimalOnlyZeros.test(sanitizedValue)
113
+ ? sanitizedValue
114
+ : new BigDecimal(sanitizedValue).toString()
115
+ : nonExpoNumString;
116
+ });
117
+ }
118
+ function sanitizeExponentialNumberString(numberString, func) {
119
+ if (!numberString) {
120
+ return numberString;
121
+ }
122
+ const firstE = numberString.toLowerCase().indexOf("e") + 1;
123
+ return numberString
124
+ .replace(/[eE]*$/g, "")
125
+ .substring(0, firstE)
126
+ .concat(numberString.slice(firstE).replace(/[eE]/g, ""))
127
+ .split(/[eE]/)
128
+ .map((section, i) => (i === 1 ? func(section.replace(/\./g, "")) : func(section)))
129
+ .join("e")
130
+ .replace(/^e/, "1e");
131
+ }
132
+ function stringContainsNumbers(string) {
133
+ return numberKeys.some((number) => string.includes(number));
134
+ }
135
+
136
+ const locales = [
137
+ "ar",
138
+ "bg",
139
+ "bs",
140
+ "ca",
141
+ "cs",
142
+ "da",
143
+ "de",
144
+ "de-CH",
145
+ "el",
146
+ "en",
147
+ "en-AU",
148
+ "en-CA",
149
+ "en-GB",
150
+ "es",
151
+ "es-MX",
152
+ "et",
153
+ "fi",
154
+ "fr",
155
+ "fr-CH",
156
+ "he",
157
+ "hi",
158
+ "hr",
159
+ "hu",
160
+ "id",
161
+ "it",
162
+ "it-CH",
163
+ "ja",
164
+ "ko",
165
+ "lt",
166
+ "lv",
167
+ "mk",
168
+ "nb",
169
+ "nl",
170
+ "pl",
171
+ "pt",
172
+ "pt-PT",
173
+ "ro",
174
+ "ru",
175
+ "sk",
176
+ "sl",
177
+ "sr",
178
+ "sv",
179
+ "th",
180
+ "tr",
181
+ "uk",
182
+ "vi",
183
+ "zh-CN",
184
+ "zh-HK",
185
+ "zh-TW"
186
+ ];
187
+ const allDecimalsExceptLast = new RegExp(`[.](?=.*[.])`, "g");
188
+ const everythingExceptNumbersDecimalsAndMinusSigns = new RegExp("[^0-9-.]", "g");
189
+ const defaultGroupSeparator = new RegExp(",", "g");
190
+ const browserNumberingSystem = new Intl.NumberFormat().resolvedOptions().numberingSystem;
191
+ const defaultNumberingSystem = browserNumberingSystem === "arab" ? "latn" : browserNumberingSystem;
192
+ function createLocaleNumberFormatter(locale, numberingSystem = defaultNumberingSystem) {
193
+ return new Intl.NumberFormat(locale, {
194
+ minimumFractionDigits: 0,
195
+ maximumFractionDigits: 20,
196
+ numberingSystem
197
+ });
198
+ }
199
+ function delocalizeNumberString(numberString, locale) {
200
+ return sanitizeExponentialNumberString(numberString, (nonExpoNumString) => {
201
+ const delocalizedNumberString = nonExpoNumString
202
+ .replace(getMinusSign(locale), "-")
203
+ .replace(getGroupSeparator(locale), "")
204
+ .replace(getDecimalSeparator(locale), ".")
205
+ .replace(allDecimalsExceptLast, "")
206
+ .replace(everythingExceptNumbersDecimalsAndMinusSigns, "");
207
+ return isValidNumber(delocalizedNumberString) ? delocalizedNumberString : nonExpoNumString;
208
+ });
209
+ }
210
+ function getGroupSeparator(locale) {
211
+ const formatter = createLocaleNumberFormatter(locale);
212
+ const parts = formatter.formatToParts(1234567);
213
+ const value = parts.find((part) => part.type === "group").value;
214
+ // change whitespace group characters that don't render correctly
215
+ return value.trim().length === 0 ? " " : value;
216
+ }
217
+ function getDecimalSeparator(locale) {
218
+ const formatter = createLocaleNumberFormatter(locale);
219
+ const parts = formatter.formatToParts(1.1);
220
+ return parts.find((part) => part.type === "decimal").value;
221
+ }
222
+ function getMinusSign(locale) {
223
+ const formatter = createLocaleNumberFormatter(locale);
224
+ const parts = formatter.formatToParts(-9);
225
+ return parts.find((part) => part.type === "minusSign").value;
226
+ }
227
+ function localizeNumberString(numberString, locale, displayGroupSeparator = false, numberingSystem) {
228
+ return sanitizeExponentialNumberString(numberString, (nonExpoNumString) => {
229
+ if (nonExpoNumString) {
230
+ const sanitizedNumberString = sanitizeDecimalString(nonExpoNumString.replace(defaultGroupSeparator, ""));
231
+ if (isValidNumber(sanitizedNumberString)) {
232
+ const parts = new BigDecimal(sanitizedNumberString).formatToParts(locale, numberingSystem);
233
+ const localizedNumberString = parts
234
+ .map(({ type, value }) => {
235
+ switch (type) {
236
+ case "group":
237
+ return displayGroupSeparator ? getGroupSeparator(locale) : "";
238
+ case "decimal":
239
+ return getDecimalSeparator(locale);
240
+ case "minusSign":
241
+ return getMinusSign(locale);
242
+ default:
243
+ return value;
244
+ }
245
+ })
246
+ .reduce((string, part) => string + part);
247
+ return localizedNumberString;
248
+ }
249
+ }
250
+ return nonExpoNumString;
251
+ });
252
+ }
253
+
254
+ export { locales as a, delocalizeNumberString as d, getDecimalSeparator as g, isValidNumber as i, localizeNumberString as l, parseNumberString as p, sanitizeNumberString as s };
@@ -1,7 +1,7 @@
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.83
4
+ * v1.0.0-beta.86
5
5
  */
6
6
  const clamp = (value, min, max) => Math.max(min, Math.min(value, max));
7
7
  const decimalPlaces = (value) => {
@@ -1,7 +1,7 @@
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.83
4
+ * v1.0.0-beta.86
5
5
  */
6
6
  /**
7
7
  * This utility ensures observers are created only for browser contexts.
@@ -1,9 +1,9 @@
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.83
4
+ * v1.0.0-beta.86
5
5
  */
6
- import { a as getElementDir } from './dom-4caa79e4.js';
6
+ import { a as getElementDir } from './dom-6c1f7204.js';
7
7
 
8
8
  var top = 'top';
9
9
  var bottom = 'bottom';
@@ -1,10 +1,10 @@
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.83
4
+ * v1.0.0-beta.86
5
5
  */
6
- import { a as getAssetPath } from './index-1e02e91b.js';
7
- import { a as locales } from './locale-705ed382.js';
6
+ import { a as getAssetPath } from './index-dfcf10d7.js';
7
+ import { a as locales } from './locale-98144f51.js';
8
8
 
9
9
  /**
10
10
  * Get supported locale code from raw user input
@@ -1,7 +1,7 @@
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.83
4
+ * v1.0.0-beta.86
5
5
  */
6
6
  const SLOTS = {
7
7
  menuActions: "menu-actions",
@@ -1,7 +1,7 @@
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.83
4
+ * v1.0.0-beta.86
5
5
  */
6
6
  const CSS = {
7
7
  menu: "menu",
@@ -1,12 +1,12 @@
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.83
4
+ * v1.0.0-beta.86
5
5
  */
6
- import { f as focusElement, g as getSlotted, t as toAriaBoolean } from './dom-4caa79e4.js';
7
- import { g as getRoundRobinIndex } from './array-7a76d321.js';
8
- import { d as debounce } from './debounce-9626aac0.js';
9
- import { h, H as Host } from './index-1e02e91b.js';
6
+ import { f as focusElement, g as getSlotted, t as toAriaBoolean } from './dom-6c1f7204.js';
7
+ import { g as getRoundRobinIndex } from './array-48f23287.js';
8
+ import { d as debounce } from './debounce-bef6fc2c.js';
9
+ import { h, H as Host } from './index-dfcf10d7.js';
10
10
 
11
11
  const CSS$2 = {
12
12
  heading: "heading",
@@ -141,6 +141,10 @@ function moveItemIndex(list, item, direction) {
141
141
  }
142
142
  return index;
143
143
  }
144
+ function getItemIndex(list, item) {
145
+ const { items } = list;
146
+ return items.indexOf(item);
147
+ }
144
148
  function filterOutDisabled(items) {
145
149
  return items.filter((item) => !item.disabled);
146
150
  }
@@ -318,22 +322,11 @@ const SLOTS$1 = {
318
322
  menuActions: "menu-actions"
319
323
  };
320
324
 
321
- var __rest = (undefined && undefined.__rest) || function (s, e) {
322
- var t = {};
323
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
324
- t[p] = s[p];
325
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
326
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
327
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
328
- t[p[i]] = s[p[i]];
329
- }
330
- return t;
331
- };
332
- const List = (_a) => {
333
- var { props: { disabled, loading, filterEnabled, dataForFilter, handleFilter, filterPlaceholder, setFilterEl } } = _a, rest = __rest(_a, ["props"]);
325
+ const List = ({ props: { disabled, loading, filterEnabled, dataForFilter, handleFilter, filterPlaceholder, setFilterEl, dragEnabled, storeAssistiveEl }, ...rest }) => {
334
326
  const defaultSlot = h("slot", null);
335
- return (h(Host, Object.assign({ "aria-busy": toAriaBoolean(loading), role: "menu" }, rest),
327
+ return (h(Host, { "aria-busy": toAriaBoolean(loading), role: "menu", ...rest },
336
328
  h("section", null,
329
+ dragEnabled ? (h("span", { "aria-live": "assertive", class: "assistive-text", ref: storeAssistiveEl })) : null,
337
330
  h("header", { class: { [CSS$1.sticky]: true } },
338
331
  filterEnabled ? (h("calcite-filter", { "aria-label": filterPlaceholder, disabled: loading || disabled, items: dataForFilter, onCalciteFilterChange: handleFilter, placeholder: filterPlaceholder, ref: setFilterEl })) : null,
339
332
  h("slot", { name: SLOTS$1.menuActions })),
@@ -368,4 +361,4 @@ const TEXT = {
368
361
  remove: "Remove"
369
362
  };
370
363
 
371
- export { CSS as C, HEADING_LEVEL as H, ICON_TYPES as I, List as L, SLOTS as S, TEXT as T, deselectSiblingItems as a, moveItemIndex as b, initializeObserver as c, deselectRemovedItems as d, cleanUpObserver as e, calciteListFocusOutHandler as f, getItemData as g, handleFilter as h, initialize as i, calciteListItemChangeHandler as j, keyDownHandler as k, calciteInternalListItemValueChangeHandler as l, mutationObserverCallback as m, setUpItems as n, setFocus as o, SLOTS$2 as p, CSS$2 as q, removeItem as r, selectSiblings as s, ICONS as t };
364
+ export { CSS as C, HEADING_LEVEL as H, ICON_TYPES as I, List as L, SLOTS as S, TEXT as T, deselectSiblingItems as a, getItemData as b, moveItemIndex as c, deselectRemovedItems as d, initializeObserver as e, cleanUpObserver as f, getItemIndex as g, handleFilter as h, initialize as i, calciteListFocusOutHandler as j, keyDownHandler as k, calciteListItemChangeHandler as l, mutationObserverCallback as m, calciteInternalListItemValueChangeHandler as n, setUpItems as o, setFocus as p, SLOTS$2 as q, removeItem as r, selectSiblings as s, CSS$2 as t, ICONS as u };
@@ -1,7 +1,7 @@
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.83
4
+ * v1.0.0-beta.86
5
5
  */
6
6
  /**!
7
7
  * Sortable 1.15.0
@@ -1,7 +1,7 @@
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.83
4
+ * v1.0.0-beta.86
5
5
  */
6
6
  function rgbToHex(color) {
7
7
  const { r, g, b } = color;
@@ -1,6 +1,6 @@
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.83
4
+ * v1.0.0-beta.86
5
5
  */
6
- import{f as forceUpdate,h}from"./index-1e02e91b.js";import{a as getElementDir}from"./dom-4caa79e4.js";import{S as SLOTS}from"./resources-a2cad43d.js";import{S as SLOTS$1}from"./resources-a32d1180.js";var overflowActionsDebounceInMs=150;var groupBufferHeight=2;var getMaxActionCount=function(e){var t=e.height,o=e.actionHeight,r=e.groupCount;return Math.floor((t-r*groupBufferHeight)/o)};var getOverflowCount=function(e){var t=e.actionCount,o=e.actionHeight,r=e.height,n=e.groupCount;return Math.max(t-getMaxActionCount({height:r,actionHeight:o,groupCount:n}),0)};var queryActions=function(e){return Array.from(e.querySelectorAll("calcite-action")).filter((function(e){return e.closest("calcite-action-menu")?e.slot===SLOTS.trigger:true}))};var overflowActions=function(e){var t=e.actionGroups,o=e.expanded,r=e.overflowCount;var n=r;t.reverse().forEach((function(e){var t=0;var r=queryActions(e).reverse();r.forEach((function(e){if(e.slot===SLOTS$1.menuActions){e.removeAttribute("slot");e.textEnabled=o}}));if(n>0){r.some((function(e){var o=r.filter((function(e){return!e.slot}));if(o.length>1&&r.length>2&&!e.closest("calcite-action-menu")){e.textEnabled=true;e.setAttribute("slot",SLOTS$1.menuActions);t++;if(t>1){n--}}return n<1}))}forceUpdate(e)}))};var ICONS={chevronsLeft:"chevrons-left",chevronsRight:"chevrons-right"};function getCalcitePosition(e,t){var o;return e||((o=t.closest("calcite-shell-panel"))===null||o===void 0?void 0:o.position)||"start"}function toggleChildActionText(e){var t=e.parent,o=e.expanded;queryActions(t).filter((function(e){return e.slot!==SLOTS$1.menuActions})).forEach((function(e){return e.textEnabled=o}));t.querySelectorAll("calcite-action-group, calcite-action-menu").forEach((function(e){return e.expanded=o}))}var setTooltipReference=function(e){var t=e.tooltip,o=e.referenceElement,r=e.expanded,n=e.ref;if(t){t.referenceElement=!r&&o?o:null}if(n){n(o)}return o};var ExpandToggle=function(e){var t=e.expanded,o=e.intlExpand,r=e.intlCollapse,n=e.toggle,i=e.el,a=e.position,c=e.tooltip,l=e.ref,u=e.scale;var s=getElementDir(i)==="rtl";var f=t?r:o;var v=[ICONS.chevronsLeft,ICONS.chevronsRight];if(s){v.reverse()}var g=getCalcitePosition(a,i)==="end";var p=g?v[1]:v[0];var d=g?v[0]:v[1];var m=h("calcite-action",{icon:t?p:d,onClick:n,ref:function(e){return setTooltipReference({tooltip:c,referenceElement:e,expanded:t,ref:l})},scale:u,text:f,textEnabled:t});return m};export{ExpandToggle as E,overflowActions as a,getOverflowCount as g,overflowActionsDebounceInMs as o,queryActions as q,toggleChildActionText as t};
6
+ import{f as forceUpdate,h}from"./index-dfcf10d7.js";import{a as getElementDir}from"./dom-6c1f7204.js";import{S as SLOTS}from"./resources-7198828a.js";import{S as SLOTS$1}from"./resources-3b67e62a.js";var overflowActionsDebounceInMs=150;var groupBufferHeight=2;var getMaxActionCount=function(e){var t=e.height,o=e.actionHeight,r=e.groupCount;return Math.floor((t-r*groupBufferHeight)/o)};var getOverflowCount=function(e){var t=e.actionCount,o=e.actionHeight,r=e.height,n=e.groupCount;return Math.max(t-getMaxActionCount({height:r,actionHeight:o,groupCount:n}),0)};var queryActions=function(e){return Array.from(e.querySelectorAll("calcite-action")).filter((function(e){return e.closest("calcite-action-menu")?e.slot===SLOTS.trigger:true}))};var overflowActions=function(e){var t=e.actionGroups,o=e.expanded,r=e.overflowCount;var n=r;t.reverse().forEach((function(e){var t=0;var r=queryActions(e).reverse();r.forEach((function(e){if(e.slot===SLOTS$1.menuActions){e.removeAttribute("slot");e.textEnabled=o}}));if(n>0){r.some((function(e){var o=r.filter((function(e){return!e.slot}));if(o.length>1&&r.length>2&&!e.closest("calcite-action-menu")){e.textEnabled=true;e.setAttribute("slot",SLOTS$1.menuActions);t++;if(t>1){n--}}return n<1}))}forceUpdate(e)}))};var ICONS={chevronsLeft:"chevrons-left",chevronsRight:"chevrons-right"};function getCalcitePosition(e,t){var o;return e||((o=t.closest("calcite-shell-panel"))===null||o===void 0?void 0:o.position)||"start"}function toggleChildActionText(e){var t=e.parent,o=e.expanded;queryActions(t).filter((function(e){return e.slot!==SLOTS$1.menuActions})).forEach((function(e){return e.textEnabled=o}));t.querySelectorAll("calcite-action-group, calcite-action-menu").forEach((function(e){return e.expanded=o}))}var setTooltipReference=function(e){var t=e.tooltip,o=e.referenceElement,r=e.expanded,n=e.ref;if(t){t.referenceElement=!r&&o?o:null}if(n){n(o)}return o};var ExpandToggle=function(e){var t=e.expanded,o=e.intlExpand,r=e.intlCollapse,n=e.toggle,i=e.el,a=e.position,c=e.tooltip,l=e.ref,u=e.scale;var f=getElementDir(i)==="rtl";var s=t?r:o;var v=[ICONS.chevronsLeft,ICONS.chevronsRight];if(f){v.reverse()}var g=getCalcitePosition(a,i)==="end";var p=g?v[1]:v[0];var d=g?v[0]:v[1];var m=h("calcite-action",{icon:t?p:d,onClick:n,ref:function(e){return setTooltipReference({tooltip:c,referenceElement:e,expanded:t,ref:l})},scale:u,text:s,textEnabled:t});return m};export{ExpandToggle as E,overflowActions as a,getOverflowCount as g,overflowActionsDebounceInMs as o,queryActions as q,toggleChildActionText as t};
@@ -0,0 +1,6 @@
1
+ var __assign=this&&this.__assign||function(){__assign=Object.assign||function(n){for(var a,e=1,t=arguments.length;e<t;e++){a=arguments[e];for(var i in a)if(Object.prototype.hasOwnProperty.call(a,i))n[i]=a[i]}return n};return __assign.apply(this,arguments)};
2
+ /*!
3
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
+ * v1.0.0-beta.86
6
+ */import{h}from"./index-dfcf10d7.js";function constrainHeadingLevel(n){return Math.min(Math.max(Math.ceil(n),1),6)}var Heading=function(n,a){var e="h".concat(n.level);delete n.level;return h(e,__assign({},n),a)};export{Heading as H,constrainHeadingLevel as c};
@@ -1,6 +1,6 @@
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.83
4
+ * v1.0.0-beta.86
5
5
  */
6
6
  function getRoundRobinIndex(n,e){return(n+e)%e}export{getRoundRobinIndex as g};
@@ -1,6 +1,6 @@
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.83
4
+ * v1.0.0-beta.86
5
5
  */
6
- import{r as registerInstance,c as createEvent,h,g as getElement,H as Host}from"./index-1e02e91b.js";import{d as getElementProp,a as getElementDir,C as CSS_UTILITY,t as toAriaBoolean}from"./dom-4caa79e4.js";import{g as guid}from"./guid-27925469.js";var accordionCss="@-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{--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;-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{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([scale=s]){--calcite-accordion-item-spacing-unit:0.25rem;--calcite-accordion-icon-margin:0.5rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-accordion-item-spacing-unit:0.5rem;--calcite-accordion-icon-margin:0.75rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-accordion-item-spacing-unit:0.75rem;--calcite-accordion-icon-margin:1rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{position:relative;display:block;max-width:100%;line-height:1.5rem;--calcite-accordion-item-border:var(--calcite-ui-border-2);--calcite-accordion-item-background:var(--calcite-ui-foreground-1)}.accordion--transparent{--calcite-accordion-item-border:transparent;--calcite-accordion-item-background:transparent}.accordion--minimal{--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0}.accordion{border-width:1px;border-bottom-width:0px;border-style:solid;border-color:var(--calcite-ui-border-2)}";var Accordion=function(){function t(t){registerInstance(this,t);this.calciteInternalAccordionChange=createEvent(this,"calciteInternalAccordionChange",7);this.appearance="default";this.iconPosition="end";this.iconType="chevron";this.scale="m";this.selectionMode="multi";this.items=[];this.sorted=false;this.sortItems=function(t){return t.sort((function(t,i){return t.position-i.position})).map((function(t){return t.item}))}}t.prototype.componentDidLoad=function(){if(!this.sorted){this.items=this.sortItems(this.items);this.sorted=true}};t.prototype.render=function(){return h("div",{class:{"accordion--transparent":this.appearance==="transparent","accordion--minimal":this.appearance==="minimal",accordion:this.appearance==="default"}},h("slot",null))};t.prototype.calciteInternalAccordionItemKeyEvent=function(t){var i=t.detail.item;var e=t.detail.parent;if(this.el===e){var a=i.key;var o=t.target;var n=this.itemIndex(o)===0;var c=this.itemIndex(o)===this.items.length-1;switch(a){case"ArrowDown":if(c){this.focusFirstItem()}else{this.focusNextItem(o)}break;case"ArrowUp":if(n){this.focusLastItem()}else{this.focusPrevItem(o)}break;case"Home":this.focusFirstItem();break;case"End":this.focusLastItem();break}}t.stopPropagation()};t.prototype.registerCalciteAccordionItem=function(t){var i={item:t.target,parent:t.detail.parent,position:t.detail.position};if(this.el===i.parent){this.items.push(i)}t.stopPropagation()};t.prototype.updateActiveItemOnChange=function(t){this.requestedAccordionItem=t.detail.requestedAccordionItem;this.calciteInternalAccordionChange.emit({requestedAccordionItem:this.requestedAccordionItem});t.stopPropagation()};t.prototype.focusFirstItem=function(){var t=this.items[0];this.focusElement(t)};t.prototype.focusLastItem=function(){var t=this.items[this.items.length-1];this.focusElement(t)};t.prototype.focusNextItem=function(t){var i=this.itemIndex(t);var e=this.items[i+1]||this.items[0];this.focusElement(e)};t.prototype.focusPrevItem=function(t){var i=this.itemIndex(t);var e=this.items[i-1]||this.items[this.items.length-1];this.focusElement(e)};t.prototype.itemIndex=function(t){return this.items.indexOf(t)};t.prototype.focusElement=function(t){var i=t;i.focus()};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();Accordion.style=accordionCss;var accordionItemCss="@-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{--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;-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{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}.icon-position--end,.icon-position--start{--calcite-accordion-item-icon-rotation:calc(90deg * -1);--calcite-accordion-item-active-icon-rotation:0deg;--calcite-accordion-item-icon-rotation-rtl:90deg;--calcite-accordion-item-active-icon-rotation-rtl:0deg}.icon-position--start{--calcite-accordion-item-flex-direction:row-reverse;--calcite-accordion-item-icon-spacing-start:0;--calcite-accordion-item-icon-spacing-end:var(--calcite-accordion-icon-margin)}.icon-position--end{--calcite-accordion-item-flex-direction:row;--calcite-accordion-item-icon-spacing-start:var(--calcite-accordion-icon-margin);--calcite-accordion-item-icon-spacing-end:0}.icon-position--end:not(.icon-type--plus-minus){--calcite-accordion-item-icon-rotation:0deg;--calcite-accordion-item-active-icon-rotation:180deg;--calcite-accordion-item-icon-rotation-rtl:0deg;--calcite-accordion-item-active-icon-rotation-rtl:calc(180deg * -1)}:host{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;outline:2px solid transparent;outline-offset:2px;background-color:var(--calcite-accordion-item-background, var(--calcite-ui-foreground-1))}:host .accordion-item-header{outline-color:transparent}:host(:focus) .accordion-item-header{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host([active]){color:var(--calcite-ui-text-1)}:host([active]) .accordion-item-content{display:block;color:var(--calcite-ui-text-1)}:host([active]) .accordion-item-header{border-bottom-color:transparent}:host .accordion-item-header{display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-direction:var(--calcite-accordion-item-flex-direction);flex-direction:var(--calcite-accordion-item-flex-direction)}:host .accordion-item-icon{position:relative;margin:0px;display:-ms-inline-flexbox;display:inline-flex;color:var(--calcite-ui-text-3);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-margin-end:var(--calcite-accordion-item-icon-spacing-start);margin-inline-end:var(--calcite-accordion-item-icon-spacing-start);-webkit-margin-start:var(--calcite-accordion-item-icon-spacing-end);margin-inline-start:var(--calcite-accordion-item-icon-spacing-end)}:host .accordion-item-content,:host .accordion-item-header{padding:var(--calcite-accordion-item-padding);border-bottom:1px solid var(--calcite-accordion-item-border, var(--calcite-ui-border-2))}:host .accordion-item-header *{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .accordion-item-content{display:none;padding-top:0px;color:var(--calcite-ui-text-3);text-align:initial}:host .accordion-item-expand-icon{color:var(--calcite-ui-text-3);-webkit-margin-start:var(--calcite-accordion-item-icon-spacing-start);margin-inline-start:var(--calcite-accordion-item-icon-spacing-start);-webkit-margin-end:var(--calcite-accordion-item-icon-spacing-end);margin-inline-end:var(--calcite-accordion-item-icon-spacing-end);-webkit-transform:rotate(var(--calcite-accordion-item-icon-rotation));transform:rotate(var(--calcite-accordion-item-icon-rotation))}.calcite--rtl .accordion-item-expand-icon{-webkit-transform:rotate(var(--calcite-accordion-item-icon-rotation-rtl));transform:rotate(var(--calcite-accordion-item-icon-rotation-rtl))}:host([active]) .accordion-item-expand-icon{color:var(--calcite-ui-text-1);-webkit-transform:rotate(var(--calcite-accordion-item-active-icon-rotation));transform:rotate(var(--calcite-accordion-item-active-icon-rotation))}:host([active]) .calcite--rtl .accordion-item-expand-icon{-webkit-transform:rotate(var(--calcite-accordion-item-active-icon-rotation-rtl));transform:rotate(var(--calcite-accordion-item-active-icon-rotation-rtl))}:host .accordion-item-header-text{margin-top:0px;margin-bottom:0px;-ms-flex-positive:1;flex-grow:1;-ms-flex-direction:column;flex-direction:column;padding-top:0px;padding-bottom:0px;text-align:initial;-webkit-margin-end:auto;margin-inline-end:auto}:host .accordion-item-title,:host .accordion-item-subtitle{display:-ms-flexbox;display:flex;width:100%}:host .accordion-item-title{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}:host .accordion-item-subtitle{margin-top:0.25rem;color:var(--calcite-ui-text-3)}:host(:focus) .accordion-item-title,:host(:hover) .accordion-item-title{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-icon,:host(:hover) .accordion-item-icon{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-expand-icon,:host(:hover) .accordion-item-expand-icon{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-subtitle,:host(:hover) .accordion-item-subtitle{color:var(--calcite-ui-text-2)}:host(:focus) .accordion-item-title,:host(:active) .accordion-item-title,:host([active]) .accordion-item-title{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-icon,:host(:active) .accordion-item-icon,:host([active]) .accordion-item-icon{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-expand-icon,:host(:active) .accordion-item-expand-icon,:host([active]) .accordion-item-expand-icon{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-subtitle,:host(:active) .accordion-item-subtitle,:host([active]) .accordion-item-subtitle{color:var(--calcite-ui-text-2)}";var AccordionItem=function(){function t(t){var i=this;registerInstance(this,t);this.calciteInternalAccordionItemKeyEvent=createEvent(this,"calciteInternalAccordionItemKeyEvent",7);this.calciteInternalAccordionItemSelect=createEvent(this,"calciteInternalAccordionItemSelect",7);this.calciteInternalAccordionItemClose=createEvent(this,"calciteInternalAccordionItemClose",7);this.calciteInternalAccordionItemRegister=createEvent(this,"calciteInternalAccordionItemRegister",7);this.active=false;this.guid=guid();this.iconPosition="end";this.itemHeaderClickHandler=function(){return i.emitRequestedItem()}}t.prototype.connectedCallback=function(){this.parent=this.el.parentElement;this.selectionMode=getElementProp(this.el,"selection-mode","multi");this.iconType=getElementProp(this.el,"icon-type","chevron");this.iconPosition=getElementProp(this.el,"icon-position",this.iconPosition)};t.prototype.componentDidLoad=function(){this.itemPosition=this.getItemPosition();this.calciteInternalAccordionItemRegister.emit({parent:this.parent,position:this.itemPosition})};t.prototype.render=function(){var t,i;var e=getElementDir(this.el);var a=h("calcite-icon",{class:"accordion-item-icon",icon:this.icon,scale:"s"});var o=this.guid;var n="".concat(o,"-region");var c="".concat(o,"-button");return h(Host,{tabindex:"0"},h("div",{class:(t={},t["icon-position--".concat(this.iconPosition)]=true,t["icon-type--".concat(this.iconType)]=true,t)},h("div",{"aria-controls":n,class:(i={"accordion-item-header":true},i[CSS_UTILITY.rtl]=e==="rtl",i),id:c,onClick:this.itemHeaderClickHandler,role:"button"},this.icon?a:null,h("div",{class:"accordion-item-header-text"},h("span",{class:"accordion-item-title"},this.itemTitle),this.itemSubtitle?h("span",{class:"accordion-item-subtitle"},this.itemSubtitle):null),h("calcite-icon",{class:"accordion-item-expand-icon",icon:this.iconType==="chevron"?"chevronDown":this.iconType==="caret"?"caretDown":this.active?"minus":"plus",scale:"s"})),h("div",{"aria-expanded":toAriaBoolean(this.active),"aria-labelledby":c,class:"accordion-item-content",id:n,role:"region"},h("slot",null))))};t.prototype.keyDownHandler=function(t){if(t.target===this.el){switch(t.key){case" ":case"Enter":this.emitRequestedItem();t.preventDefault();break;case"ArrowUp":case"ArrowDown":case"Home":case"End":this.calciteInternalAccordionItemKeyEvent.emit({parent:this.parent,item:t});t.preventDefault();break}}};t.prototype.updateActiveItemOnChange=function(t){this.requestedAccordionItem=t.detail.requestedAccordionItem;if(this.el.parentNode!==this.requestedAccordionItem.parentNode){return}this.determineActiveItem();t.stopPropagation()};t.prototype.determineActiveItem=function(){switch(this.selectionMode){case"multi":if(this.el===this.requestedAccordionItem){this.active=!this.active}break;case"single":this.active=this.el===this.requestedAccordionItem?!this.active:false;break;case"single-persist":this.active=this.el===this.requestedAccordionItem;break}};t.prototype.emitRequestedItem=function(){this.calciteInternalAccordionItemSelect.emit({requestedAccordionItem:this.el})};t.prototype.getItemPosition=function(){return Array.prototype.indexOf.call(this.parent.querySelectorAll("calcite-accordion-item"),this.el)};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();AccordionItem.style=accordionItemCss;export{Accordion as calcite_accordion,AccordionItem as calcite_accordion_item};
6
+ import{r as registerInstance,c as createEvent,h,g as getElement,H as Host}from"./index-dfcf10d7.js";import{d as getElementProp,a as getElementDir,t as toAriaBoolean,C as CSS_UTILITY}from"./dom-6c1f7204.js";import{g as guid}from"./guid-9ee41ac6.js";var accordionCss="@-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{--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;-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{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([scale=s]){--calcite-accordion-item-spacing-unit:0.25rem;--calcite-accordion-icon-margin:0.5rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-accordion-item-spacing-unit:0.5rem;--calcite-accordion-icon-margin:0.75rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-accordion-item-spacing-unit:0.75rem;--calcite-accordion-icon-margin:1rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{position:relative;display:block;max-width:100%;line-height:1.5rem;--calcite-accordion-item-border:var(--calcite-ui-border-2);--calcite-accordion-item-background:var(--calcite-ui-foreground-1)}.accordion--transparent{--calcite-accordion-item-border:transparent;--calcite-accordion-item-background:transparent}.accordion--minimal{--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0}.accordion{border-width:1px;border-bottom-width:0px;border-style:solid;border-color:var(--calcite-ui-border-2)}";var Accordion=function(){function t(t){registerInstance(this,t);this.calciteInternalAccordionChange=createEvent(this,"calciteInternalAccordionChange",7);this.appearance="default";this.iconPosition="end";this.iconType="chevron";this.scale="m";this.selectionMode="multi";this.items=[];this.sorted=false;this.sortItems=function(t){return t.sort((function(t,i){return t.position-i.position})).map((function(t){return t.item}))}}t.prototype.componentDidLoad=function(){if(!this.sorted){this.items=this.sortItems(this.items);this.sorted=true}};t.prototype.render=function(){return h("div",{class:{"accordion--transparent":this.appearance==="transparent","accordion--minimal":this.appearance==="minimal",accordion:this.appearance==="default"}},h("slot",null))};t.prototype.calciteInternalAccordionItemKeyEvent=function(t){var i=t.detail.item;var e=t.detail.parent;if(this.el===e){var a=i.key;var o=t.target;var n=this.itemIndex(o)===0;var c=this.itemIndex(o)===this.items.length-1;switch(a){case"ArrowDown":if(c){this.focusFirstItem()}else{this.focusNextItem(o)}break;case"ArrowUp":if(n){this.focusLastItem()}else{this.focusPrevItem(o)}break;case"Home":this.focusFirstItem();break;case"End":this.focusLastItem();break}}t.stopPropagation()};t.prototype.registerCalciteAccordionItem=function(t){var i={item:t.target,parent:t.detail.parent,position:t.detail.position};if(this.el===i.parent){this.items.push(i)}t.stopPropagation()};t.prototype.updateActiveItemOnChange=function(t){this.requestedAccordionItem=t.detail.requestedAccordionItem;this.calciteInternalAccordionChange.emit({requestedAccordionItem:this.requestedAccordionItem});t.stopPropagation()};t.prototype.focusFirstItem=function(){var t=this.items[0];this.focusElement(t)};t.prototype.focusLastItem=function(){var t=this.items[this.items.length-1];this.focusElement(t)};t.prototype.focusNextItem=function(t){var i=this.itemIndex(t);var e=this.items[i+1]||this.items[0];this.focusElement(e)};t.prototype.focusPrevItem=function(t){var i=this.itemIndex(t);var e=this.items[i-1]||this.items[this.items.length-1];this.focusElement(e)};t.prototype.itemIndex=function(t){return this.items.indexOf(t)};t.prototype.focusElement=function(t){var i=t;i===null||i===void 0?void 0:i.focus()};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();Accordion.style=accordionCss;var accordionItemCss="@-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{--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;-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{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}.icon-position--end,.icon-position--start{--calcite-accordion-item-icon-rotation:calc(90deg * -1);--calcite-accordion-item-active-icon-rotation:0deg;--calcite-accordion-item-icon-rotation-rtl:90deg;--calcite-accordion-item-active-icon-rotation-rtl:0deg}.icon-position--start{--calcite-accordion-item-flex-direction:row-reverse;--calcite-accordion-item-icon-spacing-start:0;--calcite-accordion-item-icon-spacing-end:var(--calcite-accordion-icon-margin)}.icon-position--end{--calcite-accordion-item-flex-direction:row;--calcite-accordion-item-icon-spacing-start:var(--calcite-accordion-icon-margin);--calcite-accordion-item-icon-spacing-end:0}.icon-position--end:not(.icon-type--plus-minus){--calcite-accordion-item-icon-rotation:0deg;--calcite-accordion-item-active-icon-rotation:180deg;--calcite-accordion-item-icon-rotation-rtl:0deg;--calcite-accordion-item-active-icon-rotation-rtl:calc(180deg * -1)}:host{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;background-color:var(--calcite-accordion-item-background, var(--calcite-ui-foreground-1))}:host .accordion-item-header{outline-color:transparent}:host(:focus) .accordion-item-header{outline:2px solid transparent;outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host([active]),:host([expanded]){color:var(--calcite-ui-text-1)}:host([active]) .accordion-item-content,:host([expanded]) .accordion-item-content{display:block;color:var(--calcite-ui-text-1)}:host([active]) .accordion-item-header,:host([expanded]) .accordion-item-header{border-bottom-color:transparent}:host .accordion-item-header{display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-direction:var(--calcite-accordion-item-flex-direction);flex-direction:var(--calcite-accordion-item-flex-direction)}:host .accordion-item-icon{position:relative;margin:0px;display:-ms-inline-flexbox;display:inline-flex;color:var(--calcite-ui-text-3);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-margin-end:var(--calcite-accordion-item-icon-spacing-start);margin-inline-end:var(--calcite-accordion-item-icon-spacing-start);-webkit-margin-start:var(--calcite-accordion-item-icon-spacing-end);margin-inline-start:var(--calcite-accordion-item-icon-spacing-end)}:host .accordion-item-content,:host .accordion-item-header{padding:var(--calcite-accordion-item-padding);border-bottom:1px solid var(--calcite-accordion-item-border, var(--calcite-ui-border-2))}:host .accordion-item-header *{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .accordion-item-content{display:none;padding-top:0px;color:var(--calcite-ui-text-3);text-align:initial}:host .accordion-item-expand-icon{color:var(--calcite-ui-text-3);-webkit-margin-start:var(--calcite-accordion-item-icon-spacing-start);margin-inline-start:var(--calcite-accordion-item-icon-spacing-start);-webkit-margin-end:var(--calcite-accordion-item-icon-spacing-end);margin-inline-end:var(--calcite-accordion-item-icon-spacing-end);-webkit-transform:rotate(var(--calcite-accordion-item-icon-rotation));transform:rotate(var(--calcite-accordion-item-icon-rotation))}.calcite--rtl .accordion-item-expand-icon{-webkit-transform:rotate(var(--calcite-accordion-item-icon-rotation-rtl));transform:rotate(var(--calcite-accordion-item-icon-rotation-rtl))}:host([active]) .accordion-item-expand-icon,:host([expanded]) .accordion-item-expand-icon{color:var(--calcite-ui-text-1);-webkit-transform:rotate(var(--calcite-accordion-item-active-icon-rotation));transform:rotate(var(--calcite-accordion-item-active-icon-rotation))}:host([active]) .calcite--rtl .accordion-item-expand-icon,:host([expanded]) .calcite--rtl .accordion-item-expand-icon{-webkit-transform:rotate(var(--calcite-accordion-item-active-icon-rotation-rtl));transform:rotate(var(--calcite-accordion-item-active-icon-rotation-rtl))}:host .accordion-item-header-text{margin-top:0px;margin-bottom:0px;-ms-flex-positive:1;flex-grow:1;-ms-flex-direction:column;flex-direction:column;padding-top:0px;padding-bottom:0px;text-align:initial;-webkit-margin-end:auto;margin-inline-end:auto}:host .accordion-item-heading,:host .accordion-item-description{display:-ms-flexbox;display:flex;width:100%}:host .accordion-item-heading{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}:host .accordion-item-description{margin-top:0.25rem;color:var(--calcite-ui-text-3)}:host(:focus) .accordion-item-heading,:host(:hover) .accordion-item-heading{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-icon,:host(:hover) .accordion-item-icon{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-expand-icon,:host(:hover) .accordion-item-expand-icon{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-description,:host(:hover) .accordion-item-description{color:var(--calcite-ui-text-2)}:host(:focus) .accordion-item-heading,:host(:active) .accordion-item-heading,:host([active]) .accordion-item-heading,:host([expanded]) .accordion-item-heading{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-icon,:host(:active) .accordion-item-icon,:host([active]) .accordion-item-icon,:host([expanded]) .accordion-item-icon{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-expand-icon,:host(:active) .accordion-item-expand-icon,:host([active]) .accordion-item-expand-icon,:host([expanded]) .accordion-item-expand-icon{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-description,:host(:active) .accordion-item-description,:host([active]) .accordion-item-description,:host([expanded]) .accordion-item-description{color:var(--calcite-ui-text-2)}@media (forced-colors: active){:host([expanded]) .accordion-item-header{border-bottom:none}:host([expanded]) .accordion-item-heading{font-weight:bolder}:host(:hover) .accordion-item-heading,:host(:focus) .accordion-item-heading{text-decoration:underline}}";var AccordionItem=function(){function t(t){var i=this;registerInstance(this,t);this.calciteInternalAccordionItemKeyEvent=createEvent(this,"calciteInternalAccordionItemKeyEvent",7);this.calciteInternalAccordionItemSelect=createEvent(this,"calciteInternalAccordionItemSelect",7);this.calciteInternalAccordionItemClose=createEvent(this,"calciteInternalAccordionItemClose",7);this.calciteInternalAccordionItemRegister=createEvent(this,"calciteInternalAccordionItemRegister",7);this.active=false;this.expanded=false;this.guid=guid();this.iconPosition="end";this.itemHeaderClickHandler=function(){return i.emitRequestedItem()}}t.prototype.connectedCallback=function(){this.parent=this.el.parentElement;this.selectionMode=getElementProp(this.el,"selection-mode","multi");this.iconType=getElementProp(this.el,"icon-type","chevron");this.iconPosition=getElementProp(this.el,"icon-position",this.iconPosition)};t.prototype.componentDidLoad=function(){this.itemPosition=this.getItemPosition();this.calciteInternalAccordionItemRegister.emit({parent:this.parent,position:this.itemPosition})};t.prototype.render=function(){var t,i;var e=getElementDir(this.el);var a=h("calcite-icon",{class:"accordion-item-icon",icon:this.icon,scale:"s"});var o=this.guid;var n="".concat(o,"-region");var c="".concat(o,"-button");return h(Host,{tabindex:"0"},h("div",{class:(t={},t["icon-position--".concat(this.iconPosition)]=true,t["icon-type--".concat(this.iconType)]=true,t)},h("div",{"aria-controls":n,"aria-expanded":toAriaBoolean(this.active),class:(i={"accordion-item-header":true},i[CSS_UTILITY.rtl]=e==="rtl",i),id:c,onClick:this.itemHeaderClickHandler,role:"button"},this.icon?a:null,h("div",{class:"accordion-item-header-text"},h("span",{class:"accordion-item-heading"},this.heading||this.itemTitle),this.itemSubtitle?h("span",{class:"accordion-item-description"},this.description||this.itemSubtitle):null),h("calcite-icon",{class:"accordion-item-expand-icon",icon:this.iconType==="chevron"?"chevronDown":this.iconType==="caret"?"caretDown":this.expanded||this.active?"minus":"plus",scale:"s"})),h("div",{"aria-expanded":toAriaBoolean(this.expanded||this.active),"aria-labelledby":c,class:"accordion-item-content",id:n,role:"region"},h("slot",null))))};t.prototype.keyDownHandler=function(t){if(t.target===this.el){switch(t.key){case" ":case"Enter":this.emitRequestedItem();t.preventDefault();break;case"ArrowUp":case"ArrowDown":case"Home":case"End":this.calciteInternalAccordionItemKeyEvent.emit({parent:this.parent,item:t});t.preventDefault();break}}};t.prototype.updateActiveItemOnChange=function(t){this.requestedAccordionItem=t.detail.requestedAccordionItem;if(this.el.parentNode!==this.requestedAccordionItem.parentNode){return}this.determineActiveItem();t.stopPropagation()};t.prototype.determineActiveItem=function(){switch(this.selectionMode){case"multi":if(this.el===this.requestedAccordionItem){this.active=!this.active;this.expanded=!this.expanded}break;case"single":this.active=this.el===this.requestedAccordionItem?!this.active:false;this.expanded=this.el===this.requestedAccordionItem?!this.expanded:false;break;case"single-persist":this.active=this.el===this.requestedAccordionItem;this.expanded=this.el===this.requestedAccordionItem;break}};t.prototype.emitRequestedItem=function(){this.calciteInternalAccordionItemSelect.emit({requestedAccordionItem:this.el})};t.prototype.getItemPosition=function(){return Array.prototype.indexOf.call(this.parent.querySelectorAll("calcite-accordion-item"),this.el)};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();AccordionItem.style=accordionItemCss;export{Accordion as calcite_accordion,AccordionItem as calcite_accordion_item};
@@ -2,5 +2,5 @@ var __awaiter=this&&this.__awaiter||function(t,e,n,o){function i(t){return t ins
2
2
  /*!
3
3
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
4
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
- * v1.0.0-beta.83
6
- */import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-1e02e91b.js";import{t as toggleChildActionText,o as overflowActionsDebounceInMs,q as queryActions,a as overflowActions,E as ExpandToggle,g as getOverflowCount}from"./ExpandToggle-ce794961.js";import{f as focusElement,g as getSlotted}from"./dom-4caa79e4.js";import{c as createObserver}from"./observers-c18e9524.js";import{c as connectConditionalSlotComponent,d as disconnectConditionalSlotComponent}from"./conditionalSlot-6be8f3bd.js";import{d as debounce}from"./debounce-9626aac0.js";import"./resources-a2cad43d.js";import"./resources-a32d1180.js";import"./guid-27925469.js";var CSS={actionGroupBottom:"action-group--bottom"};var SLOTS={bottomActions:"bottom-actions",expandTooltip:"expand-tooltip"};var TEXT={expand:"Expand",collapse:"Collapse"};var 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{--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;-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{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:host{-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 *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{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-y:auto}:host([expanded]){max-width:20vw}::slotted(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){border-bottom-width:0px}.action-group--bottom{-ms-flex-positive:1;flex-grow:1;-ms-flex-pack:end;justify-content:flex-end;padding-bottom:0px}";var ActionBar=function(){function t(t){var e=this;registerInstance(this,t);this.calciteActionBarToggle=createEvent(this,"calciteActionBarToggle",7);this.expandDisabled=false;this.expanded=false;this.overflowActionsDisabled=false;this.mutationObserver=createObserver("mutation",(function(){var t=e,n=t.el,o=t.expanded;toggleChildActionText({parent:n,expanded:o});e.conditionallyOverflowActions()}));this.resizeObserver=createObserver("resize",(function(t){return e.resizeHandlerEntries(t)}));this.actionMenuOpenChangeHandler=function(t){if(t.detail){var n=t.composedPath();Array.from(e.el.querySelectorAll("calcite-action-group")).forEach((function(t){if(!n.includes(t)){t.menuOpen=false}}))}};this.resizeHandlerEntries=function(t){t.forEach(e.resizeHandler)};this.resizeHandler=function(t){var n=t.contentRect.height;e.resize(n)};this.resize=debounce((function(t){var n;var o=e,i=o.el,a=o.expanded,r=o.expandDisabled;if(!t){return}var l=queryActions(i);var s=r?l.length:l.length+1;var c=Array.from(i.querySelectorAll("calcite-action-group"));var d=getSlotted(i,SLOTS.bottomActions)||!r?c.length+1:c.length;var p=getOverflowCount({actionCount:s,actionHeight:(n=l[0])===null||n===void 0?void 0:n.clientHeight,height:t,groupCount:d});overflowActions({actionGroups:c,expanded:a,overflowCount:p})}),overflowActionsDebounceInMs);this.conditionallyOverflowActions=function(){if(!e.overflowActionsDisabled){e.overflowActions()}};this.toggleExpand=function(){e.expanded=!e.expanded;e.calciteActionBarToggle.emit()};this.setExpandToggleRef=function(t){e.expandToggleEl=t}}t.prototype.expandHandler=function(){this.conditionallyOverflowActions()};t.prototype.expandedHandler=function(t){toggleChildActionText({parent:this.el,expanded:t})};t.prototype.overflowDisabledHandler=function(t){t?this.resizeObserver.disconnect():this.resizeObserver.observe(this.el)};t.prototype.componentDidLoad=function(){this.conditionallyOverflowActions()};t.prototype.connectedCallback=function(){var t,e;var n=this,o=n.el,i=n.expanded;toggleChildActionText({parent:o,expanded:i});(t=this.mutationObserver)===null||t===void 0?void 0:t.observe(o,{childList:true,subtree:true});if(!this.overflowActionsDisabled){(e=this.resizeObserver)===null||e===void 0?void 0:e.observe(o)}this.conditionallyOverflowActions();connectConditionalSlotComponent(this)};t.prototype.disconnectedCallback=function(){var t,e;(t=this.mutationObserver)===null||t===void 0?void 0:t.disconnect();(e=this.resizeObserver)===null||e===void 0?void 0:e.disconnect();disconnectConditionalSlotComponent(this)};t.prototype.overflowActions=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.resize(this.el.clientHeight);return[2]}))}))};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:if(!(t==="expand-toggle"))return[3,2];return[4,focusElement(this.expandToggleEl)];case 1:e.sent();return[2];case 2:this.el.focus();return[2]}}))}))};t.prototype.renderBottomActionGroup=function(){var t=this,e=t.expanded,n=t.expandDisabled,o=t.intlExpand,i=t.intlCollapse,a=t.el,r=t.position,l=t.toggleExpand,s=t.scale;var c=getSlotted(a,SLOTS.expandTooltip);var d=o||TEXT.expand;var p=i||TEXT.collapse;var f=!n?h(ExpandToggle,{el:a,expanded:e,intlCollapse:p,intlExpand:d,position:r,ref:this.setExpandToggleRef,scale:s,toggle:l,tooltip:c}):null;return getSlotted(a,SLOTS.bottomActions)||f?h("calcite-action-group",{class:CSS.actionGroupBottom,scale:s},h("slot",{name:SLOTS.bottomActions}),h("slot",{name:SLOTS.expandTooltip}),f):null};t.prototype.render=function(){return h(Host,{onCalciteActionMenuOpenChange:this.actionMenuOpenChangeHandler},h("slot",null),this.renderBottomActionGroup())};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{expandDisabled:["expandHandler"],expanded:["expandedHandler"],overflowActionsDisabled:["overflowDisabledHandler"]}},enumerable:false,configurable:true});return t}();ActionBar.style=actionBarCss;export{ActionBar as calcite_action_bar};
5
+ * v1.0.0-beta.86
6
+ */import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-dfcf10d7.js";import{t as toggleChildActionText,o as overflowActionsDebounceInMs,q as queryActions,a as overflowActions,E as ExpandToggle,g as getOverflowCount}from"./ExpandToggle-7076d600.js";import{f as focusElement,g as getSlotted}from"./dom-6c1f7204.js";import{c as createObserver}from"./observers-fa0db945.js";import{c as connectConditionalSlotComponent,d as disconnectConditionalSlotComponent}from"./conditionalSlot-13c69fa9.js";import{d as debounce}from"./debounce-bef6fc2c.js";import"./resources-7198828a.js";import"./resources-3b67e62a.js";import"./guid-9ee41ac6.js";var CSS={actionGroupBottom:"action-group--bottom"};var SLOTS={bottomActions:"bottom-actions",expandTooltip:"expand-tooltip"};var TEXT={expand:"Expand",collapse:"Collapse"};var 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{--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;-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{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:host{-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 *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{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-y:auto}:host([expanded]){max-width:20vw}::slotted(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){border-bottom-width:0px}.action-group--bottom{-ms-flex-positive:1;flex-grow:1;-ms-flex-pack:end;justify-content:flex-end;padding-bottom:0px}";var ActionBar=function(){function t(t){var e=this;registerInstance(this,t);this.calciteActionBarToggle=createEvent(this,"calciteActionBarToggle",7);this.expandDisabled=false;this.expanded=false;this.overflowActionsDisabled=false;this.mutationObserver=createObserver("mutation",(function(){var t=e,n=t.el,o=t.expanded;toggleChildActionText({parent:n,expanded:o});e.conditionallyOverflowActions()}));this.resizeObserver=createObserver("resize",(function(t){return e.resizeHandlerEntries(t)}));this.actionMenuOpenChangeHandler=function(t){if(t.detail){var n=t.composedPath();Array.from(e.el.querySelectorAll("calcite-action-group")).forEach((function(t){if(!n.includes(t)){t.menuOpen=false}}))}};this.resizeHandlerEntries=function(t){t.forEach(e.resizeHandler)};this.resizeHandler=function(t){var n=t.contentRect.height;e.resize(n)};this.resize=debounce((function(t){var n;var o=e,i=o.el,a=o.expanded,r=o.expandDisabled;if(!t){return}var l=queryActions(i);var s=r?l.length:l.length+1;var c=Array.from(i.querySelectorAll("calcite-action-group"));var d=getSlotted(i,SLOTS.bottomActions)||!r?c.length+1:c.length;var p=getOverflowCount({actionCount:s,actionHeight:(n=l[0])===null||n===void 0?void 0:n.clientHeight,height:t,groupCount:d});overflowActions({actionGroups:c,expanded:a,overflowCount:p})}),overflowActionsDebounceInMs);this.conditionallyOverflowActions=function(){if(!e.overflowActionsDisabled){e.overflowActions()}};this.toggleExpand=function(){e.expanded=!e.expanded;e.calciteActionBarToggle.emit()};this.setExpandToggleRef=function(t){e.expandToggleEl=t}}t.prototype.expandHandler=function(){this.conditionallyOverflowActions()};t.prototype.expandedHandler=function(t){toggleChildActionText({parent:this.el,expanded:t})};t.prototype.overflowDisabledHandler=function(t){t?this.resizeObserver.disconnect():this.resizeObserver.observe(this.el)};t.prototype.componentDidLoad=function(){this.conditionallyOverflowActions()};t.prototype.connectedCallback=function(){var t,e;var n=this,o=n.el,i=n.expanded;toggleChildActionText({parent:o,expanded:i});(t=this.mutationObserver)===null||t===void 0?void 0:t.observe(o,{childList:true,subtree:true});if(!this.overflowActionsDisabled){(e=this.resizeObserver)===null||e===void 0?void 0:e.observe(o)}this.conditionallyOverflowActions();connectConditionalSlotComponent(this)};t.prototype.disconnectedCallback=function(){var t,e;(t=this.mutationObserver)===null||t===void 0?void 0:t.disconnect();(e=this.resizeObserver)===null||e===void 0?void 0:e.disconnect();disconnectConditionalSlotComponent(this)};t.prototype.overflowActions=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.resize(this.el.clientHeight);return[2]}))}))};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(n){switch(n.label){case 0:if(!(t==="expand-toggle"))return[3,2];return[4,focusElement(this.expandToggleEl)];case 1:n.sent();return[2];case 2:(e=this.el)===null||e===void 0?void 0:e.focus();return[2]}}))}))};t.prototype.renderBottomActionGroup=function(){var t=this,e=t.expanded,n=t.expandDisabled,o=t.intlExpand,i=t.intlCollapse,a=t.el,r=t.position,l=t.toggleExpand,s=t.scale;var c=getSlotted(a,SLOTS.expandTooltip);var d=o||TEXT.expand;var p=i||TEXT.collapse;var f=!n?h(ExpandToggle,{el:a,expanded:e,intlCollapse:p,intlExpand:d,position:r,ref:this.setExpandToggleRef,scale:s,toggle:l,tooltip:c}):null;return getSlotted(a,SLOTS.bottomActions)||f?h("calcite-action-group",{class:CSS.actionGroupBottom,scale:s},h("slot",{name:SLOTS.bottomActions}),h("slot",{name:SLOTS.expandTooltip}),f):null};t.prototype.render=function(){return h(Host,{onCalciteActionMenuOpenChange:this.actionMenuOpenChangeHandler},h("slot",null),this.renderBottomActionGroup())};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{expandDisabled:["expandHandler"],expanded:["expandedHandler"],overflowActionsDisabled:["overflowDisabledHandler"]}},enumerable:false,configurable:true});return t}();ActionBar.style=actionBarCss;export{ActionBar as calcite_action_bar};
@@ -1,6 +1,6 @@
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.83
4
+ * v1.0.0-beta.86
5
5
  */
6
- import{r as registerInstance,h,F as Fragment,g as getElement}from"./index-1e02e91b.js";import{S as SLOTS,I as ICONS,T as TEXT}from"./resources-a32d1180.js";import{g as getSlotted}from"./dom-4caa79e4.js";import{S as SLOTS$1}from"./resources-a2cad43d.js";import{c as connectConditionalSlotComponent,d as disconnectConditionalSlotComponent}from"./conditionalSlot-6be8f3bd.js";import"./guid-27925469.js";import"./observers-c18e9524.js";var actionGroupCss='@-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{--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;-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{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:host{-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 *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:0px;--calcite-action-group-columns:3}:host([columns="1"]){--calcite-action-group-columns:1}:host([columns="2"]){--calcite-action-group-columns:2}:host([columns="3"]){--calcite-action-group-columns:3}:host([columns="4"]){--calcite-action-group-columns:4}:host([columns="5"]){--calcite-action-group-columns:5}:host([columns="6"]){--calcite-action-group-columns:6}:host(:first-child){padding-top:0px}:host([layout=horizontal]){-ms-flex-direction:row;flex-direction:row}:host([layout=grid]){display:grid;place-content:stretch;gap:1px;background-color:var(--calcite-ui-background);padding:1px;grid-template-columns:repeat(var(--calcite-action-group-columns), auto)}';var ActionGroup=function(){function t(t){var n=this;registerInstance(this,t);this.expanded=false;this.layout="vertical";this.menuOpen=false;this.setMenuOpen=function(t){n.menuOpen=!!t.detail}}t.prototype.expandedHandler=function(){this.menuOpen=false};t.prototype.connectedCallback=function(){connectConditionalSlotComponent(this)};t.prototype.disconnectedCallback=function(){disconnectConditionalSlotComponent(this)};t.prototype.renderTooltip=function(){var t=this.el;var n=getSlotted(t,SLOTS.menuTooltip);return n?h("slot",{name:SLOTS.menuTooltip,slot:SLOTS$1.tooltip}):null};t.prototype.renderMenu=function(){var t=this,n=t.el,a=t.expanded,e=t.intlMore,i=t.menuOpen,o=t.scale;var r=getSlotted(n,SLOTS.menuActions);return r?h("calcite-action-menu",{expanded:a,flipPlacements:["left","right"],label:e||TEXT.more,onCalciteActionMenuOpenChange:this.setMenuOpen,open:i,placement:"leading-start",scale:o},h("calcite-action",{icon:ICONS.menu,scale:o,slot:SLOTS$1.trigger,text:e||TEXT.more,textEnabled:a}),h("slot",{name:SLOTS.menuActions}),this.renderTooltip()):null};t.prototype.render=function(){return h(Fragment,null,h("slot",null),this.renderMenu())};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{expanded:["expandedHandler"]}},enumerable:false,configurable:true});return t}();ActionGroup.style=actionGroupCss;export{ActionGroup as calcite_action_group};
6
+ import{r as registerInstance,h,F as Fragment,g as getElement}from"./index-dfcf10d7.js";import{S as SLOTS,I as ICONS,T as TEXT}from"./resources-3b67e62a.js";import{g as getSlotted}from"./dom-6c1f7204.js";import{S as SLOTS$1}from"./resources-7198828a.js";import{c as connectConditionalSlotComponent,d as disconnectConditionalSlotComponent}from"./conditionalSlot-13c69fa9.js";import"./guid-9ee41ac6.js";import"./observers-fa0db945.js";var actionGroupCss='@-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{--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;-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{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:host{-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 *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:0px;--calcite-action-group-columns:3}:host([columns="1"]){--calcite-action-group-columns:1}:host([columns="2"]){--calcite-action-group-columns:2}:host([columns="3"]){--calcite-action-group-columns:3}:host([columns="4"]){--calcite-action-group-columns:4}:host([columns="5"]){--calcite-action-group-columns:5}:host([columns="6"]){--calcite-action-group-columns:6}:host(:first-child){padding-top:0px}:host([layout=horizontal]){-ms-flex-direction:row;flex-direction:row}:host([layout=grid]){display:grid;place-content:stretch;gap:1px;background-color:var(--calcite-ui-background);padding:1px;grid-template-columns:repeat(var(--calcite-action-group-columns), auto)}';var ActionGroup=function(){function t(t){var n=this;registerInstance(this,t);this.expanded=false;this.layout="vertical";this.menuOpen=false;this.setMenuOpen=function(t){n.menuOpen=!!t.detail}}t.prototype.expandedHandler=function(){this.menuOpen=false};t.prototype.connectedCallback=function(){connectConditionalSlotComponent(this)};t.prototype.disconnectedCallback=function(){disconnectConditionalSlotComponent(this)};t.prototype.renderTooltip=function(){var t=this.el;var n=getSlotted(t,SLOTS.menuTooltip);return n?h("slot",{name:SLOTS.menuTooltip,slot:SLOTS$1.tooltip}):null};t.prototype.renderMenu=function(){var t=this,n=t.el,a=t.expanded,e=t.intlMore,i=t.menuOpen,o=t.scale;var r=getSlotted(n,SLOTS.menuActions);return r?h("calcite-action-menu",{expanded:a,flipPlacements:["left","right"],label:e||TEXT.more,onCalciteActionMenuOpenChange:this.setMenuOpen,open:i,placement:"leading-start",scale:o},h("calcite-action",{icon:ICONS.menu,scale:o,slot:SLOTS$1.trigger,text:e||TEXT.more,textEnabled:a}),h("slot",{name:SLOTS.menuActions}),this.renderTooltip()):null};t.prototype.render=function(){return h(Fragment,null,h("slot",null),this.renderMenu())};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{expanded:["expandedHandler"]}},enumerable:false,configurable:true});return t}();ActionGroup.style=actionGroupCss;export{ActionGroup as calcite_action_group};