@ojiepermana/angular 22.0.1 → 22.0.27
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 +16 -302
- package/fesm2022/ojiepermana-angular-chart.mjs +11 -0
- package/fesm2022/ojiepermana-angular-chart.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-component.mjs +11 -0
- package/fesm2022/ojiepermana-angular-component.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-navigation.mjs +11 -0
- package/fesm2022/ojiepermana-angular-navigation.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-sdk.mjs +11 -0
- package/fesm2022/ojiepermana-angular-sdk.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-theme.mjs +3 -382
- package/fesm2022/ojiepermana-angular-theme.mjs.map +1 -1
- package/fesm2022/ojiepermana-angular.mjs +14 -14
- package/fesm2022/ojiepermana-angular.mjs.map +1 -1
- package/package.json +25 -425
- package/types/ojiepermana-angular-chart.d.ts +1 -0
- package/types/ojiepermana-angular-component.d.ts +1 -0
- package/types/ojiepermana-angular-navigation.d.ts +1 -0
- package/types/ojiepermana-angular-sdk.d.ts +1 -0
- package/types/ojiepermana-angular-theme.d.ts +1 -116
- package/types/ojiepermana-angular.d.ts +5 -3
- package/.npmignore +0 -2
- package/collection.json +0 -30
- package/component/accordion/README.md +0 -195
- package/component/accordion/package.json +0 -4
- package/component/alert/README.md +0 -182
- package/component/alert/package.json +0 -4
- package/component/alert-dialog/README.md +0 -239
- package/component/alert-dialog/package.json +0 -4
- package/component/aspect-ratio/README.md +0 -112
- package/component/aspect-ratio/package.json +0 -4
- package/component/avatar/README.md +0 -176
- package/component/avatar/package.json +0 -4
- package/component/badge/README.md +0 -133
- package/component/badge/package.json +0 -4
- package/component/breadcrumb/README.md +0 -216
- package/component/breadcrumb/package.json +0 -4
- package/component/button/README.md +0 -139
- package/component/button/package.json +0 -4
- package/component/button-group/README.md +0 -208
- package/component/button-group/package.json +0 -4
- package/component/calendar/README.md +0 -132
- package/component/calendar/package.json +0 -4
- package/component/card/README.md +0 -220
- package/component/card/package.json +0 -4
- package/component/carousel/README.md +0 -276
- package/component/carousel/package.json +0 -4
- package/component/chart/README.md +0 -249
- package/component/chart/area/package.json +0 -4
- package/component/chart/bar/package.json +0 -4
- package/component/chart/line/package.json +0 -4
- package/component/chart/package.json +0 -4
- package/component/chart/pie/package.json +0 -4
- package/component/chart/radar/package.json +0 -4
- package/component/chart/radial/package.json +0 -4
- package/component/chart/scatter/package.json +0 -4
- package/component/checkbox/README.md +0 -149
- package/component/checkbox/package.json +0 -4
- package/component/collapsible/README.md +0 -195
- package/component/collapsible/package.json +0 -4
- package/component/combobox/README.md +0 -198
- package/component/combobox/package.json +0 -4
- package/component/command/README.md +0 -275
- package/component/command/package.json +0 -4
- package/component/composer/README.md +0 -235
- package/component/composer/package.json +0 -4
- package/component/context-menu/README.md +0 -267
- package/component/context-menu/package.json +0 -4
- package/component/date-picker/README.md +0 -177
- package/component/date-picker/package.json +0 -4
- package/component/dialog/README.md +0 -237
- package/component/dialog/package.json +0 -4
- package/component/drawer/README.md +0 -145
- package/component/drawer/package.json +0 -4
- package/component/dropdown-menu/README.md +0 -311
- package/component/dropdown-menu/package.json +0 -4
- package/component/editor/README.md +0 -136
- package/component/editor/package.json +0 -4
- package/component/empty/README.md +0 -183
- package/component/empty/package.json +0 -4
- package/component/form/README.md +0 -210
- package/component/form/package.json +0 -4
- package/component/hover-card/README.md +0 -146
- package/component/hover-card/package.json +0 -4
- package/component/input/README.md +0 -159
- package/component/input/package.json +0 -4
- package/component/input-group/README.md +0 -239
- package/component/input-group/package.json +0 -4
- package/component/input-otp/README.md +0 -278
- package/component/input-otp/package.json +0 -4
- package/component/item/README.md +0 -247
- package/component/item/package.json +0 -4
- package/component/kanban/README.md +0 -81
- package/component/kanban/package.json +0 -4
- package/component/kbd/README.md +0 -139
- package/component/kbd/package.json +0 -4
- package/component/label/README.md +0 -136
- package/component/label/package.json +0 -4
- package/component/menubar/README.md +0 -269
- package/component/menubar/package.json +0 -4
- package/component/native-select/README.md +0 -176
- package/component/native-select/package.json +0 -4
- package/component/navigation-menu/README.md +0 -160
- package/component/navigation-menu/package.json +0 -4
- package/component/pagination/README.md +0 -144
- package/component/pagination/package.json +0 -4
- package/component/pillbox/README.md +0 -67
- package/component/pillbox/package.json +0 -4
- package/component/popover/README.md +0 -43
- package/component/popover/package.json +0 -4
- package/component/progress/README.md +0 -160
- package/component/progress/package.json +0 -4
- package/component/radio/README.md +0 -209
- package/component/radio/package.json +0 -4
- package/component/resizable/README.md +0 -168
- package/component/resizable/package.json +0 -4
- package/component/scroll-area/README.md +0 -143
- package/component/scroll-area/package.json +0 -4
- package/component/select/README.md +0 -174
- package/component/select/package.json +0 -4
- package/component/separator/README.md +0 -170
- package/component/separator/package.json +0 -4
- package/component/sheet/README.md +0 -183
- package/component/sheet/package.json +0 -4
- package/component/skeleton/README.md +0 -158
- package/component/skeleton/package.json +0 -4
- package/component/slider/README.md +0 -207
- package/component/slider/package.json +0 -4
- package/component/spinner/README.md +0 -160
- package/component/spinner/package.json +0 -4
- package/component/switch/README.md +0 -166
- package/component/switch/package.json +0 -4
- package/component/table/README.md +0 -291
- package/component/table/package.json +0 -4
- package/component/tabs/README.md +0 -219
- package/component/tabs/package.json +0 -4
- package/component/textarea/README.md +0 -154
- package/component/textarea/package.json +0 -4
- package/component/timeline/README.md +0 -94
- package/component/timeline/package.json +0 -4
- package/component/toast/README.md +0 -321
- package/component/toast/package.json +0 -4
- package/component/toggle/README.md +0 -131
- package/component/toggle/package.json +0 -4
- package/component/toggle-group/README.md +0 -206
- package/component/toggle-group/package.json +0 -4
- package/component/tooltip/README.md +0 -211
- package/component/tooltip/package.json +0 -4
- package/component/utils/package.json +0 -4
- package/fesm2022/ojiepermana-angular-component-accordion.mjs +0 -189
- package/fesm2022/ojiepermana-angular-component-accordion.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-alert-dialog.mjs +0 -276
- package/fesm2022/ojiepermana-angular-component-alert-dialog.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-alert.mjs +0 -99
- package/fesm2022/ojiepermana-angular-component-alert.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-aspect-ratio.mjs +0 -37
- package/fesm2022/ojiepermana-angular-component-aspect-ratio.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-avatar.mjs +0 -139
- package/fesm2022/ojiepermana-angular-component-avatar.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-badge.mjs +0 -50
- package/fesm2022/ojiepermana-angular-component-badge.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-breadcrumb.mjs +0 -200
- package/fesm2022/ojiepermana-angular-component-breadcrumb.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-button-group.mjs +0 -103
- package/fesm2022/ojiepermana-angular-component-button-group.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-button.mjs +0 -68
- package/fesm2022/ojiepermana-angular-component-button.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-calendar.mjs +0 -88
- package/fesm2022/ojiepermana-angular-component-calendar.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-card.mjs +0 -152
- package/fesm2022/ojiepermana-angular-component-card.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-carousel.mjs +0 -334
- package/fesm2022/ojiepermana-angular-component-carousel.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-chart-area.mjs +0 -6
- package/fesm2022/ojiepermana-angular-component-chart-area.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-chart-bar.mjs +0 -6
- package/fesm2022/ojiepermana-angular-component-chart-bar.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-chart-line.mjs +0 -6
- package/fesm2022/ojiepermana-angular-component-chart-line.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-chart-pie.mjs +0 -6
- package/fesm2022/ojiepermana-angular-component-chart-pie.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-chart-radar.mjs +0 -6
- package/fesm2022/ojiepermana-angular-component-chart-radar.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-chart-radial.mjs +0 -6
- package/fesm2022/ojiepermana-angular-component-chart-radial.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-chart-scatter.mjs +0 -6
- package/fesm2022/ojiepermana-angular-component-chart-scatter.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-chart.mjs +0 -3925
- package/fesm2022/ojiepermana-angular-component-chart.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-checkbox.mjs +0 -114
- package/fesm2022/ojiepermana-angular-component-checkbox.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-collapsible.mjs +0 -124
- package/fesm2022/ojiepermana-angular-component-collapsible.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-combobox.mjs +0 -272
- package/fesm2022/ojiepermana-angular-component-combobox.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-command.mjs +0 -293
- package/fesm2022/ojiepermana-angular-component-command.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-composer.mjs +0 -352
- package/fesm2022/ojiepermana-angular-component-composer.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-context-menu.mjs +0 -103
- package/fesm2022/ojiepermana-angular-component-context-menu.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-date-picker.mjs +0 -170
- package/fesm2022/ojiepermana-angular-component-date-picker.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-dialog.mjs +0 -279
- package/fesm2022/ojiepermana-angular-component-dialog.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-drawer.mjs +0 -6
- package/fesm2022/ojiepermana-angular-component-drawer.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-dropdown-menu.mjs +0 -492
- package/fesm2022/ojiepermana-angular-component-dropdown-menu.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-editor.mjs +0 -717
- package/fesm2022/ojiepermana-angular-component-editor.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-empty.mjs +0 -145
- package/fesm2022/ojiepermana-angular-component-empty.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-form.mjs +0 -366
- package/fesm2022/ojiepermana-angular-component-form.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-hover-card.mjs +0 -297
- package/fesm2022/ojiepermana-angular-component-hover-card.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-input-group.mjs +0 -179
- package/fesm2022/ojiepermana-angular-component-input-group.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-input-otp.mjs +0 -514
- package/fesm2022/ojiepermana-angular-component-input-otp.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-input.mjs +0 -45
- package/fesm2022/ojiepermana-angular-component-input.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-item.mjs +0 -264
- package/fesm2022/ojiepermana-angular-component-item.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-kanban.mjs +0 -314
- package/fesm2022/ojiepermana-angular-component-kanban.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-kbd.mjs +0 -55
- package/fesm2022/ojiepermana-angular-component-kbd.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-label.mjs +0 -33
- package/fesm2022/ojiepermana-angular-component-label.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-menubar.mjs +0 -308
- package/fesm2022/ojiepermana-angular-component-menubar.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-native-select.mjs +0 -67
- package/fesm2022/ojiepermana-angular-component-native-select.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-navigation-menu.mjs +0 -413
- package/fesm2022/ojiepermana-angular-component-navigation-menu.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-pagination.mjs +0 -226
- package/fesm2022/ojiepermana-angular-component-pagination.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-pillbox.mjs +0 -812
- package/fesm2022/ojiepermana-angular-component-pillbox.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-popover.mjs +0 -169
- package/fesm2022/ojiepermana-angular-component-popover.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-progress.mjs +0 -60
- package/fesm2022/ojiepermana-angular-component-progress.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-radio.mjs +0 -122
- package/fesm2022/ojiepermana-angular-component-radio.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-resizable.mjs +0 -481
- package/fesm2022/ojiepermana-angular-component-resizable.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-scroll-area.mjs +0 -54
- package/fesm2022/ojiepermana-angular-component-scroll-area.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-select.mjs +0 -176
- package/fesm2022/ojiepermana-angular-component-select.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-separator.mjs +0 -37
- package/fesm2022/ojiepermana-angular-component-separator.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-sheet.mjs +0 -284
- package/fesm2022/ojiepermana-angular-component-sheet.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-skeleton.mjs +0 -31
- package/fesm2022/ojiepermana-angular-component-skeleton.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-slider.mjs +0 -423
- package/fesm2022/ojiepermana-angular-component-slider.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-spinner.mjs +0 -60
- package/fesm2022/ojiepermana-angular-component-spinner.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-switch.mjs +0 -116
- package/fesm2022/ojiepermana-angular-component-switch.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-table.mjs +0 -155
- package/fesm2022/ojiepermana-angular-component-table.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-tabs.mjs +0 -272
- package/fesm2022/ojiepermana-angular-component-tabs.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-textarea.mjs +0 -39
- package/fesm2022/ojiepermana-angular-component-textarea.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-timeline.mjs +0 -237
- package/fesm2022/ojiepermana-angular-component-timeline.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-toast.mjs +0 -71
- package/fesm2022/ojiepermana-angular-component-toast.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-toggle-group.mjs +0 -289
- package/fesm2022/ojiepermana-angular-component-toggle-group.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-toggle.mjs +0 -82
- package/fesm2022/ojiepermana-angular-component-toggle.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-tooltip.mjs +0 -354
- package/fesm2022/ojiepermana-angular-component-tooltip.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-utils.mjs +0 -13
- package/fesm2022/ojiepermana-angular-component-utils.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-generator-api.mjs +0 -68
- package/fesm2022/ojiepermana-angular-generator-api.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-layout-component.mjs +0 -602
- package/fesm2022/ojiepermana-angular-layout-component.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-layout-provider.mjs +0 -21
- package/fesm2022/ojiepermana-angular-layout-provider.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-layout-services.mjs +0 -116
- package/fesm2022/ojiepermana-angular-layout-services.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-layout-shell.mjs +0 -48
- package/fesm2022/ojiepermana-angular-layout-shell.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-layout-token-directive.mjs +0 -30
- package/fesm2022/ojiepermana-angular-layout-token-directive.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-layout-token.mjs +0 -33
- package/fesm2022/ojiepermana-angular-layout-token.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-layout-type-empty.mjs +0 -49
- package/fesm2022/ojiepermana-angular-layout-type-empty.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-layout-type-horizontal.mjs +0 -128
- package/fesm2022/ojiepermana-angular-layout-type-horizontal.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-layout-type-vertical.mjs +0 -123
- package/fesm2022/ojiepermana-angular-layout-type-vertical.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-layout.mjs +0 -485
- package/fesm2022/ojiepermana-angular-layout.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-navigation-demo-data.mjs +0 -334
- package/fesm2022/ojiepermana-angular-navigation-demo-data.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-navigation-icon.mjs +0 -63
- package/fesm2022/ojiepermana-angular-navigation-icon.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-navigation-item.mjs +0 -559
- package/fesm2022/ojiepermana-angular-navigation-item.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-navigation-service.mjs +0 -213
- package/fesm2022/ojiepermana-angular-navigation-service.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-navigation-sidebar.mjs +0 -401
- package/fesm2022/ojiepermana-angular-navigation-sidebar.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-navigation-topbar.mjs +0 -670
- package/fesm2022/ojiepermana-angular-navigation-topbar.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-navigation-types.mjs +0 -4
- package/fesm2022/ojiepermana-angular-navigation-types.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-theme-provider.mjs +0 -35
- package/fesm2022/ojiepermana-angular-theme-provider.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-theme-services.mjs +0 -294
- package/fesm2022/ojiepermana-angular-theme-services.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-theme-token.mjs +0 -56
- package/fesm2022/ojiepermana-angular-theme-token.mjs.map +0 -1
- package/generator/api/README.md +0 -252
- package/generator/api/bin/package.json +0 -3
- package/generator/api/bin/schematics/init/index.js +0 -90
- package/generator/api/bin/schematics/ng-add/index.js +0 -131
- package/generator/api/bin/schematics/sdk/index.js +0 -76
- package/generator/api/bin/src/config/loader.js +0 -41
- package/generator/api/bin/src/config/schema.js +0 -57
- package/generator/api/bin/src/emit/client.js +0 -248
- package/generator/api/bin/src/emit/metadata.js +0 -295
- package/generator/api/bin/src/emit/models.js +0 -106
- package/generator/api/bin/src/emit/navigation.js +0 -56
- package/generator/api/bin/src/emit/operations.js +0 -122
- package/generator/api/bin/src/emit/public-api.js +0 -54
- package/generator/api/bin/src/emit/services.js +0 -87
- package/generator/api/bin/src/engine.js +0 -65
- package/generator/api/bin/src/layout/per-domain.js +0 -359
- package/generator/api/bin/src/parser/bundle.js +0 -25
- package/generator/api/bin/src/parser/ir.js +0 -320
- package/generator/api/bin/src/parser/types.js +0 -7
- package/generator/api/bin/src/render/template.js +0 -58
- package/generator/api/bin/src/writer/index.js +0 -278
- package/generator/api/package.json +0 -4
- package/generator/api/schematics/init/schema.json +0 -19
- package/generator/api/schematics/ng-add/schema.json +0 -14
- package/generator/api/schematics/sdk/schema.json +0 -19
- package/generator/api/sdk.config.example.json +0 -24
- package/generator/guide/README.md +0 -84
- package/generator/guide/bin/package.json +0 -3
- package/generator/guide/bin/schematics/build/index.js +0 -36
- package/generator/guide/bin/schematics/init/index.js +0 -70
- package/generator/guide/bin/src/config/loader.js +0 -50
- package/generator/guide/bin/src/config/schema.js +0 -12
- package/generator/guide/bin/src/engine/component.js +0 -74
- package/generator/guide/bin/src/engine/frontmatter.js +0 -42
- package/generator/guide/bin/src/engine/index.js +0 -42
- package/generator/guide/bin/src/engine/naming.js +0 -39
- package/generator/guide/bin/src/engine/render.js +0 -36
- package/generator/guide/bin/src/engine/routes.js +0 -106
- package/generator/guide/bin/src/engine/walk.js +0 -35
- package/generator/guide/guide.config.example.json +0 -9
- package/generator/guide/schematics/build/schema.json +0 -14
- package/generator/guide/schematics/init/schema.json +0 -19
- package/layout/component/package.json +0 -4
- package/layout/package.json +0 -4
- package/layout/provider/package.json +0 -4
- package/layout/services/package.json +0 -4
- package/layout/shell/package.json +0 -4
- package/layout/token/directive/package.json +0 -4
- package/layout/token/package.json +0 -4
- package/layout/type/empty/package.json +0 -4
- package/layout/type/horizontal/package.json +0 -4
- package/layout/type/vertical/package.json +0 -4
- package/navigation/demo-data/package.json +0 -4
- package/navigation/icon/package.json +0 -4
- package/navigation/item/package.json +0 -4
- package/navigation/service/package.json +0 -4
- package/navigation/sidebar/package.json +0 -4
- package/navigation/topbar/README.md +0 -196
- package/navigation/topbar/package.json +0 -4
- package/navigation/types/package.json +0 -4
- package/theme/README.md +0 -174
- package/theme/package.json +0 -4
- package/theme/provider/package.json +0 -4
- package/theme/services/package.json +0 -4
- package/theme/styles/foundation/components.css +0 -81
- package/theme/styles/foundation/layers.css +0 -15
- package/theme/styles/foundation/tokens.css +0 -55
- package/theme/styles/index.css +0 -37
- package/theme/styles/integrations/material/autocomplete.css +0 -178
- package/theme/styles/integrations/material/button.css +0 -468
- package/theme/styles/integrations/material/dialog.css +0 -152
- package/theme/styles/integrations/material/select.css +0 -175
- package/theme/styles/integrations/material/slide-toggle.css +0 -234
- package/theme/styles/integrations/material/slider.css +0 -194
- package/theme/styles/integrations/material/tabs.css +0 -229
- package/theme/styles/integrations/material.css +0 -264
- package/theme/styles/integrations/tailwind.css +0 -114
- package/theme/styles/variants/color/amber.css +0 -31
- package/theme/styles/variants/color/base.css +0 -36
- package/theme/styles/variants/color/blue.css +0 -31
- package/theme/styles/variants/color/cyan.css +0 -31
- package/theme/styles/variants/color/emerald.css +0 -31
- package/theme/styles/variants/color/fuchsia.css +0 -31
- package/theme/styles/variants/color/green.css +0 -31
- package/theme/styles/variants/color/index.css +0 -22
- package/theme/styles/variants/color/indigo.css +0 -31
- package/theme/styles/variants/color/lime.css +0 -31
- package/theme/styles/variants/color/orange.css +0 -31
- package/theme/styles/variants/color/pink.css +0 -31
- package/theme/styles/variants/color/purple.css +0 -31
- package/theme/styles/variants/color/red.css +0 -31
- package/theme/styles/variants/color/rose.css +0 -31
- package/theme/styles/variants/color/sky.css +0 -31
- package/theme/styles/variants/color/teal.css +0 -31
- package/theme/styles/variants/color/violet.css +0 -31
- package/theme/styles/variants/color/yellow.css +0 -31
- package/theme/styles/variants/mode/dark.css +0 -20
- package/theme/styles/variants/mode/index.css +0 -6
- package/theme/styles/variants/mode/light.css +0 -24
- package/theme/styles/variants/style/brutal.css +0 -50
- package/theme/styles/variants/style/default.css +0 -54
- package/theme/styles/variants/style/index.css +0 -8
- package/theme/styles/variants/style/sharp.css +0 -50
- package/theme/styles/variants/style/soft.css +0 -50
- package/theme/token/package.json +0 -4
- package/types/ojiepermana-angular-component-accordion.d.ts +0 -51
- package/types/ojiepermana-angular-component-alert-dialog.d.ts +0 -93
- package/types/ojiepermana-angular-component-alert.d.ts +0 -37
- package/types/ojiepermana-angular-component-aspect-ratio.d.ts +0 -12
- package/types/ojiepermana-angular-component-avatar.d.ts +0 -51
- package/types/ojiepermana-angular-component-badge.d.ts +0 -19
- package/types/ojiepermana-angular-component-breadcrumb.d.ts +0 -46
- package/types/ojiepermana-angular-component-button-group.d.ts +0 -26
- package/types/ojiepermana-angular-component-button.d.ts +0 -22
- package/types/ojiepermana-angular-component-calendar.d.ts +0 -33
- package/types/ojiepermana-angular-component-card.d.ts +0 -60
- package/types/ojiepermana-angular-component-carousel.d.ts +0 -86
- package/types/ojiepermana-angular-component-chart-area.d.ts +0 -1
- package/types/ojiepermana-angular-component-chart-bar.d.ts +0 -1
- package/types/ojiepermana-angular-component-chart-line.d.ts +0 -1
- package/types/ojiepermana-angular-component-chart-pie.d.ts +0 -1
- package/types/ojiepermana-angular-component-chart-radar.d.ts +0 -1
- package/types/ojiepermana-angular-component-chart-radial.d.ts +0 -1
- package/types/ojiepermana-angular-component-chart-scatter.d.ts +0 -1
- package/types/ojiepermana-angular-component-chart.d.ts +0 -1094
- package/types/ojiepermana-angular-component-checkbox.d.ts +0 -35
- package/types/ojiepermana-angular-component-collapsible.d.ts +0 -42
- package/types/ojiepermana-angular-component-combobox.d.ts +0 -50
- package/types/ojiepermana-angular-component-command.d.ts +0 -99
- package/types/ojiepermana-angular-component-composer.d.ts +0 -90
- package/types/ojiepermana-angular-component-context-menu.d.ts +0 -35
- package/types/ojiepermana-angular-component-date-picker.d.ts +0 -41
- package/types/ojiepermana-angular-component-dialog.d.ts +0 -87
- package/types/ojiepermana-angular-component-drawer.d.ts +0 -1
- package/types/ojiepermana-angular-component-dropdown-menu.d.ts +0 -137
- package/types/ojiepermana-angular-component-editor.d.ts +0 -123
- package/types/ojiepermana-angular-component-empty.d.ts +0 -50
- package/types/ojiepermana-angular-component-form.d.ts +0 -141
- package/types/ojiepermana-angular-component-hover-card.d.ts +0 -74
- package/types/ojiepermana-angular-component-input-group.d.ts +0 -51
- package/types/ojiepermana-angular-component-input-otp.d.ts +0 -136
- package/types/ojiepermana-angular-component-input.d.ts +0 -16
- package/types/ojiepermana-angular-component-item.d.ts +0 -88
- package/types/ojiepermana-angular-component-kanban.d.ts +0 -70
- package/types/ojiepermana-angular-component-kbd.d.ts +0 -16
- package/types/ojiepermana-angular-component-label.d.ts +0 -11
- package/types/ojiepermana-angular-component-menubar.d.ts +0 -67
- package/types/ojiepermana-angular-component-native-select.d.ts +0 -26
- package/types/ojiepermana-angular-component-navigation-menu.d.ts +0 -96
- package/types/ojiepermana-angular-component-pagination.d.ts +0 -33
- package/types/ojiepermana-angular-component-pillbox.d.ts +0 -157
- package/types/ojiepermana-angular-component-popover.d.ts +0 -43
- package/types/ojiepermana-angular-component-progress.d.ts +0 -17
- package/types/ojiepermana-angular-component-radio.d.ts +0 -40
- package/types/ojiepermana-angular-component-resizable.d.ts +0 -99
- package/types/ojiepermana-angular-component-scroll-area.d.ts +0 -19
- package/types/ojiepermana-angular-component-select.d.ts +0 -57
- package/types/ojiepermana-angular-component-separator.d.ts +0 -14
- package/types/ojiepermana-angular-component-sheet.d.ts +0 -76
- package/types/ojiepermana-angular-component-skeleton.d.ts +0 -10
- package/types/ojiepermana-angular-component-slider.d.ts +0 -74
- package/types/ojiepermana-angular-component-spinner.d.ts +0 -13
- package/types/ojiepermana-angular-component-switch.d.ts +0 -40
- package/types/ojiepermana-angular-component-table.d.ts +0 -52
- package/types/ojiepermana-angular-component-tabs.d.ts +0 -92
- package/types/ojiepermana-angular-component-textarea.d.ts +0 -12
- package/types/ojiepermana-angular-component-timeline.d.ts +0 -63
- package/types/ojiepermana-angular-component-toast.d.ts +0 -38
- package/types/ojiepermana-angular-component-toggle-group.d.ts +0 -89
- package/types/ojiepermana-angular-component-toggle.d.ts +0 -25
- package/types/ojiepermana-angular-component-tooltip.d.ts +0 -89
- package/types/ojiepermana-angular-component-utils.d.ts +0 -5
- package/types/ojiepermana-angular-generator-api.d.ts +0 -86
- package/types/ojiepermana-angular-layout-component.d.ts +0 -205
- package/types/ojiepermana-angular-layout-provider.d.ts +0 -6
- package/types/ojiepermana-angular-layout-services.d.ts +0 -25
- package/types/ojiepermana-angular-layout-shell.d.ts +0 -8
- package/types/ojiepermana-angular-layout-token-directive.d.ts +0 -13
- package/types/ojiepermana-angular-layout-token.d.ts +0 -36
- package/types/ojiepermana-angular-layout-type-empty.d.ts +0 -22
- package/types/ojiepermana-angular-layout-type-horizontal.d.ts +0 -36
- package/types/ojiepermana-angular-layout-type-vertical.d.ts +0 -38
- package/types/ojiepermana-angular-layout.d.ts +0 -164
- package/types/ojiepermana-angular-navigation-demo-data.d.ts +0 -5
- package/types/ojiepermana-angular-navigation-icon.d.ts +0 -17
- package/types/ojiepermana-angular-navigation-item.d.ts +0 -54
- package/types/ojiepermana-angular-navigation-service.d.ts +0 -77
- package/types/ojiepermana-angular-navigation-sidebar.d.ts +0 -75
- package/types/ojiepermana-angular-navigation-topbar.d.ts +0 -74
- package/types/ojiepermana-angular-navigation-types.d.ts +0 -135
- package/types/ojiepermana-angular-theme-provider.d.ts +0 -11
- package/types/ojiepermana-angular-theme-services.d.ts +0 -55
- package/types/ojiepermana-angular-theme-token.d.ts +0 -57
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.collectMarkdown = collectMarkdown;
|
|
4
|
-
const node_fs_1 = require("node:fs");
|
|
5
|
-
const node_path_1 = require("node:path");
|
|
6
|
-
function collectMarkdown(sourceDir) {
|
|
7
|
-
const out = [];
|
|
8
|
-
walk(sourceDir, sourceDir, out);
|
|
9
|
-
return out.sort((a, b) => a.relativePath.localeCompare(b.relativePath));
|
|
10
|
-
}
|
|
11
|
-
function walk(root, dir, out) {
|
|
12
|
-
const entries = (0, node_fs_1.readdirSync)(dir, { withFileTypes: true });
|
|
13
|
-
for (const entry of entries) {
|
|
14
|
-
const abs = (0, node_path_1.join)(dir, entry.name);
|
|
15
|
-
if (entry.isDirectory()) {
|
|
16
|
-
walk(root, abs, out);
|
|
17
|
-
continue;
|
|
18
|
-
}
|
|
19
|
-
if (!entry.isFile() || !entry.name.toLowerCase().endsWith('.md'))
|
|
20
|
-
continue;
|
|
21
|
-
const st = (0, node_fs_1.statSync)(abs);
|
|
22
|
-
if (!st.isFile())
|
|
23
|
-
continue;
|
|
24
|
-
const rel = (0, node_path_1.relative)(root, abs)
|
|
25
|
-
.split(/[\\/]+/)
|
|
26
|
-
.join('/');
|
|
27
|
-
const segments = rel.replace(/\.md$/i, '').split('/');
|
|
28
|
-
out.push({
|
|
29
|
-
absolutePath: abs,
|
|
30
|
-
relativePath: rel,
|
|
31
|
-
segments,
|
|
32
|
-
content: (0, node_fs_1.readFileSync)(abs, 'utf8'),
|
|
33
|
-
});
|
|
34
|
-
}
|
|
35
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "./node_modules/@ojiepermana/angular/generator/guide/schematics/build/schema.json",
|
|
3
|
-
"sourceDir": "./docs",
|
|
4
|
-
"outputDir": "./projects/demo/library/src/app/docs",
|
|
5
|
-
"routeFile": "doc.routes.ts",
|
|
6
|
-
"componentPrefix": "Doc",
|
|
7
|
-
"componentStyle": "none",
|
|
8
|
-
"routeExportName": "DOC_ROUTES"
|
|
9
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema",
|
|
3
|
-
"$id": "GuideBuildSchema",
|
|
4
|
-
"title": "Guide · build",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"additionalProperties": false,
|
|
7
|
-
"properties": {
|
|
8
|
-
"config": {
|
|
9
|
-
"type": "string",
|
|
10
|
-
"description": "Path to the guide config file, relative to the workspace root.",
|
|
11
|
-
"default": "config/guide.config.json"
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema",
|
|
3
|
-
"$id": "GuideInitSchema",
|
|
4
|
-
"title": "Guide · init",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"additionalProperties": false,
|
|
7
|
-
"properties": {
|
|
8
|
-
"path": {
|
|
9
|
-
"type": "string",
|
|
10
|
-
"description": "Destination path for the generated guide.config.json, relative to the workspace root.",
|
|
11
|
-
"default": "config/guide.config.json"
|
|
12
|
-
},
|
|
13
|
-
"force": {
|
|
14
|
-
"type": "boolean",
|
|
15
|
-
"description": "Overwrite an existing guide.config.json.",
|
|
16
|
-
"default": false
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
}
|
package/layout/package.json
DELETED
|
@@ -1,196 +0,0 @@
|
|
|
1
|
-
# Topbar
|
|
2
|
-
|
|
3
|
-
Horizontal navigation root for application shells, documentation headers, and flyout-style site navigation.
|
|
4
|
-
|
|
5
|
-
## Import
|
|
6
|
-
|
|
7
|
-
```ts
|
|
8
|
-
import { TopbarComponent } from '@ojiepermana/angular/navigation/topbar';
|
|
9
|
-
import type { NavigationItem, TopbarVariant } from '@ojiepermana/angular/navigation/types';
|
|
10
|
-
```
|
|
11
|
-
|
|
12
|
-
## Composition
|
|
13
|
-
|
|
14
|
-
The topbar renders a menubar-style root and projects optional leading and trailing slots around the navigation items.
|
|
15
|
-
|
|
16
|
-
```text
|
|
17
|
-
topbar
|
|
18
|
-
├── [items]="NavigationItem[]"
|
|
19
|
-
│ ├── type: 'basic' -> direct link item
|
|
20
|
-
│ ├── type: 'group' -> dropdown trigger + overlay panel
|
|
21
|
-
│ └── type: 'collapsable' -> dropdown trigger + overlay panel
|
|
22
|
-
├── `variant="flyout"` -> descriptive title + subtitle cards in dropdown panels
|
|
23
|
-
├── [topbar-start] projected brand or leading actions
|
|
24
|
-
└── [topbar-end] projected trailing actions
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
## Basic usage
|
|
28
|
-
|
|
29
|
-
Pass `NavigationItem[]` directly when the page owns its own navigation tree.
|
|
30
|
-
|
|
31
|
-
```ts
|
|
32
|
-
const navigationItems: NavigationItem[] = [
|
|
33
|
-
{
|
|
34
|
-
id: 'getting-started',
|
|
35
|
-
type: 'group',
|
|
36
|
-
title: 'Getting started',
|
|
37
|
-
children: [
|
|
38
|
-
{
|
|
39
|
-
id: 'introduction',
|
|
40
|
-
type: 'basic',
|
|
41
|
-
title: 'Introduction',
|
|
42
|
-
subtitle: 'Overview and design-system fundamentals.',
|
|
43
|
-
link: '/docs/introduction',
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
id: 'installation',
|
|
47
|
-
type: 'basic',
|
|
48
|
-
title: 'Installation',
|
|
49
|
-
subtitle: 'Package install and workspace setup steps.',
|
|
50
|
-
link: '/docs/getting-started/installation',
|
|
51
|
-
},
|
|
52
|
-
],
|
|
53
|
-
},
|
|
54
|
-
{ id: 'docs', type: 'basic', title: 'Docs', link: '/docs/introduction' },
|
|
55
|
-
];
|
|
56
|
-
```
|
|
57
|
-
|
|
58
|
-
```html
|
|
59
|
-
<topbar variant="flyout" [items]="navigationItems" [showHamburger]="false" ariaLabel="Primary site navigation">
|
|
60
|
-
<a topbar-start href="/" class="inline-flex items-center rounded-md px-2 py-2 text-sm font-semibold text-foreground">
|
|
61
|
-
Acme UI
|
|
62
|
-
</a>
|
|
63
|
-
|
|
64
|
-
<a
|
|
65
|
-
topbar-end
|
|
66
|
-
href="/docs/introduction"
|
|
67
|
-
class="inline-flex h-9 items-center rounded-md bg-primary px-4 text-sm font-medium text-primary-foreground">
|
|
68
|
-
Get started
|
|
69
|
-
</a>
|
|
70
|
-
</topbar>
|
|
71
|
-
```
|
|
72
|
-
|
|
73
|
-
## Common patterns
|
|
74
|
-
|
|
75
|
-
### Grouped dropdowns
|
|
76
|
-
|
|
77
|
-
Use `group` or `collapsable` items when the trigger should open a panel of related destinations.
|
|
78
|
-
|
|
79
|
-
Set `variant="flyout"` when those dropdown panels should render descriptive title and subtitle cards in a wider flyout layout.
|
|
80
|
-
|
|
81
|
-
```ts
|
|
82
|
-
const productItems: NavigationItem[] = [
|
|
83
|
-
{
|
|
84
|
-
id: 'resources',
|
|
85
|
-
type: 'group',
|
|
86
|
-
title: 'Resources',
|
|
87
|
-
children: [
|
|
88
|
-
{
|
|
89
|
-
id: 'guides',
|
|
90
|
-
type: 'basic',
|
|
91
|
-
title: 'Guides',
|
|
92
|
-
subtitle: 'Browse getting started material and implementation notes.',
|
|
93
|
-
link: '/docs/introduction',
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
id: 'api',
|
|
97
|
-
type: 'basic',
|
|
98
|
-
title: 'API reference',
|
|
99
|
-
subtitle: 'Inspect Angular-first component and directive imports by entrypoint.',
|
|
100
|
-
link: '/docs/components/shadcn/button',
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
id: 'releases',
|
|
104
|
-
type: 'basic',
|
|
105
|
-
title: 'Releases',
|
|
106
|
-
subtitle: 'Track published changes, migration notes, and newly added primitives.',
|
|
107
|
-
link: '/docs/changelog',
|
|
108
|
-
},
|
|
109
|
-
],
|
|
110
|
-
},
|
|
111
|
-
{ id: 'pricing', type: 'basic', title: 'Pricing', link: '/pricing' },
|
|
112
|
-
];
|
|
113
|
-
```
|
|
114
|
-
|
|
115
|
-
### Direct link items
|
|
116
|
-
|
|
117
|
-
Use `basic` items when the top-level item should navigate immediately instead of opening a panel.
|
|
118
|
-
|
|
119
|
-
```ts
|
|
120
|
-
const linkItems: NavigationItem[] = [
|
|
121
|
-
{ id: 'documentation', type: 'basic', title: 'Documentation', link: '/docs/introduction' },
|
|
122
|
-
{ id: 'components', type: 'basic', title: 'Components', link: '/ui/shadcn/button' },
|
|
123
|
-
{
|
|
124
|
-
id: 'github',
|
|
125
|
-
type: 'basic',
|
|
126
|
-
title: 'GitHub',
|
|
127
|
-
link: 'https://github.com/shadcn-ui/ui',
|
|
128
|
-
externalLink: true,
|
|
129
|
-
target: '_blank',
|
|
130
|
-
},
|
|
131
|
-
];
|
|
132
|
-
```
|
|
133
|
-
|
|
134
|
-
### Shared shell state
|
|
135
|
-
|
|
136
|
-
When the shell already uses the navigation registry, let the topbar resolve items from `NavigationService` by `navigationId` instead of passing `items` everywhere.
|
|
137
|
-
|
|
138
|
-
```html
|
|
139
|
-
<topbar navigationId="main" ariaLabel="Primary"></topbar>
|
|
140
|
-
```
|
|
141
|
-
|
|
142
|
-
## API reference
|
|
143
|
-
|
|
144
|
-
### `TopbarComponent`
|
|
145
|
-
|
|
146
|
-
| Input | Type | Default |
|
|
147
|
-
| ---------------- | ------------------ | ------------------- |
|
|
148
|
-
| `items` | `NavigationItem[]` | `[]` |
|
|
149
|
-
| `navigationId` | `string` | `'main'` |
|
|
150
|
-
| `variant` | `TopbarVariant` | `'default'` |
|
|
151
|
-
| `ariaLabel` | `string` | `'Primary'` |
|
|
152
|
-
| `class` | `string` | `''` |
|
|
153
|
-
| `autoRegister` | `boolean` | `true` |
|
|
154
|
-
| `showHamburger` | `boolean` | `true` |
|
|
155
|
-
| `hamburgerLabel` | `string` | `'Open navigation'` |
|
|
156
|
-
|
|
157
|
-
### Supporting types
|
|
158
|
-
|
|
159
|
-
- `NavigationItem` is the typed data model for `basic`, `group`, `collapsable`, and related navigation branches.
|
|
160
|
-
- `TopbarVariant` is currently `'default' | 'flyout'`.
|
|
161
|
-
- Lower-level item rendering and shell coordination live in `@ojiepermana/angular/navigation/item` and `@ojiepermana/angular/navigation/service`.
|
|
162
|
-
- In `flyout` mode, `basic` child item `subtitle` values render as supporting description copy inside dropdown cards.
|
|
163
|
-
|
|
164
|
-
## Styling and theming
|
|
165
|
-
|
|
166
|
-
The component is sticky by default and uses the shared theme tokens for foreground, accent, focus ring, and dropdown chrome.
|
|
167
|
-
|
|
168
|
-
- Pass `class` to `topbar` when the shell needs custom border, background, width, or spacing utilities.
|
|
169
|
-
- Style projected `[topbar-start]` and `[topbar-end]` content directly on the projected hosts.
|
|
170
|
-
- For documentation or embedded previews, override the sticky positioning locally with `style="position: static; top: auto;"`.
|
|
171
|
-
- The dropdown panel now uses `border-border` and background theme tokens, with a wider card grid when `variant="flyout"`.
|
|
172
|
-
|
|
173
|
-
## Accessibility
|
|
174
|
-
|
|
175
|
-
- The host exposes `role="navigation"`; set `ariaLabel` when multiple navigation landmarks exist on the page.
|
|
176
|
-
- The item list uses `role="menubar"`, and top-level interactive items expose `role="menuitem"`.
|
|
177
|
-
- Direct destinations should stay `basic` items so Angular renders anchors with native link semantics.
|
|
178
|
-
- Keep projected CTA elements keyboard reachable and visually distinct from navigation triggers.
|
|
179
|
-
|
|
180
|
-
## Keyboard interactions
|
|
181
|
-
|
|
182
|
-
- Left and Right Arrow move focus across the top-level items.
|
|
183
|
-
- Home and End jump to the first and last top-level item.
|
|
184
|
-
- Down Arrow moves focus into an already-open dropdown panel.
|
|
185
|
-
- Escape closes the active dropdown and returns focus to the trigger.
|
|
186
|
-
|
|
187
|
-
## Angular notes
|
|
188
|
-
|
|
189
|
-
- Use `NavigationItem` data or projected slot content to compose shell-level navigation.
|
|
190
|
-
- `autoRegister` keeps `NavigationService` in sync with explicit `items`, so active-trail logic still works when the shell uses the shared registry.
|
|
191
|
-
- Prefer `variant="flyout"` plus `subtitle` on child `basic` items when the goal is descriptive dropdown-card content.
|
|
192
|
-
- Prefer `@ojiepermana/angular/component/navigation-menu` when the page needs explicit trigger/content composition rather than a shell-driven data model.
|
|
193
|
-
|
|
194
|
-
## Source parity
|
|
195
|
-
|
|
196
|
-
This entrypoint covers the Angular shell-navigation behavior that matters most for top-level application chrome: a horizontal menubar, grouped dropdown triggers, descriptive dropdown cards in `flyout` mode, direct link items, projected brand and action slots, and shared shell integration. Use the dedicated navigation-menu component entrypoint when the goal is a closer shadcn-style website navigation composition.
|
package/theme/README.md
DELETED
|
@@ -1,174 +0,0 @@
|
|
|
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
|
-
## Typography mapping
|
|
43
|
-
|
|
44
|
-
shadcn `Typography` maps to semantic HTML plus this theme entrypoint. There is
|
|
45
|
-
no `@ojiepermana/angular/component/typography` secondary entrypoint.
|
|
46
|
-
|
|
47
|
-
### Import
|
|
48
|
-
|
|
49
|
-
```css
|
|
50
|
-
@import '@ojiepermana/angular/theme/styles';
|
|
51
|
-
@import 'tailwindcss';
|
|
52
|
-
@import '@ojiepermana/angular/theme/tailwind/theme.css';
|
|
53
|
-
```
|
|
54
|
-
|
|
55
|
-
### Composition
|
|
56
|
-
|
|
57
|
-
```text
|
|
58
|
-
article
|
|
59
|
-
├── h1
|
|
60
|
-
├── p.lead
|
|
61
|
-
├── h2 / h3 / h4
|
|
62
|
-
├── p + a
|
|
63
|
-
├── blockquote
|
|
64
|
-
├── ul / ol
|
|
65
|
-
├── code
|
|
66
|
-
└── table
|
|
67
|
-
```
|
|
68
|
-
|
|
69
|
-
### Basic usage
|
|
70
|
-
|
|
71
|
-
```html
|
|
72
|
-
<article class="max-w-2xl text-foreground">
|
|
73
|
-
<h1 class="scroll-m-20 text-4xl font-extrabold tracking-tight text-balance">
|
|
74
|
-
Taxing Laughter: The Joke Tax Chronicles
|
|
75
|
-
</h1>
|
|
76
|
-
|
|
77
|
-
<p class="text-xl leading-7 text-muted-foreground [&:not(:first-child)]:mt-6">
|
|
78
|
-
Once upon a time, in a far-off land, there was a very lazy king who spent all day lounging on his throne.
|
|
79
|
-
</p>
|
|
80
|
-
|
|
81
|
-
<h2 class="mt-10 scroll-m-20 border-b border-border pb-2 text-3xl font-semibold tracking-tight first:mt-0">
|
|
82
|
-
The King's Plan
|
|
83
|
-
</h2>
|
|
84
|
-
|
|
85
|
-
<p class="leading-7 [&:not(:first-child)]:mt-6">
|
|
86
|
-
The king thought long and hard and came up with
|
|
87
|
-
<a href="#" class="font-medium text-primary underline underline-offset-4">a brilliant plan</a>.
|
|
88
|
-
</p>
|
|
89
|
-
|
|
90
|
-
<blockquote class="mt-6 border-s-2 border-border ps-6 italic">
|
|
91
|
-
"After all," he said, "everyone enjoys a good joke."
|
|
92
|
-
</blockquote>
|
|
93
|
-
</article>
|
|
94
|
-
```
|
|
95
|
-
|
|
96
|
-
### Common patterns
|
|
97
|
-
|
|
98
|
-
- Use `text-xl leading-7 text-muted-foreground` for a lead paragraph below the page title.
|
|
99
|
-
- Use `relative rounded bg-muted px-[0.3rem] py-[0.2rem] font-mono text-sm font-semibold` for short inline code.
|
|
100
|
-
- Use `border-border`, `text-start`, and real `scope="col"` headers on data tables.
|
|
101
|
-
- Use logical spacing utilities such as `border-s-2`, `ps-6`, and `ms-6` so the same recipe works in RTL.
|
|
102
|
-
|
|
103
|
-
### API reference
|
|
104
|
-
|
|
105
|
-
| Concept | Local surface | Notes |
|
|
106
|
-
| ------------ | ------------------------------------------------- | -------------------------------------------------------------------------------------------- |
|
|
107
|
-
| Theme styles | `@ojiepermana/angular/theme` and CSS imports | Provides the token-backed styles and Tailwind bridge. |
|
|
108
|
-
| Headings | Native `h1`-`h4` elements | Keep the heading hierarchy semantic and style each usage site directly. |
|
|
109
|
-
| Body copy | Native `p`, `blockquote`, `ul`, `ol`, and `table` | Typography stays documentation-first and does not wrap content in custom Angular components. |
|
|
110
|
-
| Inline code | Native `code` | Use a muted surface and mono text for short snippets. |
|
|
111
|
-
| RTL | `dir="rtl"` on a wrapping container | Prefer logical spacing utilities when the layout should mirror. |
|
|
112
|
-
|
|
113
|
-
### Styling and theming
|
|
114
|
-
|
|
115
|
-
Use token-aware utilities such as `border-border`, `bg-muted`,
|
|
116
|
-
`text-foreground`, `text-muted-foreground`, and `text-primary`. Keep the
|
|
117
|
-
typography classes close to the article or page slice that owns the prose
|
|
118
|
-
instead of centralizing them in a rigid wrapper component.
|
|
119
|
-
|
|
120
|
-
### Accessibility
|
|
121
|
-
|
|
122
|
-
- Keep heading levels sequential within an article or documentation page.
|
|
123
|
-
- Preserve native list, table, blockquote, and anchor semantics.
|
|
124
|
-
- Add `scope="col"` to table headers when the table communicates real data.
|
|
125
|
-
- Maintain visible link affordances with contrast and underline offset.
|
|
126
|
-
|
|
127
|
-
### Keyboard interactions
|
|
128
|
-
|
|
129
|
-
- Typography relies on native browser behavior for links, selection, scrolling,
|
|
130
|
-
and table navigation.
|
|
131
|
-
- There is no custom roving-focus or composite widget behavior in this mapping.
|
|
132
|
-
|
|
133
|
-
### Angular notes
|
|
134
|
-
|
|
135
|
-
- No TypeScript import is required for typography itself; the runtime surface is
|
|
136
|
-
semantic HTML plus theme CSS.
|
|
137
|
-
- Keep prose data in component fields, markdown content, or a CMS instead of
|
|
138
|
-
encoding text into a fake typography component API.
|
|
139
|
-
- Use logical spacing utilities when the content may need right-to-left support.
|
|
140
|
-
|
|
141
|
-
### Source parity
|
|
142
|
-
|
|
143
|
-
This entrypoint is the durable Angular-first mapping for shadcn `Typography`.
|
|
144
|
-
It follows the same visual recipes while staying honest about the local API:
|
|
145
|
-
there is no dedicated typography secondary entrypoint, and the authoritative
|
|
146
|
-
consumer guidance lives in the theme entrypoint plus the `ui/shadcn/typography`
|
|
147
|
-
demo page.
|
|
148
|
-
|
|
149
|
-
## Source layout
|
|
150
|
-
|
|
151
|
-
- `public-api.ts` aggregates the granular runtime entrypoints for `@ojiepermana/angular/theme`.
|
|
152
|
-
- `services` owns `ThemeService` plus its runtime tests.
|
|
153
|
-
- `provider` owns DI provider helpers plus provider-focused tests.
|
|
154
|
-
- `token` owns config types, guards, constants, and token-focused tests.
|
|
155
|
-
- `css/foundation` contains the cascade layer registration, shared semantic tokens, and component-facing global helpers.
|
|
156
|
-
- `css/variants/mode` contains light and dark mode layers.
|
|
157
|
-
- `css/variants/color` contains named color themes.
|
|
158
|
-
- `css/variants/style` contains style personality layers such as `default`, `sharp`, `brutal`, and `soft`.
|
|
159
|
-
- `css/integrations/material.css` maps theme tokens into Angular Material and MDC tokens.
|
|
160
|
-
- `css/integrations/tailwind.css` maps theme tokens into Tailwind v4 theme tokens.
|
|
161
|
-
|
|
162
|
-
## Local development
|
|
163
|
-
|
|
164
|
-
From the workspace root:
|
|
165
|
-
|
|
166
|
-
```bash
|
|
167
|
-
bun run test:theme
|
|
168
|
-
bun run build
|
|
169
|
-
```
|
|
170
|
-
|
|
171
|
-
`bun run test:theme` runs the isolated theme specs.
|
|
172
|
-
|
|
173
|
-
`bun run build` validates that the full library still packages the theme
|
|
174
|
-
entrypoint and exports the CSS assets correctly.
|
package/theme/package.json
DELETED
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Global component-facing styles that should react to the active theme.
|
|
3
|
-
*/
|
|
4
|
-
@layer base {
|
|
5
|
-
html,
|
|
6
|
-
body {
|
|
7
|
-
min-height: 100%;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
html {
|
|
11
|
-
background: hsl(var(--background));
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
body {
|
|
15
|
-
background: hsl(var(--background));
|
|
16
|
-
color: hsl(var(--foreground));
|
|
17
|
-
font-family: var(--font-sans);
|
|
18
|
-
font-size: var(--text-base);
|
|
19
|
-
line-height: var(--text-base--line-height);
|
|
20
|
-
letter-spacing: var(--letter-spacing);
|
|
21
|
-
transition:
|
|
22
|
-
background-color 0.2s ease,
|
|
23
|
-
color 0.2s ease,
|
|
24
|
-
border-color 0.2s ease,
|
|
25
|
-
box-shadow 0.2s ease;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
button,
|
|
29
|
-
input,
|
|
30
|
-
select,
|
|
31
|
-
textarea {
|
|
32
|
-
font: inherit;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
::selection {
|
|
36
|
-
background: hsl(var(--primary) / 0.24);
|
|
37
|
-
color: hsl(var(--foreground));
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
@layer components {
|
|
42
|
-
.ui-nav-text {
|
|
43
|
-
font-family: var(--nav-font-family, var(--font-sans));
|
|
44
|
-
font-size: var(--nav-text-size, var(--text-base));
|
|
45
|
-
line-height: var(--nav-text-line-height, var(--text-base--line-height));
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.ui-nav-hover-surface {
|
|
49
|
-
@apply relative isolate hover:text-accent-foreground;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.ui-nav-hover-surface::before {
|
|
53
|
-
content: '';
|
|
54
|
-
border-radius: inherit;
|
|
55
|
-
@apply pointer-events-none absolute inset-y-0 left-2 right-2 z-0 bg-transparent transition-colors;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.ui-nav-hover-surface:hover::before {
|
|
59
|
-
@apply bg-accent;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.ui-nav-hover-surface > * {
|
|
63
|
-
@apply relative z-10;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.ui-nav-heading {
|
|
67
|
-
font-family: var(--nav-heading-font-family, var(--nav-font-family, var(--font-sans)));
|
|
68
|
-
font-size: var(--nav-heading-size, var(--text-sm));
|
|
69
|
-
line-height: var(--nav-heading-line-height, var(--text-sm--line-height));
|
|
70
|
-
font-weight: var(--nav-heading-weight, 600);
|
|
71
|
-
letter-spacing: var(--nav-heading-letter-spacing, 0.12em);
|
|
72
|
-
text-transform: uppercase;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.ui-nav-badge {
|
|
76
|
-
font-family: var(--nav-badge-font-family, var(--nav-font-family, var(--font-sans)));
|
|
77
|
-
font-size: var(--nav-badge-size, var(--text-sm));
|
|
78
|
-
line-height: var(--nav-badge-line-height, var(--text-sm--line-height));
|
|
79
|
-
font-weight: var(--nav-badge-weight, 500);
|
|
80
|
-
}
|
|
81
|
-
}
|