@esri/calcite-components 1.0.0-beta.73 → 1.0.0-beta.74

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 (459) hide show
  1. package/dist/calcite/assets/calcite-date-picker/nls/bg.json +31 -0
  2. package/dist/calcite/assets/calcite-icon/checkSquareF16.json +1 -0
  3. package/dist/calcite/assets/calcite-icon/checkSquareF24.json +1 -0
  4. package/dist/calcite/assets/calcite-icon/checkSquareF32.json +1 -0
  5. package/dist/calcite/assets/calcite-icon/lineSolid4.json +1 -0
  6. package/dist/calcite/assets/calcite-icon/squareF16.json +1 -0
  7. package/dist/calcite/assets/calcite-icon/squareF24.json +1 -0
  8. package/dist/calcite/assets/calcite-icon/squareF32.json +1 -0
  9. package/dist/calcite/assets/calcite-icon/xHexagon16.json +1 -0
  10. package/dist/calcite/assets/calcite-icon/xHexagon24.json +1 -0
  11. package/dist/calcite/assets/calcite-icon/xHexagon32.json +1 -0
  12. package/dist/calcite/assets/calcite-icon/xHexagonF16.json +1 -0
  13. package/dist/calcite/assets/calcite-icon/xHexagonF24.json +1 -0
  14. package/dist/calcite/assets/calcite-icon/xHexagonF32.json +1 -0
  15. package/dist/calcite/assets/calcite-icon/xOctagonF16.json +1 -0
  16. package/dist/calcite/assets/calcite-icon/xOctagonF24.json +1 -0
  17. package/dist/calcite/assets/calcite-icon/xOctagonF32.json +1 -0
  18. package/dist/calcite/calcite.esm.js +1 -1
  19. package/dist/calcite/{p-84738edb.system.entry.js → p-02589ad3.system.entry.js} +1 -1
  20. package/dist/calcite/{p-3e8cf990.entry.js → p-05dc6806.entry.js} +1 -1
  21. package/dist/calcite/{p-e62edb4d.system.entry.js → p-088a096d.system.entry.js} +1 -1
  22. package/dist/calcite/{p-481366ac.entry.js → p-0af820bf.entry.js} +1 -1
  23. package/dist/calcite/{p-7a2142c2.system.entry.js → p-0b0ce9b2.system.entry.js} +1 -1
  24. package/dist/calcite/{p-6dbcd698.system.entry.js → p-0cf878ed.system.entry.js} +1 -1
  25. package/dist/calcite/p-10f1a096.system.entry.js +5 -0
  26. package/dist/calcite/{p-d00fbd1e.entry.js → p-132d55c2.entry.js} +1 -1
  27. package/dist/calcite/{p-1ae01548.system.js → p-14ff4cbd.system.js} +1 -1
  28. package/dist/calcite/{p-f63b9411.entry.js → p-16cfe8e8.entry.js} +1 -1
  29. package/dist/calcite/p-1894562d.system.entry.js +5 -0
  30. package/dist/calcite/p-1a5dae4a.entry.js +5 -0
  31. package/dist/calcite/{p-0b187e6a.system.entry.js → p-1b3a66ec.system.entry.js} +1 -1
  32. package/dist/calcite/{p-082c3059.system.entry.js → p-1d7a9909.system.entry.js} +1 -1
  33. package/dist/calcite/{p-770c1d6b.entry.js → p-21f26f77.entry.js} +1 -1
  34. package/dist/calcite/p-244e0b95.entry.js +5 -0
  35. package/dist/calcite/{p-a88d8075.entry.js → p-253efee4.entry.js} +1 -1
  36. package/dist/calcite/{p-d5b221b1.entry.js → p-2618de8a.entry.js} +1 -1
  37. package/dist/calcite/{p-b55fa7bc.entry.js → p-273cd5ab.entry.js} +1 -1
  38. package/dist/calcite/{p-55e6b0b2.entry.js → p-28adfebc.entry.js} +1 -1
  39. package/dist/calcite/{p-26755e82.system.js → p-28dea60a.system.js} +1 -1
  40. package/dist/calcite/{p-1d26d522.system.entry.js → p-2a8938c7.system.entry.js} +1 -1
  41. package/dist/calcite/{p-e5130ebf.system.entry.js → p-2c954eaa.system.entry.js} +1 -1
  42. package/dist/calcite/{p-ef6f8370.entry.js → p-325fcd0d.entry.js} +1 -1
  43. package/dist/calcite/p-32f6f7df.entry.js +5 -0
  44. package/dist/calcite/{p-4f9b0b0f.js → p-32f7eb32.js} +1 -1
  45. package/dist/calcite/{p-f8c99ef3.system.entry.js → p-37bddb73.system.entry.js} +1 -1
  46. package/dist/calcite/{p-475b5015.entry.js → p-38e64c6b.entry.js} +1 -1
  47. package/dist/calcite/{p-07284a52.system.js → p-3a20f93d.system.js} +1 -1
  48. package/dist/calcite/{p-ac234622.system.entry.js → p-3ab992ff.system.entry.js} +1 -1
  49. package/dist/calcite/{p-74365957.system.entry.js → p-3b73b785.system.entry.js} +1 -1
  50. package/dist/calcite/{p-15a38242.system.entry.js → p-3b8f5ab8.system.entry.js} +1 -1
  51. package/dist/calcite/{p-26481e18.js → p-3d4c34e5.js} +1 -1
  52. package/dist/calcite/{p-bccf787f.entry.js → p-3e9e4992.entry.js} +1 -1
  53. package/dist/calcite/{p-12c57970.js → p-41894582.js} +1 -1
  54. package/dist/calcite/{p-bb4dcd31.js → p-41e2198b.js} +1 -1
  55. package/dist/calcite/{p-3baf4001.system.entry.js → p-436d9f0e.system.entry.js} +1 -1
  56. package/dist/calcite/{p-5dcd2088.system.entry.js → p-45bfe5bf.system.entry.js} +1 -1
  57. package/dist/calcite/{p-b63dfa63.entry.js → p-4659df78.entry.js} +1 -1
  58. package/dist/calcite/{p-6cd93563.entry.js → p-46b63d75.entry.js} +1 -1
  59. package/dist/calcite/{p-a57bd5e6.entry.js → p-4d22b788.entry.js} +1 -1
  60. package/dist/calcite/{p-e7103edc.entry.js → p-51550014.entry.js} +1 -1
  61. package/dist/calcite/{p-92ad7d95.entry.js → p-51a85436.entry.js} +1 -1
  62. package/dist/calcite/{p-cbea8bac.system.js → p-52871e84.system.js} +1 -1
  63. package/dist/calcite/{p-57555baa.system.entry.js → p-54e271c9.system.entry.js} +1 -1
  64. package/dist/calcite/{p-2c278864.entry.js → p-57558d4b.entry.js} +1 -1
  65. package/dist/calcite/{p-5cce1e8b.entry.js → p-59133b9b.entry.js} +1 -1
  66. package/dist/calcite/{p-b5bb4618.system.entry.js → p-5c256f31.system.entry.js} +1 -1
  67. package/dist/calcite/{p-6c453fd0.system.entry.js → p-5c3b9524.system.entry.js} +1 -1
  68. package/dist/calcite/{p-18c9da83.entry.js → p-5df1936f.entry.js} +1 -1
  69. package/dist/calcite/{p-4aa28569.entry.js → p-6515e0a5.entry.js} +1 -1
  70. package/dist/calcite/{p-6e0fd056.entry.js → p-698167ac.entry.js} +1 -1
  71. package/dist/calcite/{p-6173cf08.system.js → p-781ebed0.system.js} +1 -1
  72. package/dist/calcite/{p-c5761666.entry.js → p-799f0655.entry.js} +1 -1
  73. package/dist/calcite/{p-b01c3a89.system.entry.js → p-7d355abe.system.entry.js} +1 -1
  74. package/dist/calcite/{p-afa72097.system.entry.js → p-7f32a681.system.entry.js} +1 -1
  75. package/dist/calcite/{p-557f31e6.system.entry.js → p-7f5bd070.system.entry.js} +1 -1
  76. package/dist/calcite/{p-cd54c8d0.system.entry.js → p-8468ddb0.system.entry.js} +1 -1
  77. package/dist/calcite/p-85fb7bc0.entry.js +5 -0
  78. package/dist/calcite/{p-917e53a2.system.entry.js → p-897fc280.system.entry.js} +1 -1
  79. package/dist/calcite/p-8b145872.system.entry.js +5 -0
  80. package/dist/calcite/p-8d36bc7c.entry.js +5 -0
  81. package/dist/calcite/{p-805c94b9.entry.js → p-8eafaf3f.entry.js} +1 -1
  82. package/dist/calcite/{p-e8270c76.system.entry.js → p-8ebed170.system.entry.js} +1 -1
  83. package/dist/calcite/{p-7bd71ff0.system.entry.js → p-8f4ea148.system.entry.js} +1 -1
  84. package/dist/calcite/{p-4fee156d.system.entry.js → p-99d29b5c.system.entry.js} +1 -1
  85. package/dist/calcite/p-99d32fc3.system.js +1 -1
  86. package/dist/calcite/p-9b05c3fd.js +5 -0
  87. package/dist/calcite/{p-6fb2082b.entry.js → p-9d81d229.entry.js} +1 -1
  88. package/dist/calcite/{p-d6e8d643.entry.js → p-a0043c61.entry.js} +1 -1
  89. package/dist/calcite/{p-cc63f8f9.entry.js → p-a1f65f6e.entry.js} +1 -1
  90. package/dist/calcite/{p-1509da0f.system.entry.js → p-a4dec1f6.system.entry.js} +1 -1
  91. package/dist/calcite/{p-90f7c357.system.entry.js → p-a9c50960.system.entry.js} +1 -1
  92. package/dist/calcite/{p-f8f128a2.entry.js → p-aaed1677.entry.js} +1 -1
  93. package/dist/calcite/{p-70566b09.system.entry.js → p-ac778725.system.entry.js} +1 -1
  94. package/dist/calcite/{p-9acd0a18.entry.js → p-ac8cf248.entry.js} +1 -1
  95. package/dist/calcite/p-b4990fa4.system.entry.js +5 -0
  96. package/dist/calcite/{p-bfd9f64a.entry.js → p-b4d3f1c1.entry.js} +1 -1
  97. package/dist/calcite/{p-fc3c1e91.entry.js → p-b80ab9ba.entry.js} +1 -1
  98. package/dist/calcite/p-bb401f25.system.js +5 -0
  99. package/dist/calcite/{p-3c14f089.system.entry.js → p-bb9fb183.system.entry.js} +1 -1
  100. package/dist/calcite/{p-2015299a.entry.js → p-bda51610.entry.js} +1 -1
  101. package/dist/calcite/{p-d6bfa9b1.entry.js → p-c0ed9eff.entry.js} +1 -1
  102. package/dist/calcite/{p-d4bafc77.system.js → p-c56f495f.system.js} +1 -1
  103. package/dist/calcite/{p-c3124245.system.entry.js → p-cb9cd28c.system.entry.js} +1 -1
  104. package/dist/calcite/p-d1794edd.entry.js +5 -0
  105. package/dist/calcite/{p-eca26cba.system.entry.js → p-d578e568.system.entry.js} +1 -1
  106. package/dist/calcite/{p-94398466.system.entry.js → p-d5d91f34.system.entry.js} +1 -1
  107. package/dist/calcite/{p-6f0c4739.system.entry.js → p-e0fa3b13.system.entry.js} +1 -1
  108. package/dist/calcite/{p-7017ca05.js → p-e1944963.js} +1 -1
  109. package/dist/calcite/{p-765d6b57.system.entry.js → p-e2ebc089.system.entry.js} +1 -1
  110. package/dist/calcite/{p-227da2a5.system.entry.js → p-e564004a.system.entry.js} +1 -1
  111. package/dist/calcite/{p-0ac72794.system.entry.js → p-e606e9ae.system.entry.js} +1 -1
  112. package/dist/calcite/{p-f70f5521.system.entry.js → p-e690993e.system.entry.js} +1 -1
  113. package/dist/calcite/{p-ae224016.system.entry.js → p-e6d14bc5.system.entry.js} +1 -1
  114. package/dist/calcite/{p-a7f8b343.entry.js → p-e87980ac.entry.js} +1 -1
  115. package/dist/calcite/{p-83d41684.entry.js → p-eea18662.entry.js} +1 -1
  116. package/dist/calcite/p-ef6b4184.js +5 -0
  117. package/dist/calcite/{p-3c1841bd.entry.js → p-f09810e7.entry.js} +1 -1
  118. package/dist/calcite/{p-0134e87c.system.entry.js → p-f5469b62.system.entry.js} +1 -1
  119. package/dist/calcite/{p-a76aa7d2.system.entry.js → p-f6fc151d.system.entry.js} +1 -1
  120. package/dist/calcite/{p-c077d664.entry.js → p-f73124d0.entry.js} +1 -1
  121. package/dist/calcite/{p-59222393.entry.js → p-f90b2e7f.entry.js} +1 -1
  122. package/dist/calcite/{p-4364e76a.system.js → p-fbcaa23c.system.js} +1 -1
  123. package/dist/calcite/{p-f3b489d9.js → p-fcd62e97.js} +1 -1
  124. package/dist/cjs/{CalciteExpandToggle-38ca208f.js → CalciteExpandToggle-65468585.js} +1 -1
  125. package/dist/cjs/calcite-accordion_2.cjs.entry.js +1 -1
  126. package/dist/cjs/calcite-action-bar.cjs.entry.js +2 -2
  127. package/dist/cjs/calcite-action-group.cjs.entry.js +1 -1
  128. package/dist/cjs/calcite-action-menu.cjs.entry.js +1 -1
  129. package/dist/cjs/calcite-action-pad.cjs.entry.js +2 -2
  130. package/dist/cjs/calcite-alert.cjs.entry.js +8 -5
  131. package/dist/cjs/calcite-avatar.cjs.entry.js +1 -1
  132. package/dist/cjs/calcite-block_2.cjs.entry.js +1 -1
  133. package/dist/cjs/calcite-button.cjs.entry.js +2 -2
  134. package/dist/cjs/calcite-checkbox.cjs.entry.js +3 -3
  135. package/dist/cjs/calcite-chip.cjs.entry.js +1 -1
  136. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +2 -2
  137. package/dist/cjs/calcite-combobox_3.cjs.entry.js +4 -4
  138. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +5 -4
  139. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +15 -13
  140. package/dist/cjs/calcite-fab.cjs.entry.js +1 -1
  141. package/dist/cjs/calcite-filter.cjs.entry.js +1 -1
  142. package/dist/cjs/calcite-graph_2.cjs.entry.js +3 -3
  143. package/dist/cjs/calcite-icon.cjs.entry.js +1 -1
  144. package/dist/cjs/calcite-inline-editable.cjs.entry.js +2 -2
  145. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +11 -6
  146. package/dist/cjs/calcite-input-message.cjs.entry.js +1 -1
  147. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +3 -3
  148. package/dist/cjs/calcite-input.cjs.entry.js +13 -6
  149. package/dist/cjs/calcite-link.cjs.entry.js +1 -1
  150. package/dist/cjs/calcite-list_3.cjs.entry.js +1 -1
  151. package/dist/cjs/calcite-modal.cjs.entry.js +1 -1
  152. package/dist/cjs/calcite-notice.cjs.entry.js +1 -1
  153. package/dist/cjs/calcite-option_3.cjs.entry.js +3 -3
  154. package/dist/cjs/calcite-panel.cjs.entry.js +1 -1
  155. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +2 -2
  156. package/dist/cjs/calcite-popover_2.cjs.entry.js +2 -2
  157. package/dist/cjs/calcite-radio-button.cjs.entry.js +4 -4
  158. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +3 -3
  159. package/dist/cjs/calcite-rating.cjs.entry.js +3 -3
  160. package/dist/cjs/calcite-shell_3.cjs.entry.js +1 -1
  161. package/dist/cjs/calcite-stepper_2.cjs.entry.js +1 -1
  162. package/dist/cjs/calcite-switch.cjs.entry.js +3 -3
  163. package/dist/cjs/calcite-tab_4.cjs.entry.js +1 -1
  164. package/dist/cjs/calcite-tile.cjs.entry.js +1 -1
  165. package/dist/cjs/calcite-tip_3.cjs.entry.js +1 -1
  166. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +2 -2
  167. package/dist/cjs/calcite-tree_2.cjs.entry.js +1 -2
  168. package/dist/cjs/calcite-value-list_2.cjs.entry.js +2 -2
  169. package/dist/cjs/calcite.cjs.js +1 -1
  170. package/dist/cjs/{dom-db7722f2.js → dom-0de9fb18.js} +17 -4
  171. package/dist/cjs/{form-ad18d4fc.js → form-4b7c317e.js} +1 -1
  172. package/dist/cjs/{label-4776bb0e.js → label-1bca211b.js} +1 -1
  173. package/dist/cjs/loader.cjs.js +1 -1
  174. package/dist/cjs/{locale-b9b153dd.js → locale-02462821.js} +1 -0
  175. package/dist/cjs/{popper-adfdc032.js → popper-09105f6f.js} +1 -1
  176. package/dist/cjs/{resources-8273cb31.js → resources-405cc2c4.js} +1 -1
  177. package/dist/cjs/{resources-c524c005.js → resources-9f0994fb.js} +1 -1
  178. package/dist/collection/collection-manifest.json +3 -3
  179. package/dist/collection/components/calcite-alert/calcite-alert.css +28 -6
  180. package/dist/collection/components/calcite-alert/calcite-alert.js +30 -4
  181. package/dist/collection/components/calcite-color-picker-swatch/resources.js +1 -1
  182. package/dist/collection/components/calcite-combobox/calcite-combobox.js +3 -3
  183. package/dist/collection/components/calcite-combobox/interfaces.d.js +1 -0
  184. package/dist/collection/components/calcite-combobox-item/calcite-combobox-item.js +1 -1
  185. package/dist/collection/components/calcite-combobox-item-group/calcite-combobox-item-group.js +1 -1
  186. package/dist/collection/components/calcite-date-picker/assets/calcite-date-picker/nls/bg.json +31 -0
  187. package/dist/collection/components/calcite-date-picker/calcite-date-picker.js +2 -1
  188. package/dist/collection/components/calcite-dropdown/calcite-dropdown.js +14 -12
  189. package/dist/collection/components/calcite-flow/calcite-flow.js +1 -1
  190. package/dist/collection/components/calcite-icon/assets/calcite-icon/checkSquareF16.json +1 -0
  191. package/dist/collection/components/calcite-icon/assets/calcite-icon/checkSquareF24.json +1 -0
  192. package/dist/collection/components/calcite-icon/assets/calcite-icon/checkSquareF32.json +1 -0
  193. package/dist/collection/components/calcite-icon/assets/calcite-icon/lineSolid4.json +1 -0
  194. package/dist/collection/components/calcite-icon/assets/calcite-icon/squareF16.json +1 -0
  195. package/dist/collection/components/calcite-icon/assets/calcite-icon/squareF24.json +1 -0
  196. package/dist/collection/components/calcite-icon/assets/calcite-icon/squareF32.json +1 -0
  197. package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagon16.json +1 -0
  198. package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagon24.json +1 -0
  199. package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagon32.json +1 -0
  200. package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagonF16.json +1 -0
  201. package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagonF24.json +1 -0
  202. package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagonF32.json +1 -0
  203. package/dist/collection/components/calcite-icon/assets/calcite-icon/xOctagonF16.json +1 -0
  204. package/dist/collection/components/calcite-icon/assets/calcite-icon/xOctagonF24.json +1 -0
  205. package/dist/collection/components/calcite-icon/assets/calcite-icon/xOctagonF32.json +1 -0
  206. package/dist/collection/components/calcite-input/calcite-input.js +9 -2
  207. package/dist/collection/components/calcite-input-date-picker/calcite-input-date-picker.js +38 -1
  208. package/dist/collection/components/calcite-label/interfaces.js +1 -0
  209. package/dist/collection/components/calcite-pick-list/calcite-pick-list.js +2 -2
  210. package/dist/collection/components/calcite-pick-list-item/calcite-pick-list-item.js +1 -1
  211. package/dist/collection/components/calcite-radio-button/calcite-radio-button.css +10 -0
  212. package/dist/collection/components/calcite-radio-group/calcite-radio-group.js +3 -5
  213. package/dist/collection/components/calcite-select/calcite-select.js +3 -5
  214. package/dist/collection/components/calcite-tree-item/calcite-tree-item.js +0 -1
  215. package/dist/collection/components/calcite-value-list/calcite-value-list.js +2 -2
  216. package/dist/collection/demos/_assets/demo-form.js +23 -0
  217. package/dist/collection/demos/_assets/demo-template.js +13 -0
  218. package/dist/collection/demos/_assets/head.js +45 -0
  219. package/dist/collection/demos/_assets/locales.js +223 -0
  220. package/dist/collection/utils/dom.js +17 -4
  221. package/dist/collection/utils/interactive.js +20 -0
  222. package/dist/collection/utils/locale.js +1 -0
  223. package/dist/components/calcite-alert.js +8 -4
  224. package/dist/components/calcite-color-picker-swatch2.js +1 -1
  225. package/dist/components/calcite-date-picker2.js +2 -1
  226. package/dist/components/calcite-dropdown2.js +13 -11
  227. package/dist/components/calcite-input-date-picker.js +6 -1
  228. package/dist/components/calcite-input2.js +9 -2
  229. package/dist/components/calcite-radio-button.js +1 -1
  230. package/dist/components/calcite-radio-group.js +1 -1
  231. package/dist/components/calcite-select.js +1 -1
  232. package/dist/components/calcite-tree-item.js +0 -1
  233. package/dist/components/dom.js +17 -4
  234. package/dist/components/locale.js +1 -0
  235. package/dist/custom-elements/index.js +60 -29
  236. package/dist/esm/{CalciteExpandToggle-1b1bf600.js → CalciteExpandToggle-48b6e955.js} +1 -1
  237. package/dist/esm/calcite-accordion_2.entry.js +1 -1
  238. package/dist/esm/calcite-action-bar.entry.js +2 -2
  239. package/dist/esm/calcite-action-group.entry.js +1 -1
  240. package/dist/esm/calcite-action-menu.entry.js +1 -1
  241. package/dist/esm/calcite-action-pad.entry.js +2 -2
  242. package/dist/esm/calcite-alert.entry.js +8 -5
  243. package/dist/esm/calcite-avatar.entry.js +1 -1
  244. package/dist/esm/calcite-block_2.entry.js +1 -1
  245. package/dist/esm/calcite-button.entry.js +2 -2
  246. package/dist/esm/calcite-checkbox.entry.js +3 -3
  247. package/dist/esm/calcite-chip.entry.js +1 -1
  248. package/dist/esm/calcite-color-picker_3.entry.js +2 -2
  249. package/dist/esm/calcite-combobox_3.entry.js +4 -4
  250. package/dist/esm/calcite-date-picker_4.entry.js +5 -4
  251. package/dist/esm/calcite-dropdown_3.entry.js +15 -13
  252. package/dist/esm/calcite-fab.entry.js +1 -1
  253. package/dist/esm/calcite-filter.entry.js +1 -1
  254. package/dist/esm/calcite-graph_2.entry.js +3 -3
  255. package/dist/esm/calcite-icon.entry.js +1 -1
  256. package/dist/esm/calcite-inline-editable.entry.js +2 -2
  257. package/dist/esm/calcite-input-date-picker.entry.js +11 -6
  258. package/dist/esm/calcite-input-message.entry.js +1 -1
  259. package/dist/esm/calcite-input-time-picker_2.entry.js +3 -3
  260. package/dist/esm/calcite-input.entry.js +13 -6
  261. package/dist/esm/calcite-link.entry.js +1 -1
  262. package/dist/esm/calcite-list_3.entry.js +1 -1
  263. package/dist/esm/calcite-modal.entry.js +1 -1
  264. package/dist/esm/calcite-notice.entry.js +1 -1
  265. package/dist/esm/calcite-option_3.entry.js +3 -3
  266. package/dist/esm/calcite-panel.entry.js +1 -1
  267. package/dist/esm/calcite-pick-list_3.entry.js +2 -2
  268. package/dist/esm/calcite-popover_2.entry.js +2 -2
  269. package/dist/esm/calcite-radio-button.entry.js +4 -4
  270. package/dist/esm/calcite-radio-group_2.entry.js +3 -3
  271. package/dist/esm/calcite-rating.entry.js +3 -3
  272. package/dist/esm/calcite-shell_3.entry.js +1 -1
  273. package/dist/esm/calcite-stepper_2.entry.js +1 -1
  274. package/dist/esm/calcite-switch.entry.js +3 -3
  275. package/dist/esm/calcite-tab_4.entry.js +1 -1
  276. package/dist/esm/calcite-tile.entry.js +1 -1
  277. package/dist/esm/calcite-tip_3.entry.js +1 -1
  278. package/dist/esm/calcite-tooltip_2.entry.js +2 -2
  279. package/dist/esm/calcite-tree_2.entry.js +1 -2
  280. package/dist/esm/calcite-value-list_2.entry.js +2 -2
  281. package/dist/esm/calcite.js +1 -1
  282. package/dist/esm/{dom-e55f9eaf.js → dom-037dc374.js} +17 -4
  283. package/dist/esm/{form-147bc6d7.js → form-72369b73.js} +1 -1
  284. package/dist/esm/{label-240ef148.js → label-712646d2.js} +1 -1
  285. package/dist/esm/loader.js +1 -1
  286. package/dist/esm/{locale-1b48f64f.js → locale-fc850b7c.js} +1 -0
  287. package/dist/esm/{popper-1814b3c1.js → popper-7a7fd3b5.js} +1 -1
  288. package/dist/esm/{resources-a6abee37.js → resources-03c0a433.js} +1 -1
  289. package/dist/esm/{resources-74c807b4.js → resources-90193940.js} +1 -1
  290. package/dist/esm-es5/{CalciteExpandToggle-1b1bf600.js → CalciteExpandToggle-48b6e955.js} +1 -1
  291. package/dist/esm-es5/calcite-accordion_2.entry.js +1 -1
  292. package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
  293. package/dist/esm-es5/calcite-action-group.entry.js +1 -1
  294. package/dist/esm-es5/calcite-action-menu.entry.js +1 -1
  295. package/dist/esm-es5/calcite-action-pad.entry.js +1 -1
  296. package/dist/esm-es5/calcite-alert.entry.js +1 -1
  297. package/dist/esm-es5/calcite-avatar.entry.js +1 -1
  298. package/dist/esm-es5/calcite-block_2.entry.js +1 -1
  299. package/dist/esm-es5/calcite-button.entry.js +1 -1
  300. package/dist/esm-es5/calcite-checkbox.entry.js +1 -1
  301. package/dist/esm-es5/calcite-chip.entry.js +1 -1
  302. package/dist/esm-es5/calcite-color-picker_3.entry.js +1 -1
  303. package/dist/esm-es5/calcite-combobox_3.entry.js +1 -1
  304. package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
  305. package/dist/esm-es5/calcite-dropdown_3.entry.js +1 -1
  306. package/dist/esm-es5/calcite-fab.entry.js +1 -1
  307. package/dist/esm-es5/calcite-filter.entry.js +2 -2
  308. package/dist/esm-es5/calcite-graph_2.entry.js +1 -1
  309. package/dist/esm-es5/calcite-icon.entry.js +1 -1
  310. package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
  311. package/dist/esm-es5/calcite-input-date-picker.entry.js +1 -1
  312. package/dist/esm-es5/calcite-input-message.entry.js +1 -1
  313. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +1 -1
  314. package/dist/esm-es5/calcite-input.entry.js +1 -1
  315. package/dist/esm-es5/calcite-link.entry.js +1 -1
  316. package/dist/esm-es5/calcite-list_3.entry.js +1 -1
  317. package/dist/esm-es5/calcite-modal.entry.js +1 -1
  318. package/dist/esm-es5/calcite-notice.entry.js +1 -1
  319. package/dist/esm-es5/calcite-option_3.entry.js +1 -1
  320. package/dist/esm-es5/calcite-panel.entry.js +1 -1
  321. package/dist/esm-es5/calcite-pick-list_3.entry.js +1 -1
  322. package/dist/esm-es5/calcite-popover_2.entry.js +1 -1
  323. package/dist/esm-es5/calcite-radio-button.entry.js +1 -1
  324. package/dist/esm-es5/calcite-radio-group_2.entry.js +1 -1
  325. package/dist/esm-es5/calcite-rating.entry.js +2 -2
  326. package/dist/esm-es5/calcite-shell_3.entry.js +1 -1
  327. package/dist/esm-es5/calcite-stepper_2.entry.js +1 -1
  328. package/dist/esm-es5/calcite-switch.entry.js +1 -1
  329. package/dist/esm-es5/calcite-tab_4.entry.js +1 -1
  330. package/dist/esm-es5/calcite-tile.entry.js +1 -1
  331. package/dist/esm-es5/calcite-tip_3.entry.js +1 -1
  332. package/dist/esm-es5/calcite-tooltip_2.entry.js +1 -1
  333. package/dist/esm-es5/calcite-tree_2.entry.js +1 -1
  334. package/dist/esm-es5/calcite-value-list_2.entry.js +1 -1
  335. package/dist/esm-es5/calcite.js +1 -1
  336. package/dist/esm-es5/dom-037dc374.js +5 -0
  337. package/dist/esm-es5/{form-147bc6d7.js → form-72369b73.js} +1 -1
  338. package/dist/esm-es5/{label-240ef148.js → label-712646d2.js} +1 -1
  339. package/dist/esm-es5/loader.js +1 -1
  340. package/dist/esm-es5/locale-fc850b7c.js +5 -0
  341. package/dist/esm-es5/{popper-1814b3c1.js → popper-7a7fd3b5.js} +1 -1
  342. package/dist/esm-es5/{resources-a6abee37.js → resources-03c0a433.js} +1 -1
  343. package/dist/esm-es5/{resources-74c807b4.js → resources-90193940.js} +1 -1
  344. package/dist/extras/docs-json.json +91 -25
  345. package/dist/types/components/calcite-accordion/calcite-accordion.d.ts +42 -0
  346. package/dist/types/components/calcite-accordion-item/calcite-accordion-item.d.ts +53 -0
  347. package/dist/types/components/calcite-action/calcite-action.d.ts +73 -0
  348. package/dist/types/components/calcite-action-bar/calcite-action-bar.d.ts +69 -0
  349. package/dist/types/components/calcite-action-group/calcite-action-group.d.ts +39 -0
  350. package/dist/types/components/calcite-action-menu/calcite-action-menu.d.ts +82 -0
  351. package/dist/types/components/calcite-action-pad/calcite-action-pad.d.ts +52 -0
  352. package/dist/types/components/calcite-alert/calcite-alert.d.ts +84 -0
  353. package/dist/types/components/calcite-alert/interfaces.d.ts +1 -0
  354. package/dist/types/components/calcite-avatar/calcite-avatar.d.ts +26 -0
  355. package/dist/types/components/calcite-block/calcite-block.d.ts +73 -0
  356. package/dist/types/components/calcite-block-section/calcite-block-section.d.ts +43 -0
  357. package/dist/types/components/calcite-button/calcite-button.d.ts +81 -0
  358. package/dist/types/components/calcite-card/calcite-card.d.ts +43 -0
  359. package/dist/types/components/calcite-checkbox/calcite-checkbox.d.ts +73 -0
  360. package/dist/types/components/calcite-chip/calcite-chip.d.ts +37 -0
  361. package/dist/types/components/calcite-color-picker/calcite-color-picker.d.ts +224 -0
  362. package/dist/types/components/calcite-color-picker-hex-input/calcite-color-picker-hex-input.d.ts +51 -0
  363. package/dist/types/components/calcite-color-picker-swatch/calcite-color-picker-swatch.d.ts +23 -0
  364. package/dist/types/components/calcite-combobox/calcite-combobox.d.ts +177 -0
  365. package/dist/types/components/calcite-combobox/interfaces.d.ts +6 -0
  366. package/dist/types/components/calcite-combobox/utils.d.ts +6 -0
  367. package/dist/types/components/calcite-combobox-item/calcite-combobox-item.d.ts +46 -0
  368. package/dist/types/components/calcite-combobox-item-group/calcite-combobox-item-group.d.ts +17 -0
  369. package/dist/types/components/calcite-date-picker/calcite-date-picker.d.ts +132 -0
  370. package/dist/types/components/calcite-date-picker-day/calcite-date-picker-day.d.ts +45 -0
  371. package/dist/types/components/calcite-date-picker-month/calcite-date-picker-month.d.ts +97 -0
  372. package/dist/types/components/calcite-date-picker-month-header/calcite-date-picker-month-header.d.ts +57 -0
  373. package/dist/types/components/calcite-dropdown/calcite-dropdown.d.ts +98 -0
  374. package/dist/types/components/calcite-dropdown-group/calcite-dropdown-group.d.ts +32 -0
  375. package/dist/types/components/calcite-dropdown-item/calcite-dropdown-item.d.ts +52 -0
  376. package/dist/types/components/calcite-fab/calcite-fab.d.ts +47 -0
  377. package/dist/types/components/calcite-filter/calcite-filter.d.ts +53 -0
  378. package/dist/types/components/calcite-flow/calcite-flow.d.ts +22 -0
  379. package/dist/types/components/calcite-graph/calcite-graph.d.ts +29 -0
  380. package/dist/types/components/calcite-handle/calcite-handle.d.ts +22 -0
  381. package/dist/types/components/calcite-icon/calcite-icon.d.ts +32 -0
  382. package/dist/types/components/calcite-inline-editable/calcite-inline-editable.d.ts +69 -0
  383. package/dist/types/components/calcite-input/calcite-input.d.ts +166 -0
  384. package/dist/types/components/calcite-input-date-picker/calcite-input-date-picker.d.ts +179 -0
  385. package/dist/types/components/calcite-input-message/calcite-input-message.d.ts +27 -0
  386. package/dist/types/components/calcite-input-time-picker/calcite-input-time-picker.d.ts +90 -0
  387. package/dist/types/components/calcite-label/calcite-label.d.ts +30 -0
  388. package/dist/types/components/calcite-link/calcite-link.d.ts +33 -0
  389. package/dist/types/components/calcite-list/calcite-list.d.ts +16 -0
  390. package/dist/types/components/calcite-list-item/calcite-list-item.d.ts +37 -0
  391. package/dist/types/components/calcite-list-item-group/calcite-list-item-group.d.ts +18 -0
  392. package/dist/types/components/calcite-loader/calcite-loader.d.ts +27 -0
  393. package/dist/types/components/calcite-modal/calcite-modal.d.ts +88 -0
  394. package/dist/types/components/calcite-notice/calcite-notice.d.ts +51 -0
  395. package/dist/types/components/calcite-pagination/calcite-pagination.d.ts +51 -0
  396. package/dist/types/components/calcite-panel/calcite-panel.d.ts +119 -0
  397. package/dist/types/components/calcite-pick-list/calcite-pick-list.d.ts +75 -0
  398. package/dist/types/components/calcite-pick-list/shared-list-logic.d.ts +31 -0
  399. package/dist/types/components/calcite-pick-list/shared-list-render.d.ts +18 -0
  400. package/dist/types/components/calcite-pick-list-group/calcite-pick-list-group.d.ts +18 -0
  401. package/dist/types/components/calcite-pick-list-item/calcite-pick-list-item.d.ts +103 -0
  402. package/dist/types/components/calcite-popover/calcite-popover.d.ts +107 -0
  403. package/dist/types/components/calcite-popover-manager/calcite-popover-manager.d.ts +19 -0
  404. package/dist/types/components/calcite-progress/calcite-progress.d.ts +15 -0
  405. package/dist/types/components/calcite-radio-button/calcite-radio-button.d.ts +92 -0
  406. package/dist/types/components/calcite-radio-button-group/calcite-radio-button-group.d.ts +32 -0
  407. package/dist/types/components/calcite-radio-group/calcite-radio-group.d.ts +56 -0
  408. package/dist/types/components/calcite-radio-group-item/calcite-radio-group-item.d.ts +24 -0
  409. package/dist/types/components/calcite-rating/calcite-rating.d.ts +60 -0
  410. package/dist/types/components/calcite-scrim/calcite-scrim.d.ts +17 -0
  411. package/dist/types/components/calcite-select/calcite-select.d.ts +75 -0
  412. package/dist/types/components/calcite-shell/calcite-shell.d.ts +21 -0
  413. package/dist/types/components/calcite-shell-center-row/calcite-shell-center-row.d.ts +22 -0
  414. package/dist/types/components/calcite-shell-panel/calcite-shell-panel.d.ts +67 -0
  415. package/dist/types/components/calcite-slider/calcite-slider.d.ts +192 -0
  416. package/dist/types/components/calcite-sortable-list/calcite-sortable-list.d.ts +50 -0
  417. package/dist/types/components/calcite-split-button/calcite-split-button.d.ts +52 -0
  418. package/dist/types/components/calcite-stepper/calcite-stepper.d.ts +58 -0
  419. package/dist/types/components/calcite-stepper-item/calcite-stepper-item.d.ts +65 -0
  420. package/dist/types/components/calcite-switch/calcite-switch.d.ts +46 -0
  421. package/dist/types/components/calcite-tab/calcite-tab.d.ts +42 -0
  422. package/dist/types/components/calcite-tab-nav/calcite-tab-nav.d.ts +74 -0
  423. package/dist/types/components/calcite-tab-title/calcite-tab-title.d.ts +92 -0
  424. package/dist/types/components/calcite-tabs/calcite-tabs.d.ts +65 -0
  425. package/dist/types/components/calcite-tile/calcite-tile.d.ts +33 -0
  426. package/dist/types/components/calcite-tile-select/calcite-tile-select.d.ts +57 -0
  427. package/dist/types/components/calcite-time-picker/calcite-time-picker.d.ts +135 -0
  428. package/dist/types/components/calcite-tip/calcite-tip.d.ts +44 -0
  429. package/dist/types/components/calcite-tip-manager/calcite-tip-manager.d.ts +65 -0
  430. package/dist/types/components/calcite-tooltip/calcite-tooltip.d.ts +60 -0
  431. package/dist/types/components/calcite-tooltip-manager/calcite-tooltip-manager.d.ts +41 -0
  432. package/dist/types/components/calcite-tree/calcite-tree.d.ts +38 -0
  433. package/dist/types/components/calcite-tree/interfaces.d.ts +10 -0
  434. package/dist/types/components/calcite-tree-item/calcite-tree-item.d.ts +56 -0
  435. package/dist/types/components/calcite-value-list/calcite-value-list.d.ts +89 -0
  436. package/dist/types/components/calcite-value-list-item/calcite-value-list-item.d.ts +76 -0
  437. package/dist/types/components/functional/CalciteExpandToggle.d.ts +19 -0
  438. package/dist/types/components.d.ts +17 -3
  439. package/dist/types/preact.d.ts +2 -1
  440. package/dist/types/utils/dom.d.ts +4 -2
  441. package/dist/types/utils/label.d.ts +39 -0
  442. package/hydrate/index.js +59 -28
  443. package/package.json +4 -4
  444. package/readme.md +2 -2
  445. package/dist/calcite/p-0d9a5d78.entry.js +0 -5
  446. package/dist/calcite/p-2c3bbbb4.system.entry.js +0 -5
  447. package/dist/calcite/p-3366ef60.entry.js +0 -5
  448. package/dist/calcite/p-3f51ac4b.system.entry.js +0 -5
  449. package/dist/calcite/p-54e07c75.entry.js +0 -5
  450. package/dist/calcite/p-5d9fe852.entry.js +0 -5
  451. package/dist/calcite/p-732a0005.system.entry.js +0 -5
  452. package/dist/calcite/p-748c198c.system.entry.js +0 -5
  453. package/dist/calcite/p-d8653ba3.entry.js +0 -5
  454. package/dist/calcite/p-db85eed9.entry.js +0 -5
  455. package/dist/calcite/p-f3d02833.js +0 -5
  456. package/dist/calcite/p-f87c1273.js +0 -5
  457. package/dist/calcite/p-fcde21ce.system.js +0 -5
  458. package/dist/esm-es5/dom-e55f9eaf.js +0 -5
  459. package/dist/esm-es5/locale-1b48f64f.js +0 -5
