@conciso/design-system-angular 2.1.0 → 2.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@conciso/design-system-angular",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.0",
|
|
4
4
|
"description": "Angular-Wrapper-Komponenten für das Conciso Design System — dünne Hüllen über der framework-agnostischen CSS-Schicht (@conciso/design-system). Liefert kein eigenes CSS.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"@angular/core": "^22.0.0",
|
|
16
16
|
"@angular/forms": "^22.0.0",
|
|
17
17
|
"@angular/platform-browser": "^22.0.0",
|
|
18
|
-
"@conciso/design-system": "2.
|
|
18
|
+
"@conciso/design-system": "2.2.x"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@ng-icons/core": "^36.0.0",
|
|
@@ -57,6 +57,11 @@ declare class ThemeModeService {
|
|
|
57
57
|
*/
|
|
58
58
|
type CdsButtonVariant = 'filled' | 'tonal' | 'elevated' | 'outlined' | 'text' | 'filled-on-band';
|
|
59
59
|
type CdsButtonSize = 'sm' | 'md' | 'lg';
|
|
60
|
+
/**
|
|
61
|
+
* Ton des Buttons. `err` markiert eine destruktive Aktion, die sich nicht rückgängig machen
|
|
62
|
+
* lässt (Löschen, Verwerfen), und ersetzt dann die Bereichsfarbe. Kürzel wie bei `CdsSnackTone`.
|
|
63
|
+
*/
|
|
64
|
+
type CdsButtonTone = 'def' | 'err';
|
|
60
65
|
/**
|
|
61
66
|
* Button — dünner Angular-Wrapper um die bestehende `.btn`-CSS-Familie.
|
|
62
67
|
*
|
|
@@ -72,8 +77,10 @@ declare class ButtonComponent {
|
|
|
72
77
|
/** Visuelle Variante → .btn-filled / .btn-tonal / .btn-elevated / .btn-outlined /
|
|
73
78
|
* .btn-text; `filled-on-band` → .btn-filled + .btn-on-band (invertiert). */
|
|
74
79
|
readonly variant: _angular_core.InputSignal<CdsButtonVariant>;
|
|
75
|
-
/** Markenbereich → .btn-co / .btn-ki / .btn-es / .btn-wo */
|
|
80
|
+
/** Markenbereich → .btn-co / .btn-ki / .btn-es / .btn-wo. Wirkungslos bei `tone="err"`. */
|
|
76
81
|
readonly area: _angular_core.InputSignal<CdsArea>;
|
|
82
|
+
/** Ton → `err` setzt .btn-err (destruktive Aktion) statt der Bereichsklasse. */
|
|
83
|
+
readonly tone: _angular_core.InputSignal<CdsButtonTone>;
|
|
77
84
|
/** Größe → .btn-sm / (md = Default) / .btn-lg */
|
|
78
85
|
readonly size: _angular_core.InputSignal<CdsButtonSize>;
|
|
79
86
|
/** Volle Breite → .btn-full (Host wird block, damit 100% greifen). */
|
|
@@ -85,7 +92,7 @@ declare class ButtonComponent {
|
|
|
85
92
|
/** @internal */
|
|
86
93
|
protected readonly classes: _angular_core.Signal<string>;
|
|
87
94
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ButtonComponent, never>;
|
|
88
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ButtonComponent, "cds-button", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "area": { "alias": "area"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "full": { "alias": "full"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; }, { "clicked": "clicked"; }, never, never, true, never>;
|
|
95
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ButtonComponent, "cds-button", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "area": { "alias": "area"; "required": false; "isSignal": true; }; "tone": { "alias": "tone"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "full": { "alias": "full"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; }, { "clicked": "clicked"; }, never, never, true, never>;
|
|
89
96
|
}
|
|
90
97
|
|
|
91
98
|
interface CdsNavSubItem {
|
|
@@ -3493,4 +3500,4 @@ declare class AuthorCardGroupComponent {
|
|
|
3493
3500
|
}
|
|
3494
3501
|
|
|
3495
3502
|
export { AreaBadgeComponent, AreaTabComponent, AreaTabsComponent, ArticleCalloutComponent, ArticleFigureComponent, ArticleHeaderComponent, ArticlePullquoteComponent, ArticleTocComponent, AuthorCardComponent, AuthorCardGroupComponent, AvatarComponent, AvatarStackComponent, BlockquoteComponent, ButtonComponent, CDS_AREAS, CDS_AREA_LABELS, CDS_THEME_ICON, CDS_THEME_LABEL, CDS_THEME_ORDER, CardComponent, CarouselComponent, CheckboxComponent, ChipComponent, CodeBlockComponent, ComboboxComponent, CompareComponent, CtaBandComponent, DownloadCtaComponent, FactsComponent, FaqComponent, FeatureComponent, FeaturedCardComponent, FooterBottomComponent, FooterComponent, FooterMainComponent, HeroImageComponent, IconCardComponent, LinkCardComponent, LogoCarouselComponent, LogoComponent, PillComponent, RadioGroupComponent, ScaleComponent, SectionComponent, SelectComponent, SelectFieldComponent, SliderComponent, SnackbarComponent, StatCardComponent, StatStripComponent, StatusBadgeComponent, StoererComponent, StoererSetComponent, TableComponent, TeamVoiceComponent, TestimonialComponent, TextFieldComponent, TextareaFieldComponent, ThemeCycleComponent, ThemeModeService, ThemeSegmentComponent, ThemeSelectComponent, TierComponent, TopnavComponent, cdsThemeModes, themeStore };
|
|
3496
|
-
export type { CdsArea, CdsArticleBreadcrumbItem, CdsArticleTocItem, CdsAvatarSize, CdsBadgeTone, CdsButtonSize, CdsButtonVariant, CdsCompareColumn, CdsCompareRow, CdsFactsItem, CdsFaqItem, CdsFlatStat, CdsFooterLink, CdsLogo, CdsNavItem, CdsNavSubItem, CdsSelectOption, CdsSlide, CdsSnackTone, CdsSocialLink, CdsSocialPlatform, CdsThemeMode };
|
|
3503
|
+
export type { CdsArea, CdsArticleBreadcrumbItem, CdsArticleTocItem, CdsAvatarSize, CdsBadgeTone, CdsButtonSize, CdsButtonTone, CdsButtonVariant, CdsCompareColumn, CdsCompareRow, CdsFactsItem, CdsFaqItem, CdsFlatStat, CdsFooterLink, CdsLogo, CdsNavItem, CdsNavSubItem, CdsSelectOption, CdsSlide, CdsSnackTone, CdsSocialLink, CdsSocialPlatform, CdsThemeMode };
|