mn-angular-lib 2.0.1 → 2.0.3

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": "mn-angular-lib",
3
- "version": "2.0.1",
3
+ "version": "2.0.3",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^22.1.7",
6
6
  "@angular/core": "^22.1.7",
@@ -2,10 +2,9 @@ import * as tailwind_variants from 'tailwind-variants';
2
2
  import { VariantProps } from 'tailwind-variants';
3
3
  import * as tailwind_merge from 'tailwind-merge';
4
4
  import * as i0 from '@angular/core';
5
- import { EventEmitter, OnChanges, OnInit, InjectionToken } from '@angular/core';
5
+ import { EventEmitter, OnChanges, OnInit } from '@angular/core';
6
6
  import * as _lucide_angular from '@lucide/angular';
7
7
  import { SafeHtml } from '@angular/platform-browser';
8
- export { MnImageType } from 'mn-angular-lib/core';
9
8
 
10
9
  /**
11
10
  * Styling for {@link MnCard}, as tailwind-variants slots: `root` is the card element
@@ -1036,117 +1035,5 @@ declare class MnIconAttributes {
1036
1035
  static ɵdir: i0.ɵɵDirectiveDeclaration<MnIconAttributes, "mn-icon[mnIconPistol]", never, {}, {}, never, never, true, never>;
1037
1036
  }
1038
1037
 
1039
- declare const mnInformationCardVariants: tailwind_variants.TVReturnType<{
1040
- bottomBorder: {
1041
- true: string;
1042
- };
1043
- shadow: {
1044
- true: string;
1045
- };
1046
- textPosition: {
1047
- left: string;
1048
- center: string;
1049
- right: string;
1050
- };
1051
- borderRadius: {
1052
- none: string;
1053
- xs: string;
1054
- sm: string;
1055
- md: string;
1056
- lg: string;
1057
- xl: string;
1058
- two_xl: string;
1059
- three_xl: string;
1060
- four_xl: string;
1061
- };
1062
- }, undefined, "", {
1063
- bottomBorder: {
1064
- true: string;
1065
- };
1066
- shadow: {
1067
- true: string;
1068
- };
1069
- textPosition: {
1070
- left: string;
1071
- center: string;
1072
- right: string;
1073
- };
1074
- borderRadius: {
1075
- none: string;
1076
- xs: string;
1077
- sm: string;
1078
- md: string;
1079
- lg: string;
1080
- xl: string;
1081
- two_xl: string;
1082
- three_xl: string;
1083
- four_xl: string;
1084
- };
1085
- }, undefined, tailwind_variants.TVReturnType<{
1086
- bottomBorder: {
1087
- true: string;
1088
- };
1089
- shadow: {
1090
- true: string;
1091
- };
1092
- textPosition: {
1093
- left: string;
1094
- center: string;
1095
- right: string;
1096
- };
1097
- borderRadius: {
1098
- none: string;
1099
- xs: string;
1100
- sm: string;
1101
- md: string;
1102
- lg: string;
1103
- xl: string;
1104
- two_xl: string;
1105
- three_xl: string;
1106
- four_xl: string;
1107
- };
1108
- }, undefined, "", unknown, unknown, undefined>>;
1109
- type MnInformationCardVariants = VariantProps<typeof mnInformationCardVariants>;
1110
-
1111
- type MnInformationCardBaseData = {
1112
- id: number;
1113
- bottomBorder?: MnInformationCardVariants['bottomBorder'];
1114
- shadow?: MnInformationCardVariants['shadow'];
1115
- textPosition?: MnInformationCardVariants['textPosition'];
1116
- borderRadius: MnInformationCardVariants['borderRadius'];
1117
- title: string;
1118
- description: string;
1119
- };
1120
- type MnInformationCardData<TExtra = unknown> = MnInformationCardBaseData & TExtra;
1121
-
1122
- declare class MnInformationCard<TExtra = unknown> {
1123
- data: MnInformationCardData<TExtra>;
1124
- get hostClasses(): string;
1125
- static ɵfac: i0.ɵɵFactoryDeclaration<MnInformationCard<any>, never>;
1126
- static ɵcmp: i0.ɵɵComponentDeclaration<MnInformationCard<any>, "mn-lib-information-card", never, { "data": { "alias": "data"; "required": true; }; }, {}, never, ["[header]", "*", "[footer]"], true, never>;
1127
- }
1128
-
1129
- type MnDualHorizontalImageTypes = {
1130
- id: string;
1131
- url: string;
1132
- alt?: string;
1133
- };
1134
-
1135
- type MnDualHorizontalImageConfig = {
1136
- images?: MnDualHorizontalImageTypes[];
1137
- noImagesFound?: string;
1138
- };
1139
- declare const MN_LIB_DUAL_HORIZONTAL_IMAGE: InjectionToken<MnDualHorizontalImageConfig>;
1140
- declare class MnDualHorizontalImage {
1141
- protected readonly componentConfig: MnDualHorizontalImageConfig;
1142
- /** Marks the view when a locale change rewrites the injected config (see the constructor). */
1143
- private readonly cdr;
1144
- private readonly lang;
1145
- private readonly destroyRef;
1146
- constructor();
1147
- static ɵfac: i0.ɵɵFactoryDeclaration<MnDualHorizontalImage, never>;
1148
- static ɵcmp: i0.ɵɵComponentDeclaration<MnDualHorizontalImage, "mn-lib-dual-horizontal-image", never, {}, {}, never, never, true, never>;
1149
- }
1150
-
1151
- export { MN_ICON_MAP, MN_LIB_DUAL_HORIZONTAL_IMAGE, MnBreadcrumbs, MnCard, MnDualHorizontalImage, MnIcon, MnIconAttributes, MnIconChip, MnInformationCard, MnProportionBar, MnStatTile, mnBreadcrumbsVariants, mnCardVariants, mnIconChipVariants, mnIconVariants, mnInformationCardVariants };
1152
- export type { MnBreadcrumbItem, MnBreadcrumbsData, MnBreadcrumbsVariants, MnCardTypes, MnCardVariants, MnDualHorizontalImageConfig, MnDualHorizontalImageTypes, MnIconChipTypes, MnIconChipVariants, MnIconTypes, MnIconVariants, MnInformationCardBaseData, MnInformationCardData, MnInformationCardVariants, MnProportionBarTypes, MnProportionSegment, MnRenderedProportionSegment, MnStatTileTypes };
1038
+ export { MN_ICON_MAP, MnBreadcrumbs, MnCard, MnIcon, MnIconAttributes, MnIconChip, MnProportionBar, MnStatTile, mnBreadcrumbsVariants, mnCardVariants, mnIconChipVariants, mnIconVariants };
1039
+ export type { MnBreadcrumbItem, MnBreadcrumbsData, MnBreadcrumbsVariants, MnCardTypes, MnCardVariants, MnIconChipTypes, MnIconChipVariants, MnIconTypes, MnIconVariants, MnProportionBarTypes, MnProportionSegment, MnRenderedProportionSegment, MnStatTileTypes };