@ojiepermana/angular 21.3.3 → 22.0.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 (291) hide show
  1. package/README.md +10 -6
  2. package/component/accordion/README.md +195 -0
  3. package/component/alert/README.md +182 -0
  4. package/component/alert-dialog/README.md +239 -0
  5. package/component/aspect-ratio/README.md +112 -0
  6. package/component/avatar/README.md +176 -0
  7. package/component/badge/README.md +133 -0
  8. package/component/breadcrumb/README.md +216 -0
  9. package/component/button/README.md +139 -0
  10. package/component/button-group/README.md +208 -0
  11. package/component/calendar/README.md +132 -0
  12. package/component/card/README.md +220 -0
  13. package/component/carousel/README.md +276 -0
  14. package/component/checkbox/README.md +149 -0
  15. package/component/collapsible/README.md +195 -0
  16. package/component/combobox/README.md +198 -0
  17. package/component/command/README.md +275 -0
  18. package/component/composer/README.md +235 -0
  19. package/component/composer/package.json +4 -0
  20. package/component/context-menu/README.md +267 -0
  21. package/component/date-picker/README.md +177 -0
  22. package/component/dialog/README.md +237 -0
  23. package/component/drawer/README.md +145 -0
  24. package/component/dropdown-menu/README.md +311 -0
  25. package/component/editor/README.md +136 -0
  26. package/component/editor/package.json +4 -0
  27. package/component/empty/README.md +183 -0
  28. package/component/empty/package.json +4 -0
  29. package/component/form/README.md +210 -0
  30. package/component/hover-card/README.md +146 -0
  31. package/component/hover-card/package.json +4 -0
  32. package/component/input/README.md +159 -0
  33. package/component/input-group/README.md +239 -0
  34. package/component/input-otp/README.md +278 -0
  35. package/component/input-otp/package.json +4 -0
  36. package/component/item/README.md +247 -0
  37. package/component/kanban/README.md +81 -0
  38. package/component/kanban/package.json +4 -0
  39. package/component/kbd/README.md +139 -0
  40. package/component/kbd/package.json +4 -0
  41. package/component/label/README.md +136 -0
  42. package/component/menubar/README.md +269 -0
  43. package/component/menubar/package.json +4 -0
  44. package/component/native-select/README.md +176 -0
  45. package/component/native-select/package.json +4 -0
  46. package/component/navigation-menu/README.md +160 -0
  47. package/component/navigation-menu/package.json +4 -0
  48. package/component/pagination/README.md +144 -0
  49. package/component/pillbox/README.md +67 -0
  50. package/component/pillbox/package.json +4 -0
  51. package/component/popover/README.md +43 -0
  52. package/component/progress/README.md +160 -0
  53. package/component/radio/README.md +209 -0
  54. package/component/resizable/README.md +168 -0
  55. package/component/resizable/package.json +4 -0
  56. package/component/scroll-area/README.md +143 -0
  57. package/component/select/README.md +174 -0
  58. package/component/separator/README.md +170 -0
  59. package/component/sheet/README.md +183 -0
  60. package/component/skeleton/README.md +158 -0
  61. package/component/slider/README.md +207 -0
  62. package/component/spinner/README.md +160 -0
  63. package/component/spinner/package.json +4 -0
  64. package/component/switch/README.md +166 -0
  65. package/component/table/README.md +291 -0
  66. package/component/tabs/README.md +219 -0
  67. package/component/textarea/README.md +154 -0
  68. package/component/timeline/README.md +94 -0
  69. package/component/timeline/package.json +4 -0
  70. package/component/toast/README.md +321 -0
  71. package/component/toggle/README.md +131 -0
  72. package/component/toggle/package.json +4 -0
  73. package/component/toggle-group/README.md +206 -0
  74. package/component/toggle-group/package.json +4 -0
  75. package/component/tooltip/README.md +211 -0
  76. package/fesm2022/ojiepermana-angular-component-accordion.mjs +45 -30
  77. package/fesm2022/ojiepermana-angular-component-accordion.mjs.map +1 -1
  78. package/fesm2022/ojiepermana-angular-component-alert-dialog.mjs +95 -61
  79. package/fesm2022/ojiepermana-angular-component-alert-dialog.mjs.map +1 -1
  80. package/fesm2022/ojiepermana-angular-component-alert.mjs +30 -21
  81. package/fesm2022/ojiepermana-angular-component-alert.mjs.map +1 -1
  82. package/fesm2022/ojiepermana-angular-component-aspect-ratio.mjs +11 -7
  83. package/fesm2022/ojiepermana-angular-component-aspect-ratio.mjs.map +1 -1
  84. package/fesm2022/ojiepermana-angular-component-avatar.mjs +50 -34
  85. package/fesm2022/ojiepermana-angular-component-avatar.mjs.map +1 -1
  86. package/fesm2022/ojiepermana-angular-component-badge.mjs +9 -6
  87. package/fesm2022/ojiepermana-angular-component-badge.mjs.map +1 -1
  88. package/fesm2022/ojiepermana-angular-component-breadcrumb.mjs +49 -35
  89. package/fesm2022/ojiepermana-angular-component-breadcrumb.mjs.map +1 -1
  90. package/fesm2022/ojiepermana-angular-component-button-group.mjs +25 -17
  91. package/fesm2022/ojiepermana-angular-component-button-group.mjs.map +1 -1
  92. package/fesm2022/ojiepermana-angular-component-button.mjs +11 -7
  93. package/fesm2022/ojiepermana-angular-component-button.mjs.map +1 -1
  94. package/fesm2022/ojiepermana-angular-component-calendar.mjs +23 -13
  95. package/fesm2022/ojiepermana-angular-component-calendar.mjs.map +1 -1
  96. package/fesm2022/ojiepermana-angular-component-card.mjs +51 -36
  97. package/fesm2022/ojiepermana-angular-component-card.mjs.map +1 -1
  98. package/fesm2022/ojiepermana-angular-component-carousel.mjs +66 -42
  99. package/fesm2022/ojiepermana-angular-component-carousel.mjs.map +1 -1
  100. package/fesm2022/ojiepermana-angular-component-chart.mjs +494 -283
  101. package/fesm2022/ojiepermana-angular-component-chart.mjs.map +1 -1
  102. package/fesm2022/ojiepermana-angular-component-checkbox.mjs +23 -13
  103. package/fesm2022/ojiepermana-angular-component-checkbox.mjs.map +1 -1
  104. package/fesm2022/ojiepermana-angular-component-collapsible.mjs +28 -20
  105. package/fesm2022/ojiepermana-angular-component-collapsible.mjs.map +1 -1
  106. package/fesm2022/ojiepermana-angular-component-combobox.mjs +27 -18
  107. package/fesm2022/ojiepermana-angular-component-combobox.mjs.map +1 -1
  108. package/fesm2022/ojiepermana-angular-component-command.mjs +77 -52
  109. package/fesm2022/ojiepermana-angular-component-command.mjs.map +1 -1
  110. package/fesm2022/ojiepermana-angular-component-composer.mjs +352 -0
  111. package/fesm2022/ojiepermana-angular-component-composer.mjs.map +1 -0
  112. package/fesm2022/ojiepermana-angular-component-context-menu.mjs +9 -6
  113. package/fesm2022/ojiepermana-angular-component-context-menu.mjs.map +1 -1
  114. package/fesm2022/ojiepermana-angular-component-date-picker.mjs +34 -19
  115. package/fesm2022/ojiepermana-angular-component-date-picker.mjs.map +1 -1
  116. package/fesm2022/ojiepermana-angular-component-dialog.mjs +55 -38
  117. package/fesm2022/ojiepermana-angular-component-dialog.mjs.map +1 -1
  118. package/fesm2022/ojiepermana-angular-component-drawer.mjs.map +1 -1
  119. package/fesm2022/ojiepermana-angular-component-dropdown-menu.mjs +108 -74
  120. package/fesm2022/ojiepermana-angular-component-dropdown-menu.mjs.map +1 -1
  121. package/fesm2022/ojiepermana-angular-component-editor.mjs +717 -0
  122. package/fesm2022/ojiepermana-angular-component-editor.mjs.map +1 -0
  123. package/fesm2022/ojiepermana-angular-component-empty.mjs +145 -0
  124. package/fesm2022/ojiepermana-angular-component-empty.mjs.map +1 -0
  125. package/fesm2022/ojiepermana-angular-component-form.mjs +200 -42
  126. package/fesm2022/ojiepermana-angular-component-form.mjs.map +1 -1
  127. package/fesm2022/ojiepermana-angular-component-hover-card.mjs +297 -0
  128. package/fesm2022/ojiepermana-angular-component-hover-card.mjs.map +1 -0
  129. package/fesm2022/ojiepermana-angular-component-input-group.mjs +48 -33
  130. package/fesm2022/ojiepermana-angular-component-input-group.mjs.map +1 -1
  131. package/fesm2022/ojiepermana-angular-component-input-otp.mjs +514 -0
  132. package/fesm2022/ojiepermana-angular-component-input-otp.mjs.map +1 -0
  133. package/fesm2022/ojiepermana-angular-component-input.mjs +7 -5
  134. package/fesm2022/ojiepermana-angular-component-input.mjs.map +1 -1
  135. package/fesm2022/ojiepermana-angular-component-item.mjs +76 -53
  136. package/fesm2022/ojiepermana-angular-component-item.mjs.map +1 -1
  137. package/fesm2022/ojiepermana-angular-component-kanban.mjs +314 -0
  138. package/fesm2022/ojiepermana-angular-component-kanban.mjs.map +1 -0
  139. package/fesm2022/ojiepermana-angular-component-kbd.mjs +55 -0
  140. package/fesm2022/ojiepermana-angular-component-kbd.mjs.map +1 -0
  141. package/fesm2022/ojiepermana-angular-component-label.mjs +9 -6
  142. package/fesm2022/ojiepermana-angular-component-label.mjs.map +1 -1
  143. package/fesm2022/ojiepermana-angular-component-menubar.mjs +308 -0
  144. package/fesm2022/ojiepermana-angular-component-menubar.mjs.map +1 -0
  145. package/fesm2022/ojiepermana-angular-component-native-select.mjs +67 -0
  146. package/fesm2022/ojiepermana-angular-component-native-select.mjs.map +1 -0
  147. package/fesm2022/ojiepermana-angular-component-navigation-menu.mjs +413 -0
  148. package/fesm2022/ojiepermana-angular-component-navigation-menu.mjs.map +1 -0
  149. package/fesm2022/ojiepermana-angular-component-pagination.mjs +65 -31
  150. package/fesm2022/ojiepermana-angular-component-pagination.mjs.map +1 -1
  151. package/fesm2022/ojiepermana-angular-component-pillbox.mjs +812 -0
  152. package/fesm2022/ojiepermana-angular-component-pillbox.mjs.map +1 -0
  153. package/fesm2022/ojiepermana-angular-component-popover.mjs +18 -12
  154. package/fesm2022/ojiepermana-angular-component-popover.mjs.map +1 -1
  155. package/fesm2022/ojiepermana-angular-component-progress.mjs +17 -10
  156. package/fesm2022/ojiepermana-angular-component-progress.mjs.map +1 -1
  157. package/fesm2022/ojiepermana-angular-component-radio.mjs +47 -17
  158. package/fesm2022/ojiepermana-angular-component-radio.mjs.map +1 -1
  159. package/fesm2022/ojiepermana-angular-component-resizable.mjs +481 -0
  160. package/fesm2022/ojiepermana-angular-component-resizable.mjs.map +1 -0
  161. package/fesm2022/ojiepermana-angular-component-scroll-area.mjs +15 -9
  162. package/fesm2022/ojiepermana-angular-component-scroll-area.mjs.map +1 -1
  163. package/fesm2022/ojiepermana-angular-component-select.mjs +71 -26
  164. package/fesm2022/ojiepermana-angular-component-select.mjs.map +1 -1
  165. package/fesm2022/ojiepermana-angular-component-separator.mjs +11 -7
  166. package/fesm2022/ojiepermana-angular-component-separator.mjs.map +1 -1
  167. package/fesm2022/ojiepermana-angular-component-sheet.mjs +91 -42
  168. package/fesm2022/ojiepermana-angular-component-sheet.mjs.map +1 -1
  169. package/fesm2022/ojiepermana-angular-component-skeleton.mjs +7 -5
  170. package/fesm2022/ojiepermana-angular-component-skeleton.mjs.map +1 -1
  171. package/fesm2022/ojiepermana-angular-component-slider.mjs +401 -7
  172. package/fesm2022/ojiepermana-angular-component-slider.mjs.map +1 -1
  173. package/fesm2022/ojiepermana-angular-component-spinner.mjs +60 -0
  174. package/fesm2022/ojiepermana-angular-component-spinner.mjs.map +1 -0
  175. package/fesm2022/ojiepermana-angular-component-switch.mjs +47 -15
  176. package/fesm2022/ojiepermana-angular-component-switch.mjs.map +1 -1
  177. package/fesm2022/ojiepermana-angular-component-table.mjs +56 -40
  178. package/fesm2022/ojiepermana-angular-component-table.mjs.map +1 -1
  179. package/fesm2022/ojiepermana-angular-component-tabs.mjs +58 -38
  180. package/fesm2022/ojiepermana-angular-component-tabs.mjs.map +1 -1
  181. package/fesm2022/ojiepermana-angular-component-textarea.mjs +8 -6
  182. package/fesm2022/ojiepermana-angular-component-textarea.mjs.map +1 -1
  183. package/fesm2022/ojiepermana-angular-component-timeline.mjs +237 -0
  184. package/fesm2022/ojiepermana-angular-component-timeline.mjs.map +1 -0
  185. package/fesm2022/ojiepermana-angular-component-toast.mjs +28 -4
  186. package/fesm2022/ojiepermana-angular-component-toast.mjs.map +1 -1
  187. package/fesm2022/ojiepermana-angular-component-toggle-group.mjs +289 -0
  188. package/fesm2022/ojiepermana-angular-component-toggle-group.mjs.map +1 -0
  189. package/fesm2022/ojiepermana-angular-component-toggle.mjs +82 -0
  190. package/fesm2022/ojiepermana-angular-component-toggle.mjs.map +1 -0
  191. package/fesm2022/ojiepermana-angular-component-tooltip.mjs +304 -6
  192. package/fesm2022/ojiepermana-angular-component-tooltip.mjs.map +1 -1
  193. package/fesm2022/ojiepermana-angular-component-utils.mjs.map +1 -1
  194. package/fesm2022/ojiepermana-angular-layout-component.mjs +45 -24
  195. package/fesm2022/ojiepermana-angular-layout-component.mjs.map +1 -1
  196. package/fesm2022/ojiepermana-angular-layout-provider.mjs.map +1 -1
  197. package/fesm2022/ojiepermana-angular-layout-services.mjs +7 -5
  198. package/fesm2022/ojiepermana-angular-layout-services.mjs.map +1 -1
  199. package/fesm2022/ojiepermana-angular-layout-shell.mjs +3 -3
  200. package/fesm2022/ojiepermana-angular-layout-shell.mjs.map +1 -1
  201. package/fesm2022/ojiepermana-angular-layout-token-directive.mjs +9 -6
  202. package/fesm2022/ojiepermana-angular-layout-token-directive.mjs.map +1 -1
  203. package/fesm2022/ojiepermana-angular-layout-token.mjs.map +1 -1
  204. package/fesm2022/{ojiepermana-angular-layout-empty.mjs → ojiepermana-angular-layout-type-empty.mjs} +4 -4
  205. package/fesm2022/ojiepermana-angular-layout-type-empty.mjs.map +1 -0
  206. package/fesm2022/{ojiepermana-angular-layout-horizontal.mjs → ojiepermana-angular-layout-type-horizontal.mjs} +26 -17
  207. package/fesm2022/ojiepermana-angular-layout-type-horizontal.mjs.map +1 -0
  208. package/fesm2022/{ojiepermana-angular-layout-vertical.mjs → ojiepermana-angular-layout-type-vertical.mjs} +28 -18
  209. package/fesm2022/ojiepermana-angular-layout-type-vertical.mjs.map +1 -0
  210. package/fesm2022/ojiepermana-angular-layout.mjs +74 -50
  211. package/fesm2022/ojiepermana-angular-layout.mjs.map +1 -1
  212. package/fesm2022/ojiepermana-angular-navigation-demo-data.mjs.map +1 -1
  213. package/fesm2022/ojiepermana-angular-navigation-icon.mjs +11 -7
  214. package/fesm2022/ojiepermana-angular-navigation-icon.mjs.map +1 -1
  215. package/fesm2022/ojiepermana-angular-navigation-item.mjs +27 -16
  216. package/fesm2022/ojiepermana-angular-navigation-item.mjs.map +1 -1
  217. package/fesm2022/ojiepermana-angular-navigation-service.mjs +29 -20
  218. package/fesm2022/ojiepermana-angular-navigation-service.mjs.map +1 -1
  219. package/fesm2022/ojiepermana-angular-navigation-sidebar.mjs +71 -43
  220. package/fesm2022/ojiepermana-angular-navigation-sidebar.mjs.map +1 -1
  221. package/fesm2022/ojiepermana-angular-navigation-topbar.mjs +261 -24
  222. package/fesm2022/ojiepermana-angular-navigation-topbar.mjs.map +1 -1
  223. package/fesm2022/ojiepermana-angular-theme-provider.mjs.map +1 -1
  224. package/fesm2022/ojiepermana-angular-theme-services.mjs +19 -11
  225. package/fesm2022/ojiepermana-angular-theme-services.mjs.map +1 -1
  226. package/fesm2022/ojiepermana-angular-theme-token.mjs.map +1 -1
  227. package/fesm2022/ojiepermana-angular-theme.mjs +19 -11
  228. package/fesm2022/ojiepermana-angular-theme.mjs.map +1 -1
  229. package/generator/api/README.md +8 -5
  230. package/generator/api/bin/src/emit/client.js +4 -2
  231. package/generator/api/bin/src/writer/index.js +47 -5
  232. package/generator/guide/bin/schematics/build/index.js +3 -2
  233. package/generator/guide/bin/src/engine/component.js +2 -2
  234. package/generator/guide/bin/src/engine/index.js +3 -3
  235. package/generator/guide/bin/src/engine/render.js +10 -5
  236. package/layout/type/empty/package.json +4 -0
  237. package/layout/type/horizontal/package.json +4 -0
  238. package/layout/type/vertical/package.json +4 -0
  239. package/navigation/topbar/README.md +196 -0
  240. package/package.json +89 -25
  241. package/theme/README.md +110 -3
  242. package/theme/styles/integrations/material/autocomplete.css +178 -0
  243. package/theme/styles/integrations/material/button.css +468 -0
  244. package/theme/styles/integrations/material/dialog.css +152 -0
  245. package/theme/styles/integrations/material/select.css +175 -0
  246. package/theme/styles/integrations/material/slide-toggle.css +234 -0
  247. package/theme/styles/integrations/material/slider.css +194 -0
  248. package/theme/styles/integrations/material/tabs.css +229 -0
  249. package/theme/styles/integrations/material.css +70 -60
  250. package/types/ojiepermana-angular-component-combobox.d.ts +1 -2
  251. package/types/ojiepermana-angular-component-composer.d.ts +90 -0
  252. package/types/ojiepermana-angular-component-dropdown-menu.d.ts +2 -0
  253. package/types/ojiepermana-angular-component-editor.d.ts +123 -0
  254. package/types/ojiepermana-angular-component-empty.d.ts +50 -0
  255. package/types/ojiepermana-angular-component-form.d.ts +52 -3
  256. package/types/ojiepermana-angular-component-hover-card.d.ts +74 -0
  257. package/types/ojiepermana-angular-component-input-otp.d.ts +136 -0
  258. package/types/ojiepermana-angular-component-kanban.d.ts +70 -0
  259. package/types/ojiepermana-angular-component-kbd.d.ts +16 -0
  260. package/types/ojiepermana-angular-component-menubar.d.ts +67 -0
  261. package/types/ojiepermana-angular-component-native-select.d.ts +26 -0
  262. package/types/ojiepermana-angular-component-navigation-menu.d.ts +96 -0
  263. package/types/ojiepermana-angular-component-pagination.d.ts +10 -4
  264. package/types/ojiepermana-angular-component-pillbox.d.ts +157 -0
  265. package/types/ojiepermana-angular-component-radio.d.ts +7 -1
  266. package/types/ojiepermana-angular-component-resizable.d.ts +99 -0
  267. package/types/ojiepermana-angular-component-select.d.ts +17 -5
  268. package/types/ojiepermana-angular-component-sheet.d.ts +3 -1
  269. package/types/ojiepermana-angular-component-slider.d.ts +59 -1
  270. package/types/ojiepermana-angular-component-spinner.d.ts +13 -0
  271. package/types/ojiepermana-angular-component-switch.d.ts +13 -3
  272. package/types/ojiepermana-angular-component-timeline.d.ts +63 -0
  273. package/types/ojiepermana-angular-component-toast.d.ts +12 -3
  274. package/types/ojiepermana-angular-component-toggle-group.d.ts +89 -0
  275. package/types/ojiepermana-angular-component-toggle.d.ts +25 -0
  276. package/types/ojiepermana-angular-component-tooltip.d.ts +72 -5
  277. package/types/{ojiepermana-angular-layout-horizontal.d.ts → ojiepermana-angular-layout-type-horizontal.d.ts} +3 -3
  278. package/types/{ojiepermana-angular-layout-vertical.d.ts → ojiepermana-angular-layout-type-vertical.d.ts} +3 -3
  279. package/types/ojiepermana-angular-layout.d.ts +5 -5
  280. package/types/ojiepermana-angular-navigation-item.d.ts +1 -1
  281. package/types/ojiepermana-angular-navigation-service.d.ts +7 -7
  282. package/types/ojiepermana-angular-navigation-sidebar.d.ts +8 -8
  283. package/types/ojiepermana-angular-navigation-topbar.d.ts +24 -4
  284. package/types/ojiepermana-angular-navigation-types.d.ts +14 -8
  285. package/fesm2022/ojiepermana-angular-layout-empty.mjs.map +0 -1
  286. package/fesm2022/ojiepermana-angular-layout-horizontal.mjs.map +0 -1
  287. package/fesm2022/ojiepermana-angular-layout-vertical.mjs.map +0 -1
  288. package/layout/empty/package.json +0 -4
  289. package/layout/horizontal/package.json +0 -4
  290. package/layout/vertical/package.json +0 -4
  291. /package/types/{ojiepermana-angular-layout-empty.d.ts → ojiepermana-angular-layout-type-empty.d.ts} +0 -0
