@carbon/web-components 2.0.0-beta.0 → 2.0.0-beta.2

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 (2017) hide show
  1. package/custom-elements.json +5992 -3869
  2. package/es/components/breadcrumb/breadcrumb-skeleton.d.ts.map +1 -1
  3. package/es/components/breadcrumb/breadcrumb-skeleton.js.map +1 -1
  4. package/es/components/button/button-set.d.ts +2 -2
  5. package/es/components/button/button-set.d.ts.map +1 -1
  6. package/es/components/button/button-set.js +4 -4
  7. package/es/components/button/button-set.js.map +1 -1
  8. package/es/components/button/button-skeleton.d.ts +3 -3
  9. package/es/components/button/button-skeleton.d.ts.map +1 -1
  10. package/es/components/button/button-skeleton.js +6 -6
  11. package/es/components/button/button-skeleton.js.map +1 -1
  12. package/es/components/button/button.css.js +1 -1
  13. package/es/components/button/button.d.ts +5 -5
  14. package/es/components/button/button.d.ts.map +1 -1
  15. package/es/components/button/button.js +6 -6
  16. package/es/components/button/button.js.map +1 -1
  17. package/es/components/button/button.rtl.css.js +1 -1
  18. package/es/components/button/defs.d.ts +4 -0
  19. package/es/components/button/defs.d.ts.map +1 -1
  20. package/es/components/button/defs.js +1 -0
  21. package/es/components/button/defs.js.map +1 -1
  22. package/es/components/checkbox/checkbox-skeleton.d.ts +19 -0
  23. package/es/components/checkbox/checkbox-skeleton.d.ts.map +1 -0
  24. package/es/components/checkbox/checkbox-skeleton.js +55 -0
  25. package/es/components/checkbox/checkbox-skeleton.js.map +1 -0
  26. package/es/components/checkbox/checkbox.css.js +1 -1
  27. package/es/components/checkbox/checkbox.d.ts +21 -8
  28. package/es/components/checkbox/checkbox.d.ts.map +1 -1
  29. package/es/components/checkbox/checkbox.js +65 -17
  30. package/es/components/checkbox/checkbox.js.map +1 -1
  31. package/es/components/checkbox/checkbox.rtl.css.js +1 -1
  32. package/es/components/checkbox/index.d.ts +2 -1
  33. package/es/components/checkbox/index.d.ts.map +1 -1
  34. package/es/components/checkbox/index.js +2 -1
  35. package/es/components/checkbox/index.js.map +1 -1
  36. package/es/components/code-snippet/code-snippet.d.ts +0 -8
  37. package/es/components/code-snippet/code-snippet.d.ts.map +1 -1
  38. package/es/components/code-snippet/code-snippet.js +20 -56
  39. package/es/components/code-snippet/code-snippet.js.map +1 -1
  40. package/es/components/combo-box/combo-box-item.d.ts +3 -3
  41. package/es/components/combo-box/combo-box-item.d.ts.map +1 -1
  42. package/es/components/combo-box/combo-box-item.js +6 -6
  43. package/es/components/combo-box/combo-box-item.js.map +1 -1
  44. package/es/components/combo-box/combo-box.css.js +1 -1
  45. package/es/components/combo-box/combo-box.d.ts +11 -11
  46. package/es/components/combo-box/combo-box.d.ts.map +1 -1
  47. package/es/components/combo-box/combo-box.js +40 -19
  48. package/es/components/combo-box/combo-box.js.map +1 -1
  49. package/es/components/combo-box/combo-box.rtl.css.js +1 -1
  50. package/es/components/content-switcher/content-switcher.css.js +1 -1
  51. package/es/components/content-switcher/content-switcher.rtl.css.js +1 -1
  52. package/es/components/copy/copy.d.ts +49 -0
  53. package/es/components/copy/copy.d.ts.map +1 -0
  54. package/es/components/copy/copy.js +183 -0
  55. package/es/components/copy/copy.js.map +1 -0
  56. package/es/components/copy-button/copy-button.css.js +1 -1
  57. package/es/components/copy-button/copy-button.d.ts +8 -53
  58. package/es/components/copy-button/copy-button.d.ts.map +1 -1
  59. package/es/components/copy-button/copy-button.js +22 -150
  60. package/es/components/copy-button/copy-button.js.map +1 -1
  61. package/es/components/copy-button/copy-button.rtl.css.js +1 -1
  62. package/es/components/data-table/data-table.css.js +1 -1
  63. package/es/components/data-table/data-table.rtl.css.js +1 -1
  64. package/es/components/data-table/table-header-cell.d.ts.map +1 -1
  65. package/es/components/data-table/table-header-cell.js +2 -2
  66. package/es/components/data-table/table-header-cell.js.map +1 -1
  67. package/es/components/data-table/table-toolbar-search.d.ts +3 -3
  68. package/es/components/data-table/table-toolbar-search.d.ts.map +1 -1
  69. package/es/components/data-table/table-toolbar-search.js +3 -3
  70. package/es/components/data-table/table-toolbar-search.js.map +1 -1
  71. package/es/components/date-picker/date-picker-input-skeleton.d.ts +2 -2
  72. package/es/components/date-picker/date-picker-input-skeleton.d.ts.map +1 -1
  73. package/es/components/date-picker/date-picker-input-skeleton.js +4 -4
  74. package/es/components/date-picker/date-picker-input-skeleton.js.map +1 -1
  75. package/es/components/date-picker/date-picker-input.d.ts +38 -352
  76. package/es/components/date-picker/date-picker-input.d.ts.map +1 -1
  77. package/es/components/date-picker/date-picker-input.js +138 -97
  78. package/es/components/date-picker/date-picker-input.js.map +1 -1
  79. package/es/components/date-picker/date-picker.css.js +1 -1
  80. package/es/components/date-picker/date-picker.d.ts +23 -3
  81. package/es/components/date-picker/date-picker.d.ts.map +1 -1
  82. package/es/components/date-picker/date-picker.js +100 -24
  83. package/es/components/date-picker/date-picker.js.map +1 -1
  84. package/es/components/date-picker/date-picker.rtl.css.js +1 -1
  85. package/es/components/date-picker/defs.d.ts +1 -14
  86. package/es/components/date-picker/defs.d.ts.map +1 -1
  87. package/es/components/date-picker/defs.js +1 -10
  88. package/es/components/date-picker/defs.js.map +1 -1
  89. package/es/components/date-picker/fix-events-plugin.d.ts +6 -6
  90. package/es/components/date-picker/fix-events-plugin.d.ts.map +1 -1
  91. package/es/components/date-picker/fix-events-plugin.js +8 -8
  92. package/es/components/date-picker/fix-events-plugin.js.map +1 -1
  93. package/es/components/date-picker/focus-plugin.d.ts +9 -9
  94. package/es/components/date-picker/focus-plugin.d.ts.map +1 -1
  95. package/es/components/date-picker/focus-plugin.js +17 -17
  96. package/es/components/date-picker/focus-plugin.js.map +1 -1
  97. package/es/components/date-picker/shadow-dom-events-plugin.d.ts +2 -2
  98. package/es/components/date-picker/shadow-dom-events-plugin.d.ts.map +1 -1
  99. package/es/components/date-picker/shadow-dom-events-plugin.js +5 -5
  100. package/es/components/date-picker/shadow-dom-events-plugin.js.map +1 -1
  101. package/es/components/date-picker/state-handshake-plugin.d.ts +2 -2
  102. package/es/components/date-picker/state-handshake-plugin.d.ts.map +1 -1
  103. package/es/components/date-picker/state-handshake-plugin.js.map +1 -1
  104. package/es/components/dropdown/defs.d.ts +16 -3
  105. package/es/components/dropdown/defs.d.ts.map +1 -1
  106. package/es/components/dropdown/defs.js +11 -2
  107. package/es/components/dropdown/defs.js.map +1 -1
  108. package/es/components/dropdown/dropdown-item.d.ts +2 -2
  109. package/es/components/dropdown/dropdown-item.d.ts.map +1 -1
  110. package/es/components/dropdown/dropdown-item.js +4 -4
  111. package/es/components/dropdown/dropdown-item.js.map +1 -1
  112. package/es/components/dropdown/dropdown-skeleton.d.ts +2 -2
  113. package/es/components/dropdown/dropdown-skeleton.d.ts.map +1 -1
  114. package/es/components/dropdown/dropdown-skeleton.js +4 -4
  115. package/es/components/dropdown/dropdown-skeleton.js.map +1 -1
  116. package/es/components/dropdown/dropdown.css.js +1 -1
  117. package/es/components/dropdown/dropdown.d.ts +48 -21
  118. package/es/components/dropdown/dropdown.d.ts.map +1 -1
  119. package/es/components/dropdown/dropdown.js +156 -65
  120. package/es/components/dropdown/dropdown.js.map +1 -1
  121. package/es/components/dropdown/dropdown.rtl.css.js +1 -1
  122. package/es/components/file-uploader/defs.d.ts +6 -10
  123. package/es/components/file-uploader/defs.d.ts.map +1 -1
  124. package/es/components/file-uploader/defs.js +3 -4
  125. package/es/components/file-uploader/defs.js.map +1 -1
  126. package/es/components/file-uploader/demo-file-uploader.d.ts +33 -10
  127. package/es/components/file-uploader/demo-file-uploader.d.ts.map +1 -1
  128. package/es/components/file-uploader/demo-file-uploader.js +108 -27
  129. package/es/components/file-uploader/demo-file-uploader.js.map +1 -1
  130. package/es/components/file-uploader/file-uploader-button.d.ts +396 -0
  131. package/es/components/file-uploader/file-uploader-button.d.ts.map +1 -0
  132. package/es/components/file-uploader/file-uploader-button.js +295 -0
  133. package/es/components/file-uploader/file-uploader-button.js.map +1 -0
  134. package/es/components/file-uploader/file-uploader-drop-container.d.ts +389 -0
  135. package/es/components/file-uploader/file-uploader-drop-container.d.ts.map +1 -0
  136. package/es/components/file-uploader/file-uploader-drop-container.js +274 -0
  137. package/es/components/file-uploader/file-uploader-drop-container.js.map +1 -0
  138. package/es/components/file-uploader/file-uploader-item.d.ts +7 -11
  139. package/es/components/file-uploader/file-uploader-item.d.ts.map +1 -1
  140. package/es/components/file-uploader/file-uploader-item.js +35 -45
  141. package/es/components/file-uploader/file-uploader-item.js.map +1 -1
  142. package/es/components/file-uploader/file-uploader-skeleton.d.ts +22 -0
  143. package/es/components/file-uploader/file-uploader-skeleton.d.ts.map +1 -0
  144. package/es/components/file-uploader/file-uploader-skeleton.js +50 -0
  145. package/es/components/file-uploader/file-uploader-skeleton.js.map +1 -0
  146. package/es/components/file-uploader/file-uploader.css.js +1 -1
  147. package/es/components/file-uploader/file-uploader.d.ts +17 -8
  148. package/es/components/file-uploader/file-uploader.d.ts.map +1 -1
  149. package/es/components/file-uploader/file-uploader.js +71 -24
  150. package/es/components/file-uploader/file-uploader.js.map +1 -1
  151. package/es/components/file-uploader/file-uploader.rtl.css.js +1 -1
  152. package/es/components/file-uploader/index.d.ts +4 -2
  153. package/es/components/file-uploader/index.d.ts.map +1 -1
  154. package/es/components/file-uploader/index.js +4 -2
  155. package/es/components/file-uploader/index.js.map +1 -1
  156. package/es/components/icon-button/defs.d.ts +64 -0
  157. package/es/components/icon-button/defs.d.ts.map +1 -0
  158. package/es/components/icon-button/defs.js +34 -0
  159. package/es/components/icon-button/defs.js.map +1 -0
  160. package/es/components/icon-button/icon-button.css.js +12 -0
  161. package/es/components/icon-button/icon-button.d.ts +50 -0
  162. package/es/components/icon-button/icon-button.d.ts.map +1 -0
  163. package/es/components/icon-button/icon-button.js +176 -0
  164. package/es/components/icon-button/icon-button.js.map +1 -0
  165. package/es/components/icon-button/icon-button.rtl.css.js +12 -0
  166. package/es/components/icon-button/index.d.ts +11 -0
  167. package/es/components/icon-button/index.d.ts.map +1 -0
  168. package/es/components/icon-button/index.js +11 -0
  169. package/es/components/icon-button/index.js.map +1 -0
  170. package/es/components/inline-loading/inline-loading.d.ts +6 -2
  171. package/es/components/inline-loading/inline-loading.d.ts.map +1 -1
  172. package/es/components/inline-loading/inline-loading.js +20 -5
  173. package/es/components/inline-loading/inline-loading.js.map +1 -1
  174. package/es/components/layer/layer.css.js +1 -1
  175. package/es/components/layer/layer.rtl.css.js +1 -1
  176. package/es/components/list/list.css.js +1 -1
  177. package/es/components/list/list.rtl.css.js +1 -1
  178. package/es/components/list/ordered-list.d.ts +3 -3
  179. package/es/components/list/ordered-list.d.ts.map +1 -1
  180. package/es/components/list/ordered-list.js +6 -6
  181. package/es/components/list/ordered-list.js.map +1 -1
  182. package/es/components/list/unordered-list.d.ts +2 -2
  183. package/es/components/list/unordered-list.d.ts.map +1 -1
  184. package/es/components/list/unordered-list.js +5 -5
  185. package/es/components/list/unordered-list.js.map +1 -1
  186. package/es/components/loading/loading.css.js +1 -1
  187. package/es/components/loading/loading.d.ts +2 -2
  188. package/es/components/loading/loading.d.ts.map +1 -1
  189. package/es/components/loading/loading.js +4 -4
  190. package/es/components/loading/loading.js.map +1 -1
  191. package/es/components/loading/loading.rtl.css.js +1 -1
  192. package/es/components/modal/modal-footer-button.d.ts +3 -3
  193. package/es/components/modal/modal-footer-button.d.ts.map +1 -1
  194. package/es/components/modal/modal-footer-button.js +6 -6
  195. package/es/components/modal/modal-footer-button.js.map +1 -1
  196. package/es/components/modal/modal-footer.d.ts.map +1 -1
  197. package/es/components/modal/modal-footer.js +1 -1
  198. package/es/components/modal/modal-footer.js.map +1 -1
  199. package/es/components/modal/modal.css.js +1 -1
  200. package/es/components/modal/modal.d.ts.map +1 -1
  201. package/es/components/modal/modal.js +2 -2
  202. package/es/components/modal/modal.js.map +1 -1
  203. package/es/components/modal/modal.rtl.css.js +1 -1
  204. package/es/components/multi-select/multi-select-item.d.ts +3 -3
  205. package/es/components/multi-select/multi-select-item.d.ts.map +1 -1
  206. package/es/components/multi-select/multi-select-item.js +6 -6
  207. package/es/components/multi-select/multi-select-item.js.map +1 -1
  208. package/es/components/multi-select/multi-select.css.js +1 -1
  209. package/es/components/multi-select/multi-select.d.ts +9 -9
  210. package/es/components/multi-select/multi-select.d.ts.map +1 -1
  211. package/es/components/multi-select/multi-select.js +17 -17
  212. package/es/components/multi-select/multi-select.js.map +1 -1
  213. package/es/components/multi-select/multi-select.rtl.css.js +1 -1
  214. package/es/components/notification/actionable-notification-button.d.ts +21 -0
  215. package/es/components/notification/actionable-notification-button.d.ts.map +1 -0
  216. package/es/components/notification/actionable-notification-button.js +56 -0
  217. package/es/components/notification/actionable-notification-button.js.map +1 -0
  218. package/es/components/notification/actionable-notification.css.js +12 -0
  219. package/es/components/notification/actionable-notification.d.ts +370 -0
  220. package/es/components/notification/actionable-notification.d.ts.map +1 -0
  221. package/es/components/notification/actionable-notification.js +281 -0
  222. package/es/components/notification/actionable-notification.js.map +1 -0
  223. package/es/components/notification/actionable-notification.rtl.css.js +12 -0
  224. package/es/components/notification/defs.d.ts +17 -1
  225. package/es/components/notification/defs.d.ts.map +1 -1
  226. package/es/components/notification/defs.js +3 -0
  227. package/es/components/notification/defs.js.map +1 -1
  228. package/es/components/notification/index.d.ts +2 -0
  229. package/es/components/notification/index.d.ts.map +1 -1
  230. package/es/components/notification/index.js +2 -0
  231. package/es/components/notification/index.js.map +1 -1
  232. package/es/components/notification/inline-notification.css.js +1 -1
  233. package/es/components/notification/inline-notification.d.ts +8 -8
  234. package/es/components/notification/inline-notification.d.ts.map +1 -1
  235. package/es/components/notification/inline-notification.js +23 -18
  236. package/es/components/notification/inline-notification.js.map +1 -1
  237. package/es/components/notification/inline-notification.rtl.css.js +1 -1
  238. package/es/components/notification/toast-notification.css.js +1 -1
  239. package/es/components/notification/toast-notification.d.ts +4 -4
  240. package/es/components/notification/toast-notification.d.ts.map +1 -1
  241. package/es/components/notification/toast-notification.js +7 -7
  242. package/es/components/notification/toast-notification.js.map +1 -1
  243. package/es/components/notification/toast-notification.rtl.css.js +1 -1
  244. package/es/components/number-input/index.d.ts +2 -1
  245. package/es/components/number-input/index.d.ts.map +1 -1
  246. package/es/components/number-input/index.js +2 -1
  247. package/es/components/number-input/index.js.map +1 -1
  248. package/es/components/number-input/number-input-skeleton.d.ts +2 -2
  249. package/es/components/number-input/number-input-skeleton.d.ts.map +1 -1
  250. package/es/components/number-input/number-input-skeleton.js +4 -4
  251. package/es/components/number-input/number-input-skeleton.js.map +1 -1
  252. package/es/components/number-input/number-input.css.js +1 -1
  253. package/es/components/number-input/number-input.d.ts +12 -25
  254. package/es/components/number-input/number-input.d.ts.map +1 -1
  255. package/es/components/number-input/number-input.js +85 -106
  256. package/es/components/number-input/number-input.js.map +1 -1
  257. package/es/components/number-input/number-input.rtl.css.js +1 -1
  258. package/es/components/pagination/pagination.css.js +1 -1
  259. package/es/components/pagination/pagination.rtl.css.js +1 -1
  260. package/es/components/popover/defs.d.ts +63 -0
  261. package/es/components/popover/defs.d.ts.map +1 -0
  262. package/es/components/popover/defs.js +28 -0
  263. package/es/components/popover/defs.js.map +1 -0
  264. package/es/components/popover/index.d.ts +12 -0
  265. package/es/components/popover/index.d.ts.map +1 -0
  266. package/es/components/popover/index.js +12 -0
  267. package/es/components/popover/index.js.map +1 -0
  268. package/es/components/popover/popover-content.d.ts +45 -0
  269. package/es/components/popover/popover-content.d.ts.map +1 -0
  270. package/es/components/popover/popover-content.js +141 -0
  271. package/es/components/popover/popover-content.js.map +1 -0
  272. package/es/components/popover/popover.css.js +12 -0
  273. package/es/components/popover/popover.d.ts +54 -0
  274. package/es/components/popover/popover.d.ts.map +1 -0
  275. package/es/components/popover/popover.js +201 -0
  276. package/es/components/popover/popover.js.map +1 -0
  277. package/es/components/popover/popover.rtl.css.js +12 -0
  278. package/es/components/progress-bar/defs.d.ts +57 -0
  279. package/es/components/progress-bar/defs.d.ts.map +1 -0
  280. package/es/components/progress-bar/defs.js +38 -0
  281. package/es/components/progress-bar/defs.js.map +1 -0
  282. package/es/components/progress-bar/index.d.ts +11 -0
  283. package/es/components/progress-bar/index.d.ts.map +1 -0
  284. package/es/components/progress-bar/index.js +11 -0
  285. package/es/components/progress-bar/index.js.map +1 -0
  286. package/es/components/progress-bar/progress-bar.css.js +12 -0
  287. package/es/components/progress-bar/progress-bar.d.ts +57 -0
  288. package/es/components/progress-bar/progress-bar.d.ts.map +1 -0
  289. package/es/components/progress-bar/progress-bar.js +260 -0
  290. package/es/components/progress-bar/progress-bar.js.map +1 -0
  291. package/es/components/progress-bar/progress-bar.rtl.css.js +12 -0
  292. package/es/components/progress-indicator/progress-indicator.css.js +1 -1
  293. package/es/components/progress-indicator/progress-indicator.rtl.css.js +1 -1
  294. package/es/components/radio-button/radio-button.css.js +1 -1
  295. package/es/components/radio-button/radio-button.rtl.css.js +1 -1
  296. package/es/components/search/search-skeleton.d.ts +3 -3
  297. package/es/components/search/search-skeleton.d.ts.map +1 -1
  298. package/es/components/search/search-skeleton.js +6 -6
  299. package/es/components/search/search-skeleton.js.map +1 -1
  300. package/es/components/search/search.css.js +1 -1
  301. package/es/components/search/search.d.ts +361 -19
  302. package/es/components/search/search.d.ts.map +1 -1
  303. package/es/components/search/search.js +136 -29
  304. package/es/components/search/search.js.map +1 -1
  305. package/es/components/search/search.rtl.css.js +1 -1
  306. package/es/components/select/index.d.ts +2 -1
  307. package/es/components/select/index.d.ts.map +1 -1
  308. package/es/components/select/index.js +2 -1
  309. package/es/components/select/index.js.map +1 -1
  310. package/es/components/select/select-item-group.d.ts +2 -2
  311. package/es/components/select/select-item-group.d.ts.map +1 -1
  312. package/es/components/select/select-item-group.js +4 -4
  313. package/es/components/select/select-item-group.js.map +1 -1
  314. package/es/components/select/select-item.d.ts +2 -2
  315. package/es/components/select/select-item.d.ts.map +1 -1
  316. package/es/components/select/select-item.js +4 -4
  317. package/es/components/select/select-item.js.map +1 -1
  318. package/es/components/select/select-skeleton.d.ts +23 -0
  319. package/es/components/select/select-skeleton.d.ts.map +1 -0
  320. package/es/components/select/select-skeleton.js +72 -0
  321. package/es/components/select/select-skeleton.js.map +1 -0
  322. package/es/components/select/select.css.js +1 -1
  323. package/es/components/select/select.d.ts +29 -331
  324. package/es/components/select/select.d.ts.map +1 -1
  325. package/es/components/select/select.js +151 -74
  326. package/es/components/select/select.js.map +1 -1
  327. package/es/components/select/select.rtl.css.js +1 -1
  328. package/es/components/skeleton-placeholder/skeleton-placeholder.d.ts +2 -2
  329. package/es/components/skeleton-placeholder/skeleton-placeholder.d.ts.map +1 -1
  330. package/es/components/skeleton-placeholder/skeleton-placeholder.js +4 -4
  331. package/es/components/skeleton-placeholder/skeleton-placeholder.js.map +1 -1
  332. package/es/components/skeleton-text/defs.d.ts +2 -6
  333. package/es/components/skeleton-text/defs.d.ts.map +1 -1
  334. package/es/components/skeleton-text/defs.js +1 -2
  335. package/es/components/skeleton-text/defs.js.map +1 -1
  336. package/es/components/skeleton-text/skeleton-text.css.js +1 -1
  337. package/es/components/skeleton-text/skeleton-text.d.ts +2 -2
  338. package/es/components/skeleton-text/skeleton-text.d.ts.map +1 -1
  339. package/es/components/skeleton-text/skeleton-text.js +4 -4
  340. package/es/components/skeleton-text/skeleton-text.js.map +1 -1
  341. package/es/components/skeleton-text/skeleton-text.rtl.css.js +1 -1
  342. package/es/components/slider/slider-input.d.ts +11 -9
  343. package/es/components/slider/slider-input.d.ts.map +1 -1
  344. package/es/components/slider/slider-input.js +36 -18
  345. package/es/components/slider/slider-input.js.map +1 -1
  346. package/es/components/slider/slider-skeleton.d.ts +2 -2
  347. package/es/components/slider/slider-skeleton.d.ts.map +1 -1
  348. package/es/components/slider/slider-skeleton.js +4 -4
  349. package/es/components/slider/slider-skeleton.js.map +1 -1
  350. package/es/components/slider/slider.css.js +1 -1
  351. package/es/components/slider/slider.d.ts +35 -19
  352. package/es/components/slider/slider.d.ts.map +1 -1
  353. package/es/components/slider/slider.js +119 -54
  354. package/es/components/slider/slider.js.map +1 -1
  355. package/es/components/slider/slider.rtl.css.js +1 -1
  356. package/es/components/structured-list/structured-list-row.d.ts +3 -0
  357. package/es/components/structured-list/structured-list-row.d.ts.map +1 -1
  358. package/es/components/structured-list/structured-list.css.js +1 -1
  359. package/es/components/structured-list/structured-list.rtl.css.js +1 -1
  360. package/es/components/tabs/tabs.css.js +1 -1
  361. package/es/components/tabs/tabs.rtl.css.js +1 -1
  362. package/es/components/text-input/defs.d.ts +44 -0
  363. package/es/components/text-input/defs.d.ts.map +1 -0
  364. package/es/components/text-input/defs.js +36 -0
  365. package/es/components/text-input/defs.js.map +1 -0
  366. package/es/components/text-input/index.d.ts +12 -0
  367. package/es/components/text-input/index.d.ts.map +1 -0
  368. package/es/components/text-input/index.js +12 -0
  369. package/es/components/text-input/index.js.map +1 -0
  370. package/es/components/text-input/text-input-skeleton.d.ts +23 -0
  371. package/es/components/text-input/text-input-skeleton.d.ts.map +1 -0
  372. package/es/components/text-input/text-input-skeleton.js +72 -0
  373. package/es/components/text-input/text-input-skeleton.js.map +1 -0
  374. package/es/components/text-input/text-input.css.js +12 -0
  375. package/es/components/text-input/text-input.d.ts +786 -0
  376. package/es/components/text-input/text-input.d.ts.map +1 -0
  377. package/es/components/text-input/text-input.js +657 -0
  378. package/es/components/text-input/text-input.js.map +1 -0
  379. package/es/components/text-input/text-input.rtl.css.js +12 -0
  380. package/es/components/textarea/textarea-skeleton.d.ts +2 -2
  381. package/es/components/textarea/textarea-skeleton.d.ts.map +1 -1
  382. package/es/components/textarea/textarea-skeleton.js +4 -4
  383. package/es/components/textarea/textarea-skeleton.js.map +1 -1
  384. package/es/components/textarea/textarea.css.js +1 -1
  385. package/es/components/textarea/textarea.d.ts +6 -681
  386. package/es/components/textarea/textarea.d.ts.map +1 -1
  387. package/es/components/textarea/textarea.js +63 -197
  388. package/es/components/textarea/textarea.js.map +1 -1
  389. package/es/components/textarea/textarea.rtl.css.js +1 -1
  390. package/es/components/tile/expandable-tile.d.ts +3 -1
  391. package/es/components/tile/expandable-tile.d.ts.map +1 -1
  392. package/es/components/tile/expandable-tile.js +4 -0
  393. package/es/components/tile/expandable-tile.js.map +1 -1
  394. package/es/components/tile/tile.css.js +1 -1
  395. package/es/components/tile/tile.rtl.css.js +1 -1
  396. package/es/components/toggle-tip/toggletip.d.ts +2 -2
  397. package/es/components/toggle-tip/toggletip.d.ts.map +1 -1
  398. package/es/components/toggle-tip/toggletip.js +2 -2
  399. package/es/components/toggle-tip/toggletip.js.map +1 -1
  400. package/es/components/tooltip/index.d.ts +1 -3
  401. package/es/components/tooltip/index.d.ts.map +1 -1
  402. package/es/components/tooltip/index.js +1 -3
  403. package/es/components/tooltip/index.js.map +1 -1
  404. package/es/components/tooltip/tooltip-content.d.ts +20 -0
  405. package/es/components/tooltip/tooltip-content.d.ts.map +1 -0
  406. package/es/components/tooltip/tooltip-content.js +62 -0
  407. package/es/components/tooltip/tooltip-content.js.map +1 -0
  408. package/es/components/tooltip/tooltip.css.js +1 -1
  409. package/es/components/tooltip/tooltip.d.ts +36 -25
  410. package/es/components/tooltip/tooltip.d.ts.map +1 -1
  411. package/es/components/tooltip/tooltip.js +111 -124
  412. package/es/components/tooltip/tooltip.js.map +1 -1
  413. package/es/components/tooltip/tooltip.rtl.css.js +1 -1
  414. package/es/components/ui-shell/side-nav.d.ts.map +1 -1
  415. package/es/components/ui-shell/side-nav.js +1 -1
  416. package/es/components/ui-shell/side-nav.js.map +1 -1
  417. package/es/components-react/button/button-set.js +1 -1
  418. package/es/components-react/button/button-skeleton.d.ts +2 -2
  419. package/es/components-react/button/button-skeleton.js +1 -1
  420. package/es/components-react/button/button.d.ts +2 -2
  421. package/es/components-react/button/button.js +1 -1
  422. package/es/components-react/checkbox/checkbox-skeleton.d.ts +15 -0
  423. package/es/components-react/checkbox/checkbox-skeleton.js +21 -0
  424. package/es/components-react/checkbox/checkbox.d.ts +2 -2
  425. package/es/components-react/combo-box/combo-box-item.d.ts +2 -2
  426. package/es/components-react/combo-box/combo-box.d.ts +2 -2
  427. package/es/components-react/combo-box/combo-box.js +1 -5
  428. package/es/components-react/copy/copy.d.ts +14 -0
  429. package/es/components-react/copy/copy.js +23 -0
  430. package/es/components-react/copy-button/copy-button.d.ts +2 -2
  431. package/es/components-react/date-picker/date-picker-input-skeleton.d.ts +2 -2
  432. package/es/components-react/date-picker/date-picker-input.d.ts +2 -2
  433. package/es/components-react/date-picker/date-picker-input.js +0 -1
  434. package/es/components-react/date-picker/date-picker.d.ts +2 -2
  435. package/es/components-react/dropdown/dropdown-item.d.ts +2 -2
  436. package/es/components-react/dropdown/dropdown-skeleton.d.ts +2 -2
  437. package/es/components-react/dropdown/dropdown.d.ts +2 -2
  438. package/es/components-react/dropdown/dropdown.js +1 -1
  439. package/es/components-react/file-uploader/demo-file-uploader.d.ts +31 -7
  440. package/es/components-react/file-uploader/demo-file-uploader.js +30 -6
  441. package/es/components-react/file-uploader/file-uploader-button.d.ts +19 -0
  442. package/es/components-react/file-uploader/file-uploader-button.js +28 -0
  443. package/es/components-react/file-uploader/file-uploader-drop-container.d.ts +19 -0
  444. package/es/components-react/file-uploader/file-uploader-drop-container.js +28 -0
  445. package/es/components-react/file-uploader/file-uploader-item.d.ts +2 -2
  446. package/es/components-react/file-uploader/file-uploader-skeleton.d.ts +15 -0
  447. package/es/components-react/file-uploader/file-uploader-skeleton.js +21 -0
  448. package/es/components-react/file-uploader/file-uploader.d.ts +2 -2
  449. package/es/components-react/icon-button/defs.js +9 -0
  450. package/es/components-react/icon-button/icon-button.d.ts +14 -0
  451. package/es/components-react/icon-button/icon-button.js +24 -0
  452. package/es/components-react/inline-loading/inline-loading.d.ts +2 -2
  453. package/es/components-react/list/ordered-list.d.ts +2 -2
  454. package/es/components-react/list/unordered-list.d.ts +2 -2
  455. package/es/components-react/loading/loading.d.ts +2 -2
  456. package/es/components-react/modal/modal-footer-button.d.ts +2 -2
  457. package/es/components-react/multi-select/multi-select-item.d.ts +2 -2
  458. package/es/components-react/multi-select/multi-select.d.ts +2 -2
  459. package/es/components-react/multi-select/multi-select.js +1 -5
  460. package/es/components-react/notification/actionable-notification-button.d.ts +15 -0
  461. package/es/components-react/notification/actionable-notification-button.js +23 -0
  462. package/es/components-react/notification/actionable-notification.d.ts +14 -0
  463. package/es/components-react/notification/actionable-notification.js +23 -0
  464. package/es/components-react/notification/inline-notification.d.ts +2 -2
  465. package/es/components-react/notification/toast-notification.d.ts +2 -2
  466. package/es/components-react/number-input/number-input-skeleton.d.ts +2 -2
  467. package/es/components-react/number-input/number-input.d.ts +3 -3
  468. package/es/components-react/number-input/number-input.js +3 -6
  469. package/es/components-react/popover/defs.js +9 -0
  470. package/es/components-react/popover/index.js +8 -0
  471. package/es/components-react/popover/popover-content.d.ts +15 -0
  472. package/es/components-react/popover/popover-content.js +21 -0
  473. package/es/components-react/popover/popover.d.ts +15 -0
  474. package/es/components-react/popover/popover.js +21 -0
  475. package/es/components-react/progress-bar/defs.js +9 -0
  476. package/es/components-react/progress-bar/index.d.ts +14 -0
  477. package/es/components-react/progress-bar/index.js +8 -0
  478. package/es/components-react/progress-bar/progress-bar.d.ts +15 -0
  479. package/es/components-react/progress-bar/progress-bar.js +26 -0
  480. package/es/components-react/search/search-skeleton.d.ts +2 -2
  481. package/es/components-react/search/search.d.ts +2 -2
  482. package/es/components-react/search/search.js +0 -1
  483. package/es/components-react/select/select-item-group.d.ts +2 -2
  484. package/es/components-react/select/select-item.d.ts +2 -2
  485. package/es/components-react/select/select-skeleton.d.ts +15 -0
  486. package/es/components-react/select/select-skeleton.js +21 -0
  487. package/es/components-react/select/select.d.ts +2 -2
  488. package/es/components-react/select/select.js +0 -1
  489. package/es/components-react/skeleton-placeholder/skeleton-placeholder.d.ts +2 -2
  490. package/es/components-react/skeleton-text/skeleton-text.d.ts +2 -2
  491. package/es/components-react/slider/slider-input.d.ts +2 -2
  492. package/es/components-react/slider/slider-input.js +0 -1
  493. package/es/components-react/slider/slider-skeleton.d.ts +2 -2
  494. package/es/components-react/slider/slider.d.ts +2 -2
  495. package/es/components-react/text-input/defs.d.ts +14 -0
  496. package/es/components-react/text-input/defs.js +9 -0
  497. package/es/components-react/text-input/index.d.ts +14 -0
  498. package/es/components-react/text-input/index.js +8 -0
  499. package/es/components-react/text-input/text-input-skeleton.d.ts +15 -0
  500. package/es/components-react/text-input/text-input-skeleton.js +21 -0
  501. package/es/components-react/text-input/text-input.d.ts +15 -0
  502. package/es/components-react/text-input/text-input.js +22 -0
  503. package/es/components-react/textarea/textarea-skeleton.d.ts +2 -2
  504. package/es/components-react/textarea/textarea.d.ts +4 -5
  505. package/es/components-react/textarea/textarea.js +4 -3
  506. package/es/components-react/tooltip/tooltip-content.d.ts +14 -0
  507. package/es/components-react/tooltip/tooltip-content.js +23 -0
  508. package/es/components-react/tooltip/tooltip.d.ts +4 -5
  509. package/es/components-react/tooltip/tooltip.js +4 -2
  510. package/es/globals/mixins/form.d.ts +1 -1
  511. package/es/globals/mixins/form.d.ts.map +1 -1
  512. package/es/globals/mixins/form.js +2 -2
  513. package/es/globals/mixins/form.js.map +1 -1
  514. package/es/globals/mixins/host-listener.d.ts +1 -1
  515. package/es/globals/mixins/host-listener.d.ts.map +1 -1
  516. package/es/globals/mixins/host-listener.js +2 -2
  517. package/es/globals/mixins/host-listener.js.map +1 -1
  518. package/es/globals/mixins/on.d.ts +11 -0
  519. package/es/globals/mixins/on.d.ts.map +1 -0
  520. package/es/globals/mixins/on.js +17 -0
  521. package/es/globals/mixins/on.js.map +1 -0
  522. package/es/globals/settings.d.ts.map +1 -1
  523. package/es/globals/settings.js +1 -1
  524. package/es/globals/settings.js.map +1 -1
  525. package/es/globals/wrappers/createReactCustomElementType.d.ts +3 -3
  526. package/es/globals/wrappers/createReactCustomElementType.d.ts.map +1 -1
  527. package/es/globals/wrappers/createReactCustomElementType.js +4 -4
  528. package/es/globals/wrappers/createReactCustomElementType.js.map +1 -1
  529. package/es/icons/SLM/16.js +15 -0
  530. package/es/icons/SLM/20.js +15 -0
  531. package/es/icons/SLM/24.js +15 -0
  532. package/es/icons/SLM/32.js +15 -0
  533. package/es/icons/add/16.js +1 -1
  534. package/es/icons/apple--dash/16.js +15 -0
  535. package/es/icons/apple--dash/20.js +15 -0
  536. package/es/icons/apple--dash/24.js +15 -0
  537. package/es/icons/apple--dash/32.js +15 -0
  538. package/es/icons/arrows--vertical/16.js +1 -1
  539. package/es/icons/batch-job/16.js +15 -0
  540. package/es/icons/batch-job/20.js +15 -0
  541. package/es/icons/batch-job/24.js +15 -0
  542. package/es/icons/batch-job/32.js +15 -0
  543. package/es/icons/batch-job--step/16.js +15 -0
  544. package/es/icons/batch-job--step/20.js +15 -0
  545. package/es/icons/batch-job--step/24.js +15 -0
  546. package/es/icons/batch-job--step/32.js +15 -0
  547. package/es/icons/boot-volume/16.js +15 -0
  548. package/es/icons/boot-volume/20.js +15 -0
  549. package/es/icons/boot-volume/24.js +15 -0
  550. package/es/icons/boot-volume/32.js +15 -0
  551. package/es/icons/boot-volume--alt/16.js +15 -0
  552. package/es/icons/boot-volume--alt/20.js +15 -0
  553. package/es/icons/boot-volume--alt/24.js +15 -0
  554. package/es/icons/boot-volume--alt/32.js +15 -0
  555. package/es/icons/bottles--01/16.js +15 -0
  556. package/es/icons/bottles--01/20.js +15 -0
  557. package/es/icons/bottles--01/24.js +15 -0
  558. package/es/icons/bottles--01/32.js +15 -0
  559. package/es/icons/bottles--01--dash/16.js +15 -0
  560. package/es/icons/bottles--01--dash/20.js +15 -0
  561. package/es/icons/bottles--01--dash/24.js +15 -0
  562. package/es/icons/bottles--01--dash/32.js +15 -0
  563. package/es/icons/bottles--02/16.js +15 -0
  564. package/es/icons/bottles--02/20.js +15 -0
  565. package/es/icons/bottles--02/24.js +15 -0
  566. package/es/icons/bottles--02/32.js +15 -0
  567. package/es/icons/bottles--02--dash/16.js +15 -0
  568. package/es/icons/bottles--02--dash/20.js +15 -0
  569. package/es/icons/bottles--02--dash/24.js +15 -0
  570. package/es/icons/bottles--02--dash/32.js +15 -0
  571. package/es/icons/bottles--container/16.js +15 -0
  572. package/es/icons/bottles--container/20.js +15 -0
  573. package/es/icons/bottles--container/24.js +15 -0
  574. package/es/icons/bottles--container/32.js +15 -0
  575. package/es/icons/build-tool/16.js +15 -0
  576. package/es/icons/build-tool/20.js +15 -0
  577. package/es/icons/build-tool/24.js +15 -0
  578. package/es/icons/build-tool/32.js +15 -0
  579. package/es/icons/calendar--add/16.js +15 -0
  580. package/es/icons/calendar--add/20.js +15 -0
  581. package/es/icons/calendar--add/24.js +15 -0
  582. package/es/icons/calendar--add/32.js +15 -0
  583. package/es/icons/calendar--add--alt/16.js +15 -0
  584. package/es/icons/calendar--add--alt/20.js +15 -0
  585. package/es/icons/calendar--add--alt/24.js +15 -0
  586. package/es/icons/calendar--add--alt/32.js +15 -0
  587. package/es/icons/carbon--ui-builder/16.js +15 -0
  588. package/es/icons/carbon--ui-builder/20.js +15 -0
  589. package/es/icons/carbon--ui-builder/24.js +15 -0
  590. package/es/icons/carbon--ui-builder/32.js +15 -0
  591. package/es/icons/caret--down/16.js +1 -1
  592. package/es/icons/caret--up/16.js +1 -1
  593. package/es/icons/catalog--publish/16.js +15 -0
  594. package/es/icons/catalog--publish/20.js +15 -0
  595. package/es/icons/catalog--publish/24.js +15 -0
  596. package/es/icons/catalog--publish/32.js +15 -0
  597. package/es/icons/cics--db2-connection/16.js +15 -0
  598. package/es/icons/cics--db2-connection/20.js +15 -0
  599. package/es/icons/cics--db2-connection/24.js +15 -0
  600. package/es/icons/cics--db2-connection/32.js +15 -0
  601. package/es/icons/cics--program/16.js +15 -0
  602. package/es/icons/cics--program/20.js +15 -0
  603. package/es/icons/cics--program/24.js +15 -0
  604. package/es/icons/cics--program/32.js +15 -0
  605. package/es/icons/cics--sit/16.js +15 -0
  606. package/es/icons/cics--sit/20.js +15 -0
  607. package/es/icons/cics--sit/24.js +15 -0
  608. package/es/icons/cics--sit/32.js +15 -0
  609. package/es/icons/cics--sit-overrides/16.js +15 -0
  610. package/es/icons/cics--sit-overrides/20.js +15 -0
  611. package/es/icons/cics--sit-overrides/24.js +15 -0
  612. package/es/icons/cics--sit-overrides/32.js +15 -0
  613. package/es/icons/cics--transaction-server-zos/16.js +15 -0
  614. package/es/icons/cics--transaction-server-zos/20.js +15 -0
  615. package/es/icons/cics--transaction-server-zos/24.js +15 -0
  616. package/es/icons/cics--transaction-server-zos/32.js +15 -0
  617. package/es/icons/cics-region--alt/16.js +15 -0
  618. package/es/icons/cics-region--alt/20.js +15 -0
  619. package/es/icons/cics-region--alt/24.js +15 -0
  620. package/es/icons/cics-region--alt/32.js +15 -0
  621. package/es/icons/connect--reference/16.js +15 -0
  622. package/es/icons/connect--reference/20.d.ts +17 -0
  623. package/es/icons/connect--reference/20.js +15 -0
  624. package/es/icons/connect--reference/24.d.ts +17 -0
  625. package/es/icons/connect--reference/24.js +15 -0
  626. package/es/icons/connect--reference/32.d.ts +17 -0
  627. package/es/icons/connect--reference/32.js +15 -0
  628. package/es/icons/continuous-deployment/16.d.ts +17 -0
  629. package/es/icons/continuous-deployment/16.js +15 -0
  630. package/es/icons/continuous-deployment/20.d.ts +17 -0
  631. package/es/icons/continuous-deployment/20.js +15 -0
  632. package/es/icons/continuous-deployment/24.d.ts +17 -0
  633. package/es/icons/continuous-deployment/24.js +15 -0
  634. package/es/icons/continuous-deployment/32.d.ts +17 -0
  635. package/es/icons/continuous-deployment/32.js +15 -0
  636. package/es/icons/continuous-integration/16.d.ts +17 -0
  637. package/es/icons/continuous-integration/16.js +15 -0
  638. package/es/icons/continuous-integration/20.d.ts +17 -0
  639. package/es/icons/continuous-integration/20.js +15 -0
  640. package/es/icons/continuous-integration/24.d.ts +17 -0
  641. package/es/icons/continuous-integration/24.js +15 -0
  642. package/es/icons/continuous-integration/32.d.ts +17 -0
  643. package/es/icons/continuous-integration/32.js +15 -0
  644. package/es/icons/data-enrichment/16.js +1 -1
  645. package/es/icons/data-enrichment/20.js +1 -1
  646. package/es/icons/data-enrichment/24.js +1 -1
  647. package/es/icons/data-enrichment/32.js +1 -1
  648. package/es/icons/data-enrichment--add/16.d.ts +17 -0
  649. package/es/icons/data-enrichment--add/16.js +15 -0
  650. package/es/icons/data-enrichment--add/20.d.ts +17 -0
  651. package/es/icons/data-enrichment--add/20.js +15 -0
  652. package/es/icons/data-enrichment--add/24.d.ts +17 -0
  653. package/es/icons/data-enrichment--add/24.js +15 -0
  654. package/es/icons/data-enrichment--add/32.d.ts +17 -0
  655. package/es/icons/data-enrichment--add/32.js +15 -0
  656. package/es/icons/data-quality-definition/16.d.ts +17 -0
  657. package/es/icons/data-quality-definition/16.js +15 -0
  658. package/es/icons/data-quality-definition/20.d.ts +17 -0
  659. package/es/icons/data-quality-definition/20.js +15 -0
  660. package/es/icons/data-quality-definition/24.d.ts +17 -0
  661. package/es/icons/data-quality-definition/24.js +15 -0
  662. package/es/icons/data-quality-definition/32.d.ts +17 -0
  663. package/es/icons/data-quality-definition/32.js +15 -0
  664. package/es/icons/data-volume/16.d.ts +17 -0
  665. package/es/icons/data-volume/16.js +15 -0
  666. package/es/icons/data-volume/20.d.ts +17 -0
  667. package/es/icons/data-volume/20.js +15 -0
  668. package/es/icons/data-volume/24.d.ts +17 -0
  669. package/es/icons/data-volume/24.js +15 -0
  670. package/es/icons/data-volume/32.d.ts +17 -0
  671. package/es/icons/data-volume/32.js +15 -0
  672. package/es/icons/data-volume--alt/16.d.ts +17 -0
  673. package/es/icons/data-volume--alt/16.js +15 -0
  674. package/es/icons/data-volume--alt/20.d.ts +17 -0
  675. package/es/icons/data-volume--alt/20.js +15 -0
  676. package/es/icons/data-volume--alt/24.d.ts +17 -0
  677. package/es/icons/data-volume--alt/24.js +15 -0
  678. package/es/icons/data-volume--alt/32.d.ts +17 -0
  679. package/es/icons/data-volume--alt/32.js +15 -0
  680. package/es/icons/db2--buffer-pool/16.d.ts +17 -0
  681. package/es/icons/db2--buffer-pool/16.js +15 -0
  682. package/es/icons/db2--buffer-pool/20.d.ts +17 -0
  683. package/es/icons/db2--buffer-pool/20.js +15 -0
  684. package/es/icons/db2--buffer-pool/24.d.ts +17 -0
  685. package/es/icons/db2--buffer-pool/24.js +15 -0
  686. package/es/icons/db2--buffer-pool/32.d.ts +17 -0
  687. package/es/icons/db2--buffer-pool/32.js +15 -0
  688. package/es/icons/db2--data-sharing-group/16.d.ts +17 -0
  689. package/es/icons/db2--data-sharing-group/16.js +15 -0
  690. package/es/icons/db2--data-sharing-group/20.d.ts +17 -0
  691. package/es/icons/db2--data-sharing-group/20.js +15 -0
  692. package/es/icons/db2--data-sharing-group/24.d.ts +17 -0
  693. package/es/icons/db2--data-sharing-group/24.js +15 -0
  694. package/es/icons/db2--data-sharing-group/32.d.ts +17 -0
  695. package/es/icons/db2--data-sharing-group/32.js +15 -0
  696. package/es/icons/db2--database/16.d.ts +17 -0
  697. package/es/icons/db2--database/16.js +15 -0
  698. package/es/icons/db2--database/20.d.ts +17 -0
  699. package/es/icons/db2--database/20.js +15 -0
  700. package/es/icons/db2--database/24.d.ts +17 -0
  701. package/es/icons/db2--database/24.js +15 -0
  702. package/es/icons/db2--database/32.d.ts +17 -0
  703. package/es/icons/db2--database/32.js +15 -0
  704. package/es/icons/diamond-fill/index.d.ts +17 -0
  705. package/es/icons/document--multiple-01/16.d.ts +17 -0
  706. package/es/icons/document--multiple-01/16.js +15 -0
  707. package/es/icons/document--multiple-01/20.d.ts +17 -0
  708. package/es/icons/document--multiple-01/20.js +15 -0
  709. package/es/icons/document--multiple-01/24.d.ts +17 -0
  710. package/es/icons/document--multiple-01/24.js +15 -0
  711. package/es/icons/document--multiple-01/32.d.ts +17 -0
  712. package/es/icons/document--multiple-01/32.js +15 -0
  713. package/es/icons/document--multiple-02/16.d.ts +17 -0
  714. package/es/icons/document--multiple-02/16.js +15 -0
  715. package/es/icons/document--multiple-02/20.d.ts +17 -0
  716. package/es/icons/document--multiple-02/20.js +15 -0
  717. package/es/icons/document--multiple-02/24.d.ts +17 -0
  718. package/es/icons/document--multiple-02/24.js +15 -0
  719. package/es/icons/document--multiple-02/32.d.ts +17 -0
  720. package/es/icons/document--multiple-02/32.js +15 -0
  721. package/es/icons/drink--01/16.d.ts +17 -0
  722. package/es/icons/drink--01/16.js +15 -0
  723. package/es/icons/drink--01/20.d.ts +17 -0
  724. package/es/icons/drink--01/20.js +15 -0
  725. package/es/icons/drink--01/24.d.ts +17 -0
  726. package/es/icons/drink--01/24.js +15 -0
  727. package/es/icons/drink--01/32.d.ts +17 -0
  728. package/es/icons/drink--01/32.js +15 -0
  729. package/es/icons/drink--02/16.d.ts +17 -0
  730. package/es/icons/drink--02/16.js +15 -0
  731. package/es/icons/drink--02/20.d.ts +17 -0
  732. package/es/icons/drink--02/20.js +15 -0
  733. package/es/icons/drink--02/24.d.ts +17 -0
  734. package/es/icons/drink--02/24.js +15 -0
  735. package/es/icons/drink--02/32.d.ts +17 -0
  736. package/es/icons/drink--02/32.js +15 -0
  737. package/es/icons/executable-program/16.d.ts +17 -0
  738. package/es/icons/executable-program/16.js +15 -0
  739. package/es/icons/executable-program/20.d.ts +17 -0
  740. package/es/icons/executable-program/20.js +15 -0
  741. package/es/icons/executable-program/24.d.ts +17 -0
  742. package/es/icons/executable-program/24.js +15 -0
  743. package/es/icons/executable-program/32.d.ts +17 -0
  744. package/es/icons/executable-program/32.js +15 -0
  745. package/es/icons/ibm--bluepay/16.d.ts +17 -0
  746. package/es/icons/ibm--bluepay/16.js +15 -0
  747. package/es/icons/ibm--bluepay/20.d.ts +17 -0
  748. package/es/icons/ibm--bluepay/20.js +15 -0
  749. package/es/icons/ibm--bluepay/24.d.ts +17 -0
  750. package/es/icons/ibm--bluepay/24.js +15 -0
  751. package/es/icons/ibm--bluepay/32.d.ts +17 -0
  752. package/es/icons/ibm--bluepay/32.js +15 -0
  753. package/es/icons/ibm--content-services/16.d.ts +17 -0
  754. package/es/icons/ibm--content-services/16.js +15 -0
  755. package/es/icons/ibm--content-services/20.d.ts +17 -0
  756. package/es/icons/ibm--content-services/20.js +15 -0
  757. package/es/icons/ibm--content-services/24.d.ts +17 -0
  758. package/es/icons/ibm--content-services/24.js +15 -0
  759. package/es/icons/ibm--content-services/32.d.ts +17 -0
  760. package/es/icons/ibm--content-services/32.js +15 -0
  761. package/es/icons/ibm--datastage/16.d.ts +17 -0
  762. package/es/icons/ibm--datastage/16.js +15 -0
  763. package/es/icons/ibm--datastage/20.d.ts +17 -0
  764. package/es/icons/ibm--datastage/20.js +15 -0
  765. package/es/icons/ibm--datastage/24.d.ts +17 -0
  766. package/es/icons/ibm--datastage/24.js +15 -0
  767. package/es/icons/ibm--datastage/32.d.ts +17 -0
  768. package/es/icons/ibm--datastage/32.js +15 -0
  769. package/es/icons/ibm--db2/16.d.ts +17 -0
  770. package/es/icons/ibm--db2/16.js +15 -0
  771. package/es/icons/ibm--db2/20.d.ts +17 -0
  772. package/es/icons/ibm--db2/20.js +15 -0
  773. package/es/icons/ibm--db2/24.d.ts +17 -0
  774. package/es/icons/ibm--db2/24.js +15 -0
  775. package/es/icons/ibm--db2/32.d.ts +17 -0
  776. package/es/icons/ibm--db2/32.js +15 -0
  777. package/es/icons/ibm--db2--alt/16.d.ts +17 -0
  778. package/es/icons/ibm--db2--alt/16.js +15 -0
  779. package/es/icons/ibm--db2--alt/20.d.ts +17 -0
  780. package/es/icons/ibm--db2--alt/20.js +15 -0
  781. package/es/icons/ibm--db2--alt/24.d.ts +17 -0
  782. package/es/icons/ibm--db2--alt/24.js +15 -0
  783. package/es/icons/ibm--db2--alt/32.d.ts +17 -0
  784. package/es/icons/ibm--db2--alt/32.js +15 -0
  785. package/es/icons/ibm--mq/16.d.ts +17 -0
  786. package/es/icons/ibm--mq/16.js +15 -0
  787. package/es/icons/ibm--mq/20.d.ts +17 -0
  788. package/es/icons/ibm--mq/20.js +15 -0
  789. package/es/icons/ibm--mq/24.d.ts +17 -0
  790. package/es/icons/ibm--mq/24.js +15 -0
  791. package/es/icons/ibm--mq/32.d.ts +17 -0
  792. package/es/icons/ibm--mq/32.js +15 -0
  793. package/es/icons/ibm--open-enterprise-languages/16.d.ts +17 -0
  794. package/es/icons/ibm--open-enterprise-languages/16.js +15 -0
  795. package/es/icons/ibm--open-enterprise-languages/20.d.ts +17 -0
  796. package/es/icons/ibm--open-enterprise-languages/20.js +15 -0
  797. package/es/icons/ibm--open-enterprise-languages/24.d.ts +17 -0
  798. package/es/icons/ibm--open-enterprise-languages/24.js +15 -0
  799. package/es/icons/ibm--open-enterprise-languages/32.d.ts +17 -0
  800. package/es/icons/ibm--open-enterprise-languages/32.js +15 -0
  801. package/es/icons/ibm--power-vs/16.d.ts +17 -0
  802. package/es/icons/ibm--power-vs/16.js +15 -0
  803. package/es/icons/ibm--power-vs/20.d.ts +17 -0
  804. package/es/icons/ibm--power-vs/20.js +15 -0
  805. package/es/icons/ibm--power-vs/24.d.ts +17 -0
  806. package/es/icons/ibm--power-vs/24.js +15 -0
  807. package/es/icons/ibm--power-vs/32.d.ts +17 -0
  808. package/es/icons/ibm--power-vs/32.js +15 -0
  809. package/es/icons/ibm--process-mining/16.d.ts +17 -0
  810. package/es/icons/ibm--process-mining/16.js +15 -0
  811. package/es/icons/ibm--process-mining/20.d.ts +17 -0
  812. package/es/icons/ibm--process-mining/20.js +15 -0
  813. package/es/icons/ibm--process-mining/24.d.ts +17 -0
  814. package/es/icons/ibm--process-mining/24.js +15 -0
  815. package/es/icons/ibm--process-mining/32.d.ts +17 -0
  816. package/es/icons/ibm--process-mining/32.js +15 -0
  817. package/es/icons/ibm--telehealth/16.d.ts +17 -0
  818. package/es/icons/ibm--telehealth/16.js +15 -0
  819. package/es/icons/ibm--telehealth/20.d.ts +17 -0
  820. package/es/icons/ibm--telehealth/20.js +15 -0
  821. package/es/icons/ibm--telehealth/24.d.ts +17 -0
  822. package/es/icons/ibm--telehealth/24.js +15 -0
  823. package/es/icons/ibm--telehealth/32.d.ts +17 -0
  824. package/es/icons/ibm--telehealth/32.js +15 -0
  825. package/es/icons/ibm--tenet/16.d.ts +17 -0
  826. package/es/icons/ibm--tenet/16.js +15 -0
  827. package/es/icons/ibm--tenet/20.d.ts +17 -0
  828. package/es/icons/ibm--tenet/20.js +15 -0
  829. package/es/icons/ibm--tenet/24.d.ts +17 -0
  830. package/es/icons/ibm--tenet/24.js +15 -0
  831. package/es/icons/ibm--tenet/32.d.ts +17 -0
  832. package/es/icons/ibm--tenet/32.js +15 -0
  833. package/es/icons/ibm--toolchain/16.d.ts +17 -0
  834. package/es/icons/ibm--toolchain/16.js +15 -0
  835. package/es/icons/ibm--toolchain/20.d.ts +17 -0
  836. package/es/icons/ibm--toolchain/20.js +15 -0
  837. package/es/icons/ibm--toolchain/24.d.ts +17 -0
  838. package/es/icons/ibm--toolchain/24.js +15 -0
  839. package/es/icons/ibm--toolchain/32.d.ts +17 -0
  840. package/es/icons/ibm--toolchain/32.js +15 -0
  841. package/es/icons/ibm-cloud--HSM/16.d.ts +17 -0
  842. package/es/icons/ibm-cloud--HSM/16.js +15 -0
  843. package/es/icons/ibm-cloud--HSM/20.d.ts +17 -0
  844. package/es/icons/ibm-cloud--HSM/20.js +15 -0
  845. package/es/icons/ibm-cloud--HSM/24.d.ts +17 -0
  846. package/es/icons/ibm-cloud--HSM/24.js +15 -0
  847. package/es/icons/ibm-cloud--HSM/32.d.ts +17 -0
  848. package/es/icons/ibm-cloud--HSM/32.js +15 -0
  849. package/es/icons/ibm-cloud--app-id/16.d.ts +17 -0
  850. package/es/icons/ibm-cloud--app-id/16.js +15 -0
  851. package/es/icons/ibm-cloud--app-id/20.d.ts +17 -0
  852. package/es/icons/ibm-cloud--app-id/20.js +15 -0
  853. package/es/icons/ibm-cloud--app-id/24.d.ts +17 -0
  854. package/es/icons/ibm-cloud--app-id/24.js +15 -0
  855. package/es/icons/ibm-cloud--app-id/32.d.ts +17 -0
  856. package/es/icons/ibm-cloud--app-id/32.js +15 -0
  857. package/es/icons/ibm-cloud--citrix-daas/16.d.ts +17 -0
  858. package/es/icons/ibm-cloud--citrix-daas/16.js +15 -0
  859. package/es/icons/ibm-cloud--citrix-daas/20.d.ts +17 -0
  860. package/es/icons/ibm-cloud--citrix-daas/20.js +15 -0
  861. package/es/icons/ibm-cloud--citrix-daas/24.d.ts +17 -0
  862. package/es/icons/ibm-cloud--citrix-daas/24.js +15 -0
  863. package/es/icons/ibm-cloud--citrix-daas/32.d.ts +17 -0
  864. package/es/icons/ibm-cloud--citrix-daas/32.js +15 -0
  865. package/es/icons/ibm-cloud--continuous-delivery/16.d.ts +17 -0
  866. package/es/icons/ibm-cloud--continuous-delivery/16.js +15 -0
  867. package/es/icons/ibm-cloud--continuous-delivery/20.d.ts +17 -0
  868. package/es/icons/ibm-cloud--continuous-delivery/20.js +15 -0
  869. package/es/icons/ibm-cloud--continuous-delivery/24.d.ts +17 -0
  870. package/es/icons/ibm-cloud--continuous-delivery/24.js +15 -0
  871. package/es/icons/ibm-cloud--continuous-delivery/32.d.ts +17 -0
  872. package/es/icons/ibm-cloud--continuous-delivery/32.js +15 -0
  873. package/es/icons/ibm-cloud--direct-link-1--connect/16.d.ts +17 -0
  874. package/es/icons/ibm-cloud--direct-link-1--connect/16.js +15 -0
  875. package/es/icons/ibm-cloud--direct-link-1--connect/20.d.ts +17 -0
  876. package/es/icons/ibm-cloud--direct-link-1--connect/20.js +15 -0
  877. package/es/icons/ibm-cloud--direct-link-1--connect/24.d.ts +17 -0
  878. package/es/icons/ibm-cloud--direct-link-1--connect/24.js +15 -0
  879. package/es/icons/ibm-cloud--direct-link-1--connect/32.d.ts +17 -0
  880. package/es/icons/ibm-cloud--direct-link-1--connect/32.js +15 -0
  881. package/es/icons/ibm-cloud--direct-link-1--dedicated/16.d.ts +17 -0
  882. package/es/icons/ibm-cloud--direct-link-1--dedicated/16.js +15 -0
  883. package/es/icons/ibm-cloud--direct-link-1--dedicated/20.d.ts +17 -0
  884. package/es/icons/ibm-cloud--direct-link-1--dedicated/20.js +15 -0
  885. package/es/icons/ibm-cloud--direct-link-1--dedicated/24.d.ts +17 -0
  886. package/es/icons/ibm-cloud--direct-link-1--dedicated/24.js +15 -0
  887. package/es/icons/ibm-cloud--direct-link-1--dedicated/32.d.ts +17 -0
  888. package/es/icons/ibm-cloud--direct-link-1--dedicated/32.js +15 -0
  889. package/es/icons/ibm-cloud--direct-link-1--dedicated-hosting/16.d.ts +17 -0
  890. package/es/icons/ibm-cloud--direct-link-1--dedicated-hosting/16.js +15 -0
  891. package/es/icons/ibm-cloud--direct-link-1--dedicated-hosting/20.d.ts +17 -0
  892. package/es/icons/ibm-cloud--direct-link-1--dedicated-hosting/20.js +15 -0
  893. package/es/icons/ibm-cloud--direct-link-1--dedicated-hosting/24.d.ts +17 -0
  894. package/es/icons/ibm-cloud--direct-link-1--dedicated-hosting/24.js +15 -0
  895. package/es/icons/ibm-cloud--direct-link-1--dedicated-hosting/32.d.ts +17 -0
  896. package/es/icons/ibm-cloud--direct-link-1--dedicated-hosting/32.js +15 -0
  897. package/es/icons/ibm-cloud--direct-link-1--exchange/16.d.ts +17 -0
  898. package/es/icons/ibm-cloud--direct-link-1--exchange/16.js +15 -0
  899. package/es/icons/ibm-cloud--direct-link-1--exchange/20.d.ts +17 -0
  900. package/es/icons/ibm-cloud--direct-link-1--exchange/20.js +15 -0
  901. package/es/icons/ibm-cloud--direct-link-1--exchange/24.d.ts +17 -0
  902. package/es/icons/ibm-cloud--direct-link-1--exchange/24.js +15 -0
  903. package/es/icons/ibm-cloud--direct-link-1--exchange/32.d.ts +17 -0
  904. package/es/icons/ibm-cloud--direct-link-1--exchange/32.js +15 -0
  905. package/es/icons/ibm-cloud--direct-link-2--connect/16.d.ts +17 -0
  906. package/es/icons/ibm-cloud--direct-link-2--connect/16.js +15 -0
  907. package/es/icons/ibm-cloud--direct-link-2--connect/20.d.ts +17 -0
  908. package/es/icons/ibm-cloud--direct-link-2--connect/20.js +15 -0
  909. package/es/icons/ibm-cloud--direct-link-2--connect/24.d.ts +17 -0
  910. package/es/icons/ibm-cloud--direct-link-2--connect/24.js +15 -0
  911. package/es/icons/ibm-cloud--direct-link-2--connect/32.d.ts +17 -0
  912. package/es/icons/ibm-cloud--direct-link-2--connect/32.js +15 -0
  913. package/es/icons/ibm-cloud--direct-link-2--dedicated/16.d.ts +17 -0
  914. package/es/icons/ibm-cloud--direct-link-2--dedicated/16.js +15 -0
  915. package/es/icons/ibm-cloud--direct-link-2--dedicated/20.d.ts +17 -0
  916. package/es/icons/ibm-cloud--direct-link-2--dedicated/20.js +15 -0
  917. package/es/icons/ibm-cloud--direct-link-2--dedicated/24.d.ts +17 -0
  918. package/es/icons/ibm-cloud--direct-link-2--dedicated/24.js +15 -0
  919. package/es/icons/ibm-cloud--direct-link-2--dedicated/32.d.ts +17 -0
  920. package/es/icons/ibm-cloud--direct-link-2--dedicated/32.js +15 -0
  921. package/es/icons/ibm-cloud--direct-link-2--dedicated-hosting/16.d.ts +17 -0
  922. package/es/icons/ibm-cloud--direct-link-2--dedicated-hosting/16.js +15 -0
  923. package/es/icons/ibm-cloud--direct-link-2--dedicated-hosting/20.d.ts +17 -0
  924. package/es/icons/ibm-cloud--direct-link-2--dedicated-hosting/20.js +15 -0
  925. package/es/icons/ibm-cloud--direct-link-2--dedicated-hosting/24.d.ts +17 -0
  926. package/es/icons/ibm-cloud--direct-link-2--dedicated-hosting/24.js +15 -0
  927. package/es/icons/ibm-cloud--direct-link-2--dedicated-hosting/32.d.ts +17 -0
  928. package/es/icons/ibm-cloud--direct-link-2--dedicated-hosting/32.js +15 -0
  929. package/es/icons/ibm-cloud--event-notification/16.d.ts +17 -0
  930. package/es/icons/ibm-cloud--event-notification/16.js +15 -0
  931. package/es/icons/ibm-cloud--event-notification/20.d.ts +17 -0
  932. package/es/icons/ibm-cloud--event-notification/20.js +15 -0
  933. package/es/icons/ibm-cloud--event-notification/24.d.ts +17 -0
  934. package/es/icons/ibm-cloud--event-notification/24.js +15 -0
  935. package/es/icons/ibm-cloud--event-notification/32.d.ts +17 -0
  936. package/es/icons/ibm-cloud--event-notification/32.js +15 -0
  937. package/es/icons/ibm-cloud--event-streams/16.d.ts +17 -0
  938. package/es/icons/ibm-cloud--event-streams/16.js +15 -0
  939. package/es/icons/ibm-cloud--event-streams/20.d.ts +17 -0
  940. package/es/icons/ibm-cloud--event-streams/20.js +15 -0
  941. package/es/icons/ibm-cloud--event-streams/24.d.ts +17 -0
  942. package/es/icons/ibm-cloud--event-streams/24.js +15 -0
  943. package/es/icons/ibm-cloud--event-streams/32.d.ts +17 -0
  944. package/es/icons/ibm-cloud--event-streams/32.js +15 -0
  945. package/es/icons/ibm-cloud--for-education/16.d.ts +17 -0
  946. package/es/icons/ibm-cloud--for-education/16.js +15 -0
  947. package/es/icons/ibm-cloud--for-education/20.d.ts +17 -0
  948. package/es/icons/ibm-cloud--for-education/20.js +15 -0
  949. package/es/icons/ibm-cloud--for-education/24.d.ts +17 -0
  950. package/es/icons/ibm-cloud--for-education/24.js +15 -0
  951. package/es/icons/ibm-cloud--for-education/32.d.ts +17 -0
  952. package/es/icons/ibm-cloud--for-education/32.js +15 -0
  953. package/es/icons/ibm-cloud--hyper-protect-crypto-services/16.d.ts +17 -0
  954. package/es/icons/ibm-cloud--hyper-protect-crypto-services/16.js +15 -0
  955. package/es/icons/ibm-cloud--hyper-protect-crypto-services/20.d.ts +17 -0
  956. package/es/icons/ibm-cloud--hyper-protect-crypto-services/20.js +15 -0
  957. package/es/icons/ibm-cloud--hyper-protect-crypto-services/24.d.ts +17 -0
  958. package/es/icons/ibm-cloud--hyper-protect-crypto-services/24.js +15 -0
  959. package/es/icons/ibm-cloud--hyper-protect-crypto-services/32.d.ts +17 -0
  960. package/es/icons/ibm-cloud--hyper-protect-crypto-services/32.js +15 -0
  961. package/es/icons/ibm-cloud--hyper-protect-dbaas/16.d.ts +17 -0
  962. package/es/icons/ibm-cloud--hyper-protect-dbaas/16.js +15 -0
  963. package/es/icons/ibm-cloud--hyper-protect-dbaas/20.d.ts +17 -0
  964. package/es/icons/ibm-cloud--hyper-protect-dbaas/20.js +15 -0
  965. package/es/icons/ibm-cloud--hyper-protect-dbaas/24.d.ts +17 -0
  966. package/es/icons/ibm-cloud--hyper-protect-dbaas/24.js +15 -0
  967. package/es/icons/ibm-cloud--hyper-protect-dbaas/32.d.ts +17 -0
  968. package/es/icons/ibm-cloud--hyper-protect-dbaas/32.js +15 -0
  969. package/es/icons/ibm-cloud--hyper-protect-vs/16.d.ts +17 -0
  970. package/es/icons/ibm-cloud--hyper-protect-vs/16.js +15 -0
  971. package/es/icons/ibm-cloud--hyper-protect-vs/20.d.ts +17 -0
  972. package/es/icons/ibm-cloud--hyper-protect-vs/20.js +15 -0
  973. package/es/icons/ibm-cloud--hyper-protect-vs/24.d.ts +17 -0
  974. package/es/icons/ibm-cloud--hyper-protect-vs/24.js +15 -0
  975. package/es/icons/ibm-cloud--hyper-protect-vs/32.d.ts +17 -0
  976. package/es/icons/ibm-cloud--hyper-protect-vs/32.js +15 -0
  977. package/es/icons/ibm-cloud--internet-services/16.js +1 -1
  978. package/es/icons/ibm-cloud--internet-services/20.js +1 -1
  979. package/es/icons/ibm-cloud--internet-services/24.js +1 -1
  980. package/es/icons/ibm-cloud--internet-services/32.js +1 -1
  981. package/es/icons/ibm-cloud--ipsec-vpn/16.d.ts +17 -0
  982. package/es/icons/ibm-cloud--ipsec-vpn/16.js +15 -0
  983. package/es/icons/ibm-cloud--ipsec-vpn/20.d.ts +17 -0
  984. package/es/icons/ibm-cloud--ipsec-vpn/20.js +15 -0
  985. package/es/icons/ibm-cloud--ipsec-vpn/24.d.ts +17 -0
  986. package/es/icons/ibm-cloud--ipsec-vpn/24.js +15 -0
  987. package/es/icons/ibm-cloud--ipsec-vpn/32.d.ts +17 -0
  988. package/es/icons/ibm-cloud--ipsec-vpn/32.js +15 -0
  989. package/es/icons/ibm-cloud--key-protect/16.d.ts +17 -0
  990. package/es/icons/ibm-cloud--key-protect/16.js +15 -0
  991. package/es/icons/ibm-cloud--key-protect/20.d.ts +17 -0
  992. package/es/icons/ibm-cloud--key-protect/20.js +15 -0
  993. package/es/icons/ibm-cloud--key-protect/24.d.ts +17 -0
  994. package/es/icons/ibm-cloud--key-protect/24.js +15 -0
  995. package/es/icons/ibm-cloud--key-protect/32.d.ts +17 -0
  996. package/es/icons/ibm-cloud--key-protect/32.js +15 -0
  997. package/es/icons/ibm-cloud--kubernetes-service/16.d.ts +17 -0
  998. package/es/icons/ibm-cloud--kubernetes-service/16.js +15 -0
  999. package/es/icons/ibm-cloud--kubernetes-service/20.d.ts +17 -0
  1000. package/es/icons/ibm-cloud--kubernetes-service/20.js +15 -0
  1001. package/es/icons/ibm-cloud--kubernetes-service/24.d.ts +17 -0
  1002. package/es/icons/ibm-cloud--kubernetes-service/24.js +15 -0
  1003. package/es/icons/ibm-cloud--kubernetes-service/32.d.ts +17 -0
  1004. package/es/icons/ibm-cloud--kubernetes-service/32.js +15 -0
  1005. package/es/icons/ibm-cloud--logging/16.d.ts +17 -0
  1006. package/es/icons/ibm-cloud--logging/16.js +15 -0
  1007. package/es/icons/ibm-cloud--logging/20.d.ts +17 -0
  1008. package/es/icons/ibm-cloud--logging/20.js +15 -0
  1009. package/es/icons/ibm-cloud--logging/24.d.ts +17 -0
  1010. package/es/icons/ibm-cloud--logging/24.js +15 -0
  1011. package/es/icons/ibm-cloud--logging/32.d.ts +17 -0
  1012. package/es/icons/ibm-cloud--logging/32.js +15 -0
  1013. package/es/icons/ibm-cloud--mass-data-migration/16.d.ts +17 -0
  1014. package/es/icons/ibm-cloud--mass-data-migration/16.js +15 -0
  1015. package/es/icons/ibm-cloud--mass-data-migration/20.d.ts +17 -0
  1016. package/es/icons/ibm-cloud--mass-data-migration/20.js +15 -0
  1017. package/es/icons/ibm-cloud--mass-data-migration/24.d.ts +17 -0
  1018. package/es/icons/ibm-cloud--mass-data-migration/24.js +15 -0
  1019. package/es/icons/ibm-cloud--mass-data-migration/32.d.ts +17 -0
  1020. package/es/icons/ibm-cloud--mass-data-migration/32.js +15 -0
  1021. package/es/icons/ibm-cloud--pal/16.d.ts +17 -0
  1022. package/es/icons/ibm-cloud--pal/16.js +15 -0
  1023. package/es/icons/ibm-cloud--pal/20.d.ts +17 -0
  1024. package/es/icons/ibm-cloud--pal/20.js +15 -0
  1025. package/es/icons/ibm-cloud--pal/24.d.ts +17 -0
  1026. package/es/icons/ibm-cloud--pal/24.js +15 -0
  1027. package/es/icons/ibm-cloud--pal/32.d.ts +17 -0
  1028. package/es/icons/ibm-cloud--pal/32.js +15 -0
  1029. package/es/icons/ibm-cloud--privileged-access-gateway/16.d.ts +17 -0
  1030. package/es/icons/ibm-cloud--privileged-access-gateway/16.js +15 -0
  1031. package/es/icons/ibm-cloud--privileged-access-gateway/20.d.ts +17 -0
  1032. package/es/icons/ibm-cloud--privileged-access-gateway/20.js +15 -0
  1033. package/es/icons/ibm-cloud--privileged-access-gateway/24.d.ts +17 -0
  1034. package/es/icons/ibm-cloud--privileged-access-gateway/24.js +15 -0
  1035. package/es/icons/ibm-cloud--privileged-access-gateway/32.d.ts +17 -0
  1036. package/es/icons/ibm-cloud--privileged-access-gateway/32.js +15 -0
  1037. package/es/icons/ibm-cloud--secrets-manager/16.d.ts +17 -0
  1038. package/es/icons/ibm-cloud--secrets-manager/16.js +15 -0
  1039. package/es/icons/ibm-cloud--secrets-manager/20.d.ts +17 -0
  1040. package/es/icons/ibm-cloud--secrets-manager/20.js +15 -0
  1041. package/es/icons/ibm-cloud--secrets-manager/24.d.ts +17 -0
  1042. package/es/icons/ibm-cloud--secrets-manager/24.js +15 -0
  1043. package/es/icons/ibm-cloud--secrets-manager/32.d.ts +17 -0
  1044. package/es/icons/ibm-cloud--secrets-manager/32.js +15 -0
  1045. package/es/icons/ibm-cloud--sysdig-secure/16.d.ts +17 -0
  1046. package/es/icons/ibm-cloud--sysdig-secure/16.js +15 -0
  1047. package/es/icons/ibm-cloud--sysdig-secure/20.d.ts +17 -0
  1048. package/es/icons/ibm-cloud--sysdig-secure/20.js +15 -0
  1049. package/es/icons/ibm-cloud--sysdig-secure/24.d.ts +17 -0
  1050. package/es/icons/ibm-cloud--sysdig-secure/24.js +15 -0
  1051. package/es/icons/ibm-cloud--sysdig-secure/32.d.ts +17 -0
  1052. package/es/icons/ibm-cloud--sysdig-secure/32.js +15 -0
  1053. package/es/icons/ibm-cloud-pak--MANTA-automated-data-lineage/16.d.ts +17 -0
  1054. package/es/icons/ibm-cloud-pak--MANTA-automated-data-lineage/16.js +15 -0
  1055. package/es/icons/ibm-cloud-pak--MANTA-automated-data-lineage/20.d.ts +17 -0
  1056. package/es/icons/ibm-cloud-pak--MANTA-automated-data-lineage/20.js +15 -0
  1057. package/es/icons/ibm-cloud-pak--MANTA-automated-data-lineage/24.d.ts +17 -0
  1058. package/es/icons/ibm-cloud-pak--MANTA-automated-data-lineage/24.js +15 -0
  1059. package/es/icons/ibm-cloud-pak--MANTA-automated-data-lineage/32.d.ts +17 -0
  1060. package/es/icons/ibm-cloud-pak--MANTA-automated-data-lineage/32.js +15 -0
  1061. package/es/icons/ibm-cloud-pak--business-automation/16.d.ts +17 -0
  1062. package/es/icons/ibm-cloud-pak--business-automation/16.js +15 -0
  1063. package/es/icons/ibm-cloud-pak--business-automation/20.d.ts +17 -0
  1064. package/es/icons/ibm-cloud-pak--business-automation/20.js +15 -0
  1065. package/es/icons/ibm-cloud-pak--business-automation/24.d.ts +17 -0
  1066. package/es/icons/ibm-cloud-pak--business-automation/24.js +15 -0
  1067. package/es/icons/ibm-cloud-pak--business-automation/32.d.ts +17 -0
  1068. package/es/icons/ibm-cloud-pak--business-automation/32.js +15 -0
  1069. package/es/icons/ibm-cloud-pak--netezza/16.d.ts +17 -0
  1070. package/es/icons/ibm-cloud-pak--netezza/16.js +15 -0
  1071. package/es/icons/ibm-cloud-pak--netezza/20.d.ts +17 -0
  1072. package/es/icons/ibm-cloud-pak--netezza/20.js +15 -0
  1073. package/es/icons/ibm-cloud-pak--netezza/24.d.ts +17 -0
  1074. package/es/icons/ibm-cloud-pak--netezza/24.js +15 -0
  1075. package/es/icons/ibm-cloud-pak--netezza/32.d.ts +17 -0
  1076. package/es/icons/ibm-cloud-pak--netezza/32.js +15 -0
  1077. package/es/icons/ibm-watson--assistant/16.d.ts +17 -0
  1078. package/es/icons/ibm-watson--assistant/16.js +15 -0
  1079. package/es/icons/ibm-watson--assistant/20.d.ts +17 -0
  1080. package/es/icons/ibm-watson--assistant/20.js +15 -0
  1081. package/es/icons/ibm-watson--assistant/24.d.ts +17 -0
  1082. package/es/icons/ibm-watson--assistant/24.js +15 -0
  1083. package/es/icons/ibm-watson--assistant/32.d.ts +17 -0
  1084. package/es/icons/ibm-watson--assistant/32.js +15 -0
  1085. package/es/icons/ibm-watson--discovery/16.d.ts +17 -0
  1086. package/es/icons/ibm-watson--discovery/16.js +15 -0
  1087. package/es/icons/ibm-watson--discovery/20.d.ts +17 -0
  1088. package/es/icons/ibm-watson--discovery/20.js +15 -0
  1089. package/es/icons/ibm-watson--discovery/24.d.ts +17 -0
  1090. package/es/icons/ibm-watson--discovery/24.js +15 -0
  1091. package/es/icons/ibm-watson--discovery/32.d.ts +17 -0
  1092. package/es/icons/ibm-watson--discovery/32.js +15 -0
  1093. package/es/icons/ibm-watson--knowledge-catalog/16.d.ts +17 -0
  1094. package/es/icons/ibm-watson--knowledge-catalog/16.js +15 -0
  1095. package/es/icons/ibm-watson--knowledge-catalog/20.d.ts +17 -0
  1096. package/es/icons/ibm-watson--knowledge-catalog/20.js +15 -0
  1097. package/es/icons/ibm-watson--knowledge-catalog/24.d.ts +17 -0
  1098. package/es/icons/ibm-watson--knowledge-catalog/24.js +15 -0
  1099. package/es/icons/ibm-watson--knowledge-catalog/32.d.ts +17 -0
  1100. package/es/icons/ibm-watson--knowledge-catalog/32.js +15 -0
  1101. package/es/icons/ibm-watson--knowledge-studio/16.d.ts +17 -0
  1102. package/es/icons/ibm-watson--knowledge-studio/16.js +15 -0
  1103. package/es/icons/ibm-watson--knowledge-studio/20.d.ts +17 -0
  1104. package/es/icons/ibm-watson--knowledge-studio/20.js +15 -0
  1105. package/es/icons/ibm-watson--knowledge-studio/24.d.ts +17 -0
  1106. package/es/icons/ibm-watson--knowledge-studio/24.js +15 -0
  1107. package/es/icons/ibm-watson--knowledge-studio/32.d.ts +17 -0
  1108. package/es/icons/ibm-watson--knowledge-studio/32.js +15 -0
  1109. package/es/icons/ibm-watson--language-translator/16.d.ts +17 -0
  1110. package/es/icons/ibm-watson--language-translator/16.js +15 -0
  1111. package/es/icons/ibm-watson--language-translator/20.d.ts +17 -0
  1112. package/es/icons/ibm-watson--language-translator/20.js +15 -0
  1113. package/es/icons/ibm-watson--language-translator/24.d.ts +17 -0
  1114. package/es/icons/ibm-watson--language-translator/24.js +15 -0
  1115. package/es/icons/ibm-watson--language-translator/32.d.ts +17 -0
  1116. package/es/icons/ibm-watson--language-translator/32.js +15 -0
  1117. package/es/icons/ibm-watson--machine-learning/16.d.ts +17 -0
  1118. package/es/icons/ibm-watson--machine-learning/16.js +15 -0
  1119. package/es/icons/ibm-watson--machine-learning/20.d.ts +17 -0
  1120. package/es/icons/ibm-watson--machine-learning/20.js +15 -0
  1121. package/es/icons/ibm-watson--machine-learning/24.d.ts +17 -0
  1122. package/es/icons/ibm-watson--machine-learning/24.js +15 -0
  1123. package/es/icons/ibm-watson--machine-learning/32.d.ts +17 -0
  1124. package/es/icons/ibm-watson--machine-learning/32.js +15 -0
  1125. package/es/icons/ibm-watson--natural-language-classifier/16.d.ts +17 -0
  1126. package/es/icons/ibm-watson--natural-language-classifier/16.js +15 -0
  1127. package/es/icons/ibm-watson--natural-language-classifier/20.d.ts +17 -0
  1128. package/es/icons/ibm-watson--natural-language-classifier/20.js +15 -0
  1129. package/es/icons/ibm-watson--natural-language-classifier/24.d.ts +17 -0
  1130. package/es/icons/ibm-watson--natural-language-classifier/24.js +15 -0
  1131. package/es/icons/ibm-watson--natural-language-classifier/32.d.ts +17 -0
  1132. package/es/icons/ibm-watson--natural-language-classifier/32.js +15 -0
  1133. package/es/icons/ibm-watson--natural-language-understanding/16.d.ts +17 -0
  1134. package/es/icons/ibm-watson--natural-language-understanding/16.js +15 -0
  1135. package/es/icons/ibm-watson--natural-language-understanding/20.d.ts +17 -0
  1136. package/es/icons/ibm-watson--natural-language-understanding/20.js +15 -0
  1137. package/es/icons/ibm-watson--natural-language-understanding/24.d.ts +17 -0
  1138. package/es/icons/ibm-watson--natural-language-understanding/24.js +15 -0
  1139. package/es/icons/ibm-watson--natural-language-understanding/32.d.ts +17 -0
  1140. package/es/icons/ibm-watson--natural-language-understanding/32.js +15 -0
  1141. package/es/icons/ibm-watson--openscale/16.d.ts +17 -0
  1142. package/es/icons/ibm-watson--openscale/16.js +15 -0
  1143. package/es/icons/ibm-watson--openscale/20.d.ts +17 -0
  1144. package/es/icons/ibm-watson--openscale/20.js +15 -0
  1145. package/es/icons/ibm-watson--openscale/24.d.ts +17 -0
  1146. package/es/icons/ibm-watson--openscale/24.js +15 -0
  1147. package/es/icons/ibm-watson--openscale/32.d.ts +17 -0
  1148. package/es/icons/ibm-watson--openscale/32.js +15 -0
  1149. package/es/icons/ibm-watson--query/16.d.ts +17 -0
  1150. package/es/icons/ibm-watson--query/16.js +15 -0
  1151. package/es/icons/ibm-watson--query/20.d.ts +17 -0
  1152. package/es/icons/ibm-watson--query/20.js +15 -0
  1153. package/es/icons/ibm-watson--query/24.d.ts +17 -0
  1154. package/es/icons/ibm-watson--query/24.js +15 -0
  1155. package/es/icons/ibm-watson--query/32.d.ts +17 -0
  1156. package/es/icons/ibm-watson--query/32.js +15 -0
  1157. package/es/icons/ibm-watson--speech-to-text/16.d.ts +17 -0
  1158. package/es/icons/ibm-watson--speech-to-text/16.js +15 -0
  1159. package/es/icons/ibm-watson--speech-to-text/20.d.ts +17 -0
  1160. package/es/icons/ibm-watson--speech-to-text/20.js +15 -0
  1161. package/es/icons/ibm-watson--speech-to-text/24.d.ts +17 -0
  1162. package/es/icons/ibm-watson--speech-to-text/24.js +15 -0
  1163. package/es/icons/ibm-watson--speech-to-text/32.d.ts +17 -0
  1164. package/es/icons/ibm-watson--speech-to-text/32.js +15 -0
  1165. package/es/icons/ibm-watson--studio/16.d.ts +17 -0
  1166. package/es/icons/ibm-watson--studio/16.js +15 -0
  1167. package/es/icons/ibm-watson--studio/20.d.ts +17 -0
  1168. package/es/icons/ibm-watson--studio/20.js +15 -0
  1169. package/es/icons/ibm-watson--studio/24.d.ts +17 -0
  1170. package/es/icons/ibm-watson--studio/24.js +15 -0
  1171. package/es/icons/ibm-watson--studio/32.d.ts +17 -0
  1172. package/es/icons/ibm-watson--studio/32.js +15 -0
  1173. package/es/icons/ibm-watson--text-to-speech/16.d.ts +17 -0
  1174. package/es/icons/ibm-watson--text-to-speech/16.js +15 -0
  1175. package/es/icons/ibm-watson--text-to-speech/20.d.ts +17 -0
  1176. package/es/icons/ibm-watson--text-to-speech/20.js +15 -0
  1177. package/es/icons/ibm-watson--text-to-speech/24.d.ts +17 -0
  1178. package/es/icons/ibm-watson--text-to-speech/24.js +15 -0
  1179. package/es/icons/ibm-watson--text-to-speech/32.d.ts +17 -0
  1180. package/es/icons/ibm-watson--text-to-speech/32.js +15 -0
  1181. package/es/icons/ibm-watson--tone-analyzer/16.d.ts +17 -0
  1182. package/es/icons/ibm-watson--tone-analyzer/16.js +15 -0
  1183. package/es/icons/ibm-watson--tone-analyzer/20.d.ts +17 -0
  1184. package/es/icons/ibm-watson--tone-analyzer/20.js +15 -0
  1185. package/es/icons/ibm-watson--tone-analyzer/24.d.ts +17 -0
  1186. package/es/icons/ibm-watson--tone-analyzer/24.js +15 -0
  1187. package/es/icons/ibm-watson--tone-analyzer/32.d.ts +17 -0
  1188. package/es/icons/ibm-watson--tone-analyzer/32.js +15 -0
  1189. package/es/icons/ibm-z--cloud-mod-stack/16.d.ts +17 -0
  1190. package/es/icons/ibm-z--cloud-mod-stack/16.js +15 -0
  1191. package/es/icons/ibm-z--cloud-mod-stack/20.d.ts +17 -0
  1192. package/es/icons/ibm-z--cloud-mod-stack/20.js +15 -0
  1193. package/es/icons/ibm-z--cloud-mod-stack/24.d.ts +17 -0
  1194. package/es/icons/ibm-z--cloud-mod-stack/24.js +15 -0
  1195. package/es/icons/ibm-z--cloud-mod-stack/32.d.ts +17 -0
  1196. package/es/icons/ibm-z--cloud-mod-stack/32.js +15 -0
  1197. package/es/icons/ibm-z-cloud--provisioning/16.d.ts +17 -0
  1198. package/es/icons/ibm-z-cloud--provisioning/16.js +15 -0
  1199. package/es/icons/ibm-z-cloud--provisioning/20.d.ts +17 -0
  1200. package/es/icons/ibm-z-cloud--provisioning/20.js +15 -0
  1201. package/es/icons/ibm-z-cloud--provisioning/24.d.ts +17 -0
  1202. package/es/icons/ibm-z-cloud--provisioning/24.js +15 -0
  1203. package/es/icons/ibm-z-cloud--provisioning/32.d.ts +17 -0
  1204. package/es/icons/ibm-z-cloud--provisioning/32.js +15 -0
  1205. package/es/icons/ibm-z-os--package-manager/16.d.ts +17 -0
  1206. package/es/icons/ibm-z-os--package-manager/16.js +15 -0
  1207. package/es/icons/ibm-z-os--package-manager/20.d.ts +17 -0
  1208. package/es/icons/ibm-z-os--package-manager/20.js +15 -0
  1209. package/es/icons/ibm-z-os--package-manager/24.d.ts +17 -0
  1210. package/es/icons/ibm-z-os--package-manager/24.js +15 -0
  1211. package/es/icons/ibm-z-os--package-manager/32.d.ts +17 -0
  1212. package/es/icons/ibm-z-os--package-manager/32.js +15 -0
  1213. package/es/icons/information/16.js +1 -1
  1214. package/es/icons/information--filled/20.js +1 -1
  1215. package/es/icons/information--square--filled/20.js +1 -1
  1216. package/es/icons/keyboard--off/16.d.ts +17 -0
  1217. package/es/icons/keyboard--off/16.js +15 -0
  1218. package/es/icons/keyboard--off/20.d.ts +17 -0
  1219. package/es/icons/keyboard--off/20.js +15 -0
  1220. package/es/icons/keyboard--off/24.d.ts +17 -0
  1221. package/es/icons/keyboard--off/24.js +15 -0
  1222. package/es/icons/keyboard--off/32.d.ts +17 -0
  1223. package/es/icons/keyboard--off/32.js +15 -0
  1224. package/es/icons/list--checked/16.js +1 -1
  1225. package/es/icons/list--checked/20.js +1 -1
  1226. package/es/icons/list--checked/24.js +1 -1
  1227. package/es/icons/list--checked/32.js +1 -1
  1228. package/es/icons/list--checked--mirror/16.d.ts +17 -0
  1229. package/es/icons/list--checked--mirror/16.js +15 -0
  1230. package/es/icons/list--checked--mirror/20.d.ts +17 -0
  1231. package/es/icons/list--checked--mirror/20.js +15 -0
  1232. package/es/icons/list--checked--mirror/24.d.ts +17 -0
  1233. package/es/icons/list--checked--mirror/24.js +15 -0
  1234. package/es/icons/list--checked--mirror/32.d.ts +17 -0
  1235. package/es/icons/list--checked--mirror/32.js +15 -0
  1236. package/es/icons/list--numbered--mirror/16.d.ts +17 -0
  1237. package/es/icons/list--numbered--mirror/16.js +15 -0
  1238. package/es/icons/list--numbered--mirror/20.d.ts +17 -0
  1239. package/es/icons/list--numbered--mirror/20.js +15 -0
  1240. package/es/icons/list--numbered--mirror/24.d.ts +17 -0
  1241. package/es/icons/list--numbered--mirror/24.js +15 -0
  1242. package/es/icons/list--numbered--mirror/32.d.ts +17 -0
  1243. package/es/icons/list--numbered--mirror/32.js +15 -0
  1244. package/es/icons/logical-partition/16.js +1 -1
  1245. package/es/icons/logical-partition/20.js +1 -1
  1246. package/es/icons/logical-partition/24.js +1 -1
  1247. package/es/icons/logical-partition/32.js +1 -1
  1248. package/es/icons/logo--angular/16.d.ts +17 -0
  1249. package/es/icons/logo--angular/16.js +15 -0
  1250. package/es/icons/logo--angular/20.d.ts +17 -0
  1251. package/es/icons/logo--angular/20.js +15 -0
  1252. package/es/icons/logo--angular/24.d.ts +17 -0
  1253. package/es/icons/logo--angular/24.js +15 -0
  1254. package/es/icons/logo--angular/32.d.ts +17 -0
  1255. package/es/icons/logo--angular/32.js +15 -0
  1256. package/es/icons/logo--ansible-community/16.d.ts +17 -0
  1257. package/es/icons/logo--ansible-community/16.js +15 -0
  1258. package/es/icons/logo--ansible-community/20.d.ts +17 -0
  1259. package/es/icons/logo--ansible-community/20.js +15 -0
  1260. package/es/icons/logo--ansible-community/24.d.ts +17 -0
  1261. package/es/icons/logo--ansible-community/24.js +15 -0
  1262. package/es/icons/logo--ansible-community/32.d.ts +17 -0
  1263. package/es/icons/logo--ansible-community/32.js +15 -0
  1264. package/es/icons/logo--discord/16.js +1 -1
  1265. package/es/icons/logo--discord/20.js +1 -1
  1266. package/es/icons/logo--discord/24.js +1 -1
  1267. package/es/icons/logo--discord/32.js +1 -1
  1268. package/es/icons/logo--figma/16.d.ts +17 -0
  1269. package/es/icons/logo--figma/16.js +15 -0
  1270. package/es/icons/logo--figma/20.d.ts +17 -0
  1271. package/es/icons/logo--figma/20.js +15 -0
  1272. package/es/icons/logo--figma/24.d.ts +17 -0
  1273. package/es/icons/logo--figma/24.js +15 -0
  1274. package/es/icons/logo--figma/32.d.ts +17 -0
  1275. package/es/icons/logo--figma/32.js +15 -0
  1276. package/es/icons/logo--invision/16.d.ts +17 -0
  1277. package/es/icons/logo--invision/16.js +15 -0
  1278. package/es/icons/logo--invision/20.d.ts +17 -0
  1279. package/es/icons/logo--invision/20.js +15 -0
  1280. package/es/icons/logo--invision/24.d.ts +17 -0
  1281. package/es/icons/logo--invision/24.js +15 -0
  1282. package/es/icons/logo--invision/32.d.ts +17 -0
  1283. package/es/icons/logo--invision/32.js +15 -0
  1284. package/es/icons/logo--kubernetes/16.d.ts +17 -0
  1285. package/es/icons/logo--kubernetes/16.js +15 -0
  1286. package/es/icons/logo--kubernetes/20.d.ts +17 -0
  1287. package/es/icons/logo--kubernetes/20.js +15 -0
  1288. package/es/icons/logo--kubernetes/24.d.ts +17 -0
  1289. package/es/icons/logo--kubernetes/24.js +15 -0
  1290. package/es/icons/logo--kubernetes/32.d.ts +17 -0
  1291. package/es/icons/logo--kubernetes/32.js +15 -0
  1292. package/es/icons/logo--medium/16.js +1 -1
  1293. package/es/icons/logo--medium/20.js +1 -1
  1294. package/es/icons/logo--medium/24.js +1 -1
  1295. package/es/icons/logo--medium/32.js +1 -1
  1296. package/es/icons/logo--npm/16.d.ts +17 -0
  1297. package/es/icons/logo--npm/16.js +15 -0
  1298. package/es/icons/logo--npm/20.d.ts +17 -0
  1299. package/es/icons/logo--npm/20.js +15 -0
  1300. package/es/icons/logo--npm/24.d.ts +17 -0
  1301. package/es/icons/logo--npm/24.js +15 -0
  1302. package/es/icons/logo--npm/32.d.ts +17 -0
  1303. package/es/icons/logo--npm/32.js +15 -0
  1304. package/es/icons/logo--react/16.d.ts +17 -0
  1305. package/es/icons/logo--react/16.js +15 -0
  1306. package/es/icons/logo--react/20.d.ts +17 -0
  1307. package/es/icons/logo--react/20.js +15 -0
  1308. package/es/icons/logo--react/24.d.ts +17 -0
  1309. package/es/icons/logo--react/24.js +15 -0
  1310. package/es/icons/logo--react/32.d.ts +17 -0
  1311. package/es/icons/logo--react/32.js +15 -0
  1312. package/es/icons/logo--red-hat-ansible/16.d.ts +17 -0
  1313. package/es/icons/logo--red-hat-ansible/16.js +15 -0
  1314. package/es/icons/logo--red-hat-ansible/20.d.ts +17 -0
  1315. package/es/icons/logo--red-hat-ansible/20.js +15 -0
  1316. package/es/icons/logo--red-hat-ansible/24.d.ts +17 -0
  1317. package/es/icons/logo--red-hat-ansible/24.js +15 -0
  1318. package/es/icons/logo--red-hat-ansible/32.d.ts +17 -0
  1319. package/es/icons/logo--red-hat-ansible/32.js +15 -0
  1320. package/es/icons/logo--sketch/16.d.ts +17 -0
  1321. package/es/icons/logo--sketch/16.js +15 -0
  1322. package/es/icons/logo--sketch/20.d.ts +17 -0
  1323. package/es/icons/logo--sketch/20.js +15 -0
  1324. package/es/icons/logo--sketch/24.d.ts +17 -0
  1325. package/es/icons/logo--sketch/24.js +15 -0
  1326. package/es/icons/logo--sketch/32.d.ts +17 -0
  1327. package/es/icons/logo--sketch/32.js +15 -0
  1328. package/es/icons/logo--svelte/16.d.ts +17 -0
  1329. package/es/icons/logo--svelte/16.js +15 -0
  1330. package/es/icons/logo--svelte/20.d.ts +17 -0
  1331. package/es/icons/logo--svelte/20.js +15 -0
  1332. package/es/icons/logo--svelte/24.d.ts +17 -0
  1333. package/es/icons/logo--svelte/24.js +15 -0
  1334. package/es/icons/logo--svelte/32.d.ts +17 -0
  1335. package/es/icons/logo--svelte/32.js +15 -0
  1336. package/es/icons/logo--twitter/16.js +1 -1
  1337. package/es/icons/logo--twitter/20.js +1 -1
  1338. package/es/icons/logo--twitter/24.js +1 -1
  1339. package/es/icons/logo--twitter/32.js +1 -1
  1340. package/es/icons/logo--vmware/16.js +1 -1
  1341. package/es/icons/logo--vmware/20.js +1 -1
  1342. package/es/icons/logo--vmware/24.js +1 -1
  1343. package/es/icons/logo--vmware/32.js +1 -1
  1344. package/es/icons/logo--vmware--alt/16.d.ts +17 -0
  1345. package/es/icons/logo--vmware--alt/16.js +15 -0
  1346. package/es/icons/logo--vmware--alt/20.d.ts +17 -0
  1347. package/es/icons/logo--vmware--alt/20.js +15 -0
  1348. package/es/icons/logo--vmware--alt/24.d.ts +17 -0
  1349. package/es/icons/logo--vmware--alt/24.js +15 -0
  1350. package/es/icons/logo--vmware--alt/32.d.ts +17 -0
  1351. package/es/icons/logo--vmware--alt/32.js +15 -0
  1352. package/es/icons/logo--vue/16.d.ts +17 -0
  1353. package/es/icons/logo--vue/16.js +15 -0
  1354. package/es/icons/logo--vue/20.d.ts +17 -0
  1355. package/es/icons/logo--vue/20.js +15 -0
  1356. package/es/icons/logo--vue/24.d.ts +17 -0
  1357. package/es/icons/logo--vue/24.js +15 -0
  1358. package/es/icons/logo--vue/32.d.ts +17 -0
  1359. package/es/icons/logo--vue/32.js +15 -0
  1360. package/es/icons/logo--yelp/16.js +1 -1
  1361. package/es/icons/logo--yelp/20.js +1 -1
  1362. package/es/icons/logo--yelp/24.js +1 -1
  1363. package/es/icons/logo--yelp/32.js +1 -1
  1364. package/es/icons/microservices--1/16.d.ts +17 -0
  1365. package/es/icons/microservices--1/16.js +15 -0
  1366. package/es/icons/microservices--1/20.d.ts +17 -0
  1367. package/es/icons/microservices--1/20.js +15 -0
  1368. package/es/icons/microservices--1/24.d.ts +17 -0
  1369. package/es/icons/microservices--1/24.js +15 -0
  1370. package/es/icons/microservices--1/32.d.ts +17 -0
  1371. package/es/icons/microservices--1/32.js +15 -0
  1372. package/es/icons/microservices--2/16.d.ts +17 -0
  1373. package/es/icons/microservices--2/16.js +15 -0
  1374. package/es/icons/microservices--2/20.d.ts +17 -0
  1375. package/es/icons/microservices--2/20.js +15 -0
  1376. package/es/icons/microservices--2/24.d.ts +17 -0
  1377. package/es/icons/microservices--2/24.js +15 -0
  1378. package/es/icons/microservices--2/32.d.ts +17 -0
  1379. package/es/icons/microservices--2/32.js +15 -0
  1380. package/es/icons/plan/16.d.ts +17 -0
  1381. package/es/icons/plan/16.js +15 -0
  1382. package/es/icons/plan/20.d.ts +17 -0
  1383. package/es/icons/plan/20.js +15 -0
  1384. package/es/icons/plan/24.d.ts +17 -0
  1385. package/es/icons/plan/24.js +15 -0
  1386. package/es/icons/plan/32.d.ts +17 -0
  1387. package/es/icons/plan/32.js +15 -0
  1388. package/es/icons/port--input/16.d.ts +17 -0
  1389. package/es/icons/port--input/16.js +15 -0
  1390. package/es/icons/port--input/20.d.ts +17 -0
  1391. package/es/icons/port--input/20.js +15 -0
  1392. package/es/icons/port--input/24.d.ts +17 -0
  1393. package/es/icons/port--input/24.js +15 -0
  1394. package/es/icons/port--input/32.d.ts +17 -0
  1395. package/es/icons/port--input/32.js +15 -0
  1396. package/es/icons/port--output/16.d.ts +17 -0
  1397. package/es/icons/port--output/16.js +15 -0
  1398. package/es/icons/port--output/20.d.ts +17 -0
  1399. package/es/icons/port--output/20.js +15 -0
  1400. package/es/icons/port--output/24.d.ts +17 -0
  1401. package/es/icons/port--output/24.js +15 -0
  1402. package/es/icons/port--output/32.d.ts +17 -0
  1403. package/es/icons/port--output/32.js +15 -0
  1404. package/es/icons/promote/16.d.ts +17 -0
  1405. package/es/icons/promote/16.js +15 -0
  1406. package/es/icons/promote/20.d.ts +17 -0
  1407. package/es/icons/promote/20.js +15 -0
  1408. package/es/icons/promote/24.d.ts +17 -0
  1409. package/es/icons/promote/24.js +15 -0
  1410. package/es/icons/promote/32.d.ts +17 -0
  1411. package/es/icons/promote/32.js +15 -0
  1412. package/es/icons/recycle/16.d.ts +17 -0
  1413. package/es/icons/recycle/16.js +15 -0
  1414. package/es/icons/recycle/20.d.ts +17 -0
  1415. package/es/icons/recycle/20.js +15 -0
  1416. package/es/icons/recycle/24.d.ts +17 -0
  1417. package/es/icons/recycle/24.js +15 -0
  1418. package/es/icons/recycle/32.d.ts +17 -0
  1419. package/es/icons/recycle/32.js +15 -0
  1420. package/es/icons/reference-architecture/16.d.ts +17 -0
  1421. package/es/icons/reference-architecture/16.js +15 -0
  1422. package/es/icons/reference-architecture/20.d.ts +17 -0
  1423. package/es/icons/reference-architecture/20.js +15 -0
  1424. package/es/icons/reference-architecture/24.d.ts +17 -0
  1425. package/es/icons/reference-architecture/24.js +15 -0
  1426. package/es/icons/reference-architecture/32.d.ts +17 -0
  1427. package/es/icons/reference-architecture/32.js +15 -0
  1428. package/es/icons/repo--artifact/16.d.ts +17 -0
  1429. package/es/icons/repo--artifact/16.js +15 -0
  1430. package/es/icons/repo--artifact/20.d.ts +17 -0
  1431. package/es/icons/repo--artifact/20.js +15 -0
  1432. package/es/icons/repo--artifact/24.d.ts +17 -0
  1433. package/es/icons/repo--artifact/24.js +15 -0
  1434. package/es/icons/repo--artifact/32.d.ts +17 -0
  1435. package/es/icons/repo--artifact/32.js +15 -0
  1436. package/es/icons/repo--source-code/16.d.ts +17 -0
  1437. package/es/icons/repo--source-code/16.js +15 -0
  1438. package/es/icons/repo--source-code/20.d.ts +17 -0
  1439. package/es/icons/repo--source-code/20.js +15 -0
  1440. package/es/icons/repo--source-code/24.d.ts +17 -0
  1441. package/es/icons/repo--source-code/24.js +15 -0
  1442. package/es/icons/repo--source-code/32.d.ts +17 -0
  1443. package/es/icons/repo--source-code/32.js +15 -0
  1444. package/es/icons/rule--data-quality/16.d.ts +17 -0
  1445. package/es/icons/rule--data-quality/16.js +15 -0
  1446. package/es/icons/rule--data-quality/20.d.ts +17 -0
  1447. package/es/icons/rule--data-quality/20.js +15 -0
  1448. package/es/icons/rule--data-quality/24.d.ts +17 -0
  1449. package/es/icons/rule--data-quality/24.js +15 -0
  1450. package/es/icons/rule--data-quality/32.d.ts +17 -0
  1451. package/es/icons/rule--data-quality/32.js +15 -0
  1452. package/es/icons/run--mirror/16.d.ts +17 -0
  1453. package/es/icons/run--mirror/16.js +15 -0
  1454. package/es/icons/run--mirror/20.d.ts +17 -0
  1455. package/es/icons/run--mirror/20.js +15 -0
  1456. package/es/icons/run--mirror/24.d.ts +17 -0
  1457. package/es/icons/run--mirror/24.js +15 -0
  1458. package/es/icons/run--mirror/32.d.ts +17 -0
  1459. package/es/icons/run--mirror/32.js +15 -0
  1460. package/es/icons/screen-map/16.d.ts +17 -0
  1461. package/es/icons/screen-map/16.js +15 -0
  1462. package/es/icons/screen-map/20.d.ts +17 -0
  1463. package/es/icons/screen-map/20.js +15 -0
  1464. package/es/icons/screen-map/24.d.ts +17 -0
  1465. package/es/icons/screen-map/24.js +15 -0
  1466. package/es/icons/screen-map/32.d.ts +17 -0
  1467. package/es/icons/screen-map/32.js +15 -0
  1468. package/es/icons/screen-map--set/16.d.ts +17 -0
  1469. package/es/icons/screen-map--set/16.js +15 -0
  1470. package/es/icons/screen-map--set/20.d.ts +17 -0
  1471. package/es/icons/screen-map--set/20.js +15 -0
  1472. package/es/icons/screen-map--set/24.d.ts +17 -0
  1473. package/es/icons/screen-map--set/24.js +15 -0
  1474. package/es/icons/screen-map--set/32.d.ts +17 -0
  1475. package/es/icons/screen-map--set/32.js +15 -0
  1476. package/es/icons/search--locate--mirror/16.d.ts +17 -0
  1477. package/es/icons/search--locate--mirror/16.js +15 -0
  1478. package/es/icons/search--locate--mirror/20.d.ts +17 -0
  1479. package/es/icons/search--locate--mirror/20.js +15 -0
  1480. package/es/icons/search--locate--mirror/24.d.ts +17 -0
  1481. package/es/icons/search--locate--mirror/24.js +15 -0
  1482. package/es/icons/search--locate--mirror/32.d.ts +17 -0
  1483. package/es/icons/search--locate--mirror/32.js +15 -0
  1484. package/es/icons/service-id/16.d.ts +17 -0
  1485. package/es/icons/service-id/16.js +15 -0
  1486. package/es/icons/service-id/20.d.ts +17 -0
  1487. package/es/icons/service-id/20.js +15 -0
  1488. package/es/icons/service-id/24.d.ts +17 -0
  1489. package/es/icons/service-id/24.js +15 -0
  1490. package/es/icons/service-id/32.d.ts +17 -0
  1491. package/es/icons/service-id/32.js +15 -0
  1492. package/es/icons/side-panel--close/16.d.ts +17 -0
  1493. package/es/icons/side-panel--close/16.js +15 -0
  1494. package/es/icons/side-panel--close/20.d.ts +17 -0
  1495. package/es/icons/side-panel--close/20.js +15 -0
  1496. package/es/icons/side-panel--close/24.d.ts +17 -0
  1497. package/es/icons/side-panel--close/24.js +15 -0
  1498. package/es/icons/side-panel--close/32.d.ts +17 -0
  1499. package/es/icons/side-panel--close/32.js +15 -0
  1500. package/es/icons/side-panel--close--filled/16.d.ts +17 -0
  1501. package/es/icons/side-panel--close--filled/16.js +15 -0
  1502. package/es/icons/side-panel--close--filled/20.d.ts +17 -0
  1503. package/es/icons/side-panel--close--filled/20.js +15 -0
  1504. package/es/icons/side-panel--close--filled/24.d.ts +17 -0
  1505. package/es/icons/side-panel--close--filled/24.js +15 -0
  1506. package/es/icons/side-panel--close--filled/32.d.ts +17 -0
  1507. package/es/icons/side-panel--close--filled/32.js +15 -0
  1508. package/es/icons/side-panel--open/16.d.ts +17 -0
  1509. package/es/icons/side-panel--open/16.js +15 -0
  1510. package/es/icons/side-panel--open/20.d.ts +17 -0
  1511. package/es/icons/side-panel--open/20.js +15 -0
  1512. package/es/icons/side-panel--open/24.d.ts +17 -0
  1513. package/es/icons/side-panel--open/24.js +15 -0
  1514. package/es/icons/side-panel--open/32.d.ts +17 -0
  1515. package/es/icons/side-panel--open/32.js +15 -0
  1516. package/es/icons/side-panel--open--filled/16.d.ts +17 -0
  1517. package/es/icons/side-panel--open--filled/16.js +15 -0
  1518. package/es/icons/side-panel--open--filled/20.d.ts +17 -0
  1519. package/es/icons/side-panel--open--filled/20.js +15 -0
  1520. package/es/icons/side-panel--open--filled/24.d.ts +17 -0
  1521. package/es/icons/side-panel--open--filled/24.js +15 -0
  1522. package/es/icons/side-panel--open--filled/32.d.ts +17 -0
  1523. package/es/icons/side-panel--open--filled/32.js +15 -0
  1524. package/es/icons/subtract/16.js +1 -1
  1525. package/es/icons/summary--KPI--mirror/16.d.ts +17 -0
  1526. package/es/icons/summary--KPI--mirror/16.js +15 -0
  1527. package/es/icons/summary--KPI--mirror/20.d.ts +17 -0
  1528. package/es/icons/summary--KPI--mirror/20.js +15 -0
  1529. package/es/icons/summary--KPI--mirror/24.d.ts +17 -0
  1530. package/es/icons/summary--KPI--mirror/24.js +15 -0
  1531. package/es/icons/summary--KPI--mirror/32.d.ts +17 -0
  1532. package/es/icons/summary--KPI--mirror/32.js +15 -0
  1533. package/es/icons/tcp-ip-service/16.d.ts +17 -0
  1534. package/es/icons/tcp-ip-service/16.js +15 -0
  1535. package/es/icons/tcp-ip-service/20.d.ts +17 -0
  1536. package/es/icons/tcp-ip-service/20.js +15 -0
  1537. package/es/icons/tcp-ip-service/24.d.ts +17 -0
  1538. package/es/icons/tcp-ip-service/24.js +15 -0
  1539. package/es/icons/tcp-ip-service/32.d.ts +17 -0
  1540. package/es/icons/tcp-ip-service/32.js +15 -0
  1541. package/es/icons/test-tool/16.d.ts +17 -0
  1542. package/es/icons/test-tool/16.js +15 -0
  1543. package/es/icons/test-tool/20.d.ts +17 -0
  1544. package/es/icons/test-tool/20.js +15 -0
  1545. package/es/icons/test-tool/24.d.ts +17 -0
  1546. package/es/icons/test-tool/24.js +15 -0
  1547. package/es/icons/test-tool/32.d.ts +17 -0
  1548. package/es/icons/test-tool/32.js +15 -0
  1549. package/es/icons/tools--alt/16.js +1 -1
  1550. package/es/icons/tools--alt/20.js +1 -1
  1551. package/es/icons/tools--alt/24.js +1 -1
  1552. package/es/icons/tools--alt/32.js +1 -1
  1553. package/es/icons/transform--binary/16.d.ts +17 -0
  1554. package/es/icons/transform--binary/16.js +15 -0
  1555. package/es/icons/transform--binary/20.d.ts +17 -0
  1556. package/es/icons/transform--binary/20.js +15 -0
  1557. package/es/icons/transform--binary/24.d.ts +17 -0
  1558. package/es/icons/transform--binary/24.js +15 -0
  1559. package/es/icons/transform--binary/32.d.ts +17 -0
  1560. package/es/icons/transform--binary/32.js +15 -0
  1561. package/es/icons/transform--instructions/16.d.ts +17 -0
  1562. package/es/icons/transform--instructions/16.js +15 -0
  1563. package/es/icons/transform--instructions/20.d.ts +17 -0
  1564. package/es/icons/transform--instructions/20.js +15 -0
  1565. package/es/icons/transform--instructions/24.d.ts +17 -0
  1566. package/es/icons/transform--instructions/24.js +15 -0
  1567. package/es/icons/transform--instructions/32.d.ts +17 -0
  1568. package/es/icons/transform--instructions/32.js +15 -0
  1569. package/es/icons/transform--language/16.d.ts +17 -0
  1570. package/es/icons/transform--language/16.js +15 -0
  1571. package/es/icons/transform--language/20.d.ts +17 -0
  1572. package/es/icons/transform--language/20.js +15 -0
  1573. package/es/icons/transform--language/24.d.ts +17 -0
  1574. package/es/icons/transform--language/24.js +15 -0
  1575. package/es/icons/transform--language/32.d.ts +17 -0
  1576. package/es/icons/transform--language/32.js +15 -0
  1577. package/es/icons/tsq/16.d.ts +17 -0
  1578. package/es/icons/tsq/16.js +15 -0
  1579. package/es/icons/tsq/20.d.ts +17 -0
  1580. package/es/icons/tsq/20.js +15 -0
  1581. package/es/icons/tsq/24.d.ts +17 -0
  1582. package/es/icons/tsq/24.js +15 -0
  1583. package/es/icons/tsq/32.d.ts +17 -0
  1584. package/es/icons/tsq/32.js +15 -0
  1585. package/es/icons/unsaved/16.d.ts +17 -0
  1586. package/es/icons/unsaved/16.js +15 -0
  1587. package/es/icons/unsaved/20.d.ts +17 -0
  1588. package/es/icons/unsaved/20.js +15 -0
  1589. package/es/icons/unsaved/24.d.ts +17 -0
  1590. package/es/icons/unsaved/24.js +15 -0
  1591. package/es/icons/unsaved/32.d.ts +17 -0
  1592. package/es/icons/unsaved/32.js +15 -0
  1593. package/es/icons/user--sponsor/16.d.ts +17 -0
  1594. package/es/icons/user--sponsor/16.js +15 -0
  1595. package/es/icons/user--sponsor/20.d.ts +17 -0
  1596. package/es/icons/user--sponsor/20.js +15 -0
  1597. package/es/icons/user--sponsor/24.d.ts +17 -0
  1598. package/es/icons/user--sponsor/24.js +15 -0
  1599. package/es/icons/user--sponsor/32.d.ts +17 -0
  1600. package/es/icons/user--sponsor/32.js +15 -0
  1601. package/es/icons/warning--alt--filled/16.js +1 -1
  1602. package/es/icons/warning--alt--filled/20.js +1 -1
  1603. package/es/icons/watson-health/image-availability--local/16.d.ts +17 -0
  1604. package/es/icons/watson-health/image-availability--local/16.js +15 -0
  1605. package/es/icons/watson-health/image-availability--local/20.d.ts +17 -0
  1606. package/es/icons/watson-health/image-availability--local/20.js +15 -0
  1607. package/es/icons/watson-health/image-availability--local/24.d.ts +17 -0
  1608. package/es/icons/watson-health/image-availability--local/24.js +15 -0
  1609. package/es/icons/watson-health/image-availability--local/32.d.ts +17 -0
  1610. package/es/icons/watson-health/image-availability--local/32.js +15 -0
  1611. package/es/icons/watson-health/image-availability--retrieving/16.d.ts +17 -0
  1612. package/es/icons/watson-health/image-availability--retrieving/16.js +15 -0
  1613. package/es/icons/watson-health/image-availability--retrieving/20.d.ts +17 -0
  1614. package/es/icons/watson-health/image-availability--retrieving/20.js +15 -0
  1615. package/es/icons/watson-health/image-availability--retrieving/24.d.ts +17 -0
  1616. package/es/icons/watson-health/image-availability--retrieving/24.js +15 -0
  1617. package/es/icons/watson-health/image-availability--retrieving/32.d.ts +17 -0
  1618. package/es/icons/watson-health/image-availability--retrieving/32.js +15 -0
  1619. package/es/icons/watson-health/image-availability--unavailable/16.d.ts +17 -0
  1620. package/es/icons/watson-health/image-availability--unavailable/16.js +15 -0
  1621. package/es/icons/watson-health/image-availability--unavailable/20.d.ts +17 -0
  1622. package/es/icons/watson-health/image-availability--unavailable/20.js +15 -0
  1623. package/es/icons/watson-health/image-availability--unavailable/24.d.ts +17 -0
  1624. package/es/icons/watson-health/image-availability--unavailable/24.js +15 -0
  1625. package/es/icons/watson-health/image-availability--unavailable/32.d.ts +17 -0
  1626. package/es/icons/watson-health/image-availability--unavailable/32.js +15 -0
  1627. package/es/icons/white-paper/16.d.ts +17 -0
  1628. package/es/icons/white-paper/16.js +15 -0
  1629. package/es/icons/white-paper/20.d.ts +17 -0
  1630. package/es/icons/white-paper/20.js +15 -0
  1631. package/es/icons/white-paper/24.d.ts +17 -0
  1632. package/es/icons/white-paper/24.js +15 -0
  1633. package/es/icons/white-paper/32.d.ts +17 -0
  1634. package/es/icons/white-paper/32.js +15 -0
  1635. package/es/icons/workflow-automation/16.d.ts +17 -0
  1636. package/es/icons/workflow-automation/16.js +15 -0
  1637. package/es/icons/workflow-automation/20.d.ts +17 -0
  1638. package/es/icons/workflow-automation/20.js +15 -0
  1639. package/es/icons/workflow-automation/24.d.ts +17 -0
  1640. package/es/icons/workflow-automation/24.js +15 -0
  1641. package/es/icons/workflow-automation/32.d.ts +17 -0
  1642. package/es/icons/workflow-automation/32.js +15 -0
  1643. package/es/icons/z--lpar/16.d.ts +17 -0
  1644. package/es/icons/z--lpar/16.js +15 -0
  1645. package/es/icons/z--lpar/20.d.ts +17 -0
  1646. package/es/icons/z--lpar/20.js +15 -0
  1647. package/es/icons/z--lpar/24.d.ts +17 -0
  1648. package/es/icons/z--lpar/24.js +15 -0
  1649. package/es/icons/z--lpar/32.d.ts +17 -0
  1650. package/es/icons/z--lpar/32.js +15 -0
  1651. package/es/icons/z--systems/16.d.ts +17 -0
  1652. package/es/icons/z--systems/16.js +15 -0
  1653. package/es/icons/z--systems/20.d.ts +17 -0
  1654. package/es/icons/z--systems/20.js +15 -0
  1655. package/es/icons/z--systems/24.d.ts +17 -0
  1656. package/es/icons/z--systems/24.js +15 -0
  1657. package/es/icons/z--systems/32.d.ts +17 -0
  1658. package/es/icons/z--systems/32.js +15 -0
  1659. package/es/icons/zos/16.d.ts +17 -0
  1660. package/es/icons/zos/16.js +15 -0
  1661. package/es/icons/zos/20.d.ts +17 -0
  1662. package/es/icons/zos/20.js +15 -0
  1663. package/es/icons/zos/24.d.ts +17 -0
  1664. package/es/icons/zos/24.js +15 -0
  1665. package/es/icons/zos/32.d.ts +17 -0
  1666. package/es/icons/zos/32.js +15 -0
  1667. package/es/icons/zos--sysplex/16.d.ts +17 -0
  1668. package/es/icons/zos--sysplex/16.js +15 -0
  1669. package/es/icons/zos--sysplex/20.d.ts +17 -0
  1670. package/es/icons/zos--sysplex/20.js +15 -0
  1671. package/es/icons/zos--sysplex/24.d.ts +17 -0
  1672. package/es/icons/zos--sysplex/24.js +15 -0
  1673. package/es/icons/zos--sysplex/32.d.ts +17 -0
  1674. package/es/icons/zos--sysplex/32.js +15 -0
  1675. package/es/index.d.ts +116 -108
  1676. package/es/index.d.ts.map +1 -1
  1677. package/es/index.js +116 -108
  1678. package/es/index.js.map +1 -1
  1679. package/lib/components/button/defs.js +1 -0
  1680. package/lib/components/button/defs.js.map +1 -1
  1681. package/lib/components/date-picker/defs.js +2 -11
  1682. package/lib/components/date-picker/defs.js.map +1 -1
  1683. package/lib/components/dropdown/defs.js +12 -3
  1684. package/lib/components/dropdown/defs.js.map +1 -1
  1685. package/lib/components/file-uploader/defs.js +3 -4
  1686. package/lib/components/file-uploader/defs.js.map +1 -1
  1687. package/lib/components/icon-button/defs.js +40 -0
  1688. package/lib/components/icon-button/defs.js.map +1 -0
  1689. package/lib/components/notification/defs.js +3 -0
  1690. package/lib/components/notification/defs.js.map +1 -1
  1691. package/lib/components/popover/defs.js +34 -0
  1692. package/lib/components/popover/defs.js.map +1 -0
  1693. package/lib/components/progress-bar/defs.js +44 -0
  1694. package/lib/components/progress-bar/defs.js.map +1 -0
  1695. package/lib/components/skeleton-text/defs.js +1 -2
  1696. package/lib/components/skeleton-text/defs.js.map +1 -1
  1697. package/lib/components/text-input/defs.js +47 -0
  1698. package/lib/components/text-input/defs.js.map +1 -0
  1699. package/lib/components-react-node/button/button-set.js +1 -1
  1700. package/lib/components-react-node/button/button-skeleton.js +1 -1
  1701. package/lib/components-react-node/button/button.js +1 -1
  1702. package/lib/components-react-node/checkbox/checkbox-skeleton.js +36 -0
  1703. package/lib/components-react-node/combo-box/combo-box.js +2 -8
  1704. package/lib/components-react-node/copy/copy.js +37 -0
  1705. package/lib/components-react-node/date-picker/date-picker-input.js +0 -6
  1706. package/lib/components-react-node/dropdown/dropdown.js +2 -2
  1707. package/lib/components-react-node/file-uploader/demo-file-uploader.js +30 -6
  1708. package/lib/components-react-node/file-uploader/file-uploader-button.js +49 -0
  1709. package/lib/components-react-node/file-uploader/file-uploader-drop-container.js +49 -0
  1710. package/lib/components-react-node/file-uploader/file-uploader-skeleton.js +36 -0
  1711. package/lib/components-react-node/icon-button/defs.js +24 -0
  1712. package/lib/components-react-node/icon-button/icon-button.js +50 -0
  1713. package/lib/components-react-node/multi-select/multi-select.js +0 -6
  1714. package/lib/components-react-node/notification/actionable-notification-button.js +37 -0
  1715. package/lib/components-react-node/notification/actionable-notification.js +37 -0
  1716. package/lib/components-react-node/number-input/number-input.js +3 -9
  1717. package/lib/components-react-node/popover/defs.js +24 -0
  1718. package/lib/components-react-node/popover/index.js +9 -0
  1719. package/lib/components-react-node/popover/popover-content.js +36 -0
  1720. package/lib/components-react-node/popover/popover.js +36 -0
  1721. package/lib/components-react-node/progress-bar/defs.js +24 -0
  1722. package/lib/components-react-node/progress-bar/index.js +9 -0
  1723. package/lib/components-react-node/progress-bar/progress-bar.js +55 -0
  1724. package/lib/components-react-node/search/search.js +0 -7
  1725. package/lib/components-react-node/select/select-skeleton.js +36 -0
  1726. package/lib/components-react-node/select/select.js +0 -7
  1727. package/lib/components-react-node/slider/slider-input.js +0 -7
  1728. package/lib/components-react-node/text-input/defs.js +24 -0
  1729. package/lib/components-react-node/text-input/index.js +9 -0
  1730. package/lib/components-react-node/text-input/text-input-skeleton.js +36 -0
  1731. package/lib/components-react-node/text-input/text-input.js +55 -0
  1732. package/lib/components-react-node/textarea/textarea.js +3 -9
  1733. package/lib/components-react-node/tooltip/tooltip-content.js +37 -0
  1734. package/lib/components-react-node/tooltip/tooltip.js +3 -2
  1735. package/lib/globals/settings.js +1 -1
  1736. package/lib/globals/settings.js.map +1 -1
  1737. package/lib/globals/wrappers/createReactCustomElementType.js +4 -4
  1738. package/lib/globals/wrappers/createReactCustomElementType.js.map +1 -1
  1739. package/package.json +5 -5
  1740. package/scss/components/button/button.scss +5 -5
  1741. package/scss/components/checkbox/checkbox.scss +9 -1
  1742. package/scss/components/combo-box/combo-box.scss +51 -42
  1743. package/scss/components/copy-button/copy-button.scss +20 -0
  1744. package/scss/components/date-picker/date-picker.scss +28 -14
  1745. package/scss/components/dropdown/dropdown.scss +87 -34
  1746. package/scss/components/file-uploader/file-uploader.scss +22 -23
  1747. package/scss/components/icon-button/icon-button.scss +14 -0
  1748. package/scss/components/layer/layer.scss +0 -6
  1749. package/scss/components/list/list.scss +0 -5
  1750. package/scss/components/loading/loading.scss +1 -0
  1751. package/scss/components/modal/modal.scss +2 -2
  1752. package/scss/components/notification/actionable-notification.scss +170 -0
  1753. package/scss/components/notification/inline-notification.scss +26 -0
  1754. package/scss/components/notification/toast-notification.scss +26 -0
  1755. package/scss/components/number-input/number-input.scss +13 -0
  1756. package/scss/components/popover/popover.scss +122 -0
  1757. package/scss/components/progress-bar/progress-bar.scss +10 -0
  1758. package/scss/components/search/search.scss +54 -21
  1759. package/scss/components/select/select.scss +20 -4
  1760. package/scss/components/skeleton-text/skeleton-text.scss +4 -0
  1761. package/scss/components/slider/slider.scss +9 -1
  1762. package/scss/components/text-input/text-input.scss +38 -0
  1763. package/scss/components/textarea/textarea.scss +7 -0
  1764. package/scss/components/tile/tile.scss +4 -0
  1765. package/scss/components/tooltip/tooltip.scss +5 -135
  1766. package/es/components/file-uploader/drop-container.d.ts +0 -385
  1767. package/es/components/file-uploader/drop-container.d.ts.map +0 -1
  1768. package/es/components/file-uploader/drop-container.js +0 -264
  1769. package/es/components/file-uploader/drop-container.js.map +0 -1
  1770. package/es/components/input/defs.d.ts +0 -44
  1771. package/es/components/input/defs.d.ts.map +0 -1
  1772. package/es/components/input/defs.js +0 -36
  1773. package/es/components/input/defs.js.map +0 -1
  1774. package/es/components/input/index.d.ts +0 -11
  1775. package/es/components/input/index.d.ts.map +0 -1
  1776. package/es/components/input/index.js +0 -11
  1777. package/es/components/input/index.js.map +0 -1
  1778. package/es/components/input/input.css.js +0 -12
  1779. package/es/components/input/input.d.ts +0 -762
  1780. package/es/components/input/input.d.ts.map +0 -1
  1781. package/es/components/input/input.js +0 -497
  1782. package/es/components/input/input.js.map +0 -1
  1783. package/es/components/input/input.rtl.css.js +0 -12
  1784. package/es/components/search/defs.d.ts +0 -11
  1785. package/es/components/search/defs.d.ts.map +0 -1
  1786. package/es/components/search/defs.js +0 -11
  1787. package/es/components/search/defs.js.map +0 -1
  1788. package/es/components/slider/defs.d.ts +0 -11
  1789. package/es/components/slider/defs.d.ts.map +0 -1
  1790. package/es/components/slider/defs.js +0 -11
  1791. package/es/components/slider/defs.js.map +0 -1
  1792. package/es/components/tooltip/defs.d.ts +0 -84
  1793. package/es/components/tooltip/defs.d.ts.map +0 -1
  1794. package/es/components/tooltip/defs.js +0 -39
  1795. package/es/components/tooltip/defs.js.map +0 -1
  1796. package/es/components/tooltip/tooltip-body.d.ts +0 -40
  1797. package/es/components/tooltip/tooltip-body.d.ts.map +0 -1
  1798. package/es/components/tooltip/tooltip-body.js +0 -175
  1799. package/es/components/tooltip/tooltip-body.js.map +0 -1
  1800. package/es/components/tooltip/tooltip-footer.d.ts +0 -19
  1801. package/es/components/tooltip/tooltip-footer.d.ts.map +0 -1
  1802. package/es/components/tooltip/tooltip-footer.js +0 -49
  1803. package/es/components/tooltip/tooltip-footer.js.map +0 -1
  1804. package/es/components-react/file-uploader/drop-container.d.ts +0 -19
  1805. package/es/components-react/file-uploader/drop-container.js +0 -28
  1806. package/es/components-react/input/defs.js +0 -9
  1807. package/es/components-react/input/input.d.ts +0 -15
  1808. package/es/components-react/input/input.js +0 -22
  1809. package/es/components-react/search/defs.js +0 -9
  1810. package/es/components-react/slider/defs.js +0 -9
  1811. package/es/components-react/tooltip/defs.js +0 -9
  1812. package/es/components-react/tooltip/tooltip-body.d.ts +0 -14
  1813. package/es/components-react/tooltip/tooltip-body.js +0 -23
  1814. package/es/components-react/tooltip/tooltip-footer.d.ts +0 -15
  1815. package/es/components-react/tooltip/tooltip-footer.js +0 -21
  1816. package/es/icons/app-switcher/16.js +0 -15
  1817. package/es/icons/app-switcher/20.js +0 -15
  1818. package/es/icons/app-switcher/24.js +0 -15
  1819. package/es/icons/app-switcher/32.js +0 -15
  1820. package/es/icons/arrows/16.js +0 -15
  1821. package/es/icons/arrows/20.js +0 -15
  1822. package/es/icons/arrows/24.js +0 -15
  1823. package/es/icons/arrows/32.js +0 -15
  1824. package/es/icons/back-to-top/16.js +0 -15
  1825. package/es/icons/back-to-top/20.js +0 -15
  1826. package/es/icons/back-to-top/24.js +0 -15
  1827. package/es/icons/back-to-top/32.js +0 -15
  1828. package/es/icons/checkbox--undeterminate/16.js +0 -15
  1829. package/es/icons/checkbox--undeterminate/20.js +0 -15
  1830. package/es/icons/checkbox--undeterminate/24.js +0 -15
  1831. package/es/icons/checkbox--undeterminate/32.js +0 -15
  1832. package/es/icons/checkbox--undeterminate--filled/16.js +0 -15
  1833. package/es/icons/checkbox--undeterminate--filled/20.js +0 -15
  1834. package/es/icons/checkbox--undeterminate--filled/24.js +0 -15
  1835. package/es/icons/checkbox--undeterminate--filled/32.js +0 -15
  1836. package/es/icons/cloud--lightning/16.js +0 -15
  1837. package/es/icons/cloud--lightning/20.js +0 -15
  1838. package/es/icons/cloud--lightning/24.js +0 -15
  1839. package/es/icons/cloud--lightning/32.js +0 -15
  1840. package/es/icons/cloud--rain/16.js +0 -15
  1841. package/es/icons/cloud--rain/20.js +0 -15
  1842. package/es/icons/cloud--rain/24.js +0 -15
  1843. package/es/icons/cloud--rain/32.js +0 -15
  1844. package/es/icons/cloud--snow/16.js +0 -15
  1845. package/es/icons/cloud--snow/20.js +0 -15
  1846. package/es/icons/cloud--snow/24.js +0 -15
  1847. package/es/icons/cloud--snow/32.js +0 -15
  1848. package/es/icons/delete/16.js +0 -15
  1849. package/es/icons/delete/20.js +0 -15
  1850. package/es/icons/delete/24.js +0 -15
  1851. package/es/icons/delete/32.js +0 -15
  1852. package/es/icons/glyph--caution/index.js +0 -15
  1853. package/es/icons/glyph--caution-inverted/index.js +0 -15
  1854. package/es/icons/glyph--circle-fill/index.js +0 -15
  1855. package/es/icons/glyph--circle-stroke/index.js +0 -15
  1856. package/es/icons/glyph--critical/index.js +0 -15
  1857. package/es/icons/glyph--incomplete/index.js +0 -15
  1858. package/es/icons/glyph--square-fill/index.js +0 -15
  1859. package/es/icons/letter--Aa--large/16.js +0 -15
  1860. package/es/icons/letter--Aa--large/20.js +0 -15
  1861. package/es/icons/letter--Aa--large/24.js +0 -15
  1862. package/es/icons/letter--Aa--large/32.js +0 -15
  1863. package/es/icons/logo--delicious/16.js +0 -15
  1864. package/es/icons/logo--delicious/20.js +0 -15
  1865. package/es/icons/logo--delicious/24.js +0 -15
  1866. package/es/icons/logo--delicious/32.js +0 -15
  1867. package/es/icons/logo--google/16.js +0 -15
  1868. package/es/icons/logo--google/20.js +0 -15
  1869. package/es/icons/logo--google/24.js +0 -15
  1870. package/es/icons/logo--google/32.js +0 -15
  1871. package/es/icons/logo--stumbleupon/16.js +0 -15
  1872. package/es/icons/logo--stumbleupon/20.js +0 -15
  1873. package/es/icons/logo--stumbleupon/24.js +0 -15
  1874. package/es/icons/logo--stumbleupon/32.js +0 -15
  1875. package/es/icons/mammogram--stacked/16.js +0 -15
  1876. package/es/icons/mammogram--stacked/20.js +0 -15
  1877. package/es/icons/mammogram--stacked/24.js +0 -15
  1878. package/es/icons/mammogram--stacked/32.js +0 -15
  1879. package/es/icons/misuse--alt/16.js +0 -15
  1880. package/es/icons/misuse--alt/20.js +0 -15
  1881. package/es/icons/misuse--alt/24.js +0 -15
  1882. package/es/icons/misuse--alt/32.js +0 -15
  1883. package/es/icons/research--bloch-sphere/16.js +0 -15
  1884. package/es/icons/research--bloch-sphere/20.js +0 -15
  1885. package/es/icons/research--bloch-sphere/24.js +0 -15
  1886. package/es/icons/research--bloch-sphere/32.js +0 -15
  1887. package/es/icons/research--hinton-plot/16.js +0 -15
  1888. package/es/icons/research--hinton-plot/20.js +0 -15
  1889. package/es/icons/research--hinton-plot/24.js +0 -15
  1890. package/es/icons/research--hinton-plot/32.js +0 -15
  1891. package/es/icons/research--matrix/16.js +0 -15
  1892. package/es/icons/research--matrix/20.js +0 -15
  1893. package/es/icons/research--matrix/24.js +0 -15
  1894. package/es/icons/research--matrix/32.js +0 -15
  1895. package/es/icons/sunny/16.js +0 -15
  1896. package/es/icons/sunny/20.js +0 -15
  1897. package/es/icons/sunny/24.js +0 -15
  1898. package/es/icons/sunny/32.js +0 -15
  1899. package/es/icons/undefined/index.js +0 -15
  1900. package/es/icons/watson-health/edit-filter/16.js +0 -15
  1901. package/es/icons/watson-health/edit-filter/20.js +0 -15
  1902. package/es/icons/watson-health/edit-filter/24.js +0 -15
  1903. package/es/icons/watson-health/edit-filter/32.js +0 -15
  1904. package/lib/components/input/defs.js +0 -47
  1905. package/lib/components/input/defs.js.map +0 -1
  1906. package/lib/components/search/defs.js +0 -21
  1907. package/lib/components/search/defs.js.map +0 -1
  1908. package/lib/components/slider/defs.js +0 -21
  1909. package/lib/components/slider/defs.js.map +0 -1
  1910. package/lib/components/tooltip/defs.js +0 -45
  1911. package/lib/components/tooltip/defs.js.map +0 -1
  1912. package/lib/components-react-node/file-uploader/drop-container.js +0 -49
  1913. package/lib/components-react-node/input/defs.js +0 -24
  1914. package/lib/components-react-node/input/input.js +0 -55
  1915. package/lib/components-react-node/search/defs.js +0 -24
  1916. package/lib/components-react-node/slider/defs.js +0 -24
  1917. package/lib/components-react-node/tooltip/defs.js +0 -24
  1918. package/lib/components-react-node/tooltip/tooltip-body.js +0 -37
  1919. package/lib/components-react-node/tooltip/tooltip-footer.js +0 -36
  1920. package/scss/components/input/input.scss +0 -37
  1921. /package/es/components-react/{input → icon-button}/defs.d.ts +0 -0
  1922. /package/es/components-react/{input → icon-button}/index.d.ts +0 -0
  1923. /package/es/components-react/{input → icon-button}/index.js +0 -0
  1924. /package/es/components-react/{search → popover}/defs.d.ts +0 -0
  1925. /package/es/components-react/{slider/defs.d.ts → popover/index.d.ts} +0 -0
  1926. /package/es/components-react/{tooltip → progress-bar}/defs.d.ts +0 -0
  1927. /package/es/icons/{app-switcher → SLM}/16.d.ts +0 -0
  1928. /package/es/icons/{app-switcher → SLM}/20.d.ts +0 -0
  1929. /package/es/icons/{app-switcher → SLM}/24.d.ts +0 -0
  1930. /package/es/icons/{app-switcher → SLM}/32.d.ts +0 -0
  1931. /package/es/icons/{arrows → apple--dash}/16.d.ts +0 -0
  1932. /package/es/icons/{arrows → apple--dash}/20.d.ts +0 -0
  1933. /package/es/icons/{arrows → apple--dash}/24.d.ts +0 -0
  1934. /package/es/icons/{arrows → apple--dash}/32.d.ts +0 -0
  1935. /package/es/icons/{checkbox--undeterminate--filled → batch-job}/16.d.ts +0 -0
  1936. /package/es/icons/{checkbox--undeterminate--filled → batch-job}/20.d.ts +0 -0
  1937. /package/es/icons/{checkbox--undeterminate--filled → batch-job}/24.d.ts +0 -0
  1938. /package/es/icons/{checkbox--undeterminate--filled → batch-job}/32.d.ts +0 -0
  1939. /package/es/icons/{back-to-top → batch-job--step}/16.d.ts +0 -0
  1940. /package/es/icons/{back-to-top → batch-job--step}/20.d.ts +0 -0
  1941. /package/es/icons/{back-to-top → batch-job--step}/24.d.ts +0 -0
  1942. /package/es/icons/{back-to-top → batch-job--step}/32.d.ts +0 -0
  1943. /package/es/icons/{cloud--lightning → boot-volume}/16.d.ts +0 -0
  1944. /package/es/icons/{cloud--lightning → boot-volume}/20.d.ts +0 -0
  1945. /package/es/icons/{cloud--lightning → boot-volume}/24.d.ts +0 -0
  1946. /package/es/icons/{cloud--lightning → boot-volume}/32.d.ts +0 -0
  1947. /package/es/icons/{checkbox--undeterminate → boot-volume--alt}/16.d.ts +0 -0
  1948. /package/es/icons/{checkbox--undeterminate → boot-volume--alt}/20.d.ts +0 -0
  1949. /package/es/icons/{checkbox--undeterminate → boot-volume--alt}/24.d.ts +0 -0
  1950. /package/es/icons/{checkbox--undeterminate → boot-volume--alt}/32.d.ts +0 -0
  1951. /package/es/icons/{cloud--snow → bottles--01}/16.d.ts +0 -0
  1952. /package/es/icons/{cloud--snow → bottles--01}/20.d.ts +0 -0
  1953. /package/es/icons/{cloud--snow → bottles--01}/24.d.ts +0 -0
  1954. /package/es/icons/{cloud--snow → bottles--01}/32.d.ts +0 -0
  1955. /package/es/icons/{cloud--rain → bottles--01--dash}/16.d.ts +0 -0
  1956. /package/es/icons/{cloud--rain → bottles--01--dash}/20.d.ts +0 -0
  1957. /package/es/icons/{cloud--rain → bottles--01--dash}/24.d.ts +0 -0
  1958. /package/es/icons/{cloud--rain → bottles--01--dash}/32.d.ts +0 -0
  1959. /package/es/icons/{letter--Aa--large → bottles--02}/16.d.ts +0 -0
  1960. /package/es/icons/{letter--Aa--large → bottles--02}/20.d.ts +0 -0
  1961. /package/es/icons/{letter--Aa--large → bottles--02}/24.d.ts +0 -0
  1962. /package/es/icons/{letter--Aa--large → bottles--02}/32.d.ts +0 -0
  1963. /package/es/icons/{delete → bottles--02--dash}/16.d.ts +0 -0
  1964. /package/es/icons/{delete → bottles--02--dash}/20.d.ts +0 -0
  1965. /package/es/icons/{delete → bottles--02--dash}/24.d.ts +0 -0
  1966. /package/es/icons/{delete → bottles--02--dash}/32.d.ts +0 -0
  1967. /package/es/icons/{logo--delicious → bottles--container}/16.d.ts +0 -0
  1968. /package/es/icons/{logo--delicious → bottles--container}/20.d.ts +0 -0
  1969. /package/es/icons/{logo--delicious → bottles--container}/24.d.ts +0 -0
  1970. /package/es/icons/{logo--delicious → bottles--container}/32.d.ts +0 -0
  1971. /package/es/icons/{logo--google → build-tool}/16.d.ts +0 -0
  1972. /package/es/icons/{logo--google → build-tool}/20.d.ts +0 -0
  1973. /package/es/icons/{logo--google → build-tool}/24.d.ts +0 -0
  1974. /package/es/icons/{logo--google → build-tool}/32.d.ts +0 -0
  1975. /package/es/icons/{mammogram--stacked → calendar--add}/16.d.ts +0 -0
  1976. /package/es/icons/{mammogram--stacked → calendar--add}/20.d.ts +0 -0
  1977. /package/es/icons/{mammogram--stacked → calendar--add}/24.d.ts +0 -0
  1978. /package/es/icons/{mammogram--stacked → calendar--add}/32.d.ts +0 -0
  1979. /package/es/icons/{logo--stumbleupon → calendar--add--alt}/16.d.ts +0 -0
  1980. /package/es/icons/{logo--stumbleupon → calendar--add--alt}/20.d.ts +0 -0
  1981. /package/es/icons/{logo--stumbleupon → calendar--add--alt}/24.d.ts +0 -0
  1982. /package/es/icons/{logo--stumbleupon → calendar--add--alt}/32.d.ts +0 -0
  1983. /package/es/icons/{misuse--alt → carbon--ui-builder}/16.d.ts +0 -0
  1984. /package/es/icons/{misuse--alt → carbon--ui-builder}/20.d.ts +0 -0
  1985. /package/es/icons/{misuse--alt → carbon--ui-builder}/24.d.ts +0 -0
  1986. /package/es/icons/{misuse--alt → carbon--ui-builder}/32.d.ts +0 -0
  1987. /package/es/icons/{research--bloch-sphere → catalog--publish}/16.d.ts +0 -0
  1988. /package/es/icons/{research--bloch-sphere → catalog--publish}/20.d.ts +0 -0
  1989. /package/es/icons/{research--bloch-sphere → catalog--publish}/24.d.ts +0 -0
  1990. /package/es/icons/{research--bloch-sphere → catalog--publish}/32.d.ts +0 -0
  1991. /package/es/icons/{research--hinton-plot → cics--db2-connection}/16.d.ts +0 -0
  1992. /package/es/icons/{research--hinton-plot → cics--db2-connection}/20.d.ts +0 -0
  1993. /package/es/icons/{research--hinton-plot → cics--db2-connection}/24.d.ts +0 -0
  1994. /package/es/icons/{research--hinton-plot → cics--db2-connection}/32.d.ts +0 -0
  1995. /package/es/icons/{research--matrix → cics--program}/16.d.ts +0 -0
  1996. /package/es/icons/{research--matrix → cics--program}/20.d.ts +0 -0
  1997. /package/es/icons/{research--matrix → cics--program}/24.d.ts +0 -0
  1998. /package/es/icons/{research--matrix → cics--program}/32.d.ts +0 -0
  1999. /package/es/icons/{watson-health/edit-filter → cics--sit}/16.d.ts +0 -0
  2000. /package/es/icons/{watson-health/edit-filter → cics--sit}/20.d.ts +0 -0
  2001. /package/es/icons/{watson-health/edit-filter → cics--sit}/24.d.ts +0 -0
  2002. /package/es/icons/{watson-health/edit-filter → cics--sit}/32.d.ts +0 -0
  2003. /package/es/icons/{sunny → cics--sit-overrides}/16.d.ts +0 -0
  2004. /package/es/icons/{sunny → cics--sit-overrides}/20.d.ts +0 -0
  2005. /package/es/icons/{sunny → cics--sit-overrides}/24.d.ts +0 -0
  2006. /package/es/icons/{sunny → cics--sit-overrides}/32.d.ts +0 -0
  2007. /package/es/icons/{glyph--caution-inverted/index.d.ts → cics--transaction-server-zos/16.d.ts} +0 -0
  2008. /package/es/icons/{glyph--caution/index.d.ts → cics--transaction-server-zos/20.d.ts} +0 -0
  2009. /package/es/icons/{glyph--circle-fill/index.d.ts → cics--transaction-server-zos/24.d.ts} +0 -0
  2010. /package/es/icons/{glyph--circle-stroke/index.d.ts → cics--transaction-server-zos/32.d.ts} +0 -0
  2011. /package/es/icons/{glyph--critical/index.d.ts → cics-region--alt/16.d.ts} +0 -0
  2012. /package/es/icons/{glyph--incomplete/index.d.ts → cics-region--alt/20.d.ts} +0 -0
  2013. /package/es/icons/{glyph--square-fill/index.d.ts → cics-region--alt/24.d.ts} +0 -0
  2014. /package/es/icons/{glyph--undefined/index.d.ts → cics-region--alt/32.d.ts} +0 -0
  2015. /package/es/icons/{undefined/index.d.ts → connect--reference/16.d.ts} +0 -0
  2016. /package/es/icons/{glyph--undefined → diamond-fill}/index.js +0 -0
  2017. /package/lib/components-react-node/{input → icon-button}/index.js +0 -0
