@edsis/angular 21.3.13 → 22.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (514) hide show
  1. package/.npmignore +2 -0
  2. package/README.md +261 -88
  3. package/collection.json +30 -0
  4. package/component/accordion/README.md +195 -0
  5. package/component/accordion/package.json +4 -0
  6. package/component/alert/README.md +182 -0
  7. package/component/alert/package.json +4 -0
  8. package/component/alert-dialog/README.md +239 -0
  9. package/component/alert-dialog/package.json +4 -0
  10. package/component/aspect-ratio/README.md +112 -0
  11. package/component/aspect-ratio/package.json +4 -0
  12. package/component/avatar/README.md +176 -0
  13. package/component/avatar/package.json +4 -0
  14. package/component/badge/README.md +133 -0
  15. package/component/badge/package.json +4 -0
  16. package/component/breadcrumb/README.md +216 -0
  17. package/component/breadcrumb/package.json +4 -0
  18. package/component/button/README.md +139 -0
  19. package/component/button/package.json +4 -0
  20. package/component/button-group/README.md +208 -0
  21. package/component/button-group/package.json +4 -0
  22. package/component/calendar/README.md +132 -0
  23. package/component/calendar/package.json +4 -0
  24. package/component/card/README.md +220 -0
  25. package/component/card/package.json +4 -0
  26. package/component/carousel/README.md +276 -0
  27. package/component/carousel/package.json +4 -0
  28. package/component/chart/README.md +249 -0
  29. package/component/chart/area/package.json +4 -0
  30. package/component/chart/bar/package.json +4 -0
  31. package/component/chart/line/package.json +4 -0
  32. package/component/chart/package.json +4 -0
  33. package/component/chart/pie/package.json +4 -0
  34. package/component/chart/radar/package.json +4 -0
  35. package/component/chart/radial/package.json +4 -0
  36. package/component/chart/scatter/package.json +4 -0
  37. package/component/checkbox/README.md +149 -0
  38. package/component/checkbox/package.json +4 -0
  39. package/component/collapsible/README.md +195 -0
  40. package/component/collapsible/package.json +4 -0
  41. package/component/combobox/README.md +198 -0
  42. package/component/combobox/package.json +4 -0
  43. package/component/command/README.md +275 -0
  44. package/component/command/package.json +4 -0
  45. package/component/composer/README.md +235 -0
  46. package/component/composer/package.json +4 -0
  47. package/component/context-menu/README.md +267 -0
  48. package/component/context-menu/package.json +4 -0
  49. package/component/date-picker/README.md +177 -0
  50. package/component/date-picker/package.json +4 -0
  51. package/component/dialog/README.md +237 -0
  52. package/component/dialog/package.json +4 -0
  53. package/component/drawer/README.md +145 -0
  54. package/component/drawer/package.json +4 -0
  55. package/component/dropdown-menu/README.md +311 -0
  56. package/component/dropdown-menu/package.json +4 -0
  57. package/component/editor/README.md +136 -0
  58. package/component/editor/package.json +4 -0
  59. package/component/empty/README.md +183 -0
  60. package/component/empty/package.json +4 -0
  61. package/component/form/README.md +210 -0
  62. package/component/form/package.json +4 -0
  63. package/component/hover-card/README.md +146 -0
  64. package/component/hover-card/package.json +4 -0
  65. package/component/input/README.md +159 -0
  66. package/component/input/package.json +4 -0
  67. package/component/input-group/README.md +239 -0
  68. package/component/input-group/package.json +4 -0
  69. package/component/input-otp/README.md +278 -0
  70. package/component/input-otp/package.json +4 -0
  71. package/component/item/README.md +247 -0
  72. package/component/item/package.json +4 -0
  73. package/component/kanban/README.md +81 -0
  74. package/component/kanban/package.json +4 -0
  75. package/component/kbd/README.md +139 -0
  76. package/component/kbd/package.json +4 -0
  77. package/component/label/README.md +136 -0
  78. package/component/label/package.json +4 -0
  79. package/component/menubar/README.md +269 -0
  80. package/component/menubar/package.json +4 -0
  81. package/component/native-select/README.md +176 -0
  82. package/component/native-select/package.json +4 -0
  83. package/component/navigation-menu/README.md +160 -0
  84. package/component/navigation-menu/package.json +4 -0
  85. package/component/pagination/README.md +144 -0
  86. package/component/pagination/package.json +4 -0
  87. package/component/pillbox/README.md +67 -0
  88. package/component/pillbox/package.json +4 -0
  89. package/component/popover/README.md +43 -0
  90. package/component/popover/package.json +4 -0
  91. package/component/progress/README.md +160 -0
  92. package/component/progress/package.json +4 -0
  93. package/component/radio/README.md +209 -0
  94. package/component/radio/package.json +4 -0
  95. package/component/resizable/README.md +168 -0
  96. package/component/resizable/package.json +4 -0
  97. package/component/scroll-area/README.md +143 -0
  98. package/component/scroll-area/package.json +4 -0
  99. package/component/select/README.md +174 -0
  100. package/component/select/package.json +4 -0
  101. package/component/separator/README.md +170 -0
  102. package/component/separator/package.json +4 -0
  103. package/component/sheet/README.md +183 -0
  104. package/component/sheet/package.json +4 -0
  105. package/component/skeleton/README.md +158 -0
  106. package/component/skeleton/package.json +4 -0
  107. package/component/slider/README.md +207 -0
  108. package/component/slider/package.json +4 -0
  109. package/component/spinner/README.md +160 -0
  110. package/component/spinner/package.json +4 -0
  111. package/component/switch/README.md +166 -0
  112. package/component/switch/package.json +4 -0
  113. package/component/table/README.md +291 -0
  114. package/component/table/package.json +4 -0
  115. package/component/tabs/README.md +219 -0
  116. package/component/tabs/package.json +4 -0
  117. package/component/textarea/README.md +154 -0
  118. package/component/textarea/package.json +4 -0
  119. package/component/timeline/README.md +94 -0
  120. package/component/timeline/package.json +4 -0
  121. package/component/toast/README.md +321 -0
  122. package/component/toast/package.json +4 -0
  123. package/component/toggle/README.md +131 -0
  124. package/component/toggle/package.json +4 -0
  125. package/component/toggle-group/README.md +206 -0
  126. package/component/toggle-group/package.json +4 -0
  127. package/component/tooltip/README.md +211 -0
  128. package/component/tooltip/package.json +4 -0
  129. package/component/utils/package.json +4 -0
  130. package/fesm2022/ojiepermana-angular-component-accordion.mjs +189 -0
  131. package/fesm2022/ojiepermana-angular-component-accordion.mjs.map +1 -0
  132. package/fesm2022/ojiepermana-angular-component-alert-dialog.mjs +276 -0
  133. package/fesm2022/ojiepermana-angular-component-alert-dialog.mjs.map +1 -0
  134. package/fesm2022/ojiepermana-angular-component-alert.mjs +99 -0
  135. package/fesm2022/ojiepermana-angular-component-alert.mjs.map +1 -0
  136. package/fesm2022/ojiepermana-angular-component-aspect-ratio.mjs +37 -0
  137. package/fesm2022/ojiepermana-angular-component-aspect-ratio.mjs.map +1 -0
  138. package/fesm2022/ojiepermana-angular-component-avatar.mjs +139 -0
  139. package/fesm2022/ojiepermana-angular-component-avatar.mjs.map +1 -0
  140. package/fesm2022/ojiepermana-angular-component-badge.mjs +50 -0
  141. package/fesm2022/ojiepermana-angular-component-badge.mjs.map +1 -0
  142. package/fesm2022/ojiepermana-angular-component-breadcrumb.mjs +200 -0
  143. package/fesm2022/ojiepermana-angular-component-breadcrumb.mjs.map +1 -0
  144. package/fesm2022/ojiepermana-angular-component-button-group.mjs +103 -0
  145. package/fesm2022/ojiepermana-angular-component-button-group.mjs.map +1 -0
  146. package/fesm2022/ojiepermana-angular-component-button.mjs +68 -0
  147. package/fesm2022/ojiepermana-angular-component-button.mjs.map +1 -0
  148. package/fesm2022/ojiepermana-angular-component-calendar.mjs +88 -0
  149. package/fesm2022/ojiepermana-angular-component-calendar.mjs.map +1 -0
  150. package/fesm2022/ojiepermana-angular-component-card.mjs +152 -0
  151. package/fesm2022/ojiepermana-angular-component-card.mjs.map +1 -0
  152. package/fesm2022/ojiepermana-angular-component-carousel.mjs +334 -0
  153. package/fesm2022/ojiepermana-angular-component-carousel.mjs.map +1 -0
  154. package/fesm2022/ojiepermana-angular-component-chart-area.mjs +6 -0
  155. package/fesm2022/ojiepermana-angular-component-chart-area.mjs.map +1 -0
  156. package/fesm2022/ojiepermana-angular-component-chart-bar.mjs +6 -0
  157. package/fesm2022/ojiepermana-angular-component-chart-bar.mjs.map +1 -0
  158. package/fesm2022/ojiepermana-angular-component-chart-line.mjs +6 -0
  159. package/fesm2022/ojiepermana-angular-component-chart-line.mjs.map +1 -0
  160. package/fesm2022/ojiepermana-angular-component-chart-pie.mjs +6 -0
  161. package/fesm2022/ojiepermana-angular-component-chart-pie.mjs.map +1 -0
  162. package/fesm2022/ojiepermana-angular-component-chart-radar.mjs +6 -0
  163. package/fesm2022/ojiepermana-angular-component-chart-radar.mjs.map +1 -0
  164. package/fesm2022/ojiepermana-angular-component-chart-radial.mjs +6 -0
  165. package/fesm2022/ojiepermana-angular-component-chart-radial.mjs.map +1 -0
  166. package/fesm2022/ojiepermana-angular-component-chart-scatter.mjs +6 -0
  167. package/fesm2022/ojiepermana-angular-component-chart-scatter.mjs.map +1 -0
  168. package/fesm2022/ojiepermana-angular-component-chart.mjs +3925 -0
  169. package/fesm2022/ojiepermana-angular-component-chart.mjs.map +1 -0
  170. package/fesm2022/ojiepermana-angular-component-checkbox.mjs +114 -0
  171. package/fesm2022/ojiepermana-angular-component-checkbox.mjs.map +1 -0
  172. package/fesm2022/ojiepermana-angular-component-collapsible.mjs +124 -0
  173. package/fesm2022/ojiepermana-angular-component-collapsible.mjs.map +1 -0
  174. package/fesm2022/ojiepermana-angular-component-combobox.mjs +272 -0
  175. package/fesm2022/ojiepermana-angular-component-combobox.mjs.map +1 -0
  176. package/fesm2022/ojiepermana-angular-component-command.mjs +293 -0
  177. package/fesm2022/ojiepermana-angular-component-command.mjs.map +1 -0
  178. package/fesm2022/ojiepermana-angular-component-composer.mjs +352 -0
  179. package/fesm2022/ojiepermana-angular-component-composer.mjs.map +1 -0
  180. package/fesm2022/ojiepermana-angular-component-context-menu.mjs +103 -0
  181. package/fesm2022/ojiepermana-angular-component-context-menu.mjs.map +1 -0
  182. package/fesm2022/ojiepermana-angular-component-date-picker.mjs +170 -0
  183. package/fesm2022/ojiepermana-angular-component-date-picker.mjs.map +1 -0
  184. package/fesm2022/ojiepermana-angular-component-dialog.mjs +279 -0
  185. package/fesm2022/ojiepermana-angular-component-dialog.mjs.map +1 -0
  186. package/fesm2022/ojiepermana-angular-component-drawer.mjs +6 -0
  187. package/fesm2022/ojiepermana-angular-component-drawer.mjs.map +1 -0
  188. package/fesm2022/ojiepermana-angular-component-dropdown-menu.mjs +492 -0
  189. package/fesm2022/ojiepermana-angular-component-dropdown-menu.mjs.map +1 -0
  190. package/fesm2022/ojiepermana-angular-component-editor.mjs +717 -0
  191. package/fesm2022/ojiepermana-angular-component-editor.mjs.map +1 -0
  192. package/fesm2022/ojiepermana-angular-component-empty.mjs +145 -0
  193. package/fesm2022/ojiepermana-angular-component-empty.mjs.map +1 -0
  194. package/fesm2022/ojiepermana-angular-component-form.mjs +366 -0
  195. package/fesm2022/ojiepermana-angular-component-form.mjs.map +1 -0
  196. package/fesm2022/ojiepermana-angular-component-hover-card.mjs +297 -0
  197. package/fesm2022/ojiepermana-angular-component-hover-card.mjs.map +1 -0
  198. package/fesm2022/ojiepermana-angular-component-input-group.mjs +179 -0
  199. package/fesm2022/ojiepermana-angular-component-input-group.mjs.map +1 -0
  200. package/fesm2022/ojiepermana-angular-component-input-otp.mjs +514 -0
  201. package/fesm2022/ojiepermana-angular-component-input-otp.mjs.map +1 -0
  202. package/fesm2022/ojiepermana-angular-component-input.mjs +45 -0
  203. package/fesm2022/ojiepermana-angular-component-input.mjs.map +1 -0
  204. package/fesm2022/ojiepermana-angular-component-item.mjs +264 -0
  205. package/fesm2022/ojiepermana-angular-component-item.mjs.map +1 -0
  206. package/fesm2022/ojiepermana-angular-component-kanban.mjs +314 -0
  207. package/fesm2022/ojiepermana-angular-component-kanban.mjs.map +1 -0
  208. package/fesm2022/ojiepermana-angular-component-kbd.mjs +55 -0
  209. package/fesm2022/ojiepermana-angular-component-kbd.mjs.map +1 -0
  210. package/fesm2022/ojiepermana-angular-component-label.mjs +33 -0
  211. package/fesm2022/ojiepermana-angular-component-label.mjs.map +1 -0
  212. package/fesm2022/ojiepermana-angular-component-menubar.mjs +308 -0
  213. package/fesm2022/ojiepermana-angular-component-menubar.mjs.map +1 -0
  214. package/fesm2022/ojiepermana-angular-component-native-select.mjs +67 -0
  215. package/fesm2022/ojiepermana-angular-component-native-select.mjs.map +1 -0
  216. package/fesm2022/ojiepermana-angular-component-navigation-menu.mjs +413 -0
  217. package/fesm2022/ojiepermana-angular-component-navigation-menu.mjs.map +1 -0
  218. package/fesm2022/ojiepermana-angular-component-pagination.mjs +226 -0
  219. package/fesm2022/ojiepermana-angular-component-pagination.mjs.map +1 -0
  220. package/fesm2022/ojiepermana-angular-component-pillbox.mjs +812 -0
  221. package/fesm2022/ojiepermana-angular-component-pillbox.mjs.map +1 -0
  222. package/fesm2022/ojiepermana-angular-component-popover.mjs +169 -0
  223. package/fesm2022/ojiepermana-angular-component-popover.mjs.map +1 -0
  224. package/fesm2022/ojiepermana-angular-component-progress.mjs +60 -0
  225. package/fesm2022/ojiepermana-angular-component-progress.mjs.map +1 -0
  226. package/fesm2022/ojiepermana-angular-component-radio.mjs +122 -0
  227. package/fesm2022/ojiepermana-angular-component-radio.mjs.map +1 -0
  228. package/fesm2022/ojiepermana-angular-component-resizable.mjs +481 -0
  229. package/fesm2022/ojiepermana-angular-component-resizable.mjs.map +1 -0
  230. package/fesm2022/ojiepermana-angular-component-scroll-area.mjs +54 -0
  231. package/fesm2022/ojiepermana-angular-component-scroll-area.mjs.map +1 -0
  232. package/fesm2022/ojiepermana-angular-component-select.mjs +176 -0
  233. package/fesm2022/ojiepermana-angular-component-select.mjs.map +1 -0
  234. package/fesm2022/ojiepermana-angular-component-separator.mjs +37 -0
  235. package/fesm2022/ojiepermana-angular-component-separator.mjs.map +1 -0
  236. package/fesm2022/ojiepermana-angular-component-sheet.mjs +284 -0
  237. package/fesm2022/ojiepermana-angular-component-sheet.mjs.map +1 -0
  238. package/fesm2022/ojiepermana-angular-component-skeleton.mjs +31 -0
  239. package/fesm2022/ojiepermana-angular-component-skeleton.mjs.map +1 -0
  240. package/fesm2022/ojiepermana-angular-component-slider.mjs +423 -0
  241. package/fesm2022/ojiepermana-angular-component-slider.mjs.map +1 -0
  242. package/fesm2022/ojiepermana-angular-component-spinner.mjs +60 -0
  243. package/fesm2022/ojiepermana-angular-component-spinner.mjs.map +1 -0
  244. package/fesm2022/ojiepermana-angular-component-switch.mjs +116 -0
  245. package/fesm2022/ojiepermana-angular-component-switch.mjs.map +1 -0
  246. package/fesm2022/ojiepermana-angular-component-table.mjs +155 -0
  247. package/fesm2022/ojiepermana-angular-component-table.mjs.map +1 -0
  248. package/fesm2022/ojiepermana-angular-component-tabs.mjs +272 -0
  249. package/fesm2022/ojiepermana-angular-component-tabs.mjs.map +1 -0
  250. package/fesm2022/ojiepermana-angular-component-textarea.mjs +39 -0
  251. package/fesm2022/ojiepermana-angular-component-textarea.mjs.map +1 -0
  252. package/fesm2022/ojiepermana-angular-component-timeline.mjs +237 -0
  253. package/fesm2022/ojiepermana-angular-component-timeline.mjs.map +1 -0
  254. package/fesm2022/ojiepermana-angular-component-toast.mjs +71 -0
  255. package/fesm2022/ojiepermana-angular-component-toast.mjs.map +1 -0
  256. package/fesm2022/ojiepermana-angular-component-toggle-group.mjs +289 -0
  257. package/fesm2022/ojiepermana-angular-component-toggle-group.mjs.map +1 -0
  258. package/fesm2022/ojiepermana-angular-component-toggle.mjs +82 -0
  259. package/fesm2022/ojiepermana-angular-component-toggle.mjs.map +1 -0
  260. package/fesm2022/ojiepermana-angular-component-tooltip.mjs +354 -0
  261. package/fesm2022/ojiepermana-angular-component-tooltip.mjs.map +1 -0
  262. package/fesm2022/ojiepermana-angular-component-utils.mjs +13 -0
  263. package/fesm2022/ojiepermana-angular-component-utils.mjs.map +1 -0
  264. package/fesm2022/ojiepermana-angular-generator-api.mjs +68 -0
  265. package/fesm2022/ojiepermana-angular-generator-api.mjs.map +1 -0
  266. package/fesm2022/ojiepermana-angular-layout-component.mjs +602 -0
  267. package/fesm2022/ojiepermana-angular-layout-component.mjs.map +1 -0
  268. package/fesm2022/ojiepermana-angular-layout-provider.mjs +21 -0
  269. package/fesm2022/ojiepermana-angular-layout-provider.mjs.map +1 -0
  270. package/fesm2022/ojiepermana-angular-layout-services.mjs +116 -0
  271. package/fesm2022/ojiepermana-angular-layout-services.mjs.map +1 -0
  272. package/fesm2022/ojiepermana-angular-layout-shell.mjs +48 -0
  273. package/fesm2022/ojiepermana-angular-layout-shell.mjs.map +1 -0
  274. package/fesm2022/ojiepermana-angular-layout-token-directive.mjs +30 -0
  275. package/fesm2022/ojiepermana-angular-layout-token-directive.mjs.map +1 -0
  276. package/fesm2022/ojiepermana-angular-layout-token.mjs +33 -0
  277. package/fesm2022/ojiepermana-angular-layout-token.mjs.map +1 -0
  278. package/fesm2022/ojiepermana-angular-layout-type-empty.mjs +49 -0
  279. package/fesm2022/ojiepermana-angular-layout-type-empty.mjs.map +1 -0
  280. package/fesm2022/ojiepermana-angular-layout-type-horizontal.mjs +128 -0
  281. package/fesm2022/ojiepermana-angular-layout-type-horizontal.mjs.map +1 -0
  282. package/fesm2022/ojiepermana-angular-layout-type-vertical.mjs +123 -0
  283. package/fesm2022/ojiepermana-angular-layout-type-vertical.mjs.map +1 -0
  284. package/fesm2022/ojiepermana-angular-layout.mjs +485 -0
  285. package/fesm2022/ojiepermana-angular-layout.mjs.map +1 -0
  286. package/fesm2022/ojiepermana-angular-navigation-demo-data.mjs +334 -0
  287. package/fesm2022/ojiepermana-angular-navigation-demo-data.mjs.map +1 -0
  288. package/fesm2022/ojiepermana-angular-navigation-icon.mjs +63 -0
  289. package/fesm2022/ojiepermana-angular-navigation-icon.mjs.map +1 -0
  290. package/fesm2022/ojiepermana-angular-navigation-item.mjs +559 -0
  291. package/fesm2022/ojiepermana-angular-navigation-item.mjs.map +1 -0
  292. package/fesm2022/ojiepermana-angular-navigation-service.mjs +213 -0
  293. package/fesm2022/ojiepermana-angular-navigation-service.mjs.map +1 -0
  294. package/fesm2022/ojiepermana-angular-navigation-sidebar.mjs +401 -0
  295. package/fesm2022/ojiepermana-angular-navigation-sidebar.mjs.map +1 -0
  296. package/fesm2022/ojiepermana-angular-navigation-topbar.mjs +670 -0
  297. package/fesm2022/ojiepermana-angular-navigation-topbar.mjs.map +1 -0
  298. package/fesm2022/ojiepermana-angular-navigation-types.mjs +4 -0
  299. package/fesm2022/ojiepermana-angular-navigation-types.mjs.map +1 -0
  300. package/fesm2022/ojiepermana-angular-theme-provider.mjs +35 -0
  301. package/fesm2022/ojiepermana-angular-theme-provider.mjs.map +1 -0
  302. package/fesm2022/ojiepermana-angular-theme-services.mjs +294 -0
  303. package/fesm2022/ojiepermana-angular-theme-services.mjs.map +1 -0
  304. package/fesm2022/ojiepermana-angular-theme-token.mjs +56 -0
  305. package/fesm2022/ojiepermana-angular-theme-token.mjs.map +1 -0
  306. package/fesm2022/ojiepermana-angular-theme.mjs +390 -0
  307. package/fesm2022/ojiepermana-angular-theme.mjs.map +1 -0
  308. package/fesm2022/ojiepermana-angular.mjs +22 -0
  309. package/fesm2022/ojiepermana-angular.mjs.map +1 -0
  310. package/generator/api/README.md +252 -0
  311. package/generator/api/bin/package.json +3 -0
  312. package/generator/api/bin/schematics/init/index.js +90 -0
  313. package/generator/api/bin/schematics/ng-add/index.js +131 -0
  314. package/generator/api/bin/schematics/sdk/index.js +76 -0
  315. package/generator/api/bin/src/config/loader.js +41 -0
  316. package/generator/api/bin/src/config/schema.js +57 -0
  317. package/generator/api/bin/src/emit/client.js +248 -0
  318. package/generator/api/bin/src/emit/metadata.js +295 -0
  319. package/generator/api/bin/src/emit/models.js +106 -0
  320. package/generator/api/bin/src/emit/navigation.js +56 -0
  321. package/generator/api/bin/src/emit/operations.js +122 -0
  322. package/generator/api/bin/src/emit/public-api.js +54 -0
  323. package/generator/api/bin/src/emit/services.js +87 -0
  324. package/generator/api/bin/src/engine.js +65 -0
  325. package/generator/api/bin/src/layout/per-domain.js +359 -0
  326. package/generator/api/bin/src/parser/bundle.js +25 -0
  327. package/generator/api/bin/src/parser/ir.js +320 -0
  328. package/generator/api/bin/src/parser/types.js +7 -0
  329. package/generator/api/bin/src/render/template.js +58 -0
  330. package/generator/api/bin/src/writer/index.js +278 -0
  331. package/generator/api/package.json +4 -0
  332. package/generator/api/schematics/init/schema.json +19 -0
  333. package/generator/api/schematics/ng-add/schema.json +14 -0
  334. package/generator/api/schematics/sdk/schema.json +19 -0
  335. package/generator/api/sdk.config.example.json +24 -0
  336. package/generator/guide/README.md +84 -0
  337. package/generator/guide/bin/package.json +3 -0
  338. package/generator/guide/bin/schematics/build/index.js +36 -0
  339. package/generator/guide/bin/schematics/init/index.js +70 -0
  340. package/generator/guide/bin/src/config/loader.js +50 -0
  341. package/generator/guide/bin/src/config/schema.js +12 -0
  342. package/generator/guide/bin/src/engine/component.js +74 -0
  343. package/generator/guide/bin/src/engine/frontmatter.js +42 -0
  344. package/generator/guide/bin/src/engine/index.js +42 -0
  345. package/generator/guide/bin/src/engine/naming.js +39 -0
  346. package/generator/guide/bin/src/engine/render.js +36 -0
  347. package/generator/guide/bin/src/engine/routes.js +106 -0
  348. package/generator/guide/bin/src/engine/walk.js +35 -0
  349. package/generator/guide/guide.config.example.json +9 -0
  350. package/generator/guide/schematics/build/schema.json +14 -0
  351. package/generator/guide/schematics/init/schema.json +19 -0
  352. package/layout/component/package.json +4 -0
  353. package/layout/package.json +4 -0
  354. package/layout/provider/package.json +4 -0
  355. package/layout/services/package.json +4 -0
  356. package/layout/shell/package.json +4 -0
  357. package/layout/token/directive/package.json +4 -0
  358. package/layout/token/package.json +4 -0
  359. package/layout/type/empty/package.json +4 -0
  360. package/layout/type/horizontal/package.json +4 -0
  361. package/layout/type/vertical/package.json +4 -0
  362. package/navigation/demo-data/package.json +4 -0
  363. package/navigation/icon/package.json +4 -0
  364. package/navigation/item/package.json +4 -0
  365. package/navigation/service/package.json +4 -0
  366. package/navigation/sidebar/package.json +4 -0
  367. package/navigation/topbar/README.md +196 -0
  368. package/navigation/topbar/package.json +4 -0
  369. package/navigation/types/package.json +4 -0
  370. package/package.json +433 -18
  371. package/theme/README.md +174 -0
  372. package/theme/package.json +4 -0
  373. package/theme/provider/package.json +4 -0
  374. package/theme/services/package.json +4 -0
  375. package/theme/styles/foundation/components.css +81 -0
  376. package/theme/styles/foundation/layers.css +15 -0
  377. package/theme/styles/foundation/tokens.css +55 -0
  378. package/theme/styles/index.css +37 -0
  379. package/theme/styles/integrations/material/autocomplete.css +178 -0
  380. package/theme/styles/integrations/material/button.css +468 -0
  381. package/theme/styles/integrations/material/dialog.css +152 -0
  382. package/theme/styles/integrations/material/select.css +175 -0
  383. package/theme/styles/integrations/material/slide-toggle.css +234 -0
  384. package/theme/styles/integrations/material/slider.css +194 -0
  385. package/theme/styles/integrations/material/tabs.css +229 -0
  386. package/theme/styles/integrations/material.css +264 -0
  387. package/theme/styles/integrations/tailwind.css +114 -0
  388. package/theme/styles/variants/color/amber.css +31 -0
  389. package/theme/styles/variants/color/base.css +36 -0
  390. package/theme/styles/variants/color/blue.css +31 -0
  391. package/theme/styles/variants/color/cyan.css +31 -0
  392. package/theme/styles/variants/color/emerald.css +31 -0
  393. package/theme/styles/variants/color/fuchsia.css +31 -0
  394. package/theme/styles/variants/color/green.css +31 -0
  395. package/theme/styles/variants/color/index.css +22 -0
  396. package/theme/styles/variants/color/indigo.css +31 -0
  397. package/theme/styles/variants/color/lime.css +31 -0
  398. package/theme/styles/variants/color/orange.css +31 -0
  399. package/theme/styles/variants/color/pink.css +31 -0
  400. package/theme/styles/variants/color/purple.css +31 -0
  401. package/theme/styles/variants/color/red.css +31 -0
  402. package/theme/styles/variants/color/rose.css +31 -0
  403. package/theme/styles/variants/color/sky.css +31 -0
  404. package/theme/styles/variants/color/teal.css +31 -0
  405. package/theme/styles/variants/color/violet.css +31 -0
  406. package/theme/styles/variants/color/yellow.css +31 -0
  407. package/theme/styles/variants/mode/dark.css +20 -0
  408. package/theme/styles/variants/mode/index.css +6 -0
  409. package/theme/styles/variants/mode/light.css +24 -0
  410. package/theme/styles/variants/style/brutal.css +50 -0
  411. package/theme/styles/variants/style/default.css +54 -0
  412. package/theme/styles/variants/style/index.css +8 -0
  413. package/theme/styles/variants/style/sharp.css +50 -0
  414. package/theme/styles/variants/style/soft.css +50 -0
  415. package/theme/token/package.json +4 -0
  416. package/types/ojiepermana-angular-component-accordion.d.ts +51 -0
  417. package/types/ojiepermana-angular-component-alert-dialog.d.ts +93 -0
  418. package/types/ojiepermana-angular-component-alert.d.ts +37 -0
  419. package/types/ojiepermana-angular-component-aspect-ratio.d.ts +12 -0
  420. package/types/ojiepermana-angular-component-avatar.d.ts +51 -0
  421. package/types/ojiepermana-angular-component-badge.d.ts +19 -0
  422. package/types/ojiepermana-angular-component-breadcrumb.d.ts +46 -0
  423. package/types/ojiepermana-angular-component-button-group.d.ts +26 -0
  424. package/types/ojiepermana-angular-component-button.d.ts +22 -0
  425. package/types/ojiepermana-angular-component-calendar.d.ts +33 -0
  426. package/types/ojiepermana-angular-component-card.d.ts +60 -0
  427. package/types/ojiepermana-angular-component-carousel.d.ts +86 -0
  428. package/types/ojiepermana-angular-component-chart-area.d.ts +1 -0
  429. package/types/ojiepermana-angular-component-chart-bar.d.ts +1 -0
  430. package/types/ojiepermana-angular-component-chart-line.d.ts +1 -0
  431. package/types/ojiepermana-angular-component-chart-pie.d.ts +1 -0
  432. package/types/ojiepermana-angular-component-chart-radar.d.ts +1 -0
  433. package/types/ojiepermana-angular-component-chart-radial.d.ts +1 -0
  434. package/types/ojiepermana-angular-component-chart-scatter.d.ts +1 -0
  435. package/types/ojiepermana-angular-component-chart.d.ts +1094 -0
  436. package/types/ojiepermana-angular-component-checkbox.d.ts +35 -0
  437. package/types/ojiepermana-angular-component-collapsible.d.ts +42 -0
  438. package/types/ojiepermana-angular-component-combobox.d.ts +50 -0
  439. package/types/ojiepermana-angular-component-command.d.ts +99 -0
  440. package/types/ojiepermana-angular-component-composer.d.ts +90 -0
  441. package/types/ojiepermana-angular-component-context-menu.d.ts +35 -0
  442. package/types/ojiepermana-angular-component-date-picker.d.ts +41 -0
  443. package/types/ojiepermana-angular-component-dialog.d.ts +87 -0
  444. package/types/ojiepermana-angular-component-drawer.d.ts +1 -0
  445. package/types/ojiepermana-angular-component-dropdown-menu.d.ts +137 -0
  446. package/types/ojiepermana-angular-component-editor.d.ts +123 -0
  447. package/types/ojiepermana-angular-component-empty.d.ts +50 -0
  448. package/types/ojiepermana-angular-component-form.d.ts +141 -0
  449. package/types/ojiepermana-angular-component-hover-card.d.ts +74 -0
  450. package/types/ojiepermana-angular-component-input-group.d.ts +51 -0
  451. package/types/ojiepermana-angular-component-input-otp.d.ts +136 -0
  452. package/types/ojiepermana-angular-component-input.d.ts +16 -0
  453. package/types/ojiepermana-angular-component-item.d.ts +88 -0
  454. package/types/ojiepermana-angular-component-kanban.d.ts +70 -0
  455. package/types/ojiepermana-angular-component-kbd.d.ts +16 -0
  456. package/types/ojiepermana-angular-component-label.d.ts +11 -0
  457. package/types/ojiepermana-angular-component-menubar.d.ts +67 -0
  458. package/types/ojiepermana-angular-component-native-select.d.ts +26 -0
  459. package/types/ojiepermana-angular-component-navigation-menu.d.ts +96 -0
  460. package/types/ojiepermana-angular-component-pagination.d.ts +33 -0
  461. package/types/ojiepermana-angular-component-pillbox.d.ts +157 -0
  462. package/types/ojiepermana-angular-component-popover.d.ts +43 -0
  463. package/types/ojiepermana-angular-component-progress.d.ts +17 -0
  464. package/types/ojiepermana-angular-component-radio.d.ts +40 -0
  465. package/types/ojiepermana-angular-component-resizable.d.ts +99 -0
  466. package/types/ojiepermana-angular-component-scroll-area.d.ts +19 -0
  467. package/types/ojiepermana-angular-component-select.d.ts +57 -0
  468. package/types/ojiepermana-angular-component-separator.d.ts +14 -0
  469. package/types/ojiepermana-angular-component-sheet.d.ts +76 -0
  470. package/types/ojiepermana-angular-component-skeleton.d.ts +10 -0
  471. package/types/ojiepermana-angular-component-slider.d.ts +74 -0
  472. package/types/ojiepermana-angular-component-spinner.d.ts +13 -0
  473. package/types/ojiepermana-angular-component-switch.d.ts +40 -0
  474. package/types/ojiepermana-angular-component-table.d.ts +52 -0
  475. package/types/ojiepermana-angular-component-tabs.d.ts +92 -0
  476. package/types/ojiepermana-angular-component-textarea.d.ts +12 -0
  477. package/types/ojiepermana-angular-component-timeline.d.ts +63 -0
  478. package/types/ojiepermana-angular-component-toast.d.ts +38 -0
  479. package/types/ojiepermana-angular-component-toggle-group.d.ts +89 -0
  480. package/types/ojiepermana-angular-component-toggle.d.ts +25 -0
  481. package/types/ojiepermana-angular-component-tooltip.d.ts +89 -0
  482. package/types/ojiepermana-angular-component-utils.d.ts +5 -0
  483. package/types/ojiepermana-angular-generator-api.d.ts +86 -0
  484. package/types/ojiepermana-angular-layout-component.d.ts +205 -0
  485. package/types/ojiepermana-angular-layout-provider.d.ts +6 -0
  486. package/types/ojiepermana-angular-layout-services.d.ts +25 -0
  487. package/types/ojiepermana-angular-layout-shell.d.ts +8 -0
  488. package/types/ojiepermana-angular-layout-token-directive.d.ts +13 -0
  489. package/types/ojiepermana-angular-layout-token.d.ts +36 -0
  490. package/types/ojiepermana-angular-layout-type-empty.d.ts +22 -0
  491. package/types/ojiepermana-angular-layout-type-horizontal.d.ts +36 -0
  492. package/types/ojiepermana-angular-layout-type-vertical.d.ts +38 -0
  493. package/types/ojiepermana-angular-layout.d.ts +164 -0
  494. package/types/ojiepermana-angular-navigation-demo-data.d.ts +5 -0
  495. package/types/ojiepermana-angular-navigation-icon.d.ts +17 -0
  496. package/types/ojiepermana-angular-navigation-item.d.ts +54 -0
  497. package/types/ojiepermana-angular-navigation-service.d.ts +77 -0
  498. package/types/ojiepermana-angular-navigation-sidebar.d.ts +75 -0
  499. package/types/ojiepermana-angular-navigation-topbar.d.ts +74 -0
  500. package/types/ojiepermana-angular-navigation-types.d.ts +135 -0
  501. package/types/ojiepermana-angular-theme-provider.d.ts +11 -0
  502. package/types/ojiepermana-angular-theme-services.d.ts +55 -0
  503. package/types/ojiepermana-angular-theme-token.d.ts +57 -0
  504. package/types/ojiepermana-angular-theme.d.ts +116 -0
  505. package/types/ojiepermana-angular.d.ts +3 -0
  506. package/fesm2022/edsis-angular-block-shell.mjs +0 -698
  507. package/fesm2022/edsis-angular-block-shell.mjs.map +0 -1
  508. package/fesm2022/edsis-angular-module-auth.mjs +0 -1317
  509. package/fesm2022/edsis-angular-module-auth.mjs.map +0 -1
  510. package/fesm2022/edsis-angular.mjs +0 -8
  511. package/fesm2022/edsis-angular.mjs.map +0 -1
  512. package/types/edsis-angular-block-shell.d.ts +0 -111
  513. package/types/edsis-angular-module-auth.d.ts +0 -132
  514. package/types/edsis-angular.d.ts +0 -2
