@esri/calcite-components 1.0.0-beta.67 → 1.0.0-beta.68

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 (1265) hide show
  1. package/dist/calcite/assets/calcite-icon/penMark16.json +1 -0
  2. package/dist/calcite/assets/calcite-icon/penMark24.json +1 -0
  3. package/dist/calcite/assets/calcite-icon/penMark32.json +1 -0
  4. package/dist/calcite/assets/calcite-icon/penMarkPlus16.json +1 -0
  5. package/dist/calcite/assets/calcite-icon/penMarkPlus24.json +1 -0
  6. package/dist/calcite/assets/calcite-icon/penMarkPlus32.json +1 -0
  7. package/dist/calcite/assets/calcite-icon/subscript16.json +1 -0
  8. package/dist/calcite/assets/calcite-icon/subscript24.json +1 -0
  9. package/dist/calcite/assets/calcite-icon/subscript32.json +1 -0
  10. package/dist/calcite/assets/calcite-icon/superscript16.json +1 -0
  11. package/dist/calcite/assets/calcite-icon/superscript24.json +1 -0
  12. package/dist/calcite/assets/calcite-icon/superscript32.json +1 -0
  13. package/dist/calcite/calcite.esm.js +5 -1
  14. package/dist/calcite/calcite.js +1 -1
  15. package/dist/calcite/index.esm.js +4 -0
  16. package/dist/calcite/p-00d72f16.entry.js +5 -0
  17. package/dist/calcite/p-01c3783e.system.entry.js +5 -0
  18. package/dist/calcite/p-021d44b7.system.entry.js +5 -0
  19. package/dist/calcite/p-050dc7e6.system.entry.js +5 -0
  20. package/dist/calcite/p-05bf835f.js +5 -0
  21. package/dist/calcite/p-07ba39b6.js +5 -0
  22. package/dist/calcite/p-0e30afe6.entry.js +5 -0
  23. package/dist/calcite/p-0fb8cdc5.entry.js +5 -0
  24. package/dist/calcite/p-0fc8b24c.system.entry.js +5 -0
  25. package/dist/calcite/p-0fd333ff.entry.js +5 -0
  26. package/dist/calcite/p-10ccc21d.entry.js +5 -0
  27. package/dist/calcite/p-157d05ce.js +5 -0
  28. package/dist/calcite/p-175764f3.system.entry.js +5 -0
  29. package/dist/calcite/p-18078190.entry.js +5 -0
  30. package/dist/calcite/p-18574b32.entry.js +5 -0
  31. package/dist/calcite/p-1aaf7f83.entry.js +5 -0
  32. package/dist/calcite/p-1b2c1f55.entry.js +5 -0
  33. package/dist/calcite/p-1d6404b5.system.js +5 -0
  34. package/dist/calcite/p-1f99b038.entry.js +5 -0
  35. package/dist/calcite/p-1fb7138b.js +5 -0
  36. package/dist/calcite/p-20042561.entry.js +5 -0
  37. package/dist/calcite/p-22ad79b1.entry.js +5 -0
  38. package/dist/calcite/p-24b86e03.entry.js +5 -0
  39. package/dist/calcite/p-26045881.entry.js +5 -0
  40. package/dist/calcite/p-26508b91.js +5 -0
  41. package/dist/calcite/p-2920aa02.entry.js +5 -0
  42. package/dist/calcite/p-29b110b2.entry.js +5 -0
  43. package/dist/calcite/p-2ba00b89.js +5 -0
  44. package/dist/calcite/p-318e95d7.system.entry.js +5 -0
  45. package/dist/calcite/p-31c4a271.system.entry.js +5 -0
  46. package/dist/calcite/p-32faf98b.system.entry.js +5 -0
  47. package/dist/calcite/p-32fbf8cd.system.js +5 -0
  48. package/dist/calcite/p-349333f8.system.entry.js +5 -0
  49. package/dist/calcite/p-34a1c944.entry.js +5 -0
  50. package/dist/calcite/p-34a6550f.system.entry.js +5 -0
  51. package/dist/calcite/p-361ddbb6.entry.js +5 -0
  52. package/dist/calcite/p-378b83de.entry.js +5 -0
  53. package/dist/calcite/p-378ffa38.system.js +5 -0
  54. package/dist/calcite/p-37cee0ea.entry.js +5 -0
  55. package/dist/calcite/p-3929447c.system.entry.js +5 -0
  56. package/dist/calcite/p-3b17d8d0.system.js +5 -0
  57. package/dist/calcite/p-3ba8024a.system.entry.js +5 -0
  58. package/dist/calcite/p-4035444d.system.js +5 -0
  59. package/dist/calcite/p-41e9b889.entry.js +5 -0
  60. package/dist/calcite/p-43494684.entry.js +5 -0
  61. package/dist/calcite/p-45d123be.system.entry.js +5 -0
  62. package/dist/calcite/p-47313747.system.js +5 -0
  63. package/dist/calcite/p-473cfb74.system.entry.js +5 -0
  64. package/dist/calcite/p-477bac2c.system.js +5 -0
  65. package/dist/calcite/p-485062f4.system.entry.js +5 -0
  66. package/dist/calcite/p-4c7e3d8e.system.entry.js +5 -0
  67. package/dist/calcite/p-4de6f4fd.system.js +5 -0
  68. package/dist/calcite/p-4e06a168.entry.js +5 -0
  69. package/dist/calcite/p-51cb078a.entry.js +5 -0
  70. package/dist/calcite/p-52cc870b.js +5 -0
  71. package/dist/calcite/p-530584ff.system.entry.js +5 -0
  72. package/dist/calcite/p-568ed3d6.system.entry.js +5 -0
  73. package/dist/calcite/p-56b352bf.system.js +5 -0
  74. package/dist/calcite/p-57f5866d.system.entry.js +5 -0
  75. package/dist/calcite/p-5c221c33.system.entry.js +5 -0
  76. package/dist/calcite/p-5cb26137.system.entry.js +5 -0
  77. package/dist/calcite/p-61038b30.js +5 -0
  78. package/dist/calcite/p-64d90b14.system.js +5 -0
  79. package/dist/calcite/p-67fd79db.entry.js +5 -0
  80. package/dist/calcite/p-693a4d5f.entry.js +5 -0
  81. package/dist/calcite/p-69548a7d.system.entry.js +5 -0
  82. package/dist/calcite/p-6a541e77.system.js +5 -0
  83. package/dist/calcite/p-6cc23c39.system.js +5 -0
  84. package/dist/calcite/p-72563742.js +5 -0
  85. package/dist/calcite/p-727c8f36.system.entry.js +5 -0
  86. package/dist/calcite/p-728501db.system.js +5 -0
  87. package/dist/calcite/p-72ffc6d7.entry.js +5 -0
  88. package/dist/calcite/p-745e41ea.entry.js +5 -0
  89. package/dist/calcite/p-75793454.entry.js +5 -0
  90. package/dist/calcite/p-7839d1c9.entry.js +5 -0
  91. package/dist/calcite/p-7a544774.system.entry.js +5 -0
  92. package/dist/calcite/p-7b01fe89.js +5 -0
  93. package/dist/calcite/p-7b600760.entry.js +5 -0
  94. package/dist/calcite/p-7c0debe0.system.entry.js +5 -0
  95. package/dist/calcite/p-7cdfec27.system.js +5 -0
  96. package/dist/calcite/p-7ed4c551.system.js +5 -0
  97. package/dist/calcite/p-7f4a5f8e.system.entry.js +5 -0
  98. package/dist/calcite/p-81a82d01.system.entry.js +5 -0
  99. package/dist/calcite/p-85a2bf7c.system.entry.js +5 -0
  100. package/dist/calcite/p-8655c0a1.entry.js +5 -0
  101. package/dist/calcite/p-87b93729.entry.js +5 -0
  102. package/dist/calcite/p-87e83c0d.system.entry.js +5 -0
  103. package/dist/calcite/p-8a63221d.js +5 -0
  104. package/dist/calcite/p-8efb43fc.entry.js +5 -0
  105. package/dist/calcite/p-8fcfe861.js +5 -0
  106. package/dist/calcite/p-91645bf7.system.js +5 -0
  107. package/dist/calcite/p-9358deb1.system.entry.js +5 -0
  108. package/dist/calcite/p-93d8a7d5.entry.js +5 -0
  109. package/dist/calcite/p-95a3a0ce.entry.js +5 -0
  110. package/dist/calcite/p-9965ea81.system.js +5 -0
  111. package/dist/calcite/p-99da965d.system.entry.js +5 -0
  112. package/dist/calcite/p-9ac1fa0b.system.entry.js +5 -0
  113. package/dist/calcite/p-9caae570.entry.js +5 -0
  114. package/dist/calcite/p-9d3ee5cf.system.entry.js +5 -0
  115. package/dist/calcite/p-9d83f268.system.entry.js +5 -0
  116. package/dist/calcite/p-9dbb69f7.entry.js +5 -0
  117. package/dist/calcite/p-9e4f2697.system.entry.js +5 -0
  118. package/dist/calcite/p-a0c02648.system.js +5 -0
  119. package/dist/calcite/p-a20df95c.js +5 -0
  120. package/dist/calcite/p-a62de092.js +5 -0
  121. package/dist/calcite/p-a7521c0d.entry.js +5 -0
  122. package/dist/calcite/p-a8cd5cde.system.entry.js +5 -0
  123. package/dist/calcite/p-a93678c6.system.entry.js +5 -0
  124. package/dist/calcite/p-aad45edf.system.js +5 -0
  125. package/dist/calcite/p-ac3d8784.entry.js +5 -0
  126. package/dist/calcite/p-ac9607f2.system.js +11 -0
  127. package/dist/calcite/p-acaad99b.system.entry.js +5 -0
  128. package/dist/calcite/p-accdb0ce.js +5 -0
  129. package/dist/calcite/p-b06207bb.js +5 -0
  130. package/dist/calcite/p-b2ab0485.js +5 -0
  131. package/dist/calcite/p-b701101e.entry.js +5 -0
  132. package/dist/calcite/p-ba255377.entry.js +5 -0
  133. package/dist/calcite/p-ba9b4f62.system.entry.js +5 -0
  134. package/dist/calcite/p-bb916828.system.entry.js +5 -0
  135. package/dist/calcite/p-bc02d9ef.system.entry.js +5 -0
  136. package/dist/calcite/p-bcc323ec.system.entry.js +5 -0
  137. package/dist/calcite/p-bd555b2e.system.entry.js +5 -0
  138. package/dist/calcite/p-be3b0fee.entry.js +5 -0
  139. package/dist/calcite/p-bfc162ee.system.entry.js +5 -0
  140. package/dist/calcite/p-c0dd929a.entry.js +5 -0
  141. package/dist/calcite/p-c1995144.system.entry.js +5 -0
  142. package/dist/calcite/p-c20278e8.system.entry.js +5 -0
  143. package/dist/calcite/p-c31243c5.entry.js +5 -0
  144. package/dist/calcite/p-c3922ef7.system.entry.js +5 -0
  145. package/dist/calcite/p-c57f8690.entry.js +5 -0
  146. package/dist/calcite/p-c5ec8d74.js +11 -0
  147. package/dist/calcite/p-c74fc589.system.js +5 -0
  148. package/dist/calcite/p-caf7085a.system.js +5 -0
  149. package/dist/calcite/p-cb228ac0.entry.js +5 -0
  150. package/dist/calcite/p-cbdf0e6c.js +5 -0
  151. package/dist/calcite/p-cd8f7781.system.entry.js +5 -0
  152. package/dist/calcite/p-d35e423d.js +5 -0
  153. package/dist/calcite/p-d5d62977.entry.js +5 -0
  154. package/dist/calcite/p-d7a7a544.system.entry.js +5 -0
  155. package/dist/calcite/p-d7e5b807.system.entry.js +5 -0
  156. package/dist/calcite/p-da9603a3.entry.js +5 -0
  157. package/dist/calcite/p-db10485b.system.js +5 -0
  158. package/dist/calcite/p-de0f4633.entry.js +5 -0
  159. package/dist/calcite/p-e020662f.system.js +5 -0
  160. package/dist/calcite/p-e33a2dd2.system.entry.js +5 -0
  161. package/dist/calcite/p-e3a30266.system.entry.js +5 -0
  162. package/dist/calcite/p-e4acb5a8.js +5 -0
  163. package/dist/calcite/p-e693758c.entry.js +5 -0
  164. package/dist/calcite/p-e9044cc1.entry.js +5 -0
  165. package/dist/calcite/p-eb3ee207.entry.js +5 -0
  166. package/dist/calcite/p-f07d3627.js +5 -0
  167. package/dist/calcite/p-f141da0f.entry.js +5 -0
  168. package/dist/calcite/p-f243b615.js +5 -0
  169. package/dist/calcite/p-f37563ac.system.entry.js +5 -0
  170. package/dist/calcite/p-f4299b95.entry.js +5 -0
  171. package/dist/calcite/p-f5d25746.system.entry.js +5 -0
  172. package/dist/calcite/p-f8d975a1.system.entry.js +5 -0
  173. package/dist/calcite/p-fb1da0f5.system.js +5 -0
  174. package/dist/calcite/p-fc4846f0.system.entry.js +5 -0
  175. package/dist/calcite/p-fe52131d.entry.js +5 -0
  176. package/dist/calcite/p-ff04f827.system.entry.js +5 -0
  177. package/dist/calcite/p-fff0a881.entry.js +5 -0
  178. package/dist/cjs/CalciteExpandToggle-0d802f83.js +94 -0
  179. package/dist/cjs/CalciteHeading-381b977d.js +19 -0
  180. package/dist/cjs/array-a5dedf5a.js +11 -0
  181. package/dist/cjs/calcite-accordion_2.cjs.entry.js +8 -4
  182. package/dist/cjs/calcite-action-bar.cjs.entry.js +12 -8
  183. package/dist/cjs/calcite-action-group.cjs.entry.js +9 -5
  184. package/dist/cjs/calcite-action-menu.cjs.entry.js +14 -8
  185. package/dist/cjs/calcite-action-pad.cjs.entry.js +10 -6
  186. package/dist/cjs/calcite-action.cjs.entry.js +11 -11
  187. package/dist/cjs/calcite-alert.cjs.entry.js +9 -5
  188. package/dist/cjs/calcite-avatar.cjs.entry.js +8 -4
  189. package/dist/cjs/calcite-block_2.cjs.entry.js +21 -14
  190. package/dist/cjs/calcite-button.cjs.entry.js +59 -38
  191. package/dist/cjs/calcite-card.cjs.entry.js +8 -4
  192. package/dist/cjs/calcite-checkbox.cjs.entry.js +14 -10
  193. package/dist/cjs/calcite-chip.cjs.entry.js +7 -3
  194. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +11 -7
  195. package/dist/cjs/calcite-combobox_3.cjs.entry.js +25 -21
  196. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +15 -11
  197. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +45 -36
  198. package/dist/cjs/calcite-fab.cjs.entry.js +7 -3
  199. package/dist/cjs/calcite-filter.cjs.entry.js +10 -6
  200. package/dist/cjs/calcite-flow.cjs.entry.js +6 -2
  201. package/dist/cjs/calcite-graph_2.cjs.entry.js +19 -15
  202. package/dist/cjs/calcite-handle.cjs.entry.js +5 -1
  203. package/dist/cjs/calcite-icon.cjs.entry.js +8 -4
  204. package/dist/cjs/calcite-inline-editable.cjs.entry.js +12 -7
  205. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +21 -17
  206. package/dist/cjs/calcite-input-message.cjs.entry.js +7 -3
  207. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +19 -15
  208. package/dist/cjs/calcite-input.cjs.entry.js +25 -26
  209. package/dist/cjs/calcite-label.cjs.entry.js +7 -3
  210. package/dist/cjs/calcite-link.cjs.entry.js +13 -3
  211. package/dist/cjs/calcite-list_3.cjs.entry.js +30 -5
  212. package/dist/cjs/calcite-loader.cjs.entry.js +7 -3
  213. package/dist/cjs/calcite-modal.cjs.entry.js +9 -5
  214. package/dist/cjs/calcite-notice.cjs.entry.js +9 -5
  215. package/dist/cjs/calcite-option_3.cjs.entry.js +17 -13
  216. package/dist/cjs/calcite-pagination.cjs.entry.js +7 -3
  217. package/dist/cjs/calcite-panel.cjs.entry.js +9 -5
  218. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +12 -8
  219. package/dist/cjs/calcite-popover_2.cjs.entry.js +9 -5
  220. package/dist/cjs/calcite-progress.cjs.entry.js +5 -1
  221. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +5 -1
  222. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +19 -15
  223. package/dist/cjs/calcite-radio_2.cjs.entry.js +24 -20
  224. package/dist/cjs/calcite-rating.cjs.entry.js +16 -12
  225. package/dist/cjs/calcite-scrim.cjs.entry.js +5 -1
  226. package/dist/cjs/calcite-shell_3.cjs.entry.js +7 -3
  227. package/dist/cjs/calcite-sortable-list.cjs.entry.js +7 -3
  228. package/dist/cjs/calcite-split-button.cjs.entry.js +7 -3
  229. package/dist/cjs/calcite-stepper_2.cjs.entry.js +8 -4
  230. package/dist/cjs/calcite-switch.cjs.entry.js +21 -17
  231. package/dist/cjs/calcite-tab_4.cjs.entry.js +9 -5
  232. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +7 -3
  233. package/dist/cjs/calcite-tile.cjs.entry.js +7 -3
  234. package/dist/cjs/calcite-tip_3.cjs.entry.js +9 -5
  235. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +12 -7
  236. package/dist/cjs/calcite-tree_2.cjs.entry.js +8 -4
  237. package/dist/cjs/calcite-value-list_2.cjs.entry.js +12 -8
  238. package/dist/cjs/calcite.cjs.js +6 -2
  239. package/dist/cjs/debounce-95979061.js +495 -0
  240. package/dist/cjs/dom-19822169.js +170 -0
  241. package/dist/cjs/forIn-a5d553af.js +622 -0
  242. package/dist/cjs/form-00fb301c.js +22 -0
  243. package/dist/cjs/guid-b270f0db.js +20 -0
  244. package/dist/cjs/index-1987a382.js +2066 -0
  245. package/dist/cjs/index.cjs.js +4 -0
  246. package/dist/cjs/interfaces-54651c1c.js +13 -0
  247. package/dist/cjs/key-8bfb93ec.js +37 -0
  248. package/dist/cjs/label-549c3d9d.js +58 -0
  249. package/dist/cjs/loader.cjs.js +6 -2
  250. package/dist/cjs/locale-69dc9583.js +123 -0
  251. package/dist/cjs/math-9d44163f.js +9 -0
  252. package/dist/cjs/number-e6448e15.js +45 -0
  253. package/dist/cjs/observers-41837607.js +22 -0
  254. package/dist/cjs/popper-cd9c0742.js +1790 -0
  255. package/dist/cjs/resources-407a4290.js +20 -0
  256. package/dist/cjs/resources-7dcd68d1.js +232 -0
  257. package/dist/cjs/resources-d0619f6a.js +346 -0
  258. package/dist/cjs/resources-ffe563a2.js +21 -0
  259. package/dist/cjs/sortable.esm-d7a4560b.js +3019 -0
  260. package/dist/cjs/utils-55d67711.js +123 -0
  261. package/dist/collection/components/calcite-accordion/calcite-accordion.js +4 -0
  262. package/dist/collection/components/calcite-accordion/interfaces.js +4 -0
  263. package/dist/collection/components/calcite-accordion-item/calcite-accordion-item.js +4 -0
  264. package/dist/collection/components/calcite-action/calcite-action.css +17 -68
  265. package/dist/collection/components/calcite-action/calcite-action.js +34 -31
  266. package/dist/collection/components/calcite-action/resources.js +4 -0
  267. package/dist/collection/components/calcite-action-bar/calcite-action-bar.js +4 -0
  268. package/dist/collection/components/calcite-action-bar/resources.js +4 -0
  269. package/dist/collection/components/calcite-action-bar/utils.js +4 -0
  270. package/dist/collection/components/calcite-action-group/calcite-action-group.js +4 -0
  271. package/dist/collection/components/calcite-action-group/resources.js +4 -0
  272. package/dist/collection/components/calcite-action-menu/calcite-action-menu.js +8 -2
  273. package/dist/collection/components/calcite-action-menu/resources.js +4 -0
  274. package/dist/collection/components/calcite-action-pad/calcite-action-pad.js +4 -0
  275. package/dist/collection/components/calcite-action-pad/resources.js +4 -0
  276. package/dist/collection/components/calcite-alert/calcite-alert.css +0 -62
  277. package/dist/collection/components/calcite-alert/calcite-alert.js +4 -0
  278. package/dist/collection/components/calcite-alert/interfaces.js +4 -0
  279. package/dist/collection/components/calcite-alert/resources.js +4 -0
  280. package/dist/collection/components/calcite-avatar/calcite-avatar.js +4 -0
  281. package/dist/collection/components/calcite-avatar/utils.js +4 -0
  282. package/dist/collection/components/calcite-block/calcite-block.css +18 -0
  283. package/dist/collection/components/calcite-block/calcite-block.js +11 -6
  284. package/dist/collection/components/calcite-block/resources.js +8 -2
  285. package/dist/collection/components/calcite-block-section/calcite-block-section.css +1 -0
  286. package/dist/collection/components/calcite-block-section/calcite-block-section.js +4 -0
  287. package/dist/collection/components/calcite-block-section/interfaces.js +4 -0
  288. package/dist/collection/components/calcite-block-section/resources.js +4 -0
  289. package/dist/collection/components/calcite-button/calcite-button.js +35 -35
  290. package/dist/collection/components/calcite-button/interfaces.js +4 -0
  291. package/dist/collection/components/calcite-button/resources.js +4 -0
  292. package/dist/collection/components/calcite-card/calcite-card.js +4 -0
  293. package/dist/collection/components/calcite-card/resources.js +4 -0
  294. package/dist/collection/components/calcite-checkbox/calcite-checkbox.css +4 -1
  295. package/dist/collection/components/calcite-checkbox/calcite-checkbox.js +8 -4
  296. package/dist/collection/components/calcite-chip/calcite-chip.js +4 -0
  297. package/dist/collection/components/calcite-chip/interfaces.js +4 -0
  298. package/dist/collection/components/calcite-chip/resources.js +4 -0
  299. package/dist/collection/components/calcite-color-picker/calcite-color-picker.js +4 -0
  300. package/dist/collection/components/calcite-color-picker/interfaces.js +4 -0
  301. package/dist/collection/components/calcite-color-picker/resources.js +4 -0
  302. package/dist/collection/components/calcite-color-picker/utils.js +4 -0
  303. package/dist/collection/components/calcite-color-picker-hex-input/calcite-color-picker-hex-input.js +4 -0
  304. package/dist/collection/components/calcite-color-picker-hex-input/resources.js +4 -0
  305. package/dist/collection/components/calcite-color-picker-swatch/calcite-color-picker-swatch.js +4 -0
  306. package/dist/collection/components/calcite-color-picker-swatch/resources.js +4 -0
  307. package/dist/collection/components/calcite-combobox/calcite-combobox.css +17 -4
  308. package/dist/collection/components/calcite-combobox/calcite-combobox.js +19 -14
  309. package/dist/collection/components/calcite-combobox/interfaces.js +4 -0
  310. package/dist/collection/components/calcite-combobox/resources.js +4 -0
  311. package/dist/collection/components/calcite-combobox/utils.js +4 -0
  312. package/dist/collection/components/calcite-combobox-item/calcite-combobox-item.css +1 -1
  313. package/dist/collection/components/calcite-combobox-item/calcite-combobox-item.js +4 -0
  314. package/dist/collection/components/calcite-combobox-item/resources.js +4 -0
  315. package/dist/collection/components/calcite-combobox-item-group/calcite-combobox-item-group.js +4 -0
  316. package/dist/collection/components/calcite-combobox-item-group/resources.js +4 -0
  317. package/dist/collection/components/calcite-date-picker/calcite-date-picker.js +4 -0
  318. package/dist/collection/components/calcite-date-picker/interfaces.js +4 -0
  319. package/dist/collection/components/calcite-date-picker/resources.js +4 -0
  320. package/dist/collection/components/calcite-date-picker/utils.js +4 -0
  321. package/dist/collection/components/calcite-date-picker-day/calcite-date-picker-day.css +1 -1
  322. package/dist/collection/components/calcite-date-picker-day/calcite-date-picker-day.js +4 -0
  323. package/dist/collection/components/calcite-date-picker-month/calcite-date-picker-month.css +1 -1
  324. package/dist/collection/components/calcite-date-picker-month/calcite-date-picker-month.js +4 -0
  325. package/dist/collection/components/calcite-date-picker-month-header/calcite-date-picker-month-header.css +1 -1
  326. package/dist/collection/components/calcite-date-picker-month-header/calcite-date-picker-month-header.js +4 -0
  327. package/dist/collection/components/calcite-dropdown/calcite-dropdown.js +42 -31
  328. package/dist/collection/components/calcite-dropdown/interfaces.js +4 -0
  329. package/dist/collection/components/calcite-dropdown/resources.js +4 -0
  330. package/dist/collection/components/calcite-dropdown-group/calcite-dropdown-group.js +4 -0
  331. package/dist/collection/components/calcite-dropdown-group/interfaces.js +4 -0
  332. package/dist/collection/components/calcite-dropdown-group/resources.js +4 -0
  333. package/dist/collection/components/calcite-dropdown-item/calcite-dropdown-item.js +4 -0
  334. package/dist/collection/components/calcite-dropdown-item/resources.js +4 -0
  335. package/dist/collection/components/calcite-fab/calcite-fab.js +4 -0
  336. package/dist/collection/components/calcite-fab/resources.js +4 -0
  337. package/dist/collection/components/calcite-filter/calcite-filter.js +5 -1
  338. package/dist/collection/components/calcite-filter/resources.js +4 -0
  339. package/dist/collection/components/calcite-flow/calcite-flow.js +4 -0
  340. package/dist/collection/components/calcite-flow/interfaces.js +4 -0
  341. package/dist/collection/components/calcite-flow/resources.js +4 -0
  342. package/dist/collection/components/calcite-graph/calcite-graph.js +4 -0
  343. package/dist/collection/components/calcite-graph/interfaces.js +4 -0
  344. package/dist/collection/components/calcite-graph/util.js +4 -0
  345. package/dist/collection/components/calcite-handle/calcite-handle.js +4 -0
  346. package/dist/collection/components/calcite-handle/resources.js +4 -0
  347. package/dist/collection/components/calcite-icon/assets/calcite-icon/penMark16.json +1 -0
  348. package/dist/collection/components/calcite-icon/assets/calcite-icon/penMark24.json +1 -0
  349. package/dist/collection/components/calcite-icon/assets/calcite-icon/penMark32.json +1 -0
  350. package/dist/collection/components/calcite-icon/assets/calcite-icon/penMarkPlus16.json +1 -0
  351. package/dist/collection/components/calcite-icon/assets/calcite-icon/penMarkPlus24.json +1 -0
  352. package/dist/collection/components/calcite-icon/assets/calcite-icon/penMarkPlus32.json +1 -0
  353. package/dist/collection/components/calcite-icon/assets/calcite-icon/subscript16.json +1 -0
  354. package/dist/collection/components/calcite-icon/assets/calcite-icon/subscript24.json +1 -0
  355. package/dist/collection/components/calcite-icon/assets/calcite-icon/subscript32.json +1 -0
  356. package/dist/collection/components/calcite-icon/assets/calcite-icon/superscript16.json +1 -0
  357. package/dist/collection/components/calcite-icon/assets/calcite-icon/superscript24.json +1 -0
  358. package/dist/collection/components/calcite-icon/assets/calcite-icon/superscript32.json +1 -0
  359. package/dist/collection/components/calcite-icon/calcite-icon.js +4 -0
  360. package/dist/collection/components/calcite-icon/resources.js +4 -0
  361. package/dist/collection/components/calcite-icon/utils.js +4 -0
  362. package/dist/collection/components/calcite-inline-editable/calcite-inline-editable.js +9 -4
  363. package/dist/collection/components/calcite-inline-editable/resources.js +4 -0
  364. package/dist/collection/components/calcite-input/calcite-input.js +18 -19
  365. package/dist/collection/components/calcite-input/interfaces.js +4 -0
  366. package/dist/collection/components/calcite-input/resources.js +4 -0
  367. package/dist/collection/components/calcite-input-date-picker/calcite-input-date-picker.js +12 -8
  368. package/dist/collection/components/calcite-input-message/calcite-input-message.js +4 -0
  369. package/dist/collection/components/calcite-input-message/interfaces.js +4 -0
  370. package/dist/collection/components/calcite-input-time-picker/calcite-input-time-picker.js +14 -10
  371. package/dist/collection/components/calcite-label/calcite-label.js +4 -0
  372. package/dist/collection/components/calcite-label/resources.js +4 -0
  373. package/dist/collection/components/calcite-link/calcite-link.js +15 -1
  374. package/dist/collection/components/calcite-list/calcite-list.js +37 -1
  375. package/dist/collection/components/calcite-list/resources.js +4 -0
  376. package/dist/collection/components/calcite-list-item/calcite-list-item.js +34 -2
  377. package/dist/collection/components/calcite-list-item/resources.js +4 -0
  378. package/dist/collection/components/calcite-list-item-group/calcite-list-item-group.js +4 -0
  379. package/dist/collection/components/calcite-list-item-group/resources.js +4 -0
  380. package/dist/collection/components/calcite-loader/calcite-loader.css +3 -3
  381. package/dist/collection/components/calcite-loader/calcite-loader.js +4 -0
  382. package/dist/collection/components/calcite-modal/calcite-modal.js +4 -0
  383. package/dist/collection/components/calcite-modal/interfaces.js +4 -0
  384. package/dist/collection/components/calcite-modal/resources.js +4 -0
  385. package/dist/collection/components/calcite-notice/calcite-notice.css +18 -6
  386. package/dist/collection/components/calcite-notice/calcite-notice.js +4 -0
  387. package/dist/collection/components/calcite-notice/resources.js +4 -0
  388. package/dist/collection/components/calcite-option/calcite-option.js +4 -0
  389. package/dist/collection/components/calcite-option-group/calcite-option-group.js +4 -0
  390. package/dist/collection/components/calcite-pagination/calcite-pagination.js +4 -0
  391. package/dist/collection/components/calcite-pagination/resources.js +4 -0
  392. package/dist/collection/components/calcite-panel/calcite-panel.js +4 -0
  393. package/dist/collection/components/calcite-panel/resources.js +4 -0
  394. package/dist/collection/components/calcite-pick-list/calcite-pick-list.js +4 -0
  395. package/dist/collection/components/calcite-pick-list/resources.js +4 -0
  396. package/dist/collection/components/calcite-pick-list/shared-list-logic.js +4 -0
  397. package/dist/collection/components/calcite-pick-list/shared-list-render.js +4 -0
  398. package/dist/collection/components/calcite-pick-list-group/calcite-pick-list-group.js +4 -0
  399. package/dist/collection/components/calcite-pick-list-group/resources.js +4 -0
  400. package/dist/collection/components/calcite-pick-list-item/calcite-pick-list-item.js +4 -0
  401. package/dist/collection/components/calcite-pick-list-item/resources.js +4 -0
  402. package/dist/collection/components/calcite-popover/calcite-popover.js +4 -0
  403. package/dist/collection/components/calcite-popover/resources.js +4 -0
  404. package/dist/collection/components/calcite-popover-manager/calcite-popover-manager.js +4 -0
  405. package/dist/collection/components/calcite-progress/calcite-progress.js +4 -0
  406. package/dist/collection/components/calcite-radio/calcite-radio.js +4 -0
  407. package/dist/collection/components/calcite-radio-button/calcite-radio-button.js +19 -15
  408. package/dist/collection/components/calcite-radio-button/resources.js +4 -0
  409. package/dist/collection/components/calcite-radio-button-group/calcite-radio-button-group.js +4 -0
  410. package/dist/collection/components/calcite-radio-group/calcite-radio-group.js +12 -8
  411. package/dist/collection/components/calcite-radio-group/interfaces.js +4 -0
  412. package/dist/collection/components/calcite-radio-group-item/calcite-radio-group-item.css +1 -5
  413. package/dist/collection/components/calcite-radio-group-item/calcite-radio-group-item.js +4 -0
  414. package/dist/collection/components/calcite-radio-group-item/resources.js +4 -0
  415. package/dist/collection/components/calcite-rating/calcite-rating.js +12 -8
  416. package/dist/collection/components/calcite-rating/resources.js +4 -0
  417. package/dist/collection/components/calcite-scrim/calcite-scrim.js +4 -0
  418. package/dist/collection/components/calcite-scrim/resources.js +4 -0
  419. package/dist/collection/components/calcite-select/calcite-select.js +12 -8
  420. package/dist/collection/components/calcite-select/resources.js +4 -0
  421. package/dist/collection/components/calcite-shell/calcite-shell.js +4 -0
  422. package/dist/collection/components/calcite-shell/resources.js +4 -0
  423. package/dist/collection/components/calcite-shell-center-row/calcite-shell-center-row.js +4 -0
  424. package/dist/collection/components/calcite-shell-center-row/resources.js +4 -0
  425. package/dist/collection/components/calcite-shell-panel/calcite-shell-panel.js +4 -0
  426. package/dist/collection/components/calcite-shell-panel/resources.js +4 -0
  427. package/dist/collection/components/calcite-slider/calcite-slider.js +13 -9
  428. package/dist/collection/components/calcite-sortable-list/calcite-sortable-list.js +4 -0
  429. package/dist/collection/components/calcite-sortable-list/resources.js +4 -0
  430. package/dist/collection/components/calcite-split-button/calcite-split-button.js +4 -0
  431. package/dist/collection/components/calcite-split-button/resources.js +4 -0
  432. package/dist/collection/components/calcite-stepper/calcite-stepper.js +4 -0
  433. package/dist/collection/components/calcite-stepper-item/calcite-stepper-item.js +4 -0
  434. package/dist/collection/components/calcite-switch/calcite-switch.js +15 -11
  435. package/dist/collection/components/calcite-tab/calcite-tab.js +4 -0
  436. package/dist/collection/components/calcite-tab/interfaces.js +4 -0
  437. package/dist/collection/components/calcite-tab-nav/calcite-tab-nav.js +4 -0
  438. package/dist/collection/components/calcite-tab-title/calcite-tab-title.js +4 -0
  439. package/dist/collection/components/calcite-tabs/calcite-tabs.js +4 -0
  440. package/dist/collection/components/calcite-tabs/interfaces.js +4 -0
  441. package/dist/collection/components/calcite-tabs/resources.js +4 -0
  442. package/dist/collection/components/calcite-tile/calcite-tile.js +4 -0
  443. package/dist/collection/components/calcite-tile/resources.js +4 -0
  444. package/dist/collection/components/calcite-tile-select/calcite-tile-select.js +4 -0
  445. package/dist/collection/components/calcite-tile-select/interfaces.js +4 -0
  446. package/dist/collection/components/calcite-tile-select-group/calcite-tile-select-group.js +4 -0
  447. package/dist/collection/components/calcite-tile-select-group/interfaces.js +4 -0
  448. package/dist/collection/components/calcite-time-picker/calcite-time-picker.js +4 -0
  449. package/dist/collection/components/calcite-time-picker/resources.js +4 -0
  450. package/dist/collection/components/calcite-tip/calcite-tip.js +4 -0
  451. package/dist/collection/components/calcite-tip/resources.js +4 -0
  452. package/dist/collection/components/calcite-tip-group/calcite-tip-group.js +4 -0
  453. package/dist/collection/components/calcite-tip-manager/calcite-tip-manager.js +4 -0
  454. package/dist/collection/components/calcite-tip-manager/resources.js +4 -0
  455. package/dist/collection/components/calcite-tooltip/calcite-tooltip.js +4 -0
  456. package/dist/collection/components/calcite-tooltip/resources.js +4 -0
  457. package/dist/collection/components/calcite-tooltip-manager/calcite-tooltip-manager.js +7 -2
  458. package/dist/collection/components/calcite-tree/calcite-tree.js +4 -0
  459. package/dist/collection/components/calcite-tree/interfaces.js +4 -0
  460. package/dist/collection/components/calcite-tree-item/calcite-tree-item.js +4 -0
  461. package/dist/collection/components/calcite-tree-item/interfaces.js +4 -0
  462. package/dist/collection/components/calcite-tree-item/resources.js +4 -0
  463. package/dist/collection/components/calcite-value-list/calcite-value-list.js +4 -0
  464. package/dist/collection/components/calcite-value-list/resources.js +4 -0
  465. package/dist/collection/components/calcite-value-list-item/calcite-value-list-item.js +4 -0
  466. package/dist/collection/components/calcite-value-list-item/resources.js +4 -0
  467. package/dist/collection/components/functional/CalciteExpandToggle.js +4 -0
  468. package/dist/collection/components/functional/CalciteHeading.js +4 -0
  469. package/dist/collection/components/interfaces.js +4 -0
  470. package/dist/collection/utils/array.js +4 -0
  471. package/dist/collection/utils/date.js +4 -0
  472. package/dist/collection/utils/dom.js +4 -0
  473. package/dist/collection/utils/filter.js +4 -0
  474. package/dist/collection/utils/form.js +4 -0
  475. package/dist/collection/utils/guid.js +4 -0
  476. package/dist/collection/utils/key.js +4 -0
  477. package/dist/collection/utils/label.js +8 -4
  478. package/dist/collection/utils/locale.js +4 -0
  479. package/dist/collection/utils/math.js +4 -0
  480. package/dist/collection/utils/number.js +4 -3
  481. package/dist/collection/utils/observers.js +4 -0
  482. package/dist/collection/utils/popper.js +4 -0
  483. package/dist/collection/utils/resources.js +4 -0
  484. package/dist/collection/utils/time.js +4 -0
  485. package/dist/components/CalciteExpandToggle.js +87 -0
  486. package/dist/components/CalciteHeading.js +16 -0
  487. package/dist/components/array.js +9 -0
  488. package/dist/components/calcite-accordion-item.d.ts +11 -0
  489. package/dist/components/calcite-accordion-item.js +153 -0
  490. package/dist/components/calcite-accordion.d.ts +11 -0
  491. package/dist/components/calcite-accordion.js +167 -0
  492. package/dist/components/calcite-action-bar.d.ts +11 -0
  493. package/dist/components/calcite-action-bar.js +266 -0
  494. package/dist/components/calcite-action-group.d.ts +11 -0
  495. package/dist/components/calcite-action-group.js +10 -0
  496. package/dist/components/calcite-action-group2.js +135 -0
  497. package/dist/components/calcite-action-menu.d.ts +11 -0
  498. package/dist/components/calcite-action-menu.js +10 -0
  499. package/dist/components/calcite-action-menu2.js +354 -0
  500. package/dist/components/calcite-action-pad.d.ts +11 -0
  501. package/dist/components/calcite-action-pad.js +198 -0
  502. package/dist/components/calcite-action.d.ts +11 -0
  503. package/dist/components/calcite-action.js +10 -0
  504. package/dist/components/calcite-action2.js +183 -0
  505. package/dist/components/calcite-alert.d.ts +11 -0
  506. package/dist/components/calcite-alert.js +232 -0
  507. package/dist/components/calcite-avatar.d.ts +11 -0
  508. package/dist/components/calcite-avatar.js +171 -0
  509. package/dist/components/calcite-block-section.d.ts +11 -0
  510. package/dist/components/calcite-block-section.js +139 -0
  511. package/dist/components/calcite-block.d.ts +11 -0
  512. package/dist/components/calcite-block.js +216 -0
  513. package/dist/components/calcite-button.d.ts +11 -0
  514. package/dist/components/calcite-button.js +10 -0
  515. package/dist/components/calcite-button2.js +243 -0
  516. package/dist/components/calcite-card.d.ts +11 -0
  517. package/dist/components/calcite-card.js +156 -0
  518. package/dist/components/calcite-checkbox.d.ts +11 -0
  519. package/dist/components/calcite-checkbox.js +10 -0
  520. package/dist/components/calcite-checkbox2.js +203 -0
  521. package/dist/components/calcite-chip.d.ts +11 -0
  522. package/dist/components/calcite-chip.js +10 -0
  523. package/dist/components/calcite-chip2.js +121 -0
  524. package/dist/components/calcite-color-picker-hex-input.d.ts +11 -0
  525. package/dist/components/calcite-color-picker-hex-input.js +10 -0
  526. package/dist/components/calcite-color-picker-hex-input2.js +353 -0
  527. package/dist/components/calcite-color-picker-swatch.d.ts +11 -0
  528. package/dist/components/calcite-color-picker-swatch.js +10 -0
  529. package/dist/components/calcite-color-picker-swatch2.js +2176 -0
  530. package/dist/components/calcite-color-picker.d.ts +11 -0
  531. package/dist/components/calcite-color-picker.js +966 -0
  532. package/dist/components/calcite-combobox-item-group.d.ts +11 -0
  533. package/dist/components/calcite-combobox-item-group.js +68 -0
  534. package/dist/components/calcite-combobox-item.d.ts +11 -0
  535. package/dist/components/calcite-combobox-item.js +168 -0
  536. package/dist/components/calcite-combobox.d.ts +11 -0
  537. package/dist/components/calcite-combobox.js +871 -0
  538. package/dist/components/calcite-date-picker-day.d.ts +11 -0
  539. package/dist/components/calcite-date-picker-day.js +10 -0
  540. package/dist/components/calcite-date-picker-day2.js +99 -0
  541. package/dist/components/calcite-date-picker-month-header.d.ts +11 -0
  542. package/dist/components/calcite-date-picker-month-header.js +10 -0
  543. package/dist/components/calcite-date-picker-month-header2.js +170 -0
  544. package/dist/components/calcite-date-picker-month.d.ts +11 -0
  545. package/dist/components/calcite-date-picker-month.js +10 -0
  546. package/dist/components/calcite-date-picker-month2.js +313 -0
  547. package/dist/components/calcite-date-picker.d.ts +11 -0
  548. package/dist/components/calcite-date-picker.js +10 -0
  549. package/dist/components/calcite-date-picker2.js +486 -0
  550. package/dist/components/calcite-dropdown-group.d.ts +11 -0
  551. package/dist/components/calcite-dropdown-group.js +90 -0
  552. package/dist/components/calcite-dropdown-item.d.ts +11 -0
  553. package/dist/components/calcite-dropdown-item.js +202 -0
  554. package/dist/components/calcite-dropdown.d.ts +11 -0
  555. package/dist/components/calcite-dropdown.js +10 -0
  556. package/dist/components/calcite-dropdown2.js +390 -0
  557. package/dist/components/calcite-fab.d.ts +11 -0
  558. package/dist/components/calcite-fab.js +127 -0
  559. package/dist/components/calcite-filter.d.ts +11 -0
  560. package/dist/components/calcite-filter.js +10 -0
  561. package/dist/components/calcite-filter2.js +165 -0
  562. package/dist/components/calcite-flow.d.ts +11 -0
  563. package/dist/components/calcite-flow.js +138 -0
  564. package/dist/components/calcite-graph.d.ts +11 -0
  565. package/dist/components/calcite-graph.js +10 -0
  566. package/dist/components/calcite-graph2.js +203 -0
  567. package/dist/components/calcite-handle.d.ts +11 -0
  568. package/dist/components/calcite-handle.js +10 -0
  569. package/dist/components/calcite-handle2.js +107 -0
  570. package/dist/components/calcite-icon.d.ts +11 -0
  571. package/dist/components/calcite-icon.js +10 -0
  572. package/dist/components/calcite-icon2.js +185 -0
  573. package/dist/components/calcite-inline-editable.d.ts +11 -0
  574. package/dist/components/calcite-inline-editable.js +242 -0
  575. package/dist/components/calcite-input-date-picker.d.ts +11 -0
  576. package/dist/components/calcite-input-date-picker.js +471 -0
  577. package/dist/components/calcite-input-message.d.ts +11 -0
  578. package/dist/components/calcite-input-message.js +97 -0
  579. package/dist/components/calcite-input-time-picker.d.ts +11 -0
  580. package/dist/components/calcite-input-time-picker.js +278 -0
  581. package/dist/components/calcite-input.d.ts +11 -0
  582. package/dist/components/calcite-input.js +10 -0
  583. package/dist/components/calcite-input2.js +494 -0
  584. package/dist/components/calcite-label.d.ts +11 -0
  585. package/dist/components/calcite-label.js +84 -0
  586. package/dist/components/calcite-link.d.ts +11 -0
  587. package/dist/components/calcite-link.js +10 -0
  588. package/dist/components/calcite-link2.js +97 -0
  589. package/dist/components/calcite-list-item-group.d.ts +11 -0
  590. package/dist/components/calcite-list-item-group.js +57 -0
  591. package/dist/components/calcite-list-item.d.ts +11 -0
  592. package/dist/components/calcite-list-item.js +117 -0
  593. package/dist/components/calcite-list.d.ts +11 -0
  594. package/dist/components/calcite-list.js +59 -0
  595. package/dist/components/calcite-loader.d.ts +11 -0
  596. package/dist/components/calcite-loader.js +10 -0
  597. package/dist/components/calcite-loader2.js +107 -0
  598. package/dist/components/calcite-modal.d.ts +11 -0
  599. package/dist/components/calcite-modal.js +417 -0
  600. package/dist/components/calcite-notice.d.ts +11 -0
  601. package/dist/components/calcite-notice.js +140 -0
  602. package/dist/components/calcite-option-group.d.ts +11 -0
  603. package/dist/components/calcite-option-group.js +61 -0
  604. package/dist/components/calcite-option.d.ts +11 -0
  605. package/dist/components/calcite-option.js +107 -0
  606. package/dist/components/calcite-pagination.d.ts +11 -0
  607. package/dist/components/calcite-pagination.js +207 -0
  608. package/dist/components/calcite-panel.d.ts +11 -0
  609. package/dist/components/calcite-panel.js +309 -0
  610. package/dist/components/calcite-pick-list-group.d.ts +11 -0
  611. package/dist/components/calcite-pick-list-group.js +70 -0
  612. package/dist/components/calcite-pick-list-item.d.ts +11 -0
  613. package/dist/components/calcite-pick-list-item.js +10 -0
  614. package/dist/components/calcite-pick-list-item2.js +230 -0
  615. package/dist/components/calcite-pick-list.d.ts +11 -0
  616. package/dist/components/calcite-pick-list.js +196 -0
  617. package/dist/components/calcite-popover-manager.d.ts +11 -0
  618. package/dist/components/calcite-popover-manager.js +93 -0
  619. package/dist/components/calcite-popover.d.ts +11 -0
  620. package/dist/components/calcite-popover.js +10 -0
  621. package/dist/components/calcite-popover2.js +332 -0
  622. package/dist/components/calcite-progress.d.ts +11 -0
  623. package/dist/components/calcite-progress.js +10 -0
  624. package/dist/components/calcite-progress2.js +52 -0
  625. package/dist/components/calcite-radio-button-group.d.ts +11 -0
  626. package/dist/components/calcite-radio-button-group.js +116 -0
  627. package/dist/components/calcite-radio-button.d.ts +11 -0
  628. package/dist/components/calcite-radio-button.js +291 -0
  629. package/dist/components/calcite-radio-group-item.d.ts +11 -0
  630. package/dist/components/calcite-radio-group-item.js +139 -0
  631. package/dist/components/calcite-radio-group.d.ts +11 -0
  632. package/dist/components/calcite-radio-group.js +233 -0
  633. package/dist/components/calcite-radio.d.ts +11 -0
  634. package/dist/components/calcite-radio.js +10 -0
  635. package/dist/components/calcite-radio2.js +68 -0
  636. package/dist/components/calcite-rating.d.ts +11 -0
  637. package/dist/components/calcite-rating.js +160 -0
  638. package/dist/components/calcite-scrim.d.ts +11 -0
  639. package/dist/components/calcite-scrim.js +10 -0
  640. package/dist/components/calcite-scrim2.js +74 -0
  641. package/dist/components/calcite-select.d.ts +11 -0
  642. package/dist/components/calcite-select.js +221 -0
  643. package/dist/components/calcite-shell-center-row.d.ts +11 -0
  644. package/dist/components/calcite-shell-center-row.js +81 -0
  645. package/dist/components/calcite-shell-panel.d.ts +11 -0
  646. package/dist/components/calcite-shell-panel.js +100 -0
  647. package/dist/components/calcite-shell.d.ts +11 -0
  648. package/dist/components/calcite-shell.js +99 -0
  649. package/dist/components/calcite-slider.d.ts +11 -0
  650. package/dist/components/calcite-slider.js +746 -0
  651. package/dist/components/calcite-sortable-list.d.ts +11 -0
  652. package/dist/components/calcite-sortable-list.js +190 -0
  653. package/dist/components/calcite-split-button.d.ts +11 -0
  654. package/dist/components/calcite-split-button.js +127 -0
  655. package/dist/components/calcite-stepper-item.d.ts +11 -0
  656. package/dist/components/calcite-stepper-item.js +189 -0
  657. package/dist/components/calcite-stepper.d.ts +11 -0
  658. package/dist/components/calcite-stepper.js +247 -0
  659. package/dist/components/calcite-switch.d.ts +11 -0
  660. package/dist/components/calcite-switch.js +10 -0
  661. package/dist/components/calcite-switch2.js +162 -0
  662. package/dist/components/calcite-tab-nav.d.ts +11 -0
  663. package/dist/components/calcite-tab-nav.js +10 -0
  664. package/dist/components/calcite-tab-nav2.js +209 -0
  665. package/dist/components/calcite-tab-title.d.ts +11 -0
  666. package/dist/components/calcite-tab-title.js +10 -0
  667. package/dist/components/calcite-tab-title2.js +230 -0
  668. package/dist/components/calcite-tab.d.ts +11 -0
  669. package/dist/components/calcite-tab.js +10 -0
  670. package/dist/components/calcite-tab2.js +122 -0
  671. package/dist/components/calcite-tabs.d.ts +11 -0
  672. package/dist/components/calcite-tabs.js +10 -0
  673. package/dist/components/calcite-tabs2.js +183 -0
  674. package/dist/components/calcite-tile-select-group.d.ts +11 -0
  675. package/dist/components/calcite-tile-select-group.js +45 -0
  676. package/dist/components/calcite-tile-select.d.ts +11 -0
  677. package/dist/components/calcite-tile-select.js +218 -0
  678. package/dist/components/calcite-tile.d.ts +11 -0
  679. package/dist/components/calcite-tile.js +10 -0
  680. package/dist/components/calcite-tile2.js +98 -0
  681. package/dist/components/calcite-time-picker.d.ts +11 -0
  682. package/dist/components/calcite-time-picker.js +10 -0
  683. package/dist/components/calcite-time-picker2.js +707 -0
  684. package/dist/components/calcite-tip-group.d.ts +11 -0
  685. package/dist/components/calcite-tip-group.js +38 -0
  686. package/dist/components/calcite-tip-manager.d.ts +11 -0
  687. package/dist/components/calcite-tip-manager.js +218 -0
  688. package/dist/components/calcite-tip.d.ts +11 -0
  689. package/dist/components/calcite-tip.js +140 -0
  690. package/dist/components/calcite-tooltip-manager.d.ts +11 -0
  691. package/dist/components/calcite-tooltip-manager.js +10 -0
  692. package/dist/components/calcite-tooltip-manager2.js +168 -0
  693. package/dist/components/calcite-tooltip.d.ts +11 -0
  694. package/dist/components/calcite-tooltip.js +224 -0
  695. package/dist/components/calcite-tree-item.d.ts +11 -0
  696. package/dist/components/calcite-tree-item.js +303 -0
  697. package/dist/components/calcite-tree.d.ts +11 -0
  698. package/dist/components/calcite-tree.js +216 -0
  699. package/dist/components/calcite-value-list-item.d.ts +11 -0
  700. package/dist/components/calcite-value-list-item.js +180 -0
  701. package/dist/components/calcite-value-list.d.ts +11 -0
  702. package/dist/components/calcite-value-list.js +271 -0
  703. package/dist/components/date.js +159 -0
  704. package/dist/components/debounce.js +486 -0
  705. package/dist/components/dom.js +153 -0
  706. package/dist/components/forIn.js +619 -0
  707. package/dist/components/form.js +20 -0
  708. package/dist/components/guid.js +18 -0
  709. package/dist/components/index.d.ts +26 -0
  710. package/dist/components/index.js +5 -0
  711. package/dist/components/interfaces.js +13 -0
  712. package/dist/components/interfaces2.js +14 -0
  713. package/dist/components/key.js +33 -0
  714. package/dist/components/label.js +54 -0
  715. package/dist/components/locale.js +118 -0
  716. package/dist/components/math.js +7 -0
  717. package/dist/components/number.js +40 -0
  718. package/dist/components/observers.js +22 -0
  719. package/dist/components/popper.js +1785 -0
  720. package/dist/components/resources.js +24 -0
  721. package/dist/components/resources2.js +13 -0
  722. package/dist/components/resources3.js +18 -0
  723. package/dist/components/resources4.js +32 -0
  724. package/dist/components/shared-list-render.js +286 -0
  725. package/dist/components/sortable.esm.js +3017 -0
  726. package/dist/components/utils.js +113 -0
  727. package/dist/components/utils2.js +38 -0
  728. package/dist/custom-elements/index.js +298 -249
  729. package/dist/esm/CalciteExpandToggle-151a563a.js +87 -0
  730. package/dist/esm/CalciteHeading-1735f17a.js +16 -0
  731. package/dist/esm/array-91a648e2.js +9 -0
  732. package/dist/esm/calcite-accordion_2.entry.js +8 -4
  733. package/dist/esm/calcite-action-bar.entry.js +12 -8
  734. package/dist/esm/calcite-action-group.entry.js +9 -5
  735. package/dist/esm/calcite-action-menu.entry.js +14 -8
  736. package/dist/esm/calcite-action-pad.entry.js +10 -6
  737. package/dist/esm/calcite-action.entry.js +11 -11
  738. package/dist/esm/calcite-alert.entry.js +9 -5
  739. package/dist/esm/calcite-avatar.entry.js +8 -4
  740. package/dist/esm/calcite-block_2.entry.js +21 -14
  741. package/dist/esm/calcite-button.entry.js +59 -38
  742. package/dist/esm/calcite-card.entry.js +8 -4
  743. package/dist/esm/calcite-checkbox.entry.js +14 -10
  744. package/dist/esm/calcite-chip.entry.js +7 -3
  745. package/dist/esm/calcite-color-picker_3.entry.js +11 -7
  746. package/dist/esm/calcite-combobox_3.entry.js +25 -21
  747. package/dist/esm/calcite-date-picker_4.entry.js +15 -11
  748. package/dist/esm/calcite-dropdown_3.entry.js +45 -36
  749. package/dist/esm/calcite-fab.entry.js +7 -3
  750. package/dist/esm/calcite-filter.entry.js +10 -6
  751. package/dist/esm/calcite-flow.entry.js +6 -2
  752. package/dist/esm/calcite-graph_2.entry.js +19 -15
  753. package/dist/esm/calcite-handle.entry.js +5 -1
  754. package/dist/esm/calcite-icon.entry.js +8 -4
  755. package/dist/esm/calcite-inline-editable.entry.js +12 -7
  756. package/dist/esm/calcite-input-date-picker.entry.js +21 -17
  757. package/dist/esm/calcite-input-message.entry.js +7 -3
  758. package/dist/esm/calcite-input-time-picker_2.entry.js +19 -15
  759. package/dist/esm/calcite-input.entry.js +25 -26
  760. package/dist/esm/calcite-label.entry.js +7 -3
  761. package/dist/esm/calcite-link.entry.js +13 -3
  762. package/dist/esm/calcite-list_3.entry.js +30 -5
  763. package/dist/esm/calcite-loader.entry.js +7 -3
  764. package/dist/esm/calcite-modal.entry.js +9 -5
  765. package/dist/esm/calcite-notice.entry.js +9 -5
  766. package/dist/esm/calcite-option_3.entry.js +17 -13
  767. package/dist/esm/calcite-pagination.entry.js +7 -3
  768. package/dist/esm/calcite-panel.entry.js +9 -5
  769. package/dist/esm/calcite-pick-list_3.entry.js +12 -8
  770. package/dist/esm/calcite-popover_2.entry.js +9 -5
  771. package/dist/esm/calcite-progress.entry.js +5 -1
  772. package/dist/esm/calcite-radio-button-group.entry.js +5 -1
  773. package/dist/esm/calcite-radio-group_2.entry.js +19 -15
  774. package/dist/esm/calcite-radio_2.entry.js +24 -20
  775. package/dist/esm/calcite-rating.entry.js +16 -12
  776. package/dist/esm/calcite-scrim.entry.js +5 -1
  777. package/dist/esm/calcite-shell_3.entry.js +7 -3
  778. package/dist/esm/calcite-sortable-list.entry.js +7 -3
  779. package/dist/esm/calcite-split-button.entry.js +7 -3
  780. package/dist/esm/calcite-stepper_2.entry.js +8 -4
  781. package/dist/esm/calcite-switch.entry.js +21 -17
  782. package/dist/esm/calcite-tab_4.entry.js +9 -5
  783. package/dist/esm/calcite-tile-select_2.entry.js +7 -3
  784. package/dist/esm/calcite-tile.entry.js +7 -3
  785. package/dist/esm/calcite-tip_3.entry.js +9 -5
  786. package/dist/esm/calcite-tooltip_2.entry.js +12 -7
  787. package/dist/esm/calcite-tree_2.entry.js +8 -4
  788. package/dist/esm/calcite-value-list_2.entry.js +12 -8
  789. package/dist/esm/calcite.js +6 -2
  790. package/dist/esm/debounce-79648d42.js +486 -0
  791. package/dist/esm/dom-f24e866c.js +153 -0
  792. package/dist/esm/forIn-48d8fb84.js +619 -0
  793. package/dist/esm/form-cee9f632.js +20 -0
  794. package/dist/esm/guid-196bd5ea.js +18 -0
  795. package/dist/esm/index-d653c37f.js +2033 -0
  796. package/dist/esm/index.js +4 -1
  797. package/dist/esm/interfaces-51dc4e1b.js +13 -0
  798. package/dist/esm/key-69001a68.js +33 -0
  799. package/dist/esm/label-bb61bdef.js +54 -0
  800. package/dist/esm/loader.js +6 -2
  801. package/dist/esm/locale-6c1b85c7.js +118 -0
  802. package/dist/esm/math-250d4476.js +7 -0
  803. package/dist/esm/number-e7393766.js +40 -0
  804. package/dist/esm/observers-8f0bc419.js +20 -0
  805. package/dist/esm/popper-7499ea4f.js +1785 -0
  806. package/dist/esm/resources-3b481489.js +216 -0
  807. package/dist/esm/resources-510eed1a.js +325 -0
  808. package/dist/esm/resources-584acd9b.js +17 -0
  809. package/dist/esm/resources-7c6029b6.js +16 -0
  810. package/dist/esm/sortable.esm-04824d33.js +3017 -0
  811. package/dist/esm/utils-6beb0662.js +113 -0
  812. package/dist/esm-es5/CalciteExpandToggle-151a563a.js +5 -0
  813. package/dist/esm-es5/CalciteHeading-1735f17a.js +5 -0
  814. package/dist/esm-es5/array-91a648e2.js +5 -0
  815. package/dist/esm-es5/calcite-accordion_2.entry.js +5 -1
  816. package/dist/esm-es5/calcite-action-bar.entry.js +5 -1
  817. package/dist/esm-es5/calcite-action-group.entry.js +5 -1
  818. package/dist/esm-es5/calcite-action-menu.entry.js +5 -1
  819. package/dist/esm-es5/calcite-action-pad.entry.js +5 -1
  820. package/dist/esm-es5/calcite-action.entry.js +5 -1
  821. package/dist/esm-es5/calcite-alert.entry.js +5 -1
  822. package/dist/esm-es5/calcite-avatar.entry.js +5 -1
  823. package/dist/esm-es5/calcite-block_2.entry.js +5 -1
  824. package/dist/esm-es5/calcite-button.entry.js +5 -1
  825. package/dist/esm-es5/calcite-card.entry.js +5 -1
  826. package/dist/esm-es5/calcite-checkbox.entry.js +5 -1
  827. package/dist/esm-es5/calcite-chip.entry.js +5 -1
  828. package/dist/esm-es5/calcite-color-picker_3.entry.js +5 -1
  829. package/dist/esm-es5/calcite-combobox_3.entry.js +5 -1
  830. package/dist/esm-es5/calcite-date-picker_4.entry.js +5 -1
  831. package/dist/esm-es5/calcite-dropdown_3.entry.js +5 -1
  832. package/dist/esm-es5/calcite-fab.entry.js +5 -1
  833. package/dist/esm-es5/calcite-filter.entry.js +5 -1
  834. package/dist/esm-es5/calcite-flow.entry.js +5 -1
  835. package/dist/esm-es5/calcite-graph_2.entry.js +5 -1
  836. package/dist/esm-es5/calcite-handle.entry.js +5 -1
  837. package/dist/esm-es5/calcite-icon.entry.js +5 -1
  838. package/dist/esm-es5/calcite-inline-editable.entry.js +5 -1
  839. package/dist/esm-es5/calcite-input-date-picker.entry.js +5 -1
  840. package/dist/esm-es5/calcite-input-message.entry.js +5 -1
  841. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +5 -1
  842. package/dist/esm-es5/calcite-input.entry.js +5 -1
  843. package/dist/esm-es5/calcite-label.entry.js +5 -1
  844. package/dist/esm-es5/calcite-link.entry.js +5 -1
  845. package/dist/esm-es5/calcite-list_3.entry.js +5 -1
  846. package/dist/esm-es5/calcite-loader.entry.js +5 -1
  847. package/dist/esm-es5/calcite-modal.entry.js +5 -1
  848. package/dist/esm-es5/calcite-notice.entry.js +5 -1
  849. package/dist/esm-es5/calcite-option_3.entry.js +5 -1
  850. package/dist/esm-es5/calcite-pagination.entry.js +5 -1
  851. package/dist/esm-es5/calcite-panel.entry.js +5 -1
  852. package/dist/esm-es5/calcite-pick-list_3.entry.js +5 -1
  853. package/dist/esm-es5/calcite-popover_2.entry.js +5 -1
  854. package/dist/esm-es5/calcite-progress.entry.js +5 -1
  855. package/dist/esm-es5/calcite-radio-button-group.entry.js +5 -1
  856. package/dist/esm-es5/calcite-radio-group_2.entry.js +5 -1
  857. package/dist/esm-es5/calcite-radio_2.entry.js +5 -1
  858. package/dist/esm-es5/calcite-rating.entry.js +5 -1
  859. package/dist/esm-es5/calcite-scrim.entry.js +5 -1
  860. package/dist/esm-es5/calcite-shell_3.entry.js +5 -1
  861. package/dist/esm-es5/calcite-sortable-list.entry.js +5 -1
  862. package/dist/esm-es5/calcite-split-button.entry.js +5 -1
  863. package/dist/esm-es5/calcite-stepper_2.entry.js +5 -1
  864. package/dist/esm-es5/calcite-switch.entry.js +5 -1
  865. package/dist/esm-es5/calcite-tab_4.entry.js +5 -1
  866. package/dist/esm-es5/calcite-tile-select_2.entry.js +5 -1
  867. package/dist/esm-es5/calcite-tile.entry.js +5 -1
  868. package/dist/esm-es5/calcite-tip_3.entry.js +5 -1
  869. package/dist/esm-es5/calcite-tooltip_2.entry.js +5 -1
  870. package/dist/esm-es5/calcite-tree_2.entry.js +5 -1
  871. package/dist/esm-es5/calcite-value-list_2.entry.js +5 -1
  872. package/dist/esm-es5/calcite.js +5 -1
  873. package/dist/esm-es5/debounce-79648d42.js +5 -0
  874. package/dist/esm-es5/dom-f24e866c.js +5 -0
  875. package/dist/esm-es5/forIn-48d8fb84.js +5 -0
  876. package/dist/esm-es5/form-cee9f632.js +5 -0
  877. package/dist/esm-es5/guid-196bd5ea.js +5 -0
  878. package/dist/esm-es5/index-d653c37f.js +5 -0
  879. package/dist/esm-es5/index.js +4 -0
  880. package/dist/esm-es5/interfaces-51dc4e1b.js +5 -0
  881. package/dist/esm-es5/key-69001a68.js +5 -0
  882. package/dist/esm-es5/label-bb61bdef.js +5 -0
  883. package/dist/esm-es5/loader.js +5 -1
  884. package/dist/esm-es5/locale-6c1b85c7.js +5 -0
  885. package/dist/esm-es5/math-250d4476.js +5 -0
  886. package/dist/esm-es5/number-e7393766.js +5 -0
  887. package/dist/esm-es5/observers-8f0bc419.js +5 -0
  888. package/dist/esm-es5/popper-7499ea4f.js +5 -0
  889. package/dist/esm-es5/resources-3b481489.js +5 -0
  890. package/dist/esm-es5/resources-510eed1a.js +5 -0
  891. package/dist/esm-es5/resources-584acd9b.js +5 -0
  892. package/dist/esm-es5/resources-7c6029b6.js +5 -0
  893. package/dist/esm-es5/sortable.esm-04824d33.js +11 -0
  894. package/dist/esm-es5/utils-6beb0662.js +5 -0
  895. package/dist/extras/docs-json.json +36 -10
  896. package/dist/loader/cdn.js +4 -1
  897. package/dist/loader/index.cjs.js +4 -1
  898. package/dist/loader/index.es2017.js +4 -1
  899. package/dist/loader/index.js +4 -1
  900. package/dist/types/components/calcite-action/calcite-action.d.ts +2 -2
  901. package/dist/types/components/calcite-block/resources.d.ts +2 -0
  902. package/dist/types/components/calcite-button/calcite-button.d.ts +10 -3
  903. package/dist/types/components/calcite-checkbox/calcite-checkbox.d.ts +1 -1
  904. package/dist/types/components/calcite-combobox/calcite-combobox.d.ts +1 -1
  905. package/dist/types/components/calcite-dropdown/calcite-dropdown.d.ts +6 -4
  906. package/dist/types/components/calcite-inline-editable/calcite-inline-editable.d.ts +1 -1
  907. package/dist/types/components/calcite-input/calcite-input.d.ts +1 -1
  908. package/dist/types/components/calcite-input-date-picker/calcite-input-date-picker.d.ts +1 -1
  909. package/dist/types/components/calcite-input-time-picker/calcite-input-time-picker.d.ts +2 -2
  910. package/dist/types/components/calcite-link/calcite-link.d.ts +2 -1
  911. package/dist/types/components/calcite-list/calcite-list.d.ts +3 -0
  912. package/dist/types/components/calcite-list-item/calcite-list-item.d.ts +3 -0
  913. package/dist/types/components/calcite-radio-button/calcite-radio-button.d.ts +1 -1
  914. package/dist/types/components/calcite-radio-group/calcite-radio-group.d.ts +1 -1
  915. package/dist/types/components/calcite-rating/calcite-rating.d.ts +1 -1
  916. package/dist/types/components/calcite-select/calcite-select.d.ts +1 -1
  917. package/dist/types/components/calcite-slider/calcite-slider.d.ts +1 -1
  918. package/dist/types/components/calcite-switch/calcite-switch.d.ts +1 -1
  919. package/dist/types/components.d.ts +14 -4
  920. package/dist/types/utils/number.d.ts +0 -1
  921. package/hydrate/index.js +303 -250
  922. package/package.json +35 -37
  923. package/readme.md +5 -5
  924. package/dist/calcite/p-00f2f64d.system.entry.js +0 -1
  925. package/dist/calcite/p-010e5fb9.entry.js +0 -1
  926. package/dist/calcite/p-03b25bb5.entry.js +0 -1
  927. package/dist/calcite/p-058f3354.system.entry.js +0 -1
  928. package/dist/calcite/p-0671d67f.entry.js +0 -1
  929. package/dist/calcite/p-0a465f92.entry.js +0 -1
  930. package/dist/calcite/p-0aa3fc7e.entry.js +0 -1
  931. package/dist/calcite/p-0ae16e31.js +0 -1
  932. package/dist/calcite/p-0b539bae.system.entry.js +0 -1
  933. package/dist/calcite/p-0c356cca.entry.js +0 -1
  934. package/dist/calcite/p-1114dae7.entry.js +0 -1
  935. package/dist/calcite/p-14893331.system.entry.js +0 -1
  936. package/dist/calcite/p-170fb8e8.system.entry.js +0 -1
  937. package/dist/calcite/p-18a62b5e.js +0 -1
  938. package/dist/calcite/p-19a2021f.entry.js +0 -1
  939. package/dist/calcite/p-19ac376f.js +0 -1
  940. package/dist/calcite/p-19d3b749.system.entry.js +0 -1
  941. package/dist/calcite/p-1a53829b.system.entry.js +0 -1
  942. package/dist/calcite/p-1c3c9e42.entry.js +0 -1
  943. package/dist/calcite/p-1df0fd29.system.entry.js +0 -1
  944. package/dist/calcite/p-203e04e5.entry.js +0 -1
  945. package/dist/calcite/p-23b87c6a.system.entry.js +0 -1
  946. package/dist/calcite/p-23edddc9.entry.js +0 -1
  947. package/dist/calcite/p-2a9b4a25.system.js +0 -1
  948. package/dist/calcite/p-2c235db8.system.js +0 -1
  949. package/dist/calcite/p-2e9e2b7c.entry.js +0 -1
  950. package/dist/calcite/p-30f1442b.js +0 -1
  951. package/dist/calcite/p-32a0f498.entry.js +0 -1
  952. package/dist/calcite/p-340e1f88.entry.js +0 -1
  953. package/dist/calcite/p-3426e87b.system.js +0 -1
  954. package/dist/calcite/p-354fbadd.js +0 -1
  955. package/dist/calcite/p-38b3ff5f.system.entry.js +0 -1
  956. package/dist/calcite/p-39b743d9.system.entry.js +0 -1
  957. package/dist/calcite/p-3b55b390.entry.js +0 -1
  958. package/dist/calcite/p-3cdef0cd.entry.js +0 -1
  959. package/dist/calcite/p-43a9faca.js +0 -1
  960. package/dist/calcite/p-44810e63.entry.js +0 -1
  961. package/dist/calcite/p-482ec054.system.js +0 -1
  962. package/dist/calcite/p-4936ee1a.entry.js +0 -1
  963. package/dist/calcite/p-4a69f94f.entry.js +0 -1
  964. package/dist/calcite/p-4bb3e49c.entry.js +0 -1
  965. package/dist/calcite/p-4dc4c758.entry.js +0 -1
  966. package/dist/calcite/p-4e3dcb60.entry.js +0 -1
  967. package/dist/calcite/p-4f24139e.system.entry.js +0 -1
  968. package/dist/calcite/p-4fce2a7a.system.js +0 -1
  969. package/dist/calcite/p-4fda49e6.js +0 -1
  970. package/dist/calcite/p-50ea2036.system.js +0 -1
  971. package/dist/calcite/p-53caa311.system.js +0 -1
  972. package/dist/calcite/p-55379ee6.system.entry.js +0 -1
  973. package/dist/calcite/p-559ffa87.js +0 -1
  974. package/dist/calcite/p-55f7adaa.system.entry.js +0 -1
  975. package/dist/calcite/p-58421494.js +0 -1
  976. package/dist/calcite/p-59f7b582.system.entry.js +0 -1
  977. package/dist/calcite/p-5a1b0338.system.js +0 -1
  978. package/dist/calcite/p-5eab55c1.entry.js +0 -1
  979. package/dist/calcite/p-5f50d376.system.entry.js +0 -1
  980. package/dist/calcite/p-62977e6b.system.entry.js +0 -1
  981. package/dist/calcite/p-6350bcd3.system.js +0 -1
  982. package/dist/calcite/p-65f4f1e9.entry.js +0 -1
  983. package/dist/calcite/p-674bc090.system.js +0 -1
  984. package/dist/calcite/p-675364da.system.entry.js +0 -1
  985. package/dist/calcite/p-69837b80.entry.js +0 -1
  986. package/dist/calcite/p-69e382de.entry.js +0 -1
  987. package/dist/calcite/p-6a7d2f7c.entry.js +0 -1
  988. package/dist/calcite/p-6cb2f24f.entry.js +0 -1
  989. package/dist/calcite/p-6d98d9dc.system.entry.js +0 -1
  990. package/dist/calcite/p-6edac967.system.entry.js +0 -1
  991. package/dist/calcite/p-7521b7ab.system.entry.js +0 -1
  992. package/dist/calcite/p-771da7ed.system.entry.js +0 -1
  993. package/dist/calcite/p-79e0b61b.system.entry.js +0 -1
  994. package/dist/calcite/p-7a241325.system.entry.js +0 -1
  995. package/dist/calcite/p-7b71e1d4.js +0 -1
  996. package/dist/calcite/p-7b856f76.system.entry.js +0 -1
  997. package/dist/calcite/p-7c5c2b30.js +0 -1
  998. package/dist/calcite/p-7e4036a3.system.entry.js +0 -1
  999. package/dist/calcite/p-7e4be59e.system.entry.js +0 -1
  1000. package/dist/calcite/p-81371076.entry.js +0 -1
  1001. package/dist/calcite/p-8242ef10.entry.js +0 -1
  1002. package/dist/calcite/p-82a11724.system.js +0 -7
  1003. package/dist/calcite/p-835b14f7.system.entry.js +0 -1
  1004. package/dist/calcite/p-875b172e.entry.js +0 -1
  1005. package/dist/calcite/p-8958d1f6.system.js +0 -1
  1006. package/dist/calcite/p-8975e7c8.entry.js +0 -1
  1007. package/dist/calcite/p-8a16620b.system.js +0 -1
  1008. package/dist/calcite/p-8a30b93d.system.js +0 -1
  1009. package/dist/calcite/p-8cfab352.entry.js +0 -1
  1010. package/dist/calcite/p-8d5f5ebf.js +0 -1
  1011. package/dist/calcite/p-8d9bf455.entry.js +0 -1
  1012. package/dist/calcite/p-8dc31333.js +0 -1
  1013. package/dist/calcite/p-8e46c987.entry.js +0 -1
  1014. package/dist/calcite/p-8ef1afae.system.entry.js +0 -1
  1015. package/dist/calcite/p-8fb7b17f.system.entry.js +0 -1
  1016. package/dist/calcite/p-90b88d97.system.entry.js +0 -1
  1017. package/dist/calcite/p-90ee6b48.entry.js +0 -1
  1018. package/dist/calcite/p-93a7d961.system.entry.js +0 -1
  1019. package/dist/calcite/p-950bdd5b.system.entry.js +0 -1
  1020. package/dist/calcite/p-95dfb659.system.js +0 -1
  1021. package/dist/calcite/p-97b06cc3.entry.js +0 -1
  1022. package/dist/calcite/p-987310d2.system.js +0 -1
  1023. package/dist/calcite/p-9c371694.system.entry.js +0 -1
  1024. package/dist/calcite/p-a096738b.system.entry.js +0 -1
  1025. package/dist/calcite/p-a09cd797.entry.js +0 -1
  1026. package/dist/calcite/p-a0d4c79d.entry.js +0 -1
  1027. package/dist/calcite/p-a4e6e35b.js +0 -1
  1028. package/dist/calcite/p-a54a11ee.system.entry.js +0 -1
  1029. package/dist/calcite/p-a57a7f49.js +0 -7
  1030. package/dist/calcite/p-a6b26bd1.system.js +0 -1
  1031. package/dist/calcite/p-a75f07ae.entry.js +0 -1
  1032. package/dist/calcite/p-a83557c6.entry.js +0 -1
  1033. package/dist/calcite/p-a8650c17.system.js +0 -1
  1034. package/dist/calcite/p-ac44517b.system.entry.js +0 -1
  1035. package/dist/calcite/p-ad290529.system.entry.js +0 -1
  1036. package/dist/calcite/p-b10d0018.system.entry.js +0 -1
  1037. package/dist/calcite/p-b2425e21.js +0 -1
  1038. package/dist/calcite/p-b286e0a5.system.entry.js +0 -1
  1039. package/dist/calcite/p-b2a6687b.system.js +0 -1
  1040. package/dist/calcite/p-b2a79aa2.system.entry.js +0 -1
  1041. package/dist/calcite/p-b4cc79dc.system.js +0 -1
  1042. package/dist/calcite/p-bd291e00.entry.js +0 -1
  1043. package/dist/calcite/p-be531ce4.system.entry.js +0 -1
  1044. package/dist/calcite/p-be6b31d0.entry.js +0 -1
  1045. package/dist/calcite/p-bfca7d51.entry.js +0 -1
  1046. package/dist/calcite/p-c0ee1569.system.entry.js +0 -1
  1047. package/dist/calcite/p-c15a632e.system.entry.js +0 -1
  1048. package/dist/calcite/p-c23bfaf9.system.entry.js +0 -1
  1049. package/dist/calcite/p-c2cd9c1d.system.entry.js +0 -1
  1050. package/dist/calcite/p-c4953aa6.system.entry.js +0 -1
  1051. package/dist/calcite/p-c5257119.entry.js +0 -1
  1052. package/dist/calcite/p-c59d3bb3.system.entry.js +0 -1
  1053. package/dist/calcite/p-c95a18d4.entry.js +0 -1
  1054. package/dist/calcite/p-caf80cd7.js +0 -1
  1055. package/dist/calcite/p-cd8d0dda.entry.js +0 -1
  1056. package/dist/calcite/p-cebd4de5.js +0 -1
  1057. package/dist/calcite/p-cfdbd2e1.entry.js +0 -1
  1058. package/dist/calcite/p-d2907af5.entry.js +0 -1
  1059. package/dist/calcite/p-d2b9513d.entry.js +0 -1
  1060. package/dist/calcite/p-d53c2d2e.system.js +0 -1
  1061. package/dist/calcite/p-d5e63242.entry.js +0 -1
  1062. package/dist/calcite/p-d74caa31.system.entry.js +0 -1
  1063. package/dist/calcite/p-d78a24bb.entry.js +0 -1
  1064. package/dist/calcite/p-d7e0ef91.system.entry.js +0 -1
  1065. package/dist/calcite/p-d858b7ab.js +0 -1
  1066. package/dist/calcite/p-d8a015cb.system.entry.js +0 -1
  1067. package/dist/calcite/p-dc825c55.js +0 -1
  1068. package/dist/calcite/p-dcfa0bba.js +0 -1
  1069. package/dist/calcite/p-dd3f7c73.system.entry.js +0 -1
  1070. package/dist/calcite/p-dda58d1e.system.js +0 -1
  1071. package/dist/calcite/p-ddf50685.system.entry.js +0 -1
  1072. package/dist/calcite/p-de00c01f.entry.js +0 -1
  1073. package/dist/calcite/p-de9b7982.system.entry.js +0 -1
  1074. package/dist/calcite/p-defdc464.system.js +0 -1
  1075. package/dist/calcite/p-e87acd87.system.js +0 -1
  1076. package/dist/calcite/p-ea51eaaa.js +0 -1
  1077. package/dist/calcite/p-ebb0ef70.entry.js +0 -1
  1078. package/dist/calcite/p-ec397dae.entry.js +0 -1
  1079. package/dist/calcite/p-ef0ea98b.system.entry.js +0 -1
  1080. package/dist/calcite/p-ef38dee8.js +0 -1
  1081. package/dist/calcite/p-efe6556c.system.entry.js +0 -1
  1082. package/dist/calcite/p-f02d04ab.system.js +0 -1
  1083. package/dist/calcite/p-f1eddb0f.system.entry.js +0 -1
  1084. package/dist/calcite/p-f95c5864.entry.js +0 -1
  1085. package/dist/calcite/p-fc725435.entry.js +0 -1
  1086. package/dist/cjs/CalciteExpandToggle-b5735fd2.js +0 -90
  1087. package/dist/cjs/CalciteHeading-177f59f2.js +0 -15
  1088. package/dist/cjs/array-4fc5abfa.js +0 -7
  1089. package/dist/cjs/debounce-11980960.js +0 -491
  1090. package/dist/cjs/dom-c9cafa59.js +0 -166
  1091. package/dist/cjs/forIn-46535ded.js +0 -618
  1092. package/dist/cjs/form-432ae178.js +0 -18
  1093. package/dist/cjs/guid-4637ad8f.js +0 -16
  1094. package/dist/cjs/index-105d9087.js +0 -2062
  1095. package/dist/cjs/interfaces-bc0f5779.js +0 -9
  1096. package/dist/cjs/key-f470de4c.js +0 -33
  1097. package/dist/cjs/label-80f9023b.js +0 -54
  1098. package/dist/cjs/locale-eb4486ae.js +0 -119
  1099. package/dist/cjs/math-750406eb.js +0 -5
  1100. package/dist/cjs/number-77308374.js +0 -45
  1101. package/dist/cjs/observers-88b3a2d4.js +0 -18
  1102. package/dist/cjs/popper-a103e375.js +0 -1786
  1103. package/dist/cjs/resources-41daa7d4.js +0 -228
  1104. package/dist/cjs/resources-76637167.js +0 -17
  1105. package/dist/cjs/resources-ae299e51.js +0 -16
  1106. package/dist/cjs/resources-bbca3cea.js +0 -342
  1107. package/dist/cjs/sortable.esm-bcce1d94.js +0 -3015
  1108. package/dist/cjs/utils-d549a0a9.js +0 -119
  1109. package/dist/custom-elements/bundles/accordion.d.ts +0 -1
  1110. package/dist/custom-elements/bundles/accordion.js +0 -5
  1111. package/dist/custom-elements/bundles/action-bar.d.ts +0 -1
  1112. package/dist/custom-elements/bundles/action-bar.js +0 -5
  1113. package/dist/custom-elements/bundles/action-menu.d.ts +0 -1
  1114. package/dist/custom-elements/bundles/action-menu.js +0 -5
  1115. package/dist/custom-elements/bundles/action-pad.d.ts +0 -1
  1116. package/dist/custom-elements/bundles/action-pad.js +0 -5
  1117. package/dist/custom-elements/bundles/action.d.ts +0 -1
  1118. package/dist/custom-elements/bundles/action.js +0 -5
  1119. package/dist/custom-elements/bundles/alert.d.ts +0 -1
  1120. package/dist/custom-elements/bundles/alert.js +0 -5
  1121. package/dist/custom-elements/bundles/avatar.d.ts +0 -1
  1122. package/dist/custom-elements/bundles/avatar.js +0 -5
  1123. package/dist/custom-elements/bundles/block.d.ts +0 -1
  1124. package/dist/custom-elements/bundles/block.js +0 -5
  1125. package/dist/custom-elements/bundles/button.d.ts +0 -1
  1126. package/dist/custom-elements/bundles/button.js +0 -5
  1127. package/dist/custom-elements/bundles/card.d.ts +0 -1
  1128. package/dist/custom-elements/bundles/card.js +0 -5
  1129. package/dist/custom-elements/bundles/checkbox.d.ts +0 -1
  1130. package/dist/custom-elements/bundles/checkbox.js +0 -5
  1131. package/dist/custom-elements/bundles/chip.d.ts +0 -1
  1132. package/dist/custom-elements/bundles/chip.js +0 -5
  1133. package/dist/custom-elements/bundles/color-picker.d.ts +0 -1
  1134. package/dist/custom-elements/bundles/color-picker.js +0 -5
  1135. package/dist/custom-elements/bundles/combobox.d.ts +0 -1
  1136. package/dist/custom-elements/bundles/combobox.js +0 -5
  1137. package/dist/custom-elements/bundles/date-picker.d.ts +0 -1
  1138. package/dist/custom-elements/bundles/date-picker.js +0 -5
  1139. package/dist/custom-elements/bundles/dropdown.d.ts +0 -1
  1140. package/dist/custom-elements/bundles/dropdown.js +0 -5
  1141. package/dist/custom-elements/bundles/fab.d.ts +0 -1
  1142. package/dist/custom-elements/bundles/fab.js +0 -5
  1143. package/dist/custom-elements/bundles/flow.d.ts +0 -1
  1144. package/dist/custom-elements/bundles/flow.js +0 -5
  1145. package/dist/custom-elements/bundles/icon.d.ts +0 -1
  1146. package/dist/custom-elements/bundles/icon.js +0 -5
  1147. package/dist/custom-elements/bundles/inline-editable.d.ts +0 -1
  1148. package/dist/custom-elements/bundles/inline-editable.js +0 -5
  1149. package/dist/custom-elements/bundles/input-date-picker.d.ts +0 -1
  1150. package/dist/custom-elements/bundles/input-date-picker.js +0 -5
  1151. package/dist/custom-elements/bundles/input-message.d.ts +0 -1
  1152. package/dist/custom-elements/bundles/input-message.js +0 -5
  1153. package/dist/custom-elements/bundles/input-time-picker.d.ts +0 -1
  1154. package/dist/custom-elements/bundles/input-time-picker.js +0 -5
  1155. package/dist/custom-elements/bundles/input.d.ts +0 -1
  1156. package/dist/custom-elements/bundles/input.js +0 -5
  1157. package/dist/custom-elements/bundles/label.d.ts +0 -1
  1158. package/dist/custom-elements/bundles/label.js +0 -5
  1159. package/dist/custom-elements/bundles/link.d.ts +0 -1
  1160. package/dist/custom-elements/bundles/link.js +0 -5
  1161. package/dist/custom-elements/bundles/list.d.ts +0 -1
  1162. package/dist/custom-elements/bundles/list.js +0 -5
  1163. package/dist/custom-elements/bundles/loader.d.ts +0 -1
  1164. package/dist/custom-elements/bundles/loader.js +0 -5
  1165. package/dist/custom-elements/bundles/modal.d.ts +0 -1
  1166. package/dist/custom-elements/bundles/modal.js +0 -5
  1167. package/dist/custom-elements/bundles/notice.d.ts +0 -1
  1168. package/dist/custom-elements/bundles/notice.js +0 -5
  1169. package/dist/custom-elements/bundles/pagination.d.ts +0 -1
  1170. package/dist/custom-elements/bundles/pagination.js +0 -5
  1171. package/dist/custom-elements/bundles/panel.d.ts +0 -1
  1172. package/dist/custom-elements/bundles/panel.js +0 -5
  1173. package/dist/custom-elements/bundles/pick-list.d.ts +0 -1
  1174. package/dist/custom-elements/bundles/pick-list.js +0 -5
  1175. package/dist/custom-elements/bundles/popover.d.ts +0 -1
  1176. package/dist/custom-elements/bundles/popover.js +0 -5
  1177. package/dist/custom-elements/bundles/progress.d.ts +0 -1
  1178. package/dist/custom-elements/bundles/progress.js +0 -5
  1179. package/dist/custom-elements/bundles/radio-button-group.d.ts +0 -1
  1180. package/dist/custom-elements/bundles/radio-button-group.js +0 -5
  1181. package/dist/custom-elements/bundles/radio-button.d.ts +0 -1
  1182. package/dist/custom-elements/bundles/radio-button.js +0 -5
  1183. package/dist/custom-elements/bundles/radio-group.d.ts +0 -1
  1184. package/dist/custom-elements/bundles/radio-group.js +0 -5
  1185. package/dist/custom-elements/bundles/rating.d.ts +0 -1
  1186. package/dist/custom-elements/bundles/rating.js +0 -5
  1187. package/dist/custom-elements/bundles/scrim.d.ts +0 -1
  1188. package/dist/custom-elements/bundles/scrim.js +0 -5
  1189. package/dist/custom-elements/bundles/select.d.ts +0 -1
  1190. package/dist/custom-elements/bundles/select.js +0 -5
  1191. package/dist/custom-elements/bundles/shell.d.ts +0 -1
  1192. package/dist/custom-elements/bundles/shell.js +0 -5
  1193. package/dist/custom-elements/bundles/slider.d.ts +0 -1
  1194. package/dist/custom-elements/bundles/slider.js +0 -5
  1195. package/dist/custom-elements/bundles/sortable-list.d.ts +0 -1
  1196. package/dist/custom-elements/bundles/sortable-list.js +0 -5
  1197. package/dist/custom-elements/bundles/split-button.d.ts +0 -1
  1198. package/dist/custom-elements/bundles/split-button.js +0 -5
  1199. package/dist/custom-elements/bundles/stepper.d.ts +0 -1
  1200. package/dist/custom-elements/bundles/stepper.js +0 -5
  1201. package/dist/custom-elements/bundles/switch.d.ts +0 -1
  1202. package/dist/custom-elements/bundles/switch.js +0 -5
  1203. package/dist/custom-elements/bundles/tab.d.ts +0 -1
  1204. package/dist/custom-elements/bundles/tab.js +0 -5
  1205. package/dist/custom-elements/bundles/tile-select-group.d.ts +0 -1
  1206. package/dist/custom-elements/bundles/tile-select-group.js +0 -5
  1207. package/dist/custom-elements/bundles/tile.d.ts +0 -1
  1208. package/dist/custom-elements/bundles/tile.js +0 -5
  1209. package/dist/custom-elements/bundles/tip.d.ts +0 -1
  1210. package/dist/custom-elements/bundles/tip.js +0 -5
  1211. package/dist/custom-elements/bundles/tooltip.d.ts +0 -1
  1212. package/dist/custom-elements/bundles/tooltip.js +0 -5
  1213. package/dist/custom-elements/bundles/tree.d.ts +0 -1
  1214. package/dist/custom-elements/bundles/tree.js +0 -5
  1215. package/dist/custom-elements/bundles/value-list.d.ts +0 -1
  1216. package/dist/custom-elements/bundles/value-list.js +0 -5
  1217. package/dist/custom-elements/index.mjs +0 -24489
  1218. package/dist/custom-elements/utils.d.ts +0 -2
  1219. package/dist/custom-elements/utils.js +0 -11
  1220. package/dist/esm/CalciteExpandToggle-a149fed4.js +0 -83
  1221. package/dist/esm/CalciteHeading-29855e9f.js +0 -12
  1222. package/dist/esm/array-af19adb2.js +0 -5
  1223. package/dist/esm/debounce-047e09f4.js +0 -482
  1224. package/dist/esm/dom-b369a031.js +0 -149
  1225. package/dist/esm/forIn-d55260fc.js +0 -615
  1226. package/dist/esm/form-8aa0d95b.js +0 -16
  1227. package/dist/esm/guid-09142681.js +0 -14
  1228. package/dist/esm/index-f8f0bea7.js +0 -2029
  1229. package/dist/esm/interfaces-355fccb6.js +0 -9
  1230. package/dist/esm/key-ec82f942.js +0 -29
  1231. package/dist/esm/label-7b249c54.js +0 -50
  1232. package/dist/esm/locale-8436bbe1.js +0 -114
  1233. package/dist/esm/math-c8e7aa13.js +0 -3
  1234. package/dist/esm/number-358ca1d4.js +0 -39
  1235. package/dist/esm/observers-c93d4fe5.js +0 -16
  1236. package/dist/esm/popper-2757192a.js +0 -1781
  1237. package/dist/esm/resources-28d71943.js +0 -212
  1238. package/dist/esm/resources-82817f70.js +0 -13
  1239. package/dist/esm/resources-c651d73a.js +0 -321
  1240. package/dist/esm/resources-c72ebfea.js +0 -12
  1241. package/dist/esm/sortable.esm-2f5354d3.js +0 -3013
  1242. package/dist/esm/utils-60acc1d6.js +0 -109
  1243. package/dist/esm-es5/CalciteExpandToggle-a149fed4.js +0 -1
  1244. package/dist/esm-es5/CalciteHeading-29855e9f.js +0 -1
  1245. package/dist/esm-es5/array-af19adb2.js +0 -1
  1246. package/dist/esm-es5/debounce-047e09f4.js +0 -1
  1247. package/dist/esm-es5/dom-b369a031.js +0 -1
  1248. package/dist/esm-es5/forIn-d55260fc.js +0 -1
  1249. package/dist/esm-es5/form-8aa0d95b.js +0 -1
  1250. package/dist/esm-es5/guid-09142681.js +0 -1
  1251. package/dist/esm-es5/index-f8f0bea7.js +0 -1
  1252. package/dist/esm-es5/interfaces-355fccb6.js +0 -1
  1253. package/dist/esm-es5/key-ec82f942.js +0 -1
  1254. package/dist/esm-es5/label-7b249c54.js +0 -1
  1255. package/dist/esm-es5/locale-8436bbe1.js +0 -1
  1256. package/dist/esm-es5/math-c8e7aa13.js +0 -1
  1257. package/dist/esm-es5/number-358ca1d4.js +0 -1
  1258. package/dist/esm-es5/observers-c93d4fe5.js +0 -1
  1259. package/dist/esm-es5/popper-2757192a.js +0 -1
  1260. package/dist/esm-es5/resources-28d71943.js +0 -1
  1261. package/dist/esm-es5/resources-82817f70.js +0 -1
  1262. package/dist/esm-es5/resources-c651d73a.js +0 -1
  1263. package/dist/esm-es5/resources-c72ebfea.js +0 -1
  1264. package/dist/esm-es5/sortable.esm-2f5354d3.js +0 -7
  1265. package/dist/esm-es5/utils-60acc1d6.js +0 -1
