@esri/calcite-components 1.0.0-next.290 → 1.0.0-next.294

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 (866) hide show
  1. package/CHANGELOG.md +40 -2
  2. package/dist/calcite/assets/calcite-icon/penMark16.json +1 -0
  3. package/dist/calcite/assets/calcite-icon/penMark24.json +1 -0
  4. package/dist/calcite/assets/calcite-icon/penMark32.json +1 -0
  5. package/dist/calcite/assets/calcite-icon/penMarkPlus16.json +1 -0
  6. package/dist/calcite/assets/calcite-icon/penMarkPlus24.json +1 -0
  7. package/dist/calcite/assets/calcite-icon/penMarkPlus32.json +1 -0
  8. package/dist/calcite/assets/calcite-icon/subscript16.json +1 -0
  9. package/dist/calcite/assets/calcite-icon/subscript24.json +1 -0
  10. package/dist/calcite/assets/calcite-icon/subscript32.json +1 -0
  11. package/dist/calcite/assets/calcite-icon/superscript16.json +1 -0
  12. package/dist/calcite/assets/calcite-icon/superscript24.json +1 -0
  13. package/dist/calcite/assets/calcite-icon/superscript32.json +1 -0
  14. package/dist/calcite/calcite.esm.js +1 -1
  15. package/dist/calcite/calcite.js +1 -1
  16. package/dist/calcite/{p-9ff5b403.entry.js → p-0100aeb0.entry.js} +1 -1
  17. package/dist/calcite/p-05107123.entry.js +5 -0
  18. package/dist/calcite/{p-cbdf0e6c.js → p-05d1dfc6.js} +1 -1
  19. package/dist/calcite/{p-a8cd5cde.system.entry.js → p-06646eed.system.entry.js} +1 -1
  20. package/dist/calcite/{p-3db2dc30.system.entry.js → p-09da1c54.system.entry.js} +2 -2
  21. package/dist/calcite/{p-280404ef.system.entry.js → p-0d4e82ab.system.entry.js} +1 -1
  22. package/dist/calcite/{p-f9428f19.system.entry.js → p-10759c71.system.entry.js} +2 -2
  23. package/dist/calcite/{p-32faf98b.system.entry.js → p-10de63d7.system.entry.js} +1 -1
  24. package/dist/calcite/p-11113310.entry.js +5 -0
  25. package/dist/calcite/{p-45b13361.system.entry.js → p-12e1c83f.system.entry.js} +1 -1
  26. package/dist/calcite/p-1421e818.entry.js +5 -0
  27. package/dist/calcite/p-17e666d6.system.entry.js +5 -0
  28. package/dist/calcite/p-1e875199.entry.js +5 -0
  29. package/dist/calcite/{p-00c20cb8.entry.js → p-22ecf6df.entry.js} +1 -1
  30. package/dist/calcite/{p-dd92cde1.entry.js → p-2418cceb.entry.js} +1 -1
  31. package/dist/calcite/{p-32fbf8cd.system.js → p-25a31861.system.js} +1 -1
  32. package/dist/calcite/{p-8655c0a1.entry.js → p-28261aae.entry.js} +1 -1
  33. package/dist/calcite/p-2ba00b89.js +5 -0
  34. package/dist/calcite/{p-91889ade.system.entry.js → p-2ecafa35.system.entry.js} +1 -1
  35. package/dist/calcite/p-329e1831.system.entry.js +5 -0
  36. package/dist/calcite/p-3383d9b4.entry.js +5 -0
  37. package/dist/calcite/p-36e5db45.entry.js +5 -0
  38. package/dist/calcite/{p-ffb8f0a9.system.entry.js → p-38ee7306.system.entry.js} +1 -1
  39. package/dist/calcite/{p-8efb43fc.entry.js → p-3962cd38.entry.js} +1 -1
  40. package/dist/calcite/p-3994ac99.system.entry.js +5 -0
  41. package/dist/calcite/{p-28fecce5.system.entry.js → p-3bb30b44.system.entry.js} +1 -1
  42. package/dist/calcite/{p-bb916828.system.entry.js → p-3cf93a58.system.entry.js} +1 -1
  43. package/dist/calcite/{p-197382be.system.entry.js → p-3e438b5b.system.entry.js} +1 -1
  44. package/dist/calcite/{p-efbf0d26.entry.js → p-3f1d1bad.entry.js} +1 -1
  45. package/dist/calcite/{p-4805ca9a.system.entry.js → p-413b4857.system.entry.js} +1 -1
  46. package/dist/calcite/{p-1f27021e.entry.js → p-4185db77.entry.js} +1 -1
  47. package/dist/calcite/p-42128a12.entry.js +5 -0
  48. package/dist/calcite/p-45257edb.js +5 -0
  49. package/dist/calcite/p-49d5ee42.system.entry.js +5 -0
  50. package/dist/calcite/{p-e524bf4d.system.entry.js → p-4c7e3915.system.entry.js} +1 -1
  51. package/dist/calcite/p-4ecd0331.entry.js +5 -0
  52. package/dist/calcite/p-502736d8.system.entry.js +5 -0
  53. package/dist/calcite/{p-a1911108.entry.js → p-507b2cc4.entry.js} +1 -1
  54. package/dist/calcite/{p-34a6550f.system.entry.js → p-527146c8.system.entry.js} +1 -1
  55. package/dist/calcite/{p-5fda3de2.js → p-52cc870b.js} +1 -1
  56. package/dist/calcite/{p-6fe5f2de.system.entry.js → p-5322b333.system.entry.js} +1 -1
  57. package/dist/calcite/{p-382556c4.system.entry.js → p-58716826.system.entry.js} +1 -1
  58. package/dist/calcite/{p-5accac7d.system.entry.js → p-58e98b2d.system.entry.js} +1 -1
  59. package/dist/calcite/{p-11071ac7.entry.js → p-58eca102.entry.js} +1 -1
  60. package/dist/calcite/p-5e6d76dc.entry.js +5 -0
  61. package/dist/calcite/{p-33e58a20.entry.js → p-5efd7297.entry.js} +1 -1
  62. package/dist/calcite/{p-1682482b.entry.js → p-6621aee1.entry.js} +1 -1
  63. package/dist/calcite/{p-2b13e5a9.system.entry.js → p-684ccd4e.system.entry.js} +1 -1
  64. package/dist/calcite/{p-380c71e8.system.entry.js → p-6988c6b7.system.entry.js} +1 -1
  65. package/dist/calcite/p-6c8a562f.system.entry.js +5 -0
  66. package/dist/calcite/{p-a8c759ae.system.js → p-6cc23c39.system.js} +1 -1
  67. package/dist/calcite/{p-800874fd.entry.js → p-72fa390e.entry.js} +1 -1
  68. package/dist/calcite/p-75f714c9.entry.js +5 -0
  69. package/dist/calcite/p-76ccd204.entry.js +5 -0
  70. package/dist/calcite/{p-50e1a7c9.system.entry.js → p-777c833f.system.entry.js} +1 -1
  71. package/dist/calcite/{p-7fab451d.js → p-79cbbf2d.js} +1 -1
  72. package/dist/calcite/p-7a6c6382.entry.js +5 -0
  73. package/dist/calcite/p-7ade2294.system.entry.js +5 -0
  74. package/dist/calcite/p-7b869bc5.entry.js +5 -0
  75. package/dist/calcite/{p-fe3880f2.entry.js → p-7c37ca39.entry.js} +1 -1
  76. package/dist/calcite/{p-1b2c1f55.entry.js → p-7dd5c4e4.entry.js} +1 -1
  77. package/dist/calcite/{p-5b87b98f.system.entry.js → p-8007a0b4.system.entry.js} +1 -1
  78. package/dist/calcite/{p-a20df95c.js → p-809ddb6a.js} +1 -1
  79. package/dist/calcite/{p-4b2f69cc.entry.js → p-83302e1c.entry.js} +1 -1
  80. package/dist/calcite/{p-9358deb1.system.entry.js → p-83ccefba.system.entry.js} +1 -1
  81. package/dist/calcite/p-8711a0ae.system.entry.js +5 -0
  82. package/dist/calcite/{p-16148eef.entry.js → p-8953f712.entry.js} +1 -1
  83. package/dist/calcite/{p-c74fc589.system.js → p-89cdfa96.system.js} +1 -1
  84. package/dist/calcite/{p-34fdad31.entry.js → p-8bc3e126.entry.js} +1 -1
  85. package/dist/calcite/p-948aca0d.system.entry.js +5 -0
  86. package/dist/calcite/{p-b95dbc48.system.entry.js → p-98789055.system.entry.js} +1 -1
  87. package/dist/calcite/p-99ff3a2f.entry.js +5 -0
  88. package/dist/calcite/{p-8967b27b.entry.js → p-9affee61.entry.js} +1 -1
  89. package/dist/calcite/{p-6281ab45.system.entry.js → p-9fa024e6.system.entry.js} +1 -1
  90. package/dist/calcite/{p-fc0b3ef2.entry.js → p-9fa5e356.entry.js} +1 -1
  91. package/dist/calcite/{p-192289eb.system.entry.js → p-9fc0dc2c.system.entry.js} +1 -1
  92. package/dist/calcite/p-9fe349b9.entry.js +5 -0
  93. package/dist/calcite/{p-0e30afe6.entry.js → p-a09634e2.entry.js} +1 -1
  94. package/dist/calcite/{p-bdd6ec61.entry.js → p-a2cc027e.entry.js} +1 -1
  95. package/dist/calcite/{p-37fac73b.system.entry.js → p-a5bfc29d.system.entry.js} +1 -1
  96. package/dist/calcite/{p-914c3cc4.system.js → p-a7ba0292.system.js} +1 -1
  97. package/dist/calcite/{p-09ced3ff.system.entry.js → p-a8569c55.system.entry.js} +1 -1
  98. package/dist/calcite/p-b018fbbd.entry.js +5 -0
  99. package/dist/calcite/p-b1f88d45.system.js +5 -0
  100. package/dist/calcite/{p-9d04923b.entry.js → p-b244a00c.entry.js} +1 -1
  101. package/dist/calcite/p-b41deed0.system.entry.js +5 -0
  102. package/dist/calcite/{p-294dbdf2.entry.js → p-b42d730f.entry.js} +1 -1
  103. package/dist/calcite/p-b4960d06.system.js +5 -0
  104. package/dist/calcite/{p-bb577ef7.system.entry.js → p-b4e7b593.system.entry.js} +1 -1
  105. package/dist/calcite/{p-49dfc82d.system.entry.js → p-b8d040e5.system.entry.js} +1 -1
  106. package/dist/calcite/{p-aa53b2aa.system.entry.js → p-ba1322e6.system.entry.js} +1 -1
  107. package/dist/calcite/{p-2e53f47f.system.entry.js → p-bbe2337b.system.entry.js} +2 -2
  108. package/dist/calcite/p-bbedf98c.entry.js +5 -0
  109. package/dist/calcite/p-be52c734.entry.js +5 -0
  110. package/dist/calcite/p-bf25e278.system.entry.js +5 -0
  111. package/dist/calcite/{p-1f17f6c6.entry.js → p-bf8b70a8.entry.js} +1 -1
  112. package/dist/calcite/p-c399cfce.entry.js +5 -0
  113. package/dist/calcite/{p-c3922ef7.system.entry.js → p-c48b4b7e.system.entry.js} +1 -1
  114. package/dist/calcite/p-c60e3a71.entry.js +5 -0
  115. package/dist/calcite/{p-36115e9d.system.entry.js → p-c8e4117c.system.entry.js} +1 -1
  116. package/dist/calcite/{p-1a27bf28.system.entry.js → p-c99d8f9e.system.entry.js} +1 -1
  117. package/dist/calcite/{p-49fcc674.entry.js → p-c9ecea64.entry.js} +1 -1
  118. package/dist/calcite/{p-7fed4823.entry.js → p-cacca548.entry.js} +1 -1
  119. package/dist/calcite/{p-5376ff1d.entry.js → p-cb7b6425.entry.js} +1 -1
  120. package/dist/calcite/{p-ae4f203c.system.entry.js → p-cca94491.system.entry.js} +1 -1
  121. package/dist/calcite/{p-a5a50052.entry.js → p-cd41629f.entry.js} +1 -1
  122. package/dist/calcite/{p-7bcd2eb9.system.js → p-d11ad046.system.js} +1 -1
  123. package/dist/calcite/p-d4059426.entry.js +5 -0
  124. package/dist/calcite/{p-daf4bb66.js → p-d53cc958.js} +1 -1
  125. package/dist/calcite/{p-89b4e322.system.entry.js → p-daa110fe.system.entry.js} +1 -1
  126. package/dist/calcite/{p-975ca343.system.entry.js → p-dc99bb00.system.entry.js} +1 -1
  127. package/dist/calcite/{p-1dc68118.system.entry.js → p-dcf30b00.system.entry.js} +2 -2
  128. package/dist/calcite/{p-f1cf1a10.system.entry.js → p-de3a04c2.system.entry.js} +1 -1
  129. package/dist/calcite/p-df9b4b76.entry.js +5 -0
  130. package/dist/calcite/{p-bee79057.system.entry.js → p-e24b6c4a.system.entry.js} +1 -1
  131. package/dist/calcite/{p-3b17d8d0.system.js → p-e35e7216.system.js} +1 -1
  132. package/dist/calcite/p-e382c4e9.entry.js +5 -0
  133. package/dist/calcite/{p-0467efd5.system.entry.js → p-e40dd6fe.system.entry.js} +1 -1
  134. package/dist/calcite/p-e5805bf1.entry.js +5 -0
  135. package/dist/calcite/p-e638ff0e.entry.js +5 -0
  136. package/dist/calcite/{p-7839d1c9.entry.js → p-e7819705.entry.js} +1 -1
  137. package/dist/calcite/{p-a97338b7.entry.js → p-eccb140e.entry.js} +1 -1
  138. package/dist/calcite/p-eed43a57.system.entry.js +5 -0
  139. package/dist/calcite/{p-c57f8690.entry.js → p-f281f1e9.entry.js} +1 -1
  140. package/dist/calcite/{p-d1b49fa1.system.entry.js → p-f32e61bb.system.entry.js} +1 -1
  141. package/dist/calcite/{p-b7d3039d.js → p-f5bb39bb.js} +1 -1
  142. package/dist/calcite/{p-b5c2dfce.system.entry.js → p-f6f4648e.system.entry.js} +1 -1
  143. package/dist/calcite/{p-e6ec69cf.entry.js → p-f93a7fce.entry.js} +1 -1
  144. package/dist/calcite/p-fb1da0f5.system.js +5 -0
  145. package/dist/calcite/{p-a5bbfe14.system.entry.js → p-fba65e4a.system.entry.js} +1 -1
  146. package/dist/calcite/p-fe16f05e.system.entry.js +5 -0
  147. package/dist/cjs/{CalciteExpandToggle-0d802f83.js → CalciteExpandToggle-6a9f9858.js} +1 -1
  148. package/dist/cjs/{CalciteHeading-381b977d.js → CalciteHeading-363b0525.js} +1 -1
  149. package/dist/cjs/calcite-accordion_2.cjs.entry.js +1 -1
  150. package/dist/cjs/calcite-action-bar.cjs.entry.js +2 -2
  151. package/dist/cjs/calcite-action-group.cjs.entry.js +1 -1
  152. package/dist/cjs/calcite-action-menu.cjs.entry.js +5 -3
  153. package/dist/cjs/calcite-action-pad.cjs.entry.js +2 -2
  154. package/dist/cjs/calcite-action.cjs.entry.js +6 -10
  155. package/dist/cjs/calcite-alert.cjs.entry.js +2 -2
  156. package/dist/cjs/calcite-avatar.cjs.entry.js +1 -1
  157. package/dist/cjs/calcite-block_2.cjs.entry.js +4 -4
  158. package/dist/cjs/calcite-button.cjs.entry.js +52 -35
  159. package/dist/cjs/calcite-card.cjs.entry.js +2 -2
  160. package/dist/cjs/calcite-checkbox.cjs.entry.js +7 -7
  161. package/dist/cjs/calcite-chip.cjs.entry.js +1 -1
  162. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +1 -1
  163. package/dist/cjs/calcite-combobox_3.cjs.entry.js +13 -13
  164. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +3 -3
  165. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +36 -19
  166. package/dist/cjs/calcite-fab.cjs.entry.js +1 -1
  167. package/dist/cjs/calcite-filter.cjs.entry.js +10 -7
  168. package/dist/cjs/calcite-flow.cjs.entry.js +1 -1
  169. package/dist/cjs/calcite-graph_2.cjs.entry.js +28 -20
  170. package/dist/cjs/calcite-handle.cjs.entry.js +1 -1
  171. package/dist/cjs/calcite-icon.cjs.entry.js +1 -1
  172. package/dist/cjs/calcite-inline-editable.cjs.entry.js +6 -5
  173. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +13 -13
  174. package/dist/cjs/calcite-input-message.cjs.entry.js +1 -1
  175. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +11 -11
  176. package/dist/cjs/calcite-input.cjs.entry.js +40 -27
  177. package/dist/cjs/calcite-label.cjs.entry.js +1 -1
  178. package/dist/cjs/calcite-link.cjs.entry.js +7 -1
  179. package/dist/cjs/calcite-list_3.cjs.entry.js +24 -3
  180. package/dist/cjs/calcite-loader.cjs.entry.js +2 -2
  181. package/dist/cjs/calcite-modal.cjs.entry.js +1 -1
  182. package/dist/cjs/calcite-notice.cjs.entry.js +2 -2
  183. package/dist/cjs/calcite-option_3.cjs.entry.js +10 -10
  184. package/dist/cjs/calcite-pagination.cjs.entry.js +1 -1
  185. package/dist/cjs/calcite-panel.cjs.entry.js +3 -3
  186. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +3 -3
  187. package/dist/cjs/calcite-popover_2.cjs.entry.js +4 -4
  188. package/dist/cjs/calcite-progress.cjs.entry.js +1 -1
  189. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +1 -1
  190. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +11 -11
  191. package/dist/cjs/calcite-radio_2.cjs.entry.js +17 -17
  192. package/dist/cjs/calcite-rating.cjs.entry.js +10 -10
  193. package/dist/cjs/calcite-scrim.cjs.entry.js +1 -1
  194. package/dist/cjs/calcite-shell_3.cjs.entry.js +1 -1
  195. package/dist/cjs/calcite-sortable-list.cjs.entry.js +1 -1
  196. package/dist/cjs/calcite-split-button.cjs.entry.js +1 -1
  197. package/dist/cjs/calcite-stepper_2.cjs.entry.js +1 -1
  198. package/dist/cjs/calcite-switch.cjs.entry.js +18 -13
  199. package/dist/cjs/calcite-tab_4.cjs.entry.js +1 -1
  200. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +1 -1
  201. package/dist/cjs/calcite-tile.cjs.entry.js +2 -2
  202. package/dist/cjs/calcite-tip_3.cjs.entry.js +2 -2
  203. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +6 -5
  204. package/dist/cjs/calcite-tree_2.cjs.entry.js +1 -1
  205. package/dist/cjs/calcite-value-list_2.cjs.entry.js +2 -2
  206. package/dist/cjs/calcite.cjs.js +3 -3
  207. package/dist/cjs/{index-1987a382.js → index-cee0daa9.js} +73 -64
  208. package/dist/cjs/{label-4c30cbca.js → label-549c3d9d.js} +4 -4
  209. package/dist/cjs/loader.cjs.js +3 -3
  210. package/dist/cjs/{popper-cd9c0742.js → popper-87bf13e6.js} +2 -2
  211. package/dist/cjs/{resources-7dcd68d1.js → resources-38563593.js} +1 -1
  212. package/dist/cjs/{resources-d0619f6a.js → resources-f9c141d2.js} +1 -1
  213. package/dist/collection/collection-manifest.json +2 -2
  214. package/dist/collection/components/calcite-accordion/calcite-accordion.js +2 -2
  215. package/dist/collection/components/calcite-accordion-item/calcite-accordion-item.js +8 -8
  216. package/dist/collection/components/calcite-action/calcite-action.css +17 -68
  217. package/dist/collection/components/calcite-action/calcite-action.js +34 -35
  218. package/dist/collection/components/calcite-action-menu/calcite-action-menu.js +6 -4
  219. package/dist/collection/components/calcite-alert/calcite-alert.css +0 -62
  220. package/dist/collection/components/calcite-alert/calcite-alert.js +6 -6
  221. package/dist/collection/components/calcite-block/calcite-block.css +2 -2
  222. package/dist/collection/components/calcite-block/calcite-block.js +4 -4
  223. package/dist/collection/components/calcite-block-section/calcite-block-section.css +1 -0
  224. package/dist/collection/components/calcite-button/calcite-button.js +33 -37
  225. package/dist/collection/components/calcite-card/calcite-card.js +8 -8
  226. package/dist/collection/components/calcite-checkbox/calcite-checkbox.css +4 -1
  227. package/dist/collection/components/calcite-checkbox/calcite-checkbox.js +12 -12
  228. package/dist/collection/components/calcite-chip/calcite-chip.js +2 -2
  229. package/dist/collection/components/calcite-color-picker/calcite-color-picker.js +46 -46
  230. package/dist/collection/components/calcite-color-picker-hex-input/calcite-color-picker-hex-input.js +4 -4
  231. package/dist/collection/components/calcite-color-picker-swatch/calcite-color-picker-swatch.js +2 -2
  232. package/dist/collection/components/calcite-combobox/calcite-combobox.css +3 -0
  233. package/dist/collection/components/calcite-combobox/calcite-combobox.js +15 -15
  234. package/dist/collection/components/calcite-date-picker/calcite-date-picker.js +6 -6
  235. package/dist/collection/components/calcite-date-picker-day/calcite-date-picker-day.js +2 -2
  236. package/dist/collection/components/calcite-date-picker-month/calcite-date-picker-month.js +6 -6
  237. package/dist/collection/components/calcite-dropdown/calcite-dropdown.js +39 -20
  238. package/dist/collection/components/calcite-dropdown-group/calcite-dropdown-group.js +2 -2
  239. package/dist/collection/components/calcite-dropdown-item/calcite-dropdown-item.css +33 -27
  240. package/dist/collection/components/calcite-dropdown-item/calcite-dropdown-item.js +6 -6
  241. package/dist/collection/components/calcite-fab/calcite-fab.js +2 -2
  242. package/dist/collection/components/calcite-filter/calcite-filter.js +29 -11
  243. package/dist/collection/components/calcite-graph/calcite-graph.js +48 -6
  244. package/dist/collection/components/calcite-graph/util.js +1 -1
  245. package/dist/collection/components/calcite-handle/calcite-handle.js +2 -2
  246. package/dist/collection/components/calcite-icon/assets/calcite-icon/penMark16.json +1 -0
  247. package/dist/collection/components/calcite-icon/assets/calcite-icon/penMark24.json +1 -0
  248. package/dist/collection/components/calcite-icon/assets/calcite-icon/penMark32.json +1 -0
  249. package/dist/collection/components/calcite-icon/assets/calcite-icon/penMarkPlus16.json +1 -0
  250. package/dist/collection/components/calcite-icon/assets/calcite-icon/penMarkPlus24.json +1 -0
  251. package/dist/collection/components/calcite-icon/assets/calcite-icon/penMarkPlus32.json +1 -0
  252. package/dist/collection/components/calcite-icon/assets/calcite-icon/subscript16.json +1 -0
  253. package/dist/collection/components/calcite-icon/assets/calcite-icon/subscript24.json +1 -0
  254. package/dist/collection/components/calcite-icon/assets/calcite-icon/subscript32.json +1 -0
  255. package/dist/collection/components/calcite-icon/assets/calcite-icon/superscript16.json +1 -0
  256. package/dist/collection/components/calcite-icon/assets/calcite-icon/superscript24.json +1 -0
  257. package/dist/collection/components/calcite-icon/assets/calcite-icon/superscript32.json +1 -0
  258. package/dist/collection/components/calcite-inline-editable/calcite-inline-editable.js +17 -16
  259. package/dist/collection/components/calcite-input/calcite-input.js +50 -37
  260. package/dist/collection/components/calcite-input-date-picker/calcite-input-date-picker.js +19 -19
  261. package/dist/collection/components/calcite-input-message/calcite-input-message.js +2 -2
  262. package/dist/collection/components/calcite-input-time-picker/calcite-input-time-picker.js +10 -10
  263. package/dist/collection/components/calcite-label/calcite-label.js +2 -2
  264. package/dist/collection/components/calcite-link/calcite-link.js +11 -1
  265. package/dist/collection/components/calcite-list/calcite-list.js +33 -1
  266. package/dist/collection/components/calcite-list-item/calcite-list-item.js +30 -2
  267. package/dist/collection/components/calcite-loader/calcite-loader.css +3 -6
  268. package/dist/collection/components/calcite-modal/calcite-modal.js +2 -2
  269. package/dist/collection/components/calcite-notice/calcite-notice.css +18 -6
  270. package/dist/collection/components/calcite-notice/calcite-notice.js +2 -2
  271. package/dist/collection/components/calcite-option/calcite-option.js +2 -2
  272. package/dist/collection/components/calcite-option-group/calcite-option-group.js +2 -2
  273. package/dist/collection/components/calcite-pagination/calcite-pagination.js +8 -8
  274. package/dist/collection/components/calcite-panel/calcite-panel.css +6 -2
  275. package/dist/collection/components/calcite-pick-list-item/calcite-pick-list-item.js +10 -10
  276. package/dist/collection/components/calcite-popover/calcite-popover.js +9 -9
  277. package/dist/collection/components/calcite-popover-manager/calcite-popover-manager.js +2 -2
  278. package/dist/collection/components/calcite-radio/calcite-radio.js +4 -4
  279. package/dist/collection/components/calcite-radio-button/calcite-radio-button.js +27 -27
  280. package/dist/collection/components/calcite-radio-group/calcite-radio-group.js +8 -8
  281. package/dist/collection/components/calcite-radio-group-item/calcite-radio-group-item.css +1 -5
  282. package/dist/collection/components/calcite-radio-group-item/calcite-radio-group-item.js +2 -2
  283. package/dist/collection/components/calcite-rating/calcite-rating.js +12 -12
  284. package/dist/collection/components/calcite-scrim/calcite-scrim.js +2 -2
  285. package/dist/collection/components/calcite-select/calcite-select.js +10 -10
  286. package/dist/collection/components/calcite-slider/calcite-slider.css +2 -4
  287. package/dist/collection/components/calcite-slider/calcite-slider.js +12 -12
  288. package/dist/collection/components/calcite-split-button/calcite-split-button.js +2 -2
  289. package/dist/collection/components/calcite-stepper/calcite-stepper.js +4 -4
  290. package/dist/collection/components/calcite-stepper-item/calcite-stepper-item.js +14 -14
  291. package/dist/collection/components/calcite-switch/calcite-switch.js +19 -14
  292. package/dist/collection/components/calcite-tab/calcite-tab.js +4 -4
  293. package/dist/collection/components/calcite-tab-nav/calcite-tab-nav.js +14 -14
  294. package/dist/collection/components/calcite-tab-title/calcite-tab-title.js +16 -16
  295. package/dist/collection/components/calcite-tile/calcite-tile.css +4 -0
  296. package/dist/collection/components/calcite-tile/calcite-tile.js +2 -2
  297. package/dist/collection/components/calcite-time-picker/calcite-time-picker.js +30 -30
  298. package/dist/collection/components/calcite-tooltip/calcite-tooltip.js +5 -5
  299. package/dist/collection/components/calcite-tooltip-manager/calcite-tooltip-manager.js +5 -4
  300. package/dist/collection/components/calcite-tree/calcite-tree.js +10 -10
  301. package/dist/collection/components/calcite-tree-item/calcite-tree-item.js +20 -20
  302. package/dist/collection/components/calcite-value-list-item/calcite-value-list-item.js +6 -6
  303. package/dist/collection/utils/label.js +4 -4
  304. package/dist/collection/utils/popper.js +2 -2
  305. package/dist/components/CalciteExpandToggle.js +87 -0
  306. package/dist/components/CalciteHeading.js +16 -0
  307. package/dist/components/array.js +9 -0
  308. package/dist/components/calcite-accordion-item.d.ts +11 -0
  309. package/dist/components/calcite-accordion-item.js +153 -0
  310. package/dist/components/calcite-accordion.d.ts +11 -0
  311. package/dist/components/calcite-accordion.js +167 -0
  312. package/dist/components/calcite-action-bar.d.ts +11 -0
  313. package/dist/components/calcite-action-bar.js +266 -0
  314. package/dist/components/calcite-action-group.d.ts +11 -0
  315. package/dist/components/calcite-action-group.js +10 -0
  316. package/dist/components/calcite-action-group2.js +135 -0
  317. package/dist/components/calcite-action-menu.d.ts +11 -0
  318. package/dist/components/calcite-action-menu.js +10 -0
  319. package/dist/components/calcite-action-menu2.js +354 -0
  320. package/dist/components/calcite-action-pad.d.ts +11 -0
  321. package/dist/components/calcite-action-pad.js +198 -0
  322. package/dist/components/calcite-action.d.ts +11 -0
  323. package/dist/components/calcite-action.js +10 -0
  324. package/dist/components/calcite-action2.js +183 -0
  325. package/dist/components/calcite-alert.d.ts +11 -0
  326. package/dist/components/calcite-alert.js +232 -0
  327. package/dist/components/calcite-avatar.d.ts +11 -0
  328. package/dist/components/calcite-avatar.js +171 -0
  329. package/dist/components/calcite-block-section.d.ts +11 -0
  330. package/dist/components/calcite-block-section.js +139 -0
  331. package/dist/components/calcite-block.d.ts +11 -0
  332. package/dist/components/calcite-block.js +216 -0
  333. package/dist/components/calcite-button.d.ts +11 -0
  334. package/dist/components/calcite-button.js +10 -0
  335. package/dist/components/calcite-button2.js +243 -0
  336. package/dist/components/calcite-card.d.ts +11 -0
  337. package/dist/components/calcite-card.js +162 -0
  338. package/dist/components/calcite-checkbox.d.ts +11 -0
  339. package/dist/components/calcite-checkbox.js +10 -0
  340. package/dist/components/calcite-checkbox2.js +203 -0
  341. package/dist/components/calcite-chip.d.ts +11 -0
  342. package/dist/components/calcite-chip.js +10 -0
  343. package/dist/components/calcite-chip2.js +121 -0
  344. package/dist/components/calcite-color-picker-hex-input.d.ts +11 -0
  345. package/dist/components/calcite-color-picker-hex-input.js +10 -0
  346. package/dist/components/calcite-color-picker-hex-input2.js +353 -0
  347. package/dist/components/calcite-color-picker-swatch.d.ts +11 -0
  348. package/dist/components/calcite-color-picker-swatch.js +10 -0
  349. package/dist/components/calcite-color-picker-swatch2.js +2176 -0
  350. package/dist/components/calcite-color-picker.d.ts +11 -0
  351. package/dist/components/calcite-color-picker.js +966 -0
  352. package/dist/components/calcite-combobox-item-group.d.ts +11 -0
  353. package/dist/components/calcite-combobox-item-group.js +68 -0
  354. package/dist/components/calcite-combobox-item.d.ts +11 -0
  355. package/dist/components/calcite-combobox-item.js +168 -0
  356. package/dist/components/calcite-combobox.d.ts +11 -0
  357. package/dist/components/calcite-combobox.js +871 -0
  358. package/dist/components/calcite-date-picker-day.d.ts +11 -0
  359. package/dist/components/calcite-date-picker-day.js +10 -0
  360. package/dist/components/calcite-date-picker-day2.js +99 -0
  361. package/dist/components/calcite-date-picker-month-header.d.ts +11 -0
  362. package/dist/components/calcite-date-picker-month-header.js +10 -0
  363. package/dist/components/calcite-date-picker-month-header2.js +170 -0
  364. package/dist/components/calcite-date-picker-month.d.ts +11 -0
  365. package/dist/components/calcite-date-picker-month.js +10 -0
  366. package/dist/components/calcite-date-picker-month2.js +313 -0
  367. package/dist/components/calcite-date-picker.d.ts +11 -0
  368. package/dist/components/calcite-date-picker.js +10 -0
  369. package/dist/components/calcite-date-picker2.js +486 -0
  370. package/dist/components/calcite-dropdown-group.d.ts +11 -0
  371. package/dist/components/calcite-dropdown-group.js +90 -0
  372. package/dist/components/calcite-dropdown-item.d.ts +11 -0
  373. package/dist/components/calcite-dropdown-item.js +202 -0
  374. package/dist/components/calcite-dropdown.d.ts +11 -0
  375. package/dist/components/calcite-dropdown.js +10 -0
  376. package/dist/components/calcite-dropdown2.js +390 -0
  377. package/dist/components/calcite-fab.d.ts +11 -0
  378. package/dist/components/calcite-fab.js +127 -0
  379. package/dist/components/calcite-filter.d.ts +11 -0
  380. package/dist/components/calcite-filter.js +10 -0
  381. package/dist/components/calcite-filter2.js +168 -0
  382. package/dist/components/calcite-flow.d.ts +11 -0
  383. package/dist/components/calcite-flow.js +138 -0
  384. package/dist/components/calcite-graph.d.ts +11 -0
  385. package/dist/components/calcite-graph.js +10 -0
  386. package/dist/components/calcite-graph2.js +213 -0
  387. package/dist/components/calcite-handle.d.ts +11 -0
  388. package/dist/components/calcite-handle.js +10 -0
  389. package/dist/components/calcite-handle2.js +107 -0
  390. package/dist/components/calcite-icon.d.ts +11 -0
  391. package/dist/components/calcite-icon.js +10 -0
  392. package/dist/components/calcite-icon2.js +185 -0
  393. package/dist/components/calcite-inline-editable.d.ts +11 -0
  394. package/dist/components/calcite-inline-editable.js +242 -0
  395. package/dist/components/calcite-input-date-picker.d.ts +11 -0
  396. package/dist/components/calcite-input-date-picker.js +471 -0
  397. package/dist/components/calcite-input-message.d.ts +11 -0
  398. package/dist/components/calcite-input-message.js +97 -0
  399. package/dist/components/calcite-input-time-picker.d.ts +11 -0
  400. package/dist/components/calcite-input-time-picker.js +278 -0
  401. package/dist/components/calcite-input.d.ts +11 -0
  402. package/dist/components/calcite-input.js +10 -0
  403. package/dist/components/calcite-input2.js +507 -0
  404. package/dist/components/calcite-label.d.ts +11 -0
  405. package/dist/components/calcite-label.js +10 -0
  406. package/dist/components/calcite-label2.js +81 -0
  407. package/dist/components/calcite-link.d.ts +11 -0
  408. package/dist/components/calcite-link.js +10 -0
  409. package/dist/components/calcite-link2.js +97 -0
  410. package/dist/components/calcite-list-item-group.d.ts +11 -0
  411. package/dist/components/calcite-list-item-group.js +57 -0
  412. package/dist/components/calcite-list-item.d.ts +11 -0
  413. package/dist/components/calcite-list-item.js +117 -0
  414. package/dist/components/calcite-list.d.ts +11 -0
  415. package/dist/components/calcite-list.js +59 -0
  416. package/dist/components/calcite-loader.d.ts +11 -0
  417. package/dist/components/calcite-loader.js +10 -0
  418. package/dist/components/calcite-loader2.js +107 -0
  419. package/dist/components/calcite-modal.d.ts +11 -0
  420. package/dist/components/calcite-modal.js +417 -0
  421. package/dist/components/calcite-notice.d.ts +11 -0
  422. package/dist/components/calcite-notice.js +140 -0
  423. package/dist/components/calcite-option-group.d.ts +11 -0
  424. package/dist/components/calcite-option-group.js +61 -0
  425. package/dist/components/calcite-option.d.ts +11 -0
  426. package/dist/components/calcite-option.js +107 -0
  427. package/dist/components/calcite-pagination.d.ts +11 -0
  428. package/dist/components/calcite-pagination.js +207 -0
  429. package/dist/components/calcite-panel.d.ts +11 -0
  430. package/dist/components/calcite-panel.js +309 -0
  431. package/dist/components/calcite-pick-list-group.d.ts +11 -0
  432. package/dist/components/calcite-pick-list-group.js +70 -0
  433. package/dist/components/calcite-pick-list-item.d.ts +11 -0
  434. package/dist/components/calcite-pick-list-item.js +10 -0
  435. package/dist/components/calcite-pick-list-item2.js +230 -0
  436. package/dist/components/calcite-pick-list.d.ts +11 -0
  437. package/dist/components/calcite-pick-list.js +196 -0
  438. package/dist/components/calcite-popover-manager.d.ts +11 -0
  439. package/dist/components/calcite-popover-manager.js +93 -0
  440. package/dist/components/calcite-popover.d.ts +11 -0
  441. package/dist/components/calcite-popover.js +10 -0
  442. package/dist/components/calcite-popover2.js +332 -0
  443. package/dist/components/calcite-progress.d.ts +11 -0
  444. package/dist/components/calcite-progress.js +10 -0
  445. package/dist/components/calcite-progress2.js +52 -0
  446. package/dist/components/calcite-radio-button-group.d.ts +11 -0
  447. package/dist/components/calcite-radio-button-group.js +116 -0
  448. package/dist/components/calcite-radio-button.d.ts +11 -0
  449. package/dist/components/calcite-radio-button.js +291 -0
  450. package/dist/components/calcite-radio-group-item.d.ts +11 -0
  451. package/dist/components/calcite-radio-group-item.js +139 -0
  452. package/dist/components/calcite-radio-group.d.ts +11 -0
  453. package/dist/components/calcite-radio-group.js +233 -0
  454. package/dist/components/calcite-radio.d.ts +11 -0
  455. package/dist/components/calcite-radio.js +10 -0
  456. package/dist/components/calcite-radio2.js +68 -0
  457. package/dist/components/calcite-rating.d.ts +11 -0
  458. package/dist/components/calcite-rating.js +160 -0
  459. package/dist/components/calcite-scrim.d.ts +11 -0
  460. package/dist/components/calcite-scrim.js +10 -0
  461. package/dist/components/calcite-scrim2.js +74 -0
  462. package/dist/components/calcite-select.d.ts +11 -0
  463. package/dist/components/calcite-select.js +221 -0
  464. package/dist/components/calcite-shell-center-row.d.ts +11 -0
  465. package/dist/components/calcite-shell-center-row.js +81 -0
  466. package/dist/components/calcite-shell-panel.d.ts +11 -0
  467. package/dist/components/calcite-shell-panel.js +100 -0
  468. package/dist/components/calcite-shell.d.ts +11 -0
  469. package/dist/components/calcite-shell.js +99 -0
  470. package/dist/components/calcite-slider.d.ts +11 -0
  471. package/dist/components/calcite-slider.js +746 -0
  472. package/dist/components/calcite-sortable-list.d.ts +11 -0
  473. package/dist/components/calcite-sortable-list.js +190 -0
  474. package/dist/components/calcite-split-button.d.ts +11 -0
  475. package/dist/components/calcite-split-button.js +127 -0
  476. package/dist/components/calcite-stepper-item.d.ts +11 -0
  477. package/dist/components/calcite-stepper-item.js +189 -0
  478. package/dist/components/calcite-stepper.d.ts +11 -0
  479. package/dist/components/calcite-stepper.js +247 -0
  480. package/dist/components/calcite-switch.d.ts +11 -0
  481. package/dist/components/calcite-switch.js +10 -0
  482. package/dist/components/calcite-switch2.js +167 -0
  483. package/dist/components/calcite-tab-nav.d.ts +11 -0
  484. package/dist/components/calcite-tab-nav.js +10 -0
  485. package/dist/components/calcite-tab-nav2.js +209 -0
  486. package/dist/components/calcite-tab-title.d.ts +11 -0
  487. package/dist/components/calcite-tab-title.js +10 -0
  488. package/dist/components/calcite-tab-title2.js +230 -0
  489. package/dist/components/calcite-tab.d.ts +11 -0
  490. package/dist/components/calcite-tab.js +10 -0
  491. package/dist/components/calcite-tab2.js +122 -0
  492. package/dist/components/calcite-tabs.d.ts +11 -0
  493. package/dist/components/calcite-tabs.js +10 -0
  494. package/dist/components/calcite-tabs2.js +183 -0
  495. package/dist/components/calcite-tile-select-group.d.ts +11 -0
  496. package/dist/components/calcite-tile-select-group.js +45 -0
  497. package/dist/components/calcite-tile-select.d.ts +11 -0
  498. package/dist/components/calcite-tile-select.js +218 -0
  499. package/dist/components/calcite-tile.d.ts +11 -0
  500. package/dist/components/calcite-tile.js +10 -0
  501. package/dist/components/calcite-tile2.js +98 -0
  502. package/dist/components/calcite-time-picker.d.ts +11 -0
  503. package/dist/components/calcite-time-picker.js +10 -0
  504. package/dist/components/calcite-time-picker2.js +707 -0
  505. package/dist/components/calcite-tip-group.d.ts +11 -0
  506. package/dist/components/calcite-tip-group.js +38 -0
  507. package/dist/components/calcite-tip-manager.d.ts +11 -0
  508. package/dist/components/calcite-tip-manager.js +218 -0
  509. package/dist/components/calcite-tip.d.ts +11 -0
  510. package/dist/components/calcite-tip.js +140 -0
  511. package/dist/components/calcite-tooltip-manager.d.ts +11 -0
  512. package/dist/components/calcite-tooltip-manager.js +10 -0
  513. package/dist/components/calcite-tooltip-manager2.js +168 -0
  514. package/dist/components/calcite-tooltip.d.ts +11 -0
  515. package/dist/components/calcite-tooltip.js +224 -0
  516. package/dist/components/calcite-tree-item.d.ts +11 -0
  517. package/dist/components/calcite-tree-item.js +303 -0
  518. package/dist/components/calcite-tree.d.ts +11 -0
  519. package/dist/components/calcite-tree.js +216 -0
  520. package/dist/components/calcite-value-list-item.d.ts +11 -0
  521. package/dist/components/calcite-value-list-item.js +180 -0
  522. package/dist/components/calcite-value-list.d.ts +11 -0
  523. package/dist/components/calcite-value-list.js +271 -0
  524. package/dist/components/date.js +159 -0
  525. package/dist/components/debounce.js +486 -0
  526. package/dist/components/dom.js +153 -0
  527. package/dist/components/forIn.js +619 -0
  528. package/dist/components/form.js +20 -0
  529. package/dist/components/guid.js +18 -0
  530. package/dist/components/index.d.ts +26 -0
  531. package/dist/components/index.js +5 -0
  532. package/dist/components/interfaces.js +13 -0
  533. package/dist/components/interfaces2.js +14 -0
  534. package/dist/components/key.js +33 -0
  535. package/dist/components/label.js +54 -0
  536. package/dist/components/locale.js +118 -0
  537. package/dist/components/math.js +7 -0
  538. package/dist/components/number.js +40 -0
  539. package/dist/components/observers.js +22 -0
  540. package/dist/{esm/popper-44055f06.js → components/popper.js} +3 -3
  541. package/dist/components/resources.js +24 -0
  542. package/dist/components/resources2.js +13 -0
  543. package/dist/components/resources3.js +18 -0
  544. package/dist/components/resources4.js +32 -0
  545. package/dist/components/shared-list-render.js +286 -0
  546. package/dist/components/sortable.esm.js +3017 -0
  547. package/dist/components/utils.js +113 -0
  548. package/dist/components/utils2.js +38 -0
  549. package/dist/custom-elements/index.js +400 -309
  550. package/dist/esm/{CalciteExpandToggle-b1e6e72d.js → CalciteExpandToggle-235a6bfd.js} +2 -2
  551. package/dist/esm/{CalciteHeading-1735f17a.js → CalciteHeading-dea3bd05.js} +1 -1
  552. package/dist/esm/calcite-accordion_2.entry.js +2 -2
  553. package/dist/esm/calcite-action-bar.entry.js +3 -3
  554. package/dist/esm/calcite-action-group.entry.js +2 -2
  555. package/dist/esm/calcite-action-menu.entry.js +6 -4
  556. package/dist/esm/calcite-action-pad.entry.js +3 -3
  557. package/dist/esm/calcite-action.entry.js +6 -10
  558. package/dist/esm/calcite-alert.entry.js +3 -3
  559. package/dist/esm/calcite-avatar.entry.js +2 -2
  560. package/dist/esm/calcite-block_2.entry.js +5 -5
  561. package/dist/esm/calcite-button.entry.js +53 -36
  562. package/dist/esm/calcite-card.entry.js +3 -3
  563. package/dist/esm/calcite-checkbox.entry.js +8 -8
  564. package/dist/esm/calcite-chip.entry.js +2 -2
  565. package/dist/esm/calcite-color-picker_3.entry.js +2 -2
  566. package/dist/esm/calcite-combobox_3.entry.js +14 -14
  567. package/dist/esm/calcite-date-picker_4.entry.js +4 -4
  568. package/dist/esm/calcite-dropdown_3.entry.js +37 -20
  569. package/dist/esm/calcite-fab.entry.js +2 -2
  570. package/dist/esm/calcite-filter.entry.js +11 -8
  571. package/dist/esm/calcite-flow.entry.js +1 -1
  572. package/dist/esm/calcite-graph_2.entry.js +29 -21
  573. package/dist/esm/calcite-handle.entry.js +1 -1
  574. package/dist/esm/calcite-icon.entry.js +2 -2
  575. package/dist/esm/calcite-inline-editable.entry.js +7 -6
  576. package/dist/esm/calcite-input-date-picker.entry.js +14 -14
  577. package/dist/esm/calcite-input-message.entry.js +2 -2
  578. package/dist/esm/calcite-input-time-picker_2.entry.js +12 -12
  579. package/dist/esm/calcite-input.entry.js +41 -28
  580. package/dist/esm/calcite-label.entry.js +2 -2
  581. package/dist/esm/calcite-link.entry.js +8 -2
  582. package/dist/esm/calcite-list_3.entry.js +25 -4
  583. package/dist/esm/calcite-loader.entry.js +2 -2
  584. package/dist/esm/calcite-modal.entry.js +2 -2
  585. package/dist/esm/calcite-notice.entry.js +3 -3
  586. package/dist/esm/calcite-option_3.entry.js +11 -11
  587. package/dist/esm/calcite-pagination.entry.js +2 -2
  588. package/dist/esm/calcite-panel.entry.js +4 -4
  589. package/dist/esm/calcite-pick-list_3.entry.js +4 -4
  590. package/dist/esm/calcite-popover_2.entry.js +5 -5
  591. package/dist/esm/calcite-progress.entry.js +1 -1
  592. package/dist/esm/calcite-radio-button-group.entry.js +1 -1
  593. package/dist/esm/calcite-radio-group_2.entry.js +12 -12
  594. package/dist/esm/calcite-radio_2.entry.js +18 -18
  595. package/dist/esm/calcite-rating.entry.js +11 -11
  596. package/dist/esm/calcite-scrim.entry.js +1 -1
  597. package/dist/esm/calcite-shell_3.entry.js +2 -2
  598. package/dist/esm/calcite-sortable-list.entry.js +1 -1
  599. package/dist/esm/calcite-split-button.entry.js +2 -2
  600. package/dist/esm/calcite-stepper_2.entry.js +2 -2
  601. package/dist/esm/calcite-switch.entry.js +19 -14
  602. package/dist/esm/calcite-tab_4.entry.js +2 -2
  603. package/dist/esm/calcite-tile-select_2.entry.js +2 -2
  604. package/dist/esm/calcite-tile.entry.js +3 -3
  605. package/dist/esm/calcite-tip_3.entry.js +3 -3
  606. package/dist/esm/calcite-tooltip_2.entry.js +7 -6
  607. package/dist/esm/calcite-tree_2.entry.js +2 -2
  608. package/dist/esm/calcite-value-list_2.entry.js +3 -3
  609. package/dist/esm/calcite.js +3 -3
  610. package/dist/esm/{dom-70b0e988.js → dom-f24e866c.js} +1 -1
  611. package/dist/esm/{index-d653c37f.js → index-66803519.js} +73 -64
  612. package/dist/esm/{label-426b4471.js → label-bb61bdef.js} +5 -5
  613. package/dist/esm/loader.js +3 -3
  614. package/dist/esm/popper-dc4b45cf.js +1785 -0
  615. package/dist/esm/{resources-56ac5dd9.js → resources-8dd80c84.js} +2 -2
  616. package/dist/esm/{resources-3b481489.js → resources-c59a1a15.js} +1 -1
  617. package/dist/esm-es5/{CalciteExpandToggle-b1e6e72d.js → CalciteExpandToggle-235a6bfd.js} +1 -1
  618. package/dist/esm-es5/{CalciteHeading-1735f17a.js → CalciteHeading-dea3bd05.js} +1 -1
  619. package/dist/esm-es5/calcite-accordion_2.entry.js +1 -1
  620. package/dist/esm-es5/calcite-action-bar.entry.js +1 -1
  621. package/dist/esm-es5/calcite-action-group.entry.js +1 -1
  622. package/dist/esm-es5/calcite-action-menu.entry.js +1 -1
  623. package/dist/esm-es5/calcite-action-pad.entry.js +1 -1
  624. package/dist/esm-es5/calcite-action.entry.js +2 -2
  625. package/dist/esm-es5/calcite-alert.entry.js +2 -2
  626. package/dist/esm-es5/calcite-avatar.entry.js +1 -1
  627. package/dist/esm-es5/calcite-block_2.entry.js +1 -1
  628. package/dist/esm-es5/calcite-button.entry.js +1 -1
  629. package/dist/esm-es5/calcite-card.entry.js +1 -1
  630. package/dist/esm-es5/calcite-checkbox.entry.js +1 -1
  631. package/dist/esm-es5/calcite-chip.entry.js +1 -1
  632. package/dist/esm-es5/calcite-color-picker_3.entry.js +1 -1
  633. package/dist/esm-es5/calcite-combobox_3.entry.js +1 -1
  634. package/dist/esm-es5/calcite-date-picker_4.entry.js +1 -1
  635. package/dist/esm-es5/calcite-dropdown_3.entry.js +1 -1
  636. package/dist/esm-es5/calcite-fab.entry.js +1 -1
  637. package/dist/esm-es5/calcite-filter.entry.js +1 -1
  638. package/dist/esm-es5/calcite-flow.entry.js +1 -1
  639. package/dist/esm-es5/calcite-graph_2.entry.js +1 -1
  640. package/dist/esm-es5/calcite-handle.entry.js +1 -1
  641. package/dist/esm-es5/calcite-icon.entry.js +1 -1
  642. package/dist/esm-es5/calcite-inline-editable.entry.js +1 -1
  643. package/dist/esm-es5/calcite-input-date-picker.entry.js +1 -1
  644. package/dist/esm-es5/calcite-input-message.entry.js +1 -1
  645. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +1 -1
  646. package/dist/esm-es5/calcite-input.entry.js +1 -1
  647. package/dist/esm-es5/calcite-label.entry.js +1 -1
  648. package/dist/esm-es5/calcite-link.entry.js +2 -2
  649. package/dist/esm-es5/calcite-list_3.entry.js +2 -2
  650. package/dist/esm-es5/calcite-loader.entry.js +1 -1
  651. package/dist/esm-es5/calcite-modal.entry.js +1 -1
  652. package/dist/esm-es5/calcite-notice.entry.js +1 -1
  653. package/dist/esm-es5/calcite-option_3.entry.js +1 -1
  654. package/dist/esm-es5/calcite-pagination.entry.js +1 -1
  655. package/dist/esm-es5/calcite-panel.entry.js +1 -1
  656. package/dist/esm-es5/calcite-pick-list_3.entry.js +1 -1
  657. package/dist/esm-es5/calcite-popover_2.entry.js +1 -1
  658. package/dist/esm-es5/calcite-progress.entry.js +1 -1
  659. package/dist/esm-es5/calcite-radio-button-group.entry.js +1 -1
  660. package/dist/esm-es5/calcite-radio-group_2.entry.js +1 -1
  661. package/dist/esm-es5/calcite-radio_2.entry.js +1 -1
  662. package/dist/esm-es5/calcite-rating.entry.js +1 -1
  663. package/dist/esm-es5/calcite-scrim.entry.js +1 -1
  664. package/dist/esm-es5/calcite-shell_3.entry.js +1 -1
  665. package/dist/esm-es5/calcite-sortable-list.entry.js +1 -1
  666. package/dist/esm-es5/calcite-split-button.entry.js +1 -1
  667. package/dist/esm-es5/calcite-stepper_2.entry.js +1 -1
  668. package/dist/esm-es5/calcite-switch.entry.js +1 -1
  669. package/dist/esm-es5/calcite-tab_4.entry.js +1 -1
  670. package/dist/esm-es5/calcite-tile-select_2.entry.js +1 -1
  671. package/dist/esm-es5/calcite-tile.entry.js +1 -1
  672. package/dist/esm-es5/calcite-tip_3.entry.js +1 -1
  673. package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
  674. package/dist/esm-es5/calcite-tree_2.entry.js +1 -1
  675. package/dist/esm-es5/calcite-value-list_2.entry.js +1 -1
  676. package/dist/esm-es5/calcite.js +1 -1
  677. package/dist/esm-es5/{dom-70b0e988.js → dom-f24e866c.js} +1 -1
  678. package/dist/esm-es5/{index-d653c37f.js → index-66803519.js} +1 -1
  679. package/dist/esm-es5/label-bb61bdef.js +5 -0
  680. package/dist/esm-es5/loader.js +1 -1
  681. package/dist/esm-es5/popper-dc4b45cf.js +5 -0
  682. package/dist/esm-es5/{resources-56ac5dd9.js → resources-8dd80c84.js} +1 -1
  683. package/dist/esm-es5/{resources-3b481489.js → resources-c59a1a15.js} +1 -1
  684. package/dist/extras/docs-json.json +511 -429
  685. package/dist/types/components/calcite-action/calcite-action.d.ts +2 -2
  686. package/dist/types/components/calcite-button/calcite-button.d.ts +10 -3
  687. package/dist/types/components/calcite-checkbox/calcite-checkbox.d.ts +1 -1
  688. package/dist/types/components/calcite-combobox/calcite-combobox.d.ts +1 -1
  689. package/dist/types/components/calcite-dropdown/calcite-dropdown.d.ts +6 -3
  690. package/dist/types/components/calcite-filter/calcite-filter.d.ts +5 -1
  691. package/dist/types/components/calcite-graph/calcite-graph.d.ts +4 -0
  692. package/dist/types/components/calcite-inline-editable/calcite-inline-editable.d.ts +1 -1
  693. package/dist/types/components/calcite-input/calcite-input.d.ts +8 -2
  694. package/dist/types/components/calcite-input-date-picker/calcite-input-date-picker.d.ts +1 -1
  695. package/dist/types/components/calcite-input-time-picker/calcite-input-time-picker.d.ts +2 -2
  696. package/dist/types/components/calcite-link/calcite-link.d.ts +2 -1
  697. package/dist/types/components/calcite-list/calcite-list.d.ts +3 -0
  698. package/dist/types/components/calcite-list-item/calcite-list-item.d.ts +3 -0
  699. package/dist/types/components/calcite-modal/calcite-modal.d.ts +2 -2
  700. package/dist/types/components/calcite-radio-button/calcite-radio-button.d.ts +1 -1
  701. package/dist/types/components/calcite-radio-group/calcite-radio-group.d.ts +1 -1
  702. package/dist/types/components/calcite-rating/calcite-rating.d.ts +1 -1
  703. package/dist/types/components/calcite-select/calcite-select.d.ts +1 -1
  704. package/dist/types/components/calcite-slider/calcite-slider.d.ts +1 -1
  705. package/dist/types/components/calcite-switch/calcite-switch.d.ts +1 -1
  706. package/dist/types/components.d.ts +42 -8
  707. package/dist/types/utils/popper.d.ts +1 -1
  708. package/hydrate/index.js +321 -223
  709. package/package.json +32 -34
  710. package/readme.md +5 -5
  711. package/dist/calcite/p-01574cc9.system.entry.js +0 -5
  712. package/dist/calcite/p-034b30d0.system.entry.js +0 -5
  713. package/dist/calcite/p-07ba39b6.js +0 -5
  714. package/dist/calcite/p-161fae80.entry.js +0 -5
  715. package/dist/calcite/p-1800ca58.system.entry.js +0 -5
  716. package/dist/calcite/p-22b45d8e.entry.js +0 -5
  717. package/dist/calcite/p-38f1f404.entry.js +0 -5
  718. package/dist/calcite/p-3a529cc9.entry.js +0 -5
  719. package/dist/calcite/p-3f4d3c3a.system.entry.js +0 -5
  720. package/dist/calcite/p-42c1ceea.system.entry.js +0 -5
  721. package/dist/calcite/p-43c9ac47.entry.js +0 -5
  722. package/dist/calcite/p-48d862ab.system.entry.js +0 -5
  723. package/dist/calcite/p-4ba0e355.entry.js +0 -5
  724. package/dist/calcite/p-50c3504a.system.entry.js +0 -5
  725. package/dist/calcite/p-5cab6853.js +0 -5
  726. package/dist/calcite/p-6235a763.system.entry.js +0 -5
  727. package/dist/calcite/p-649b9bf0.entry.js +0 -5
  728. package/dist/calcite/p-66845ec0.entry.js +0 -5
  729. package/dist/calcite/p-6805cf31.entry.js +0 -5
  730. package/dist/calcite/p-6bdedd7f.system.js +0 -5
  731. package/dist/calcite/p-6cff93c4.entry.js +0 -5
  732. package/dist/calcite/p-773b9826.system.entry.js +0 -5
  733. package/dist/calcite/p-7878aa7c.entry.js +0 -5
  734. package/dist/calcite/p-78820fed.system.entry.js +0 -5
  735. package/dist/calcite/p-86788d34.entry.js +0 -5
  736. package/dist/calcite/p-8a535973.entry.js +0 -5
  737. package/dist/calcite/p-9965ea81.system.js +0 -5
  738. package/dist/calcite/p-9cad254a.entry.js +0 -5
  739. package/dist/calcite/p-a923201d.system.entry.js +0 -5
  740. package/dist/calcite/p-adfa75fa.entry.js +0 -5
  741. package/dist/calcite/p-c026ce05.entry.js +0 -5
  742. package/dist/calcite/p-c198f23c.entry.js +0 -5
  743. package/dist/calcite/p-c728d861.entry.js +0 -5
  744. package/dist/calcite/p-c7b4e11f.entry.js +0 -5
  745. package/dist/calcite/p-cb44170e.system.js +0 -5
  746. package/dist/calcite/p-cb87824b.entry.js +0 -5
  747. package/dist/calcite/p-d35a300b.entry.js +0 -5
  748. package/dist/calcite/p-d7756753.entry.js +0 -5
  749. package/dist/calcite/p-e3ea64dc.entry.js +0 -5
  750. package/dist/calcite/p-e6cc7798.entry.js +0 -5
  751. package/dist/calcite/p-eb027f31.system.entry.js +0 -5
  752. package/dist/calcite/p-edc12d5c.entry.js +0 -5
  753. package/dist/calcite/p-f33a21cf.system.entry.js +0 -5
  754. package/dist/custom-elements/bundles/accordion.d.ts +0 -1
  755. package/dist/custom-elements/bundles/accordion.js +0 -5
  756. package/dist/custom-elements/bundles/action-bar.d.ts +0 -1
  757. package/dist/custom-elements/bundles/action-bar.js +0 -5
  758. package/dist/custom-elements/bundles/action-menu.d.ts +0 -1
  759. package/dist/custom-elements/bundles/action-menu.js +0 -5
  760. package/dist/custom-elements/bundles/action-pad.d.ts +0 -1
  761. package/dist/custom-elements/bundles/action-pad.js +0 -5
  762. package/dist/custom-elements/bundles/action.d.ts +0 -1
  763. package/dist/custom-elements/bundles/action.js +0 -5
  764. package/dist/custom-elements/bundles/alert.d.ts +0 -1
  765. package/dist/custom-elements/bundles/alert.js +0 -5
  766. package/dist/custom-elements/bundles/avatar.d.ts +0 -1
  767. package/dist/custom-elements/bundles/avatar.js +0 -5
  768. package/dist/custom-elements/bundles/block.d.ts +0 -1
  769. package/dist/custom-elements/bundles/block.js +0 -5
  770. package/dist/custom-elements/bundles/button.d.ts +0 -1
  771. package/dist/custom-elements/bundles/button.js +0 -5
  772. package/dist/custom-elements/bundles/card.d.ts +0 -1
  773. package/dist/custom-elements/bundles/card.js +0 -5
  774. package/dist/custom-elements/bundles/checkbox.d.ts +0 -1
  775. package/dist/custom-elements/bundles/checkbox.js +0 -5
  776. package/dist/custom-elements/bundles/chip.d.ts +0 -1
  777. package/dist/custom-elements/bundles/chip.js +0 -5
  778. package/dist/custom-elements/bundles/color-picker.d.ts +0 -1
  779. package/dist/custom-elements/bundles/color-picker.js +0 -5
  780. package/dist/custom-elements/bundles/combobox.d.ts +0 -1
  781. package/dist/custom-elements/bundles/combobox.js +0 -5
  782. package/dist/custom-elements/bundles/date-picker.d.ts +0 -1
  783. package/dist/custom-elements/bundles/date-picker.js +0 -5
  784. package/dist/custom-elements/bundles/dropdown.d.ts +0 -1
  785. package/dist/custom-elements/bundles/dropdown.js +0 -5
  786. package/dist/custom-elements/bundles/fab.d.ts +0 -1
  787. package/dist/custom-elements/bundles/fab.js +0 -5
  788. package/dist/custom-elements/bundles/flow.d.ts +0 -1
  789. package/dist/custom-elements/bundles/flow.js +0 -5
  790. package/dist/custom-elements/bundles/icon.d.ts +0 -1
  791. package/dist/custom-elements/bundles/icon.js +0 -5
  792. package/dist/custom-elements/bundles/inline-editable.d.ts +0 -1
  793. package/dist/custom-elements/bundles/inline-editable.js +0 -5
  794. package/dist/custom-elements/bundles/input-date-picker.d.ts +0 -1
  795. package/dist/custom-elements/bundles/input-date-picker.js +0 -5
  796. package/dist/custom-elements/bundles/input-message.d.ts +0 -1
  797. package/dist/custom-elements/bundles/input-message.js +0 -5
  798. package/dist/custom-elements/bundles/input-time-picker.d.ts +0 -1
  799. package/dist/custom-elements/bundles/input-time-picker.js +0 -5
  800. package/dist/custom-elements/bundles/input.d.ts +0 -1
  801. package/dist/custom-elements/bundles/input.js +0 -5
  802. package/dist/custom-elements/bundles/label.d.ts +0 -1
  803. package/dist/custom-elements/bundles/label.js +0 -5
  804. package/dist/custom-elements/bundles/link.d.ts +0 -1
  805. package/dist/custom-elements/bundles/link.js +0 -5
  806. package/dist/custom-elements/bundles/list.d.ts +0 -1
  807. package/dist/custom-elements/bundles/list.js +0 -5
  808. package/dist/custom-elements/bundles/loader.d.ts +0 -1
  809. package/dist/custom-elements/bundles/loader.js +0 -5
  810. package/dist/custom-elements/bundles/modal.d.ts +0 -1
  811. package/dist/custom-elements/bundles/modal.js +0 -5
  812. package/dist/custom-elements/bundles/notice.d.ts +0 -1
  813. package/dist/custom-elements/bundles/notice.js +0 -5
  814. package/dist/custom-elements/bundles/pagination.d.ts +0 -1
  815. package/dist/custom-elements/bundles/pagination.js +0 -5
  816. package/dist/custom-elements/bundles/panel.d.ts +0 -1
  817. package/dist/custom-elements/bundles/panel.js +0 -5
  818. package/dist/custom-elements/bundles/pick-list.d.ts +0 -1
  819. package/dist/custom-elements/bundles/pick-list.js +0 -5
  820. package/dist/custom-elements/bundles/popover.d.ts +0 -1
  821. package/dist/custom-elements/bundles/popover.js +0 -5
  822. package/dist/custom-elements/bundles/progress.d.ts +0 -1
  823. package/dist/custom-elements/bundles/progress.js +0 -5
  824. package/dist/custom-elements/bundles/radio-button-group.d.ts +0 -1
  825. package/dist/custom-elements/bundles/radio-button-group.js +0 -5
  826. package/dist/custom-elements/bundles/radio-button.d.ts +0 -1
  827. package/dist/custom-elements/bundles/radio-button.js +0 -5
  828. package/dist/custom-elements/bundles/radio-group.d.ts +0 -1
  829. package/dist/custom-elements/bundles/radio-group.js +0 -5
  830. package/dist/custom-elements/bundles/rating.d.ts +0 -1
  831. package/dist/custom-elements/bundles/rating.js +0 -5
  832. package/dist/custom-elements/bundles/scrim.d.ts +0 -1
  833. package/dist/custom-elements/bundles/scrim.js +0 -5
  834. package/dist/custom-elements/bundles/select.d.ts +0 -1
  835. package/dist/custom-elements/bundles/select.js +0 -5
  836. package/dist/custom-elements/bundles/shell.d.ts +0 -1
  837. package/dist/custom-elements/bundles/shell.js +0 -5
  838. package/dist/custom-elements/bundles/slider.d.ts +0 -1
  839. package/dist/custom-elements/bundles/slider.js +0 -5
  840. package/dist/custom-elements/bundles/sortable-list.d.ts +0 -1
  841. package/dist/custom-elements/bundles/sortable-list.js +0 -5
  842. package/dist/custom-elements/bundles/split-button.d.ts +0 -1
  843. package/dist/custom-elements/bundles/split-button.js +0 -5
  844. package/dist/custom-elements/bundles/stepper.d.ts +0 -1
  845. package/dist/custom-elements/bundles/stepper.js +0 -5
  846. package/dist/custom-elements/bundles/switch.d.ts +0 -1
  847. package/dist/custom-elements/bundles/switch.js +0 -5
  848. package/dist/custom-elements/bundles/tab.d.ts +0 -1
  849. package/dist/custom-elements/bundles/tab.js +0 -5
  850. package/dist/custom-elements/bundles/tile-select-group.d.ts +0 -1
  851. package/dist/custom-elements/bundles/tile-select-group.js +0 -5
  852. package/dist/custom-elements/bundles/tile.d.ts +0 -1
  853. package/dist/custom-elements/bundles/tile.js +0 -5
  854. package/dist/custom-elements/bundles/tip.d.ts +0 -1
  855. package/dist/custom-elements/bundles/tip.js +0 -5
  856. package/dist/custom-elements/bundles/tooltip.d.ts +0 -1
  857. package/dist/custom-elements/bundles/tooltip.js +0 -5
  858. package/dist/custom-elements/bundles/tree.d.ts +0 -1
  859. package/dist/custom-elements/bundles/tree.js +0 -5
  860. package/dist/custom-elements/bundles/value-list.d.ts +0 -1
  861. package/dist/custom-elements/bundles/value-list.js +0 -5
  862. package/dist/custom-elements/index.mjs +0 -24476
  863. package/dist/custom-elements/utils.d.ts +0 -2
  864. package/dist/custom-elements/utils.js +0 -11
  865. package/dist/esm-es5/label-426b4471.js +0 -5
  866. package/dist/esm-es5/popper-44055f06.js +0 -5