package/.npmignore ADDED
@@ -0,0 +1,2 @@
1
+ # Nested package.json's are only needed for development.
2
+ **/package.json
package/README.md CHANGED
@@ -1,177 +1,350 @@
1
1
  # @edsis/angular
2
2
 
3
- Angular library package for Edsis shared application features.
3
+ This project targets Angular 22 as the minimum supported major for published consumers.
4
4
 
5
- Published entry points:
5
+ ## Package manager
6
6
 
7
- - `@edsis/angular`
8
- - `@edsis/angular/module/auth`
7
+ Install dependencies from the workspace root with Bun:
9
8
 
10
- The generated API SDK is published separately as `@edsis/sdk`.
9
+ ```bash
10
+ bun install
11
+ ```
11
12
 
12
- ## Generate and build
13
+ ## Consumer installation
13
14
 
14
- Use the root workspace scripts so SDK generation and library packaging stay in sync:
15
+ Install the published package into a consumer Angular workspace with Angular
16
+ CLI so the required peer dependencies are added to the app's `package.json`
17
+ and installed in the same flow:
18
+
19
+ In the consumer snippets below, `@your-scope/angular` means the package name
20
+ your workspace actually installs. Replace it consistently with the published
21
+ target you use, for example `@edsis/angular`, `@edsis/angular`, or
22
+ another branded alias such as `@etos/angular`.
15
23
 
