@edsis/angular 22.0.1 → 22.0.2

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 (514) hide show
  1. package/README.md +88 -261
  2. package/fesm2022/edsis-angular-block-shell.mjs +759 -0
  3. package/fesm2022/edsis-angular-block-shell.mjs.map +1 -0
  4. package/fesm2022/edsis-angular-module-auth.mjs +1574 -0
  5. package/fesm2022/edsis-angular-module-auth.mjs.map +1 -0
  6. package/fesm2022/edsis-angular.mjs +8 -0
  7. package/fesm2022/edsis-angular.mjs.map +1 -0
  8. package/package.json +17 -429
  9. package/types/edsis-angular-block-shell.d.ts +114 -0
  10. package/types/edsis-angular-module-auth.d.ts +140 -0
  11. package/types/edsis-angular.d.ts +2 -0
  12. package/.npmignore +0 -2
  13. package/collection.json +0 -30
  14. package/component/accordion/README.md +0 -195
  15. package/component/accordion/package.json +0 -4
  16. package/component/alert/README.md +0 -182
  17. package/component/alert/package.json +0 -4
  18. package/component/alert-dialog/README.md +0 -239
  19. package/component/alert-dialog/package.json +0 -4
  20. package/component/aspect-ratio/README.md +0 -112
  21. package/component/aspect-ratio/package.json +0 -4
  22. package/component/avatar/README.md +0 -176
  23. package/component/avatar/package.json +0 -4
  24. package/component/badge/README.md +0 -133
  25. package/component/badge/package.json +0 -4
  26. package/component/breadcrumb/README.md +0 -216
  27. package/component/breadcrumb/package.json +0 -4
  28. package/component/button/README.md +0 -139
  29. package/component/button/package.json +0 -4
  30. package/component/button-group/README.md +0 -208
  31. package/component/button-group/package.json +0 -4
  32. package/component/calendar/README.md +0 -132
  33. package/component/calendar/package.json +0 -4
  34. package/component/card/README.md +0 -220
  35. package/component/card/package.json +0 -4
  36. package/component/carousel/README.md +0 -276
  37. package/component/carousel/package.json +0 -4
  38. package/component/chart/README.md +0 -249
  39. package/component/chart/area/package.json +0 -4
  40. package/component/chart/bar/package.json +0 -4
  41. package/component/chart/line/package.json +0 -4
  42. package/component/chart/package.json +0 -4
  43. package/component/chart/pie/package.json +0 -4
  44. package/component/chart/radar/package.json +0 -4
  45. package/component/chart/radial/package.json +0 -4
  46. package/component/chart/scatter/package.json +0 -4
  47. package/component/checkbox/README.md +0 -149
  48. package/component/checkbox/package.json +0 -4
  49. package/component/collapsible/README.md +0 -195
  50. package/component/collapsible/package.json +0 -4
  51. package/component/combobox/README.md +0 -198
  52. package/component/combobox/package.json +0 -4
  53. package/component/command/README.md +0 -275
  54. package/component/command/package.json +0 -4
  55. package/component/composer/README.md +0 -235
  56. package/component/composer/package.json +0 -4
  57. package/component/context-menu/README.md +0 -267
  58. package/component/context-menu/package.json +0 -4
  59. package/component/date-picker/README.md +0 -177
  60. package/component/date-picker/package.json +0 -4
  61. package/component/dialog/README.md +0 -237
  62. package/component/dialog/package.json +0 -4
  63. package/component/drawer/README.md +0 -145
  64. package/component/drawer/package.json +0 -4
  65. package/component/dropdown-menu/README.md +0 -311
  66. package/component/dropdown-menu/package.json +0 -4
  67. package/component/editor/README.md +0 -136
  68. package/component/editor/package.json +0 -4
  69. package/component/empty/README.md +0 -183
  70. package/component/empty/package.json +0 -4
  71. package/component/form/README.md +0 -210
  72. package/component/form/package.json +0 -4
  73. package/component/hover-card/README.md +0 -146
  74. package/component/hover-card/package.json +0 -4
  75. package/component/input/README.md +0 -159
  76. package/component/input/package.json +0 -4
  77. package/component/input-group/README.md +0 -239
  78. package/component/input-group/package.json +0 -4
  79. package/component/input-otp/README.md +0 -278
  80. package/component/input-otp/package.json +0 -4
  81. package/component/item/README.md +0 -247
  82. package/component/item/package.json +0 -4
  83. package/component/kanban/README.md +0 -81
  84. package/component/kanban/package.json +0 -4
  85. package/component/kbd/README.md +0 -139
  86. package/component/kbd/package.json +0 -4
  87. package/component/label/README.md +0 -136
  88. package/component/label/package.json +0 -4
  89. package/component/menubar/README.md +0 -269
  90. package/component/menubar/package.json +0 -4
  91. package/component/native-select/README.md +0 -176
  92. package/component/native-select/package.json +0 -4
  93. package/component/navigation-menu/README.md +0 -160
  94. package/component/navigation-menu/package.json +0 -4
  95. package/component/pagination/README.md +0 -144
  96. package/component/pagination/package.json +0 -4
  97. package/component/pillbox/README.md +0 -67
  98. package/component/pillbox/package.json +0 -4
  99. package/component/popover/README.md +0 -43
  100. package/component/popover/package.json +0 -4
  101. package/component/progress/README.md +0 -160
  102. package/component/progress/package.json +0 -4
  103. package/component/radio/README.md +0 -209
  104. package/component/radio/package.json +0 -4
  105. package/component/resizable/README.md +0 -168
  106. package/component/resizable/package.json +0 -4
  107. package/component/scroll-area/README.md +0 -143
  108. package/component/scroll-area/package.json +0 -4
  109. package/component/select/README.md +0 -174
  110. package/component/select/package.json +0 -4
  111. package/component/separator/README.md +0 -170
  112. package/component/separator/package.json +0 -4
  113. package/component/sheet/README.md +0 -183
  114. package/component/sheet/package.json +0 -4
  115. package/component/skeleton/README.md +0 -158
  116. package/component/skeleton/package.json +0 -4
  117. package/component/slider/README.md +0 -207
  118. package/component/slider/package.json +0 -4
  119. package/component/spinner/README.md +0 -160
  120. package/component/spinner/package.json +0 -4
  121. package/component/switch/README.md +0 -166
  122. package/component/switch/package.json +0 -4
  123. package/component/table/README.md +0 -291
  124. package/component/table/package.json +0 -4
  125. package/component/tabs/README.md +0 -219
  126. package/component/tabs/package.json +0 -4
  127. package/component/textarea/README.md +0 -154
  128. package/component/textarea/package.json +0 -4
  129. package/component/timeline/README.md +0 -94
  130. package/component/timeline/package.json +0 -4
  131. package/component/toast/README.md +0 -321
  132. package/component/toast/package.json +0 -4
  133. package/component/toggle/README.md +0 -131
  134. package/component/toggle/package.json +0 -4
  135. package/component/toggle-group/README.md +0 -206
  136. package/component/toggle-group/package.json +0 -4
  137. package/component/tooltip/README.md +0 -211
  138. package/component/tooltip/package.json +0 -4
  139. package/component/utils/package.json +0 -4
  140. package/fesm2022/ojiepermana-angular-component-accordion.mjs +0 -189
  141. package/fesm2022/ojiepermana-angular-component-accordion.mjs.map +0 -1
  142. package/fesm2022/ojiepermana-angular-component-alert-dialog.mjs +0 -276
  143. package/fesm2022/ojiepermana-angular-component-alert-dialog.mjs.map +0 -1
  144. package/fesm2022/ojiepermana-angular-component-alert.mjs +0 -99
  145. package/fesm2022/ojiepermana-angular-component-alert.mjs.map +0 -1
  146. package/fesm2022/ojiepermana-angular-component-aspect-ratio.mjs +0 -37
  147. package/fesm2022/ojiepermana-angular-component-aspect-ratio.mjs.map +0 -1
  148. package/fesm2022/ojiepermana-angular-component-avatar.mjs +0 -139
  149. package/fesm2022/ojiepermana-angular-component-avatar.mjs.map +0 -1
  150. package/fesm2022/ojiepermana-angular-component-badge.mjs +0 -50
  151. package/fesm2022/ojiepermana-angular-component-badge.mjs.map +0 -1
  152. package/fesm2022/ojiepermana-angular-component-breadcrumb.mjs +0 -200
  153. package/fesm2022/ojiepermana-angular-component-breadcrumb.mjs.map +0 -1
  154. package/fesm2022/ojiepermana-angular-component-button-group.mjs +0 -103
  155. package/fesm2022/ojiepermana-angular-component-button-group.mjs.map +0 -1
  156. package/fesm2022/ojiepermana-angular-component-button.mjs +0 -68
  157. package/fesm2022/ojiepermana-angular-component-button.mjs.map +0 -1
  158. package/fesm2022/ojiepermana-angular-component-calendar.mjs +0 -88
  159. package/fesm2022/ojiepermana-angular-component-calendar.mjs.map +0 -1
  160. package/fesm2022/ojiepermana-angular-component-card.mjs +0 -152
  161. package/fesm2022/ojiepermana-angular-component-card.mjs.map +0 -1
  162. package/fesm2022/ojiepermana-angular-component-carousel.mjs +0 -334
  163. package/fesm2022/ojiepermana-angular-component-carousel.mjs.map +0 -1
  164. package/fesm2022/ojiepermana-angular-component-chart-area.mjs +0 -6
  165. package/fesm2022/ojiepermana-angular-component-chart-area.mjs.map +0 -1
  166. package/fesm2022/ojiepermana-angular-component-chart-bar.mjs +0 -6
  167. package/fesm2022/ojiepermana-angular-component-chart-bar.mjs.map +0 -1
  168. package/fesm2022/ojiepermana-angular-component-chart-line.mjs +0 -6
  169. package/fesm2022/ojiepermana-angular-component-chart-line.mjs.map +0 -1
  170. package/fesm2022/ojiepermana-angular-component-chart-pie.mjs +0 -6
  171. package/fesm2022/ojiepermana-angular-component-chart-pie.mjs.map +0 -1
  172. package/fesm2022/ojiepermana-angular-component-chart-radar.mjs +0 -6
  173. package/fesm2022/ojiepermana-angular-component-chart-radar.mjs.map +0 -1
  174. package/fesm2022/ojiepermana-angular-component-chart-radial.mjs +0 -6
  175. package/fesm2022/ojiepermana-angular-component-chart-radial.mjs.map +0 -1
  176. package/fesm2022/ojiepermana-angular-component-chart-scatter.mjs +0 -6
  177. package/fesm2022/ojiepermana-angular-component-chart-scatter.mjs.map +0 -1
  178. package/fesm2022/ojiepermana-angular-component-chart.mjs +0 -3925
  179. package/fesm2022/ojiepermana-angular-component-chart.mjs.map +0 -1
  180. package/fesm2022/ojiepermana-angular-component-checkbox.mjs +0 -114
  181. package/fesm2022/ojiepermana-angular-component-checkbox.mjs.map +0 -1
  182. package/fesm2022/ojiepermana-angular-component-collapsible.mjs +0 -124
  183. package/fesm2022/ojiepermana-angular-component-collapsible.mjs.map +0 -1
  184. package/fesm2022/ojiepermana-angular-component-combobox.mjs +0 -272
  185. package/fesm2022/ojiepermana-angular-component-combobox.mjs.map +0 -1
  186. package/fesm2022/ojiepermana-angular-component-command.mjs +0 -293
  187. package/fesm2022/ojiepermana-angular-component-command.mjs.map +0 -1
  188. package/fesm2022/ojiepermana-angular-component-composer.mjs +0 -352
  189. package/fesm2022/ojiepermana-angular-component-composer.mjs.map +0 -1
  190. package/fesm2022/ojiepermana-angular-component-context-menu.mjs +0 -103
  191. package/fesm2022/ojiepermana-angular-component-context-menu.mjs.map +0 -1
  192. package/fesm2022/ojiepermana-angular-component-date-picker.mjs +0 -170
  193. package/fesm2022/ojiepermana-angular-component-date-picker.mjs.map +0 -1
  194. package/fesm2022/ojiepermana-angular-component-dialog.mjs +0 -279
  195. package/fesm2022/ojiepermana-angular-component-dialog.mjs.map +0 -1
  196. package/fesm2022/ojiepermana-angular-component-drawer.mjs +0 -6
  197. package/fesm2022/ojiepermana-angular-component-drawer.mjs.map +0 -1
  198. package/fesm2022/ojiepermana-angular-component-dropdown-menu.mjs +0 -492
  199. package/fesm2022/ojiepermana-angular-component-dropdown-menu.mjs.map +0 -1
  200. package/fesm2022/ojiepermana-angular-component-editor.mjs +0 -717
  201. package/fesm2022/ojiepermana-angular-component-editor.mjs.map +0 -1
  202. package/fesm2022/ojiepermana-angular-component-empty.mjs +0 -145
  203. package/fesm2022/ojiepermana-angular-component-empty.mjs.map +0 -1
  204. package/fesm2022/ojiepermana-angular-component-form.mjs +0 -366
  205. package/fesm2022/ojiepermana-angular-component-form.mjs.map +0 -1
  206. package/fesm2022/ojiepermana-angular-component-hover-card.mjs +0 -297
  207. package/fesm2022/ojiepermana-angular-component-hover-card.mjs.map +0 -1
  208. package/fesm2022/ojiepermana-angular-component-input-group.mjs +0 -179
  209. package/fesm2022/ojiepermana-angular-component-input-group.mjs.map +0 -1
  210. package/fesm2022/ojiepermana-angular-component-input-otp.mjs +0 -514
  211. package/fesm2022/ojiepermana-angular-component-input-otp.mjs.map +0 -1
  212. package/fesm2022/ojiepermana-angular-component-input.mjs +0 -45
  213. package/fesm2022/ojiepermana-angular-component-input.mjs.map +0 -1
  214. package/fesm2022/ojiepermana-angular-component-item.mjs +0 -264
  215. package/fesm2022/ojiepermana-angular-component-item.mjs.map +0 -1
  216. package/fesm2022/ojiepermana-angular-component-kanban.mjs +0 -314
  217. package/fesm2022/ojiepermana-angular-component-kanban.mjs.map +0 -1
  218. package/fesm2022/ojiepermana-angular-component-kbd.mjs +0 -55
  219. package/fesm2022/ojiepermana-angular-component-kbd.mjs.map +0 -1
  220. package/fesm2022/ojiepermana-angular-component-label.mjs +0 -33
  221. package/fesm2022/ojiepermana-angular-component-label.mjs.map +0 -1
  222. package/fesm2022/ojiepermana-angular-component-menubar.mjs +0 -308
  223. package/fesm2022/ojiepermana-angular-component-menubar.mjs.map +0 -1
  224. package/fesm2022/ojiepermana-angular-component-native-select.mjs +0 -67
  225. package/fesm2022/ojiepermana-angular-component-native-select.mjs.map +0 -1
  226. package/fesm2022/ojiepermana-angular-component-navigation-menu.mjs +0 -413
  227. package/fesm2022/ojiepermana-angular-component-navigation-menu.mjs.map +0 -1
  228. package/fesm2022/ojiepermana-angular-component-pagination.mjs +0 -226
  229. package/fesm2022/ojiepermana-angular-component-pagination.mjs.map +0 -1
  230. package/fesm2022/ojiepermana-angular-component-pillbox.mjs +0 -812
  231. package/fesm2022/ojiepermana-angular-component-pillbox.mjs.map +0 -1
  232. package/fesm2022/ojiepermana-angular-component-popover.mjs +0 -169
  233. package/fesm2022/ojiepermana-angular-component-popover.mjs.map +0 -1
  234. package/fesm2022/ojiepermana-angular-component-progress.mjs +0 -60
  235. package/fesm2022/ojiepermana-angular-component-progress.mjs.map +0 -1
  236. package/fesm2022/ojiepermana-angular-component-radio.mjs +0 -122
  237. package/fesm2022/ojiepermana-angular-component-radio.mjs.map +0 -1
  238. package/fesm2022/ojiepermana-angular-component-resizable.mjs +0 -481
  239. package/fesm2022/ojiepermana-angular-component-resizable.mjs.map +0 -1
  240. package/fesm2022/ojiepermana-angular-component-scroll-area.mjs +0 -54
  241. package/fesm2022/ojiepermana-angular-component-scroll-area.mjs.map +0 -1
  242. package/fesm2022/ojiepermana-angular-component-select.mjs +0 -176
  243. package/fesm2022/ojiepermana-angular-component-select.mjs.map +0 -1
  244. package/fesm2022/ojiepermana-angular-component-separator.mjs +0 -37
  245. package/fesm2022/ojiepermana-angular-component-separator.mjs.map +0 -1
  246. package/fesm2022/ojiepermana-angular-component-sheet.mjs +0 -284
  247. package/fesm2022/ojiepermana-angular-component-sheet.mjs.map +0 -1
  248. package/fesm2022/ojiepermana-angular-component-skeleton.mjs +0 -31
  249. package/fesm2022/ojiepermana-angular-component-skeleton.mjs.map +0 -1
  250. package/fesm2022/ojiepermana-angular-component-slider.mjs +0 -423
  251. package/fesm2022/ojiepermana-angular-component-slider.mjs.map +0 -1
  252. package/fesm2022/ojiepermana-angular-component-spinner.mjs +0 -60
  253. package/fesm2022/ojiepermana-angular-component-spinner.mjs.map +0 -1
  254. package/fesm2022/ojiepermana-angular-component-switch.mjs +0 -116
  255. package/fesm2022/ojiepermana-angular-component-switch.mjs.map +0 -1
  256. package/fesm2022/ojiepermana-angular-component-table.mjs +0 -155
  257. package/fesm2022/ojiepermana-angular-component-table.mjs.map +0 -1
  258. package/fesm2022/ojiepermana-angular-component-tabs.mjs +0 -272
  259. package/fesm2022/ojiepermana-angular-component-tabs.mjs.map +0 -1
  260. package/fesm2022/ojiepermana-angular-component-textarea.mjs +0 -39
  261. package/fesm2022/ojiepermana-angular-component-textarea.mjs.map +0 -1
  262. package/fesm2022/ojiepermana-angular-component-timeline.mjs +0 -237
  263. package/fesm2022/ojiepermana-angular-component-timeline.mjs.map +0 -1
  264. package/fesm2022/ojiepermana-angular-component-toast.mjs +0 -71
  265. package/fesm2022/ojiepermana-angular-component-toast.mjs.map +0 -1
  266. package/fesm2022/ojiepermana-angular-component-toggle-group.mjs +0 -289
  267. package/fesm2022/ojiepermana-angular-component-toggle-group.mjs.map +0 -1
  268. package/fesm2022/ojiepermana-angular-component-toggle.mjs +0 -82
  269. package/fesm2022/ojiepermana-angular-component-toggle.mjs.map +0 -1
  270. package/fesm2022/ojiepermana-angular-component-tooltip.mjs +0 -354
  271. package/fesm2022/ojiepermana-angular-component-tooltip.mjs.map +0 -1
  272. package/fesm2022/ojiepermana-angular-component-utils.mjs +0 -13
  273. package/fesm2022/ojiepermana-angular-component-utils.mjs.map +0 -1
  274. package/fesm2022/ojiepermana-angular-generator-api.mjs +0 -68
  275. package/fesm2022/ojiepermana-angular-generator-api.mjs.map +0 -1
  276. package/fesm2022/ojiepermana-angular-layout-component.mjs +0 -602
  277. package/fesm2022/ojiepermana-angular-layout-component.mjs.map +0 -1
  278. package/fesm2022/ojiepermana-angular-layout-provider.mjs +0 -21
  279. package/fesm2022/ojiepermana-angular-layout-provider.mjs.map +0 -1
  280. package/fesm2022/ojiepermana-angular-layout-services.mjs +0 -116
  281. package/fesm2022/ojiepermana-angular-layout-services.mjs.map +0 -1
  282. package/fesm2022/ojiepermana-angular-layout-shell.mjs +0 -48
  283. package/fesm2022/ojiepermana-angular-layout-shell.mjs.map +0 -1
  284. package/fesm2022/ojiepermana-angular-layout-token-directive.mjs +0 -30
  285. package/fesm2022/ojiepermana-angular-layout-token-directive.mjs.map +0 -1
  286. package/fesm2022/ojiepermana-angular-layout-token.mjs +0 -33
  287. package/fesm2022/ojiepermana-angular-layout-token.mjs.map +0 -1
  288. package/fesm2022/ojiepermana-angular-layout-type-empty.mjs +0 -49
  289. package/fesm2022/ojiepermana-angular-layout-type-empty.mjs.map +0 -1
  290. package/fesm2022/ojiepermana-angular-layout-type-horizontal.mjs +0 -128
  291. package/fesm2022/ojiepermana-angular-layout-type-horizontal.mjs.map +0 -1
  292. package/fesm2022/ojiepermana-angular-layout-type-vertical.mjs +0 -123
  293. package/fesm2022/ojiepermana-angular-layout-type-vertical.mjs.map +0 -1
  294. package/fesm2022/ojiepermana-angular-layout.mjs +0 -485
  295. package/fesm2022/ojiepermana-angular-layout.mjs.map +0 -1
  296. package/fesm2022/ojiepermana-angular-navigation-demo-data.mjs +0 -334
  297. package/fesm2022/ojiepermana-angular-navigation-demo-data.mjs.map +0 -1
  298. package/fesm2022/ojiepermana-angular-navigation-icon.mjs +0 -63
  299. package/fesm2022/ojiepermana-angular-navigation-icon.mjs.map +0 -1
  300. package/fesm2022/ojiepermana-angular-navigation-item.mjs +0 -559
  301. package/fesm2022/ojiepermana-angular-navigation-item.mjs.map +0 -1
  302. package/fesm2022/ojiepermana-angular-navigation-service.mjs +0 -213
  303. package/fesm2022/ojiepermana-angular-navigation-service.mjs.map +0 -1
  304. package/fesm2022/ojiepermana-angular-navigation-sidebar.mjs +0 -401
  305. package/fesm2022/ojiepermana-angular-navigation-sidebar.mjs.map +0 -1
  306. package/fesm2022/ojiepermana-angular-navigation-topbar.mjs +0 -670
  307. package/fesm2022/ojiepermana-angular-navigation-topbar.mjs.map +0 -1
  308. package/fesm2022/ojiepermana-angular-navigation-types.mjs +0 -4
  309. package/fesm2022/ojiepermana-angular-navigation-types.mjs.map +0 -1
  310. package/fesm2022/ojiepermana-angular-theme-provider.mjs +0 -35
  311. package/fesm2022/ojiepermana-angular-theme-provider.mjs.map +0 -1
  312. package/fesm2022/ojiepermana-angular-theme-services.mjs +0 -294
  313. package/fesm2022/ojiepermana-angular-theme-services.mjs.map +0 -1
  314. package/fesm2022/ojiepermana-angular-theme-token.mjs +0 -56
  315. package/fesm2022/ojiepermana-angular-theme-token.mjs.map +0 -1
  316. package/fesm2022/ojiepermana-angular-theme.mjs +0 -390
  317. package/fesm2022/ojiepermana-angular-theme.mjs.map +0 -1
  318. package/fesm2022/ojiepermana-angular.mjs +0 -22
  319. package/fesm2022/ojiepermana-angular.mjs.map +0 -1
  320. package/generator/api/README.md +0 -252
  321. package/generator/api/bin/package.json +0 -3
  322. package/generator/api/bin/schematics/init/index.js +0 -90
  323. package/generator/api/bin/schematics/ng-add/index.js +0 -131
  324. package/generator/api/bin/schematics/sdk/index.js +0 -76
  325. package/generator/api/bin/src/config/loader.js +0 -41
  326. package/generator/api/bin/src/config/schema.js +0 -57
  327. package/generator/api/bin/src/emit/client.js +0 -248
  328. package/generator/api/bin/src/emit/metadata.js +0 -295
  329. package/generator/api/bin/src/emit/models.js +0 -106
  330. package/generator/api/bin/src/emit/navigation.js +0 -56
  331. package/generator/api/bin/src/emit/operations.js +0 -122
  332. package/generator/api/bin/src/emit/public-api.js +0 -54
  333. package/generator/api/bin/src/emit/services.js +0 -87
  334. package/generator/api/bin/src/engine.js +0 -65
  335. package/generator/api/bin/src/layout/per-domain.js +0 -359
  336. package/generator/api/bin/src/parser/bundle.js +0 -25
  337. package/generator/api/bin/src/parser/ir.js +0 -320
  338. package/generator/api/bin/src/parser/types.js +0 -7
  339. package/generator/api/bin/src/render/template.js +0 -58
  340. package/generator/api/bin/src/writer/index.js +0 -278
  341. package/generator/api/package.json +0 -4
  342. package/generator/api/schematics/init/schema.json +0 -19
  343. package/generator/api/schematics/ng-add/schema.json +0 -14
  344. package/generator/api/schematics/sdk/schema.json +0 -19
  345. package/generator/api/sdk.config.example.json +0 -24
  346. package/generator/guide/README.md +0 -84
  347. package/generator/guide/bin/package.json +0 -3
  348. package/generator/guide/bin/schematics/build/index.js +0 -36
  349. package/generator/guide/bin/schematics/init/index.js +0 -70
  350. package/generator/guide/bin/src/config/loader.js +0 -50
  351. package/generator/guide/bin/src/config/schema.js +0 -12
  352. package/generator/guide/bin/src/engine/component.js +0 -74
  353. package/generator/guide/bin/src/engine/frontmatter.js +0 -42
  354. package/generator/guide/bin/src/engine/index.js +0 -42
  355. package/generator/guide/bin/src/engine/naming.js +0 -39
  356. package/generator/guide/bin/src/engine/render.js +0 -36
  357. package/generator/guide/bin/src/engine/routes.js +0 -106
  358. package/generator/guide/bin/src/engine/walk.js +0 -35
  359. package/generator/guide/guide.config.example.json +0 -9
  360. package/generator/guide/schematics/build/schema.json +0 -14
  361. package/generator/guide/schematics/init/schema.json +0 -19
  362. package/layout/component/package.json +0 -4
  363. package/layout/package.json +0 -4
  364. package/layout/provider/package.json +0 -4
  365. package/layout/services/package.json +0 -4
  366. package/layout/shell/package.json +0 -4
  367. package/layout/token/directive/package.json +0 -4
  368. package/layout/token/package.json +0 -4
  369. package/layout/type/empty/package.json +0 -4
  370. package/layout/type/horizontal/package.json +0 -4
  371. package/layout/type/vertical/package.json +0 -4
  372. package/navigation/demo-data/package.json +0 -4
  373. package/navigation/icon/package.json +0 -4
  374. package/navigation/item/package.json +0 -4
  375. package/navigation/service/package.json +0 -4
  376. package/navigation/sidebar/package.json +0 -4
  377. package/navigation/topbar/README.md +0 -196
  378. package/navigation/topbar/package.json +0 -4
  379. package/navigation/types/package.json +0 -4
  380. package/theme/README.md +0 -174
  381. package/theme/package.json +0 -4
  382. package/theme/provider/package.json +0 -4
  383. package/theme/services/package.json +0 -4
  384. package/theme/styles/foundation/components.css +0 -81
  385. package/theme/styles/foundation/layers.css +0 -15
  386. package/theme/styles/foundation/tokens.css +0 -55
  387. package/theme/styles/index.css +0 -37
  388. package/theme/styles/integrations/material/autocomplete.css +0 -178
  389. package/theme/styles/integrations/material/button.css +0 -468
  390. package/theme/styles/integrations/material/dialog.css +0 -152
  391. package/theme/styles/integrations/material/select.css +0 -175
  392. package/theme/styles/integrations/material/slide-toggle.css +0 -234
  393. package/theme/styles/integrations/material/slider.css +0 -194
  394. package/theme/styles/integrations/material/tabs.css +0 -229
  395. package/theme/styles/integrations/material.css +0 -264
  396. package/theme/styles/integrations/tailwind.css +0 -114
  397. package/theme/styles/variants/color/amber.css +0 -31
  398. package/theme/styles/variants/color/base.css +0 -36
  399. package/theme/styles/variants/color/blue.css +0 -31
  400. package/theme/styles/variants/color/cyan.css +0 -31
  401. package/theme/styles/variants/color/emerald.css +0 -31
  402. package/theme/styles/variants/color/fuchsia.css +0 -31
  403. package/theme/styles/variants/color/green.css +0 -31
  404. package/theme/styles/variants/color/index.css +0 -22
  405. package/theme/styles/variants/color/indigo.css +0 -31
  406. package/theme/styles/variants/color/lime.css +0 -31
  407. package/theme/styles/variants/color/orange.css +0 -31
  408. package/theme/styles/variants/color/pink.css +0 -31
  409. package/theme/styles/variants/color/purple.css +0 -31
  410. package/theme/styles/variants/color/red.css +0 -31
  411. package/theme/styles/variants/color/rose.css +0 -31
  412. package/theme/styles/variants/color/sky.css +0 -31
  413. package/theme/styles/variants/color/teal.css +0 -31
  414. package/theme/styles/variants/color/violet.css +0 -31
  415. package/theme/styles/variants/color/yellow.css +0 -31
  416. package/theme/styles/variants/mode/dark.css +0 -20
  417. package/theme/styles/variants/mode/index.css +0 -6
  418. package/theme/styles/variants/mode/light.css +0 -24
  419. package/theme/styles/variants/style/brutal.css +0 -50
  420. package/theme/styles/variants/style/default.css +0 -54
  421. package/theme/styles/variants/style/index.css +0 -8
  422. package/theme/styles/variants/style/sharp.css +0 -50
  423. package/theme/styles/variants/style/soft.css +0 -50
  424. package/theme/token/package.json +0 -4
  425. package/types/ojiepermana-angular-component-accordion.d.ts +0 -51
  426. package/types/ojiepermana-angular-component-alert-dialog.d.ts +0 -93
  427. package/types/ojiepermana-angular-component-alert.d.ts +0 -37
  428. package/types/ojiepermana-angular-component-aspect-ratio.d.ts +0 -12
  429. package/types/ojiepermana-angular-component-avatar.d.ts +0 -51
  430. package/types/ojiepermana-angular-component-badge.d.ts +0 -19
  431. package/types/ojiepermana-angular-component-breadcrumb.d.ts +0 -46
  432. package/types/ojiepermana-angular-component-button-group.d.ts +0 -26
  433. package/types/ojiepermana-angular-component-button.d.ts +0 -22
  434. package/types/ojiepermana-angular-component-calendar.d.ts +0 -33
  435. package/types/ojiepermana-angular-component-card.d.ts +0 -60
  436. package/types/ojiepermana-angular-component-carousel.d.ts +0 -86
  437. package/types/ojiepermana-angular-component-chart-area.d.ts +0 -1
  438. package/types/ojiepermana-angular-component-chart-bar.d.ts +0 -1
  439. package/types/ojiepermana-angular-component-chart-line.d.ts +0 -1
  440. package/types/ojiepermana-angular-component-chart-pie.d.ts +0 -1
  441. package/types/ojiepermana-angular-component-chart-radar.d.ts +0 -1
  442. package/types/ojiepermana-angular-component-chart-radial.d.ts +0 -1
  443. package/types/ojiepermana-angular-component-chart-scatter.d.ts +0 -1
  444. package/types/ojiepermana-angular-component-chart.d.ts +0 -1094
  445. package/types/ojiepermana-angular-component-checkbox.d.ts +0 -35
  446. package/types/ojiepermana-angular-component-collapsible.d.ts +0 -42
  447. package/types/ojiepermana-angular-component-combobox.d.ts +0 -50
  448. package/types/ojiepermana-angular-component-command.d.ts +0 -99
  449. package/types/ojiepermana-angular-component-composer.d.ts +0 -90
  450. package/types/ojiepermana-angular-component-context-menu.d.ts +0 -35
  451. package/types/ojiepermana-angular-component-date-picker.d.ts +0 -41
  452. package/types/ojiepermana-angular-component-dialog.d.ts +0 -87
  453. package/types/ojiepermana-angular-component-drawer.d.ts +0 -1
  454. package/types/ojiepermana-angular-component-dropdown-menu.d.ts +0 -137
  455. package/types/ojiepermana-angular-component-editor.d.ts +0 -123
  456. package/types/ojiepermana-angular-component-empty.d.ts +0 -50
  457. package/types/ojiepermana-angular-component-form.d.ts +0 -141
  458. package/types/ojiepermana-angular-component-hover-card.d.ts +0 -74
  459. package/types/ojiepermana-angular-component-input-group.d.ts +0 -51
  460. package/types/ojiepermana-angular-component-input-otp.d.ts +0 -136
  461. package/types/ojiepermana-angular-component-input.d.ts +0 -16
  462. package/types/ojiepermana-angular-component-item.d.ts +0 -88
  463. package/types/ojiepermana-angular-component-kanban.d.ts +0 -70
  464. package/types/ojiepermana-angular-component-kbd.d.ts +0 -16
  465. package/types/ojiepermana-angular-component-label.d.ts +0 -11
  466. package/types/ojiepermana-angular-component-menubar.d.ts +0 -67
  467. package/types/ojiepermana-angular-component-native-select.d.ts +0 -26
  468. package/types/ojiepermana-angular-component-navigation-menu.d.ts +0 -96
  469. package/types/ojiepermana-angular-component-pagination.d.ts +0 -33
  470. package/types/ojiepermana-angular-component-pillbox.d.ts +0 -157
  471. package/types/ojiepermana-angular-component-popover.d.ts +0 -43
  472. package/types/ojiepermana-angular-component-progress.d.ts +0 -17
  473. package/types/ojiepermana-angular-component-radio.d.ts +0 -40
  474. package/types/ojiepermana-angular-component-resizable.d.ts +0 -99
  475. package/types/ojiepermana-angular-component-scroll-area.d.ts +0 -19
  476. package/types/ojiepermana-angular-component-select.d.ts +0 -57
  477. package/types/ojiepermana-angular-component-separator.d.ts +0 -14
  478. package/types/ojiepermana-angular-component-sheet.d.ts +0 -76
  479. package/types/ojiepermana-angular-component-skeleton.d.ts +0 -10
  480. package/types/ojiepermana-angular-component-slider.d.ts +0 -74
  481. package/types/ojiepermana-angular-component-spinner.d.ts +0 -13
  482. package/types/ojiepermana-angular-component-switch.d.ts +0 -40
  483. package/types/ojiepermana-angular-component-table.d.ts +0 -52
  484. package/types/ojiepermana-angular-component-tabs.d.ts +0 -92
  485. package/types/ojiepermana-angular-component-textarea.d.ts +0 -12
  486. package/types/ojiepermana-angular-component-timeline.d.ts +0 -63
  487. package/types/ojiepermana-angular-component-toast.d.ts +0 -38
  488. package/types/ojiepermana-angular-component-toggle-group.d.ts +0 -89
  489. package/types/ojiepermana-angular-component-toggle.d.ts +0 -25
  490. package/types/ojiepermana-angular-component-tooltip.d.ts +0 -89
  491. package/types/ojiepermana-angular-component-utils.d.ts +0 -5
  492. package/types/ojiepermana-angular-generator-api.d.ts +0 -86
  493. package/types/ojiepermana-angular-layout-component.d.ts +0 -205
  494. package/types/ojiepermana-angular-layout-provider.d.ts +0 -6
  495. package/types/ojiepermana-angular-layout-services.d.ts +0 -25
  496. package/types/ojiepermana-angular-layout-shell.d.ts +0 -8
  497. package/types/ojiepermana-angular-layout-token-directive.d.ts +0 -13
  498. package/types/ojiepermana-angular-layout-token.d.ts +0 -36
  499. package/types/ojiepermana-angular-layout-type-empty.d.ts +0 -22
  500. package/types/ojiepermana-angular-layout-type-horizontal.d.ts +0 -36
  501. package/types/ojiepermana-angular-layout-type-vertical.d.ts +0 -38
  502. package/types/ojiepermana-angular-layout.d.ts +0 -164
  503. package/types/ojiepermana-angular-navigation-demo-data.d.ts +0 -5
  504. package/types/ojiepermana-angular-navigation-icon.d.ts +0 -17
  505. package/types/ojiepermana-angular-navigation-item.d.ts +0 -54
  506. package/types/ojiepermana-angular-navigation-service.d.ts +0 -77
  507. package/types/ojiepermana-angular-navigation-sidebar.d.ts +0 -75
  508. package/types/ojiepermana-angular-navigation-topbar.d.ts +0 -74
  509. package/types/ojiepermana-angular-navigation-types.d.ts +0 -135
  510. package/types/ojiepermana-angular-theme-provider.d.ts +0 -11
  511. package/types/ojiepermana-angular-theme-services.d.ts +0 -55
  512. package/types/ojiepermana-angular-theme-token.d.ts +0 -57
  513. package/types/ojiepermana-angular-theme.d.ts +0 -116
  514. package/types/ojiepermana-angular.d.ts +0 -3
