mn-angular-lib 1.0.12 → 1.0.14

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": "1.0.12",
3
+ "version": "1.0.14",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^21.1.3",
6
6
  "@angular/core": "^21.1.3"
@@ -1849,7 +1849,7 @@ declare const mnSelectVariants: tailwind_variants.TVReturnType<{
1849
1849
  fullWidth: {
1850
1850
  true: string;
1851
1851
  };
1852
- }, undefined, "bg-base-100 border-1 border-base-300 text-base-content text-sm cursor-pointer", {
1852
+ }, undefined, "bg-base-100 border-1 border-base-300 text-base-content text-sm cursor-pointer hover:bg-base-200 transition-colors duration-300", {
1853
1853
  shadow: {
1854
1854
  true: string;
1855
1855
  };
@@ -1895,7 +1895,7 @@ declare const mnSelectVariants: tailwind_variants.TVReturnType<{
1895
1895
  fullWidth: {
1896
1896
  true: string;
1897
1897
  };
1898
- }, undefined, "bg-base-100 border-1 border-base-300 text-base-content text-sm cursor-pointer", unknown, unknown, undefined>>;
1898
+ }, undefined, "bg-base-100 border-1 border-base-300 text-base-content text-sm cursor-pointer hover:bg-base-200 transition-colors duration-300", unknown, unknown, undefined>>;
1899
1899
  type MnSelectVariants = VariantProps<typeof mnSelectVariants>;
1900
1900
 
1901
1901
  type MnSelectErrorMessageData = string | ((args: any, errors: ValidationErrors) => string);
@@ -3915,6 +3915,8 @@ declare class CalendarViewComponent implements OnInit, OnDestroy {
3915
3915
  private destroy$;
3916
3916
  private formatter;
3917
3917
  protected config: CalendarConfig;
3918
+ /** Reference to the injected mn-config object (mutated in-place on locale change). */
3919
+ private readonly mnConfigRef;
3918
3920
  private readonly destroyRef;
3919
3921
  private readonly lang;
3920
3922
  constructor(formatter: CalendarDateFormatter | null, mnConfig: CalendarConfig | null, legacyConfig: CalendarConfig | null);
@@ -4217,7 +4219,7 @@ declare class CalendarEventDefaultComponent implements CalendarEventData, OnInit
4217
4219
  * Sidebar component that lists the next 10 upcoming events
4218
4220
  * (events whose end time is in the future), sorted by start time.
4219
4221
  */
4220
- declare class UpcomingEventsComponent implements OnInit, OnDestroy {
4222
+ declare class UpcomingEventsComponent implements OnInit, OnChanges, OnDestroy {
4221
4223
  /** Observable that emits the full event list whenever it changes. */
4222
4224
  eventsChanged: Observable<CalendarEvent[]>;
4223
4225
  /** Resolved calendar configuration passed from the parent view. */
@@ -4229,6 +4231,8 @@ declare class UpcomingEventsComponent implements OnInit, OnDestroy {
4229
4231
  noEventsMessage: string;
4230
4232
  private destroy$;
4231
4233
  constructor();
4234
+ /** Re-read labels when the config input changes (e.g. after a locale switch). */
4235
+ ngOnChanges(changes: SimpleChanges): void;
4232
4236
  ngOnInit(): void;
4233
4237
  ngOnDestroy(): void;
4234
4238
  /** trackBy for upcoming event rows. */