16
24
  ```bash
17
- bun run build:library
25
+ ng add @your-scope/angular
18
26
  ```
19
27
 
20
- That command builds the UI package, then the SDK, and finally packages this library:
28
+ The library requires Tailwind CSS `^4.3.0`. If the consumer workspace does
29
+ not already have a compatible Tailwind v4 installation, `ng add` will add it
30
+ from the published `peerDependencies`.
31
+
32
+ The published package treats Angular `>=22.0.0` as the supported peer floor,
33
+ so consumer workspaces can stay on Angular 22 or move forward to newer majors
34
+ without having the library artificially pinned to 22.x only.
35
+
36
+ When updating the library later, use Angular CLI as well:
21
37
 
22
38
  ```bash
23
- bun run build:ui
24
- bun run gen:sdk
25
- bunx ng build sdk
26
- bunx ng build library
39
+ ng update @your-scope/angular
27
40
  ```
28
41
 
29
- The packaged output is written to `dist/library`, including the reusable `@edsis/angular/module/auth` entry point.
30
-
31
- ## Full release
42
+ The package ships `ng-add` and `ng-update` metadata so Angular and RxJS
43
+ companions stay aligned with the supported versions of the library.
32
44
 
33
- Run the guarded release flow with:
45
+ If you install the package with `npm install`, `bun add`, `pnpm add`, or `yarn
46
+ add` directly, peer dependency installation falls back to the package
47
+ manager's own behavior. In that flow, install Tailwind manually as well:
34
48
 
