@ojiepermana/angular 22.1.11 → 22.1.12

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 (340) hide show
  1. package/README.md +32 -26
  2. package/chart/README.md +272 -0
  3. package/component/README.md +89 -0
  4. package/component/accordion/README.md +195 -0
  5. package/component/alert/README.md +184 -0
  6. package/component/alert-dialog/README.md +255 -0
  7. package/component/aspect-ratio/README.md +116 -0
  8. package/component/avatar/README.md +182 -0
  9. package/component/badge/README.md +143 -0
  10. package/component/breadcrumb/README.md +223 -0
  11. package/component/button/README.md +141 -0
  12. package/component/button-group/README.md +214 -0
  13. package/component/calendar/README.md +137 -0
  14. package/component/card/README.md +232 -0
  15. package/component/carousel/README.md +276 -0
  16. package/component/checkbox/README.md +153 -0
  17. package/component/collapsible/README.md +216 -0
  18. package/component/combobox/README.md +202 -0
  19. package/component/command/README.md +287 -0
  20. package/component/composer/README.md +241 -0
  21. package/component/context-menu/README.md +268 -0
  22. package/component/date-picker/README.md +202 -0
  23. package/component/dialog/README.md +276 -0
  24. package/component/drawer/README.md +147 -0
  25. package/component/dropdown-menu/README.md +336 -0
  26. package/component/editor/README.md +152 -0
  27. package/component/empty/README.md +193 -0
  28. package/component/form/README.md +216 -0
  29. package/component/hover-card/README.md +150 -0
  30. package/component/icon/README.md +25 -0
  31. package/component/input/README.md +160 -0
  32. package/component/input-group/README.md +245 -0
  33. package/component/input-otp/README.md +331 -0
  34. package/component/item/README.md +254 -0
  35. package/component/kanban/README.md +81 -0
  36. package/component/kbd/README.md +141 -0
  37. package/component/label/README.md +137 -0
  38. package/component/menubar/README.md +270 -0
  39. package/component/native-select/README.md +176 -0
  40. package/component/navigation-menu/README.md +165 -0
  41. package/component/pagination/README.md +151 -0
  42. package/component/pillbox/README.md +68 -0
  43. package/component/popover/README.md +54 -0
  44. package/component/progress/README.md +160 -0
  45. package/component/radio/README.md +212 -0
  46. package/component/resizable/README.md +178 -0
  47. package/component/scroll-area/README.md +150 -0
  48. package/component/select/README.md +228 -0
  49. package/component/separator/README.md +175 -0
  50. package/component/sheet/README.md +190 -0
  51. package/component/skeleton/README.md +158 -0
  52. package/component/slider/README.md +207 -0
  53. package/component/spinner/README.md +160 -0
  54. package/component/switch/README.md +170 -0
  55. package/component/table/README.md +292 -0
  56. package/component/tabs/README.md +220 -0
  57. package/component/textarea/README.md +169 -0
  58. package/component/timeline/README.md +94 -0
  59. package/component/toast/README.md +173 -0
  60. package/component/toggle/README.md +133 -0
  61. package/component/toggle-group/README.md +234 -0
  62. package/component/tooltip/README.md +230 -0
  63. package/fesm2022/ojiepermana-angular-chart-area.mjs +289 -3
  64. package/fesm2022/ojiepermana-angular-chart-bar.mjs +722 -3
  65. package/fesm2022/ojiepermana-angular-chart-core.mjs +1482 -3
  66. package/fesm2022/ojiepermana-angular-chart-line.mjs +294 -3
  67. package/fesm2022/ojiepermana-angular-chart-pie.mjs +291 -3
  68. package/fesm2022/ojiepermana-angular-chart-primitives.mjs +1301 -3
  69. package/fesm2022/ojiepermana-angular-chart-radar.mjs +421 -3
  70. package/fesm2022/ojiepermana-angular-chart-radial.mjs +295 -3
  71. package/fesm2022/ojiepermana-angular-chart-scatter.mjs +306 -3
  72. package/fesm2022/ojiepermana-angular-chart.mjs +12 -3
  73. package/fesm2022/ojiepermana-angular-component-accordion.mjs +267 -3
  74. package/fesm2022/ojiepermana-angular-component-alert-dialog.mjs +359 -3
  75. package/fesm2022/ojiepermana-angular-component-alert.mjs +101 -3
  76. package/fesm2022/ojiepermana-angular-component-aspect-ratio.mjs +31 -3
  77. package/fesm2022/ojiepermana-angular-component-avatar.mjs +139 -3
  78. package/fesm2022/ojiepermana-angular-component-badge.mjs +57 -3
  79. package/fesm2022/ojiepermana-angular-component-breadcrumb.mjs +192 -3
  80. package/fesm2022/ojiepermana-angular-component-button-group.mjs +95 -3
  81. package/fesm2022/ojiepermana-angular-component-button.mjs +73 -3
  82. package/fesm2022/ojiepermana-angular-component-calendar.mjs +718 -3
  83. package/fesm2022/ojiepermana-angular-component-card.mjs +167 -3
  84. package/fesm2022/ojiepermana-angular-component-carousel.mjs +326 -3
  85. package/fesm2022/ojiepermana-angular-component-checkbox.mjs +190 -3
  86. package/fesm2022/ojiepermana-angular-component-collapsible.mjs +117 -3
  87. package/fesm2022/ojiepermana-angular-component-combobox.mjs +327 -3
  88. package/fesm2022/ojiepermana-angular-component-command.mjs +351 -3
  89. package/fesm2022/ojiepermana-angular-component-composer.mjs +359 -3
  90. package/fesm2022/ojiepermana-angular-component-context-menu.mjs +158 -3
  91. package/fesm2022/ojiepermana-angular-component-date-picker.mjs +482 -3
  92. package/fesm2022/ojiepermana-angular-component-dialog.mjs +400 -3
  93. package/fesm2022/ojiepermana-angular-component-drawer.mjs +1 -3
  94. package/fesm2022/ojiepermana-angular-component-dropdown-menu.mjs +689 -3
  95. package/fesm2022/ojiepermana-angular-component-editor.mjs +511 -3
  96. package/fesm2022/ojiepermana-angular-component-empty.mjs +134 -3
  97. package/fesm2022/ojiepermana-angular-component-form.mjs +438 -3
  98. package/fesm2022/ojiepermana-angular-component-hover-card.mjs +273 -3
  99. package/fesm2022/ojiepermana-angular-component-icon.mjs +139 -3
  100. package/fesm2022/ojiepermana-angular-component-input-group.mjs +176 -3
  101. package/fesm2022/ojiepermana-angular-component-input-otp.mjs +550 -3
  102. package/fesm2022/ojiepermana-angular-component-input.mjs +52 -3
  103. package/fesm2022/ojiepermana-angular-component-item.mjs +264 -3
  104. package/fesm2022/ojiepermana-angular-component-kanban.mjs +310 -3
  105. package/fesm2022/ojiepermana-angular-component-kbd.mjs +48 -3
  106. package/fesm2022/ojiepermana-angular-component-label.mjs +27 -3
  107. package/fesm2022/ojiepermana-angular-component-menubar.mjs +327 -3
  108. package/fesm2022/ojiepermana-angular-component-native-select.mjs +62 -3
  109. package/fesm2022/ojiepermana-angular-component-navigation-menu.mjs +378 -3
  110. package/fesm2022/ojiepermana-angular-component-pagination.mjs +238 -3
  111. package/fesm2022/ojiepermana-angular-component-pillbox.mjs +999 -3
  112. package/fesm2022/ojiepermana-angular-component-popover.mjs +201 -3
  113. package/fesm2022/ojiepermana-angular-component-progress.mjs +57 -3
  114. package/fesm2022/ojiepermana-angular-component-radio.mjs +180 -3
  115. package/fesm2022/ojiepermana-angular-component-resizable.mjs +493 -3
  116. package/fesm2022/ojiepermana-angular-component-scroll-area.mjs +51 -3
  117. package/fesm2022/ojiepermana-angular-component-segmented-control.mjs +227 -3
  118. package/fesm2022/ojiepermana-angular-component-select.mjs +609 -3
  119. package/fesm2022/ojiepermana-angular-component-separator.mjs +31 -3
  120. package/fesm2022/ojiepermana-angular-component-sheet.mjs +407 -3
  121. package/fesm2022/ojiepermana-angular-component-skeleton.mjs +25 -3
  122. package/fesm2022/ojiepermana-angular-component-slider.mjs +456 -3
  123. package/fesm2022/ojiepermana-angular-component-spinner.mjs +56 -3
  124. package/fesm2022/ojiepermana-angular-component-switch.mjs +145 -3
  125. package/fesm2022/ojiepermana-angular-component-table.mjs +155 -3
  126. package/fesm2022/ojiepermana-angular-component-tabs.mjs +315 -3
  127. package/fesm2022/ojiepermana-angular-component-textarea.mjs +46 -3
  128. package/fesm2022/ojiepermana-angular-component-timeline.mjs +237 -3
  129. package/fesm2022/ojiepermana-angular-component-toast.mjs +241 -3
  130. package/fesm2022/ojiepermana-angular-component-toggle-group.mjs +290 -3
  131. package/fesm2022/ojiepermana-angular-component-toggle.mjs +76 -3
  132. package/fesm2022/ojiepermana-angular-component-tooltip.mjs +519 -3
  133. package/fesm2022/ojiepermana-angular-component-utils-core.mjs +310 -3
  134. package/fesm2022/ojiepermana-angular-component-utils-overlay.mjs +62 -3
  135. package/fesm2022/ojiepermana-angular-component-utils-scale.mjs +34 -3
  136. package/fesm2022/ojiepermana-angular-component-utils.mjs +3 -2
  137. package/fesm2022/ojiepermana-angular-component.mjs +4 -4
  138. package/fesm2022/ojiepermana-angular-navigation-core.mjs +21 -3
  139. package/fesm2022/ojiepermana-angular-navigation-icon.mjs +20 -3
  140. package/fesm2022/ojiepermana-angular-navigation-navigation-badge-count.component-CDBxQ8rk.mjs +91 -0
  141. package/fesm2022/ojiepermana-angular-navigation-navigation-dockbar-menu.component-DBQHdvGa.mjs +512 -0
  142. package/fesm2022/ojiepermana-angular-navigation-navigation-entry-grid.component-Cd-jh6tg.mjs +623 -0
  143. package/fesm2022/ojiepermana-angular-navigation-navigation-flyout-menu.component-BCGvhoYj.mjs +404 -0
  144. package/fesm2022/ojiepermana-angular-navigation-navigation-horizontal.component-Dk_03e-6.mjs +466 -0
  145. package/fesm2022/ojiepermana-angular-navigation-ojiepermana-angular-navigation-DNKU6viC.mjs +2642 -0
  146. package/fesm2022/ojiepermana-angular-navigation-service.mjs +725 -3
  147. package/fesm2022/ojiepermana-angular-navigation-types.mjs +65 -4
  148. package/fesm2022/ojiepermana-angular-navigation.mjs +4 -10
  149. package/fesm2022/ojiepermana-angular-sdk.mjs +204 -4
  150. package/fesm2022/ojiepermana-angular-theme-component-settings.mjs +1387 -3
  151. package/fesm2022/ojiepermana-angular-theme-layout-services.mjs +331 -3
  152. package/fesm2022/ojiepermana-angular-theme-layout-types.mjs +45 -4
  153. package/fesm2022/ojiepermana-angular-theme-layout-wrapper.mjs +1044 -3
  154. package/fesm2022/ojiepermana-angular-theme-layout.mjs +729 -3
  155. package/fesm2022/ojiepermana-angular-theme-page-core.mjs +381 -3
  156. package/fesm2022/ojiepermana-angular-theme-page-filter.mjs +267 -3
  157. package/fesm2022/ojiepermana-angular-theme-page-root.mjs +361 -3
  158. package/fesm2022/ojiepermana-angular-theme-page-side.mjs +198 -3
  159. package/fesm2022/ojiepermana-angular-theme-page-slots.mjs +110 -3
  160. package/fesm2022/ojiepermana-angular-theme-page.mjs +7 -2
  161. package/fesm2022/ojiepermana-angular-theme-shell-services.mjs +338 -3
  162. package/fesm2022/ojiepermana-angular-theme-shell-types.mjs +160 -4
  163. package/fesm2022/ojiepermana-angular-theme-shell.mjs +811 -3
  164. package/fesm2022/ojiepermana-angular-theme-styles.mjs +783 -3
  165. package/fesm2022/ojiepermana-angular-theme.mjs +4 -4
  166. package/fesm2022/ojiepermana-angular.mjs +6 -11
  167. package/navigation/README.md +374 -0
  168. package/package.json +81 -20
  169. package/sdk/README.md +212 -0
  170. package/sdk/schematics/collection.json +20 -0
  171. package/sdk/schematics/init/index.js +83 -0
  172. package/sdk/schematics/init/schema.json +19 -0
  173. package/sdk/schematics/ng-add/index.js +147 -0
  174. package/sdk/schematics/ng-add/schema.json +14 -0
  175. package/sdk/schematics/package.json +3 -0
  176. package/sdk/schematics/sdk/index.js +175 -0
  177. package/sdk/schematics/sdk/schema.json +19 -0
  178. package/sdk/sdk.config.example.json +24 -0
  179. package/sdk/src/config/loader.js +43 -0
  180. package/sdk/src/config/schema.js +59 -0
  181. package/sdk/src/emit/client.js +251 -0
  182. package/sdk/src/emit/metadata.js +310 -0
  183. package/sdk/src/emit/models.js +104 -0
  184. package/sdk/src/emit/navigation.js +56 -0
  185. package/sdk/src/emit/operations.js +118 -0
  186. package/sdk/src/emit/public-api.js +54 -0
  187. package/sdk/src/emit/services.js +110 -0
  188. package/sdk/src/engine.js +67 -0
  189. package/sdk/src/layout/per-domain.js +360 -0
  190. package/sdk/src/package.json +3 -0
  191. package/sdk/src/parser/bundle.js +25 -0
  192. package/sdk/src/parser/ir.js +429 -0
  193. package/sdk/src/parser/types.js +7 -0
  194. package/sdk/src/render/template.js +152 -0
  195. package/sdk/src/writer/index.js +286 -0
  196. package/theme/README.md +126 -0
  197. package/theme/component/settings/README.md +135 -0
  198. package/theme/layout/README.md +539 -0
  199. package/theme/page/README.md +453 -0
  200. package/theme/shell/README.md +340 -0
  201. package/theme/styles/README.md +178 -0
  202. package/theme/styles/css/base/components.css +553 -0
  203. package/theme/styles/css/base/index.css +14 -0
  204. package/theme/styles/css/base/package.css +9 -0
  205. package/theme/styles/css/base/prefers-dark.css +86 -0
  206. package/theme/styles/css/base/print.css +62 -0
  207. package/theme/styles/css/base/status.css +38 -0
  208. package/theme/styles/css/base/tailwind.css +165 -0
  209. package/theme/styles/css/base/theme.css +373 -0
  210. package/theme/styles/css/base/tokens.css +361 -0
  211. package/theme/styles/css/color/amber.css +72 -0
  212. package/theme/styles/css/color/blue.css +72 -0
  213. package/theme/styles/css/color/brand.css +38 -0
  214. package/theme/styles/css/color/cyan.css +72 -0
  215. package/theme/styles/css/color/emerald.css +72 -0
  216. package/theme/styles/css/color/fuchsia.css +72 -0
  217. package/theme/styles/css/color/green.css +72 -0
  218. package/theme/styles/css/color/index.css +19 -0
  219. package/theme/styles/css/color/indigo.css +72 -0
  220. package/theme/styles/css/color/lime.css +72 -0
  221. package/theme/styles/css/color/orange.css +72 -0
  222. package/theme/styles/css/color/pink.css +72 -0
  223. package/theme/styles/css/color/purple.css +72 -0
  224. package/theme/styles/css/color/red.css +72 -0
  225. package/theme/styles/css/color/rose.css +72 -0
  226. package/theme/styles/css/color/sky.css +72 -0
  227. package/theme/styles/css/color/teal.css +72 -0
  228. package/theme/styles/css/color/violet.css +72 -0
  229. package/theme/styles/css/color/yellow.css +72 -0
  230. package/theme/styles/css/index.css +18 -0
  231. package/theme/styles/css/neutral/gray.css +63 -0
  232. package/theme/styles/css/neutral/index.css +11 -0
  233. package/theme/styles/css/neutral/mauve.css +63 -0
  234. package/theme/styles/css/neutral/mist.css +63 -0
  235. package/theme/styles/css/neutral/neutral.css +63 -0
  236. package/theme/styles/css/neutral/olive.css +63 -0
  237. package/theme/styles/css/neutral/slate.css +63 -0
  238. package/theme/styles/css/neutral/stone.css +63 -0
  239. package/theme/styles/css/neutral/taupe.css +63 -0
  240. package/theme/styles/css/neutral/zinc.css +63 -0
  241. package/theme/styles/css/radius/index.css +30 -0
  242. package/theme/styles/css/space/index.css +20 -0
  243. package/types/ojiepermana-angular-chart-area.d.ts +76 -1
  244. package/types/ojiepermana-angular-chart-bar.d.ts +201 -1
  245. package/types/ojiepermana-angular-chart-core.d.ts +811 -1
  246. package/types/ojiepermana-angular-chart-line.d.ts +75 -1
  247. package/types/ojiepermana-angular-chart-pie.d.ts +131 -1
  248. package/types/ojiepermana-angular-chart-primitives.d.ts +291 -1
  249. package/types/ojiepermana-angular-chart-radar.d.ts +116 -1
  250. package/types/ojiepermana-angular-chart-radial.d.ts +116 -1
  251. package/types/ojiepermana-angular-chart-scatter.d.ts +125 -1
  252. package/types/ojiepermana-angular-chart.d.ts +2 -1
  253. package/types/ojiepermana-angular-component-accordion.d.ts +85 -1
  254. package/types/ojiepermana-angular-component-alert-dialog.d.ts +140 -1
  255. package/types/ojiepermana-angular-component-alert.d.ts +42 -1
  256. package/types/ojiepermana-angular-component-aspect-ratio.d.ts +12 -1
  257. package/types/ojiepermana-angular-component-avatar.d.ts +56 -1
  258. package/types/ojiepermana-angular-component-badge.d.ts +24 -1
  259. package/types/ojiepermana-angular-component-breadcrumb.d.ts +46 -1
  260. package/types/ojiepermana-angular-component-button-group.d.ts +26 -1
  261. package/types/ojiepermana-angular-component-button.d.ts +27 -1
  262. package/types/ojiepermana-angular-component-calendar.d.ts +111 -1
  263. package/types/ojiepermana-angular-component-card.d.ts +69 -1
  264. package/types/ojiepermana-angular-component-carousel.d.ts +86 -1
  265. package/types/ojiepermana-angular-component-checkbox.d.ts +42 -1
  266. package/types/ojiepermana-angular-component-collapsible.d.ts +42 -1
  267. package/types/ojiepermana-angular-component-combobox.d.ts +60 -1
  268. package/types/ojiepermana-angular-component-command.d.ts +130 -1
  269. package/types/ojiepermana-angular-component-composer.d.ts +90 -1
  270. package/types/ojiepermana-angular-component-context-menu.d.ts +54 -1
  271. package/types/ojiepermana-angular-component-date-picker.d.ts +109 -1
  272. package/types/ojiepermana-angular-component-dialog.d.ts +136 -1
  273. package/types/ojiepermana-angular-component-drawer.d.ts +1 -1
  274. package/types/ojiepermana-angular-component-dropdown-menu.d.ts +248 -1
  275. package/types/ojiepermana-angular-component-editor.d.ts +135 -1
  276. package/types/ojiepermana-angular-component-empty.d.ts +50 -1
  277. package/types/ojiepermana-angular-component-form.d.ts +159 -1
  278. package/types/ojiepermana-angular-component-hover-card.d.ts +75 -1
  279. package/types/ojiepermana-angular-component-icon.d.ts +89 -1
  280. package/types/ojiepermana-angular-component-input-group.d.ts +51 -1
  281. package/types/ojiepermana-angular-component-input-otp.d.ts +155 -1
  282. package/types/ojiepermana-angular-component-input.d.ts +21 -1
  283. package/types/ojiepermana-angular-component-item.d.ts +93 -1
  284. package/types/ojiepermana-angular-component-kanban.d.ts +70 -1
  285. package/types/ojiepermana-angular-component-kbd.d.ts +16 -1
  286. package/types/ojiepermana-angular-component-label.d.ts +11 -1
  287. package/types/ojiepermana-angular-component-menubar.d.ts +93 -1
  288. package/types/ojiepermana-angular-component-native-select.d.ts +26 -1
  289. package/types/ojiepermana-angular-component-navigation-menu.d.ts +104 -1
  290. package/types/ojiepermana-angular-component-pagination.d.ts +33 -1
  291. package/types/ojiepermana-angular-component-pillbox.d.ts +222 -1
  292. package/types/ojiepermana-angular-component-popover.d.ts +66 -1
  293. package/types/ojiepermana-angular-component-progress.d.ts +17 -1
  294. package/types/ojiepermana-angular-component-radio.d.ts +60 -1
  295. package/types/ojiepermana-angular-component-resizable.d.ts +117 -1
  296. package/types/ojiepermana-angular-component-scroll-area.d.ts +19 -1
  297. package/types/ojiepermana-angular-component-segmented-control.d.ts +58 -1
  298. package/types/ojiepermana-angular-component-select.d.ts +122 -1
  299. package/types/ojiepermana-angular-component-separator.d.ts +14 -1
  300. package/types/ojiepermana-angular-component-sheet.d.ts +130 -1
  301. package/types/ojiepermana-angular-component-skeleton.d.ts +10 -1
  302. package/types/ojiepermana-angular-component-slider.d.ts +83 -1
  303. package/types/ojiepermana-angular-component-spinner.d.ts +13 -1
  304. package/types/ojiepermana-angular-component-switch.d.ts +44 -1
  305. package/types/ojiepermana-angular-component-table.d.ts +57 -1
  306. package/types/ojiepermana-angular-component-tabs.d.ts +124 -1
  307. package/types/ojiepermana-angular-component-textarea.d.ts +17 -1
  308. package/types/ojiepermana-angular-component-timeline.d.ts +64 -1
  309. package/types/ojiepermana-angular-component-toast.d.ts +64 -1
  310. package/types/ojiepermana-angular-component-toggle-group.d.ts +90 -1
  311. package/types/ojiepermana-angular-component-toggle.d.ts +25 -1
  312. package/types/ojiepermana-angular-component-tooltip.d.ts +143 -1
  313. package/types/ojiepermana-angular-component-utils-core.d.ts +184 -1
  314. package/types/ojiepermana-angular-component-utils-overlay.d.ts +21 -1
  315. package/types/ojiepermana-angular-component-utils-scale.d.ts +19 -1
  316. package/types/ojiepermana-angular-component-utils.d.ts +2 -1
  317. package/types/ojiepermana-angular-component.d.ts +2 -1
  318. package/types/ojiepermana-angular-navigation-core.d.ts +59 -1
  319. package/types/ojiepermana-angular-navigation-icon.d.ts +12 -1
  320. package/types/ojiepermana-angular-navigation-service.d.ts +116 -1
  321. package/types/ojiepermana-angular-navigation-types.d.ts +144 -1
  322. package/types/ojiepermana-angular-navigation.d.ts +507 -1
  323. package/types/ojiepermana-angular-sdk.d.ts +89 -1
  324. package/types/ojiepermana-angular-theme-component-settings.d.ts +154 -1
  325. package/types/ojiepermana-angular-theme-layout-services.d.ts +147 -1
  326. package/types/ojiepermana-angular-theme-layout-types.d.ts +40 -1
  327. package/types/ojiepermana-angular-theme-layout-wrapper.d.ts +299 -1
  328. package/types/ojiepermana-angular-theme-layout.d.ts +129 -1
  329. package/types/ojiepermana-angular-theme-page-core.d.ts +157 -1
  330. package/types/ojiepermana-angular-theme-page-filter.d.ts +77 -1
  331. package/types/ojiepermana-angular-theme-page-root.d.ts +88 -1
  332. package/types/ojiepermana-angular-theme-page-side.d.ts +50 -1
  333. package/types/ojiepermana-angular-theme-page-slots.d.ts +40 -1
  334. package/types/ojiepermana-angular-theme-page.d.ts +5 -1
  335. package/types/ojiepermana-angular-theme-shell-services.d.ts +193 -1
  336. package/types/ojiepermana-angular-theme-shell-types.d.ts +105 -1
  337. package/types/ojiepermana-angular-theme-shell.d.ts +100 -1
  338. package/types/ojiepermana-angular-theme-styles.d.ts +319 -1
  339. package/types/ojiepermana-angular-theme.d.ts +2 -1
  340. package/types/ojiepermana-angular.d.ts +5 -5
