@ks-digital/designsystem-angular 0.0.1-alpha.8 → 0.0.1-alpha.80

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.
Files changed (104) hide show
  1. package/README.md +29 -12
  2. package/__internals/README.md +3 -0
  3. package/alert/README.md +3 -0
  4. package/breadcrumbs/README.md +3 -0
  5. package/button/README.md +3 -0
  6. package/card/README.md +3 -0
  7. package/details/README.md +3 -0
  8. package/dialog/README.md +3 -0
  9. package/dropdown/README.md +3 -0
  10. package/error-summary/README.md +3 -0
  11. package/fesm2022/ks-digital-designsystem-angular-__internals.mjs +152 -0
  12. package/fesm2022/ks-digital-designsystem-angular-__internals.mjs.map +1 -0
  13. package/fesm2022/ks-digital-designsystem-angular-alert.mjs +60 -0
  14. package/fesm2022/ks-digital-designsystem-angular-alert.mjs.map +1 -0
  15. package/fesm2022/ks-digital-designsystem-angular-breadcrumbs.mjs +87 -0
  16. package/fesm2022/ks-digital-designsystem-angular-breadcrumbs.mjs.map +1 -0
  17. package/fesm2022/ks-digital-designsystem-angular-button.mjs +200 -0
  18. package/fesm2022/ks-digital-designsystem-angular-button.mjs.map +1 -0
  19. package/fesm2022/ks-digital-designsystem-angular-card.mjs +137 -0
  20. package/fesm2022/ks-digital-designsystem-angular-card.mjs.map +1 -0
  21. package/fesm2022/ks-digital-designsystem-angular-chip.mjs +77 -0
  22. package/fesm2022/ks-digital-designsystem-angular-chip.mjs.map +1 -0
  23. package/fesm2022/ks-digital-designsystem-angular-details.mjs +149 -0
  24. package/fesm2022/ks-digital-designsystem-angular-details.mjs.map +1 -0
  25. package/fesm2022/ks-digital-designsystem-angular-dialog.mjs +107 -0
  26. package/fesm2022/ks-digital-designsystem-angular-dialog.mjs.map +1 -0
  27. package/fesm2022/ks-digital-designsystem-angular-dropdown.mjs +148 -0
  28. package/fesm2022/ks-digital-designsystem-angular-dropdown.mjs.map +1 -0
  29. package/fesm2022/ks-digital-designsystem-angular-error-summary.mjs +84 -0
  30. package/fesm2022/ks-digital-designsystem-angular-error-summary.mjs.map +1 -0
  31. package/fesm2022/ks-digital-designsystem-angular-forms.mjs +514 -0
  32. package/fesm2022/ks-digital-designsystem-angular-forms.mjs.map +1 -0
  33. package/fesm2022/ks-digital-designsystem-angular-heading.mjs +70 -0
  34. package/fesm2022/ks-digital-designsystem-angular-heading.mjs.map +1 -0
  35. package/fesm2022/ks-digital-designsystem-angular-link.mjs +60 -0
  36. package/fesm2022/ks-digital-designsystem-angular-link.mjs.map +1 -0
  37. package/fesm2022/ks-digital-designsystem-angular-pagination.mjs +471 -0
  38. package/fesm2022/ks-digital-designsystem-angular-pagination.mjs.map +1 -0
  39. package/fesm2022/ks-digital-designsystem-angular-paragraph.mjs +42 -0
  40. package/fesm2022/ks-digital-designsystem-angular-paragraph.mjs.map +1 -0
  41. package/fesm2022/ks-digital-designsystem-angular-popover.mjs +148 -0
  42. package/fesm2022/ks-digital-designsystem-angular-popover.mjs.map +1 -0
  43. package/fesm2022/ks-digital-designsystem-angular-search.mjs +281 -0
  44. package/fesm2022/ks-digital-designsystem-angular-search.mjs.map +1 -0
  45. package/fesm2022/ks-digital-designsystem-angular-skeleton.mjs +79 -0
  46. package/fesm2022/ks-digital-designsystem-angular-skeleton.mjs.map +1 -0
  47. package/fesm2022/ks-digital-designsystem-angular-spinner.mjs +183 -0
  48. package/fesm2022/ks-digital-designsystem-angular-spinner.mjs.map +1 -0
  49. package/fesm2022/ks-digital-designsystem-angular-suggestion.mjs +639 -0
  50. package/fesm2022/ks-digital-designsystem-angular-suggestion.mjs.map +1 -0
  51. package/fesm2022/ks-digital-designsystem-angular-table.mjs +248 -0
  52. package/fesm2022/ks-digital-designsystem-angular-table.mjs.map +1 -0
  53. package/fesm2022/ks-digital-designsystem-angular-tabs.mjs +325 -0
  54. package/fesm2022/ks-digital-designsystem-angular-tabs.mjs.map +1 -0
  55. package/fesm2022/ks-digital-designsystem-angular-tag.mjs +85 -0
  56. package/fesm2022/ks-digital-designsystem-angular-tag.mjs.map +1 -0
  57. package/fesm2022/ks-digital-designsystem-angular-validation-message.mjs +43 -0
  58. package/fesm2022/ks-digital-designsystem-angular-validation-message.mjs.map +1 -0
  59. package/fesm2022/ks-digital-designsystem-angular.mjs +2 -0
  60. package/fesm2022/ks-digital-designsystem-angular.mjs.map +1 -0
  61. package/forms/README.md +3 -0
  62. package/heading/README.md +3 -0
  63. package/link/README.md +3 -0
  64. package/package.json +114 -28
  65. package/pagination/README.md +3 -0
  66. package/paragraph/README.md +3 -0
  67. package/popover/README.md +3 -0
  68. package/search/README.md +3 -0
  69. package/skeleton/README.md +3 -0
  70. package/spinner/README.md +3 -0
  71. package/suggestion/README.md +3 -0
  72. package/table/README.md +3 -0
  73. package/tabs/README.md +3 -0
  74. package/tag/README.md +3 -0
  75. package/types/ks-digital-designsystem-angular-__internals.d.ts +64 -0
  76. package/types/ks-digital-designsystem-angular-alert.d.ts +21 -0
  77. package/types/ks-digital-designsystem-angular-breadcrumbs.d.ts +29 -0
  78. package/types/ks-digital-designsystem-angular-button.d.ts +67 -0
  79. package/types/ks-digital-designsystem-angular-card.d.ts +39 -0
  80. package/types/ks-digital-designsystem-angular-chip.d.ts +30 -0
  81. package/types/ks-digital-designsystem-angular-details.d.ts +34 -0
  82. package/types/ks-digital-designsystem-angular-dialog.d.ts +40 -0
  83. package/types/ks-digital-designsystem-angular-dropdown.d.ts +44 -0
  84. package/types/ks-digital-designsystem-angular-error-summary.d.ts +17 -0
  85. package/types/ks-digital-designsystem-angular-forms.d.ts +146 -0
  86. package/types/ks-digital-designsystem-angular-heading.d.ts +22 -0
  87. package/types/ks-digital-designsystem-angular-link.d.ts +18 -0
  88. package/types/ks-digital-designsystem-angular-pagination.d.ts +141 -0
  89. package/types/ks-digital-designsystem-angular-paragraph.d.ts +5 -0
  90. package/types/ks-digital-designsystem-angular-popover.d.ts +44 -0
  91. package/types/ks-digital-designsystem-angular-search.d.ts +100 -0
  92. package/types/ks-digital-designsystem-angular-skeleton.d.ts +21 -0
  93. package/types/ks-digital-designsystem-angular-spinner.d.ts +42 -0
  94. package/types/ks-digital-designsystem-angular-suggestion.d.ts +198 -0
  95. package/types/ks-digital-designsystem-angular-table.d.ts +68 -0
  96. package/types/ks-digital-designsystem-angular-tabs.d.ts +105 -0
  97. package/types/ks-digital-designsystem-angular-tag.d.ts +30 -0
  98. package/types/ks-digital-designsystem-angular-validation-message.d.ts +5 -0
  99. package/types/ks-digital-designsystem-angular.d.ts +2 -0
  100. package/validation-message/README.md +3 -0
  101. package/dist/README.md +0 -43
  102. package/dist/fesm2022/ks-digital-designsystem-angular.mjs +0 -195
  103. package/dist/fesm2022/ks-digital-designsystem-angular.mjs.map +0 -1
  104. package/dist/index.d.ts +0 -75
