@carbon/web-components 2.62.0 → 2.63.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (955) hide show
  1. package/README.md +26 -0
  2. package/bin/create-prefixed-build.js +157 -0
  3. package/custom-elements.json +2074 -360
  4. package/es/components/accordion/accordion.scss.js +1 -1
  5. package/es/components/action-set/action-set.scss.js +1 -1
  6. package/es/components/ai-label/ai-label-action-button.d.ts +1 -1
  7. package/es/components/ai-label/ai-label-action-button.d.ts.map +1 -1
  8. package/es/components/ai-label/ai-label-action-button.js +4 -3
  9. package/es/components/ai-label/ai-label-action-button.js.map +1 -1
  10. package/es/components/ai-label/ai-label.scss.js +1 -1
  11. package/es/components/ai-label/ai-label.scss.js.map +1 -1
  12. package/es/components/ai-label/index.d.ts +1 -0
  13. package/es/components/ai-label/index.d.ts.map +1 -1
  14. package/es/components/ai-label/index.js +1 -0
  15. package/es/components/ai-skeleton/ai-skeleton.scss.js +1 -1
  16. package/es/components/big-number/big-number-skeleton.d.ts +21 -0
  17. package/es/components/big-number/big-number-skeleton.d.ts.map +1 -0
  18. package/es/components/big-number/big-number-skeleton.js +62 -0
  19. package/es/components/big-number/big-number-skeleton.js.map +1 -0
  20. package/es/components/big-number/big-number-skeleton.scss.js +14 -0
  21. package/es/components/big-number/big-number-skeleton.scss.js.map +1 -0
  22. package/es/components/big-number/big-number.d.ts +35 -0
  23. package/es/components/big-number/big-number.d.ts.map +1 -0
  24. package/es/components/big-number/big-number.js +171 -0
  25. package/es/components/big-number/big-number.js.map +1 -0
  26. package/es/components/big-number/big-number.scss.js +14 -0
  27. package/es/components/big-number/big-number.scss.js.map +1 -0
  28. package/es/components/big-number/constants.d.ts +20 -0
  29. package/es/components/big-number/constants.d.ts.map +1 -0
  30. package/es/components/big-number/constants.js +32 -0
  31. package/es/components/big-number/constants.js.map +1 -0
  32. package/es/components/big-number/index.d.ts +8 -0
  33. package/es/components/big-number/index.d.ts.map +1 -0
  34. package/es/components/big-number/index.js +8 -0
  35. package/es/components/breadcrumb/breadcrumb-item.d.ts.map +1 -1
  36. package/es/components/breadcrumb/breadcrumb-item.js +2 -1
  37. package/es/components/breadcrumb/breadcrumb-item.js.map +1 -1
  38. package/es/components/breadcrumb/breadcrumb.d.ts +1 -1
  39. package/es/components/breadcrumb/breadcrumb.d.ts.map +1 -1
  40. package/es/components/breadcrumb/breadcrumb.js +2 -2
  41. package/es/components/breadcrumb/breadcrumb.js.map +1 -1
  42. package/es/components/breadcrumb/breadcrumb.scss.js +1 -1
  43. package/es/components/button/button.d.ts.map +1 -1
  44. package/es/components/button/button.js +1 -1
  45. package/es/components/button/button.js.map +1 -1
  46. package/es/components/button/button.scss.js +1 -1
  47. package/es/components/card/card-action.d.ts +27 -0
  48. package/es/components/card/card-action.d.ts.map +1 -0
  49. package/es/components/card/card-action.js +52 -0
  50. package/es/components/card/card-action.js.map +1 -0
  51. package/es/components/card/card-actions.d.ts +36 -0
  52. package/es/components/card/card-actions.d.ts.map +1 -0
  53. package/es/components/card/card-actions.js +171 -0
  54. package/es/components/card/card-actions.js.map +1 -0
  55. package/es/components/card/card-body.d.ts +23 -0
  56. package/es/components/card/card-body.d.ts.map +1 -0
  57. package/es/components/card/card-body.js +54 -0
  58. package/es/components/card/card-body.js.map +1 -0
  59. package/es/components/card/card-context.d.ts +20 -0
  60. package/es/components/card/card-context.d.ts.map +1 -0
  61. package/es/components/card/card-context.js +29 -0
  62. package/es/components/card/card-context.js.map +1 -0
  63. package/es/components/card/card-footer.d.ts +34 -0
  64. package/es/components/card/card-footer.d.ts.map +1 -0
  65. package/es/components/card/card-footer.js +75 -0
  66. package/es/components/card/card-footer.js.map +1 -0
  67. package/es/components/card/card-header-media.d.ts +19 -0
  68. package/es/components/card/card-header-media.d.ts.map +1 -0
  69. package/es/components/card/card-header-media.js +39 -0
  70. package/es/components/card/card-header-media.js.map +1 -0
  71. package/es/components/card/card-header.d.ts +23 -0
  72. package/es/components/card/card-header.d.ts.map +1 -0
  73. package/es/components/card/card-header.js +70 -0
  74. package/es/components/card/card-header.js.map +1 -0
  75. package/es/components/card/card-media.d.ts +37 -0
  76. package/es/components/card/card-media.d.ts.map +1 -0
  77. package/es/components/card/card-media.js +79 -0
  78. package/es/components/card/card-media.js.map +1 -0
  79. package/es/components/card/card-title-media.d.ts +19 -0
  80. package/es/components/card/card-title-media.d.ts.map +1 -0
  81. package/es/components/card/card-title-media.js +39 -0
  82. package/es/components/card/card-title-media.js.map +1 -0
  83. package/es/components/card/card-title.d.ts +52 -0
  84. package/es/components/card/card-title.d.ts.map +1 -0
  85. package/es/components/card/card-title.js +144 -0
  86. package/es/components/card/card-title.js.map +1 -0
  87. package/es/components/card/card.d.ts +69 -0
  88. package/es/components/card/card.d.ts.map +1 -0
  89. package/es/components/card/card.js +185 -0
  90. package/es/components/card/card.js.map +1 -0
  91. package/es/components/card/card.scss.js +14 -0
  92. package/es/components/card/card.scss.js.map +1 -0
  93. package/es/components/card/defs.d.ts +33 -0
  94. package/es/components/card/defs.d.ts.map +1 -0
  95. package/es/components/card/defs.js +46 -0
  96. package/es/components/card/defs.js.map +1 -0
  97. package/es/components/card/index.d.ts +17 -0
  98. package/es/components/card/index.d.ts.map +1 -0
  99. package/es/components/card/index.js +17 -0
  100. package/es/components/checkbox/checkbox.scss.js +1 -1
  101. package/es/components/coachmark/coachmark-beacon/coachmark-beacon.d.ts +67 -0
  102. package/es/components/coachmark/coachmark-beacon/coachmark-beacon.d.ts.map +1 -0
  103. package/es/components/coachmark/coachmark-beacon/coachmark-beacon.js +120 -0
  104. package/es/components/coachmark/coachmark-beacon/coachmark-beacon.js.map +1 -0
  105. package/es/components/coachmark/coachmark-beacon/coachmark-beacon.scss.js +14 -0
  106. package/es/components/coachmark/coachmark-beacon/coachmark-beacon.scss.js.map +1 -0
  107. package/es/components/coachmark/coachmark-beacon/defs.d.ts +13 -0
  108. package/es/components/coachmark/coachmark-beacon/defs.d.ts.map +1 -0
  109. package/es/components/coachmark/coachmark-beacon/defs.js +25 -0
  110. package/es/components/coachmark/coachmark-beacon/defs.js.map +1 -0
  111. package/es/components/coachmark/coachmark-beacon/index.d.ts +8 -0
  112. package/es/components/coachmark/coachmark-beacon/index.d.ts.map +1 -0
  113. package/es/components/coachmark/coachmark-beacon/index.js +8 -0
  114. package/es/components/coachmark/coachmark-body.d.ts +31 -0
  115. package/es/components/coachmark/coachmark-body.d.ts.map +1 -0
  116. package/es/components/coachmark/coachmark-body.js +39 -0
  117. package/es/components/coachmark/coachmark-body.js.map +1 -0
  118. package/es/components/coachmark/coachmark-body.scss.js +14 -0
  119. package/es/components/coachmark/coachmark-body.scss.js.map +1 -0
  120. package/es/components/coachmark/coachmark-context.d.ts +12 -0
  121. package/es/components/coachmark/coachmark-context.d.ts.map +1 -0
  122. package/es/components/coachmark/coachmark-context.js +39 -0
  123. package/es/components/coachmark/coachmark-context.js.map +1 -0
  124. package/es/components/coachmark/coachmark-header.d.ts +41 -0
  125. package/es/components/coachmark/coachmark-header.d.ts.map +1 -0
  126. package/es/components/coachmark/coachmark-header.js +95 -0
  127. package/es/components/coachmark/coachmark-header.js.map +1 -0
  128. package/es/components/coachmark/coachmark-header.scss.js +14 -0
  129. package/es/components/coachmark/coachmark-header.scss.js.map +1 -0
  130. package/es/components/coachmark/coachmark-helpers.d.ts +10 -0
  131. package/es/components/coachmark/coachmark-helpers.d.ts.map +1 -0
  132. package/es/components/coachmark/coachmark-helpers.js +33 -0
  133. package/es/components/coachmark/coachmark-helpers.js.map +1 -0
  134. package/es/components/coachmark/coachmark-tagline/coachmark-tagline.d.ts +72 -0
  135. package/es/components/coachmark/coachmark-tagline/coachmark-tagline.d.ts.map +1 -0
  136. package/es/components/coachmark/coachmark-tagline/coachmark-tagline.js +130 -0
  137. package/es/components/coachmark/coachmark-tagline/coachmark-tagline.js.map +1 -0
  138. package/es/components/coachmark/coachmark-tagline/coachmark-tagline.scss.js +14 -0
  139. package/es/components/coachmark/coachmark-tagline/coachmark-tagline.scss.js.map +1 -0
  140. package/es/components/coachmark/coachmark-tagline/index.d.ts +8 -0
  141. package/es/components/coachmark/coachmark-tagline/index.d.ts.map +1 -0
  142. package/es/components/coachmark/coachmark-tagline/index.js +8 -0
  143. package/es/components/coachmark/coachmark.d.ts +97 -0
  144. package/es/components/coachmark/coachmark.d.ts.map +1 -0
  145. package/es/components/coachmark/coachmark.js +290 -0
  146. package/es/components/coachmark/coachmark.js.map +1 -0
  147. package/es/components/coachmark/coachmark.scss.js +14 -0
  148. package/es/components/coachmark/coachmark.scss.js.map +1 -0
  149. package/es/components/coachmark/index.d.ts +10 -0
  150. package/es/components/coachmark/index.d.ts.map +1 -0
  151. package/es/components/coachmark/index.js +10 -0
  152. package/es/components/code-snippet/code-snippet.scss.js +1 -1
  153. package/es/components/combo-box/combo-box.d.ts.map +1 -1
  154. package/es/components/combo-box/combo-box.js +5 -12
  155. package/es/components/combo-box/combo-box.js.map +1 -1
  156. package/es/components/combo-box/combo-box.scss.js +1 -1
  157. package/es/components/combo-box/combo-box.scss.js.map +1 -1
  158. package/es/components/combo-button/combo-button.scss.js +1 -1
  159. package/es/components/contained-list/contained-list.scss.js +1 -1
  160. package/es/components/content-switcher/content-switcher.scss.js +1 -1
  161. package/es/components/copy/index.d.ts +9 -0
  162. package/es/components/copy/index.d.ts.map +1 -0
  163. package/es/components/copy/index.js +9 -0
  164. package/es/components/copy-button/copy-button.scss.js +1 -1
  165. package/es/components/data-table/data-table.scss.js +1 -1
  166. package/es/components/date-picker/date-picker.scss.js +1 -1
  167. package/es/components/date-picker/date-picker.scss.js.map +1 -1
  168. package/es/components/date-picker/next/components/date-picker.scss.js +1 -1
  169. package/es/components/date-picker/next/components/date-picker.scss.js.map +1 -1
  170. package/es/components/dialog/dialog.scss.js +1 -1
  171. package/es/components/dropdown/dropdown.d.ts +2 -1
  172. package/es/components/dropdown/dropdown.d.ts.map +1 -1
  173. package/es/components/dropdown/dropdown.js +13 -15
  174. package/es/components/dropdown/dropdown.js.map +1 -1
  175. package/es/components/dropdown/dropdown.scss.js +1 -1
  176. package/es/components/dropdown/dropdown.scss.js.map +1 -1
  177. package/es/components/edit-in-place/defs.d.ts +30 -0
  178. package/es/components/edit-in-place/defs.d.ts.map +1 -0
  179. package/es/components/edit-in-place/defs.js +43 -0
  180. package/es/components/edit-in-place/defs.js.map +1 -0
  181. package/es/components/edit-in-place/edit-in-place-helpers.d.ts +47 -0
  182. package/es/components/edit-in-place/edit-in-place-helpers.d.ts.map +1 -0
  183. package/es/components/edit-in-place/edit-in-place-helpers.js +59 -0
  184. package/es/components/edit-in-place/edit-in-place-helpers.js.map +1 -0
  185. package/es/components/edit-in-place/edit-in-place.d.ts +214 -0
  186. package/es/components/edit-in-place/edit-in-place.d.ts.map +1 -0
  187. package/es/components/edit-in-place/edit-in-place.js +453 -0
  188. package/es/components/edit-in-place/edit-in-place.js.map +1 -0
  189. package/es/components/edit-in-place/edit-in-place.scss.js +14 -0
  190. package/es/components/edit-in-place/edit-in-place.scss.js.map +1 -0
  191. package/es/components/edit-in-place/index.d.ts +10 -0
  192. package/es/components/edit-in-place/index.d.ts.map +1 -0
  193. package/es/components/edit-in-place/index.js +20 -0
  194. package/es/components/edit-in-place/index.js.map +1 -0
  195. package/es/components/file-uploader/file-uploader.scss.js +1 -1
  196. package/es/components/fluid-combo-box/fluid-combo-box.scss.js +1 -1
  197. package/es/components/fluid-combo-box/fluid-combo-box.scss.js.map +1 -1
  198. package/es/components/fluid-date-picker/fluid-date-picker.d.ts +5 -1
  199. package/es/components/fluid-date-picker/fluid-date-picker.d.ts.map +1 -1
  200. package/es/components/fluid-date-picker/fluid-date-picker.js +27 -1
  201. package/es/components/fluid-date-picker/fluid-date-picker.js.map +1 -1
  202. package/es/components/fluid-date-picker/fluid-date-picker.scss.js +1 -1
  203. package/es/components/fluid-date-picker/fluid-date-picker.scss.js.map +1 -1
  204. package/es/components/fluid-dropdown/fluid-dropdown.scss.js +1 -1
  205. package/es/components/fluid-dropdown/fluid-dropdown.scss.js.map +1 -1
  206. package/es/components/fluid-form/fluid-form.scss.js +1 -1
  207. package/es/components/fluid-multi-select/fluid-multi-select.scss.js +1 -1
  208. package/es/components/fluid-multi-select/fluid-multi-select.scss.js.map +1 -1
  209. package/es/components/fluid-number-input/fluid-number-input.scss.js +1 -1
  210. package/es/components/fluid-number-input/fluid-number-input.scss.js.map +1 -1
  211. package/es/components/fluid-password-input/fluid-password-input.scss.js +1 -1
  212. package/es/components/fluid-search/fluid-search.scss.js +1 -1
  213. package/es/components/fluid-search/fluid-search.scss.js.map +1 -1
  214. package/es/components/fluid-select/fluid-select.scss.js +1 -1
  215. package/es/components/fluid-text-input/fluid-text-input.scss.js +1 -1
  216. package/es/components/fluid-textarea/fluid-textarea.scss.js +1 -1
  217. package/es/components/fluid-time-picker/fluid-time-picker.scss.js +1 -1
  218. package/es/components/form/form-item.scss.js +1 -1
  219. package/es/components/form/form.scss.js +1 -1
  220. package/es/components/form-group/form-group.scss.js +1 -1
  221. package/es/components/grid/column-hang.scss.js +1 -1
  222. package/es/components/grid/grid.scss.js +1 -1
  223. package/es/components/icon-button/icon-button.d.ts +1 -1
  224. package/es/components/icon-button/icon-button.js +1 -1
  225. package/es/components/icon-button/icon-button.js.map +1 -1
  226. package/es/components/inline-loading/inline-loading.scss.js +1 -1
  227. package/es/components/layer/layer.scss.js +1 -1
  228. package/es/components/layout/layout.scss.js +1 -1
  229. package/es/components/link/link.d.ts +2 -1
  230. package/es/components/link/link.d.ts.map +1 -1
  231. package/es/components/link/link.js +1 -1
  232. package/es/components/link/link.js.map +1 -1
  233. package/es/components/loading/loading.scss.js +1 -1
  234. package/es/components/menu/menu-item.d.ts.map +1 -1
  235. package/es/components/menu/menu-item.js +2 -6
  236. package/es/components/menu/menu-item.js.map +1 -1
  237. package/es/components/menu/menu-item.scss.js +1 -1
  238. package/es/components/menu/menu-item.scss.js.map +1 -1
  239. package/es/components/menu/menu.d.ts +10 -0
  240. package/es/components/menu/menu.d.ts.map +1 -1
  241. package/es/components/menu/menu.js +17 -11
  242. package/es/components/menu/menu.js.map +1 -1
  243. package/es/components/menu/menu.scss.js +1 -1
  244. package/es/components/menu/menu.scss.js.map +1 -1
  245. package/es/components/menu-button/menu-button.scss.js +1 -1
  246. package/es/components/modal/modal.scss.js +1 -1
  247. package/es/components/multi-select/multi-select-item.d.ts +1 -1
  248. package/es/components/multi-select/multi-select-item.d.ts.map +1 -1
  249. package/es/components/multi-select/multi-select-item.js +5 -1
  250. package/es/components/multi-select/multi-select-item.js.map +1 -1
  251. package/es/components/multi-select/multi-select.d.ts +2 -1
  252. package/es/components/multi-select/multi-select.d.ts.map +1 -1
  253. package/es/components/multi-select/multi-select.js +15 -14
  254. package/es/components/multi-select/multi-select.js.map +1 -1
  255. package/es/components/multi-select/multi-select.scss.js +1 -1
  256. package/es/components/multi-select/multi-select.scss.js.map +1 -1
  257. package/es/components/notification/actionable-notification-button.d.ts +1 -1
  258. package/es/components/notification/actionable-notification-button.d.ts.map +1 -1
  259. package/es/components/notification/actionable-notification-button.js +2 -2
  260. package/es/components/notification/actionable-notification-button.js.map +1 -1
  261. package/es/components/notification/actionable-notification.d.ts.map +1 -1
  262. package/es/components/notification/actionable-notification.js +4 -4
  263. package/es/components/notification/actionable-notification.js.map +1 -1
  264. package/es/components/notification/actionable-notification.scss.js +1 -1
  265. package/es/components/notification/inline-notification.scss.js +1 -1
  266. package/es/components/notification/toast-notification.scss.js +1 -1
  267. package/es/components/number-input/number-input.scss.js +1 -1
  268. package/es/components/number-input/number-input.scss.js.map +1 -1
  269. package/es/components/options-tile/index.d.ts +8 -0
  270. package/es/components/options-tile/index.d.ts.map +1 -0
  271. package/es/components/options-tile/index.js +8 -0
  272. package/es/components/options-tile/option-tile-helpers.d.ts +16 -0
  273. package/es/components/options-tile/option-tile-helpers.d.ts.map +1 -0
  274. package/es/components/options-tile/option-tile-helpers.js +163 -0
  275. package/es/components/options-tile/option-tile-helpers.js.map +1 -0
  276. package/es/components/options-tile/options-tile.d.ts +91 -0
  277. package/es/components/options-tile/options-tile.d.ts.map +1 -0
  278. package/es/components/options-tile/options-tile.js +208 -0
  279. package/es/components/options-tile/options-tile.js.map +1 -0
  280. package/es/components/options-tile/options-tile.scss.js +14 -0
  281. package/es/components/options-tile/options-tile.scss.js.map +1 -0
  282. package/es/components/overflow-menu/overflow-menu.js +1 -1
  283. package/es/components/overflow-menu/overflow-menu.scss.js +1 -1
  284. package/es/components/page-header/index.d.ts +1 -0
  285. package/es/components/page-header/index.d.ts.map +1 -1
  286. package/es/components/page-header/index.js +1 -0
  287. package/es/components/page-header/page-header-tabs.d.ts +1 -1
  288. package/es/components/page-header/page-header-tabs.d.ts.map +1 -1
  289. package/es/components/page-header/page-header-tabs.js +1 -2
  290. package/es/components/page-header/page-header-tabs.js.map +1 -1
  291. package/es/components/page-header/page-header.d.ts +1 -1
  292. package/es/components/page-header/page-header.d.ts.map +1 -1
  293. package/es/components/page-header/page-header.js +1 -2
  294. package/es/components/page-header/page-header.js.map +1 -1
  295. package/es/components/page-header/page-header.scss.js +1 -1
  296. package/es/components/pagination/pagination.scss.js +1 -1
  297. package/es/components/pagination-nav/pagination-nav.scss.js +1 -1
  298. package/es/components/password-input/password-input.scss.js +1 -1
  299. package/es/components/popover/popover.scss.js +1 -1
  300. package/es/components/progress-bar/progress-bar.scss.js +1 -1
  301. package/es/components/progress-indicator/progress-indicator.scss.js +1 -1
  302. package/es/components/radio-button/radio-button.scss.js +1 -1
  303. package/es/components/resizer/resizer-handle-pivot.scss.js +1 -1
  304. package/es/components/search/search.d.ts.map +1 -1
  305. package/es/components/search/search.js +2 -0
  306. package/es/components/search/search.js.map +1 -1
  307. package/es/components/search/search.scss.js +1 -1
  308. package/es/components/search/search.scss.js.map +1 -1
  309. package/es/components/select/select.scss.js +1 -1
  310. package/es/components/select/select.scss.js.map +1 -1
  311. package/es/components/side-panel/side-panel.js +2 -2
  312. package/es/components/side-panel/side-panel.js.map +1 -1
  313. package/es/components/side-panel/side-panel.scss.js +1 -1
  314. package/es/components/skeleton-icon/skeleton-icon.scss.js +1 -1
  315. package/es/components/skeleton-placeholder/skeleton-placeholder.scss.js +1 -1
  316. package/es/components/skeleton-text/skeleton-text.scss.js +1 -1
  317. package/es/components/skip-to-content/skip-to-content.scss.js +1 -1
  318. package/es/components/slider/slider.scss.js +1 -1
  319. package/es/components/slider/slider.scss.js.map +1 -1
  320. package/es/components/slug/index.d.ts +1 -0
  321. package/es/components/slug/index.d.ts.map +1 -1
  322. package/es/components/slug/index.js +1 -0
  323. package/es/components/slug/slug.scss.js +1 -1
  324. package/es/components/structured-list/structured-list.scss.js +1 -1
  325. package/es/components/tabs/tabs.scss.js +1 -1
  326. package/es/components/tabs/tabs.scss.js.map +1 -1
  327. package/es/components/tag/dismissible-tag.d.ts +1 -1
  328. package/es/components/tag/dismissible-tag.d.ts.map +1 -1
  329. package/es/components/tag/dismissible-tag.js +24 -15
  330. package/es/components/tag/dismissible-tag.js.map +1 -1
  331. package/es/components/tag/tag.d.ts.map +1 -1
  332. package/es/components/tag/tag.js +1 -1
  333. package/es/components/tag/tag.js.map +1 -1
  334. package/es/components/tag/tag.scss.js +1 -1
  335. package/es/components/tag/tag.scss.js.map +1 -1
  336. package/es/components/text-input/text-input.scss.js +1 -1
  337. package/es/components/text-input/text-input.scss.js.map +1 -1
  338. package/es/components/textarea/textarea.scss.js +1 -1
  339. package/es/components/tile/clickable-tile.d.ts +2 -1
  340. package/es/components/tile/clickable-tile.d.ts.map +1 -1
  341. package/es/components/tile/clickable-tile.js +1 -1
  342. package/es/components/tile/clickable-tile.js.map +1 -1
  343. package/es/components/tile/tile.scss.js +1 -1
  344. package/es/components/time-picker/time-picker.scss.js +1 -1
  345. package/es/components/toggle-tip/toggletip.scss.js +1 -1
  346. package/es/components/tooltip/tooltip.scss.js +1 -1
  347. package/es/components/tree-view/tree-view.scss.js +1 -1
  348. package/es/components/ui-shell/header.scss.js +1 -1
  349. package/es/components/ui-shell/side-nav.scss.js +1 -1
  350. package/es/components/user-avatar/index.d.ts +8 -0
  351. package/es/components/user-avatar/index.d.ts.map +1 -0
  352. package/es/components/user-avatar/index.js +8 -0
  353. package/es/components/user-avatar/user-avatar.d.ts +84 -0
  354. package/es/components/user-avatar/user-avatar.d.ts.map +1 -0
  355. package/es/components/user-avatar/user-avatar.js +151 -0
  356. package/es/components/user-avatar/user-avatar.js.map +1 -0
  357. package/es/components/user-avatar/user-avatar.scss.js +14 -0
  358. package/es/components/user-avatar/user-avatar.scss.js.map +1 -0
  359. package/es/globals/controllers/floating-controller.d.ts.map +1 -1
  360. package/es/globals/controllers/floating-controller.js.map +1 -1
  361. package/es/globals/decorators/carbon-element.d.ts +8 -0
  362. package/es/globals/decorators/carbon-element.d.ts.map +1 -1
  363. package/es/globals/decorators/carbon-element.js +8 -0
  364. package/es/globals/decorators/carbon-element.js.map +1 -1
  365. package/es/globals/internal/collection-helpers.d.ts +5 -5
  366. package/es/globals/internal/collection-helpers.d.ts.map +1 -1
  367. package/es/globals/internal/collection-helpers.js +1 -1
  368. package/es/globals/internal/collection-helpers.js.map +1 -1
  369. package/es/globals/internal/getSupportedLocale.d.ts +12 -0
  370. package/es/globals/internal/getSupportedLocale.d.ts.map +1 -0
  371. package/es/globals/internal/getSupportedLocale.js +29 -0
  372. package/es/globals/internal/getSupportedLocale.js.map +1 -0
  373. package/es/globals/mixins/on.d.ts +2 -2
  374. package/es/globals/mixins/on.d.ts.map +1 -1
  375. package/es/globals/mixins/on.js +4 -4
  376. package/es/globals/mixins/on.js.map +1 -1
  377. package/es/globals/register.d.ts +89 -0
  378. package/es/globals/register.d.ts.map +1 -0
  379. package/es/globals/register.js +56 -0
  380. package/es/globals/register.js.map +1 -0
  381. package/es/globals/settings.d.ts +1 -1
  382. package/es/globals/settings.d.ts.map +1 -1
  383. package/es/globals/settings.js +1 -0
  384. package/es/globals/settings.js.map +1 -1
  385. package/es/index.d.ts +10 -0
  386. package/es/index.d.ts.map +1 -1
  387. package/es/index.js +13 -3
  388. package/es-custom/components/accordion/accordion.scss.js +1 -1
  389. package/es-custom/components/action-set/action-set.scss.js +1 -1
  390. package/es-custom/components/ai-label/ai-label-action-button.d.ts +1 -1
  391. package/es-custom/components/ai-label/ai-label-action-button.d.ts.map +1 -1
  392. package/es-custom/components/ai-label/ai-label-action-button.js +4 -3
  393. package/es-custom/components/ai-label/ai-label-action-button.js.map +1 -1
  394. package/es-custom/components/ai-label/ai-label.scss.js +1 -1
  395. package/es-custom/components/ai-label/ai-label.scss.js.map +1 -1
  396. package/es-custom/components/ai-label/index.d.ts +1 -0
  397. package/es-custom/components/ai-label/index.d.ts.map +1 -1
  398. package/es-custom/components/ai-label/index.js +1 -0
  399. package/es-custom/components/ai-skeleton/ai-skeleton.scss.js +1 -1
  400. package/es-custom/components/big-number/big-number-skeleton.d.ts +21 -0
  401. package/es-custom/components/big-number/big-number-skeleton.d.ts.map +1 -0
  402. package/es-custom/components/big-number/big-number-skeleton.js +62 -0
  403. package/es-custom/components/big-number/big-number-skeleton.js.map +1 -0
  404. package/es-custom/components/big-number/big-number-skeleton.scss.js +14 -0
  405. package/es-custom/components/big-number/big-number-skeleton.scss.js.map +1 -0
  406. package/es-custom/components/big-number/big-number.d.ts +35 -0
  407. package/es-custom/components/big-number/big-number.d.ts.map +1 -0
  408. package/es-custom/components/big-number/big-number.js +171 -0
  409. package/es-custom/components/big-number/big-number.js.map +1 -0
  410. package/es-custom/components/big-number/big-number.scss.js +14 -0
  411. package/es-custom/components/big-number/big-number.scss.js.map +1 -0
  412. package/es-custom/components/big-number/constants.d.ts +20 -0
  413. package/es-custom/components/big-number/constants.d.ts.map +1 -0
  414. package/es-custom/components/big-number/constants.js +32 -0
  415. package/es-custom/components/big-number/constants.js.map +1 -0
  416. package/es-custom/components/big-number/index.d.ts +8 -0
  417. package/es-custom/components/big-number/index.d.ts.map +1 -0
  418. package/es-custom/components/big-number/index.js +8 -0
  419. package/es-custom/components/breadcrumb/breadcrumb-item.d.ts.map +1 -1
  420. package/es-custom/components/breadcrumb/breadcrumb-item.js +2 -1
  421. package/es-custom/components/breadcrumb/breadcrumb-item.js.map +1 -1
  422. package/es-custom/components/breadcrumb/breadcrumb.d.ts +1 -1
  423. package/es-custom/components/breadcrumb/breadcrumb.d.ts.map +1 -1
  424. package/es-custom/components/breadcrumb/breadcrumb.js +2 -2
  425. package/es-custom/components/breadcrumb/breadcrumb.js.map +1 -1
  426. package/es-custom/components/breadcrumb/breadcrumb.scss.js +1 -1
  427. package/es-custom/components/button/button.d.ts.map +1 -1
  428. package/es-custom/components/button/button.js +1 -1
  429. package/es-custom/components/button/button.js.map +1 -1
  430. package/es-custom/components/button/button.scss.js +1 -1
  431. package/es-custom/components/card/card-action.d.ts +27 -0
  432. package/es-custom/components/card/card-action.d.ts.map +1 -0
  433. package/es-custom/components/card/card-action.js +52 -0
  434. package/es-custom/components/card/card-action.js.map +1 -0
  435. package/es-custom/components/card/card-actions.d.ts +36 -0
  436. package/es-custom/components/card/card-actions.d.ts.map +1 -0
  437. package/es-custom/components/card/card-actions.js +171 -0
  438. package/es-custom/components/card/card-actions.js.map +1 -0
  439. package/es-custom/components/card/card-body.d.ts +23 -0
  440. package/es-custom/components/card/card-body.d.ts.map +1 -0
  441. package/es-custom/components/card/card-body.js +54 -0
  442. package/es-custom/components/card/card-body.js.map +1 -0
  443. package/es-custom/components/card/card-context.d.ts +20 -0
  444. package/es-custom/components/card/card-context.d.ts.map +1 -0
  445. package/es-custom/components/card/card-context.js +29 -0
  446. package/es-custom/components/card/card-context.js.map +1 -0
  447. package/es-custom/components/card/card-footer.d.ts +34 -0
  448. package/es-custom/components/card/card-footer.d.ts.map +1 -0
  449. package/es-custom/components/card/card-footer.js +75 -0
  450. package/es-custom/components/card/card-footer.js.map +1 -0
  451. package/es-custom/components/card/card-header-media.d.ts +19 -0
  452. package/es-custom/components/card/card-header-media.d.ts.map +1 -0
  453. package/es-custom/components/card/card-header-media.js +39 -0
  454. package/es-custom/components/card/card-header-media.js.map +1 -0
  455. package/es-custom/components/card/card-header.d.ts +23 -0
  456. package/es-custom/components/card/card-header.d.ts.map +1 -0
  457. package/es-custom/components/card/card-header.js +70 -0
  458. package/es-custom/components/card/card-header.js.map +1 -0
  459. package/es-custom/components/card/card-media.d.ts +37 -0
  460. package/es-custom/components/card/card-media.d.ts.map +1 -0
  461. package/es-custom/components/card/card-media.js +79 -0
  462. package/es-custom/components/card/card-media.js.map +1 -0
  463. package/es-custom/components/card/card-title-media.d.ts +19 -0
  464. package/es-custom/components/card/card-title-media.d.ts.map +1 -0
  465. package/es-custom/components/card/card-title-media.js +39 -0
  466. package/es-custom/components/card/card-title-media.js.map +1 -0
  467. package/es-custom/components/card/card-title.d.ts +52 -0
  468. package/es-custom/components/card/card-title.d.ts.map +1 -0
  469. package/es-custom/components/card/card-title.js +144 -0
  470. package/es-custom/components/card/card-title.js.map +1 -0
  471. package/es-custom/components/card/card.d.ts +69 -0
  472. package/es-custom/components/card/card.d.ts.map +1 -0
  473. package/es-custom/components/card/card.js +185 -0
  474. package/es-custom/components/card/card.js.map +1 -0
  475. package/es-custom/components/card/card.scss.js +14 -0
  476. package/es-custom/components/card/card.scss.js.map +1 -0
  477. package/es-custom/components/card/defs.d.ts +33 -0
  478. package/es-custom/components/card/defs.d.ts.map +1 -0
  479. package/es-custom/components/card/defs.js +46 -0
  480. package/es-custom/components/card/defs.js.map +1 -0
  481. package/es-custom/components/card/index.d.ts +17 -0
  482. package/es-custom/components/card/index.d.ts.map +1 -0
  483. package/es-custom/components/card/index.js +17 -0
  484. package/es-custom/components/checkbox/checkbox.scss.js +1 -1
  485. package/es-custom/components/coachmark/coachmark-beacon/coachmark-beacon.d.ts +67 -0
  486. package/es-custom/components/coachmark/coachmark-beacon/coachmark-beacon.d.ts.map +1 -0
  487. package/es-custom/components/coachmark/coachmark-beacon/coachmark-beacon.js +120 -0
  488. package/es-custom/components/coachmark/coachmark-beacon/coachmark-beacon.js.map +1 -0
  489. package/es-custom/components/coachmark/coachmark-beacon/coachmark-beacon.scss.js +14 -0
  490. package/es-custom/components/coachmark/coachmark-beacon/coachmark-beacon.scss.js.map +1 -0
  491. package/es-custom/components/coachmark/coachmark-beacon/defs.d.ts +13 -0
  492. package/es-custom/components/coachmark/coachmark-beacon/defs.d.ts.map +1 -0
  493. package/es-custom/components/coachmark/coachmark-beacon/defs.js +25 -0
  494. package/es-custom/components/coachmark/coachmark-beacon/defs.js.map +1 -0
  495. package/es-custom/components/coachmark/coachmark-beacon/index.d.ts +8 -0
  496. package/es-custom/components/coachmark/coachmark-beacon/index.d.ts.map +1 -0
  497. package/es-custom/components/coachmark/coachmark-beacon/index.js +8 -0
  498. package/es-custom/components/coachmark/coachmark-body.d.ts +31 -0
  499. package/es-custom/components/coachmark/coachmark-body.d.ts.map +1 -0
  500. package/es-custom/components/coachmark/coachmark-body.js +39 -0
  501. package/es-custom/components/coachmark/coachmark-body.js.map +1 -0
  502. package/es-custom/components/coachmark/coachmark-body.scss.js +14 -0
  503. package/es-custom/components/coachmark/coachmark-body.scss.js.map +1 -0
  504. package/es-custom/components/coachmark/coachmark-context.d.ts +12 -0
  505. package/es-custom/components/coachmark/coachmark-context.d.ts.map +1 -0
  506. package/es-custom/components/coachmark/coachmark-context.js +39 -0
  507. package/es-custom/components/coachmark/coachmark-context.js.map +1 -0
  508. package/es-custom/components/coachmark/coachmark-header.d.ts +41 -0
  509. package/es-custom/components/coachmark/coachmark-header.d.ts.map +1 -0
  510. package/es-custom/components/coachmark/coachmark-header.js +95 -0
  511. package/es-custom/components/coachmark/coachmark-header.js.map +1 -0
  512. package/es-custom/components/coachmark/coachmark-header.scss.js +14 -0
  513. package/es-custom/components/coachmark/coachmark-header.scss.js.map +1 -0
  514. package/es-custom/components/coachmark/coachmark-helpers.d.ts +10 -0
  515. package/es-custom/components/coachmark/coachmark-helpers.d.ts.map +1 -0
  516. package/es-custom/components/coachmark/coachmark-helpers.js +33 -0
  517. package/es-custom/components/coachmark/coachmark-helpers.js.map +1 -0
  518. package/es-custom/components/coachmark/coachmark-tagline/coachmark-tagline.d.ts +72 -0
  519. package/es-custom/components/coachmark/coachmark-tagline/coachmark-tagline.d.ts.map +1 -0
  520. package/es-custom/components/coachmark/coachmark-tagline/coachmark-tagline.js +130 -0
  521. package/es-custom/components/coachmark/coachmark-tagline/coachmark-tagline.js.map +1 -0
  522. package/es-custom/components/coachmark/coachmark-tagline/coachmark-tagline.scss.js +14 -0
  523. package/es-custom/components/coachmark/coachmark-tagline/coachmark-tagline.scss.js.map +1 -0
  524. package/es-custom/components/coachmark/coachmark-tagline/index.d.ts +8 -0
  525. package/es-custom/components/coachmark/coachmark-tagline/index.d.ts.map +1 -0
  526. package/es-custom/components/coachmark/coachmark-tagline/index.js +8 -0
  527. package/es-custom/components/coachmark/coachmark.d.ts +97 -0
  528. package/es-custom/components/coachmark/coachmark.d.ts.map +1 -0
  529. package/es-custom/components/coachmark/coachmark.js +290 -0
  530. package/es-custom/components/coachmark/coachmark.js.map +1 -0
  531. package/es-custom/components/coachmark/coachmark.scss.js +14 -0
  532. package/es-custom/components/coachmark/coachmark.scss.js.map +1 -0
  533. package/es-custom/components/coachmark/index.d.ts +10 -0
  534. package/es-custom/components/coachmark/index.d.ts.map +1 -0
  535. package/es-custom/components/coachmark/index.js +10 -0
  536. package/es-custom/components/code-snippet/code-snippet.scss.js +1 -1
  537. package/es-custom/components/combo-box/combo-box.d.ts.map +1 -1
  538. package/es-custom/components/combo-box/combo-box.js +5 -12
  539. package/es-custom/components/combo-box/combo-box.js.map +1 -1
  540. package/es-custom/components/combo-box/combo-box.scss.js +1 -1
  541. package/es-custom/components/combo-box/combo-box.scss.js.map +1 -1
  542. package/es-custom/components/combo-button/combo-button.scss.js +1 -1
  543. package/es-custom/components/contained-list/contained-list.scss.js +1 -1
  544. package/es-custom/components/content-switcher/content-switcher.scss.js +1 -1
  545. package/es-custom/components/copy/index.d.ts +9 -0
  546. package/es-custom/components/copy/index.d.ts.map +1 -0
  547. package/es-custom/components/copy/index.js +9 -0
  548. package/es-custom/components/copy-button/copy-button.scss.js +1 -1
  549. package/es-custom/components/data-table/data-table.scss.js +1 -1
  550. package/es-custom/components/date-picker/date-picker.scss.js +1 -1
  551. package/es-custom/components/date-picker/date-picker.scss.js.map +1 -1
  552. package/es-custom/components/date-picker/next/components/date-picker.scss.js +1 -1
  553. package/es-custom/components/date-picker/next/components/date-picker.scss.js.map +1 -1
  554. package/es-custom/components/dialog/dialog.scss.js +1 -1
  555. package/es-custom/components/dropdown/dropdown.d.ts +2 -1
  556. package/es-custom/components/dropdown/dropdown.d.ts.map +1 -1
  557. package/es-custom/components/dropdown/dropdown.js +13 -15
  558. package/es-custom/components/dropdown/dropdown.js.map +1 -1
  559. package/es-custom/components/dropdown/dropdown.scss.js +1 -1
  560. package/es-custom/components/dropdown/dropdown.scss.js.map +1 -1
  561. package/es-custom/components/edit-in-place/defs.d.ts +30 -0
  562. package/es-custom/components/edit-in-place/defs.d.ts.map +1 -0
  563. package/es-custom/components/edit-in-place/defs.js +43 -0
  564. package/es-custom/components/edit-in-place/defs.js.map +1 -0
  565. package/es-custom/components/edit-in-place/edit-in-place-helpers.d.ts +47 -0
  566. package/es-custom/components/edit-in-place/edit-in-place-helpers.d.ts.map +1 -0
  567. package/es-custom/components/edit-in-place/edit-in-place-helpers.js +59 -0
  568. package/es-custom/components/edit-in-place/edit-in-place-helpers.js.map +1 -0
  569. package/es-custom/components/edit-in-place/edit-in-place.d.ts +214 -0
  570. package/es-custom/components/edit-in-place/edit-in-place.d.ts.map +1 -0
  571. package/es-custom/components/edit-in-place/edit-in-place.js +453 -0
  572. package/es-custom/components/edit-in-place/edit-in-place.js.map +1 -0
  573. package/es-custom/components/edit-in-place/edit-in-place.scss.js +14 -0
  574. package/es-custom/components/edit-in-place/edit-in-place.scss.js.map +1 -0
  575. package/es-custom/components/edit-in-place/index.d.ts +10 -0
  576. package/es-custom/components/edit-in-place/index.d.ts.map +1 -0
  577. package/es-custom/components/edit-in-place/index.js +20 -0
  578. package/es-custom/components/edit-in-place/index.js.map +1 -0
  579. package/es-custom/components/file-uploader/file-uploader.scss.js +1 -1
  580. package/es-custom/components/fluid-combo-box/fluid-combo-box.scss.js +1 -1
  581. package/es-custom/components/fluid-combo-box/fluid-combo-box.scss.js.map +1 -1
  582. package/es-custom/components/fluid-date-picker/fluid-date-picker.d.ts +5 -1
  583. package/es-custom/components/fluid-date-picker/fluid-date-picker.d.ts.map +1 -1
  584. package/es-custom/components/fluid-date-picker/fluid-date-picker.js +27 -1
  585. package/es-custom/components/fluid-date-picker/fluid-date-picker.js.map +1 -1
  586. package/es-custom/components/fluid-date-picker/fluid-date-picker.scss.js +1 -1
  587. package/es-custom/components/fluid-date-picker/fluid-date-picker.scss.js.map +1 -1
  588. package/es-custom/components/fluid-dropdown/fluid-dropdown.scss.js +1 -1
  589. package/es-custom/components/fluid-dropdown/fluid-dropdown.scss.js.map +1 -1
  590. package/es-custom/components/fluid-form/fluid-form.scss.js +1 -1
  591. package/es-custom/components/fluid-multi-select/fluid-multi-select.scss.js +1 -1
  592. package/es-custom/components/fluid-multi-select/fluid-multi-select.scss.js.map +1 -1
  593. package/es-custom/components/fluid-number-input/fluid-number-input.scss.js +1 -1
  594. package/es-custom/components/fluid-number-input/fluid-number-input.scss.js.map +1 -1
  595. package/es-custom/components/fluid-password-input/fluid-password-input.scss.js +1 -1
  596. package/es-custom/components/fluid-search/fluid-search.scss.js +1 -1
  597. package/es-custom/components/fluid-search/fluid-search.scss.js.map +1 -1
  598. package/es-custom/components/fluid-select/fluid-select.scss.js +1 -1
  599. package/es-custom/components/fluid-text-input/fluid-text-input.scss.js +1 -1
  600. package/es-custom/components/fluid-textarea/fluid-textarea.scss.js +1 -1
  601. package/es-custom/components/fluid-time-picker/fluid-time-picker.scss.js +1 -1
  602. package/es-custom/components/form/form-item.scss.js +1 -1
  603. package/es-custom/components/form/form.scss.js +1 -1
  604. package/es-custom/components/form-group/form-group.scss.js +1 -1
  605. package/es-custom/components/grid/column-hang.scss.js +1 -1
  606. package/es-custom/components/grid/grid.scss.js +1 -1
  607. package/es-custom/components/icon-button/icon-button.d.ts +1 -1
  608. package/es-custom/components/icon-button/icon-button.js +1 -1
  609. package/es-custom/components/icon-button/icon-button.js.map +1 -1
  610. package/es-custom/components/inline-loading/inline-loading.scss.js +1 -1
  611. package/es-custom/components/layer/layer.scss.js +1 -1
  612. package/es-custom/components/layout/layout.scss.js +1 -1
  613. package/es-custom/components/link/link.d.ts +2 -1
  614. package/es-custom/components/link/link.d.ts.map +1 -1
  615. package/es-custom/components/link/link.js +1 -1
  616. package/es-custom/components/link/link.js.map +1 -1
  617. package/es-custom/components/loading/loading.scss.js +1 -1
  618. package/es-custom/components/menu/menu-item.d.ts.map +1 -1
  619. package/es-custom/components/menu/menu-item.js +2 -6
  620. package/es-custom/components/menu/menu-item.js.map +1 -1
  621. package/es-custom/components/menu/menu-item.scss.js +1 -1
  622. package/es-custom/components/menu/menu-item.scss.js.map +1 -1
  623. package/es-custom/components/menu/menu.d.ts +10 -0
  624. package/es-custom/components/menu/menu.d.ts.map +1 -1
  625. package/es-custom/components/menu/menu.js +17 -11
  626. package/es-custom/components/menu/menu.js.map +1 -1
  627. package/es-custom/components/menu/menu.scss.js +1 -1
  628. package/es-custom/components/menu/menu.scss.js.map +1 -1
  629. package/es-custom/components/menu-button/menu-button.scss.js +1 -1
  630. package/es-custom/components/modal/modal.scss.js +1 -1
  631. package/es-custom/components/multi-select/multi-select-item.d.ts +1 -1
  632. package/es-custom/components/multi-select/multi-select-item.d.ts.map +1 -1
  633. package/es-custom/components/multi-select/multi-select-item.js +5 -1
  634. package/es-custom/components/multi-select/multi-select-item.js.map +1 -1
  635. package/es-custom/components/multi-select/multi-select.d.ts +2 -1
  636. package/es-custom/components/multi-select/multi-select.d.ts.map +1 -1
  637. package/es-custom/components/multi-select/multi-select.js +15 -14
  638. package/es-custom/components/multi-select/multi-select.js.map +1 -1
  639. package/es-custom/components/multi-select/multi-select.scss.js +1 -1
  640. package/es-custom/components/multi-select/multi-select.scss.js.map +1 -1
  641. package/es-custom/components/notification/actionable-notification-button.d.ts +1 -1
  642. package/es-custom/components/notification/actionable-notification-button.d.ts.map +1 -1
  643. package/es-custom/components/notification/actionable-notification-button.js +2 -2
  644. package/es-custom/components/notification/actionable-notification-button.js.map +1 -1
  645. package/es-custom/components/notification/actionable-notification.d.ts.map +1 -1
  646. package/es-custom/components/notification/actionable-notification.js +4 -4
  647. package/es-custom/components/notification/actionable-notification.js.map +1 -1
  648. package/es-custom/components/notification/actionable-notification.scss.js +1 -1
  649. package/es-custom/components/notification/inline-notification.scss.js +1 -1
  650. package/es-custom/components/notification/toast-notification.scss.js +1 -1
  651. package/es-custom/components/number-input/number-input.scss.js +1 -1
  652. package/es-custom/components/number-input/number-input.scss.js.map +1 -1
  653. package/es-custom/components/options-tile/index.d.ts +8 -0
  654. package/es-custom/components/options-tile/index.d.ts.map +1 -0
  655. package/es-custom/components/options-tile/index.js +8 -0
  656. package/es-custom/components/options-tile/option-tile-helpers.d.ts +16 -0
  657. package/es-custom/components/options-tile/option-tile-helpers.d.ts.map +1 -0
  658. package/es-custom/components/options-tile/option-tile-helpers.js +163 -0
  659. package/es-custom/components/options-tile/option-tile-helpers.js.map +1 -0
  660. package/es-custom/components/options-tile/options-tile.d.ts +91 -0
  661. package/es-custom/components/options-tile/options-tile.d.ts.map +1 -0
  662. package/es-custom/components/options-tile/options-tile.js +208 -0
  663. package/es-custom/components/options-tile/options-tile.js.map +1 -0
  664. package/es-custom/components/options-tile/options-tile.scss.js +14 -0
  665. package/es-custom/components/options-tile/options-tile.scss.js.map +1 -0
  666. package/es-custom/components/overflow-menu/overflow-menu.js +1 -1
  667. package/es-custom/components/overflow-menu/overflow-menu.scss.js +1 -1
  668. package/es-custom/components/page-header/index.d.ts +1 -0
  669. package/es-custom/components/page-header/index.d.ts.map +1 -1
  670. package/es-custom/components/page-header/index.js +1 -0
  671. package/es-custom/components/page-header/page-header-tabs.d.ts +1 -1
  672. package/es-custom/components/page-header/page-header-tabs.d.ts.map +1 -1
  673. package/es-custom/components/page-header/page-header-tabs.js +1 -2
  674. package/es-custom/components/page-header/page-header-tabs.js.map +1 -1
  675. package/es-custom/components/page-header/page-header.d.ts +1 -1
  676. package/es-custom/components/page-header/page-header.d.ts.map +1 -1
  677. package/es-custom/components/page-header/page-header.js +1 -2
  678. package/es-custom/components/page-header/page-header.js.map +1 -1
  679. package/es-custom/components/page-header/page-header.scss.js +1 -1
  680. package/es-custom/components/pagination/pagination.scss.js +1 -1
  681. package/es-custom/components/pagination-nav/pagination-nav.scss.js +1 -1
  682. package/es-custom/components/password-input/password-input.scss.js +1 -1
  683. package/es-custom/components/popover/popover.scss.js +1 -1
  684. package/es-custom/components/progress-bar/progress-bar.scss.js +1 -1
  685. package/es-custom/components/progress-indicator/progress-indicator.scss.js +1 -1
  686. package/es-custom/components/radio-button/radio-button.scss.js +1 -1
  687. package/es-custom/components/resizer/resizer-handle-pivot.scss.js +1 -1
  688. package/es-custom/components/search/search.d.ts.map +1 -1
  689. package/es-custom/components/search/search.js +2 -0
  690. package/es-custom/components/search/search.js.map +1 -1
  691. package/es-custom/components/search/search.scss.js +1 -1
  692. package/es-custom/components/search/search.scss.js.map +1 -1
  693. package/es-custom/components/select/select.scss.js +1 -1
  694. package/es-custom/components/select/select.scss.js.map +1 -1
  695. package/es-custom/components/side-panel/side-panel.js +2 -2
  696. package/es-custom/components/side-panel/side-panel.js.map +1 -1
  697. package/es-custom/components/side-panel/side-panel.scss.js +1 -1
  698. package/es-custom/components/skeleton-icon/skeleton-icon.scss.js +1 -1
  699. package/es-custom/components/skeleton-placeholder/skeleton-placeholder.scss.js +1 -1
  700. package/es-custom/components/skeleton-text/skeleton-text.scss.js +1 -1
  701. package/es-custom/components/skip-to-content/skip-to-content.scss.js +1 -1
  702. package/es-custom/components/slider/slider.scss.js +1 -1
  703. package/es-custom/components/slider/slider.scss.js.map +1 -1
  704. package/es-custom/components/slug/index.d.ts +1 -0
  705. package/es-custom/components/slug/index.d.ts.map +1 -1
  706. package/es-custom/components/slug/index.js +1 -0
  707. package/es-custom/components/slug/slug.scss.js +1 -1
  708. package/es-custom/components/structured-list/structured-list.scss.js +1 -1
  709. package/es-custom/components/tabs/tabs.scss.js +1 -1
  710. package/es-custom/components/tabs/tabs.scss.js.map +1 -1
  711. package/es-custom/components/tag/dismissible-tag.d.ts +1 -1
  712. package/es-custom/components/tag/dismissible-tag.d.ts.map +1 -1
  713. package/es-custom/components/tag/dismissible-tag.js +24 -15
  714. package/es-custom/components/tag/dismissible-tag.js.map +1 -1
  715. package/es-custom/components/tag/tag.d.ts.map +1 -1
  716. package/es-custom/components/tag/tag.js +1 -1
  717. package/es-custom/components/tag/tag.js.map +1 -1
  718. package/es-custom/components/tag/tag.scss.js +1 -1
  719. package/es-custom/components/tag/tag.scss.js.map +1 -1
  720. package/es-custom/components/text-input/text-input.scss.js +1 -1
  721. package/es-custom/components/text-input/text-input.scss.js.map +1 -1
  722. package/es-custom/components/textarea/textarea.scss.js +1 -1
  723. package/es-custom/components/tile/clickable-tile.d.ts +2 -1
  724. package/es-custom/components/tile/clickable-tile.d.ts.map +1 -1
  725. package/es-custom/components/tile/clickable-tile.js +1 -1
  726. package/es-custom/components/tile/clickable-tile.js.map +1 -1
  727. package/es-custom/components/tile/tile.scss.js +1 -1
  728. package/es-custom/components/time-picker/time-picker.scss.js +1 -1
  729. package/es-custom/components/toggle-tip/toggletip.scss.js +1 -1
  730. package/es-custom/components/tooltip/tooltip.scss.js +1 -1
  731. package/es-custom/components/tree-view/tree-view.scss.js +1 -1
  732. package/es-custom/components/ui-shell/header.scss.js +1 -1
  733. package/es-custom/components/ui-shell/side-nav.scss.js +1 -1
  734. package/es-custom/components/user-avatar/index.d.ts +8 -0
  735. package/es-custom/components/user-avatar/index.d.ts.map +1 -0
  736. package/es-custom/components/user-avatar/index.js +8 -0
  737. package/es-custom/components/user-avatar/user-avatar.d.ts +84 -0
  738. package/es-custom/components/user-avatar/user-avatar.d.ts.map +1 -0
  739. package/es-custom/components/user-avatar/user-avatar.js +151 -0
  740. package/es-custom/components/user-avatar/user-avatar.js.map +1 -0
  741. package/es-custom/components/user-avatar/user-avatar.scss.js +14 -0
  742. package/es-custom/components/user-avatar/user-avatar.scss.js.map +1 -0
  743. package/es-custom/globals/controllers/floating-controller.d.ts.map +1 -1
  744. package/es-custom/globals/controllers/floating-controller.js.map +1 -1
  745. package/es-custom/globals/decorators/carbon-element.d.ts +8 -0
  746. package/es-custom/globals/decorators/carbon-element.d.ts.map +1 -1
  747. package/es-custom/globals/decorators/carbon-element.js +18 -1
  748. package/es-custom/globals/decorators/carbon-element.js.map +1 -1
  749. package/es-custom/globals/internal/collection-helpers.d.ts +5 -5
  750. package/es-custom/globals/internal/collection-helpers.d.ts.map +1 -1
  751. package/es-custom/globals/internal/collection-helpers.js +1 -1
  752. package/es-custom/globals/internal/collection-helpers.js.map +1 -1
  753. package/es-custom/globals/internal/getSupportedLocale.d.ts +12 -0
  754. package/es-custom/globals/internal/getSupportedLocale.d.ts.map +1 -0
  755. package/es-custom/globals/internal/getSupportedLocale.js +29 -0
  756. package/es-custom/globals/internal/getSupportedLocale.js.map +1 -0
  757. package/es-custom/globals/mixins/on.d.ts +2 -2
  758. package/es-custom/globals/mixins/on.d.ts.map +1 -1
  759. package/es-custom/globals/mixins/on.js +4 -4
  760. package/es-custom/globals/mixins/on.js.map +1 -1
  761. package/es-custom/globals/register.d.ts +89 -0
  762. package/es-custom/globals/register.d.ts.map +1 -0
  763. package/es-custom/globals/register.js +56 -0
  764. package/es-custom/globals/register.js.map +1 -0
  765. package/es-custom/globals/settings.d.ts +1 -1
  766. package/es-custom/globals/settings.d.ts.map +1 -1
  767. package/es-custom/globals/settings.js +1 -0
  768. package/es-custom/globals/settings.js.map +1 -1
  769. package/es-custom/index.d.ts +10 -0
  770. package/es-custom/index.d.ts.map +1 -1
  771. package/es-custom/index.js +13 -3
  772. package/lib/components/ai-label/ai-label-action-button.d.ts +1 -1
  773. package/lib/components/ai-label/ai-label-action-button.d.ts.map +1 -1
  774. package/lib/components/ai-label/index.d.ts +1 -0
  775. package/lib/components/ai-label/index.d.ts.map +1 -1
  776. package/lib/components/big-number/big-number-skeleton.d.ts +21 -0
  777. package/lib/components/big-number/big-number-skeleton.d.ts.map +1 -0
  778. package/lib/components/big-number/big-number.d.ts +35 -0
  779. package/lib/components/big-number/big-number.d.ts.map +1 -0
  780. package/lib/components/big-number/constants.d.ts +20 -0
  781. package/lib/components/big-number/constants.d.ts.map +1 -0
  782. package/lib/components/big-number/index.d.ts +8 -0
  783. package/lib/components/big-number/index.d.ts.map +1 -0
  784. package/lib/components/breadcrumb/breadcrumb-item.d.ts.map +1 -1
  785. package/lib/components/breadcrumb/breadcrumb.d.ts +1 -1
  786. package/lib/components/breadcrumb/breadcrumb.d.ts.map +1 -1
  787. package/lib/components/button/button.d.ts.map +1 -1
  788. package/lib/components/card/card-action.d.ts +27 -0
  789. package/lib/components/card/card-action.d.ts.map +1 -0
  790. package/lib/components/card/card-actions.d.ts +36 -0
  791. package/lib/components/card/card-actions.d.ts.map +1 -0
  792. package/lib/components/card/card-body.d.ts +23 -0
  793. package/lib/components/card/card-body.d.ts.map +1 -0
  794. package/lib/components/card/card-context.d.ts +20 -0
  795. package/lib/components/card/card-context.d.ts.map +1 -0
  796. package/lib/components/card/card-footer.d.ts +34 -0
  797. package/lib/components/card/card-footer.d.ts.map +1 -0
  798. package/lib/components/card/card-header-media.d.ts +19 -0
  799. package/lib/components/card/card-header-media.d.ts.map +1 -0
  800. package/lib/components/card/card-header.d.ts +23 -0
  801. package/lib/components/card/card-header.d.ts.map +1 -0
  802. package/lib/components/card/card-media.d.ts +37 -0
  803. package/lib/components/card/card-media.d.ts.map +1 -0
  804. package/lib/components/card/card-title-media.d.ts +19 -0
  805. package/lib/components/card/card-title-media.d.ts.map +1 -0
  806. package/lib/components/card/card-title.d.ts +52 -0
  807. package/lib/components/card/card-title.d.ts.map +1 -0
  808. package/lib/components/card/card.d.ts +69 -0
  809. package/lib/components/card/card.d.ts.map +1 -0
  810. package/lib/components/card/defs.d.ts +33 -0
  811. package/lib/components/card/defs.d.ts.map +1 -0
  812. package/lib/components/card/defs.js +48 -0
  813. package/lib/components/card/defs.js.map +1 -0
  814. package/lib/components/card/index.d.ts +17 -0
  815. package/lib/components/card/index.d.ts.map +1 -0
  816. package/lib/components/coachmark/coachmark-beacon/coachmark-beacon.d.ts +67 -0
  817. package/lib/components/coachmark/coachmark-beacon/coachmark-beacon.d.ts.map +1 -0
  818. package/lib/components/coachmark/coachmark-beacon/defs.d.ts +13 -0
  819. package/lib/components/coachmark/coachmark-beacon/defs.d.ts.map +1 -0
  820. package/lib/components/coachmark/coachmark-beacon/defs.js +26 -0
  821. package/lib/components/coachmark/coachmark-beacon/defs.js.map +1 -0
  822. package/lib/components/coachmark/coachmark-beacon/index.d.ts +8 -0
  823. package/lib/components/coachmark/coachmark-beacon/index.d.ts.map +1 -0
  824. package/lib/components/coachmark/coachmark-body.d.ts +31 -0
  825. package/lib/components/coachmark/coachmark-body.d.ts.map +1 -0
  826. package/lib/components/coachmark/coachmark-context.d.ts +12 -0
  827. package/lib/components/coachmark/coachmark-context.d.ts.map +1 -0
  828. package/lib/components/coachmark/coachmark-header.d.ts +41 -0
  829. package/lib/components/coachmark/coachmark-header.d.ts.map +1 -0
  830. package/lib/components/coachmark/coachmark-helpers.d.ts +10 -0
  831. package/lib/components/coachmark/coachmark-helpers.d.ts.map +1 -0
  832. package/lib/components/coachmark/coachmark-tagline/coachmark-tagline.d.ts +72 -0
  833. package/lib/components/coachmark/coachmark-tagline/coachmark-tagline.d.ts.map +1 -0
  834. package/lib/components/coachmark/coachmark-tagline/index.d.ts +8 -0
  835. package/lib/components/coachmark/coachmark-tagline/index.d.ts.map +1 -0
  836. package/lib/components/coachmark/coachmark.d.ts +97 -0
  837. package/lib/components/coachmark/coachmark.d.ts.map +1 -0
  838. package/lib/components/coachmark/index.d.ts +10 -0
  839. package/lib/components/coachmark/index.d.ts.map +1 -0
  840. package/lib/components/combo-box/combo-box.d.ts.map +1 -1
  841. package/lib/components/copy/index.d.ts +9 -0
  842. package/lib/components/copy/index.d.ts.map +1 -0
  843. package/lib/components/dropdown/dropdown.d.ts +2 -1
  844. package/lib/components/dropdown/dropdown.d.ts.map +1 -1
  845. package/lib/components/edit-in-place/defs.d.ts +30 -0
  846. package/lib/components/edit-in-place/defs.d.ts.map +1 -0
  847. package/lib/components/edit-in-place/defs.js +45 -0
  848. package/lib/components/edit-in-place/defs.js.map +1 -0
  849. package/lib/components/edit-in-place/edit-in-place-helpers.d.ts +47 -0
  850. package/lib/components/edit-in-place/edit-in-place-helpers.d.ts.map +1 -0
  851. package/lib/components/edit-in-place/edit-in-place.d.ts +214 -0
  852. package/lib/components/edit-in-place/edit-in-place.d.ts.map +1 -0
  853. package/lib/components/edit-in-place/index.d.ts +10 -0
  854. package/lib/components/edit-in-place/index.d.ts.map +1 -0
  855. package/lib/components/fluid-date-picker/fluid-date-picker.d.ts +5 -1
  856. package/lib/components/fluid-date-picker/fluid-date-picker.d.ts.map +1 -1
  857. package/lib/components/icon-button/icon-button.d.ts +1 -1
  858. package/lib/components/link/link.d.ts +2 -1
  859. package/lib/components/link/link.d.ts.map +1 -1
  860. package/lib/components/menu/menu-item.d.ts.map +1 -1
  861. package/lib/components/menu/menu.d.ts +10 -0
  862. package/lib/components/menu/menu.d.ts.map +1 -1
  863. package/lib/components/multi-select/multi-select-item.d.ts +1 -1
  864. package/lib/components/multi-select/multi-select-item.d.ts.map +1 -1
  865. package/lib/components/multi-select/multi-select.d.ts +2 -1
  866. package/lib/components/multi-select/multi-select.d.ts.map +1 -1
  867. package/lib/components/notification/actionable-notification-button.d.ts +1 -1
  868. package/lib/components/notification/actionable-notification-button.d.ts.map +1 -1
  869. package/lib/components/notification/actionable-notification.d.ts.map +1 -1
  870. package/lib/components/options-tile/index.d.ts +8 -0
  871. package/lib/components/options-tile/index.d.ts.map +1 -0
  872. package/lib/components/options-tile/option-tile-helpers.d.ts +16 -0
  873. package/lib/components/options-tile/option-tile-helpers.d.ts.map +1 -0
  874. package/lib/components/options-tile/options-tile.d.ts +91 -0
  875. package/lib/components/options-tile/options-tile.d.ts.map +1 -0
  876. package/lib/components/page-header/index.d.ts +1 -0
  877. package/lib/components/page-header/index.d.ts.map +1 -1
  878. package/lib/components/page-header/page-header-tabs.d.ts +1 -1
  879. package/lib/components/page-header/page-header-tabs.d.ts.map +1 -1
  880. package/lib/components/page-header/page-header.d.ts +1 -1
  881. package/lib/components/page-header/page-header.d.ts.map +1 -1
  882. package/lib/components/search/search.d.ts.map +1 -1
  883. package/lib/components/slug/index.d.ts +1 -0
  884. package/lib/components/slug/index.d.ts.map +1 -1
  885. package/lib/components/tag/dismissible-tag.d.ts +1 -1
  886. package/lib/components/tag/dismissible-tag.d.ts.map +1 -1
  887. package/lib/components/tag/tag.d.ts.map +1 -1
  888. package/lib/components/tile/clickable-tile.d.ts +2 -1
  889. package/lib/components/tile/clickable-tile.d.ts.map +1 -1
  890. package/lib/components/user-avatar/index.d.ts +8 -0
  891. package/lib/components/user-avatar/index.d.ts.map +1 -0
  892. package/lib/components/user-avatar/user-avatar.d.ts +84 -0
  893. package/lib/components/user-avatar/user-avatar.d.ts.map +1 -0
  894. package/lib/globals/controllers/floating-controller.d.ts.map +1 -1
  895. package/lib/globals/controllers/floating-controller.js.map +1 -1
  896. package/lib/globals/decorators/carbon-element.d.ts +8 -0
  897. package/lib/globals/decorators/carbon-element.d.ts.map +1 -1
  898. package/lib/globals/internal/collection-helpers.d.ts +5 -5
  899. package/lib/globals/internal/collection-helpers.d.ts.map +1 -1
  900. package/lib/globals/internal/getSupportedLocale.d.ts +12 -0
  901. package/lib/globals/internal/getSupportedLocale.d.ts.map +1 -0
  902. package/lib/globals/mixins/on.d.ts +2 -2
  903. package/lib/globals/mixins/on.d.ts.map +1 -1
  904. package/lib/globals/register.d.ts +89 -0
  905. package/lib/globals/register.d.ts.map +1 -0
  906. package/lib/globals/register.js +61 -0
  907. package/lib/globals/register.js.map +1 -0
  908. package/lib/globals/settings.d.ts +1 -1
  909. package/lib/globals/settings.d.ts.map +1 -1
  910. package/lib/globals/settings.js +1 -0
  911. package/lib/globals/settings.js.map +1 -1
  912. package/lib/index.d.ts +10 -0
  913. package/lib/index.d.ts.map +1 -1
  914. package/package.json +16 -10
  915. package/scss/components/ai-label/ai-label.scss +24 -33
  916. package/scss/components/big-number/big-number-skeleton.scss +58 -0
  917. package/scss/components/big-number/big-number.scss +29 -0
  918. package/scss/components/big-number/story-styles.scss +48 -0
  919. package/scss/components/card/card-story.scss +29 -0
  920. package/scss/components/card/card.scss +212 -0
  921. package/scss/components/coachmark/coachmark-beacon/coachmark-beacon.scss +89 -0
  922. package/scss/components/coachmark/coachmark-body.scss +16 -0
  923. package/scss/components/coachmark/coachmark-header.scss +28 -0
  924. package/scss/components/coachmark/coachmark-tagline/coachmark-tagline.scss +42 -0
  925. package/scss/components/coachmark/coachmark.scss +42 -0
  926. package/scss/components/coachmark/story-styles.scss +37 -0
  927. package/scss/components/combo-box/combo-box.scss +63 -6
  928. package/scss/components/data-table/_table-action.scss +5 -3
  929. package/scss/components/date-picker/date-picker.scss +70 -2
  930. package/scss/components/date-picker/next/components/date-picker.scss +28 -2
  931. package/scss/components/dropdown/dropdown.scss +39 -4
  932. package/scss/components/edit-in-place/edit-in-place.scss +127 -0
  933. package/scss/components/edit-in-place/story-styles.scss +61 -0
  934. package/scss/components/fluid-combo-box/fluid-combo-box.scss +68 -5
  935. package/scss/components/fluid-date-picker/fluid-date-picker.scss +109 -12
  936. package/scss/components/fluid-dropdown/fluid-dropdown.scss +56 -6
  937. package/scss/components/fluid-multi-select/fluid-multi-select.scss +75 -2
  938. package/scss/components/fluid-number-input/fluid-number-input.scss +32 -1
  939. package/scss/components/fluid-search/fluid-search.scss +6 -3
  940. package/scss/components/menu/menu-item.scss +9 -1
  941. package/scss/components/menu/menu.scss +32 -1
  942. package/scss/components/multi-select/multi-select.scss +130 -28
  943. package/scss/components/number-input/number-input.scss +35 -1
  944. package/scss/components/options-tile/options-tile.scss +157 -0
  945. package/scss/components/options-tile/story-styles.scss +32 -0
  946. package/scss/components/search/search.scss +7 -0
  947. package/scss/components/select/select.scss +7 -3
  948. package/scss/components/slider/slider.scss +9 -2
  949. package/scss/components/tabs/tabs.scss +9 -2
  950. package/scss/components/tag/tag-story.scss +19 -0
  951. package/scss/components/tag/tag.scss +15 -11
  952. package/scss/components/text-input/text-input.scss +22 -0
  953. package/scss/components/user-avatar/story-styles.scss +53 -0
  954. package/scss/components/user-avatar/user-avatar.scss +113 -0
  955. package/telemetry.yml +67 -0