@@ -0,0 +1,507 @@
1
+ /*!
2
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
+ */
5
+ import { createEvent, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
6
+ import { T as TEXT, s as setRequestedIcon, d as closestElementCrossShadowBoundary, g as getElementProp, a as getElementDir, C as CSS_UTILITY } from './dom.js';
7
+ import { g as getKey, n as numberKeys } from './key.js';
8
+ import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label.js';
9
+ import { d as delocalizeNumberString, g as getDecimalSeparator, l as localizeNumberString } from './locale.js';
10
+ import { h as hiddenInputStyle } from './form.js';
11
+ import { i as isValidNumber, p as parseNumberString, s as sanitizeNumberString } from './number.js';
12
+ import { d as defineCustomElement$2 } from './calcite-icon2.js';
13
+ import { d as defineCustomElement$1 } from './calcite-progress2.js';
14
+
15
+ const CSS = {
16
+ loader: "calcite-input__loader",
17
+ clearButton: "calcite-input__clear-button",
18
+ inputIcon: "calcite-input__icon",
19
+ prefix: "calcite-input__prefix",
20
+ suffix: "calcite-input__suffix",
21
+ numberButtonWrapper: "calcite-input__number-button-wrapper",
22
+ buttonItemHorizontal: "calcite-input__number-button-item--horizontal",
23
+ wrapper: "calcite-input__element-wrapper",
24
+ inputWrapper: "calcite-input__wrapper",
25
+ actionWrapper: "calcite-input__action-wrapper",
26
+ resizeIconWrapper: "calcite-input__resize-icon-wrapper",
27
+ numberButtonItem: "calcite-input__number-button-item"
28
+ };
29
+ const INPUT_TYPE_ICONS = {
30
+ tel: "phone",
31
+ password: "lock",
32
+ email: "email-address",
33
+ date: "calendar",
34
+ time: "clock",
35
+ search: "search"
36
+ };
37
+ const SLOTS = {
38
+ action: "action"
39
+ };
40
+
41
+ const calciteInputCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}.sc-calcite-input:root{--calcite-animation-timing:300ms}.calcite-animate.sc-calcite-input{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in.sc-calcite-input{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down.sc-calcite-input{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up.sc-calcite-input{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale.sc-calcite-input{-webkit-animation-name:in-scale;animation-name:in-scale}.sc-calcite-input:root{--calcite-popper-transition:150ms ease-in-out}[hidden].sc-calcite-input-h{display:none}[scale=s].sc-calcite-input-h input.sc-calcite-input,[scale=s].sc-calcite-input-h .calcite-input__prefix.sc-calcite-input,[scale=s].sc-calcite-input-h .calcite-input__suffix.sc-calcite-input{font-size:var(--calcite-font-size--2);line-height:1rem;padding:0.5rem;height:1.5rem}[scale=s].sc-calcite-input-h textarea.sc-calcite-input{height:1.5rem;min-height:1.5rem}[scale=s].sc-calcite-input-h .calcite-input__number-button-wrapper.sc-calcite-input,[scale=s].sc-calcite-input-h .calcite-input__action-wrapper.sc-calcite-input calcite-button.sc-calcite-input,[scale=s].sc-calcite-input-h .calcite-input__action-wrapper.sc-calcite-input calcite-button.sc-calcite-input button.sc-calcite-input{height:1.5rem}[scale=s].sc-calcite-input-h input[type=file].sc-calcite-input{height:1.5rem}[scale=s].sc-calcite-input-h .calcite-input__clear-button.sc-calcite-input{min-height:1.5rem;min-width:1.5rem}[scale=s].sc-calcite-input-h textarea.sc-calcite-input{font-size:var(--calcite-font-size--2);line-height:1rem;padding-top:0.25rem;padding-bottom:0.25rem;padding-left:0.5rem;padding-right:0.5rem;height:auto}[scale=m].sc-calcite-input-h input.sc-calcite-input,[scale=m].sc-calcite-input-h .calcite-input__prefix.sc-calcite-input,[scale=m].sc-calcite-input-h .calcite-input__suffix.sc-calcite-input{font-size:var(--calcite-font-size--1);line-height:1rem;padding:0.75rem;height:2rem}[scale=m].sc-calcite-input-h textarea.sc-calcite-input{min-height:2rem}[scale=m].sc-calcite-input-h .calcite-input__number-button-wrapper.sc-calcite-input,[scale=m].sc-calcite-input-h .calcite-input__action-wrapper.sc-calcite-input calcite-button.sc-calcite-input,[scale=m].sc-calcite-input-h .calcite-input__action-wrapper.sc-calcite-input calcite-button.sc-calcite-input button.sc-calcite-input{height:2rem}[scale=m].sc-calcite-input-h input[type=file].sc-calcite-input{height:2rem}[scale=m].sc-calcite-input-h .calcite-input__clear-button.sc-calcite-input{min-height:2rem;min-width:2rem}[scale=m].sc-calcite-input-h textarea.sc-calcite-input{font-size:var(--calcite-font-size--1);line-height:1rem;padding-top:0.5rem;padding-bottom:0.5rem;padding-left:0.75rem;padding-right:0.75rem;height:auto}[scale=l].sc-calcite-input-h input.sc-calcite-input,[scale=l].sc-calcite-input-h .calcite-input__prefix.sc-calcite-input,[scale=l].sc-calcite-input-h .calcite-input__suffix.sc-calcite-input{font-size:var(--calcite-font-size-0);line-height:1.25rem;padding:1rem;height:2.75rem}[scale=l].sc-calcite-input-h textarea.sc-calcite-input{min-height:2.75rem}[scale=l].sc-calcite-input-h .calcite-input__number-button-wrapper.sc-calcite-input,[scale=l].sc-calcite-input-h .calcite-input__action-wrapper.sc-calcite-input calcite-button.sc-calcite-input,[scale=l].sc-calcite-input-h .calcite-input__action-wrapper.sc-calcite-input calcite-button.sc-calcite-input button.sc-calcite-input{height:2.75rem}[scale=l].sc-calcite-input-h input[type=file].sc-calcite-input{height:2.75rem}[scale=l].sc-calcite-input-h .calcite-input__clear-button.sc-calcite-input{min-height:2.75rem;min-width:2.75rem}[scale=l].sc-calcite-input-h textarea.sc-calcite-input{font-size:var(--calcite-font-size-0);line-height:1.25rem;padding-top:0.75rem;padding-bottom:0.75rem;padding-left:1rem;padding-right:1rem;height:auto}[disabled].sc-calcite-input-h{pointer-events:none}[disabled].sc-calcite-input-h .calcite-input__wrapper.sc-calcite-input{pointer-events:none;--text-opacity:var(--calcite-ui-opacity-disabled)}[disabled].sc-calcite-input-h button.sc-calcite-input,[disabled].sc-calcite-input-h textarea.sc-calcite-input,[disabled].sc-calcite-input-h input.sc-calcite-input{pointer-events:none}[disabled].sc-calcite-input-h textarea.sc-calcite-input{resize:none}.sc-calcite-input-h textarea.sc-calcite-input,.sc-calcite-input-h input.sc-calcite-input{-webkit-transition:150ms ease-in-out, height 0s;transition:150ms ease-in-out, height 0s;-webkit-appearance:none;width:100%;border-radius:0;position:relative;max-height:100%;max-width:100%;margin:0;font-weight:var(--calcite-font-weight-normal);font-family:inherit;-ms-flex:1 1 0%;flex:1 1 0%;display:-ms-flexbox;display:flex;color:var(--calcite-ui-text-1);-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1)}.sc-calcite-input-h input[type=search].sc-calcite-input::-webkit-search-decoration{-webkit-appearance:none}.sc-calcite-input-h input.sc-calcite-input,.sc-calcite-input-h textarea.sc-calcite-input{color:var(--calcite-ui-text-1);border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input)}.sc-calcite-input-h input.sc-calcite-input:-ms-input-placeholder,.sc-calcite-input-h textarea.sc-calcite-input:-ms-input-placeholder{color:var(--calcite-ui-text-3);font-weight:var(--calcite-font-weight-normal)}.sc-calcite-input-h input.sc-calcite-input::-ms-input-placeholder,.sc-calcite-input-h textarea.sc-calcite-input::-ms-input-placeholder{color:var(--calcite-ui-text-3);font-weight:var(--calcite-font-weight-normal)}.sc-calcite-input-h input.sc-calcite-input::placeholder,.sc-calcite-input-h input.sc-calcite-input:-ms-input-placeholder,.sc-calcite-input-h input.sc-calcite-input::-ms-input-placeholder,.sc-calcite-input-h textarea.sc-calcite-input::placeholder,.sc-calcite-input-h textarea.sc-calcite-input:-ms-input-placeholder,.sc-calcite-input-h textarea.sc-calcite-input::-ms-input-placeholder{color:var(--calcite-ui-text-3);font-weight:var(--calcite-font-weight-normal)}.sc-calcite-input-h input.sc-calcite-input:focus,.sc-calcite-input-h textarea.sc-calcite-input:focus{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-text-1)}.sc-calcite-input-h input[readonly].sc-calcite-input,.sc-calcite-input-h textarea[readonly].sc-calcite-input{background-color:var(--calcite-ui-background)}.sc-calcite-input-h input[readonly].sc-calcite-input:focus,.sc-calcite-input-h textarea[readonly].sc-calcite-input:focus{color:var(--calcite-ui-text-1)}.sc-calcite-input-h calcite-icon.sc-calcite-input{color:var(--calcite-ui-text-3)}.sc-calcite-input-h textarea.sc-calcite-input,.sc-calcite-input-h input.sc-calcite-input{outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}.sc-calcite-input-h textarea.sc-calcite-input:focus,.sc-calcite-input-h input.sc-calcite-input:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}[status=invalid].sc-calcite-input-h input.sc-calcite-input,[status=invalid].sc-calcite-input-h textarea.sc-calcite-input{border-color:var(--calcite-ui-danger)}[status=invalid].sc-calcite-input-h input.sc-calcite-input:focus,[status=invalid].sc-calcite-input-h textarea.sc-calcite-input:focus{outline:2px solid var(--calcite-ui-danger);outline-offset:-2px}[scale=s].sc-calcite-input-h .calcite-input__icon.sc-calcite-input{left:0.5rem}[scale=s].sc-calcite-input-h .calcite--rtl.sc-calcite-input .calcite-input__icon.sc-calcite-input{left:unset;right:0.5rem}[scale=m].sc-calcite-input-h .calcite-input__icon.sc-calcite-input{left:0.75rem}[scale=m].sc-calcite-input-h .calcite--rtl.sc-calcite-input .calcite-input__icon.sc-calcite-input{left:unset;right:0.75rem}[scale=l].sc-calcite-input-h .calcite-input__icon.sc-calcite-input{left:1rem}[scale=l].sc-calcite-input-h .calcite--rtl.sc-calcite-input .calcite-input__icon.sc-calcite-input{left:unset;right:1rem}[icon][scale=s].sc-calcite-input-h input.sc-calcite-input{padding-left:2rem}[icon][scale=s].sc-calcite-input-h .calcite--rtl.sc-calcite-input input.sc-calcite-input{padding-right:2rem;padding-left:0.5rem}[icon][scale=m].sc-calcite-input-h input.sc-calcite-input{padding-left:2.5rem}[icon][scale=m].sc-calcite-input-h .calcite--rtl.sc-calcite-input input.sc-calcite-input{padding-right:2.5rem;padding-left:0.5rem}[icon][scale=l].sc-calcite-input-h input.sc-calcite-input{padding-left:3rem}[icon][scale=l].sc-calcite-input-h .calcite--rtl.sc-calcite-input input.sc-calcite-input{padding-right:3rem;padding-left:0.5rem}.calcite-input__element-wrapper.sc-calcite-input{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-ms-flex:1 1 0%;flex:1 1 0%;position:relative;-ms-flex-order:3;order:3}.calcite-input__icon.sc-calcite-input{display:block;position:absolute;pointer-events:none;z-index:10;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}input[type=text].sc-calcite-input::-ms-clear,input[type=text].sc-calcite-input::-ms-reveal{display:none;width:0;height:0}input[type=search].sc-calcite-input::-webkit-search-decoration,input[type=search].sc-calcite-input::-webkit-search-cancel-button,input[type=search].sc-calcite-input::-webkit-search-results-button,input[type=search].sc-calcite-input::-webkit-search-results-decoration,input[type=date].sc-calcite-input::-webkit-clear-button,input[type=time].sc-calcite-input::-webkit-clear-button{display:none}.calcite-input__clear-button.sc-calcite-input{pointer-events:initial;outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;display:-ms-flexbox;display:flex;-ms-flex-item-align:stretch;align-self:stretch;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-webkit-box-sizing:border-box;box-sizing:border-box;cursor:pointer;min-height:100%;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);border-left-width:0;-ms-flex-order:4;order:4;margin:0}.calcite-input__clear-button.sc-calcite-input:hover{background-color:var(--calcite-ui-foreground-2);-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}.calcite-input__clear-button.sc-calcite-input:hover calcite-icon.sc-calcite-input{color:var(--calcite-ui-text-1);-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}.calcite-input__clear-button.sc-calcite-input:active{background-color:var(--calcite-ui-foreground-3)}.calcite-input__clear-button.sc-calcite-input:active calcite-icon.sc-calcite-input{color:var(--calcite-ui-text-1)}.calcite-input__clear-button.sc-calcite-input:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.calcite-input__clear-button.sc-calcite-input:disabled{opacity:var(--calcite-ui-opacity-disabled)}.calcite--rtl.sc-calcite-input .calcite-input__clear-button.sc-calcite-input{border-left-color:var(--calcite-ui-border-input);border-width:1px;border-right-width:0}.calcite-input__loader.sc-calcite-input{top:1px;left:1px;right:1px;display:block;pointer-events:none;position:absolute}.calcite-input__action-wrapper.sc-calcite-input{display:-ms-flexbox;display:flex;-ms-flex-order:7;order:7}.calcite-input__prefix.sc-calcite-input,.calcite-input__suffix.sc-calcite-input{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:center;align-content:center;height:auto;min-height:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-box-sizing:border-box;box-sizing:border-box;font-weight:var(--calcite-font-weight-medium);border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-background);color:var(--calcite-ui-text-2);line-height:1;word-wrap:break-word;overflow-wrap:break-word}.calcite-input__prefix.sc-calcite-input{-ms-flex-order:2;order:2;border-right-width:0}.calcite-input__suffix.sc-calcite-input{-ms-flex-order:5;order:5;border-left-width:0}.calcite--rtl.sc-calcite-input .calcite-input__prefix.sc-calcite-input{border-right-width:1px;border-left-width:0}.calcite--rtl.sc-calcite-input .calcite-input__suffix.sc-calcite-input{border-left-width:1px;border-right-width:0}[alignment=start].sc-calcite-input-h textarea.sc-calcite-input,[alignment=start].sc-calcite-input-h input.sc-calcite-input{text-align:left}[alignment=start].sc-calcite-input-h .calcite--rtl.sc-calcite-input textarea.sc-calcite-input,[alignment=start].sc-calcite-input-h .calcite--rtl.sc-calcite-input input.sc-calcite-input{text-align:right}[alignment=end].sc-calcite-input-h textarea.sc-calcite-input,[alignment=end].sc-calcite-input-h input.sc-calcite-input{text-align:right}[alignment=end].sc-calcite-input-h .calcite--rtl.sc-calcite-input textarea.sc-calcite-input,[alignment=end].sc-calcite-input-h .calcite--rtl.sc-calcite-input input.sc-calcite-input{text-align:left}.sc-calcite-input-h input[type=number].sc-calcite-input{-moz-appearance:textfield}.sc-calcite-input-h input[type=number].sc-calcite-input::-webkit-inner-spin-button,.sc-calcite-input-h input[type=number].sc-calcite-input::-webkit-outer-spin-button{-webkit-appearance:none;-moz-appearance:textfield;margin:0}.calcite-input__number-button-wrapper.sc-calcite-input{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;pointer-events:none;-ms-flex-order:6;order:6;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}[number-button-type=vertical].sc-calcite-input-h .calcite-input__wrapper.sc-calcite-input{-ms-flex-direction:row;flex-direction:row;display:-ms-flexbox;display:flex}[number-button-type=vertical].sc-calcite-input-h input.sc-calcite-input,[number-button-type=vertical].sc-calcite-input-h textarea.sc-calcite-input{-ms-flex-order:2;order:2}[number-button-type=horizontal].sc-calcite-input-h .calcite--rtl.sc-calcite-input .calcite-input__number-button-item[data-adjustment=down].sc-calcite-input calcite-icon.sc-calcite-input{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}[number-button-type=horizontal].sc-calcite-input-h .calcite--rtl.sc-calcite-input .calcite-input__number-button-item[data-adjustment=up].sc-calcite-input calcite-icon.sc-calcite-input{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.calcite-input__number-button-item.calcite-input__number-button-item--horizontal[data-adjustment=down].sc-calcite-input,.calcite-input__number-button-item.calcite-input__number-button-item--horizontal[data-adjustment=up].sc-calcite-input{min-height:100%;max-height:100%;-ms-flex-order:1;order:1;-ms-flex-item-align:stretch;align-self:stretch}.calcite-input__number-button-item.calcite-input__number-button-item--horizontal[data-adjustment=down].sc-calcite-input calcite-icon.sc-calcite-input,.calcite-input__number-button-item.calcite-input__number-button-item--horizontal[data-adjustment=up].sc-calcite-input calcite-icon.sc-calcite-input{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.calcite-input__number-button-item.calcite-input__number-button-item--horizontal[data-adjustment=down].sc-calcite-input{border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);border-right-width:0}.calcite-input__number-button-item.calcite-input__number-button-item--horizontal[data-adjustment=down].sc-calcite-input:hover{background-color:var(--calcite-ui-foreground-2)}.calcite-input__number-button-item.calcite-input__number-button-item--horizontal[data-adjustment=down].sc-calcite-input:hover calcite-icon.sc-calcite-input{color:var(--calcite-ui-text-1)}.calcite-input__number-button-item.calcite-input__number-button-item--horizontal[data-adjustment=up].sc-calcite-input{-ms-flex-order:5;order:5}.calcite-input__number-button-item.calcite-input__number-button-item--horizontal[data-adjustment=up].sc-calcite-input:hover{background-color:var(--calcite-ui-foreground-2)}.calcite-input__number-button-item.calcite-input__number-button-item--horizontal[data-adjustment=up].sc-calcite-input:hover calcite-icon.sc-calcite-input{color:var(--calcite-ui-text-1)}[number-button-type=vertical].sc-calcite-input-h .calcite-input__number-button-item[data-adjustment=down].sc-calcite-input:hover{background-color:var(--calcite-ui-foreground-2)}[number-button-type=vertical].sc-calcite-input-h .calcite-input__number-button-item[data-adjustment=down].sc-calcite-input:hover calcite-icon.sc-calcite-input{color:var(--calcite-ui-text-1)}[number-button-type=vertical].sc-calcite-input-h .calcite-input__number-button-item[data-adjustment=up].sc-calcite-input:hover{background-color:var(--calcite-ui-foreground-2)}[number-button-type=vertical].sc-calcite-input-h .calcite-input__number-button-item[data-adjustment=up].sc-calcite-input:hover calcite-icon.sc-calcite-input{color:var(--calcite-ui-text-1)}.calcite--rtl.sc-calcite-input .calcite-input__number-button-item.calcite-input__number-button-item--horizontal[data-adjustment=down].sc-calcite-input{border-width:1px;border-left-width:0;border-color:var(--calcite-ui-border-input)}.calcite--rtl.sc-calcite-input .calcite-input__number-button-item.calcite-input__number-button-item--horizontal[data-adjustment=up].sc-calcite-input{border-width:1px;border-right-width:0;border-color:var(--calcite-ui-border-input)}[number-button-type=vertical].sc-calcite-input-h .calcite-input__number-button-item[data-adjustment=down].sc-calcite-input,[number-button-type=vertical].sc-calcite-input-h .calcite--rtl.sc-calcite-input .calcite-input__number-button-item[data-adjustment=down].sc-calcite-input{border-top-width:0}.calcite-input__number-button-item.sc-calcite-input{max-height:50%;min-height:50%;pointer-events:initial;display:-ms-flexbox;display:flex;-ms-flex-item-align:center;align-self:center;-ms-flex-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box;cursor:pointer;padding-top:0;padding-bottom:0;padding-left:0.5rem;padding-right:0.5rem;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);border-left-width:0;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s;margin:0}.calcite-input__number-button-item.sc-calcite-input calcite-icon.sc-calcite-input{pointer-events:none;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}.calcite-input__number-button-item.sc-calcite-input:focus{background-color:var(--calcite-ui-foreground-2)}.calcite-input__number-button-item.sc-calcite-input:focus calcite-icon.sc-calcite-input{color:var(--calcite-ui-text-1)}.calcite-input__number-button-item.sc-calcite-input:active{background-color:var(--calcite-ui-foreground-3)}[number-button-type=vertical].sc-calcite-input-h .calcite--rtl.sc-calcite-input .calcite-input__number-button-item.sc-calcite-input{border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);border-right-width:0}.calcite-input__wrapper.sc-calcite-input{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;position:relative}.sc-calcite-input-h input.sc-calcite-input::-webkit-calendar-picker-indicator{display:none}.sc-calcite-input-h input[type=date].sc-calcite-input::-webkit-input-placeholder{visibility:hidden !important}.sc-calcite-input-h textarea.sc-calcite-input::-webkit-resizer{-webkit-box-sizing:border-box;box-sizing:border-box;position:absolute;bottom:0;right:0;padding-top:0;padding-bottom:0;padding-left:0.25rem;padding-right:0.25rem}@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none){.calcite-input__resize-icon-wrapper.sc-calcite-input{display:none}}.calcite-input__resize-icon-wrapper.sc-calcite-input{bottom:2px;right:2px;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3);position:absolute;z-index:10;pointer-events:none;width:0.75rem;height:0.75rem}.calcite-input__resize-icon-wrapper.sc-calcite-input calcite-icon.sc-calcite-input{bottom:0.25rem;right:0.25rem;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.calcite--rtl.sc-calcite-input textarea.sc-calcite-input::-webkit-resizer{right:unset;left:0}.calcite--rtl.sc-calcite-input .calcite-input__resize-icon-wrapper.sc-calcite-input{left:2px;right:unset}.calcite--rtl.sc-calcite-input .calcite-input__resize-icon-wrapper.sc-calcite-input calcite-icon.sc-calcite-input{bottom:0.25rem;right:0.25rem;-webkit-transform:rotate(45deg);transform:rotate(45deg)}[type=color].sc-calcite-input-h input.sc-calcite-input{padding:0.25rem}[type=file].sc-calcite-input-h input.sc-calcite-input{background-color:var(--calcite-ui-foreground-1);cursor:pointer;border-width:1px;border-style:dashed;border-color:var(--calcite-ui-border-input);text-align:center}[type=file][scale=s].sc-calcite-input-h input.sc-calcite-input{padding-top:1px;padding-bottom:1px;padding-left:0.5rem;padding-right:0.5rem}[type=file][scale=m].sc-calcite-input-h input.sc-calcite-input{padding-top:0.25rem;padding-bottom:0.25rem;padding-left:0.75rem;padding-right:0.75rem}[type=file][scale=l].sc-calcite-input-h input.sc-calcite-input{padding-top:0.5rem;padding-bottom:0.5rem;padding-left:1rem;padding-right:1rem}.no-bottom-border.sc-calcite-input-h input.sc-calcite-input.sc-calcite-input{border-bottom-width:0}.border-t-color-1.sc-calcite-input-h input.sc-calcite-input.sc-calcite-input{border-top-color:var(--calcite-ui-border-1)}";
42
+
43
+ let CalciteInput = class extends HTMLElement {
44
+ constructor() {
45
+ super();
46
+ this.__registerHost();
47
+ this.calciteInputFocus = createEvent(this, "calciteInputFocus", 7);
48
+ this.calciteInputBlur = createEvent(this, "calciteInputBlur", 7);
49
+ this.calciteInputInput = createEvent(this, "calciteInputInput", 7);
50
+ this.calciteInputChange = createEvent(this, "calciteInputChange", 7);
51
+ //--------------------------------------------------------------------------
52
+ //
53
+ // Properties
54
+ //
55
+ //--------------------------------------------------------------------------
56
+ /** specify the alignment of the value of the input */
57
+ this.alignment = "start";
58
+ /** should the input autofocus */
59
+ this.autofocus = false;
60
+ /** optionally display a clear button that displays when field has a value
61
+ * shows by default for search, time, date
62
+ * will not display for type="textarea" */
63
+ this.clearable = false;
64
+ /** is the input disabled */
65
+ this.disabled = false;
66
+ /** for number values, displays the locale's group separator */
67
+ this.groupSeparator = false;
68
+ /**
69
+ * string to override English loading text
70
+ * @default "Loading"
71
+ */
72
+ this.intlLoading = TEXT.loading;
73
+ /** flip the icon in rtl */
74
+ this.iconFlipRtl = false;
75
+ /** specify if the input is in loading state */
76
+ this.loading = false;
77
+ /** BCP 47 language tag for desired language and country format */
78
+ this.locale = document.documentElement.lang || "en";
79
+ /**
80
+ * Toggles locale formatting for numbers.
81
+ * @internal
82
+ */
83
+ this.localeFormat = false;
84
+ /** specify the placement of the number buttons */
85
+ this.numberButtonType = "vertical";
86
+ /** When true, a field cannot be modified. */
87
+ this.readOnly = false;
88
+ /** is the input required */
89
+ this.required = false;
90
+ /** specify the scale of the input, defaults to m */
91
+ this.scale = "m";
92
+ /** specify the status of the input field, determines message and icons */
93
+ this.status = "idle";
94
+ /**
95
+ * specify the input type
96
+ *
97
+ * Note that the following types add type-specific icons by default: `date`, `email`, `password`, `search`, `tel`, `time`
98
+ */
99
+ this.type = "text";
100
+ /** keep track of the rendered child type */
101
+ this.childElType = "input";
102
+ this.clearInputValue = (nativeEvent) => {
103
+ this.setValue(null, nativeEvent, true);
104
+ };
105
+ this.inputBlurHandler = () => {
106
+ if (this.type === "number") {
107
+ this.setLocalizedValue(this.value);
108
+ }
109
+ this.calciteInputBlur.emit({
110
+ element: this.childEl,
111
+ value: this.value
112
+ });
113
+ if (this.preFocusValue !== this.value) {
114
+ this.calciteInputChange.emit();
115
+ }
116
+ };
117
+ this.inputFocusHandler = (event) => {
118
+ if (event.target !== this.slottedActionEl) {
119
+ this.setFocus();
120
+ }
121
+ this.calciteInputFocus.emit({
122
+ element: this.childEl,
123
+ value: this.value
124
+ });
125
+ this.preFocusValue = this.value;
126
+ };
127
+ this.inputInputHandler = (nativeEvent) => {
128
+ if (this.disabled || this.readOnly) {
129
+ return;
130
+ }
131
+ this.setValue(nativeEvent.target.value, nativeEvent);
132
+ };
133
+ this.inputKeyDownHandler = (event) => {
134
+ if (this.disabled || this.readOnly) {
135
+ return;
136
+ }
137
+ if (event.key === "Enter") {
138
+ this.calciteInputChange.emit();
139
+ }
140
+ };
141
+ this.inputNumberInputHandler = (nativeEvent) => {
142
+ if (this.disabled || this.readOnly) {
143
+ return;
144
+ }
145
+ const value = nativeEvent.target.value;
146
+ const delocalizedValue = delocalizeNumberString(value, this.locale);
147
+ if (nativeEvent.inputType === "insertFromPaste") {
148
+ if (!isValidNumber(delocalizedValue)) {
149
+ nativeEvent.preventDefault();
150
+ }
151
+ this.setValue(parseNumberString(delocalizedValue), nativeEvent);
152
+ this.childNumberEl.value = this.localizedValue;
153
+ }
154
+ else {
155
+ this.setValue(delocalizeNumberString(value, this.locale), nativeEvent);
156
+ }
157
+ };
158
+ this.inputNumberKeyDownHandler = (event) => {
159
+ if (this.type !== "number" || this.disabled || this.readOnly) {
160
+ return;
161
+ }
162
+ if (event.key === "ArrowUp") {
163
+ this.nudgeNumberValue("up", event);
164
+ return;
165
+ }
166
+ if (event.key === "ArrowDown") {
167
+ this.nudgeNumberValue("down", event);
168
+ return;
169
+ }
170
+ const supportedKeys = [
171
+ ...numberKeys,
172
+ "ArrowLeft",
173
+ "ArrowRight",
174
+ "Backspace",
175
+ "Delete",
176
+ "Enter",
177
+ "Escape",
178
+ "Tab",
179
+ "-"
180
+ ];
181
+ if (event.altKey || event.ctrlKey || event.metaKey) {
182
+ return;
183
+ }
184
+ const isShiftTabEvent = event.shiftKey && event.key === "Tab";
185
+ if (supportedKeys.includes(event.key) && (!event.shiftKey || isShiftTabEvent)) {
186
+ if (event.key === "Enter") {
187
+ this.calciteInputChange.emit();
188
+ }
189
+ return;
190
+ }
191
+ const decimalSeparator = getDecimalSeparator(this.locale);
192
+ if (event.key === decimalSeparator) {
193
+ if (!this.value && !this.childNumberEl.value) {
194
+ return;
195
+ }
196
+ if (this.value && this.childNumberEl.value.indexOf(decimalSeparator) === -1) {
197
+ return;
198
+ }
199
+ }
200
+ event.preventDefault();
201
+ };
202
+ this.nudgeNumberValue = (direction, nativeEvent) => {
203
+ if ((nativeEvent instanceof KeyboardEvent && nativeEvent.repeat) || this.type !== "number") {
204
+ return;
205
+ }
206
+ const inputMax = this.maxString ? parseFloat(this.maxString) : null;
207
+ const inputMin = this.minString ? parseFloat(this.minString) : null;
208
+ const valueNudgeDelayInMs = 500;
209
+ this.incrementOrDecrementNumberValue(direction, inputMax, inputMin, nativeEvent);
210
+ this.nudgeNumberValueIntervalId = setInterval(() => {
211
+ this.incrementOrDecrementNumberValue(direction, inputMax, inputMin, nativeEvent);
212
+ }, valueNudgeDelayInMs);
213
+ };
214
+ this.numberButtonMouseUpAndMouseOutHandler = () => {
215
+ clearInterval(this.nudgeNumberValueIntervalId);
216
+ };
217
+ this.numberButtonMouseDownHandler = (event) => {
218
+ // todo, when dropping ie11 support, refactor to use stepup/stepdown
219
+ // prevent blur and re-focus of input on mousedown
220
+ event.preventDefault();
221
+ const direction = event.target.dataset.adjustment;
222
+ this.nudgeNumberValue(direction, event);
223
+ };
224
+ this.reset = (nativeEvent) => {
225
+ if (this.type === "number") {
226
+ nativeEvent.preventDefault();
227
+ }
228
+ this.setValue(this.defaultValue, nativeEvent);
229
+ };
230
+ this.setChildElRef = (el) => {
231
+ this.childEl = el;
232
+ };
233
+ this.setChildNumberElRef = (el) => {
234
+ this.childNumberEl = el;
235
+ };
236
+ this.setLocalizedValue = (value) => {
237
+ this.localizedValue = localizeNumberString(value, this.locale, this.groupSeparator);
238
+ };
239
+ this.setValue = (value, nativeEvent, committing = false) => {
240
+ const previousValue = this.value;
241
+ this.value = this.type === "number" ? sanitizeNumberString(value) : value;
242
+ if (this.type === "number") {
243
+ this.setLocalizedValue(this.value);
244
+ }
245
+ if (nativeEvent) {
246
+ if (this.type === "number" && (value === null || value === void 0 ? void 0 : value.endsWith("."))) {
247
+ return;
248
+ }
249
+ const calciteInputInputEvent = this.calciteInputInput.emit({
250
+ element: this.childEl,
251
+ nativeEvent,
252
+ value
253
+ });
254
+ if (calciteInputInputEvent.defaultPrevented) {
255
+ this.value = previousValue;
256
+ this.setLocalizedValue(previousValue);
257
+ }
258
+ else if (committing) {
259
+ this.calciteInputChange.emit();
260
+ }
261
+ }
262
+ };
263
+ this.inputKeyUpHandler = () => {
264
+ clearInterval(this.nudgeNumberValueIntervalId);
265
+ };
266
+ }
267
+ disabledWatcher() {
268
+ this.setDisabledAction();
269
+ }
270
+ /** watcher to update number-to-string for max */
271
+ maxWatcher() {
272
+ var _a;
273
+ this.maxString = ((_a = this.max) === null || _a === void 0 ? void 0 : _a.toString()) || null;
274
+ }
275
+ /** watcher to update number-to-string for min */
276
+ minWatcher() {
277
+ var _a;
278
+ this.minString = ((_a = this.min) === null || _a === void 0 ? void 0 : _a.toString()) || null;
279
+ }
280
+ valueWatcher(newValue) {
281
+ if (this.type === "number" &&
282
+ this.localizedValue !== localizeNumberString(newValue, this.locale)) {
283
+ this.setLocalizedValue(newValue);
284
+ }
285
+ else if (this.childEl && this.childEl.value !== newValue) {
286
+ this.childEl.value = newValue;
287
+ }
288
+ }
289
+ updateRequestedIcon() {
290
+ this.requestedIcon = setRequestedIcon(INPUT_TYPE_ICONS, this.icon, this.type);
291
+ }
292
+ get isClearable() {
293
+ var _a;
294
+ return !this.isTextarea && (this.clearable || this.type === "search") && ((_a = this.value) === null || _a === void 0 ? void 0 : _a.length) > 0;
295
+ }
296
+ get isTextarea() {
297
+ return this.childElType === "textarea";
298
+ }
299
+ //--------------------------------------------------------------------------
300
+ //
301
+ // Lifecycle
302
+ //
303
+ //--------------------------------------------------------------------------
304
+ connectedCallback() {
305
+ var _a;
306
+ this.form = closestElementCrossShadowBoundary(this.el, "form");
307
+ (_a = this.form) === null || _a === void 0 ? void 0 : _a.addEventListener("reset", this.reset);
308
+ this.scale = getElementProp(this.el, "scale", this.scale);
309
+ this.status = getElementProp(this.el, "status", this.status);
310
+ if (this.type === "number" && this.value) {
311
+ if (isValidNumber(this.value)) {
312
+ this.localizedValue = localizeNumberString(this.value, this.locale, this.groupSeparator);
313
+ }
314
+ else {
315
+ this.value = undefined;
316
+ }
317
+ }
318
+ connectLabel(this);
319
+ }
320
+ disconnectedCallback() {
321
+ var _a;
322
+ (_a = this.form) === null || _a === void 0 ? void 0 : _a.removeEventListener("reset", this.reset);
323
+ disconnectLabel(this);
324
+ }
325
+ componentWillLoad() {
326
+ var _a, _b;
327
+ this.childElType = this.type === "textarea" ? "textarea" : "input";
328
+ this.defaultValue = this.value;
329
+ this.maxString = (_a = this.max) === null || _a === void 0 ? void 0 : _a.toString();
330
+ this.minString = (_b = this.min) === null || _b === void 0 ? void 0 : _b.toString();
331
+ this.requestedIcon = setRequestedIcon(INPUT_TYPE_ICONS, this.icon, this.type);
332
+ }
333
+ componentDidLoad() {
334
+ this.slottedActionEl = this.el.querySelector("[slot=action]");
335
+ this.setDisabledAction();
336
+ if (this.type === "number" && this.childEl) {
337
+ this.childEl.style.cssText = hiddenInputStyle;
338
+ }
339
+ }
340
+ componentShouldUpdate(newValue, oldValue, property) {
341
+ if (this.type === "number" && property === "value" && newValue && !isValidNumber(newValue)) {
342
+ this.value = oldValue;
343
+ return false;
344
+ }
345
+ return true;
346
+ }
347
+ //--------------------------------------------------------------------------
348
+ //
349
+ // Event Listeners
350
+ //
351
+ //--------------------------------------------------------------------------
352
+ keyDownHandler(event) {
353
+ if (this.readOnly || this.disabled) {
354
+ return;
355
+ }
356
+ if (this.isClearable && getKey(event.key) === "Escape") {
357
+ this.clearInputValue(event);
358
+ event.preventDefault();
359
+ }
360
+ }
361
+ //--------------------------------------------------------------------------
362
+ //
363
+ // Public Methods
364
+ //
365
+ //--------------------------------------------------------------------------
366
+ /** Sets focus on the component. */
367
+ async setFocus() {
368
+ var _a, _b;
369
+ if (this.type === "number") {
370
+ (_a = this.childNumberEl) === null || _a === void 0 ? void 0 : _a.focus();
371
+ }
372
+ else {
373
+ (_b = this.childEl) === null || _b === void 0 ? void 0 : _b.focus();
374
+ }
375
+ }
376
+ //--------------------------------------------------------------------------
377
+ //
378
+ // Private Methods
379
+ //
380
+ //--------------------------------------------------------------------------
381
+ onLabelClick() {
382
+ this.setFocus();
383
+ }
384
+ incrementOrDecrementNumberValue(direction, inputMax, inputMin, nativeEvent) {
385
+ const value = this.value;
386
+ const inputStep = this.step === "any" ? 1 : Math.abs(this.step || 1);
387
+ const inputVal = value && value !== "" ? parseFloat(value) : 0;
388
+ let newValue = value;
389
+ if (direction === "up" && ((!inputMax && inputMax !== 0) || inputVal < inputMax)) {
390
+ newValue = (inputVal + inputStep).toString();
391
+ }
392
+ if (direction === "down" && ((!inputMin && inputMin !== 0) || inputVal > inputMin)) {
393
+ newValue = (inputVal - inputStep).toString();
394
+ }
395
+ this.setValue(newValue, nativeEvent, true);
396
+ }
397
+ setDisabledAction() {
398
+ if (!this.slottedActionEl) {
399
+ return;
400
+ }
401
+ const slottedActionEl = this.slottedActionEl;
402
+ this.disabled
403
+ ? slottedActionEl.setAttribute("disabled", "")
404
+ : slottedActionEl.removeAttribute("disabled");
405
+ }
406
+ // --------------------------------------------------------------------------
407
+ //
408
+ // Render Methods
409
+ //
410
+ // --------------------------------------------------------------------------
411
+ render() {
412
+ const dir = getElementDir(this.el);
413
+ const loader = (h("div", { class: CSS.loader }, h("calcite-progress", { label: this.intlLoading, type: "indeterminate" })));
414
+ const inputClearButton = (h("button", { class: CSS.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputValue, tabIndex: this.disabled ? -1 : 0, type: "button" }, h("calcite-icon", { icon: "x", scale: "s" })));
415
+ const iconEl = (h("calcite-icon", { class: CSS.inputIcon, dir: dir, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: "s" }));
416
+ const isHorizontalNumberButton = this.numberButtonType === "horizontal";
417
+ const numberButtonsHorizontalUp = (h("button", { class: {
418
+ [CSS.numberButtonItem]: true,
419
+ [CSS.buttonItemHorizontal]: isHorizontalNumberButton
420
+ }, "data-adjustment": "up", disabled: this.disabled || this.readOnly, onMouseDown: this.numberButtonMouseDownHandler, onMouseOut: this.numberButtonMouseUpAndMouseOutHandler, onMouseUp: this.numberButtonMouseUpAndMouseOutHandler, tabIndex: -1, type: "button" }, h("calcite-icon", { icon: "chevron-up", scale: "s" })));
421
+ const numberButtonsHorizontalDown = (h("button", { class: {
422
+ [CSS.numberButtonItem]: true,
423
+ [CSS.buttonItemHorizontal]: isHorizontalNumberButton
424
+ }, "data-adjustment": "down", disabled: this.disabled || this.readOnly, onMouseDown: this.numberButtonMouseDownHandler, onMouseOut: this.numberButtonMouseUpAndMouseOutHandler, onMouseUp: this.numberButtonMouseUpAndMouseOutHandler, tabIndex: -1, type: "button" }, h("calcite-icon", { icon: "chevron-down", scale: "s" })));
425
+ const numberButtonsVertical = (h("div", { class: CSS.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
426
+ const prefixText = h("div", { class: CSS.prefix }, this.prefixText);
427
+ const suffixText = h("div", { class: CSS.suffix }, this.suffixText);
428
+ const localeNumberInput = this.type === "number" ? (h("input", { "aria-label": getLabelText(this), autofocus: this.autofocus ? true : null, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.el.enterKeyHint, key: "localized-input", maxLength: this.maxLength, minLength: this.minLength, name: undefined, onBlur: this.inputBlurHandler, onFocus: this.inputFocusHandler, onInput: this.inputNumberInputHandler, onKeyDown: this.inputNumberKeyDownHandler, onKeyUp: this.inputKeyUpHandler, placeholder: this.placeholder || "", readOnly: this.readOnly, ref: this.setChildNumberElRef, tabIndex: this.disabled ? -1 : 0, type: "text", value: this.localizedValue })) : null;
429
+ const childEl = [
430
+ h(this.childElType, { "aria-label": getLabelText(this), autofocus: this.autofocus ? true : null, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.el.enterKeyHint, max: this.maxString, maxLength: this.maxLength, min: this.minString, minLength: this.minLength, name: this.name, onBlur: this.inputBlurHandler, onFocus: this.inputFocusHandler, onInput: this.inputInputHandler, onKeyDown: this.inputKeyDownHandler, onKeyUp: this.inputKeyUpHandler, placeholder: this.placeholder || "", readOnly: this.readOnly, ref: this.setChildElRef, required: this.required ? true : null, step: this.step, tabIndex: this.disabled || this.type === "number" ? -1 : null, type: this.type, value: this.value }),
431
+ this.isTextarea ? (h("div", { class: CSS.resizeIconWrapper }, h("calcite-icon", { icon: "chevron-down", scale: "s" }))) : null
432
+ ];
433
+ return (h(Host, { onClick: this.inputFocusHandler }, h("div", { class: { [CSS.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" }, dir: dir }, this.type === "number" && this.numberButtonType === "horizontal"
434
+ ? numberButtonsHorizontalDown
435
+ : null, this.prefixText ? prefixText : null, h("div", { class: CSS.wrapper }, localeNumberInput, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), h("div", { class: CSS.actionWrapper }, h("slot", { name: SLOTS.action })), this.type === "number" && this.numberButtonType === "vertical"
436
+ ? numberButtonsVertical
437
+ : null, this.suffixText ? suffixText : null, this.type === "number" && this.numberButtonType === "horizontal"
438
+ ? numberButtonsHorizontalUp
439
+ : null)));
440
+ }
441
+ get el() { return this; }
442
+ static get watchers() { return {
443
+ "disabled": ["disabledWatcher"],
444
+ "max": ["maxWatcher"],
445
+ "min": ["minWatcher"],
446
+ "value": ["valueWatcher"],
447
+ "icon": ["updateRequestedIcon"],
448
+ "type": ["updateRequestedIcon"]
449
+ }; }
450
+ static get style() { return calciteInputCss; }
451
+ };
452
+ CalciteInput = /*@__PURE__*/ proxyCustomElement(CalciteInput, [6, "calcite-input", {
453
+ "alignment": [513],
454
+ "autofocus": [4],
455
+ "clearable": [516],
456
+ "disabled": [516],
457
+ "groupSeparator": [4, "group-separator"],
458
+ "icon": [520],
459
+ "intlLoading": [1, "intl-loading"],
460
+ "iconFlipRtl": [516, "icon-flip-rtl"],
461
+ "label": [1],
462
+ "loading": [516],
463
+ "locale": [1],
464
+ "localeFormat": [4, "locale-format"],
465
+ "max": [514],
466
+ "min": [514],
467
+ "maxlength": [514],
468
+ "maxLength": [514, "max-length"],
469
+ "minLength": [514, "min-length"],
470
+ "name": [513],
471
+ "numberButtonType": [513, "number-button-type"],
472
+ "placeholder": [1],
473
+ "prefixText": [1, "prefix-text"],
474
+ "readOnly": [4, "read-only"],
475
+ "required": [4],
476
+ "scale": [1537],
477
+ "status": [1537],
478
+ "step": [520],
479
+ "suffixText": [1, "suffix-text"],
480
+ "type": [513],
481
+ "value": [1025],
482
+ "localizedValue": [32],
483
+ "setFocus": [64]
484
+ }, [[0, "keydown", "keyDownHandler"]]]);
485
+ function defineCustomElement() {
486
+ const components = ["calcite-input", "calcite-icon", "calcite-progress"];
487
+ components.forEach(tagName => { switch (tagName) {
488
+ case "calcite-input":
489
+ if (!customElements.get(tagName)) {
490
+ customElements.define(tagName, CalciteInput);
491
+ }
492
+ break;
493
+ case "calcite-icon":
494
+ if (!customElements.get(tagName)) {
495
+ defineCustomElement$2();
496
+ }
497
+ break;
498
+ case "calcite-progress":
499
+ if (!customElements.get(tagName)) {
500
+ defineCustomElement$1();
501
+ }
502
+ break;
503
+ } });
504
+ }
505
+ defineCustomElement();
506
+
507
+ export { CalciteInput as C, defineCustomElement as d };
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface CalciteLabel extends Components.CalciteLabel, HTMLElement {}
4
+ export const CalciteLabel: {
5
+ prototype: CalciteLabel;
6
+ new (): CalciteLabel;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,10 @@
1
+ /*!
2
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
+ */
5
+ import { C as CalciteLabel$1, d as defineCustomElement$1 } from './calcite-label2.js';
6
+
7
+ const CalciteLabel = CalciteLabel$1;
8
+ const defineCustomElement = defineCustomElement$1;
9
+
10
+ export { CalciteLabel, defineCustomElement };
@@ -0,0 +1,81 @@
1
+ /*!
2
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
+ */
5
+ import { createEvent, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
6
+ import { a as getElementDir, C as CSS_UTILITY } from './dom.js';
7
+
8
+ const CSS = {
9
+ container: "container"
10
+ };
11
+
12
+ const calciteLabelCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host([alignment=start]),:host([alignment=end]) .calcite--rtl{text-align:left}:host([alignment=end]),:host([alignment=start]) .calcite--rtl{text-align:right}:host([alignment=center]){text-align:center}:host([scale=s]) .container{font-size:var(--calcite-font-size--2);line-height:1rem;margin-bottom:0.5rem}:host([scale=m]) .container{font-size:var(--calcite-font-size--1);line-height:1rem;margin-bottom:0.75rem}:host([scale=l]) .container{font-size:var(--calcite-font-size-0);line-height:1.25rem;margin-bottom:1rem}:host .container{color:var(--calcite-ui-text-1);cursor:pointer;width:100%;margin-top:0;margin-right:0;margin-left:0;line-height:1.375}:host([layout=default]) .container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;grid-gap:0.25rem;gap:0.25rem}:host([layout=inline]) .container,:host([layout=inline-space-between]) .container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row;grid-gap:0.5rem;gap:0.5rem}:host([layout=inline][scale=l]) .container{grid-gap:0.75rem;gap:0.75rem}:host([layout=inline-space-between]) .container{-ms-flex-pack:justify;justify-content:space-between}:host([disabled])>.container{pointer-events:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted(*){pointer-events:none}:host([disabled]) ::slotted(*[disabled]),:host([disabled]) ::slotted(*[disabled] *){--bg-opacity:1}:host([disabled]) ::slotted(calcite-input-message:not([active])){--bg-opacity:0}:host([disable-spacing]) .container{grid-gap:0;gap:0;margin:0}";
13
+
14
+ let CalciteLabel = class extends HTMLElement {
15
+ constructor() {
16
+ super();
17
+ this.__registerHost();
18
+ this.__attachShadow();
19
+ this.calciteInternalLabelClick = createEvent(this, "calciteInternalLabelClick", 3);
20
+ //--------------------------------------------------------------------------
21
+ //
22
+ // Properties
23
+ //
24
+ //--------------------------------------------------------------------------
25
+ /** specify the text alignment of the label */
26
+ this.alignment = "start";
27
+ /** specify the status of the label and any child input / input messages */
28
+ this.status = "idle";
29
+ /** specify the scale of the label, defaults to m */
30
+ this.scale = "m";
31
+ /** is the wrapped element positioned inline with the label slotted text */
32
+ this.layout = "default";
33
+ /** eliminates any space around the label */
34
+ this.disableSpacing = false;
35
+ /** is the label disabled */
36
+ this.disabled = false;
37
+ //--------------------------------------------------------------------------
38
+ //
39
+ // Private Methods
40
+ //
41
+ //--------------------------------------------------------------------------
42
+ this.labelClickHandler = (event) => {
43
+ this.calciteInternalLabelClick.emit({
44
+ sourceEvent: event
45
+ });
46
+ };
47
+ }
48
+ //--------------------------------------------------------------------------
49
+ //
50
+ // Lifecycle
51
+ //
52
+ //--------------------------------------------------------------------------
53
+ render() {
54
+ const dir = getElementDir(this.el);
55
+ return (h(Host, { onClick: this.labelClickHandler }, h("div", { class: { [CSS.container]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, h("slot", null))));
56
+ }
57
+ get el() { return this; }
58
+ static get style() { return calciteLabelCss; }
59
+ };
60
+ CalciteLabel = /*@__PURE__*/ proxyCustomElement(CalciteLabel, [1, "calcite-label", {
61
+ "alignment": [513],
62
+ "status": [513],
63
+ "for": [513],
64
+ "scale": [513],
65
+ "layout": [513],
66
+ "disableSpacing": [4, "disable-spacing"],
67
+ "disabled": [516]
68
+ }]);
69
+ function defineCustomElement() {
70
+ const components = ["calcite-label"];
71
+ components.forEach(tagName => { switch (tagName) {
72
+ case "calcite-label":
73
+ if (!customElements.get(tagName)) {
74
+ customElements.define(tagName, CalciteLabel);
75
+ }
76
+ break;
77
+ } });
78
+ }
79
+ defineCustomElement();
80
+
81
+ export { CalciteLabel as C, defineCustomElement as d };