@eagami/ui 5.10.1 → 5.12.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/eagami-ui.mjs +33 -100
- package/fesm2022/eagami-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/eagami-ui.d.ts +6 -10
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eagami/ui",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.12.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",
|
package/types/eagami-ui.d.ts
CHANGED
|
@@ -221,10 +221,6 @@ interface EagamiMessages {
|
|
|
221
221
|
moveAllToSource: string;
|
|
222
222
|
empty: string;
|
|
223
223
|
};
|
|
224
|
-
tree: {
|
|
225
|
-
expand: string;
|
|
226
|
-
collapse: string;
|
|
227
|
-
};
|
|
228
224
|
validation: {
|
|
229
225
|
required: string;
|
|
230
226
|
email: string;
|
|
@@ -1894,9 +1890,9 @@ type EagamiWordmarkVariant = 'default' | 'byline' | 'tagline';
|
|
|
1894
1890
|
/** Layout of the wordmark: `stacked` for multi-line, `inline` for a single line with em-dash separators. */
|
|
1895
1891
|
type EagamiWordmarkLayout = 'stacked' | 'inline';
|
|
1896
1892
|
/**
|
|
1897
|
-
* Branded eagami wordmark logo.
|
|
1898
|
-
*
|
|
1899
|
-
* inline layouts.
|
|
1893
|
+
* Branded eagami wordmark logo. `size` is the brand text's font-size in px
|
|
1894
|
+
* and the rest of the lockup scales proportionally from it; supports three
|
|
1895
|
+
* content variants paired with stacked or inline layouts.
|
|
1900
1896
|
*/
|
|
1901
1897
|
declare class EagamiWordmarkComponent {
|
|
1902
1898
|
protected readonly i18n: EagamiI18nService;
|
|
@@ -1904,6 +1900,8 @@ declare class EagamiWordmarkComponent {
|
|
|
1904
1900
|
readonly variant: _angular_core.InputSignal<EagamiWordmarkVariant>;
|
|
1905
1901
|
readonly layout: _angular_core.InputSignal<EagamiWordmarkLayout>;
|
|
1906
1902
|
readonly size: _angular_core.InputSignal<number>;
|
|
1903
|
+
/** Renders the wordmark as a link to eagami.com; disable to embed it inside a custom link or static context. */
|
|
1904
|
+
readonly linked: _angular_core.InputSignal<boolean>;
|
|
1907
1905
|
/** Clamps size to a 10px floor and falls back to the default when cleared. */
|
|
1908
1906
|
protected readonly resolvedSize: _angular_core.Signal<number>;
|
|
1909
1907
|
protected readonly showOverline: _angular_core.Signal<boolean>;
|
|
@@ -1911,7 +1909,7 @@ declare class EagamiWordmarkComponent {
|
|
|
1911
1909
|
protected readonly brandText: _angular_core.Signal<string>;
|
|
1912
1910
|
protected readonly ariaLabel: _angular_core.Signal<string>;
|
|
1913
1911
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<EagamiWordmarkComponent, never>;
|
|
1914
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<EagamiWordmarkComponent, "ea-eagami-wordmark", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "layout": { "alias": "layout"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
1912
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<EagamiWordmarkComponent, "ea-eagami-wordmark", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "layout": { "alias": "layout"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "linked": { "alias": "linked"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
1915
1913
|
}
|
|
1916
1914
|
|
|
1917
1915
|
/** Visual size of the empty-state block. */
|
|
@@ -3925,7 +3923,6 @@ type TreeSize = EaSize;
|
|
|
3925
3923
|
*/
|
|
3926
3924
|
declare class TreeComponent {
|
|
3927
3925
|
private readonly hostEl;
|
|
3928
|
-
private readonly i18n;
|
|
3929
3926
|
readonly nodes: _angular_core.InputSignal<readonly TreeNode<unknown>[]>;
|
|
3930
3927
|
readonly size: _angular_core.InputSignal<EaSize>;
|
|
3931
3928
|
readonly disabled: _angular_core.InputSignal<boolean>;
|
|
@@ -3945,7 +3942,6 @@ declare class TreeComponent {
|
|
|
3945
3942
|
* sensible target.
|
|
3946
3943
|
*/
|
|
3947
3944
|
protected readonly focusedId: Signal<string>;
|
|
3948
|
-
protected readonly messages: Signal<_eagami_ui.EagamiMessages>;
|
|
3949
3945
|
protected readonly hostClasses: Signal<string[]>;
|
|
3950
3946
|
constructor();
|
|
3951
3947
|
protected onNodeSelect(node: TreeNode): void;
|