@esri/calcite-components 1.0.0-next.555 → 1.0.0-next.558

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 (975) hide show
  1. package/dist/calcite/calcite.esm.js +2 -2
  2. package/dist/calcite/calcite.js +1 -2
  3. package/dist/calcite/index.esm.js +1 -1
  4. package/dist/calcite/p-0502b22a.entry.js +6 -0
  5. package/dist/calcite/p-0585d9b0.system.js +6 -0
  6. package/dist/calcite/{p-7a166b72.js → p-0a25ae1d.js} +1 -1
  7. package/dist/calcite/p-0c5b3cdc.entry.js +6 -0
  8. package/dist/calcite/p-0f1c3595.entry.js +6 -0
  9. package/dist/calcite/{p-2d842d9a.system.js → p-11cd0b55.system.js} +1 -1
  10. package/dist/calcite/p-13b6a2db.system.entry.js +6 -0
  11. package/dist/calcite/p-16069fb4.entry.js +6 -0
  12. package/dist/calcite/p-1624bc55.entry.js +6 -0
  13. package/dist/calcite/p-163e53ca.system.entry.js +6 -0
  14. package/dist/calcite/{p-a4282f1a.system.js → p-16b0453b.system.js} +2 -2
  15. package/dist/calcite/{p-bccf0c9c.js → p-1780784a.js} +1 -1
  16. package/dist/calcite/p-17cec6b8.js +6 -0
  17. package/dist/calcite/p-1d34c38f.system.entry.js +6 -0
  18. package/dist/calcite/p-1ea94d85.system.js +6 -0
  19. package/dist/calcite/p-20fe4e1c.entry.js +6 -0
  20. package/dist/calcite/p-21a37a5a.system.entry.js +6 -0
  21. package/dist/calcite/p-23171b1f.entry.js +6 -0
  22. package/dist/calcite/p-248a7087.entry.js +6 -0
  23. package/dist/calcite/p-24e0057b.system.entry.js +6 -0
  24. package/dist/calcite/{p-5dc6e439.system.entry.js → p-252107ab.system.entry.js} +2 -2
  25. package/dist/calcite/p-25b7fd0f.system.entry.js +6 -0
  26. package/dist/calcite/p-26273b21.js +6 -0
  27. package/dist/calcite/p-27582ec7.system.entry.js +6 -0
  28. package/dist/calcite/p-27702d50.js +6 -0
  29. package/dist/calcite/{p-227a252e.system.js → p-278787aa.system.js} +2 -2
  30. package/dist/calcite/p-27c53d51.system.entry.js +6 -0
  31. package/dist/calcite/{p-2f020c2d.system.entry.js → p-296d468f.system.entry.js} +2 -2
  32. package/dist/calcite/p-298b97f9.system.entry.js +6 -0
  33. package/dist/calcite/{p-44886675.entry.js → p-29e0e784.entry.js} +2 -2
  34. package/dist/calcite/p-2a4c534d.entry.js +6 -0
  35. package/dist/calcite/p-2ad51122.system.entry.js +6 -0
  36. package/dist/calcite/{p-195189ef.js → p-2b6d4553.js} +1 -1
  37. package/dist/calcite/p-2d4c8374.entry.js +6 -0
  38. package/dist/calcite/p-30348a01.system.entry.js +6 -0
  39. package/dist/calcite/{p-6196f2dd.js → p-345e415d.js} +1 -1
  40. package/dist/calcite/p-370725ef.system.entry.js +6 -0
  41. package/dist/calcite/p-3ad6772a.system.entry.js +6 -0
  42. package/dist/calcite/{p-c6df95fa.js → p-3ad6d2f3.js} +2 -2
  43. package/dist/calcite/p-3e1d0059.js +7 -0
  44. package/dist/calcite/p-3e2de5d1.entry.js +6 -0
  45. package/dist/calcite/p-418bac53.entry.js +6 -0
  46. package/dist/calcite/{p-5ee8ef60.system.entry.js → p-41d697dd.system.entry.js} +2 -2
  47. package/dist/calcite/p-4226038a.system.js +6 -0
  48. package/dist/calcite/p-43ce8839.system.entry.js +6 -0
  49. package/dist/calcite/{p-9586f6bb.system.entry.js → p-4accd508.system.entry.js} +2 -2
  50. package/dist/calcite/p-4c97a4c0.system.entry.js +6 -0
  51. package/dist/calcite/p-4de78a11.system.entry.js +6 -0
  52. package/dist/calcite/p-5026acc2.entry.js +6 -0
  53. package/dist/calcite/{p-db697c19.entry.js → p-5137cd32.entry.js} +2 -2
  54. package/dist/calcite/p-51c4e7a5.system.entry.js +6 -0
  55. package/dist/calcite/p-520886c8.entry.js +6 -0
  56. package/dist/calcite/p-5283065b.system.entry.js +6 -0
  57. package/dist/calcite/p-53882968.system.entry.js +6 -0
  58. package/dist/calcite/p-54ece05e.entry.js +6 -0
  59. package/dist/calcite/p-56f18add.system.entry.js +6 -0
  60. package/dist/calcite/p-5a689203.entry.js +6 -0
  61. package/dist/calcite/p-5b16c537.system.entry.js +6 -0
  62. package/dist/calcite/{p-dddf9e4d.js → p-5f806683.js} +2 -2
  63. package/dist/calcite/p-64c1170a.system.js +7 -0
  64. package/dist/calcite/p-653a188c.system.entry.js +6 -0
  65. package/dist/calcite/p-67046baf.entry.js +6 -0
  66. package/dist/calcite/{p-0b11a5a1.system.js → p-69525da6.system.js} +1 -1
  67. package/dist/calcite/p-6a73d11c.entry.js +6 -0
  68. package/dist/calcite/p-6b187c35.entry.js +6 -0
  69. package/dist/calcite/p-6b2f0a31.entry.js +6 -0
  70. package/dist/calcite/{p-1ca0ad6e.system.js → p-6b8ab74c.system.js} +1 -1
  71. package/dist/calcite/p-6c4cc60d.entry.js +6 -0
  72. package/dist/calcite/{p-146ed0dd.system.js → p-6c5b88d2.system.js} +2 -2
  73. package/dist/calcite/{p-decbe7ed.js → p-6e8e1b87.js} +1 -1
  74. package/dist/calcite/{p-74f4cb8e.entry.js → p-6ec1ff4a.entry.js} +2 -2
  75. package/dist/calcite/p-71332596.system.entry.js +6 -0
  76. package/dist/calcite/{p-cc0da6be.js → p-729dafa9.js} +2 -2
  77. package/dist/calcite/p-731ee2d8.entry.js +6 -0
  78. package/dist/calcite/p-74013d2a.entry.js +6 -0
  79. package/dist/calcite/p-7405884d.system.entry.js +6 -0
  80. package/dist/calcite/{p-38442b01.js → p-744a85fc.js} +1 -1
  81. package/dist/calcite/p-74bcb1a9.system.entry.js +6 -0
  82. package/dist/calcite/{p-e7ed1888.system.js → p-75667417.system.js} +3 -3
  83. package/dist/calcite/p-756dad9a.system.entry.js +6 -0
  84. package/dist/calcite/p-75d29835.js +6 -0
  85. package/dist/calcite/{p-6d51bc7e.system.js → p-79a538f7.system.js} +2 -2
  86. package/dist/calcite/{p-2dcf1cd2.js → p-7c227bdd.js} +1 -1
  87. package/dist/calcite/p-7c576702.entry.js +6 -0
  88. package/dist/calcite/p-80558bde.entry.js +6 -0
  89. package/dist/calcite/p-80739d04.js +6 -0
  90. package/dist/calcite/p-81457908.system.entry.js +6 -0
  91. package/dist/calcite/{p-ba3069e3.system.entry.js → p-846eface.system.entry.js} +2 -2
  92. package/dist/calcite/{p-40bbc319.system.js → p-862fedaa.system.js} +1 -1
  93. package/dist/calcite/p-885eab8d.entry.js +6 -0
  94. package/dist/calcite/{p-14e6315a.js → p-886763cb.js} +1 -1
  95. package/dist/calcite/{p-27e2f0f4.system.js → p-8890d3e2.system.js} +2 -2
  96. package/dist/calcite/{p-00c5f906.js → p-9026d188.js} +1 -1
  97. package/dist/calcite/p-91750177.system.entry.js +6 -0
  98. package/dist/calcite/p-921e04d7.system.entry.js +6 -0
  99. package/dist/calcite/{p-52f7f724.system.entry.js → p-9343b006.system.entry.js} +2 -2
  100. package/dist/calcite/p-9376e452.entry.js +6 -0
  101. package/dist/calcite/p-946f25aa.system.entry.js +6 -0
  102. package/dist/calcite/p-95d31dd3.system.entry.js +6 -0
  103. package/dist/calcite/{p-51256bf8.system.js → p-97de2524.system.js} +1 -1
  104. package/dist/calcite/p-9cddf1fe.entry.js +6 -0
  105. package/dist/calcite/p-9e82f611.system.entry.js +6 -0
  106. package/dist/calcite/p-9f851997.entry.js +6 -0
  107. package/dist/calcite/{p-e6a10287.js → p-9fc45886.js} +2 -2
  108. package/dist/calcite/p-a00387d5.system.entry.js +6 -0
  109. package/dist/calcite/{p-ae93e565.system.js → p-a24243df.system.js} +1 -1
  110. package/dist/calcite/p-a243d424.system.entry.js +6 -0
  111. package/dist/calcite/{p-76460fff.entry.js → p-a39a5d5a.entry.js} +2 -2
  112. package/dist/calcite/p-a4816e39.system.entry.js +6 -0
  113. package/dist/calcite/{p-32c1ce43.system.js → p-aa8213fa.system.js} +1 -1
  114. package/dist/calcite/p-aaf54fd7.entry.js +6 -0
  115. package/dist/calcite/p-abf77f86.system.entry.js +6 -0
  116. package/dist/calcite/p-acfc5ac5.system.js +6 -0
  117. package/dist/calcite/p-ae18c7bf.entry.js +6 -0
  118. package/dist/calcite/p-b0c56132.js +6 -0
  119. package/dist/calcite/{p-4f290f4e.system.entry.js → p-b5d4ec2a.system.entry.js} +2 -2
  120. package/dist/calcite/{p-6652cc68.system.js → p-b7994742.system.js} +1 -1
  121. package/dist/calcite/{p-dac3d31f.system.js → p-b7a91027.system.js} +1 -1
  122. package/dist/calcite/p-b7e18a02.system.entry.js +6 -0
  123. package/dist/calcite/{p-9f0372c9.system.js → p-ba2891fa.system.js} +1 -1
  124. package/dist/calcite/p-bb5ca21b.system.entry.js +6 -0
  125. package/dist/calcite/p-bbc0e97b.entry.js +6 -0
  126. package/dist/calcite/{p-bc7efd76.js → p-bc8c7786.js} +1 -1
  127. package/dist/calcite/p-bfe19402.entry.js +6 -0
  128. package/dist/calcite/{p-ce591076.system.js → p-bffb1382.system.js} +1 -1
  129. package/dist/calcite/{p-6a5d4ccf.entry.js → p-c03cff6e.entry.js} +2 -2
  130. package/dist/calcite/p-c81af029.entry.js +6 -0
  131. package/dist/calcite/{p-b885b760.entry.js → p-cab52e4a.entry.js} +2 -2
  132. package/dist/calcite/p-cab89beb.system.entry.js +6 -0
  133. package/dist/calcite/p-cd058c74.entry.js +6 -0
  134. package/dist/calcite/{p-59ca7885.js → p-ce5c7763.js} +2 -2
  135. package/dist/calcite/p-d09c30b8.entry.js +6 -0
  136. package/dist/calcite/{p-76b94fbb.js → p-d2a5f28b.js} +1 -1
  137. package/dist/calcite/{p-77c81298.js → p-d3118cd1.js} +1 -1
  138. package/dist/calcite/p-d4476ddd.system.js +6 -0
  139. package/dist/calcite/p-d47c3a7e.system.entry.js +6 -0
  140. package/dist/calcite/p-d4bc3dd2.system.entry.js +6 -0
  141. package/dist/calcite/p-d6bc2ae1.entry.js +6 -0
  142. package/dist/calcite/p-d8c77767.system.entry.js +6 -0
  143. package/dist/calcite/p-dd6caec5.entry.js +6 -0
  144. package/dist/calcite/{p-869468f0.system.js → p-de559994.system.js} +1 -1
  145. package/dist/calcite/p-dedc61b7.system.entry.js +6 -0
  146. package/dist/calcite/p-dfa49523.entry.js +6 -0
  147. package/dist/calcite/p-e0fba098.system.entry.js +6 -0
  148. package/dist/calcite/{p-aea77395.js → p-e1742743.js} +1 -1
  149. package/dist/calcite/{p-f0fcc82a.system.js → p-e17accb1.system.js} +1 -1
  150. package/dist/calcite/{p-ad8b9a54.system.js → p-e1a96b23.system.js} +1 -1
  151. package/dist/calcite/p-e2de398a.system.js +6 -0
  152. package/dist/calcite/{p-1a5ea6da.system.js → p-e3e1be6d.system.js} +2 -2
  153. package/dist/calcite/p-e6d58c04.entry.js +6 -0
  154. package/dist/calcite/p-e805f85d.entry.js +6 -0
  155. package/dist/calcite/p-e825b522.system.entry.js +6 -0
  156. package/dist/calcite/p-e82aa633.entry.js +6 -0
  157. package/dist/calcite/p-e860007f.entry.js +6 -0
  158. package/dist/calcite/p-e92f9fc6.js +6 -0
  159. package/dist/calcite/{p-680d47d8.entry.js → p-e9e4a131.entry.js} +2 -2
  160. package/dist/calcite/{p-d9a46e7a.system.entry.js → p-e9f55090.system.entry.js} +2 -2
  161. package/dist/calcite/p-ea2e9a14.entry.js +6 -0
  162. package/dist/calcite/{p-e188228d.system.entry.js → p-ea379196.entry.js} +3 -3
  163. package/dist/calcite/{p-de9c10d5.js → p-ebbddc76.js} +2 -2
  164. package/dist/calcite/p-ec25f6fa.entry.js +6 -0
  165. package/dist/calcite/p-ec84d66e.system.entry.js +6 -0
  166. package/dist/calcite/p-ecbd3a0f.entry.js +6 -0
  167. package/dist/calcite/p-ed09c602.system.entry.js +6 -0
  168. package/dist/calcite/p-eea513ed.system.entry.js +6 -0
  169. package/dist/calcite/p-f0994aca.entry.js +6 -0
  170. package/dist/calcite/{p-437442cd.entry.js → p-f0c66e92.entry.js} +2 -2
  171. package/dist/calcite/p-f2928c5a.entry.js +6 -0
  172. package/dist/calcite/{p-925a1f1e.system.js → p-f3480eb2.system.js} +2 -2
  173. package/dist/calcite/{p-5b34148e.entry.js → p-f54eed18.entry.js} +2 -2
  174. package/dist/calcite/p-f7faffd2.system.entry.js +6 -0
  175. package/dist/calcite/p-f8b0e4f1.system.entry.js +6 -0
  176. package/dist/calcite/p-fa077fb9.entry.js +6 -0
  177. package/dist/calcite/{p-c887f742.system.entry.js → p-fdc4da44.system.entry.js} +2 -2
  178. package/dist/cjs/{ExpandToggle-a148ca3a.js → ExpandToggle-1c0fba17.js} +5 -5
  179. package/dist/cjs/{Heading-f5821e3b.js → Heading-bbd94693.js} +2 -2
  180. package/dist/cjs/app-globals-f4f5b4f3.js +50 -0
  181. package/dist/cjs/{array-ce68f4cd.js → array-04b71de0.js} +1 -1
  182. package/dist/cjs/calcite-accordion_2.cjs.entry.js +9 -8
  183. package/dist/cjs/calcite-action-bar.cjs.entry.js +11 -10
  184. package/dist/cjs/calcite-action-group.cjs.entry.js +9 -8
  185. package/dist/cjs/calcite-action-menu.cjs.entry.js +15 -8
  186. package/dist/cjs/calcite-action-pad.cjs.entry.js +10 -9
  187. package/dist/cjs/calcite-action.cjs.entry.js +7 -6
  188. package/dist/cjs/calcite-alert.cjs.entry.js +7 -6
  189. package/dist/cjs/calcite-avatar.cjs.entry.js +6 -5
  190. package/dist/cjs/calcite-block_2.cjs.entry.js +11 -9
  191. package/dist/cjs/calcite-button.cjs.entry.js +9 -8
  192. package/dist/cjs/calcite-card.cjs.entry.js +7 -6
  193. package/dist/cjs/calcite-checkbox.cjs.entry.js +10 -8
  194. package/dist/cjs/calcite-chip.cjs.entry.js +7 -6
  195. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +15 -14
  196. package/dist/cjs/calcite-combobox_3.cjs.entry.js +39 -20
  197. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +19 -18
  198. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +36 -19
  199. package/dist/cjs/calcite-fab.cjs.entry.js +6 -5
  200. package/dist/cjs/calcite-filter.cjs.entry.js +9 -7
  201. package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
  202. package/dist/cjs/calcite-graph_2.cjs.entry.js +33 -31
  203. package/dist/cjs/calcite-handle.cjs.entry.js +7 -4
  204. package/dist/cjs/calcite-icon.cjs.entry.js +6 -5
  205. package/dist/cjs/calcite-inline-editable.cjs.entry.js +23 -19
  206. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +26 -16
  207. package/dist/cjs/calcite-input-message.cjs.entry.js +5 -4
  208. package/dist/cjs/calcite-input-number.cjs.entry.js +17 -14
  209. package/dist/cjs/calcite-input-text.cjs.entry.js +14 -11
  210. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +36 -21
  211. package/dist/cjs/calcite-input.cjs.entry.js +17 -14
  212. package/dist/cjs/calcite-label.cjs.entry.js +6 -5
  213. package/dist/cjs/calcite-link.cjs.entry.js +7 -6
  214. package/dist/cjs/calcite-list_3.cjs.entry.js +9 -8
  215. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  216. package/dist/cjs/calcite-modal.cjs.entry.js +10 -8
  217. package/dist/cjs/calcite-notice.cjs.entry.js +8 -7
  218. package/dist/cjs/calcite-option_3.cjs.entry.js +14 -13
  219. package/dist/cjs/calcite-pagination.cjs.entry.js +5 -5
  220. package/dist/cjs/calcite-panel.cjs.entry.js +12 -10
  221. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +12 -11
  222. package/dist/cjs/calcite-popover_2.cjs.entry.js +17 -10
  223. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  224. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +8 -8
  225. package/dist/cjs/calcite-radio-button.cjs.entry.js +18 -16
  226. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +19 -18
  227. package/dist/cjs/calcite-rating.cjs.entry.js +18 -17
  228. package/dist/cjs/calcite-scrim.cjs.entry.js +4 -5
  229. package/dist/cjs/calcite-shell_3.cjs.entry.js +18 -17
  230. package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
  231. package/dist/cjs/calcite-split-button.cjs.entry.js +17 -13
  232. package/dist/cjs/calcite-stepper_2.cjs.entry.js +23 -22
  233. package/dist/cjs/calcite-switch.cjs.entry.js +15 -14
  234. package/dist/cjs/calcite-tab_4.cjs.entry.js +8 -7
  235. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
  236. package/dist/cjs/calcite-tile.cjs.entry.js +8 -7
  237. package/dist/cjs/calcite-tip_3.cjs.entry.js +8 -7
  238. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +12 -6
  239. package/dist/cjs/calcite-tree_2.cjs.entry.js +11 -10
  240. package/dist/cjs/calcite-value-list_2.cjs.entry.js +15 -11
  241. package/dist/cjs/calcite.cjs.js +6 -3
  242. package/dist/cjs/{conditionalSlot-9af3512f.js → conditionalSlot-c5d23706.js} +3 -3
  243. package/dist/cjs/{debounce-b7489443.js → debounce-8565a616.js} +1 -1
  244. package/dist/cjs/{dom-d6b74aa3.js → dom-14e5af32.js} +4 -18
  245. package/dist/cjs/{filter-c245e6df.js → filter-e6823373.js} +2 -2
  246. package/dist/cjs/{floating-ui-f9976acd.js → floating-ui-f1794a41.js} +59 -10
  247. package/dist/cjs/{form-7c9f751c.js → form-d0c52805.js} +6 -4
  248. package/dist/cjs/{guid-4a4f363a.js → guid-0cd4a810.js} +1 -1
  249. package/dist/cjs/{index-a63e0c6e.js → index-1551f0c3.js} +5 -10
  250. package/dist/cjs/index.cjs.js +1 -1
  251. package/dist/cjs/{interactive-3049b1d7.js → interactive-b6c7ef94.js} +1 -1
  252. package/dist/cjs/{interfaces-6d2c9b90.js → interfaces-36e5c0a3.js} +1 -1
  253. package/dist/cjs/{key-62b8adda.js → key-c7d73dea.js} +1 -1
  254. package/dist/cjs/{label-6ebcd769.js → label-3c08392d.js} +2 -2
  255. package/dist/cjs/loader.cjs.js +6 -3
  256. package/dist/cjs/{locale-0df5a0db.js → locale-acfba29a.js} +2 -2
  257. package/dist/cjs/{math-90fee1c0.js → math-437432fd.js} +1 -1
  258. package/dist/cjs/{observers-f8b22aed.js → observers-36262a56.js} +1 -1
  259. package/dist/cjs/{openCloseComponent-b069a5fb.js → openCloseComponent-9ca34c15.js} +1 -1
  260. package/dist/cjs/{resources-86c37e47.js → resources-1a5e5de5.js} +5 -5
  261. package/dist/cjs/{resources-0c58f706.js → resources-2ad5cd52.js} +1 -1
  262. package/dist/cjs/{resources-7195d5f1.js → resources-a8470dd3.js} +3 -3
  263. package/dist/cjs/{resources-d5c7882f.js → resources-dbdd4e73.js} +1 -1
  264. package/dist/cjs/resources-f351edf3.js +24 -0
  265. package/dist/cjs/{sortable.esm-f742b318.js → sortable.esm-c6b45879.js} +1 -1
  266. package/dist/cjs/{utils-3d436716.js → utils-f923cce9.js} +1 -1
  267. package/dist/collection/collection-manifest.json +3 -2
  268. package/dist/collection/components/accordion/accordion.js +2 -2
  269. package/dist/collection/components/accordion/interfaces.js +1 -1
  270. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  271. package/dist/collection/components/accordion-item/interfaces.js +1 -1
  272. package/dist/collection/components/accordion-item/resources.js +1 -1
  273. package/dist/collection/components/action/action.js +1 -1
  274. package/dist/collection/components/action/resources.js +1 -1
  275. package/dist/collection/components/action-bar/action-bar.js +1 -1
  276. package/dist/collection/components/action-bar/resources.js +1 -1
  277. package/dist/collection/components/action-bar/utils.js +1 -1
  278. package/dist/collection/components/action-group/action-group.js +1 -1
  279. package/dist/collection/components/action-group/resources.js +1 -1
  280. package/dist/collection/components/action-menu/action-menu.js +9 -3
  281. package/dist/collection/components/action-menu/resources.js +1 -1
  282. package/dist/collection/components/action-pad/action-pad.js +1 -1
  283. package/dist/collection/components/action-pad/resources.js +1 -1
  284. package/dist/collection/components/alert/alert.js +1 -1
  285. package/dist/collection/components/alert/interfaces.js +1 -1
  286. package/dist/collection/components/alert/resources.js +1 -1
  287. package/dist/collection/components/avatar/avatar.js +1 -1
  288. package/dist/collection/components/avatar/utils.js +1 -1
  289. package/dist/collection/components/block/block.js +1 -1
  290. package/dist/collection/components/block/resources.js +1 -1
  291. package/dist/collection/components/block-section/block-section.js +3 -2
  292. package/dist/collection/components/block-section/interfaces.js +1 -1
  293. package/dist/collection/components/block-section/resources.js +1 -1
  294. package/dist/collection/components/button/button.js +1 -1
  295. package/dist/collection/components/button/interfaces.js +1 -1
  296. package/dist/collection/components/button/resources.js +1 -1
  297. package/dist/collection/components/card/card.js +1 -1
  298. package/dist/collection/components/card/resources.js +1 -1
  299. package/dist/collection/components/checkbox/checkbox.js +3 -2
  300. package/dist/collection/components/chip/chip.js +1 -1
  301. package/dist/collection/components/chip/interfaces.js +1 -1
  302. package/dist/collection/components/chip/resources.js +1 -1
  303. package/dist/collection/components/color-picker/color-picker.js +6 -6
  304. package/dist/collection/components/color-picker/interfaces.js +1 -1
  305. package/dist/collection/components/color-picker/resources.js +1 -1
  306. package/dist/collection/components/color-picker/utils.js +1 -1
  307. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +2 -2
  308. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  309. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  310. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  311. package/dist/collection/components/combobox/combobox.js +27 -9
  312. package/dist/collection/components/combobox/interfaces.js +1 -1
  313. package/dist/collection/components/combobox/resources.js +1 -1
  314. package/dist/collection/components/combobox/utils.js +1 -1
  315. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  316. package/dist/collection/components/combobox-item/resources.js +1 -1
  317. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  318. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  319. package/dist/collection/components/date-picker/date-picker.js +1 -1
  320. package/dist/collection/components/date-picker/interfaces.js +1 -1
  321. package/dist/collection/components/date-picker/resources.js +1 -1
  322. package/dist/collection/components/date-picker/utils.js +1 -1
  323. package/dist/collection/components/date-picker-day/date-picker-day.js +4 -3
  324. package/dist/collection/components/date-picker-month/date-picker-month.js +4 -1
  325. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +5 -7
  326. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  327. package/dist/collection/components/dropdown/dropdown.js +29 -13
  328. package/dist/collection/components/dropdown/interfaces.js +1 -1
  329. package/dist/collection/components/dropdown/resources.js +1 -1
  330. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  331. package/dist/collection/components/dropdown-group/interfaces.js +1 -1
  332. package/dist/collection/components/dropdown-group/resources.js +1 -1
  333. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  334. package/dist/collection/components/dropdown-item/resources.js +1 -1
  335. package/dist/collection/components/fab/fab.js +1 -1
  336. package/dist/collection/components/fab/resources.js +1 -1
  337. package/dist/collection/components/filter/filter.js +2 -1
  338. package/dist/collection/components/filter/resources.js +1 -1
  339. package/dist/collection/components/flow/flow.js +1 -1
  340. package/dist/collection/components/flow/interfaces.js +1 -1
  341. package/dist/collection/components/flow/resources.js +1 -1
  342. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  343. package/dist/collection/components/functional/Heading.js +1 -1
  344. package/dist/collection/components/graph/graph.js +1 -1
  345. package/dist/collection/components/graph/interfaces.js +1 -1
  346. package/dist/collection/components/graph/util.js +1 -1
  347. package/dist/collection/components/handle/handle.js +4 -2
  348. package/dist/collection/components/handle/resources.js +1 -1
  349. package/dist/collection/components/icon/icon.js +1 -1
  350. package/dist/collection/components/icon/resources.js +1 -1
  351. package/dist/collection/components/icon/utils.js +1 -1
  352. package/dist/collection/components/inline-editable/inline-editable.js +16 -13
  353. package/dist/collection/components/inline-editable/resources.js +1 -1
  354. package/dist/collection/components/input/input.js +4 -2
  355. package/dist/collection/components/input/interfaces.js +1 -1
  356. package/dist/collection/components/input/resources.js +1 -1
  357. package/dist/collection/components/input-date-picker/input-date-picker.js +15 -6
  358. package/dist/collection/components/input-date-picker/resources.js +1 -1
  359. package/dist/collection/components/input-message/input-message.js +1 -1
  360. package/dist/collection/components/input-message/interfaces.js +1 -1
  361. package/dist/collection/components/input-number/input-number.js +4 -2
  362. package/dist/collection/components/input-number/interfaces.js +1 -1
  363. package/dist/collection/components/input-number/resources.js +1 -1
  364. package/dist/collection/components/input-text/input-text.js +4 -2
  365. package/dist/collection/components/input-text/resources.js +1 -1
  366. package/dist/collection/components/input-time-picker/input-time-picker.js +11 -4
  367. package/dist/collection/components/interfaces.js +1 -1
  368. package/dist/collection/components/label/label.js +1 -1
  369. package/dist/collection/components/label/resources.js +1 -1
  370. package/dist/collection/components/link/link.js +1 -1
  371. package/dist/collection/components/list/list.js +1 -1
  372. package/dist/collection/components/list/resources.js +1 -1
  373. package/dist/collection/components/list-item/list-item.js +1 -1
  374. package/dist/collection/components/list-item/resources.js +1 -1
  375. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  376. package/dist/collection/components/list-item-group/resources.js +1 -1
  377. package/dist/collection/components/loader/loader.js +1 -1
  378. package/dist/collection/components/modal/interfaces.js +1 -1
  379. package/dist/collection/components/modal/modal.js +3 -2
  380. package/dist/collection/components/modal/resources.js +1 -1
  381. package/dist/collection/components/notice/notice.js +1 -1
  382. package/dist/collection/components/notice/resources.js +1 -1
  383. package/dist/collection/components/option/option.js +1 -1
  384. package/dist/collection/components/option-group/option-group.js +1 -1
  385. package/dist/collection/components/pagination/pagination.js +1 -1
  386. package/dist/collection/components/pagination/resources.js +1 -1
  387. package/dist/collection/components/panel/panel.js +3 -2
  388. package/dist/collection/components/panel/resources.js +1 -1
  389. package/dist/collection/components/pick-list/pick-list.js +1 -1
  390. package/dist/collection/components/pick-list/resources.js +1 -1
  391. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  392. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  393. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  394. package/dist/collection/components/pick-list-group/resources.js +1 -1
  395. package/dist/collection/components/pick-list-item/pick-list-item.js +3 -3
  396. package/dist/collection/components/pick-list-item/resources.js +1 -1
  397. package/dist/collection/components/popover/PopoverManager.js +3 -2
  398. package/dist/collection/components/popover/popover.js +8 -3
  399. package/dist/collection/components/popover/resources.js +1 -1
  400. package/dist/collection/components/popover-manager/popover-manager.js +1 -1
  401. package/dist/collection/components/progress/progress.js +1 -1
  402. package/dist/collection/components/radio-button/radio-button.js +21 -20
  403. package/dist/collection/components/radio-button/resources.js +1 -1
  404. package/dist/collection/components/radio-button-group/radio-button-group.js +13 -13
  405. package/dist/collection/components/radio-group/interfaces.js +1 -1
  406. package/dist/collection/components/radio-group/radio-group.js +19 -19
  407. package/dist/collection/components/radio-group-item/radio-group-item.js +9 -9
  408. package/dist/collection/components/radio-group-item/resources.js +1 -1
  409. package/dist/collection/components/rating/rating.css +1 -1
  410. package/dist/collection/components/rating/rating.js +22 -22
  411. package/dist/collection/components/rating/resources.js +1 -1
  412. package/dist/collection/components/scrim/resources.js +1 -1
  413. package/dist/collection/components/scrim/scrim.js +5 -6
  414. package/dist/collection/components/select/resources.js +1 -1
  415. package/dist/collection/components/select/select.css +2 -2
  416. package/dist/collection/components/select/select.js +15 -15
  417. package/dist/collection/components/shell/resources.js +1 -1
  418. package/dist/collection/components/shell/shell.css +1 -1
  419. package/dist/collection/components/shell/shell.js +7 -7
  420. package/dist/collection/components/shell-center-row/resources.js +1 -1
  421. package/dist/collection/components/shell-center-row/shell-center-row.js +9 -9
  422. package/dist/collection/components/shell-panel/resources.js +1 -1
  423. package/dist/collection/components/shell-panel/shell-panel.js +17 -17
  424. package/dist/collection/components/slider/slider.js +41 -40
  425. package/dist/collection/components/sortable-list/resources.js +1 -1
  426. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  427. package/dist/collection/components/split-button/resources.js +1 -1
  428. package/dist/collection/components/split-button/split-button.js +32 -28
  429. package/dist/collection/components/stepper/interfaces.js +1 -1
  430. package/dist/collection/components/stepper/stepper.js +21 -21
  431. package/dist/collection/components/stepper-item/stepper-item.js +19 -19
  432. package/dist/collection/components/switch/switch.js +17 -17
  433. package/dist/collection/components/tab/interfaces.js +1 -1
  434. package/dist/collection/components/tab/tab.js +1 -1
  435. package/dist/collection/components/tab-nav/tab-nav.css +4 -0
  436. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  437. package/dist/collection/components/tab-title/tab-title.js +1 -1
  438. package/dist/collection/components/tabs/interfaces.js +1 -1
  439. package/dist/collection/components/tabs/resources.js +1 -1
  440. package/dist/collection/components/tabs/tabs.js +1 -1
  441. package/dist/collection/components/tile/resources.js +1 -1
  442. package/dist/collection/components/tile/tile.js +1 -1
  443. package/dist/collection/components/tile-select/interfaces.js +1 -1
  444. package/dist/collection/components/tile-select/resources.js +1 -1
  445. package/dist/collection/components/tile-select/tile-select.js +1 -1
  446. package/dist/collection/components/tile-select-group/interfaces.js +1 -1
  447. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  448. package/dist/collection/components/time-picker/resources.js +1 -1
  449. package/dist/collection/components/time-picker/time-picker.js +17 -10
  450. package/dist/collection/components/tip/resources.js +1 -1
  451. package/dist/collection/components/tip/tip.js +1 -1
  452. package/dist/collection/components/tip-group/tip-group.js +1 -1
  453. package/dist/collection/components/tip-manager/resources.js +1 -1
  454. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  455. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  456. package/dist/collection/components/tooltip/resources.js +1 -1
  457. package/dist/collection/components/tooltip/tooltip.js +8 -3
  458. package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
  459. package/dist/collection/components/tree/interfaces.js +1 -1
  460. package/dist/collection/components/tree/tree.js +1 -1
  461. package/dist/collection/components/tree-item/interfaces.js +1 -1
  462. package/dist/collection/components/tree-item/resources.js +1 -1
  463. package/dist/collection/components/tree-item/tree-item.js +1 -1
  464. package/dist/collection/components/value-list/interfaces.js +1 -1
  465. package/dist/collection/components/value-list/resources.js +1 -1
  466. package/dist/collection/components/value-list/utils.js +1 -1
  467. package/dist/collection/components/value-list/value-list.js +4 -1
  468. package/dist/collection/components/value-list-item/resources.js +1 -1
  469. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  470. package/dist/collection/utils/array.js +1 -1
  471. package/dist/collection/utils/conditionalSlot.js +1 -1
  472. package/dist/collection/utils/date.js +1 -1
  473. package/dist/collection/utils/dom.js +1 -1
  474. package/dist/collection/utils/filter.js +1 -1
  475. package/dist/collection/utils/floating-ui.js +1 -1
  476. package/dist/collection/utils/form.js +4 -2
  477. package/dist/collection/utils/globalAttributes.js +1 -1
  478. package/dist/collection/utils/globalScript.js +17 -0
  479. package/dist/collection/utils/guid.js +1 -1
  480. package/dist/collection/utils/interactive.js +1 -1
  481. package/dist/collection/utils/key.js +1 -1
  482. package/dist/collection/utils/label.js +1 -1
  483. package/dist/collection/utils/locale.js +1 -1
  484. package/dist/collection/utils/math.js +1 -1
  485. package/dist/collection/utils/number.js +1 -1
  486. package/dist/collection/utils/observers.js +1 -1
  487. package/dist/collection/utils/openCloseComponent.js +1 -1
  488. package/dist/collection/utils/resources.js +3 -3
  489. package/dist/collection/utils/theme.js +31 -0
  490. package/dist/collection/utils/time.js +1 -1
  491. package/dist/components/ExpandToggle.js +1 -1
  492. package/dist/components/Heading.js +1 -1
  493. package/dist/components/action-group.js +1 -1
  494. package/dist/components/action-menu.js +8 -2
  495. package/dist/components/action.js +1 -1
  496. package/dist/components/array.js +1 -1
  497. package/dist/components/button.js +3 -3
  498. package/dist/components/calcite-accordion-item.js +3 -2
  499. package/dist/components/calcite-accordion.js +2 -2
  500. package/dist/components/calcite-action-bar.js +1 -1
  501. package/dist/components/calcite-action-group.js +1 -1
  502. package/dist/components/calcite-action-menu.js +1 -1
  503. package/dist/components/calcite-action-pad.js +1 -1
  504. package/dist/components/calcite-action.js +1 -1
  505. package/dist/components/calcite-alert.js +1 -1
  506. package/dist/components/calcite-avatar.js +1 -1
  507. package/dist/components/calcite-block-section.js +3 -2
  508. package/dist/components/calcite-block.js +1 -1
  509. package/dist/components/calcite-button.js +1 -1
  510. package/dist/components/calcite-card.js +2 -2
  511. package/dist/components/calcite-checkbox.js +1 -1
  512. package/dist/components/calcite-chip.js +1 -1
  513. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  514. package/dist/components/calcite-color-picker-swatch.js +1 -1
  515. package/dist/components/calcite-color-picker.js +6 -6
  516. package/dist/components/calcite-combobox-item-group.js +1 -1
  517. package/dist/components/calcite-combobox-item.js +1 -1
  518. package/dist/components/calcite-combobox.js +29 -11
  519. package/dist/components/calcite-date-picker-day.js +1 -1
  520. package/dist/components/calcite-date-picker-month-header.js +1 -1
  521. package/dist/components/calcite-date-picker-month.js +1 -1
  522. package/dist/components/calcite-date-picker.js +1 -1
  523. package/dist/components/calcite-dropdown-group.js +1 -1
  524. package/dist/components/calcite-dropdown-item.js +1 -1
  525. package/dist/components/calcite-dropdown.js +1 -1
  526. package/dist/components/calcite-fab.js +1 -1
  527. package/dist/components/calcite-filter.js +2 -2
  528. package/dist/components/calcite-flow.js +1 -1
  529. package/dist/components/calcite-graph.js +1 -1
  530. package/dist/components/calcite-handle.js +1 -1
  531. package/dist/components/calcite-icon.js +1 -1
  532. package/dist/components/calcite-inline-editable.js +17 -14
  533. package/dist/components/calcite-input-date-picker.js +17 -8
  534. package/dist/components/calcite-input-message.js +1 -1
  535. package/dist/components/calcite-input-number.js +7 -4
  536. package/dist/components/calcite-input-text.js +7 -4
  537. package/dist/components/calcite-input-time-picker.js +12 -5
  538. package/dist/components/calcite-input.js +1 -1
  539. package/dist/components/calcite-label.js +2 -2
  540. package/dist/components/calcite-link.js +1 -1
  541. package/dist/components/calcite-list-item-group.js +1 -1
  542. package/dist/components/calcite-list-item.js +1 -1
  543. package/dist/components/calcite-list.js +1 -1
  544. package/dist/components/calcite-loader.js +1 -1
  545. package/dist/components/calcite-modal.js +4 -3
  546. package/dist/components/calcite-notice.js +1 -1
  547. package/dist/components/calcite-option-group.js +1 -1
  548. package/dist/components/calcite-option.js +1 -1
  549. package/dist/components/calcite-pagination.js +1 -1
  550. package/dist/components/calcite-panel.js +3 -2
  551. package/dist/components/calcite-pick-list-group.js +2 -2
  552. package/dist/components/calcite-pick-list-item.js +1 -1
  553. package/dist/components/calcite-pick-list.js +3 -3
  554. package/dist/components/calcite-popover-manager.js +1 -1
  555. package/dist/components/calcite-popover.js +1 -1
  556. package/dist/components/calcite-progress.js +1 -1
  557. package/dist/components/calcite-radio-button-group.js +6 -6
  558. package/dist/components/calcite-radio-button.js +11 -10
  559. package/dist/components/calcite-radio-group-item.js +4 -4
  560. package/dist/components/calcite-radio-group.js +10 -10
  561. package/dist/components/calcite-rating.js +11 -11
  562. package/dist/components/calcite-scrim.js +1 -1
  563. package/dist/components/calcite-select.js +7 -7
  564. package/dist/components/calcite-shell-center-row.js +4 -4
  565. package/dist/components/calcite-shell-panel.js +7 -7
  566. package/dist/components/calcite-shell.js +2 -2
  567. package/dist/components/calcite-slider.js +18 -17
  568. package/dist/components/calcite-sortable-list.js +1 -1
  569. package/dist/components/calcite-split-button.js +15 -11
  570. package/dist/components/calcite-stepper-item.js +9 -9
  571. package/dist/components/calcite-stepper.js +10 -10
  572. package/dist/components/calcite-switch.js +1 -1
  573. package/dist/components/calcite-tab-nav.js +1 -1
  574. package/dist/components/calcite-tab-title.js +1 -1
  575. package/dist/components/calcite-tab.js +1 -1
  576. package/dist/components/calcite-tabs.js +1 -1
  577. package/dist/components/calcite-tile-select-group.js +1 -1
  578. package/dist/components/calcite-tile-select.js +1 -1
  579. package/dist/components/calcite-tile.js +1 -1
  580. package/dist/components/calcite-time-picker.js +1 -1
  581. package/dist/components/calcite-tip-group.js +1 -1
  582. package/dist/components/calcite-tip-manager.js +2 -2
  583. package/dist/components/calcite-tip.js +2 -2
  584. package/dist/components/calcite-tooltip-manager.js +1 -1
  585. package/dist/components/calcite-tooltip.js +8 -3
  586. package/dist/components/calcite-tree-item.js +3 -2
  587. package/dist/components/calcite-tree.js +2 -2
  588. package/dist/components/calcite-value-list-item.js +2 -2
  589. package/dist/components/calcite-value-list.js +5 -2
  590. package/dist/components/checkbox.js +4 -3
  591. package/dist/components/chip.js +1 -1
  592. package/dist/components/color-picker-hex-input.js +2 -2
  593. package/dist/components/color-picker-swatch.js +1 -1
  594. package/dist/components/conditionalSlot.js +1 -1
  595. package/dist/components/date-picker-day.js +6 -4
  596. package/dist/components/date-picker-month-header.js +6 -8
  597. package/dist/components/date-picker-month.js +4 -1
  598. package/dist/components/date-picker.js +1 -1
  599. package/dist/components/date.js +2 -2
  600. package/dist/components/debounce.js +1 -1
  601. package/dist/components/dom.js +3 -15
  602. package/dist/components/dropdown.js +29 -13
  603. package/dist/components/filter.js +741 -168
  604. package/dist/components/filter2.js +169 -741
  605. package/dist/components/floating-ui.js +59 -10
  606. package/dist/components/form.js +5 -3
  607. package/dist/components/graph.js +1 -1
  608. package/dist/components/guid.js +1 -1
  609. package/dist/components/handle.js +3 -1
  610. package/dist/components/icon.js +1 -1
  611. package/dist/components/index.d.ts +5 -92
  612. package/dist/components/index.js +44 -93
  613. package/dist/components/input.js +7 -4
  614. package/dist/components/interactive.js +1 -1
  615. package/dist/components/interfaces.js +1 -1
  616. package/dist/components/interfaces2.js +1 -1
  617. package/dist/components/key.js +1 -1
  618. package/dist/components/label.js +112 -87
  619. package/dist/components/label2.js +87 -112
  620. package/dist/components/link.js +3 -2
  621. package/dist/components/loader.js +1 -1
  622. package/dist/components/locale.js +1 -1
  623. package/dist/components/math.js +1 -1
  624. package/dist/components/observers.js +1 -1
  625. package/dist/components/openCloseComponent.js +1 -1
  626. package/dist/components/pick-list-item.js +2 -2
  627. package/dist/components/popover.js +10 -4
  628. package/dist/components/progress.js +1 -1
  629. package/dist/components/resources.js +12 -12
  630. package/dist/components/resources2.js +10 -7
  631. package/dist/components/resources3.js +6 -23
  632. package/dist/components/resources4.js +33 -0
  633. package/dist/components/scrim.js +3 -4
  634. package/dist/components/shared-list-render.js +3 -3
  635. package/dist/components/sortable.esm.js +1 -1
  636. package/dist/components/switch.js +9 -9
  637. package/dist/components/tab-nav.js +3 -3
  638. package/dist/components/tab-title.js +1 -1
  639. package/dist/components/tab.js +1 -1
  640. package/dist/components/tabs.js +1 -1
  641. package/dist/components/tile.js +1 -1
  642. package/dist/components/time-picker.js +17 -10
  643. package/dist/components/utils.js +1 -1
  644. package/dist/components/utils2.js +1 -1
  645. package/dist/custom-elements/index.js +375 -192
  646. package/dist/esm/{ExpandToggle-97163e28.js → ExpandToggle-03b5e1d5.js} +5 -5
  647. package/dist/esm/{Heading-b360e930.js → Heading-047b0cdc.js} +2 -2
  648. package/dist/esm/app-globals-51b23e15.js +48 -0
  649. package/dist/esm/{array-73ce298b.js → array-d8ba8c7e.js} +1 -1
  650. package/dist/esm/calcite-accordion_2.entry.js +8 -7
  651. package/dist/esm/calcite-action-bar.entry.js +11 -10
  652. package/dist/esm/calcite-action-group.entry.js +9 -8
  653. package/dist/esm/calcite-action-menu.entry.js +15 -8
  654. package/dist/esm/calcite-action-pad.entry.js +10 -9
  655. package/dist/esm/calcite-action.entry.js +7 -6
  656. package/dist/esm/calcite-alert.entry.js +7 -6
  657. package/dist/esm/calcite-avatar.entry.js +6 -5
  658. package/dist/esm/calcite-block_2.entry.js +11 -9
  659. package/dist/esm/calcite-button.entry.js +9 -8
  660. package/dist/esm/calcite-card.entry.js +7 -6
  661. package/dist/esm/calcite-checkbox.entry.js +10 -8
  662. package/dist/esm/calcite-chip.entry.js +7 -6
  663. package/dist/esm/calcite-color-picker_3.entry.js +15 -14
  664. package/dist/esm/calcite-combobox_3.entry.js +39 -20
  665. package/dist/esm/calcite-date-picker_4.entry.js +18 -17
  666. package/dist/esm/calcite-dropdown_3.entry.js +36 -19
  667. package/dist/esm/calcite-fab.entry.js +6 -5
  668. package/dist/esm/calcite-filter.entry.js +9 -7
  669. package/dist/esm/calcite-flow.entry.js +3 -3
  670. package/dist/esm/calcite-graph_2.entry.js +25 -23
  671. package/dist/esm/calcite-handle.entry.js +7 -4
  672. package/dist/esm/calcite-icon.entry.js +6 -5
  673. package/dist/esm/calcite-inline-editable.entry.js +23 -19
  674. package/dist/esm/calcite-input-date-picker.entry.js +26 -16
  675. package/dist/esm/calcite-input-message.entry.js +5 -4
  676. package/dist/esm/calcite-input-number.entry.js +15 -12
  677. package/dist/esm/calcite-input-text.entry.js +12 -9
  678. package/dist/esm/calcite-input-time-picker_2.entry.js +36 -21
  679. package/dist/esm/calcite-input.entry.js +15 -12
  680. package/dist/esm/calcite-label.entry.js +6 -5
  681. package/dist/esm/calcite-link.entry.js +6 -5
  682. package/dist/esm/calcite-list_3.entry.js +9 -8
  683. package/dist/esm/calcite-loader.entry.js +3 -3
  684. package/dist/esm/calcite-modal.entry.js +10 -8
  685. package/dist/esm/calcite-notice.entry.js +8 -7
  686. package/dist/esm/calcite-option_3.entry.js +14 -13
  687. package/dist/esm/calcite-pagination.entry.js +5 -5
  688. package/dist/esm/calcite-panel.entry.js +12 -10
  689. package/dist/esm/calcite-pick-list_3.entry.js +12 -11
  690. package/dist/esm/calcite-popover_2.entry.js +17 -10
  691. package/dist/esm/calcite-progress.entry.js +2 -2
  692. package/dist/esm/calcite-radio-button-group.entry.js +8 -8
  693. package/dist/esm/calcite-radio-button.entry.js +18 -16
  694. package/dist/esm/calcite-radio-group_2.entry.js +19 -18
  695. package/dist/esm/calcite-rating.entry.js +18 -17
  696. package/dist/esm/calcite-scrim.entry.js +4 -5
  697. package/dist/esm/calcite-shell_3.entry.js +18 -17
  698. package/dist/esm/calcite-sortable-list.entry.js +5 -5
  699. package/dist/esm/calcite-split-button.entry.js +17 -13
  700. package/dist/esm/calcite-stepper_2.entry.js +23 -22
  701. package/dist/esm/calcite-switch.entry.js +15 -14
  702. package/dist/esm/calcite-tab_4.entry.js +8 -7
  703. package/dist/esm/calcite-tile-select_2.entry.js +4 -4
  704. package/dist/esm/calcite-tile.entry.js +8 -7
  705. package/dist/esm/calcite-tip_3.entry.js +8 -7
  706. package/dist/esm/calcite-tooltip_2.entry.js +12 -6
  707. package/dist/esm/calcite-tree_2.entry.js +7 -6
  708. package/dist/esm/calcite-value-list_2.entry.js +15 -11
  709. package/dist/esm/calcite.js +6 -3
  710. package/dist/esm/{conditionalSlot-68e70981.js → conditionalSlot-26b969d3.js} +3 -3
  711. package/dist/esm/{debounce-a98ec801.js → debounce-5345e0be.js} +1 -1
  712. package/dist/esm/{dom-857f52aa.js → dom-c10efc2c.js} +4 -16
  713. package/dist/esm/{filter-752f4716.js → filter-117ae85d.js} +2 -2
  714. package/dist/esm/{floating-ui-4945e4cf.js → floating-ui-406554be.js} +59 -10
  715. package/dist/esm/{form-f701eca6.js → form-1bdffa27.js} +6 -4
  716. package/dist/esm/{guid-9fa1232c.js → guid-474ffdfd.js} +1 -1
  717. package/dist/esm/{index-0574569e.js → index-c054e517.js} +5 -10
  718. package/dist/esm/index.js +1 -1
  719. package/dist/esm/{interactive-dbfd10e0.js → interactive-8995ce7f.js} +1 -1
  720. package/dist/esm/{interfaces-ca06ad36.js → interfaces-e4871505.js} +1 -1
  721. package/dist/esm/{key-919e156a.js → key-9207ff34.js} +1 -1
  722. package/dist/esm/{label-771af339.js → label-6adb2d63.js} +2 -2
  723. package/dist/esm/loader.js +6 -3
  724. package/dist/esm/{locale-90025a6e.js → locale-16ed87c7.js} +2 -2
  725. package/dist/esm/{math-1c325da4.js → math-f945d4d5.js} +1 -1
  726. package/dist/esm/{observers-f804dccd.js → observers-3abc495b.js} +1 -1
  727. package/dist/esm/{openCloseComponent-71b8504c.js → openCloseComponent-0e0f40f0.js} +1 -1
  728. package/dist/esm/{resources-54afc41e.js → resources-46a8f154.js} +5 -5
  729. package/dist/esm/resources-db29e676.js +19 -0
  730. package/dist/esm/{resources-9b0091a8.js → resources-df14e68c.js} +1 -1
  731. package/dist/esm/{resources-e8a5c846.js → resources-e4516415.js} +3 -3
  732. package/dist/esm/{resources-69f1bf66.js → resources-e6bf7975.js} +1 -1
  733. package/dist/esm/{sortable.esm-09992f6b.js → sortable.esm-10070431.js} +1 -1
  734. package/dist/esm/{utils-4ca0b110.js → utils-996a3c90.js} +1 -1
  735. package/dist/esm-es5/{ExpandToggle-97163e28.js → ExpandToggle-03b5e1d5.js} +2 -2
  736. package/dist/esm-es5/{Heading-b360e930.js → Heading-047b0cdc.js} +2 -2
  737. package/dist/esm-es5/app-globals-51b23e15.js +6 -0
  738. package/dist/esm-es5/{array-73ce298b.js → array-d8ba8c7e.js} +1 -1
  739. package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
  740. package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
  741. package/dist/esm-es5/calcite-action-group.entry.js +2 -2
  742. package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
  743. package/dist/esm-es5/calcite-action-pad.entry.js +2 -2
  744. package/dist/esm-es5/calcite-action.entry.js +2 -2
  745. package/dist/esm-es5/calcite-alert.entry.js +2 -2
  746. package/dist/esm-es5/calcite-avatar.entry.js +2 -2
  747. package/dist/esm-es5/calcite-block_2.entry.js +2 -2
  748. package/dist/esm-es5/calcite-button.entry.js +2 -2
  749. package/dist/esm-es5/calcite-card.entry.js +2 -2
  750. package/dist/esm-es5/calcite-checkbox.entry.js +3 -3
  751. package/dist/esm-es5/calcite-chip.entry.js +2 -2
  752. package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
  753. package/dist/esm-es5/calcite-combobox_3.entry.js +3 -3
  754. package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
  755. package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -2
  756. package/dist/esm-es5/calcite-fab.entry.js +3 -3
  757. package/dist/esm-es5/calcite-filter.entry.js +2 -2
  758. package/dist/esm-es5/calcite-flow.entry.js +2 -2
  759. package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
  760. package/dist/esm-es5/calcite-handle.entry.js +2 -2
  761. package/dist/esm-es5/calcite-icon.entry.js +2 -2
  762. package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
  763. package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
  764. package/dist/esm-es5/calcite-input-message.entry.js +2 -2
  765. package/dist/esm-es5/calcite-input-number.entry.js +3 -3
  766. package/dist/esm-es5/calcite-input-text.entry.js +2 -2
  767. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
  768. package/dist/esm-es5/calcite-input.entry.js +2 -2
  769. package/dist/esm-es5/calcite-label.entry.js +2 -2
  770. package/dist/esm-es5/calcite-link.entry.js +3 -3
  771. package/dist/esm-es5/calcite-list_3.entry.js +2 -2
  772. package/dist/esm-es5/calcite-loader.entry.js +2 -2
  773. package/dist/esm-es5/calcite-modal.entry.js +2 -2
  774. package/dist/esm-es5/calcite-notice.entry.js +3 -3
  775. package/dist/esm-es5/calcite-option_3.entry.js +2 -2
  776. package/dist/esm-es5/calcite-pagination.entry.js +2 -2
  777. package/dist/esm-es5/calcite-panel.entry.js +2 -2
  778. package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
  779. package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
  780. package/dist/esm-es5/calcite-progress.entry.js +2 -2
  781. package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
  782. package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
  783. package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
  784. package/dist/esm-es5/calcite-rating.entry.js +3 -3
  785. package/dist/esm-es5/calcite-scrim.entry.js +2 -2
  786. package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
  787. package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
  788. package/dist/esm-es5/calcite-split-button.entry.js +2 -2
  789. package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
  790. package/dist/esm-es5/calcite-switch.entry.js +3 -3
  791. package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
  792. package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
  793. package/dist/esm-es5/calcite-tile.entry.js +2 -2
  794. package/dist/esm-es5/calcite-tip_3.entry.js +2 -2
  795. package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
  796. package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
  797. package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
  798. package/dist/esm-es5/calcite.js +2 -2
  799. package/dist/esm-es5/{conditionalSlot-68e70981.js → conditionalSlot-26b969d3.js} +2 -2
  800. package/dist/esm-es5/{debounce-a98ec801.js → debounce-5345e0be.js} +1 -1
  801. package/dist/esm-es5/dom-c10efc2c.js +6 -0
  802. package/dist/esm-es5/{filter-752f4716.js → filter-117ae85d.js} +2 -2
  803. package/dist/esm-es5/floating-ui-406554be.js +6 -0
  804. package/dist/esm-es5/form-1bdffa27.js +6 -0
  805. package/dist/esm-es5/{guid-9fa1232c.js → guid-474ffdfd.js} +1 -1
  806. package/dist/esm-es5/index-c054e517.js +7 -0
  807. package/dist/esm-es5/index.js +1 -1
  808. package/dist/esm-es5/{interactive-dbfd10e0.js → interactive-8995ce7f.js} +1 -1
  809. package/dist/esm-es5/{interfaces-ca06ad36.js → interfaces-e4871505.js} +1 -1
  810. package/dist/esm-es5/{key-919e156a.js → key-9207ff34.js} +1 -1
  811. package/dist/esm-es5/{label-771af339.js → label-6adb2d63.js} +2 -2
  812. package/dist/esm-es5/loader.js +2 -2
  813. package/dist/esm-es5/{locale-90025a6e.js → locale-16ed87c7.js} +2 -2
  814. package/dist/esm-es5/{math-1c325da4.js → math-f945d4d5.js} +1 -1
  815. package/dist/esm-es5/{observers-f804dccd.js → observers-3abc495b.js} +1 -1
  816. package/dist/esm-es5/{openCloseComponent-71b8504c.js → openCloseComponent-0e0f40f0.js} +1 -1
  817. package/dist/esm-es5/{resources-54afc41e.js → resources-46a8f154.js} +2 -2
  818. package/dist/esm-es5/resources-db29e676.js +6 -0
  819. package/dist/esm-es5/{resources-9b0091a8.js → resources-df14e68c.js} +1 -1
  820. package/dist/esm-es5/{resources-e8a5c846.js → resources-e4516415.js} +2 -2
  821. package/dist/esm-es5/{resources-69f1bf66.js → resources-e6bf7975.js} +1 -1
  822. package/dist/esm-es5/{sortable.esm-09992f6b.js → sortable.esm-10070431.js} +1 -1
  823. package/dist/esm-es5/{utils-4ca0b110.js → utils-996a3c90.js} +1 -1
  824. package/dist/extras/docs-json.json +166 -166
  825. package/dist/loader/cdn.js +1 -1
  826. package/dist/loader/index.cjs.js +1 -1
  827. package/dist/loader/index.es2017.js +1 -1
  828. package/dist/loader/index.js +1 -1
  829. package/dist/types/components/action-menu/action-menu.d.ts +6 -1
  830. package/dist/types/components/checkbox/checkbox.d.ts +2 -2
  831. package/dist/types/components/combobox/combobox.d.ts +6 -1
  832. package/dist/types/components/dropdown/dropdown.d.ts +6 -1
  833. package/dist/types/components/handle/handle.d.ts +1 -1
  834. package/dist/types/components/input-date-picker/input-date-picker.d.ts +7 -2
  835. package/dist/types/components/input-time-picker/input-time-picker.d.ts +1 -1
  836. package/dist/types/components/pick-list-item/pick-list-item.d.ts +2 -2
  837. package/dist/types/components/popover/popover.d.ts +6 -1
  838. package/dist/types/components/radio-button/radio-button.d.ts +13 -13
  839. package/dist/types/components/radio-button-group/radio-button-group.d.ts +7 -7
  840. package/dist/types/components/radio-group/radio-group.d.ts +10 -10
  841. package/dist/types/components/radio-group-item/radio-group-item.d.ts +5 -5
  842. package/dist/types/components/rating/rating.d.ts +12 -12
  843. package/dist/types/components/scrim/scrim.d.ts +2 -3
  844. package/dist/types/components/select/select.d.ts +9 -9
  845. package/dist/types/components/shell/shell.d.ts +5 -5
  846. package/dist/types/components/shell-center-row/shell-center-row.d.ts +5 -5
  847. package/dist/types/components/shell-panel/shell-panel.d.ts +10 -10
  848. package/dist/types/components/slider/slider.d.ts +32 -29
  849. package/dist/types/components/split-button/split-button.d.ts +24 -20
  850. package/dist/types/components/stepper/stepper.d.ts +11 -11
  851. package/dist/types/components/stepper-item/stepper-item.d.ts +15 -15
  852. package/dist/types/components/switch/switch.d.ts +11 -11
  853. package/dist/types/components/tooltip/tooltip.d.ts +6 -1
  854. package/dist/types/components.d.ts +266 -266
  855. package/dist/types/utils/form.d.ts +3 -2
  856. package/dist/types/utils/globalScript.d.ts +6 -0
  857. package/dist/types/utils/resources.d.ts +2 -0
  858. package/dist/types/utils/theme.d.ts +4 -0
  859. package/hydrate/index.js +388 -379
  860. package/package.json +11 -11
  861. package/readme.md +2 -2
  862. package/dist/calcite/p-01012ed9.system.entry.js +0 -6
  863. package/dist/calcite/p-011cf492.system.entry.js +0 -6
  864. package/dist/calcite/p-01473985.entry.js +0 -6
  865. package/dist/calcite/p-0a96aef2.entry.js +0 -6
  866. package/dist/calcite/p-0b439e6f.system.entry.js +0 -6
  867. package/dist/calcite/p-0d158c9f.system.js +0 -6
  868. package/dist/calcite/p-0d18b215.entry.js +0 -6
  869. package/dist/calcite/p-0dabbf0f.system.js +0 -7
  870. package/dist/calcite/p-0fb15543.system.entry.js +0 -6
  871. package/dist/calcite/p-12d5e438.system.entry.js +0 -6
  872. package/dist/calcite/p-14237bb7.entry.js +0 -6
  873. package/dist/calcite/p-1501b176.system.entry.js +0 -6
  874. package/dist/calcite/p-154b77af.entry.js +0 -6
  875. package/dist/calcite/p-16c2985a.system.entry.js +0 -6
  876. package/dist/calcite/p-1a140bf4.system.entry.js +0 -6
  877. package/dist/calcite/p-1b1ad5eb.system.entry.js +0 -6
  878. package/dist/calcite/p-1b948cf3.entry.js +0 -6
  879. package/dist/calcite/p-1d459237.system.entry.js +0 -6
  880. package/dist/calcite/p-1d79f363.entry.js +0 -6
  881. package/dist/calcite/p-24e38bcc.entry.js +0 -6
  882. package/dist/calcite/p-260e6a14.entry.js +0 -6
  883. package/dist/calcite/p-2871e3ae.system.entry.js +0 -6
  884. package/dist/calcite/p-287c704c.system.entry.js +0 -6
  885. package/dist/calcite/p-2b34ab26.entry.js +0 -6
  886. package/dist/calcite/p-2c217ec5.entry.js +0 -6
  887. package/dist/calcite/p-2c9079c6.entry.js +0 -6
  888. package/dist/calcite/p-2ccdad29.entry.js +0 -6
  889. package/dist/calcite/p-2f0da36b.entry.js +0 -6
  890. package/dist/calcite/p-30828f96.system.entry.js +0 -6
  891. package/dist/calcite/p-31dd32bb.system.js +0 -6
  892. package/dist/calcite/p-322c560f.entry.js +0 -6
  893. package/dist/calcite/p-35c7b500.system.entry.js +0 -6
  894. package/dist/calcite/p-36726890.entry.js +0 -6
  895. package/dist/calcite/p-397d796b.system.js +0 -6
  896. package/dist/calcite/p-3a1a580f.system.entry.js +0 -6
  897. package/dist/calcite/p-3d70ba59.entry.js +0 -6
  898. package/dist/calcite/p-42bae2a8.system.entry.js +0 -6
  899. package/dist/calcite/p-43ff85ce.entry.js +0 -6
  900. package/dist/calcite/p-4783ebf1.entry.js +0 -6
  901. package/dist/calcite/p-4bac732f.entry.js +0 -6
  902. package/dist/calcite/p-4bd3b2f2.entry.js +0 -6
  903. package/dist/calcite/p-51cc1fb5.system.js +0 -6
  904. package/dist/calcite/p-56370690.entry.js +0 -6
  905. package/dist/calcite/p-56d3d91c.entry.js +0 -6
  906. package/dist/calcite/p-58d33448.system.entry.js +0 -6
  907. package/dist/calcite/p-5c8b3ff4.system.entry.js +0 -6
  908. package/dist/calcite/p-5d472921.system.entry.js +0 -6
  909. package/dist/calcite/p-5f63aa1a.entry.js +0 -6
  910. package/dist/calcite/p-6739b6a3.entry.js +0 -6
  911. package/dist/calcite/p-722b0b81.js +0 -6
  912. package/dist/calcite/p-72ed246e.system.entry.js +0 -6
  913. package/dist/calcite/p-75d626ef.system.entry.js +0 -6
  914. package/dist/calcite/p-773dc64c.system.entry.js +0 -6
  915. package/dist/calcite/p-7b64493a.system.entry.js +0 -6
  916. package/dist/calcite/p-811ca56e.js +0 -6
  917. package/dist/calcite/p-816aa9c2.entry.js +0 -6
  918. package/dist/calcite/p-8578e964.entry.js +0 -6
  919. package/dist/calcite/p-857f367d.entry.js +0 -6
  920. package/dist/calcite/p-86d97e22.entry.js +0 -6
  921. package/dist/calcite/p-8ba6b1e9.entry.js +0 -6
  922. package/dist/calcite/p-8c528406.system.entry.js +0 -6
  923. package/dist/calcite/p-8cc4a869.js +0 -6
  924. package/dist/calcite/p-8ef36d3f.system.entry.js +0 -6
  925. package/dist/calcite/p-8fa6560a.entry.js +0 -6
  926. package/dist/calcite/p-92315cbf.system.entry.js +0 -6
  927. package/dist/calcite/p-935abcb9.system.entry.js +0 -6
  928. package/dist/calcite/p-98913c1f.entry.js +0 -6
  929. package/dist/calcite/p-9a61e33b.system.entry.js +0 -6
  930. package/dist/calcite/p-9adfa6e4.system.entry.js +0 -6
  931. package/dist/calcite/p-9c0854b8.system.entry.js +0 -6
  932. package/dist/calcite/p-a213dd26.js +0 -6
  933. package/dist/calcite/p-a2fed2e5.js +0 -6
  934. package/dist/calcite/p-a9072e62.entry.js +0 -6
  935. package/dist/calcite/p-ab5f5702.system.entry.js +0 -6
  936. package/dist/calcite/p-af508381.js +0 -7
  937. package/dist/calcite/p-af5f39c0.system.entry.js +0 -6
  938. package/dist/calcite/p-aff50424.entry.js +0 -6
  939. package/dist/calcite/p-b07a89da.entry.js +0 -6
  940. package/dist/calcite/p-b0a49830.system.entry.js +0 -6
  941. package/dist/calcite/p-b13196ac.system.entry.js +0 -6
  942. package/dist/calcite/p-b27ec36f.entry.js +0 -6
  943. package/dist/calcite/p-b36d6254.entry.js +0 -6
  944. package/dist/calcite/p-b68c3e91.system.entry.js +0 -6
  945. package/dist/calcite/p-b70f5356.system.entry.js +0 -6
  946. package/dist/calcite/p-b961207d.system.entry.js +0 -6
  947. package/dist/calcite/p-baa453d2.entry.js +0 -6
  948. package/dist/calcite/p-bacbe7c9.entry.js +0 -6
  949. package/dist/calcite/p-bb557bb0.system.entry.js +0 -6
  950. package/dist/calcite/p-be506ed2.entry.js +0 -6
  951. package/dist/calcite/p-be6a504f.system.entry.js +0 -6
  952. package/dist/calcite/p-bee574f5.entry.js +0 -6
  953. package/dist/calcite/p-c0f25bd3.entry.js +0 -6
  954. package/dist/calcite/p-c1e9a3a4.entry.js +0 -6
  955. package/dist/calcite/p-c3ab76fc.system.entry.js +0 -6
  956. package/dist/calcite/p-c5662068.entry.js +0 -6
  957. package/dist/calcite/p-c94563be.system.entry.js +0 -6
  958. package/dist/calcite/p-d11255b1.entry.js +0 -6
  959. package/dist/calcite/p-d178bc57.entry.js +0 -6
  960. package/dist/calcite/p-dc44672a.system.entry.js +0 -6
  961. package/dist/calcite/p-e084e045.system.entry.js +0 -6
  962. package/dist/calcite/p-e58f3069.system.entry.js +0 -6
  963. package/dist/calcite/p-ea2b2c74.entry.js +0 -6
  964. package/dist/calcite/p-ecd11b87.entry.js +0 -6
  965. package/dist/calcite/p-ed8e7d94.system.entry.js +0 -6
  966. package/dist/calcite/p-f25495f0.system.entry.js +0 -6
  967. package/dist/calcite/p-f3f38baf.system.entry.js +0 -6
  968. package/dist/calcite/p-f6a58746.system.entry.js +0 -6
  969. package/dist/calcite/p-f8c4c14b.system.entry.js +0 -6
  970. package/dist/calcite/p-fc03ab91.entry.js +0 -6
  971. package/dist/calcite/p-fe633404.entry.js +0 -6
  972. package/dist/esm-es5/dom-857f52aa.js +0 -6
  973. package/dist/esm-es5/floating-ui-4945e4cf.js +0 -6
  974. package/dist/esm-es5/form-f701eca6.js +0 -6
  975. package/dist/esm-es5/index-0574569e.js +0 -7
