@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,166 @@
1
+ import { Scale, Status } from "../interfaces";
2
+ import { EventEmitter, VNode } from "../../stencil-public-runtime";
3
+ import { InputPlacement } from "./interfaces";
4
+ import { Position } from "../interfaces";
5
+ import { LabelableComponent } from "../../utils/label";
6
+ import { FormComponent } from "../../utils/form";
7
+ declare type NumberNudgeDirection = "up" | "down";
8
+ /**
9
+ * @slot action - A slot for positioning a button next to an input
10
+ */
11
+ export declare class CalciteInput implements LabelableComponent, FormComponent {
12
+ el: HTMLCalciteInputElement;
13
+ /** specify the alignment of the value of the input */
14
+ alignment: Position;
15
+ /** should the input autofocus */
16
+ autofocus: boolean;
17
+ /** optionally display a clear button that displays when field has a value
18
+ * shows by default for search, time, date
19
+ * will not display for type="textarea" */
20
+ clearable: boolean;
21
+ /** is the input disabled */
22
+ disabled: boolean;
23
+ disabledWatcher(): void;
24
+ /** for number values, displays the locale's group separator */
25
+ groupSeparator: boolean;
26
+ /** when true, the component will not be visible */
27
+ hidden: boolean;
28
+ /** when used as a boolean set to true, show a default recommended icon for certain
29
+ * input types (tel, password, email, date, time, search). You can also pass a
30
+ * calcite-ui-icon name to this prop to display a requested icon for any input type */
31
+ icon: string | boolean;
32
+ /**
33
+ * string to override English loading text
34
+ * @default "Loading"
35
+ */
36
+ intlLoading?: string;
37
+ /** flip the icon in rtl */
38
+ iconFlipRtl: boolean;
39
+ /** Applies to the aria-label attribute on the button or hyperlink */
40
+ label?: string;
41
+ /** specify if the input is in loading state */
42
+ loading: boolean;
43
+ /** BCP 47 language tag for desired language and country format */
44
+ locale?: string;
45
+ /**
46
+ * Toggles locale formatting for numbers.
47
+ * @internal
48
+ */
49
+ localeFormat: boolean;
50
+ /** input max */
51
+ max?: number;
52
+ /** watcher to update number-to-string for max */
53
+ maxWatcher(): void;
54
+ /** input min */
55
+ min?: number;
56
+ /** watcher to update number-to-string for min */
57
+ minWatcher(): void;
58
+ /**
59
+ * Maximum length of text input.
60
+ * @deprecated use maxLength instead
61
+ */
62
+ maxlength?: number;
63
+ /** Maximum length of the input value */
64
+ maxLength?: number;
65
+ /** Minimum length of the text input */
66
+ minLength?: number;
67
+ /** The name of the input */
68
+ name: string;
69
+ /** specify the placement of the number buttons */
70
+ numberButtonType?: InputPlacement;
71
+ /** explicitly whitelist placeholder attribute */
72
+ placeholder: string;
73
+ /** optionally add prefix */
74
+ prefixText?: string;
75
+ /** When true, a field cannot be modified. */
76
+ readOnly: boolean;
77
+ /** is the input required */
78
+ required: boolean;
79
+ /** specify the scale of the input, defaults to m */
80
+ scale: Scale;
81
+ /** specify the status of the input field, determines message and icons */
82
+ status: Status;
83
+ /** input step */
84
+ step?: number | "any";
85
+ /** optionally add suffix **/
86
+ suffixText?: string;
87
+ /** @internal adds inline styles for text input when slotted in calcite-inline-editable */
88
+ editingEnabled: boolean;
89
+ /**
90
+ * specify the input type
91
+ *
92
+ * Note that the following types add type-specific icons by default: `date`, `email`, `password`, `search`, `tel`, `time`
93
+ */
94
+ type: "color" | "date" | "datetime-local" | "email" | "file" | "image" | "month" | "number" | "password" | "search" | "tel" | "text" | "textarea" | "time" | "url" | "week";
95
+ /** input value */
96
+ value: string;
97
+ valueWatcher(newValue: string): void;
98
+ updateRequestedIcon(): void;
99
+ labelEl: HTMLCalciteLabelElement;
100
+ formEl: HTMLFormElement;
101
+ defaultValue: CalciteInput["value"];
102
+ inlineEditableEl: HTMLCalciteInlineEditableElement;
103
+ /** keep track of the rendered child type */
104
+ private childEl?;
105
+ /** keep track of the rendered child type */
106
+ private childElType?;
107
+ /** number text input element for locale */
108
+ private childNumberEl?;
109
+ get isClearable(): boolean;
110
+ get isTextarea(): boolean;
111
+ private minString?;
112
+ private maxString?;
113
+ private preFocusValue;
114
+ /** the computed icon to render */
115
+ private requestedIcon?;
116
+ /** determine if there is a slotted action for styling purposes */
117
+ private slottedActionEl?;
118
+ private nudgeNumberValueIntervalId;
119
+ localizedValue: string;
120
+ connectedCallback(): void;
121
+ disconnectedCallback(): void;
122
+ componentWillLoad(): void;
123
+ componentDidLoad(): void;
124
+ componentShouldUpdate(newValue: any, oldValue: any, property: string): boolean;
125
+ /**
126
+ * @internal
127
+ */
128
+ calciteInputFocus: EventEmitter;
129
+ /**
130
+ * @internal
131
+ */
132
+ calciteInputBlur: EventEmitter;
133
+ /**
134
+ * This event fires each time a new value is typed.
135
+ */
136
+ calciteInputInput: EventEmitter;
137
+ /**
138
+ * This event fires each time a new value is typed and committed.
139
+ */
140
+ calciteInputChange: EventEmitter<void>;
141
+ /** Sets focus on the component. */
142
+ setFocus(): Promise<void>;
143
+ keyDownHandler: (event: KeyboardEvent) => void;
144
+ onLabelClick(): void;
145
+ incrementOrDecrementNumberValue(direction: NumberNudgeDirection, inputMax: number | null, inputMin: number | null, nativeEvent: KeyboardEvent | MouseEvent): void;
146
+ private clearInputValue;
147
+ private inputBlurHandler;
148
+ private inputFocusHandler;
149
+ private inputInputHandler;
150
+ private inputKeyDownHandler;
151
+ private inputNumberInputHandler;
152
+ private inputNumberKeyDownHandler;
153
+ private nudgeNumberValue;
154
+ private numberButtonMouseUpAndMouseOutHandler;
155
+ private numberButtonMouseDownHandler;
156
+ onFormReset(): void;
157
+ syncHiddenFormInput(input: HTMLInputElement): void;
158
+ private setChildElRef;
159
+ private setChildNumberElRef;
160
+ private setDisabledAction;
161
+ private setLocalizedValue;
162
+ private setValue;
163
+ private inputKeyUpHandler;
164
+ render(): VNode;
165
+ }
166
+ export {};
@@ -0,0 +1,179 @@
1
+ import { VNode, EventEmitter } from "../../stencil-public-runtime";
2
+ import { HeadingLevel } from "../functional/CalciteHeading";
3
+ import { LabelableComponent } from "../../utils/label";
4
+ import { FormComponent } from "../../utils/form";
5
+ import { OverlayPositioning } from "../../utils/popper";
6
+ import { StrictModifiers } from "@popperjs/core";
7
+ import { DateRangeChange } from "../calcite-date-picker/interfaces";
8
+ export declare class CalciteInputDatePicker implements LabelableComponent, FormComponent {
9
+ el: HTMLCalciteInputDatePickerElement;
10
+ /**
11
+ * When false, the component won't be interactive.
12
+ */
13
+ disabled: boolean;
14
+ /** Selected date */
15
+ value: string | string[];
16
+ valueHandler(value: string | string[]): void;
17
+ /**
18
+ * Number at which section headings should start for this component.
19
+ */
20
+ headingLevel: HeadingLevel;
21
+ /** Selected date as full date object*/
22
+ valueAsDate?: Date | Date[];
23
+ /**
24
+ * Selected start date as full date object
25
+ * @deprecated use valueAsDate instead
26
+ */
27
+ startAsDate?: Date;
28
+ /**
29
+ * Selected end date as full date object
30
+ * @deprecated use valueAsDate instead
31
+ */
32
+ endAsDate?: Date;
33
+ /** Earliest allowed date as full date object */
34
+ minAsDate?: Date;
35
+ /** Latest allowed date as full date object */
36
+ maxAsDate?: Date;
37
+ /** Earliest allowed date ("yyyy-mm-dd") */
38
+ min?: string;
39
+ onMinChanged(min: string): void;
40
+ /** Latest allowed date ("yyyy-mm-dd") */
41
+ max?: string;
42
+ onMaxChanged(max: string): void;
43
+ /** Expand or collapse when calendar does not have input */
44
+ active: boolean;
45
+ activeHandler(): void;
46
+ /**
47
+ * The picker's name. Gets submitted with the form.
48
+ */
49
+ name: string;
50
+ /** Localized string for "previous month" (used for aria label)
51
+ * @default "Previous month"
52
+ */
53
+ intlPrevMonth?: string;
54
+ /** Localized string for "next month" (used for aria label)
55
+ * @default "Next month"
56
+ */
57
+ intlNextMonth?: string;
58
+ /** Localized string for "year" (used for aria label)
59
+ * @default "Year"
60
+ */
61
+ intlYear?: string;
62
+ /** BCP 47 language tag for desired language and country format */
63
+ locale?: string;
64
+ /** specify the scale of the date picker */
65
+ scale: "s" | "m" | "l";
66
+ /** Range mode activation */
67
+ range: boolean;
68
+ /**
69
+ * When true, makes the component required for form-submission.
70
+ *
71
+ * @internal
72
+ */
73
+ required: boolean;
74
+ /**
75
+ * Selected start date
76
+ * @deprecated use value instead
77
+ */
78
+ start?: string;
79
+ /**
80
+ * Selected end date
81
+ * @deprecated use value instead
82
+ */
83
+ end?: string;
84
+ /** Describes the type of positioning to use for the overlaid content. If your element is in a fixed container, use the 'fixed' value. */
85
+ overlayPositioning: OverlayPositioning;
86
+ /** Disables the default behaviour on the third click of narrowing or extending the range and instead starts a new range. */
87
+ proximitySelectionDisabled: boolean;
88
+ /** Layout */
89
+ layout: "horizontal" | "vertical";
90
+ handleDateOrRangeChange(): void;
91
+ calciteDaySelectHandler(): void;
92
+ /**
93
+ * Trigger calcite date change when a user changes the date.
94
+ *
95
+ * @deprecated use `calciteInputDatePickerChange` instead.
96
+ */
97
+ calciteDatePickerChange: EventEmitter<Date>;
98
+ /**
99
+ * Trigger calcite date change when a user changes the date range.
100
+ * @see [DateRangeChange](https://github.com/Esri/calcite-components/blob/master/src/components/calcite-date-picker/interfaces.ts#L1)
101
+ *
102
+ * @deprecated use `calciteInputDatePickerChange` instead.
103
+ */
104
+ calciteDatePickerRangeChange: EventEmitter<DateRangeChange>;
105
+ /**
106
+ * This event fires when the input date picker value changes.
107
+ */
108
+ calciteInputDatePickerChange: EventEmitter<void>;
109
+ /**
110
+ * @internal
111
+ */
112
+ calciteInputDatePickerOpen: EventEmitter;
113
+ /**
114
+ * @internal
115
+ */
116
+ calciteInputDatePickerClose: EventEmitter;
117
+ /** Updates the position of the component. */
118
+ setFocus(): Promise<void>;
119
+ /** Updates the position of the component. */
120
+ reposition(): Promise<void>;
121
+ connectedCallback(): void;
122
+ componentWillLoad(): Promise<void>;
123
+ disconnectedCallback(): void;
124
+ render(): VNode;
125
+ labelEl: HTMLCalciteLabelElement;
126
+ formEl: HTMLFormElement;
127
+ defaultValue: CalciteInputDatePicker["value"];
128
+ focusedInput: "start" | "end";
129
+ private localeData;
130
+ private startInput;
131
+ private endInput;
132
+ private popper;
133
+ private menuEl;
134
+ private referenceEl;
135
+ private startWrapper;
136
+ private endWrapper;
137
+ private activeTransitionProp;
138
+ setReferenceEl(): void;
139
+ onLabelClick(): void;
140
+ transitionEnd: (event: TransitionEvent) => void;
141
+ setStartInput: (el: HTMLCalciteInputElement) => void;
142
+ setEndInput: (el: HTMLCalciteInputElement) => void;
143
+ deactivate: () => void;
144
+ keyUpHandler: (e: KeyboardEvent) => void;
145
+ inputBlur: (e: CustomEvent<any>) => void;
146
+ startInputFocus: () => void;
147
+ endInputFocus: () => void;
148
+ inputInput: (e: CustomEvent<any>) => void;
149
+ setMenuEl: (el: HTMLDivElement) => void;
150
+ setStartWrapper: (el: HTMLDivElement) => void;
151
+ setEndWrapper: (el: HTMLDivElement) => void;
152
+ getModifiers(): Partial<StrictModifiers>[];
153
+ createPopper(): void;
154
+ destroyPopper(): void;
155
+ startWatcher(start: string): void;
156
+ endWatcher(end: string): void;
157
+ private loadLocaleData;
158
+ private clearCurrentValue;
159
+ /**
160
+ * If inputted string is a valid date, update value/active
161
+ */
162
+ private input;
163
+ /**
164
+ * Clean up invalid date from input on blur
165
+ */
166
+ private blur;
167
+ /**
168
+ * Event handler for when the selected date changes
169
+ */
170
+ handleDateChange: (event: CustomEvent<Date>) => void;
171
+ private shouldFocusRangeStart;
172
+ private shouldFocusRangeEnd;
173
+ private handleDateRangeChange;
174
+ /**
175
+ * Find a date from input string
176
+ * return false if date is invalid, or out of range
177
+ */
178
+ private getDateFromInput;
179
+ }
@@ -0,0 +1,27 @@
1
+ import { VNode } from "../../stencil-public-runtime";
2
+ import { Scale, Status } from "../interfaces";
3
+ /**
4
+ * @slot - A slot for adding text.
5
+ */
6
+ export declare class CalciteInputMessage {
7
+ el: HTMLCalciteInputMessageElement;
8
+ /** Indicates whether the message is displayed. */
9
+ active: boolean;
10
+ /** when used as a boolean set to true, show a default icon based on status. You can
11
+ * also pass a calcite-ui-icon name to this prop to display a custom icon */
12
+ icon: boolean | string;
13
+ /** specify the scale of the input, defaults to m */
14
+ scale: Scale;
15
+ /** specify the status of the input field, determines message and icons */
16
+ status: Status;
17
+ /** specify the appearance of any slotted message - default (displayed under input), or floating (positioned absolutely under input)
18
+ * @deprecated "floating" type is no longer supported
19
+ */
20
+ type: "default";
21
+ handleIconEl(): void;
22
+ connectedCallback(): void;
23
+ render(): VNode;
24
+ /** the computed icon to render */
25
+ private requestedIcon?;
26
+ private renderIcon;
27
+ }
@@ -0,0 +1,90 @@
1
+ import { VNode, EventEmitter } from "../../stencil-public-runtime";
2
+ import { Scale } from "../interfaces";
3
+ import { LabelableComponent } from "../../utils/label";
4
+ import { FormComponent } from "../../utils/form";
5
+ export declare class CalciteInputTimePicker implements LabelableComponent, FormComponent {
6
+ el: HTMLCalciteInputTimePickerElement;
7
+ /** The active state of the time input */
8
+ active: boolean;
9
+ /** The disabled state of the time input */
10
+ disabled: boolean;
11
+ /** aria-label for the hour input */
12
+ intlHour?: string;
13
+ /** aria-label for the hour down button */
14
+ intlHourDown?: string;
15
+ /** aria-label for the hour up button */
16
+ intlHourUp?: string;
17
+ /** aria-label for the meridiem (am/pm) input */
18
+ intlMeridiem?: string;
19
+ /** aria-label for the meridiem (am/pm) down button */
20
+ intlMeridiemDown?: string;
21
+ /** aria-label for the meridiem (am/pm) up button */
22
+ intlMeridiemUp?: string;
23
+ /** aria-label for the minute input */
24
+ intlMinute?: string;
25
+ /** aria-label for the minute down button */
26
+ intlMinuteDown?: string;
27
+ /** aria-label for the minute up button */
28
+ intlMinuteUp?: string;
29
+ /** aria-label for the second input */
30
+ intlSecond?: string;
31
+ /** aria-label for the second down button */
32
+ intlSecondDown?: string;
33
+ /** aria-label for the second up button */
34
+ intlSecondUp?: string;
35
+ /**
36
+ * BCP 47 language tag for desired language and country format
37
+ * @internal
38
+ */
39
+ locale: string;
40
+ localeWatcher(newLocale: string): void;
41
+ /** The name of the time input */
42
+ name: string;
43
+ /**
44
+ * When true, makes the component required for form-submission.
45
+ *
46
+ * @internal
47
+ */
48
+ required: boolean;
49
+ /** The scale (size) of the time input */
50
+ scale: Scale;
51
+ /** number (seconds) that specifies the granularity that the value must adhere to */
52
+ step: number;
53
+ /** The selected time in UTC (always 24-hour format) */
54
+ value: string;
55
+ valueWatcher(newValue: string): void;
56
+ labelEl: HTMLCalciteLabelElement;
57
+ formEl: HTMLFormElement;
58
+ defaultValue: CalciteInputTimePicker["value"];
59
+ private calciteInputEl;
60
+ private calciteTimePickerEl;
61
+ /** whether the value of the input was changed as a result of user typing or not */
62
+ private internalValueChange;
63
+ private previousValidValue;
64
+ private referenceElementId;
65
+ localizedValue: string;
66
+ /**
67
+ * Fires when the time value is changed as a result of user input.
68
+ */
69
+ calciteInputTimePickerChange: EventEmitter<string>;
70
+ private calciteInputBlurHandler;
71
+ private calciteInputFocusHandler;
72
+ private calciteInputInputHandler;
73
+ clickHandler(event: MouseEvent): void;
74
+ keyUpHandler(event: KeyboardEvent): void;
75
+ timePickerBlurHandler(event: CustomEvent): void;
76
+ private timePickerChangeHandler;
77
+ timePickerFocusHandler(event: CustomEvent): void;
78
+ /** Sets focus on the component. */
79
+ setFocus(): Promise<void>;
80
+ onLabelClick(): void;
81
+ private shouldIncludeSeconds;
82
+ private setCalciteInputEl;
83
+ private setCalciteTimePickerEl;
84
+ private setInputValue;
85
+ private setValue;
86
+ connectedCallback(): void;
87
+ componentDidLoad(): void;
88
+ disconnectedCallback(): void;
89
+ render(): VNode;
90
+ }
@@ -0,0 +1,30 @@
1
+ import { EventEmitter, VNode } from "../../stencil-public-runtime";
2
+ import { Alignment, Scale, Status } from "../interfaces";
3
+ /**
4
+ * @slot - A slot for adding text and a component that can be labeled.
5
+ */
6
+ export declare class CalciteLabel {
7
+ el: HTMLCalciteLabelElement;
8
+ /** specify the text alignment of the label */
9
+ alignment: Alignment;
10
+ /** specify the status of the label and any child input / input messages */
11
+ status: Status;
12
+ /** The id of the input associated with the label */
13
+ for: string;
14
+ /** specify the scale of the label, defaults to m */
15
+ scale: Scale;
16
+ /** is the wrapped element positioned inline with the label slotted text */
17
+ layout: "inline" | "inline-space-between" | "default";
18
+ /** eliminates any space around the label */
19
+ disableSpacing: boolean;
20
+ /** is the label disabled */
21
+ disabled: boolean;
22
+ /**
23
+ * @internal
24
+ */
25
+ calciteInternalLabelClick: EventEmitter<{
26
+ sourceEvent: MouseEvent;
27
+ }>;
28
+ labelClickHandler: (event: MouseEvent) => void;
29
+ render(): VNode;
30
+ }
@@ -0,0 +1,33 @@
1
+ import { VNode } from "../../stencil-public-runtime";
2
+ import { FlipContext } from "../interfaces";
3
+ /** Any attributes placed on <calcite-link> component will propagate to the rendered child */
4
+ /** Passing a 'href' will render an anchor link, instead of a span. Role will be set to link, or link, depending on this. */
5
+ /** It is the consumers responsibility to add aria information, rel, target, for links, and any link attributes for form submission */
6
+ /** @slot - A slot for adding text. */
7
+ export declare class CalciteLink {
8
+ el: HTMLCalciteLinkElement;
9
+ /** is the link disabled */
10
+ disabled: boolean;
11
+ /** optionally pass a href - used to determine if the component should render as a link or an anchor */
12
+ href?: string;
13
+ hrefHandler(href: string): void;
14
+ /** optionally pass an icon to display at the end of a button - accepts calcite ui icon names */
15
+ iconEnd?: string;
16
+ /** flip the icon(s) in rtl */
17
+ iconFlipRtl?: FlipContext;
18
+ /** optionally pass an icon to display at the start of a button - accepts calcite ui icon names */
19
+ iconStart?: string;
20
+ /** The rel attribute to apply to the hyperlink */
21
+ rel?: string;
22
+ /** The target attribute to apply to the hyperlink */
23
+ target?: string;
24
+ connectedCallback(): void;
25
+ render(): VNode;
26
+ /** Sets focus on the component. */
27
+ setFocus(): Promise<void>;
28
+ /** the rendered child element */
29
+ private childEl;
30
+ /** the node type of the rendered child element */
31
+ childElType: "a" | "span";
32
+ private storeTagRef;
33
+ }
@@ -0,0 +1,16 @@
1
+ import { VNode } from "../../stencil-public-runtime";
2
+ import { HeadingLevel } from "../functional/CalciteHeading";
3
+ /**
4
+ * A general purpose list that enables users to construct list items that conform to Calcite styling.
5
+ * @slot - A slot for adding `calcite-list-item` elements.
6
+ */
7
+ export declare class CalciteList {
8
+ /**
9
+ * Number at which section headings should start for this component.
10
+ */
11
+ headingLevel: HeadingLevel;
12
+ el: HTMLCalciteListElement;
13
+ /** Sets focus on the component. */
14
+ setFocus(): Promise<void>;
15
+ render(): VNode;
16
+ }
@@ -0,0 +1,37 @@
1
+ import { VNode } from "../../stencil-public-runtime";
2
+ /**
3
+ * @slot - A slot for adding `calcite-list-item` and `calcite-list-item-group` elements.
4
+ * @slot actions-start - A slot for adding actionable `calcite-action` elements before the content of the list item.
5
+ * @slot content-start - A slot for adding non-actionable elements before the label and description of the list item.
6
+ * @slot content-end - A slot for adding non-actionable elements after the label and description of the list item.
7
+ * @slot actions-end - A slot for adding actionable `calcite-action` elements after the content of the list item.
8
+ */
9
+ export declare class CalciteListItem {
10
+ /**
11
+ * When true, prevents the content of the list item from user interaction.
12
+ */
13
+ nonInteractive: boolean;
14
+ /**
15
+ * An optional description for this item. This will appear below the label text.
16
+ */
17
+ description: string;
18
+ /**
19
+ * When true, disabled prevents interaction.
20
+ */
21
+ disabled: boolean;
22
+ /**
23
+ * The label text of the list item. This will appear above the description text.
24
+ */
25
+ label: string;
26
+ el: HTMLCalciteListItemElement;
27
+ focusEl: HTMLButtonElement;
28
+ /** Sets focus on the component. */
29
+ setFocus(): Promise<void>;
30
+ renderActionsStart(): VNode;
31
+ renderActionsEnd(): VNode;
32
+ renderContentStart(): VNode;
33
+ renderContentEnd(): VNode;
34
+ renderContent(): VNode;
35
+ renderContentContainer(): VNode;
36
+ render(): VNode;
37
+ }
@@ -0,0 +1,18 @@
1
+ import { VNode } from "../../stencil-public-runtime";
2
+ import { HeadingLevel } from "../functional/CalciteHeading";
3
+ /**
4
+ * @slot - A slot for adding `calcite-list-item` and `calcite-list-item-group` elements.
5
+ */
6
+ export declare class CalciteListItemGroup {
7
+ /**
8
+ * The title used for all nested `calcite-list-item` rows.
9
+ *
10
+ */
11
+ heading: string;
12
+ /**
13
+ * Number at which section headings should start for this component.
14
+ */
15
+ headingLevel: HeadingLevel;
16
+ el: HTMLCalciteListItemGroupElement;
17
+ render(): VNode;
18
+ }
@@ -0,0 +1,27 @@
1
+ import { VNode } from "../../stencil-public-runtime";
2
+ import { Scale } from "../interfaces";
3
+ export declare class CalciteLoader {
4
+ el: HTMLCalciteLoaderElement;
5
+ /** Show the loader */
6
+ active: boolean;
7
+ /** Inline loaders are smaller and will appear to the left of the text */
8
+ inline: boolean;
9
+ /** Accessible name for the component */
10
+ label: string;
11
+ /** Speficy the scale of the loader. Defaults to "m" */
12
+ scale: Scale;
13
+ /** Use indeterminate if finding actual progress value is impossible */
14
+ type: "indeterminate" | "determinate";
15
+ /** Percent complete of 100, only valid for determinate indicators */
16
+ value: number;
17
+ /** Text which should appear under the loading indicator (optional) */
18
+ text: string;
19
+ /** Turn off spacing around the loader */
20
+ noPadding: boolean;
21
+ render(): VNode;
22
+ /**
23
+ * Return the proper sizes based on the scale property
24
+ */
25
+ private getSize;
26
+ private getInlineSize;
27
+ }