@ks-digital/designsystem-angular 0.0.1-alpha.18 → 0.0.1-alpha.19
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 -1
- package/dist/README.md +16 -1
- package/package.json +5 -4
package/README.md
CHANGED
|
@@ -33,8 +33,23 @@ Import the base styles and the theme you want to use in your application:
|
|
|
33
33
|
|
|
34
34
|
### 3. Use Components
|
|
35
35
|
|
|
36
|
-
|
|
36
|
+
```ts
|
|
37
|
+
import { Button } from '@ks-digital/designsystem-angular'
|
|
38
|
+
|
|
39
|
+
@Component({
|
|
40
|
+
imports: [Button],
|
|
41
|
+
template: `
|
|
42
|
+
<button ksd-button>
|
|
43
|
+
Click me
|
|
44
|
+
</button>
|
|
45
|
+
`,
|
|
46
|
+
})
|
|
47
|
+
```
|
|
37
48
|
|
|
38
49
|
## Example
|
|
39
50
|
|
|
40
51
|
A complete example setup is available in the `angular-demo` located under the `apps` folder.
|
|
52
|
+
|
|
53
|
+
## Development
|
|
54
|
+
|
|
55
|
+
`pnpm nx run @ks-digital/designsystem-angular:storybook`
|
package/dist/README.md
CHANGED
|
@@ -33,8 +33,23 @@ Import the base styles and the theme you want to use in your application:
|
|
|
33
33
|
|
|
34
34
|
### 3. Use Components
|
|
35
35
|
|
|
36
|
-
|
|
36
|
+
```ts
|
|
37
|
+
import { Button } from '@ks-digital/designsystem-angular'
|
|
38
|
+
|
|
39
|
+
@Component({
|
|
40
|
+
imports: [Button],
|
|
41
|
+
template: `
|
|
42
|
+
<button ksd-button>
|
|
43
|
+
Click me
|
|
44
|
+
</button>
|
|
45
|
+
`,
|
|
46
|
+
})
|
|
47
|
+
```
|
|
37
48
|
|
|
38
49
|
## Example
|
|
39
50
|
|
|
40
51
|
A complete example setup is available in the `angular-demo` located under the `apps` folder.
|
|
52
|
+
|
|
53
|
+
## Development
|
|
54
|
+
|
|
55
|
+
`pnpm nx run @ks-digital/designsystem-angular:storybook`
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"url": "https://github.com/ks-no/designsystem.git",
|
|
6
6
|
"directory": "packages/angular"
|
|
7
7
|
},
|
|
8
|
-
"version": "0.0.1-alpha.
|
|
8
|
+
"version": "0.0.1-alpha.19",
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"private": false,
|
|
11
11
|
"publishConfig": {
|
|
@@ -23,9 +23,7 @@
|
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
25
|
"@angular/common": ">=20.0.0",
|
|
26
|
-
"@angular/core": ">=20.0.0"
|
|
27
|
-
"@angular/platform-browser": ">=20.0.0",
|
|
28
|
-
"@angular/platform-server": ">=20.0.0"
|
|
26
|
+
"@angular/core": ">=20.0.0"
|
|
29
27
|
},
|
|
30
28
|
"devDependencies": {
|
|
31
29
|
"@analogjs/storybook-angular": "^1.19.4",
|
|
@@ -37,6 +35,9 @@
|
|
|
37
35
|
"@angular-eslint/eslint-plugin-template": "^20.0.0",
|
|
38
36
|
"@angular-eslint/schematics": "^20.0.0",
|
|
39
37
|
"@angular-eslint/template-parser": "^20.0.0",
|
|
38
|
+
"@ng-icons/core": "^32.1.0",
|
|
39
|
+
"@ng-icons/material-icons": "^32.1.0",
|
|
40
|
+
"@ng-icons/material-symbols": "^32.1.0",
|
|
40
41
|
"@testing-library/angular": "^17.4.0",
|
|
41
42
|
"@testing-library/jest-dom": "^6.6.3",
|
|
42
43
|
"angular-eslint": "^20.0.0",
|