@carbon/web-components 2.0.0-alpha.0 → 2.0.0-beta.1

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 (737) hide show
  1. package/README.md +19 -19
  2. package/custom-elements.json +3557 -1387
  3. package/es/components/accordion/accordion-item-skeleton.d.ts +20 -0
  4. package/es/components/accordion/accordion-item-skeleton.d.ts.map +1 -0
  5. package/es/components/accordion/accordion-item-skeleton.js +60 -0
  6. package/es/components/accordion/accordion-item-skeleton.js.map +1 -0
  7. package/es/components/accordion/accordion-item.d.ts +5 -4
  8. package/es/components/accordion/accordion-item.d.ts.map +1 -1
  9. package/es/components/accordion/accordion-item.js +24 -9
  10. package/es/components/accordion/accordion-item.js.map +1 -1
  11. package/es/components/accordion/accordion-skeleton.d.ts +40 -0
  12. package/es/components/accordion/accordion-skeleton.d.ts.map +1 -0
  13. package/es/components/accordion/accordion-skeleton.js +166 -0
  14. package/es/components/accordion/accordion-skeleton.js.map +1 -0
  15. package/es/components/accordion/accordion.css.js +1 -1
  16. package/es/components/accordion/accordion.d.ts +2 -2
  17. package/es/components/accordion/accordion.d.ts.map +1 -1
  18. package/es/components/accordion/accordion.js +5 -5
  19. package/es/components/accordion/accordion.js.map +1 -1
  20. package/es/components/accordion/accordion.rtl.css.js +1 -1
  21. package/es/components/accordion/index.d.ts +3 -1
  22. package/es/components/accordion/index.d.ts.map +1 -1
  23. package/es/components/accordion/index.js +3 -1
  24. package/es/components/accordion/index.js.map +1 -1
  25. package/es/components/breadcrumb/breadcrumb-item.d.ts +2 -2
  26. package/es/components/breadcrumb/breadcrumb-item.d.ts.map +1 -1
  27. package/es/components/breadcrumb/breadcrumb-item.js +5 -5
  28. package/es/components/breadcrumb/breadcrumb-item.js.map +1 -1
  29. package/es/components/breadcrumb/breadcrumb-link.d.ts +4 -3
  30. package/es/components/breadcrumb/breadcrumb-link.d.ts.map +1 -1
  31. package/es/components/breadcrumb/breadcrumb-link.js +20 -6
  32. package/es/components/breadcrumb/breadcrumb-link.js.map +1 -1
  33. package/es/components/breadcrumb/breadcrumb-overflow-menu.d.ts +3 -3
  34. package/es/components/breadcrumb/breadcrumb-overflow-menu.d.ts.map +1 -1
  35. package/es/components/breadcrumb/breadcrumb-overflow-menu.js +6 -6
  36. package/es/components/breadcrumb/breadcrumb-overflow-menu.js.map +1 -1
  37. package/es/components/breadcrumb/breadcrumb-skeleton.d.ts +19 -0
  38. package/es/components/breadcrumb/breadcrumb-skeleton.d.ts.map +1 -0
  39. package/es/components/breadcrumb/breadcrumb-skeleton.js +59 -0
  40. package/es/components/breadcrumb/breadcrumb-skeleton.js.map +1 -0
  41. package/es/components/breadcrumb/breadcrumb.css.js +1 -1
  42. package/es/components/breadcrumb/breadcrumb.d.ts +6 -2
  43. package/es/components/breadcrumb/breadcrumb.d.ts.map +1 -1
  44. package/es/components/breadcrumb/breadcrumb.js +30 -10
  45. package/es/components/breadcrumb/breadcrumb.js.map +1 -1
  46. package/es/components/breadcrumb/breadcrumb.rtl.css.js +1 -1
  47. package/es/components/breadcrumb/index.d.ts +2 -1
  48. package/es/components/breadcrumb/index.d.ts.map +1 -1
  49. package/es/components/breadcrumb/index.js +2 -1
  50. package/es/components/breadcrumb/index.js.map +1 -1
  51. package/es/components/button/button-set.d.ts +32 -0
  52. package/es/components/button/button-set.d.ts.map +1 -0
  53. package/es/components/button/button-set.js +92 -0
  54. package/es/components/button/button-set.js.map +1 -0
  55. package/es/components/button/button-skeleton.d.ts +3 -3
  56. package/es/components/button/button-skeleton.d.ts.map +1 -1
  57. package/es/components/button/button-skeleton.js +6 -6
  58. package/es/components/button/button-skeleton.js.map +1 -1
  59. package/es/components/button/button.css.js +1 -1
  60. package/es/components/button/button.d.ts +52 -13
  61. package/es/components/button/button.d.ts.map +1 -1
  62. package/es/components/button/button.js +192 -39
  63. package/es/components/button/button.js.map +1 -1
  64. package/es/components/button/button.rtl.css.js +1 -1
  65. package/es/components/button/defs.d.ts +60 -14
  66. package/es/components/button/defs.d.ts.map +1 -1
  67. package/es/components/button/defs.js +34 -11
  68. package/es/components/button/defs.js.map +1 -1
  69. package/es/components/button/index.d.ts +2 -1
  70. package/es/components/button/index.d.ts.map +1 -1
  71. package/es/components/button/index.js +2 -1
  72. package/es/components/button/index.js.map +1 -1
  73. package/es/components/{tooltip/tooltip-footer.d.ts → checkbox/checkbox-skeleton.d.ts} +4 -4
  74. package/es/components/checkbox/checkbox-skeleton.d.ts.map +1 -0
  75. package/es/components/{tooltip/tooltip-footer.js → checkbox/checkbox-skeleton.js} +15 -9
  76. package/es/components/checkbox/checkbox-skeleton.js.map +1 -0
  77. package/es/components/checkbox/checkbox.css.js +1 -1
  78. package/es/components/checkbox/checkbox.d.ts +21 -8
  79. package/es/components/checkbox/checkbox.d.ts.map +1 -1
  80. package/es/components/checkbox/checkbox.js +65 -17
  81. package/es/components/checkbox/checkbox.js.map +1 -1
  82. package/es/components/checkbox/checkbox.rtl.css.js +1 -1
  83. package/es/components/checkbox/index.d.ts +2 -1
  84. package/es/components/checkbox/index.d.ts.map +1 -1
  85. package/es/components/checkbox/index.js +2 -1
  86. package/es/components/checkbox/index.js.map +1 -1
  87. package/es/components/code-snippet/code-snippet.css.js +1 -1
  88. package/es/components/code-snippet/code-snippet.d.ts +0 -8
  89. package/es/components/code-snippet/code-snippet.d.ts.map +1 -1
  90. package/es/components/code-snippet/code-snippet.js +20 -56
  91. package/es/components/code-snippet/code-snippet.js.map +1 -1
  92. package/es/components/code-snippet/code-snippet.rtl.css.js +1 -1
  93. package/es/components/combo-box/combo-box-item.d.ts +3 -3
  94. package/es/components/combo-box/combo-box-item.d.ts.map +1 -1
  95. package/es/components/combo-box/combo-box-item.js +6 -6
  96. package/es/components/combo-box/combo-box-item.js.map +1 -1
  97. package/es/components/combo-box/combo-box.css.js +1 -1
  98. package/es/components/combo-box/combo-box.d.ts +11 -11
  99. package/es/components/combo-box/combo-box.d.ts.map +1 -1
  100. package/es/components/combo-box/combo-box.js +40 -19
  101. package/es/components/combo-box/combo-box.js.map +1 -1
  102. package/es/components/combo-box/combo-box.rtl.css.js +1 -1
  103. package/es/components/content-switcher/content-switcher.css.js +1 -1
  104. package/es/components/content-switcher/content-switcher.rtl.css.js +1 -1
  105. package/es/components/copy/copy.d.ts +49 -0
  106. package/es/components/copy/copy.d.ts.map +1 -0
  107. package/es/components/copy/copy.js +183 -0
  108. package/es/components/copy/copy.js.map +1 -0
  109. package/es/components/copy-button/copy-button.css.js +1 -1
  110. package/es/components/copy-button/copy-button.d.ts +8 -53
  111. package/es/components/copy-button/copy-button.d.ts.map +1 -1
  112. package/es/components/copy-button/copy-button.js +22 -150
  113. package/es/components/copy-button/copy-button.js.map +1 -1
  114. package/es/components/copy-button/copy-button.rtl.css.js +1 -1
  115. package/es/components/data-table/data-table.css.js +1 -1
  116. package/es/components/data-table/data-table.rtl.css.js +1 -1
  117. package/es/components/data-table/table-header-cell.d.ts.map +1 -1
  118. package/es/components/data-table/table-header-cell.js +2 -2
  119. package/es/components/data-table/table-header-cell.js.map +1 -1
  120. package/es/components/data-table/table-toolbar-search.d.ts +3 -3
  121. package/es/components/data-table/table-toolbar-search.d.ts.map +1 -1
  122. package/es/components/data-table/table-toolbar-search.js +3 -3
  123. package/es/components/data-table/table-toolbar-search.js.map +1 -1
  124. package/es/components/date-picker/date-picker-input-skeleton.d.ts +2 -2
  125. package/es/components/date-picker/date-picker-input-skeleton.d.ts.map +1 -1
  126. package/es/components/date-picker/date-picker-input-skeleton.js +4 -4
  127. package/es/components/date-picker/date-picker-input-skeleton.js.map +1 -1
  128. package/es/components/date-picker/date-picker-input.d.ts +38 -352
  129. package/es/components/date-picker/date-picker-input.d.ts.map +1 -1
  130. package/es/components/date-picker/date-picker-input.js +138 -97
  131. package/es/components/date-picker/date-picker-input.js.map +1 -1
  132. package/es/components/date-picker/date-picker.css.js +1 -1
  133. package/es/components/date-picker/date-picker.d.ts +23 -3
  134. package/es/components/date-picker/date-picker.d.ts.map +1 -1
  135. package/es/components/date-picker/date-picker.js +100 -24
  136. package/es/components/date-picker/date-picker.js.map +1 -1
  137. package/es/components/date-picker/date-picker.rtl.css.js +1 -1
  138. package/es/components/date-picker/defs.d.ts +1 -14
  139. package/es/components/date-picker/defs.d.ts.map +1 -1
  140. package/es/components/date-picker/defs.js +1 -10
  141. package/es/components/date-picker/defs.js.map +1 -1
  142. package/es/components/date-picker/fix-events-plugin.d.ts +6 -6
  143. package/es/components/date-picker/fix-events-plugin.d.ts.map +1 -1
  144. package/es/components/date-picker/fix-events-plugin.js +7 -7
  145. package/es/components/date-picker/fix-events-plugin.js.map +1 -1
  146. package/es/components/date-picker/focus-plugin.d.ts +9 -9
  147. package/es/components/date-picker/focus-plugin.d.ts.map +1 -1
  148. package/es/components/date-picker/focus-plugin.js +16 -16
  149. package/es/components/date-picker/focus-plugin.js.map +1 -1
  150. package/es/components/date-picker/shadow-dom-events-plugin.d.ts +2 -2
  151. package/es/components/date-picker/shadow-dom-events-plugin.d.ts.map +1 -1
  152. package/es/components/date-picker/shadow-dom-events-plugin.js +4 -4
  153. package/es/components/date-picker/shadow-dom-events-plugin.js.map +1 -1
  154. package/es/components/date-picker/state-handshake-plugin.d.ts +2 -2
  155. package/es/components/date-picker/state-handshake-plugin.d.ts.map +1 -1
  156. package/es/components/date-picker/state-handshake-plugin.js.map +1 -1
  157. package/es/components/dropdown/defs.d.ts +16 -3
  158. package/es/components/dropdown/defs.d.ts.map +1 -1
  159. package/es/components/dropdown/defs.js +11 -2
  160. package/es/components/dropdown/defs.js.map +1 -1
  161. package/es/components/dropdown/dropdown-item.d.ts +2 -2
  162. package/es/components/dropdown/dropdown-item.d.ts.map +1 -1
  163. package/es/components/dropdown/dropdown-item.js +4 -4
  164. package/es/components/dropdown/dropdown-item.js.map +1 -1
  165. package/es/components/dropdown/dropdown-skeleton.d.ts +2 -2
  166. package/es/components/dropdown/dropdown-skeleton.d.ts.map +1 -1
  167. package/es/components/dropdown/dropdown-skeleton.js +4 -4
  168. package/es/components/dropdown/dropdown-skeleton.js.map +1 -1
  169. package/es/components/dropdown/dropdown.css.js +1 -1
  170. package/es/components/dropdown/dropdown.d.ts +45 -20
  171. package/es/components/dropdown/dropdown.d.ts.map +1 -1
  172. package/es/components/dropdown/dropdown.js +156 -65
  173. package/es/components/dropdown/dropdown.js.map +1 -1
  174. package/es/components/dropdown/dropdown.rtl.css.js +1 -1
  175. package/es/components/file-uploader/file-uploader.css.js +1 -1
  176. package/es/components/file-uploader/file-uploader.rtl.css.js +1 -1
  177. package/es/components/form/form-item.css.js +1 -1
  178. package/es/components/form/form-item.rtl.css.js +1 -1
  179. package/es/components/icon-button/defs.d.ts +64 -0
  180. package/es/components/icon-button/defs.d.ts.map +1 -0
  181. package/es/components/icon-button/defs.js +34 -0
  182. package/es/components/icon-button/defs.js.map +1 -0
  183. package/es/components/icon-button/icon-button.css.js +12 -0
  184. package/es/components/icon-button/icon-button.d.ts +50 -0
  185. package/es/components/icon-button/icon-button.d.ts.map +1 -0
  186. package/es/components/icon-button/icon-button.js +176 -0
  187. package/es/components/icon-button/icon-button.js.map +1 -0
  188. package/es/components/icon-button/icon-button.rtl.css.js +12 -0
  189. package/es/components/icon-button/index.d.ts +11 -0
  190. package/es/components/icon-button/index.d.ts.map +1 -0
  191. package/es/components/icon-button/index.js +11 -0
  192. package/es/components/icon-button/index.js.map +1 -0
  193. package/es/components/inline-loading/inline-loading.d.ts +6 -2
  194. package/es/components/inline-loading/inline-loading.d.ts.map +1 -1
  195. package/es/components/inline-loading/inline-loading.js +20 -5
  196. package/es/components/inline-loading/inline-loading.js.map +1 -1
  197. package/es/components/input/defs.d.ts +1 -1
  198. package/es/components/input/defs.d.ts.map +1 -1
  199. package/es/components/input/defs.js +1 -1
  200. package/es/components/input/defs.js.map +1 -1
  201. package/es/components/input/input.css.js +1 -1
  202. package/es/components/input/input.d.ts +31 -7
  203. package/es/components/input/input.d.ts.map +1 -1
  204. package/es/components/input/input.js +88 -11
  205. package/es/components/input/input.js.map +1 -1
  206. package/es/components/input/input.rtl.css.js +1 -1
  207. package/es/components/layer/index.d.ts +11 -0
  208. package/es/components/layer/index.d.ts.map +1 -0
  209. package/es/components/layer/index.js +11 -0
  210. package/es/components/layer/index.js.map +1 -0
  211. package/es/components/layer/layer.css.js +12 -0
  212. package/es/components/layer/layer.d.ts +36 -0
  213. package/es/components/layer/layer.d.ts.map +1 -0
  214. package/es/components/layer/layer.js +117 -0
  215. package/es/components/layer/layer.js.map +1 -0
  216. package/es/components/layer/layer.rtl.css.js +12 -0
  217. package/es/components/link/link.d.ts +16 -8
  218. package/es/components/link/link.d.ts.map +1 -1
  219. package/es/components/link/link.js +41 -9
  220. package/es/components/link/link.js.map +1 -1
  221. package/es/components/list/list.css.js +1 -1
  222. package/es/components/list/list.rtl.css.js +1 -1
  223. package/es/components/list/ordered-list.d.ts +3 -3
  224. package/es/components/list/ordered-list.d.ts.map +1 -1
  225. package/es/components/list/ordered-list.js +6 -6
  226. package/es/components/list/ordered-list.js.map +1 -1
  227. package/es/components/list/unordered-list.d.ts +2 -2
  228. package/es/components/list/unordered-list.d.ts.map +1 -1
  229. package/es/components/list/unordered-list.js +5 -5
  230. package/es/components/list/unordered-list.js.map +1 -1
  231. package/es/components/loading/loading.css.js +1 -1
  232. package/es/components/loading/loading.d.ts +2 -2
  233. package/es/components/loading/loading.d.ts.map +1 -1
  234. package/es/components/loading/loading.js +4 -4
  235. package/es/components/loading/loading.js.map +1 -1
  236. package/es/components/loading/loading.rtl.css.js +1 -1
  237. package/es/components/modal/modal-footer-button.d.ts +3 -3
  238. package/es/components/modal/modal-footer-button.d.ts.map +1 -1
  239. package/es/components/modal/modal-footer-button.js +6 -6
  240. package/es/components/modal/modal-footer-button.js.map +1 -1
  241. package/es/components/modal/modal-footer.d.ts.map +1 -1
  242. package/es/components/modal/modal-footer.js +1 -1
  243. package/es/components/modal/modal-footer.js.map +1 -1
  244. package/es/components/modal/modal.css.js +1 -1
  245. package/es/components/modal/modal.d.ts.map +1 -1
  246. package/es/components/modal/modal.js +2 -2
  247. package/es/components/modal/modal.js.map +1 -1
  248. package/es/components/modal/modal.rtl.css.js +1 -1
  249. package/es/components/multi-select/multi-select-item.d.ts +3 -3
  250. package/es/components/multi-select/multi-select-item.d.ts.map +1 -1
  251. package/es/components/multi-select/multi-select-item.js +6 -6
  252. package/es/components/multi-select/multi-select-item.js.map +1 -1
  253. package/es/components/multi-select/multi-select.css.js +1 -1
  254. package/es/components/multi-select/multi-select.d.ts +9 -9
  255. package/es/components/multi-select/multi-select.d.ts.map +1 -1
  256. package/es/components/multi-select/multi-select.js +17 -17
  257. package/es/components/multi-select/multi-select.js.map +1 -1
  258. package/es/components/multi-select/multi-select.rtl.css.js +1 -1
  259. package/es/components/notification/actionable-notification-button.d.ts +21 -0
  260. package/es/components/notification/actionable-notification-button.d.ts.map +1 -0
  261. package/es/components/notification/actionable-notification-button.js +56 -0
  262. package/es/components/notification/actionable-notification-button.js.map +1 -0
  263. package/es/components/notification/actionable-notification.css.js +12 -0
  264. package/es/components/notification/actionable-notification.d.ts +370 -0
  265. package/es/components/notification/actionable-notification.d.ts.map +1 -0
  266. package/es/components/notification/actionable-notification.js +281 -0
  267. package/es/components/notification/actionable-notification.js.map +1 -0
  268. package/es/components/notification/actionable-notification.rtl.css.js +12 -0
  269. package/es/components/notification/defs.d.ts +17 -1
  270. package/es/components/notification/defs.d.ts.map +1 -1
  271. package/es/components/notification/defs.js +3 -0
  272. package/es/components/notification/defs.js.map +1 -1
  273. package/es/components/notification/index.d.ts +2 -0
  274. package/es/components/notification/index.d.ts.map +1 -1
  275. package/es/components/notification/index.js +2 -0
  276. package/es/components/notification/index.js.map +1 -1
  277. package/es/components/notification/inline-notification.css.js +1 -1
  278. package/es/components/notification/inline-notification.d.ts +8 -8
  279. package/es/components/notification/inline-notification.d.ts.map +1 -1
  280. package/es/components/notification/inline-notification.js +23 -18
  281. package/es/components/notification/inline-notification.js.map +1 -1
  282. package/es/components/notification/inline-notification.rtl.css.js +1 -1
  283. package/es/components/notification/toast-notification.css.js +1 -1
  284. package/es/components/notification/toast-notification.d.ts +4 -4
  285. package/es/components/notification/toast-notification.d.ts.map +1 -1
  286. package/es/components/notification/toast-notification.js +7 -7
  287. package/es/components/notification/toast-notification.js.map +1 -1
  288. package/es/components/notification/toast-notification.rtl.css.js +1 -1
  289. package/es/components/number-input/index.d.ts +2 -1
  290. package/es/components/number-input/index.d.ts.map +1 -1
  291. package/es/components/number-input/index.js +2 -1
  292. package/es/components/number-input/index.js.map +1 -1
  293. package/es/components/number-input/number-input-skeleton.d.ts +2 -2
  294. package/es/components/number-input/number-input-skeleton.d.ts.map +1 -1
  295. package/es/components/number-input/number-input-skeleton.js +4 -4
  296. package/es/components/number-input/number-input-skeleton.js.map +1 -1
  297. package/es/components/number-input/number-input.css.js +1 -1
  298. package/es/components/number-input/number-input.d.ts +12 -25
  299. package/es/components/number-input/number-input.d.ts.map +1 -1
  300. package/es/components/number-input/number-input.js +85 -106
  301. package/es/components/number-input/number-input.js.map +1 -1
  302. package/es/components/number-input/number-input.rtl.css.js +1 -1
  303. package/es/components/pagination/pagination.css.js +1 -1
  304. package/es/components/pagination/pagination.rtl.css.js +1 -1
  305. package/es/components/popover/defs.d.ts +63 -0
  306. package/es/components/popover/defs.d.ts.map +1 -0
  307. package/es/components/popover/defs.js +28 -0
  308. package/es/components/popover/defs.js.map +1 -0
  309. package/es/components/popover/index.d.ts +12 -0
  310. package/es/components/popover/index.d.ts.map +1 -0
  311. package/es/components/popover/index.js +12 -0
  312. package/es/components/popover/index.js.map +1 -0
  313. package/es/components/popover/popover-content.d.ts +45 -0
  314. package/es/components/popover/popover-content.d.ts.map +1 -0
  315. package/es/components/popover/popover-content.js +141 -0
  316. package/es/components/popover/popover-content.js.map +1 -0
  317. package/es/components/popover/popover.css.js +12 -0
  318. package/es/components/popover/popover.d.ts +54 -0
  319. package/es/components/popover/popover.d.ts.map +1 -0
  320. package/es/components/popover/popover.js +201 -0
  321. package/es/components/popover/popover.js.map +1 -0
  322. package/es/components/popover/popover.rtl.css.js +12 -0
  323. package/es/components/progress-indicator/progress-indicator.css.js +1 -1
  324. package/es/components/progress-indicator/progress-indicator.rtl.css.js +1 -1
  325. package/es/components/radio-button/radio-button-group.d.ts +16 -4
  326. package/es/components/radio-button/radio-button-group.d.ts.map +1 -1
  327. package/es/components/radio-button/radio-button-group.js +55 -8
  328. package/es/components/radio-button/radio-button-group.js.map +1 -1
  329. package/es/components/radio-button/radio-button.css.js +1 -1
  330. package/es/components/radio-button/radio-button.d.ts +12 -4
  331. package/es/components/radio-button/radio-button.d.ts.map +1 -1
  332. package/es/components/radio-button/radio-button.js +44 -12
  333. package/es/components/radio-button/radio-button.js.map +1 -1
  334. package/es/components/radio-button/radio-button.rtl.css.js +1 -1
  335. package/es/components/search/search-skeleton.d.ts +3 -3
  336. package/es/components/search/search-skeleton.d.ts.map +1 -1
  337. package/es/components/search/search-skeleton.js +6 -6
  338. package/es/components/search/search-skeleton.js.map +1 -1
  339. package/es/components/search/search.css.js +1 -1
  340. package/es/components/search/search.d.ts +361 -19
  341. package/es/components/search/search.d.ts.map +1 -1
  342. package/es/components/search/search.js +136 -29
  343. package/es/components/search/search.js.map +1 -1
  344. package/es/components/search/search.rtl.css.js +1 -1
  345. package/es/components/select/index.d.ts +2 -1
  346. package/es/components/select/index.d.ts.map +1 -1
  347. package/es/components/select/index.js +2 -1
  348. package/es/components/select/index.js.map +1 -1
  349. package/es/components/select/select-item-group.d.ts +2 -2
  350. package/es/components/select/select-item-group.d.ts.map +1 -1
  351. package/es/components/select/select-item-group.js +4 -4
  352. package/es/components/select/select-item-group.js.map +1 -1
  353. package/es/components/select/select-item.d.ts +2 -2
  354. package/es/components/select/select-item.d.ts.map +1 -1
  355. package/es/components/select/select-item.js +4 -4
  356. package/es/components/select/select-item.js.map +1 -1
  357. package/es/components/select/select-skeleton.d.ts +23 -0
  358. package/es/components/select/select-skeleton.d.ts.map +1 -0
  359. package/es/components/select/select-skeleton.js +72 -0
  360. package/es/components/select/select-skeleton.js.map +1 -0
  361. package/es/components/select/select.css.js +1 -1
  362. package/es/components/select/select.d.ts +29 -331
  363. package/es/components/select/select.d.ts.map +1 -1
  364. package/es/components/select/select.js +151 -74
  365. package/es/components/select/select.js.map +1 -1
  366. package/es/components/select/select.rtl.css.js +1 -1
  367. package/es/components/skeleton-placeholder/skeleton-placeholder.d.ts +2 -2
  368. package/es/components/skeleton-placeholder/skeleton-placeholder.d.ts.map +1 -1
  369. package/es/components/skeleton-placeholder/skeleton-placeholder.js +4 -4
  370. package/es/components/skeleton-placeholder/skeleton-placeholder.js.map +1 -1
  371. package/es/components/skeleton-text/defs.d.ts +2 -6
  372. package/es/components/skeleton-text/defs.d.ts.map +1 -1
  373. package/es/components/skeleton-text/defs.js +1 -2
  374. package/es/components/skeleton-text/defs.js.map +1 -1
  375. package/es/components/skeleton-text/skeleton-text.css.js +1 -1
  376. package/es/components/skeleton-text/skeleton-text.d.ts +2 -2
  377. package/es/components/skeleton-text/skeleton-text.d.ts.map +1 -1
  378. package/es/components/skeleton-text/skeleton-text.js +4 -4
  379. package/es/components/skeleton-text/skeleton-text.js.map +1 -1
  380. package/es/components/skeleton-text/skeleton-text.rtl.css.js +1 -1
  381. package/es/components/slider/slider-input.d.ts +11 -9
  382. package/es/components/slider/slider-input.d.ts.map +1 -1
  383. package/es/components/slider/slider-input.js +36 -18
  384. package/es/components/slider/slider-input.js.map +1 -1
  385. package/es/components/slider/slider-skeleton.d.ts +2 -2
  386. package/es/components/slider/slider-skeleton.d.ts.map +1 -1
  387. package/es/components/slider/slider-skeleton.js +4 -4
  388. package/es/components/slider/slider-skeleton.js.map +1 -1
  389. package/es/components/slider/slider.css.js +1 -1
  390. package/es/components/slider/slider.d.ts +38 -20
  391. package/es/components/slider/slider.d.ts.map +1 -1
  392. package/es/components/slider/slider.js +119 -54
  393. package/es/components/slider/slider.js.map +1 -1
  394. package/es/components/slider/slider.rtl.css.js +1 -1
  395. package/es/components/structured-list/structured-list.css.js +1 -1
  396. package/es/components/structured-list/structured-list.rtl.css.js +1 -1
  397. package/es/components/tabs/tabs.css.js +1 -1
  398. package/es/components/tabs/tabs.rtl.css.js +1 -1
  399. package/es/components/tag/defs.d.ts +3 -3
  400. package/es/components/tag/defs.d.ts.map +1 -1
  401. package/es/components/tag/defs.js +2 -2
  402. package/es/components/tag/defs.js.map +1 -1
  403. package/es/components/tag/index.d.ts +1 -2
  404. package/es/components/tag/index.d.ts.map +1 -1
  405. package/es/components/tag/index.js +1 -2
  406. package/es/components/tag/index.js.map +1 -1
  407. package/es/components/tag/tag.css.js +1 -1
  408. package/es/components/tag/tag.d.ts +660 -3
  409. package/es/components/tag/tag.d.ts.map +1 -1
  410. package/es/components/tag/tag.js +160 -13
  411. package/es/components/tag/tag.js.map +1 -1
  412. package/es/components/tag/tag.rtl.css.js +1 -1
  413. package/es/components/text-input/defs.d.ts +44 -0
  414. package/es/components/text-input/defs.d.ts.map +1 -0
  415. package/es/components/text-input/defs.js +36 -0
  416. package/es/components/text-input/defs.js.map +1 -0
  417. package/es/components/text-input/index.d.ts +12 -0
  418. package/es/components/text-input/index.d.ts.map +1 -0
  419. package/es/components/text-input/index.js +12 -0
  420. package/es/components/text-input/index.js.map +1 -0
  421. package/es/components/text-input/text-input-skeleton.d.ts +23 -0
  422. package/es/components/text-input/text-input-skeleton.d.ts.map +1 -0
  423. package/es/components/text-input/text-input-skeleton.js +72 -0
  424. package/es/components/text-input/text-input-skeleton.js.map +1 -0
  425. package/es/components/text-input/text-input.css.js +12 -0
  426. package/es/components/text-input/text-input.d.ts +786 -0
  427. package/es/components/text-input/text-input.d.ts.map +1 -0
  428. package/es/components/text-input/text-input.js +657 -0
  429. package/es/components/text-input/text-input.js.map +1 -0
  430. package/es/components/text-input/text-input.rtl.css.js +12 -0
  431. package/es/components/textarea/textarea-skeleton.d.ts +2 -2
  432. package/es/components/textarea/textarea-skeleton.d.ts.map +1 -1
  433. package/es/components/textarea/textarea-skeleton.js +4 -4
  434. package/es/components/textarea/textarea-skeleton.js.map +1 -1
  435. package/es/components/textarea/textarea.css.js +1 -1
  436. package/es/components/textarea/textarea.d.ts +6 -681
  437. package/es/components/textarea/textarea.d.ts.map +1 -1
  438. package/es/components/textarea/textarea.js +63 -197
  439. package/es/components/textarea/textarea.js.map +1 -1
  440. package/es/components/textarea/textarea.rtl.css.js +1 -1
  441. package/es/components/tile/expandable-tile.d.ts +5 -5
  442. package/es/components/tile/expandable-tile.d.ts.map +1 -1
  443. package/es/components/tile/expandable-tile.js +54 -36
  444. package/es/components/tile/expandable-tile.js.map +1 -1
  445. package/es/components/tile/radio-tile.d.ts +6 -338
  446. package/es/components/tile/radio-tile.d.ts.map +1 -1
  447. package/es/components/tile/radio-tile.js +36 -127
  448. package/es/components/tile/radio-tile.js.map +1 -1
  449. package/es/components/tile/selectable-tile.d.ts +322 -1
  450. package/es/components/tile/selectable-tile.d.ts.map +1 -1
  451. package/es/components/tile/selectable-tile.js +26 -10
  452. package/es/components/tile/selectable-tile.js.map +1 -1
  453. package/es/components/tile/tile-group.d.ts +380 -3
  454. package/es/components/tile/tile-group.d.ts.map +1 -1
  455. package/es/components/tile/tile-group.js +336 -19
  456. package/es/components/tile/tile-group.js.map +1 -1
  457. package/es/components/tile/tile.css.js +1 -1
  458. package/es/components/tile/tile.rtl.css.js +1 -1
  459. package/es/components/toggle/toggle.css.js +1 -1
  460. package/es/components/toggle/toggle.d.ts +13 -5
  461. package/es/components/toggle/toggle.d.ts.map +1 -1
  462. package/es/components/toggle/toggle.js +46 -15
  463. package/es/components/toggle/toggle.js.map +1 -1
  464. package/es/components/toggle/toggle.rtl.css.js +1 -1
  465. package/es/components/toggle-tip/toggletip.css.js +1 -1
  466. package/es/components/toggle-tip/toggletip.d.ts +7 -3
  467. package/es/components/toggle-tip/toggletip.d.ts.map +1 -1
  468. package/es/components/toggle-tip/toggletip.js +14 -14
  469. package/es/components/toggle-tip/toggletip.js.map +1 -1
  470. package/es/components/toggle-tip/toggletip.rtl.css.js +1 -1
  471. package/es/components/tooltip/index.d.ts +1 -3
  472. package/es/components/tooltip/index.d.ts.map +1 -1
  473. package/es/components/tooltip/index.js +1 -3
  474. package/es/components/tooltip/index.js.map +1 -1
  475. package/es/components/tooltip/tooltip-content.d.ts +20 -0
  476. package/es/components/tooltip/tooltip-content.d.ts.map +1 -0
  477. package/es/components/tooltip/tooltip-content.js +62 -0
  478. package/es/components/tooltip/tooltip-content.js.map +1 -0
  479. package/es/components/tooltip/tooltip.css.js +1 -1
  480. package/es/components/tooltip/tooltip.d.ts +36 -26
  481. package/es/components/tooltip/tooltip.d.ts.map +1 -1
  482. package/es/components/tooltip/tooltip.js +114 -121
  483. package/es/components/tooltip/tooltip.js.map +1 -1
  484. package/es/components/tooltip/tooltip.rtl.css.js +1 -1
  485. package/es/components-react/accordion/accordion-item-skeleton.d.ts +15 -0
  486. package/es/components-react/accordion/accordion-item-skeleton.js +21 -0
  487. package/es/components-react/accordion/accordion-item.d.ts +2 -2
  488. package/es/components-react/accordion/accordion-skeleton.d.ts +15 -0
  489. package/es/components-react/accordion/accordion-skeleton.js +21 -0
  490. package/es/components-react/accordion/accordion.d.ts +2 -2
  491. package/es/components-react/breadcrumb/breadcrumb-item.d.ts +2 -2
  492. package/es/components-react/breadcrumb/breadcrumb-link.d.ts +2 -2
  493. package/es/components-react/breadcrumb/breadcrumb-overflow-menu.d.ts +2 -2
  494. package/es/components-react/breadcrumb/breadcrumb-skeleton.d.ts +15 -0
  495. package/es/components-react/breadcrumb/breadcrumb-skeleton.js +21 -0
  496. package/es/components-react/breadcrumb/breadcrumb.d.ts +2 -2
  497. package/es/components-react/{tooltip/tooltip-footer.d.ts → button/button-set.d.ts} +2 -2
  498. package/es/components-react/{tooltip/tooltip-footer.js → button/button-set.js} +2 -2
  499. package/es/components-react/button/button-skeleton.d.ts +2 -2
  500. package/es/components-react/button/button-skeleton.js +1 -1
  501. package/es/components-react/button/button.d.ts +2 -2
  502. package/es/components-react/button/button.js +8 -2
  503. package/es/components-react/checkbox/checkbox-skeleton.d.ts +15 -0
  504. package/es/components-react/checkbox/checkbox-skeleton.js +21 -0
  505. package/es/components-react/checkbox/checkbox.d.ts +2 -2
  506. package/es/components-react/combo-box/combo-box-item.d.ts +2 -2
  507. package/es/components-react/combo-box/combo-box.d.ts +2 -2
  508. package/es/components-react/combo-box/combo-box.js +1 -5
  509. package/es/components-react/copy/copy.d.ts +14 -0
  510. package/es/components-react/copy/copy.js +23 -0
  511. package/es/components-react/copy-button/copy-button.d.ts +2 -2
  512. package/es/components-react/date-picker/date-picker-input-skeleton.d.ts +2 -2
  513. package/es/components-react/date-picker/date-picker-input.d.ts +2 -2
  514. package/es/components-react/date-picker/date-picker-input.js +0 -1
  515. package/es/components-react/date-picker/date-picker.d.ts +2 -2
  516. package/es/components-react/dropdown/dropdown-item.d.ts +2 -2
  517. package/es/components-react/dropdown/dropdown-skeleton.d.ts +2 -2
  518. package/es/components-react/dropdown/dropdown.d.ts +2 -2
  519. package/es/components-react/dropdown/dropdown.js +1 -1
  520. package/es/components-react/icon-button/defs.js +9 -0
  521. package/es/components-react/{tooltip/tooltip-body.d.ts → icon-button/icon-button.d.ts} +3 -3
  522. package/es/components-react/icon-button/icon-button.js +24 -0
  523. package/es/components-react/{slider/defs.js → icon-button/index.js} +0 -1
  524. package/es/components-react/inline-loading/inline-loading.d.ts +2 -2
  525. package/es/components-react/input/input.d.ts +2 -2
  526. package/es/components-react/layer/index.d.ts +14 -0
  527. package/es/components-react/layer/index.js +8 -0
  528. package/es/components-react/layer/layer.d.ts +19 -0
  529. package/es/components-react/{tag/filter-tag.js → layer/layer.js} +5 -10
  530. package/es/components-react/link/link.d.ts +2 -2
  531. package/es/components-react/list/ordered-list.d.ts +2 -2
  532. package/es/components-react/list/unordered-list.d.ts +2 -2
  533. package/es/components-react/loading/loading.d.ts +2 -2
  534. package/es/components-react/modal/modal-footer-button.d.ts +2 -2
  535. package/es/components-react/multi-select/multi-select-item.d.ts +2 -2
  536. package/es/components-react/multi-select/multi-select.d.ts +2 -2
  537. package/es/components-react/multi-select/multi-select.js +1 -5
  538. package/es/components-react/notification/actionable-notification-button.d.ts +15 -0
  539. package/es/components-react/notification/actionable-notification-button.js +23 -0
  540. package/es/components-react/notification/actionable-notification.d.ts +14 -0
  541. package/es/components-react/notification/actionable-notification.js +23 -0
  542. package/es/components-react/notification/inline-notification.d.ts +2 -2
  543. package/es/components-react/notification/toast-notification.d.ts +2 -2
  544. package/es/components-react/number-input/number-input-skeleton.d.ts +2 -2
  545. package/es/components-react/number-input/number-input.d.ts +3 -3
  546. package/es/components-react/number-input/number-input.js +3 -6
  547. package/es/components-react/popover/defs.d.ts +14 -0
  548. package/es/components-react/{tooltip → popover}/defs.js +1 -1
  549. package/es/components-react/popover/index.d.ts +14 -0
  550. package/es/components-react/popover/index.js +8 -0
  551. package/es/components-react/popover/popover-content.d.ts +15 -0
  552. package/es/components-react/popover/popover-content.js +21 -0
  553. package/es/components-react/popover/popover.d.ts +15 -0
  554. package/es/components-react/popover/popover.js +21 -0
  555. package/es/components-react/radio-button/radio-button-group.d.ts +2 -2
  556. package/es/components-react/radio-button/radio-button.d.ts +2 -2
  557. package/es/components-react/search/search-skeleton.d.ts +2 -2
  558. package/es/components-react/search/search.d.ts +2 -2
  559. package/es/components-react/search/search.js +0 -1
  560. package/es/components-react/select/select-item-group.d.ts +2 -2
  561. package/es/components-react/select/select-item.d.ts +2 -2
  562. package/es/components-react/select/select-skeleton.d.ts +15 -0
  563. package/es/components-react/select/select-skeleton.js +21 -0
  564. package/es/components-react/select/select.d.ts +2 -2
  565. package/es/components-react/select/select.js +0 -1
  566. package/es/components-react/skeleton-placeholder/skeleton-placeholder.d.ts +2 -2
  567. package/es/components-react/skeleton-text/skeleton-text.d.ts +2 -2
  568. package/es/components-react/slider/slider-input.d.ts +2 -2
  569. package/es/components-react/slider/slider-input.js +0 -1
  570. package/es/components-react/slider/slider-skeleton.d.ts +2 -2
  571. package/es/components-react/slider/slider.d.ts +2 -2
  572. package/es/components-react/tag/tag.d.ts +11 -2
  573. package/es/components-react/tag/tag.js +12 -2
  574. package/es/components-react/text-input/defs.d.ts +14 -0
  575. package/es/components-react/text-input/defs.js +9 -0
  576. package/es/components-react/text-input/index.d.ts +14 -0
  577. package/es/components-react/text-input/index.js +8 -0
  578. package/es/components-react/text-input/text-input-skeleton.d.ts +15 -0
  579. package/es/components-react/text-input/text-input-skeleton.js +21 -0
  580. package/es/components-react/text-input/text-input.d.ts +15 -0
  581. package/es/components-react/text-input/text-input.js +22 -0
  582. package/es/components-react/textarea/textarea-skeleton.d.ts +2 -2
  583. package/es/components-react/textarea/textarea.d.ts +4 -5
  584. package/es/components-react/textarea/textarea.js +4 -3
  585. package/es/components-react/tile/radio-tile.d.ts +8 -3
  586. package/es/components-react/tile/radio-tile.js +8 -2
  587. package/es/components-react/tile/tile-group.d.ts +10 -2
  588. package/es/components-react/tile/tile-group.js +12 -2
  589. package/es/components-react/toggle/toggle.d.ts +2 -2
  590. package/es/components-react/tooltip/tooltip-content.d.ts +14 -0
  591. package/es/components-react/tooltip/{tooltip-body.js → tooltip-content.js} +4 -4
  592. package/es/components-react/tooltip/tooltip.d.ts +4 -5
  593. package/es/components-react/tooltip/tooltip.js +4 -2
  594. package/es/globals/internal/radio-group-manager.d.ts +3 -2
  595. package/es/globals/internal/radio-group-manager.d.ts.map +1 -1
  596. package/es/globals/internal/radio-group-manager.js +5 -4
  597. package/es/globals/internal/radio-group-manager.js.map +1 -1
  598. package/es/globals/settings.d.ts.map +1 -1
  599. package/es/globals/settings.js +1 -1
  600. package/es/globals/settings.js.map +1 -1
  601. package/es/globals/wrappers/createReactCustomElementType.d.ts +3 -3
  602. package/es/globals/wrappers/createReactCustomElementType.d.ts.map +1 -1
  603. package/es/globals/wrappers/createReactCustomElementType.js +3 -3
  604. package/es/globals/wrappers/createReactCustomElementType.js.map +1 -1
  605. package/es/icons/add/16.js +1 -1
  606. package/es/icons/arrows/16.js +1 -1
  607. package/es/icons/arrows--vertical/16.js +1 -1
  608. package/es/icons/caret--down/16.js +1 -1
  609. package/es/icons/caret--up/16.js +1 -1
  610. package/es/icons/information/16.js +1 -1
  611. package/es/icons/information--filled/20.js +1 -1
  612. package/es/icons/information--square--filled/20.js +1 -1
  613. package/es/icons/subtract/16.js +1 -1
  614. package/es/icons/warning--alt--filled/16.js +1 -1
  615. package/es/icons/warning--alt--filled/20.js +1 -1
  616. package/es/index.d.ts +110 -109
  617. package/es/index.d.ts.map +1 -1
  618. package/es/index.js +110 -109
  619. package/es/index.js.map +1 -1
  620. package/lib/components/button/defs.js +36 -13
  621. package/lib/components/button/defs.js.map +1 -1
  622. package/lib/components/date-picker/defs.js +2 -11
  623. package/lib/components/date-picker/defs.js.map +1 -1
  624. package/lib/components/dropdown/defs.js +12 -3
  625. package/lib/components/dropdown/defs.js.map +1 -1
  626. package/lib/components/icon-button/defs.js +40 -0
  627. package/lib/components/icon-button/defs.js.map +1 -0
  628. package/lib/components/input/defs.js +1 -1
  629. package/lib/components/input/defs.js.map +1 -1
  630. package/lib/components/notification/defs.js +3 -0
  631. package/lib/components/notification/defs.js.map +1 -1
  632. package/lib/components/popover/defs.js +34 -0
  633. package/lib/components/popover/defs.js.map +1 -0
  634. package/lib/components/skeleton-text/defs.js +1 -2
  635. package/lib/components/skeleton-text/defs.js.map +1 -1
  636. package/lib/components/tag/defs.js +2 -2
  637. package/lib/components/tag/defs.js.map +1 -1
  638. package/lib/components/text-input/defs.js +47 -0
  639. package/lib/components/text-input/defs.js.map +1 -0
  640. package/lib/components-react-node/{tooltip/tooltip-body.js → accordion/accordion-item-skeleton.js} +3 -4
  641. package/lib/components-react-node/accordion/accordion-skeleton.js +36 -0
  642. package/lib/components-react-node/breadcrumb/breadcrumb-skeleton.js +36 -0
  643. package/lib/components-react-node/{tooltip/tooltip-footer.js → button/button-set.js} +1 -1
  644. package/lib/components-react-node/button/button-skeleton.js +1 -1
  645. package/lib/components-react-node/button/button.js +19 -7
  646. package/lib/components-react-node/checkbox/checkbox-skeleton.js +36 -0
  647. package/lib/components-react-node/combo-box/combo-box.js +2 -8
  648. package/lib/components-react-node/copy/copy.js +37 -0
  649. package/lib/components-react-node/date-picker/date-picker-input.js +0 -6
  650. package/lib/components-react-node/dropdown/dropdown.js +2 -2
  651. package/lib/components-react-node/icon-button/defs.js +24 -0
  652. package/lib/components-react-node/icon-button/icon-button.js +50 -0
  653. package/lib/components-react-node/icon-button/index.js +9 -0
  654. package/lib/components-react-node/layer/index.js +9 -0
  655. package/lib/components-react-node/layer/layer.js +42 -0
  656. package/lib/components-react-node/multi-select/multi-select.js +0 -6
  657. package/lib/components-react-node/notification/actionable-notification-button.js +37 -0
  658. package/lib/components-react-node/notification/actionable-notification.js +37 -0
  659. package/lib/components-react-node/number-input/number-input.js +3 -9
  660. package/lib/components-react-node/{slider → popover}/defs.js +1 -1
  661. package/lib/components-react-node/popover/index.js +9 -0
  662. package/lib/components-react-node/popover/popover-content.js +36 -0
  663. package/lib/components-react-node/popover/popover.js +36 -0
  664. package/lib/components-react-node/search/search.js +0 -7
  665. package/lib/components-react-node/select/select-skeleton.js +36 -0
  666. package/lib/components-react-node/select/select.js +0 -7
  667. package/lib/components-react-node/slider/slider-input.js +0 -7
  668. package/lib/components-react-node/tag/tag.js +12 -2
  669. package/lib/components-react-node/{tooltip → text-input}/defs.js +1 -1
  670. package/lib/components-react-node/text-input/index.js +9 -0
  671. package/lib/components-react-node/text-input/text-input-skeleton.js +36 -0
  672. package/lib/components-react-node/{tag/filter-tag.js → text-input/text-input.js} +13 -17
  673. package/lib/components-react-node/textarea/textarea.js +3 -9
  674. package/lib/components-react-node/tile/radio-tile.js +8 -2
  675. package/lib/components-react-node/tile/tile-group.js +12 -2
  676. package/lib/components-react-node/tooltip/tooltip-content.js +37 -0
  677. package/lib/components-react-node/tooltip/tooltip.js +3 -2
  678. package/lib/globals/settings.js +1 -1
  679. package/lib/globals/settings.js.map +1 -1
  680. package/lib/globals/wrappers/createReactCustomElementType.js +3 -3
  681. package/lib/globals/wrappers/createReactCustomElementType.js.map +1 -1
  682. package/package.json +10 -11
  683. package/scss/components/accordion/accordion.scss +24 -10
  684. package/scss/components/breadcrumb/breadcrumb.scss +6 -3
  685. package/scss/components/button/button.scss +17 -35
  686. package/scss/components/checkbox/checkbox.scss +9 -1
  687. package/scss/components/combo-box/combo-box.scss +51 -43
  688. package/scss/components/copy-button/copy-button.scss +20 -0
  689. package/scss/components/date-picker/date-picker.scss +28 -14
  690. package/scss/components/dropdown/dropdown.scss +87 -34
  691. package/scss/components/icon-button/icon-button.scss +14 -0
  692. package/scss/components/layer/layer.scss +23 -0
  693. package/scss/components/list/list.scss +0 -5
  694. package/scss/components/loading/loading.scss +1 -0
  695. package/scss/components/modal/modal.scss +2 -2
  696. package/scss/components/notification/actionable-notification.scss +170 -0
  697. package/scss/components/notification/inline-notification.scss +26 -0
  698. package/scss/components/notification/toast-notification.scss +26 -0
  699. package/scss/components/number-input/number-input.scss +13 -0
  700. package/scss/components/popover/popover.scss +122 -0
  701. package/scss/components/radio-button/radio-button.scss +6 -6
  702. package/scss/components/search/search.scss +54 -21
  703. package/scss/components/select/select.scss +20 -4
  704. package/scss/components/skeleton-text/skeleton-text.scss +4 -0
  705. package/scss/components/slider/slider.scss +9 -1
  706. package/scss/components/tag/tag.scss +69 -72
  707. package/scss/components/text-input/text-input.scss +38 -0
  708. package/scss/components/textarea/textarea.scss +7 -0
  709. package/scss/components/tile/tile.scss +42 -16
  710. package/scss/components/toggle/toggle.scss +4 -0
  711. package/scss/components/tooltip/tooltip.scss +5 -135
  712. package/CHANGELOG.md +0 -87
  713. package/es/components/slider/defs.d.ts +0 -11
  714. package/es/components/slider/defs.d.ts.map +0 -1
  715. package/es/components/slider/defs.js +0 -11
  716. package/es/components/slider/defs.js.map +0 -1
  717. package/es/components/tag/filter-tag.d.ts +0 -680
  718. package/es/components/tag/filter-tag.d.ts.map +0 -1
  719. package/es/components/tag/filter-tag.js +0 -194
  720. package/es/components/tag/filter-tag.js.map +0 -1
  721. package/es/components/tooltip/defs.d.ts +0 -84
  722. package/es/components/tooltip/defs.d.ts.map +0 -1
  723. package/es/components/tooltip/defs.js +0 -39
  724. package/es/components/tooltip/defs.js.map +0 -1
  725. package/es/components/tooltip/tooltip-body.d.ts +0 -40
  726. package/es/components/tooltip/tooltip-body.d.ts.map +0 -1
  727. package/es/components/tooltip/tooltip-body.js +0 -179
  728. package/es/components/tooltip/tooltip-body.js.map +0 -1
  729. package/es/components/tooltip/tooltip-footer.d.ts.map +0 -1
  730. package/es/components/tooltip/tooltip-footer.js.map +0 -1
  731. package/es/components-react/tag/filter-tag.d.ts +0 -24
  732. package/lib/components/slider/defs.js +0 -21
  733. package/lib/components/slider/defs.js.map +0 -1
  734. package/lib/components/tooltip/defs.js +0 -45
  735. package/lib/components/tooltip/defs.js.map +0 -1
  736. /package/es/components-react/{slider → icon-button}/defs.d.ts +0 -0
  737. /package/es/components-react/{tooltip/defs.d.ts → icon-button/index.d.ts} +0 -0
