@carbon/web-components 2.0.1 → 2.0.2-rc.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 (1952) hide show
  1. package/custom-elements.json +480 -12
  2. package/es/components/accordion/accordion-item.d.ts +47 -27
  3. package/es/components/accordion/accordion-item.js +13 -3
  4. package/es/components/accordion/accordion-item.js.map +1 -1
  5. package/es/components/accordion/accordion.css.js +1 -1
  6. package/es/components/accordion/accordion.rtl.css.js +1 -1
  7. package/es/components/breadcrumb/breadcrumb.css.js +1 -1
  8. package/es/components/breadcrumb/breadcrumb.rtl.css.js +1 -1
  9. package/es/components/button/button.css.js +1 -1
  10. package/es/components/button/button.d.ts +98 -58
  11. package/es/components/button/button.js +3 -3
  12. package/es/components/button/button.js.map +1 -1
  13. package/es/components/button/button.rtl.css.js +1 -1
  14. package/es/components/checkbox/checkbox.css.js +1 -1
  15. package/es/components/checkbox/checkbox.d.ts +100 -60
  16. package/es/components/checkbox/checkbox.rtl.css.js +1 -1
  17. package/es/components/code-snippet/code-snippet.css.js +1 -1
  18. package/es/components/code-snippet/code-snippet.d.ts +47 -27
  19. package/es/components/code-snippet/code-snippet.js +1 -1
  20. package/es/components/code-snippet/code-snippet.js.map +1 -1
  21. package/es/components/code-snippet/code-snippet.rtl.css.js +1 -1
  22. package/es/components/combo-box/combo-box.css.js +1 -1
  23. package/es/components/combo-box/combo-box.d.ts +1 -1
  24. package/es/components/combo-box/combo-box.js +2 -1
  25. package/es/components/combo-box/combo-box.js.map +1 -1
  26. package/es/components/combo-box/combo-box.rtl.css.js +1 -1
  27. package/es/components/content-switcher/content-switcher-item.d.ts +47 -27
  28. package/es/components/content-switcher/content-switcher-item.js +3 -3
  29. package/es/components/content-switcher/content-switcher-item.js.map +1 -1
  30. package/es/components/content-switcher/content-switcher.css.js +1 -1
  31. package/es/components/content-switcher/content-switcher.rtl.css.js +1 -1
  32. package/es/components/copy/copy.js +14 -14
  33. package/es/components/copy/copy.js.map +1 -1
  34. package/es/components/copy-button/copy-button.css.js +1 -1
  35. package/es/components/copy-button/copy-button.d.ts +47 -27
  36. package/es/components/copy-button/copy-button.rtl.css.js +1 -1
  37. package/es/components/data-table/data-table.css.js +1 -1
  38. package/es/components/data-table/data-table.rtl.css.js +1 -1
  39. package/es/components/data-table/table-expanded-row.d.ts +47 -27
  40. package/es/components/data-table/table-header-cell.d.ts +47 -27
  41. package/es/components/data-table/table-row.d.ts +98 -58
  42. package/es/components/data-table/table-row.js +1 -1
  43. package/es/components/data-table/table-row.js.map +1 -1
  44. package/es/components/data-table/table-skeleton.js +2 -2
  45. package/es/components/data-table/table-skeleton.js.map +1 -1
  46. package/es/components/data-table/table-toolbar-search.d.ts +47 -27
  47. package/es/components/data-table/table-toolbar-search.js +1 -1
  48. package/es/components/data-table/table-toolbar-search.js.map +1 -1
  49. package/es/components/data-table/table.d.ts +47 -27
  50. package/es/components/data-table/table.js +2 -2
  51. package/es/components/data-table/table.js.map +1 -1
  52. package/es/components/date-picker/date-picker-input.d.ts +59 -27
  53. package/es/components/date-picker/date-picker-input.js +60 -19
  54. package/es/components/date-picker/date-picker-input.js.map +1 -1
  55. package/es/components/date-picker/date-picker.css.js +1 -1
  56. package/es/components/date-picker/date-picker.d.ts +98 -58
  57. package/es/components/date-picker/date-picker.rtl.css.js +1 -1
  58. package/es/components/dropdown/dropdown.css.js +1 -1
  59. package/es/components/dropdown/dropdown.d.ts +219 -126
  60. package/es/components/dropdown/dropdown.js +47 -1
  61. package/es/components/dropdown/dropdown.js.map +1 -1
  62. package/es/components/dropdown/dropdown.rtl.css.js +1 -1
  63. package/es/components/file-uploader/file-uploader-button.d.ts +47 -27
  64. package/es/components/file-uploader/file-uploader-button.js +7 -7
  65. package/es/components/file-uploader/file-uploader-button.js.map +1 -1
  66. package/es/components/file-uploader/file-uploader-drop-container.d.ts +47 -27
  67. package/es/components/file-uploader/file-uploader-drop-container.js +1 -1
  68. package/es/components/file-uploader/file-uploader-drop-container.js.map +1 -1
  69. package/es/components/file-uploader/file-uploader.css.js +1 -1
  70. package/es/components/file-uploader/file-uploader.rtl.css.js +1 -1
  71. package/es/components/floating-menu/floating-menu.d.ts +98 -58
  72. package/es/components/floating-menu/floating-menu.js +1 -1
  73. package/es/components/floating-menu/floating-menu.js.map +1 -1
  74. package/es/components/form/form-item.css.js +1 -1
  75. package/es/components/form/form-item.rtl.css.js +1 -1
  76. package/es/components/form-group/form-group.css.js +1 -1
  77. package/es/components/form-group/form-group.rtl.css.js +1 -1
  78. package/es/components/icon-button/icon-button.css.js +1 -1
  79. package/es/components/icon-button/icon-button.js +3 -3
  80. package/es/components/icon-button/icon-button.js.map +1 -1
  81. package/es/components/icon-button/icon-button.rtl.css.js +1 -1
  82. package/es/components/inline-loading/inline-loading.css.js +1 -1
  83. package/es/components/inline-loading/inline-loading.rtl.css.js +1 -1
  84. package/es/components/link/link.css.js +1 -1
  85. package/es/components/link/link.d.ts +54 -42
  86. package/es/components/link/link.js +7 -7
  87. package/es/components/link/link.js.map +1 -1
  88. package/es/components/link/link.rtl.css.js +1 -1
  89. package/es/components/list/list.css.js +1 -1
  90. package/es/components/list/list.rtl.css.js +1 -1
  91. package/es/components/loading/loading.css.js +1 -1
  92. package/es/components/loading/loading.rtl.css.js +1 -1
  93. package/es/components/modal/modal-close-button.d.ts +47 -27
  94. package/es/components/modal/modal.css.js +1 -1
  95. package/es/components/modal/modal.d.ts +47 -27
  96. package/es/components/modal/modal.rtl.css.js +1 -1
  97. package/es/components/multi-select/multi-select.css.js +1 -1
  98. package/es/components/multi-select/multi-select.js +15 -5
  99. package/es/components/multi-select/multi-select.js.map +1 -1
  100. package/es/components/multi-select/multi-select.rtl.css.js +1 -1
  101. package/es/components/notification/actionable-notification-button.js +1 -1
  102. package/es/components/notification/actionable-notification-button.js.map +1 -1
  103. package/es/components/notification/actionable-notification.css.js +1 -1
  104. package/es/components/notification/actionable-notification.d.ts +47 -27
  105. package/es/components/notification/actionable-notification.js +5 -5
  106. package/es/components/notification/actionable-notification.js.map +1 -1
  107. package/es/components/notification/actionable-notification.rtl.css.js +1 -1
  108. package/es/components/notification/inline-notification.css.js +1 -1
  109. package/es/components/notification/inline-notification.d.ts +47 -27
  110. package/es/components/notification/inline-notification.rtl.css.js +1 -1
  111. package/es/components/notification/toast-notification.css.js +1 -1
  112. package/es/components/notification/toast-notification.rtl.css.js +1 -1
  113. package/es/components/number-input/number-input.css.js +1 -1
  114. package/es/components/number-input/number-input.js +4 -2
  115. package/es/components/number-input/number-input.js.map +1 -1
  116. package/es/components/number-input/number-input.rtl.css.js +1 -1
  117. package/es/components/overflow-menu/overflow-menu-body.js +1 -1
  118. package/es/components/overflow-menu/overflow-menu-body.js.map +1 -1
  119. package/es/components/overflow-menu/overflow-menu-item.d.ts +47 -27
  120. package/es/components/overflow-menu/overflow-menu.css.js +1 -1
  121. package/es/components/overflow-menu/overflow-menu.d.ts +98 -58
  122. package/es/components/overflow-menu/overflow-menu.js +13 -13
  123. package/es/components/overflow-menu/overflow-menu.js.map +1 -1
  124. package/es/components/overflow-menu/overflow-menu.rtl.css.js +1 -1
  125. package/es/components/pagination/pagination.css.js +1 -1
  126. package/es/components/pagination/pagination.d.ts +100 -60
  127. package/es/components/pagination/pagination.js +6 -2
  128. package/es/components/pagination/pagination.js.map +1 -1
  129. package/es/components/pagination/pagination.rtl.css.js +1 -1
  130. package/es/components/popover/popover.css.js +1 -1
  131. package/es/components/popover/popover.rtl.css.js +1 -1
  132. package/es/components/progress-bar/progress-bar.css.js +1 -1
  133. package/es/components/progress-bar/progress-bar.rtl.css.js +1 -1
  134. package/es/components/progress-indicator/progress-indicator.css.js +1 -1
  135. package/es/components/progress-indicator/progress-indicator.rtl.css.js +1 -1
  136. package/es/components/progress-indicator/progress-step.d.ts +47 -27
  137. package/es/components/radio-button/radio-button-group.d.ts +98 -58
  138. package/es/components/radio-button/radio-button.css.js +1 -1
  139. package/es/components/radio-button/radio-button.d.ts +98 -58
  140. package/es/components/radio-button/radio-button.rtl.css.js +1 -1
  141. package/es/components/search/search.css.js +1 -1
  142. package/es/components/search/search.d.ts +149 -89
  143. package/es/components/search/search.js +3 -3
  144. package/es/components/search/search.js.map +1 -1
  145. package/es/components/search/search.rtl.css.js +1 -1
  146. package/es/components/select/select.css.js +1 -1
  147. package/es/components/select/select.d.ts +59 -27
  148. package/es/components/select/select.js +43 -3
  149. package/es/components/select/select.js.map +1 -1
  150. package/es/components/select/select.rtl.css.js +1 -1
  151. package/es/components/skeleton-placeholder/skeleton-placeholder.css.js +1 -1
  152. package/es/components/skeleton-placeholder/skeleton-placeholder.rtl.css.js +1 -1
  153. package/es/components/skeleton-text/skeleton-text.css.js +1 -1
  154. package/es/components/skeleton-text/skeleton-text.rtl.css.js +1 -1
  155. package/es/components/skip-to-content/skip-to-content.css.js +1 -1
  156. package/es/components/skip-to-content/skip-to-content.d.ts +47 -27
  157. package/es/components/skip-to-content/skip-to-content.rtl.css.js +1 -1
  158. package/es/components/slider/slider-input.d.ts +47 -27
  159. package/es/components/slider/slider.css.js +1 -1
  160. package/es/components/slider/slider.d.ts +149 -89
  161. package/es/components/slider/slider.js +2 -2
  162. package/es/components/slider/slider.js.map +1 -1
  163. package/es/components/slider/slider.rtl.css.js +1 -1
  164. package/es/components/slug/defs.d.ts +73 -0
  165. package/es/components/slug/defs.js +42 -0
  166. package/es/components/slug/defs.js.map +1 -0
  167. package/es/components/slug/index.d.ts +12 -0
  168. package/es/components/slug/index.js +12 -0
  169. package/es/components/slug/index.js.map +1 -0
  170. package/es/components/slug/slug-action-button.d.ts +23 -0
  171. package/es/components/slug/slug-action-button.js +51 -0
  172. package/es/components/slug/slug-action-button.js.map +1 -0
  173. package/es/components/slug/slug.css.js +12 -0
  174. package/es/components/slug/slug.d.ts +59 -0
  175. package/es/components/slug/slug.js +270 -0
  176. package/es/components/slug/slug.js.map +1 -0
  177. package/es/components/slug/slug.rtl.css.js +12 -0
  178. package/es/components/stack/stack.css.js +1 -1
  179. package/es/components/stack/stack.js +4 -3
  180. package/es/components/stack/stack.js.map +1 -1
  181. package/es/components/stack/stack.rtl.css.js +1 -1
  182. package/es/components/structured-list/structured-list-row.d.ts +47 -27
  183. package/es/components/structured-list/structured-list-row.js +1 -1
  184. package/es/components/structured-list/structured-list-row.js.map +1 -1
  185. package/es/components/structured-list/structured-list.css.js +1 -1
  186. package/es/components/structured-list/structured-list.d.ts +47 -27
  187. package/es/components/structured-list/structured-list.rtl.css.js +1 -1
  188. package/es/components/tabs/tab.d.ts +8 -0
  189. package/es/components/tabs/tab.js +30 -5
  190. package/es/components/tabs/tab.js.map +1 -1
  191. package/es/components/tabs/tabs.css.js +1 -1
  192. package/es/components/tabs/tabs.d.ts +58 -29
  193. package/es/components/tabs/tabs.js +53 -25
  194. package/es/components/tabs/tabs.js.map +1 -1
  195. package/es/components/tabs/tabs.rtl.css.js +1 -1
  196. package/es/components/tag/tag.css.js +1 -1
  197. package/es/components/tag/tag.d.ts +98 -58
  198. package/es/components/tag/tag.rtl.css.js +1 -1
  199. package/es/components/text-input/text-input.css.js +1 -1
  200. package/es/components/text-input/text-input.d.ts +112 -60
  201. package/es/components/text-input/text-input.js +46 -8
  202. package/es/components/text-input/text-input.js.map +1 -1
  203. package/es/components/text-input/text-input.rtl.css.js +1 -1
  204. package/es/components/textarea/textarea.css.js +1 -1
  205. package/es/components/textarea/textarea.js +4 -2
  206. package/es/components/textarea/textarea.js.map +1 -1
  207. package/es/components/textarea/textarea.rtl.css.js +1 -1
  208. package/es/components/tile/defs.d.ts +1 -1
  209. package/es/components/tile/defs.js +1 -1
  210. package/es/components/tile/defs.js.map +1 -1
  211. package/es/components/tile/expandable-tile.d.ts +98 -58
  212. package/es/components/tile/selectable-tile.d.ts +98 -58
  213. package/es/components/tile/tile-group.d.ts +47 -27
  214. package/es/components/tile/tile.css.js +1 -1
  215. package/es/components/tile/tile.js +1 -1
  216. package/es/components/tile/tile.js.map +1 -1
  217. package/es/components/tile/tile.rtl.css.js +1 -1
  218. package/es/components/toggle/index.d.ts +1 -1
  219. package/es/components/toggle/index.js +1 -1
  220. package/es/components/toggle/index.js.map +1 -1
  221. package/es/components/toggle/toggle.css.js +1 -1
  222. package/es/components/toggle/toggle.d.ts +47 -27
  223. package/es/components/toggle/toggle.rtl.css.js +1 -1
  224. package/es/components/toggle-tip/toggletip.css.js +1 -1
  225. package/es/components/toggle-tip/toggletip.d.ts +398 -29
  226. package/es/components/toggle-tip/toggletip.js +107 -32
  227. package/es/components/toggle-tip/toggletip.js.map +1 -1
  228. package/es/components/toggle-tip/toggletip.rtl.css.js +1 -1
  229. package/es/components/tooltip/tooltip-content.js +2 -2
  230. package/es/components/tooltip/tooltip-content.js.map +1 -1
  231. package/es/components/tooltip/tooltip.css.js +1 -1
  232. package/es/components/tooltip/tooltip.d.ts +47 -27
  233. package/es/components/tooltip/tooltip.js +3 -3
  234. package/es/components/tooltip/tooltip.js.map +1 -1
  235. package/es/components/tooltip/tooltip.rtl.css.js +1 -1
  236. package/es/components/ui-shell/header-menu-button.d.ts +47 -27
  237. package/es/components/ui-shell/header-menu.d.ts +98 -58
  238. package/es/components/ui-shell/header-name.d.ts +47 -27
  239. package/es/components/ui-shell/header-nav-item.d.ts +47 -27
  240. package/es/components/ui-shell/header.css.js +1 -1
  241. package/es/components/ui-shell/header.rtl.css.js +1 -1
  242. package/es/components/ui-shell/side-nav-link.d.ts +47 -27
  243. package/es/components/ui-shell/side-nav-link.js +1 -1
  244. package/es/components/ui-shell/side-nav-link.js.map +1 -1
  245. package/es/components/ui-shell/side-nav-menu-item.d.ts +48 -27
  246. package/es/components/ui-shell/side-nav-menu-item.js +11 -0
  247. package/es/components/ui-shell/side-nav-menu-item.js.map +1 -1
  248. package/es/components/ui-shell/side-nav-menu.d.ts +47 -27
  249. package/es/components/ui-shell/side-nav-menu.js +1 -1
  250. package/es/components/ui-shell/side-nav-menu.js.map +1 -1
  251. package/es/components/ui-shell/side-nav.css.js +1 -1
  252. package/es/components/ui-shell/side-nav.d.ts +47 -27
  253. package/es/components/ui-shell/side-nav.js +1 -1
  254. package/es/components/ui-shell/side-nav.js.map +1 -1
  255. package/es/components/ui-shell/side-nav.rtl.css.js +1 -1
  256. package/es/components/ui-shell/switcher-item.d.ts +47 -27
  257. package/es/components-react/slug/defs.d.ts +14 -0
  258. package/es/components-react/slug/defs.js +9 -0
  259. package/es/components-react/slug/index.d.ts +14 -0
  260. package/es/components-react/slug/index.js +8 -0
  261. package/es/components-react/slug/slug-action-button.d.ts +13 -0
  262. package/es/components-react/slug/slug-action-button.js +22 -0
  263. package/es/components-react/slug/slug.d.ts +13 -0
  264. package/es/components-react/slug/slug.js +22 -0
  265. package/es/globals/decorators/carbon-element.d.ts +1 -1
  266. package/es/globals/internal/feature-flags.d.ts +25 -0
  267. package/es/globals/internal/feature-flags.js +27 -0
  268. package/es/globals/internal/feature-flags.js.map +1 -0
  269. package/es/globals/internal/radio-group-manager.d.ts +1 -1
  270. package/es/globals/mixins/focus.d.ts +47 -27
  271. package/es/globals/mixins/form.d.ts +47 -27
  272. package/es/globals/mixins/host-listener.d.ts +47 -27
  273. package/es/globals/mixins/validity.d.ts +47 -27
  274. package/es/globals/scss/grid.css.js +1 -1
  275. package/es/globals/scss/grid.rtl.css.js +1 -1
  276. package/es/globals/scss/themes.css.js +1 -1
  277. package/es/globals/scss/themes.rtl.css.js +1 -1
  278. package/es/globals/settings.d.ts +1 -1
  279. package/es/globals/wrappers/createReactCustomElementType.js +2 -1
  280. package/es/globals/wrappers/createReactCustomElementType.js.map +1 -1
  281. package/es/icons/AI/16.d.ts +17 -0
  282. package/es/icons/AI/16.js +15 -0
  283. package/es/icons/AI/20.d.ts +17 -0
  284. package/es/icons/AI/20.js +15 -0
  285. package/es/icons/AI/24.d.ts +17 -0
  286. package/es/icons/AI/24.js +15 -0
  287. package/es/icons/AI/32.d.ts +17 -0
  288. package/es/icons/AI/32.js +15 -0
  289. package/es/icons/IP/16.d.ts +17 -0
  290. package/es/icons/IP/16.js +15 -0
  291. package/es/icons/IP/20.d.ts +17 -0
  292. package/es/icons/IP/20.js +15 -0
  293. package/es/icons/IP/24.d.ts +17 -0
  294. package/es/icons/IP/24.js +15 -0
  295. package/es/icons/IP/32.d.ts +17 -0
  296. package/es/icons/IP/32.js +15 -0
  297. package/es/icons/MAC/16.d.ts +17 -0
  298. package/es/icons/MAC/16.js +15 -0
  299. package/es/icons/MAC/20.d.ts +17 -0
  300. package/es/icons/MAC/20.js +15 -0
  301. package/es/icons/MAC/24.d.ts +17 -0
  302. package/es/icons/MAC/24.js +15 -0
  303. package/es/icons/MAC/32.d.ts +17 -0
  304. package/es/icons/MAC/32.js +15 -0
  305. package/es/icons/URL/16.d.ts +17 -0
  306. package/es/icons/URL/16.js +15 -0
  307. package/es/icons/URL/20.d.ts +17 -0
  308. package/es/icons/URL/20.js +15 -0
  309. package/es/icons/URL/24.d.ts +17 -0
  310. package/es/icons/URL/24.js +15 -0
  311. package/es/icons/URL/32.d.ts +17 -0
  312. package/es/icons/URL/32.js +15 -0
  313. package/es/icons/add--large/16.d.ts +17 -0
  314. package/es/icons/add--large/16.js +15 -0
  315. package/es/icons/add--large/20.d.ts +17 -0
  316. package/es/icons/add--large/20.js +15 -0
  317. package/es/icons/add--large/24.d.ts +17 -0
  318. package/es/icons/add--large/24.js +15 -0
  319. package/es/icons/add--large/32.d.ts +17 -0
  320. package/es/icons/add--large/32.js +15 -0
  321. package/es/icons/ai-governance--lifecycle/16.d.ts +17 -0
  322. package/es/icons/ai-governance--lifecycle/16.js +15 -0
  323. package/es/icons/ai-governance--lifecycle/20.d.ts +17 -0
  324. package/es/icons/ai-governance--lifecycle/20.js +15 -0
  325. package/es/icons/ai-governance--lifecycle/24.d.ts +17 -0
  326. package/es/icons/ai-governance--lifecycle/24.js +15 -0
  327. package/es/icons/ai-governance--lifecycle/32.d.ts +17 -0
  328. package/es/icons/ai-governance--lifecycle/32.js +15 -0
  329. package/es/icons/ai-governance--tracked/16.d.ts +17 -0
  330. package/es/icons/ai-governance--tracked/16.js +15 -0
  331. package/es/icons/ai-governance--tracked/20.d.ts +17 -0
  332. package/es/icons/ai-governance--tracked/20.js +15 -0
  333. package/es/icons/ai-governance--tracked/24.d.ts +17 -0
  334. package/es/icons/ai-governance--tracked/24.js +15 -0
  335. package/es/icons/ai-governance--tracked/32.d.ts +17 -0
  336. package/es/icons/ai-governance--tracked/32.js +15 -0
  337. package/es/icons/ai-governance--untracked/16.d.ts +17 -0
  338. package/es/icons/ai-governance--untracked/16.js +15 -0
  339. package/es/icons/ai-governance--untracked/20.d.ts +17 -0
  340. package/es/icons/ai-governance--untracked/20.js +15 -0
  341. package/es/icons/ai-governance--untracked/24.d.ts +17 -0
  342. package/es/icons/ai-governance--untracked/24.js +15 -0
  343. package/es/icons/ai-governance--untracked/32.d.ts +17 -0
  344. package/es/icons/ai-governance--untracked/32.js +15 -0
  345. package/es/icons/app-switcher/16.d.ts +17 -0
  346. package/es/icons/app-switcher/16.js +15 -0
  347. package/es/icons/app-switcher/20.d.ts +17 -0
  348. package/es/icons/app-switcher/20.js +15 -0
  349. package/es/icons/app-switcher/24.d.ts +17 -0
  350. package/es/icons/app-switcher/24.js +15 -0
  351. package/es/icons/app-switcher/32.d.ts +17 -0
  352. package/es/icons/app-switcher/32.js +15 -0
  353. package/es/icons/arithmetic-mean/16.d.ts +17 -0
  354. package/es/icons/arithmetic-mean/16.js +15 -0
  355. package/es/icons/arithmetic-mean/20.d.ts +17 -0
  356. package/es/icons/arithmetic-mean/20.js +15 -0
  357. package/es/icons/arithmetic-mean/24.d.ts +17 -0
  358. package/es/icons/arithmetic-mean/24.js +15 -0
  359. package/es/icons/arithmetic-mean/32.d.ts +17 -0
  360. package/es/icons/arithmetic-mean/32.js +15 -0
  361. package/es/icons/arithmetic-median/16.d.ts +17 -0
  362. package/es/icons/arithmetic-median/16.js +15 -0
  363. package/es/icons/arithmetic-median/20.d.ts +17 -0
  364. package/es/icons/arithmetic-median/20.js +15 -0
  365. package/es/icons/arithmetic-median/24.d.ts +17 -0
  366. package/es/icons/arithmetic-median/24.js +15 -0
  367. package/es/icons/arithmetic-median/32.d.ts +17 -0
  368. package/es/icons/arithmetic-median/32.js +15 -0
  369. package/es/icons/arrows/16.d.ts +17 -0
  370. package/es/icons/arrows/16.js +15 -0
  371. package/es/icons/arrows/20.d.ts +17 -0
  372. package/es/icons/arrows/20.js +15 -0
  373. package/es/icons/arrows/24.d.ts +17 -0
  374. package/es/icons/arrows/24.js +15 -0
  375. package/es/icons/arrows/32.d.ts +17 -0
  376. package/es/icons/arrows/32.js +15 -0
  377. package/es/icons/async/16.d.ts +17 -0
  378. package/es/icons/async/16.js +15 -0
  379. package/es/icons/async/20.d.ts +17 -0
  380. package/es/icons/async/20.js +15 -0
  381. package/es/icons/async/24.d.ts +17 -0
  382. package/es/icons/async/24.js +15 -0
  383. package/es/icons/async/32.d.ts +17 -0
  384. package/es/icons/async/32.js +15 -0
  385. package/es/icons/back-to-top/16.d.ts +17 -0
  386. package/es/icons/back-to-top/16.js +15 -0
  387. package/es/icons/back-to-top/20.d.ts +17 -0
  388. package/es/icons/back-to-top/20.js +15 -0
  389. package/es/icons/back-to-top/24.d.ts +17 -0
  390. package/es/icons/back-to-top/24.js +15 -0
  391. package/es/icons/back-to-top/32.d.ts +17 -0
  392. package/es/icons/back-to-top/32.js +15 -0
  393. package/es/icons/business-processes/16.d.ts +17 -0
  394. package/es/icons/business-processes/16.js +15 -0
  395. package/es/icons/business-processes/20.d.ts +17 -0
  396. package/es/icons/business-processes/20.js +15 -0
  397. package/es/icons/business-processes/24.d.ts +17 -0
  398. package/es/icons/business-processes/24.js +15 -0
  399. package/es/icons/business-processes/32.d.ts +17 -0
  400. package/es/icons/business-processes/32.js +15 -0
  401. package/es/icons/calls/16.d.ts +17 -0
  402. package/es/icons/calls/16.js +15 -0
  403. package/es/icons/calls/20.d.ts +17 -0
  404. package/es/icons/calls/20.js +15 -0
  405. package/es/icons/calls/24.d.ts +17 -0
  406. package/es/icons/calls/24.js +15 -0
  407. package/es/icons/calls/32.d.ts +17 -0
  408. package/es/icons/calls/32.js +15 -0
  409. package/es/icons/calls--all/16.d.ts +17 -0
  410. package/es/icons/calls--all/16.js +15 -0
  411. package/es/icons/calls--all/20.d.ts +17 -0
  412. package/es/icons/calls--all/20.js +15 -0
  413. package/es/icons/calls--all/24.d.ts +17 -0
  414. package/es/icons/calls--all/24.js +15 -0
  415. package/es/icons/calls--all/32.d.ts +17 -0
  416. package/es/icons/calls--all/32.js +15 -0
  417. package/es/icons/calls--incoming/16.d.ts +17 -0
  418. package/es/icons/calls--incoming/16.js +15 -0
  419. package/es/icons/calls--incoming/20.d.ts +17 -0
  420. package/es/icons/calls--incoming/20.js +15 -0
  421. package/es/icons/calls--incoming/24.d.ts +17 -0
  422. package/es/icons/calls--incoming/24.js +15 -0
  423. package/es/icons/calls--incoming/32.d.ts +17 -0
  424. package/es/icons/calls--incoming/32.js +15 -0
  425. package/es/icons/carbon-for-mobile/16.d.ts +17 -0
  426. package/es/icons/carbon-for-mobile/16.js +15 -0
  427. package/es/icons/carbon-for-mobile/20.d.ts +17 -0
  428. package/es/icons/carbon-for-mobile/20.js +15 -0
  429. package/es/icons/carbon-for-mobile/24.d.ts +17 -0
  430. package/es/icons/carbon-for-mobile/24.js +15 -0
  431. package/es/icons/carbon-for-mobile/32.d.ts +17 -0
  432. package/es/icons/carbon-for-mobile/32.js +15 -0
  433. package/es/icons/chart--dual-y-axis/16.d.ts +17 -0
  434. package/es/icons/chart--dual-y-axis/16.js +15 -0
  435. package/es/icons/chart--dual-y-axis/20.d.ts +17 -0
  436. package/es/icons/chart--dual-y-axis/20.js +15 -0
  437. package/es/icons/chart--dual-y-axis/24.d.ts +17 -0
  438. package/es/icons/chart--dual-y-axis/24.js +15 -0
  439. package/es/icons/chart--dual-y-axis/32.d.ts +17 -0
  440. package/es/icons/chart--dual-y-axis/32.js +15 -0
  441. package/es/icons/chart--planning-waterfall/16.d.ts +17 -0
  442. package/es/icons/chart--planning-waterfall/16.js +15 -0
  443. package/es/icons/chart--planning-waterfall/20.d.ts +17 -0
  444. package/es/icons/chart--planning-waterfall/20.js +15 -0
  445. package/es/icons/chart--planning-waterfall/24.d.ts +17 -0
  446. package/es/icons/chart--planning-waterfall/24.js +15 -0
  447. package/es/icons/chart--planning-waterfall/32.d.ts +17 -0
  448. package/es/icons/chart--planning-waterfall/32.js +15 -0
  449. package/es/icons/checkbox--undeterminate/16.d.ts +17 -0
  450. package/es/icons/checkbox--undeterminate/16.js +15 -0
  451. package/es/icons/checkbox--undeterminate/20.d.ts +17 -0
  452. package/es/icons/checkbox--undeterminate/20.js +15 -0
  453. package/es/icons/checkbox--undeterminate/24.d.ts +17 -0
  454. package/es/icons/checkbox--undeterminate/24.js +15 -0
  455. package/es/icons/checkbox--undeterminate/32.d.ts +17 -0
  456. package/es/icons/checkbox--undeterminate/32.js +15 -0
  457. package/es/icons/checkbox--undeterminate--filled/16.d.ts +17 -0
  458. package/es/icons/checkbox--undeterminate--filled/16.js +15 -0
  459. package/es/icons/checkbox--undeterminate--filled/20.d.ts +17 -0
  460. package/es/icons/checkbox--undeterminate--filled/20.js +15 -0
  461. package/es/icons/checkbox--undeterminate--filled/24.d.ts +17 -0
  462. package/es/icons/checkbox--undeterminate--filled/24.js +15 -0
  463. package/es/icons/checkbox--undeterminate--filled/32.d.ts +17 -0
  464. package/es/icons/checkbox--undeterminate--filled/32.js +15 -0
  465. package/es/icons/chevron--down--outline/16.d.ts +17 -0
  466. package/es/icons/chevron--down--outline/16.js +15 -0
  467. package/es/icons/chevron--down--outline/20.d.ts +17 -0
  468. package/es/icons/chevron--down--outline/20.js +15 -0
  469. package/es/icons/chevron--down--outline/24.d.ts +17 -0
  470. package/es/icons/chevron--down--outline/24.js +15 -0
  471. package/es/icons/chevron--down--outline/32.d.ts +17 -0
  472. package/es/icons/chevron--down--outline/32.js +15 -0
  473. package/es/icons/chevron--up--outline/16.d.ts +17 -0
  474. package/es/icons/chevron--up--outline/16.js +15 -0
  475. package/es/icons/chevron--up--outline/20.d.ts +17 -0
  476. package/es/icons/chevron--up--outline/20.js +15 -0
  477. package/es/icons/chevron--up--outline/24.d.ts +17 -0
  478. package/es/icons/chevron--up--outline/24.js +15 -0
  479. package/es/icons/chevron--up--outline/32.d.ts +17 -0
  480. package/es/icons/chevron--up--outline/32.js +15 -0
  481. package/es/icons/close/16.js +1 -1
  482. package/es/icons/close/20.js +1 -1
  483. package/es/icons/close/24.js +1 -1
  484. package/es/icons/close/32.js +1 -1
  485. package/es/icons/close--large/16.d.ts +17 -0
  486. package/es/icons/close--large/16.js +15 -0
  487. package/es/icons/close--large/20.d.ts +17 -0
  488. package/es/icons/close--large/20.js +15 -0
  489. package/es/icons/close--large/24.d.ts +17 -0
  490. package/es/icons/close--large/24.js +15 -0
  491. package/es/icons/close--large/32.d.ts +17 -0
  492. package/es/icons/close--large/32.js +15 -0
  493. package/es/icons/cloud--lightning/16.d.ts +17 -0
  494. package/es/icons/cloud--lightning/16.js +15 -0
  495. package/es/icons/cloud--lightning/20.d.ts +17 -0
  496. package/es/icons/cloud--lightning/20.js +15 -0
  497. package/es/icons/cloud--lightning/24.d.ts +17 -0
  498. package/es/icons/cloud--lightning/24.js +15 -0
  499. package/es/icons/cloud--lightning/32.d.ts +17 -0
  500. package/es/icons/cloud--lightning/32.js +15 -0
  501. package/es/icons/cloud--rain/16.d.ts +17 -0
  502. package/es/icons/cloud--rain/16.js +15 -0
  503. package/es/icons/cloud--rain/20.d.ts +17 -0
  504. package/es/icons/cloud--rain/20.js +15 -0
  505. package/es/icons/cloud--rain/24.d.ts +17 -0
  506. package/es/icons/cloud--rain/24.js +15 -0
  507. package/es/icons/cloud--rain/32.d.ts +17 -0
  508. package/es/icons/cloud--rain/32.js +15 -0
  509. package/es/icons/cloud--snow/16.d.ts +17 -0
  510. package/es/icons/cloud--snow/16.js +15 -0
  511. package/es/icons/cloud--snow/20.d.ts +17 -0
  512. package/es/icons/cloud--snow/20.js +15 -0
  513. package/es/icons/cloud--snow/24.d.ts +17 -0
  514. package/es/icons/cloud--snow/24.js +15 -0
  515. package/es/icons/cloud--snow/32.d.ts +17 -0
  516. package/es/icons/cloud--snow/32.js +15 -0
  517. package/es/icons/customer/16.d.ts +17 -0
  518. package/es/icons/customer/16.js +15 -0
  519. package/es/icons/customer/20.d.ts +17 -0
  520. package/es/icons/customer/20.js +15 -0
  521. package/es/icons/customer/24.d.ts +17 -0
  522. package/es/icons/customer/24.js +15 -0
  523. package/es/icons/customer/32.d.ts +17 -0
  524. package/es/icons/customer/32.js +15 -0
  525. package/es/icons/data--reference/16.js +1 -1
  526. package/es/icons/data--reference/20.js +1 -1
  527. package/es/icons/data--reference/24.js +1 -1
  528. package/es/icons/data--reference/32.js +1 -1
  529. package/es/icons/data--set/16.js +1 -1
  530. package/es/icons/data--set/20.js +1 -1
  531. package/es/icons/data--set/24.js +1 -1
  532. package/es/icons/data--set/32.js +1 -1
  533. package/es/icons/data--unreal/16.d.ts +17 -0
  534. package/es/icons/data--unreal/16.js +15 -0
  535. package/es/icons/data--unreal/20.d.ts +17 -0
  536. package/es/icons/data--unreal/20.js +15 -0
  537. package/es/icons/data--unreal/24.d.ts +17 -0
  538. package/es/icons/data--unreal/24.js +15 -0
  539. package/es/icons/data--unreal/32.d.ts +17 -0
  540. package/es/icons/data--unreal/32.js +15 -0
  541. package/es/icons/data-analytics/16.d.ts +17 -0
  542. package/es/icons/data-analytics/16.js +15 -0
  543. package/es/icons/data-analytics/20.d.ts +17 -0
  544. package/es/icons/data-analytics/20.js +15 -0
  545. package/es/icons/data-analytics/24.d.ts +17 -0
  546. package/es/icons/data-analytics/24.js +15 -0
  547. package/es/icons/data-analytics/32.d.ts +17 -0
  548. package/es/icons/data-analytics/32.js +15 -0
  549. package/es/icons/database--enterprisedb/16.d.ts +17 -0
  550. package/es/icons/database--enterprisedb/16.js +15 -0
  551. package/es/icons/database--enterprisedb/20.d.ts +17 -0
  552. package/es/icons/database--enterprisedb/20.js +15 -0
  553. package/es/icons/database--enterprisedb/24.d.ts +17 -0
  554. package/es/icons/database--enterprisedb/24.js +15 -0
  555. package/es/icons/database--enterprisedb/32.d.ts +17 -0
  556. package/es/icons/database--enterprisedb/32.js +15 -0
  557. package/es/icons/database--messaging/16.d.ts +17 -0
  558. package/es/icons/database--messaging/16.js +15 -0
  559. package/es/icons/database--messaging/20.d.ts +17 -0
  560. package/es/icons/database--messaging/20.js +15 -0
  561. package/es/icons/database--messaging/24.d.ts +17 -0
  562. package/es/icons/database--messaging/24.js +15 -0
  563. package/es/icons/database--messaging/32.d.ts +17 -0
  564. package/es/icons/database--messaging/32.js +15 -0
  565. package/es/icons/delete/16.d.ts +17 -0
  566. package/es/icons/delete/16.js +15 -0
  567. package/es/icons/delete/20.d.ts +17 -0
  568. package/es/icons/delete/20.js +15 -0
  569. package/es/icons/delete/24.d.ts +17 -0
  570. package/es/icons/delete/24.js +15 -0
  571. package/es/icons/delete/32.d.ts +17 -0
  572. package/es/icons/delete/32.js +15 -0
  573. package/es/icons/demo/16.d.ts +17 -0
  574. package/es/icons/demo/16.js +15 -0
  575. package/es/icons/demo/20.d.ts +17 -0
  576. package/es/icons/demo/20.js +15 -0
  577. package/es/icons/demo/24.d.ts +17 -0
  578. package/es/icons/demo/24.js +15 -0
  579. package/es/icons/demo/32.d.ts +17 -0
  580. package/es/icons/demo/32.js +15 -0
  581. package/es/icons/devices--apps/16.d.ts +17 -0
  582. package/es/icons/devices--apps/16.js +15 -0
  583. package/es/icons/devices--apps/20.d.ts +17 -0
  584. package/es/icons/devices--apps/20.js +15 -0
  585. package/es/icons/devices--apps/24.d.ts +17 -0
  586. package/es/icons/devices--apps/24.js +15 -0
  587. package/es/icons/devices--apps/32.d.ts +17 -0
  588. package/es/icons/devices--apps/32.js +15 -0
  589. package/es/icons/downstream/16.d.ts +17 -0
  590. package/es/icons/downstream/16.js +15 -0
  591. package/es/icons/downstream/20.d.ts +17 -0
  592. package/es/icons/downstream/20.js +15 -0
  593. package/es/icons/downstream/24.d.ts +17 -0
  594. package/es/icons/downstream/24.js +15 -0
  595. package/es/icons/downstream/32.d.ts +17 -0
  596. package/es/icons/downstream/32.js +15 -0
  597. package/es/icons/equal--approximately/16.d.ts +17 -0
  598. package/es/icons/equal--approximately/16.js +15 -0
  599. package/es/icons/equal--approximately/20.d.ts +17 -0
  600. package/es/icons/equal--approximately/20.js +15 -0
  601. package/es/icons/equal--approximately/24.d.ts +17 -0
  602. package/es/icons/equal--approximately/24.js +15 -0
  603. package/es/icons/equal--approximately/32.d.ts +17 -0
  604. package/es/icons/equal--approximately/32.js +15 -0
  605. package/es/icons/event--change/16.d.ts +17 -0
  606. package/es/icons/event--change/16.js +15 -0
  607. package/es/icons/event--change/20.d.ts +17 -0
  608. package/es/icons/event--change/20.js +15 -0
  609. package/es/icons/event--change/24.d.ts +17 -0
  610. package/es/icons/event--change/24.js +15 -0
  611. package/es/icons/event--change/32.d.ts +17 -0
  612. package/es/icons/event--change/32.js +15 -0
  613. package/es/icons/event--incident/16.d.ts +17 -0
  614. package/es/icons/event--incident/16.js +15 -0
  615. package/es/icons/event--incident/20.d.ts +17 -0
  616. package/es/icons/event--incident/20.js +15 -0
  617. package/es/icons/event--incident/24.d.ts +17 -0
  618. package/es/icons/event--incident/24.js +15 -0
  619. package/es/icons/event--incident/32.d.ts +17 -0
  620. package/es/icons/event--incident/32.js +15 -0
  621. package/es/icons/event--warning/16.d.ts +17 -0
  622. package/es/icons/event--warning/16.js +15 -0
  623. package/es/icons/event--warning/20.d.ts +17 -0
  624. package/es/icons/event--warning/20.js +15 -0
  625. package/es/icons/event--warning/24.d.ts +17 -0
  626. package/es/icons/event--warning/24.js +15 -0
  627. package/es/icons/event--warning/32.d.ts +17 -0
  628. package/es/icons/event--warning/32.js +15 -0
  629. package/es/icons/foundation-model/16.d.ts +17 -0
  630. package/es/icons/foundation-model/16.js +15 -0
  631. package/es/icons/foundation-model/20.d.ts +17 -0
  632. package/es/icons/foundation-model/20.js +15 -0
  633. package/es/icons/foundation-model/24.d.ts +17 -0
  634. package/es/icons/foundation-model/24.js +15 -0
  635. package/es/icons/foundation-model/32.d.ts +17 -0
  636. package/es/icons/foundation-model/32.js +15 -0
  637. package/es/icons/global-loan-and-trial/16.d.ts +17 -0
  638. package/es/icons/global-loan-and-trial/16.js +15 -0
  639. package/es/icons/global-loan-and-trial/20.d.ts +17 -0
  640. package/es/icons/global-loan-and-trial/20.js +15 -0
  641. package/es/icons/global-loan-and-trial/24.d.ts +17 -0
  642. package/es/icons/global-loan-and-trial/24.js +15 -0
  643. package/es/icons/global-loan-and-trial/32.d.ts +17 -0
  644. package/es/icons/global-loan-and-trial/32.js +15 -0
  645. package/es/icons/glyph--caution/index.d.ts +17 -0
  646. package/es/icons/glyph--caution/index.js +15 -0
  647. package/es/icons/glyph--caution-inverted/index.d.ts +17 -0
  648. package/es/icons/glyph--caution-inverted/index.js +15 -0
  649. package/es/icons/glyph--circle-fill/index.d.ts +17 -0
  650. package/es/icons/glyph--circle-fill/index.js +15 -0
  651. package/es/icons/glyph--circle-stroke/index.d.ts +17 -0
  652. package/es/icons/glyph--circle-stroke/index.js +15 -0
  653. package/es/icons/glyph--critical/index.d.ts +17 -0
  654. package/es/icons/glyph--critical/index.js +15 -0
  655. package/es/icons/glyph--incomplete/index.d.ts +17 -0
  656. package/es/icons/glyph--incomplete/index.js +15 -0
  657. package/es/icons/glyph--square-fill/index.d.ts +17 -0
  658. package/es/icons/glyph--square-fill/index.js +15 -0
  659. package/es/icons/glyph--undefined/index.d.ts +17 -0
  660. package/es/icons/glyph--undefined/index.js +15 -0
  661. package/es/icons/ibm--ai-on-z/16.d.ts +17 -0
  662. package/es/icons/ibm--ai-on-z/16.js +15 -0
  663. package/es/icons/ibm--ai-on-z/20.d.ts +17 -0
  664. package/es/icons/ibm--ai-on-z/20.js +15 -0
  665. package/es/icons/ibm--ai-on-z/24.d.ts +17 -0
  666. package/es/icons/ibm--ai-on-z/24.js +15 -0
  667. package/es/icons/ibm--ai-on-z/32.d.ts +17 -0
  668. package/es/icons/ibm--ai-on-z/32.js +15 -0
  669. package/es/icons/ibm--aiops-insights/16.d.ts +17 -0
  670. package/es/icons/ibm--aiops-insights/16.js +15 -0
  671. package/es/icons/ibm--aiops-insights/20.d.ts +17 -0
  672. package/es/icons/ibm--aiops-insights/20.js +15 -0
  673. package/es/icons/ibm--aiops-insights/24.d.ts +17 -0
  674. package/es/icons/ibm--aiops-insights/24.js +15 -0
  675. package/es/icons/ibm--aiops-insights/32.d.ts +17 -0
  676. package/es/icons/ibm--aiops-insights/32.js +15 -0
  677. package/es/icons/ibm--cloudant/16.d.ts +17 -0
  678. package/es/icons/ibm--cloudant/16.js +15 -0
  679. package/es/icons/ibm--cloudant/20.d.ts +17 -0
  680. package/es/icons/ibm--cloudant/20.js +15 -0
  681. package/es/icons/ibm--cloudant/24.d.ts +17 -0
  682. package/es/icons/ibm--cloudant/24.js +15 -0
  683. package/es/icons/ibm--cloudant/32.d.ts +17 -0
  684. package/es/icons/ibm--cloudant/32.js +15 -0
  685. package/es/icons/ibm--data-product-exchange/16.d.ts +17 -0
  686. package/es/icons/ibm--data-product-exchange/16.js +15 -0
  687. package/es/icons/ibm--data-product-exchange/20.d.ts +17 -0
  688. package/es/icons/ibm--data-product-exchange/20.js +15 -0
  689. package/es/icons/ibm--data-product-exchange/24.d.ts +17 -0
  690. package/es/icons/ibm--data-product-exchange/24.js +15 -0
  691. package/es/icons/ibm--data-product-exchange/32.d.ts +17 -0
  692. package/es/icons/ibm--data-product-exchange/32.js +15 -0
  693. package/es/icons/ibm--db2/16.js +1 -1
  694. package/es/icons/ibm--db2/20.js +1 -1
  695. package/es/icons/ibm--db2/24.js +1 -1
  696. package/es/icons/ibm--db2/32.js +1 -1
  697. package/es/icons/ibm--db2-warehouse/16.d.ts +17 -0
  698. package/es/icons/ibm--db2-warehouse/16.js +15 -0
  699. package/es/icons/ibm--db2-warehouse/20.d.ts +17 -0
  700. package/es/icons/ibm--db2-warehouse/20.js +15 -0
  701. package/es/icons/ibm--db2-warehouse/24.d.ts +17 -0
  702. package/es/icons/ibm--db2-warehouse/24.js +15 -0
  703. package/es/icons/ibm--db2-warehouse/32.d.ts +17 -0
  704. package/es/icons/ibm--db2-warehouse/32.js +15 -0
  705. package/es/icons/ibm--dynamic-route-server/16.d.ts +17 -0
  706. package/es/icons/ibm--dynamic-route-server/16.js +15 -0
  707. package/es/icons/ibm--dynamic-route-server/20.d.ts +17 -0
  708. package/es/icons/ibm--dynamic-route-server/20.js +15 -0
  709. package/es/icons/ibm--dynamic-route-server/24.d.ts +17 -0
  710. package/es/icons/ibm--dynamic-route-server/24.js +15 -0
  711. package/es/icons/ibm--dynamic-route-server/32.d.ts +17 -0
  712. package/es/icons/ibm--dynamic-route-server/32.js +15 -0
  713. package/es/icons/ibm--engineering-systems-design-rhapsody-model-manager/16.d.ts +17 -0
  714. package/es/icons/ibm--engineering-systems-design-rhapsody-model-manager/16.js +15 -0
  715. package/es/icons/ibm--engineering-systems-design-rhapsody-model-manager/20.d.ts +17 -0
  716. package/es/icons/ibm--engineering-systems-design-rhapsody-model-manager/20.js +15 -0
  717. package/es/icons/ibm--engineering-systems-design-rhapsody-model-manager/24.d.ts +17 -0
  718. package/es/icons/ibm--engineering-systems-design-rhapsody-model-manager/24.js +15 -0
  719. package/es/icons/ibm--engineering-systems-design-rhapsody-model-manager/32.d.ts +17 -0
  720. package/es/icons/ibm--engineering-systems-design-rhapsody-model-manager/32.js +15 -0
  721. package/es/icons/ibm--engineering-systems-design-rhapsody-sn1/16.d.ts +17 -0
  722. package/es/icons/ibm--engineering-systems-design-rhapsody-sn1/16.js +15 -0
  723. package/es/icons/ibm--engineering-systems-design-rhapsody-sn1/20.d.ts +17 -0
  724. package/es/icons/ibm--engineering-systems-design-rhapsody-sn1/20.js +15 -0
  725. package/es/icons/ibm--engineering-systems-design-rhapsody-sn1/24.d.ts +17 -0
  726. package/es/icons/ibm--engineering-systems-design-rhapsody-sn1/24.js +15 -0
  727. package/es/icons/ibm--engineering-systems-design-rhapsody-sn1/32.d.ts +17 -0
  728. package/es/icons/ibm--engineering-systems-design-rhapsody-sn1/32.js +15 -0
  729. package/es/icons/ibm--engineering-systems-design-rhapsody-sn2/16.d.ts +17 -0
  730. package/es/icons/ibm--engineering-systems-design-rhapsody-sn2/16.js +15 -0
  731. package/es/icons/ibm--engineering-systems-design-rhapsody-sn2/20.d.ts +17 -0
  732. package/es/icons/ibm--engineering-systems-design-rhapsody-sn2/20.js +15 -0
  733. package/es/icons/ibm--engineering-systems-design-rhapsody-sn2/24.d.ts +17 -0
  734. package/es/icons/ibm--engineering-systems-design-rhapsody-sn2/24.js +15 -0
  735. package/es/icons/ibm--engineering-systems-design-rhapsody-sn2/32.d.ts +17 -0
  736. package/es/icons/ibm--engineering-systems-design-rhapsody-sn2/32.js +15 -0
  737. package/es/icons/ibm--event-automation/16.d.ts +17 -0
  738. package/es/icons/ibm--event-automation/16.js +15 -0
  739. package/es/icons/ibm--event-automation/20.d.ts +17 -0
  740. package/es/icons/ibm--event-automation/20.js +15 -0
  741. package/es/icons/ibm--event-automation/24.d.ts +17 -0
  742. package/es/icons/ibm--event-automation/24.js +15 -0
  743. package/es/icons/ibm--event-automation/32.d.ts +17 -0
  744. package/es/icons/ibm--event-automation/32.js +15 -0
  745. package/es/icons/ibm--event-endpoint-mgmt/16.d.ts +17 -0
  746. package/es/icons/ibm--event-endpoint-mgmt/16.js +15 -0
  747. package/es/icons/ibm--event-endpoint-mgmt/20.d.ts +17 -0
  748. package/es/icons/ibm--event-endpoint-mgmt/20.js +15 -0
  749. package/es/icons/ibm--event-endpoint-mgmt/24.d.ts +17 -0
  750. package/es/icons/ibm--event-endpoint-mgmt/24.js +15 -0
  751. package/es/icons/ibm--event-endpoint-mgmt/32.d.ts +17 -0
  752. package/es/icons/ibm--event-endpoint-mgmt/32.js +15 -0
  753. package/es/icons/ibm--event-processing/16.d.ts +17 -0
  754. package/es/icons/ibm--event-processing/16.js +15 -0
  755. package/es/icons/ibm--event-processing/20.d.ts +17 -0
  756. package/es/icons/ibm--event-processing/20.js +15 -0
  757. package/es/icons/ibm--event-processing/24.d.ts +17 -0
  758. package/es/icons/ibm--event-processing/24.js +15 -0
  759. package/es/icons/ibm--event-processing/32.d.ts +17 -0
  760. package/es/icons/ibm--event-processing/32.js +15 -0
  761. package/es/icons/ibm--event-streams/16.d.ts +17 -0
  762. package/es/icons/ibm--event-streams/16.js +15 -0
  763. package/es/icons/ibm--event-streams/20.d.ts +17 -0
  764. package/es/icons/ibm--event-streams/20.js +15 -0
  765. package/es/icons/ibm--event-streams/24.d.ts +17 -0
  766. package/es/icons/ibm--event-streams/24.js +15 -0
  767. package/es/icons/ibm--event-streams/32.d.ts +17 -0
  768. package/es/icons/ibm--event-streams/32.js +15 -0
  769. package/es/icons/ibm--ibv/16.d.ts +17 -0
  770. package/es/icons/ibm--ibv/16.js +15 -0
  771. package/es/icons/ibm--ibv/20.d.ts +17 -0
  772. package/es/icons/ibm--ibv/20.js +15 -0
  773. package/es/icons/ibm--ibv/24.d.ts +17 -0
  774. package/es/icons/ibm--ibv/24.js +15 -0
  775. package/es/icons/ibm--ibv/32.d.ts +17 -0
  776. package/es/icons/ibm--ibv/32.js +15 -0
  777. package/es/icons/ibm--instana/16.d.ts +17 -0
  778. package/es/icons/ibm--instana/16.js +15 -0
  779. package/es/icons/ibm--instana/20.d.ts +17 -0
  780. package/es/icons/ibm--instana/20.js +15 -0
  781. package/es/icons/ibm--instana/24.d.ts +17 -0
  782. package/es/icons/ibm--instana/24.js +15 -0
  783. package/es/icons/ibm--instana/32.d.ts +17 -0
  784. package/es/icons/ibm--instana/32.js +15 -0
  785. package/es/icons/ibm--power-vs-private-cloud/16.d.ts +17 -0
  786. package/es/icons/ibm--power-vs-private-cloud/16.js +15 -0
  787. package/es/icons/ibm--power-vs-private-cloud/20.d.ts +17 -0
  788. package/es/icons/ibm--power-vs-private-cloud/20.js +15 -0
  789. package/es/icons/ibm--power-vs-private-cloud/24.d.ts +17 -0
  790. package/es/icons/ibm--power-vs-private-cloud/24.js +15 -0
  791. package/es/icons/ibm--power-vs-private-cloud/32.d.ts +17 -0
  792. package/es/icons/ibm--power-vs-private-cloud/32.js +15 -0
  793. package/es/icons/ibm--saas-console/16.d.ts +17 -0
  794. package/es/icons/ibm--saas-console/16.js +15 -0
  795. package/es/icons/ibm--saas-console/20.d.ts +17 -0
  796. package/es/icons/ibm--saas-console/20.js +15 -0
  797. package/es/icons/ibm--saas-console/24.d.ts +17 -0
  798. package/es/icons/ibm--saas-console/24.js +15 -0
  799. package/es/icons/ibm--saas-console/32.d.ts +17 -0
  800. package/es/icons/ibm--saas-console/32.js +15 -0
  801. package/es/icons/ibm--turbonomic/16.d.ts +17 -0
  802. package/es/icons/ibm--turbonomic/16.js +15 -0
  803. package/es/icons/ibm--turbonomic/20.d.ts +17 -0
  804. package/es/icons/ibm--turbonomic/20.js +15 -0
  805. package/es/icons/ibm--turbonomic/24.d.ts +17 -0
  806. package/es/icons/ibm--turbonomic/24.js +15 -0
  807. package/es/icons/ibm--turbonomic/32.d.ts +17 -0
  808. package/es/icons/ibm--turbonomic/32.js +15 -0
  809. package/es/icons/ibm--vpn-for-vpc/16.d.ts +17 -0
  810. package/es/icons/ibm--vpn-for-vpc/16.js +15 -0
  811. package/es/icons/ibm--vpn-for-vpc/20.d.ts +17 -0
  812. package/es/icons/ibm--vpn-for-vpc/20.js +15 -0
  813. package/es/icons/ibm--vpn-for-vpc/24.d.ts +17 -0
  814. package/es/icons/ibm--vpn-for-vpc/24.js +15 -0
  815. package/es/icons/ibm--vpn-for-vpc/32.d.ts +17 -0
  816. package/es/icons/ibm--vpn-for-vpc/32.js +15 -0
  817. package/es/icons/ibm--wazi-deploy/16.d.ts +17 -0
  818. package/es/icons/ibm--wazi-deploy/16.js +15 -0
  819. package/es/icons/ibm--wazi-deploy/20.d.ts +17 -0
  820. package/es/icons/ibm--wazi-deploy/20.js +15 -0
  821. package/es/icons/ibm--wazi-deploy/24.d.ts +17 -0
  822. package/es/icons/ibm--wazi-deploy/24.js +15 -0
  823. package/es/icons/ibm--wazi-deploy/32.d.ts +17 -0
  824. package/es/icons/ibm--wazi-deploy/32.js +15 -0
  825. package/es/icons/ibm-cloud--bare-metal-server/16.d.ts +17 -0
  826. package/es/icons/ibm-cloud--bare-metal-server/16.js +15 -0
  827. package/es/icons/ibm-cloud--bare-metal-server/20.d.ts +17 -0
  828. package/es/icons/ibm-cloud--bare-metal-server/20.js +15 -0
  829. package/es/icons/ibm-cloud--bare-metal-server/24.d.ts +17 -0
  830. package/es/icons/ibm-cloud--bare-metal-server/24.js +15 -0
  831. package/es/icons/ibm-cloud--bare-metal-server/32.d.ts +17 -0
  832. package/es/icons/ibm-cloud--bare-metal-server/32.js +15 -0
  833. package/es/icons/ibm-cloud--bare-metal-servers-vpc/16.d.ts +17 -0
  834. package/es/icons/ibm-cloud--bare-metal-servers-vpc/16.js +15 -0
  835. package/es/icons/ibm-cloud--bare-metal-servers-vpc/20.d.ts +17 -0
  836. package/es/icons/ibm-cloud--bare-metal-servers-vpc/20.js +15 -0
  837. package/es/icons/ibm-cloud--bare-metal-servers-vpc/24.d.ts +17 -0
  838. package/es/icons/ibm-cloud--bare-metal-servers-vpc/24.js +15 -0
  839. package/es/icons/ibm-cloud--bare-metal-servers-vpc/32.d.ts +17 -0
  840. package/es/icons/ibm-cloud--bare-metal-servers-vpc/32.js +15 -0
  841. package/es/icons/ibm-cloud--hpc/16.d.ts +17 -0
  842. package/es/icons/ibm-cloud--hpc/16.js +15 -0
  843. package/es/icons/ibm-cloud--hpc/20.d.ts +17 -0
  844. package/es/icons/ibm-cloud--hpc/20.js +15 -0
  845. package/es/icons/ibm-cloud--hpc/24.d.ts +17 -0
  846. package/es/icons/ibm-cloud--hpc/24.js +15 -0
  847. package/es/icons/ibm-cloud--hpc/32.d.ts +17 -0
  848. package/es/icons/ibm-cloud--hpc/32.js +15 -0
  849. package/es/icons/ibm-cloud--pal/16.js +1 -1
  850. package/es/icons/ibm-cloud--pal/20.js +1 -1
  851. package/es/icons/ibm-cloud--pal/24.js +1 -1
  852. package/es/icons/ibm-cloud--pal/32.js +1 -1
  853. package/es/icons/ibm-cloud--transit-gateway/16.js +1 -1
  854. package/es/icons/ibm-cloud--transit-gateway/20.js +1 -1
  855. package/es/icons/ibm-cloud--transit-gateway/24.js +1 -1
  856. package/es/icons/ibm-cloud--transit-gateway/32.js +1 -1
  857. package/es/icons/ibm-cloud--virtual-server-classic/16.d.ts +17 -0
  858. package/es/icons/ibm-cloud--virtual-server-classic/16.js +15 -0
  859. package/es/icons/ibm-cloud--virtual-server-classic/20.d.ts +17 -0
  860. package/es/icons/ibm-cloud--virtual-server-classic/20.js +15 -0
  861. package/es/icons/ibm-cloud--virtual-server-classic/24.d.ts +17 -0
  862. package/es/icons/ibm-cloud--virtual-server-classic/24.js +15 -0
  863. package/es/icons/ibm-cloud--virtual-server-classic/32.d.ts +17 -0
  864. package/es/icons/ibm-cloud--virtual-server-classic/32.js +15 -0
  865. package/es/icons/ibm-cloud--virtual-server-vpc/16.d.ts +17 -0
  866. package/es/icons/ibm-cloud--virtual-server-vpc/16.js +15 -0
  867. package/es/icons/ibm-cloud--virtual-server-vpc/20.d.ts +17 -0
  868. package/es/icons/ibm-cloud--virtual-server-vpc/20.js +15 -0
  869. package/es/icons/ibm-cloud--virtual-server-vpc/24.d.ts +17 -0
  870. package/es/icons/ibm-cloud--virtual-server-vpc/24.js +15 -0
  871. package/es/icons/ibm-cloud--virtual-server-vpc/32.d.ts +17 -0
  872. package/es/icons/ibm-cloud--virtual-server-vpc/32.js +15 -0
  873. package/es/icons/ibm-cloud--vpc/16.d.ts +17 -0
  874. package/es/icons/ibm-cloud--vpc/16.js +15 -0
  875. package/es/icons/ibm-cloud--vpc/20.d.ts +17 -0
  876. package/es/icons/ibm-cloud--vpc/20.js +15 -0
  877. package/es/icons/ibm-cloud--vpc/24.d.ts +17 -0
  878. package/es/icons/ibm-cloud--vpc/24.js +15 -0
  879. package/es/icons/ibm-cloud--vpc/32.d.ts +17 -0
  880. package/es/icons/ibm-cloud--vpc/32.js +15 -0
  881. package/es/icons/ibm-watsonx--assistant/16.d.ts +17 -0
  882. package/es/icons/ibm-watsonx--assistant/16.js +15 -0
  883. package/es/icons/ibm-watsonx--assistant/20.d.ts +17 -0
  884. package/es/icons/ibm-watsonx--assistant/20.js +15 -0
  885. package/es/icons/ibm-watsonx--assistant/24.d.ts +17 -0
  886. package/es/icons/ibm-watsonx--assistant/24.js +15 -0
  887. package/es/icons/ibm-watsonx--assistant/32.d.ts +17 -0
  888. package/es/icons/ibm-watsonx--assistant/32.js +15 -0
  889. package/es/icons/ibm-watsonx--code-assistant/16.d.ts +17 -0
  890. package/es/icons/ibm-watsonx--code-assistant/16.js +15 -0
  891. package/es/icons/ibm-watsonx--code-assistant/20.d.ts +17 -0
  892. package/es/icons/ibm-watsonx--code-assistant/20.js +15 -0
  893. package/es/icons/ibm-watsonx--code-assistant/24.d.ts +17 -0
  894. package/es/icons/ibm-watsonx--code-assistant/24.js +15 -0
  895. package/es/icons/ibm-watsonx--code-assistant/32.d.ts +17 -0
  896. package/es/icons/ibm-watsonx--code-assistant/32.js +15 -0
  897. package/es/icons/ibm-watsonx--code-assistant-for-z/16.d.ts +17 -0
  898. package/es/icons/ibm-watsonx--code-assistant-for-z/16.js +15 -0
  899. package/es/icons/ibm-watsonx--code-assistant-for-z/20.d.ts +17 -0
  900. package/es/icons/ibm-watsonx--code-assistant-for-z/20.js +15 -0
  901. package/es/icons/ibm-watsonx--code-assistant-for-z/24.d.ts +17 -0
  902. package/es/icons/ibm-watsonx--code-assistant-for-z/24.js +15 -0
  903. package/es/icons/ibm-watsonx--code-assistant-for-z/32.d.ts +17 -0
  904. package/es/icons/ibm-watsonx--code-assistant-for-z/32.js +15 -0
  905. package/es/icons/ibm-watsonx--code-assistant-for-z--refactor/16.d.ts +17 -0
  906. package/es/icons/ibm-watsonx--code-assistant-for-z--refactor/16.js +15 -0
  907. package/es/icons/ibm-watsonx--code-assistant-for-z--refactor/20.d.ts +17 -0
  908. package/es/icons/ibm-watsonx--code-assistant-for-z--refactor/20.js +15 -0
  909. package/es/icons/ibm-watsonx--code-assistant-for-z--refactor/24.d.ts +17 -0
  910. package/es/icons/ibm-watsonx--code-assistant-for-z--refactor/24.js +15 -0
  911. package/es/icons/ibm-watsonx--code-assistant-for-z--refactor/32.d.ts +17 -0
  912. package/es/icons/ibm-watsonx--code-assistant-for-z--refactor/32.js +15 -0
  913. package/es/icons/ibm-watsonx--orchestrate/16.d.ts +17 -0
  914. package/es/icons/ibm-watsonx--orchestrate/16.js +15 -0
  915. package/es/icons/ibm-watsonx--orchestrate/20.d.ts +17 -0
  916. package/es/icons/ibm-watsonx--orchestrate/20.js +15 -0
  917. package/es/icons/ibm-watsonx--orchestrate/24.d.ts +17 -0
  918. package/es/icons/ibm-watsonx--orchestrate/24.js +15 -0
  919. package/es/icons/ibm-watsonx--orchestrate/32.d.ts +17 -0
  920. package/es/icons/ibm-watsonx--orchestrate/32.js +15 -0
  921. package/es/icons/ibm-z--processor-capacity-reference/16.d.ts +17 -0
  922. package/es/icons/ibm-z--processor-capacity-reference/16.js +15 -0
  923. package/es/icons/ibm-z--processor-capacity-reference/20.d.ts +17 -0
  924. package/es/icons/ibm-z--processor-capacity-reference/20.js +15 -0
  925. package/es/icons/ibm-z--processor-capacity-reference/24.d.ts +17 -0
  926. package/es/icons/ibm-z--processor-capacity-reference/24.js +15 -0
  927. package/es/icons/ibm-z--processor-capacity-reference/32.d.ts +17 -0
  928. package/es/icons/ibm-z--processor-capacity-reference/32.js +15 -0
  929. package/es/icons/ibm-z-os/16.d.ts +17 -0
  930. package/es/icons/ibm-z-os/16.js +15 -0
  931. package/es/icons/ibm-z-os/20.d.ts +17 -0
  932. package/es/icons/ibm-z-os/20.js +15 -0
  933. package/es/icons/ibm-z-os/24.d.ts +17 -0
  934. package/es/icons/ibm-z-os/24.js +15 -0
  935. package/es/icons/ibm-z-os/32.d.ts +17 -0
  936. package/es/icons/ibm-z-os/32.js +15 -0
  937. package/es/icons/infinity/16.d.ts +17 -0
  938. package/es/icons/infinity/16.js +15 -0
  939. package/es/icons/infinity/20.d.ts +17 -0
  940. package/es/icons/infinity/20.js +15 -0
  941. package/es/icons/infinity/24.d.ts +17 -0
  942. package/es/icons/infinity/24.js +15 -0
  943. package/es/icons/infinity/32.d.ts +17 -0
  944. package/es/icons/infinity/32.js +15 -0
  945. package/es/icons/js-error/16.d.ts +17 -0
  946. package/es/icons/js-error/16.js +15 -0
  947. package/es/icons/js-error/20.d.ts +17 -0
  948. package/es/icons/js-error/20.js +15 -0
  949. package/es/icons/js-error/24.d.ts +17 -0
  950. package/es/icons/js-error/24.js +15 -0
  951. package/es/icons/js-error/32.d.ts +17 -0
  952. package/es/icons/js-error/32.js +15 -0
  953. package/es/icons/kubernetes--ip-address/16.d.ts +17 -0
  954. package/es/icons/kubernetes--ip-address/16.js +15 -0
  955. package/es/icons/kubernetes--ip-address/20.d.ts +17 -0
  956. package/es/icons/kubernetes--ip-address/20.js +15 -0
  957. package/es/icons/kubernetes--ip-address/24.d.ts +17 -0
  958. package/es/icons/kubernetes--ip-address/24.js +15 -0
  959. package/es/icons/kubernetes--ip-address/32.d.ts +17 -0
  960. package/es/icons/kubernetes--ip-address/32.js +15 -0
  961. package/es/icons/kubernetes--pod/16.d.ts +17 -0
  962. package/es/icons/kubernetes--pod/16.js +15 -0
  963. package/es/icons/kubernetes--pod/20.d.ts +17 -0
  964. package/es/icons/kubernetes--pod/20.js +15 -0
  965. package/es/icons/kubernetes--pod/24.d.ts +17 -0
  966. package/es/icons/kubernetes--pod/24.js +15 -0
  967. package/es/icons/kubernetes--pod/32.d.ts +17 -0
  968. package/es/icons/kubernetes--pod/32.js +15 -0
  969. package/es/icons/letter--Aa--large/16.d.ts +17 -0
  970. package/es/icons/letter--Aa--large/16.js +15 -0
  971. package/es/icons/letter--Aa--large/20.d.ts +17 -0
  972. package/es/icons/letter--Aa--large/20.js +15 -0
  973. package/es/icons/letter--Aa--large/24.d.ts +17 -0
  974. package/es/icons/letter--Aa--large/24.js +15 -0
  975. package/es/icons/letter--Aa--large/32.d.ts +17 -0
  976. package/es/icons/letter--Aa--large/32.js +15 -0
  977. package/es/icons/logo--delicious/16.d.ts +17 -0
  978. package/es/icons/logo--delicious/16.js +15 -0
  979. package/es/icons/logo--delicious/20.d.ts +17 -0
  980. package/es/icons/logo--delicious/20.js +15 -0
  981. package/es/icons/logo--delicious/24.d.ts +17 -0
  982. package/es/icons/logo--delicious/24.js +15 -0
  983. package/es/icons/logo--delicious/32.d.ts +17 -0
  984. package/es/icons/logo--delicious/32.js +15 -0
  985. package/es/icons/logo--gitlab/16.d.ts +17 -0
  986. package/es/icons/logo--gitlab/16.js +15 -0
  987. package/es/icons/logo--gitlab/20.d.ts +17 -0
  988. package/es/icons/logo--gitlab/20.js +15 -0
  989. package/es/icons/logo--gitlab/24.d.ts +17 -0
  990. package/es/icons/logo--gitlab/24.js +15 -0
  991. package/es/icons/logo--gitlab/32.d.ts +17 -0
  992. package/es/icons/logo--gitlab/32.js +15 -0
  993. package/es/icons/logo--google/16.d.ts +17 -0
  994. package/es/icons/logo--google/16.js +15 -0
  995. package/es/icons/logo--google/20.d.ts +17 -0
  996. package/es/icons/logo--google/20.js +15 -0
  997. package/es/icons/logo--google/24.d.ts +17 -0
  998. package/es/icons/logo--google/24.js +15 -0
  999. package/es/icons/logo--google/32.d.ts +17 -0
  1000. package/es/icons/logo--google/32.js +15 -0
  1001. package/es/icons/logo--stumbleupon/16.d.ts +17 -0
  1002. package/es/icons/logo--stumbleupon/16.js +15 -0
  1003. package/es/icons/logo--stumbleupon/20.d.ts +17 -0
  1004. package/es/icons/logo--stumbleupon/20.js +15 -0
  1005. package/es/icons/logo--stumbleupon/24.d.ts +17 -0
  1006. package/es/icons/logo--stumbleupon/24.js +15 -0
  1007. package/es/icons/logo--stumbleupon/32.d.ts +17 -0
  1008. package/es/icons/logo--stumbleupon/32.js +15 -0
  1009. package/es/icons/logo--x/16.d.ts +17 -0
  1010. package/es/icons/logo--x/16.js +15 -0
  1011. package/es/icons/logo--x/20.d.ts +17 -0
  1012. package/es/icons/logo--x/20.js +15 -0
  1013. package/es/icons/logo--x/24.d.ts +17 -0
  1014. package/es/icons/logo--x/24.js +15 -0
  1015. package/es/icons/logo--x/32.d.ts +17 -0
  1016. package/es/icons/logo--x/32.js +15 -0
  1017. package/es/icons/mammogram--stacked/16.d.ts +17 -0
  1018. package/es/icons/mammogram--stacked/16.js +15 -0
  1019. package/es/icons/mammogram--stacked/20.d.ts +17 -0
  1020. package/es/icons/mammogram--stacked/20.js +15 -0
  1021. package/es/icons/mammogram--stacked/24.d.ts +17 -0
  1022. package/es/icons/mammogram--stacked/24.js +15 -0
  1023. package/es/icons/mammogram--stacked/32.d.ts +17 -0
  1024. package/es/icons/mammogram--stacked/32.js +15 -0
  1025. package/es/icons/misuse--alt/16.d.ts +17 -0
  1026. package/es/icons/misuse--alt/16.js +15 -0
  1027. package/es/icons/misuse--alt/20.d.ts +17 -0
  1028. package/es/icons/misuse--alt/20.js +15 -0
  1029. package/es/icons/misuse--alt/24.d.ts +17 -0
  1030. package/es/icons/misuse--alt/24.js +15 -0
  1031. package/es/icons/misuse--alt/32.d.ts +17 -0
  1032. package/es/icons/misuse--alt/32.js +15 -0
  1033. package/es/icons/mobile--crash/16.d.ts +17 -0
  1034. package/es/icons/mobile--crash/16.js +15 -0
  1035. package/es/icons/mobile--crash/20.d.ts +17 -0
  1036. package/es/icons/mobile--crash/20.js +15 -0
  1037. package/es/icons/mobile--crash/24.d.ts +17 -0
  1038. package/es/icons/mobile--crash/24.js +15 -0
  1039. package/es/icons/mobile--crash/32.d.ts +17 -0
  1040. package/es/icons/mobile--crash/32.js +15 -0
  1041. package/es/icons/mobile--event/16.d.ts +17 -0
  1042. package/es/icons/mobile--event/16.js +15 -0
  1043. package/es/icons/mobile--event/20.d.ts +17 -0
  1044. package/es/icons/mobile--event/20.js +15 -0
  1045. package/es/icons/mobile--event/24.d.ts +17 -0
  1046. package/es/icons/mobile--event/24.js +15 -0
  1047. package/es/icons/mobile--event/32.d.ts +17 -0
  1048. package/es/icons/mobile--event/32.js +15 -0
  1049. package/es/icons/mobile--request/16.d.ts +17 -0
  1050. package/es/icons/mobile--request/16.js +15 -0
  1051. package/es/icons/mobile--request/20.d.ts +17 -0
  1052. package/es/icons/mobile--request/20.js +15 -0
  1053. package/es/icons/mobile--request/24.d.ts +17 -0
  1054. package/es/icons/mobile--request/24.js +15 -0
  1055. package/es/icons/mobile--request/32.d.ts +17 -0
  1056. package/es/icons/mobile--request/32.js +15 -0
  1057. package/es/icons/mobile--session/16.d.ts +17 -0
  1058. package/es/icons/mobile--session/16.js +15 -0
  1059. package/es/icons/mobile--session/20.d.ts +17 -0
  1060. package/es/icons/mobile--session/20.js +15 -0
  1061. package/es/icons/mobile--session/24.d.ts +17 -0
  1062. package/es/icons/mobile--session/24.js +15 -0
  1063. package/es/icons/mobile--session/32.d.ts +17 -0
  1064. package/es/icons/mobile--session/32.js +15 -0
  1065. package/es/icons/mobile--view/16.d.ts +17 -0
  1066. package/es/icons/mobile--view/16.js +15 -0
  1067. package/es/icons/mobile--view/20.d.ts +17 -0
  1068. package/es/icons/mobile--view/20.js +15 -0
  1069. package/es/icons/mobile--view/24.d.ts +17 -0
  1070. package/es/icons/mobile--view/24.js +15 -0
  1071. package/es/icons/mobile--view/32.d.ts +17 -0
  1072. package/es/icons/mobile--view/32.js +15 -0
  1073. package/es/icons/mobile--view-orientation/16.d.ts +17 -0
  1074. package/es/icons/mobile--view-orientation/16.js +15 -0
  1075. package/es/icons/mobile--view-orientation/20.d.ts +17 -0
  1076. package/es/icons/mobile--view-orientation/20.js +15 -0
  1077. package/es/icons/mobile--view-orientation/24.d.ts +17 -0
  1078. package/es/icons/mobile--view-orientation/24.js +15 -0
  1079. package/es/icons/mobile--view-orientation/32.d.ts +17 -0
  1080. package/es/icons/mobile--view-orientation/32.js +15 -0
  1081. package/es/icons/model--tuned/16.d.ts +17 -0
  1082. package/es/icons/model--tuned/16.js +15 -0
  1083. package/es/icons/model--tuned/20.d.ts +17 -0
  1084. package/es/icons/model--tuned/20.js +15 -0
  1085. package/es/icons/model--tuned/24.d.ts +17 -0
  1086. package/es/icons/model--tuned/24.js +15 -0
  1087. package/es/icons/model--tuned/32.d.ts +17 -0
  1088. package/es/icons/model--tuned/32.js +15 -0
  1089. package/es/icons/mysql/16.d.ts +17 -0
  1090. package/es/icons/mysql/16.js +15 -0
  1091. package/es/icons/mysql/20.d.ts +17 -0
  1092. package/es/icons/mysql/20.js +15 -0
  1093. package/es/icons/mysql/24.d.ts +17 -0
  1094. package/es/icons/mysql/24.js +15 -0
  1095. package/es/icons/mysql/32.d.ts +17 -0
  1096. package/es/icons/mysql/32.js +15 -0
  1097. package/es/icons/network-interface/16.d.ts +17 -0
  1098. package/es/icons/network-interface/16.js +15 -0
  1099. package/es/icons/network-interface/20.d.ts +17 -0
  1100. package/es/icons/network-interface/20.js +15 -0
  1101. package/es/icons/network-interface/24.d.ts +17 -0
  1102. package/es/icons/network-interface/24.js +15 -0
  1103. package/es/icons/network-interface/32.d.ts +17 -0
  1104. package/es/icons/network-interface/32.js +15 -0
  1105. package/es/icons/platforms/16.d.ts +17 -0
  1106. package/es/icons/platforms/16.js +15 -0
  1107. package/es/icons/platforms/20.d.ts +17 -0
  1108. package/es/icons/platforms/20.js +15 -0
  1109. package/es/icons/platforms/24.d.ts +17 -0
  1110. package/es/icons/platforms/24.js +15 -0
  1111. package/es/icons/platforms/32.d.ts +17 -0
  1112. package/es/icons/platforms/32.js +15 -0
  1113. package/es/icons/process/16.d.ts +17 -0
  1114. package/es/icons/process/16.js +15 -0
  1115. package/es/icons/process/20.d.ts +17 -0
  1116. package/es/icons/process/20.js +15 -0
  1117. package/es/icons/process/24.d.ts +17 -0
  1118. package/es/icons/process/24.js +15 -0
  1119. package/es/icons/process/32.d.ts +17 -0
  1120. package/es/icons/process/32.js +15 -0
  1121. package/es/icons/process-automate/16.d.ts +17 -0
  1122. package/es/icons/process-automate/16.js +15 -0
  1123. package/es/icons/process-automate/20.d.ts +17 -0
  1124. package/es/icons/process-automate/20.js +15 -0
  1125. package/es/icons/process-automate/24.d.ts +17 -0
  1126. package/es/icons/process-automate/24.js +15 -0
  1127. package/es/icons/process-automate/32.d.ts +17 -0
  1128. package/es/icons/process-automate/32.js +15 -0
  1129. package/es/icons/prompt-session/16.d.ts +17 -0
  1130. package/es/icons/prompt-session/16.js +15 -0
  1131. package/es/icons/prompt-session/20.d.ts +17 -0
  1132. package/es/icons/prompt-session/20.js +15 -0
  1133. package/es/icons/prompt-session/24.d.ts +17 -0
  1134. package/es/icons/prompt-session/24.js +15 -0
  1135. package/es/icons/prompt-session/32.d.ts +17 -0
  1136. package/es/icons/prompt-session/32.js +15 -0
  1137. package/es/icons/prompt-template/16.d.ts +17 -0
  1138. package/es/icons/prompt-template/16.js +15 -0
  1139. package/es/icons/prompt-template/20.d.ts +17 -0
  1140. package/es/icons/prompt-template/20.js +15 -0
  1141. package/es/icons/prompt-template/24.d.ts +17 -0
  1142. package/es/icons/prompt-template/24.js +15 -0
  1143. package/es/icons/prompt-template/32.d.ts +17 -0
  1144. package/es/icons/prompt-template/32.js +15 -0
  1145. package/es/icons/redo/16.js +1 -1
  1146. package/es/icons/redo/20.js +1 -1
  1147. package/es/icons/redo/24.js +1 -1
  1148. package/es/icons/research--bloch-sphere/16.d.ts +17 -0
  1149. package/es/icons/research--bloch-sphere/16.js +15 -0
  1150. package/es/icons/research--bloch-sphere/20.d.ts +17 -0
  1151. package/es/icons/research--bloch-sphere/20.js +15 -0
  1152. package/es/icons/research--bloch-sphere/24.d.ts +17 -0
  1153. package/es/icons/research--bloch-sphere/24.js +15 -0
  1154. package/es/icons/research--bloch-sphere/32.d.ts +17 -0
  1155. package/es/icons/research--bloch-sphere/32.js +15 -0
  1156. package/es/icons/research--hinton-plot/16.d.ts +17 -0
  1157. package/es/icons/research--hinton-plot/16.js +15 -0
  1158. package/es/icons/research--hinton-plot/20.d.ts +17 -0
  1159. package/es/icons/research--hinton-plot/20.js +15 -0
  1160. package/es/icons/research--hinton-plot/24.d.ts +17 -0
  1161. package/es/icons/research--hinton-plot/24.js +15 -0
  1162. package/es/icons/research--hinton-plot/32.d.ts +17 -0
  1163. package/es/icons/research--hinton-plot/32.js +15 -0
  1164. package/es/icons/research--matrix/16.d.ts +17 -0
  1165. package/es/icons/research--matrix/16.js +15 -0
  1166. package/es/icons/research--matrix/20.d.ts +17 -0
  1167. package/es/icons/research--matrix/20.js +15 -0
  1168. package/es/icons/research--matrix/24.d.ts +17 -0
  1169. package/es/icons/research--matrix/24.js +15 -0
  1170. package/es/icons/research--matrix/32.d.ts +17 -0
  1171. package/es/icons/research--matrix/32.js +15 -0
  1172. package/es/icons/return/16.d.ts +17 -0
  1173. package/es/icons/return/16.js +15 -0
  1174. package/es/icons/return/20.d.ts +17 -0
  1175. package/es/icons/return/20.js +15 -0
  1176. package/es/icons/return/24.d.ts +17 -0
  1177. package/es/icons/return/24.js +15 -0
  1178. package/es/icons/return/32.d.ts +17 -0
  1179. package/es/icons/return/32.js +15 -0
  1180. package/es/icons/running/16.d.ts +17 -0
  1181. package/es/icons/running/16.js +15 -0
  1182. package/es/icons/running/20.d.ts +17 -0
  1183. package/es/icons/running/20.js +15 -0
  1184. package/es/icons/running/24.d.ts +17 -0
  1185. package/es/icons/running/24.js +15 -0
  1186. package/es/icons/running/32.d.ts +17 -0
  1187. package/es/icons/running/32.js +15 -0
  1188. package/es/icons/sales-ops/16.d.ts +17 -0
  1189. package/es/icons/sales-ops/16.js +15 -0
  1190. package/es/icons/sales-ops/20.d.ts +17 -0
  1191. package/es/icons/sales-ops/20.js +15 -0
  1192. package/es/icons/sales-ops/24.d.ts +17 -0
  1193. package/es/icons/sales-ops/24.js +15 -0
  1194. package/es/icons/sales-ops/32.d.ts +17 -0
  1195. package/es/icons/sales-ops/32.js +15 -0
  1196. package/es/icons/service-levels/16.d.ts +17 -0
  1197. package/es/icons/service-levels/16.js +15 -0
  1198. package/es/icons/service-levels/20.d.ts +17 -0
  1199. package/es/icons/service-levels/20.js +15 -0
  1200. package/es/icons/service-levels/24.d.ts +17 -0
  1201. package/es/icons/service-levels/24.js +15 -0
  1202. package/es/icons/service-levels/32.d.ts +17 -0
  1203. package/es/icons/service-levels/32.js +15 -0
  1204. package/es/icons/settings--edit/16.d.ts +17 -0
  1205. package/es/icons/settings--edit/16.js +15 -0
  1206. package/es/icons/settings--edit/20.d.ts +17 -0
  1207. package/es/icons/settings--edit/20.js +15 -0
  1208. package/es/icons/settings--edit/24.d.ts +17 -0
  1209. package/es/icons/settings--edit/24.js +15 -0
  1210. package/es/icons/settings--edit/32.d.ts +17 -0
  1211. package/es/icons/settings--edit/32.js +15 -0
  1212. package/es/icons/subdirectory/16.d.ts +17 -0
  1213. package/es/icons/subdirectory/16.js +15 -0
  1214. package/es/icons/subdirectory/20.d.ts +17 -0
  1215. package/es/icons/subdirectory/20.js +15 -0
  1216. package/es/icons/subdirectory/24.d.ts +17 -0
  1217. package/es/icons/subdirectory/24.js +15 -0
  1218. package/es/icons/subdirectory/32.d.ts +17 -0
  1219. package/es/icons/subdirectory/32.js +15 -0
  1220. package/es/icons/subtract--filled/16.d.ts +17 -0
  1221. package/es/icons/subtract--filled/16.js +15 -0
  1222. package/es/icons/subtract--filled/20.d.ts +17 -0
  1223. package/es/icons/subtract--filled/20.js +15 -0
  1224. package/es/icons/subtract--filled/24.d.ts +17 -0
  1225. package/es/icons/subtract--filled/24.js +15 -0
  1226. package/es/icons/subtract--filled/32.d.ts +17 -0
  1227. package/es/icons/subtract--filled/32.js +15 -0
  1228. package/es/icons/subtract--large/16.d.ts +17 -0
  1229. package/es/icons/subtract--large/16.js +15 -0
  1230. package/es/icons/subtract--large/20.d.ts +17 -0
  1231. package/es/icons/subtract--large/20.js +15 -0
  1232. package/es/icons/subtract--large/24.d.ts +17 -0
  1233. package/es/icons/subtract--large/24.js +15 -0
  1234. package/es/icons/subtract--large/32.d.ts +17 -0
  1235. package/es/icons/subtract--large/32.js +15 -0
  1236. package/es/icons/sunny/16.d.ts +17 -0
  1237. package/es/icons/sunny/16.js +15 -0
  1238. package/es/icons/sunny/20.d.ts +17 -0
  1239. package/es/icons/sunny/20.js +15 -0
  1240. package/es/icons/sunny/24.d.ts +17 -0
  1241. package/es/icons/sunny/24.js +15 -0
  1242. package/es/icons/sunny/32.d.ts +17 -0
  1243. package/es/icons/sunny/32.js +15 -0
  1244. package/es/icons/sustainability/16.d.ts +17 -0
  1245. package/es/icons/sustainability/16.js +15 -0
  1246. package/es/icons/sustainability/20.d.ts +17 -0
  1247. package/es/icons/sustainability/20.js +15 -0
  1248. package/es/icons/sustainability/24.d.ts +17 -0
  1249. package/es/icons/sustainability/24.js +15 -0
  1250. package/es/icons/sustainability/32.d.ts +17 -0
  1251. package/es/icons/sustainability/32.js +15 -0
  1252. package/es/icons/text--long-paragraph/16.d.ts +17 -0
  1253. package/es/icons/text--long-paragraph/16.js +15 -0
  1254. package/es/icons/text--long-paragraph/20.d.ts +17 -0
  1255. package/es/icons/text--long-paragraph/20.js +15 -0
  1256. package/es/icons/text--long-paragraph/24.d.ts +17 -0
  1257. package/es/icons/text--long-paragraph/24.js +15 -0
  1258. package/es/icons/text--long-paragraph/32.d.ts +17 -0
  1259. package/es/icons/text--long-paragraph/32.js +15 -0
  1260. package/es/icons/text--short-paragraph/16.d.ts +17 -0
  1261. package/es/icons/text--short-paragraph/16.js +15 -0
  1262. package/es/icons/text--short-paragraph/20.d.ts +17 -0
  1263. package/es/icons/text--short-paragraph/20.js +15 -0
  1264. package/es/icons/text--short-paragraph/24.d.ts +17 -0
  1265. package/es/icons/text--short-paragraph/24.js +15 -0
  1266. package/es/icons/text--short-paragraph/32.d.ts +17 -0
  1267. package/es/icons/text--short-paragraph/32.js +15 -0
  1268. package/es/icons/time--filled/16.d.ts +17 -0
  1269. package/es/icons/time--filled/16.js +15 -0
  1270. package/es/icons/time--filled/20.d.ts +17 -0
  1271. package/es/icons/time--filled/20.js +15 -0
  1272. package/es/icons/time--filled/24.d.ts +17 -0
  1273. package/es/icons/time--filled/24.js +15 -0
  1274. package/es/icons/time--filled/32.d.ts +17 -0
  1275. package/es/icons/time--filled/32.js +15 -0
  1276. package/es/icons/tour/16.d.ts +17 -0
  1277. package/es/icons/tour/16.js +15 -0
  1278. package/es/icons/tour/20.d.ts +17 -0
  1279. package/es/icons/tour/20.js +15 -0
  1280. package/es/icons/tour/24.d.ts +17 -0
  1281. package/es/icons/tour/24.js +15 -0
  1282. package/es/icons/tour/32.d.ts +17 -0
  1283. package/es/icons/tour/32.js +15 -0
  1284. package/es/icons/tuning/16.d.ts +17 -0
  1285. package/es/icons/tuning/16.js +15 -0
  1286. package/es/icons/tuning/20.d.ts +17 -0
  1287. package/es/icons/tuning/20.js +15 -0
  1288. package/es/icons/tuning/24.d.ts +17 -0
  1289. package/es/icons/tuning/24.js +15 -0
  1290. package/es/icons/tuning/32.d.ts +17 -0
  1291. package/es/icons/tuning/32.js +15 -0
  1292. package/es/icons/undefined/index.d.ts +17 -0
  1293. package/es/icons/undefined/index.js +15 -0
  1294. package/es/icons/undo/16.js +1 -1
  1295. package/es/icons/undo/20.js +1 -1
  1296. package/es/icons/undo/24.js +1 -1
  1297. package/es/icons/upstream/16.d.ts +17 -0
  1298. package/es/icons/upstream/16.js +15 -0
  1299. package/es/icons/upstream/20.d.ts +17 -0
  1300. package/es/icons/upstream/20.js +15 -0
  1301. package/es/icons/upstream/24.d.ts +17 -0
  1302. package/es/icons/upstream/24.js +15 -0
  1303. package/es/icons/upstream/32.d.ts +17 -0
  1304. package/es/icons/upstream/32.js +15 -0
  1305. package/es/icons/vegetation--encroachment/16.d.ts +17 -0
  1306. package/es/icons/vegetation--encroachment/16.js +15 -0
  1307. package/es/icons/vegetation--encroachment/20.d.ts +17 -0
  1308. package/es/icons/vegetation--encroachment/20.js +15 -0
  1309. package/es/icons/vegetation--encroachment/24.d.ts +17 -0
  1310. package/es/icons/vegetation--encroachment/24.js +15 -0
  1311. package/es/icons/vegetation--encroachment/32.d.ts +17 -0
  1312. package/es/icons/vegetation--encroachment/32.js +15 -0
  1313. package/es/icons/vegetation--height/16.d.ts +17 -0
  1314. package/es/icons/vegetation--height/16.js +15 -0
  1315. package/es/icons/vegetation--height/20.d.ts +17 -0
  1316. package/es/icons/vegetation--height/20.js +15 -0
  1317. package/es/icons/vegetation--height/24.d.ts +17 -0
  1318. package/es/icons/vegetation--height/24.js +15 -0
  1319. package/es/icons/vegetation--height/32.d.ts +17 -0
  1320. package/es/icons/vegetation--height/32.js +15 -0
  1321. package/es/icons/video-player/16.d.ts +17 -0
  1322. package/es/icons/video-player/16.js +15 -0
  1323. package/es/icons/video-player/20.d.ts +17 -0
  1324. package/es/icons/video-player/20.js +15 -0
  1325. package/es/icons/video-player/24.d.ts +17 -0
  1326. package/es/icons/video-player/24.js +15 -0
  1327. package/es/icons/video-player/32.d.ts +17 -0
  1328. package/es/icons/video-player/32.js +15 -0
  1329. package/es/icons/warning--diamond/16.d.ts +17 -0
  1330. package/es/icons/warning--diamond/16.js +15 -0
  1331. package/es/icons/warning--diamond/20.d.ts +17 -0
  1332. package/es/icons/warning--diamond/20.js +15 -0
  1333. package/es/icons/warning--diamond/24.d.ts +17 -0
  1334. package/es/icons/warning--diamond/24.js +15 -0
  1335. package/es/icons/warning--diamond/32.d.ts +17 -0
  1336. package/es/icons/warning--diamond/32.js +15 -0
  1337. package/es/icons/warning--multiple/16.d.ts +17 -0
  1338. package/es/icons/warning--multiple/16.js +15 -0
  1339. package/es/icons/warning--multiple/20.d.ts +17 -0
  1340. package/es/icons/warning--multiple/20.js +15 -0
  1341. package/es/icons/warning--multiple/24.d.ts +17 -0
  1342. package/es/icons/warning--multiple/24.js +15 -0
  1343. package/es/icons/warning--multiple/32.d.ts +17 -0
  1344. package/es/icons/warning--multiple/32.js +15 -0
  1345. package/es/icons/watson-health/edit-filter/16.d.ts +17 -0
  1346. package/es/icons/watson-health/edit-filter/16.js +15 -0
  1347. package/es/icons/watson-health/edit-filter/20.d.ts +17 -0
  1348. package/es/icons/watson-health/edit-filter/20.js +15 -0
  1349. package/es/icons/watson-health/edit-filter/24.d.ts +17 -0
  1350. package/es/icons/watson-health/edit-filter/24.js +15 -0
  1351. package/es/icons/watson-health/edit-filter/32.d.ts +17 -0
  1352. package/es/icons/watson-health/edit-filter/32.js +15 -0
  1353. package/es/icons/watsonx/16.d.ts +17 -0
  1354. package/es/icons/watsonx/16.js +15 -0
  1355. package/es/icons/watsonx/20.d.ts +17 -0
  1356. package/es/icons/watsonx/20.js +15 -0
  1357. package/es/icons/watsonx/24.d.ts +17 -0
  1358. package/es/icons/watsonx/24.js +15 -0
  1359. package/es/icons/watsonx/32.d.ts +17 -0
  1360. package/es/icons/watsonx/32.js +15 -0
  1361. package/es/icons/watsonx-ai/16.d.ts +17 -0
  1362. package/es/icons/watsonx-ai/16.js +15 -0
  1363. package/es/icons/watsonx-ai/20.d.ts +17 -0
  1364. package/es/icons/watsonx-ai/20.js +15 -0
  1365. package/es/icons/watsonx-ai/24.d.ts +17 -0
  1366. package/es/icons/watsonx-ai/24.js +15 -0
  1367. package/es/icons/watsonx-ai/32.d.ts +17 -0
  1368. package/es/icons/watsonx-ai/32.js +15 -0
  1369. package/es/icons/watsonx-data/16.d.ts +17 -0
  1370. package/es/icons/watsonx-data/16.js +15 -0
  1371. package/es/icons/watsonx-data/20.d.ts +17 -0
  1372. package/es/icons/watsonx-data/20.js +15 -0
  1373. package/es/icons/watsonx-data/24.d.ts +17 -0
  1374. package/es/icons/watsonx-data/24.js +15 -0
  1375. package/es/icons/watsonx-data/32.d.ts +17 -0
  1376. package/es/icons/watsonx-data/32.js +15 -0
  1377. package/es/icons/watsonx-governance/16.d.ts +17 -0
  1378. package/es/icons/watsonx-governance/16.js +15 -0
  1379. package/es/icons/watsonx-governance/20.d.ts +17 -0
  1380. package/es/icons/watsonx-governance/20.js +15 -0
  1381. package/es/icons/watsonx-governance/24.d.ts +17 -0
  1382. package/es/icons/watsonx-governance/24.js +15 -0
  1383. package/es/icons/watsonx-governance/32.d.ts +17 -0
  1384. package/es/icons/watsonx-governance/32.js +15 -0
  1385. package/es/icons/web-services--cluster/16.d.ts +17 -0
  1386. package/es/icons/web-services--cluster/16.js +15 -0
  1387. package/es/icons/web-services--cluster/20.d.ts +17 -0
  1388. package/es/icons/web-services--cluster/20.js +15 -0
  1389. package/es/icons/web-services--cluster/24.d.ts +17 -0
  1390. package/es/icons/web-services--cluster/24.js +15 -0
  1391. package/es/icons/web-services--cluster/32.d.ts +17 -0
  1392. package/es/icons/web-services--cluster/32.js +15 -0
  1393. package/es/icons/web-services--container/16.d.ts +17 -0
  1394. package/es/icons/web-services--container/16.js +15 -0
  1395. package/es/icons/web-services--container/20.d.ts +17 -0
  1396. package/es/icons/web-services--container/20.js +15 -0
  1397. package/es/icons/web-services--container/24.d.ts +17 -0
  1398. package/es/icons/web-services--container/24.js +15 -0
  1399. package/es/icons/web-services--container/32.d.ts +17 -0
  1400. package/es/icons/web-services--container/32.js +15 -0
  1401. package/es/icons/web-services--definition/16.d.ts +17 -0
  1402. package/es/icons/web-services--definition/16.js +15 -0
  1403. package/es/icons/web-services--definition/20.d.ts +17 -0
  1404. package/es/icons/web-services--definition/20.js +15 -0
  1405. package/es/icons/web-services--definition/24.d.ts +17 -0
  1406. package/es/icons/web-services--definition/24.js +15 -0
  1407. package/es/icons/web-services--definition/32.d.ts +17 -0
  1408. package/es/icons/web-services--definition/32.js +15 -0
  1409. package/es/icons/web-services--service/16.d.ts +17 -0
  1410. package/es/icons/web-services--service/16.js +15 -0
  1411. package/es/icons/web-services--service/20.d.ts +17 -0
  1412. package/es/icons/web-services--service/20.js +15 -0
  1413. package/es/icons/web-services--service/24.d.ts +17 -0
  1414. package/es/icons/web-services--service/24.js +15 -0
  1415. package/es/icons/web-services--service/32.d.ts +17 -0
  1416. package/es/icons/web-services--service/32.js +15 -0
  1417. package/es/icons/web-services--task/16.d.ts +17 -0
  1418. package/es/icons/web-services--task/16.js +15 -0
  1419. package/es/icons/web-services--task/20.d.ts +17 -0
  1420. package/es/icons/web-services--task/20.js +15 -0
  1421. package/es/icons/web-services--task/24.d.ts +17 -0
  1422. package/es/icons/web-services--task/24.js +15 -0
  1423. package/es/icons/web-services--task/32.d.ts +17 -0
  1424. package/es/icons/web-services--task/32.js +15 -0
  1425. package/es/icons/web-services--task-definition-version/16.d.ts +17 -0
  1426. package/es/icons/web-services--task-definition-version/16.js +15 -0
  1427. package/es/icons/web-services--task-definition-version/20.d.ts +17 -0
  1428. package/es/icons/web-services--task-definition-version/20.js +15 -0
  1429. package/es/icons/web-services--task-definition-version/24.d.ts +17 -0
  1430. package/es/icons/web-services--task-definition-version/24.js +15 -0
  1431. package/es/icons/web-services--task-definition-version/32.d.ts +17 -0
  1432. package/es/icons/web-services--task-definition-version/32.js +15 -0
  1433. package/lib/components/accordion/defs.js +3 -6
  1434. package/lib/components/accordion/defs.js.map +1 -1
  1435. package/lib/components/button/defs.js +5 -10
  1436. package/lib/components/button/defs.js.map +1 -1
  1437. package/lib/components/code-snippet/defs.js +1 -2
  1438. package/lib/components/code-snippet/defs.js.map +1 -1
  1439. package/lib/components/content-switcher/defs.js +2 -4
  1440. package/lib/components/content-switcher/defs.js.map +1 -1
  1441. package/lib/components/data-table/defs.js +4 -8
  1442. package/lib/components/data-table/defs.js.map +1 -1
  1443. package/lib/components/date-picker/defs.js +1 -2
  1444. package/lib/components/date-picker/defs.js.map +1 -1
  1445. package/lib/components/dropdown/defs.js +5 -10
  1446. package/lib/components/dropdown/defs.js.map +1 -1
  1447. package/lib/components/file-uploader/defs.js +2 -4
  1448. package/lib/components/file-uploader/defs.js.map +1 -1
  1449. package/lib/components/floating-menu/defs.js +2 -4
  1450. package/lib/components/floating-menu/defs.js.map +1 -1
  1451. package/lib/components/icon-button/defs.js +2 -4
  1452. package/lib/components/icon-button/defs.js.map +1 -1
  1453. package/lib/components/inline-loading/defs.js +1 -2
  1454. package/lib/components/inline-loading/defs.js.map +1 -1
  1455. package/lib/components/loading/defs.js +1 -2
  1456. package/lib/components/loading/defs.js.map +1 -1
  1457. package/lib/components/modal/defs.js +1 -2
  1458. package/lib/components/modal/defs.js.map +1 -1
  1459. package/lib/components/multi-select/defs.js +1 -2
  1460. package/lib/components/multi-select/defs.js.map +1 -1
  1461. package/lib/components/notification/defs.js +2 -4
  1462. package/lib/components/notification/defs.js.map +1 -1
  1463. package/lib/components/number-input/defs.js +1 -2
  1464. package/lib/components/number-input/defs.js.map +1 -1
  1465. package/lib/components/overflow-menu/defs.js +2 -4
  1466. package/lib/components/overflow-menu/defs.js.map +1 -1
  1467. package/lib/components/pagination/defs.js +1 -2
  1468. package/lib/components/pagination/defs.js.map +1 -1
  1469. package/lib/components/popover/defs.js +1 -2
  1470. package/lib/components/popover/defs.js.map +1 -1
  1471. package/lib/components/progress-bar/defs.js +3 -6
  1472. package/lib/components/progress-bar/defs.js.map +1 -1
  1473. package/lib/components/progress-indicator/defs.js +1 -2
  1474. package/lib/components/progress-indicator/defs.js.map +1 -1
  1475. package/lib/components/radio-button/defs.js +2 -4
  1476. package/lib/components/radio-button/defs.js.map +1 -1
  1477. package/lib/components/skeleton-text/defs.js +1 -2
  1478. package/lib/components/skeleton-text/defs.js.map +1 -1
  1479. package/lib/components/slug/defs.js +45 -0
  1480. package/lib/components/slug/defs.js.map +1 -0
  1481. package/lib/components/stack/defs.js +2 -4
  1482. package/lib/components/stack/defs.js.map +1 -1
  1483. package/lib/components/tabs/defs.js +2 -4
  1484. package/lib/components/tabs/defs.js.map +1 -1
  1485. package/lib/components/tag/defs.js +2 -4
  1486. package/lib/components/tag/defs.js.map +1 -1
  1487. package/lib/components/text-input/defs.js +4 -8
  1488. package/lib/components/text-input/defs.js.map +1 -1
  1489. package/lib/components/tile/defs.js.map +1 -1
  1490. package/lib/components/toggle/defs.js +1 -2
  1491. package/lib/components/toggle/defs.js.map +1 -1
  1492. package/lib/components/ui-shell/defs.js +2 -4
  1493. package/lib/components/ui-shell/defs.js.map +1 -1
  1494. package/lib/components-react-node/accordion/accordion-item-skeleton.js +3 -6
  1495. package/lib/components-react-node/accordion/accordion-item.js +5 -8
  1496. package/lib/components-react-node/accordion/accordion-skeleton.js +3 -6
  1497. package/lib/components-react-node/accordion/accordion.js +3 -6
  1498. package/lib/components-react-node/breadcrumb/breadcrumb-item.js +3 -6
  1499. package/lib/components-react-node/breadcrumb/breadcrumb-link.js +3 -6
  1500. package/lib/components-react-node/breadcrumb/breadcrumb-overflow-menu.js +11 -6
  1501. package/lib/components-react-node/breadcrumb/breadcrumb-skeleton.js +3 -6
  1502. package/lib/components-react-node/breadcrumb/breadcrumb.js +3 -6
  1503. package/lib/components-react-node/button/button-set.js +3 -6
  1504. package/lib/components-react-node/button/button-skeleton.js +7 -6
  1505. package/lib/components-react-node/button/button.js +3 -6
  1506. package/lib/components-react-node/checkbox/checkbox-skeleton.js +3 -6
  1507. package/lib/components-react-node/checkbox/checkbox.js +5 -8
  1508. package/lib/components-react-node/code-snippet/code-snippet-skeleton.js +3 -6
  1509. package/lib/components-react-node/code-snippet/code-snippet.js +3 -6
  1510. package/lib/components-react-node/combo-box/combo-box-item.js +11 -6
  1511. package/lib/components-react-node/combo-box/combo-box.js +5 -8
  1512. package/lib/components-react-node/content-switcher/content-switcher-item.js +3 -6
  1513. package/lib/components-react-node/content-switcher/content-switcher.js +5 -8
  1514. package/lib/components-react-node/copy/copy.js +11 -6
  1515. package/lib/components-react-node/copy-button/copy-button.js +3 -6
  1516. package/lib/components-react-node/data-table/table-batch-actions.js +5 -8
  1517. package/lib/components-react-node/data-table/table-body.js +3 -6
  1518. package/lib/components-react-node/data-table/table-cell-content.js +3 -6
  1519. package/lib/components-react-node/data-table/table-cell.js +3 -6
  1520. package/lib/components-react-node/data-table/table-expanded-row.js +3 -6
  1521. package/lib/components-react-node/data-table/table-head.js +3 -6
  1522. package/lib/components-react-node/data-table/table-header-cell.js +5 -8
  1523. package/lib/components-react-node/data-table/table-header-description.js +3 -6
  1524. package/lib/components-react-node/data-table/table-header-row.js +5 -8
  1525. package/lib/components-react-node/data-table/table-header-title.js +3 -6
  1526. package/lib/components-react-node/data-table/table-row.js +5 -8
  1527. package/lib/components-react-node/data-table/table-skeleton.js +3 -6
  1528. package/lib/components-react-node/data-table/table-toolbar-content.js +3 -6
  1529. package/lib/components-react-node/data-table/table-toolbar-search.js +5 -8
  1530. package/lib/components-react-node/data-table/table-toolbar.js +3 -6
  1531. package/lib/components-react-node/data-table/table.js +5 -8
  1532. package/lib/components-react-node/date-picker/date-picker-input-skeleton.js +3 -6
  1533. package/lib/components-react-node/date-picker/date-picker-input.js +3 -6
  1534. package/lib/components-react-node/date-picker/date-picker.js +5 -8
  1535. package/lib/components-react-node/dropdown/dropdown-item.js +3 -6
  1536. package/lib/components-react-node/dropdown/dropdown-skeleton.js +3 -6
  1537. package/lib/components-react-node/dropdown/dropdown.js +5 -8
  1538. package/lib/components-react-node/file-uploader/demo-file-uploader.js +3 -6
  1539. package/lib/components-react-node/file-uploader/file-uploader-button.js +5 -8
  1540. package/lib/components-react-node/file-uploader/file-uploader-drop-container.js +5 -8
  1541. package/lib/components-react-node/file-uploader/file-uploader-item.js +5 -8
  1542. package/lib/components-react-node/file-uploader/file-uploader-skeleton.js +3 -6
  1543. package/lib/components-react-node/file-uploader/file-uploader.js +3 -6
  1544. package/lib/components-react-node/floating-menu/floating-menu.js +2 -4
  1545. package/lib/components-react-node/form/form-item.js +3 -6
  1546. package/lib/components-react-node/form-group/form-group.js +3 -6
  1547. package/lib/components-react-node/icon-button/icon-button.js +7 -6
  1548. package/lib/components-react-node/inline-loading/inline-loading.js +3 -6
  1549. package/lib/components-react-node/layer/layer.js +5 -8
  1550. package/lib/components-react-node/link/link.js +3 -6
  1551. package/lib/components-react-node/list/list-item.js +3 -6
  1552. package/lib/components-react-node/list/ordered-list.js +11 -6
  1553. package/lib/components-react-node/list/unordered-list.js +3 -6
  1554. package/lib/components-react-node/loading/loading.js +3 -6
  1555. package/lib/components-react-node/modal/modal-body-content.js +3 -6
  1556. package/lib/components-react-node/modal/modal-body.js +3 -6
  1557. package/lib/components-react-node/modal/modal-close-button.js +3 -6
  1558. package/lib/components-react-node/modal/modal-footer-button.js +7 -6
  1559. package/lib/components-react-node/modal/modal-footer.js +3 -6
  1560. package/lib/components-react-node/modal/modal-header.js +3 -6
  1561. package/lib/components-react-node/modal/modal-heading.js +3 -6
  1562. package/lib/components-react-node/modal/modal-label.js +3 -6
  1563. package/lib/components-react-node/modal/modal.js +5 -8
  1564. package/lib/components-react-node/multi-select/multi-select-item.js +11 -6
  1565. package/lib/components-react-node/multi-select/multi-select.js +5 -8
  1566. package/lib/components-react-node/notification/actionable-notification-button.js +7 -6
  1567. package/lib/components-react-node/notification/actionable-notification.js +11 -6
  1568. package/lib/components-react-node/notification/inline-notification.js +5 -8
  1569. package/lib/components-react-node/notification/toast-notification.js +11 -6
  1570. package/lib/components-react-node/number-input/number-input-skeleton.js +3 -6
  1571. package/lib/components-react-node/number-input/number-input.js +12 -11
  1572. package/lib/components-react-node/overflow-menu/overflow-menu-body.js +11 -6
  1573. package/lib/components-react-node/overflow-menu/overflow-menu-item.js +3 -6
  1574. package/lib/components-react-node/overflow-menu/overflow-menu.js +11 -6
  1575. package/lib/components-react-node/pagination/pagination.js +5 -8
  1576. package/lib/components-react-node/popover/popover-content.js +3 -6
  1577. package/lib/components-react-node/popover/popover.js +3 -6
  1578. package/lib/components-react-node/progress-bar/progress-bar.js +3 -6
  1579. package/lib/components-react-node/progress-indicator/progress-indicator-skeleton.js +3 -6
  1580. package/lib/components-react-node/progress-indicator/progress-indicator.js +3 -6
  1581. package/lib/components-react-node/progress-indicator/progress-step-skeleton.js +3 -6
  1582. package/lib/components-react-node/progress-indicator/progress-step.js +3 -6
  1583. package/lib/components-react-node/radio-button/radio-button-group.js +5 -8
  1584. package/lib/components-react-node/radio-button/radio-button-skeleton.js +3 -6
  1585. package/lib/components-react-node/radio-button/radio-button.js +5 -8
  1586. package/lib/components-react-node/search/search-skeleton.js +3 -6
  1587. package/lib/components-react-node/search/search.js +5 -8
  1588. package/lib/components-react-node/select/select-item-group.js +3 -6
  1589. package/lib/components-react-node/select/select-item.js +3 -6
  1590. package/lib/components-react-node/select/select-skeleton.js +3 -6
  1591. package/lib/components-react-node/select/select.js +5 -8
  1592. package/lib/components-react-node/skeleton-placeholder/skeleton-placeholder.js +3 -6
  1593. package/lib/components-react-node/skeleton-text/skeleton-text.js +3 -6
  1594. package/lib/components-react-node/skip-to-content/skip-to-content.js +3 -6
  1595. package/lib/components-react-node/slider/slider-input.js +5 -8
  1596. package/lib/components-react-node/slider/slider-skeleton.js +3 -6
  1597. package/lib/components-react-node/slider/slider.js +5 -8
  1598. package/lib/components-react-node/slug/defs.js +24 -0
  1599. package/lib/components-react-node/slug/index.js +9 -0
  1600. package/lib/components-react-node/slug/slug-action-button.js +35 -0
  1601. package/lib/components-react-node/slug/slug.js +39 -0
  1602. package/lib/components-react-node/stack/stack.js +3 -6
  1603. package/lib/components-react-node/structured-list/structured-list-body.js +3 -6
  1604. package/lib/components-react-node/structured-list/structured-list-cell.js +3 -6
  1605. package/lib/components-react-node/structured-list/structured-list-head.js +3 -6
  1606. package/lib/components-react-node/structured-list/structured-list-header-cell-skeleton.js +3 -6
  1607. package/lib/components-react-node/structured-list/structured-list-header-cell.js +3 -6
  1608. package/lib/components-react-node/structured-list/structured-list-header-row.js +3 -6
  1609. package/lib/components-react-node/structured-list/structured-list-row.js +3 -6
  1610. package/lib/components-react-node/structured-list/structured-list.js +3 -6
  1611. package/lib/components-react-node/tabs/tab-skeleton.js +3 -6
  1612. package/lib/components-react-node/tabs/tab.js +11 -6
  1613. package/lib/components-react-node/tabs/tabs-skeleton.js +3 -6
  1614. package/lib/components-react-node/tabs/tabs.js +21 -16
  1615. package/lib/components-react-node/tag/tag.js +5 -8
  1616. package/lib/components-react-node/text-input/text-input-skeleton.js +3 -6
  1617. package/lib/components-react-node/text-input/text-input.js +3 -6
  1618. package/lib/components-react-node/textarea/textarea-skeleton.js +3 -6
  1619. package/lib/components-react-node/textarea/textarea.js +11 -6
  1620. package/lib/components-react-node/tile/clickable-tile.js +3 -6
  1621. package/lib/components-react-node/tile/expandable-tile.js +5 -8
  1622. package/lib/components-react-node/tile/radio-tile.js +17 -12
  1623. package/lib/components-react-node/tile/selectable-tile.js +5 -8
  1624. package/lib/components-react-node/tile/tile-group.js +5 -8
  1625. package/lib/components-react-node/tile/tile.js +3 -6
  1626. package/lib/components-react-node/toggle/toggle.js +5 -8
  1627. package/lib/components-react-node/toggle-tip/toggletip.js +3 -6
  1628. package/lib/components-react-node/tooltip/tooltip-content.js +11 -6
  1629. package/lib/components-react-node/tooltip/tooltip.js +7 -6
  1630. package/lib/components-react-node/ui-shell/header-global-action.js +7 -6
  1631. package/lib/components-react-node/ui-shell/header-menu-button.js +5 -8
  1632. package/lib/components-react-node/ui-shell/header-menu-item.js +11 -6
  1633. package/lib/components-react-node/ui-shell/header-menu.js +3 -6
  1634. package/lib/components-react-node/ui-shell/header-name.js +3 -6
  1635. package/lib/components-react-node/ui-shell/header-nav-item.js +3 -6
  1636. package/lib/components-react-node/ui-shell/header-nav.js +3 -6
  1637. package/lib/components-react-node/ui-shell/header-panel.js +3 -6
  1638. package/lib/components-react-node/ui-shell/header-side-nav-items.js +3 -6
  1639. package/lib/components-react-node/ui-shell/header.js +3 -6
  1640. package/lib/components-react-node/ui-shell/side-nav-divider.js +3 -6
  1641. package/lib/components-react-node/ui-shell/side-nav-items.js +3 -6
  1642. package/lib/components-react-node/ui-shell/side-nav-link.js +3 -6
  1643. package/lib/components-react-node/ui-shell/side-nav-menu-item.js +3 -6
  1644. package/lib/components-react-node/ui-shell/side-nav-menu.js +5 -8
  1645. package/lib/components-react-node/ui-shell/side-nav.js +5 -8
  1646. package/lib/components-react-node/ui-shell/switcher-divider.js +3 -6
  1647. package/lib/components-react-node/ui-shell/switcher-item.js +3 -6
  1648. package/lib/components-react-node/ui-shell/switcher.js +3 -6
  1649. package/lib/globals/settings.js +2 -4
  1650. package/lib/globals/settings.js.map +1 -1
  1651. package/lib/globals/shared-enums.js +1 -2
  1652. package/lib/globals/shared-enums.js.map +1 -1
  1653. package/lib/globals/wrappers/createReactCustomElementType.js +3 -4
  1654. package/lib/globals/wrappers/createReactCustomElementType.js.map +1 -1
  1655. package/package.json +18 -17
  1656. package/scss/components/breadcrumb/breadcrumb.scss +2 -2
  1657. package/scss/components/button/button.scss +3 -3
  1658. package/scss/components/code-snippet/code-snippet.scss +5 -5
  1659. package/scss/components/combo-box/combo-box.scss +62 -1
  1660. package/scss/components/content-switcher/content-switcher.scss +8 -7
  1661. package/scss/components/copy-button/copy-button.scss +3 -2
  1662. package/scss/components/data-table/_table-action.scss +1 -1
  1663. package/scss/components/data-table/_table-sizes.scss +5 -5
  1664. package/scss/components/data-table/_table-sort.scss +1 -1
  1665. package/scss/components/date-picker/date-picker.scss +13 -0
  1666. package/scss/components/dropdown/dropdown.scss +28 -4
  1667. package/scss/components/icon-button/icon-button.scss +5 -0
  1668. package/scss/components/list/list.scss +1 -1
  1669. package/scss/components/modal/modal.scss +17 -4
  1670. package/scss/components/multi-select/multi-select.scss +29 -2
  1671. package/scss/components/notification/inline-notification.scss +5 -0
  1672. package/scss/components/number-input/number-input.scss +19 -0
  1673. package/scss/components/overflow-menu/overflow-menu.scss +1 -1
  1674. package/scss/components/pagination/pagination.scss +1 -1
  1675. package/scss/components/popover/popover.scss +57 -20
  1676. package/scss/components/select/select.scss +19 -0
  1677. package/scss/components/slug/slug.scss +135 -0
  1678. package/scss/components/stack/stack.scss +3 -3
  1679. package/scss/components/tabs/tabs.scss +7 -9
  1680. package/scss/components/text-input/text-input.scss +44 -10
  1681. package/scss/components/textarea/textarea.scss +35 -0
  1682. package/scss/components/tile/tile.scss +1 -1
  1683. package/scss/components/toggle-tip/toggletip.scss +3 -2
  1684. package/scss/components/tooltip/tooltip.scss +1 -2
  1685. package/scss/components/ui-shell/header.scss +4 -4
  1686. package/scss/components/ui-shell/side-nav.scss +1 -1
  1687. package/es/components/accordion/accordion-item-skeleton.d.ts.map +0 -1
  1688. package/es/components/accordion/accordion-item.d.ts.map +0 -1
  1689. package/es/components/accordion/accordion-skeleton.d.ts.map +0 -1
  1690. package/es/components/accordion/accordion.d.ts.map +0 -1
  1691. package/es/components/accordion/defs.d.ts.map +0 -1
  1692. package/es/components/accordion/index.d.ts.map +0 -1
  1693. package/es/components/breadcrumb/breadcrumb-item.d.ts.map +0 -1
  1694. package/es/components/breadcrumb/breadcrumb-link.d.ts.map +0 -1
  1695. package/es/components/breadcrumb/breadcrumb-overflow-menu.d.ts.map +0 -1
  1696. package/es/components/breadcrumb/breadcrumb-skeleton.d.ts.map +0 -1
  1697. package/es/components/breadcrumb/breadcrumb.d.ts.map +0 -1
  1698. package/es/components/breadcrumb/index.d.ts.map +0 -1
  1699. package/es/components/button/button-set.d.ts.map +0 -1
  1700. package/es/components/button/button-skeleton.d.ts.map +0 -1
  1701. package/es/components/button/button.d.ts.map +0 -1
  1702. package/es/components/button/defs.d.ts.map +0 -1
  1703. package/es/components/button/index.d.ts.map +0 -1
  1704. package/es/components/checkbox/checkbox-skeleton.d.ts.map +0 -1
  1705. package/es/components/checkbox/checkbox.d.ts.map +0 -1
  1706. package/es/components/checkbox/index.d.ts.map +0 -1
  1707. package/es/components/code-snippet/code-snippet-skeleton.d.ts.map +0 -1
  1708. package/es/components/code-snippet/code-snippet.d.ts.map +0 -1
  1709. package/es/components/code-snippet/defs.d.ts.map +0 -1
  1710. package/es/components/code-snippet/index.d.ts.map +0 -1
  1711. package/es/components/combo-box/combo-box-item.d.ts.map +0 -1
  1712. package/es/components/combo-box/combo-box.d.ts.map +0 -1
  1713. package/es/components/combo-box/index.d.ts.map +0 -1
  1714. package/es/components/content-switcher/content-switcher-item.d.ts.map +0 -1
  1715. package/es/components/content-switcher/content-switcher.d.ts.map +0 -1
  1716. package/es/components/content-switcher/defs.d.ts.map +0 -1
  1717. package/es/components/content-switcher/index.d.ts.map +0 -1
  1718. package/es/components/copy/copy.d.ts.map +0 -1
  1719. package/es/components/copy-button/copy-button.d.ts.map +0 -1
  1720. package/es/components/copy-button/index.d.ts.map +0 -1
  1721. package/es/components/data-table/defs.d.ts.map +0 -1
  1722. package/es/components/data-table/index.d.ts.map +0 -1
  1723. package/es/components/data-table/table-batch-actions.d.ts.map +0 -1
  1724. package/es/components/data-table/table-body.d.ts.map +0 -1
  1725. package/es/components/data-table/table-cell-content.d.ts.map +0 -1
  1726. package/es/components/data-table/table-cell.d.ts.map +0 -1
  1727. package/es/components/data-table/table-expanded-row.d.ts.map +0 -1
  1728. package/es/components/data-table/table-head.d.ts.map +0 -1
  1729. package/es/components/data-table/table-header-cell.d.ts.map +0 -1
  1730. package/es/components/data-table/table-header-description.d.ts.map +0 -1
  1731. package/es/components/data-table/table-header-row.d.ts.map +0 -1
  1732. package/es/components/data-table/table-header-title.d.ts.map +0 -1
  1733. package/es/components/data-table/table-row.d.ts.map +0 -1
  1734. package/es/components/data-table/table-skeleton.d.ts.map +0 -1
  1735. package/es/components/data-table/table-toolbar-content.d.ts.map +0 -1
  1736. package/es/components/data-table/table-toolbar-search.d.ts.map +0 -1
  1737. package/es/components/data-table/table-toolbar.d.ts.map +0 -1
  1738. package/es/components/data-table/table.d.ts.map +0 -1
  1739. package/es/components/date-picker/append-to-plugin.d.ts.map +0 -1
  1740. package/es/components/date-picker/css-class-plugin.d.ts.map +0 -1
  1741. package/es/components/date-picker/date-picker-input-skeleton.d.ts.map +0 -1
  1742. package/es/components/date-picker/date-picker-input.d.ts.map +0 -1
  1743. package/es/components/date-picker/date-picker.d.ts.map +0 -1
  1744. package/es/components/date-picker/defs.d.ts.map +0 -1
  1745. package/es/components/date-picker/fix-events-plugin.d.ts.map +0 -1
  1746. package/es/components/date-picker/focus-plugin.d.ts.map +0 -1
  1747. package/es/components/date-picker/icon-plugin.d.ts.map +0 -1
  1748. package/es/components/date-picker/index.d.ts.map +0 -1
  1749. package/es/components/date-picker/iso-date.d.ts.map +0 -1
  1750. package/es/components/date-picker/month-select-plugin.d.ts.map +0 -1
  1751. package/es/components/date-picker/range-plugin.d.ts.map +0 -1
  1752. package/es/components/date-picker/shadow-dom-events-plugin.d.ts.map +0 -1
  1753. package/es/components/date-picker/state-handshake-plugin.d.ts.map +0 -1
  1754. package/es/components/dropdown/defs.d.ts.map +0 -1
  1755. package/es/components/dropdown/dropdown-item.d.ts.map +0 -1
  1756. package/es/components/dropdown/dropdown-skeleton.d.ts.map +0 -1
  1757. package/es/components/dropdown/dropdown.d.ts.map +0 -1
  1758. package/es/components/dropdown/index.d.ts.map +0 -1
  1759. package/es/components/file-uploader/defs.d.ts.map +0 -1
  1760. package/es/components/file-uploader/demo-file-uploader.d.ts.map +0 -1
  1761. package/es/components/file-uploader/file-uploader-button.d.ts.map +0 -1
  1762. package/es/components/file-uploader/file-uploader-drop-container.d.ts.map +0 -1
  1763. package/es/components/file-uploader/file-uploader-item.d.ts.map +0 -1
  1764. package/es/components/file-uploader/file-uploader-skeleton.d.ts.map +0 -1
  1765. package/es/components/file-uploader/file-uploader.d.ts.map +0 -1
  1766. package/es/components/file-uploader/index.d.ts.map +0 -1
  1767. package/es/components/floating-menu/defs.d.ts.map +0 -1
  1768. package/es/components/floating-menu/floating-menu-trigger.d.ts.map +0 -1
  1769. package/es/components/floating-menu/floating-menu.d.ts.map +0 -1
  1770. package/es/components/floating-menu/index.d.ts.map +0 -1
  1771. package/es/components/form/form-item.d.ts.map +0 -1
  1772. package/es/components/form/index.d.ts.map +0 -1
  1773. package/es/components/form-group/form-group.d.ts.map +0 -1
  1774. package/es/components/form-group/index.d.ts.map +0 -1
  1775. package/es/components/icon-button/defs.d.ts.map +0 -1
  1776. package/es/components/icon-button/icon-button.d.ts.map +0 -1
  1777. package/es/components/icon-button/index.d.ts.map +0 -1
  1778. package/es/components/inline-loading/defs.d.ts.map +0 -1
  1779. package/es/components/inline-loading/index.d.ts.map +0 -1
  1780. package/es/components/inline-loading/inline-loading.d.ts.map +0 -1
  1781. package/es/components/layer/index.d.ts.map +0 -1
  1782. package/es/components/layer/layer.d.ts.map +0 -1
  1783. package/es/components/link/index.d.ts.map +0 -1
  1784. package/es/components/link/link.d.ts.map +0 -1
  1785. package/es/components/list/index.d.ts.map +0 -1
  1786. package/es/components/list/list-item.d.ts.map +0 -1
  1787. package/es/components/list/ordered-list.d.ts.map +0 -1
  1788. package/es/components/list/unordered-list.d.ts.map +0 -1
  1789. package/es/components/loading/defs.d.ts.map +0 -1
  1790. package/es/components/loading/index.d.ts.map +0 -1
  1791. package/es/components/loading/loading-icon.d.ts.map +0 -1
  1792. package/es/components/loading/loading.d.ts.map +0 -1
  1793. package/es/components/loading/types.d.ts.map +0 -1
  1794. package/es/components/modal/defs.d.ts.map +0 -1
  1795. package/es/components/modal/index.d.ts.map +0 -1
  1796. package/es/components/modal/modal-body-content.d.ts.map +0 -1
  1797. package/es/components/modal/modal-body.d.ts.map +0 -1
  1798. package/es/components/modal/modal-close-button.d.ts.map +0 -1
  1799. package/es/components/modal/modal-footer-button.d.ts.map +0 -1
  1800. package/es/components/modal/modal-footer.d.ts.map +0 -1
  1801. package/es/components/modal/modal-header.d.ts.map +0 -1
  1802. package/es/components/modal/modal-heading.d.ts.map +0 -1
  1803. package/es/components/modal/modal-label.d.ts.map +0 -1
  1804. package/es/components/modal/modal.d.ts.map +0 -1
  1805. package/es/components/multi-select/defs.d.ts.map +0 -1
  1806. package/es/components/multi-select/index.d.ts.map +0 -1
  1807. package/es/components/multi-select/multi-select-item.d.ts.map +0 -1
  1808. package/es/components/multi-select/multi-select.d.ts.map +0 -1
  1809. package/es/components/notification/actionable-notification-button.d.ts.map +0 -1
  1810. package/es/components/notification/actionable-notification.d.ts.map +0 -1
  1811. package/es/components/notification/defs.d.ts.map +0 -1
  1812. package/es/components/notification/index.d.ts.map +0 -1
  1813. package/es/components/notification/inline-notification.d.ts.map +0 -1
  1814. package/es/components/notification/toast-notification.d.ts.map +0 -1
  1815. package/es/components/number-input/defs.d.ts.map +0 -1
  1816. package/es/components/number-input/index.d.ts.map +0 -1
  1817. package/es/components/number-input/number-input-skeleton.d.ts.map +0 -1
  1818. package/es/components/number-input/number-input.d.ts.map +0 -1
  1819. package/es/components/overflow-menu/defs.d.ts.map +0 -1
  1820. package/es/components/overflow-menu/index.d.ts.map +0 -1
  1821. package/es/components/overflow-menu/overflow-menu-body.d.ts.map +0 -1
  1822. package/es/components/overflow-menu/overflow-menu-item.d.ts.map +0 -1
  1823. package/es/components/overflow-menu/overflow-menu.d.ts.map +0 -1
  1824. package/es/components/pagination/defs.d.ts.map +0 -1
  1825. package/es/components/pagination/index.d.ts.map +0 -1
  1826. package/es/components/pagination/pagination.d.ts.map +0 -1
  1827. package/es/components/popover/defs.d.ts.map +0 -1
  1828. package/es/components/popover/index.d.ts.map +0 -1
  1829. package/es/components/popover/popover-content.d.ts.map +0 -1
  1830. package/es/components/popover/popover.d.ts.map +0 -1
  1831. package/es/components/progress-bar/defs.d.ts.map +0 -1
  1832. package/es/components/progress-bar/index.d.ts.map +0 -1
  1833. package/es/components/progress-bar/progress-bar.d.ts.map +0 -1
  1834. package/es/components/progress-indicator/defs.d.ts.map +0 -1
  1835. package/es/components/progress-indicator/index.d.ts.map +0 -1
  1836. package/es/components/progress-indicator/progress-indicator-skeleton.d.ts.map +0 -1
  1837. package/es/components/progress-indicator/progress-indicator.d.ts.map +0 -1
  1838. package/es/components/progress-indicator/progress-step-skeleton.d.ts.map +0 -1
  1839. package/es/components/progress-indicator/progress-step.d.ts.map +0 -1
  1840. package/es/components/radio-button/defs.d.ts.map +0 -1
  1841. package/es/components/radio-button/index.d.ts.map +0 -1
  1842. package/es/components/radio-button/radio-button-group.d.ts.map +0 -1
  1843. package/es/components/radio-button/radio-button-skeleton.d.ts.map +0 -1
  1844. package/es/components/radio-button/radio-button.d.ts.map +0 -1
  1845. package/es/components/search/index.d.ts.map +0 -1
  1846. package/es/components/search/search-skeleton.d.ts.map +0 -1
  1847. package/es/components/search/search.d.ts.map +0 -1
  1848. package/es/components/select/index.d.ts.map +0 -1
  1849. package/es/components/select/select-item-group.d.ts.map +0 -1
  1850. package/es/components/select/select-item.d.ts.map +0 -1
  1851. package/es/components/select/select-skeleton.d.ts.map +0 -1
  1852. package/es/components/select/select.d.ts.map +0 -1
  1853. package/es/components/skeleton-placeholder/index.d.ts.map +0 -1
  1854. package/es/components/skeleton-placeholder/skeleton-placeholder.d.ts.map +0 -1
  1855. package/es/components/skeleton-text/defs.d.ts.map +0 -1
  1856. package/es/components/skeleton-text/index.d.ts.map +0 -1
  1857. package/es/components/skeleton-text/skeleton-text.d.ts.map +0 -1
  1858. package/es/components/skip-to-content/index.d.ts.map +0 -1
  1859. package/es/components/skip-to-content/skip-to-content.d.ts.map +0 -1
  1860. package/es/components/slider/index.d.ts.map +0 -1
  1861. package/es/components/slider/slider-input.d.ts.map +0 -1
  1862. package/es/components/slider/slider-skeleton.d.ts.map +0 -1
  1863. package/es/components/slider/slider.d.ts.map +0 -1
  1864. package/es/components/stack/defs.d.ts.map +0 -1
  1865. package/es/components/stack/index.d.ts.map +0 -1
  1866. package/es/components/stack/stack.d.ts.map +0 -1
  1867. package/es/components/structured-list/index.d.ts.map +0 -1
  1868. package/es/components/structured-list/structured-list-body.d.ts.map +0 -1
  1869. package/es/components/structured-list/structured-list-cell.d.ts.map +0 -1
  1870. package/es/components/structured-list/structured-list-head.d.ts.map +0 -1
  1871. package/es/components/structured-list/structured-list-header-cell-skeleton.d.ts.map +0 -1
  1872. package/es/components/structured-list/structured-list-header-cell.d.ts.map +0 -1
  1873. package/es/components/structured-list/structured-list-header-row.d.ts.map +0 -1
  1874. package/es/components/structured-list/structured-list-row.d.ts.map +0 -1
  1875. package/es/components/structured-list/structured-list.d.ts.map +0 -1
  1876. package/es/components/tabs/defs.d.ts.map +0 -1
  1877. package/es/components/tabs/index.d.ts.map +0 -1
  1878. package/es/components/tabs/tab-skeleton.d.ts.map +0 -1
  1879. package/es/components/tabs/tab.d.ts.map +0 -1
  1880. package/es/components/tabs/tabs-skeleton.d.ts.map +0 -1
  1881. package/es/components/tabs/tabs.d.ts.map +0 -1
  1882. package/es/components/tag/defs.d.ts.map +0 -1
  1883. package/es/components/tag/index.d.ts.map +0 -1
  1884. package/es/components/tag/tag.d.ts.map +0 -1
  1885. package/es/components/tag/types.d.ts.map +0 -1
  1886. package/es/components/text-input/defs.d.ts.map +0 -1
  1887. package/es/components/text-input/index.d.ts.map +0 -1
  1888. package/es/components/text-input/text-input-skeleton.d.ts.map +0 -1
  1889. package/es/components/text-input/text-input.d.ts.map +0 -1
  1890. package/es/components/textarea/defs.d.ts.map +0 -1
  1891. package/es/components/textarea/index.d.ts.map +0 -1
  1892. package/es/components/textarea/textarea-skeleton.d.ts.map +0 -1
  1893. package/es/components/textarea/textarea.d.ts.map +0 -1
  1894. package/es/components/tile/clickable-tile.d.ts.map +0 -1
  1895. package/es/components/tile/defs.d.ts.map +0 -1
  1896. package/es/components/tile/expandable-tile.d.ts.map +0 -1
  1897. package/es/components/tile/index.d.ts.map +0 -1
  1898. package/es/components/tile/radio-tile.d.ts.map +0 -1
  1899. package/es/components/tile/selectable-tile.d.ts.map +0 -1
  1900. package/es/components/tile/tile-group.d.ts.map +0 -1
  1901. package/es/components/tile/tile.d.ts.map +0 -1
  1902. package/es/components/toggle/defs.d.ts.map +0 -1
  1903. package/es/components/toggle/index.d.ts.map +0 -1
  1904. package/es/components/toggle/toggle.d.ts.map +0 -1
  1905. package/es/components/toggle-tip/index.d.ts.map +0 -1
  1906. package/es/components/toggle-tip/toggletip.d.ts.map +0 -1
  1907. package/es/components/tooltip/index.d.ts.map +0 -1
  1908. package/es/components/tooltip/tooltip-content.d.ts.map +0 -1
  1909. package/es/components/tooltip/tooltip.d.ts.map +0 -1
  1910. package/es/components/ui-shell/defs.d.ts.map +0 -1
  1911. package/es/components/ui-shell/header-global-action.d.ts.map +0 -1
  1912. package/es/components/ui-shell/header-menu-button.d.ts.map +0 -1
  1913. package/es/components/ui-shell/header-menu-item.d.ts.map +0 -1
  1914. package/es/components/ui-shell/header-menu.d.ts.map +0 -1
  1915. package/es/components/ui-shell/header-name.d.ts.map +0 -1
  1916. package/es/components/ui-shell/header-nav-item.d.ts.map +0 -1
  1917. package/es/components/ui-shell/header-nav.d.ts.map +0 -1
  1918. package/es/components/ui-shell/header-panel.d.ts.map +0 -1
  1919. package/es/components/ui-shell/header-side-nav-items.d.ts.map +0 -1
  1920. package/es/components/ui-shell/header.d.ts.map +0 -1
  1921. package/es/components/ui-shell/index.d.ts.map +0 -1
  1922. package/es/components/ui-shell/side-nav-divider.d.ts.map +0 -1
  1923. package/es/components/ui-shell/side-nav-items.d.ts.map +0 -1
  1924. package/es/components/ui-shell/side-nav-link.d.ts.map +0 -1
  1925. package/es/components/ui-shell/side-nav-menu-item.d.ts.map +0 -1
  1926. package/es/components/ui-shell/side-nav-menu.d.ts.map +0 -1
  1927. package/es/components/ui-shell/side-nav.d.ts.map +0 -1
  1928. package/es/components/ui-shell/switcher-divider.d.ts.map +0 -1
  1929. package/es/components/ui-shell/switcher-item.d.ts.map +0 -1
  1930. package/es/components/ui-shell/switcher.d.ts.map +0 -1
  1931. package/es/globals/decorators/carbon-element.d.ts.map +0 -1
  1932. package/es/globals/decorators/host-listener.d.ts.map +0 -1
  1933. package/es/globals/directives/if-non-empty.d.ts.map +0 -1
  1934. package/es/globals/directives/spread.d.ts.map +0 -1
  1935. package/es/globals/internal/collection-helpers.d.ts.map +0 -1
  1936. package/es/globals/internal/handle.d.ts.map +0 -1
  1937. package/es/globals/internal/radio-group-manager.d.ts.map +0 -1
  1938. package/es/globals/internal/storybook-cdn.d.ts.map +0 -1
  1939. package/es/globals/mixins/focus.d.ts.map +0 -1
  1940. package/es/globals/mixins/form.d.ts.map +0 -1
  1941. package/es/globals/mixins/host-listener.d.ts.map +0 -1
  1942. package/es/globals/mixins/on.d.ts.map +0 -1
  1943. package/es/globals/mixins/validity.d.ts.map +0 -1
  1944. package/es/globals/settings.d.ts.map +0 -1
  1945. package/es/globals/shared-enums.d.ts.map +0 -1
  1946. package/es/globals/wrappers/createReactCustomElementType.d.ts.map +0 -1
  1947. package/es/index.d.ts.map +0 -1
  1948. package/es/polyfills/element-closest.d.ts.map +0 -1
  1949. package/es/polyfills/element-matches.d.ts.map +0 -1
  1950. package/es/polyfills/index.d.ts.map +0 -1
  1951. package/es/polyfills/toggle-attribute.d.ts.map +0 -1
  1952. package/es/polyfills/toggle-class.d.ts.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/checkbox/checkbox.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQvC;;;;;;;GAOG;AACH,cACM,WAAY,SAAQ,gBAAiC;IAEzD,SAAS,CAAC,aAAa,EAAG,gBAAgB,CAAC;IAE3C;;OAEG;IACH,SAAS,CAAC,aAAa;IAiBvB;;OAEG;IACH,OAAO,CAAC,YAAY;IAMpB,eAAe,CAAC,KAAK,EAAE,KAAK;IAQ5B;;OAEG;IAEH,OAAO,UAAS;IAEhB;;OAEG;IAEH,SAAS,UAAS;IAElB;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;;OAGG;IAEH,YAAY,UAAS;IAErB;;OAEG;IAEH,SAAS,UAAS;IAElB;;OAEG;IAEH,aAAa,UAAS;IAEtB;;;OAGG;IAEH,SAAS,SAAM;IAEf;;OAEG;IAEH,IAAI,EAAG,MAAM,CAAC;IAEd;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,KAAK,SAAM;IAEX;;OAEG;IAEH,KAAK,EAAG,MAAM,CAAC;IAEf,MAAM;IA8CN;;OAEG;IACH,MAAM,KAAK,WAAW,WAErB;IAED,MAAM,CAAC,iBAAiB;;;;MAGtB;IACF,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,WAAW,CAAC","file":"checkbox.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2023\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { classMap } from 'lit/directives/class-map.js';\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport { LitElement, html } from 'lit';\nimport { property, query } from 'lit/decorators.js';\nimport { prefix } from '../../globals/settings';\nimport FocusMixin from '../../globals/mixins/focus';\nimport FormMixin from '../../globals/mixins/form';\nimport styles from './checkbox.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * Check box.\n *\n * @element cds-checkbox\n * @fires cds-checkbox-changed - The custom event fired after this changebox changes its checked state.\n * @csspart input The checkbox.\n * @csspart label The label.\n */\n@customElement(`${prefix}-checkbox`)\nclass CDSCheckbox extends FocusMixin(FormMixin(LitElement)) {\n @query('input')\n protected _checkboxNode!: HTMLInputElement;\n\n /**\n * Handles `click` event on the `<input>` in the shadow DOM.\n */\n protected _handleChange() {\n const { checked, indeterminate } = this._checkboxNode;\n this.checked = checked;\n this.indeterminate = indeterminate;\n const { eventChange } = this.constructor as typeof CDSCheckbox;\n this.dispatchEvent(\n new CustomEvent(eventChange, {\n bubbles: true,\n composed: true,\n detail: {\n checked,\n indeterminate,\n },\n })\n );\n }\n\n /**\n * Prevent checkbox state from updating when readonly\n */\n private _handleClick(event: MouseEvent) {\n if (this.readonly) {\n event.preventDefault();\n }\n }\n\n _handleFormdata(event: Event) {\n const { formData } = event as any; // TODO: Wait for `FormDataEvent` being available in `lib.dom.d.ts`\n const { checked, disabled, name, value = 'on' } = this;\n if (!disabled && checked) {\n formData.append(name, value);\n }\n }\n\n /**\n * Specify whether the underlying input should be checked\n */\n @property({ type: Boolean, reflect: true, attribute: 'checked' })\n checked = false;\n\n /**\n * Specify if checkbox is being used in a data table\n */\n @property({ type: Boolean, reflect: true, attribute: 'data-table' })\n dataTable = false;\n\n /**\n * Specify whether the Checkbox should be disabled\n */\n @property({ type: Boolean, reflect: true })\n disabled = false;\n\n /**\n * Specify whether the checkbox should be present in the DOM,\n * but invisible and uninteractable. Used for data-table purposes.\n */\n @property({ type: Boolean, reflect: true, attribute: 'hide-checkbox' })\n hideCheckbox = false;\n\n /**\n * Specify whether the label should be hidden, or not\n */\n @property({ type: Boolean, reflect: true, attribute: 'hide-label' })\n hideLabel = false;\n\n /**\n * Specify whether the Checkbox is in an indeterminate state\n */\n @property({ type: Boolean, reflect: true })\n indeterminate = false;\n\n /**\n * Provide a label to provide a description of the Checkbox input that you are\n * exposing to the user\n */\n @property({ attribute: 'label-text' })\n labelText = '';\n\n /**\n * The form name.\n */\n @property()\n name!: string;\n\n /**\n * Specify whether the Checkbox is read-only\n */\n @property({ type: Boolean, reflect: true })\n readonly = false;\n\n /**\n * Specify a title for the node for the Checkbox\n */\n @property({ attribute: 'title' })\n title = '';\n\n /**\n * The value.\n */\n @property()\n value!: string;\n\n render() {\n const {\n checked,\n disabled,\n hideLabel,\n indeterminate,\n labelText,\n name,\n readonly,\n title,\n value,\n _handleChange: handleChange,\n _handleClick: handleClick,\n } = this;\n const labelClasses = classMap({\n [`${prefix}--checkbox-label`]: true,\n });\n const labelTextClasses = classMap({\n [`${prefix}--checkbox-label-text`]: true,\n [`${prefix}--visually-hidden`]: hideLabel,\n });\n return html`\n <input\n id=\"checkbox\"\n type=\"checkbox\"\n part=\"input\"\n class=\"${`${prefix}--checkbox`}\"\n aria-checked=\"${indeterminate ? 'mixed' : String(Boolean(checked))}\"\n aria-readonly=\"${String(Boolean(readonly))}\"\n .checked=\"${checked}\"\n ?disabled=\"${disabled}\"\n .indeterminate=\"${indeterminate}\"\n name=\"${ifDefined(name)}\"\n value=\"${ifDefined(value)}\"\n @change=\"${handleChange}\"\n @click=\"${handleClick}\" />\n <label\n for=\"checkbox\"\n part=\"label\"\n class=\"${labelClasses}\"\n title=\"${ifDefined(title)}\">\n <span class=\"${labelTextClasses}\"><slot>${labelText}</slot></span>\n </label>\n `;\n }\n\n /**\n * The name of the custom event fired after this changebox changes its checked state.\n */\n static get eventChange() {\n return `${prefix}-checkbox-changed`;\n }\n\n static shadowRootOptions = {\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n };\n static styles = styles; // `styles` here is a `CSSResult` generated by custom WebPack loader\n}\n\nexport default CDSCheckbox;\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/checkbox/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,YAAY,CAAC;AACpB,OAAO,qBAAqB,CAAC","file":"index.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2021, 2022, 2023\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport './checkbox';\nimport './checkbox-skeleton';\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/code-snippet/code-snippet-skeleton.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAGvC,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAInD;;GAEG;AACH,cACM,sBAAuB,SAAQ,UAAU;IAC7C;;OAEG;IAEH,IAAI,oBAA4B;IAEhC,MAAM;IAUN,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,sBAAsB,CAAC","file":"code-snippet-skeleton.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2023\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { LitElement, html } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { prefix } from '../../globals/settings';\nimport { CODE_SNIPPET_TYPE } from './code-snippet';\nimport styles from './code-snippet.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * Skeleton of code snippet.\n */\n@customElement(`${prefix}-code-snippet-skeleton`)\nclass CDSCodeSnippetSkeleton extends LitElement {\n /**\n * The type of code snippet. Corresponds to the attribute with the same name.\n */\n @property({ reflect: true })\n type = CODE_SNIPPET_TYPE.SINGLE;\n\n render() {\n return html`\n <div class=\"${prefix}--snippet-container\">\n ${this.type !== CODE_SNIPPET_TYPE.MULTI\n ? html` <span></span> `\n : html` <span></span><span></span><span></span> `}\n </div>\n `;\n }\n\n static styles = styles;\n}\n\nexport default CDSCodeSnippetSkeleton;\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/code-snippet/code-snippet.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAKvC,OAAO,EAAE,yBAAyB,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAGtE,OAAO,sBAAsB,CAAC;AAC9B,OAAO,cAAc,CAAC;AACtB,OAAO,kBAAkB,CAAC;AAG1B,OAAO,EAAE,yBAAyB,EAAE,iBAAiB,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqBxD;;;;GAIG;AACH,cACM,cAAe,SAAQ,mBAAsB;IACjD;;OAEG;IACH,OAAO,CAAC,aAAa,CAAS;IAE9B;;OAEG;IACH,OAAO,CAAC,eAAe,CAAuB;IAE9C;;OAEG;IACH,OAAO,CAAC,kBAAkB,CAAM;IAEhC;;OAEG;IACH,OAAO,CAAC,iBAAiB,CAAQ;IAEjC;;OAEG;IACH,OAAO,CAAC,gBAAgB,CAAS;IAEjC;;OAEG;IACH,OAAO,CAAC,sBAAsB,CAAS;IAEvC;;OAEG;IACH,OAAO,CAAC,gBAAgB;IAuBxB,OAAO,CAAC,qBAAqB;IAc7B;;OAEG;IACH,OAAO,CAAC,aAAa;IAgCrB;;OAEG;IACH,OAAO,CAAC,oBAAoB;IAK5B;;OAEG;IAGH,OAAO,CAAC,eAAe,CAwCpB;IAEH;;;OAGG;IAEH,QAAQ,SAAM;IAEd;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,QAAQ,SAAa;IAErB;;OAEG;IAEH,eAAe,SAAQ;IAEvB;;OAEG;IAEH,cAAc,UAAS;IAEvB;;OAEG;IAEH,wBAAwB,SAAM;IAE9B;;OAEG;IAEH,uBAAuB,SAAK;IAE5B;;OAEG;IAEH,wBAAwB,SAAK;IAE7B;;OAEG;IAEH,uBAAuB,SAAM;IAE7B;;;OAGG;IAEH,YAAY,SAAe;IAE3B;;;OAGG;IAEH,YAAY,SAAe;IAE3B;;OAEG;IAEH,cAAc,SAAuB;IAErC;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,IAAI,oBAA4B;IAEhC,iBAAiB;IAQjB,oBAAoB;IAMpB,OAAO;IAQP,MAAM;IAmJN,MAAM,CAAC,iBAAiB;;;;MAGtB;IACF,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,cAAc,CAAC","file":"code-snippet.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2023\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { styleMap } from 'lit/directives/style-map.js';\nimport { LitElement, html } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport ChevronDown16 from '@carbon/icons/lib/chevron--down/16';\nimport { prefix } from '../../globals/settings';\nimport FocusMixin from '../../globals/mixins/focus';\nimport { CODE_SNIPPET_COLOR_SCHEME, CODE_SNIPPET_TYPE } from './defs';\nimport styles from './code-snippet.scss';\nimport Handle from '../../globals/internal/handle';\nimport '../copy-button/index';\nimport '../copy/copy';\nimport '../button/button';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\nexport { CODE_SNIPPET_COLOR_SCHEME, CODE_SNIPPET_TYPE };\n\n/**\n * Observes resize of the given element with the given resize observer.\n *\n * @param observer The resize observer.\n * @param elem The element to observe the resize.\n */\nconst observeResize = (observer: ResizeObserver, elem: Element) => {\n if (!elem) {\n return null;\n }\n observer.observe(elem);\n return {\n release() {\n observer.unobserve(elem);\n return null;\n },\n } as Handle;\n};\n\n/**\n * Basic code snippet.\n *\n * @element cds-code-snippet\n */\n@customElement(`${prefix}-code-snippet`)\nclass CDSCodeSnippet extends FocusMixin(LitElement) {\n /**\n * `true` to expand multi-line variant of code snippet.\n */\n private _expandedCode = false;\n\n /**\n * The handle for observing resize of the parent element of this element.\n */\n private _hObserveResize: Handle | null = null;\n\n /**\n * Row height in pixels\n */\n private _rowHeightInPixels = 16;\n\n /**\n * `true` if code-snippet has right overflow\n */\n private _hasRightOverflow = true;\n\n /**\n * `true` if code-snippet has left overflow\n */\n private _hasLeftOverflow = false;\n\n /**\n * `true` if show more or show less btn is visible\n */\n private _shouldShowMoreLessBtn = false;\n\n /**\n * Handles `click` event on the copy button.\n */\n private _handleCopyClick() {\n const { ownerDocument: doc } = this;\n const selection = doc!.defaultView!.getSelection();\n selection!.removeAllRanges();\n const code = doc!.createElement('code');\n code.className = `${prefix}--visually-hidden`;\n const pre = doc!.createElement('pre');\n const text = Array.from(this.childNodes).filter(\n (node) => node.nodeType === Node.TEXT_NODE\n );\n pre.textContent = this.copyText || text[0].textContent;\n code.appendChild(pre);\n // Using `<code>` in shadow DOM seems to lose the LFs in some browsers\n doc!.body.appendChild(code);\n const range = doc!.createRange();\n range.selectNodeContents(code);\n selection!.addRange(range);\n doc!.execCommand('copy');\n doc!.body.removeChild(code);\n selection!.removeAllRanges();\n }\n\n // eslint-disable-next-line class-methods-use-this\n private _getCodeRefDimensions(ref) {\n const {\n clientWidth: codeClientWidth,\n scrollLeft: codeScrollLeft,\n scrollWidth: codeScrollWidth,\n } = ref;\n\n return {\n horizontalOverflow: codeScrollWidth > codeClientWidth,\n codeClientWidth,\n codeScrollWidth,\n codeScrollLeft,\n };\n }\n /**\n * Handles `scroll` event.\n */\n private _handleScroll() {\n if (this) {\n const codeContainerRef = this?.shadowRoot?.querySelector(\n `.${prefix}--snippet-container`\n );\n const codeContentRef = codeContainerRef?.querySelector('pre');\n if (\n this.type === CODE_SNIPPET_TYPE.INLINE ||\n (this.type === CODE_SNIPPET_TYPE.SINGLE && !codeContainerRef) ||\n (this.type === CODE_SNIPPET_TYPE.MULTI && !codeContentRef)\n ) {\n return;\n }\n\n const {\n horizontalOverflow,\n codeClientWidth,\n codeScrollWidth,\n codeScrollLeft,\n } =\n this.type === CODE_SNIPPET_TYPE.SINGLE\n ? this._getCodeRefDimensions(codeContainerRef)\n : this._getCodeRefDimensions(codeContentRef);\n\n this._hasLeftOverflow = horizontalOverflow && !!codeScrollLeft;\n this._hasRightOverflow =\n horizontalOverflow &&\n codeScrollLeft + codeClientWidth !== codeScrollWidth;\n this.requestUpdate();\n }\n }\n\n /**\n * Handles `click` event on the show more or show less button.\n */\n private _handleClickExpanded() {\n this._expandedCode = !this._expandedCode;\n this.requestUpdate();\n }\n\n /**\n * The `ResizeObserver` instance for observing element resizes for re-positioning floating menu position.\n */\n // TODO: Wait for `.d.ts` update to support `ResizeObserver`\n // @ts-ignore\n private _resizeObserver = new ResizeObserver(() => {\n const codeContainerRef = this.shadowRoot?.querySelector(\n `.${prefix}--snippet-container`\n );\n const codeContentRef = codeContainerRef?.querySelector('code'); // PRE?\n const {\n type,\n maxCollapsedNumberOfRows,\n maxExpandedNumberOfRows,\n minExpandedNumberOfRows,\n _rowHeightInPixels: rowHeightInPixels,\n _handleScroll: handleScroll,\n } = this;\n if (codeContentRef && type === CODE_SNIPPET_TYPE.MULTI) {\n const { height } = codeContentRef.getBoundingClientRect();\n if (\n maxCollapsedNumberOfRows > 0 &&\n (maxExpandedNumberOfRows <= 0 ||\n maxExpandedNumberOfRows > maxCollapsedNumberOfRows) &&\n height > maxCollapsedNumberOfRows * rowHeightInPixels\n ) {\n this._shouldShowMoreLessBtn = true;\n } else {\n this._shouldShowMoreLessBtn = false;\n }\n if (\n this._expandedCode &&\n minExpandedNumberOfRows > 0 &&\n height <= minExpandedNumberOfRows * rowHeightInPixels\n ) {\n this._expandedCode = false;\n }\n }\n if (\n (codeContentRef && type === CODE_SNIPPET_TYPE.MULTI) ||\n (codeContainerRef && type === CODE_SNIPPET_TYPE.SINGLE)\n ) {\n handleScroll();\n }\n this.requestUpdate();\n });\n\n /**\n * Optional text to copy. If not specified, the `children` node's `innerText`\n * will be used as the copy value.\n */\n @property({ attribute: 'copy-text' })\n copyText = '';\n\n /**\n * `true` if the button should be disabled.\n */\n @property({ type: Boolean, reflect: true })\n disabled = false;\n\n /**\n * Specify the string displayed when the snippet is copied\n */\n @property()\n feedback = 'Copied!';\n\n /**\n * Specify the time it takes for the feedback message to timeout\n */\n @property({ type: Number, attribute: 'feedback-timeout' })\n feedbackTimeout = 2000;\n\n /**\n * Specify whether or not a copy button should be used/rendered.\n */\n @property({ type: Boolean, reflect: true, attribute: 'hide-copy-button' })\n hideCopyButton = false;\n\n /**\n * Specify the maximum number of rows to be shown when in collapsed view\n */\n @property()\n maxCollapsedNumberOfRows = 15;\n\n /**\n * Specify the maximum number of rows to be shown when in expanded view\n */\n @property()\n maxExpandedNumberOfRows = 0;\n\n /**\n * Specify the minimum number of rows to be shown when in collapsed view\n */\n @property()\n minCollapsedNumberOfRows = 3;\n\n /**\n * Specify the minimum number of rows to be shown when in expanded view\n */\n @property()\n minExpandedNumberOfRows = 16;\n\n /**\n * Specify a string that is displayed when the Code Snippet has been\n * interacted with to show less lines\n */\n @property({ attribute: 'show-less-text' })\n showLessText = 'Show less';\n\n /**\n * Specify a string that is displayed when the Code Snippet text is more\n * than 15 lines\n */\n @property({ attribute: 'show-more-text' })\n showMoreText = 'Show more';\n\n /**\n * Tooltip content for the copy button.\n */\n @property({ attribute: 'tooltip-content' })\n tooltipContent = 'Copy to clipboard';\n\n /**\n * `true` if the button should be disabled.\n */\n @property({ type: Boolean, reflect: true, attribute: 'wrap-text' })\n wrapText = false;\n\n /**\n * The type of code snippet.\n */\n @property({ reflect: true })\n type = CODE_SNIPPET_TYPE.SINGLE;\n\n connectedCallback() {\n super.connectedCallback();\n if (this._hObserveResize) {\n this._hObserveResize = this._hObserveResize.release();\n }\n this._hObserveResize = observeResize(this._resizeObserver, this);\n }\n\n disconnectedCallback() {\n if (this._hObserveResize) {\n this._hObserveResize = this._hObserveResize.release();\n }\n }\n\n updated() {\n if (this._expandedCode) {\n this.setAttribute('expanded-code', '');\n } else {\n this.removeAttribute('expanded-code');\n }\n }\n\n render() {\n const {\n disabled,\n feedback,\n feedbackTimeout,\n hideCopyButton,\n maxExpandedNumberOfRows,\n minExpandedNumberOfRows,\n maxCollapsedNumberOfRows,\n minCollapsedNumberOfRows,\n type,\n wrapText,\n tooltipContent,\n showMoreText,\n showLessText,\n _expandedCode: expandedCode,\n _handleCopyClick: handleCopyClick,\n _handleScroll: handleScroll,\n _hasRightOverflow: hasRightOverflow,\n _hasLeftOverflow: hasLeftOverflow,\n _rowHeightInPixels: rowHeightInPixels,\n _shouldShowMoreLessBtn: shouldShowMoreLessBtn,\n } = this;\n\n let classes = `${prefix}--snippet`;\n type ? (classes += ` ${prefix}--snippet--${type}`) : '';\n type !== 'inline' && disabled\n ? (classes += ` ${prefix}--snippet--disabled`)\n : '';\n hideCopyButton ? (classes += ` ${prefix}--snippet--no-copy`) : '';\n wrapText ? (classes += ` ${prefix}--snippet--wraptext`) : '';\n type == 'multi' && hasRightOverflow\n ? (classes += ` ${prefix}--snippet--has-right-overflow`)\n : '';\n\n const expandButtonClass = `${prefix}--snippet-btn--expand`;\n\n const disabledCopyButtonClasses = disabled\n ? `${prefix}--snippet--disabled`\n : '';\n\n const expandCodeBtnText = expandedCode ? showLessText : showMoreText;\n\n if (type === CODE_SNIPPET_TYPE.INLINE) {\n // Ensures no extra whitespace text node\n // prettier-ignore\n return html`\n <cds-copy button-class-name=\"${classes}\" @click=\"${handleCopyClick}\">\n <code slot=\"icon\"><slot></slot></code>\n <span slot=\"tooltip-content\">${tooltipContent}</span>\n </cds-copy>\n `;\n }\n\n const styles = {};\n if (type === 'multi') {\n if (expandedCode) {\n if (maxExpandedNumberOfRows > 0) {\n styles['max-height'] =\n maxExpandedNumberOfRows * rowHeightInPixels + 'px';\n }\n if (minExpandedNumberOfRows > 0) {\n styles['min-height'] =\n minExpandedNumberOfRows * rowHeightInPixels + 'px';\n }\n } else {\n if (maxCollapsedNumberOfRows > 0) {\n styles['max-height'] =\n maxCollapsedNumberOfRows * rowHeightInPixels + 'px';\n }\n if (minCollapsedNumberOfRows > 0) {\n styles['min-height'] =\n minCollapsedNumberOfRows * rowHeightInPixels + 'px';\n }\n }\n }\n\n return html`\n <div\n role=\"${type === CODE_SNIPPET_TYPE.SINGLE ||\n type === CODE_SNIPPET_TYPE.MULTI\n ? 'textbox'\n : null}\"\n tabindex=\"${(type === CODE_SNIPPET_TYPE.SINGLE ||\n type === CODE_SNIPPET_TYPE.MULTI) &&\n !disabled\n ? 0\n : null}\"\n class=\"${prefix}--snippet-container\"\n aria-label=\"${'code-snippet'}\"\n aria-readonly=\"${type === CODE_SNIPPET_TYPE.SINGLE ||\n type === CODE_SNIPPET_TYPE.MULTI\n ? true\n : null}\"\n aria-multiline=\"${type === CODE_SNIPPET_TYPE.MULTI ? true : null}\"\n @scroll=\"${(type === CODE_SNIPPET_TYPE.SINGLE && handleScroll) || null}\"\n style=${styleMap(styles)}>\n <pre\n @scroll=\"${(type === CODE_SNIPPET_TYPE.MULTI && handleScroll) ||\n null}\"><code><slot></slot></code></pre>\n </div>\n\n ${hasLeftOverflow\n ? html`\n <div class=\"${prefix}--snippet__overflow-indicator--left\"></div>\n `\n : ``}\n ${hasRightOverflow && type !== CODE_SNIPPET_TYPE.MULTI\n ? html`\n <div class=\"${prefix}--snippet__overflow-indicator--right\"></div>\n `\n : ``}\n ${hideCopyButton\n ? ``\n : html`\n <cds-copy-button\n ?disabled=${disabled}\n button-class-name=${disabledCopyButtonClasses}\n feedback=${feedback}\n feedback-timeout=${feedbackTimeout}\n @click=\"${handleCopyClick}\">\n ${tooltipContent}\n </cds-copy-button>\n `}\n ${shouldShowMoreLessBtn\n ? html`\n <cds-button\n kind=\"ghost\"\n size=\"sm\"\n button-class-name=${expandButtonClass}\n ?disabled=${disabled}\n @click=${() => this._handleClickExpanded()}>\n <span class=\"${prefix}--snippet-btn--text\">\n ${expandCodeBtnText}\n </span>\n ${ChevronDown16({\n class: `${prefix}--icon-chevron--down ${prefix}--snippet__icon`,\n name: 'cheveron--down',\n role: 'img',\n slot: 'icon',\n })}\n </cds-button>\n `\n : ``}\n `;\n }\n\n static shadowRootOptions = {\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n };\n static styles = styles;\n}\n\nexport default CDSCodeSnippet;\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/code-snippet/defs.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,yBAAyB,IAAI,yBAAyB,EAAE,MAAM,4BAA4B,CAAC;AAEpG;;GAEG;AACH,oBAAY,iBAAiB;IAC3B;;OAEG;IACH,MAAM,WAAW;IAEjB;;OAEG;IACH,MAAM,WAAW;IAEjB;;OAEG;IACH,KAAK,UAAU;CAChB","file":"defs.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2020, 2022\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nexport { FORM_ELEMENT_COLOR_SCHEME as CODE_SNIPPET_COLOR_SCHEME } from '../../globals/shared-enums';\n\n/**\n * Code snippet types.\n */\nexport enum CODE_SNIPPET_TYPE {\n /**\n * Single variant.\n */\n SINGLE = 'single',\n\n /**\n * Inline variant.\n */\n INLINE = 'inline',\n\n /**\n * Multi-line variant.\n */\n MULTI = 'multi',\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/code-snippet/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,gBAAgB,CAAC;AACxB,OAAO,yBAAyB,CAAC","file":"index.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2021, 2022\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport './code-snippet';\nimport './code-snippet-skeleton';\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/combo-box/combo-box-item.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,eAAe,MAAM,2BAA2B,CAAC;AAIxD;;;;GAIG;AACH,cACM,eAAgB,SAAQ,eAAe;IAC3C,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,eAAe,CAAC","file":"combo-box-item.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2023\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { prefix } from '../../globals/settings';\nimport CDSDropdownItem from '../dropdown/dropdown-item';\nimport styles from './combo-box.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * Combo box item.\n *\n * @element cds-combo-box-item\n */\n@customElement(`${prefix}-combo-box-item`)\nclass CDSComboBoxItem extends CDSDropdownItem {\n static styles = styles;\n}\n\nexport default CDSComboBoxItem;\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/combo-box/combo-box.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,EAAE,cAAc,EAAQ,MAAM,KAAK,CAAC;AAK3C,OAAO,WAAyC,MAAM,sBAAsB,CAAC;AAC7E,OAAO,eAAe,MAAM,kBAAkB,CAAC;AAI/C,OAAO,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAEzE;;;;;;;;;;;;GAYG;AACH,cACM,WAAY,SAAQ,WAAW;IACnC;;OAEG;IACH,SAAS,CAAC,iBAAiB,SAAM;IAEjC,SAAS,CAAC,yBAAyB,UAAS;IAE5C;;OAEG;IAEH,OAAO,CAAC,gBAAgB,CAAoB;IAE5C;;OAEG;IAEH,OAAO,CAAC,SAAS,CAAe;IAEhC;;OAEG;IAEH,OAAO,CAAC,oBAAoB,CAAe;IAE3C;;;OAGG;IACH,SAAS,CAAC,sBAAsB,CAAC,IAAI,KAAA;IAQrC;;;;;;OAMG;IACH,SAAS,CAAC,mBAAmB,CAC3B,IAAI,EAAE,eAAe,EACrB,SAAS,EAAE,MAAM,GAChB,OAAO;IAOV;;OAEG;IACH,SAAS,CAAC,YAAY;IA0CtB,SAAS,CAAC,iBAAiB,CAAC,KAAK,EAAE,UAAU;IAS7C,SAAS,CAAC,oBAAoB,CAAC,KAAK,EAAE,aAAa;IAenD;;OAEG;IACH,SAAS,CAAC,8BAA8B;IAcxC,SAAS,CAAC,8BAA8B,CAAC,IAAI,CAAC,EAAE,eAAe;IAiB/D,SAAS,CAAC,mBAAmB,CAAC,YAAY,CAAC,EAAE,eAAe;IAiB5D,SAAS,CAAC,YAAY,IAAI,cAAc;IAgCxC,SAAS,CAAC,qBAAqB,IAAI,cAAc,GAAG,IAAI;IAuBxD;;OAEG;IAEH,mBAAmB,SAAM;IAEzB;;OAEG;IAEH,UAAU,SAAM;IAEhB;;OAEG;IAEH,WAAW,EAAG,CAAC,IAAI,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,KAAK,OAAO,CAAC;IAEpE,YAAY,CAAC,iBAAiB,KAAA;IAS9B,OAAO;IAQP,MAAM,CAAC,YAAY,cAAsB;IAEzC;;OAEG;IACH,MAAM,KAAK,uBAAuB,WAEjC;IAED;;OAEG;IACH,MAAM,KAAK,YAAY,WAEtB;IAED;;OAEG;IACH,MAAM,KAAK,oBAAoB,WAE9B;IAED;;;OAGG;IACH,MAAM,KAAK,iBAAiB,WAE3B;IAED;;OAEG;IACH,MAAM,KAAK,WAAW,WAErB;IAED;;;OAGG;IACH,MAAM,KAAK,iBAAiB,WAE3B;IAED;;OAEG;IACH,MAAM,KAAK,WAAW,WAErB;IAED,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,WAAW,CAAC","file":"combo-box.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2023\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { classMap } from 'lit/directives/class-map.js';\nimport { TemplateResult, html } from 'lit';\nimport { property, query } from 'lit/decorators.js';\nimport Close16 from '@carbon/icons/lib/close/16';\nimport { prefix } from '../../globals/settings';\nimport { findIndex, forEach } from '../../globals/internal/collection-helpers';\nimport CDSDropdown, { DROPDOWN_KEYBOARD_ACTION } from '../dropdown/dropdown';\nimport CDSComboBoxItem from './combo-box-item';\nimport styles from './combo-box.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\nexport { DROPDOWN_DIRECTION, DROPDOWN_SIZE } from '../dropdown/dropdown';\n\n/**\n * Combo box.\n *\n * @element cds-combo-box\n * @fires cds-combo-box-beingselected\n * The custom event fired before a combo box item is selected upon a user gesture.\n * Cancellation of this event stops changing the user-initiated selection.\n * @fires cds-combo-box-beingtoggled\n * The custom event fired before the open state of this combo box is toggled upon a user gesture.\n * Cancellation of this event stops the user-initiated toggling.\n * @fires cds-combo-box-selected - The custom event fired after a combo box item is selected upon a user gesture.\n * @fires cds-combo-box-toggled - The custom event fired after the open state of this combo box is toggled upon a user gesture.\n */\n@customElement(`${prefix}-combo-box`)\nclass CDSComboBox extends CDSDropdown {\n /**\n * The text content that should be set to the `<input>` for filtering.\n */\n protected _filterInputValue = '';\n\n protected _shouldTriggerBeFocusable = false;\n\n /**\n * The `<input>` for filtering.\n */\n @query('input')\n private _filterInputNode!: HTMLInputElement;\n\n /**\n * The menu containing all selectable items.\n */\n @query('#menu-body')\n private _itemMenu!: HTMLElement;\n\n /**\n * The selection button.\n */\n @query('#selection-button')\n private _selectionButtonNode!: HTMLElement;\n\n /**\n * @param item A combo box item.\n * @returns `true` if the given combo box item matches the query text user types.\n */\n protected _testItemWithQueryText(item) {\n return (this.itemMatches || this._defaultItemMatches)(\n item,\n this._filterInputNode.value\n );\n }\n\n /* eslint-disable class-methods-use-this */\n /**\n * The default item matching callback.\n *\n * @param item The combo box item.\n * @param queryText The query text user types.\n * @returns `true` if the given combo box item matches the given query text.\n */\n protected _defaultItemMatches(\n item: CDSComboBoxItem,\n queryText: string\n ): boolean {\n return (\n item.textContent!.toLowerCase().indexOf(queryText.toLowerCase()) >= 0\n );\n }\n /* eslint-enable class-methods-use-this */\n\n /**\n * Handles `input` event on the `<input>` for filtering.\n */\n protected _handleInput() {\n if (this._filterInputValue.length != 0) {\n this.setAttribute('isClosable', '');\n } else {\n this.removeAttribute('isClosable');\n }\n\n const items = this.querySelectorAll(\n (this.constructor as typeof CDSComboBox).selectorItem\n );\n const index = !this._filterInputNode.value\n ? -1\n : findIndex(items, this._testItemWithQueryText, this);\n forEach(items, (item, i) => {\n if (i === index) {\n const menuRect = this._itemMenu?.getBoundingClientRect();\n const itemRect = item.getBoundingClientRect();\n\n if (menuRect && itemRect) {\n const isViewable =\n menuRect!.top <= itemRect?.top &&\n itemRect?.bottom <= menuRect?.top + this._itemMenu!.clientHeight;\n if (!isViewable) {\n const scrollTop = itemRect?.top - menuRect?.top;\n const scrollBot = itemRect?.bottom - menuRect?.bottom;\n\n if (Math.abs(scrollTop) < Math.abs(scrollBot)) {\n this._itemMenu!.scrollTop += scrollTop;\n } else {\n this._itemMenu!.scrollTop += scrollBot;\n }\n }\n }\n }\n (item as CDSComboBoxItem).highlighted = i === index;\n });\n const { _filterInputNode: filterInput } = this;\n this._filterInputValue = !filterInput ? '' : filterInput.value;\n this.open = true;\n this.requestUpdate(); // If the only change is to `_filterInputValue`, auto-update doesn't happen\n }\n\n protected _handleClickInner(event: MouseEvent) {\n const { target } = event as any;\n if (this._selectionButtonNode?.contains(target)) {\n this._handleUserInitiatedClearInput();\n } else {\n super._handleClickInner(event);\n }\n }\n\n protected _handleKeypressInner(event: KeyboardEvent) {\n const { key } = event;\n const action = (this.constructor as typeof CDSDropdown).getAction(key);\n const { TRIGGERING } = DROPDOWN_KEYBOARD_ACTION;\n if (\n this._selectionButtonNode?.contains(event.target as Node) &&\n // Space key should be handled by `<input>` unless \"clear selection\" button has focus\n (action === TRIGGERING || key === ' ')\n ) {\n this._handleUserInitiatedClearInput();\n } else {\n super._handleKeypressInner(event);\n }\n }\n\n /**\n * Handles user-initiated clearing the `<input>` for filtering.\n */\n protected _handleUserInitiatedClearInput() {\n forEach(\n this.querySelectorAll(\n (this.constructor as typeof CDSComboBox).selectorItem\n ),\n (item) => {\n (item as CDSComboBoxItem).highlighted = false;\n }\n );\n this._filterInputValue = '';\n this._filterInputNode.focus();\n this._handleUserInitiatedSelectItem();\n }\n\n protected _handleUserInitiatedSelectItem(item?: CDSComboBoxItem) {\n if (item && !this._selectionShouldChange(item)) {\n // Escape hatch for `shouldUpdate()` logic that updates `._filterInputValue()` when selection changes,\n // given we want to update the `<input>` and close the dropdown even if selection doesn't update.\n // Use case:\n // 1. Select the 2nd item in combo box drop down\n // 2. Type some text in the `<input>`\n // 3. Re-select the 2nd item in combo box drop down,\n // the `<input>` has to updated with the 2nd item and the dropdown should be closed,\n // even if there is no change in the selected value\n this._filterInputValue = item.textContent || '';\n this.open = false;\n this.requestUpdate();\n }\n super._handleUserInitiatedSelectItem(item);\n }\n\n protected _selectionDidChange(itemToSelect?: CDSComboBoxItem) {\n this.value = !itemToSelect ? '' : itemToSelect.value;\n forEach(\n this.querySelectorAll(\n (this.constructor as typeof CDSDropdown).selectorItemSelected\n ),\n (item) => {\n (item as CDSComboBoxItem).selected = false;\n }\n );\n if (itemToSelect) {\n itemToSelect.selected = true;\n this._assistiveStatusText = this.selectedItemAssistiveText;\n }\n this._handleUserInitiatedToggle(false);\n }\n\n protected _renderLabel(): TemplateResult {\n const {\n disabled,\n inputLabel,\n label,\n readOnly,\n value,\n _filterInputValue: filterInputValue,\n _handleInput: handleInput,\n } = this;\n\n const inputClasses = classMap({\n [`${prefix}--text-input`]: true,\n [`${prefix}--text-input--empty`]: !value,\n });\n\n return html`\n <input\n id=\"trigger-label\"\n class=\"${inputClasses}\"\n ?disabled=${disabled}\n placeholder=\"${label}\"\n .value=${filterInputValue}\n role=\"combobox\"\n aria-label=\"${inputLabel}\"\n aria-controls=\"menu-body\"\n aria-autocomplete=\"list\"\n ?readonly=${readOnly}\n @input=${handleInput} />\n `;\n }\n\n protected _renderFollowingLabel(): TemplateResult | void {\n const { clearSelectionLabel, _filterInputValue: filterInputValue } = this;\n\n if (filterInputValue.length != 0) {\n this.setAttribute('isClosable', '');\n } else {\n this.removeAttribute('isClosable');\n }\n\n return filterInputValue.length === 0\n ? undefined\n : html`\n <div\n id=\"selection-button\"\n role=\"button\"\n class=\"${prefix}--list-box__selection\"\n tabindex=\"0\"\n title=\"${clearSelectionLabel}\">\n ${Close16({ 'aria-label': clearSelectionLabel })}\n </div>\n `;\n }\n\n /**\n * The `aria-label` attribute for the icon to clear selection.\n */\n @property({ attribute: 'clear-selection-label' })\n clearSelectionLabel = '';\n\n /**\n * The `aria-label` attribute for the `<input>` for filtering.\n */\n @property({ attribute: 'input-label' })\n inputLabel = '';\n\n /**\n * The custom item matching callback.\n */\n @property({ attribute: false })\n itemMatches!: (item: CDSComboBoxItem, queryText: string) => boolean;\n\n shouldUpdate(changedProperties) {\n super.shouldUpdate(changedProperties);\n const { _selectedItemContent: selectedItemContent } = this;\n if (selectedItemContent && changedProperties.has('value')) {\n this._filterInputValue = selectedItemContent?.textContent || '';\n }\n return true;\n }\n\n updated() {\n const { _listBoxNode: listBoxNode } = this;\n if (listBoxNode) {\n listBoxNode.classList.add(`${prefix}--combo-box`);\n }\n }\n\n // For combo box, open/selection with space key is disabled given the input box should take it over\n static TRIGGER_KEYS = new Set(['Enter']);\n\n /**\n * A selector that will return highlighted items.\n */\n static get selectorItemHighlighted() {\n return `${prefix}-combo-box-item[highlighted]`;\n }\n\n /**\n * A selector that will return combo box items.\n */\n static get selectorItem() {\n return `${prefix}-combo-box-item`;\n }\n\n /**\n * A selector that will return selected items.\n */\n static get selectorItemSelected() {\n return `${prefix}-combo-box-item[selected]`;\n }\n\n /**\n * The name of the custom event fired before this combo box item is being toggled upon a user gesture.\n * Cancellation of this event stops the user-initiated action of toggling this combo box item.\n */\n static get eventBeforeToggle() {\n return `${prefix}-combo-box-beingtoggled`;\n }\n\n /**\n * The name of the custom event fired after this combo box item is toggled upon a user gesture.\n */\n static get eventToggle() {\n return `${prefix}-combo-box-toggled`;\n }\n\n /**\n * The name of the custom event fired before a combo box item is selected upon a user gesture.\n * Cancellation of this event stops changing the user-initiated selection.\n */\n static get eventBeforeSelect() {\n return `${prefix}-combo-box-beingselected`;\n }\n\n /**\n * The name of the custom event fired after a a combo box item is selected upon a user gesture.\n */\n static get eventSelect() {\n return `${prefix}-combo-box-selected`;\n }\n\n static styles = styles;\n}\n\nexport default CDSComboBox;\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/combo-box/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,aAAa,CAAC;AACrB,OAAO,kBAAkB,CAAC","file":"index.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2021, 2022\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport './combo-box';\nimport './combo-box-item';\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/content-switcher/content-switcher-item.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOvC;;;;GAIG;AAEH,MAAM,CAAC,OAAO,OAAO,sBAAuB,SAAQ,2BAAsB;IACxE;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;;;OAIG;IAEH,WAAW,UAAS;IAEpB;;;;OAIG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,MAAM,EAAG,MAAM,CAAC;IAEhB;;;OAGG;IAEH,KAAK,SAAM;IAEX;;OAEG;IAEH,IAAI,UAAS;IAEb;;;OAGG;IAEH,KAAK,SAAS;IAEd;;;OAGG;IAEH,iBAAiB,UAAQ;IAEzB;;;OAGG;IACH,YAAY,SAAO;IAEnB;;;;;OAKG;IACH,YAAY,SAAO;IAEnB,OAAO,CAAC,iBAAiB,KAAA;IAUzB,SAAS,CAAC,qBAAqB;IAQ/B,YAAY,CAAC,iBAAiB,KAAA;IAa9B,MAAM;IA8BN,MAAM,CAAC,iBAAiB;;;;MAGtB;IACF,MAAM,CAAC,MAAM,MAAU;CACxB","file":"content-switcher-item.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2023\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { classMap } from 'lit/directives/class-map.js';\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport { LitElement, html } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { prefix } from '../../globals/settings';\nimport FocusMixin from '../../globals/mixins/focus';\nimport styles from './content-switcher.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * Content switcher button.\n *\n * @element cds-content-switcher-item\n */\n@customElement(`${prefix}-content-switcher-item`)\nexport default class CDSContentSwitcherItem extends FocusMixin(LitElement) {\n /**\n * `true` if this content switcher item should be disabled.\n */\n @property({ type: Boolean, reflect: true })\n disabled = false;\n\n /**\n * `true` to hide the divider at the left.\n *\n * @private\n */\n @property({ type: Boolean, reflect: true, attribute: 'hide-divider' })\n hideDivider = false;\n\n /**\n * `true` if the content switcher button should be selected.\n *\n * @private\n */\n @property({ type: Boolean, reflect: true })\n selected = false;\n\n /**\n * The element ID of target panel.\n */\n @property()\n target!: string;\n\n /**\n * The `value` attribute that is set to the parent `<cds-content-switcher>`\n * when this content switcher item is selected.\n */\n @property()\n value = '';\n\n /**\n * `true` if the content switcher button should be icon-only.\n */\n @property({ type: Boolean, reflect: true })\n icon = false;\n\n /**\n * Specify how the trigger should align with the tooltip for icon-only\n * switcher item\n */\n @property({ reflect: true, type: String })\n align = 'top';\n\n /**\n * Determines whether the tooltip should close when inner content is\n * activated (click, Enter or Space)\n */\n @property({ attribute: 'close-on-activation', reflect: true, type: Boolean })\n closeOnActivation = true;\n\n /**\n * Specify the duration in milliseconds to delay before displaying the\n * tooltip for icon-only switcher item\n */\n enterDelayMs = 100;\n\n /**\n * Specify the duration in milliseconds to delay before hiding the tooltip\n * for icon-only switcher-item\n *\n * TODO: match upstream value once #10471 is resolved\n */\n leaveDelayMs = 100;\n\n updated(changedProperties) {\n if (changedProperties) {\n this.shadowRoot\n ?.querySelector(`${prefix}-tooltip`)\n ?.shadowRoot?.querySelector(`.${prefix}--tooltip`)\n ?.classList.add(`${prefix}--icon-tooltip`);\n }\n }\n\n // eslint-disable-next-line class-methods-use-this\n protected _renderTooltipContent() {\n return html`\n <cds-tooltip-content>\n <slot name=\"tooltip-content\"></slot>\n </cds-tooltip-content>\n `;\n }\n\n shouldUpdate(changedProperties) {\n if (changedProperties.has('selected') || changedProperties.has('target')) {\n const { selected, target } = this;\n if (target) {\n const doc = this.getRootNode() as HTMLDocument;\n // `doc` can be an element if such element is orphaned\n const targetNode = doc?.getElementById(target);\n targetNode?.toggleAttribute('hidden', !selected);\n }\n }\n return true;\n }\n\n render() {\n const { disabled, selected, target } = this;\n const className = classMap({\n [`${prefix}--content-switcher-btn`]: true,\n [`${prefix}--content-switcher--selected`]: selected,\n });\n const switcherItem = html`<button\n type=\"button\"\n role=\"tab\"\n class=\"${className}\"\n ?disabled=\"${disabled}\"\n tabindex=\"${selected ? '0' : '-1'}\"\n aria-controls=\"${ifDefined(target)}\"\n aria-selected=\"${Boolean(selected)}\">\n <span class=\"${prefix}--content-switcher__label\"><slot></slot></span>\n </button>`;\n\n if (this.icon) {\n const { align, closeOnActivation, enterDelayMs, leaveDelayMs } = this;\n return html`<cds-tooltip\n align=${align}\n close-on-activation=\"${closeOnActivation}\"\n enter-delay-ms=${enterDelayMs}\n leave-delay-ms=${leaveDelayMs}>\n ${switcherItem} ${this._renderTooltipContent()}\n </cds-tooltip>`;\n }\n return switcherItem;\n }\n\n static shadowRootOptions = {\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n };\n static styles = styles;\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/content-switcher/content-switcher.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAIvC,OAAO,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,MAAM,QAAQ,CAAC;AACrE,OAAO,sBAAsB,MAAM,yBAAyB,CAAC;AAI7D,OAAO,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,CAAC;AAiBvD;;;;;;;;GAQG;AAEH,MAAM,CAAC,OAAO,OAAO,kBAAmB,SAAQ,UAAU;IACxD;;;;OAIG;IACH,OAAO,CAAC,YAAY;IAwBpB;;;;OAIG;IACH,SAAS,CAAC,YAAY,CACpB,WAAW,EAAE,sBAAsB,EACnC,SAAS,EAAE,MAAM;IAUnB;;;;OAIG;IACH,SAAS,CAAC,YAAY,CAAC,EAAE,MAAM,EAAE,EAAE,UAAU;IAI7C;;;;OAIG;IACH,SAAS,CAAC,cAAc,CAAC,EAAE,GAAG,EAAE,EAAE,aAAa;IAM/C;;;;OAIG;IACH,SAAS,CAAC,8BAA8B,CAAC,IAAI,EAAE,sBAAsB;IAsBrE;;;;OAIG;IACH,SAAS,CAAC,SAAS,CAAC,SAAS,EAAE,MAAM;IAarC;;;;OAIG;IACH,SAAS,CAAC,mBAAmB,CAAC,YAAY,EAAE,sBAAsB;IA8BlE;;OAEG;IAEH,KAAK,SAAM;IAEX;;OAEG;IAEH,IAAI,wBAAiC;IAErC;;OAEG;IAEH,QAAQ,UAAS;IAEjB,YAAY,CAAC,iBAAiB,KAAA;IAe9B,iBAAiB;IAcjB;;OAEG;IACH,MAAM,KAAK,YAAY,WAEtB;IAED;;OAEG;IACH,MAAM,KAAK,gBAAgB,WAE1B;IAED;;OAEG;IACH,MAAM,KAAK,mBAAmB,WAE7B;IAED;;OAEG;IACH,MAAM,KAAK,oBAAoB,WAE9B;IAED;;;OAGG;IACH,MAAM,KAAK,iBAAiB,WAE3B;IAED;;OAEG;IACH,MAAM,KAAK,WAAW,WAErB;IAED,MAAM;IAgBN,MAAM,CAAC,MAAM,MAAU;CACxB","file":"content-switcher.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2023\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { LitElement, html } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { prefix } from '../../globals/settings';\nimport { forEach, indexOf } from '../../globals/internal/collection-helpers';\nimport { NAVIGATION_DIRECTION, CONTENT_SWITCHER_SIZE } from './defs';\nimport CDSContentSwitcherItem from './content-switcher-item';\nimport styles from './content-switcher.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\nexport { NAVIGATION_DIRECTION, CONTENT_SWITCHER_SIZE };\n\n/**\n * @param index The index\n * @param length The length of the array.\n * @returns The new index, adjusting overflow/underflow.\n */\nconst capIndex = (index: number, length: number) => {\n if (index < 0) {\n return length - 1;\n }\n if (index >= length) {\n return 0;\n }\n return index;\n};\n\n/**\n * Content switcher.\n *\n * @element cds-content-switcher\n * @fires cds-content-switcher-beingselected\n * The custom event fired before a content switcher item is selected upon a user gesture.\n * Cancellation of this event stops changing the user-initiated selection.\n * @fires cds-content-switcher-selected - The custom event fired after a a content switcher item is selected upon a user gesture.\n */\n@customElement(`${prefix}-content-switcher`)\nexport default class CDSContentSwitcher extends LitElement {\n /**\n * Handles `mouseover`/`mouseout` events on `<slot>`.\n *\n * @param event The event.\n */\n private _handleHover({ target, type }: MouseEvent) {\n const { selectorItem } = this.constructor as typeof CDSContentSwitcher;\n const items = this.querySelectorAll(selectorItem);\n const index =\n type !== 'mouseover'\n ? -1\n : indexOf(items, (target as Element).closest(selectorItem)!);\n const nextIndex = index < 0 ? index : index + 1;\n forEach(this.querySelectorAll(selectorItem), (elem, i) => {\n // Specifies child `<cds-content-switcher-item>` to hide its divider instead of using CSS,\n // until `:host-context()` gets supported in all major browsers\n (elem as CDSContentSwitcherItem).hideDivider = i === nextIndex;\n });\n\n const { selectorItemSelected } = this\n .constructor as typeof CDSContentSwitcher;\n const selectedItem = this.querySelector(selectorItemSelected);\n const nextItem = this._getNextItem(\n selectedItem as CDSContentSwitcherItem,\n 1\n );\n (nextItem as CDSContentSwitcherItem).hideDivider = true;\n }\n\n /**\n * @param currentItem The currently selected item.\n * @param direction The navigation direction.\n * @returns The item to be selected.\n */\n protected _getNextItem(\n currentItem: CDSContentSwitcherItem,\n direction: number\n ) {\n const items = this.querySelectorAll(\n (this.constructor as typeof CDSContentSwitcher).selectorItemEnabled\n );\n const currentIndex = indexOf(items, currentItem);\n const nextIndex = capIndex(currentIndex + direction, items.length);\n return nextIndex === currentIndex ? null : items[nextIndex];\n }\n\n /**\n * Handles `click` event on the top-level element in the shadow DOM.\n *\n * @param event The event.\n */\n protected _handleClick({ target }: MouseEvent) {\n this._handleUserInitiatedSelectItem(target as CDSContentSwitcherItem);\n }\n\n /**\n * Handles `keydown` event on the top-level element in the shadow DOM.\n *\n * @param event The event.\n */\n protected _handleKeydown({ key }: KeyboardEvent) {\n if (key in NAVIGATION_DIRECTION) {\n this._navigate(NAVIGATION_DIRECTION[key]);\n }\n }\n\n /**\n * Handles user-initiated selection of a content switcher item.\n *\n * @param [item] The content switcher item user wants to select.\n */\n protected _handleUserInitiatedSelectItem(item: CDSContentSwitcherItem) {\n if (!item.disabled && item.value !== this.value) {\n const init = {\n bubbles: true,\n composed: true,\n detail: {\n item,\n },\n };\n const constructor = this.constructor as typeof CDSContentSwitcher;\n const beforeSelectEvent = new CustomEvent(constructor.eventBeforeSelect, {\n ...init,\n cancelable: true,\n });\n if (this.dispatchEvent(beforeSelectEvent)) {\n this._selectionDidChange(item);\n const afterSelectEvent = new CustomEvent(constructor.eventSelect, init);\n this.dispatchEvent(afterSelectEvent);\n }\n }\n }\n\n /**\n * Navigates through content switcher items.\n *\n * @param direction `-1` to navigate backward, `1` to navigate forward.\n */\n protected _navigate(direction: number) {\n const { selectorItemSelected } = this\n .constructor as typeof CDSContentSwitcher;\n const nextItem = this._getNextItem(\n this.querySelector(selectorItemSelected) as CDSContentSwitcherItem,\n direction\n );\n if (nextItem) {\n this._handleUserInitiatedSelectItem(nextItem as CDSContentSwitcherItem);\n this.requestUpdate();\n }\n }\n\n /**\n * A callback that runs after change in content switcher selection upon user interaction is confirmed.\n *\n * @param itemToSelect A content switcher item.\n */\n protected _selectionDidChange(itemToSelect: CDSContentSwitcherItem) {\n this.value = itemToSelect.value;\n forEach(\n this.querySelectorAll(\n (this.constructor as typeof CDSContentSwitcher).selectorItemSelected\n ),\n (item) => {\n (item as CDSContentSwitcherItem).selected = false;\n }\n );\n itemToSelect.selected = true;\n // Waits for rendering with the new state that updates `tabindex`\n Promise.resolve().then(() => {\n itemToSelect.focus();\n\n const { selectorItem } = this.constructor as typeof CDSContentSwitcher;\n const items = this.querySelectorAll(selectorItem);\n const index = indexOf(\n items,\n (itemToSelect as Element).closest(selectorItem)!\n );\n const nextIndex = index < 0 ? index : index + 1;\n forEach(this.querySelectorAll(selectorItem), (elem, i) => {\n // Specifies child `<cds-content-switcher-item>` to hide its divider instead of using CSS,\n // until `:host-context()` gets supported in all major browsers\n (elem as CDSContentSwitcherItem).hideDivider = i === nextIndex;\n });\n });\n }\n\n /**\n * The value of the selected item.\n */\n @property({ reflect: true })\n value = '';\n\n /**\n * Content switcher size.\n */\n @property({ reflect: true })\n size = CONTENT_SWITCHER_SIZE.REGULAR;\n\n /**\n * Icon only.\n */\n @property({ type: Boolean, reflect: true, attribute: 'icon' })\n iconOnly = false;\n\n shouldUpdate(changedProperties) {\n if (changedProperties.has('value')) {\n const { selectorItem } = this.constructor as typeof CDSContentSwitcher;\n forEach(this.querySelectorAll(selectorItem), (elem) => {\n (elem as CDSContentSwitcherItem).selected =\n (elem as CDSContentSwitcherItem).value === this.value;\n });\n }\n const { selectorIconItem } = this.constructor as typeof CDSContentSwitcher;\n if (this.querySelector(selectorIconItem)) {\n this.iconOnly = true;\n }\n return true;\n }\n\n _handleSlotchange() {\n const { selectorItemSelected } = this\n .constructor as typeof CDSContentSwitcher;\n const selectedItem = this.querySelector(selectorItemSelected);\n const nextItem = this._getNextItem(\n selectedItem as CDSContentSwitcherItem,\n 1\n );\n\n // Specifies child `<cds-content-switcher-item>` to hide its divider instead of using CSS,\n // until `:host-context()` gets supported in all major browsers\n (nextItem as CDSContentSwitcherItem).hideDivider = true;\n }\n\n /**\n * A selector that will return content switcher items.\n */\n static get selectorItem() {\n return `${prefix}-content-switcher-item`;\n }\n\n /**\n * A selector that will return content switcher icon items.\n */\n static get selectorIconItem() {\n return `${prefix}-content-switcher-item[icon]`;\n }\n\n /**\n * A selector that will return enabled content switcher items.\n */\n static get selectorItemEnabled() {\n return `${prefix}-content-switcher-item:not([disabled])`;\n }\n\n /**\n * A selector that will return selected items.\n */\n static get selectorItemSelected() {\n return `${prefix}-content-switcher-item[selected]`;\n }\n\n /**\n * The name of the custom event fired before a content switcher item is selected upon a user gesture.\n * Cancellation of this event stops changing the user-initiated selection.\n */\n static get eventBeforeSelect() {\n return `${prefix}-content-switcher-beingselected`;\n }\n\n /**\n * The name of the custom event fired after a a content switcher item is selected upon a user gesture.\n */\n static get eventSelect() {\n return `${prefix}-content-switcher-selected`;\n }\n\n render() {\n const {\n _handleHover: handleHover,\n _handleKeydown: handleKeydown,\n _handleSlotchange: handleSlotchange,\n } = this;\n return html`\n <slot\n @click=\"${this._handleClick}\"\n @keydown=\"${handleKeydown}\"\n @mouseover=\"${handleHover}\"\n @mouseout=\"${handleHover}\"\n @slotchange=${handleSlotchange}></slot>\n `;\n }\n\n static styles = styles;\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/content-switcher/defs.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH;;GAEG;AACH,eAAO,MAAM,oBAAoB;;;;;CAKhC,CAAC;AAEF;;GAEG;AACH,oBAAY,qBAAqB;IAC/B;;OAEG;IACH,OAAO,KAAK;IAEZ;;OAEG;IACH,KAAK,OAAO;IAEZ;;OAEG;IACH,KAAK,OAAO;IAGZ;;OAEG;IACH,WAAW,OAAO;CACnB","file":"defs.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2020, 2022, 2023\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n/**\n * Navigation direction, associated with key symbols.\n */\nexport const NAVIGATION_DIRECTION = {\n Left: -1,\n ArrowLeft: -1,\n Right: 1,\n ArrowRight: 1,\n};\n\n/**\n * Button size.\n */\nexport enum CONTENT_SWITCHER_SIZE {\n /**\n * Regular size.\n */\n REGULAR = '',\n\n /**\n * Small size.\n */\n SMALL = 'sm',\n\n /**\n * Large size.\n */\n LARGE = 'lg',\n\n // TODO: deprecate\n /**\n * X-Large size.\n */\n EXTRA_LARGE = 'xl',\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/content-switcher/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,oBAAoB,CAAC;AAC5B,OAAO,yBAAyB,CAAC","file":"index.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2021, 2022\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport './content-switcher';\nimport './content-switcher-item';\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/copy/copy.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAMH,OAAO,aAAa,MAAM,4BAA4B,CAAC;AAEvD;;;;GAIG;AACH,cACM,OAAQ,SAAQ,aAAa;IACjC;;OAEG;IACH,OAAO,CAAC,aAAa,CAAS;IAE9B;;OAEG;IACH,OAAO,CAAC,UAAU,CAAM;IAExB,OAAO,CAAC,4BAA4B,CAsBlC;IAEF;;OAEG;IACH,OAAO,CAAC,sBAAsB,CAAuC;IAErE;;OAEG;IACH,OAAO,CAAC,kBAAkB;IAI1B;;OAEG;IAEH,QAAQ,SAAa;IAErB;;OAEG;IAEH,eAAe,SAAQ;IAGvB,SAAS,CAAC,qBAAqB;IAU/B,iBAAiB;IASjB,OAAO,CAAC,iBAAiB,KAAA;IAoBzB,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,OAAO,CAAC","file":"copy.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2023\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { html } from 'lit';\nimport { property, customElement } from 'lit/decorators.js';\nimport { prefix } from '../../globals/settings';\nimport styles from '../copy-button/copy-button.scss';\nimport CDSIconButton from '../icon-button/icon-button';\n\n/**\n * Copy.\n *\n * @element cds-copy\n */\n@customElement(`${prefix}-copy`)\nclass CDSCopy extends CDSIconButton {\n /**\n * `true` to show the feedback tooltip.\n */\n private _showFeedback = false;\n\n /**\n * `true` to show the feedback tooltip.\n */\n private _animation = '';\n\n private _createHandleFeedbackTooltip = () => {\n let timeoutId: number | void;\n return (timeout: number) => {\n const buttonClasses = this.shadowRoot?.querySelector('button')?.classList;\n\n if (timeoutId) {\n clearTimeout(timeoutId);\n timeoutId = undefined;\n }\n this._showFeedback = true;\n buttonClasses?.add(`${prefix}--copy-btn--animating`);\n this._animation = 'fade-in';\n buttonClasses?.add(`${prefix}--copy-btn--${this._animation}`);\n this.requestUpdate();\n timeoutId = setTimeout(() => {\n this._showFeedback = false;\n this._animation = 'fade-out';\n buttonClasses?.remove(`${prefix}--copy-btn--fade-in`);\n buttonClasses?.add(`${prefix}--copy-btn--${this._animation}`);\n this.requestUpdate();\n }, timeout) as unknown as number;\n };\n };\n\n /**\n * Handles showing/hiding the feedback tooltip.\n */\n private _handleFeedbackTooltip = this._createHandleFeedbackTooltip();\n\n /**\n * Handles `click` event on the copy button.\n */\n private _handleClickButton() {\n this._handleFeedbackTooltip(this.feedbackTimeout);\n }\n\n /**\n * Specify the string that is displayed when the button is clicked and the content is copi\n */\n @property()\n feedback = 'Copied!';\n\n /**\n * The number in milliseconds to determine how long the tooltip should remain.\n */\n @property({ type: Number, attribute: 'feedback-timeout' })\n feedbackTimeout = 2000;\n\n // eslint-disable-next-line class-methods-use-this\n protected _renderTooltipContent() {\n return html`\n <cds-tooltip-content>\n ${this._showFeedback\n ? this.feedback\n : html`<slot name=\"tooltip-content\"></slot>`}\n </cds-tooltip-content>\n `;\n }\n\n connectedCallback() {\n this.closeOnActivation = false;\n this.align = 'bottom';\n\n this.addEventListener('click', this._handleClickButton);\n\n super.connectedCallback();\n }\n\n updated(changedProperties) {\n this.shadowRoot\n ?.querySelector('button')\n ?.addEventListener('animationend', () => {\n if (this._animation === 'fade-out') {\n const buttonClasses =\n this.shadowRoot?.querySelector('button')?.classList;\n buttonClasses?.remove(`${prefix}--copy-btn--animating`);\n buttonClasses?.remove(`${prefix}--copy-btn--${this._animation}`);\n this._animation = '';\n }\n });\n\n super.updated(changedProperties);\n\n this.shadowRoot\n ?.querySelector('button') // @ts-ignore: TS thinks `host` doesn't exist on `parentNode`\n ?.setAttribute('aria-label', this.parentNode?.host.textContent);\n }\n\n static styles = styles;\n}\n\nexport default CDSCopy;\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/copy-button/copy-button.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAMvC,OAAO,cAAc,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEtB;;;;GAIG;AACH,cACM,aAAc,SAAQ,kBAAsB;IAChD;;OAEG;IAEH,eAAe,MAAC;IAEhB;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,QAAQ,SAAa;IAErB;;OAEG;IAEH,eAAe,SAAQ;IAEvB,MAAM;IAqBN,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,aAAa,CAAC","file":"copy-button.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2023\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { LitElement, html } from 'lit';\nimport { property, customElement } from 'lit/decorators.js';\nimport Copy16 from '@carbon/icons/lib/copy/16';\nimport { prefix } from '../../globals/settings';\nimport FocusMixin from '../../globals/mixins/focus';\nimport styles from './copy-button.scss';\nimport '../copy/copy';\n\n/**\n * Copy button.\n *\n * @element cds-copy-button\n */\n@customElement(`${prefix}-copy-button`)\nclass CDSCopyButton extends FocusMixin(LitElement) {\n /**\n * Specify an optional className to be added to your Button\n */\n @property({ reflect: true, attribute: 'button-class-name' })\n buttonClassName;\n\n /**\n * `true` if the button should be disabled.\n */\n @property({ type: Boolean, reflect: true })\n disabled = false;\n\n /**\n * Specify the string that is displayed when the button is clicked and the content is copi\n */\n @property()\n feedback = 'Copied!';\n\n /**\n * The number in milliseconds to determine how long the tooltip should remain.\n */\n @property({ type: Number, attribute: 'feedback-timeout' })\n feedbackTimeout = 2000;\n\n render() {\n const { buttonClassName, disabled, feedback, feedbackTimeout } = this;\n\n let classes = `${prefix}--copy-btn`;\n\n if (buttonClassName) {\n classes += ` ${buttonClassName}`;\n }\n\n return html`\n <cds-copy\n ?disabled=${disabled}\n feedback=${feedback}\n feedback-timeout=${feedbackTimeout}\n button-class-name=${classes}>\n ${Copy16({ slot: 'icon', class: `${prefix}--snippet__icon` })}\n <slot slot=\"tooltip-content\"></slot>\n </cds-copy>\n `;\n }\n\n static styles = styles;\n}\n\nexport default CDSCopyButton;\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/copy-button/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,eAAe,CAAC","file":"index.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2021, 2022\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport './copy-button';\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/data-table/defs.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH;;GAEG;AACH,oBAAY,UAAU;IACpB;;OAEG;IACH,EAAE,OAAO;IAET;;OAEG;IACH,EAAE,OAAO;IAET;;OAEG;IACH,EAAE,OAAO;IAET;;OAEG;IACH,EAAE,OAAO;IAET;;OAEG;IACH,EAAE,OAAO;CACV;AAED;;GAEG;AACH,oBAAY,oBAAoB;IAC9B;;OAEG;IACH,IAAI,SAAS;IAEb;;OAEG;IACH,SAAS,cAAc;IAEvB;;OAEG;IACH,UAAU,eAAe;CAC1B;AAED;;GAEG;AACH,oBAAY,gBAAgB;IAC1B,wBAAwB,6BAA6B;IACrD,yBAAyB,8BAA8B;IACvD,yBAAyB,8BAA8B;IACvD,0BAA0B,+BAA+B;CAC1D;AAED;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;;;CAmB7B,CAAC","file":"defs.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2020, 2023\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n/**\n * Table size.\n */\nexport enum TABLE_SIZE {\n /**\n * xs size.\n */\n XS = 'xs',\n\n /**\n * sm size.\n */\n SM = 'sm',\n\n /**\n * md size.\n */\n MD = 'md',\n\n /**\n * lg size - default.\n */\n LG = 'lg',\n\n /**\n * xl size.\n */\n XL = 'xl',\n}\n\n/**\n * Table sort state.\n */\nexport enum TABLE_SORT_DIRECTION {\n /**\n * Not sorted.\n */\n NONE = 'none',\n\n /**\n * Sorted ascendingly.\n */\n ASCENDING = 'ascending',\n\n /**\n * Sorted descendingly.\n */\n DESCENDING = 'descending',\n}\n\n/**\n * Table sort cycle.\n */\nexport enum TABLE_SORT_CYCLE {\n BI_STATES_FROM_ASCENDING = 'bi-states-from-ascending',\n BI_STATES_FROM_DESCENDING = 'bi-states-from-descending',\n TRI_STATES_FROM_ASCENDING = 'tri-states-from-ascending',\n TRI_STATES_FROM_DESCENDING = 'tri-states-from-descending',\n}\n\n/**\n * Mapping of table sort cycles to table sort states.\n */\nexport const TABLE_SORT_CYCLES = {\n [TABLE_SORT_CYCLE.BI_STATES_FROM_ASCENDING]: [\n TABLE_SORT_DIRECTION.ASCENDING,\n TABLE_SORT_DIRECTION.DESCENDING,\n ],\n [TABLE_SORT_CYCLE.BI_STATES_FROM_DESCENDING]: [\n TABLE_SORT_DIRECTION.DESCENDING,\n TABLE_SORT_DIRECTION.ASCENDING,\n ],\n [TABLE_SORT_CYCLE.TRI_STATES_FROM_ASCENDING]: [\n TABLE_SORT_DIRECTION.NONE,\n TABLE_SORT_DIRECTION.ASCENDING,\n TABLE_SORT_DIRECTION.DESCENDING,\n ],\n [TABLE_SORT_CYCLE.TRI_STATES_FROM_DESCENDING]: [\n TABLE_SORT_DIRECTION.NONE,\n TABLE_SORT_DIRECTION.DESCENDING,\n TABLE_SORT_DIRECTION.ASCENDING,\n ],\n};\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/data-table/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,SAAS,CAAC;AACjB,OAAO,kBAAkB,CAAC;AAC1B,OAAO,sBAAsB,CAAC;AAC9B,OAAO,4BAA4B,CAAC;AACpC,OAAO,uBAAuB,CAAC;AAC/B,OAAO,cAAc,CAAC;AACtB,OAAO,cAAc,CAAC;AACtB,OAAO,sBAAsB,CAAC;AAC9B,OAAO,sBAAsB,CAAC;AAC9B,OAAO,cAAc,CAAC;AACtB,OAAO,qBAAqB,CAAC;AAC7B,OAAO,oBAAoB,CAAC;AAC5B,OAAO,aAAa,CAAC;AACrB,OAAO,kBAAkB,CAAC;AAC1B,OAAO,iBAAiB,CAAC;AACzB,OAAO,yBAAyB,CAAC;AACjC,OAAO,wBAAwB,CAAC","file":"index.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2021, 2022, 2023\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport './table';\nimport './table-skeleton';\nimport './table-header-title';\nimport './table-header-description';\nimport './table-batch-actions';\nimport './table-body';\nimport './table-cell';\nimport './table-cell-content';\nimport './table-expanded-row';\nimport './table-head';\nimport './table-header-cell';\nimport './table-header-row';\nimport './table-row';\nimport './table-skeleton';\nimport './table-toolbar';\nimport './table-toolbar-content';\nimport './table-toolbar-search';\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/data-table/table-batch-actions.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAMvC;;;;;GAKG;AACH,cACM,oBAAqB,SAAQ,UAAU;IAC3C;;OAEG;IACH,OAAO,CAAC,aAAa;IAQrB;;OAEG;IAEH,MAAM,UAAS;IAEf;;OAEG;IAEH,wBAAwB;;iBAC2B;IAEnD;;;OAGG;IAEH,iBAAiB,SAAK;IAEtB,YAAY;IAQZ,OAAO,CAAC,iBAAiB,KAAA;IAMzB,MAAM;IAuBN;;OAEG;IACH,MAAM,KAAK,eAAe,WAEzB;IAED;;OAEG;IACH,MAAM,KAAK,gBAAgB,WAE1B;IAED,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,oBAAoB,CAAC","file":"table-batch-actions.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2023\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { LitElement, html } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { prefix } from '../../globals/settings';\nimport styles from './data-table.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * Table batch actions.\n *\n * @element cds-table-batch-actions\n * @fires cds-table-batch-actions-cancel-clicked - The custom event fired after the Cancel button is clicked.\n */\n@customElement(`${prefix}-table-batch-actions`)\nclass CDSTableBatchActions extends LitElement {\n /**\n * Handles `click` event on the Cancel button.\n */\n private _handleCancel() {\n const { eventClickCancel } = this\n .constructor as typeof CDSTableBatchActions;\n this.dispatchEvent(\n new CustomEvent(eventClickCancel, { bubbles: true, composed: true })\n );\n }\n\n /**\n * `true` if this batch actions bar should be active.\n */\n @property({ type: Boolean, reflect: true })\n active = false;\n\n /**\n * The formatter for selected items. Should be changed upon the locale the UI is rendered with.\n */\n @property({ attribute: false })\n formatSelectedItemsCount = ({ count }) =>\n `${count} item${count <= 1 ? '' : 's'} selected`;\n\n /**\n * Numeric representation of the total number of items selected in a table.\n * This number is used to derive the selection message.\n */\n @property({ type: Number, attribute: 'selected-rows-count' })\n selectedRowsCount = 0;\n\n firstUpdated() {\n this.querySelectorAll(\n (this.constructor as typeof CDSTableBatchActions).selectorButtons\n ).forEach((e) => {\n e.setAttribute('batch-action', '');\n });\n }\n\n updated(changedProperties) {\n if (changedProperties.has('active')) {\n this.setAttribute('tabindex', `${this.active ? '' : '-1'}`);\n }\n }\n\n render() {\n const {\n formatSelectedItemsCount,\n selectedRowsCount,\n _handleCancel: handleCancel,\n } = this;\n return html`\n <div class=\"${prefix}--batch-summary\">\n <p class=\"${prefix}--batch-summary__para\">\n ${formatSelectedItemsCount({ count: selectedRowsCount })}\n </p>\n </div>\n <div class=\"${prefix}--action-list\">\n <slot></slot>\n <button\n class=\"${prefix}--btn ${prefix}--btn--primary ${prefix}--batch-summary__cancel\"\n @click=${handleCancel}>\n <slot name=\"cancel-button-content\">Cancel</slot>\n </button>\n </div>\n `;\n }\n\n /**\n * The CSS selector to find the action buttons.\n */\n static get selectorButtons() {\n return `${prefix}-button`;\n }\n\n /**\n * The name of the custom event fired after the Cancel button is clicked.\n */\n static get eventClickCancel() {\n return `${prefix}-table-batch-actions-cancel-clicked`;\n }\n\n static styles = styles;\n}\n\nexport default CDSTableBatchActions;\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/data-table/table-body.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAOvC;;;;GAIG;AACH,cACM,YAAa,SAAQ,UAAU;IACnC;;OAEG;IAEH,OAAO,CAAC,SAAS,CAAmB;IAEpC;;OAEG;IACH,OAAO,CAAC,YAAY;IAWpB;;OAEG;IACH,OAAO,CAAC,iBAAiB,CAEvB;IAEF;;;;OAIG;IAIH;;OAEG;IAEH,cAAc,UAAS;IAEvB,iBAAiB;IAOjB,OAAO,CAAC,iBAAiB,KAAA;IAMzB,MAAM;IAKN,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,YAAY,CAAC","file":"table-body.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2023\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { LitElement, html } from 'lit';\nimport { property, query } from 'lit/decorators.js';\nimport { prefix } from '../../globals/settings';\nimport CDSTableRow from './table-row';\nimport styles from './data-table.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * Data table body.\n *\n * @element cds-table-body\n */\n@customElement(`${prefix}-table-body`)\nclass CDSTableBody extends LitElement {\n /**\n * The `<slot>` element in the shadow DOM.\n */\n @query('slot')\n private _slotNode!: HTMLSlotElement;\n\n /**\n * Updates `even`/`odd` properties of the child `<cds-table-row>`s.\n */\n private _updateZebra() {\n const { useZebraStyles, _slotNode: slotNode } = this;\n slotNode.assignedNodes().forEach((node) => {\n if (node.nodeType === Node.ELEMENT_NODE) {\n const even = (node as HTMLElement).matches('*:nth-of-type(even)');\n (node as CDSTableRow).even = useZebraStyles && even;\n (node as CDSTableRow).odd = useZebraStyles && !even;\n }\n });\n }\n\n /**\n * Handles `slotchange` event in the `<slot>` element in the shadow DOM.\n */\n private _handleSlotChange = () => {\n this._updateZebra();\n };\n\n /**\n * TODO: Uncomment when Carbon fully implements sticky header\n * Specify whether the header should be sticky.\n * Still experimental: may not work with every combination of table props\n */\n // @property({ type: Boolean, reflect: true, attribute: 'sticky-header' })\n // stickyHeader = false;\n\n /**\n * The color scheme.\n */\n @property({ type: Boolean, reflect: true, attribute: 'use-zebra-styles' })\n useZebraStyles = false;\n\n connectedCallback() {\n if (!this.hasAttribute('role')) {\n this.setAttribute('role', 'rowgroup');\n }\n super.connectedCallback();\n }\n\n updated(changedProperties) {\n if (changedProperties.has('useZebraStyles')) {\n this._updateZebra();\n }\n }\n\n render() {\n const { _handleSlotChange: handleSlotChange } = this;\n return html` <slot @slotchange=\"${handleSlotChange}\"></slot> `;\n }\n\n static styles = styles;\n}\n\nexport default CDSTableBody;\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/data-table/table-cell-content.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAKvC;;;;GAIG;AACH,cACM,mBAAoB,SAAQ,UAAU;IAC1C,MAAM;IAIN,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,mBAAmB,CAAC","file":"table-cell-content.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2023\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { LitElement, html } from 'lit';\nimport { customElement } from 'lit/decorators.js';\nimport { prefix } from '../../globals/settings';\nimport styles from './data-table.scss';\n\n/**\n * Data table cell content.\n *\n * @element cds-table-cell-content\n */\n@customElement(`${prefix}-table-cell-content`)\nclass CDSTableCellContent extends LitElement {\n render() {\n return html` <slot></slot> `;\n }\n\n static styles = styles;\n}\n\nexport default CDSTableCellContent;\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/data-table/table-cell.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAMvC;;;;GAIG;AACH,cACM,YAAa,SAAQ,UAAU;IACnC;;OAEG;IAMH,mBAAmB,UAAS;IAE5B;;OAEG;IAEH,IAAI,MAAC;IAEL;;;;OAIG;IAIH,iBAAiB;IAOjB,MAAM;IAIN,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,YAAY,CAAC","file":"table-cell.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2023\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { LitElement, html } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { prefix } from '../../globals/settings';\nimport styles from './data-table.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * Data table cell.\n *\n * @element cds-table-cell\n */\n@customElement(`${prefix}-table-cell`)\nclass CDSTableCell extends LitElement {\n /**\n * Specify whether the overflow menu (if it exists) should be shown always, or only on hover\n */\n @property({\n type: Boolean,\n reflect: true,\n attribute: 'overflow-menu-on-hover',\n })\n overflowMenuOnHover = false;\n\n /**\n * The table size.\n */\n @property({ reflect: true })\n size;\n\n /**\n * TODO: Uncomment when Carbon fully implements sticky header\n * Specify whether the header should be sticky.\n * Still experimental: may not work with every combination of table props\n */\n // @property({ type: Boolean, reflect: true, attribute: 'sticky-header' })\n // stickyHeader = false;\n\n connectedCallback() {\n if (!this.hasAttribute('role')) {\n this.setAttribute('role', 'cell');\n }\n super.connectedCallback();\n }\n\n render() {\n return html`<slot></slot>`;\n }\n\n static styles = styles;\n}\n\nexport default CDSTableCell;\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/data-table/table-expanded-row.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASvC;;;;GAIG;AACH,cACM,mBAAoB,SAAQ,wBAA6B;IAC7D;;;;OAIG;IAIH,OAAO,CAAC,mBAAmB;IAS3B;;OAEG;IAEH,OAAO,SAAK;IAEZ;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,WAAW,UAAS;IAEpB;;OAEG;IAEH,QAAQ,UAAS;IAEjB,MAAM;IAWN;;OAEG;IACH,MAAM,KAAK,WAAW,WAErB;IAED,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,mBAAmB,CAAC","file":"table-expanded-row.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2020, 2023\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { LitElement, html } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { prefix } from '../../globals/settings';\nimport styles from './data-table.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\nimport HostListener from '../../globals/decorators/host-listener';\nimport HostListenerMixin from '../../globals/mixins/host-listener';\nimport CDSTableRow from './table-row';\n/**\n * Table row of collapsible details.\n *\n * @element cds-table-expanded-row\n */\n@customElement(`${prefix}-table-expanded-row`)\nclass CDSTableExpandedRow extends HostListenerMixin(LitElement) {\n /**\n * Handles `mouseover`/`mouseout` event handler on this element.\n *\n * @param event The event.\n */\n @HostListener('mouseover')\n @HostListener('mouseout')\n // @ts-ignore: The decorator refers to this method but TS thinks this method is not referred to\n private _handleMouseOverOut(event: MouseEvent) {\n const { selectorRow } = this.constructor as typeof CDSTableExpandedRow;\n const { previousElementSibling } = this;\n if (previousElementSibling?.matches(selectorRow)) {\n (previousElementSibling as CDSTableRow).highlighted =\n event.type === 'mouseover';\n }\n }\n\n /**\n * The colspan.\n */\n @property({ type: Number, attribute: 'colspan' })\n colSpan = 1;\n\n /**\n * `true` if the table row should be expanded.\n */\n @property({ type: Boolean, reflect: true })\n expanded = false;\n\n /**\n * `true` if the table row should be filtered.\n */\n @property({ type: Boolean, reflect: true })\n filtered = false;\n\n /**\n * `true` if the table row should be highlighted.\n */\n @property({ type: Boolean, reflect: true })\n highlighted = false;\n\n /**\n * `true` if the previous table row has been selected\n */\n @property({ type: Boolean, reflect: true })\n selected = false;\n\n render() {\n const { colSpan } = this;\n return html`\n <td colspan=\"${colSpan}\">\n <div class=\"${prefix}--child-row-inner-container\">\n <slot></slot>\n </div>\n </td>\n `;\n }\n\n /**\n * A selector that will return the previous sibling row.\n */\n static get selectorRow() {\n return `${prefix}-table-row`;\n }\n\n static styles = styles; // `styles` here is a `CSSResult` generated by custom WebPack loader\n}\n\nexport default CDSTableExpandedRow;\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/data-table/table-head.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAKvC;;;;GAIG;AACH,cACM,YAAa,SAAQ,UAAU;IACnC;;;;OAIG;IAIH,iBAAiB;IAOjB,MAAM;IAIN,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,YAAY,CAAC","file":"table-head.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2023\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { LitElement, html } from 'lit';\nimport { prefix } from '../../globals/settings';\nimport styles from './data-table.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * Data table header.\n *\n * @element cds-table-head\n */\n@customElement(`${prefix}-table-head`)\nclass CDSTableHead extends LitElement {\n /**\n * TODO: Uncomment when Carbon fully implements sticky header\n * Specify whether the header should be sticky.\n * Still experimental: may not work with every combination of table props\n */\n //@property({ type: Boolean, reflect: true, attribute: 'sticky-header' })\n // stickyHeader = false;\n\n connectedCallback() {\n if (!this.hasAttribute('role')) {\n this.setAttribute('role', 'rowgroup');\n }\n super.connectedCallback();\n }\n\n render() {\n return html` <slot></slot> `;\n }\n\n static styles = styles;\n}\n\nexport default CDSTableHead;\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/data-table/table-header-cell.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAMvC,OAAO,EACL,gBAAgB,EAChB,iBAAiB,EACjB,oBAAoB,EACrB,MAAM,QAAQ,CAAC;AAIhB,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAErE;;;;;;;GAOG;AACH,cACM,kBAAmB,SAAQ,uBAAsB;IACrD;;;OAGG;IACH,OAAO,CAAC,sBAAsB;IAoB9B;;;OAGG;IACH,OAAO,CAAC,iBAAiB;IAIzB;;OAEG;IACH,OAAO,CAAC,YAAY;IA0BpB;;OAEG;IAEH,YAAY,UAAS;IAErB;;OAEG;IAEH,YAAY,UAAS;IACrB;;OAEG;IAEH,UAAU,UAAS;IAEnB;;OAEG;IAEH,UAAU,UAAS;IAEnB;;OAEG;IAEH,SAAS,CAAC,EAAE,gBAAgB,CAAC;IAE7B;;;OAGG;IAEH,aAAa,CAAC,EAAE,oBAAoB,CAAC;IAErC;;;;OAIG;IAIH,iBAAiB;IAOjB,OAAO,CAAC,iBAAiB,KAAA;IAMzB,MAAM;IA6BN;;;OAGG;IACH,MAAM,KAAK,eAAe,WAEzB;IAED,MAAM,CAAC,iBAAiB;;;;MAGtB;IACF,MAAM,CAAC,MAAM,MAAU;IAEvB;;OAEG;IACH,MAAM,CAAC,iBAAiB;;;;;MAAqB;CAC9C;AAED,eAAe,kBAAkB,CAAC","file":"table-header-cell.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2023\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { LitElement, html } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport ArrowsVertical32 from '@carbon/icons/lib/arrows--vertical/32';\nimport ArrowDown32 from '@carbon/icons/lib/arrow--down/32';\nimport { prefix } from '../../globals/settings';\nimport FocusMixin from '../../globals/mixins/focus';\nimport {\n TABLE_SORT_CYCLE,\n TABLE_SORT_CYCLES,\n TABLE_SORT_DIRECTION,\n} from './defs';\nimport styles from './data-table.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\nexport { TABLE_SORT_CYCLE, TABLE_SORT_CYCLES, TABLE_SORT_DIRECTION };\n\n/**\n * Data table header cell.\n *\n * @element cds-table-header-cell\n * @fires cds-table-header-cell-sort\n * The custom event fired before a new sort direction is set upon a user gesture.\n * Cancellation of this event stops the user-initiated change in sort direction.\n */\n@customElement(`${prefix}-table-header-cell`)\nclass CDSTableHeaderCell extends FocusMixin(LitElement) {\n /**\n * Handles `click` event on the sort button.\n *\n */\n private _handleClickSortButton() {\n const nextSortDirection = this._getNextSort();\n const init = {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n oldSortDirection: this.sortDirection,\n sortDirection: nextSortDirection,\n },\n };\n const constructor = this.constructor as typeof CDSTableHeaderCell;\n if (\n this.dispatchEvent(new CustomEvent(constructor.eventBeforeSort, init))\n ) {\n this.sortActive = true;\n this.sortDirection = nextSortDirection;\n }\n }\n\n /**\n * Handles `slotchange` event.\n *\n */\n private _handleSlotChange() {\n this.requestUpdate();\n }\n\n /**\n * @returns The next sort direction.\n */\n private _getNextSort() {\n const {\n sortCycle = TABLE_SORT_CYCLE.TRI_STATES_FROM_ASCENDING,\n sortDirection,\n } = this;\n if (!sortDirection) {\n throw new TypeError(\n 'Table sort direction is not defined. ' +\n 'Likely that `_getNextSort()` is called with non-sorted table column, which should not happen in regular condition.'\n );\n }\n const directions = (this.constructor as typeof CDSTableHeaderCell)\n .TABLE_SORT_CYCLES[sortCycle];\n const index = directions.indexOf(sortDirection as TABLE_SORT_DIRECTION);\n if (index < 0) {\n if (sortDirection === TABLE_SORT_DIRECTION.NONE) {\n // If the current sort direction is `none` in bi-state sort cycle, returns the first one in the cycle\n return directions[0];\n }\n throw new RangeError(\n `The given sort state (${sortDirection}) is not found in the given table sort cycle: ${sortCycle}`\n );\n }\n return directions[(index + 1) % directions.length];\n }\n\n /**\n * `true` if the table has expandable rows\n */\n @property({ type: Boolean, reflect: true, attribute: 'is-sortable' })\n isExpandable = false;\n\n /**\n * `true` if this table has selectable rows\n */\n @property({ type: Boolean, reflect: true, attribute: 'is-sortable' })\n isSelectable = false;\n /**\n * `true` if this table header column should be sortable\n */\n @property({ type: Boolean, reflect: true, attribute: 'is-sortable' })\n isSortable = false;\n\n /**\n * `true` if this table header cell is of a primary sorting column.\n */\n @property({ type: Boolean, reflect: true, attribute: 'sort-active' })\n sortActive = false;\n\n /**\n * The table sort cycle in use.\n */\n @property({ reflect: true, attribute: 'sort-cycle' })\n sortCycle?: TABLE_SORT_CYCLE;\n\n /**\n * The table sort direction.\n * If present, this table header cell will have a sorting UI. Choose between `ascending` or `descending`.\n */\n @property({ reflect: true, attribute: 'sort-direction' })\n sortDirection?: TABLE_SORT_DIRECTION;\n\n /**\n * TODO: Uncomment when Carbon fully implements sticky header\n * Specify whether the header should be sticky.\n * Still experimental: may not work with every combination of table props\n */\n // @property({ type: Boolean, reflect: true, attribute: 'sticky-header' })\n // stickyHeader = false;\n\n connectedCallback() {\n if (!this.hasAttribute('role')) {\n this.setAttribute('role', 'columnheader');\n }\n super.connectedCallback();\n }\n\n updated(changedProperties) {\n if (this.isSortable && !changedProperties.has('sortDirection')) {\n this.sortDirection = TABLE_SORT_DIRECTION.NONE;\n }\n }\n\n render() {\n const { sortDirection } = this;\n if (sortDirection) {\n const sortIcon =\n sortDirection === TABLE_SORT_DIRECTION.NONE\n ? ArrowsVertical32({\n part: 'sort-icon',\n class: `${prefix}--table-sort__icon-unsorted`,\n })\n : ArrowDown32({\n part: 'sort-icon',\n class: `${prefix}--table-sort__icon`,\n });\n return html`\n <button\n part=\"sort-button\"\n class=\"${prefix}--table-sort\"\n title=\"${this.textContent}\"\n @click=${this._handleClickSortButton}>\n <span part=\"label-text\" class=\"${prefix}--table-header-label\"\n ><slot @slotchange=${this._handleSlotChange}></slot\n ></span>\n ${sortIcon}\n </button>\n `;\n }\n return html` <slot></slot> `;\n }\n\n /**\n * The name of the custom event fired before a new sort direction is set upon a user gesture.\n * Cancellation of this event stops the user-initiated change in sort direction.\n */\n static get eventBeforeSort() {\n return `${prefix}-table-header-cell-sort`;\n }\n\n static shadowRootOptions = {\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n };\n static styles = styles;\n\n /**\n * Mapping of table sort cycles to table sort states.\n */\n static TABLE_SORT_CYCLES = TABLE_SORT_CYCLES;\n}\n\nexport default CDSTableHeaderCell;\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/data-table/table-header-description.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAKvC;;;;GAIG;AACH,cACM,yBAA0B,SAAQ,UAAU;IAChD,MAAM;IAIN,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,yBAAyB,CAAC","file":"table-header-description.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2023\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { LitElement, html } from 'lit';\nimport { customElement } from 'lit/decorators.js';\nimport { prefix } from '../../globals/settings';\nimport styles from './data-table.scss';\n\n/**\n * Data table header description\n *\n * @element cds-table-header-description\n */\n@customElement(`${prefix}-table-header-description`)\nclass CDSTableHeaderDescription extends LitElement {\n render() {\n return html` <slot></slot> `;\n }\n\n static styles = styles;\n}\n\nexport default CDSTableHeaderDescription;\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/data-table/table-header-row.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,WAAW,MAAM,aAAa,CAAC;AAGtC;;;;GAIG;AACH,cACM,iBAAkB,SAAQ,WAAW;IACzC;;;OAGG;IACH,MAAM,KAAK,0BAA0B,WAEpC;CACF;AAED,eAAe,iBAAiB,CAAC","file":"table-header-row.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2023\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { prefix } from '../../globals/settings';\nimport CDSTableRow from './table-row';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * Data table header row.\n *\n * @element cds-table-header-row\n */\n@customElement(`${prefix}-table-header-row`)\nclass CDSTableHeaderRow extends CDSTableRow {\n /**\n * The name of the custom event fired before this row is selected/unselected upon a user gesture.\n * Cancellation of this event stops the user-initiated change in selection.\n */\n static get eventBeforeChangeSelection() {\n return `${prefix}-table-change-selection-all`;\n }\n}\n\nexport default CDSTableHeaderRow;\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/data-table/table-header-title.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAKvC;;;;GAIG;AACH,cACM,cAAe,SAAQ,UAAU;IACrC,MAAM;IAIN,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,cAAc,CAAC","file":"table-header-title.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2023\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { LitElement, html } from 'lit';\nimport { customElement } from 'lit/decorators.js';\nimport { prefix } from '../../globals/settings';\nimport styles from './data-table.scss';\n\n/**\n * Data table header title\n *\n * @element cds-table-header-title\n */\n@customElement(`${prefix}-table-header-title`)\nclass CDSTableHeader extends LitElement {\n render() {\n return html` <slot></slot> `;\n }\n\n static styles = styles;\n}\n\nexport default CDSTableHeader;\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/data-table/table-row.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAavC;;;;;;;;;GASG;AACH,cACM,WAAY,SAAQ,gBAAyC;IACjE;;;;OAIG;IAGH,OAAO,CAAC,0BAA0B;IA0BlC;;;;OAIG;IAGH,OAAO,CAAC,6BAA6B;IA0BrC;;OAEG;IACH,OAAO,CAAC,mBAAmB;IAI3B;;;;OAIG;IAIH,OAAO,CAAC,mBAAmB;IAoB3B;;;;OAIG;IACH,iCAAiC,CAAC,QAAQ,UAAiB;IA2B3D,SAAS,CAAC,mBAAmB;IAa7B;;OAEG;IACH,SAAS,CAAC,iBAAiB;IA6B3B;;OAEG;IAEH,cAAc,UAAS;IAEvB;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;;;;OAKG;IAEH,IAAI,UAAS;IAEb;;;;OAIG;IAEH,UAAU,UAAS;IAEnB;;;;OAIG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;;OAGG;IAEH,YAAY,UAAS;IAErB;;OAEG;IAEH,WAAW,UAAS;IAEpB;;;;;OAKG;IAEH,GAAG,UAAS;IAEZ;;OAEG;IAMH,mBAAmB,UAAS;IAE5B;;;;OAIG;IAEH,KAAK,UAAS;IAEd;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,cAAc,SAAM;IAEpB;;;OAGG;IAEH,aAAa,SAAM;IAEnB;;OAEG;IAEH,cAAc,SAAM;IAEpB;;;;OAIG;IAIH,iBAAiB;IAOjB,OAAO,CAAC,iBAAiB,KAAA;IAkBzB,MAAM;IAaN;;OAEG;IACH,MAAM,KAAK,gBAAgB,WAE1B;IAED;;OAEG;IACH,MAAM,KAAK,mBAAmB,WAE7B;IAED;;;OAGG;IACH,MAAM,KAAK,0BAA0B,WAEpC;IAED;;OAEG;IACH,MAAM,KAAK,aAAa,WAEvB;IAED;;OAEG;IACH,MAAM,KAAK,6BAA6B,WAEvC;IAED;;OAEG;IACH,MAAM,KAAK,mBAAmB,WAE7B;IAED;;;OAGG;IACH,MAAM,KAAK,wBAAwB,WAElC;IAED;;OAEG;IACH,MAAM,KAAK,kBAAkB,WAE5B;IAED,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,WAAW,CAAC","file":"table-row.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2023\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { LitElement, html } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { prefix } from '../../globals/settings';\nimport ChevronRight16 from '@carbon/icons/lib/chevron--right/16';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\nimport FocusMixin from '../../globals/mixins/focus';\nimport styles from './data-table.scss';\n\nimport HostListener from '../../globals/decorators/host-listener';\nimport HostListenerMixin from '../../globals/mixins/host-listener';\nimport CDSTableExpandedRow from './table-expanded-row';\nimport CDSTableCell from './table-cell';\n\n/**\n * Data table row.\n *\n * @element cds-table-row\n * @csspart selection-container The container of the checkbox.\n * @csspart selection The checkbox.\n * @fires cds-table-row-change-selection\n * The custom event fired before this row is selected/unselected upon a user gesture.\n * Cancellation of this event stops the user-initiated change in selection.\n */\n@customElement(`${prefix}-table-row`)\nclass CDSTableRow extends HostListenerMixin(FocusMixin(LitElement)) {\n /**\n * Handles `click` event on the radio button.\n *\n * @param event The event.\n */\n @HostListener('eventRadioChange')\n // @ts-ignore\n private _handleClickSelectionRadio(event: CustomEvent) {\n const { detail } = event;\n const selected = detail.checked;\n const init = {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n selected,\n },\n };\n const constructor = this.constructor as typeof CDSTableRow;\n if (\n this.dispatchEvent(\n new CustomEvent(constructor.eventBeforeChangeSelection, init)\n )\n ) {\n this.selected = selected;\n const { selectorExpandedRow } = this.constructor as typeof CDSTableRow;\n\n if (this.nextElementSibling?.matches(selectorExpandedRow)) {\n (this.nextElementSibling as CDSTableExpandedRow).selected = selected;\n }\n }\n }\n\n /**\n * Handles `click` event on the check box.\n *\n * @param event The event.\n */\n @HostListener('eventCheckboxChange')\n // @ts-ignore\n private _handleClickSelectionCheckbox(event: CustomEvent) {\n const { detail } = event;\n const selected = detail.checked;\n const init = {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n selected,\n },\n };\n const constructor = this.constructor as typeof CDSTableRow;\n if (\n this.dispatchEvent(\n new CustomEvent(constructor.eventBeforeChangeSelection, init)\n )\n ) {\n this.selected = selected;\n const { selectorExpandedRow } = this.constructor as typeof CDSTableRow;\n\n if (this.nextElementSibling?.matches(selectorExpandedRow)) {\n (this.nextElementSibling as CDSTableExpandedRow).selected = selected;\n }\n }\n }\n\n /**\n * Handles `click` event on the expando button.\n */\n private _handleClickExpando() {\n this._handleUserInitiatedToggleExpando();\n }\n\n /**\n * Handles `mouseover`/`mouseout` event handler on this element.\n *\n * @param event The event.\n */\n @HostListener('mouseover')\n @HostListener('mouseout')\n // @ts-ignore: The decorator refers to this method but TS thinks this method is not referred to\n private _handleMouseOverOut(event: MouseEvent) {\n const { selectorExpandedRow, selectorTableCellOverflowMenu } = this\n .constructor as typeof CDSTableRow;\n const { nextElementSibling } = this;\n if (nextElementSibling?.matches(selectorExpandedRow)) {\n (nextElementSibling as CDSTableExpandedRow).highlighted =\n event.type === 'mouseover';\n }\n if (this.overflowMenuOnHover) {\n const overflowMenu = this.querySelector(selectorTableCellOverflowMenu);\n const parentCell = overflowMenu?.parentElement;\n\n if (event.type === 'mouseout') {\n (parentCell as CDSTableCell).overflowMenuOnHover = true;\n } else {\n (parentCell as CDSTableCell).overflowMenuOnHover = false;\n }\n }\n }\n\n /**\n * Handles user-initiated toggle request of the expando button in this table row.\n *\n * @param expanded The new expanded state.\n */\n _handleUserInitiatedToggleExpando(expanded = !this.expanded) {\n const init = {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n expanded,\n },\n };\n if (\n this.dispatchEvent(\n new CustomEvent(\n (this.constructor as typeof CDSTableRow).eventBeforeExpandoToggle,\n init\n )\n )\n ) {\n this.expanded = expanded;\n this.dispatchEvent(\n new CustomEvent(\n (this.constructor as typeof CDSTableRow).eventExpandoToggle,\n init\n )\n );\n }\n }\n\n protected _renderExpandButton() {\n const { _handleClickExpando: handleClickExpando } = this;\n return html`\n <div class=\"${prefix}--table-expand\">\n <button\n class=\"${prefix}--table-expand__button\"\n @click=\"${handleClickExpando}\">\n ${ChevronRight16({ class: `${prefix}--table-expand__svg` })}\n </button>\n </div>\n `;\n }\n\n /**\n * @returns The first set of table cells.\n */\n protected _renderFirstCells() {\n const {\n disabled,\n hideCheckbox,\n radio,\n selected,\n selectionLabel,\n selectionName,\n selectionValue,\n } = this;\n return !selectionName\n ? undefined\n : html`\n <div class=\"${prefix}--table-column-checkbox\">\n ${radio\n ? html`<cds-radio-button data-table></cds-radio-button>`\n : html`<cds-checkbox\n hide-label\n ?hide-checkbox=\"${hideCheckbox}\"\n label-text=\"${selectionLabel}\"\n name=${selectionName}\n data-table\n ?disabled=${disabled}\n ?checked=${selected}\n value=${selectionValue}></cds-checkbox> `}\n </div>\n `;\n }\n\n /**\n * `true` if this table should support batch expansion\n */\n @property({ type: Boolean, reflect: true, attribute: 'batch-expansion' })\n batchExpansion = false;\n\n /**\n * `true` if this table row should be disabled.\n */\n @property({ type: Boolean, reflect: true })\n disabled = false;\n\n /**\n * `true` if this table row is placed at an even position in parent `<cds-table-body>`.\n * `<cds-table-body>` sets this property, _only_ in zebra stripe mode.\n *\n * @private\n */\n @property({ type: Boolean, reflect: true })\n even = false;\n\n /**\n * `true` if this table row can be expanded to show content underneath\n *\n * @private\n */\n @property({ type: Boolean, reflect: true })\n expandable = false;\n\n /**\n * `true` when the table row expanded is showing\n *\n * @private\n */\n @property({ type: Boolean, reflect: true })\n expanded = false;\n\n /**\n * `true` if this table row should be filtered out.\n */\n @property({ type: Boolean, reflect: true })\n filtered = false;\n\n /**\n * Specify whether the checkbox should be present in the DOM,\n * but invisible and uninteractable.\n */\n @property({ type: Boolean, reflect: true, attribute: 'hide-checkbox' })\n hideCheckbox = false;\n\n /**\n * `true` if the table row should be highlighted.\n */\n @property({ type: Boolean, reflect: true })\n highlighted = false;\n\n /**\n * `true` if this table row is placed at an odd position in parent `<cds-table-body>`.\n * `<cds-table-body>` sets this property, _only_ in zebra stripe mode.\n *\n * @private\n */\n @property({ type: Boolean, reflect: true })\n odd = false;\n\n /**\n * Specify whether the overflow menu (if it exists) should be shown always, or only on hover\n */\n @property({\n type: Boolean,\n reflect: true,\n attribute: 'overflow-menu-on-hover',\n })\n overflowMenuOnHover = false;\n\n /**\n * Specify whether the control should be a radio button or inline checkbox\n *\n * @private\n */\n @property({ type: Boolean, reflect: true })\n radio = false;\n\n /**\n * `true` if this table row should be selected.\n */\n @property({ type: Boolean, reflect: true })\n selected = false;\n\n /**\n * The `aria-label` attribute for the `<label>` for selection.\n */\n @property({ attribute: 'selection-label' })\n selectionLabel = '';\n\n /**\n * The `name` attribute for the `<input>` for selection.\n * If present, this table row will be a selectable one.\n */\n @property({ attribute: 'selection-name' })\n selectionName = '';\n\n /**\n * The `value` attribute for the `<input>` for selection.\n */\n @property({ attribute: 'selection-value' })\n selectionValue = '';\n\n /**\n * TODO: Uncomment when Carbon fully implements sticky header\n * Specify whether the header should be sticky.\n * Still experimental: may not work with every combination of table props\n */\n // @property({ type: Boolean, reflect: true, attribute: 'sticky-header' })\n // stickyHeader = false;\n\n connectedCallback() {\n if (!this.hasAttribute('role')) {\n this.setAttribute('role', 'row');\n }\n super.connectedCallback();\n }\n\n updated(changedProperties) {\n if (changedProperties.has('expanded')) {\n const { selectorExpandedRow } = this.constructor as typeof CDSTableRow;\n const { expanded, nextElementSibling } = this;\n if (nextElementSibling?.matches(selectorExpandedRow)) {\n (nextElementSibling as CDSTableExpandedRow).expanded = expanded;\n }\n }\n\n if (changedProperties.has('highlighted')) {\n const { selectorExpandedRow } = this.constructor as typeof CDSTableRow;\n const { highlighted, nextElementSibling } = this;\n if (nextElementSibling?.matches(selectorExpandedRow)) {\n (nextElementSibling as CDSTableExpandedRow).highlighted = highlighted;\n }\n }\n }\n\n render() {\n if (this.selectionName) {\n this.closest(\n (this.constructor as typeof CDSTableRow).selectorTable\n )?.setAttribute('is-selectable', '');\n }\n return html`\n ${this.expandable ? this._renderExpandButton() : ''}\n ${this._renderFirstCells()}\n <slot></slot>\n `;\n }\n\n /**\n * The name of the custom event fired after this radio button changes its checked state.\n */\n static get eventRadioChange() {\n return `${prefix}-radio-button-changed`;\n }\n\n /**\n * The name of the custom event fired after this radio button changes its checked state.\n */\n static get eventCheckboxChange() {\n return `${prefix}-checkbox-changed`;\n }\n\n /**\n * The name of the custom event fired before this row is selected/unselected upon a user gesture.\n * Cancellation of this event stops the user-initiated change in selection.\n */\n static get eventBeforeChangeSelection() {\n return `${prefix}-table-row-change-selection`;\n }\n\n /**\n * A selector that will return the parent table\n */\n static get selectorTable() {\n return `${prefix}-table`;\n }\n\n /**\n * The CSS selector to find the overflow menu on the table cell\n */\n static get selectorTableCellOverflowMenu() {\n return `${prefix}-table-cell ${prefix}-overflow-menu`;\n }\n\n /**\n * A selector that will return the corresponding expanded row.\n */\n static get selectorExpandedRow() {\n return `${prefix}-table-expanded-row`;\n }\n\n /**\n * The name of the custom event fired before the expanded state this row is being toggled upon a user gesture.\n * Cancellation of this event stops the user-initiated action of toggling the expanded state.\n */\n static get eventBeforeExpandoToggle() {\n return `${prefix}-table-row-expando-beingtoggled`;\n }\n\n /**\n * The name of the custom event fired after the expanded state this row is toggled upon a user gesture.\n */\n static get eventExpandoToggle() {\n return `${prefix}-table-row-expando-toggled`;\n }\n\n static styles = styles;\n}\n\nexport default CDSTableRow;\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/data-table/table-skeleton.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAKvC;;;;GAIG;AACH,cACM,gBAAiB,SAAQ,UAAU;IACvC;;OAEG;IAEH,OAAO,CAAC,OAAO,CAAgB;IAE/B;;OAEG;IAEH,OAAO,UAAS;IAEhB;;OAEG;IAEH,WAAW,SAAK;IAEhB;;OAEG;IAEH,QAAQ,SAAK;IAEb;;OAEG;IAEH,UAAU,UAAQ;IAElB;;OAEG;IAEH,WAAW,UAAQ;IAEnB;;OAEG;IAEH,KAAK,UAAS;IAEd;;OAEG;IACH,SAAS,CAAC,aAAa;IAcvB;;OAEG;IACH,SAAS,CAAC,cAAc;IAcxB,iBAAiB;IAOjB,OAAO;IAQP,MAAM;IA+CN,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,gBAAgB,CAAC","file":"table-skeleton.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2023\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { classMap } from 'lit/directives/class-map.js';\nimport { LitElement, html } from 'lit';\nimport { property, customElement } from 'lit/decorators.js';\nimport { prefix } from '../../globals/settings';\nimport styles from './data-table.scss';\n\n/**\n * Data table skeleton\n *\n * @element cds-table-skeleton\n */\n@customElement(`${prefix}-table-skeleton`)\nclass CDSTableSkeleton extends LitElement {\n /**\n * Optionally specify the displayed headers\n */\n @property()\n private headers: string[] = [];\n\n /**\n * Optionally specify whether you want the Skeleton to be rendered as a compact DataTable\n */\n @property({ type: Boolean, reflect: true })\n compact = false;\n\n /**\n * Specify the number of columns that you want to render in the skeleton state\n */\n @property({ type: Number, reflect: true, attribute: 'column-count' })\n columnCount = 5;\n\n /**\n * Specify the number of rows that you want to render in the skeleton state\n */\n @property({ type: Number, reflect: true, attribute: 'row-count' })\n rowCount = 5;\n\n /**\n * Specify if the table header should be rendered as part of the skeleton.\n */\n @property({ type: Boolean, reflect: true, attribute: 'show-header' })\n showHeader = true;\n\n /**\n * Specify if the table toolbar should be rendered as part of the skeleton.\n */\n @property({ type: Boolean, reflect: true, attribute: 'show-toolbar' })\n showToolbar = true;\n\n /**\n * true to add useZebraStyles striping.\n */\n @property({ type: Boolean, reflect: true })\n zebra = false;\n\n /**\n * @returns The header\n */\n protected _renderHeader() {\n const { showHeader } = this;\n return !showHeader\n ? undefined\n : html`\n <div class=\"${prefix}--skeleton ${prefix}--data-table-container\">\n <div class=\"${prefix}--data-table-header\">\n <div class=\"${prefix}--data-table-header__title\"></div>\n <div class=\"${prefix}--data-table-header__description\"></div>\n </div>\n </div>\n `;\n }\n\n /**\n * @returns The header\n */\n protected _renderToolbar() {\n const { showToolbar } = this;\n return !showToolbar\n ? undefined\n : html`\n <section class=\"${prefix}--table-toolbar\">\n <div class=\"${prefix}--toolbar-content\">\n <span\n class=\"${prefix}--skeleton ${prefix}--btn ${prefix}--btn--sm\"></span>\n </div>\n </section>\n `;\n }\n\n connectedCallback() {\n if (!this.hasAttribute('role')) {\n this.setAttribute('role', 'table');\n }\n super.connectedCallback();\n }\n\n updated() {\n if (this.headers.length) {\n this.columnCount = this.headers.length;\n } else {\n this.headers = Array(this.columnCount).fill('');\n }\n }\n\n render() {\n const { compact, columnCount, headers, rowCount, zebra } = this;\n const classes = classMap({\n [`${prefix}--skeleton`]: true,\n [`${prefix}--data-table`]: true,\n [`${prefix}--data-table--compact`]: compact,\n [`${prefix}--data-table--zebra`]: zebra,\n });\n return html`\n ${this._renderHeader()} ${this._renderToolbar()}\n\n <table class=\"${classes}\">\n <thead>\n <tr>\n ${Array.from(new Array(columnCount)).map(\n (_, index) =>\n html`\n <th>\n <div class=\"${prefix}--table-header-label\">\n ${headers[index]}\n </div>\n </th>\n `\n )}\n </tr>\n </thead>\n <tbody>\n ${Array.from(new Array(rowCount)).map(\n (_) =>\n html`\n <tr>\n ${Array.from(new Array(columnCount)).map(\n (_) =>\n html`\n <td>\n <span></span>\n </td>\n `\n )}\n </tr>\n `\n )}\n </tbody>\n </table>\n `;\n }\n\n static styles = styles;\n}\n\nexport default CDSTableSkeleton;\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/data-table/table-toolbar-content.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAMvC;;;;GAIG;AACH,cACM,sBAAuB,SAAQ,UAAU;IAC7C;;OAEG;IAEH,eAAe,UAAS;IAExB;;OAEG;IAEH,IAAI,MAAC;IAEL,OAAO,CAAC,iBAAiB,KAAA;IAkBzB,MAAM;IAIN,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,sBAAsB,CAAC","file":"table-toolbar-content.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2023\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { LitElement, html } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { prefix } from '../../globals/settings';\nimport styles from './data-table.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * Table toolbar content.\n *\n * @element cds-table-toolbar-content\n */\n@customElement(`${prefix}-table-toolbar-content`)\nclass CDSTableToolbarContent extends LitElement {\n /**\n * `true` if this batch actions bar is active.\n */\n @property({ type: Boolean, reflect: true, attribute: 'has-batch-actions' })\n hasBatchActions = false;\n\n /**\n * Table toolbar contents size\n */\n @property({ reflect: true })\n size;\n\n updated(changedProperties) {\n if (changedProperties.has('hasBatchActions')) {\n this.setAttribute('tabindex', `${this.hasBatchActions ? '-1' : ''}`);\n }\n\n if (changedProperties.has('size')) {\n [...this.children].forEach((e) => {\n const size =\n this.size === 'xs'\n ? 'sm'\n : this.size === 'md' || this.size === 'xl'\n ? 'lg'\n : this.size;\n e.setAttribute('size', size);\n });\n }\n }\n\n render() {\n return html` <slot></slot> `;\n }\n\n static styles = styles;\n}\n\nexport default CDSTableToolbarContent;\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/data-table/table-toolbar-search.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAQH,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,SAAS,MAAM,kBAAkB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIzC;;;;;GAKG;AACH,cACM,qBAAsB,SAAQ,0BAA4B;IAE9D,OAAO,CAAC,UAAU,CAAoB;IAEtC;;OAEG;YACW,0BAA0B;IAOxC;;OAEG;IAGH,OAAO,CAAC,cAAc;IAItB;;;;OAIG;IAGH,OAAO,CAAC,eAAe;IAUvB;;OAEG;IACH,OAAO,CAAC,kBAAkB;IAI1B;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,UAAU,UAAS;IAEnB;;OAEG;IAEH,IAAI,aAAoB;IAExB,iBAAiB;IAOjB,MAAM;IAyBN;;OAEG;IACH,MAAM,KAAK,UAAU,WAGpB;IAED,MAAM,CAAC,iBAAiB;;;;MAGtB;IACF,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,qBAAqB,CAAC","file":"table-toolbar-search.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2023\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { classMap } from 'lit/directives/class-map.js';\nimport { LitElement, html } from 'lit';\nimport { property, query } from 'lit/decorators.js';\nimport { prefix } from '../../globals/settings';\nimport HostListenerMixin from '../../globals/mixins/host-listener';\nimport HostListener from '../../globals/decorators/host-listener';\nimport { INPUT_SIZE } from '../text-input/text-input';\nimport CDSSearch from '../search/search';\nimport styles from './data-table.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * Table toolbar search.\n *\n * @element cds-table-toolbar-search\n * @fires cds-search-input - The custom event fired after the search content is changed upon a user gesture.\n */\n@customElement(`${prefix}-table-toolbar-search`)\nclass CDSTableToolbarSearch extends HostListenerMixin(CDSSearch) {\n @query('input')\n private _inputNode!: HTMLInputElement;\n\n /**\n * Handles user-initiated gestures for expanding the search box.\n */\n private async _handleUserInitiatedExpand() {\n this.expanded = true;\n await this.updateComplete;\n const { _inputNode: inputNode } = this;\n inputNode?.focus();\n }\n\n /**\n * Handles `focus` event handler on this element.\n */\n @HostListener('focusin')\n // @ts-ignore: The decorator refers to this method but TS thinks this method is not referred to\n private _handleFocusIn() {\n this._handleUserInitiatedExpand();\n }\n\n /**\n * Handles `blur` event handler on this element.\n *\n * @param event The event.\n */\n @HostListener('focusout')\n // @ts-ignore: The decorator refers to this method but TS thinks this method is not referred to\n private _handleFocusOut(event: FocusEvent) {\n if (\n !this.contains(event.relatedTarget as Node) &&\n !this.value &&\n !this.persistent\n ) {\n this.expanded = false;\n }\n }\n\n /**\n * Handles `click` event handler on the search box.\n */\n private _handleSearchClick() {\n this._handleUserInitiatedExpand();\n }\n\n /**\n * `true` if the search box should be expanded.\n */\n @property({ type: Boolean, reflect: true })\n expanded = false;\n\n /**\n * `true` if the search box should be always be open.\n */\n @property({ type: Boolean, reflect: true })\n persistent = false;\n\n /**\n * The search box size.\n */\n @property({ reflect: true })\n size = INPUT_SIZE.LARGE;\n\n connectedCallback() {\n if (!this.hasAttribute('role')) {\n this.setAttribute('role', 'search');\n }\n super.connectedCallback();\n }\n\n render() {\n const result = super.render();\n const {\n persistent,\n expanded,\n size,\n _handleSearchClick: handleSearchClick,\n } = this;\n const classes = classMap({\n [`${prefix}--search`]: true,\n [`${prefix}--search--${size}`]: size,\n });\n if (persistent) {\n this.expanded = true;\n }\n return html`\n <div\n class=\"${classes}\"\n tabindex=\"${expanded ? '-1' : '0'}\"\n @click=\"${handleSearchClick}\">\n ${result}\n </div>\n `;\n }\n\n /**\n * The name of the custom event fired after the search content is changed upon a user gesture.\n */\n static get eventInput() {\n // The code uses on in `<cds-search>`, but definition is done also here for React event generation\n return `${prefix}-search-input`;\n }\n\n static shadowRootOptions = {\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n };\n static styles = styles;\n}\n\nexport default CDSTableToolbarSearch;\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/data-table/table-toolbar.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAOvC;;;;GAIG;AACH,cACM,eAAgB,SAAQ,UAAU;IACtC;;OAEG;IAEH,IAAI,MAAC;IAEL,iBAAiB;IAOjB,OAAO,CAAC,iBAAiB,KAAA;IAUzB,MAAM;IAIN;;OAEG;IACH,MAAM,KAAK,sBAAsB,WAEhC;IAED,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,eAAe,CAAC","file":"table-toolbar.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2023\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { LitElement, html } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { prefix } from '../../globals/settings';\nimport styles from './data-table.scss';\nimport { CDSTableToolbarContent } from '../..';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * Table toolbar.\n *\n * @element cds-table-toolbar\n */\n@customElement(`${prefix}-table-toolbar`)\nclass CDSTableToolbar extends LitElement {\n /**\n * Toolbar size\n */\n @property({ reflect: true })\n size;\n\n connectedCallback() {\n if (!this.hasAttribute('role')) {\n this.setAttribute('role', 'section');\n }\n super.connectedCallback();\n }\n\n updated(changedProperties) {\n if (changedProperties.has('size')) {\n (\n this.querySelector(\n (this.constructor as typeof CDSTableToolbar).selectorToolbarContent\n ) as CDSTableToolbarContent\n ).size = this.size;\n }\n }\n\n render() {\n return html` <slot></slot> `;\n }\n\n /**\n * The CSS selector to find the toolbar contents\n */\n static get selectorToolbarContent() {\n return `${prefix}-table-toolbar-content`;\n }\n\n static styles = styles;\n}\n\nexport default CDSTableToolbar;\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/data-table/table.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAIvC,OAAO,EAAE,UAAU,EAAwB,MAAM,QAAQ,CAAC;AAiB1D,OAAO,EAAE,UAAU,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEtB;;;;GAIG;AACH,cACM,QAAS,SAAQ,aAA6B;IAClD;;OAEG;IACH,OAAO,CAAC,gBAAgB,CAGtB;IAEF;;OAEG;IAEH,OAAO,CAAC,eAAe,CAAC;IAExB;;OAEG;IAEH,OAAO,CAAC,YAAY,CAAM;IAE1B;;OAEG;IAEH,OAAO,CAAC,eAAe,CAAC;IAExB;;OAEG;IAEH,OAAO,CAAC,UAAU,CAAC;IAEnB;;OAEG;IAEH,OAAO,CAAC,kBAAkB,CAAC;IAE3B;;OAEG;IAEH,OAAO,CAAC,UAAU,CAAC;IAEnB;;OAEG;IAEH,OAAO,CAAC,kBAAkB,CAAC;IAE3B;;OAEG;IAEH,OAAO,CAAC,aAAa,CAAC;IAEtB;;OAEG;IAEH,OAAO,CAAC,oBAAoB,CAAC;IAG7B,OAAO,CAAC,aAAa,CAAqB;IAE1C;;OAEG;IAEH,cAAc,UAAS;IAEvB;;OAEG;IAEH,QAAQ,MAAC;IAET;;;;;;;;OAQG;IAEH,aAAa,CAAC,GAAG,KAAA,EAAE,GAAG,KAAA,EAAE,QAAQ,KAAA;IAOhC;;OAEG;IAEH,UAAU,UAAS;IAEnB;;;;;;;OAOG;IAEH,UAAU,YAAa,MAAM,gBAAgB,MAAM,aACD;IAElD;;OAEG;IAEH,WAAW,SAAK;IAEhB;;OAEG;IAEH,YAAY,UAAS;IAErB;;OAEG;IAEH,UAAU,UAAS;IAEnB;;OAEG;IAEH,MAAM,SAAQ;IAEd;;OAEG;IAMH,mBAAmB,UAAS;IAE5B;;OAEG;IAEH,KAAK,UAAS;IAEd;;OAEG;IAEH,IAAI,aAAiB;IAErB;;;;OAIG;IAIH;;OAEG;IAEH,cAAc,UAAS;IAEvB;;OAEG;IAEH,cAAc,UAAS;IAGvB,UAAU,MAAC;IAEX,OAAO,CAAC,iBAAiB;IASzB,OAAO,CAAC,iBAAiB;IAgCzB;;OAEG;IACH,OAAO,CAAC,eAAe;IAiCvB;;OAEG;IAGH,OAAO,CAAC,qBAAqB,CAO3B;IAEF;;OAEG;IAGH,OAAO,CAAC,WAAW,CA0EjB;IAEF;;OAEG;IAGH,OAAO,CAAC,kBAAkB,CAQxB;IAEF;;OAEG;IAGH,OAAO,CAAC,gBAAgB,CAmEtB;IAEF;;OAEG;IAGH,OAAO,CAAC,oBAAoB,CAiE1B;IAEF;;OAEG;IAGH,OAAO,CAAC,sBAAsB,CAU5B;IAEF,iBAAiB;IAOjB,YAAY;IAiCZ,OAAO,CAAC,iBAAiB,KAAA;IAuHzB,MAAM;IAmBN;;;OAGG;IACH,MAAM,KAAK,eAAe,WAEzB;IAED;;OAEG;IACH,MAAM,KAAK,gBAAgB,WAE1B;IAED;;OAEG;IACH,MAAM,KAAK,6BAA6B,WAEvC;IAED;;OAEG;IACH,MAAM,KAAK,0BAA0B,WAEpC;IAED;;OAEG;IACH,MAAM,KAAK,gBAAgB,WAE1B;IAED;;OAEG;IACH,MAAM,KAAK,kBAAkB,WAE5B;IAED;;OAEG;IACH,MAAM,KAAK,mBAAmB,WAE7B;IAED;;OAEG;IACH,MAAM,KAAK,sBAAsB,WAEhC;IAED;;OAEG;IACH,MAAM,KAAK,gBAAgB,WAE1B;IAED;;OAEG;IACH,MAAM,KAAK,kBAAkB,WAE5B;IAED;;OAEG;IACH,MAAM,KAAK,6BAA6B,WAEvC;IAED;;OAEG;IACH,MAAM,KAAK,uBAAuB,WAEjC;IAED;;OAEG;IACH,MAAM,KAAK,yBAAyB,WAEnC;IAED;;OAEG;IACH,MAAM,KAAK,oBAAoB,WAE9B;IAED;;OAEG;IACH,MAAM,KAAK,2BAA2B,WAErC;IAED;;OAEG;IACH,MAAM,KAAK,0BAA0B,WAEpC;IAED;;OAEG;IACH,MAAM,KAAK,iBAAiB,WAE3B;IAED;;OAEG;IACH,MAAM,KAAK,iBAAiB,WAE3B;IAED;;OAEG;IACH,MAAM,KAAK,yBAAyB,WAEnC;IAED;;OAEG;IACH,MAAM,KAAK,gBAAgB,WAE1B;IAED;;OAEG;IACH,MAAM,KAAK,qBAAqB,WAE/B;IAED;;OAEG;IACH,MAAM,KAAK,kBAAkB,WAE5B;IAED;;OAEG;IACH,MAAM,KAAK,kBAAkB,WAE5B;IAED;;OAEG;IACH,MAAM,KAAK,sBAAsB,WAEhC;IAED;;OAEG;IACH,MAAM,KAAK,eAAe,WAEzB;IAED,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,QAAQ,CAAC","file":"table.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2023\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { LitElement, html } from 'lit';\nimport { property, state } from 'lit/decorators.js';\nimport { prefix } from '../../globals/settings';\nimport { forEach } from '../../globals/internal/collection-helpers';\nimport { TABLE_SIZE, TABLE_SORT_DIRECTION } from './defs';\nimport styles from './data-table.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\nimport HostListener from '../../globals/decorators/host-listener';\nimport HostListenerMixin from '../../globals/mixins/host-listener';\nimport {\n CDSRadioButton,\n CDSTableBatchActions,\n CDSTableCell,\n CDSTableHeaderCell,\n CDSTableHeaderRow,\n CDSTableRow,\n CDSTableToolbarSearch,\n} from '../..';\nimport CDSTableExpandedRow from './table-expanded-row';\n\nexport { TABLE_SIZE };\n\n/**\n * Data table.\n *\n * @element cds-table\n */\n@customElement(`${prefix}-table`)\nclass CDSTable extends HostListenerMixin(LitElement) {\n /**\n * The map of how sorting direction affects sorting order.\n */\n private collationFactors = {\n [TABLE_SORT_DIRECTION.ASCENDING]: 1,\n [TABLE_SORT_DIRECTION.DESCENDING]: -1,\n };\n\n /**\n * Reference to download button\n */\n @state()\n private _downloadButton;\n\n /**\n * Current search value for filtering\n */\n @state()\n private _searchValue = '';\n\n /**\n * Table header row within component\n */\n @state()\n private _tableHeaderRow;\n\n /**\n * Table body\n */\n @state()\n private _tableBody;\n\n /**\n * Table expanded row within component\n */\n @state()\n private _tableExpandedRows;\n\n /**\n * Table rows within component\n */\n @state()\n private _tableRows;\n\n /**\n * Reference to the component containing batch actions\n */\n @state()\n private _tableBatchActions;\n\n /**\n * Reference to the table toolbar\n */\n @state()\n private _tableToolbar;\n\n /**\n * Reference to the table toolbar content\n */\n @state()\n private _tableToolbarContent;\n\n @state()\n private _selectedRows: CDSTableRow[] = [];\n\n /**\n * `true` if this table should support batch expansion\n */\n @property({ type: Boolean, reflect: true, attribute: 'batch-expansion' })\n batchExpansion = false;\n\n /**\n * The g11n collator to use.\n */\n @property({ attribute: false })\n collator;\n\n /**\n * @param lhs A value.\n * @param rhs Another value.\n * @param collator A custom collator.\n * @returns\n * `0` if the given two values are equal\n * A negative value to sort `lhs` to an index lower than `rhs`\n * A positive value to sort `rhs` to an index lower than `lhs`\n */\n // eslint-disable-next-line class-methods-use-this\n customSortRow(lhs, rhs, collator) {\n if (typeof lhs === 'number' && typeof rhs === 'number') {\n return lhs - rhs;\n }\n return collator.compare(lhs, rhs);\n }\n\n /**\n * Specify whether the rows should be able to be expandable\n */\n @property({ type: Boolean, reflect: true })\n expandable = false;\n\n /**\n * The method used when filtering the table with the search bar.\n * Can be replaced with custom method.\n *\n * @param row A table row.\n * @param searchString A search string.\n * @returns `false` if the given table row matches the given search string.\n */\n @property()\n filterRows = (rowText: string, searchString: string) =>\n rowText.toLowerCase().indexOf(searchString) < 0;\n\n /**\n * The total headers\n */\n @property()\n headerCount = 0;\n\n /**\n * `true` if this table contains selectable rows\n */\n @property({ type: Boolean, reflect: true, attribute: 'is-selectable' })\n isSelectable = false;\n\n /**\n * `true` if this table should support sorting.\n */\n @property({ type: Boolean, reflect: true, attribute: 'is-sortable' })\n isSortable = false;\n\n /**\n * The table size.\n */\n @property({ reflect: true })\n locale = 'en';\n\n /**\n * Specify whether the overflow menu (if it exists) should be shown always, or only on hover\n */\n @property({\n type: Boolean,\n reflect: true,\n attribute: 'overflow-menu-on-hover',\n })\n overflowMenuOnHover = false;\n\n /**\n * Specify whether the control should be a radio button or inline checkbox\n */\n @property({ type: Boolean, reflect: true })\n radio = false;\n\n /**\n * The table size.\n */\n @property({ reflect: true })\n size = TABLE_SIZE.LG;\n\n /**\n * TODO: Uncomment when Carbon fully implements sticky header\n * Specify whether the header should be sticky.\n * Still experimental: may not work with every combination of table props\n */\n // @property({ type: Boolean, attribute: 'sticky-header', reflect: true })\n // stickyHeader = false;\n\n /**\n * If true, will use a width of 'auto' instead of 100%\n */\n @property({ type: Boolean, attribute: 'use-static-width', reflect: true })\n useStaticWidth = false;\n\n /**\n * true to add useZebraStyles striping.\n */\n @property({ type: Boolean, attribute: 'use-zebra-styles', reflect: true })\n useZebraStyles = false;\n\n @property({ type: Boolean, attribute: 'with-header', reflect: true })\n withHeader;\n\n private _handleSlotChange({ target }: Event) {\n const hasContent = (target as HTMLSlotElement)\n .assignedNodes()\n .some(\n (node) => node.nodeType !== Node.TEXT_NODE || node!.textContent!.trim()\n );\n this.withHeader = hasContent;\n }\n\n private _handleFilterRows() {\n const unfilteredRows = [] as any;\n forEach(this._tableRows, (elem) => {\n const rowText = elem.textContent?.trim();\n const filtered = this.filterRows(rowText as string, this._searchValue);\n (elem as any).filtered = filtered;\n\n if (!filtered) {\n unfilteredRows.push(elem);\n }\n\n if (this.expandable) {\n (elem as any).nextElementSibling.filtered = filtered;\n }\n });\n\n const init = {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n unfilteredRows,\n },\n };\n this.dispatchEvent(\n new CustomEvent(\n (this.constructor as typeof CDSTable).eventTableFiltered,\n init\n )\n );\n }\n\n /**\n * Download manager for selected rows.\n */\n private _handleDownload({ target }) {\n const data = [] as any;\n\n const elementsToArray = (elements) =>\n Array.from(elements, (element) => (element as any).textContent);\n\n const headerCells = this.querySelectorAll(\n (this.constructor as typeof CDSTable).selectorHeaderCell\n );\n const rows = this._selectedRows;\n const headerTitleArray = elementsToArray(headerCells);\n\n rows.forEach((row) => {\n const rowData = {};\n const cells = elementsToArray(\n row.querySelectorAll(\n (this.constructor as typeof CDSTable).selectorTableRowCells\n )\n );\n\n cells.forEach((cellText, index) => {\n const headerTitle = headerTitleArray[index];\n rowData[headerTitle] = cellText;\n });\n\n data.push(rowData);\n });\n\n const blob = new Blob([JSON.stringify(data)], { type: 'application/json' });\n\n target.href = URL.createObjectURL(blob);\n }\n\n /**\n * Handles batch expansion\n */\n @HostListener('eventExpandoToggle')\n // @ts-ignore: The decorator refers to this method but TS thinks this method is not referred to\n private _handleBatchExpansion = async (event: CustomEvent) => {\n const { detail, target } = event;\n const { expanded } = detail;\n\n if ((target as CDSTableHeaderRow) === this._tableHeaderRow) {\n this._tableRows.forEach((e) => ((e as CDSTableRow).expanded = expanded));\n }\n };\n\n /**\n * Handles sorting the table depending on the column selected\n */\n @HostListener('eventBeforeSort')\n // @ts-ignore: The decorator refers to this method but TS thinks this method is not referred to\n private _handleSort = async (event: CustomEvent) => {\n const { detail, target } = event;\n const { sortDirection } = detail;\n\n if (!this.contains(target as any)) {\n return;\n }\n\n const rows = [...this._tableRows];\n const columns = [...this._tableHeaderRow.children];\n const columnIndex = columns.indexOf(target);\n\n columns.forEach(\n (e) => e !== target && e.setAttribute('sort-direction', 'none')\n );\n\n // regular row sorting\n rows.sort((a, b) => {\n const cellA = a.querySelectorAll(\n (this.constructor as typeof CDSTable).selectorTableRowCells\n )[columnIndex].textContent;\n const cellB = b.querySelectorAll(\n (this.constructor as typeof CDSTable).selectorTableRowCells\n )[columnIndex].textContent;\n return (\n this.collationFactors[sortDirection] *\n this.customSortRow(cellA, cellB, this.collator)\n );\n });\n\n // take into account the expanded rows, mapping each expandable row to its original for proper reinsertion\n if (this.expandable) {\n const originalRows = [...this._tableRows];\n const expandedRows = [...this._tableExpandedRows];\n\n const mapping = originalRows.reduce((acc, element, index) => {\n const sortId = element.getAttribute('sort-id');\n acc[sortId] = expandedRows[index];\n return acc;\n }, {});\n\n const sortedWithExpanded = [] as any;\n\n rows.forEach((e) => {\n const sortId = e.getAttribute('sort-id');\n sortedWithExpanded.push(e);\n sortedWithExpanded.push(mapping[sortId]);\n });\n\n sortedWithExpanded.forEach((e) => {\n this._tableBody.insertBefore(e, null);\n });\n } else {\n rows.forEach((e) => {\n this._tableBody.insertBefore(e, null);\n });\n }\n\n const init = {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n sortedHeader: columns[columnIndex],\n },\n };\n this.dispatchEvent(\n new CustomEvent(\n (this.constructor as typeof CDSTable).eventTableSorted,\n init\n )\n );\n\n this._handleFilterRows();\n };\n\n /**\n * Handles search input within the toolbar actions\n */\n @HostListener('eventSearchInput')\n // @ts-ignore: The decorator refers to this method but TS thinks this method is not referred to\n private _handleSearchInput = async (event: CustomEvent) => {\n const { detail, target } = event;\n\n if (this.contains(target as CDSTableToolbarSearch)) {\n const { value } = detail;\n this._searchValue = value;\n this._handleFilterRows();\n }\n };\n\n /**\n * Handles row selection\n */\n @HostListener('eventBeforeChangeSelection')\n // @ts-ignore: The decorator refers to this method but TS thinks this method is not referred to\n private _handleRowSelect = async (event: CustomEvent) => {\n const { detail, target } = event;\n const { selected } = detail;\n const {\n _tableBatchActions: tableBatchActions,\n _tableToolbarContent: tableToolbarContent,\n _tableHeaderRow: tableHeaderRow,\n _selectedRows: selectedRows,\n } = this;\n\n if (!this.contains(target as CDSTableRow)) {\n return;\n }\n\n if (this.radio) {\n this._tableRows.forEach((e) => {\n if (e !== target) {\n e.removeAttribute('selected');\n e.shadowRoot!.querySelector(`${prefix}-radio-button`).checked = false;\n }\n });\n this._selectedRows.push(...[target as CDSTableRow]);\n } else {\n if (selectedRows.includes(target as CDSTableRow)) {\n this._selectedRows = selectedRows.filter((e) => e !== target);\n } else {\n selectedRows.push(target as CDSTableRow);\n }\n\n if (tableBatchActions) {\n tableBatchActions.active = this._selectedRows?.length;\n tableBatchActions.selectedRowsCount += selected ? 1 : -1;\n }\n\n if (tableToolbarContent) {\n tableToolbarContent.hasBatchActions = this._selectedRows.length;\n }\n }\n\n const totalRows = [...this._tableRows].filter(\n (elem) => !elem.hasAttribute('filtered')\n ).length;\n\n // selected header checkbox upon all rows being selected\n const headerCheckbox = tableHeaderRow.shadowRoot\n ?.querySelector(`${prefix}-checkbox`)\n .shadowRoot.querySelector(`.${prefix}--checkbox`);\n const allRowsSelected = this._selectedRows.length === totalRows;\n headerCheckbox.checked = !this._selectedRows.length ? false : true;\n headerCheckbox.indeterminate =\n !allRowsSelected && this._selectedRows.length > 0;\n\n const init = {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n selectedRow: target,\n selectedRows: selectedRows,\n },\n };\n this.dispatchEvent(\n new CustomEvent(\n (this.constructor as typeof CDSTable).eventTableRowSelect,\n init\n )\n );\n };\n\n /**\n * Handles header row selection, selecting/unselecting all rows\n */\n @HostListener('eventBeforeChangeSelectionAll')\n // @ts-ignore: The decorator refers to this method but TS thinks this method is not referred to\n private _handleAllRowsSelect = async (event: CustomEvent) => {\n const { detail, target } = event;\n const { selected } = detail;\n const {\n _tableBatchActions: tableBatchActions,\n _tableToolbarContent: tableToolbarContent,\n _tableRows: tableRows,\n } = this;\n\n if (!this.contains(target as CDSTableRow)) {\n return;\n }\n\n let totalRows = 0;\n forEach(tableRows, (elem) => {\n if (!(elem as CDSTableRow).filtered) {\n (elem as CDSTableRow).selected = selected;\n this.radio\n ? ((\n (elem as CDSTableRow).shadowRoot!.querySelector(\n `${prefix}-radio-button`\n ) as CDSRadioButton\n ).checked = selected)\n : null;\n this._selectedRows.push(elem as CDSTableRow);\n totalRows++;\n\n const { selectorTableExpandedRows } = this\n .constructor as typeof CDSTable;\n const { nextElementSibling } = elem;\n\n // selecting the expanded row as well\n if (nextElementSibling?.matches(selectorTableExpandedRows)) {\n (elem.nextElementSibling as CDSTableExpandedRow).selected = selected;\n }\n }\n });\n\n if (!selected) {\n this._selectedRows = [];\n }\n\n if (tableBatchActions) {\n tableBatchActions.selectedRowsCount = selected ? totalRows : 0;\n tableBatchActions.active = selected;\n }\n\n if (tableToolbarContent) {\n tableToolbarContent.hasBatchActions = selected;\n }\n\n const init = {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n selectedRows: this._selectedRows,\n },\n };\n this.dispatchEvent(\n new CustomEvent(\n (this.constructor as typeof CDSTable).eventTableRowSelectAll,\n init\n )\n );\n };\n\n /**\n * Handles cancel button within the toolbar actions\n */\n @HostListener('eventClickCancel')\n // @ts-ignore: The decorator refers to this method but TS thinks this method is not referred to\n private _handleCancelSelection = async (event: CustomEvent) => {\n const { target } = event;\n const { _tableHeaderRow: tableHeaderRow } = this;\n\n if (this.contains(target as CDSTableBatchActions)) {\n tableHeaderRow.shadowRoot\n ?.querySelector(`${prefix}-checkbox`)\n .shadowRoot.querySelector(`.${prefix}--checkbox`)\n .click();\n }\n };\n\n connectedCallback() {\n if (!this.hasAttribute('role')) {\n this.setAttribute('role', 'table');\n }\n super.connectedCallback();\n }\n\n firstUpdated() {\n this._tableBatchActions = this.querySelector(\n (this.constructor as typeof CDSTable).selectorTableBatchActions\n );\n this._tableToolbar = this.querySelector(\n (this.constructor as typeof CDSTable).selectorTableToolbar\n );\n this._tableToolbarContent = this.querySelector(\n (this.constructor as typeof CDSTable).selectorTableToolbarContent\n );\n this._tableBody = this.querySelector(\n (this.constructor as typeof CDSTable).selectorTableBody\n );\n this._tableHeaderRow = this.querySelector(\n (this.constructor as typeof CDSTable).selectorRowsWithHeader\n );\n this._tableExpandedRows = this.querySelectorAll(\n (this.constructor as typeof CDSTable).selectorTableExpandedRows\n );\n\n this._tableRows = this.querySelectorAll(\n (this.constructor as typeof CDSTable).selectorTableRow\n );\n\n this._downloadButton = this.querySelector(\n (this.constructor as typeof CDSTable).selectorToolbarDownload\n );\n if (this._downloadButton) {\n this._downloadButton.onclick = this._handleDownload.bind(this);\n }\n this.headerCount = this._tableHeaderRow.children.length;\n }\n\n updated(changedProperties) {\n if (changedProperties.has('expandable')) {\n this._tableRows.forEach((e, index) => {\n e.expandable = this.expandable;\n e.setAttribute('sort-id', index);\n });\n this._tableHeaderRow.expandable = this.expandable;\n this._tableHeaderRow.batchExpansion = this.batchExpansion;\n this.headerCount += this.expandable ? 1 : -1;\n }\n\n if (changedProperties.has('headerCount')) {\n this._tableExpandedRows.forEach((e) => {\n e.setAttribute('colspan', this.headerCount);\n });\n }\n\n if (changedProperties.has('isSelectable')) {\n this.headerCount++;\n }\n\n if (changedProperties.has('isSortable')) {\n const headerCells = this.querySelectorAll(\n (this.constructor as typeof CDSTable).selectorHeaderCell\n );\n headerCells.forEach((e) => {\n (e as CDSTableHeaderCell).isSortable = this.isSortable;\n (e as CDSTableHeaderCell).removeAttribute('sort-direction');\n (e as CDSTableHeaderCell).isSelectable = this.isSelectable;\n (e as CDSTableHeaderCell).isExpandable = this.expandable;\n });\n }\n\n if (changedProperties.has('locale')) {\n this.collator = new Intl.Collator(this.locale);\n }\n\n if (\n changedProperties.has('overflowMenuOnHover') ||\n changedProperties.has('size')\n ) {\n forEach(\n this.querySelectorAll(\n (this.constructor as typeof CDSTable).selectorTableCellOverflowMenu\n ),\n (elem) => {\n const cell = elem.parentNode as CDSTableCell;\n const row = cell.parentNode as CDSTableRow;\n cell.overflowMenuOnHover = this.overflowMenuOnHover;\n row.overflowMenuOnHover = this.overflowMenuOnHover;\n cell.setAttribute('size', this.size);\n elem.setAttribute('size', this.size);\n elem.setAttribute('data-table', '');\n }\n );\n }\n\n if (changedProperties.has('radio')) {\n // Propagate `size` attribute to descendants until `:host-context()` gets supported in all major browsers\n forEach(\n this.querySelectorAll(\n (this.constructor as typeof CDSTable).selectorTableRow\n ),\n (elem) => {\n (elem as CDSTableRow).radio = this.radio;\n }\n );\n }\n\n if (changedProperties.has('size')) {\n // Propagate `size` attribute to descendants until `:host-context()` gets supported in all major browsers\n forEach(\n this.querySelectorAll(\n (this.constructor as typeof CDSTable).selectorAllRows\n ),\n (elem) => {\n elem.setAttribute('size', this.size);\n }\n );\n this._tableToolbar?.setAttribute('size', this.size);\n }\n\n // TODO: Uncomment when Carbon fully implements Sticky header feature\n // if (changedProperties.has('stickyHeader')) {\n // const tableBody = this.querySelector(\n // (this.constructor as typeof CDSTable).selectorTableBody\n // );\n // const tableHead = this.querySelector(\n // (this.constructor as typeof CDSTable).selectorTableHead\n // );\n // (tableBody as any).stickyHeader = this.stickyHeader;\n // (tableHead as any).stickyHeader = this.stickyHeader;\n // forEach(\n // this.querySelectorAll(\n // (this.constructor as typeof CDSTable).selectorRowsWithHeader\n // ),\n // (elem) => {\n // (elem as any).stickyHeader = this.stickyHeader;\n // }\n // );\n // forEach(\n // this.querySelectorAll(\n // (this.constructor as typeof CDSTable).selectorTableCells\n // ),\n // (elem) => {\n // (elem as any).stickyHeader = this.stickyHeader;\n // }\n // );\n // }\n\n if (changedProperties.has('useZebraStyles')) {\n const tableBody = this.querySelector(\n (this.constructor as typeof CDSTable).selectorTableBody\n );\n (tableBody as any).useZebraStyles = this.useZebraStyles;\n }\n }\n\n /* eslint-disable no-constant-condition */\n render() {\n return html`\n <div ?hidden=\"${!this.withHeader}\" class=\"${prefix}--data-table-header\">\n <slot @slotchange=\"${this._handleSlotChange}\" name=\"title\"></slot>\n <slot @slotchange=\"${this._handleSlotChange}\" name=\"description\"></slot>\n </div>\n <slot name=\"toolbar\"></slot>\n\n ${false // TODO: replace with this.stickyHeader when feature is fully implemented\n ? html` <div class=\"${prefix}--data-table_inner-container\">\n <div class=\"${prefix}--data-table-content\">\n <slot></slot>\n </div>\n </div>`\n : html`<slot></slot>`}\n `;\n }\n /* eslint-enable no-constant-condition */\n\n /**\n * The name of the custom event fired before a new sort direction is set upon a user gesture.\n * Cancellation of this event stops the user-initiated change in sort direction.\n */\n static get eventBeforeSort() {\n return `${prefix}-table-header-cell-sort`;\n }\n\n /**\n * The name of the custom event fired during search bar input\n */\n static get eventSearchInput() {\n return `${prefix}-search-input`;\n }\n\n /**\n * The name of the custom event fired before header row is selected/unselected upon a user gesture.\n */\n static get eventBeforeChangeSelectionAll() {\n return `${prefix}-table-change-selection-all`;\n }\n\n /**\n * The name of the custom event fired before a row is selected/unselected upon a user gesture.\n */\n static get eventBeforeChangeSelection() {\n return `${prefix}-table-row-change-selection`;\n }\n\n /**\n * The name of the custom event fired after the Cancel button is clicked.\n */\n static get eventClickCancel() {\n return `${prefix}-table-batch-actions-cancel-clicked`;\n }\n\n /**\n * The name of the custom event fired after the expanded state a row is toggled upon a user gesture.\n */\n static get eventExpandoToggle() {\n return `${prefix}-table-row-expando-toggled`;\n }\n\n /**\n * The name of the custom event fired after a row has been selected\n */\n static get eventTableRowSelect() {\n return `${prefix}-table-row-selected`;\n }\n\n /**\n * The name of the custom event fired after all rows have been selected\n */\n static get eventTableRowSelectAll() {\n return `${prefix}-table-row-all-selected`;\n }\n\n /**\n * The name of the custom event fired after the table has been sorted\n */\n static get eventTableSorted() {\n return `${prefix}-table-sorted`;\n }\n\n /**\n * The name of the custom event fired after the table has been filtered containing remaining rows.\n */\n static get eventTableFiltered() {\n return `${prefix}-table-filtered`;\n }\n\n /**\n * The CSS selector to find the overflow menu on the table cell\n */\n static get selectorTableCellOverflowMenu() {\n return `${prefix}-table-cell ${prefix}-overflow-menu`;\n }\n\n /**\n * The CSS selector to find the download button\n */\n static get selectorToolbarDownload() {\n return `${prefix}-button[download]`;\n }\n\n /**\n * The CSS selector to find the table batch actions\n */\n static get selectorTableBatchActions() {\n return `${prefix}-table-batch-actions`;\n }\n\n /**\n * The CSS selector to find the table toolbar\n */\n static get selectorTableToolbar() {\n return `${prefix}-table-toolbar`;\n }\n\n /**\n * The CSS selector to find the table toolbar content\n */\n static get selectorTableToolbarContent() {\n return `${prefix}-table-toolbar-content`;\n }\n\n /**\n * The CSS selector to find the table toolbar search\n */\n static get selectorTableToolbarSearch() {\n return `${prefix}-table-toolbar-search`;\n }\n\n /**\n * The CSS selector to find the table head\n */\n static get selectorTableHead() {\n return `${prefix}-table-head`;\n }\n\n /**\n * The CSS selector to find the table body\n */\n static get selectorTableBody() {\n return `${prefix}-table-body`;\n }\n\n /**\n * The CSS selector to find the table expanded rows\n */\n static get selectorTableExpandedRows() {\n return `${prefix}-table-expanded-row`;\n }\n\n /**\n * The CSS selector to find the table rows\n */\n static get selectorTableRow() {\n return `${prefix}-table-row`;\n }\n\n /**\n * The CSS selector to find the rows cells.\n */\n static get selectorTableRowCells() {\n return `${prefix}-table-cell`;\n }\n\n /**\n * The CSS selector to find the rows cells, including header cells.\n */\n static get selectorTableCells() {\n return `${prefix}-table-cell, ${prefix}-table-header-cell`;\n }\n\n /**\n * The CSS selector to find the header cell\n */\n static get selectorHeaderCell() {\n return `${prefix}-table-header-cell`;\n }\n\n /**\n * The CSS selector to find the rows, including header rows.\n */\n static get selectorRowsWithHeader() {\n return `${prefix}-table-header-row,${prefix}-table-row`;\n }\n\n /**\n * The CSS selector to find all rows\n */\n static get selectorAllRows() {\n return `${prefix}-table-header-row,${prefix}-table-row,${prefix}-table-expanded-row`;\n }\n\n static styles = styles;\n}\n\nexport default CDSTable;\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/date-picker/append-to-plugin.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAC;AAEtD;;GAEG;AACH,MAAM,WAAW,8BAA8B;IAC7C;;OAEG;IACH,QAAQ,EAAE,WAAW,CAAC;CACvB;AAED;;;GAGG;iCACqB,8BAA8B,KAAG,MAAM;AAA/D,wBAsCI","file":"append-to-plugin.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2022\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { Instance as FlatpickrInstance } from 'flatpickr/dist/types/instance';\nimport { Plugin } from 'flatpickr/dist/types/options';\n\n/**\n * The configuration for the Flatpickr plugin to put the calendar dropdown in shadow DOM.\n */\nexport interface DatePickerAppendToPluginConfig {\n /**\n * The floating menu container.\n */\n appendTo: HTMLElement;\n}\n\n/**\n * @param config Plugin configuration.\n * @returns A Flatpickr plugin to put the calendar dropdown in shadow DOM.\n */\nexport default (config: DatePickerAppendToPluginConfig): Plugin =>\n (fp: FlatpickrInstance) => {\n /**\n * Adjusts the floating meun position after Flatpicker sets it.\n */\n const handlePreCalendarPosition = async () => {\n await Promise.resolve();\n const {\n calendarContainer,\n config: fpConfig,\n _positionElement: positionElement,\n } = fp;\n const { appendTo } = fpConfig;\n const { top: containerTop } = appendTo!.getBoundingClientRect();\n const { bottom: refBottom } = positionElement.getBoundingClientRect();\n const isRtl =\n appendTo!\n .ownerDocument!.defaultView!.getComputedStyle(appendTo!)\n .getPropertyValue('direction') === 'rtl';\n calendarContainer.style.top = `${refBottom - containerTop}px`;\n calendarContainer.style.left = !isRtl ? '0' : 'auto';\n calendarContainer.style.right = !isRtl ? 'auto' : '0';\n };\n\n /**\n * Registers this Flatpickr plugin.\n *\n * @param calendar The Flatpickr instance.\n */\n const register = () => {\n fp.loadedPlugins.push('carbonFlatpickrAppendToPlugin');\n };\n\n return {\n appendTo: config.appendTo,\n onReady: register,\n onPreCalendarPosition: handlePreCalendarPosition,\n };\n };\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/date-picker/css-class-plugin.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAC;AAGtD;;GAEG;AACH,MAAM,WAAW,8BAA8B;IAC7C;;OAEG;IACH,sBAAsB,EAAE,MAAM,CAAC;IAE/B;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,sBAAsB,EAAE,MAAM,CAAC;IAE/B;;OAEG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAElC;;OAEG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAE9B;;OAEG;IACH,wBAAwB,EAAE,MAAM,CAAC;IAEjC;;OAEG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAE7B;;OAEG;IACH,mBAAmB,EAAE,MAAM,CAAC;CAC7B;AAED;;;GAGG;iCACqB,8BAA8B,KAAG,MAAM;AAA/D,wBA+EI","file":"css-class-plugin.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2022\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { Instance as FlatpickrInstance } from 'flatpickr/dist/types/instance';\nimport { Plugin } from 'flatpickr/dist/types/options';\nimport { forEach } from '../../globals/internal/collection-helpers';\n\n/**\n * The configuration for the Flatpickr plugin to set CSS classes specific to this design system.\n */\nexport interface DatePickerCSSClassPluginConfig {\n /**\n * The CSS class for the calendar dropdown.\n */\n classCalendarContainer: string;\n\n /**\n * The CSS class for the month navigator.\n */\n classMonth: string;\n\n /**\n * The CSS class for the container of the weekdays.\n */\n classWeekdays: string;\n\n /**\n * The CSS class for the container of the days.\n */\n classDays: string;\n\n /**\n * The CSS class applied to each weekdays.\n */\n classWeekday: string;\n\n /**\n * The CSS class applied to each days.\n */\n classDay: string;\n\n /**\n * The CSS class applied to the \"today\" highlight if there are any dates selected.\n */\n classNoBorder: string;\n\n /**\n * The CSS selector for Flatpickr's month navigator.\n */\n selectorFlatpickrMonth: string;\n\n /**\n * The CSS selector for Flatpickr's container of the weekdays.\n */\n selectorFlatpickrWeekdays: string;\n\n /**\n * The CSS selector for Flatpickr's container of the days.\n */\n selectorFlatpickrDays: string;\n\n /**\n * The CSS selector applied to Flatpickr's each weekdays.\n */\n selectorFlatpickrWeekday: string;\n\n /**\n * The CSS selector applied to Flatpickr's each days.\n */\n selectorFlatpickrDay: string;\n\n /**\n * The CSS class applied to Flatpickr's \"today\" highlight.\n */\n classFlatpickrToday: string;\n}\n\n/**\n * @param config Plugin configuration.\n * @returns A Flatpickr plugin to set CSS classes specific to this design system.\n */\nexport default (config: DatePickerCSSClassPluginConfig): Plugin =>\n (fp: FlatpickrInstance) => {\n /**\n * Adds class names specific to our design system to calendar dropdown.\n */\n const ensureClassesInDatePicker = () => {\n const { calendarContainer, selectedDates } = fp;\n if (calendarContainer) {\n const {\n classCalendarContainer,\n classMonth,\n classWeekdays,\n classDays,\n classWeekday,\n classDay,\n classNoBorder,\n selectorFlatpickrMonth,\n selectorFlatpickrWeekdays,\n selectorFlatpickrDays,\n selectorFlatpickrWeekday,\n selectorFlatpickrDay,\n classFlatpickrToday,\n } = config;\n calendarContainer.classList.add(classCalendarContainer);\n const month = calendarContainer.querySelector(selectorFlatpickrMonth);\n if (month) {\n month.classList.add(classMonth);\n }\n const weekdays = calendarContainer.querySelector(\n selectorFlatpickrWeekdays\n );\n if (weekdays) {\n weekdays.classList.add(classWeekdays);\n }\n const days = calendarContainer.querySelector(selectorFlatpickrDays);\n if (days) {\n days.classList.add(classDays);\n }\n forEach(\n calendarContainer.querySelectorAll(selectorFlatpickrWeekday),\n (item) => {\n item.innerHTML = item.innerHTML.replace(/\\s+/g, '');\n item.classList.add(classWeekday);\n }\n );\n forEach(\n calendarContainer.querySelectorAll(selectorFlatpickrDay),\n (item) => {\n item.classList.add(classDay);\n if (\n item.classList.contains(classFlatpickrToday) &&\n selectedDates!.length > 0\n ) {\n item.classList.add(classNoBorder);\n } else if (\n item.classList.contains(classFlatpickrToday) &&\n selectedDates!.length === 0\n ) {\n item.classList.remove(classNoBorder);\n }\n }\n );\n }\n };\n\n /**\n * Registers this Flatpickr plugin.\n */\n const register = () => {\n fp.loadedPlugins.push('carbonFlatpickrCSSClassPlugin');\n };\n\n return {\n onMonthChange: ensureClassesInDatePicker,\n onYearChange: ensureClassesInDatePicker,\n onValueUpdate: ensureClassesInDatePicker,\n onOpen: ensureClassesInDatePicker,\n onReady: [register],\n };\n };\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/date-picker/date-picker-input-skeleton.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAGvC,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAI7D;;GAEG;AACH,cACM,0BAA2B,SAAQ,UAAU;IACjD;;OAEG;IAEH,IAAI,yBAAiC;IAErC,MAAM;IAON,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,0BAA0B,CAAC","file":"date-picker-input-skeleton.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2023\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { LitElement, html } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { prefix } from '../../globals/settings';\nimport { DATE_PICKER_INPUT_KIND } from './date-picker-input';\nimport styles from './date-picker.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * Skeleton version of the input box for date picker.\n */\n@customElement(`${prefix}-date-picker-input-skeleton`)\nclass CDSDatePickerInputSkeleton extends LitElement {\n /**\n * Date picker input kind. Corresponds to the attribute with the same name.\n */\n @property({ reflect: true })\n kind = DATE_PICKER_INPUT_KIND.SIMPLE;\n\n render() {\n return html`\n <span class=\"${prefix}--label\"></span>\n <div class=\"${prefix}--date-picker__input ${prefix}--skeleton\"></div>\n `;\n }\n\n static styles = styles;\n}\n\nexport default CDSDatePickerInputSkeleton;\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/date-picker/date-picker-input.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAMvC,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAE,8BAA8B,EAAE,sBAAsB,EAAE,MAAM,QAAQ,CAAC;AAMhF,OAAO,EAAE,8BAA8B,EAAE,sBAAsB,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAElE;;;;GAIG;AACH,cACM,kBAAmB,SAAQ,uBAAsB;IACrD;;OAEG;IAEH,OAAO,CAAC,SAAS,CAAc;IAE/B;;;;OAIG;IACH,OAAO,CAAC,mBAAmB;IAM3B;;;;OAIG;IACH,OAAO,CAAC,YAAY;IAKpB;;OAEG;IACH,OAAO,CAAC,WAAW;IAUnB;;OAEG;IAEH,SAAS,CAAC,cAAc,UAAS;IAEjC;;OAEG;IACH,SAAS,CAAC,iBAAiB,CAAC,EAAE,MAAM,EAAE,EAAE,KAAK;IAY7C;;OAEG;IAEH,KAAK,EAAG,gBAAgB,CAAC;IAEzB;;OAEG;IAEH,WAAW,iCAA0C;IAErD;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,SAAS,UAAS;IAElB;;OAEG;IAEH,IAAI,UAAS;IAEb;;OAEG;IAEH,QAAQ,SAAM;IAEd;;OAEG;IAEH,WAAW,SAAM;IAEjB;;OAEG;IAEH,OAAO,UAAS;IAEhB;;OAEG;IAEH,IAAI,yBAAiC;IAErC;;OAEG;IAEH,SAAS,EAAG,MAAM,CAAC;IAEnB;;OAEG;IAEH,OAAO,EAAG,MAAM,CAAC;IAEjB;;OAEG;IAEH,WAAW,EAAG,MAAM,CAAC;IAErB;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,IAAI,aAAqB;IAEzB;;OAEG;IAEH,KAAK,UAAS;IAEd;;OAEG;IAEH,IAAI,EAAG,MAAM,CAAC;IAEd;;OAEG;IAEH,KAAK,EAAG,MAAM,CAAC;IAEf,MAAM;IAuGN;;OAEG;IACH,MAAM,CAAC,cAAc,SAAkC;IAEvD;;OAEG;IACH,MAAM,CAAC,WAAW,SAAU;IAE5B;;OAEG;IACH,MAAM,KAAK,cAAc,WAExB;IAED,MAAM,CAAC,iBAAiB;;;;MAGtB;IACF,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,kBAAkB,CAAC","file":"date-picker-input.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2023\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { classMap } from 'lit/directives/class-map.js';\nimport { LitElement, html } from 'lit';\nimport { property, query, state } from 'lit/decorators.js';\nimport Calendar16 from '@carbon/icons/lib/calendar/16';\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport { prefix } from '../../globals/settings';\nimport FocusMixin from '../../globals/mixins/focus';\nimport { INPUT_SIZE } from '../text-input/text-input';\nimport { DATE_PICKER_INPUT_COLOR_SCHEME, DATE_PICKER_INPUT_KIND } from './defs';\nimport WarningFilled16 from '@carbon/icons/lib/warning--filled/16';\nimport WarningAltFilled16 from '@carbon/icons/lib/warning--alt--filled/16';\nimport styles from './date-picker.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\nexport { DATE_PICKER_INPUT_COLOR_SCHEME, DATE_PICKER_INPUT_KIND };\n\n/**\n * The input box for date picker.\n *\n * @element cds-date-picker-input\n */\n@customElement(`${prefix}-date-picker-input`)\nclass CDSDatePickerInput extends FocusMixin(LitElement) {\n /**\n * The calendar icon.\n */\n @query(`.${prefix}--date-picker__icon`)\n private _iconNode!: SVGElement;\n\n /**\n * Handles `click` event on the calendar icon.\n *\n * @param event The event.\n */\n private _handleClickWrapper(event: MouseEvent) {\n if (event.target === this._iconNode) {\n this.input.focus();\n }\n }\n\n /**\n * Handles `input` event on `<input>` in the shadow DOM.\n *\n * @param event The event.\n */\n private _handleInput({ target }: Event) {\n const { value } = target as HTMLInputElement;\n this.value = value;\n }\n\n /**\n * @returns The template for the the calendar icon.\n */\n private _renderIcon() {\n return this.kind === DATE_PICKER_INPUT_KIND.SIMPLE\n ? undefined\n : Calendar16({\n class: `${prefix}--date-picker__icon`,\n role: 'img',\n children: [html` <title>Open calendar</title> `],\n });\n }\n\n /**\n * `true` if there is helper text content.\n */\n @state()\n protected _hasHelperText = false;\n\n /**\n * Handles `slotchange` event on the default `<slot>`.\n */\n protected _handleSlotChange({ target }: Event) {\n if (!(target as HTMLSlotElement).name) {\n const hasContent = (target as HTMLSlotElement)\n .assignedNodes()\n .some(\n (node) =>\n node.nodeType !== Node.TEXT_NODE || node!.textContent!.trim()\n );\n this._hasHelperText = hasContent;\n }\n }\n\n /**\n * The `<input>`, used for Flatpickr to grab.\n */\n @query('input')\n input!: HTMLInputElement;\n\n /**\n * The color scheme.\n */\n @property({ attribute: 'color-scheme', reflect: true })\n colorScheme = DATE_PICKER_INPUT_COLOR_SCHEME.REGULAR;\n\n /**\n * `true` if the check box should be disabled.\n */\n @property({ type: Boolean, reflect: true })\n disabled = false;\n\n /**\n * `true` if the label should be hidden.\n */\n @property({ type: Boolean, reflect: true, attribute: 'hide-label' })\n hideLabel = false;\n\n /**\n * Specify whether the control is currently in warning state\n */\n @property({ type: Boolean, reflect: true })\n warn = false;\n\n /**\n * Provide the text that is displayed when the control is in warning state\n */\n @property({ attribute: 'warn-text' })\n warnText = '';\n\n /**\n * Message which is displayed if the value is invalid.\n */\n @property({ attribute: 'invalid-text' })\n invalidText = '';\n\n /**\n * Controls the invalid state and visibility of the `validityMessage`.\n */\n @property({ type: Boolean, reflect: true })\n invalid = false;\n\n /**\n * Date picker input kind.\n */\n @property({ reflect: true })\n kind = DATE_PICKER_INPUT_KIND.SIMPLE;\n\n /**\n * The label text.\n */\n @property({ attribute: 'label-text' })\n labelText!: string;\n\n /**\n * The `pattern` attribute for the `<input>` in the shadow DOM.\n */\n @property()\n pattern!: string;\n\n /**\n * The placeholder text.\n */\n @property()\n placeholder!: string;\n\n /**\n * Specify if the component should be read-only\n */\n @property({ type: Boolean, reflect: true })\n readonly = false;\n\n /**\n * `true` if the value is required.\n */\n @property({ type: Boolean, reflect: true })\n required = false;\n\n /**\n * Vertical size of this date picker input.\n */\n @property({ attribute: 'size', reflect: true })\n size = INPUT_SIZE.MEDIUM;\n\n /**\n * true to use the short version.\n */\n @property({ type: Boolean, reflect: true })\n short = false;\n\n /**\n * The `type` attribute for the `<input>` in the shadow DOM.\n */\n @property()\n type!: string;\n\n /**\n * The value.\n */\n @property()\n value!: string;\n\n render() {\n const constructor = this.constructor as typeof CDSDatePickerInput;\n const {\n disabled,\n _hasHelperText: hasHelperText,\n hideLabel,\n invalid,\n invalidText,\n labelText,\n pattern = constructor.defaultPattern,\n placeholder,\n readonly,\n size,\n type = constructor.defaultType,\n value,\n warn,\n warnText,\n _handleClickWrapper: handleClickWrapper,\n _handleInput: handleInput,\n } = this;\n\n const invalidIcon = WarningFilled16({\n class: `${prefix}--date-picker__icon ${prefix}--date-picker__icon--invalid`,\n });\n\n const warnIcon = WarningAltFilled16({\n class: `${prefix}--date-picker__icon ${prefix}--date-picker__icon--warn`,\n });\n\n let normalizedProps = {\n disabled: !readonly && disabled,\n invalid: !readonly && invalid,\n warn: !readonly && !invalid && warn,\n 'slot-name': '',\n 'slot-text': '',\n icon: null,\n };\n\n if (normalizedProps.invalid) {\n normalizedProps.icon = invalidIcon;\n normalizedProps['slot-name'] = 'invalid-text';\n normalizedProps['slot-text'] = invalidText;\n } else if (normalizedProps.warn) {\n normalizedProps.icon = warnIcon;\n normalizedProps['slot-name'] = 'warn-text';\n normalizedProps['slot-text'] = warnText;\n }\n\n const labelClasses = classMap({\n [`${prefix}--label`]: true,\n [`${prefix}--visually-hidden`]: hideLabel,\n [`${prefix}--label--disabled`]: disabled,\n });\n const inputClasses = classMap({\n [`${prefix}--date-picker__input`]: true,\n [`${prefix}--date-picker__input--invalid`]: normalizedProps.invalid,\n [`${prefix}--date-picker__input--warn`]: normalizedProps.warn,\n [`${prefix}--date-picker__input--${size}`]: size,\n });\n\n const inputWrapperClasses = classMap({\n [`${prefix}--date-picker-input__wrapper`]: true,\n [`${prefix}--date-picker-input__wrapper--invalid`]:\n normalizedProps.invalid,\n [`${prefix}--date-picker-input__wrapper--warn`]: normalizedProps.warn,\n });\n\n const helperTextClasses = classMap({\n [`${prefix}--form__helper-text`]: true,\n [`${prefix}--form__helper-text--disabled`]: disabled,\n });\n\n return html`\n <label for=\"input\" class=\"${labelClasses}\">\n <slot name=\"label-text\">${labelText}</slot>\n </label>\n <div class=\"${inputWrapperClasses}\" @click=\"${handleClickWrapper}\">\n <input\n id=\"input\"\n type=\"${type}\"\n class=\"${inputClasses}\"\n ?disabled=\"${disabled}\"\n pattern=\"${pattern}\"\n placeholder=\"${ifDefined(placeholder)}\"\n .value=\"${ifDefined(value)}\"\n ?data-invalid=\"${invalid}\"\n @input=\"${handleInput}\"\n ?readonly=\"${readonly}\" />\n ${normalizedProps.icon || this._renderIcon()}\n </div>\n <div\n class=\"${prefix}--form-requirement\"\n ?hidden=\"${!normalizedProps.invalid && !normalizedProps.warn}\">\n <slot name=\"${normalizedProps['slot-name']}\">\n ${normalizedProps['slot-text']}\n </slot>\n </div>\n <div ?hidden=\"${hasHelperText}\" class=\"${helperTextClasses}\">\n <slot name=\"helper-text\" @slotchange=\"${this._handleSlotChange}\"></slot>\n </div>\n `;\n }\n\n /**\n * The default value for `pattern` property.\n */\n static defaultPattern = '\\\\d{1,2}\\\\/\\\\d{1,2}\\\\/\\\\d{4}';\n\n /**\n * The default value for `type` property.\n */\n static defaultType = 'text';\n\n /**\n * A selector that will return the parent date picker.\n */\n static get selectorParent() {\n return `${prefix}-date-picker`;\n }\n\n static shadowRootOptions = {\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n };\n static styles = styles;\n}\n\nexport default CDSDatePickerInput;\n"]}