35
49
  ```bash
36
- bun run release:library
50
+ bun add @your-scope/angular tailwindcss@^4.3.0
37
51
  ```
38
52
 
39
- The script will:
53
+ Consumer app styles should import the library theme, Tailwind, and the
54
+ Tailwind bridge in this order:
40
55
 
41
- - reject the release if the git worktree is dirty
42
- - reject the release if the current branch still has commits that are not pushed, is behind, or is diverged from its upstream branch
43
- - ask for a version bump using `X`, `Y`, or `Z`
44
- - map `X` to major, `Y` to minor, and `Z` to patch, then increment the current version automatically
45
- - ask for a final confirmation before continuing
46
- - run `bun run build:library`
47
- - commit the version bump and generated SDK updates with `update version ke {{version}}`
48
- - push the commit
49
- - publish `dist/library` to the public npm registry
56
+ ```css
57
+ @import '@your-scope/angular/theme/styles';
58
+ @import 'tailwindcss';
59
+ @import '@your-scope/angular/theme/tailwind/theme.css';
60
+ ```
50
61
 
51
- For a non-interactive release, provide the bump and confirmation flags explicitly:
62
+ ## Theme entrypoint
52
63
 
53
- ```bash
54
- bun run release:library --bump Z --yes
64
+ The shared theme runtime ships through `@your-scope/angular/theme`, with
65
+ granular deep-import surfaces available at `@your-scope/angular/theme/services`,
66
+ `@your-scope/angular/theme/provider`, and `@your-scope/angular/theme/token`.
67
+ The CSS assets stay available through `@your-scope/angular/theme/styles` and
68
+ `@your-scope/angular/theme/tailwind/theme.css`.
69
+
70
+ ```ts
71
+ import { provideMaterialTheme, withMaterialDefaults } from '@your-scope/angular/theme';
72
+ ```
73
+
74
+ ```css
75
+ @import '@your-scope/angular/theme/styles';
76
+ @import 'tailwindcss';
77
+ @import '@your-scope/angular/theme/tailwind/theme.css';
55
78
  ```
56
79
 
57
- Preview the release plan without changing files:
80
+ For contributors working in this repository, the theme entrypoint source is
81
+ split into runtime APIs under [`projects/angular/theme/services`](theme/services),
82
+ [`projects/angular/theme/provider`](theme/provider),
83
+ [`projects/angular/theme/token`](theme/token), and stylesheet
84
+ assets under [`projects/angular/theme/css`](theme/css).
85
+ The stylesheet sources are grouped into `foundation/`, `variants/`, and
86
+ `integrations/`. Local entrypoint notes live in
87
+ [`projects/angular/theme/README.md`](theme/README.md).
88
+
89
+ To run the theme-only regression suite from the workspace root, use:
58
90
 
59
91
  ```bash
