@eagami/ui 5.72.0 → 5.73.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 +41 -39
- package/fesm2022/eagami-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/eagami-ui.d.ts +19 -19
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eagami/ui",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.73.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
|
@@ -7514,11 +7514,11 @@ export type RatingSize = EaSize;
|
|
|
7514
7514
|
* `allowHalf`), hover preview, keyboard navigation (Left/Right/Up/Down,
|
|
7515
7515
|
* Home/End, 0-9 to jump), and a read-only display mode.
|
|
7516
7516
|
*
|
|
7517
|
-
* The default `<ea-icon-star>` can be swapped via the `
|
|
7518
|
-
* (any standalone Angular component reference, e.g. `[
|
|
7519
|
-
* When `allowHalf` is true, the half-position render uses `
|
|
7517
|
+
* The default `<ea-icon-star>` can be swapped via the `icon` input
|
|
7518
|
+
* (any standalone Angular component reference, e.g. `[icon]="HeartIconComponent"`).
|
|
7519
|
+
* When `allowHalf` is true, the half-position render uses `halfIcon`
|
|
7520
7520
|
* (default `<ea-icon-left-half-star>`); if a consumer supplies their own
|
|
7521
|
-
* `
|
|
7521
|
+
* `icon` without a matching `halfIcon`, the half is rendered with the
|
|
7522
7522
|
* default left-half-star.
|
|
7523
7523
|
*
|
|
7524
7524
|
* Integrates with Angular forms via `ControlValueAccessor`. Emits the new
|
|
@@ -7553,9 +7553,9 @@ export declare class RatingComponent implements ControlValueAccessor {
|
|
|
7553
7553
|
/** Clicking the current value clears the rating back to 0. */
|
|
7554
7554
|
readonly clearable: import("@angular/core").InputSignal<boolean>;
|
|
7555
7555
|
/** Standalone component class rendered for empty / full positions. */
|
|
7556
|
-
readonly
|
|
7556
|
+
readonly icon: import("@angular/core").InputSignal<Type<unknown>>;
|
|
7557
7557
|
/** Standalone component class rendered for half positions (when `allowHalf` is true). */
|
|
7558
|
-
readonly
|
|
7558
|
+
readonly halfIcon: import("@angular/core").InputSignal<Type<unknown>>;
|
|
7559
7559
|
readonly id: import("@angular/core").InputSignal<string>;
|
|
7560
7560
|
/** Current rating value, 0..max in 1 (or 0.5 when `allowHalf`) increments. */
|
|
7561
7561
|
readonly value: import("@angular/core").ModelSignal<number>;
|
|
@@ -7694,13 +7694,13 @@ export declare class RatingComponent implements ControlValueAccessor {
|
|
|
7694
7694
|
"required": false;
|
|
7695
7695
|
"isSignal": true;
|
|
7696
7696
|
};
|
|
7697
|
-
"
|
|
7698
|
-
"alias": "
|
|
7697
|
+
"icon": {
|
|
7698
|
+
"alias": "icon";
|
|
7699
7699
|
"required": false;
|
|
7700
7700
|
"isSignal": true;
|
|
7701
7701
|
};
|
|
7702
|
-
"
|
|
7703
|
-
"alias": "
|
|
7702
|
+
"halfIcon": {
|
|
7703
|
+
"alias": "halfIcon";
|
|
7704
7704
|
"required": false;
|
|
7705
7705
|
"isSignal": true;
|
|
7706
7706
|
};
|
|
@@ -8847,7 +8847,7 @@ export type TagVariant = 'default' | 'success' | 'warning' | 'error' | 'info';
|
|
|
8847
8847
|
/** Visual size of a tag. */
|
|
8848
8848
|
export type TagSize = EaSize;
|
|
8849
8849
|
/** Where a clipped label reveals its full text, or `none` to suppress it. */
|
|
8850
|
-
export type TagTooltip = '
|
|
8850
|
+
export type TagTooltip = 'top' | 'bottom' | 'none';
|
|
8851
8851
|
/**
|
|
8852
8852
|
* Inline label commonly used to represent filters, categories, or selected
|
|
8853
8853
|
* items. When `removable`, renders a close button that emits `removed`; the
|
|
@@ -9006,7 +9006,7 @@ export interface TextareaSelection {
|
|
|
9006
9006
|
}
|
|
9007
9007
|
/**
|
|
9008
9008
|
* Multiline text field that mirrors the `ea-input` API. Supports configurable
|
|
9009
|
-
* `resize` direction, `
|
|
9009
|
+
* `resize` direction, `maxLength` and a character count, exposes the caret
|
|
9010
9010
|
* through `getSelection()` and `insertText()`, and integrates with Angular
|
|
9011
9011
|
* forms via `ControlValueAccessor`.
|
|
9012
9012
|
*/
|
|
@@ -9041,8 +9041,8 @@ export declare class TextareaComponent implements ControlValueAccessor {
|
|
|
9041
9041
|
readonly readonly: import("@angular/core").InputSignal<boolean>;
|
|
9042
9042
|
readonly required: import("@angular/core").InputSignal<boolean>;
|
|
9043
9043
|
readonly resize: import("@angular/core").InputSignal<TextareaResize>;
|
|
9044
|
-
readonly
|
|
9045
|
-
/** Shows the number of characters typed below the field, against `
|
|
9044
|
+
readonly maxLength: import("@angular/core").InputSignal<number | undefined>;
|
|
9045
|
+
/** Shows the number of characters typed below the field, against `maxLength` when one is set. */
|
|
9046
9046
|
readonly showCount: import("@angular/core").InputSignal<boolean>;
|
|
9047
9047
|
/** Optional pixel ceiling for the textarea's height. Beyond it, the inner
|
|
9048
9048
|
* field scrolls vertically instead of growing. */
|
|
@@ -9183,8 +9183,8 @@ export declare class TextareaComponent implements ControlValueAccessor {
|
|
|
9183
9183
|
"required": false;
|
|
9184
9184
|
"isSignal": true;
|
|
9185
9185
|
};
|
|
9186
|
-
"
|
|
9187
|
-
"alias": "
|
|
9186
|
+
"maxLength": {
|
|
9187
|
+
"alias": "maxLength";
|
|
9188
9188
|
"required": false;
|
|
9189
9189
|
"isSignal": true;
|
|
9190
9190
|
};
|
|
@@ -9689,7 +9689,7 @@ export declare class ToastComponent {
|
|
|
9689
9689
|
/** Visual size applied to every toast in the stack. */
|
|
9690
9690
|
readonly size: import("@angular/core").InputSignal<EaSize>;
|
|
9691
9691
|
/** Show a dismiss button on each toast. */
|
|
9692
|
-
readonly
|
|
9692
|
+
readonly dismissible: import("@angular/core").InputSignal<boolean>;
|
|
9693
9693
|
protected readonly containerClass: import("@angular/core").Signal<string>;
|
|
9694
9694
|
protected toastRole(variant: string): 'alert' | 'status';
|
|
9695
9695
|
protected segmentsOf(text: ToastText): readonly ToastSegment[] | null;
|
|
@@ -9711,8 +9711,8 @@ export declare class ToastComponent {
|
|
|
9711
9711
|
"required": false;
|
|
9712
9712
|
"isSignal": true;
|
|
9713
9713
|
};
|
|
9714
|
-
"
|
|
9715
|
-
"alias": "
|
|
9714
|
+
"dismissible": {
|
|
9715
|
+
"alias": "dismissible";
|
|
9716
9716
|
"required": false;
|
|
9717
9717
|
"isSignal": true;
|
|
9718
9718
|
};
|