@esri/calcite-components 1.0.0-next.414 → 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 (403) hide show
  1. package/dist/calcite/calcite.esm.js +1 -1
  2. package/dist/calcite/p-00009c01.system.entry.js +5 -0
  3. package/dist/calcite/p-01f877b3.entry.js +5 -0
  4. package/dist/calcite/p-04708565.system.entry.js +5 -0
  5. package/dist/calcite/p-04859cc3.entry.js +5 -0
  6. package/dist/calcite/p-0a565a2a.entry.js +5 -0
  7. package/dist/calcite/p-18d1b401.system.entry.js +5 -0
  8. package/dist/calcite/p-18ea4373.system.js +5 -0
  9. package/dist/calcite/p-190e3d04.entry.js +5 -0
  10. package/dist/calcite/p-1984c1b1.system.entry.js +5 -0
  11. package/dist/calcite/p-1ff6776b.entry.js +5 -0
  12. package/dist/calcite/p-22cef177.entry.js +5 -0
  13. package/dist/calcite/p-24e1de98.entry.js +5 -0
  14. package/dist/calcite/p-2f20293c.system.entry.js +5 -0
  15. package/dist/calcite/p-2fcab9f8.entry.js +5 -0
  16. package/dist/calcite/p-3119ffce.system.js +5 -0
  17. package/dist/calcite/p-31c3b490.system.entry.js +5 -0
  18. package/dist/calcite/p-38b1f6b5.entry.js +5 -0
  19. package/dist/calcite/p-42d258d4.system.entry.js +5 -0
  20. package/dist/calcite/p-4392cf25.system.entry.js +5 -0
  21. package/dist/calcite/p-44032496.system.entry.js +5 -0
  22. package/dist/calcite/p-45dce037.system.entry.js +5 -0
  23. package/dist/calcite/p-467318a0.system.entry.js +5 -0
  24. package/dist/calcite/p-46741fa4.entry.js +5 -0
  25. package/dist/calcite/p-46c177ec.system.entry.js +5 -0
  26. package/dist/calcite/p-4a3a1b46.entry.js +5 -0
  27. package/dist/calcite/p-5653a345.entry.js +5 -0
  28. package/dist/calcite/p-58274475.system.entry.js +5 -0
  29. package/dist/calcite/p-5be670bf.system.entry.js +5 -0
  30. package/dist/calcite/p-5c237680.entry.js +5 -0
  31. package/dist/calcite/p-5d1c8466.entry.js +5 -0
  32. package/dist/calcite/p-66a7bd24.system.entry.js +5 -0
  33. package/dist/calcite/p-7375cf4f.system.entry.js +5 -0
  34. package/dist/calcite/p-78bb06e5.system.entry.js +5 -0
  35. package/dist/calcite/p-7ab80118.entry.js +5 -0
  36. package/dist/calcite/p-807e32d8.entry.js +5 -0
  37. package/dist/calcite/p-88f949f4.entry.js +5 -0
  38. package/dist/calcite/p-8afbcf9e.entry.js +5 -0
  39. package/dist/calcite/p-8bb762f9.system.entry.js +5 -0
  40. package/dist/calcite/p-8dbb756d.entry.js +5 -0
  41. package/dist/calcite/p-8e198935.entry.js +5 -0
  42. package/dist/calcite/p-8f93be14.system.js +1 -1
  43. package/dist/calcite/p-9127d01c.entry.js +5 -0
  44. package/dist/calcite/p-93d9d3e7.entry.js +5 -0
  45. package/dist/calcite/p-98962bd9.entry.js +5 -0
  46. package/dist/calcite/p-9a69d12a.system.entry.js +5 -0
  47. package/dist/calcite/{p-fda8b94b.entry.js → p-9b514f77.entry.js} +1 -1
  48. package/dist/calcite/p-9e56f30f.system.entry.js +5 -0
  49. package/dist/calcite/p-a400f6dc.system.entry.js +5 -0
  50. package/dist/calcite/p-a72718b5.system.entry.js +5 -0
  51. package/dist/calcite/p-b5afe88b.system.entry.js +5 -0
  52. package/dist/calcite/p-b84e5b34.entry.js +5 -0
  53. package/dist/calcite/p-bce112c4.system.entry.js +5 -0
  54. package/dist/calcite/p-bd38ff21.js +5 -0
  55. package/dist/calcite/p-c5086019.system.entry.js +5 -0
  56. package/dist/calcite/p-c7f36800.system.entry.js +5 -0
  57. package/dist/calcite/p-c82c4418.entry.js +5 -0
  58. package/dist/calcite/{p-bcd705be.system.entry.js → p-c908ce40.system.entry.js} +1 -1
  59. package/dist/calcite/p-cfb7be80.system.entry.js +5 -0
  60. package/dist/calcite/p-d74ca1cf.system.entry.js +5 -0
  61. package/dist/calcite/p-d74e933c.entry.js +5 -0
  62. package/dist/calcite/p-db73225f.system.entry.js +5 -0
  63. package/dist/calcite/p-e01879bf.js +5 -0
  64. package/dist/calcite/p-e33d149d.system.entry.js +5 -0
  65. package/dist/calcite/p-e8f17533.entry.js +5 -0
  66. package/dist/calcite/p-ea32a5ac.system.entry.js +5 -0
  67. package/dist/calcite/p-eaf79f20.entry.js +5 -0
  68. package/dist/calcite/p-f2433871.entry.js +5 -0
  69. package/dist/calcite/p-f71b551d.entry.js +5 -0
  70. package/dist/calcite/p-fa078a42.entry.js +5 -0
  71. package/dist/cjs/calcite-action.cjs.entry.js +5 -1
  72. package/dist/cjs/calcite-block_2.cjs.entry.js +14 -5
  73. package/dist/cjs/calcite-button.cjs.entry.js +5 -1
  74. package/dist/cjs/calcite-checkbox.cjs.entry.js +5 -1
  75. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +15 -2
  76. package/dist/cjs/calcite-combobox_3.cjs.entry.js +17 -2
  77. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +9 -2
  78. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +22 -6
  79. package/dist/cjs/calcite-fab.cjs.entry.js +10 -1
  80. package/dist/cjs/calcite-filter.cjs.entry.js +12 -3
  81. package/dist/cjs/calcite-graph_2.cjs.entry.js +3 -1
  82. package/dist/cjs/calcite-inline-editable.cjs.entry.js +10 -8
  83. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +20 -3
  84. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +18 -2
  85. package/dist/cjs/calcite-input.cjs.entry.js +5 -1
  86. package/dist/cjs/calcite-label.cjs.entry.js +6 -2
  87. package/dist/cjs/calcite-link.cjs.entry.js +6 -2
  88. package/dist/cjs/calcite-list_3.cjs.entry.js +28 -2
  89. package/dist/cjs/calcite-option_3.cjs.entry.js +5 -1
  90. package/dist/cjs/calcite-panel.cjs.entry.js +12 -3
  91. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +10 -6
  92. package/dist/cjs/calcite-radio-button.cjs.entry.js +5 -1
  93. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +6 -2
  94. package/dist/cjs/calcite-rating.cjs.entry.js +10 -4
  95. package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -1
  96. package/dist/cjs/calcite-split-button.cjs.entry.js +25 -2
  97. package/dist/cjs/calcite-stepper_2.cjs.entry.js +6 -2
  98. package/dist/cjs/calcite-switch.cjs.entry.js +5 -8
  99. package/dist/cjs/calcite-tab_4.cjs.entry.js +6 -3
  100. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +17 -2
  101. package/dist/cjs/calcite-tile.cjs.entry.js +5 -1
  102. package/dist/cjs/calcite-value-list_2.cjs.entry.js +12 -7
  103. package/dist/cjs/calcite.cjs.js +1 -1
  104. package/dist/cjs/interactive-87406231.js +44 -0
  105. package/dist/cjs/loader.cjs.js +1 -1
  106. package/dist/cjs/{resources-415f797b.js → resources-65327c4a.js} +33 -8
  107. package/dist/collection/components/action/action.css +9 -0
  108. package/dist/collection/components/action/action.js +4 -0
  109. package/dist/collection/components/block/block.css +13 -9
  110. package/dist/collection/components/block/block.js +13 -4
  111. package/dist/collection/components/button/button.css +15 -2
  112. package/dist/collection/components/button/button.js +4 -0
  113. package/dist/collection/components/checkbox/checkbox.css +7 -0
  114. package/dist/collection/components/checkbox/checkbox.js +4 -0
  115. package/dist/collection/components/color-picker/color-picker.css +13 -0
  116. package/dist/collection/components/color-picker/color-picker.js +32 -1
  117. package/dist/collection/components/combobox/combobox.css +7 -1
  118. package/dist/collection/components/combobox/combobox.js +14 -0
  119. package/dist/collection/components/combobox-item/combobox-item.css +13 -0
  120. package/dist/collection/components/combobox-item/combobox-item.js +4 -0
  121. package/dist/collection/components/date-picker-day/date-picker-day.css +13 -5
  122. package/dist/collection/components/date-picker-day/date-picker-day.js +8 -1
  123. package/dist/collection/components/dropdown/dropdown.css +8 -0
  124. package/dist/collection/components/dropdown/dropdown.js +23 -5
  125. package/dist/collection/components/fab/fab.css +13 -0
  126. package/dist/collection/components/fab/fab.js +9 -0
  127. package/dist/collection/components/filter/filter.css +13 -0
  128. package/dist/collection/components/filter/filter.js +11 -3
  129. package/dist/collection/components/inline-editable/inline-editable.css +12 -0
  130. package/dist/collection/components/inline-editable/inline-editable.js +9 -7
  131. package/dist/collection/components/input/input.css +8 -7
  132. package/dist/collection/components/input/input.js +4 -0
  133. package/dist/collection/components/input-date-picker/input-date-picker.css +64 -27
  134. package/dist/collection/components/input-date-picker/input-date-picker.js +21 -2
  135. package/dist/collection/components/input-time-picker/input-time-picker.css +13 -0
  136. package/dist/collection/components/input-time-picker/input-time-picker.js +21 -1
  137. package/dist/collection/components/label/label.css +12 -0
  138. package/dist/collection/components/label/label.js +9 -2
  139. package/dist/collection/components/link/link.css +13 -8
  140. package/dist/collection/components/link/link.js +5 -1
  141. package/dist/collection/components/list/list.css +13 -0
  142. package/dist/collection/components/list/list.js +38 -0
  143. package/dist/collection/components/list-item/list-item.css +8 -0
  144. package/dist/collection/components/list-item/list-item.js +9 -0
  145. package/dist/collection/components/panel/panel.css +13 -0
  146. package/dist/collection/components/panel/panel.js +11 -2
  147. package/dist/collection/components/pick-list/pick-list.css +13 -0
  148. package/dist/collection/components/pick-list/pick-list.js +4 -0
  149. package/dist/collection/components/pick-list/shared-list-logic.js +30 -6
  150. package/dist/collection/components/pick-list/shared-list-render.js +2 -2
  151. package/dist/collection/components/pick-list-item/pick-list-item.css +13 -0
  152. package/dist/collection/components/pick-list-item/pick-list-item.js +5 -4
  153. package/dist/collection/components/radio-button/radio-button.css +10 -1
  154. package/dist/collection/components/radio-button/radio-button.js +4 -0
  155. package/dist/collection/components/radio-group/radio-group.css +13 -5
  156. package/dist/collection/components/radio-group/radio-group.js +5 -1
  157. package/dist/collection/components/rating/rating.css +13 -5
  158. package/dist/collection/components/rating/rating.js +9 -3
  159. package/dist/collection/components/select/select.css +13 -7
  160. package/dist/collection/components/select/select.js +4 -0
  161. package/dist/collection/components/slider/slider.css +8 -0
  162. package/dist/collection/components/slider/slider.js +2 -0
  163. package/dist/collection/components/sortable-list/sortable-list.css +13 -0
  164. package/dist/collection/components/sortable-list/sortable-list.js +4 -0
  165. package/dist/collection/components/split-button/split-button.css +12 -0
  166. package/dist/collection/components/split-button/split-button.js +29 -3
  167. package/dist/collection/components/stepper-item/stepper-item.css +8 -4
  168. package/dist/collection/components/stepper-item/stepper-item.js +6 -2
  169. package/dist/collection/components/switch/switch.css +7 -0
  170. package/dist/collection/components/switch/switch.js +5 -13
  171. package/dist/collection/components/tab-title/tab-title.css +9 -0
  172. package/dist/collection/components/tab-title/tab-title.js +6 -3
  173. package/dist/collection/components/tile/tile.css +17 -1
  174. package/dist/collection/components/tile/tile.js +4 -0
  175. package/dist/collection/components/tile-select/tile-select.css +9 -1
  176. package/dist/collection/components/tile-select/tile-select.js +4 -0
  177. package/dist/collection/components/tile-select-group/tile-select-group.css +13 -0
  178. package/dist/collection/components/tile-select-group/tile-select-group.js +31 -1
  179. package/dist/collection/components/value-list/value-list.css +13 -0
  180. package/dist/collection/components/value-list/value-list.js +6 -5
  181. package/dist/collection/components/value-list-item/value-list-item.css +13 -0
  182. package/dist/collection/components/value-list-item/value-list-item.js +5 -1
  183. package/dist/collection/utils/interactive.js +42 -0
  184. package/dist/components/action.js +5 -1
  185. package/dist/components/button.js +5 -1
  186. package/dist/components/calcite-block.js +14 -5
  187. package/dist/components/calcite-color-picker.js +16 -2
  188. package/dist/components/calcite-combobox-item.js +5 -1
  189. package/dist/components/calcite-combobox.js +13 -1
  190. package/dist/components/calcite-fab.js +10 -1
  191. package/dist/components/calcite-inline-editable.js +10 -8
  192. package/dist/components/calcite-input-date-picker.js +20 -3
  193. package/dist/components/calcite-input-time-picker.js +18 -2
  194. package/dist/components/calcite-list-item.js +10 -1
  195. package/dist/components/calcite-list.js +20 -1
  196. package/dist/components/calcite-panel.js +12 -3
  197. package/dist/components/calcite-pick-list.js +5 -1
  198. package/dist/components/calcite-radio-button.js +5 -1
  199. package/dist/components/calcite-radio-group.js +6 -2
  200. package/dist/components/calcite-rating.js +10 -4
  201. package/dist/components/calcite-select.js +5 -1
  202. package/dist/components/calcite-slider.js +3 -1
  203. package/dist/components/calcite-sortable-list.js +5 -1
  204. package/dist/components/calcite-split-button.js +26 -3
  205. package/dist/components/calcite-stepper-item.js +7 -3
  206. package/dist/components/calcite-tile-select-group.js +14 -1
  207. package/dist/components/calcite-tile-select.js +5 -1
  208. package/dist/components/calcite-value-list-item.js +5 -1
  209. package/dist/components/calcite-value-list.js +7 -6
  210. package/dist/components/checkbox.js +5 -1
  211. package/dist/components/date-picker-day.js +9 -2
  212. package/dist/components/dropdown.js +22 -6
  213. package/dist/components/filter.js +18 -21
  214. package/dist/components/input.js +5 -1
  215. package/dist/components/interactive.js +42 -0
  216. package/dist/components/label2.js +6 -2
  217. package/dist/components/link.js +6 -2
  218. package/dist/components/pick-list-item.js +5 -4
  219. package/dist/components/shared-list-render.js +33 -9
  220. package/dist/components/switch.js +5 -9
  221. package/dist/components/tab-title.js +6 -3
  222. package/dist/components/tile.js +5 -1
  223. package/dist/custom-elements/index.js +380 -99
  224. package/dist/esm/calcite-action.entry.js +5 -1
  225. package/dist/esm/calcite-block_2.entry.js +14 -5
  226. package/dist/esm/calcite-button.entry.js +5 -1
  227. package/dist/esm/calcite-checkbox.entry.js +5 -1
  228. package/dist/esm/calcite-color-picker_3.entry.js +15 -2
  229. package/dist/esm/calcite-combobox_3.entry.js +17 -2
  230. package/dist/esm/calcite-date-picker_4.entry.js +9 -2
  231. package/dist/esm/calcite-dropdown_3.entry.js +22 -6
  232. package/dist/esm/calcite-fab.entry.js +10 -1
  233. package/dist/esm/calcite-filter.entry.js +12 -3
  234. package/dist/esm/calcite-graph_2.entry.js +3 -1
  235. package/dist/esm/calcite-inline-editable.entry.js +10 -8
  236. package/dist/esm/calcite-input-date-picker.entry.js +20 -3
  237. package/dist/esm/calcite-input-time-picker_2.entry.js +18 -2
  238. package/dist/esm/calcite-input.entry.js +5 -1
  239. package/dist/esm/calcite-label.entry.js +6 -2
  240. package/dist/esm/calcite-link.entry.js +6 -2
  241. package/dist/esm/calcite-list_3.entry.js +28 -2
  242. package/dist/esm/calcite-option_3.entry.js +5 -1
  243. package/dist/esm/calcite-panel.entry.js +12 -3
  244. package/dist/esm/calcite-pick-list_3.entry.js +10 -6
  245. package/dist/esm/calcite-radio-button.entry.js +5 -1
  246. package/dist/esm/calcite-radio-group_2.entry.js +6 -2
  247. package/dist/esm/calcite-rating.entry.js +10 -4
  248. package/dist/esm/calcite-sortable-list.entry.js +5 -1
  249. package/dist/esm/calcite-split-button.entry.js +25 -2
  250. package/dist/esm/calcite-stepper_2.entry.js +6 -2
  251. package/dist/esm/calcite-switch.entry.js +5 -8
  252. package/dist/esm/calcite-tab_4.entry.js +6 -3
  253. package/dist/esm/calcite-tile-select_2.entry.js +17 -2
  254. package/dist/esm/calcite-tile.entry.js +5 -1
  255. package/dist/esm/calcite-value-list_2.entry.js +12 -7
  256. package/dist/esm/calcite.js +1 -1
  257. package/dist/esm/interactive-48b5cc0f.js +42 -0
  258. package/dist/esm/loader.js +1 -1
  259. package/dist/esm/{resources-999109fa.js → resources-77c12cea.js} +33 -9
  260. package/dist/esm-es5/calcite-action.entry.js +1 -1
  261. package/dist/esm-es5/calcite-block_2.entry.js +1 -1
  262. package/dist/esm-es5/calcite-button.entry.js +1 -1
  263. package/dist/esm-es5/calcite-checkbox.entry.js +1 -1
  264. package/dist/esm-es5/calcite-color-picker_3.entry.js +1 -1
  265. package/dist/esm-es5/calcite-combobox_3.entry.js +1 -1
  266. package/dist/esm-es5/calcite-date-picker_4.entry.js +1 -1
  267. package/dist/esm-es5/calcite-dropdown_3.entry.js +1 -1
  268. package/dist/esm-es5/calcite-fab.entry.js +2 -2
  269. package/dist/esm-es5/calcite-filter.entry.js +1 -1
  270. package/dist/esm-es5/calcite-graph_2.entry.js +1 -1
  271. package/dist/esm-es5/calcite-inline-editable.entry.js +1 -1
  272. package/dist/esm-es5/calcite-input-date-picker.entry.js +1 -1
  273. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
  274. package/dist/esm-es5/calcite-input.entry.js +1 -1
  275. package/dist/esm-es5/calcite-label.entry.js +1 -1
  276. package/dist/esm-es5/calcite-link.entry.js +2 -2
  277. package/dist/esm-es5/calcite-list_3.entry.js +2 -2
  278. package/dist/esm-es5/calcite-option_3.entry.js +2 -2
  279. package/dist/esm-es5/calcite-panel.entry.js +2 -2
  280. package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
  281. package/dist/esm-es5/calcite-radio-button.entry.js +1 -1
  282. package/dist/esm-es5/calcite-radio-group_2.entry.js +1 -1
  283. package/dist/esm-es5/calcite-rating.entry.js +2 -2
  284. package/dist/esm-es5/calcite-sortable-list.entry.js +1 -1
  285. package/dist/esm-es5/calcite-split-button.entry.js +1 -1
  286. package/dist/esm-es5/calcite-stepper_2.entry.js +1 -1
  287. package/dist/esm-es5/calcite-switch.entry.js +1 -1
  288. package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
  289. package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
  290. package/dist/esm-es5/calcite-tile.entry.js +1 -1
  291. package/dist/esm-es5/calcite-value-list_2.entry.js +1 -1
  292. package/dist/esm-es5/calcite.js +1 -1
  293. package/dist/esm-es5/interactive-48b5cc0f.js +5 -0
  294. package/dist/esm-es5/loader.js +1 -1
  295. package/dist/esm-es5/resources-77c12cea.js +5 -0
  296. package/dist/extras/docs-json.json +68 -22
  297. package/dist/types/components/action/action.d.ts +3 -1
  298. package/dist/types/components/block/block.d.ts +3 -1
  299. package/dist/types/components/button/button.d.ts +3 -1
  300. package/dist/types/components/checkbox/checkbox.d.ts +3 -1
  301. package/dist/types/components/color-picker/color-picker.d.ts +9 -1
  302. package/dist/types/components/combobox/combobox.d.ts +3 -1
  303. package/dist/types/components/combobox-item/combobox-item.d.ts +3 -1
  304. package/dist/types/components/date-picker-day/date-picker-day.d.ts +4 -1
  305. package/dist/types/components/dropdown/dropdown.d.ts +4 -1
  306. package/dist/types/components/fab/fab.d.ts +3 -1
  307. package/dist/types/components/filter/filter.d.ts +3 -1
  308. package/dist/types/components/inline-editable/inline-editable.d.ts +4 -1
  309. package/dist/types/components/input/input.d.ts +3 -1
  310. package/dist/types/components/input-date-picker/input-date-picker.d.ts +4 -1
  311. package/dist/types/components/input-time-picker/input-time-picker.d.ts +5 -1
  312. package/dist/types/components/label/label.d.ts +5 -1
  313. package/dist/types/components/link/link.d.ts +3 -1
  314. package/dist/types/components/list/list.d.ts +7 -1
  315. package/dist/types/components/list-item/list-item.d.ts +3 -1
  316. package/dist/types/components/panel/panel.d.ts +3 -1
  317. package/dist/types/components/pick-list/pick-list.d.ts +3 -1
  318. package/dist/types/components/pick-list/shared-list-logic.d.ts +1 -0
  319. package/dist/types/components/pick-list-item/pick-list-item.d.ts +4 -2
  320. package/dist/types/components/radio-button/radio-button.d.ts +3 -1
  321. package/dist/types/components/radio-group/radio-group.d.ts +3 -1
  322. package/dist/types/components/rating/rating.d.ts +3 -1
  323. package/dist/types/components/select/select.d.ts +3 -1
  324. package/dist/types/components/slider/slider.d.ts +2 -1
  325. package/dist/types/components/sortable-list/sortable-list.d.ts +3 -1
  326. package/dist/types/components/split-button/split-button.d.ts +5 -1
  327. package/dist/types/components/stepper-item/stepper-item.d.ts +3 -1
  328. package/dist/types/components/switch/switch.d.ts +3 -4
  329. package/dist/types/components/tab-title/tab-title.d.ts +3 -1
  330. package/dist/types/components/tile/tile.d.ts +3 -1
  331. package/dist/types/components/tile-select/tile-select.d.ts +3 -1
  332. package/dist/types/components/tile-select-group/tile-select-group.d.ts +6 -1
  333. package/dist/types/components/value-list/value-list.d.ts +3 -1
  334. package/dist/types/components/value-list-item/value-list-item.d.ts +4 -2
  335. package/dist/types/components.d.ts +28 -2
  336. package/dist/types/utils/interactive.d.ts +28 -0
  337. package/hydrate/index.js +383 -100
  338. package/package.json +1 -1
  339. package/dist/calcite/p-02cc50b9.entry.js +0 -5
  340. package/dist/calcite/p-0aee798e.entry.js +0 -5
  341. package/dist/calcite/p-0d09d73b.system.entry.js +0 -5
  342. package/dist/calcite/p-11413626.system.entry.js +0 -5
  343. package/dist/calcite/p-125c9edc.entry.js +0 -5
  344. package/dist/calcite/p-12a4eac6.system.entry.js +0 -5
  345. package/dist/calcite/p-1a34e1df.system.entry.js +0 -5
  346. package/dist/calcite/p-1c1ad353.system.entry.js +0 -5
  347. package/dist/calcite/p-236b8f2e.system.entry.js +0 -5
  348. package/dist/calcite/p-322195bf.system.entry.js +0 -5
  349. package/dist/calcite/p-35461165.system.entry.js +0 -5
  350. package/dist/calcite/p-38c5a816.system.entry.js +0 -5
  351. package/dist/calcite/p-43ec3d32.system.entry.js +0 -5
  352. package/dist/calcite/p-4cd8449b.system.entry.js +0 -5
  353. package/dist/calcite/p-5079ec88.entry.js +0 -5
  354. package/dist/calcite/p-514f6d94.system.entry.js +0 -5
  355. package/dist/calcite/p-563bce5c.entry.js +0 -5
  356. package/dist/calcite/p-57186636.system.entry.js +0 -5
  357. package/dist/calcite/p-5a7b1bd1.system.entry.js +0 -5
  358. package/dist/calcite/p-5c425028.entry.js +0 -5
  359. package/dist/calcite/p-5ecd3b72.system.entry.js +0 -5
  360. package/dist/calcite/p-633a2c7f.entry.js +0 -5
  361. package/dist/calcite/p-640a1577.system.entry.js +0 -5
  362. package/dist/calcite/p-673a3cd9.entry.js +0 -5
  363. package/dist/calcite/p-743597e4.entry.js +0 -5
  364. package/dist/calcite/p-74b8f15f.entry.js +0 -5
  365. package/dist/calcite/p-77564c0d.entry.js +0 -5
  366. package/dist/calcite/p-793659d0.entry.js +0 -5
  367. package/dist/calcite/p-7a0e8fab.system.entry.js +0 -5
  368. package/dist/calcite/p-7ccf6273.entry.js +0 -5
  369. package/dist/calcite/p-7dfe915f.entry.js +0 -5
  370. package/dist/calcite/p-802a05a2.entry.js +0 -5
  371. package/dist/calcite/p-8046175f.entry.js +0 -5
  372. package/dist/calcite/p-818b3ac7.entry.js +0 -5
  373. package/dist/calcite/p-81a3de30.system.entry.js +0 -5
  374. package/dist/calcite/p-82c142d8.entry.js +0 -5
  375. package/dist/calcite/p-8683663f.entry.js +0 -5
  376. package/dist/calcite/p-8c59090d.entry.js +0 -5
  377. package/dist/calcite/p-91b23d79.system.entry.js +0 -5
  378. package/dist/calcite/p-949a2fcd.entry.js +0 -5
  379. package/dist/calcite/p-99da584e.system.entry.js +0 -5
  380. package/dist/calcite/p-9d102b23.system.entry.js +0 -5
  381. package/dist/calcite/p-a0ffad45.entry.js +0 -5
  382. package/dist/calcite/p-a6686c30.system.entry.js +0 -5
  383. package/dist/calcite/p-ad7fbabd.entry.js +0 -5
  384. package/dist/calcite/p-adfa48bc.entry.js +0 -5
  385. package/dist/calcite/p-b03b03d5.entry.js +0 -5
  386. package/dist/calcite/p-b88fa028.system.entry.js +0 -5
  387. package/dist/calcite/p-b8ce64ec.entry.js +0 -5
  388. package/dist/calcite/p-badc48d2.entry.js +0 -5
  389. package/dist/calcite/p-bfaed65e.entry.js +0 -5
  390. package/dist/calcite/p-c1018bb4.system.entry.js +0 -5
  391. package/dist/calcite/p-cfe2e6ee.system.entry.js +0 -5
  392. package/dist/calcite/p-d08d1450.entry.js +0 -5
  393. package/dist/calcite/p-d359def7.system.entry.js +0 -5
  394. package/dist/calcite/p-dcf17450.system.entry.js +0 -5
  395. package/dist/calcite/p-de562f92.system.js +0 -5
  396. package/dist/calcite/p-e9460f3c.js +0 -5
  397. package/dist/calcite/p-efb21590.system.entry.js +0 -5
  398. package/dist/calcite/p-f20b0a41.system.entry.js +0 -5
  399. package/dist/calcite/p-f542ba26.entry.js +0 -5
  400. package/dist/calcite/p-f9d1a58e.entry.js +0 -5
  401. package/dist/calcite/p-fbbf933d.system.entry.js +0 -5
  402. package/dist/calcite/p-fc11382c.system.entry.js +0 -5
  403. package/dist/esm-es5/resources-999109fa.js +0 -5
