@ojiepermana/angular 21.2.4 → 21.3.3
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.
- package/README.md +155 -12
- package/component/accordion/package.json +4 -0
- package/component/alert/package.json +4 -0
- package/component/alert-dialog/package.json +4 -0
- package/component/aspect-ratio/package.json +4 -0
- package/component/avatar/package.json +4 -0
- package/component/badge/package.json +4 -0
- package/component/breadcrumb/package.json +4 -0
- package/component/button/package.json +4 -0
- package/component/button-group/package.json +4 -0
- package/component/calendar/package.json +4 -0
- package/component/card/package.json +4 -0
- package/component/carousel/package.json +4 -0
- package/component/chart/README.md +249 -0
- package/component/chart/area/package.json +4 -0
- package/component/chart/bar/package.json +4 -0
- package/component/chart/line/package.json +4 -0
- package/component/chart/package.json +4 -0
- package/component/chart/pie/package.json +4 -0
- package/component/chart/radar/package.json +4 -0
- package/component/chart/radial/package.json +4 -0
- package/component/chart/scatter/package.json +4 -0
- package/component/checkbox/package.json +4 -0
- package/component/collapsible/package.json +4 -0
- package/component/combobox/package.json +4 -0
- package/component/command/package.json +4 -0
- package/component/context-menu/package.json +4 -0
- package/component/date-picker/package.json +4 -0
- package/component/dialog/package.json +4 -0
- package/component/drawer/package.json +4 -0
- package/component/dropdown-menu/package.json +4 -0
- package/component/form/package.json +4 -0
- package/component/input/package.json +4 -0
- package/component/input-group/package.json +4 -0
- package/component/item/package.json +4 -0
- package/component/label/package.json +4 -0
- package/component/pagination/package.json +4 -0
- package/component/popover/package.json +4 -0
- package/component/progress/package.json +4 -0
- package/component/radio/package.json +4 -0
- package/component/scroll-area/package.json +4 -0
- package/component/select/package.json +4 -0
- package/component/separator/package.json +4 -0
- package/component/sheet/package.json +4 -0
- package/component/skeleton/package.json +4 -0
- package/component/slider/package.json +4 -0
- package/component/switch/package.json +4 -0
- package/component/table/package.json +4 -0
- package/component/tabs/package.json +4 -0
- package/component/textarea/package.json +4 -0
- package/component/toast/package.json +4 -0
- package/component/tooltip/package.json +4 -0
- package/component/utils/package.json +4 -0
- package/fesm2022/ojiepermana-angular-component-accordion.mjs +174 -0
- package/fesm2022/ojiepermana-angular-component-accordion.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-component-alert-dialog.mjs +242 -0
- package/fesm2022/ojiepermana-angular-component-alert-dialog.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-component-alert.mjs +90 -0
- package/fesm2022/ojiepermana-angular-component-alert.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-component-aspect-ratio.mjs +33 -0
- package/fesm2022/ojiepermana-angular-component-aspect-ratio.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-component-avatar.mjs +123 -0
- package/fesm2022/ojiepermana-angular-component-avatar.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-component-badge.mjs +47 -0
- package/fesm2022/ojiepermana-angular-component-badge.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-component-breadcrumb.mjs +186 -0
- package/fesm2022/ojiepermana-angular-component-breadcrumb.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-component-button-group.mjs +95 -0
- package/fesm2022/ojiepermana-angular-component-button-group.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-component-button.mjs +64 -0
- package/fesm2022/ojiepermana-angular-component-button.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-component-calendar.mjs +78 -0
- package/fesm2022/ojiepermana-angular-component-calendar.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-component-card.mjs +137 -0
- package/fesm2022/ojiepermana-angular-component-card.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-component-carousel.mjs +310 -0
- package/fesm2022/ojiepermana-angular-component-carousel.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-component-chart-area.mjs +6 -0
- package/fesm2022/ojiepermana-angular-component-chart-area.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-component-chart-bar.mjs +6 -0
- package/fesm2022/ojiepermana-angular-component-chart-bar.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-component-chart-line.mjs +6 -0
- package/fesm2022/ojiepermana-angular-component-chart-line.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-component-chart-pie.mjs +6 -0
- package/fesm2022/ojiepermana-angular-component-chart-pie.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-component-chart-radar.mjs +6 -0
- package/fesm2022/ojiepermana-angular-component-chart-radar.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-component-chart-radial.mjs +6 -0
- package/fesm2022/ojiepermana-angular-component-chart-radial.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-component-chart-scatter.mjs +6 -0
- package/fesm2022/ojiepermana-angular-component-chart-scatter.mjs.map +1 -0
- package/fesm2022/{ojiepermana-angular-chart.mjs → ojiepermana-angular-component-chart.mjs} +2 -2
- package/fesm2022/ojiepermana-angular-component-chart.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-component-checkbox.mjs +104 -0
- package/fesm2022/ojiepermana-angular-component-checkbox.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-component-collapsible.mjs +116 -0
- package/fesm2022/ojiepermana-angular-component-collapsible.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-component-combobox.mjs +263 -0
- package/fesm2022/ojiepermana-angular-component-combobox.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-component-command.mjs +268 -0
- package/fesm2022/ojiepermana-angular-component-command.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-component-context-menu.mjs +100 -0
- package/fesm2022/ojiepermana-angular-component-context-menu.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-component-date-picker.mjs +155 -0
- package/fesm2022/ojiepermana-angular-component-date-picker.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-component-dialog.mjs +262 -0
- package/fesm2022/ojiepermana-angular-component-dialog.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-component-drawer.mjs +6 -0
- package/fesm2022/ojiepermana-angular-component-drawer.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-component-dropdown-menu.mjs +458 -0
- package/fesm2022/ojiepermana-angular-component-dropdown-menu.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-component-form.mjs +208 -0
- package/fesm2022/ojiepermana-angular-component-form.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-component-input-group.mjs +164 -0
- package/fesm2022/ojiepermana-angular-component-input-group.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-component-input.mjs +43 -0
- package/fesm2022/ojiepermana-angular-component-input.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-component-item.mjs +241 -0
- package/fesm2022/ojiepermana-angular-component-item.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-component-label.mjs +30 -0
- package/fesm2022/ojiepermana-angular-component-label.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-component-pagination.mjs +192 -0
- package/fesm2022/ojiepermana-angular-component-pagination.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-component-popover.mjs +163 -0
- package/fesm2022/ojiepermana-angular-component-popover.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-component-progress.mjs +53 -0
- package/fesm2022/ojiepermana-angular-component-progress.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-component-radio.mjs +92 -0
- package/fesm2022/ojiepermana-angular-component-radio.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-component-scroll-area.mjs +48 -0
- package/fesm2022/ojiepermana-angular-component-scroll-area.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-component-select.mjs +131 -0
- package/fesm2022/ojiepermana-angular-component-select.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-component-separator.mjs +33 -0
- package/fesm2022/ojiepermana-angular-component-separator.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-component-sheet.mjs +235 -0
- package/fesm2022/ojiepermana-angular-component-sheet.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-component-skeleton.mjs +29 -0
- package/fesm2022/ojiepermana-angular-component-skeleton.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-component-slider.mjs +29 -0
- package/fesm2022/ojiepermana-angular-component-slider.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-component-switch.mjs +84 -0
- package/fesm2022/ojiepermana-angular-component-switch.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-component-table.mjs +139 -0
- package/fesm2022/ojiepermana-angular-component-table.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-component-tabs.mjs +252 -0
- package/fesm2022/ojiepermana-angular-component-tabs.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-component-textarea.mjs +37 -0
- package/fesm2022/ojiepermana-angular-component-textarea.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-component-toast.mjs +47 -0
- package/fesm2022/ojiepermana-angular-component-toast.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-component-tooltip.mjs +56 -0
- package/fesm2022/ojiepermana-angular-component-tooltip.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-component-utils.mjs +13 -0
- package/fesm2022/ojiepermana-angular-component-utils.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-generator-api.mjs +2 -1
- package/fesm2022/ojiepermana-angular-generator-api.mjs.map +1 -1
- package/fesm2022/ojiepermana-angular-layout-component.mjs +581 -0
- package/fesm2022/ojiepermana-angular-layout-component.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-layout-empty.mjs +49 -0
- package/fesm2022/ojiepermana-angular-layout-empty.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-layout-horizontal.mjs +119 -0
- package/fesm2022/ojiepermana-angular-layout-horizontal.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-layout-provider.mjs +21 -0
- package/fesm2022/ojiepermana-angular-layout-provider.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-layout-services.mjs +114 -0
- package/fesm2022/ojiepermana-angular-layout-services.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-layout-shell.mjs +48 -0
- package/fesm2022/ojiepermana-angular-layout-shell.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-layout-token-directive.mjs +27 -0
- package/fesm2022/ojiepermana-angular-layout-token-directive.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-layout-token.mjs +33 -0
- package/fesm2022/ojiepermana-angular-layout-token.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-layout-vertical.mjs +113 -0
- package/fesm2022/ojiepermana-angular-layout-vertical.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-layout.mjs +141 -137
- package/fesm2022/ojiepermana-angular-layout.mjs.map +1 -1
- package/fesm2022/ojiepermana-angular-navigation-demo-data.mjs +334 -0
- package/fesm2022/ojiepermana-angular-navigation-demo-data.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-navigation-icon.mjs +59 -0
- package/fesm2022/ojiepermana-angular-navigation-icon.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-navigation-item.mjs +548 -0
- package/fesm2022/ojiepermana-angular-navigation-item.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-navigation-service.mjs +204 -0
- package/fesm2022/ojiepermana-angular-navigation-service.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-navigation-sidebar.mjs +373 -0
- package/fesm2022/ojiepermana-angular-navigation-sidebar.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-navigation-topbar.mjs +433 -0
- package/fesm2022/ojiepermana-angular-navigation-topbar.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-navigation-types.mjs +4 -0
- package/fesm2022/ojiepermana-angular-navigation-types.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-theme-provider.mjs +35 -0
- package/fesm2022/ojiepermana-angular-theme-provider.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-theme-services.mjs +286 -0
- package/fesm2022/ojiepermana-angular-theme-services.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-theme-token.mjs +56 -0
- package/fesm2022/ojiepermana-angular-theme-token.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-theme.mjs +31 -56
- package/fesm2022/ojiepermana-angular-theme.mjs.map +1 -1
- package/fesm2022/ojiepermana-angular.mjs +7 -6
- package/fesm2022/ojiepermana-angular.mjs.map +1 -1
- package/generator/api/README.md +18 -15
- package/generator/api/bin/schematics/init/index.js +4 -2
- package/generator/api/bin/src/config/schema.js +2 -1
- package/generator/api/bin/src/emit/navigation.js +1 -1
- package/generator/api/bin/src/layout/per-domain.js +7 -3
- package/generator/api/sdk.config.example.json +4 -2
- package/layout/component/package.json +4 -0
- package/layout/empty/package.json +4 -0
- package/layout/horizontal/package.json +4 -0
- package/layout/provider/package.json +4 -0
- package/layout/services/package.json +4 -0
- package/layout/shell/package.json +4 -0
- package/layout/token/directive/package.json +4 -0
- package/layout/token/package.json +4 -0
- package/layout/vertical/package.json +4 -0
- package/navigation/demo-data/package.json +4 -0
- package/navigation/icon/package.json +4 -0
- package/navigation/item/package.json +4 -0
- package/navigation/service/package.json +4 -0
- package/navigation/sidebar/package.json +4 -0
- package/navigation/topbar/package.json +4 -0
- package/navigation/types/package.json +4 -0
- package/package.json +284 -16
- package/theme/README.md +67 -0
- package/theme/provider/package.json +4 -0
- package/theme/services/package.json +4 -0
- package/theme/styles/index.css +12 -7
- package/theme/token/package.json +4 -0
- package/types/ojiepermana-angular-component-accordion.d.ts +51 -0
- package/types/ojiepermana-angular-component-alert-dialog.d.ts +93 -0
- package/types/ojiepermana-angular-component-alert.d.ts +37 -0
- package/types/ojiepermana-angular-component-aspect-ratio.d.ts +12 -0
- package/types/ojiepermana-angular-component-avatar.d.ts +51 -0
- package/types/ojiepermana-angular-component-badge.d.ts +19 -0
- package/types/ojiepermana-angular-component-breadcrumb.d.ts +46 -0
- package/types/ojiepermana-angular-component-button-group.d.ts +26 -0
- package/types/ojiepermana-angular-component-button.d.ts +22 -0
- package/types/ojiepermana-angular-component-calendar.d.ts +33 -0
- package/types/ojiepermana-angular-component-card.d.ts +60 -0
- package/types/ojiepermana-angular-component-carousel.d.ts +86 -0
- package/types/ojiepermana-angular-component-chart-area.d.ts +1 -0
- package/types/ojiepermana-angular-component-chart-bar.d.ts +1 -0
- package/types/ojiepermana-angular-component-chart-line.d.ts +1 -0
- package/types/ojiepermana-angular-component-chart-pie.d.ts +1 -0
- package/types/ojiepermana-angular-component-chart-radar.d.ts +1 -0
- package/types/ojiepermana-angular-component-chart-radial.d.ts +1 -0
- package/types/ojiepermana-angular-component-chart-scatter.d.ts +1 -0
- package/types/{ojiepermana-angular-chart.d.ts → ojiepermana-angular-component-chart.d.ts} +15 -15
- package/types/ojiepermana-angular-component-checkbox.d.ts +35 -0
- package/types/ojiepermana-angular-component-collapsible.d.ts +42 -0
- package/types/ojiepermana-angular-component-combobox.d.ts +51 -0
- package/types/ojiepermana-angular-component-command.d.ts +99 -0
- package/types/ojiepermana-angular-component-context-menu.d.ts +35 -0
- package/types/ojiepermana-angular-component-date-picker.d.ts +41 -0
- package/types/ojiepermana-angular-component-dialog.d.ts +87 -0
- package/types/ojiepermana-angular-component-drawer.d.ts +1 -0
- package/types/ojiepermana-angular-component-dropdown-menu.d.ts +135 -0
- package/types/ojiepermana-angular-component-form.d.ts +92 -0
- package/types/ojiepermana-angular-component-input-group.d.ts +51 -0
- package/types/ojiepermana-angular-component-input.d.ts +16 -0
- package/types/ojiepermana-angular-component-item.d.ts +88 -0
- package/types/ojiepermana-angular-component-label.d.ts +11 -0
- package/types/ojiepermana-angular-component-pagination.d.ts +27 -0
- package/types/ojiepermana-angular-component-popover.d.ts +43 -0
- package/types/ojiepermana-angular-component-progress.d.ts +17 -0
- package/types/ojiepermana-angular-component-radio.d.ts +34 -0
- package/types/ojiepermana-angular-component-scroll-area.d.ts +19 -0
- package/types/ojiepermana-angular-component-select.d.ts +45 -0
- package/types/ojiepermana-angular-component-separator.d.ts +14 -0
- package/types/ojiepermana-angular-component-sheet.d.ts +74 -0
- package/types/ojiepermana-angular-component-skeleton.d.ts +10 -0
- package/types/ojiepermana-angular-component-slider.d.ts +16 -0
- package/types/ojiepermana-angular-component-switch.d.ts +30 -0
- package/types/ojiepermana-angular-component-table.d.ts +52 -0
- package/types/ojiepermana-angular-component-tabs.d.ts +92 -0
- package/types/ojiepermana-angular-component-textarea.d.ts +12 -0
- package/types/ojiepermana-angular-component-toast.d.ts +29 -0
- package/types/ojiepermana-angular-component-tooltip.d.ts +22 -0
- package/types/ojiepermana-angular-component-utils.d.ts +5 -0
- package/types/ojiepermana-angular-generator-api.d.ts +2 -1
- package/types/ojiepermana-angular-layout-component.d.ts +205 -0
- package/types/ojiepermana-angular-layout-empty.d.ts +22 -0
- package/types/ojiepermana-angular-layout-horizontal.d.ts +36 -0
- package/types/ojiepermana-angular-layout-provider.d.ts +6 -0
- package/types/ojiepermana-angular-layout-services.d.ts +25 -0
- package/types/ojiepermana-angular-layout-shell.d.ts +8 -0
- package/types/ojiepermana-angular-layout-token-directive.d.ts +13 -0
- package/types/ojiepermana-angular-layout-token.d.ts +36 -0
- package/types/ojiepermana-angular-layout-vertical.d.ts +38 -0
- package/types/ojiepermana-angular-layout.d.ts +27 -26
- package/types/ojiepermana-angular-navigation-demo-data.d.ts +5 -0
- package/types/ojiepermana-angular-navigation-icon.d.ts +17 -0
- package/types/ojiepermana-angular-navigation-item.d.ts +54 -0
- package/types/ojiepermana-angular-navigation-service.d.ts +77 -0
- package/types/ojiepermana-angular-navigation-sidebar.d.ts +75 -0
- package/types/ojiepermana-angular-navigation-topbar.d.ts +54 -0
- package/types/ojiepermana-angular-navigation-types.d.ts +129 -0
- package/types/ojiepermana-angular-theme-provider.d.ts +11 -0
- package/types/ojiepermana-angular-theme-services.d.ts +55 -0
- package/types/ojiepermana-angular-theme-token.d.ts +57 -0
- package/types/ojiepermana-angular-theme.d.ts +11 -66
- package/chart/README.md +0 -0
- package/chart/package.json +0 -4
- package/component/package.json +0 -4
- package/fesm2022/ojiepermana-angular-chart.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component.mjs +0 -5774
- package/fesm2022/ojiepermana-angular-component.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-navigation.mjs +0 -2369
- package/fesm2022/ojiepermana-angular-navigation.mjs.map +0 -1
- package/navigation/package.json +0 -4
- package/types/ojiepermana-angular-component.d.ts +0 -1927
- package/types/ojiepermana-angular-navigation.d.ts +0 -393
- /package/theme/styles/{themes/library/_components.css → foundation/components.css} +0 -0
- /package/theme/styles/{themes/library/_layers.css → foundation/layers.css} +0 -0
- /package/theme/styles/{themes/library/_tokens.css → foundation/tokens.css} +0 -0
- /package/theme/styles/{themes/library/_material-overrides.css → integrations/material.css} +0 -0
- /package/theme/styles/{themes → integrations}/tailwind.css +0 -0
- /package/theme/styles/{themes/library → variants}/color/amber.css +0 -0
- /package/theme/styles/{themes/library → variants}/color/base.css +0 -0
- /package/theme/styles/{themes/library → variants}/color/blue.css +0 -0
- /package/theme/styles/{themes/library → variants}/color/cyan.css +0 -0
- /package/theme/styles/{themes/library → variants}/color/emerald.css +0 -0
- /package/theme/styles/{themes/library → variants}/color/fuchsia.css +0 -0
- /package/theme/styles/{themes/library → variants}/color/green.css +0 -0
- /package/theme/styles/{themes/library → variants}/color/index.css +0 -0
- /package/theme/styles/{themes/library → variants}/color/indigo.css +0 -0
- /package/theme/styles/{themes/library → variants}/color/lime.css +0 -0
- /package/theme/styles/{themes/library → variants}/color/orange.css +0 -0
- /package/theme/styles/{themes/library → variants}/color/pink.css +0 -0
- /package/theme/styles/{themes/library → variants}/color/purple.css +0 -0
- /package/theme/styles/{themes/library → variants}/color/red.css +0 -0
- /package/theme/styles/{themes/library → variants}/color/rose.css +0 -0
- /package/theme/styles/{themes/library → variants}/color/sky.css +0 -0
- /package/theme/styles/{themes/library → variants}/color/teal.css +0 -0
- /package/theme/styles/{themes/library → variants}/color/violet.css +0 -0
- /package/theme/styles/{themes/library → variants}/color/yellow.css +0 -0
- /package/theme/styles/{themes → variants}/mode/dark.css +0 -0
- /package/theme/styles/{themes → variants}/mode/index.css +0 -0
- /package/theme/styles/{themes → variants}/mode/light.css +0 -0
- /package/theme/styles/{themes/library → variants}/style/brutal.css +0 -0
- /package/theme/styles/{themes/library → variants}/style/default.css +0 -0
- /package/theme/styles/{themes/library → variants}/style/index.css +0 -0
- /package/theme/styles/{themes/library → variants}/style/sharp.css +0 -0
- /package/theme/styles/{themes/library → variants}/style/soft.css +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ojiepermana/angular",
|
|
3
|
-
"version": "21.
|
|
3
|
+
"version": "21.3.3",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/ojiepermana/angular.git"
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"exports": {
|
|
72
72
|
"./theme/styles": "./theme/styles/index.css",
|
|
73
73
|
"./theme/styles/*": "./theme/styles/*",
|
|
74
|
-
"./theme/tailwind/theme.css": "./theme/styles/
|
|
74
|
+
"./theme/tailwind/theme.css": "./theme/styles/integrations/tailwind.css",
|
|
75
75
|
"./package.json": {
|
|
76
76
|
"default": "./package.json"
|
|
77
77
|
},
|
|
@@ -79,13 +79,209 @@
|
|
|
79
79
|
"types": "./types/ojiepermana-angular.d.ts",
|
|
80
80
|
"default": "./fesm2022/ojiepermana-angular.mjs"
|
|
81
81
|
},
|
|
82
|
-
"./
|
|
83
|
-
"types": "./types/ojiepermana-angular-
|
|
84
|
-
"default": "./fesm2022/ojiepermana-angular-
|
|
82
|
+
"./component/accordion": {
|
|
83
|
+
"types": "./types/ojiepermana-angular-component-accordion.d.ts",
|
|
84
|
+
"default": "./fesm2022/ojiepermana-angular-component-accordion.mjs"
|
|
85
85
|
},
|
|
86
|
-
"./component": {
|
|
87
|
-
"types": "./types/ojiepermana-angular-component.d.ts",
|
|
88
|
-
"default": "./fesm2022/ojiepermana-angular-component.mjs"
|
|
86
|
+
"./component/alert": {
|
|
87
|
+
"types": "./types/ojiepermana-angular-component-alert.d.ts",
|
|
88
|
+
"default": "./fesm2022/ojiepermana-angular-component-alert.mjs"
|
|
89
|
+
},
|
|
90
|
+
"./component/alert-dialog": {
|
|
91
|
+
"types": "./types/ojiepermana-angular-component-alert-dialog.d.ts",
|
|
92
|
+
"default": "./fesm2022/ojiepermana-angular-component-alert-dialog.mjs"
|
|
93
|
+
},
|
|
94
|
+
"./component/aspect-ratio": {
|
|
95
|
+
"types": "./types/ojiepermana-angular-component-aspect-ratio.d.ts",
|
|
96
|
+
"default": "./fesm2022/ojiepermana-angular-component-aspect-ratio.mjs"
|
|
97
|
+
},
|
|
98
|
+
"./component/avatar": {
|
|
99
|
+
"types": "./types/ojiepermana-angular-component-avatar.d.ts",
|
|
100
|
+
"default": "./fesm2022/ojiepermana-angular-component-avatar.mjs"
|
|
101
|
+
},
|
|
102
|
+
"./component/badge": {
|
|
103
|
+
"types": "./types/ojiepermana-angular-component-badge.d.ts",
|
|
104
|
+
"default": "./fesm2022/ojiepermana-angular-component-badge.mjs"
|
|
105
|
+
},
|
|
106
|
+
"./component/breadcrumb": {
|
|
107
|
+
"types": "./types/ojiepermana-angular-component-breadcrumb.d.ts",
|
|
108
|
+
"default": "./fesm2022/ojiepermana-angular-component-breadcrumb.mjs"
|
|
109
|
+
},
|
|
110
|
+
"./component/button": {
|
|
111
|
+
"types": "./types/ojiepermana-angular-component-button.d.ts",
|
|
112
|
+
"default": "./fesm2022/ojiepermana-angular-component-button.mjs"
|
|
113
|
+
},
|
|
114
|
+
"./component/button-group": {
|
|
115
|
+
"types": "./types/ojiepermana-angular-component-button-group.d.ts",
|
|
116
|
+
"default": "./fesm2022/ojiepermana-angular-component-button-group.mjs"
|
|
117
|
+
},
|
|
118
|
+
"./component/calendar": {
|
|
119
|
+
"types": "./types/ojiepermana-angular-component-calendar.d.ts",
|
|
120
|
+
"default": "./fesm2022/ojiepermana-angular-component-calendar.mjs"
|
|
121
|
+
},
|
|
122
|
+
"./component/card": {
|
|
123
|
+
"types": "./types/ojiepermana-angular-component-card.d.ts",
|
|
124
|
+
"default": "./fesm2022/ojiepermana-angular-component-card.mjs"
|
|
125
|
+
},
|
|
126
|
+
"./component/carousel": {
|
|
127
|
+
"types": "./types/ojiepermana-angular-component-carousel.d.ts",
|
|
128
|
+
"default": "./fesm2022/ojiepermana-angular-component-carousel.mjs"
|
|
129
|
+
},
|
|
130
|
+
"./component/chart": {
|
|
131
|
+
"types": "./types/ojiepermana-angular-component-chart.d.ts",
|
|
132
|
+
"default": "./fesm2022/ojiepermana-angular-component-chart.mjs"
|
|
133
|
+
},
|
|
134
|
+
"./component/chart/area": {
|
|
135
|
+
"types": "./types/ojiepermana-angular-component-chart-area.d.ts",
|
|
136
|
+
"default": "./fesm2022/ojiepermana-angular-component-chart-area.mjs"
|
|
137
|
+
},
|
|
138
|
+
"./component/chart/bar": {
|
|
139
|
+
"types": "./types/ojiepermana-angular-component-chart-bar.d.ts",
|
|
140
|
+
"default": "./fesm2022/ojiepermana-angular-component-chart-bar.mjs"
|
|
141
|
+
},
|
|
142
|
+
"./component/chart/line": {
|
|
143
|
+
"types": "./types/ojiepermana-angular-component-chart-line.d.ts",
|
|
144
|
+
"default": "./fesm2022/ojiepermana-angular-component-chart-line.mjs"
|
|
145
|
+
},
|
|
146
|
+
"./component/chart/pie": {
|
|
147
|
+
"types": "./types/ojiepermana-angular-component-chart-pie.d.ts",
|
|
148
|
+
"default": "./fesm2022/ojiepermana-angular-component-chart-pie.mjs"
|
|
149
|
+
},
|
|
150
|
+
"./component/chart/radar": {
|
|
151
|
+
"types": "./types/ojiepermana-angular-component-chart-radar.d.ts",
|
|
152
|
+
"default": "./fesm2022/ojiepermana-angular-component-chart-radar.mjs"
|
|
153
|
+
},
|
|
154
|
+
"./component/chart/radial": {
|
|
155
|
+
"types": "./types/ojiepermana-angular-component-chart-radial.d.ts",
|
|
156
|
+
"default": "./fesm2022/ojiepermana-angular-component-chart-radial.mjs"
|
|
157
|
+
},
|
|
158
|
+
"./component/chart/scatter": {
|
|
159
|
+
"types": "./types/ojiepermana-angular-component-chart-scatter.d.ts",
|
|
160
|
+
"default": "./fesm2022/ojiepermana-angular-component-chart-scatter.mjs"
|
|
161
|
+
},
|
|
162
|
+
"./component/checkbox": {
|
|
163
|
+
"types": "./types/ojiepermana-angular-component-checkbox.d.ts",
|
|
164
|
+
"default": "./fesm2022/ojiepermana-angular-component-checkbox.mjs"
|
|
165
|
+
},
|
|
166
|
+
"./component/collapsible": {
|
|
167
|
+
"types": "./types/ojiepermana-angular-component-collapsible.d.ts",
|
|
168
|
+
"default": "./fesm2022/ojiepermana-angular-component-collapsible.mjs"
|
|
169
|
+
},
|
|
170
|
+
"./component/combobox": {
|
|
171
|
+
"types": "./types/ojiepermana-angular-component-combobox.d.ts",
|
|
172
|
+
"default": "./fesm2022/ojiepermana-angular-component-combobox.mjs"
|
|
173
|
+
},
|
|
174
|
+
"./component/command": {
|
|
175
|
+
"types": "./types/ojiepermana-angular-component-command.d.ts",
|
|
176
|
+
"default": "./fesm2022/ojiepermana-angular-component-command.mjs"
|
|
177
|
+
},
|
|
178
|
+
"./component/context-menu": {
|
|
179
|
+
"types": "./types/ojiepermana-angular-component-context-menu.d.ts",
|
|
180
|
+
"default": "./fesm2022/ojiepermana-angular-component-context-menu.mjs"
|
|
181
|
+
},
|
|
182
|
+
"./component/date-picker": {
|
|
183
|
+
"types": "./types/ojiepermana-angular-component-date-picker.d.ts",
|
|
184
|
+
"default": "./fesm2022/ojiepermana-angular-component-date-picker.mjs"
|
|
185
|
+
},
|
|
186
|
+
"./component/dialog": {
|
|
187
|
+
"types": "./types/ojiepermana-angular-component-dialog.d.ts",
|
|
188
|
+
"default": "./fesm2022/ojiepermana-angular-component-dialog.mjs"
|
|
189
|
+
},
|
|
190
|
+
"./component/drawer": {
|
|
191
|
+
"types": "./types/ojiepermana-angular-component-drawer.d.ts",
|
|
192
|
+
"default": "./fesm2022/ojiepermana-angular-component-drawer.mjs"
|
|
193
|
+
},
|
|
194
|
+
"./component/dropdown-menu": {
|
|
195
|
+
"types": "./types/ojiepermana-angular-component-dropdown-menu.d.ts",
|
|
196
|
+
"default": "./fesm2022/ojiepermana-angular-component-dropdown-menu.mjs"
|
|
197
|
+
},
|
|
198
|
+
"./component/form": {
|
|
199
|
+
"types": "./types/ojiepermana-angular-component-form.d.ts",
|
|
200
|
+
"default": "./fesm2022/ojiepermana-angular-component-form.mjs"
|
|
201
|
+
},
|
|
202
|
+
"./component/input": {
|
|
203
|
+
"types": "./types/ojiepermana-angular-component-input.d.ts",
|
|
204
|
+
"default": "./fesm2022/ojiepermana-angular-component-input.mjs"
|
|
205
|
+
},
|
|
206
|
+
"./component/input-group": {
|
|
207
|
+
"types": "./types/ojiepermana-angular-component-input-group.d.ts",
|
|
208
|
+
"default": "./fesm2022/ojiepermana-angular-component-input-group.mjs"
|
|
209
|
+
},
|
|
210
|
+
"./component/item": {
|
|
211
|
+
"types": "./types/ojiepermana-angular-component-item.d.ts",
|
|
212
|
+
"default": "./fesm2022/ojiepermana-angular-component-item.mjs"
|
|
213
|
+
},
|
|
214
|
+
"./component/label": {
|
|
215
|
+
"types": "./types/ojiepermana-angular-component-label.d.ts",
|
|
216
|
+
"default": "./fesm2022/ojiepermana-angular-component-label.mjs"
|
|
217
|
+
},
|
|
218
|
+
"./component/pagination": {
|
|
219
|
+
"types": "./types/ojiepermana-angular-component-pagination.d.ts",
|
|
220
|
+
"default": "./fesm2022/ojiepermana-angular-component-pagination.mjs"
|
|
221
|
+
},
|
|
222
|
+
"./component/popover": {
|
|
223
|
+
"types": "./types/ojiepermana-angular-component-popover.d.ts",
|
|
224
|
+
"default": "./fesm2022/ojiepermana-angular-component-popover.mjs"
|
|
225
|
+
},
|
|
226
|
+
"./component/progress": {
|
|
227
|
+
"types": "./types/ojiepermana-angular-component-progress.d.ts",
|
|
228
|
+
"default": "./fesm2022/ojiepermana-angular-component-progress.mjs"
|
|
229
|
+
},
|
|
230
|
+
"./component/radio": {
|
|
231
|
+
"types": "./types/ojiepermana-angular-component-radio.d.ts",
|
|
232
|
+
"default": "./fesm2022/ojiepermana-angular-component-radio.mjs"
|
|
233
|
+
},
|
|
234
|
+
"./component/scroll-area": {
|
|
235
|
+
"types": "./types/ojiepermana-angular-component-scroll-area.d.ts",
|
|
236
|
+
"default": "./fesm2022/ojiepermana-angular-component-scroll-area.mjs"
|
|
237
|
+
},
|
|
238
|
+
"./component/select": {
|
|
239
|
+
"types": "./types/ojiepermana-angular-component-select.d.ts",
|
|
240
|
+
"default": "./fesm2022/ojiepermana-angular-component-select.mjs"
|
|
241
|
+
},
|
|
242
|
+
"./component/separator": {
|
|
243
|
+
"types": "./types/ojiepermana-angular-component-separator.d.ts",
|
|
244
|
+
"default": "./fesm2022/ojiepermana-angular-component-separator.mjs"
|
|
245
|
+
},
|
|
246
|
+
"./component/sheet": {
|
|
247
|
+
"types": "./types/ojiepermana-angular-component-sheet.d.ts",
|
|
248
|
+
"default": "./fesm2022/ojiepermana-angular-component-sheet.mjs"
|
|
249
|
+
},
|
|
250
|
+
"./component/skeleton": {
|
|
251
|
+
"types": "./types/ojiepermana-angular-component-skeleton.d.ts",
|
|
252
|
+
"default": "./fesm2022/ojiepermana-angular-component-skeleton.mjs"
|
|
253
|
+
},
|
|
254
|
+
"./component/slider": {
|
|
255
|
+
"types": "./types/ojiepermana-angular-component-slider.d.ts",
|
|
256
|
+
"default": "./fesm2022/ojiepermana-angular-component-slider.mjs"
|
|
257
|
+
},
|
|
258
|
+
"./component/switch": {
|
|
259
|
+
"types": "./types/ojiepermana-angular-component-switch.d.ts",
|
|
260
|
+
"default": "./fesm2022/ojiepermana-angular-component-switch.mjs"
|
|
261
|
+
},
|
|
262
|
+
"./component/table": {
|
|
263
|
+
"types": "./types/ojiepermana-angular-component-table.d.ts",
|
|
264
|
+
"default": "./fesm2022/ojiepermana-angular-component-table.mjs"
|
|
265
|
+
},
|
|
266
|
+
"./component/tabs": {
|
|
267
|
+
"types": "./types/ojiepermana-angular-component-tabs.d.ts",
|
|
268
|
+
"default": "./fesm2022/ojiepermana-angular-component-tabs.mjs"
|
|
269
|
+
},
|
|
270
|
+
"./component/textarea": {
|
|
271
|
+
"types": "./types/ojiepermana-angular-component-textarea.d.ts",
|
|
272
|
+
"default": "./fesm2022/ojiepermana-angular-component-textarea.mjs"
|
|
273
|
+
},
|
|
274
|
+
"./component/toast": {
|
|
275
|
+
"types": "./types/ojiepermana-angular-component-toast.d.ts",
|
|
276
|
+
"default": "./fesm2022/ojiepermana-angular-component-toast.mjs"
|
|
277
|
+
},
|
|
278
|
+
"./component/tooltip": {
|
|
279
|
+
"types": "./types/ojiepermana-angular-component-tooltip.d.ts",
|
|
280
|
+
"default": "./fesm2022/ojiepermana-angular-component-tooltip.mjs"
|
|
281
|
+
},
|
|
282
|
+
"./component/utils": {
|
|
283
|
+
"types": "./types/ojiepermana-angular-component-utils.d.ts",
|
|
284
|
+
"default": "./fesm2022/ojiepermana-angular-component-utils.mjs"
|
|
89
285
|
},
|
|
90
286
|
"./generator/api": {
|
|
91
287
|
"types": "./types/ojiepermana-angular-generator-api.d.ts",
|
|
@@ -95,21 +291,93 @@
|
|
|
95
291
|
"types": "./types/ojiepermana-angular-layout.d.ts",
|
|
96
292
|
"default": "./fesm2022/ojiepermana-angular-layout.mjs"
|
|
97
293
|
},
|
|
98
|
-
"./
|
|
99
|
-
"types": "./types/ojiepermana-angular-
|
|
100
|
-
"default": "./fesm2022/ojiepermana-angular-
|
|
294
|
+
"./layout/component": {
|
|
295
|
+
"types": "./types/ojiepermana-angular-layout-component.d.ts",
|
|
296
|
+
"default": "./fesm2022/ojiepermana-angular-layout-component.mjs"
|
|
297
|
+
},
|
|
298
|
+
"./layout/empty": {
|
|
299
|
+
"types": "./types/ojiepermana-angular-layout-empty.d.ts",
|
|
300
|
+
"default": "./fesm2022/ojiepermana-angular-layout-empty.mjs"
|
|
301
|
+
},
|
|
302
|
+
"./layout/horizontal": {
|
|
303
|
+
"types": "./types/ojiepermana-angular-layout-horizontal.d.ts",
|
|
304
|
+
"default": "./fesm2022/ojiepermana-angular-layout-horizontal.mjs"
|
|
305
|
+
},
|
|
306
|
+
"./layout/provider": {
|
|
307
|
+
"types": "./types/ojiepermana-angular-layout-provider.d.ts",
|
|
308
|
+
"default": "./fesm2022/ojiepermana-angular-layout-provider.mjs"
|
|
309
|
+
},
|
|
310
|
+
"./layout/services": {
|
|
311
|
+
"types": "./types/ojiepermana-angular-layout-services.d.ts",
|
|
312
|
+
"default": "./fesm2022/ojiepermana-angular-layout-services.mjs"
|
|
313
|
+
},
|
|
314
|
+
"./layout/shell": {
|
|
315
|
+
"types": "./types/ojiepermana-angular-layout-shell.d.ts",
|
|
316
|
+
"default": "./fesm2022/ojiepermana-angular-layout-shell.mjs"
|
|
317
|
+
},
|
|
318
|
+
"./layout/token": {
|
|
319
|
+
"types": "./types/ojiepermana-angular-layout-token.d.ts",
|
|
320
|
+
"default": "./fesm2022/ojiepermana-angular-layout-token.mjs"
|
|
321
|
+
},
|
|
322
|
+
"./layout/token/directive": {
|
|
323
|
+
"types": "./types/ojiepermana-angular-layout-token-directive.d.ts",
|
|
324
|
+
"default": "./fesm2022/ojiepermana-angular-layout-token-directive.mjs"
|
|
325
|
+
},
|
|
326
|
+
"./layout/vertical": {
|
|
327
|
+
"types": "./types/ojiepermana-angular-layout-vertical.d.ts",
|
|
328
|
+
"default": "./fesm2022/ojiepermana-angular-layout-vertical.mjs"
|
|
329
|
+
},
|
|
330
|
+
"./navigation/demo-data": {
|
|
331
|
+
"types": "./types/ojiepermana-angular-navigation-demo-data.d.ts",
|
|
332
|
+
"default": "./fesm2022/ojiepermana-angular-navigation-demo-data.mjs"
|
|
333
|
+
},
|
|
334
|
+
"./navigation/icon": {
|
|
335
|
+
"types": "./types/ojiepermana-angular-navigation-icon.d.ts",
|
|
336
|
+
"default": "./fesm2022/ojiepermana-angular-navigation-icon.mjs"
|
|
337
|
+
},
|
|
338
|
+
"./navigation/item": {
|
|
339
|
+
"types": "./types/ojiepermana-angular-navigation-item.d.ts",
|
|
340
|
+
"default": "./fesm2022/ojiepermana-angular-navigation-item.mjs"
|
|
341
|
+
},
|
|
342
|
+
"./navigation/service": {
|
|
343
|
+
"types": "./types/ojiepermana-angular-navigation-service.d.ts",
|
|
344
|
+
"default": "./fesm2022/ojiepermana-angular-navigation-service.mjs"
|
|
345
|
+
},
|
|
346
|
+
"./navigation/sidebar": {
|
|
347
|
+
"types": "./types/ojiepermana-angular-navigation-sidebar.d.ts",
|
|
348
|
+
"default": "./fesm2022/ojiepermana-angular-navigation-sidebar.mjs"
|
|
349
|
+
},
|
|
350
|
+
"./navigation/topbar": {
|
|
351
|
+
"types": "./types/ojiepermana-angular-navigation-topbar.d.ts",
|
|
352
|
+
"default": "./fesm2022/ojiepermana-angular-navigation-topbar.mjs"
|
|
353
|
+
},
|
|
354
|
+
"./navigation/types": {
|
|
355
|
+
"types": "./types/ojiepermana-angular-navigation-types.d.ts",
|
|
356
|
+
"default": "./fesm2022/ojiepermana-angular-navigation-types.mjs"
|
|
101
357
|
},
|
|
102
358
|
"./theme": {
|
|
103
359
|
"types": "./types/ojiepermana-angular-theme.d.ts",
|
|
104
360
|
"default": "./fesm2022/ojiepermana-angular-theme.mjs"
|
|
105
361
|
},
|
|
362
|
+
"./theme/provider": {
|
|
363
|
+
"types": "./types/ojiepermana-angular-theme-provider.d.ts",
|
|
364
|
+
"default": "./fesm2022/ojiepermana-angular-theme-provider.mjs"
|
|
365
|
+
},
|
|
366
|
+
"./theme/services": {
|
|
367
|
+
"types": "./types/ojiepermana-angular-theme-services.d.ts",
|
|
368
|
+
"default": "./fesm2022/ojiepermana-angular-theme-services.mjs"
|
|
369
|
+
},
|
|
370
|
+
"./theme/token": {
|
|
371
|
+
"types": "./types/ojiepermana-angular-theme-token.d.ts",
|
|
372
|
+
"default": "./fesm2022/ojiepermana-angular-theme-token.mjs"
|
|
373
|
+
},
|
|
106
374
|
"./layout/shell/pages": {
|
|
107
|
-
"types": "./types/ojiepermana-angular-layout.d.ts",
|
|
108
|
-
"default": "./fesm2022/ojiepermana-angular-layout.mjs"
|
|
375
|
+
"types": "./types/ojiepermana-angular-layout-shell.d.ts",
|
|
376
|
+
"default": "./fesm2022/ojiepermana-angular-layout-shell.mjs"
|
|
109
377
|
},
|
|
110
|
-
"./
|
|
111
|
-
"types": "./types/ojiepermana-angular-
|
|
112
|
-
"default": "./fesm2022/ojiepermana-angular-
|
|
378
|
+
"./navigation-icon": {
|
|
379
|
+
"types": "./types/ojiepermana-angular-navigation-icon.d.ts",
|
|
380
|
+
"default": "./fesm2022/ojiepermana-angular-navigation-icon.mjs"
|
|
113
381
|
}
|
|
114
382
|
},
|
|
115
383
|
"module": "fesm2022/ojiepermana-angular.mjs",
|
package/theme/README.md
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
# Theme
|
|
2
|
+
|
|
3
|
+
Shared runtime theme engine and CSS asset surface for `@ojiepermana/angular`.
|
|
4
|
+
|
|
5
|
+
This secondary entrypoint provides:
|
|
6
|
+
|
|
7
|
+
- `@ojiepermana/angular/theme` for `provideMaterialTheme`, `withMaterialDefaults`, `ThemeService`, and theme token types.
|
|
8
|
+
- `@ojiepermana/angular/theme/services` for `ThemeService`.
|
|
9
|
+
- `@ojiepermana/angular/theme/provider` for `provideMaterialTheme` and `withMaterialDefaults`.
|
|
10
|
+
- `@ojiepermana/angular/theme/token` for config types, guards, constants, and `MATERIAL_THEME_CONFIG`.
|
|
11
|
+
- `@ojiepermana/angular/theme/styles` for the root stylesheet that composes the active mode, color, and style layers.
|
|
12
|
+
- `@ojiepermana/angular/theme/tailwind/theme.css` for the Tailwind v4 token bridge.
|
|
13
|
+
|
|
14
|
+
## Consumer usage
|
|
15
|
+
|
|
16
|
+
```ts
|
|
17
|
+
import { provideMaterialTheme, withMaterialDefaults } from '@ojiepermana/angular/theme';
|
|
18
|
+
|
|
19
|
+
export const appConfig = {
|
|
20
|
+
providers: [
|
|
21
|
+
provideMaterialTheme(
|
|
22
|
+
{
|
|
23
|
+
mode: 'system',
|
|
24
|
+
color: 'base',
|
|
25
|
+
style: 'default',
|
|
26
|
+
},
|
|
27
|
+
withMaterialDefaults(),
|
|
28
|
+
),
|
|
29
|
+
],
|
|
30
|
+
};
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
```css
|
|
34
|
+
@import '@ojiepermana/angular/theme/styles';
|
|
35
|
+
@import 'tailwindcss';
|
|
36
|
+
@import '@ojiepermana/angular/theme/tailwind/theme.css';
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
The public import contract stays stable even if the source files inside this
|
|
40
|
+
entrypoint move.
|
|
41
|
+
|
|
42
|
+
## Source layout
|
|
43
|
+
|
|
44
|
+
- `public-api.ts` aggregates the granular runtime entrypoints for `@ojiepermana/angular/theme`.
|
|
45
|
+
- `services/src/lib` owns `ThemeService` plus its runtime tests.
|
|
46
|
+
- `provider/src/lib` owns DI provider helpers plus provider-focused tests.
|
|
47
|
+
- `token/src/lib` owns config types, guards, constants, and token-focused tests.
|
|
48
|
+
- `css/foundation` contains the cascade layer registration, shared semantic tokens, and component-facing global helpers.
|
|
49
|
+
- `css/variants/mode` contains light and dark mode layers.
|
|
50
|
+
- `css/variants/color` contains named color themes.
|
|
51
|
+
- `css/variants/style` contains style personality layers such as `default`, `sharp`, `brutal`, and `soft`.
|
|
52
|
+
- `css/integrations/material.css` maps theme tokens into Angular Material and MDC tokens.
|
|
53
|
+
- `css/integrations/tailwind.css` maps theme tokens into Tailwind v4 theme tokens.
|
|
54
|
+
|
|
55
|
+
## Local development
|
|
56
|
+
|
|
57
|
+
From the workspace root:
|
|
58
|
+
|
|
59
|
+
```bash
|
|
60
|
+
bun run test:theme
|
|
61
|
+
bun run build
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
`bun run test:theme` runs the isolated theme specs.
|
|
65
|
+
|
|
66
|
+
`bun run build` validates that the full library still packages the theme
|
|
67
|
+
entrypoint and exports the CSS assets correctly.
|
package/theme/styles/index.css
CHANGED
|
@@ -10,23 +10,28 @@
|
|
|
10
10
|
* Includes cascade layers, independent mode/color/style tokens, shared
|
|
11
11
|
* semantic tokens, and an Angular Material bridge so `mat-*` components
|
|
12
12
|
* inherit the active theme automatically.
|
|
13
|
+
*
|
|
14
|
+
* Source layout:
|
|
15
|
+
* foundation – shared layers, semantic tokens, and component helpers
|
|
16
|
+
* variants – mode, color, and style theme axes
|
|
17
|
+
* integrations – Angular Material and Tailwind bridges
|
|
13
18
|
*/
|
|
14
|
-
@import './
|
|
19
|
+
@import './foundation/layers.css';
|
|
15
20
|
|
|
16
21
|
/* Layer 1: mode variants. */
|
|
17
|
-
@import './
|
|
22
|
+
@import './variants/mode/index.css';
|
|
18
23
|
|
|
19
24
|
/* Layer 2: color variants. */
|
|
20
|
-
@import './
|
|
25
|
+
@import './variants/color/index.css';
|
|
21
26
|
|
|
22
27
|
/* Layer 3: style variants. */
|
|
23
|
-
@import './
|
|
28
|
+
@import './variants/style/index.css';
|
|
24
29
|
|
|
25
30
|
/* Shared semantic and library tokens. */
|
|
26
|
-
@import './
|
|
31
|
+
@import './foundation/tokens.css';
|
|
27
32
|
|
|
28
33
|
/* Angular Material M3 bridge. */
|
|
29
|
-
@import './
|
|
34
|
+
@import './integrations/material.css';
|
|
30
35
|
|
|
31
36
|
/* Global component-facing styles. */
|
|
32
|
-
@import './
|
|
37
|
+
@import './foundation/components.css';
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
|
|
3
|
+
type AccordionType = 'single' | 'multiple';
|
|
4
|
+
declare abstract class AccordionContextBase {
|
|
5
|
+
abstract isOpen(value: string): boolean;
|
|
6
|
+
abstract toggle(value: string): void;
|
|
7
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AccordionContextBase, never>;
|
|
8
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<AccordionContextBase, never, never, {}, {}, never, never, true, never>;
|
|
9
|
+
}
|
|
10
|
+
declare class AccordionComponent extends AccordionContextBase {
|
|
11
|
+
readonly type: _angular_core.InputSignal<AccordionType>;
|
|
12
|
+
readonly collapsible: _angular_core.InputSignal<boolean>;
|
|
13
|
+
readonly value: _angular_core.ModelSignal<string | string[] | null>;
|
|
14
|
+
readonly class: _angular_core.InputSignal<string>;
|
|
15
|
+
protected readonly classes: _angular_core.Signal<string>;
|
|
16
|
+
private readonly openSet;
|
|
17
|
+
isOpen(value: string): boolean;
|
|
18
|
+
toggle(value: string): void;
|
|
19
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AccordionComponent, never>;
|
|
20
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AccordionComponent, "ui-accordion", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "collapsible": { "alias": "collapsible"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, ["*"], true, never>;
|
|
21
|
+
}
|
|
22
|
+
declare class AccordionItemComponent {
|
|
23
|
+
protected readonly ctx: AccordionContextBase;
|
|
24
|
+
readonly value: _angular_core.InputSignal<string>;
|
|
25
|
+
readonly disabled: _angular_core.InputSignal<boolean>;
|
|
26
|
+
readonly class: _angular_core.InputSignal<string>;
|
|
27
|
+
readonly triggerId: string;
|
|
28
|
+
readonly contentId: string;
|
|
29
|
+
protected readonly classes: _angular_core.Signal<string>;
|
|
30
|
+
readonly open: _angular_core.Signal<boolean>;
|
|
31
|
+
toggle(): void;
|
|
32
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AccordionItemComponent, never>;
|
|
33
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AccordionItemComponent, "ui-accordion-item", never, { "value": { "alias": "value"; "required": true; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
34
|
+
}
|
|
35
|
+
declare class AccordionTriggerComponent {
|
|
36
|
+
protected readonly item: AccordionItemComponent;
|
|
37
|
+
readonly class: _angular_core.InputSignal<string>;
|
|
38
|
+
protected readonly classes: _angular_core.Signal<string>;
|
|
39
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AccordionTriggerComponent, never>;
|
|
40
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AccordionTriggerComponent, "button[ui-accordion-trigger]", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
41
|
+
}
|
|
42
|
+
declare class AccordionContentComponent {
|
|
43
|
+
protected readonly item: AccordionItemComponent;
|
|
44
|
+
readonly class: _angular_core.InputSignal<string>;
|
|
45
|
+
protected readonly classes: _angular_core.Signal<string>;
|
|
46
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AccordionContentComponent, never>;
|
|
47
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AccordionContentComponent, "ui-accordion-content", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export { AccordionComponent, AccordionContentComponent, AccordionContextBase, AccordionItemComponent, AccordionTriggerComponent };
|
|
51
|
+
export type { AccordionType };
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { ButtonVariant, ButtonSize } from '@ojiepermana/angular/component/button';
|
|
3
|
+
|
|
4
|
+
type AlertDialogSize = 'default' | 'sm';
|
|
5
|
+
|
|
6
|
+
declare class AlertDialogComponent {
|
|
7
|
+
readonly open: _angular_core.ModelSignal<boolean>;
|
|
8
|
+
readonly closeOnEscape: _angular_core.InputSignal<boolean>;
|
|
9
|
+
readonly closeOnBackdropClick: _angular_core.InputSignal<boolean>;
|
|
10
|
+
readonly showCloseButton: _angular_core.InputSignal<boolean>;
|
|
11
|
+
readonly closeButtonLabel: _angular_core.InputSignal<string>;
|
|
12
|
+
readonly labelledBy: _angular_core.InputSignal<string | null>;
|
|
13
|
+
readonly describedBy: _angular_core.InputSignal<string | null>;
|
|
14
|
+
readonly class: _angular_core.InputSignal<string>;
|
|
15
|
+
readonly openedChange: _angular_core.OutputEmitterRef<boolean>;
|
|
16
|
+
private readonly contentSize;
|
|
17
|
+
readonly resolvedSize: _angular_core.Signal<AlertDialogSize>;
|
|
18
|
+
protected readonly surfaceClasses: _angular_core.Signal<string>;
|
|
19
|
+
setContentSize(size: AlertDialogSize): void;
|
|
20
|
+
close(): void;
|
|
21
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AlertDialogComponent, never>;
|
|
22
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AlertDialogComponent, "ui-alert-dialog", never, { "open": { "alias": "open"; "required": false; "isSignal": true; }; "closeOnEscape": { "alias": "closeOnEscape"; "required": false; "isSignal": true; }; "closeOnBackdropClick": { "alias": "closeOnBackdropClick"; "required": false; "isSignal": true; }; "showCloseButton": { "alias": "showCloseButton"; "required": false; "isSignal": true; }; "closeButtonLabel": { "alias": "closeButtonLabel"; "required": false; "isSignal": true; }; "labelledBy": { "alias": "aria-labelledby"; "required": false; "isSignal": true; }; "describedBy": { "alias": "aria-describedby"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; }, { "open": "openChange"; "openedChange": "openedChange"; }, never, ["*"], true, never>;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
declare class AlertDialogContentComponent {
|
|
26
|
+
readonly size: _angular_core.InputSignal<AlertDialogSize>;
|
|
27
|
+
readonly class: _angular_core.InputSignal<string>;
|
|
28
|
+
private readonly alertDialog;
|
|
29
|
+
protected readonly classes: _angular_core.Signal<string>;
|
|
30
|
+
constructor();
|
|
31
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AlertDialogContentComponent, never>;
|
|
32
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AlertDialogContentComponent, "ui-alert-dialog-content", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
33
|
+
}
|
|
34
|
+
declare class AlertDialogHeaderComponent {
|
|
35
|
+
readonly class: _angular_core.InputSignal<string>;
|
|
36
|
+
protected readonly classes: _angular_core.Signal<string>;
|
|
37
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AlertDialogHeaderComponent, never>;
|
|
38
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AlertDialogHeaderComponent, "ui-alert-dialog-header", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
39
|
+
}
|
|
40
|
+
declare class AlertDialogTitleComponent {
|
|
41
|
+
readonly class: _angular_core.InputSignal<string>;
|
|
42
|
+
protected readonly classes: _angular_core.Signal<string>;
|
|
43
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AlertDialogTitleComponent, never>;
|
|
44
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AlertDialogTitleComponent, "ui-alert-dialog-title, h2[ui-alert-dialog-title]", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
45
|
+
}
|
|
46
|
+
declare class AlertDialogDescriptionComponent {
|
|
47
|
+
readonly class: _angular_core.InputSignal<string>;
|
|
48
|
+
protected readonly classes: _angular_core.Signal<string>;
|
|
49
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AlertDialogDescriptionComponent, never>;
|
|
50
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AlertDialogDescriptionComponent, "ui-alert-dialog-description, p[ui-alert-dialog-description]", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
51
|
+
}
|
|
52
|
+
declare class AlertDialogMediaComponent {
|
|
53
|
+
readonly class: _angular_core.InputSignal<string>;
|
|
54
|
+
private readonly alertDialog;
|
|
55
|
+
protected readonly classes: _angular_core.Signal<string>;
|
|
56
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AlertDialogMediaComponent, never>;
|
|
57
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AlertDialogMediaComponent, "ui-alert-dialog-media", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
58
|
+
}
|
|
59
|
+
declare class AlertDialogFooterComponent {
|
|
60
|
+
readonly class: _angular_core.InputSignal<string>;
|
|
61
|
+
protected readonly classes: _angular_core.Signal<string>;
|
|
62
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AlertDialogFooterComponent, never>;
|
|
63
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AlertDialogFooterComponent, "ui-alert-dialog-footer", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
64
|
+
}
|
|
65
|
+
declare class AlertDialogCancelComponent {
|
|
66
|
+
readonly variant: _angular_core.InputSignal<ButtonVariant>;
|
|
67
|
+
readonly size: _angular_core.InputSignal<ButtonSize>;
|
|
68
|
+
readonly closeOnClick: _angular_core.InputSignal<boolean>;
|
|
69
|
+
readonly class: _angular_core.InputSignal<string>;
|
|
70
|
+
private readonly host;
|
|
71
|
+
private readonly alertDialog;
|
|
72
|
+
protected readonly classes: _angular_core.Signal<string>;
|
|
73
|
+
protected readonly buttonType: _angular_core.Signal<"button" | null>;
|
|
74
|
+
protected handleClick(): void;
|
|
75
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AlertDialogCancelComponent, never>;
|
|
76
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AlertDialogCancelComponent, "button[ui-alert-dialog-cancel], a[ui-alert-dialog-cancel]", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "closeOnClick": { "alias": "closeOnClick"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
77
|
+
}
|
|
78
|
+
declare class AlertDialogActionComponent {
|
|
79
|
+
readonly variant: _angular_core.InputSignal<ButtonVariant>;
|
|
80
|
+
readonly size: _angular_core.InputSignal<ButtonSize>;
|
|
81
|
+
readonly closeOnClick: _angular_core.InputSignal<boolean>;
|
|
82
|
+
readonly class: _angular_core.InputSignal<string>;
|
|
83
|
+
private readonly host;
|
|
84
|
+
private readonly alertDialog;
|
|
85
|
+
protected readonly classes: _angular_core.Signal<string>;
|
|
86
|
+
protected readonly buttonType: _angular_core.Signal<"button" | null>;
|
|
87
|
+
protected handleClick(): void;
|
|
88
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AlertDialogActionComponent, never>;
|
|
89
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AlertDialogActionComponent, "button[ui-alert-dialog-action], a[ui-alert-dialog-action]", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "closeOnClick": { "alias": "closeOnClick"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export { AlertDialogActionComponent, AlertDialogCancelComponent, AlertDialogComponent, AlertDialogContentComponent, AlertDialogDescriptionComponent, AlertDialogFooterComponent, AlertDialogHeaderComponent, AlertDialogMediaComponent, AlertDialogTitleComponent };
|
|
93
|
+
export type { AlertDialogSize };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
|
+
import { VariantProps } from 'class-variance-authority';
|
|
4
|
+
|
|
5
|
+
declare const alertVariants: (props?: ({
|
|
6
|
+
variant?: "default" | "destructive" | null | undefined;
|
|
7
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
8
|
+
type AlertVariant = NonNullable<VariantProps<typeof alertVariants>['variant']>;
|
|
9
|
+
|
|
10
|
+
declare class AlertComponent {
|
|
11
|
+
readonly variant: _angular_core.InputSignal<AlertVariant>;
|
|
12
|
+
readonly class: _angular_core.InputSignal<string>;
|
|
13
|
+
protected readonly classes: _angular_core.Signal<string>;
|
|
14
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AlertComponent, never>;
|
|
15
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AlertComponent, "ui-alert", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
16
|
+
}
|
|
17
|
+
declare class AlertTitleComponent {
|
|
18
|
+
readonly class: _angular_core.InputSignal<string>;
|
|
19
|
+
protected readonly classes: _angular_core.Signal<string>;
|
|
20
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AlertTitleComponent, never>;
|
|
21
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AlertTitleComponent, "ui-alert-title, h5[ui-alert-title]", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
22
|
+
}
|
|
23
|
+
declare class AlertDescriptionComponent {
|
|
24
|
+
readonly class: _angular_core.InputSignal<string>;
|
|
25
|
+
protected readonly classes: _angular_core.Signal<string>;
|
|
26
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AlertDescriptionComponent, never>;
|
|
27
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AlertDescriptionComponent, "ui-alert-description", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
28
|
+
}
|
|
29
|
+
declare class AlertActionComponent {
|
|
30
|
+
readonly class: _angular_core.InputSignal<string>;
|
|
31
|
+
protected readonly classes: _angular_core.Signal<string>;
|
|
32
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AlertActionComponent, never>;
|
|
33
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AlertActionComponent, "ui-alert-action", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export { AlertActionComponent, AlertComponent, AlertDescriptionComponent, AlertTitleComponent, alertVariants };
|
|
37
|
+
export type { AlertVariant };
|