@ojiepermana/angular 22.1.10 → 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
@@ -0,0 +1,373 @@
1
+ /**
2
+ * Core theme layers and shared tokens.
3
+ */
4
+ @layer reset, base, mat-mdc, tokens, components, utilities;
5
+
6
+ @layer tokens {
7
+ :root {
8
+ /* Tailwind's stock `rounded-md`, matching the theme-radius='md' default. */
9
+ --radius-base: 0.375rem;
10
+ --radius-none: 0px;
11
+ --scrollbar-size: 0.5rem;
12
+ --scrollbar-radius: 9999px;
13
+ --scrollbar-track: var(--primary) / var(--opacity-10);
14
+ --scrollbar-thumb: var(--primary);
15
+ --scrollbar-thumb-hover: var(--primary);
16
+ --spacing-base: 0.25rem;
17
+
18
+ --font-size-base: 1rem;
19
+ --line-height-base: 1.5;
20
+
21
+ --border-width-base: 1px;
22
+
23
+ --shadow-base: 0 1px 2px hsl(0 0% 3.9% / 0.08);
24
+
25
+ --duration-base: 200ms;
26
+ --ease-base: cubic-bezier(0.4, 0, 0.2, 1);
27
+
28
+ /* The middle rung of the control ladder, and the one everything else is
29
+ * measured against. Derived from --spacing-base so control heights move with
30
+ * the theme-space density axis instead of standing still while the padding
31
+ * around them tightens. Nine units, which is exactly 2.25rem at the 0.25rem
32
+ * default, so nothing shifts for anyone who never touches the axis. */
33
+ --control-height-base: calc(var(--spacing-base) * 9);
34
+
35
+ --container-base: 80rem;
36
+
37
+ --z-base: 1;
38
+
39
+ --opacity-10: 0.1;
40
+ --opacity-20: 0.2;
41
+ --opacity-30: 0.3;
42
+ --opacity-40: 0.4;
43
+ --opacity-50: 0.5;
44
+ --opacity-60: 0.6;
45
+ --opacity-70: 0.7;
46
+ --opacity-80: 0.8;
47
+ --opacity-90: 0.9;
48
+
49
+ --radius-xs: calc(var(--radius-base) * 0.4);
50
+ --radius-sm: calc(var(--radius-base) * 0.6);
51
+ --radius-md: calc(var(--radius-base) * 0.8);
52
+ --radius-lg: var(--radius-base);
53
+ --radius-xl: calc(var(--radius-base) * 1.4);
54
+ --radius-2xl: calc(var(--radius-base) * 1.8);
55
+ --radius-3xl: calc(var(--radius-base) * 2.2);
56
+ --radius-4xl: calc(var(--radius-base) * 2.6);
57
+ --radius: var(--radius-base);
58
+
59
+ --spacing-xs: calc(var(--spacing-base) * 1);
60
+ --spacing-sm: calc(var(--spacing-base) * 2);
61
+ --spacing-md: calc(var(--spacing-base) * 4);
62
+ --spacing-lg: calc(var(--spacing-base) * 6);
63
+ --spacing-xl: calc(var(--spacing-base) * 8);
64
+ --spacing-2xl: calc(var(--spacing-base) * 12);
65
+ --spacing-3xl: calc(var(--spacing-base) * 16);
66
+ --spacing-4xl: calc(var(--spacing-base) * 24);
67
+
68
+ --font-size-xs: calc(var(--font-size-base) * 0.75);
69
+ --font-size-sm: calc(var(--font-size-base) * 0.875);
70
+ --font-size-md: var(--font-size-base);
71
+ --font-size-lg: calc(var(--font-size-base) * 1.125);
72
+ --font-size-xl: calc(var(--font-size-base) * 1.25);
73
+ --font-size-2xl: calc(var(--font-size-base) * 1.5);
74
+ --font-size-3xl: calc(var(--font-size-base) * 1.875);
75
+ --font-size-4xl: calc(var(--font-size-base) * 2.25);
76
+
77
+ --line-height-tight: 1.25;
78
+ --line-height-snug: 1.375;
79
+ --line-height-normal: var(--line-height-base);
80
+ --line-height-relaxed: 1.625;
81
+ --line-height-loose: 2;
82
+
83
+ --border-width-thin: var(--border-width-base);
84
+ --border-width-medium: calc(var(--border-width-base) * 2);
85
+ --border-width-thick: calc(var(--border-width-base) * 3);
86
+
87
+ /* Concrete values live in the *-base primitives. The --shadow-* aliases are
88
+ * re-emitted by the Tailwind @theme mapping as var(--theme-shadow-*) in the
89
+ * later `theme` layer, so pointing either alias back at --shadow-* would
90
+ * create a var() cycle that invalidates the whole chain. */
91
+ --shadow-xs-base: 0 1px 1px hsl(0 0% 3.9% / 0.05);
92
+ --shadow-md-base: 0 4px 6px hsl(0 0% 3.9% / 0.08);
93
+ --shadow-lg-base: 0 10px 15px hsl(0 0% 3.9% / 0.1);
94
+ --shadow-xl-base: 0 20px 25px hsl(0 0% 3.9% / 0.12);
95
+ --shadow-xs: var(--shadow-xs-base);
96
+ --shadow-sm: var(--shadow-base);
97
+ --shadow-md: var(--shadow-md-base);
98
+ --shadow-lg: var(--shadow-lg-base);
99
+ --shadow-xl: var(--shadow-xl-base);
100
+
101
+ --duration-fast: calc(var(--duration-base) * 0.5);
102
+ --duration-normal: var(--duration-base);
103
+ --duration-slow: calc(var(--duration-base) * 1.5);
104
+ --duration-slower: calc(var(--duration-base) * 2);
105
+
106
+ --ease-standard: var(--ease-base);
107
+ --ease-enter: cubic-bezier(0, 0, 0.2, 1);
108
+ --ease-exit: cubic-bezier(0.4, 0, 1, 1);
109
+
110
+ /* The control height ladder, every rung a multiple of the same knob.
111
+ *
112
+ * The multipliers are not free choices: they are the only ones that land on
113
+ * the values these tokens already had, which is what keeps the promise that
114
+ * theme-space='normal' renders pixel for pixel as before.
115
+ *
116
+ * `-10` and `-11` break the t-shirt naming, and do so deliberately. The
117
+ * library ships controls at 40px (button lg, toggle lg, an OTP slot) and
118
+ * 44px (segmented control), and there is no free t-shirt rung between `md`
119
+ * and `lg` to put them on. Renaming the existing rungs to make room would
120
+ * change what `h-control-lg` means for anyone already using it, so the two
121
+ * additions name their spacing multiple instead. */
122
+ --control-height-xs: calc(var(--spacing-base) * 7);
123
+ --control-height-sm: calc(var(--spacing-base) * 8);
124
+ --control-height-md: var(--control-height-base);
125
+ --control-height-10: calc(var(--spacing-base) * 10);
126
+ --control-height-11: calc(var(--spacing-base) * 11);
127
+ --control-height-lg: calc(var(--spacing-base) * 12);
128
+ --control-height-xl: calc(var(--spacing-base) * 14);
129
+
130
+ --container-sm: 40rem;
131
+ --container-md: 48rem;
132
+ --container-lg: 64rem;
133
+ --container-xl: var(--container-base);
134
+ --container-2xl: 96rem;
135
+
136
+ --z-dropdown: calc(var(--z-base) * 100);
137
+ --z-sticky: calc(var(--z-base) * 200);
138
+ --z-fixed: calc(var(--z-base) * 300);
139
+ --z-overlay: calc(var(--z-base) * 400);
140
+ --z-modal: calc(var(--z-base) * 500);
141
+ --z-popover: calc(var(--z-base) * 600);
142
+ --z-tooltip: calc(var(--z-base) * 700);
143
+ --z-toast: calc(var(--z-base) * 800);
144
+
145
+ --timeline-indicator-red: 0 72% 51%;
146
+ --timeline-indicator-red-foreground: 0 0% 100%;
147
+ --timeline-indicator-orange: 24 95% 53%;
148
+ --timeline-indicator-orange-foreground: 0 0% 100%;
149
+ --timeline-indicator-amber: 38 92% 50%;
150
+ --timeline-indicator-amber-foreground: 0 0% 100%;
151
+ --timeline-indicator-yellow: 48 96% 53%;
152
+ --timeline-indicator-yellow-foreground: 0 0% 10%;
153
+ --timeline-indicator-lime: 84 81% 44%;
154
+ --timeline-indicator-lime-foreground: 0 0% 10%;
155
+ --timeline-indicator-green: 142 71% 45%;
156
+ --timeline-indicator-green-foreground: 0 0% 100%;
157
+ --timeline-indicator-emerald: 160 84% 39%;
158
+ --timeline-indicator-emerald-foreground: 0 0% 100%;
159
+ --timeline-indicator-teal: 173 80% 40%;
160
+ --timeline-indicator-teal-foreground: 0 0% 100%;
161
+ --timeline-indicator-cyan: 191 91% 36%;
162
+ --timeline-indicator-cyan-foreground: 0 0% 100%;
163
+ --timeline-indicator-sky: 199 89% 48%;
164
+ --timeline-indicator-sky-foreground: 0 0% 100%;
165
+ --timeline-indicator-blue: 221 83% 53%;
166
+ --timeline-indicator-blue-foreground: 0 0% 100%;
167
+ --timeline-indicator-indigo: 239 84% 67%;
168
+ --timeline-indicator-indigo-foreground: 0 0% 100%;
169
+ --timeline-indicator-violet: 258 90% 66%;
170
+ --timeline-indicator-violet-foreground: 0 0% 100%;
171
+ --timeline-indicator-purple: 271 91% 65%;
172
+ --timeline-indicator-purple-foreground: 0 0% 100%;
173
+ --timeline-indicator-fuchsia: 292 84% 61%;
174
+ --timeline-indicator-fuchsia-foreground: 0 0% 100%;
175
+ --timeline-indicator-pink: 330 81% 60%;
176
+ --timeline-indicator-pink-foreground: 0 0% 100%;
177
+ --timeline-indicator-rose: 349 89% 60%;
178
+ --timeline-indicator-rose-foreground: 0 0% 100%;
179
+
180
+ /* --layout-grid-line is defined per-mode in base/tokens.css and per-neutral
181
+ * by the generated theme-neutral CSS, so the surface grid keeps constant
182
+ * contrast across every neutral, including base. Opacity is the global
183
+ * visibility knob shared by all grid surfaces:
184
+ * --layout-grid-line-opacity → the `grid` + `honeycomb` surfaces
185
+ * (multi-axis patterns)
186
+ * --layout-grid-dot-opacity → `line-vertical` / `line-horizontal`
187
+ * (single-axis rules)
188
+ * The multi-axis patterns are denser so they sit a step below the
189
+ * single-axis lines. The stronger values keep the neutral canvas and its
190
+ * decorative texture visible without competing with content. */
191
+ --layout-grid-line-opacity: 0.5;
192
+ --layout-grid-dot-opacity: 0.6;
193
+
194
+ /* ── Surface-pattern color system ─────────────────────────────────────
195
+ * Every `<Layout surface>` pattern draws from one cascading hue/saturation
196
+ * source and THREE semantic HSL tiers:
197
+ * --layout-pattern-hs → source hue + saturation
198
+ * --layout-pattern-line → `grid` lines, honeycomb, line-vertical/
199
+ * line-horizontal, circuit traces
200
+ * --layout-pattern-highlight → the `grid-line` mosaic glow
201
+ * --layout-pattern-node → matrix digits + circuit via nodes/pads
202
+ * RULE: patterns FOLLOW THE NEUTRAL. The base fallback keeps
203
+ * --layout-pattern-hs achromatic while theme-neutral='base' is active. Every
204
+ * generated non-base neutral is imported later and overrides that source with
205
+ * its own saturation-boosted family hue plus a neutral NODE tier. Lightness remains
206
+ * pinned per mode, and opacity remains a separate visibility knob, so the
207
+ * texture is visibly related to the palette without becoming loud.
208
+ *
209
+ * Classic HSL triplets are deliberate: the full mapping works without CSS
210
+ * relative-color syntax. Accent and brand tokens stay on UI chrome, while
211
+ * decorative surface tokens stay on the neutral axis. */
212
+ --layout-pattern-hs: 0 0%;
213
+ --layout-pattern-line: var(--layout-pattern-hs) var(--layout-grid-l);
214
+ --layout-pattern-highlight: var(--layout-pattern-hs) var(--layout-grid-highlight-l);
215
+ --layout-pattern-node: 0 0% 32%;
216
+
217
+ /* Composed per-consumer colors (semantic tier × its opacity knob). Layout
218
+ * host classes and base/components.css consume ONLY these aliases. */
219
+ --layout-grid-color: hsl(var(--layout-pattern-line) / var(--layout-grid-line-opacity));
220
+ --layout-line-color: hsl(var(--layout-pattern-line) / var(--layout-grid-dot-opacity));
221
+ --layout-circuit-trace-color: hsl(var(--layout-pattern-line) / var(--layout-circuit-opacity));
222
+ --layout-grid-highlight-color: hsl(
223
+ var(--layout-pattern-highlight) / var(--layout-grid-highlight-opacity)
224
+ );
225
+ --layout-matrix-color: hsl(var(--layout-pattern-node) / var(--layout-matrix-opacity));
226
+ --layout-matrix-glow-color: hsl(var(--layout-pattern-node) / var(--layout-matrix-glow-opacity));
227
+ --layout-circuit-node-color: hsl(
228
+ var(--layout-pattern-node) / var(--layout-circuit-node-opacity)
229
+ );
230
+
231
+ /* `grid-line` surface — global faintness of its HIGHLIGHT-tier glow. Its hue
232
+ * follows the active neutral family (achromatic on theme-neutral='base') and
233
+ * its tonal anchor is --layout-grid-highlight-l. Per-element alpha is baked
234
+ * into the SVG mask, so this multiplies it: lower for a quieter surface. */
235
+ --layout-grid-highlight-opacity: 0.65;
236
+
237
+ /* `grid-line` frame border opacity. The square layout frame borders with the
238
+ * accent color (--accent-foreground — the STRONG member of the accent family,
239
+ * so it follows the active theme-color and inverts dark-on-light / light-on-
240
+ * dark). The border stays ACCENT on every neutral — it is layout chrome, like
241
+ * --layout-rail-color, not part of the pattern — even though the SURFACE glow
242
+ * follows the neutral family in every mode (see the
243
+ * --layout-pattern-* tiers). Toned down to 0.484, nearly matching the surface's
244
+ * strongest sparse stroke (0.55 × 0.9 ≈ 0.495); the border's continuous edge
245
+ * still defines the frame without becoming harsh. */
246
+ --layout-grid-line-border-opacity: 0.484;
247
+
248
+ /* border-rail appearance — color, opacity, and THICKNESS of the layout's rail
249
+ * lines AND its frame border (all read these). Color/opacity follow the ACCENT
250
+ * (--accent-foreground) globally, so every border-rail layout picks up the
251
+ * active theme-color and reads bright, not the soft neutral --border.
252
+ * --accent-foreground inverts dark-on-light / light-on-dark automatically.
253
+ * Opacity matches navigation chrome for a consistent visual weight, while
254
+ * --layout-rail-width is the single thickness knob for the layout rails. */
255
+ --layout-rail-color: var(--accent-foreground);
256
+ --layout-rail-opacity: 0.666;
257
+ --layout-rail-width: 1px;
258
+
259
+ /* `matrix` surface — a scattered binary (0/1) field tinted with the pattern
260
+ * NODE tier (--layout-pattern-node: the active neutral family's hue, or an
261
+ * achromatic base node), so it reads as a soft
262
+ * "digital" signature that recolors with the active neutral/theme. Knobs:
263
+ * --layout-matrix-opacity → global faintness of the field. Per-glyph opacity
264
+ * is baked into the SVG mask, so this multiplies it;
265
+ * toned down for dark mode in base/tokens.css so the
266
+ * inverted neutral node never shouts.
267
+ * --layout-matrix-size → the SVG tile period (square). Larger = sparser.
268
+ * --layout-matrix-glow-opacity → brightness of the sparse edge-glow accents
269
+ * (the `::after` lit digits). Sits ABOVE the field
270
+ * opacity so the ~10% lit digits read as a glow;
271
+ * raised in dark mode (base/tokens.css) so the
272
+ * inverted accent actually blooms. */
273
+ --layout-matrix-opacity: 0.3;
274
+ --layout-matrix-size: 240px;
275
+
276
+ /* `circuit` surface — a tileable PCB / circuit-board texture drawn as two
277
+ * mask layers (base/components.css). Two faintness knobs, one per layer:
278
+ * --layout-circuit-opacity → the copper TRACES (pattern LINE tier:
279
+ * the neutral family's hue, achromatic on
280
+ * theme-neutral='base'). Per-trace alpha
281
+ * (ghost/trace/trunk) is baked into the SVG,
282
+ * so this multiplies it. It sits below the
283
+ * dense multi-axis grid tier because the PCB
284
+ * geometry contains more visual detail.
285
+ * --layout-circuit-node-opacity → the via NODES / pads (pattern NODE tier:
286
+ * the neutral family's hue, achromatic on
287
+ * theme-neutral='base'). Toned down for dark
288
+ * mode in base/tokens.css (the bright node
289
+ * color blooms on dark). Both stay below the
290
+ * grid tier because the PCB mask is much
291
+ * denser and otherwise competes with content. */
292
+ --layout-circuit-opacity: 0.3;
293
+ --layout-circuit-node-opacity: 0.4;
294
+ --layout-matrix-glow-opacity: 0.65;
295
+
296
+ --overlay-backdrop: 0 0% 3.9% / 0.5;
297
+ --overlay-backdrop-strong: 0 0% 3.9% / 0.4;
298
+
299
+ --editor-highlight: 48 96% 80%;
300
+
301
+ --font-size-2xs: 0.625rem;
302
+ --line-height-2xs: 1rem;
303
+ --font-size-2xs-plus: 0.6875rem;
304
+ --line-height-2xs-plus: 1rem;
305
+
306
+ /* Deprecated: use the new primitive token names instead.
307
+ * Must reference the *-base primitives, never --shadow-* — the Tailwind
308
+ * @theme mapping re-emits --shadow-*: var(--theme-shadow-*), so an alias
309
+ * back to --shadow-* forms a var() cycle. */
310
+ --theme-shadow-xs: var(--shadow-xs-base);
311
+ --border-width: var(--border-width-base);
312
+ --theme-shadow-sm: var(--shadow-base);
313
+ --theme-shadow: var(--shadow-base);
314
+ --theme-shadow-md: var(--shadow-md-base);
315
+ --theme-shadow-lg: var(--shadow-lg-base);
316
+ --theme-shadow-xl: var(--shadow-xl-base);
317
+ }
318
+
319
+ :root,
320
+ [data-mode='light'] {
321
+ color-scheme: light;
322
+ }
323
+
324
+ [data-mode='dark'] {
325
+ color-scheme: dark;
326
+ }
327
+ }
328
+
329
+ @layer tokens {
330
+ :root {
331
+ --destructive: 0 72% 51%;
332
+ --destructive-foreground: 0 0% 100%;
333
+
334
+ /*
335
+ * Chart series palette. --chart-1 follows the selected accent (--primary)
336
+ * so the primary series always reflects the picked theme color; --chart-2..5
337
+ * mirror the shadcn/ui chart palette for distinguishable supporting series.
338
+ * Each stays overridable per-theme via the --theme-chart-* hook.
339
+ */
340
+ --chart-1: var(--theme-chart-1, var(--primary));
341
+ --chart-2: var(--theme-chart-2, 173 58% 39%);
342
+ --chart-3: var(--theme-chart-3, 197 37% 24%);
343
+ --chart-4: var(--theme-chart-4, 43 74% 66%);
344
+ --chart-5: var(--theme-chart-5, 27 87% 67%);
345
+
346
+ --sidebar: var(--card);
347
+ --sidebar-background: var(--sidebar);
348
+ --sidebar-foreground: var(--foreground);
349
+ --sidebar-primary: var(--primary);
350
+ --sidebar-primary-foreground: var(--primary-foreground);
351
+ --sidebar-accent: var(--accent);
352
+ --sidebar-accent-foreground: var(--accent-foreground);
353
+ --sidebar-border: var(--border);
354
+ --sidebar-ring: var(--ring);
355
+ }
356
+
357
+ [data-mode='dark'] {
358
+ --destructive: 0 62% 45%;
359
+ --destructive-foreground: 0 0% 95%;
360
+
361
+ --overlay-backdrop: 0 0% 0% / 0.64;
362
+ --overlay-backdrop-strong: 0 0% 0% / 0.5;
363
+
364
+ --editor-highlight: 48 70% 30%;
365
+
366
+ /* Chart palette (dark) — --chart-1 follows --primary; rest track shadcn/ui. */
367
+ --chart-1: var(--theme-chart-1, var(--primary));
368
+ --chart-2: var(--theme-chart-2, 160 60% 45%);
369
+ --chart-3: var(--theme-chart-3, 30 80% 55%);
370
+ --chart-4: var(--theme-chart-4, 280 65% 60%);
371
+ --chart-5: var(--theme-chart-5, 340 75% 55%);
372
+ }
373
+ }