@ojiepermana/angular 22.0.1 → 22.0.29

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 (513) hide show
  1. package/README.md +61 -311
  2. package/fesm2022/ojiepermana-angular-chart.mjs +10 -0
  3. package/fesm2022/ojiepermana-angular-component.mjs +10 -0
  4. package/fesm2022/ojiepermana-angular-navigation.mjs +10 -0
  5. package/fesm2022/ojiepermana-angular-sdk.mjs +10 -0
  6. package/fesm2022/ojiepermana-angular-theme.mjs +4 -384
  7. package/fesm2022/ojiepermana-angular.mjs +15 -16
  8. package/package.json +25 -425
  9. package/types/ojiepermana-angular-chart.d.ts +1 -0
  10. package/types/ojiepermana-angular-component.d.ts +1 -0
  11. package/types/ojiepermana-angular-navigation.d.ts +1 -0
  12. package/types/ojiepermana-angular-sdk.d.ts +1 -0
  13. package/types/ojiepermana-angular-theme.d.ts +1 -116
  14. package/types/ojiepermana-angular.d.ts +5 -3
  15. package/.npmignore +0 -2
  16. package/collection.json +0 -30
  17. package/component/accordion/README.md +0 -195
  18. package/component/accordion/package.json +0 -4
  19. package/component/alert/README.md +0 -182
  20. package/component/alert/package.json +0 -4
  21. package/component/alert-dialog/README.md +0 -239
  22. package/component/alert-dialog/package.json +0 -4
  23. package/component/aspect-ratio/README.md +0 -112
  24. package/component/aspect-ratio/package.json +0 -4
  25. package/component/avatar/README.md +0 -176
  26. package/component/avatar/package.json +0 -4
  27. package/component/badge/README.md +0 -133
  28. package/component/badge/package.json +0 -4
  29. package/component/breadcrumb/README.md +0 -216
  30. package/component/breadcrumb/package.json +0 -4
  31. package/component/button/README.md +0 -139
  32. package/component/button/package.json +0 -4
  33. package/component/button-group/README.md +0 -208
  34. package/component/button-group/package.json +0 -4
  35. package/component/calendar/README.md +0 -132
  36. package/component/calendar/package.json +0 -4
  37. package/component/card/README.md +0 -220
  38. package/component/card/package.json +0 -4
  39. package/component/carousel/README.md +0 -276
  40. package/component/carousel/package.json +0 -4
  41. package/component/chart/README.md +0 -249
  42. package/component/chart/area/package.json +0 -4
  43. package/component/chart/bar/package.json +0 -4
  44. package/component/chart/line/package.json +0 -4
  45. package/component/chart/package.json +0 -4
  46. package/component/chart/pie/package.json +0 -4
  47. package/component/chart/radar/package.json +0 -4
  48. package/component/chart/radial/package.json +0 -4
  49. package/component/chart/scatter/package.json +0 -4
  50. package/component/checkbox/README.md +0 -149
  51. package/component/checkbox/package.json +0 -4
  52. package/component/collapsible/README.md +0 -195
  53. package/component/collapsible/package.json +0 -4
  54. package/component/combobox/README.md +0 -198
  55. package/component/combobox/package.json +0 -4
  56. package/component/command/README.md +0 -275
  57. package/component/command/package.json +0 -4
  58. package/component/composer/README.md +0 -235
  59. package/component/composer/package.json +0 -4
  60. package/component/context-menu/README.md +0 -267
  61. package/component/context-menu/package.json +0 -4
  62. package/component/date-picker/README.md +0 -177
  63. package/component/date-picker/package.json +0 -4
  64. package/component/dialog/README.md +0 -237
  65. package/component/dialog/package.json +0 -4
  66. package/component/drawer/README.md +0 -145
  67. package/component/drawer/package.json +0 -4
  68. package/component/dropdown-menu/README.md +0 -311
  69. package/component/dropdown-menu/package.json +0 -4
  70. package/component/editor/README.md +0 -136
  71. package/component/editor/package.json +0 -4
  72. package/component/empty/README.md +0 -183
  73. package/component/empty/package.json +0 -4
  74. package/component/form/README.md +0 -210
  75. package/component/form/package.json +0 -4
  76. package/component/hover-card/README.md +0 -146
  77. package/component/hover-card/package.json +0 -4
  78. package/component/input/README.md +0 -159
  79. package/component/input/package.json +0 -4
  80. package/component/input-group/README.md +0 -239
  81. package/component/input-group/package.json +0 -4
  82. package/component/input-otp/README.md +0 -278
  83. package/component/input-otp/package.json +0 -4
  84. package/component/item/README.md +0 -247
  85. package/component/item/package.json +0 -4
  86. package/component/kanban/README.md +0 -81
  87. package/component/kanban/package.json +0 -4
  88. package/component/kbd/README.md +0 -139
  89. package/component/kbd/package.json +0 -4
  90. package/component/label/README.md +0 -136
  91. package/component/label/package.json +0 -4
  92. package/component/menubar/README.md +0 -269
  93. package/component/menubar/package.json +0 -4
  94. package/component/native-select/README.md +0 -176
  95. package/component/native-select/package.json +0 -4
  96. package/component/navigation-menu/README.md +0 -160
  97. package/component/navigation-menu/package.json +0 -4
  98. package/component/pagination/README.md +0 -144
  99. package/component/pagination/package.json +0 -4
  100. package/component/pillbox/README.md +0 -67
  101. package/component/pillbox/package.json +0 -4
  102. package/component/popover/README.md +0 -43
  103. package/component/popover/package.json +0 -4
  104. package/component/progress/README.md +0 -160
  105. package/component/progress/package.json +0 -4
  106. package/component/radio/README.md +0 -209
  107. package/component/radio/package.json +0 -4
  108. package/component/resizable/README.md +0 -168
  109. package/component/resizable/package.json +0 -4
  110. package/component/scroll-area/README.md +0 -143
  111. package/component/scroll-area/package.json +0 -4
  112. package/component/select/README.md +0 -174
  113. package/component/select/package.json +0 -4
  114. package/component/separator/README.md +0 -170
  115. package/component/separator/package.json +0 -4
  116. package/component/sheet/README.md +0 -183
  117. package/component/sheet/package.json +0 -4
  118. package/component/skeleton/README.md +0 -158
  119. package/component/skeleton/package.json +0 -4
  120. package/component/slider/README.md +0 -207
  121. package/component/slider/package.json +0 -4
  122. package/component/spinner/README.md +0 -160
  123. package/component/spinner/package.json +0 -4
  124. package/component/switch/README.md +0 -166
  125. package/component/switch/package.json +0 -4
  126. package/component/table/README.md +0 -291
  127. package/component/table/package.json +0 -4
  128. package/component/tabs/README.md +0 -219
  129. package/component/tabs/package.json +0 -4
  130. package/component/textarea/README.md +0 -154
  131. package/component/textarea/package.json +0 -4
  132. package/component/timeline/README.md +0 -94
  133. package/component/timeline/package.json +0 -4
  134. package/component/toast/README.md +0 -321
  135. package/component/toast/package.json +0 -4
  136. package/component/toggle/README.md +0 -131
  137. package/component/toggle/package.json +0 -4
  138. package/component/toggle-group/README.md +0 -206
  139. package/component/toggle-group/package.json +0 -4
  140. package/component/tooltip/README.md +0 -211
  141. package/component/tooltip/package.json +0 -4
  142. package/component/utils/package.json +0 -4
  143. package/fesm2022/ojiepermana-angular-component-accordion.mjs +0 -189
  144. package/fesm2022/ojiepermana-angular-component-accordion.mjs.map +0 -1
  145. package/fesm2022/ojiepermana-angular-component-alert-dialog.mjs +0 -276
  146. package/fesm2022/ojiepermana-angular-component-alert-dialog.mjs.map +0 -1
  147. package/fesm2022/ojiepermana-angular-component-alert.mjs +0 -99
  148. package/fesm2022/ojiepermana-angular-component-alert.mjs.map +0 -1
  149. package/fesm2022/ojiepermana-angular-component-aspect-ratio.mjs +0 -37
  150. package/fesm2022/ojiepermana-angular-component-aspect-ratio.mjs.map +0 -1
  151. package/fesm2022/ojiepermana-angular-component-avatar.mjs +0 -139
  152. package/fesm2022/ojiepermana-angular-component-avatar.mjs.map +0 -1
  153. package/fesm2022/ojiepermana-angular-component-badge.mjs +0 -50
  154. package/fesm2022/ojiepermana-angular-component-badge.mjs.map +0 -1
  155. package/fesm2022/ojiepermana-angular-component-breadcrumb.mjs +0 -200
  156. package/fesm2022/ojiepermana-angular-component-breadcrumb.mjs.map +0 -1
  157. package/fesm2022/ojiepermana-angular-component-button-group.mjs +0 -103
  158. package/fesm2022/ojiepermana-angular-component-button-group.mjs.map +0 -1
  159. package/fesm2022/ojiepermana-angular-component-button.mjs +0 -68
  160. package/fesm2022/ojiepermana-angular-component-button.mjs.map +0 -1
  161. package/fesm2022/ojiepermana-angular-component-calendar.mjs +0 -88
  162. package/fesm2022/ojiepermana-angular-component-calendar.mjs.map +0 -1
  163. package/fesm2022/ojiepermana-angular-component-card.mjs +0 -152
  164. package/fesm2022/ojiepermana-angular-component-card.mjs.map +0 -1
  165. package/fesm2022/ojiepermana-angular-component-carousel.mjs +0 -334
  166. package/fesm2022/ojiepermana-angular-component-carousel.mjs.map +0 -1
  167. package/fesm2022/ojiepermana-angular-component-chart-area.mjs +0 -6
  168. package/fesm2022/ojiepermana-angular-component-chart-area.mjs.map +0 -1
  169. package/fesm2022/ojiepermana-angular-component-chart-bar.mjs +0 -6
  170. package/fesm2022/ojiepermana-angular-component-chart-bar.mjs.map +0 -1
  171. package/fesm2022/ojiepermana-angular-component-chart-line.mjs +0 -6
  172. package/fesm2022/ojiepermana-angular-component-chart-line.mjs.map +0 -1
  173. package/fesm2022/ojiepermana-angular-component-chart-pie.mjs +0 -6
  174. package/fesm2022/ojiepermana-angular-component-chart-pie.mjs.map +0 -1
  175. package/fesm2022/ojiepermana-angular-component-chart-radar.mjs +0 -6
  176. package/fesm2022/ojiepermana-angular-component-chart-radar.mjs.map +0 -1
  177. package/fesm2022/ojiepermana-angular-component-chart-radial.mjs +0 -6
  178. package/fesm2022/ojiepermana-angular-component-chart-radial.mjs.map +0 -1
  179. package/fesm2022/ojiepermana-angular-component-chart-scatter.mjs +0 -6
  180. package/fesm2022/ojiepermana-angular-component-chart-scatter.mjs.map +0 -1
  181. package/fesm2022/ojiepermana-angular-component-chart.mjs +0 -3925
  182. package/fesm2022/ojiepermana-angular-component-chart.mjs.map +0 -1
  183. package/fesm2022/ojiepermana-angular-component-checkbox.mjs +0 -114
  184. package/fesm2022/ojiepermana-angular-component-checkbox.mjs.map +0 -1
  185. package/fesm2022/ojiepermana-angular-component-collapsible.mjs +0 -124
  186. package/fesm2022/ojiepermana-angular-component-collapsible.mjs.map +0 -1
  187. package/fesm2022/ojiepermana-angular-component-combobox.mjs +0 -272
  188. package/fesm2022/ojiepermana-angular-component-combobox.mjs.map +0 -1
  189. package/fesm2022/ojiepermana-angular-component-command.mjs +0 -293
  190. package/fesm2022/ojiepermana-angular-component-command.mjs.map +0 -1
  191. package/fesm2022/ojiepermana-angular-component-composer.mjs +0 -352
  192. package/fesm2022/ojiepermana-angular-component-composer.mjs.map +0 -1
  193. package/fesm2022/ojiepermana-angular-component-context-menu.mjs +0 -103
  194. package/fesm2022/ojiepermana-angular-component-context-menu.mjs.map +0 -1
  195. package/fesm2022/ojiepermana-angular-component-date-picker.mjs +0 -170
  196. package/fesm2022/ojiepermana-angular-component-date-picker.mjs.map +0 -1
  197. package/fesm2022/ojiepermana-angular-component-dialog.mjs +0 -279
  198. package/fesm2022/ojiepermana-angular-component-dialog.mjs.map +0 -1
  199. package/fesm2022/ojiepermana-angular-component-drawer.mjs +0 -6
  200. package/fesm2022/ojiepermana-angular-component-drawer.mjs.map +0 -1
  201. package/fesm2022/ojiepermana-angular-component-dropdown-menu.mjs +0 -492
  202. package/fesm2022/ojiepermana-angular-component-dropdown-menu.mjs.map +0 -1
  203. package/fesm2022/ojiepermana-angular-component-editor.mjs +0 -717
  204. package/fesm2022/ojiepermana-angular-component-editor.mjs.map +0 -1
  205. package/fesm2022/ojiepermana-angular-component-empty.mjs +0 -145
  206. package/fesm2022/ojiepermana-angular-component-empty.mjs.map +0 -1
  207. package/fesm2022/ojiepermana-angular-component-form.mjs +0 -366
  208. package/fesm2022/ojiepermana-angular-component-form.mjs.map +0 -1
  209. package/fesm2022/ojiepermana-angular-component-hover-card.mjs +0 -297
  210. package/fesm2022/ojiepermana-angular-component-hover-card.mjs.map +0 -1
  211. package/fesm2022/ojiepermana-angular-component-input-group.mjs +0 -179
  212. package/fesm2022/ojiepermana-angular-component-input-group.mjs.map +0 -1
  213. package/fesm2022/ojiepermana-angular-component-input-otp.mjs +0 -514
  214. package/fesm2022/ojiepermana-angular-component-input-otp.mjs.map +0 -1
  215. package/fesm2022/ojiepermana-angular-component-input.mjs +0 -45
  216. package/fesm2022/ojiepermana-angular-component-input.mjs.map +0 -1
  217. package/fesm2022/ojiepermana-angular-component-item.mjs +0 -264
  218. package/fesm2022/ojiepermana-angular-component-item.mjs.map +0 -1
  219. package/fesm2022/ojiepermana-angular-component-kanban.mjs +0 -314
  220. package/fesm2022/ojiepermana-angular-component-kanban.mjs.map +0 -1
  221. package/fesm2022/ojiepermana-angular-component-kbd.mjs +0 -55
  222. package/fesm2022/ojiepermana-angular-component-kbd.mjs.map +0 -1
  223. package/fesm2022/ojiepermana-angular-component-label.mjs +0 -33
  224. package/fesm2022/ojiepermana-angular-component-label.mjs.map +0 -1
  225. package/fesm2022/ojiepermana-angular-component-menubar.mjs +0 -308
  226. package/fesm2022/ojiepermana-angular-component-menubar.mjs.map +0 -1
  227. package/fesm2022/ojiepermana-angular-component-native-select.mjs +0 -67
  228. package/fesm2022/ojiepermana-angular-component-native-select.mjs.map +0 -1
  229. package/fesm2022/ojiepermana-angular-component-navigation-menu.mjs +0 -413
  230. package/fesm2022/ojiepermana-angular-component-navigation-menu.mjs.map +0 -1
  231. package/fesm2022/ojiepermana-angular-component-pagination.mjs +0 -226
  232. package/fesm2022/ojiepermana-angular-component-pagination.mjs.map +0 -1
  233. package/fesm2022/ojiepermana-angular-component-pillbox.mjs +0 -812
  234. package/fesm2022/ojiepermana-angular-component-pillbox.mjs.map +0 -1
  235. package/fesm2022/ojiepermana-angular-component-popover.mjs +0 -169
  236. package/fesm2022/ojiepermana-angular-component-popover.mjs.map +0 -1
  237. package/fesm2022/ojiepermana-angular-component-progress.mjs +0 -60
  238. package/fesm2022/ojiepermana-angular-component-progress.mjs.map +0 -1
  239. package/fesm2022/ojiepermana-angular-component-radio.mjs +0 -122
  240. package/fesm2022/ojiepermana-angular-component-radio.mjs.map +0 -1
  241. package/fesm2022/ojiepermana-angular-component-resizable.mjs +0 -481
  242. package/fesm2022/ojiepermana-angular-component-resizable.mjs.map +0 -1
  243. package/fesm2022/ojiepermana-angular-component-scroll-area.mjs +0 -54
  244. package/fesm2022/ojiepermana-angular-component-scroll-area.mjs.map +0 -1
  245. package/fesm2022/ojiepermana-angular-component-select.mjs +0 -176
  246. package/fesm2022/ojiepermana-angular-component-select.mjs.map +0 -1
  247. package/fesm2022/ojiepermana-angular-component-separator.mjs +0 -37
  248. package/fesm2022/ojiepermana-angular-component-separator.mjs.map +0 -1
  249. package/fesm2022/ojiepermana-angular-component-sheet.mjs +0 -284
  250. package/fesm2022/ojiepermana-angular-component-sheet.mjs.map +0 -1
  251. package/fesm2022/ojiepermana-angular-component-skeleton.mjs +0 -31
  252. package/fesm2022/ojiepermana-angular-component-skeleton.mjs.map +0 -1
  253. package/fesm2022/ojiepermana-angular-component-slider.mjs +0 -423
  254. package/fesm2022/ojiepermana-angular-component-slider.mjs.map +0 -1
  255. package/fesm2022/ojiepermana-angular-component-spinner.mjs +0 -60
  256. package/fesm2022/ojiepermana-angular-component-spinner.mjs.map +0 -1
  257. package/fesm2022/ojiepermana-angular-component-switch.mjs +0 -116
  258. package/fesm2022/ojiepermana-angular-component-switch.mjs.map +0 -1
  259. package/fesm2022/ojiepermana-angular-component-table.mjs +0 -155
  260. package/fesm2022/ojiepermana-angular-component-table.mjs.map +0 -1
  261. package/fesm2022/ojiepermana-angular-component-tabs.mjs +0 -272
  262. package/fesm2022/ojiepermana-angular-component-tabs.mjs.map +0 -1
  263. package/fesm2022/ojiepermana-angular-component-textarea.mjs +0 -39
  264. package/fesm2022/ojiepermana-angular-component-textarea.mjs.map +0 -1
  265. package/fesm2022/ojiepermana-angular-component-timeline.mjs +0 -237
  266. package/fesm2022/ojiepermana-angular-component-timeline.mjs.map +0 -1
  267. package/fesm2022/ojiepermana-angular-component-toast.mjs +0 -71
  268. package/fesm2022/ojiepermana-angular-component-toast.mjs.map +0 -1
  269. package/fesm2022/ojiepermana-angular-component-toggle-group.mjs +0 -289
  270. package/fesm2022/ojiepermana-angular-component-toggle-group.mjs.map +0 -1
  271. package/fesm2022/ojiepermana-angular-component-toggle.mjs +0 -82
  272. package/fesm2022/ojiepermana-angular-component-toggle.mjs.map +0 -1
  273. package/fesm2022/ojiepermana-angular-component-tooltip.mjs +0 -354
  274. package/fesm2022/ojiepermana-angular-component-tooltip.mjs.map +0 -1
  275. package/fesm2022/ojiepermana-angular-component-utils.mjs +0 -13
  276. package/fesm2022/ojiepermana-angular-component-utils.mjs.map +0 -1
  277. package/fesm2022/ojiepermana-angular-generator-api.mjs +0 -68
  278. package/fesm2022/ojiepermana-angular-generator-api.mjs.map +0 -1
  279. package/fesm2022/ojiepermana-angular-layout-component.mjs +0 -602
  280. package/fesm2022/ojiepermana-angular-layout-component.mjs.map +0 -1
  281. package/fesm2022/ojiepermana-angular-layout-provider.mjs +0 -21
  282. package/fesm2022/ojiepermana-angular-layout-provider.mjs.map +0 -1
  283. package/fesm2022/ojiepermana-angular-layout-services.mjs +0 -116
  284. package/fesm2022/ojiepermana-angular-layout-services.mjs.map +0 -1
  285. package/fesm2022/ojiepermana-angular-layout-shell.mjs +0 -48
  286. package/fesm2022/ojiepermana-angular-layout-shell.mjs.map +0 -1
  287. package/fesm2022/ojiepermana-angular-layout-token-directive.mjs +0 -30
  288. package/fesm2022/ojiepermana-angular-layout-token-directive.mjs.map +0 -1
  289. package/fesm2022/ojiepermana-angular-layout-token.mjs +0 -33
  290. package/fesm2022/ojiepermana-angular-layout-token.mjs.map +0 -1
  291. package/fesm2022/ojiepermana-angular-layout-type-empty.mjs +0 -49
  292. package/fesm2022/ojiepermana-angular-layout-type-empty.mjs.map +0 -1
  293. package/fesm2022/ojiepermana-angular-layout-type-horizontal.mjs +0 -128
  294. package/fesm2022/ojiepermana-angular-layout-type-horizontal.mjs.map +0 -1
  295. package/fesm2022/ojiepermana-angular-layout-type-vertical.mjs +0 -123
  296. package/fesm2022/ojiepermana-angular-layout-type-vertical.mjs.map +0 -1
  297. package/fesm2022/ojiepermana-angular-layout.mjs +0 -485
  298. package/fesm2022/ojiepermana-angular-layout.mjs.map +0 -1
  299. package/fesm2022/ojiepermana-angular-navigation-demo-data.mjs +0 -334
  300. package/fesm2022/ojiepermana-angular-navigation-demo-data.mjs.map +0 -1
  301. package/fesm2022/ojiepermana-angular-navigation-icon.mjs +0 -63
  302. package/fesm2022/ojiepermana-angular-navigation-icon.mjs.map +0 -1
  303. package/fesm2022/ojiepermana-angular-navigation-item.mjs +0 -559
  304. package/fesm2022/ojiepermana-angular-navigation-item.mjs.map +0 -1
  305. package/fesm2022/ojiepermana-angular-navigation-service.mjs +0 -213
  306. package/fesm2022/ojiepermana-angular-navigation-service.mjs.map +0 -1
  307. package/fesm2022/ojiepermana-angular-navigation-sidebar.mjs +0 -401
  308. package/fesm2022/ojiepermana-angular-navigation-sidebar.mjs.map +0 -1
  309. package/fesm2022/ojiepermana-angular-navigation-topbar.mjs +0 -670
  310. package/fesm2022/ojiepermana-angular-navigation-topbar.mjs.map +0 -1
  311. package/fesm2022/ojiepermana-angular-navigation-types.mjs +0 -4
  312. package/fesm2022/ojiepermana-angular-navigation-types.mjs.map +0 -1
  313. package/fesm2022/ojiepermana-angular-theme-provider.mjs +0 -35
  314. package/fesm2022/ojiepermana-angular-theme-provider.mjs.map +0 -1
  315. package/fesm2022/ojiepermana-angular-theme-services.mjs +0 -294
  316. package/fesm2022/ojiepermana-angular-theme-services.mjs.map +0 -1
  317. package/fesm2022/ojiepermana-angular-theme-token.mjs +0 -56
  318. package/fesm2022/ojiepermana-angular-theme-token.mjs.map +0 -1
  319. package/fesm2022/ojiepermana-angular-theme.mjs.map +0 -1
  320. package/fesm2022/ojiepermana-angular.mjs.map +0 -1
  321. package/generator/api/README.md +0 -252
  322. package/generator/api/bin/package.json +0 -3
  323. package/generator/api/bin/schematics/init/index.js +0 -90
  324. package/generator/api/bin/schematics/ng-add/index.js +0 -131
  325. package/generator/api/bin/schematics/sdk/index.js +0 -76
  326. package/generator/api/bin/src/config/loader.js +0 -41
  327. package/generator/api/bin/src/config/schema.js +0 -57
  328. package/generator/api/bin/src/emit/client.js +0 -248
  329. package/generator/api/bin/src/emit/metadata.js +0 -295
  330. package/generator/api/bin/src/emit/models.js +0 -106
  331. package/generator/api/bin/src/emit/navigation.js +0 -56
  332. package/generator/api/bin/src/emit/operations.js +0 -122
  333. package/generator/api/bin/src/emit/public-api.js +0 -54
  334. package/generator/api/bin/src/emit/services.js +0 -87
  335. package/generator/api/bin/src/engine.js +0 -65
  336. package/generator/api/bin/src/layout/per-domain.js +0 -359
  337. package/generator/api/bin/src/parser/bundle.js +0 -25
  338. package/generator/api/bin/src/parser/ir.js +0 -320
  339. package/generator/api/bin/src/parser/types.js +0 -7
  340. package/generator/api/bin/src/render/template.js +0 -58
  341. package/generator/api/bin/src/writer/index.js +0 -278
  342. package/generator/api/package.json +0 -4
  343. package/generator/api/schematics/init/schema.json +0 -19
  344. package/generator/api/schematics/ng-add/schema.json +0 -14
  345. package/generator/api/schematics/sdk/schema.json +0 -19
  346. package/generator/api/sdk.config.example.json +0 -24
  347. package/generator/guide/README.md +0 -84
  348. package/generator/guide/bin/package.json +0 -3
  349. package/generator/guide/bin/schematics/build/index.js +0 -36
  350. package/generator/guide/bin/schematics/init/index.js +0 -70
  351. package/generator/guide/bin/src/config/loader.js +0 -50
  352. package/generator/guide/bin/src/config/schema.js +0 -12
  353. package/generator/guide/bin/src/engine/component.js +0 -74
  354. package/generator/guide/bin/src/engine/frontmatter.js +0 -42
  355. package/generator/guide/bin/src/engine/index.js +0 -42
  356. package/generator/guide/bin/src/engine/naming.js +0 -39
  357. package/generator/guide/bin/src/engine/render.js +0 -36
  358. package/generator/guide/bin/src/engine/routes.js +0 -106
  359. package/generator/guide/bin/src/engine/walk.js +0 -35
  360. package/generator/guide/guide.config.example.json +0 -9
  361. package/generator/guide/schematics/build/schema.json +0 -14
  362. package/generator/guide/schematics/init/schema.json +0 -19
  363. package/layout/component/package.json +0 -4
  364. package/layout/package.json +0 -4
  365. package/layout/provider/package.json +0 -4
  366. package/layout/services/package.json +0 -4
  367. package/layout/shell/package.json +0 -4
  368. package/layout/token/directive/package.json +0 -4
  369. package/layout/token/package.json +0 -4
  370. package/layout/type/empty/package.json +0 -4
  371. package/layout/type/horizontal/package.json +0 -4
  372. package/layout/type/vertical/package.json +0 -4
  373. package/navigation/demo-data/package.json +0 -4
  374. package/navigation/icon/package.json +0 -4
  375. package/navigation/item/package.json +0 -4
  376. package/navigation/service/package.json +0 -4
  377. package/navigation/sidebar/package.json +0 -4
  378. package/navigation/topbar/README.md +0 -196
  379. package/navigation/topbar/package.json +0 -4
  380. package/navigation/types/package.json +0 -4
  381. package/theme/README.md +0 -174
  382. package/theme/package.json +0 -4
  383. package/theme/provider/package.json +0 -4
  384. package/theme/services/package.json +0 -4
  385. package/theme/styles/foundation/components.css +0 -81
  386. package/theme/styles/foundation/layers.css +0 -15
  387. package/theme/styles/foundation/tokens.css +0 -55
  388. package/theme/styles/index.css +0 -37
  389. package/theme/styles/integrations/material/autocomplete.css +0 -178
  390. package/theme/styles/integrations/material/button.css +0 -468
  391. package/theme/styles/integrations/material/dialog.css +0 -152
  392. package/theme/styles/integrations/material/select.css +0 -175
  393. package/theme/styles/integrations/material/slide-toggle.css +0 -234
  394. package/theme/styles/integrations/material/slider.css +0 -194
  395. package/theme/styles/integrations/material/tabs.css +0 -229
  396. package/theme/styles/integrations/material.css +0 -264
  397. package/theme/styles/integrations/tailwind.css +0 -114
  398. package/theme/styles/variants/color/amber.css +0 -31
  399. package/theme/styles/variants/color/base.css +0 -36
  400. package/theme/styles/variants/color/blue.css +0 -31
  401. package/theme/styles/variants/color/cyan.css +0 -31
  402. package/theme/styles/variants/color/emerald.css +0 -31
  403. package/theme/styles/variants/color/fuchsia.css +0 -31
  404. package/theme/styles/variants/color/green.css +0 -31
  405. package/theme/styles/variants/color/index.css +0 -22
  406. package/theme/styles/variants/color/indigo.css +0 -31
  407. package/theme/styles/variants/color/lime.css +0 -31
  408. package/theme/styles/variants/color/orange.css +0 -31
  409. package/theme/styles/variants/color/pink.css +0 -31
  410. package/theme/styles/variants/color/purple.css +0 -31
  411. package/theme/styles/variants/color/red.css +0 -31
  412. package/theme/styles/variants/color/rose.css +0 -31
  413. package/theme/styles/variants/color/sky.css +0 -31
  414. package/theme/styles/variants/color/teal.css +0 -31
  415. package/theme/styles/variants/color/violet.css +0 -31
  416. package/theme/styles/variants/color/yellow.css +0 -31
  417. package/theme/styles/variants/mode/dark.css +0 -20
  418. package/theme/styles/variants/mode/index.css +0 -6
  419. package/theme/styles/variants/mode/light.css +0 -24
  420. package/theme/styles/variants/style/brutal.css +0 -50
  421. package/theme/styles/variants/style/default.css +0 -54
  422. package/theme/styles/variants/style/index.css +0 -8
  423. package/theme/styles/variants/style/sharp.css +0 -50
  424. package/theme/styles/variants/style/soft.css +0 -50
  425. package/theme/token/package.json +0 -4
  426. package/types/ojiepermana-angular-component-accordion.d.ts +0 -51
  427. package/types/ojiepermana-angular-component-alert-dialog.d.ts +0 -93
  428. package/types/ojiepermana-angular-component-alert.d.ts +0 -37
  429. package/types/ojiepermana-angular-component-aspect-ratio.d.ts +0 -12
  430. package/types/ojiepermana-angular-component-avatar.d.ts +0 -51
  431. package/types/ojiepermana-angular-component-badge.d.ts +0 -19
  432. package/types/ojiepermana-angular-component-breadcrumb.d.ts +0 -46
  433. package/types/ojiepermana-angular-component-button-group.d.ts +0 -26
  434. package/types/ojiepermana-angular-component-button.d.ts +0 -22
  435. package/types/ojiepermana-angular-component-calendar.d.ts +0 -33
  436. package/types/ojiepermana-angular-component-card.d.ts +0 -60
  437. package/types/ojiepermana-angular-component-carousel.d.ts +0 -86
  438. package/types/ojiepermana-angular-component-chart-area.d.ts +0 -1
  439. package/types/ojiepermana-angular-component-chart-bar.d.ts +0 -1
  440. package/types/ojiepermana-angular-component-chart-line.d.ts +0 -1
  441. package/types/ojiepermana-angular-component-chart-pie.d.ts +0 -1
  442. package/types/ojiepermana-angular-component-chart-radar.d.ts +0 -1
  443. package/types/ojiepermana-angular-component-chart-radial.d.ts +0 -1
  444. package/types/ojiepermana-angular-component-chart-scatter.d.ts +0 -1
  445. package/types/ojiepermana-angular-component-chart.d.ts +0 -1094
  446. package/types/ojiepermana-angular-component-checkbox.d.ts +0 -35
  447. package/types/ojiepermana-angular-component-collapsible.d.ts +0 -42
  448. package/types/ojiepermana-angular-component-combobox.d.ts +0 -50
  449. package/types/ojiepermana-angular-component-command.d.ts +0 -99
  450. package/types/ojiepermana-angular-component-composer.d.ts +0 -90
  451. package/types/ojiepermana-angular-component-context-menu.d.ts +0 -35
  452. package/types/ojiepermana-angular-component-date-picker.d.ts +0 -41
  453. package/types/ojiepermana-angular-component-dialog.d.ts +0 -87
  454. package/types/ojiepermana-angular-component-drawer.d.ts +0 -1
  455. package/types/ojiepermana-angular-component-dropdown-menu.d.ts +0 -137
  456. package/types/ojiepermana-angular-component-editor.d.ts +0 -123
  457. package/types/ojiepermana-angular-component-empty.d.ts +0 -50
  458. package/types/ojiepermana-angular-component-form.d.ts +0 -141
  459. package/types/ojiepermana-angular-component-hover-card.d.ts +0 -74
  460. package/types/ojiepermana-angular-component-input-group.d.ts +0 -51
  461. package/types/ojiepermana-angular-component-input-otp.d.ts +0 -136
  462. package/types/ojiepermana-angular-component-input.d.ts +0 -16
  463. package/types/ojiepermana-angular-component-item.d.ts +0 -88
  464. package/types/ojiepermana-angular-component-kanban.d.ts +0 -70
  465. package/types/ojiepermana-angular-component-kbd.d.ts +0 -16
  466. package/types/ojiepermana-angular-component-label.d.ts +0 -11
  467. package/types/ojiepermana-angular-component-menubar.d.ts +0 -67
  468. package/types/ojiepermana-angular-component-native-select.d.ts +0 -26
  469. package/types/ojiepermana-angular-component-navigation-menu.d.ts +0 -96
  470. package/types/ojiepermana-angular-component-pagination.d.ts +0 -33
  471. package/types/ojiepermana-angular-component-pillbox.d.ts +0 -157
  472. package/types/ojiepermana-angular-component-popover.d.ts +0 -43
  473. package/types/ojiepermana-angular-component-progress.d.ts +0 -17
  474. package/types/ojiepermana-angular-component-radio.d.ts +0 -40
  475. package/types/ojiepermana-angular-component-resizable.d.ts +0 -99
  476. package/types/ojiepermana-angular-component-scroll-area.d.ts +0 -19
  477. package/types/ojiepermana-angular-component-select.d.ts +0 -57
  478. package/types/ojiepermana-angular-component-separator.d.ts +0 -14
  479. package/types/ojiepermana-angular-component-sheet.d.ts +0 -76
  480. package/types/ojiepermana-angular-component-skeleton.d.ts +0 -10
  481. package/types/ojiepermana-angular-component-slider.d.ts +0 -74
  482. package/types/ojiepermana-angular-component-spinner.d.ts +0 -13
  483. package/types/ojiepermana-angular-component-switch.d.ts +0 -40
  484. package/types/ojiepermana-angular-component-table.d.ts +0 -52
  485. package/types/ojiepermana-angular-component-tabs.d.ts +0 -92
  486. package/types/ojiepermana-angular-component-textarea.d.ts +0 -12
  487. package/types/ojiepermana-angular-component-timeline.d.ts +0 -63
  488. package/types/ojiepermana-angular-component-toast.d.ts +0 -38
  489. package/types/ojiepermana-angular-component-toggle-group.d.ts +0 -89
  490. package/types/ojiepermana-angular-component-toggle.d.ts +0 -25
  491. package/types/ojiepermana-angular-component-tooltip.d.ts +0 -89
  492. package/types/ojiepermana-angular-component-utils.d.ts +0 -5
  493. package/types/ojiepermana-angular-generator-api.d.ts +0 -86
  494. package/types/ojiepermana-angular-layout-component.d.ts +0 -205
  495. package/types/ojiepermana-angular-layout-provider.d.ts +0 -6
  496. package/types/ojiepermana-angular-layout-services.d.ts +0 -25
  497. package/types/ojiepermana-angular-layout-shell.d.ts +0 -8
  498. package/types/ojiepermana-angular-layout-token-directive.d.ts +0 -13
  499. package/types/ojiepermana-angular-layout-token.d.ts +0 -36
  500. package/types/ojiepermana-angular-layout-type-empty.d.ts +0 -22
  501. package/types/ojiepermana-angular-layout-type-horizontal.d.ts +0 -36
  502. package/types/ojiepermana-angular-layout-type-vertical.d.ts +0 -38
  503. package/types/ojiepermana-angular-layout.d.ts +0 -164
  504. package/types/ojiepermana-angular-navigation-demo-data.d.ts +0 -5
  505. package/types/ojiepermana-angular-navigation-icon.d.ts +0 -17
  506. package/types/ojiepermana-angular-navigation-item.d.ts +0 -54
  507. package/types/ojiepermana-angular-navigation-service.d.ts +0 -77
  508. package/types/ojiepermana-angular-navigation-sidebar.d.ts +0 -75
  509. package/types/ojiepermana-angular-navigation-topbar.d.ts +0 -74
  510. package/types/ojiepermana-angular-navigation-types.d.ts +0 -135
  511. package/types/ojiepermana-angular-theme-provider.d.ts +0 -11
  512. package/types/ojiepermana-angular-theme-services.d.ts +0 -55
  513. package/types/ojiepermana-angular-theme-token.d.ts +0 -57
