@esri/calcite-components 1.0.0-next.293 → 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 (516) hide show
  1. package/CHANGELOG.md +18 -5
  2. package/dist/calcite/calcite.esm.js +1 -1
  3. package/dist/calcite/calcite.js +1 -1
  4. package/dist/calcite/{p-75793454.entry.js → p-0100aeb0.entry.js} +1 -1
  5. package/dist/calcite/p-05107123.entry.js +5 -0
  6. package/dist/calcite/{p-cbdf0e6c.js → p-05d1dfc6.js} +1 -1
  7. package/dist/calcite/{p-a8cd5cde.system.entry.js → p-06646eed.system.entry.js} +1 -1
  8. package/dist/calcite/{p-318e95d7.system.entry.js → p-09da1c54.system.entry.js} +1 -1
  9. package/dist/calcite/{p-727c8f36.system.entry.js → p-0d4e82ab.system.entry.js} +1 -1
  10. package/dist/calcite/{p-349333f8.system.entry.js → p-10759c71.system.entry.js} +2 -2
  11. package/dist/calcite/{p-32faf98b.system.entry.js → p-10de63d7.system.entry.js} +1 -1
  12. package/dist/calcite/p-11113310.entry.js +5 -0
  13. package/dist/calcite/{p-81a82d01.system.entry.js → p-12e1c83f.system.entry.js} +1 -1
  14. package/dist/calcite/p-1421e818.entry.js +5 -0
  15. package/dist/calcite/p-17e666d6.system.entry.js +5 -0
  16. package/dist/calcite/p-1e875199.entry.js +5 -0
  17. package/dist/calcite/{p-693a4d5f.entry.js → p-22ecf6df.entry.js} +1 -1
  18. package/dist/calcite/{p-72ffc6d7.entry.js → p-2418cceb.entry.js} +1 -1
  19. package/dist/calcite/{p-32fbf8cd.system.js → p-25a31861.system.js} +1 -1
  20. package/dist/calcite/{p-8655c0a1.entry.js → p-28261aae.entry.js} +1 -1
  21. package/dist/calcite/{p-9d3ee5cf.system.entry.js → p-2ecafa35.system.entry.js} +1 -1
  22. package/dist/calcite/{p-7f4a5f8e.system.entry.js → p-329e1831.system.entry.js} +2 -2
  23. package/dist/calcite/{p-95a3a0ce.entry.js → p-3383d9b4.entry.js} +1 -1
  24. package/dist/calcite/{p-87b93729.entry.js → p-36e5db45.entry.js} +1 -1
  25. package/dist/calcite/{p-bd555b2e.system.entry.js → p-38ee7306.system.entry.js} +1 -1
  26. package/dist/calcite/{p-8efb43fc.entry.js → p-3962cd38.entry.js} +1 -1
  27. package/dist/calcite/p-3994ac99.system.entry.js +5 -0
  28. package/dist/calcite/{p-9d83f268.system.entry.js → p-3bb30b44.system.entry.js} +1 -1
  29. package/dist/calcite/{p-bb916828.system.entry.js → p-3cf93a58.system.entry.js} +1 -1
  30. package/dist/calcite/{p-ff04f827.system.entry.js → p-3e438b5b.system.entry.js} +1 -1
  31. package/dist/calcite/{p-2920aa02.entry.js → p-3f1d1bad.entry.js} +1 -1
  32. package/dist/calcite/{p-69548a7d.system.entry.js → p-413b4857.system.entry.js} +1 -1
  33. package/dist/calcite/{p-da9603a3.entry.js → p-4185db77.entry.js} +1 -1
  34. package/dist/calcite/{p-4e06a168.entry.js → p-42128a12.entry.js} +1 -1
  35. package/dist/calcite/p-45257edb.js +5 -0
  36. package/dist/calcite/{p-5cb26137.system.entry.js → p-49d5ee42.system.entry.js} +1 -1
  37. package/dist/calcite/{p-5c221c33.system.entry.js → p-4c7e3915.system.entry.js} +1 -1
  38. package/dist/calcite/{p-26045881.entry.js → p-4ecd0331.entry.js} +1 -1
  39. package/dist/calcite/p-502736d8.system.entry.js +5 -0
  40. package/dist/calcite/{p-ac3d8784.entry.js → p-507b2cc4.entry.js} +1 -1
  41. package/dist/calcite/{p-34a6550f.system.entry.js → p-527146c8.system.entry.js} +1 -1
  42. package/dist/calcite/{p-f37563ac.system.entry.js → p-5322b333.system.entry.js} +1 -1
  43. package/dist/calcite/{p-a93678c6.system.entry.js → p-58716826.system.entry.js} +1 -1
  44. package/dist/calcite/{p-d7e5b807.system.entry.js → p-58e98b2d.system.entry.js} +1 -1
  45. package/dist/calcite/{p-1f99b038.entry.js → p-58eca102.entry.js} +1 -1
  46. package/dist/calcite/p-5e6d76dc.entry.js +5 -0
  47. package/dist/calcite/{p-9dbb69f7.entry.js → p-5efd7297.entry.js} +1 -1
  48. package/dist/calcite/{p-37cee0ea.entry.js → p-6621aee1.entry.js} +1 -1
  49. package/dist/calcite/{p-31c4a271.system.entry.js → p-684ccd4e.system.entry.js} +1 -1
  50. package/dist/calcite/{p-473cfb74.system.entry.js → p-6988c6b7.system.entry.js} +1 -1
  51. package/dist/calcite/{p-4c7e3d8e.system.entry.js → p-6c8a562f.system.entry.js} +1 -1
  52. package/dist/calcite/{p-18078190.entry.js → p-72fa390e.entry.js} +1 -1
  53. package/dist/calcite/{p-1aaf7f83.entry.js → p-75f714c9.entry.js} +1 -1
  54. package/dist/calcite/{p-41e9b889.entry.js → p-76ccd204.entry.js} +1 -1
  55. package/dist/calcite/{p-d7a7a544.system.entry.js → p-777c833f.system.entry.js} +1 -1
  56. package/dist/calcite/{p-7b01fe89.js → p-79cbbf2d.js} +1 -1
  57. package/dist/calcite/p-7a6c6382.entry.js +5 -0
  58. package/dist/calcite/p-7ade2294.system.entry.js +5 -0
  59. package/dist/calcite/{p-20042561.entry.js → p-7b869bc5.entry.js} +1 -1
  60. package/dist/calcite/{p-f4299b95.entry.js → p-7c37ca39.entry.js} +1 -1
  61. package/dist/calcite/{p-1b2c1f55.entry.js → p-7dd5c4e4.entry.js} +1 -1
  62. package/dist/calcite/{p-01c3783e.system.entry.js → p-8007a0b4.system.entry.js} +1 -1
  63. package/dist/calcite/{p-a20df95c.js → p-809ddb6a.js} +1 -1
  64. package/dist/calcite/{p-22ad79b1.entry.js → p-83302e1c.entry.js} +1 -1
  65. package/dist/calcite/{p-9358deb1.system.entry.js → p-83ccefba.system.entry.js} +1 -1
  66. package/dist/calcite/{p-530584ff.system.entry.js → p-8711a0ae.system.entry.js} +1 -1
  67. package/dist/calcite/{p-c0dd929a.entry.js → p-8953f712.entry.js} +1 -1
  68. package/dist/calcite/{p-c74fc589.system.js → p-89cdfa96.system.js} +1 -1
  69. package/dist/calcite/{p-b701101e.entry.js → p-8bc3e126.entry.js} +1 -1
  70. package/dist/calcite/{p-568ed3d6.system.entry.js → p-948aca0d.system.entry.js} +1 -1
  71. package/dist/calcite/{p-9e4f2697.system.entry.js → p-98789055.system.entry.js} +1 -1
  72. package/dist/calcite/p-99ff3a2f.entry.js +5 -0
  73. package/dist/calcite/{p-10ccc21d.entry.js → p-9affee61.entry.js} +1 -1
  74. package/dist/calcite/{p-99da965d.system.entry.js → p-9fa024e6.system.entry.js} +1 -1
  75. package/dist/calcite/{p-7b600760.entry.js → p-9fa5e356.entry.js} +1 -1
  76. package/dist/calcite/{p-021d44b7.system.entry.js → p-9fc0dc2c.system.entry.js} +1 -1
  77. package/dist/calcite/{p-67fd79db.entry.js → p-9fe349b9.entry.js} +1 -1
  78. package/dist/calcite/{p-0e30afe6.entry.js → p-a09634e2.entry.js} +1 -1
  79. package/dist/calcite/{p-361ddbb6.entry.js → p-a2cc027e.entry.js} +1 -1
  80. package/dist/calcite/{p-87e83c0d.system.entry.js → p-a5bfc29d.system.entry.js} +1 -1
  81. package/dist/calcite/{p-64d90b14.system.js → p-a7ba0292.system.js} +1 -1
  82. package/dist/calcite/{p-7c0debe0.system.entry.js → p-a8569c55.system.entry.js} +1 -1
  83. package/dist/calcite/p-b018fbbd.entry.js +5 -0
  84. package/dist/calcite/p-b1f88d45.system.js +5 -0
  85. package/dist/calcite/{p-eb3ee207.entry.js → p-b244a00c.entry.js} +1 -1
  86. package/dist/calcite/{p-57f5866d.system.entry.js → p-b41deed0.system.entry.js} +1 -1
  87. package/dist/calcite/{p-a7521c0d.entry.js → p-b42d730f.entry.js} +1 -1
  88. package/dist/calcite/p-b4960d06.system.js +5 -0
  89. package/dist/calcite/{p-ba9b4f62.system.entry.js → p-b4e7b593.system.entry.js} +1 -1
  90. package/dist/calcite/{p-0fc8b24c.system.entry.js → p-b8d040e5.system.entry.js} +1 -1
  91. package/dist/calcite/{p-175764f3.system.entry.js → p-ba1322e6.system.entry.js} +1 -1
  92. package/dist/calcite/{p-bfc162ee.system.entry.js → p-bbe2337b.system.entry.js} +2 -2
  93. package/dist/calcite/p-bbedf98c.entry.js +5 -0
  94. package/dist/calcite/{p-cb228ac0.entry.js → p-be52c734.entry.js} +1 -1
  95. package/dist/calcite/{p-3929447c.system.entry.js → p-bf25e278.system.entry.js} +1 -1
  96. package/dist/calcite/{p-fff0a881.entry.js → p-bf8b70a8.entry.js} +1 -1
  97. package/dist/calcite/p-c399cfce.entry.js +5 -0
  98. package/dist/calcite/{p-c3922ef7.system.entry.js → p-c48b4b7e.system.entry.js} +1 -1
  99. package/dist/calcite/p-c60e3a71.entry.js +5 -0
  100. package/dist/calcite/{p-050dc7e6.system.entry.js → p-c8e4117c.system.entry.js} +1 -1
  101. package/dist/calcite/{p-3ba8024a.system.entry.js → p-c99d8f9e.system.entry.js} +1 -1
  102. package/dist/calcite/{p-00d72f16.entry.js → p-c9ecea64.entry.js} +1 -1
  103. package/dist/calcite/{p-be3b0fee.entry.js → p-cacca548.entry.js} +1 -1
  104. package/dist/calcite/{p-93d8a7d5.entry.js → p-cb7b6425.entry.js} +1 -1
  105. package/dist/calcite/{p-f8d975a1.system.entry.js → p-cca94491.system.entry.js} +1 -1
  106. package/dist/calcite/{p-f141da0f.entry.js → p-cd41629f.entry.js} +1 -1
  107. package/dist/calcite/{p-7cdfec27.system.js → p-d11ad046.system.js} +1 -1
  108. package/dist/calcite/p-d4059426.entry.js +5 -0
  109. package/dist/calcite/{p-8fcfe861.js → p-d53cc958.js} +1 -1
  110. package/dist/calcite/{p-acaad99b.system.entry.js → p-daa110fe.system.entry.js} +1 -1
  111. package/dist/calcite/{p-fc4846f0.system.entry.js → p-dc99bb00.system.entry.js} +1 -1
  112. package/dist/calcite/{p-45d123be.system.entry.js → p-dcf30b00.system.entry.js} +1 -1
  113. package/dist/calcite/{p-c20278e8.system.entry.js → p-de3a04c2.system.entry.js} +1 -1
  114. package/dist/calcite/{p-fe52131d.entry.js → p-df9b4b76.entry.js} +1 -1
  115. package/dist/calcite/{p-9ac1fa0b.system.entry.js → p-e24b6c4a.system.entry.js} +1 -1
  116. package/dist/calcite/{p-3b17d8d0.system.js → p-e35e7216.system.js} +1 -1
  117. package/dist/calcite/{p-18574b32.entry.js → p-e382c4e9.entry.js} +1 -1
  118. package/dist/calcite/{p-f5d25746.system.entry.js → p-e40dd6fe.system.entry.js} +1 -1
  119. package/dist/calcite/{p-9caae570.entry.js → p-e5805bf1.entry.js} +1 -1
  120. package/dist/calcite/{p-e693758c.entry.js → p-e638ff0e.entry.js} +1 -1
  121. package/dist/calcite/{p-7839d1c9.entry.js → p-e7819705.entry.js} +1 -1
  122. package/dist/calcite/{p-d5d62977.entry.js → p-eccb140e.entry.js} +1 -1
  123. package/dist/calcite/p-eed43a57.system.entry.js +5 -0
  124. package/dist/calcite/{p-c57f8690.entry.js → p-f281f1e9.entry.js} +1 -1
  125. package/dist/calcite/{p-85a2bf7c.system.entry.js → p-f32e61bb.system.entry.js} +1 -1
  126. package/dist/calcite/p-f5bb39bb.js +5 -0
  127. package/dist/calcite/{p-e3a30266.system.entry.js → p-f6f4648e.system.entry.js} +1 -1
  128. package/dist/calcite/{p-51cb078a.entry.js → p-f93a7fce.entry.js} +1 -1
  129. package/dist/calcite/{p-e33a2dd2.system.entry.js → p-fba65e4a.system.entry.js} +1 -1
  130. package/dist/calcite/{p-cd8f7781.system.entry.js → p-fe16f05e.system.entry.js} +1 -1
  131. package/dist/cjs/{CalciteExpandToggle-0d802f83.js → CalciteExpandToggle-6a9f9858.js} +1 -1
  132. package/dist/cjs/{CalciteHeading-381b977d.js → CalciteHeading-363b0525.js} +1 -1
  133. package/dist/cjs/calcite-accordion_2.cjs.entry.js +1 -1
  134. package/dist/cjs/calcite-action-bar.cjs.entry.js +2 -2
  135. package/dist/cjs/calcite-action-group.cjs.entry.js +1 -1
  136. package/dist/cjs/calcite-action-menu.cjs.entry.js +1 -1
  137. package/dist/cjs/calcite-action-pad.cjs.entry.js +2 -2
  138. package/dist/cjs/calcite-action.cjs.entry.js +1 -1
  139. package/dist/cjs/calcite-alert.cjs.entry.js +1 -1
  140. package/dist/cjs/calcite-avatar.cjs.entry.js +1 -1
  141. package/dist/cjs/calcite-block_2.cjs.entry.js +3 -3
  142. package/dist/cjs/calcite-button.cjs.entry.js +1 -1
  143. package/dist/cjs/calcite-card.cjs.entry.js +2 -2
  144. package/dist/cjs/calcite-checkbox.cjs.entry.js +1 -1
  145. package/dist/cjs/calcite-chip.cjs.entry.js +1 -1
  146. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +1 -1
  147. package/dist/cjs/calcite-combobox_3.cjs.entry.js +3 -3
  148. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +3 -3
  149. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +4 -4
  150. package/dist/cjs/calcite-fab.cjs.entry.js +1 -1
  151. package/dist/cjs/calcite-filter.cjs.entry.js +10 -7
  152. package/dist/cjs/calcite-flow.cjs.entry.js +1 -1
  153. package/dist/cjs/calcite-graph_2.cjs.entry.js +18 -10
  154. package/dist/cjs/calcite-handle.cjs.entry.js +1 -1
  155. package/dist/cjs/calcite-icon.cjs.entry.js +1 -1
  156. package/dist/cjs/calcite-inline-editable.cjs.entry.js +1 -1
  157. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +4 -4
  158. package/dist/cjs/calcite-input-message.cjs.entry.js +1 -1
  159. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +1 -1
  160. package/dist/cjs/calcite-input.cjs.entry.js +31 -18
  161. package/dist/cjs/calcite-label.cjs.entry.js +1 -1
  162. package/dist/cjs/calcite-link.cjs.entry.js +1 -1
  163. package/dist/cjs/calcite-list_3.cjs.entry.js +2 -2
  164. package/dist/cjs/calcite-loader.cjs.entry.js +2 -2
  165. package/dist/cjs/calcite-modal.cjs.entry.js +1 -1
  166. package/dist/cjs/calcite-notice.cjs.entry.js +1 -1
  167. package/dist/cjs/calcite-option_3.cjs.entry.js +1 -1
  168. package/dist/cjs/calcite-pagination.cjs.entry.js +1 -1
  169. package/dist/cjs/calcite-panel.cjs.entry.js +3 -3
  170. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +3 -3
  171. package/dist/cjs/calcite-popover_2.cjs.entry.js +4 -4
  172. package/dist/cjs/calcite-progress.cjs.entry.js +1 -1
  173. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +1 -1
  174. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +1 -1
  175. package/dist/cjs/calcite-radio_2.cjs.entry.js +1 -1
  176. package/dist/cjs/calcite-rating.cjs.entry.js +1 -1
  177. package/dist/cjs/calcite-scrim.cjs.entry.js +1 -1
  178. package/dist/cjs/calcite-shell_3.cjs.entry.js +1 -1
  179. package/dist/cjs/calcite-sortable-list.cjs.entry.js +1 -1
  180. package/dist/cjs/calcite-split-button.cjs.entry.js +1 -1
  181. package/dist/cjs/calcite-stepper_2.cjs.entry.js +1 -1
  182. package/dist/cjs/calcite-switch.cjs.entry.js +6 -1
  183. package/dist/cjs/calcite-tab_4.cjs.entry.js +1 -1
  184. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +1 -1
  185. package/dist/cjs/calcite-tile.cjs.entry.js +2 -2
  186. package/dist/cjs/calcite-tip_3.cjs.entry.js +2 -2
  187. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +3 -3
  188. package/dist/cjs/calcite-tree_2.cjs.entry.js +1 -1
  189. package/dist/cjs/calcite-value-list_2.cjs.entry.js +2 -2
  190. package/dist/cjs/calcite.cjs.js +3 -3
  191. package/dist/cjs/{index-1987a382.js → index-cee0daa9.js} +73 -64
  192. package/dist/cjs/loader.cjs.js +3 -3
  193. package/dist/cjs/{popper-cd9c0742.js → popper-87bf13e6.js} +2 -2
  194. package/dist/cjs/{resources-7dcd68d1.js → resources-38563593.js} +1 -1
  195. package/dist/cjs/{resources-d0619f6a.js → resources-f9c141d2.js} +1 -1
  196. package/dist/collection/collection-manifest.json +2 -2
  197. package/dist/collection/components/calcite-accordion/calcite-accordion.js +2 -2
  198. package/dist/collection/components/calcite-accordion-item/calcite-accordion-item.js +8 -8
  199. package/dist/collection/components/calcite-action/calcite-action.js +4 -4
  200. package/dist/collection/components/calcite-action-menu/calcite-action-menu.js +2 -2
  201. package/dist/collection/components/calcite-alert/calcite-alert.js +6 -6
  202. package/dist/collection/components/calcite-block/calcite-block.css +2 -2
  203. package/dist/collection/components/calcite-block/calcite-block.js +4 -4
  204. package/dist/collection/components/calcite-button/calcite-button.js +4 -4
  205. package/dist/collection/components/calcite-card/calcite-card.js +8 -8
  206. package/dist/collection/components/calcite-checkbox/calcite-checkbox.js +8 -8
  207. package/dist/collection/components/calcite-chip/calcite-chip.js +2 -2
  208. package/dist/collection/components/calcite-color-picker/calcite-color-picker.js +46 -46
  209. package/dist/collection/components/calcite-color-picker-hex-input/calcite-color-picker-hex-input.js +4 -4
  210. package/dist/collection/components/calcite-color-picker-swatch/calcite-color-picker-swatch.js +2 -2
  211. package/dist/collection/components/calcite-combobox/calcite-combobox.js +7 -7
  212. package/dist/collection/components/calcite-date-picker/calcite-date-picker.js +6 -6
  213. package/dist/collection/components/calcite-date-picker-day/calcite-date-picker-day.js +2 -2
  214. package/dist/collection/components/calcite-date-picker-month/calcite-date-picker-month.js +6 -6
  215. package/dist/collection/components/calcite-dropdown/calcite-dropdown.js +5 -5
  216. package/dist/collection/components/calcite-dropdown-group/calcite-dropdown-group.js +2 -2
  217. package/dist/collection/components/calcite-dropdown-item/calcite-dropdown-item.css +33 -27
  218. package/dist/collection/components/calcite-dropdown-item/calcite-dropdown-item.js +6 -6
  219. package/dist/collection/components/calcite-fab/calcite-fab.js +2 -2
  220. package/dist/collection/components/calcite-filter/calcite-filter.js +29 -11
  221. package/dist/collection/components/calcite-graph/calcite-graph.js +48 -6
  222. package/dist/collection/components/calcite-graph/util.js +1 -1
  223. package/dist/collection/components/calcite-handle/calcite-handle.js +2 -2
  224. package/dist/collection/components/calcite-inline-editable/calcite-inline-editable.js +12 -12
  225. package/dist/collection/components/calcite-input/calcite-input.js +42 -29
  226. package/dist/collection/components/calcite-input-date-picker/calcite-input-date-picker.js +11 -11
  227. package/dist/collection/components/calcite-input-message/calcite-input-message.js +2 -2
  228. package/dist/collection/components/calcite-label/calcite-label.js +2 -2
  229. package/dist/collection/components/calcite-loader/calcite-loader.css +0 -3
  230. package/dist/collection/components/calcite-modal/calcite-modal.js +2 -2
  231. package/dist/collection/components/calcite-notice/calcite-notice.js +2 -2
  232. package/dist/collection/components/calcite-option/calcite-option.js +2 -2
  233. package/dist/collection/components/calcite-option-group/calcite-option-group.js +2 -2
  234. package/dist/collection/components/calcite-pagination/calcite-pagination.js +8 -8
  235. package/dist/collection/components/calcite-panel/calcite-panel.css +6 -2
  236. package/dist/collection/components/calcite-pick-list-item/calcite-pick-list-item.js +10 -10
  237. package/dist/collection/components/calcite-popover/calcite-popover.js +9 -9
  238. package/dist/collection/components/calcite-popover-manager/calcite-popover-manager.js +2 -2
  239. package/dist/collection/components/calcite-radio/calcite-radio.js +4 -4
  240. package/dist/collection/components/calcite-radio-button/calcite-radio-button.js +12 -12
  241. package/dist/collection/components/calcite-radio-group-item/calcite-radio-group-item.js +2 -2
  242. package/dist/collection/components/calcite-rating/calcite-rating.js +4 -4
  243. package/dist/collection/components/calcite-scrim/calcite-scrim.js +2 -2
  244. package/dist/collection/components/calcite-select/calcite-select.js +2 -2
  245. package/dist/collection/components/calcite-slider/calcite-slider.css +2 -4
  246. package/dist/collection/components/calcite-slider/calcite-slider.js +3 -3
  247. package/dist/collection/components/calcite-split-button/calcite-split-button.js +2 -2
  248. package/dist/collection/components/calcite-stepper/calcite-stepper.js +4 -4
  249. package/dist/collection/components/calcite-stepper-item/calcite-stepper-item.js +14 -14
  250. package/dist/collection/components/calcite-switch/calcite-switch.js +8 -3
  251. package/dist/collection/components/calcite-tab/calcite-tab.js +4 -4
  252. package/dist/collection/components/calcite-tab-nav/calcite-tab-nav.js +14 -14
  253. package/dist/collection/components/calcite-tab-title/calcite-tab-title.js +16 -16
  254. package/dist/collection/components/calcite-tile/calcite-tile.css +4 -0
  255. package/dist/collection/components/calcite-tile/calcite-tile.js +2 -2
  256. package/dist/collection/components/calcite-time-picker/calcite-time-picker.js +30 -30
  257. package/dist/collection/components/calcite-tooltip/calcite-tooltip.js +5 -5
  258. package/dist/collection/components/calcite-tooltip-manager/calcite-tooltip-manager.js +2 -2
  259. package/dist/collection/components/calcite-tree/calcite-tree.js +10 -10
  260. package/dist/collection/components/calcite-tree-item/calcite-tree-item.js +20 -20
  261. package/dist/collection/components/calcite-value-list-item/calcite-value-list-item.js +6 -6
  262. package/dist/collection/utils/popper.js +2 -2
  263. package/dist/components/calcite-accordion-item.js +2 -2
  264. package/dist/components/calcite-accordion.js +2 -2
  265. package/dist/components/calcite-action-bar.js +2 -2
  266. package/dist/components/calcite-action-group2.js +2 -2
  267. package/dist/components/calcite-action-menu2.js +2 -2
  268. package/dist/components/calcite-action-pad.js +2 -2
  269. package/dist/components/calcite-action2.js +2 -2
  270. package/dist/components/calcite-alert.js +2 -2
  271. package/dist/components/calcite-avatar.js +2 -2
  272. package/dist/components/calcite-block-section.js +2 -2
  273. package/dist/components/calcite-block.js +3 -3
  274. package/dist/components/calcite-button2.js +2 -2
  275. package/dist/components/calcite-card.js +11 -5
  276. package/dist/components/calcite-checkbox2.js +2 -2
  277. package/dist/components/calcite-chip2.js +2 -2
  278. package/dist/components/calcite-color-picker-hex-input2.js +2 -2
  279. package/dist/components/calcite-color-picker-swatch2.js +2 -2
  280. package/dist/components/calcite-color-picker.js +2 -2
  281. package/dist/components/calcite-combobox-item-group.js +2 -2
  282. package/dist/components/calcite-combobox-item.js +2 -2
  283. package/dist/components/calcite-combobox.js +3 -3
  284. package/dist/components/calcite-date-picker-day2.js +2 -2
  285. package/dist/components/calcite-date-picker-month-header2.js +2 -2
  286. package/dist/components/calcite-date-picker-month2.js +2 -2
  287. package/dist/components/calcite-date-picker2.js +2 -2
  288. package/dist/components/calcite-dropdown-group.js +2 -2
  289. package/dist/components/calcite-dropdown-item.js +3 -3
  290. package/dist/components/calcite-dropdown2.js +3 -3
  291. package/dist/components/calcite-fab.js +2 -2
  292. package/dist/components/calcite-filter2.js +12 -9
  293. package/dist/components/calcite-flow.js +2 -2
  294. package/dist/components/calcite-graph2.js +20 -10
  295. package/dist/components/calcite-handle2.js +2 -2
  296. package/dist/components/calcite-icon2.js +2 -2
  297. package/dist/components/calcite-input-date-picker.js +3 -3
  298. package/dist/components/calcite-input-message.js +2 -2
  299. package/dist/components/calcite-input-time-picker.js +2 -2
  300. package/dist/components/calcite-input2.js +30 -17
  301. package/dist/components/calcite-label.js +1 -75
  302. package/dist/components/calcite-label2.js +81 -0
  303. package/dist/components/calcite-link2.js +2 -2
  304. package/dist/components/calcite-list-item-group.js +2 -2
  305. package/dist/components/calcite-list-item.js +2 -2
  306. package/dist/components/calcite-list.js +2 -2
  307. package/dist/components/calcite-loader2.js +3 -3
  308. package/dist/components/calcite-modal.js +2 -2
  309. package/dist/components/calcite-notice.js +2 -2
  310. package/dist/components/calcite-option-group.js +2 -2
  311. package/dist/components/calcite-option.js +2 -2
  312. package/dist/components/calcite-pagination.js +2 -2
  313. package/dist/components/calcite-panel.js +3 -3
  314. package/dist/components/calcite-pick-list-group.js +2 -2
  315. package/dist/components/calcite-pick-list-item2.js +2 -2
  316. package/dist/components/calcite-pick-list.js +2 -2
  317. package/dist/components/calcite-popover-manager.js +2 -2
  318. package/dist/components/calcite-popover2.js +3 -3
  319. package/dist/components/calcite-progress2.js +2 -2
  320. package/dist/components/calcite-radio-button-group.js +2 -2
  321. package/dist/components/calcite-radio-group-item.js +2 -2
  322. package/dist/components/calcite-radio-group.js +2 -2
  323. package/dist/components/calcite-radio2.js +2 -2
  324. package/dist/components/calcite-rating.js +2 -2
  325. package/dist/components/calcite-scrim2.js +2 -2
  326. package/dist/components/calcite-select.js +2 -2
  327. package/dist/components/calcite-shell-center-row.js +2 -2
  328. package/dist/components/calcite-shell-panel.js +2 -2
  329. package/dist/components/calcite-shell.js +2 -2
  330. package/dist/components/calcite-slider.js +4 -4
  331. package/dist/components/calcite-sortable-list.js +2 -2
  332. package/dist/components/calcite-split-button.js +2 -2
  333. package/dist/components/calcite-stepper-item.js +2 -2
  334. package/dist/components/calcite-stepper.js +2 -2
  335. package/dist/components/calcite-switch2.js +8 -3
  336. package/dist/components/calcite-tab-nav2.js +2 -2
  337. package/dist/components/calcite-tab-title2.js +2 -2
  338. package/dist/components/calcite-tab2.js +2 -2
  339. package/dist/components/calcite-tabs2.js +2 -2
  340. package/dist/components/calcite-tile-select-group.js +2 -2
  341. package/dist/components/calcite-tile-select.js +2 -2
  342. package/dist/components/calcite-tile2.js +3 -3
  343. package/dist/components/calcite-time-picker2.js +2 -2
  344. package/dist/components/calcite-tip-group.js +2 -2
  345. package/dist/components/calcite-tip-manager.js +2 -2
  346. package/dist/components/calcite-tip.js +2 -2
  347. package/dist/components/calcite-tooltip-manager2.js +2 -2
  348. package/dist/components/calcite-tooltip.js +3 -3
  349. package/dist/components/calcite-tree-item.js +2 -2
  350. package/dist/components/calcite-tree.js +2 -2
  351. package/dist/components/calcite-value-list-item.js +2 -2
  352. package/dist/components/calcite-value-list.js +2 -2
  353. package/dist/components/popper.js +2 -2
  354. package/dist/custom-elements/index.js +166 -137
  355. package/dist/esm/{CalciteExpandToggle-151a563a.js → CalciteExpandToggle-235a6bfd.js} +1 -1
  356. package/dist/esm/{CalciteHeading-1735f17a.js → CalciteHeading-dea3bd05.js} +1 -1
  357. package/dist/esm/calcite-accordion_2.entry.js +1 -1
  358. package/dist/esm/calcite-action-bar.entry.js +2 -2
  359. package/dist/esm/calcite-action-group.entry.js +1 -1
  360. package/dist/esm/calcite-action-menu.entry.js +1 -1
  361. package/dist/esm/calcite-action-pad.entry.js +2 -2
  362. package/dist/esm/calcite-action.entry.js +1 -1
  363. package/dist/esm/calcite-alert.entry.js +1 -1
  364. package/dist/esm/calcite-avatar.entry.js +1 -1
  365. package/dist/esm/calcite-block_2.entry.js +3 -3
  366. package/dist/esm/calcite-button.entry.js +1 -1
  367. package/dist/esm/calcite-card.entry.js +2 -2
  368. package/dist/esm/calcite-checkbox.entry.js +1 -1
  369. package/dist/esm/calcite-chip.entry.js +1 -1
  370. package/dist/esm/calcite-color-picker_3.entry.js +1 -1
  371. package/dist/esm/calcite-combobox_3.entry.js +3 -3
  372. package/dist/esm/calcite-date-picker_4.entry.js +3 -3
  373. package/dist/esm/calcite-dropdown_3.entry.js +4 -4
  374. package/dist/esm/calcite-fab.entry.js +1 -1
  375. package/dist/esm/calcite-filter.entry.js +10 -7
  376. package/dist/esm/calcite-flow.entry.js +1 -1
  377. package/dist/esm/calcite-graph_2.entry.js +18 -10
  378. package/dist/esm/calcite-handle.entry.js +1 -1
  379. package/dist/esm/calcite-icon.entry.js +1 -1
  380. package/dist/esm/calcite-inline-editable.entry.js +1 -1
  381. package/dist/esm/calcite-input-date-picker.entry.js +4 -4
  382. package/dist/esm/calcite-input-message.entry.js +1 -1
  383. package/dist/esm/calcite-input-time-picker_2.entry.js +1 -1
  384. package/dist/esm/calcite-input.entry.js +31 -18
  385. package/dist/esm/calcite-label.entry.js +1 -1
  386. package/dist/esm/calcite-link.entry.js +1 -1
  387. package/dist/esm/calcite-list_3.entry.js +2 -2
  388. package/dist/esm/calcite-loader.entry.js +2 -2
  389. package/dist/esm/calcite-modal.entry.js +1 -1
  390. package/dist/esm/calcite-notice.entry.js +1 -1
  391. package/dist/esm/calcite-option_3.entry.js +1 -1
  392. package/dist/esm/calcite-pagination.entry.js +1 -1
  393. package/dist/esm/calcite-panel.entry.js +3 -3
  394. package/dist/esm/calcite-pick-list_3.entry.js +3 -3
  395. package/dist/esm/calcite-popover_2.entry.js +4 -4
  396. package/dist/esm/calcite-progress.entry.js +1 -1
  397. package/dist/esm/calcite-radio-button-group.entry.js +1 -1
  398. package/dist/esm/calcite-radio-group_2.entry.js +1 -1
  399. package/dist/esm/calcite-radio_2.entry.js +1 -1
  400. package/dist/esm/calcite-rating.entry.js +1 -1
  401. package/dist/esm/calcite-scrim.entry.js +1 -1
  402. package/dist/esm/calcite-shell_3.entry.js +1 -1
  403. package/dist/esm/calcite-sortable-list.entry.js +1 -1
  404. package/dist/esm/calcite-split-button.entry.js +1 -1
  405. package/dist/esm/calcite-stepper_2.entry.js +1 -1
  406. package/dist/esm/calcite-switch.entry.js +6 -1
  407. package/dist/esm/calcite-tab_4.entry.js +1 -1
  408. package/dist/esm/calcite-tile-select_2.entry.js +1 -1
  409. package/dist/esm/calcite-tile.entry.js +2 -2
  410. package/dist/esm/calcite-tip_3.entry.js +2 -2
  411. package/dist/esm/calcite-tooltip_2.entry.js +3 -3
  412. package/dist/esm/calcite-tree_2.entry.js +1 -1
  413. package/dist/esm/calcite-value-list_2.entry.js +2 -2
  414. package/dist/esm/calcite.js +3 -3
  415. package/dist/esm/{index-d653c37f.js → index-66803519.js} +73 -64
  416. package/dist/esm/loader.js +3 -3
  417. package/dist/esm/{popper-7499ea4f.js → popper-dc4b45cf.js} +2 -2
  418. package/dist/esm/{resources-510eed1a.js → resources-8dd80c84.js} +1 -1
  419. package/dist/esm/{resources-3b481489.js → resources-c59a1a15.js} +1 -1
  420. package/dist/esm-es5/{CalciteExpandToggle-151a563a.js → CalciteExpandToggle-235a6bfd.js} +1 -1
  421. package/dist/esm-es5/{CalciteHeading-1735f17a.js → CalciteHeading-dea3bd05.js} +1 -1
  422. package/dist/esm-es5/calcite-accordion_2.entry.js +1 -1
  423. package/dist/esm-es5/calcite-action-bar.entry.js +1 -1
  424. package/dist/esm-es5/calcite-action-group.entry.js +1 -1
  425. package/dist/esm-es5/calcite-action-menu.entry.js +1 -1
  426. package/dist/esm-es5/calcite-action-pad.entry.js +1 -1
  427. package/dist/esm-es5/calcite-action.entry.js +1 -1
  428. package/dist/esm-es5/calcite-alert.entry.js +1 -1
  429. package/dist/esm-es5/calcite-avatar.entry.js +1 -1
  430. package/dist/esm-es5/calcite-block_2.entry.js +1 -1
  431. package/dist/esm-es5/calcite-button.entry.js +1 -1
  432. package/dist/esm-es5/calcite-card.entry.js +1 -1
  433. package/dist/esm-es5/calcite-checkbox.entry.js +1 -1
  434. package/dist/esm-es5/calcite-chip.entry.js +1 -1
  435. package/dist/esm-es5/calcite-color-picker_3.entry.js +1 -1
  436. package/dist/esm-es5/calcite-combobox_3.entry.js +1 -1
  437. package/dist/esm-es5/calcite-date-picker_4.entry.js +1 -1
  438. package/dist/esm-es5/calcite-dropdown_3.entry.js +1 -1
  439. package/dist/esm-es5/calcite-fab.entry.js +1 -1
  440. package/dist/esm-es5/calcite-filter.entry.js +1 -1
  441. package/dist/esm-es5/calcite-flow.entry.js +1 -1
  442. package/dist/esm-es5/calcite-graph_2.entry.js +1 -1
  443. package/dist/esm-es5/calcite-handle.entry.js +1 -1
  444. package/dist/esm-es5/calcite-icon.entry.js +1 -1
  445. package/dist/esm-es5/calcite-inline-editable.entry.js +1 -1
  446. package/dist/esm-es5/calcite-input-date-picker.entry.js +1 -1
  447. package/dist/esm-es5/calcite-input-message.entry.js +1 -1
  448. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +1 -1
  449. package/dist/esm-es5/calcite-input.entry.js +1 -1
  450. package/dist/esm-es5/calcite-label.entry.js +1 -1
  451. package/dist/esm-es5/calcite-link.entry.js +1 -1
  452. package/dist/esm-es5/calcite-list_3.entry.js +1 -1
  453. package/dist/esm-es5/calcite-loader.entry.js +1 -1
  454. package/dist/esm-es5/calcite-modal.entry.js +1 -1
  455. package/dist/esm-es5/calcite-notice.entry.js +1 -1
  456. package/dist/esm-es5/calcite-option_3.entry.js +2 -2
  457. package/dist/esm-es5/calcite-pagination.entry.js +1 -1
  458. package/dist/esm-es5/calcite-panel.entry.js +1 -1
  459. package/dist/esm-es5/calcite-pick-list_3.entry.js +1 -1
  460. package/dist/esm-es5/calcite-popover_2.entry.js +1 -1
  461. package/dist/esm-es5/calcite-progress.entry.js +1 -1
  462. package/dist/esm-es5/calcite-radio-button-group.entry.js +1 -1
  463. package/dist/esm-es5/calcite-radio-group_2.entry.js +1 -1
  464. package/dist/esm-es5/calcite-radio_2.entry.js +1 -1
  465. package/dist/esm-es5/calcite-rating.entry.js +1 -1
  466. package/dist/esm-es5/calcite-scrim.entry.js +1 -1
  467. package/dist/esm-es5/calcite-shell_3.entry.js +1 -1
  468. package/dist/esm-es5/calcite-sortable-list.entry.js +1 -1
  469. package/dist/esm-es5/calcite-split-button.entry.js +1 -1
  470. package/dist/esm-es5/calcite-stepper_2.entry.js +1 -1
  471. package/dist/esm-es5/calcite-switch.entry.js +1 -1
  472. package/dist/esm-es5/calcite-tab_4.entry.js +1 -1
  473. package/dist/esm-es5/calcite-tile-select_2.entry.js +1 -1
  474. package/dist/esm-es5/calcite-tile.entry.js +1 -1
  475. package/dist/esm-es5/calcite-tip_3.entry.js +1 -1
  476. package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
  477. package/dist/esm-es5/calcite-tree_2.entry.js +1 -1
  478. package/dist/esm-es5/calcite-value-list_2.entry.js +1 -1
  479. package/dist/esm-es5/calcite.js +1 -1
  480. package/dist/esm-es5/{index-d653c37f.js → index-66803519.js} +1 -1
  481. package/dist/esm-es5/loader.js +1 -1
  482. package/dist/esm-es5/popper-dc4b45cf.js +5 -0
  483. package/dist/esm-es5/{resources-510eed1a.js → resources-8dd80c84.js} +1 -1
  484. package/dist/esm-es5/{resources-3b481489.js → resources-c59a1a15.js} +1 -1
  485. package/dist/extras/docs-json.json +478 -422
  486. package/dist/types/components/calcite-filter/calcite-filter.d.ts +5 -1
  487. package/dist/types/components/calcite-graph/calcite-graph.d.ts +4 -0
  488. package/dist/types/components/calcite-input/calcite-input.d.ts +7 -1
  489. package/dist/types/components/calcite-modal/calcite-modal.d.ts +2 -2
  490. package/dist/types/components.d.ts +28 -4
  491. package/dist/types/utils/popper.d.ts +1 -1
  492. package/hydrate/index.js +82 -50
  493. package/package.json +10 -10
  494. package/readme.md +2 -2
  495. package/dist/calcite/p-07ba39b6.js +0 -5
  496. package/dist/calcite/p-0fb8cdc5.entry.js +0 -5
  497. package/dist/calcite/p-0fd333ff.entry.js +0 -5
  498. package/dist/calcite/p-24b86e03.entry.js +0 -5
  499. package/dist/calcite/p-29b110b2.entry.js +0 -5
  500. package/dist/calcite/p-34a1c944.entry.js +0 -5
  501. package/dist/calcite/p-378b83de.entry.js +0 -5
  502. package/dist/calcite/p-43494684.entry.js +0 -5
  503. package/dist/calcite/p-485062f4.system.entry.js +0 -5
  504. package/dist/calcite/p-61038b30.js +0 -5
  505. package/dist/calcite/p-728501db.system.js +0 -5
  506. package/dist/calcite/p-745e41ea.entry.js +0 -5
  507. package/dist/calcite/p-7a544774.system.entry.js +0 -5
  508. package/dist/calcite/p-9965ea81.system.js +0 -5
  509. package/dist/calcite/p-ba255377.entry.js +0 -5
  510. package/dist/calcite/p-bc02d9ef.system.entry.js +0 -5
  511. package/dist/calcite/p-bcc323ec.system.entry.js +0 -5
  512. package/dist/calcite/p-c1995144.system.entry.js +0 -5
  513. package/dist/calcite/p-c31243c5.entry.js +0 -5
  514. package/dist/calcite/p-de0f4633.entry.js +0 -5
  515. package/dist/calcite/p-e9044cc1.entry.js +0 -5
  516. package/dist/esm-es5/popper-7499ea4f.js +0 -5