@@ -0,0 +1,43 @@
1
+ import * as i0 from "@angular/core";
2
+ import { Directive } from "@angular/core";
3
+ var ValidationMessage = class ValidationMessage {
4
+ static ɵfac = i0.ɵɵngDeclareFactory({
5
+ minVersion: "12.0.0",
6
+ version: "22.2.2",
7
+ ngImport: i0,
8
+ type: ValidationMessage,
9
+ deps: [],
10
+ target: i0.ɵɵFactoryTarget.Directive
11
+ });
12
+ static ɵdir = i0.ɵɵngDeclareDirective({
13
+ minVersion: "14.0.0",
14
+ version: "22.2.2",
15
+ type: ValidationMessage,
16
+ isStandalone: true,
17
+ selector: "[ksd-validation-message]",
18
+ host: {
19
+ attributes: { "data-field": "validation" },
20
+ classAttribute: "ds-validation-message"
21
+ },
22
+ ngImport: i0
23
+ });
24
+ };
25
+ i0.ɵɵngDeclareClassMetadata({
26
+ minVersion: "12.0.0",
27
+ version: "22.2.2",
28
+ ngImport: i0,
29
+ type: ValidationMessage,
30
+ decorators: [{
31
+ type: Directive,
32
+ args: [{
33
+ selector: "[ksd-validation-message]",
34
+ host: {
35
+ class: "ds-validation-message",
36
+ "data-field": "validation"
37
+ }
38
+ }]
39
+ }]
40
+ });
41
+ export { ValidationMessage };
42
+
43
+ //# sourceMappingURL=ks-digital-designsystem-angular-validation-message.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ks-digital-designsystem-angular-validation-message.mjs","names":[],"sources":["../../../../packages/angular/validation-message/src/validation-message.ts"],"sourcesContent":["import { Directive } from '@angular/core'\n\n@Directive({\n // eslint-disable-next-line @angular-eslint/directive-selector\n selector: '[ksd-validation-message]',\n host: {\n class: 'ds-validation-message',\n 'data-field': 'validation',\n },\n})\nexport class ValidationMessage {}\n"],"mappings":";;AAUA,IAAa,oBAAb,MAAa,kBAAiB;CAAjB,OAAA,OAAA,GAAA,mBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,UAAA;EAAA,MAAA;EAAiB,MAAA,CAAA;EAAA,QAAA,GAAA,gBAAA;CAAA,CAAA;CAAjB,OAAA,OAAA,GAAA,qBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,MAAA;EAAiB,cAAA;EAAA,UAAA;EAAA,MAAA;GAAA,YAAA,EAAA,cAAA,aAAA;GAAA,gBAAA;EAAA;EAAA,UAAA;CAAA,CAAA;;AAAjB,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAiB,YAAA,CAAA;EAR7B,MAAA;EAAU,MAAA,CAAA;GAET,UAAU;GACV,MAAM;IACJ,OAAO;IACP,cAAc;GACf;EACF,CAAA"}
@@ -0,0 +1,2 @@
1
+
2
+ //# sourceMappingURL=ks-digital-designsystem-angular.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ks-digital-designsystem-angular.mjs","names":[],"sources":["../../../../packages/angular/src/index.ts"],"sourcesContent":["// Needs an export to compile\nexport default void 0\n"],"mappings":""}
@@ -0,0 +1,3 @@
1
+ # @ks-digital/designsystem-angular/forms
2
+
3
+ Secondary entry point of `@ks-digital/designsystem-angular`. It can be used by importing from `@ks-digital/designsystem-angular/forms`.
@@ -0,0 +1,3 @@
1
+ # @ks-digital/designsystem-angular/heading
2
+
3
+ Secondary entry point of `@ks-digital/designsystem-angular`. It can be used by importing from `@ks-digital/designsystem-angular/heading`.
package/link/README.md ADDED
@@ -0,0 +1,3 @@
1
+ # @ks-digital/designsystem-angular/link
2
+
3
+ Secondary entry point of `@ks-digital/designsystem-angular`. It can be used by importing from `@ks-digital/designsystem-angular/link`.
package/package.json CHANGED
@@ -5,42 +5,128 @@
5
5
  "url": "https://github.com/ks-no/designsystem.git",