@@ -0,0 +1,871 @@
1
+ /*!
2
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
+ */
5
+ import { attachShadow, createEvent, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
6
+ import { a as isSymbol, S as Symbol, d as debounce } from './debounce.js';
7
+ import { i as isArray, f as forIn } from './forIn.js';
8
+ import { a as getElementDir } from './dom.js';
9
+ import { g as getKey } from './key.js';
10
+ import { u as updatePopper, c as createPopper, C as CSS } from './popper.js';
11
+ import { g as guid } from './guid.js';
12
+ import { C as ComboboxChildSelector, g as getItemAncestors, a as getItemChildren, h as hasActiveChildren, b as ComboboxItem, c as ComboboxItemGroup, d as ComboboxDefaultPlacement } from './utils2.js';
13
+ import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label.js';
14
+ import { c as createObserver } from './observers.js';
15
+ import { d as defineCustomElement$3 } from './calcite-chip2.js';
16
+ import { d as defineCustomElement$2 } from './calcite-icon2.js';
17
+
18
+ /**
19
+ * A specialized version of `_.map` for arrays without support for iteratee
20
+ * shorthands.
21
+ *
22
+ * @private
23
+ * @param {Array} [array] The array to iterate over.
24
+ * @param {Function} iteratee The function invoked per iteration.
25
+ * @returns {Array} Returns the new mapped array.
26
+ */
27
+ function arrayMap(array, iteratee) {
28
+ var index = -1,
29
+ length = array == null ? 0 : array.length,
30
+ result = Array(length);
31
+
32
+ while (++index < length) {
33
+ result[index] = iteratee(array[index], index, array);
34
+ }
35
+ return result;
36
+ }
37
+
38
+ /** Used as references for various `Number` constants. */
39
+ var INFINITY = 1 / 0;
40
+
41
+ /** Used to convert symbols to primitives and strings. */
42
+ var symbolProto = Symbol ? Symbol.prototype : undefined,
43
+ symbolToString = symbolProto ? symbolProto.toString : undefined;
44
+
45
+ /**
46
+ * The base implementation of `_.toString` which doesn't convert nullish
47
+ * values to empty strings.
48
+ *
49
+ * @private
50
+ * @param {*} value The value to process.
51
+ * @returns {string} Returns the string.
52
+ */
53
+ function baseToString(value) {
54
+ // Exit early for strings to avoid a performance hit in some environments.
55
+ if (typeof value == 'string') {
56
+ return value;
57
+ }
58
+ if (isArray(value)) {
59
+ // Recursively convert values (susceptible to call stack limits).
60
+ return arrayMap(value, baseToString) + '';
61
+ }
62
+ if (isSymbol(value)) {
63
+ return symbolToString ? symbolToString.call(value) : '';
64
+ }
65
+ var result = (value + '');
66
+ return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
67
+ }
68
+
69
+ /**
70
+ * Converts `value` to a string. An empty string is returned for `null`
71
+ * and `undefined` values. The sign of `-0` is preserved.
72
+ *
73
+ * @static
74
+ * @memberOf _
75
+ * @since 4.0.0
76
+ * @category Lang
77
+ * @param {*} value The value to convert.
78
+ * @returns {string} Returns the converted string.
79
+ * @example
80
+ *
81
+ * _.toString(null);
82
+ * // => ''
83
+ *
84
+ * _.toString(-0);
85
+ * // => '-0'
86
+ *
87
+ * _.toString([1, 2, 3]);
88
+ * // => '1,2,3'
89
+ */
90
+ function toString(value) {
91
+ return value == null ? '' : baseToString(value);
92
+ }
93
+
94
+ /**
95
+ * Used to match `RegExp`
96
+ * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
97
+ */
98
+ var reRegExpChar = /[\\^$.*+?()[\]{}|]/g,
99
+ reHasRegExpChar = RegExp(reRegExpChar.source);
100
+
101
+ /**
102
+ * Escapes the `RegExp` special characters "^", "$", "\", ".", "*", "+",
103
+ * "?", "(", ")", "[", "]", "{", "}", and "|" in `string`.
104
+ *
105
+ * @static
106
+ * @memberOf _
107
+ * @since 3.0.0
108
+ * @category String
109
+ * @param {string} [string=''] The string to escape.
110
+ * @returns {string} Returns the escaped string.
111
+ * @example
112
+ *
113
+ * _.escapeRegExp('[lodash](https://lodash.com/)');
114
+ * // => '\[lodash\]\(https://lodash\.com/\)'
115
+ */
116
+ function escapeRegExp(string) {
117
+ string = toString(string);
118
+ return (string && reHasRegExpChar.test(string))
119
+ ? string.replace(reRegExpChar, '\\$&')
120
+ : string;
121
+ }
122
+
123
+ const filter = (data, value) => {
124
+ const escapedValue = escapeRegExp(value);
125
+ const regex = new RegExp(escapedValue, "i");
126
+ if (data.length === 0) {
127
+ console.warn(`No data was passed to the filter function.
128
+ The data argument should be an array of objects`);
129
+ }
130
+ const find = (input, RE) => {
131
+ var _a;
132
+ if ((_a = input) === null || _a === void 0 ? void 0 : _a.constant) {
133
+ return true;
134
+ }
135
+ let found = false;
136
+ forIn(input, (val) => {
137
+ if (typeof val === "function") {
138
+ return;
139
+ }
140
+ if (Array.isArray(val) || (typeof val === "object" && val !== null)) {
141
+ if (find(val, RE)) {
142
+ found = true;
143
+ }
144
+ }
145
+ else if (RE.test(val)) {
146
+ found = true;
147
+ }
148
+ });
149
+ return found;
150
+ };
151
+ const result = data.filter((item) => {
152
+ return find(item, regex);
153
+ });
154
+ return result;
155
+ };
156
+
157
+ const calciteComboboxCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{display:block;position:relative}:host([disabled]){pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:0.5}:host([scale=s]){font-size:var(--calcite-font-size--2);--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-input-height:1.5rem}:host([scale=m]){font-size:var(--calcite-font-size--1);--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-input-height:2rem}:host([scale=l]){font-size:var(--calcite-font-size-0);--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-input-height:2.75rem}.wrapper{display:-ms-flexbox;display:flex;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1);outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);padding:0 var(--calcite-combobox-item-spacing-unit-l) 0 var(--calcite-combobox-item-spacing-unit-l)}:host(:focus-within) .wrapper,.wrapper--active{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.wrapper--single{padding:0 var(--calcite-combobox-item-spacing-unit-l);cursor:pointer;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.grid-input{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;padding:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.input{-ms-flex-positive:1;flex-grow:1;font-family:inherit;padding:0;background-color:transparent;border-style:none;color:var(--calcite-ui-text-1);-webkit-appearance:none;-moz-appearance:none;appearance:none;font-size:inherit;height:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height);min-width:120px;margin-bottom:var(--calcite-combobox-item-spacing-unit-s)}.input:focus{outline:2px solid transparent;outline-offset:2px}.input--transparent{opacity:0}.input--single{margin-bottom:0;margin-top:0;padding:0}.wrapper--active .input-single{cursor:text}.input--hidden{width:0;min-width:0;opacity:0;pointer-events:none}.input--icon{padding:0 var(--calcite-combobox-item-spacing-unit-l)}.input-wrap{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1}.input-wrap--single{-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden}.label{padding:0;display:-ms-flexbox;display:flex;font-weight:var(--calcite-font-weight-normal);-ms-flex:1 1 auto;flex:1 1 auto;pointer-events:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%;height:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height)}.label--spaced{padding-top:0;padding-bottom:0;padding-left:var(--calcite-combobox-item-spacing-unit-l);padding-right:var(--calcite-combobox-item-spacing-unit-l)}.icon-end,.icon-start{cursor:pointer;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;width:1rem}.icon-end{-ms-flex:none;flex:none}.popper-container{width:100%;display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0);visibility:hidden;pointer-events:none}.popper-container .calcite-popper-anim{position:relative;z-index:1;-webkit-transition:var(--calcite-popper-transition);transition:var(--calcite-popper-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);border-radius:0.25rem}.popper-container[data-popper-placement^=bottom] .calcite-popper-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}.popper-container[data-popper-placement^=top] .calcite-popper-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}.popper-container[data-popper-placement^=left] .calcite-popper-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}.popper-container[data-popper-placement^=right] .calcite-popper-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}.popper-container[data-popper-placement] .calcite-popper-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}.popper-container--active{pointer-events:initial;visibility:visible}.screen-readers-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}.list-container{overflow-y:auto;max-height:100vh;background-color:var(--calcite-ui-foreground-1);width:var(--calcite-dropdown-width)}.list{display:block;margin:0;padding:0}.list--hide{height:0;overflow:hidden}.chip{margin:calc(var(--calcite-combobox-item-spacing-unit-s) / 2) var(--calcite-combobox-item-spacing-unit-s) calc(var(--calcite-combobox-item-spacing-unit-s) / 2) 0;max-width:100%}.chip--active{background-color:var(--calcite-ui-foreground-3)}.chip:last-child{margin-right:0}.chip--rtl{margin-right:unset;margin-left:var(--calcite-combobox-item-spacing-unit-l)}.chip--rtl:last-child{margin-left:0}.item{display:block}";
158
+
159
+ const isGroup = (el) => el.tagName === ComboboxItemGroup;
160
+ let CalciteCombobox$1 = class extends HTMLElement {
161
+ constructor() {
162
+ super();
163
+ this.__registerHost();
164
+ attachShadow(this);
165
+ this.calciteLookupChange = createEvent(this, "calciteLookupChange", 7);
166
+ this.calciteComboboxChange = createEvent(this, "calciteComboboxChange", 7);
167
+ this.calciteComboboxFilterChange = createEvent(this, "calciteComboboxFilterChange", 7);
168
+ this.calciteComboboxChipDismiss = createEvent(this, "calciteComboboxChipDismiss", 7);
169
+ this.calciteComboboxOpen = createEvent(this, "calciteComboboxOpen", 7);
170
+ this.calciteComboboxClose = createEvent(this, "calciteComboboxClose", 7);
171
+ //--------------------------------------------------------------------------
172
+ //
173
+ // Public Properties
174
+ //
175
+ //--------------------------------------------------------------------------
176
+ /** Opens or closes the combobox */
177
+ this.active = false;
178
+ /** Disable combobox input */
179
+ this.disabled = false;
180
+ /** Specify the maximum number of combobox items (including nested children) to display before showing the scroller */
181
+ this.maxItems = 0;
182
+ /** Describes the type of positioning to use for the overlaid content. If your element is in a fixed container, use the 'fixed' value. */
183
+ this.overlayPositioning = "absolute";
184
+ /** specify the selection mode
185
+ * - multi: allow any number of selected items (default)
186
+ * - single: only one selection)
187
+ * - ancestors: like multi, but show ancestors of selected items as selected, only deepest children shown in chips
188
+ */
189
+ this.selectionMode = "multi";
190
+ /** Specify the scale of the combobox, defaults to m */
191
+ this.scale = "m";
192
+ this.items = [];
193
+ this.groupItems = [];
194
+ this.selectedItems = [];
195
+ this.visibleItems = [];
196
+ this.hideList = !this.active;
197
+ this.activeItemIndex = -1;
198
+ this.activeChipIndex = -1;
199
+ this.activeDescendant = "";
200
+ this.text = "";
201
+ this.open = this.active;
202
+ /** specifies the item wrapper height; it is updated when maxItems is > 0 **/
203
+ this.maxScrollerHeight = 0;
204
+ this.textInput = null;
205
+ this.mutationObserver = createObserver("mutation", () => this.updateItems());
206
+ this.guid = guid();
207
+ this.inputHeight = 0;
208
+ this.ignoreSelectedEventsFlag = false;
209
+ this.activeTransitionProp = "opacity";
210
+ this.keydownHandler = (event) => {
211
+ const key = getKey(event.key, getElementDir(this.el));
212
+ switch (key) {
213
+ case "Tab":
214
+ this.activeChipIndex = -1;
215
+ this.activeItemIndex = -1;
216
+ if (this.allowCustomValues && this.text) {
217
+ this.addCustomChip(this.text, true);
218
+ event.preventDefault();
219
+ }
220
+ else {
221
+ this.active = false;
222
+ }
223
+ break;
224
+ case "ArrowLeft":
225
+ this.previousChip();
226
+ break;
227
+ case "ArrowRight":
228
+ this.nextChip();
229
+ break;
230
+ case "ArrowUp":
231
+ event.preventDefault();
232
+ this.active = true;
233
+ this.shiftActiveItemIndex(-1);
234
+ break;
235
+ case "ArrowDown":
236
+ event.preventDefault();
237
+ this.active = true;
238
+ this.shiftActiveItemIndex(1);
239
+ break;
240
+ case "Home":
241
+ this.active = true;
242
+ this.updateActiveItemIndex(0);
243
+ break;
244
+ case "End":
245
+ this.active = true;
246
+ this.updateActiveItemIndex(this.visibleItems.length - 1);
247
+ break;
248
+ case "Escape":
249
+ this.active = false;
250
+ break;
251
+ case "Enter":
252
+ if (this.activeItemIndex > -1) {
253
+ this.toggleSelection(this.visibleItems[this.activeItemIndex]);
254
+ }
255
+ else if (this.activeChipIndex > -1) {
256
+ this.removeActiveChip();
257
+ }
258
+ else if (this.allowCustomValues && this.text) {
259
+ this.addCustomChip(this.text, true);
260
+ }
261
+ break;
262
+ case "Delete":
263
+ case "Backspace":
264
+ if (this.activeChipIndex > -1) {
265
+ this.removeActiveChip();
266
+ }
267
+ else if (!this.text && this.isMulti()) {
268
+ this.removeLastChip();
269
+ }
270
+ break;
271
+ default:
272
+ if (!this.active) {
273
+ this.setFocus();
274
+ }
275
+ break;
276
+ }
277
+ };
278
+ this.toggleCloseEnd = () => {
279
+ this.hideList = true;
280
+ this.el.removeEventListener("calciteComboboxClose", this.toggleCloseEnd);
281
+ };
282
+ this.toggleOpenEnd = () => {
283
+ this.hideList = false;
284
+ this.el.removeEventListener("calciteComboboxOpen", this.toggleOpenEnd);
285
+ };
286
+ this.transitionEnd = (event) => {
287
+ if (event.propertyName === this.activeTransitionProp) {
288
+ this.active ? this.calciteComboboxOpen.emit() : this.calciteComboboxClose.emit();
289
+ }
290
+ };
291
+ this.setMaxScrollerHeight = () => {
292
+ if (this.active) {
293
+ this.maxScrollerHeight = this.getMaxScrollerHeight(this.getCombinedItems());
294
+ }
295
+ };
296
+ this.calciteChipDismissHandler = (event, comboboxItem) => {
297
+ this.active = false;
298
+ const selection = this.items.find((item) => item === comboboxItem);
299
+ if (selection) {
300
+ this.toggleSelection(selection, false);
301
+ }
302
+ this.calciteComboboxChipDismiss.emit(event.detail);
303
+ };
304
+ this.setFocusClick = () => {
305
+ this.setFocus();
306
+ };
307
+ this.setInactiveIfNotContained = (event) => {
308
+ const composedPath = event.composedPath();
309
+ if (!this.active || composedPath.includes(this.el) || composedPath.includes(this.referenceEl)) {
310
+ return;
311
+ }
312
+ if (this.allowCustomValues && this.text) {
313
+ this.addCustomChip(this.text);
314
+ }
315
+ if (this.selectionMode === "single") {
316
+ if (this.textInput) {
317
+ this.textInput.value = "";
318
+ }
319
+ this.text = "";
320
+ this.filterItems("");
321
+ this.updateActiveItemIndex(-1);
322
+ }
323
+ this.active = false;
324
+ };
325
+ this.setMenuEl = (el) => {
326
+ this.menuEl = el;
327
+ };
328
+ this.setListContainerEl = (el) => {
329
+ this.listContainerEl = el;
330
+ };
331
+ this.setReferenceEl = (el) => {
332
+ this.referenceEl = el;
333
+ };
334
+ this.inputHandler = (event) => {
335
+ const value = event.target.value;
336
+ this.text = value;
337
+ this.filterItems(value);
338
+ if (value) {
339
+ this.activeChipIndex = -1;
340
+ }
341
+ };
342
+ this.filterItems = (() => {
343
+ const find = (item, filteredData) => item &&
344
+ filteredData.some(({ label, value }) => {
345
+ if (isGroup(item)) {
346
+ return value === item.label || value === item.label;
347
+ }
348
+ return (value === item.textLabel ||
349
+ value === item.value ||
350
+ label === item.textLabel ||
351
+ label === item.value);
352
+ });
353
+ return debounce((text) => {
354
+ const filteredData = filter(this.data, text);
355
+ const items = this.getCombinedItems();
356
+ items.forEach((item) => {
357
+ const hidden = !find(item, filteredData);
358
+ item.hidden = hidden;
359
+ const [parent, grandparent] = item.ancestors;
360
+ if (find(parent, filteredData) || find(grandparent, filteredData)) {
361
+ item.hidden = false;
362
+ }
363
+ if (!hidden) {
364
+ item.ancestors.forEach((ancestor) => (ancestor.hidden = false));
365
+ }
366
+ });
367
+ this.visibleItems = this.getVisibleItems();
368
+ this.calciteComboboxFilterChange.emit({ visibleItems: [...this.visibleItems], text: text });
369
+ }, 100);
370
+ })();
371
+ this.internalCalciteLookupChangeEvent = () => {
372
+ this.calciteLookupChange.emit(this.selectedItems);
373
+ };
374
+ this.emitCalciteLookupChange = debounce(this.internalCalciteLookupChangeEvent, 0);
375
+ this.internalComboboxChangeEvent = () => {
376
+ const { selectedItems } = this;
377
+ this.calciteComboboxChange.emit({ selectedItems });
378
+ };
379
+ this.emitComboboxChange = debounce(this.internalComboboxChangeEvent, 0);
380
+ this.updateItems = () => {
381
+ this.items = this.getItems();
382
+ this.groupItems = this.getGroupItems();
383
+ this.data = this.getData();
384
+ this.selectedItems = this.getSelectedItems();
385
+ this.visibleItems = this.getVisibleItems();
386
+ this.needsIcon = this.getNeedsIcon();
387
+ if (!this.allowCustomValues) {
388
+ this.setMaxScrollerHeight();
389
+ }
390
+ };
391
+ this.comboboxFocusHandler = () => {
392
+ this.active = true;
393
+ this.textInput.focus();
394
+ };
395
+ this.comboboxBlurHandler = (event) => {
396
+ this.setInactiveIfNotContained(event);
397
+ };
398
+ }
399
+ activeHandler(newValue, oldValue) {
400
+ // when closing, wait transition time then hide to prevent overscroll
401
+ if (oldValue && !newValue) {
402
+ this.el.addEventListener("calciteComboboxClose", this.toggleCloseEnd);
403
+ this.open = false;
404
+ }
405
+ else if (!oldValue && newValue) {
406
+ this.el.addEventListener("calciteComboboxOpen", this.toggleOpenEnd);
407
+ // give the combobox height, then reposition prior to opening
408
+ requestAnimationFrame(() => {
409
+ this.reposition();
410
+ this.setMaxScrollerHeight();
411
+ this.open = true;
412
+ });
413
+ }
414
+ this.reposition();
415
+ this.setMaxScrollerHeight();
416
+ }
417
+ maxItemsHandler() {
418
+ this.setMaxScrollerHeight();
419
+ }
420
+ //--------------------------------------------------------------------------
421
+ //
422
+ // Event Listeners
423
+ //
424
+ //--------------------------------------------------------------------------
425
+ documentClickHandler(event) {
426
+ this.setInactiveIfNotContained(event);
427
+ }
428
+ calciteComboboxItemChangeHandler(event) {
429
+ if (this.ignoreSelectedEventsFlag) {
430
+ return;
431
+ }
432
+ const target = event.target;
433
+ this.toggleSelection(target, target.selected);
434
+ }
435
+ //--------------------------------------------------------------------------
436
+ //
437
+ // Public Methods
438
+ //
439
+ //--------------------------------------------------------------------------
440
+ /** Updates the position of the component. */
441
+ async reposition() {
442
+ const { popper, menuEl } = this;
443
+ const modifiers = this.getModifiers();
444
+ popper
445
+ ? updatePopper({
446
+ el: menuEl,
447
+ modifiers,
448
+ placement: ComboboxDefaultPlacement,
449
+ popper
450
+ })
451
+ : this.createPopper();
452
+ }
453
+ /** Sets focus on the component. */
454
+ async setFocus() {
455
+ var _a;
456
+ this.active = true;
457
+ (_a = this.textInput) === null || _a === void 0 ? void 0 : _a.focus();
458
+ this.activeChipIndex = -1;
459
+ this.activeItemIndex = -1;
460
+ }
461
+ // --------------------------------------------------------------------------
462
+ //
463
+ // Lifecycle
464
+ //
465
+ // --------------------------------------------------------------------------
466
+ connectedCallback() {
467
+ var _a;
468
+ (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true, subtree: true });
469
+ this.createPopper();
470
+ connectLabel(this);
471
+ }
472
+ componentWillLoad() {
473
+ this.updateItems();
474
+ }
475
+ componentDidRender() {
476
+ if (this.el.offsetHeight !== this.inputHeight) {
477
+ this.reposition();
478
+ this.inputHeight = this.el.offsetHeight;
479
+ }
480
+ }
481
+ disconnectedCallback() {
482
+ var _a;
483
+ (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
484
+ this.destroyPopper();
485
+ disconnectLabel(this);
486
+ }
487
+ /** when search text is cleared, reset active to */
488
+ textHandler() {
489
+ this.updateActiveItemIndex(-1);
490
+ }
491
+ // --------------------------------------------------------------------------
492
+ //
493
+ // Private Methods
494
+ //
495
+ // --------------------------------------------------------------------------
496
+ onLabelClick() {
497
+ this.setFocus();
498
+ }
499
+ getModifiers() {
500
+ const flipModifier = {
501
+ name: "flip",
502
+ enabled: true
503
+ };
504
+ flipModifier.options = {
505
+ fallbackPlacements: ["top-start", "top", "top-end", "bottom-start", "bottom", "bottom-end"]
506
+ };
507
+ return [flipModifier];
508
+ }
509
+ createPopper() {
510
+ this.destroyPopper();
511
+ const { menuEl, referenceEl, overlayPositioning } = this;
512
+ const modifiers = this.getModifiers();
513
+ this.popper = createPopper({
514
+ el: menuEl,
515
+ modifiers,
516
+ overlayPositioning,
517
+ placement: ComboboxDefaultPlacement,
518
+ referenceEl
519
+ });
520
+ }
521
+ destroyPopper() {
522
+ const { popper } = this;
523
+ if (popper) {
524
+ popper.destroy();
525
+ }
526
+ this.popper = null;
527
+ }
528
+ getMaxScrollerHeight(items) {
529
+ const { maxItems } = this;
530
+ let itemsToProcess = 0;
531
+ let maxScrollerHeight = 0;
532
+ items.forEach((item) => {
533
+ if (itemsToProcess < maxItems && maxItems > 0) {
534
+ const height = this.calculateSingleItemHeight(item);
535
+ if (height > 0) {
536
+ maxScrollerHeight += height;
537
+ itemsToProcess++;
538
+ }
539
+ }
540
+ });
541
+ return maxScrollerHeight;
542
+ }
543
+ calculateSingleItemHeight(item) {
544
+ let height = item.offsetHeight;
545
+ // if item has children items, don't count their height twice
546
+ const children = item.querySelectorAll(ComboboxChildSelector);
547
+ children.forEach((child) => {
548
+ height -= child.offsetHeight;
549
+ });
550
+ return height;
551
+ }
552
+ getCombinedItems() {
553
+ return [...this.groupItems, ...this.items];
554
+ }
555
+ toggleSelection(item, value = !item.selected) {
556
+ if (!item) {
557
+ return;
558
+ }
559
+ if (this.isMulti()) {
560
+ item.selected = value;
561
+ this.updateAncestors(item);
562
+ this.selectedItems = this.getSelectedItems();
563
+ this.emitCalciteLookupChange();
564
+ this.emitComboboxChange();
565
+ this.resetText();
566
+ this.textInput.focus();
567
+ this.filterItems("");
568
+ }
569
+ else {
570
+ this.ignoreSelectedEventsFlag = true;
571
+ this.items.forEach((el) => (el.selected = el === item));
572
+ this.ignoreSelectedEventsFlag = false;
573
+ this.selectedItems = this.getSelectedItems();
574
+ this.emitComboboxChange();
575
+ this.textInput.value = item.textLabel;
576
+ this.active = false;
577
+ this.updateActiveItemIndex(-1);
578
+ this.resetText();
579
+ this.filterItems("");
580
+ }
581
+ }
582
+ updateAncestors(item) {
583
+ if (this.selectionMode !== "ancestors") {
584
+ return;
585
+ }
586
+ const ancestors = getItemAncestors(item);
587
+ const children = getItemChildren(item);
588
+ if (item.selected) {
589
+ ancestors.forEach((el) => {
590
+ el.selected = true;
591
+ });
592
+ }
593
+ else {
594
+ children.forEach((el) => (el.selected = false));
595
+ [...ancestors].forEach((el) => {
596
+ if (!hasActiveChildren(el)) {
597
+ el.selected = false;
598
+ }
599
+ });
600
+ }
601
+ }
602
+ getVisibleItems() {
603
+ return this.items.filter((item) => !item.hidden);
604
+ }
605
+ getSelectedItems() {
606
+ return !this.isMulti()
607
+ ? [this.items.find((item) => item.selected)]
608
+ : this.items
609
+ .filter((item) => item.selected && (this.selectionMode !== "ancestors" || !hasActiveChildren(item)))
610
+ /** Preserve order of entered tags */
611
+ .sort((a, b) => {
612
+ const aIdx = this.selectedItems.indexOf(a);
613
+ const bIdx = this.selectedItems.indexOf(b);
614
+ if (aIdx > -1 && bIdx > -1) {
615
+ return aIdx - bIdx;
616
+ }
617
+ return bIdx - aIdx;
618
+ });
619
+ }
620
+ getData() {
621
+ return this.items.map((item) => ({
622
+ constant: item.constant,
623
+ value: item.value,
624
+ label: item.textLabel,
625
+ guid: item.guid
626
+ }));
627
+ }
628
+ getNeedsIcon() {
629
+ return this.selectionMode === "single" && this.items.some((item) => item.icon);
630
+ }
631
+ resetText() {
632
+ this.textInput.value = "";
633
+ this.text = "";
634
+ }
635
+ getItems() {
636
+ const items = Array.from(this.el.querySelectorAll(ComboboxItem));
637
+ return items.filter((item) => !item.disabled);
638
+ }
639
+ getGroupItems() {
640
+ return Array.from(this.el.querySelectorAll(ComboboxItemGroup));
641
+ }
642
+ addCustomChip(value, focus) {
643
+ const existingItem = this.items.find((el) => el.textLabel === value);
644
+ if (existingItem) {
645
+ this.toggleSelection(existingItem, true);
646
+ }
647
+ else {
648
+ const item = document.createElement(ComboboxItem);
649
+ item.value = value;
650
+ item.textLabel = value;
651
+ item.guid = guid();
652
+ item.selected = true;
653
+ this.el.appendChild(item);
654
+ this.resetText();
655
+ if (focus) {
656
+ this.setFocus();
657
+ }
658
+ this.updateItems();
659
+ this.filterItems("");
660
+ this.emitCalciteLookupChange();
661
+ this.emitComboboxChange();
662
+ }
663
+ }
664
+ removeActiveChip() {
665
+ this.toggleSelection(this.selectedItems[this.activeChipIndex], false);
666
+ this.setFocus();
667
+ }
668
+ removeLastChip() {
669
+ this.toggleSelection(this.selectedItems[this.selectedItems.length - 1], false);
670
+ this.setFocus();
671
+ }
672
+ previousChip() {
673
+ if (this.text) {
674
+ return;
675
+ }
676
+ const length = this.selectedItems.length - 1;
677
+ const active = this.activeChipIndex;
678
+ this.activeChipIndex = active === -1 ? length : Math.max(active - 1, 0);
679
+ this.updateActiveItemIndex(-1);
680
+ this.focusChip();
681
+ }
682
+ nextChip() {
683
+ if (this.text || this.activeChipIndex === -1) {
684
+ return;
685
+ }
686
+ const last = this.selectedItems.length - 1;
687
+ const newIndex = this.activeChipIndex + 1;
688
+ if (newIndex > last) {
689
+ this.activeChipIndex = -1;
690
+ this.setFocus();
691
+ }
692
+ else {
693
+ this.activeChipIndex = newIndex;
694
+ this.focusChip();
695
+ }
696
+ this.updateActiveItemIndex(-1);
697
+ }
698
+ focusChip() {
699
+ var _a;
700
+ const guid = (_a = this.selectedItems[this.activeChipIndex]) === null || _a === void 0 ? void 0 : _a.guid;
701
+ const chip = this.referenceEl.querySelector(`#chip-${guid}`);
702
+ chip === null || chip === void 0 ? void 0 : chip.setFocus();
703
+ }
704
+ shiftActiveItemIndex(delta) {
705
+ const length = this.visibleItems.length;
706
+ const newIndex = (this.activeItemIndex + length + delta) % length;
707
+ this.updateActiveItemIndex(newIndex);
708
+ // ensure active item is in view if we have scrolling
709
+ const activeItem = this.visibleItems[this.activeItemIndex];
710
+ const height = this.calculateSingleItemHeight(activeItem);
711
+ const { offsetHeight, scrollTop } = this.listContainerEl;
712
+ if (offsetHeight + scrollTop < activeItem.offsetTop + height) {
713
+ this.listContainerEl.scrollTop = activeItem.offsetTop - offsetHeight + height;
714
+ }
715
+ else if (activeItem.offsetTop < scrollTop) {
716
+ this.listContainerEl.scrollTop = activeItem.offsetTop;
717
+ }
718
+ }
719
+ updateActiveItemIndex(index) {
720
+ this.activeItemIndex = index;
721
+ let activeDescendant = null;
722
+ this.visibleItems.forEach((el, i) => {
723
+ if (i === index) {
724
+ el.active = true;
725
+ activeDescendant = el.guid;
726
+ }
727
+ else {
728
+ el.active = false;
729
+ }
730
+ });
731
+ this.activeDescendant = activeDescendant;
732
+ if (this.activeItemIndex > -1) {
733
+ this.activeChipIndex = -1;
734
+ this.textInput.focus();
735
+ }
736
+ }
737
+ isMulti() {
738
+ return this.selectionMode !== "single";
739
+ }
740
+ //--------------------------------------------------------------------------
741
+ //
742
+ // Render Methods
743
+ //
744
+ //--------------------------------------------------------------------------
745
+ renderChips() {
746
+ const { activeChipIndex, scale, selectionMode, el } = this;
747
+ const dir = getElementDir(el);
748
+ return this.selectedItems.map((item, i) => {
749
+ const chipClasses = {
750
+ chip: true,
751
+ "chip--active": activeChipIndex === i,
752
+ "chip--rtl": dir === "rtl"
753
+ };
754
+ const ancestors = [...getItemAncestors(item)].reverse();
755
+ const pathLabel = [...ancestors, item].map((el) => el.textLabel);
756
+ const label = selectionMode !== "ancestors" ? item.textLabel : pathLabel.join(" / ");
757
+ return (h("calcite-chip", { "aria-label": label, class: chipClasses, dismissLabel: "remove tag", dismissible: true, icon: item.icon, id: `chip-${item.guid}`, key: item.textLabel, onCalciteChipDismiss: (event) => this.calciteChipDismissHandler(event, item), scale: scale, title: label, value: item.value }, label));
758
+ });
759
+ }
760
+ renderInput() {
761
+ const { active, disabled, placeholder, selectionMode, needsIcon, selectedItems } = this;
762
+ const single = selectionMode === "single";
763
+ const selectedItem = selectedItems[0];
764
+ const showLabel = !active && single && !!selectedItem;
765
+ return (h("span", { class: {
766
+ "input-wrap": true,
767
+ "input-wrap--single": single
768
+ } }, showLabel && (h("span", { class: {
769
+ label: true,
770
+ "label--spaced": needsIcon
771
+ }, key: "label", onFocus: this.comboboxFocusHandler, tabindex: "0" }, selectedItem.textLabel)), h("input", { "aria-activedescendant": this.activeDescendant, "aria-autocomplete": "list", "aria-controls": guid, "aria-label": getLabelText(this), class: {
772
+ input: true,
773
+ "input--single": true,
774
+ "input--transparent": this.activeChipIndex > -1,
775
+ "input--hidden": showLabel,
776
+ "input--icon": single && needsIcon
777
+ }, disabled: disabled, id: `${guid}-input`, key: "input", onBlur: this.comboboxBlurHandler, onFocus: this.comboboxFocusHandler, onInput: this.inputHandler, placeholder: placeholder, ref: (el) => (this.textInput = el), type: "text" })));
778
+ }
779
+ renderListBoxOptions() {
780
+ return this.visibleItems.map((item) => (h("li", { "aria-selected": (!!item.selected).toString(), id: item.guid, role: "option", tabindex: "-1" }, item.textLabel)));
781
+ }
782
+ renderPopperContainer() {
783
+ const { active, maxScrollerHeight, setMenuEl, setListContainerEl, hideList, open } = this;
784
+ const classes = {
785
+ "list-container": true,
786
+ [CSS.animation]: true,
787
+ [CSS.animationActive]: active
788
+ };
789
+ const style = {
790
+ maxHeight: maxScrollerHeight > 0 ? `${maxScrollerHeight}px` : ""
791
+ };
792
+ return (h("div", { "aria-hidden": "true", class: { "popper-container": true, "popper-container--active": open }, ref: setMenuEl }, h("div", { class: classes, onTransitionEnd: this.transitionEnd, ref: setListContainerEl, style: style }, h("ul", { class: { list: true, "list--hide": hideList } }, h("slot", null)))));
793
+ }
794
+ renderIconStart() {
795
+ const { selectionMode, needsIcon, selectedItems } = this;
796
+ const selectedItem = selectedItems[0];
797
+ return (selectionMode === "single" &&
798
+ needsIcon && (h("span", { class: "icon-start" }, (selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.icon) && (h("calcite-icon", { class: "selected-icon", icon: selectedItem.icon, scale: "s" })))));
799
+ }
800
+ renderIconEnd() {
801
+ return (h("span", { class: "icon-end" }, h("calcite-icon", { icon: "chevron-down", scale: "s" })));
802
+ }
803
+ render() {
804
+ const { guid, open, label } = this;
805
+ const single = this.selectionMode === "single";
806
+ const labelId = `${guid}-label`;
807
+ return (h(Host, { onKeyDown: this.keydownHandler }, h("div", { "aria-autocomplete": "list", "aria-expanded": open.toString(), "aria-haspopup": "listbox", "aria-labelledby": labelId, "aria-owns": guid, class: {
808
+ wrapper: true,
809
+ "wrapper--single": single || !this.selectedItems.length,
810
+ "wrapper--active": open
811
+ }, onClick: this.setFocusClick, ref: this.setReferenceEl, role: "combobox" }, h("div", { class: "grid-input" }, this.renderIconStart(), !single && this.renderChips(), h("label", { class: "screen-readers-only", htmlFor: `${guid}-input`, id: labelId }, label), this.renderInput()), this.renderIconEnd()), h("ul", { "aria-labelledby": labelId, "aria-multiselectable": "true", class: "screen-readers-only", id: guid, role: "listbox", tabIndex: -1 }, this.renderListBoxOptions()), this.renderPopperContainer()));
812
+ }
813
+ get el() { return this; }
814
+ static get watchers() { return {
815
+ "active": ["activeHandler"],
816
+ "maxItems": ["maxItemsHandler"],
817
+ "text": ["textHandler"]
818
+ }; }
819
+ static get style() { return calciteComboboxCss; }
820
+ };
821
+ CalciteCombobox$1 = /*@__PURE__*/ proxyCustomElement(CalciteCombobox$1, [1, "calcite-combobox", {
822
+ "active": [1540],
823
+ "disabled": [516],
824
+ "label": [1],
825
+ "placeholder": [1],
826
+ "maxItems": [2, "max-items"],
827
+ "allowCustomValues": [4, "allow-custom-values"],
828
+ "overlayPositioning": [1, "overlay-positioning"],
829
+ "selectionMode": [513, "selection-mode"],
830
+ "scale": [513],
831
+ "items": [32],
832
+ "groupItems": [32],
833
+ "selectedItems": [32],
834
+ "visibleItems": [32],
835
+ "needsIcon": [32],
836
+ "hideList": [32],
837
+ "activeItemIndex": [32],
838
+ "activeChipIndex": [32],
839
+ "activeDescendant": [32],
840
+ "text": [32],
841
+ "open": [32],
842
+ "maxScrollerHeight": [32],
843
+ "reposition": [64],
844
+ "setFocus": [64]
845
+ }, [[4, "click", "documentClickHandler"], [0, "calciteComboboxItemChange", "calciteComboboxItemChangeHandler"]]]);
846
+ function defineCustomElement$1() {
847
+ const components = ["calcite-combobox", "calcite-chip", "calcite-icon"];
848
+ components.forEach(tagName => { switch (tagName) {
849
+ case "calcite-combobox":
850
+ if (!customElements.get(tagName)) {
851
+ customElements.define(tagName, CalciteCombobox$1);
852
+ }
853
+ break;
854
+ case "calcite-chip":
855
+ if (!customElements.get(tagName)) {
856
+ defineCustomElement$3();
857
+ }
858
+ break;
859
+ case "calcite-icon":
860
+ if (!customElements.get(tagName)) {
861
+ defineCustomElement$2();
862
+ }
863
+ break;
864
+ } });
865
+ }
866
+ defineCustomElement$1();
867
+
868
+ const CalciteCombobox = CalciteCombobox$1;
869
+ const defineCustomElement = defineCustomElement$1;
870
+
871
+ export { CalciteCombobox, defineCustomElement };