@@ -1,247 +0,0 @@
1
- # Item
2
-
3
- Displays a flexible content row with optional media, title, description, actions, header, and footer.
4
-
5
- Use Item when you need to present content such as profile summaries, settings rows, list links, media rows, or menu-like entries without introducing form-field semantics.
6
-
7
- ## Import
8
-
9
- ```ts
10
- import {
11
- ItemActionsComponent,
12
- ItemComponent,
13
- ItemContentComponent,
14
- ItemDescriptionComponent,
15
- ItemFooterComponent,
16
- ItemGroupComponent,
17
- ItemHeaderComponent,
18
- ItemMediaComponent,
19
- ItemSeparatorComponent,
20
- ItemTitleComponent,
21
- } from '@ojiepermana/angular/component/item';
22
- ```
23
-
24
- ## Usage
25
-
26
- Use `<ui-item>` for the default host element. When the row should behave like a native link or button, apply `[ui-item]` directly to the semantic host instead of relying on React-style `asChild` composition.
27
-
28
- ```html
29
- <ui-item variant="outline">
30
- <ui-item-media variant="icon">
31
- <svg aria-hidden="true" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
32
- <path d="M12 5v14" />
33
- <path d="M5 12h14" />
34
- </svg>
35
- </ui-item-media>
36
-
37
- <ui-item-content>
38
- <ui-item-title>Security alert</ui-item-title>
39
- <ui-item-description>New login detected from an unknown device.</ui-item-description>
40
- </ui-item-content>
41
-
42
- <ui-item-actions>
43
- <button ui-button variant="outline" size="sm" type="button">Review</button>
44
- </ui-item-actions>
45
- </ui-item>
46
- ```
47
-
48
- ## Composition
49
-
50
- The Angular structure follows the shadcn Item information architecture while translating React-specific patterns to Angular selectors and semantic hosts.
51
-
52
- ```text
53
- ItemGroup
54
- └── Item
55
- ├── ItemHeader
56
- ├── ItemMedia
57
- ├── ItemContent
58
- │ ├── ItemTitle
59
- │ └── ItemDescription
60
- ├── ItemActions
61
- └── ItemFooter
62
- ```
63
-
64
- ## Common patterns
65
-
66
- ### Variants
67
-
68
- Use `variant="outline"` for bordered rows, `variant="muted"` for low-emphasis containers, and the default variant when the item should blend into the surrounding surface.
69
-
70
- ```html
71
- <div class="flex max-w-md flex-col gap-4">
72
- <ui-item class="px-4 py-3">
73
- <ui-item-content>
74
- <ui-item-title>Default item</ui-item-title>
75
- <ui-item-description>Transparent background with no border.</ui-item-description>
76
- </ui-item-content>
77
- </ui-item>
78
-
79
- <ui-item variant="outline">
80
- <ui-item-content>
81
- <ui-item-title>Outline item</ui-item-title>
82
- <ui-item-description>Bordered treatment for cards and settings rows.</ui-item-description>
83
- </ui-item-content>
84
- </ui-item>
85
-
86
- <ui-item variant="muted">
87
- <ui-item-content>
88
- <ui-item-title>Muted item</ui-item-title>
89
- <ui-item-description>Soft background for secondary content.</ui-item-description>
90
- </ui-item-content>
91
- </ui-item>
92
- </div>
93
- ```
94
-
95
- ### Media modes
96
-
97
- `ui-item-media` supports three common shadcn-style treatments.
98
-
99
- - Default media for avatars or custom projected content.
100
- - `variant="icon"` for compact icon chips.
101
- - `variant="image"` for fixed-size artwork or thumbnails.
102
-
103
- ```html
104
- <ui-item variant="outline">
105
- <ui-item-media>
106
- <ui-avatar>
107
- <ui-avatar-image src="https://github.com/shadcn.png" alt="@shadcn" />
108
- <ui-avatar-fallback>CN</ui-avatar-fallback>
109
- </ui-avatar>
110
- </ui-item-media>
111
-
112
- <ui-item-content>
113
- <ui-item-title>shadcn</ui-item-title>
114
- <ui-item-description>Example avatar content</ui-item-description>
115
- </ui-item-content>
116
- </ui-item>
117
- ```
118
-
119
- ### Size
120
-
121
- Set `size` on the root item to scale title and description typography plus the icon and image media wrappers.
122
-
123
- ```html
124
- <ui-item variant="outline" size="default">...</ui-item>
125
- <ui-item variant="outline" size="sm">...</ui-item>
126
- <ui-item variant="outline" size="xs">...</ui-item>
127
- ```
128
-
129
- ### Group with separators
130
-
131
- Use `ui-item-group` with `ui-item-separator` when you need a vertically stacked list of related rows.
132
-
133
- ```html
134
- <ui-item-group class="max-w-sm gap-0 rounded-xl border border-border">
135
- <ui-item class="px-4 py-3">
136
- <ui-item-content>
137
- <ui-item-title>shadcn</ui-item-title>
138
- <ui-item-description>shadcn@vercel.com</ui-item-description>
139
- </ui-item-content>
140
- </ui-item>
141
- <ui-item-separator />
142
- <ui-item class="px-4 py-3">
143
- <ui-item-content>
144
- <ui-item-title>evilrabbit</ui-item-title>
145
- <ui-item-description>evilrabbit@vercel.com</ui-item-description>
146
- </ui-item-content>
147
- </ui-item>
148
- </ui-item-group>
149
- ```
150
-
151
- ### Link host
152
-
153
- shadcn React uses `asChild` for anchors. In Angular, put `[ui-item]` on the anchor directly.
154
-
155
- ```html
156
- <a ui-item href="/dashboard" variant="outline">
157
- <ui-item-content>
158
- <ui-item-title>Dashboard</ui-item-title>
159
- <ui-item-description>Overview of your account and activity.</ui-item-description>
160
- </ui-item-content>
161
- <ui-item-actions>
162
- <svg aria-hidden="true" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" class="size-4">
163
- <path d="m9 18 6-6-6-6" />
164
- </svg>
165
- </ui-item-actions>
166
- </a>
167
- ```
168
-
169
- ### Dropdown composition
170
-
171
- The shadcn Item dropdown example maps cleanly to the local menu primitives. Render `ui-item` inside a `ui-menu-item` when you want denser menu rows.
172
-
173
- ```html
174
- <button ui-button variant="outline" [uiMenuTrigger]="peopleMenu">Select person</button>
175
-
176
- <ng-template uiMenuContent #peopleMenu="uiMenuContent">
177
- <ui-menu-surface class="w-64">
178
- <ui-menu-label>People</ui-menu-label>
179
- <ui-menu-separator />
180
-
181
- <button ui-menu-item class="p-0">
182
- <ui-item size="xs" class="w-full p-2">
183
- <ui-item-content>
184
- <ui-item-title>shadcn</ui-item-title>
185
- <ui-item-description>shadcn@vercel.com</ui-item-description>
186
- </ui-item-content>
187
- </ui-item>
188
- </button>
189
- </ui-menu-surface>
190
- </ng-template>
191
- ```
192
-
193
- ## API reference
194
-
195
- ### `ItemComponent`
196
-
197
- | Input | Type | Default |
198
- | --------- | ----------------------------------- | ----------- |
199
- | `variant` | `'default' \| 'outline' \| 'muted'` | `'default'` |
200
- | `size` | `'default' \| 'sm' \| 'xs'` | `'default'` |
201
- | `class` | `string` | `''` |
202
-
203
- ### `ItemMediaComponent`
204
-
205
- | Input | Type | Default |
206
- | --------- | -------------------------------- | ----------- |
207
- | `variant` | `'default' \| 'icon' \| 'image'` | `'default'` |
208
- | `class` | `string` | `''` |
209
-
210
- ### Parts
211
-
212
- - `ui-item-group` arranges related items in a vertical stack.
213
- - `ui-item-separator` renders a full-width divider line between grouped rows.
214
- - `ui-item-header` and `ui-item-footer` span the full width of the item.
215
- - `ui-item-actions` stays aligned to the trailing edge with logical spacing, so RTL layouts remain correct.
216
-
217
- ## Styling and theming
218
-
219
- The outline variant uses `border-border` instead of inheriting border color from text, which keeps dividers and item shells consistent with the rest of the library theme.
220
-
221
- Pass `class` to the root or individual parts to tune spacing, borders, width, image treatment, or flex behavior. `ui-item-content` can be reused for secondary metadata by overriding it with classes such as `flex-none basis-auto items-end text-right`.
222
-
223
- Powered by `class-variance-authority`. Re-exports: `itemVariants`, `itemMediaVariants`, `ItemVariant`, `ItemSize`, `ItemMediaVariant`.
224
-
225
- ## Accessibility
226
-
227
- - Use a semantic anchor or button host when the row is interactive.
228
- - Keep decorative icons and artwork `aria-hidden` or use empty `alt` text when nearby text already names the content.
229
- - Do not place nested interactive controls inside an interactive anchor host. When the row contains independent actions, keep the host non-interactive and place buttons inside `ui-item-actions`.
230
-
231
- ## Keyboard interactions
232
-
233
- - Non-interactive items are not focusable.
234
- - Anchor and button hosts keep native Tab, Enter, and Space behavior.
235
- - Embedded controls inside `ui-item-actions` follow the natural DOM tab order.
236
- - When composed inside `ui-menu-item`, keyboard behavior comes from the menu primitives.
237
-
238
- ## Angular notes
239
-
240
- - There is no `asChild` input in Angular. Use semantic hosts such as `<a ui-item>` or `<button ui-item>` directly.
241
- - `size` and `variant` are Angular `input()` values on the root item.
242
- - `ui-item-media` reads the parent item size automatically so icon and image wrappers stay in sync.
243
- - Use `Field` or the local form primitives when the row contains an actual form control such as a checkbox, radio, input, or select.
244
-
245
- ## Source parity
246
-
247
- This Angular implementation follows the shadcn Item information architecture and examples while translating React `asChild` composition to semantic hosts and mapping the dropdown example to the existing Angular menu primitives.
@@ -1,4 +0,0 @@
1
- {
2
- "module": "../../fesm2022/ojiepermana-angular-component-item.mjs",
3
- "typings": "../../types/ojiepermana-angular-component-item.d.ts"
4
- }
@@ -1,81 +0,0 @@
1
- # Kanban
2
-
3
- Composable kanban board primitives inspired by Flux Kanban and implemented with local shadcn-style Angular patterns.
4
-
5
- ## Import
6
-
7
- ```ts
8
- import {
9
- KanbanCardComponent,
10
- KanbanCardFooterComponent,
11
- KanbanCardHeaderComponent,
12
- KanbanColumnActionsComponent,
13
- KanbanColumnCardsComponent,
14
- KanbanColumnComponent,
15
- KanbanColumnFooterComponent,
16
- KanbanColumnHeaderComponent,
17
- KanbanComponent,
18
- } from '@ojiepermana/angular/component/kanban';
19
- ```
20
-
21
- ## Usage
22
-
23
- ```html
24
- <ui-kanban>
25
- <ui-kanban-column>
26
- <ui-kanban-column-header heading="Planned" count="4" />
27
- <ui-kanban-column-cards>
28
- <ui-kanban-card heading="Update privacy policy in app" />
29
- <button ui-kanban-card type="button" heading="Search suggestions are broken"></button>
30
- </ui-kanban-column-cards>
31
- </ui-kanban-column>
32
- </ui-kanban>
33
- ```
34
-
35
- ## Composition
36
-
37
- - `ui-kanban` owns horizontal board layout and column width variables.
38
- - `ui-kanban-column` frames one workflow stage.
39
- - `ui-kanban-column-header` accepts `heading`, `subheading`, `count`, and `badge` inputs.
40
- - `ui-kanban-column-actions` projects action buttons into the column header.
41
- - `ui-kanban-column-cards` contains cards and handles vertical scrolling.
42
- - `ui-kanban-column-footer` is for add-card forms or secondary actions.
43
- - `ui-kanban-card` renders a static card; use `button[ui-kanban-card]` or `a[ui-kanban-card]` for clickable cards.
44
- - `ui-kanban-card-header` and `ui-kanban-card-footer` project tags, metadata, avatars, or actions into a card.
45
-
46
- ## Inputs
47
-
48
- ### KanbanComponent
49
-
50
- | Input | Type | Default | Description |
51
- | ------------- | --------------------------- | ----------- | ----------------------------------------- |
52
- | `columnWidth` | `'sm' \| 'default' \| 'lg'` | `'default'` | Sets the board column width CSS variable. |
53
- | `dense` | `boolean` | `false` | Reduces column and card gaps. |
54
- | `class` | `string` | `''` | Additional host classes. |
55
-
56
- ### KanbanColumnHeaderComponent
57
-
58
- | Input | Type | Default | Description |
59
- | ------------ | -------------------------- | ------- | --------------------------------------------- |
60
- | `heading` | `string` | `''` | Primary column title. |
61
- | `subheading` | `string` | `''` | Secondary column text. |
62
- | `count` | `string \| number \| null` | `null` | Optional card count shown beside the heading. |
63
- | `badge` | `string` | `''` | Optional badge text shown beside the heading. |
64
- | `class` | `string` | `''` | Additional host classes. |
65
-
66
- ### KanbanCardComponent
67
-
68
- | Input | Type | Default | Description |
69
- | ---------- | --------- | ------- | -------------------------------------------------- |
70
- | `heading` | `string` | `''` | Default card title when no custom body is needed. |
71
- | `selected` | `boolean` | `false` | Marks a card as selected/current. |
72
- | `disabled` | `boolean` | `false` | Disables interaction and applies disabled styling. |
73
- | `class` | `string` | `''` | Additional host classes. |
74
-
75
- ## Accessibility
76
-
77
- - Use `button[ui-kanban-card]` for cards that trigger an action.
78
- - Provide `type="button"` on button cards inside forms.
79
- - Keep card titles visible and descriptive.
80
- - Give icon-only column actions an `aria-label`.
81
- - Preserve DOM order to match the workflow order announced to assistive technology.
@@ -1,4 +0,0 @@
1
- {
2
- "module": "../../fesm2022/ojiepermana-angular-component-kanban.mjs",
3
- "typings": "../../types/ojiepermana-angular-component-kanban.d.ts"
4
- }
@@ -1,139 +0,0 @@
1
- # Kbd
2
-
3
- Keyboard key primitive for shortcuts, inline command hints, and compact keycap groups.
4
-
5
- Use Kbd when the UI needs to display the key or shortcut that triggers an action, not to capture keyboard input itself.
6
-
7
- ## Import
8
-
9
- ```ts
10
- import { KbdComponent, KbdGroupComponent } from '@ojiepermana/angular/component/kbd';
11
- ```
12
-
13
- ## Composition
14
-
15
- The Angular structure mirrors shadcn's `Kbd` and `KbdGroup` composition while keeping the host choice flexible.
16
-
17
- ```text
18
- kbd[ui-kbd] or ui-kbd
19
- ui-kbd-group or [ui-kbd-group]
20
- ├── kbd[ui-kbd] or ui-kbd
21
- └── kbd[ui-kbd] or ui-kbd
22
- ```
23
-
24
- ## Basic usage
25
-
26
- Prefer a native `<kbd>` host when you want built-in keyboard-input semantics in the DOM.
27
-
28
- ```html
29
- <p class="inline-flex items-center gap-2 text-sm text-muted-foreground">
30
- Press <kbd ui-kbd>Ctrl</kbd> <kbd ui-kbd>K</kbd> to open search.
31
- </p>
32
- ```
33
-
34
- ## Common patterns
35
-
36
- ### Key groups
37
-
38
- Use `ui-kbd-group` when several keycaps should read as one shortcut cluster or one family of related commands.
39
-
40
- ```html
41
- <ui-kbd-group>
42
- <kbd ui-kbd>Ctrl + B</kbd>
43
- <kbd ui-kbd>Ctrl + K</kbd>
44
- </ui-kbd-group>
45
- ```
46
-
47
- ### Button companion
48
-
49
- Use Kbd inside the button label when the shortcut is part of the visible affordance.
50
-
51
- ```html
52
- <button ui-button type="button" variant="outline">
53
- Accept
54
- <kbd ui-kbd class="translate-x-0.5">⏎</kbd>
55
- </button>
56
- ```
57
-
58
- ### Input group shortcut hint
59
-
60
- Pair Kbd with the existing input-group primitives for launcher shortcuts and command-palette patterns.
61
-
62
- ```html
63
- <ui-input-group class="max-w-sm">
64
- <input ui-input-group-input placeholder="Search..." />
65
- <ui-input-group-addon>
66
- <span aria-hidden="true">⌕</span>
67
- </ui-input-group-addon>
68
- <ui-input-group-addon align="inline-end">
69
- <ui-kbd-group>
70
- <kbd ui-kbd>⌘</kbd>
71
- <kbd ui-kbd>K</kbd>
72
- </ui-kbd-group>
73
- </ui-input-group-addon>
74
- </ui-input-group>
75
- ```
76
-
77
- ### Tooltip mapping
78
-
79
- The local tooltip primitive is a thin string-based wrapper around `matTooltip`, so rich tooltip content with embedded Kbd chips maps to plain tooltip text plus optional visible shortcut chips in adjacent markup.
80
-
81
- ```html
82
- <button ui-button type="button" variant="outline" [uiTooltip]="'Save changes (S)'">Save</button>
83
- <button ui-button type="button" variant="outline" [uiTooltip]="'Print document (Ctrl + P)'">Print</button>
84
- ```
85
-
86
- ### RTL
87
-
88
- Set `dir="rtl"` on an ancestor container when the shortcut rows live in a right-to-left layout.
89
-
90
- ```html
91
- <div dir="rtl" lang="ar" class="flex flex-col items-center gap-4">
92
- <ui-kbd-group>
93
- <kbd ui-kbd>⌘</kbd>
94
- <kbd ui-kbd>⇧</kbd>
95
- <kbd ui-kbd>⌥</kbd>
96
- <kbd ui-kbd>⌃</kbd>
97
- </ui-kbd-group>
98
-
99
- <ui-kbd-group>
100
- <kbd ui-kbd>Ctrl</kbd>
101
- <span aria-hidden="true">+</span>
102
- <kbd ui-kbd>B</kbd>
103
- </ui-kbd-group>
104
- </div>
105
- ```
106
-
107
- ## API reference
108
-
109
- | Primitive | Input | Type | Default | Notes |
110
- | ------------------- | ------- | -------- | ------- | --------------------------------------------- |
111
- | `KbdComponent` | `class` | `string` | `''` | Extra Tailwind classes merged onto the keycap |
112
- | `KbdGroupComponent` | `class` | `string` | `''` | Extra Tailwind classes merged onto the group |
113
-
114
- ## Styling and theming
115
-
116
- `ui-kbd` uses `border-border`, `bg-background`, `text-foreground`, and the shared `rounded-md` radius token so it stays aligned with buttons, inputs, and tooltip surfaces.
117
-
118
- The default typography is mono, compact, and non-selectable to match shadcn's keycap treatment without introducing a separate icon or badge variant system.
119
-
120
- ## Accessibility
121
-
122
- - Prefer `<kbd ui-kbd>` when you want native keyboard-input semantics in the markup.
123
- - Keep decorative separators such as `+` or `/` `aria-hidden` when the surrounding sentence already communicates the shortcut clearly.
124
- - Kbd is presentational. The actionable control still needs the accessible name, tooltip text, and focus behavior.
125
-
126
- ## Keyboard interactions
127
-
128
- Kbd and KbdGroup do not add keyboard behavior. Buttons, links, inputs, tooltip triggers, and menu items composed with them keep their native keyboard model.
129
-
130
- ## Angular notes
131
-
132
- - There is no React-style `data-icon="inline-end"` API. Use the normal `class` input for spacing or alignment adjustments.
133
- - Import neighboring primitives such as Button, Input Group, or Tooltip separately. The Kbd entrypoint stays intentionally focused.
134
-
135
- ## Source parity
136
-
137
- This Angular slice covers the shadcn Kbd preview, grouped keycaps, button companion usage, input-group shortcut hints, RTL examples, and API/accessibility guidance.
138
-
139
- The upstream tooltip example uses rich tooltip content with embedded keycaps. In this repo that maps to the existing string-based tooltip directive, so the shortcut lives in the tooltip message instead of projected tooltip markup.
@@ -1,4 +0,0 @@
1
- {
2
- "module": "../../fesm2022/ojiepermana-angular-component-kbd.mjs",
3
- "typings": "../../types/ojiepermana-angular-component-kbd.d.ts"
4
- }
@@ -1,136 +0,0 @@
1
- # Label
2
-
3
- Renders accessible labels for native form controls and provides the wrapper-label pattern for checkbox, radio, and switch rows where the entire copy block should toggle the control.
4
-
5
- Use `ui-label` when a lightweight visible label is enough. For richer form-field layouts with descriptions, grouped sections, and generated id wiring, use the `form` entrypoint and `label[ui-form-label]` instead.
6
-
7
- ## Import
8
-
9
- ```ts
10
- import { LabelComponent } from '@ojiepermana/angular/component/label';
11
- ```
12
-
13
- ## Composition
14
-
15
- The label primitive supports three common structures:
16
-
17
- ```text
18
- ui-label[for] + native control[id]
19
- label[ui-label] + native control[id]
20
- label[ui-label]
21
- ├── ui-checkbox | ui-radio | ui-switch
22
- └── descriptive copy
23
- ```
24
-
25
- For full form-field composition, map the shadcn `Field` guidance to `ui-form-field`, `label[ui-form-label]`, and `[uiFormControl]` from `@ojiepermana/angular/component/form`.
26
-
27
- ## Basic usage
28
-
29
- Use `for` when the target control exposes a stable native `id`, such as an input or textarea.
30
-
31
- ```html
32
- <div class="grid gap-2">
33
- <ui-label for="email">Email address</ui-label>
34
- <input ui-input id="email" type="email" placeholder="you@example.com" />
35
- </div>
36
- ```
37
-
38
- You can also decorate a native label host when that fits the surrounding markup more naturally.
39
-
40
- ```html
41
- <label ui-label for="email">Email address</label>
42
- <input ui-input id="email" type="email" placeholder="you@example.com" />
43
- ```
44
-
45
- ## Common patterns
46
-
47
- ### Checkbox, radio, and switch rows
48
-
49
- When the entire row should toggle the control, wrap the control and copy in `label[ui-label]`. This is the closest Angular equivalent to the upstream shadcn checkbox-plus-label preview.
50
-
51
- ```html
52
- <label ui-label class="inline-flex max-w-md items-start gap-3 rounded-xl border border-border p-4">
53
- <ui-checkbox class="mt-0.5" />
54
- <span class="grid gap-1 leading-none">
55
- <span>Email me product updates</span>
56
- <span class="text-sm font-normal leading-5 text-muted-foreground">
57
- Wrap checkbox, radio, and switch rows in label[ui-label] when the whole row should toggle the control.
58
- </span>
59
- </span>
60
- </label>
61
- ```
62
-
63
- ### Label in Field
64
-
65
- The shadcn docs route richer field composition to `Field`. In this library, use the `form` entrypoint instead.
66
-
67
- ```html
68
- <ui-form-field class="max-w-md">
69
- <label ui-form-label>Email address</label>
70
- <input ui-input uiFormControl type="email" placeholder="you@example.com" />
71
- <p ui-form-description>We will only use this address for account updates.</p>
72
- </ui-form-field>
73
- ```
74
-
75
- `label[ui-form-label]` automatically targets the generated control id from `[uiFormControl]`, so helper text and invalid state remain synchronized without manual `for` wiring.
76
-
77
- ### RTL
78
-
79
- The label primitive is direction-agnostic. Apply `dir="rtl"` on a wrapper and reverse the row layout when the label and control should read from right to left.
80
-
81
- ```html
82
- <div dir="rtl" lang="ar" class="max-w-md text-right">
83
- <label ui-label class="flex flex-row-reverse items-start gap-3">
84
- <ui-checkbox class="mt-0.5" />
85
- <span class="grid gap-1 leading-none">
86
- <span>قبول الشروط والأحكام</span>
87
- <span class="text-sm font-normal leading-5 text-muted-foreground">
88
- يظل نمط التسمية نفسه، فقط ضع الصف داخل حاوية تدعم الاتجاه من اليمين إلى اليسار.
89
- </span>
90
- </span>
91
- </label>
92
- </div>
93
- ```
94
-
95
- ## API reference
96
-
97
- ### `LabelComponent`
98
-
99
- | Input | Type | Default |
100
- | ------- | ---------------- | ------- |
101
- | `for` | `string \| null` | `null` |
102
- | `class` | `string` | `''` |
103
-
104
- Selectors: `ui-label`, `label[ui-label]`
105
-
106
- Related mapping: for shadcn `FieldLabel`, use `label[ui-form-label]` from `@ojiepermana/angular/component/form`.
107
-
108
- ## Styling and theming
109
-
110
- Base classes: `text-sm font-medium leading-none text-foreground`.
111
-
112
- - Pass `class` to tune spacing, layout, or typography for a specific label row.
113
- - `peer-disabled:cursor-not-allowed peer-disabled:opacity-70` dims the label when a peer-marked control is disabled.
114
- - Standard library theme tokens such as `text-foreground`, `text-muted-foreground`, `border-border`, and spacing utilities compose cleanly with the label host.
115
-
116
- ## Accessibility
117
-
118
- - Set `for` only when the target control exposes a real native id.
119
- - Wrap checkbox, radio, and switch rows in `label[ui-label]` instead of relying on `for` to reach an internal input element.
120
- - Inside `ui-form-field`, prefer `label[ui-form-label]` so helper text and invalid state stay synchronized with `[uiFormControl]`.
121
- - Keep label text specific so screen readers and voice-control software announce useful control names.
122
-
123
- ## Keyboard interactions
124
-
125
- - Labels themselves are not the main keyboard target; focus moves to the associated control in normal tab order.
126
- - Once the control has focus, keyboard behavior belongs to that control, such as `Space` toggling a checkbox.
127
-
128
- ## Angular notes
129
-
130
- - Use `ui-label` or `label[ui-label]` for lightweight labeling only.
131
- - Use the `form` entrypoint when the surface also needs descriptions, errors, grouped sections, or generated `for` wiring.
132
- - The checkbox, radio, and switch families work best with wrapper labels because those controls own their internal focusable element.
133
-
134
- ## Source parity
135
-
136
- This Angular slice keeps the shadcn Label guidance around installation, usage, field composition, RTL behavior, and API shape while mapping the upstream `Field` recommendation to the local `form` entrypoint and expressing checkbox-like examples with a wrapper-label pattern that fits the existing Angular primitives.
@@ -1,4 +0,0 @@
1
- {
2
- "module": "../../fesm2022/ojiepermana-angular-component-label.mjs",
3
- "typings": "../../types/ojiepermana-angular-component-label.d.ts"
4
- }