@@ -2,7 +2,7 @@
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
- import { attachShadow, h, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { h, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { f as focusElement, a as getElementDir } from './dom.js';
7
7
  import { d as defineCustomElement$4 } from './calcite-button2.js';
8
8
  import { d as defineCustomElement$3 } from './calcite-icon2.js';
@@ -21,7 +21,7 @@ let CalciteFab$1 = class extends HTMLElement {
21
21
  constructor() {
22
22
  super();
23
23
  this.__registerHost();
24
- attachShadow(this);
24
+ this.__attachShadow();
25
25
  // --------------------------------------------------------------------------
26
26
  //
27
27
  // Properties
@@ -2,7 +2,7 @@
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
- import { attachShadow, createEvent, h, Fragment, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { createEvent, h, Fragment, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { f as focusElement, a as getElementDir, C as CSS_UTILITY } from './dom.js';
7
7
  import { d as defineCustomElement$5 } from './calcite-icon2.js';
8
8
  import { d as defineCustomElement$4 } from './calcite-input2.js';
@@ -33,13 +33,12 @@ let CalciteFilter = class extends HTMLElement {
33
33
  constructor() {
34
34
  super();
35
35
  this.__registerHost();
36
- attachShadow(this);
36
+ this.__attachShadow();
37
37
  this.calciteFilterChange = createEvent(this, "calciteFilterChange", 7);
38
38
  /**
39
39
  * When true, disabled prevents interaction. This state shows items with lower opacity/grayed.
40
40
  */
41
41
  this.disabled = false;
42
- this.empty = true;
43
42
  // --------------------------------------------------------------------------
44
43
  //
45
44
  // Private Methods
@@ -77,8 +76,7 @@ let CalciteFilter = class extends HTMLElement {
77
76
  }, filterDebounceInMs);
78
77
  this.inputHandler = (event) => {
79
78
  const target = event.target;
80
- this.empty = target.value === "";
81
- this.filter(target.value);
79
+ this.value = target.value;
82
80
  };
83
81
  this.keyDownHandler = ({ key }) => {
84
82
  if (key === "Escape") {
@@ -86,12 +84,14 @@ let CalciteFilter = class extends HTMLElement {
86
84
  }
87
85
  };
88
86
  this.clear = () => {
89
- this.textInput.value = "";
90
- this.empty = true;
87
+ this.value = "";
91
88
  this.calciteFilterChange.emit(this.data);
92
89
  this.setFocus();
93
90
  };
94
91
  }
92
+ valueHandler(value) {
93
+ this.filter(value);
94
+ }
95
95
  // --------------------------------------------------------------------------
96
96
  //
97
97
  // Public Methods
@@ -111,9 +111,12 @@ let CalciteFilter = class extends HTMLElement {
111
111
  const { disabled } = this;
112
112
  return (h(Fragment, null, disabled ? h("calcite-scrim", null) : null, h("div", { class: CSS.container }, h("label", { class: rtl ? CSS_UTILITY.rtl : null }, h("calcite-input", { "aria-label": this.intlLabel || TEXT.filterLabel, class: rtl ? CSS_UTILITY.rtl : null, disabled: this.disabled, icon: ICONS.search, onCalciteInputInput: this.inputHandler, onKeyDown: this.keyDownHandler, placeholder: this.placeholder, ref: (el) => {
113
113
  this.textInput = el;
114
- }, type: "text", value: "" })), !this.empty ? (h("button", { "aria-label": this.intlClear || TEXT.clear, class: CSS.clearButton, onClick: this.clear }, h("calcite-icon", { icon: ICONS.close }))) : null)));
114
+ }, type: "text", value: this.value })), this.value ? (h("button", { "aria-label": this.intlClear || TEXT.clear, class: CSS.clearButton, onClick: this.clear }, h("calcite-icon", { icon: ICONS.close }))) : null)));
115
115
  }
