@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 @@
1
+ "M21.678 4H11.322L4 11.322v10.356L11.322 29h10.356L29 21.678V11.322zm1.47 18.157l-.99.99L16.5 17.49l-5.657 5.657-.99-.99L15.51 16.5l-5.657-5.657.99-.99L16.5 15.51l5.657-5.657.99.99L17.49 16.5z"
@@ -0,0 +1 @@
1
+ "M11.192 2H5.808L2 5.808v5.384L5.808 15h5.384L15 11.192V5.808zm1.126 9.328l-.99.99L8.5 9.49l-2.828 2.828-.99-.99L7.51 8.5 4.682 5.672l.99-.99L8.5 7.51l2.828-2.828.99.99L9.49 8.5z"
@@ -0,0 +1 @@
1
+ "M16.435 3h-7.87L3 8.565v7.87L8.565 22h7.87L22 16.435v-7.87zm1.298 13.742l-.99.991-4.243-4.242-4.242 4.242-.991-.99 4.242-4.243-4.242-4.242.99-.991 4.243 4.242 4.242-4.242.991.99-4.242 4.243z"
@@ -0,0 +1 @@
1
+ "M21.678 4H11.322L4 11.322v10.356L11.322 29h10.356L29 21.678V11.322zm1.47 18.157l-.99.99L16.5 17.49l-5.657 5.657-.99-.99L15.51 16.5l-5.657-5.657.99-.99L16.5 15.51l5.657-5.657.99.99L17.49 16.5z"
@@ -168,8 +168,7 @@ export class CalciteInput {
168
168
  "Delete",
169
169
  "Enter",
170
170
  "Escape",
171
- "Tab",
172
- "-"
171
+ "Tab"
173
172
  ];
174
173
  if (event.altKey || event.ctrlKey || event.metaKey) {
175
174
  return;
@@ -198,6 +197,14 @@ export class CalciteInput {
198
197
  return;
199
198
  }
200
199
  }
200
+ if (event.key === "-") {
201
+ if (!this.value && !this.childNumberEl.value) {
202
+ return;
203
+ }
204
+ if (this.value && this.childNumberEl.value.split("-").length <= 2) {
205
+ return;
206
+ }
207
+ }
201
208
  event.preventDefault();
202
209
  };
