@ojiepermana/angular 22.0.1 → 22.0.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +61 -311
- package/fesm2022/ojiepermana-angular-chart.mjs +10 -0
- package/fesm2022/ojiepermana-angular-component.mjs +10 -0
- package/fesm2022/ojiepermana-angular-navigation.mjs +10 -0
- package/fesm2022/ojiepermana-angular-sdk.mjs +10 -0
- package/fesm2022/ojiepermana-angular-theme.mjs +4 -384
- package/fesm2022/ojiepermana-angular.mjs +15 -16
- 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/fesm2022/ojiepermana-angular-theme.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular.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
package/README.md
CHANGED
|
@@ -1,350 +1,100 @@
|
|
|
1
1
|
# @ojiepermana/angular
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
Install dependencies from the workspace root with Bun:
|
|
3
|
+
Umbrella meta-package for the `@ojiepermana/angular-*` design system (Angular v22+).
|
|
4
|
+
Installing it pulls in the whole suite in one command; you then import from the
|
|
5
|
+
per-feature **subpath entry points** that make up the public API.
|
|
8
6
|
|
|
9
7
|
```bash
|
|
10
|
-
bun
|
|
8
|
+
bun add @ojiepermana/angular
|
|
9
|
+
# or: npm install @ojiepermana/angular
|
|
11
10
|
```
|
|
12
11
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
Install the published package into a consumer Angular workspace with Angular
|
|
16
|
-
CLI so the required peer dependencies are added to the app's `package.json`
|
|
17
|
-
and installed in the same flow:
|
|
18
|
-
|
|
19
|
-
In the consumer snippets below, `@your-scope/angular` means the package name
|
|
20
|
-
your workspace actually installs. Replace it consistently with the published
|
|
21
|
-
target you use, for example `@ojiepermana/angular`, `@edsis/angular`, or
|
|
22
|
-
another branded alias such as `@etos/angular`.
|
|
12
|
+
This single install resolves all five libraries as direct dependencies:
|
|
23
13
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
14
|
+
| Package | What it provides |
|
|
15
|
+
| -------------------------------- | ------------------------------------------------------- |
|
|
16
|
+
| `@ojiepermana/angular-component` | UI components (button, dialog, table, …) + `icon` utils |
|
|
17
|
+
| `@ojiepermana/angular-chart` | Chart families built on `d3-scale`/`d3-shape` |
|
|
18
|
+
| `@ojiepermana/angular-navigation`| App shell / navigation container |
|
|
19
|
+
| `@ojiepermana/angular-theme` | Theme provider, tokens, and Tailwind v4 CSS |
|
|
20
|
+
| `@ojiepermana/angular-sdk` | OpenAPI → Angular SDK generator (schematics) |
|
|
27
21
|
|
|
28
|
-
|
|
29
|
-
not already have a compatible Tailwind v4 installation, `ng add` will add it
|
|
30
|
-
from the published `peerDependencies`.
|
|
22
|
+
## Peer dependencies
|
|
31
23
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
24
|
+
You must already have Angular v22+ in your app (`@angular/common`, `@angular/core`,
|
|
25
|
+
and for some libraries `@angular/forms`, `@angular/router`, `@angular/platform-browser`).
|
|
26
|
+
`@angular/cdk` is pulled in automatically (it is a direct dependency of
|
|
27
|
+
`-component`).
|
|
35
28
|
|
|
36
|
-
|
|
29
|
+
**`@angular/material` is optional.** Only three components wrap Material and
|
|
30
|
+
therefore require it: **`select`**, **`date-picker`**, and **`calendar`**. Install
|
|
31
|
+
it *only* if you import one of those:
|
|
37
32
|
|
|
38
33
|
```bash
|
|
39
|
-
|
|
34
|
+
bun add @angular/material
|
|
40
35
|
```
|
|
41
36
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
If you install the package with `npm install`, `bun add`, `pnpm add`, or `yarn
|
|
46
|
-
add` directly, peer dependency installation falls back to the package
|
|
47
|
-
manager's own behavior. In that flow, install Tailwind manually as well:
|
|
48
|
-
|
|
49
|
-
```bash
|
|
50
|
-
bun add @your-scope/angular tailwindcss@^4.3.0
|
|
51
|
-
```
|
|
52
|
-
|
|
53
|
-
Consumer app styles should import the library theme, Tailwind, and the
|
|
54
|
-
Tailwind bridge in this order:
|
|
55
|
-
|
|
56
|
-
```css
|
|
57
|
-
@import '@your-scope/angular/theme/styles';
|
|
58
|
-
@import 'tailwindcss';
|
|
59
|
-
@import '@your-scope/angular/theme/tailwind/theme.css';
|
|
60
|
-
```
|
|
37
|
+
Every other component is built on the Angular CDK + Tailwind tokens and needs no
|
|
38
|
+
Material.
|
|
61
39
|
|
|
62
|
-
##
|
|
40
|
+
## Importing — use the subpaths
|
|
63
41
|
|
|
64
|
-
The
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
`@your-scope/angular/theme/tailwind/theme.css`.
|
|
42
|
+
The package roots (`@ojiepermana/angular`, `@ojiepermana/angular/component`,
|
|
43
|
+
`@ojiepermana/angular/theme`) are intentionally **empty barrels**: re-exporting
|
|
44
|
+
~60 components from one root would defeat tree-shaking. Import each component from
|
|
45
|
+
its own entry point instead:
|
|
69
46
|
|
|
70
47
|
```ts
|
|
71
|
-
|
|
72
|
-
|
|
48
|
+
// Components — one entry point per component
|
|
49
|
+
import { Button } from '@ojiepermana/angular-component/button';
|
|
50
|
+
import { Card } from '@ojiepermana/angular-component/card';
|
|
51
|
+
import { Dialog } from '@ojiepermana/angular-component/dialog';
|
|
73
52
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
@import 'tailwindcss';
|
|
77
|
-
@import '@your-scope/angular/theme/tailwind/theme.css';
|
|
78
|
-
```
|
|
53
|
+
// Charts
|
|
54
|
+
import { BarChart } from '@ojiepermana/angular-chart/bar';
|
|
79
55
|
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
[`projects/angular/theme/provider`](theme/provider),
|
|
83
|
-
[`projects/angular/theme/token`](theme/token), and stylesheet
|
|
84
|
-
assets under [`projects/angular/theme/css`](theme/css).
|
|
85
|
-
The stylesheet sources are grouped into `foundation/`, `variants/`, and
|
|
86
|
-
`integrations/`. Local entrypoint notes live in
|
|
87
|
-
[`projects/angular/theme/README.md`](theme/README.md).
|
|
88
|
-
|
|
89
|
-
To run the theme-only regression suite from the workspace root, use:
|
|
90
|
-
|
|
91
|
-
```bash
|
|
92
|
-
bun run test:theme
|
|
56
|
+
// Theme provider
|
|
57
|
+
import { provideUiTheme } from '@ojiepermana/angular-theme/styles';
|
|
93
58
|
```
|
|
94
59
|
|
|
95
|
-
|
|
60
|
+
> The `@ojiepermana/angular/<lib>` subpaths exist as a convenience mirror, but the
|
|
61
|
+
> canonical, fully tree-shakeable imports are the `@ojiepermana/angular-<lib>/<name>`
|
|
62
|
+
> entry points shown above.
|
|
96
63
|
|
|
97
|
-
|
|
98
|
-
surface. If your app previously imported from the removed
|
|
99
|
-
`@your-scope/angular/component` or `@your-scope/angular/navigation` barrels,
|
|
100
|
-
migrate in this order:
|
|
64
|
+
## Theme & Tailwind v4 setup
|
|
101
65
|
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
import.
|
|
105
|
-
2. Replace broad barrel imports such as `@your-scope/angular/component` with
|
|
106
|
-
the smallest matching subpath, for example
|
|
107
|
-
`@your-scope/angular/component/button` or
|
|
108
|
-
`@your-scope/angular/component/dropdown-menu`.
|
|
109
|
-
3. Replace removed navigation imports such as `@your-scope/angular/navigation`
|
|
110
|
-
with the matching navigation subpath, for example
|
|
111
|
-
`@your-scope/angular/navigation/sidebar`,
|
|
112
|
-
`@your-scope/angular/navigation/topbar`,
|
|
113
|
-
`@your-scope/angular/navigation/service`, or
|
|
114
|
-
`@your-scope/angular/navigation/types`.
|
|
115
|
-
4. Update any internal helper imports to their new granular subpaths as well,
|
|
116
|
-
including utilities such as `@your-scope/angular/component/utils`.
|
|
117
|
-
5. Update schematic commands in the same way. The package name before the
|
|
118
|
-
colon must match the installed target.
|
|
66
|
+
Add the theme tokens, Tailwind, and the Tailwind token mapping to your global
|
|
67
|
+
stylesheet (the CSS ships inside the package and is reachable by name):
|
|
119
68
|
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
import
|
|
124
|
-
import
|
|
125
|
-
import { SidebarComponent } from '@your-scope/angular/navigation/sidebar';
|
|
126
|
-
import { NavigationService } from '@your-scope/angular/navigation/service';
|
|
127
|
-
import { UiNavIconComponent } from '@your-scope/angular/navigation/icon';
|
|
128
|
-
```
|
|
129
|
-
|
|
130
|
-
## Granular imports for production builds
|
|
131
|
-
|
|
132
|
-
Prefer the smallest subpath that matches the primitives you actually use,
|
|
133
|
-
especially in Native Federation or other shared-chunk builds. Every component
|
|
134
|
-
now ships only through its matching granular subpath, for example
|
|
135
|
-
`@your-scope/angular/component/date-picker`,
|
|
136
|
-
`@your-scope/angular/component/dropdown-menu`, and
|
|
137
|
-
`@your-scope/angular/component/tooltip`.
|
|
138
|
-
|
|
139
|
-
```ts
|
|
140
|
-
import { AvatarComponent, AvatarFallbackComponent, AvatarImageComponent } from '@your-scope/angular/component/avatar';
|
|
141
|
-
import { ButtonComponent } from '@your-scope/angular/component/button';
|
|
142
|
-
import { PopoverContentDirective, PopoverTriggerDirective } from '@your-scope/angular/component/popover';
|
|
143
|
-
import { cn } from '@your-scope/angular/component/utils';
|
|
144
|
-
import { UiNavIconComponent } from '@your-scope/angular/navigation/icon';
|
|
69
|
+
```css
|
|
70
|
+
/* styles.css */
|
|
71
|
+
@import '@ojiepermana/angular-theme/theme.css'; /* base tokens + component styles */
|
|
72
|
+
@import 'tailwindcss';
|
|
73
|
+
@import '@ojiepermana/angular-theme/styles/css/seasonal/base/tailwind.css'; /* maps tokens → bg-primary, text-foreground, … */
|
|
145
74
|
```
|
|
146
75
|
|
|
147
|
-
|
|
148
|
-
barrels have been removed. Consumers should use granular
|
|
149
|
-
`@your-scope/angular/component/<slug>` and
|
|
150
|
-
`@your-scope/angular/navigation/<part>` imports.
|
|
151
|
-
|
|
152
|
-
Navigation now follows the same granular pattern:
|
|
153
|
-
`@your-scope/angular/navigation/types`,
|
|
154
|
-
`@your-scope/angular/navigation/service`,
|
|
155
|
-
`@your-scope/angular/navigation/sidebar`,
|
|
156
|
-
`@your-scope/angular/navigation/topbar`,
|
|
157
|
-
`@your-scope/angular/navigation/item`,
|
|
158
|
-
`@your-scope/angular/navigation/icon`, and
|
|
159
|
-
`@your-scope/angular/navigation/demo-data`.
|
|
160
|
-
|
|
161
|
-
The same subpaths are preserved for branded packages. For example, a consumer
|
|
162
|
-
built from the EDSIS release uses:
|
|
76
|
+
Then register the provider:
|
|
163
77
|
|
|
164
78
|
```ts
|
|
165
|
-
import {
|
|
166
|
-
import { cn } from '@edsis/angular/component/utils';
|
|
167
|
-
import { UiNavIconComponent } from '@edsis/angular/navigation/icon';
|
|
168
|
-
```
|
|
169
|
-
|
|
170
|
-
To verify the generated package still publishes smaller entrypoints after a
|
|
171
|
-
build, run:
|
|
79
|
+
import { provideUiTheme } from '@ojiepermana/angular-theme/styles';
|
|
172
80
|
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
81
|
+
export const appConfig = {
|
|
82
|
+
providers: [provideUiTheme({ mode: 'light', season: 'base' })],
|
|
83
|
+
};
|
|
176
84
|
```
|
|
177
85
|
|
|
178
|
-
|
|
179
|
-
entrypoint resolves to its own module and that the removed `./component` and
|
|
180
|
-
`./navigation` parent barrels do not return in the published exports.
|
|
181
|
-
|
|
182
|
-
## Navigation primitives
|
|
86
|
+
### Material Symbols icons (opt-in)
|
|
183
87
|
|
|
184
|
-
|
|
185
|
-
|
|
88
|
+
By default `provideUiTheme()` makes **no external network request**. To preload the
|
|
89
|
+
Material Symbols font from Google Fonts, opt in explicitly:
|
|
186
90
|
|
|
187
91
|
```ts
|
|
188
|
-
|
|
189
|
-
import { TopbarComponent } from '@your-scope/angular/navigation/topbar';
|
|
190
|
-
import { NavigationService } from '@your-scope/angular/navigation/service';
|
|
191
|
-
import type { NavigationItem, SidebarVariant } from '@your-scope/angular/navigation/types';
|
|
192
|
-
import { UiNavIconComponent } from '@your-scope/angular/navigation/icon';
|
|
193
|
-
```
|
|
194
|
-
|
|
195
|
-
The vertical navigation selector is now `sidebar` and the projected sidebar
|
|
196
|
-
slots use `sidebar-header` and `sidebar-footer`.
|
|
197
|
-
|
|
198
|
-
```html
|
|
199
|
-
<sidebar [ariaLabel]="'Primary'" [variant]="'default'">
|
|
200
|
-
<div sidebar-header>Brand</div>
|
|
201
|
-
<div sidebar-footer>Footer actions</div>
|
|
202
|
-
</sidebar>
|
|
203
|
-
```
|
|
204
|
-
|
|
205
|
-
Register items through `NavigationService.registerItems(...)`, or pass them directly with the `items` input when composing a local navigation tree.
|
|
206
|
-
|
|
207
|
-
## SDK generator in a consumer workspace
|
|
208
|
-
|
|
209
|
-
After `@ojiepermana/angular` is installed, a consumer workspace can scaffold an
|
|
210
|
-
SDK config file under `config/sdk.config.json` and generate an Angular SDK directly from the published
|
|
211
|
-
schematics:
|
|
212
|
-
|
|
213
|
-
```bash
|
|
214
|
-
ng generate @your-scope/angular:sdk-init
|
|
215
|
-
# edit config/sdk.config.json
|
|
216
|
-
ng generate @your-scope/angular:sdk
|
|
217
|
-
```
|
|
218
|
-
|
|
219
|
-
The main consumer flow is: create `config/sdk.config.json`, adjust the OpenAPI
|
|
220
|
-
input and output target, then run the SDK generator.
|
|
221
|
-
|
|
222
|
-
If you want short script aliases in the consumer app's `package.json`, add:
|
|
223
|
-
|
|
224
|
-
```json
|
|
225
|
-
{
|
|
226
|
-
"scripts": {
|
|
227
|
-
"gen:sdk:init": "ng generate @your-scope/angular:sdk-init",
|
|
228
|
-
"gen:sdk": "ng generate @your-scope/angular:sdk"
|
|
229
|
-
}
|
|
230
|
-
}
|
|
231
|
-
```
|
|
232
|
-
|
|
233
|
-
Consumers do not need a `gen:sdk:build` step because the npm package already
|
|
234
|
-
ships the compiled schematic runtime.
|
|
235
|
-
|
|
236
|
-
Common follow-up options:
|
|
237
|
-
|
|
238
|
-
```bash
|
|
239
|
-
ng generate @your-scope/angular:sdk-init --path=config/my-sdk.config.json
|
|
240
|
-
ng generate @your-scope/angular:sdk --config=config/my-sdk.config.json --dry-run
|
|
241
|
-
```
|
|
242
|
-
|
|
243
|
-
## Code scaffolding
|
|
244
|
-
|
|
245
|
-
Angular CLI includes powerful code scaffolding tools. To generate a new component, run:
|
|
246
|
-
|
|
247
|
-
```bash
|
|
248
|
-
bun run ng generate component component-name
|
|
249
|
-
```
|
|
250
|
-
|
|
251
|
-
For a complete list of available schematics (such as `components`, `directives`, or `pipes`), run:
|
|
252
|
-
|
|
253
|
-
```bash
|
|
254
|
-
bun run ng --help
|
|
255
|
-
```
|
|
256
|
-
|
|
257
|
-
## Building
|
|
258
|
-
|
|
259
|
-
To build the library, run:
|
|
260
|
-
|
|
261
|
-
```bash
|
|
262
|
-
bun run build
|
|
263
|
-
```
|
|
264
|
-
|
|
265
|
-
This command will compile your project, and the build artifacts will be placed in the `dist/` directory.
|
|
266
|
-
|
|
267
|
-
To inspect the generated entrypoint sizes after a build, run:
|
|
268
|
-
|
|
269
|
-
```bash
|
|
270
|
-
bun run report:entrypoints
|
|
271
|
-
```
|
|
272
|
-
|
|
273
|
-
### Publishing the Library
|
|
274
|
-
|
|
275
|
-
Publish the scoped package to the public npm registry from the workspace root.
|
|
276
|
-
|
|
277
|
-
First, log in to npm:
|
|
278
|
-
|
|
279
|
-
```bash
|
|
280
|
-
npm login
|
|
281
|
-
```
|
|
282
|
-
|
|
283
|
-
Then run:
|
|
284
|
-
|
|
285
|
-
```bash
|
|
286
|
-
bun run publish
|
|
287
|
-
```
|
|
288
|
-
|
|
289
|
-
By default, this command publishes every configured release target from `config/release.config.json`.
|
|
290
|
-
|
|
291
|
-
Release targets are configured in `config/release.config.json`. Each entry can override the published
|
|
292
|
-
package name plus `repository`, `homepage`, and `bugs` metadata so npm shows the correct package identity.
|
|
293
|
-
|
|
294
|
-
To publish the `edsis` target from that config, run:
|
|
295
|
-
|
|
296
|
-
```bash
|
|
297
|
-
bun run publish --edsis
|
|
298
|
-
```
|
|
299
|
-
|
|
300
|
-
To publish every configured release target in sequence, run:
|
|
301
|
-
|
|
302
|
-
```bash
|
|
303
|
-
bun run publish -all
|
|
304
|
-
```
|
|
305
|
-
|
|
306
|
-
`bun run publish` and `bun run publish -all` are equivalent.
|
|
307
|
-
|
|
308
|
-
That flow rebuilds `dist/angular` for each configured target, rewrites published package references, applies
|
|
309
|
-
the target-specific npm metadata, smoke-tests the tarball, then publishes it to npm.
|
|
310
|
-
|
|
311
|
-
### EDSIS Verification Flow
|
|
312
|
-
|
|
313
|
-
To validate the EDSIS package locally without publishing, use:
|
|
314
|
-
|
|
315
|
-
```bash
|
|
316
|
-
bun run build -- --package @edsis/angular --repository-url git+https://github.com/edsis/angular.git --homepage https://github.com/edsis/angular#readme --bugs-url https://github.com/edsis/angular/issues
|
|
317
|
-
bun run smoke:pack -- --package @edsis/angular
|
|
318
|
-
```
|
|
319
|
-
|
|
320
|
-
Consumer installation for the published EDSIS package is:
|
|
321
|
-
|
|
322
|
-
```bash
|
|
323
|
-
ng add @edsis/angular
|
|
324
|
-
bun add @edsis/angular
|
|
325
|
-
```
|
|
326
|
-
|
|
327
|
-
If you use `npm`, `pnpm`, or `yarn`, install the package with your package manager after `ng add`
|
|
328
|
-
finishes.
|
|
329
|
-
|
|
330
|
-
## Running unit tests
|
|
331
|
-
|
|
332
|
-
To execute unit tests with the [Karma](https://karma-runner.github.io) test runner, use the following command:
|
|
333
|
-
|
|
334
|
-
```bash
|
|
335
|
-
bun run test
|
|
336
|
-
```
|
|
337
|
-
|
|
338
|
-
## Running end-to-end tests
|
|
339
|
-
|
|
340
|
-
For end-to-end (e2e) testing, run:
|
|
341
|
-
|
|
342
|
-
```bash
|
|
343
|
-
bun run ng e2e
|
|
92
|
+
provideUiTheme({ icons: { materialSymbols: true } });
|
|
344
93
|
```
|
|
345
94
|
|
|
346
|
-
|
|
95
|
+
For privacy / offline / strict-CSP setups, leave it off and self-host the font in
|
|
96
|
+
your own stylesheet instead.
|
|
347
97
|
|
|
348
|
-
##
|
|
98
|
+
## License
|
|
349
99
|
|
|
350
|
-
|
|
100
|
+
See the repository for license details.
|