@@ -1,759 +1,187 @@
1
1
  /*!
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
- * v1.0.0-next.555
5
- */
6
- import { a as isSymbol, S as Symbol, i as isObject, b as baseGetTag, c as isObjectLike, r as root, f as freeGlobal } from './debounce.js';
7
-
8
- /**
9
- * A specialized version of `_.map` for arrays without support for iteratee
10
- * shorthands.
11
- *
12
- * @private
13
- * @param {Array} [array] The array to iterate over.
14
- * @param {Function} iteratee The function invoked per iteration.
15
- * @returns {Array} Returns the new mapped array.
16
- */
17
- function arrayMap(array, iteratee) {
18
- var index = -1,
19
- length = array == null ? 0 : array.length,
20
- result = Array(length);
21
-
22
- while (++index < length) {
23
- result[index] = iteratee(array[index], index, array);
4
+ * v1.0.0-next.558
5
+ */
6
+ import { proxyCustomElement, HTMLElement, createEvent, h, Fragment } from '@stencil/core/internal/client';
7
+ import { f as focusElement } from './dom.js';
8
+ import { u as updateHostInteraction } from './interactive.js';
9
+ import { f as filter } from './filter.js';
10
+ import { d as defineCustomElement$3 } from './icon.js';
11
+ import { d as defineCustomElement$2 } from './input.js';
12
+ import { d as defineCustomElement$1 } from './progress.js';
13
+ import { d as debounce } from './debounce.js';
14
+
15
+ const CSS = {
16
+ container: "container",
17
+ searchIcon: "search-icon"
18
+ };
19
+ const TEXT = {
20
+ filterLabel: "Filter",
21
+ clear: "Clear filter"
22
+ };
23
+ const ICONS = {
24
+ search: "search",
25
+ close: "x"
26
+ };
27
+ const DEBOUNCE_TIMEOUT = 250;
28
+
29
+ const filterCss = "@-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:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.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}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:-ms-flexbox;display:flex;inline-size:100%}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{display:-ms-flexbox;display:flex;inline-size:100%;padding:0.5rem}label{position:relative;margin-inline:0.25rem;margin-block:0px;display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex-align:center;align-items:center;overflow:hidden}input[type=text]{-webkit-margin-after:0.25rem;margin-block-end:0.25rem;inline-size:100%;border-style:none;background-color:transparent;padding-block:0.25rem;font-family:inherit;font-size:var(--calcite-font-size--2);line-height:1rem;color:var(--calcite-ui-text-1);-webkit-padding-end:0.25rem;padding-inline-end:0.25rem;-webkit-padding-start:1.5rem;padding-inline-start:1.5rem;-webkit-transition:padding var(--calcite-animation-timing), -webkit-box-shadow var(--calcite-animation-timing);transition:padding var(--calcite-animation-timing), -webkit-box-shadow var(--calcite-animation-timing);transition:padding var(--calcite-animation-timing), box-shadow var(--calcite-animation-timing);transition:padding var(--calcite-animation-timing), box-shadow var(--calcite-animation-timing), -webkit-box-shadow var(--calcite-animation-timing)}input[type=text]::-ms-clear{display:none}calcite-input{inline-size:100%}.search-icon{position:absolute;display:-ms-flexbox;display:flex;color:var(--calcite-ui-text-2);inset-inline-start:0;-webkit-transition:inset-inline-start var(--calcite-animation-timing), inset-inline-end var(--calcite-animation-timing), opacity var(--calcite-animation-timing);transition:inset-inline-start var(--calcite-animation-timing), inset-inline-end var(--calcite-animation-timing), opacity var(--calcite-animation-timing)}input[type=text]:focus{border-color:var(--calcite-ui-brand);outline:2px solid transparent;outline-offset:2px;padding-inline:0.25rem}input[type=text]:focus~.search-icon{inset-inline-start:calc(1rem * -1);opacity:0}.clear-button{display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;border-width:0px;background-color:transparent;color:var(--calcite-ui-text-2)}.clear-button:hover,.clear-button:focus{color:var(--calcite-ui-text-1)}";
30
+
31
+ const Filter = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
32
+ constructor() {
33
+ super();
34
+ this.__registerHost();
35
+ this.__attachShadow();
36
+ this.calciteFilterChange = createEvent(this, "calciteFilterChange", 6);
37
+ // --------------------------------------------------------------------------
38
+ //
39
+ // Properties
40
+ //
41
+ // --------------------------------------------------------------------------
42
+ /**
43
+ * The items to filter through. The filter uses this as the starting point, and returns items
44
+ * that contain the string entered in the input, using a partial match and recursive search.
45
+ *
46
+ * This property is required.
47
+ */
48
+ this.items = [];
49
+ /**
50
+ * When true, disabled prevents interaction. This state shows items with lower opacity/grayed.
51
+ */
52
+ this.disabled = false;
53
+ /**
54
+ * The resulting items after filtering.
55
+ *
56
+ * @readonly
57
+ */
58
+ this.filteredItems = [];
59
+ /** specify the scale of filter, defaults to m */
60
+ this.scale = "m";
61
+ /**
62
+ * Filter value.
63
+ */
64
+ this.value = "";
65
+ // --------------------------------------------------------------------------
66
+ //
67
+ // Private Methods
68
+ //
69
+ // --------------------------------------------------------------------------
70
+ this.filter = debounce((value, emit = false) => this.updateFiltered(filter(this.items, value), emit), DEBOUNCE_TIMEOUT);
71
+ this.inputHandler = (event) => {
72
+ const target = event.target;
73
+ this.value = target.value;
74
+ this.filter(target.value, true);
75
+ };
76
+ this.keyDownHandler = (event) => {
77
+ if (event.key === "Escape") {
78
+ this.clear();
79
+ event.preventDefault();
80
+ }
81
+ if (event.key === "Enter") {
82
+ event.preventDefault();
83
+ }
84
+ };
85
+ this.clear = () => {
86
+ this.value = "";
87
+ this.filter("", true);
88
+ this.setFocus();
89
+ };
24
90
  }
25
- return result;
26
- }
27
-
28
- /**
29
- * Checks if `value` is classified as an `Array` object.
30
- *
31
- * @static
32
- * @memberOf _
33
- * @since 0.1.0
34
- * @category Lang
35
- * @param {*} value The value to check.
36
- * @returns {boolean} Returns `true` if `value` is an array, else `false`.
37
- * @example
38
- *
39
- * _.isArray([1, 2, 3]);
40
- * // => true
41
- *
42
- * _.isArray(document.body.children);
43
- * // => false
44
- *
45
- * _.isArray('abc');
46
- * // => false
47
- *
48
- * _.isArray(_.noop);
49
- * // => false
50
- */
51
- var isArray = Array.isArray;
52
-
53
- /** Used as references for various `Number` constants. */
54
- var INFINITY = 1 / 0;
55
-
56
- /** Used to convert symbols to primitives and strings. */
57
- var symbolProto = Symbol ? Symbol.prototype : undefined,
58
- symbolToString = symbolProto ? symbolProto.toString : undefined;
59
-
60
- /**
61
- * The base implementation of `_.toString` which doesn't convert nullish
62
- * values to empty strings.
63
- *
64
- * @private
65
- * @param {*} value The value to process.
66
- * @returns {string} Returns the string.
67
- */
68
- function baseToString(value) {
69
- // Exit early for strings to avoid a performance hit in some environments.
70
- if (typeof value == 'string') {
71
- return value;
91
+ watchItemsHandler() {
92
+ this.filter(this.value);
72
93
  }
73
- if (isArray(value)) {
74
- // Recursively convert values (susceptible to call stack limits).
75
- return arrayMap(value, baseToString) + '';
94
+ valueHandler(value) {
95
+ this.filter(value);
76
96
  }
77
- if (isSymbol(value)) {
78
- return symbolToString ? symbolToString.call(value) : '';
97
+ //--------------------------------------------------------------------------
98
+ //
99
+ // Lifecycle
100
+ //
101
+ //--------------------------------------------------------------------------
102
+ componentDidRender() {
103
+ updateHostInteraction(this);
79
104
  }
80
- var result = (value + '');
81
- return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
82
- }
83
-
84
- /**
85
- * This method returns the first argument it receives.
86
- *
87
- * @static
88
- * @since 0.1.0
89
- * @memberOf _
90
- * @category Util
91
- * @param {*} value Any value.
92
- * @returns {*} Returns `value`.
93
- * @example
94
- *
95
- * var object = { 'a': 1 };
96
- *
97
- * console.log(_.identity(object) === object);
98
- * // => true
99
- */
100
- function identity(value) {
101
- return value;
102
- }
103
-
104
- /** `Object#toString` result references. */
105
- var asyncTag = '[object AsyncFunction]',
106
- funcTag$1 = '[object Function]',
107
- genTag = '[object GeneratorFunction]',
108
- proxyTag = '[object Proxy]';
109
-
110
- /**
111
- * Checks if `value` is classified as a `Function` object.
112
- *
113
- * @static
114
- * @memberOf _
115
- * @since 0.1.0
116
- * @category Lang
117
- * @param {*} value The value to check.
118
- * @returns {boolean} Returns `true` if `value` is a function, else `false`.
119
- * @example
120
- *
121
- * _.isFunction(_);
122
- * // => true
123
- *
124
- * _.isFunction(/abc/);
125
- * // => false
126
- */
127
- function isFunction(value) {
128
- if (!isObject(value)) {
129
- return false;
105
+ //--------------------------------------------------------------------------
106
+ //
107
+ // Lifecycle
108
+ //
109
+ //--------------------------------------------------------------------------
110
+ componentWillLoad() {
111
+ this.filter(this.value);
130
112
  }
131
- // The use of `Object#toString` avoids issues with the `typeof` operator
132
- // in Safari 9 which returns 'object' for typed arrays and other constructors.
133
- var tag = baseGetTag(value);
134
- return tag == funcTag$1 || tag == genTag || tag == asyncTag || tag == proxyTag;
135
- }
136
-
137
- /** Used as references for various `Number` constants. */
138
- var MAX_SAFE_INTEGER$1 = 9007199254740991;
139
-
140
- /** Used to detect unsigned integer values. */
141
- var reIsUint = /^(?:0|[1-9]\d*)$/;
142
-
143
- /**
144
- * Checks if `value` is a valid array-like index.
145
- *
146
- * @private
147
- * @param {*} value The value to check.
148
- * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
149
- * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
150
- */
151
- function isIndex(value, length) {
152
- var type = typeof value;
153
- length = length == null ? MAX_SAFE_INTEGER$1 : length;
154
-
155
- return !!length &&
156
- (type == 'number' ||
157
- (type != 'symbol' && reIsUint.test(value))) &&
158
- (value > -1 && value % 1 == 0 && value < length);
159
- }
160
-
161
- /** Used as references for various `Number` constants. */
162
- var MAX_SAFE_INTEGER = 9007199254740991;
163
-
164
- /**
165
- * Checks if `value` is a valid array-like length.
166
- *
167
- * **Note:** This method is loosely based on
168
- * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
169
- *
170
- * @static
171
- * @memberOf _
172
- * @since 4.0.0
173
- * @category Lang
174
- * @param {*} value The value to check.
175
- * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
176
- * @example
177
- *
178
- * _.isLength(3);
179
- * // => true
180
- *
181
- * _.isLength(Number.MIN_VALUE);
182
- * // => false
183
- *
184
- * _.isLength(Infinity);
185
- * // => false
186
- *
187
- * _.isLength('3');
188
- * // => false
189
- */
190
- function isLength(value) {
191
- return typeof value == 'number' &&
192
- value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
193
- }
194
-
195
- /**
196
- * Checks if `value` is array-like. A value is considered array-like if it's
197
- * not a function and has a `value.length` that's an integer greater than or
198
- * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
199
- *
200
- * @static
201
- * @memberOf _
202
- * @since 4.0.0
203
- * @category Lang
204
- * @param {*} value The value to check.
205
- * @returns {boolean} Returns `true` if `value` is array-like, else `false`.
206
- * @example
207
- *
208
- * _.isArrayLike([1, 2, 3]);
209
- * // => true
210
- *
211
- * _.isArrayLike(document.body.children);
212
- * // => true
213
- *
214
- * _.isArrayLike('abc');
215
- * // => true
216
- *
217
- * _.isArrayLike(_.noop);
218
- * // => false
219
- */
220
- function isArrayLike(value) {
221
- return value != null && isLength(value.length) && !isFunction(value);
222
- }
223
-
224
- /** Used for built-in method references. */
225
- var objectProto$3 = Object.prototype;
226
-
227
- /**
228
- * Checks if `value` is likely a prototype object.
229
- *
230
- * @private
231
- * @param {*} value The value to check.
232
- * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
233
- */
234
- function isPrototype(value) {
235
- var Ctor = value && value.constructor,
236
- proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto$3;
237
-
238
- return value === proto;
239
- }
240
-
241
- /**
242
- * The base implementation of `_.times` without support for iteratee shorthands
243
- * or max array length checks.
244
- *
245
- * @private
246
- * @param {number} n The number of times to invoke `iteratee`.
247
- * @param {Function} iteratee The function invoked per iteration.
248
- * @returns {Array} Returns the array of results.
249
- */
250
- function baseTimes(n, iteratee) {
251
- var index = -1,
252
- result = Array(n);
253
-
254
- while (++index < n) {
255
- result[index] = iteratee(index);
113
+ // --------------------------------------------------------------------------
114
+ //
115
+ // Public Methods
116
+ //
117
+ // --------------------------------------------------------------------------
118
+ /** Sets focus on the component. */
119
+ async setFocus() {
120
+ focusElement(this.textInput);
256
121
  }
257
- return result;
258
- }
259
-
260
- /** `Object#toString` result references. */
261
- var argsTag$1 = '[object Arguments]';
262
-
263
- /**
264
- * The base implementation of `_.isArguments`.
265
- *
266
- * @private
267
- * @param {*} value The value to check.
268
- * @returns {boolean} Returns `true` if `value` is an `arguments` object,
269
- */
270
- function baseIsArguments(value) {
271
- return isObjectLike(value) && baseGetTag(value) == argsTag$1;
272
- }
273
-
274
- /** Used for built-in method references. */
275
- var objectProto$2 = Object.prototype;
276
-
277
- /** Used to check objects for own properties. */
278
- var hasOwnProperty$2 = objectProto$2.hasOwnProperty;
279
-
280
- /** Built-in value references. */
281
- var propertyIsEnumerable = objectProto$2.propertyIsEnumerable;
282
-
283
- /**
284
- * Checks if `value` is likely an `arguments` object.
285
- *
286
- * @static
287
- * @memberOf _
288
- * @since 0.1.0
289
- * @category Lang
290
- * @param {*} value The value to check.
291
- * @returns {boolean} Returns `true` if `value` is an `arguments` object,
292
- * else `false`.
293
- * @example
294
- *
295
- * _.isArguments(function() { return arguments; }());
296
- * // => true
297
- *
298
- * _.isArguments([1, 2, 3]);
299
- * // => false
300
- */
301
- var isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {
302
- return isObjectLike(value) && hasOwnProperty$2.call(value, 'callee') &&
303
- !propertyIsEnumerable.call(value, 'callee');
304
- };
305
-
306
- /**
307
- * This method returns `false`.
308
- *
309
- * @static
310
- * @memberOf _
311
- * @since 4.13.0
312
- * @category Util
313
- * @returns {boolean} Returns `false`.
314
- * @example
315
- *
316
- * _.times(2, _.stubFalse);
317
- * // => [false, false]
318
- */
319
- function stubFalse() {
320
- return false;
321
- }
322
-
323
- /** Detect free variable `exports`. */
324
- var freeExports$1 = typeof exports == 'object' && exports && !exports.nodeType && exports;
325
-
326
- /** Detect free variable `module`. */
327
- var freeModule$1 = freeExports$1 && typeof module == 'object' && module && !module.nodeType && module;
328
-
329
- /** Detect the popular CommonJS extension `module.exports`. */
330
- var moduleExports$1 = freeModule$1 && freeModule$1.exports === freeExports$1;
331
-
332
- /** Built-in value references. */
333
- var Buffer = moduleExports$1 ? root.Buffer : undefined;
334
-
335
- /* Built-in method references for those with the same name as other `lodash` methods. */
336
- var nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;
337
-
338
- /**
339
- * Checks if `value` is a buffer.
340
- *
341
- * @static
342
- * @memberOf _
343
- * @since 4.3.0
344
- * @category Lang
345
- * @param {*} value The value to check.
346
- * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.
347
- * @example
348
- *
349
- * _.isBuffer(new Buffer(2));
350
- * // => true
351
- *
352
- * _.isBuffer(new Uint8Array(2));
353
- * // => false
354
- */
355
- var isBuffer = nativeIsBuffer || stubFalse;
356
-
357
- /** `Object#toString` result references. */
358
- var argsTag = '[object Arguments]',
359
- arrayTag = '[object Array]',
360
- boolTag = '[object Boolean]',
361
- dateTag = '[object Date]',
362
- errorTag = '[object Error]',
363
- funcTag = '[object Function]',
364
- mapTag = '[object Map]',
365
- numberTag = '[object Number]',
366
- objectTag = '[object Object]',
367
- regexpTag = '[object RegExp]',
368
- setTag = '[object Set]',
369
- stringTag = '[object String]',
370
- weakMapTag = '[object WeakMap]';
371
-
372
- var arrayBufferTag = '[object ArrayBuffer]',
373
- dataViewTag = '[object DataView]',
374
- float32Tag = '[object Float32Array]',
375
- float64Tag = '[object Float64Array]',
376
- int8Tag = '[object Int8Array]',
377
- int16Tag = '[object Int16Array]',
378
- int32Tag = '[object Int32Array]',
379
- uint8Tag = '[object Uint8Array]',
380
- uint8ClampedTag = '[object Uint8ClampedArray]',
381
- uint16Tag = '[object Uint16Array]',
382
- uint32Tag = '[object Uint32Array]';
383
-
384
- /** Used to identify `toStringTag` values of typed arrays. */
385
- var typedArrayTags = {};
386
- typedArrayTags[float32Tag] = typedArrayTags[float64Tag] =
387
- typedArrayTags[int8Tag] = typedArrayTags[int16Tag] =
388
- typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =
389
- typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =
390
- typedArrayTags[uint32Tag] = true;
391
- typedArrayTags[argsTag] = typedArrayTags[arrayTag] =
392
- typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =
393
- typedArrayTags[dataViewTag] = typedArrayTags[dateTag] =
394
- typedArrayTags[errorTag] = typedArrayTags[funcTag] =
395
- typedArrayTags[mapTag] = typedArrayTags[numberTag] =
396
- typedArrayTags[objectTag] = typedArrayTags[regexpTag] =
397
- typedArrayTags[setTag] = typedArrayTags[stringTag] =
398
- typedArrayTags[weakMapTag] = false;
399
-
400
- /**
401
- * The base implementation of `_.isTypedArray` without Node.js optimizations.
402
- *
403
- * @private
404
- * @param {*} value The value to check.
405
- * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
406
- */
407
- function baseIsTypedArray(value) {
408
- return isObjectLike(value) &&
409
- isLength(value.length) && !!typedArrayTags[baseGetTag(value)];
410
- }
411
-
412
- /**
413
- * The base implementation of `_.unary` without support for storing metadata.
414
- *
415
- * @private
416
- * @param {Function} func The function to cap arguments for.
417
- * @returns {Function} Returns the new capped function.
418
- */
419
- function baseUnary(func) {
420
- return function(value) {
421
- return func(value);
422
- };
423
- }
424
-
425
- /** Detect free variable `exports`. */
426
- var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;
427
-
428
- /** Detect free variable `module`. */
429
- var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;
430
-
431
- /** Detect the popular CommonJS extension `module.exports`. */
432
- var moduleExports = freeModule && freeModule.exports === freeExports;
433
-
434
- /** Detect free variable `process` from Node.js. */
435
- var freeProcess = moduleExports && freeGlobal.process;
436
-
437
- /** Used to access faster Node.js helpers. */
438
- var nodeUtil = (function() {
439
- try {
440
- // Use `util.types` for Node.js 10+.
441
- var types = freeModule && freeModule.require && freeModule.require('util').types;
442
-
443
- if (types) {
444
- return types;
445
- }
446
-
447
- // Legacy `process.binding('util')` for Node.js < 10.
448
- return freeProcess && freeProcess.binding && freeProcess.binding('util');
449
- } catch (e) {}
450
- }());
451
-
452
- /* Node.js helper references. */
453
- var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
454
-
455
- /**
456
- * Checks if `value` is classified as a typed array.
457
- *
458
- * @static
459
- * @memberOf _
460
- * @since 3.0.0
461
- * @category Lang
462
- * @param {*} value The value to check.
463
- * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
464
- * @example
465
- *
466
- * _.isTypedArray(new Uint8Array);
467
- * // => true
468
- *
469
- * _.isTypedArray([]);
470
- * // => false
471
- */
472
- var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;
473
-
474
- /** Used for built-in method references. */
475
- var objectProto$1 = Object.prototype;
476
-
477
- /** Used to check objects for own properties. */
478
- var hasOwnProperty$1 = objectProto$1.hasOwnProperty;
479
-
480
- /**
481
- * Creates an array of the enumerable property names of the array-like `value`.
482
- *
483
- * @private
484
- * @param {*} value The value to query.
485
- * @param {boolean} inherited Specify returning inherited property names.
486
- * @returns {Array} Returns the array of property names.
487
- */
488
- function arrayLikeKeys(value, inherited) {
489
- var isArr = isArray(value),
490
- isArg = !isArr && isArguments(value),
491
- isBuff = !isArr && !isArg && isBuffer(value),
492
- isType = !isArr && !isArg && !isBuff && isTypedArray(value),
493
- skipIndexes = isArr || isArg || isBuff || isType,
494
- result = skipIndexes ? baseTimes(value.length, String) : [],
495
- length = result.length;
496
-
497
- for (var key in value) {
498
- if ((inherited || hasOwnProperty$1.call(value, key)) &&
499
- !(skipIndexes && (
500
- // Safari 9 has enumerable `arguments.length` in strict mode.
501
- key == 'length' ||
502
- // Node.js 0.10 has enumerable non-index properties on buffers.
503
- (isBuff && (key == 'offset' || key == 'parent')) ||
504
- // PhantomJS 2 has enumerable non-index properties on typed arrays.
505
- (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||
506
- // Skip index properties.
507
- isIndex(key, length)
508
- ))) {
509
- result.push(key);
510
- }
511
- }
512
- return result;
513
- }
514
-
515
- /**
516
- * This function is like
517
- * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
518
- * except that it includes inherited enumerable properties.
519
- *
520
- * @private
521
- * @param {Object} object The object to query.
522
- * @returns {Array} Returns the array of property names.
523
- */
524
- function nativeKeysIn(object) {
525
- var result = [];
526
- if (object != null) {
527
- for (var key in Object(object)) {
528
- result.push(key);
122
+ updateFiltered(filtered, emit = false) {
123
+ this.filteredItems.length = 0;
124
+ this.filteredItems = this.filteredItems.concat(filtered);
125
+ if (emit) {
126
+ this.calciteFilterChange.emit();
529
127
  }
530
128
  }
531
- return result;
532
- }
533
-
534
- /** Used for built-in method references. */
535
- var objectProto = Object.prototype;
536
-
537
- /** Used to check objects for own properties. */
538
- var hasOwnProperty = objectProto.hasOwnProperty;
539
-
540
- /**
541
- * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.
542
- *
543
- * @private
544
- * @param {Object} object The object to query.
545
- * @returns {Array} Returns the array of property names.
546
- */
547
- function baseKeysIn(object) {
548
- if (!isObject(object)) {
549
- return nativeKeysIn(object);
129
+ // --------------------------------------------------------------------------
130
+ //
131
+ // Render Methods
132
+ //
133
+ // --------------------------------------------------------------------------
134
+ render() {
135
+ const { disabled, scale } = this;
136
+ return (h(Fragment, null, h("div", { class: CSS.container }, h("label", null, h("calcite-input", { "aria-label": this.intlLabel || TEXT.filterLabel, clearable: true, disabled: disabled, icon: ICONS.search, intlClear: this.intlClear || TEXT.clear, onCalciteInputInput: this.inputHandler, onKeyDown: this.keyDownHandler, placeholder: this.placeholder, ref: (el) => {
137
+ this.textInput = el;
138
+ }, scale: scale, type: "text", value: this.value })))));
550
139
  }
551
- var isProto = isPrototype(object),
552
- result = [];
553
-
554
- for (var key in object) {
555
- if (!(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) {
556
- result.push(key);
557
- }
140
+ get el() { return this; }
141
+ static get watchers() { return {
142
+ "items": ["watchItemsHandler"],
143
+ "value": ["valueHandler"]
144
+ }; }
145
+ static get style() { return filterCss; }
146
+ }, [1, "calcite-filter", {
147
+ "items": [1040],
148
+ "disabled": [516],
149
+ "filteredItems": [1040],
150
+ "intlClear": [1, "intl-clear"],
151
+ "intlLabel": [1, "intl-label"],
152
+ "placeholder": [1],
153
+ "scale": [513],
154
+ "value": [1025],
155
+ "setFocus": [64]
156
+ }]);
157
+ function defineCustomElement() {
158
+ if (typeof customElements === "undefined") {
159
+ return;
558
160
  }
559
- return result;
560
- }
561
-
562
- /**
563
- * Creates an array of the own and inherited enumerable property names of `object`.
564
- *
565
- * **Note:** Non-object values are coerced to objects.
566
- *
567
- * @static
568
- * @memberOf _
569
- * @since 3.0.0
570
- * @category Object
571
- * @param {Object} object The object to query.
572
- * @returns {Array} Returns the array of property names.
573
- * @example
574
- *
575
- * function Foo() {
576
- * this.a = 1;
577
- * this.b = 2;
578
- * }
579
- *
580
- * Foo.prototype.c = 3;
581
- *
582
- * _.keysIn(new Foo);
583
- * // => ['a', 'b', 'c'] (iteration order is not guaranteed)
584
- */
585
- function keysIn(object) {
586
- return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);
587
- }
588
-
589
- /**
590
- * Converts `value` to a string. An empty string is returned for `null`
591
- * and `undefined` values. The sign of `-0` is preserved.
592
- *
593
- * @static
594
- * @memberOf _
595
- * @since 4.0.0
596
- * @category Lang
597
- * @param {*} value The value to convert.
598
- * @returns {string} Returns the converted string.
599
- * @example
600
- *
601
- * _.toString(null);
602
- * // => ''
603
- *
604
- * _.toString(-0);
605
- * // => '-0'
606
- *
607
- * _.toString([1, 2, 3]);
608
- * // => '1,2,3'
609
- */
610
- function toString(value) {
611
- return value == null ? '' : baseToString(value);
612
- }
613
-
614
- /**
615
- * Creates a base function for methods like `_.forIn` and `_.forOwn`.
616
- *
617
- * @private
618
- * @param {boolean} [fromRight] Specify iterating from right to left.
619
- * @returns {Function} Returns the new base function.
620
- */
621
- function createBaseFor(fromRight) {
622
- return function(object, iteratee, keysFunc) {
623
- var index = -1,
624
- iterable = Object(object),
625
- props = keysFunc(object),
626
- length = props.length;
627
-
628
- while (length--) {
629
- var key = props[fromRight ? length : ++index];
630
- if (iteratee(iterable[key], key, iterable) === false) {
631
- break;
161
+ const components = ["calcite-filter", "calcite-icon", "calcite-input", "calcite-progress"];
162
+ components.forEach(tagName => { switch (tagName) {
163
+ case "calcite-filter":
164
+ if (!customElements.get(tagName)) {
165
+ customElements.define(tagName, Filter);
632
166
  }
633
- }
634
- return object;
635
- };
636
- }
637
-
638
- /**
639
- * The base implementation of `baseForOwn` which iterates over `object`
640
- * properties returned by `keysFunc` and invokes `iteratee` for each property.
641
- * Iteratee functions may exit iteration early by explicitly returning `false`.
642
- *
643
- * @private
644
- * @param {Object} object The object to iterate over.
645
- * @param {Function} iteratee The function invoked per iteration.
646
- * @param {Function} keysFunc The function to get the keys of `object`.
647
- * @returns {Object} Returns `object`.
648
- */
649
- var baseFor = createBaseFor();
650
-
651
- /**
652
- * Casts `value` to `identity` if it's not a function.
653
- *
654
- * @private
655
- * @param {*} value The value to inspect.
656
- * @returns {Function} Returns cast function.
657
- */
658
- function castFunction(value) {
659
- return typeof value == 'function' ? value : identity;
660
- }
661
-
662
- /**
663
- * Used to match `RegExp`
664
- * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
665
- */
666
- var reRegExpChar = /[\\^$.*+?()[\]{}|]/g,
667
- reHasRegExpChar = RegExp(reRegExpChar.source);
668
-
669
- /**
670
- * Escapes the `RegExp` special characters "^", "$", "\", ".", "*", "+",
671
- * "?", "(", ")", "[", "]", "{", "}", and "|" in `string`.
672
- *
673
- * @static
674
- * @memberOf _
675
- * @since 3.0.0
676
- * @category String
677
- * @param {string} [string=''] The string to escape.
678
- * @returns {string} Returns the escaped string.
679
- * @example
680
- *
681
- * _.escapeRegExp('[lodash](https://lodash.com/)');
682
- * // => '\[lodash\]\(https://lodash\.com/\)'
683
- */
684
- function escapeRegExp(string) {
685
- string = toString(string);
686
- return (string && reHasRegExpChar.test(string))
687
- ? string.replace(reRegExpChar, '\\$&')
688
- : string;
689
- }
690
-
691
- /**
692
- * Iterates over own and inherited enumerable string keyed properties of an
693
- * object and invokes `iteratee` for each property. The iteratee is invoked
694
- * with three arguments: (value, key, object). Iteratee functions may exit
695
- * iteration early by explicitly returning `false`.
696
- *
697
- * @static
698
- * @memberOf _
699
- * @since 0.3.0
700
- * @category Object
701
- * @param {Object} object The object to iterate over.
702
- * @param {Function} [iteratee=_.identity] The function invoked per iteration.
703
- * @returns {Object} Returns `object`.
704
- * @see _.forInRight
705
- * @example
706
- *
707
- * function Foo() {
708
- * this.a = 1;
709
- * this.b = 2;
710
- * }
711
- *
712
- * Foo.prototype.c = 3;
713
- *
714
- * _.forIn(new Foo, function(value, key) {
715
- * console.log(key);
716
- * });
717
- * // => Logs 'a', 'b', then 'c' (iteration order is not guaranteed).
718
- */
719
- function forIn(object, iteratee) {
720
- return object == null
721
- ? object
722
- : baseFor(object, castFunction(iteratee), keysIn);
723
- }
724
-
725
- const filter = (data, value) => {
726
- const escapedValue = escapeRegExp(value);
727
- const regex = new RegExp(escapedValue, "i");
728
- if (data.length === 0) {
729
- console.warn(`No data was passed to the filter function.
730
- The data argument should be an array of objects`);
731
- }
732
- const find = (input, RE) => {
733
- var _a, _b;
734
- if (((_a = input) === null || _a === void 0 ? void 0 : _a.constant) || ((_b = input) === null || _b === void 0 ? void 0 : _b.filterDisabled)) {
735
- return true;
736
- }
737
- let found = false;
738
- forIn(input, (val) => {
739
- if (typeof val === "function" || val == null /* intentional == to catch undefined */) {
740
- return;
167
+ break;
168
+ case "calcite-icon":
169
+ if (!customElements.get(tagName)) {
170
+ defineCustomElement$3();
741
171
  }
742
- if (Array.isArray(val) || (typeof val === "object" && val !== null)) {
743
- if (find(val, RE)) {
744
- found = true;
745
- }
172
+ break;
173
+ case "calcite-input":
174
+ if (!customElements.get(tagName)) {
175
+ defineCustomElement$2();
746
176
  }
747
- else if (RE.test(val)) {
748
- found = true;
177
+ break;
178
+ case "calcite-progress":
179
+ if (!customElements.get(tagName)) {
180
+ defineCustomElement$1();
749
181
  }
750
- });
751
- return found;
752
- };
753
- const result = data.filter((item) => {
754
- return find(item, regex);
755
- });
756
- return result;
757
- };
182
+ break;
183
+ } });
184
+ }
185
+ defineCustomElement();
758
186
 
759
- export { filter as f };
187
+ export { Filter as F, defineCustomElement as d };