@@ -9,7 +9,7 @@
9
9
  import { LitElement } from 'lit';
10
10
  import { Instance as FlatpickrInstance } from 'flatpickr/dist/types/instance';
11
11
  import { Locale as FlatpickrLocale } from 'flatpickr/dist/types/locale';
12
- declare const BXDatePicker_base: {
12
+ declare const CDSDatePicker_base: {
13
13
  new (...args: any[]): {
14
14
  _handles: Set<import("../../globals/internal/handle").default>;
15
15
  connectedCallback(): void;
@@ -638,7 +638,7 @@ declare const BXDatePicker_base: {
638
638
  * @element cds-date-picker
639
639
  * @fires cds-date-picker-changed - The custom event fired on this element when Flatpickr updates its value.
640
640
  */
641
- declare class BXDatePicker extends BXDatePicker_base {
641
+ declare class CDSDatePicker extends CDSDatePicker_base {
642
642
  /**
643
643
  * The slotted `<cds-date-input kind="from">`.
644
644
  */
@@ -690,6 +690,14 @@ declare class BXDatePicker extends BXDatePicker_base {
690
690
  * The Flatpickr instance.
691
691
  */
692
692
  calendar: FlatpickrInstance | null;
693
+ /**
694
+ * flatpickr prop passthrough. Allows the user to enter a date directly into the input field
695
+ */
696
+ allowInput: boolean;
697
+ /**
698
+ * flatpickr prop passthrough. Controls whether the calendar dropdown closes upon selection.
699
+ */
700
+ closeOnSelect: boolean;
693
701
  /**
694
702
  * The date format to let Flatpickr use.
695
703
  */
@@ -706,6 +714,14 @@ declare class BXDatePicker extends BXDatePicker_base {
706
714
  * The date range that a user can pick in calendar dropdown.
707
715
  */
708
716
  enabledRange: string;
717
+ /**
718
+ * The minimum date that a user can start picking from.
719
+ */
720
+ minDate: string;
721
+ /**
722
+ * The maximum date that a user can start picking from.
723
+ */
724
+ maxDate: string;
709
725
  /**
710
726
  * Name for the input in the `FormData`
711
727
  */
@@ -714,6 +730,10 @@ declare class BXDatePicker extends BXDatePicker_base {
714
730
  * `true` if the date picker should be open.
715
731
  */
716
732
  open: boolean;
733
+ /**
734
+ * Specify if the component should be read-only
735
+ */
736
+ readonly: boolean;
717
737
  /**
718
738
  * The date(s) in ISO8601 format (date portion only), for range mode, '/' is used for separate start/end dates.
719
739
  */
@@ -817,6 +837,6 @@ declare class BXDatePicker extends BXDatePicker_base {
817
837
  static get eventChange(): string;
818
838
  static styles: any;
819
839
  }
820
- export default BXDatePicker;
840
+ export default CDSDatePicker;
821
841
 
822
842
  //# sourceMappingURL=date-picker.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"sources":["components/date-picker/date-picker.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAGvC,OAAO,EAAE,QAAQ,IAAI,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAC9E,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,6BAA6B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0CxE;;;;;GAKG;AACH,cACM,YAAa,SAAQ,iBAAwC;IACjE;;OAEG;IACH,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,MAAM,CAAC,0BAA0B,CAAyB;IAElE;;OAEG;IACH,OAAO,CAAC,MAAM,CAAC,sBAAsB,CAAqB;IAE1D;;OAEG;IACH,OAAO,CAAC,MAAM,CAAC,yBAAyB,CAAwB;IAEhE;;OAEG;IACH,OAAO,CAAC,MAAM,CAAC,qBAAqB,CAAoB;IAExD;;OAEG;IACH,OAAO,CAAC,MAAM,CAAC,2BAA2B,CAAe;IAEzD;;OAEG;IACH,OAAO,CAAC,MAAM,CAAC,oBAAoB,CAAW;IAE9C;;OAEG;IACH,MAAM,KAAK,sBAAsB,WAEhC;IAED;;OAEG;IACH,MAAM,KAAK,UAAU,WAEpB;IAED;;OAEG;IACH,MAAM,KAAK,aAAa,WAEvB;IAED;;OAEG;IACH,MAAM,KAAK,SAAS,WAEnB;IAED;;OAEG;IACH,MAAM,KAAK,YAAY,WAEtB;IAED;;OAEG;IACH,MAAM,KAAK,QAAQ,WAElB;IAED;;OAEG;IACH,MAAM,CAAC,aAAa,SAAe;IAEnC;;OAEG;IACH,MAAM,CAAC,iBAAiB,SAAW;IAEnC;;OAEG;IACH,MAAM,CAAC,aAAa,uEAA2B;IAE/C;;OAEG;IACH,MAAM,KAAK,iBAAiB,WAE3B;IAED;;OAEG;IACH,MAAM,KAAK,eAAe,WAEzB;IAED;;OAEG;IACH,MAAM,KAAK,mBAAmB,WAE7B;IAED;;OAEG;IACH,MAAM,KAAK,WAAW,WAErB;IAED,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,YAAY,CAAC","file":"date-picker.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, query } from 'lit/decorators.js';\nimport flatpickr from 'flatpickr';\nimport { Instance as FlatpickrInstance } from 'flatpickr/dist/types/instance';\nimport { Locale as FlatpickrLocale } from 'flatpickr/dist/types/locale';\nimport {\n Options as FlatpickrOptions,\n Plugin as FlatpickrPlugin,\n} from 'flatpickr/dist/types/options';\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 { getISODateString, parseISODateString } from './iso-date';\nimport BXDatePickerInput from './date-picker-input';\nimport appendToPlugin from './append-to-plugin';\nimport cssClassPlugin from './css-class-plugin';\nimport fixEventsPlugin from './fix-events-plugin';\nimport focusPlugin from './focus-plugin';\nimport iconPlugin from './icon-plugin';\nimport monthSelectPlugin from './month-select-plugin';\nimport rangePlugin from './range-plugin';\nimport shadowDOMEventPlugin from './shadow-dom-events-plugin';\nimport stateHandshakePlugin from './state-handshake-plugin';\nimport styles from './date-picker.scss';\n\n/**\n * Date picker modes.\n */\nenum DATE_PICKER_MODE {\n /**\n * Simple mode, without calendar dropdown.\n */\n SIMPLE = 'simple',\n\n /**\n * Single date mode.\n */\n SINGLE = 'single',\n\n /**\n * Range mode.\n */\n RANGE = 'range',\n}\n\n/**\n * Date picker.\n *\n * @element cds-date-picker\n * @fires cds-date-picker-changed - The custom event fired on this element when Flatpickr updates its value.\n */\n@customElement(`${prefix}-date-picker`)\nclass BXDatePicker extends HostListenerMixin(FormMixin(LitElement)) {\n /**\n * The slotted `<cds-date-input kind=\"from\">`.\n */\n private _dateInteractNode: BXDatePickerInput | null = null;\n\n /**\n * The element to put calendar dropdown in.\n */\n @query('#floating-menu-container')\n private _floatingMenuContainerNode!: HTMLDivElement;\n\n /**\n * The internal placeholder for the `value` property.\n */\n private _value!: string;\n\n /**\n * @returns The effective date picker mode, determined by the child `<cds-date-picker-input>`.\n */\n private get _mode() {\n const { selectorInputFrom, selectorInputTo } = this\n .constructor as typeof BXDatePicker;\n if (this.querySelector(selectorInputTo)) {\n return DATE_PICKER_MODE.RANGE;\n }\n if (this.querySelector(selectorInputFrom)) {\n return DATE_PICKER_MODE.SINGLE;\n }\n return DATE_PICKER_MODE.SIMPLE;\n }\n\n /**\n * @returns The Flatpickr plugins to use.\n */\n private get _datePickerPlugins(): FlatpickrPlugin[] {\n const {\n classCalendarContainer,\n classMonth,\n classWeekdays,\n classDays,\n classWeekday,\n classDay,\n classNoBorder,\n selectorInputFrom,\n selectorInputTo,\n _selectorFlatpickrMonthYearContainer: selectorFlatpickrMonthYearContainer,\n _selectorFlatpickrYearContainer: selectorFlatpickrYearContainer,\n _selectorFlatpickrCurrentMonth: selectorFlatpickrCurrentMonth,\n _selectorFlatpickrMonth: selectorFlatpickrMonth,\n _selectorFlatpickrWeekdays: selectorFlatpickrWeekdays,\n _selectorFlatpickrDays: selectorFlatpickrDays,\n _selectorFlatpickrWeekday: selectorFlatpickrWeekday,\n _selectorFlatpickrDay: selectorFlatpickrDay,\n _classFlatpickrCurrentMonth: classFlatpickrCurrentMonth,\n _classFlatpickrToday: classFlatpickrToday,\n } = this.constructor as typeof BXDatePicker;\n const {\n _floatingMenuContainerNode: floatingMenuContainerNode,\n _mode: mode,\n } = this;\n const inputFrom = this.querySelector(selectorInputFrom);\n const inputTo = this.querySelector(selectorInputTo);\n const plugins = [\n appendToPlugin({ appendTo: floatingMenuContainerNode }),\n cssClassPlugin({\n classCalendarContainer,\n classMonth,\n classWeekdays,\n classDays,\n classWeekday,\n classDay,\n classNoBorder,\n selectorFlatpickrMonth,\n selectorFlatpickrWeekdays,\n selectorFlatpickrDays,\n selectorFlatpickrWeekday,\n selectorFlatpickrDay,\n classFlatpickrToday,\n }),\n fixEventsPlugin({\n inputFrom: inputFrom as BXDatePickerInput,\n inputTo: inputTo as BXDatePickerInput,\n }),\n focusPlugin({\n inputFrom: inputFrom as BXDatePickerInput,\n inputTo: inputTo as BXDatePickerInput,\n }),\n iconPlugin(),\n monthSelectPlugin({\n selectorFlatpickrMonthYearContainer,\n selectorFlatpickrYearContainer,\n selectorFlatpickrCurrentMonth,\n classFlatpickrCurrentMonth,\n }),\n shadowDOMEventPlugin(),\n stateHandshakePlugin(this),\n ];\n if (mode === DATE_PICKER_MODE.RANGE) {\n // Flatpickr runs event handlers of last registered plugins first.\n // Ensures `onValueUpdate` of `rangePlugin` runs first\n // given Flatpickr puts `01/01/1970 to 01/02/1970` to from date\n // where `rangePlugin` overrides it to separate them to from/to dates.\n // We want to ensure our handler of `onValueUpdate` (notably one in `<cds-date-picker-input>`)\n // gets the `<input>` value set by `rangePlugin` instead of Flatpickr core.\n plugins.push(rangePlugin({ input: inputTo as HTMLInputElement }));\n }\n return plugins;\n }\n\n /**\n * @returns The options to instantiate Flatpickr with.\n */\n private get _datePickerOptions(): FlatpickrOptions {\n const {\n locale = (this.constructor as typeof BXDatePicker).defaultLocale,\n enabledRange,\n _dateInteractNode: dateInteractNode,\n _datePickerPlugins: plugins,\n _handleFlatpickrError: handleFlatpickrError,\n } = this;\n // We use `<cds-date-picker-input>` to communicate values/events with Flatpickr,\n // but want to use `<input>` in shadow DOM to base the calendar dropdown's position on\n const { input: positionElement } = dateInteractNode!;\n const [minDate = undefined, maxDate = undefined] = !enabledRange\n ? []\n : enabledRange.split('/');\n return {\n allowInput: true,\n dateFormat:\n this.dateFormat ??\n (this.constructor as typeof BXDatePicker).defaultDateFormat,\n disableMobile: true,\n errorHandler: handleFlatpickrError,\n locale,\n maxDate,\n minDate,\n positionElement,\n plugins,\n };\n }\n\n /**\n * Handles `${prefix}-date-picker-changed` event on this element.\n */\n @HostListener('eventChange')\n // @ts-ignore: The decorator refers to this method but TS thinks this method is not referred to\n private _handleChange = ({ detail }: CustomEvent) => {\n this._value = detail.selectedDates\n .map((date) => getISODateString(date))\n .join('/');\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 * Handles `slotchange` event in the `<slot>`.\n */\n private _handleSlotChange({ target }: Event) {\n const { _dateInteractNode: oldDateInteractNode } = this;\n const dateInteractNode = (target as HTMLSlotElement)\n .assignedNodes()\n .find(\n (node) =>\n node.nodeType === Node.ELEMENT_NODE &&\n (node as HTMLElement).matches(\n (this.constructor as typeof BXDatePicker).selectorInputFrom\n )\n );\n if (oldDateInteractNode !== dateInteractNode) {\n this._dateInteractNode = dateInteractNode as BXDatePickerInput;\n this._instantiateDatePicker();\n }\n }\n\n /**\n * Fires a custom event to notify an error in Flatpickr.\n */\n private _handleFlatpickrError = (error: Error) => {\n this.dispatchEvent(\n new CustomEvent(\n (this.constructor as typeof BXDatePicker).eventFlatpickrError,\n {\n bubbles: true,\n cancelable: false,\n composed: true,\n detail: {\n error,\n },\n }\n )\n );\n };\n\n /**\n * Instantiates Flatpickr.\n *\n * @returns The Flatpickr instance.\n */\n private _instantiateDatePicker() {\n this._releaseDatePicker();\n const { _dateInteractNode: dateInteractNode } = this;\n // `this._dateInteractNode` won't be there unless there is a slotted `<cds-date-input type=\"from\">`,\n // which means Flatpickr will never be instantiated in \"simple\" mode.\n if (dateInteractNode && dateInteractNode.input) {\n this.calendar = flatpickr(\n dateInteractNode as any,\n this._datePickerOptions\n );\n }\n return this.calendar;\n }\n\n /**\n * Releases Flatpickr instances.\n */\n private _releaseDatePicker() {\n if (this.calendar) {\n this.calendar.destroy();\n this.calendar = null;\n }\n return this.calendar;\n }\n\n /**\n * The Flatpickr instance.\n */\n calendar: FlatpickrInstance | null = null;\n\n /**\n * The date format to let Flatpickr use.\n */\n @property({ attribute: 'date-format' })\n dateFormat!: string;\n\n /**\n * Controls the disabled state of the input\n */\n @property({ type: Boolean, reflect: true })\n disabled = false;\n\n /**\n * The localization data.\n */\n @property({ attribute: false })\n locale!: FlatpickrLocale;\n\n /**\n * The date range that a user can pick in calendar dropdown.\n */\n @property({ attribute: 'enabled-range' })\n enabledRange!: string;\n\n /**\n * Name for the input in the `FormData`\n */\n @property()\n name = '';\n\n /**\n * `true` if the date picker should be open.\n */\n @property({ type: Boolean, reflect: true })\n open = false;\n\n /**\n * The date(s) in ISO8601 format (date portion only), for range mode, '/' is used for separate start/end dates.\n */\n @property()\n get value() {\n return this._value;\n }\n\n set value(value: string) {\n const { _value: oldValue } = this;\n this._value = value;\n this.requestUpdate('value', oldValue);\n }\n\n connectedCallback() {\n super.connectedCallback();\n this._instantiateDatePicker();\n }\n\n disconnectedCallback() {\n this._releaseDatePicker();\n super.disconnectedCallback();\n }\n\n updated(changedProperties) {\n const { calendar, disabled, open } = this;\n const { selectorInputFrom, selectorInputTo } = this\n .constructor as typeof BXDatePicker;\n const inputFrom = this.querySelector(\n selectorInputFrom\n ) as BXDatePickerInput;\n const inputTo = this.querySelector(selectorInputTo) as BXDatePickerInput;\n if (calendar && changedProperties.has('dateFormat')) {\n const { dateFormat } = this;\n calendar.set({ dateFormat });\n }\n if (changedProperties.has('enabledRange')) {\n const { enabledRange } = this;\n const dates = enabledRange\n .split('/')\n .map((item) => (!item ? undefined : parseISODateString(item))); // Allows empty start/end\n if (dates.some((item) => Boolean(item && isNaN(Number(item))))) {\n // Allows empty start/end\n throw new Error(\n `Wrong date format found in \\`enabledRange\\` property: ${enabledRange}`\n );\n }\n const [minDate, maxDate] = dates;\n if (minDate && maxDate && minDate > maxDate) {\n throw new Error(\n `In \\`enabledRange\\` property, the end date shouldn't be smaller than the start date. You have: ${enabledRange}`\n );\n }\n if (calendar) {\n calendar.set({ minDate, maxDate });\n }\n }\n if (changedProperties.has('open') && calendar) {\n if (open) {\n calendar.open();\n } else {\n calendar.close();\n }\n }\n if (changedProperties.has('disabled')) {\n [inputFrom, inputTo].forEach((input) => {\n if (input) {\n input.disabled = disabled;\n }\n });\n }\n if (changedProperties.has('value')) {\n const { value } = this;\n const dates = value\n .split('/')\n .filter(Boolean)\n .map((item) => parseISODateString(item));\n if (dates.some((item) => isNaN(Number(item)))) {\n throw new Error(\n `Wrong date format found in \\`value\\` property: ${value}`\n );\n }\n const [startDate, endDate] = dates;\n if (startDate && endDate && startDate > endDate) {\n throw new Error(\n `In \\`value\\` property, the end date shouldn't be smaller than the start date. You have: ${value}`\n );\n }\n if (calendar) {\n calendar.setDate(dates);\n [inputFrom, inputTo].forEach((input, i) => {\n if (input) {\n input.value = !dates[i]\n ? ''\n : calendar.formatDate(\n new Date(dates[i]),\n calendar.config.dateFormat\n );\n }\n });\n }\n }\n }\n\n render() {\n const { _handleSlotChange: handleSlotChange } = this;\n return html`\n <a\n class=\"${prefix}--visually-hidden\"\n href=\"javascript:void 0\"\n role=\"navigation\"></a>\n <slot @slotchange=\"${handleSlotChange}\"></slot>\n <div id=\"floating-menu-container\"></div>\n <a\n class=\"${prefix}--visually-hidden\"\n href=\"javascript:void 0\"\n role=\"navigation\"></a>\n `;\n }\n\n /**\n * The CSS selector for Flatpickr's month/year portion.\n */\n private static _selectorFlatpickrMonthYearContainer =\n '.flatpickr-current-month';\n\n /**\n * The CSS selector for Flatpickr's year portion.\n */\n private static _selectorFlatpickrYearContainer = '.numInputWrapper';\n\n /**\n * The CSS selector for the inner element of Flatpickr's month portion.\n */\n private static _selectorFlatpickrCurrentMonth = '.cur-month';\n\n /**\n * The CSS selector for Flatpickr's month navigator.\n */\n private static _selectorFlatpickrMonth = '.flatpickr-month';\n\n /**\n * The CSS selector for Flatpickr's container of the weekdays.\n */\n private static _selectorFlatpickrWeekdays = '.flatpickr-weekdays';\n\n /**\n * The CSS selector for Flatpickr's container of the days.\n */\n private static _selectorFlatpickrDays = '.flatpickr-days';\n\n /**\n * The CSS selector applied to Flatpickr's each weekdays.\n */\n private static _selectorFlatpickrWeekday = '.flatpickr-weekday';\n\n /**\n * The CSS selector applied to Flatpickr's each days.\n */\n private static _selectorFlatpickrDay = '.flatpickr-day';\n\n /**\n * The CSS class for the inner element of Flatpickr's month portion.\n */\n private static _classFlatpickrCurrentMonth = 'cur-month';\n\n /**\n * The CSS class applied to Flatpickr's \"today\" highlight.\n */\n private static _classFlatpickrToday = 'today';\n\n /**\n * The CSS class for the calendar dropdown.\n */\n static get classCalendarContainer() {\n return `${prefix}--date-picker__calendar`;\n }\n\n /**\n * The CSS class for the month navigator.\n */\n static get classMonth() {\n return `${prefix}--date-picker__month`;\n }\n\n /**\n * The CSS class for the container of the weekdays.\n */\n static get classWeekdays() {\n return `${prefix}--date-picker__weekdays`;\n }\n\n /**\n * The CSS class for the container of the days.\n */\n static get classDays() {\n return `${prefix}--date-picker__days`;\n }\n\n /**\n * The CSS class applied to each weekdays.\n */\n static get classWeekday() {\n return `${prefix}--date-picker__weekday`;\n }\n\n /**\n * The CSS class applied to each days.\n */\n static get classDay() {\n return `${prefix}--date-picker__day`;\n }\n\n /**\n * The CSS class applied to the \"today\" highlight if there are any dates selected.\n */\n static classNoBorder = 'no-border';\n\n /**\n * The default date format.\n */\n static defaultDateFormat = 'm/d/Y';\n\n /**\n * The default localization data.\n */\n static defaultLocale = flatpickr.l10ns.default;\n\n /**\n * A selector that will return the `<input>` to enter starting date.\n */\n static get selectorInputFrom() {\n return `${prefix}-date-picker-input[kind=\"single\"],${prefix}-date-picker-input[kind=\"from\"]`;\n }\n\n /**\n * A selector that will return the `<input>` to enter end date.\n */\n static get selectorInputTo() {\n return `${prefix}-date-picker-input[kind=\"to\"]`;\n }\n\n /**\n * The name of the custom event when Flatpickr throws an error.\n */\n static get eventFlatpickrError() {\n return `${prefix}-date-picker-flatpickr-error`;\n }\n\n /**\n * The name of the custom event fired on this element when Flatpickr updates its value.\n */\n static get eventChange() {\n return `${prefix}-date-picker-changed`;\n }\n\n static styles = styles;\n}\n\nexport default BXDatePicker;\n"]}
1
+ {"version":3,"sources":["components/date-picker/date-picker.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAGvC,OAAO,EAAE,QAAQ,IAAI,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAC9E,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,6BAA6B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AC,MAAM,CAAC,oBAAoB,CAAW;IAE9C;;OAEG;IACH,MAAM,KAAK,sBAAsB,WAEhC;IAED;;OAEG;IACH,MAAM,KAAK,UAAU,WAEpB;IAED;;OAEG;IACH,MAAM,KAAK,aAAa,WAEvB;IAED;;OAEG;IACH,MAAM,KAAK,SAAS,WAEnB;IAED;;OAEG;IACH,MAAM,KAAK,YAAY,WAEtB;IAED;;OAEG;IACH,MAAM,KAAK,QAAQ,WAElB;IAED;;OAEG;IACH,MAAM,CAAC,aAAa,SAAe;IAEnC;;OAEG;IACH,MAAM,CAAC,iBAAiB,SAAW;IAEnC;;OAEG;IACH,MAAM,CAAC,aAAa,uEAA2B;IAE/C;;OAEG;IACH,MAAM,KAAK,iBAAiB,WAE3B;IAED;;OAEG;IACH,MAAM,KAAK,eAAe,WAEzB;IAED;;OAEG;IACH,MAAM,KAAK,mBAAmB,WAE7B;IAED;;OAEG;IACH,MAAM,KAAK,WAAW,WAErB;IAED,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,aAAa,CAAC","file":"date-picker.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, query } from 'lit/decorators.js';\nimport flatpickr from 'flatpickr';\nimport { Instance as FlatpickrInstance } from 'flatpickr/dist/types/instance';\nimport { Locale as FlatpickrLocale } from 'flatpickr/dist/types/locale';\nimport {\n Options as FlatpickrOptions,\n Plugin as FlatpickrPlugin,\n} from 'flatpickr/dist/types/options';\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 { getISODateString, parseISODateString } from './iso-date';\nimport CDSDatePickerInput from './date-picker-input';\nimport appendToPlugin from './append-to-plugin';\nimport cssClassPlugin from './css-class-plugin';\nimport fixEventsPlugin from './fix-events-plugin';\nimport focusPlugin from './focus-plugin';\nimport iconPlugin from './icon-plugin';\nimport monthSelectPlugin from './month-select-plugin';\nimport rangePlugin from './range-plugin';\nimport shadowDOMEventPlugin from './shadow-dom-events-plugin';\nimport stateHandshakePlugin from './state-handshake-plugin';\nimport styles from './date-picker.scss';\n\n/**\n * Date picker modes.\n */\nenum DATE_PICKER_MODE {\n /**\n * Simple mode, without calendar dropdown.\n */\n SIMPLE = 'simple',\n\n /**\n * Single date mode.\n */\n SINGLE = 'single',\n\n /**\n * Range mode.\n */\n RANGE = 'range',\n}\n\n// Weekdays shorthand for english locale\nflatpickr!.l10ns!.en!.weekdays.shorthand.forEach((_day, index) => {\n const currentDay = flatpickr!.l10ns!.en!.weekdays.shorthand;\n if (currentDay[index] === 'Thu' || currentDay[index] === 'Th') {\n currentDay[index] = 'Th';\n } else {\n currentDay[index] = currentDay[index].charAt(0);\n }\n});\n\n/**\n * Date picker.\n *\n * @element cds-date-picker\n * @fires cds-date-picker-changed - The custom event fired on this element when Flatpickr updates its value.\n */\n@customElement(`${prefix}-date-picker`)\nclass CDSDatePicker extends HostListenerMixin(FormMixin(LitElement)) {\n /**\n * The slotted `<cds-date-input kind=\"from\">`.\n */\n private _dateInteractNode: CDSDatePickerInput | null = null;\n\n /**\n * The element to put calendar dropdown in.\n */\n @query('#floating-menu-container')\n private _floatingMenuContainerNode!: HTMLDivElement;\n\n /**\n * The internal placeholder for the `value` property.\n */\n private _value!: string;\n\n /**\n * @returns The effective date picker mode, determined by the child `<cds-date-picker-input>`.\n */\n private get _mode() {\n const { selectorInputFrom, selectorInputTo } = this\n .constructor as typeof CDSDatePicker;\n if (this.querySelector(selectorInputTo)) {\n return DATE_PICKER_MODE.RANGE;\n }\n if (this.querySelector(selectorInputFrom)) {\n return DATE_PICKER_MODE.SINGLE;\n }\n return DATE_PICKER_MODE.SIMPLE;\n }\n\n /**\n * @returns The Flatpickr plugins to use.\n */\n private get _datePickerPlugins(): FlatpickrPlugin[] {\n const {\n classCalendarContainer,\n classMonth,\n classWeekdays,\n classDays,\n classWeekday,\n classDay,\n classNoBorder,\n selectorInputFrom,\n selectorInputTo,\n _selectorFlatpickrMonthYearContainer: selectorFlatpickrMonthYearContainer,\n _selectorFlatpickrYearContainer: selectorFlatpickrYearContainer,\n _selectorFlatpickrCurrentMonth: selectorFlatpickrCurrentMonth,\n _selectorFlatpickrMonth: selectorFlatpickrMonth,\n _selectorFlatpickrWeekdays: selectorFlatpickrWeekdays,\n _selectorFlatpickrDays: selectorFlatpickrDays,\n _selectorFlatpickrWeekday: selectorFlatpickrWeekday,\n _selectorFlatpickrDay: selectorFlatpickrDay,\n _classFlatpickrCurrentMonth: classFlatpickrCurrentMonth,\n _classFlatpickrToday: classFlatpickrToday,\n } = this.constructor as typeof CDSDatePicker;\n const {\n _floatingMenuContainerNode: floatingMenuContainerNode,\n _mode: mode,\n } = this;\n const inputFrom = this.querySelector(selectorInputFrom);\n const inputTo = this.querySelector(selectorInputTo);\n const plugins = [\n appendToPlugin({ appendTo: floatingMenuContainerNode }),\n cssClassPlugin({\n classCalendarContainer,\n classMonth,\n classWeekdays,\n classDays,\n classWeekday,\n classDay,\n classNoBorder,\n selectorFlatpickrMonth,\n selectorFlatpickrWeekdays,\n selectorFlatpickrDays,\n selectorFlatpickrWeekday,\n selectorFlatpickrDay,\n classFlatpickrToday,\n }),\n fixEventsPlugin({\n inputFrom: inputFrom as CDSDatePickerInput,\n inputTo: inputTo as CDSDatePickerInput,\n }),\n focusPlugin({\n inputFrom: inputFrom as CDSDatePickerInput,\n inputTo: inputTo as CDSDatePickerInput,\n }),\n iconPlugin(),\n monthSelectPlugin({\n selectorFlatpickrMonthYearContainer,\n selectorFlatpickrYearContainer,\n selectorFlatpickrCurrentMonth,\n classFlatpickrCurrentMonth,\n }),\n shadowDOMEventPlugin(),\n stateHandshakePlugin(this),\n ];\n if (mode === DATE_PICKER_MODE.RANGE) {\n // Flatpickr runs event handlers of last registered plugins first.\n // Ensures `onValueUpdate` of `rangePlugin` runs first\n // given Flatpickr puts `01/01/1970 to 01/02/1970` to from date\n // where `rangePlugin` overrides it to separate them to from/to dates.\n // We want to ensure our handler of `onValueUpdate` (notably one in `<cds-date-picker-input>`)\n // gets the `<input>` value set by `rangePlugin` instead of Flatpickr core.\n plugins.push(rangePlugin({ input: inputTo as HTMLInputElement }));\n }\n return plugins;\n }\n\n /**\n * @returns The options to instantiate Flatpickr with.\n */\n private get _datePickerOptions(): FlatpickrOptions {\n const {\n locale = (this.constructor as typeof CDSDatePicker).defaultLocale,\n enabledRange,\n _dateInteractNode: dateInteractNode,\n _datePickerPlugins: plugins,\n _handleFlatpickrError: handleFlatpickrError,\n } = this;\n // We use `<cds-date-picker-input>` to communicate values/events with Flatpickr,\n // but want to use `<input>` in shadow DOM to base the calendar dropdown's position on\n const { input: positionElement } = dateInteractNode!;\n const [minDate = undefined, maxDate = undefined] = !enabledRange\n ? []\n : enabledRange.split('/');\n return {\n allowInput: this.allowInput,\n closeOnSelect: this.closeOnSelect,\n dateFormat:\n this.dateFormat ??\n (this.constructor as typeof CDSDatePicker).defaultDateFormat,\n disableMobile: true,\n errorHandler: handleFlatpickrError,\n locale,\n maxDate,\n minDate,\n positionElement,\n plugins,\n };\n }\n\n /**\n * Handles `${prefix}-date-picker-changed` event on this element.\n */\n @HostListener('eventChange')\n // @ts-ignore: The decorator refers to this method but TS thinks this method is not referred to\n private _handleChange = ({ detail }: CustomEvent) => {\n this._value = detail.selectedDates\n .map((date) => getISODateString(date))\n .join('/');\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 * Handles `slotchange` event in the `<slot>`.\n */\n private _handleSlotChange({ target }: Event) {\n const { _dateInteractNode: oldDateInteractNode } = this;\n const dateInteractNode = (target as HTMLSlotElement)\n .assignedNodes()\n .find(\n (node) =>\n node.nodeType === Node.ELEMENT_NODE &&\n (node as HTMLElement).matches(\n (this.constructor as typeof CDSDatePicker).selectorInputFrom\n )\n );\n if (oldDateInteractNode !== dateInteractNode) {\n this._dateInteractNode = dateInteractNode as CDSDatePickerInput;\n this._instantiateDatePicker();\n }\n }\n\n /**\n * Fires a custom event to notify an error in Flatpickr.\n */\n private _handleFlatpickrError = (error: Error) => {\n this.dispatchEvent(\n new CustomEvent(\n (this.constructor as typeof CDSDatePicker).eventFlatpickrError,\n {\n bubbles: true,\n cancelable: false,\n composed: true,\n detail: {\n error,\n },\n }\n )\n );\n };\n\n /**\n * Instantiates Flatpickr.\n *\n * @returns The Flatpickr instance.\n */\n private _instantiateDatePicker() {\n this._releaseDatePicker();\n const { _dateInteractNode: dateInteractNode } = this;\n // `this._dateInteractNode` won't be there unless there is a slotted `<cds-date-input type=\"from\">`,\n // which means Flatpickr will never be instantiated in \"simple\" mode.\n if (dateInteractNode && dateInteractNode.input) {\n this.calendar = flatpickr(\n dateInteractNode as any,\n this._datePickerOptions\n );\n }\n return this.calendar;\n }\n\n /**\n * Releases Flatpickr instances.\n */\n private _releaseDatePicker() {\n if (this.calendar) {\n this.calendar.destroy();\n this.calendar = null;\n }\n return this.calendar;\n }\n\n /**\n * The Flatpickr instance.\n */\n calendar: FlatpickrInstance | null = null;\n\n /**\n * flatpickr prop passthrough. Allows the user to enter a date directly into the input field\n */\n @property({ type: Boolean, reflect: true, attribute: 'allow-input' })\n allowInput = true;\n\n /**\n * flatpickr prop passthrough. Controls whether the calendar dropdown closes upon selection.\n */\n @property({ type: Boolean, reflect: true, attribute: 'close-on-select' })\n closeOnSelect = true;\n\n /**\n * The date format to let Flatpickr use.\n */\n @property({ attribute: 'date-format' })\n dateFormat!: string;\n\n /**\n * Controls the disabled state of the input\n */\n @property({ type: Boolean, reflect: true })\n disabled = false;\n\n /**\n * The localization data.\n */\n @property({ attribute: false })\n locale!: FlatpickrLocale;\n\n /**\n * The date range that a user can pick in calendar dropdown.\n */\n @property({ attribute: 'enabled-range' })\n enabledRange!: string;\n\n /**\n * The minimum date that a user can start picking from.\n */\n @property({ attribute: 'min-date' })\n minDate!: string;\n\n /**\n * The maximum date that a user can start picking from.\n */\n @property({ attribute: 'max-date' })\n maxDate!: string;\n\n /**\n * Name for the input in the `FormData`\n */\n @property()\n name = '';\n\n /**\n * `true` if the date picker should be open.\n */\n @property({ type: Boolean, reflect: true })\n open = false;\n\n /**\n * Specify if the component should be read-only\n */\n @property({ type: Boolean, reflect: true })\n readonly = false;\n\n /**\n * The date(s) in ISO8601 format (date portion only), for range mode, '/' is used for separate start/end dates.\n */\n @property()\n get value() {\n return this._value;\n }\n\n set value(value: string) {\n const { _value: oldValue } = this;\n this._value = value;\n this.requestUpdate('value', oldValue);\n }\n\n connectedCallback() {\n super.connectedCallback();\n this._instantiateDatePicker();\n }\n\n disconnectedCallback() {\n this._releaseDatePicker();\n super.disconnectedCallback();\n }\n\n updated(changedProperties) {\n const { calendar, disabled, open, readonly } = this;\n const { selectorInputFrom, selectorInputTo } = this\n .constructor as typeof CDSDatePicker;\n const inputFrom = this.querySelector(\n selectorInputFrom\n ) as CDSDatePickerInput;\n const inputTo = this.querySelector(selectorInputTo) as CDSDatePickerInput;\n if (calendar && changedProperties.has('dateFormat')) {\n const { dateFormat } = this;\n calendar.set({ dateFormat });\n }\n if (changedProperties.has('minDate') || changedProperties.has('maxDate')) {\n const { minDate, maxDate } = this;\n if (!parseISODateString(minDate)) {\n // Allows empty start/end\n throw new Error(\n `Wrong date format found in \\`minDate\\` property: ${minDate}`\n );\n }\n if (!parseISODateString(maxDate)) {\n // Allows empty start/end\n throw new Error(\n `Wrong date format found in \\`maxDate\\` property: ${maxDate}`\n );\n }\n if (minDate && maxDate && minDate > maxDate) {\n throw new Error(\n `\\`maxDate\\` property, shouldn't be smaller than the \\`minDate\\` property. You have: minDate: ${minDate}, maxDate: ${maxDate}`\n );\n }\n if (calendar) {\n calendar.set({ minDate, maxDate });\n }\n }\n\n if (changedProperties.has('open') && calendar) {\n if (open && !readonly) {\n calendar.open();\n } else {\n calendar.close();\n }\n }\n if (\n changedProperties.has('disabled') ||\n changedProperties.has('readonly')\n ) {\n [inputFrom, inputTo].forEach((input) => {\n if (input) {\n input.disabled = disabled;\n input.readonly = readonly;\n }\n });\n }\n if (changedProperties.has('value')) {\n const { value } = this;\n const dates = value\n .split('/')\n .filter(Boolean)\n .map((item) => parseISODateString(item));\n if (dates.some((item) => isNaN(Number(item)))) {\n throw new Error(\n `Wrong date format found in \\`value\\` property: ${value}`\n );\n }\n const [startDate, endDate] = dates;\n if (startDate && endDate && startDate > endDate) {\n throw new Error(\n `In \\`value\\` property, the end date shouldn't be smaller than the start date. You have: ${value}`\n );\n }\n if (calendar) {\n calendar.setDate(dates);\n [inputFrom, inputTo].forEach((input, i) => {\n if (input) {\n input.value = !dates[i]\n ? ''\n : calendar.formatDate(\n new Date(dates[i]),\n calendar.config.dateFormat\n );\n }\n });\n }\n }\n }\n\n render() {\n const { _handleSlotChange: handleSlotChange } = this;\n return html`\n <a\n class=\"${prefix}--visually-hidden\"\n href=\"javascript:void 0\"\n role=\"navigation\"></a>\n <slot @slotchange=\"${handleSlotChange}\"></slot>\n <div id=\"floating-menu-container\"></div>\n <a\n class=\"${prefix}--visually-hidden\"\n href=\"javascript:void 0\"\n role=\"navigation\"></a>\n `;\n }\n\n /**\n * The CSS selector for Flatpickr's month/year portion.\n */\n private static _selectorFlatpickrMonthYearContainer =\n '.flatpickr-current-month';\n\n /**\n * The CSS selector for Flatpickr's year portion.\n */\n private static _selectorFlatpickrYearContainer = '.numInputWrapper';\n\n /**\n * The CSS selector for the inner element of Flatpickr's month portion.\n */\n private static _selectorFlatpickrCurrentMonth = '.cur-month';\n\n /**\n * The CSS selector for Flatpickr's month navigator.\n */\n private static _selectorFlatpickrMonth = '.flatpickr-month';\n\n /**\n * The CSS selector for Flatpickr's container of the weekdays.\n */\n private static _selectorFlatpickrWeekdays = '.flatpickr-weekdays';\n\n /**\n * The CSS selector for Flatpickr's container of the days.\n */\n private static _selectorFlatpickrDays = '.flatpickr-days';\n\n /**\n * The CSS selector applied to Flatpickr's each weekdays.\n */\n private static _selectorFlatpickrWeekday = '.flatpickr-weekday';\n\n /**\n * The CSS selector applied to Flatpickr's each days.\n */\n private static _selectorFlatpickrDay = '.flatpickr-day';\n\n /**\n * The CSS class for the inner element of Flatpickr's month portion.\n */\n private static _classFlatpickrCurrentMonth = 'cur-month';\n\n /**\n * The CSS class applied to Flatpickr's \"today\" highlight.\n */\n private static _classFlatpickrToday = 'today';\n\n /**\n * The CSS class for the calendar dropdown.\n */\n static get classCalendarContainer() {\n return `${prefix}--date-picker__calendar`;\n }\n\n /**\n * The CSS class for the month navigator.\n */\n static get classMonth() {\n return `${prefix}--date-picker__month`;\n }\n\n /**\n * The CSS class for the container of the weekdays.\n */\n static get classWeekdays() {\n return `${prefix}--date-picker__weekdays`;\n }\n\n /**\n * The CSS class for the container of the days.\n */\n static get classDays() {\n return `${prefix}--date-picker__days`;\n }\n\n /**\n * The CSS class applied to each weekdays.\n */\n static get classWeekday() {\n return `${prefix}--date-picker__weekday`;\n }\n\n /**\n * The CSS class applied to each days.\n */\n static get classDay() {\n return `${prefix}--date-picker__day`;\n }\n\n /**\n * The CSS class applied to the \"today\" highlight if there are any dates selected.\n */\n static classNoBorder = 'no-border';\n\n /**\n * The default date format.\n */\n static defaultDateFormat = 'm/d/Y';\n\n /**\n * The default localization data.\n */\n static defaultLocale = flatpickr.l10ns.default;\n\n /**\n * A selector that will return the `<input>` to enter starting date.\n */\n static get selectorInputFrom() {\n return `${prefix}-date-picker-input,${prefix}-date-picker-input[kind=\"from\"]`;\n }\n\n /**\n * A selector that will return the `<input>` to enter end date.\n */\n static get selectorInputTo() {\n return `${prefix}-date-picker-input[kind=\"to\"]`;\n }\n\n /**\n * The name of the custom event when Flatpickr throws an error.\n */\n static get eventFlatpickrError() {\n return `${prefix}-date-picker-flatpickr-error`;\n }\n\n /**\n * The name of the custom event fired on this element when Flatpickr updates its value.\n */\n static get eventChange() {\n return `${prefix}-date-picker-changed`;\n }\n\n static styles = styles;\n}\n\nexport default CDSDatePicker;\n"]}
@@ -36,27 +36,36 @@ import styles from "././date-picker.css.js";
36
36
  */ /**
37
37
  * Date picker modes.
38
38
  */
39
- var DATE_PICKER_MODE;
39
+ var DATE_PICKER_MODE; // Weekdays shorthand for english locale
40
+ (function (DATE_PICKER_MODE) {
41
+ DATE_PICKER_MODE["SIMPLE"] = "simple";
42
+ DATE_PICKER_MODE["SINGLE"] = "single";
43
+ DATE_PICKER_MODE["RANGE"] = "range";
44
+ })(DATE_PICKER_MODE || (DATE_PICKER_MODE = {}));
45
+ flatpickr.l10ns.en.weekdays.shorthand.forEach((_day, index) => {
46
+ const currentDay = flatpickr.l10ns.en.weekdays.shorthand;
47
+ if (currentDay[index] === 'Thu' || currentDay[index] === 'Th') {
48
+ currentDay[index] = 'Th';
49
+ } else {
50
+ currentDay[index] = currentDay[index].charAt(0);
51
+ }
52
+ });
53
+
40
54
  /**
41
55
  * Date picker.
42
56
  *
43
57
  * @element cds-date-picker
44
58
  * @fires cds-date-picker-changed - The custom event fired on this element when Flatpickr updates its value.
45
59
  */
46
- (function (DATE_PICKER_MODE) {
47
- DATE_PICKER_MODE["SIMPLE"] = "simple";
48
- DATE_PICKER_MODE["SINGLE"] = "single";
49
- DATE_PICKER_MODE["RANGE"] = "range";
50
- })(DATE_PICKER_MODE || (DATE_PICKER_MODE = {}));
51
- let BXDatePicker = _decorate([customElement(`${prefix}-date-picker`)], function (_initialize, _HostListenerMixin) {
52
- class BXDatePicker extends _HostListenerMixin {
60
+ let CDSDatePicker = _decorate([customElement(`${prefix}-date-picker`)], function (_initialize, _HostListenerMixin) {
61
+ class CDSDatePicker extends _HostListenerMixin {
53
62
  constructor(...args) {
54
63
  super(...args);
55
64
  _initialize(this);
56
65
  }
57
66
  }
58
67
  return {
59
- F: BXDatePicker,
68
+ F: CDSDatePicker,
60
69
  d: [{
61
70
  kind: "field",
62
71
  key: "_dateInteractNode",
@@ -195,7 +204,8 @@ let BXDatePicker = _decorate([customElement(`${prefix}-date-picker`)], function
195
204
  } = dateInteractNode;
196
205
  const [minDate = undefined, maxDate = undefined] = !enabledRange ? [] : enabledRange.split('/');
197
206
  return {
198
- allowInput: true,
207
+ allowInput: this.allowInput,
208
+ closeOnSelect: this.closeOnSelect,
199
209
  dateFormat: (_this$dateFormat = this.dateFormat) !== null && _this$dateFormat !== void 0 ? _this$dateFormat : this.constructor.defaultDateFormat,
200
210
  disableMobile: true,
201
211
  errorHandler: handleFlatpickrError,
@@ -320,6 +330,28 @@ let BXDatePicker = _decorate([customElement(`${prefix}-date-picker`)], function
320
330
  value() {
321
331
  return null;
322
332
  }
333
+ }, {
334
+ kind: "field",
335
+ decorators: [property({
336
+ type: Boolean,
337
+ reflect: true,
338
+ attribute: 'allow-input'
339
+ })],
340
+ key: "allowInput",
341
+ value() {
342
+ return true;
343
+ }
344
+ }, {
345
+ kind: "field",
346
+ decorators: [property({
347
+ type: Boolean,
348
+ reflect: true,
349
+ attribute: 'close-on-select'
350
+ })],
351
+ key: "closeOnSelect",
352
+ value() {
353
+ return true;
354
+ }
323
355
  }, {
324
356
  kind: "field",
325
357
  decorators: [property({
@@ -351,6 +383,20 @@ let BXDatePicker = _decorate([customElement(`${prefix}-date-picker`)], function
351
383
  })],
352
384
  key: "enabledRange",
353
385
  value: void 0
386
+ }, {
387
+ kind: "field",
388
+ decorators: [property({
389
+ attribute: 'min-date'
390
+ })],
391
+ key: "minDate",
392
+ value: void 0
393
+ }, {
394
+ kind: "field",
395
+ decorators: [property({
396
+ attribute: 'max-date'
397
+ })],
398
+ key: "maxDate",
399
+ value: void 0
354
400
  }, {
355
401
  kind: "field",
356
402
  decorators: [property()],
@@ -368,11 +414,27 @@ let BXDatePicker = _decorate([customElement(`${prefix}-date-picker`)], function
368
414
  value() {
369
415
  return false;
370
416
  }
417
+ }, {
418
+ kind: "field",
419
+ decorators: [property({
420
+ type: Boolean,
421
+ reflect: true
422
+ })],
423
+ key: "readonly",
424
+ value() {
425
+ return false;
426
+ }
371
427
  }, {
372
428
  kind: "get",
373
429
  decorators: [property()],
374
430
  key: "value",
375
431
  value:
432
+ /**
433
+ * flatpickr prop passthrough. Allows the user to enter a date directly into the input field
434
+ */
435
+ /**
436
+ * flatpickr prop passthrough. Controls whether the calendar dropdown closes upon selection.
437
+ */
376
438
  /**
377
439
  * The date format to let Flatpickr use.
378
440
  */
@@ -385,12 +447,21 @@ let BXDatePicker = _decorate([customElement(`${prefix}-date-picker`)], function
385
447
  /**
386
448
  * The date range that a user can pick in calendar dropdown.
387
449
  */
450
+ /**
451
+ * The minimum date that a user can start picking from.
452
+ */
453
+ /**
454
+ * The maximum date that a user can start picking from.
455
+ */
388
456
  /**
389
457
  * Name for the input in the `FormData`
390
458
  */
391
459
  /**
392
460
  * `true` if the date picker should be open.
393
461
  */
462
+ /**
463
+ * Specify if the component should be read-only
464
+ */
394
465
  /**
395
466
  * The date(s) in ISO8601 format (date portion only), for range mode, '/' is used for separate start/end dates.
396
467
  */
@@ -411,7 +482,7 @@ let BXDatePicker = _decorate([customElement(`${prefix}-date-picker`)], function
411
482
  kind: "method",
412
483
  key: "connectedCallback",
413
484
  value: function connectedCallback() {
414
- _get(_getPrototypeOf(BXDatePicker.prototype), "connectedCallback", this).call(this);
485
+ _get(_getPrototypeOf(CDSDatePicker.prototype), "connectedCallback", this).call(this);
415
486
  this._instantiateDatePicker();
416
487
  }
417
488
  }, {
@@ -419,7 +490,7 @@ let BXDatePicker = _decorate([customElement(`${prefix}-date-picker`)], function
419
490
  key: "disconnectedCallback",
420
491
  value: function disconnectedCallback() {
421
492
  this._releaseDatePicker();
422
- _get(_getPrototypeOf(BXDatePicker.prototype), "disconnectedCallback", this).call(this);
493
+ _get(_getPrototypeOf(CDSDatePicker.prototype), "disconnectedCallback", this).call(this);
423
494
  }
424
495
  }, {
425
496
  kind: "method",
@@ -428,7 +499,8 @@ let BXDatePicker = _decorate([customElement(`${prefix}-date-picker`)], function
428
499
  const {
429
500
  calendar,
430
501
  disabled,
431
- open
502
+ open,
503
+ readonly
432
504
  } = this;
433
505
  const {
434
506
  selectorInputFrom,
@@ -444,18 +516,21 @@ let BXDatePicker = _decorate([customElement(`${prefix}-date-picker`)], function
444
516
  dateFormat
445
517
  });
446
518
  }
447
- if (changedProperties.has('enabledRange')) {
519
+ if (changedProperties.has('minDate') || changedProperties.has('maxDate')) {
448
520
  const {
449
- enabledRange
521
+ minDate,
522
+ maxDate
450
523
  } = this;
451
- const dates = enabledRange.split('/').map(item => !item ? undefined : parseISODateString(item)); // Allows empty start/end
452
- if (dates.some(item => Boolean(item && isNaN(Number(item))))) {
524
+ if (!parseISODateString(minDate)) {
525
+ // Allows empty start/end
526
+ throw new Error(`Wrong date format found in \`minDate\` property: ${minDate}`);
527
+ }
528
+ if (!parseISODateString(maxDate)) {
453
529
  // Allows empty start/end
454
- throw new Error(`Wrong date format found in \`enabledRange\` property: ${enabledRange}`);
530
+ throw new Error(`Wrong date format found in \`maxDate\` property: ${maxDate}`);
455
531
  }
456
- const [minDate, maxDate] = dates;
457
532
  if (minDate && maxDate && minDate > maxDate) {
458
- throw new Error(`In \`enabledRange\` property, the end date shouldn't be smaller than the start date. You have: ${enabledRange}`);
533
+ throw new Error(`\`maxDate\` property, shouldn't be smaller than the \`minDate\` property. You have: minDate: ${minDate}, maxDate: ${maxDate}`);
459
534
  }
460
535
  if (calendar) {
461
536
  calendar.set({
@@ -465,16 +540,17 @@ let BXDatePicker = _decorate([customElement(`${prefix}-date-picker`)], function
465
540
  }
466
541
  }
467
542
  if (changedProperties.has('open') && calendar) {
468
- if (open) {
543
+ if (open && !readonly) {
469
544
  calendar.open();
470
545
  } else {
471
546
  calendar.close();
472
547
  }
473
548
  }
474
- if (changedProperties.has('disabled')) {
549
+ if (changedProperties.has('disabled') || changedProperties.has('readonly')) {
475
550
  [inputFrom, inputTo].forEach(input => {
476
551
  if (input) {
477
552
  input.disabled = disabled;
553
+ input.readonly = readonly;
478
554
  }
479
555
  });
480
556
  }
@@ -727,7 +803,7 @@ let BXDatePicker = _decorate([customElement(`${prefix}-date-picker`)], function
727
803
  * A selector that will return the `<input>` to enter starting date.
728
804
  */
729
805
  function selectorInputFrom() {
730
- return `${prefix}-date-picker-input[kind="single"],${prefix}-date-picker-input[kind="from"]`;
806
+ return `${prefix}-date-picker-input,${prefix}-date-picker-input[kind="from"]`;
731
807
  }
732
808
 
733
809
  /**
@@ -772,5 +848,5 @@ let BXDatePicker = _decorate([customElement(`${prefix}-date-picker`)], function
772
848
  }]
773
849
  };
774
850
  }, HostListenerMixin(FormMixin(LitElement)));
775
- export default BXDatePicker;
851
+ export default CDSDatePicker;
776
852
  //# sourceMappingURL=date-picker.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"date-picker.js","names":["LitElement","html","property","customElement","query","flatpickr","prefix","FormMixin","HostListenerMixin","HostListener","getISODateString","parseISODateString","appendToPlugin","cssClassPlugin","fixEventsPlugin","focusPlugin","iconPlugin","monthSelectPlugin","rangePlugin","shadowDOMEventPlugin","stateHandshakePlugin","styles","DATE_PICKER_MODE","BXDatePicker","_decorate","_initialize","_HostListenerMixin","constructor","args","F","d","kind","key","value","decorators","_mode","selectorInputFrom","selectorInputTo","querySelector","RANGE","SINGLE","SIMPLE","_datePickerPlugins","classCalendarContainer","classMonth","classWeekdays","classDays","classWeekday","classDay","classNoBorder","_selectorFlatpickrMonthYearContainer","selectorFlatpickrMonthYearContainer","_selectorFlatpickrYearContainer","selectorFlatpickrYearContainer","_selectorFlatpickrCurrentMonth","selectorFlatpickrCurrentMonth","_selectorFlatpickrMonth","selectorFlatpickrMonth","_selectorFlatpickrWeekdays","selectorFlatpickrWeekdays","_selectorFlatpickrDays","selectorFlatpickrDays","_selectorFlatpickrWeekday","selectorFlatpickrWeekday","_selectorFlatpickrDay","selectorFlatpickrDay","_classFlatpickrCurrentMonth","classFlatpickrCurrentMonth","_classFlatpickrToday","classFlatpickrToday","_floatingMenuContainerNode","floatingMenuContainerNode","mode","inputFrom","inputTo","plugins","appendTo","push","input","_datePickerOptions","_this$dateFormat","locale","defaultLocale","enabledRange","_dateInteractNode","dateInteractNode","_handleFlatpickrError","handleFlatpickrError","positionElement","minDate","undefined","maxDate","split","allowInput","dateFormat","defaultDateFormat","disableMobile","errorHandler","detail","_value","selectedDates","map","date","join","_handleFormdata","event","formData","disabled","name","append","_handleSlotChange","target","oldDateInteractNode","assignedNodes","find","node","nodeType","Node","ELEMENT_NODE","matches","_instantiateDatePicker","error","dispatchEvent","CustomEvent","eventFlatpickrError","bubbles","cancelable","composed","_releaseDatePicker","calendar","destroy","attribute","type","Boolean","reflect","oldValue","requestUpdate","connectedCallback","_get","_getPrototypeOf","prototype","call","disconnectedCallback","updated","changedProperties","open","has","set","dates","item","some","isNaN","Number","Error","close","forEach","filter","startDate","endDate","setDate","i","formatDate","Date","config","render","handleSlotChange","_t","_","static","l10ns","default","eventChange"],"sources":["components/date-picker/date-picker.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, query } from 'lit/decorators.js';\nimport flatpickr from 'flatpickr';\nimport { Instance as FlatpickrInstance } from 'flatpickr/dist/types/instance';\nimport { Locale as FlatpickrLocale } from 'flatpickr/dist/types/locale';\nimport {\n Options as FlatpickrOptions,\n Plugin as FlatpickrPlugin,\n} from 'flatpickr/dist/types/options';\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 { getISODateString, parseISODateString } from './iso-date';\nimport BXDatePickerInput from './date-picker-input';\nimport appendToPlugin from './append-to-plugin';\nimport cssClassPlugin from './css-class-plugin';\nimport fixEventsPlugin from './fix-events-plugin';\nimport focusPlugin from './focus-plugin';\nimport iconPlugin from './icon-plugin';\nimport monthSelectPlugin from './month-select-plugin';\nimport rangePlugin from './range-plugin';\nimport shadowDOMEventPlugin from './shadow-dom-events-plugin';\nimport stateHandshakePlugin from './state-handshake-plugin';\nimport styles from './date-picker.scss';\n\n/**\n * Date picker modes.\n */\nenum DATE_PICKER_MODE {\n /**\n * Simple mode, without calendar dropdown.\n */\n SIMPLE = 'simple',\n\n /**\n * Single date mode.\n */\n SINGLE = 'single',\n\n /**\n * Range mode.\n */\n RANGE = 'range',\n}\n\n/**\n * Date picker.\n *\n * @element cds-date-picker\n * @fires cds-date-picker-changed - The custom event fired on this element when Flatpickr updates its value.\n */\n@customElement(`${prefix}-date-picker`)\nclass BXDatePicker extends HostListenerMixin(FormMixin(LitElement)) {\n /**\n * The slotted `<cds-date-input kind=\"from\">`.\n */\n private _dateInteractNode: BXDatePickerInput | null = null;\n\n /**\n * The element to put calendar dropdown in.\n */\n @query('#floating-menu-container')\n private _floatingMenuContainerNode!: HTMLDivElement;\n\n /**\n * The internal placeholder for the `value` property.\n */\n private _value!: string;\n\n /**\n * @returns The effective date picker mode, determined by the child `<cds-date-picker-input>`.\n */\n private get _mode() {\n const { selectorInputFrom, selectorInputTo } = this\n .constructor as typeof BXDatePicker;\n if (this.querySelector(selectorInputTo)) {\n return DATE_PICKER_MODE.RANGE;\n }\n if (this.querySelector(selectorInputFrom)) {\n return DATE_PICKER_MODE.SINGLE;\n }\n return DATE_PICKER_MODE.SIMPLE;\n }\n\n /**\n * @returns The Flatpickr plugins to use.\n */\n private get _datePickerPlugins(): FlatpickrPlugin[] {\n const {\n classCalendarContainer,\n classMonth,\n classWeekdays,\n classDays,\n classWeekday,\n classDay,\n classNoBorder,\n selectorInputFrom,\n selectorInputTo,\n _selectorFlatpickrMonthYearContainer: selectorFlatpickrMonthYearContainer,\n _selectorFlatpickrYearContainer: selectorFlatpickrYearContainer,\n _selectorFlatpickrCurrentMonth: selectorFlatpickrCurrentMonth,\n _selectorFlatpickrMonth: selectorFlatpickrMonth,\n _selectorFlatpickrWeekdays: selectorFlatpickrWeekdays,\n _selectorFlatpickrDays: selectorFlatpickrDays,\n _selectorFlatpickrWeekday: selectorFlatpickrWeekday,\n _selectorFlatpickrDay: selectorFlatpickrDay,\n _classFlatpickrCurrentMonth: classFlatpickrCurrentMonth,\n _classFlatpickrToday: classFlatpickrToday,\n } = this.constructor as typeof BXDatePicker;\n const {\n _floatingMenuContainerNode: floatingMenuContainerNode,\n _mode: mode,\n } = this;\n const inputFrom = this.querySelector(selectorInputFrom);\n const inputTo = this.querySelector(selectorInputTo);\n const plugins = [\n appendToPlugin({ appendTo: floatingMenuContainerNode }),\n cssClassPlugin({\n classCalendarContainer,\n classMonth,\n classWeekdays,\n classDays,\n classWeekday,\n classDay,\n classNoBorder,\n selectorFlatpickrMonth,\n selectorFlatpickrWeekdays,\n selectorFlatpickrDays,\n selectorFlatpickrWeekday,\n selectorFlatpickrDay,\n classFlatpickrToday,\n }),\n fixEventsPlugin({\n inputFrom: inputFrom as BXDatePickerInput,\n inputTo: inputTo as BXDatePickerInput,\n }),\n focusPlugin({\n inputFrom: inputFrom as BXDatePickerInput,\n inputTo: inputTo as BXDatePickerInput,\n }),\n iconPlugin(),\n monthSelectPlugin({\n selectorFlatpickrMonthYearContainer,\n selectorFlatpickrYearContainer,\n selectorFlatpickrCurrentMonth,\n classFlatpickrCurrentMonth,\n }),\n shadowDOMEventPlugin(),\n stateHandshakePlugin(this),\n ];\n if (mode === DATE_PICKER_MODE.RANGE) {\n // Flatpickr runs event handlers of last registered plugins first.\n // Ensures `onValueUpdate` of `rangePlugin` runs first\n // given Flatpickr puts `01/01/1970 to 01/02/1970` to from date\n // where `rangePlugin` overrides it to separate them to from/to dates.\n // We want to ensure our handler of `onValueUpdate` (notably one in `<cds-date-picker-input>`)\n // gets the `<input>` value set by `rangePlugin` instead of Flatpickr core.\n plugins.push(rangePlugin({ input: inputTo as HTMLInputElement }));\n }\n return plugins;\n }\n\n /**\n * @returns The options to instantiate Flatpickr with.\n */\n private get _datePickerOptions(): FlatpickrOptions {\n const {\n locale = (this.constructor as typeof BXDatePicker).defaultLocale,\n enabledRange,\n _dateInteractNode: dateInteractNode,\n _datePickerPlugins: plugins,\n _handleFlatpickrError: handleFlatpickrError,\n } = this;\n // We use `<cds-date-picker-input>` to communicate values/events with Flatpickr,\n // but want to use `<input>` in shadow DOM to base the calendar dropdown's position on\n const { input: positionElement } = dateInteractNode!;\n const [minDate = undefined, maxDate = undefined] = !enabledRange\n ? []\n : enabledRange.split('/');\n return {\n allowInput: true,\n dateFormat:\n this.dateFormat ??\n (this.constructor as typeof BXDatePicker).defaultDateFormat,\n disableMobile: true,\n errorHandler: handleFlatpickrError,\n locale,\n maxDate,\n minDate,\n positionElement,\n plugins,\n };\n }\n\n /**\n * Handles `${prefix}-date-picker-changed` event on this element.\n */\n @HostListener('eventChange')\n // @ts-ignore: The decorator refers to this method but TS thinks this method is not referred to\n private _handleChange = ({ detail }: CustomEvent) => {\n this._value = detail.selectedDates\n .map((date) => getISODateString(date))\n .join('/');\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 * Handles `slotchange` event in the `<slot>`.\n */\n private _handleSlotChange({ target }: Event) {\n const { _dateInteractNode: oldDateInteractNode } = this;\n const dateInteractNode = (target as HTMLSlotElement)\n .assignedNodes()\n .find(\n (node) =>\n node.nodeType === Node.ELEMENT_NODE &&\n (node as HTMLElement).matches(\n (this.constructor as typeof BXDatePicker).selectorInputFrom\n )\n );\n if (oldDateInteractNode !== dateInteractNode) {\n this._dateInteractNode = dateInteractNode as BXDatePickerInput;\n this._instantiateDatePicker();\n }\n }\n\n /**\n * Fires a custom event to notify an error in Flatpickr.\n */\n private _handleFlatpickrError = (error: Error) => {\n this.dispatchEvent(\n new CustomEvent(\n (this.constructor as typeof BXDatePicker).eventFlatpickrError,\n {\n bubbles: true,\n cancelable: false,\n composed: true,\n detail: {\n error,\n },\n }\n )\n );\n };\n\n /**\n * Instantiates Flatpickr.\n *\n * @returns The Flatpickr instance.\n */\n private _instantiateDatePicker() {\n this._releaseDatePicker();\n const { _dateInteractNode: dateInteractNode } = this;\n // `this._dateInteractNode` won't be there unless there is a slotted `<cds-date-input type=\"from\">`,\n // which means Flatpickr will never be instantiated in \"simple\" mode.\n if (dateInteractNode && dateInteractNode.input) {\n this.calendar = flatpickr(\n dateInteractNode as any,\n this._datePickerOptions\n );\n }\n return this.calendar;\n }\n\n /**\n * Releases Flatpickr instances.\n */\n private _releaseDatePicker() {\n if (this.calendar) {\n this.calendar.destroy();\n this.calendar = null;\n }\n return this.calendar;\n }\n\n /**\n * The Flatpickr instance.\n */\n calendar: FlatpickrInstance | null = null;\n\n /**\n * The date format to let Flatpickr use.\n */\n @property({ attribute: 'date-format' })\n dateFormat!: string;\n\n /**\n * Controls the disabled state of the input\n */\n @property({ type: Boolean, reflect: true })\n disabled = false;\n\n /**\n * The localization data.\n */\n @property({ attribute: false })\n locale!: FlatpickrLocale;\n\n /**\n * The date range that a user can pick in calendar dropdown.\n */\n @property({ attribute: 'enabled-range' })\n enabledRange!: string;\n\n /**\n * Name for the input in the `FormData`\n */\n @property()\n name = '';\n\n /**\n * `true` if the date picker should be open.\n */\n @property({ type: Boolean, reflect: true })\n open = false;\n\n /**\n * The date(s) in ISO8601 format (date portion only), for range mode, '/' is used for separate start/end dates.\n */\n @property()\n get value() {\n return this._value;\n }\n\n set value(value: string) {\n const { _value: oldValue } = this;\n this._value = value;\n this.requestUpdate('value', oldValue);\n }\n\n connectedCallback() {\n super.connectedCallback();\n this._instantiateDatePicker();\n }\n\n disconnectedCallback() {\n this._releaseDatePicker();\n super.disconnectedCallback();\n }\n\n updated(changedProperties) {\n const { calendar, disabled, open } = this;\n const { selectorInputFrom, selectorInputTo } = this\n .constructor as typeof BXDatePicker;\n const inputFrom = this.querySelector(\n selectorInputFrom\n ) as BXDatePickerInput;\n const inputTo = this.querySelector(selectorInputTo) as BXDatePickerInput;\n if (calendar && changedProperties.has('dateFormat')) {\n const { dateFormat } = this;\n calendar.set({ dateFormat });\n }\n if (changedProperties.has('enabledRange')) {\n const { enabledRange } = this;\n const dates = enabledRange\n .split('/')\n .map((item) => (!item ? undefined : parseISODateString(item))); // Allows empty start/end\n if (dates.some((item) => Boolean(item && isNaN(Number(item))))) {\n // Allows empty start/end\n throw new Error(\n `Wrong date format found in \\`enabledRange\\` property: ${enabledRange}`\n );\n }\n const [minDate, maxDate] = dates;\n if (minDate && maxDate && minDate > maxDate) {\n throw new Error(\n `In \\`enabledRange\\` property, the end date shouldn't be smaller than the start date. You have: ${enabledRange}`\n );\n }\n if (calendar) {\n calendar.set({ minDate, maxDate });\n }\n }\n if (changedProperties.has('open') && calendar) {\n if (open) {\n calendar.open();\n } else {\n calendar.close();\n }\n }\n if (changedProperties.has('disabled')) {\n [inputFrom, inputTo].forEach((input) => {\n if (input) {\n input.disabled = disabled;\n }\n });\n }\n if (changedProperties.has('value')) {\n const { value } = this;\n const dates = value\n .split('/')\n .filter(Boolean)\n .map((item) => parseISODateString(item));\n if (dates.some((item) => isNaN(Number(item)))) {\n throw new Error(\n `Wrong date format found in \\`value\\` property: ${value}`\n );\n }\n const [startDate, endDate] = dates;\n if (startDate && endDate && startDate > endDate) {\n throw new Error(\n `In \\`value\\` property, the end date shouldn't be smaller than the start date. You have: ${value}`\n );\n }\n if (calendar) {\n calendar.setDate(dates);\n [inputFrom, inputTo].forEach((input, i) => {\n if (input) {\n input.value = !dates[i]\n ? ''\n : calendar.formatDate(\n new Date(dates[i]),\n calendar.config.dateFormat\n );\n }\n });\n }\n }\n }\n\n render() {\n const { _handleSlotChange: handleSlotChange } = this;\n return html`\n <a\n class=\"${prefix}--visually-hidden\"\n href=\"javascript:void 0\"\n role=\"navigation\"></a>\n <slot @slotchange=\"${handleSlotChange}\"></slot>\n <div id=\"floating-menu-container\"></div>\n <a\n class=\"${prefix}--visually-hidden\"\n href=\"javascript:void 0\"\n role=\"navigation\"></a>\n `;\n }\n\n /**\n * The CSS selector for Flatpickr's month/year portion.\n */\n private static _selectorFlatpickrMonthYearContainer =\n '.flatpickr-current-month';\n\n /**\n * The CSS selector for Flatpickr's year portion.\n */\n private static _selectorFlatpickrYearContainer = '.numInputWrapper';\n\n /**\n * The CSS selector for the inner element of Flatpickr's month portion.\n */\n private static _selectorFlatpickrCurrentMonth = '.cur-month';\n\n /**\n * The CSS selector for Flatpickr's month navigator.\n */\n private static _selectorFlatpickrMonth = '.flatpickr-month';\n\n /**\n * The CSS selector for Flatpickr's container of the weekdays.\n */\n private static _selectorFlatpickrWeekdays = '.flatpickr-weekdays';\n\n /**\n * The CSS selector for Flatpickr's container of the days.\n */\n private static _selectorFlatpickrDays = '.flatpickr-days';\n\n /**\n * The CSS selector applied to Flatpickr's each weekdays.\n */\n private static _selectorFlatpickrWeekday = '.flatpickr-weekday';\n\n /**\n * The CSS selector applied to Flatpickr's each days.\n */\n private static _selectorFlatpickrDay = '.flatpickr-day';\n\n /**\n * The CSS class for the inner element of Flatpickr's month portion.\n */\n private static _classFlatpickrCurrentMonth = 'cur-month';\n\n /**\n * The CSS class applied to Flatpickr's \"today\" highlight.\n */\n private static _classFlatpickrToday = 'today';\n\n /**\n * The CSS class for the calendar dropdown.\n */\n static get classCalendarContainer() {\n return `${prefix}--date-picker__calendar`;\n }\n\n /**\n * The CSS class for the month navigator.\n */\n static get classMonth() {\n return `${prefix}--date-picker__month`;\n }\n\n /**\n * The CSS class for the container of the weekdays.\n */\n static get classWeekdays() {\n return `${prefix}--date-picker__weekdays`;\n }\n\n /**\n * The CSS class for the container of the days.\n */\n static get classDays() {\n return `${prefix}--date-picker__days`;\n }\n\n /**\n * The CSS class applied to each weekdays.\n */\n static get classWeekday() {\n return `${prefix}--date-picker__weekday`;\n }\n\n /**\n * The CSS class applied to each days.\n */\n static get classDay() {\n return `${prefix}--date-picker__day`;\n }\n\n /**\n * The CSS class applied to the \"today\" highlight if there are any dates selected.\n */\n static classNoBorder = 'no-border';\n\n /**\n * The default date format.\n */\n static defaultDateFormat = 'm/d/Y';\n\n /**\n * The default localization data.\n */\n static defaultLocale = flatpickr.l10ns.default;\n\n /**\n * A selector that will return the `<input>` to enter starting date.\n */\n static get selectorInputFrom() {\n return `${prefix}-date-picker-input[kind=\"single\"],${prefix}-date-picker-input[kind=\"from\"]`;\n }\n\n /**\n * A selector that will return the `<input>` to enter end date.\n */\n static get selectorInputTo() {\n return `${prefix}-date-picker-input[kind=\"to\"]`;\n }\n\n /**\n * The name of the custom event when Flatpickr throws an error.\n */\n static get eventFlatpickrError() {\n return `${prefix}-date-picker-flatpickr-error`;\n }\n\n /**\n * The name of the custom event fired on this element when Flatpickr updates its value.\n */\n static get eventChange() {\n return `${prefix}-date-picker-changed`;\n }\n\n static styles = styles;\n}\n\nexport default BXDatePicker;\n"],"mappings":";;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAASA,UAAU,EAAEC,IAAI,QAAQ,KAAK;AACtC,SAASC,QAAQ,EAAEC,aAAa,EAAEC,KAAK,QAAQ,mBAAmB;AAClE,OAAOC,SAAS,MAAM,WAAW;AAOjC,SAASC,MAAM,QAAQ,wBAAwB;AAC/C,OAAOC,SAAS,MAAM,2BAA2B;AACjD,OAAOC,iBAAiB,MAAM,oCAAoC;AAClE,OAAOC,YAAY,MAAM,wCAAwC;AACjE,SAASC,gBAAgB,EAAEC,kBAAkB,QAAQ,YAAY;AAEjE,OAAOC,cAAc,MAAM,oBAAoB;AAC/C,OAAOC,cAAc,MAAM,oBAAoB;AAC/C,OAAOC,eAAe,MAAM,qBAAqB;AACjD,OAAOC,WAAW,MAAM,gBAAgB;AACxC,OAAOC,UAAU,MAAM,eAAe;AACtC,OAAOC,iBAAiB,MAAM,uBAAuB;AACrD,OAAOC,WAAW,MAAM,gBAAgB;AACxC,OAAOC,o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AAqB;MACxC;IAAC;MAAAyB,IAAA;MAAAyI,MAAA;MAAAxI,GAAA;MAAAC,MAAA;QAAA,OAEeZ,MAAM;MAAA;IAAA;EAAA;AAAA,GA/gBGb,iBAAiB,CAACD,SAAS,CAACP,UAAU,CAAC,CAAC;AAkhBnE,eAAeuB,YAAY"}
1
+ {"version":3,"file":"date-picker.js","names":["LitElement","html","property","customElement","query","flatpickr","prefix","FormMixin","HostListenerMixin","HostListener","getISODateString","parseISODateString","appendToPlugin","cssClassPlugin","fixEventsPlugin","focusPlugin","iconPlugin","monthSelectPlugin","rangePlugin","shadowDOMEventPlugin","stateHandshakePlugin","styles","DATE_PICKER_MODE","l10ns","en","weekdays","shorthand","forEach","_day","index","currentDay","charAt","CDSDatePicker","_decorate","_initialize","_HostListenerMixin","constructor","args","F","d","kind","key","value","decorators","_mode","selectorInputFrom","selectorInputTo","querySelector","RANGE","SINGLE","SIMPLE","_datePickerPlugins","classCalendarContainer","classMonth","classWeekdays","classDays","classWeekday","classDay","classNoBorder","_selectorFlatpickrMonthYearContainer","selectorFlatpickrMonthYearContainer","_selectorFlatpickrYearContainer","selectorFlatpickrYearContainer","_selectorFlatpickrCurrentMonth","selectorFlatpickrCurrentMonth","_selectorFlatpickrMonth","selectorFlatpickrMonth","_selectorFlatpickrWeekdays","selectorFlatpickrWeekdays","_selectorFlatpickrDays","selectorFlatpickrDays","_selectorFlatpickrWeekday","selectorFlatpickrWeekday","_selectorFlatpickrDay","selectorFlatpickrDay","_classFlatpickrCurrentMonth","classFlatpickrCurrentMonth","_classFlatpickrToday","classFlatpickrToday","_floatingMenuContainerNode","floatingMenuContainerNode","mode","inputFrom","inputTo","plugins","appendTo","push","input","_datePickerOptions","_this$dateFormat","locale","defaultLocale","enabledRange","_dateInteractNode","dateInteractNode","_handleFlatpickrError","handleFlatpickrError","positionElement","minDate","undefined","maxDate","split","allowInput","closeOnSelect","dateFormat","defaultDateFormat","disableMobile","errorHandler","detail","_value","selectedDates","map","date","join","_handleFormdata","event","formData","disabled","name","append","_handleSlotChange","target","oldDateInteractNode","assignedNodes","find","node","nodeType","Node","ELEMENT_NODE","matches","_instantiateDatePicker","error","dispatchEvent","CustomEvent","eventFlatpickrError","bubbles","cancelable","composed","_releaseDatePicker","calendar","destroy","type","Boolean","reflect","attribute","oldValue","requestUpdate","connectedCallback","_get","_getPrototypeOf","prototype","call","disconnectedCallback","updated","changedProperties","open","readonly","has","set","Error","close","dates","filter","item","some","isNaN","Number","startDate","endDate","setDate","i","formatDate","Date","config","render","handleSlotChange","_t","_","static","default","eventChange"],"sources":["components/date-picker/date-picker.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, query } from 'lit/decorators.js';\nimport flatpickr from 'flatpickr';\nimport { Instance as FlatpickrInstance } from 'flatpickr/dist/types/instance';\nimport { Locale as FlatpickrLocale } from 'flatpickr/dist/types/locale';\nimport {\n Options as FlatpickrOptions,\n Plugin as FlatpickrPlugin,\n} from 'flatpickr/dist/types/options';\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 { getISODateString, parseISODateString } from './iso-date';\nimport CDSDatePickerInput from './date-picker-input';\nimport appendToPlugin from './append-to-plugin';\nimport cssClassPlugin from './css-class-plugin';\nimport fixEventsPlugin from './fix-events-plugin';\nimport focusPlugin from './focus-plugin';\nimport iconPlugin from './icon-plugin';\nimport monthSelectPlugin from './month-select-plugin';\nimport rangePlugin from './range-plugin';\nimport shadowDOMEventPlugin from './shadow-dom-events-plugin';\nimport stateHandshakePlugin from './state-handshake-plugin';\nimport styles from './date-picker.scss';\n\n/**\n * Date picker modes.\n */\nenum DATE_PICKER_MODE {\n /**\n * Simple mode, without calendar dropdown.\n */\n SIMPLE = 'simple',\n\n /**\n * Single date mode.\n */\n SINGLE = 'single',\n\n /**\n * Range mode.\n */\n RANGE = 'range',\n}\n\n// Weekdays shorthand for english locale\nflatpickr!.l10ns!.en!.weekdays.shorthand.forEach((_day, index) => {\n const currentDay = flatpickr!.l10ns!.en!.weekdays.shorthand;\n if (currentDay[index] === 'Thu' || currentDay[index] === 'Th') {\n currentDay[index] = 'Th';\n } else {\n currentDay[index] = currentDay[index].charAt(0);\n }\n});\n\n/**\n * Date picker.\n *\n * @element cds-date-picker\n * @fires cds-date-picker-changed - The custom event fired on this element when Flatpickr updates its value.\n */\n@customElement(`${prefix}-date-picker`)\nclass CDSDatePicker extends HostListenerMixin(FormMixin(LitElement)) {\n /**\n * The slotted `<cds-date-input kind=\"from\">`.\n */\n private _dateInteractNode: CDSDatePickerInput | null = null;\n\n /**\n * The element to put calendar dropdown in.\n */\n @query('#floating-menu-container')\n private _floatingMenuContainerNode!: HTMLDivElement;\n\n /**\n * The internal placeholder for the `value` property.\n */\n private _value!: string;\n\n /**\n * @returns The effective date picker mode, determined by the child `<cds-date-picker-input>`.\n */\n private get _mode() {\n const { selectorInputFrom, selectorInputTo } = this\n .constructor as typeof CDSDatePicker;\n if (this.querySelector(selectorInputTo)) {\n return DATE_PICKER_MODE.RANGE;\n }\n if (this.querySelector(selectorInputFrom)) {\n return DATE_PICKER_MODE.SINGLE;\n }\n return DATE_PICKER_MODE.SIMPLE;\n }\n\n /**\n * @returns The Flatpickr plugins to use.\n */\n private get _datePickerPlugins(): FlatpickrPlugin[] {\n const {\n classCalendarContainer,\n classMonth,\n classWeekdays,\n classDays,\n classWeekday,\n classDay,\n classNoBorder,\n selectorInputFrom,\n selectorInputTo,\n _selectorFlatpickrMonthYearContainer: selectorFlatpickrMonthYearContainer,\n _selectorFlatpickrYearContainer: selectorFlatpickrYearContainer,\n _selectorFlatpickrCurrentMonth: selectorFlatpickrCurrentMonth,\n _selectorFlatpickrMonth: selectorFlatpickrMonth,\n _selectorFlatpickrWeekdays: selectorFlatpickrWeekdays,\n _selectorFlatpickrDays: selectorFlatpickrDays,\n _selectorFlatpickrWeekday: selectorFlatpickrWeekday,\n _selectorFlatpickrDay: selectorFlatpickrDay,\n _classFlatpickrCurrentMonth: classFlatpickrCurrentMonth,\n _classFlatpickrToday: classFlatpickrToday,\n } = this.constructor as typeof CDSDatePicker;\n const {\n _floatingMenuContainerNode: floatingMenuContainerNode,\n _mode: mode,\n } = this;\n const inputFrom = this.querySelector(selectorInputFrom);\n const inputTo = this.querySelector(selectorInputTo);\n const plugins = [\n appendToPlugin({ appendTo: floatingMenuContainerNode }),\n cssClassPlugin({\n classCalendarContainer,\n classMonth,\n classWeekdays,\n classDays,\n classWeekday,\n classDay,\n classNoBorder,\n selectorFlatpickrMonth,\n selectorFlatpickrWeekdays,\n selectorFlatpickrDays,\n selectorFlatpickrWeekday,\n selectorFlatpickrDay,\n classFlatpickrToday,\n }),\n fixEventsPlugin({\n inputFrom: inputFrom as CDSDatePickerInput,\n inputTo: inputTo as CDSDatePickerInput,\n }),\n focusPlugin({\n inputFrom: inputFrom as CDSDatePickerInput,\n inputTo: inputTo as CDSDatePickerInput,\n }),\n iconPlugin(),\n monthSelectPlugin({\n selectorFlatpickrMonthYearContainer,\n selectorFlatpickrYearContainer,\n selectorFlatpickrCurrentMonth,\n classFlatpickrCurrentMonth,\n }),\n shadowDOMEventPlugin(),\n stateHandshakePlugin(this),\n ];\n if (mode === DATE_PICKER_MODE.RANGE) {\n // Flatpickr runs event handlers of last registered plugins first.\n // Ensures `onValueUpdate` of `rangePlugin` runs first\n // given Flatpickr puts `01/01/1970 to 01/02/1970` to from date\n // where `rangePlugin` overrides it to separate them to from/to dates.\n // We want to ensure our handler of `onValueUpdate` (notably one in `<cds-date-picker-input>`)\n // gets the `<input>` value set by `rangePlugin` instead of Flatpickr core.\n plugins.push(rangePlugin({ input: inputTo as HTMLInputElement }));\n }\n return plugins;\n }\n\n /**\n * @returns The options to instantiate Flatpickr with.\n */\n private get _datePickerOptions(): FlatpickrOptions {\n const {\n locale = (this.constructor as typeof CDSDatePicker).defaultLocale,\n enabledRange,\n _dateInteractNode: dateInteractNode,\n _datePickerPlugins: plugins,\n _handleFlatpickrError: handleFlatpickrError,\n } = this;\n // We use `<cds-date-picker-input>` to communicate values/events with Flatpickr,\n // but want to use `<input>` in shadow DOM to base the calendar dropdown's position on\n const { input: positionElement } = dateInteractNode!;\n const [minDate = undefined, maxDate = undefined] = !enabledRange\n ? []\n : enabledRange.split('/');\n return {\n allowInput: this.allowInput,\n closeOnSelect: this.closeOnSelect,\n dateFormat:\n this.dateFormat ??\n (this.constructor as typeof CDSDatePicker).defaultDateFormat,\n disableMobile: true,\n errorHandler: handleFlatpickrError,\n locale,\n maxDate,\n minDate,\n positionElement,\n plugins,\n };\n }\n\n /**\n * Handles `${prefix}-date-picker-changed` event on this element.\n */\n @HostListener('eventChange')\n // @ts-ignore: The decorator refers to this method but TS thinks this method is not referred to\n private _handleChange = ({ detail }: CustomEvent) => {\n this._value = detail.selectedDates\n .map((date) => getISODateString(date))\n .join('/');\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 * Handles `slotchange` event in the `<slot>`.\n */\n private _handleSlotChange({ target }: Event) {\n const { _dateInteractNode: oldDateInteractNode } = this;\n const dateInteractNode = (target as HTMLSlotElement)\n .assignedNodes()\n .find(\n (node) =>\n node.nodeType === Node.ELEMENT_NODE &&\n (node as HTMLElement).matches(\n (this.constructor as typeof CDSDatePicker).selectorInputFrom\n )\n );\n if (oldDateInteractNode !== dateInteractNode) {\n this._dateInteractNode = dateInteractNode as CDSDatePickerInput;\n this._instantiateDatePicker();\n }\n }\n\n /**\n * Fires a custom event to notify an error in Flatpickr.\n */\n private _handleFlatpickrError = (error: Error) => {\n this.dispatchEvent(\n new CustomEvent(\n (this.constructor as typeof CDSDatePicker).eventFlatpickrError,\n {\n bubbles: true,\n cancelable: false,\n composed: true,\n detail: {\n error,\n },\n }\n )\n );\n };\n\n /**\n * Instantiates Flatpickr.\n *\n * @returns The Flatpickr instance.\n */\n private _instantiateDatePicker() {\n this._releaseDatePicker();\n const { _dateInteractNode: dateInteractNode } = this;\n // `this._dateInteractNode` won't be there unless there is a slotted `<cds-date-input type=\"from\">`,\n // which means Flatpickr will never be instantiated in \"simple\" mode.\n if (dateInteractNode && dateInteractNode.input) {\n this.calendar = flatpickr(\n dateInteractNode as any,\n this._datePickerOptions\n );\n }\n return this.calendar;\n }\n\n /**\n * Releases Flatpickr instances.\n */\n private _releaseDatePicker() {\n if (this.calendar) {\n this.calendar.destroy();\n this.calendar = null;\n }\n return this.calendar;\n }\n\n /**\n * The Flatpickr instance.\n */\n calendar: FlatpickrInstance | null = null;\n\n /**\n * flatpickr prop passthrough. Allows the user to enter a date directly into the input field\n */\n @property({ type: Boolean, reflect: true, attribute: 'allow-input' })\n allowInput = true;\n\n /**\n * flatpickr prop passthrough. Controls whether the calendar dropdown closes upon selection.\n */\n @property({ type: Boolean, reflect: true, attribute: 'close-on-select' })\n closeOnSelect = true;\n\n /**\n * The date format to let Flatpickr use.\n */\n @property({ attribute: 'date-format' })\n dateFormat!: string;\n\n /**\n * Controls the disabled state of the input\n */\n @property({ type: Boolean, reflect: true })\n disabled = false;\n\n /**\n * The localization data.\n */\n @property({ attribute: false })\n locale!: FlatpickrLocale;\n\n /**\n * The date range that a user can pick in calendar dropdown.\n */\n @property({ attribute: 'enabled-range' })\n enabledRange!: string;\n\n /**\n * The minimum date that a user can start picking from.\n */\n @property({ attribute: 'min-date' })\n minDate!: string;\n\n /**\n * The maximum date that a user can start picking from.\n */\n @property({ attribute: 'max-date' })\n maxDate!: string;\n\n /**\n * Name for the input in the `FormData`\n */\n @property()\n name = '';\n\n /**\n * `true` if the date picker should be open.\n */\n @property({ type: Boolean, reflect: true })\n open = false;\n\n /**\n * Specify if the component should be read-only\n */\n @property({ type: Boolean, reflect: true })\n readonly = false;\n\n /**\n * The date(s) in ISO8601 format (date portion only), for range mode, '/' is used for separate start/end dates.\n */\n @property()\n get value() {\n return this._value;\n }\n\n set value(value: string) {\n const { _value: oldValue } = this;\n this._value = value;\n this.requestUpdate('value', oldValue);\n }\n\n connectedCallback() {\n super.connectedCallback();\n this._instantiateDatePicker();\n }\n\n disconnectedCallback() {\n this._releaseDatePicker();\n super.disconnectedCallback();\n }\n\n updated(changedProperties) {\n const { calendar, disabled, open, readonly } = this;\n const { selectorInputFrom, selectorInputTo } = this\n .constructor as typeof CDSDatePicker;\n const inputFrom = this.querySelector(\n selectorInputFrom\n ) as CDSDatePickerInput;\n const inputTo = this.querySelector(selectorInputTo) as CDSDatePickerInput;\n if (calendar && changedProperties.has('dateFormat')) {\n const { dateFormat } = this;\n calendar.set({ dateFormat });\n }\n if (changedProperties.has('minDate') || changedProperties.has('maxDate')) {\n const { minDate, maxDate } = this;\n if (!parseISODateString(minDate)) {\n // Allows empty start/end\n throw new Error(\n `Wrong date format found in \\`minDate\\` property: ${minDate}`\n );\n }\n if (!parseISODateString(maxDate)) {\n // Allows empty start/end\n throw new Error(\n `Wrong date format found in \\`maxDate\\` property: ${maxDate}`\n );\n }\n if (minDate && maxDate && minDate > maxDate) {\n throw new Error(\n `\\`maxDate\\` property, shouldn't be smaller than the \\`minDate\\` property. You have: minDate: ${minDate}, maxDate: ${maxDate}`\n );\n }\n if (calendar) {\n calendar.set({ minDate, maxDate });\n }\n }\n\n if (changedProperties.has('open') && calendar) {\n if (open && !readonly) {\n calendar.open();\n } else {\n calendar.close();\n }\n }\n if (\n changedProperties.has('disabled') ||\n changedProperties.has('readonly')\n ) {\n [inputFrom, inputTo].forEach((input) => {\n if (input) {\n input.disabled = disabled;\n input.readonly = readonly;\n }\n });\n }\n if (changedProperties.has('value')) {\n const { value } = this;\n const dates = value\n .split('/')\n .filter(Boolean)\n .map((item) => parseISODateString(item));\n if (dates.some((item) => isNaN(Number(item)))) {\n throw new Error(\n `Wrong date format found in \\`value\\` property: ${value}`\n );\n }\n const [startDate, endDate] = dates;\n if (startDate && endDate && startDate > endDate) {\n throw new Error(\n `In \\`value\\` property, the end date shouldn't be smaller than the start date. You have: ${value}`\n );\n }\n if (calendar) {\n calendar.setDate(dates);\n [inputFrom, inputTo].forEach((input, i) => {\n if (input) {\n input.value = !dates[i]\n ? ''\n : calendar.formatDate(\n new Date(dates[i]),\n calendar.config.dateFormat\n );\n }\n });\n }\n }\n }\n\n render() {\n const { _handleSlotChange: handleSlotChange } = this;\n return html`\n <a\n class=\"${prefix}--visually-hidden\"\n href=\"javascript:void 0\"\n role=\"navigation\"></a>\n <slot @slotchange=\"${handleSlotChange}\"></slot>\n <div id=\"floating-menu-container\"></div>\n <a\n class=\"${prefix}--visually-hidden\"\n href=\"javascript:void 0\"\n role=\"navigation\"></a>\n `;\n }\n\n /**\n * The CSS selector for Flatpickr's month/year portion.\n */\n private static _selectorFlatpickrMonthYearContainer =\n '.flatpickr-current-month';\n\n /**\n * The CSS selector for Flatpickr's year portion.\n */\n private static _selectorFlatpickrYearContainer = '.numInputWrapper';\n\n /**\n * The CSS selector for the inner element of Flatpickr's month portion.\n */\n private static _selectorFlatpickrCurrentMonth = '.cur-month';\n\n /**\n * The CSS selector for Flatpickr's month navigator.\n */\n private static _selectorFlatpickrMonth = '.flatpickr-month';\n\n /**\n * The CSS selector for Flatpickr's container of the weekdays.\n */\n private static _selectorFlatpickrWeekdays = '.flatpickr-weekdays';\n\n /**\n * The CSS selector for Flatpickr's container of the days.\n */\n private static _selectorFlatpickrDays = '.flatpickr-days';\n\n /**\n * The CSS selector applied to Flatpickr's each weekdays.\n */\n private static _selectorFlatpickrWeekday = '.flatpickr-weekday';\n\n /**\n * The CSS selector applied to Flatpickr's each days.\n */\n private static _selectorFlatpickrDay = '.flatpickr-day';\n\n /**\n * The CSS class for the inner element of Flatpickr's month portion.\n */\n private static _classFlatpickrCurrentMonth = 'cur-month';\n\n /**\n * The CSS class applied to Flatpickr's \"today\" highlight.\n */\n private static _classFlatpickrToday = 'today';\n\n /**\n * The CSS class for the calendar dropdown.\n */\n static get classCalendarContainer() {\n return `${prefix}--date-picker__calendar`;\n }\n\n /**\n * The CSS class for the month navigator.\n */\n static get classMonth() {\n return `${prefix}--date-picker__month`;\n }\n\n /**\n * The CSS class for the container of the weekdays.\n */\n static get classWeekdays() {\n return `${prefix}--date-picker__weekdays`;\n }\n\n /**\n * The CSS class for the container of the days.\n */\n static get classDays() {\n return `${prefix}--date-picker__days`;\n }\n\n /**\n * The CSS class applied to each weekdays.\n */\n static get classWeekday() {\n return `${prefix}--date-picker__weekday`;\n }\n\n /**\n * The CSS class applied to each days.\n */\n static get classDay() {\n return `${prefix}--date-picker__day`;\n }\n\n /**\n * The CSS class applied to the \"today\" highlight if there are any dates selected.\n */\n static classNoBorder = 'no-border';\n\n /**\n * The default date format.\n */\n static defaultDateFormat = 'm/d/Y';\n\n /**\n * The default localization data.\n */\n static defaultLocale = flatpickr.l10ns.default;\n\n /**\n * A selector that will return the `<input>` to enter starting date.\n */\n static get selectorInputFrom() {\n return `${prefix}-date-picker-input,${prefix}-date-picker-input[kind=\"from\"]`;\n }\n\n /**\n * A selector that will return the `<input>` to enter end date.\n */\n static get selectorInputTo() {\n return `${prefix}-date-picker-input[kind=\"to\"]`;\n }\n\n /**\n * The name of the custom event when Flatpickr throws an error.\n */\n static get eventFlatpickrError() {\n return `${prefix}-date-picker-flatpickr-error`;\n }\n\n /**\n * The name of the custom event fired on this element when Flatpickr updates its value.\n */\n static get eventChange() {\n return `${prefix}-date-picker-changed`;\n }\n\n static styles = styles;\n}\n\nexport default CDSDatePicker;\n"],"mappings":";;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAASA,UAAU,EAAEC,IAAI,QAAQ,KAAK;AACtC,SAASC,QAAQ,EAAEC,aAAa,EAAEC,KAAK,QAAQ,mBAAmB;AAClE,OAAOC,SAAS,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