@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/progress-indicator/progress-step.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAC;AAQ5C,OAAO,EAAE,kBAAkB,EAAE,MAAM,QAAQ,CAAC;AAI5C,OAAO,EAAE,kBAAkB,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAY9B;;;;;GAKG;AAEH,MAAM,CAAC,OAAO,OAAO,eAAgB,SAAQ,oBAAsB;IACjE;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,SAAS,EAAG,MAAM,CAAC;IAGnB,WAAW,EAAG,MAAM,CAAC;IAErB;;OAEG;IAEH,SAAS,EAAG,MAAM,CAAC;IAGnB,KAAK,EAAG,MAAM,CAAC;IAEf;;OAEG;IAEH,kBAAkB,EAAG,MAAM,CAAC;IAG5B,cAAc,EAAG,MAAM,CAAC;IAExB;;OAEG;IAEH,KAAK,qBAAiC;IAEtC;;;;OAIG;IAEH,QAAQ,UAAS;IAEjB;;;;OAIG;IAEH,YAAY,UAAS;IAErB,iBAAiB;IAOjB,OAAO,CAAC,iBAAiB,KAAA;IAMzB,MAAM;IAwCN,MAAM,CAAC,iBAAiB;;;;MAGtB;IACF,MAAM,CAAC,MAAM,MAAU;CACxB","file":"progress-step.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, svg } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport CheckmarkOutline16 from '@carbon/icons/lib/checkmark--outline/16';\nimport CircleDash16 from '@carbon/icons/lib/circle-dash/16';\nimport Incomplete16 from '@carbon/icons/lib/incomplete/16';\nimport Warning16 from '@carbon/icons/lib/warning/16';\nimport { prefix } from '../../globals/settings';\nimport FocusMixin from '../../globals/mixins/focus';\nimport { PROGRESS_STEP_STAT } from './defs';\nimport styles from './progress-indicator.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\nexport { PROGRESS_STEP_STAT };\n\n/**\n * Icons, keyed by state.\n */\nconst icons = {\n [PROGRESS_STEP_STAT.COMPLETE]: CheckmarkOutline16,\n [PROGRESS_STEP_STAT.INCOMPLETE]: CircleDash16,\n [PROGRESS_STEP_STAT.INVALID]: Warning16,\n [PROGRESS_STEP_STAT.CURRENT]: Incomplete16,\n};\n\n/**\n * Progress step.\n *\n * @element cds-progress-step\n * @slot secondary-label-text - The secondary progress label.\n */\n@customElement(`${prefix}-progress-step`)\nexport default class CDSProgressStep extends FocusMixin(LitElement) {\n /**\n * `true` if the progress step should be disabled.\n */\n @property({ type: Boolean, reflect: true })\n disabled = false;\n\n /**\n * The a11y text for the icon.\n */\n @property({ attribute: 'icon-label' })\n iconLabel!: string;\n\n @property({ reflect: true })\n description!: string;\n\n /**\n * The primary progress label.\n */\n @property({ attribute: 'label-text' })\n labelText!: string;\n\n @property()\n label!: string;\n\n /**\n * The secondary progress label.\n */\n @property({ attribute: 'secondary-label-text' })\n secondaryLabelText!: string;\n\n @property({ attribute: 'secondary-label' })\n secondaryLabel!: string;\n\n /**\n * The progress state.\n */\n @property()\n state = PROGRESS_STEP_STAT.INCOMPLETE;\n\n /**\n * `true` if the progress step should be vertical.\n *\n * @private\n */\n @property({ type: Boolean, reflect: true })\n vertical = false;\n\n /**\n * `true` if the progress step should be spaced equally.\n *\n * @private\n */\n @property({ type: Boolean, reflect: true })\n spaceEqually = false;\n\n connectedCallback() {\n if (!this.hasAttribute('role')) {\n this.setAttribute('role', 'listitem');\n }\n super.connectedCallback();\n }\n\n updated(changedProperties) {\n if (changedProperties.has('disabled')) {\n this.setAttribute('aria-disabled', String(Boolean(this.disabled)));\n }\n }\n\n render() {\n const {\n description,\n iconLabel,\n label,\n secondaryLabelText,\n secondaryLabel,\n state,\n } = this;\n const svgLabel = iconLabel || description;\n const optionalLabel = secondaryLabelText || secondaryLabel;\n return html`\n <div class=\"${prefix}--progress-step-button\" tabindex=\"0\">\n ${icons[state]({\n class: {\n [PROGRESS_STEP_STAT.INVALID]: `${prefix}--progress__warning`,\n }[state],\n children: svgLabel ? svg`<title>${svgLabel}</title>` : undefined,\n })}\n <slot>\n <p\n role=\"button\"\n class=\"${prefix}--progress-label\"\n aria-describedby=\"label-tooltip\"\n title=\"${label}\">\n ${label}\n </p>\n </slot>\n <slot name=\"secondary-label-text\">\n ${!optionalLabel\n ? undefined\n : html`<p class=\"${prefix}--progress-optional\">\n ${optionalLabel}\n </p>`}\n </slot>\n <span class=\"${prefix}--progress-line\"></span>\n </div>\n `;\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/radio-button/defs.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH;;GAEG;AACH,oBAAY,2BAA2B;IACrC;;OAEG;IACH,IAAI,SAAS;IAEb;;OAEG;IACH,KAAK,UAAU;CAChB;AAED;;GAEG;AACH,oBAAY,wBAAwB;IAClC;;OAEG;IACH,UAAU,eAAe;IAEzB;;OAEG;IACH,QAAQ,aAAa;CACtB","file":"defs.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2020\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 * The label position of radio button.\n */\nexport enum RADIO_BUTTON_LABEL_POSITION {\n /**\n * Placed at left.\n */\n LEFT = 'left',\n\n /**\n * Placed at right.\n */\n RIGHT = 'right',\n}\n\n/**\n * How to lay out radio buttons.\n */\nexport enum RADIO_BUTTON_ORIENTATION {\n /**\n * Laying out radio buttons horizontally.\n */\n HORIZONTAL = 'horizontal',\n\n /**\n * Laying out radio buttons vertically.\n */\n VERTICAL = 'vertical',\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/radio-button/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,gBAAgB,CAAC;AACxB,OAAO,sBAAsB,CAAC;AAC9B,OAAO,yBAAyB,CAAC","file":"index.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2021\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 './radio-button';\nimport './radio-button-group';\nimport './radio-button-skeleton';\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/radio-button/radio-button-group.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAQvC,OAAO,EAAE,2BAA2B,EAAE,wBAAwB,EAAE,MAAM,QAAQ,CAAC;AAO/E,OAAO,EAAE,wBAAwB,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yEA8DlC;;mBAEG;;;;;AA9DL;;;;;GAKG;AACH,cACM,mBAAoB,SAAQ,wBAAwC;IACxE;;OAEG;IAGH,OAAO,CAAC,6BAA6B,CAqBnC;IAEF,eAAe,CAAC,KAAK,EAAE,KAAK;IAY5B;;OAEG;IAEH,eAAe,EAAG,MAAM,CAAC;IAEzB;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,aAAa,8BAAqC;IAElD;;OAEG;IAEH,UAAU,SAAM;IAEhB;;OAEG;IAEH,UAAU,MAAC;IAEX;;OAEG;IAEH,IAAI,UAAS;IAEb;;OAEG;IAEH,QAAQ,SAAM;IAEd;;OAEG;IAEH,OAAO,UAAS;IAEhB;;OAEG;IAEH,WAAW,SAAM;IAEjB;;OAEG;IAEH,IAAI,EAAG,MAAM,CAAC;IAEd;;OAEG;IAEH,WAAW,2BAAuC;IAElD;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,KAAK,EAAG,MAAM,CAAC;IAEf,OAAO,CAAC,iBAAiB,KAAA;IA4BzB,MAAM;IA2DN;;OAEG;IACH,MAAM,KAAK,mBAAmB,WAE7B;IAED;;OAEG;IACH,MAAM,KAAK,WAAW,WAErB;IAED;;OAEG;IACH,MAAM,KAAK,sBAAsB,WAEhC;IAED,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,mBAAmB,CAAC","file":"radio-button-group.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 { classMap } from 'lit/directives/class-map.js';\nimport { prefix } from '../../globals/settings';\nimport FormMixin from '../../globals/mixins/form';\nimport HostListenerMixin from '../../globals/mixins/host-listener';\nimport HostListener from '../../globals/decorators/host-listener';\nimport { find, forEach } from '../../globals/internal/collection-helpers';\nimport { RADIO_BUTTON_LABEL_POSITION, RADIO_BUTTON_ORIENTATION } from './defs';\nimport WarningFilled16 from '@carbon/icons/lib/warning--filled/16';\nimport WarningAltFilled16 from '@carbon/icons/lib/warning--alt--filled/16';\nimport CDSRadioButton from './radio-button';\nimport styles from './radio-button.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\nexport { RADIO_BUTTON_ORIENTATION };\n\n/**\n * Radio button group.\n *\n * @element cds-radio-button-group\n * @fires cds-radio-button-group-changed - The custom event fired after this radio button group changes its selected item.\n */\n@customElement(`${prefix}-radio-button-group`)\nclass CDSRadioButtonGroup extends FormMixin(HostListenerMixin(LitElement)) {\n /**\n * Handles user-initiated change in selected radio button.\n */\n @HostListener('eventChangeRadioButton')\n // @ts-ignore: The decorator refers to this method but TS thinks this method is not referred to\n private _handleAfterChangeRadioButton = () => {\n const { selectorRadioButton } = this\n .constructor as typeof CDSRadioButtonGroup;\n const selected = find(\n this.querySelectorAll(selectorRadioButton),\n (elem) => (elem as CDSRadioButton).checked\n );\n const oldValue = this.value;\n this.value = selected && selected.value;\n if (oldValue !== this.value) {\n const { eventChange } = this.constructor as typeof CDSRadioButtonGroup;\n this.dispatchEvent(\n new CustomEvent(eventChange, {\n bubbles: true,\n composed: true,\n detail: {\n value: this.value,\n },\n })\n );\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 { disabled, name, value } = this;\n if (\n !disabled &&\n typeof name !== 'undefined' &&\n typeof value !== 'undefined'\n ) {\n formData.append(name, value);\n }\n }\n\n /**\n * The `value` attribute for the `<input>` for selection.\n */\n @property()\n defaultSelected!: string;\n\n /**\n * `true` if the radio button group should be disabled.\n */\n @property({ type: Boolean, reflect: true })\n disabled = false;\n\n /**\n * The label position.\n */\n @property({ reflect: true, attribute: 'label-position' })\n labelPosition = RADIO_BUTTON_LABEL_POSITION.RIGHT;\n\n /**\n * The label position.\n */\n @property({ reflect: true, attribute: 'legend-text' })\n legendText = '';\n\n /**\n * The helper text.\n */\n @property({ attribute: 'helper-text' })\n helperText;\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 * Specify if the currently value is invalid.\n */\n @property({ type: Boolean, reflect: true })\n invalid = false;\n\n /**\n * Message which is displayed if the value is invalid.\n */\n @property({ attribute: 'invalid-text' })\n invalidText = '';\n\n /**\n * The `name` attribute for the `<input>` for selection.\n */\n @property()\n name!: string;\n\n /**\n * The orientation to lay out radio buttons.\n */\n @property({ reflect: true })\n orientation = RADIO_BUTTON_ORIENTATION.HORIZONTAL;\n\n /**\n * Controls the readonly state of the radio button group.\n */\n @property({ type: Boolean, reflect: true })\n readOnly = false;\n\n /**\n * The `value` attribute for the `<input>` for selection.\n */\n @property()\n value!: string;\n\n updated(changedProperties) {\n const { selectorRadioButton } = this\n .constructor as typeof CDSRadioButtonGroup;\n ['disabled', 'labelPosition', 'orientation', 'readOnly', 'name'].forEach(\n (name) => {\n if (changedProperties.has(name)) {\n const { [name as keyof CDSRadioButtonGroup]: value } = this;\n // Propagate the property to descendants until `:host-context()` gets supported in all major browsers\n forEach(this.querySelectorAll(selectorRadioButton), (elem) => {\n (elem as CDSRadioButton)[name] = value;\n });\n }\n }\n );\n if (changedProperties.has('value')) {\n const { value } = this;\n forEach(this.querySelectorAll(selectorRadioButton), (elem) => {\n (elem as CDSRadioButton).checked =\n value === (elem as CDSRadioButton).value;\n });\n }\n if (changedProperties.has('invalid')) {\n forEach(this.querySelectorAll(selectorRadioButton), (elem) => {\n (elem as CDSRadioButton).invalid = this.invalid;\n });\n }\n }\n\n render() {\n const {\n readOnly,\n invalid,\n invalidText,\n warn,\n warnText,\n disabled,\n orientation,\n legendText,\n helperText,\n } = this;\n\n const showWarning = !readOnly && !invalid && warn;\n const showHelper = !invalid && !disabled && !warn;\n\n const invalidIcon = WarningFilled16({\n class: `${prefix}--radio-button__invalid-icon`,\n });\n\n const warnIcon = WarningAltFilled16({\n class: `${prefix}--radio-button__invalid-icon ${prefix}--radio-button__invalid-icon--warning`,\n });\n\n const helper = helperText\n ? html`<div class=\"${prefix}--form__helper-text\">${helperText}</div>`\n : null;\n\n const fieldsetClasses = classMap({\n [`${prefix}--radio-button-group`]: true,\n [`${prefix}--radio-button-group--readonly`]: readOnly,\n [`${prefix}--radio-button-group--${orientation}`]:\n orientation === 'vertical',\n });\n\n return html` <fieldset\n class=\"${fieldsetClasses}\"\n ?disabled=\"${disabled}\"\n aria-readonly=\"${readOnly}\">\n ${legendText\n ? html` <legend class=\"${prefix}--label\">${legendText}</legend>`\n : ``}\n <slot></slot>\n </fieldset>\n <div class=\"${prefix}--radio-button__validation-msg\">\n ${!readOnly && invalid\n ? html`\n ${invalidIcon}\n <div class=\"${prefix}--form-requirement\">${invalidText}</div>\n `\n : null}\n ${showWarning\n ? html`${warnIcon}\n <div class=\"${prefix}--form-requirement\">${warnText}</div>`\n : null}\n </div>\n ${showHelper ? helper : null}`;\n }\n\n /**\n * A selector that will return the radio buttons.\n */\n static get selectorRadioButton() {\n return `${prefix}-radio-button`;\n }\n\n /**\n * The name of the custom event fired after this radio button group changes its selected item.\n */\n static get eventChange() {\n return `${prefix}-radio-button-group-changed`;\n }\n\n /**\n * The name of the custom event fired after a radio button changes its checked state.\n */\n static get eventChangeRadioButton() {\n return `${prefix}-radio-button-changed`;\n }\n\n static styles = styles;\n}\n\nexport default CDSRadioButtonGroup;\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/radio-button/radio-button-skeleton.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAKvC;;GAEG;AACH,cACM,sBAAuB,SAAQ,UAAU;IAC7C,MAAM;IAON,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,sBAAsB,CAAC","file":"radio-button-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 { prefix } from '../../globals/settings';\nimport styles from './radio-button.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * Skeleton of radio button.\n */\n@customElement(`${prefix}-radio-button-skeleton`)\nclass CDSRadioButtonSkeleton extends LitElement {\n render() {\n return html`\n <div class=\"${prefix}--radio-button ${prefix}--skeleton\"></div>\n <span class=\"${prefix}--radio-button__label ${prefix}--skeleton\"></span>\n `;\n }\n\n static styles = styles;\n}\n\nexport default CDSRadioButtonSkeleton;\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/radio-button/radio-button.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAWvC,OAAO,EAAE,2BAA2B,EAAE,wBAAwB,EAAE,MAAM,QAAQ,CAAC;AAI/E,OAAO,EAAE,2BAA2B,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4EvC;;;;;GAKG;AACH,cACM,cAAe,SAAQ,mBAAyC;IACpE;;OAEG;IACH,OAAO,CAAC,QAAQ,CAAkC;IAElD;;OAEG;IACH,OAAO,CAAC,oBAAoB,CAAuB;IAEnD;;OAEG;IAEH,OAAO,CAAC,UAAU,CAAoB;IAEtC;;OAEG;IAGH,OAAO,CAAC,YAAY,CAoBlB;IAEF;;OAEG;IAGH,OAAO,CAAC,cAAc,CAmBpB;IAEF;;OAEG;IAEH,OAAO,UAAS;IAEhB;;OAEG;IAEH,SAAS,UAAS;IAElB;;OAEG;IAEH,YAAY,UAAS;IAErB;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,SAAS,UAAS;IAElB;;OAEG;IAEH,OAAO,UAAS;IAEhB;;OAEG;IAEH,aAAa,8BAAqC;IAElD;;OAEG;IAEH,SAAS,SAAM;IAEf;;OAEG;IAEH,IAAI,EAAG,MAAM,CAAC;IAEd;;OAEG;IAEH,WAAW,2BAAuC;IAElD;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,KAAK,EAAG,MAAM,CAAC;IAEf,oBAAoB;IAOpB,YAAY;IAIZ,OAAO,CAAC,iBAAiB,KAAA;IA+BzB,MAAM;IA6BN;;OAEG;IACH,MAAM,KAAK,WAAW,WAErB;IAED,MAAM,CAAC,iBAAiB;;;;MAGtB;IACF,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,cAAc,CAAC","file":"radio-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 { 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 { ifDefined } from 'lit/directives/if-defined.js';\nimport HostListener from '../../globals/decorators/host-listener';\nimport FocusMixin from '../../globals/mixins/focus';\nimport HostListenerMixin from '../../globals/mixins/host-listener';\nimport RadioGroupManager, {\n NAVIGATION_DIRECTION,\n ManagedRadioButtonDelegate,\n} from '../../globals/internal/radio-group-manager';\nimport { RADIO_BUTTON_LABEL_POSITION, RADIO_BUTTON_ORIENTATION } from './defs';\nimport styles from './radio-button.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\nexport { RADIO_BUTTON_LABEL_POSITION };\n\n/**\n * Map of navigation direction by key for horizontal alignment.\n */\nconst navigationDirectionForKeyHorizontal = {\n ArrowLeft: NAVIGATION_DIRECTION.BACKWARD,\n Left: NAVIGATION_DIRECTION.BACKWARD, // IE\n ArrowRight: NAVIGATION_DIRECTION.FORWARD,\n Right: NAVIGATION_DIRECTION.FORWARD, // IE\n};\n\n/**\n * Map of navigation direction by key for vertical alignment.\n */\nconst navigationDirectionForKeyVertical = {\n ArrowUp: NAVIGATION_DIRECTION.BACKWARD,\n Up: NAVIGATION_DIRECTION.BACKWARD, // IE\n ArrowDown: NAVIGATION_DIRECTION.FORWARD,\n Down: NAVIGATION_DIRECTION.FORWARD, // IE\n};\n\n/**\n * The interface for `RadioGroupManager` for radio button.\n */\nclass RadioButtonDelegate implements ManagedRadioButtonDelegate {\n /**\n * The radio button to target.\n */\n private _radio: HTMLInputElement;\n\n constructor(radio: HTMLInputElement) {\n this._radio = radio;\n }\n\n get checked() {\n return this._radio.checked;\n }\n\n set checked(checked) {\n const { host } = this._radio.getRootNode() as ShadowRoot;\n const { eventChange } = host.constructor as typeof CDSRadioButton; // eslint-disable-line no-use-before-define\n (host as CDSRadioButton).checked = checked;\n this._radio.tabIndex = checked ? 0 : -1;\n host.dispatchEvent(\n new CustomEvent(eventChange, {\n bubbles: true,\n composed: true,\n detail: {\n checked,\n },\n })\n );\n }\n\n get tabIndex() {\n return this._radio.tabIndex;\n }\n\n set tabIndex(tabIndex) {\n this._radio.tabIndex = tabIndex;\n }\n\n get name() {\n return this._radio.name;\n }\n\n compareDocumentPosition(other: RadioButtonDelegate) {\n return this._radio.compareDocumentPosition(other._radio);\n }\n\n focus() {\n this._radio.focus();\n }\n}\n\n/**\n * Radio button.\n *\n * @element cds-radio-button\n * @fires cds-radio-button-changed - The custom event fired after this radio button changes its checked state.\n */\n@customElement(`${prefix}-radio-button`)\nclass CDSRadioButton extends HostListenerMixin(FocusMixin(LitElement)) {\n /**\n * The radio group manager associated with the radio button.\n */\n private _manager: RadioGroupManager | null = null;\n\n /**\n * The interface for `RadioGroupManager` for radio button.\n */\n private _radioButtonDelegate!: RadioButtonDelegate;\n\n /**\n * The hidden radio button.\n */\n @query('#input')\n private _inputNode!: HTMLInputElement;\n\n /**\n * Handles `click` event on this element.\n */\n @HostListener('click')\n // @ts-ignore: The decorator refers to this method but TS thinks this method is not referred to\n private _handleClick = () => {\n const { disabled, _radioButtonDelegate: radioButtonDelegate } = this;\n if (radioButtonDelegate && !disabled && !this.disabledItem) {\n this.checked = true;\n if (this._manager) {\n this._manager.select(radioButtonDelegate, this.readOnly);\n }\n this.dispatchEvent(\n new CustomEvent(\n (this.constructor as typeof CDSRadioButton).eventChange,\n {\n bubbles: true,\n composed: true,\n detail: {\n checked: this.checked,\n },\n }\n )\n );\n }\n };\n\n /**\n * Handles `keydown` event on this element.\n */\n @HostListener('keydown')\n // @ts-ignore: The decorator refers to this method but TS thinks this method is not referred to\n private _handleKeydown = (event: KeyboardEvent) => {\n const { orientation, _radioButtonDelegate: radioButtonDelegate } = this;\n const manager = this._manager;\n if (radioButtonDelegate && manager) {\n const navigationDirectionForKey =\n orientation === RADIO_BUTTON_ORIENTATION.HORIZONTAL\n ? navigationDirectionForKeyHorizontal\n : navigationDirectionForKeyVertical;\n const navigationDirection = navigationDirectionForKey[event.key];\n if (navigationDirection) {\n manager.select(\n manager.navigate(radioButtonDelegate, navigationDirection),\n this.readOnly\n );\n }\n if (event.key === ' ' || event.key === 'Enter') {\n manager.select(radioButtonDelegate, this.readOnly);\n }\n }\n };\n\n /**\n * `true` if this radio button should be checked.\n */\n @property({ type: Boolean, reflect: true })\n checked = false;\n\n /**\n * `true` if the radio button is used in a data table\n */\n @property({ type: Boolean, reflect: true, attribute: 'data-table' })\n dataTable = false;\n\n /**\n * `true` if the radio button item should be disabled.\n */\n @property({ type: Boolean, reflect: true })\n disabledItem = false;\n\n /**\n * `true` if the radio button group 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 if the currently value is invalid.\n */\n @property({ type: Boolean, reflect: true })\n invalid = false;\n\n /**\n * The label position.\n */\n @property({ reflect: true, attribute: 'label-position' })\n labelPosition = RADIO_BUTTON_LABEL_POSITION.RIGHT;\n\n /**\n * The label text.\n */\n @property({ attribute: 'label-text' })\n labelText = '';\n\n /**\n * The `name` attribute for the `<input>` for selection.\n */\n @property()\n name!: string;\n\n /**\n * The orientation to lay out radio buttons.\n */\n @property({ reflect: true })\n orientation = RADIO_BUTTON_ORIENTATION.HORIZONTAL;\n\n /**\n * `true` if the radio button group should be disabled.\n */\n @property({ type: Boolean, reflect: true })\n readOnly = false;\n\n /**\n * The `value` attribute for the `<input>` for selection.\n */\n @property()\n value!: string;\n\n disconnectedCallback() {\n if (this._manager) {\n this._manager.delete(this._radioButtonDelegate);\n }\n super.disconnectedCallback();\n }\n\n firstUpdated() {\n this._radioButtonDelegate = new RadioButtonDelegate(this._inputNode);\n }\n\n updated(changedProperties) {\n const {\n _inputNode: inputNode,\n _radioButtonDelegate: radioButtonDelegate,\n name,\n } = this;\n if (changedProperties.has('checked') || changedProperties.has('name')) {\n if (this.readOnly) {\n this.checked = false;\n }\n if (!this._manager) {\n this._manager = RadioGroupManager.get(\n this.getRootNode({ composed: true }) as Document\n );\n }\n const { _manager: manager } = this;\n if (changedProperties.has('name')) {\n manager!.delete(radioButtonDelegate, changedProperties.get('name'));\n if (name) {\n manager!.add(radioButtonDelegate);\n }\n }\n inputNode.setAttribute(\n 'tabindex',\n !name || !manager || !manager.shouldBeFocusable(radioButtonDelegate)\n ? '-1'\n : '0'\n );\n }\n }\n\n render() {\n const {\n checked,\n hideLabel,\n labelText,\n name,\n value,\n disabled,\n disabledItem,\n } = this;\n const innerLabelClasses = classMap({\n [`${prefix}--visually-hidden`]: hideLabel,\n });\n return html`\n <input\n id=\"input\"\n type=\"radio\"\n class=\"${prefix}--radio-button\"\n .checked=${checked}\n ?disabled=\"${disabledItem || disabled}\"\n name=${ifDefined(name)}\n value=${ifDefined(value)} />\n <label for=\"input\" class=\"${prefix}--radio-button__label\">\n <span class=\"${prefix}--radio-button__appearance\"></span>\n <span class=\"${innerLabelClasses}\"><slot>${labelText}</slot></span>\n </label>\n `;\n }\n\n /**\n * The name of the custom event fired after this radio button changes its checked state.\n */\n static get eventChange() {\n return `${prefix}-radio-button-changed`;\n }\n\n static shadowRootOptions = {\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n };\n static styles = styles;\n}\n\nexport default CDSRadioButton;\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/search/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,UAAU,CAAC;AAClB,OAAO,mBAAmB,CAAC","file":"index.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2021\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 './search';\nimport './search-skeleton';\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/search/search-skeleton.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAGvC,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAItD;;GAEG;AACH,cACM,iBAAkB,SAAQ,UAAU;IACxC;;OAEG;IAEH,IAAI,aAAqB;IAEzB,MAAM;IAON,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,iBAAiB,CAAC","file":"search-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 { INPUT_SIZE } from '../text-input/text-input';\nimport styles from './search.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * Skeleton of search.\n */\n@customElement(`${prefix}-search-skeleton`)\nclass CDSSearchSkeleton extends LitElement {\n /**\n * The search box size. Corresponds to the attribute with the same name.\n */\n @property({ reflect: true })\n size = INPUT_SIZE.MEDIUM;\n\n render() {\n return html`\n <span class=\"${prefix}--label\"></span>\n <div class=\"${prefix}--search-input\"></div>\n `;\n }\n\n static styles = styles;\n}\n\nexport default CDSSearchSkeleton;\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/search/search.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAQvC,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMtD;;;;;;;;;;GAUG;AACH,cACM,SAAU,SAAQ,cAAoD;IAC1E;;OAEG;IACH,OAAO,CAAC,YAAY;IAgBpB;;OAEG;IACH,OAAO,CAAC,4BAA4B;IAoBpC;;OAEG;IAGH,OAAO,CAAC,aAAa;IAMrB;;;OAGG;IAGH,OAAO,CAAC,YAAY;IAMpB;;;;OAIG;IACH,OAAO,CAAC,iBAAiB;IAQzB,eAAe,CAAC,KAAK,EAAE,KAAK;IAQ5B;;;OAGG;IAEH,YAAY,SAAS;IAErB;;OAEG;IAEH,oBAAoB,SAAM;IAE1B;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,UAAU,UAAS;IAEnB;;OAEG;IAEH,QAAQ,UAAS;IAGjB,aAAa,UAAS;IAEtB;;OAEG;IAEH,SAAS,SAAM;IAEf;;OAEG;IAEH,IAAI,SAAM;IAEV;;OAEG;IAEH,IAAI,SAAM;IAEV;;OAEG;IAEH,WAAW,SAAY;IAEvB;;OAEG;IAEH,IAAI,aAAqB;IAEzB;;OAEG;IAEH,IAAI,SAAM;IAEV;;OAEG;IAEH,KAAK,SAAM;IAEX,MAAM;IA8DN;;OAEG;IACH,MAAM,KAAK,UAAU,WAEpB;IAED,MAAM,CAAC,iBAAiB;;;;MAGtB;IACF,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,SAAS,CAAC","file":"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 } from 'lit/decorators.js';\nimport Close16 from '@carbon/icons/lib/close/16';\nimport Search16 from '@carbon/icons/lib/search/16';\nimport { prefix } from '../../globals/settings';\nimport ifNonEmpty from '../../globals/directives/if-non-empty';\nimport FocusMixin from '../../globals/mixins/focus';\nimport FormMixin from '../../globals/mixins/form';\nimport { INPUT_SIZE } from '../text-input/text-input';\nimport HostListener from '../../globals/decorators/host-listener';\nimport HostListenerMixin from '../../globals/mixins/host-listener';\nimport styles from './search.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * Search box.\n *\n * @element cds-search\n * @csspart search-icon The search icon.\n * @csspart label-text The label text.\n * @csspart input The input box.\n * @csspart close-button The close button.\n * @csspart close-icon The close icon.\n * @fires cds-search-input - The custom event fired after the search content is changed upon a user gesture.\n */\n@customElement(`${prefix}-search`)\nclass CDSSearch extends HostListenerMixin(FocusMixin(FormMixin(LitElement))) {\n /**\n * Handles `input` event on the `<input>` in the shadow DOM.\n */\n private _handleInput(event: Event) {\n const { target } = event;\n const { value } = target as HTMLInputElement;\n this.dispatchEvent(\n new CustomEvent((this.constructor as typeof CDSSearch).eventInput, {\n bubbles: true,\n composed: true,\n cancelable: false,\n detail: {\n value,\n },\n })\n );\n this.value = value;\n }\n\n /**\n * Handles `click` event on the button to clear search box content.\n */\n private _handleClearInputButtonClick() {\n if (this.value) {\n this.dispatchEvent(\n new CustomEvent((this.constructor as typeof CDSSearch).eventInput, {\n bubbles: true,\n composed: true,\n cancelable: false,\n detail: {\n value: '',\n },\n })\n );\n this.value = '';\n\n // set focus on back to input once search is cleared\n const input = this.shadowRoot!.querySelector('input');\n (input as HTMLElement).focus();\n }\n }\n\n /**\n * Handles `focus` event on the button when the button can be expanded\n */\n @HostListener('focus')\n // @ts-ignore: The decorator refers to this method but TS thinks this method is not referred to\n private _handleExpand() {\n if (this.expandable && !this.expanded) {\n this.setAttribute('expanded', '');\n }\n }\n\n /**\n * Handles `focusout` event on the component to be closed after being expanded\n * Will not close if there is a value typed within.\n */\n @HostListener('focusout')\n // @ts-ignore: The decorator refers to this method but TS thinks this method is not referred to\n private _handleClose() {\n if (this.expandable && this.expanded && !this.value) {\n this.removeAttribute('expanded');\n }\n }\n\n /**\n * Handler for @slotchange, will only be ran if user sets an element under the \"icon\" slot.\n *\n * @private\n */\n private _handleSlotChange() {\n const icon = this.querySelector('svg');\n icon?.setAttribute('part', 'search-icon');\n icon?.setAttribute('class', `${prefix}--search-magnifier-icon`);\n icon?.setAttribute('role', `img`);\n this.hasCustomIcon = true;\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 { disabled, name, value } = this;\n if (!disabled) {\n formData.append(name, value);\n }\n }\n\n /**\n * Specify an optional value for the autocomplete property on the underlying <input>,\n * defaults to \"off\"\n */\n @property({ attribute: 'autocomplete' })\n autoComplete = 'off';\n\n /**\n * Specify a label to be read by screen readers on the \"close\" button\n */\n @property({ attribute: 'close-button-label-text' })\n closeButtonLabelText = '';\n\n /**\n * `true` if the search box should be disabled.\n */\n @property({ type: Boolean, reflect: true })\n disabled = false;\n\n /**\n * `true` if the search bar can be expandable\n */\n @property({ type: Boolean, reflect: true })\n expandable = false;\n\n /**\n * `true` if the expandable search has been expanded\n */\n @property({ type: Boolean, reflect: true })\n expanded = false;\n\n @property({ type: Boolean })\n hasCustomIcon = false;\n\n /**\n * The label text.\n */\n @property({ attribute: 'label-text' })\n labelText = '';\n\n /**\n * The form name in `FormData`.\n */\n @property()\n name = '';\n\n /**\n * Specify the role for the underlying <input>, defaults to searchbox\n */\n @property()\n role = '';\n\n /**\n * The placeholder text.\n */\n @property()\n placeholder = 'Search';\n\n /**\n * The search box size.\n */\n @property({ reflect: true })\n size = INPUT_SIZE.MEDIUM;\n\n /**\n * The `<input>` name.\n */\n @property()\n type = '';\n\n /**\n * The value.\n */\n @property({ type: String })\n value = '';\n\n render() {\n const {\n autoComplete,\n closeButtonLabelText,\n disabled,\n hasCustomIcon,\n labelText,\n name,\n placeholder,\n role,\n type,\n value = '',\n _handleInput: handleInput,\n _handleClearInputButtonClick: handleClearInputButtonClick,\n _handleSlotChange: handleSlotChange,\n } = this;\n const clearClasses = classMap({\n [`${prefix}--search-close`]: true,\n [`${prefix}--search-close--hidden`]: !this.value,\n });\n return html`\n <div class=\"${prefix}--search-magnifier\">\n <slot name=\"icon\" @slotchange=${handleSlotChange}>\n ${hasCustomIcon\n ? html``\n : html`${Search16({\n part: 'search-icon',\n class: `${prefix}--search-magnifier-icon`,\n role: 'img',\n })}`}\n </slot>\n </div>\n <label for=\"input\" part=\"label-text\" class=\"${prefix}--label\">\n <slot>${labelText}</slot>\n </label>\n <input\n autocomplete=\"${autoComplete}\"\n id=\"input\"\n part=\"input\"\n type=\"${ifNonEmpty(type)}\"\n class=\"${prefix}--search-input\"\n ?disabled=\"${disabled}\"\n name=\"${ifNonEmpty(name)}\"\n placeholder=\"${ifNonEmpty(placeholder)}\"\n role=\"${role}\"\n .value=\"${value}\"\n @input=\"${handleInput}\" />\n <button\n part=\"close-button\"\n class=\"${clearClasses}\"\n @click=\"${handleClearInputButtonClick}\"\n type=\"button\"\n aria-label=\"${closeButtonLabelText}\">\n ${Close16({\n part: 'close-icon',\n 'aria-label': closeButtonLabelText,\n role: 'img',\n })}\n </button>\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 return `${prefix}-search-input`;\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 CDSSearch;\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/select/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,UAAU,CAAC;AAClB,OAAO,eAAe,CAAC;AACvB,OAAO,qBAAqB,CAAC;AAC7B,OAAO,mBAAmB,CAAC","file":"index.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2021, 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 './select';\nimport './select-item';\nimport './select-item-group';\nimport './select-skeleton';\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/select/select-item-group.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAKjC;;;;GAIG;AACH,cACM,kBAAmB,SAAQ,UAAU;IACzC;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,KAAK,SAAM;CACZ;AAED,eAAe,kBAAkB,CAAC","file":"select-item-group.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 } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { prefix } from '../../globals/settings';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * An option group in select box.\n *\n * @element cds-select-item-group\n */\n@customElement(`${prefix}-select-item-group`)\nclass CDSSelectItemGroup extends LitElement {\n /**\n * `true` to disable this option.\n */\n @property({ type: Boolean, reflect: true })\n disabled = false;\n\n /**\n * The label.\n */\n @property({ reflect: true })\n label = '';\n}\n\nexport default CDSSelectItemGroup;\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/select/select-item.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAKjC;;;;GAIG;AACH,cACM,aAAc,SAAQ,UAAU;IACpC;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,KAAK,SAAM;IAEX;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,KAAK,SAAM;CACZ;AAED,eAAe,aAAa,CAAC","file":"select-item.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 } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { prefix } from '../../globals/settings';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * An option in select box.\n *\n * @element cds-select-item\n */\n@customElement(`${prefix}-select-item`)\nclass CDSSelectItem extends LitElement {\n /**\n * `true` to disable this option.\n */\n @property({ type: Boolean, reflect: true })\n disabled = false;\n\n /**\n * The label. If this is not specified, the child text content is used.\n */\n @property({ reflect: true })\n label = '';\n\n /**\n * `true` to select this option.\n */\n @property({ type: Boolean, reflect: true })\n selected = false;\n\n /**\n * The value.\n */\n @property({ reflect: true })\n value = '';\n}\n\nexport default CDSSelectItem;\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/select/select-skeleton.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAKvC;;GAEG;AACH,cACM,iBAAkB,SAAQ,UAAU;IACxC;;OAEG;IAEH,SAAS,UAAS;IAElB,MAAM;IASN,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,iBAAiB,CAAC","file":"select-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, customElement } from 'lit/decorators.js';\nimport { prefix } from '../../globals/settings';\nimport styles from './select.scss';\n\n/**\n * Skeleton of number input.\n */\n@customElement(`${prefix}-select-skeleton`)\nclass CDSSelectSkeleton extends LitElement {\n /**\n * `true` if the label should be hidden. Corresponds to the attribute with the same name.\n */\n @property({ type: Boolean, reflect: true, attribute: 'hide-label' })\n hideLabel = false;\n\n render() {\n const { hideLabel } = this;\n return html`\n ${!hideLabel &&\n html` <span class=\"${prefix}--label ${prefix}--skeleton\"></span> `}\n <div class=\"${prefix}--select ${prefix}--skeleton\"></div>\n `;\n }\n\n static styles = styles;\n}\n\nexport default CDSSelectSkeleton;\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/select/select.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAUvC,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAItD;;;;;;;GAOG;AACH,cACM,SAAU,SAAQ,cAAqB;IAC3C;;OAEG;IACH,OAAO,CAAC,iBAAiB,CAAiC;IAE1D;;OAEG;IACH,OAAO,CAAC,qBAAqB,CAEf;IAEd;;OAEG;IAEH,OAAO,CAAC,WAAW,CAAqB;IAExC;;;;OAIG;IACH,OAAO,CAAC,YAAY;IAepB;;;;;;OAMG;IACH,OAAO,CAAC,eAAe,CAErB;IAEF;;;OAGG;IACH,OAAO,CAAC,YAAY;IAyCpB,eAAe,CAAC,KAAK,EAAE,KAAK;IAQ5B;;;OAGG;IACH,IAAI,MAAM,WAET;IAED;;OAEG;IACH,IAAI,OAAO,0BAEV;IAED;;OAEG;IACH,IAAI,IAAI,WAEP;IAED;;OAEG;IAEH,SAAS,UAAS;IAElB;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,UAAU,SAAM;IAEhB;;OAEG;IAEH,SAAS,UAAS;IAElB;;OAEG;IAEH,EAAE,SAAM;IAER;;OAEG;IAEH,OAAO,UAAS;IAEhB;;OAEG;IAEH,WAAW,SAAM;IAEjB;;OAEG;IAEH,IAAI,UAAS;IAEb;;OAEG;IAEH,QAAQ,SAAM;IAEd;;OAEG;IAEH,SAAS,SAAM;IAEf;;OAEG;IAEH,MAAM,UAAS;IAEf;;OAEG;IACH,IAEI,QAAQ,YAEX;IAED;;OAEG;IAEH,IAAI,SAAM;IAEV;;OAEG;IAEH,OAAO,SAAM;IAEb;;OAEG;IAEH,WAAW,SAAM;IAEjB;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,uBAAuB,SAAiC;IAExD;;OAEG;IACH,IACI,aAAa,WAEhB;IAED,IAAI,aAAa,CAAC,KAAK,QAAA,EAGtB;IAED;;OAEG;IAEH,IAAI,aAAqB;IAEzB;;OAEG;IAEH,KAAK,SAAM;IAEX,iBAAiB;IAUjB,oBAAoB;IAQpB,OAAO,CAAC,iBAAiB,KAAA;IASzB,MAAM;IAsHN;;OAEG;IACH,MAAM,KAAK,YAAY,WAEtB;IAED;;OAEG;IACH,MAAM,KAAK,gBAAgB,WAE1B;IAED;;OAEG;IACH,MAAM,KAAK,WAAW,WAErB;IAED,MAAM,CAAC,iBAAiB;;;;MAGtB;IACF,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,SAAS,CAAC","file":"select.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, query } from 'lit/decorators.js';\nimport { classMap } from 'lit/directives/class-map.js';\nimport ChevronDown16 from '@carbon/icons/lib/chevron--down/16';\nimport WarningFilled16 from '@carbon/icons/lib/warning--filled/16';\nimport WarningAltFilled16 from '@carbon/icons/lib/warning--alt--filled/16';\nimport { prefix } from '../../globals/settings';\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport FormMixin from '../../globals/mixins/form';\nimport { filter } from '../../globals/internal/collection-helpers';\nimport { INPUT_SIZE } from '../text-input/text-input';\nimport styles from './select.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * Select box.\n *\n * @element cds-select\n * @slot helper-text - The helper text.\n * @slot label-text - The label text.\n * @slot validity-message - The validity message. If present and non-empty, this input shows the UI of its invalid state.\n */\n@customElement(`${prefix}-select`)\nclass CDSSelect extends FormMixin(LitElement) {\n /**\n * The mutation observer DOM mutation.\n */\n private _observerMutation: MutationObserver | null = null;\n\n /**\n * The `value` for placeholder `<option>`.\n */\n private _placeholderItemValue = `__${prefix}-select-placeholder_${Math.random()\n .toString(36)\n .slice(2)}`;\n\n /**\n * The select box.\n */\n @query('select')\n private _selectNode!: HTMLSelectElement;\n\n /**\n * Handles `oninput` event on the `<input>`.\n *\n * @param event The event.\n */\n private _handleInput({ target }: Event) {\n const { value } = target as HTMLSelectElement;\n this.value = value;\n const { eventSelect } = this.constructor as typeof CDSSelect;\n this.dispatchEvent(\n new CustomEvent(eventSelect, {\n bubbles: true,\n composed: true,\n detail: {\n value,\n },\n })\n );\n }\n\n /**\n * Handles DOM mutation of `<cds-select-item>` or `<cds-select-item-group>` put in `<cds-select>`, or their changes.\n * In such event, `<cds-select>` creates the corresponding `<option>` and `<optgroup>`, respectively, into shadow DOM,\n * with `._renderItems()`.\n * Doing so allows the shadow DOM style of `<cds-select>` to control the style of the `<option>` and `<optgroup>`,\n * notably the disabled ones.\n */\n private _handleMutation = () => {\n this.requestUpdate();\n };\n\n /**\n * @param element The parent element containing pseudo `<optgroup>`/`<option>`.\n * @returns The template containing child `<optgroup>`/`<option>` that will be rendered to shadow DOM.\n */\n private _renderItems(element: CDSSelect | HTMLOptGroupElement) {\n const { selectorItem, selectorLeafItem } = this\n .constructor as typeof CDSSelect;\n // Harvests attributes from `<cds-select-item>` and `<cds-select-item-group>`.\n // Does not use properties to avoid delay in attribute to property mapping, which runs in custom element reaction cycle:\n // https://html.spec.whatwg.org/multipage/custom-elements.html#custom-element-reactions\n return html`\n ${filter(\n element.childNodes,\n (item) =>\n item.nodeType === Node.ELEMENT_NODE &&\n (item as Element).matches(selectorItem)\n ).map((item) => {\n const disabled = item.hasAttribute('disabled');\n const label = item.getAttribute('label');\n const selected = item.hasAttribute('selected');\n const value = item.getAttribute('value');\n const { textContent } = item;\n return item.matches(selectorLeafItem)\n ? html`\n <option\n class=\"${prefix}--select-option\"\n ?disabled=\"${disabled}\"\n label=\"${ifDefined(label ?? textContent)}\"\n ?selected=\"${selected}\"\n value=\"${ifDefined(value)}\">\n ${textContent}\n </option>\n `\n : html`\n <optgroup\n class=\"${prefix}--select-optgroup\"\n ?disabled=\"${disabled}\"\n label=\"${ifDefined(label)}\">\n ${this._renderItems(item)}\n </optgroup>\n `;\n })}\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 { disabled, name, value } = this;\n if (!disabled) {\n formData.append(name, value);\n }\n }\n\n /**\n * The count of child `<option>`s.\n * If the placeholder is in effect, it includes the `<option>` for the placeholder.\n */\n get length() {\n return this._selectNode.length;\n }\n\n /**\n * The child `<option>`s.\n */\n get options() {\n return this._selectNode.options;\n }\n\n /**\n * This form control's type.\n */\n get type() {\n return this._selectNode.type;\n }\n\n /**\n * Sets the select to be focussed automatically on page load. Defaults to false\n */\n @property({ type: Boolean })\n autofocus = false;\n\n /**\n * Controls the disabled state of the select\n */\n @property({ type: Boolean, reflect: true })\n disabled = false;\n\n /**\n * The helper text.\n */\n @property({ attribute: 'helper-text' })\n helperText = '';\n\n /**\n * Specify whether the label should be hidden, or not\n */\n @property({ type: Boolean, attribute: 'hide-label' })\n hideLabel = false;\n\n /**\n * ID to link the `label` and `select`\n */\n @property()\n id = '';\n\n /**\n * Specify if the currently value is invalid.\n */\n @property({ type: Boolean, reflect: true })\n invalid = false;\n\n /**\n * Message which is displayed if the value is invalid.\n */\n @property({ attribute: 'invalid-text' })\n invalidText = '';\n\n /**\n * Specify if the currently value is warn.\n */\n @property({ type: Boolean, reflect: true })\n warn = false;\n\n /**\n * Message which is displayed if the value is warn.\n */\n @property({ attribute: 'warn-text' })\n warnText = '';\n\n /**\n * The label text.\n */\n @property({ attribute: 'label-text' })\n labelText = '';\n\n /**\n * Specify whether you want the inline version of this control\n */\n @property({ type: Boolean, reflect: true })\n inline = false;\n\n /**\n * `true` to enable multiple selection.\n */\n @property({ type: Boolean })\n // eslint-disable-next-line class-methods-use-this\n get multiple() {\n return false;\n }\n\n /**\n * Name for the select in the `FormData`\n */\n @property()\n name = '';\n\n /**\n * Pattern to validate the select against for HTML validity checking\n */\n @property()\n pattern = '';\n\n /**\n * Value to display when the select has an empty `value`\n */\n @property({ reflect: true })\n placeholder = '';\n\n /**\n * Controls the readonly state of the select\n */\n @property({ type: Boolean, reflect: true })\n readonly = false;\n\n /**\n * Boolean property to set the required status\n */\n @property({ type: Boolean, reflect: true })\n required = false;\n\n /**\n * The special validity message for `required`.\n */\n @property({ attribute: 'required-validity-message' })\n requiredValidityMessage = 'Please fill out this field.';\n\n /**\n * The selected index.\n */\n @property({ type: Number })\n get selectedIndex() {\n return this._selectNode.selectedIndex;\n }\n\n set selectedIndex(value) {\n this._selectNode.selectedIndex = value;\n this.value = this._selectNode.value;\n }\n\n /**\n * The input box size.\n */\n @property({ reflect: true })\n size = INPUT_SIZE.MEDIUM;\n\n /**\n * The value of the text area.\n */\n @property({ reflect: true })\n value = '';\n\n connectedCallback() {\n super.connectedCallback();\n this._observerMutation = new MutationObserver(this._handleMutation);\n this._observerMutation.observe(this, {\n attributes: true,\n childList: true,\n subtree: true,\n });\n }\n\n disconnectedCallback() {\n if (this._observerMutation) {\n this._observerMutation.disconnect();\n this._observerMutation = null;\n }\n super.disconnectedCallback();\n }\n\n updated(changedProperties) {\n if (changedProperties.has('value')) {\n const { value, _placeholderItemValue: placeholderItemValue } = this;\n // Ensures setting the `value` after rendering child `<option>`s/`<optgroup>`s when there is a change in `value`,\n // given reflecting `value` requires child `<option>`s/`<optgroup>`s being there beforehand\n this._selectNode.value = !value ? placeholderItemValue : value;\n }\n }\n\n render() {\n const {\n disabled,\n helperText,\n hideLabel,\n inline,\n invalid,\n invalidText,\n labelText,\n placeholder,\n readonly,\n size,\n warn,\n warnText,\n value,\n _placeholderItemValue: placeholderItemValue,\n _handleInput: handleInput,\n } = this;\n\n const selectClasses = classMap({\n [`${prefix}--select`]: true,\n [`${prefix}--select--inline`]: inline,\n [`${prefix}--select--invalid`]: invalid,\n [`${prefix}--select--warning`]: warn,\n [`${prefix}--select--disabled`]: disabled,\n [`${prefix}--select--readonly`]: readonly,\n });\n\n const inputClasses = classMap({\n [`${prefix}--select-input`]: true,\n [`${prefix}--select-input--${size}`]: size,\n });\n\n const labelClasses = classMap({\n [`${prefix}--label`]: true,\n [`${prefix}--label--disabled`]: disabled,\n });\n\n const helperTextClasses = classMap({\n [`${prefix}--form__helper-text`]: true,\n [`${prefix}--form__helper-text--disabled`]: disabled,\n });\n\n const supplementalText = helperText\n ? html`\n <div class=\"${helperTextClasses}\">\n <slot name=\"helper-text\"> ${helperText} </slot>\n </div>\n `\n : null;\n\n const errorText =\n invalid || warn\n ? html` <div class=\"${prefix}--form-requirement\">\n ${invalid ? invalidText : warnText}\n </div>`\n : null;\n\n const input = html`\n <select\n id=\"input\"\n class=\"${inputClasses}\"\n ?disabled=\"${disabled}\"\n aria-readonly=\"${String(Boolean(readonly))}\"\n aria-invalid=\"${String(Boolean(invalid))}\"\n aria-describedby=\"${ifDefined(!invalid ? undefined : 'invalid-text')}\"\n @input=\"${handleInput}\">\n ${!placeholder || value\n ? undefined\n : html`\n <option\n disabled\n hidden\n class=\"${prefix}--select-option\"\n value=\"${placeholderItemValue}\"\n selected>\n ${placeholder}\n </option>\n `}\n ${this._renderItems(this)}\n </select>\n ${ChevronDown16({ class: `${prefix}--select__arrow` })}\n ${!invalid\n ? undefined\n : WarningFilled16({ class: `${prefix}--select__invalid-icon` })}\n ${!invalid && warn\n ? WarningAltFilled16({\n class: `${prefix}--select__invalid-icon ${prefix}--select__invalid-icon--warning`,\n })\n : null}\n `;\n\n return html`\n <div class=\"${selectClasses}\">\n ${!hideLabel\n ? html`<label class=\"${labelClasses}\" for=\"input\">\n <slot name=\"label-text\"> ${labelText} </slot>\n </label>`\n : null}\n ${inline\n ? html`<div class=\"${prefix}--select-input--inline__wrapper\">\n <div\n class=\"${prefix}--select-input__wrapper\"\n ?data-invalid=\"${invalid}\">\n ${input}\n </div>\n ${errorText}\n </div>`\n : html`<div\n class=\"${prefix}--select-input__wrapper\"\n ?data-invalid=\"${invalid}\">\n ${input}\n </div> `}\n ${!inline && errorText ? errorText : supplementalText}\n </div>\n `;\n }\n\n /**\n * A selector selecting child pseudo `<optgroup>`/`<option>`.\n */\n static get selectorItem() {\n return `${prefix}-select-item-group,${prefix}-select-item`;\n }\n\n /**\n * A selector selecting child pseudo `<option>`.\n */\n static get selectorLeafItem() {\n return `${prefix}-select-item`;\n }\n\n /**\n * The name of the custom event fired after item is selected.\n */\n static get eventSelect() {\n return `${prefix}-select-selected`;\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 CDSSelect;\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/skeleton-placeholder/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,wBAAwB,CAAC","file":"index.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2021\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 './skeleton-placeholder';\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/skeleton-placeholder/skeleton-placeholder.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAKvC;;;;GAIG;AACH,cACM,sBAAuB,SAAQ,UAAU;IAC7C,MAAM;IAIN,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,sBAAsB,CAAC","file":"skeleton-placeholder.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 './skeleton-placeholder.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * Skeleton placeholder.\n *\n * @element cds-skeleton-placeholder\n */\n@customElement(`${prefix}-skeleton-placeholder`)\nclass CDSSkeletonPlaceholder extends LitElement {\n render() {\n return html` <div class=\"${prefix}--skeleton__placeholder\"></div> `;\n }\n\n static styles = styles;\n}\n\nexport default CDSSkeletonPlaceholder;\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/skeleton-text/defs.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH;;GAEG;AACH,oBAAY,kBAAkB;IAC5B;;OAEG;IACH,OAAO,KAAK;IAEZ;;OAEG;IACH,OAAO,YAAY;CACpB","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 * Skeleton text types.\n */\nexport enum SKELETON_TEXT_TYPE {\n /**\n * Regular variant.\n */\n REGULAR = '',\n\n /**\n * Heading variant.\n */\n HEADING = 'heading',\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/skeleton-text/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,iBAAiB,CAAC","file":"index.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2021\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 './skeleton-text';\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/skeleton-text/skeleton-text.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAGvC,OAAO,EAAE,kBAAkB,EAAE,MAAM,QAAQ,CAAC;AAI5C,OAAO,EAAE,kBAAkB,EAAE,CAAC;AAO9B;;;;GAIG;AACH,cACM,eAAgB,SAAQ,UAAU;IACtC;;OAEG;IAEH,IAAI,qBAA8B;IAElC;;OAEG;IAEH,KAAK,SAAU;IAEf;;OAEG;IAEH,SAAS,UAAS;IAElB;;OAEG;IAEH,SAAS,SAAK;IAEd,MAAM;IA0BN,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,eAAe,CAAC","file":"skeleton-text.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 } from 'lit/decorators.js';\nimport { prefix } from '../../globals/settings';\nimport { SKELETON_TEXT_TYPE } from './defs';\nimport styles from './skeleton-text.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\nexport { SKELETON_TEXT_TYPE };\n\nfunction getRandomInt(min: number, max: number, n: number) {\n const randoms = [0.973051493507435, 0.15334737213558558, 0.5671034553053769];\n return Math.floor(randoms[n % 3] * (max - min + 1)) + min;\n}\n\n/**\n * Skeleton text.\n *\n * @element cds-skeleton-text\n */\n@customElement(`${prefix}-skeleton-text`)\nclass CDSSkeletonText extends LitElement {\n /**\n * The type of skeleton text.\n */\n @property({ reflect: true })\n type = SKELETON_TEXT_TYPE.REGULAR;\n\n /**\n * width (in px or %) of single line of text or max-width of paragraph lines\n */\n @property({ reflect: true })\n width = '100%';\n\n /**\n * will generate multiple lines of text\n */\n @property({ type: Boolean, reflect: true })\n paragraph = false;\n\n /**\n * the number of lines in a paragraph\n */\n @property({ type: Number, reflect: true })\n lineCount = 3;\n\n render() {\n const { paragraph, lineCount, type, width } = this;\n const classes = classMap({\n [`${prefix}--skeleton__text`]: true,\n [`${prefix}--skeleton__heading`]: type === SKELETON_TEXT_TYPE.HEADING,\n });\n if (paragraph) {\n const widthNum = parseInt(this.width, 10);\n const widthPx = this.width.includes('px');\n const widthPercent = this.width.includes('%');\n const lines = Array.apply(null, Array(lineCount));\n return html`${lines.map((_, i) => {\n const randomWidth =\n (widthPercent && `${getRandomInt(0, 75, i)}px`) ||\n (widthPx && `${getRandomInt(0, widthNum, i)}px`);\n const style =\n (widthPercent && `width: calc(${width} - ${randomWidth})`) ||\n (widthPx && `width: ${randomWidth}`) ||\n '';\n return html`<p class=\"${classes}\" style=\"${style}\"></p>`;\n })}`;\n }\n\n return html`<p class=\"${classes}\" style=\"width:${width}\"></p>`;\n }\n\n static styles = styles;\n}\n\nexport default CDSSkeletonText;\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/skip-to-content/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,mBAAmB,CAAC","file":"index.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2021\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 './skip-to-content';\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/skip-to-content/skip-to-content.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQvC;;;;GAIG;AACH,cACM,gBAAiB,SAAQ,qBAAsB;IACnD;;OAEG;IAEH,kBAAkB,SAA0B;IAE5C;;OAEG;IAEH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,iBAAiB;IAOjB,MAAM;IASN,OAAO,CAAC,iBAAiB,KAAA;IAOzB,MAAM,CAAC,iBAAiB;;;;MAGtB;IACF,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,gBAAgB,CAAC","file":"skip-to-content.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 { ifDefined } from 'lit/directives/if-defined.js';\nimport FocusMixin from '../../globals/mixins/focus';\nimport styles from './skip-to-content.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * Skip-to-content link.\n *\n * @element cds-skip-to-content\n */\n@customElement(`${prefix}-skip-to-content`)\nclass CDSSkipToContent extends FocusMixin(LitElement) {\n /**\n * The assistive text for the link,\n */\n @property({ attribute: 'link-assistive-text' })\n linkAssisstiveText = 'Skip to main content';\n\n /**\n * The skip link href.\n */\n @property()\n href?: string;\n\n connectedCallback() {\n if (!this.hasAttribute('role')) {\n this.setAttribute('role', 'navigation');\n }\n super.connectedCallback();\n }\n\n render() {\n const { linkAssisstiveText } = this;\n return html`\n <a class=\"${prefix}--skip-to-content\" href=\"${ifDefined(this.href)}\"\n ><slot>${linkAssisstiveText}</slot></a\n >\n `;\n }\n\n updated(changedProperties) {\n if (changedProperties.has('linkAssisstiveText')) {\n const { linkAssisstiveText } = this;\n this.setAttribute('aria-label', linkAssisstiveText);\n }\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 CDSSkipToContent;\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/slider/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,UAAU,CAAC;AAClB,OAAO,gBAAgB,CAAC;AACxB,OAAO,mBAAmB,CAAC","file":"index.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2021\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 './slider';\nimport './slider-input';\nimport './slider-skeleton';\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/slider/slider-input.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAUvC;;;;;GAKG;AACH,cACM,cAAe,SAAQ,mBAAsB;IACjD;;OAEG;IACH,OAAO,CAAC,IAAI,CAAS;IAErB;;OAEG;IACH,OAAO,CAAC,IAAI,CAAO;IAEnB;;OAEG;IACH,OAAO,CAAC,KAAK,CAAO;IAEpB;;OAEG;IACH,OAAO,CAAC,aAAa;IAYrB;;OAEG;IACH,OAAO,CAAC,YAAY;IAapB;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,OAAO,UAAS;IAEhB;;OAEG;IAEH,IAAI,UAAS;IAEb;;OAEG;IACH,IACI,GAAG,WAEN;IAED,IAAI,GAAG,CAAC,KAAK,QAAA,EAIZ;IAED;;OAEG;IACH,IACI,GAAG,WAEN;IAED,IAAI,GAAG,CAAC,KAAK,QAAA,EAIZ;IAED;;OAEG;IACH,IACI,IAAI,WAEP;IAED,IAAI,IAAI,CAAC,KAAK,QAAA,EAIb;IAED;;OAEG;IAEH,IAAI,SAAY;IAEhB;;OAEG;IAEH,KAAK,EAAG,MAAM,CAAC;IAEf;;OAEG;IAEH,QAAQ,UAAS;IAEjB,MAAM;IAgDN;;OAEG;IACH,MAAM,KAAK,cAAc,WAExB;IAED;;OAEG;IACH,MAAM,KAAK,WAAW,WAErB;IAED,MAAM,CAAC,iBAAiB;;;;MAGtB;IACF,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,cAAc,CAAC","file":"slider-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 } from 'lit/decorators.js';\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport { prefix } from '../../globals/settings';\nimport WarningFilled16 from '@carbon/icons/lib/warning--filled/16';\nimport WarningAltFilled16 from '@carbon/icons/lib/warning--alt--filled/16';\nimport FocusMixin from '../../globals/mixins/focus';\nimport styles from './slider.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * The `<input>` box for slider.\n *\n * @element cds-slider-input\n * @fires cds-slider-input-changed - The custom event fired after the value is changed by user gesture.\n */\n@customElement(`${prefix}-slider-input`)\nclass CDSSliderInput extends FocusMixin(LitElement) {\n /**\n * The internal value of `max` property.\n */\n private _max = '100';\n\n /**\n * The internal value of `min` property.\n */\n private _min = '0';\n\n /**\n * The internal value of `step` property.\n */\n private _step = '1';\n\n /**\n * Handles `change` event to fire a normalized custom event.\n */\n private _handleChange({ target }: Event) {\n this.dispatchEvent(\n new CustomEvent((this.constructor as typeof CDSSliderInput).eventChange, {\n bubbles: true,\n composed: true,\n detail: {\n value: Number((target as HTMLInputElement).value),\n },\n })\n );\n }\n\n /**\n * Handles `input` event to fire a normalized custom event.\n */\n private _handleInput({ target }: Event) {\n this.dispatchEvent(\n new CustomEvent((this.constructor as typeof CDSSliderInput).eventChange, {\n bubbles: true,\n composed: true,\n detail: {\n value: Number((target as HTMLInputElement).value),\n intermediate: true,\n },\n })\n );\n }\n\n /**\n * `true` if the input should be disabled.\n */\n @property({ type: Boolean, reflect: true })\n disabled = false;\n\n /**\n * true to specify if the control is invalid.\n */\n @property({ type: Boolean, reflect: true })\n invalid = false;\n\n /**\n * true to specify if the control should display warn icon and text.\n */\n @property({ type: Boolean, reflect: true })\n warn = false;\n\n /**\n * The maximum value.\n */\n @property({ type: Number, reflect: true })\n get max() {\n return this._max.toString();\n }\n\n set max(value) {\n const { max: oldMax } = this;\n this._max = value;\n this.requestUpdate('max', oldMax);\n }\n\n /**\n * The minimum value.\n */\n @property({ type: Number, reflect: true })\n get min() {\n return this._min.toString();\n }\n\n set min(value) {\n const { min: oldMin } = this;\n this._min = value;\n this.requestUpdate('min', oldMin);\n }\n\n /**\n * The snapping step of the value.\n */\n @property({ type: Number, reflect: true })\n get step() {\n return this._step.toString();\n }\n\n set step(value) {\n const { step: oldStep } = this;\n this._step = value;\n this.requestUpdate('step', oldStep);\n }\n\n /**\n * The type of the `<input>`.\n */\n @property()\n type = 'number';\n\n /**\n * The value.\n */\n @property({ type: Number })\n value!: number;\n\n /**\n * true` if the input should be readonly.\n */\n @property({ type: Boolean, reflect: true })\n readonly = false;\n\n render() {\n const {\n disabled,\n max,\n min,\n readonly,\n step,\n type,\n value,\n invalid,\n warn,\n _handleChange: handleChange,\n _handleInput: handleInput,\n } = this;\n\n const classes = classMap({\n [`${prefix}--text-input`]: true,\n [`${prefix}--slider-text-input`]: true,\n [`${prefix}--text-input--invalid`]: invalid,\n [`${prefix}--slider-text-input--warn`]: warn,\n });\n\n const invalidIcon = WarningFilled16({\n class: `${prefix}--slider__invalid-icon`,\n });\n\n const warnIcon = WarningAltFilled16({\n class: `${prefix}--slider__invalid-icon ${prefix}--slider__invalid-icon--warning`,\n });\n\n return html`\n <input\n ?disabled=\"${disabled}\"\n ?data-invalid=\"${invalid}\"\n type=\"${ifDefined(type)}\"\n class=\"${classes}\"\n max=\"${max}\"\n min=\"${min}\"\n ?readonly=\"${ifDefined(readonly)}\"\n step=\"${step}\"\n .value=\"${value}\"\n @change=\"${handleChange}\"\n @input=\"${handleInput}\" />\n ${invalid ? html`${invalidIcon}` : null}\n ${warn ? html`${warnIcon}` : null}\n `;\n }\n\n /**\n * A selector that will return the parent slider.\n */\n static get selectorParent() {\n return `${prefix}-slider`;\n }\n\n /**\n * The name of the custom event fired after the value is changed by user gesture.\n */\n static get eventChange() {\n return `${prefix}-slider-input-changed`;\n }\n\n static shadowRootOptions = {\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n };\n static styles = styles;\n}\n\nexport default CDSSliderInput;\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/slider/slider-skeleton.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAKvC;;GAEG;AACH,cACM,iBAAkB,SAAQ,UAAU;IACxC,MAAM;IAeN,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,iBAAiB,CAAC","file":"slider-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 { prefix } from '../../globals/settings';\nimport styles from './slider.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * Skeleton of slider.\n */\n@customElement(`${prefix}-slider-skeleton`)\nclass CDSSliderSkeleton extends LitElement {\n render() {\n return html`\n <span class=\"${prefix}--label ${prefix}--skeleton\"></span>\n <div class=\"${prefix}--slider-container ${prefix}--skeleton\">\n <span class=\"${prefix}--slider__range-label\"></span>\n <div class=\"${prefix}--slider\">\n <div class=\"${prefix}--slider__track\"></div>\n <div class=\"${prefix}--slider__filled-track\"></div>\n <div class=\"${prefix}--slider__thumb\"></div>\n </div>\n <span class=\"${prefix}--slider__range-label\"></span>\n </div>\n `;\n }\n\n static styles = styles;\n}\n\nexport default CDSSliderSkeleton;\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/slider/slider.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+BvC;;;;;;;;GAQG;AACH,cACM,SAAU,SAAQ,cAAoD;IAC1E;;OAEG;IACH,OAAO,CAAC,IAAI,CAAS;IAErB;;OAEG;IACH,OAAO,CAAC,IAAI,CAAO;IAEnB;;OAEG;IACH,OAAO,CAAC,KAAK,CAAO;IAEpB;;OAEG;IACH,OAAO,CAAC,eAAe,CAAO;IAE9B;;OAEG;IACH,OAAO,CAAC,+BAA+B,CAEvB;IAEhB;;OAEG;IACH,OAAO,CAAC,SAAS,CAAS;IAE1B;;;OAGG;IACH,OAAO,KAAK,KAAK,GAOhB;IAED,OAAO,KAAK,KAAK,QAShB;IAED;;OAEG;IAEH,OAAO,CAAC,UAAU,CAAkB;IAEpC;;OAEG;IAEH,OAAO,CAAC,UAAU,CAAkB;IAEpC;;OAEG;IACH,iBAAiB;IAIjB,eAAe,CAAC,KAAK,EAAE,KAAK;IAQ5B;;OAEG;IACH,OAAO,CAAC,cAAc;IAwCtB;;OAEG;IACH,OAAO,CAAC,UAAU;IAKlB;;OAEG;IACH,OAAO,CAAC,YAAY;IA0BpB;;;;OAIG;IAGH,OAAO,CAAC,kBAAkB,CAKxB;IAEF;;;;OAIG;IACH,OAAO,CAAC,sBAAsB;IA2B9B;;OAEG;IACH,OAAO,CAAC,QAAQ,CAcd;IAEF;;OAEG;IAGH,OAAO,CAAC,kBAAkB,CAaxB;IAEF;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,SAAS,SAAM;IAEf;;OAEG;IAEH,QAAQ,SAAM;IAEd;;OAEG;IAEH,QAAQ,SAAM;IAEd;;;OAGG;IAEH,aAAa,QAAS,MAAM,YAAY,MAAM,GAAG,SAAS,YACpC;IAEtB;;;OAGG;IAEH,aAAa,QAAS,MAAM,YAAY,MAAM,GAAG,SAAS,YACpC;IAEtB;;OAEG;IACH,IACI,GAAG,WAEN;IAED,IAAI,GAAG,CAAC,KAAK,QAAA,EAIZ;IAED;;OAEG;IACH,IACI,GAAG,WAEN;IAED,IAAI,GAAG,CAAC,KAAK,QAAA,EAIZ;IAED;;OAEG;IAEH,IAAI,EAAG,MAAM,CAAC;IAEd;;OAEG;IAEH,OAAO,UAAS;IAEhB;;OAEG;IAEH,WAAW,SAAM;IAEjB;;OAEG;IAEH,IAAI,UAAS;IAEb;;OAEG;IAEH,QAAQ,SAAM;IAEd;;OAEG;IACH,IACI,IAAI,WAEP;IAED,IAAI,IAAI,CAAC,KAAK,QAAA,EAIb;IAED;;;OAGG;IACH,IACI,cAAc,WAEjB;IAED,IAAI,cAAc,CAAC,KAAK,QAAA,EAIvB;IAED;;OAEG;IAEH,KAAK,MAAC;IAEN;;OAEG;IAEH,OAAO,MAAC;IAER,iBAAiB,CAAC,KAAK,KAAA;IAcvB,iBAAiB;IAUjB,oBAAoB;IAQpB,YAAY,CAAC,iBAAiB,KAAA;IAqD9B,MAAM;IA0FN;;OAEG;IACH,MAAM,KAAK,aAAa,WAEvB;IAED;;OAEG;IACH,MAAM,KAAK,WAAW,WAErB;IAED;;OAEG;IACH,MAAM,KAAK,gBAAgB,WAE1B;IAED,MAAM,CAAC,iBAAiB;;;;MAGtB;IACF,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,SAAS,CAAC","file":"slider.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 { classMap } from 'lit/directives/class-map.js';\nimport throttle from 'lodash-es/throttle';\nimport { prefix } from '../../globals/settings';\nimport FocusMixin from '../../globals/mixins/focus';\nimport FormMixin from '../../globals/mixins/form';\nimport HostListenerMixin from '../../globals/mixins/host-listener';\nimport HostListener from '../../globals/decorators/host-listener';\nimport CDSSliderInput from './slider-input';\nimport styles from './slider.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\ninterface Cancelable {\n cancel(): void;\n}\n\n/**\n * The direction to move the thumb, associated with key symbols.\n */\nconst THUMB_DIRECTION = {\n Left: -1,\n ArrowLeft: -1,\n Up: -1,\n ArrowUp: -1,\n Right: 1,\n ArrowRight: 1,\n Down: 1,\n ArrowDown: 1,\n};\n\n/**\n * Slider.\n *\n * @element cds-slider\n * @slot label-text - The label text.\n * @slot max-text - The text for maximum value.\n * @slot min-text - The text for minimum value.\n * @fires cds-slider-changed - The custom event fired after the value is changed by user gesture.\n */\n@customElement(`${prefix}-slider`)\nclass CDSSlider extends HostListenerMixin(FormMixin(FocusMixin(LitElement))) {\n /**\n * The internal value of `max` property.\n */\n private _max = '100';\n\n /**\n * The internal value of `min` property.\n */\n private _min = '0';\n\n /**\n * The internal value of `step` property.\n */\n private _step = '1';\n\n /**\n * The internal value of `stepMultiplier` property.\n */\n private _stepMultiplier = '4';\n\n /**\n * The handle for the throttled listener of `pointermove` event.\n */\n private _throttledHandlePointermoveImpl:\n | (((event: PointerEvent) => void) & Cancelable)\n | null = null;\n\n /**\n * `true` if dragging of thumb is in progress.\n */\n private _dragging = false;\n\n /**\n * The rate of the thumb position in the track.\n * When we try to set a new value, we adjust the value considering `step` property.\n */\n private get _rate() {\n const { max, min, value } = this;\n // Copes with out-of-range value coming programmatically or from `<cds-slider-input>`\n return (\n (Math.min(Number(max), Math.max(Number(min), value)) - Number(min)) /\n (Number(max) - Number(min))\n );\n }\n\n private set _rate(rate: number) {\n const { max, min, step } = this;\n this.value =\n Number(min) +\n Math.round(\n ((Number(max) - Number(min)) * Math.min(1, Math.max(0, rate))) /\n Number(step)\n ) *\n Number(step);\n }\n\n /**\n * The DOM element of the thumb.\n */\n @query('#thumb')\n private _thumbNode!: HTMLDivElement;\n\n /**\n * The DOM element of the track.\n */\n @query('#track')\n private _trackNode!: HTMLDivElement;\n\n /**\n * Handles `click` event on the `<label>` to focus on the thumb.\n */\n _handleClickLabel() {\n this._thumbNode?.focus();\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 { disabled, name, value } = this;\n if (!disabled) {\n formData.append(name, String(value));\n }\n }\n\n /**\n * Handles `keydown` event on the thumb to increase/decrease the value.\n */\n private _handleKeydown({ key, shiftKey }: KeyboardEvent) {\n if (!this.disabled) {\n if (key in THUMB_DIRECTION) {\n const {\n max: rawMax,\n min: rawMin,\n step: rawStep,\n stepMultiplier: rawstepMultiplier,\n value,\n } = this;\n const max = Number(rawMax);\n const min = Number(rawMin);\n const step = Number(rawStep);\n const stepMultiplier = Number(rawstepMultiplier);\n const diff =\n (!shiftKey ? step : (max - min) / stepMultiplier) *\n THUMB_DIRECTION[key];\n const stepCount = (value + diff) / step;\n // Snaps to next\n this.value = Math.min(\n max,\n Math.max(\n min,\n (diff >= 0 ? Math.floor(stepCount) : Math.ceil(stepCount)) * step\n )\n );\n this.dispatchEvent(\n new CustomEvent((this.constructor as typeof CDSSlider).eventChange, {\n bubbles: true,\n composed: true,\n detail: {\n value: this.value,\n intermediate: false,\n },\n })\n );\n }\n }\n }\n\n /**\n * Handles `pointerdown` event on the thumb to start dragging.\n */\n private _startDrag() {\n this._dragging = true;\n this._thumbNode.style.touchAction = 'none';\n }\n\n /**\n * Handles `pointerdown` event on the track to update the thumb position and the value as necessary.\n */\n private _handleClick(event: PointerEvent) {\n if (!this.disabled) {\n const { _trackNode: trackNode } = this;\n const isRtl =\n trackNode\n .ownerDocument!.defaultView!.getComputedStyle(trackNode)\n .getPropertyValue('direction') === 'rtl';\n const thumbPosition = event.clientX;\n const { left: trackLeft, width: trackWidth } =\n trackNode.getBoundingClientRect();\n this._rate =\n (isRtl\n ? trackLeft + trackWidth - thumbPosition\n : thumbPosition - trackLeft) / trackWidth;\n this.dispatchEvent(\n new CustomEvent((this.constructor as typeof CDSSlider).eventChange, {\n bubbles: true,\n composed: true,\n detail: {\n value: this.value,\n },\n })\n );\n }\n }\n\n /**\n * Handles `pointermove` to update the thumb position and the value as necessary.\n *\n * @param event The event.\n */\n @HostListener('document:pointermove')\n // @ts-ignore: The decorator refers to this method but TS thinks this method is not referred to\n private _handlePointermove = (event: PointerEvent) => {\n const { disabled, _dragging: dragging } = this;\n if (!disabled && dragging) {\n this._throttledHandlePointermoveImpl!(event);\n }\n };\n\n /**\n * Updates thumb position and value upon user's `pointermove` gesture.\n *\n * @param event The event.\n */\n private _handlePointermoveImpl(event: PointerEvent) {\n const { disabled, _dragging: dragging, _trackNode: trackNode } = this;\n if (!disabled && dragging) {\n const isRtl =\n trackNode\n .ownerDocument!.defaultView!.getComputedStyle(trackNode)\n .getPropertyValue('direction') === 'rtl';\n const thumbPosition = event.clientX;\n const { left: trackLeft, width: trackWidth } =\n this._trackNode.getBoundingClientRect();\n this._rate =\n (isRtl\n ? trackLeft + trackWidth - thumbPosition\n : thumbPosition - trackLeft) / trackWidth;\n this.dispatchEvent(\n new CustomEvent((this.constructor as typeof CDSSlider).eventChange, {\n bubbles: true,\n composed: true,\n detail: {\n value: this.value,\n intermediate: true,\n },\n })\n );\n }\n }\n\n /**\n * Handles `pointerup` and `pointerleave` event to finishing dragging.\n */\n private _endDrag = () => {\n if (this._dragging) {\n this.dispatchEvent(\n new CustomEvent((this.constructor as typeof CDSSlider).eventChange, {\n bubbles: true,\n composed: true,\n detail: {\n value: this.value,\n },\n })\n );\n this._dragging = false;\n this._thumbNode.style.touchAction = '';\n }\n };\n\n /**\n * Handles `${prefix}-slider-input-changed` event to update the value.\n */\n @HostListener('eventChangeInput')\n // @ts-ignore: The decorator refers to this method but TS thinks this method is not referred to\n private _handleChangeInput = ({ detail }: CustomEvent) => {\n const { intermediate, value } = detail;\n this.value = value;\n this.dispatchEvent(\n new CustomEvent((this.constructor as typeof CDSSlider).eventChange, {\n bubbles: true,\n composed: true,\n detail: {\n value,\n intermediate,\n },\n })\n );\n };\n\n /**\n * `true` if the check box should be disabled.\n */\n @property({ type: Boolean, reflect: true })\n disabled = false;\n\n /**\n * \ttrue to specify if the control is required.\n */\n @property({ type: Boolean, reflect: true })\n required = false;\n\n /**\n * \tWhether the slider should be read-only\n */\n @property({ type: Boolean, reflect: true })\n readonly = false;\n\n /**\n * The label text.\n */\n @property({ attribute: 'label-text' })\n labelText = '';\n\n /**\n * The label associated with the maximum value.\n */\n @property({ attribute: 'max-label', reflect: true })\n maxLabel = '';\n\n /**\n * The label associated with the minimum value.\n */\n @property({ attribute: 'min-label', reflect: true })\n minLabel = '';\n\n /**\n * The formatter for the text for maximum value.\n * Should be changed upon the locale the UI is rendered with.\n */\n @property({ attribute: false })\n formatMaxText = (max: string, maxLabel: string | undefined) =>\n `${max}${maxLabel}`;\n\n /**\n * The formatter for the text for min/max value.\n * Should be changed upon the locale the UI is rendered with.\n */\n @property({ attribute: false })\n formatMinText = (min: string, minLabel: string | undefined) =>\n `${min}${minLabel}`;\n\n /**\n * The maximum value.\n */\n @property({ type: Number, reflect: true })\n get max() {\n return this._max.toString();\n }\n\n set max(value) {\n const { max: oldMax } = this;\n this._max = value;\n this.requestUpdate('max', oldMax);\n }\n\n /**\n * The minimum value.\n */\n @property({ type: Number, reflect: true })\n get min() {\n return this._min.toString();\n }\n\n set min(value) {\n const { min: oldMin } = this;\n this._min = value;\n this.requestUpdate('min', oldMin);\n }\n\n /**\n * The form name.\n */\n @property()\n name!: string;\n\n /**\n * true to specify if the control is invalid.\n */\n @property({ type: Boolean, reflect: true })\n invalid = false;\n\n /**\n * Message which is displayed if the value is invalid.\n */\n @property({ attribute: 'invalid-text' })\n invalidText = '';\n\n /**\n * true to specify if the control should display warn icon and text.\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 * The snapping step of the value.\n */\n @property({ type: Number, reflect: true })\n get step() {\n return this._step.toString();\n }\n\n set step(value) {\n const { step: oldStep } = this;\n this._step = value;\n this.requestUpdate('step', oldStep);\n }\n\n /**\n * A value determining how much the value should increase/decrease by Shift+arrow keys,\n * which will be `(max - min) / stepMultiplier`.\n */\n @property({ type: Number, reflect: true, attribute: 'step-multiplier' })\n get stepMultiplier() {\n return this._stepMultiplier.toString();\n }\n\n set stepMultiplier(value) {\n const { stepMultiplier: oldstepMultiplier } = this;\n this._stepMultiplier = value;\n this.requestUpdate('stepMultiplier', oldstepMultiplier);\n }\n\n /**\n * The value.\n */\n @property({ type: Number })\n value;\n\n /**\n * is slide input valid\n */\n @property({ type: Boolean })\n isValid;\n\n _getInputValidity(input) {\n if (this.invalid) {\n return false;\n }\n\n if (\n input?.valueAsNumber > Number(this.max) ||\n input?.valueAsNumber < Number(this.min)\n ) {\n return false;\n }\n return true;\n }\n\n connectedCallback() {\n super.connectedCallback();\n if (!this._throttledHandlePointermoveImpl) {\n this._throttledHandlePointermoveImpl = throttle(\n this._handlePointermoveImpl,\n 10\n );\n }\n }\n\n disconnectedCallback() {\n if (this._throttledHandlePointermoveImpl) {\n this._throttledHandlePointermoveImpl.cancel();\n this._throttledHandlePointermoveImpl = null;\n }\n super.disconnectedCallback();\n }\n\n shouldUpdate(changedProperties) {\n const input = this.querySelector(\n (this.constructor as typeof CDSSlider).selectorInput\n ) as CDSSliderInput;\n if (changedProperties.has('disabled')) {\n if (input) {\n input.disabled = this.disabled;\n }\n if (this.disabled) {\n this._dragging = false;\n }\n }\n if (changedProperties.has('readonly')) {\n if (input) {\n input.readonly = this.readonly;\n }\n if (this.readonly) {\n this._dragging = false;\n }\n }\n if (input) {\n ['max', 'min', 'step', 'value'].forEach((name) => {\n if (changedProperties.has(name)) {\n input[name] = this[name];\n }\n });\n\n if (\n changedProperties.has('value') ||\n changedProperties.has('invalid') ||\n changedProperties.has('warn') ||\n changedProperties.has('readonly')\n ) {\n const innerInput = input?.shadowRoot?.querySelector('input');\n\n this.isValid = this._getInputValidity(innerInput);\n\n if (!this.readonly && !this.isValid) {\n input.invalid = true;\n } else {\n input.invalid = false;\n }\n\n if (!this.readonly && !this.invalid && this.warn && this.isValid) {\n input.warn = true;\n } else {\n input.warn = false;\n }\n }\n }\n return true;\n }\n\n render() {\n const {\n disabled,\n formatMaxText,\n formatMinText,\n labelText,\n max,\n min,\n maxLabel,\n minLabel,\n readonly,\n invalidText,\n isValid,\n warn,\n warnText,\n value,\n _rate: rate,\n _handleClickLabel: handleClickLabel,\n _handleKeydown: handleKeydown,\n _handleClick: handleClick,\n _startDrag: startDrag,\n _endDrag: endDrag,\n } = this;\n\n const labelClasses = classMap({\n [`${prefix}--label`]: true,\n [`${prefix}--label--disabled`]: disabled,\n });\n const sliderClasses = classMap({\n [`${prefix}--slider`]: true,\n [`${prefix}--slider--disabled`]: disabled,\n [`${prefix}--slider--readonly`]: readonly,\n });\n\n return html`\n <label class=\"${labelClasses}\" @click=\"${handleClickLabel}\">\n <slot name=\"label-text\">${labelText}</slot>\n </label>\n <div class=\"${prefix}--slider-container\">\n <span class=\"${prefix}--slider__range-label\">\n <slot name=\"min-text\">${formatMinText(min, minLabel)}</slot>\n </span>\n <div\n @keydown=\"${handleKeydown}\"\n @click=\"${handleClick}\"\n @pointerup=\"${endDrag}\"\n @pointerleave=\"${endDrag}\"\n class=\"${sliderClasses}\"\n tabindex=\"-1\"\n role=\"presentation\">\n <div\n id=\"thumb\"\n class=\"${prefix}--slider__thumb\"\n role=\"slider\"\n tabindex=\"${!readonly ? 0 : -1}\"\n aria-valuemax=\"${max}\"\n aria-valuemin=\"${min}\"\n aria-valuenow=\"${value}\"\n style=\"left: ${rate * 100}%\"\n @pointerdown=\"${startDrag}\"></div>\n <div id=\"track\" class=\"${prefix}--slider__track\"></div>\n <div class=\"${prefix}-ce--slider__filled-track-container\">\n <div\n class=\"${prefix}--slider__filled-track\"\n style=\"transform: translate(0%, -50%) scaleX(${rate})\"></div>\n </div>\n </div>\n <span class=\"${prefix}--slider__range-label\">\n <slot name=\"max-text\">${formatMaxText(max, maxLabel)}</slot>\n </span>\n <slot></slot>\n </div>\n\n ${!readonly && !isValid\n ? html`\n <div\n class=\"${prefix}--slider__validation-msg ${prefix}--slider__validation-msg--invalid ${prefix}--form-requirement\">\n ${invalidText}\n </div>\n `\n : null}\n ${!readonly && warn && isValid\n ? html`<div\n class=\"${prefix}--slider__validation-msg ${prefix}--form-requirement\">\n ${warnText}\n </div>`\n : null}\n `;\n }\n\n /**\n * A selector that will return the `<input>` box got entering the value directly.\n */\n static get selectorInput() {\n return `${prefix}-slider-input`;\n }\n\n /**\n * The name of the custom event fired after the value is changed by user gesture.\n */\n static get eventChange() {\n return `${prefix}-slider-changed`;\n }\n\n /**\n * The name of the custom event fired after the value is changed in `<cds-slider-input>` by user gesture.\n */\n static get eventChangeInput() {\n return `${prefix}-slider-input-changed`;\n }\n\n static shadowRootOptions = {\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n };\n static styles = styles;\n}\n\nexport default CDSSlider;\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/stack/defs.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH;;GAEG;AACH,oBAAY,iBAAiB;IAC3B;;OAEG;IACH,QAAQ,aAAa;IAErB;;OAEG;IACH,UAAU,eAAe;CAC1B;AAED;;;;GAIG;AACH,eAAO,MAAM,aAAa,UAIzB,CAAC","file":"defs.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 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 { spacing } from '@carbon/layout';\n\n/**\n * Stack orientation\n */\nexport enum STACK_ORIENTATION {\n /**\n * Default vertical orientation.\n */\n VERTICAL = 'vertical',\n\n /**\n * Horizontal.\n */\n HORIZONTAL = 'horizontal',\n}\n\n/**\n * The steps in the spacing scale\n *\n * @type {Array<number>}\n */\nexport const SPACING_STEPS = Array.from({ length: spacing.length - 1 }).map(\n (_, step) => {\n return step + 1;\n }\n);\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/stack/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,SAAS,CAAC","file":"index.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 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 './stack';\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/stack/stack.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAIvC,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAE1D,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,CAAC;AAE5C;;;;;;;;;;;;;GAaG;AACH,cACM,QAAS,SAAQ,UAAU;IAC/B;;OAEG;IAEH,WAAW,oBAA8B;IAEzC;;;OAGG;IAEH,GAAG,MAAC;IAEJ;;OAEG;IAEH,iBAAiB,UAAS;IAE1B,OAAO,CAAC,iBAAiB,KAAA;IAYzB,MAAM;IAIN,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,QAAQ,CAAC","file":"stack.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 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, property } from 'lit/decorators.js';\nimport { prefix } from '../../globals/settings';\nimport styles from './stack.scss';\nimport { STACK_ORIENTATION, SPACING_STEPS } from './defs';\n\nexport { STACK_ORIENTATION, SPACING_STEPS };\n\n/**\n * The Stack component is a useful layout utility in a component-based model.\n * This allows components to not use margin and instead delegate the\n * responsibility of positioning and layout to parent components.\n *\n * In the case of the Stack component, it uses the spacing scale from the\n * Design Language in order to determine how much space there should be between\n * items rendered by the Stack component. It also supports a custom `gap` prop\n * which will allow a user to provide a custom value for the gap of the layout.\n *\n * This component supports both horizontal and vertical orientations.\n *\n * @element cds-stack\n */\n@customElement(`${prefix}-stack`)\nclass CDSStack extends LitElement {\n /**\n * Specify the orientation of them items in the Stack\n */\n @property({ type: String, reflect: true })\n orientation = STACK_ORIENTATION.VERTICAL;\n\n /**\n * Provide either a custom value or a step from the spacing scale to be used\n * as the gap in the layout\n */\n @property({ type: SPACING_STEPS || String, reflect: true })\n gap;\n\n /**\n * Turn on when passing in custom value to 'gap' attribute (ie. gap=\"2rem\")\n */\n @property({ type: Boolean, attribute: 'use-custom-gap-value' })\n useCustomGapValue = false;\n\n updated(changedProperties) {\n if (changedProperties.has('gap')) {\n if (this.useCustomGapValue) {\n this.style.setProperty(`--${prefix}-stack-gap`, `${this.gap}`);\n } else {\n const oldGapValue = changedProperties.get('gap');\n this.classList.remove(`${prefix}--stack-scale-${oldGapValue}`);\n this.classList.add(`${prefix}--stack-scale-${this.gap}`);\n }\n }\n }\n\n render() {\n return html`<slot></slot>`;\n }\n\n static styles = styles; // `styles` here is a `CSSResult` generated by custom WebPack loader\n}\n\nexport default CDSStack;\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/structured-list/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,mBAAmB,CAAC;AAC3B,OAAO,wBAAwB,CAAC;AAChC,OAAO,wBAAwB,CAAC;AAChC,OAAO,wBAAwB,CAAC;AAChC,OAAO,+BAA+B,CAAC;AACvC,OAAO,wCAAwC,CAAC;AAChD,OAAO,8BAA8B,CAAC;AACtC,OAAO,uBAAuB,CAAC","file":"index.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2021\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 './structured-list';\nimport './structured-list-body';\nimport './structured-list-cell';\nimport './structured-list-head';\nimport './structured-list-header-cell';\nimport './structured-list-header-cell-skeleton';\nimport './structured-list-header-row';\nimport './structured-list-row';\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/structured-list/structured-list-body.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAKvC;;;;GAIG;AACH,cACM,qBAAsB,SAAQ,UAAU;IAC5C,iBAAiB;IAOjB,MAAM;IAIN,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,qBAAqB,CAAC","file":"structured-list-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 { prefix } from '../../globals/settings';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\nimport styles from './structured-list.scss';\n\n/**\n * Structured list body.\n *\n * @element cds-structured-list-body\n */\n@customElement(`${prefix}-structured-list-body`)\nclass CDSStructuredListBody extends LitElement {\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 CDSStructuredListBody;\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/structured-list/structured-list-cell.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAKvC;;;;GAIG;AACH,cACM,qBAAsB,SAAQ,UAAU;IAC5C,iBAAiB;IAOjB,MAAM;IAIN,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,qBAAqB,CAAC","file":"structured-list-cell.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 { prefix } from '../../globals/settings';\nimport styles from './structured-list.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * Structured list cell.\n *\n * @element cds-structured-list-cell\n */\n@customElement(`${prefix}-structured-list-cell`)\nclass CDSStructuredListCell extends LitElement {\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 CDSStructuredListCell;\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/structured-list/structured-list-head.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAKvC;;;;GAIG;AACH,cACM,uBAAwB,SAAQ,UAAU;IAC9C,iBAAiB;IAOjB,MAAM;IAIN,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,uBAAuB,CAAC","file":"structured-list-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 { carbonElement as customElement } from '../../globals/decorators/carbon-element';\nimport styles from './structured-list.scss';\n\n/**\n * Structured list header.\n *\n * @element cds-structured-list-head\n */\n@customElement(`${prefix}-structured-list-head`)\nclass CDSStructuredListHeader extends LitElement {\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 CDSStructuredListHeader;\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/structured-list/structured-list-header-cell-skeleton.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAKvC;;GAEG;AACH,cACM,mCAAoC,SAAQ,UAAU;IAC1D,MAAM;IAIN,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,mCAAmC,CAAC","file":"structured-list-header-cell-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 { prefix } from '../../globals/settings';\nimport styles from './structured-list.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * Skeleton of structured list header cell.\n */\n@customElement(`${prefix}-structured-list-header-cell-skeleton`)\nclass CDSStructuredListHeaderCellSkeleton extends LitElement {\n render() {\n return html` <span></span> `;\n }\n\n static styles = styles;\n}\n\nexport default CDSStructuredListHeaderCellSkeleton;\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/structured-list/structured-list-header-cell.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAKvC;;;;GAIG;AACH,cACM,2BAA4B,SAAQ,UAAU;IAClD,iBAAiB;IAOjB,MAAM;IAIN,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,2BAA2B,CAAC","file":"structured-list-header-cell.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 { prefix } from '../../globals/settings';\nimport styles from './structured-list.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * Structured list header cell.\n *\n * @element cds-structured-list-header-cell\n */\n@customElement(`${prefix}-structured-list-header-cell`)\nclass CDSStructuredListHeaderCell extends LitElement {\n connectedCallback() {\n if (!this.hasAttribute('role')) {\n this.setAttribute('role', 'columnheader');\n }\n super.connectedCallback();\n }\n\n render() {\n return html` <slot></slot> `;\n }\n\n static styles = styles;\n}\n\nexport default CDSStructuredListHeaderCell;\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/structured-list/structured-list-header-row.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAMvC;;;;GAIG;AACH,cACM,0BAA2B,SAAQ,UAAU;IACjD;;;OAGG;IAEH,aAAa,SAAM;IAEnB,iBAAiB;IAOjB,MAAM;IAYN,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,0BAA0B,CAAC","file":"structured-list-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 { LitElement, html } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { prefix } from '../../globals/settings';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\nimport styles from './structured-list.scss';\n\n/**\n * Structured list header row.\n *\n * @element cds-structured-list-header-row\n */\n@customElement(`${prefix}-structured-list-header-row`)\nclass CDSStructuredListHeaderRow extends LitElement {\n /**\n * The `name` attribute for the `<input>` for selection.\n * If present, this structured list header row will show its selectable version of the UI.\n */\n @property({ attribute: 'selection-name' })\n selectionName = '';\n\n connectedCallback() {\n if (!this.hasAttribute('role')) {\n this.setAttribute('role', 'row');\n }\n super.connectedCallback();\n }\n\n render() {\n // We could look up in DOM for `${prefix}-structured-list[hasSelection]`,\n // but uses `hasSelection` prop to utilize attribute change callback\n if (this.selectionName) {\n return html`\n <slot></slot>\n <div class=\"${prefix}--structured-list-th\"></div>\n `;\n }\n return html` <slot></slot> `;\n }\n\n static styles = styles;\n}\n\nexport default CDSStructuredListHeaderRow;\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/structured-list/structured-list-row.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqEvC;;;;GAIG;AACH,cACM,oBAAqB,SAAQ,yBAA6B;IAC9D;;OAEG;IACH,OAAO,CAAC,QAAQ,CAAkC;IAElD;;OAEG;IACH,OAAO,CAAC,oBAAoB,CAAkD;IAE9E;;OAEG;IAEH,OAAO,CAAC,UAAU,CAAoB;IAEtC;;OAEG;IAGH,OAAO,CAAC,YAAY,CAQlB;IAEF;;OAEG;IAGH,OAAO,CAAC,cAAc,CAcpB;IAEF;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;;OAGG;IAEH,aAAa,SAAM;IAEnB;;OAEG;IAEH,cAAc,SAAM;IAEpB;;OAEG;IAEH,kBAAkB,SAAM;IAExB,iBAAiB;IAgBjB,oBAAoB;IAOpB,OAAO,CAAC,iBAAiB,KAAA;IAuBzB,MAAM;IA0BN,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,oBAAoB,CAAC","file":"structured-list-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, query } from 'lit/decorators.js';\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport CheckmarkFilled16 from '@carbon/icons/lib/checkmark--filled/16';\nimport { prefix } from '../../globals/settings';\nimport HostListener from '../../globals/decorators/host-listener';\nimport HostListenerMixin from '../../globals/mixins/host-listener';\nimport RadioGroupManager, {\n NAVIGATION_DIRECTION,\n ManagedRadioButtonDelegate,\n} from '../../globals/internal/radio-group-manager';\nimport styles from './structured-list.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * Map of navigation direction by key.\n */\nconst navigationDirectionForKey = {\n ArrowUp: NAVIGATION_DIRECTION.BACKWARD,\n Up: NAVIGATION_DIRECTION.BACKWARD, // IE\n ArrowDown: NAVIGATION_DIRECTION.FORWARD,\n Down: NAVIGATION_DIRECTION.FORWARD, // IE\n};\n\n/**\n * The interface for `RadioGroupManager` for structured list row.\n */\nclass StructuredListRowRadioButtonDelegate\n implements ManagedRadioButtonDelegate\n{\n /**\n * The structured list row to target.\n */\n private _row: CDSStructuredListRow;\n\n constructor(row: CDSStructuredListRow) {\n this._row = row;\n }\n\n get checked() {\n return this._row.selected;\n }\n\n set checked(checked) {\n this._row.selected = checked;\n this._row.tabIndex = checked ? 0 : -1;\n }\n\n get tabIndex() {\n return this._row.tabIndex;\n }\n\n set tabIndex(tabIndex) {\n this._row.tabIndex = tabIndex;\n }\n\n get name() {\n return this._row.selectionName;\n }\n\n compareDocumentPosition(other: StructuredListRowRadioButtonDelegate) {\n return this._row.compareDocumentPosition(other._row);\n }\n\n focus() {\n this._row.focus();\n }\n}\n\n/**\n * Structured list row.\n *\n * @element cds-structured-list-row\n */\n@customElement(`${prefix}-structured-list-row`)\nclass CDSStructuredListRow extends HostListenerMixin(LitElement) {\n /**\n * The radio group manager associated with the radio button.\n */\n private _manager: RadioGroupManager | null = null;\n\n /**\n * The interface for `RadioGroupManager` for structured list row.\n */\n private _radioButtonDelegate = new StructuredListRowRadioButtonDelegate(this);\n\n /**\n * The hidden radio button.\n */\n @query('#input')\n private _inputNode!: HTMLInputElement;\n\n /**\n * Handles `click` event on this element.\n */\n @HostListener('click')\n // @ts-ignore: The decorator refers to this method but TS thinks this method is not referred to\n private _handleClick = () => {\n const { _inputNode: inputNode } = this;\n if (inputNode) {\n this.selected = true;\n if (this._manager) {\n this._manager.select(this._radioButtonDelegate);\n }\n }\n };\n\n /**\n * Handles `keydown` event on this element.\n */\n @HostListener('keydown')\n // @ts-ignore: The decorator refers to this method but TS thinks this method is not referred to\n private _handleKeydown = (event: KeyboardEvent) => {\n const { _inputNode: inputNode } = this;\n const manager = this._manager;\n if (inputNode && manager) {\n const navigationDirection = navigationDirectionForKey[event.key];\n if (navigationDirection) {\n manager.select(\n manager.navigate(this._radioButtonDelegate, navigationDirection)\n );\n }\n if (event.key === ' ' || event.key === 'Enter') {\n manager.select(this._radioButtonDelegate);\n }\n }\n };\n\n /**\n * `true` if this structured list row should be selectable and selected.\n */\n @property({ type: Boolean, reflect: true })\n selected = false;\n\n /**\n * The `name` attribute for the `<input>` for selection.\n * If present, this structured list 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 * The content to put into the `<title>` attribute of the selection icon.\n */\n @property({ attribute: 'selection-icon-title' })\n selectionIconTitle = '';\n\n connectedCallback() {\n if (!this.hasAttribute('role')) {\n this.setAttribute('role', 'row');\n }\n super.connectedCallback();\n if (!this._manager) {\n this._manager = RadioGroupManager.get(\n this.getRootNode({ composed: true }) as Document\n );\n const { selectionName } = this;\n if (selectionName) {\n this._manager?.add(this._radioButtonDelegate);\n }\n }\n }\n\n disconnectedCallback() {\n if (this._manager) {\n this._manager.delete(this._radioButtonDelegate);\n }\n super.disconnectedCallback();\n }\n\n updated(changedProperties) {\n const { _manager: manager, selectionName } = this;\n if (changedProperties.has('selectionName')) {\n if (manager) {\n manager.delete(\n this._radioButtonDelegate,\n changedProperties.get('selectionName')\n );\n if (selectionName) {\n manager.add(this._radioButtonDelegate);\n }\n }\n this.setAttribute(\n 'tabindex',\n !selectionName ||\n !manager ||\n !manager.shouldBeFocusable(this._radioButtonDelegate)\n ? '-1'\n : '0'\n );\n }\n }\n\n render() {\n const { selected, selectionName, selectionValue, selectionIconTitle } =\n this;\n if (selectionName) {\n // \"Selected\" style with `.${prefix}--structured-list-td` does not work somehow - Need investigation\n return html`\n <slot></slot>\n <input\n id=\"input\"\n type=\"radio\"\n class=\"${prefix}--structured-list-input ${prefix}--visually-hidden\"\n .checked=${selected}\n name=${selectionName}\n value=${ifDefined(selectionValue)} />\n <div\n class=\"${prefix}--structured-list-td ${prefix}--structured-list-cell\">\n ${CheckmarkFilled16({\n class: `${prefix}--structured-list-svg`,\n title: selectionIconTitle,\n })}\n </div>\n `;\n }\n return html` <slot></slot> `;\n }\n\n static styles = styles;\n}\n\nexport default CDSStructuredListRow;\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/structured-list/structured-list.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASvC;;;;GAIG;AACH,cACM,iBAAkB,SAAQ,sBAAsB;IACpD;;;OAGG;IAEH,aAAa,SAAM;IAEnB;;OAEG;IAEH,SAAS,UAAS;IAElB;;OAEG;IAEH,KAAK,UAAS;IAEd,iBAAiB;IAOjB,YAAY,CAAC,iBAAiB,KAAA;IAe9B,OAAO,CAAC,iBAAiB,KAAA;IAoBzB,MAAM;IAaN;;OAEG;IACH,MAAM,CAAC,sBAAsB,SAAwE;IACrG,MAAM,CAAC,iBAAiB;;;;MAGtB;IACF,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,iBAAiB,CAAC","file":"structured-list.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 } from 'lit/decorators.js';\nimport { prefix } from '../../globals/settings';\nimport { forEach } from '../../globals/internal/collection-helpers';\nimport FocusMixin from '../../globals/mixins/focus';\nimport CDSStructuredListRow from './structured-list-row';\nimport styles from './structured-list.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * Structured list wrapper.\n *\n * @element cds-structured-list\n */\n@customElement(`${prefix}-structured-list`)\nclass CDSStructuredList extends FocusMixin(LitElement) {\n /**\n * The `name` attribute for the `<input>` for selection.\n * If present, this structured list will be a selectable one.\n */\n @property({ attribute: 'selection-name' })\n selectionName = '';\n\n /**\n * Specify if structured list is condensed, default is false\n */\n @property({ type: Boolean, reflect: true })\n condensed = false;\n\n /**\n * Specify if structured list is flush, default is false\n */\n @property({ type: Boolean, reflect: true })\n flush = false;\n\n connectedCallback() {\n if (!this.hasAttribute('role')) {\n this.setAttribute('role', 'table');\n }\n super.connectedCallback();\n }\n\n shouldUpdate(changedProperties) {\n if (changedProperties.has('selectionName')) {\n // Propagate `selectionName` attribute to descendants until `:host-context()` gets supported in all major browsers\n forEach(\n this.querySelectorAll(\n (this.constructor as typeof CDSStructuredList).selectorRowsWithHeader\n ),\n (elem) => {\n (elem as CDSStructuredListRow).selectionName = this.selectionName;\n }\n );\n }\n return true;\n }\n\n updated(changedProperties) {\n const attributes = ['condensed', 'flush'];\n attributes.forEach((attr) => {\n if (changedProperties.has(attr)) {\n // Propagate watched attribute to descendants until `:host-context()` gets supported in all major browsers\n forEach(\n this.querySelectorAll(\n (this.constructor as typeof CDSStructuredList)\n .selectorRowsWithHeader\n ),\n (elem) => {\n this[`${attr}`]\n ? elem.setAttribute(attr, '')\n : elem.removeAttribute(attr);\n }\n );\n }\n });\n }\n\n render() {\n const { condensed, flush, selectionName } = this;\n const classes = classMap({\n [`${prefix}--structured-list`]: true,\n [`${prefix}--structured-list--selection`]: Boolean(selectionName),\n [`${prefix}--structured-list--condensed`]: condensed,\n [`${prefix}--structured-list--flush`]: flush,\n });\n return html`\n <section id=\"section\" class=${classes}><slot></slot></section>\n `;\n }\n\n /**\n * The CSS selector to find the rows, including header rows.\n */\n static selectorRowsWithHeader = `${prefix}-structured-list-row,${prefix}-structured-list-header-row`;\n static shadowRootOptions = {\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n };\n static styles = styles;\n}\n\nexport default CDSStructuredList;\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/tabs/defs.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH;;GAEG;AACH,oBAAY,oBAAoB;IAC9B;;OAEG;IACH,IAAI,SAAS;IAEb;;OAEG;IACH,UAAU,eAAe;IAEzB;;OAEG;IACH,IAAI,SAAS;IAEb;;OAEG;IACH,GAAG,QAAQ;CACZ;AAED;;GAEG;AACH,oBAAY,SAAS;IACnB;;OAEG;IACH,OAAO,KAAK;IAEZ;;OAEG;IACH,SAAS,cAAc;IAEvB;;OAEG;IACH,SAAS,cAAc;CACxB","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 * The keyboard action categories for dropdown.\n */\nexport enum TABS_KEYBOARD_ACTION {\n /**\n * Not doing any action.\n */\n NONE = 'none',\n\n /**\n * Keyboard action to navigate back/forward.\n */\n NAVIGATING = 'navigating',\n\n /**\n * Keyboard action to navigate to first tab using home key\n */\n HOME = 'home',\n\n /**\n * Keyboard action to navigate to last tab using end key\n */\n END = 'end',\n}\n\n/**\n * Tabs types.\n */\nexport enum TABS_TYPE {\n /**\n * Regular tabs.\n */\n REGULAR = '',\n\n /**\n * Container type.\n */\n CONTAINER = 'container',\n\n /**\n * Contained type.\n */\n CONTAINED = 'contained',\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/tabs/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,OAAO,CAAC;AACf,OAAO,gBAAgB,CAAC;AACxB,OAAO,iBAAiB,CAAC","file":"index.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2021\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 './tab';\nimport './tab-skeleton';\nimport './tabs-skeleton';\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/tabs/tab-skeleton.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAKvC;;GAEG;AAEH,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,UAAU;IACpD,MAAM;IAIN,MAAM,CAAC,MAAM,MAAU;CACxB","file":"tab-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 { prefix } from '../../globals/settings';\nimport styles from './tabs.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * Skeleton of tab.\n */\n@customElement(`${prefix}-tab-skeleton`)\nexport default class CDSTabSkeleton extends LitElement {\n render() {\n return html` <div class=\"${prefix}--tabs__nav-link\"></div> `;\n }\n\n static styles = styles;\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/tabs/tab.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAKH,OAAO,sBAAsB,MAAM,2CAA2C,CAAC;AAC/E,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAInC;;;;GAIG;AAEH,MAAM,CAAC,OAAO,OAAO,MAAO,SAAQ,sBAAsB;IACxD;;;;;OAKG;IAEH,WAAW,UAAS;IAEpB;;OAEG;IAEH,IAAI,YAAqB;IAEzB,iBAAiB;IAOjB,MAAM;IAeN,MAAM,CAAC,MAAM,MAAU;CACxB","file":"tab.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 } from 'lit/decorators.js';\nimport { prefix } from '../../globals/settings';\nimport CDSContentSwitcherItem from '../content-switcher/content-switcher-item';\nimport { TABS_TYPE } from './tabs';\nimport styles from './tabs.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * Basic tab.\n *\n * @element cds-tab\n */\n@customElement(`${prefix}-tab`)\nexport default class CDSTab extends CDSContentSwitcherItem {\n /**\n * `true` if this tab should be highlighted.\n * If `true`, parent `<cds-tabs>` selects/deselects this tab upon keyboard interaction.\n *\n * @private\n */\n @property({ type: Boolean, reflect: true })\n highlighted = false;\n\n /**\n * Tab type.\n */\n @property({ reflect: true })\n type = TABS_TYPE.REGULAR;\n\n connectedCallback() {\n if (!this.hasAttribute('role')) {\n this.setAttribute('role', 'listitem');\n }\n super.connectedCallback();\n }\n\n render() {\n const { disabled, selected } = this;\n // No `href`/`tabindex` to not to make this `<a>` click-focusable\n return html`\n <a\n class=\"${prefix}--tabs__nav-link\"\n role=\"tab\"\n tabindex=\"${selected ? 0 : -1}\"\n ?disabled=\"${disabled}\"\n aria-selected=\"${Boolean(selected)}\">\n <slot></slot>\n </a>\n `;\n }\n\n static styles = styles;\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/tabs/tabs-skeleton.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAKvC;;GAEG;AAEH,MAAM,CAAC,OAAO,OAAO,eAAgB,SAAQ,UAAU;IACrD,MAAM;IAWN,MAAM,CAAC,MAAM,MAAU;CACxB","file":"tabs-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 { prefix } from '../../globals/settings';\nimport styles from './tabs.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\n/**\n * Skeleton of tabs.\n */\n@customElement(`${prefix}-tabs-skeleton`)\nexport default class CDSTabsSkeleton extends LitElement {\n render() {\n return html`\n <div class=\"${prefix}--tabs-trigger\">\n <span class=\"${prefix}--tabs-trigger-text\"></span>\n </div>\n <ul class=\"${prefix}--tabs__nav\">\n <slot></slot>\n </ul>\n `;\n }\n\n static styles = styles;\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/tabs/tabs.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAWH,OAAO,kBAAkB,EAAE,EACzB,oBAAoB,EACrB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,oBAAoB,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACzD,OAAO,MAAM,MAAM,OAAO,CAAC;AAI3B,OAAO,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,SAAS,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjE;;;;;;;;GAQG;AAEH,MAAM,CAAC,OAAO,OAAO,OAAQ,SAAQ,YAAqC;IACxE;;OAEG;IACH,OAAO,CAAC,oBAAoB,CAAC,CAAS;IAEtC;;OAEG;IAEH,OAAO,CAAC,aAAa,CAAa;IAElC;;OAEG;IACH,OAAO,CAAC,UAAU,CAAa;IAE/B;;OAEG;IAEH,OAAO,CAAC,aAAa,CAAkB;IAEvC;;OAEG;IACH,OAAO,CAAC,OAAO,CAAwB;IAEvC;;OAEG;IACH,OAAO,CAAC,YAAY,CAAM;IAE1B;;;;;;;;;;;OAWG;IACH,SAAS,CAAC,SAAS,CACjB,SAAS,EAAE,MAAM,EACjB,EAAE,SAAgB,EAAE,GAAE;QAAE,SAAS,CAAC,EAAE,OAAO,CAAA;KAAO;IAqCpD,SAAS,CAAC,YAAY,CAAC,KAAK,EAAE,UAAU;IAKxC,SAAS,CAAC,cAAc,CAAC,KAAK,EAAE,aAAa;IAwC7C;;;;;;OAMG;IACH,SAAS,CAAC,wBAAwB,CAAC,CAAC,KAAA,EAAE,EAAE,SAAS,EAAE;;KAAA;IAyBnD,iBAAiB;IAUjB,SAAS,CAAC,mBAAmB,CAAC,YAAY,EAAE,MAAM;IAKlD;;OAEG;IAEH,OAAO,CAAC,qBAAqB,CAAC,CAAc;IAE5C;;OAEG;IAEH,OAAO,CAAC,YAAY,CAAC,CAAc;IAEnC;;OAEG;IAEH,OAAO,CAAC,sBAAsB,CAAK;IAEnC;;;OAGG;IAEH,OAAO,CAAC,6BAA6B,CAAC,CAAc;IAEpD;;;OAGG;IAEH,OAAO,CAAC,8BAA8B,CAAC,CAAc;IAErD;;OAEG;IAEH,2BAA2B,SACkC;IAE7D;;OAEG;IAEH,yBAAyB,SAAuB;IAEhD;;OAEG;IAEH,cAAc,SAAM;IAEpB;;OAEG;IAEH,IAAI,YAAqB;IAEzB;;;OAGG;IAEH,OAAO,CAAC,mCAAmC,CAAQ;IAEnD;;;OAGG;IAEH,OAAO,CAAC,oCAAoC,CAAQ;IAEpD;;OAEG;IACH,OAAO,CAAC,qBAAqB,CAAqC;IAElE;;;;OAIG;IACH,OAAO,CAAC,6BAA6B,CAcnC;IAEF;;;;;OAKG;IACH,OAAO,CAAC,4CAA4C;IA+BpD,oBAAoB;IAKpB,YAAY,CAAC,iBAAiB,KAAA;IAgB9B,YAAY;IAOZ,OAAO,CAAC,iBAAiB,KAAA;IAqCzB,MAAM;IAqEN;;OAEG;IACH,MAAM,CAAC,YAAY,cAA2B;IAE9C;;OAEG;IACH,MAAM,KAAK,YAAY,WAEtB;IAED;;OAEG;IACH,MAAM,KAAK,mBAAmB,WAE7B;IAED;;OAEG;IACH,MAAM,KAAK,uBAAuB,WAEjC;IAED;;OAEG;IACH,MAAM,KAAK,oBAAoB,WAE9B;IAED;;OAEG;IACH,MAAM,KAAK,eAAe,WAEzB;IAED;;;OAGG;IACH,MAAM,KAAK,iBAAiB,WAE3B;IAED;;OAEG;IACH,MAAM,KAAK,WAAW,WAErB;IAED,MAAM,CAAC,MAAM,MAAU;IAEvB;;;OAGG;IACH,MAAM,CAAC,SAAS,CAAC,GAAG,EAAE,MAAM;CAY7B","file":"tabs.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, state, query } from 'lit/decorators.js';\nimport { classMap } from 'lit/directives/class-map.js';\nimport { prefix } from '../../globals/settings';\nimport HostListenerMixin from '../../globals/mixins/host-listener';\nimport HostListener from '../../globals/decorators/host-listener';\nimport { forEach } from '../../globals/internal/collection-helpers';\nimport ChevronRight16 from '@carbon/icons/lib/chevron--right/16';\nimport ChevronLeft16 from '@carbon/icons/lib/chevron--left/16';\nimport CDSContentSwitcher, {\n NAVIGATION_DIRECTION,\n} from '../content-switcher/content-switcher';\nimport { TABS_KEYBOARD_ACTION, TABS_TYPE } from './defs';\nimport CDSTab from './tab';\nimport styles from './tabs.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\nexport { NAVIGATION_DIRECTION, TABS_KEYBOARD_ACTION, TABS_TYPE };\n\n/**\n * Tabs.\n *\n * @element cds-tabs\n * @fires cds-tabs-beingselected\n * The custom event fired before a tab is selected upon a user gesture.\n * Cancellation of this event stops changing the user-initiated selection.\n * @fires cds-tabs-selected - The custom event fired after a a tab is selected upon a user gesture.\n */\n@customElement(`${prefix}-tabs`)\nexport default class CDSTabs extends HostListenerMixin(CDSContentSwitcher) {\n /**\n * The latest status of this dropdown, for screen reader to accounce.\n */\n private _assistiveStatusText?: string;\n\n /**\n * The currently selected index\n */\n // @ts-ignore: TS thinks this method is not referred to\n private _currentIndex: number = 0;\n\n /**\n * Total number of tabs in the component\n */\n private _totalTabs: number = 0;\n\n /**\n * `true` if the tablist is scrollable\n */\n // @ts-ignore: TS thinks this method is not referred to\n private _isScrollable: boolean = false;\n\n /**\n * The DOM element for the tablist.\n */\n private tablist: Element | null = null;\n\n /**\n * The width of the overflow scroll buttons.\n */\n private BUTTON_WIDTH = 44;\n\n /**\n * Navigates through tabs.\n *\n * @param direction `-1` to navigate backward, `1` to navigate forward.\n * @param [options] The options.\n * @param [options.immediate]\n * Defaults to `true`\n * `true` to make it \"immediate selection change\" mode, which does:\n *\n * Starts with the selected item\n * Going prev/next item immediately changes the selection\n */\n protected _navigate(\n direction: number,\n { immediate = true }: { immediate?: boolean } = {}\n ) {\n const { selectorItem, selectorItemHighlighted, selectorItemSelected } = this\n .constructor as typeof CDSTabs;\n const nextItem = this._getNextItem(\n this.querySelector(\n immediate ? selectorItemSelected : selectorItemHighlighted\n ) as CDSTab,\n direction\n );\n if (!nextItem) {\n return;\n }\n\n if (immediate) {\n this._handleUserInitiatedSelectItem(nextItem as CDSTab);\n } else {\n forEach(this.querySelectorAll(selectorItem), (item) => {\n (item as CDSTab)[immediate ? 'selected' : 'highlighted'] =\n nextItem === item;\n });\n }\n\n // Using `{ block: 'nearest' }` to prevent scrolling unless scrolling is absolutely necessary.\n // `scrollIntoViewOptions` seems to work in latest Safari despite of MDN/caniuse table.\n // IE falls back to the old behavior.\n nextItem.scrollIntoView({ block: 'nearest', inline: 'nearest' });\n\n const nextItemText = nextItem.textContent;\n if (nextItemText) {\n this._assistiveStatusText = nextItemText;\n }\n this._currentIndex += direction;\n this.requestUpdate();\n }\n\n @HostListener('click')\n protected _handleClick(event: MouseEvent) {\n super._handleClick(event);\n }\n\n @HostListener('keydown')\n protected _handleKeydown(event: KeyboardEvent) {\n const { key } = event;\n const action = (this.constructor as typeof CDSTabs).getAction(key);\n const enabledTabs = this.querySelectorAll(`${prefix}-tab:not([disabled])`);\n switch (action) {\n case TABS_KEYBOARD_ACTION.HOME:\n {\n const [firstEnabledTab] = enabledTabs;\n firstEnabledTab.scrollIntoView({\n block: 'nearest',\n inline: 'nearest',\n });\n this._handleUserInitiatedSelectItem(firstEnabledTab as CDSTab);\n this.requestUpdate();\n }\n break;\n case TABS_KEYBOARD_ACTION.END:\n {\n const lastEnabledTab = enabledTabs[enabledTabs.length - 1];\n lastEnabledTab.scrollIntoView({\n block: 'nearest',\n inline: 'nearest',\n });\n this._handleUserInitiatedSelectItem(lastEnabledTab as CDSTab);\n this.requestUpdate();\n }\n break;\n case TABS_KEYBOARD_ACTION.NAVIGATING:\n {\n const direction = NAVIGATION_DIRECTION[key];\n if (direction) {\n this._navigate(direction);\n }\n }\n break;\n default:\n break;\n }\n }\n\n /**\n * Handles click on overflow scroll buttons.\n *\n * @param _ Event object\n * @param [options] The options.\n * @param [options.direction] `-1` to scroll forward, `1` to scroll backward.\n */\n protected _handleScrollButtonClick(_, { direction }) {\n if (!this.tablist) {\n return;\n }\n const { scrollLeft, clientWidth, scrollWidth } =\n this._contentContainerNode!;\n switch (direction) {\n case -1:\n this._contentContainerNode!.scrollLeft = Math.max(\n scrollLeft - (scrollWidth / this._totalTabs) * 1.5,\n 0\n );\n break;\n case 1:\n this._contentContainerNode!.scrollLeft =\n Math.min(\n scrollLeft + (scrollWidth / this._totalTabs) * 1.5,\n scrollWidth - clientWidth\n ) + 1;\n break;\n default:\n break;\n }\n }\n\n _handleSlotchange() {\n const { selectorItemSelected } = this.constructor as typeof CDSTabs;\n const selectedItem = this.querySelector(selectorItemSelected);\n const nextItem = this._getNextItem(selectedItem as CDSTab, 1);\n\n // Specifies child `<cds-tab>` to hide its divider instead of using CSS,\n // until `:host-context()` gets supported in all major browsers\n (nextItem as CDSTab).hideDivider = true;\n }\n\n protected _selectionDidChange(itemToSelect: CDSTab) {\n super._selectionDidChange(itemToSelect);\n this._assistiveStatusText = this.selectedItemAssistiveText;\n }\n\n /**\n * The scrolling container.\n */\n @query(`.${prefix}--tabs-nav-content-container`)\n private _contentContainerNode?: HTMLElement;\n\n /**\n * The scrolling content.\n */\n @query(`.${prefix}--tabs-nav-content`)\n private _contentNode?: HTMLElement;\n\n /**\n * The current scroll position.\n */\n @state()\n private _currentScrollPosition = 0;\n\n /**\n * The left-hand sentinel to track intersection with the host element.\n * If they intersect, the left-hand paginator button should be hidden.\n */\n @query(`.${prefix}--sub-content-left`)\n private _intersectionLeftSentinelNode?: HTMLElement;\n\n /**\n * The right-hand sentinel to track intersection with the host element.\n * If they intersect, the right-hand paginator button should be hidden.\n */\n @query(`.${prefix}--sub-content-right`)\n private _intersectionRightSentinelNode?: HTMLElement;\n\n /**\n * An assistive text for screen reader to announce, telling the open state.\n */\n @property({ attribute: 'selecting-items-assistive-text' })\n selectingItemsAssistiveText =\n 'Selecting items. Use up and down arrow keys to navigate.';\n\n /**\n * An assistive text for screen reader to announce, telling that an item is selected.\n */\n @property({ attribute: 'selected-item-assistive-text' })\n selectedItemAssistiveText = 'Selected an item.';\n\n /**\n * The content of the trigger button for narrow mode.\n */\n @property({ attribute: 'trigger-content' })\n triggerContent = '';\n\n /**\n * Tabs type.\n */\n @property({ reflect: true })\n type = TABS_TYPE.REGULAR;\n\n /**\n * `true` if left-hand scroll intersection sentinel intersects with the host element.\n * In this condition, the left-hand paginator button should be hidden.\n */\n @state()\n private _isIntersectionLeftTrackerInContent = true;\n\n /**\n * `true` if right-hand scroll intersection sentinel intersects with the host element.\n * In this condition, the right-hand paginator button should be hidden.\n */\n @state()\n private _isIntersectionRightTrackerInContent = true;\n\n /**\n * The observer for the intersection of left-side content edge.\n */\n private _observerIntersection: IntersectionObserver | null = null;\n\n /**\n * The intersection observer callback for the scrolling container.\n *\n * @param records The intersection observer records.\n */\n private _observeIntersectionContainer = (records) => {\n const {\n _intersectionLeftSentinelNode: intersectionLeftSentinelNode,\n _intersectionRightSentinelNode: intersectionRightSentinelNode,\n } = this;\n\n records.forEach(({ isIntersecting, target }) => {\n if (target === intersectionLeftSentinelNode) {\n this._isIntersectionLeftTrackerInContent = isIntersecting;\n }\n if (target === intersectionRightSentinelNode) {\n this._isIntersectionRightTrackerInContent = isIntersecting;\n }\n });\n };\n\n /**\n * Cleans-up and creats the intersection observer for the scrolling container.\n *\n * @param [options] The options.\n * @param [options.create] `true` to create the new intersection observer.\n */\n private _cleanAndCreateIntersectionObserverContainer({\n create,\n }: { create?: boolean } = {}) {\n const {\n _intersectionLeftSentinelNode: intersectionLeftSentinelNode,\n _intersectionRightSentinelNode: intersectionRightSentinelNode,\n } = this;\n\n if (this._observerIntersection) {\n this._observerIntersection.disconnect();\n this._observerIntersection = null;\n }\n\n if (create) {\n this._observerIntersection = new IntersectionObserver(\n this._observeIntersectionContainer,\n {\n root: this,\n threshold: 0,\n }\n );\n\n if (intersectionLeftSentinelNode) {\n this._observerIntersection.observe(intersectionLeftSentinelNode);\n }\n if (intersectionRightSentinelNode) {\n this._observerIntersection.observe(intersectionRightSentinelNode);\n }\n }\n }\n\n disconnectedCallback() {\n this._cleanAndCreateIntersectionObserverContainer();\n super.disconnectedCallback();\n }\n\n shouldUpdate(changedProperties) {\n super.shouldUpdate(changedProperties);\n if (this.tablist) {\n const { clientWidth, scrollWidth } = this.tablist;\n this._isScrollable = scrollWidth > clientWidth;\n }\n const { selectorItem } = this.constructor as typeof CDSTabs;\n if (changedProperties.has('type')) {\n forEach(this.querySelectorAll(selectorItem), (elem) => {\n this._totalTabs++;\n (elem as CDSTab).type = this.type;\n });\n }\n return true;\n }\n\n firstUpdated() {\n const { selectorTablist } = this.constructor as typeof CDSTabs;\n const tablist = this.shadowRoot!.querySelector(selectorTablist)!;\n this.tablist = tablist;\n this._cleanAndCreateIntersectionObserverContainer({ create: true });\n }\n\n updated(changedProperties) {\n if (changedProperties.has('value')) {\n const tab = this.querySelector(\n `${prefix}-tab[value=\"${this.value}\"]`\n ) as HTMLElement;\n if (tab) {\n const { width: tabWidth } = tab?.getBoundingClientRect() ?? {};\n const start = tab.offsetLeft ?? 0;\n const end = tab.offsetLeft + tabWidth;\n\n // The start and end of the visible area of the tablist\n const visibleStart = this.tablist!.scrollLeft + this.BUTTON_WIDTH;\n const visibleEnd =\n this.tablist!.scrollLeft +\n this.tablist!.clientWidth -\n this.BUTTON_WIDTH;\n\n // The beginning of the tab is clipped and not visible\n if (start < visibleStart) {\n this.tablist!.scrollLeft = start - this.BUTTON_WIDTH;\n }\n\n // The end of the tab is clipped and not visible\n if (end > visibleEnd) {\n this.tablist!.scrollLeft =\n end + this.BUTTON_WIDTH - this.tablist!.clientWidth;\n }\n }\n }\n\n if (changedProperties.has('_currentScrollPosition')) {\n if (this._contentNode) {\n this._contentNode.style.insetInlineStart = `-${this._currentScrollPosition}px`;\n }\n }\n }\n\n render() {\n const {\n _isIntersectionLeftTrackerInContent: isIntersectionLeftTrackerInContent,\n _isIntersectionRightTrackerInContent: isIntersectionRightTrackerInContent,\n _assistiveStatusText: assistiveStatusText,\n _handleSlotchange: handleSlotchange,\n } = this;\n\n const previousButtonClasses = classMap({\n [`${prefix}--tab--overflow-nav-button`]: true,\n [`${prefix}--tabs__nav-caret-left`]: true,\n [`${prefix}--tab--overflow-nav-button--previous`]: true,\n [`${prefix}--tab--overflow-nav-button--hidden`]:\n isIntersectionLeftTrackerInContent,\n });\n const nextButtonClasses = classMap({\n [`${prefix}--tab--overflow-nav-button`]: true,\n [`${prefix}--tabs__nav-caret-right`]: true,\n [`${prefix}--tab--overflow-nav-button--next`]: true,\n [`${prefix}--tab--overflow-nav-button--hidden`]:\n isIntersectionRightTrackerInContent,\n });\n\n return html`\n <button\n part=\"prev-button\"\n tabindex=\"-1\"\n aria-hidden=\"true\"\n class=\"${previousButtonClasses}\"\n @click=${(_) =>\n this._handleScrollButtonClick(_, {\n direction: NAVIGATION_DIRECTION.Left,\n })}>\n ${ChevronLeft16()}\n </button>\n\n <div class=\"${prefix}--tabs-nav-content-container\">\n <div class=\"${prefix}--tabs-nav-content\">\n <div class=\"${prefix}--tabs-nav\">\n <div id=\"tablist\" role=\"tablist\" class=\"${prefix}--tab--list\">\n <div class=\"${prefix}--sub-content-left\"></div>\n <slot @slotchange=${handleSlotchange}></slot>\n <div class=\"${prefix}--sub-content-right\"></div>\n </div>\n </div>\n </div>\n </div>\n\n <button\n part=\"next-button\"\n tabindex=\"-1\"\n aria-hidden=\"true\"\n class=\"${nextButtonClasses}\"\n @click=${(_) =>\n this._handleScrollButtonClick(_, {\n direction: NAVIGATION_DIRECTION.Right,\n })}>\n ${ChevronRight16()}\n </button>\n <div\n class=\"${prefix}--assistive-text\"\n role=\"status\"\n aria-live=\"assertive\"\n aria-relevant=\"additions text\">\n ${assistiveStatusText}\n </div>\n `;\n }\n\n /**\n * Symbols of keys that triggers opening/closing menu and selecting/deselecting menu item.\n */\n static TRIGGER_KEYS = new Set([' ', 'Enter']);\n\n /**\n * A selector that will return tabs.\n */\n static get selectorItem() {\n return `${prefix}-tab`;\n }\n\n /**\n * A selector that will return enabled tabs.\n */\n static get selectorItemEnabled() {\n return `${prefix}-tab:not([disabled])`;\n }\n\n /**\n * A selector that will return highlighted tabs.\n */\n static get selectorItemHighlighted() {\n return `${prefix}-tab[highlighted]`;\n }\n\n /**\n * A selector that will return selected tabs.\n */\n static get selectorItemSelected() {\n return `${prefix}-tab[selected]`;\n }\n\n /**\n * A selector that returns the tablist\n */\n static get selectorTablist() {\n return `.${prefix}--tab--list`;\n }\n\n /**\n * The name of the custom event fired before a tab 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}-tabs-beingselected`;\n }\n\n /**\n * The name of the custom event fired after a a tab is selected upon a user gesture.\n */\n static get eventSelect() {\n return `${prefix}-tabs-selected`;\n }\n\n static styles = styles;\n\n /**\n * @param key The key symbol.\n * @returns A action for dropdown for the given key symbol.\n */\n static getAction(key: string) {\n if (key === 'Home') {\n return TABS_KEYBOARD_ACTION.HOME;\n }\n if (key === 'End') {\n return TABS_KEYBOARD_ACTION.END;\n }\n if (key in NAVIGATION_DIRECTION) {\n return TABS_KEYBOARD_ACTION.NAVIGATING;\n }\n return TABS_KEYBOARD_ACTION.NONE;\n }\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/tag/defs.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH;;GAEG;AACH,oBAAY,QAAQ;IAClB;;OAEG;IACH,MAAM,OAAO;IAEb;;OAEG;IACH,KAAK,OAAO;CACb;AAED,oBAAY,QAAQ;IAClB;;OAEG;IACH,GAAG,QAAQ;IAEX;;OAEG;IACH,OAAO,YAAY;IAEnB;;OAEG;IACH,MAAM,WAAW;IAEjB;;OAEG;IACH,IAAI,SAAS;IAEb;;OAEG;IACH,IAAI,SAAS;IAEb;;OAEG;IACH,IAAI,SAAS;IAEb;;OAEG;IACH,KAAK,UAAU;IAEf;;OAEG;IACH,IAAI,SAAS;IAEb;;OAEG;IACH,WAAW,cAAc;IAEzB;;OAEG;IACH,WAAW,cAAc;CAC1B","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 * Tag size.\n */\nexport enum TAG_SIZE {\n /**\n * Medium size (default).\n */\n MEDIUM = 'md',\n\n /**\n * Small size.\n */\n SMALL = 'sm',\n}\n\nexport enum TAG_TYPE {\n /**\n * Red color.\n */\n RED = 'red',\n\n /**\n * Magenta color.\n */\n MAGENTA = 'magenta',\n\n /**\n * Purple color.\n */\n PURPLE = 'purple',\n\n /**\n * Blue color.\n */\n BLUE = 'blue',\n\n /**\n * Cyan color.\n */\n CYAN = 'cyan',\n\n /**\n * Teal color.\n */\n TEAL = 'teal',\n\n /**\n * Green color.\n */\n GREEN = 'green',\n\n /**\n * Gray color.\n */\n GRAY = 'gray',\n\n /**\n * Cool gray color.\n */\n 'COOL-GRAY' = 'cool-gray',\n\n /**\n * Warn gray color.\n */\n 'WARM-GRAY' = 'warm-gray',\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/tag/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,OAAO,CAAC","file":"index.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2021, 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 './tag';\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/tag/tag.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAOvC,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAI5C,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAE9B;;;;;GAKG;AACH,cACM,MAAO,SAAQ,WAAyC;IAE5D,SAAS,CAAC,WAAW,EAAG,iBAAiB,CAAC;IAE1C;;;;OAIG;IACH,OAAO,CAAC,iBAAiB;IAIzB;;;;OAIG;IAGH,OAAO,CAAC,YAAY,CA+BlB;IAEF;;OAEG;IAEH,KAAK,SAAkB;IAEvB;;OAEG;IAEH,QAAQ,UAAS;IAGjB,aAAa,UAAS;IAEtB;;OAEG;IAEH,MAAM,UAAS;IAEf;;OAEG;IAEH,IAAI,UAAQ;IAEZ;;OAEG;IAEH,IAAI,WAAmB;IAEvB;;OAEG;IAEH,IAAI,WAAiB;IAErB,MAAM;IA4BN;;;OAGG;IACH,MAAM,KAAK,gBAAgB,WAE1B;IAED;;OAEG;IACH,MAAM,KAAK,UAAU,WAEpB;IAED,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,MAAM,CAAC","file":"tag.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 Close16 from '@carbon/icons/lib/close/16';\nimport { prefix } from '../../globals/settings';\nimport FocusMixin from '../../globals/mixins/focus';\nimport HostListener from '../../globals/decorators/host-listener';\nimport HostListenerMixin from '../../globals/mixins/host-listener';\nimport { TAG_SIZE, TAG_TYPE } from './defs';\nimport styles from './tag.scss';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\nexport { TAG_SIZE, TAG_TYPE };\n\n/**\n * Tag.\n *\n * @fires cds-tag-beingclosed - The custom event fired as the element is being closed\n * @fires cds-tag-closed - The custom event fired after the element has been closed\n */\n@customElement(`${prefix}-tag`)\nclass CDSTag extends HostListenerMixin(FocusMixin(LitElement)) {\n @query('button')\n protected _buttonNode!: HTMLButtonElement;\n\n /**\n * Handler for @slotchange, will only be ran if user sets an element under the \"icon\" slot.\n *\n * @private\n */\n private _handleSlotChange() {\n this.hasCustomIcon = true;\n }\n\n /**\n * Handles `click` event on this element.\n *\n * @param event The event.\n */\n @HostListener('shadowRoot:click')\n // @ts-ignore: The decorator refers to this method but TS thinks this method is not referred to\n private _handleClick = (event: MouseEvent) => {\n if (event.composedPath().indexOf(this._buttonNode!) >= 0) {\n if (this.disabled) {\n event.stopPropagation();\n } else if (this.open) {\n const init = {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail: {\n triggeredBy: event.target,\n },\n };\n if (\n this.dispatchEvent(\n new CustomEvent(\n (this.constructor as typeof CDSTag).eventBeforeClose,\n init\n )\n )\n ) {\n this.open = false;\n this.dispatchEvent(\n new CustomEvent(\n (this.constructor as typeof CDSTag).eventClose,\n init\n )\n );\n }\n }\n }\n };\n\n /**\n * Text to show on filter tag \"clear\" buttons. Corresponds to the attribute with the same name\n */\n @property({ type: String, reflect: true })\n title = 'Clear filter';\n\n /**\n * `true` if the tag should be disabled\n */\n @property({ type: Boolean, reflect: true })\n disabled = false;\n\n @property({ type: Boolean })\n hasCustomIcon = false;\n\n /**\n * Determine if is a filter/chip\n */\n @property({ type: Boolean, reflect: true })\n filter = false;\n\n /**\n * `true` if the tag should be open.\n */\n @property({ type: Boolean, reflect: true })\n open = true;\n\n /**\n * The size of the tag.\n */\n @property({ reflect: true })\n size = TAG_SIZE.MEDIUM;\n\n /**\n * The type of the tag.\n */\n @property({ reflect: true })\n type = TAG_TYPE.GRAY;\n\n render() {\n const {\n disabled,\n _handleSlotChange: handleSlotChange,\n hasCustomIcon,\n filter,\n title,\n } = this;\n return html`\n <slot></slot>\n\n ${filter\n ? html`\n <button class=\"${prefix}--tag__close-icon\" ?disabled=${disabled}>\n <slot\n name=\"icon\"\n aria-label=\"${title}\"\n @slotchange=${handleSlotChange}>\n ${hasCustomIcon\n ? html``\n : html`${Close16({ 'aria-label': title })}`}\n </slot>\n </button>\n `\n : ``}\n `;\n }\n\n /**\n * The name of the custom event fired before this tag is being closed upon a user gesture.\n * Cancellation of this event stops the user-initiated action of closing this tag.\n */\n static get eventBeforeClose() {\n return `${prefix}-tag-beingclosed`;\n }\n\n /**\n * The name of the custom event fired after this tag is closed upon a user gesture.\n */\n static get eventClose() {\n return `${prefix}-tag-closed`;\n }\n\n static styles = styles; // `styles` here is a `CSSResult` generated by custom WebPack loader\n}\n\nexport default CDSTag;\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/tag/types.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAElC;;GAEG;AACH,eAAe,QAAQ,CAAC","file":"types.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2020\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 { TAG_TYPE } from './defs';\n\n/**\n * @deprecated Use `defs.ts`\n */\nexport default TAG_TYPE;\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/text-input/defs.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,yBAAyB,IAAI,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAE7F;;GAEG;AACH,oBAAY,UAAU;IACpB;;OAEG;IACH,KAAK,OAAO;IAEZ;;OAEG;IACH,MAAM,OAAO;IAEb;;OAEG;IACH,KAAK,OAAO;IAGZ;;OAEG;IACH,WAAW,OAAO;CACnB;AAED;;GAEG;AACH,oBAAY,uBAAuB;IACjC;;OAEG;IACH,KAAK,UAAU;IAEf;;OAEG;IACH,MAAM,WAAW;IAEjB;;OAEG;IACH,GAAG,QAAQ;CACZ;AAED;;GAEG;AACH,oBAAY,uBAAuB;IACjC;;OAEG;IACH,GAAG,QAAQ;IAEX;;OAEG;IACH,KAAK,UAAU;IAEf;;OAEG;IACH,MAAM,WAAW;IAEjB;;OAEG;IACH,IAAI,SAAS;CACd;AAED;;;;GAIG;AACH,oBAAY,UAAU;IACpB,KAAK,UAAU;IACf,QAAQ,aAAa;IACrB,GAAG,QAAQ;IACX,IAAI,SAAS;IACb,GAAG,QAAQ;CACZ","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\nexport { FORM_ELEMENT_COLOR_SCHEME as INPUT_COLOR_SCHEME } from '../../globals/shared-enums';\n\n/**\n * Input size.\n */\nexport enum INPUT_SIZE {\n /**\n * Small size.\n */\n SMALL = 'sm',\n\n /**\n * Regular size, same as medium size.\n */\n MEDIUM = 'md',\n\n /**\n * Large size.\n */\n LARGE = 'lg',\n\n // TODO: deprecate\n /**\n * Extra large size.\n */\n EXTRA_LARGE = 'xl',\n}\n\n/**\n * Input tooltop alignment\n */\nexport enum INPUT_TOOLTIP_ALIGNMENT {\n /**\n * Small size.\n */\n START = 'start',\n\n /**\n * Regular size, same as medium size.\n */\n CENTER = 'center',\n\n /**\n * Large size.\n */\n END = 'end',\n}\n\n/**\n * Input tooltop direction\n */\nexport enum INPUT_TOOLTIP_DIRECTION {\n /**\n * Small size.\n */\n TOP = 'top',\n\n /**\n * Regular size, same as medium size.\n */\n RIGHT = 'right',\n\n /**\n * Large size.\n */\n BOTTOM = 'bottom',\n\n /**\n * Regular size, same as medium size.\n */\n LEFT = 'left',\n}\n\n/**\n * Supported input types.\n *\n * For this component we only support textual types\n */\nexport enum INPUT_TYPE {\n EMAIL = 'email',\n PASSWORD = 'password',\n TEL = 'tel',\n TEXT = 'text',\n URL = 'url',\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/text-input/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,cAAc,CAAC;AACtB,OAAO,uBAAuB,CAAC","file":"index.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2021, 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 './text-input';\nimport './text-input-skeleton';\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/text-input/text-input-skeleton.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAKvC;;GAEG;AACH,cACM,oBAAqB,SAAQ,UAAU;IAC3C;;OAEG;IAEH,SAAS,UAAS;IAElB,MAAM;IASN,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,oBAAoB,CAAC","file":"text-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, customElement } from 'lit/decorators.js';\nimport { prefix } from '../../globals/settings';\nimport styles from './text-input.scss';\n\n/**\n * Skeleton of number input.\n */\n@customElement(`${prefix}-text-input-skeleton`)\nclass CDSTextInputSkeleton extends LitElement {\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 render() {\n const { hideLabel } = this;\n return html`\n ${!hideLabel &&\n html` <span class=\"${prefix}--label ${prefix}--skeleton\"></span> `}\n <div class=\"${prefix}--text-input ${prefix}--skeleton\"></div>\n `;\n }\n\n static styles = styles;\n}\n\nexport default CDSTextInputSkeleton;\n"]}