@und-ui/angular 0.2.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (437) hide show
  1. package/README.md +31 -2
  2. package/dist/charts.d.ts +6 -0
  3. package/dist/charts.d.ts.map +1 -0
  4. package/dist/charts.js +6 -0
  5. package/dist/charts.js.map +1 -0
  6. package/dist/generated/charts/index.d.ts +5 -0
  7. package/dist/generated/charts/index.d.ts.map +1 -0
  8. package/dist/generated/charts/index.js +8 -0
  9. package/dist/generated/charts/index.js.map +1 -0
  10. package/dist/generated/charts/und-chart.d.ts +52 -0
  11. package/dist/generated/charts/und-chart.d.ts.map +1 -0
  12. package/dist/generated/charts/und-chart.js +120 -0
  13. package/dist/generated/charts/und-chart.js.map +1 -0
  14. package/dist/generated/forms.d.ts +15 -2
  15. package/dist/generated/forms.d.ts.map +1 -1
  16. package/dist/generated/forms.js +47 -1
  17. package/dist/generated/forms.js.map +1 -1
  18. package/dist/generated/index.d.ts +25 -1
  19. package/dist/generated/index.d.ts.map +1 -1
  20. package/dist/generated/index.js +25 -1
  21. package/dist/generated/index.js.map +1 -1
  22. package/dist/generated/richtext/forms.d.ts +19 -0
  23. package/dist/generated/richtext/forms.d.ts.map +1 -0
  24. package/dist/generated/richtext/forms.js +57 -0
  25. package/dist/generated/richtext/forms.js.map +1 -0
  26. package/dist/generated/richtext/index.d.ts +5 -0
  27. package/dist/generated/richtext/index.d.ts.map +1 -0
  28. package/dist/generated/richtext/index.js +8 -0
  29. package/dist/generated/richtext/index.js.map +1 -0
  30. package/dist/generated/richtext/und-rich-text-editor.d.ts +44 -0
  31. package/dist/generated/richtext/und-rich-text-editor.d.ts.map +1 -0
  32. package/dist/generated/richtext/und-rich-text-editor.js +109 -0
  33. package/dist/generated/richtext/und-rich-text-editor.js.map +1 -0
  34. package/dist/generated/und-aspect-ratio.d.ts +5 -2
  35. package/dist/generated/und-aspect-ratio.d.ts.map +1 -1
  36. package/dist/generated/und-aspect-ratio.js +11 -2
  37. package/dist/generated/und-aspect-ratio.js.map +1 -1
  38. package/dist/generated/und-avatar-group.d.ts +5 -2
  39. package/dist/generated/und-avatar-group.d.ts.map +1 -1
  40. package/dist/generated/und-avatar-group.js +11 -2
  41. package/dist/generated/und-avatar-group.js.map +1 -1
  42. package/dist/generated/und-avatar.d.ts +3 -3
  43. package/dist/generated/und-avatar.d.ts.map +1 -1
  44. package/dist/generated/und-avatar.js +3 -3
  45. package/dist/generated/und-avatar.js.map +1 -1
  46. package/dist/generated/und-badge.d.ts +4 -1
  47. package/dist/generated/und-badge.d.ts.map +1 -1
  48. package/dist/generated/und-badge.js +10 -1
  49. package/dist/generated/und-badge.js.map +1 -1
  50. package/dist/generated/und-banner.d.ts +10 -1
  51. package/dist/generated/und-banner.d.ts.map +1 -1
  52. package/dist/generated/und-banner.js +28 -1
  53. package/dist/generated/und-banner.js.map +1 -1
  54. package/dist/generated/und-bottom-sheet.d.ts +5 -2
  55. package/dist/generated/und-bottom-sheet.d.ts.map +1 -1
  56. package/dist/generated/und-bottom-sheet.js +11 -2
  57. package/dist/generated/und-bottom-sheet.js.map +1 -1
  58. package/dist/generated/und-breadcrumb.d.ts +4 -1
  59. package/dist/generated/und-breadcrumb.d.ts.map +1 -1
  60. package/dist/generated/und-breadcrumb.js +11 -2
  61. package/dist/generated/und-breadcrumb.js.map +1 -1
  62. package/dist/generated/und-card.d.ts +5 -2
  63. package/dist/generated/und-card.d.ts.map +1 -1
  64. package/dist/generated/und-card.js +11 -2
  65. package/dist/generated/und-card.js.map +1 -1
  66. package/dist/generated/und-carousel.d.ts +15 -1
  67. package/dist/generated/und-carousel.d.ts.map +1 -1
  68. package/dist/generated/und-carousel.js +39 -1
  69. package/dist/generated/und-carousel.js.map +1 -1
  70. package/dist/generated/und-center.d.ts +29 -1
  71. package/dist/generated/und-center.d.ts.map +1 -1
  72. package/dist/generated/und-center.js +83 -1
  73. package/dist/generated/und-center.js.map +1 -1
  74. package/dist/generated/und-chat-composer.d.ts +19 -1
  75. package/dist/generated/und-chat-composer.d.ts.map +1 -1
  76. package/dist/generated/und-chat-composer.js +44 -1
  77. package/dist/generated/und-chat-composer.js.map +1 -1
  78. package/dist/generated/und-chat-layout.d.ts +7 -1
  79. package/dist/generated/und-chat-layout.d.ts.map +1 -1
  80. package/dist/generated/und-chat-layout.js +19 -1
  81. package/dist/generated/und-chat-layout.js.map +1 -1
  82. package/dist/generated/und-chat-message.d.ts +15 -5
  83. package/dist/generated/und-chat-message.d.ts.map +1 -1
  84. package/dist/generated/und-chat-message.js +33 -5
  85. package/dist/generated/und-chat-message.js.map +1 -1
  86. package/dist/generated/und-checkbox.d.ts +17 -1
  87. package/dist/generated/und-checkbox.d.ts.map +1 -1
  88. package/dist/generated/und-checkbox.js +47 -1
  89. package/dist/generated/und-checkbox.js.map +1 -1
  90. package/dist/generated/und-citation.d.ts +7 -1
  91. package/dist/generated/und-citation.d.ts.map +1 -1
  92. package/dist/generated/und-citation.js +19 -1
  93. package/dist/generated/und-citation.js.map +1 -1
  94. package/dist/generated/und-clickable-card.d.ts +5 -2
  95. package/dist/generated/und-clickable-card.d.ts.map +1 -1
  96. package/dist/generated/und-clickable-card.js +11 -2
  97. package/dist/generated/und-clickable-card.js.map +1 -1
  98. package/dist/generated/und-code-block.d.ts +17 -1
  99. package/dist/generated/und-code-block.d.ts.map +1 -1
  100. package/dist/generated/und-code-block.js +47 -1
  101. package/dist/generated/und-code-block.js.map +1 -1
  102. package/dist/generated/und-code.d.ts +8 -1
  103. package/dist/generated/und-code.d.ts.map +1 -1
  104. package/dist/generated/und-code.js +20 -2
  105. package/dist/generated/und-code.js.map +1 -1
  106. package/dist/generated/und-command-palette.d.ts +5 -2
  107. package/dist/generated/und-command-palette.d.ts.map +1 -1
  108. package/dist/generated/und-command-palette.js +11 -2
  109. package/dist/generated/und-command-palette.js.map +1 -1
  110. package/dist/generated/und-date-input.d.ts +17 -1
  111. package/dist/generated/und-date-input.d.ts.map +1 -1
  112. package/dist/generated/und-date-input.js +47 -1
  113. package/dist/generated/und-date-input.js.map +1 -1
  114. package/dist/generated/und-date-range-input.d.ts +17 -1
  115. package/dist/generated/und-date-range-input.d.ts.map +1 -1
  116. package/dist/generated/und-date-range-input.js +47 -1
  117. package/dist/generated/und-date-range-input.js.map +1 -1
  118. package/dist/generated/und-dialog.d.ts +5 -2
  119. package/dist/generated/und-dialog.d.ts.map +1 -1
  120. package/dist/generated/und-dialog.js +11 -2
  121. package/dist/generated/und-dialog.js.map +1 -1
  122. package/dist/generated/und-divider.d.ts +8 -1
  123. package/dist/generated/und-divider.d.ts.map +1 -1
  124. package/dist/generated/und-divider.js +20 -1
  125. package/dist/generated/und-divider.js.map +1 -1
  126. package/dist/generated/und-drawer.d.ts +5 -2
  127. package/dist/generated/und-drawer.d.ts.map +1 -1
  128. package/dist/generated/und-drawer.js +11 -2
  129. package/dist/generated/und-drawer.js.map +1 -1
  130. package/dist/generated/und-empty-state.d.ts +5 -1
  131. package/dist/generated/und-empty-state.d.ts.map +1 -1
  132. package/dist/generated/und-empty-state.js +12 -2
  133. package/dist/generated/und-empty-state.js.map +1 -1
  134. package/dist/generated/und-file-input.d.ts +17 -1
  135. package/dist/generated/und-file-input.d.ts.map +1 -1
  136. package/dist/generated/und-file-input.js +47 -1
  137. package/dist/generated/und-file-input.js.map +1 -1
  138. package/dist/generated/und-form-field.d.ts +14 -1
  139. package/dist/generated/und-form-field.d.ts.map +1 -1
  140. package/dist/generated/und-form-field.js +38 -1
  141. package/dist/generated/und-form-field.js.map +1 -1
  142. package/dist/generated/und-form-layout.d.ts +4 -1
  143. package/dist/generated/und-form-layout.d.ts.map +1 -1
  144. package/dist/generated/und-form-layout.js +11 -2
  145. package/dist/generated/und-form-layout.js.map +1 -1
  146. package/dist/generated/und-grid.d.ts +21 -3
  147. package/dist/generated/und-grid.d.ts.map +1 -1
  148. package/dist/generated/und-grid.js +57 -3
  149. package/dist/generated/und-grid.js.map +1 -1
  150. package/dist/generated/und-heading.d.ts +21 -2
  151. package/dist/generated/und-heading.d.ts.map +1 -1
  152. package/dist/generated/und-heading.js +58 -3
  153. package/dist/generated/und-heading.js.map +1 -1
  154. package/dist/generated/und-hover-card.d.ts +4 -1
  155. package/dist/generated/und-hover-card.d.ts.map +1 -1
  156. package/dist/generated/und-hover-card.js +10 -1
  157. package/dist/generated/und-hover-card.js.map +1 -1
  158. package/dist/generated/und-icon.d.ts +9 -2
  159. package/dist/generated/und-icon.d.ts.map +1 -1
  160. package/dist/generated/und-icon.js +21 -2
  161. package/dist/generated/und-icon.js.map +1 -1
  162. package/dist/generated/und-indicator.d.ts +23 -0
  163. package/dist/generated/und-indicator.d.ts.map +1 -0
  164. package/dist/generated/und-indicator.js +58 -0
  165. package/dist/generated/und-indicator.js.map +1 -0
  166. package/dist/generated/und-info-tip.d.ts +4 -1
  167. package/dist/generated/und-info-tip.d.ts.map +1 -1
  168. package/dist/generated/und-info-tip.js +10 -1
  169. package/dist/generated/und-info-tip.js.map +1 -1
  170. package/dist/generated/und-input-group.d.ts +29 -1
  171. package/dist/generated/und-input-group.d.ts.map +1 -1
  172. package/dist/generated/und-input-group.js +79 -4
  173. package/dist/generated/und-input-group.js.map +1 -1
  174. package/dist/generated/und-item.d.ts +50 -0
  175. package/dist/generated/und-item.d.ts.map +1 -0
  176. package/dist/generated/und-item.js +133 -0
  177. package/dist/generated/und-item.js.map +1 -0
  178. package/dist/generated/und-kbd.d.ts +5 -1
  179. package/dist/generated/und-kbd.d.ts.map +1 -1
  180. package/dist/generated/und-kbd.js +11 -2
  181. package/dist/generated/und-kbd.js.map +1 -1
  182. package/dist/generated/und-layout.d.ts +37 -0
  183. package/dist/generated/und-layout.d.ts.map +1 -0
  184. package/dist/generated/und-layout.js +96 -0
  185. package/dist/generated/und-layout.js.map +1 -0
  186. package/dist/generated/und-lightbox.d.ts +5 -2
  187. package/dist/generated/und-lightbox.d.ts.map +1 -1
  188. package/dist/generated/und-lightbox.js +11 -2
  189. package/dist/generated/und-lightbox.js.map +1 -1
  190. package/dist/generated/und-list-item.d.ts +22 -1
  191. package/dist/generated/und-list-item.d.ts.map +1 -1
  192. package/dist/generated/und-list-item.js +60 -3
  193. package/dist/generated/und-list-item.js.map +1 -1
  194. package/dist/generated/und-list.d.ts +14 -1
  195. package/dist/generated/und-list.d.ts.map +1 -1
  196. package/dist/generated/und-list.js +39 -2
  197. package/dist/generated/und-list.js.map +1 -1
  198. package/dist/generated/und-markdown.d.ts +4 -1
  199. package/dist/generated/und-markdown.d.ts.map +1 -1
  200. package/dist/generated/und-markdown.js +10 -1
  201. package/dist/generated/und-markdown.js.map +1 -1
  202. package/dist/generated/und-metadata-list.d.ts +14 -2
  203. package/dist/generated/und-metadata-list.d.ts.map +1 -1
  204. package/dist/generated/und-metadata-list.js +38 -2
  205. package/dist/generated/und-metadata-list.js.map +1 -1
  206. package/dist/generated/und-nav-icon.d.ts +13 -0
  207. package/dist/generated/und-nav-icon.d.ts.map +1 -0
  208. package/dist/generated/und-nav-icon.js +30 -0
  209. package/dist/generated/und-nav-icon.js.map +1 -0
  210. package/dist/generated/und-nav-item.d.ts +33 -0
  211. package/dist/generated/und-nav-item.d.ts.map +1 -0
  212. package/dist/generated/und-nav-item.js +86 -0
  213. package/dist/generated/und-nav-item.js.map +1 -0
  214. package/dist/generated/und-nav-menu-item.d.ts +23 -0
  215. package/dist/generated/und-nav-menu-item.d.ts.map +1 -0
  216. package/dist/generated/und-nav-menu-item.js +58 -0
  217. package/dist/generated/und-nav-menu-item.js.map +1 -0
  218. package/dist/generated/und-nav-menu.d.ts +25 -0
  219. package/dist/generated/und-nav-menu.d.ts.map +1 -0
  220. package/dist/generated/und-nav-menu.js +57 -0
  221. package/dist/generated/und-nav-menu.js.map +1 -0
  222. package/dist/generated/und-number-input.d.ts +20 -1
  223. package/dist/generated/und-number-input.d.ts.map +1 -1
  224. package/dist/generated/und-number-input.js +56 -1
  225. package/dist/generated/und-number-input.js.map +1 -1
  226. package/dist/generated/und-outline.d.ts +4 -1
  227. package/dist/generated/und-outline.d.ts.map +1 -1
  228. package/dist/generated/und-outline.js +10 -1
  229. package/dist/generated/und-outline.js.map +1 -1
  230. package/dist/generated/und-pagination.d.ts +16 -1
  231. package/dist/generated/und-pagination.d.ts.map +1 -1
  232. package/dist/generated/und-pagination.js +46 -1
  233. package/dist/generated/und-pagination.js.map +1 -1
  234. package/dist/generated/und-popover.d.ts +7 -1
  235. package/dist/generated/und-popover.d.ts.map +1 -1
  236. package/dist/generated/und-popover.js +19 -1
  237. package/dist/generated/und-popover.js.map +1 -1
  238. package/dist/generated/und-power-search.d.ts +71 -0
  239. package/dist/generated/und-power-search.d.ts.map +1 -0
  240. package/dist/generated/und-power-search.js +178 -0
  241. package/dist/generated/und-power-search.js.map +1 -0
  242. package/dist/generated/und-progress.d.ts +14 -2
  243. package/dist/generated/und-progress.d.ts.map +1 -1
  244. package/dist/generated/und-progress.js +33 -3
  245. package/dist/generated/und-progress.js.map +1 -1
  246. package/dist/generated/und-resize-handle.d.ts +6 -2
  247. package/dist/generated/und-resize-handle.d.ts.map +1 -1
  248. package/dist/generated/und-resize-handle.js +12 -2
  249. package/dist/generated/und-resize-handle.js.map +1 -1
  250. package/dist/generated/und-section.d.ts +27 -3
  251. package/dist/generated/und-section.d.ts.map +1 -1
  252. package/dist/generated/und-section.js +75 -3
  253. package/dist/generated/und-section.js.map +1 -1
  254. package/dist/generated/und-select.d.ts +2 -2
  255. package/dist/generated/und-select.d.ts.map +1 -1
  256. package/dist/generated/und-select.js +2 -2
  257. package/dist/generated/und-select.js.map +1 -1
  258. package/dist/generated/und-selectable-card.d.ts +21 -1
  259. package/dist/generated/und-selectable-card.d.ts.map +1 -1
  260. package/dist/generated/und-selectable-card.js +57 -1
  261. package/dist/generated/und-selectable-card.js.map +1 -1
  262. package/dist/generated/und-skeleton.d.ts +10 -1
  263. package/dist/generated/und-skeleton.d.ts.map +1 -1
  264. package/dist/generated/und-skeleton.js +28 -1
  265. package/dist/generated/und-skeleton.js.map +1 -1
  266. package/dist/generated/und-slider.d.ts +17 -1
  267. package/dist/generated/und-slider.d.ts.map +1 -1
  268. package/dist/generated/und-slider.js +47 -1
  269. package/dist/generated/und-slider.js.map +1 -1
  270. package/dist/generated/und-snap-paging.d.ts +23 -0
  271. package/dist/generated/und-snap-paging.d.ts.map +1 -0
  272. package/dist/generated/und-snap-paging.js +48 -0
  273. package/dist/generated/und-snap-paging.js.map +1 -0
  274. package/dist/generated/und-spinner.d.ts +4 -1
  275. package/dist/generated/und-spinner.d.ts.map +1 -1
  276. package/dist/generated/und-spinner.js +10 -1
  277. package/dist/generated/und-spinner.js.map +1 -1
  278. package/dist/generated/und-stack.d.ts +36 -6
  279. package/dist/generated/und-stack.d.ts.map +1 -1
  280. package/dist/generated/und-stack.js +95 -5
  281. package/dist/generated/und-stack.js.map +1 -1
  282. package/dist/generated/und-status-dot.d.ts +8 -1
  283. package/dist/generated/und-status-dot.d.ts.map +1 -1
  284. package/dist/generated/und-status-dot.js +21 -2
  285. package/dist/generated/und-status-dot.js.map +1 -1
  286. package/dist/generated/und-swipe-action.d.ts +20 -0
  287. package/dist/generated/und-swipe-action.d.ts.map +1 -0
  288. package/dist/generated/und-swipe-action.js +49 -0
  289. package/dist/generated/und-swipe-action.js.map +1 -0
  290. package/dist/generated/und-swipe.d.ts +26 -0
  291. package/dist/generated/und-swipe.d.ts.map +1 -0
  292. package/dist/generated/und-swipe.js +63 -0
  293. package/dist/generated/und-swipe.js.map +1 -0
  294. package/dist/generated/und-switch.d.ts +17 -1
  295. package/dist/generated/und-switch.d.ts.map +1 -1
  296. package/dist/generated/und-switch.js +47 -1
  297. package/dist/generated/und-switch.js.map +1 -1
  298. package/dist/generated/und-table.d.ts +21 -2
  299. package/dist/generated/und-table.d.ts.map +1 -1
  300. package/dist/generated/und-table.js +46 -2
  301. package/dist/generated/und-table.js.map +1 -1
  302. package/dist/generated/und-text-field.d.ts +29 -1
  303. package/dist/generated/und-text-field.d.ts.map +1 -1
  304. package/dist/generated/und-text-field.js +79 -4
  305. package/dist/generated/und-text-field.js.map +1 -1
  306. package/dist/generated/und-text.d.ts +18 -1
  307. package/dist/generated/und-text.d.ts.map +1 -1
  308. package/dist/generated/und-text.js +48 -1
  309. package/dist/generated/und-text.js.map +1 -1
  310. package/dist/generated/und-textarea.d.ts +24 -1
  311. package/dist/generated/und-textarea.d.ts.map +1 -1
  312. package/dist/generated/und-textarea.js +67 -2
  313. package/dist/generated/und-textarea.js.map +1 -1
  314. package/dist/generated/und-thumbnail.d.ts +21 -1
  315. package/dist/generated/und-thumbnail.d.ts.map +1 -1
  316. package/dist/generated/und-thumbnail.js +55 -2
  317. package/dist/generated/und-thumbnail.js.map +1 -1
  318. package/dist/generated/und-time-input.d.ts +17 -1
  319. package/dist/generated/und-time-input.d.ts.map +1 -1
  320. package/dist/generated/und-time-input.js +47 -1
  321. package/dist/generated/und-time-input.js.map +1 -1
  322. package/dist/generated/und-timestamp.d.ts +7 -1
  323. package/dist/generated/und-timestamp.d.ts.map +1 -1
  324. package/dist/generated/und-timestamp.js +19 -1
  325. package/dist/generated/und-timestamp.js.map +1 -1
  326. package/dist/generated/und-toast.d.ts +4 -1
  327. package/dist/generated/und-toast.d.ts.map +1 -1
  328. package/dist/generated/und-toast.js +10 -1
  329. package/dist/generated/und-toast.js.map +1 -1
  330. package/dist/generated/und-toggle-button.d.ts +82 -0
  331. package/dist/generated/und-toggle-button.d.ts.map +1 -0
  332. package/dist/generated/und-toggle-button.js +216 -0
  333. package/dist/generated/und-toggle-button.js.map +1 -0
  334. package/dist/generated/und-token.d.ts +7 -1
  335. package/dist/generated/und-token.d.ts.map +1 -1
  336. package/dist/generated/und-token.js +19 -1
  337. package/dist/generated/und-token.js.map +1 -1
  338. package/dist/generated/und-tree-list.d.ts +4 -1
  339. package/dist/generated/und-tree-list.d.ts.map +1 -1
  340. package/dist/generated/und-tree-list.js +10 -1
  341. package/dist/generated/und-tree-list.js.map +1 -1
  342. package/dist/richtext-forms.d.ts +6 -0
  343. package/dist/richtext-forms.d.ts.map +1 -0
  344. package/dist/richtext-forms.js +6 -0
  345. package/dist/richtext-forms.js.map +1 -0
  346. package/dist/richtext.d.ts +6 -0
  347. package/dist/richtext.d.ts.map +1 -0
  348. package/dist/richtext.js +6 -0
  349. package/dist/richtext.js.map +1 -0
  350. package/package.json +30 -8
  351. package/src/charts.ts +5 -0
  352. package/src/generated/charts/index.ts +9 -0
  353. package/src/generated/charts/und-chart.ts +112 -0
  354. package/src/generated/forms.ts +42 -2
  355. package/src/generated/index.ts +25 -1
  356. package/src/generated/richtext/forms.ts +51 -0
  357. package/src/generated/richtext/index.ts +9 -0
  358. package/src/generated/richtext/und-rich-text-editor.ts +100 -0
  359. package/src/generated/und-aspect-ratio.ts +10 -1
  360. package/src/generated/und-avatar-group.ts +10 -1
  361. package/src/generated/und-avatar.ts +3 -3
  362. package/src/generated/und-badge.ts +9 -0
  363. package/src/generated/und-banner.ts +27 -0
  364. package/src/generated/und-bottom-sheet.ts +10 -1
  365. package/src/generated/und-breadcrumb.ts +9 -0
  366. package/src/generated/und-card.ts +10 -1
  367. package/src/generated/und-carousel.ts +36 -0
  368. package/src/generated/und-center.ts +81 -0
  369. package/src/generated/und-chat-composer.ts +41 -0
  370. package/src/generated/und-chat-layout.ts +18 -0
  371. package/src/generated/und-chat-message.ts +31 -4
  372. package/src/generated/und-checkbox.ts +45 -0
  373. package/src/generated/und-citation.ts +18 -0
  374. package/src/generated/und-clickable-card.ts +10 -1
  375. package/src/generated/und-code-block.ts +45 -0
  376. package/src/generated/und-code.ts +17 -0
  377. package/src/generated/und-command-palette.ts +10 -1
  378. package/src/generated/und-date-input.ts +45 -0
  379. package/src/generated/und-date-range-input.ts +45 -0
  380. package/src/generated/und-dialog.ts +10 -1
  381. package/src/generated/und-divider.ts +18 -0
  382. package/src/generated/und-drawer.ts +10 -1
  383. package/src/generated/und-empty-state.ts +10 -1
  384. package/src/generated/und-file-input.ts +45 -0
  385. package/src/generated/und-form-field.ts +36 -0
  386. package/src/generated/und-form-layout.ts +9 -0
  387. package/src/generated/und-grid.ts +56 -2
  388. package/src/generated/und-heading.ts +56 -2
  389. package/src/generated/und-hover-card.ts +9 -0
  390. package/src/generated/und-icon.ts +19 -1
  391. package/src/generated/und-indicator.ts +52 -0
  392. package/src/generated/und-info-tip.ts +9 -0
  393. package/src/generated/und-input-group.ts +74 -1
  394. package/src/generated/und-item.ts +124 -0
  395. package/src/generated/und-kbd.ts +8 -0
  396. package/src/generated/und-layout.ts +88 -0
  397. package/src/generated/und-lightbox.ts +10 -1
  398. package/src/generated/und-list-item.ts +55 -1
  399. package/src/generated/und-list.ts +37 -1
  400. package/src/generated/und-markdown.ts +9 -0
  401. package/src/generated/und-metadata-list.ts +37 -1
  402. package/src/generated/und-nav-icon.ts +25 -0
  403. package/src/generated/und-nav-item.ts +79 -0
  404. package/src/generated/und-nav-menu-item.ts +52 -0
  405. package/src/generated/und-nav-menu.ts +53 -0
  406. package/src/generated/und-number-input.ts +54 -0
  407. package/src/generated/und-outline.ts +9 -0
  408. package/src/generated/und-pagination.ts +45 -0
  409. package/src/generated/und-popover.ts +18 -0
  410. package/src/generated/und-power-search.ts +169 -0
  411. package/src/generated/und-progress.ts +29 -2
  412. package/src/generated/und-resize-handle.ts +10 -1
  413. package/src/generated/und-section.ts +74 -2
  414. package/src/generated/und-select.ts +2 -2
  415. package/src/generated/und-selectable-card.ts +54 -0
  416. package/src/generated/und-skeleton.ts +27 -0
  417. package/src/generated/und-slider.ts +45 -0
  418. package/src/generated/und-snap-paging.ts +44 -0
  419. package/src/generated/und-spinner.ts +9 -0
  420. package/src/generated/und-stack.ts +95 -5
  421. package/src/generated/und-status-dot.ts +19 -1
  422. package/src/generated/und-swipe-action.ts +43 -0
  423. package/src/generated/und-swipe.ts +58 -0
  424. package/src/generated/und-switch.ts +45 -0
  425. package/src/generated/und-table.ts +42 -1
  426. package/src/generated/und-text-field.ts +74 -1
  427. package/src/generated/und-text.ts +45 -0
  428. package/src/generated/und-textarea.ts +63 -0
  429. package/src/generated/und-thumbnail.ts +51 -1
  430. package/src/generated/und-time-input.ts +45 -0
  431. package/src/generated/und-timestamp.ts +18 -0
  432. package/src/generated/und-toast.ts +9 -0
  433. package/src/generated/und-toggle-button.ts +206 -0
  434. package/src/generated/und-token.ts +18 -0
  435. package/src/generated/und-tree-list.ts +9 -0
  436. package/src/richtext-forms.ts +5 -0
  437. package/src/richtext.ts +5 -0