@@ -10,7 +10,7 @@ import { LitElement } from 'lit';
10
10
  import { FLOATING_MENU_ALIGNMENT, FLOATING_MENU_DIRECTION } from '../floating-menu/floating-menu';
11
11
  import { INPUT_COLOR_SCHEME, INPUT_SIZE, INPUT_TYPE } from './defs';
12
12
  export { INPUT_COLOR_SCHEME, INPUT_SIZE, INPUT_TYPE };
13
- declare const BXInput_base: (abstract new (...args: any[]) => {
13
+ declare const CDSInput_base: (abstract new (...args: any[]) => {
14
14
  _getValidityMessage(state: string): string | undefined;
15
15
  _testValidity(): string;
16
16
  invalid: boolean;
@@ -638,7 +638,7 @@ declare const BXInput_base: (abstract new (...args: any[]) => {
638
638
  * @slot label-text - The label text.
639
639
  * @slot validity-message - The validity message. If present and non-empty, this input shows the UI of its invalid state.
640
640
  */
641
- declare class BXInput extends BXInput_base {
641
+ declare class CDSInput extends CDSInput_base {
642
642
  /**
643
643
  * The underlying input element
644
644
  */
@@ -670,18 +670,42 @@ declare class BXInput extends BXInput_base {
670
670
  * Controls the disabled state of the input
671
671
  */
672
672
  disabled: boolean;
673
+ /**
674
+ * Specify whether to display the character counter
675
+ */
676
+ enableCounter: boolean;
673
677
  /**
674
678
  * The helper text.
675
679
  */
676
680
  helperText: string;
677
681
  /**
678
- * Controls the invalid state and visibility of the `validityMessage`
682
+ * Specify if the currently value is invalid.
679
683
  */
680
684
  invalid: boolean;
681
685
  /**
682
- * The label text.
686
+ * Max character count allowed for input. This is needed in order for enableCounter to display
687
+ */
688
+ maxCount: any;
689
+ /**
690
+ * Specify whether the control is currently in warning state
691
+ */
692
+ warn: boolean;
693
+ /**
694
+ * Provide the text that is displayed when the control is in warning state
695
+ */
696
+ warnText: string;
697
+ /**
698
+ * Message which is displayed if the value is invalid.
699
+ */
700
+ invalidText: string;
701
+ /**
702
+ * Specify whether you want the underlying label to be visually hidden
703
+ */
704
+ hideLabel: boolean;
705
+ /**
706
+ * Generic label that will be used as the textual representation of what this field is for
683
707
  */
684
- labelText: string;
708
+ label: string;
685
709
  /**
686
710
  * Name for the input in the `FormData`
687
711
  */
@@ -695,7 +719,7 @@ declare class BXInput extends BXInput_base {
695
719
  */
696
720
  placeholder: string;
697
721
  /**
698
- * Controls the readonly state of the input
722
+ * Specify if the component should be read-only
699
723
  */
700
724
  readonly: boolean;
701
725
  /**
@@ -757,6 +781,6 @@ declare class BXInput extends BXInput_base {
757
781
  };
758
782
  static styles: any;
759
783
  }
760
- export default BXInput;
784
+ export default CDSInput;
761
785
 
762
786
  //# sourceMappingURL=input.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"sources":["components/input/input.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAOvC,OAAO,EACL,uBAAuB,EACvB,uBAAuB,EACxB,MAAM,gCAAgC,CAAC;AAIxC,OAAO,EAAE,kBAAkB,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAGpE,OAAO,EAAE,k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G;IAEH,OAAO,UAAS;IAEhB;;OAEG;IAEH,SAAS,SAAM;IAEf;;OAEG;IAEH,IAAI,SAAM;IAEV;;OAEG;IAEH,OAAO,SAAM;IAEb;;OAEG;IAEH,WAAW,SAAM;IAEjB;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,uBAAuB,SAAiC;IAExD;;OAEG;IAEH,iBAAiB,SAAmB;IAEpC;;OAEG;IAEH,iBAAiB,SAAmB;IAEpC;;OAEG;IAMH,4BAA4B,UAAS;IAErC;;OAEG;IAEH,IAAI,aAAsB;IAE1B;;;OAGG;IAEH,gBAAgB,0BAAkC;IAElD;;;OAGG;IAEH,gBAAgB,0BAAkC;IAElD;;OAEG;IAEH,IAAI,aAAmB;IAEvB;;OAEG;IAEH,eAAe,SAAM;IAErB;;OAEG;IACH,IACI,KAAK,WAQR;IAED,IAAI,KAAK,CAAC,KAAK,QAAA,EAUd;IAED;;OAEG;IACH,OAAO,CAAC,8BAA8B;IAKtC,MAAM;IAgGN,MAAM,CAAC,iBAAiB;;;;MAGtB;IACF,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,OAAO,CAAC","file":"input.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2023\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { LitElement, html } from 'lit';\nimport { property, customElement, query } from 'lit/decorators.js';\nimport { classMap } from 'lit/directives/class-map.js';\nimport { prefix } from '../../globals/settings';\nimport View16 from '@carbon/icons/lib/view/16';\nimport ViewOff16 from '@carbon/icons/lib/view--off/16';\nimport WarningFilled16 from '@carbon/icons/lib/warning--filled/16';\nimport {\n FLOATING_MENU_ALIGNMENT,\n FLOATING_MENU_DIRECTION,\n} from '../floating-menu/floating-menu';\nimport ifNonEmpty from '../../globals/directives/if-non-empty';\nimport FormMixin from '../../globals/mixins/form';\nimport ValidityMixin from '../../globals/mixins/validity';\nimport { INPUT_COLOR_SCHEME, INPUT_SIZE, INPUT_TYPE } from './defs';\nimport styles from './input.scss';\n\nexport { INPUT_COLOR_SCHEME, INPUT_SIZE, INPUT_TYPE };\n\n/**\n * Input element. Supports all the usual attributes for textual input types\n *\n * @element cds-input\n * @slot helper-text - The helper text.\n * @slot label-text - The label text.\n * @slot validity-message - The validity message. If present and non-empty, this input shows the UI of its invalid state.\n */\n@customElement(`${prefix}-input`)\nclass BXInput extends ValidityMixin(FormMixin(LitElement)) {\n /**\n * The underlying input element\n */\n @query('input')\n protected _input!: HTMLInputElement;\n\n /**\n * The internal value.\n */\n protected _value = '';\n\n /**\n * Handles `oninput` event on the `<input>`.\n *\n * @param event The event.\n */\n protected _handleInput({ target }: Event) {\n this.value = (target as HTMLInputElement).value;\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 * May be any of the standard HTML autocomplete options\n */\n @property()\n autocomplete = '';\n\n /**\n * Sets the input to be focussed automatically on page load. Defaults to false\n */\n @property({ type: Boolean })\n autofocus = false;\n\n /**\n * The color scheme.\n */\n @property({ attribute: 'color-scheme', reflect: true })\n colorScheme = INPUT_COLOR_SCHEME.REGULAR;\n\n /**\n * Controls the disabled state of the input\n */\n @property({ type: Boolean, reflect: true })\n disabled = false;\n\n /**\n * The helper text.\n */\n @property({ attribute: 'helper-text' })\n helperText = '';\n\n /**\n * Controls the invalid state and visibility of the `validityMessage`\n */\n @property({ type: Boolean, reflect: true })\n invalid = false;\n\n /**\n * The label text.\n */\n @property({ attribute: 'label-text' })\n labelText = '';\n\n /**\n * Name for the input in the `FormData`\n */\n @property()\n name = '';\n\n /**\n * Pattern to validate the input against for HTML validity checking\n */\n @property()\n pattern = '';\n\n /**\n * Value to display when the input has an empty `value`\n */\n @property({ reflect: true })\n placeholder = '';\n\n /**\n * Controls the readonly state of the input\n */\n @property({ type: Boolean, reflect: true })\n readonly = false;\n\n /**\n * Boolean property to set the required status\n */\n @property({ type: Boolean, reflect: true })\n required = false;\n\n /**\n * The special validity message for `required`.\n */\n @property({ attribute: 'required-validity-message' })\n requiredValidityMessage = 'Please fill out this field.';\n\n /**\n * \"Hide password\" tooltip text on password visibility toggle\n */\n @property()\n hidePasswordLabel = 'Hide password';\n\n /**\n * \"Show password\" tooltip text on password visibility toggle\n */\n @property()\n showPasswordLabel = 'Show password';\n\n /**\n * Boolean property to render password visibility toggle\n */\n @property({\n type: Boolean,\n attribute: 'show-password-visibility-toggle',\n reflect: true,\n })\n showPasswordVisibilityToggle = false;\n\n /**\n * The input box size.\n */\n @property({ reflect: true })\n size = INPUT_SIZE.REGULAR;\n\n /**\n * Specify the alignment of the tooltip to the icon-only button.\n * Can be one of: start, center, or end.\n */\n @property()\n tooltipAlignment = FLOATING_MENU_ALIGNMENT.CENTER;\n\n /**\n * Specify the direction of the tooltip for icon-only buttons.\n * Can be either top, right, bottom, or left.\n */\n @property()\n tooltipDirection = FLOATING_MENU_DIRECTION.BOTTOM;\n\n /**\n * The type of the input. Can be one of the types listed in the INPUT_TYPE enum\n */\n @property({ reflect: true })\n type = INPUT_TYPE.TEXT;\n\n /**\n * The validity message. If present and non-empty, this input shows the UI of its invalid state.\n */\n @property({ attribute: 'validity-message' })\n validityMessage = '';\n\n /**\n * The value of the input.\n */\n @property({ reflect: true })\n get value() {\n // FIXME: Figure out how to deal with TS2611\n // once we have the input we can directly query for the value\n if (this._input) {\n return this._input.value;\n }\n // but before then _value will work fine\n return this._value;\n }\n\n set value(value) {\n const oldValue = this._value;\n this._value = value;\n // make sure that lit-element updates the right properties\n this.requestUpdate('value', oldValue);\n // we set the value directly on the input (when available)\n // so that programatic manipulation updates the UI correctly\n if (this._input) {\n this._input.value = value;\n }\n }\n\n /**\n * Handles password visibility toggle button click\n */\n private handleTogglePasswordVisibility() {\n this.type =\n this.type === INPUT_TYPE.PASSWORD ? INPUT_TYPE.TEXT : INPUT_TYPE.PASSWORD;\n }\n\n render() {\n const { _handleInput: handleInput } = this;\n\n const invalidIcon = WarningFilled16({\n class: `${prefix}--text-input__invalid-icon`,\n });\n\n const inputClasses = classMap({\n [`${prefix}--text-input`]: true,\n [`${prefix}--text-input--${this.colorScheme}`]: this.colorScheme,\n [`${prefix}--text-input--invalid`]: this.invalid,\n [`${prefix}--text-input--${this.size}`]: this.size,\n [`${prefix}--password-input`]: this.type === INPUT_TYPE.PASSWORD,\n });\n\n const labelClasses = classMap({\n [`${prefix}--label`]: true,\n [`${prefix}--label--disabled`]: this.disabled,\n });\n\n const helperTextClasses = classMap({\n [`${prefix}--form__helper-text`]: true,\n [`${prefix}--form__helper-text--disabled`]: this.disabled,\n });\n\n const passwordIsVisible = this.type !== INPUT_TYPE.PASSWORD;\n const passwordVisibilityIcon = passwordIsVisible\n ? ViewOff16({ class: `${prefix}--icon-visibility-off` })\n : View16({ class: `${prefix}--icon-visibility-on` });\n\n const passwordVisibilityToggleClasses = classMap({\n [`${prefix}--text-input--password__visibility__toggle`]: true,\n [`${prefix}--btn`]: true,\n [`${prefix}--btn--icon-only`]: true,\n [`${prefix}--tooltip__trigger`]: true,\n [`${prefix}--tooltip--a11y`]: true,\n [`${prefix}--btn--disabled`]: this.disabled,\n [`${prefix}--tooltip--${this.tooltipDirection}`]: this.tooltipDirection,\n [`${prefix}--tooltip--align-${this.tooltipAlignment}`]:\n this.tooltipAlignment,\n });\n\n const passwordButtonLabel = html`\n <span class=\"${prefix}--assistive-text\">\n ${passwordIsVisible ? this.hidePasswordLabel : this.showPasswordLabel}\n </span>\n `;\n\n const passwordVisibilityButton = () => html`\n <button\n type=\"button\"\n class=\"${passwordVisibilityToggleClasses}\"\n ?disabled=\"${this.disabled}\"\n @click=\"${this.handleTogglePasswordVisibility}\">\n ${!this.disabled && passwordButtonLabel} ${passwordVisibilityIcon}\n </button>\n `;\n\n return html`\n <label class=\"${labelClasses}\" for=\"input\">\n <slot name=\"label-text\"> ${this.labelText} </slot>\n </label>\n <div\n class=\"${prefix}--text-input__field-wrapper\"\n ?data-invalid=\"${this.invalid}\">\n ${this.invalid ? invalidIcon : null}\n <input\n ?autocomplete=\"${this.autocomplete}\"\n ?autofocus=\"${this.autofocus}\"\n class=\"${inputClasses}\"\n ?data-invalid=\"${this.invalid}\"\n ?disabled=\"${this.disabled}\"\n aria-describedby=\"helper-text\"\n id=\"input\"\n name=\"${ifNonEmpty(this.name)}\"\n pattern=\"${ifNonEmpty(this.pattern)}\"\n placeholder=\"${ifNonEmpty(this.placeholder)}\"\n ?readonly=\"${this.readonly}\"\n ?required=\"${this.required}\"\n type=\"${ifNonEmpty(this.type)}\"\n .value=\"${this._value}\"\n @input=\"${handleInput}\" />\n ${this.showPasswordVisibilityToggle &&\n (this.type === INPUT_TYPE.PASSWORD || this.type === INPUT_TYPE.TEXT)\n ? passwordVisibilityButton()\n : null}\n </div>\n <div class=\"${helperTextClasses}\" id=\"helper-text\">\n <slot name=\"helper-text\"> ${this.helperText} </slot>\n </div>\n <div class=\"${prefix}--form-requirement\">\n <slot name=\"validity-message\"> ${this.validityMessage} </slot>\n </div>\n `;\n }\n\n static shadowRootOptions = {\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n };\n static styles = styles; // `styles` here is a `CSSResult` generated by custom WebPack loader\n}\n\nexport default BXInput;\n"]}
1
+ {"version":3,"sources":["components/input/input.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAOvC,OAAO,EACL,uBAAuB,EACvB,uBAAuB,EACxB,MAAM,gCAAgC,CAAC;AAIxC,OAAO,EAAE,kBAAkB,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAGpE,OAAO,EAAE,kBAAkB,EAAE,UAAU,EAAE,UAAU,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AET;;OAEG;IAEH,IAAI,UAAS;IAEb;;OAEG;IAEH,QAAQ,SAAM;IAEd;;OAEG;IAEH,WAAW,SAAM;IAEjB;;OAEG;IAEH,SAAS,UAAS;IAElB;;OAEG;IAEH,KAAK,SAAgB;IAErB;;OAEG;IAEH,IAAI,SAAM;IAEV;;OAEG;IAEH,OAAO,SAAM;IAEb;;OAEG;IAEH,WAAW,SAAM;IAEjB;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,uBAAuB,SAAiC;IAExD;;OAEG;IAEH,iBAAiB,SAAmB;IAEpC;;OAEG;IAEH,iBAAiB,SAAmB;IAEpC;;OAEG;IAMH,4BAA4B,UAAS;IAErC;;OAEG;IAEH,IAAI,aAAqB;IAEzB;;;OAGG;IAEH,gBAAgB,0BAAkC;IAElD;;;OAGG;IAEH,gBAAgB,0BAAkC;IAElD;;OAEG;IAEH,IAAI,aAAmB;IAEvB;;OAEG;IAEH,eAAe,SAAM;IAErB;;OAEG;IACH,IACI,KAAK,WAQR;IAED,IAAI,KAAK,CAAC,KAAK,QAAA,EAUd;IAED;;OAEG;IACH,OAAO,CAAC,8BAA8B;IAKtC,MAAM;IAgGN,MAAM,CAAC,iBAAiB;;;;MAGtB;IACF,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,QAAQ,CAAC","file":"input.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2023\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { LitElement, html } from 'lit';\nimport { property, customElement, query } from 'lit/decorators.js';\nimport { classMap } from 'lit/directives/class-map.js';\nimport { prefix } from '../../globals/settings';\nimport View16 from '@carbon/icons/lib/view/16';\nimport ViewOff16 from '@carbon/icons/lib/view--off/16';\nimport WarningFilled16 from '@carbon/icons/lib/warning--filled/16';\nimport {\n FLOATING_MENU_ALIGNMENT,\n FLOATING_MENU_DIRECTION,\n} from '../floating-menu/floating-menu';\nimport ifNonEmpty from '../../globals/directives/if-non-empty';\nimport FormMixin from '../../globals/mixins/form';\nimport ValidityMixin from '../../globals/mixins/validity';\nimport { INPUT_COLOR_SCHEME, INPUT_SIZE, INPUT_TYPE } from './defs';\nimport styles from './input.scss';\n\nexport { INPUT_COLOR_SCHEME, INPUT_SIZE, INPUT_TYPE };\n\n/**\n * Input element. Supports all the usual attributes for textual input types\n *\n * @element cds-input\n * @slot helper-text - The helper text.\n * @slot label-text - The label text.\n * @slot validity-message - The validity message. If present and non-empty, this input shows the UI of its invalid state.\n */\n@customElement(`${prefix}-input`)\nclass CDSInput extends ValidityMixin(FormMixin(LitElement)) {\n /**\n * The underlying input element\n */\n @query('input')\n protected _input!: HTMLInputElement;\n\n /**\n * The internal value.\n */\n protected _value = '';\n\n /**\n * Handles `oninput` event on the `<input>`.\n *\n * @param event The event.\n */\n protected _handleInput({ target }: Event) {\n this.value = (target as HTMLInputElement).value;\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 * May be any of the standard HTML autocomplete options\n */\n @property()\n autocomplete = '';\n\n /**\n * Sets the input to be focussed automatically on page load. Defaults to false\n */\n @property({ type: Boolean })\n autofocus = false;\n\n /**\n * The color scheme.\n */\n @property({ attribute: 'color-scheme', reflect: true })\n colorScheme = INPUT_COLOR_SCHEME.REGULAR;\n\n /**\n * Controls the disabled state of the input\n */\n @property({ type: Boolean, reflect: true })\n disabled = false;\n\n /**\n * Specify whether to display the character counter\n */\n @property({ type: Boolean, attribute: 'enable-counter', reflect: true })\n enableCounter = false;\n\n /**\n * The helper text.\n */\n @property({ attribute: 'helper-text' })\n helperText = '';\n\n /**\n * Specify if the currently value is invalid.\n */\n @property({ type: Boolean, reflect: true })\n invalid = false;\n\n /**\n * Max character count allowed for input. This is needed in order for enableCounter to display\n */\n @property({ type: Number, attribute: 'max-count', reflect: true })\n maxCount;\n\n /**\n * Specify whether the control is currently in warning state\n */\n @property({ type: Boolean, reflect: true })\n warn = false;\n\n /**\n * Provide the text that is displayed when the control is in warning state\n */\n @property({ attribute: 'warn-text' })\n warnText = '';\n\n /**\n * Message which is displayed if the value is invalid.\n */\n @property({ attribute: 'invalid-text' })\n invalidText = '';\n\n /**\n * Specify whether you want the underlying label to be visually hidden\n */\n @property({ attribute: 'hide-label', type: Boolean, reflect: true })\n hideLabel = false;\n\n /**\n * Generic label that will be used as the textual representation of what this field is for\n */\n @property({ attribute: 'label' })\n label = 'label text';\n\n /**\n * Name for the input in the `FormData`\n */\n @property()\n name = '';\n\n /**\n * Pattern to validate the input against for HTML validity checking\n */\n @property()\n pattern = '';\n\n /**\n * Value to display when the input has an empty `value`\n */\n @property({ reflect: true })\n placeholder = '';\n\n /**\n * Specify if the component should be read-only\n */\n @property({ type: Boolean, reflect: true })\n readonly = false;\n\n /**\n * Boolean property to set the required status\n */\n @property({ type: Boolean, reflect: true })\n required = false;\n\n /**\n * The special validity message for `required`.\n */\n @property({ attribute: 'required-validity-message' })\n requiredValidityMessage = 'Please fill out this field.';\n\n /**\n * \"Hide password\" tooltip text on password visibility toggle\n */\n @property()\n hidePasswordLabel = 'Hide password';\n\n /**\n * \"Show password\" tooltip text on password visibility toggle\n */\n @property()\n showPasswordLabel = 'Show password';\n\n /**\n * Boolean property to render password visibility toggle\n */\n @property({\n type: Boolean,\n attribute: 'show-password-visibility-toggle',\n reflect: true,\n })\n showPasswordVisibilityToggle = false;\n\n /**\n * The input box size.\n */\n @property({ reflect: true })\n size = INPUT_SIZE.MEDIUM;\n\n /**\n * Specify the alignment of the tooltip to the icon-only button.\n * Can be one of: start, center, or end.\n */\n @property()\n tooltipAlignment = FLOATING_MENU_ALIGNMENT.CENTER;\n\n /**\n * Specify the direction of the tooltip for icon-only buttons.\n * Can be either top, right, bottom, or left.\n */\n @property()\n tooltipDirection = FLOATING_MENU_DIRECTION.BOTTOM;\n\n /**\n * The type of the input. Can be one of the types listed in the INPUT_TYPE enum\n */\n @property({ reflect: true })\n type = INPUT_TYPE.TEXT;\n\n /**\n * The validity message. If present and non-empty, this input shows the UI of its invalid state.\n */\n @property({ attribute: 'validity-message' })\n validityMessage = '';\n\n /**\n * The value of the input.\n */\n @property({ reflect: true })\n get value() {\n // FIXME: Figure out how to deal with TS2611\n // once we have the input we can directly query for the value\n if (this._input) {\n return this._input.value;\n }\n // but before then _value will work fine\n return this._value;\n }\n\n set value(value) {\n const oldValue = this._value;\n this._value = value;\n // make sure that lit-element updates the right properties\n this.requestUpdate('value', oldValue);\n // we set the value directly on the input (when available)\n // so that programatic manipulation updates the UI correctly\n if (this._input) {\n this._input.value = value;\n }\n }\n\n /**\n * Handles password visibility toggle button click\n */\n private handleTogglePasswordVisibility() {\n this.type =\n this.type === INPUT_TYPE.PASSWORD ? INPUT_TYPE.TEXT : INPUT_TYPE.PASSWORD;\n }\n\n render() {\n const { _handleInput: handleInput } = this;\n\n const invalidIcon = WarningFilled16({\n class: `${prefix}--text-input__invalid-icon`,\n });\n\n const inputClasses = classMap({\n [`${prefix}--text-input`]: true,\n [`${prefix}--text-input--${this.colorScheme}`]: this.colorScheme,\n [`${prefix}--text-input--invalid`]: this.invalid,\n [`${prefix}--text-input--${this.size}`]: this.size,\n [`${prefix}--password-input`]: this.type === INPUT_TYPE.PASSWORD,\n });\n\n const labelClasses = classMap({\n [`${prefix}--label`]: true,\n [`${prefix}--label--disabled`]: this.disabled,\n });\n\n const helperTextClasses = classMap({\n [`${prefix}--form__helper-text`]: true,\n [`${prefix}--form__helper-text--disabled`]: this.disabled,\n });\n\n const passwordIsVisible = this.type !== INPUT_TYPE.PASSWORD;\n const passwordVisibilityIcon = passwordIsVisible\n ? ViewOff16({ class: `${prefix}--icon-visibility-off` })\n : View16({ class: `${prefix}--icon-visibility-on` });\n\n const passwordVisibilityToggleClasses = classMap({\n [`${prefix}--text-input--password__visibility__toggle`]: true,\n [`${prefix}--btn`]: true,\n [`${prefix}--btn--icon-only`]: true,\n [`${prefix}--tooltip__trigger`]: true,\n [`${prefix}--tooltip--a11y`]: true,\n [`${prefix}--btn--disabled`]: this.disabled,\n [`${prefix}--tooltip--${this.tooltipDirection}`]: this.tooltipDirection,\n [`${prefix}--tooltip--align-${this.tooltipAlignment}`]:\n this.tooltipAlignment,\n });\n\n const passwordButtonLabel = html`\n <span class=\"${prefix}--assistive-text\">\n ${passwordIsVisible ? this.hidePasswordLabel : this.showPasswordLabel}\n </span>\n `;\n\n const passwordVisibilityButton = () => html`\n <button\n type=\"button\"\n class=\"${passwordVisibilityToggleClasses}\"\n ?disabled=\"${this.disabled}\"\n @click=\"${this.handleTogglePasswordVisibility}\">\n ${!this.disabled && passwordButtonLabel} ${passwordVisibilityIcon}\n </button>\n `;\n\n return html`\n <label class=\"${labelClasses}\" for=\"input\">\n <slot name=\"label-text\"> ${this.label} </slot>\n </label>\n <div\n class=\"${prefix}--text-input__field-wrapper\"\n ?data-invalid=\"${this.invalid}\">\n ${this.invalid ? invalidIcon : null}\n <input\n ?autocomplete=\"${this.autocomplete}\"\n ?autofocus=\"${this.autofocus}\"\n class=\"${inputClasses}\"\n ?data-invalid=\"${this.invalid}\"\n ?disabled=\"${this.disabled}\"\n aria-describedby=\"helper-text\"\n id=\"input\"\n name=\"${ifNonEmpty(this.name)}\"\n pattern=\"${ifNonEmpty(this.pattern)}\"\n placeholder=\"${ifNonEmpty(this.placeholder)}\"\n ?readonly=\"${this.readonly}\"\n ?required=\"${this.required}\"\n type=\"${ifNonEmpty(this.type)}\"\n .value=\"${this._value}\"\n @input=\"${handleInput}\" />\n ${this.showPasswordVisibilityToggle &&\n (this.type === INPUT_TYPE.PASSWORD || this.type === INPUT_TYPE.TEXT)\n ? passwordVisibilityButton()\n : null}\n </div>\n <div class=\"${helperTextClasses}\" id=\"helper-text\">\n <slot name=\"helper-text\"> ${this.helperText} </slot>\n </div>\n <div class=\"${prefix}--form-requirement\">\n <slot name=\"validity-message\"> ${this.validityMessage} </slot>\n </div>\n `;\n }\n\n static shadowRootOptions = {\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n };\n static styles = styles; // `styles` here is a `CSSResult` generated by custom WebPack loader\n}\n\nexport default CDSInput;\n"]}
@@ -36,15 +36,15 @@ export { INPUT_COLOR_SCHEME, INPUT_SIZE, INPUT_TYPE };
36
36
  * @slot label-text - The label text.
37
37
  * @slot validity-message - The validity message. If present and non-empty, this input shows the UI of its invalid state.
38
38
  */
39
- let BXInput = _decorate([customElement(`${prefix}-input`)], function (_initialize, _ValidityMixin) {
40
- class BXInput extends _ValidityMixin {
39
+ let CDSInput = _decorate([customElement(`${prefix}-input`)], function (_initialize, _ValidityMixin) {
40
+ class CDSInput extends _ValidityMixin {
41
41
  constructor(...args) {
42
42
  super(...args);
43
43
  _initialize(this);
44
44
  }
45
45
  }
46
46
  return {
47
- F: BXInput,
47
+ F: CDSInput,
48
48
  d: [{
49
49
  kind: "field",
50
50
  decorators: [query('input')],
@@ -134,6 +134,17 @@ let BXInput = _decorate([customElement(`${prefix}-input`)], function (_initializ
134
134
  value() {
135
135
  return false;
136
136
  }
137
+ }, {
138
+ kind: "field",
139
+ decorators: [property({
140
+ type: Boolean,
141
+ attribute: 'enable-counter',
142
+ reflect: true
143
+ })],
144
+ key: "enableCounter",
145
+ value() {
146
+ return false;
147
+ }
137
148
  }, {
138
149
  kind: "field",
139
150
  decorators: [property({
@@ -156,12 +167,60 @@ let BXInput = _decorate([customElement(`${prefix}-input`)], function (_initializ
156
167
  }, {
157
168
  kind: "field",
158
169
  decorators: [property({
159
- attribute: 'label-text'
170
+ type: Number,
171
+ attribute: 'max-count',
172
+ reflect: true
173
+ })],
174
+ key: "maxCount",
175
+ value: void 0
176
+ }, {
177
+ kind: "field",
178
+ decorators: [property({
179
+ type: Boolean,
180
+ reflect: true
181
+ })],
182
+ key: "warn",
183
+ value() {
184
+ return false;
185
+ }
186
+ }, {
187
+ kind: "field",
188
+ decorators: [property({
189
+ attribute: 'warn-text'
190
+ })],
191
+ key: "warnText",
192
+ value() {
193
+ return '';
194
+ }
195
+ }, {
196
+ kind: "field",
197
+ decorators: [property({
198
+ attribute: 'invalid-text'
160
199
  })],
161
- key: "labelText",
200
+ key: "invalidText",
162
201
  value() {
163
202
  return '';
164
203
  }
204
+ }, {
205
+ kind: "field",
206
+ decorators: [property({
207
+ attribute: 'hide-label',
208
+ type: Boolean,
209
+ reflect: true
210
+ })],
211
+ key: "hideLabel",
212
+ value() {
213
+ return false;
214
+ }
215
+ }, {
216
+ kind: "field",
217
+ decorators: [property({
218
+ attribute: 'label'
219
+ })],
220
+ key: "label",
221
+ value() {
222
+ return 'label text';
223
+ }
165
224
  }, {
166
225
  kind: "field",
167
226
  decorators: [property()],
@@ -246,7 +305,7 @@ let BXInput = _decorate([customElement(`${prefix}-input`)], function (_initializ
246
305
  })],
247
306
  key: "size",
248
307
  value() {
249
- return INPUT_SIZE.REGULAR;
308
+ return INPUT_SIZE.MEDIUM;
250
309
  }
251
310
  }, {
252
311
  kind: "field",
@@ -296,14 +355,32 @@ let BXInput = _decorate([customElement(`${prefix}-input`)], function (_initializ
296
355
  /**
297
356
  * Controls the disabled state of the input
298
357
  */
358
+ /**
359
+ * Specify whether to display the character counter
360
+ */
299
361
  /**
300
362
  * The helper text.
301
363
  */
302
364
  /**
303
- * Controls the invalid state and visibility of the `validityMessage`
365
+ * Specify if the currently value is invalid.
366
+ */
367
+ /**
368
+ * Max character count allowed for input. This is needed in order for enableCounter to display
369
+ */
370
+ /**
371
+ * Specify whether the control is currently in warning state
372
+ */
373
+ /**
374
+ * Provide the text that is displayed when the control is in warning state
375
+ */
376
+ /**
377
+ * Message which is displayed if the value is invalid.
378
+ */
379
+ /**
380
+ * Specify whether you want the underlying label to be visually hidden
304
381
  */
305
382
  /**
306
- * The label text.
383
+ * Generic label that will be used as the textual representation of what this field is for
307
384
  */
308
385
  /**
309
386
  * Name for the input in the `FormData`
@@ -315,7 +392,7 @@ let BXInput = _decorate([customElement(`${prefix}-input`)], function (_initializ
315
392
  * Value to display when the input has an empty `value`
316
393
  */
317
394
  /**
318
- * Controls the readonly state of the input
395
+ * Specify if the component should be read-only
319
396
  */
320
397
  /**
321
398
  * Boolean property to set the required status
@@ -472,7 +549,7 @@ let BXInput = _decorate([customElement(`${prefix}-input`)], function (_initializ
472
549
  <div class="${0}--form-requirement">
473
550
  <slot name="validity-message"> ${0} </slot>
474
551
  </div>
475
- `), labelClasses, this.labelText, prefix, this.invalid, this.invalid ? invalidIcon : null, this.autocomplete, this.autofocus, inputClasses, this.invalid, this.disabled, ifNonEmpty(this.name), ifNonEmpty(this.pattern), ifNonEmpty(this.placeholder), this.readonly, this.required, ifNonEmpty(this.type), this._value, handleInput, this.showPasswordVisibilityToggle && (this.type === INPUT_TYPE.PASSWORD || this.type === INPUT_TYPE.TEXT) ? passwordVisibilityButton() : null, helperTextClasses, this.helperText, prefix, this.validityMessage);
552
+ `), labelClasses, this.label, prefix, this.invalid, this.invalid ? invalidIcon : null, this.autocomplete, this.autofocus, inputClasses, this.invalid, this.disabled, ifNonEmpty(this.name), ifNonEmpty(this.pattern), ifNonEmpty(this.placeholder), this.readonly, this.required, ifNonEmpty(this.type), this._value, handleInput, this.showPasswordVisibilityToggle && (this.type === INPUT_TYPE.PASSWORD || this.type === INPUT_TYPE.TEXT) ? passwordVisibilityButton() : null, helperTextClasses, this.helperText, prefix, this.validityMessage);
476
553
  }
477
554
  }, {
478
555
  kind: "field",
@@ -493,5 +570,5 @@ let BXInput = _decorate([customElement(`${prefix}-input`)], function (_initializ
493
570
  }]
494
571
  };
495
572
  }, ValidityMixin(FormMixin(LitElement)));
496
- export default BXInput;
573
+ export default CDSInput;
497
574
  //# sourceMappingURL=input.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"input.js","names":["LitElement","html","property","customElement","query","classMap","prefix","View16","ViewOff16","WarningFilled16","FLOATING_MENU_ALIGNMENT","FLOATING_MENU_DIRECTION","ifNonEmpty","FormMixin","ValidityMixin","INPUT_COLOR_SCHEME","INPUT_SIZE","INPUT_TYPE","styles","BXInput","_decorate","_initialize","_ValidityMixin","constructor","args","F","d","kind","decorators","key","value","_handleInput","target","_handleFormdata","event","formData","disabled","name","append","type","Boolean","attribute","reflect","REGULAR","CENTER","BOTTOM","TEXT","_input","_value","oldValue","requestUpdate","handleTogglePasswordVisibility","PASSWORD","render","handleInput","invalidIcon","class","inputClasses","colorScheme","invalid","size","labelClasses","helperTextClasses","passwordIsVisible","passwordVisibilityIcon","passwordVisibilityToggleClasses","tooltipDirection","tooltipAlignment","passwordButtonLabel","_t","_","hidePasswordLabel","showPasswordLabel","passwordVisibilityButton","_t2","_t3","labelText","autocomplete","autofocus","pattern","placeholder","readonly","required","showPasswordVisibilityToggle","helperText","validityMessage","static","_objectSpread","shadowRootOptions","delegatesFocus"],"sources":["components/input/input.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 { classMap } from 'lit/directives/class-map.js';\nimport { prefix } from '../../globals/settings';\nimport View16 from '@carbon/icons/lib/view/16';\nimport ViewOff16 from '@carbon/icons/lib/view--off/16';\nimport WarningFilled16 from '@carbon/icons/lib/warning--filled/16';\nimport {\n FLOATING_MENU_ALIGNMENT,\n FLOATING_MENU_DIRECTION,\n} from '../floating-menu/floating-menu';\nimport ifNonEmpty from '../../globals/directives/if-non-empty';\nimport FormMixin from '../../globals/mixins/form';\nimport ValidityMixin from '../../globals/mixins/validity';\nimport { INPUT_COLOR_SCHEME, INPUT_SIZE, INPUT_TYPE } from './defs';\nimport styles from './input.scss';\n\nexport { INPUT_COLOR_SCHEME, INPUT_SIZE, INPUT_TYPE };\n\n/**\n * Input element. Supports all the usual attributes for textual input types\n *\n * @element cds-input\n * @slot helper-text - The helper text.\n * @slot label-text - The label text.\n * @slot validity-message - The validity message. If present and non-empty, this input shows the UI of its invalid state.\n */\n@customElement(`${prefix}-input`)\nclass BXInput extends ValidityMixin(FormMixin(LitElement)) {\n /**\n * The underlying input element\n */\n @query('input')\n protected _input!: HTMLInputElement;\n\n /**\n * The internal value.\n */\n protected _value = '';\n\n /**\n * Handles `oninput` event on the `<input>`.\n *\n * @param event The event.\n */\n protected _handleInput({ target }: Event) {\n this.value = (target as HTMLInputElement).value;\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 * May be any of the standard HTML autocomplete options\n */\n @property()\n autocomplete = '';\n\n /**\n * Sets the input to be focussed automatically on page load. Defaults to false\n */\n @property({ type: Boolean })\n autofocus = false;\n\n /**\n * The color scheme.\n */\n @property({ attribute: 'color-scheme', reflect: true })\n colorScheme = INPUT_COLOR_SCHEME.REGULAR;\n\n /**\n * Controls the disabled state of the input\n */\n @property({ type: Boolean, reflect: true })\n disabled = false;\n\n /**\n * The helper text.\n */\n @property({ attribute: 'helper-text' })\n helperText = '';\n\n /**\n * Controls the invalid state and visibility of the `validityMessage`\n */\n @property({ type: Boolean, reflect: true })\n invalid = false;\n\n /**\n * The label text.\n */\n @property({ attribute: 'label-text' })\n labelText = '';\n\n /**\n * Name for the input in the `FormData`\n */\n @property()\n name = '';\n\n /**\n * Pattern to validate the input against for HTML validity checking\n */\n @property()\n pattern = '';\n\n /**\n * Value to display when the input has an empty `value`\n */\n @property({ reflect: true })\n placeholder = '';\n\n /**\n * Controls the readonly state of the input\n */\n @property({ type: Boolean, reflect: true })\n readonly = false;\n\n /**\n * Boolean property to set the required status\n */\n @property({ type: Boolean, reflect: true })\n required = false;\n\n /**\n * The special validity message for `required`.\n */\n @property({ attribute: 'required-validity-message' })\n requiredValidityMessage = 'Please fill out this field.';\n\n /**\n * \"Hide password\" tooltip text on password visibility toggle\n */\n @property()\n hidePasswordLabel = 'Hide password';\n\n /**\n * \"Show password\" tooltip text on password visibility toggle\n */\n @property()\n showPasswordLabel = 'Show password';\n\n /**\n * Boolean property to render password visibility toggle\n */\n @property({\n type: Boolean,\n attribute: 'show-password-visibility-toggle',\n reflect: true,\n })\n showPasswordVisibilityToggle = false;\n\n /**\n * The input box size.\n */\n @property({ reflect: true })\n size = INPUT_SIZE.REGULAR;\n\n /**\n * Specify the alignment of the tooltip to the icon-only button.\n * Can be one of: start, center, or end.\n */\n @property()\n tooltipAlignment = FLOATING_MENU_ALIGNMENT.CENTER;\n\n /**\n * Specify the direction of the tooltip for icon-only buttons.\n * Can be either top, right, bottom, or left.\n */\n @property()\n tooltipDirection = FLOATING_MENU_DIRECTION.BOTTOM;\n\n /**\n * The type of the input. Can be one of the types listed in the INPUT_TYPE enum\n */\n @property({ reflect: true })\n type = INPUT_TYPE.TEXT;\n\n /**\n * The validity message. If present and non-empty, this input shows the UI of its invalid state.\n */\n @property({ attribute: 'validity-message' })\n validityMessage = '';\n\n /**\n * The value of the input.\n */\n @property({ reflect: true })\n get value() {\n // FIXME: Figure out how to deal with TS2611\n // once we have the input we can directly query for the value\n if (this._input) {\n return this._input.value;\n }\n // but before then _value will work fine\n return this._value;\n }\n\n set value(value) {\n const oldValue = this._value;\n this._value = value;\n // make sure that lit-element updates the right properties\n this.requestUpdate('value', oldValue);\n // we set the value directly on the input (when available)\n // so that programatic manipulation updates the UI correctly\n if (this._input) {\n this._input.value = value;\n }\n }\n\n /**\n * Handles password visibility toggle button click\n */\n private handleTogglePasswordVisibility() {\n this.type =\n this.type === INPUT_TYPE.PASSWORD ? INPUT_TYPE.TEXT : INPUT_TYPE.PASSWORD;\n }\n\n render() {\n const { _handleInput: handleInput } = this;\n\n const invalidIcon = WarningFilled16({\n class: `${prefix}--text-input__invalid-icon`,\n });\n\n const inputClasses = classMap({\n [`${prefix}--text-input`]: true,\n [`${prefix}--text-input--${this.colorScheme}`]: this.colorScheme,\n [`${prefix}--text-input--invalid`]: this.invalid,\n [`${prefix}--text-input--${this.size}`]: this.size,\n [`${prefix}--password-input`]: this.type === INPUT_TYPE.PASSWORD,\n });\n\n const labelClasses = classMap({\n [`${prefix}--label`]: true,\n [`${prefix}--label--disabled`]: this.disabled,\n });\n\n const helperTextClasses = classMap({\n [`${prefix}--form__helper-text`]: true,\n [`${prefix}--form__helper-text--disabled`]: this.disabled,\n });\n\n const passwordIsVisible = this.type !== INPUT_TYPE.PASSWORD;\n const passwordVisibilityIcon = passwordIsVisible\n ? ViewOff16({ class: `${prefix}--icon-visibility-off` })\n : View16({ class: `${prefix}--icon-visibility-on` });\n\n const passwordVisibilityToggleClasses = classMap({\n [`${prefix}--text-input--password__visibility__toggle`]: true,\n [`${prefix}--btn`]: true,\n [`${prefix}--btn--icon-only`]: true,\n [`${prefix}--tooltip__trigger`]: true,\n [`${prefix}--tooltip--a11y`]: true,\n [`${prefix}--btn--disabled`]: this.disabled,\n [`${prefix}--tooltip--${this.tooltipDirection}`]: this.tooltipDirection,\n [`${prefix}--tooltip--align-${this.tooltipAlignment}`]:\n this.tooltipAlignment,\n });\n\n const passwordButtonLabel = html`\n <span class=\"${prefix}--assistive-text\">\n ${passwordIsVisible ? this.hidePasswordLabel : this.showPasswordLabel}\n </span>\n `;\n\n const passwordVisibilityButton = () => html`\n <button\n type=\"button\"\n class=\"${passwordVisibilityToggleClasses}\"\n ?disabled=\"${this.disabled}\"\n @click=\"${this.handleTogglePasswordVisibility}\">\n ${!this.disabled && passwordButtonLabel} ${passwordVisibilityIcon}\n </button>\n `;\n\n return html`\n <label class=\"${labelClasses}\" for=\"input\">\n <slot name=\"label-text\"> ${this.labelText} </slot>\n </label>\n <div\n class=\"${prefix}--text-input__field-wrapper\"\n ?data-invalid=\"${this.invalid}\">\n ${this.invalid ? invalidIcon : null}\n <input\n ?autocomplete=\"${this.autocomplete}\"\n ?autofocus=\"${this.autofocus}\"\n class=\"${inputClasses}\"\n ?data-invalid=\"${this.invalid}\"\n ?disabled=\"${this.disabled}\"\n aria-describedby=\"helper-text\"\n id=\"input\"\n name=\"${ifNonEmpty(this.name)}\"\n pattern=\"${ifNonEmpty(this.pattern)}\"\n placeholder=\"${ifNonEmpty(this.placeholder)}\"\n ?readonly=\"${this.readonly}\"\n ?required=\"${this.required}\"\n type=\"${ifNonEmpty(this.type)}\"\n .value=\"${this._value}\"\n @input=\"${handleInput}\" />\n ${this.showPasswordVisibilityToggle &&\n (this.type === INPUT_TYPE.PASSWORD || this.type === INPUT_TYPE.TEXT)\n ? passwordVisibilityButton()\n : null}\n </div>\n <div class=\"${helperTextClasses}\" id=\"helper-text\">\n <slot name=\"helper-text\"> ${this.helperText} </slot>\n </div>\n <div class=\"${prefix}--form-requirement\">\n <slot name=\"validity-message\"> ${this.validityMessage} </slot>\n </div>\n `;\n }\n\n static shadowRootOptions = {\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n };\n static styles = styles; // `styles` here is a `CSSResult` generated by custom WebPack loader\n}\n\nexport default BXInput;\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,SAASC,QAAQ,QAAQ,6BAA6B;AACtD,SAASC,MAAM,QAAQ,wBAAwB;AAC/C,OAAOC,MAAM,MAAM,qBAA2B;AAC9C,OAAOC,SAAS,MAAM,0BAAgC;AACtD,OAAOC,eAAe,MAAM,gCAAsC;AAClE,SACEC,uBAAuB,EACvBC,uBAAuB,QAClB,gCAAgC;AACvC,OAAOC,UAAU,MAAM,uCAAuC;AAC9D,OAAOC,SAAS,MAAM,2BAA2B;AACjD,OAAOC,aAAa,MAAM,+BAA+B;AACzD,SAASC,kBAAkB,EAAEC,UAAU,EAAEC,UAAU,QAAQ,QAAQ;AACnE,O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C,QAAQ,EACb,IAAI,CAACC,QAAQ,EAClBtE,UAAU,CAAC,IAAI,CAAC2B,IAAI,CAAC,EACnB,IAAI,CAACS,MAAM,EACXM,WAAW,EACrB,IAAI,CAAC6B,4BAA4B,KAClC,IAAI,CAAC5C,IAAI,KAAKtB,UAAU,CAACmC,QAAQ,IAAI,IAAI,CAACb,IAAI,KAAKtB,UAAU,CAAC6B,IAAI,CAAC,GAChE2B,wBAAwB,EAAE,GAC1B,IAAI,EAEIX,iBAAiB,EACD,IAAI,CAACsB,UAAU,EAE/B9E,MAAM,EACe,IAAI,CAAC+E,eAAe;MAG3D;IAAC;MAAA1D,IAAA;MAAA2D,MAAA;MAAAzD,GAAA;MAAAC,MAAA;QAAA,OAAAyD,aAAA,CAAAA,aAAA,KAGIvF,UAAU,CAACwF,iBAAiB;UAC/BC,cAAc,EAAE;QAAI;MAAA;IAAA;MAAA9D,IAAA;MAAA2D,MAAA;MAAAzD,GAAA;MAAAC,MAAA;QAAA,OAENZ,MAAM;MAAA;IAAA;EAAA;AAAA,GAvSFJ,aAAa,CAACD,SAAS,CAACb,UAAU,CAAC,CAAC;AA0S1D,eAAemB,OAAO"}
1
+ {"version":3,"file":"input.js","names":["LitElement","html","property","customElement","query","classMap","prefix","View16","ViewOff16","WarningFilled16","FLOATING_MENU_ALIGNMENT","FLOATING_MENU_DIRECTION","ifNonEmpty","FormMixin","ValidityMixin","INPUT_COLOR_SCHEME","INPUT_SIZE","INPUT_TYPE","styles","CDSInput","_decorate","_initialize","_ValidityMixin","constructor","args","F","d","kind","decorators","key","value","_handleInput","target","_handleFormdata","event","formData","disabled","name","append","type","Boolean","attribute","reflect","REGULAR","Number","MEDIUM","CENTER","BOTTOM","TEXT","_input","_value","oldValue","requestUpdate","handleTogglePasswordVisibility","PASSWORD","render","handleInput","invalidIcon","class","inputClasses","colorScheme","invalid","size","labelClasses","helperTextClasses","passwordIsVisible","passwordVisibilityIcon","passwordVisibilityToggleClasses","tooltipDirection","tooltipAlignment","passwordButtonLabel","_t","_","hidePasswordLabel","showPasswordLabel","passwordVisibilityButton","_t2","_t3","label","autocomplete","autofocus","pattern","placeholder","readonly","required","showPasswordVisibilityToggle","helperText","validityMessage","static","_objectSpread","shadowRootOptions","delegatesFocus"],"sources":["components/input/input.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 { classMap } from 'lit/directives/class-map.js';\nimport { prefix } from '../../globals/settings';\nimport View16 from '@carbon/icons/lib/view/16';\nimport ViewOff16 from '@carbon/icons/lib/view--off/16';\nimport WarningFilled16 from '@carbon/icons/lib/warning--filled/16';\nimport {\n FLOATING_MENU_ALIGNMENT,\n FLOATING_MENU_DIRECTION,\n} from '../floating-menu/floating-menu';\nimport ifNonEmpty from '../../globals/directives/if-non-empty';\nimport FormMixin from '../../globals/mixins/form';\nimport ValidityMixin from '../../globals/mixins/validity';\nimport { INPUT_COLOR_SCHEME, INPUT_SIZE, INPUT_TYPE } from './defs';\nimport styles from './input.scss';\n\nexport { INPUT_COLOR_SCHEME, INPUT_SIZE, INPUT_TYPE };\n\n/**\n * Input element. Supports all the usual attributes for textual input types\n *\n * @element cds-input\n * @slot helper-text - The helper text.\n * @slot label-text - The label text.\n * @slot validity-message - The validity message. If present and non-empty, this input shows the UI of its invalid state.\n */\n@customElement(`${prefix}-input`)\nclass CDSInput extends ValidityMixin(FormMixin(LitElement)) {\n /**\n * The underlying input element\n */\n @query('input')\n protected _input!: HTMLInputElement;\n\n /**\n * The internal value.\n */\n protected _value = '';\n\n /**\n * Handles `oninput` event on the `<input>`.\n *\n * @param event The event.\n */\n protected _handleInput({ target }: Event) {\n this.value = (target as HTMLInputElement).value;\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 * May be any of the standard HTML autocomplete options\n */\n @property()\n autocomplete = '';\n\n /**\n * Sets the input to be focussed automatically on page load. Defaults to false\n */\n @property({ type: Boolean })\n autofocus = false;\n\n /**\n * The color scheme.\n */\n @property({ attribute: 'color-scheme', reflect: true })\n colorScheme = INPUT_COLOR_SCHEME.REGULAR;\n\n /**\n * Controls the disabled state of the input\n */\n @property({ type: Boolean, reflect: true })\n disabled = false;\n\n /**\n * Specify whether to display the character counter\n */\n @property({ type: Boolean, attribute: 'enable-counter', reflect: true })\n enableCounter = false;\n\n /**\n * The helper text.\n */\n @property({ attribute: 'helper-text' })\n helperText = '';\n\n /**\n * Specify if the currently value is invalid.\n */\n @property({ type: Boolean, reflect: true })\n invalid = false;\n\n /**\n * Max character count allowed for input. This is needed in order for enableCounter to display\n */\n @property({ type: Number, attribute: 'max-count', reflect: true })\n maxCount;\n\n /**\n * Specify whether the control is currently in warning state\n */\n @property({ type: Boolean, reflect: true })\n warn = false;\n\n /**\n * Provide the text that is displayed when the control is in warning state\n */\n @property({ attribute: 'warn-text' })\n warnText = '';\n\n /**\n * Message which is displayed if the value is invalid.\n */\n @property({ attribute: 'invalid-text' })\n invalidText = '';\n\n /**\n * Specify whether you want the underlying label to be visually hidden\n */\n @property({ attribute: 'hide-label', type: Boolean, reflect: true })\n hideLabel = false;\n\n /**\n * Generic label that will be used as the textual representation of what this field is for\n */\n @property({ attribute: 'label' })\n label = 'label text';\n\n /**\n * Name for the input in the `FormData`\n */\n @property()\n name = '';\n\n /**\n * Pattern to validate the input against for HTML validity checking\n */\n @property()\n pattern = '';\n\n /**\n * Value to display when the input has an empty `value`\n */\n @property({ reflect: true })\n placeholder = '';\n\n /**\n * Specify if the component should be read-only\n */\n @property({ type: Boolean, reflect: true })\n readonly = false;\n\n /**\n * Boolean property to set the required status\n */\n @property({ type: Boolean, reflect: true })\n required = false;\n\n /**\n * The special validity message for `required`.\n */\n @property({ attribute: 'required-validity-message' })\n requiredValidityMessage = 'Please fill out this field.';\n\n /**\n * \"Hide password\" tooltip text on password visibility toggle\n */\n @property()\n hidePasswordLabel = 'Hide password';\n\n /**\n * \"Show password\" tooltip text on password visibility toggle\n */\n @property()\n showPasswordLabel = 'Show password';\n\n /**\n * Boolean property to render password visibility toggle\n */\n @property({\n type: Boolean,\n attribute: 'show-password-visibility-toggle',\n reflect: true,\n })\n showPasswordVisibilityToggle = false;\n\n /**\n * The input box size.\n */\n @property({ reflect: true })\n size = INPUT_SIZE.MEDIUM;\n\n /**\n * Specify the alignment of the tooltip to the icon-only button.\n * Can be one of: start, center, or end.\n */\n @property()\n tooltipAlignment = FLOATING_MENU_ALIGNMENT.CENTER;\n\n /**\n * Specify the direction of the tooltip for icon-only buttons.\n * Can be either top, right, bottom, or left.\n */\n @property()\n tooltipDirection = FLOATING_MENU_DIRECTION.BOTTOM;\n\n /**\n * The type of the input. Can be one of the types listed in the INPUT_TYPE enum\n */\n @property({ reflect: true })\n type = INPUT_TYPE.TEXT;\n\n /**\n * The validity message. If present and non-empty, this input shows the UI of its invalid state.\n */\n @property({ attribute: 'validity-message' })\n validityMessage = '';\n\n /**\n * The value of the input.\n */\n @property({ reflect: true })\n get value() {\n // FIXME: Figure out how to deal with TS2611\n // once we have the input we can directly query for the value\n if (this._input) {\n return this._input.value;\n }\n // but before then _value will work fine\n return this._value;\n }\n\n set value(value) {\n const oldValue = this._value;\n this._value = value;\n // make sure that lit-element updates the right properties\n this.requestUpdate('value', oldValue);\n // we set the value directly on the input (when available)\n // so that programatic manipulation updates the UI correctly\n if (this._input) {\n this._input.value = value;\n }\n }\n\n /**\n * Handles password visibility toggle button click\n */\n private handleTogglePasswordVisibility() {\n this.type =\n this.type === INPUT_TYPE.PASSWORD ? INPUT_TYPE.TEXT : INPUT_TYPE.PASSWORD;\n }\n\n render() {\n const { _handleInput: handleInput } = this;\n\n const invalidIcon = WarningFilled16({\n class: `${prefix}--text-input__invalid-icon`,\n });\n\n const inputClasses = classMap({\n [`${prefix}--text-input`]: true,\n [`${prefix}--text-input--${this.colorScheme}`]: this.colorScheme,\n [`${prefix}--text-input--invalid`]: this.invalid,\n [`${prefix}--text-input--${this.size}`]: this.size,\n [`${prefix}--password-input`]: this.type === INPUT_TYPE.PASSWORD,\n });\n\n const labelClasses = classMap({\n [`${prefix}--label`]: true,\n [`${prefix}--label--disabled`]: this.disabled,\n });\n\n const helperTextClasses = classMap({\n [`${prefix}--form__helper-text`]: true,\n [`${prefix}--form__helper-text--disabled`]: this.disabled,\n });\n\n const passwordIsVisible = this.type !== INPUT_TYPE.PASSWORD;\n const passwordVisibilityIcon = passwordIsVisible\n ? ViewOff16({ class: `${prefix}--icon-visibility-off` })\n : View16({ class: `${prefix}--icon-visibility-on` });\n\n const passwordVisibilityToggleClasses = classMap({\n [`${prefix}--text-input--password__visibility__toggle`]: true,\n [`${prefix}--btn`]: true,\n [`${prefix}--btn--icon-only`]: true,\n [`${prefix}--tooltip__trigger`]: true,\n [`${prefix}--tooltip--a11y`]: true,\n [`${prefix}--btn--disabled`]: this.disabled,\n [`${prefix}--tooltip--${this.tooltipDirection}`]: this.tooltipDirection,\n [`${prefix}--tooltip--align-${this.tooltipAlignment}`]:\n this.tooltipAlignment,\n });\n\n const passwordButtonLabel = html`\n <span class=\"${prefix}--assistive-text\">\n ${passwordIsVisible ? this.hidePasswordLabel : this.showPasswordLabel}\n </span>\n `;\n\n const passwordVisibilityButton = () => html`\n <button\n type=\"button\"\n class=\"${passwordVisibilityToggleClasses}\"\n ?disabled=\"${this.disabled}\"\n @click=\"${this.handleTogglePasswordVisibility}\">\n ${!this.disabled && passwordButtonLabel} ${passwordVisibilityIcon}\n </button>\n `;\n\n return html`\n <label class=\"${labelClasses}\" for=\"input\">\n <slot name=\"label-text\"> ${this.label} </slot>\n </label>\n <div\n class=\"${prefix}--text-input__field-wrapper\"\n ?data-invalid=\"${this.invalid}\">\n ${this.invalid ? invalidIcon : null}\n <input\n ?autocomplete=\"${this.autocomplete}\"\n ?autofocus=\"${this.autofocus}\"\n class=\"${inputClasses}\"\n ?data-invalid=\"${this.invalid}\"\n ?disabled=\"${this.disabled}\"\n aria-describedby=\"helper-text\"\n id=\"input\"\n name=\"${ifNonEmpty(this.name)}\"\n pattern=\"${ifNonEmpty(this.pattern)}\"\n placeholder=\"${ifNonEmpty(this.placeholder)}\"\n ?readonly=\"${this.readonly}\"\n ?required=\"${this.required}\"\n type=\"${ifNonEmpty(this.type)}\"\n .value=\"${this._value}\"\n @input=\"${handleInput}\" />\n ${this.showPasswordVisibilityToggle &&\n (this.type === INPUT_TYPE.PASSWORD || this.type === INPUT_TYPE.TEXT)\n ? passwordVisibilityButton()\n : null}\n </div>\n <div class=\"${helperTextClasses}\" id=\"helper-text\">\n <slot name=\"helper-text\"> ${this.helperText} </slot>\n </div>\n <div class=\"${prefix}--form-requirement\">\n <slot name=\"validity-message\"> ${this.validityMessage} </slot>\n </div>\n `;\n }\n\n static shadowRootOptions = {\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n };\n static styles = styles; // `styles` here is a `CSSResult` generated by custom WebPack loader\n}\n\nexport default CDSInput;\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,SAASC,QAAQ,QAAQ,6BAA6B;AACtD,SAASC,MAAM,QAAQ,wBAAwB;AAC/C,OAAOC,MAAM,MAAM,qBAA2B;AAC9C,OAAOC,SAAS,MAAM,0BAAgC;AACtD,OAAOC,eAAe,MAAM,gCAAsC;AAClE,SACEC,uBAAuB,EACvBC,uBAAuB,QAClB,gCAAgC;AACvC,OAAOC,UAAU,MAAM,uCAAuC;AAC9D,OAAOC,SAAS,MAAM,2BAA2B;AACjD,OAAOC,aAAa,MAAM,+BAA+B;AACzD,SAASC,k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U,CAAC,IAAI,CAAC2B,IAAI,CAAC,EACnB,IAAI,CAACW,MAAM,EACXM,WAAW,EACrB,IAAI,CAAC6B,4BAA4B,KAClC,IAAI,CAAC9C,IAAI,KAAKtB,UAAU,CAACqC,QAAQ,IAAI,IAAI,CAACf,IAAI,KAAKtB,UAAU,CAAC+B,IAAI,CAAC,GAChE2B,wBAAwB,EAAE,GAC1B,IAAI,EAEIX,iBAAiB,EACD,IAAI,CAACsB,UAAU,EAE/BhF,MAAM,EACe,IAAI,CAACiF,eAAe;MAG3D;IAAC;MAAA5D,IAAA;MAAA6D,MAAA;MAAA3D,GAAA;MAAAC,MAAA;QAAA,OAAA2D,aAAA,CAAAA,aAAA,KAGIzF,UAAU,CAAC0F,iBAAiB;UAC/BC,cAAc,EAAE;QAAI;MAAA;IAAA;MAAAhE,IAAA;MAAA6D,MAAA;MAAA3D,GAAA;MAAAC,MAAA;QAAA,OAENZ,MAAM;MAAA;IAAA;EAAA;AAAA,GA3UDJ,aAAa,CAACD,SAAS,CAACb,UAAU,CAAC,CAAC;AA8U3D,eAAemB,QAAQ"}
@@ -8,5 +8,5 @@
8
8
  */
9
9
  import { css } from 'lit';
10
10
  export default css([
11
- "@keyframes hide-feedback{0%{opacity:1;visibility:inherit}100%{opacity:0;visibility:hidden}}@keyframes show-feedback{0%{opacity:0;visibility:hidden}100%{opacity:1;visibility:inherit}}@keyframes skeleton{0%{opacity:.3;transform:scaleX(0);transform-origin:right}20%{opacity:1;transform:scaleX(1);transform-origin:right}28%{transform:scaleX(1);transform-origin:left}51%{transform:scaleX(0);transform-origin:left}58%{transform:scaleX(0);transform-origin:left}82%{transform:scaleX(1);transform-origin:left}83%{transform:scaleX(1);transform-origin:right}96%{transform:scaleX(0);transform-origin:right}100%{opacity:.3;transform:scaleX(0);transform-origin:right}}input:-webkit-autofill,input:-webkit-autofill:focus,input:-webkit-autofill:hover,textarea:-webkit-autofill,textarea:-webkit-autofill:focus,textarea:-webkit-autofill:hover{box-shadow:0 0 0 1000px var(--cds-field) inset;-webkit-text-fill-color:var(--cds-text-primary,#161616)}.cds--fieldset html{font-size:100%}.cds--fieldset body{font-weight:400;font-family:'IBM Plex Sans',system-ui,-apple-system,BlinkMacSystemFont,'.SFNSText-Regular',sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}.cds--fieldset code{font-family:'IBM Plex Mono',system-ui,-apple-system,BlinkMacSystemFont,'.SFNSText-Regular',monospace}.cds--fieldset strong{font-weight:600}.cds--form-item{font-size:var(--cds-body-compact-01-font-size,.875rem);font-weight:var(--cds-body-compact-01-font-weight,400);line-height:var(--cds-body-compact-01-line-height,1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing,.16px);display:flex;flex:1 1 auto;flex-direction:column;align-items:flex-start}.cds--label{font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);line-height:var(--cds-label-01-line-height,1.33333);letter-spacing:var(--cds-label-01-letter-spacing,.32px);display:inline-block;margin-bottom:.5rem;color:var(--cds-text-secondary,#525252);font-weight:400;line-height:1rem;vertical-align:baseline}.cds--label html{font-size:100%}.cds--label body{font-weight:400;font-family:'IBM Plex Sans',system-ui,-apple-system,BlinkMacSystemFont,'.SFNSText-Regular',sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}.cds--label code{font-family:'IBM Plex Mono',system-ui,-apple-system,BlinkMacSystemFont,'.SFNSText-Regular',monospace}.cds--label strong{font-weight:600}.cds--label .cds--toggletip-label{font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);line-height:var(--cds-label-01-line-height,1.33333);letter-spacing:var(--cds-label-01-letter-spacing,.32px)}.cds--label--no-margin{margin-bottom:0}.cds--label+.cds--tooltip{position:relative;top:.2rem;right:.5rem}.cds--label+.cds--tooltip .cds--tooltip__trigger{box-sizing:border-box;padding:0;border:0;margin:0;font-family:inherit;font-size:100%;vertical-align:baseline;display:inline-block;padding:0;border:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:0 0;cursor:pointer;text-align:start;width:100%;display:flex;align-items:center;justify-content:center;font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);line-height:var(--cds-label-01-line-height,1.33333);letter-spacing:var(--cds-label-01-letter-spacing,.32px)}.cds--label+.cds--tooltip .cds--tooltip__trigger *,.cds--label+.cds--tooltip .cds--tooltip__trigger ::after,.cds--label+.cds--tooltip .cds--tooltip__trigger ::before{box-sizing:inherit}.cds--label+.cds--tooltip .cds--tooltip__trigger::-moz-focus-inner{border:0}.cds--label+.cds--tooltip .cds--tooltip__trigger:focus{outline:1px solid var(--cds-focus,#0f62fe)}.cds--label+.cds--tooltip .cds--tooltip__trigger svg{fill:var(--cds-icon-secondary,#525252)}.cds--label+.cds--tooltip .cds--tooltip__trigger svg :hover{fill:var(--cds-icon-primary,#161616)}.cds--label+.cds--toggletip{top:.2rem;right:.5rem}.cds--label.cds--skeleton{position:relative;padding:0;border:none;background:var(--cds-skeleton-background,#e8e8e8);box-shadow:none;pointer-events:none;width:4.6875rem;height:.875rem}.cds--label.cds--skeleton:active,.cds--label.cds--skeleton:focus,.cds--label.cds--skeleton:hover{border:none;cursor:default;outline:0}.cds--label.cds--skeleton::before{position:absolute;width:100%;height:100%;animation:3s ease-in-out skeleton infinite;background:var(--cds-skeleton-element,#c6c6c6);content:\"\";will-change:transform-origin,transform,opacity}@media (prefers-reduced-motion:reduce){.cds--label.cds--skeleton::before{animation:none}}input[type=number]{font-family:'IBM Plex Sans',system-ui,-apple-system,BlinkMacSystemFont,'.SFNSText-Regular',sans-serif}.cds--combo-box[data-invalid]:not(.cds--multi-select--selected) .cds--text-input:not(:focus),.cds--list-box[data-invalid]:not(:focus),.cds--number[data-invalid] input[type=number]:not(:focus),.cds--select-input__wrapper[data-invalid] .cds--select-input:not(:focus),.cds--text-area__wrapper[data-invalid]>.cds--text-area--invalid:not(:focus),.cds--text-input__field-wrapper[data-invalid]>.cds--text-input--invalid:not(:focus),input[data-invalid]:not(:focus){outline:2px solid var(--cds-support-error,#da1e28);outline-offset:-2px}@media screen and (prefers-contrast){.cds--combo-box[data-invalid]:not(.cds--multi-select--selected) .cds--text-input:not(:focus),.cds--list-box[data-invalid]:not(:focus),.cds--number[data-invalid] input[type=number]:not(:focus),.cds--select-input__wrapper[data-invalid] .cds--select-input:not(:focus),.cds--text-area__wrapper[data-invalid]>.cds--text-area--invalid:not(:focus),.cds--text-input__field-wrapper[data-invalid]>.cds--text-input--invalid:not(:focus),input[data-invalid]:not(:focus){outline-style:dotted}}.cds--date-picker-input__wrapper--invalid~.cds--form-requirement,.cds--date-picker-input__wrapper--warn~.cds--form-requirement,.cds--date-picker-input__wrapper~.cds--form-requirement,.cds--list-box--warning~.cds--form-requirement,.cds--list-box[data-invalid]~.cds--form-requirement,.cds--number[data-invalid] .cds--number__input-wrapper~.cds--form-requirement,.cds--number__input-wrapper--warning~.cds--form-requirement,.cds--select--warning .cds--select-input__wrapper~.cds--form-requirement,.cds--select-input__wrapper[data-invalid]~.cds--form-requirement,.cds--text-area__wrapper[data-invalid]~.cds--form-requirement,.cds--text-input__field-wrapper--warning>.cds--text-input~.cds--form-requirement,.cds--text-input__field-wrapper--warning~.cds--form-requirement,.cds--text-input__field-wrapper[data-invalid]~.cds--form-requirement,.cds--time-picker--invalid~.cds--form-requirement,.cds--time-picker[data-invalid]~.cds--form-requirement,input[data-invalid]~.cds--form-requirement{display:block;overflow:visible;max-height:12.5rem;font-weight:400}.cds--date-picker-input__wrapper--invalid~.cds--form-requirement,.cds--date-picker-input__wrapper~.cds--form-requirement,.cds--list-box[data-invalid]~.cds--form-requirement,.cds--number[data-invalid] .cds--number__input-wrapper~.cds--form-requirement,.cds--select-input__wrapper[data-invalid]~.cds--form-requirement,.cds--text-area__wrapper[data-invalid]~.cds--form-requirement,.cds--text-input__field-wrapper[data-invalid]~.cds--form-requirement,.cds--time-picker--invalid~.cds--form-requirement,.cds--time-picker[data-invalid]~.cds--form-requirement,input[data-invalid]~.cds--form-requirement{color:var(--cds-text-error,#da1e28)}.cds--form--fluid .cds--text-input__field-wrapper--warning,.cds--form--fluid .cds--text-input__field-wrapper[data-invalid]{display:block}.cds--form--fluid input[data-invalid]{outline:0}.cds--form--fluid .cds--form-requirement{padding:.5rem 1rem .5rem 2.5rem;margin:0}input:not(output):not([data-invalid]):-moz-ui-invalid{box-shadow:none}.cds--form-requirement{font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);line-height:var(--cds-label-01-line-height,1.33333);letter-spacing:var(--cds-label-01-letter-spacing,.32px);display:none;overflow:hidden;max-height:0;margin:.25rem 0 0}.cds--form-requirement html{font-size:100%}.cds--form-requirement body{font-weight:400;font-family:'IBM Plex Sans',system-ui,-apple-system,BlinkMacSystemFont,'.SFNSText-Regular',sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}.cds--form-requirement code{font-family:'IBM Plex Mono',system-ui,-apple-system,BlinkMacSystemFont,'.SFNSText-Regular',monospace}.cds--form-requirement strong{font-weight:600}.cds--select--inline .cds--form__helper-text{margin-top:0}.cds--form__helper-text{font-size:var(--cds-helper-text-01-font-size,.75rem);line-height:var(--cds-helper-text-01-line-height,1.33333);letter-spacing:var(--cds-helper-text-01-letter-spacing,.32px);z-index:0;width:100%;margin-top:.25rem;color:var(--cds-text-secondary,#525252);opacity:1}.cds--form__helper-text--disabled,.cds--label--disabled{color:var(--cds-text-disabled,rgba(22,22,22,.25))}fieldset[disabled] .cds--form__helper-text,fieldset[disabled] .cds--label{color:var(--cds-text-disabled,rgba(22,22,22,.25))}.cds--text-input{font-size:var(--cds-body-compact-01-font-size,.875rem);font-weight:var(--cds-body-compact-01-font-weight,400);line-height:var(--cds-body-compact-01-line-height,1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing,.16px);outline:2px solid transparent;outline-offset:-2px;width:100%;height:2.5rem;padding:0 1rem;border:none;border-bottom:1px solid var(--cds-border-strong);background-color:var(--cds-field);color:var(--cds-text-primary,#161616);font-family:inherit;transition:background-color 70ms cubic-bezier(.2,0,.38,.9),outline 70ms cubic-bezier(.2,0,.38,.9)}.cds--text-input html{font-size:100%}.cds--text-input body{font-weight:400;font-family:'IBM Plex Sans',system-ui,-apple-system,BlinkMacSystemFont,'.SFNSText-Regular',sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}.cds--text-input code{font-family:'IBM Plex Mono',system-ui,-apple-system,BlinkMacSystemFont,'.SFNSText-Regular',monospace}.cds--text-input strong{font-weight:600}.cds--text-input:active,.cds--text-input:focus{outline:2px solid var(--cds-focus,#0f62fe);outline-offset:-2px}@media screen and (prefers-contrast){.cds--text-input:active,.cds--text-input:focus{outline-style:dotted}}.cds--text-input-wrapper svg[hidden]{display:none}.cds--text-input--lg{height:3rem}.cds--text-input--sm{height:2rem}.cds--password-input{padding-left:2.5rem}.cds--text-input--sm.cds--password-input{padding-left:2rem}.cds--text-input--lg.cds--password-input{padding-left:3rem}.cds--text-input::-moz-placeholder{color:var(--cds-text-placeholder,rgba(22,22,22,.4));opacity:1}.cds--text-input::placeholder{color:var(--cds-text-placeholder,rgba(22,22,22,.4));opacity:1}.cds--text-input--light{background-color:var(--cds-field-02,#fff)}.cds--text-input__field-wrapper{position:relative;display:flex;width:100%}.cds--text-input__invalid-icon{position:absolute;top:50%;left:1rem;fill:var(--cds-support-error,#da1e28);transform:translateY(-50%)}.cds--text-input__invalid-icon--warning{fill:var(--cds-support-warning,#f1c21b)}.cds--text-input__invalid-icon--warning path:first-of-type{fill:#000;opacity:1}.cds--text-input--password__visibility{position:relative;display:inline-flex;overflow:visible;align-items:center;cursor:pointer}.cds--text-input--password__visibility:focus{outline:1px solid var(--cds-focus,#0f62fe)}@media screen and (prefers-contrast){.cds--text-input--password__visibility:focus{outline-style:dotted}}.cds--text-input--password__visibility:focus{outline:1px solid transparent}.cds--text-input--password__visibility:focus svg{outline:1px solid var(--cds-focus,#0f62fe)}@media screen and (prefers-contrast){.cds--text-input--password__visibility:focus svg{outline-style:dotted}}.cds--text-input--password__visibility .cds--assistive-text,.cds--text-input--password__visibility+.cds--assistive-text,.cds--text-input--password__visibility::after,.cds--text-input--password__visibility::before{position:absolute;z-index:6000;display:flex;align-items:center;opacity:0;pointer-events:none}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.cds--text-input--password__visibility .cds--assistive-text,.cds--text-input--password__visibility+.cds--assistive-text,.cds--text-input--password__visibility::after,.cds--text-input--password__visibility::before{display:inline-block}}.cds--text-input--password__visibility::after,.cds--text-input--password__visibility::before{transition:opacity 70ms cubic-bezier(.2,0,.38,.9)}@media screen and (prefers-reduced-motion:reduce){.cds--text-input--password__visibility::after,.cds--text-input--password__visibility::before{transition:none}}.cds--text-input--password__visibility.cds--tooltip--a11y::after,.cds--text-input--password__visibility.cds--tooltip--a11y::before{transition:none}.cds--text-input--password__visibility::before{width:0;height:0;border-style:solid;content:\"\"}.cds--text-input--password__visibility .cds--assistive-text,.cds--text-input--password__visibility+.cds--assistive-text{box-sizing:content-box;color:inherit;opacity:1;white-space:normal;word-break:break-word}.cds--text-input--password__visibility .cds--assistive-text,.cds--text-input--password__visibility+.cds--assistive-text,.cds--text-input--password__visibility::after{box-shadow:0 2px 6px var(--cds-shadow,rgba(0,0,0,.3));z-index:6000;width:-moz-max-content;width:max-content;min-width:1.5rem;max-width:13rem;height:auto;padding:.1875rem 1rem;background-color:var(--cds-background-inverse,#393939);border-radius:.125rem;color:var(--cds-text-inverse,#fff);font-weight:400;text-align:right;transform:translateX(50%);font-size:var(--cds-body-compact-01-font-size,.875rem);font-weight:var(--cds-body-compact-01-font-weight,400);line-height:var(--cds-body-compact-01-line-height,1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing,.16px)}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.cds--text-input--password__visibility .cds--assistive-text,.cds--text-input--password__visibility+.cds--assistive-text,.cds--text-input--password__visibility::after{width:auto}}@supports (-ms-accelerator:true){.cds--text-input--password__visibility .cds--assistive-text,.cds--text-input--password__visibility+.cds--assistive-text,.cds--text-input--password__visibility::after{width:auto}}@supports (-ms-ime-align:auto){.cds--text-input--password__visibility .cds--assistive-text,.cds--text-input--password__visibility+.cds--assistive-text,.cds--text-input--password__visibility::after{width:auto}}@media screen and (-ms-high-contrast:active),screen and (prefers-contrast){.cds--text-input--password__visibility .cds--assistive-text,.cds--text-input--password__visibility+.cds--assistive-text,.cds--text-input--password__visibility::after{border:1px solid transparent}}.cds--text-input--password__visibility::after{content:attr(aria-label)}.cds--text-input--password__visibility.cds--tooltip--a11y::after{content:none}.cds--text-input--password__visibility.cds--tooltip--visible::after,.cds--text-input--password__visibility.cds--tooltip--visible::before,.cds--text-input--password__visibility:focus::after,.cds--text-input--password__visibility:focus::before,.cds--text-input--password__visibility:hover::after,.cds--text-input--password__visibility:hover::before{opacity:1}@keyframes tooltip-fade{from{opacity:0}to{opacity:1}}.cds--text-input--password__visibility.cds--tooltip--visible .cds--assistive-text,.cds--text-input--password__visibility.cds--tooltip--visible+.cds--assistive-text,.cds--text-input--password__visibility:focus .cds--assistive-text,.cds--text-input--password__visibility:focus+.cds--assistive-text,.cds--text-input--password__visibility:hover .cds--assistive-text,.cds--text-input--password__visibility:hover+.cds--assistive-text{overflow:visible;margin:auto;clip:auto}.cds--text-input--password__visibility.cds--tooltip--visible .cds--assistive-text,.cds--text-input--password__visibility.cds--tooltip--visible+.cds--assistive-text,.cds--text-input--password__visibility.cds--tooltip--visible.cds--tooltip--a11y::before,.cds--text-input--password__visibility:focus .cds--assistive-text,.cds--text-input--password__visibility:focus+.cds--assistive-text,.cds--text-input--password__visibility:focus.cds--tooltip--a11y::before,.cds--text-input--password__visibility:hover .cds--assistive-text,.cds--text-input--password__visibility:hover+.cds--assistive-text,.cds--text-input--password__visibility:hover.cds--tooltip--a11y::before{animation:tooltip-fade 70ms cubic-bezier(.2,0,.38,.9)}.cds--text-input--password__visibility.cds--tooltip--hidden .cds--assistive-text,.cds--text-input--password__visibility.cds--tooltip--hidden+.cds--assistive-text{overflow:hidden;margin:-1px;clip:rect(0,0,0,0)}.cds--text-input--password__visibility.cds--tooltip--hidden.cds--tooltip--a11y::before{animation:none;opacity:0}.cds--text-input--password__visibility .cds--assistive-text::after{position:absolute;display:block;content:\"\";right:0;width:100%;height:.75rem;top:-.75rem}.cds--text-input--password__visibility .cds--assistive-text,.cds--text-input--password__visibility+.cds--assistive-text,.cds--text-input--password__visibility::after,.cds--text-input--password__visibility::before{bottom:0;right:50%}.cds--text-input--password__visibility::before{bottom:-.5rem;border-width:0 .25rem .3125rem .25rem;border-color:transparent transparent var(--cds-background-inverse,#393939) transparent;transform:translate(50%,100%)}.cds--text-input--password__visibility .cds--assistive-text,.cds--text-input--password__visibility+.cds--assistive-text,.cds--text-input--password__visibility::after{bottom:-.8125rem;transform:translate(50%,100%)}.cds--btn.cds--text-input--password__visibility__toggle.cds--tooltip__trigger{outline:2px solid transparent;outline-offset:-2px;position:absolute;left:0;display:flex;width:2.5rem;height:100%;min-height:auto;align-items:center;justify-content:center;padding:0;border:0;background:0 0;cursor:pointer;transition:outline 70ms cubic-bezier(.2,0,.38,.9)}.cds--text-input--sm+.cds--btn.cds--text-input--password__visibility__toggle.cds--tooltip__trigger{width:2rem}.cds--text-input--lg+.cds--btn.cds--text-input--password__visibility__toggle.cds--tooltip__trigger{width:3rem}.cds--btn.cds--text-input--password__visibility__toggle.cds--tooltip__trigger svg{fill:var(--cds-icon-secondary,#525252);transition:fill 70ms cubic-bezier(.2,0,.38,.9)}@media screen and (-ms-high-contrast:active),screen and (prefers-contrast){.cds--btn.cds--text-input--password__visibility__toggle.cds--tooltip__trigger svg{fill:ButtonText}}.cds--btn.cds--text-input--password__visibility__toggle.cds--tooltip__trigger:focus{outline:2px solid var(--cds-focus,#0f62fe);outline-offset:-2px}@media screen and (prefers-contrast){.cds--btn.cds--text-input--password__visibility__toggle.cds--tooltip__trigger:focus{outline-style:dotted}}.cds--btn.cds--text-input--password__visibility__toggle.cds--tooltip__trigger:focus svg,.cds--btn.cds--text-input--password__visibility__toggle.cds--tooltip__trigger:hover svg{fill:var(--cds-icon-primary,#161616)}.cds--text-input--invalid,.cds--text-input--warning{padding-left:2.5rem}.cds--text-input--invalid.cds--password-input{padding-left:4rem}.cds--text-input--invalid+.cds--text-input--password__visibility__toggle{left:1rem}.cds--password-input-wrapper .cds--text-input__invalid-icon{left:2.5rem}.cds--text-input:disabled~.cds--text-input--password__visibility__toggle.cds--tooltip__trigger{cursor:not-allowed}.cds--text-input:disabled~.cds--text-input--password__visibility__toggle.cds--tooltip__trigger svg{fill:var(--cds-icon-disabled,rgba(22,22,22,.25))}.cds--text-input:disabled~.cds--text-input--password__visibility__toggle.cds--tooltip__trigger svg:hover{fill:var(--cds-icon-disabled,rgba(22,22,22,.25))}.cds--text-input__counter-alert{position:absolute;overflow:hidden;width:1px;height:1px;padding:0;border:0;margin:-1px;clip:rect(0,0,0,0)}.cds--text-input:disabled{outline:2px solid transparent;outline-offset:-2px;border-bottom:1px solid transparent;background-color:var(--cds-field);color:var(--cds-text-disabled,rgba(22,22,22,.25));cursor:not-allowed;-webkit-text-fill-color:var(--cds-text-disabled,rgba(22,22,22,.25))}.cds--text-input--light:disabled{background-color:var(--cds-field-02,#fff)}.cds--text-input:disabled::-moz-placeholder{color:var(--cds-text-disabled,rgba(22,22,22,.25));opacity:1}.cds--text-input:disabled::placeholder{color:var(--cds-text-disabled,rgba(22,22,22,.25));opacity:1}.cds--text-input--invalid{outline:2px solid var(--cds-support-error,#da1e28);outline-offset:-2px;box-shadow:none}@media screen and (prefers-contrast){.cds--text-input--invalid{outline-style:dotted}}.cds--text-input--invalid .cds--text-input--password__visibility__toggle{left:2.5rem}.cds--skeleton.cds--text-input{position:relative;padding:0;border:none;background:var(--cds-skeleton-background,#e8e8e8);box-shadow:none;pointer-events:none}.cds--skeleton.cds--text-input:active,.cds--skeleton.cds--text-input:focus,.cds--skeleton.cds--text-input:hover{border:none;cursor:default;outline:0}.cds--skeleton.cds--text-input::before{position:absolute;width:100%;height:100%;animation:3s ease-in-out skeleton infinite;background:var(--cds-skeleton-element,#c6c6c6);content:\"\";will-change:transform-origin,transform,opacity}@media (prefers-reduced-motion:reduce){.cds--skeleton.cds--text-input::before{animation:none}}.cds--form--fluid .cds--text-input-wrapper{position:relative;background:var(--cds-field);transition:background-color 70ms cubic-bezier(.2,0,.38,.9),outline 70ms cubic-bezier(.2,0,.38,.9)}.cds--form--fluid .cds--label{position:absolute;z-index:1;top:.8125rem;right:1rem;display:flex;height:1rem;align-items:center;margin:0}.cds--form--fluid .cds--form__helper-text{display:none}.cds--form--fluid .cds--text-input{min-height:4rem;padding:2rem 1rem .8125rem}.cds--form--fluid .cds--text-input__divider,.cds--text-input__divider{display:none}.cds--form--fluid .cds--text-input--invalid,.cds--form--fluid .cds--text-input--warning{border-bottom:none}.cds--form--fluid .cds--text-input--invalid+.cds--text-input__divider,.cds--form--fluid .cds--text-input--warning+.cds--text-input__divider{display:block;border-style:solid;border-color:var(--cds-border-subtle);border-bottom:none;margin:0 1rem}.cds--form--fluid .cds--text-input__invalid-icon{top:5rem}.cds--form--fluid .cds--text-input__field-wrapper--warning>.cds--text-input--warning,.cds--form--fluid .cds--text-input__field-wrapper[data-invalid]>.cds--text-input--invalid{outline:0}.cds--form--fluid .cds--text-input__field-wrapper--warning{border-bottom:1px solid var(--cds-border-strong)}.cds--form--fluid .cds--text-input__field-wrapper[data-invalid]:not(:focus){outline:2px solid var(--cds-support-error,#da1e28);outline-offset:-2px}@media screen and (prefers-contrast){.cds--form--fluid .cds--text-input__field-wrapper[data-invalid]:not(:focus){outline-style:dotted}}.cds--form--fluid .cds--text-input__field-wrapper--warning:focus-within,.cds--form--fluid .cds--text-input__field-wrapper[data-invalid]:focus-within{outline:2px solid var(--cds-focus,#0f62fe);outline-offset:-2px}@media screen and (prefers-contrast){.cds--form--fluid .cds--text-input__field-wrapper--warning:focus-within,.cds--form--fluid .cds--text-input__field-wrapper[data-invalid]:focus-within{outline-style:dotted}}.cds--form--fluid .cds--text-input__field-wrapper--warning>.cds--text-input--warning:focus,.cds--form--fluid .cds--text-input__field-wrapper[data-invalid]>.cds--text-input--invalid:focus{outline:0}.cds--text-input-wrapper.cds--text-input-wrapper--inline{flex-flow:row wrap}.cds--text-input-wrapper .cds--label--inline{flex:1;margin:.8125rem 0 0 0;overflow-wrap:break-word;word-break:break-word}.cds--text-input-wrapper .cds--label--inline--sm{margin-top:.5625rem}.cds--text-input-wrapper .cds--label--inline--lg{margin-top:1.0625rem}.cds--text-input__label-helper-wrapper{max-width:8rem;flex:2;flex-direction:column;margin-left:1.5rem;overflow-wrap:break-word}.cds--text-input-wrapper .cds--form__helper-text--inline{margin-top:.125rem}.cds--text-input__field-outer-wrapper{display:flex;width:100%;flex:1 1 auto;flex-direction:column;align-items:flex-start}.cds--text-input__field-outer-wrapper--inline{flex:8;flex-direction:column}.cds--text-input-wrapper--inline .cds--form-requirement{display:block;overflow:visible;max-height:12.5rem;font-weight:400}.cds--text-input-wrapper--inline--invalid .cds--form-requirement{color:var(--cds-text-error,#da1e28)}.cds--form--fluid .cds--text-input-wrapper--readonly,.cds--text-input-wrapper--readonly .cds--text-input{background:0 0}@media screen and (-ms-high-contrast:active),(forced-colors:active){.cds--btn.cds--btn--icon-only.cds--text-input--password__visibility__toggle.cds--tooltip__trigger svg,.cds--btn.cds--btn--icon-only.cds--text-input--password__visibility__toggle.cds--tooltip__trigger:hover svg{fill:ButtonText}}.cds--text-input__label-wrapper{display:flex;width:100%;justify-content:space-between}.cds--text-input__label-wrapper .cds--text-input__label-counter{align-self:end}:host(cds-input){width:100%;outline:0}:host(cds-input[show-password-visibility-toggle]) .cds--text-input{padding-left:2.5rem}:host(cds-input[show-password-visibility-toggle][size=sm]) .cds--text-input__invalid-icon{left:2rem}:host(cds-input[show-password-visibility-toggle]) .cds--text-input__invalid-icon,:host(cds-input[show-password-visibility-toggle][size=md]) .cds--text-input__invalid-icon{left:2.5rem}:host(cds-input[show-password-visibility-toggle][size=lg]) .cds--text-input__invalid-icon{left:3rem}",
11
+ "@keyframes hide-feedback{0%{opacity:1;visibility:inherit}100%{opacity:0;visibility:hidden}}@keyframes show-feedback{0%{opacity:0;visibility:hidden}100%{opacity:1;visibility:inherit}}@keyframes skeleton{0%{opacity:.3;transform:scaleX(0);transform-origin:right}20%{opacity:1;transform:scaleX(1);transform-origin:right}28%{transform:scaleX(1);transform-origin:left}51%{transform:scaleX(0);transform-origin:left}58%{transform:scaleX(0);transform-origin:left}82%{transform:scaleX(1);transform-origin:left}83%{transform:scaleX(1);transform-origin:right}96%{transform:scaleX(0);transform-origin:right}100%{opacity:.3;transform:scaleX(0);transform-origin:right}}input:-webkit-autofill,input:-webkit-autofill:focus,input:-webkit-autofill:hover,textarea:-webkit-autofill,textarea:-webkit-autofill:focus,textarea:-webkit-autofill:hover{box-shadow:0 0 0 1000px var(--cds-field) inset;-webkit-text-fill-color:var(--cds-text-primary,#161616)}.cds--fieldset html{font-size:100%}.cds--fieldset body{font-weight:400;font-family:'IBM Plex Sans',system-ui,-apple-system,BlinkMacSystemFont,'.SFNSText-Regular',sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}.cds--fieldset code{font-family:'IBM Plex Mono',system-ui,-apple-system,BlinkMacSystemFont,'.SFNSText-Regular',monospace}.cds--fieldset strong{font-weight:600}.cds--form-item{font-size:var(--cds-body-compact-01-font-size,.875rem);font-weight:var(--cds-body-compact-01-font-weight,400);line-height:var(--cds-body-compact-01-line-height,1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing,.16px);display:flex;flex:1 1 auto;flex-direction:column;align-items:flex-start}.cds--label{font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);line-height:var(--cds-label-01-line-height,1.33333);letter-spacing:var(--cds-label-01-letter-spacing,.32px);display:inline-block;margin-bottom:.5rem;color:var(--cds-text-secondary,#525252);font-weight:400;line-height:1rem;vertical-align:baseline}.cds--label html{font-size:100%}.cds--label body{font-weight:400;font-family:'IBM Plex Sans',system-ui,-apple-system,BlinkMacSystemFont,'.SFNSText-Regular',sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}.cds--label code{font-family:'IBM Plex Mono',system-ui,-apple-system,BlinkMacSystemFont,'.SFNSText-Regular',monospace}.cds--label strong{font-weight:600}.cds--label .cds--toggletip-label{font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);line-height:var(--cds-label-01-line-height,1.33333);letter-spacing:var(--cds-label-01-letter-spacing,.32px)}.cds--label--no-margin{margin-bottom:0}.cds--label+.cds--tooltip{position:relative;top:.2rem;right:.5rem}.cds--label+.cds--tooltip .cds--tooltip__trigger{box-sizing:border-box;padding:0;border:0;margin:0;font-family:inherit;font-size:100%;vertical-align:baseline;display:inline-block;padding:0;border:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:0 0;cursor:pointer;text-align:start;width:100%;display:flex;align-items:center;justify-content:center;font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);line-height:var(--cds-label-01-line-height,1.33333);letter-spacing:var(--cds-label-01-letter-spacing,.32px)}.cds--label+.cds--tooltip .cds--tooltip__trigger *,.cds--label+.cds--tooltip .cds--tooltip__trigger ::after,.cds--label+.cds--tooltip .cds--tooltip__trigger ::before{box-sizing:inherit}.cds--label+.cds--tooltip .cds--tooltip__trigger::-moz-focus-inner{border:0}.cds--label+.cds--tooltip .cds--tooltip__trigger:focus{outline:1px solid var(--cds-focus,#0f62fe)}.cds--label+.cds--tooltip .cds--tooltip__trigger svg{fill:var(--cds-icon-secondary,#525252)}.cds--label+.cds--tooltip .cds--tooltip__trigger svg :hover{fill:var(--cds-icon-primary,#161616)}.cds--label+.cds--toggletip{top:.2rem;right:.5rem}.cds--label.cds--skeleton{position:relative;padding:0;border:none;background:var(--cds-skeleton-background,#e8e8e8);box-shadow:none;pointer-events:none;width:4.6875rem;height:.875rem}.cds--label.cds--skeleton:active,.cds--label.cds--skeleton:focus,.cds--label.cds--skeleton:hover{border:none;cursor:default;outline:0}.cds--label.cds--skeleton::before{position:absolute;width:100%;height:100%;animation:3s ease-in-out skeleton infinite;background:var(--cds-skeleton-element,#c6c6c6);content:\"\";will-change:transform-origin,transform,opacity}@media (prefers-reduced-motion:reduce){.cds--label.cds--skeleton::before{animation:none}}input[type=number]{font-family:'IBM Plex Sans',system-ui,-apple-system,BlinkMacSystemFont,'.SFNSText-Regular',sans-serif}.cds--combo-box[data-invalid]:not(.cds--multi-select--selected) .cds--text-input:not(:focus),.cds--list-box[data-invalid]:not(.cds--multi-select--invalid--focused),.cds--number[data-invalid] input[type=number]:not(:focus),.cds--select-input__wrapper[data-invalid] .cds--select-input:not(:focus),.cds--text-area__wrapper[data-invalid]>.cds--text-area--invalid:not(:focus),.cds--text-input__field-wrapper[data-invalid]>.cds--text-input--invalid:not(:focus),input[data-invalid]:not(:focus){outline:2px solid var(--cds-support-error,#da1e28);outline-offset:-2px}@media screen and (prefers-contrast){.cds--combo-box[data-invalid]:not(.cds--multi-select--selected) .cds--text-input:not(:focus),.cds--list-box[data-invalid]:not(.cds--multi-select--invalid--focused),.cds--number[data-invalid] input[type=number]:not(:focus),.cds--select-input__wrapper[data-invalid] .cds--select-input:not(:focus),.cds--text-area__wrapper[data-invalid]>.cds--text-area--invalid:not(:focus),.cds--text-input__field-wrapper[data-invalid]>.cds--text-input--invalid:not(:focus),input[data-invalid]:not(:focus){outline-style:dotted}}.cds--date-picker-input__wrapper--invalid~.cds--form-requirement,.cds--date-picker-input__wrapper--warn~.cds--form-requirement,.cds--date-picker-input__wrapper~.cds--form-requirement,.cds--list-box--warning~.cds--form-requirement,.cds--list-box[data-invalid]~.cds--form-requirement,.cds--number[data-invalid] .cds--number__input-wrapper~.cds--form-requirement,.cds--number__input-wrapper--warning~.cds--form-requirement,.cds--select--warning .cds--select-input__wrapper~.cds--form-requirement,.cds--select-input__wrapper[data-invalid]~.cds--form-requirement,.cds--text-area__wrapper--warn~.cds--form-requirement,.cds--text-area__wrapper[data-invalid]~.cds--form-requirement,.cds--text-input__field-wrapper--warning>.cds--text-input~.cds--form-requirement,.cds--text-input__field-wrapper--warning~.cds--form-requirement,.cds--text-input__field-wrapper[data-invalid]~.cds--form-requirement,.cds--time-picker--invalid~.cds--form-requirement,.cds--time-picker[data-invalid]~.cds--form-requirement,input[data-invalid]~.cds--form-requirement{display:block;overflow:visible;max-height:12.5rem;font-weight:400}.cds--date-picker-input__wrapper--invalid~.cds--form-requirement,.cds--date-picker-input__wrapper~.cds--form-requirement,.cds--list-box[data-invalid]~.cds--form-requirement,.cds--number[data-invalid] .cds--number__input-wrapper~.cds--form-requirement,.cds--select-input__wrapper[data-invalid]~.cds--form-requirement,.cds--text-area__wrapper[data-invalid]~.cds--form-requirement,.cds--text-input__field-wrapper[data-invalid]~.cds--form-requirement,.cds--time-picker--invalid~.cds--form-requirement,.cds--time-picker[data-invalid]~.cds--form-requirement,input[data-invalid]~.cds--form-requirement{color:var(--cds-text-error,#da1e28)}.cds--form--fluid .cds--text-input__field-wrapper--warning,.cds--form--fluid .cds--text-input__field-wrapper[data-invalid]{display:block}.cds--form--fluid input[data-invalid]{outline:0}.cds--form--fluid .cds--form-requirement{padding:.5rem 1rem .5rem 2.5rem;margin:0}input:not(output):not([data-invalid]):-moz-ui-invalid{box-shadow:none}.cds--form-requirement{font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);line-height:var(--cds-label-01-line-height,1.33333);letter-spacing:var(--cds-label-01-letter-spacing,.32px);display:none;overflow:hidden;max-height:0;margin:.25rem 0 0}.cds--form-requirement html{font-size:100%}.cds--form-requirement body{font-weight:400;font-family:'IBM Plex Sans',system-ui,-apple-system,BlinkMacSystemFont,'.SFNSText-Regular',sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}.cds--form-requirement code{font-family:'IBM Plex Mono',system-ui,-apple-system,BlinkMacSystemFont,'.SFNSText-Regular',monospace}.cds--form-requirement strong{font-weight:600}.cds--select--inline .cds--form__helper-text{margin-top:0}.cds--form__helper-text{font-size:var(--cds-helper-text-01-font-size,.75rem);line-height:var(--cds-helper-text-01-line-height,1.33333);letter-spacing:var(--cds-helper-text-01-letter-spacing,.32px);z-index:0;width:100%;margin-top:.25rem;color:var(--cds-text-secondary,#525252);opacity:1}.cds--form__helper-text--disabled,.cds--label--disabled{color:var(--cds-text-disabled,rgba(22,22,22,.25))}fieldset[disabled] .cds--form__helper-text,fieldset[disabled] .cds--label{color:var(--cds-text-disabled,rgba(22,22,22,.25))}.cds--text-input{font-size:var(--cds-body-compact-01-font-size,.875rem);font-weight:var(--cds-body-compact-01-font-weight,400);line-height:var(--cds-body-compact-01-line-height,1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing,.16px);outline:2px solid transparent;outline-offset:-2px;width:100%;height:2.5rem;padding:0 1rem;border:none;border-bottom:1px solid var(--cds-border-strong);background-color:var(--cds-field);color:var(--cds-text-primary,#161616);font-family:inherit;transition:background-color 70ms cubic-bezier(.2,0,.38,.9),outline 70ms cubic-bezier(.2,0,.38,.9)}.cds--text-input html{font-size:100%}.cds--text-input body{font-weight:400;font-family:'IBM Plex Sans',system-ui,-apple-system,BlinkMacSystemFont,'.SFNSText-Regular',sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}.cds--text-input code{font-family:'IBM Plex Mono',system-ui,-apple-system,BlinkMacSystemFont,'.SFNSText-Regular',monospace}.cds--text-input strong{font-weight:600}.cds--text-input:active,.cds--text-input:focus{outline:2px solid var(--cds-focus,#0f62fe);outline-offset:-2px}@media screen and (prefers-contrast){.cds--text-input:active,.cds--text-input:focus{outline-style:dotted}}.cds--text-input-wrapper svg[hidden]{display:none}.cds--text-input--lg{height:3rem}.cds--text-input--sm{height:2rem}.cds--password-input{padding-left:2.5rem}.cds--text-input--sm.cds--password-input{padding-left:2rem}.cds--text-input--lg.cds--password-input{padding-left:3rem}.cds--text-input::-moz-placeholder{color:var(--cds-text-placeholder,rgba(22,22,22,.4));opacity:1}.cds--text-input::placeholder{color:var(--cds-text-placeholder,rgba(22,22,22,.4));opacity:1}.cds--text-input--light{background-color:var(--cds-field-02,#fff)}.cds--text-input__field-wrapper{position:relative;display:flex;width:100%}.cds--text-input__invalid-icon{position:absolute;top:50%;left:1rem;fill:var(--cds-support-error,#da1e28);transform:translateY(-50%)}.cds--text-input__invalid-icon--warning{fill:var(--cds-support-warning,#f1c21b)}.cds--text-input__invalid-icon--warning path:first-of-type{fill:#000;opacity:1}.cds--text-input--password__visibility{position:relative;display:inline-flex;overflow:visible;align-items:center;cursor:pointer}.cds--text-input--password__visibility:focus{outline:1px solid var(--cds-focus,#0f62fe)}@media screen and (prefers-contrast){.cds--text-input--password__visibility:focus{outline-style:dotted}}.cds--text-input--password__visibility:focus{outline:1px solid transparent}.cds--text-input--password__visibility:focus svg{outline:1px solid var(--cds-focus,#0f62fe)}@media screen and (prefers-contrast){.cds--text-input--password__visibility:focus svg{outline-style:dotted}}.cds--text-input--password__visibility .cds--assistive-text,.cds--text-input--password__visibility+.cds--assistive-text,.cds--text-input--password__visibility::after,.cds--text-input--password__visibility::before{position:absolute;z-index:6000;display:flex;align-items:center;opacity:0;pointer-events:none}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.cds--text-input--password__visibility .cds--assistive-text,.cds--text-input--password__visibility+.cds--assistive-text,.cds--text-input--password__visibility::after,.cds--text-input--password__visibility::before{display:inline-block}}.cds--text-input--password__visibility::after,.cds--text-input--password__visibility::before{transition:opacity 70ms cubic-bezier(.2,0,.38,.9)}@media screen and (prefers-reduced-motion:reduce){.cds--text-input--password__visibility::after,.cds--text-input--password__visibility::before{transition:none}}.cds--text-input--password__visibility.cds--tooltip--a11y::after,.cds--text-input--password__visibility.cds--tooltip--a11y::before{transition:none}.cds--text-input--password__visibility::before{width:0;height:0;border-style:solid;content:\"\"}.cds--text-input--password__visibility .cds--assistive-text,.cds--text-input--password__visibility+.cds--assistive-text{box-sizing:content-box;color:inherit;opacity:1;white-space:normal;word-break:break-word}.cds--text-input--password__visibility .cds--assistive-text,.cds--text-input--password__visibility+.cds--assistive-text,.cds--text-input--password__visibility::after{box-shadow:0 2px 6px var(--cds-shadow,rgba(0,0,0,.3));z-index:6000;width:-moz-max-content;width:max-content;min-width:1.5rem;max-width:13rem;height:auto;padding:.1875rem 1rem;background-color:var(--cds-background-inverse,#393939);border-radius:.125rem;color:var(--cds-text-inverse,#fff);font-weight:400;text-align:right;transform:translateX(50%);font-size:var(--cds-body-compact-01-font-size,.875rem);font-weight:var(--cds-body-compact-01-font-weight,400);line-height:var(--cds-body-compact-01-line-height,1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing,.16px)}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.cds--text-input--password__visibility .cds--assistive-text,.cds--text-input--password__visibility+.cds--assistive-text,.cds--text-input--password__visibility::after{width:auto}}@supports (-ms-accelerator:true){.cds--text-input--password__visibility .cds--assistive-text,.cds--text-input--password__visibility+.cds--assistive-text,.cds--text-input--password__visibility::after{width:auto}}@supports (-ms-ime-align:auto){.cds--text-input--password__visibility .cds--assistive-text,.cds--text-input--password__visibility+.cds--assistive-text,.cds--text-input--password__visibility::after{width:auto}}@media screen and (-ms-high-contrast:active),screen and (prefers-contrast){.cds--text-input--password__visibility .cds--assistive-text,.cds--text-input--password__visibility+.cds--assistive-text,.cds--text-input--password__visibility::after{border:1px solid transparent}}.cds--text-input--password__visibility::after{content:attr(aria-label)}.cds--text-input--password__visibility.cds--tooltip--a11y::after{content:none}.cds--text-input--password__visibility.cds--tooltip--visible::after,.cds--text-input--password__visibility.cds--tooltip--visible::before,.cds--text-input--password__visibility:focus::after,.cds--text-input--password__visibility:focus::before,.cds--text-input--password__visibility:hover::after,.cds--text-input--password__visibility:hover::before{opacity:1}@keyframes tooltip-fade{from{opacity:0}to{opacity:1}}.cds--text-input--password__visibility.cds--tooltip--visible .cds--assistive-text,.cds--text-input--password__visibility.cds--tooltip--visible+.cds--assistive-text,.cds--text-input--password__visibility:focus .cds--assistive-text,.cds--text-input--password__visibility:focus+.cds--assistive-text,.cds--text-input--password__visibility:hover .cds--assistive-text,.cds--text-input--password__visibility:hover+.cds--assistive-text{overflow:visible;margin:auto;clip:auto}.cds--text-input--password__visibility.cds--tooltip--visible .cds--assistive-text,.cds--text-input--password__visibility.cds--tooltip--visible+.cds--assistive-text,.cds--text-input--password__visibility.cds--tooltip--visible.cds--tooltip--a11y::before,.cds--text-input--password__visibility:focus .cds--assistive-text,.cds--text-input--password__visibility:focus+.cds--assistive-text,.cds--text-input--password__visibility:focus.cds--tooltip--a11y::before,.cds--text-input--password__visibility:hover .cds--assistive-text,.cds--text-input--password__visibility:hover+.cds--assistive-text,.cds--text-input--password__visibility:hover.cds--tooltip--a11y::before{animation:tooltip-fade 70ms cubic-bezier(.2,0,.38,.9)}.cds--text-input--password__visibility.cds--tooltip--hidden .cds--assistive-text,.cds--text-input--password__visibility.cds--tooltip--hidden+.cds--assistive-text{overflow:hidden;margin:-1px;clip:rect(0,0,0,0)}.cds--text-input--password__visibility.cds--tooltip--hidden.cds--tooltip--a11y::before{animation:none;opacity:0}.cds--text-input--password__visibility .cds--assistive-text::after{position:absolute;display:block;content:\"\";right:0;width:100%;height:.75rem;top:-.75rem}.cds--text-input--password__visibility .cds--assistive-text,.cds--text-input--password__visibility+.cds--assistive-text,.cds--text-input--password__visibility::after,.cds--text-input--password__visibility::before{bottom:0;right:50%}.cds--text-input--password__visibility::before{bottom:-.5rem;border-width:0 .25rem .3125rem .25rem;border-color:transparent transparent var(--cds-background-inverse,#393939) transparent;transform:translate(50%,100%)}.cds--text-input--password__visibility .cds--assistive-text,.cds--text-input--password__visibility+.cds--assistive-text,.cds--text-input--password__visibility::after{bottom:-.8125rem;transform:translate(50%,100%)}.cds--btn.cds--text-input--password__visibility__toggle.cds--tooltip__trigger{outline:2px solid transparent;outline-offset:-2px;position:absolute;left:0;display:flex;width:2.5rem;height:100%;min-height:auto;align-items:center;justify-content:center;padding:0;border:0;background:0 0;cursor:pointer;transition:outline 70ms cubic-bezier(.2,0,.38,.9)}.cds--text-input--sm+.cds--btn.cds--text-input--password__visibility__toggle.cds--tooltip__trigger{width:2rem}.cds--text-input--lg+.cds--btn.cds--text-input--password__visibility__toggle.cds--tooltip__trigger{width:3rem}.cds--btn.cds--text-input--password__visibility__toggle.cds--tooltip__trigger svg{fill:var(--cds-icon-secondary,#525252);transition:fill 70ms cubic-bezier(.2,0,.38,.9)}@media screen and (-ms-high-contrast:active),screen and (prefers-contrast){.cds--btn.cds--text-input--password__visibility__toggle.cds--tooltip__trigger svg{fill:ButtonText}}.cds--btn.cds--text-input--password__visibility__toggle.cds--tooltip__trigger:focus{outline:2px solid var(--cds-focus,#0f62fe);outline-offset:-2px}@media screen and (prefers-contrast){.cds--btn.cds--text-input--password__visibility__toggle.cds--tooltip__trigger:focus{outline-style:dotted}}.cds--btn.cds--text-input--password__visibility__toggle.cds--tooltip__trigger:focus svg,.cds--btn.cds--text-input--password__visibility__toggle.cds--tooltip__trigger:hover svg{fill:var(--cds-icon-primary,#161616)}.cds--text-input--invalid,.cds--text-input--warning{padding-left:2.5rem}.cds--text-input--invalid.cds--password-input{padding-left:4rem}.cds--text-input--invalid+.cds--text-input--password__visibility__toggle{left:1rem}.cds--password-input-wrapper .cds--text-input__invalid-icon{left:2.5rem}.cds--text-input:disabled~.cds--text-input--password__visibility__toggle.cds--tooltip__trigger{cursor:not-allowed}.cds--text-input:disabled~.cds--text-input--password__visibility__toggle.cds--tooltip__trigger svg{fill:var(--cds-icon-disabled,rgba(22,22,22,.25))}.cds--text-input:disabled~.cds--text-input--password__visibility__toggle.cds--tooltip__trigger svg:hover{fill:var(--cds-icon-disabled,rgba(22,22,22,.25))}.cds--text-input__counter-alert{position:absolute;overflow:hidden;width:1px;height:1px;padding:0;border:0;margin:-1px;clip:rect(0,0,0,0)}.cds--text-input:disabled{outline:2px solid transparent;outline-offset:-2px;border-bottom:1px solid transparent;background-color:var(--cds-field);color:var(--cds-text-disabled,rgba(22,22,22,.25));cursor:not-allowed;-webkit-text-fill-color:var(--cds-text-disabled,rgba(22,22,22,.25))}.cds--text-input--light:disabled{background-color:var(--cds-field-02,#fff)}.cds--text-input:disabled::-moz-placeholder{color:var(--cds-text-disabled,rgba(22,22,22,.25));opacity:1}.cds--text-input:disabled::placeholder{color:var(--cds-text-disabled,rgba(22,22,22,.25));opacity:1}.cds--text-input--invalid{outline:2px solid var(--cds-support-error,#da1e28);outline-offset:-2px;box-shadow:none}@media screen and (prefers-contrast){.cds--text-input--invalid{outline-style:dotted}}.cds--text-input--invalid .cds--text-input--password__visibility__toggle{left:2.5rem}.cds--skeleton.cds--text-input{position:relative;padding:0;border:none;background:var(--cds-skeleton-background,#e8e8e8);box-shadow:none;pointer-events:none}.cds--skeleton.cds--text-input:active,.cds--skeleton.cds--text-input:focus,.cds--skeleton.cds--text-input:hover{border:none;cursor:default;outline:0}.cds--skeleton.cds--text-input::before{position:absolute;width:100%;height:100%;animation:3s ease-in-out skeleton infinite;background:var(--cds-skeleton-element,#c6c6c6);content:\"\";will-change:transform-origin,transform,opacity}@media (prefers-reduced-motion:reduce){.cds--skeleton.cds--text-input::before{animation:none}}.cds--form--fluid .cds--text-input-wrapper{position:relative;background:var(--cds-field);transition:background-color 70ms cubic-bezier(.2,0,.38,.9),outline 70ms cubic-bezier(.2,0,.38,.9)}.cds--form--fluid .cds--label{position:absolute;z-index:1;top:.8125rem;right:1rem;display:flex;height:1rem;align-items:center;margin:0}.cds--form--fluid .cds--form__helper-text{display:none}.cds--form--fluid .cds--text-input{min-height:4rem;padding:2rem 1rem .8125rem}.cds--form--fluid .cds--text-input__divider,.cds--text-input__divider{display:none}.cds--form--fluid .cds--text-input--invalid,.cds--form--fluid .cds--text-input--warning{border-bottom:none}.cds--form--fluid .cds--text-input--invalid+.cds--text-input__divider,.cds--form--fluid .cds--text-input--warning+.cds--text-input__divider{display:block;border-style:solid;border-color:var(--cds-border-subtle);border-bottom:none;margin:0 1rem}.cds--form--fluid .cds--text-input__invalid-icon{top:5rem}.cds--form--fluid .cds--text-input__field-wrapper--warning>.cds--text-input--warning,.cds--form--fluid .cds--text-input__field-wrapper[data-invalid]>.cds--text-input--invalid{outline:0}.cds--form--fluid .cds--text-input__field-wrapper--warning{border-bottom:1px solid var(--cds-border-strong)}.cds--form--fluid .cds--text-input__field-wrapper[data-invalid]:not(:focus){outline:2px solid var(--cds-support-error,#da1e28);outline-offset:-2px}@media screen and (prefers-contrast){.cds--form--fluid .cds--text-input__field-wrapper[data-invalid]:not(:focus){outline-style:dotted}}.cds--form--fluid .cds--text-input__field-wrapper--warning:focus-within,.cds--form--fluid .cds--text-input__field-wrapper[data-invalid]:focus-within{outline:2px solid var(--cds-focus,#0f62fe);outline-offset:-2px}@media screen and (prefers-contrast){.cds--form--fluid .cds--text-input__field-wrapper--warning:focus-within,.cds--form--fluid .cds--text-input__field-wrapper[data-invalid]:focus-within{outline-style:dotted}}.cds--form--fluid .cds--text-input__field-wrapper--warning>.cds--text-input--warning:focus,.cds--form--fluid .cds--text-input__field-wrapper[data-invalid]>.cds--text-input--invalid:focus{outline:0}.cds--text-input-wrapper.cds--text-input-wrapper--inline{flex-flow:row wrap}.cds--text-input-wrapper .cds--label--inline{flex:1;margin:.8125rem 0 0 0;overflow-wrap:break-word;word-break:break-word}.cds--text-input-wrapper .cds--label--inline--sm{margin-top:.5625rem}.cds--text-input-wrapper .cds--label--inline--lg{margin-top:1.0625rem}.cds--text-input__label-helper-wrapper{max-width:8rem;flex:2;flex-direction:column;margin-left:1.5rem;overflow-wrap:break-word}.cds--text-input-wrapper .cds--form__helper-text--inline{margin-top:.125rem}.cds--text-input__field-outer-wrapper{display:flex;width:100%;flex:1 1 auto;flex-direction:column;align-items:flex-start}.cds--text-input__field-outer-wrapper--inline{flex:8;flex-direction:column}.cds--text-input-wrapper--inline .cds--form-requirement{display:block;overflow:visible;max-height:12.5rem;font-weight:400}.cds--text-input-wrapper--inline--invalid .cds--form-requirement{color:var(--cds-text-error,#da1e28)}.cds--form--fluid .cds--text-input-wrapper--readonly,.cds--text-input-wrapper--readonly .cds--text-input{background:0 0}@media screen and (-ms-high-contrast:active),(forced-colors:active){.cds--btn.cds--btn--icon-only.cds--text-input--password__visibility__toggle.cds--tooltip__trigger svg,.cds--btn.cds--btn--icon-only.cds--text-input--password__visibility__toggle.cds--tooltip__trigger:hover svg{fill:ButtonText}}.cds--text-input__label-wrapper{display:flex;width:100%;justify-content:space-between}.cds--text-input__label-wrapper .cds--text-input__label-counter{align-self:end}:host(cds-input){width:100%;outline:0}:host(cds-input[show-password-visibility-toggle]) .cds--text-input{padding-left:2.5rem}:host(cds-input[show-password-visibility-toggle][size=sm]) .cds--text-input__invalid-icon{left:2rem}:host(cds-input[show-password-visibility-toggle]) .cds--text-input__invalid-icon,:host(cds-input[show-password-visibility-toggle][size=md]) .cds--text-input__invalid-icon{left:2.5rem}:host(cds-input[show-password-visibility-toggle][size=lg]) .cds--text-input__invalid-icon{left:3rem}",
12
12
  ]);
@@ -0,0 +1,11 @@
1
+ /**
2
+ * @license
3
+ *
4
+ * Copyright IBM Corp. 2021, 2023
5
+ *
6
+ * This source code is licensed under the Apache-2.0 license found in the
7
+ * LICENSE file in the root directory of this source tree.
8
+ */
9
+ import './layer';
10
+
11
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["components/layer/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,SAAS,CAAC","file":"index.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2021, 2023\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport './layer';\n"]}
@@ -0,0 +1,11 @@
1
+ /**
2
+ * @license
3
+ *
4
+ * Copyright IBM Corp. 2021, 2023
5
+ *
6
+ * This source code is licensed under the Apache-2.0 license found in the
7
+ * LICENSE file in the root directory of this source tree.
8
+ */
9
+
10
+ import './layer';
11
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":[],"sources":["components/layer/index.ts"],"sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2021, 2023\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport './layer';\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,OAAO,SAAS"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @license
3
+ *
4
+ * Copyright IBM Corp. 2019, 2020
5
+ *
6
+ * This source code is licensed under the Apache-2.0 license found in the
7
+ * LICENSE file in the root directory of this source tree.
8
+ */
9
+ import { css } from 'lit';
10
+ export default css([
11
+ ':root{--cds-layer:var(--cds-layer-01, #f4f4f4);--cds-layer-active:var(--cds-layer-active-01, #c6c6c6);--cds-layer-hover:var(--cds-layer-hover-01, #e8e8e8);--cds-layer-selected:var(--cds-layer-selected-01, #e0e0e0);--cds-layer-selected-hover:var(--cds-layer-selected-hover-01, #d1d1d1);--cds-layer-accent:var(--cds-layer-accent-01, #e0e0e0);--cds-layer-accent-hover:var(--cds-layer-accent-hover-01, #d1d1d1);--cds-layer-accent-active:var(--cds-layer-accent-active-01, #a8a8a8);--cds-field:var(--cds-field-01, #f4f4f4);--cds-field-hover:var(--cds-field-hover-01, #e8e8e8);--cds-border-subtle:var(--cds-border-subtle-00, #e0e0e0);--cds-border-subtle-selected:var(--cds-border-subtle-selected-01, #c6c6c6);--cds-border-strong:var(--cds-border-strong-01, #8d8d8d);--cds-border-tile:var(--cds-border-tile-01, #c6c6c6)}.cds--layer-one,:host(cds-layer)[level="0"]{--cds-layer:var(--cds-layer-01, #f4f4f4);--cds-layer-active:var(--cds-layer-active-01, #c6c6c6);--cds-layer-hover:var(--cds-layer-hover-01, #e8e8e8);--cds-layer-selected:var(--cds-layer-selected-01, #e0e0e0);--cds-layer-selected-hover:var(--cds-layer-selected-hover-01, #d1d1d1);--cds-layer-accent:var(--cds-layer-accent-01, #e0e0e0);--cds-layer-accent-hover:var(--cds-layer-accent-hover-01, #d1d1d1);--cds-layer-accent-active:var(--cds-layer-accent-active-01, #a8a8a8);--cds-field:var(--cds-field-01, #f4f4f4);--cds-field-hover:var(--cds-field-hover-01, #e8e8e8);--cds-border-subtle:var(--cds-border-subtle-00, #e0e0e0);--cds-border-subtle-selected:var(--cds-border-subtle-selected-01, #c6c6c6);--cds-border-strong:var(--cds-border-strong-01, #8d8d8d);--cds-border-tile:var(--cds-border-tile-01, #c6c6c6)}.cds--layer-two,:host(cds-layer)[level="1"]{--cds-layer:var(--cds-layer-02, #ffffff);--cds-layer-active:var(--cds-layer-active-02, #c6c6c6);--cds-layer-hover:var(--cds-layer-hover-02, #e8e8e8);--cds-layer-selected:var(--cds-layer-selected-02, #e0e0e0);--cds-layer-selected-hover:var(--cds-layer-selected-hover-02, #d1d1d1);--cds-layer-accent:var(--cds-layer-accent-02, #e0e0e0);--cds-layer-accent-hover:var(--cds-layer-accent-hover-02, #d1d1d1);--cds-layer-accent-active:var(--cds-layer-accent-active-02, #a8a8a8);--cds-field:var(--cds-field-02, #ffffff);--cds-field-hover:var(--cds-field-hover-02, #e8e8e8);--cds-border-subtle:var(--cds-border-subtle-01, #c6c6c6);--cds-border-subtle-selected:var(--cds-border-subtle-selected-02, #c6c6c6);--cds-border-strong:var(--cds-border-strong-02, #8d8d8d);--cds-border-tile:var(--cds-border-tile-02, #a8a8a8)}.cds--layer-three,:host(cds-layer)[level="2"]{--cds-layer:var(--cds-layer-03, #f4f4f4);--cds-layer-active:var(--cds-layer-active-03, #c6c6c6);--cds-layer-hover:var(--cds-layer-hover-03, #e8e8e8);--cds-layer-selected:var(--cds-layer-selected-03, #e0e0e0);--cds-layer-selected-hover:var(--cds-layer-selected-hover-03, #d1d1d1);--cds-layer-accent:var(--cds-layer-accent-03, #e0e0e0);--cds-layer-accent-hover:var(--cds-layer-accent-hover-03, #d1d1d1);--cds-layer-accent-active:var(--cds-layer-accent-active-03, #a8a8a8);--cds-field:var(--cds-field-03, #f4f4f4);--cds-field-hover:var(--cds-field-hover-03, #e8e8e8);--cds-border-subtle:var(--cds-border-subtle-02, #e0e0e0);--cds-border-subtle-selected:var(--cds-border-subtle-selected-03, #c6c6c6);--cds-border-strong:var(--cds-border-strong-03, #8d8d8d);--cds-border-tile:var(--cds-border-tile-03, #c6c6c6)}',
12
+ ]);