@@ -1,7 +1,143 @@
1
- export * from '@ojiepermana/angular-component/avatar';
1
+ import * as i0 from '@angular/core';
2
+ import { inject, input, computed, Component, signal } from '@angular/core';
3
+ import { cn } from '@ojiepermana/angular/component/utils/core';
4
+ import * as i1 from '@ojiepermana/angular/component/utils/scale';
5
+ import { ComponentScaleDirective } from '@ojiepermana/angular/component/utils/scale';
2
6
 
3
- // Generated by scripts/gen-umbrella-entrypoints.mjs — do not edit by hand.
7
+ const avatarSizeClasses = {
8
+ default: 'h-10 w-10',
9
+ sm: 'h-8 w-8',
10
+ lg: 'h-12 w-12',
11
+ };
12
+ class AvatarComponent {
13
+ componentScale = inject(ComponentScaleDirective);
14
+ radius = this.componentScale.radius;
15
+ density = this.componentScale.density;
16
+ size = input('default', /* @ts-ignore */
17
+ ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
18
+ class = input('', /* @ts-ignore */
19
+ ...(ngDevMode ? [{ debugName: "class" }] : /* istanbul ignore next */ []));
20
+ classes = computed(() => cn('relative flex shrink-0 overflow-hidden rounded-full', avatarSizeClasses[this.size()], this.class()), /* @ts-ignore */
21
+ ...(ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []));
22
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: AvatarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
23
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.4", type: AvatarComponent, isStandalone: true, selector: "Avatar", inputs: { size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, class: { classPropertyName: "class", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "classes()", "attr.data-size": "size()" } }, hostDirectives: [{ directive: i1.ComponentScaleDirective, inputs: ["radius", "radius", "density", "density"] }], ngImport: i0, template: `<ng-content />`, isInline: true });
24
+ }
25
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: AvatarComponent, decorators: [{
26
+ type: Component,
27
+ args: [{
28
+ selector: 'Avatar',
29
+ hostDirectives: [
30
+ {
31
+ directive: ComponentScaleDirective,
32
+ inputs: ['radius', 'density'],
33
+ },
34
+ ],
35
+ host: {
36
+ '[class]': 'classes()',
37
+ '[attr.data-size]': 'size()',
38
+ },
39
+ template: `<ng-content />`,
40
+ }]
41
+ }], propDecorators: { size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], class: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
42
+ class AvatarImageComponent {
43
+ src = input.required(/* @ts-ignore */
44
+ ...(ngDevMode ? [{ debugName: "src" }] : /* istanbul ignore next */ []));
45
+ alt = input('', /* @ts-ignore */
46
+ ...(ngDevMode ? [{ debugName: "alt" }] : /* istanbul ignore next */ []));
47
+ class = input('', /* @ts-ignore */
48
+ ...(ngDevMode ? [{ debugName: "class" }] : /* istanbul ignore next */ []));
49
+ failed = signal(false, /* @ts-ignore */
50
+ ...(ngDevMode ? [{ debugName: "failed" }] : /* istanbul ignore next */ []));
51
+ classes = computed(() => cn('h-full w-full object-cover', this.class()), /* @ts-ignore */
52
+ ...(ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []));
53
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: AvatarImageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
54
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.4", type: AvatarImageComponent, isStandalone: true, selector: "AvatarImage", inputs: { src: { classPropertyName: "src", publicName: "src", isSignal: true, isRequired: true, transformFunction: null }, alt: { classPropertyName: "alt", publicName: "alt", isSignal: true, isRequired: false, transformFunction: null }, class: { classPropertyName: "class", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "absolute inset-0 z-10 block" }, ngImport: i0, template: `
55
+ @if (!failed()) {
56
+ <img [src]="src()" [alt]="alt()" [class]="classes()" (error)="failed.set(true)" />
57
+ }
58
+ `, isInline: true });
59
+ }
60
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: AvatarImageComponent, decorators: [{
61
+ type: Component,
62
+ args: [{
63
+ selector: 'AvatarImage',
64
+ host: {
65
+ class: 'absolute inset-0 z-10 block',
66
+ },
67
+ template: `
68
+ @if (!failed()) {
69
+ <img [src]="src()" [alt]="alt()" [class]="classes()" (error)="failed.set(true)" />
70
+ }
71
+ `,
72
+ }]
73
+ }], propDecorators: { src: [{ type: i0.Input, args: [{ isSignal: true, alias: "src", required: true }] }], alt: [{ type: i0.Input, args: [{ isSignal: true, alias: "alt", required: false }] }], class: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
74
+ class AvatarFallbackComponent {
75
+ class = input('', /* @ts-ignore */
76
+ ...(ngDevMode ? [{ debugName: "class" }] : /* istanbul ignore next */ []));
77
+ classes = computed(() => cn('absolute inset-0 z-0 flex items-center justify-center rounded-full bg-muted text-sm font-medium text-muted-foreground', this.class()), /* @ts-ignore */
78
+ ...(ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []));
79
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: AvatarFallbackComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
80
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.4", type: AvatarFallbackComponent, isStandalone: true, selector: "AvatarFallback", inputs: { class: { classPropertyName: "class", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "classes()" } }, ngImport: i0, template: `<ng-content />`, isInline: true });
81
+ }
82
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: AvatarFallbackComponent, decorators: [{
83
+ type: Component,
84
+ args: [{
85
+ selector: 'AvatarFallback',
86
+ host: { '[class]': 'classes()' },
87
+ template: `<ng-content />`,
88
+ }]
89
+ }], propDecorators: { class: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
90
+ class AvatarBadgeComponent {
91
+ class = input('', /* @ts-ignore */
92
+ ...(ngDevMode ? [{ debugName: "class" }] : /* istanbul ignore next */ []));
93
+ classes = computed(() => cn('absolute bottom-0 right-0 z-10 flex size-4 translate-x-1/4 translate-y-1/4 items-center justify-center rounded-full border-2 border-background bg-primary text-2xs font-medium leading-none text-primary-foreground shadow-sm [&>*]:pointer-events-none [&>*]:size-2.5 [&>*]:shrink-0', this.class()), /* @ts-ignore */
94
+ ...(ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []));
95
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: AvatarBadgeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
96
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.4", type: AvatarBadgeComponent, isStandalone: true, selector: "AvatarBadge", inputs: { class: { classPropertyName: "class", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "classes()" } }, ngImport: i0, template: `<ng-content />`, isInline: true });
97
+ }
98
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: AvatarBadgeComponent, decorators: [{
99
+ type: Component,
100
+ args: [{
101
+ selector: 'AvatarBadge',
102
+ host: { '[class]': 'classes()' },
103
+ template: `<ng-content />`,
104
+ }]
105
+ }], propDecorators: { class: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
106
+ class AvatarGroupComponent {
107
+ class = input('', /* @ts-ignore */
108
+ ...(ngDevMode ? [{ debugName: "class" }] : /* istanbul ignore next */ []));
109
+ classes = computed(() => cn('inline-flex items-center [&>*]:ring-2 [&>*]:ring-background [&>*:not(:first-child)]:-ml-3', this.class()), /* @ts-ignore */
110
+ ...(ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []));
111
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: AvatarGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
112
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.4", type: AvatarGroupComponent, isStandalone: true, selector: "AvatarGroup", inputs: { class: { classPropertyName: "class", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "classes()" } }, ngImport: i0, template: `<ng-content />`, isInline: true });
113
+ }
114
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: AvatarGroupComponent, decorators: [{
115
+ type: Component,
116
+ args: [{
117
+ selector: 'AvatarGroup',
118
+ host: { '[class]': 'classes()' },
119
+ template: `<ng-content />`,
120
+ }]
121
+ }], propDecorators: { class: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
122
+ class AvatarGroupCountComponent {
123
+ class = input('', /* @ts-ignore */
124
+ ...(ngDevMode ? [{ debugName: "class" }] : /* istanbul ignore next */ []));
125
+ classes = computed(() => cn('flex h-10 w-10 shrink-0 items-center justify-center rounded-full bg-muted text-sm font-medium text-muted-foreground', this.class()), /* @ts-ignore */
126
+ ...(ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []));
127
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: AvatarGroupCountComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
128
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.4", type: AvatarGroupCountComponent, isStandalone: true, selector: "AvatarGroupCount", inputs: { class: { classPropertyName: "class", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "classes()" } }, ngImport: i0, template: `<ng-content />`, isInline: true });
129
+ }
130
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: AvatarGroupCountComponent, decorators: [{
131
+ type: Component,
132
+ args: [{
133
+ selector: 'AvatarGroupCount',
134
+ host: { '[class]': 'classes()' },
135
+ template: `<ng-content />`,
136
+ }]
137
+ }], propDecorators: { class: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
4
138
 
5
139
  /**
6
140
  * Generated bundle index. Do not edit.
7
- */
141
+ */
142
+
143
+ export { AvatarBadgeComponent, AvatarComponent, AvatarFallbackComponent, AvatarGroupComponent, AvatarGroupCountComponent, AvatarImageComponent };
@@ -1,7 +1,61 @@
1
- export * from '@ojiepermana/angular-component/badge';
1
+ import * as i0 from '@angular/core';
2
+ import { inject, input, computed, Component } from '@angular/core';
3
+ import { cn } from '@ojiepermana/angular/component/utils/core';
4
+ import * as i1 from '@ojiepermana/angular/component/utils/scale';
5
+ import { ComponentScaleDirective } from '@ojiepermana/angular/component/utils/scale';
6
+ import { cva } from 'class-variance-authority';
2
7
 
3
- // Generated by scripts/gen-umbrella-entrypoints.mjs — do not edit by hand.
8
+ const badgeVariants = cva([
9
+ 'inline-flex items-center gap-1 rounded-full border border-border px-2.5 py-0.5',
10
+ 'text-xs font-semibold transition-colors',
11
+ '[&>svg]:size-3 [&>svg]:shrink-0',
12
+ 'focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2',
13
+ ].join(' '), {
14
+ variants: {
15
+ variant: {
16
+ default: 'border-transparent bg-primary text-primary-foreground hover:bg-primary/80',
17
+ secondary: 'border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80',
18
+ destructive: 'border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80',
19
+ outline: 'bg-transparent text-foreground',
20
+ ghost: 'border-transparent bg-transparent text-foreground hover:bg-accent hover:text-accent-foreground',
21
+ link: 'border-transparent bg-transparent text-foreground underline-offset-4 hover:underline',
22
+ },
23
+ },
24
+ defaultVariants: { variant: 'default' },
25
+ });
26
+
27
+ class BadgeComponent {
28
+ componentScale = inject(ComponentScaleDirective);
29
+ radius = this.componentScale.radius;
30
+ density = this.componentScale.density;
31
+ variant = input('default', /* @ts-ignore */
32
+ ...(ngDevMode ? [{ debugName: "variant" }] : /* istanbul ignore next */ []));
33
+ class = input('', /* @ts-ignore */
34
+ ...(ngDevMode ? [{ debugName: "class" }] : /* istanbul ignore next */ []));
35
+ classes = computed(() => cn(badgeVariants({ variant: this.variant() }), this.class()), /* @ts-ignore */
36
+ ...(ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []));
37
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: BadgeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
38
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.4", type: BadgeComponent, isStandalone: true, selector: "Badge, [Badge]", inputs: { variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, class: { classPropertyName: "class", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "classes()" } }, hostDirectives: [{ directive: i1.ComponentScaleDirective, inputs: ["radius", "radius", "density", "density"] }], ngImport: i0, template: `<ng-content />`, isInline: true });
39
+ }
40
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: BadgeComponent, decorators: [{
41
+ type: Component,
42
+ args: [{
43
+ selector: 'Badge, [Badge]',
44
+ hostDirectives: [
45
+ {
46
+ directive: ComponentScaleDirective,
47
+ inputs: ['radius', 'density'],
48
+ },
49
+ ],
50
+ host: {
51
+ '[class]': 'classes()',
52
+ },
53
+ template: `<ng-content />`,
54
+ }]
55
+ }], propDecorators: { variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], class: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
4
56
 
5
57
  /**
6
58
  * Generated bundle index. Do not edit.
7
- */
59
+ */
60
+
61
+ export { BadgeComponent, badgeVariants };
@@ -1,7 +1,196 @@
1
- export * from '@ojiepermana/angular-component/breadcrumb';
1
+ import * as i0 from '@angular/core';
2
+ import { input, computed, Component } from '@angular/core';
3
+ import { cn } from '@ojiepermana/angular/component/utils/core';
2
4
 
3
- // Generated by scripts/gen-umbrella-entrypoints.mjs — do not edit by hand.
5
+ class BreadcrumbComponent {
6
+ class = input('', /* @ts-ignore */
7
+ ...(ngDevMode ? [{ debugName: "class" }] : /* istanbul ignore next */ []));
8
+ classes = computed(() => cn('block', this.class()), /* @ts-ignore */
9
+ ...(ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []));
10
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: BreadcrumbComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
11
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.4", type: BreadcrumbComponent, isStandalone: true, selector: "Breadcrumb, nav[Breadcrumb]", inputs: { class: { classPropertyName: "class", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "classes()", "attr.aria-label": "\"breadcrumb\"" } }, ngImport: i0, template: `<ng-content />`, isInline: true });
12
+ }
13
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: BreadcrumbComponent, decorators: [{
14
+ type: Component,
15
+ args: [{
16
+ selector: 'Breadcrumb, nav[Breadcrumb]',
17
+ host: {
18
+ '[class]': 'classes()',
19
+ '[attr.aria-label]': '"breadcrumb"',
20
+ },
21
+ template: `<ng-content />`,
22
+ }]
23
+ }], propDecorators: { class: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
24
+ class BreadcrumbListComponent {
25
+ class = input('', /* @ts-ignore */
26
+ ...(ngDevMode ? [{ debugName: "class" }] : /* istanbul ignore next */ []));
27
+ classes = computed(() => cn('flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5', this.class()), /* @ts-ignore */
28
+ ...(ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []));
29
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: BreadcrumbListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
30
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.4", type: BreadcrumbListComponent, isStandalone: true, selector: "ol[BreadcrumbList]", inputs: { class: { classPropertyName: "class", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "classes()" } }, ngImport: i0, template: `<ng-content />`, isInline: true });
31
+ }
32
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: BreadcrumbListComponent, decorators: [{
33
+ type: Component,
34
+ args: [{
35
+ selector: 'ol[BreadcrumbList]',
36
+ host: { '[class]': 'classes()' },
37
+ template: `<ng-content />`,
38
+ }]
39
+ }], propDecorators: { class: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
40
+ class BreadcrumbItemComponent {
41
+ class = input('', /* @ts-ignore */
42
+ ...(ngDevMode ? [{ debugName: "class" }] : /* istanbul ignore next */ []));
43
+ classes = computed(() => cn('inline-flex items-center gap-1.5', this.class()), /* @ts-ignore */
44
+ ...(ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []));
45
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: BreadcrumbItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
46
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.4", type: BreadcrumbItemComponent, isStandalone: true, selector: "li[BreadcrumbItem]", inputs: { class: { classPropertyName: "class", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "classes()" } }, ngImport: i0, template: `<ng-content />`, isInline: true });
47
+ }
48
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: BreadcrumbItemComponent, decorators: [{
49
+ type: Component,
50
+ args: [{
51
+ selector: 'li[BreadcrumbItem]',
52
+ host: { '[class]': 'classes()' },
53
+ template: `<ng-content />`,
54
+ }]
55
+ }], propDecorators: { class: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
56
+ class BreadcrumbLinkComponent {
57
+ class = input('', /* @ts-ignore */
58
+ ...(ngDevMode ? [{ debugName: "class" }] : /* istanbul ignore next */ []));
59
+ classes = computed(() => cn('transition-colors hover:text-foreground', this.class()), /* @ts-ignore */
60
+ ...(ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []));
61
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: BreadcrumbLinkComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
62
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.4", type: BreadcrumbLinkComponent, isStandalone: true, selector: "a[BreadcrumbLink]", inputs: { class: { classPropertyName: "class", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "classes()" } }, ngImport: i0, template: `<ng-content />`, isInline: true });
63
+ }
64
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: BreadcrumbLinkComponent, decorators: [{
65
+ type: Component,
66
+ args: [{
67
+ selector: 'a[BreadcrumbLink]',
68
+ host: { '[class]': 'classes()' },
69
+ template: `<ng-content />`,
70
+ }]
71
+ }], propDecorators: { class: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
72
+ class BreadcrumbPageComponent {
73
+ class = input('', /* @ts-ignore */
74
+ ...(ngDevMode ? [{ debugName: "class" }] : /* istanbul ignore next */ []));
75
+ classes = computed(() => cn('font-normal text-foreground', this.class()), /* @ts-ignore */
76
+ ...(ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []));
77
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: BreadcrumbPageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
78
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.4", type: BreadcrumbPageComponent, isStandalone: true, selector: "span[BreadcrumbPage]", inputs: { class: { classPropertyName: "class", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "link", "aria-disabled": "true", "aria-current": "page" }, properties: { "class": "classes()" } }, ngImport: i0, template: `<ng-content />`, isInline: true });
79
+ }
80
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: BreadcrumbPageComponent, decorators: [{
81
+ type: Component,
82
+ args: [{
83
+ selector: 'span[BreadcrumbPage]',
84
+ host: {
85
+ '[class]': 'classes()',
86
+ role: 'link',
87
+ 'aria-disabled': 'true',
88
+ 'aria-current': 'page',
89
+ },
90
+ template: `<ng-content />`,
91
+ }]
92
+ }], propDecorators: { class: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
93
+ class BreadcrumbSeparatorComponent {
94
+ class = input('', /* @ts-ignore */
95
+ ...(ngDevMode ? [{ debugName: "class" }] : /* istanbul ignore next */ []));
96
+ classes = computed(() => cn('[&>svg]:size-3.5', this.class()), /* @ts-ignore */
97
+ ...(ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []));
98
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: BreadcrumbSeparatorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
99
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.4", type: BreadcrumbSeparatorComponent, isStandalone: true, selector: "li[BreadcrumbSeparator]", inputs: { class: { classPropertyName: "class", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "presentation", "aria-hidden": "true" }, properties: { "class": "classes()" } }, ngImport: i0, template: `
100
+ <ng-content>
101
+ <svg
102
+ class="h-3.5 w-3.5"
103
+ viewBox="0 0 24 24"
104
+ fill="none"
105
+ stroke="currentColor"
106
+ stroke-width="2"
107
+ stroke-linecap="round"
108
+ stroke-linejoin="round"
109
+ >
110
+ <polyline points="9 18 15 12 9 6" />
111
+ </svg>
112
+ </ng-content>
113
+ `, isInline: true });
114
+ }
115
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: BreadcrumbSeparatorComponent, decorators: [{
116
+ type: Component,
117
+ args: [{
118
+ selector: 'li[BreadcrumbSeparator]',
119
+ host: {
120
+ '[class]': 'classes()',
121
+ role: 'presentation',
122
+ 'aria-hidden': 'true',
123
+ },
124
+ template: `
125
+ <ng-content>
126
+ <svg
127
+ class="h-3.5 w-3.5"
128
+ viewBox="0 0 24 24"
129
+ fill="none"
130
+ stroke="currentColor"
131
+ stroke-width="2"
132
+ stroke-linecap="round"
133
+ stroke-linejoin="round"
134
+ >
135
+ <polyline points="9 18 15 12 9 6" />
136
+ </svg>
137
+ </ng-content>
138
+ `,
139
+ }]
140
+ }], propDecorators: { class: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
141
+ class BreadcrumbEllipsisComponent {
142
+ class = input('', /* @ts-ignore */
143
+ ...(ngDevMode ? [{ debugName: "class" }] : /* istanbul ignore next */ []));
144
+ classes = computed(() => cn('relative flex h-9 w-9 items-center justify-center', this.class()), /* @ts-ignore */
145
+ ...(ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []));
146
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: BreadcrumbEllipsisComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
147
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.4", type: BreadcrumbEllipsisComponent, isStandalone: true, selector: "span[BreadcrumbEllipsis]", inputs: { class: { classPropertyName: "class", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "presentation", "aria-hidden": "true" }, properties: { "class": "classes()" } }, ngImport: i0, template: `
148
+ <svg
149
+ class="h-4 w-4"
150
+ viewBox="0 0 24 24"
151
+ fill="none"
152
+ stroke="currentColor"
153
+ stroke-width="2"
154
+ stroke-linecap="round"
155
+ stroke-linejoin="round"
156
+ >
157
+ <circle cx="12" cy="12" r="1" />
158
+ <circle cx="19" cy="12" r="1" />
159
+ <circle cx="5" cy="12" r="1" />
160
+ </svg>
161
+ <span class="sr-only">More</span>
162
+ `, isInline: true });
163
+ }
164
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: BreadcrumbEllipsisComponent, decorators: [{
165
+ type: Component,
166
+ args: [{
167
+ selector: 'span[BreadcrumbEllipsis]',
168
+ host: {
169
+ '[class]': 'classes()',
170
+ role: 'presentation',
171
+ 'aria-hidden': 'true',
172
+ },
173
+ template: `
174
+ <svg
175
+ class="h-4 w-4"
176
+ viewBox="0 0 24 24"
177
+ fill="none"
178
+ stroke="currentColor"
179
+ stroke-width="2"
180
+ stroke-linecap="round"
181
+ stroke-linejoin="round"
182
+ >
183
+ <circle cx="12" cy="12" r="1" />
184
+ <circle cx="19" cy="12" r="1" />
185
+ <circle cx="5" cy="12" r="1" />
186
+ </svg>
187
+ <span class="sr-only">More</span>
188
+ `,
189
+ }]
190
+ }], propDecorators: { class: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
4
191
 
5
192
  /**
6
193
  * Generated bundle index. Do not edit.
7
- */
194
+ */
195
+
196
+ export { BreadcrumbComponent, BreadcrumbEllipsisComponent, BreadcrumbItemComponent, BreadcrumbLinkComponent, BreadcrumbListComponent, BreadcrumbPageComponent, BreadcrumbSeparatorComponent };
@@ -1,7 +1,99 @@
1
- export * from '@ojiepermana/angular-component/button-group';
1
+ import * as i0 from '@angular/core';
2
+ import { input, computed, Component } from '@angular/core';
3
+ import { cn } from '@ojiepermana/angular/component/utils/core';
2
4
 
3
- // Generated by scripts/gen-umbrella-entrypoints.mjs — do not edit by hand.
5
+ const BUTTON_GROUP_BASE = [
6
+ 'inline-flex w-fit items-stretch',
7
+ 'has-[>[data-slot=button-group]]:gap-2',
8
+ '[&>*]:focus-visible:relative [&>*]:focus-visible:z-10',
9
+ '[&>input]:flex-1 [&>textarea]:flex-1',
10
+ '[&>InputGroup]:min-w-0 [&>InputGroup]:flex-1',
11
+ ].join(' ');
12
+ const buttonGroupOrientationClasses = {
13
+ horizontal: [
14
+ '[&>*:not(:first-child)]:rounded-s-none',
15
+ '[&>*:not(:first-child)]:[border-inline-start-width:0]',
16
+ '[&>*:not(:last-child)]:rounded-e-none',
17
+ ].join(' '),
18
+ vertical: [
19
+ 'flex-col',
20
+ '[&>*:not(:first-child)]:rounded-t-none',
21
+ '[&>*:not(:first-child)]:border-t-0',
22
+ '[&>*:not(:last-child)]:rounded-b-none',
23
+ ].join(' '),
24
+ };
25
+ class ButtonGroupComponent {
26
+ orientation = input('horizontal', /* @ts-ignore */
27
+ ...(ngDevMode ? [{ debugName: "orientation" }] : /* istanbul ignore next */ []));
28
+ class = input('', /* @ts-ignore */
29
+ ...(ngDevMode ? [{ debugName: "class" }] : /* istanbul ignore next */ []));
30
+ classes = computed(() => cn(BUTTON_GROUP_BASE, buttonGroupOrientationClasses[this.orientation()], this.class()), /* @ts-ignore */
31
+ ...(ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []));
32
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: ButtonGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
33
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.4", type: ButtonGroupComponent, isStandalone: true, selector: "ButtonGroup", inputs: { orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: false, transformFunction: null }, class: { classPropertyName: "class", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "group" }, properties: { "class": "classes()", "attr.data-orientation": "orientation()", "attr.data-slot": "\"button-group\"" } }, ngImport: i0, template: `<ng-content />`, isInline: true });
34
+ }
35
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: ButtonGroupComponent, decorators: [{
36
+ type: Component,
37
+ args: [{
38
+ selector: 'ButtonGroup',
39
+ host: {
40
+ '[class]': 'classes()',
41
+ '[attr.data-orientation]': 'orientation()',
42
+ '[attr.data-slot]': '"button-group"',
43
+ role: 'group',
44
+ },
45
+ template: `<ng-content />`,
46
+ }]
47
+ }], propDecorators: { orientation: [{ type: i0.Input, args: [{ isSignal: true, alias: "orientation", required: false }] }], class: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
48
+ class ButtonGroupTextComponent {
49
+ class = input('', /* @ts-ignore */
50
+ ...(ngDevMode ? [{ debugName: "class" }] : /* istanbul ignore next */ []));
51
+ classes = computed(() => cn([
52
+ 'flex items-center gap-2 whitespace-nowrap rounded-md border border-border bg-muted px-4 text-sm font-medium shadow-sm',
53
+ '[&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*=size-])]:size-4',
54
+ ].join(' '), this.class()), /* @ts-ignore */
55
+ ...(ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []));
56
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: ButtonGroupTextComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
57
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.4", type: ButtonGroupTextComponent, isStandalone: true, selector: "ButtonGroupText", inputs: { class: { classPropertyName: "class", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "classes()", "attr.data-slot": "\"button-group-text\"" } }, ngImport: i0, template: `<ng-content />`, isInline: true });
58
+ }
59
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: ButtonGroupTextComponent, decorators: [{
60
+ type: Component,
61
+ args: [{
62
+ selector: 'ButtonGroupText',
63
+ host: {
64
+ '[class]': 'classes()',
65
+ '[attr.data-slot]': '"button-group-text"',
66
+ },
67
+ template: `<ng-content />`,
68
+ }]
69
+ }], propDecorators: { class: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
70
+ class ButtonGroupSeparatorComponent {
71
+ orientation = input('vertical', /* @ts-ignore */
72
+ ...(ngDevMode ? [{ debugName: "orientation" }] : /* istanbul ignore next */ []));
73
+ class = input('', /* @ts-ignore */
74
+ ...(ngDevMode ? [{ debugName: "class" }] : /* istanbul ignore next */ []));
75
+ classes = computed(() => cn('relative shrink-0 bg-border', this.orientation() === 'horizontal' ? 'h-px w-full self-auto' : 'h-auto w-px self-stretch', this.class()), /* @ts-ignore */
76
+ ...(ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []));
77
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: ButtonGroupSeparatorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
78
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.4", type: ButtonGroupSeparatorComponent, isStandalone: true, selector: "ButtonGroupSeparator", inputs: { orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: false, transformFunction: null }, class: { classPropertyName: "class", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "separator" }, properties: { "class": "classes()", "attr.aria-orientation": "orientation()", "attr.data-orientation": "orientation()", "attr.data-slot": "\"button-group-separator\"" } }, ngImport: i0, template: '', isInline: true });
79
+ }
80
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: ButtonGroupSeparatorComponent, decorators: [{
81
+ type: Component,
82
+ args: [{
83
+ selector: 'ButtonGroupSeparator',
84
+ host: {
85
+ '[class]': 'classes()',
86
+ '[attr.aria-orientation]': 'orientation()',
87
+ '[attr.data-orientation]': 'orientation()',
88
+ '[attr.data-slot]': '"button-group-separator"',
89
+ role: 'separator',
90
+ },
91
+ template: '',
92
+ }]
93
+ }], propDecorators: { orientation: [{ type: i0.Input, args: [{ isSignal: true, alias: "orientation", required: false }] }], class: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
4
94
 
5
95
  /**
6
96
  * Generated bundle index. Do not edit.
7
- */
97
+ */
98
+
99
+ export { ButtonGroupComponent, ButtonGroupSeparatorComponent, ButtonGroupTextComponent };
@@ -1,7 +1,77 @@
1
- export * from '@ojiepermana/angular-component/button';
1
+ import * as i0 from '@angular/core';
2
+ import { inject, input, computed, Component } from '@angular/core';
3
+ import { cn } from '@ojiepermana/angular/component/utils/core';
4
+ import * as i1 from '@ojiepermana/angular/component/utils/scale';
5
+ import { ComponentScaleDirective } from '@ojiepermana/angular/component/utils/scale';
6
+ import { cva } from 'class-variance-authority';
2
7
 
3
- // Generated by scripts/gen-umbrella-entrypoints.mjs — do not edit by hand.
8
+ const buttonVariants = cva([
9
+ 'inline-flex cursor-pointer items-center justify-center gap-2 whitespace-nowrap',
10
+ 'rounded-md text-sm font-medium',
11
+ 'transition-colors',
12
+ 'focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring',
13
+ 'disabled:pointer-events-none disabled:opacity-50',
14
+ '[&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0',
15
+ ].join(' '), {
16
+ variants: {
17
+ variant: {
18
+ default: 'bg-primary text-primary-foreground hover:bg-primary/90',
19
+ destructive: 'bg-destructive text-destructive-foreground hover:bg-destructive/90',
20
+ outline: 'border border-input bg-background hover:bg-accent hover:text-accent-foreground',
21
+ secondary: 'bg-secondary text-secondary-foreground hover:bg-secondary/80',
22
+ ghost: 'hover:bg-accent hover:text-accent-foreground',
23
+ link: 'text-primary underline-offset-4 hover:underline',
24
+ },
25
+ size: {
26
+ xs: 'h-7 rounded-md px-2.5 text-xs',
27
+ default: 'h-control-md px-4 py-2',
28
+ sm: 'h-control-sm rounded-md px-3 text-xs',
29
+ lg: 'h-control-10 rounded-md px-8',
30
+ 'icon-xs': 'h-7 w-7 p-0',
31
+ 'icon-sm': 'h-control-sm w-control-sm p-0',
32
+ icon: 'h-control-md w-control-md p-0',
33
+ 'icon-lg': 'h-control-10 w-control-10 p-0',
34
+ },
35
+ },
36
+ defaultVariants: { variant: 'default', size: 'default' },
37
+ });
38
+
39
+ class ButtonComponent {
40
+ componentScale = inject(ComponentScaleDirective);
41
+ radius = this.componentScale.radius;
42
+ density = this.componentScale.density;
43
+ variant = input('default', /* @ts-ignore */
44
+ ...(ngDevMode ? [{ debugName: "variant" }] : /* istanbul ignore next */ []));
45
+ size = input('default', /* @ts-ignore */
46
+ ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
47
+ class = input('', /* @ts-ignore */
48
+ ...(ngDevMode ? [{ debugName: "class" }] : /* istanbul ignore next */ []));
49
+ classes = computed(() => cn(buttonVariants({ variant: this.variant(), size: this.size() }), this.class()), /* @ts-ignore */
50
+ ...(ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []));
51
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: ButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
52
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.4", type: ButtonComponent, isStandalone: true, selector: "button[Button], a[Button]", inputs: { variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, class: { classPropertyName: "class", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "classes()", "attr.data-variant": "variant()", "attr.data-size": "size()" } }, hostDirectives: [{ directive: i1.ComponentScaleDirective, inputs: ["radius", "radius", "density", "density"] }], ngImport: i0, template: `<ng-content />`, isInline: true });
53
+ }
54
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: ButtonComponent, decorators: [{
55
+ type: Component,
56
+ args: [{
57
+ selector: 'button[Button], a[Button]',
58
+ hostDirectives: [
59
+ {
60
+ directive: ComponentScaleDirective,
61
+ inputs: ['radius', 'density'],
62
+ },
63
+ ],
64
+ host: {
65
+ '[class]': 'classes()',
66
+ '[attr.data-variant]': 'variant()',
67
+ '[attr.data-size]': 'size()',
68
+ },
69
+ template: `<ng-content />`,
70
+ }]
71
+ }], propDecorators: { variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], class: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
4
72
 
5
73
  /**
6
74
  * Generated bundle index. Do not edit.
7
- */
75
+ */
76
+
77
+ export { ButtonComponent, buttonVariants };