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

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 (965) hide show
  1. package/dist/calcite/assets/calcite-icon/beacon16.json +1 -0
  2. package/dist/calcite/assets/calcite-icon/beacon24.json +1 -0
  3. package/dist/calcite/assets/calcite-icon/beacon32.json +1 -0
  4. package/dist/calcite/assets/calcite-icon/classifyObjects16.json +1 -0
  5. package/dist/calcite/assets/calcite-icon/classifyObjects24.json +1 -0
  6. package/dist/calcite/assets/calcite-icon/classifyObjects32.json +1 -0
  7. package/dist/calcite/assets/calcite-icon/classifyPixels16.json +1 -0
  8. package/dist/calcite/assets/calcite-icon/classifyPixels24.json +1 -0
  9. package/dist/calcite/assets/calcite-icon/classifyPixels32.json +1 -0
  10. package/dist/calcite/assets/calcite-icon/dataCloud16.json +1 -0
  11. package/dist/calcite/assets/calcite-icon/dataCloud24.json +1 -0
  12. package/dist/calcite/assets/calcite-icon/dataCloud32.json +1 -0
  13. package/dist/calcite/assets/calcite-icon/dataFolder16.json +1 -0
  14. package/dist/calcite/assets/calcite-icon/dataFolder24.json +1 -0
  15. package/dist/calcite/assets/calcite-icon/dataFolder32.json +1 -0
  16. package/dist/calcite/assets/calcite-icon/dataMagnifyingGlass16.json +1 -0
  17. package/dist/calcite/assets/calcite-icon/dataMagnifyingGlass24.json +1 -0
  18. package/dist/calcite/assets/calcite-icon/dataMagnifyingGlass32.json +1 -0
  19. package/dist/calcite/assets/calcite-icon/dataRaster16.json +1 -0
  20. package/dist/calcite/assets/calcite-icon/dataRaster24.json +1 -0
  21. package/dist/calcite/assets/calcite-icon/dataRaster32.json +1 -0
  22. package/dist/calcite/assets/calcite-icon/diamond16.json +1 -0
  23. package/dist/calcite/assets/calcite-icon/diamond24.json +1 -0
  24. package/dist/calcite/assets/calcite-icon/diamond32.json +1 -0
  25. package/dist/calcite/assets/calcite-icon/distributeHeightEvenly16.json +1 -0
  26. package/dist/calcite/assets/calcite-icon/distributeHeightEvenly24.json +1 -0
  27. package/dist/calcite/assets/calcite-icon/distributeHeightEvenly32.json +1 -0
  28. package/dist/calcite/assets/calcite-icon/distributeWidthEvenly16.json +1 -0
  29. package/dist/calcite/assets/calcite-icon/distributeWidthEvenly24.json +1 -0
  30. package/dist/calcite/assets/calcite-icon/distributeWidthEvenly32.json +1 -0
  31. package/dist/calcite/assets/calcite-icon/drivingDistance16.json +1 -0
  32. package/dist/calcite/assets/calcite-icon/drivingDistance24.json +1 -0
  33. package/dist/calcite/assets/calcite-icon/drivingDistance32.json +1 -0
  34. package/dist/calcite/assets/calcite-icon/drivingTime16.json +1 -0
  35. package/dist/calcite/assets/calcite-icon/drivingTime24.json +1 -0
  36. package/dist/calcite/assets/calcite-icon/drivingTime32.json +1 -0
  37. package/dist/calcite/assets/calcite-icon/featureDisplayOrder16.json +1 -0
  38. package/dist/calcite/assets/calcite-icon/featureDisplayOrder24.json +1 -0
  39. package/dist/calcite/assets/calcite-icon/featureDisplayOrder32.json +1 -0
  40. package/dist/calcite/assets/calcite-icon/fileMagnifyingGlass16.json +1 -1
  41. package/dist/calcite/assets/calcite-icon/fileMagnifyingGlass24.json +1 -1
  42. package/dist/calcite/assets/calcite-icon/fileMagnifyingGlass32.json +1 -1
  43. package/dist/calcite/assets/calcite-icon/fingerprint16.json +1 -0
  44. package/dist/calcite/assets/calcite-icon/fingerprint24.json +1 -0
  45. package/dist/calcite/assets/calcite-icon/fingerprint32.json +1 -0
  46. package/dist/calcite/assets/calcite-icon/gridUnit16.json +1 -0
  47. package/dist/calcite/assets/calcite-icon/gridUnit24.json +1 -0
  48. package/dist/calcite/assets/calcite-icon/gridUnit32.json +1 -0
  49. package/dist/calcite/assets/calcite-icon/hideEmpty24.json +1 -1
  50. package/dist/calcite/assets/calcite-icon/hideEmpty32.json +1 -1
  51. package/dist/calcite/assets/calcite-icon/horizontalDistribute16.json +1 -0
  52. package/dist/calcite/assets/calcite-icon/horizontalDistribute24.json +1 -0
  53. package/dist/calcite/assets/calcite-icon/horizontalDistribute32.json +1 -0
  54. package/dist/calcite/assets/calcite-icon/imageChips16.json +1 -0
  55. package/dist/calcite/assets/calcite-icon/imageChips24.json +1 -0
  56. package/dist/calcite/assets/calcite-icon/imageChips32.json +1 -0
  57. package/dist/calcite/assets/calcite-icon/imageUnit16.json +1 -0
  58. package/dist/calcite/assets/calcite-icon/imageUnit24.json +1 -0
  59. package/dist/calcite/assets/calcite-icon/imageUnit32.json +1 -0
  60. package/dist/calcite/assets/calcite-icon/lassoSelect16.json +1 -0
  61. package/dist/calcite/assets/calcite-icon/lassoSelect24.json +1 -0
  62. package/dist/calcite/assets/calcite-icon/lassoSelect32.json +1 -0
  63. package/dist/calcite/assets/calcite-icon/mobileVibrate16.json +1 -0
  64. package/dist/calcite/assets/calcite-icon/mobileVibrate24.json +1 -0
  65. package/dist/calcite/assets/calcite-icon/mobileVibrate32.json +1 -0
  66. package/dist/calcite/assets/calcite-icon/newTraining16.json +1 -0
  67. package/dist/calcite/assets/calcite-icon/newTraining24.json +1 -0
  68. package/dist/calcite/assets/calcite-icon/newTraining32.json +1 -0
  69. package/dist/calcite/assets/calcite-icon/orientedImageryWidget16.json +1 -0
  70. package/dist/calcite/assets/calcite-icon/orientedImageryWidget24.json +1 -0
  71. package/dist/calcite/assets/calcite-icon/orientedImageryWidget32.json +1 -0
  72. package/dist/calcite/assets/calcite-icon/package16.json +1 -0
  73. package/dist/calcite/assets/calcite-icon/package24.json +1 -0
  74. package/dist/calcite/assets/calcite-icon/package32.json +1 -0
  75. package/dist/calcite/assets/calcite-icon/processingTemplates16.json +1 -0
  76. package/dist/calcite/assets/calcite-icon/processingTemplates24.json +1 -0
  77. package/dist/calcite/assets/calcite-icon/processingTemplates32.json +1 -0
  78. package/dist/calcite/assets/calcite-icon/retrain16.json +1 -0
  79. package/dist/calcite/assets/calcite-icon/retrain24.json +1 -0
  80. package/dist/calcite/assets/calcite-icon/retrain32.json +1 -0
  81. package/dist/calcite/assets/calcite-icon/ruralDrivingDistance16.json +1 -0
  82. package/dist/calcite/assets/calcite-icon/ruralDrivingDistance24.json +1 -0
  83. package/dist/calcite/assets/calcite-icon/ruralDrivingDistance32.json +1 -0
  84. package/dist/calcite/assets/calcite-icon/ruralDrivingTime16.json +1 -0
  85. package/dist/calcite/assets/calcite-icon/ruralDrivingTime24.json +1 -0
  86. package/dist/calcite/assets/calcite-icon/ruralDrivingTime32.json +1 -0
  87. package/dist/calcite/assets/calcite-icon/search16.json +1 -1
  88. package/dist/calcite/assets/calcite-icon/search24.json +1 -1
  89. package/dist/calcite/assets/calcite-icon/search32.json +1 -1
  90. package/dist/calcite/assets/calcite-icon/sensor16.json +1 -0
  91. package/dist/calcite/assets/calcite-icon/sensor21.json +1 -0
  92. package/dist/calcite/assets/calcite-icon/sensor24.json +1 -0
  93. package/dist/calcite/assets/calcite-icon/sensor32.json +1 -0
  94. package/dist/calcite/assets/calcite-icon/sensor48.json +1 -0
  95. package/dist/calcite/assets/calcite-icon/sensor64.json +1 -0
  96. package/dist/calcite/assets/calcite-icon/showColumn16.json +1 -0
  97. package/dist/calcite/assets/calcite-icon/showColumn24.json +1 -0
  98. package/dist/calcite/assets/calcite-icon/showColumn32.json +1 -0
  99. package/dist/calcite/assets/calcite-icon/smartForm16.json +1 -0
  100. package/dist/calcite/assets/calcite-icon/smartForm24.json +1 -0
  101. package/dist/calcite/assets/calcite-icon/smartForm32.json +1 -0
  102. package/dist/calcite/assets/calcite-icon/speechBubbleCheck16.json +1 -0
  103. package/dist/calcite/assets/calcite-icon/speechBubbleCheck24.json +1 -0
  104. package/dist/calcite/assets/calcite-icon/speechBubbleCheck32.json +1 -0
  105. package/dist/calcite/assets/calcite-icon/thumbsDown16.json +1 -0
  106. package/dist/calcite/assets/calcite-icon/thumbsDown24.json +1 -0
  107. package/dist/calcite/assets/calcite-icon/thumbsDown32.json +1 -0
  108. package/dist/calcite/assets/calcite-icon/truckingDistance16.json +1 -0
  109. package/dist/calcite/assets/calcite-icon/truckingDistance24.json +1 -0
  110. package/dist/calcite/assets/calcite-icon/truckingDistance32.json +1 -0
  111. package/dist/calcite/assets/calcite-icon/truckingTime16.json +1 -0
  112. package/dist/calcite/assets/calcite-icon/truckingTime24.json +1 -0
  113. package/dist/calcite/assets/calcite-icon/truckingTime32.json +1 -0
  114. package/dist/calcite/assets/calcite-icon/verticalDistribute16.json +1 -0
  115. package/dist/calcite/assets/calcite-icon/verticalDistribute24.json +1 -0
  116. package/dist/calcite/assets/calcite-icon/verticalDistribute32.json +1 -0
  117. package/dist/calcite/assets/calcite-icon/walkingDistance16.json +1 -0
  118. package/dist/calcite/assets/calcite-icon/walkingDistance24.json +1 -0
  119. package/dist/calcite/assets/calcite-icon/walkingDistance32.json +1 -0
  120. package/dist/calcite/assets/calcite-icon/walkingTime16.json +1 -0
  121. package/dist/calcite/assets/calcite-icon/walkingTime24.json +1 -0
  122. package/dist/calcite/assets/calcite-icon/walkingTime32.json +1 -0
  123. package/dist/calcite/assets/calcite-icon/wifi16.json +1 -0
  124. package/dist/calcite/assets/calcite-icon/wifi24.json +1 -0
  125. package/dist/calcite/assets/calcite-icon/wifi32.json +1 -0
  126. package/dist/calcite/calcite.css +1 -1
  127. package/dist/calcite/calcite.esm.js +1 -1
  128. package/dist/calcite/calcite.js +1 -1
  129. package/dist/calcite/p-00f2f64d.system.entry.js +1 -0
  130. package/dist/calcite/p-010e5fb9.entry.js +1 -0
  131. package/dist/calcite/p-03b25bb5.entry.js +1 -0
  132. package/dist/calcite/p-058f3354.system.entry.js +1 -0
  133. package/dist/calcite/p-0671d67f.entry.js +1 -0
  134. package/dist/calcite/p-0a465f92.entry.js +1 -0
  135. package/dist/calcite/p-0aa3fc7e.entry.js +1 -0
  136. package/dist/calcite/p-0b539bae.system.entry.js +1 -0
  137. package/dist/calcite/p-0c356cca.entry.js +1 -0
  138. package/dist/calcite/p-1114dae7.entry.js +1 -0
  139. package/dist/calcite/{p-6e2cc57d.system.entry.js → p-14893331.system.entry.js} +1 -1
  140. package/dist/calcite/{p-19029579.system.entry.js → p-170fb8e8.system.entry.js} +1 -1
  141. package/dist/calcite/p-19a2021f.entry.js +1 -0
  142. package/dist/calcite/{p-cda2cefc.system.entry.js → p-19d3b749.system.entry.js} +1 -1
  143. package/dist/calcite/p-1a53829b.system.entry.js +1 -0
  144. package/dist/calcite/p-1c3c9e42.entry.js +1 -0
  145. package/dist/calcite/p-1df0fd29.system.entry.js +1 -0
  146. package/dist/calcite/p-203e04e5.entry.js +1 -0
  147. package/dist/calcite/{p-5247249f.system.entry.js → p-23b87c6a.system.entry.js} +1 -1
  148. package/dist/calcite/p-23edddc9.entry.js +1 -0
  149. package/dist/calcite/p-2e9e2b7c.entry.js +1 -0
  150. package/dist/calcite/{p-263e9c6f.js → p-30f1442b.js} +0 -0
  151. package/dist/calcite/p-32a0f498.entry.js +1 -0
  152. package/dist/calcite/p-340e1f88.entry.js +1 -0
  153. package/dist/calcite/p-38b3ff5f.system.entry.js +1 -0
  154. package/dist/calcite/{p-5c8268a5.system.entry.js → p-39b743d9.system.entry.js} +1 -1
  155. package/dist/calcite/p-3b55b390.entry.js +1 -0
  156. package/dist/calcite/p-3cdef0cd.entry.js +1 -0
  157. package/dist/calcite/p-43a9faca.js +1 -0
  158. package/dist/calcite/p-44810e63.entry.js +1 -0
  159. package/dist/calcite/p-4936ee1a.entry.js +1 -0
  160. package/dist/calcite/p-4a69f94f.entry.js +1 -0
  161. package/dist/calcite/p-4bb3e49c.entry.js +1 -0
  162. package/dist/calcite/p-4dc4c758.entry.js +1 -0
  163. package/dist/calcite/p-4e3dcb60.entry.js +1 -0
  164. package/dist/calcite/p-4f24139e.system.entry.js +1 -0
  165. package/dist/calcite/{p-5b7ef513.system.js → p-4fce2a7a.system.js} +1 -1
  166. package/dist/calcite/p-55379ee6.system.entry.js +1 -0
  167. package/dist/calcite/{p-531b9a81.system.entry.js → p-55f7adaa.system.entry.js} +1 -1
  168. package/dist/calcite/{p-728c556a.system.entry.js → p-59f7b582.system.entry.js} +1 -1
  169. package/dist/calcite/p-5eab55c1.entry.js +1 -0
  170. package/dist/calcite/p-5f50d376.system.entry.js +1 -0
  171. package/dist/calcite/p-62977e6b.system.entry.js +1 -0
  172. package/dist/calcite/p-6350bcd3.system.js +1 -0
  173. package/dist/calcite/p-65f4f1e9.entry.js +1 -0
  174. package/dist/calcite/p-674bc090.system.js +1 -0
  175. package/dist/calcite/{p-b86463e6.system.entry.js → p-675364da.system.entry.js} +1 -1
  176. package/dist/calcite/p-69837b80.entry.js +1 -0
  177. package/dist/calcite/p-69e382de.entry.js +1 -0
  178. package/dist/calcite/p-6a7d2f7c.entry.js +1 -0
  179. package/dist/calcite/p-6cb2f24f.entry.js +1 -0
  180. package/dist/calcite/p-6d98d9dc.system.entry.js +1 -0
  181. package/dist/calcite/{p-7084ba72.system.entry.js → p-6edac967.system.entry.js} +1 -1
  182. package/dist/calcite/p-7521b7ab.system.entry.js +1 -0
  183. package/dist/calcite/{p-0143d80a.system.entry.js → p-771da7ed.system.entry.js} +1 -1
  184. package/dist/calcite/{p-0bc4ed41.system.entry.js → p-79e0b61b.system.entry.js} +1 -1
  185. package/dist/calcite/p-7a241325.system.entry.js +1 -0
  186. package/dist/calcite/p-7b71e1d4.js +1 -0
  187. package/dist/calcite/{p-9705826b.system.entry.js → p-7b856f76.system.entry.js} +1 -1
  188. package/dist/calcite/p-7c5c2b30.js +1 -0
  189. package/dist/calcite/p-7e4036a3.system.entry.js +1 -0
  190. package/dist/calcite/{p-e5a03e6b.system.entry.js → p-7e4be59e.system.entry.js} +1 -1
  191. package/dist/calcite/p-81371076.entry.js +1 -0
  192. package/dist/calcite/p-8242ef10.entry.js +1 -0
  193. package/dist/calcite/{p-3ebef7b9.system.entry.js → p-835b14f7.system.entry.js} +1 -1
  194. package/dist/calcite/p-875b172e.entry.js +1 -0
  195. package/dist/calcite/p-8958d1f6.system.js +1 -0
  196. package/dist/calcite/p-8975e7c8.entry.js +1 -0
  197. package/dist/calcite/p-8a16620b.system.js +1 -0
  198. package/dist/calcite/p-8cfab352.entry.js +1 -0
  199. package/dist/calcite/p-8d5f5ebf.js +1 -0
  200. package/dist/calcite/p-8d9bf455.entry.js +1 -0
  201. package/dist/calcite/{p-becd3d35.js → p-8dc31333.js} +1 -1
  202. package/dist/calcite/p-8e46c987.entry.js +1 -0
  203. package/dist/calcite/p-8ef1afae.system.entry.js +1 -0
  204. package/dist/calcite/p-8fb7b17f.system.entry.js +1 -0
  205. package/dist/calcite/p-90b88d97.system.entry.js +1 -0
  206. package/dist/calcite/p-90ee6b48.entry.js +1 -0
  207. package/dist/calcite/p-93a7d961.system.entry.js +1 -0
  208. package/dist/calcite/p-950bdd5b.system.entry.js +1 -0
  209. package/dist/calcite/p-97b06cc3.entry.js +1 -0
  210. package/dist/calcite/p-987310d2.system.js +1 -0
  211. package/dist/calcite/p-9c371694.system.entry.js +1 -0
  212. package/dist/calcite/p-a096738b.system.entry.js +1 -0
  213. package/dist/calcite/p-a09cd797.entry.js +1 -0
  214. package/dist/calcite/p-a0d4c79d.entry.js +1 -0
  215. package/dist/calcite/p-a54a11ee.system.entry.js +1 -0
  216. package/dist/calcite/p-a75f07ae.entry.js +1 -0
  217. package/dist/calcite/p-a83557c6.entry.js +1 -0
  218. package/dist/calcite/p-ac44517b.system.entry.js +1 -0
  219. package/dist/calcite/{p-3780d211.system.entry.js → p-ad290529.system.entry.js} +1 -1
  220. package/dist/calcite/p-b10d0018.system.entry.js +1 -0
  221. package/dist/calcite/p-b286e0a5.system.entry.js +1 -0
  222. package/dist/calcite/p-b2a6687b.system.js +1 -0
  223. package/dist/calcite/p-b2a79aa2.system.entry.js +1 -0
  224. package/dist/calcite/p-b4cc79dc.system.js +1 -0
  225. package/dist/calcite/p-bd291e00.entry.js +1 -0
  226. package/dist/calcite/p-be531ce4.system.entry.js +1 -0
  227. package/dist/calcite/p-be6b31d0.entry.js +1 -0
  228. package/dist/calcite/p-bfca7d51.entry.js +1 -0
  229. package/dist/calcite/{p-5e040210.system.entry.js → p-c0ee1569.system.entry.js} +1 -1
  230. package/dist/calcite/p-c15a632e.system.entry.js +1 -0
  231. package/dist/calcite/{p-4eabe0d4.system.entry.js → p-c23bfaf9.system.entry.js} +1 -1
  232. package/dist/calcite/p-c2cd9c1d.system.entry.js +1 -0
  233. package/dist/calcite/{p-7d11fed5.system.entry.js → p-c4953aa6.system.entry.js} +1 -1
  234. package/dist/calcite/p-c5257119.entry.js +1 -0
  235. package/dist/calcite/p-c59d3bb3.system.entry.js +1 -0
  236. package/dist/calcite/p-c95a18d4.entry.js +1 -0
  237. package/dist/calcite/p-cd8d0dda.entry.js +1 -0
  238. package/dist/calcite/p-cfdbd2e1.entry.js +1 -0
  239. package/dist/calcite/p-d2907af5.entry.js +1 -0
  240. package/dist/calcite/p-d2b9513d.entry.js +1 -0
  241. package/dist/calcite/p-d5e63242.entry.js +1 -0
  242. package/dist/calcite/p-d74caa31.system.entry.js +1 -0
  243. package/dist/calcite/p-d78a24bb.entry.js +1 -0
  244. package/dist/calcite/p-d7e0ef91.system.entry.js +1 -0
  245. package/dist/calcite/{p-02c649a5.system.entry.js → p-d8a015cb.system.entry.js} +1 -1
  246. package/dist/calcite/{p-c47fe2f9.js → p-dc825c55.js} +1 -1
  247. package/dist/calcite/p-dcfa0bba.js +1 -0
  248. package/dist/calcite/{p-a177a64e.system.entry.js → p-dd3f7c73.system.entry.js} +1 -1
  249. package/dist/calcite/{p-92d12490.system.entry.js → p-ddf50685.system.entry.js} +1 -1
  250. package/dist/calcite/p-de00c01f.entry.js +1 -0
  251. package/dist/calcite/p-de9b7982.system.entry.js +1 -0
  252. package/dist/calcite/{p-3c9923f1.system.js → p-e87acd87.system.js} +0 -0
  253. package/dist/calcite/p-ebb0ef70.entry.js +1 -0
  254. package/dist/calcite/p-ec397dae.entry.js +1 -0
  255. package/dist/calcite/p-ef0ea98b.system.entry.js +1 -0
  256. package/dist/calcite/p-ef38dee8.js +1 -0
  257. package/dist/calcite/p-efe6556c.system.entry.js +1 -0
  258. package/dist/calcite/p-f02d04ab.system.js +1 -0
  259. package/dist/calcite/{p-0e11eed4.system.entry.js → p-f1eddb0f.system.entry.js} +1 -1
  260. package/dist/calcite/p-f95c5864.entry.js +1 -0
  261. package/dist/calcite/p-fc725435.entry.js +1 -0
  262. package/dist/cjs/{CalciteExpandToggle-f2905eb5.js → CalciteExpandToggle-b5735fd2.js} +5 -3
  263. package/dist/cjs/{CalciteHeading-cf7944a6.js → CalciteHeading-177f59f2.js} +1 -1
  264. package/dist/cjs/calcite-accordion_2.cjs.entry.js +9 -13
  265. package/dist/cjs/calcite-action-bar.cjs.entry.js +41 -27
  266. package/dist/cjs/calcite-action-group.cjs.entry.js +3 -3
  267. package/dist/cjs/calcite-action-menu.cjs.entry.js +6 -4
  268. package/dist/cjs/calcite-action-pad.cjs.entry.js +5 -4
  269. package/dist/cjs/calcite-action.cjs.entry.js +11 -7
  270. package/dist/cjs/calcite-alert.cjs.entry.js +4 -4
  271. package/dist/cjs/calcite-avatar.cjs.entry.js +3 -3
  272. package/dist/cjs/calcite-block_2.cjs.entry.js +22 -24
  273. package/dist/cjs/calcite-button.cjs.entry.js +21 -11
  274. package/dist/cjs/calcite-card.cjs.entry.js +3 -3
  275. package/dist/cjs/calcite-checkbox.cjs.entry.js +23 -33
  276. package/dist/cjs/calcite-chip.cjs.entry.js +6 -3
  277. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +22 -15
  278. package/dist/cjs/calcite-combobox_3.cjs.entry.js +27 -28
  279. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +23 -17
  280. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +18 -10
  281. package/dist/cjs/calcite-fab.cjs.entry.js +4 -3
  282. package/dist/cjs/calcite-filter.cjs.entry.js +7 -9
  283. package/dist/cjs/calcite-flow.cjs.entry.js +8 -5
  284. package/dist/cjs/calcite-graph_2.cjs.entry.js +105 -71
  285. package/dist/cjs/calcite-handle.cjs.entry.js +3 -2
  286. package/dist/cjs/calcite-icon.cjs.entry.js +12 -13
  287. package/dist/cjs/calcite-inline-editable.cjs.entry.js +22 -16
  288. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +78 -63
  289. package/dist/cjs/calcite-input-message.cjs.entry.js +4 -3
  290. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +29 -43
  291. package/dist/cjs/calcite-input.cjs.entry.js +21 -7
  292. package/dist/cjs/calcite-label.cjs.entry.js +19 -77
  293. package/dist/cjs/calcite-link.cjs.entry.js +11 -3
  294. package/dist/cjs/calcite-list_3.cjs.entry.js +6 -6
  295. package/dist/cjs/calcite-loader.cjs.entry.js +4 -2
  296. package/dist/cjs/calcite-modal.cjs.entry.js +22 -11
  297. package/dist/cjs/calcite-notice.cjs.entry.js +4 -4
  298. package/dist/cjs/calcite-option_3.cjs.entry.js +28 -24
  299. package/dist/cjs/calcite-pagination.cjs.entry.js +5 -5
  300. package/dist/cjs/calcite-panel.cjs.entry.js +7 -6
  301. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +16 -12
  302. package/dist/cjs/calcite-popover_2.cjs.entry.js +13 -6
  303. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  304. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +2 -2
  305. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +35 -35
  306. package/dist/cjs/calcite-radio_2.cjs.entry.js +56 -32
  307. package/dist/cjs/calcite-rating.cjs.entry.js +24 -15
  308. package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
  309. package/dist/cjs/calcite-shell_3.cjs.entry.js +14 -5
  310. package/dist/cjs/calcite-sortable-list.cjs.entry.js +32 -9
  311. package/dist/cjs/calcite-split-button.cjs.entry.js +10 -3
  312. package/dist/cjs/calcite-stepper_2.cjs.entry.js +5 -5
  313. package/dist/cjs/calcite-switch.cjs.entry.js +42 -38
  314. package/dist/cjs/calcite-tab_4.cjs.entry.js +24 -23
  315. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +22 -8
  316. package/dist/cjs/calcite-tile.cjs.entry.js +12 -5
  317. package/dist/cjs/calcite-tip_3.cjs.entry.js +21 -12
  318. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +6 -5
  319. package/dist/cjs/calcite-tree_2.cjs.entry.js +51 -18
  320. package/dist/cjs/calcite-value-list_2.cjs.entry.js +16 -8
  321. package/dist/cjs/calcite.cjs.js +3 -3
  322. package/dist/cjs/{dom-57231db9.js → dom-c9cafa59.js} +6 -7
  323. package/dist/cjs/{index-98b8a879.js → index-105d9087.js} +7 -0
  324. package/dist/cjs/label-80f9023b.js +54 -0
  325. package/dist/cjs/loader.cjs.js +3 -3
  326. package/dist/cjs/observers-88b3a2d4.js +18 -0
  327. package/dist/cjs/{popper-f5801759.js → popper-a103e375.js} +24 -14
  328. package/dist/cjs/{resources-76d0fe7f.js → resources-41daa7d4.js} +2 -7
  329. package/dist/cjs/{resources-c4efb8e1.js → resources-bbca3cea.js} +6 -4
  330. package/dist/collection/collection-manifest.json +1 -1
  331. package/dist/collection/components/calcite-accordion/calcite-accordion.js +3 -0
  332. package/dist/collection/components/calcite-accordion-item/calcite-accordion-item.css +8 -8
  333. package/dist/collection/components/calcite-accordion-item/calcite-accordion-item.js +8 -9
  334. package/dist/collection/components/calcite-action/calcite-action.css +39 -7
  335. package/dist/collection/components/calcite-action/calcite-action.js +9 -5
  336. package/dist/collection/components/calcite-action-bar/calcite-action-bar.js +61 -27
  337. package/dist/collection/components/calcite-action-bar/utils.js +1 -0
  338. package/dist/collection/components/calcite-action-menu/calcite-action-menu.js +4 -2
  339. package/dist/collection/components/calcite-action-pad/calcite-action-pad.js +2 -1
  340. package/dist/collection/components/calcite-alert/calcite-alert.js +2 -2
  341. package/dist/collection/components/calcite-block/calcite-block.css +11 -7
  342. package/dist/collection/components/calcite-block/calcite-block.js +2 -2
  343. package/dist/collection/components/calcite-block-section/calcite-block-section.css +7 -14
  344. package/dist/collection/components/calcite-block-section/calcite-block-section.js +17 -22
  345. package/dist/collection/components/calcite-button/calcite-button.js +25 -14
  346. package/dist/collection/components/calcite-card/calcite-card.js +1 -1
  347. package/dist/collection/components/calcite-checkbox/calcite-checkbox.css +1 -1
  348. package/dist/collection/components/calcite-checkbox/calcite-checkbox.js +48 -46
  349. package/dist/collection/components/calcite-chip/calcite-chip.js +11 -6
  350. package/dist/collection/components/calcite-color-picker/calcite-color-picker.js +17 -10
  351. package/dist/collection/components/calcite-combobox/calcite-combobox.css +3 -1
  352. package/dist/collection/components/calcite-combobox/calcite-combobox.js +26 -24
  353. package/dist/collection/components/calcite-combobox-item/calcite-combobox-item.js +3 -0
  354. package/dist/collection/components/calcite-combobox-item-group/calcite-combobox-item-group.js +3 -0
  355. package/dist/collection/components/calcite-date-picker/calcite-date-picker.js +9 -4
  356. package/dist/collection/components/calcite-date-picker/utils.js +1 -6
  357. package/dist/collection/components/calcite-date-picker-day/calcite-date-picker-day.js +2 -1
  358. package/dist/collection/components/calcite-date-picker-month/calcite-date-picker-month.js +18 -15
  359. package/dist/collection/components/calcite-dropdown/calcite-dropdown.css +0 -1
  360. package/dist/collection/components/calcite-dropdown/calcite-dropdown.js +16 -7
  361. package/dist/collection/components/calcite-dropdown/resources.js +3 -0
  362. package/dist/collection/components/calcite-dropdown-group/calcite-dropdown-group.js +3 -0
  363. package/dist/collection/components/calcite-dropdown-item/calcite-dropdown-item.js +7 -3
  364. package/dist/collection/components/calcite-fab/calcite-fab.js +2 -1
  365. package/dist/collection/components/calcite-filter/calcite-filter.css +6 -1
  366. package/dist/collection/components/calcite-filter/calcite-filter.js +4 -8
  367. package/dist/collection/components/calcite-flow/calcite-flow.js +6 -3
  368. package/dist/collection/components/calcite-handle/calcite-handle.js +2 -1
  369. package/dist/collection/components/calcite-icon/assets/calcite-icon/beacon16.json +1 -0
  370. package/dist/collection/components/calcite-icon/assets/calcite-icon/beacon24.json +1 -0
  371. package/dist/collection/components/calcite-icon/assets/calcite-icon/beacon32.json +1 -0
  372. package/dist/collection/components/calcite-icon/assets/calcite-icon/classifyObjects16.json +1 -0
  373. package/dist/collection/components/calcite-icon/assets/calcite-icon/classifyObjects24.json +1 -0
  374. package/dist/collection/components/calcite-icon/assets/calcite-icon/classifyObjects32.json +1 -0
  375. package/dist/collection/components/calcite-icon/assets/calcite-icon/classifyPixels16.json +1 -0
  376. package/dist/collection/components/calcite-icon/assets/calcite-icon/classifyPixels24.json +1 -0
  377. package/dist/collection/components/calcite-icon/assets/calcite-icon/classifyPixels32.json +1 -0
  378. package/dist/collection/components/calcite-icon/assets/calcite-icon/dataCloud16.json +1 -0
  379. package/dist/collection/components/calcite-icon/assets/calcite-icon/dataCloud24.json +1 -0
  380. package/dist/collection/components/calcite-icon/assets/calcite-icon/dataCloud32.json +1 -0
  381. package/dist/collection/components/calcite-icon/assets/calcite-icon/dataFolder16.json +1 -0
  382. package/dist/collection/components/calcite-icon/assets/calcite-icon/dataFolder24.json +1 -0
  383. package/dist/collection/components/calcite-icon/assets/calcite-icon/dataFolder32.json +1 -0
  384. package/dist/collection/components/calcite-icon/assets/calcite-icon/dataMagnifyingGlass16.json +1 -0
  385. package/dist/collection/components/calcite-icon/assets/calcite-icon/dataMagnifyingGlass24.json +1 -0
  386. package/dist/collection/components/calcite-icon/assets/calcite-icon/dataMagnifyingGlass32.json +1 -0
  387. package/dist/collection/components/calcite-icon/assets/calcite-icon/dataRaster16.json +1 -0
  388. package/dist/collection/components/calcite-icon/assets/calcite-icon/dataRaster24.json +1 -0
  389. package/dist/collection/components/calcite-icon/assets/calcite-icon/dataRaster32.json +1 -0
  390. package/dist/collection/components/calcite-icon/assets/calcite-icon/diamond16.json +1 -0
  391. package/dist/collection/components/calcite-icon/assets/calcite-icon/diamond24.json +1 -0
  392. package/dist/collection/components/calcite-icon/assets/calcite-icon/diamond32.json +1 -0
  393. package/dist/collection/components/calcite-icon/assets/calcite-icon/distributeHeightEvenly16.json +1 -0
  394. package/dist/collection/components/calcite-icon/assets/calcite-icon/distributeHeightEvenly24.json +1 -0
  395. package/dist/collection/components/calcite-icon/assets/calcite-icon/distributeHeightEvenly32.json +1 -0
  396. package/dist/collection/components/calcite-icon/assets/calcite-icon/distributeWidthEvenly16.json +1 -0
  397. package/dist/collection/components/calcite-icon/assets/calcite-icon/distributeWidthEvenly24.json +1 -0
  398. package/dist/collection/components/calcite-icon/assets/calcite-icon/distributeWidthEvenly32.json +1 -0
  399. package/dist/collection/components/calcite-icon/assets/calcite-icon/drivingDistance16.json +1 -0
  400. package/dist/collection/components/calcite-icon/assets/calcite-icon/drivingDistance24.json +1 -0
  401. package/dist/collection/components/calcite-icon/assets/calcite-icon/drivingDistance32.json +1 -0
  402. package/dist/collection/components/calcite-icon/assets/calcite-icon/drivingTime16.json +1 -0
  403. package/dist/collection/components/calcite-icon/assets/calcite-icon/drivingTime24.json +1 -0
  404. package/dist/collection/components/calcite-icon/assets/calcite-icon/drivingTime32.json +1 -0
  405. package/dist/collection/components/calcite-icon/assets/calcite-icon/featureDisplayOrder16.json +1 -0
  406. package/dist/collection/components/calcite-icon/assets/calcite-icon/featureDisplayOrder24.json +1 -0
  407. package/dist/collection/components/calcite-icon/assets/calcite-icon/featureDisplayOrder32.json +1 -0
  408. package/dist/collection/components/calcite-icon/assets/calcite-icon/fileMagnifyingGlass16.json +1 -1
  409. package/dist/collection/components/calcite-icon/assets/calcite-icon/fileMagnifyingGlass24.json +1 -1
  410. package/dist/collection/components/calcite-icon/assets/calcite-icon/fileMagnifyingGlass32.json +1 -1
  411. package/dist/collection/components/calcite-icon/assets/calcite-icon/fingerprint16.json +1 -0
  412. package/dist/collection/components/calcite-icon/assets/calcite-icon/fingerprint24.json +1 -0
  413. package/dist/collection/components/calcite-icon/assets/calcite-icon/fingerprint32.json +1 -0
  414. package/dist/collection/components/calcite-icon/assets/calcite-icon/gridUnit16.json +1 -0
  415. package/dist/collection/components/calcite-icon/assets/calcite-icon/gridUnit24.json +1 -0
  416. package/dist/collection/components/calcite-icon/assets/calcite-icon/gridUnit32.json +1 -0
  417. package/dist/collection/components/calcite-icon/assets/calcite-icon/hideEmpty24.json +1 -1
  418. package/dist/collection/components/calcite-icon/assets/calcite-icon/hideEmpty32.json +1 -1
  419. package/dist/collection/components/calcite-icon/assets/calcite-icon/horizontalDistribute16.json +1 -0
  420. package/dist/collection/components/calcite-icon/assets/calcite-icon/horizontalDistribute24.json +1 -0
  421. package/dist/collection/components/calcite-icon/assets/calcite-icon/horizontalDistribute32.json +1 -0
  422. package/dist/collection/components/calcite-icon/assets/calcite-icon/imageChips16.json +1 -0
  423. package/dist/collection/components/calcite-icon/assets/calcite-icon/imageChips24.json +1 -0
  424. package/dist/collection/components/calcite-icon/assets/calcite-icon/imageChips32.json +1 -0
  425. package/dist/collection/components/calcite-icon/assets/calcite-icon/imageUnit16.json +1 -0
  426. package/dist/collection/components/calcite-icon/assets/calcite-icon/imageUnit24.json +1 -0
  427. package/dist/collection/components/calcite-icon/assets/calcite-icon/imageUnit32.json +1 -0
  428. package/dist/collection/components/calcite-icon/assets/calcite-icon/lassoSelect16.json +1 -0
  429. package/dist/collection/components/calcite-icon/assets/calcite-icon/lassoSelect24.json +1 -0
  430. package/dist/collection/components/calcite-icon/assets/calcite-icon/lassoSelect32.json +1 -0
  431. package/dist/collection/components/calcite-icon/assets/calcite-icon/mobileVibrate16.json +1 -0
  432. package/dist/collection/components/calcite-icon/assets/calcite-icon/mobileVibrate24.json +1 -0
  433. package/dist/collection/components/calcite-icon/assets/calcite-icon/mobileVibrate32.json +1 -0
  434. package/dist/collection/components/calcite-icon/assets/calcite-icon/newTraining16.json +1 -0
  435. package/dist/collection/components/calcite-icon/assets/calcite-icon/newTraining24.json +1 -0
  436. package/dist/collection/components/calcite-icon/assets/calcite-icon/newTraining32.json +1 -0
  437. package/dist/collection/components/calcite-icon/assets/calcite-icon/orientedImageryWidget16.json +1 -0
  438. package/dist/collection/components/calcite-icon/assets/calcite-icon/orientedImageryWidget24.json +1 -0
  439. package/dist/collection/components/calcite-icon/assets/calcite-icon/orientedImageryWidget32.json +1 -0
  440. package/dist/collection/components/calcite-icon/assets/calcite-icon/package16.json +1 -0
  441. package/dist/collection/components/calcite-icon/assets/calcite-icon/package24.json +1 -0
  442. package/dist/collection/components/calcite-icon/assets/calcite-icon/package32.json +1 -0
  443. package/dist/collection/components/calcite-icon/assets/calcite-icon/processingTemplates16.json +1 -0
  444. package/dist/collection/components/calcite-icon/assets/calcite-icon/processingTemplates24.json +1 -0
  445. package/dist/collection/components/calcite-icon/assets/calcite-icon/processingTemplates32.json +1 -0
  446. package/dist/collection/components/calcite-icon/assets/calcite-icon/retrain16.json +1 -0
  447. package/dist/collection/components/calcite-icon/assets/calcite-icon/retrain24.json +1 -0
  448. package/dist/collection/components/calcite-icon/assets/calcite-icon/retrain32.json +1 -0
  449. package/dist/collection/components/calcite-icon/assets/calcite-icon/ruralDrivingDistance16.json +1 -0
  450. package/dist/collection/components/calcite-icon/assets/calcite-icon/ruralDrivingDistance24.json +1 -0
  451. package/dist/collection/components/calcite-icon/assets/calcite-icon/ruralDrivingDistance32.json +1 -0
  452. package/dist/collection/components/calcite-icon/assets/calcite-icon/ruralDrivingTime16.json +1 -0
  453. package/dist/collection/components/calcite-icon/assets/calcite-icon/ruralDrivingTime24.json +1 -0
  454. package/dist/collection/components/calcite-icon/assets/calcite-icon/ruralDrivingTime32.json +1 -0
  455. package/dist/collection/components/calcite-icon/assets/calcite-icon/search16.json +1 -1
  456. package/dist/collection/components/calcite-icon/assets/calcite-icon/search24.json +1 -1
  457. package/dist/collection/components/calcite-icon/assets/calcite-icon/search32.json +1 -1
  458. package/dist/collection/components/calcite-icon/assets/calcite-icon/sensor16.json +1 -0
  459. package/dist/collection/components/calcite-icon/assets/calcite-icon/sensor21.json +1 -0
  460. package/dist/collection/components/calcite-icon/assets/calcite-icon/sensor24.json +1 -0
  461. package/dist/collection/components/calcite-icon/assets/calcite-icon/sensor32.json +1 -0
  462. package/dist/collection/components/calcite-icon/assets/calcite-icon/sensor48.json +1 -0
  463. package/dist/collection/components/calcite-icon/assets/calcite-icon/sensor64.json +1 -0
  464. package/dist/collection/components/calcite-icon/assets/calcite-icon/showColumn16.json +1 -0
  465. package/dist/collection/components/calcite-icon/assets/calcite-icon/showColumn24.json +1 -0
  466. package/dist/collection/components/calcite-icon/assets/calcite-icon/showColumn32.json +1 -0
  467. package/dist/collection/components/calcite-icon/assets/calcite-icon/smartForm16.json +1 -0
  468. package/dist/collection/components/calcite-icon/assets/calcite-icon/smartForm24.json +1 -0
  469. package/dist/collection/components/calcite-icon/assets/calcite-icon/smartForm32.json +1 -0
  470. package/dist/collection/components/calcite-icon/assets/calcite-icon/speechBubbleCheck16.json +1 -0
  471. package/dist/collection/components/calcite-icon/assets/calcite-icon/speechBubbleCheck24.json +1 -0
  472. package/dist/collection/components/calcite-icon/assets/calcite-icon/speechBubbleCheck32.json +1 -0
  473. package/dist/collection/components/calcite-icon/assets/calcite-icon/thumbsDown16.json +1 -0
  474. package/dist/collection/components/calcite-icon/assets/calcite-icon/thumbsDown24.json +1 -0
  475. package/dist/collection/components/calcite-icon/assets/calcite-icon/thumbsDown32.json +1 -0
  476. package/dist/collection/components/calcite-icon/assets/calcite-icon/truckingDistance16.json +1 -0
  477. package/dist/collection/components/calcite-icon/assets/calcite-icon/truckingDistance24.json +1 -0
  478. package/dist/collection/components/calcite-icon/assets/calcite-icon/truckingDistance32.json +1 -0
  479. package/dist/collection/components/calcite-icon/assets/calcite-icon/truckingTime16.json +1 -0
  480. package/dist/collection/components/calcite-icon/assets/calcite-icon/truckingTime24.json +1 -0
  481. package/dist/collection/components/calcite-icon/assets/calcite-icon/truckingTime32.json +1 -0
  482. package/dist/collection/components/calcite-icon/assets/calcite-icon/verticalDistribute16.json +1 -0
  483. package/dist/collection/components/calcite-icon/assets/calcite-icon/verticalDistribute24.json +1 -0
  484. package/dist/collection/components/calcite-icon/assets/calcite-icon/verticalDistribute32.json +1 -0
  485. package/dist/collection/components/calcite-icon/assets/calcite-icon/walkingDistance16.json +1 -0
  486. package/dist/collection/components/calcite-icon/assets/calcite-icon/walkingDistance24.json +1 -0
  487. package/dist/collection/components/calcite-icon/assets/calcite-icon/walkingDistance32.json +1 -0
  488. package/dist/collection/components/calcite-icon/assets/calcite-icon/walkingTime16.json +1 -0
  489. package/dist/collection/components/calcite-icon/assets/calcite-icon/walkingTime24.json +1 -0
  490. package/dist/collection/components/calcite-icon/assets/calcite-icon/walkingTime32.json +1 -0
  491. package/dist/collection/components/calcite-icon/assets/calcite-icon/wifi16.json +1 -0
  492. package/dist/collection/components/calcite-icon/assets/calcite-icon/wifi24.json +1 -0
  493. package/dist/collection/components/calcite-icon/assets/calcite-icon/wifi32.json +1 -0
  494. package/dist/collection/components/calcite-icon/calcite-icon.js +9 -11
  495. package/dist/collection/components/calcite-inline-editable/calcite-inline-editable.js +39 -21
  496. package/dist/collection/components/calcite-input/calcite-input.css +4 -0
  497. package/dist/collection/components/calcite-input/calcite-input.js +27 -10
  498. package/dist/collection/components/calcite-input-date-picker/calcite-input-date-picker.js +96 -65
  499. package/dist/collection/components/calcite-input-message/calcite-input-message.js +5 -1
  500. package/dist/collection/components/calcite-input-time-picker/calcite-input-time-picker.js +15 -26
  501. package/dist/collection/components/calcite-label/calcite-label.css +11 -11
  502. package/dist/collection/components/calcite-label/calcite-label.js +33 -96
  503. package/dist/collection/components/calcite-label/resources.js +3 -0
  504. package/dist/collection/components/calcite-link/calcite-link.js +13 -4
  505. package/dist/collection/components/calcite-list-item/calcite-list-item.js +3 -6
  506. package/dist/collection/components/calcite-loader/calcite-loader.js +5 -2
  507. package/dist/collection/components/calcite-modal/calcite-modal.js +35 -19
  508. package/dist/collection/components/calcite-notice/calcite-notice.js +3 -3
  509. package/dist/collection/components/calcite-option/calcite-option.js +6 -3
  510. package/dist/collection/components/calcite-option-group/calcite-option-group.js +3 -0
  511. package/dist/collection/components/calcite-pagination/calcite-pagination.js +4 -4
  512. package/dist/collection/components/calcite-panel/calcite-panel.css +11 -11
  513. package/dist/collection/components/calcite-panel/calcite-panel.js +11 -9
  514. package/dist/collection/components/calcite-pick-list/calcite-pick-list.css +9 -13
  515. package/dist/collection/components/calcite-pick-list/calcite-pick-list.js +6 -3
  516. package/dist/collection/components/calcite-pick-list/shared-list-logic.js +4 -2
  517. package/dist/collection/components/calcite-pick-list-group/calcite-pick-list-group.css +21 -20
  518. package/dist/collection/components/calcite-pick-list-item/calcite-pick-list-item.css +14 -13
  519. package/dist/collection/components/calcite-pick-list-item/calcite-pick-list-item.js +4 -3
  520. package/dist/collection/components/calcite-popover/calcite-popover.js +9 -3
  521. package/dist/collection/components/calcite-popover-manager/calcite-popover-manager.js +7 -2
  522. package/dist/collection/components/calcite-radio/calcite-radio.js +5 -5
  523. package/dist/collection/components/calcite-radio-button/calcite-radio-button.js +78 -42
  524. package/dist/collection/components/calcite-radio-button-group/calcite-radio-button-group.js +5 -5
  525. package/dist/collection/components/calcite-radio-group/calcite-radio-group.js +31 -39
  526. package/dist/collection/components/calcite-radio-group-item/calcite-radio-group-item.js +12 -11
  527. package/dist/collection/components/calcite-rating/calcite-rating.js +23 -20
  528. package/dist/collection/components/calcite-scrim/calcite-scrim.js +3 -0
  529. package/dist/collection/components/calcite-select/calcite-select.js +22 -23
  530. package/dist/collection/components/calcite-shell/calcite-shell.js +16 -4
  531. package/dist/collection/components/calcite-shell-center-row/calcite-shell-center-row.js +1 -1
  532. package/dist/collection/components/calcite-shell-panel/calcite-shell-panel.js +1 -1
  533. package/dist/collection/components/calcite-slider/calcite-slider.css +7 -5
  534. package/dist/collection/components/calcite-slider/calcite-slider.js +130 -85
  535. package/dist/collection/components/calcite-sortable-list/calcite-sortable-list.css +13 -0
  536. package/dist/collection/components/calcite-sortable-list/calcite-sortable-list.js +48 -7
  537. package/dist/collection/components/calcite-sortable-list/resources.js +4 -1
  538. package/dist/collection/components/calcite-split-button/calcite-split-button.js +17 -5
  539. package/dist/collection/components/calcite-stepper/calcite-stepper.js +3 -0
  540. package/dist/collection/components/calcite-stepper-item/calcite-stepper-item.css +7 -7
  541. package/dist/collection/components/calcite-stepper-item/calcite-stepper-item.js +3 -0
  542. package/dist/collection/components/calcite-switch/calcite-switch.css +7 -7
  543. package/dist/collection/components/calcite-switch/calcite-switch.js +83 -51
  544. package/dist/collection/components/calcite-tab/calcite-tab.css +0 -1
  545. package/dist/collection/components/calcite-tab/calcite-tab.js +3 -0
  546. package/dist/collection/components/calcite-tab-nav/calcite-tab-nav.css +0 -1
  547. package/dist/collection/components/calcite-tab-nav/calcite-tab-nav.js +7 -7
  548. package/dist/collection/components/calcite-tab-title/calcite-tab-title.js +17 -10
  549. package/dist/collection/components/calcite-tabs/calcite-tabs.js +3 -2
  550. package/dist/collection/components/calcite-tile/calcite-tile.css +9 -0
  551. package/dist/collection/components/calcite-tile/calcite-tile.js +12 -4
  552. package/dist/collection/components/calcite-tile-select/calcite-tile-select.js +51 -13
  553. package/dist/collection/components/calcite-tile-select-group/calcite-tile-select-group.js +3 -0
  554. package/dist/collection/components/calcite-time-picker/calcite-time-picker.js +15 -25
  555. package/dist/collection/components/calcite-tip/calcite-tip.css +10 -7
  556. package/dist/collection/components/calcite-tip/calcite-tip.js +8 -2
  557. package/dist/collection/components/calcite-tip-group/calcite-tip-group.js +3 -0
  558. package/dist/collection/components/calcite-tip-manager/calcite-tip-manager.css +12 -8
  559. package/dist/collection/components/calcite-tip-manager/calcite-tip-manager.js +12 -6
  560. package/dist/collection/components/calcite-tooltip/calcite-tooltip.js +5 -1
  561. package/dist/collection/components/calcite-tree/calcite-tree.js +1 -1
  562. package/dist/collection/components/calcite-tree-item/calcite-tree-item.css +120 -223
  563. package/dist/collection/components/calcite-tree-item/calcite-tree-item.js +42 -8
  564. package/dist/collection/components/calcite-tree-item/resources.js +9 -5
  565. package/dist/collection/components/calcite-value-list/calcite-value-list.css +7 -12
  566. package/dist/collection/components/calcite-value-list/calcite-value-list.js +7 -4
  567. package/dist/collection/components/calcite-value-list-item/calcite-value-list-item.css +8 -12
  568. package/dist/collection/components/calcite-value-list-item/calcite-value-list-item.js +7 -2
  569. package/dist/collection/components/functional/CalciteExpandToggle.js +2 -1
  570. package/dist/collection/utils/dom.js +0 -3
  571. package/dist/collection/utils/filter.js +1 -1
  572. package/dist/collection/utils/label.js +47 -0
  573. package/dist/collection/utils/observers.js +15 -0
  574. package/dist/collection/utils/resources.js +20 -3
  575. package/dist/custom-elements/bundles/pick-list.js +2 -2
  576. package/dist/custom-elements/bundles/value-list.js +2 -2
  577. package/dist/custom-elements/index.js +5904 -5640
  578. package/dist/custom-elements/index.mjs +5904 -5640
  579. package/dist/esm/{CalciteExpandToggle-476279ee.js → CalciteExpandToggle-a149fed4.js} +5 -4
  580. package/dist/esm/{CalciteHeading-ea5ec96c.js → CalciteHeading-29855e9f.js} +1 -1
  581. package/dist/esm/calcite-accordion_2.entry.js +9 -13
  582. package/dist/esm/calcite-action-bar.entry.js +41 -27
  583. package/dist/esm/calcite-action-group.entry.js +3 -3
  584. package/dist/esm/calcite-action-menu.entry.js +6 -4
  585. package/dist/esm/calcite-action-pad.entry.js +5 -4
  586. package/dist/esm/calcite-action.entry.js +11 -7
  587. package/dist/esm/calcite-alert.entry.js +4 -4
  588. package/dist/esm/calcite-avatar.entry.js +3 -3
  589. package/dist/esm/calcite-block_2.entry.js +22 -24
  590. package/dist/esm/calcite-button.entry.js +21 -11
  591. package/dist/esm/calcite-card.entry.js +3 -3
  592. package/dist/esm/calcite-checkbox.entry.js +23 -33
  593. package/dist/esm/calcite-chip.entry.js +6 -3
  594. package/dist/esm/calcite-color-picker_3.entry.js +22 -15
  595. package/dist/esm/calcite-combobox_3.entry.js +27 -28
  596. package/dist/esm/calcite-date-picker_4.entry.js +23 -17
  597. package/dist/esm/calcite-dropdown_3.entry.js +18 -10
  598. package/dist/esm/calcite-fab.entry.js +4 -3
  599. package/dist/esm/calcite-filter.entry.js +7 -9
  600. package/dist/esm/calcite-flow.entry.js +8 -5
  601. package/dist/esm/calcite-graph_2.entry.js +105 -71
  602. package/dist/esm/calcite-handle.entry.js +3 -2
  603. package/dist/esm/calcite-icon.entry.js +12 -13
  604. package/dist/esm/calcite-inline-editable.entry.js +22 -16
  605. package/dist/esm/calcite-input-date-picker.entry.js +78 -63
  606. package/dist/esm/calcite-input-message.entry.js +4 -3
  607. package/dist/esm/calcite-input-time-picker_2.entry.js +29 -43
  608. package/dist/esm/calcite-input.entry.js +21 -7
  609. package/dist/esm/calcite-label.entry.js +19 -77
  610. package/dist/esm/calcite-link.entry.js +11 -3
  611. package/dist/esm/calcite-list_3.entry.js +6 -6
  612. package/dist/esm/calcite-loader.entry.js +4 -2
  613. package/dist/esm/calcite-modal.entry.js +22 -11
  614. package/dist/esm/calcite-notice.entry.js +4 -4
  615. package/dist/esm/calcite-option_3.entry.js +28 -24
  616. package/dist/esm/calcite-pagination.entry.js +5 -5
  617. package/dist/esm/calcite-panel.entry.js +7 -6
  618. package/dist/esm/calcite-pick-list_3.entry.js +16 -12
  619. package/dist/esm/calcite-popover_2.entry.js +13 -6
  620. package/dist/esm/calcite-progress.entry.js +2 -2
  621. package/dist/esm/calcite-radio-button-group.entry.js +2 -2
  622. package/dist/esm/calcite-radio-group_2.entry.js +35 -35
  623. package/dist/esm/calcite-radio_2.entry.js +56 -32
  624. package/dist/esm/calcite-rating.entry.js +24 -15
  625. package/dist/esm/calcite-scrim.entry.js +2 -2
  626. package/dist/esm/calcite-shell_3.entry.js +14 -5
  627. package/dist/esm/calcite-sortable-list.entry.js +32 -9
  628. package/dist/esm/calcite-split-button.entry.js +10 -3
  629. package/dist/esm/calcite-stepper_2.entry.js +5 -5
  630. package/dist/esm/calcite-switch.entry.js +42 -38
  631. package/dist/esm/calcite-tab_4.entry.js +24 -23
  632. package/dist/esm/calcite-tile-select_2.entry.js +22 -8
  633. package/dist/esm/calcite-tile.entry.js +12 -5
  634. package/dist/esm/calcite-tip_3.entry.js +21 -12
  635. package/dist/esm/calcite-tooltip_2.entry.js +6 -5
  636. package/dist/esm/calcite-tree_2.entry.js +51 -18
  637. package/dist/esm/calcite-value-list_2.entry.js +16 -8
  638. package/dist/esm/calcite.js +3 -3
  639. package/dist/esm/{dom-0b02c0cf.js → dom-b369a031.js} +7 -7
  640. package/dist/esm/{index-1554a132.js → index-f8f0bea7.js} +7 -0
  641. package/dist/esm/label-7b249c54.js +50 -0
  642. package/dist/esm/loader.js +3 -3
  643. package/dist/esm/observers-c93d4fe5.js +16 -0
  644. package/dist/esm/{popper-58fae6b8.js → popper-2757192a.js} +24 -14
  645. package/dist/esm/{resources-91bd199f.js → resources-28d71943.js} +3 -8
  646. package/dist/esm/{resources-1a6ba3ca.js → resources-c651d73a.js} +6 -4
  647. package/dist/esm-es5/CalciteExpandToggle-a149fed4.js +1 -0
  648. package/dist/esm-es5/{CalciteHeading-ea5ec96c.js → CalciteHeading-29855e9f.js} +1 -1
  649. package/dist/esm-es5/calcite-accordion_2.entry.js +1 -1
  650. package/dist/esm-es5/calcite-action-bar.entry.js +1 -1
  651. package/dist/esm-es5/calcite-action-group.entry.js +1 -1
  652. package/dist/esm-es5/calcite-action-menu.entry.js +1 -1
  653. package/dist/esm-es5/calcite-action-pad.entry.js +1 -1
  654. package/dist/esm-es5/calcite-action.entry.js +1 -1
  655. package/dist/esm-es5/calcite-alert.entry.js +1 -1
  656. package/dist/esm-es5/calcite-avatar.entry.js +1 -1
  657. package/dist/esm-es5/calcite-block_2.entry.js +1 -1
  658. package/dist/esm-es5/calcite-button.entry.js +1 -1
  659. package/dist/esm-es5/calcite-card.entry.js +1 -1
  660. package/dist/esm-es5/calcite-checkbox.entry.js +1 -1
  661. package/dist/esm-es5/calcite-chip.entry.js +1 -1
  662. package/dist/esm-es5/calcite-color-picker_3.entry.js +1 -1
  663. package/dist/esm-es5/calcite-combobox_3.entry.js +1 -1
  664. package/dist/esm-es5/calcite-date-picker_4.entry.js +1 -1
  665. package/dist/esm-es5/calcite-dropdown_3.entry.js +1 -1
  666. package/dist/esm-es5/calcite-fab.entry.js +1 -1
  667. package/dist/esm-es5/calcite-filter.entry.js +1 -1
  668. package/dist/esm-es5/calcite-flow.entry.js +1 -1
  669. package/dist/esm-es5/calcite-graph_2.entry.js +1 -1
  670. package/dist/esm-es5/calcite-handle.entry.js +1 -1
  671. package/dist/esm-es5/calcite-icon.entry.js +1 -1
  672. package/dist/esm-es5/calcite-inline-editable.entry.js +1 -1
  673. package/dist/esm-es5/calcite-input-date-picker.entry.js +1 -1
  674. package/dist/esm-es5/calcite-input-message.entry.js +1 -1
  675. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +1 -1
  676. package/dist/esm-es5/calcite-input.entry.js +1 -1
  677. package/dist/esm-es5/calcite-label.entry.js +1 -1
  678. package/dist/esm-es5/calcite-link.entry.js +1 -1
  679. package/dist/esm-es5/calcite-list_3.entry.js +1 -1
  680. package/dist/esm-es5/calcite-loader.entry.js +1 -1
  681. package/dist/esm-es5/calcite-modal.entry.js +1 -1
  682. package/dist/esm-es5/calcite-notice.entry.js +1 -1
  683. package/dist/esm-es5/calcite-option_3.entry.js +1 -1
  684. package/dist/esm-es5/calcite-pagination.entry.js +1 -1
  685. package/dist/esm-es5/calcite-panel.entry.js +1 -1
  686. package/dist/esm-es5/calcite-pick-list_3.entry.js +1 -1
  687. package/dist/esm-es5/calcite-popover_2.entry.js +1 -1
  688. package/dist/esm-es5/calcite-progress.entry.js +1 -1
  689. package/dist/esm-es5/calcite-radio-button-group.entry.js +1 -1
  690. package/dist/esm-es5/calcite-radio-group_2.entry.js +1 -1
  691. package/dist/esm-es5/calcite-radio_2.entry.js +1 -1
  692. package/dist/esm-es5/calcite-rating.entry.js +1 -1
  693. package/dist/esm-es5/calcite-scrim.entry.js +1 -1
  694. package/dist/esm-es5/calcite-shell_3.entry.js +1 -1
  695. package/dist/esm-es5/calcite-sortable-list.entry.js +1 -1
  696. package/dist/esm-es5/calcite-split-button.entry.js +1 -1
  697. package/dist/esm-es5/calcite-stepper_2.entry.js +1 -1
  698. package/dist/esm-es5/calcite-switch.entry.js +1 -1
  699. package/dist/esm-es5/calcite-tab_4.entry.js +1 -1
  700. package/dist/esm-es5/calcite-tile-select_2.entry.js +1 -1
  701. package/dist/esm-es5/calcite-tile.entry.js +1 -1
  702. package/dist/esm-es5/calcite-tip_3.entry.js +1 -1
  703. package/dist/esm-es5/calcite-tooltip_2.entry.js +1 -1
  704. package/dist/esm-es5/calcite-tree_2.entry.js +1 -1
  705. package/dist/esm-es5/calcite-value-list_2.entry.js +1 -1
  706. package/dist/esm-es5/calcite.js +1 -1
  707. package/dist/esm-es5/dom-b369a031.js +1 -0
  708. package/dist/esm-es5/{index-1554a132.js → index-f8f0bea7.js} +0 -0
  709. package/dist/esm-es5/label-7b249c54.js +1 -0
  710. package/dist/esm-es5/loader.js +1 -1
  711. package/dist/esm-es5/observers-c93d4fe5.js +1 -0
  712. package/dist/esm-es5/popper-2757192a.js +1 -0
  713. package/dist/esm-es5/resources-28d71943.js +1 -0
  714. package/dist/esm-es5/resources-c651d73a.js +1 -0
  715. package/dist/extras/docs-json.json +753 -455
  716. package/dist/loader/index.d.ts +0 -1
  717. package/dist/types/components/calcite-accordion/calcite-accordion.d.ts +3 -0
  718. package/dist/types/components/calcite-accordion-item/calcite-accordion-item.d.ts +4 -0
  719. package/dist/types/components/calcite-action/calcite-action.d.ts +3 -2
  720. package/dist/types/components/calcite-action-bar/calcite-action-bar.d.ts +11 -6
  721. package/dist/types/components/calcite-action-bar/utils.d.ts +1 -0
  722. package/dist/types/components/calcite-action-menu/calcite-action-menu.d.ts +1 -0
  723. package/dist/types/components/calcite-action-pad/calcite-action-pad.d.ts +1 -0
  724. package/dist/types/components/calcite-alert/calcite-alert.d.ts +1 -1
  725. package/dist/types/components/calcite-block/calcite-block.d.ts +1 -1
  726. package/dist/types/components/calcite-block-section/calcite-block-section.d.ts +1 -3
  727. package/dist/types/components/calcite-button/calcite-button.d.ts +14 -7
  728. package/dist/types/components/calcite-card/calcite-card.d.ts +1 -1
  729. package/dist/types/components/calcite-checkbox/calcite-checkbox.d.ts +19 -9
  730. package/dist/types/components/calcite-chip/calcite-chip.d.ts +6 -3
  731. package/dist/types/components/calcite-color-picker/calcite-color-picker.d.ts +1 -0
  732. package/dist/types/components/calcite-combobox/calcite-combobox.d.ts +11 -4
  733. package/dist/types/components/calcite-combobox-item/calcite-combobox-item.d.ts +3 -0
  734. package/dist/types/components/calcite-combobox-item-group/calcite-combobox-item-group.d.ts +3 -0
  735. package/dist/types/components/calcite-date-picker/calcite-date-picker.d.ts +2 -2
  736. package/dist/types/components/calcite-date-picker-day/calcite-date-picker-day.d.ts +1 -0
  737. package/dist/types/components/calcite-date-picker-month/calcite-date-picker-month.d.ts +3 -1
  738. package/dist/types/components/calcite-dropdown/calcite-dropdown.d.ts +7 -1
  739. package/dist/types/components/calcite-dropdown/resources.d.ts +3 -0
  740. package/dist/types/components/calcite-dropdown-group/calcite-dropdown-group.d.ts +3 -0
  741. package/dist/types/components/calcite-dropdown-item/calcite-dropdown-item.d.ts +5 -1
  742. package/dist/types/components/calcite-fab/calcite-fab.d.ts +1 -0
  743. package/dist/types/components/calcite-filter/calcite-filter.d.ts +3 -5
  744. package/dist/types/components/calcite-flow/calcite-flow.d.ts +1 -1
  745. package/dist/types/components/calcite-handle/calcite-handle.d.ts +1 -0
  746. package/dist/types/components/calcite-inline-editable/calcite-inline-editable.d.ts +8 -3
  747. package/dist/types/components/calcite-input/calcite-input.d.ts +8 -5
  748. package/dist/types/components/calcite-input-date-picker/calcite-input-date-picker.d.ts +13 -12
  749. package/dist/types/components/calcite-input-message/calcite-input-message.d.ts +4 -0
  750. package/dist/types/components/calcite-input-time-picker/calcite-input-time-picker.d.ts +8 -6
  751. package/dist/types/components/calcite-label/calcite-label.d.ts +10 -7
  752. package/dist/types/components/calcite-label/resources.d.ts +3 -0
  753. package/dist/types/components/calcite-link/calcite-link.d.ts +3 -2
  754. package/dist/types/components/calcite-list-item/calcite-list-item.d.ts +2 -2
  755. package/dist/types/components/calcite-loader/calcite-loader.d.ts +1 -1
  756. package/dist/types/components/calcite-modal/calcite-modal.d.ts +5 -5
  757. package/dist/types/components/calcite-notice/calcite-notice.d.ts +2 -2
  758. package/dist/types/components/calcite-option-group/calcite-option-group.d.ts +3 -0
  759. package/dist/types/components/calcite-pagination/calcite-pagination.d.ts +2 -2
  760. package/dist/types/components/calcite-panel/calcite-panel.d.ts +9 -7
  761. package/dist/types/components/calcite-pick-list/calcite-pick-list.d.ts +3 -1
  762. package/dist/types/components/calcite-pick-list-item/calcite-pick-list-item.d.ts +2 -1
  763. package/dist/types/components/calcite-popover/calcite-popover.d.ts +6 -0
  764. package/dist/types/components/calcite-popover-manager/calcite-popover-manager.d.ts +1 -1
  765. package/dist/types/components/calcite-radio/calcite-radio.d.ts +3 -3
  766. package/dist/types/components/calcite-radio-button/calcite-radio-button.d.ts +18 -7
  767. package/dist/types/components/calcite-radio-button-group/calcite-radio-button-group.d.ts +4 -1
  768. package/dist/types/components/calcite-radio-group/calcite-radio-group.d.ts +11 -5
  769. package/dist/types/components/calcite-radio-group-item/calcite-radio-group-item.d.ts +1 -2
  770. package/dist/types/components/calcite-rating/calcite-rating.d.ts +7 -2
  771. package/dist/types/components/calcite-scrim/calcite-scrim.d.ts +3 -0
  772. package/dist/types/components/calcite-select/calcite-select.d.ts +9 -4
  773. package/dist/types/components/calcite-shell/calcite-shell.d.ts +3 -3
  774. package/dist/types/components/calcite-shell-center-row/calcite-shell-center-row.d.ts +1 -1
  775. package/dist/types/components/calcite-shell-panel/calcite-shell-panel.d.ts +1 -1
  776. package/dist/types/components/calcite-slider/calcite-slider.d.ts +36 -9
  777. package/dist/types/components/calcite-sortable-list/calcite-sortable-list.d.ts +7 -2
  778. package/dist/types/components/calcite-sortable-list/resources.d.ts +3 -0
  779. package/dist/types/components/calcite-split-button/calcite-split-button.d.ts +6 -3
  780. package/dist/types/components/calcite-stepper/calcite-stepper.d.ts +3 -0
  781. package/dist/types/components/calcite-stepper-item/calcite-stepper-item.d.ts +3 -0
  782. package/dist/types/components/calcite-switch/calcite-switch.d.ts +19 -7
  783. package/dist/types/components/calcite-tab/calcite-tab.d.ts +3 -0
  784. package/dist/types/components/calcite-tab-nav/calcite-tab-nav.d.ts +4 -1
  785. package/dist/types/components/calcite-tab-title/calcite-tab-title.d.ts +6 -3
  786. package/dist/types/components/calcite-tabs/calcite-tabs.d.ts +3 -2
  787. package/dist/types/components/calcite-tile/calcite-tile.d.ts +2 -2
  788. package/dist/types/components/calcite-tile-select/calcite-tile-select.d.ts +14 -5
  789. package/dist/types/components/calcite-tile-select-group/calcite-tile-select-group.d.ts +3 -0
  790. package/dist/types/components/calcite-time-picker/calcite-time-picker.d.ts +1 -0
  791. package/dist/types/components/calcite-tip/calcite-tip.d.ts +2 -1
  792. package/dist/types/components/calcite-tip-group/calcite-tip-group.d.ts +3 -0
  793. package/dist/types/components/calcite-tip-manager/calcite-tip-manager.d.ts +3 -1
  794. package/dist/types/components/calcite-tooltip/calcite-tooltip.d.ts +4 -0
  795. package/dist/types/components/calcite-tree/calcite-tree.d.ts +1 -1
  796. package/dist/types/components/calcite-tree-item/calcite-tree-item.d.ts +6 -0
  797. package/dist/types/components/calcite-tree-item/resources.d.ts +4 -0
  798. package/dist/types/components/calcite-value-list/calcite-value-list.d.ts +4 -2
  799. package/dist/types/components/calcite-value-list-item/calcite-value-list-item.d.ts +5 -0
  800. package/dist/types/components/interfaces.d.ts +1 -0
  801. package/dist/types/components.d.ts +272 -117
  802. package/dist/types/preact.d.ts +14 -9
  803. package/dist/types/stencil-public-runtime.d.ts +1 -0
  804. package/dist/types/utils/date.d.ts +5 -0
  805. package/dist/types/utils/dom.d.ts +0 -1
  806. package/dist/types/utils/label.d.ts +30 -0
  807. package/dist/types/utils/observers.d.ts +13 -0
  808. package/dist/types/utils/resources.d.ts +7 -0
  809. package/hydrate/index.js +6169 -5795
  810. package/package.json +32 -33
  811. package/readme.md +6 -4
  812. package/CHANGELOG.md +0 -1384
  813. package/dist/calcite/assets/calcite-icon/checkSquareF16.json +0 -1
  814. package/dist/calcite/assets/calcite-icon/checkSquareF24.json +0 -1
  815. package/dist/calcite/assets/calcite-icon/checkSquareF32.json +0 -1
  816. package/dist/calcite/assets/calcite-icon/lineSolid4.json +0 -1
  817. package/dist/calcite/assets/calcite-icon/squareF16.json +0 -1
  818. package/dist/calcite/assets/calcite-icon/squareF24.json +0 -1
  819. package/dist/calcite/assets/calcite-icon/squareF32.json +0 -1
  820. package/dist/calcite/assets/calcite-icon/xHexagon16.json +0 -1
  821. package/dist/calcite/assets/calcite-icon/xHexagon24.json +0 -1
  822. package/dist/calcite/assets/calcite-icon/xHexagon32.json +0 -1
  823. package/dist/calcite/assets/calcite-icon/xHexagonF16.json +0 -1
  824. package/dist/calcite/assets/calcite-icon/xHexagonF24.json +0 -1
  825. package/dist/calcite/assets/calcite-icon/xHexagonF32.json +0 -1
  826. package/dist/calcite/assets/calcite-icon/xOctagonF16.json +0 -1
  827. package/dist/calcite/assets/calcite-icon/xOctagonF24.json +0 -1
  828. package/dist/calcite/assets/calcite-icon/xOctagonF32.json +0 -1
  829. package/dist/calcite/p-00483db2.entry.js +0 -1
  830. package/dist/calcite/p-026e5d0c.system.entry.js +0 -1
  831. package/dist/calcite/p-02d538d1.entry.js +0 -1
  832. package/dist/calcite/p-047a81a3.system.entry.js +0 -1
  833. package/dist/calcite/p-05b94f96.system.entry.js +0 -1
  834. package/dist/calcite/p-08c520ab.entry.js +0 -1
  835. package/dist/calcite/p-0db1b60a.entry.js +0 -1
  836. package/dist/calcite/p-0fb670d4.entry.js +0 -1
  837. package/dist/calcite/p-10f7294b.entry.js +0 -1
  838. package/dist/calcite/p-13ef1b53.system.js +0 -1
  839. package/dist/calcite/p-14928bee.entry.js +0 -1
  840. package/dist/calcite/p-150bb224.entry.js +0 -1
  841. package/dist/calcite/p-16b4f190.entry.js +0 -1
  842. package/dist/calcite/p-1898df81.entry.js +0 -1
  843. package/dist/calcite/p-1a106eeb.system.js +0 -1
  844. package/dist/calcite/p-203a6353.system.entry.js +0 -1
  845. package/dist/calcite/p-245028cc.entry.js +0 -1
  846. package/dist/calcite/p-27c361d6.system.entry.js +0 -1
  847. package/dist/calcite/p-2b637119.entry.js +0 -1
  848. package/dist/calcite/p-2ef13248.system.entry.js +0 -1
  849. package/dist/calcite/p-3201ae19.system.entry.js +0 -1
  850. package/dist/calcite/p-32a36f7a.system.entry.js +0 -1
  851. package/dist/calcite/p-33a9757a.system.entry.js +0 -1
  852. package/dist/calcite/p-34ca7837.entry.js +0 -1
  853. package/dist/calcite/p-34f29ea4.system.entry.js +0 -1
  854. package/dist/calcite/p-34fb1f25.entry.js +0 -1
  855. package/dist/calcite/p-35808614.entry.js +0 -1
  856. package/dist/calcite/p-3673cde7.system.entry.js +0 -1
  857. package/dist/calcite/p-3a65f811.entry.js +0 -1
  858. package/dist/calcite/p-3be4b9aa.entry.js +0 -1
  859. package/dist/calcite/p-3cafd8b4.system.entry.js +0 -1
  860. package/dist/calcite/p-42da7fef.entry.js +0 -1
  861. package/dist/calcite/p-43012e6b.entry.js +0 -1
  862. package/dist/calcite/p-44334c0c.entry.js +0 -1
  863. package/dist/calcite/p-4a26a904.entry.js +0 -1
  864. package/dist/calcite/p-4be58665.entry.js +0 -1
  865. package/dist/calcite/p-4f499010.system.entry.js +0 -1
  866. package/dist/calcite/p-4fbdd4ed.system.entry.js +0 -1
  867. package/dist/calcite/p-50e479d9.entry.js +0 -1
  868. package/dist/calcite/p-526c2f38.entry.js +0 -1
  869. package/dist/calcite/p-5299b13b.entry.js +0 -1
  870. package/dist/calcite/p-5375184d.system.entry.js +0 -1
  871. package/dist/calcite/p-585030e9.entry.js +0 -1
  872. package/dist/calcite/p-586505c4.system.entry.js +0 -1
  873. package/dist/calcite/p-5890d56b.system.js +0 -1
  874. package/dist/calcite/p-58d7d786.entry.js +0 -1
  875. package/dist/calcite/p-5923992e.js +0 -1
  876. package/dist/calcite/p-6105dfb5.system.entry.js +0 -1
  877. package/dist/calcite/p-61ef4e27.entry.js +0 -1
  878. package/dist/calcite/p-6386710d.entry.js +0 -1
  879. package/dist/calcite/p-64f42357.system.js +0 -1
  880. package/dist/calcite/p-6653b14e.entry.js +0 -1
  881. package/dist/calcite/p-66c45300.entry.js +0 -1
  882. package/dist/calcite/p-6c65d998.entry.js +0 -1
  883. package/dist/calcite/p-6e967236.system.entry.js +0 -1
  884. package/dist/calcite/p-706789ab.entry.js +0 -1
  885. package/dist/calcite/p-72d6bba0.entry.js +0 -1
  886. package/dist/calcite/p-74c79844.system.entry.js +0 -1
  887. package/dist/calcite/p-74f6edf8.system.entry.js +0 -1
  888. package/dist/calcite/p-79783728.entry.js +0 -1
  889. package/dist/calcite/p-83c7204d.system.entry.js +0 -1
  890. package/dist/calcite/p-84febadc.system.entry.js +0 -1
  891. package/dist/calcite/p-87524717.entry.js +0 -1
  892. package/dist/calcite/p-8782aa79.entry.js +0 -1
  893. package/dist/calcite/p-8acc47be.system.entry.js +0 -1
  894. package/dist/calcite/p-94ab12bc.entry.js +0 -1
  895. package/dist/calcite/p-9533d655.entry.js +0 -1
  896. package/dist/calcite/p-96deb83e.entry.js +0 -1
  897. package/dist/calcite/p-9ba36e44.entry.js +0 -1
  898. package/dist/calcite/p-9d316477.system.entry.js +0 -1
  899. package/dist/calcite/p-a17fdd4d.system.entry.js +0 -1
  900. package/dist/calcite/p-a460e3dc.entry.js +0 -1
  901. package/dist/calcite/p-a7a7301d.system.js +0 -1
  902. package/dist/calcite/p-a9dc52c5.system.entry.js +0 -1
  903. package/dist/calcite/p-aac1ce8a.system.entry.js +0 -1
  904. package/dist/calcite/p-ac49579e.entry.js +0 -1
  905. package/dist/calcite/p-ae2a0fdc.entry.js +0 -1
  906. package/dist/calcite/p-bb8ace16.js +0 -1
  907. package/dist/calcite/p-bd9a1bcb.system.entry.js +0 -1
  908. package/dist/calcite/p-d06342ab.entry.js +0 -1
  909. package/dist/calcite/p-d06530e0.js +0 -1
  910. package/dist/calcite/p-d0f23a93.entry.js +0 -1
  911. package/dist/calcite/p-d54b30f0.js +0 -1
  912. package/dist/calcite/p-d5bd3f04.entry.js +0 -1
  913. package/dist/calcite/p-d716f0ee.system.entry.js +0 -1
  914. package/dist/calcite/p-d7b7568e.entry.js +0 -1
  915. package/dist/calcite/p-d7cbb59a.system.entry.js +0 -1
  916. package/dist/calcite/p-d81e8789.system.entry.js +0 -1
  917. package/dist/calcite/p-dbf798b1.system.entry.js +0 -1
  918. package/dist/calcite/p-e14d8072.entry.js +0 -1
  919. package/dist/calcite/p-e220ebdc.system.js +0 -1
  920. package/dist/calcite/p-ea8a5460.entry.js +0 -1
  921. package/dist/calcite/p-eaf3e528.entry.js +0 -1
  922. package/dist/calcite/p-ec7b5fc8.entry.js +0 -1
  923. package/dist/calcite/p-ed1489e0.entry.js +0 -1
  924. package/dist/calcite/p-eeb197c7.entry.js +0 -1
  925. package/dist/calcite/p-f31eea01.system.entry.js +0 -1
  926. package/dist/calcite/p-f6d07921.entry.js +0 -1
  927. package/dist/calcite/p-f9775a9d.entry.js +0 -1
  928. package/dist/calcite/p-f9f26b76.system.entry.js +0 -1
  929. package/dist/calcite/p-fd59e605.system.entry.js +0 -1
  930. package/dist/calcite/p-ff47c7f0.entry.js +0 -1
  931. package/dist/collection/components/calcite-icon/assets/calcite-icon/checkSquareF16.json +0 -1
  932. package/dist/collection/components/calcite-icon/assets/calcite-icon/checkSquareF24.json +0 -1
  933. package/dist/collection/components/calcite-icon/assets/calcite-icon/checkSquareF32.json +0 -1
  934. package/dist/collection/components/calcite-icon/assets/calcite-icon/lineSolid4.json +0 -1
  935. package/dist/collection/components/calcite-icon/assets/calcite-icon/squareF16.json +0 -1
  936. package/dist/collection/components/calcite-icon/assets/calcite-icon/squareF24.json +0 -1
  937. package/dist/collection/components/calcite-icon/assets/calcite-icon/squareF32.json +0 -1
  938. package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagon16.json +0 -1
  939. package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagon24.json +0 -1
  940. package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagon32.json +0 -1
  941. package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagonF16.json +0 -1
  942. package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagonF24.json +0 -1
  943. package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagonF32.json +0 -1
  944. package/dist/collection/components/calcite-icon/assets/calcite-icon/xOctagonF16.json +0 -1
  945. package/dist/collection/components/calcite-icon/assets/calcite-icon/xOctagonF24.json +0 -1
  946. package/dist/collection/components/calcite-icon/assets/calcite-icon/xOctagonF32.json +0 -1
  947. package/dist/collection/components/calcite-test/interfaces.js +0 -1
  948. package/dist/collection/components/functional/CalciteContentArea.js +0 -54
  949. package/dist/collection/demos/_assets/demo-form.js +0 -23
  950. package/dist/collection/demos/_assets/demo-spacer.js +0 -17
  951. package/dist/collection/demos/_assets/demo-template.js +0 -13
  952. package/dist/collection/demos/_assets/demoPageReloader.js +0 -10
  953. package/dist/collection/demos/_assets/head.js +0 -51
  954. package/dist/collection/demos/_assets/loadingButton.js +0 -5
  955. package/dist/collection/demos/_assets/locales.js +0 -50
  956. package/dist/collection/demos/_assets/toggleBodyTheme.js +0 -13
  957. package/dist/collection/demos/_assets/toggles.js +0 -50
  958. package/dist/collection/demos/_assets/validateInput.js +0 -111
  959. package/dist/esm-es5/CalciteExpandToggle-476279ee.js +0 -1
  960. package/dist/esm-es5/dom-0b02c0cf.js +0 -1
  961. package/dist/esm-es5/popper-58fae6b8.js +0 -1
  962. package/dist/esm-es5/resources-1a6ba3ca.js +0 -1
  963. package/dist/esm-es5/resources-91bd199f.js +0 -1
  964. package/dist/types/components/calcite-label/interfaces.d.ts +0 -5
  965. package/dist/types/components/functional/CalciteContentArea.d.ts +0 -15
