@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,183 +0,0 @@
1
- # Sheet
2
-
3
- Edge-anchored overlay surface that extends Dialog into a side panel. The Sheet slides in from the top, right, bottom, or left edge of the viewport and is backed by CDK Overlay plus FocusTrap.
4
-
5
- ## Import
6
-
7
- ```ts
8
- import {
9
- SheetCloseDirective,
10
- SheetComponent,
11
- SheetContentComponent,
12
- SheetDescriptionComponent,
13
- SheetFooterComponent,
14
- SheetHeaderComponent,
15
- SheetTitleComponent,
16
- } from '@your-scope/angular/component/sheet';
17
- ```
18
-
19
- ## Composition
20
-
21
- ```text
22
- button[ui-button] (external trigger; sets the open signal)
23
- ui-sheet
24
- ├── built-in close button (optional)
25
- ├── ui-sheet-header
26
- │ ├── ui-sheet-title
27
- │ └── ui-sheet-description
28
- ├── ui-sheet-content (optional body / scroll region)
29
- └── ui-sheet-footer
30
- └── button[ui-sheet-close] (optional custom close action)
31
- ```
32
-
33
- The Angular surface intentionally keeps the trigger outside the overlay component. Instead of a JSX-style `SheetTrigger`, you open the sheet by setting the bound `open` signal from a regular button or link.
34
-
35
- ## Basic Usage
36
-
37
- ```ts
38
- import { signal } from '@angular/core';
39
- ```
40
-
41
- ```html
42
- <button type="button" ui-button variant="outline" (click)="open.set(true)">Edit profile</button>
43
-
44
- <ui-sheet [(open)]="open" aria-labelledby="sheet-title" aria-describedby="sheet-description" class="sm:max-w-md">
45
- <ui-sheet-header>
46
- <ui-sheet-title id="sheet-title">Edit profile</ui-sheet-title>
47
- <ui-sheet-description id="sheet-description">
48
- Make changes to your profile here. Click save when you are done.
49
- </ui-sheet-description>
50
- </ui-sheet-header>
51
-
52
- <ui-sheet-content class="grid gap-4 py-4">
53
- <div class="grid gap-2">
54
- <label ui-label for="sheet-name">Name</label>
55
- <input ui-input id="sheet-name" value="Pedro Duarte" />
56
- </div>
57
- <div class="grid gap-2">
58
- <label ui-label for="sheet-username">Username</label>
59
- <input ui-input id="sheet-username" value="@peduarte" />
60
- </div>
61
- </ui-sheet-content>
62
-
63
- <ui-sheet-footer>
64
- <button type="button" ui-button variant="outline" ui-sheet-close>Cancel</button>
65
- <button type="button" ui-button (click)="open.set(false)">Save changes</button>
66
- </ui-sheet-footer>
67
- </ui-sheet>
68
- ```
69
-
70
- ## Common Patterns
71
-
72
- ### Side selection
73
-
74
- Use `side` to choose where the surface enters from. Right is the default for `ui-sheet`, while the `ui-drawer` alias defaults to bottom.
75
-
76
- ```html
77
- <button type="button" ui-button variant="outline" (click)="rightOpen.set(true)">Right</button>
78
- <button type="button" ui-button variant="outline" (click)="leftOpen.set(true)">Left</button>
79
-
80
- <ui-sheet [(open)]="rightOpen" side="right" class="sm:max-w-md">...</ui-sheet>
81
- <ui-sheet [(open)]="leftOpen" side="left" class="sm:max-w-md">...</ui-sheet>
82
- ```
83
-
84
- For `top` and `bottom`, add a height constraint such as `class="max-h-[55vh]"` when the body content can grow on shorter screens.
85
-
86
- ### No close button
87
-
88
- Hide the default corner close affordance with `[showCloseButton]="false"` and own dismissal explicitly through the footer or body.
89
-
90
- ```html
91
- <ui-sheet [(open)]="noCloseOpen" [showCloseButton]="false" class="sm:max-w-sm">
92
- <ui-sheet-header>
93
- <ui-sheet-title>No Close Button</ui-sheet-title>
94
- <ui-sheet-description> Hide the top-right control when dismissal should stay in the footer. </ui-sheet-description>
95
- </ui-sheet-header>
96
-
97
- <ui-sheet-footer class="sm:justify-start">
98
- <button type="button" ui-button variant="outline" ui-sheet-close>Close</button>
99
- </ui-sheet-footer>
100
- </ui-sheet>
101
- ```
102
-
103
- ### RTL
104
-
105
- Because the overlay surface renders through CDK Overlay, set `dir="rtl"` on projected content inside the sheet when the direction should be scoped to the open panel.
106
-
107
- ```html
108
- <ui-sheet [(open)]="rtlOpen" [showCloseButton]="false" side="left" class="sm:max-w-md">
109
- <div dir="rtl" lang="ar" class="flex flex-1 flex-col gap-4 text-right">
110
- <ui-sheet-header>
111
- <ui-sheet-title>تعديل الملف الشخصي</ui-sheet-title>
112
- <ui-sheet-description>قم بإجراء تغييرات على ملفك الشخصي هنا ثم احفظها.</ui-sheet-description>
113
- </ui-sheet-header>
114
-
115
- <ui-sheet-content class="grid gap-4 py-4">
116
- <div class="grid gap-2">
117
- <label ui-label for="sheet-rtl-name">الاسم</label>
118
- <input ui-input id="sheet-rtl-name" value="بيدرو دوارتي" />
119
- </div>
120
- </ui-sheet-content>
121
-
122
- <ui-sheet-footer class="sm:justify-start">
123
- <button type="button" ui-button variant="outline" ui-sheet-close>إغلاق</button>
124
- <button type="button" ui-button (click)="rtlOpen.set(false)">حفظ التغييرات</button>
125
- </ui-sheet-footer>
126
- </div>
127
- </ui-sheet>
128
- ```
129
-
130
- ## API Reference
131
-
132
- | Input | Type | Default |
133
- | ---------------------- | --------------- | ---------- | ----------- | ------- | ---------------------------------------------------- |
134
- | `open` | `boolean` model | `false` |
135
- | `side` | `'top' \\ | 'right' \\ | 'bottom' \\ | 'left'` | `'right'` for `ui-sheet`, `'bottom'` for `ui-drawer` |
136
- | `closeOnEscape` | `boolean` | `true` |
137
- | `closeOnBackdropClick` | `boolean` | `true` |
138
- | `showCloseButton` | `boolean` | `true` |
139
- | `closeButtonLabel` | `string` | `'Close'` |
140
- | `aria-labelledby` | `string \\ | null` | `null` |
141
- | `aria-describedby` | `string \\ | null` | `null` |
142
- | `class` | `string` | `''` |
143
-
144
- | Part | Purpose |
145
- | ------------------------ | -------------------------------------------------------------- |
146
- | `ui-sheet-header` | Title and supporting description wrapper |
147
- | `ui-sheet-title` | Visible, accessible sheet title |
148
- | `ui-sheet-description` | Supporting copy that can be referenced from `aria-describedby` |
149
- | `ui-sheet-content` | Optional body wrapper for forms, spacing, and scroll regions |
150
- | `ui-sheet-footer` | Action row for primary and secondary controls |
151
- | `button[ui-sheet-close]` | Angular-friendly equivalent of shadcn `SheetClose` |
152
-
153
- ## Styling And Theming
154
-
155
- - The surface uses theme border tokens such as `border-border` on its edge divider so it stays aligned with the current theme.
156
- - Left and right sheets default to `w-3/4 sm:max-w-sm`; add width utilities through the `class` input when a broader side panel is needed.
157
- - Top and bottom sheets stretch across the viewport edge. Use `max-h-*` or spacing utilities on the root `class` input when the body can grow.
158
- - `ui-sheet-content` is the best place for internal scroll handling. Keep footer actions outside that overflow region when they must stay visible.
159
- - Entry animation comes from `--ui-sheet-from` and automatically collapses to zero duration under `prefers-reduced-motion`.
160
-
161
- ## Accessibility
162
-
163
- - The surface renders with `role="dialog"` and `aria-modal="true"`.
164
- - Focus is trapped with `FocusTrap` and restored to the previously focused element on close.
165
- - `Escape` and backdrop click close the sheet by default and can be disabled independently.
166
- - Use stable IDs for the visible title and description when the sheet contains forms or longer instructional copy.
167
-
168
- ## Keyboard Interactions
169
-
170
- - `Tab` and `Shift+Tab` move focus within the trapped overlay.
171
- - `Escape` closes the sheet unless `closeOnEscape` is disabled.
172
- - `Enter` and `Space` activate the trigger, footer actions, and custom `ui-sheet-close` controls through native button behavior.
173
-
174
- ## Angular Notes
175
-
176
- - `ui-sheet` combines the upstream `Sheet` root and `SheetContent` overlay surface into a single Angular component.
177
- - `ui-sheet-content` remains available as an internal body wrapper for layout, padding, and scroll regions.
178
- - `ui-drawer` is exported as a bottom-first alias over the same primitive when the interaction reads more naturally as a drawer.
179
- - `button[ui-sheet-close]` and `a[ui-sheet-close]` are the Angular-friendly equivalents of shadcn `SheetClose` for internal dismissal actions.
180
-
181
- ## Source Parity
182
-
183
- The local Sheet follows the shadcn component information architecture and behavior, but translates trigger ownership to an external signal instead of a `SheetTrigger` child component. Lower-level dialog semantics and API expectations still map closely to the Radix Dialog reference at https://www.radix-ui.com/primitives/docs/components/dialog#api-reference.
@@ -1,4 +0,0 @@
1
- {
2
- "module": "../../fesm2022/ojiepermana-angular-component-sheet.mjs",
3
- "typings": "../../types/ojiepermana-angular-component-sheet.d.ts"
4
- }
@@ -1,158 +0,0 @@
1
- # Skeleton
2
-
3
- Use Skeleton to show low-contrast placeholders while content is loading.
4
-
5
- The component mirrors shadcn/ui's Skeleton primitive: it supplies the pulsing muted surface, while dimensions, shape, and layout are provided by utility classes at the call site.
6
-
7
- ## Import
8
-
9
- ```ts
10
- import { SkeletonComponent } from '@ojiepermana/angular/component/skeleton';
11
- ```
12
-
13
- ## Usage
14
-
15
- Give each skeleton an explicit width, height, and optional radius. Without dimensions, the element exists in the DOM but will not create a visible placeholder.
16
-
17
- ```html
18
- <ui-skeleton class="h-5 w-25 rounded-full" />
19
- ```
20
-
21
- ```html
22
- <div class="flex items-center gap-4">
23
- <ui-skeleton class="h-12 w-12 rounded-full" />
24
- <div class="space-y-2">
25
- <ui-skeleton class="h-4 w-62.5" />
26
- <ui-skeleton class="h-4 w-50" />
27
- </div>
28
- </div>
29
- ```
30
-
31
- ## Common patterns
32
-
33
- ### Avatar
34
-
35
- Use a round placeholder and two lines when loading profile identity, assignee, or author metadata.
36
-
37
- ```html
38
- <div class="flex w-fit items-center gap-4">
39
- <ui-skeleton class="size-10 shrink-0 rounded-full" />
40
- <div class="grid gap-2">
41
- <ui-skeleton class="h-4 w-37.5" />
42
- <ui-skeleton class="h-4 w-25" />
43
- </div>
44
- </div>
45
- ```
46
-
47
- ### Card
48
-
49
- Skeleton composes inside `ui-card` parts. Match the final loaded geometry to avoid layout shift.
50
-
51
- ```html
52
- <ui-card class="w-full max-w-xs">
53
- <ui-card-header>
54
- <div class="col-span-2 grid gap-2">
55
- <ui-skeleton class="h-4 w-2/3" />
56
- <ui-skeleton class="h-4 w-1/2" />
57
- </div>
58
- </ui-card-header>
59
- <ui-card-content>
60
- <ui-skeleton class="aspect-video w-full" />
61
- </ui-card-content>
62
- </ui-card>
63
- ```
64
-
65
- ### Text
66
-
67
- Use repeated bars and shorten the final line for paragraph rhythm.
68
-
69
- ```html
70
- <div class="flex w-full max-w-xs flex-col gap-2">
71
- <ui-skeleton class="h-4 w-full" />
72
- <ui-skeleton class="h-4 w-full" />
73
- <ui-skeleton class="h-4 w-3/4" />
74
- </div>
75
- ```
76
-
77
- ### Form
78
-
79
- Pair short label placeholders with wider control placeholders when loading form metadata.
80
-
81
- ```html
82
- <div class="flex w-full max-w-xs flex-col gap-7">
83
- <div class="flex flex-col gap-3">
84
- <ui-skeleton class="h-4 w-20" />
85
- <ui-skeleton class="h-8 w-full" />
86
- </div>
87
- <div class="flex flex-col gap-3">
88
- <ui-skeleton class="h-4 w-24" />
89
- <ui-skeleton class="h-8 w-full" />
90
- </div>
91
- <ui-skeleton class="h-8 w-24" />
92
- </div>
93
- ```
94
-
95
- ### Table
96
-
97
- Repeat rows with matching column proportions so tabular data keeps a stable footprint while loading.
98
-
99
- ```html
100
- <div class="flex w-full max-w-sm flex-col gap-2">
101
- @for (row of tableRows; track row) {
102
- <div class="flex gap-4">
103
- <ui-skeleton class="h-4 flex-1" />
104
- <ui-skeleton class="h-4 w-24" />
105
- <ui-skeleton class="h-4 w-20" />
106
- </div>
107
- }
108
- </div>
109
- ```
110
-
111
- ### RTL
112
-
113
- Skeleton is direction-agnostic. Put `dir="rtl"` on the wrapper when the placeholder should reserve right-to-left layout space.
114
-
115
- ```html
116
- <div dir="rtl" lang="ar" class="flex items-center gap-4">
117
- <ui-skeleton class="h-12 w-12 rounded-full" />
118
- <div class="space-y-2">
119
- <ui-skeleton class="h-4 w-62.5" />
120
- <ui-skeleton class="h-4 w-50" />
121
- </div>
122
- </div>
123
- ```
124
-
125
- ## API reference
126
-
127
- ### `SkeletonComponent`
128
-
129
- | Input | Type | Default | Description |
130
- | ------- | -------- | ------- | ----------------------------------------------------- |
131
- | `class` | `string` | `''` | Supplies visible dimensions, shape, and extra layout. |
132
-
133
- ## Styling and theming
134
-
135
- Base classes: `block animate-pulse rounded-md bg-muted`.
136
-
137
- The component consumes the shared muted theme token through `bg-muted`. Pass utility classes for width, height, radius, flex behavior, margins, and responsive variants. Because the host is block-level, width and height utilities behave like they do on the shadcn React `<div>` implementation.
138
-
139
- ## Accessibility
140
-
141
- `ui-skeleton` emits `aria-hidden="true"` because it is decorative loading chrome. Pair it with status text, a live region, or a busy state on the loaded region when the loading state needs to be announced.
142
-
143
- Avoid replacing labels or meaningful headings with only skeletons for long periods. Keep the eventual content area stable and announce changes when data arrives.
144
-
145
- ## Keyboard interactions
146
-
147
- Skeleton has no keyboard interaction. It should not receive focus and should not contain interactive content.
148
-
149
- ## Angular notes
150
-
151
- - Import `SkeletonComponent` directly into the standalone component that renders the loading state.
152
- - The `class` input is intentionally the main API so Angular examples stay close to shadcn utility-class composition.
153
- - Use Angular control flow for repeated rows: `@for (row of tableRows; track row) { ... }`.
154
- - Keep placeholder dimensions close to the loaded content to reduce layout shift.
155
-
156
- ## Source parity
157
-
158
- This Angular implementation follows the shadcn Skeleton docs and examples for preview, usage, Avatar, Card, Text, Form, Table, and RTL. React `className` becomes Angular `class`, and the primitive renders as a block-level custom element so sizing utilities match the upstream `<div>` behavior.
@@ -1,4 +0,0 @@
1
- {
2
- "module": "../../fesm2022/ojiepermana-angular-component-skeleton.mjs",
3
- "typings": "../../types/ojiepermana-angular-component-skeleton.d.ts"
4
- }
@@ -1,207 +0,0 @@
1
- # Slider
2
-
3
- Selects one or more numeric values from a bounded range.
4
-
5
- This entrypoint now exports two related Angular surfaces:
6
-
7
- - `ui-slider` via `SliderRootComponent` for shadcn-style single-thumb, range,
8
- multiple-thumb, vertical, disabled, and RTL examples.
9
- - `input[ui-slider]` via `SliderInputDirective` for browser-native range inputs
10
- when labels and forms should stay on the native path.
11
-
12
- ## Import
13
-
14
- ```ts
15
- import { SliderInputDirective, SliderRootComponent } from '@ojiepermana/angular/component/slider';
16
- ```
17
-
18
- ## Structure
19
-
20
- Use `ui-slider` when you want the richer shadcn-style component.
21
-
22
- ```html
23
- <ui-slider [value]="[75]" />
24
- ```
25
-
26
- Keep `input[ui-slider]` when a plain native range input is still the best fit.
27
-
28
- ```html
29
- <input type="range" ui-slider />
30
- ```
31
-
32
- ## Basic usage
33
-
34
- ```ts
35
- const volume = signal<readonly number[]>([75]);
36
-
37
- <ui-slider
38
- aria-label="Volume"
39
- [min]="0"
40
- [max]="100"
41
- [step]="1"
42
- [value]="volume()"
43
- (valueChange)="volume.set($event)"
44
- class="w-full max-w-sm" />
45
- ```
46
-
47
- ## Common patterns
48
-
49
- ### Range
50
-
51
- Two values render a range slider.
52
-
53
- ```ts
54
- const priceRange = signal<readonly number[]>([25, 50]);
55
-
56
- <ui-slider
57
- aria-label="Price range"
58
- min="0"
59
- max="100"
60
- step="5"
61
- [value]="priceRange()"
62
- (valueChange)="priceRange.set($event)"
63
- [thumbLabels]="['Minimum price', 'Maximum price']" />
64
- ```
65
-
66
- ### Multiple thumbs
67
-
68
- Three or more values render several thumbs in sorted order.
69
-
70
- ```ts
71
- const equalizer = signal<readonly number[]>([10, 20, 70]);
72
-
73
- <ui-slider
74
- aria-label="Equalizer"
75
- min="0"
76
- max="100"
77
- step="10"
78
- [value]="equalizer()"
79
- (valueChange)="equalizer.set($event)"
80
- [thumbLabels]="['Bass', 'Mid', 'Treble']" />
81
- ```
82
-
83
- ### Vertical
84
-
85
- Set `orientation="vertical"` and provide an explicit height through `class`.
86
-
87
- ```html
88
- <div class="flex items-center gap-6">
89
- <ui-slider aria-label="Primary level" orientation="vertical" [value]="[50]" class="h-40" />
90
- <ui-slider aria-label="Secondary level" orientation="vertical" [value]="[25]" class="h-40" />
91
- </div>
92
- ```
93
-
94
- ### Controlled slider
95
-
96
- Drive the values from a signal when nearby UI should react immediately.
97
-
98
- ```ts
99
- const temperatureRange = signal<readonly number[]>([30, 70]);
100
-
101
- <ui-slider
102
- aria-label="Temperature range"
103
- min="0"
104
- max="100"
105
- step="5"
106
- [value]="temperatureRange()"
107
- (valueChange)="temperatureRange.set($event)"
108
- [thumbLabels]="['Minimum temperature', 'Maximum temperature']" />
109
- ```
110
-
111
- ### Disabled state
112
-
113
- ```html
114
- <ui-slider aria-label="Disabled notifications volume" [value]="[50]" disabled />
115
- ```
116
-
117
- ### RTL
118
-
119
- The component follows the surrounding document direction automatically.
120
-
121
- ```html
122
- <section dir="rtl" lang="ar" class="w-full max-w-sm text-right">
123
- <ui-slider aria-label="مستوى الصوت" [value]="[75]" class="w-full" />
124
- </section>
125
- ```
126
-
127
- ### Native input companion
128
-
129
- Use the exported native directive when the browser-native range input is still
130
- the best Angular fit for forms and `label[for]` wiring.
131
-
132
- ```html
133
- <ui-label for="native-volume" class="mb-2 block">Volume</ui-label>
134
- <input id="native-volume" type="range" ui-slider min="0" max="100" step="1" class="w-full max-w-sm" />
135
- ```
136
-
137
- ## API reference
138
-
139
- | Input or output | Type | Notes |
140
- | ----------------------------------------------------- | ---------------------------- | ----------------------------------------------------------------------------------------- |
141
- | `value` | `readonly number[]` | Array of sorted thumb values. One item renders a single thumb. |
142
- | `valueChange` | `readonly number[]` | Emits the next array whenever a thumb moves. |
143
- | `min` | `number` | Lower bound for every thumb. |
144
- | `max` | `number` | Upper bound for every thumb. |
145
- | `step` | `number` | Drag and keyboard increment. |
146
- | `orientation` | `'horizontal' \| 'vertical'` | Vertical sliders need an explicit height via `class`. |
147
- | `disabled` | `boolean` | Disables drag and keyboard interaction. |
148
- | `thumbLabels` | `readonly string[]` | Optional accessible labels for each thumb. |
149
- | `aria-label` / `aria-labelledby` / `aria-describedby` | `string \| null` | Applied to thumb semantics. Prefer `thumbLabels` when several thumbs need distinct names. |
150
- | `class` | `string` | Width and height utilities on the host component. |
151
-
152
- `SliderInputDirective` keeps the native `<input type="range">` API and passes
153
- through ordinary input attributes directly.
154
-
155
- ## Styling and theming
156
-
157
- The rich `ui-slider` component uses:
158
-
159
- - `--secondary` for the track.
160
- - `--primary` for the active range.
161
- - `--background` for the thumb surface.
162
- - `--primary` for the thumb border.
163
- - `--ring` for the focus-visible outline.
164
-
165
- Apply width and height utilities through the host `class`, for example
166
- `w-full`, `max-w-sm`, or `h-40` for vertical sliders.
167
-
168
- The native input companion keeps its styling in [slider.component.css](./slider.component.css).
169
-
170
- ## Accessibility
171
-
172
- - Each thumb exposes `role="slider"` with `aria-valuemin`, `aria-valuemax`,
173
- `aria-valuenow`, and `aria-orientation`.
174
- - Provide `thumbLabels` when the slider has several thumbs so each one has a
175
- distinct accessible name.
176
- - Use `aria-describedby` for helper text, units, or validation guidance.
177
- - The focused thumb stays tabbable while sibling thumbs use roving `tabindex`.
178
- - When you need browser-native label semantics, use `SliderInputDirective`
179
- instead of forcing the rich component into a native-input role.
180
-
181
- ## Keyboard interactions
182
-
183
- For `ui-slider`:
184
-
185
- - Arrow keys adjust the value by `step`.
186
- - `Page Up` and `Page Down` move by a larger increment.
187
- - `Home` and `End` jump the active thumb to its local minimum or maximum bound.
188
- - Pointer dragging and track clicks move the nearest thumb.
189
-
190
- For `SliderInputDirective`, keyboard behavior follows the browser-native range
191
- input model.
192
-
193
- ## Angular notes
194
-
195
- - Prefer `ui-slider` when you need shadcn-style parity: range selection,
196
- multiple thumbs, vertical layout, or explicit thumb labels.
197
- - Prefer `SliderInputDirective` when the control should remain a real native
198
- input inside Angular forms or a traditional field layout.
199
- - The two exports are complementary rather than replacements for one another.
200
-
201
- ## Source parity
202
-
203
- This Angular entrypoint now covers the main shadcn Radix slider examples:
204
- single-thumb preview, range, multiple thumbs, vertical, controlled, disabled,
205
- and RTL. The native `input[ui-slider]` directive remains intentionally exported
206
- as an Angular companion for browser-native range inputs instead of disappearing
207
- behind the richer component.
@@ -1,4 +0,0 @@
1
- {
2
- "module": "../../fesm2022/ojiepermana-angular-component-slider.mjs",
3
- "typings": "../../types/ojiepermana-angular-component-slider.d.ts"
4
- }