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

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 (872) hide show
  1. package/dist/calcite/assets/date-picker/nls/bs.json +1 -1
  2. package/dist/calcite/assets/date-picker/nls/ca.json +1 -1
  3. package/dist/calcite/assets/date-picker/nls/cs.json +1 -1
  4. package/dist/calcite/assets/date-picker/nls/da.json +1 -1
  5. package/dist/calcite/assets/date-picker/nls/de.json +1 -1
  6. package/dist/calcite/assets/date-picker/nls/el.json +1 -1
  7. package/dist/calcite/assets/date-picker/nls/en-AU.json +1 -1
  8. package/dist/calcite/assets/date-picker/nls/es.json +1 -1
  9. package/dist/calcite/assets/date-picker/nls/et.json +1 -1
  10. package/dist/calcite/assets/date-picker/nls/fi.json +1 -1
  11. package/dist/calcite/assets/date-picker/nls/fr.json +1 -1
  12. package/dist/calcite/assets/date-picker/nls/hr.json +1 -1
  13. package/dist/calcite/assets/date-picker/nls/hu.json +1 -1
  14. package/dist/calcite/assets/date-picker/nls/it.json +1 -1
  15. package/dist/calcite/assets/date-picker/nls/lt.json +1 -1
  16. package/dist/calcite/assets/date-picker/nls/lv.json +1 -1
  17. package/dist/calcite/assets/date-picker/nls/mk.json +1 -1
  18. package/dist/calcite/assets/date-picker/nls/nb.json +1 -1
  19. package/dist/calcite/assets/date-picker/nls/nl.json +1 -1
  20. package/dist/calcite/assets/date-picker/nls/pl.json +1 -1
  21. package/dist/calcite/assets/date-picker/nls/ro.json +1 -1
  22. package/dist/calcite/assets/date-picker/nls/ru.json +1 -1
  23. package/dist/calcite/assets/date-picker/nls/sl.json +1 -1
  24. package/dist/calcite/assets/date-picker/nls/sr.json +1 -1
  25. package/dist/calcite/assets/date-picker/nls/sv.json +1 -1
  26. package/dist/calcite/assets/date-picker/nls/tr.json +1 -1
  27. package/dist/calcite/assets/date-picker/nls/uk.json +1 -1
  28. package/dist/calcite/assets/date-picker/nls/vi.json +1 -1
  29. package/dist/calcite/assets/icon/clockForward16.json +1 -0
  30. package/dist/calcite/assets/icon/clockForward24.json +1 -0
  31. package/dist/calcite/assets/icon/clockForward32.json +1 -0
  32. package/dist/calcite/assets/icon/contingentValues16.json +1 -0
  33. package/dist/calcite/assets/icon/contingentValues24.json +1 -0
  34. package/dist/calcite/assets/icon/contingentValues32.json +1 -0
  35. package/dist/calcite/assets/icon/creditCard16.json +1 -0
  36. package/dist/calcite/assets/icon/creditCard24.json +1 -0
  37. package/dist/calcite/assets/icon/creditCard32.json +1 -0
  38. package/dist/calcite/assets/icon/credits16.json +1 -1
  39. package/dist/calcite/assets/icon/credits24.json +1 -1
  40. package/dist/calcite/assets/icon/credits32.json +1 -1
  41. package/dist/calcite/assets/icon/keyboard16.json +1 -0
  42. package/dist/calcite/assets/icon/keyboard24.json +1 -0
  43. package/dist/calcite/assets/icon/keyboard32.json +1 -0
  44. package/dist/calcite/assets/icon/premiumContentUserCredit24.json +1 -1
  45. package/dist/calcite/assets/icon/premiumContentUserCredit32.json +1 -1
  46. package/dist/calcite/assets/icon/select16.json +1 -1
  47. package/dist/calcite/assets/icon/select24.json +1 -1
  48. package/dist/calcite/assets/icon/select32.json +1 -1
  49. package/dist/calcite/assets/icon/tiledImageryLayer16.json +1 -0
  50. package/dist/calcite/assets/icon/tiledImageryLayer24.json +1 -0
  51. package/dist/calcite/assets/icon/tiledImageryLayer32.json +1 -0
  52. package/dist/calcite/assets/icon/userDown16.json +1 -0
  53. package/dist/calcite/assets/icon/userDown24.json +1 -0
  54. package/dist/calcite/assets/icon/userDown32.json +1 -0
  55. package/dist/calcite/assets/icon/userKey16.json +1 -0
  56. package/dist/calcite/assets/icon/userKey24.json +1 -0
  57. package/dist/calcite/assets/icon/userKey32.json +1 -0
  58. package/dist/calcite/assets/icon/userMinus16.json +1 -0
  59. package/dist/calcite/assets/icon/userMinus24.json +1 -0
  60. package/dist/calcite/assets/icon/userMinus32.json +1 -0
  61. package/dist/calcite/assets/icon/userUp16.json +1 -0
  62. package/dist/calcite/assets/icon/userUp24.json +1 -0
  63. package/dist/calcite/assets/icon/userUp32.json +1 -0
  64. package/dist/calcite/assets/icon/userX16.json +1 -0
  65. package/dist/calcite/assets/icon/userX24.json +1 -0
  66. package/dist/calcite/assets/icon/userX32.json +1 -0
  67. package/dist/calcite/assets/icon/utilityNetworkTrace16.json +1 -0
  68. package/dist/calcite/assets/icon/utilityNetworkTrace24.json +1 -0
  69. package/dist/calcite/assets/icon/utilityNetworkTrace32.json +1 -0
  70. package/dist/calcite/calcite.esm.js +1 -1
  71. package/dist/calcite/calcite.js +1 -1
  72. package/dist/calcite/{p-b78f6de5.system.entry.js → p-02d7cf64.system.entry.js} +1 -1
  73. package/dist/calcite/p-03c92ad2.entry.js +5 -0
  74. package/dist/calcite/{p-b1a43a5f.system.entry.js → p-052ba882.system.entry.js} +1 -1
  75. package/dist/calcite/p-07f1f162.system.entry.js +5 -0
  76. package/dist/calcite/p-1263bcc0.entry.js +5 -0
  77. package/dist/calcite/p-162604a0.entry.js +5 -0
  78. package/dist/calcite/p-18be4438.entry.js +5 -0
  79. package/dist/calcite/p-193749c1.entry.js +5 -0
  80. package/dist/calcite/{p-fda73553.system.entry.js → p-1aded388.system.entry.js} +1 -1
  81. package/dist/calcite/p-1aeca42a.system.entry.js +5 -0
  82. package/dist/calcite/{p-c11cbced.system.entry.js → p-1fc943d5.system.entry.js} +1 -1
  83. package/dist/calcite/p-23145377.entry.js +5 -0
  84. package/dist/calcite/p-28c333d0.entry.js +5 -0
  85. package/dist/calcite/p-2bcaed33.entry.js +5 -0
  86. package/dist/calcite/p-2dd22e8c.system.entry.js +5 -0
  87. package/dist/calcite/p-2fae8516.system.entry.js +5 -0
  88. package/dist/calcite/p-3119ffce.system.js +5 -0
  89. package/dist/calcite/p-31c58f25.entry.js +5 -0
  90. package/dist/calcite/p-32d6b962.entry.js +5 -0
  91. package/dist/calcite/{p-a8ac1295.system.entry.js → p-32efc4cd.system.entry.js} +1 -1
  92. package/dist/calcite/p-34730e94.entry.js +5 -0
  93. package/dist/calcite/p-364db271.entry.js +5 -0
  94. package/dist/calcite/p-364f0abe.system.entry.js +5 -0
  95. package/dist/calcite/p-3915705c.entry.js +5 -0
  96. package/dist/calcite/p-3b4662a5.entry.js +5 -0
  97. package/dist/calcite/p-3e149640.system.entry.js +5 -0
  98. package/dist/calcite/p-3e9d96c6.system.entry.js +5 -0
  99. package/dist/calcite/p-42227a04.entry.js +5 -0
  100. package/dist/calcite/p-426f011a.entry.js +5 -0
  101. package/dist/calcite/p-4570cf6c.js +5 -0
  102. package/dist/calcite/p-46071f17.entry.js +5 -0
  103. package/dist/calcite/p-47d38839.entry.js +5 -0
  104. package/dist/calcite/p-482885ae.system.entry.js +5 -0
  105. package/dist/calcite/{p-04bf9bca.system.entry.js → p-48637359.system.entry.js} +1 -1
  106. package/dist/calcite/p-4905189e.system.entry.js +5 -0
  107. package/dist/calcite/p-496e907a.system.entry.js +5 -0
  108. package/dist/calcite/p-4aecbaef.entry.js +5 -0
  109. package/dist/calcite/p-4afb5a1b.system.entry.js +5 -0
  110. package/dist/calcite/p-4eae61c5.entry.js +5 -0
  111. package/dist/calcite/p-5394666a.entry.js +5 -0
  112. package/dist/calcite/p-54c49493.entry.js +5 -0
  113. package/dist/calcite/{p-5c2545f0.system.entry.js → p-55e1a3a0.system.entry.js} +1 -1
  114. package/dist/calcite/{p-e39100e6.system.entry.js → p-569150ab.system.entry.js} +1 -1
  115. package/dist/calcite/p-5802a565.entry.js +5 -0
  116. package/dist/calcite/{p-ab14b0a2.system.js → p-588bfa74.system.js} +1 -1
  117. package/dist/calcite/p-5a8829cd.entry.js +5 -0
  118. package/dist/calcite/p-5bb4d012.entry.js +5 -0
  119. package/dist/calcite/p-5c637131.entry.js +5 -0
  120. package/dist/calcite/p-5f6e35f3.entry.js +5 -0
  121. package/dist/calcite/p-614d8925.js +5 -0
  122. package/dist/calcite/p-6261469d.entry.js +5 -0
  123. package/dist/calcite/p-653bd7bf.entry.js +5 -0
  124. package/dist/calcite/p-65dbbfb5.system.js +5 -0
  125. package/dist/calcite/p-69d2d9cf.system.entry.js +5 -0
  126. package/dist/calcite/p-6ab3e489.entry.js +5 -0
  127. package/dist/calcite/p-6b7b23d0.js +5 -0
  128. package/dist/calcite/p-6c4a7041.system.entry.js +5 -0
  129. package/dist/calcite/p-6e0103f5.system.entry.js +5 -0
  130. package/dist/calcite/{p-7f1ff224.system.entry.js → p-6ed27595.system.entry.js} +1 -1
  131. package/dist/calcite/p-6fba3e1b.system.entry.js +5 -0
  132. package/dist/calcite/{p-0a8635a5.system.entry.js → p-7247b667.system.entry.js} +1 -1
  133. package/dist/calcite/p-7260c869.system.entry.js +5 -0
  134. package/dist/calcite/p-7432e5ef.system.entry.js +5 -0
  135. package/dist/calcite/p-765c9bef.entry.js +5 -0
  136. package/dist/calcite/p-78bc502f.entry.js +5 -0
  137. package/dist/calcite/{p-30f0e22d.system.entry.js → p-7bee4942.system.entry.js} +1 -1
  138. package/dist/calcite/p-7c88d545.js +5 -0
  139. package/dist/calcite/p-824da4be.entry.js +5 -0
  140. package/dist/calcite/p-867f7b7a.system.entry.js +5 -0
  141. package/dist/calcite/p-872e82a6.system.entry.js +5 -0
  142. package/dist/calcite/p-87888359.entry.js +5 -0
  143. package/dist/calcite/p-895d22f3.entry.js +5 -0
  144. package/dist/calcite/p-8a7596e3.entry.js +5 -0
  145. package/dist/calcite/{p-c1d5aac6.js → p-8ab345f2.js} +1 -1
  146. package/dist/calcite/p-8b982f91.entry.js +5 -0
  147. package/dist/calcite/{p-3dd50bac.system.entry.js → p-8e0dd0af.system.entry.js} +1 -1
  148. package/dist/calcite/{p-de274791.system.js → p-9385e4b4.system.js} +1 -1
  149. package/dist/calcite/p-963e9aec.system.entry.js +5 -0
  150. package/dist/calcite/p-97904e9a.entry.js +5 -0
  151. package/dist/calcite/p-9940b82a.system.entry.js +5 -0
  152. package/dist/calcite/p-9ac86d6a.entry.js +5 -0
  153. package/dist/calcite/p-9ad8c7c5.system.entry.js +5 -0
  154. package/dist/calcite/p-9c913e3a.entry.js +5 -0
  155. package/dist/calcite/p-9e61d89d.entry.js +5 -0
  156. package/dist/calcite/p-a117af56.system.js +1 -1
  157. package/dist/calcite/{p-f3a85d19.system.entry.js → p-a11ee541.system.entry.js} +1 -1
  158. package/dist/calcite/{p-fe3fff79.entry.js → p-a7770d75.entry.js} +1 -1
  159. package/dist/calcite/p-a9b3ef39.js +5 -0
  160. package/dist/calcite/p-a9ea7f4f.entry.js +5 -0
  161. package/dist/calcite/p-aaa21a84.system.entry.js +5 -0
  162. package/dist/calcite/p-aad14a5d.system.entry.js +5 -0
  163. package/dist/calcite/p-afe59546.entry.js +5 -0
  164. package/dist/calcite/p-b0827b8c.system.entry.js +5 -0
  165. package/dist/calcite/p-b10af2b4.entry.js +5 -0
  166. package/dist/calcite/p-b2493735.entry.js +5 -0
  167. package/dist/calcite/p-b2b6f712.js +5 -0
  168. package/dist/calcite/p-b3c5247b.system.entry.js +5 -0
  169. package/dist/calcite/p-b47dc903.system.entry.js +5 -0
  170. package/dist/calcite/p-b765d197.system.js +5 -0
  171. package/dist/calcite/{p-f894bab4.system.entry.js → p-b9a38a28.system.entry.js} +2 -2
  172. package/dist/calcite/p-bccbf58a.entry.js +5 -0
  173. package/dist/calcite/p-bd38ff21.js +5 -0
  174. package/dist/calcite/{p-2e351904.system.entry.js → p-bdcb43b1.system.entry.js} +1 -1
  175. package/dist/calcite/p-bffb4da3.system.entry.js +5 -0
  176. package/dist/calcite/{p-7b5207ea.system.entry.js → p-c228a1da.system.entry.js} +1 -1
  177. package/dist/calcite/p-c2adeae4.entry.js +5 -0
  178. package/dist/calcite/p-c2caeb2a.system.entry.js +5 -0
  179. package/dist/calcite/p-c4cb35ba.system.entry.js +5 -0
  180. package/dist/calcite/p-c51699d3.system.js +5 -0
  181. package/dist/calcite/{p-513bc44f.system.entry.js → p-c9fc13b9.system.entry.js} +1 -1
  182. package/dist/calcite/p-cafd98e8.entry.js +5 -0
  183. package/dist/calcite/{p-ada75056.system.js → p-cb57638c.system.js} +1 -1
  184. package/dist/calcite/p-cb847074.entry.js +5 -0
  185. package/dist/calcite/p-cbc6fee6.entry.js +5 -0
  186. package/dist/calcite/p-cc6e7726.entry.js +5 -0
  187. package/dist/calcite/{p-36e29ddc.js → p-cd5f5c8f.js} +1 -1
  188. package/dist/calcite/p-cd9226a1.system.entry.js +5 -0
  189. package/dist/calcite/p-daf5f04c.system.js +5 -0
  190. package/dist/calcite/p-dcf33bb2.js +5 -0
  191. package/dist/calcite/p-e22ab8fa.entry.js +5 -0
  192. package/dist/calcite/p-e3280a36.system.entry.js +5 -0
  193. package/dist/calcite/p-e43605c5.entry.js +5 -0
  194. package/dist/calcite/p-e4d1651b.system.entry.js +5 -0
  195. package/dist/calcite/p-e55c5bb4.entry.js +5 -0
  196. package/dist/calcite/p-e66a8ca1.system.entry.js +5 -0
  197. package/dist/calcite/p-ea4119b1.system.entry.js +5 -0
  198. package/dist/calcite/{p-68aab44a.system.entry.js → p-eb3c084f.system.entry.js} +1 -1
  199. package/dist/calcite/p-ec9bab33.system.js +2 -2
  200. package/dist/calcite/p-ecc31b40.system.entry.js +5 -0
  201. package/dist/calcite/p-edf1e815.system.entry.js +5 -0
  202. package/dist/calcite/p-ee522afa.system.entry.js +5 -0
  203. package/dist/calcite/p-ef17447d.system.entry.js +5 -0
  204. package/dist/calcite/p-f09e27b0.system.js +5 -0
  205. package/dist/calcite/p-f344e163.entry.js +5 -0
  206. package/dist/calcite/p-f68725d7.entry.js +5 -0
  207. package/dist/calcite/p-fa922721.system.js +5 -0
  208. package/dist/calcite/p-fe9380a0.system.js +5 -0
  209. package/dist/cjs/{ExpandToggle-ef5d508c.js → ExpandToggle-f7682a15.js} +2 -2
  210. package/dist/cjs/{Heading-ef16f5df.js → Heading-ec707493.js} +1 -1
  211. package/dist/cjs/calcite-accordion_2.cjs.entry.js +19 -9
  212. package/dist/cjs/calcite-action-bar.cjs.entry.js +8 -15
  213. package/dist/cjs/calcite-action-group.cjs.entry.js +3 -3
  214. package/dist/cjs/calcite-action-menu.cjs.entry.js +5 -5
  215. package/dist/cjs/calcite-action-pad.cjs.entry.js +7 -17
  216. package/dist/cjs/calcite-action.cjs.entry.js +9 -4
  217. package/dist/cjs/calcite-alert.cjs.entry.js +2 -2
  218. package/dist/cjs/calcite-avatar.cjs.entry.js +2 -2
  219. package/dist/cjs/calcite-block_2.cjs.entry.js +34 -17
  220. package/dist/cjs/calcite-button.cjs.entry.js +14 -16
  221. package/dist/cjs/calcite-card.cjs.entry.js +3 -3
  222. package/dist/cjs/calcite-checkbox.cjs.entry.js +9 -5
  223. package/dist/cjs/calcite-chip.cjs.entry.js +3 -3
  224. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +19 -6
  225. package/dist/cjs/calcite-combobox_3.cjs.entry.js +41 -37
  226. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +16 -9
  227. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +60 -38
  228. package/dist/cjs/calcite-fab.cjs.entry.js +12 -3
  229. package/dist/cjs/calcite-filter.cjs.entry.js +38 -5
  230. package/dist/cjs/calcite-flow.cjs.entry.js +2 -2
  231. package/dist/cjs/calcite-graph_2.cjs.entry.js +34 -32
  232. package/dist/cjs/calcite-handle.cjs.entry.js +2 -2
  233. package/dist/cjs/calcite-icon.cjs.entry.js +2 -2
  234. package/dist/cjs/calcite-inline-editable.cjs.entry.js +13 -11
  235. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +34 -14
  236. package/dist/cjs/calcite-input-message.cjs.entry.js +2 -2
  237. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +55 -10
  238. package/dist/cjs/calcite-input.cjs.entry.js +11 -7
  239. package/dist/cjs/calcite-label.cjs.entry.js +17 -4
  240. package/dist/cjs/calcite-link.cjs.entry.js +10 -16
  241. package/dist/cjs/calcite-list_3.cjs.entry.js +34 -8
  242. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  243. package/dist/cjs/calcite-modal.cjs.entry.js +3 -3
  244. package/dist/cjs/calcite-notice.cjs.entry.js +3 -3
  245. package/dist/cjs/calcite-option_3.cjs.entry.js +11 -7
  246. package/dist/cjs/calcite-pagination.cjs.entry.js +2 -2
  247. package/dist/cjs/calcite-panel.cjs.entry.js +16 -7
  248. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +21 -27
  249. package/dist/cjs/calcite-popover_2.cjs.entry.js +14 -9
  250. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  251. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +2 -2
  252. package/dist/cjs/calcite-radio-button.cjs.entry.js +9 -5
  253. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +11 -7
  254. package/dist/cjs/calcite-rating.cjs.entry.js +14 -8
  255. package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
  256. package/dist/cjs/calcite-shell_3.cjs.entry.js +5 -5
  257. package/dist/cjs/calcite-sortable-list.cjs.entry.js +7 -3
  258. package/dist/cjs/calcite-split-button.cjs.entry.js +27 -4
  259. package/dist/cjs/calcite-stepper_2.cjs.entry.js +9 -5
  260. package/dist/cjs/calcite-switch.cjs.entry.js +9 -12
  261. package/dist/cjs/calcite-tab_4.cjs.entry.js +13 -10
  262. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +20 -5
  263. package/dist/cjs/calcite-tile.cjs.entry.js +8 -4
  264. package/dist/cjs/calcite-tip_3.cjs.entry.js +6 -6
  265. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +11 -7
  266. package/dist/cjs/calcite-tree_2.cjs.entry.js +63 -59
  267. package/dist/cjs/calcite-value-list_2.cjs.entry.js +19 -11
  268. package/dist/cjs/calcite.cjs.js +3 -3
  269. package/dist/cjs/{conditionalSlot-92505fba.js → conditionalSlot-64f9bfd3.js} +1 -1
  270. package/dist/cjs/{form-237cf392.js → form-0ef859c8.js} +1 -1
  271. package/dist/cjs/{index-6b5d2de5.js → index-1af0efd3.js} +27 -1
  272. package/dist/cjs/interactive-87406231.js +44 -0
  273. package/dist/cjs/{label-6b18ca08.js → label-980508de.js} +40 -6
  274. package/dist/cjs/loader.cjs.js +3 -3
  275. package/dist/cjs/{popper-13a2bb46.js → popper-64d89ef7.js} +17 -2
  276. package/dist/cjs/{resources-8a9f4e9c.js → resources-7811eb2c.js} +1 -1
  277. package/dist/cjs/{resources-4850fd7c.js → resources-e43fc9f3.js} +48 -10
  278. package/dist/collection/collection-manifest.json +2 -2
  279. package/dist/collection/components/accordion/accordion.css +7 -6
  280. package/dist/collection/components/accordion/accordion.js +2 -1
  281. package/dist/collection/components/accordion-item/accordion-item.js +13 -3
  282. package/dist/collection/components/action/action.css +9 -0
  283. package/dist/collection/components/action/action.js +6 -1
  284. package/dist/collection/components/action-bar/action-bar.js +4 -11
  285. package/dist/collection/components/action-menu/action-menu.js +7 -7
  286. package/dist/collection/components/action-pad/action-pad.js +3 -15
  287. package/dist/collection/components/block/block.css +13 -9
  288. package/dist/collection/components/block/block.js +20 -6
  289. package/dist/collection/components/block-section/block-section.js +12 -7
  290. package/dist/collection/components/button/button.css +15 -2
  291. package/dist/collection/components/button/button.js +10 -15
  292. package/dist/collection/components/checkbox/checkbox.css +7 -0
  293. package/dist/collection/components/checkbox/checkbox.js +4 -0
  294. package/dist/collection/components/color-picker/color-picker.css +13 -0
  295. package/dist/collection/components/color-picker/color-picker.js +34 -3
  296. package/dist/collection/components/combobox/combobox.css +9 -7
  297. package/dist/collection/components/combobox/combobox.js +54 -32
  298. package/dist/collection/components/combobox/resources.js +0 -1
  299. package/dist/collection/components/combobox-item/combobox-item.css +13 -0
  300. package/dist/collection/components/combobox-item/combobox-item.js +4 -0
  301. package/dist/collection/components/date-picker/assets/date-picker/nls/bs.json +1 -1
  302. package/dist/collection/components/date-picker/assets/date-picker/nls/ca.json +1 -1
  303. package/dist/collection/components/date-picker/assets/date-picker/nls/cs.json +1 -1
  304. package/dist/collection/components/date-picker/assets/date-picker/nls/da.json +1 -1
  305. package/dist/collection/components/date-picker/assets/date-picker/nls/de.json +1 -1
  306. package/dist/collection/components/date-picker/assets/date-picker/nls/el.json +1 -1
  307. package/dist/collection/components/date-picker/assets/date-picker/nls/en-AU.json +1 -1
  308. package/dist/collection/components/date-picker/assets/date-picker/nls/es.json +1 -1
  309. package/dist/collection/components/date-picker/assets/date-picker/nls/et.json +1 -1
  310. package/dist/collection/components/date-picker/assets/date-picker/nls/fi.json +1 -1
  311. package/dist/collection/components/date-picker/assets/date-picker/nls/fr.json +1 -1
  312. package/dist/collection/components/date-picker/assets/date-picker/nls/hr.json +1 -1
  313. package/dist/collection/components/date-picker/assets/date-picker/nls/hu.json +1 -1
  314. package/dist/collection/components/date-picker/assets/date-picker/nls/it.json +1 -1
  315. package/dist/collection/components/date-picker/assets/date-picker/nls/lt.json +1 -1
  316. package/dist/collection/components/date-picker/assets/date-picker/nls/lv.json +1 -1
  317. package/dist/collection/components/date-picker/assets/date-picker/nls/mk.json +1 -1
  318. package/dist/collection/components/date-picker/assets/date-picker/nls/nb.json +1 -1
  319. package/dist/collection/components/date-picker/assets/date-picker/nls/nl.json +1 -1
  320. package/dist/collection/components/date-picker/assets/date-picker/nls/pl.json +1 -1
  321. package/dist/collection/components/date-picker/assets/date-picker/nls/ro.json +1 -1
  322. package/dist/collection/components/date-picker/assets/date-picker/nls/ru.json +1 -1
  323. package/dist/collection/components/date-picker/assets/date-picker/nls/sl.json +1 -1
  324. package/dist/collection/components/date-picker/assets/date-picker/nls/sr.json +1 -1
  325. package/dist/collection/components/date-picker/assets/date-picker/nls/sv.json +1 -1
  326. package/dist/collection/components/date-picker/assets/date-picker/nls/tr.json +1 -1
  327. package/dist/collection/components/date-picker/assets/date-picker/nls/uk.json +1 -1
  328. package/dist/collection/components/date-picker/assets/date-picker/nls/vi.json +1 -1
  329. package/dist/collection/components/date-picker/date-picker.js +1 -1
  330. package/dist/collection/components/date-picker-day/date-picker-day.css +13 -5
  331. package/dist/collection/components/date-picker-day/date-picker-day.js +8 -1
  332. package/dist/collection/components/dropdown/dropdown.css +8 -0
  333. package/dist/collection/components/dropdown/dropdown.js +71 -32
  334. package/dist/collection/components/dropdown/resources.js +0 -1
  335. package/dist/collection/components/dropdown-item/dropdown-item.js +11 -5
  336. package/dist/collection/components/fab/fab.css +13 -0
  337. package/dist/collection/components/fab/fab.js +9 -0
  338. package/dist/collection/components/filter/filter.css +13 -0
  339. package/dist/collection/components/filter/filter.js +41 -7
  340. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  341. package/dist/collection/components/icon/assets/icon/clockForward16.json +1 -0
  342. package/dist/collection/components/icon/assets/icon/clockForward24.json +1 -0
  343. package/dist/collection/components/icon/assets/icon/clockForward32.json +1 -0
  344. package/dist/collection/components/icon/assets/icon/contingentValues16.json +1 -0
  345. package/dist/collection/components/icon/assets/icon/contingentValues24.json +1 -0
  346. package/dist/collection/components/icon/assets/icon/contingentValues32.json +1 -0
  347. package/dist/collection/components/icon/assets/icon/creditCard16.json +1 -0
  348. package/dist/collection/components/icon/assets/icon/creditCard24.json +1 -0
  349. package/dist/collection/components/icon/assets/icon/creditCard32.json +1 -0
  350. package/dist/collection/components/icon/assets/icon/credits16.json +1 -1
  351. package/dist/collection/components/icon/assets/icon/credits24.json +1 -1
  352. package/dist/collection/components/icon/assets/icon/credits32.json +1 -1
  353. package/dist/collection/components/icon/assets/icon/keyboard16.json +1 -0
  354. package/dist/collection/components/icon/assets/icon/keyboard24.json +1 -0
  355. package/dist/collection/components/icon/assets/icon/keyboard32.json +1 -0
  356. package/dist/collection/components/icon/assets/icon/premiumContentUserCredit24.json +1 -1
  357. package/dist/collection/components/icon/assets/icon/premiumContentUserCredit32.json +1 -1
  358. package/dist/collection/components/icon/assets/icon/select16.json +1 -1
  359. package/dist/collection/components/icon/assets/icon/select24.json +1 -1
  360. package/dist/collection/components/icon/assets/icon/select32.json +1 -1
  361. package/dist/collection/components/icon/assets/icon/tiledImageryLayer16.json +1 -0
  362. package/dist/collection/components/icon/assets/icon/tiledImageryLayer24.json +1 -0
  363. package/dist/collection/components/icon/assets/icon/tiledImageryLayer32.json +1 -0
  364. package/dist/collection/components/icon/assets/icon/userDown16.json +1 -0
  365. package/dist/collection/components/icon/assets/icon/userDown24.json +1 -0
  366. package/dist/collection/components/icon/assets/icon/userDown32.json +1 -0
  367. package/dist/collection/components/icon/assets/icon/userKey16.json +1 -0
  368. package/dist/collection/components/icon/assets/icon/userKey24.json +1 -0
  369. package/dist/collection/components/icon/assets/icon/userKey32.json +1 -0
  370. package/dist/collection/components/icon/assets/icon/userMinus16.json +1 -0
  371. package/dist/collection/components/icon/assets/icon/userMinus24.json +1 -0
  372. package/dist/collection/components/icon/assets/icon/userMinus32.json +1 -0
  373. package/dist/collection/components/icon/assets/icon/userUp16.json +1 -0
  374. package/dist/collection/components/icon/assets/icon/userUp24.json +1 -0
  375. package/dist/collection/components/icon/assets/icon/userUp32.json +1 -0
  376. package/dist/collection/components/icon/assets/icon/userX16.json +1 -0
  377. package/dist/collection/components/icon/assets/icon/userX24.json +1 -0
  378. package/dist/collection/components/icon/assets/icon/userX32.json +1 -0
  379. package/dist/collection/components/icon/assets/icon/utilityNetworkTrace16.json +1 -0
  380. package/dist/collection/components/icon/assets/icon/utilityNetworkTrace24.json +1 -0
  381. package/dist/collection/components/icon/assets/icon/utilityNetworkTrace32.json +1 -0
  382. package/dist/collection/components/inline-editable/inline-editable.css +12 -0
  383. package/dist/collection/components/inline-editable/inline-editable.js +9 -7
  384. package/dist/collection/components/input/input.css +8 -7
  385. package/dist/collection/components/input/input.js +6 -2
  386. package/dist/collection/components/input-date-picker/input-date-picker.css +68 -26
  387. package/dist/collection/components/input-date-picker/input-date-picker.js +51 -9
  388. package/dist/collection/components/input-time-picker/input-time-picker.css +13 -0
  389. package/dist/collection/components/input-time-picker/input-time-picker.js +21 -1
  390. package/dist/collection/components/label/label.css +12 -0
  391. package/dist/collection/components/label/label.js +16 -2
  392. package/dist/collection/components/link/link.css +13 -8
  393. package/dist/collection/components/link/link.js +8 -18
  394. package/dist/collection/components/list/list.css +13 -0
  395. package/dist/collection/components/list/list.js +38 -0
  396. package/dist/collection/components/list-item/list-item.css +8 -0
  397. package/dist/collection/components/list-item/list-item.js +9 -0
  398. package/dist/collection/components/loader/loader.css +1 -1
  399. package/dist/collection/components/pagination/pagination.js +1 -1
  400. package/dist/collection/components/panel/panel.css +13 -0
  401. package/dist/collection/components/panel/panel.js +11 -2
  402. package/dist/collection/components/pick-list/pick-list.css +13 -0
  403. package/dist/collection/components/pick-list/pick-list.js +4 -0
  404. package/dist/collection/components/pick-list/shared-list-logic.js +32 -7
  405. package/dist/collection/components/pick-list/shared-list-render.js +2 -2
  406. package/dist/collection/components/pick-list-item/pick-list-item.css +13 -0
  407. package/dist/collection/components/pick-list-item/pick-list-item.js +6 -5
  408. package/dist/collection/components/popover/popover.css +5 -0
  409. package/dist/collection/components/popover/popover.js +13 -9
  410. package/dist/collection/components/popover/resources.js +1 -0
  411. package/dist/collection/components/popover-manager/popover-manager.css +1 -0
  412. package/dist/collection/components/radio-button/radio-button.css +10 -1
  413. package/dist/collection/components/radio-button/radio-button.js +4 -0
  414. package/dist/collection/components/radio-group/radio-group.css +13 -5
  415. package/dist/collection/components/radio-group/radio-group.js +5 -1
  416. package/dist/collection/components/rating/rating.css +13 -5
  417. package/dist/collection/components/rating/rating.js +9 -3
  418. package/dist/collection/components/select/select.css +13 -7
  419. package/dist/collection/components/select/select.js +4 -0
  420. package/dist/collection/components/slider/slider.css +8 -0
  421. package/dist/collection/components/slider/slider.js +29 -27
  422. package/dist/collection/components/sortable-list/sortable-list.css +13 -0
  423. package/dist/collection/components/sortable-list/sortable-list.js +4 -0
  424. package/dist/collection/components/split-button/split-button.css +12 -0
  425. package/dist/collection/components/split-button/split-button.js +29 -3
  426. package/dist/collection/components/stepper-item/stepper-item.css +8 -4
  427. package/dist/collection/components/stepper-item/stepper-item.js +6 -2
  428. package/dist/collection/components/switch/switch.css +7 -0
  429. package/dist/collection/components/switch/switch.js +5 -13
  430. package/dist/collection/components/tab/tab.js +1 -1
  431. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  432. package/dist/collection/components/tab-title/tab-title.css +9 -0
  433. package/dist/collection/components/tab-title/tab-title.js +8 -5
  434. package/dist/collection/components/tile/tile.css +17 -1
  435. package/dist/collection/components/tile/tile.js +4 -0
  436. package/dist/collection/components/tile-select/tile-select.css +9 -1
  437. package/dist/collection/components/tile-select/tile-select.js +4 -0
  438. package/dist/collection/components/tile-select-group/tile-select-group.css +13 -0
  439. package/dist/collection/components/tile-select-group/tile-select-group.js +31 -1
  440. package/dist/collection/components/time-picker/resources.js +2 -1
  441. package/dist/collection/components/time-picker/time-picker.css +3 -0
  442. package/dist/collection/components/time-picker/time-picker.js +17 -2
  443. package/dist/collection/components/tooltip/tooltip.css +5 -0
  444. package/dist/collection/components/tooltip/tooltip.js +6 -2
  445. package/dist/collection/components/tooltip-manager/tooltip-manager.css +1 -0
  446. package/dist/collection/components/tree/tree.js +67 -4
  447. package/dist/collection/components/tree-item/tree-item.js +0 -53
  448. package/dist/collection/components/value-list/value-list.css +13 -0
  449. package/dist/collection/components/value-list/value-list.js +15 -5
  450. package/dist/collection/components/value-list-item/value-list-item.css +13 -0
  451. package/dist/collection/components/value-list-item/value-list-item.js +6 -2
  452. package/dist/collection/utils/interactive.js +42 -0
  453. package/dist/collection/utils/label.js +38 -6
  454. package/dist/collection/utils/popper.js +66 -0
  455. package/dist/collection/utils/time.js +13 -0
  456. package/dist/components/ExpandToggle.js +1 -1
  457. package/dist/components/action-group.js +3 -4
  458. package/dist/components/action-menu.js +5 -6
  459. package/dist/components/action.js +10 -6
  460. package/dist/components/button.js +14 -18
  461. package/dist/components/calcite-accordion-item.js +16 -7
  462. package/dist/components/calcite-accordion.js +6 -6
  463. package/dist/components/calcite-action-bar.js +7 -15
  464. package/dist/components/calcite-action-pad.js +6 -17
  465. package/dist/components/calcite-alert.js +3 -4
  466. package/dist/components/calcite-avatar.js +3 -4
  467. package/dist/components/calcite-block-section.js +12 -8
  468. package/dist/components/calcite-block.js +24 -11
  469. package/dist/components/calcite-card.js +3 -4
  470. package/dist/components/calcite-color-picker.js +19 -6
  471. package/dist/components/calcite-combobox-item-group.js +4 -5
  472. package/dist/components/calcite-combobox-item.js +9 -6
  473. package/dist/components/calcite-combobox.js +35 -35
  474. package/dist/components/calcite-dropdown-group.js +3 -4
  475. package/dist/components/calcite-dropdown-item.js +14 -9
  476. package/dist/components/calcite-fab.js +13 -5
  477. package/dist/components/calcite-flow.js +3 -4
  478. package/dist/components/calcite-inline-editable.js +13 -12
  479. package/dist/components/calcite-input-date-picker.js +33 -13
  480. package/dist/components/calcite-input-message.js +3 -4
  481. package/dist/components/calcite-input-time-picker.js +21 -6
  482. package/dist/components/calcite-list-item-group.js +3 -4
  483. package/dist/components/calcite-list-item.js +13 -5
  484. package/dist/components/calcite-list.js +23 -5
  485. package/dist/components/calcite-modal.js +3 -4
  486. package/dist/components/calcite-notice.js +3 -4
  487. package/dist/components/calcite-option-group.js +3 -4
  488. package/dist/components/calcite-option.js +3 -4
  489. package/dist/components/calcite-pagination.js +3 -4
  490. package/dist/components/calcite-panel.js +15 -7
  491. package/dist/components/calcite-pick-list-group.js +4 -14
  492. package/dist/components/calcite-pick-list.js +8 -5
  493. package/dist/components/calcite-popover-manager.js +4 -5
  494. package/dist/components/calcite-radio-button-group.js +3 -4
  495. package/dist/components/calcite-radio-button.js +8 -5
  496. package/dist/components/calcite-radio-group-item.js +3 -4
  497. package/dist/components/calcite-radio-group.js +9 -6
  498. package/dist/components/calcite-rating.js +13 -8
  499. package/dist/components/calcite-select.js +8 -5
  500. package/dist/components/calcite-shell-center-row.js +3 -4
  501. package/dist/components/calcite-shell-panel.js +3 -4
  502. package/dist/components/calcite-shell.js +3 -4
  503. package/dist/components/calcite-slider.js +32 -31
  504. package/dist/components/calcite-sortable-list.js +8 -5
  505. package/dist/components/calcite-split-button.js +29 -7
  506. package/dist/components/calcite-stepper-item.js +10 -7
  507. package/dist/components/calcite-stepper.js +3 -4
  508. package/dist/components/calcite-tile-select-group.js +17 -5
  509. package/dist/components/calcite-tile-select.js +8 -5
  510. package/dist/components/calcite-tip-group.js +3 -4
  511. package/dist/components/calcite-tip-manager.js +4 -5
  512. package/dist/components/calcite-tip.js +4 -5
  513. package/dist/components/calcite-tooltip.js +9 -6
  514. package/dist/components/calcite-tree-item.js +3 -57
  515. package/dist/components/calcite-tree.js +63 -7
  516. package/dist/components/calcite-value-list-item.js +8 -5
  517. package/dist/components/calcite-value-list.js +14 -11
  518. package/dist/components/checkbox.js +8 -5
  519. package/dist/components/chip.js +3 -4
  520. package/dist/components/color-picker-hex-input.js +3 -4
  521. package/dist/components/color-picker-swatch.js +3 -4
  522. package/dist/components/date-picker-day.js +12 -6
  523. package/dist/components/date-picker-month-header.js +3 -4
  524. package/dist/components/date-picker-month.js +3 -4
  525. package/dist/components/date-picker.js +3 -4
  526. package/dist/components/dropdown.js +49 -33
  527. package/dist/components/filter.js +45 -25
  528. package/dist/components/graph.js +3 -4
  529. package/dist/components/handle.js +3 -4
  530. package/dist/components/icon.js +3 -4
  531. package/dist/components/input.js +10 -7
  532. package/dist/components/interactive.js +42 -0
  533. package/dist/components/label.js +39 -7
  534. package/dist/components/label2.js +16 -6
  535. package/dist/components/link.js +11 -19
  536. package/dist/components/loader.js +4 -5
  537. package/dist/components/pick-list-item.js +8 -8
  538. package/dist/components/popover.js +11 -8
  539. package/dist/components/popper.js +16 -3
  540. package/dist/components/progress.js +3 -4
  541. package/dist/components/resources.js +2 -1
  542. package/dist/components/resources4.js +5 -22
  543. package/dist/components/resources5.js +32 -0
  544. package/dist/components/scrim.js +3 -4
  545. package/dist/components/shared-list-render.js +37 -12
  546. package/dist/components/switch.js +8 -13
  547. package/dist/components/tab-nav.js +3 -4
  548. package/dist/components/tab-title.js +10 -8
  549. package/dist/components/tab.js +4 -5
  550. package/dist/components/tabs.js +3 -4
  551. package/dist/components/tile.js +8 -5
  552. package/dist/components/time-picker.js +35 -7
  553. package/dist/components/tooltip-manager.js +4 -5
  554. package/dist/components/utils2.js +1 -2
  555. package/dist/custom-elements/index.js +818 -433
  556. package/dist/esm/{ExpandToggle-66a802f1.js → ExpandToggle-af224c1e.js} +2 -2
  557. package/dist/esm/{Heading-0793af93.js → Heading-d5f1710a.js} +1 -1
  558. package/dist/esm/calcite-accordion_2.entry.js +19 -9
  559. package/dist/esm/calcite-action-bar.entry.js +8 -15
  560. package/dist/esm/calcite-action-group.entry.js +3 -3
  561. package/dist/esm/calcite-action-menu.entry.js +5 -5
  562. package/dist/esm/calcite-action-pad.entry.js +7 -17
  563. package/dist/esm/calcite-action.entry.js +9 -4
  564. package/dist/esm/calcite-alert.entry.js +2 -2
  565. package/dist/esm/calcite-avatar.entry.js +2 -2
  566. package/dist/esm/calcite-block_2.entry.js +34 -17
  567. package/dist/esm/calcite-button.entry.js +14 -16
  568. package/dist/esm/calcite-card.entry.js +3 -3
  569. package/dist/esm/calcite-checkbox.entry.js +9 -5
  570. package/dist/esm/calcite-chip.entry.js +3 -3
  571. package/dist/esm/calcite-color-picker_3.entry.js +19 -6
  572. package/dist/esm/calcite-combobox_3.entry.js +41 -37
  573. package/dist/esm/calcite-date-picker_4.entry.js +16 -9
  574. package/dist/esm/calcite-dropdown_3.entry.js +60 -38
  575. package/dist/esm/calcite-fab.entry.js +12 -3
  576. package/dist/esm/calcite-filter.entry.js +38 -5
  577. package/dist/esm/calcite-flow.entry.js +2 -2
  578. package/dist/esm/calcite-graph_2.entry.js +34 -32
  579. package/dist/esm/calcite-handle.entry.js +2 -2
  580. package/dist/esm/calcite-icon.entry.js +2 -2
  581. package/dist/esm/calcite-inline-editable.entry.js +13 -11
  582. package/dist/esm/calcite-input-date-picker.entry.js +34 -14
  583. package/dist/esm/calcite-input-message.entry.js +2 -2
  584. package/dist/esm/calcite-input-time-picker_2.entry.js +55 -10
  585. package/dist/esm/calcite-input.entry.js +11 -7
  586. package/dist/esm/calcite-label.entry.js +17 -4
  587. package/dist/esm/calcite-link.entry.js +10 -16
  588. package/dist/esm/calcite-list_3.entry.js +34 -8
  589. package/dist/esm/calcite-loader.entry.js +3 -3
  590. package/dist/esm/calcite-modal.entry.js +3 -3
  591. package/dist/esm/calcite-notice.entry.js +3 -3
  592. package/dist/esm/calcite-option_3.entry.js +11 -7
  593. package/dist/esm/calcite-pagination.entry.js +2 -2
  594. package/dist/esm/calcite-panel.entry.js +16 -7
  595. package/dist/esm/calcite-pick-list_3.entry.js +16 -22
  596. package/dist/esm/calcite-popover_2.entry.js +14 -9
  597. package/dist/esm/calcite-progress.entry.js +2 -2
  598. package/dist/esm/calcite-radio-button-group.entry.js +2 -2
  599. package/dist/esm/calcite-radio-button.entry.js +9 -5
  600. package/dist/esm/calcite-radio-group_2.entry.js +11 -7
  601. package/dist/esm/calcite-rating.entry.js +14 -8
  602. package/dist/esm/calcite-scrim.entry.js +2 -2
  603. package/dist/esm/calcite-shell_3.entry.js +5 -5
  604. package/dist/esm/calcite-sortable-list.entry.js +7 -3
  605. package/dist/esm/calcite-split-button.entry.js +27 -4
  606. package/dist/esm/calcite-stepper_2.entry.js +9 -5
  607. package/dist/esm/calcite-switch.entry.js +9 -12
  608. package/dist/esm/calcite-tab_4.entry.js +13 -10
  609. package/dist/esm/calcite-tile-select_2.entry.js +20 -5
  610. package/dist/esm/calcite-tile.entry.js +8 -4
  611. package/dist/esm/calcite-tip_3.entry.js +6 -6
  612. package/dist/esm/calcite-tooltip_2.entry.js +11 -7
  613. package/dist/esm/calcite-tree_2.entry.js +63 -59
  614. package/dist/esm/calcite-value-list_2.entry.js +19 -11
  615. package/dist/esm/calcite.js +3 -3
  616. package/dist/esm/{conditionalSlot-9e7d8609.js → conditionalSlot-67f579ff.js} +1 -1
  617. package/dist/esm/{form-f90706b4.js → form-5e4609eb.js} +1 -1
  618. package/dist/esm/{index-9de00868.js → index-bd94948c.js} +27 -1
  619. package/dist/esm/interactive-48b5cc0f.js +42 -0
  620. package/dist/esm/{label-2bffc9f4.js → label-68f22660.js} +39 -7
  621. package/dist/esm/loader.js +3 -3
  622. package/dist/esm/polyfills/css-shim.js +1 -1
  623. package/dist/esm/{popper-ae231554.js → popper-da45ec93.js} +16 -3
  624. package/dist/esm/{resources-d6b3fa76.js → resources-73dac782.js} +1 -1
  625. package/dist/esm/{resources-e171d56b.js → resources-b5c3d9a7.js} +45 -11
  626. package/dist/esm-es5/{ExpandToggle-66a802f1.js → ExpandToggle-af224c1e.js} +1 -1
  627. package/dist/esm-es5/{Heading-0793af93.js → Heading-d5f1710a.js} +1 -1
  628. package/dist/esm-es5/calcite-accordion_2.entry.js +1 -1
  629. package/dist/esm-es5/calcite-action-bar.entry.js +1 -1
  630. package/dist/esm-es5/calcite-action-group.entry.js +1 -1
  631. package/dist/esm-es5/calcite-action-menu.entry.js +1 -1
  632. package/dist/esm-es5/calcite-action-pad.entry.js +2 -2
  633. package/dist/esm-es5/calcite-action.entry.js +1 -1
  634. package/dist/esm-es5/calcite-alert.entry.js +1 -1
  635. package/dist/esm-es5/calcite-avatar.entry.js +1 -1
  636. package/dist/esm-es5/calcite-block_2.entry.js +1 -1
  637. package/dist/esm-es5/calcite-button.entry.js +1 -1
  638. package/dist/esm-es5/calcite-card.entry.js +1 -1
  639. package/dist/esm-es5/calcite-checkbox.entry.js +1 -1
  640. package/dist/esm-es5/calcite-chip.entry.js +1 -1
  641. package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
  642. package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
  643. package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
  644. package/dist/esm-es5/calcite-dropdown_3.entry.js +1 -1
  645. package/dist/esm-es5/calcite-fab.entry.js +2 -2
  646. package/dist/esm-es5/calcite-filter.entry.js +1 -1
  647. package/dist/esm-es5/calcite-flow.entry.js +1 -1
  648. package/dist/esm-es5/calcite-graph_2.entry.js +1 -1
  649. package/dist/esm-es5/calcite-handle.entry.js +1 -1
  650. package/dist/esm-es5/calcite-icon.entry.js +1 -1
  651. package/dist/esm-es5/calcite-inline-editable.entry.js +1 -1
  652. package/dist/esm-es5/calcite-input-date-picker.entry.js +1 -1
  653. package/dist/esm-es5/calcite-input-message.entry.js +1 -1
  654. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
  655. package/dist/esm-es5/calcite-input.entry.js +2 -2
  656. package/dist/esm-es5/calcite-label.entry.js +1 -1
  657. package/dist/esm-es5/calcite-link.entry.js +2 -2
  658. package/dist/esm-es5/calcite-list_3.entry.js +2 -2
  659. package/dist/esm-es5/calcite-loader.entry.js +1 -1
  660. package/dist/esm-es5/calcite-modal.entry.js +1 -1
  661. package/dist/esm-es5/calcite-notice.entry.js +1 -1
  662. package/dist/esm-es5/calcite-option_3.entry.js +2 -2
  663. package/dist/esm-es5/calcite-pagination.entry.js +1 -1
  664. package/dist/esm-es5/calcite-panel.entry.js +2 -2
  665. package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
  666. package/dist/esm-es5/calcite-popover_2.entry.js +1 -1
  667. package/dist/esm-es5/calcite-progress.entry.js +1 -1
  668. package/dist/esm-es5/calcite-radio-button-group.entry.js +1 -1
  669. package/dist/esm-es5/calcite-radio-button.entry.js +1 -1
  670. package/dist/esm-es5/calcite-radio-group_2.entry.js +1 -1
  671. package/dist/esm-es5/calcite-rating.entry.js +2 -2
  672. package/dist/esm-es5/calcite-scrim.entry.js +1 -1
  673. package/dist/esm-es5/calcite-shell_3.entry.js +1 -1
  674. package/dist/esm-es5/calcite-sortable-list.entry.js +1 -1
  675. package/dist/esm-es5/calcite-split-button.entry.js +1 -1
  676. package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
  677. package/dist/esm-es5/calcite-switch.entry.js +1 -1
  678. package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
  679. package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
  680. package/dist/esm-es5/calcite-tile.entry.js +1 -1
  681. package/dist/esm-es5/calcite-tip_3.entry.js +2 -2
  682. package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
  683. package/dist/esm-es5/calcite-tree_2.entry.js +1 -1
  684. package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
  685. package/dist/esm-es5/calcite.js +1 -1
  686. package/dist/esm-es5/{conditionalSlot-9e7d8609.js → conditionalSlot-67f579ff.js} +1 -1
  687. package/dist/esm-es5/dom-e7fa77b9.js +2 -2
  688. package/dist/esm-es5/{form-f90706b4.js → form-5e4609eb.js} +1 -1
  689. package/dist/esm-es5/index-bd94948c.js +5 -0
  690. package/dist/esm-es5/interactive-48b5cc0f.js +5 -0
  691. package/dist/esm-es5/label-68f22660.js +5 -0
  692. package/dist/esm-es5/loader.js +1 -1
  693. package/dist/esm-es5/popper-da45ec93.js +5 -0
  694. package/dist/esm-es5/resources-73dac782.js +5 -0
  695. package/dist/esm-es5/resources-b5c3d9a7.js +5 -0
  696. package/dist/esm-es5/utils-e84055a3.js +1 -1
  697. package/dist/extras/docs-json.json +150 -47
  698. package/dist/types/components/accordion-item/accordion-item.d.ts +1 -0
  699. package/dist/types/components/action/action.d.ts +3 -1
  700. package/dist/types/components/action-bar/action-bar.d.ts +1 -1
  701. package/dist/types/components/action-menu/action-menu.d.ts +2 -3
  702. package/dist/types/components/action-pad/action-pad.d.ts +0 -1
  703. package/dist/types/components/block/block.d.ts +4 -1
  704. package/dist/types/components/block-section/block-section.d.ts +1 -0
  705. package/dist/types/components/button/button.d.ts +3 -4
  706. package/dist/types/components/checkbox/checkbox.d.ts +3 -1
  707. package/dist/types/components/color-picker/color-picker.d.ts +9 -1
  708. package/dist/types/components/combobox/combobox.d.ts +9 -5
  709. package/dist/types/components/combobox/resources.d.ts +0 -1
  710. package/dist/types/components/combobox-item/combobox-item.d.ts +3 -1
  711. package/dist/types/components/date-picker-day/date-picker-day.d.ts +4 -1
  712. package/dist/types/components/dropdown/dropdown.d.ts +11 -4
  713. package/dist/types/components/dropdown/interfaces.d.ts +0 -2
  714. package/dist/types/components/dropdown/resources.d.ts +0 -1
  715. package/dist/types/components/dropdown-item/dropdown-item.d.ts +2 -0
  716. package/dist/types/components/fab/fab.d.ts +3 -1
  717. package/dist/types/components/filter/filter.d.ts +5 -2
  718. package/dist/types/components/inline-editable/inline-editable.d.ts +4 -1
  719. package/dist/types/components/input/input.d.ts +3 -1
  720. package/dist/types/components/input-date-picker/input-date-picker.d.ts +9 -2
  721. package/dist/types/components/input-time-picker/input-time-picker.d.ts +5 -1
  722. package/dist/types/components/label/label.d.ts +7 -1
  723. package/dist/types/components/link/link.d.ts +3 -5
  724. package/dist/types/components/list/list.d.ts +7 -1
  725. package/dist/types/components/list-item/list-item.d.ts +3 -1
  726. package/dist/types/components/panel/panel.d.ts +3 -1
  727. package/dist/types/components/pick-list/pick-list.d.ts +3 -1
  728. package/dist/types/components/pick-list/shared-list-logic.d.ts +1 -0
  729. package/dist/types/components/pick-list-item/pick-list-item.d.ts +4 -2
  730. package/dist/types/components/popover/popover.d.ts +3 -3
  731. package/dist/types/components/popover/resources.d.ts +1 -0
  732. package/dist/types/components/radio-button/radio-button.d.ts +3 -1
  733. package/dist/types/components/radio-group/radio-group.d.ts +3 -1
  734. package/dist/types/components/rating/rating.d.ts +3 -1
  735. package/dist/types/components/select/select.d.ts +3 -1
  736. package/dist/types/components/slider/slider.d.ts +4 -3
  737. package/dist/types/components/sortable-list/sortable-list.d.ts +3 -1
  738. package/dist/types/components/split-button/split-button.d.ts +5 -1
  739. package/dist/types/components/stepper-item/stepper-item.d.ts +3 -1
  740. package/dist/types/components/switch/switch.d.ts +3 -4
  741. package/dist/types/components/tab-title/tab-title.d.ts +3 -1
  742. package/dist/types/components/tile/tile.d.ts +3 -1
  743. package/dist/types/components/tile-select/tile-select.d.ts +3 -1
  744. package/dist/types/components/tile-select-group/tile-select-group.d.ts +6 -1
  745. package/dist/types/components/time-picker/resources.d.ts +1 -0
  746. package/dist/types/components/time-picker/time-picker.d.ts +2 -0
  747. package/dist/types/components/tree/tree.d.ts +1 -0
  748. package/dist/types/components/value-list/value-list.d.ts +4 -1
  749. package/dist/types/components/value-list-item/value-list-item.d.ts +4 -2
  750. package/dist/types/components.d.ts +86 -37
  751. package/dist/types/preact.d.ts +90 -90
  752. package/dist/types/utils/interactive.d.ts +28 -0
  753. package/dist/types/utils/label.d.ts +3 -1
  754. package/dist/types/utils/popper.d.ts +8 -1
  755. package/dist/types/utils/time.d.ts +1 -0
  756. package/hydrate/index.js +746 -346
  757. package/package.json +29 -30
  758. package/readme.md +2 -2
  759. package/dist/calcite/p-0119b1c4.entry.js +0 -5
  760. package/dist/calcite/p-04bf684c.entry.js +0 -5
  761. package/dist/calcite/p-050a406e.entry.js +0 -5
  762. package/dist/calcite/p-0db51b2f.entry.js +0 -5
  763. package/dist/calcite/p-10b1b39a.system.entry.js +0 -5
  764. package/dist/calcite/p-13cbacc6.system.entry.js +0 -5
  765. package/dist/calcite/p-141c978b.system.entry.js +0 -5
  766. package/dist/calcite/p-14bac901.system.entry.js +0 -5
  767. package/dist/calcite/p-153af136.entry.js +0 -5
  768. package/dist/calcite/p-1a1dd9b6.system.entry.js +0 -5
  769. package/dist/calcite/p-1a3a366d.system.js +0 -5
  770. package/dist/calcite/p-1c0b4e1a.system.entry.js +0 -5
  771. package/dist/calcite/p-2218fef5.entry.js +0 -5
  772. package/dist/calcite/p-22ad05e8.entry.js +0 -5
  773. package/dist/calcite/p-26aea1cb.system.js +0 -5
  774. package/dist/calcite/p-288bc438.system.js +0 -5
  775. package/dist/calcite/p-2aea5398.entry.js +0 -5
  776. package/dist/calcite/p-2e29554c.js +0 -5
  777. package/dist/calcite/p-301ee662.system.entry.js +0 -5
  778. package/dist/calcite/p-307c74d9.system.entry.js +0 -5
  779. package/dist/calcite/p-374c3c70.entry.js +0 -5
  780. package/dist/calcite/p-3970879d.system.entry.js +0 -5
  781. package/dist/calcite/p-39f8d232.entry.js +0 -5
  782. package/dist/calcite/p-40c3d7a6.system.entry.js +0 -5
  783. package/dist/calcite/p-444e31b1.entry.js +0 -5
  784. package/dist/calcite/p-448ee714.entry.js +0 -5
  785. package/dist/calcite/p-44aa1db4.system.js +0 -5
  786. package/dist/calcite/p-46b6888c.entry.js +0 -5
  787. package/dist/calcite/p-479f8f07.entry.js +0 -5
  788. package/dist/calcite/p-49782820.entry.js +0 -5
  789. package/dist/calcite/p-49992d49.entry.js +0 -5
  790. package/dist/calcite/p-5007d2f5.entry.js +0 -5
  791. package/dist/calcite/p-52f03db0.entry.js +0 -5
  792. package/dist/calcite/p-53220585.system.entry.js +0 -5
  793. package/dist/calcite/p-570074bd.entry.js +0 -5
  794. package/dist/calcite/p-5a77fd17.entry.js +0 -5
  795. package/dist/calcite/p-5ac1f5fb.system.entry.js +0 -5
  796. package/dist/calcite/p-5f41045a.entry.js +0 -5
  797. package/dist/calcite/p-631e416a.system.js +0 -5
  798. package/dist/calcite/p-655c4dfd.entry.js +0 -5
  799. package/dist/calcite/p-65c30ccd.entry.js +0 -5
  800. package/dist/calcite/p-668c5e70.js +0 -5
  801. package/dist/calcite/p-66ca7309.entry.js +0 -5
  802. package/dist/calcite/p-6a2ac09a.system.entry.js +0 -5
  803. package/dist/calcite/p-6a9e2249.system.entry.js +0 -5
  804. package/dist/calcite/p-6eb1302b.entry.js +0 -5
  805. package/dist/calcite/p-7415264e.system.entry.js +0 -5
  806. package/dist/calcite/p-786b8250.entry.js +0 -5
  807. package/dist/calcite/p-7d4316a1.system.entry.js +0 -5
  808. package/dist/calcite/p-82d85d32.system.entry.js +0 -5
  809. package/dist/calcite/p-838a07fc.system.entry.js +0 -5
  810. package/dist/calcite/p-8456e717.system.entry.js +0 -5
  811. package/dist/calcite/p-869eb8f9.entry.js +0 -5
  812. package/dist/calcite/p-86b63ebb.system.entry.js +0 -5
  813. package/dist/calcite/p-89cb9df8.system.entry.js +0 -5
  814. package/dist/calcite/p-916a0f28.system.js +0 -5
  815. package/dist/calcite/p-9a7c4812.js +0 -5
  816. package/dist/calcite/p-9aaeb1df.entry.js +0 -5
  817. package/dist/calcite/p-9ae39d7f.entry.js +0 -5
  818. package/dist/calcite/p-9c7544ce.entry.js +0 -5
  819. package/dist/calcite/p-9ca6c750.system.entry.js +0 -5
  820. package/dist/calcite/p-9eb4062a.entry.js +0 -5
  821. package/dist/calcite/p-a5b366e8.entry.js +0 -5
  822. package/dist/calcite/p-a5e0e140.entry.js +0 -5
  823. package/dist/calcite/p-a61df17c.entry.js +0 -5
  824. package/dist/calcite/p-a85634a1.system.entry.js +0 -5
  825. package/dist/calcite/p-aceeb62f.entry.js +0 -5
  826. package/dist/calcite/p-b4a23fdf.entry.js +0 -5
  827. package/dist/calcite/p-bde80af8.entry.js +0 -5
  828. package/dist/calcite/p-be231b84.entry.js +0 -5
  829. package/dist/calcite/p-be265e63.entry.js +0 -5
  830. package/dist/calcite/p-be87f022.system.entry.js +0 -5
  831. package/dist/calcite/p-c1c37da9.entry.js +0 -5
  832. package/dist/calcite/p-c27e520c.entry.js +0 -5
  833. package/dist/calcite/p-c5463268.system.entry.js +0 -5
  834. package/dist/calcite/p-caad6f3c.entry.js +0 -5
  835. package/dist/calcite/p-cb33659b.system.entry.js +0 -5
  836. package/dist/calcite/p-cb3a8861.entry.js +0 -5
  837. package/dist/calcite/p-cfcb2161.entry.js +0 -5
  838. package/dist/calcite/p-d2bcb3ae.entry.js +0 -5
  839. package/dist/calcite/p-d6f6b6c1.entry.js +0 -5
  840. package/dist/calcite/p-d86f287b.entry.js +0 -5
  841. package/dist/calcite/p-d9499121.system.entry.js +0 -5
  842. package/dist/calcite/p-dcfb3261.system.entry.js +0 -5
  843. package/dist/calcite/p-dd8b6d4f.system.entry.js +0 -5
  844. package/dist/calcite/p-e2047621.system.js +0 -5
  845. package/dist/calcite/p-e3e09c27.entry.js +0 -5
  846. package/dist/calcite/p-e3f19c5f.system.entry.js +0 -5
  847. package/dist/calcite/p-e469c1bc.entry.js +0 -5
  848. package/dist/calcite/p-e5420c67.entry.js +0 -5
  849. package/dist/calcite/p-e5e29b32.system.entry.js +0 -5
  850. package/dist/calcite/p-e66c335c.entry.js +0 -5
  851. package/dist/calcite/p-e7779d97.js +0 -5
  852. package/dist/calcite/p-e83a5fe4.system.entry.js +0 -5
  853. package/dist/calcite/p-e8e0f3b7.js +0 -5
  854. package/dist/calcite/p-ea510477.js +0 -5
  855. package/dist/calcite/p-ee124c9a.system.entry.js +0 -5
  856. package/dist/calcite/p-eeb91710.js +0 -5
  857. package/dist/calcite/p-f01b987c.entry.js +0 -5
  858. package/dist/calcite/p-f4d9c369.system.entry.js +0 -5
  859. package/dist/calcite/p-f5739197.entry.js +0 -5
  860. package/dist/calcite/p-f6b0747a.system.entry.js +0 -5
  861. package/dist/calcite/p-f763b1e7.system.entry.js +0 -5
  862. package/dist/calcite/p-f908d72a.system.entry.js +0 -5
  863. package/dist/calcite/p-f974ab2f.entry.js +0 -5
  864. package/dist/calcite/p-fb948ef5.system.entry.js +0 -5
  865. package/dist/calcite/p-fc122064.entry.js +0 -5
  866. package/dist/calcite/p-fdd3ea5e.entry.js +0 -5
  867. package/dist/calcite/p-fee9511c.system.entry.js +0 -5
  868. package/dist/esm-es5/index-9de00868.js +0 -5
  869. package/dist/esm-es5/label-2bffc9f4.js +0 -5
  870. package/dist/esm-es5/popper-ae231554.js +0 -5
  871. package/dist/esm-es5/resources-d6b3fa76.js +0 -5
  872. package/dist/esm-es5/resources-e171d56b.js +0 -5