60
- bun run release:library:dry-run --bump Y --yes
92
+ bun run test:theme
93
+ ```
94
+
95
+ ## Breaking change migration
96
+
97
+ Granular secondary entrypoints are now the required component and navigation
98
+ surface. If your app previously imported from the removed
99
+ `@your-scope/angular/component` or `@your-scope/angular/navigation` barrels,
100
+ migrate in this order:
101
+
102
+ 1. Confirm the package root you install in the consumer app. Keep that same
103
+ root in every `ng add`, `ng update`, stylesheet import, and TypeScript
104
+ import.
105
+ 2. Replace broad barrel imports such as `@your-scope/angular/component` with
106
+ the smallest matching subpath, for example
107
+ `@your-scope/angular/component/button` or
108
+ `@your-scope/angular/component/dropdown-menu`.
109
+ 3. Replace removed navigation imports such as `@your-scope/angular/navigation`
110
+ with the matching navigation subpath, for example
111
+ `@your-scope/angular/navigation/sidebar`,
112
+ `@your-scope/angular/navigation/topbar`,
113
+ `@your-scope/angular/navigation/service`, or
114
+ `@your-scope/angular/navigation/types`.
115
+ 4. Update any internal helper imports to their new granular subpaths as well,
116
+ including utilities such as `@your-scope/angular/component/utils`.
117
+ 5. Update schematic commands in the same way. The package name before the
118
+ colon must match the installed target.
119
+
120
+ Example migration:
121
+
122
+ ```ts
123
+ import { ButtonComponent } from '@your-scope/angular/component/button';
124
+ import { DropdownMenuComponent } from '@your-scope/angular/component/dropdown-menu';
125
+ import { SidebarComponent } from '@your-scope/angular/navigation/sidebar';
126
+ import { NavigationService } from '@your-scope/angular/navigation/service';
127
+ import { UiNavIconComponent } from '@your-scope/angular/navigation/icon';
128
+ ```
129
+
130
+ ## Granular imports for production builds
131
+
132
+ Prefer the smallest subpath that matches the primitives you actually use,
133
+ especially in Native Federation or other shared-chunk builds. Every component
134
+ now ships only through its matching granular subpath, for example
135
+ `@your-scope/angular/component/date-picker`,
136
+ `@your-scope/angular/component/dropdown-menu`, and
137
+ `@your-scope/angular/component/tooltip`.
138
+
139
+ ```ts
140
+ import { AvatarComponent, AvatarFallbackComponent, AvatarImageComponent } from '@your-scope/angular/component/avatar';
141
+ import { ButtonComponent } from '@your-scope/angular/component/button';
142
+ import { PopoverContentDirective, PopoverTriggerDirective } from '@your-scope/angular/component/popover';
143
+ import { cn } from '@your-scope/angular/component/utils';
144
+ import { UiNavIconComponent } from '@your-scope/angular/navigation/icon';
61
145
  ```
62
146
 
63
- ## Versioning
147
+ `@your-scope/angular/component` and `@your-scope/angular/navigation` aggregate
148
+ barrels have been removed. Consumers should use granular
149
+ `@your-scope/angular/component/<slug>` and
150
+ `@your-scope/angular/navigation/<part>` imports.
151
+
152
+ Navigation now follows the same granular pattern:
153
+ `@your-scope/angular/navigation/types`,
154
+ `@your-scope/angular/navigation/service`,
155
+ `@your-scope/angular/navigation/sidebar`,
156
+ `@your-scope/angular/navigation/topbar`,
157
+ `@your-scope/angular/navigation/item`,
158
+ `@your-scope/angular/navigation/icon`, and
159
+ `@your-scope/angular/navigation/demo-data`.
160
+
161
+ The same subpaths are preserved for branded packages. For example, a consumer
162
+ built from the EDSIS release uses:
163
+
164
+ ```ts
165
+ import { ButtonComponent } from '@edsis/angular/component/button';
166
+ import { cn } from '@edsis/angular/component/utils';
167
+ import { UiNavIconComponent } from '@edsis/angular/navigation/icon';
168
+ ```
64
169
 
65
- Update the publishable package version in `library/angular/package.json` with:
170
+ To verify the generated package still publishes smaller entrypoints after a
171
+ build, run:
66
172
 
67
173
  ```bash
