@ojiepermana/angular 22.0.29 → 22.0.31
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 +15 -15
- package/fesm2022/ojiepermana-angular-chart.mjs +2 -2
- package/fesm2022/ojiepermana-angular-component.mjs +2 -2
- package/fesm2022/ojiepermana-angular-navigation.mjs +2 -2
- package/fesm2022/ojiepermana-angular-sdk.mjs +2 -2
- package/fesm2022/ojiepermana-angular-theme.mjs +2 -2
- package/fesm2022/ojiepermana-angular.mjs +11 -12
- package/package.json +6 -6
- package/types/ojiepermana-angular-chart.d.ts +1 -1
- package/types/ojiepermana-angular-component.d.ts +1 -1
- package/types/ojiepermana-angular-navigation.d.ts +1 -1
- package/types/ojiepermana-angular-sdk.d.ts +1 -1
- package/types/ojiepermana-angular-theme.d.ts +1 -1
- package/types/ojiepermana-angular.d.ts +5 -5
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @ojiepermana/angular
|
|
2
2
|
|
|
3
|
-
Umbrella meta-package for the `@ojiepermana
|
|
3
|
+
Umbrella meta-package for the `@ojiepermana/*` design system (Angular v22+).
|
|
4
4
|
Installing it pulls in the whole suite in one command; you then import from the
|
|
5
5
|
per-feature **subpath entry points** that make up the public API.
|
|
6
6
|
|
|
@@ -13,11 +13,11 @@ This single install resolves all five libraries as direct dependencies:
|
|
|
13
13
|
|
|
14
14
|
| Package | What it provides |
|
|
15
15
|
| -------------------------------- | ------------------------------------------------------- |
|
|
16
|
-
| `@ojiepermana/
|
|
17
|
-
| `@ojiepermana/
|
|
18
|
-
| `@ojiepermana/
|
|
19
|
-
| `@ojiepermana/
|
|
20
|
-
| `@ojiepermana/
|
|
16
|
+
| `@ojiepermana/component` | UI components (button, dialog, table, …) + `icon` utils |
|
|
17
|
+
| `@ojiepermana/chart` | Chart families built on `d3-scale`/`d3-shape` |
|
|
18
|
+
| `@ojiepermana/navigation`| App shell / navigation container |
|
|
19
|
+
| `@ojiepermana/theme` | Theme provider, tokens, and Tailwind v4 CSS |
|
|
20
|
+
| `@ojiepermana/sdk` | OpenAPI → Angular SDK generator (schematics) |
|
|
21
21
|
|
|
22
22
|
## Peer dependencies
|
|
23
23
|
|
|
@@ -46,19 +46,19 @@ its own entry point instead:
|
|
|
46
46
|
|
|
47
47
|
```ts
|
|
48
48
|
// Components — one entry point per component
|
|
49
|
-
import { Button } from '@ojiepermana/
|
|
50
|
-
import { Card } from '@ojiepermana/
|
|
51
|
-
import { Dialog } from '@ojiepermana/
|
|
49
|
+
import { Button } from '@ojiepermana/component/button';
|
|
50
|
+
import { Card } from '@ojiepermana/component/card';
|
|
51
|
+
import { Dialog } from '@ojiepermana/component/dialog';
|
|
52
52
|
|
|
53
53
|
// Charts
|
|
54
|
-
import { BarChart } from '@ojiepermana/
|
|
54
|
+
import { BarChart } from '@ojiepermana/chart/bar';
|
|
55
55
|
|
|
56
56
|
// Theme provider
|
|
57
|
-
import { provideUiTheme } from '@ojiepermana/
|
|
57
|
+
import { provideUiTheme } from '@ojiepermana/theme/styles';
|
|
58
58
|
```
|
|
59
59
|
|
|
60
60
|
> The `@ojiepermana/angular/<lib>` subpaths exist as a convenience mirror, but the
|
|
61
|
-
> canonical, fully tree-shakeable imports are the `@ojiepermana
|
|
61
|
+
> canonical, fully tree-shakeable imports are the `@ojiepermana/<lib>/<name>`
|
|
62
62
|
> entry points shown above.
|
|
63
63
|
|
|
64
64
|
## Theme & Tailwind v4 setup
|
|
@@ -68,15 +68,15 @@ stylesheet (the CSS ships inside the package and is reachable by name):
|
|
|
68
68
|
|
|
69
69
|
```css
|
|
70
70
|
/* styles.css */
|
|
71
|
-
@import '@ojiepermana/
|
|
71
|
+
@import '@ojiepermana/theme/theme.css'; /* base tokens + component styles */
|
|
72
72
|
@import 'tailwindcss';
|
|
73
|
-
@import '@ojiepermana/
|
|
73
|
+
@import '@ojiepermana/theme/styles/css/seasonal/base/tailwind.css'; /* maps tokens → bg-primary, text-foreground, … */
|
|
74
74
|
```
|
|
75
75
|
|
|
76
76
|
Then register the provider:
|
|
77
77
|
|
|
78
78
|
```ts
|
|
79
|
-
import { provideUiTheme } from '@ojiepermana/
|
|
79
|
+
import { provideUiTheme } from '@ojiepermana/theme/styles';
|
|
80
80
|
|
|
81
81
|
export const appConfig = {
|
|
82
82
|
providers: [provideUiTheme({ mode: 'light', season: 'base' })],
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export * from '@ojiepermana/
|
|
1
|
+
export * from '@ojiepermana/chart';
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
4
|
* Public API of @ojiepermana/angular/chart
|
|
5
|
-
* Re-exports the independent @ojiepermana/
|
|
5
|
+
* Re-exports the independent @ojiepermana/chart package.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export * from '@ojiepermana/
|
|
1
|
+
export * from '@ojiepermana/component';
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
4
|
* Public API of @ojiepermana/angular/component
|
|
5
|
-
* Re-exports the independent @ojiepermana/
|
|
5
|
+
* Re-exports the independent @ojiepermana/component package.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export * from '@ojiepermana/
|
|
1
|
+
export * from '@ojiepermana/navigation';
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
4
|
* Public API of @ojiepermana/angular/navigation
|
|
5
|
-
* Re-exports the independent @ojiepermana/
|
|
5
|
+
* Re-exports the independent @ojiepermana/navigation package.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export * from '@ojiepermana/
|
|
1
|
+
export * from '@ojiepermana/sdk';
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
4
|
* Public API of @ojiepermana/angular/sdk
|
|
5
|
-
* Re-exports the independent @ojiepermana/
|
|
5
|
+
* Re-exports the independent @ojiepermana/sdk package.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export * from '@ojiepermana/
|
|
1
|
+
export * from '@ojiepermana/theme';
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
4
|
* Public API of @ojiepermana/angular/theme
|
|
5
|
-
* Re-exports the independent @ojiepermana/
|
|
5
|
+
* Re-exports the independent @ojiepermana/theme package.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -1,19 +1,18 @@
|
|
|
1
|
-
export * from '@ojiepermana/
|
|
2
|
-
export * from '@ojiepermana/
|
|
3
|
-
export * from '@ojiepermana/
|
|
4
|
-
export * from '@ojiepermana/
|
|
5
|
-
export * from '@ojiepermana/
|
|
1
|
+
export * from '@ojiepermana/chart';
|
|
2
|
+
export * from '@ojiepermana/component';
|
|
3
|
+
export * from '@ojiepermana/navigation';
|
|
4
|
+
export * from '@ojiepermana/sdk';
|
|
5
|
+
export * from '@ojiepermana/theme';
|
|
6
6
|
|
|
7
7
|
/*
|
|
8
8
|
* Public API of @ojiepermana/angular
|
|
9
9
|
*
|
|
10
|
-
* Umbrella wrapper around the independent @ojiepermana
|
|
11
|
-
* Prefer the dedicated subpaths for precise imports, e.g.:
|
|
12
|
-
* import {
|
|
13
|
-
* import {
|
|
14
|
-
* import {
|
|
15
|
-
*
|
|
16
|
-
* import { ... } from '@ojiepermana/angular/theme';
|
|
10
|
+
* Umbrella wrapper around the independent @ojiepermana/* packages.
|
|
11
|
+
* Prefer the dedicated package subpaths for precise, tree-shakeable imports, e.g.:
|
|
12
|
+
* import { BarChart } from '@ojiepermana/chart/bar';
|
|
13
|
+
* import { Button } from '@ojiepermana/component/button';
|
|
14
|
+
* import { provideUiTheme } from '@ojiepermana/theme/styles';
|
|
15
|
+
* (The @ojiepermana/angular/<lib> subpaths below are a convenience mirror.)
|
|
17
16
|
*/
|
|
18
17
|
|
|
19
18
|
/**
|
package/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ojiepermana/angular",
|
|
3
|
-
"version": "22.0.
|
|
3
|
+
"version": "22.0.31",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^22.0.0",
|
|
6
6
|
"@angular/core": "^22.0.0"
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@ojiepermana/
|
|
10
|
-
"@ojiepermana/
|
|
11
|
-
"@ojiepermana/
|
|
12
|
-
"@ojiepermana/
|
|
13
|
-
"@ojiepermana/
|
|
9
|
+
"@ojiepermana/chart": "^22.0.31",
|
|
10
|
+
"@ojiepermana/component": "^22.0.31",
|
|
11
|
+
"@ojiepermana/navigation": "^22.0.31",
|
|
12
|
+
"@ojiepermana/sdk": "^22.0.31",
|
|
13
|
+
"@ojiepermana/theme": "^22.0.31",
|
|
14
14
|
"tslib": "^2.3.0"
|
|
15
15
|
},
|
|
16
16
|
"publishConfig": {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from '@ojiepermana/
|
|
1
|
+
export * from '@ojiepermana/chart';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from '@ojiepermana/
|
|
1
|
+
export * from '@ojiepermana/component';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from '@ojiepermana/
|
|
1
|
+
export * from '@ojiepermana/navigation';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from '@ojiepermana/
|
|
1
|
+
export * from '@ojiepermana/sdk';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from '@ojiepermana/
|
|
1
|
+
export * from '@ojiepermana/theme';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from '@ojiepermana/
|
|
2
|
-
export * from '@ojiepermana/
|
|
3
|
-
export * from '@ojiepermana/
|
|
4
|
-
export * from '@ojiepermana/
|
|
5
|
-
export * from '@ojiepermana/
|
|
1
|
+
export * from '@ojiepermana/chart';
|
|
2
|
+
export * from '@ojiepermana/component';
|
|
3
|
+
export * from '@ojiepermana/navigation';
|
|
4
|
+
export * from '@ojiepermana/sdk';
|
|
5
|
+
export * from '@ojiepermana/theme';
|