@ojiepermana/angular 22.0.1 → 22.0.27

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 (517) hide show
  1. package/README.md +16 -302
  2. package/fesm2022/ojiepermana-angular-chart.mjs +11 -0
  3. package/fesm2022/ojiepermana-angular-chart.mjs.map +1 -0
  4. package/fesm2022/ojiepermana-angular-component.mjs +11 -0
  5. package/fesm2022/ojiepermana-angular-component.mjs.map +1 -0
  6. package/fesm2022/ojiepermana-angular-navigation.mjs +11 -0
  7. package/fesm2022/ojiepermana-angular-navigation.mjs.map +1 -0
  8. package/fesm2022/ojiepermana-angular-sdk.mjs +11 -0
  9. package/fesm2022/ojiepermana-angular-sdk.mjs.map +1 -0
  10. package/fesm2022/ojiepermana-angular-theme.mjs +3 -382
  11. package/fesm2022/ojiepermana-angular-theme.mjs.map +1 -1
  12. package/fesm2022/ojiepermana-angular.mjs +14 -14
  13. package/fesm2022/ojiepermana-angular.mjs.map +1 -1
  14. package/package.json +25 -425
  15. package/types/ojiepermana-angular-chart.d.ts +1 -0
  16. package/types/ojiepermana-angular-component.d.ts +1 -0
  17. package/types/ojiepermana-angular-navigation.d.ts +1 -0
  18. package/types/ojiepermana-angular-sdk.d.ts +1 -0
  19. package/types/ojiepermana-angular-theme.d.ts +1 -116
  20. package/types/ojiepermana-angular.d.ts +5 -3
  21. package/.npmignore +0 -2
  22. package/collection.json +0 -30
  23. package/component/accordion/README.md +0 -195
  24. package/component/accordion/package.json +0 -4
  25. package/component/alert/README.md +0 -182
  26. package/component/alert/package.json +0 -4
  27. package/component/alert-dialog/README.md +0 -239
  28. package/component/alert-dialog/package.json +0 -4
  29. package/component/aspect-ratio/README.md +0 -112
  30. package/component/aspect-ratio/package.json +0 -4
  31. package/component/avatar/README.md +0 -176
  32. package/component/avatar/package.json +0 -4
  33. package/component/badge/README.md +0 -133
  34. package/component/badge/package.json +0 -4
  35. package/component/breadcrumb/README.md +0 -216
  36. package/component/breadcrumb/package.json +0 -4
  37. package/component/button/README.md +0 -139
  38. package/component/button/package.json +0 -4
  39. package/component/button-group/README.md +0 -208
  40. package/component/button-group/package.json +0 -4
  41. package/component/calendar/README.md +0 -132
  42. package/component/calendar/package.json +0 -4
  43. package/component/card/README.md +0 -220
  44. package/component/card/package.json +0 -4
  45. package/component/carousel/README.md +0 -276
  46. package/component/carousel/package.json +0 -4
  47. package/component/chart/README.md +0 -249
  48. package/component/chart/area/package.json +0 -4
  49. package/component/chart/bar/package.json +0 -4
  50. package/component/chart/line/package.json +0 -4
  51. package/component/chart/package.json +0 -4
  52. package/component/chart/pie/package.json +0 -4
  53. package/component/chart/radar/package.json +0 -4
  54. package/component/chart/radial/package.json +0 -4
  55. package/component/chart/scatter/package.json +0 -4
  56. package/component/checkbox/README.md +0 -149
  57. package/component/checkbox/package.json +0 -4
  58. package/component/collapsible/README.md +0 -195
  59. package/component/collapsible/package.json +0 -4
  60. package/component/combobox/README.md +0 -198
  61. package/component/combobox/package.json +0 -4
  62. package/component/command/README.md +0 -275
  63. package/component/command/package.json +0 -4
  64. package/component/composer/README.md +0 -235
  65. package/component/composer/package.json +0 -4
  66. package/component/context-menu/README.md +0 -267
  67. package/component/context-menu/package.json +0 -4
  68. package/component/date-picker/README.md +0 -177
  69. package/component/date-picker/package.json +0 -4
  70. package/component/dialog/README.md +0 -237
  71. package/component/dialog/package.json +0 -4
  72. package/component/drawer/README.md +0 -145
  73. package/component/drawer/package.json +0 -4
  74. package/component/dropdown-menu/README.md +0 -311
  75. package/component/dropdown-menu/package.json +0 -4
  76. package/component/editor/README.md +0 -136
  77. package/component/editor/package.json +0 -4
  78. package/component/empty/README.md +0 -183
  79. package/component/empty/package.json +0 -4
  80. package/component/form/README.md +0 -210
  81. package/component/form/package.json +0 -4
  82. package/component/hover-card/README.md +0 -146
  83. package/component/hover-card/package.json +0 -4
  84. package/component/input/README.md +0 -159
  85. package/component/input/package.json +0 -4
  86. package/component/input-group/README.md +0 -239
  87. package/component/input-group/package.json +0 -4
  88. package/component/input-otp/README.md +0 -278
  89. package/component/input-otp/package.json +0 -4
  90. package/component/item/README.md +0 -247
  91. package/component/item/package.json +0 -4
  92. package/component/kanban/README.md +0 -81
  93. package/component/kanban/package.json +0 -4
  94. package/component/kbd/README.md +0 -139
  95. package/component/kbd/package.json +0 -4
  96. package/component/label/README.md +0 -136
  97. package/component/label/package.json +0 -4
  98. package/component/menubar/README.md +0 -269
  99. package/component/menubar/package.json +0 -4
  100. package/component/native-select/README.md +0 -176
  101. package/component/native-select/package.json +0 -4
  102. package/component/navigation-menu/README.md +0 -160
  103. package/component/navigation-menu/package.json +0 -4
  104. package/component/pagination/README.md +0 -144
  105. package/component/pagination/package.json +0 -4
  106. package/component/pillbox/README.md +0 -67
  107. package/component/pillbox/package.json +0 -4
  108. package/component/popover/README.md +0 -43
  109. package/component/popover/package.json +0 -4
  110. package/component/progress/README.md +0 -160
  111. package/component/progress/package.json +0 -4
  112. package/component/radio/README.md +0 -209
  113. package/component/radio/package.json +0 -4
  114. package/component/resizable/README.md +0 -168
  115. package/component/resizable/package.json +0 -4
  116. package/component/scroll-area/README.md +0 -143
  117. package/component/scroll-area/package.json +0 -4
  118. package/component/select/README.md +0 -174
  119. package/component/select/package.json +0 -4
  120. package/component/separator/README.md +0 -170
  121. package/component/separator/package.json +0 -4
  122. package/component/sheet/README.md +0 -183
  123. package/component/sheet/package.json +0 -4
  124. package/component/skeleton/README.md +0 -158
  125. package/component/skeleton/package.json +0 -4
  126. package/component/slider/README.md +0 -207
  127. package/component/slider/package.json +0 -4
  128. package/component/spinner/README.md +0 -160
  129. package/component/spinner/package.json +0 -4
  130. package/component/switch/README.md +0 -166
  131. package/component/switch/package.json +0 -4
  132. package/component/table/README.md +0 -291
  133. package/component/table/package.json +0 -4
  134. package/component/tabs/README.md +0 -219
  135. package/component/tabs/package.json +0 -4
  136. package/component/textarea/README.md +0 -154
  137. package/component/textarea/package.json +0 -4
  138. package/component/timeline/README.md +0 -94
  139. package/component/timeline/package.json +0 -4
  140. package/component/toast/README.md +0 -321
  141. package/component/toast/package.json +0 -4
  142. package/component/toggle/README.md +0 -131
  143. package/component/toggle/package.json +0 -4
  144. package/component/toggle-group/README.md +0 -206
  145. package/component/toggle-group/package.json +0 -4
  146. package/component/tooltip/README.md +0 -211
  147. package/component/tooltip/package.json +0 -4
  148. package/component/utils/package.json +0 -4
  149. package/fesm2022/ojiepermana-angular-component-accordion.mjs +0 -189
  150. package/fesm2022/ojiepermana-angular-component-accordion.mjs.map +0 -1
  151. package/fesm2022/ojiepermana-angular-component-alert-dialog.mjs +0 -276
  152. package/fesm2022/ojiepermana-angular-component-alert-dialog.mjs.map +0 -1
  153. package/fesm2022/ojiepermana-angular-component-alert.mjs +0 -99
  154. package/fesm2022/ojiepermana-angular-component-alert.mjs.map +0 -1
  155. package/fesm2022/ojiepermana-angular-component-aspect-ratio.mjs +0 -37
  156. package/fesm2022/ojiepermana-angular-component-aspect-ratio.mjs.map +0 -1
  157. package/fesm2022/ojiepermana-angular-component-avatar.mjs +0 -139
  158. package/fesm2022/ojiepermana-angular-component-avatar.mjs.map +0 -1
  159. package/fesm2022/ojiepermana-angular-component-badge.mjs +0 -50
  160. package/fesm2022/ojiepermana-angular-component-badge.mjs.map +0 -1
  161. package/fesm2022/ojiepermana-angular-component-breadcrumb.mjs +0 -200
  162. package/fesm2022/ojiepermana-angular-component-breadcrumb.mjs.map +0 -1
  163. package/fesm2022/ojiepermana-angular-component-button-group.mjs +0 -103
  164. package/fesm2022/ojiepermana-angular-component-button-group.mjs.map +0 -1
  165. package/fesm2022/ojiepermana-angular-component-button.mjs +0 -68
  166. package/fesm2022/ojiepermana-angular-component-button.mjs.map +0 -1
  167. package/fesm2022/ojiepermana-angular-component-calendar.mjs +0 -88
  168. package/fesm2022/ojiepermana-angular-component-calendar.mjs.map +0 -1
  169. package/fesm2022/ojiepermana-angular-component-card.mjs +0 -152
  170. package/fesm2022/ojiepermana-angular-component-card.mjs.map +0 -1
  171. package/fesm2022/ojiepermana-angular-component-carousel.mjs +0 -334
  172. package/fesm2022/ojiepermana-angular-component-carousel.mjs.map +0 -1
  173. package/fesm2022/ojiepermana-angular-component-chart-area.mjs +0 -6
  174. package/fesm2022/ojiepermana-angular-component-chart-area.mjs.map +0 -1
  175. package/fesm2022/ojiepermana-angular-component-chart-bar.mjs +0 -6
  176. package/fesm2022/ojiepermana-angular-component-chart-bar.mjs.map +0 -1
  177. package/fesm2022/ojiepermana-angular-component-chart-line.mjs +0 -6
  178. package/fesm2022/ojiepermana-angular-component-chart-line.mjs.map +0 -1
  179. package/fesm2022/ojiepermana-angular-component-chart-pie.mjs +0 -6
  180. package/fesm2022/ojiepermana-angular-component-chart-pie.mjs.map +0 -1
  181. package/fesm2022/ojiepermana-angular-component-chart-radar.mjs +0 -6
  182. package/fesm2022/ojiepermana-angular-component-chart-radar.mjs.map +0 -1
  183. package/fesm2022/ojiepermana-angular-component-chart-radial.mjs +0 -6
  184. package/fesm2022/ojiepermana-angular-component-chart-radial.mjs.map +0 -1
  185. package/fesm2022/ojiepermana-angular-component-chart-scatter.mjs +0 -6
  186. package/fesm2022/ojiepermana-angular-component-chart-scatter.mjs.map +0 -1
  187. package/fesm2022/ojiepermana-angular-component-chart.mjs +0 -3925
  188. package/fesm2022/ojiepermana-angular-component-chart.mjs.map +0 -1
  189. package/fesm2022/ojiepermana-angular-component-checkbox.mjs +0 -114
  190. package/fesm2022/ojiepermana-angular-component-checkbox.mjs.map +0 -1
  191. package/fesm2022/ojiepermana-angular-component-collapsible.mjs +0 -124
  192. package/fesm2022/ojiepermana-angular-component-collapsible.mjs.map +0 -1
  193. package/fesm2022/ojiepermana-angular-component-combobox.mjs +0 -272
  194. package/fesm2022/ojiepermana-angular-component-combobox.mjs.map +0 -1
  195. package/fesm2022/ojiepermana-angular-component-command.mjs +0 -293
  196. package/fesm2022/ojiepermana-angular-component-command.mjs.map +0 -1
  197. package/fesm2022/ojiepermana-angular-component-composer.mjs +0 -352
  198. package/fesm2022/ojiepermana-angular-component-composer.mjs.map +0 -1
  199. package/fesm2022/ojiepermana-angular-component-context-menu.mjs +0 -103
  200. package/fesm2022/ojiepermana-angular-component-context-menu.mjs.map +0 -1
  201. package/fesm2022/ojiepermana-angular-component-date-picker.mjs +0 -170
  202. package/fesm2022/ojiepermana-angular-component-date-picker.mjs.map +0 -1
  203. package/fesm2022/ojiepermana-angular-component-dialog.mjs +0 -279
  204. package/fesm2022/ojiepermana-angular-component-dialog.mjs.map +0 -1
  205. package/fesm2022/ojiepermana-angular-component-drawer.mjs +0 -6
  206. package/fesm2022/ojiepermana-angular-component-drawer.mjs.map +0 -1
  207. package/fesm2022/ojiepermana-angular-component-dropdown-menu.mjs +0 -492
  208. package/fesm2022/ojiepermana-angular-component-dropdown-menu.mjs.map +0 -1
  209. package/fesm2022/ojiepermana-angular-component-editor.mjs +0 -717
  210. package/fesm2022/ojiepermana-angular-component-editor.mjs.map +0 -1
  211. package/fesm2022/ojiepermana-angular-component-empty.mjs +0 -145
  212. package/fesm2022/ojiepermana-angular-component-empty.mjs.map +0 -1
  213. package/fesm2022/ojiepermana-angular-component-form.mjs +0 -366
  214. package/fesm2022/ojiepermana-angular-component-form.mjs.map +0 -1
  215. package/fesm2022/ojiepermana-angular-component-hover-card.mjs +0 -297
  216. package/fesm2022/ojiepermana-angular-component-hover-card.mjs.map +0 -1
  217. package/fesm2022/ojiepermana-angular-component-input-group.mjs +0 -179
  218. package/fesm2022/ojiepermana-angular-component-input-group.mjs.map +0 -1
  219. package/fesm2022/ojiepermana-angular-component-input-otp.mjs +0 -514
  220. package/fesm2022/ojiepermana-angular-component-input-otp.mjs.map +0 -1
  221. package/fesm2022/ojiepermana-angular-component-input.mjs +0 -45
  222. package/fesm2022/ojiepermana-angular-component-input.mjs.map +0 -1
  223. package/fesm2022/ojiepermana-angular-component-item.mjs +0 -264
  224. package/fesm2022/ojiepermana-angular-component-item.mjs.map +0 -1
  225. package/fesm2022/ojiepermana-angular-component-kanban.mjs +0 -314
  226. package/fesm2022/ojiepermana-angular-component-kanban.mjs.map +0 -1
  227. package/fesm2022/ojiepermana-angular-component-kbd.mjs +0 -55
  228. package/fesm2022/ojiepermana-angular-component-kbd.mjs.map +0 -1
  229. package/fesm2022/ojiepermana-angular-component-label.mjs +0 -33
  230. package/fesm2022/ojiepermana-angular-component-label.mjs.map +0 -1
  231. package/fesm2022/ojiepermana-angular-component-menubar.mjs +0 -308
  232. package/fesm2022/ojiepermana-angular-component-menubar.mjs.map +0 -1
  233. package/fesm2022/ojiepermana-angular-component-native-select.mjs +0 -67
  234. package/fesm2022/ojiepermana-angular-component-native-select.mjs.map +0 -1
  235. package/fesm2022/ojiepermana-angular-component-navigation-menu.mjs +0 -413
  236. package/fesm2022/ojiepermana-angular-component-navigation-menu.mjs.map +0 -1
  237. package/fesm2022/ojiepermana-angular-component-pagination.mjs +0 -226
  238. package/fesm2022/ojiepermana-angular-component-pagination.mjs.map +0 -1
  239. package/fesm2022/ojiepermana-angular-component-pillbox.mjs +0 -812
  240. package/fesm2022/ojiepermana-angular-component-pillbox.mjs.map +0 -1
  241. package/fesm2022/ojiepermana-angular-component-popover.mjs +0 -169
  242. package/fesm2022/ojiepermana-angular-component-popover.mjs.map +0 -1
  243. package/fesm2022/ojiepermana-angular-component-progress.mjs +0 -60
  244. package/fesm2022/ojiepermana-angular-component-progress.mjs.map +0 -1
  245. package/fesm2022/ojiepermana-angular-component-radio.mjs +0 -122
  246. package/fesm2022/ojiepermana-angular-component-radio.mjs.map +0 -1
  247. package/fesm2022/ojiepermana-angular-component-resizable.mjs +0 -481
  248. package/fesm2022/ojiepermana-angular-component-resizable.mjs.map +0 -1
  249. package/fesm2022/ojiepermana-angular-component-scroll-area.mjs +0 -54
  250. package/fesm2022/ojiepermana-angular-component-scroll-area.mjs.map +0 -1
  251. package/fesm2022/ojiepermana-angular-component-select.mjs +0 -176
  252. package/fesm2022/ojiepermana-angular-component-select.mjs.map +0 -1
  253. package/fesm2022/ojiepermana-angular-component-separator.mjs +0 -37
  254. package/fesm2022/ojiepermana-angular-component-separator.mjs.map +0 -1
  255. package/fesm2022/ojiepermana-angular-component-sheet.mjs +0 -284
  256. package/fesm2022/ojiepermana-angular-component-sheet.mjs.map +0 -1
  257. package/fesm2022/ojiepermana-angular-component-skeleton.mjs +0 -31
  258. package/fesm2022/ojiepermana-angular-component-skeleton.mjs.map +0 -1
  259. package/fesm2022/ojiepermana-angular-component-slider.mjs +0 -423
  260. package/fesm2022/ojiepermana-angular-component-slider.mjs.map +0 -1
  261. package/fesm2022/ojiepermana-angular-component-spinner.mjs +0 -60
  262. package/fesm2022/ojiepermana-angular-component-spinner.mjs.map +0 -1
  263. package/fesm2022/ojiepermana-angular-component-switch.mjs +0 -116
  264. package/fesm2022/ojiepermana-angular-component-switch.mjs.map +0 -1
  265. package/fesm2022/ojiepermana-angular-component-table.mjs +0 -155
  266. package/fesm2022/ojiepermana-angular-component-table.mjs.map +0 -1
  267. package/fesm2022/ojiepermana-angular-component-tabs.mjs +0 -272
  268. package/fesm2022/ojiepermana-angular-component-tabs.mjs.map +0 -1
  269. package/fesm2022/ojiepermana-angular-component-textarea.mjs +0 -39
  270. package/fesm2022/ojiepermana-angular-component-textarea.mjs.map +0 -1
  271. package/fesm2022/ojiepermana-angular-component-timeline.mjs +0 -237
  272. package/fesm2022/ojiepermana-angular-component-timeline.mjs.map +0 -1
  273. package/fesm2022/ojiepermana-angular-component-toast.mjs +0 -71
  274. package/fesm2022/ojiepermana-angular-component-toast.mjs.map +0 -1
  275. package/fesm2022/ojiepermana-angular-component-toggle-group.mjs +0 -289
  276. package/fesm2022/ojiepermana-angular-component-toggle-group.mjs.map +0 -1
  277. package/fesm2022/ojiepermana-angular-component-toggle.mjs +0 -82
  278. package/fesm2022/ojiepermana-angular-component-toggle.mjs.map +0 -1
  279. package/fesm2022/ojiepermana-angular-component-tooltip.mjs +0 -354
  280. package/fesm2022/ojiepermana-angular-component-tooltip.mjs.map +0 -1
  281. package/fesm2022/ojiepermana-angular-component-utils.mjs +0 -13
  282. package/fesm2022/ojiepermana-angular-component-utils.mjs.map +0 -1
  283. package/fesm2022/ojiepermana-angular-generator-api.mjs +0 -68
  284. package/fesm2022/ojiepermana-angular-generator-api.mjs.map +0 -1
  285. package/fesm2022/ojiepermana-angular-layout-component.mjs +0 -602
  286. package/fesm2022/ojiepermana-angular-layout-component.mjs.map +0 -1
  287. package/fesm2022/ojiepermana-angular-layout-provider.mjs +0 -21
  288. package/fesm2022/ojiepermana-angular-layout-provider.mjs.map +0 -1
  289. package/fesm2022/ojiepermana-angular-layout-services.mjs +0 -116
  290. package/fesm2022/ojiepermana-angular-layout-services.mjs.map +0 -1
  291. package/fesm2022/ojiepermana-angular-layout-shell.mjs +0 -48
  292. package/fesm2022/ojiepermana-angular-layout-shell.mjs.map +0 -1
  293. package/fesm2022/ojiepermana-angular-layout-token-directive.mjs +0 -30
  294. package/fesm2022/ojiepermana-angular-layout-token-directive.mjs.map +0 -1
  295. package/fesm2022/ojiepermana-angular-layout-token.mjs +0 -33
  296. package/fesm2022/ojiepermana-angular-layout-token.mjs.map +0 -1
  297. package/fesm2022/ojiepermana-angular-layout-type-empty.mjs +0 -49
  298. package/fesm2022/ojiepermana-angular-layout-type-empty.mjs.map +0 -1
  299. package/fesm2022/ojiepermana-angular-layout-type-horizontal.mjs +0 -128
  300. package/fesm2022/ojiepermana-angular-layout-type-horizontal.mjs.map +0 -1
  301. package/fesm2022/ojiepermana-angular-layout-type-vertical.mjs +0 -123
  302. package/fesm2022/ojiepermana-angular-layout-type-vertical.mjs.map +0 -1
  303. package/fesm2022/ojiepermana-angular-layout.mjs +0 -485
  304. package/fesm2022/ojiepermana-angular-layout.mjs.map +0 -1
  305. package/fesm2022/ojiepermana-angular-navigation-demo-data.mjs +0 -334
  306. package/fesm2022/ojiepermana-angular-navigation-demo-data.mjs.map +0 -1
  307. package/fesm2022/ojiepermana-angular-navigation-icon.mjs +0 -63
  308. package/fesm2022/ojiepermana-angular-navigation-icon.mjs.map +0 -1
  309. package/fesm2022/ojiepermana-angular-navigation-item.mjs +0 -559
  310. package/fesm2022/ojiepermana-angular-navigation-item.mjs.map +0 -1
  311. package/fesm2022/ojiepermana-angular-navigation-service.mjs +0 -213
  312. package/fesm2022/ojiepermana-angular-navigation-service.mjs.map +0 -1
  313. package/fesm2022/ojiepermana-angular-navigation-sidebar.mjs +0 -401
  314. package/fesm2022/ojiepermana-angular-navigation-sidebar.mjs.map +0 -1
  315. package/fesm2022/ojiepermana-angular-navigation-topbar.mjs +0 -670
  316. package/fesm2022/ojiepermana-angular-navigation-topbar.mjs.map +0 -1
  317. package/fesm2022/ojiepermana-angular-navigation-types.mjs +0 -4
  318. package/fesm2022/ojiepermana-angular-navigation-types.mjs.map +0 -1
  319. package/fesm2022/ojiepermana-angular-theme-provider.mjs +0 -35
  320. package/fesm2022/ojiepermana-angular-theme-provider.mjs.map +0 -1
  321. package/fesm2022/ojiepermana-angular-theme-services.mjs +0 -294
  322. package/fesm2022/ojiepermana-angular-theme-services.mjs.map +0 -1
  323. package/fesm2022/ojiepermana-angular-theme-token.mjs +0 -56
  324. package/fesm2022/ojiepermana-angular-theme-token.mjs.map +0 -1
  325. package/generator/api/README.md +0 -252
  326. package/generator/api/bin/package.json +0 -3
  327. package/generator/api/bin/schematics/init/index.js +0 -90
  328. package/generator/api/bin/schematics/ng-add/index.js +0 -131
  329. package/generator/api/bin/schematics/sdk/index.js +0 -76
  330. package/generator/api/bin/src/config/loader.js +0 -41
  331. package/generator/api/bin/src/config/schema.js +0 -57
  332. package/generator/api/bin/src/emit/client.js +0 -248
  333. package/generator/api/bin/src/emit/metadata.js +0 -295
  334. package/generator/api/bin/src/emit/models.js +0 -106
  335. package/generator/api/bin/src/emit/navigation.js +0 -56
  336. package/generator/api/bin/src/emit/operations.js +0 -122
  337. package/generator/api/bin/src/emit/public-api.js +0 -54
  338. package/generator/api/bin/src/emit/services.js +0 -87
  339. package/generator/api/bin/src/engine.js +0 -65
  340. package/generator/api/bin/src/layout/per-domain.js +0 -359
  341. package/generator/api/bin/src/parser/bundle.js +0 -25
  342. package/generator/api/bin/src/parser/ir.js +0 -320
  343. package/generator/api/bin/src/parser/types.js +0 -7
  344. package/generator/api/bin/src/render/template.js +0 -58
  345. package/generator/api/bin/src/writer/index.js +0 -278
  346. package/generator/api/package.json +0 -4
  347. package/generator/api/schematics/init/schema.json +0 -19
  348. package/generator/api/schematics/ng-add/schema.json +0 -14
  349. package/generator/api/schematics/sdk/schema.json +0 -19
  350. package/generator/api/sdk.config.example.json +0 -24
  351. package/generator/guide/README.md +0 -84
  352. package/generator/guide/bin/package.json +0 -3
  353. package/generator/guide/bin/schematics/build/index.js +0 -36
  354. package/generator/guide/bin/schematics/init/index.js +0 -70
  355. package/generator/guide/bin/src/config/loader.js +0 -50
  356. package/generator/guide/bin/src/config/schema.js +0 -12
  357. package/generator/guide/bin/src/engine/component.js +0 -74
  358. package/generator/guide/bin/src/engine/frontmatter.js +0 -42
  359. package/generator/guide/bin/src/engine/index.js +0 -42
  360. package/generator/guide/bin/src/engine/naming.js +0 -39
  361. package/generator/guide/bin/src/engine/render.js +0 -36
  362. package/generator/guide/bin/src/engine/routes.js +0 -106
  363. package/generator/guide/bin/src/engine/walk.js +0 -35
  364. package/generator/guide/guide.config.example.json +0 -9
  365. package/generator/guide/schematics/build/schema.json +0 -14
  366. package/generator/guide/schematics/init/schema.json +0 -19
  367. package/layout/component/package.json +0 -4
  368. package/layout/package.json +0 -4
  369. package/layout/provider/package.json +0 -4
  370. package/layout/services/package.json +0 -4
  371. package/layout/shell/package.json +0 -4
  372. package/layout/token/directive/package.json +0 -4
  373. package/layout/token/package.json +0 -4
  374. package/layout/type/empty/package.json +0 -4
  375. package/layout/type/horizontal/package.json +0 -4
  376. package/layout/type/vertical/package.json +0 -4
  377. package/navigation/demo-data/package.json +0 -4
  378. package/navigation/icon/package.json +0 -4
  379. package/navigation/item/package.json +0 -4
  380. package/navigation/service/package.json +0 -4
  381. package/navigation/sidebar/package.json +0 -4
  382. package/navigation/topbar/README.md +0 -196
  383. package/navigation/topbar/package.json +0 -4
  384. package/navigation/types/package.json +0 -4
  385. package/theme/README.md +0 -174
  386. package/theme/package.json +0 -4
  387. package/theme/provider/package.json +0 -4
  388. package/theme/services/package.json +0 -4
  389. package/theme/styles/foundation/components.css +0 -81
  390. package/theme/styles/foundation/layers.css +0 -15
  391. package/theme/styles/foundation/tokens.css +0 -55
  392. package/theme/styles/index.css +0 -37
  393. package/theme/styles/integrations/material/autocomplete.css +0 -178
  394. package/theme/styles/integrations/material/button.css +0 -468
  395. package/theme/styles/integrations/material/dialog.css +0 -152
  396. package/theme/styles/integrations/material/select.css +0 -175
  397. package/theme/styles/integrations/material/slide-toggle.css +0 -234
  398. package/theme/styles/integrations/material/slider.css +0 -194
  399. package/theme/styles/integrations/material/tabs.css +0 -229
  400. package/theme/styles/integrations/material.css +0 -264
  401. package/theme/styles/integrations/tailwind.css +0 -114
  402. package/theme/styles/variants/color/amber.css +0 -31
  403. package/theme/styles/variants/color/base.css +0 -36
  404. package/theme/styles/variants/color/blue.css +0 -31
  405. package/theme/styles/variants/color/cyan.css +0 -31
  406. package/theme/styles/variants/color/emerald.css +0 -31
  407. package/theme/styles/variants/color/fuchsia.css +0 -31
  408. package/theme/styles/variants/color/green.css +0 -31
  409. package/theme/styles/variants/color/index.css +0 -22
  410. package/theme/styles/variants/color/indigo.css +0 -31
  411. package/theme/styles/variants/color/lime.css +0 -31
  412. package/theme/styles/variants/color/orange.css +0 -31
  413. package/theme/styles/variants/color/pink.css +0 -31
  414. package/theme/styles/variants/color/purple.css +0 -31
  415. package/theme/styles/variants/color/red.css +0 -31
  416. package/theme/styles/variants/color/rose.css +0 -31
  417. package/theme/styles/variants/color/sky.css +0 -31
  418. package/theme/styles/variants/color/teal.css +0 -31
  419. package/theme/styles/variants/color/violet.css +0 -31
  420. package/theme/styles/variants/color/yellow.css +0 -31
  421. package/theme/styles/variants/mode/dark.css +0 -20
  422. package/theme/styles/variants/mode/index.css +0 -6
  423. package/theme/styles/variants/mode/light.css +0 -24
  424. package/theme/styles/variants/style/brutal.css +0 -50
  425. package/theme/styles/variants/style/default.css +0 -54
  426. package/theme/styles/variants/style/index.css +0 -8
  427. package/theme/styles/variants/style/sharp.css +0 -50
  428. package/theme/styles/variants/style/soft.css +0 -50
  429. package/theme/token/package.json +0 -4
  430. package/types/ojiepermana-angular-component-accordion.d.ts +0 -51
  431. package/types/ojiepermana-angular-component-alert-dialog.d.ts +0 -93
  432. package/types/ojiepermana-angular-component-alert.d.ts +0 -37
  433. package/types/ojiepermana-angular-component-aspect-ratio.d.ts +0 -12
  434. package/types/ojiepermana-angular-component-avatar.d.ts +0 -51
  435. package/types/ojiepermana-angular-component-badge.d.ts +0 -19
  436. package/types/ojiepermana-angular-component-breadcrumb.d.ts +0 -46
  437. package/types/ojiepermana-angular-component-button-group.d.ts +0 -26
  438. package/types/ojiepermana-angular-component-button.d.ts +0 -22
  439. package/types/ojiepermana-angular-component-calendar.d.ts +0 -33
  440. package/types/ojiepermana-angular-component-card.d.ts +0 -60
  441. package/types/ojiepermana-angular-component-carousel.d.ts +0 -86
  442. package/types/ojiepermana-angular-component-chart-area.d.ts +0 -1
  443. package/types/ojiepermana-angular-component-chart-bar.d.ts +0 -1
  444. package/types/ojiepermana-angular-component-chart-line.d.ts +0 -1
  445. package/types/ojiepermana-angular-component-chart-pie.d.ts +0 -1
  446. package/types/ojiepermana-angular-component-chart-radar.d.ts +0 -1
  447. package/types/ojiepermana-angular-component-chart-radial.d.ts +0 -1
  448. package/types/ojiepermana-angular-component-chart-scatter.d.ts +0 -1
  449. package/types/ojiepermana-angular-component-chart.d.ts +0 -1094
  450. package/types/ojiepermana-angular-component-checkbox.d.ts +0 -35
  451. package/types/ojiepermana-angular-component-collapsible.d.ts +0 -42
  452. package/types/ojiepermana-angular-component-combobox.d.ts +0 -50
  453. package/types/ojiepermana-angular-component-command.d.ts +0 -99
  454. package/types/ojiepermana-angular-component-composer.d.ts +0 -90
  455. package/types/ojiepermana-angular-component-context-menu.d.ts +0 -35
  456. package/types/ojiepermana-angular-component-date-picker.d.ts +0 -41
  457. package/types/ojiepermana-angular-component-dialog.d.ts +0 -87
  458. package/types/ojiepermana-angular-component-drawer.d.ts +0 -1
  459. package/types/ojiepermana-angular-component-dropdown-menu.d.ts +0 -137
  460. package/types/ojiepermana-angular-component-editor.d.ts +0 -123
  461. package/types/ojiepermana-angular-component-empty.d.ts +0 -50
  462. package/types/ojiepermana-angular-component-form.d.ts +0 -141
  463. package/types/ojiepermana-angular-component-hover-card.d.ts +0 -74
  464. package/types/ojiepermana-angular-component-input-group.d.ts +0 -51
  465. package/types/ojiepermana-angular-component-input-otp.d.ts +0 -136
  466. package/types/ojiepermana-angular-component-input.d.ts +0 -16
  467. package/types/ojiepermana-angular-component-item.d.ts +0 -88
  468. package/types/ojiepermana-angular-component-kanban.d.ts +0 -70
  469. package/types/ojiepermana-angular-component-kbd.d.ts +0 -16
  470. package/types/ojiepermana-angular-component-label.d.ts +0 -11
  471. package/types/ojiepermana-angular-component-menubar.d.ts +0 -67
  472. package/types/ojiepermana-angular-component-native-select.d.ts +0 -26
  473. package/types/ojiepermana-angular-component-navigation-menu.d.ts +0 -96
  474. package/types/ojiepermana-angular-component-pagination.d.ts +0 -33
  475. package/types/ojiepermana-angular-component-pillbox.d.ts +0 -157
  476. package/types/ojiepermana-angular-component-popover.d.ts +0 -43
  477. package/types/ojiepermana-angular-component-progress.d.ts +0 -17
  478. package/types/ojiepermana-angular-component-radio.d.ts +0 -40
  479. package/types/ojiepermana-angular-component-resizable.d.ts +0 -99
  480. package/types/ojiepermana-angular-component-scroll-area.d.ts +0 -19
  481. package/types/ojiepermana-angular-component-select.d.ts +0 -57
  482. package/types/ojiepermana-angular-component-separator.d.ts +0 -14
  483. package/types/ojiepermana-angular-component-sheet.d.ts +0 -76
  484. package/types/ojiepermana-angular-component-skeleton.d.ts +0 -10
  485. package/types/ojiepermana-angular-component-slider.d.ts +0 -74
  486. package/types/ojiepermana-angular-component-spinner.d.ts +0 -13
  487. package/types/ojiepermana-angular-component-switch.d.ts +0 -40
  488. package/types/ojiepermana-angular-component-table.d.ts +0 -52
  489. package/types/ojiepermana-angular-component-tabs.d.ts +0 -92
  490. package/types/ojiepermana-angular-component-textarea.d.ts +0 -12
  491. package/types/ojiepermana-angular-component-timeline.d.ts +0 -63
  492. package/types/ojiepermana-angular-component-toast.d.ts +0 -38
  493. package/types/ojiepermana-angular-component-toggle-group.d.ts +0 -89
  494. package/types/ojiepermana-angular-component-toggle.d.ts +0 -25
  495. package/types/ojiepermana-angular-component-tooltip.d.ts +0 -89
  496. package/types/ojiepermana-angular-component-utils.d.ts +0 -5
  497. package/types/ojiepermana-angular-generator-api.d.ts +0 -86
  498. package/types/ojiepermana-angular-layout-component.d.ts +0 -205
  499. package/types/ojiepermana-angular-layout-provider.d.ts +0 -6
  500. package/types/ojiepermana-angular-layout-services.d.ts +0 -25
  501. package/types/ojiepermana-angular-layout-shell.d.ts +0 -8
  502. package/types/ojiepermana-angular-layout-token-directive.d.ts +0 -13
  503. package/types/ojiepermana-angular-layout-token.d.ts +0 -36
  504. package/types/ojiepermana-angular-layout-type-empty.d.ts +0 -22
  505. package/types/ojiepermana-angular-layout-type-horizontal.d.ts +0 -36
  506. package/types/ojiepermana-angular-layout-type-vertical.d.ts +0 -38
  507. package/types/ojiepermana-angular-layout.d.ts +0 -164
  508. package/types/ojiepermana-angular-navigation-demo-data.d.ts +0 -5
  509. package/types/ojiepermana-angular-navigation-icon.d.ts +0 -17
  510. package/types/ojiepermana-angular-navigation-item.d.ts +0 -54
  511. package/types/ojiepermana-angular-navigation-service.d.ts +0 -77
  512. package/types/ojiepermana-angular-navigation-sidebar.d.ts +0 -75
  513. package/types/ojiepermana-angular-navigation-topbar.d.ts +0 -74
  514. package/types/ojiepermana-angular-navigation-types.d.ts +0 -135
  515. package/types/ojiepermana-angular-theme-provider.d.ts +0 -11
  516. package/types/ojiepermana-angular-theme-services.d.ts +0 -55
  517. package/types/ojiepermana-angular-theme-token.d.ts +0 -57