6
6
  "directory": "packages/angular"
7
7
  },
8
- "version": "0.0.1-alpha.8",
8
+ "version": "0.0.1-alpha.80",
9
9
  "license": "MIT",
10
10
  "private": false,
11
11
  "publishConfig": {
12
12
  "access": "public"
13
13
  },
14
- "type": "module",
15
- "files": [
16
- "./dist"
17
- ],
18
- "main": "./dist/fesm2022/ks-digital-designsystem-angular.mjs",
19
- "types": "./dist/index.d.ts",
20
14
  "dependencies": {
21
- "@digdir/designsystemet-css": "1.0.5"
15
+ "@digdir/designsystemet-web": "1.23.0",
16
+ "tslib": "^2.3.0"
22
17
  },
23
18
  "peerDependencies": {
24
- "@angular/common": ">=20.0.0",
25
- "@angular/core": ">=20.0.0",
26
- "@angular/platform-browser": ">=20.0.0",
27
- "@angular/platform-server": ">=20.0.0"
19
+ "@angular/common": ">= 22.0.0 < 23.0.0",
20
+ "@angular/core": ">= 22.0.0 < 23.0.0",
21
+ "@angular/forms": ">= 22.0.0 < 23.0.0"
28
22
  },
29
- "devDependencies": {
30
- "@analogjs/vite-plugin-angular": "~1.17.1",
31
- "@analogjs/vitest-angular": "~1.17.1",
32
- "@angular-eslint/builder": "^20.0.0",
33
- "@angular-eslint/bundled-angular-compiler": "^20.0.0",
34
- "@angular-eslint/eslint-plugin": "^20.0.0",
35
- "@angular-eslint/eslint-plugin-template": "^20.0.0",
36
- "@angular-eslint/schematics": "^20.0.0",
37
- "@angular-eslint/template-parser": "^20.0.0",
38
- "@testing-library/angular": "^17.4.0",
39
- "angular-eslint": "^20.0.0",
40
- "jsdom": "~22.1.0",
41
- "ng-packagr": "^20.0.1"
23
+ "module": "fesm2022/ks-digital-designsystem-angular.mjs",
24
+ "typings": "types/ks-digital-designsystem-angular.d.ts",
25
+ "exports": {
26
+ "./package.json": {
27
+ "default": "./package.json"
28
+ },
29
+ ".": {
30
+ "types": "./types/ks-digital-designsystem-angular.d.ts",
31
+ "default": "./fesm2022/ks-digital-designsystem-angular.mjs"
32
+ },
33
+ "./__internals": {
34
+ "types": "./types/ks-digital-designsystem-angular-__internals.d.ts",
35
+ "default": "./fesm2022/ks-digital-designsystem-angular-__internals.mjs"
36
+ },
37
+ "./alert": {
38
+ "types": "./types/ks-digital-designsystem-angular-alert.d.ts",
39
+ "default": "./fesm2022/ks-digital-designsystem-angular-alert.mjs"
40
+ },
41
+ "./breadcrumbs": {
42
+ "types": "./types/ks-digital-designsystem-angular-breadcrumbs.d.ts",
43
+ "default": "./fesm2022/ks-digital-designsystem-angular-breadcrumbs.mjs"
44
+ },
45
+ "./button": {
46
+ "types": "./types/ks-digital-designsystem-angular-button.d.ts",
47
+ "default": "./fesm2022/ks-digital-designsystem-angular-button.mjs"
48
+ },
49
+ "./card": {
50
+ "types": "./types/ks-digital-designsystem-angular-card.d.ts",
51
+ "default": "./fesm2022/ks-digital-designsystem-angular-card.mjs"
52
+ },
53
+ "./chip": {
54
+ "types": "./types/ks-digital-designsystem-angular-chip.d.ts",
55
+ "default": "./fesm2022/ks-digital-designsystem-angular-chip.mjs"
56
+ },
57
+ "./details": {
58
+ "types": "./types/ks-digital-designsystem-angular-details.d.ts",
59
+ "default": "./fesm2022/ks-digital-designsystem-angular-details.mjs"
60
+ },
61
+ "./dialog": {
62
+ "types": "./types/ks-digital-designsystem-angular-dialog.d.ts",
63
+ "default": "./fesm2022/ks-digital-designsystem-angular-dialog.mjs"
64
+ },
65
+ "./dropdown": {
66
+ "types": "./types/ks-digital-designsystem-angular-dropdown.d.ts",
67
+ "default": "./fesm2022/ks-digital-designsystem-angular-dropdown.mjs"
68
+ },
69
+ "./error-summary": {
70
+ "types": "./types/ks-digital-designsystem-angular-error-summary.d.ts",
71
+ "default": "./fesm2022/ks-digital-designsystem-angular-error-summary.mjs"
72
+ },
73
+ "./forms": {
74
+ "types": "./types/ks-digital-designsystem-angular-forms.d.ts",
75
+ "default": "./fesm2022/ks-digital-designsystem-angular-forms.mjs"
76
+ },
77
+ "./heading": {
78
+ "types": "./types/ks-digital-designsystem-angular-heading.d.ts",
79
+ "default": "./fesm2022/ks-digital-designsystem-angular-heading.mjs"
80
+ },
81
+ "./link": {
82
+ "types": "./types/ks-digital-designsystem-angular-link.d.ts",
83
+ "default": "./fesm2022/ks-digital-designsystem-angular-link.mjs"
84
+ },
85
+ "./pagination": {
86
+ "types": "./types/ks-digital-designsystem-angular-pagination.d.ts",
87
+ "default": "./fesm2022/ks-digital-designsystem-angular-pagination.mjs"
88
+ },
89
+ "./paragraph": {
90
+ "types": "./types/ks-digital-designsystem-angular-paragraph.d.ts",
91
+ "default": "./fesm2022/ks-digital-designsystem-angular-paragraph.mjs"
92
+ },
93
+ "./popover": {
94
+ "types": "./types/ks-digital-designsystem-angular-popover.d.ts",
95
+ "default": "./fesm2022/ks-digital-designsystem-angular-popover.mjs"
96
+ },
97
+ "./search": {
98
+ "types": "./types/ks-digital-designsystem-angular-search.d.ts",
99
+ "default": "./fesm2022/ks-digital-designsystem-angular-search.mjs"
100
+ },
101
+ "./skeleton": {
102
+ "types": "./types/ks-digital-designsystem-angular-skeleton.d.ts",
103
+ "default": "./fesm2022/ks-digital-designsystem-angular-skeleton.mjs"
104
+ },
105
+ "./spinner": {
106
+ "types": "./types/ks-digital-designsystem-angular-spinner.d.ts",
107
+ "default": "./fesm2022/ks-digital-designsystem-angular-spinner.mjs"
108
+ },
109
+ "./suggestion": {
110
+ "types": "./types/ks-digital-designsystem-angular-suggestion.d.ts",
111
+ "default": "./fesm2022/ks-digital-designsystem-angular-suggestion.mjs"
112
+ },
113
+ "./table": {
114
+ "types": "./types/ks-digital-designsystem-angular-table.d.ts",
115
+ "default": "./fesm2022/ks-digital-designsystem-angular-table.mjs"
116
+ },
117
+ "./tabs": {
118
+ "types": "./types/ks-digital-designsystem-angular-tabs.d.ts",
119
+ "default": "./fesm2022/ks-digital-designsystem-angular-tabs.mjs"
120
+ },
121
+ "./tag": {
122
+ "types": "./types/ks-digital-designsystem-angular-tag.d.ts",
123
+ "default": "./fesm2022/ks-digital-designsystem-angular-tag.mjs"
124
+ },
125
+ "./validation-message": {
126
+ "types": "./types/ks-digital-designsystem-angular-validation-message.d.ts",
127
+ "default": "./fesm2022/ks-digital-designsystem-angular-validation-message.mjs"
128
+ }
42
129
  },
43
- "scripts": {
44
- "build": "ng-packagr -p ng-package.json"
45
- }
130
+ "sideEffects": false,
131
+ "type": "module"
46
132
  }