@@ -0,0 +1,89 @@
1
+ import Sortable from "sortablejs";
2
+ import { EventEmitter, VNode } from "../../stencil-public-runtime";
3
+ import { ICON_TYPES } from "./resources";
4
+ import { ListFocusId, ItemData } from "../calcite-pick-list/shared-list-logic";
5
+ /**
6
+ * @slot - A slot for adding `calcite-value-list-item` elements. Items are displayed as a vertical list.
7
+ * @slot menu-actions - A slot for adding a button + menu combo for performing actions like sorting.
8
+ */
9
+ export declare class CalciteValueList<ItemElement extends HTMLCalciteValueListItemElement = HTMLCalciteValueListItemElement> {
10
+ /**
11
+ * When true, disabled prevents interaction. This state shows items with lower opacity/grayed.
12
+ */
13
+ disabled: boolean;
14
+ /**
15
+ * When true, the items will be sortable via drag and drop.
16
+ */
17
+ dragEnabled: boolean;
18
+ /**
19
+ * When true, an input appears at the top of the list that can be used by end users to filter items in the list.
20
+ */
21
+ filterEnabled: boolean;
22
+ /**
23
+ * Placeholder text for the filter input field.
24
+ */
25
+ filterPlaceholder: string;
26
+ /**
27
+ * The list's group identifier.
28
+ *
29
+ * To drag elements from one list into another, both lists must have the same group value.
30
+ */
31
+ group?: string;
32
+ /**
33
+ * When true, content is waiting to be loaded. This state shows a busy indicator.
34
+ */
35
+ loading: boolean;
36
+ /**
37
+ * Multiple Works similar to standard radio buttons and checkboxes.
38
+ * When true, a user can select multiple items at a time.
39
+ * When false, only a single item can be selected at a time
40
+ * and selecting a new item will deselect any other selected items.
41
+ */
42
+ multiple: boolean;
43
+ /**
44
+ * When true and single-selection is enabled, the selection will change when navigating items via the keyboard.
45
+ */
46
+ selectionFollowsFocus: boolean;
47
+ selectedValues: Map<string, ItemElement>;
48
+ dataForFilter: ItemData;
49
+ items: ItemElement[];
50
+ lastSelectedItem: ItemElement;
51
+ mutationObserver: MutationObserver;
52
+ sortable: Sortable;
53
+ el: HTMLCalciteValueListElement;
54
+ emitCalciteListChange: () => void;
55
+ filterEl: HTMLCalciteFilterElement;
56
+ connectedCallback(): void;
57
+ componentDidLoad(): void;
58
+ disconnectedCallback(): void;
59
+ /**
60
+ * Emitted when any of the item selections have changed.
61
+ */
62
+ calciteListChange: EventEmitter<Map<string, HTMLCalciteValueListItemElement>>;
63
+ /**
64
+ * Emitted when the order of the list has changed.
65
+ */
66
+ calciteListOrderChange: EventEmitter<any[]>;
67
+ calciteListItemRemoveHandler(event: CustomEvent<void>): void;
68
+ calciteListItemChangeHandler(event: CustomEvent): void;
69
+ calciteListItemPropsChangeHandler(event: CustomEvent): void;
70
+ calciteListItemValueChangeHandler(event: CustomEvent): void;
71
+ getItems(): ItemElement[];
72
+ setUpItems(): void;
73
+ setUpFilter(): void;
74
+ setFilterEl: (el: HTMLCalciteFilterElement) => void;
75
+ setUpDragAndDrop(): void;
76
+ cleanUpDragAndDrop(): void;
77
+ deselectRemovedItems: any;
78
+ deselectSiblingItems: any;
79
+ selectSiblings: any;
80
+ handleFilter: any;
81
+ getItemData: any;
82
+ keyDownHandler: (event: KeyboardEvent) => void;
83
+ /** Returns the currently selected items */
84
+ getSelectedItems(): Promise<Map<string, HTMLCalciteValueListItemElement>>;
85
+ /** Sets focus on the component. */
86
+ setFocus(focusId?: ListFocusId): Promise<void>;
87
+ getIconType(): ICON_TYPES | null;
88
+ render(): VNode;
89
+ }
@@ -0,0 +1,76 @@
1
+ import { EventEmitter, VNode } from "../../stencil-public-runtime";
2
+ import { ICON_TYPES } from "../calcite-pick-list/resources";
3
+ /**
4
+ * @slot actions-end - A slot for adding actions or content to the end side of the item.
5
+ * @slot actions-start - A slot for adding actions or content to the start side of the item.
6
+ */
7
+ export declare class CalciteValueListItem {
8
+ /**
9
+ * An optional description for this item. Will appear below the label text.
10
+ */
11
+ description?: string;
12
+ /**
13
+ * When true, the item cannot be clicked and is visually muted
14
+ */
15
+ disabled?: boolean;
16
+ /**
17
+ * @internal When false, the item cannot be deselected by user interaction.
18
+ */
19
+ disableDeselect: boolean;
20
+ /**
21
+ * When true, prevents the content of the list item from user interaction.
22
+ */
23
+ nonInteractive: boolean;
24
+ /**
25
+ * @internal - stores the activated state of the drag handle.
26
+ */
27
+ handleActivated?: boolean;
28
+ /**
29
+ * Determines the icon SVG symbol that will be shown. Options are circle, square, grip or null.
30
+ * @see [ICON_TYPES](https://github.com/Esri/calcite-components/blob/master/src/components/calcite-pick-list/resources.ts#L5)
31
+ */
32
+ icon?: ICON_TYPES | null;
33
+ /**
34
+ * The main label for this item. Appears next to the icon.
35
+ */
36
+ label: string;
37
+ /**
38
+ * Used to provide additional metadata to an item, primarily used when the parent list has a filter.
39
+ */
40
+ metadata?: Record<string, unknown>;
41
+ /**
42
+ * Set this to true to display a remove action that removes the item from the list.
43
+ */
44
+ removable: boolean;
45
+ /**
46
+ * Set this to true to pre-select an item. Toggles when an item is checked/unchecked.
47
+ */
48
+ selected: boolean;
49
+ /**
50
+ * The item's associated value.
51
+ */
52
+ value: any;
53
+ el: HTMLCalciteValueListItemElement;
54
+ pickListItem: HTMLCalcitePickListItemElement;
55
+ guid: string;
56
+ /**
57
+ * Used to toggle the selection state. By default this won't trigger an event.
58
+ * The first argument allows the value to be coerced, rather than swapping values.
59
+ */
60
+ toggleSelected(coerce?: boolean): Promise<void>;
61
+ /** Sets focus on the component. */
62
+ setFocus(): Promise<void>;
63
+ /**
64
+ * Emitted whenever the remove button is pressed.
65
+ */
66
+ calciteListItemRemove: EventEmitter<void>;
67
+ calciteListItemChangeHandler(event: CustomEvent): void;
68
+ getPickListRef: (el: HTMLCalcitePickListItemElement) => HTMLCalcitePickListItemElement;
69
+ handleKeyDown: (event: KeyboardEvent) => void;
70
+ handleBlur: () => void;
71
+ handleSelectChange: (event: CustomEvent) => void;
72
+ renderActionsEnd(): VNode;
73
+ renderActionsStart(): VNode;
74
+ renderHandle(): VNode;
75
+ render(): VNode;
76
+ }
@@ -0,0 +1,19 @@
1
+ import { FunctionalComponent } from "../../stencil-public-runtime";
2
+ import { Position, Scale } from "../interfaces";
3
+ interface CalciteExpandToggleProps {
4
+ expanded: boolean;
5
+ intlExpand: string;
6
+ intlCollapse: string;
7
+ el: HTMLElement;
8
+ position: Position;
9
+ tooltip?: HTMLCalciteTooltipElement;
10
+ toggle: () => void;
11
+ ref?: (el: HTMLElement) => void;
12
+ scale?: Scale;
13
+ }
14
+ export declare function toggleChildActionText({ parent, expanded }: {
15
+ parent: HTMLElement;
16
+ expanded: boolean;
17
+ }): void;
18
+ export declare const CalciteExpandToggle: FunctionalComponent<CalciteExpandToggleProps>;
19
+ export {};
@@ -9,7 +9,7 @@ import { AccordionAppearance } from "./components/calcite-accordion/interfaces";
9
9
  import { Alignment, Appearance, Columns, FlipContext, Layout, Position, Scale, Status, Width } from "./components/interfaces";