@@ -1,112 +0,0 @@
1
- # Aspect Ratio
2
-
3
- Displays content within a fixed width-to-height ratio.
4
-
5
- Use Aspect Ratio for image frames, media placeholders, thumbnail cards, and any layout where the container height should derive from the available width.
6
-
7
- ## Import
8
-
9
- ```ts
10
- import { AspectRatioComponent } from '@ojiepermana/angular/component/aspect-ratio';
11
- ```
12
-
13
- ## Usage
14
-
15
- Bind a numeric ratio with `[ratio]`. The host renders as a block-level container with `position: relative`, so projected children can fill the box with `h-full w-full` or positioned overlays.
16
-
17
- ```html
18
- <div class="w-full max-w-sm">
19
- <ui-aspect-ratio [ratio]="16 / 9" class="overflow-hidden rounded-lg border border-border bg-muted/30">
20
- <img src="https://avatar.vercel.sh/shadcn1" alt="Demo media" class="h-full w-full object-cover" />
21
- </ui-aspect-ratio>
22
- </div>
23
- ```
24
-
25
- ## Common patterns
26
-
27
- ### Landscape media
28
-
29
- Use `16 / 9` for hero images, video posters, and card thumbnails.
30
-
31
- ```html
32
- <div class="max-w-sm">
33
- <ui-aspect-ratio [ratio]="16 / 9" class="overflow-hidden rounded-lg bg-muted">
34
- <img src="..." alt="Landscape" class="h-full w-full object-cover" />
35
- </ui-aspect-ratio>
36
- </div>
37
- ```
38
-
39
- ### Square avatars or gallery tiles
40
-
41
- Use `1` for square media slots.
42
-
43
- ```html
44
- <div class="max-w-48">
45
- <ui-aspect-ratio [ratio]="1" class="overflow-hidden rounded-xl bg-muted">
46
- <img src="..." alt="Square tile" class="h-full w-full object-cover" />
47
- </ui-aspect-ratio>
48
- </div>
49
- ```
50
-
51
- ### Portrait cards
52
-
53
- Use `9 / 16` when the design calls for tall image treatments.
54
-
55
- ```html
56
- <div class="max-w-40">
57
- <ui-aspect-ratio [ratio]="9 / 16" class="overflow-hidden rounded-xl bg-muted">
58
- <img src="..." alt="Portrait tile" class="h-full w-full object-cover" />
59
- </ui-aspect-ratio>
60
- </div>
61
- ```
62
-
63
- ### Figure with caption
64
-
65
- Keep captions outside the ratio box so the media height stays stable while text can grow naturally.
66
-
67
- ```html
68
- <figure class="max-w-sm">
69
- <ui-aspect-ratio [ratio]="16 / 9" class="overflow-hidden rounded-lg border border-border bg-muted/30">
70
- <img src="..." alt="Beautiful landscape" class="h-full w-full object-cover" />
71
- </ui-aspect-ratio>
72
- <figcaption class="mt-2 text-sm text-muted-foreground">Beautiful landscape</figcaption>
73
- </figure>
74
- ```
75
-
76
- ## API reference
77
-
78
- ### `AspectRatioComponent`
79
-
80
- | Input | Type | Default | Description |
81
- | ------- | -------- | -------- | ------------------------------------------------------------------------------------------- |
82
- | `ratio` | `number` | required | The desired width-to-height ratio. Use Angular expressions like `16 / 9`, `1`, or `9 / 16`. |
83
- | `class` | `string` | `''` | Additional utility classes for the host container. |
84
-
85
- ## Styling and theming
86
-
87
- Base host classes: `relative block w-full`.
88
-
89
- Pass utility classes for rounded corners, borders, backgrounds, shadows, and max width. Add `overflow-hidden` when the projected media should be clipped to the container radius. The projected child should usually use `h-full w-full object-cover` for image-like content.
90
-
91
- ## Accessibility
92
-
93
- Aspect Ratio has no built-in semantics beyond its host element. Accessibility comes from the projected content.
94
-
95
- - Provide meaningful `alt` text for images.
96
- - Prefer `<figure>` and `<figcaption>` when media needs visible labeling.
97
- - Do not place essential text only inside a background image.
98
-
99
- ## Keyboard interactions
100
-
101
- Aspect Ratio has no keyboard interaction. It should not receive focus unless the projected content contains an interactive control.
102
-
103
- ## Angular notes
104
-
105
- - Import `AspectRatioComponent` directly into the standalone component that owns the media layout.
106
- - Use `[ratio]` with a numeric Angular expression instead of a React prop like `ratio={16 / 9}`.
107
- - The component uses a block-level custom element so width utilities such as `w-full` and `max-w-sm` behave predictably.
108
- - The projected content is wrapped in an absolute fill container so overlays and full-height media stay aligned with the ratio box.
109
-
110
- ## Source parity
111
-
112
- This Angular implementation follows the shadcn Aspect Ratio examples for landscape, square, portrait, and RTL-friendly media layouts while translating React props and fill behavior to Angular bindings and projected content.
@@ -1,4 +0,0 @@
1
- {
2
- "module": "../../fesm2022/ojiepermana-angular-component-aspect-ratio.mjs",
3
- "typings": "../../types/ojiepermana-angular-component-aspect-ratio.d.ts"
4
- }
@@ -1,176 +0,0 @@
1
- # Avatar
2
-
3
- Rounded image with an automatic text fallback when the image fails to load.
4
-
5
- This Angular implementation follows the shadcn Avatar information architecture while adapting it to standalone Angular imports, signal-friendly inputs, and local menu primitives.
6
-
7
- ## Import
8
-
9
- ```ts
10
- import {
11
- AvatarBadgeComponent,
12
- AvatarComponent,
13
- AvatarFallbackComponent,
14
- AvatarGroupComponent,
15
- AvatarGroupCountComponent,
16
- AvatarImageComponent,
17
- } from '@ojiepermana/angular/component/avatar';
18
- ```
19
-
20
- ## Usage
21
-
22
- ```html
23
- <ui-avatar size="lg">
24
- <ui-avatar-image src="/me.jpg" alt="Ada Lovelace" />
25
- <ui-avatar-fallback>AL</ui-avatar-fallback>
26
- <ui-avatar-badge class="bg-emerald-600" aria-hidden="true"></ui-avatar-badge>
27
- </ui-avatar>
28
- ```
29
-
30
- If `src` fails to load, the `<img>` is removed and the fallback becomes visible.
31
-
32
- ## Composition
33
-
34
- ```text
35
- ui-avatar
36
- ├── ui-avatar-image
37
- ├── ui-avatar-fallback
38
- └── ui-avatar-badge
39
-
40
- ui-avatar-group
41
- ├── ui-avatar
42
- │ ├── ui-avatar-image
43
- │ ├── ui-avatar-fallback
44
- │ └── ui-avatar-badge
45
- ├── ui-avatar
46
- │ ├── ui-avatar-image
47
- │ ├── ui-avatar-fallback
48
- │ └── ui-avatar-badge
49
- └── ui-avatar-group-count
50
- ```
51
-
52
- ## Common patterns
53
-
54
- ### Basic avatar
55
-
56
- ```html
57
- <ui-avatar>
58
- <ui-avatar-image src="https://github.com/shadcn.png" alt="@shadcn" class="grayscale" />
59
- <ui-avatar-fallback>CN</ui-avatar-fallback>
60
- </ui-avatar>
61
- ```
62
-
63
- ### Presence badge
64
-
65
- Use `ui-avatar-badge` for online status, synced state, or a compact icon action.
66
-
67
- ```html
68
- <ui-avatar>
69
- <ui-avatar-image src="https://github.com/evilrabbit.png" alt="@evilrabbit" />
70
- <ui-avatar-fallback>ER</ui-avatar-fallback>
71
- <ui-avatar-badge class="bg-emerald-600" aria-hidden="true"></ui-avatar-badge>
72
- </ui-avatar>
73
- ```
74
-
75
- ### Avatar group
76
-
77
- `ui-avatar-group` applies the overlapping stack treatment, while `ui-avatar-group-count` handles the overflow counter.
78
-
79
- ```html
80
- <ui-avatar-group class="grayscale">
81
- <ui-avatar>
82
- <ui-avatar-image src="https://github.com/shadcn.png" alt="@shadcn" />
83
- <ui-avatar-fallback>CN</ui-avatar-fallback>
84
- </ui-avatar>
85
- <ui-avatar>
86
- <ui-avatar-image src="https://github.com/maxleiter.png" alt="@maxleiter" />
87
- <ui-avatar-fallback>ML</ui-avatar-fallback>
88
- </ui-avatar>
89
- <ui-avatar>
90
- <ui-avatar-image src="https://github.com/evilrabbit.png" alt="@evilrabbit" />
91
- <ui-avatar-fallback>ER</ui-avatar-fallback>
92
- </ui-avatar>
93
- <ui-avatar-group-count>+3</ui-avatar-group-count>
94
- </ui-avatar-group>
95
- ```
96
-
97
- ### Size variants
98
-
99
- Use the root `size` input instead of repeating manual width and height classes.
100
-
101
- ```html
102
- <div class="flex items-center gap-3">
103
- <ui-avatar size="sm">...</ui-avatar>
104
- <ui-avatar>...</ui-avatar>
105
- <ui-avatar size="lg">...</ui-avatar>
106
- </div>
107
- ```
108
-
109
- ### Dropdown trigger composition
110
-
111
- Avatar stays presentational. When it opens a menu, wrap it in a button and let the button or menu trigger own focus and keyboard handling.
112
-
113
- ```html
114
- <button ui-button variant="ghost" size="icon" class="h-10 w-10 rounded-full p-0" [uiMenuTrigger]="accountMenu">
115
- <ui-avatar>
116
- <ui-avatar-image src="https://github.com/shadcn.png" alt="Ada Lovelace" />
117
- <ui-avatar-fallback>AL</ui-avatar-fallback>
118
- </ui-avatar>
119
- </button>
120
- ```
121
-
122
- ### RTL
123
-
124
- Avatar itself does not need different markup in right-to-left layouts. Set `dir="rtl"` on the surrounding surface.
125
-
126
- ```html
127
- <section dir="rtl" lang="ar" class="flex items-center gap-4 text-right">
128
- <ui-avatar>
129
- <ui-avatar-image src="https://github.com/shadcn.png" alt="@shadcn" class="grayscale" />
130
- <ui-avatar-fallback>CN</ui-avatar-fallback>
131
- </ui-avatar>
132
- </section>
133
- ```
134
-
135
- ## API reference
136
-
137
- | Primitive | Input(s) |
138
- | --------------------------- | -------------------------------- |
139
- | `AvatarComponent` | `size`, `class` |
140
- | `AvatarImageComponent` | `src` (required), `alt`, `class` |
141
- | `AvatarFallbackComponent` | `class` |
142
- | `AvatarBadgeComponent` | `class` |
143
- | `AvatarGroupComponent` | `class` |
144
- | `AvatarGroupCountComponent` | `class` |
145
-
146
- `AvatarComponent.size` accepts `'default' | 'sm' | 'lg'` and defaults to `'default'`.
147
-
148
- ## Styling and theming
149
-
150
- Tokens consumed: `--muted`, `--muted-foreground`, `--background`, `--primary`, and `--primary-foreground`.
151
-
152
- The default avatar size is `h-10 w-10`. Use the `size` input for the common variants and pass `class` for brand-specific overrides such as grayscale, custom borders, or alternate badge colors.
153
-
154
- `ui-avatar-badge` is the right place for presence color overrides, and `ui-avatar-group-count` can be restyled when overflow counters should match a specific product palette.
155
-
156
- ## Accessibility
157
-
158
- Always pass a meaningful `alt` to `<ui-avatar-image>`. If the avatar is purely
159
- decorative (user's name already shown), use `alt=""`. The fallback text is
160
- readable by screen readers.
161
-
162
- Keep fallback text short, typically initials, so it remains legible in smaller sizes.
163
-
164
- ## Keyboard interactions
165
-
166
- Avatar itself is not interactive. If it is used to open a menu, dialog, or popover, wrap it in a native button or another focusable trigger primitive so Tab, Enter, and Space behavior stays with the interactive host.
167
-
168
- ## Angular notes
169
-
170
- - `size` is exposed as a typed Angular input on `ui-avatar`.
171
- - Grouping is handled by dedicated primitives instead of utility-only composition, which keeps Angular templates explicit and reusable.
172
- - Image fallback is handled internally by hiding the `<img>` after its `error` event.
173
-
174
- ## Source parity
175
-
176
- This Angular implementation follows the shadcn Avatar concepts, examples, and API shape while adapting menu composition to the local `ui-button` plus menu primitives and Angular standalone imports.
@@ -1,4 +0,0 @@
1
- {
2
- "module": "../../fesm2022/ojiepermana-angular-component-avatar.mjs",
3
- "typings": "../../types/ojiepermana-angular-component-avatar.d.ts"
4
- }
@@ -1,133 +0,0 @@
1
- # Badge
2
-
3
- Displays a badge or a semantic element that looks like a badge.
4
-
5
- Use Badge for status pills, small metadata labels, compact counts, and lightweight link-like callouts that should keep the badge silhouette.
6
-
7
- ## Import
8
-
9
- ```ts
10
- import { BadgeComponent } from '@ojiepermana/angular/component/badge';
11
- ```
12
-
13
- ## Usage
14
-
15
- Use `<ui-badge>` for the default host element or apply `[ui-badge]` to a semantic host such as `<span>` or `<a>` when the badge should inherit native behavior.
16
-
17
- ```html
18
- <ui-badge>New</ui-badge>
19
- <ui-badge variant="secondary">Secondary</ui-badge>
20
- <ui-badge variant="destructive">Error</ui-badge>
21
- <ui-badge variant="outline">Outline</ui-badge>
22
- <ui-badge variant="ghost">Ghost</ui-badge>
23
-
24
- <span ui-badge variant="secondary">v1.0</span>
25
-
26
- <a ui-badge variant="link" href="#billing">
27
- Open billing
28
- <svg aria-hidden="true" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" class="size-3">
29
- <path d="M7 17L17 7" />
30
- <path d="M9 7h8v8" />
31
- </svg>
32
- </a>
33
- ```
34
-
35
- ## Common patterns
36
-
37
- ### Variants
38
-
39
- The Angular primitive follows the current shadcn badge palette and adds `ghost` plus `link` variants to cover low-emphasis and anchor-style treatments.
40
-
41
- ```html
42
- <div class="flex flex-wrap gap-2">
43
- <ui-badge>Default</ui-badge>
44
- <ui-badge variant="secondary">Secondary</ui-badge>
45
- <ui-badge variant="destructive">Destructive</ui-badge>
46
- <ui-badge variant="outline">Outline</ui-badge>
47
- <ui-badge variant="ghost">Ghost</ui-badge>
48
- </div>
49
- ```
50
-
51
- ### With icon
52
-
53
- Project an inline SVG or icon component directly inside the badge. The primitive adds compact spacing and sizes direct child SVGs automatically.
54
-
55
- ```html
56
- <ui-badge variant="secondary">
57
- <svg aria-hidden="true" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
58
- <path d="M20 7L9 18l-5-5" />
59
- </svg>
60
- Verified
61
- </ui-badge>
62
- ```
63
-
64
- ### With spinner
65
-
66
- Spinner content can be projected like any other inline element.
67
-
68
- ```html
69
- <ui-badge variant="destructive">
70
- <span aria-hidden="true" class="size-3 animate-spin rounded-full border-2 border-current border-r-transparent"></span>
71
- Deleting
72
- </ui-badge>
73
- ```
74
-
75
- ### Link host
76
-
77
- shadcn React uses `asChild` for links. In Angular, use a semantic anchor host directly.
78
-
79
- ```html
80
- <a ui-badge variant="link" href="#link">Open Link</a>
81
- ```
82
-
83
- ### Custom colors
84
-
85
- Custom color treatments are plain classes on the host.
86
-
87
- ```html
88
- <ui-badge class="border-transparent bg-sky-100 text-sky-800">Blue</ui-badge>
89
- <ui-badge class="border-transparent bg-emerald-100 text-emerald-800">Green</ui-badge>
90
- ```
91
-
92
- ## API reference
93
-
94
- ### `BadgeComponent`
95
-
96
- | Input | Type | Default |
97
- | --------- | ----------------------------------------------------------------------------- | ----------- |
98
- | `variant` | `'default' \| 'secondary' \| 'destructive' \| 'outline' \| 'ghost' \| 'link'` | `'default'` |
99
- | `class` | `string` | `''` |
100
-
101
- ## Styling and theming
102
-
103
- The base badge uses `border-border` for visible outlines instead of inheriting border color from text. Variant classes override that border when the badge should render as a filled pill.
104
-
105
- Pass `class` to add custom backgrounds, foreground colors, spacing, or width behavior. Direct child SVGs inherit `currentColor` and receive compact sizing automatically.
106
-
107
- Powered by `class-variance-authority`. Re-export: `badgeVariants` and `BadgeVariant`.
108
-
109
- ```ts
110
- import { badgeVariants } from '@ojiepermana/angular/component/badge';
111
-
112
- const className = badgeVariants({ variant: 'link' });
113
- ```
114
-
115
- ## Accessibility
116
-
117
- - Keep meaningful text inside the badge when it communicates a state, label, or count.
118
- - Do not rely on color alone to distinguish success, warning, or destructive meaning.
119
- - When the badge should be interactive, use a semantic host like `<a ui-badge>` so native keyboard and screen-reader behavior stay intact.
120
-
121
- ## Keyboard interactions
122
-
123
- Static badges are not focusable. Anchors and other semantic hosts keep their native keyboard behavior, so Tab and Enter handling stays with the host element rather than the badge primitive itself.
124
-
125
- ## Angular notes
126
-
127
- - Angular uses the selector `ui-badge` for the default element host and `[ui-badge]` for semantic hosts.
128
- - React `asChild` maps to choosing the correct host element directly in Angular templates.
129
- - `variant` is an Angular `input()` on the badge component, so it works on both element and attribute hosts.
130
-
131
- ## Source parity
132
-
133
- This Angular badge follows the shadcn Badge information architecture and examples while translating React-specific `asChild` composition into semantic Angular host elements.
@@ -1,4 +0,0 @@
1
- {
2
- "module": "../../fesm2022/ojiepermana-angular-component-badge.mjs",
3
- "typings": "../../types/ojiepermana-angular-component-badge.d.ts"
4
- }
@@ -1,216 +0,0 @@
1
- # Breadcrumb
2
-
3
- Displays the path to the current resource using a hierarchy of links.
4
-
5
- Use Breadcrumb for hierarchical navigation trails in docs, account areas, settings surfaces, and deep app routes where users need a quick sense of where they are.
6
-
7
- ## Import
8
-
9
- ```ts
10
- import {
11
- BreadcrumbComponent,
12
- BreadcrumbEllipsisComponent,
13
- BreadcrumbItemComponent,
14
- BreadcrumbLinkComponent,
15
- BreadcrumbListComponent,
16
- BreadcrumbPageComponent,
17
- BreadcrumbSeparatorComponent,
18
- } from '@ojiepermana/angular/component/breadcrumb';
19
- import { RouterLink } from '@angular/router';
20
- ```
21
-
22
- ## Composition
23
-
24
- The Angular structure matches the shadcn breadcrumb composition while translating it to Angular selectors and native router-friendly anchors.
25
-
26
- ```text
27
- ui-breadcrumb
28
- └── ol[ui-breadcrumb-list]
29
- ├── li[ui-breadcrumb-item]
30
- │ └── a[ui-breadcrumb-link]
31
- ├── li[ui-breadcrumb-separator]
32
- ├── li[ui-breadcrumb-item]
33
- │ └── a[ui-breadcrumb-link]
34
- ├── li[ui-breadcrumb-separator]
35
- └── li[ui-breadcrumb-item]
36
- └── span[ui-breadcrumb-page]
37
- ```
38
-
39
- ## Basic usage
40
-
41
- Prefer a semantic `<nav ui-breadcrumb>` root, then build the trail from list, item, link, separator, and current-page parts.
42
-
43
- ```html
44
- <nav ui-breadcrumb>
45
- <ol ui-breadcrumb-list>
46
- <li ui-breadcrumb-item>
47
- <a ui-breadcrumb-link routerLink="/">Home</a>
48
- </li>
49
- <li ui-breadcrumb-separator></li>
50
- <li ui-breadcrumb-item>
51
- <a ui-breadcrumb-link routerLink="/ui/shadcn/button">Components</a>
52
- </li>
53
- <li ui-breadcrumb-separator></li>
54
- <li ui-breadcrumb-item>
55
- <span ui-breadcrumb-page>Breadcrumb</span>
56
- </li>
57
- </ol>
58
- </nav>
59
- ```
60
-
61
- ## Common patterns
62
-
63
- ### Custom separator
64
-
65
- Project custom children into `ui-breadcrumb-separator` to swap the default chevron for a slash, dot, brand icon, or other neutral divider.
66
-
67
- ```html
68
- <nav ui-breadcrumb>
69
- <ol ui-breadcrumb-list>
70
- <li ui-breadcrumb-item><a ui-breadcrumb-link href="/">Home</a></li>
71
- <li ui-breadcrumb-separator>
72
- <svg class="h-2.5 w-2.5" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true">
73
- <circle cx="12" cy="12" r="3"></circle>
74
- </svg>
75
- </li>
76
- <li ui-breadcrumb-item><a ui-breadcrumb-link href="/components">Components</a></li>
77
- <li ui-breadcrumb-separator>
78
- <svg class="h-2.5 w-2.5" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true">
79
- <circle cx="12" cy="12" r="3"></circle>
80
- </svg>
81
- </li>
82
- <li ui-breadcrumb-item><span ui-breadcrumb-page>Breadcrumb</span></li>
83
- </ol>
84
- </nav>
85
- ```
86
-
87
- ### Collapsed trail
88
-
89
- Use `ui-breadcrumb-ellipsis` when the trail is too long to show in full. Wrap it in a labeled button when the ellipsis should open an overflow menu.
90
-
91
- ```html
92
- <nav ui-breadcrumb>
93
- <ol ui-breadcrumb-list>
94
- <li ui-breadcrumb-item><a ui-breadcrumb-link routerLink="/">Home</a></li>
95
- <li ui-breadcrumb-separator></li>
96
- <li ui-breadcrumb-item><span ui-breadcrumb-ellipsis></span></li>
97
- <li ui-breadcrumb-separator></li>
98
- <li ui-breadcrumb-item><a ui-breadcrumb-link routerLink="/docs/components">Components</a></li>
99
- <li ui-breadcrumb-separator></li>
100
- <li ui-breadcrumb-item><span ui-breadcrumb-page>Breadcrumb</span></li>
101
- </ol>
102
- </nav>
103
- ```
104
-
105
- ### Dropdown composition
106
-
107
- Compose a breadcrumb item with the local menu primitives when an intermediate node should expose related destinations instead of linking directly.
108
-
109
- ```html
110
- <nav ui-breadcrumb>
111
- <ol ui-breadcrumb-list>
112
- <li ui-breadcrumb-item><a ui-breadcrumb-link routerLink="/">Home</a></li>
113
- <li ui-breadcrumb-separator></li>
114
- <li ui-breadcrumb-item>
115
- <button
116
- ui-button
117
- type="button"
118
- variant="ghost"
119
- class="h-auto gap-1 px-2 py-1 font-normal text-muted-foreground hover:text-foreground"
120
- [uiMenuTrigger]="componentsMenu">
121
- Components
122
- <svg class="h-3.5 w-3.5" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
123
- <polyline points="6 9 12 15 18 9"></polyline>
124
- </svg>
125
- </button>
126
-
127
- <ng-template uiMenuContent #componentsMenu="uiMenuContent">
128
- <ui-menu-surface class="w-44">
129
- <ui-menu-label>Components</ui-menu-label>
130
- <button ui-menu-item>Documentation</button>
131
- <button ui-menu-item>Themes</button>
132
- <button ui-menu-item>GitHub</button>
133
- </ui-menu-surface>
134
- </ng-template>
135
- </li>
136
- <li ui-breadcrumb-separator></li>
137
- <li ui-breadcrumb-item><span ui-breadcrumb-page>Breadcrumb</span></li>
138
- </ol>
139
- </nav>
140
- ```
141
-
142
- ### RouterLink integration
143
-
144
- The shadcn React examples use `asChild` for custom routing components. In Angular, apply `routerLink` or `href` directly to the anchor that carries `ui-breadcrumb-link`.
145
-
146
- ```html
147
- <a ui-breadcrumb-link routerLink="/ui/shadcn">Components</a>
148
- <a ui-breadcrumb-link href="https://ui.shadcn.com/docs/components/radix/breadcrumb">shadcn docs</a>
149
- ```
150
-
151
- ### RTL
152
-
153
- Set `dir="rtl"` on the breadcrumb root or an ancestor container. The structure stays the same while the visual flow shifts to right-to-left.
154
-
155
- ```html
156
- <nav ui-breadcrumb dir="rtl" lang="ar">
157
- <ol ui-breadcrumb-list class="justify-end">
158
- <li ui-breadcrumb-item><a ui-breadcrumb-link href="/">الرئيسية</a></li>
159
- <li ui-breadcrumb-separator></li>
160
- <li ui-breadcrumb-item><a ui-breadcrumb-link href="/components">المكونات</a></li>
161
- <li ui-breadcrumb-separator></li>
162
- <li ui-breadcrumb-item><span ui-breadcrumb-page>مسار التنقل</span></li>
163
- </ol>
164
- </nav>
165
- ```
166
-
167
- ## API reference
168
-
169
- ### `BreadcrumbComponent`
170
-
171
- | Input | Type | Default |
172
- | ------- | -------- | ------- |
173
- | `class` | `string` | `''` |
174
-
175
- Use on `ui-breadcrumb` or `nav[ui-breadcrumb]`. The root always emits `aria-label="breadcrumb"` and keeps the custom-element form block-level.
176
-
177
- ### Parts
178
-
179
- | Part | Selector | Input |
180
- | ------------------------------ | ------------------------------ | ------- |
181
- | `BreadcrumbListComponent` | `ol[ui-breadcrumb-list]` | `class` |
182
- | `BreadcrumbItemComponent` | `li[ui-breadcrumb-item]` | `class` |
183
- | `BreadcrumbLinkComponent` | `a[ui-breadcrumb-link]` | `class` |
184
- | `BreadcrumbPageComponent` | `span[ui-breadcrumb-page]` | `class` |
185
- | `BreadcrumbSeparatorComponent` | `li[ui-breadcrumb-separator]` | `class` |
186
- | `BreadcrumbEllipsisComponent` | `span[ui-breadcrumb-ellipsis]` | `class` |
187
-
188
- `BreadcrumbSeparatorComponent` accepts projected children to replace the default chevron icon.
189
-
190
- ## Styling and theming
191
-
192
- The breadcrumb follows the shared theme tokens for foreground and muted text. Pass `class` to the list or individual parts to control spacing, alignment, color, and embedded layouts.
193
-
194
- For example, use `class="justify-end"` on `ui-breadcrumb-list` for RTL alignment or `class="max-w-full"` on the root to fit a constrained header.
195
-
196
- ## Accessibility
197
-
198
- - Root `<nav>` exposes `aria-label="breadcrumb"`.
199
- - The current page uses `<span ui-breadcrumb-page>` which emits `role="link"`, `aria-current="page"`, and `aria-disabled="true"` so the trail announces the current location.
200
- - Separators and ellipses are `aria-hidden` and `role="presentation"`.
201
- - If `ui-breadcrumb-ellipsis` becomes interactive, wrap it in a labeled button so the overflow action is announced correctly.
202
-
203
- ## Keyboard interactions
204
-
205
- - Links use native anchor keyboard behavior.
206
- - Overflow menu buttons rely on the local `ui-button` and `uiMenuTrigger` primitives for Enter, Space, ArrowDown, and Escape handling.
207
-
208
- ## Angular notes
209
-
210
- - Prefer `<nav ui-breadcrumb>` for a semantic navigation landmark.
211
- - `<ui-breadcrumb>` is also supported and renders as a block-level host by default.
212
- - The React `asChild` examples map to Angular-native composition: put `routerLink` or `href` directly on `<a ui-breadcrumb-link>`.
213
-
214
- ## Source parity
215
-
216
- This Angular implementation follows the shadcn breadcrumb information architecture while translating React-specific patterns such as `asChild` and dropdown composition into Angular RouterLink, button, and menu primitives.
@@ -1,4 +0,0 @@
1
- {
2
- "module": "../../fesm2022/ojiepermana-angular-component-breadcrumb.mjs",
3
- "typings": "../../types/ojiepermana-angular-component-breadcrumb.d.ts"
4
- }