@@ -5,7 +5,7 @@
5
5
  // UND UI form controls. Import from `@und-ui/angular/forms` (needs @angular/forms).
6
6
  import { DestroyRef, Directive, type DoCheck, ElementRef, forwardRef, inject, Input } from '@angular/core';
7
7
  import { ControlContainer, NG_VALUE_ACCESSOR, NgControl, type AbstractControl, type ControlValueAccessor, type ValidationErrors } from '@angular/forms';
8
- import type { UndCheckbox as UndCheckboxElement, UndCheckboxList as UndCheckboxListElement, UndCombobox as UndComboboxElement, UndDateInput as UndDateInputElement, UndInputGroup as UndInputGroupElement, UndMultiSelect as UndMultiSelectElement, UndNumberInput as UndNumberInputElement, UndRadioGroup as UndRadioGroupElement, UndRadioList as UndRadioListElement, UndSegmentedControl as UndSegmentedControlElement, UndSelect as UndSelectElement, UndSelectableCard as UndSelectableCardElement, UndSlider as UndSliderElement, UndSwitch as UndSwitchElement, UndTextField as UndTextFieldElement, UndTextarea as UndTextareaElement, UndTimeInput as UndTimeInputElement, UndTokenizer as UndTokenizerElement, UndTypeahead as UndTypeaheadElement } from '@und-ui/core';
8
+ import type { UndCheckbox as UndCheckboxElement, UndCheckboxList as UndCheckboxListElement, UndCombobox as UndComboboxElement, UndDateInput as UndDateInputElement, UndInputGroup as UndInputGroupElement, UndMultiSelect as UndMultiSelectElement, UndNumberInput as UndNumberInputElement, UndPowerSearch as UndPowerSearchElement, UndRadioGroup as UndRadioGroupElement, UndRadioList as UndRadioListElement, UndSegmentedControl as UndSegmentedControlElement, UndSelect as UndSelectElement, UndSelectableCard as UndSelectableCardElement, UndSlider as UndSliderElement, UndSwitch as UndSwitchElement, UndTextField as UndTextFieldElement, UndTextarea as UndTextareaElement, UndTimeInput as UndTimeInputElement, UndTokenizer as UndTokenizerElement, UndTypeahead as UndTypeaheadElement } from '@und-ui/core';
9
9
 
