@carbon/web-components 2.47.0 → 2.48.0

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 (431) hide show
  1. package/custom-elements.json +963 -145
  2. package/es/components/accordion/accordion-item.d.ts +28 -12
  3. package/es/components/accordion/accordion-item.js +7 -5
  4. package/es/components/accordion/accordion-item.js.map +1 -1
  5. package/es/components/accordion/accordion-skeleton.d.ts +1 -1
  6. package/es/components/accordion/accordion-skeleton.js +7 -5
  7. package/es/components/accordion/accordion-skeleton.js.map +1 -1
  8. package/es/components/accordion/accordion.d.ts +1 -1
  9. package/es/components/accordion/accordion.js +7 -5
  10. package/es/components/accordion/accordion.js.map +1 -1
  11. package/es/components/ai-label/ai-label.d.ts +1 -1
  12. package/es/components/ai-label/ai-label.js +6 -5
  13. package/es/components/ai-label/ai-label.js.map +1 -1
  14. package/es/components/button/button.d.ts +56 -22
  15. package/es/components/checkbox/checkbox-group.d.ts +2 -0
  16. package/es/components/checkbox/checkbox.d.ts +57 -23
  17. package/es/components/checkbox/checkbox.js +7 -5
  18. package/es/components/checkbox/checkbox.js.map +1 -1
  19. package/es/components/code-snippet/code-snippet.d.ts +29 -11
  20. package/es/components/code-snippet/code-snippet.js +15 -14
  21. package/es/components/code-snippet/code-snippet.js.map +1 -1
  22. package/es/components/combo-box/combo-box.scss.js +1 -1
  23. package/es/components/combo-button/combo-button.d.ts +27 -11
  24. package/es/components/content-switcher/content-switcher-item.d.ts +29 -11
  25. package/es/components/copy-button/copy-button.d.ts +27 -11
  26. package/es/components/data-table/table-expanded-row.d.ts +28 -12
  27. package/es/components/data-table/table-expanded-row.js +7 -5
  28. package/es/components/data-table/table-expanded-row.js.map +1 -1
  29. package/es/components/data-table/table-header-cell.d.ts +29 -11
  30. package/es/components/data-table/table-row.d.ts +54 -22
  31. package/es/components/data-table/table-toolbar-search.d.ts +29 -11
  32. package/es/components/data-table/table.d.ts +28 -12
  33. package/es/components/data-table/table.js +9 -8
  34. package/es/components/data-table/table.js.map +1 -1
  35. package/es/components/date-picker/date-picker-input.d.ts +29 -11
  36. package/es/components/date-picker/date-picker.d.ts +54 -22
  37. package/es/components/dropdown/dropdown.d.ts +110 -44
  38. package/es/components/dropdown/dropdown.js +8 -6
  39. package/es/components/dropdown/dropdown.js.map +1 -1
  40. package/es/components/file-uploader/file-uploader-button.d.ts +27 -11
  41. package/es/components/file-uploader/file-uploader-drop-container.d.ts +27 -11
  42. package/es/components/floating-menu/floating-menu.d.ts +56 -22
  43. package/es/components/fluid-select/fluid-select.d.ts +5 -0
  44. package/es/components/fluid-select/fluid-select.js +50 -1
  45. package/es/components/fluid-select/fluid-select.js.map +1 -1
  46. package/es/components/fluid-textarea/fluid-textarea-skeleton.d.ts +3 -3
  47. package/es/components/fluid-textarea/fluid-textarea-skeleton.js +3 -3
  48. package/es/components/fluid-textarea/fluid-textarea-skeleton.js.map +1 -1
  49. package/es/components/fluid-time-picker/fluid-time-picker-select.d.ts +21 -0
  50. package/es/components/fluid-time-picker/fluid-time-picker-select.js +53 -0
  51. package/es/components/fluid-time-picker/fluid-time-picker-select.js.map +1 -0
  52. package/es/components/fluid-time-picker/fluid-time-picker-skeleton.d.ts +23 -0
  53. package/es/components/fluid-time-picker/fluid-time-picker-skeleton.js +63 -0
  54. package/es/components/fluid-time-picker/fluid-time-picker-skeleton.js.map +1 -0
  55. package/es/components/fluid-time-picker/fluid-time-picker.d.ts +32 -0
  56. package/es/components/fluid-time-picker/fluid-time-picker.js +239 -0
  57. package/es/components/fluid-time-picker/fluid-time-picker.js.map +1 -0
  58. package/es/components/fluid-time-picker/fluid-time-picker.scss.js +13 -0
  59. package/es/components/fluid-time-picker/fluid-time-picker.scss.js.map +1 -0
  60. package/es/components/fluid-time-picker/index.d.ts +9 -0
  61. package/es/components/fluid-time-picker/index.js +11 -0
  62. package/es/components/fluid-time-picker/index.js.map +1 -0
  63. package/es/components/grid/column.d.ts +3 -1
  64. package/es/components/grid/column.js +6 -0
  65. package/es/components/grid/column.js.map +1 -1
  66. package/es/components/icon-button/icon-button.d.ts +1 -1
  67. package/es/components/icon-button/icon-button.js +6 -5
  68. package/es/components/icon-button/icon-button.js.map +1 -1
  69. package/es/components/link/link.d.ts +29 -11
  70. package/es/components/menu/menu-item-selectable.d.ts +5 -3
  71. package/es/components/menu/menu-item-selectable.js +3 -3
  72. package/es/components/menu/menu-item-selectable.js.map +1 -1
  73. package/es/components/menu/menu-item.d.ts +68 -23
  74. package/es/components/menu/menu-item.js +37 -2
  75. package/es/components/menu/menu-item.js.map +1 -1
  76. package/es/components/menu/menu.d.ts +27 -11
  77. package/es/components/menu-button/menu-button.d.ts +27 -11
  78. package/es/components/modal/modal-close-button.d.ts +29 -11
  79. package/es/components/modal/modal.d.ts +27 -11
  80. package/es/components/modal/modal.js +6 -4
  81. package/es/components/modal/modal.js.map +1 -1
  82. package/es/components/multi-select/multi-select.js +12 -8
  83. package/es/components/multi-select/multi-select.js.map +1 -1
  84. package/es/components/notification/actionable-notification.d.ts +27 -11
  85. package/es/components/notification/actionable-notification.scss.js +1 -1
  86. package/es/components/notification/inline-notification.d.ts +27 -11
  87. package/es/components/notification/inline-notification.scss.js +1 -1
  88. package/es/components/notification/toast-notification.scss.js +1 -1
  89. package/es/components/number-input/number-input.d.ts +2 -0
  90. package/es/components/overflow-menu/overflow-menu-item.d.ts +29 -11
  91. package/es/components/overflow-menu/overflow-menu.d.ts +54 -22
  92. package/es/components/pagination/pagination.d.ts +56 -22
  93. package/es/components/pagination-nav/defs.d.ts +61 -0
  94. package/es/components/pagination-nav/defs.js +74 -0
  95. package/es/components/pagination-nav/defs.js.map +1 -0
  96. package/es/components/pagination-nav/index.d.ts +7 -0
  97. package/es/components/pagination-nav/index.js +9 -0
  98. package/es/components/pagination-nav/index.js.map +1 -0
  99. package/es/components/pagination-nav/pagination-nav.d.ts +109 -0
  100. package/es/components/pagination-nav/pagination-nav.js +427 -0
  101. package/es/components/pagination-nav/pagination-nav.js.map +1 -0
  102. package/es/components/pagination-nav/pagination-nav.scss.js +13 -0
  103. package/es/components/pagination-nav/pagination-nav.scss.js.map +1 -0
  104. package/es/components/password-input/password-input.d.ts +2 -0
  105. package/es/components/popover/popover.d.ts +27 -11
  106. package/es/components/popover/popover.js +1 -1
  107. package/es/components/popover/popover.js.map +1 -1
  108. package/es/components/progress-indicator/progress-step.d.ts +29 -11
  109. package/es/components/radio-button/radio-button-group.d.ts +54 -22
  110. package/es/components/radio-button/radio-button.d.ts +57 -23
  111. package/es/components/radio-button/radio-button.js +7 -5
  112. package/es/components/radio-button/radio-button.js.map +1 -1
  113. package/es/components/search/search.d.ts +83 -33
  114. package/es/components/select/select.d.ts +29 -11
  115. package/es/components/side-panel/side-panel.d.ts +27 -11
  116. package/es/components/skip-to-content/skip-to-content.d.ts +29 -11
  117. package/es/components/slider/slider-input.d.ts +29 -11
  118. package/es/components/slider/slider.d.ts +84 -34
  119. package/es/components/slider/slider.js +9 -7
  120. package/es/components/slider/slider.js.map +1 -1
  121. package/es/components/slug/slug.d.ts +1 -1
  122. package/es/components/slug/slug.js +6 -4
  123. package/es/components/slug/slug.js.map +1 -1
  124. package/es/components/structured-list/structured-list-row.d.ts +27 -11
  125. package/es/components/structured-list/structured-list.d.ts +30 -12
  126. package/es/components/structured-list/structured-list.js +7 -5
  127. package/es/components/structured-list/structured-list.js.map +1 -1
  128. package/es/components/tabs/tabs.d.ts +27 -11
  129. package/es/components/tag/dismissible-tag.d.ts +54 -22
  130. package/es/components/tag/operational-tag.d.ts +54 -22
  131. package/es/components/tag/selectable-tag.d.ts +54 -22
  132. package/es/components/tag/tag.d.ts +54 -22
  133. package/es/components/tearsheet/tearsheet.d.ts +27 -11
  134. package/es/components/text-input/text-input.d.ts +56 -22
  135. package/es/components/textarea/textarea.d.ts +2 -0
  136. package/es/components/tile/expandable-tile.d.ts +54 -22
  137. package/es/components/tile/selectable-tile.d.ts +56 -22
  138. package/es/components/tile/tile-group.d.ts +27 -11
  139. package/es/components/time-picker/time-picker-select.d.ts +29 -11
  140. package/es/components/time-picker/time-picker.d.ts +56 -22
  141. package/es/components/toggle/toggle.d.ts +27 -11
  142. package/es/components/toggle-tip/toggletip.d.ts +57 -23
  143. package/es/components/toggle-tip/toggletip.js +7 -5
  144. package/es/components/toggle-tip/toggletip.js.map +1 -1
  145. package/es/components/tooltip/tooltip.d.ts +28 -12
  146. package/es/components/tooltip/tooltip.js +7 -5
  147. package/es/components/tooltip/tooltip.js.map +1 -1
  148. package/es/components/tree-view/tree-view.d.ts +28 -12
  149. package/es/components/tree-view/tree-view.js +7 -5
  150. package/es/components/tree-view/tree-view.js.map +1 -1
  151. package/es/components/ui-shell/header-global-action.d.ts +2 -0
  152. package/es/components/ui-shell/header-menu-button.d.ts +29 -11
  153. package/es/components/ui-shell/header-menu.d.ts +56 -22
  154. package/es/components/ui-shell/header-name.d.ts +29 -11
  155. package/es/components/ui-shell/header-nav-item.d.ts +29 -11
  156. package/es/components/ui-shell/header-panel.d.ts +2 -0
  157. package/es/components/ui-shell/side-nav-link.d.ts +29 -11
  158. package/es/components/ui-shell/side-nav-menu-item.d.ts +29 -11
  159. package/es/components/ui-shell/side-nav-menu.d.ts +29 -11
  160. package/es/components/ui-shell/side-nav.d.ts +27 -11
  161. package/es/components/ui-shell/switcher-item.d.ts +29 -11
  162. package/es/components/ui-shell/switcher.d.ts +2 -0
  163. package/es/globals/mixins/focus.d.ts +27 -11
  164. package/es/globals/mixins/form.d.ts +27 -11
  165. package/es/globals/mixins/host-listener.d.ts +27 -11
  166. package/es/globals/mixins/validity.d.ts +27 -11
  167. package/es-custom/components/accordion/accordion-item.d.ts +28 -12
  168. package/es-custom/components/accordion/accordion-item.js +7 -5
  169. package/es-custom/components/accordion/accordion-item.js.map +1 -1
  170. package/es-custom/components/accordion/accordion-skeleton.d.ts +1 -1
  171. package/es-custom/components/accordion/accordion-skeleton.js +7 -5
  172. package/es-custom/components/accordion/accordion-skeleton.js.map +1 -1
  173. package/es-custom/components/accordion/accordion.d.ts +1 -1
  174. package/es-custom/components/accordion/accordion.js +7 -5
  175. package/es-custom/components/accordion/accordion.js.map +1 -1
  176. package/es-custom/components/ai-label/ai-label.d.ts +1 -1
  177. package/es-custom/components/ai-label/ai-label.js +6 -5
  178. package/es-custom/components/ai-label/ai-label.js.map +1 -1
  179. package/es-custom/components/button/button.d.ts +56 -22
  180. package/es-custom/components/checkbox/checkbox-group.d.ts +2 -0
  181. package/es-custom/components/checkbox/checkbox.d.ts +57 -23
  182. package/es-custom/components/checkbox/checkbox.js +7 -5
  183. package/es-custom/components/checkbox/checkbox.js.map +1 -1
  184. package/es-custom/components/code-snippet/code-snippet.d.ts +29 -11
  185. package/es-custom/components/code-snippet/code-snippet.js +15 -14
  186. package/es-custom/components/code-snippet/code-snippet.js.map +1 -1
  187. package/es-custom/components/combo-box/combo-box.scss.js +1 -1
  188. package/es-custom/components/combo-button/combo-button.d.ts +27 -11
  189. package/es-custom/components/content-switcher/content-switcher-item.d.ts +29 -11
  190. package/es-custom/components/copy-button/copy-button.d.ts +27 -11
  191. package/es-custom/components/data-table/table-expanded-row.d.ts +28 -12
  192. package/es-custom/components/data-table/table-expanded-row.js +7 -5
  193. package/es-custom/components/data-table/table-expanded-row.js.map +1 -1
  194. package/es-custom/components/data-table/table-header-cell.d.ts +29 -11
  195. package/es-custom/components/data-table/table-row.d.ts +54 -22
  196. package/es-custom/components/data-table/table-toolbar-search.d.ts +29 -11
  197. package/es-custom/components/data-table/table.d.ts +28 -12
  198. package/es-custom/components/data-table/table.js +9 -8
  199. package/es-custom/components/data-table/table.js.map +1 -1
  200. package/es-custom/components/date-picker/date-picker-input.d.ts +29 -11
  201. package/es-custom/components/date-picker/date-picker.d.ts +54 -22
  202. package/es-custom/components/dropdown/dropdown.d.ts +110 -44
  203. package/es-custom/components/dropdown/dropdown.js +8 -6
  204. package/es-custom/components/dropdown/dropdown.js.map +1 -1
  205. package/es-custom/components/file-uploader/file-uploader-button.d.ts +27 -11
  206. package/es-custom/components/file-uploader/file-uploader-drop-container.d.ts +27 -11
  207. package/es-custom/components/floating-menu/floating-menu.d.ts +56 -22
  208. package/es-custom/components/fluid-select/fluid-select.d.ts +5 -0
  209. package/es-custom/components/fluid-select/fluid-select.js +50 -1
  210. package/es-custom/components/fluid-select/fluid-select.js.map +1 -1
  211. package/es-custom/components/fluid-textarea/fluid-textarea-skeleton.d.ts +3 -3
  212. package/es-custom/components/fluid-textarea/fluid-textarea-skeleton.js +3 -3
  213. package/es-custom/components/fluid-textarea/fluid-textarea-skeleton.js.map +1 -1
  214. package/es-custom/components/fluid-time-picker/fluid-time-picker-select.d.ts +21 -0
  215. package/es-custom/components/fluid-time-picker/fluid-time-picker-select.js +53 -0
  216. package/es-custom/components/fluid-time-picker/fluid-time-picker-select.js.map +1 -0
  217. package/es-custom/components/fluid-time-picker/fluid-time-picker-skeleton.d.ts +23 -0
  218. package/es-custom/components/fluid-time-picker/fluid-time-picker-skeleton.js +63 -0
  219. package/es-custom/components/fluid-time-picker/fluid-time-picker-skeleton.js.map +1 -0
  220. package/es-custom/components/fluid-time-picker/fluid-time-picker.d.ts +32 -0
  221. package/es-custom/components/fluid-time-picker/fluid-time-picker.js +239 -0
  222. package/es-custom/components/fluid-time-picker/fluid-time-picker.js.map +1 -0
  223. package/es-custom/components/fluid-time-picker/fluid-time-picker.scss.js +13 -0
  224. package/es-custom/components/fluid-time-picker/fluid-time-picker.scss.js.map +1 -0
  225. package/es-custom/components/fluid-time-picker/index.d.ts +9 -0
  226. package/es-custom/components/fluid-time-picker/index.js +11 -0
  227. package/es-custom/components/fluid-time-picker/index.js.map +1 -0
  228. package/es-custom/components/grid/column.d.ts +3 -1
  229. package/es-custom/components/grid/column.js +6 -0
  230. package/es-custom/components/grid/column.js.map +1 -1
  231. package/es-custom/components/icon-button/icon-button.d.ts +1 -1
  232. package/es-custom/components/icon-button/icon-button.js +6 -5
  233. package/es-custom/components/icon-button/icon-button.js.map +1 -1
  234. package/es-custom/components/link/link.d.ts +29 -11
  235. package/es-custom/components/menu/menu-item-selectable.d.ts +5 -3
  236. package/es-custom/components/menu/menu-item-selectable.js +3 -3
  237. package/es-custom/components/menu/menu-item-selectable.js.map +1 -1
  238. package/es-custom/components/menu/menu-item.d.ts +68 -23
  239. package/es-custom/components/menu/menu-item.js +37 -2
  240. package/es-custom/components/menu/menu-item.js.map +1 -1
  241. package/es-custom/components/menu/menu.d.ts +27 -11
  242. package/es-custom/components/menu-button/menu-button.d.ts +27 -11
  243. package/es-custom/components/modal/modal-close-button.d.ts +29 -11
  244. package/es-custom/components/modal/modal.d.ts +27 -11
  245. package/es-custom/components/modal/modal.js +6 -4
  246. package/es-custom/components/modal/modal.js.map +1 -1
  247. package/es-custom/components/multi-select/multi-select.js +12 -8
  248. package/es-custom/components/multi-select/multi-select.js.map +1 -1
  249. package/es-custom/components/notification/actionable-notification.d.ts +27 -11
  250. package/es-custom/components/notification/actionable-notification.scss.js +1 -1
  251. package/es-custom/components/notification/inline-notification.d.ts +27 -11
  252. package/es-custom/components/notification/inline-notification.scss.js +1 -1
  253. package/es-custom/components/notification/toast-notification.scss.js +1 -1
  254. package/es-custom/components/number-input/number-input.d.ts +2 -0
  255. package/es-custom/components/overflow-menu/overflow-menu-item.d.ts +29 -11
  256. package/es-custom/components/overflow-menu/overflow-menu.d.ts +54 -22
  257. package/es-custom/components/pagination/pagination.d.ts +56 -22
  258. package/es-custom/components/pagination-nav/defs.d.ts +61 -0
  259. package/es-custom/components/pagination-nav/defs.js +74 -0
  260. package/es-custom/components/pagination-nav/defs.js.map +1 -0
  261. package/es-custom/components/pagination-nav/index.d.ts +7 -0
  262. package/es-custom/components/pagination-nav/index.js +9 -0
  263. package/es-custom/components/pagination-nav/index.js.map +1 -0
  264. package/es-custom/components/pagination-nav/pagination-nav.d.ts +109 -0
  265. package/es-custom/components/pagination-nav/pagination-nav.js +427 -0
  266. package/es-custom/components/pagination-nav/pagination-nav.js.map +1 -0
  267. package/es-custom/components/pagination-nav/pagination-nav.scss.js +13 -0
  268. package/es-custom/components/pagination-nav/pagination-nav.scss.js.map +1 -0
  269. package/es-custom/components/password-input/password-input.d.ts +2 -0
  270. package/es-custom/components/popover/popover.d.ts +27 -11
  271. package/es-custom/components/popover/popover.js +1 -1
  272. package/es-custom/components/popover/popover.js.map +1 -1
  273. package/es-custom/components/progress-indicator/progress-step.d.ts +29 -11
  274. package/es-custom/components/radio-button/radio-button-group.d.ts +54 -22
  275. package/es-custom/components/radio-button/radio-button.d.ts +57 -23
  276. package/es-custom/components/radio-button/radio-button.js +7 -5
  277. package/es-custom/components/radio-button/radio-button.js.map +1 -1
  278. package/es-custom/components/search/search.d.ts +83 -33
  279. package/es-custom/components/select/select.d.ts +29 -11
  280. package/es-custom/components/side-panel/side-panel.d.ts +27 -11
  281. package/es-custom/components/skip-to-content/skip-to-content.d.ts +29 -11
  282. package/es-custom/components/slider/slider-input.d.ts +29 -11
  283. package/es-custom/components/slider/slider.d.ts +84 -34
  284. package/es-custom/components/slider/slider.js +9 -7
  285. package/es-custom/components/slider/slider.js.map +1 -1
  286. package/es-custom/components/slug/slug.d.ts +1 -1
  287. package/es-custom/components/slug/slug.js +6 -4
  288. package/es-custom/components/slug/slug.js.map +1 -1
  289. package/es-custom/components/structured-list/structured-list-row.d.ts +27 -11
  290. package/es-custom/components/structured-list/structured-list.d.ts +30 -12
  291. package/es-custom/components/structured-list/structured-list.js +7 -5
  292. package/es-custom/components/structured-list/structured-list.js.map +1 -1
  293. package/es-custom/components/tabs/tabs.d.ts +27 -11
  294. package/es-custom/components/tag/dismissible-tag.d.ts +54 -22
  295. package/es-custom/components/tag/operational-tag.d.ts +54 -22
  296. package/es-custom/components/tag/selectable-tag.d.ts +54 -22
  297. package/es-custom/components/tag/tag.d.ts +54 -22
  298. package/es-custom/components/tearsheet/tearsheet.d.ts +27 -11
  299. package/es-custom/components/text-input/text-input.d.ts +56 -22
  300. package/es-custom/components/textarea/textarea.d.ts +2 -0
  301. package/es-custom/components/tile/expandable-tile.d.ts +54 -22
  302. package/es-custom/components/tile/selectable-tile.d.ts +56 -22
  303. package/es-custom/components/tile/tile-group.d.ts +27 -11
  304. package/es-custom/components/time-picker/time-picker-select.d.ts +29 -11
  305. package/es-custom/components/time-picker/time-picker.d.ts +56 -22
  306. package/es-custom/components/toggle/toggle.d.ts +27 -11
  307. package/es-custom/components/toggle-tip/toggletip.d.ts +57 -23
  308. package/es-custom/components/toggle-tip/toggletip.js +7 -5
  309. package/es-custom/components/toggle-tip/toggletip.js.map +1 -1
  310. package/es-custom/components/tooltip/tooltip.d.ts +28 -12
  311. package/es-custom/components/tooltip/tooltip.js +7 -5
  312. package/es-custom/components/tooltip/tooltip.js.map +1 -1
  313. package/es-custom/components/tree-view/tree-view.d.ts +28 -12
  314. package/es-custom/components/tree-view/tree-view.js +7 -5
  315. package/es-custom/components/tree-view/tree-view.js.map +1 -1
  316. package/es-custom/components/ui-shell/header-global-action.d.ts +2 -0
  317. package/es-custom/components/ui-shell/header-menu-button.d.ts +29 -11
  318. package/es-custom/components/ui-shell/header-menu.d.ts +56 -22
  319. package/es-custom/components/ui-shell/header-name.d.ts +29 -11
  320. package/es-custom/components/ui-shell/header-nav-item.d.ts +29 -11
  321. package/es-custom/components/ui-shell/header-panel.d.ts +2 -0
  322. package/es-custom/components/ui-shell/side-nav-link.d.ts +29 -11
  323. package/es-custom/components/ui-shell/side-nav-menu-item.d.ts +29 -11
  324. package/es-custom/components/ui-shell/side-nav-menu.d.ts +29 -11
  325. package/es-custom/components/ui-shell/side-nav.d.ts +27 -11
  326. package/es-custom/components/ui-shell/switcher-item.d.ts +29 -11
  327. package/es-custom/components/ui-shell/switcher.d.ts +2 -0
  328. package/es-custom/globals/mixins/focus.d.ts +27 -11
  329. package/es-custom/globals/mixins/form.d.ts +27 -11
  330. package/es-custom/globals/mixins/host-listener.d.ts +27 -11
  331. package/es-custom/globals/mixins/validity.d.ts +27 -11
  332. package/lib/components/accordion/accordion-item.d.ts +28 -12
  333. package/lib/components/accordion/accordion-skeleton.d.ts +1 -1
  334. package/lib/components/accordion/accordion.d.ts +1 -1
  335. package/lib/components/ai-label/ai-label.d.ts +1 -1
  336. package/lib/components/button/button.d.ts +56 -22
  337. package/lib/components/checkbox/checkbox-group.d.ts +2 -0
  338. package/lib/components/checkbox/checkbox.d.ts +57 -23
  339. package/lib/components/code-snippet/code-snippet.d.ts +29 -11
  340. package/lib/components/combo-button/combo-button.d.ts +27 -11
  341. package/lib/components/content-switcher/content-switcher-item.d.ts +29 -11
  342. package/lib/components/copy-button/copy-button.d.ts +27 -11
  343. package/lib/components/data-table/table-expanded-row.d.ts +28 -12
  344. package/lib/components/data-table/table-header-cell.d.ts +29 -11
  345. package/lib/components/data-table/table-row.d.ts +54 -22
  346. package/lib/components/data-table/table-toolbar-search.d.ts +29 -11
  347. package/lib/components/data-table/table.d.ts +28 -12
  348. package/lib/components/date-picker/date-picker-input.d.ts +29 -11
  349. package/lib/components/date-picker/date-picker.d.ts +54 -22
  350. package/lib/components/dropdown/dropdown.d.ts +110 -44
  351. package/lib/components/file-uploader/file-uploader-button.d.ts +27 -11
  352. package/lib/components/file-uploader/file-uploader-drop-container.d.ts +27 -11
  353. package/lib/components/floating-menu/floating-menu.d.ts +56 -22
  354. package/lib/components/fluid-select/fluid-select.d.ts +5 -0
  355. package/lib/components/fluid-textarea/fluid-textarea-skeleton.d.ts +3 -3
  356. package/lib/components/fluid-time-picker/fluid-time-picker-select.d.ts +21 -0
  357. package/lib/components/fluid-time-picker/fluid-time-picker-skeleton.d.ts +23 -0
  358. package/lib/components/fluid-time-picker/fluid-time-picker.d.ts +32 -0
  359. package/lib/components/fluid-time-picker/index.d.ts +9 -0
  360. package/lib/components/grid/column.d.ts +3 -1
  361. package/lib/components/icon-button/icon-button.d.ts +1 -1
  362. package/lib/components/link/link.d.ts +29 -11
  363. package/lib/components/menu/menu-item-selectable.d.ts +5 -3
  364. package/lib/components/menu/menu-item.d.ts +68 -23
  365. package/lib/components/menu/menu.d.ts +27 -11
  366. package/lib/components/menu-button/menu-button.d.ts +27 -11
  367. package/lib/components/modal/modal-close-button.d.ts +29 -11
  368. package/lib/components/modal/modal.d.ts +27 -11
  369. package/lib/components/notification/actionable-notification.d.ts +27 -11
  370. package/lib/components/notification/inline-notification.d.ts +27 -11
  371. package/lib/components/number-input/number-input.d.ts +2 -0
  372. package/lib/components/overflow-menu/overflow-menu-item.d.ts +29 -11
  373. package/lib/components/overflow-menu/overflow-menu.d.ts +54 -22
  374. package/lib/components/pagination/pagination.d.ts +56 -22
  375. package/lib/components/pagination-nav/defs.d.ts +61 -0
  376. package/lib/components/pagination-nav/defs.js +74 -0
  377. package/lib/components/pagination-nav/defs.js.map +1 -0
  378. package/lib/components/pagination-nav/index.d.ts +7 -0
  379. package/lib/components/pagination-nav/pagination-nav.d.ts +109 -0
  380. package/lib/components/password-input/password-input.d.ts +2 -0
  381. package/lib/components/popover/popover.d.ts +27 -11
  382. package/lib/components/progress-indicator/progress-step.d.ts +29 -11
  383. package/lib/components/radio-button/radio-button-group.d.ts +54 -22
  384. package/lib/components/radio-button/radio-button.d.ts +57 -23
  385. package/lib/components/search/search.d.ts +83 -33
  386. package/lib/components/select/select.d.ts +29 -11
  387. package/lib/components/side-panel/side-panel.d.ts +27 -11
  388. package/lib/components/skip-to-content/skip-to-content.d.ts +29 -11
  389. package/lib/components/slider/slider-input.d.ts +29 -11
  390. package/lib/components/slider/slider.d.ts +84 -34
  391. package/lib/components/slug/slug.d.ts +1 -1
  392. package/lib/components/structured-list/structured-list-row.d.ts +27 -11
  393. package/lib/components/structured-list/structured-list.d.ts +30 -12
  394. package/lib/components/tabs/tabs.d.ts +27 -11
  395. package/lib/components/tag/dismissible-tag.d.ts +54 -22
  396. package/lib/components/tag/operational-tag.d.ts +54 -22
  397. package/lib/components/tag/selectable-tag.d.ts +54 -22
  398. package/lib/components/tag/tag.d.ts +54 -22
  399. package/lib/components/tearsheet/tearsheet.d.ts +27 -11
  400. package/lib/components/text-input/text-input.d.ts +56 -22
  401. package/lib/components/textarea/textarea.d.ts +2 -0
  402. package/lib/components/tile/expandable-tile.d.ts +54 -22
  403. package/lib/components/tile/selectable-tile.d.ts +56 -22
  404. package/lib/components/tile/tile-group.d.ts +27 -11
  405. package/lib/components/time-picker/time-picker-select.d.ts +29 -11
  406. package/lib/components/time-picker/time-picker.d.ts +56 -22
  407. package/lib/components/toggle/toggle.d.ts +27 -11
  408. package/lib/components/toggle-tip/toggletip.d.ts +57 -23
  409. package/lib/components/tooltip/tooltip.d.ts +28 -12
  410. package/lib/components/tree-view/tree-view.d.ts +28 -12
  411. package/lib/components/ui-shell/header-global-action.d.ts +2 -0
  412. package/lib/components/ui-shell/header-menu-button.d.ts +29 -11
  413. package/lib/components/ui-shell/header-menu.d.ts +56 -22
  414. package/lib/components/ui-shell/header-name.d.ts +29 -11
  415. package/lib/components/ui-shell/header-nav-item.d.ts +29 -11
  416. package/lib/components/ui-shell/header-panel.d.ts +2 -0
  417. package/lib/components/ui-shell/side-nav-link.d.ts +29 -11
  418. package/lib/components/ui-shell/side-nav-menu-item.d.ts +29 -11
  419. package/lib/components/ui-shell/side-nav-menu.d.ts +29 -11
  420. package/lib/components/ui-shell/side-nav.d.ts +27 -11
  421. package/lib/components/ui-shell/switcher-item.d.ts +29 -11
  422. package/lib/components/ui-shell/switcher.d.ts +2 -0
  423. package/lib/globals/mixins/focus.d.ts +27 -11
  424. package/lib/globals/mixins/form.d.ts +27 -11
  425. package/lib/globals/mixins/host-listener.d.ts +27 -11
  426. package/lib/globals/mixins/validity.d.ts +27 -11
  427. package/package.json +7 -7
  428. package/scss/components/combo-box/combo-box.scss +1 -1
  429. package/scss/components/fluid-time-picker/fluid-time-picker.scss +198 -0
  430. package/scss/components/pagination-nav/pagination-nav.scss +29 -0
  431. package/telemetry.yml +16 -8