@@ -2,12 +2,13 @@
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
- import { HTMLElement, createEvent, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
6
6
  import { a as getElementDir, C as CSS_UTILITY } from './dom.js';
7
+ import { u as updateHostInteraction } from './interactive.js';
7
8
 
8
- const datePickerDayCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;min-width:0px;cursor:pointer;-ms-flex-pack:center;justify-content:center;color:var(--calcite-ui-text-3);width:14.2857142857%}.day-v-wrapper{-ms-flex:1 1 auto;flex:1 1 auto}.day-wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center}.day{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border-radius:9999px;font-size:var(--calcite-font-size--2);line-height:1rem;line-height:1;color:var(--calcite-ui-text-3);opacity:var(--calcite-ui-opacity-disabled);-webkit-transition-property:all;transition-property:all;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;background:none;-webkit-box-shadow:0 0 0 2px transparent, 0 0 0 0px transparent;box-shadow:0 0 0 2px transparent, 0 0 0 0px transparent}.text{margin-top:1px;margin-right:0px;margin-bottom:0px;margin-left:1px}:host([scale=s]) .day-v-wrapper{padding-top:0.125rem;padding-bottom:0.125rem}:host([scale=s]) .day-wrapper{padding:0px}:host([scale=s]) .day{height:27px;width:27px;font-size:var(--calcite-font-size--2)}:host([scale=m]) .day-v-wrapper{padding-top:0.25rem;padding-bottom:0.25rem}:host([scale=m]) .day-wrapper{padding-left:0.25rem;padding-right:0.25rem}:host([scale=m]) .day{height:33px;width:33px;font-size:var(--calcite-font-size--1)}:host([scale=l]) .day-v-wrapper{padding-top:0.25rem;padding-bottom:0.25rem}:host([scale=l]) .day-wrapper{padding-left:0.25rem;padding-right:0.25rem}:host([scale=l]) .day{height:43px;width:43px;font-size:var(--calcite-font-size-0)}:host([current-month]) .day{opacity:1}:host([disabled]){cursor:default;opacity:0.25}:host(:hover:not([disabled])) .day,:host([active]:not([range])) .day{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}:host(:focus),:host([active]){outline:2px solid transparent;outline-offset:2px;z-index:1}:host(:focus:not([disabled])) .day{-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}:host([selected]) .day{font-weight:var(--calcite-font-weight-medium);background-color:var(--calcite-ui-brand) !important;color:var(--calcite-ui-foreground-1) !important;z-index:1}:host([range][selected]) .day-wrapper{background-color:var(--calcite-ui-foreground-current)}:host([start-of-range]) .day-wrapper{border-start-start-radius:40%;border-end-start-radius:40%}:host([end-of-range]) .day-wrapper{border-start-end-radius:40%;border-end-end-radius:40%}:host([start-of-range]) :not(.calcite--rtl) .day-wrapper,:host([end-of-range]) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 4px 0 var(--calcite-ui-foreground-1);box-shadow:inset 4px 0 var(--calcite-ui-foreground-1)}:host([start-of-range]) :not(.calcite--rtl) .day,:host([end-of-range]) .calcite--rtl .day{opacity:1}:host([start-of-range]:not(:focus)) :not(.calcite--rtl) .day,:host([end-of-range]:not(:focus)) .calcite--rtl .day{-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host([end-of-range]) :not(.calcite--rtl) .day-wrapper,:host([start-of-range]) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -4px 0 var(--calcite-ui-foreground-1);box-shadow:inset -4px 0 var(--calcite-ui-foreground-1)}:host([end-of-range]) :not(.calcite--rtl) .day,:host([start-of-range]) .calcite--rtl .day{opacity:1}:host([end-of-range]:not(:focus)) :not(.calcite--rtl) .day,:host([start-of-range]:not(:focus)) .calcite--rtl .day{-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host([end-of-range][scale=l]) :not(.calcite--rtl) .day-wrapper,:host([start-of-range][scale=l]) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -8px 0 var(--calcite-ui-foreground-1);box-shadow:inset -8px 0 var(--calcite-ui-foreground-1)}:host([start-of-range][scale=l]) :not(.calcite--rtl) .day-wrapper,:host([end-of-range][scale=l]) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 8px 0 var(--calcite-ui-foreground-1);box-shadow:inset 8px 0 var(--calcite-ui-foreground-1)}:host([highlighted]) .day-wrapper{background-color:var(--calcite-ui-foreground-current)}:host([highlighted]) .day-wrapper .day{color:var(--calcite-ui-text-1)}:host([highlighted]:not([active]:focus)) .day{border-radius:0px;color:var(--calcite-ui-text-1)}:host([range-hover]:not([selected])) .day-wrapper{background-color:var(--calcite-ui-foreground-2)}:host([range-hover]:not([selected])) .day{border-radius:0px}:host([end-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host([start-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-2)), to(var(--calcite-ui-foreground-2)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([start-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host([end-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, right top, left top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-2)), to(var(--calcite-ui-foreground-2)));background-image:linear-gradient(to left, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host(:hover[end-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host(:hover[start-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-1)), to(var(--calcite-ui-foreground-1)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host(:hover[start-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host(:hover[end-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, right top, left top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-1)), to(var(--calcite-ui-foreground-1)));background-image:linear-gradient(to left, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host(:hover[range-hover]:not([selected]).focused--end) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--start) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-2)), color-stop(var(--calcite-ui-foreground-2)), color-stop(var(--calcite-ui-foreground-current)), to(var(--calcite-ui-foreground-current)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current))}:host(:hover[range-hover]:not([selected]).focused--end) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--start) .calcite--rtl .day{border-radius:9999px;opacity:1;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[range-hover]:not([selected]).focused--start) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--end) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-2)), to(var(--calcite-ui-foreground-2)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2))}:host(:hover[range-hover]:not([selected]).focused--start) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--end) .calcite--rtl .day{border-radius:9999px;opacity:1;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-1)), color-stop(var(--calcite-ui-foreground-1)), color-stop(var(--calcite-ui-foreground-2)), to(var(--calcite-ui-foreground-2)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2))}:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) .calcite--rtl .day{border-radius:9999px;opacity:1;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-2)), color-stop(var(--calcite-ui-foreground-2)), color-stop(var(--calcite-ui-foreground-1)), to(var(--calcite-ui-foreground-1)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1))}:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) .calcite--rtl .day{border-radius:9999px;opacity:1;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[start-of-range].hover--inside-range.focused--end) .day-wrapper,:host(:hover[end-of-range].hover--inside-range.focused--start) .day-wrapper{background-image:none}:host([start-of-range].hover--inside-range.focused--end) .day-wrapper,:host([end-of-range].hover--inside-range.focused--start) .day-wrapper{background-color:var(--calcite-ui-foreground-2)}:host([highlighted]:last-child) :not(.calcite--rtl) .day-wrapper,:host([range-hover]:last-child) :not(.calcite--rtl) .day-wrapper,:host([highlighted]:first-child) .calcite--rtl .day-wrapper,:host([range-hover]:first-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -4px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset -4px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([highlighted]:first-child) :not(.calcite--rtl) .day-wrapper,:host([range-hover]:first-child) :not(.calcite--rtl) .day-wrapper,:host([highlighted]:last-child) .calcite--rtl .day-wrapper,:host([range-hover]:last-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 4px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset 4px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=s][highlighted]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][range-hover]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][highlighted]:first-child) .calcite--rtl .day-wrapper,:host([scale=s][range-hover]:first-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -1px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset -1px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=s][highlighted]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][range-hover]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][highlighted]:last-child) .calcite--rtl .day-wrapper,:host([scale=s][range-hover]:last-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 1px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset 1px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=l][highlighted]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][range-hover]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][highlighted]:last-child) .calcite--rtl .day-wrapper,:host([scale=l][range-hover]:last-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 6px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset 6px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([highlighted]:first-child) .day-wrapper,:host([range-hover]:first-child) .day-wrapper{border-start-start-radius:45%;border-end-start-radius:45%}:host([highlighted]:last-child) .day-wrapper,:host([range-hover]:last-child) .day-wrapper{border-start-end-radius:45%;border-end-end-radius:45%}:host([scale=l][highlighted]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][range-hover]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][highlighted]:first-child) .calcite--rtl .day-wrapper,:host([scale=l][range-hover]:first-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -6px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset -6px 0px 0px 0px var(--calcite-ui-foreground-1)}@media (forced-colors: active){:host(:hover:not([disabled])) .day,:host([active]:not([range])) .day{border-radius:0px}:host([selected]){outline:2px solid canvasText;z-index:1}:host([selected]) .day{border-radius:0px}:host([selected]) .day{background-color:highlight}:host([range][selected]) .day-wrapper,:host([highlighted]) .day-wrapper,:host([range-hover]:not([selected])) .day-wrapper{background-color:highlight}:host([range][selected][start-of-range]) .day-wrapper,:host([range][selected][end-of-range]) .day-wrapper{background-color:canvas}}";
9
+ const datePickerDayCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;min-width:0px;cursor:pointer;-ms-flex-pack:center;justify-content:center;color:var(--calcite-ui-text-3);width:14.2857142857%}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.day-v-wrapper{-ms-flex:1 1 auto;flex:1 1 auto}.day-wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center}.day{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border-radius:9999px;font-size:var(--calcite-font-size--2);line-height:1rem;line-height:1;color:var(--calcite-ui-text-3);opacity:var(--calcite-ui-opacity-disabled);-webkit-transition-property:all;transition-property:all;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;background:none;-webkit-box-shadow:0 0 0 2px transparent, 0 0 0 0px transparent;box-shadow:0 0 0 2px transparent, 0 0 0 0px transparent}.text{margin-top:1px;margin-right:0px;margin-bottom:0px;margin-left:1px}:host([scale=s]) .day-v-wrapper{padding-top:0.125rem;padding-bottom:0.125rem}:host([scale=s]) .day-wrapper{padding:0px}:host([scale=s]) .day{height:27px;width:27px;font-size:var(--calcite-font-size--2)}:host([scale=m]) .day-v-wrapper{padding-top:0.25rem;padding-bottom:0.25rem}:host([scale=m]) .day-wrapper{padding-left:0.25rem;padding-right:0.25rem}:host([scale=m]) .day{height:33px;width:33px;font-size:var(--calcite-font-size--1)}:host([scale=l]) .day-v-wrapper{padding-top:0.25rem;padding-bottom:0.25rem}:host([scale=l]) .day-wrapper{padding-left:0.25rem;padding-right:0.25rem}:host([scale=l]) .day{height:43px;width:43px;font-size:var(--calcite-font-size-0)}:host([current-month]) .day{opacity:1}:host(:hover:not([disabled])) .day,:host([active]:not([range])) .day{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}:host(:focus),:host([active]){outline:2px solid transparent;outline-offset:2px;z-index:1}:host(:focus:not([disabled])) .day{-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}:host([selected]) .day{font-weight:var(--calcite-font-weight-medium);background-color:var(--calcite-ui-brand) !important;color:var(--calcite-ui-foreground-1) !important;z-index:1}:host([range][selected]) .day-wrapper{background-color:var(--calcite-ui-foreground-current)}:host([start-of-range]) .day-wrapper{border-start-start-radius:40%;border-end-start-radius:40%}:host([end-of-range]) .day-wrapper{border-start-end-radius:40%;border-end-end-radius:40%}:host([start-of-range]) :not(.calcite--rtl) .day-wrapper,:host([end-of-range]) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 4px 0 var(--calcite-ui-foreground-1);box-shadow:inset 4px 0 var(--calcite-ui-foreground-1)}:host([start-of-range]) :not(.calcite--rtl) .day,:host([end-of-range]) .calcite--rtl .day{opacity:1}:host([start-of-range]:not(:focus)) :not(.calcite--rtl) .day,:host([end-of-range]:not(:focus)) .calcite--rtl .day{-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host([end-of-range]) :not(.calcite--rtl) .day-wrapper,:host([start-of-range]) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -4px 0 var(--calcite-ui-foreground-1);box-shadow:inset -4px 0 var(--calcite-ui-foreground-1)}:host([end-of-range]) :not(.calcite--rtl) .day,:host([start-of-range]) .calcite--rtl .day{opacity:1}:host([end-of-range]:not(:focus)) :not(.calcite--rtl) .day,:host([start-of-range]:not(:focus)) .calcite--rtl .day{-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host([end-of-range][scale=l]) :not(.calcite--rtl) .day-wrapper,:host([start-of-range][scale=l]) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -8px 0 var(--calcite-ui-foreground-1);box-shadow:inset -8px 0 var(--calcite-ui-foreground-1)}:host([start-of-range][scale=l]) :not(.calcite--rtl) .day-wrapper,:host([end-of-range][scale=l]) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 8px 0 var(--calcite-ui-foreground-1);box-shadow:inset 8px 0 var(--calcite-ui-foreground-1)}:host([highlighted]) .day-wrapper{background-color:var(--calcite-ui-foreground-current)}:host([highlighted]) .day-wrapper .day{color:var(--calcite-ui-text-1)}:host([highlighted]:not([active]:focus)) .day{border-radius:0px;color:var(--calcite-ui-text-1)}:host([range-hover]:not([selected])) .day-wrapper{background-color:var(--calcite-ui-foreground-2)}:host([range-hover]:not([selected])) .day{border-radius:0px}:host([end-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host([start-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-2)), to(var(--calcite-ui-foreground-2)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([start-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host([end-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, right top, left top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-2)), to(var(--calcite-ui-foreground-2)));background-image:linear-gradient(to left, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host(:hover[end-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host(:hover[start-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-1)), to(var(--calcite-ui-foreground-1)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host(:hover[start-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host(:hover[end-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, right top, left top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-1)), to(var(--calcite-ui-foreground-1)));background-image:linear-gradient(to left, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host(:hover[range-hover]:not([selected]).focused--end) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--start) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-2)), color-stop(var(--calcite-ui-foreground-2)), color-stop(var(--calcite-ui-foreground-current)), to(var(--calcite-ui-foreground-current)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current))}:host(:hover[range-hover]:not([selected]).focused--end) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--start) .calcite--rtl .day{border-radius:9999px;opacity:1;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[range-hover]:not([selected]).focused--start) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--end) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-current)), color-stop(var(--calcite-ui-foreground-2)), to(var(--calcite-ui-foreground-2)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2))}:host(:hover[range-hover]:not([selected]).focused--start) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--end) .calcite--rtl .day{border-radius:9999px;opacity:1;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-1)), color-stop(var(--calcite-ui-foreground-1)), color-stop(var(--calcite-ui-foreground-2)), to(var(--calcite-ui-foreground-2)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2))}:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) .calcite--rtl .day{border-radius:9999px;opacity:1;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) .calcite--rtl .day-wrapper{background-image:-webkit-gradient(linear, left top, right top, from(var(--calcite-ui-foreground-2)), color-stop(var(--calcite-ui-foreground-2)), color-stop(var(--calcite-ui-foreground-1)), to(var(--calcite-ui-foreground-1)));background-image:linear-gradient(to right, var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1))}:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) .calcite--rtl .day{border-radius:9999px;opacity:1;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[start-of-range].hover--inside-range.focused--end) .day-wrapper,:host(:hover[end-of-range].hover--inside-range.focused--start) .day-wrapper{background-image:none}:host([start-of-range].hover--inside-range.focused--end) .day-wrapper,:host([end-of-range].hover--inside-range.focused--start) .day-wrapper{background-color:var(--calcite-ui-foreground-2)}:host([highlighted]:last-child) :not(.calcite--rtl) .day-wrapper,:host([range-hover]:last-child) :not(.calcite--rtl) .day-wrapper,:host([highlighted]:first-child) .calcite--rtl .day-wrapper,:host([range-hover]:first-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -4px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset -4px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([highlighted]:first-child) :not(.calcite--rtl) .day-wrapper,:host([range-hover]:first-child) :not(.calcite--rtl) .day-wrapper,:host([highlighted]:last-child) .calcite--rtl .day-wrapper,:host([range-hover]:last-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 4px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset 4px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=s][highlighted]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][range-hover]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][highlighted]:first-child) .calcite--rtl .day-wrapper,:host([scale=s][range-hover]:first-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -1px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset -1px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=s][highlighted]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][range-hover]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][highlighted]:last-child) .calcite--rtl .day-wrapper,:host([scale=s][range-hover]:last-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 1px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset 1px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=l][highlighted]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][range-hover]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][highlighted]:last-child) .calcite--rtl .day-wrapper,:host([scale=l][range-hover]:last-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset 6px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset 6px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([highlighted]:first-child) .day-wrapper,:host([range-hover]:first-child) .day-wrapper{border-start-start-radius:45%;border-end-start-radius:45%}:host([highlighted]:last-child) .day-wrapper,:host([range-hover]:last-child) .day-wrapper{border-start-end-radius:45%;border-end-end-radius:45%}:host([scale=l][highlighted]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][range-hover]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][highlighted]:first-child) .calcite--rtl .day-wrapper,:host([scale=l][range-hover]:first-child) .calcite--rtl .day-wrapper{-webkit-box-shadow:inset -6px 0px 0px 0px var(--calcite-ui-foreground-1);box-shadow:inset -6px 0px 0px 0px var(--calcite-ui-foreground-1)}@media (forced-colors: active){:host(:hover:not([disabled])) .day,:host([active]:not([range])) .day{border-radius:0px}:host([selected]){outline:2px solid canvasText;z-index:1}:host([selected]) .day{border-radius:0px}:host([selected]) .day{background-color:highlight}:host([range][selected]) .day-wrapper,:host([highlighted]) .day-wrapper,:host([range-hover]:not([selected])) .day-wrapper{background-color:highlight}:host([range][selected][start-of-range]) .day-wrapper,:host([range][selected][end-of-range]) .day-wrapper{background-color:canvas}}";
9
10
 
