@ks-digital/designsystem-angular 0.0.1-alpha.18 → 0.0.1-alpha.20
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/dist/fesm2022/ks-digital-designsystem-angular.mjs +1 -1
- package/dist/index.d.ts +22 -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`
|
|
@@ -900,5 +900,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImpor
|
|
|
900
900
|
* Generated bundle index. Do not edit.
|
|
901
901
|
*/
|
|
902
902
|
|
|
903
|
-
export { Button, Card, CardBlock, CommonInputs, Details, DetailsContent, DetailsSummary, Field, FieldDescription, FieldError, Fieldset, FieldsetDescription, FieldsetLegend, Input, Label, Paragraph, Popover, ValidationMessage };
|
|
903
|
+
export { Button, Card, CardBlock, CommonInputs, Details, DetailsContent, DetailsSummary, Field, FieldDescription, FieldError, Fieldset, FieldsetDescription, FieldsetLegend, Input, Label, Paragraph, Popover, Spinner, ValidationMessage };
|
|
904
904
|
//# sourceMappingURL=ks-digital-designsystem-angular.mjs.map
|
package/dist/index.d.ts
CHANGED
|
@@ -210,5 +210,26 @@ declare class Popover {
|
|
|
210
210
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<Popover, "ksd-popover", never, { "popoverId": { "alias": "popoverId"; "required": true; "isSignal": true; }; "placement": { "alias": "placement"; "required": false; "isSignal": true; }; "autoPlacement": { "alias": "autoPlacement"; "required": false; "isSignal": true; }; "open": { "alias": "open"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "dataSize": { "alias": "data-size"; "required": false; "isSignal": true; }; "dataColor": { "alias": "data-color"; "required": false; "isSignal": true; }; }, { "triggeredClose": "triggeredClose"; "triggeredOpen": "triggeredOpen"; }, never, ["*"], true, never>;
|
|
211
211
|
}
|
|
212
212
|
|
|
213
|
-
|
|
213
|
+
declare class Spinner {
|
|
214
|
+
/**
|
|
215
|
+
* Aria-label for the spinner
|
|
216
|
+
*/
|
|
217
|
+
readonly ariaLabel: _angular_core.InputSignal<string>;
|
|
218
|
+
/**
|
|
219
|
+
* Aria-label for the spinner
|
|
220
|
+
*/
|
|
221
|
+
readonly dataSize: _angular_core.InputSignal<Size>;
|
|
222
|
+
/**
|
|
223
|
+
* Aria-label for the spinner
|
|
224
|
+
*/
|
|
225
|
+
readonly dataColor: _angular_core.InputSignal<Size>;
|
|
226
|
+
/**
|
|
227
|
+
* Aria-hidden for the spinner
|
|
228
|
+
*/
|
|
229
|
+
readonly ariaHidden: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
230
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<Spinner, never>;
|
|
231
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<Spinner, "ksd-spinner", never, { "ariaLabel": { "alias": "aria-label"; "required": false; "isSignal": true; }; "dataSize": { "alias": "data-size"; "required": false; "isSignal": true; }; "dataColor": { "alias": "data-color"; "required": false; "isSignal": true; }; "ariaHidden": { "alias": "aria-hidden"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
export { Button, Card, CardBlock, CommonInputs, Details, DetailsContent, DetailsSummary, Field, FieldDescription, FieldError, Fieldset, FieldsetDescription, FieldsetLegend, Input, Label, Paragraph, Popover, Spinner, ValidationMessage };
|
|
214
235
|
export type { Size };
|
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.20",
|
|
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",
|