@kms-ngx-ui/presentational 20.2.2 → 20.3.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/fesm2022/kms-ngx-ui-presentational.mjs +18 -1
- package/fesm2022/kms-ngx-ui-presentational.mjs.map +1 -1
- package/index.d.ts +11 -3
- package/package.json +1 -1
- package/src/assets/llms.txt +8 -0
- package/src/lib/ui/molecules/inline-alert/inline-alert.component.scss +81 -0
- package/src/styles/styles.scss +2 -0
|
@@ -2705,6 +2705,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
2705
2705
|
type: Output
|
|
2706
2706
|
}] } });
|
|
2707
2707
|
|
|
2708
|
+
class InlineAlertComponent {
|
|
2709
|
+
constructor() {
|
|
2710
|
+
this.type = input('warning', ...(ngDevMode ? [{ debugName: "type" }] : []));
|
|
2711
|
+
this.icon = input('warning', ...(ngDevMode ? [{ debugName: "icon" }] : []));
|
|
2712
|
+
}
|
|
2713
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: InlineAlertComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2714
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.16", type: InlineAlertComponent, isStandalone: true, selector: "kms-inline-alert", inputs: { type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<div\n class=\"inline-alert inline-alert--{{ type() }}\"\n role=\"alert\"\n [attr.aria-live]=\"type() === 'error' ? 'assertive' : 'polite'\"\n>\n <kms-icon class=\"inline-alert__icon\" [icon]=\"icon()\"></kms-icon>\n <span class=\"inline-alert__content\">\n <ng-content></ng-content>\n </span>\n</div>\n", dependencies: [{ kind: "component", type: IconComponent, selector: "kms-icon", inputs: ["icon", "iconClass", "size", "dontUseSprite", "color"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
2715
|
+
}
|
|
2716
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: InlineAlertComponent, decorators: [{
|
|
2717
|
+
type: Component,
|
|
2718
|
+
args: [{ selector: 'kms-inline-alert', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [IconComponent], template: "<div\n class=\"inline-alert inline-alert--{{ type() }}\"\n role=\"alert\"\n [attr.aria-live]=\"type() === 'error' ? 'assertive' : 'polite'\"\n>\n <kms-icon class=\"inline-alert__icon\" [icon]=\"icon()\"></kms-icon>\n <span class=\"inline-alert__content\">\n <ng-content></ng-content>\n </span>\n</div>\n" }]
|
|
2719
|
+
}], propDecorators: { type: [{ type: i0.Input, args: [{ isSignal: true, alias: "type", required: false }] }], icon: [{ type: i0.Input, args: [{ isSignal: true, alias: "icon", required: false }] }] } });
|
|
2720
|
+
|
|
2708
2721
|
/**
|
|
2709
2722
|
* @copyright KMS GmbH
|
|
2710
2723
|
*/
|
|
@@ -4610,6 +4623,7 @@ class KmsUiPresentationalModule {
|
|
|
4610
4623
|
MatDatepickerModule,
|
|
4611
4624
|
MatNativeDateModule,
|
|
4612
4625
|
IconComponent,
|
|
4626
|
+
InlineAlertComponent,
|
|
4613
4627
|
DateInputComponent], exports: [BackToTopComponent,
|
|
4614
4628
|
CheckboxComponent,
|
|
4615
4629
|
ColorInputComponent,
|
|
@@ -4621,6 +4635,7 @@ class KmsUiPresentationalModule {
|
|
|
4621
4635
|
ConfirmationDialogComponent,
|
|
4622
4636
|
IconComponent,
|
|
4623
4637
|
ImageSliderComponent,
|
|
4638
|
+
InlineAlertComponent,
|
|
4624
4639
|
KMSAccordionItemComponent,
|
|
4625
4640
|
KmsUiPresentationalComponent,
|
|
4626
4641
|
LoaderComponent,
|
|
@@ -4738,6 +4753,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
4738
4753
|
MatDatepickerModule,
|
|
4739
4754
|
MatNativeDateModule,
|
|
4740
4755
|
IconComponent,
|
|
4756
|
+
InlineAlertComponent,
|
|
4741
4757
|
DateInputComponent,
|
|
4742
4758
|
],
|
|
4743
4759
|
exports: [
|
|
@@ -4752,6 +4768,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
4752
4768
|
ConfirmationDialogComponent,
|
|
4753
4769
|
IconComponent,
|
|
4754
4770
|
ImageSliderComponent,
|
|
4771
|
+
InlineAlertComponent,
|
|
4755
4772
|
KMSAccordionItemComponent,
|
|
4756
4773
|
KmsUiPresentationalComponent,
|
|
4757
4774
|
LoaderComponent,
|
|
@@ -4956,5 +4973,5 @@ var FormLayout;
|
|
|
4956
4973
|
* Generated bundle index. Do not edit.
|
|
4957
4974
|
*/
|
|
4958
4975
|
|
|
4959
|
-
export { BackToTopComponent, Breakpoint, ButtonAppearance, ButtonComponent, ButtonResponseType, CardComponent, CheckboxComponent, Color, ColorInputComponent, ConfirmationDialogComponent, CustomPipesModule, DateInputComponent, DirectivesModule, DropdownFromDataComponent, DynamicFieldDirective, EnumRadiogroupComponent, FieldRegistryService, FieldType, FileInputComponent, FlyoutComponent, FormActionsComponent, FormFieldComponent, FormLayout, FormParentComponent, FormSectionComponent, GenericFormComponent, GenericFormModule, GenericFormService, GetMaxHeightDirective, IconComponent, IconSizePx, IconSizesArr, ImageSliderComponent, ImageSnippet, ImageSourceType, IntegerCurrency, KMSAccordionItemComponent, KeyValuePair, KmsUiPresentationalComponent, KmsUiPresentationalModule, KmsUiPresentationalService, LabelValuePair, LoaderComponent, MapComponent, Marker, MarkerLabel, MarkerOptions, NumericInputComponent, PasswordComponent, RadioButtonComponent, RadioButtonSize, RadioGroupComponent, SafeHtmlPipe, SafeResourceUrlPipe, SafeUrlPipe, SalutationDropdownComponent, SalutationEnum, SalutationRadiogroupComponent, SanitizeNullPipe, SimpleBreakpoint, SlideToggleComponent, SliderComponent, StylingTheme, SwipeDirective, TextInputComponent, TextValuePair, TextValuePairArray, TimeDirective, TimeInputComponent, TooltipDirective, TooltipIconComponent, TrimPipe, TypeofPipe, ViewportService, WindowDimensions, YesNoRadiogroupComponent, noSpecialCharsOnly, noWhitespaceOnly };
|
|
4976
|
+
export { BackToTopComponent, Breakpoint, ButtonAppearance, ButtonComponent, ButtonResponseType, CardComponent, CheckboxComponent, Color, ColorInputComponent, ConfirmationDialogComponent, CustomPipesModule, DateInputComponent, DirectivesModule, DropdownFromDataComponent, DynamicFieldDirective, EnumRadiogroupComponent, FieldRegistryService, FieldType, FileInputComponent, FlyoutComponent, FormActionsComponent, FormFieldComponent, FormLayout, FormParentComponent, FormSectionComponent, GenericFormComponent, GenericFormModule, GenericFormService, GetMaxHeightDirective, IconComponent, IconSizePx, IconSizesArr, ImageSliderComponent, ImageSnippet, ImageSourceType, InlineAlertComponent, IntegerCurrency, KMSAccordionItemComponent, KeyValuePair, KmsUiPresentationalComponent, KmsUiPresentationalModule, KmsUiPresentationalService, LabelValuePair, LoaderComponent, MapComponent, Marker, MarkerLabel, MarkerOptions, NumericInputComponent, PasswordComponent, RadioButtonComponent, RadioButtonSize, RadioGroupComponent, SafeHtmlPipe, SafeResourceUrlPipe, SafeUrlPipe, SalutationDropdownComponent, SalutationEnum, SalutationRadiogroupComponent, SanitizeNullPipe, SimpleBreakpoint, SlideToggleComponent, SliderComponent, StylingTheme, SwipeDirective, TextInputComponent, TextValuePair, TextValuePairArray, TimeDirective, TimeInputComponent, TooltipDirective, TooltipIconComponent, TrimPipe, TypeofPipe, ViewportService, WindowDimensions, YesNoRadiogroupComponent, noSpecialCharsOnly, noWhitespaceOnly };
|
|
4960
4977
|
//# sourceMappingURL=kms-ngx-ui-presentational.mjs.map
|