10
- let DatePickerDay = class extends HTMLElement {
11
+ const DatePickerDay = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
11
12
  constructor() {
12
13
  super();
13
14
  this.__registerHost();
@@ -63,12 +64,17 @@ let DatePickerDay = class extends HTMLElement {
63
64
  .map((i) => this.localeData.numerals[i])
64
65
  .join("");
65
66
  const dir = getElementDir(this.el);
66
- return (h(Host, { onClick: this.onClick, onKeyDown: this.keyDownHandler, role: "gridcell", tabindex: this.active ? 0 : -1 }, h("div", { class: { "day-v-wrapper": true, [CSS_UTILITY.rtl]: dir === "rtl" } }, h("div", { class: "day-wrapper" }, h("span", { class: "day" }, h("span", { class: "text" }, formattedDay))))));
67
+ return (h(Host, { onClick: this.onClick, onKeyDown: this.keyDownHandler, role: "gridcell" }, h("div", { class: { "day-v-wrapper": true, [CSS_UTILITY.rtl]: dir === "rtl" } }, h("div", { class: "day-wrapper" }, h("span", { class: "day" }, h("span", { class: "text" }, formattedDay))))));
68
+ }
69
+ componentDidRender() {
70
+ updateHostInteraction(this, this.isTabbable);
71
+ }
72
+ isTabbable() {
73
+ return this.active;
67
74
  }
68
75
  get el() { return this; }
69
76
  static get style() { return datePickerDayCss; }
70
- };
71
- DatePickerDay = /*@__PURE__*/ proxyCustomElement(DatePickerDay, [1, "calcite-date-picker-day", {
77
+ }, [1, "calcite-date-picker-day", {
72
78
  "day": [2],
73
79
  "disabled": [516],
74
80
  "currentMonth": [516, "current-month"],
@@ -2,14 +2,14 @@
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
- import { HTMLElement, createEvent, h, Fragment, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { proxyCustomElement, HTMLElement, createEvent, h, Fragment } from '@stencil/core/internal/client';
6
6
  import { l as localizeNumber, c as getOrder, b as dateFromRange, n as nextMonth, p as prevMonth, e as parseNumber } from './date.js';
7
7
  import { H as Heading } from './Heading.js';
8
8
  import { d as defineCustomElement$1 } from './icon.js';
9
9
 
10
10
  const datePickerMonthHeaderCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block}.header{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;padding-top:0px;padding-bottom:0px;padding-left:0.25rem;padding-right:0.25rem}:host([scale=s]) .text{margin-top:0.5rem;margin-bottom:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=s]) .chevron{height:2.25rem}:host([scale=m]) .text{margin-top:0.75rem;margin-bottom:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=m]) .chevron{height:3rem}:host([scale=l]) .text{margin-top:1rem;margin-bottom:1rem;font-size:var(--calcite-font-size-1);line-height:1.5rem}:host([scale=l]) .chevron{height:3.5rem}.chevron{margin-left:-0.25rem;margin-right:-0.25rem;-webkit-box-sizing:content-box;box-sizing:content-box;display:-ms-flexbox;display:flex;-ms-flex-positive:0;flex-grow:0;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border-style:none;background-color:var(--calcite-ui-foreground-1);padding-left:0.25rem;padding-right:0.25rem;color:var(--calcite-ui-text-3);outline:2px solid transparent;outline-offset:2px;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;width:14.2857142857%}.chevron:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.chevron:hover,.chevron:focus{background-color:var(--calcite-ui-foreground-2);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}.chevron:active{background-color:var(--calcite-ui-foreground-3)}.chevron[aria-disabled=true]{pointer-events:none;opacity:0}.text{margin-top:auto;margin-bottom:auto;width:100%;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;text-align:center;line-height:1}.text-nreverse{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.month,.year,.suffix{margin-left:0.25rem;margin-right:0.25rem;margin-top:auto;margin-bottom:auto;display:inline-block;background-color:var(--calcite-ui-foreground-1);font-weight:var(--calcite-font-weight-medium);line-height:1.25;color:var(--calcite-ui-text-1);font-size:inherit}.year{position:relative;width:3rem;border-style:none;background-color:transparent;text-align:center;font-family:inherit;outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;z-index:2}.year:hover{-webkit-transition-duration:100ms;transition-duration:100ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-property:outline-color;transition-property:outline-color;outline:2px solid var(--calcite-ui-border-2);outline-offset:2px}.year:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.year--suffix{width:4rem;text-align:left}.year-wrap{position:relative}.suffix{position:absolute;top:0px;left:0px;width:4rem;white-space:nowrap;text-align:left}.suffix__invisible{visibility:hidden}";
11
11
 
12
- let DatePickerMonthHeader = class extends HTMLElement {
12
+ const DatePickerMonthHeader = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
13
13
  constructor() {
14
14
  super();
15
15
  this.__registerHost();
@@ -132,8 +132,7 @@ let DatePickerMonthHeader = class extends HTMLElement {
132
132
  "activeDate": ["setNextPrevMonthDates"]
133
133
  }; }
134
134
  static get style() { return datePickerMonthHeaderCss; }
135
- };
136
- DatePickerMonthHeader = /*@__PURE__*/ proxyCustomElement(DatePickerMonthHeader, [1, "calcite-date-picker-month-header", {
135
+ }, [1, "calcite-date-picker-month-header", {
137
136
  "selectedDate": [16],
138
137
  "activeDate": [16],
139
138
  "headingLevel": [2, "heading-level"],
@@ -2,13 +2,13 @@
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
- import { HTMLElement, createEvent, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
6
6
  import { s as sameDate, b as dateFromRange, i as inRange } from './date.js';
7
7
  import { d as defineCustomElement$1 } from './date-picker-day.js';
8
8
 
9
9
  const datePickerMonthCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}.calender{margin-bottom:0.25rem}.week-headers{display:-ms-flexbox;display:flex;border-width:0px;border-top-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-top:0px;padding-bottom:0px;padding-left:0.25rem;padding-right:0.25rem}.week-header{text-align:center;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-3);width:14.2857142857%}:host([scale=s]) .week-header{padding-left:0px;padding-right:0px;padding-top:0.5rem;padding-bottom:0.75rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]) .week-header{padding-left:0px;padding-right:0px;padding-top:0.75rem;padding-bottom:1rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=l]) .week-header{padding-left:0px;padding-right:0px;padding-top:1rem;padding-bottom:1.25rem;font-size:var(--calcite-font-size--1);line-height:1rem}.week-days{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;padding-top:0px;padding-bottom:0px;padding-left:6px;padding-right:6px}.week-days:focus{outline:2px solid transparent;outline-offset:2px}";
10
10
 
11
- let DatePickerMonth = class extends HTMLElement {
11
+ const DatePickerMonth = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
12
12
  constructor() {
13
13
  super();
14
14
  this.__registerHost();
@@ -278,8 +278,7 @@ let DatePickerMonth = class extends HTMLElement {
278
278
  }
279
279
  get el() { return this; }
280
280
  static get style() { return datePickerMonthCss; }
281
- };
282
- DatePickerMonth = /*@__PURE__*/ proxyCustomElement(DatePickerMonth, [1, "calcite-date-picker-month", {
281
+ }, [1, "calcite-date-picker-month", {
283
282
  "selectedDate": [16],
284
283
  "activeDate": [16],
285
284
  "startDate": [16],
@@ -2,7 +2,7 @@
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
- import { getAssetPath, HTMLElement, createEvent, h, Host, Build, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { getAssetPath, proxyCustomElement, HTMLElement, createEvent, h, Host, Build } from '@stencil/core/internal/client';
6
6
  import { a as locales } from './locale.js';
7
7
  import { g as getDaysDiff, d as dateToISO, a as dateFromISO, b as dateFromRange } from './date.js';
8
8
  import { d as defineCustomElement$4 } from './date-picker-day.js';
@@ -71,7 +71,7 @@ const TEXT = {
71
71
 
72
72
  const datePickerCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:inline-block;width:100%;overflow:visible;border-radius:0px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-1);vertical-align:top}:host([scale=s]){max-width:216px}:host([scale=m]){max-width:286px}:host([scale=l]){max-width:398px}";
73
73
 
74
- let DatePicker = class extends HTMLElement {
74
+ const DatePicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
75
75
  constructor() {
76
76
  super();
77
77
  this.__registerHost();
@@ -461,8 +461,7 @@ let DatePicker = class extends HTMLElement {
461
461
  "locale": ["loadLocaleData"]
462
462
  }; }
463
463
  static get style() { return datePickerCss; }
464
- };
465
- DatePicker = /*@__PURE__*/ proxyCustomElement(DatePicker, [1, "calcite-date-picker", {
464
+ }, [1, "calcite-date-picker", {
466
465
  "activeRange": [1, "active-range"],
467
466
  "value": [1025],
468
467
  "headingLevel": [2, "heading-level"],
@@ -2,19 +2,19 @@
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
- import { HTMLElement, createEvent, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
6
6
  import { b as getSlotted, f as focusElement } from './dom.js';
7
- import { C as CSS, u as updatePopper, c as createPopper } from './popper.js';
7
+ import { a as defaultMenuPlacement, C as CSS, u as updatePopper, c as createPopper, p as popperMenuFlipPlacements } from './popper.js';
8
8
  import { c as createObserver } from './observers.js';
9
+ import { u as updateHostInteraction } from './interactive.js';
9
10
 
10
- const DefaultDropdownPlacement = "bottom-leading";
11
11
  const SLOTS = {
12
12
  dropdownTrigger: "dropdown-trigger"
13
13
  };
14
14
 
15
- const dropdownCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:0 1 auto;flex:0 1 auto}:host([disabled]){pointer-events:none;opacity:var(--calcite-ui-opacity-disabled)}:host .calcite-dropdown-wrapper{display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0);visibility:hidden;pointer-events:none}.calcite-dropdown-wrapper .calcite-popper-anim{position:relative;z-index:1;-webkit-transition:var(--calcite-popper-transition);transition:var(--calcite-popper-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);border-radius:0.25rem}.calcite-dropdown-wrapper[data-popper-placement^=bottom] .calcite-popper-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}.calcite-dropdown-wrapper[data-popper-placement^=top] .calcite-popper-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}.calcite-dropdown-wrapper[data-popper-placement^=left] .calcite-popper-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}.calcite-dropdown-wrapper[data-popper-placement^=right] .calcite-popper-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}.calcite-dropdown-wrapper[data-popper-placement] .calcite-popper-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}:host([active]) .calcite-dropdown-wrapper{pointer-events:initial;visibility:visible}:host .calcite-dropdown-content{width:auto;overflow-y:auto;overflow-x:hidden;background-color:var(--calcite-ui-foreground-1);max-height:90vh;width:var(--calcite-dropdown-width)}.calcite-dropdown-trigger-container{position:relative;display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto}:host([width=s]){--calcite-dropdown-width:12rem}:host([width=m]){--calcite-dropdown-width:14rem}:host([width=l]){--calcite-dropdown-width:16rem}";
15
+ const dropdownCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:0 1 auto;flex:0 1 auto}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host .calcite-dropdown-wrapper{display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0);visibility:hidden;pointer-events:none}.calcite-dropdown-wrapper .calcite-popper-anim{position:relative;z-index:1;-webkit-transition:var(--calcite-popper-transition);transition:var(--calcite-popper-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);border-radius:0.25rem}.calcite-dropdown-wrapper[data-popper-placement^=bottom] .calcite-popper-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}.calcite-dropdown-wrapper[data-popper-placement^=top] .calcite-popper-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}.calcite-dropdown-wrapper[data-popper-placement^=left] .calcite-popper-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}.calcite-dropdown-wrapper[data-popper-placement^=right] .calcite-popper-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}.calcite-dropdown-wrapper[data-popper-placement] .calcite-popper-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}:host([active]) .calcite-dropdown-wrapper{pointer-events:initial;visibility:visible}:host .calcite-dropdown-content{width:auto;overflow-y:auto;overflow-x:hidden;background-color:var(--calcite-ui-foreground-1);max-height:90vh;width:var(--calcite-dropdown-width)}.calcite-dropdown-trigger-container{position:relative;display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto}:host([width=s]){--calcite-dropdown-width:12rem}:host([width=m]){--calcite-dropdown-width:14rem}:host([width=l]){--calcite-dropdown-width:16rem}";
16
16
 
17
- let Dropdown = class extends HTMLElement {
17
+ const Dropdown = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
18
18
  constructor() {
19
19
  super();
20
20
  this.__registerHost();
@@ -47,7 +47,7 @@ let Dropdown = class extends HTMLElement {
47
47
  * Determines where the dropdown will be positioned relative to the button.
48
48
  * @default "bottom-leading"
49
49
  */
50
- this.placement = DefaultDropdownPlacement;
50
+ this.placement = defaultMenuPlacement;
51
51
  /** specify the scale of dropdown, defaults to m */
52
52
  this.scale = "m";
53
53
  /**
@@ -107,25 +107,22 @@ let Dropdown = class extends HTMLElement {
107
107
  };
108
108
  this.keyDownHandler = (e) => {
109
109
  const target = e.target;
110
+ if (target !== this.referenceEl) {
111
+ return;
112
+ }
110
113
  const key = e.key;
111
- if (this.triggers.includes(target) ||
112
- this.triggers.some((trigger) => trigger.contains(target))) {
113
- const ignoredNodeTypes = ["BUTTON", "CALCITE-BUTTON", "CALCITE-ACTION"];
114
- if (ignoredNodeTypes.includes(target.nodeName)) {
115
- if (this.active && (key === "Escape" || (e.shiftKey && key === "Tab"))) {
116
- this.closeCalciteDropdown();
117
- }
118
- return;
119
- }
120
- switch (key) {
121
- case " ":
122
- case "Enter":
123
- this.openCalciteDropdown();
124
- break;
125
- case "Escape":
126
- this.closeCalciteDropdown();
127
- break;
128
- }
114
+ if (this.active && (key === "Escape" || (e.shiftKey && key === "Tab"))) {
115
+ this.closeCalciteDropdown();
116
+ return;
117
+ }
118
+ switch (key) {
119
+ case " ":
120
+ case "Enter":
121
+ this.openCalciteDropdown();
122
+ break;
123
+ case "Escape":
124
+ this.closeCalciteDropdown();
125
+ break;
129
126
  }
130
127
  };
131
128
  this.focusOnFirstActiveOrFirstItem = () => {
@@ -143,7 +140,16 @@ let Dropdown = class extends HTMLElement {
143
140
  };
144
141
  }
145
142
  activeHandler() {
146
- this.reposition();
143
+ if (!this.disabled) {
144
+ this.reposition();
145
+ return;
146
+ }
147
+ this.active = false;
148
+ }
149
+ handleDisabledChange(value) {
150
+ if (!value) {
151
+ this.active = false;
152
+ }
147
153
  }
148
154
  maxItemsHandler() {
149
155
  this.setMaxScrollerHeight();
@@ -165,6 +171,9 @@ let Dropdown = class extends HTMLElement {
165
171
  componentDidLoad() {
166
172
  this.reposition();
167
173
  }
174
+ componentDidRender() {
175
+ updateHostInteraction(this);
176
+ }
168
177
  disconnectedCallback() {
169
178
  var _a, _b;
170
179
  (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
@@ -173,7 +182,7 @@ let Dropdown = class extends HTMLElement {
173
182
  }
174
183
  render() {
175
184
  const { active } = this;
176
- return (h(Host, { tabIndex: this.disabled ? -1 : null }, h("div", { class: "calcite-dropdown-trigger-container", onClick: this.openCalciteDropdown, onKeyDown: this.keyDownHandler, ref: this.setReferenceEl }, h("slot", { "aria-expanded": active.toString(), "aria-haspopup": "true", name: SLOTS.dropdownTrigger })), h("div", { "aria-hidden": (!active).toString(), class: "calcite-dropdown-wrapper", ref: this.setMenuEl }, h("div", { class: {
185
+ return (h(Host, null, h("div", { class: "calcite-dropdown-trigger-container", onClick: this.openCalciteDropdown, onKeyDown: this.keyDownHandler, ref: this.setReferenceEl }, h("slot", { "aria-expanded": active.toString(), "aria-haspopup": "true", name: SLOTS.dropdownTrigger })), h("div", { "aria-hidden": (!active).toString(), class: "calcite-dropdown-wrapper", ref: this.setMenuEl }, h("div", { class: {
177
186
  ["calcite-dropdown-content"]: true,
178
187
  [CSS.animation]: true,
179
188
  [CSS.animationActive]: active
@@ -201,7 +210,7 @@ let Dropdown = class extends HTMLElement {
201
210
  if (!this.active || e.composedPath().includes(this.el)) {
202
211
  return;
203
212
  }
204
- this.closeCalciteDropdown();
213
+ this.closeCalciteDropdown(false);
205
214
  }
206
215
  closeCalciteDropdownOnEvent() {
207
216
  this.closeCalciteDropdown();
@@ -274,9 +283,13 @@ let Dropdown = class extends HTMLElement {
274
283
  enabled: true
275
284
  };
276
285
  flipModifier.options = {
277
- fallbackPlacements: ["top-start", "top", "top-end", "bottom-start", "bottom", "bottom-end"]
286
+ fallbackPlacements: this.flipPlacements || popperMenuFlipPlacements
287
+ };
288
+ const eventListenerModifier = {
289
+ name: "eventListeners",
290
+ enabled: this.active
278
291
  };
279
- return [flipModifier];
292
+ return [flipModifier, eventListenerModifier];
280
293
  }
281
294
  createPopper() {
282
295
  this.destroyPopper();
@@ -325,9 +338,11 @@ let Dropdown = class extends HTMLElement {
325
338
  });
326
339
  return maxScrollerHeight;
327
340
  }
328
- closeCalciteDropdown() {
341
+ closeCalciteDropdown(focusTrigger = true) {
329
342
  this.active = false;
330
- focusElement(this.triggers[0]);
343
+ if (focusTrigger) {
344
+ focusElement(this.triggers[0]);
345
+ }
331
346
  }
332
347
  focusFirstItem() {
333
348
  const firstItem = this.items[0];
@@ -362,15 +377,16 @@ let Dropdown = class extends HTMLElement {
362
377
  get el() { return this; }
363
378
  static get watchers() { return {
364
379
  "active": ["activeHandler"],
380
+ "disabled": ["handleDisabledChange"],
365
381
  "maxItems": ["maxItemsHandler"],
366
382
  "placement": ["placementHandler"]
367
383
  }; }
368
384
  static get style() { return dropdownCss; }
369
- };
370
- Dropdown = /*@__PURE__*/ proxyCustomElement(Dropdown, [1, "calcite-dropdown", {
385
+ }, [1, "calcite-dropdown", {
371
386
  "active": [1540],
372
387
  "disableCloseOnSelect": [516, "disable-close-on-select"],
373
388
  "disabled": [516],
389
+ "flipPlacements": [16],
374
390
  "maxItems": [2, "max-items"],
375
391
  "overlayPositioning": [1, "overlay-positioning"],
376
392
  "placement": [513],
@@ -2,13 +2,12 @@
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
- import { HTMLElement, createEvent, h, Fragment, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { proxyCustomElement, HTMLElement, createEvent, h, Fragment } from '@stencil/core/internal/client';
6
6
  import { f as focusElement } from './dom.js';
7
- import { d as defineCustomElement$5 } from './icon.js';
8
- import { d as defineCustomElement$4 } from './input.js';
9
- import { d as defineCustomElement$3 } from './loader.js';
10
- import { d as defineCustomElement$2 } from './progress.js';
11
- import { d as defineCustomElement$1 } from './scrim.js';
7
+ import { u as updateHostInteraction } from './interactive.js';
8
+ import { d as defineCustomElement$3 } from './icon.js';
9
+ import { d as defineCustomElement$2 } from './input.js';
10
+ import { d as defineCustomElement$1 } from './progress.js';
12
11
  import { d as debounce } from './debounce.js';
13
12
  import { f as forIn } from './forIn.js';
14
13
 
@@ -26,15 +25,27 @@ const ICONS = {
26
25
  close: "x"
27
26
  };
28
27
 
29
- const filterCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;width:100%}.container{display:-ms-flexbox;display:flex;width:100%;padding:0.5rem}label{position:relative;margin-left:0.25rem;margin-right:0.25rem;margin-top:0px;margin-bottom:0px;display:-ms-flexbox;display:flex;width:100%;-ms-flex-align:center;align-items:center;overflow:hidden}input[type=text]{margin-bottom:0.25rem;width:100%;border-style:none;background-color:transparent;padding-top:0.25rem;padding-bottom:0.25rem;padding-right:0.25rem;padding-left:1.5rem;font-family:inherit;font-size:var(--calcite-font-size--2);line-height:1rem;color:var(--calcite-ui-text-1);-webkit-transition:padding var(--calcite-animation-timing), -webkit-box-shadow var(--calcite-animation-timing);transition:padding var(--calcite-animation-timing), -webkit-box-shadow var(--calcite-animation-timing);transition:padding var(--calcite-animation-timing), box-shadow var(--calcite-animation-timing);transition:padding var(--calcite-animation-timing), box-shadow var(--calcite-animation-timing), -webkit-box-shadow var(--calcite-animation-timing)}input[type=text]::-ms-clear{display:none}calcite-input{width:100%}.search-icon{position:absolute;display:-ms-flexbox;display:flex;color:var(--calcite-ui-text-2);inset-inline-start:0;-webkit-transition:left var(--calcite-animation-timing), right var(--calcite-animation-timing), opacity var(--calcite-animation-timing);transition:left var(--calcite-animation-timing), right var(--calcite-animation-timing), opacity var(--calcite-animation-timing)}input[type=text]:focus{border-color:var(--calcite-ui-brand);outline:2px solid transparent;outline-offset:2px;padding-inline:0.25rem}input[type=text]:focus~.search-icon{inset-inline-start:calc(1rem * -1);opacity:0}.clear-button{display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;border-width:0px;background-color:transparent;color:var(--calcite-ui-text-2)}.clear-button:hover,.clear-button:focus{color:var(--calcite-ui-text-1)}";
28
+ const filterCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;width:100%}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{display:-ms-flexbox;display:flex;width:100%;padding:0.5rem}label{position:relative;margin-left:0.25rem;margin-right:0.25rem;margin-top:0px;margin-bottom:0px;display:-ms-flexbox;display:flex;width:100%;-ms-flex-align:center;align-items:center;overflow:hidden}input[type=text]{margin-bottom:0.25rem;width:100%;border-style:none;background-color:transparent;padding-top:0.25rem;padding-bottom:0.25rem;padding-right:0.25rem;padding-left:1.5rem;font-family:inherit;font-size:var(--calcite-font-size--2);line-height:1rem;color:var(--calcite-ui-text-1);-webkit-transition:padding var(--calcite-animation-timing), -webkit-box-shadow var(--calcite-animation-timing);transition:padding var(--calcite-animation-timing), -webkit-box-shadow var(--calcite-animation-timing);transition:padding var(--calcite-animation-timing), box-shadow var(--calcite-animation-timing);transition:padding var(--calcite-animation-timing), box-shadow var(--calcite-animation-timing), -webkit-box-shadow var(--calcite-animation-timing)}input[type=text]::-ms-clear{display:none}calcite-input{width:100%}.search-icon{position:absolute;display:-ms-flexbox;display:flex;color:var(--calcite-ui-text-2);inset-inline-start:0;-webkit-transition:left var(--calcite-animation-timing), right var(--calcite-animation-timing), opacity var(--calcite-animation-timing);transition:left var(--calcite-animation-timing), right var(--calcite-animation-timing), opacity var(--calcite-animation-timing)}input[type=text]:focus{border-color:var(--calcite-ui-brand);outline:2px solid transparent;outline-offset:2px;padding-inline:0.25rem}input[type=text]:focus~.search-icon{inset-inline-start:calc(1rem * -1);opacity:0}.clear-button{display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;border-width:0px;background-color:transparent;color:var(--calcite-ui-text-2)}.clear-button:hover,.clear-button:focus{color:var(--calcite-ui-text-1)}";
30
29
 
31
30
  const filterDebounceInMs = 250;
32
- let Filter = class extends HTMLElement {
31
+ const Filter = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
33
32
  constructor() {
34
33
  super();
35
34
  this.__registerHost();
36
35
  this.__attachShadow();
37
36
  this.calciteFilterChange = createEvent(this, "calciteFilterChange", 7);
37
+ // --------------------------------------------------------------------------
38
+ //
39
+ // Properties
40
+ //
41
+ // --------------------------------------------------------------------------
42
+ /**
43
+ * The items to filter through. The filter uses this as the starting point, and returns items
44
+ * that contain the string entered in the input, using a partial match and recursive search.
45
+ *
46
+ * This property is required.
47
+ */
48
+ this.items = [];
38
49
  /**
39
50
  * When true, disabled prevents interaction. This state shows items with lower opacity/grayed.
40
51
  */
@@ -47,6 +58,10 @@ let Filter = class extends HTMLElement {
47
58
  this.filteredItems = [];
48
59
  /** specify the scale of filter, defaults to m */
49
60
  this.scale = "m";
61
+ /**
62
+ * Filter value.
63
+ */
64
+ this.value = "";
50
65
  // --------------------------------------------------------------------------
51
66
  //
52
67
  // Private Methods
@@ -100,6 +115,22 @@ let Filter = class extends HTMLElement {
100
115
  valueHandler(value) {
101
116
  this.filter(value);
102
117
  }
118
+ //--------------------------------------------------------------------------
119
+ //
120
+ // Lifecycle
121
+ //
122
+ //--------------------------------------------------------------------------
123
+ componentDidRender() {
124
+ updateHostInteraction(this);
125
+ }
126
+ //--------------------------------------------------------------------------
127
+ //
128
+ // Lifecycle
129
+ //
130
+ //--------------------------------------------------------------------------
131
+ componentWillLoad() {
132
+ this.filter(this.value);
133
+ }
103
134
  // --------------------------------------------------------------------------
104
135
  //
105
136
  // Public Methods
@@ -121,9 +152,9 @@ let Filter = class extends HTMLElement {
121
152
  // --------------------------------------------------------------------------
122
153
  render() {
123
154
  const { disabled, scale } = this;
124
- return (h(Fragment, null, disabled ? h("calcite-scrim", null) : null, h("div", { class: CSS.container }, h("label", null, h("calcite-input", { "aria-label": this.intlLabel || TEXT.filterLabel, disabled: this.disabled, icon: ICONS.search, onCalciteInputInput: this.inputHandler, onKeyDown: this.keyDownHandler, placeholder: this.placeholder, ref: (el) => {
155
+ return (h(Fragment, null, h("div", { class: CSS.container }, h("label", null, h("calcite-input", { "aria-label": this.intlLabel || TEXT.filterLabel, disabled: disabled, icon: ICONS.search, onCalciteInputInput: this.inputHandler, onKeyDown: this.keyDownHandler, placeholder: this.placeholder, ref: (el) => {
125
156
  this.textInput = el;
126
- }, scale: scale, type: "text", value: this.value })), this.value ? (h("button", { "aria-label": this.intlClear || TEXT.clear, class: CSS.clearButton, onClick: this.clear }, h("calcite-icon", { icon: ICONS.close, scale: scale }))) : null)));
157
+ }, scale: scale, type: "text", value: this.value })), this.value ? (h("button", { "aria-label": this.intlClear || TEXT.clear, class: CSS.clearButton, disabled: disabled, onClick: this.clear }, h("calcite-icon", { icon: ICONS.close, scale: scale }))) : null)));
127
158
  }
128
159
  get el() { return this; }
129
160
  static get watchers() { return {
@@ -131,8 +162,7 @@ let Filter = class extends HTMLElement {
131
162
  "value": ["valueHandler"]
132
163
  }; }
133
164
  static get style() { return filterCss; }
134
- };
135
- Filter = /*@__PURE__*/ proxyCustomElement(Filter, [1, "calcite-filter", {
165
+ }, [1, "calcite-filter", {
136
166
  "items": [1040],
137
167
  "disabled": [516],
138
168
  "filteredItems": [1040],
@@ -147,7 +177,7 @@ function defineCustomElement() {
147
177
  if (typeof customElements === "undefined") {
148
178
  return;
149
179
  }
150
- const components = ["calcite-filter", "calcite-icon", "calcite-input", "calcite-loader", "calcite-progress", "calcite-scrim"];
180
+ const components = ["calcite-filter", "calcite-icon", "calcite-input", "calcite-progress"];
151
181
  components.forEach(tagName => { switch (tagName) {
152
182
  case "calcite-filter":
153
183
  if (!customElements.get(tagName)) {
@@ -155,26 +185,16 @@ function defineCustomElement() {
155
185
  }
156
186
  break;
157
187
  case "calcite-icon":
158
- if (!customElements.get(tagName)) {
159
- defineCustomElement$5();
160
- }
161
- break;
162
- case "calcite-input":
163
- if (!customElements.get(tagName)) {
164
- defineCustomElement$4();
165
- }
166
- break;
167
- case "calcite-loader":
168
188
  if (!customElements.get(tagName)) {
169
189
  defineCustomElement$3();
170
190
  }
171
191
  break;
172
- case "calcite-progress":
192
+ case "calcite-input":
173
193
  if (!customElements.get(tagName)) {
174
194
  defineCustomElement$2();
175
195
  }
176
196
  break;
177
- case "calcite-scrim":
197
+ case "calcite-progress":
178
198
  if (!customElements.get(tagName)) {
179
199
  defineCustomElement$1();
180
200
  }
@@ -2,7 +2,7 @@
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
- import { HTMLElement, forceUpdate, h, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { proxyCustomElement, HTMLElement, forceUpdate, h } from '@stencil/core/internal/client';
6
6
  import { g as guid } from './guid.js';
7
7
  import { c as createObserver } from './observers.js';
8
8
 
@@ -107,7 +107,7 @@ function area({ data, min, max, t }) {
107
107
 
108
108
  const graphCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block}.svg{fill:currentColor;stroke:transparent;margin:0px;display:block;height:100%;width:100%;padding:0px}.svg .graph-path--highlight{fill:var(--calcite-ui-brand);opacity:0.5}";
109
109
 
110
- let Graph = class extends HTMLElement {
110
+ const Graph = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
111
111
  constructor() {
112
112
  super();
113
113
  this.__registerHost();
@@ -194,8 +194,7 @@ let Graph = class extends HTMLElement {
194
194
  }
195
195
  get el() { return this; }
196
196
  static get style() { return graphCss; }
197
- };
198
- Graph = /*@__PURE__*/ proxyCustomElement(Graph, [1, "calcite-graph", {
197
+ }, [1, "calcite-graph", {
199
198
  "data": [16],
200
199
  "colorStops": [16],
201
200
  "highlightMin": [2, "highlight-min"],