68
- bun run version:library patch
69
- bun run version:library minor
70
- bun run version:library 1.2.3
71
- bun run version:library prerelease --preid beta
174
+ bun run build
175
+ bun run report:entrypoints -- --check
72
176
  ```
73
177
 
74
- The version script only updates the source package manifest. The built package in
75
- `dist/library` picks up the version on the next `bun run build:library`.
178
+ The size report validates that every granular component and navigation
179
+ entrypoint resolves to its own module and that the removed `./component` and
180
+ `./navigation` parent barrels do not return in the published exports.
76
181
 
77
- ## Pack and publish locally
182
+ ## Navigation primitives
183
+
184
+ The navigation library now publishes only granular child entrypoints, so each
185
+ part can be consumed independently.
186
+
187
+ ```ts
188
+ import { SidebarComponent } from '@your-scope/angular/navigation/sidebar';
189
+ import { TopbarComponent } from '@your-scope/angular/navigation/topbar';
190
+ import { NavigationService } from '@your-scope/angular/navigation/service';
191
+ import type { NavigationItem, SidebarVariant } from '@your-scope/angular/navigation/types';
192
+ import { UiNavIconComponent } from '@your-scope/angular/navigation/icon';
193
+ ```
78
194
 
79
- Run the interactive local publish workflow with:
195
+ The vertical navigation selector is now `sidebar` and the projected sidebar
196
+ slots use `sidebar-header` and `sidebar-footer`.
197
+
198
+ ```html
199
+ <sidebar [ariaLabel]="'Primary'" [variant]="'default'">
200
+ <div sidebar-header>Brand</div>
201
+ <div sidebar-footer>Footer actions</div>
202
+ </sidebar>
203
+ ```
204
+
205
+ Register items through `NavigationService.registerItems(...)`, or pass them directly with the `items` input when composing a local navigation tree.
206
+
207
+ ## SDK generator in a consumer workspace
208
+
209
+ After `@edsis/angular` is installed, a consumer workspace can scaffold an
210
+ SDK config file under `config/sdk.config.json` and generate an Angular SDK directly from the published
211
+ schematics:
80
212
 
81
213
  ```bash
82
- bun run publish
214
+ ng generate @your-scope/angular:sdk-init
215
+ # edit config/sdk.config.json
216
+ ng generate @your-scope/angular:sdk
83
217
  ```
84
218
 
85
- The script will:
219
+ The main consumer flow is: create `config/sdk.config.json`, adjust the OpenAPI
220
+ input and output target, then run the SDK generator.
86
221
 
87
- - verify the active npm login against the public npm registry
88
- - ask for a version bump using `X`, `Y`, or `Z`
89
- - update `library/sdk/package.json`, `config/sdk.config.json`, and `library/angular/package.json`
90
- - run `bun run build:library`, which builds the UI package, then the SDK, and finally the library
91
- - publish `dist/sdk` and then `dist/library` to npm public with `--access public`
222
+ If you want short script aliases in the consumer app's `package.json`, add:
92
223
 
93
- For a non-interactive publish, provide the bump and confirmation flags explicitly:
224
+ ```json
225
+ {
226
+ "scripts": {
227
+ "gen:sdk:init": "ng generate @your-scope/angular:sdk-init",
228
+ "gen:sdk": "ng generate @your-scope/angular:sdk"
229
+ }
230
+ }
231
+ ```
232
+
233
+ Consumers do not need a `gen:sdk:build` step because the npm package already
234
+ ships the compiled schematic runtime.
235
+
236
+ Common follow-up options:
94
237
 
95
238
  ```bash