10
10
  /** Connects `<und-checkbox>` to Angular forms through `checked`. */
11
11
  @Directive({
@@ -285,6 +285,46 @@ export class UndNumberInputValueAccessor implements ControlValueAccessor {
285
285
  }
286
286
  }
287
287
 
288
+ /** Connects `<und-power-search>` to Angular forms through `value`. */
289
+ @Directive({
290
+ selector: 'und-power-search[ngModel], und-power-search[formControl], und-power-search[formControlName]',
291
+ host: {
292
+ '(input)': 'onUserChange($event)',
293
+ '(compositionend)': 'onUserChange($event)',
294
+ '(focusout)': 'onTouched()',
295
+ },
296
+ providers: [
297
+ { provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => UndPowerSearchValueAccessor), multi: true },
298
+ ],
299
+ })
300
+ export class UndPowerSearchValueAccessor implements ControlValueAccessor {
301
+ readonly #el: UndPowerSearchElement = inject<ElementRef<UndPowerSearchElement>>(ElementRef).nativeElement;
302
+ #onChange: (value: UndPowerSearchElement['value']) => void = () => {};
303
+ onTouched: () => void = () => {};
304
+
305
+ writeValue(value: UndPowerSearchElement['value'] | null): void {
306
+ this.#el.value = value ?? '';
307
+ }
308
+
309
+ registerOnChange(fn: (value: UndPowerSearchElement['value']) => void): void {
310
+ this.#onChange = fn;
311
+ }
312
+
313
+ registerOnTouched(fn: () => void): void {
314
+ this.onTouched = fn;
315
+ }
316
+
317
+ setDisabledState(disabled: boolean): void {
318
+ this.#el.disabled = disabled;
319
+ }
320
+
321
+ /** @internal IME: composing input events are skipped; compositionend commits. */
322
+ onUserChange(event: Event): void {
323
+ if ((event as InputEvent).isComposing) return;
324
+ this.#onChange(this.#el.value);
325
+ }
326
+ }
327
+
288
328
  /** Connects `<und-radio-group>` to Angular forms through `value`. */
