@edsis/angular 21.3.15 → 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 -703
  507. package/fesm2022/edsis-angular-block-shell.mjs.map +0 -1
  508. package/fesm2022/edsis-angular-module-auth.mjs +0 -1560
  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 -114
  513. package/types/edsis-angular-module-auth.d.ts +0 -140
  514. package/types/edsis-angular.d.ts +0 -2
@@ -0,0 +1,4 @@
1
+ {
2
+ "module": "../../fesm2022/ojiepermana-angular-component-accordion.mjs",
3
+ "typings": "../../types/ojiepermana-angular-component-accordion.d.ts"
4
+ }
@@ -0,0 +1,182 @@
1
+ # Alert
2
+
3
+ Displays a callout for user attention.
4
+
5
+ Use Alert for inline status callouts, destructive warnings, upgrade prompts, and other situations where the message should stay anchored in the current page flow.
6
+
7
+ ## Import
8
+
9
+ ```ts
10
+ import {
11
+ AlertActionComponent,
12
+ AlertComponent,
13
+ AlertDescriptionComponent,
14
+ AlertTitleComponent,
15
+ } from '@edsis/angular/component/alert';
16
+ import { ButtonComponent } from '@edsis/angular/component/button';
17
+ ```
18
+
19
+ ## Composition
20
+
21
+ The Angular structure mirrors the shadcn composition while leaving icon choice to the consuming app.
22
+
23
+ ```text
24
+ ui-alert
25
+ ├── svg (optional icon)
26
+ ├── ui-alert-title
27
+ ├── ui-alert-description
28
+ └── ui-alert-action (optional)
29
+ ```
30
+
31
+ ## Usage
32
+
33
+ ```html
34
+ <ui-alert class="max-w-md">
35
+ <svg aria-hidden="true" class="size-4"><!-- icon --></svg>
36
+ <ui-alert-title>Heads up!</ui-alert-title>
37
+ <ui-alert-description> You can add components and dependencies to your app using the CLI. </ui-alert-description>
38
+ </ui-alert>
39
+
40
+ <ui-alert class="max-w-md">
41
+ <ui-alert-title>Dark mode is now available</ui-alert-title>
42
+ <ui-alert-description> Enable it under your profile settings to get started. </ui-alert-description>
43
+ <ui-alert-action>
44
+ <button ui-button variant="outline" size="sm">Enable</button>
45
+ </ui-alert-action>
46
+ </ui-alert>
47
+ ```
48
+
49
+ ## Common patterns
50
+
51
+ ### Basic
52
+
53
+ Use an optional icon plus title and description for successful or informative states.
54
+
55
+ ```html
56
+ <ui-alert class="max-w-md">
57
+ <svg aria-hidden="true" class="size-4"><!-- success icon --></svg>
58
+ <ui-alert-title>Account updated successfully</ui-alert-title>
59
+ <ui-alert-description>
60
+ Your profile information has been saved. Changes will be reflected immediately.
61
+ </ui-alert-description>
62
+ </ui-alert>
63
+ ```
64
+
65
+ ### Destructive
66
+
67
+ Apply `variant="destructive"` for failures, expired sessions, and other high-priority issues.
68
+
69
+ ```html
70
+ <ui-alert variant="destructive" class="max-w-md">
71
+ <svg aria-hidden="true" class="size-4"><!-- warning icon --></svg>
72
+ <ui-alert-title>Payment failed</ui-alert-title>
73
+ <ui-alert-description>
74
+ Your payment could not be processed. Please check your payment method and try again.
75
+ </ui-alert-description>
76
+ </ui-alert>
77
+ ```
78
+
79
+ ### Action
80
+
81
+ Wrap a trailing control in `ui-alert-action`. The wrapper aligns the control at the end of the message and anchors it to the top-right on wider layouts.
82
+
83
+ ```html
84
+ <ui-alert class="max-w-md">
85
+ <ui-alert-title>Dark mode is now available</ui-alert-title>
86
+ <ui-alert-description> Enable it under your profile settings to get started. </ui-alert-description>
87
+ <ui-alert-action>
88
+ <button ui-button variant="default" size="sm">Enable</button>
89
+ </ui-alert-action>
90
+ </ui-alert>
91
+ ```
92
+
93
+ ### Custom colors
94
+
95
+ Pass custom classes to the root when the alert should adopt a contextual palette.
96
+
97
+ ```html
98
+ <ui-alert class="max-w-md border-amber-300 bg-amber-50 text-amber-950 [&>svg]:text-amber-700">
99
+ <svg aria-hidden="true" class="size-4"><!-- warning icon --></svg>
100
+ <ui-alert-title>Your subscription will expire in 3 days.</ui-alert-title>
101
+ <ui-alert-description>
102
+ Renew now to avoid service interruption or upgrade to a paid plan to continue using the service.
103
+ </ui-alert-description>
104
+ </ui-alert>
105
+ ```
106
+
107
+ ### RTL
108
+
109
+ For right-to-left interfaces, place the alert inside a container with `dir="rtl"` or manage direction globally in the app shell.
110
+
111
+ ```html
112
+ <section dir="rtl" lang="ar" class="max-w-md text-right">
113
+ <ui-alert>
114
+ <svg aria-hidden="true" class="size-4"><!-- icon --></svg>
115
+ <ui-alert-title>تم الدفع بنجاح</ui-alert-title>
116
+ <ui-alert-description>
117
+ تمت معالجة دفعتك البالغة 29.99 دولارًا. تم إرسال إيصال إلى عنوان بريدك الإلكتروني.
118
+ </ui-alert-description>
119
+ </ui-alert>
120
+ </section>
121
+ ```
122
+
123
+ ## API reference
124
+
125
+ ### `AlertComponent`
126
+
127
+ | Input | Type | Default |
128
+ | --------- | ---------------------------- | ----------- |
129
+ | `variant` | `'default' \| 'destructive'` | `'default'` |
130
+ | `class` | `string` | `''` |
131
+
132
+ ### `AlertTitleComponent`
133
+
134
+ | Input | Type | Default |
135
+ | ------- | -------- | ------- |
136
+ | `class` | `string` | `''` |
137
+
138
+ ### `AlertDescriptionComponent`
139
+
140
+ | Input | Type | Default |
141
+ | ------- | -------- | ------- |
142
+ | `class` | `string` | `''` |
143
+
144
+ ### `AlertActionComponent`
145
+
146
+ | Input | Type | Default |
147
+ | ------- | -------- | ------- |
148
+ | `class` | `string` | `''` |
149
+
150
+ ### Parts
151
+
152
+ - `ui-alert-title` renders the heading of the callout.
153
+ - `ui-alert-description` renders the supporting copy.
154
+ - `ui-alert-action` is an optional layout wrapper for a trailing button or link.
155
+
156
+ Re-export: `alertVariants` and `AlertVariant`.
157
+
158
+ ## Styling and theming
159
+
160
+ Tokens consumed: `--border`, `--background`, `--foreground`, `--destructive`.
161
+ Leading SVG children are auto-positioned via descendant selectors so an icon slots in cleanly without extra wrapper markup.
162
+
163
+ Pass `class` to the root when you need wider layouts, custom color treatments, or embedded card styling. Pass `class` to the title, description, or action parts when a specific example needs spacing or typography overrides.
164
+
165
+ ## Accessibility
166
+
167
+ The root has `role="alert"` so assistive technologies announce the message when
168
+ it appears. For polite, non-interrupting messages, prefer a toast or another live-region pattern instead.
169
+
170
+ When you include a call-to-action, keep the control a native `<button ui-button>` or `<a ui-button>` so standard keyboard and assistive-technology behavior remains intact.
171
+
172
+ ## Keyboard interactions
173
+
174
+ The alert itself does not handle keyboard input. Any nested actions inherit native keyboard behavior from the projected button or link.
175
+
176
+ ## Angular notes
177
+
178
+ The Angular version keeps the same shadcn parts while translating them to standalone imports, `input()` bindings, and utility-first host classes. Icons are application-level concerns, so bring your own icon component or inline SVG instead of expecting an icon export from the alert primitive.
179
+
180
+ ## Source parity
181
+
182
+ This implementation follows the shadcn Alert structure and examples while adapting the API to Angular selectors, standalone imports, and the local button primitive for action content.
@@ -0,0 +1,4 @@
1
+ {
2
+ "module": "../../fesm2022/ojiepermana-angular-component-alert.mjs",
3
+ "typings": "../../types/ojiepermana-angular-component-alert.d.ts"
4
+ }
@@ -0,0 +1,239 @@
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.
@@ -0,0 +1,4 @@
1
+ {
2
+ "module": "../../fesm2022/ojiepermana-angular-component-alert-dialog.mjs",
3
+ "typings": "../../types/ojiepermana-angular-component-alert-dialog.d.ts"
4
+ }
@@ -0,0 +1,112 @@
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.
@@ -0,0 +1,4 @@
1
+ {
2
+ "module": "../../fesm2022/ojiepermana-angular-component-aspect-ratio.mjs",
3
+ "typings": "../../types/ojiepermana-angular-component-aspect-ratio.d.ts"
4
+ }