96
- bun run publish --bump Z --yes
239
+ ng generate @your-scope/angular:sdk-init --path=config/my-sdk.config.json
240
+ ng generate @your-scope/angular:sdk --config=config/my-sdk.config.json --dry-run
97
241
  ```
98
242
 
99
- Preview the publish plan without changing files:
243
+ ## Code scaffolding
244
+
245
+ Angular CLI includes powerful code scaffolding tools. To generate a new component, run:
100
246
 
101
247
  ```bash
102
- bun run publish --dry-run --bump Y --yes
248
+ bun run ng generate component component-name
103
249
  ```
104
250
 
105
- Publish only the SDK package:
251
+ For a complete list of available schematics (such as `components`, `directives`, or `pipes`), run:
106
252
 
107
253
  ```bash
108
- bun run publish --sdk --bump Z --yes
254
+ bun run ng --help
109
255
  ```
110
256
 
111
- Publish only the library package:
257
+ ## Building
258
+
259
+ To build the library, run:
112
260
 
113
261
  ```bash
114
- bun run publish --lib --bump Z --yes
262
+ bun run build
115
263
  ```
116
264
 
117
- Preview the npm tarball:
265
+ This command will compile your project, and the build artifacts will be placed in the `dist/` directory.
266
+
267
+ To inspect the generated entrypoint sizes after a build, run:
118
268
 
119
269
  ```bash
120
- bun run pack:library
270
+ bun run report:entrypoints
121
271
  ```
122
272
 
123
- Publish to npm:
273
+ ### Publishing the Library
274
+
275
+ Publish the scoped package to the public npm registry from the workspace root.
276
+
277
+ First, log in to npm:
124
278
 
125
279
  ```bash
126
- bun run publish
127
- bun run publish --tag next
128
- bun run publish:sdk
129
- bun run publish:library
280
+ npm login
130
281
  ```
131
282
 
132
- Run a local publish dry-run:
283
+ Then run:
133
284
 
134
285
  ```bash
135
- bun run publish:sdk:dry-run
136
- bun run publish:library:dry-run
286
+ bun run publish
137
287
  ```
138
288
 
139
- When updating `@ojiepermana/angular`, use the helper below instead of a plain `bun update` so the version pin, patch mapping, install step, and SDK build verification stay in sync:
289
+ By default, this command publishes every configured release target from `config/release.config.json`.
290
+
291
+ Release targets are configured in `config/release.config.json`. Each entry can override the published
292
+ package name plus `repository`, `homepage`, and `bugs` metadata so npm shows the correct package identity.
293
+
294
+ To publish the `edsis` target from that config, run:
140
295
 
141
296
  ```bash
142
- bun run update:edsis
297
+ bun run publish --edsis
143
298
  ```
144
299
 
145
- If a specific version needs to be tested:
300
+ To publish every configured release target in sequence, run:
146
301
 
147
302
  ```bash
148
- bun run update:edsis 21.1.11
303
+ bun run publish -all
149
304
  ```
150
305
 
151
- `publish` publishes `@edsis/sdk` before `@edsis/angular`. `publish:sdk` and `publish:library` use the same helper with `--sdk` or `--lib` and force `--access public`.
306
+ `bun run publish` and `bun run publish -all` are equivalent.
307
+
308
+ That flow rebuilds `dist/angular` for each configured target, rewrites published package references, applies
309
+ the target-specific npm metadata, smoke-tests the tarball, then publishes it to npm.
152
310
 
153
- For local publishes, the script does not add `--provenance` by default because npm provenance generation is not supported outside compatible CI providers. If you need provenance in a supported CI environment, pass it explicitly:
311
+ ### EDSIS Verification Flow
312
+
313
+ To validate the EDSIS package locally without publishing, use:
314
+
315
+ ```bash
316
+ bun run build -- --package @edsis/angular --repository-url git+https://github.com/edsis/angular.git --homepage https://github.com/edsis/angular#readme --bugs-url https://github.com/edsis/angular/issues
317
+ bun run smoke:pack -- --package @edsis/angular
318
+ ```
319
+
320
+ Consumer installation for the published EDSIS package is:
154
321
 
155
322
  ```bash