289
329
  @Directive({
290
330
  selector: 'und-radio-group[ngModel], und-radio-group[formControl], und-radio-group[formControlName]',
@@ -835,4 +875,4 @@ export class UndControlError implements DoCheck {
835
875
  }
836
876
 
837
877
  /** Every value accessor and `UndControlError`, for a standalone component's `imports`. */
838
- export const UND_UI_FORMS = [UndCheckboxValueAccessor, UndCheckboxListValueAccessor, UndComboboxValueAccessor, UndDateInputValueAccessor, UndInputGroupValueAccessor, UndMultiSelectValueAccessor, UndNumberInputValueAccessor, UndRadioGroupValueAccessor, UndRadioListValueAccessor, UndSegmentedControlValueAccessor, UndSelectValueAccessor, UndSelectableCardValueAccessor, UndSliderValueAccessor, UndSwitchValueAccessor, UndTextFieldValueAccessor, UndTextareaValueAccessor, UndTimeInputValueAccessor, UndTokenizerValueAccessor, UndTypeaheadValueAccessor, UndControlError] as const;
878
+ export const UND_UI_FORMS = [UndCheckboxValueAccessor, UndCheckboxListValueAccessor, UndComboboxValueAccessor, UndDateInputValueAccessor, UndInputGroupValueAccessor, UndMultiSelectValueAccessor, UndNumberInputValueAccessor, UndPowerSearchValueAccessor, UndRadioGroupValueAccessor, UndRadioListValueAccessor, UndSegmentedControlValueAccessor, UndSelectValueAccessor, UndSelectableCardValueAccessor, UndSliderValueAccessor, UndSwitchValueAccessor, UndTextFieldValueAccessor, UndTextareaValueAccessor, UndTimeInputValueAccessor, UndTokenizerValueAccessor, UndTypeaheadValueAccessor, UndControlError] as const;
@@ -48,9 +48,12 @@ import { UndHeading } from './und-heading.js';
48
48
  import { UndHoverCard } from './und-hover-card.js';
49
49
  import { UndIcon } from './und-icon.js';
50
50
  import { UndIconButton } from './und-icon-button.js';
51
+ import { UndIndicator } from './und-indicator.js';
51
52
  import { UndInfoTip } from './und-info-tip.js';
52
53
  import { UndInputGroup } from './und-input-group.js';
54
+ import { UndItem } from './und-item.js';
53
55
  import { UndKbd } from './und-kbd.js';
56
+ import { UndLayout } from './und-layout.js';
54
57
  import { UndLightbox } from './und-lightbox.js';
55
58
  import { UndLink } from './und-link.js';
56
59
  import { UndList } from './und-list.js';
@@ -65,11 +68,16 @@ import { UndMetadataList } from './und-metadata-list.js';
65
68
  import { UndMobileNav } from './und-mobile-nav.js';
66
69
  import { UndMoreMenu } from './und-more-menu.js';
67
70
  import { UndMultiSelect } from './und-multi-select.js';
71
+ import { UndNavIcon } from './und-nav-icon.js';
72
+ import { UndNavItem } from './und-nav-item.js';
73
+ import { UndNavMenu } from './und-nav-menu.js';
74
+ import { UndNavMenuItem } from './und-nav-menu-item.js';
68
75
  import { UndNumberInput } from './und-number-input.js';
69
76
  import { UndOutline } from './und-outline.js';
70
77
  import { UndOverflowList } from './und-overflow-list.js';
71
78
  import { UndPagination } from './und-pagination.js';
72
79
  import { UndPopover } from './und-popover.js';
80
+ import { UndPowerSearch } from './und-power-search.js';
73
81
  import { UndProgress } from './und-progress.js';
74
82
  import { UndRadio } from './und-radio.js';
75
83
  import { UndRadioGroup } from './und-radio-group.js';
@@ -87,11 +95,14 @@ import { UndSideNavItem } from './und-side-nav-item.js';
87
95
  import { UndSideNavSection } from './und-side-nav-section.js';
88
96
  import { UndSkeleton } from './und-skeleton.js';
89
97
  import { UndSlider } from './und-slider.js';
98
+ import { UndSnapPaging } from './und-snap-paging.js';
90
99
  import { UndSpinner } from './und-spinner.js';
91
100
  import { UndStack } from './und-stack.js';
92
101
  import { UndStatusDot } from './und-status-dot.js';
93
102
  import { UndStep } from './und-step.js';
94
103
  import { UndStepper } from './und-stepper.js';
104
+ import { UndSwipe } from './und-swipe.js';
105
+ import { UndSwipeAction } from './und-swipe-action.js';
95
106
  import { UndSwitch } from './und-switch.js';
96
107
  import { UndTab } from './und-tab.js';
97
108
  import { UndTabMenu } from './und-tab-menu.js';
@@ -107,6 +118,7 @@ import { UndTimer } from './und-timer.js';
107
118
  import { UndTimestamp } from './und-timestamp.js';
108
119
  import { UndToast } from './und-toast.js';
109
120
  import { UndToaster } from './und-toaster.js';
121
+ import { UndToggleButton } from './und-toggle-button.js';
110
122
  import { UndToggleButtonGroup } from './und-toggle-button-group.js';
111
123
  import { UndToken } from './und-token.js';
112
124
  import { UndTokenizer } from './und-tokenizer.js';
@@ -167,9 +179,12 @@ export { UndHeading } from './und-heading.js';
167
179
  export { UndHoverCard } from './und-hover-card.js';
168
180
  export { UndIcon } from './und-icon.js';
169
181
  export { UndIconButton } from './und-icon-button.js';
182
+ export { UndIndicator } from './und-indicator.js';
170
183
  export { UndInfoTip } from './und-info-tip.js';
171
184
  export { UndInputGroup } from './und-input-group.js';
185
+ export { UndItem } from './und-item.js';
172
186
  export { UndKbd } from './und-kbd.js';
187
+ export { UndLayout } from './und-layout.js';
173
188
  export { UndLightbox } from './und-lightbox.js';
174
189
  export { UndLink } from './und-link.js';
175
190
  export { UndList } from './und-list.js';
@@ -184,11 +199,16 @@ export { UndMetadataList } from './und-metadata-list.js';
184
199
  export { UndMobileNav } from './und-mobile-nav.js';
185
200
  export { UndMoreMenu } from './und-more-menu.js';
186
201
  export { UndMultiSelect } from './und-multi-select.js';
202
+ export { UndNavIcon } from './und-nav-icon.js';
203
+ export { UndNavItem } from './und-nav-item.js';
204
+ export { UndNavMenu } from './und-nav-menu.js';
205
+ export { UndNavMenuItem } from './und-nav-menu-item.js';
187
206
  export { UndNumberInput } from './und-number-input.js';
188
207
  export { UndOutline } from './und-outline.js';
189
208
  export { UndOverflowList } from './und-overflow-list.js';
190
209
  export { UndPagination } from './und-pagination.js';
191
210
  export { UndPopover } from './und-popover.js';
211
+ export { UndPowerSearch } from './und-power-search.js';
192
212
  export { UndProgress } from './und-progress.js';
193
213
  export { UndRadio } from './und-radio.js';
194
214
  export { UndRadioGroup } from './und-radio-group.js';
@@ -206,11 +226,14 @@ export { UndSideNavItem } from './und-side-nav-item.js';
206
226
  export { UndSideNavSection } from './und-side-nav-section.js';
207
227
  export { UndSkeleton } from './und-skeleton.js';
208
228
  export { UndSlider } from './und-slider.js';
229
+ export { UndSnapPaging } from './und-snap-paging.js';
209
230
  export { UndSpinner } from './und-spinner.js';
210
231
  export { UndStack } from './und-stack.js';
211
232
  export { UndStatusDot } from './und-status-dot.js';
212
233
  export { UndStep } from './und-step.js';
213
234
  export { UndStepper } from './und-stepper.js';
235
+ export { UndSwipe } from './und-swipe.js';
236
+ export { UndSwipeAction } from './und-swipe-action.js';
214
237
  export { UndSwitch } from './und-switch.js';
215
238
  export { UndTab } from './und-tab.js';
216
239
  export { UndTabMenu } from './und-tab-menu.js';
@@ -226,6 +249,7 @@ export { UndTimer } from './und-timer.js';
226
249
  export { UndTimestamp } from './und-timestamp.js';
227
250
  export { UndToast } from './und-toast.js';
228
251
  export { UndToaster } from './und-toaster.js';
252
+ export { UndToggleButton } from './und-toggle-button.js';
229
253
  export { UndToggleButtonGroup } from './und-toggle-button-group.js';
230
254
  export { UndToken } from './und-token.js';
231
255
  export { UndTokenizer } from './und-tokenizer.js';
@@ -240,4 +264,4 @@ export { UndTypeahead } from './und-typeahead.js';
240
264
  export { UndVisuallyHidden } from './und-visually-hidden.js';
241
265
 
242
266
  /** Every UND UI component, for a standalone component's `imports`. */
243
- export const UND_UI_COMPONENTS = [UndAccordion, UndAlert, UndAppShell, UndAspectRatio, UndAvatar, UndAvatarGroup, UndBadge, UndBanner, UndBlockquote, UndBottomSheet, UndBreadcrumb, UndBreadcrumbItem, UndButton, UndButtonGroup, UndCalendar, UndCard, UndCarousel, UndCenter, UndChatComposer, UndChatLayout, UndChatMessage, UndCheckbox, UndCheckboxList, UndCitation, UndClickableCard, UndCode, UndCodeBlock, UndCollapsible, UndCombobox, UndCommandPalette, UndContextMenu, UndDateInput, UndDateRangeInput, UndDateTimeInput, UndDialog, UndDivider, UndDrawer, UndEmptyState, UndFileInput, UndFormField, UndFormLayout, UndGrid, UndGridItem, UndHeading, UndHoverCard, UndIcon, UndIconButton, UndInfoTip, UndInputGroup, UndKbd, UndLightbox, UndLink, UndList, UndListItem, UndMarkdown, UndMenu, UndMenuGroup, UndMenuItem, UndMenuSeparator, UndMetadataItem, UndMetadataList, UndMobileNav, UndMoreMenu, UndMultiSelect, UndNumberInput, UndOutline, UndOverflowList, UndPagination, UndPopover, UndProgress, UndRadio, UndRadioGroup, UndRadioList, UndResizeHandle, UndScrollArea, UndSection, UndSegmentedControl, UndSegmentedControlItem, UndSelect, UndSelectableCard, UndSideNav, UndSideNavHeading, UndSideNavItem, UndSideNavSection, UndSkeleton, UndSlider, UndSpinner, UndStack, UndStatusDot, UndStep, UndStepper, UndSwitch, UndTab, UndTabMenu, UndTabPanel, UndTable, UndTabs, UndText, UndTextField, UndTextarea, UndThumbnail, UndTimeInput, UndTimer, UndTimestamp, UndToast, UndToaster, UndToggleButtonGroup, UndToken, UndTokenizer, UndToolbar, UndTooltip, UndTopNav, UndTopNavItem, UndTopNavMenu, UndTreeItem, UndTreeList, UndTypeahead, UndVisuallyHidden] as const;
267
+ export const UND_UI_COMPONENTS = [UndAccordion, UndAlert, UndAppShell, UndAspectRatio, UndAvatar, UndAvatarGroup, UndBadge, UndBanner, UndBlockquote, UndBottomSheet, UndBreadcrumb, UndBreadcrumbItem, UndButton, UndButtonGroup, UndCalendar, UndCard, UndCarousel, UndCenter, UndChatComposer, UndChatLayout, UndChatMessage, UndCheckbox, UndCheckboxList, UndCitation, UndClickableCard, UndCode, UndCodeBlock, UndCollapsible, UndCombobox, UndCommandPalette, UndContextMenu, UndDateInput, UndDateRangeInput, UndDateTimeInput, UndDialog, UndDivider, UndDrawer, UndEmptyState, UndFileInput, UndFormField, UndFormLayout, UndGrid, UndGridItem, UndHeading, UndHoverCard, UndIcon, UndIconButton, UndIndicator, UndInfoTip, UndInputGroup, UndItem, UndKbd, UndLayout, UndLightbox, UndLink, UndList, UndListItem, UndMarkdown, UndMenu, UndMenuGroup, UndMenuItem, UndMenuSeparator, UndMetadataItem, UndMetadataList, UndMobileNav, UndMoreMenu, UndMultiSelect, UndNavIcon, UndNavItem, UndNavMenu, UndNavMenuItem, UndNumberInput, UndOutline, UndOverflowList, UndPagination, UndPopover, UndPowerSearch, UndProgress, UndRadio, UndRadioGroup, UndRadioList, UndResizeHandle, UndScrollArea, UndSection, UndSegmentedControl, UndSegmentedControlItem, UndSelect, UndSelectableCard, UndSideNav, UndSideNavHeading, UndSideNavItem, UndSideNavSection, UndSkeleton, UndSlider, UndSnapPaging, UndSpinner, UndStack, UndStatusDot, UndStep, UndStepper, UndSwipe, UndSwipeAction, UndSwitch, UndTab, UndTabMenu, UndTabPanel, UndTable, UndTabs, UndText, UndTextField, UndTextarea, UndThumbnail, UndTimeInput, UndTimer, UndTimestamp, UndToast, UndToaster, UndToggleButton, UndToggleButtonGroup, UndToken, UndTokenizer, UndToolbar, UndTooltip, UndTopNav, UndTopNavItem, UndTopNavMenu, UndTreeItem, UndTreeList, UndTypeahead, UndVisuallyHidden] as const;
@@ -0,0 +1,51 @@
1
+ // GENERATED FILE. DO NOT EDIT.
2
+ // Source: @und-ui/richtext custom-elements.json, via tools/codegen/wrappers.mjs.
3
+ // Run `pnpm codegen` (or `pnpm build`) after changing a component.
4
+ // ControlValueAccessor directives: ngModel, formControl and formControlName on
5
+ // UND UI form controls. Import from `@und-ui/angular/richtext/forms` (needs @angular/forms).
6
+ import { Directive, ElementRef, forwardRef, inject } from '@angular/core';
7
+ import { NG_VALUE_ACCESSOR, type ControlValueAccessor } from '@angular/forms';
8
+ import type { UndRichTextEditor as UndRichTextEditorElement } from '@und-ui/richtext';
9
+
10
+ /** Connects `<und-rich-text-editor>` to Angular forms through `value`. */
11
+ @Directive({
12
+ selector: 'und-rich-text-editor[ngModel], und-rich-text-editor[formControl], und-rich-text-editor[formControlName]',
13
+ host: {
14
+ '(input)': 'onUserChange($event)',
15
+ '(compositionend)': 'onUserChange($event)',
16
+ '(focusout)': 'onTouched()',
17
+ },
18
+ providers: [
19
+ { provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => UndRichTextEditorValueAccessor), multi: true },
20
+ ],
21
+ })
22
+ export class UndRichTextEditorValueAccessor implements ControlValueAccessor {
23
+ readonly #el: UndRichTextEditorElement = inject<ElementRef<UndRichTextEditorElement>>(ElementRef).nativeElement;
24
+ #onChange: (value: UndRichTextEditorElement['value']) => void = () => {};
25
+ onTouched: () => void = () => {};
26
+
27
+ writeValue(value: UndRichTextEditorElement['value'] | null): void {
28
+ this.#el.value = value ?? '';
29
+ }
30
+
31
+ registerOnChange(fn: (value: UndRichTextEditorElement['value']) => void): void {
32
+ this.#onChange = fn;
33
+ }
34
+
35
+ registerOnTouched(fn: () => void): void {
36
+ this.onTouched = fn;
37
+ }
38
+
39
+ setDisabledState(disabled: boolean): void {
40
+ this.#el.disabled = disabled;
41
+ }
42
+
43
+ /** @internal IME: composing input events are skipped; compositionend commits. */
44
+ onUserChange(event: Event): void {
45
+ if ((event as InputEvent).isComposing) return;
46
+ this.#onChange(this.#el.value);
47
+ }
48
+ }
49
+
50
+ /** Every value accessor, for a standalone component's `imports`. */
51
+ export const UND_UI_RICHTEXT_FORMS = [UndRichTextEditorValueAccessor] as const;
@@ -0,0 +1,9 @@
1
+ // GENERATED FILE. DO NOT EDIT.
2
+ // Source: @und-ui/richtext custom-elements.json, via tools/codegen/wrappers.mjs.
3
+ // Run `pnpm codegen` (or `pnpm build`) after changing a component.
4
+ import { UndRichTextEditor } from './und-rich-text-editor.js';
5
+
6
+ export { UndRichTextEditor } from './und-rich-text-editor.js';
7
+
8
+ /** Every @und-ui/richtext component, for a standalone component's `imports`. */
9
+ export const UND_UI_RICHTEXT_COMPONENTS = [UndRichTextEditor] as const;
@@ -0,0 +1,100 @@
1
+ // GENERATED FILE. DO NOT EDIT.
2
+ // Source: @und-ui/richtext custom-elements.json, via tools/codegen/wrappers.mjs.
3
+ // Run `pnpm codegen` (or `pnpm build`) after changing a component.
4
+ import { booleanAttribute, ChangeDetectionStrategy, Component, ElementRef, Input, inject } from '@angular/core';
5
+ import '@und-ui/richtext/rich-text-editor.js';
6
+ import type { UndRichTextEditor as UndRichTextEditorElement } from '@und-ui/richtext';
7
+
8
+ /** A small, security-first rich text editor with Markdown shortcuts.
9
+ *
10
+ * Native events (`input`, `change`) are not outputs: bind them on the
11
+ * element as usual, for example `(input)="..."`. */
12
+ @Component({
13
+ selector: 'und-rich-text-editor',
14
+ template: '<ng-content></ng-content>',
15
+ changeDetection: ChangeDetectionStrategy.OnPush,
16
+ })
17
+ export class UndRichTextEditor {
18
+ readonly #el: UndRichTextEditorElement = inject<ElementRef<UndRichTextEditorElement>>(ElementRef).nativeElement;
19
+
20
+ /** Accessible name (and visible label) of the editing area. */
21
+ @Input()
22
+ set label(value: UndRichTextEditorElement['label']) {
23
+ this.#el.label = value;
24
+ }
25
+ get label(): UndRichTextEditorElement['label'] {
26
+ return this.#el.label;
27
+ }
28
+
29
+ /** Text shown while the editor is empty. */
30
+ @Input()
31
+ set placeholder(value: UndRichTextEditorElement['placeholder']) {
32
+ this.#el.placeholder = value;
33
+ }
34
+ get placeholder(): UndRichTextEditorElement['placeholder'] {
35
+ return this.#el.placeholder;
36
+ }
37
+
38
+ /** Form field name for the sanitized HTML. */
39
+ @Input()
40
+ set name(value: UndRichTextEditorElement['name']) {
41
+ this.#el.name = value;
42
+ }
43
+ get name(): UndRichTextEditorElement['name'] {
44
+ return this.#el.name;
45
+ }
46
+
47
+ /** Form field name for the Markdown version (optional). */
48
+ @Input()
49
+ set markdownName(value: UndRichTextEditorElement['markdownName']) {
50
+ this.#el.markdownName = value;
51
+ }
52
+ get markdownName(): UndRichTextEditorElement['markdownName'] {
53
+ return this.#el.markdownName;
54
+ }
55
+
56
+ /** Disables editing and the toolbar. A disabled ancestor fieldset also disables it. */
57
+ @Input({ transform: booleanAttribute })
58
+ set disabled(value: boolean) {
59
+ this.#el.disabled = value;
60
+ }
61
+ get disabled(): UndRichTextEditorElement['disabled'] {
62
+ return this.#el.disabled;
63
+ }
64
+
65
+ /** Shows the content without allowing edits. */
66
+ @Input({ transform: booleanAttribute })
67
+ set readOnly(value: boolean) {
68
+ this.#el.readOnly = value;
69
+ }
70
+ get readOnly(): UndRichTextEditorElement['readOnly'] {
71
+ return this.#el.readOnly;
72
+ }
73
+
74
+ /** Requires some text before the form submits. */
75
+ @Input({ transform: booleanAttribute })
76
+ set required(value: boolean) {
77
+ this.#el.required = value;
78
+ }
79
+ get required(): UndRichTextEditorElement['required'] {
80
+ return this.#el.required;
81
+ }
82
+
83
+ /** Hides the toolbar (keyboard shortcuts and Markdown shortcuts still work). */
84
+ @Input({ transform: booleanAttribute })
85
+ set noToolbar(value: boolean) {
86
+ this.#el.noToolbar = value;
87
+ }
88
+ get noToolbar(): UndRichTextEditorElement['noToolbar'] {
89
+ return this.#el.noToolbar;
90
+ }
91
+
92
+ /** The content as sanitized HTML. Setting it sanitizes the input (never trust it), so assigning user or server HTML is safe. */
93
+ @Input()
94
+ set value(value: UndRichTextEditorElement['value']) {
95
+ this.#el.value = value;
96
+ }
97
+ get value(): UndRichTextEditorElement['value'] {
98
+ return this.#el.value;
99
+ }
100
+ }
@@ -23,7 +23,7 @@ export class UndAspectRatio {
23
23
  return this.#el.ratio;
24
24
  }
25
25
 
26
- /** How an image or video fills the box: `cover` (default), `contain`, `fill`. */
26
+ /** How the child fills the box: `cover` (default), `contain`, `fill`, or `center` (natural size, centered). */
27
27
  @Input()
28
28
  set fit(value: UndAspectRatioElement['fit']) {
29
29
  this.#el.fit = value;
@@ -31,4 +31,13 @@ export class UndAspectRatio {
31
31
  get fit(): UndAspectRatioElement['fit'] {
32
32
  return this.#el.fit;
33
33
  }
34
+
35
+ /** Shape of the box: `rectangle` (default) or `ellipse` (a circle at `1/1`). */
36
+ @Input()
37
+ set shape(value: UndAspectRatioElement['shape']) {
38
+ this.#el.shape = value;
39
+ }
40
+ get shape(): UndAspectRatioElement['shape'] {
41
+ return this.#el.shape;
42
+ }
34
43
  }
@@ -32,7 +32,7 @@ export class UndAvatarGroup {
32
32
  return this.#el.max;
33
33
  }
34
34
 
35
- /** Size of the "+N" counter; match it to the avatars. */
35
+ /** Size of the overlap and of the "+N" counter; match it to the avatars. */
36
36
  @Input()
37
37
  set size(value: UndAvatarGroupElement['size']) {
38
38
  this.#el.size = value;
@@ -41,6 +41,15 @@ export class UndAvatarGroup {
41
41
  return this.#el.size;
42
42
  }
43
43
 
44
+ /** Corner style of the rings and the "+N" counter; match it to the avatars. */
45
+ @Input()
46
+ set shape(value: UndAvatarGroupElement['shape']) {
47
+ this.#el.shape = value;
48
+ }
49
+ get shape(): UndAvatarGroupElement['shape'] {
50
+ return this.#el.shape;
51
+ }
52
+
44
53
  /** Spoken text of the counter; `{count}` is replaced by the hidden count. */
45
54
  @Input()
46
55
  set moreLabel(value: UndAvatarGroupElement['moreLabel']) {
@@ -32,7 +32,7 @@ export class UndAvatar {
32
32
  return this.#el.name;
33
33
  }
34
34
 
35
- /** Size of the avatar. */
35
+ /** Size of the avatar: `xs` 20px, `sm` 24px, `md` 36px, `lg` 48px, `xl` 128px. */
36
36
  @Input()
37
37
  set size(value: UndAvatarElement['size']) {
38
38
  this.#el.size = value;
@@ -41,7 +41,7 @@ export class UndAvatar {
41
41
  return this.#el.size;
42
42
  }
43
43
 
44
- /** Corner style. */
44
+ /** Corner style: `circle`, `rounded` (8px corners) or `square`. */
45
45
  @Input()
46
46
  set shape(value: UndAvatarElement['shape']) {
47
47
  this.#el.shape = value;
@@ -50,7 +50,7 @@ export class UndAvatar {
50
50
  return this.#el.shape;
51
51
  }
52
52
 
53
- /** Presence indicator. It is part of the accessible name, not color only. */
53
+ /** Presence indicator. It is part of the accessible name, and each status has its own look besides colour (offline is a hollow ring, busy a minus bar). */
54
54
  @Input()
55
55
  set status(value: UndAvatarElement['status']) {
56
56
  this.#el.status = value;
@@ -49,4 +49,13 @@ export class UndBadge {
49
49
  get dot(): UndBadgeElement['dot'] {
50
50
  return this.#el.dot;
51
51
  }
52
+
53
+ /** Categorical colour (a tinted fill with dark text); overrides `tone`. */
54
+ @Input()
55
+ set color(value: UndBadgeElement['color']) {
56
+ this.#el.color = value;
57
+ }
58
+ get color(): UndBadgeElement['color'] {
59
+ return this.#el.color;
60
+ }
52
61
  }
@@ -68,6 +68,33 @@ export class UndBanner {
68
68
  return this.#el.dismissLabel;
69
69
  }
70
70
 
71
+ /** A short heading above the message (use the `heading` slot for rich content). With a heading, the message is set smaller, as its description. */
72
+ @Input()
73
+ set heading(value: UndBannerElement['heading']) {
74
+ this.#el.heading = value;
75
+ }
76
+ get heading(): UndBannerElement['heading'] {
77
+ return this.#el.heading;
78
+ }
79
+
80
+ /** `section` (default): square, for the top of a page or section. `card`: rounded, for a banner inside the page flow. */
81
+ @Input()
82
+ set container(value: UndBannerElement['container']) {
83
+ this.#el.container = value;
84
+ }
85
+ get container(): UndBannerElement['container'] {
86
+ return this.#el.container;
87
+ }
88
+
89
+ /** Shadow depth (`none`, `low`, `med`, `high`), for a floating banner. */
90
+ @Input()
91
+ set elevation(value: UndBannerElement['elevation']) {
92
+ this.#el.elevation = value;
93
+ }
94
+ get elevation(): UndBannerElement['elevation'] {
95
+ return this.#el.elevation;
96
+ }
97
+
71
98
  /** Before the banner hides after the dismiss button is pressed. Cancelable: call `preventDefault()` to keep it visible. */
72
99
  @Output() readonly undDismiss = new EventEmitter<CustomEvent<unknown>>();
73
100
 
@@ -77,7 +77,7 @@ export class UndBottomSheet {
77
77
  return this.#el.variant;
78
78
  }
79
79
 
80
- /** Preferred width. */
80
+ /** Preferred width: `sm` 320px, `md` 400px (default), `lg` 640px, or `full` for a full-screen dialog that fades in without moving. */
81
81
  @Input()
82
82
  set size(value: UndBottomSheetElement['size']) {
83
83
  this.#el.size = value;
@@ -104,6 +104,15 @@ export class UndBottomSheet {
104
104
  return this.#el.label;
105
105
  }
106
106
 
107
+ /** A short plain-text description shown under the title and announced with it. Use the `description` slot for rich content. */
108
+ @Input()
109
+ set description(value: UndBottomSheetElement['description']) {
110
+ this.#el.description = value;
111
+ }
112
+ get description(): UndBottomSheetElement['description'] {
113
+ return this.#el.description;
114
+ }
115
+
107
116
  /** CSS selector (inside the dialog content) of the element to focus on open. Defaults to an `[autofocus]` element, then the first focusable element. */
108
117
  @Input()
109
118
  set initialFocus(value: UndBottomSheetElement['initialFocus']) {
@@ -14,6 +14,15 @@ import type { UndBreadcrumb as UndBreadcrumbElement } from '@und-ui/core';
14
14
  export class UndBreadcrumb {
15
15
  readonly #el: UndBreadcrumbElement = inject<ElementRef<UndBreadcrumbElement>>(ElementRef).nativeElement;
16
16
 
17
+ /** Glyph between the steps: `slash` (default) or `chevron`. */
18
+ @Input()
19
+ set separator(value: UndBreadcrumbElement['separator']) {
20
+ this.#el.separator = value;
21
+ }
22
+ get separator(): UndBreadcrumbElement['separator'] {
23
+ return this.#el.separator;
24
+ }
25
+
17
26
  /** Accessible name of the navigation landmark (localise it). */
18
27
  @Input()
19
28
  set label(value: UndBreadcrumbElement['label']) {
@@ -14,7 +14,7 @@ import type { UndCard as UndCardElement } from '@und-ui/core';
14
14
  export class UndCard {
15
15
  readonly #el: UndCardElement = inject<ElementRef<UndCardElement>>(ElementRef).nativeElement;
16
16
 
17
- /** Surface style. */
17
+ /** Surface style. `default` (and its alias `outlined`) is a surface with a hairline border; `muted` (alias `filled`) is a tinted surface without a border; `transparent` has neither; `elevated` is `default` with a low shadow. */
18
18
  @Input()
19
19
  set variant(value: UndCardElement['variant']) {
20
20
  this.#el.variant = value;
@@ -23,6 +23,15 @@ export class UndCard {
23
23
  return this.#el.variant;
24
24
  }
25
25
 
26
+ /** Resting shadow depth (`none`, `low`, `med`, `high`). Overrides the shadow of `variant="elevated"`. */
27
+ @Input()
28
+ set elevation(value: UndCardElement['elevation']) {
29
+ this.#el.elevation = value;
30
+ }
31
+ get elevation(): UndCardElement['elevation'] {
32
+ return this.#el.elevation;
33
+ }
34
+
26
35
  /** Level of the heading (1 to 6), so the card fits the page outline. */
27
36
  @Input()
28
37
  set headingLevel(value: UndCardElement['headingLevel']) {
@@ -50,6 +50,42 @@ export class UndCarousel {
50
50
  return this.#el.loop;
51
51
  }
52
52
 
53
+ /** `slide` (default) shows one slide at a time; `scroll` shows a horizontal scroll strip of slides. */
54
+ @Input()
55
+ set layout(value: UndCarouselElement['layout']) {
56
+ this.#el.layout = value;
57
+ }
58
+ get layout(): UndCarouselElement['layout'] {
59
+ return this.#el.layout;
60
+ }
61
+
62
+ /** With `layout="scroll"`: how many slides fill one view. Unset (0) keeps each slide at its own width. */
63
+ @Input()
64
+ set slidesPerView(value: UndCarouselElement['slidesPerView']) {
65
+ this.#el.slidesPerView = value;
66
+ }
67
+ get slidesPerView(): UndCarouselElement['slidesPerView'] {
68
+ return this.#el.slidesPerView;
69
+ }
70
+
71
+ /** With `layout="scroll"` and `slides-per-view`: leave room so part of the next slide shows. */
72
+ @Input({ transform: booleanAttribute })
73
+ set peek(value: boolean) {
74
+ this.#el.peek = value;
75
+ }
76
+ get peek(): UndCarouselElement['peek'] {
77
+ return this.#el.peek;
78
+ }
79
+
80
+ /** With `layout="scroll"`: snap slides to the start edge. */
81
+ @Input({ transform: booleanAttribute })
82
+ set snap(value: boolean) {
83
+ this.#el.snap = value;
84
+ }
85
+ get snap(): UndCarouselElement['snap'] {
86
+ return this.#el.snap;
87
+ }
88
+
53
89
  /** Rotate automatically. Off by default; see the class description. */
54
90
  @Input({ transform: booleanAttribute })
55
91
  set autoplay(value: boolean) {
@@ -40,4 +40,85 @@ export class UndCenter {
40
40
  get text(): UndCenterElement['text'] {
41
41
  return this.#el.text;
42
42
  }
43
+
44
+ /** Astryx flex centering: `both`, `horizontal` or `vertical`. Unset keeps the max-width column. */
45
+ @Input()
46
+ set axis(value: UndCenterElement['axis']) {
47
+ this.#el.axis = value;
48
+ }
49
+ get axis(): UndCenterElement['axis'] {
50
+ return this.#el.axis;
51
+ }
52
+
53
+ /** An inline flex box that centers its content (both axes unless `axis` says otherwise). */
54
+ @Input({ transform: booleanAttribute })
55
+ set inline(value: boolean) {
56
+ this.#el.inline = value;
57
+ }
58
+ get inline(): UndCenterElement['inline'] {
59
+ return this.#el.inline;
60
+ }
61
+
62
+ /** Padding on every side, a space step (`0`, `0.5`, `1`, `1.5`, `2` ... `32`). Replaces the gutter. */
63
+ @Input()
64
+ set padding(value: UndCenterElement['padding']) {
65
+ this.#el.padding = value;
66
+ }
67
+ get padding(): UndCenterElement['padding'] {
68
+ return this.#el.padding;
69
+ }
70
+
71
+ /** Inline (start and end) padding, a space step. Wins over `padding`. */
72
+ @Input()
73
+ set paddingInline(value: UndCenterElement['paddingInline']) {
74
+ this.#el.paddingInline = value;
75
+ }
76
+ get paddingInline(): UndCenterElement['paddingInline'] {
77
+ return this.#el.paddingInline;
78
+ }
79
+
80
+ /** Block (top and bottom) padding, a space step. Wins over `padding`. */
81
+ @Input()
82
+ set paddingBlock(value: UndCenterElement['paddingBlock']) {
83
+ this.#el.paddingBlock = value;
84
+ }
85
+ get paddingBlock(): UndCenterElement['paddingBlock'] {
86
+ return this.#el.paddingBlock;
87
+ }
88
+
89
+ /** Inline-start padding, a space step. Wins over `padding-inline`. */
90
+ @Input()
91
+ set paddingInlineStart(value: UndCenterElement['paddingInlineStart']) {
92
+ this.#el.paddingInlineStart = value;
93
+ }
94
+ get paddingInlineStart(): UndCenterElement['paddingInlineStart'] {
95
+ return this.#el.paddingInlineStart;
96
+ }
97
+
98
+ /** Inline-end padding, a space step. Wins over `padding-inline`. */
99
+ @Input()
100
+ set paddingInlineEnd(value: UndCenterElement['paddingInlineEnd']) {
101
+ this.#el.paddingInlineEnd = value;
102
+ }
103
+ get paddingInlineEnd(): UndCenterElement['paddingInlineEnd'] {
104
+ return this.#el.paddingInlineEnd;
105
+ }
106
+
107
+ /** Block-start padding, a space step. Wins over `padding-block`. */
108
+ @Input()
109
+ set paddingBlockStart(value: UndCenterElement['paddingBlockStart']) {
110
+ this.#el.paddingBlockStart = value;
111
+ }
112
+ get paddingBlockStart(): UndCenterElement['paddingBlockStart'] {
113
+ return this.#el.paddingBlockStart;
114
+ }
115
+
116
+ /** Block-end padding, a space step. Wins over `padding-block`. */
117
+ @Input()
118
+ set paddingBlockEnd(value: UndCenterElement['paddingBlockEnd']) {
119
+ this.#el.paddingBlockEnd = value;
120
+ }
121
+ get paddingBlockEnd(): UndCenterElement['paddingBlockEnd'] {
122
+ return this.#el.paddingBlockEnd;
123
+ }
43
124
  }