@eagami/ui 5.16.1 → 5.17.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": "@eagami/ui",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.17.0",
|
|
4
4
|
"description": "Lightweight, accessible, themeable Angular UI component library and icon set built on CSS custom properties",
|
|
5
5
|
"author": "Michal Wiraszka <michal@eagami.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -66,10 +66,10 @@
|
|
|
66
66
|
--text-h4-weight: var(--font-weight-semibold);
|
|
67
67
|
--text-h4-lh: var(--line-height-snug);
|
|
68
68
|
|
|
69
|
-
// Page-level subsection title (an `<h2>` under the page `<h1>`).
|
|
70
|
-
//
|
|
71
|
-
//
|
|
72
|
-
--text-section-heading-size:
|
|
69
|
+
// Page-level subsection title (an `<h2>` under the page `<h1>`). Sits between
|
|
70
|
+
// the h3 and h4 tiers and pins the brand family so it reads as wordmark, not
|
|
71
|
+
// body. Only composite that pins a font-family.
|
|
72
|
+
--text-section-heading-size: 1.375rem; // 22px
|
|
73
73
|
--text-section-heading-weight: var(--font-weight-semibold);
|
|
74
74
|
--text-section-heading-lh: var(--line-height-snug);
|
|
75
75
|
--text-section-heading-family: var(--font-family-brand);
|
package/types/eagami-ui.d.ts
CHANGED
|
@@ -3769,11 +3769,15 @@ interface Toast {
|
|
|
3769
3769
|
message: string;
|
|
3770
3770
|
variant: ToastVariant;
|
|
3771
3771
|
duration: number;
|
|
3772
|
+
/** Icon component rendered in place of the variant's own; `null` renders none. */
|
|
3773
|
+
icon?: Type<unknown> | null;
|
|
3772
3774
|
}
|
|
3773
3775
|
/** Optional configuration for a toast; defaults to `default` variant and 4s duration. */
|
|
3774
3776
|
interface ToastOptions {
|
|
3775
3777
|
variant?: ToastVariant;
|
|
3776
3778
|
duration?: number;
|
|
3779
|
+
/** Any icon component to render in place of the variant's own; `null` for no icon. */
|
|
3780
|
+
icon?: Type<unknown> | null;
|
|
3777
3781
|
}
|
|
3778
3782
|
/**
|
|
3779
3783
|
* Application-wide notification service. Use the convenience methods
|