@@ -0,0 +1,3 @@
1
+ # @ks-digital/designsystem-angular/pagination
2
+
3
+ Secondary entry point of `@ks-digital/designsystem-angular`. It can be used by importing from `@ks-digital/designsystem-angular/pagination`.
@@ -0,0 +1,3 @@
1
+ # @ks-digital/designsystem-angular/paragraph
2
+
3
+ Secondary entry point of `@ks-digital/designsystem-angular`. It can be used by importing from `@ks-digital/designsystem-angular/paragraph`.
@@ -0,0 +1,3 @@
1
+ # @ks-digital/designsystem-angular/popover
2
+
3
+ Secondary entry point of `@ks-digital/designsystem-angular`. It can be used by importing from `@ks-digital/designsystem-angular/popover`.
@@ -0,0 +1,3 @@
1
+ # @ks-digital/designsystem-angular/search
2
+
3
+ Secondary entry point of `@ks-digital/designsystem-angular`. It can be used by importing from `@ks-digital/designsystem-angular/search`.
@@ -0,0 +1,3 @@
1
+ # @ks-digital/designsystem-angular/skeleton
2
+
3
+ Secondary entry point of `@ks-digital/designsystem-angular`. It can be used by importing from `@ks-digital/designsystem-angular/skeleton`.
@@ -0,0 +1,3 @@
1
+ # @ks-digital/designsystem-angular/spinner
2
+
3
+ Secondary entry point of `@ks-digital/designsystem-angular`. It can be used by importing from `@ks-digital/designsystem-angular/spinner`.
@@ -0,0 +1,3 @@
1
+ # @ks-digital/designsystem-angular/suggestion
2
+
3
+ Secondary entry point of `@ks-digital/designsystem-angular`. It can be used by importing from `@ks-digital/designsystem-angular/suggestion`.
@@ -0,0 +1,3 @@
1
+ # @ks-digital/designsystem-angular/table
2
+
3
+ Secondary entry point of `@ks-digital/designsystem-angular`. It can be used by importing from `@ks-digital/designsystem-angular/table`.
package/tabs/README.md ADDED
@@ -0,0 +1,3 @@
1
+ # @ks-digital/designsystem-angular/tabs
2
+
3
+ Secondary entry point of `@ks-digital/designsystem-angular`. It can be used by importing from `@ks-digital/designsystem-angular/tabs`.
package/tag/README.md ADDED
@@ -0,0 +1,3 @@
1
+ # @ks-digital/designsystem-angular/tag
2
+
3
+ Secondary entry point of `@ks-digital/designsystem-angular`. It can be used by importing from `@ks-digital/designsystem-angular/tag`.
@@ -0,0 +1,64 @@
1
+ import * as i0 from "@angular/core";
2
+ import { ColorDefinitions as Color, SeverityColorDefinitions as SeverityColors, Size as Size$1 } from "@ks-digital/designsystem-themes/types";
3
+ /**
4
+ * Applies data-size attribute to host-element.
5
+ */
6
+ export declare class HostSize {
7
+ /**
8
+ * Changes size for descendant Designsystemet components. Select from predefined sizes.
9
+ * @attribute data-size
10
+ */
11
+ readonly dataSize: import("@angular/core").InputSignal<Size>;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<HostSize, never>;
13
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HostSize, never, never, {
14
+ "dataSize": {
15
+ "alias": "data-size";
16
+ "required": false;
17
+ "isSignal": true;
18
+ };
19
+ }, {}, never, never, true, never>;
20
+ }
21
+ /**
22
+ * Applies data-color attribute to host-element for all colors, including severity colors.
23
+ */
24
+ export declare class HostColor {
25
+ /**
26
+ * Changes color for descendant Designsystemet components.
27
+ * Select from predefined colors and colors defined in theme.
28
+ * @attribute data-color
29
+ */
30
+ readonly dataColor: import("@angular/core").InputSignal<string | number | symbol | undefined>;
31
+ static ɵfac: i0.ɵɵFactoryDeclaration<HostColor, never>;
32
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HostColor, never, never, {
33
+ "dataColor": {
34
+ "alias": "data-color";
35
+ "required": false;
36
+ "isSignal": true;
37
+ };
38
+ }, {}, never, never, true, never>;
39
+ }
40
+ /**
41
+ * Applies data-color attribute to host-element for severity colors.
42
+ */
43
+ export declare class HostSeverityColors {
44
+ /**
45
+ * Changes color for descendant Designsystemet components.
46
+ * Select from predefined colors and colors defined in theme.
47
+ * @attribute data-color
48
+ */
49
+ readonly dataColor: import("@angular/core").InputSignal<string | number | symbol | undefined>;
50
+ static ɵfac: i0.ɵɵFactoryDeclaration<HostSeverityColors, never>;
51
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HostSeverityColors, never, never, {
52
+ "dataColor": {
53
+ "alias": "data-color";
54
+ "required": false;
55
+ "isSignal": true;
56
+ };
57
+ }, {}, never, never, true, never>;
58
+ }
59
+ export declare const logIfDevMode: ({ component, message }: {
60
+ component: string;
61
+ message: string;
62
+ }) => void;
63
+ export declare const randomId: () => string;
64
+ export type { Color, SeverityColors, Size$1 as Size };
@@ -0,0 +1,21 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@ks-digital/designsystem-angular/__internals";
3
+ /**
4
+ * Alerts are used to inform users about important information, warnings, errors, or success.
5
+ */
6
+ export declare class Alert {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<Alert, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<Alert, "ksd-alert", never, {}, {}, never, ["*"], true, [{
9
+ directive: typeof i1.HostSize;
10
+ inputs: {
11
+ "data-size": "data-size";
12
+ };
13
+ outputs: {};
14
+ }, {
15
+ directive: typeof i1.HostSeverityColors;
16
+ inputs: {
17
+ "data-color": "data-color";
18
+ };
19
+ outputs: {};
20
+ }]>;
21
+ }
@@ -0,0 +1,29 @@
1
+ import "@digdir/designsystemet-web/ds-breadcrumbs";
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "@ks-digital/designsystem-angular/__internals";
4
+ export declare class Breadcrumbs {
5
+ /**
6
+ * Sets the screen reader label for the pagination
7
+ */
8
+ readonly ariaLabel: import("@angular/core").InputSignal<string>;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<Breadcrumbs, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<Breadcrumbs, "ksd-breadcrumbs", never, {
11
+ "ariaLabel": {
12
+ "alias": "aria-label";
13
+ "required": false;
14
+ "isSignal": true;
15
+ };
16
+ }, {}, never, ["*"], true, [{
17
+ directive: typeof i1.HostSize;
18
+ inputs: {
19
+ "data-size": "data-size";
20
+ };
21
+ outputs: {};
22
+ }, {
23
+ directive: typeof i1.HostColor;
24
+ inputs: {
25
+ "data-color": "data-color";
26
+ };
27
+ outputs: {};
28
+ }]>;
29
+ }
@@ -0,0 +1,67 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@ks-digital/designsystem-angular/__internals";
3
+ export declare class Button {
4
+ /**
5
+ * Specify which variant to use
6
+ * @default 'primary'
7
+ */
8
+ readonly variant: import("@angular/core").InputSignal<"primary" | "secondary" | "tertiary">;
9
+ /**
10
+ * Toggle loading state.
11
+ * Pass an element if you want to display a custom loader.
12
+ *
13
+ * @default false
14
+ */
15
+ readonly loading: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
16
+ /**
17
+ * Disables element
18
+ */
19
+ readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
20
+ /**
21
+ * If this is a button with only an icon. When combined with loading, a spinner will be shown instead of the icon.
22
+ * @deprecated Use `data-icon` instead.
23
+ */
24
+ readonly icon: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
25
+ /** If this is a button with only an icon. When combined with loading, a spinner will be shown instead of the icon. */
26
+ readonly dataIcon: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
27
+ static ɵfac: i0.ɵɵFactoryDeclaration<Button, never>;
28
+ static ɵcmp: i0.ɵɵComponentDeclaration<Button, "button[ksd-button], a[ksd-button]", never, {
29
+ "variant": {
30
+ "alias": "data-variant";
31
+ "required": false;
32
+ "isSignal": true;
33
+ };
34
+ "loading": {
35
+ "alias": "loading";
36
+ "required": false;
37
+ "isSignal": true;
38
+ };
39
+ "disabled": {
40
+ "alias": "disabled";
41
+ "required": false;
42
+ "isSignal": true;
43
+ };
44
+ "icon": {
45
+ "alias": "icon";
46
+ "required": false;
47
+ "isSignal": true;
48
+ };
49
+ "dataIcon": {
50
+ "alias": "data-icon";
51
+ "required": false;
52
+ "isSignal": true;
53
+ };
54
+ }, {}, never, ["*"], true, [{
55
+ directive: typeof i1.HostSize;
56
+ inputs: {
57
+ "data-size": "data-size";
58
+ };
59
+ outputs: {};
60
+ }, {
61
+ directive: typeof i1.HostColor;
62
+ inputs: {
63
+ "data-color": "data-color";
64
+ };
65
+ outputs: {};
66
+ }]>;
67
+ }
@@ -0,0 +1,39 @@
1
+ import "@digdir/designsystemet-web/clickdelegatefor";
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "@ks-digital/designsystem-angular/__internals";
4
+ export declare class Card {
5
+ /**
6
+ * Change the background color of the card
7
+ * @default 'default'
8
+ */
9
+ variant: import("@angular/core").InputSignal<"tinted" | "default">;
10
+ private el;
11
+ private destroyRef;
12
+ private generatedId;
13
+ private originalId;
14
+ constructor();
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<Card, never>;
16
+ static ɵdir: i0.ɵɵDirectiveDeclaration<Card, "[ksd-card]", never, {
17
+ "variant": {
18
+ "alias": "variant";
19
+ "required": false;
20
+ "isSignal": true;
21
+ };
22
+ }, {}, never, never, true, [{
23
+ directive: typeof i1.HostSize;
24
+ inputs: {
25
+ "data-size": "data-size";
26
+ };
27
+ outputs: {};
28
+ }, {
29
+ directive: typeof i1.HostColor;
30
+ inputs: {
31
+ "data-color": "data-color";
32
+ };
33
+ outputs: {};
34
+ }]>;
35
+ }
36
+ export declare class CardBlock {
37
+ static ɵfac: i0.ɵɵFactoryDeclaration<CardBlock, never>;
38
+ static ɵcmp: i0.ɵɵComponentDeclaration<CardBlock, "[ksd-card-block]", never, {}, {}, never, ["*"], true, never>;
39
+ }
@@ -0,0 +1,30 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@ks-digital/designsystem-angular/__internals";
3
+ export declare class Chip {
4
+ /**
5
+ * Whether the chip is removable or not. If true, a remove icon will be displayed.
6
+ * If using this, you should add an aria-label as well, e.g "Slett {item}"
7
+ * @attribute data-removable
8
+ */
9
+ dataRemovable: import("@angular/core").InputSignal<boolean>;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<Chip, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<Chip, "label[ksd-chip], button[ksd-chip]", never, {
12
+ "dataRemovable": {
13
+ "alias": "data-removable";
14
+ "required": false;
15
+ "isSignal": true;
16
+ };
17
+ }, {}, never, ["*"], true, [{
18
+ directive: typeof i1.HostSize;
19
+ inputs: {
20
+ "data-size": "data-size";
21
+ };
22
+ outputs: {};
23
+ }, {
24
+ directive: typeof i1.HostColor;
25
+ inputs: {
26
+ "data-color": "data-color";
27
+ };
28
+ outputs: {};
29
+ }]>;
30
+ }
@@ -0,0 +1,34 @@
1
+ import "@digdir/designsystemet-web/details";
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "@ks-digital/designsystem-angular/__internals";
4
+ export declare class Details {
5
+ readonly dataVariant: import("@angular/core").InputSignal<"default" | "tinted">;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<Details, never>;
7
+ static ɵdir: i0.ɵɵDirectiveDeclaration<Details, "details[ksd-details]", never, {
8
+ "dataVariant": {
9
+ "alias": "data-variant";
10
+ "required": false;
11
+ "isSignal": true;
12
+ };
13
+ }, {}, never, never, true, [{
14
+ directive: typeof i1.HostSize;
15
+ inputs: {
16
+ "data-size": "data-size";
17
+ };
18
+ outputs: {};
19
+ }, {
20
+ directive: typeof i1.HostColor;
21
+ inputs: {
22
+ "data-color": "data-color";
23
+ };
24
+ outputs: {};
25
+ }]>;
26
+ }
27
+ export declare class DetailsContent {
28
+ static ɵfac: i0.ɵɵFactoryDeclaration<DetailsContent, never>;
29
+ static ɵcmp: i0.ɵɵComponentDeclaration<DetailsContent, "ksd-details-content", never, {}, {}, never, ["*"], true, never>;
30
+ }
31
+ export declare class DetailsSummary {
32
+ static ɵfac: i0.ɵɵFactoryDeclaration<DetailsSummary, never>;
33
+ static ɵcmp: i0.ɵɵComponentDeclaration<DetailsSummary, "ksd-details-summary", never, {}, {}, never, ["*"], true, never>;
34
+ }
@@ -0,0 +1,40 @@
1
+ import "@digdir/designsystemet-web/dialog";
2
+ import "@digdir/designsystemet-web/invokers";
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "@ks-digital/designsystem-angular/__internals";
5
+ export declare class Dialog {
6
+ /** Controls where the dialog appears relative to the viewport edge. Useful for drawer/side-panel variants. */
7
+ readonly placement: import("@angular/core").InputSignal<"bottom" | "top" | "left" | "right" | undefined>;
8
+ /**
9
+ * Controls which interactions close the dialog.
10
+ * - `any` — closes on backdrop click or Escape key
11
+ * - `closerequest` — closes on Escape key only
12
+ * - `none` — the dialog cannot be closed by the user without an explicit close button
13
+ */
14
+ readonly closedBy: import("@angular/core").InputSignal<"any" | "closerequest" | "none" | undefined>;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<Dialog, never>;
16
+ static ɵdir: i0.ɵɵDirectiveDeclaration<Dialog, "dialog[ksd-dialog]", never, {
17
+ "placement": {
18
+ "alias": "data-placement";
19
+ "required": false;
20
+ "isSignal": true;
21
+ };
22
+ "closedBy": {
23
+ "alias": "closedby";
24
+ "required": false;
25
+ "isSignal": true;
26
+ };
27
+ }, {}, never, never, true, [{
28
+ directive: typeof i1.HostSize;
29
+ inputs: {
30
+ "data-size": "data-size";
31
+ };
32
+ outputs: {};
33
+ }, {
34
+ directive: typeof i1.HostColor;
35
+ inputs: {
36
+ "data-color": "data-color";
37
+ };
38
+ outputs: {};
39
+ }]>;
40
+ }
@@ -0,0 +1,44 @@
1
+ import "@digdir/designsystemet-web/popover";
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "@ks-digital/designsystem-angular/__internals";
4
+ export declare class Dropdown {
5
+ readonly autoPlacement: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
6
+ readonly variant: import("@angular/core").InputSignal<"tinted" | "default">;
7
+ readonly placement: import("@angular/core").InputSignal<"bottom" | "bottom-end" | "bottom-start" | "left" | "left-end" | "left-start" | "right" | "right-end" | "right-start" | "top" | "top-end" | "top-start">;
8
+ readonly popover: import("@angular/core").InputSignal<"auto" | "manual">;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<Dropdown, never>;
10
+ static ɵdir: i0.ɵɵDirectiveDeclaration<Dropdown, "[ksd-dropdown]", never, {
11
+ "autoPlacement": {
12
+ "alias": "autoPlacement";
13
+ "required": false;
14
+ "isSignal": true;
15
+ };
16
+ "variant": {
17
+ "alias": "data-variant";
18
+ "required": false;
19
+ "isSignal": true;
20
+ };
21
+ "placement": {
22
+ "alias": "data-placement";
23
+ "required": false;
24
+ "isSignal": true;
25
+ };
26
+ "popover": {
27
+ "alias": "popover";
28
+ "required": false;
29
+ "isSignal": true;
30
+ };
31
+ }, {}, never, never, true, [{
32
+ directive: typeof i1.HostSize;
33
+ inputs: {
34
+ "data-size": "data-size";
35
+ };
36
+ outputs: {};
37
+ }, {
38
+ directive: typeof i1.HostColor;
39
+ inputs: {
40
+ "data-color": "data-color";
41
+ };
42
+ outputs: {};
43
+ }]>;
44
+ }