@@ -15,6 +15,7 @@ declare const CDSButton_base: {
15
15
  accessKey: string;
16
16
  readonly accessKeyLabel: string;
17
17
  autocapitalize: string;
18
+ autocorrect: boolean;
18
19
  dir: string;
19
20
  draggable: boolean;
20
21
  hidden: boolean;
@@ -36,13 +37,14 @@ declare const CDSButton_base: {
36
37
  click(): void;
37
38
  hidePopover(): void;
38
39
  showPopover(): void;
39
- togglePopover(force?: boolean): boolean;
40
+ togglePopover(options?: boolean): boolean;
40
41
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
41
42
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
42
43
  removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
43
44
  removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
44
45
  readonly attributes: NamedNodeMap;
45
- readonly classList: DOMTokenList;
46
+ get classList(): DOMTokenList;
47
+ set classList(value: string);
46
48
  className: string;
47
49
  readonly clientHeight: number;
48
50
  readonly clientLeft: number;
@@ -57,7 +59,8 @@ declare const CDSButton_base: {
57
59
  onfullscreenerror: ((this: Element, ev: Event) => any) | null;
58
60
  outerHTML: string;
59
61
  readonly ownerDocument: Document;
60
- readonly part: DOMTokenList;
62
+ get part(): DOMTokenList;
63
+ set part(value: string);
61
64
  readonly prefix: string | null;
62
65
  readonly scrollHeight: number;
63
66
  scrollLeft: number;
@@ -120,6 +123,8 @@ declare const CDSButton_base: {
120
123
  setPointerCapture(pointerId: number): void;
121
124
  toggleAttribute(qualifiedName: string, force?: boolean): boolean;
122
125
  webkitMatchesSelector(selectors: string): boolean;
126
+ get textContent(): string;
127
+ set textContent(value: string | null);
123
128
  readonly baseURI: string;
124
129
  readonly childNodes: NodeListOf<ChildNode>;
125
130
  readonly firstChild: ChildNode | null;
@@ -132,9 +137,8 @@ declare const CDSButton_base: {
132
137
  readonly parentElement: HTMLElement | null;
133
138
  readonly parentNode: ParentNode | null;
134
139
  readonly previousSibling: ChildNode | null;
135
- textContent: string | null;
136
140
  appendChild<T extends Node>(node: T): T;
137
- cloneNode(deep?: boolean): Node;
141
+ cloneNode(subtree?: boolean): Node;
138
142
  compareDocumentPosition(other: Node): number;
139
143
  contains(other: Node | null): boolean;
140
144
  getRootNode(options?: GetRootNodeOptions): Node;
@@ -167,6 +171,7 @@ declare const CDSButton_base: {
167
171
  readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
168
172
  readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
169
173
  dispatchEvent(event: Event): boolean;
174
+ ariaActiveDescendantElement: Element | null;
170
175
  ariaAtomic: string | null;
171
176
  ariaAutoComplete: string | null;
172
177
  ariaBrailleLabel: string | null;
@@ -177,25 +182,33 @@ declare const CDSButton_base: {
177
182
  ariaColIndex: string | null;
178
183
  ariaColIndexText: string | null;
179
184
  ariaColSpan: string | null;
185
+ ariaControlsElements: ReadonlyArray<Element> | null;
180
186
  ariaCurrent: string | null;
187
+ ariaDescribedByElements: ReadonlyArray<Element> | null;
181
188
  ariaDescription: string | null;
189
+ ariaDetailsElements: ReadonlyArray<Element> | null;
182
190
  ariaDisabled: string | null;
191
+ ariaErrorMessageElements: ReadonlyArray<Element> | null;
183
192
  ariaExpanded: string | null;
193
+ ariaFlowToElements: ReadonlyArray<Element> | null;
184
194
  ariaHasPopup: string | null;
185
195
  ariaHidden: string | null;
186
196
  ariaInvalid: string | null;
187
197
  ariaKeyShortcuts: string | null;
188
198
  ariaLabel: string | null;
199
+ ariaLabelledByElements: ReadonlyArray<Element> | null;
189
200
  ariaLevel: string | null;
190
201
  ariaLive: string | null;
191
202
  ariaModal: string | null;
192
203
  ariaMultiLine: string | null;
193
204
  ariaMultiSelectable: string | null;
194
205
  ariaOrientation: string | null;
206
+ ariaOwnsElements: ReadonlyArray<Element> | null;
195
207
  ariaPlaceholder: string | null;
196
208
  ariaPosInSet: string | null;
197
209
  ariaPressed: string | null;
198
210
  ariaReadOnly: string | null;
211
+ ariaRelevant: string | null;
199
212
  ariaRequired: string | null;
200
213
  ariaRoleDescription: string | null;
201
214
  ariaRowCount: string | null;
@@ -237,7 +250,8 @@ declare const CDSButton_base: {
237
250
  replaceChildren(...nodes: (Node | string)[]): void;
238
251
  readonly assignedSlot: HTMLSlotElement | null;
239
252
  readonly attributeStyleMap: StylePropertyMap;
240
- readonly style: CSSStyleDeclaration;
253
+ get style(): CSSStyleDeclaration;
254
+ set style(cssText: string);
241
255
  contentEditable: string;
242
256
  enterKeyHint: string;
243
257
  inputMode: string;
@@ -247,18 +261,19 @@ declare const CDSButton_base: {
247
261
  onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
248
262
  onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
249
263
  onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
250
- onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
264
+ onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
251
265
  onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
252
- onbeforetoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
266
+ onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
267
+ onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
253
268
  onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
254
269
  oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
255
270
  oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
256
271
  oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
257
272
  onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
258
- onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
273
+ onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
259
274
  onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
260
275
  oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
261
- oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
276
+ oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
262
277
  oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
263
278
  oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
264
279
  oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
@@ -306,6 +321,7 @@ declare const CDSButton_base: {
306
321
  onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
307
322
  onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
308
323
  onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
324
+ onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
309
325
  onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
310
326
  onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
311
327
  onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
@@ -324,7 +340,7 @@ declare const CDSButton_base: {
324
340
  onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
325
341
  onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
326
342
  ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
327
- ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
343
+ ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
328
344
  ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
329
345
  ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
330
346
  ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
@@ -360,6 +376,7 @@ declare const CDSButton_base: {
360
376
  accessKey: string;
361
377
  readonly accessKeyLabel: string;
362
378
  autocapitalize: string;
379
+ autocorrect: boolean;
363
380
  dir: string;
364
381
  draggable: boolean;
365
382
  hidden: boolean;
@@ -381,13 +398,14 @@ declare const CDSButton_base: {
381
398
  click(): void;
382
399
  hidePopover(): void;
383
400
  showPopover(): void;
384
- togglePopover(force?: boolean): boolean;
401
+ togglePopover(options?: boolean): boolean;
385
402
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
386
403
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
387
404
  removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
388
405
  removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
389
406
  readonly attributes: NamedNodeMap;
390
- readonly classList: DOMTokenList;
407
+ get classList(): DOMTokenList;
408
+ set classList(value: string);
391
409
  className: string;
392
410
  readonly clientHeight: number;
393
411
  readonly clientLeft: number;
@@ -402,7 +420,8 @@ declare const CDSButton_base: {
402
420
  onfullscreenerror: ((this: Element, ev: Event) => any) | null;
403
421
  outerHTML: string;
404
422
  readonly ownerDocument: Document;
405
- readonly part: DOMTokenList;
423
+ get part(): DOMTokenList;
424
+ set part(value: string);
406
425
  readonly prefix: string | null;
407
426
  readonly scrollHeight: number;
408
427
  scrollLeft: number;
@@ -465,6 +484,8 @@ declare const CDSButton_base: {
465
484
  setPointerCapture(pointerId: number): void;
466
485
  toggleAttribute(qualifiedName: string, force?: boolean): boolean;
467
486
  webkitMatchesSelector(selectors: string): boolean;
487
+ get textContent(): string;
488
+ set textContent(value: string | null);
468
489
  readonly baseURI: string;
469
490
  readonly childNodes: NodeListOf<ChildNode>;
470
491
  readonly firstChild: ChildNode | null;
@@ -477,9 +498,8 @@ declare const CDSButton_base: {
477
498
  readonly parentElement: HTMLElement | null;
478
499
  readonly parentNode: ParentNode | null;
479
500
  readonly previousSibling: ChildNode | null;
480
- textContent: string | null;
481
501
  appendChild<T extends Node>(node: T): T;
482
- cloneNode(deep?: boolean): Node;
502
+ cloneNode(subtree?: boolean): Node;
483
503
  compareDocumentPosition(other: Node): number;
484
504
  contains(other: Node | null): boolean;
485
505
  getRootNode(options?: GetRootNodeOptions): Node;
@@ -512,6 +532,7 @@ declare const CDSButton_base: {
512
532
  readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
513
533
  readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
514
534
  dispatchEvent(event: Event): boolean;
535
+ ariaActiveDescendantElement: Element | null;
515
536
  ariaAtomic: string | null;
516
537
  ariaAutoComplete: string | null;
517
538
  ariaBrailleLabel: string | null;
@@ -522,25 +543,33 @@ declare const CDSButton_base: {
522
543
  ariaColIndex: string | null;
523
544
  ariaColIndexText: string | null;
524
545
  ariaColSpan: string | null;
546
+ ariaControlsElements: ReadonlyArray<Element> | null;
525
547
  ariaCurrent: string | null;
548
+ ariaDescribedByElements: ReadonlyArray<Element> | null;
526
549
  ariaDescription: string | null;
550
+ ariaDetailsElements: ReadonlyArray<Element> | null;
527
551
  ariaDisabled: string | null;
552
+ ariaErrorMessageElements: ReadonlyArray<Element> | null;
528
553
  ariaExpanded: string | null;
554
+ ariaFlowToElements: ReadonlyArray<Element> | null;
529
555
  ariaHasPopup: string | null;
530
556
  ariaHidden: string | null;
531
557
  ariaInvalid: string | null;
532
558
  ariaKeyShortcuts: string | null;
533
559
  ariaLabel: string | null;
560
+ ariaLabelledByElements: ReadonlyArray<Element> | null;
534
561
  ariaLevel: string | null;
535
562
  ariaLive: string | null;
536
563
  ariaModal: string | null;
537
564
  ariaMultiLine: string | null;
538
565
  ariaMultiSelectable: string | null;
539
566
  ariaOrientation: string | null;
567
+ ariaOwnsElements: ReadonlyArray<Element> | null;
540
568
  ariaPlaceholder: string | null;
541
569
  ariaPosInSet: string | null;
542
570
  ariaPressed: string | null;
543
571
  ariaReadOnly: string | null;
572
+ ariaRelevant: string | null;
544
573
  ariaRequired: string | null;
545
574
  ariaRoleDescription: string | null;
546
575
  ariaRowCount: string | null;
@@ -582,7 +611,8 @@ declare const CDSButton_base: {
582
611
  replaceChildren(...nodes: (Node | string)[]): void;
583
612
  readonly assignedSlot: HTMLSlotElement | null;
584
613
  readonly attributeStyleMap: StylePropertyMap;
585
- readonly style: CSSStyleDeclaration;
614
+ get style(): CSSStyleDeclaration;
615
+ set style(cssText: string);
586
616
  contentEditable: string;
587
617
  enterKeyHint: string;
588
618
  inputMode: string;
@@ -592,18 +622,19 @@ declare const CDSButton_base: {
592
622
  onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
593
623
  onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
594
624
  onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
595
- onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
625
+ onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
596
626
  onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
597
- onbeforetoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
627
+ onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
628
+ onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
598
629
  onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
599
630
  oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
600
631
  oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
601
632
  oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
602
633
  onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
603
- onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
634
+ onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
604
635
  onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
605
636
  oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
606
- oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
637
+ oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
607
638
  oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
608
639
  oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
609
640
  oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
@@ -651,6 +682,7 @@ declare const CDSButton_base: {
651
682
  onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
652
683
  onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
653
684
  onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
685
+ onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
654
686
  onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
655
687
  onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
656
688
  onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
@@ -669,7 +701,7 @@ declare const CDSButton_base: {
669
701
  onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
670
702
  onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
671
703
  ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
672
- ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
704
+ ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
673
705
  ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
674
706
  ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
675
707
  ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
@@ -825,6 +857,8 @@ declare class CDSButton extends CDSButton_base {
825
857
  render(): import("lit-html").TemplateResult<1>;
826
858
  static shadowRootOptions: {
827
859
  delegatesFocus: boolean;
860
+ clonable?: boolean;
861
+ customElementRegistry?: CustomElementRegistry;
828
862
  mode: ShadowRootMode;
829
863
  serializable?: boolean;
830
864
  slotAssignment?: SlotAssignmentMode;
@@ -81,6 +81,8 @@ declare class CDSCheckboxGroup extends LitElement {
81
81
  static get aiLabelItem(): string;
82
82
  static shadowRootOptions: {
83
83
  delegatesFocus: boolean;
84
+ clonable?: boolean;
85
+ customElementRegistry?: CustomElementRegistry;
84
86
  mode: ShadowRootMode;
85
87
  serializable?: boolean;
86
88
  slotAssignment?: SlotAssignmentMode;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2019, 2025
2
+ * Copyright IBM Corp. 2019, 2026
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -11,6 +11,7 @@ declare const CDSCheckbox_base: {
11
11
  accessKey: string;
12
12
  readonly accessKeyLabel: string;
13
13
  autocapitalize: string;
14
+ autocorrect: boolean;
14
15
  dir: string;
15
16
  draggable: boolean;
16
17
  hidden: boolean;
@@ -32,13 +33,14 @@ declare const CDSCheckbox_base: {
32
33
  click(): void;
33
34
  hidePopover(): void;
34
35
  showPopover(): void;
35
- togglePopover(force?: boolean): boolean;
36
+ togglePopover(options?: boolean): boolean;
36
37
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
37
38
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
38
39
  removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
39
40
  removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
40
41
  readonly attributes: NamedNodeMap;
41
- readonly classList: DOMTokenList;
42
+ get classList(): DOMTokenList;
43
+ set classList(value: string);
42
44
  className: string;
43
45
  readonly clientHeight: number;
44
46
  readonly clientLeft: number;
@@ -53,7 +55,8 @@ declare const CDSCheckbox_base: {
53
55
  onfullscreenerror: ((this: Element, ev: Event) => any) | null;
54
56
  outerHTML: string;
55
57
  readonly ownerDocument: Document;
56
- readonly part: DOMTokenList;
58
+ get part(): DOMTokenList;
59
+ set part(value: string);
57
60
  readonly prefix: string | null;
58
61
  readonly scrollHeight: number;
59
62
  scrollLeft: number;
@@ -116,6 +119,8 @@ declare const CDSCheckbox_base: {
116
119
  setPointerCapture(pointerId: number): void;
117
120
  toggleAttribute(qualifiedName: string, force?: boolean): boolean;
118
121
  webkitMatchesSelector(selectors: string): boolean;
122
+ get textContent(): string;
123
+ set textContent(value: string | null);
119
124
  readonly baseURI: string;
120
125
  readonly childNodes: NodeListOf<ChildNode>;
121
126
  readonly firstChild: ChildNode | null;
@@ -128,9 +133,8 @@ declare const CDSCheckbox_base: {
128
133
  readonly parentElement: HTMLElement | null;
129
134
  readonly parentNode: ParentNode | null;
130
135
  readonly previousSibling: ChildNode | null;
131
- textContent: string | null;
132
136
  appendChild<T extends Node>(node: T): T;
133
- cloneNode(deep?: boolean): Node;
137
+ cloneNode(subtree?: boolean): Node;
134
138
  compareDocumentPosition(other: Node): number;
135
139
  contains(other: Node | null): boolean;
136
140
  getRootNode(options?: GetRootNodeOptions): Node;
@@ -163,6 +167,7 @@ declare const CDSCheckbox_base: {
163
167
  readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
164
168
  readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
165
169
  dispatchEvent(event: Event): boolean;
170
+ ariaActiveDescendantElement: Element | null;
166
171
  ariaAtomic: string | null;
167
172
  ariaAutoComplete: string | null;
168
173
  ariaBrailleLabel: string | null;
@@ -173,25 +178,33 @@ declare const CDSCheckbox_base: {
173
178
  ariaColIndex: string | null;
174
179
  ariaColIndexText: string | null;
175
180
  ariaColSpan: string | null;
181
+ ariaControlsElements: ReadonlyArray<Element> | null;
176
182
  ariaCurrent: string | null;
183
+ ariaDescribedByElements: ReadonlyArray<Element> | null;
177
184
  ariaDescription: string | null;
185
+ ariaDetailsElements: ReadonlyArray<Element> | null;
178
186
  ariaDisabled: string | null;
187
+ ariaErrorMessageElements: ReadonlyArray<Element> | null;
179
188
  ariaExpanded: string | null;
189
+ ariaFlowToElements: ReadonlyArray<Element> | null;
180
190
  ariaHasPopup: string | null;
181
191
  ariaHidden: string | null;
182
192
  ariaInvalid: string | null;
183
193
  ariaKeyShortcuts: string | null;
184
194
  ariaLabel: string | null;
195
+ ariaLabelledByElements: ReadonlyArray<Element> | null;
185
196
  ariaLevel: string | null;
186
197
  ariaLive: string | null;
187
198
  ariaModal: string | null;
188
199
  ariaMultiLine: string | null;
189
200
  ariaMultiSelectable: string | null;
190
201
  ariaOrientation: string | null;
202
+ ariaOwnsElements: ReadonlyArray<Element> | null;
191
203
  ariaPlaceholder: string | null;
192
204
  ariaPosInSet: string | null;
193
205
  ariaPressed: string | null;
194
206
  ariaReadOnly: string | null;
207
+ ariaRelevant: string | null;
195
208
  ariaRequired: string | null;
196
209
  ariaRoleDescription: string | null;
197
210
  ariaRowCount: string | null;
@@ -233,7 +246,8 @@ declare const CDSCheckbox_base: {
233
246
  replaceChildren(...nodes: (Node | string)[]): void;
234
247
  readonly assignedSlot: HTMLSlotElement | null;
235
248
  readonly attributeStyleMap: StylePropertyMap;
236
- readonly style: CSSStyleDeclaration;
249
+ get style(): CSSStyleDeclaration;
250
+ set style(cssText: string);
237
251
  contentEditable: string;
238
252
  enterKeyHint: string;
239
253
  inputMode: string;
@@ -243,18 +257,19 @@ declare const CDSCheckbox_base: {
243
257
  onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
244
258
  onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
245
259
  onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
246
- onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
260
+ onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
247
261
  onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
248
- onbeforetoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
262
+ onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
263
+ onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
249
264
  onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
250
265
  oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
251
266
  oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
252
267
  oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
253
268
  onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
254
- onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
269
+ onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
255
270
  onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
256
271
  oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
257
- oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
272
+ oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
258
273
  oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
259
274
  oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
260
275
  oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
@@ -302,6 +317,7 @@ declare const CDSCheckbox_base: {
302
317
  onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
303
318
  onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
304
319
  onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
320
+ onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
305
321
  onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
306
322
  onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
307
323
  onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
@@ -320,7 +336,7 @@ declare const CDSCheckbox_base: {
320
336
  onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
321
337
  onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
322
338
  ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
323
- ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
339
+ ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
324
340
  ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
325
341
  ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
326
342
  ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
@@ -350,6 +366,7 @@ declare const CDSCheckbox_base: {
350
366
  accessKey: string;
351
367
  readonly accessKeyLabel: string;
352
368
  autocapitalize: string;
369
+ autocorrect: boolean;
353
370
  dir: string;
354
371
  draggable: boolean;
355
372
  hidden: boolean;
@@ -371,13 +388,14 @@ declare const CDSCheckbox_base: {
371
388
  click(): void;
372
389
  hidePopover(): void;
373
390
  showPopover(): void;
374
- togglePopover(force?: boolean): boolean;
391
+ togglePopover(options?: boolean): boolean;
375
392
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
376
393
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
377
394
  removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
378
395
  removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
379
396
  readonly attributes: NamedNodeMap;
380
- readonly classList: DOMTokenList;
397
+ get classList(): DOMTokenList;
398
+ set classList(value: string);
381
399
  className: string;
382
400
  readonly clientHeight: number;
383
401
  readonly clientLeft: number;
@@ -392,7 +410,8 @@ declare const CDSCheckbox_base: {
392
410
  onfullscreenerror: ((this: Element, ev: Event) => any) | null;
393
411
  outerHTML: string;
394
412
  readonly ownerDocument: Document;
395
- readonly part: DOMTokenList;
413
+ get part(): DOMTokenList;
414
+ set part(value: string);
396
415
  readonly prefix: string | null;
397
416
  readonly scrollHeight: number;
398
417
  scrollLeft: number;
@@ -455,6 +474,8 @@ declare const CDSCheckbox_base: {
455
474
  setPointerCapture(pointerId: number): void;
456
475
  toggleAttribute(qualifiedName: string, force?: boolean): boolean;
457
476
  webkitMatchesSelector(selectors: string): boolean;
477
+ get textContent(): string;
478
+ set textContent(value: string | null);
458
479
  readonly baseURI: string;
459
480
  readonly childNodes: NodeListOf<ChildNode>;
460
481
  readonly firstChild: ChildNode | null;
@@ -467,9 +488,8 @@ declare const CDSCheckbox_base: {
467
488
  readonly parentElement: HTMLElement | null;
468
489
  readonly parentNode: ParentNode | null;
469
490
  readonly previousSibling: ChildNode | null;
470
- textContent: string | null;
471
491
  appendChild<T extends Node>(node: T): T;
472
- cloneNode(deep?: boolean): Node;
492
+ cloneNode(subtree?: boolean): Node;
473
493
  compareDocumentPosition(other: Node): number;
474
494
  contains(other: Node | null): boolean;
475
495
  getRootNode(options?: GetRootNodeOptions): Node;
@@ -502,6 +522,7 @@ declare const CDSCheckbox_base: {
502
522
  readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
503
523
  readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
504
524
  dispatchEvent(event: Event): boolean;
525
+ ariaActiveDescendantElement: Element | null;
505
526
  ariaAtomic: string | null;
506
527
  ariaAutoComplete: string | null;
507
528
  ariaBrailleLabel: string | null;
@@ -512,25 +533,33 @@ declare const CDSCheckbox_base: {
512
533
  ariaColIndex: string | null;
513
534
  ariaColIndexText: string | null;
514
535
  ariaColSpan: string | null;
536
+ ariaControlsElements: ReadonlyArray<Element> | null;
515
537
  ariaCurrent: string | null;
538
+ ariaDescribedByElements: ReadonlyArray<Element> | null;
516
539
  ariaDescription: string | null;
540
+ ariaDetailsElements: ReadonlyArray<Element> | null;
517
541
  ariaDisabled: string | null;
542
+ ariaErrorMessageElements: ReadonlyArray<Element> | null;
518
543
  ariaExpanded: string | null;
544
+ ariaFlowToElements: ReadonlyArray<Element> | null;
519
545
  ariaHasPopup: string | null;
520
546
  ariaHidden: string | null;
521
547
  ariaInvalid: string | null;
522
548
  ariaKeyShortcuts: string | null;
523
549
  ariaLabel: string | null;
550
+ ariaLabelledByElements: ReadonlyArray<Element> | null;
524
551
  ariaLevel: string | null;
525
552
  ariaLive: string | null;
526
553
  ariaModal: string | null;
527
554
  ariaMultiLine: string | null;
528
555
  ariaMultiSelectable: string | null;
529
556
  ariaOrientation: string | null;
557
+ ariaOwnsElements: ReadonlyArray<Element> | null;
530
558
  ariaPlaceholder: string | null;
531
559
  ariaPosInSet: string | null;
532
560
  ariaPressed: string | null;
533
561
  ariaReadOnly: string | null;
562
+ ariaRelevant: string | null;
534
563
  ariaRequired: string | null;
535
564
  ariaRoleDescription: string | null;
536
565
  ariaRowCount: string | null;
@@ -572,7 +601,8 @@ declare const CDSCheckbox_base: {
572
601
  replaceChildren(...nodes: (Node | string)[]): void;
573
602
  readonly assignedSlot: HTMLSlotElement | null;
574
603
  readonly attributeStyleMap: StylePropertyMap;
575
- readonly style: CSSStyleDeclaration;
604
+ get style(): CSSStyleDeclaration;
605
+ set style(cssText: string);
576
606
  contentEditable: string;
577
607
  enterKeyHint: string;
578
608
  inputMode: string;
@@ -582,18 +612,19 @@ declare const CDSCheckbox_base: {
582
612
  onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
583
613
  onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
584
614
  onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
585
- onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
615
+ onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
586
616
  onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
587
- onbeforetoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
617
+ onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
618
+ onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
588
619
  onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
589
620
  oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
590
621
  oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
591
622
  oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
592
623
  onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
593
- onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
624
+ onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
594
625
  onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
595
626
  oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
596
- oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
627
+ oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
597
628
  oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
598
629
  oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
599
630
  oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
@@ -641,6 +672,7 @@ declare const CDSCheckbox_base: {
641
672
  onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
642
673
  onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
643
674
  onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
675
+ onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
644
676
  onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
645
677
  onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
646
678
  onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
@@ -659,7 +691,7 @@ declare const CDSCheckbox_base: {
659
691
  onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
660
692
  onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
661
693
  ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
662
- ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
694
+ ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
663
695
  ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
664
696
  ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
665
697
  ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
@@ -802,6 +834,8 @@ declare class CDSCheckbox extends CDSCheckbox_base {
802
834
  static get aiLabelItem(): string;
803
835
  static shadowRootOptions: {
804
836
  delegatesFocus: boolean;
837
+ clonable?: boolean;
838
+ customElementRegistry?: CustomElementRegistry;
805
839
  mode: ShadowRootMode;
806
840
  serializable?: boolean;
807
841
  slotAssignment?: SlotAssignmentMode;
@@ -20,7 +20,7 @@ import { carbonElement } from '../../globals/decorators/carbon-element.js';
20
20
  import { iconLoader } from '../../globals/internal/icon-loader.js';
21
21
 
22
22
  /**
23
- * Copyright IBM Corp. 2019, 2025
23
+ * Copyright IBM Corp. 2019, 2026
24
24
  *
25
25
  * This source code is licensed under the Apache-2.0 license found in the
26
26
  * LICENSE file in the root directory of this source tree.
@@ -145,10 +145,12 @@ let CDSCheckbox = class CDSCheckbox extends FocusMixin(FormMixin(LitElement)) {
145
145
  }
146
146
  updated() {
147
147
  const { _hasAILabel: hasAILabel } = this;
148
- // eslint-disable-next-line @typescript-eslint/no-unused-expressions -- https://github.com/carbon-design-system/carbon/issues/20452
149
- hasAILabel
150
- ? this.setAttribute('ai-label', '')
151
- : this.removeAttribute('ai-label');
148
+ if (hasAILabel) {
149
+ this.setAttribute('ai-label', '');
150
+ }
151
+ else {
152
+ this.removeAttribute('ai-label');
153
+ }
152
154
  }
153
155
  connectedCallback() {
154
156
  super.connectedCallback();