@@ -0,0 +1,311 @@
1
+ # Dropdown Menu
2
+
3
+ Accessible menu rendered in a CDK overlay with keyboard navigation (arrow keys,
4
+ Home/End, type-ahead, Escape).
5
+
6
+ This Angular implementation follows the shadcn Dropdown Menu information architecture while mapping the React root
7
+ component to an explicit trigger directive and projected menu template.
8
+
9
+ ## Import
10
+
11
+ ```ts
12
+ import {
13
+ MenuCheckboxItemComponent,
14
+ MenuTriggerDirective,
15
+ MenuContentDirective,
16
+ MenuGroupComponent,
17
+ MenuSurfaceComponent,
18
+ MenuItemComponent,
19
+ MenuRadioGroupComponent,
20
+ MenuRadioItemComponent,
21
+ MenuSeparatorComponent,
22
+ MenuLabelComponent,
23
+ MenuShortcutComponent,
24
+ } from '@ojiepermana/angular/component/dropdown-menu';
25
+ ```
26
+
27
+ ## Usage
28
+
29
+ ```html
30
+ <button
31
+ ui-button
32
+ type="button"
33
+ variant="outline"
34
+ #accountTrigger="uiMenuTrigger"
35
+ [uiMenuTrigger]="menu"
36
+ side="bottom"
37
+ align="end">
38
+ Open
39
+ </button>
40
+
41
+ <ng-template uiMenuContent #menu="uiMenuContent">
42
+ <ui-menu-surface class="w-56">
43
+ <ui-menu-group>
44
+ <ui-menu-label>My account</ui-menu-label>
45
+ <button ui-menu-item type="button" (selected)="onProfile(); accountTrigger.close()">
46
+ Profile
47
+ <span ui-menu-shortcut>⌘P</span>
48
+ </button>
49
+ <button ui-menu-item type="button" (selected)="onSettings(); accountTrigger.close()">Settings</button>
50
+ </ui-menu-group>
51
+ <ui-menu-separator />
52
+ <ui-menu-group>
53
+ <button ui-menu-item type="button" disabled>Disabled</button>
54
+ <button ui-menu-item type="button" variant="destructive" (selected)="onSignOut(); accountTrigger.close()">
55
+ Sign out
56
+ </button>
57
+ </ui-menu-group>
58
+ </ui-menu-surface>
59
+ </ng-template>
60
+ ```
61
+
62
+ Use the trigger export when a standard command row should dismiss the overlay. Checkbox and radio rows can stay open so
63
+ the user can adjust multiple settings in one pass.
64
+
65
+ ## Composition
66
+
67
+ ```text
68
+ button[ui-button][uiMenuTrigger]
69
+ └── ng-template[uiMenuContent]
70
+ └── ui-menu-surface
71
+ ├── ui-menu-group
72
+ │ ├── ui-menu-label
73
+ │ ├── button[ui-menu-item]
74
+ │ └── button[ui-menu-item][uiMenuTrigger]
75
+ │ └── ng-template[uiMenuContent]
76
+ │ └── ui-menu-surface
77
+ ├── ui-menu-separator
78
+ ├── button[ui-menu-checkbox-item]
79
+ └── ui-menu-radio-group
80
+ └── button[ui-menu-radio-item]
81
+ ```
82
+
83
+ ## Common patterns
84
+
85
+ ### Basic account menu
86
+
87
+ ```html
88
+ <button ui-button type="button" variant="outline" #menuTrigger="uiMenuTrigger" [uiMenuTrigger]="menu">Open</button>
89
+
90
+ <ng-template uiMenuContent #menu="uiMenuContent">
91
+ <ui-menu-surface class="w-56">
92
+ <ui-menu-group>
93
+ <ui-menu-label>My Account</ui-menu-label>
94
+ <button ui-menu-item type="button" (selected)="menuTrigger.close()">Profile</button>
95
+ <button ui-menu-item type="button" (selected)="menuTrigger.close()">Billing</button>
96
+ <button ui-menu-item type="button" (selected)="menuTrigger.close()">Settings</button>
97
+ </ui-menu-group>
98
+ <ui-menu-separator />
99
+ <ui-menu-group>
100
+ <button ui-menu-item type="button" (selected)="menuTrigger.close()">GitHub</button>
101
+ <button ui-menu-item type="button" (selected)="menuTrigger.close()">Support</button>
102
+ <button ui-menu-item type="button" [disabled]="true">API</button>
103
+ </ui-menu-group>
104
+ </ui-menu-surface>
105
+ </ng-template>
106
+ ```
107
+
108
+ ### Submenu
109
+
110
+ Map shadcn `DropdownMenuSub` to `uiMenuTrigger` on a `button[ui-menu-item]`.
111
+
112
+ ```html
113
+ <ng-template uiMenuContent #inviteUsersMenu="uiMenuContent">
114
+ <ui-menu-surface class="w-48">
115
+ <button ui-menu-item type="button">Email</button>
116
+ <button ui-menu-item type="button">Message</button>
117
+ <button ui-menu-item type="button">Calendar invite</button>
118
+ </ui-menu-surface>
119
+ </ng-template>
120
+
121
+ <ui-menu-surface class="w-56">
122
+ <ui-menu-group>
123
+ <button ui-menu-item type="button">Team</button>
124
+ <button ui-menu-item type="button" [uiMenuTrigger]="inviteUsersMenu" side="right" align="start">
125
+ Invite users
126
+ <span class="ml-auto text-xs text-muted-foreground">›</span>
127
+ </button>
128
+ </ui-menu-group>
129
+ </ui-menu-surface>
130
+ ```
131
+
132
+ ### Checkboxes
133
+
134
+ Use checkbox rows when the menu exposes independent toggles.
135
+
136
+ ```ts
137
+ const showStatusBar = signal(true);
138
+ const showActivityBar = signal(false);
139
+ const showPanel = signal(false);
140
+ ```
141
+
142
+ ```html
143
+ <ui-menu-surface class="w-44">
144
+ <ui-menu-group>
145
+ <ui-menu-label>Appearance</ui-menu-label>
146
+ <button ui-menu-checkbox-item type="button" [(checked)]="showStatusBar">Status Bar</button>
147
+ <button ui-menu-checkbox-item type="button" [(checked)]="showActivityBar">Activity Bar</button>
148
+ <button ui-menu-checkbox-item type="button" [(checked)]="showPanel">Panel</button>
149
+ </ui-menu-group>
150
+ </ui-menu-surface>
151
+ ```
152
+
153
+ ### Radio group
154
+
155
+ Use a radio group for one exclusive choice.
156
+
157
+ ```ts
158
+ const panelPosition = signal<'top' | 'bottom' | 'right'>('bottom');
159
+ ```
160
+
161
+ ```html
162
+ <ui-menu-surface class="w-44">
163
+ <ui-menu-label [inset]="true">Panel Position</ui-menu-label>
164
+ <ui-menu-radio-group [(value)]="panelPosition">
165
+ <button ui-menu-radio-item type="button" value="top">Top</button>
166
+ <button ui-menu-radio-item type="button" value="bottom">Bottom</button>
167
+ <button ui-menu-radio-item type="button" value="right">Right</button>
168
+ </ui-menu-radio-group>
169
+ </ui-menu-surface>
170
+ ```
171
+
172
+ ### Shortcuts and icons
173
+
174
+ Project shortcut text and inline icons directly into the row content.
175
+
176
+ ```html
177
+ <ui-menu-surface class="w-56">
178
+ <button ui-menu-item type="button">
179
+ <svg aria-hidden="true" class="size-4" viewBox="0 0 24 24">...</svg>
180
+ Profile
181
+ <span ui-menu-shortcut>⇧⌘P</span>
182
+ </button>
183
+ <button ui-menu-item type="button">
184
+ <svg aria-hidden="true" class="size-4" viewBox="0 0 24 24">...</svg>
185
+ Billing
186
+ <span ui-menu-shortcut>⌘B</span>
187
+ </button>
188
+ </ui-menu-surface>
189
+ ```
190
+
191
+ ### Avatar trigger composition
192
+
193
+ Also import the avatar entrypoint when the trigger should be an account avatar.
194
+
195
+ ```ts
196
+ import { AvatarComponent, AvatarFallbackComponent, AvatarImageComponent } from '@ojiepermana/angular/component/avatar';
197
+ ```
198
+
199
+ ```html
200
+ <button
201
+ ui-button
202
+ type="button"
203
+ variant="ghost"
204
+ size="icon"
205
+ class="h-10 w-10 rounded-full p-0"
206
+ [uiMenuTrigger]="accountMenu"
207
+ align="end">
208
+ <ui-avatar>
209
+ <ui-avatar-image src="https://github.com/shadcn.png" alt="Ada Lovelace" />
210
+ <ui-avatar-fallback>AL</ui-avatar-fallback>
211
+ </ui-avatar>
212
+ </button>
213
+ ```
214
+
215
+ ### RTL
216
+
217
+ Set `dir="rtl"` and `lang` on the surface, and prefer `side="left"` when nested content should open toward the visual
218
+ start edge.
219
+
220
+ ```html
221
+ <ng-template uiMenuContent #rtlAccountMenu="uiMenuContent">
222
+ <ui-menu-surface dir="rtl" lang="ar" class="w-44 text-right">
223
+ <button ui-menu-item type="button">الملف الشخصي</button>
224
+ <button ui-menu-item type="button">الفوترة</button>
225
+ </ui-menu-surface>
226
+ </ng-template>
227
+
228
+ <ui-menu-surface dir="rtl" lang="ar" class="w-56 text-right">
229
+ <button ui-menu-item type="button" [uiMenuTrigger]="rtlAccountMenu" side="left" align="start">
230
+ الحساب
231
+ <span class="mr-auto text-xs text-muted-foreground">‹</span>
232
+ </button>
233
+ </ui-menu-surface>
234
+ ```
235
+
236
+ ## API
237
+
238
+ ### `[uiMenuTrigger]`
239
+
240
+ | Input | Type | Default |
241
+ | --------------- | ---------------------------------------- | ---------- |
242
+ | `uiMenuTrigger` | `MenuContentDirective` | _required_ |
243
+ | `side` | `'top' \| 'right' \| 'bottom' \| 'left'` | `'bottom'` |
244
+ | `align` | `'start' \| 'center' \| 'end'` | `'start'` |
245
+ | `disabled` | `boolean` | `false` |
246
+
247
+ Output: `openedChange: boolean`. Methods: `open()`, `close()`, `toggle()`.
248
+
249
+ ### `ng-template[uiMenuContent]`
250
+
251
+ Projected template wrapper for the menu surface that is consumed by `[uiMenuTrigger]`.
252
+
253
+ ### `ui-menu-surface`
254
+
255
+ Container with `role="menu"` and arrow key navigation wired through
256
+ `FocusKeyManager` (wrapping + type-ahead). Emits `closeRequested` on Tab.
257
+
258
+ ### `ui-menu-item`
259
+
260
+ `role="menuitem"`. Inputs: `disabled`, `inset`, `class`. Output: `selected`.
261
+
262
+ ### `ui-menu-checkbox-item`
263
+
264
+ `role="menuitemcheckbox"`. Inputs: `[(checked)]`, `disabled`, `variant`, `class`.
265
+
266
+ ### `ui-menu-radio-group` and `ui-menu-radio-item`
267
+
268
+ Use `[(value)]` on the group and `value` on each radio row. Radio items expose `role="menuitemradio"`.
269
+
270
+ ### Auxiliary
271
+
272
+ - `ui-menu-group` → structural wrapper with `role="group"`.
273
+ - `ui-menu-separator` → `role="separator"`.
274
+ - `ui-menu-label` — non-interactive label row.
275
+ - `ui-menu-shortcut` — right-aligned shortcut badge.
276
+
277
+ ## Styling and theming
278
+
279
+ Pass `class` to the surface or individual rows to control width, spacing, and emphasis. Borders and separators use the
280
+ shared theme border tokens, destructive rows use the destructive palette, and projected icons inherit the current text
281
+ color.
282
+
283
+ ## Accessibility
284
+
285
+ - Trigger: `aria-haspopup="menu"`, `aria-expanded` reflects state.
286
+ - Surface: `role="menu"`, items receive `role="menuitem"`, disabled items get
287
+ `aria-disabled="true"`.
288
+ - Checkbox and radio items expose `aria-checked` semantics through the relevant menuitem roles.
289
+ - Close on outside click, Escape, or Tab. Focus returns to the trigger.
290
+
291
+ ## Keyboard interactions
292
+
293
+ - Enter, Space, and ArrowDown on the trigger open the menu.
294
+ - Arrow Up and Arrow Down move between enabled rows; Home and End jump to the first or last row.
295
+ - Typeahead matches the row label text.
296
+ - Enter and Space activate the focused row.
297
+
298
+ ## Angular notes
299
+
300
+ - There is no React-style `DropdownMenu` root component; the root behavior is handled by `uiMenuTrigger` and
301
+ `ng-template[uiMenuContent]`.
302
+ - Reuse `uiMenuTrigger` on `button[ui-menu-item]` when you need a submenu.
303
+ - Standard command rows can dismiss the overlay explicitly through a `#menuTrigger="uiMenuTrigger"` template reference,
304
+ while checkbox and radio rows can stay open for multi-step preference changes.
305
+
306
+ ## Source parity
307
+
308
+ This Angular entrypoint keeps the main shadcn dropdown-menu patterns: grouped commands, shortcuts, icons, nested menus,
309
+ checkbox items, radio groups, avatar triggers, destructive rows, and RTL guidance. The shadcn page includes additional
310
+ permutations such as checkbox-icons, radio-icons, and a very large complex menu; the local demos cover the same
311
+ primitives through representative compositions instead of duplicating every permutation one-to-one.
@@ -0,0 +1,136 @@
1
+ # Editor
2
+
3
+ Rich text editor shell with an accessible toolbar, configurable toolbar items, contenteditable form control support, and shadcn-style tokens.
4
+
5
+ This component is conceptually inspired by Flux Editor. It does not bundle Tiptap or Flux JavaScript; instead, it provides a lightweight Angular primitive that applications can compose, bind, and extend.
6
+
7
+ ## Import
8
+
9
+ ```ts
10
+ import { FormsModule } from '@angular/forms';
11
+ import {
12
+ EditorButtonComponent,
13
+ EditorComponent,
14
+ EditorContentComponent,
15
+ EditorSeparatorComponent,
16
+ EditorSpacerComponent,
17
+ EditorToolbarComponent,
18
+ } from '@ojiepermana/angular/component/editor';
19
+ ```
20
+
21
+ ## Usage
22
+
23
+ ```html
24
+ <ui-editor>
25
+ <ui-editor-toolbar items="heading | bold italic underline | align ~ undo redo" />
26
+ <ui-editor-content placeholder="Write something..." aria-label="Article body">
27
+ <h3>What's changed</h3>
28
+ <p>Draft release notes, article copy, or support responses here.</p>
29
+ </ui-editor-content>
30
+ </ui-editor>
31
+ ```
32
+
33
+ ## Forms
34
+
35
+ `ui-editor-content` implements `ControlValueAccessor`, so it can bind to Angular forms as an HTML string.
36
+
37
+ ```html
38
+ <ui-editor>
39
+ <ui-editor-toolbar />
40
+ <ui-editor-content [(ngModel)]="content" name="content" aria-label="Article body" />
41
+ </ui-editor>
42
+ ```
43
+
44
+ Sanitize persisted HTML at the application boundary before rendering it elsewhere.
45
+
46
+ ## Toolbar Items
47
+
48
+ The toolbar accepts a space-separated `items` string. Use `|` for a separator and `~` for a spacer.
49
+
50
+ ```html
51
+ <ui-editor-toolbar items="heading | bold italic strike underline | bullet ordered blockquote link align ~ undo redo" />
52
+ ```
53
+
54
+ Supported item names:
55
+
56
+ | Item | Behavior |
57
+ | ------------- | ---------------------------------------------------- |
58
+ | `heading` | Text, heading 1, heading 2, and heading 3 selector. |
59
+ | `bold` | Bold formatting. |
60
+ | `italic` | Italic formatting. |
61
+ | `strike` | Strikethrough formatting. |
62
+ | `underline` | Underline formatting. |
63
+ | `bullet` | Bulleted list. |
64
+ | `ordered` | Numbered list. |
65
+ | `blockquote` | Block quote block. |
66
+ | `subscript` | Subscript formatting. |
67
+ | `superscript` | Superscript formatting. |
68
+ | `highlight` | Highlight selected text. |
69
+ | `link` | Create a placeholder link for the current selection. |
70
+ | `code` | Code block. |
71
+ | `align` | Left, center, and right alignment selector. |
72
+ | `undo` | Undo last edit. |
73
+ | `redo` | Redo last edit. |
74
+
75
+ ## Custom Toolbar
76
+
77
+ Pass `items=""` and project custom toolbar controls.
78
+
79
+ ```html
80
+ <ui-editor>
81
+ <ui-editor-toolbar items="">
82
+ <button ui-editor-button command="bold" aria-label="Bold">B</button>
83
+ <button ui-editor-button command="italic" aria-label="Italic">I</button>
84
+ <ui-editor-separator />
85
+ <button ui-editor-button command="highlight" aria-label="Highlight">H</button>
86
+ <ui-editor-spacer />
87
+ <button ui-editor-button command="undo" aria-label="Undo">
88
+ <svg
89
+ aria-hidden="true"
90
+ class="size-4"
91
+ viewBox="0 0 24 24"
92
+ fill="none"
93
+ stroke="currentColor"
94
+ stroke-width="1.75"
95
+ stroke-linecap="round"
96
+ stroke-linejoin="round">
97
+ <path d="M9 14 4 9l5-5" />
98
+ <path d="M4 9h10a6 6 0 0 1 0 12h-2" />
99
+ </svg>
100
+ </button>
101
+ </ui-editor-toolbar>
102
+ <ui-editor-content aria-label="Custom editor" />
103
+ </ui-editor>
104
+ ```
105
+
106
+ ## Keyboard Shortcuts
107
+
108
+ | Action | Shortcut |
109
+ | ------------- | ----------------- |
110
+ | Bold | Cmd/Ctrl+B |
111
+ | Italic | Cmd/Ctrl+I |
112
+ | Underline | Cmd/Ctrl+U |
113
+ | Strikethrough | Cmd/Ctrl+Shift+X |
114
+ | Ordered list | Cmd/Ctrl+Shift+7 |
115
+ | Bulleted list | Cmd/Ctrl+Shift+8 |
116
+ | Heading 1-3 | Cmd/Ctrl+Alt+1..3 |
117
+ | Undo | Cmd/Ctrl+Z |
118
+ | Redo | Cmd/Ctrl+Shift+Z |
119
+
120
+ ## Styling
121
+
122
+ The editor uses `border-input`, `bg-background`, `ring-ring`, `text-foreground`, `text-muted-foreground`, and `bg-muted` tokens. Pass sizing classes directly to the content slot when adjusting height.
123
+
124
+ ```html
125
+ <ui-editor>
126
+ <ui-editor-toolbar />
127
+ <ui-editor-content class="min-h-30 max-h-60" aria-label="Compact editor" />
128
+ </ui-editor>
129
+ ```
130
+
131
+ ## Accessibility
132
+
133
+ - `ui-editor-toolbar` renders `role="toolbar"`.
134
+ - `ui-editor-content` renders `role="textbox"` and `aria-multiline="true"`.
135
+ - Provide a clear `aria-label` for each editor content surface.
136
+ - Give terse or icon-only custom toolbar buttons an explicit `aria-label`.
@@ -0,0 +1,4 @@
1
+ {
2
+ "module": "../../fesm2022/ojiepermana-angular-component-editor.mjs",
3
+ "typings": "../../types/ojiepermana-angular-component-editor.d.ts"
4
+ }
@@ -0,0 +1,183 @@
1
+ # Empty
2
+
3
+ Displays a reusable empty state with header, media, title, description, and content slots.
4
+
5
+ Use Empty for onboarding gaps, no-results screens, no-notification panels, and 404-like recovery surfaces that need a clear next action.
6
+
7
+ ## Import
8
+
9
+ ```ts
10
+ import {
11
+ EmptyComponent,
12
+ EmptyContentComponent,
13
+ EmptyDescriptionComponent,
14
+ EmptyHeaderComponent,
15
+ EmptyMediaComponent,
16
+ EmptyTitleComponent,
17
+ } from '@ojiepermana/angular/component/empty';
18
+ import { ButtonComponent } from '@ojiepermana/angular/component/button';
19
+ ```
20
+
21
+ ## Composition
22
+
23
+ The Angular structure follows the shadcn Empty information architecture while keeping actions on native buttons and anchors.
24
+
25
+ ```text
26
+ ui-empty
27
+ ├── ui-empty-header
28
+ │ ├── ui-empty-media
29
+ │ ├── ui-empty-title
30
+ │ └── ui-empty-description
31
+ └── ui-empty-content
32
+ ```
33
+
34
+ ## Basic usage
35
+
36
+ ```html
37
+ <ui-empty class="max-w-xl rounded-2xl border border-border bg-card/40">
38
+ <ui-empty-header>
39
+ <ui-empty-media variant="icon">
40
+ <svg aria-hidden="true" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
41
+ <path d="M12 6v12" />
42
+ <path d="M6 12h12" />
43
+ </svg>
44
+ </ui-empty-media>
45
+ <ui-empty-title>No projects yet</ui-empty-title>
46
+ <ui-empty-description>
47
+ You have not created any projects yet. Start by creating a new project or importing an existing one.
48
+ </ui-empty-description>
49
+ </ui-empty-header>
50
+
51
+ <ui-empty-content class="sm:flex-row">
52
+ <button ui-button type="button">Create project</button>
53
+ <button ui-button type="button" variant="outline">Import project</button>
54
+ </ui-empty-content>
55
+
56
+ <a ui-button href="/docs/getting-started" variant="link" class="text-muted-foreground">Learn more</a>
57
+ </ui-empty>
58
+ ```
59
+
60
+ ## Common patterns
61
+
62
+ ### Outline shell
63
+
64
+ Use border utilities on the root when the empty state should read like an inset card or dashboard panel.
65
+
66
+ ```html
67
+ <ui-empty class="rounded-2xl border border-dashed border-border">
68
+ <ui-empty-header>
69
+ <ui-empty-media variant="icon">...</ui-empty-media>
70
+ <ui-empty-title>Cloud storage empty</ui-empty-title>
71
+ <ui-empty-description>Upload files to your cloud storage to access them anywhere.</ui-empty-description>
72
+ </ui-empty-header>
73
+ <ui-empty-content>
74
+ <button ui-button type="button" variant="outline" size="sm">Upload files</button>
75
+ </ui-empty-content>
76
+ </ui-empty>
77
+ ```
78
+
79
+ ### Avatar media
80
+
81
+ Leave `ui-empty-media` on the default variant when projecting an avatar, avatar group, or any other custom artwork.
82
+
83
+ ```html
84
+ <ui-empty>
85
+ <ui-empty-header>
86
+ <ui-empty-media>
87
+ <ui-avatar class="size-12">
88
+ <ui-avatar-image src="https://github.com/shadcn.png" alt="shadcn" />
89
+ <ui-avatar-fallback>CN</ui-avatar-fallback>
90
+ </ui-avatar>
91
+ </ui-empty-media>
92
+ <ui-empty-title>User offline</ui-empty-title>
93
+ <ui-empty-description>Leave a message and they will be notified when they come back online.</ui-empty-description>
94
+ </ui-empty-header>
95
+ <ui-empty-content>
96
+ <button ui-button type="button" size="sm">Leave message</button>
97
+ </ui-empty-content>
98
+ </ui-empty>
99
+ ```
100
+
101
+ ### Input group recovery
102
+
103
+ Compose `ui-empty-content` with the existing input-group primitives when the empty state should immediately guide recovery or search.
104
+
105
+ ```html
106
+ <ui-empty class="max-w-xl rounded-2xl border border-border">
107
+ <ui-empty-header>
108
+ <ui-empty-title>404 - Not found</ui-empty-title>
109
+ <ui-empty-description>
110
+ The page you are looking for does not exist. Try searching for what you need below.
111
+ </ui-empty-description>
112
+ </ui-empty-header>
113
+ <ui-empty-content class="max-w-md">
114
+ <ui-input-group class="w-full">
115
+ <input ui-input-group-input aria-label="Search pages" placeholder="Try searching for pages..." />
116
+ <ui-input-group-addon>
117
+ <span aria-hidden="true">⌕</span>
118
+ </ui-input-group-addon>
119
+ <ui-input-group-addon align="inline-end">
120
+ <span
121
+ aria-hidden="true"
122
+ class="inline-flex h-6 items-center rounded-md border border-border bg-background px-2 font-mono text-[11px] font-medium text-foreground shadow-sm">
123
+ /
124
+ </span>
125
+ </ui-input-group-addon>
126
+ </ui-input-group>
127
+ </ui-empty-content>
128
+ </ui-empty>
129
+ ```
130
+
131
+ ## API reference
132
+
133
+ ### `EmptyComponent`
134
+
135
+ | Input | Type | Default |
136
+ | ------- | -------- | ------- |
137
+ | `class` | `string` | `''` |
138
+
139
+ ### `EmptyMediaComponent`
140
+
141
+ | Input | Type | Default |
142
+ | --------- | --------------------- | ----------- |
143
+ | `variant` | `'default' \| 'icon'` | `'default'` |
144
+ | `class` | `string` | `''` |
145
+
146
+ ### Parts
147
+
148
+ - `ui-empty-header` centers the media, title, and description stack.
149
+ - `ui-empty-title` provides the primary heading.
150
+ - `ui-empty-description` renders supporting copy with muted foreground color.
151
+ - `ui-empty-content` groups actions, inputs, or recovery affordances under the header.
152
+
153
+ All Empty parts also accept a `class` input.
154
+
155
+ ## Styling and theming
156
+
157
+ The primitive keeps styling neutral by default: the root controls spacing and alignment, while visual shells such as borders, gradients, and muted backgrounds are layered through `class`.
158
+
159
+ `ui-empty-media` uses `border-border` and `bg-muted/40` for the icon variant so the icon chip matches the rest of the theme without inheriting text color for borders.
160
+
161
+ Use `class` on the root or parts to add panel borders, gradient backgrounds, tighter widths, or horizontal action layouts.
162
+
163
+ ## Accessibility
164
+
165
+ - Keep the title and description visible so the empty state communicates both the missing content and the next step.
166
+ - Put actions on native `<button>` or `<a ui-button>` hosts instead of faking interactivity with generic elements.
167
+ - Mark decorative icons inside `ui-empty-media` as `aria-hidden="true"` unless the icon itself provides unique meaning.
168
+
169
+ ## Keyboard interactions
170
+
171
+ - The Empty primitives themselves are passive layout containers and do not enter the tab order.
172
+ - Projected buttons, anchors, and inputs keep their native Tab, Enter, and Space behavior.
173
+ - When `ui-empty-content` contains an input group, the control remains first in the DOM so tab order stays predictable.
174
+
175
+ ## Angular notes
176
+
177
+ - `ui-empty` is a reusable content primitive, not the same surface as `@ojiepermana/angular/layout/empty`, which remains a route-shell layout.
178
+ - The link action from the upstream shadcn preview maps cleanly to `<a ui-button variant="link">` in Angular.
179
+ - Project any custom artwork into `ui-empty-media`; only the `icon` variant applies a circular icon shell.
180
+
181
+ ## Source parity
182
+
183
+ This Angular implementation follows the shadcn Empty page structure, examples, and API reference while translating React composition to Angular selectors and keeping page-shell layout concerns separate from the reusable empty-state primitive.
@@ -0,0 +1,4 @@
1
+ {
2
+ "module": "../../fesm2022/ojiepermana-angular-component-empty.mjs",
3
+ "typings": "../../types/ojiepermana-angular-component-empty.d.ts"
4
+ }