@@ -92,9 +92,15 @@
92
92
 
93
93
  :host([disabled]) {
94
94
  pointer-events: none;
95
+ cursor: default;
95
96
  -webkit-user-select: none;
96
97
  user-select: none;
97
- opacity: 0.5;
98
+ opacity: var(--calcite-ui-opacity-disabled);
99
+ }
100
+ :host([disabled]) ::slotted([calcite-hydrated][disabled]),
101
+ :host([disabled]) [calcite-hydrated][disabled] {
102
+ /* prevent opacity stacking */
103
+ opacity: 1;
98
104
  }
99
105
 
100
106
  :host([scale=s]) {
@@ -12,6 +12,7 @@ import { getItemAncestors, getItemChildren, hasActiveChildren } from "./utils";
12
12
  import { connectLabel, disconnectLabel, getLabelText } from "../../utils/label";
13
13
  import { afterConnectDefaultValueSet, connectForm, disconnectForm, HiddenFormInputSlot } from "../../utils/form";
14
14
  import { createObserver } from "../../utils/observers";
15
+ import { updateHostInteraction } from "../../utils/interactive";
15
16
  const isGroup = (el) => el.tagName === ComboboxItemGroup;
16
17
  const itemUidPrefix = "combobox-item-";
17
18
  const chipUidPrefix = "combobox-chip-";
@@ -294,6 +295,10 @@ export class Combobox {
294
295
  };
295
296
  }