116
116
  get el() { return this; }
117
+ static get watchers() { return {
118
+ "value": ["valueHandler"]
119
+ }; }
117
120
  static get style() { return calciteFilterCss; }
118
121
  };
119
122
  CalciteFilter = /*@__PURE__*/ proxyCustomElement(CalciteFilter, [1, "calcite-filter", {
@@ -122,7 +125,7 @@ CalciteFilter = /*@__PURE__*/ proxyCustomElement(CalciteFilter, [1, "calcite-fil
122
125
  "intlClear": [1, "intl-clear"],
123
126
  "intlLabel": [1, "intl-label"],
124
127
  "placeholder": [1],
125
- "empty": [32],
128
+ "value": [1025],
126
129
  "setFocus": [64]
127
130
  }]);
128
131
  function defineCustomElement() {
@@ -2,7 +2,7 @@
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
- import { attachShadow, h, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { h, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { c as createObserver } from './observers.js';
7
7
 
8
8
  const CSS = {
@@ -17,7 +17,7 @@ let CalciteFlow$1 = class extends HTMLElement {
17
17
  constructor() {
18
18
  super();
19
19
  this.__registerHost();
20
- attachShadow(this);
20
+ this.__attachShadow();
21
21
  this.panelCount = 0;
22
22
  this.flowDirection = null;
23
23
  this.panels = [];
@@ -2,7 +2,7 @@
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
- import { attachShadow, h, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { h, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { g as guid } from './guid.js';
7
7
 
8
8
  /**
@@ -52,7 +52,7 @@ function translate({ width, height, min, max }) {
52
52
  const rangeX = max[0] - min[0];
53
53
  const rangeY = max[1] - min[1];
54
54
  return (point) => {
55
- const x = (point[0] / rangeX) * width;
55
+ const x = ((point[0] - min[0]) / rangeX) * width;
56
56
  const y = height - (point[1] / rangeY) * height;
57
57
  return [x, y];
58
58
  };
@@ -110,7 +110,7 @@ let CalciteGraph = class extends HTMLElement {
110
110
  constructor() {
111
111
  super();
112
112
  this.__registerHost();
113
- attachShadow(this);
113
+ this.__attachShadow();
114
114
  //--------------------------------------------------------------------------
115
115
  //
116
116
  // Properties
@@ -138,17 +138,25 @@ let CalciteGraph = class extends HTMLElement {
138
138
  //
139
139
  //--------------------------------------------------------------------------
140
140
  render() {
141
- const { data, colorStops, width, height, highlightMax, highlightMin } = this;
141
+ const { data, colorStops, width, height, highlightMax, highlightMin, min, max } = this;
142
142
  const id = this.graphId;
143
143
  // if we have no data, return empty svg
144
144
  if (!data || data.length === 0) {
145
145
  return (h("svg", { class: "svg", height: height, preserveAspectRatio: "none", viewBox: `0 0 ${width} ${height}`, width: width }));
146
146
  }
147
- const { min, max } = range(data);
148
- const t = translate({ min, max, width, height });
149
- const [hMinX] = t([highlightMin, max[1]]);
150
- const [hMaxX] = t([highlightMax, max[1]]);
151
- const areaPath = area({ data, min, max, t });
147
+ const { min: rangeMin, max: rangeMax } = range(data);
148
+ let currentMin = rangeMin;
149
+ let currentMax = rangeMax;
150
+ if (min < rangeMin[0]) {
151
+ currentMin = [min, 0];
152
+ }
153
+ if (max > rangeMax[0]) {
154
+ currentMax = [max, rangeMax[1]];
155
+ }
156
+ const t = translate({ min: currentMin, max: currentMax, width, height });
157
+ const [hMinX] = t([highlightMin, currentMax[1]]);
158
+ const [hMaxX] = t([highlightMax, currentMax[1]]);
159
+ const areaPath = area({ data, min: rangeMin, max: rangeMax, t });
152
160
  const fill = colorStops ? `url(#linear-gradient-${id})` : undefined;
153
161
  return (h("svg", { class: "svg", height: height, preserveAspectRatio: "none", viewBox: `0 0 ${width} ${height}`, width: width }, colorStops ? (h("defs", null, h("linearGradient", { id: `linear-gradient-${id}`, x1: "0", x2: "1", y1: "0", y2: "0" }, colorStops.map(({ offset, color, opacity }) => (h("stop", { offset: `${offset * 100}%`, "stop-color": color, "stop-opacity": opacity })))))) : null, highlightMin !== undefined ? ([
154
162
  h("mask", { height: "100%", id: `${id}1`, width: "100%", x: "0%", y: "0%" }, h("path", { d: `
@@ -186,7 +194,9 @@ CalciteGraph = /*@__PURE__*/ proxyCustomElement(CalciteGraph, [1, "calcite-graph
186
194
  "width": [2],
187
195
  "height": [2],
188
196
  "highlightMin": [2, "highlight-min"],
189
- "highlightMax": [2, "highlight-max"]
197
+ "highlightMax": [2, "highlight-max"],
198
+ "min": [2],
199
+ "max": [2]
190
200
  }]);
191
201
  function defineCustomElement() {
192
202
  const components = ["calcite-graph"];
@@ -2,7 +2,7 @@
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
- import { attachShadow, createEvent, h, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { createEvent, h, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { d as defineCustomElement$1 } from './calcite-icon2.js';
7
7
 
8
8
  const CSS = {
@@ -19,7 +19,7 @@ let CalciteHandle = class extends HTMLElement {
19
19
  constructor() {
20
20
  super();
21
21
  this.__registerHost();
22
- attachShadow(this);
22
+ this.__attachShadow();
23
23
  this.calciteHandleNudge = createEvent(this, "calciteHandleNudge", 7);
24
24
  // --------------------------------------------------------------------------
25
25
  //
@@ -2,7 +2,7 @@
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
- import { getAssetPath, attachShadow, h, Host, Build, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { getAssetPath, h, Host, Build, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { a as getElementDir } from './dom.js';
7
7
  import { c as createObserver } from './observers.js';
8
8
 
@@ -76,7 +76,7 @@ let CalciteIcon = class extends HTMLElement {
76
76
  constructor() {
77
77
  super();
78
78
  this.__registerHost();
79
- attachShadow(this);
79
+ this.__attachShadow();
80
80
  //--------------------------------------------------------------------------
81
81
  //
82
82
  // Properties
@@ -2,7 +2,7 @@
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
- import { attachShadow, createEvent, h, Host, Build, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { createEvent, h, Host, Build, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { T as TEXT, g as getLocaleData, d as defineCustomElement$8 } from './calcite-date-picker2.js';
7
7
  import { a as getElementDir } from './dom.js';
8
8
  import { d as dateToISO, a as dateFromISO, b as dateFromRange, s as sameDate, f as parseDateString, i as inRange } from './date.js';
@@ -23,7 +23,7 @@ let CalciteInputDatePicker$1 = class extends HTMLElement {
23
23
  constructor() {
24
24
  super();
25
25
  this.__registerHost();
26
- attachShadow(this);
26
+ this.__attachShadow();
27
27
  this.calciteDatePickerChange = createEvent(this, "calciteDatePickerChange", 7);
28
28
  this.calciteDatePickerRangeChange = createEvent(this, "calciteDatePickerRangeChange", 7);
29
29
  this.calciteInputDatePickerOpen = createEvent(this, "calciteInputDatePickerOpen", 7);
@@ -155,7 +155,7 @@ let CalciteInputDatePicker$1 = class extends HTMLElement {
155
155
  const { popper, menuEl } = this;
156
156
  const modifiers = this.getModifiers();
157
157
  popper
158
- ? updatePopper({
158
+ ? await updatePopper({
159
159
  el: menuEl,
160
160
  modifiers,
161
161
  placement: DEFAULT_PLACEMENT,
@@ -2,7 +2,7 @@
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
- import { attachShadow, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { h, Host, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { s as setRequestedIcon, g as getElementProp, a as getElementDir, C as CSS_UTILITY } from './dom.js';
7
7
  import { d as defineCustomElement$2 } from './calcite-icon2.js';
8
8
 
@@ -19,7 +19,7 @@ let CalciteInputMessage$1 = class extends HTMLElement {
19
19
  constructor() {
20
20
  super();
21
21
  this.__registerHost();
22
- attachShadow(this);
22
+ this.__attachShadow();
23
23
  //--------------------------------------------------------------------------
24
24
  //
25
25
  // Properties
@@ -2,7 +2,7 @@
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
- import { attachShadow, createEvent, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { createEvent, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { g as guid } from './guid.js';
7
7
  import { g as getKey } from './key.js';
8
8
  import { f as formatTimeString, p as parseTimeString, g as getMeridiemHour, a as getMeridiem, d as defineCustomElement$2 } from './calcite-time-picker2.js';
@@ -20,7 +20,7 @@ let CalciteInputTimePicker$1 = class extends HTMLElement {
20
20
  constructor() {
21
21
  super();
22
22
  this.__registerHost();
23
- attachShadow(this);
23
+ this.__attachShadow();
24
24
  this.calciteInputTimePickerChange = createEvent(this, "calciteInputTimePickerChange", 7);
25
25
  //--------------------------------------------------------------------------
26
26
  //
@@ -200,24 +200,21 @@ let CalciteInput = class extends HTMLElement {
200
200
  event.preventDefault();
201
201
  };
202
202
  this.nudgeNumberValue = (direction, nativeEvent) => {
203
- if (this.type !== "number") {
203
+ if ((nativeEvent instanceof KeyboardEvent && nativeEvent.repeat) || this.type !== "number") {
204
204
  return;
205
205
  }
206
- const value = this.value;
207
206
  const inputMax = this.maxString ? parseFloat(this.maxString) : null;
208
207
  const inputMin = this.minString ? parseFloat(this.minString) : null;
209
- const inputStep = this.step === "any" ? 1 : Math.abs(this.step || 1);
210
- const inputVal = value && value !== "" ? parseFloat(value) : 0;
211
- let newValue = value;
212
- if (direction === "up" && ((!inputMax && inputMax !== 0) || inputVal < inputMax)) {
213
- newValue = (inputVal + inputStep).toString();
214
- }
215
- if (direction === "down" && ((!inputMin && inputMin !== 0) || inputVal > inputMin)) {
216
- newValue = (inputVal - inputStep).toString();
217
- }
218
- this.setValue(newValue, nativeEvent, true);
208
+ const valueNudgeDelayInMs = 500;
209
+ this.incrementOrDecrementNumberValue(direction, inputMax, inputMin, nativeEvent);
210
+ this.nudgeNumberValueIntervalId = setInterval(() => {
211
+ this.incrementOrDecrementNumberValue(direction, inputMax, inputMin, nativeEvent);
212
+ }, valueNudgeDelayInMs);
219
213
  };
220
- this.numberButtonClickHandler = (event) => {
214
+ this.numberButtonMouseUpAndMouseOutHandler = () => {
215
+ clearInterval(this.nudgeNumberValueIntervalId);
216
+ };
217
+ this.numberButtonMouseDownHandler = (event) => {
221
218
  // todo, when dropping ie11 support, refactor to use stepup/stepdown
222
219
  // prevent blur and re-focus of input on mousedown
223
220
  event.preventDefault();
@@ -263,6 +260,9 @@ let CalciteInput = class extends HTMLElement {
263
260
  }
264
261
  }
265
262
  };
263
+ this.inputKeyUpHandler = () => {
264
+ clearInterval(this.nudgeNumberValueIntervalId);
265
+ };
266
266
  }
267
267
  disabledWatcher() {
268
268
  this.setDisabledAction();
@@ -381,6 +381,19 @@ let CalciteInput = class extends HTMLElement {
381
381
  onLabelClick() {
382
382
  this.setFocus();
383
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
+ }
384
397
  setDisabledAction() {
385
398
  if (!this.slottedActionEl) {
386
399
  return;
@@ -404,17 +417,17 @@ let CalciteInput = class extends HTMLElement {
404
417
  const numberButtonsHorizontalUp = (h("button", { class: {
405
418
  [CSS.numberButtonItem]: true,
406
419
  [CSS.buttonItemHorizontal]: isHorizontalNumberButton
407
- }, "data-adjustment": "up", disabled: this.disabled || this.readOnly, onClick: this.numberButtonClickHandler, tabIndex: -1, type: "button" }, h("calcite-icon", { icon: "chevron-up", scale: "s" })));
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" })));
408
421
  const numberButtonsHorizontalDown = (h("button", { class: {
409
422
  [CSS.numberButtonItem]: true,
410
423
  [CSS.buttonItemHorizontal]: isHorizontalNumberButton
411
- }, "data-adjustment": "down", disabled: this.disabled || this.readOnly, onClick: this.numberButtonClickHandler, tabIndex: -1, type: "button" }, h("calcite-icon", { icon: "chevron-down", scale: "s" })));
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" })));
412
425
  const numberButtonsVertical = (h("div", { class: CSS.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
413
426
  const prefixText = h("div", { class: CSS.prefix }, this.prefixText);
414
427
  const suffixText = h("div", { class: CSS.suffix }, this.suffixText);
415
- const localeNumberInput = this.type === "number" ? (h("input", { "aria-label": getLabelText(this), autofocus: this.autofocus ? true : null, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, key: "localized-input", maxLength: this.maxLength, minLength: this.minLength, name: undefined, onBlur: this.inputBlurHandler, onFocus: this.inputFocusHandler, onInput: this.inputNumberInputHandler, onKeyDown: this.inputNumberKeyDownHandler, placeholder: this.placeholder || "", readOnly: this.readOnly, ref: this.setChildNumberElRef, tabIndex: this.disabled ? -1 : 0, type: "text", value: this.localizedValue })) : null;
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;
416
429
  const childEl = [
417
- h(this.childElType, { "aria-label": getLabelText(this), autofocus: this.autofocus ? true : null, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, 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, 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 }),
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 }),
418
431
  this.isTextarea ? (h("div", { class: CSS.resizeIconWrapper }, h("calcite-icon", { icon: "chevron-down", scale: "s" }))) : null
419
432
  ];
420
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"
@@ -2,81 +2,7 @@
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
- import { attachShadow, 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$1 = class extends HTMLElement {
15
- constructor() {
16
- super();
17
- this.__registerHost();
18
- attachShadow(this);
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$1 = /*@__PURE__*/ proxyCustomElement(CalciteLabel$1, [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$1() {
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$1);
75
- }
76
- break;
77
- } });
78
- }
79
- defineCustomElement$1();
5
+ import { C as CalciteLabel$1, d as defineCustomElement$1 } from './calcite-label2.js';
80
6
 
81
7
  const CalciteLabel = CalciteLabel$1;
82
8
  const defineCustomElement = defineCustomElement$1;
@@ -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 };
@@ -2,7 +2,7 @@
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
- import { attachShadow, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { h, Host, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { a as getElementDir, C as CSS_UTILITY, f as focusElement } from './dom.js';
7
7
  import { d as defineCustomElement$1 } from './calcite-icon2.js';
8
8
 
@@ -12,7 +12,7 @@ let CalciteLink = class extends HTMLElement {
12
12
  constructor() {
13
13
  super();
14
14
  this.__registerHost();
15
- attachShadow(this);
15
+ this.__attachShadow();
16
16
  //--------------------------------------------------------------------------
17
17
  //
18
18
  // Properties
@@ -2,7 +2,7 @@
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
- import { attachShadow, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { h, Host, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { C as CalciteHeading, c as constrainHeadingLevel } from './CalciteHeading.js';
7
7
 
8
8
  const CSS = {
@@ -17,7 +17,7 @@ let CalciteListItemGroup$1 = class extends HTMLElement {
17
17
  constructor() {
18
18
  super();
19
19
  this.__registerHost();
20
- attachShadow(this);
20
+ this.__attachShadow();
21
21
  }
22
22
  // --------------------------------------------------------------------------
23
23
  //
@@ -2,7 +2,7 @@
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
- import { attachShadow, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { h, Host, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { b as getSlotted } from './dom.js';
7
7
 
8
8
  const CSS = {
@@ -31,7 +31,7 @@ let CalciteListItem$1 = class extends HTMLElement {
31
31
  constructor() {
32
32
  super();
33
33
  this.__registerHost();
34
- attachShadow(this);
34
+ this.__attachShadow();
35
35
  // --------------------------------------------------------------------------
36
36
  //
37
37
  // Properties
@@ -2,7 +2,7 @@
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
- import { attachShadow, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { h, Host, proxyCustomElement } from '@stencil/core/internal/client';
6
6
 
7
7
  const CSS = {
8
8
  container: "container"
@@ -14,7 +14,7 @@ let CalciteList$1 = class extends HTMLElement {
14
14
  constructor() {
15
15
  super();
16
16
  this.__registerHost();
17
- attachShadow(this);
17
+ this.__attachShadow();
18
18
  }
19
19
  // --------------------------------------------------------------------------
20
20
  //