@@ -1 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,a,i){function n(t){return t instanceof a?t:new a((function(e){e(t)}))}return new(a||(a=Promise))((function(a,r){function o(t){try{c(i.next(t))}catch(t){r(t)}}function s(t){try{c(i["throw"](t))}catch(t){r(t)}}function c(t){t.done?a(t.value):n(t.value).then(o,s)}c((i=i.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var a={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},i,n,r,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(t){return function(e){return c([t,e])}}function c(o){if(i)throw new TypeError("Generator is already executing.");while(a)try{if(i=1,n&&(r=o[0]&2?n["return"]:o[0]?n["throw"]||((r=n["return"])&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;if(n=0,r)o=[o[0]&2,r.value];switch(o[0]){case 0:case 1:r=o;break;case 4:a.label++;return{value:o[1],done:false};case 5:a.label++;n=o[1];o=[0];continue;case 7:o=a.ops.pop();a.trys.pop();continue;default:if(!(r=a.trys,r=r.length>0&&r[r.length-1])&&(o[0]===6||o[0]===2)){a=0;continue}if(o[0]===3&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(o[0]===6&&a.label<r[1]){a.label=r[1];r=o;break}if(r&&a.label<r[2]){a.label=r[2];a.ops.push(o);break}if(r[2])a.ops.pop();a.trys.pop();continue}o=e.call(t,a)}catch(t){o=[6,t];n=0}finally{i=r=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};System.register(["./p-3c9923f1.system.js","./p-1a106eeb.system.js","./p-a7a7301d.system.js","./p-95dfb659.system.js","./p-e220ebdc.system.js","./p-5a1b0338.system.js","./p-dda58d1e.system.js","./p-2c235db8.system.js"],(function(t){"use strict";var e,a,i,n,r,o,s,c,l,p,u,h,d,f,m,v,y;return{setters:[function(t){e=t.r;a=t.c;i=t.h;n=t.H;r=t.g},function(t){o=t.T;s=t.d;c=t.a;l=t.g;p=t.s;u=t.p;h=t.i},function(t){d=t.g},function(t){f=t.g},function(t){m=t.u;v=t.C;y=t.c},function(){},function(){},function(){}],execute:function(){var g="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:host{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{-webkit-box-shadow:none;box-shadow:none;display:inline-block;vertical-align:top;width:100%;position:relative;overflow:visible}:host .menu-container .calcite-popper-anim{position:relative;z-index:1;-webkit-transition:var(--calcite-popper-transition);transition:var(--calcite-popper-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);border-radius:0.25rem}:host .menu-container[data-popper-placement^=bottom] .calcite-popper-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}:host .menu-container[data-popper-placement^=top] .calcite-popper-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}:host .menu-container[data-popper-placement^=left] .calcite-popper-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}:host .menu-container[data-popper-placement^=right] .calcite-popper-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}:host .menu-container[data-popper-placement] .calcite-popper-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}.calendar-picker-wrapper{-webkit-box-shadow:none;box-shadow:none;position:static;width:100%;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.input-wrapper{position:relative}:host([range]) .input-container{display:-ms-flexbox;display:flex}:host([range]) .input-wrapper{-ms-flex:1 1 auto;flex:1 1 auto}:host([range]) .horizontal-arrow-container{background-color:var(--calcite-ui-background);padding-top:0;padding-bottom:0;padding-left:0.25rem;padding-right:0.25rem;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);border-left-width:0;border-right-width:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host([range][layout=vertical]) .input-wrapper{width:100%}:host([range][layout=vertical]) .input-container{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start}:host([range][layout=vertical]) .calendar-picker-wrapper--end{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}:host([range][layout=vertical]) .vertical-arrow-container{top:1.5rem;left:0;padding-left:0.625rem;padding-right:0.625rem;margin-left:1px;margin-right:1px;position:absolute;z-index:10;background-color:var(--calcite-ui-foreground-1)}:host([scale=s][range]:not([layout=vertical])) .calendar-picker-wrapper{width:216px}:host([scale=m][range]:not([layout=vertical])) .calendar-picker-wrapper{width:286px}:host([scale=l][range]:not([layout=vertical])) .calendar-picker-wrapper{width:398px}.menu-container{display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0);visibility:hidden;pointer-events:none}:host([active]) .menu-container{visibility:visible;pointer-events:auto}.input .calcite-input__wrapper{margin-top:0}:host([range][layout=vertical][scale=m]) .vertical-arrow-container{top:1.5rem;padding-left:0.75rem}:host([range][layout=vertical][scale=m]) .vertical-arrow-container calcite-icon{width:0.75rem;height:0.75rem;min-width:0}:host([range][layout=vertical][scale=l]) .vertical-arrow-container{top:2.25rem;padding-left:0.875rem;padding-right:0.875rem}:host([range][layout=vertical][active]) .vertical-arrow-container{display:none}";var b="bottom-leading";var D=t("calcite_input_date_picker",function(){function t(t){var i=this;e(this,t);this.calciteDatePickerChange=a(this,"calciteDatePickerChange",7);this.calciteDatePickerRangeChange=a(this,"calciteDatePickerRangeChange",7);this.calciteInputDatePickerOpen=a(this,"calciteInputDatePickerOpen",7);this.calciteInputDatePickerClose=a(this,"calciteInputDatePickerClose",7);this.active=false;this.intlPrevMonth=o.prevMonth;this.intlNextMonth=o.nextMonth;this.locale=document.documentElement.lang||"en";this.scale="m";this.range=false;this.overlayPositioning="absolute";this.proximitySelectionDisabled=false;this.layout="horizontal";this.focusedInput="start";this.activeTransitionProp="opacity";this.transitionEnd=function(t){if(t.propertyName===i.activeTransitionProp){i.active?i.calciteInputDatePickerOpen.emit():i.calciteInputDatePickerClose.emit()}};this.setEndInput=function(t){i.endInput=t};this.deactivate=function(){i.active=false};this.keyUpHandler=function(t){if(f(t.key)==="Escape"){i.active=false}};this.inputBlur=function(t){i.blur(t.detail)};this.startInputFocus=function(){i.active=true;i.focusedInput="start"};this.endInputFocus=function(){i.active=true;i.focusedInput="end"};this.inputInput=function(t){i.input(t.detail.value)};this.setMenuEl=function(t){if(t){i.menuEl=t;i.createPopper()}};this.setStartWrapper=function(t){i.startWrapper=t;i.setReferenceEl()};this.setEndWrapper=function(t){i.endWrapper=t;i.setReferenceEl()};this.handleDateChange=function(t){if(i.range){return}i.valueAsDate=t.detail};this.focusInputEnd=function(){var t;(t=i.endInput)===null||t===void 0?void 0:t.setFocus();i.el.removeEventListener("calciteInputDatePickerOpen",i.focusInputEnd)};this.handleDateRangeChange=function(t){if(!i.range||!t.detail){return}var e=t.detail,a=e.startDate,n=e.endDate;i.startAsDate=a;i.endAsDate=n;if(i.shouldFocusRangeEnd()){i.focusInputEnd()}}}t.prototype.activeHandler=function(){this.reposition()};t.prototype.calciteDaySelectHandler=function(){if(this.shouldFocusRangeEnd()){return}this.active=false};t.prototype.reposition=function(){return __awaiter(this,void 0,void 0,(function(){var t,e,a,i;return __generator(this,(function(n){t=this,e=t.popper,a=t.menuEl;i=this.getModifiers();e?m({el:a,modifiers:i,placement:b,popper:e}):this.createPopper();return[2]}))}))};t.prototype.connectedCallback=function(){if(this.value){this.valueAsDate=s(this.value)}if(this.start){this.setStartAsDate(s(this.start))}if(this.end){this.setEndAsDate(s(this.end))}if(this.min){this.minAsDate=s(this.min)}if(this.max){this.maxAsDate=s(this.max)}this.createPopper()};t.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:return[4,this.loadLocaleData()];case 1:t.sent();return[2]}}))}))};t.prototype.disconnectedCallback=function(){this.destroyPopper()};t.prototype.render=function(){var t;var e,a;var r=c(this.range?this.startAsDate:this.valueAsDate,this.minAsDate,this.maxAsDate);var o=this.range?c(this.endAsDate,this.minAsDate,this.maxAsDate):null;var s=o?o.toLocaleDateString(this.locale):"";var l=r?r.toLocaleDateString(this.locale):"";var p=d(this.el);return i(n,{onBlur:this.deactivate,onKeyUp:this.keyUpHandler,role:"application"},this.localeData&&i("div",{"aria-expanded":this.active.toString(),class:"input-container",dir:p,role:"application"},i("div",{class:"input-wrapper",ref:this.setStartWrapper},i("calcite-input",{class:"input "+(this.layout==="vertical"&&this.range?"no-bottom-border":""),icon:"calendar","number-button-type":"none",onCalciteInputBlur:this.inputBlur,onCalciteInputFocus:this.startInputFocus,onCalciteInputInput:this.inputInput,placeholder:(e=this.localeData)===null||e===void 0?void 0:e.placeholder,scale:this.scale,type:"text",value:l})),i("div",{"aria-hidden":(!this.active).toString(),class:"menu-container",ref:this.setMenuEl},i("div",{class:(t={},t["calendar-picker-wrapper"]=true,t["calendar-picker-wrapper--end"]=this.focusedInput==="end",t[v.animation]=true,t[v.animationActive]=this.active,t),onTransitionEnd:this.transitionEnd},i("calcite-date-picker",{activeRange:this.focusedInput,endAsDate:this.endAsDate,headingLevel:this.headingLevel,intlNextMonth:this.intlNextMonth,intlPrevMonth:this.intlPrevMonth,locale:this.locale,max:this.max,maxAsDate:this.maxAsDate,min:this.min,minAsDate:this.minAsDate,onCalciteDatePickerChange:this.handleDateChange,onCalciteDatePickerRangeChange:this.handleDateRangeChange,proximitySelectionDisabled:this.proximitySelectionDisabled,range:this.range,scale:this.scale,startAsDate:this.startAsDate,tabIndex:0,valueAsDate:this.valueAsDate}))),this.range&&this.layout==="horizontal"&&i("div",{class:"horizontal-arrow-container"},i("calcite-icon",{flipRtl:true,icon:"arrow-right",scale:"s"})),this.range&&this.layout==="vertical"&&this.scale!=="s"&&i("div",{class:"vertical-arrow-container"},i("calcite-icon",{icon:"arrow-down",scale:"s"})),this.range&&i("div",{class:"input-wrapper",ref:this.setEndWrapper},i("calcite-input",{class:{input:true,"border-t-color-1":this.layout==="vertical"&&this.range},icon:"calendar","number-button-type":"none",onCalciteInputBlur:this.inputBlur,onCalciteInputFocus:this.endInputFocus,onCalciteInputInput:this.inputInput,placeholder:(a=this.localeData)===null||a===void 0?void 0:a.placeholder,ref:this.setEndInput,scale:this.scale,type:"text",value:s}))))};t.prototype.setReferenceEl=function(){var t=this,e=t.focusedInput,a=t.layout,i=t.endWrapper,n=t.startWrapper;this.referenceEl=e==="end"||a==="vertical"?i||n:n||i;this.createPopper()};t.prototype.getModifiers=function(){var t={name:"flip",enabled:true};t.options={fallbackPlacements:["top-start","top","top-end","bottom-start","bottom","bottom-end"]};return[t]};t.prototype.createPopper=function(){this.destroyPopper();var t=this,e=t.menuEl,a=t.referenceEl,i=t.overlayPositioning;if(!e||!a){return}var n=this.getModifiers();this.popper=y({el:e,modifiers:n,overlayPositioning:i,placement:b,referenceEl:a})};t.prototype.destroyPopper=function(){var t=this.popper;if(t){t.destroy()}this.popper=null};t.prototype.valueWatcher=function(t){this.valueAsDate=s(t)};t.prototype.startWatcher=function(t){this.setStartAsDate(s(t))};t.prototype.endWatcher=function(t){this.setEndAsDate(s(t))};t.prototype.loadLocaleData=function(){return __awaiter(this,void 0,void 0,(function(){var t,e;return __generator(this,(function(a){switch(a.label){case 0:t=this.locale;e=this;return[4,l(t)];case 1:e.localeData=a.sent();return[2]}}))}))};t.prototype.setStartAsDate=function(t){this.startAsDate=t};t.prototype.setEndAsDate=function(t){this.endAsDate=t};t.prototype.input=function(t){var e=this.getDateFromInput(t);if(e){if(!this.range){this.valueAsDate=e}else{var a=false;if(this.focusedInput==="start"){a=!this.startAsDate||!p(e,this.startAsDate);if(a){this.startAsDate=e;this.calciteDatePickerRangeChange.emit({startDate:e,endDate:this.endAsDate})}}else if(this.focusedInput==="end"){a=!this.endAsDate||!p(e,this.endAsDate);if(a){this.endAsDate=e;this.calciteDatePickerRangeChange.emit({startDate:this.startAsDate,endDate:e})}}}}};t.prototype.blur=function(t){var e=this,a=e.locale,i=e.focusedInput,n=e.endAsDate,r=e.range,o=e.startAsDate,s=e.valueAsDate;var c=this.getDateFromInput(t.value);if(!c){if(!r&&s){t.value=s.toLocaleDateString(a)}else if(i==="start"&&o){t.value=o.toLocaleDateString(a)}else if(i==="end"&&n){t.value=n.toLocaleDateString(a)}}};t.prototype.shouldFocusRangeEnd=function(){return!!(this.startAsDate&&!this.endAsDate&&this.focusedInput==="start"&&this.endInput)};t.prototype.getDateFromInput=function(t){if(!this.localeData){return false}var e=this.localeData.separator;var a=u(t,this.localeData),i=a.day,n=a.month,r=a.year;var o=i>0;var s=n>-1;var c=new Date(r,n,i);c.setFullYear(r);var l=!isNaN(c.getTime());var p=t.split(e).filter((function(t){return t})).length>2;var d=r.toString().length>0;if(o&&s&&l&&p&&d&&h(c,this.min,this.max)){return c}return false};Object.defineProperty(t.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{active:["activeHandler"],layout:["setReferenceEl"],focusedInput:["setReferenceEl"],value:["valueWatcher"],start:["startWatcher"],end:["endWatcher"],locale:["loadLocaleData"]}},enumerable:false,configurable:true});return t}());D.style=g}}}));
@@ -1 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,i,n){function a(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,o){function r(t){try{s(n.next(t))}catch(t){o(t)}}function c(t){try{s(n["throw"](t))}catch(t){o(t)}}function s(t){t.done?i(t.value):a(t.value).then(r,c)}s((n=n.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,a,o,r;return r={next:c(0),throw:c(1),return:c(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function c(t){return function(e){return s([t,e])}}function s(r){if(n)throw new TypeError("Generator is already executing.");while(i)try{if(n=1,a&&(o=r[0]&2?a["return"]:r[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,r[1])).done)return o;if(a=0,o)r=[r[0]&2,o.value];switch(r[0]){case 0:case 1:o=r;break;case 4:i.label++;return{value:r[1],done:false};case 5:i.label++;a=r[1];r=[0];continue;case 7:r=i.ops.pop();i.trys.pop();continue;default:if(!(o=i.trys,o=o.length>0&&o[o.length-1])&&(r[0]===6||r[0]===2)){i=0;continue}if(r[0]===3&&(!o||r[1]>o[0]&&r[1]<o[3])){i.label=r[1];break}if(r[0]===6&&i.label<o[1]){i.label=o[1];o=r;break}if(o&&i.label<o[2]){i.label=o[2];i.ops.push(r);break}if(o[2])i.ops.pop();i.trys.pop();continue}r=e.call(t,i)}catch(t){r=[6,t];a=0}finally{n=o=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:true}}};System.register(["./p-3c9923f1.system.js","./p-a7a7301d.system.js","./p-2c235db8.system.js"],(function(t){"use strict";var e,i,n,a,o,r;return{setters:[function(t){e=t.r;i=t.h;n=t.g},function(t){a=t.g;o=t.C},function(t){r=t.g}],execute:function(){var c="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}.root{background-color:var(--calcite-ui-foreground-1);-webkit-box-shadow:0 0 0 1px var(--calcite-ui-border-2);box-shadow:0 0 0 1px var(--calcite-ui-border-2);-webkit-box-sizing:border-box;box-sizing:border-box;cursor:pointer;display:inline-block;height:100%;max-width:300px;padding:0.75rem;position:relative;-webkit-transition:150ms ease-in-out;transition:150ms ease-in-out;vertical-align:top;z-index:10}:host{display:block}:host(:hover) .root{z-index:20;-webkit-box-shadow:0 0 0 1px var(--calcite-ui-border-1);box-shadow:0 0 0 1px var(--calcite-ui-border-1)}:host([checked]) .root{z-index:30;-webkit-box-shadow:0 0 0 1px var(--calcite-ui-brand);box-shadow:0 0 0 1px var(--calcite-ui-brand)}.root.focused{z-index:30}:host(:not([input-enabled]):hover) .root{-webkit-box-shadow:0 0 0 1px var(--calcite-ui-brand);box-shadow:0 0 0 1px var(--calcite-ui-brand)}:host(:not([input-enabled])) .root.focused{-webkit-box-shadow:0 0 0 1px var(--calcite-ui-brand), inset 0 0 0 2px var(--calcite-ui-foreground-1), inset 0 0 0 5px var(--calcite-ui-brand);box-shadow:0 0 0 1px var(--calcite-ui-brand), inset 0 0 0 2px var(--calcite-ui-foreground-1), inset 0 0 0 5px var(--calcite-ui-brand)}:host([width=full]) .root{max-width:none;display:-ms-flexbox;display:flex}:host([width=full]) calcite-tile{-ms-flex:1 1 auto;flex:1 1 auto}:host([input-alignment=start][width=full]) calcite-tile{-ms-flex-order:1;order:1;-webkit-margin-start:0.75rem;margin-inline-start:0.75rem}:host(:not([input-enabled])) ::slotted(calcite-checkbox),:host(:not([input-enabled])) ::slotted(calcite-radio-button){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}:host([heading]:not([icon]):not([description])) .root{-ms-flex-align:center;align-items:center}:host([width=auto][input-enabled][input-alignment=start][icon][heading][description]) .root,:host([width=auto][input-enabled][input-alignment=start]:not([icon])[heading]:not([description])) .root{display:inline-grid;grid-gap:0.75rem;grid-template-columns:-webkit-max-content 1fr;grid-template-columns:max-content 1fr}:host([width=auto][input-enabled][input-alignment=start][icon][heading][description]) ::slotted(calcite-checkbox),:host([width=auto][input-enabled][input-alignment=start][icon][heading][description]) ::slotted(calcite-radio-button),:host([width=auto][input-enabled][input-alignment=start]:not([icon])[heading]:not([description])) ::slotted(calcite-checkbox),:host([width=auto][input-enabled][input-alignment=start]:not([icon])[heading]:not([description])) ::slotted(calcite-radio-button){-ms-flex-order:0;order:0}:host([width=auto][input-enabled][input-alignment=start][icon][heading][description]) calcite-tile,:host([width=auto][input-enabled][input-alignment=start]:not([icon])[heading]:not([description])) calcite-tile{-ms-flex-order:1;order:1}:host([input-enabled][input-alignment=start][icon][heading]:not([description])) ::slotted(calcite-checkbox),:host([input-enabled][input-alignment=start][icon][heading]:not([description])) ::slotted(calcite-radio-button){position:absolute;top:0.75rem;left:0.75rem}:host([input-enabled][input-alignment=start][icon][heading]:not([description])) .calcite--rtl ::slotted(calcite-checkbox),:host([input-enabled][input-alignment=start][icon][heading]:not([description])) .calcite--rtl ::slotted(calcite-radio-button){right:0.75rem;left:unset}:host([input-enabled][input-alignment=end][icon][heading]) ::slotted(calcite-checkbox),:host([input-enabled][input-alignment=end][icon][heading]) ::slotted(calcite-radio-button){position:absolute;top:0.75rem;right:0.75rem}:host([input-enabled][input-alignment=end][icon][heading]) .calcite--rtl ::slotted(calcite-checkbox),:host([input-enabled][input-alignment=end][icon][heading]) .calcite--rtl ::slotted(calcite-radio-button){right:unset;left:0.75rem}:host([input-enabled][input-alignment=end][heading]:not([icon]):not([description])) .root{display:inline-grid;grid-gap:0.75rem;grid-template-columns:-webkit-max-content 1fr;grid-template-columns:max-content 1fr}:host([input-enabled][input-alignment=end][heading]:not([icon]):not([description])) ::slotted(calcite-checkbox),:host([input-enabled][input-alignment=end][heading]:not([icon]):not([description])) ::slotted(calcite-radio-button){justify-self:flex-end}:host([hidden]){display:none}:host([disabled]){opacity:var(--calcite-ui-opacity-disabled);pointer-events:none}";var s=t("calcite_tile_select",function(){function t(t){e(this,t);this.checked=false;this.disabled=false;this.hidden=false;this.name="";this.inputEnabled=false;this.inputAlignment="start";this.type="radio";this.width="auto";this.guid="calcite-tile-select-"+r();this.focused=false}t.prototype.checkedChanged=function(t){this.input.checked=t};t.prototype.nameChanged=function(t){this.input.name=t};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.input.setFocus();return[2]}))}))};t.prototype.calciteCheckboxChangeEvent=function(t){var e=t.target;if(e===this.input){this.checked=e.checked}};t.prototype.calciteCheckboxFocusedChangeEvent=function(t){var e=t.target;if(e===this.input){this.focused=t.detail}};t.prototype.calciteRadioButtonCheckedChangeEvent=function(t){var e=t.target;if(e===this.input){this.checked=e.checked}t.stopPropagation()};t.prototype.calciteRadioButtonFocusedChangeEvent=function(t){var e=t.target;if(e===this.input){this.focused=e.focused}};t.prototype.click=function(t){var e=t.target;var i=["calcite-tile","calcite-tile-select"];if(i.includes(e.localName)){this.input.click()}};t.prototype.mouseenter=function(){if(this.input.localName==="calcite-radio-button"){this.input.hovered=true}if(this.input.localName==="calcite-checkbox"){this.input.hovered=true}};t.prototype.mouseleave=function(){if(this.input.localName==="calcite-radio-button"){this.input.hovered=false}if(this.input.localName==="calcite-checkbox"){this.input.hovered=false}};t.prototype.connectedCallback=function(){this.renderInput()};t.prototype.disconnectedCallback=function(){this.input.parentNode.removeChild(this.input)};t.prototype.renderInput=function(){this.input=document.createElement(this.type==="radio"?"calcite-radio-button":"calcite-checkbox");this.input.checked=this.checked;this.input.disabled=this.disabled;this.input.hidden=this.hidden;this.input.id=this.guid;this.input.label=this.heading||this.name||"";if(this.name){this.input.name=this.name}if(this.value){this.input.value=this.value!=null?this.value.toString():""}this.el.insertAdjacentElement("beforeend",this.input)};t.prototype.render=function(){var t;var e=a(this.el);return i("div",{class:(t={focused:this.focused,root:true},t[o.rtl]=e==="rtl",t)},i("calcite-tile",{active:this.checked,description:this.description,embed:true,heading:this.heading,icon:this.icon}),i("slot",null))};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{checked:["checkedChanged"],name:["nameChanged"]}},enumerable:false,configurable:true});return t}());s.style=c;var l="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}:host ::slotted(calcite-tile-select){margin-right:1px;margin-bottom:1px}:host([layout=vertical]){-ms-flex-direction:column;flex-direction:column}";var d=t("calcite_tile_select_group",function(){function t(t){e(this,t);this.layout="horizontal"}t.prototype.render=function(){return i("slot",null)};return t}());d.style=l}}}));
@@ -1 +0,0 @@
1
- import{r as t,c as i,h as a,H as e,g as s}from"./p-263e9c6f.js";import{T as n,d as r,a as o,g as c,s as l,p as h,i as p}from"./p-becd3d35.js";import{g as m}from"./p-c47fe2f9.js";import{g as d}from"./p-cebd4de5.js";import{u,C as f,c as b}from"./p-d54b30f0.js";import"./p-ea51eaaa.js";import"./p-d858b7ab.js";import"./p-a4e6e35b.js";const w=class{constructor(a){t(this,a),this.calciteDatePickerChange=i(this,"calciteDatePickerChange",7),this.calciteDatePickerRangeChange=i(this,"calciteDatePickerRangeChange",7),this.calciteInputDatePickerOpen=i(this,"calciteInputDatePickerOpen",7),this.calciteInputDatePickerClose=i(this,"calciteInputDatePickerClose",7),this.active=!1,this.intlPrevMonth=n.prevMonth,this.intlNextMonth=n.nextMonth,this.locale=document.documentElement.lang||"en",this.scale="m",this.range=!1,this.overlayPositioning="absolute",this.proximitySelectionDisabled=!1,this.layout="horizontal",this.focusedInput="start",this.activeTransitionProp="opacity",this.transitionEnd=t=>{t.propertyName===this.activeTransitionProp&&(this.active?this.calciteInputDatePickerOpen.emit():this.calciteInputDatePickerClose.emit())},this.setEndInput=t=>{this.endInput=t},this.deactivate=()=>{this.active=!1},this.keyUpHandler=t=>{"Escape"===d(t.key)&&(this.active=!1)},this.inputBlur=t=>{this.blur(t.detail)},this.startInputFocus=()=>{this.active=!0,this.focusedInput="start"},this.endInputFocus=()=>{this.active=!0,this.focusedInput="end"},this.inputInput=t=>{this.input(t.detail.value)},this.setMenuEl=t=>{t&&(this.menuEl=t,this.createPopper())},this.setStartWrapper=t=>{this.startWrapper=t,this.setReferenceEl()},this.setEndWrapper=t=>{this.endWrapper=t,this.setReferenceEl()},this.handleDateChange=t=>{this.range||(this.valueAsDate=t.detail)},this.focusInputEnd=()=>{var t;null===(t=this.endInput)||void 0===t||t.setFocus(),this.el.removeEventListener("calciteInputDatePickerOpen",this.focusInputEnd)},this.handleDateRangeChange=t=>{if(!this.range||!t.detail)return;const{startDate:i,endDate:a}=t.detail;this.startAsDate=i,this.endAsDate=a,this.shouldFocusRangeEnd()&&this.focusInputEnd()}}activeHandler(){this.reposition()}calciteDaySelectHandler(){this.shouldFocusRangeEnd()||(this.active=!1)}async reposition(){const{popper:t,menuEl:i}=this,a=this.getModifiers();t?u({el:i,modifiers:a,placement:"bottom-leading",popper:t}):this.createPopper()}connectedCallback(){this.value&&(this.valueAsDate=r(this.value)),this.start&&this.setStartAsDate(r(this.start)),this.end&&this.setEndAsDate(r(this.end)),this.min&&(this.minAsDate=r(this.min)),this.max&&(this.maxAsDate=r(this.max)),this.createPopper()}async componentWillLoad(){await this.loadLocaleData()}disconnectedCallback(){this.destroyPopper()}render(){var t,i;const s=o(this.range?this.startAsDate:this.valueAsDate,this.minAsDate,this.maxAsDate),n=this.range?o(this.endAsDate,this.minAsDate,this.maxAsDate):null,r=n?n.toLocaleDateString(this.locale):"",c=s?s.toLocaleDateString(this.locale):"",l=m(this.el);return a(e,{onBlur:this.deactivate,onKeyUp:this.keyUpHandler,role:"application"},this.localeData&&a("div",{"aria-expanded":this.active.toString(),class:"input-container",dir:l,role:"application"},a("div",{class:"input-wrapper",ref:this.setStartWrapper},a("calcite-input",{class:"input "+("vertical"===this.layout&&this.range?"no-bottom-border":""),icon:"calendar","number-button-type":"none",onCalciteInputBlur:this.inputBlur,onCalciteInputFocus:this.startInputFocus,onCalciteInputInput:this.inputInput,placeholder:null===(t=this.localeData)||void 0===t?void 0:t.placeholder,scale:this.scale,type:"text",value:c})),a("div",{"aria-hidden":(!this.active).toString(),class:"menu-container",ref:this.setMenuEl},a("div",{class:{"calendar-picker-wrapper":!0,"calendar-picker-wrapper--end":"end"===this.focusedInput,[f.animation]:!0,[f.animationActive]:this.active},onTransitionEnd:this.transitionEnd},a("calcite-date-picker",{activeRange:this.focusedInput,endAsDate:this.endAsDate,headingLevel:this.headingLevel,intlNextMonth:this.intlNextMonth,intlPrevMonth:this.intlPrevMonth,locale:this.locale,max:this.max,maxAsDate:this.maxAsDate,min:this.min,minAsDate:this.minAsDate,onCalciteDatePickerChange:this.handleDateChange,onCalciteDatePickerRangeChange:this.handleDateRangeChange,proximitySelectionDisabled:this.proximitySelectionDisabled,range:this.range,scale:this.scale,startAsDate:this.startAsDate,tabIndex:0,valueAsDate:this.valueAsDate}))),this.range&&"horizontal"===this.layout&&a("div",{class:"horizontal-arrow-container"},a("calcite-icon",{flipRtl:!0,icon:"arrow-right",scale:"s"})),this.range&&"vertical"===this.layout&&"s"!==this.scale&&a("div",{class:"vertical-arrow-container"},a("calcite-icon",{icon:"arrow-down",scale:"s"})),this.range&&a("div",{class:"input-wrapper",ref:this.setEndWrapper},a("calcite-input",{class:{input:!0,"border-t-color-1":"vertical"===this.layout&&this.range},icon:"calendar","number-button-type":"none",onCalciteInputBlur:this.inputBlur,onCalciteInputFocus:this.endInputFocus,onCalciteInputInput:this.inputInput,placeholder:null===(i=this.localeData)||void 0===i?void 0:i.placeholder,ref:this.setEndInput,scale:this.scale,type:"text",value:r}))))}setReferenceEl(){const{focusedInput:t,layout:i,endWrapper:a,startWrapper:e}=this;this.referenceEl="end"===t||"vertical"===i?a||e:e||a,this.createPopper()}getModifiers(){return[{name:"flip",enabled:!0,options:{fallbackPlacements:["top-start","top","top-end","bottom-start","bottom","bottom-end"]}}]}createPopper(){this.destroyPopper();const{menuEl:t,referenceEl:i,overlayPositioning:a}=this;if(!t||!i)return;const e=this.getModifiers();this.popper=b({el:t,modifiers:e,overlayPositioning:a,placement:"bottom-leading",referenceEl:i})}destroyPopper(){const{popper:t}=this;t&&t.destroy(),this.popper=null}valueWatcher(t){this.valueAsDate=r(t)}startWatcher(t){this.setStartAsDate(r(t))}endWatcher(t){this.setEndAsDate(r(t))}async loadLocaleData(){const{locale:t}=this;this.localeData=await c(t)}setStartAsDate(t){this.startAsDate=t}setEndAsDate(t){this.endAsDate=t}input(t){const i=this.getDateFromInput(t);if(i)if(this.range){let t=!1;"start"===this.focusedInput?(t=!this.startAsDate||!l(i,this.startAsDate),t&&(this.startAsDate=i,this.calciteDatePickerRangeChange.emit({startDate:i,endDate:this.endAsDate}))):"end"===this.focusedInput&&(t=!this.endAsDate||!l(i,this.endAsDate),t&&(this.endAsDate=i,this.calciteDatePickerRangeChange.emit({startDate:this.startAsDate,endDate:i})))}else this.valueAsDate=i}blur(t){const{locale:i,focusedInput:a,endAsDate:e,range:s,startAsDate:n,valueAsDate:r}=this;this.getDateFromInput(t.value)||(!s&&r?t.value=r.toLocaleDateString(i):"start"===a&&n?t.value=n.toLocaleDateString(i):"end"===a&&e&&(t.value=e.toLocaleDateString(i)))}shouldFocusRangeEnd(){return!(!this.startAsDate||this.endAsDate||"start"!==this.focusedInput||!this.endInput)}getDateFromInput(t){if(!this.localeData)return!1;const{separator:i}=this.localeData,{day:a,month:e,year:s}=h(t,this.localeData),n=a>0,r=e>-1,o=new Date(s,e,a);o.setFullYear(s);const c=!isNaN(o.getTime()),l=t.split(i).filter((t=>t)).length>2,m=s.toString().length>0;return!!(n&&r&&c&&l&&m&&p(o,this.min,this.max))&&o}get el(){return s(this)}static get watchers(){return{active:["activeHandler"],layout:["setReferenceEl"],focusedInput:["setReferenceEl"],value:["valueWatcher"],start:["startWatcher"],end:["endWatcher"],locale:["loadLocaleData"]}}};w.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:host{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{-webkit-box-shadow:none;box-shadow:none;display:inline-block;vertical-align:top;width:100%;position:relative;overflow:visible}:host .menu-container .calcite-popper-anim{position:relative;z-index:1;-webkit-transition:var(--calcite-popper-transition);transition:var(--calcite-popper-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);border-radius:0.25rem}:host .menu-container[data-popper-placement^=bottom] .calcite-popper-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}:host .menu-container[data-popper-placement^=top] .calcite-popper-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}:host .menu-container[data-popper-placement^=left] .calcite-popper-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}:host .menu-container[data-popper-placement^=right] .calcite-popper-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}:host .menu-container[data-popper-placement] .calcite-popper-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}.calendar-picker-wrapper{-webkit-box-shadow:none;box-shadow:none;position:static;width:100%;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.input-wrapper{position:relative}:host([range]) .input-container{display:-ms-flexbox;display:flex}:host([range]) .input-wrapper{-ms-flex:1 1 auto;flex:1 1 auto}:host([range]) .horizontal-arrow-container{background-color:var(--calcite-ui-background);padding-top:0;padding-bottom:0;padding-left:0.25rem;padding-right:0.25rem;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);border-left-width:0;border-right-width:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host([range][layout=vertical]) .input-wrapper{width:100%}:host([range][layout=vertical]) .input-container{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start}:host([range][layout=vertical]) .calendar-picker-wrapper--end{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}:host([range][layout=vertical]) .vertical-arrow-container{top:1.5rem;left:0;padding-left:0.625rem;padding-right:0.625rem;margin-left:1px;margin-right:1px;position:absolute;z-index:10;background-color:var(--calcite-ui-foreground-1)}:host([scale=s][range]:not([layout=vertical])) .calendar-picker-wrapper{width:216px}:host([scale=m][range]:not([layout=vertical])) .calendar-picker-wrapper{width:286px}:host([scale=l][range]:not([layout=vertical])) .calendar-picker-wrapper{width:398px}.menu-container{display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0);visibility:hidden;pointer-events:none}:host([active]) .menu-container{visibility:visible;pointer-events:auto}.input .calcite-input__wrapper{margin-top:0}:host([range][layout=vertical][scale=m]) .vertical-arrow-container{top:1.5rem;padding-left:0.75rem}:host([range][layout=vertical][scale=m]) .vertical-arrow-container calcite-icon{width:0.75rem;height:0.75rem;min-width:0}:host([range][layout=vertical][scale=l]) .vertical-arrow-container{top:2.25rem;padding-left:0.875rem;padding-right:0.875rem}:host([range][layout=vertical][active]) .vertical-arrow-container{display:none}";export{w as calcite_input_date_picker}
@@ -1 +0,0 @@
1
- "M14.071 2H2.93a.929.929 0 0 0-.93.929V14.07a.929.929 0 0 0 .929.929H14.07a.929.929 0 0 0 .929-.929V2.93a.929.929 0 0 0-.928-.93zM7.557 12.451L4.452 9.346l1.02-1.022 2.085 2.09 4.77-4.771 1.02 1.02z"
@@ -1 +0,0 @@
1
- "M20.719 3H4.28A1.281 1.281 0 0 0 3 4.281v16.437A1.282 1.282 0 0 0 4.281 22h16.437A1.282 1.282 0 0 0 22 20.718V4.281A1.281 1.281 0 0 0 20.719 3zM10.502 17.277l-3.79-3.585.92-.918 2.865 2.676 7.027-6.874.92.92z"
@@ -1 +0,0 @@
1
- "M27.198 4h-21.4A1.8 1.8 0 0 0 4 5.798V27.2A1.8 1.8 0 0 0 5.8 29h21.4a1.8 1.8 0 0 0 1.8-1.8V5.798A1.802 1.802 0 0 0 27.198 4zm-13.69 18.291l-4.213-4.01.92-.92 3.288 3.1 10.077-9.924.92.92z"
@@ -1 +0,0 @@
1
- "M2.929 2H14.07a.929.929 0 0 1 .929.929V14.07a.929.929 0 0 1-.929.929H2.93a.929.929 0 0 1-.93-.928V2.93A.929.929 0 0 1 2.929 2z"
@@ -1 +0,0 @@
1
- "M4.281 3h16.437A1.281 1.281 0 0 1 22 4.281v16.437A1.282 1.282 0 0 1 20.718 22H4.282A1.282 1.282 0 0 1 3 20.718V4.281A1.281 1.281 0 0 1 4.281 3z"
@@ -1 +0,0 @@
1
- "M5.798 4h21.404A1.798 1.798 0 0 1 29 5.798V27.2a1.8 1.8 0 0 1-1.8 1.8H5.8A1.8 1.8 0 0 1 4 27.2V5.798A1.798 1.798 0 0 1 5.798 4z"
@@ -1 +0,0 @@
1
- "M11.192 2H5.808L2 5.808v5.384L5.808 15h5.384L15 11.192V5.808zM14 10.778L10.778 14H6.222L3 10.778V6.222L6.222 3h4.556L14 6.222zM8.5 7.793l2.828-2.829.708.708L9.207 8.5l2.829 2.828-.708.708L8.5 9.207l-2.828 2.829-.708-.708L7.793 8.5 4.964 5.672l.708-.708z"
@@ -1 +0,0 @@
1
- "M16.435 3h-7.87L3 8.565v7.87L8.565 22h7.87L22 16.435v-7.87zM21 16.02L16.021 21H8.979L4 16.02V8.98L8.979 4h7.042L21 8.98zm-8.5-4.227l4.243-4.243.707.707-4.243 4.243 4.243 4.243-.707.707-4.243-4.243-4.243 4.243-.707-.707 4.243-4.243L7.55 8.257l.707-.707z"
@@ -1 +0,0 @@
1
- "M21.678 4H11.322L4 11.322v10.356L11.322 29h10.356L29 21.678V11.322zM28 21.264L21.264 28h-9.528L5 21.264v-9.528L11.736 5h9.528L28 11.736zm-11.5-5.471l5.657-5.657.707.707-5.657 5.657 5.657 5.657-.707.707-5.657-5.657-5.657 5.657-.707-.707 5.657-5.657-5.657-5.657.707-.707z"
@@ -1 +0,0 @@
1
- "M11.192 2H5.808L2 5.808v5.384L5.808 15h5.384L15 11.192V5.808zm1.126 9.328l-.99.99L8.5 9.49l-2.828 2.828-.99-.99L7.51 8.5 4.682 5.672l.99-.99L8.5 7.51l2.828-2.828.99.99L9.49 8.5z"
@@ -1 +0,0 @@
1
- "M16.435 3h-7.87L3 8.565v7.87L8.565 22h7.87L22 16.435v-7.87zm1.298 13.742l-.99.991-4.243-4.242-4.242 4.242-.991-.99 4.242-4.243-4.242-4.242.99-.991 4.243 4.242 4.242-4.242.991.99-4.242 4.243z"
@@ -1 +0,0 @@
1
- "M21.678 4H11.322L4 11.322v10.356L11.322 29h10.356L29 21.678V11.322zm1.47 18.157l-.99.99L16.5 17.49l-5.657 5.657-.99-.99L15.51 16.5l-5.657-5.657.99-.99L16.5 15.51l5.657-5.657.99.99L17.49 16.5z"
@@ -1 +0,0 @@
1
- "M11.192 2H5.808L2 5.808v5.384L5.808 15h5.384L15 11.192V5.808zm1.126 9.328l-.99.99L8.5 9.49l-2.828 2.828-.99-.99L7.51 8.5 4.682 5.672l.99-.99L8.5 7.51l2.828-2.828.99.99L9.49 8.5z"
@@ -1 +0,0 @@
1
- "M16.435 3h-7.87L3 8.565v7.87L8.565 22h7.87L22 16.435v-7.87zm1.298 13.742l-.99.991-4.243-4.242-4.242 4.242-.991-.99 4.242-4.243-4.242-4.242.99-.991 4.243 4.242 4.242-4.242.991.99-4.242 4.243z"
@@ -1 +0,0 @@
1
- "M21.678 4H11.322L4 11.322v10.356L11.322 29h10.356L29 21.678V11.322zm1.47 18.157l-.99.99L16.5 17.49l-5.657 5.657-.99-.99L15.51 16.5l-5.657-5.657.99-.99L16.5 15.51l5.657-5.657.99.99L17.49 16.5z"
@@ -1 +0,0 @@
1
- export {};
@@ -1,54 +0,0 @@
1
- import { h } from "@stencil/core";
2
- import { getSlotted } from "../../utils/dom";
3
- const CSS = {
4
- actionsEnd: "actions-end",
5
- actionsStart: "actions-start",
6
- content: "content",
7
- contentContainer: "content-container",
8
- contentContainerButton: "content-container--button",
9
- contentEnd: "content-end",
10
- contentStart: "content-start"
11
- };
12
- const SLOTS = {
13
- actionsEnd: "actions-end",
14
- actionsStart: "actions-start",
15
- contentEnd: "content-end",
16
- contentStart: "content-start"
17
- };
18
- /**
19
- * This helper renders a content area with surrounding content start/end slots.
20
- *
21
- * @param el
22
- * @param children
23
- * @constructor
24
- */
25
- export const CalciteContentArea = (props, children) => {
26
- return [
27
- renderActionsStart(props.host),
28
- renderContentContainer(props, children),
29
- renderActionsEnd(props.host)
30
- ];
31
- };
32
- function renderContentContainer({ host, nonInteractive, disabled }, children) {
33
- const content = [renderContentStart(host), renderContent(children), renderContentEnd(host)];
34
- return !nonInteractive ? (h("button", { class: { [CSS.contentContainer]: true, [CSS.contentContainerButton]: true }, disabled: disabled }, content)) : (h("div", { class: CSS.contentContainer }, content));
35
- }
36
- function renderContent(content) {
37
- return content ? h("div", { class: CSS.content }, content) : null;
38
- }
39
- function renderContentStart(el) {
40
- return getSlotted(el, SLOTS.contentStart) ? (h("div", { class: CSS.contentStart },
41
- h("slot", { name: SLOTS.contentStart }))) : null;
42
- }
43
- function renderContentEnd(el) {
44
- return getSlotted(el, SLOTS.contentEnd) ? (h("div", { class: CSS.contentEnd },
45
- h("slot", { name: SLOTS.contentEnd }))) : null;
46
- }
47
- function renderActionsStart(el) {
48
- return getSlotted(el, SLOTS.actionsStart) ? (h("div", { class: CSS.actionsStart },
49
- h("slot", { name: SLOTS.actionsStart }))) : null;
50
- }
51
- function renderActionsEnd(el) {
52
- return getSlotted(el, SLOTS.actionsEnd) ? (h("div", { class: CSS.actionsEnd },
53
- h("slot", { name: SLOTS.actionsEnd }))) : null;
54
- }
@@ -1,23 +0,0 @@
1
- class DemoForm extends HTMLElement {
2
- connectedCallback() {
3
- this.addEventListener("submit", this.onFormSubmit);
4
- this.addEventListener("formdata", this.onFormData);
5
- }
6
- disconnectedCallback() {
7
- this.removeEventListener("submit", this.onFormSubmit);
8
- this.removeEventListener("formdata", this.onFormData);
9
- }
10
- onFormSubmit(event) {
11
- event.preventDefault();
12
- new FormData(event.target);
13
- }
14
- onFormData(event) {
15
- const data = {};
16
- for (const pair of event.formData.entries()) {
17
- data[pair[0]] = pair[1];
18
- }
19
- console.log(data);
20
- alert(JSON.stringify(data, null, 2));
21
- }
22
- }
23
- customElements.define("demo-form", DemoForm);
@@ -1,17 +0,0 @@
1
- class DemoSpacer extends HTMLElement {
2
- constructor() {
3
- super();
4
- this.attachShadow({ mode: "open" });
5
- this.shadowRoot.innerHTML = `
6
- <style>
7
- :host {
8
- display: grid;
9
- grid-template-columns: 1fr;
10
- grid-gap: ${this.getAttribute("gap") || "12px"};
11
- }
12
- </style>
13
- <slot></slot>
14
- `;
15
- }
16
- }
17
- customElements.define("demo-spacer", DemoSpacer);
@@ -1,13 +0,0 @@
1
- const toggleDir = () => {
2
- document.dir = document.dir === "rtl" ? "ltr" : "rtl";
3
- };
4
- const toggleTheme = () => {
5
- document.body.classList.toggle("calcite-theme-dark");
6
- };
7
- const loadDemoToggles = () => {
8
- document.querySelectorAll("h1:not(#demo-heading)").forEach((h1) => h1.remove());
9
- document.getElementById("demo-heading").textContent = document.title;
10
- document.getElementById("toggle-dir").addEventListener("calciteSwitchChange", toggleDir);
11
- document.getElementById("toggle-theme").addEventListener("calciteSwitchChange", toggleTheme);
12
- };
13
- document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", loadDemoToggles) : loadDemoToggles();
@@ -1,10 +0,0 @@
1
- (() => {
2
- // based on pieces of https://github.com/ionic-team/stencil/blob/4960fbe11444a18def3ce48ab46b018c416f9472/src/dev-server/dev-client/client-web-socket.ts
3
- const getSocketUrl = ({ hostname, port, protocol }) => protocol === "https:" ? "wss:" : "ws:" + "//" + hostname + ":" + port + "/";
4
- const clientWebSocket = new window.WebSocket(getSocketUrl(window.location), ["xmpp"]);
5
- clientWebSocket.addEventListener("message", (message) => {
6
- if (message.data.indexOf("rebuild finished") > -1) {
7
- window.location.reload();
8
- }
9
- });
10
- })();
@@ -1,51 +0,0 @@
1
- (() => {
2
- const DEMO_ROOT = "demos";
3
- const ASSETS_PATH = "demos/_assets";
4
- const CSS = [`${ASSETS_PATH}/demos.css`, "build/calcite.css"];
5
- const urlParams = new URLSearchParams(window.location.search);
6
- const DISABLE_HEADER_URL_PARAM = "header-disabled";
7
- const SCRIPTS = [
8
- {
9
- src: "build/calcite.esm.js",
10
- type: "module"
11
- }
12
- ];
13
- const parseTemplate = (text) => {
14
- const parser = new DOMParser();
15
- const doc = parser.parseFromString(text, "text/html");
16
- return doc.head.querySelector("template");
17
- };
18
- const loadHeader = async () => {
19
- const root = window.location.pathname.split(DEMO_ROOT).shift();
20
- const response = await window.fetch(`${root}${ASSETS_PATH}/demo-template.html`);
21
- const text = await response.text();
22
- const template = parseTemplate(text);
23
- const firstChild = document.body.firstChild;
24
- firstChild && document.body.insertBefore(template.content, firstChild);
25
- };
26
- if (window.location.pathname.includes("/demos/") && !urlParams.has(DISABLE_HEADER_URL_PARAM)) {
27
- document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", loadHeader) : loadHeader();
28
- }
29
- // Assume server is running in a development environment if there is a port present in the URL and reload demo pages.
30
- if (location.port) {
31
- SCRIPTS.push({
32
- src: `${ASSETS_PATH}/demoPageReloader.js`
33
- });
34
- }
35
- const ROOT = window.location.pathname.split(DEMO_ROOT).shift();
36
- function loadCss(url) {
37
- const link = document.createElement("link");
38
- link.rel = "stylesheet";
39
- link.href = ROOT + url;
40
- document.head.appendChild(link);
41
- }
42
- function loadScript(script) {
43
- const scriptElement = document.createElement("script");
44
- Object.keys(script).forEach((key) => {
45
- scriptElement[key] = key === "src" ? ROOT + script[key] : script[key];
46
- });
47
- document.head.appendChild(scriptElement);
48
- }
49
- CSS.forEach(loadCss);
50
- SCRIPTS.forEach(loadScript);
51
- })();
@@ -1,5 +0,0 @@
1
- // example for adding and removing loading state from button
2
- function loadingButton(el, duration) {
3
- el.setAttribute("loading", "");
4
- setTimeout(() => el.removeAttribute("loading"), duration);
5
- }
@@ -1,50 +0,0 @@
1
- const locales = [
2
- "ar",
3
- "bs",
4
- "ca",
5
- "cs",
6
- "da",
7
- "de",
8
- "de-CH",
9
- "el",
10
- "en",
11
- "en-AU",
12
- "en-CA",
13
- "en-GB",
14
- "es",
15
- "es-MX",
16
- "et",
17
- "fi",
18
- "fr",
19
- "fr-CH",
20
- "he",
21
- "hi",
22
- "hr",
23
- "hu",
24
- "id",
25
- "it",
26
- "it-CH",
27
- "ja",
28
- "ko",
29
- "lt",
30
- "lv",
31
- "mk",
32
- "nb",
33
- "nl",
34
- "pl",
35
- "pt",
36
- "pt-PT",
37
- "ro",
38
- "ru",
39
- "sk",
40
- "sl",
41
- "sr",
42
- "sv",
43
- "th",
44
- "tr",
45
- "uk",
46
- "vi",
47
- "zh-CN",
48
- "zh-HK",
49
- "zh-TW"
50
- ];
@@ -1,13 +0,0 @@
1
- function toggleBodyTheme(body) {
2
- if (!body.hasAttribute("theme")) {
3
- body.setAttribute("theme", "dark");
4
- }
5
- else {
6
- if (body.getAttribute("theme") === "dark") {
7
- body.setAttribute("theme", "light");
8
- }
9
- else {
10
- body.setAttribute("theme", "dark");
11
- }
12
- }
13
- }
@@ -1,50 +0,0 @@
1
- (() => {
2
- const DEMO_ROOT = "demos";
3
- const ASSETS_PATH = "demos/_assets";
4
- const parseTemplate = (text) => {
5
- const parser = new DOMParser();
6
- const doc = parser.parseFromString(text, "text/html");
7
- return doc.head.querySelector("template");
8
- };
9
- let components = null;
10
- const excludedComponents = ["calcite-button"];
11
- const toggleAction = (action) => {
12
- const property = action.dataset.jsId;
13
- action.active = !action.active;
14
- if (property === "loading" || property === "disabled") {
15
- components = components || Array.from(document.body.querySelectorAll("[calcite-hydrated]:not([data-excluded])"));
16
- components.forEach((component) => {
17
- if (!excludedComponents.includes(component.tagName.toLowerCase())) {
18
- component.toggleAttribute(property);
19
- }
20
- });
21
- }
22
- else if (property === "dir") {
23
- document.dir = document.dir === "rtl" ? "ltr" : "rtl";
24
- }
25
- else if (property === "theme") {
26
- document.body.classList.toggle("calcite-theme-dark");
27
- }
28
- };
29
- const attachHandlers = () => {
30
- const actions = document.querySelectorAll(".toggles calcite-action");
31
- actions.forEach((action) => action.addEventListener("click", (event) => toggleAction(event.target)));
32
- };
33
- const loadToggles = async () => {
34
- const root = window.location.pathname.split(DEMO_ROOT).shift();
35
- const response = await window.fetch(`${root}${ASSETS_PATH}/toggles.template`);
36
- const text = await response.text();
37
- const template = parseTemplate(text);
38
- const firstChild = document.body.firstChild;
39
- firstChild && document.body.insertBefore(template.content, firstChild);
40
- attachHandlers();
41
- };
42
- if (document.readyState === "loading") {
43
- // Loading hasn't finished yet
44
- document.addEventListener("DOMContentLoaded", loadToggles);
45
- }
46
- else {
47
- // `DOMContentLoaded` has already fired
48
- loadToggles();
49
- }
50
- })();
@@ -1,111 +0,0 @@
1
- // example for validating inputs and adding messages
2
- function detectInputChanges(id) {
3
- const input = document.querySelector(id);
4
- input.addEventListener("calciteInputInput", logInput);
5
- input.addEventListener("calciteInputFocus", logFocus);
6
- input.addEventListener("calciteInputBlur", logBlur);
7
- }
8
- function logFocus(event) {
9
- const targetNotice = document.querySelector(`#validate-input-example-focus-notice`);
10
- if (targetNotice) {
11
- targetNotice.setAttribute("active", "true");
12
- }
13
- if (targetNotice) {
14
- targetNotice.innerHTML = `<span slot="message"><b>#${event.detail.element.id}</b> was focused</span>`;
15
- }
16
- }
17
- function logBlur(event) {
18
- const targetNotice = document.querySelector(`#validate-input-example-blur-notice`);
19
- if (targetNotice) {
20
- targetNotice.setAttribute("active", "true");
21
- }
22
- if (targetNotice) {
23
- targetNotice.innerHTML = `<span slot="message"><b>#${event.detail.element.id}</b> was blurred</span>`;
24
- }
25
- }
26
- function logInput(event) {
27
- const targetNotice = document.querySelector(`#validate-input-example-change-notice`);
28
- if (targetNotice) {
29
- targetNotice.setAttribute("active", "true");
30
- }
31
- if (targetNotice) {
32
- targetNotice.innerHTML = `<span slot="message"><b>#${event.detail.element.id}</b> was changed and the value is <b>"${event.detail.value}"</b></span>`;
33
- }
34
- }
35
- function validateInput(id) {
36
- const input = document.querySelector(id);
37
- input.addEventListener("calciteInputInput", validatePasswordExample);
38
- input.addEventListener("calciteInputFocus", validatePasswordExampleFocusMessage);
39
- }
40
- function validatePasswordExampleFocusMessage(event) {
41
- const targetInput = document.querySelectorAll(`#${event.detail.element.id}`)[0];
42
- const existingMessage = document.querySelector(`#pw-status-1`);
43
- if (!existingMessage) {
44
- const message = document.createElement("calcite-input-message");
45
- message.active = true;
46
- message.id = "pw-status-1";
47
- message.innerHTML = `This should be at least 6 characters long`;
48
- targetInput.appendChild(message);
49
- }
50
- else {
51
- existingMessage.active = true;
52
- }
53
- }
54
- function validatePasswordExample(event) {
55
- const message = document.querySelector(`#pw-status-1`);
56
- if (event.detail.value.length === 0 || event.detail.value === "") {
57
- message.status = "idle";
58
- message.innerHTML = `This should be at least 6 characters long`;
59
- }
60
- else if (event.detail.value.length < 6) {
61
- message.status = "invalid";
62
- message.innerHTML = `You ain't there yet`;
63
- }
64
- else {
65
- message.status = "valid";
66
- message.innerHTML = `Bingo!`;
67
- }
68
- }
69
- function validateInputWithNativeEvents(id) {
70
- const input = document.querySelector(id);
71
- input.addEventListener("input", validatePasswordExampleNative);
72
- input.addEventListener("focusin", validatePasswordExampleFocusMessageNative);
73
- input.addEventListener("focusin", logNativeFocusIn);
74
- input.addEventListener("focusout", logNativeFocusOut);
75
- }
76
- function validatePasswordExampleFocusMessageNative(event) {
77
- const targetInput = document.querySelectorAll(`#${event.target.id}`)[0];
78
- const existingMessage = document.querySelector(`#pw-status-2`);
79
- if (!existingMessage) {
80
- const message = document.createElement("calcite-input-message");
81
- message.active = true;
82
- message.icon = true;
83
- message.id = "pw-status-2";
84
- message.innerHTML = `This should be at least 6 characters long`;
85
- targetInput.appendChild(message);
86
- }
87
- else {
88
- existingMessage.active = true;
89
- }
90
- }
91
- function validatePasswordExampleNative(event) {
92
- const message = document.querySelector(`#pw-status-2`);
93
- if (event.target.value.length === 0 || event.target.value === "") {
94
- message.status = "idle";
95
- message.innerHTML = `This should be at least 6 characters long`;
96
- }
97
- else if (event.target.value.length < 6) {
98
- message.status = "invalid";
99
- message.innerHTML = `You ain't there yet`;
100
- }
101
- else {
102
- message.status = "valid";
103
- message.innerHTML = `Bingo!`;
104
- }
105
- }
106
- function logNativeFocusIn(event) {
107
- console.log("native focusin", event.target.id);
108
- }
109
- function logNativeFocusOut(event) {
110
- console.log("native focusout", event.target.id);
111
- }
@@ -1 +0,0 @@
1
- import{f as forceUpdate,h}from"./index-1554a132.js";import{g as getElementDir}from"./dom-0b02c0cf.js";import{S as SLOTS}from"./resources-82817f70.js";import{S as SLOTS$1}from"./resources-c72ebfea.js";var groupBufferHeight=2;var getMaxActionCount=function(e){var t=e.height,r=e.actionHeight,o=e.groupCount;return Math.floor((t-o*groupBufferHeight)/r)};var getOverflowCount=function(e){var t=e.actionCount,r=e.actionHeight,o=e.height,n=e.groupCount;return Math.max(t-getMaxActionCount({height:o,actionHeight:r,groupCount:n}),0)};var queryActions=function(e){return Array.from(e.querySelectorAll("calcite-action")).filter((function(e){return e.closest("calcite-action-menu")?e.slot===SLOTS.trigger:true}))};var overflowActions=function(e){var t=e.actionGroups,r=e.expanded,o=e.overflowCount;var n=o;t.reverse().forEach((function(e){var t=0;var o=queryActions(e).reverse();o.forEach((function(e){if(e.slot===SLOTS$1.menuActions){e.removeAttribute("slot");e.textEnabled=r}}));if(n>0){o.some((function(e){var r=o.filter((function(e){return!e.slot}));if(r.length>1&&o.length>2&&!e.closest("calcite-action-menu")){e.textEnabled=true;e.setAttribute("slot",SLOTS$1.menuActions);t++;if(t>1){n--}}return n<1}))}forceUpdate(e)}))};var ICONS={chevronsLeft:"chevrons-left",chevronsRight:"chevrons-right"};function getCalcitePosition(e,t){var r;return e||((r=t.closest("calcite-shell-panel"))===null||r===void 0?void 0:r.position)||"start"}function toggleChildActionText(e){var t=e.parent,r=e.expanded;queryActions(t).filter((function(e){return e.slot!=="menu-actions"})).forEach((function(e){return e.textEnabled=r}));t.querySelectorAll("calcite-action-group").forEach((function(e){return e.expanded=r}))}var setTooltipReference=function(e){var t=e.tooltip,r=e.referenceElement,o=e.expanded,n=e.ref;if(t){t.referenceElement=!o&&r}if(n){n(r)}return r};var CalciteExpandToggle=function(e){var t=e.expanded,r=e.intlExpand,o=e.intlCollapse,n=e.toggle,i=e.el,a=e.position,c=e.tooltip,l=e.ref,u=e.scale;var f=getElementDir(i)==="rtl";var s=t?o:r;var v=[ICONS.chevronsLeft,ICONS.chevronsRight];if(f){v.reverse()}var g=getCalcitePosition(a,i)==="end";var p=g?v[1]:v[0];var d=g?v[0]:v[1];var m=h("calcite-action",{dir:f?"rtl":"ltr",icon:t?p:d,onClick:n,ref:function(e){return setTooltipReference({tooltip:c,referenceElement:e,expanded:t,ref:l})},scale:u,text:s,textEnabled:t});return c?h("calcite-tooltip-manager",null,m):m};export{CalciteExpandToggle as C,getOverflowCount as g,overflowActions as o,queryActions as q,toggleChildActionText as t};
@@ -1 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,r,n){function o(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function u(e){try{l(n.next(e))}catch(e){i(e)}}function a(e){try{l(n["throw"](e))}catch(e){i(e)}}function l(e){e.done?r(e.value):o(e.value).then(u,a)}l((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,o,i,u;return u={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function a(e){return function(t){return l([e,t])}}function l(u){if(n)throw new TypeError("Generator is already executing.");while(r)try{if(n=1,o&&(i=u[0]&2?o["return"]:u[0]?o["throw"]||((i=o["return"])&&i.call(o),0):o.next)&&!(i=i.call(o,u[1])).done)return i;if(o=0,i)u=[u[0]&2,i.value];switch(u[0]){case 0:case 1:i=u;break;case 4:r.label++;return{value:u[1],done:false};case 5:r.label++;o=u[1];u=[0];continue;case 7:u=r.ops.pop();r.trys.pop();continue;default:if(!(i=r.trys,i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){r.label=u[1];break}if(u[0]===6&&r.label<i[1]){r.label=i[1];i=u;break}if(i&&r.label<i[2]){r.label=i[2];r.ops.push(u);break}if(i[2])r.ops.pop();r.trys.pop();continue}u=t.call(e,r)}catch(e){u=[6,e];o=0}finally{n=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};import{g as guid}from"./guid-09142681.js";var CSS_UTILITY={autoTheme:"calcite-theme-auto",darkTheme:"calcite-theme-dark",lightTheme:"calcite-theme-light",rtl:"calcite--rtl"};var TEXT={loading:"Loading"};function ensureId(e){if(!e){return""}return e.id=e.id||e.tagName.toLowerCase()+"-"+guid()}function nodeListToArray(e){return Array.isArray(e)?e:Array.from(e)}function getThemeName(e){return closestElementCrossShadowBoundary(e,"."+CSS_UTILITY.darkTheme)?"dark":"light"}function getElementDir(e){var t="dir";var r="["+t+"]";var n=closestElementCrossShadowBoundary(e,r);return n?n.getAttribute(t):"ltr"}function getElementProp(e,t,r){var n="["+t+"]";var o=e.closest(n);return o?o.getAttribute(t):r}function getRootNode(e){return e.getRootNode()}function getHost(e){return e.host||null}function queryElementsRoots(e,t){function r(e,n){if(!e){return n}if(e.assignedSlot){e=e.assignedSlot}var o=getRootNode(e);var i=Array.from(o.querySelectorAll(t));var u=i.filter((function(e){return!n.includes(e)}));n=__spreadArray(__spreadArray([],n),u);var a=getHost(o);return a?r(a,n):n}return r(e,[])}function queryElementRoots(e,t){function r(e){if(!e){return null}if(e.assignedSlot){e=e.assignedSlot}var n=getRootNode(e);var o=n.querySelector(t);var i=getHost(n);return o?o:i?r(i):null}return r(e)}function closestElementCrossShadowBoundary(e,t){function r(e){return e?e.closest(t)||r(getHost(getRootNode(e))):null}return r(e)}function isCalciteFocusable(e){return typeof(e===null||e===void 0?void 0:e.setFocus)==="function"}function focusElement(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(!e){return[2]}return[2,isCalciteFocusable(e)?e.setFocus():e.focus()]}))}))}function getSlotted(e,t,r){var n='[slot="'+t+'"]';if(r===null||r===void 0?void 0:r.all){return queryMultiple(e,n,r)}return querySingle(e,n,r)}function queryMultiple(e,t,r){var n=Array.from(e.querySelectorAll(t));n=r&&r.direct===false?n:n.filter((function(t){return t.parentElement===e}));var o=r===null||r===void 0?void 0:r.selector;return o?n.map((function(e){return Array.from(e.querySelectorAll(o))})).reduce((function(e,t){return __spreadArray(__spreadArray([],e),t)}),[]).filter((function(e){return!!e})):n}function querySingle(e,t,r){var n=e.querySelector(t);n=r&&r.direct===false?n:(n===null||n===void 0?void 0:n.parentElement)===e?n:null;var o=r===null||r===void 0?void 0:r.selector;return o?n.querySelector(o):n}function filterDirectChildren(e,t){return Array.from(e.children).filter((function(e){return e.matches(t)}))}function hasLabel(e,t){return e.contains(t)}function setRequestedIcon(e,t,r){if(typeof t==="string"&&t!==""){return t}else if(t===""){return e[r]}}function intersects(e,t){return!(t.left>e.right||t.right<e.left||t.top>e.bottom||t.bottom<e.top)}export{CSS_UTILITY as C,TEXT as T,getSlotted as a,getThemeName as b,closestElementCrossShadowBoundary as c,getElementProp as d,ensureId as e,focusElement as f,getElementDir as g,hasLabel as h,isCalciteFocusable as i,queryElementsRoots as j,intersects as k,filterDirectChildren as l,nodeListToArray as n,queryElementRoots as q,setRequestedIcon as s};