@esri/calcite-components 1.0.0-next.412 → 1.0.0-next.415

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 (492) hide show
  1. package/dist/calcite/assets/icon/clockForward16.json +1 -0
  2. package/dist/calcite/assets/icon/clockForward24.json +1 -0
  3. package/dist/calcite/assets/icon/clockForward32.json +1 -0
  4. package/dist/calcite/assets/icon/contingentValues16.json +1 -0
  5. package/dist/calcite/assets/icon/contingentValues24.json +1 -0
  6. package/dist/calcite/assets/icon/contingentValues32.json +1 -0
  7. package/dist/calcite/assets/icon/creditCard16.json +1 -0
  8. package/dist/calcite/assets/icon/creditCard24.json +1 -0
  9. package/dist/calcite/assets/icon/creditCard32.json +1 -0
  10. package/dist/calcite/assets/icon/credits16.json +1 -1
  11. package/dist/calcite/assets/icon/credits24.json +1 -1
  12. package/dist/calcite/assets/icon/credits32.json +1 -1
  13. package/dist/calcite/assets/icon/keyboard16.json +1 -0
  14. package/dist/calcite/assets/icon/keyboard24.json +1 -0
  15. package/dist/calcite/assets/icon/keyboard32.json +1 -0
  16. package/dist/calcite/assets/icon/premiumContentUserCredit24.json +1 -1
  17. package/dist/calcite/assets/icon/premiumContentUserCredit32.json +1 -1
  18. package/dist/calcite/assets/icon/select16.json +1 -1
  19. package/dist/calcite/assets/icon/select24.json +1 -1
  20. package/dist/calcite/assets/icon/select32.json +1 -1
  21. package/dist/calcite/assets/icon/userDown16.json +1 -0
  22. package/dist/calcite/assets/icon/userDown24.json +1 -0
  23. package/dist/calcite/assets/icon/userDown32.json +1 -0
  24. package/dist/calcite/assets/icon/userKey16.json +1 -0
  25. package/dist/calcite/assets/icon/userKey24.json +1 -0
  26. package/dist/calcite/assets/icon/userKey32.json +1 -0
  27. package/dist/calcite/assets/icon/userMinus16.json +1 -0
  28. package/dist/calcite/assets/icon/userMinus24.json +1 -0
  29. package/dist/calcite/assets/icon/userMinus32.json +1 -0
  30. package/dist/calcite/assets/icon/userUp16.json +1 -0
  31. package/dist/calcite/assets/icon/userUp24.json +1 -0
  32. package/dist/calcite/assets/icon/userUp32.json +1 -0
  33. package/dist/calcite/assets/icon/userX16.json +1 -0
  34. package/dist/calcite/assets/icon/userX24.json +1 -0
  35. package/dist/calcite/assets/icon/userX32.json +1 -0
  36. package/dist/calcite/assets/icon/utilityNetworkTrace16.json +1 -0
  37. package/dist/calcite/assets/icon/utilityNetworkTrace24.json +1 -0
  38. package/dist/calcite/assets/icon/utilityNetworkTrace32.json +1 -0
  39. package/dist/calcite/calcite.esm.js +1 -1
  40. package/dist/calcite/p-00009c01.system.entry.js +5 -0
  41. package/dist/calcite/p-01f877b3.entry.js +5 -0
  42. package/dist/calcite/p-04708565.system.entry.js +5 -0
  43. package/dist/calcite/p-04859cc3.entry.js +5 -0
  44. package/dist/calcite/p-0a565a2a.entry.js +5 -0
  45. package/dist/calcite/p-18d1b401.system.entry.js +5 -0
  46. package/dist/calcite/p-18ea4373.system.js +5 -0
  47. package/dist/calcite/p-190e3d04.entry.js +5 -0
  48. package/dist/calcite/p-1984c1b1.system.entry.js +5 -0
  49. package/dist/calcite/p-1ff6776b.entry.js +5 -0
  50. package/dist/calcite/p-22cef177.entry.js +5 -0
  51. package/dist/calcite/p-24e1de98.entry.js +5 -0
  52. package/dist/calcite/p-2f20293c.system.entry.js +5 -0
  53. package/dist/calcite/p-2fcab9f8.entry.js +5 -0
  54. package/dist/calcite/p-3119ffce.system.js +5 -0
  55. package/dist/calcite/p-31c3b490.system.entry.js +5 -0
  56. package/dist/calcite/p-38b1f6b5.entry.js +5 -0
  57. package/dist/calcite/p-42d258d4.system.entry.js +5 -0
  58. package/dist/calcite/p-4392cf25.system.entry.js +5 -0
  59. package/dist/calcite/p-44032496.system.entry.js +5 -0
  60. package/dist/calcite/p-45dce037.system.entry.js +5 -0
  61. package/dist/calcite/p-467318a0.system.entry.js +5 -0
  62. package/dist/calcite/p-46741fa4.entry.js +5 -0
  63. package/dist/calcite/p-46c177ec.system.entry.js +5 -0
  64. package/dist/calcite/p-4a3a1b46.entry.js +5 -0
  65. package/dist/calcite/p-5653a345.entry.js +5 -0
  66. package/dist/calcite/p-58274475.system.entry.js +5 -0
  67. package/dist/calcite/p-5be670bf.system.entry.js +5 -0
  68. package/dist/calcite/p-5c237680.entry.js +5 -0
  69. package/dist/calcite/p-5d1c8466.entry.js +5 -0
  70. package/dist/calcite/p-614d8925.js +5 -0
  71. package/dist/calcite/p-66a7bd24.system.entry.js +5 -0
  72. package/dist/calcite/p-7375cf4f.system.entry.js +5 -0
  73. package/dist/calcite/p-78bb06e5.system.entry.js +5 -0
  74. package/dist/calcite/p-7ab80118.entry.js +5 -0
  75. package/dist/calcite/p-807e32d8.entry.js +5 -0
  76. package/dist/calcite/p-88f949f4.entry.js +5 -0
  77. package/dist/calcite/p-8afbcf9e.entry.js +5 -0
  78. package/dist/calcite/p-8bb762f9.system.entry.js +5 -0
  79. package/dist/calcite/p-8dbb756d.entry.js +5 -0
  80. package/dist/calcite/p-8e198935.entry.js +5 -0
  81. package/dist/calcite/p-8f93be14.system.js +1 -1
  82. package/dist/calcite/p-9127d01c.entry.js +5 -0
  83. package/dist/calcite/p-93d9d3e7.entry.js +5 -0
  84. package/dist/calcite/p-98962bd9.entry.js +5 -0
  85. package/dist/calcite/p-9a69d12a.system.entry.js +5 -0
  86. package/dist/calcite/p-9b514f77.entry.js +5 -0
  87. package/dist/calcite/p-9e56f30f.system.entry.js +5 -0
  88. package/dist/calcite/p-a400f6dc.system.entry.js +5 -0
  89. package/dist/calcite/p-a72718b5.system.entry.js +5 -0
  90. package/dist/calcite/p-b5afe88b.system.entry.js +5 -0
  91. package/dist/calcite/p-b84e5b34.entry.js +5 -0
  92. package/dist/calcite/p-bce112c4.system.entry.js +5 -0
  93. package/dist/calcite/p-bd38ff21.js +5 -0
  94. package/dist/calcite/p-c5086019.system.entry.js +5 -0
  95. package/dist/calcite/p-c7f36800.system.entry.js +5 -0
  96. package/dist/calcite/p-c82c4418.entry.js +5 -0
  97. package/dist/calcite/p-c908ce40.system.entry.js +5 -0
  98. package/dist/calcite/p-cfb7be80.system.entry.js +5 -0
  99. package/dist/calcite/p-d74ca1cf.system.entry.js +5 -0
  100. package/dist/calcite/p-d74e933c.entry.js +5 -0
  101. package/dist/calcite/p-daf5f04c.system.js +5 -0
  102. package/dist/calcite/p-db73225f.system.entry.js +5 -0
  103. package/dist/calcite/p-e01879bf.js +5 -0
  104. package/dist/calcite/p-e33d149d.system.entry.js +5 -0
  105. package/dist/calcite/p-e8f17533.entry.js +5 -0
  106. package/dist/calcite/p-ea32a5ac.system.entry.js +5 -0
  107. package/dist/calcite/p-eaf79f20.entry.js +5 -0
  108. package/dist/calcite/p-f2433871.entry.js +5 -0
  109. package/dist/calcite/p-f71b551d.entry.js +5 -0
  110. package/dist/calcite/p-fa078a42.entry.js +5 -0
  111. package/dist/cjs/calcite-action.cjs.entry.js +5 -1
  112. package/dist/cjs/calcite-block_2.cjs.entry.js +14 -5
  113. package/dist/cjs/calcite-button.cjs.entry.js +6 -2
  114. package/dist/cjs/calcite-checkbox.cjs.entry.js +6 -2
  115. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +15 -2
  116. package/dist/cjs/calcite-combobox_3.cjs.entry.js +18 -3
  117. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +9 -2
  118. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +22 -6
  119. package/dist/cjs/calcite-fab.cjs.entry.js +10 -1
  120. package/dist/cjs/calcite-filter.cjs.entry.js +36 -3
  121. package/dist/cjs/calcite-graph_2.cjs.entry.js +4 -2
  122. package/dist/cjs/calcite-inline-editable.cjs.entry.js +11 -9
  123. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +21 -4
  124. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +19 -3
  125. package/dist/cjs/calcite-input.cjs.entry.js +6 -2
  126. package/dist/cjs/calcite-label.cjs.entry.js +15 -2
  127. package/dist/cjs/calcite-link.cjs.entry.js +6 -2
  128. package/dist/cjs/calcite-list_3.cjs.entry.js +28 -2
  129. package/dist/cjs/calcite-option_3.cjs.entry.js +6 -2
  130. package/dist/cjs/calcite-panel.cjs.entry.js +12 -3
  131. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +10 -6
  132. package/dist/cjs/calcite-radio-button.cjs.entry.js +6 -2
  133. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +7 -3
  134. package/dist/cjs/calcite-rating.cjs.entry.js +11 -5
  135. package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -1
  136. package/dist/cjs/calcite-split-button.cjs.entry.js +25 -2
  137. package/dist/cjs/calcite-stepper_2.cjs.entry.js +6 -2
  138. package/dist/cjs/calcite-switch.cjs.entry.js +6 -9
  139. package/dist/cjs/calcite-tab_4.cjs.entry.js +6 -3
  140. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +17 -2
  141. package/dist/cjs/calcite-tile.cjs.entry.js +5 -1
  142. package/dist/cjs/calcite-value-list_2.cjs.entry.js +12 -7
  143. package/dist/cjs/calcite.cjs.js +1 -1
  144. package/dist/cjs/interactive-87406231.js +44 -0
  145. package/dist/cjs/{label-6b18ca08.js → label-980508de.js} +40 -6
  146. package/dist/cjs/loader.cjs.js +1 -1
  147. package/dist/cjs/{resources-415f797b.js → resources-65327c4a.js} +33 -8
  148. package/dist/collection/components/action/action.css +9 -0
  149. package/dist/collection/components/action/action.js +4 -0
  150. package/dist/collection/components/block/block.css +13 -9
  151. package/dist/collection/components/block/block.js +13 -4
  152. package/dist/collection/components/button/button.css +15 -2
  153. package/dist/collection/components/button/button.js +4 -0
  154. package/dist/collection/components/checkbox/checkbox.css +7 -0
  155. package/dist/collection/components/checkbox/checkbox.js +4 -0
  156. package/dist/collection/components/color-picker/color-picker.css +13 -0
  157. package/dist/collection/components/color-picker/color-picker.js +32 -1
  158. package/dist/collection/components/combobox/combobox.css +7 -1
  159. package/dist/collection/components/combobox/combobox.js +14 -0
  160. package/dist/collection/components/combobox-item/combobox-item.css +13 -0
  161. package/dist/collection/components/combobox-item/combobox-item.js +4 -0
  162. package/dist/collection/components/date-picker-day/date-picker-day.css +13 -5
  163. package/dist/collection/components/date-picker-day/date-picker-day.js +8 -1
  164. package/dist/collection/components/dropdown/dropdown.css +8 -0
  165. package/dist/collection/components/dropdown/dropdown.js +23 -5
  166. package/dist/collection/components/fab/fab.css +13 -0
  167. package/dist/collection/components/fab/fab.js +9 -0
  168. package/dist/collection/components/filter/filter.css +13 -0
  169. package/dist/collection/components/filter/filter.js +41 -7
  170. package/dist/collection/components/icon/assets/icon/clockForward16.json +1 -0
  171. package/dist/collection/components/icon/assets/icon/clockForward24.json +1 -0
  172. package/dist/collection/components/icon/assets/icon/clockForward32.json +1 -0
  173. package/dist/collection/components/icon/assets/icon/contingentValues16.json +1 -0
  174. package/dist/collection/components/icon/assets/icon/contingentValues24.json +1 -0
  175. package/dist/collection/components/icon/assets/icon/contingentValues32.json +1 -0
  176. package/dist/collection/components/icon/assets/icon/creditCard16.json +1 -0
  177. package/dist/collection/components/icon/assets/icon/creditCard24.json +1 -0
  178. package/dist/collection/components/icon/assets/icon/creditCard32.json +1 -0
  179. package/dist/collection/components/icon/assets/icon/credits16.json +1 -1
  180. package/dist/collection/components/icon/assets/icon/credits24.json +1 -1
  181. package/dist/collection/components/icon/assets/icon/credits32.json +1 -1
  182. package/dist/collection/components/icon/assets/icon/keyboard16.json +1 -0
  183. package/dist/collection/components/icon/assets/icon/keyboard24.json +1 -0
  184. package/dist/collection/components/icon/assets/icon/keyboard32.json +1 -0
  185. package/dist/collection/components/icon/assets/icon/premiumContentUserCredit24.json +1 -1
  186. package/dist/collection/components/icon/assets/icon/premiumContentUserCredit32.json +1 -1
  187. package/dist/collection/components/icon/assets/icon/select16.json +1 -1
  188. package/dist/collection/components/icon/assets/icon/select24.json +1 -1
  189. package/dist/collection/components/icon/assets/icon/select32.json +1 -1
  190. package/dist/collection/components/icon/assets/icon/userDown16.json +1 -0
  191. package/dist/collection/components/icon/assets/icon/userDown24.json +1 -0
  192. package/dist/collection/components/icon/assets/icon/userDown32.json +1 -0
  193. package/dist/collection/components/icon/assets/icon/userKey16.json +1 -0
  194. package/dist/collection/components/icon/assets/icon/userKey24.json +1 -0
  195. package/dist/collection/components/icon/assets/icon/userKey32.json +1 -0
  196. package/dist/collection/components/icon/assets/icon/userMinus16.json +1 -0
  197. package/dist/collection/components/icon/assets/icon/userMinus24.json +1 -0
  198. package/dist/collection/components/icon/assets/icon/userMinus32.json +1 -0
  199. package/dist/collection/components/icon/assets/icon/userUp16.json +1 -0
  200. package/dist/collection/components/icon/assets/icon/userUp24.json +1 -0
  201. package/dist/collection/components/icon/assets/icon/userUp32.json +1 -0
  202. package/dist/collection/components/icon/assets/icon/userX16.json +1 -0
  203. package/dist/collection/components/icon/assets/icon/userX24.json +1 -0
  204. package/dist/collection/components/icon/assets/icon/userX32.json +1 -0
  205. package/dist/collection/components/icon/assets/icon/utilityNetworkTrace16.json +1 -0
  206. package/dist/collection/components/icon/assets/icon/utilityNetworkTrace24.json +1 -0
  207. package/dist/collection/components/icon/assets/icon/utilityNetworkTrace32.json +1 -0
  208. package/dist/collection/components/inline-editable/inline-editable.css +12 -0
  209. package/dist/collection/components/inline-editable/inline-editable.js +9 -7
  210. package/dist/collection/components/input/input.css +8 -7
  211. package/dist/collection/components/input/input.js +4 -0
  212. package/dist/collection/components/input-date-picker/input-date-picker.css +64 -27
  213. package/dist/collection/components/input-date-picker/input-date-picker.js +21 -2
  214. package/dist/collection/components/input-time-picker/input-time-picker.css +13 -0
  215. package/dist/collection/components/input-time-picker/input-time-picker.js +21 -1
  216. package/dist/collection/components/label/label.css +12 -0
  217. package/dist/collection/components/label/label.js +16 -2
  218. package/dist/collection/components/link/link.css +13 -8
  219. package/dist/collection/components/link/link.js +5 -1
  220. package/dist/collection/components/list/list.css +13 -0
  221. package/dist/collection/components/list/list.js +38 -0
  222. package/dist/collection/components/list-item/list-item.css +8 -0
  223. package/dist/collection/components/list-item/list-item.js +9 -0
  224. package/dist/collection/components/panel/panel.css +13 -0
  225. package/dist/collection/components/panel/panel.js +11 -2
  226. package/dist/collection/components/pick-list/pick-list.css +13 -0
  227. package/dist/collection/components/pick-list/pick-list.js +4 -0
  228. package/dist/collection/components/pick-list/shared-list-logic.js +30 -6
  229. package/dist/collection/components/pick-list/shared-list-render.js +2 -2
  230. package/dist/collection/components/pick-list-item/pick-list-item.css +13 -0
  231. package/dist/collection/components/pick-list-item/pick-list-item.js +5 -4
  232. package/dist/collection/components/radio-button/radio-button.css +10 -1
  233. package/dist/collection/components/radio-button/radio-button.js +4 -0
  234. package/dist/collection/components/radio-group/radio-group.css +13 -5
  235. package/dist/collection/components/radio-group/radio-group.js +5 -1
  236. package/dist/collection/components/rating/rating.css +13 -5
  237. package/dist/collection/components/rating/rating.js +9 -3
  238. package/dist/collection/components/select/select.css +13 -7
  239. package/dist/collection/components/select/select.js +4 -0
  240. package/dist/collection/components/slider/slider.css +8 -0
  241. package/dist/collection/components/slider/slider.js +2 -0
  242. package/dist/collection/components/sortable-list/sortable-list.css +13 -0
  243. package/dist/collection/components/sortable-list/sortable-list.js +4 -0
  244. package/dist/collection/components/split-button/split-button.css +12 -0
  245. package/dist/collection/components/split-button/split-button.js +29 -3
  246. package/dist/collection/components/stepper-item/stepper-item.css +8 -4
  247. package/dist/collection/components/stepper-item/stepper-item.js +6 -2
  248. package/dist/collection/components/switch/switch.css +7 -0
  249. package/dist/collection/components/switch/switch.js +5 -13
  250. package/dist/collection/components/tab-title/tab-title.css +9 -0
  251. package/dist/collection/components/tab-title/tab-title.js +6 -3
  252. package/dist/collection/components/tile/tile.css +17 -1
  253. package/dist/collection/components/tile/tile.js +4 -0
  254. package/dist/collection/components/tile-select/tile-select.css +9 -1
  255. package/dist/collection/components/tile-select/tile-select.js +4 -0
  256. package/dist/collection/components/tile-select-group/tile-select-group.css +13 -0
  257. package/dist/collection/components/tile-select-group/tile-select-group.js +31 -1
  258. package/dist/collection/components/value-list/value-list.css +13 -0
  259. package/dist/collection/components/value-list/value-list.js +6 -5
  260. package/dist/collection/components/value-list-item/value-list-item.css +13 -0
  261. package/dist/collection/components/value-list-item/value-list-item.js +5 -1
  262. package/dist/collection/utils/interactive.js +42 -0
  263. package/dist/collection/utils/label.js +38 -6
  264. package/dist/components/action.js +5 -1
  265. package/dist/components/button.js +5 -1
  266. package/dist/components/calcite-block.js +14 -5
  267. package/dist/components/calcite-color-picker.js +16 -2
  268. package/dist/components/calcite-combobox-item.js +5 -1
  269. package/dist/components/calcite-combobox.js +13 -1
  270. package/dist/components/calcite-fab.js +10 -1
  271. package/dist/components/calcite-inline-editable.js +10 -8
  272. package/dist/components/calcite-input-date-picker.js +20 -3
  273. package/dist/components/calcite-input-time-picker.js +18 -2
  274. package/dist/components/calcite-list-item.js +10 -1
  275. package/dist/components/calcite-list.js +20 -1
  276. package/dist/components/calcite-panel.js +12 -3
  277. package/dist/components/calcite-pick-list.js +5 -1
  278. package/dist/components/calcite-radio-button.js +5 -1
  279. package/dist/components/calcite-radio-group.js +6 -2
  280. package/dist/components/calcite-rating.js +10 -4
  281. package/dist/components/calcite-select.js +5 -1
  282. package/dist/components/calcite-slider.js +3 -1
  283. package/dist/components/calcite-sortable-list.js +5 -1
  284. package/dist/components/calcite-split-button.js +26 -3
  285. package/dist/components/calcite-stepper-item.js +7 -3
  286. package/dist/components/calcite-tile-select-group.js +14 -1
  287. package/dist/components/calcite-tile-select.js +5 -1
  288. package/dist/components/calcite-value-list-item.js +5 -1
  289. package/dist/components/calcite-value-list.js +7 -6
  290. package/dist/components/checkbox.js +5 -1
  291. package/dist/components/date-picker-day.js +9 -2
  292. package/dist/components/dropdown.js +22 -6
  293. package/dist/components/filter.js +42 -21
  294. package/dist/components/input.js +5 -1
  295. package/dist/components/interactive.js +42 -0
  296. package/dist/components/label.js +39 -7
  297. package/dist/components/label2.js +13 -2
  298. package/dist/components/link.js +6 -2
  299. package/dist/components/pick-list-item.js +5 -4
  300. package/dist/components/shared-list-render.js +33 -9
  301. package/dist/components/switch.js +5 -9
  302. package/dist/components/tab-title.js +6 -3
  303. package/dist/components/tile.js +5 -1
  304. package/dist/custom-elements/index.js +448 -105
  305. package/dist/esm/calcite-action.entry.js +5 -1
  306. package/dist/esm/calcite-block_2.entry.js +14 -5
  307. package/dist/esm/calcite-button.entry.js +6 -2
  308. package/dist/esm/calcite-checkbox.entry.js +6 -2
  309. package/dist/esm/calcite-color-picker_3.entry.js +15 -2
  310. package/dist/esm/calcite-combobox_3.entry.js +18 -3
  311. package/dist/esm/calcite-date-picker_4.entry.js +9 -2
  312. package/dist/esm/calcite-dropdown_3.entry.js +22 -6
  313. package/dist/esm/calcite-fab.entry.js +10 -1
  314. package/dist/esm/calcite-filter.entry.js +36 -3
  315. package/dist/esm/calcite-graph_2.entry.js +4 -2
  316. package/dist/esm/calcite-inline-editable.entry.js +11 -9
  317. package/dist/esm/calcite-input-date-picker.entry.js +21 -4
  318. package/dist/esm/calcite-input-time-picker_2.entry.js +19 -3
  319. package/dist/esm/calcite-input.entry.js +6 -2
  320. package/dist/esm/calcite-label.entry.js +15 -2
  321. package/dist/esm/calcite-link.entry.js +6 -2
  322. package/dist/esm/calcite-list_3.entry.js +28 -2
  323. package/dist/esm/calcite-option_3.entry.js +6 -2
  324. package/dist/esm/calcite-panel.entry.js +12 -3
  325. package/dist/esm/calcite-pick-list_3.entry.js +10 -6
  326. package/dist/esm/calcite-radio-button.entry.js +6 -2
  327. package/dist/esm/calcite-radio-group_2.entry.js +7 -3
  328. package/dist/esm/calcite-rating.entry.js +11 -5
  329. package/dist/esm/calcite-sortable-list.entry.js +5 -1
  330. package/dist/esm/calcite-split-button.entry.js +25 -2
  331. package/dist/esm/calcite-stepper_2.entry.js +6 -2
  332. package/dist/esm/calcite-switch.entry.js +6 -9
  333. package/dist/esm/calcite-tab_4.entry.js +6 -3
  334. package/dist/esm/calcite-tile-select_2.entry.js +17 -2
  335. package/dist/esm/calcite-tile.entry.js +5 -1
  336. package/dist/esm/calcite-value-list_2.entry.js +12 -7
  337. package/dist/esm/calcite.js +1 -1
  338. package/dist/esm/interactive-48b5cc0f.js +42 -0
  339. package/dist/esm/{label-2bffc9f4.js → label-68f22660.js} +39 -7
  340. package/dist/esm/loader.js +1 -1
  341. package/dist/esm/{resources-999109fa.js → resources-77c12cea.js} +33 -9
  342. package/dist/esm-es5/calcite-action.entry.js +1 -1
  343. package/dist/esm-es5/calcite-block_2.entry.js +1 -1
  344. package/dist/esm-es5/calcite-button.entry.js +1 -1
  345. package/dist/esm-es5/calcite-checkbox.entry.js +1 -1
  346. package/dist/esm-es5/calcite-color-picker_3.entry.js +1 -1
  347. package/dist/esm-es5/calcite-combobox_3.entry.js +1 -1
  348. package/dist/esm-es5/calcite-date-picker_4.entry.js +1 -1
  349. package/dist/esm-es5/calcite-dropdown_3.entry.js +1 -1
  350. package/dist/esm-es5/calcite-fab.entry.js +2 -2
  351. package/dist/esm-es5/calcite-filter.entry.js +1 -1
  352. package/dist/esm-es5/calcite-graph_2.entry.js +1 -1
  353. package/dist/esm-es5/calcite-inline-editable.entry.js +1 -1
  354. package/dist/esm-es5/calcite-input-date-picker.entry.js +1 -1
  355. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
  356. package/dist/esm-es5/calcite-input.entry.js +1 -1
  357. package/dist/esm-es5/calcite-label.entry.js +1 -1
  358. package/dist/esm-es5/calcite-link.entry.js +2 -2
  359. package/dist/esm-es5/calcite-list_3.entry.js +2 -2
  360. package/dist/esm-es5/calcite-option_3.entry.js +2 -2
  361. package/dist/esm-es5/calcite-panel.entry.js +2 -2
  362. package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
  363. package/dist/esm-es5/calcite-radio-button.entry.js +1 -1
  364. package/dist/esm-es5/calcite-radio-group_2.entry.js +1 -1
  365. package/dist/esm-es5/calcite-rating.entry.js +2 -2
  366. package/dist/esm-es5/calcite-sortable-list.entry.js +1 -1
  367. package/dist/esm-es5/calcite-split-button.entry.js +1 -1
  368. package/dist/esm-es5/calcite-stepper_2.entry.js +1 -1
  369. package/dist/esm-es5/calcite-switch.entry.js +1 -1
  370. package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
  371. package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
  372. package/dist/esm-es5/calcite-tile.entry.js +1 -1
  373. package/dist/esm-es5/calcite-value-list_2.entry.js +1 -1
  374. package/dist/esm-es5/calcite.js +1 -1
  375. package/dist/esm-es5/interactive-48b5cc0f.js +5 -0
  376. package/dist/esm-es5/label-68f22660.js +5 -0
  377. package/dist/esm-es5/loader.js +1 -1
  378. package/dist/esm-es5/resources-77c12cea.js +5 -0
  379. package/dist/extras/docs-json.json +72 -24
  380. package/dist/types/components/action/action.d.ts +3 -1
  381. package/dist/types/components/block/block.d.ts +3 -1
  382. package/dist/types/components/button/button.d.ts +3 -1
  383. package/dist/types/components/checkbox/checkbox.d.ts +3 -1
  384. package/dist/types/components/color-picker/color-picker.d.ts +9 -1
  385. package/dist/types/components/combobox/combobox.d.ts +3 -1
  386. package/dist/types/components/combobox-item/combobox-item.d.ts +3 -1
  387. package/dist/types/components/date-picker-day/date-picker-day.d.ts +4 -1
  388. package/dist/types/components/dropdown/dropdown.d.ts +4 -1
  389. package/dist/types/components/fab/fab.d.ts +3 -1
  390. package/dist/types/components/filter/filter.d.ts +5 -2
  391. package/dist/types/components/inline-editable/inline-editable.d.ts +4 -1
  392. package/dist/types/components/input/input.d.ts +3 -1
  393. package/dist/types/components/input-date-picker/input-date-picker.d.ts +4 -1
  394. package/dist/types/components/input-time-picker/input-time-picker.d.ts +5 -1
  395. package/dist/types/components/label/label.d.ts +7 -1
  396. package/dist/types/components/link/link.d.ts +3 -1
  397. package/dist/types/components/list/list.d.ts +7 -1
  398. package/dist/types/components/list-item/list-item.d.ts +3 -1
  399. package/dist/types/components/panel/panel.d.ts +3 -1
  400. package/dist/types/components/pick-list/pick-list.d.ts +3 -1
  401. package/dist/types/components/pick-list/shared-list-logic.d.ts +1 -0
  402. package/dist/types/components/pick-list-item/pick-list-item.d.ts +4 -2
  403. package/dist/types/components/radio-button/radio-button.d.ts +3 -1
  404. package/dist/types/components/radio-group/radio-group.d.ts +3 -1
  405. package/dist/types/components/rating/rating.d.ts +3 -1
  406. package/dist/types/components/select/select.d.ts +3 -1
  407. package/dist/types/components/slider/slider.d.ts +2 -1
  408. package/dist/types/components/sortable-list/sortable-list.d.ts +3 -1
  409. package/dist/types/components/split-button/split-button.d.ts +5 -1
  410. package/dist/types/components/stepper-item/stepper-item.d.ts +3 -1
  411. package/dist/types/components/switch/switch.d.ts +3 -4
  412. package/dist/types/components/tab-title/tab-title.d.ts +3 -1
  413. package/dist/types/components/tile/tile.d.ts +3 -1
  414. package/dist/types/components/tile-select/tile-select.d.ts +3 -1
  415. package/dist/types/components/tile-select-group/tile-select-group.d.ts +6 -1
  416. package/dist/types/components/value-list/value-list.d.ts +3 -1
  417. package/dist/types/components/value-list-item/value-list-item.d.ts +4 -2
  418. package/dist/types/components.d.ts +30 -4
  419. package/dist/types/utils/interactive.d.ts +28 -0
  420. package/dist/types/utils/label.d.ts +3 -1
  421. package/hydrate/index.js +451 -106
  422. package/package.json +6 -7
  423. package/dist/calcite/p-00d4b36e.entry.js +0 -5
  424. package/dist/calcite/p-02a3ad67.entry.js +0 -5
  425. package/dist/calcite/p-02cc50b9.entry.js +0 -5
  426. package/dist/calcite/p-11413626.system.entry.js +0 -5
  427. package/dist/calcite/p-12a4eac6.system.entry.js +0 -5
  428. package/dist/calcite/p-13e36552.system.entry.js +0 -5
  429. package/dist/calcite/p-1a34e1df.system.entry.js +0 -5
  430. package/dist/calcite/p-1a3a366d.system.js +0 -5
  431. package/dist/calcite/p-1fe5a777.entry.js +0 -5
  432. package/dist/calcite/p-2a3d08b7.entry.js +0 -5
  433. package/dist/calcite/p-2fbc2a9b.system.entry.js +0 -5
  434. package/dist/calcite/p-313fa6fa.system.entry.js +0 -5
  435. package/dist/calcite/p-322195bf.system.entry.js +0 -5
  436. package/dist/calcite/p-35461165.system.entry.js +0 -5
  437. package/dist/calcite/p-383b48a0.system.entry.js +0 -5
  438. package/dist/calcite/p-3a7606c8.entry.js +0 -5
  439. package/dist/calcite/p-417c7d5d.entry.js +0 -5
  440. package/dist/calcite/p-43ec3d32.system.entry.js +0 -5
  441. package/dist/calcite/p-458933db.system.entry.js +0 -5
  442. package/dist/calcite/p-4cd8449b.system.entry.js +0 -5
  443. package/dist/calcite/p-5a4b0056.system.entry.js +0 -5
  444. package/dist/calcite/p-5a7b1bd1.system.entry.js +0 -5
  445. package/dist/calcite/p-5c425028.entry.js +0 -5
  446. package/dist/calcite/p-5ecd3b72.system.entry.js +0 -5
  447. package/dist/calcite/p-633a2c7f.entry.js +0 -5
  448. package/dist/calcite/p-673a3cd9.entry.js +0 -5
  449. package/dist/calcite/p-743597e4.entry.js +0 -5
  450. package/dist/calcite/p-783bfba1.entry.js +0 -5
  451. package/dist/calcite/p-7863deb5.entry.js +0 -5
  452. package/dist/calcite/p-793659d0.entry.js +0 -5
  453. package/dist/calcite/p-7a0e8fab.system.entry.js +0 -5
  454. package/dist/calcite/p-7ccf6273.entry.js +0 -5
  455. package/dist/calcite/p-7dfe915f.entry.js +0 -5
  456. package/dist/calcite/p-802a05a2.entry.js +0 -5
  457. package/dist/calcite/p-818b3ac7.entry.js +0 -5
  458. package/dist/calcite/p-81a3de30.system.entry.js +0 -5
  459. package/dist/calcite/p-81f7b919.entry.js +0 -5
  460. package/dist/calcite/p-82c142d8.entry.js +0 -5
  461. package/dist/calcite/p-874ac36f.entry.js +0 -5
  462. package/dist/calcite/p-93bf2f70.entry.js +0 -5
  463. package/dist/calcite/p-99da584e.system.entry.js +0 -5
  464. package/dist/calcite/p-9a7c4812.js +0 -5
  465. package/dist/calcite/p-9cfa3928.entry.js +0 -5
  466. package/dist/calcite/p-9d102b23.system.entry.js +0 -5
  467. package/dist/calcite/p-9f2e3d1e.entry.js +0 -5
  468. package/dist/calcite/p-ad7fbabd.entry.js +0 -5
  469. package/dist/calcite/p-b03b03d5.entry.js +0 -5
  470. package/dist/calcite/p-b76ee102.system.entry.js +0 -5
  471. package/dist/calcite/p-bfaed65e.entry.js +0 -5
  472. package/dist/calcite/p-c6851d0b.system.entry.js +0 -5
  473. package/dist/calcite/p-d08d1450.entry.js +0 -5
  474. package/dist/calcite/p-d359def7.system.entry.js +0 -5
  475. package/dist/calcite/p-d7395b71.system.entry.js +0 -5
  476. package/dist/calcite/p-da78fbb6.system.entry.js +0 -5
  477. package/dist/calcite/p-dc9ff95e.system.entry.js +0 -5
  478. package/dist/calcite/p-dcf17450.system.entry.js +0 -5
  479. package/dist/calcite/p-de562f92.system.js +0 -5
  480. package/dist/calcite/p-e7dd0a9f.entry.js +0 -5
  481. package/dist/calcite/p-e88fd904.system.entry.js +0 -5
  482. package/dist/calcite/p-e9460f3c.js +0 -5
  483. package/dist/calcite/p-eb43eb28.system.entry.js +0 -5
  484. package/dist/calcite/p-efb21590.system.entry.js +0 -5
  485. package/dist/calcite/p-f20b0a41.system.entry.js +0 -5
  486. package/dist/calcite/p-f31de031.system.entry.js +0 -5
  487. package/dist/calcite/p-f542ba26.entry.js +0 -5
  488. package/dist/calcite/p-f9d1a58e.entry.js +0 -5
  489. package/dist/calcite/p-fad60503.entry.js +0 -5
  490. package/dist/calcite/p-fd0d5d44.system.entry.js +0 -5
  491. package/dist/esm-es5/label-2bffc9f4.js +0 -5
  492. package/dist/esm-es5/resources-999109fa.js +0 -5