156
- bun run publish --provenance
323
+ ng add @edsis/angular
324
+ bun add @edsis/angular
157
325
  ```
158
326
 
159
- ## GitHub publish workflow
327
+ If you use `npm`, `pnpm`, or `yarn`, install the package with your package manager after `ng add`
328
+ finishes.
329
+
330
+ ## Running unit tests
160
331
 
161
- The repository includes `.github/workflows/publish-library.yml`.
332
+ To execute unit tests with the [Karma](https://karma-runner.github.io) test runner, use the following command:
162
333
 
163
- It supports:
334
+ ```bash
335
+ bun run test
336
+ ```
337
+
338
+ ## Running end-to-end tests
164
339
 
165
- - pushing a tag named `library-vX.Y.Z`
166
- - manual `workflow_dispatch` runs with an npm tag and optional dry-run
340
+ For end-to-end (e2e) testing, run:
341
+
342
+ ```bash
343
+ bun run ng e2e
344
+ ```
167
345
 
168
- The workflow uses npm trusted publishing via GitHub Actions OIDC, so it does
169
- not require a repository `NPM_TOKEN` secret. The npm package must be configured
170
- to trust this repository workflow as a publisher. On tag pushes, the tag
171
- version must match `library/angular/package.json`.
346
+ Angular CLI does not come with an end-to-end testing framework by default. You can choose one that suits your needs.
172
347
 
173
- Recommended local release flow:
348
+ ## Additional Resources
174
349
 
175
- 1. Run `bun run release:library`.
176
- 2. Select `X`, `Y`, or `Z`, then confirm the computed version.
177
- 3. Let the script build, commit, push, and publish the package.
350
+ For more information on using the Angular CLI, including detailed command references, visit the [Angular CLI Overview and Command Reference](https://angular.dev/tools/cli) page.
@@ -0,0 +1,30 @@
1
+ {
2
+ "$schema": "../../node_modules/@angular-devkit/schematics/collection-schema.json",
3
+ "schematics": {
4
+ "ng-add": {
5
+ "description": "Add @edsis/angular and its required peer dependencies to an Angular workspace.",
6
+ "factory": "./generator/api/bin/schematics/ng-add/index.js#ngAdd",
7
+ "schema": "./generator/api/schematics/ng-add/schema.json"
8
+ },
9
+ "sdk": {
10
+ "description": "Generate an Angular SDK from an OpenAPI spec.",
11
+ "factory": "./generator/api/bin/schematics/sdk/index.js#sdk",
12
+ "schema": "./generator/api/schematics/sdk/schema.json"
13
+ },
14
+ "sdk-init": {
15
+ "description": "Create config/sdk.config.json under the workspace root.",
16
+ "factory": "./generator/api/bin/schematics/init/index.js#init",
17
+ "schema": "./generator/api/schematics/init/schema.json"
18
+ },
19
+ "guide": {
20
+ "description": "Compile Markdown files into Angular standalone components and a nested route tree.",
21
+ "factory": "./generator/guide/bin/schematics/build/index.js#build",
22
+ "schema": "./generator/guide/schematics/build/schema.json"
23
+ },
24
+ "guide-init": {
25
+ "description": "Create config/guide.config.json under the workspace root.",
26
+ "factory": "./generator/guide/bin/schematics/init/index.js#init",
27
+ "schema": "./generator/guide/schematics/init/schema.json"
28
+ }
29
+ }
30
+ }
@@ -0,0 +1,195 @@
1
+ # Accordion
2
+
3
+ Displays a vertically stacked set of interactive headings that reveal one or more content panels.
4
+
5
+ Use Accordion for FAQ blocks, settings groups, and progressive disclosure where content should stay in the same page flow.
6
+
7
+ ## Import
8
+
9
+ ```ts
10
+ import {
11
+ AccordionComponent,
12
+ AccordionContentComponent,
13
+ AccordionItemComponent,
14
+ AccordionTriggerComponent,
15
+ } from '@edsis/angular/component/accordion';
16
+ ```
17
+
18
+ ## Composition
19
+
20
+ The Angular structure mirrors the shadcn and Radix composition while using Angular selectors and a native button trigger.
21
+
22
+ ```text
23
+ ui-accordion
24
+ ├── ui-accordion-item
25
+ │ ├── button[ui-accordion-trigger]
26
+ │ └── ui-accordion-content
27
+ └── ui-accordion-item
28
+ ├── button[ui-accordion-trigger]
29
+ └── ui-accordion-content
30
+ ```
31
+
32
+ ## Basic usage
33
+
34
+ Use `ui-accordion` as the root, wrap each section in `ui-accordion-item`, place the clickable heading on a native button with `ui-accordion-trigger`, and project body copy into `ui-accordion-content`.
35
+
36
+ Bind `[(value)]` when the parent should control the open state or seed a default open item.
37
+
38
+ ```html
39
+ <ui-accordion [(value)]="openItem" type="single" class="w-full max-w-xl">
40
+ <ui-accordion-item value="item-1">
41
+ <button ui-accordion-trigger>Is it accessible?</button>
42
+ <ui-accordion-content>
43
+ Yes. The trigger and content follow the expected accordion ARIA wiring.
44
+ </ui-accordion-content>
45
+ </ui-accordion-item>
46
+ </ui-accordion>
47
+ ```
48
+
49
+ ## Common patterns
50
+
51
+ ### Single-open FAQ
52
+
53
+ Use `type="single"` when only one item should stay open at a time.
54
+
55
+ ```ts
56
+ const basicOpen = signal<string | string[] | null>('item-1');
57
+
58
+ <ui-accordion [(value)]="basicOpen" type="single" class="max-w-lg">
59
+ <ui-accordion-item value="item-1">...</ui-accordion-item>
60
+ <ui-accordion-item value="item-2">...</ui-accordion-item>
61
+ <ui-accordion-item value="item-3">...</ui-accordion-item>
62
+ </ui-accordion>
63
+ ```
64
+
65
+ ### Multiple open sections
66
+
67
+ Use `type="multiple"` when more than one panel should stay open. The bound value becomes a `string[]`.
68
+
69
+ ```ts
70
+ const multipleOpen = signal<string[] | null>(['notifications']);
71
+
72
+ <ui-accordion [(value)]="multipleOpen" type="multiple" class="max-w-lg">
73
+ <ui-accordion-item value="notifications">...</ui-accordion-item>
74
+ <ui-accordion-item value="privacy">...</ui-accordion-item>
75
+ <ui-accordion-item value="billing">...</ui-accordion-item>
76
+ </ui-accordion>
77
+ ```
78
+
79
+ ### Disabled items
80
+
81
+ Disable an individual item with `[disabled]="true"` on `ui-accordion-item`.
82
+
83
+ ```ts
84
+ const disabledOpen = signal<string | string[] | null>('history');
85
+
86
+ <ui-accordion [(value)]="disabledOpen" type="single" class="w-full">
87
+ <ui-accordion-item value="history">...</ui-accordion-item>
88
+ <ui-accordion-item value="premium" [disabled]="true">...</ui-accordion-item>
89
+ <ui-accordion-item value="email">...</ui-accordion-item>
90
+ </ui-accordion>
91
+ ```
92
+
93
+ ### Bordered list
94
+
95
+ Add borders on the root and the items when the accordion should read like a boxed settings list.
96
+
97
+ ```ts
98
+ const borderOpen = signal<string | string[] | null>('billing');
99
+
100
+ <ui-accordion [(value)]="borderOpen" type="single" class="max-w-lg rounded-lg border">
101
+ <ui-accordion-item value="billing" class="border-b px-4 last:border-b-0">...</ui-accordion-item>
102
+ <ui-accordion-item value="security" class="border-b px-4 last:border-b-0">...</ui-accordion-item>
103
+ <ui-accordion-item value="integrations" class="border-b px-4 last:border-b-0">...</ui-accordion-item>
104
+ </ui-accordion>
105
+ ```
106
+
107
+ ### Inside a card
108
+
109
+ Accordion works well inside `ui-card` when the disclosure belongs to a larger billing or account surface.
110
+
111
+ ```ts
112
+ const cardOpen = signal<string | string[] | null>('plans');
113
+
114
+ <ui-card class="w-full max-w-sm">
115
+ <ui-card-header>
116
+ <ui-card-title>Subscription and billing</ui-card-title>
117
+ <ui-card-description>Common questions about plans, payments, and cancellations.</ui-card-description>
118
+ </ui-card-header>
119
+ <ui-card-content>
120
+ <ui-accordion [(value)]="cardOpen" type="single">
121
+ <ui-accordion-item value="plans">...</ui-accordion-item>
122
+ <ui-accordion-item value="billing">...</ui-accordion-item>
123
+ <ui-accordion-item value="cancel">...</ui-accordion-item>
124
+ </ui-accordion>
125
+ </ui-card-content>
126
+ </ui-card>
127
+ ```
128
+
129
+ ### RTL
130
+
131
+ For right-to-left interfaces, set `dir="rtl"` on a wrapping container or manage direction globally in the app shell. The Accordion structure itself does not change.
132
+
133
+ ```html
134
+ <section dir="rtl" lang="ar" class="max-w-md text-right">
135
+ <ui-accordion [(value)]="rtlOpen" type="single">
136
+ <ui-accordion-item value="item-1">...</ui-accordion-item>
137
+ <ui-accordion-item value="item-2">...</ui-accordion-item>
138
+ <ui-accordion-item value="item-3">...</ui-accordion-item>
139
+ </ui-accordion>
140
+ </section>
141
+ ```
142
+
143
+ ## API reference
144
+
145
+ ### `AccordionComponent`
146
+
147
+ | Input | Type | Default |
148
+ | --------------- | ---------------------------- | ---------- |
149
+ | `type` | `'single' \| 'multiple'` | `'single'` |
150
+ | `collapsible` | `boolean` | `true` |
151
+ | `value` (model) | `string \| string[] \| null` | `null` |
152
+ | `class` | `string` | `''` |
153
+
154
+ ### `AccordionItemComponent`
155
+
156
+ | Input | Type | Default |
157
+ | ---------- | --------- | ------- |
158
+ | `value` | `string` | — |
159
+ | `disabled` | `boolean` | `false` |
160
+ | `class` | `string` | `''` |
161
+
162
+ ### Parts
163
+
164
+ - `button[ui-accordion-trigger]` renders the interactive heading and manages `aria-controls` plus `aria-expanded`.
165
+ - `ui-accordion-content` renders the panel region and links back to the trigger with `aria-labelledby`.
166
+ - Lower-level primitive behavior is based on the Radix Accordion pattern: <https://www.radix-ui.com/primitives/docs/components/accordion#api-reference>.
167
+
168
+ ## Styling and theming
169
+
170
+ Pass `class` to the root or item parts to tune width, spacing, borders, and embedded-card layouts.
171
+
172
+ The component follows the shared library theme tokens, so standard utility classes such as `border`, `rounded-lg`, `bg-card`, `text-foreground`, and spacing utilities work as expected.
173
+
174
+ ## Accessibility
175
+
176
+ - Trigger has `aria-expanded` and `aria-controls` pointing at the content id.
177
+ - Content has `role="region"` and `aria-labelledby` pointing back at the trigger id.
178
+ - `disabled` items remain visible but non-interactive and are marked with `aria-disabled`.
179
+ - Keep trigger text descriptive and avoid placing nested interactive controls inside the trigger button.
180
+
181
+ ## Keyboard interactions
182
+
183
+ - Native button activation covers Enter and Space.
184
+ - Tab order follows the DOM order of the triggers and content.
185
+
186
+ ## Angular notes
187
+
188
+ - The component uses Angular signal-based `model()` binding for `value`.
189
+ - For `type="single"`, the value is a `string | null`.
190
+ - For `type="multiple"`, the value is a `string[] | null`.
191
+ - Seed the initial open state with a signal rather than a separate `defaultValue` prop.
192
+
193
+ ## Source parity
194
+
195
+ This Angular implementation follows the shadcn Accordion concepts while translating the examples to Angular selectors, standalone imports, and signal-friendly bindings.