@esri/calcite-components 1.0.0-beta.80 → 1.0.0-beta.83

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 (1227) hide show
  1. package/dist/calcite/assets/date-picker/nls/ru.json +4 -4
  2. package/dist/calcite/assets/icon/compactness16.json +1 -0
  3. package/dist/calcite/assets/icon/compactness24.json +1 -0
  4. package/dist/calcite/assets/icon/compactness32.json +1 -0
  5. package/dist/calcite/assets/icon/configure16.json +1 -0
  6. package/dist/calcite/assets/icon/configure24.json +1 -0
  7. package/dist/calcite/assets/icon/configure32.json +1 -0
  8. package/dist/calcite/assets/icon/debugScript16.json +1 -0
  9. package/dist/calcite/assets/icon/debugScript24.json +1 -0
  10. package/dist/calcite/assets/icon/debugScript32.json +1 -0
  11. package/dist/calcite/assets/icon/dissolveFeatures16.json +1 -0
  12. package/dist/calcite/assets/icon/dissolveFeatures24.json +1 -0
  13. package/dist/calcite/assets/icon/dissolveFeatures32.json +1 -0
  14. package/dist/calcite/assets/icon/distanceType16.json +1 -0
  15. package/dist/calcite/assets/icon/distanceType24.json +1 -0
  16. package/dist/calcite/assets/icon/distanceType32.json +1 -0
  17. package/dist/calcite/assets/icon/fileEcd16.json +1 -0
  18. package/dist/calcite/assets/icon/fileEcd24.json +1 -0
  19. package/dist/calcite/assets/icon/fileEcd32.json +1 -0
  20. package/dist/calcite/assets/icon/gridDiamond16.json +1 -0
  21. package/dist/calcite/assets/icon/gridDiamond24.json +1 -0
  22. package/dist/calcite/assets/icon/gridDiamond32.json +1 -0
  23. package/dist/calcite/assets/icon/gridHexagon16.json +1 -0
  24. package/dist/calcite/assets/icon/gridHexagon24.json +1 -0
  25. package/dist/calcite/assets/icon/gridHexagon32.json +1 -0
  26. package/dist/calcite/assets/icon/gridTriangle16.json +1 -0
  27. package/dist/calcite/assets/icon/gridTriangle24.json +1 -0
  28. package/dist/calcite/assets/icon/gridTriangle32.json +1 -0
  29. package/dist/calcite/assets/icon/insets16.json +1 -0
  30. package/dist/calcite/assets/icon/insets24.json +1 -0
  31. package/dist/calcite/assets/icon/insets32.json +1 -0
  32. package/dist/calcite/assets/icon/listCheckAll16.json +1 -0
  33. package/dist/calcite/assets/icon/listCheckAll24.json +1 -0
  34. package/dist/calcite/assets/icon/listCheckAll32.json +1 -0
  35. package/dist/calcite/assets/icon/ltrElementsAlign16.json +1 -0
  36. package/dist/calcite/assets/icon/ltrElementsAlign24.json +1 -0
  37. package/dist/calcite/assets/icon/ltrElementsAlign32.json +1 -0
  38. package/dist/calcite/assets/icon/ltrParagraphAlign16.json +1 -0
  39. package/dist/calcite/assets/icon/ltrParagraphAlign24.json +1 -0
  40. package/dist/calcite/assets/icon/ltrParagraphAlign32.json +1 -0
  41. package/dist/calcite/assets/icon/maximumTerritoryDistance16.json +1 -0
  42. package/dist/calcite/assets/icon/maximumTerritoryDistance24.json +1 -0
  43. package/dist/calcite/assets/icon/maximumTerritoryDistance32.json +1 -0
  44. package/dist/calcite/assets/icon/minDistanceBetweenCenters16.json +1 -0
  45. package/dist/calcite/assets/icon/minDistanceBetweenCenters24.json +1 -0
  46. package/dist/calcite/assets/icon/minDistanceBetweenCenters32.json +1 -0
  47. package/dist/calcite/assets/icon/numberOfTerritories16.json +1 -0
  48. package/dist/calcite/assets/icon/numberOfTerritories24.json +1 -0
  49. package/dist/calcite/assets/icon/numberOfTerritories32.json +1 -0
  50. package/dist/calcite/assets/icon/overlapFeatures16.json +1 -0
  51. package/dist/calcite/assets/icon/overlapFeatures24.json +1 -0
  52. package/dist/calcite/assets/icon/overlapFeatures32.json +1 -0
  53. package/dist/calcite/assets/icon/profileVariables16.json +1 -0
  54. package/dist/calcite/assets/icon/profileVariables24.json +1 -0
  55. package/dist/calcite/assets/icon/profileVariables32.json +1 -0
  56. package/dist/calcite/assets/icon/rangefinder16.json +1 -0
  57. package/dist/calcite/assets/icon/rangefinder24.json +1 -0
  58. package/dist/calcite/assets/icon/rangefinder32.json +1 -0
  59. package/dist/calcite/assets/icon/rasterAnalysis16.json +1 -0
  60. package/dist/calcite/assets/icon/rasterAnalysis24.json +1 -0
  61. package/dist/calcite/assets/icon/rasterAnalysis32.json +1 -0
  62. package/dist/calcite/assets/icon/recurrence16.json +1 -0
  63. package/dist/calcite/assets/icon/recurrence24.json +1 -0
  64. package/dist/calcite/assets/icon/recurrence32.json +1 -0
  65. package/dist/calcite/assets/icon/rfid16.json +1 -0
  66. package/dist/calcite/assets/icon/rfid24.json +1 -0
  67. package/dist/calcite/assets/icon/rfid32.json +1 -0
  68. package/dist/calcite/assets/icon/rtlElementsAlign16.json +1 -0
  69. package/dist/calcite/assets/icon/rtlElementsAlign24.json +1 -0
  70. package/dist/calcite/assets/icon/rtlElementsAlign32.json +1 -0
  71. package/dist/calcite/assets/icon/rtlParagraphAlign16.json +1 -0
  72. package/dist/calcite/assets/icon/rtlParagraphAlign24.json +1 -0
  73. package/dist/calcite/assets/icon/rtlParagraphAlign32.json +1 -0
  74. package/dist/calcite/assets/icon/splitFeatures16.json +1 -0
  75. package/dist/calcite/assets/icon/splitFeatures24.json +1 -0
  76. package/dist/calcite/assets/icon/splitFeatures32.json +1 -0
  77. package/dist/calcite/assets/icon/territoryBufferDistance16.json +1 -0
  78. package/dist/calcite/assets/icon/territoryBufferDistance24.json +1 -0
  79. package/dist/calcite/assets/icon/territoryBufferDistance32.json +1 -0
  80. package/dist/calcite/assets/icon/testData16.json +1 -0
  81. package/dist/calcite/assets/icon/testData24.json +1 -0
  82. package/dist/calcite/assets/icon/testData32.json +1 -0
  83. package/dist/calcite/calcite.css +1 -1
  84. package/dist/calcite/calcite.esm.js +2 -1
  85. package/dist/calcite/calcite.js +1 -1
  86. package/dist/calcite/index.esm.js +1 -0
  87. package/dist/calcite/p-004e3dc9.js +6 -0
  88. package/dist/calcite/p-07587a94.system.entry.js +6 -0
  89. package/dist/calcite/{p-e66a8ca1.system.entry.js → p-0804ce36.system.entry.js} +3 -2
  90. package/dist/calcite/{p-9385e4b4.system.js → p-08b6213a.system.js} +2 -1
  91. package/dist/calcite/{p-9ac86d6a.entry.js → p-0cbdfc7e.entry.js} +2 -1
  92. package/dist/calcite/p-0d37d621.system.entry.js +6 -0
  93. package/dist/calcite/p-0e1c259f.system.entry.js +6 -0
  94. package/dist/calcite/p-0f41fb58.entry.js +6 -0
  95. package/dist/calcite/p-0fc84480.js +6 -0
  96. package/dist/calcite/p-132b60fd.system.entry.js +6 -0
  97. package/dist/calcite/p-1571ede3.system.entry.js +6 -0
  98. package/dist/calcite/{p-c2adeae4.entry.js → p-1755cd6f.entry.js} +2 -1
  99. package/dist/calcite/{p-6a541e77.system.js → p-191d0802.system.js} +2 -1
  100. package/dist/calcite/p-1a07da7e.system.js +6 -0
  101. package/dist/calcite/{p-b2493735.entry.js → p-1a5fc48b.entry.js} +2 -1
  102. package/dist/calcite/{p-4de6f4fd.system.js → p-1ba93966.system.js} +1 -0
  103. package/dist/calcite/{p-5958acc8.system.js → p-1bc2d58d.system.js} +1 -0
  104. package/dist/calcite/{p-5394666a.entry.js → p-1eb6cfb5.entry.js} +2 -1
  105. package/dist/calcite/p-1f94715e.entry.js +6 -0
  106. package/dist/calcite/p-2111668f.system.entry.js +6 -0
  107. package/dist/calcite/{p-5802a565.entry.js → p-23188966.entry.js} +2 -1
  108. package/dist/calcite/p-24edad61.entry.js +6 -0
  109. package/dist/calcite/p-25fd5141.entry.js +6 -0
  110. package/dist/calcite/p-2609d345.system.entry.js +6 -0
  111. package/dist/calcite/{p-052ba882.system.entry.js → p-26526a6d.system.entry.js} +2 -1
  112. package/dist/calcite/{p-8a7596e3.entry.js → p-2778cb53.entry.js} +2 -1
  113. package/dist/calcite/p-2785ecb9.system.js +6 -0
  114. package/dist/calcite/{p-6b5776af.js → p-292c567d.js} +1 -0
  115. package/dist/calcite/{p-7fc69a9d.js → p-2c974b60.js} +1 -0
  116. package/dist/calcite/{p-03c92ad2.entry.js → p-2e57803f.entry.js} +2 -1
  117. package/dist/calcite/{p-ac4aec20.system.js → p-2f82a677.system.js} +1 -0
  118. package/dist/calcite/p-2fcac2cf.system.entry.js +6 -0
  119. package/dist/calcite/p-2fd30fee.entry.js +6 -0
  120. package/dist/calcite/{p-1aded388.system.entry.js → p-358cba5a.system.entry.js} +2 -1
  121. package/dist/calcite/p-37c23e83.system.entry.js +6 -0
  122. package/dist/calcite/p-3962123d.system.entry.js +6 -0
  123. package/dist/calcite/{p-079a3322.js → p-3981a495.js} +1 -0
  124. package/dist/calcite/p-3a256056.entry.js +6 -0
  125. package/dist/calcite/{p-a11ee541.system.entry.js → p-3b54c4a0.system.entry.js} +2 -1
  126. package/dist/calcite/p-3d4548a9.js +6 -0
  127. package/dist/calcite/p-3f00dc7c.entry.js +6 -0
  128. package/dist/calcite/p-3f80afb9.system.entry.js +6 -0
  129. package/dist/calcite/p-41b0a2a1.system.js +6 -0
  130. package/dist/calcite/p-4214c119.system.entry.js +6 -0
  131. package/dist/calcite/p-45b6d321.entry.js +6 -0
  132. package/dist/calcite/p-4620ae05.entry.js +6 -0
  133. package/dist/calcite/p-462cefe9.system.entry.js +6 -0
  134. package/dist/calcite/{p-e095517f.system.js → p-46d30c39.system.js} +1 -0
  135. package/dist/calcite/p-476e276f.entry.js +6 -0
  136. package/dist/calcite/p-47bf0f7d.entry.js +6 -0
  137. package/dist/calcite/p-47dd3632.entry.js +6 -0
  138. package/dist/calcite/p-4a88016c.system.entry.js +6 -0
  139. package/dist/calcite/{p-bd38ff21.js → p-4effc6db.js} +1 -0
  140. package/dist/calcite/p-4f71c68d.js +6 -0
  141. package/dist/calcite/p-4f82d10a.system.entry.js +6 -0
  142. package/dist/calcite/{p-ef17447d.system.entry.js → p-506f5631.system.entry.js} +2 -1
  143. package/dist/calcite/p-515e5f7e.system.entry.js +6 -0
  144. package/dist/calcite/p-5207385b.system.entry.js +6 -0
  145. package/dist/calcite/p-53b147dc.system.entry.js +6 -0
  146. package/dist/calcite/{p-7ed4c551.system.js → p-57ccba45.system.js} +1 -0
  147. package/dist/calcite/{p-5bb4d012.entry.js → p-5904a047.entry.js} +2 -1
  148. package/dist/calcite/{p-97904e9a.entry.js → p-59122590.entry.js} +2 -1
  149. package/dist/calcite/p-59aae748.entry.js +6 -0
  150. package/dist/calcite/{p-b9a38a28.system.entry.js → p-5ae3ce21.system.entry.js} +2 -1
  151. package/dist/calcite/{p-05bf835f.js → p-5afb0fbb.js} +2 -1
  152. package/dist/calcite/p-5b60d64c.system.entry.js +6 -0
  153. package/dist/calcite/p-5df0640c.system.entry.js +6 -0
  154. package/dist/calcite/p-5e07a875.system.entry.js +6 -0
  155. package/dist/calcite/p-5eb016b6.system.entry.js +6 -0
  156. package/dist/calcite/p-61483431.system.entry.js +6 -0
  157. package/dist/calcite/p-623f6224.entry.js +6 -0
  158. package/dist/calcite/{p-3e9d96c6.system.entry.js → p-636e43ac.system.entry.js} +2 -1
  159. package/dist/calcite/p-63d2bcec.system.entry.js +6 -0
  160. package/dist/calcite/p-64384786.entry.js +6 -0
  161. package/dist/calcite/p-6531fb85.entry.js +6 -0
  162. package/dist/calcite/p-67af4998.entry.js +6 -0
  163. package/dist/calcite/p-67ef236d.entry.js +6 -0
  164. package/dist/calcite/{p-cb57638c.system.js → p-68e3013f.system.js} +2 -1
  165. package/dist/calcite/p-6a966c2f.entry.js +6 -0
  166. package/dist/calcite/{p-02d7cf64.system.entry.js → p-6bcb5a71.system.entry.js} +2 -1
  167. package/dist/calcite/p-6d41e372.system.entry.js +6 -0
  168. package/dist/calcite/p-717fac51.entry.js +6 -0
  169. package/dist/calcite/p-773b540e.system.entry.js +6 -0
  170. package/dist/calcite/{p-e020662f.system.js → p-77762ff3.system.js} +1 -0
  171. package/dist/calcite/p-78f2801c.entry.js +6 -0
  172. package/dist/calcite/p-799f79af.entry.js +6 -0
  173. package/dist/calcite/{p-2d09cc25.js → p-7a8cddad.js} +1 -0
  174. package/dist/calcite/p-7a95bbeb.entry.js +6 -0
  175. package/dist/calcite/p-7bbfe1a2.system.entry.js +6 -0
  176. package/dist/calcite/p-7d8fe7b3.system.entry.js +6 -0
  177. package/dist/calcite/p-7e576c74.system.entry.js +6 -0
  178. package/dist/calcite/p-800a9250.entry.js +6 -0
  179. package/dist/calcite/p-834f407d.system.entry.js +6 -0
  180. package/dist/calcite/p-85a769d3.system.entry.js +6 -0
  181. package/dist/calcite/p-878d7c09.system.js +6 -0
  182. package/dist/calcite/{p-4570cf6c.js → p-8dfe7af3.js} +2 -1
  183. package/dist/calcite/p-8e2129c6.system.entry.js +6 -0
  184. package/dist/calcite/p-900fd30e.js +6 -0
  185. package/dist/calcite/{p-eb3c084f.system.entry.js → p-912c9e61.system.entry.js} +2 -1
  186. package/dist/calcite/p-940ac25d.system.entry.js +6 -0
  187. package/dist/calcite/p-9634f60d.entry.js +6 -0
  188. package/dist/calcite/{p-a7770d75.entry.js → p-98dc9493.entry.js} +2 -1
  189. package/dist/calcite/{p-65dbbfb5.system.js → p-994d99ff.system.js} +3 -1
  190. package/dist/calcite/{p-7432e5ef.system.entry.js → p-9ba769e3.system.entry.js} +2 -1
  191. package/dist/calcite/{p-7bee4942.system.entry.js → p-9c85d763.system.entry.js} +2 -1
  192. package/dist/calcite/p-9d3f8b0c.system.entry.js +6 -0
  193. package/dist/calcite/p-9ea395ee.js +6 -0
  194. package/dist/calcite/p-a1118db1.entry.js +6 -0
  195. package/dist/calcite/p-a1176eac.system.entry.js +6 -0
  196. package/dist/calcite/p-a3e19cec.entry.js +6 -0
  197. package/dist/calcite/{p-8e0dd0af.system.entry.js → p-a5fd7a87.system.entry.js} +2 -1
  198. package/dist/calcite/p-a73419ab.js +6 -0
  199. package/dist/calcite/{p-3119ffce.system.js → p-a75ad7cb.system.js} +1 -0
  200. package/dist/calcite/p-a81ad35a.entry.js +6 -0
  201. package/dist/calcite/p-a945b681.system.js +6 -0
  202. package/dist/calcite/{p-7b8707b2.system.js → p-acafe8ca.system.js} +1 -0
  203. package/dist/calcite/p-adc2b773.entry.js +6 -0
  204. package/dist/calcite/{p-63624a01.js → p-ae6f5622.js} +1 -0
  205. package/dist/calcite/{p-1d6404b5.system.js → p-ba349f22.system.js} +1 -0
  206. package/dist/calcite/p-c1548c19.js +6 -0
  207. package/dist/calcite/p-c470cecf.entry.js +6 -0
  208. package/dist/calcite/p-c5eec108.entry.js +6 -0
  209. package/dist/calcite/{p-f344e163.entry.js → p-c84f0dec.entry.js} +2 -1
  210. package/dist/calcite/p-c86b91ca.entry.js +6 -0
  211. package/dist/calcite/{p-3c34f20d.system.js → p-c96917cb.system.js} +2 -1
  212. package/dist/calcite/p-caea0782.js +7 -0
  213. package/dist/calcite/p-cbe3c2c0.entry.js +6 -0
  214. package/dist/calcite/p-ccb27d44.system.entry.js +6 -0
  215. package/dist/calcite/{p-b06207bb.js → p-ccb5a784.js} +1 -0
  216. package/dist/calcite/p-d1d05643.entry.js +6 -0
  217. package/dist/calcite/p-d901c470.system.js +12 -0
  218. package/dist/calcite/p-db63dc35.system.entry.js +6 -0
  219. package/dist/calcite/p-dc10e8bb.system.entry.js +6 -0
  220. package/dist/calcite/p-ddb96773.system.js +6 -0
  221. package/dist/calcite/{p-cafd98e8.entry.js → p-df419c8b.entry.js} +2 -1
  222. package/dist/calcite/p-e0ff045a.js +6 -0
  223. package/dist/calcite/{p-1fc943d5.system.entry.js → p-e117fad1.system.entry.js} +2 -1
  224. package/dist/calcite/{p-c51699d3.system.js → p-e3076302.system.js} +2 -1
  225. package/dist/calcite/p-e321018b.js +12 -0
  226. package/dist/calcite/p-e6ef10e2.js +6 -0
  227. package/dist/calcite/p-e7336cab.entry.js +6 -0
  228. package/dist/calcite/{p-482885ae.system.entry.js → p-e9e34c7f.system.entry.js} +2 -1
  229. package/dist/calcite/p-ed0608ea.system.entry.js +6 -0
  230. package/dist/calcite/p-eda11878.entry.js +6 -0
  231. package/dist/calcite/{p-8ab345f2.js → p-edf3436f.js} +2 -1
  232. package/dist/calcite/p-ee47a382.system.entry.js +6 -0
  233. package/dist/calcite/p-ee8f8d7e.entry.js +6 -0
  234. package/dist/calcite/{p-cc6e7726.entry.js → p-ef4ca55d.entry.js} +2 -1
  235. package/dist/calcite/p-f1935a52.entry.js +6 -0
  236. package/dist/calcite/p-f313806e.entry.js +6 -0
  237. package/dist/calcite/p-f39d0565.system.entry.js +6 -0
  238. package/dist/calcite/{p-0a5d059d.js → p-f46cf640.js} +1 -0
  239. package/dist/calcite/{p-8a63221d.js → p-f54288ad.js} +1 -0
  240. package/dist/calcite/{p-a117af56.system.js → p-f7546789.system.js} +1 -0
  241. package/dist/calcite/p-f828bc9b.entry.js +6 -0
  242. package/dist/calcite/p-f850e63f.system.js +6 -0
  243. package/dist/calcite/{p-f68725d7.entry.js → p-f91e835d.entry.js} +2 -1
  244. package/dist/calcite/{p-f78023f1.system.js → p-f9687b03.system.js} +1 -0
  245. package/dist/calcite/p-f96d2623.system.entry.js +6 -0
  246. package/dist/calcite/{p-3b4662a5.entry.js → p-faaa959a.entry.js} +2 -1
  247. package/dist/calcite/p-fba2fa9f.system.js +6 -0
  248. package/dist/calcite/{p-78bc502f.entry.js → p-fd5a2277.entry.js} +2 -1
  249. package/dist/calcite/{p-18be4438.entry.js → p-fd70b6c1.entry.js} +2 -1
  250. package/dist/calcite/p-feb71776.system.entry.js +6 -0
  251. package/dist/cjs/{ExpandToggle-f7682a15.js → ExpandToggle-988c63cd.js} +9 -6
  252. package/dist/cjs/{Heading-ec707493.js → Heading-19d7669b.js} +2 -1
  253. package/dist/cjs/{array-a5dedf5a.js → array-d5bca414.js} +1 -0
  254. package/dist/cjs/calcite-accordion_2.cjs.entry.js +24 -17
  255. package/dist/cjs/calcite-action-bar.cjs.entry.js +17 -11
  256. package/dist/cjs/calcite-action-group.cjs.entry.js +8 -7
  257. package/dist/cjs/calcite-action-menu.cjs.entry.js +28 -23
  258. package/dist/cjs/calcite-action-pad.cjs.entry.js +15 -10
  259. package/dist/cjs/calcite-action.cjs.entry.js +11 -6
  260. package/dist/cjs/calcite-alert.cjs.entry.js +18 -14
  261. package/dist/cjs/calcite-avatar.cjs.entry.js +11 -5
  262. package/dist/cjs/calcite-block_2.cjs.entry.js +32 -15
  263. package/dist/cjs/calcite-button.cjs.entry.js +24 -20
  264. package/dist/cjs/calcite-card.cjs.entry.js +23 -13
  265. package/dist/cjs/calcite-checkbox.cjs.entry.js +11 -9
  266. package/dist/cjs/calcite-chip.cjs.entry.js +16 -12
  267. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +1417 -1389
  268. package/dist/cjs/calcite-combobox_3.cjs.entry.js +105 -58
  269. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +117 -44
  270. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +89 -48
  271. package/dist/cjs/calcite-fab.cjs.entry.js +6 -4
  272. package/dist/cjs/calcite-filter.cjs.entry.js +28 -21
  273. package/dist/cjs/calcite-flow.cjs.entry.js +13 -18
  274. package/dist/cjs/calcite-graph_2.cjs.entry.js +123 -48
  275. package/dist/cjs/calcite-handle.cjs.entry.js +7 -4
  276. package/dist/cjs/calcite-icon.cjs.entry.js +10 -5
  277. package/dist/cjs/calcite-inline-editable.cjs.entry.js +23 -18
  278. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +82 -32
  279. package/dist/cjs/calcite-input-message.cjs.entry.js +5 -4
  280. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +90 -42
  281. package/dist/cjs/calcite-input.cjs.entry.js +76 -47
  282. package/dist/cjs/calcite-label.cjs.entry.js +7 -5
  283. package/dist/cjs/calcite-link.cjs.entry.js +8 -6
  284. package/dist/cjs/calcite-list_3.cjs.entry.js +21 -14
  285. package/dist/cjs/calcite-loader.cjs.entry.js +11 -8
  286. package/dist/cjs/calcite-modal.cjs.entry.js +31 -21
  287. package/dist/cjs/calcite-notice.cjs.entry.js +17 -14
  288. package/dist/cjs/calcite-option_3.cjs.entry.js +14 -13
  289. package/dist/cjs/calcite-pagination.cjs.entry.js +91 -5
  290. package/dist/cjs/calcite-panel.cjs.entry.js +44 -13
  291. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +33 -23
  292. package/dist/cjs/calcite-popover_2.cjs.entry.js +162 -56
  293. package/dist/cjs/calcite-progress.cjs.entry.js +2 -1
  294. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -2
  295. package/dist/cjs/calcite-radio-button.cjs.entry.js +13 -9
  296. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +12 -11
  297. package/dist/cjs/calcite-rating.cjs.entry.js +14 -9
  298. package/dist/cjs/calcite-scrim.cjs.entry.js +5 -2
  299. package/dist/cjs/calcite-shell_3.cjs.entry.js +10 -8
  300. package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -4
  301. package/dist/cjs/calcite-split-button.cjs.entry.js +9 -5
  302. package/dist/cjs/calcite-stepper_2.cjs.entry.js +140 -117
  303. package/dist/cjs/calcite-switch.cjs.entry.js +13 -9
  304. package/dist/cjs/calcite-tab_4.cjs.entry.js +122 -81
  305. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +6 -5
  306. package/dist/cjs/calcite-tile.cjs.entry.js +9 -7
  307. package/dist/cjs/calcite-tip_3.cjs.entry.js +13 -10
  308. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +188 -144
  309. package/dist/cjs/calcite-tree_2.cjs.entry.js +33 -21
  310. package/dist/cjs/calcite-value-list_2.cjs.entry.js +40 -31
  311. package/dist/cjs/calcite.cjs.js +4 -3
  312. package/dist/cjs/{conditionalSlot-64f9bfd3.js → conditionalSlot-462ae1f4.js} +7 -2
  313. package/dist/cjs/{debounce-95979061.js → debounce-5127bc67.js} +1 -0
  314. package/dist/cjs/{dom-f3df220d.js → dom-b0904219.js} +28 -2
  315. package/dist/cjs/{forIn-a5d553af.js → forIn-265c8eb3.js} +2 -1
  316. package/dist/cjs/{form-0ef859c8.js → form-4c32a5c7.js} +36 -2
  317. package/dist/cjs/{guid-b270f0db.js → guid-8af0f93c.js} +1 -0
  318. package/dist/cjs/{index-1af0efd3.js → index-82ee13f7.js} +7 -7
  319. package/dist/cjs/index.cjs.js +1 -0
  320. package/dist/cjs/{interactive-87406231.js → interactive-15f9fd28.js} +7 -3
  321. package/dist/cjs/{interfaces-7216af30.js → interfaces-86334104.js} +1 -0
  322. package/dist/cjs/{label-980508de.js → label-131d9cce.js} +26 -18
  323. package/dist/cjs/loader.cjs.js +4 -3
  324. package/dist/cjs/{locale-02462821.js → locale-6c28abd8.js} +31 -28
  325. package/dist/cjs/{math-145c80e2.js → math-2f83830f.js} +1 -0
  326. package/dist/cjs/{number-e813e801.js → number-6f1151e7.js} +2 -1
  327. package/dist/cjs/{observers-79bfb8bc.js → observers-f672f664.js} +1 -0
  328. package/dist/cjs/{popper-64d89ef7.js → popper-5ca144d4.js} +29 -3
  329. package/dist/cjs/{resources-ac80e82c.js → resources-06f33bd4.js} +1 -0
  330. package/dist/cjs/{resources-7d5449fb.js → resources-08dc0a5e.js} +1 -0
  331. package/dist/cjs/{resources-e43fc9f3.js → resources-0de59f13.js} +9 -8
  332. package/dist/cjs/{resources-7811eb2c.js → resources-24a7ca1a.js} +44 -2
  333. package/dist/cjs/{sortable.esm-d7a4560b.js → sortable.esm-8e944897.js} +63 -54
  334. package/dist/cjs/{utils-6579522f.js → utils-f3a37c0a.js} +1 -0
  335. package/dist/collection/collection-manifest.json +1 -1
  336. package/dist/collection/components/accordion/accordion.js +16 -10
  337. package/dist/collection/components/accordion/interfaces.js +1 -0
  338. package/dist/collection/components/accordion-item/accordion-item.css +0 -2
  339. package/dist/collection/components/accordion-item/accordion-item.js +16 -14
  340. package/dist/collection/components/action/action.css +1 -3
  341. package/dist/collection/components/action/action.js +6 -2
  342. package/dist/collection/components/action/resources.js +1 -0
  343. package/dist/collection/components/action-bar/action-bar.js +16 -4
  344. package/dist/collection/components/action-bar/resources.js +1 -0
  345. package/dist/collection/components/action-bar/utils.js +1 -0
  346. package/dist/collection/components/action-group/action-group.js +1 -0
  347. package/dist/collection/components/action-group/resources.js +1 -0
  348. package/dist/collection/components/action-menu/action-menu.css +0 -2
  349. package/dist/collection/components/action-menu/action-menu.js +21 -16
  350. package/dist/collection/components/action-menu/resources.js +1 -0
  351. package/dist/collection/components/action-pad/action-pad.js +15 -4
  352. package/dist/collection/components/action-pad/resources.js +1 -0
  353. package/dist/collection/components/alert/alert.css +11 -24
  354. package/dist/collection/components/alert/alert.js +20 -15
  355. package/dist/collection/components/alert/interfaces.js +1 -0
  356. package/dist/collection/components/alert/resources.js +1 -0
  357. package/dist/collection/components/avatar/avatar.css +1 -1
  358. package/dist/collection/components/avatar/avatar.js +1 -0
  359. package/dist/collection/components/avatar/utils.js +6 -0
  360. package/dist/collection/components/block/block.css +0 -2
  361. package/dist/collection/components/block/block.js +37 -12
  362. package/dist/collection/components/block/resources.js +1 -0
  363. package/dist/collection/components/block-section/block-section.css +0 -2
  364. package/dist/collection/components/block-section/block-section.js +3 -2
  365. package/dist/collection/components/block-section/interfaces.js +1 -0
  366. package/dist/collection/components/block-section/resources.js +1 -0
  367. package/dist/collection/components/button/button.css +1 -3
  368. package/dist/collection/components/button/button.js +20 -15
  369. package/dist/collection/components/button/interfaces.js +1 -0
  370. package/dist/collection/components/button/resources.js +1 -0
  371. package/dist/collection/components/card/card.css +19 -5
  372. package/dist/collection/components/card/card.js +45 -10
  373. package/dist/collection/components/card/resources.js +3 -2
  374. package/dist/collection/components/checkbox/checkbox.css +13 -10
  375. package/dist/collection/components/checkbox/checkbox.js +5 -2
  376. package/dist/collection/components/chip/chip.css +23 -25
  377. package/dist/collection/components/chip/chip.js +7 -4
  378. package/dist/collection/components/chip/interfaces.js +1 -0
  379. package/dist/collection/components/chip/resources.js +4 -2
  380. package/dist/collection/components/color-picker/color-picker.css +2 -12
  381. package/dist/collection/components/color-picker/color-picker.js +76 -36
  382. package/dist/collection/components/color-picker/interfaces.js +1 -0
  383. package/dist/collection/components/color-picker/resources.js +1 -0
  384. package/dist/collection/components/color-picker/utils.js +1 -0
  385. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +48 -50
  386. package/dist/collection/components/color-picker-hex-input/resources.js +1 -0
  387. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -0
  388. package/dist/collection/components/color-picker-swatch/resources.js +1 -0
  389. package/dist/collection/components/combobox/combobox.css +0 -2
  390. package/dist/collection/components/combobox/combobox.js +95 -47
  391. package/dist/collection/components/combobox/interfaces.js +1 -0
  392. package/dist/collection/components/combobox/resources.js +5 -0
  393. package/dist/collection/components/combobox/utils.js +1 -0
  394. package/dist/collection/components/combobox-item/combobox-item.css +1 -3
  395. package/dist/collection/components/combobox-item/combobox-item.js +11 -2
  396. package/dist/collection/components/combobox-item/resources.js +1 -0
  397. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -0
  398. package/dist/collection/components/combobox-item-group/resources.js +1 -0
  399. package/dist/collection/components/date-picker/assets/date-picker/nls/ru.json +4 -4
  400. package/dist/collection/components/date-picker/date-picker.js +36 -6
  401. package/dist/collection/components/date-picker/interfaces.js +1 -0
  402. package/dist/collection/components/date-picker/resources.js +1 -0
  403. package/dist/collection/components/date-picker/utils.js +7 -0
  404. package/dist/collection/components/date-picker-day/date-picker-day.css +7 -9
  405. package/dist/collection/components/date-picker-day/date-picker-day.js +4 -3
  406. package/dist/collection/components/date-picker-month/date-picker-month.js +38 -9
  407. package/dist/collection/components/date-picker-month-header/date-picker-month-header.css +1 -7
  408. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +35 -19
  409. package/dist/collection/components/dropdown/dropdown.css +0 -1
  410. package/dist/collection/components/dropdown/dropdown.js +76 -35
  411. package/dist/collection/components/dropdown/interfaces.js +1 -0
  412. package/dist/collection/components/dropdown/resources.js +1 -0
  413. package/dist/collection/components/dropdown-group/dropdown-group.css +4 -0
  414. package/dist/collection/components/dropdown-group/dropdown-group.js +9 -6
  415. package/dist/collection/components/dropdown-group/interfaces.js +1 -0
  416. package/dist/collection/components/dropdown-group/resources.js +1 -0
  417. package/dist/collection/components/dropdown-item/dropdown-item.css +1 -2
  418. package/dist/collection/components/dropdown-item/dropdown-item.js +19 -19
  419. package/dist/collection/components/dropdown-item/resources.js +1 -0
  420. package/dist/collection/components/fab/fab.js +2 -0
  421. package/dist/collection/components/fab/resources.js +1 -0
  422. package/dist/collection/components/filter/filter.css +2 -2
  423. package/dist/collection/components/filter/filter.js +20 -15
  424. package/dist/collection/components/filter/resources.js +3 -2
  425. package/dist/collection/components/flow/flow.css +1 -9
  426. package/dist/collection/components/flow/flow.js +12 -17
  427. package/dist/collection/components/flow/interfaces.js +1 -0
  428. package/dist/collection/components/flow/resources.js +1 -0
  429. package/dist/collection/components/functional/ExpandToggle.js +5 -2
  430. package/dist/collection/components/functional/Heading.js +1 -0
  431. package/dist/collection/components/graph/graph.css +1 -0
  432. package/dist/collection/components/graph/graph.js +1 -0
  433. package/dist/collection/components/graph/interfaces.js +1 -0
  434. package/dist/collection/components/graph/util.js +29 -0
  435. package/dist/collection/components/handle/handle.css +0 -2
  436. package/dist/collection/components/handle/handle.js +5 -3
  437. package/dist/collection/components/handle/resources.js +1 -0
  438. package/dist/collection/components/icon/assets/icon/compactness16.json +1 -0
  439. package/dist/collection/components/icon/assets/icon/compactness24.json +1 -0
  440. package/dist/collection/components/icon/assets/icon/compactness32.json +1 -0
  441. package/dist/collection/components/icon/assets/icon/configure16.json +1 -0
  442. package/dist/collection/components/icon/assets/icon/configure24.json +1 -0
  443. package/dist/collection/components/icon/assets/icon/configure32.json +1 -0
  444. package/dist/collection/components/icon/assets/icon/debugScript16.json +1 -0
  445. package/dist/collection/components/icon/assets/icon/debugScript24.json +1 -0
  446. package/dist/collection/components/icon/assets/icon/debugScript32.json +1 -0
  447. package/dist/collection/components/icon/assets/icon/dissolveFeatures16.json +1 -0
  448. package/dist/collection/components/icon/assets/icon/dissolveFeatures24.json +1 -0
  449. package/dist/collection/components/icon/assets/icon/dissolveFeatures32.json +1 -0
  450. package/dist/collection/components/icon/assets/icon/distanceType16.json +1 -0
  451. package/dist/collection/components/icon/assets/icon/distanceType24.json +1 -0
  452. package/dist/collection/components/icon/assets/icon/distanceType32.json +1 -0
  453. package/dist/collection/components/icon/assets/icon/fileEcd16.json +1 -0
  454. package/dist/collection/components/icon/assets/icon/fileEcd24.json +1 -0
  455. package/dist/collection/components/icon/assets/icon/fileEcd32.json +1 -0
  456. package/dist/collection/components/icon/assets/icon/gridDiamond16.json +1 -0
  457. package/dist/collection/components/icon/assets/icon/gridDiamond24.json +1 -0
  458. package/dist/collection/components/icon/assets/icon/gridDiamond32.json +1 -0
  459. package/dist/collection/components/icon/assets/icon/gridHexagon16.json +1 -0
  460. package/dist/collection/components/icon/assets/icon/gridHexagon24.json +1 -0
  461. package/dist/collection/components/icon/assets/icon/gridHexagon32.json +1 -0
  462. package/dist/collection/components/icon/assets/icon/gridTriangle16.json +1 -0
  463. package/dist/collection/components/icon/assets/icon/gridTriangle24.json +1 -0
  464. package/dist/collection/components/icon/assets/icon/gridTriangle32.json +1 -0
  465. package/dist/collection/components/icon/assets/icon/insets16.json +1 -0
  466. package/dist/collection/components/icon/assets/icon/insets24.json +1 -0
  467. package/dist/collection/components/icon/assets/icon/insets32.json +1 -0
  468. package/dist/collection/components/icon/assets/icon/listCheckAll16.json +1 -0
  469. package/dist/collection/components/icon/assets/icon/listCheckAll24.json +1 -0
  470. package/dist/collection/components/icon/assets/icon/listCheckAll32.json +1 -0
  471. package/dist/collection/components/icon/assets/icon/ltrElementsAlign16.json +1 -0
  472. package/dist/collection/components/icon/assets/icon/ltrElementsAlign24.json +1 -0
  473. package/dist/collection/components/icon/assets/icon/ltrElementsAlign32.json +1 -0
  474. package/dist/collection/components/icon/assets/icon/ltrParagraphAlign16.json +1 -0
  475. package/dist/collection/components/icon/assets/icon/ltrParagraphAlign24.json +1 -0
  476. package/dist/collection/components/icon/assets/icon/ltrParagraphAlign32.json +1 -0
  477. package/dist/collection/components/icon/assets/icon/maximumTerritoryDistance16.json +1 -0
  478. package/dist/collection/components/icon/assets/icon/maximumTerritoryDistance24.json +1 -0
  479. package/dist/collection/components/icon/assets/icon/maximumTerritoryDistance32.json +1 -0
  480. package/dist/collection/components/icon/assets/icon/minDistanceBetweenCenters16.json +1 -0
  481. package/dist/collection/components/icon/assets/icon/minDistanceBetweenCenters24.json +1 -0
  482. package/dist/collection/components/icon/assets/icon/minDistanceBetweenCenters32.json +1 -0
  483. package/dist/collection/components/icon/assets/icon/numberOfTerritories16.json +1 -0
  484. package/dist/collection/components/icon/assets/icon/numberOfTerritories24.json +1 -0
  485. package/dist/collection/components/icon/assets/icon/numberOfTerritories32.json +1 -0
  486. package/dist/collection/components/icon/assets/icon/overlapFeatures16.json +1 -0
  487. package/dist/collection/components/icon/assets/icon/overlapFeatures24.json +1 -0
  488. package/dist/collection/components/icon/assets/icon/overlapFeatures32.json +1 -0
  489. package/dist/collection/components/icon/assets/icon/profileVariables16.json +1 -0
  490. package/dist/collection/components/icon/assets/icon/profileVariables24.json +1 -0
  491. package/dist/collection/components/icon/assets/icon/profileVariables32.json +1 -0
  492. package/dist/collection/components/icon/assets/icon/rangefinder16.json +1 -0
  493. package/dist/collection/components/icon/assets/icon/rangefinder24.json +1 -0
  494. package/dist/collection/components/icon/assets/icon/rangefinder32.json +1 -0
  495. package/dist/collection/components/icon/assets/icon/rasterAnalysis16.json +1 -0
  496. package/dist/collection/components/icon/assets/icon/rasterAnalysis24.json +1 -0
  497. package/dist/collection/components/icon/assets/icon/rasterAnalysis32.json +1 -0
  498. package/dist/collection/components/icon/assets/icon/recurrence16.json +1 -0
  499. package/dist/collection/components/icon/assets/icon/recurrence24.json +1 -0
  500. package/dist/collection/components/icon/assets/icon/recurrence32.json +1 -0
  501. package/dist/collection/components/icon/assets/icon/rfid16.json +1 -0
  502. package/dist/collection/components/icon/assets/icon/rfid24.json +1 -0
  503. package/dist/collection/components/icon/assets/icon/rfid32.json +1 -0
  504. package/dist/collection/components/icon/assets/icon/rtlElementsAlign16.json +1 -0
  505. package/dist/collection/components/icon/assets/icon/rtlElementsAlign24.json +1 -0
  506. package/dist/collection/components/icon/assets/icon/rtlElementsAlign32.json +1 -0
  507. package/dist/collection/components/icon/assets/icon/rtlParagraphAlign16.json +1 -0
  508. package/dist/collection/components/icon/assets/icon/rtlParagraphAlign24.json +1 -0
  509. package/dist/collection/components/icon/assets/icon/rtlParagraphAlign32.json +1 -0
  510. package/dist/collection/components/icon/assets/icon/splitFeatures16.json +1 -0
  511. package/dist/collection/components/icon/assets/icon/splitFeatures24.json +1 -0
  512. package/dist/collection/components/icon/assets/icon/splitFeatures32.json +1 -0
  513. package/dist/collection/components/icon/assets/icon/territoryBufferDistance16.json +1 -0
  514. package/dist/collection/components/icon/assets/icon/territoryBufferDistance24.json +1 -0
  515. package/dist/collection/components/icon/assets/icon/territoryBufferDistance32.json +1 -0
  516. package/dist/collection/components/icon/assets/icon/testData16.json +1 -0
  517. package/dist/collection/components/icon/assets/icon/testData24.json +1 -0
  518. package/dist/collection/components/icon/assets/icon/testData32.json +1 -0
  519. package/dist/collection/components/icon/icon.js +3 -2
  520. package/dist/collection/components/icon/resources.js +1 -0
  521. package/dist/collection/components/icon/utils.js +5 -0
  522. package/dist/collection/components/inline-editable/inline-editable.css +1 -4
  523. package/dist/collection/components/inline-editable/inline-editable.js +18 -13
  524. package/dist/collection/components/inline-editable/resources.js +1 -0
  525. package/dist/collection/components/input/input.css +14 -36
  526. package/dist/collection/components/input/input.js +106 -46
  527. package/dist/collection/components/input/interfaces.js +1 -0
  528. package/dist/collection/components/input/resources.js +4 -0
  529. package/dist/collection/components/input-date-picker/input-date-picker.css +1 -1
  530. package/dist/collection/components/input-date-picker/input-date-picker.js +107 -28
  531. package/dist/collection/components/input-message/input-message.css +11 -16
  532. package/dist/collection/components/input-message/input-message.js +1 -0
  533. package/dist/collection/components/input-message/interfaces.js +1 -0
  534. package/dist/collection/components/input-time-picker/input-time-picker.js +83 -14
  535. package/dist/collection/components/interfaces.js +1 -0
  536. package/dist/collection/components/label/label.css +2 -2
  537. package/dist/collection/components/label/label.js +2 -0
  538. package/dist/collection/components/label/resources.js +1 -0
  539. package/dist/collection/components/link/link.css +3 -14
  540. package/dist/collection/components/link/link.js +3 -1
  541. package/dist/collection/components/list/list.js +4 -3
  542. package/dist/collection/components/list/resources.js +1 -0
  543. package/dist/collection/components/list-item/list-item.css +20 -7
  544. package/dist/collection/components/list-item/list-item.js +12 -6
  545. package/dist/collection/components/list-item/resources.js +3 -1
  546. package/dist/collection/components/list-item-group/list-item-group.css +1 -1
  547. package/dist/collection/components/list-item-group/list-item-group.js +3 -2
  548. package/dist/collection/components/list-item-group/resources.js +1 -0
  549. package/dist/collection/components/loader/loader.css +3 -3
  550. package/dist/collection/components/loader/loader.js +18 -15
  551. package/dist/collection/components/modal/interfaces.js +1 -0
  552. package/dist/collection/components/modal/modal.css +7 -48
  553. package/dist/collection/components/modal/modal.js +79 -64
  554. package/dist/collection/components/modal/resources.js +1 -0
  555. package/dist/collection/components/notice/notice.css +5 -16
  556. package/dist/collection/components/notice/notice.js +27 -23
  557. package/dist/collection/components/notice/resources.js +1 -0
  558. package/dist/collection/components/option/option.js +5 -4
  559. package/dist/collection/components/option-group/option-group.js +4 -3
  560. package/dist/collection/components/pagination/pagination.css +2 -7
  561. package/dist/collection/components/pagination/pagination.js +32 -4
  562. package/dist/collection/components/pagination/resources.js +1 -0
  563. package/dist/collection/components/panel/panel.css +2 -1
  564. package/dist/collection/components/panel/panel.js +73 -12
  565. package/dist/collection/components/panel/resources.js +1 -0
  566. package/dist/collection/components/pick-list/pick-list.js +23 -11
  567. package/dist/collection/components/pick-list/resources.js +1 -0
  568. package/dist/collection/components/pick-list/shared-list-logic.js +3 -2
  569. package/dist/collection/components/pick-list/shared-list-render.js +3 -1
  570. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -0
  571. package/dist/collection/components/pick-list-group/resources.js +1 -0
  572. package/dist/collection/components/pick-list-item/pick-list-item.css +1 -3
  573. package/dist/collection/components/pick-list-item/pick-list-item.js +25 -14
  574. package/dist/collection/components/pick-list-item/resources.js +1 -0
  575. package/dist/collection/components/popover/PopoverManager.js +75 -0
  576. package/dist/collection/components/popover/popover.css +5 -0
  577. package/dist/collection/components/popover/popover.js +121 -27
  578. package/dist/collection/components/popover/resources.js +1 -1
  579. package/dist/collection/components/popover-manager/popover-manager.js +33 -44
  580. package/dist/collection/components/progress/progress.js +1 -0
  581. package/dist/collection/components/radio-button/radio-button.css +10 -6
  582. package/dist/collection/components/radio-button/radio-button.js +6 -2
  583. package/dist/collection/components/radio-button/resources.js +1 -0
  584. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -0
  585. package/dist/collection/components/radio-group/interfaces.js +1 -0
  586. package/dist/collection/components/radio-group/radio-group.js +3 -2
  587. package/dist/collection/components/radio-group-item/radio-group-item.css +0 -2
  588. package/dist/collection/components/radio-group-item/radio-group-item.js +6 -5
  589. package/dist/collection/components/radio-group-item/resources.js +1 -0
  590. package/dist/collection/components/rating/rating.css +2 -12
  591. package/dist/collection/components/rating/rating.js +7 -2
  592. package/dist/collection/components/rating/resources.js +1 -0
  593. package/dist/collection/components/scrim/resources.js +1 -0
  594. package/dist/collection/components/scrim/scrim.js +4 -1
  595. package/dist/collection/components/select/resources.js +1 -0
  596. package/dist/collection/components/select/select.css +0 -2
  597. package/dist/collection/components/select/select.js +3 -2
  598. package/dist/collection/components/shell/resources.js +1 -0
  599. package/dist/collection/components/shell/shell.js +1 -0
  600. package/dist/collection/components/shell-center-row/resources.js +1 -0
  601. package/dist/collection/components/shell-center-row/shell-center-row.css +1 -1
  602. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -0
  603. package/dist/collection/components/shell-panel/resources.js +1 -0
  604. package/dist/collection/components/shell-panel/shell-panel.css +3 -6
  605. package/dist/collection/components/shell-panel/shell-panel.js +6 -1
  606. package/dist/collection/components/slider/slider.css +29 -2
  607. package/dist/collection/components/slider/slider.js +94 -41
  608. package/dist/collection/components/sortable-list/resources.js +1 -0
  609. package/dist/collection/components/sortable-list/sortable-list.js +1 -0
  610. package/dist/collection/components/split-button/resources.js +1 -0
  611. package/dist/collection/components/split-button/split-button.css +1 -4
  612. package/dist/collection/components/split-button/split-button.js +6 -2
  613. package/dist/{calcite/p-accdb0ce.js → collection/components/stepper/interfaces.js} +2 -1
  614. package/dist/collection/components/stepper/stepper.js +107 -67
  615. package/dist/collection/components/stepper-item/stepper-item.css +27 -2
  616. package/dist/collection/components/stepper-item/stepper-item.js +83 -82
  617. package/dist/collection/components/switch/switch.css +0 -2
  618. package/dist/collection/components/switch/switch.js +8 -4
  619. package/dist/collection/components/tab/interfaces.js +1 -0
  620. package/dist/collection/components/tab/tab.js +38 -22
  621. package/dist/collection/components/tab-nav/tab-nav.css +6 -0
  622. package/dist/collection/components/tab-nav/tab-nav.js +87 -37
  623. package/dist/collection/components/tab-title/tab-title.css +30 -15
  624. package/dist/collection/components/tab-title/tab-title.js +92 -44
  625. package/dist/collection/components/tabs/interfaces.js +1 -0
  626. package/dist/collection/components/tabs/resources.js +1 -0
  627. package/dist/collection/components/tabs/tabs.css +13 -1
  628. package/dist/collection/components/tabs/tabs.js +11 -9
  629. package/dist/collection/components/tile/resources.js +1 -0
  630. package/dist/collection/components/tile/tile.css +3 -4
  631. package/dist/collection/components/tile/tile.js +2 -0
  632. package/dist/collection/components/tile-select/interfaces.js +1 -0
  633. package/dist/collection/components/tile-select/resources.js +1 -0
  634. package/dist/collection/components/tile-select/tile-select.css +7 -2
  635. package/dist/collection/components/tile-select/tile-select.js +1 -0
  636. package/dist/collection/components/tile-select-group/interfaces.js +1 -0
  637. package/dist/collection/components/tile-select-group/tile-select-group.css +1 -1
  638. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -0
  639. package/dist/collection/components/time-picker/resources.js +1 -0
  640. package/dist/collection/components/time-picker/time-picker.js +61 -33
  641. package/dist/collection/components/tip/resources.js +1 -0
  642. package/dist/collection/components/tip/tip.css +0 -2
  643. package/dist/collection/components/tip/tip.js +1 -0
  644. package/dist/collection/components/tip-group/tip-group.js +1 -0
  645. package/dist/collection/components/tip-manager/resources.js +1 -0
  646. package/dist/collection/components/tip-manager/tip-manager.css +1 -13
  647. package/dist/collection/components/tip-manager/tip-manager.js +25 -5
  648. package/dist/collection/components/tooltip/TooltipManager.js +161 -0
  649. package/dist/collection/components/tooltip/resources.js +1 -1
  650. package/dist/collection/components/tooltip/tooltip.css +7 -4
  651. package/dist/collection/components/tooltip/tooltip.js +58 -29
  652. package/dist/collection/components/tooltip-manager/tooltip-manager.js +6 -163
  653. package/dist/collection/components/tree/interfaces.js +1 -0
  654. package/dist/collection/components/tree/tree.js +18 -12
  655. package/dist/collection/components/tree-item/interfaces.js +1 -0
  656. package/dist/collection/components/tree-item/resources.js +1 -0
  657. package/dist/collection/components/tree-item/tree-item.css +8 -14
  658. package/dist/collection/components/tree-item/tree-item.js +31 -24
  659. package/dist/collection/components/value-list/resources.js +1 -0
  660. package/dist/collection/components/value-list/value-list.js +41 -29
  661. package/dist/collection/components/value-list-item/resources.js +1 -0
  662. package/dist/collection/components/value-list-item/value-list-item.css +0 -2
  663. package/dist/collection/components/value-list-item/value-list-item.js +33 -23
  664. package/dist/collection/demos/_assets/demo-spacer.js +17 -0
  665. package/dist/collection/demos/_assets/demo-template.js +13 -0
  666. package/dist/collection/demos/_assets/head.js +45 -0
  667. package/dist/collection/demos/_assets/locales.js +223 -0
  668. package/dist/collection/utils/array.js +1 -0
  669. package/dist/collection/utils/conditionalSlot.js +5 -0
  670. package/dist/collection/utils/date.js +36 -0
  671. package/dist/collection/utils/dom.js +26 -1
  672. package/dist/collection/utils/filter.js +2 -1
  673. package/dist/collection/utils/form.js +32 -0
  674. package/dist/collection/utils/globalAttributes.js +6 -0
  675. package/dist/collection/utils/guid.js +1 -0
  676. package/dist/collection/utils/interactive.js +7 -3
  677. package/dist/collection/utils/key.js +1 -0
  678. package/dist/collection/utils/label.js +25 -17
  679. package/dist/collection/utils/locale.js +31 -27
  680. package/dist/collection/utils/math.js +1 -0
  681. package/dist/collection/utils/number.js +2 -1
  682. package/dist/collection/utils/observers.js +1 -0
  683. package/dist/collection/utils/popper.js +17 -2
  684. package/dist/collection/utils/resources.js +1 -0
  685. package/dist/collection/utils/time.js +1 -0
  686. package/dist/components/ExpandToggle.js +5 -2
  687. package/dist/components/Heading.js +1 -0
  688. package/dist/components/action-group.js +11 -16
  689. package/dist/components/action-menu.js +30 -31
  690. package/dist/components/action.js +7 -3
  691. package/dist/components/array.js +1 -0
  692. package/dist/components/button.js +19 -15
  693. package/dist/components/calcite-accordion-item.js +13 -11
  694. package/dist/components/calcite-accordion.js +12 -6
  695. package/dist/components/calcite-action-bar.js +20 -20
  696. package/dist/components/calcite-action-group.js +1 -0
  697. package/dist/components/calcite-action-menu.js +1 -0
  698. package/dist/components/calcite-action-pad.js +19 -20
  699. package/dist/components/calcite-action.js +1 -0
  700. package/dist/components/calcite-alert.js +16 -12
  701. package/dist/components/calcite-avatar.js +8 -2
  702. package/dist/components/calcite-block-section.js +4 -3
  703. package/dist/components/calcite-block.js +38 -27
  704. package/dist/components/calcite-button.js +1 -0
  705. package/dist/components/calcite-card.js +21 -10
  706. package/dist/components/calcite-checkbox.js +1 -0
  707. package/dist/components/calcite-chip.js +1 -0
  708. package/dist/components/calcite-color-picker-hex-input.js +1 -0
  709. package/dist/components/calcite-color-picker-swatch.js +1 -0
  710. package/dist/components/calcite-color-picker.js +77 -37
  711. package/dist/components/calcite-combobox-item-group.js +1 -0
  712. package/dist/components/calcite-combobox-item.js +4 -1
  713. package/dist/components/calcite-combobox.js +94 -48
  714. package/dist/components/calcite-date-picker-day.js +1 -0
  715. package/dist/components/calcite-date-picker-month-header.js +1 -0
  716. package/dist/components/calcite-date-picker-month.js +1 -0
  717. package/dist/components/calcite-date-picker.js +1 -0
  718. package/dist/components/calcite-dropdown-group.js +9 -6
  719. package/dist/components/calcite-dropdown-item.js +17 -17
  720. package/dist/components/calcite-dropdown.js +1 -0
  721. package/dist/components/calcite-fab.js +2 -0
  722. package/dist/components/calcite-filter.js +1 -0
  723. package/dist/components/calcite-flow.js +12 -17
  724. package/dist/components/calcite-graph.js +1 -0
  725. package/dist/components/calcite-handle.js +1 -0
  726. package/dist/components/calcite-icon.js +1 -0
  727. package/dist/components/calcite-inline-editable.js +18 -13
  728. package/dist/components/calcite-input-date-picker.js +76 -24
  729. package/dist/components/calcite-input-message.js +2 -1
  730. package/dist/components/calcite-input-time-picker.js +38 -11
  731. package/dist/components/calcite-input.js +1 -0
  732. package/dist/components/calcite-label.js +1 -0
  733. package/dist/components/calcite-link.js +1 -0
  734. package/dist/components/calcite-list-item-group.js +2 -1
  735. package/dist/components/calcite-list-item.js +12 -5
  736. package/dist/components/calcite-list.js +2 -1
  737. package/dist/components/calcite-loader.js +1 -0
  738. package/dist/components/calcite-modal.js +27 -18
  739. package/dist/components/calcite-notice.js +11 -8
  740. package/dist/components/calcite-option-group.js +3 -2
  741. package/dist/components/calcite-option.js +4 -3
  742. package/dist/components/calcite-pagination.js +90 -4
  743. package/dist/components/calcite-panel.js +50 -24
  744. package/dist/components/calcite-pick-list-group.js +2 -1
  745. package/dist/components/calcite-pick-list-item.js +1 -0
  746. package/dist/components/calcite-pick-list.js +13 -7
  747. package/dist/components/calcite-popover-manager.js +31 -37
  748. package/dist/components/calcite-popover.js +1 -0
  749. package/dist/components/calcite-progress.js +1 -0
  750. package/dist/components/calcite-radio-button-group.js +1 -0
  751. package/dist/components/calcite-radio-button.js +7 -3
  752. package/dist/components/calcite-radio-group-item.js +6 -5
  753. package/dist/components/calcite-radio-group.js +3 -2
  754. package/dist/components/calcite-rating.js +8 -3
  755. package/dist/components/calcite-scrim.js +1 -0
  756. package/dist/components/calcite-select.js +3 -2
  757. package/dist/components/calcite-shell-center-row.js +2 -1
  758. package/dist/components/calcite-shell-panel.js +3 -1
  759. package/dist/components/calcite-shell.js +1 -0
  760. package/dist/components/calcite-slider.js +86 -39
  761. package/dist/components/calcite-sortable-list.js +1 -0
  762. package/dist/components/calcite-split-button.js +7 -3
  763. package/dist/components/calcite-stepper-item.js +56 -64
  764. package/dist/components/calcite-stepper.js +83 -51
  765. package/dist/components/calcite-switch.js +1 -0
  766. package/dist/components/calcite-tab-nav.js +1 -0
  767. package/dist/components/calcite-tab-title.js +1 -0
  768. package/dist/components/calcite-tab.js +1 -0
  769. package/dist/components/calcite-tabs.js +1 -0
  770. package/dist/components/calcite-tile-select-group.js +2 -1
  771. package/dist/components/calcite-tile-select.js +2 -1
  772. package/dist/components/calcite-tile.js +1 -0
  773. package/dist/components/calcite-time-picker.js +1 -0
  774. package/dist/components/calcite-tip-group.js +1 -0
  775. package/dist/components/calcite-tip-manager.js +8 -5
  776. package/dist/components/calcite-tip.js +3 -2
  777. package/dist/components/calcite-tooltip-manager.js +48 -1
  778. package/dist/components/calcite-tooltip.js +195 -23
  779. package/dist/components/calcite-tree-item.js +19 -12
  780. package/dist/components/calcite-tree.js +12 -6
  781. package/dist/components/calcite-value-list-item.js +15 -11
  782. package/dist/components/calcite-value-list.js +20 -14
  783. package/dist/components/checkbox.js +6 -3
  784. package/dist/components/chip.js +11 -7
  785. package/dist/components/color-picker-hex-input.js +48 -50
  786. package/dist/components/color-picker-swatch.js +1337 -1345
  787. package/dist/components/conditionalSlot.js +5 -0
  788. package/dist/components/date-picker-day.js +4 -3
  789. package/dist/components/date-picker-month-header.js +36 -20
  790. package/dist/components/date-picker-month.js +36 -7
  791. package/dist/components/date-picker.js +42 -6
  792. package/dist/components/date.js +36 -0
  793. package/dist/components/debounce.js +1 -0
  794. package/dist/components/dom.js +27 -2
  795. package/dist/components/dropdown.js +65 -25
  796. package/dist/components/filter.js +22 -15
  797. package/dist/components/forIn.js +1 -0
  798. package/dist/components/form.js +34 -2
  799. package/dist/components/graph.js +30 -1
  800. package/dist/components/guid.js +1 -0
  801. package/dist/components/handle.js +5 -3
  802. package/dist/components/icon.js +7 -2
  803. package/dist/components/index.d.ts +1 -1
  804. package/dist/components/index.js +1 -0
  805. package/dist/components/input.js +71 -40
  806. package/dist/components/interactive.js +7 -3
  807. package/dist/components/interfaces.js +1 -0
  808. package/dist/components/interfaces2.js +1 -0
  809. package/dist/components/label.js +26 -18
  810. package/dist/components/label2.js +3 -1
  811. package/dist/components/link.js +4 -2
  812. package/dist/components/loader.js +9 -6
  813. package/dist/components/locale.js +31 -28
  814. package/dist/components/math.js +1 -0
  815. package/dist/components/number.js +2 -1
  816. package/dist/components/observers.js +1 -0
  817. package/dist/components/pick-list-item.js +16 -11
  818. package/dist/components/popover.js +152 -19
  819. package/dist/components/popper.js +27 -2
  820. package/dist/components/progress.js +1 -0
  821. package/dist/components/resources.js +11 -18
  822. package/dist/components/resources2.js +8 -5
  823. package/dist/components/resources3.js +25 -10
  824. package/dist/components/scrim.js +4 -1
  825. package/dist/components/shared-list-render.js +8 -7
  826. package/dist/components/sortable.esm.js +63 -54
  827. package/dist/components/switch.js +8 -4
  828. package/dist/components/tab-nav.js +53 -25
  829. package/dist/components/tab-title.js +45 -34
  830. package/dist/components/tab.js +21 -17
  831. package/dist/components/tabs.js +9 -7
  832. package/dist/components/tile.js +3 -1
  833. package/dist/components/time-picker.js +51 -27
  834. package/dist/components/utils.js +1 -0
  835. package/dist/components/utils2.js +1 -0
  836. package/dist/custom-elements/index.js +3712 -2723
  837. package/dist/esm/{ExpandToggle-af224c1e.js → ExpandToggle-ce794961.js} +9 -6
  838. package/dist/esm/{Heading-d5f1710a.js → Heading-9ccb3452.js} +2 -1
  839. package/dist/esm/{array-91a648e2.js → array-7a76d321.js} +1 -0
  840. package/dist/esm/calcite-accordion_2.entry.js +24 -17
  841. package/dist/esm/calcite-action-bar.entry.js +17 -11
  842. package/dist/esm/calcite-action-group.entry.js +8 -7
  843. package/dist/esm/calcite-action-menu.entry.js +28 -23
  844. package/dist/esm/calcite-action-pad.entry.js +15 -10
  845. package/dist/esm/calcite-action.entry.js +11 -6
  846. package/dist/esm/calcite-alert.entry.js +18 -14
  847. package/dist/esm/calcite-avatar.entry.js +11 -5
  848. package/dist/esm/calcite-block_2.entry.js +32 -15
  849. package/dist/esm/calcite-button.entry.js +24 -20
  850. package/dist/esm/calcite-card.entry.js +23 -13
  851. package/dist/esm/calcite-checkbox.entry.js +11 -9
  852. package/dist/esm/calcite-chip.entry.js +16 -12
  853. package/dist/esm/calcite-color-picker_3.entry.js +1417 -1389
  854. package/dist/esm/calcite-combobox_3.entry.js +105 -58
  855. package/dist/esm/calcite-date-picker_4.entry.js +117 -44
  856. package/dist/esm/calcite-dropdown_3.entry.js +89 -48
  857. package/dist/esm/calcite-fab.entry.js +6 -4
  858. package/dist/esm/calcite-filter.entry.js +28 -21
  859. package/dist/esm/calcite-flow.entry.js +13 -18
  860. package/dist/esm/calcite-graph_2.entry.js +123 -48
  861. package/dist/esm/calcite-handle.entry.js +7 -4
  862. package/dist/esm/calcite-icon.entry.js +10 -5
  863. package/dist/esm/calcite-inline-editable.entry.js +23 -18
  864. package/dist/esm/calcite-input-date-picker.entry.js +82 -32
  865. package/dist/esm/calcite-input-message.entry.js +5 -4
  866. package/dist/esm/calcite-input-time-picker_2.entry.js +90 -42
  867. package/dist/esm/calcite-input.entry.js +77 -48
  868. package/dist/esm/calcite-label.entry.js +7 -5
  869. package/dist/esm/calcite-link.entry.js +8 -6
  870. package/dist/esm/calcite-list_3.entry.js +21 -14
  871. package/dist/esm/calcite-loader.entry.js +11 -8
  872. package/dist/esm/calcite-modal.entry.js +31 -21
  873. package/dist/esm/calcite-notice.entry.js +17 -14
  874. package/dist/esm/calcite-option_3.entry.js +14 -13
  875. package/dist/esm/calcite-pagination.entry.js +91 -5
  876. package/dist/esm/calcite-panel.entry.js +44 -13
  877. package/dist/esm/calcite-pick-list_3.entry.js +33 -23
  878. package/dist/esm/calcite-popover_2.entry.js +162 -56
  879. package/dist/esm/calcite-progress.entry.js +2 -1
  880. package/dist/esm/calcite-radio-button-group.entry.js +3 -2
  881. package/dist/esm/calcite-radio-button.entry.js +13 -9
  882. package/dist/esm/calcite-radio-group_2.entry.js +12 -11
  883. package/dist/esm/calcite-rating.entry.js +14 -9
  884. package/dist/esm/calcite-scrim.entry.js +5 -2
  885. package/dist/esm/calcite-shell_3.entry.js +10 -8
  886. package/dist/esm/calcite-sortable-list.entry.js +5 -4
  887. package/dist/esm/calcite-split-button.entry.js +9 -5
  888. package/dist/esm/calcite-stepper_2.entry.js +140 -117
  889. package/dist/esm/calcite-switch.entry.js +13 -9
  890. package/dist/esm/calcite-tab_4.entry.js +122 -81
  891. package/dist/esm/calcite-tile-select_2.entry.js +6 -5
  892. package/dist/esm/calcite-tile.entry.js +9 -7
  893. package/dist/esm/calcite-tip_3.entry.js +13 -10
  894. package/dist/esm/calcite-tooltip_2.entry.js +188 -144
  895. package/dist/esm/calcite-tree_2.entry.js +33 -21
  896. package/dist/esm/calcite-value-list_2.entry.js +40 -31
  897. package/dist/esm/calcite.js +4 -3
  898. package/dist/esm/{conditionalSlot-67f579ff.js → conditionalSlot-6be8f3bd.js} +7 -2
  899. package/dist/esm/{debounce-79648d42.js → debounce-9626aac0.js} +1 -0
  900. package/dist/esm/{dom-e7fa77b9.js → dom-4caa79e4.js} +28 -3
  901. package/dist/esm/{forIn-48d8fb84.js → forIn-091a9d50.js} +2 -1
  902. package/dist/esm/{form-5e4609eb.js → form-7c2e444b.js} +35 -3
  903. package/dist/esm/{guid-196bd5ea.js → guid-27925469.js} +1 -0
  904. package/dist/esm/{index-bd94948c.js → index-1e02e91b.js} +7 -7
  905. package/dist/esm/index.js +1 -0
  906. package/dist/esm/{interactive-48b5cc0f.js → interactive-32803ed8.js} +7 -3
  907. package/dist/esm/{interfaces-0e5b954c.js → interfaces-64ad1cde.js} +1 -0
  908. package/dist/esm/{label-68f22660.js → label-ccf07634.js} +26 -18
  909. package/dist/esm/loader.js +4 -3
  910. package/dist/esm/{locale-fc850b7c.js → locale-705ed382.js} +31 -28
  911. package/dist/esm/{math-456207f5.js → math-351ff0de.js} +1 -0
  912. package/dist/esm/{number-8779395f.js → number-bb265f44.js} +2 -1
  913. package/dist/esm/{observers-46118290.js → observers-c18e9524.js} +1 -0
  914. package/dist/esm/polyfills/css-shim.js +1 -1
  915. package/dist/esm/{popper-da45ec93.js → popper-44b3ba83.js} +28 -3
  916. package/dist/esm/{resources-73dac782.js → resources-0aacb21d.js} +44 -2
  917. package/dist/esm/{resources-b5c3d9a7.js → resources-529884cb.js} +9 -8
  918. package/dist/esm/{resources-027bd8f9.js → resources-a2cad43d.js} +1 -0
  919. package/dist/esm/{resources-34334875.js → resources-a32d1180.js} +1 -0
  920. package/dist/esm/{sortable.esm-04824d33.js → sortable.esm-4e7d5c7b.js} +63 -54
  921. package/dist/esm/{utils-e84055a3.js → utils-2f763d44.js} +1 -0
  922. package/dist/esm-es5/{ExpandToggle-af224c1e.js → ExpandToggle-ce794961.js} +2 -1
  923. package/dist/esm-es5/{Heading-d5f1710a.js → Heading-9ccb3452.js} +2 -1
  924. package/dist/esm-es5/{array-91a648e2.js → array-7a76d321.js} +1 -0
  925. package/dist/esm-es5/calcite-accordion_2.entry.js +2 -1
  926. package/dist/esm-es5/calcite-action-bar.entry.js +2 -1
  927. package/dist/esm-es5/calcite-action-group.entry.js +2 -1
  928. package/dist/esm-es5/calcite-action-menu.entry.js +3 -2
  929. package/dist/esm-es5/calcite-action-pad.entry.js +3 -2
  930. package/dist/esm-es5/calcite-action.entry.js +2 -1
  931. package/dist/esm-es5/calcite-alert.entry.js +3 -2
  932. package/dist/esm-es5/calcite-avatar.entry.js +2 -1
  933. package/dist/esm-es5/calcite-block_2.entry.js +2 -1
  934. package/dist/esm-es5/calcite-button.entry.js +2 -1
  935. package/dist/esm-es5/calcite-card.entry.js +2 -1
  936. package/dist/esm-es5/calcite-checkbox.entry.js +3 -2
  937. package/dist/esm-es5/calcite-chip.entry.js +3 -2
  938. package/dist/esm-es5/calcite-color-picker_3.entry.js +3 -2
  939. package/dist/esm-es5/calcite-combobox_3.entry.js +3 -2
  940. package/dist/esm-es5/calcite-date-picker_4.entry.js +3 -2
  941. package/dist/esm-es5/calcite-dropdown_3.entry.js +3 -2
  942. package/dist/esm-es5/calcite-fab.entry.js +2 -1
  943. package/dist/esm-es5/calcite-filter.entry.js +2 -1
  944. package/dist/esm-es5/calcite-flow.entry.js +2 -1
  945. package/dist/esm-es5/calcite-graph_2.entry.js +2 -1
  946. package/dist/esm-es5/calcite-handle.entry.js +2 -1
  947. package/dist/esm-es5/calcite-icon.entry.js +2 -1
  948. package/dist/esm-es5/calcite-inline-editable.entry.js +3 -2
  949. package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -1
  950. package/dist/esm-es5/calcite-input-message.entry.js +2 -1
  951. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +3 -2
  952. package/dist/esm-es5/calcite-input.entry.js +3 -2
  953. package/dist/esm-es5/calcite-label.entry.js +2 -1
  954. package/dist/esm-es5/calcite-link.entry.js +3 -2
  955. package/dist/esm-es5/calcite-list_3.entry.js +3 -2
  956. package/dist/esm-es5/calcite-loader.entry.js +2 -1
  957. package/dist/esm-es5/calcite-modal.entry.js +3 -2
  958. package/dist/esm-es5/calcite-notice.entry.js +3 -2
  959. package/dist/esm-es5/calcite-option_3.entry.js +2 -1
  960. package/dist/esm-es5/calcite-pagination.entry.js +2 -1
  961. package/dist/esm-es5/calcite-panel.entry.js +3 -2
  962. package/dist/esm-es5/calcite-pick-list_3.entry.js +3 -2
  963. package/dist/esm-es5/calcite-popover_2.entry.js +2 -1
  964. package/dist/esm-es5/calcite-progress.entry.js +2 -1
  965. package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -1
  966. package/dist/esm-es5/calcite-radio-button.entry.js +2 -1
  967. package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -1
  968. package/dist/esm-es5/calcite-rating.entry.js +2 -1
  969. package/dist/esm-es5/calcite-scrim.entry.js +2 -1
  970. package/dist/esm-es5/calcite-shell_3.entry.js +2 -1
  971. package/dist/esm-es5/calcite-sortable-list.entry.js +2 -1
  972. package/dist/esm-es5/calcite-split-button.entry.js +2 -1
  973. package/dist/esm-es5/calcite-stepper_2.entry.js +3 -2
  974. package/dist/esm-es5/calcite-switch.entry.js +3 -2
  975. package/dist/esm-es5/calcite-tab_4.entry.js +3 -2
  976. package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -1
  977. package/dist/esm-es5/calcite-tile.entry.js +2 -1
  978. package/dist/esm-es5/calcite-tip_3.entry.js +3 -2
  979. package/dist/esm-es5/calcite-tooltip_2.entry.js +3 -2
  980. package/dist/esm-es5/calcite-tree_2.entry.js +2 -1
  981. package/dist/esm-es5/calcite-value-list_2.entry.js +2 -1
  982. package/dist/esm-es5/calcite.js +2 -1
  983. package/dist/esm-es5/{conditionalSlot-67f579ff.js → conditionalSlot-6be8f3bd.js} +2 -1
  984. package/dist/esm-es5/{debounce-79648d42.js → debounce-9626aac0.js} +1 -0
  985. package/dist/esm-es5/dom-4caa79e4.js +6 -0
  986. package/dist/esm-es5/{forIn-48d8fb84.js → forIn-091a9d50.js} +2 -1
  987. package/dist/esm-es5/form-7c2e444b.js +6 -0
  988. package/dist/esm-es5/{guid-196bd5ea.js → guid-27925469.js} +1 -0
  989. package/dist/esm-es5/{index-bd94948c.js → index-1e02e91b.js} +4 -2
  990. package/dist/esm-es5/index.js +1 -0
  991. package/dist/esm-es5/{interactive-48b5cc0f.js → interactive-32803ed8.js} +1 -0
  992. package/dist/esm-es5/{interfaces-0e5b954c.js → interfaces-64ad1cde.js} +1 -0
  993. package/dist/esm-es5/label-ccf07634.js +6 -0
  994. package/dist/esm-es5/loader.js +2 -1
  995. package/dist/esm-es5/locale-705ed382.js +6 -0
  996. package/dist/esm-es5/{math-456207f5.js → math-351ff0de.js} +1 -0
  997. package/dist/esm-es5/number-bb265f44.js +6 -0
  998. package/dist/esm-es5/{observers-46118290.js → observers-c18e9524.js} +1 -0
  999. package/dist/esm-es5/{popper-da45ec93.js → popper-44b3ba83.js} +2 -1
  1000. package/dist/esm-es5/{resources-73dac782.js → resources-0aacb21d.js} +3 -2
  1001. package/dist/esm-es5/resources-529884cb.js +6 -0
  1002. package/dist/esm-es5/{resources-027bd8f9.js → resources-a2cad43d.js} +1 -0
  1003. package/dist/esm-es5/{resources-34334875.js → resources-a32d1180.js} +1 -0
  1004. package/dist/esm-es5/sortable.esm-4e7d5c7b.js +12 -0
  1005. package/dist/esm-es5/{utils-e84055a3.js → utils-2f763d44.js} +1 -0
  1006. package/dist/extras/docs-json.d.ts +3 -0
  1007. package/dist/extras/docs-json.json +577 -301
  1008. package/dist/loader/cdn.js +1 -0
  1009. package/dist/loader/index.cjs.js +1 -0
  1010. package/dist/loader/index.es2017.js +1 -0
  1011. package/dist/loader/index.js +1 -0
  1012. package/dist/types/components/accordion/accordion.d.ts +6 -4
  1013. package/dist/types/components/accordion-item/accordion-item.d.ts +4 -4
  1014. package/dist/types/components/action/action.d.ts +4 -1
  1015. package/dist/types/components/action-bar/action-bar.d.ts +6 -1
  1016. package/dist/types/components/action-menu/action-menu.d.ts +4 -2
  1017. package/dist/types/components/action-pad/action-pad.d.ts +5 -1
  1018. package/dist/types/components/alert/alert.d.ts +11 -6
  1019. package/dist/types/components/avatar/utils.d.ts +5 -0
  1020. package/dist/types/components/block/block.d.ts +12 -4
  1021. package/dist/types/components/button/button.d.ts +7 -4
  1022. package/dist/types/components/card/card.d.ts +13 -4
  1023. package/dist/types/components/card/resources.d.ts +1 -1
  1024. package/dist/types/components/checkbox/checkbox.d.ts +3 -1
  1025. package/dist/types/components/chip/chip.d.ts +3 -1
  1026. package/dist/types/components/chip/resources.d.ts +3 -2
  1027. package/dist/types/components/color-picker/color-picker.d.ts +58 -18
  1028. package/dist/types/components/color-picker-hex-input/color-picker-hex-input.d.ts +5 -1
  1029. package/dist/types/components/combobox/combobox.d.ts +15 -4
  1030. package/dist/types/components/combobox/resources.d.ts +4 -0
  1031. package/dist/types/components/combobox-item/combobox-item.d.ts +2 -0
  1032. package/dist/types/components/date-picker/date-picker.d.ts +32 -3
  1033. package/dist/types/components/date-picker/utils.d.ts +5 -0
  1034. package/dist/types/components/date-picker-day/date-picker-day.d.ts +2 -1
  1035. package/dist/types/components/date-picker-month/date-picker-month.d.ts +30 -2
  1036. package/dist/types/components/date-picker-month-header/date-picker-month-header.d.ts +10 -1
  1037. package/dist/types/components/dropdown/dropdown.d.ts +18 -9
  1038. package/dist/types/components/dropdown-group/dropdown-group.d.ts +5 -3
  1039. package/dist/types/components/dropdown-item/dropdown-item.d.ts +3 -3
  1040. package/dist/types/components/fab/fab.d.ts +1 -0
  1041. package/dist/types/components/filter/filter.d.ts +3 -3
  1042. package/dist/types/components/filter/resources.d.ts +1 -1
  1043. package/dist/types/components/flow/flow.d.ts +1 -4
  1044. package/dist/types/components/graph/util.d.ts +14 -0
  1045. package/dist/types/components/handle/handle.d.ts +1 -1
  1046. package/dist/types/components/icon/utils.d.ts +4 -0
  1047. package/dist/types/components/inline-editable/inline-editable.d.ts +10 -5
  1048. package/dist/types/components/input/input.d.ts +32 -13
  1049. package/dist/types/components/input/resources.d.ts +3 -0
  1050. package/dist/types/components/input-date-picker/input-date-picker.d.ts +35 -7
  1051. package/dist/types/components/input-message/input-message.d.ts +7 -3
  1052. package/dist/types/components/input-time-picker/input-time-picker.d.ts +15 -2
  1053. package/dist/types/components/interfaces.d.ts +1 -0
  1054. package/dist/types/components/label/label.d.ts +1 -0
  1055. package/dist/types/components/link/link.d.ts +2 -1
  1056. package/dist/types/components/list/list.d.ts +2 -2
  1057. package/dist/types/components/list-item/list-item.d.ts +3 -3
  1058. package/dist/types/components/list-item/resources.d.ts +1 -0
  1059. package/dist/types/components/list-item-group/list-item-group.d.ts +2 -2
  1060. package/dist/types/components/loader/loader.d.ts +11 -9
  1061. package/dist/types/components/modal/modal.d.ts +37 -28
  1062. package/dist/types/components/notice/notice.d.ts +24 -19
  1063. package/dist/types/components/option/option.d.ts +1 -1
  1064. package/dist/types/components/option-group/option-group.d.ts +1 -1
  1065. package/dist/types/components/pagination/pagination.d.ts +13 -3
  1066. package/dist/types/components/panel/panel.d.ts +18 -2
  1067. package/dist/types/components/pick-list/pick-list.d.ts +7 -3
  1068. package/dist/types/components/pick-list/shared-list-logic.d.ts +1 -1
  1069. package/dist/types/components/pick-list-item/pick-list-item.d.ts +9 -3
  1070. package/dist/types/components/popover/PopoverManager.d.ts +13 -0
  1071. package/dist/types/components/popover/popover.d.ts +32 -7
  1072. package/dist/types/components/popover/resources.d.ts +0 -1
  1073. package/dist/types/components/popover-manager/popover-manager.d.ts +7 -2
  1074. package/dist/types/components/radio-button/radio-button.d.ts +6 -0
  1075. package/dist/types/components/radio-group-item/radio-group-item.d.ts +2 -1
  1076. package/dist/types/components/rating/rating.d.ts +6 -2
  1077. package/dist/types/components/scrim/scrim.d.ts +3 -1
  1078. package/dist/types/components/shell-panel/shell-panel.d.ts +3 -0
  1079. package/dist/types/components/slider/slider.d.ts +24 -2
  1080. package/dist/types/components/split-button/split-button.d.ts +5 -2
  1081. package/dist/types/components/stepper/interfaces.d.ts +10 -0
  1082. package/dist/types/components/stepper/stepper.d.ts +20 -11
  1083. package/dist/types/components/stepper-item/stepper-item.d.ts +7 -8
  1084. package/dist/types/components/switch/switch.d.ts +3 -1
  1085. package/dist/types/components/tab/tab.d.ts +11 -8
  1086. package/dist/types/components/tab-nav/tab-nav.d.ts +34 -21
  1087. package/dist/types/components/tab-title/tab-title.d.ts +37 -28
  1088. package/dist/types/components/tabs/tabs.d.ts +7 -6
  1089. package/dist/types/components/tile/tile.d.ts +1 -0
  1090. package/dist/types/components/time-picker/time-picker.d.ts +45 -17
  1091. package/dist/types/components/tip-manager/tip-manager.d.ts +7 -1
  1092. package/dist/types/components/tooltip/TooltipManager.d.ts +28 -0
  1093. package/dist/types/components/tooltip/resources.d.ts +0 -1
  1094. package/dist/types/components/tooltip/tooltip.d.ts +15 -13
  1095. package/dist/types/components/tooltip-manager/tooltip-manager.d.ts +2 -29
  1096. package/dist/types/components/tree/tree.d.ts +14 -7
  1097. package/dist/types/components/tree-item/tree-item.d.ts +28 -14
  1098. package/dist/types/components/value-list/value-list.d.ts +20 -16
  1099. package/dist/types/components/value-list-item/value-list-item.d.ts +15 -12
  1100. package/dist/types/components.d.ts +606 -252
  1101. package/dist/types/preact.d.ts +63 -59
  1102. package/dist/types/utils/conditionalSlot.d.ts +4 -0
  1103. package/dist/types/utils/date.d.ts +35 -0
  1104. package/dist/types/utils/dom.d.ts +18 -2
  1105. package/dist/types/utils/form.d.ts +34 -5
  1106. package/dist/types/utils/globalAttributes.d.ts +5 -0
  1107. package/dist/types/utils/interactive.d.ts +7 -4
  1108. package/dist/types/utils/label.d.ts +7 -0
  1109. package/dist/types/utils/locale.d.ts +2 -1
  1110. package/dist/types/utils/popper.d.ts +6 -4
  1111. package/hydrate/index.d.ts +1 -1
  1112. package/hydrate/index.js +3805 -2797
  1113. package/package.json +49 -48
  1114. package/readme.md +4 -5
  1115. package/dist/calcite/p-07f1f162.system.entry.js +0 -5
  1116. package/dist/calcite/p-1263bcc0.entry.js +0 -5
  1117. package/dist/calcite/p-162604a0.entry.js +0 -5
  1118. package/dist/calcite/p-193749c1.entry.js +0 -5
  1119. package/dist/calcite/p-1aeca42a.system.entry.js +0 -5
  1120. package/dist/calcite/p-23145377.entry.js +0 -5
  1121. package/dist/calcite/p-28c333d0.entry.js +0 -5
  1122. package/dist/calcite/p-2bcaed33.entry.js +0 -5
  1123. package/dist/calcite/p-2dd22e8c.system.entry.js +0 -5
  1124. package/dist/calcite/p-2fae8516.system.entry.js +0 -5
  1125. package/dist/calcite/p-31c58f25.entry.js +0 -5
  1126. package/dist/calcite/p-32d6b962.entry.js +0 -5
  1127. package/dist/calcite/p-32efc4cd.system.entry.js +0 -5
  1128. package/dist/calcite/p-34730e94.entry.js +0 -5
  1129. package/dist/calcite/p-364db271.entry.js +0 -5
  1130. package/dist/calcite/p-364f0abe.system.entry.js +0 -5
  1131. package/dist/calcite/p-3915705c.entry.js +0 -5
  1132. package/dist/calcite/p-3e149640.system.entry.js +0 -5
  1133. package/dist/calcite/p-42227a04.entry.js +0 -5
  1134. package/dist/calcite/p-426f011a.entry.js +0 -5
  1135. package/dist/calcite/p-46071f17.entry.js +0 -5
  1136. package/dist/calcite/p-47d38839.entry.js +0 -5
  1137. package/dist/calcite/p-48637359.system.entry.js +0 -5
  1138. package/dist/calcite/p-4905189e.system.entry.js +0 -5
  1139. package/dist/calcite/p-496e907a.system.entry.js +0 -5
  1140. package/dist/calcite/p-4aecbaef.entry.js +0 -5
  1141. package/dist/calcite/p-4afb5a1b.system.entry.js +0 -5
  1142. package/dist/calcite/p-4eae61c5.entry.js +0 -5
  1143. package/dist/calcite/p-54c49493.entry.js +0 -5
  1144. package/dist/calcite/p-55e1a3a0.system.entry.js +0 -5
  1145. package/dist/calcite/p-569150ab.system.entry.js +0 -5
  1146. package/dist/calcite/p-588bfa74.system.js +0 -5
  1147. package/dist/calcite/p-5a8829cd.entry.js +0 -5
  1148. package/dist/calcite/p-5c637131.entry.js +0 -5
  1149. package/dist/calcite/p-5f6e35f3.entry.js +0 -5
  1150. package/dist/calcite/p-614d8925.js +0 -5
  1151. package/dist/calcite/p-6261469d.entry.js +0 -5
  1152. package/dist/calcite/p-653bd7bf.entry.js +0 -5
  1153. package/dist/calcite/p-69d2d9cf.system.entry.js +0 -5
  1154. package/dist/calcite/p-6ab3e489.entry.js +0 -5
  1155. package/dist/calcite/p-6b7b23d0.js +0 -5
  1156. package/dist/calcite/p-6c4a7041.system.entry.js +0 -5
  1157. package/dist/calcite/p-6e0103f5.system.entry.js +0 -5
  1158. package/dist/calcite/p-6ed27595.system.entry.js +0 -5
  1159. package/dist/calcite/p-6fba3e1b.system.entry.js +0 -5
  1160. package/dist/calcite/p-7247b667.system.entry.js +0 -5
  1161. package/dist/calcite/p-7260c869.system.entry.js +0 -5
  1162. package/dist/calcite/p-765c9bef.entry.js +0 -5
  1163. package/dist/calcite/p-7c88d545.js +0 -5
  1164. package/dist/calcite/p-824da4be.entry.js +0 -5
  1165. package/dist/calcite/p-867f7b7a.system.entry.js +0 -5
  1166. package/dist/calcite/p-872e82a6.system.entry.js +0 -5
  1167. package/dist/calcite/p-87888359.entry.js +0 -5
  1168. package/dist/calcite/p-895d22f3.entry.js +0 -5
  1169. package/dist/calcite/p-8b982f91.entry.js +0 -5
  1170. package/dist/calcite/p-8f3a3e4e.js +0 -5
  1171. package/dist/calcite/p-963e9aec.system.entry.js +0 -5
  1172. package/dist/calcite/p-9940b82a.system.entry.js +0 -5
  1173. package/dist/calcite/p-9ad8c7c5.system.entry.js +0 -5
  1174. package/dist/calcite/p-9c913e3a.entry.js +0 -5
  1175. package/dist/calcite/p-9e61d89d.entry.js +0 -5
  1176. package/dist/calcite/p-a9b3ef39.js +0 -5
  1177. package/dist/calcite/p-a9ea7f4f.entry.js +0 -5
  1178. package/dist/calcite/p-aaa21a84.system.entry.js +0 -5
  1179. package/dist/calcite/p-aad14a5d.system.entry.js +0 -5
  1180. package/dist/calcite/p-ac9607f2.system.js +0 -11
  1181. package/dist/calcite/p-afe59546.entry.js +0 -5
  1182. package/dist/calcite/p-b0827b8c.system.entry.js +0 -5
  1183. package/dist/calcite/p-b10af2b4.entry.js +0 -5
  1184. package/dist/calcite/p-b2b6f712.js +0 -5
  1185. package/dist/calcite/p-b3c5247b.system.entry.js +0 -5
  1186. package/dist/calcite/p-b47dc903.system.entry.js +0 -5
  1187. package/dist/calcite/p-b765d197.system.js +0 -5
  1188. package/dist/calcite/p-bb401f25.system.js +0 -5
  1189. package/dist/calcite/p-bccbf58a.entry.js +0 -5
  1190. package/dist/calcite/p-bdcb43b1.system.entry.js +0 -5
  1191. package/dist/calcite/p-bffb4da3.system.entry.js +0 -5
  1192. package/dist/calcite/p-c228a1da.system.entry.js +0 -5
  1193. package/dist/calcite/p-c2caeb2a.system.entry.js +0 -5
  1194. package/dist/calcite/p-c4cb35ba.system.entry.js +0 -5
  1195. package/dist/calcite/p-c5ec8d74.js +0 -11
  1196. package/dist/calcite/p-c9fc13b9.system.entry.js +0 -5
  1197. package/dist/calcite/p-cb847074.entry.js +0 -5
  1198. package/dist/calcite/p-cbc6fee6.entry.js +0 -5
  1199. package/dist/calcite/p-cd5f5c8f.js +0 -5
  1200. package/dist/calcite/p-cd9226a1.system.entry.js +0 -5
  1201. package/dist/calcite/p-daf5f04c.system.js +0 -5
  1202. package/dist/calcite/p-dcf33bb2.js +0 -5
  1203. package/dist/calcite/p-dd9f2e61.js +0 -5
  1204. package/dist/calcite/p-e22ab8fa.entry.js +0 -5
  1205. package/dist/calcite/p-e3280a36.system.entry.js +0 -5
  1206. package/dist/calcite/p-e43605c5.entry.js +0 -5
  1207. package/dist/calcite/p-e4d1651b.system.entry.js +0 -5
  1208. package/dist/calcite/p-e55c5bb4.entry.js +0 -5
  1209. package/dist/calcite/p-ea4119b1.system.entry.js +0 -5
  1210. package/dist/calcite/p-ec9bab33.system.js +0 -5
  1211. package/dist/calcite/p-ecc31b40.system.entry.js +0 -5
  1212. package/dist/calcite/p-edf1e815.system.entry.js +0 -5
  1213. package/dist/calcite/p-ee522afa.system.entry.js +0 -5
  1214. package/dist/calcite/p-ef6b4184.js +0 -5
  1215. package/dist/calcite/p-f09e27b0.system.js +0 -5
  1216. package/dist/calcite/p-fa922721.system.js +0 -5
  1217. package/dist/calcite/p-fe9380a0.system.js +0 -5
  1218. package/dist/components/resources4.js +0 -15
  1219. package/dist/components/resources5.js +0 -32
  1220. package/dist/components/tooltip-manager.js +0 -175
  1221. package/dist/esm-es5/dom-e7fa77b9.js +0 -5
  1222. package/dist/esm-es5/form-5e4609eb.js +0 -5
  1223. package/dist/esm-es5/label-68f22660.js +0 -5
  1224. package/dist/esm-es5/locale-fc850b7c.js +0 -5
  1225. package/dist/esm-es5/number-8779395f.js +0 -5
  1226. package/dist/esm-es5/resources-b5c3d9a7.js +0 -5
  1227. package/dist/esm-es5/sortable.esm-04824d33.js +0 -11