@@ -10,6 +10,7 @@ const index = require('./index-8760acaf.js');
10
10
  const dom = require('./dom-f3df220d.js');
11
11
  const popper = require('./popper-13a2bb46.js');
12
12
  const observers = require('./observers-79bfb8bc.js');
13
+ const interactive = require('./interactive-87406231.js');
13
14
  require('./guid-b270f0db.js');
14
15
 
15
16
  const DefaultDropdownPlacement = "bottom-leading";
@@ -17,7 +18,7 @@ const SLOTS = {
17
18
  dropdownTrigger: "dropdown-trigger"
18
19
  };
19
20
 
20
- 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}";
21
+ 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}";
21
22
 
22
23
  let Dropdown = class {
23
24
  constructor(hostRef) {
@@ -146,7 +147,16 @@ let Dropdown = class {
146
147
  };
147
148
  }
148
149
  activeHandler() {
149
- this.reposition();
150
+ if (!this.disabled) {
151
+ this.reposition();
152
+ return;
153
+ }
154
+ this.active = false;
155
+ }
156
+ handleDisabledChange(value) {
157
+ if (!value) {
158
+ this.active = false;
159
+ }
150
160
  }
151
161
  maxItemsHandler() {
152
162
  this.setMaxScrollerHeight();
@@ -168,6 +178,9 @@ let Dropdown = class {
168
178
  componentDidLoad() {
169
179
  this.reposition();
170
180
  }
181
+ componentDidRender() {
182
+ interactive.updateHostInteraction(this);
183
+ }
171
184
  disconnectedCallback() {
172
185
  var _a, _b;
173
186
  (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
@@ -176,7 +189,7 @@ let Dropdown = class {
176
189
  }
177
190
  render() {
178
191
  const { active } = this;
179
- return (index.h(index.Host, { tabIndex: this.disabled ? -1 : null }, index.h("div", { class: "calcite-dropdown-trigger-container", onClick: this.openCalciteDropdown, onKeyDown: this.keyDownHandler, ref: this.setReferenceEl }, index.h("slot", { "aria-expanded": active.toString(), "aria-haspopup": "true", name: SLOTS.dropdownTrigger })), index.h("div", { "aria-hidden": (!active).toString(), class: "calcite-dropdown-wrapper", ref: this.setMenuEl }, index.h("div", { class: {
192
+ return (index.h(index.Host, null, index.h("div", { class: "calcite-dropdown-trigger-container", onClick: this.openCalciteDropdown, onKeyDown: this.keyDownHandler, ref: this.setReferenceEl }, index.h("slot", { "aria-expanded": active.toString(), "aria-haspopup": "true", name: SLOTS.dropdownTrigger })), index.h("div", { "aria-hidden": (!active).toString(), class: "calcite-dropdown-wrapper", ref: this.setMenuEl }, index.h("div", { class: {
180
193
  ["calcite-dropdown-content"]: true,
181
194
  [popper.CSS.animation]: true,
182
195
  [popper.CSS.animationActive]: active
@@ -204,7 +217,7 @@ let Dropdown = class {
204
217
  if (!this.active || e.composedPath().includes(this.el)) {
205
218
  return;
206
219
  }
207
- this.closeCalciteDropdown();
220
+ this.closeCalciteDropdown(false);
208
221
  }
209
222
  closeCalciteDropdownOnEvent() {
210
223
  this.closeCalciteDropdown();
@@ -328,9 +341,11 @@ let Dropdown = class {
328
341
  });
329
342
  return maxScrollerHeight;
330
343
  }
331
- closeCalciteDropdown() {
344
+ closeCalciteDropdown(focusTrigger = true) {
332
345
  this.active = false;
333
- dom.focusElement(this.triggers[0]);
346
+ if (focusTrigger) {
347
+ dom.focusElement(this.triggers[0]);
348
+ }
334
349
  }
335
350
  focusFirstItem() {
336
351
  const firstItem = this.items[0];
@@ -365,6 +380,7 @@ let Dropdown = class {
365
380
  get el() { return index.getElement(this); }
366
381
  static get watchers() { return {
367
382
  "active": ["activeHandler"],
383
+ "disabled": ["handleDisabledChange"],
368
384
  "maxItems": ["maxItemsHandler"],
369
385
  "placement": ["placementHandler"]
370
386
  }; }
@@ -8,6 +8,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
8
8
 
9
9
  const index = require('./index-8760acaf.js');
10
10
  const dom = require('./dom-f3df220d.js');
11
+ const interactive = require('./interactive-87406231.js');
11
12
  require('./guid-b270f0db.js');
12
13
 
13
14
  const CSS = {
@@ -17,7 +18,7 @@ const ICONS = {
17
18
  plus: "plus"
18
19
  };
19
20
 
20
- const fabCss = "@-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;background-color:transparent}calcite-button{--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);-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)}calcite-button:hover{--tw-shadow:0 12px 32px -2px rgba(0, 0, 0, 0.1), 0 4px 20px 0 rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 12px 32px -2px var(--tw-shadow-color), 0 4px 20px 0 var(--tw-shadow-color);-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)}calcite-button:active{--tw-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);--tw-shadow-colored:0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);-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)}";
21
+ const fabCss = "@-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;background-color:transparent}: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}calcite-button{--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);-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)}calcite-button:hover{--tw-shadow:0 12px 32px -2px rgba(0, 0, 0, 0.1), 0 4px 20px 0 rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 12px 32px -2px var(--tw-shadow-color), 0 4px 20px 0 var(--tw-shadow-color);-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)}calcite-button:active{--tw-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);--tw-shadow-colored:0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);-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)}";
21
22
 
22
23
  let Fab = class {
23
24
  constructor(hostRef) {
@@ -57,6 +58,14 @@ let Fab = class {
57
58
  */
58
59
  this.textEnabled = false;
59
60
  }
61
+ //--------------------------------------------------------------------------
62
+ //
63
+ // Lifecycle
64
+ //
65
+ //--------------------------------------------------------------------------
66
+ componentDidRender() {
67
+ interactive.updateHostInteraction(this);
68
+ }
60
69
  // --------------------------------------------------------------------------
61
70
  //
62
71
  // Methods
@@ -8,6 +8,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
8
8
 
9
9
  const index = require('./index-8760acaf.js');
10
10
  const dom = require('./dom-f3df220d.js');
11
+ const interactive = require('./interactive-87406231.js');
11
12
  const debounce = require('./debounce-95979061.js');
12
13
  const forIn = require('./forIn-a5d553af.js');
13
14
  require('./guid-b270f0db.js');
@@ -26,13 +27,25 @@ const ICONS = {
26
27
  close: "x"
27
28
  };
28
29
 
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)}";
30
+ 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
31
 
31
32
  const filterDebounceInMs = 250;
32
33
  let Filter = class {
33
34
  constructor(hostRef) {
34
35
  index.registerInstance(this, hostRef);
35
36
  this.calciteFilterChange = index.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 = [];
36
49
  /**
37
50
  * When true, disabled prevents interaction. This state shows items with lower opacity/grayed.
38
51
  */
@@ -45,6 +58,10 @@ let Filter = class {
45
58
  this.filteredItems = [];
46
59
  /** specify the scale of filter, defaults to m */
47
60
  this.scale = "m";
61
+ /**
62
+ * Filter value.
63
+ */
64
+ this.value = "";
48
65
  // --------------------------------------------------------------------------
49
66
  //
50
67
  // Private Methods
@@ -98,6 +115,22 @@ let Filter = class {
98
115
  valueHandler(value) {
99
116
  this.filter(value);
100
117
  }
118
+ //--------------------------------------------------------------------------
119
+ //
120
+ // Lifecycle
121
+ //
122
+ //--------------------------------------------------------------------------
123
+ componentDidRender() {
124
+ interactive.updateHostInteraction(this);
125
+ }
126
+ //--------------------------------------------------------------------------
127
+ //
128
+ // Lifecycle
129
+ //
130
+ //--------------------------------------------------------------------------
131
+ componentWillLoad() {
132
+ this.filter(this.value);
133
+ }
101
134
  // --------------------------------------------------------------------------
102
135
  //
103
136
  // Public Methods
@@ -119,9 +152,9 @@ let Filter = class {
119
152
  // --------------------------------------------------------------------------
120
153
  render() {
121
154
  const { disabled, scale } = this;
122
- return (index.h(index.Fragment, null, disabled ? index.h("calcite-scrim", null) : null, index.h("div", { class: CSS.container }, index.h("label", null, index.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 (index.h(index.Fragment, null, index.h("div", { class: CSS.container }, index.h("label", null, index.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) => {
123
156
  this.textInput = el;
124
- }, scale: scale, type: "text", value: this.value })), this.value ? (index.h("button", { "aria-label": this.intlClear || TEXT.clear, class: CSS.clearButton, onClick: this.clear }, index.h("calcite-icon", { icon: ICONS.close, scale: scale }))) : null)));
157
+ }, scale: scale, type: "text", value: this.value })), this.value ? (index.h("button", { "aria-label": this.intlClear || TEXT.clear, class: CSS.clearButton, disabled: disabled, onClick: this.clear }, index.h("calcite-icon", { icon: ICONS.close, scale: scale }))) : null)));
125
158
  }
126
159
  get el() { return index.getElement(this); }
127
160
  static get watchers() { return {
@@ -11,8 +11,9 @@ const guid = require('./guid-b270f0db.js');
11
11
  const observers = require('./observers-79bfb8bc.js');
12
12
  const dom = require('./dom-f3df220d.js');
13
13
  const math = require('./math-145c80e2.js');
14
- const label = require('./label-6b18ca08.js');
14
+ const label = require('./label-980508de.js');
15
15
  const form = require('./form-d540f0cb.js');
16
+ const interactive = require('./interactive-87406231.js');
16
17
 
17
18
  /**
18
19
  * Calculate slope of the tangents
@@ -202,7 +203,7 @@ let Graph = class {
202
203
  };
203
204
  Graph.style = graphCss;
204
205
 
205
- const sliderCss = "@charset \"UTF-8\";@-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}.scale--s{--calcite-slider-handle-size:10px;--calcite-slider-handle-extension-height:6.5px;--calcite-slider-container-font-size:var(--calcite-font-size--3)}.scale--s .handle__label,.scale--s .tick__label{line-height:.75rem}.scale--m{--calcite-slider-handle-size:14px;--calcite-slider-handle-extension-height:8px;--calcite-slider-container-font-size:var(--calcite-font-size--2)}.scale--m .handle__label,.scale--m .tick__label{line-height:1rem}.scale--l{--calcite-slider-handle-size:16px;--calcite-slider-handle-extension-height:10.5px;--calcite-slider-container-font-size:var(--calcite-font-size--1)}.scale--l .handle__label,.scale--l .tick__label{line-height:1rem}.handle__label,.tick__label{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2);font-size:var(--calcite-slider-container-font-size)}:host{display:block}.container{position:relative;display:block;padding:calc(var(--calcite-slider-handle-size) * 0.5);margin:calc(var(--calcite-slider-handle-size) * 0.5) 0;--calcite-slider-full-handle-height:calc(\n var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height)\n )}:host([disabled]){pointer-events:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) .track__range,:host([disabled]) .tick--active{background-color:var(--calcite-ui-text-3)}.scale--s .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-6px}.scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-8px}.scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-9px}:host([precise]:not([has-histogram])) .container .thumb--value{--calcite-slider-thumb-y-offset:calc(var(--calcite-slider-full-handle-height) * -1)}.thumb-container{position:relative;max-width:100%}.thumb{--calcite-slider-thumb-x-offset:calc(var(--calcite-slider-handle-size) * 0.5);position:absolute;margin:0px;display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;border-style:none;background-color:transparent;padding:0px;font-family:inherit;outline:2px solid transparent;outline-offset:2px;-webkit-transform:translate(var(--calcite-slider-thumb-x-offset), var(--calcite-slider-thumb-y-offset));transform:translate(var(--calcite-slider-thumb-x-offset), var(--calcite-slider-thumb-y-offset))}.thumb .handle__label.static,.thumb .handle__label.transformed{position:absolute;top:0px;bottom:0px;opacity:0}.thumb .handle__label.hyphen::after{content:\"—\";display:inline-block;width:1em}.thumb .handle__label.hyphen--wrap{display:-ms-flexbox;display:flex}.thumb .handle{-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:9999px;background-color:var(--calcite-ui-foreground-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;height:var(--calcite-slider-handle-size);width:var(--calcite-slider-handle-size);-webkit-box-shadow:0 0 0 2px var(--calcite-ui-text-3) inset;box-shadow:0 0 0 2px var(--calcite-ui-text-3) inset;-webkit-transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, -webkit-box-shadow var(--calcite-animation-timing) ease;transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, -webkit-box-shadow var(--calcite-animation-timing) ease;transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, box-shadow var(--calcite-animation-timing) ease;transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, box-shadow var(--calcite-animation-timing) ease, -webkit-box-shadow var(--calcite-animation-timing) ease}.thumb .handle-extension{width:0.125rem;height:var(--calcite-slider-handle-extension-height);background-color:var(--calcite-ui-text-3)}.thumb:hover .handle{-webkit-box-shadow:0 0 0 3px var(--calcite-ui-brand) inset;box-shadow:0 0 0 3px var(--calcite-ui-brand) inset}.thumb:hover .handle-extension{background-color:var(--calcite-ui-brand)}.thumb:focus .handle{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.thumb:focus .handle-extension{background-color:var(--calcite-ui-brand)}.thumb.thumb--minValue{-webkit-transform:translate(calc(var(--calcite-slider-thumb-x-offset) * -1), var(--calcite-slider-thumb-y-offset));transform:translate(calc(var(--calcite-slider-thumb-x-offset) * -1), var(--calcite-slider-thumb-y-offset))}.thumb.thumb--precise{--calcite-slider-thumb-y-offset:-2px}:host([label-handles]) .thumb{--calcite-slider-thumb-x-offset:50%}:host([label-handles]):host(:not([has-histogram])) .scale--s .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-23px}:host([label-handles]):host(:not([has-histogram])) .scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-30px}:host([label-handles]):host(:not([has-histogram])) .scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-32px}:host([has-histogram][label-handles]) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--minValue.thumb--precise .handle__label{margin-top:0.5em}:host(:not([has-histogram]):not([precise])) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--value .handle__label{margin-bottom:0.5em}:host([label-handles][precise]):host(:not([has-histogram])) .scale--s .thumb--value{--calcite-slider-thumb-y-offset:-33px}:host([label-handles][precise]):host(:not([has-histogram])) .scale--m .thumb--value{--calcite-slider-thumb-y-offset:-44px}:host([label-handles][precise]):host(:not([has-histogram])) .scale--l .thumb--value{--calcite-slider-thumb-y-offset:-49px}.thumb:focus .handle,.thumb--active .handle{background-color:var(--calcite-ui-brand);-webkit-box-shadow:0 0 8px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 8px 0 rgba(0, 0, 0, 0.16)}.thumb:hover.thumb--precise:after,.thumb:focus.thumb--precise:after,.thumb--active.thumb--precise:after{background-color:var(--calcite-ui-brand)}.track{position:relative;height:0.125rem;border-radius:0px;background-color:var(--calcite-ui-border-2);-webkit-transition:all var(--calcite-internal-animation-timing-medium) ease-in;transition:all var(--calcite-internal-animation-timing-medium) ease-in}.track__range{position:absolute;top:0px;height:0.125rem;background-color:var(--calcite-ui-brand)}.container--range .track__range:hover{cursor:ew-resize}.container--range .track__range:after{position:absolute;width:100%;content:\"\";top:calc(var(--calcite-slider-full-handle-height) * 0.5 * -1);height:calc(var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height))}.tick{position:absolute;height:0.25rem;width:0.125rem;border-width:1px;border-style:solid;background-color:var(--calcite-ui-border-input);border-color:var(--calcite-ui-foreground-1);top:-2px;pointer-events:none;-webkit-margin-start:calc(-1 * 0.125rem);margin-inline-start:calc(-1 * 0.125rem)}.tick--active{background-color:var(--calcite-ui-brand)}.tick__label{pointer-events:none;margin-top:0.875rem;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}.tick__label--min{-webkit-transition:opacity var(--calcite-animation-timing);transition:opacity var(--calcite-animation-timing)}.tick__label--max{-webkit-transition:opacity var(--calcite-internal-animation-timing-fast);transition:opacity var(--calcite-internal-animation-timing-fast)}:host([has-histogram][label-handles]) .tick__label--min,:host([has-histogram][label-handles]) .tick__label--max,:host([has-histogram][precise]) .tick__label--min,:host([has-histogram][precise]) .tick__label--max{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}.graph{color:var(--calcite-ui-foreground-3);height:48px}:host([label-ticks][ticks]) .container{padding-bottom:calc(0.875rem + var(--calcite-slider-container-font-size))}:host([has-histogram]):host([precise][label-handles]) .container{padding-bottom:calc(var(--calcite-slider-full-handle-height) + 1em)}:host([has-histogram]):host([label-handles]:not([precise])) .container{padding-bottom:calc(var(--calcite-slider-handle-size) * 0.5 + 1em)}:host([has-histogram]):host([precise]:not([label-handles])) .container{padding-bottom:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([precise]:not([label-handles])) .container{padding-top:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([precise]:not([label-handles])) .container--range{padding-bottom:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([label-handles]:not([precise])) .container{padding-top:calc(var(--calcite-slider-full-handle-height) + 4px)}:host(:not([has-histogram])):host([label-handles][precise]) .container{padding-top:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}:host(:not([has-histogram])):host([label-handles][precise]) .container--range{padding-bottom:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
206
+ const sliderCss = "@charset \"UTF-8\";@-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}.scale--s{--calcite-slider-handle-size:10px;--calcite-slider-handle-extension-height:6.5px;--calcite-slider-container-font-size:var(--calcite-font-size--3)}.scale--s .handle__label,.scale--s .tick__label{line-height:.75rem}.scale--m{--calcite-slider-handle-size:14px;--calcite-slider-handle-extension-height:8px;--calcite-slider-container-font-size:var(--calcite-font-size--2)}.scale--m .handle__label,.scale--m .tick__label{line-height:1rem}.scale--l{--calcite-slider-handle-size:16px;--calcite-slider-handle-extension-height:10.5px;--calcite-slider-container-font-size:var(--calcite-font-size--1)}.scale--l .handle__label,.scale--l .tick__label{line-height:1rem}.handle__label,.tick__label{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2);font-size:var(--calcite-slider-container-font-size)}:host{display:block}.container{position:relative;display:block;padding:calc(var(--calcite-slider-handle-size) * 0.5);margin:calc(var(--calcite-slider-handle-size) * 0.5) 0;--calcite-slider-full-handle-height:calc(\n var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height)\n )}: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]) .track__range,:host([disabled]) .tick--active{background-color:var(--calcite-ui-text-3)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.scale--s .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-6px}.scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-8px}.scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-9px}:host([precise]:not([has-histogram])) .container .thumb--value{--calcite-slider-thumb-y-offset:calc(var(--calcite-slider-full-handle-height) * -1)}.thumb-container{position:relative;max-width:100%}.thumb{--calcite-slider-thumb-x-offset:calc(var(--calcite-slider-handle-size) * 0.5);position:absolute;margin:0px;display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;border-style:none;background-color:transparent;padding:0px;font-family:inherit;outline:2px solid transparent;outline-offset:2px;-webkit-transform:translate(var(--calcite-slider-thumb-x-offset), var(--calcite-slider-thumb-y-offset));transform:translate(var(--calcite-slider-thumb-x-offset), var(--calcite-slider-thumb-y-offset))}.thumb .handle__label.static,.thumb .handle__label.transformed{position:absolute;top:0px;bottom:0px;opacity:0}.thumb .handle__label.hyphen::after{content:\"—\";display:inline-block;width:1em}.thumb .handle__label.hyphen--wrap{display:-ms-flexbox;display:flex}.thumb .handle{-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:9999px;background-color:var(--calcite-ui-foreground-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;height:var(--calcite-slider-handle-size);width:var(--calcite-slider-handle-size);-webkit-box-shadow:0 0 0 2px var(--calcite-ui-text-3) inset;box-shadow:0 0 0 2px var(--calcite-ui-text-3) inset;-webkit-transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, -webkit-box-shadow var(--calcite-animation-timing) ease;transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, -webkit-box-shadow var(--calcite-animation-timing) ease;transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, box-shadow var(--calcite-animation-timing) ease;transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, box-shadow var(--calcite-animation-timing) ease, -webkit-box-shadow var(--calcite-animation-timing) ease}.thumb .handle-extension{width:0.125rem;height:var(--calcite-slider-handle-extension-height);background-color:var(--calcite-ui-text-3)}.thumb:hover .handle{-webkit-box-shadow:0 0 0 3px var(--calcite-ui-brand) inset;box-shadow:0 0 0 3px var(--calcite-ui-brand) inset}.thumb:hover .handle-extension{background-color:var(--calcite-ui-brand)}.thumb:focus .handle{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.thumb:focus .handle-extension{background-color:var(--calcite-ui-brand)}.thumb.thumb--minValue{-webkit-transform:translate(calc(var(--calcite-slider-thumb-x-offset) * -1), var(--calcite-slider-thumb-y-offset));transform:translate(calc(var(--calcite-slider-thumb-x-offset) * -1), var(--calcite-slider-thumb-y-offset))}.thumb.thumb--precise{--calcite-slider-thumb-y-offset:-2px}:host([label-handles]) .thumb{--calcite-slider-thumb-x-offset:50%}:host([label-handles]):host(:not([has-histogram])) .scale--s .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-23px}:host([label-handles]):host(:not([has-histogram])) .scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-30px}:host([label-handles]):host(:not([has-histogram])) .scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-32px}:host([has-histogram][label-handles]) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--minValue.thumb--precise .handle__label{margin-top:0.5em}:host(:not([has-histogram]):not([precise])) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--value .handle__label{margin-bottom:0.5em}:host([label-handles][precise]):host(:not([has-histogram])) .scale--s .thumb--value{--calcite-slider-thumb-y-offset:-33px}:host([label-handles][precise]):host(:not([has-histogram])) .scale--m .thumb--value{--calcite-slider-thumb-y-offset:-44px}:host([label-handles][precise]):host(:not([has-histogram])) .scale--l .thumb--value{--calcite-slider-thumb-y-offset:-49px}.thumb:focus .handle,.thumb--active .handle{background-color:var(--calcite-ui-brand);-webkit-box-shadow:0 0 8px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 8px 0 rgba(0, 0, 0, 0.16)}.thumb:hover.thumb--precise:after,.thumb:focus.thumb--precise:after,.thumb--active.thumb--precise:after{background-color:var(--calcite-ui-brand)}.track{position:relative;height:0.125rem;border-radius:0px;background-color:var(--calcite-ui-border-2);-webkit-transition:all var(--calcite-internal-animation-timing-medium) ease-in;transition:all var(--calcite-internal-animation-timing-medium) ease-in}.track__range{position:absolute;top:0px;height:0.125rem;background-color:var(--calcite-ui-brand)}.container--range .track__range:hover{cursor:ew-resize}.container--range .track__range:after{position:absolute;width:100%;content:\"\";top:calc(var(--calcite-slider-full-handle-height) * 0.5 * -1);height:calc(var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height))}.tick{position:absolute;height:0.25rem;width:0.125rem;border-width:1px;border-style:solid;background-color:var(--calcite-ui-border-input);border-color:var(--calcite-ui-foreground-1);top:-2px;pointer-events:none;-webkit-margin-start:calc(-1 * 0.125rem);margin-inline-start:calc(-1 * 0.125rem)}.tick--active{background-color:var(--calcite-ui-brand)}.tick__label{pointer-events:none;margin-top:0.875rem;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}.tick__label--min{-webkit-transition:opacity var(--calcite-animation-timing);transition:opacity var(--calcite-animation-timing)}.tick__label--max{-webkit-transition:opacity var(--calcite-internal-animation-timing-fast);transition:opacity var(--calcite-internal-animation-timing-fast)}:host([has-histogram][label-handles]) .tick__label--min,:host([has-histogram][label-handles]) .tick__label--max,:host([has-histogram][precise]) .tick__label--min,:host([has-histogram][precise]) .tick__label--max{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}.graph{color:var(--calcite-ui-foreground-3);height:48px}:host([label-ticks][ticks]) .container{padding-bottom:calc(0.875rem + var(--calcite-slider-container-font-size))}:host([has-histogram]):host([precise][label-handles]) .container{padding-bottom:calc(var(--calcite-slider-full-handle-height) + 1em)}:host([has-histogram]):host([label-handles]:not([precise])) .container{padding-bottom:calc(var(--calcite-slider-handle-size) * 0.5 + 1em)}:host([has-histogram]):host([precise]:not([label-handles])) .container{padding-bottom:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([precise]:not([label-handles])) .container{padding-top:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([precise]:not([label-handles])) .container--range{padding-bottom:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([label-handles]:not([precise])) .container{padding-top:calc(var(--calcite-slider-full-handle-height) + 4px)}:host(:not([has-histogram])):host([label-handles][precise]) .container{padding-top:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}:host(:not([has-histogram])):host([label-handles][precise]) .container--range{padding-bottom:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
206
207
 
207
208
  let Slider = class {
208
209
  constructor(hostRef) {
@@ -343,6 +344,7 @@ let Slider = class {
343
344
  }
344
345
  }
345
346
  this.hideObscuredBoundingTickLabels();
347
+ interactive.updateHostInteraction(this);
346
348
  }
347
349
  render() {
348
350
  const id = this.el.id || this.guid;
@@ -8,8 +8,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
8
8
 
9
9
  const index = require('./index-8760acaf.js');
10
10
  const dom = require('./dom-f3df220d.js');
11
- const label = require('./label-6b18ca08.js');
11
+ const label = require('./label-980508de.js');
12
12
  const observers = require('./observers-79bfb8bc.js');
13
+ const interactive = require('./interactive-87406231.js');
13
14
  require('./guid-b270f0db.js');
14
15
 
15
16
  const CSS = {
@@ -27,7 +28,7 @@ const TEXT = {
27
28
  intlConfirmChanges: "Save"
28
29
  };
29
30
 
30
- const inlineEditableCss = "@-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}:host([scale=s]) .controls-wrapper{height:1.5rem}:host([scale=m]) .controls-wrapper{height:2rem}:host([scale=l]) .controls-wrapper{height:2.75rem}:host(:not([editing-enabled]):not([disabled])) .wrapper:hover{background-color:var(--calcite-ui-foreground-2)}.wrapper{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;background-color:var(--calcite-ui-foreground-1);-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:var(--calcite-animation-timing);transition-duration:var(--calcite-animation-timing);-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}.wrapper .input-wrapper{-ms-flex:1 1 0%;flex:1 1 0%}.controls-wrapper{display:-ms-flexbox;display:flex}:host([disabled]) .cancel-editing-button-wrapper{border-color:var(--calcite-ui-border-2)}";
31
+ const inlineEditableCss = "@-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}:host([scale=s]) .controls-wrapper{height:1.5rem}:host([scale=m]) .controls-wrapper{height:2rem}:host([scale=l]) .controls-wrapper{height:2.75rem}:host(:not([editing-enabled]):not([disabled])) .wrapper:hover{background-color:var(--calcite-ui-foreground-2)}.wrapper{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;background-color:var(--calcite-ui-foreground-1);-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:var(--calcite-animation-timing);transition-duration:var(--calcite-animation-timing);-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}.wrapper .input-wrapper{-ms-flex:1 1 0%;flex:1 1 0%}.controls-wrapper{display:-ms-flexbox;display:flex}: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]) .cancel-editing-button-wrapper{border-color:var(--calcite-ui-border-2)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}";
31
32
 
32
33
  let InlineEditable = class {
33
34
  constructor(hostRef) {
@@ -93,7 +94,6 @@ let InlineEditable = class {
93
94
  }
94
95
  if (!!e.shiftKey && e.target === this.cancelEditingButton) {
95
96
  e.preventDefault();
96
- e.stopPropagation();
97
97
  (_a = this.inputElement) === null || _a === void 0 ? void 0 : _a.setFocus();
98
98
  }
99
99
  }
@@ -103,22 +103,21 @@ let InlineEditable = class {
103
103
  };
104
104
  this.cancelEditingHandler = async (e) => {
105
105
  e.preventDefault();
106
- e.stopPropagation();
107
106
  this.cancelEditing();
108
107
  };
109
108
  this.enableEditingHandler = async (e) => {
110
- e.preventDefault();
111
- e.stopPropagation();
112
- if (this.disabled) {
109
+ if (this.disabled ||
110
+ e.target === this.cancelEditingButton ||
111
+ e.target === this.confirmEditingButton) {
113
112
  return;
114
113
  }
114
+ e.preventDefault();
115
115
  if (!this.editingEnabled) {
116
116
  this.enableEditing();
117
117
  }
118
118
  };
119
119
  this.confirmChangesHandler = async (e) => {
120
120
  e.preventDefault();
121
- e.stopPropagation();
122
121
  this.calciteInlineEditableEditConfirm.emit();
123
122
  try {
124
123
  if (this.afterConfirm) {
@@ -164,13 +163,16 @@ let InlineEditable = class {
164
163
  label.disconnectLabel(this);
165
164
  (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
166
165
  }
166
+ componentDidRender() {
167
+ interactive.updateHostInteraction(this);
168
+ }
167
169
  render() {
168
170
  return (index.h("div", { class: CSS.wrapper, onClick: this.enableEditingHandler, onKeyDown: this.escapeKeyHandler, onTransitionEnd: this.transitionEnd }, index.h("div", { class: CSS.inputWrapper }, index.h("slot", null)), index.h("div", { class: CSS.controlsWrapper }, index.h("calcite-button", { appearance: "transparent", class: CSS.enableEditingButton, color: "neutral", disabled: this.disabled, iconStart: "pencil", label: this.intlEnableEditing, onClick: this.enableEditingHandler, ref: (el) => (this.enableEditingButton = el), scale: this.scale, style: {
169
171
  opacity: this.editingEnabled ? "0" : "1",
170
172
  width: this.editingEnabled ? "0" : "inherit"
171
173
  }, type: "button" }), this.shouldShowControls && [
172
174
  index.h("div", { class: CSS.cancelEditingButtonWrapper }, index.h("calcite-button", { appearance: "transparent", class: CSS.cancelEditingButton, color: "neutral", disabled: this.disabled, iconStart: "x", label: this.intlCancelEditing, onClick: this.cancelEditingHandler, ref: (el) => (this.cancelEditingButton = el), scale: this.scale, type: "button" })),
173
- index.h("calcite-button", { appearance: "solid", class: CSS.confirmChangesButton, color: "blue", disabled: this.disabled, iconStart: "check", label: this.intlConfirmChanges, loading: this.loading, onClick: this.confirmChangesHandler, scale: this.scale, type: "button" })
175
+ index.h("calcite-button", { appearance: "solid", class: CSS.confirmChangesButton, color: "blue", disabled: this.disabled, iconStart: "check", label: this.intlConfirmChanges, loading: this.loading, onClick: this.confirmChangesHandler, ref: (el) => (this.confirmEditingButton = el), scale: this.scale, type: "button" })
174
176
  ])));
175
177
  }
176
178
  //--------------------------------------------------------------------------
@@ -8,15 +8,16 @@ Object.defineProperty(exports, '__esModule', { value: true });
8
8
 
9
9
  const index = require('./index-8760acaf.js');
10
10
  const resources = require('./resources-1e94d43c.js');
11
- const label = require('./label-6b18ca08.js');
11
+ const label = require('./label-980508de.js');
12
12
  const form = require('./form-d540f0cb.js');
13
13
  const popper = require('./popper-13a2bb46.js');
14
+ const interactive = require('./interactive-87406231.js');
14
15
  require('./locale-02462821.js');
15
16
  require('./number-e813e801.js');
16
17
  require('./dom-f3df220d.js');
17
18
  require('./guid-b270f0db.js');
18
19
 
19
- const inputDatePickerCss = "@-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{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:inline-block;width:100%;overflow:visible;vertical-align:top;--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 .menu-container .calcite-popper-anim{position:relative;z-index:1;-webkit-transition:var(--calcite-popper-transition);transition:var(--calcite-popper-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);border-radius:0.25rem}:host .menu-container[data-popper-placement^=bottom] .calcite-popper-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}:host .menu-container[data-popper-placement^=top] .calcite-popper-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}:host .menu-container[data-popper-placement^=left] .calcite-popper-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}:host .menu-container[data-popper-placement^=right] .calcite-popper-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}:host .menu-container[data-popper-placement] .calcite-popper-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}.calendar-picker-wrapper{position:static;width:100%;--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);-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.input-wrapper{position:relative}:host([range]) .input-container{display:-ms-flexbox;display:flex}:host([range]) .input-wrapper{-ms-flex:1 1 auto;flex:1 1 auto}:host([range]) .horizontal-arrow-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;border-width:1px;border-left-width:0px;border-right-width:0px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-background);padding-top:0px;padding-bottom:0px;padding-left:0.25rem;padding-right:0.25rem}:host([range][layout=vertical]) .input-wrapper{width:100%}:host([range][layout=vertical]) .input-container{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start}:host([range][layout=vertical]) .calendar-picker-wrapper--end{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}:host([range][layout=vertical]) .vertical-arrow-container{top:1.5rem;position:absolute;left:0px;z-index:10;margin-left:1px;margin-right:1px;background-color:var(--calcite-ui-foreground-1);padding-left:0.625rem;padding-right:0.625rem}:host([scale=s][range]:not([layout=vertical])) .calendar-picker-wrapper{width:216px}:host([scale=m][range]:not([layout=vertical])) .calendar-picker-wrapper{width:286px}:host([scale=l][range]:not([layout=vertical])) .calendar-picker-wrapper{width:398px}.menu-container{display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0);pointer-events:none;visibility:hidden}:host([active]) .menu-container{pointer-events:auto;visibility:visible}.input .calcite-input__wrapper{margin-top:0px}:host([range][layout=vertical][scale=m]) .vertical-arrow-container{top:1.5rem;padding-left:0.75rem}:host([range][layout=vertical][scale=m]) .vertical-arrow-container calcite-icon{height:0.75rem;width:0.75rem;min-width:0px}:host([range][layout=vertical][scale=l]) .vertical-arrow-container{top:2.25rem;padding-left:0.875rem;padding-right:0.875rem}:host([range][layout=vertical][active]) .vertical-arrow-container{display:none}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
20
+ const inputDatePickerCss = "@-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{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:inline-block;width:100%;overflow:visible;vertical-align:top;--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([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}.calendar-picker-wrapper{position:static;width:100%;--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);-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.input-wrapper{position:relative}:host([range]) .input-container{display:-ms-flexbox;display:flex}:host([range]) .input-wrapper{-ms-flex:1 1 auto;flex:1 1 auto}:host([range]) .horizontal-arrow-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;border-width:1px;border-left-width:0px;border-right-width:0px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-background);padding-top:0px;padding-bottom:0px;padding-left:0.25rem;padding-right:0.25rem}:host([range][layout=vertical]) .input-wrapper{width:100%}:host([range][layout=vertical]) .input-container{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start}:host([range][layout=vertical]) .calendar-picker-wrapper--end{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}:host([range][layout=vertical]) .vertical-arrow-container{top:1.5rem;position:absolute;left:0px;z-index:10;margin-left:1px;margin-right:1px;background-color:var(--calcite-ui-foreground-1);padding-left:0.625rem;padding-right:0.625rem}:host([scale=s][range]:not([layout=vertical])) .calendar-picker-wrapper{width:216px}:host([scale=m][range]:not([layout=vertical])) .calendar-picker-wrapper{width:286px}:host([scale=l][range]:not([layout=vertical])) .calendar-picker-wrapper{width:398px}.menu-container{display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0);visibility:hidden;pointer-events:none}.menu-container .calcite-popper-anim{position:relative;z-index:1;-webkit-transition:var(--calcite-popper-transition);transition:var(--calcite-popper-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);border-radius:0.25rem}.menu-container[data-popper-placement^=bottom] .calcite-popper-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}.menu-container[data-popper-placement^=top] .calcite-popper-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}.menu-container[data-popper-placement^=left] .calcite-popper-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}.menu-container[data-popper-placement^=right] .calcite-popper-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}.menu-container[data-popper-placement] .calcite-popper-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}.menu-container--active .menu-container .calcite-popper-anim{position:relative;z-index:1;-webkit-transition:var(--calcite-popper-transition);transition:var(--calcite-popper-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);border-radius:0.25rem}.menu-container--active .menu-container[data-popper-placement^=bottom] .calcite-popper-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}.menu-container--active .menu-container[data-popper-placement^=top] .calcite-popper-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}.menu-container--active .menu-container[data-popper-placement^=left] .calcite-popper-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}.menu-container--active .menu-container[data-popper-placement^=right] .calcite-popper-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}.menu-container--active .menu-container[data-popper-placement] .calcite-popper-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}.input .calcite-input__wrapper{margin-top:0px}:host([range][layout=vertical][scale=m]) .vertical-arrow-container{top:1.5rem;padding-left:0.75rem}:host([range][layout=vertical][scale=m]) .vertical-arrow-container calcite-icon{height:0.75rem;width:0.75rem;min-width:0px}:host([range][layout=vertical][scale=l]) .vertical-arrow-container{top:2.25rem;padding-left:0.875rem;padding-right:0.875rem}:host([range][layout=vertical][active]) .vertical-arrow-container{display:none}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
20
21
 
21
22
  const DEFAULT_PLACEMENT = "bottom-leading";
22
23
  let InputDatePicker = class {
@@ -145,6 +146,11 @@ let InputDatePicker = class {
145
146
  }
146
147
  };
147
148
  }
149
+ handleDisabledChange(value) {
150
+ if (!value) {
151
+ this.active = false;
152
+ }
153
+ }
148
154
  valueHandler(value) {
149
155
  if (Array.isArray(value)) {
150
156
  this.valueAsDate = value.map((v) => resources.dateFromISO(v));
@@ -169,7 +175,11 @@ let InputDatePicker = class {
169
175
  this.maxAsDate = resources.dateFromISO(max);
170
176
  }
171
177
  activeHandler() {
172
- this.reposition();
178
+ if (!this.disabled) {
179
+ this.reposition();
180
+ return;
181
+ }
182
+ this.active = false;
173
183
  }
174
184
  //--------------------------------------------------------------------------
175
185
  //
@@ -250,6 +260,9 @@ let InputDatePicker = class {
250
260
  label.disconnectLabel(this);
251
261
  form.disconnectForm(this);
252
262
  }
263
+ componentDidRender() {
264
+ interactive.updateHostInteraction(this);
265
+ }
253
266
  render() {
254
267
  var _a, _b;
255
268
  const { disabled } = this;
@@ -259,7 +272,10 @@ let InputDatePicker = class {
259
272
  : null;
260
273
  const formattedEndDate = endDate ? endDate.toLocaleDateString(this.locale) : "";
261
274
  const formattedDate = date ? date.toLocaleDateString(this.locale) : "";
262
- return (index.h(index.Host, { onBlur: this.deactivate, onKeyUp: this.keyUpHandler, role: "application" }, this.localeData && (index.h("div", { "aria-expanded": this.active.toString(), class: "input-container", role: "application" }, index.h("div", { class: "input-wrapper", ref: this.setStartWrapper }, index.h("calcite-input", { class: `input ${this.layout === "vertical" && this.range ? `no-bottom-border` : ``}`, disabled: disabled, icon: "calendar", label: label.getLabelText(this), "number-button-type": "none", onCalciteInputBlur: this.inputBlur, onCalciteInputFocus: this.startInputFocus, onCalciteInputInput: this.inputInput, placeholder: (_a = this.localeData) === null || _a === void 0 ? void 0 : _a.placeholder, ref: this.setStartInput, scale: this.scale, type: "text", value: formattedDate })), index.h("div", { "aria-hidden": (!this.active).toString(), class: "menu-container", ref: this.setMenuEl }, index.h("div", { class: {
275
+ return (index.h(index.Host, { onBlur: this.deactivate, onKeyUp: this.keyUpHandler, role: "application" }, this.localeData && (index.h("div", { "aria-expanded": this.active.toString(), class: "input-container", role: "application" }, index.h("div", { class: "input-wrapper", ref: this.setStartWrapper }, index.h("calcite-input", { class: `input ${this.layout === "vertical" && this.range ? `no-bottom-border` : ``}`, disabled: disabled, icon: "calendar", label: label.getLabelText(this), "number-button-type": "none", onCalciteInputBlur: this.inputBlur, onCalciteInputFocus: this.startInputFocus, onCalciteInputInput: this.inputInput, placeholder: (_a = this.localeData) === null || _a === void 0 ? void 0 : _a.placeholder, ref: this.setStartInput, scale: this.scale, type: "text", value: formattedDate })), index.h("div", { "aria-hidden": (!this.active).toString(), class: {
276
+ "menu-container": true,
277
+ "menu-container--active": this.active
278
+ }, ref: this.setMenuEl }, index.h("div", { class: {
263
279
  ["calendar-picker-wrapper"]: true,
264
280
  ["calendar-picker-wrapper--end"]: this.focusedInput === "end",
265
281
  [popper.CSS.animation]: true,
@@ -445,6 +461,7 @@ let InputDatePicker = class {
445
461
  }
446
462
  get el() { return index.getElement(this); }
447
463
  static get watchers() { return {
464
+ "disabled": ["handleDisabledChange"],
448
465
  "value": ["valueHandler"],
449
466
  "min": ["onMinChanged"],
450
467
  "max": ["onMaxChanged"],
@@ -9,8 +9,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
9
9
  const index = require('./index-8760acaf.js');
10
10
  const guid = require('./guid-b270f0db.js');
11
11
  const number = require('./number-e813e801.js');
12
- const label = require('./label-6b18ca08.js');
12
+ const label = require('./label-980508de.js');
13
13
  const form = require('./form-d540f0cb.js');
14
+ const interactive = require('./interactive-87406231.js');
14
15
  require('./dom-f3df220d.js');
15
16
 
16
17
  const maxTenthForMinuteAndSecond = 5;
@@ -189,7 +190,7 @@ function parseTimeString(value) {
189
190
  };
190
191
  }
191
192
 
192
- const inputTimePickerCss = "@-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:inline-block;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
193
+ const inputTimePickerCss = "@-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:inline-block;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}: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}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
193
194
 
194
195
  let InputTimePicker = class {
195
196
  constructor(hostRef) {
@@ -301,6 +302,16 @@ let InputTimePicker = class {
301
302
  }
302
303
  };
303
304
  }
305
+ activeHandler() {
306
+ if (this.disabled) {
307
+ this.active = false;
308
+ }
309
+ }
310
+ handleDisabledChange(value) {
311
+ if (!value) {
312
+ this.active = false;
313
+ }
314
+ }
304
315
  localeWatcher(newLocale) {
305
316
  this.setInputValue(localizeTimeString(this.value, newLocale, this.shouldIncludeSeconds()));
306
317
  }
@@ -370,6 +381,9 @@ let InputTimePicker = class {
370
381
  label.disconnectLabel(this);
371
382
  form.disconnectForm(this);
372
383
  }
384
+ componentDidRender() {
385
+ interactive.updateHostInteraction(this);
386
+ }
373
387
  // --------------------------------------------------------------------------
374
388
  //
375
389
  // Render Methods
@@ -377,10 +391,12 @@ let InputTimePicker = class {
377
391
  // --------------------------------------------------------------------------
378
392
  render() {
379
393
  const popoverId = `${this.referenceElementId}-popover`;
380
- return (index.h(index.Host, null, index.h("div", { "aria-controls": popoverId, "aria-haspopup": "dialog", "aria-label": this.name, "aria-owns": popoverId, id: this.referenceElementId, role: "combobox" }, index.h("calcite-input", { disabled: this.disabled, icon: "clock", label: label.getLabelText(this), onCalciteInputBlur: this.calciteInputBlurHandler, onCalciteInputFocus: this.calciteInputFocusHandler, onCalciteInputInput: this.calciteInputInputHandler, ref: this.setCalciteInputEl, scale: this.scale, step: this.step })), index.h("calcite-popover", { id: popoverId, label: "Time Picker", open: this.active || false, referenceElement: this.referenceElementId }, index.h("calcite-time-picker", { intlHour: this.intlHour, intlHourDown: this.intlHourDown, intlHourUp: this.intlHourUp, intlMeridiem: this.intlMeridiem, intlMeridiemDown: this.intlMeridiemDown, intlMeridiemUp: this.intlMeridiemUp, intlMinute: this.intlMinute, intlMinuteDown: this.intlMinuteDown, intlMinuteUp: this.intlMinuteUp, intlSecond: this.intlSecond, intlSecondDown: this.intlSecondDown, intlSecondUp: this.intlSecondUp, lang: this.locale, onCalciteTimePickerChange: this.timePickerChangeHandler, ref: this.setCalciteTimePickerEl, scale: this.scale, step: this.step, value: this.value })), index.h(form.HiddenFormInputSlot, { component: this })));
394
+ return (index.h(index.Host, null, index.h("div", { "aria-controls": popoverId, "aria-haspopup": "dialog", "aria-label": this.name, "aria-owns": popoverId, id: this.referenceElementId, role: "combobox" }, index.h("calcite-input", { disabled: this.disabled, icon: "clock", label: label.getLabelText(this), onCalciteInputBlur: this.calciteInputBlurHandler, onCalciteInputFocus: this.calciteInputFocusHandler, onCalciteInputInput: this.calciteInputInputHandler, ref: this.setCalciteInputEl, scale: this.scale, step: this.step })), index.h("calcite-popover", { id: popoverId, label: "Time Picker", open: this.active, referenceElement: this.referenceElementId }, index.h("calcite-time-picker", { intlHour: this.intlHour, intlHourDown: this.intlHourDown, intlHourUp: this.intlHourUp, intlMeridiem: this.intlMeridiem, intlMeridiemDown: this.intlMeridiemDown, intlMeridiemUp: this.intlMeridiemUp, intlMinute: this.intlMinute, intlMinuteDown: this.intlMinuteDown, intlMinuteUp: this.intlMinuteUp, intlSecond: this.intlSecond, intlSecondDown: this.intlSecondDown, intlSecondUp: this.intlSecondUp, lang: this.locale, onCalciteTimePickerChange: this.timePickerChangeHandler, ref: this.setCalciteTimePickerEl, scale: this.scale, step: this.step, value: this.value })), index.h(form.HiddenFormInputSlot, { component: this })));
381
395
  }
382
396
  get el() { return index.getElement(this); }
383
397
  static get watchers() { return {
398
+ "active": ["activeHandler"],
399
+ "disabled": ["handleDisabledChange"],
384
400
  "locale": ["localeWatcher"],
385
401
  "value": ["valueWatcher"]
386
402
  }; }