@@ -0,0 +1,453 @@
1
+ /**
2
+ * Copyright IBM Corp. 2026
3
+ *
4
+ * This source code is licensed under the Apache-2.0 license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+
8
+ import "../../globals/settings.js";
9
+ import { carbonElement } from "../../globals/decorators/carbon-element.js";
10
+ import __decorate from "../../_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/decorate.js";
11
+ import iconLoader from "../../globals/internal/icon-loader.js";
12
+ import HostListener from "../../globals/decorators/host-listener.js";
13
+ import HostListenerMixin from "../../globals/mixins/host-listener.js";
14
+ import "../tooltip/index.js";
15
+ import "../icon-button/index.js";
16
+ import { EDIT_IN_PLACE_SIZE, TOOLTIP_ALIGNMENT } from "./defs.js";
17
+ import edit_in_place_default$1 from "./edit-in-place.scss.js";
18
+ import { LitElement, html } from "lit";
19
+ import { property, query, state } from "lit/decorators.js";
20
+ import { classMap } from "lit/directives/class-map.js";
21
+ import Close from "@carbon/icons/es/close/16";
22
+ import Edit16 from "@carbon/icons/es/edit/16";
23
+ import EditOff16 from "@carbon/icons/es/edit--off/16";
24
+ import Checkmark16 from "@carbon/icons/es/checkmark/16";
25
+ import WarningFilled16 from "@carbon/icons/es/warning--filled/16";
26
+ //#region src/components/edit-in-place/edit-in-place.ts
27
+ /**
28
+ * @license
29
+ *
30
+ * Copyright IBM Corp. 2026
31
+ *
32
+ * This source code is licensed under the Apache-2.0 license found in the
33
+ * LICENSE file in the root directory of this source tree.
34
+ */
35
+ const blockClass = `cds-custom--edit-in-place`;
36
+ /**
37
+ * EditInPlace component for inline text editing.
38
+ *
39
+ * @element cds-custom-edit-in-place
40
+ * @csspart input - The input element
41
+ * @csspart actions - The button container
42
+ * @csspart invalid-text - The error message container
43
+ * @fires cds-custom-edit-in-place-change - Fired when the input value changes
44
+ * @fires cds-custom-edit-in-place-save - Fired when the save button is clicked or Enter is pressed
45
+ * @fires cds-custom-edit-in-place-cancel - Fired when the cancel button is clicked or Escape is pressed
46
+ * @fires cds-custom-edit-in-place-blur - Fired when the input loses focus (if onBlur handler is used)
47
+ */
48
+ let CDSEditInPlace = class CDSEditInPlace extends HostListenerMixin(LitElement) {
49
+ constructor(..._args) {
50
+ super(..._args);
51
+ this.cancelLabel = "Cancel";
52
+ this.editAlwaysVisible = false;
53
+ this.editLabel = "Edit";
54
+ this.id = "";
55
+ this.inheritTypography = false;
56
+ this.invalid = false;
57
+ this.invalidText = "";
58
+ this.labelText = "";
59
+ this.placeholder = "";
60
+ this.readOnly = false;
61
+ this.readOnlyLabel = "Edit off";
62
+ this.readOnlyToggleTipText = "This field is read-only and cannot be edited";
63
+ this.saveLabel = "Save";
64
+ this.size = "sm";
65
+ this.toggleTipAlignment = "bottom";
66
+ this.tooltipAlignment = "top";
67
+ this.value = "";
68
+ this.defaultValue = "";
69
+ this._focused = false;
70
+ this._internalValue = "";
71
+ this._initialValue = "";
72
+ this._dirtyInput = false;
73
+ this._escaping = false;
74
+ this._clickingWithin = false;
75
+ this._handleDocumentClick = (e) => {
76
+ if (!this._focused) return;
77
+ if (!e.composedPath().includes(this)) if (this._canSave) this._handleSave(true);
78
+ else this._handleCancel(true);
79
+ };
80
+ }
81
+ /**
82
+ * Check if value has changed from initial
83
+ */
84
+ get _hasValueChanged() {
85
+ return this._internalValue.trim() !== this._initialValue.trim();
86
+ }
87
+ /**
88
+ * Check if we can save (value changed and not invalid)
89
+ */
90
+ get _canSave() {
91
+ return this._hasValueChanged && !this.invalid;
92
+ }
93
+ /**
94
+ * Check if we can cancel (value has changed)
95
+ */
96
+ get _canCancel() {
97
+ return this._hasValueChanged;
98
+ }
99
+ /**
100
+ * Handle input change
101
+ */
102
+ _handleChange(e) {
103
+ const input = e.target;
104
+ if (!this._dirtyInput) this._dirtyInput = true;
105
+ this._internalValue = input.value;
106
+ this._emitEvent("change", this._internalValue);
107
+ }
108
+ /**
109
+ * Handle focus
110
+ */
111
+ _handleFocus(e) {
112
+ const relatedTarget = e?.relatedTarget;
113
+ if (e?.target !== this._inputElement && !this.readOnly && !this._focused && !this.contains(relatedTarget ?? null)) requestAnimationFrame(() => {
114
+ this._inputElement?.focus();
115
+ });
116
+ this._focused = true;
117
+ }
118
+ willUpdate(changedProperties) {
119
+ if (changedProperties.has("value")) {
120
+ const value = this.value || this.defaultValue;
121
+ this._internalValue = value;
122
+ this._initialValue = value;
123
+ this._dirtyInput = false;
124
+ }
125
+ }
126
+ _emitEvent(name, value) {
127
+ this.dispatchEvent(new CustomEvent(`cds-custom-edit-in-place-${name}`, {
128
+ bubbles: true,
129
+ composed: true,
130
+ detail: { value }
131
+ }));
132
+ }
133
+ /**
134
+ * Handle save
135
+ */
136
+ _handleSave(exitEditMode = false) {
137
+ this._initialValue = this._internalValue;
138
+ this._dirtyInput = false;
139
+ this._emitEvent("save", this._internalValue);
140
+ if (exitEditMode) this._focused = false;
141
+ else requestAnimationFrame(() => {
142
+ this._inputElement?.focus();
143
+ });
144
+ }
145
+ /**
146
+ * Handle cancel
147
+ */
148
+ _handleCancel(exitEditMode = false) {
149
+ this._dirtyInput = false;
150
+ this._internalValue = this._initialValue;
151
+ this._emitEvent("cancel", this._initialValue);
152
+ if (exitEditMode) this._focused = false;
153
+ else requestAnimationFrame(() => {
154
+ if (this._inputElement) {
155
+ this._inputElement.focus();
156
+ const length = this._inputElement.value.length;
157
+ this._inputElement.setSelectionRange(length, length);
158
+ }
159
+ });
160
+ }
161
+ /**
162
+ * Handle blur
163
+ */
164
+ _handleBlur(e) {
165
+ const relatedTarget = e.relatedTarget;
166
+ const clickedWithin = this._clickingWithin;
167
+ const targetingChild = relatedTarget ? this.contains(relatedTarget) : false;
168
+ if (clickedWithin) {
169
+ this._clickingWithin = false;
170
+ if (targetingChild) return;
171
+ }
172
+ if (!clickedWithin && targetingChild) return;
173
+ if (this._escaping) return;
174
+ if (this._canSave) this._handleSave(true);
175
+ else this._handleCancel(true);
176
+ this._emitEvent("blur", this._initialValue);
177
+ }
178
+ /**
179
+ * Handle keyboard events
180
+ */
181
+ _handleKeyDown(e) {
182
+ switch (e.key) {
183
+ case "Escape":
184
+ this._escaping = true;
185
+ this._inputElement?.blur();
186
+ this._handleCancel(false);
187
+ this._escaping = false;
188
+ break;
189
+ case "Enter":
190
+ this._escaping = true;
191
+ this._inputElement?.blur();
192
+ if (this._canSave) this._handleSave(false);
193
+ this._escaping = false;
194
+ break;
195
+ case "Tab":
196
+ if (!e.shiftKey && !this._hasValueChanged) this._handleCancel(true);
197
+ break;
198
+ default: break;
199
+ }
200
+ }
201
+ /**
202
+ * Handle toolbar mousedown to track button clicks
203
+ * Uses composedPath() to properly handle Shadow DOM boundaries
204
+ */
205
+ _handleToolbarMouseDown(e) {
206
+ const foundButton = e.composedPath().find((el) => el instanceof HTMLElement && (el.tagName === "BUTTON" || el.tagName === "CDS-ICON-BUTTON"));
207
+ if (foundButton) {
208
+ this._clickingWithin = true;
209
+ if (foundButton.hasAttribute("disabled") || foundButton.getAttribute("aria-disabled") === "true") e.preventDefault();
210
+ }
211
+ }
212
+ /**
213
+ * Handle keydown on save button to exit edit mode on Tab
214
+ */
215
+ _handleSaveButtonKeyDown(e) {
216
+ if (e.key === "Tab" && !e.shiftKey) {
217
+ this._focused = false;
218
+ this._inputElement?.blur();
219
+ }
220
+ }
221
+ /**
222
+ * Initialize component
223
+ */
224
+ connectedCallback() {
225
+ super.connectedCallback();
226
+ const value = this.value || this.defaultValue;
227
+ this._internalValue = value;
228
+ this._initialValue = value;
229
+ }
230
+ /**
231
+ * Cleanup component state when removed from DOM
232
+ */
233
+ disconnectedCallback() {
234
+ super.disconnectedCallback();
235
+ this._escaping = false;
236
+ this._clickingWithin = false;
237
+ this._focused = false;
238
+ }
239
+ /**
240
+ * Render the input element
241
+ */
242
+ _renderInput() {
243
+ const inputClasses = {
244
+ [`${blockClass}__text-input`]: true,
245
+ [`cds-custom--text-input`]: true,
246
+ [`cds-custom--text-input--${this.size}`]: true
247
+ };
248
+ const inputElement = html`
249
+ <input
250
+ id=${this.id}
251
+ class=${classMap(inputClasses)}
252
+ type="text"
253
+ part="input"
254
+ placeholder=${this.placeholder}
255
+ .value=${this._internalValue}
256
+ @input=${this._handleChange}
257
+ @focus=${this._handleFocus}
258
+ @keydown=${this._handleKeyDown}
259
+ aria-label=${this.labelText}
260
+ aria-invalid=${this.invalid ? "true" : "false"}
261
+ ?readonly=${this.readOnly} />
262
+ `;
263
+ if (this.readOnly) return html`
264
+ <cds-custom-tooltip
265
+ align=${this.toggleTipAlignment}
266
+ class="${blockClass}__toggletip-wrapper">
267
+ ${inputElement}
268
+ <cds-custom-tooltip-content
269
+ >${this.readOnlyToggleTipText}</cds-custom-tooltip-content
270
+ >
271
+ </cds-custom-tooltip>
272
+ `;
273
+ return inputElement;
274
+ }
275
+ /**
276
+ * Render action buttons
277
+ */
278
+ _renderActions() {
279
+ if (this.readOnly) return html`
280
+ <cds-custom-icon-button
281
+ class="${blockClass}__btn-readonly"
282
+ size=${this.size}
283
+ align=${this.tooltipAlignment}
284
+ kind="ghost"
285
+ @click=${this._handleFocus}>
286
+ ${iconLoader(EditOff16, { slot: "icon" })}
287
+ <span slot="tooltip-content">${this.readOnlyLabel}</span>
288
+ </cds-custom-icon-button>
289
+ `;
290
+ if (this._focused) return html`
291
+ <cds-custom-icon-button
292
+ class="${blockClass}__btn ${blockClass}__btn-cancel"
293
+ size=${this.size}
294
+ align=${this.tooltipAlignment}
295
+ kind="ghost"
296
+ ?disabled=${!this._canCancel}
297
+ @click=${() => this._handleCancel(false)}>
298
+ ${iconLoader(Close, { slot: "icon" })}
299
+ <span slot="tooltip-content">${this.cancelLabel}</span>
300
+ </cds-custom-icon-button>
301
+ <cds-custom-icon-button
302
+ class="${blockClass}__btn ${blockClass}__btn-save"
303
+ size=${this.size}
304
+ align=${this.tooltipAlignment}
305
+ kind="ghost"
306
+ ?disabled=${!this._canSave}
307
+ @click=${() => this._handleSave(false)}
308
+ @keydown=${this._handleSaveButtonKeyDown}>
309
+ ${iconLoader(Checkmark16, { slot: "icon" })}
310
+ <span slot="tooltip-content">${this.saveLabel}</span>
311
+ </cds-custom-icon-button>
312
+ `;
313
+ return html`
314
+ <cds-custom-icon-button
315
+ class=${classMap({
316
+ [`${blockClass}__btn`]: true,
317
+ [`${blockClass}__btn-edit`]: true,
318
+ [`${blockClass}__btn-edit--always-visible`]: this.editAlwaysVisible
319
+ })}
320
+ size=${this.size}
321
+ align=${this.tooltipAlignment}
322
+ kind="ghost"
323
+ @click=${this._handleFocus}>
324
+ ${iconLoader(Edit16, { slot: "icon" })}
325
+ <span slot="tooltip-content">${this.editLabel}</span>
326
+ </cds-custom-icon-button>
327
+ `;
328
+ }
329
+ render() {
330
+ return html`
331
+ <div class=${classMap({
332
+ [`${blockClass}__container`]: true,
333
+ [`${blockClass}--${this.size}`]: true,
334
+ [`${blockClass}--focused`]: this._focused,
335
+ [`${blockClass}--invalid`]: this.invalid,
336
+ [`${blockClass}--inherit-type`]: this.inheritTypography,
337
+ [`${blockClass}--readonly`]: this.readOnly
338
+ })} @blur=${this._handleBlur}>
339
+ ${this._renderInput()}
340
+ <div
341
+ class="${blockClass}__toolbar"
342
+ part="actions"
343
+ @mousedown=${this._handleToolbarMouseDown}>
344
+ ${this.invalid ? iconLoader(WarningFilled16, { class: `${blockClass}__warning-icon` }) : ""}
345
+ ${this._renderActions()}
346
+ </div>
347
+ </div>
348
+ ${this.invalid ? html`<p class="${blockClass}__warning-text" part="invalid-text">
349
+ ${this.invalidText}
350
+ </p>` : ""}
351
+ `;
352
+ }
353
+ static {
354
+ this.styles = edit_in_place_default$1;
355
+ }
356
+ };
357
+ __decorate([property({
358
+ type: String,
359
+ attribute: "cancel-label",
360
+ reflect: true
361
+ })], CDSEditInPlace.prototype, "cancelLabel", void 0);
362
+ __decorate([property({
363
+ type: Boolean,
364
+ attribute: "edit-always-visible",
365
+ reflect: true
366
+ })], CDSEditInPlace.prototype, "editAlwaysVisible", void 0);
367
+ __decorate([property({
368
+ type: String,
369
+ attribute: "edit-label",
370
+ reflect: true
371
+ })], CDSEditInPlace.prototype, "editLabel", void 0);
372
+ __decorate([property({
373
+ type: String,
374
+ reflect: true
375
+ })], CDSEditInPlace.prototype, "id", void 0);
376
+ __decorate([property({
377
+ type: Boolean,
378
+ attribute: "inherit-typography",
379
+ reflect: true
380
+ })], CDSEditInPlace.prototype, "inheritTypography", void 0);
381
+ __decorate([property({
382
+ type: Boolean,
383
+ reflect: true
384
+ })], CDSEditInPlace.prototype, "invalid", void 0);
385
+ __decorate([property({
386
+ type: String,
387
+ attribute: "invalid-text",
388
+ reflect: true
389
+ })], CDSEditInPlace.prototype, "invalidText", void 0);
390
+ __decorate([property({
391
+ type: String,
392
+ attribute: "label-text",
393
+ reflect: true
394
+ })], CDSEditInPlace.prototype, "labelText", void 0);
395
+ __decorate([property({
396
+ type: String,
397
+ reflect: true
398
+ })], CDSEditInPlace.prototype, "placeholder", void 0);
399
+ __decorate([property({
400
+ type: Boolean,
401
+ attribute: "read-only",
402
+ reflect: true
403
+ })], CDSEditInPlace.prototype, "readOnly", void 0);
404
+ __decorate([property({
405
+ type: String,
406
+ attribute: "read-only-label",
407
+ reflect: true
408
+ })], CDSEditInPlace.prototype, "readOnlyLabel", void 0);
409
+ __decorate([property({
410
+ type: String,
411
+ attribute: "read-only-toggletip-text",
412
+ reflect: true
413
+ })], CDSEditInPlace.prototype, "readOnlyToggleTipText", void 0);
414
+ __decorate([property({
415
+ type: String,
416
+ attribute: "save-label",
417
+ reflect: true
418
+ })], CDSEditInPlace.prototype, "saveLabel", void 0);
419
+ __decorate([property({
420
+ type: String,
421
+ reflect: true
422
+ })], CDSEditInPlace.prototype, "size", void 0);
423
+ __decorate([property({
424
+ type: String,
425
+ attribute: "toggletip-alignment",
426
+ reflect: true
427
+ })], CDSEditInPlace.prototype, "toggleTipAlignment", void 0);
428
+ __decorate([property({
429
+ type: String,
430
+ attribute: "tooltip-alignment",
431
+ reflect: true
432
+ })], CDSEditInPlace.prototype, "tooltipAlignment", void 0);
433
+ __decorate([property({
434
+ type: String,
435
+ reflect: true
436
+ })], CDSEditInPlace.prototype, "value", void 0);
437
+ __decorate([property({
438
+ type: String,
439
+ attribute: "default-value",
440
+ reflect: true
441
+ })], CDSEditInPlace.prototype, "defaultValue", void 0);
442
+ __decorate([state()], CDSEditInPlace.prototype, "_focused", void 0);
443
+ __decorate([state()], CDSEditInPlace.prototype, "_internalValue", void 0);
444
+ __decorate([state()], CDSEditInPlace.prototype, "_initialValue", void 0);
445
+ __decorate([state()], CDSEditInPlace.prototype, "_dirtyInput", void 0);
446
+ __decorate([query("input")], CDSEditInPlace.prototype, "_inputElement", void 0);
447
+ __decorate([HostListener("document:click")], CDSEditInPlace.prototype, "_handleDocumentClick", void 0);
448
+ CDSEditInPlace = __decorate([carbonElement(`cds-custom-edit-in-place`)], CDSEditInPlace);
449
+ var edit_in_place_default = CDSEditInPlace;
450
+ //#endregion
451
+ export { EDIT_IN_PLACE_SIZE, TOOLTIP_ALIGNMENT, edit_in_place_default as default };
452
+
453
+ //# sourceMappingURL=edit-in-place.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"edit-in-place.js","names":["Close16","styles","customElement"],"sources":["../../../src/components/edit-in-place/edit-in-place.ts"],"sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2026\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { LitElement, html } from 'lit';\nimport { property, state, query } from 'lit/decorators.js';\nimport { classMap } from 'lit/directives/class-map.js';\nimport HostListener from '../../globals/decorators/host-listener';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\nimport { prefix } from '../../globals/settings';\nimport { iconLoader } from '../../globals/internal/icon-loader';\nimport HostListenerMixin from '../../globals/mixins/host-listener';\nimport styles from './edit-in-place.scss?lit';\nimport Edit16 from '@carbon/icons/es/edit/16';\nimport EditOff16 from '@carbon/icons/es/edit--off/16';\nimport Checkmark16 from '@carbon/icons/es/checkmark/16';\nimport Close16 from '@carbon/icons/es/close/16';\nimport WarningFilled16 from '@carbon/icons/es/warning--filled/16';\nimport '../icon-button/index';\nimport '../tooltip/index';\nimport { EDIT_IN_PLACE_SIZE, TOOLTIP_ALIGNMENT } from './defs';\n\nexport { EDIT_IN_PLACE_SIZE, TOOLTIP_ALIGNMENT };\n\nconst blockClass = `${prefix}--edit-in-place`;\n\nexport type EditInPlaceSize = `${EDIT_IN_PLACE_SIZE}`;\nexport type TooltipAlignment = `${TOOLTIP_ALIGNMENT}`;\n\n/**\n * EditInPlace component for inline text editing.\n *\n * @element cds-custom-edit-in-place\n * @csspart input - The input element\n * @csspart actions - The button container\n * @csspart invalid-text - The error message container\n * @fires cds-custom-edit-in-place-change - Fired when the input value changes\n * @fires cds-custom-edit-in-place-save - Fired when the save button is clicked or Enter is pressed\n * @fires cds-custom-edit-in-place-cancel - Fired when the cancel button is clicked or Escape is pressed\n * @fires cds-custom-edit-in-place-blur - Fired when the input loses focus (if onBlur handler is used)\n */\n@customElement(`${prefix}-edit-in-place`)\nclass CDSEditInPlace extends HostListenerMixin(LitElement) {\n /**\n * Label for the cancel button\n */\n @property({ type: String, attribute: 'cancel-label', reflect: true })\n cancelLabel = 'Cancel';\n\n /**\n * By default the edit icon is shown on hover only. Set to true to always show it.\n */\n @property({ type: Boolean, attribute: 'edit-always-visible', reflect: true })\n editAlwaysVisible = false;\n\n /**\n * Label for the edit button\n */\n @property({ type: String, attribute: 'edit-label', reflect: true })\n editLabel = 'Edit';\n\n /**\n * Specify a custom id for the input\n */\n @property({ type: String, reflect: true })\n override id = '';\n\n /**\n * Causes the text entry field to inherit typography settings from the container\n */\n @property({ type: Boolean, attribute: 'inherit-typography', reflect: true })\n inheritTypography = false;\n\n /**\n * Determines if the input is invalid\n */\n @property({ type: Boolean, reflect: true })\n invalid = false;\n\n /**\n * Text that is displayed if the input is invalid\n */\n @property({ type: String, attribute: 'invalid-text', reflect: true })\n invalidText = '';\n\n /**\n * Text that will be read by a screen reader when visiting this control\n */\n @property({ type: String, attribute: 'label-text', reflect: true })\n labelText = '';\n\n /**\n * Placeholder text for the input\n */\n @property({ type: String, reflect: true })\n placeholder = '';\n\n /**\n * Determines if the input is in readOnly mode\n */\n @property({ type: Boolean, attribute: 'read-only', reflect: true })\n readOnly = false;\n\n /**\n * Label for the edit off button that displays when in read only mode\n */\n @property({ type: String, attribute: 'read-only-label', reflect: true })\n readOnlyLabel = 'Edit off';\n\n /**\n * Text for the toggletip that displays when in read only mode\n */\n @property({\n type: String,\n attribute: 'read-only-toggletip-text',\n reflect: true,\n })\n readOnlyToggleTipText = 'This field is read-only and cannot be edited';\n\n /**\n * Label for the save button\n */\n @property({ type: String, attribute: 'save-label', reflect: true })\n saveLabel = 'Save';\n\n /**\n * Vertical size of control\n */\n @property({ type: String, reflect: true })\n size: EditInPlaceSize = 'sm';\n\n /**\n * Alignment for the toggletip that displays when in read only mode\n */\n @property({ type: String, attribute: 'toggletip-alignment', reflect: true })\n toggleTipAlignment: TooltipAlignment = 'bottom';\n\n /**\n * Tooltip alignment for buttons\n */\n @property({ type: String, attribute: 'tooltip-alignment', reflect: true })\n tooltipAlignment: TooltipAlignment = 'top';\n\n /**\n * Current value of the input (controlled mode)\n */\n @property({ type: String, reflect: true })\n value = '';\n\n /**\n * Default value for uncontrolled mode\n */\n @property({ type: String, attribute: 'default-value', reflect: true })\n defaultValue = '';\n\n /**\n * Internal state for focused mode\n */\n @state()\n private _focused = false;\n\n /**\n * Internal value for managing state\n */\n @state()\n private _internalValue = '';\n\n /**\n * Internal state for initial value (when entering edit mode)\n */\n @state()\n private _initialValue = '';\n\n /**\n * Internal state to track if input has been modified\n */\n @state()\n private _dirtyInput = false;\n\n /**\n * Flag to track if we're handling escape key\n */\n private _escaping = false;\n\n /**\n * Flag to track if we're clicking within the component\n */\n private _clickingWithin = false;\n\n /**\n * Reference to the input element\n */\n @query('input')\n private _inputElement?: HTMLInputElement;\n\n /**\n * Check if value has changed from initial\n */\n private get _hasValueChanged(): boolean {\n return this._internalValue.trim() !== this._initialValue.trim();\n }\n\n /**\n * Check if we can save (value changed and not invalid)\n */\n private get _canSave(): boolean {\n return this._hasValueChanged && !this.invalid;\n }\n\n /**\n * Check if we can cancel (value has changed)\n */\n private get _canCancel(): boolean {\n return this._hasValueChanged;\n }\n\n /**\n * Handle input change\n */\n private _handleChange(e: Event) {\n const input = e.target as HTMLInputElement;\n if (!this._dirtyInput) {\n this._dirtyInput = true;\n }\n\n this._internalValue = input.value;\n this._emitEvent('change', this._internalValue);\n }\n\n /**\n * Handle focus\n */\n private _handleFocus(e?: FocusEvent) {\n const relatedTarget = e?.relatedTarget as Node | null | undefined;\n const target = e?.target as EventTarget | null | undefined;\n\n if (\n target !== this._inputElement &&\n !this.readOnly &&\n !this._focused &&\n !this.contains(relatedTarget ?? null)\n ) {\n requestAnimationFrame(() => {\n this._inputElement?.focus();\n });\n }\n\n this._focused = true;\n }\n\n protected override willUpdate(changedProperties: Map<string, unknown>) {\n if (changedProperties.has('value')) {\n const value = this.value || this.defaultValue;\n this._internalValue = value;\n this._initialValue = value;\n this._dirtyInput = false;\n }\n }\n\n private _emitEvent(name: string, value: string) {\n this.dispatchEvent(\n new CustomEvent(`${prefix}-edit-in-place-${name}`, {\n bubbles: true,\n composed: true,\n detail: { value },\n })\n );\n }\n\n /**\n * Handle save\n */\n private _handleSave(exitEditMode = false) {\n this._initialValue = this._internalValue;\n this._dirtyInput = false;\n\n this._emitEvent('save', this._internalValue);\n\n if (exitEditMode) {\n this._focused = false;\n } else {\n requestAnimationFrame(() => {\n this._inputElement?.focus();\n });\n }\n }\n\n /**\n * Handle cancel\n */\n private _handleCancel(exitEditMode = false) {\n this._dirtyInput = false;\n this._internalValue = this._initialValue;\n\n this._emitEvent('cancel', this._initialValue);\n\n if (exitEditMode) {\n this._focused = false;\n } else {\n requestAnimationFrame(() => {\n if (this._inputElement) {\n this._inputElement.focus();\n const length = this._inputElement.value.length;\n this._inputElement.setSelectionRange(length, length);\n }\n });\n }\n }\n\n /**\n * Handle blur\n */\n private _handleBlur(e: FocusEvent) {\n const relatedTarget = e.relatedTarget as Node | null;\n const clickedWithin = this._clickingWithin;\n const targetingChild = relatedTarget ? this.contains(relatedTarget) : false;\n\n // Reset clicking flag if we clicked within\n if (clickedWithin) {\n this._clickingWithin = false;\n // If focus is staying within, don't exit edit mode\n if (targetingChild) {\n return;\n }\n }\n\n // If tabbing to a button within, allow it\n if (!clickedWithin && targetingChild) {\n return;\n }\n\n // Default behavior: auto-save or auto-cancel\n if (this._escaping) {\n return;\n }\n\n if (this._canSave) {\n this._handleSave(true);\n } else {\n this._handleCancel(true);\n }\n\n // Dispatch blur event\n this._emitEvent('blur', this._initialValue);\n }\n\n /**\n * Handle keyboard events\n */\n private _handleKeyDown(e: KeyboardEvent) {\n switch (e.key) {\n case 'Escape':\n this._escaping = true;\n this._inputElement?.blur();\n this._handleCancel(false);\n this._escaping = false;\n break;\n case 'Enter':\n this._escaping = true;\n this._inputElement?.blur();\n if (this._canSave) {\n this._handleSave(false);\n }\n this._escaping = false;\n break;\n case 'Tab':\n // When tabbing from input, check if we're going outside the component\n // If shift+tab, we're going backwards (let it handle naturally)\n // If tab forward and no changes, we should exit edit mode\n if (!e.shiftKey && !this._hasValueChanged) {\n // Exit edit mode when tabbing out without changes\n this._handleCancel(true);\n }\n break;\n default:\n break;\n }\n }\n\n /**\n * Handle toolbar mousedown to track button clicks\n * Uses composedPath() to properly handle Shadow DOM boundaries\n */\n private _handleToolbarMouseDown(e: MouseEvent) {\n const path = e.composedPath();\n const foundButton = path.find(\n (el) =>\n el instanceof HTMLElement &&\n (el.tagName === 'BUTTON' || el.tagName === 'CDS-ICON-BUTTON')\n ) as HTMLElement | undefined;\n\n if (foundButton) {\n this._clickingWithin = true;\n\n // For disabled buttons, prevent default to stop blur\n const isDisabled =\n foundButton.hasAttribute('disabled') ||\n foundButton.getAttribute('aria-disabled') === 'true';\n if (isDisabled) {\n e.preventDefault();\n }\n }\n }\n\n /**\n * Handle keydown on save button to exit edit mode on Tab\n */\n private _handleSaveButtonKeyDown(e: KeyboardEvent) {\n if (e.key === 'Tab' && !e.shiftKey) {\n // Tab forward from save button - exit edit mode\n this._focused = false;\n this._inputElement?.blur();\n }\n }\n\n /**\n * Handle clicks outside the component\n */\n @HostListener('document:click')\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment -- https://github.com/carbon-design-system/carbon/issues/20452\n // @ts-ignore: The decorator refers to this method but TS thinks this method is not referred to\n private _handleDocumentClick = (e: MouseEvent) => {\n // Only handle if we're in focused mode\n if (!this._focused) {\n return;\n }\n\n // Check if click is outside the component\n const path = e.composedPath();\n const clickedInside = path.includes(this);\n\n if (!clickedInside) {\n // Click was outside - exit edit mode\n if (this._canSave) {\n this._handleSave(true);\n } else {\n this._handleCancel(true);\n }\n }\n };\n\n /**\n * Initialize component\n */\n connectedCallback() {\n super.connectedCallback();\n const value = this.value || this.defaultValue;\n this._internalValue = value;\n this._initialValue = value;\n }\n\n /**\n * Cleanup component state when removed from DOM\n */\n disconnectedCallback() {\n super.disconnectedCallback();\n this._escaping = false;\n this._clickingWithin = false;\n this._focused = false;\n }\n\n /**\n * Render the input element\n */\n private _renderInput() {\n const inputClasses = {\n [`${blockClass}__text-input`]: true,\n [`${prefix}--text-input`]: true,\n [`${prefix}--text-input--${this.size}`]: true,\n };\n\n const inputElement = html`\n <input\n id=${this.id}\n class=${classMap(inputClasses)}\n type=\"text\"\n part=\"input\"\n placeholder=${this.placeholder}\n .value=${this._internalValue}\n @input=${this._handleChange}\n @focus=${this._handleFocus}\n @keydown=${this._handleKeyDown}\n aria-label=${this.labelText}\n aria-invalid=${this.invalid ? 'true' : 'false'}\n ?readonly=${this.readOnly} />\n `;\n\n if (this.readOnly) {\n return html`\n <cds-custom-tooltip\n align=${this.toggleTipAlignment}\n class=\"${blockClass}__toggletip-wrapper\">\n ${inputElement}\n <cds-custom-tooltip-content\n >${this.readOnlyToggleTipText}</cds-custom-tooltip-content\n >\n </cds-custom-tooltip>\n `;\n }\n\n return inputElement;\n }\n\n /**\n * Render action buttons\n */\n private _renderActions() {\n if (this.readOnly) {\n return html`\n <cds-custom-icon-button\n class=\"${blockClass}__btn-readonly\"\n size=${this.size}\n align=${this.tooltipAlignment}\n kind=\"ghost\"\n @click=${this._handleFocus}>\n ${iconLoader(EditOff16, { slot: 'icon' })}\n <span slot=\"tooltip-content\">${this.readOnlyLabel}</span>\n </cds-custom-icon-button>\n `;\n }\n\n if (this._focused) {\n return html`\n <cds-custom-icon-button\n class=\"${blockClass}__btn ${blockClass}__btn-cancel\"\n size=${this.size}\n align=${this.tooltipAlignment}\n kind=\"ghost\"\n ?disabled=${!this._canCancel}\n @click=${() => this._handleCancel(false)}>\n ${iconLoader(Close16, { slot: 'icon' })}\n <span slot=\"tooltip-content\">${this.cancelLabel}</span>\n </cds-custom-icon-button>\n <cds-custom-icon-button\n class=\"${blockClass}__btn ${blockClass}__btn-save\"\n size=${this.size}\n align=${this.tooltipAlignment}\n kind=\"ghost\"\n ?disabled=${!this._canSave}\n @click=${() => this._handleSave(false)}\n @keydown=${this._handleSaveButtonKeyDown}>\n ${iconLoader(Checkmark16, { slot: 'icon' })}\n <span slot=\"tooltip-content\">${this.saveLabel}</span>\n </cds-custom-icon-button>\n `;\n }\n\n const editBtnClasses = {\n [`${blockClass}__btn`]: true,\n [`${blockClass}__btn-edit`]: true,\n [`${blockClass}__btn-edit--always-visible`]: this.editAlwaysVisible,\n };\n\n return html`\n <cds-custom-icon-button\n class=${classMap(editBtnClasses)}\n size=${this.size}\n align=${this.tooltipAlignment}\n kind=\"ghost\"\n @click=${this._handleFocus}>\n ${iconLoader(Edit16, { slot: 'icon' })}\n <span slot=\"tooltip-content\">${this.editLabel}</span>\n </cds-custom-icon-button>\n `;\n }\n\n render() {\n const containerClasses = {\n [`${blockClass}__container`]: true,\n [`${blockClass}--${this.size}`]: true,\n [`${blockClass}--focused`]: this._focused,\n [`${blockClass}--invalid`]: this.invalid,\n [`${blockClass}--inherit-type`]: this.inheritTypography,\n [`${blockClass}--readonly`]: this.readOnly,\n };\n\n return html`\n <div class=${classMap(containerClasses)} @blur=${this._handleBlur}>\n ${this._renderInput()}\n <div\n class=\"${blockClass}__toolbar\"\n part=\"actions\"\n @mousedown=${this._handleToolbarMouseDown}>\n ${this.invalid\n ? iconLoader(WarningFilled16, {\n class: `${blockClass}__warning-icon`,\n })\n : ''}\n ${this._renderActions()}\n </div>\n </div>\n ${this.invalid\n ? html`<p class=\"${blockClass}__warning-text\" part=\"invalid-text\">\n ${this.invalidText}\n </p>`\n : ''}\n `;\n }\n\n static styles = styles;\n}\n\nexport default CDSEditInPlace;\n"],"mappings":"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"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Copyright IBM Corp. 2026
3
+ *
4
+ * This source code is licensed under the Apache-2.0 license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+
8
+ import { css } from "lit";
9
+ //#region src/components/edit-in-place/edit-in-place.scss?lit
10
+ var edit_in_place_default = css(["a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{padding:0;border:0;margin:0;font:inherit;font-feature-settings:\"liga\" 1;font-size:100%;vertical-align:baseline}button,input,select,textarea{border-radius:0;font-family:inherit}:root{color-scheme:var(--cds-color-scheme,light)}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{background-color:var(--cds-background,#fff);color:var(--cds-text-primary,#161616);line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:none}table{border-collapse:collapse;border-spacing:0}html{box-sizing:border-box}*,:after,:before{box-sizing:inherit}html{font-size:100%}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}code{font-family:IBM Plex Mono,system-ui,-apple-system,BlinkMacSystemFont,\\.SFNSText-Regular,monospace}strong{font-weight:600}@media screen and (-ms-high-contrast:active){svg{fill:ButtonText}}h1{font-size:var(--cds-heading-06-font-size,2.625rem);font-weight:var(--cds-heading-06-font-weight,300);line-height:var(--cds-heading-06-line-height,1.199);letter-spacing:var(--cds-heading-06-letter-spacing,0)}h2{font-size:var(--cds-heading-05-font-size,2rem);font-weight:var(--cds-heading-05-font-weight,400);line-height:var(--cds-heading-05-line-height,1.25);letter-spacing:var(--cds-heading-05-letter-spacing,0)}h3{font-size:var(--cds-heading-04-font-size,1.75rem);font-weight:var(--cds-heading-04-font-weight,400);line-height:var(--cds-heading-04-line-height,1.28572);letter-spacing:var(--cds-heading-04-letter-spacing,0)}h4{font-size:var(--cds-heading-03-font-size,1.25rem);font-weight:var(--cds-heading-03-font-weight,400);line-height:var(--cds-heading-03-line-height,1.4);letter-spacing:var(--cds-heading-03-letter-spacing,0)}h5{font-size:var(--cds-heading-02-font-size,1rem);font-weight:var(--cds-heading-02-font-weight,600);line-height:var(--cds-heading-02-line-height,1.5);letter-spacing:var(--cds-heading-02-letter-spacing,0)}h6{font-size:var(--cds-heading-01-font-size,.875rem);font-weight:var(--cds-heading-01-font-weight,600);line-height:var(--cds-heading-01-line-height,1.42857);letter-spacing:var(--cds-heading-01-letter-spacing,.16px)}p{font-size:var(--cds-body-02-font-size,1rem);font-weight:var(--cds-body-02-font-weight,400);line-height:var(--cds-body-02-line-height,1.5);letter-spacing:var(--cds-body-02-letter-spacing,0)}a{color:var(--cds-link-primary,#0062fe)}em{font-style:italic}@keyframes cds-custom--hide-feedback{0%{opacity:1;visibility:inherit}to{opacity:0;visibility:hidden}}@keyframes cds-custom--show-feedback{0%{opacity:0;visibility:hidden}to{opacity:1;visibility:inherit}}@keyframes cds-custom--skeleton{0%{opacity:.3;transform:scaleX(0);transform-origin:left}20%{opacity:1;transform:scaleX(1);transform-origin:left}28%{transform:scaleX(1);transform-origin:right}51%{transform:scaleX(0);transform-origin:right}58%{transform:scaleX(0);transform-origin:right}82%{transform:scaleX(1);transform-origin:right}83%{transform:scaleX(1);transform-origin:left}96%{transform:scaleX(0);transform-origin:left}to{opacity:.3;transform:scaleX(0);transform-origin:left}}.cds-custom--assistive-text,.cds-custom--visually-hidden{position:absolute;overflow:hidden;padding:0;border:0;margin:-1px;block-size:1px;clip:rect(0,0,0,0);inline-size:1px;visibility:inherit;white-space:nowrap}.cds-custom--edit-in-place,:host(cds-custom-edit-in-place) .cds-custom--edit-in-place__container{--cds--edit-in-place--size:2rem;display:flex;align-items:center;background:transparent;cursor:pointer}.cds-custom--edit-in-place--sm{--cds--edit-in-place--size:2.5rem}.cds-custom--edit-in-place--md{--cds--edit-in-place--size:3rem}.cds-custom--edit-in-place--lg{--cds--edit-in-place--size:4rem}.cds-custom--edit-in-place__toggletip-wrapper,.cds-custom--edit-in-place__toggletip-wrapper .cds-custom--toggletip-button{display:block;inline-size:100%}.cds-custom--edit-in-place:hover,:host(cds-custom-edit-in-place) .cds-custom--edit-in-place__container:hover{background:var(--cds-field-01,#f4f4f4)}.cds-custom--edit-in-place:hover .cds-custom--edit-in-place__btn-edit,.cds-custom--edit-in-place__btn-edit.cds-custom--edit-in-place__btn-edit--always-visible,:host(cds-custom-edit-in-place) .cds-custom--edit-in-place__container:hover .cds-custom--edit-in-place__btn-edit{visibility:visible}.cds-custom--edit-in-place__btn-edit{visibility:hidden}.cds-custom--edit-in-place--invalid{border:2px solid var(--cds-support-error,#da1e28)}.cds-custom--edit-in-place--focused{background:var(--cds-field-01,#f4f4f4)}.cds-custom--edit-in-place--focused:has(.cds-custom--edit-in-place__text-input:focus){outline:2px solid var(--cds-focus,#0f62fe)}.cds-custom--edit-in-place--invalid.cds-custom--edit-in-place--focused{border:none}.cds-custom--edit-in-place__text-input{flex:1}.cds-custom--edit-in-place--inherit-type .cds-custom--edit-in-place__text-input{font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit}.cds-custom--edit-in-place__text-input-label{display:none}.cds-custom--edit-in-place__warning-icon{margin:auto .5rem;color:var(--cds-support-error,#da1e28);inline-size:1rem}.cds-custom--edit-in-place__warning-text{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);color:var(--cds-support-error,#da1e28);margin-block-start:.5rem}.cds-custom--edit-in-place__text-input.cds-custom--text-input{border:none;background:transparent;cursor:pointer;outline:none}.cds-custom--edit-in-place:not(.cds-custom--edit-in-place--focused) .cds-custom--edit-in-place__text-input.cds-custom--text-input:active,.cds-custom--edit-in-place:not(.cds-custom--edit-in-place--focused) .cds-custom--edit-in-place__text-input.cds-custom--text-input:focus,:host(cds-custom-edit-in-place) .cds-custom--edit-in-place__container:not(.cds-custom--edit-in-place--focused) .cds-custom--edit-in-place__text-input.cds-custom--text-input:active,:host(cds-custom-edit-in-place) .cds-custom--edit-in-place__container:not(.cds-custom--edit-in-place--focused) .cds-custom--edit-in-place__text-input.cds-custom--text-input:focus{outline:none}.cds-custom--edit-in-place__toolbar{--toolbar-width:var(--cds--edit-in-place--size);--toolbar-width-focussed:calc(2 * var(--cds--edit-in-place--size));display:inline-flex;align-self:stretch;inline-size:var(--toolbar-width)}.cds-custom--edit-in-place__toolbar .cds-custom--btn.cds-custom--btn--icon-only:not(cds-custom-icon-button){padding:0;min-block-size:unset;block-size:var(--cds--edit-in-place--size);inline-size:var(--cds--edit-in-place--size)}.cds-custom--edit-in-place__toolbar cds-custom-icon-button::part(button){padding:.25rem}.cds-custom--edit-in-place--invalid .cds-custom--edit-in-place__toolbar{--toolbar-width:calc(2rem + var(--cds--edit-in-place--size));--toolbar-width-focussed:calc(2rem + 2 * var(--cds--edit-in-place--size))}@keyframes edit-in-place-slide-in{0%{overflow:hidden;inline-size:var(--toolbar-width)}99%{overflow:hidden;inline-size:var(--toolbar-width-focussed)}to{overflow:visible;inline-size:var(--toolbar-width-focussed)}}.cds-custom--edit-in-place--focused:not(.cds-custom--edit-in-place--readonly) .cds-custom--edit-in-place__toolbar{overflow:initial;animation:edit-in-place-slide-in .15s cubic-bezier(0,0,.38,.9);inline-size:var(--toolbar-width-focussed)}:host(cds-custom-edit-in-place){display:block}:host(cds-custom-edit-in-place) .cds-custom--edit-in-place__container{display:flex;align-items:center;background:transparent;container-name:edit-in-place;container-type:inline-size;cursor:pointer;padding-inline-start:1rem}:host(cds-custom-edit-in-place) .cds-custom--edit-in-place__container.cds-custom--edit-in-place--focused,:host(cds-custom-edit-in-place) .cds-custom--edit-in-place__container:hover{background:var(--cds-field-01,#f4f4f4)}:host(cds-custom-edit-in-place) .cds-custom--edit-in-place__container.cds-custom--edit-in-place--focused{outline:2px solid var(--cds-focus,#0f62fe);outline-offset:0}:host(cds-custom-edit-in-place) .cds-custom--edit-in-place__container:has(.cds-custom--edit-in-place__btn:focus-within){outline:none}:host(cds-custom-edit-in-place) .cds-custom--edit-in-place__container.cds-custom--edit-in-place--invalid{border:2px solid var(--cds-support-error,#da1e28)}:host(cds-custom-edit-in-place) .cds-custom--edit-in-place__container.cds-custom--edit-in-place--invalid.cds-custom--edit-in-place--focused{border:none}:host(cds-custom-edit-in-place) .cds-custom--edit-in-place__text-input{outline:none}:host(cds-custom-edit-in-place) .cds-custom--edit-in-place__text-input:focus{outline:none}:host(cds-custom-edit-in-place) .cds-custom--edit-in-place__btn-edit{visibility:hidden}:host(cds-custom-edit-in-place) .cds-custom--edit-in-place__btn-edit.cds-custom--edit-in-place__btn-edit--always-visible{visibility:visible}:host(cds-custom-edit-in-place) .cds-custom--edit-in-place__container:hover .cds-custom--edit-in-place__btn-edit{visibility:visible}:host(cds-custom-edit-in-place) .cds-custom--edit-in-place__toolbar{justify-content:end}:host(cds-custom-edit-in-place) .cds-custom--edit-in-place__toolbar cds-custom-icon-button{display:flex;align-items:stretch;padding:0;block-size:100%;min-block-size:unset}:host(cds-custom-edit-in-place) .cds-custom--edit-in-place__toolbar .cds-custom--edit-in-place__btn-cancel::part(button),:host(cds-custom-edit-in-place) .cds-custom--edit-in-place__toolbar .cds-custom--edit-in-place__btn-cancel::part(button):hover,:host(cds-custom-edit-in-place) .cds-custom--edit-in-place__toolbar .cds-custom--edit-in-place__btn-save::part(button),:host(cds-custom-edit-in-place) .cds-custom--edit-in-place__toolbar .cds-custom--edit-in-place__btn-save::part(button):hover{border:transparent}:host(cds-custom-edit-in-place) .cds-custom--edit-in-place__toolbar .cds-custom--edit-in-place__btn-cancel::part(button):focus,:host(cds-custom-edit-in-place) .cds-custom--edit-in-place__toolbar .cds-custom--edit-in-place__btn-save::part(button):focus{border:transparent;outline:2px solid var(--cds-focus,#0f62fe);outline-offset:-2px}:host(cds-custom-edit-in-place) .cds-custom--edit-in-place__toolbar .cds-custom--edit-in-place__btn-cancel::part(button):disabled,:host(cds-custom-edit-in-place) .cds-custom--edit-in-place__toolbar .cds-custom--edit-in-place__btn-save::part(button):disabled{border:transparent;opacity:.5}:host(cds-custom-edit-in-place) .cds-custom--edit-in-place__toggletip-wrapper{display:flex;flex:1}:host(cds-custom-edit-in-place) .cds-custom--edit-in-place__toggletip-wrapper button[slot=tooltip-trigger]{all:unset;display:flex;flex:1;cursor:pointer}"]);
11
+ //#endregion
12
+ export { edit_in_place_default as default };
13
+
14
+ //# sourceMappingURL=edit-in-place.scss.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"edit-in-place.scss.js","names":[],"sources":["../../../src/components/edit-in-place/edit-in-place.scss?lit"],"sourcesContent":["/*\n * Copyright IBM Corp. 2026\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n$css--plex: true !default;\n\n@use '@carbon/styles/scss/reset';\n@use '@carbon/styles/scss/config' as *;\n@use '@carbon/styles/scss/motion' as *;\n@use '@carbon/styles/scss/spacing' as *;\n@use '@carbon/styles/scss/theme' as *;\n@use '@carbon/styles/scss/utilities/convert' as *;\n@use '@carbon/styles/scss/utilities' as *;\n@use '@carbon/styles/scss/components/edit-in-place' as edit-in-place-styles;\n\n@include edit-in-place-styles.edit-in-place;\n\n$block-class: #{$prefix}--edit-in-place;\n\n:host(#{$prefix}-edit-in-place) {\n display: block;\n\n .#{$block-class}__container {\n @extend .#{$block-class} !optional;\n\n display: flex;\n align-items: center;\n background: transparent;\n container-name: edit-in-place;\n container-type: inline-size;\n cursor: pointer;\n padding-inline-start: $spacing-05;\n\n &:hover,\n &.#{$block-class}--focused {\n background: $field-01;\n }\n\n &.#{$block-class}--focused {\n outline: 2px solid $focus;\n outline-offset: 0;\n }\n\n &:has(.#{$block-class}__btn:focus-within) {\n outline: none;\n }\n\n &.#{$block-class}--invalid {\n border: 2px solid $support-error;\n }\n\n &.#{$block-class}--invalid.#{$block-class}--focused {\n border: none;\n }\n }\n\n .#{$block-class}__text-input {\n outline: none;\n\n &:focus {\n outline: none;\n }\n }\n\n .#{$block-class}__btn-edit {\n visibility: hidden;\n\n &.#{$block-class}__btn-edit--always-visible {\n visibility: visible;\n }\n }\n\n .#{$block-class}__container:hover .#{$block-class}__btn-edit {\n visibility: visible;\n }\n\n .#{$block-class}__toolbar {\n justify-content: end;\n }\n\n .#{$block-class}__toolbar #{$prefix}-icon-button {\n display: flex;\n align-items: stretch;\n padding: 0;\n block-size: 100%;\n min-block-size: unset;\n }\n\n .#{$block-class}__toolbar .#{$block-class}__btn-save::part(button),\n .#{$block-class}__toolbar .#{$block-class}__btn-cancel::part(button),\n .#{$block-class}__toolbar .#{$block-class}__btn-save::part(button):hover,\n .#{$block-class}__toolbar .#{$block-class}__btn-cancel::part(button):hover {\n border: none;\n border-color: transparent;\n }\n\n .#{$block-class}__toolbar .#{$block-class}__btn-save::part(button):focus,\n .#{$block-class}__toolbar .#{$block-class}__btn-cancel::part(button):focus {\n border: none;\n border-color: transparent;\n outline: 2px solid $focus;\n outline-offset: -2px;\n }\n\n .#{$block-class}__toolbar .#{$block-class}__btn-save::part(button):disabled,\n .#{$block-class}__toolbar\n .#{$block-class}__btn-cancel::part(button):disabled {\n border: none;\n border-color: transparent;\n opacity: 0.5;\n }\n\n .#{$block-class}__toggletip-wrapper {\n display: flex;\n flex: 1;\n\n button[slot='tooltip-trigger'] {\n all: unset;\n display: flex;\n flex: 1;\n cursor: pointer;\n }\n }\n}\n"],"mappings":""}
@@ -0,0 +1,10 @@
1
+ /**
2
+ * @license
3
+ *
4
+ * Copyright IBM Corp. 2026
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 './edit-in-place';
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/edit-in-place/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,iBAAiB,CAAC"}
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Copyright IBM Corp. 2026
3
+ *
4
+ * This source code is licensed under the Apache-2.0 license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+
8
+ import "./edit-in-place.js";
9
+ //#region src/components/edit-in-place/index.ts
10
+ /**
11
+ * @license
12
+ *
13
+ * Copyright IBM Corp. 2026
14
+ *
15
+ * This source code is licensed under the Apache-2.0 license found in the
16
+ * LICENSE file in the root directory of this source tree.
17
+ */
18
+ //#endregion
19
+
20
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../../src/components/edit-in-place/index.ts"],"sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2026\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 './edit-in-place';\n"],"mappings":""}