@@ -1,9 +1,14 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
+ * v1.0.0-beta.83
4
5
  */
5
6
  /**
6
7
  * Check if date is within a min and max
8
+ *
9
+ * @param date
10
+ * @param min
11
+ * @param max
7
12
  */
8
13
  function inRange(date, min, max) {
9
14
  const time = date.getTime();
@@ -14,6 +19,10 @@ function inRange(date, min, max) {
14
19
  /**
15
20
  * Ensures date is within range,
16
21
  * returns min or max if out of bounds
22
+ *
23
+ * @param date
24
+ * @param min
25
+ * @param max
17
26
  */
18
27
  function dateFromRange(date, min, max) {
19
28
  if (!(date instanceof Date)) {
@@ -33,6 +42,8 @@ function dateFromRange(date, min, max) {
33
42
  /**
34
43
  * Parse an iso8601 string (YYYY-mm-dd) into a valid date.
35
44
  * TODO: handle time when time of day UI is added
45
+ *
46
+ * @param iso8601
36
47
  */
37
48
  function dateFromISO(iso8601) {
38
49
  if (iso8601 instanceof Date) {
@@ -51,6 +62,8 @@ function dateFromISO(iso8601) {
51
62
  }
52
63
  /**
53
64
  * Return first portion of ISO string (YYYY-mm-dd)
65
+ *
66
+ * @param date
54
67
  */
55
68
  function dateToISO(date) {
56
69
  if (typeof date === "string") {
@@ -63,6 +76,9 @@ function dateToISO(date) {
63
76
  }
64
77
  /**
65
78
  * Check if two dates are the same day, month, year
79
+ *
80
+ * @param d1
81
+ * @param d2
66
82
  */
67
83
  function sameDate(d1, d2) {
68
84
  return (d1 instanceof Date &&
@@ -73,6 +89,8 @@ function sameDate(d1, d2) {
73
89
  }
74
90
  /**
75
91
  * Get a date one month in the past
92
+ *
93
+ * @param date
76
94
  */
77
95
  function prevMonth(date) {
78
96
  const month = date.getMonth();
@@ -86,6 +104,8 @@ function prevMonth(date) {
86
104
  }
87
105
  /**
88
106
  * Get a date one month in the future
107
+ *
108
+ * @param date
89
109
  */
90
110
  function nextMonth(date) {
91
111
  const month = date.getMonth();
@@ -99,6 +119,9 @@ function nextMonth(date) {
99
119
  }
100
120
  /**
101
121
  * Translate a number into a given locals numeral system
122
+ *
123
+ * @param num
124
+ * @param localeData
102
125
  */
103
126
  function localizeNumber(num, localeData) {
104
127
  return String(num)
@@ -108,6 +131,9 @@ function localizeNumber(num, localeData) {
108
131
  }
109
132
  /**
110
133
  * Calculate actual number from localized string
134
+ *
135
+ * @param str
136
+ * @param localeData
111
137
  */
112
138
  function parseNumber(str, localeData) {
113
139
  const numerals = "0123456789";
@@ -120,6 +146,9 @@ function parseNumber(str, localeData) {
120
146
  /**
121
147
  * Parse numeric units for day, month, and year from a localized string
122
148
  * month starts at 0 (can pass to date constructor)
149
+ *
150
+ * @param str
151
+ * @param localeData
123
152
  */
124
153
  function parseDateString(str, localeData) {
125
154
  const { separator, unitOrder } = localeData;
@@ -133,6 +162,8 @@ function parseDateString(str, localeData) {
133
162
  }
134
163
  /**
135
164
  * Convert eastern arbic numerals
165
+ *
166
+ * @param str
136
167
  */
137
168
  function replaceArabicNumerals(str = "") {
138
169
  return str
@@ -141,6 +172,8 @@ function replaceArabicNumerals(str = "") {
141
172
  }
142
173
  /**
143
174
  * Based on the unitOrder string, find order of month, day, and year for locale
175
+ *
176
+ * @param unitOrder
144
177
  */
145
178
  function getOrder(unitOrder) {
146
179
  const signifiers = ["d", "m", "y"];
@@ -149,6 +182,9 @@ function getOrder(unitOrder) {
149
182
  }
150
183
  /**
151
184
  * Get number of days between two dates
185
+ *
186
+ * @param date1
187
+ * @param date2
152
188
  */
153
189
  function getDaysDiff(date1, date2) {
154
190
  const ts1 = date1.getTime();
@@ -1,6 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
+ * v1.0.0-beta.83
4
5
  */
5
6
  /** Detect free variable `global` from Node.js. */
6
7
  var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;
@@ -1,6 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
+ * v1.0.0-beta.83
4
5
  */
5
6
  import { g as guid } from './guid.js';
6
7
 
@@ -22,6 +23,7 @@ const TEXT = {
22
23
  *
23
24
  * If it already has an ID, it will be preserved, otherwise a unique one will be generated and assigned.
24
25
  *
26
+ * @param el
25
27
  * @returns {string} The element's ID.
26
28
  */
27
29
  function ensureId(el) {
@@ -57,6 +59,8 @@ function getHost(root) {
57
59
  /**
58
60
  * This helper queries an element's rootNodes and any ancestor rootNodes.
59
61
  *
62
+ * @param element
63
+ * @param selector
60
64
  * @returns {Element[]} The elements.
61
65
  */
62
66
  function queryElementsRoots(element, selector) {
@@ -83,6 +87,10 @@ function queryElementsRoots(element, selector) {
83
87
  *
84
88
  * If both an 'id' and 'selector' are supplied, 'id' will take precedence over 'selector'.
85
89
  *
90
+ * @param element
91
+ * @param root0
92
+ * @param root0.selector
93
+ * @param root0.id
86
94
  * @returns {Element} The element.
87
95
  */
88
96
  function queryElementRoots(element, { selector, id }) {
@@ -97,7 +105,13 @@ function queryElementRoots(element, { selector, id }) {
97
105
  }
98
106
  const rootNode = getRootNode(el);
99
107
  const found = id
100
- ? rootNode.getElementById(id)
108
+ ? "getElementById" in rootNode
109
+ ? /*
110
+ Check to make sure 'getElementById' exists in cases where element is no longer connected to the DOM and getRootNode() returns the element.
111
+ https://github.com/Esri/calcite-components/pull/4280
112
+ */
113
+ rootNode.getElementById(id)
114
+ : null
101
115
  : selector
102
116
  ? rootNode.querySelector(selector)
103
117
  : null;
@@ -182,5 +196,16 @@ function intersects(rect1, rect2) {
182
196
  rect2.top > rect1.bottom ||
183
197
  rect2.bottom < rect1.top);
184
198
  }
199
+ /**
200
+ * This helper makes sure that boolean aria attributes are properly converted to a string.
201
+ *
202
+ * It should only be used for aria attributes that require a string value of "true" or "false".
203
+ *
204
+ * @param value
205
+ * @returns {string} The string conversion of a boolean value ("true" | "false").
206
+ */
207
+ function toAriaBoolean(value) {
208
+ return (!!value).toString();
209
+ }
185
210
 
186
- export { CSS_UTILITY as C, TEXT as T, getElementDir as a, getSlotted as b, getThemeName as c, closestElementCrossShadowBoundary as d, filterDirectChildren as e, focusElement as f, getElementProp as g, ensureId as h, isCalciteFocusable as i, queryElementsRoots as j, intersects as k, nodeListToArray as n, queryElementRoots as q, setRequestedIcon as s };
211
+ export { CSS_UTILITY as C, TEXT as T, getElementDir as a, getSlotted as b, queryElementRoots as c, getThemeName as d, closestElementCrossShadowBoundary as e, focusElement as f, getElementProp as g, filterDirectChildren as h, ensureId as i, isCalciteFocusable as j, intersects as k, nodeListToArray as n, queryElementsRoots as q, setRequestedIcon as s, toAriaBoolean as t };
@@ -1,10 +1,11 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
+ * v1.0.0-beta.83
4
5
  */
5
6
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
6
- import { b as getSlotted, f as focusElement } from './dom.js';
7
- import { a as defaultMenuPlacement, C as CSS, u as updatePopper, c as createPopper, p as popperMenuFlipPlacements } from './popper.js';
7
+ import { t as toAriaBoolean, f as focusElement } from './dom.js';
8
+ import { a as defaultMenuPlacement, f as filterComputedPlacements, C as CSS, u as updatePopper, c as createPopper, p as popperMenuComputedPlacements } from './popper.js';
8
9
  import { c as createObserver } from './observers.js';
9
10
  import { u as updateHostInteraction } from './interactive.js';
10
11
 
@@ -12,7 +13,7 @@ const SLOTS = {
12
13
  dropdownTrigger: "dropdown-trigger"
13
14
  };
14
15
 
15
- const dropdownCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:0 1 auto;flex:0 1 auto}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host .calcite-dropdown-wrapper{display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0);visibility:hidden;pointer-events:none}.calcite-dropdown-wrapper .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}.calcite-dropdown-wrapper[data-popper-placement^=bottom] .calcite-popper-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}.calcite-dropdown-wrapper[data-popper-placement^=top] .calcite-popper-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}.calcite-dropdown-wrapper[data-popper-placement^=left] .calcite-popper-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}.calcite-dropdown-wrapper[data-popper-placement^=right] .calcite-popper-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}.calcite-dropdown-wrapper[data-popper-placement] .calcite-popper-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}:host([active]) .calcite-dropdown-wrapper{pointer-events:initial;visibility:visible}:host .calcite-dropdown-content{width:auto;overflow-y:auto;overflow-x:hidden;background-color:var(--calcite-ui-foreground-1);max-height:90vh;width:var(--calcite-dropdown-width)}.calcite-dropdown-trigger-container{position:relative;display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto}:host([width=s]){--calcite-dropdown-width:12rem}:host([width=m]){--calcite-dropdown-width:14rem}:host([width=l]){--calcite-dropdown-width:16rem}";
16
+ const dropdownCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:0 1 auto;flex:0 1 auto}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host .calcite-dropdown-wrapper{display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0);visibility:hidden;pointer-events:none}.calcite-dropdown-wrapper .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}.calcite-dropdown-wrapper[data-popper-placement^=bottom] .calcite-popper-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}.calcite-dropdown-wrapper[data-popper-placement^=top] .calcite-popper-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}.calcite-dropdown-wrapper[data-popper-placement^=left] .calcite-popper-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}.calcite-dropdown-wrapper[data-popper-placement^=right] .calcite-popper-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}.calcite-dropdown-wrapper[data-popper-placement] .calcite-popper-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}:host([active]) .calcite-dropdown-wrapper{pointer-events:initial;visibility:visible}:host .calcite-dropdown-content{width:auto;overflow-y:auto;overflow-x:hidden;background-color:var(--calcite-ui-foreground-1);max-height:90vh;width:var(--calcite-dropdown-width)}.calcite-dropdown-trigger-container{position:relative;display:-ms-flexbox;display:flex}:host([width=s]){--calcite-dropdown-width:12rem}:host([width=m]){--calcite-dropdown-width:14rem}:host([width=l]){--calcite-dropdown-width:16rem}";
16
17
 
17
18
  const Dropdown = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
18
19
  constructor() {
@@ -39,12 +40,13 @@ const Dropdown = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
39
40
  /**
40
41
  specify the maximum number of calcite-dropdown-items to display before showing the scroller, must be greater than 0 -
41
42
  this value does not include groupTitles passed to calcite-dropdown-group
42
- */
43
+ */
43
44
  this.maxItems = 0;
44
45
  /** Describes the type of positioning to use for the overlaid content. If your element is in a fixed container, use the 'fixed' value. */
45
46
  this.overlayPositioning = "absolute";
46
47
  /**
47
48
  * Determines where the dropdown will be positioned relative to the button.
49
+ *
48
50
  * @default "bottom-leading"
49
51
  */
50
52
  this.placement = defaultMenuPlacement;
@@ -58,28 +60,61 @@ const Dropdown = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
58
60
  this.selectedItems = [];
59
61
  /** specify whether the dropdown is opened by hover or click of a trigger element */
60
62
  this.type = "click";
61
- /** specify the width of dropdown, defaults to m */
62
- this.width = "m";
63
- //--------------------------------------------------------------------------
64
- //
65
- // Private State/Props
66
- //
67
- //--------------------------------------------------------------------------
68
63
  this.items = [];
64
+ this.groups = [];
69
65
  this.activeTransitionProp = "visibility";
70
66
  this.mutationObserver = createObserver("mutation", () => this.updateItems());
71
- this.resizeObserver = createObserver("resize", () => this.setMaxScrollerHeight());
67
+ this.resizeObserver = createObserver("resize", (entries) => this.resizeObserverCallback(entries));
72
68
  //--------------------------------------------------------------------------
73
69
  //
74
70
  // Private Methods
75
71
  //
76
72
  //--------------------------------------------------------------------------
73
+ this.setFilteredPlacements = () => {
74
+ const { el, flipPlacements } = this;
75
+ this.filteredFlipPlacements = flipPlacements
76
+ ? filterComputedPlacements(flipPlacements, el)
77
+ : null;
78
+ };
79
+ this.updateTriggers = (event) => {
80
+ this.triggers = event.target.assignedElements({
81
+ flatten: true
82
+ });
83
+ this.reposition();
84
+ };
77
85
  this.updateItems = () => {
86
+ this.items = this.groups
87
+ .map((group) => Array.from(group === null || group === void 0 ? void 0 : group.querySelectorAll("calcite-dropdown-item")))
88
+ .reduce((previousValue, currentValue) => [...previousValue, ...currentValue], []);
78
89
  this.updateSelectedItems();
79
- this.triggers = getSlotted(this.el, "dropdown-trigger", { all: true });
80
- this.items = Array.from(this.el.querySelectorAll("calcite-dropdown-item"));
81
90
  this.reposition();
82
91
  };
92
+ this.updateGroups = (event) => {
93
+ const groups = event.target
94
+ .assignedElements({ flatten: true })
95
+ .filter((el) => el === null || el === void 0 ? void 0 : el.matches("calcite-dropdown-group"));
96
+ this.groups = groups;
97
+ this.updateItems();
98
+ };
99
+ this.resizeObserverCallback = (entries) => {
100
+ entries.forEach((entry) => {
101
+ const { target } = entry;
102
+ if (target === this.referenceEl) {
103
+ this.setDropdownWidth();
104
+ }
105
+ else if (target === this.scrollerEl) {
106
+ this.setMaxScrollerHeight();
107
+ }
108
+ });
109
+ };
110
+ this.setDropdownWidth = () => {
111
+ const { referenceEl, scrollerEl } = this;
112
+ const referenceElWidth = referenceEl === null || referenceEl === void 0 ? void 0 : referenceEl.clientWidth;
113
+ if (!referenceElWidth || !scrollerEl) {
114
+ return;
115
+ }
116
+ scrollerEl.style.minWidth = `${referenceElWidth}px`;
117
+ };
83
118
  this.setMaxScrollerHeight = () => {
84
119
  const { active, scrollerEl } = this;
85
120
  if (!scrollerEl || !active) {
@@ -101,6 +136,7 @@ const Dropdown = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
101
136
  };
102
137
  this.setReferenceEl = (el) => {
103
138
  this.referenceEl = el;
139
+ this.resizeObserver.observe(el);
104
140
  };
105
141
  this.setMenuEl = (el) => {
106
142
  this.menuEl = el;
@@ -151,6 +187,9 @@ const Dropdown = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
151
187
  this.active = false;
152
188
  }
153
189
  }
190
+ flipPlacementsHandler() {
191
+ this.setFilteredPlacements();
192
+ }
154
193
  maxItemsHandler() {
155
194
  this.setMaxScrollerHeight();
156
195
  }
@@ -166,7 +205,7 @@ const Dropdown = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
166
205
  var _a;
167
206
  (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true, subtree: true });
168
207
  this.createPopper();
169
- this.updateItems();
208
+ this.setFilteredPlacements();
170
209
  }
171
210
  componentDidLoad() {
172
211
  this.reposition();
@@ -182,11 +221,11 @@ const Dropdown = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
182
221
  }
183
222
  render() {
184
223
  const { active } = this;
185
- return (h(Host, null, h("div", { class: "calcite-dropdown-trigger-container", onClick: this.openCalciteDropdown, onKeyDown: this.keyDownHandler, ref: this.setReferenceEl }, h("slot", { "aria-expanded": active.toString(), "aria-haspopup": "true", name: SLOTS.dropdownTrigger })), h("div", { "aria-hidden": (!active).toString(), class: "calcite-dropdown-wrapper", ref: this.setMenuEl }, h("div", { class: {
224
+ return (h(Host, null, h("div", { class: "calcite-dropdown-trigger-container", onClick: this.openCalciteDropdown, onKeyDown: this.keyDownHandler, ref: this.setReferenceEl }, h("slot", { "aria-expanded": toAriaBoolean(active), "aria-haspopup": "true", name: SLOTS.dropdownTrigger, onSlotchange: this.updateTriggers })), h("div", { "aria-hidden": toAriaBoolean(!active), class: "calcite-dropdown-wrapper", ref: this.setMenuEl }, h("div", { class: {
186
225
  ["calcite-dropdown-content"]: true,
187
226
  [CSS.animation]: true,
188
227
  [CSS.animationActive]: active
189
- }, onTransitionEnd: this.transitionEnd, ref: this.setScrollerEl }, h("div", { hidden: !this.active }, h("slot", null))))));
228
+ }, onTransitionEnd: this.transitionEnd, ref: this.setScrollerEl }, h("div", { hidden: !this.active }, h("slot", { onSlotchange: this.updateGroups }))))));
190
229
  }
191
230
  //--------------------------------------------------------------------------
192
231
  //
@@ -212,8 +251,9 @@ const Dropdown = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
212
251
  }
213
252
  this.closeCalciteDropdown(false);
214
253
  }
215
- closeCalciteDropdownOnEvent() {
254
+ closeCalciteDropdownOnEvent(e) {
216
255
  this.closeCalciteDropdown();
256
+ e.stopPropagation();
217
257
  }
218
258
  closeCalciteDropdownOnOpenEvent(e) {
219
259
  if (e.composedPath().includes(this.el)) {
@@ -231,7 +271,7 @@ const Dropdown = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
231
271
  this.closeCalciteDropdown();
232
272
  }
233
273
  }
234
- calciteDropdownItemKeyEvent(e) {
274
+ calciteInternalDropdownItemKeyEvent(e) {
235
275
  const { keyboardEvent } = e.detail;
236
276
  // handle edge
237
277
  const target = keyboardEvent.target;
@@ -276,6 +316,7 @@ const Dropdown = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
276
316
  event.detail.requestedDropdownGroup.selectionMode === "none") {
277
317
  this.closeCalciteDropdown();
278
318
  }
319
+ event.stopPropagation();
279
320
  }
280
321
  getModifiers() {
281
322
  const flipModifier = {
@@ -283,7 +324,7 @@ const Dropdown = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
283
324
  enabled: true
284
325
  };
285
326
  flipModifier.options = {
286
- fallbackPlacements: this.flipPlacements || popperMenuFlipPlacements
327
+ fallbackPlacements: this.filteredFlipPlacements || popperMenuComputedPlacements
287
328
  };
288
329
  const eventListenerModifier = {
289
330
  name: "eventListeners",
@@ -311,16 +352,14 @@ const Dropdown = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
311
352
  this.popper = null;
312
353
  }
313
354
  updateSelectedItems() {
314
- const items = Array.from(this.el.querySelectorAll("calcite-dropdown-item"));
315
- this.selectedItems = items.filter((item) => item.active);
355
+ this.selectedItems = this.items.filter((item) => item.active);
316
356
  }
317
357
  getMaxScrollerHeight() {
318
- const groups = Array.from(this.el.querySelectorAll("calcite-dropdown-group"));
319
358
  const { maxItems } = this;
320
359
  let itemsToProcess = 0;
321
360
  let maxScrollerHeight = 0;
322
361
  let groupHeaderHeight;
323
- groups.forEach((group) => {
362
+ this.groups.forEach((group) => {
324
363
  if (maxItems > 0 && itemsToProcess < maxItems) {
325
364
  Array.from(group.children).forEach((item, index) => {
326
365
  if (index === 0) {
@@ -378,6 +417,7 @@ const Dropdown = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
378
417
  static get watchers() { return {
379
418
  "active": ["activeHandler"],
380
419
  "disabled": ["handleDisabledChange"],
420
+ "flipPlacements": ["flipPlacementsHandler"],
381
421
  "maxItems": ["maxItemsHandler"],
382
422
  "placement": ["placementHandler"]
383
423
  }; }
@@ -395,7 +435,7 @@ const Dropdown = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
395
435
  "type": [513],
396
436
  "width": [513],
397
437
  "reposition": [64]
398
- }, [[8, "click", "closeCalciteDropdownOnClick"], [0, "calciteDropdownCloseRequest", "closeCalciteDropdownOnEvent"], [8, "calciteDropdownOpen", "closeCalciteDropdownOnOpenEvent"], [1, "mouseenter", "mouseEnterHandler"], [1, "mouseleave", "mouseLeaveHandler"], [0, "calciteDropdownItemKeyEvent", "calciteDropdownItemKeyEvent"], [0, "calciteDropdownItemSelect", "handleItemSelect"]]]);
438
+ }, [[8, "click", "closeCalciteDropdownOnClick"], [0, "calciteInternalDropdownCloseRequest", "closeCalciteDropdownOnEvent"], [8, "calciteDropdownOpen", "closeCalciteDropdownOnOpenEvent"], [1, "mouseenter", "mouseEnterHandler"], [1, "mouseleave", "mouseLeaveHandler"], [0, "calciteInternalDropdownItemKeyEvent", "calciteInternalDropdownItemKeyEvent"], [0, "calciteInternalDropdownItemSelect", "handleItemSelect"]]]);
399
439
  function defineCustomElement() {
400
440
  if (typeof customElements === "undefined") {
401
441
  return;
@@ -1,6 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
+ * v1.0.0-beta.83
4
5
  */
5
6
  import { proxyCustomElement, HTMLElement, createEvent, h, Fragment } from '@stencil/core/internal/client';
6
7
  import { f as focusElement } from './dom.js';
@@ -13,8 +14,7 @@ import { f as forIn } from './forIn.js';
13
14
 
14
15
  const CSS = {
15
16
  container: "container",
16
- searchIcon: "search-icon",
17
- clearButton: "clear-button"
17
+ searchIcon: "search-icon"
18
18
  };
19
19
  const TEXT = {
20
20
  filterLabel: "Filter",
@@ -24,10 +24,10 @@ const ICONS = {
24
24
  search: "search",
25
25
  close: "x"
26
26
  };
27
+ const DEBOUNCE_TIMEOUT = 250;
27
28
 
28
- const filterCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;width:100%}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{display:-ms-flexbox;display:flex;width:100%;padding:0.5rem}label{position:relative;margin-left:0.25rem;margin-right:0.25rem;margin-top:0px;margin-bottom:0px;display:-ms-flexbox;display:flex;width:100%;-ms-flex-align:center;align-items:center;overflow:hidden}input[type=text]{margin-bottom:0.25rem;width:100%;border-style:none;background-color:transparent;padding-top:0.25rem;padding-bottom:0.25rem;padding-right:0.25rem;padding-left:1.5rem;font-family:inherit;font-size:var(--calcite-font-size--2);line-height:1rem;color:var(--calcite-ui-text-1);-webkit-transition:padding var(--calcite-animation-timing), -webkit-box-shadow var(--calcite-animation-timing);transition:padding var(--calcite-animation-timing), -webkit-box-shadow var(--calcite-animation-timing);transition:padding var(--calcite-animation-timing), box-shadow var(--calcite-animation-timing);transition:padding var(--calcite-animation-timing), box-shadow var(--calcite-animation-timing), -webkit-box-shadow var(--calcite-animation-timing)}input[type=text]::-ms-clear{display:none}calcite-input{width:100%}.search-icon{position:absolute;display:-ms-flexbox;display:flex;color:var(--calcite-ui-text-2);inset-inline-start:0;-webkit-transition:left var(--calcite-animation-timing), right var(--calcite-animation-timing), opacity var(--calcite-animation-timing);transition:left var(--calcite-animation-timing), right var(--calcite-animation-timing), opacity var(--calcite-animation-timing)}input[type=text]:focus{border-color:var(--calcite-ui-brand);outline:2px solid transparent;outline-offset:2px;padding-inline:0.25rem}input[type=text]:focus~.search-icon{inset-inline-start:calc(1rem * -1);opacity:0}.clear-button{display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;border-width:0px;background-color:transparent;color:var(--calcite-ui-text-2)}.clear-button:hover,.clear-button:focus{color:var(--calcite-ui-text-1)}";
29
+ const filterCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;width:100%}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{display:-ms-flexbox;display:flex;width:100%;padding:0.5rem}label{position:relative;margin-left:0.25rem;margin-right:0.25rem;margin-top:0px;margin-bottom:0px;display:-ms-flexbox;display:flex;width:100%;-ms-flex-align:center;align-items:center;overflow:hidden}input[type=text]{margin-bottom:0.25rem;width:100%;border-style:none;background-color:transparent;padding-top:0.25rem;padding-bottom:0.25rem;font-family:inherit;font-size:var(--calcite-font-size--2);line-height:1rem;color:var(--calcite-ui-text-1);-webkit-padding-end:0.25rem;padding-inline-end:0.25rem;-webkit-padding-start:1.5rem;padding-inline-start:1.5rem;-webkit-transition:padding var(--calcite-animation-timing), -webkit-box-shadow var(--calcite-animation-timing);transition:padding var(--calcite-animation-timing), -webkit-box-shadow var(--calcite-animation-timing);transition:padding var(--calcite-animation-timing), box-shadow var(--calcite-animation-timing);transition:padding var(--calcite-animation-timing), box-shadow var(--calcite-animation-timing), -webkit-box-shadow var(--calcite-animation-timing)}input[type=text]::-ms-clear{display:none}calcite-input{width:100%}.search-icon{position:absolute;display:-ms-flexbox;display:flex;color:var(--calcite-ui-text-2);inset-inline-start:0;-webkit-transition:left var(--calcite-animation-timing), right var(--calcite-animation-timing), opacity var(--calcite-animation-timing);transition:left var(--calcite-animation-timing), right var(--calcite-animation-timing), opacity var(--calcite-animation-timing)}input[type=text]:focus{border-color:var(--calcite-ui-brand);outline:2px solid transparent;outline-offset:2px;padding-inline:0.25rem}input[type=text]:focus~.search-icon{inset-inline-start:calc(1rem * -1);opacity:0}.clear-button{display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;border-width:0px;background-color:transparent;color:var(--calcite-ui-text-2)}.clear-button:hover,.clear-button:focus{color:var(--calcite-ui-text-1)}";
29
30
 
30
- const filterDebounceInMs = 250;
31
31
  const Filter = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
32
32
  constructor() {
33
33
  super();
@@ -67,16 +67,16 @@ const Filter = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
67
67
  // Private Methods
68
68
  //
69
69
  // --------------------------------------------------------------------------
70
- this.filter = debounce((value) => {
70
+ this.filter = debounce((value, emit = false) => {
71
71
  const regex = new RegExp(value, "i");
72
72
  if (this.items.length === 0) {
73
- this.updateFiltered([]);
73
+ this.updateFiltered([], emit);
74
74
  return;
75
75
  }
76
76
  const find = (input, RE) => {
77
77
  let found = false;
78
78
  forIn(input, (val) => {
79
- if (typeof val === "function") {
79
+ if (typeof val === "function" || val == null /* intentional == to catch undefined */) {
80
80
  return;
81
81
  }
82
82
  if (Array.isArray(val) || (typeof val === "object" && val !== null)) {
@@ -93,19 +93,24 @@ const Filter = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
93
93
  const result = this.items.filter((item) => {
94
94
  return find(item, regex);
95
95
  });
96
- this.updateFiltered(result);
97
- }, filterDebounceInMs);
96
+ this.updateFiltered(result, emit);
97
+ }, DEBOUNCE_TIMEOUT);
98
98
  this.inputHandler = (event) => {
99
99
  const target = event.target;
100
100
  this.value = target.value;
101
+ this.filter(target.value, true);
101
102
  };
102
- this.keyDownHandler = ({ key }) => {
103
- if (key === "Escape") {
103
+ this.keyDownHandler = (event) => {
104
+ if (event.key === "Escape") {
104
105
  this.clear();
105
106
  }
107
+ if (event.key === "Enter") {
108
+ event.preventDefault();
109
+ }
106
110
  };
107
111
  this.clear = () => {
108
112
  this.value = "";
113
+ this.filter("", true);
109
114
  this.setFocus();
110
115
  };
111
116
  }
@@ -140,10 +145,12 @@ const Filter = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
140
145
  async setFocus() {
141
146
  focusElement(this.textInput);
142
147
  }
143
- updateFiltered(filtered) {
148
+ updateFiltered(filtered, emit = false) {
144
149
  this.filteredItems.length = 0;
145
150
  this.filteredItems = this.filteredItems.concat(filtered);
146
- this.calciteFilterChange.emit();
151
+ if (emit) {
152
+ this.calciteFilterChange.emit();
153
+ }
147
154
  }
148
155
  // --------------------------------------------------------------------------
149
156
  //
@@ -152,9 +159,9 @@ const Filter = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
152
159
  // --------------------------------------------------------------------------
153
160
  render() {
154
161
  const { disabled, scale } = this;
155
- return (h(Fragment, null, h("div", { class: CSS.container }, h("label", null, h("calcite-input", { "aria-label": this.intlLabel || TEXT.filterLabel, disabled: disabled, icon: ICONS.search, onCalciteInputInput: this.inputHandler, onKeyDown: this.keyDownHandler, placeholder: this.placeholder, ref: (el) => {
162
+ return (h(Fragment, null, h("div", { class: CSS.container }, h("label", null, h("calcite-input", { "aria-label": this.intlLabel || TEXT.filterLabel, clearable: true, disabled: disabled, icon: ICONS.search, intlClear: this.intlClear || TEXT.clear, onCalciteInputInput: this.inputHandler, onKeyDown: this.keyDownHandler, placeholder: this.placeholder, ref: (el) => {
156
163
  this.textInput = el;
157
- }, scale: scale, type: "text", value: this.value })), this.value ? (h("button", { "aria-label": this.intlClear || TEXT.clear, class: CSS.clearButton, disabled: disabled, onClick: this.clear }, h("calcite-icon", { icon: ICONS.close, scale: scale }))) : null)));
164
+ }, scale: scale, type: "text", value: this.value })))));
158
165
  }
159
166
  get el() { return this; }
160
167
  static get watchers() { return {
@@ -1,6 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
+ * v1.0.0-beta.83
4
5
  */
5
6
  import { i as isObject, b as baseGetTag, c as isObjectLike, r as root, f as freeGlobal } from './debounce.js';
6
7
 
@@ -1,8 +1,9 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
+ * v1.0.0-beta.83
4
5
  */
5
- import { d as closestElementCrossShadowBoundary } from './dom.js';
6
+ import { e as closestElementCrossShadowBoundary } from './dom.js';
6
7
  import { h } from '@stencil/core/internal/client';
7
8
 
8
9
  /**
@@ -30,8 +31,28 @@ function hasRegisteredFormComponentParent(form, formComponentEl) {
30
31
  }));
31
32
  return hasRegisteredFormComponentParent;
32
33
  }
34
+ /**
35
+ * Helper to submit a form.
36
+ *
37
+ * @param component
38
+ */
39
+ function submitForm(component) {
40
+ var _a;
41
+ (_a = component.formEl) === null || _a === void 0 ? void 0 : _a.requestSubmit();
42
+ }
43
+ /**
44
+ * Helper to reset a form.
45
+ *
46
+ * @param component
47
+ */
48
+ function resetForm(component) {
49
+ var _a;
50
+ (_a = component.formEl) === null || _a === void 0 ? void 0 : _a.reset();
51
+ }
33
52
  /**
34
53
  * Helper to set up form interactions on connectedCallback.
54
+ *
55
+ * @param component
35
56
  */
36
57
  function connectForm(component) {
37
58
  const { el, value } = component;
@@ -46,6 +67,7 @@ function connectForm(component) {
46
67
  }
47
68
  const boundOnFormReset = (component.onFormReset || onFormReset).bind(component);
48
69
  form.addEventListener("reset", boundOnFormReset);
70
+ onFormResetMap.set(component.el, boundOnFormReset);
49
71
  formComponentSet.add(el);
50
72
  }
51
73
  function onFormReset() {
@@ -57,6 +79,8 @@ function onFormReset() {
57
79
  }
58
80
  /**
59
81
  * Helper to tear down form interactions on disconnectedCallback.
82
+ *
83
+ * @param component
60
84
  */
61
85
  function disconnectForm(component) {
62
86
  const { el, formEl } = component;
@@ -73,6 +97,9 @@ function disconnectForm(component) {
73
97
  * Helper for setting the default value on initialization after connectedCallback.
74
98
  *
75
99
  * Note that this is only needed if the default value cannot be determined on connectedCallback.
100
+ *
101
+ * @param component
102
+ * @param value
76
103
  */
77
104
  function afterConnectDefaultValueSet(component, value) {
78
105
  component.defaultValue = value;
@@ -81,6 +108,8 @@ function afterConnectDefaultValueSet(component, value) {
81
108
  * Helper for maintaining a form-associated's hidden input in sync with the component.
82
109
  *
83
110
  * Based on Ionic's approach: https://github.com/ionic-team/ionic-framework/blob/e4bf052794af9aac07f887013b9250d2a045eba3/core/src/utils/helpers.ts#L198
111
+ *
112
+ * @param component
84
113
  */
85
114
  function syncHiddenFormInput(component) {
86
115
  const { el, formEl, name, value } = component;
@@ -165,10 +194,13 @@ function defaultSyncHiddenFormInput(component, input, value) {
165
194
  * }
166
195
  *
167
196
  * Note that the hidden-form-input Sass mixin must be added to the component's style to apply specific styles.
197
+ *
198
+ * @param root0
199
+ * @param root0.component
168
200
  */
169
201
  const HiddenFormInputSlot = ({ component }) => {
170
202
  syncHiddenFormInput(component);
171
203
  return h("slot", { name: hiddenFormInputSlotName });
172
204
  };
173
205
 
174
- export { HiddenFormInputSlot as H, afterConnectDefaultValueSet as a, connectForm as c, disconnectForm as d };
206
+ export { HiddenFormInputSlot as H, afterConnectDefaultValueSet as a, connectForm as c, disconnectForm as d, resetForm as r, submitForm as s };