@db-ux/ngx-core-components 1.1.0 → 1.2.0
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 +8 -3
- package/components/navigation-item/model.d.ts +3 -2
- package/components/navigation-item/navigation-item.d.ts +2 -0
- package/components/page/model.d.ts +4 -0
- package/components/page/page.d.ts +2 -1
- package/esm2022/components/accordion/model.mjs +1 -1
- package/esm2022/components/badge/model.mjs +1 -1
- package/esm2022/components/button/model.mjs +1 -1
- package/esm2022/components/card/model.mjs +1 -1
- package/esm2022/components/checkbox/checkbox.mjs +1 -1
- package/esm2022/components/divider/model.mjs +1 -1
- package/esm2022/components/drawer/model.mjs +1 -1
- package/esm2022/components/icon/model.mjs +1 -1
- package/esm2022/components/input/input.mjs +1 -1
- package/esm2022/components/input/model.mjs +1 -1
- package/esm2022/components/link/model.mjs +1 -1
- package/esm2022/components/navigation-item/model.mjs +1 -1
- package/esm2022/components/navigation-item/navigation-item.mjs +24 -5
- package/esm2022/components/notification/model.mjs +1 -1
- package/esm2022/components/page/model.mjs +1 -1
- package/esm2022/components/page/page.mjs +6 -4
- package/esm2022/components/radio/radio.mjs +7 -5
- package/esm2022/components/select/select.mjs +1 -1
- package/esm2022/components/stack/model.mjs +1 -1
- package/esm2022/components/switch/switch.mjs +1 -1
- package/esm2022/components/tab-item/tab-item.mjs +1 -1
- package/esm2022/components/tabs/model.mjs +1 -1
- package/esm2022/components/tag/model.mjs +1 -1
- package/esm2022/components/textarea/model.mjs +1 -1
- package/esm2022/components/textarea/textarea.mjs +1 -1
- package/esm2022/shared/model.mjs +1 -1
- package/esm2022/utils/navigation.mjs +1 -1
- package/fesm2022/db-ux-ngx-core-components.mjs +32 -9
- package/fesm2022/db-ux-ngx-core-components.mjs.map +1 -1
- package/package.json +4 -4
- package/shared/model.d.ts +5 -5
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@db-ux/ngx-core-components",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"description": "Angular components @db-ux/core-components",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
|
-
"url": "https://github.com/db-ux-design-system/core-web.git"
|
|
7
|
+
"url": "git+https://github.com/db-ux-design-system/core-web.git"
|
|
8
8
|
},
|
|
9
9
|
"license": "Apache-2.0",
|
|
10
10
|
"main": "dist/fesm5.js",
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
},
|
|
29
29
|
"sideEffects": false,
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@db-ux/core-components": "1.
|
|
32
|
-
"@db-ux/core-foundations": "1.
|
|
31
|
+
"@db-ux/core-components": "1.2.0",
|
|
32
|
+
"@db-ux/core-foundations": "1.2.0",
|
|
33
33
|
"tslib": "^2.3.0"
|
|
34
34
|
}
|
|
35
35
|
}
|
package/shared/model.d.ts
CHANGED
|
@@ -38,7 +38,7 @@ export type SemanticProps = {
|
|
|
38
38
|
};
|
|
39
39
|
export type IconProps = {
|
|
40
40
|
/**
|
|
41
|
-
* Define an icon by its identifier (like e.g. _user_, compare to [Icons](https://
|
|
41
|
+
* Define an icon by its identifier (like e.g. _user_, compare to [Icons](https://design-system.deutschebahn.com/core-web/review/main/foundations/icons/overview)) to get displayed in front of the elements content.
|
|
42
42
|
*/
|
|
43
43
|
icon?: IconTypes;
|
|
44
44
|
};
|
|
@@ -51,7 +51,7 @@ export type ShowIconProps = {
|
|
|
51
51
|
};
|
|
52
52
|
export type IconAfterProps = {
|
|
53
53
|
/**
|
|
54
|
-
* Define an icon by its identifier (like e.g. _user_, compare to [Icons](https://
|
|
54
|
+
* Define an icon by its identifier (like e.g. _user_, compare to [Icons](https://design-system.deutschebahn.com/core-web/review/main/foundations/icons/overview)) to get displayed in front of the elements content.
|
|
55
55
|
*/
|
|
56
56
|
iconAfter?: IconTypes;
|
|
57
57
|
};
|
|
@@ -61,7 +61,7 @@ export type SpacingProps = {
|
|
|
61
61
|
/**
|
|
62
62
|
* The spacing attribute changes the padding of the component.
|
|
63
63
|
*/
|
|
64
|
-
spacing?: SpacingType;
|
|
64
|
+
spacing?: SpacingType | string;
|
|
65
65
|
};
|
|
66
66
|
export declare const MarginList: readonly ["medium", "small", "large", "none"];
|
|
67
67
|
export type MarginType = (typeof MarginList)[number];
|
|
@@ -116,7 +116,7 @@ export type WidthProps = {
|
|
|
116
116
|
/**
|
|
117
117
|
* Width of the component. Auto width based on children size, full width based on parent elements width.
|
|
118
118
|
*/
|
|
119
|
-
width?: WidthType;
|
|
119
|
+
width?: WidthType | string;
|
|
120
120
|
};
|
|
121
121
|
export declare const MaxWidthList: readonly ["full", "medium", "large", "small"];
|
|
122
122
|
export type MaxWidthType = (typeof MaxWidthList)[number];
|
|
@@ -378,7 +378,7 @@ export type AlignmentProps = {
|
|
|
378
378
|
/**
|
|
379
379
|
* Define the content alignment in full width
|
|
380
380
|
*/
|
|
381
|
-
alignment?: AlignmentType;
|
|
381
|
+
alignment?: AlignmentType | string;
|
|
382
382
|
};
|
|
383
383
|
export type ActiveProps = {
|
|
384
384
|
/**
|