@@ -1,239 +0,0 @@
1
- # Alert Dialog
2
-
3
- Displays a modal confirmation surface for important or destructive actions where the user is expected to respond before continuing.
4
-
5
- Use Alert Dialog for delete confirmations, permission prompts, and share or access decisions that should not dismiss accidentally on backdrop click.
6
-
7
- ## Import
8
-
9
- ```ts
10
- import {
11
- AlertDialogActionComponent,
12
- AlertDialogCancelComponent,
13
- AlertDialogComponent,
14
- AlertDialogContentComponent,
15
- AlertDialogDescriptionComponent,
16
- AlertDialogFooterComponent,
17
- AlertDialogHeaderComponent,
18
- AlertDialogMediaComponent,
19
- AlertDialogTitleComponent,
20
- } from '@edsis/angular/component/alert-dialog';
21
- ```
22
-
23
- ## Composition
24
-
25
- The Angular composition keeps the shadcn structure for content and actions, with one intentional mapping difference: shadcn `AlertDialogTrigger` becomes any external control that toggles the `open` signal.
26
-
27
- ```text
28
- button[ui-button] (external trigger; sets the open signal)
29
- ui-alert-dialog
30
- └── ui-alert-dialog-content
31
- ├── ui-alert-dialog-header
32
- │ ├── ui-alert-dialog-media (optional)
33
- │ ├── ui-alert-dialog-title
34
- │ └── ui-alert-dialog-description
35
- └── ui-alert-dialog-footer
36
- ├── button[ui-alert-dialog-cancel]
37
- └── button[ui-alert-dialog-action]
38
- ```
39
-
40
- ## Basic usage
41
-
42
- Use an external trigger to set the `open` model, then declare the alert content inside `ui-alert-dialog`.
43
-
44
- ```html
45
- <button type="button" ui-button variant="outline" (click)="confirmOpen.set(true)">Show Dialog</button>
46
-
47
- <ui-alert-dialog [(open)]="confirmOpen" aria-labelledby="alert-title" aria-describedby="alert-description">
48
- <ui-alert-dialog-content>
49
- <ui-alert-dialog-header>
50
- <ui-alert-dialog-title id="alert-title">Are you absolutely sure?</ui-alert-dialog-title>
51
- <ui-alert-dialog-description id="alert-description">
52
- This action cannot be undone. This will permanently delete your account from our servers.
53
- </ui-alert-dialog-description>
54
- </ui-alert-dialog-header>
55
-
56
- <ui-alert-dialog-footer>
57
- <button type="button" ui-alert-dialog-cancel>Cancel</button>
58
- <button type="button" ui-alert-dialog-action>Continue</button>
59
- </ui-alert-dialog-footer>
60
- </ui-alert-dialog-content>
61
- </ui-alert-dialog>
62
- ```
63
-
64
- ## Common patterns
65
-
66
- ### Small confirmation
67
-
68
- Set `size="sm"` on `ui-alert-dialog-content` for shorter mobile-friendly confirmations.
69
-
70
- ```html
71
- <ui-alert-dialog [(open)]="smallOpen">
72
- <ui-alert-dialog-content size="sm">
73
- <ui-alert-dialog-header>
74
- <ui-alert-dialog-title>Allow accessory to connect?</ui-alert-dialog-title>
75
- <ui-alert-dialog-description>
76
- Do you want to allow the USB accessory to connect to this device?
77
- </ui-alert-dialog-description>
78
- </ui-alert-dialog-header>
79
-
80
- <ui-alert-dialog-footer>
81
- <button type="button" ui-alert-dialog-cancel>Don't allow</button>
82
- <button type="button" ui-alert-dialog-action>Allow</button>
83
- </ui-alert-dialog-footer>
84
- </ui-alert-dialog-content>
85
- </ui-alert-dialog>
86
- ```
87
-
88
- ### Media
89
-
90
- Use `ui-alert-dialog-media` to add an icon or other leading visual treatment above the title on mobile and beside it on larger screens.
91
-
92
- ```html
93
- <ui-alert-dialog [(open)]="shareOpen">
94
- <ui-alert-dialog-content>
95
- <ui-alert-dialog-header>
96
- <ui-alert-dialog-media>
97
- <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" aria-hidden="true">
98
- <path d="M12 5v14" />
99
- <path d="M5 12h14" />
100
- <circle cx="12" cy="12" r="8" />
101
- </svg>
102
- </ui-alert-dialog-media>
103
- <ui-alert-dialog-title>Share this project?</ui-alert-dialog-title>
104
- <ui-alert-dialog-description>
105
- Anyone with the link will be able to view and edit this project.
106
- </ui-alert-dialog-description>
107
- </ui-alert-dialog-header>
108
-
109
- <ui-alert-dialog-footer>
110
- <button type="button" ui-alert-dialog-cancel>Cancel</button>
111
- <button type="button" ui-alert-dialog-action>Share</button>
112
- </ui-alert-dialog-footer>
113
- </ui-alert-dialog-content>
114
- </ui-alert-dialog>
115
- ```
116
-
117
- ### Destructive action
118
-
119
- Pass `variant="destructive"` to `ui-alert-dialog-action` when the primary action is destructive.
120
-
121
- ```html
122
- <ui-alert-dialog [(open)]="deleteOpen">
123
- <ui-alert-dialog-content size="sm">
124
- <ui-alert-dialog-header>
125
- <ui-alert-dialog-media class="border-destructive/20 bg-destructive/10 text-destructive">
126
- <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" aria-hidden="true">
127
- <path d="M3 6h18" />
128
- <path d="M8 6V4h8v2" />
129
- <path d="M8 10v6" />
130
- <path d="M12 10v6" />
131
- <path d="M16 10v6" />
132
- <path d="M5 6l1 13h12l1-13" />
133
- </svg>
134
- </ui-alert-dialog-media>
135
- <ui-alert-dialog-title>Delete chat?</ui-alert-dialog-title>
136
- <ui-alert-dialog-description>
137
- This permanently deletes the conversation and removes saved memories linked to it.
138
- </ui-alert-dialog-description>
139
- </ui-alert-dialog-header>
140
-
141
- <ui-alert-dialog-footer>
142
- <button type="button" ui-alert-dialog-cancel>Cancel</button>
143
- <button type="button" ui-alert-dialog-action variant="destructive">Delete</button>
144
- </ui-alert-dialog-footer>
145
- </ui-alert-dialog-content>
146
- </ui-alert-dialog>
147
- ```
148
-
149
- ### RTL
150
-
151
- Wrap the trigger and dialog in a `dir="rtl"` container or manage direction globally in the app shell.
152
-
153
- ```html
154
- <div dir="rtl" lang="ar" class="text-right">
155
- <button type="button" ui-button variant="outline" (click)="rtlOpen.set(true)">إظهار الحوار</button>
156
-
157
- <ui-alert-dialog [(open)]="rtlOpen" aria-labelledby="rtl-title" aria-describedby="rtl-description">
158
- <ui-alert-dialog-content size="sm">
159
- <ui-alert-dialog-header>
160
- <ui-alert-dialog-title id="rtl-title">هل أنت متأكد تمامًا؟</ui-alert-dialog-title>
161
- <ui-alert-dialog-description id="rtl-description">
162
- لا يمكن التراجع عن هذا الإجراء. سيؤدي هذا إلى حذف حسابك نهائيًا من خوادمنا.
163
- </ui-alert-dialog-description>
164
- </ui-alert-dialog-header>
165
- <ui-alert-dialog-footer>
166
- <button type="button" ui-alert-dialog-cancel>إلغاء</button>
167
- <button type="button" ui-alert-dialog-action>متابعة</button>
168
- </ui-alert-dialog-footer>
169
- </ui-alert-dialog-content>
170
- </ui-alert-dialog>
171
- </div>
172
- ```
173
-
174
- ## API reference
175
-
176
- ### `AlertDialogComponent`
177
-
178
- | Input | Type | Default |
179
- | ---------------------- | --------- | --------- | ------ |
180
- | `open` (model) | `boolean` | `false` |
181
- | `closeOnEscape` | `boolean` | `true` |
182
- | `closeOnBackdropClick` | `boolean` | `false` |
183
- | `showCloseButton` | `boolean` | `false` |
184
- | `closeButtonLabel` | `string` | `'Close'` |
185
- | `aria-labelledby` | `string | null` | `null` |
186
- | `aria-describedby` | `string | null` | `null` |
187
- | `class` | `string` | `''` |
188
-
189
- Output: `openedChange: boolean`. Method: `close()`.
190
-
191
- ### `AlertDialogContentComponent`
192
-
193
- | Input | Type | Default |
194
- | ------- | ---------- | ------- | ----------- |
195
- | `size` | `'default' | 'sm'` | `'default'` |
196
- | `class` | `string` | `''` |
197
-
198
- ### Parts
199
-
200
- | Part | Purpose |
201
- | -------------------------------- | ------------------------------------------------------------------ |
202
- | `ui-alert-dialog-header` | Title, optional media, and supporting copy wrapper |
203
- | `ui-alert-dialog-title` | Primary label announced when the dialog opens |
204
- | `ui-alert-dialog-description` | Supporting copy announced after the title |
205
- | `ui-alert-dialog-media` | Optional icon or visual cue for the decision |
206
- | `ui-alert-dialog-footer` | Action row |
207
- | `button[ui-alert-dialog-cancel]` | Secondary action with outline styling that closes the dialog |
208
- | `button[ui-alert-dialog-action]` | Primary action that closes the dialog and supports button variants |
209
-
210
- Lower-level behavior is based on the Radix Alert Dialog pattern: <https://www.radix-ui.com/primitives/docs/components/alert-dialog#api-reference>.
211
-
212
- ## Styling and theming
213
-
214
- The surface reuses the shared dialog overlay and theme tokens, while the action parts reuse the same `buttonVariants` definitions as `ui-button`.
215
-
216
- Pass `class` to `ui-alert-dialog` when you need custom max width or spacing, `size="sm"` to `ui-alert-dialog-content` for compact confirmations, and `class` to `ui-alert-dialog-media` when a specific tone such as destructive emphasis is needed.
217
-
218
- ## Accessibility
219
-
220
- - The surface renders with `role="dialog"` and `aria-modal="true"`.
221
- - Focus is trapped while the alert dialog is open and restored to the previously active element when it closes.
222
- - Backdrop click is disabled by default so confirmations do not dismiss accidentally.
223
- - Keep `ui-alert-dialog-title` and `ui-alert-dialog-description` short and descriptive so assistive technologies announce useful context immediately.
224
-
225
- ## Keyboard interactions
226
-
227
- - `Tab` and `Shift+Tab` stay inside the modal while it is open.
228
- - `Escape` closes the alert dialog unless `closeOnEscape` is disabled.
229
- - Native button activation handles `Enter` and `Space` for cancel and action buttons.
230
-
231
- ## Angular notes
232
-
233
- - This implementation intentionally maps shadcn `AlertDialogTrigger` to any external trigger that owns the `open` signal.
234
- - `button[ui-alert-dialog-cancel]` and `button[ui-alert-dialog-action]` close the nearest ancestor alert dialog automatically by default.
235
- - Use `(click)` on the action button for side effects such as deleting or sharing, and keep `closeOnClick` enabled unless the flow needs to wait for an async result.
236
-
237
- ## Source parity
238
-
239
- This Angular implementation keeps the shadcn information architecture, examples, and `size="sm"` content behavior while translating trigger ownership to Angular signals and dedicated attribute components for the footer actions.
@@ -1,4 +0,0 @@
1
- {
2
- "module": "../../fesm2022/ojiepermana-angular-component-alert-dialog.mjs",
3
- "typings": "../../types/ojiepermana-angular-component-alert-dialog.d.ts"
4
- }
@@ -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 '@edsis/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 '@edsis/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 '@edsis/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 '@edsis/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
- }