10
10
  import { Placement } from "@popperjs/core";
11
11
  import { OverlayPositioning, PopperPlacement } from "./utils/popper";
12
- import { AlertDuration, StatusColor } from "./components/calcite-alert/interfaces";
12
+ import { AlertDuration, AlertPlacement, StatusColor } from "./components/calcite-alert/interfaces";
13
13
  import { HeadingLevel } from "./components/functional/CalciteHeading";
14
14
  import { BlockSectionToggleDisplay } from "./components/calcite-block-section/interfaces";
15
15
  import { ButtonAlignment, ButtonAppearance, ButtonColor, DropdownIconType } from "./components/calcite-button/interfaces";
@@ -300,7 +300,11 @@ export namespace Components {
300
300
  */
301
301
  "label": string;
302
302
  /**
303
- * specify the scale of the button, defaults to m
303
+ * specify the placement of the alert
304
+ */
305
+ "placement": AlertPlacement;
306
+ /**
307
+ * specify the scale of the alert, defaults to m
304
308
  */
305
309
  "scale": Scale;
306
310
  /**
@@ -4376,7 +4380,11 @@ declare namespace LocalJSX {
4376
4380
  */
4377
4381
  "onCalciteAlertOpen"?: (event: CustomEvent<any>) => void;
4378
4382
  /**
4379
- * specify the scale of the button, defaults to m
4383
+ * specify the placement of the alert
4384
+ */
4385
+ "placement"?: AlertPlacement;
4386
+ /**
4387
+ * specify the scale of the alert, defaults to m
4380
4388
  */
4381
4389
  "scale"?: Scale;
4382
4390
  }
