@nanahoshi/mona-ui 0.45.1 → 0.46.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/THIRD_PARTY_NOTICES.md +34 -0
- package/docs/api/index.json +1 -1
- package/docs/api/theme.json +1 -1
- package/docs/api/theme.md +14 -6
- package/docs/installation.md +1 -1
- package/docs/manifest.json +1 -1
- package/docs/theming-built-in-themes.md +25 -12
- package/docs/theming-custom-themes.md +19 -0
- package/docs/theming.md +2 -1
- package/fesm2022/nanahoshi-mona-ui-auto-complete.mjs +6 -6
- package/fesm2022/nanahoshi-mona-ui-button-group.mjs +1 -1
- package/fesm2022/nanahoshi-mona-ui-calendar.mjs +4 -4
- package/fesm2022/nanahoshi-mona-ui-chat.mjs +1 -1
- package/fesm2022/nanahoshi-mona-ui-check-box.mjs +6 -6
- package/fesm2022/nanahoshi-mona-ui-color-gradient.mjs +1 -1
- package/fesm2022/nanahoshi-mona-ui-color-palette.mjs +1 -1
- package/fesm2022/nanahoshi-mona-ui-color-picker.mjs +5 -5
- package/fesm2022/nanahoshi-mona-ui-combo-box.mjs +4 -4
- package/fesm2022/nanahoshi-mona-ui-date-picker.mjs +5 -5
- package/fesm2022/nanahoshi-mona-ui-date-range-picker.mjs +5 -5
- package/fesm2022/nanahoshi-mona-ui-datetime-picker.mjs +5 -5
- package/fesm2022/nanahoshi-mona-ui-dropdown-list.mjs +4 -4
- package/fesm2022/nanahoshi-mona-ui-editor.mjs +3 -3
- package/fesm2022/nanahoshi-mona-ui-internal-indicator-icon.mjs +1 -1
- package/fesm2022/nanahoshi-mona-ui-masked-text-box.mjs +3 -3
- package/fesm2022/nanahoshi-mona-ui-multi-select.mjs +4 -4
- package/fesm2022/nanahoshi-mona-ui-numeric-text-box.mjs +4 -4
- package/fesm2022/nanahoshi-mona-ui-otp-input.mjs +3 -3
- package/fesm2022/nanahoshi-mona-ui-popup-menu.mjs +94 -16
- package/fesm2022/nanahoshi-mona-ui-radio-button.mjs +6 -6
- package/fesm2022/nanahoshi-mona-ui-segmented.mjs +1 -1
- package/fesm2022/nanahoshi-mona-ui-slider.mjs +4 -4
- package/fesm2022/nanahoshi-mona-ui-switch.mjs +3 -3
- package/fesm2022/nanahoshi-mona-ui-text-area.mjs +3 -3
- package/fesm2022/nanahoshi-mona-ui-text-box.mjs +6 -6
- package/fesm2022/nanahoshi-mona-ui-theme.mjs +295 -51
- package/fesm2022/nanahoshi-mona-ui-time-picker.mjs +5 -5
- package/fesm2022/nanahoshi-mona-ui-time-selector.mjs +1 -1
- package/llms.txt +2 -2
- package/package.json +1 -1
- package/types/nanahoshi-mona-ui-chat.d.ts +1 -1
- package/types/nanahoshi-mona-ui-theme.d.ts +71 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import { EnvironmentProviders, InjectionToken, Signal } from "@angular/core";
|
|
3
3
|
import "culori/css";
|
|
4
|
-
export type BuiltInThemeName = "anna" | "luna" | "mona";
|
|
4
|
+
export type BuiltInThemeName = "anna" | "luna" | "mona" | "rena";
|
|
5
5
|
export type ThemeName = string;
|
|
6
6
|
export type ThemeVariant = "light" | "dark";
|
|
7
7
|
/** A variant, or `"system"` to follow the operating system's light or dark setting. */
|
|
@@ -338,6 +338,41 @@ export declare const builtInThemes: Readonly<{
|
|
|
338
338
|
}>;
|
|
339
339
|
};
|
|
340
340
|
}>;
|
|
341
|
+
rena: Readonly<{
|
|
342
|
+
name: string;
|
|
343
|
+
variants: {
|
|
344
|
+
light: Readonly<{
|
|
345
|
+
colors: Readonly<Record<`--color-${string}`, string>>;
|
|
346
|
+
components: Readonly<Record<ThemeComponentVariable, string>>;
|
|
347
|
+
custom: Readonly<{
|
|
348
|
+
"--mona-indicator-color": "var(--color-primary)";
|
|
349
|
+
"--mona-indicator-foreground": "var(--color-primary-foreground)";
|
|
350
|
+
"--mona-primary-text-color": "var(--color-primary)";
|
|
351
|
+
"--mona-focus-ring-opacity": "100%";
|
|
352
|
+
"--mona-focus-ring-width": "1px";
|
|
353
|
+
}>;
|
|
354
|
+
effects: Readonly<Record<ThemeEffectVariable, string>>;
|
|
355
|
+
motion: Readonly<Record<ThemeMotionVariable, string>>;
|
|
356
|
+
shape: Readonly<Record<ThemeShapeVariable, string>>;
|
|
357
|
+
shadows: Readonly<Record<`--shadow-${string}`, string>>;
|
|
358
|
+
}>;
|
|
359
|
+
dark: Readonly<{
|
|
360
|
+
colors: Readonly<Record<`--color-${string}`, string>>;
|
|
361
|
+
components: Readonly<Record<ThemeComponentVariable, string>>;
|
|
362
|
+
custom: Readonly<{
|
|
363
|
+
"--mona-indicator-color": "var(--color-focus-indicator)";
|
|
364
|
+
"--mona-indicator-foreground": "#111827";
|
|
365
|
+
"--mona-primary-text-color": "var(--color-focus-indicator)";
|
|
366
|
+
"--mona-focus-ring-opacity": "100%";
|
|
367
|
+
"--mona-focus-ring-width": "1px";
|
|
368
|
+
}>;
|
|
369
|
+
effects: Readonly<Record<ThemeEffectVariable, string>>;
|
|
370
|
+
motion: Readonly<Record<ThemeMotionVariable, string>>;
|
|
371
|
+
shape: Readonly<Record<ThemeShapeVariable, string>>;
|
|
372
|
+
shadows: Readonly<Record<`--shadow-${string}`, string>>;
|
|
373
|
+
}>;
|
|
374
|
+
};
|
|
375
|
+
}>;
|
|
341
376
|
}>;
|
|
342
377
|
export declare const lunaTheme: Readonly<{
|
|
343
378
|
name: string;
|
|
@@ -457,6 +492,41 @@ export declare const monaTheme: Readonly<{
|
|
|
457
492
|
}>;
|
|
458
493
|
};
|
|
459
494
|
}>;
|
|
495
|
+
export declare const renaTheme: Readonly<{
|
|
496
|
+
name: string;
|
|
497
|
+
variants: {
|
|
498
|
+
light: Readonly<{
|
|
499
|
+
colors: Readonly<Record<`--color-${string}`, string>>;
|
|
500
|
+
components: Readonly<Record<ThemeComponentVariable, string>>;
|
|
501
|
+
custom: Readonly<{
|
|
502
|
+
"--mona-indicator-color": "var(--color-primary)";
|
|
503
|
+
"--mona-indicator-foreground": "var(--color-primary-foreground)";
|
|
504
|
+
"--mona-primary-text-color": "var(--color-primary)";
|
|
505
|
+
"--mona-focus-ring-opacity": "100%";
|
|
506
|
+
"--mona-focus-ring-width": "1px";
|
|
507
|
+
}>;
|
|
508
|
+
effects: Readonly<Record<ThemeEffectVariable, string>>;
|
|
509
|
+
motion: Readonly<Record<ThemeMotionVariable, string>>;
|
|
510
|
+
shape: Readonly<Record<ThemeShapeVariable, string>>;
|
|
511
|
+
shadows: Readonly<Record<`--shadow-${string}`, string>>;
|
|
512
|
+
}>;
|
|
513
|
+
dark: Readonly<{
|
|
514
|
+
colors: Readonly<Record<`--color-${string}`, string>>;
|
|
515
|
+
components: Readonly<Record<ThemeComponentVariable, string>>;
|
|
516
|
+
custom: Readonly<{
|
|
517
|
+
"--mona-indicator-color": "var(--color-focus-indicator)";
|
|
518
|
+
"--mona-indicator-foreground": "#111827";
|
|
519
|
+
"--mona-primary-text-color": "var(--color-focus-indicator)";
|
|
520
|
+
"--mona-focus-ring-opacity": "100%";
|
|
521
|
+
"--mona-focus-ring-width": "1px";
|
|
522
|
+
}>;
|
|
523
|
+
effects: Readonly<Record<ThemeEffectVariable, string>>;
|
|
524
|
+
motion: Readonly<Record<ThemeMotionVariable, string>>;
|
|
525
|
+
shape: Readonly<Record<ThemeShapeVariable, string>>;
|
|
526
|
+
shadows: Readonly<Record<`--shadow-${string}`, string>>;
|
|
527
|
+
}>;
|
|
528
|
+
};
|
|
529
|
+
}>;
|
|
460
530
|
/**
|
|
461
531
|
* Builds the sidebar's own colour roles. The sidebar is a persistent chrome region rather than page
|
|
462
532
|
* content, so it is given a surface of its own instead of borrowing the page's — which is what lets a
|