296
297
  activeHandler(newValue, oldValue) {
298
+ if (this.disabled) {
299
+ this.active = false;
300
+ return;
301
+ }
297
302
  // when closing, wait transition time then hide to prevent overscroll
298
303
  if (oldValue && !newValue) {
299
304
  this.el.addEventListener("calciteComboboxClose", this.toggleCloseEnd);
@@ -305,6 +310,11 @@ export class Combobox {
305
310
  }
306
311
  this.reposition();
307
312
  }
313
+ handleDisabledChange(value) {
314
+ if (!value) {
315
+ this.active = false;
316
+ }
317
+ }
308
318
  maxItemsHandler() {
309
319
  this.setMaxScrollerHeight();
310
320
  }
@@ -390,6 +400,7 @@ export class Combobox {
390
400
  this.reposition();
391
401
  this.inputHeight = this.el.offsetHeight;
392
402
  }
403
+ updateHostInteraction(this);
393
404
  }
394
405
  disconnectedCallback() {
395
406
  var _a, _b;
@@ -1171,6 +1182,9 @@ export class Combobox {
1171
1182
  static get watchers() { return [{
1172
1183
  "propName": "active",
1173
1184
  "methodName": "activeHandler"
1185
+ }, {
1186
+ "propName": "disabled",
1187
+ "methodName": "handleDisabledChange"
1174
1188
  }, {
1175
1189
  "propName": "maxItems",
1176
1190
  "methodName": "maxItemsHandler"
@@ -115,6 +115,19 @@
115
115
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
116
116
  }
117
117
 
118
+ :host([disabled]){
119
+ pointer-events: none;
120
+ cursor: default;
121
+ -webkit-user-select: none;
122
+ user-select: none;
123
+ opacity: var(--calcite-ui-opacity-disabled);
124
+ }
125
+ :host([disabled]) ::slotted([calcite-hydrated][disabled]),
126
+ :host([disabled]) [calcite-hydrated][disabled] {
127
+ /* prevent opacity stacking */
128
+ opacity: 1;
129
+ }
130
+
118
131
  :host, ul{
119
132
  margin: 0px;
120
133
  display: flex;
@@ -8,6 +8,7 @@ import { CSS } from "./resources";
8
8
  import { guid } from "../../utils/guid";
9
9
  import { getAncestors, getDepth } from "../combobox/utils";
10
10
  import { connectConditionalSlotComponent, disconnectConditionalSlotComponent } from "../../utils/conditionalSlot";
11
+ import { updateHostInteraction } from "../../utils/interactive";
11
12
  /**
12
13
  * @slot - A slot for adding nested `calcite-combobox-item`s.
13
14
  */
@@ -56,6 +57,9 @@ export class ComboboxItem {
56
57
  disconnectedCallback() {
57
58
  disconnectConditionalSlotComponent(this);
58
59
  }
60
+ componentDidRender() {
61
+ updateHostInteraction(this);
62
+ }
59
63
  // --------------------------------------------------------------------------
60
64
  //
61
65
  // Public Methods
@@ -87,6 +87,19 @@
87
87
  width: 14.2857142857%;
88
88
  }
89
89
 
90
+ :host([disabled]) {
91
+ pointer-events: none;
92
+ cursor: default;
93
+ -webkit-user-select: none;
94
+ user-select: none;
95
+ opacity: var(--calcite-ui-opacity-disabled);
96
+ }
97
+ :host([disabled]) ::slotted([calcite-hydrated][disabled]),
98
+ :host([disabled]) [calcite-hydrated][disabled] {
99
+ /* prevent opacity stacking */
100
+ opacity: 1;
101
+ }
102
+
90
103
  .day-v-wrapper {
91
104
  flex: 1 1 auto;
92
105
  }
@@ -166,11 +179,6 @@
166
179
  opacity: 1;
167
180
  }
168
181
 
169
- :host([disabled]) {
170
- cursor: default;
171
- opacity: 0.25;
172
- }
173
-
174
182
  :host(:hover:not([disabled])) .day, :host([active]:not([range])) .day {
175
183
  background-color: var(--calcite-ui-foreground-2);
176
184
  color: var(--calcite-ui-text-1);
@@ -5,6 +5,7 @@
5
5
  import { Component, Element, Prop, Host, Event, Listen, h } from "@stencil/core";
6
6
  import { getElementDir } from "../../utils/dom";
7
7
  import { CSS_UTILITY } from "../../utils/resources";
8
+ import { updateHostInteraction } from "../../utils/interactive";
8
9
  export class DatePickerDay {
9
10
  constructor() {
10
11
  /** Date is outside of range and can't be selected */
@@ -56,12 +57,18 @@ export class DatePickerDay {
56
57
  .map((i) => this.localeData.numerals[i])
57
58
  .join("");
58
59
  const dir = getElementDir(this.el);
59
- return (h(Host, { onClick: this.onClick, onKeyDown: this.keyDownHandler, role: "gridcell", tabindex: this.active ? 0 : -1 },
60
+ return (h(Host, { onClick: this.onClick, onKeyDown: this.keyDownHandler, role: "gridcell" },
60
61
  h("div", { class: { "day-v-wrapper": true, [CSS_UTILITY.rtl]: dir === "rtl" } },
61
62
  h("div", { class: "day-wrapper" },
62
63
  h("span", { class: "day" },
63
64
  h("span", { class: "text" }, formattedDay))))));
64
65
  }
66
+ componentDidRender() {
67
+ updateHostInteraction(this, this.isTabbable);
68
+ }
69
+ isTabbable() {
70
+ return this.active;
71
+ }
65
72
  static get is() { return "calcite-date-picker-day"; }
66
73
  static get encapsulation() { return "shadow"; }
67
74
  static get originalStyleUrls() { return {
@@ -92,8 +92,16 @@
92
92
 
93
93
  :host([disabled]) {
94
94
  pointer-events: none;
95
+ cursor: default;
96
+ -webkit-user-select: none;
97
+ user-select: none;
95
98
  opacity: var(--calcite-ui-opacity-disabled);
96
99
  }
100
+ :host([disabled]) ::slotted([calcite-hydrated][disabled]),
101
+ :host([disabled]) [calcite-hydrated][disabled] {
102
+ /* prevent opacity stacking */
103
+ opacity: 1;
104
+ }
97
105
 
98
106
  :host .calcite-dropdown-wrapper {
99
107
  display: block;
@@ -7,6 +7,7 @@ import { focusElement, getSlotted } from "../../utils/dom";
7
7
  import { createPopper, CSS as PopperCSS, updatePopper } from "../../utils/popper";
8
8
  import { DefaultDropdownPlacement, SLOTS } from "./resources";
9
9
  import { createObserver } from "../../utils/observers";
10
+ import { updateHostInteraction } from "../../utils/interactive";
10
11
  /**
11
12
  * @slot - A slot for adding `calcite-dropdown-group`s or `calcite-dropdown-item`s.
12
13
  * @slot dropdown-trigger - A slot for the element that triggers the dropdown.
@@ -134,7 +135,16 @@ export class Dropdown {
134
135
  };
135
136
  }
136
137
  activeHandler() {
137
- this.reposition();
138
+ if (!this.disabled) {
139
+ this.reposition();
140
+ return;
141
+ }
142
+ this.active = false;
143
+ }
144
+ handleDisabledChange(value) {
145
+ if (!value) {
146
+ this.active = false;
147
+ }
138
148
  }
139
149
  maxItemsHandler() {
140
150
  this.setMaxScrollerHeight();
@@ -156,6 +166,9 @@ export class Dropdown {
156
166
  componentDidLoad() {
157
167
  this.reposition();
158
168
  }
169
+ componentDidRender() {
170
+ updateHostInteraction(this);
171
+ }
159
172
  disconnectedCallback() {
160
173
  var _a, _b;
161
174
  (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
@@ -164,7 +177,7 @@ export class Dropdown {
164
177
  }
165
178
  render() {
166
179
  const { active } = this;
167
- return (h(Host, { tabIndex: this.disabled ? -1 : null },
180
+ return (h(Host, null,
168
181
  h("div", { class: "calcite-dropdown-trigger-container", onClick: this.openCalciteDropdown, onKeyDown: this.keyDownHandler, ref: this.setReferenceEl },
169
182
  h("slot", { "aria-expanded": active.toString(), "aria-haspopup": "true", name: SLOTS.dropdownTrigger })),
170
183
  h("div", { "aria-hidden": (!active).toString(), class: "calcite-dropdown-wrapper", ref: this.setMenuEl },
@@ -198,7 +211,7 @@ export class Dropdown {
198
211
  if (!this.active || e.composedPath().includes(this.el)) {
199
212
  return;
200
213
  }
201
- this.closeCalciteDropdown();
214
+ this.closeCalciteDropdown(false);
202
215
  }
203
216
  closeCalciteDropdownOnEvent() {
204
217
  this.closeCalciteDropdown();
@@ -322,9 +335,11 @@ export class Dropdown {
322
335
  });
323
336
  return maxScrollerHeight;
324
337
  }
325
- closeCalciteDropdown() {
338
+ closeCalciteDropdown(focusTrigger = true) {
326
339
  this.active = false;
327
- focusElement(this.triggers[0]);
340
+ if (focusTrigger) {
341
+ focusElement(this.triggers[0]);
342
+ }
328
343
  }
329
344
  focusFirstItem() {
330
345
  const firstItem = this.items[0];
@@ -642,6 +657,9 @@ export class Dropdown {
642
657
  static get watchers() { return [{
643
658
  "propName": "active",
644
659
  "methodName": "activeHandler"
660
+ }, {
661
+ "propName": "disabled",
662
+ "methodName": "handleDisabledChange"
645
663
  }, {
646
664
  "propName": "maxItems",
647
665
  "methodName": "maxItemsHandler"
@@ -83,6 +83,19 @@
83
83
  background-color: transparent;
84
84
  }
85
85
 
86
+ :host([disabled]) {
87
+ pointer-events: none;
88
+ cursor: default;
89
+ -webkit-user-select: none;
90
+ user-select: none;
91
+ opacity: var(--calcite-ui-opacity-disabled);
92
+ }
93
+ :host([disabled]) ::slotted([calcite-hydrated][disabled]),
94
+ :host([disabled]) [calcite-hydrated][disabled] {
95
+ /* prevent opacity stacking */
96
+ opacity: 1;
97
+ }
98
+
86
99
  calcite-button {
87
100
  --tw-shadow: 0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);
88
101
  --tw-shadow-colored: 0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);
@@ -5,6 +5,7 @@
5
5
  import { Component, Element, Method, Prop, h } from "@stencil/core";
6
6
  import { CSS, ICONS } from "./resources";
7
7
  import { focusElement } from "../../utils/dom";
8
+ import { updateHostInteraction } from "../../utils/interactive";
8
9
  export class Fab {
9
10
  constructor() {
10
11
  // --------------------------------------------------------------------------
@@ -42,6 +43,14 @@ export class Fab {
42
43
  */
43
44
  this.textEnabled = false;
44
45
  }
46
+ //--------------------------------------------------------------------------
47
+ //
48
+ // Lifecycle
49
+ //
50
+ //--------------------------------------------------------------------------
51
+ componentDidRender() {
52
+ updateHostInteraction(this);
53
+ }
45
54
  // --------------------------------------------------------------------------
46
55
  //
47
56
  // Methods
@@ -94,6 +94,19 @@
94
94
  width: 100%;
95
95
  }
96
96
 
97
+ :host([disabled]) {
98
+ pointer-events: none;
99
+ cursor: default;
100
+ -webkit-user-select: none;
101
+ user-select: none;
102
+ opacity: var(--calcite-ui-opacity-disabled);
103
+ }
104
+ :host([disabled]) ::slotted([calcite-hydrated][disabled]),
105
+ :host([disabled]) [calcite-hydrated][disabled] {
106
+ /* prevent opacity stacking */
107
+ opacity: 1;
108
+ }
109
+
97
110
  .container {
98
111
  display: flex;
99
112
  width: 100%;
@@ -6,6 +6,7 @@ import { Component, Element, Event, Prop, h, Method, Fragment, Watch } from "@st
6
6
  import { debounce, forIn } from "lodash-es";
7
7
  import { CSS, ICONS, TEXT } from "./resources";
8
8
  import { focusElement } from "../../utils/dom";
9
+ import { updateHostInteraction } from "../../utils/interactive";
9
10
  const filterDebounceInMs = 250;
10
11
  export class Filter {
11
12
  constructor() {
@@ -95,6 +96,14 @@ export class Filter {
95
96
  // Lifecycle
96
97
  //
97
98
  //--------------------------------------------------------------------------
99
+ componentDidRender() {
100
+ updateHostInteraction(this);
101
+ }
102
+ //--------------------------------------------------------------------------
103
+ //
104
+ // Lifecycle
105
+ //
106
+ //--------------------------------------------------------------------------
98
107
  componentWillLoad() {
99
108
  this.filter(this.value);
100
109
  }
@@ -120,13 +129,12 @@ export class Filter {
120
129
  render() {
121
130
  const { disabled, scale } = this;
122
131
  return (h(Fragment, null,
123
- disabled ? h("calcite-scrim", null) : null,
124
132
  h("div", { class: CSS.container },
125
133
  h("label", null,
126
- 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) => {
134
+ 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) => {
127
135
  this.textInput = el;
128
136
  }, scale: scale, type: "text", value: this.value })),
129
- this.value ? (h("button", { "aria-label": this.intlClear || TEXT.clear, class: CSS.clearButton, onClick: this.clear },
137
+ this.value ? (h("button", { "aria-label": this.intlClear || TEXT.clear, class: CSS.clearButton, disabled: disabled, onClick: this.clear },
130
138
  h("calcite-icon", { icon: ICONS.close, scale: scale }))) : null)));
131
139
  }
132
140
  static get is() { return "calcite-filter"; }
@@ -116,6 +116,18 @@
116
116
  display: flex;
117
117
  }
118
118
 
119
+ :host([disabled]) {
120
+ pointer-events: none;
121
+ cursor: default;
122
+ -webkit-user-select: none;
123
+ user-select: none;
124
+ opacity: var(--calcite-ui-opacity-disabled);
125
+ }
119
126
  :host([disabled]) .cancel-editing-button-wrapper {
120
127
  border-color: var(--calcite-ui-border-2);
128
+ }
129
+ :host([disabled]) ::slotted([calcite-hydrated][disabled]),
130
+ :host([disabled]) [calcite-hydrated][disabled] {
131
+ /* prevent opacity stacking */
132
+ opacity: 1;
121
133
  }
@@ -7,6 +7,7 @@ import { getElementProp, getSlotted } from "../../utils/dom";
7
7
  import { TEXT, CSS } from "./resources";
8
8
  import { connectLabel, disconnectLabel, getLabelText } from "../../utils/label";
9
9
  import { createObserver } from "../../utils/observers";
10
+ import { updateHostInteraction } from "../../utils/interactive";
10
11
  /**
11
12
  * @slot - A slot for adding a `calcite-input`.
12
13
  */
@@ -70,7 +71,6 @@ export class InlineEditable {
70
71
  }
71
72
  if (!!e.shiftKey && e.target === this.cancelEditingButton) {
72
73
  e.preventDefault();
73
- e.stopPropagation();
74
74
  (_a = this.inputElement) === null || _a === void 0 ? void 0 : _a.setFocus();
75
75
  }
76
76
  }
@@ -80,22 +80,21 @@ export class InlineEditable {
80
80
  };
81
81
  this.cancelEditingHandler = async (e) => {
82
82
  e.preventDefault();
83
- e.stopPropagation();
84
83
  this.cancelEditing();
85
84
  };
86
85
  this.enableEditingHandler = async (e) => {
87
- e.preventDefault();
88
- e.stopPropagation();
89
- if (this.disabled) {
86
+ if (this.disabled ||
87
+ e.target === this.cancelEditingButton ||
88
+ e.target === this.confirmEditingButton) {
90
89
  return;
91
90
  }
91
+ e.preventDefault();
92
92
  if (!this.editingEnabled) {
93
93
  this.enableEditing();
94
94
  }
95
95
  };
96
96
  this.confirmChangesHandler = async (e) => {
97
97
  e.preventDefault();
98
- e.stopPropagation();
99
98
  this.calciteInlineEditableEditConfirm.emit();
100
99
  try {
101
100
  if (this.afterConfirm) {
@@ -141,6 +140,9 @@ export class InlineEditable {
141
140
  disconnectLabel(this);
142
141
  (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
143
142
  }
143
+ componentDidRender() {
144
+ updateHostInteraction(this);
145
+ }
144
146
  render() {
145
147
  return (h("div", { class: CSS.wrapper, onClick: this.enableEditingHandler, onKeyDown: this.escapeKeyHandler, onTransitionEnd: this.transitionEnd },
146
148
  h("div", { class: CSS.inputWrapper },
@@ -153,7 +155,7 @@ export class InlineEditable {
153
155
  this.shouldShowControls && [
154
156
  h("div", { class: CSS.cancelEditingButtonWrapper },
155
157
  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" })),
156
- 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" })
158
+ 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" })
157
159
  ])));
158
160
  }
159
161
  //--------------------------------------------------------------------------
@@ -172,18 +172,19 @@
172
172
 
173
173
  :host([disabled]) {
174
174
  pointer-events: none;
175
+ cursor: default;
176
+ -webkit-user-select: none;
177
+ user-select: none;
175
178
  opacity: var(--calcite-ui-opacity-disabled);
176
179
  }
177
- :host([disabled]) .wrapper {
178
- pointer-events: none;
179
- --tw-text-opacity: var(--calcite-ui-opacity-disabled);
180
- }
181
- :host([disabled]) button, :host([disabled]) textarea, :host([disabled]) input {
182
- pointer-events: none;
183
- }
184
180
  :host([disabled]) textarea {
185
181
  resize: none;
186
182
  }
183
+ :host([disabled]) ::slotted([calcite-hydrated][disabled]),
184
+ :host([disabled]) [calcite-hydrated][disabled] {
185
+ /* prevent opacity stacking */
186
+ opacity: 1;
187
+ }
187
188
 
188
189
  :host textarea,
189
190
  :host input {
@@ -13,6 +13,7 @@ import { isValidNumber, parseNumberString, sanitizeNumberString } from "../../ut
13
13
  import { CSS_UTILITY, TEXT } from "../../utils/resources";
14
14
  import { decimalPlaces } from "../../utils/math";
15
15
  import { createObserver } from "../../utils/observers";
16
+ import { updateHostInteraction } from "../../utils/interactive";
16
17
  /**
17
18
  * @slot action - A slot for positioning a button next to an input
18
19
  */
@@ -403,6 +404,9 @@ export class Input {
403
404
  }
404
405
  return true;
405
406
  }
407
+ componentDidRender() {
408
+ updateHostInteraction(this);
409
+ }
406
410
  //--------------------------------------------------------------------------
407
411
  //
408
412
  // Public Methods
@@ -104,32 +104,18 @@
104
104
  --tw-shadow-colored: 0 0 #0000;
105
105
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
106
106
  }
107
- :host .menu-container .calcite-popper-anim {
108
- position: relative;
109
- z-index: 1;
110
- transition: var(--calcite-popper-transition);
111
- visibility: hidden;
112
- transition-property: transform, visibility, opacity;
113
- opacity: 0;
114
- box-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.16);
115
- border-radius: 0.25rem;
116
- }
117
- :host .menu-container[data-popper-placement^=bottom] .calcite-popper-anim {
118
- transform: translateY(-5px);
119
- }
120
- :host .menu-container[data-popper-placement^=top] .calcite-popper-anim {
121
- transform: translateY(5px);
122
- }
123
- :host .menu-container[data-popper-placement^=left] .calcite-popper-anim {
124
- transform: translateX(5px);
125
- }
126
- :host .menu-container[data-popper-placement^=right] .calcite-popper-anim {
127
- transform: translateX(-5px);
128
- }
129
- :host .menu-container[data-popper-placement] .calcite-popper-anim--active {
107
+
108
+ :host([disabled]) {
109
+ pointer-events: none;
110
+ cursor: default;
111
+ -webkit-user-select: none;
112
+ user-select: none;
113
+ opacity: var(--calcite-ui-opacity-disabled);
114
+ }
115
+ :host([disabled]) ::slotted([calcite-hydrated][disabled]),
116
+ :host([disabled]) [calcite-hydrated][disabled] {
117
+ /* prevent opacity stacking */
130
118
  opacity: 1;
131
- visibility: visible;
132
- transform: translate(0);
133
119
  }
134
120
 
135
121
  .calendar-picker-wrapper {
@@ -205,13 +191,64 @@
205
191
  position: absolute;
206
192
  z-index: 900;
207
193
  transform: scale(0);
194
+ visibility: hidden;
208
195
  pointer-events: none;
196
+ }
197
+
198
+ .menu-container .calcite-popper-anim {
199
+ position: relative;
200
+ z-index: 1;
201
+ transition: var(--calcite-popper-transition);
209
202
  visibility: hidden;
203
+ transition-property: transform, visibility, opacity;
204
+ opacity: 0;
205
+ box-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.16);
206
+ border-radius: 0.25rem;
207
+ }
208
+ .menu-container[data-popper-placement^=bottom] .calcite-popper-anim {
209
+ transform: translateY(-5px);
210
+ }
211
+ .menu-container[data-popper-placement^=top] .calcite-popper-anim {
212
+ transform: translateY(5px);
213
+ }
214
+ .menu-container[data-popper-placement^=left] .calcite-popper-anim {
215
+ transform: translateX(5px);
216
+ }
217
+ .menu-container[data-popper-placement^=right] .calcite-popper-anim {
218
+ transform: translateX(-5px);
219
+ }
220
+ .menu-container[data-popper-placement] .calcite-popper-anim--active {
221
+ opacity: 1;
222
+ visibility: visible;
223
+ transform: translate(0);
210
224
  }
211
225
 
212
- :host([active]) .menu-container {
213
- pointer-events: auto;
226
+ .menu-container--active .menu-container .calcite-popper-anim {
227
+ position: relative;
228
+ z-index: 1;
229
+ transition: var(--calcite-popper-transition);
230
+ visibility: hidden;
231
+ transition-property: transform, visibility, opacity;
232
+ opacity: 0;
233
+ box-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.16);
234
+ border-radius: 0.25rem;
235
+ }
236
+ .menu-container--active .menu-container[data-popper-placement^=bottom] .calcite-popper-anim {
237
+ transform: translateY(-5px);
238
+ }
239
+ .menu-container--active .menu-container[data-popper-placement^=top] .calcite-popper-anim {
240
+ transform: translateY(5px);
241
+ }
242
+ .menu-container--active .menu-container[data-popper-placement^=left] .calcite-popper-anim {
243
+ transform: translateX(5px);
244
+ }
245
+ .menu-container--active .menu-container[data-popper-placement^=right] .calcite-popper-anim {
246
+ transform: translateX(-5px);
247
+ }
248
+ .menu-container--active .menu-container[data-popper-placement] .calcite-popper-anim--active {
249
+ opacity: 1;
214
250
  visibility: visible;
251
+ transform: translate(0);
215
252
  }
216
253
 
217
254
  .input .calcite-input__wrapper {
@@ -9,6 +9,7 @@ import { TEXT } from "../date-picker/resources";
9
9
  import { connectLabel, disconnectLabel, getLabelText } from "../../utils/label";
10
10
  import { connectForm, disconnectForm, HiddenFormInputSlot } from "../../utils/form";
11
11
  import { createPopper, updatePopper, CSS as PopperCSS } from "../../utils/popper";
12
+ import { updateHostInteraction } from "../../utils/interactive";
12
13
  const DEFAULT_PLACEMENT = "bottom-leading";
13
14
  export class InputDatePicker {
14
15
  constructor() {
@@ -130,6 +131,11 @@ export class InputDatePicker {
130
131
  }
131
132
  };
132
133
  }
134
+ handleDisabledChange(value) {
135
+ if (!value) {
136
+ this.active = false;
137
+ }
138
+ }
133
139
  valueHandler(value) {
134
140
  if (Array.isArray(value)) {
135
141
  this.valueAsDate = value.map((v) => dateFromISO(v));
@@ -154,7 +160,11 @@ export class InputDatePicker {
154
160
  this.maxAsDate = dateFromISO(max);
155
161
  }
156
162
  activeHandler() {
157
- this.reposition();
163
+ if (!this.disabled) {
164
+ this.reposition();
165
+ return;
166
+ }
167
+ this.active = false;
158
168
  }
159
169
  //--------------------------------------------------------------------------
160
170
  //
@@ -235,6 +245,9 @@ export class InputDatePicker {
235
245
  disconnectLabel(this);
236
246
  disconnectForm(this);
237
247
  }
248
+ componentDidRender() {
249
+ updateHostInteraction(this);
250
+ }
238
251
  render() {
239
252
  var _a, _b;
240
253
  const { disabled } = this;
@@ -248,7 +261,10 @@ export class InputDatePicker {
248
261
  this.localeData && (h("div", { "aria-expanded": this.active.toString(), class: "input-container", role: "application" },
249
262
  h("div", { class: "input-wrapper", ref: this.setStartWrapper },
250
263
  h("calcite-input", { class: `input ${this.layout === "vertical" && this.range ? `no-bottom-border` : ``}`, disabled: disabled, icon: "calendar", 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 })),
251
- h("div", { "aria-hidden": (!this.active).toString(), class: "menu-container", ref: this.setMenuEl },
264
+ h("div", { "aria-hidden": (!this.active).toString(), class: {
265
+ "menu-container": true,
266
+ "menu-container--active": this.active
267
+ }, ref: this.setMenuEl },
252
268
  h("div", { class: {
253
269
  ["calendar-picker-wrapper"]: true,
254
270
  ["calendar-picker-wrapper--end"]: this.focusedInput === "end",
@@ -1058,6 +1074,9 @@ export class InputDatePicker {
1058
1074
  }; }
1059
1075
  static get elementRef() { return "el"; }
1060
1076
  static get watchers() { return [{
1077
+ "propName": "disabled",
1078
+ "methodName": "handleDisabledChange"
1079
+ }, {
1061
1080
  "propName": "value",
1062
1081
  "methodName": "valueHandler"
1063
1082
  }, {