@@ -5725,13 +5733,19 @@ declare namespace LocalJSX {
5725
5733
  "name"?: string;
5726
5734
  /**
5727
5735
  * Trigger calcite date change when a user changes the date.
5736
+ * @deprecated use `calciteInputDatePickerChange` instead.
5728
5737
  */
5729
5738
  "onCalciteDatePickerChange"?: (event: CustomEvent<Date>) => void;
5730
5739
  /**
5731
5740
  * Trigger calcite date change when a user changes the date range.
5732
5741
  * @see [DateRangeChange](https://github.com/Esri/calcite-components/blob/master/src/components/calcite-date-picker/interfaces.ts#L1)
5742
+ * @deprecated use `calciteInputDatePickerChange` instead.
5733
5743
  */
5734
5744
  "onCalciteDatePickerRangeChange"?: (event: CustomEvent<DateRangeChange>) => void;
5745
+ /**
5746
+ * This event fires when the input date picker value changes.
5747
+ */
5748
+ "onCalciteInputDatePickerChange"?: (event: CustomEvent<void>) => void;
5735
5749
  /**
5736
5750
  * Describes the type of positioning to use for the overlaid content. If your element is in a fixed container, use the 'fixed' value.
5737
5751
  */
@@ -160,9 +160,10 @@ declare module "preact/src/jsx" {
160
160
  "oncalciteInputChange"?: (event: CustomEvent<any>) => void;
161
161
  }
162
162
 
163
- "calcite-input-date-picker": Omit<JSX.CalciteInputDatePicker, "onCalciteDatePickerChange" | "onCalciteDatePickerRangeChange" | "onCalciteInputDatePickerOpen" | "onCalciteInputDatePickerClose"> & JSXInternal.HTMLAttributes<HTMLCalciteInputDatePickerElement> & {
163
+ "calcite-input-date-picker": Omit<JSX.CalciteInputDatePicker, "onCalciteDatePickerChange" | "onCalciteDatePickerRangeChange" | "onCalciteInputDatePickerChange" | "onCalciteInputDatePickerOpen" | "onCalciteInputDatePickerClose"> & JSXInternal.HTMLAttributes<HTMLCalciteInputDatePickerElement> & {
164
164
  "oncalciteDatePickerChange"?: (event: CustomEvent<any>) => void;
165
165
  "oncalciteDatePickerRangeChange"?: (event: CustomEvent<any>) => void;
166
+ "oncalciteInputDatePickerChange"?: (event: CustomEvent<any>) => void;
166
167
  "oncalciteInputDatePickerOpen"?: (event: CustomEvent<any>) => void;
167
168
  "oncalciteInputDatePickerClose"?: (event: CustomEvent<any>) => void;
168
169
  }
@@ -41,10 +41,12 @@ interface GetSlottedOptions {
41
41
  direct?: boolean;
42
42
  selector?: string;
43
43
  }
44
- export declare function getSlotted<T extends Element = Element>(element: Element, slotName: string | string[], options: GetSlottedOptions & {
44
+ export declare function getSlotted<T extends Element = Element>(element: Element, slotName: string | string[] | (GetSlottedOptions & {
45
+ all: true;
46
+ }), options: GetSlottedOptions & {
45
47
  all: true;
46
48
  }): T[];
47
- export declare function getSlotted<T extends Element = Element>(element: Element, slotName: string | string[], options?: GetSlottedOptions): T | null;
49
+ export declare function getSlotted<T extends Element = Element>(element: Element, slotName?: string | string[] | GetSlottedOptions, options?: GetSlottedOptions): T | null;
48
50
  export declare function filterDirectChildren<T extends Element>(el: Element, selector: string): T[];
49
51
  export declare function setRequestedIcon(iconObject: Record<string, string>, iconValue: string | boolean, matchedValue: string): string;
50
52
  export declare function intersects(rect1: DOMRect, rect2: DOMRect): boolean;
@@ -0,0 +1,39 @@
1
+ export interface LabelableComponent {
2
+ /**
3
+ * When true, disabled prevents interaction.
4
+ */
5
+ disabled: boolean;
6
+ /**
7
+ * The host element.
8
+ */
9
+ readonly el: HTMLElement;
10
+ /**
11
+ * Text label.
12
+ */
13
+ label?: string;
14
+ /**
15
+ * The label this component is associated with.
16
+ */
17
+ labelEl: HTMLCalciteLabelElement;
18
+ /**
19
+ * Hook for components to provide custom label click behavior.
20
+ */
21
+ onLabelClick: (event: CustomEvent<any>) => void;
22
+ }
23
+ /**
24
+ * Exported for testing purposes only
25
+ * @internal
26
+ */
27
+ export declare const labelClickEvent = "calciteInternalLabelClick";
28
+ /**
29
+ * Helper to set up label interactions on connectedCallback.
30
+ */
31
+ export declare function connectLabel(component: LabelableComponent): void;
32
+ /**
33
+ * Helper to tear down label interactions on disconnectedCallback.
34
+ */
35
+ export declare function disconnectLabel(component: LabelableComponent): void;
36
+ /**
37
+ * Helper to get the label text from a component.
38
+ */
39
+ export declare function getLabelText(component: LabelableComponent): string;