203
210
  this.nudgeNumberValue = (direction, nativeEvent) => {
@@ -161,6 +161,9 @@ export class CalciteInputDatePicker {
161
161
  // Event Listeners
162
162
  //
163
163
  //--------------------------------------------------------------------------
164
+ handleDateOrRangeChange() {
165
+ this.calciteInputDatePickerChange.emit();
166
+ }
164
167
  calciteDaySelectHandler() {
165
168
  if (this.shouldFocusRangeStart() || this.shouldFocusRangeEnd()) {
166
169
  return;
@@ -351,6 +354,7 @@ export class CalciteInputDatePicker {
351
354
  }
352
355
  if (!this.range) {
353
356
  this.value = dateToISO(date);
357
+ this.calciteDatePickerChange.emit(date);
354
358
  return;
355
359
  }
356
360
  const { focusedInput } = this;
@@ -925,7 +929,10 @@ export class CalciteInputDatePicker {
925
929
  "cancelable": true,
926
930
  "composed": true,
927
931
  "docs": {
928
- "tags": [],
932
+ "tags": [{
933
+ "name": "deprecated",
934
+ "text": "use `calciteInputDatePickerChange` instead."
935
+ }],
929
936
  "text": "Trigger calcite date change when a user changes the date."
930
937
  },
931
938
  "complexType": {
@@ -947,6 +954,9 @@ export class CalciteInputDatePicker {
947
954
  "tags": [{
948
955
  "name": "see",
949
956
  "text": " [DateRangeChange](https://github.com/Esri/calcite-components/blob/master/src/components/calcite-date-picker/interfaces.ts#L1)"
957
+ }, {
958
+ "name": "deprecated",
959
+ "text": "use `calciteInputDatePickerChange` instead."
950
960
  }],
951
961
  "text": "Trigger calcite date change when a user changes the date range."
952
962
  },
@@ -960,6 +970,21 @@ export class CalciteInputDatePicker {
960
970
  }
961
971
  }
962
972
  }
973
+ }, {
974
+ "method": "calciteInputDatePickerChange",
975
+ "name": "calciteInputDatePickerChange",
976
+ "bubbles": true,
977
+ "cancelable": true,
978
+ "composed": true,
979
+ "docs": {
980
+ "tags": [],
981
+ "text": "This event fires when the input date picker value changes."
982
+ },
983
+ "complexType": {
984
+ "original": "void",
985
+ "resolved": "void",
986
+ "references": {}
987
+ }
963
988
  }, {
964
989
  "method": "calciteInputDatePickerOpen",
965
990
  "name": "calciteInputDatePickerOpen",
@@ -1061,6 +1086,18 @@ export class CalciteInputDatePicker {
1061
1086
  "methodName": "loadLocaleData"
1062
1087
  }]; }
1063
1088
  static get listeners() { return [{
1089
+ "name": "calciteDatePickerChange",
1090
+ "method": "handleDateOrRangeChange",
1091
+ "target": undefined,
1092
+ "capture": false,
1093
+ "passive": false
1094
+ }, {
1095
+ "name": "calciteDatePickerRangeChange",
1096
+ "method": "handleDateOrRangeChange",
1097
+ "target": undefined,
1098
+ "capture": false,
1099
+ "passive": false
1100
+ }, {
1064
1101
  "name": "calciteDaySelect",
1065
1102
  "method": "calciteDaySelectHandler",
1066
1103
  "target": undefined,
@@ -280,7 +280,7 @@ export class CalcitePickList {
280
280
  },
281
281
  "complexType": {
282
282
  "original": "Map<string, HTMLCalcitePickListItemElement>",
283
- "resolved": "Map<string, any>",
283
+ "resolved": "Map<string, HTMLCalcitePickListItemElement>",
284
284
  "references": {
285
285
  "Map": {
286
286
  "location": "global"
@@ -307,7 +307,7 @@ export class CalcitePickList {
307
307
  "location": "global"
308
308
  }
309
309
  },
310
- "return": "Promise<Map<string, any>>"
310
+ "return": "Promise<Map<string, HTMLCalcitePickListItemElement>>"
311
311
  },
312
312
  "docs": {
313
313
  "text": "Returns the currently selected items",
@@ -382,7 +382,7 @@ export class CalcitePickListItem {
382
382
  },
383
383
  "complexType": {
384
384
  "original": "{\n item: HTMLCalcitePickListItemElement;\n value: any;\n selected: boolean;\n shiftPressed: boolean;\n }",
385
- "resolved": "{ item: any; value: any; selected: boolean; shiftPressed: boolean; }",
385
+ "resolved": "{ item: HTMLCalcitePickListItemElement; value: any; selected: boolean; shiftPressed: boolean; }",
386
386
  "references": {
387
387
  "HTMLCalcitePickListItemElement": {
388
388
  "location": "global"
@@ -159,6 +159,16 @@
159
159
  box-shadow: inset 0 0 0 6px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);
160
160
  }
161
161
 
162
+ @media (forced-colors: active) {
163
+ :host([checked]) .radio::after,
164
+ :host([checked][disabled]) .radio::after {
165
+ content: "";
166
+ width: 1rem;
167
+ height: 1rem;
168
+ background-color: windowText;
169
+ display: block;
170
+ }
171
+ }
162
172
  ::slotted(input[slot=hidden-form-input]) {
163
173
  bottom: 0 !important;
164
174
  left: 0 !important;
@@ -342,11 +342,11 @@ export class CalciteRadioGroup {
342
342
  "defaultValue": "null"
343
343
  },
344
344
  "selectedItem": {
345
- "type": "any",
345
+ "type": "unknown",
346
346
  "mutable": true,
347
347
  "complexType": {
348
348
  "original": "HTMLCalciteRadioGroupItemElement",
349
- "resolved": "any",
349
+ "resolved": "HTMLCalciteRadioGroupItemElement",
350
350
  "references": {
351
351
  "HTMLCalciteRadioGroupItemElement": {
352
352
  "location": "global"
@@ -358,9 +358,7 @@ export class CalciteRadioGroup {
358
358
  "docs": {
359
359
  "tags": [],
360
360
  "text": "The group's selected item."
361
- },
362
- "attribute": "selected-item",
363
- "reflect": false
361
+ }
364
362
  },
365
363
  "width": {
366
364
  "type": "string",
@@ -328,11 +328,11 @@ export class CalciteSelect {
328
328
  "defaultValue": "null"
329
329
  },
330
330
  "selectedOption": {
331
- "type": "any",
331
+ "type": "unknown",
332
332
  "mutable": true,
333
333
  "complexType": {
334
334
  "original": "HTMLCalciteOptionElement",
335
- "resolved": "any",
335
+ "resolved": "HTMLCalciteOptionElement",
336
336
  "references": {
337
337
  "HTMLCalciteOptionElement": {
338
338
  "location": "global"
@@ -347,9 +347,7 @@ export class CalciteSelect {
347
347
  "text": undefined
348
348
  }],
349
349
  "text": "The currently selected option."
350
- },
351
- "attribute": "selected-option",
352
- "reflect": false
350
+ }
353
351
  },
354
352
  "width": {
355
353
  "type": "string",
@@ -155,7 +155,6 @@ export class CalciteTreeItem {
155
155
  const target = link.target === "" ? "_self" : link.target;
156
156
  window.open(link.href, target);
157
157
  }
158
- this.expanded = !this.expanded;
159
158
  this.calciteTreeItemSelect.emit({
160
159
  modifyCurrentSelection: e.shiftKey || this.selectionMode === TreeSelectionMode.Ancestors,
161
160
  forceToggle: false
@@ -364,7 +364,7 @@ export class CalciteValueList {
364
364
  },
365
365
  "complexType": {
366
366
  "original": "Map<string, HTMLCalciteValueListItemElement>",
367
- "resolved": "Map<string, any>",
367
+ "resolved": "Map<string, HTMLCalciteValueListItemElement>",
368
368
  "references": {
369
369
  "Map": {
370
370
  "location": "global"
@@ -406,7 +406,7 @@ export class CalciteValueList {
406
406
  "location": "global"
407
407
  }
408
408
  },
409
- "return": "Promise<Map<string, any>>"
409
+ "return": "Promise<Map<string, HTMLCalciteValueListItemElement>>"
410
410
  },
411
411
  "docs": {
412
412
  "text": "Returns the currently selected items",
@@ -0,0 +1,23 @@
1
+ class DemoForm extends HTMLElement {
2
+ connectedCallback() {
3
+ this.addEventListener("submit", this.onFormSubmit);
4
+ this.addEventListener("formdata", this.onFormData);
5
+ }
6
+ disconnectedCallback() {
7
+ this.removeEventListener("submit", this.onFormSubmit);
8
+ this.removeEventListener("formdata", this.onFormData);
9
+ }
10
+ onFormSubmit(event) {
11
+ event.preventDefault();
12
+ new FormData(event.target);
13
+ }
14
+ onFormData(event) {
15
+ const data = {};
16
+ for (const pair of event.formData.entries()) {
17
+ data[pair[0]] = pair[1];
18
+ }
19
+ console.log(data);
20
+ alert(JSON.stringify(data, null, 2));
21
+ }
22
+ }
23
+ customElements.define("demo-form", DemoForm);
@@ -0,0 +1,13 @@
1
+ const toggleDir = () => {
2
+ document.dir = document.dir === "rtl" ? "ltr" : "rtl";
3
+ };
4
+ const toggleTheme = () => {
5
+ document.body.classList.toggle("calcite-theme-dark");
6
+ };
7
+ const loadDemoToggles = () => {
8
+ document.querySelectorAll("h1:not(#demo-heading)").forEach((h1) => h1.remove());
9
+ document.getElementById("demo-heading").textContent = document.title;
10
+ document.getElementById("toggle-dir").addEventListener("calciteSwitchChange", toggleDir);
11
+ document.getElementById("toggle-theme").addEventListener("calciteSwitchChange", toggleTheme);
12
+ };
13
+ document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", loadDemoToggles) : loadDemoToggles();
@@ -0,0 +1,45 @@
1
+ (() => {
2
+ const DEMO_ROOT = "demos";
3
+ const ASSETS_PATH = "demos/_assets";
4
+ const CSS = [`${ASSETS_PATH}/demos.css`, "build/calcite.css"];
5
+ const urlParams = new URLSearchParams(window.location.search);
6
+ const DISABLE_HEADER_URL_PARAM = "header-disabled";
7
+ const SCRIPTS = [
8
+ {
9
+ src: "build/calcite.esm.js",
10
+ type: "module"
11
+ }
12
+ ];
13
+ const parseTemplate = (text) => {
14
+ const parser = new DOMParser();
15
+ const doc = parser.parseFromString(text, "text/html");
16
+ return doc.head.querySelector("template");
17
+ };
18
+ const loadHeader = async () => {
19
+ const root = window.location.pathname.split(DEMO_ROOT).shift();
20
+ const response = await window.fetch(`${root}${ASSETS_PATH}/demo-template.html`);
21
+ const text = await response.text();
22
+ const template = parseTemplate(text);
23
+ const firstChild = document.body.firstChild;
24
+ firstChild && document.body.insertBefore(template.content, firstChild);
25
+ };
26
+ if (window.location.pathname.includes("/demos/") && !urlParams.has(DISABLE_HEADER_URL_PARAM)) {
27
+ document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", loadHeader) : loadHeader();
28
+ }
29
+ const ROOT = window.location.pathname.split(DEMO_ROOT).shift();
30
+ function loadCss(url) {
31
+ const link = document.createElement("link");
32
+ link.rel = "stylesheet";
33
+ link.href = ROOT + url;
34
+ document.head.appendChild(link);
35
+ }
36
+ function loadScript(script) {
37
+ const scriptElement = document.createElement("script");
38
+ Object.keys(script).forEach((key) => {
39
+ scriptElement[key] = key === "src" ? ROOT + script[key] : script[key];
40
+ });
41
+ document.head.appendChild(scriptElement);
42
+ }
43
+ CSS.forEach(loadCss);
44
+ SCRIPTS.forEach(loadScript);
45
+ })();
@@ -0,0 +1,223 @@
1
+ const locales = [
2
+ { name: "Afrikaans", locale: "af" },
3
+ { name: "Albanian", locale: "sq" },
4
+ { name: "Albanian (Albania)", locale: "sq-AL" },
5
+ { name: "Amharic", locale: "am" },
6
+ { name: "Arabic", locale: "ar", dir: "rtl" },
7
+ { name: "Arabic (Algeria)", locale: "ar-DZ", dir: "rtl" },
8
+ { name: "Arabic (Bahrain)", locale: "ar-BH", dir: "rtl" },
9
+ { name: "Arabic (Egypt)", locale: "ar-EG", dir: "rtl" },
10
+ { name: "Arabic (Iraq)", locale: "ar-IQ", dir: "rtl" },
11
+ { name: "Arabic (Jordan)", locale: "ar-JO", dir: "rtl" },
12
+ { name: "Arabic (Kuwait)", locale: "ar-KW", dir: "rtl" },
13
+ { name: "Arabic (Lebanon)", locale: "ar-LB", dir: "rtl" },
14
+ { name: "Arabic (Libya)", locale: "ar-LY", dir: "rtl" },
15
+ { name: "Arabic (Morocco)", locale: "ar-MA", dir: "rtl" },
16
+ { name: "Arabic (Oman)", locale: "ar-OM", dir: "rtl" },
17
+ { name: "Arabic (Qatar)", locale: "ar-QA", dir: "rtl" },
18
+ { name: "Arabic (Saudi Arabia)", locale: "ar-SA", dir: "rtl" },
19
+ { name: "Arabic (Sudan)", locale: "ar-SD", dir: "rtl" },
20
+ { name: "Arabic (Syria)", locale: "ar-SY", dir: "rtl" },
21
+ { name: "Arabic (Tunisia)", locale: "ar-TN", dir: "rtl" },
22
+ { name: "Arabic (United Arab Emirates)", locale: "ar-AE", dir: "rtl" },
23
+ { name: "Arabic (Yemen)", locale: "ar-YE", dir: "rtl" },
24
+ { name: "Armenian (Armenia)", locale: "hy-AM" },
25
+ { name: "Assamese", locale: "as" },
26
+ { name: "Azeri (Cyrillic)", locale: "az" },
27
+ { name: "Azeri (Latin)", locale: "az" },
28
+ { name: "Basque", locale: "eu" },
29
+ { name: "Belarusian", locale: "be" },
30
+ { name: "Belarusian (Belarus)", locale: "be-BY" },
31
+ { name: "Bengali", locale: "bn" },
32
+ { name: "Bengali (Bangladesh)", locale: "bn-BD" },
33
+ { name: "Bengali (India)", locale: "bn-IN" },
34
+ { name: "Bosnian", locale: "bs" },
35
+ { name: "Bulgarian", locale: "bg" },
36
+ { name: "Bulgarian (Bulgaria)", locale: "bg-BG" },
37
+ { name: "Burmese", locale: "my" },
38
+ { name: "Catalan", locale: "ca" },
39
+ { name: "Catalan (Spain)", locale: "ca-ES" },
40
+ { name: "Chinese", locale: "zh" },
41
+ { name: "Chinese (China)", locale: "zh-CN" },
42
+ { name: "Chinese (Hong Kong)", locale: "zh-HK" },
43
+ { name: "Chinese (Macau SAR)", locale: "zh-MO" },
44
+ { name: "Chinese (Singapore)", locale: "zh-SG" },
45
+ { name: "Chinese (Taiwan)", locale: "zh-TW" },
46
+ { name: "Croatian", locale: "hr" },
47
+ { name: "Croatian (Croatia)", locale: "hr-HR" },
48
+ { name: "Czech", locale: "cs" },
49
+ { name: "Czech (Czech Republic)", locale: "cs-CZ" },
50
+ { name: "Danish", locale: "da" },
51
+ { name: "Danish (Denmark)", locale: "da-DK" },
52
+ { name: "Divehi", locale: "dv" },
53
+ { name: "Dutch", locale: "nl" },
54
+ { name: "Dutch (Belgium)", locale: "nl-BE" },
55
+ { name: "Dutch (Netherlands)", locale: "nl-NL" },
56
+ { name: "English", locale: "en" },
57
+ { name: "English (Australia)", locale: "en-AU" },
58
+ { name: "English (Belize)", locale: "en-BZ" },
59
+ { name: "English (Canada)", locale: "en-CA" },
60
+ { name: "English (Caribbean)", locale: "en-CB" },
61
+ { name: "English (Great Britain)", locale: "en-GB" },
62
+ { name: "English (India)", locale: "en-IN" },
63
+ { name: "English (Ireland)", locale: "en-IE" },
64
+ { name: "English (Jamaica)", locale: "en-JM" },
65
+ { name: "English (Malta)", locale: "en-MT" },
66
+ { name: "English (New Zealand)", locale: "en-NZ" },
67
+ { name: "English (Philippines)", locale: "en-PH" },
68
+ { name: "English (South Africa)", locale: "en-ZA" },
69
+ { name: "English (Singapore)", locale: "en-SG" },
70
+ { name: "English (Trinidad)", locale: "en-TT" },
71
+ { name: "English (United States)", locale: "en-US" },
72
+ { name: "English (South Africa)", locale: "en-ZA" },
73
+ { name: "Estonian", locale: "et" },
74
+ { name: "Estonian (Estonia)", locale: "et-EE" },
75
+ { name: "Faroese", locale: "fo" },
76
+ { name: "Farsi (Persian)", locale: "fa" },
77
+ { name: "Finnish", locale: "fi" },
78
+ { name: "Finnish (Finland)", locale: "fi-FI" },
79
+ { name: "French", locale: "fr" },
80
+ { name: "French (Belgium)", locale: "fr-BE" },
81
+ { name: "French (Canada)", locale: "fr-CA" },
82
+ { name: "French (Switzerland)", locale: "fr-CH" },
83
+ { name: "French (France)", locale: "fr-FR" },
84
+ { name: "French (Luxembourg)", locale: "fr-LU" },
85
+ { name: "Gaelic (Ireland)", locale: "gd-IE" },
86
+ { name: "Gaelic (Scotland)", locale: "gd" },
87
+ { name: "Galician", locale: "gl" },
88
+ { name: "Georgian", locale: "ka" },
89
+ { name: "German", locale: "de" },
90
+ { name: "German (Austria)", locale: "de-AT" },
91
+ { name: "German (Germany)", locale: "de-DE" },
92
+ { name: "German (Liechtenstein)", locale: "de-LI" },
93
+ { name: "German (Luxembourg)", locale: "de-LU" },
94
+ { name: "German (Switzerland)", locale: "de-CH" },
95
+ { name: "Greek", locale: "el" },
96
+ { name: "Greek (Cyprus)", locale: "el-CY" },
97
+ { name: "Greek (Greece)", locale: "el-GR" },
98
+ { name: "Guarani (Paraguay)", locale: "gu" },
99
+ { name: "Gujarati", locale: "gn" },
100
+ { name: "Hebrew", locale: "iw" },
101
+ { name: "Hebrew (Israel)", locale: "iw-IL" },
102
+ { name: "Hindi (India)", locale: "hi-IN" },
103
+ { name: "Hungarian", locale: "hu" },
104
+ { name: "Hungarian (Hungary)", locale: "hu-HU" },
105
+ { name: "Icelandic", locale: "is" },
106
+ { name: "Icelandic (Iceland)", locale: "is-IS" },
107
+ { name: "Indonesian (ISO 639)", locale: "in" },
108
+ { name: "Indonesian (Indonesia) (ISO 639)", locale: "in-ID" },
109
+ { name: "Indonesian (ISO 3166)", locale: "id" },
110
+ { name: "Indonesian (Indonesia) (ISO 3166)", locale: "id-ID" },
111
+ { name: "Irish", locale: "ga" },
112
+ { name: "Irish (Ireland)", locale: "ga-IE" },
113
+ { name: "Italian", locale: "it" },
114
+ { name: "Italian (Italy)", locale: "it-IT" },
115
+ { name: "Italian (Switzerland)", locale: "it-CH" },
116
+ { name: "Japanese", locale: "ja" },
117
+ { name: "Japanese (Japan)", locale: "ja-JP" },
118
+ { name: "Kannada", locale: "kn" },
119
+ { name: "Kashmiri", locale: "ks" },
120
+ { name: "Kazakh", locale: "kk" },
121
+ { name: "Khmer", locale: "km" },
122
+ { name: "Korean", locale: "ko" },
123
+ { name: "Korean (South Korea)", locale: "ko-KR" },
124
+ { name: "Lao", locale: "lo" },
125
+ { name: "Latin", locale: "la" },
126
+ { name: "Latvian", locale: "lv" },
127
+ { name: "Latvian (Latvia)", locale: "lv-LV" },
128
+ { name: "Lithuanian", locale: "lt" },
129
+ { name: "Lithuanian (Lithuania)", locale: "lt-LT" },
130
+ { name: "Macedonian", locale: "mk" },
131
+ { name: "Macedonian (Macedonia)", locale: "mk-MK" },
132
+ { name: "Malay", locale: "ms" },
133
+ { name: "Malay (Brunei)", locale: "ms-BN" },
134
+ { name: "Malay (Malaysia)", locale: "ms-MY" },
135
+ { name: "Malayalam", locale: "ml" },
136
+ { name: "Maltese", locale: "mt" },
137
+ { name: "Maltese (Malta)", locale: "mt-MT" },
138
+ { name: "Maori", locale: "mi" },
139
+ { name: "Marathi", locale: "mr" },
140
+ { name: "Mongolian", locale: "mn" },
141
+ { name: "Nepali", locale: "ne" },
142
+ { name: "Norwegian", locale: "no" },
143
+ { name: "Norwegian (Bokml)", locale: "nb" },
144
+ { name: "Norwegian (Norway)", locale: "no-NO" },
145
+ { name: "Norwegian (Norway, Nynorsk)", locale: "no-NY" },
146
+ { name: "Oriya", locale: "or" },
147
+ { name: "Polish", locale: "pl" },
148
+ { name: "Polish (Poland)", locale: "pl-PL" },
149
+ { name: "Portuguese", locale: "pt" },
150
+ { name: "Portuguese (Brazil)", locale: "pt-BR" },
151
+ { name: "Portuguese (Portugal)", locale: "pt-PT" },
152
+ { name: "Punjabi", locale: "pa" },
153
+ { name: "Raeto-Romance", locale: "rm" },
154
+ { name: "Romanian", locale: "ro" },
155
+ { name: "Romanian (Moldova)", locale: "ro-MO" },
156
+ { name: "Romanian (Romania)", locale: "ro-RO" },
157
+ { name: "Russian", locale: "ru" },
158
+ { name: "Russian (Moldova)", locale: "ru-MO" },
159
+ { name: "Russian (Russia)", locale: "ru-RU" },
160
+ { name: "Sanskrit", locale: "sa" },
161
+ { name: "Serbian", locale: "sr" },
162
+ { name: "Serbian (Cyrillic, Latin)", locale: "sr-SP" },
163
+ { name: "Serbian (Bosnia and Herzegovina)", locale: "sr-BA" },
164
+ { name: "Serbian (Montenegro)", locale: "sr-ME" },
165
+ { name: "Serbian (Serbia)", locale: "sr-RS" },
166
+ { name: "Serbian (Serbia and Montenegro)", locale: "sr-CS" },
167
+ { name: "Setsuana", locale: "tn" },
168
+ { name: "Sindhi", locale: "sd" },
169
+ { name: "Sinhala", locale: "si" },
170
+ { name: "Slovak", locale: "sk" },
171
+ { name: "Slovak (Slovakia)", locale: "sk-SK" },
172
+ { name: "Slovenian", locale: "sl" },
173
+ { name: "Slovenian (Slovenia)", locale: "sl-SI" },
174
+ { name: "Somali", locale: "so" },
175
+ { name: "Sorbian", locale: "sb" },
176
+ { name: "Spanish", locale: "es" },
177
+ { name: "Spanish (Argentina)", locale: "es-AR" },
178
+ { name: "Spanish (Bolivia)", locale: "es-BO" },
179
+ { name: "Spanish (Chile)", locale: "es-CL" },
180
+ { name: "Spanish (Colombia)", locale: "es-CO" },
181
+ { name: "Spanish (Costa Rica)", locale: "es-CR" },
182
+ { name: "Spanish (Dominican Republic)", locale: "es-DO" },
183
+ { name: "Spanish (Ecuador)", locale: "es-EC" },
184
+ { name: "Spanish (El Salvador)", locale: "es-SV" },
185
+ { name: "Spanish (Guatemala)", locale: "es-GT" },
186
+ { name: "Spanish (Honduras)", locale: "es-HN" },
187
+ { name: "Spanish (Mexico)", locale: "es-MX" },
188
+ { name: "Spanish (Nicaragua)", locale: "es-NI" },
189
+ { name: "Spanish (Panama)", locale: "es-PA" },
190
+ { name: "Spanish (Paraguay)", locale: "es-PY" },
191
+ { name: "Spanish (Peru)", locale: "es-PE" },
192
+ { name: "Spanish (Puerto Rico)", locale: "es-PR" },
193
+ { name: "Spanish (Spain)", locale: "es-ES" },
194
+ { name: "Spanish (United States)", locale: "es-US" },
195
+ { name: "Spanish (Uruguay)", locale: "es-UY" },
196
+ { name: "Spanish (Venezuela)", locale: "es-VE" },
197
+ { name: "Swahili", locale: "sw" },
198
+ { name: "Swedish", locale: "sv" },
199
+ { name: "Swedish (Finland)", locale: "sv-FI" },
200
+ { name: "Swedish (Sweden)", locale: "sv-SE" },
201
+ { name: "Tajik", locale: "tg" },
202
+ { name: "Tamil", locale: "ta" },
203
+ { name: "Tatar", locale: "tt" },
204
+ { name: "Telugu", locale: "te" },
205
+ { name: "Thai", locale: "th" },
206
+ { name: "Thai (Thailand)", locale: "th-TH" },
207
+ { name: "Thai (Thai Digits)", locale: "th-TH-u-nu-thai" },
208
+ { name: "Tibetan", locale: "bo" },
209
+ { name: "Tsonga", locale: "ts" },
210
+ { name: "Turkish", locale: "tr" },
211
+ { name: "Turkish (Turkey)", locale: "tr-TR" },
212
+ { name: "Turkmen", locale: "tk" },
213
+ { name: "Ukrainian", locale: "uk" },
214
+ { name: "Ukrainian (Ukraine)", locale: "uk-UA" },
215
+ { name: "Urdu", locale: "ur" },
216
+ { name: "Uzbek (Cyrillic, Latin)", locale: "uz-UZ" },
217
+ { name: "Vietnamese", locale: "vi" },
218
+ { name: "Vietnamese (Vietnam)", locale: "vi-VN" },
219
+ { name: "Welsh", locale: "cy" },
220
+ { name: "Xhosa", locale: "xh" },
221
+ { name: "Yiddish", locale: "yi" },
222
+ { name: "Zulu", locale: "zu" }
223
+ ];
@@ -109,10 +109,17 @@ export async function focusElement(el) {
109
109
  }
110
110
  return isCalciteFocusable(el) ? el.setFocus() : el.focus();
111
111
  }
112
+ const defaultSlotSelector = "> :not([slot])";
112
113
  export function getSlotted(element, slotName, options) {
113
- const slotSelector = Array.isArray(slotName)
114
- ? slotName.map((name) => `[slot="${name}"]`).join(",")
115
- : `[slot="${slotName}"]`;
114
+ if (!Array.isArray(slotName) && typeof slotName !== "string") {
115
+ options = slotName;
116
+ slotName = null;
117
+ }
118
+ const slotSelector = slotName
119
+ ? Array.isArray(slotName)
120
+ ? slotName.map((name) => `[slot="${name}"]`).join(",")
121
+ : `[slot="${slotName}"]`
122
+ : defaultSlotSelector;
116
123
  if (options === null || options === void 0 ? void 0 : options.all) {
117
124
  return queryMultiple(element, slotSelector, options);
118
125
  }
@@ -121,6 +128,9 @@ export function getSlotted(element, slotName, options) {
121
128
  function queryMultiple(element, slotSelector, options) {
122
129
  let matches = Array.from(element.querySelectorAll(slotSelector));
123
130
  matches = options && options.direct === false ? matches : matches.filter((el) => el.parentElement === element);
131
+ if (slotSelector === defaultSlotSelector) {
132
+ matches = matches.filter((match) => match === null || match === void 0 ? void 0 : match.assignedSlot);
133
+ }
124
134
  const selector = options === null || options === void 0 ? void 0 : options.selector;
125
135
  return selector
126
136
  ? matches
@@ -131,9 +141,12 @@ function queryMultiple(element, slotSelector, options) {
131
141
  }
132
142
  function querySingle(element, slotSelector, options) {
133
143
  let match = element.querySelector(slotSelector);
144
+ if (slotSelector === defaultSlotSelector) {
145
+ match = (match === null || match === void 0 ? void 0 : match.assignedSlot) ? match : null;
146
+ }
134
147
  match = options && options.direct === false ? match : (match === null || match === void 0 ? void 0 : match.parentElement) === element ? match : null;
135
148
  const selector = options === null || options === void 0 ? void 0 : options.selector;
136
- return selector ? match.querySelector(selector) : match;
149
+ return selector ? match === null || match === void 0 ? void 0 : match.querySelector(selector) : match;
137
150
  }
138
151
  export function filterDirectChildren(el, selector) {
139
152
  return Array.from(el.children).filter((child) => child.matches(selector));
@@ -0,0 +1,20 @@
1
+ /**
2
+ * This helper updates the host element to prevent keyboard interaction on its subtree and sets the appropriate aria attribute for accessibility.
3
+ *
4
+ * This should be used in the `componentDidRender` lifecycle hook.
5
+ *
6
+ * **Notes**
7
+ *
8
+ * * this util is not needed for simple components whose root element or elements are an interactive component (custom element or native control). For those cases, set the `disabled` props on the root components instead.
9
+ * * technically, users can override `tabindex` and restore keyboard navigation, but this will be considered user error
10
+ */
11
+ export function updateHostInteraction(component) {
12
+ // intentionally using attribute to avoid making host tabbable when !disabled
13
+ if (component.disabled) {
14
+ component.el.setAttribute("tabindex", "-1");
15
+ }
16
+ else {
17
+ component.el.removeAttribute("tabindex");
18
+ }
19
+ component.el.setAttribute("aria-disabled", component.disabled.toString());
20
+ }
@@ -5,6 +5,7 @@
5
5
  import { sanitizeDecimalString, sanitizeExponentialNumberString } from "./number";
6
6
  export const locales = [
7
7
  "ar",
8
+ "bg",
8
9
  "bs",
9
10
  "ca",
10
11
  "cs",