@eagami/ui 5.64.1 → 5.66.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 +304 -40
- package/fesm2022/eagami-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/src/styles/type-scale.spec.ts +6 -1
- package/types/eagami-ui.d.ts +111 -34
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eagami/ui",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.66.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",
|
|
@@ -21,6 +21,9 @@ const SUB_BODY_SCALE: Record<string, number> = {
|
|
|
21
21
|
micro: 0.625,
|
|
22
22
|
};
|
|
23
23
|
|
|
24
|
+
/** Brand lockups keep the proportions of the logo artwork, not the UI type scale. */
|
|
25
|
+
const BRAND_LOCKUPS = new Set(['eagami-wordmark/eagami-wordmark.component.scss']);
|
|
26
|
+
|
|
24
27
|
function libStylesheets(): { name: string; css: string }[] {
|
|
25
28
|
const lib = join(SRC, 'src/lib');
|
|
26
29
|
return readdirSync(lib, { recursive: true, encoding: 'utf8' })
|
|
@@ -56,7 +59,9 @@ describe('Type scale', () => {
|
|
|
56
59
|
it('draws text below the body line from the shared scale', () => {
|
|
57
60
|
const allowed = new Set(Object.values(SUB_BODY_SCALE));
|
|
58
61
|
const offScale: string[] = [];
|
|
59
|
-
for (const { name, css } of libStylesheets()
|
|
62
|
+
for (const { name, css } of libStylesheets().filter(
|
|
63
|
+
({ name }) => !BRAND_LOCKUPS.has(name),
|
|
64
|
+
)) {
|
|
60
65
|
for (const [declaration, value] of css.matchAll(
|
|
61
66
|
/(?:font-size|--ea-field-(?:label|messages)-size):\s*([\d.]+)em\b/g,
|
|
62
67
|
)) {
|
package/types/eagami-ui.d.ts
CHANGED
|
@@ -894,7 +894,7 @@ export declare class AutocompleteComponent implements ControlValueAccessor {
|
|
|
894
894
|
readonly hint: import("@angular/core").InputSignal<string | undefined>;
|
|
895
895
|
readonly errorMsg: import("@angular/core").InputSignal<string | undefined>;
|
|
896
896
|
/** Per-validator-key message overrides for a bound form control (e.g. `{ required: '...' }`). */
|
|
897
|
-
readonly errorMessages: import("@angular/core").InputSignal<Partial<Record<string, string>> | undefined>;
|
|
897
|
+
readonly errorMessages: import("@angular/core").InputSignal<Partial<Record<string, string | null>> | undefined>;
|
|
898
898
|
readonly minLength: import("@angular/core").InputSignal<number>;
|
|
899
899
|
/** Maximum number of characters the input accepts (native `maxlength`). */
|
|
900
900
|
readonly maxLength: import("@angular/core").InputSignal<number | undefined>;
|
|
@@ -2073,7 +2073,7 @@ export declare class CheckboxComponent implements ControlValueAccessor {
|
|
|
2073
2073
|
readonly hint: import("@angular/core").InputSignal<string | undefined>;
|
|
2074
2074
|
readonly errorMsg: import("@angular/core").InputSignal<string | undefined>;
|
|
2075
2075
|
/** Per-validator-key message overrides for a bound form control (e.g. `{ required: '...' }`). */
|
|
2076
|
-
readonly errorMessages: import("@angular/core").InputSignal<Partial<Record<string, string>> | undefined>;
|
|
2076
|
+
readonly errorMessages: import("@angular/core").InputSignal<Partial<Record<string, string | null>> | undefined>;
|
|
2077
2077
|
readonly size: import("@angular/core").InputSignal<EaSize>;
|
|
2078
2078
|
/**
|
|
2079
2079
|
* Ellipsize a label too long for the space the checkbox is given, revealing
|
|
@@ -2454,7 +2454,7 @@ export declare class ColorPickerComponent implements ControlValueAccessor {
|
|
|
2454
2454
|
readonly hint: import("@angular/core").InputSignal<string | undefined>;
|
|
2455
2455
|
readonly errorMsg: import("@angular/core").InputSignal<string | undefined>;
|
|
2456
2456
|
/** Per-validator-key message overrides for a bound form control (e.g. `{ required: '...' }`). */
|
|
2457
|
-
readonly errorMessages: import("@angular/core").InputSignal<Partial<Record<string, string>> | undefined>;
|
|
2457
|
+
readonly errorMessages: import("@angular/core").InputSignal<Partial<Record<string, string | null>> | undefined>;
|
|
2458
2458
|
/** Whether to show the alpha slider. When `false` the emitted value always has alpha = 1. */
|
|
2459
2459
|
readonly showAlpha: import("@angular/core").InputSignal<boolean>;
|
|
2460
2460
|
/** Whether to show the clear button when a value is set. */
|
|
@@ -3468,7 +3468,7 @@ export declare class CodeInputComponent implements ControlValueAccessor {
|
|
|
3468
3468
|
readonly hint: import("@angular/core").InputSignal<string | undefined>;
|
|
3469
3469
|
readonly errorMsg: import("@angular/core").InputSignal<string | undefined>;
|
|
3470
3470
|
/** Per-validator-key message overrides for a bound form control (e.g. `{ required: '...' }`). */
|
|
3471
|
-
readonly errorMessages: import("@angular/core").InputSignal<Partial<Record<string, string>> | undefined>;
|
|
3471
|
+
readonly errorMessages: import("@angular/core").InputSignal<Partial<Record<string, string | null>> | undefined>;
|
|
3472
3472
|
readonly disabled: import("@angular/core").InputSignal<boolean>;
|
|
3473
3473
|
readonly readonly: import("@angular/core").InputSignal<boolean>;
|
|
3474
3474
|
readonly required: import("@angular/core").InputSignal<boolean>;
|
|
@@ -3643,7 +3643,7 @@ export declare class DatePickerComponent implements ControlValueAccessor {
|
|
|
3643
3643
|
readonly hint: import("@angular/core").InputSignal<string | undefined>;
|
|
3644
3644
|
readonly errorMsg: import("@angular/core").InputSignal<string | undefined>;
|
|
3645
3645
|
/** Per-validator-key message overrides for a bound form control (e.g. `{ required: '...' }`). */
|
|
3646
|
-
readonly errorMessages: import("@angular/core").InputSignal<Partial<Record<string, string>> | undefined>;
|
|
3646
|
+
readonly errorMessages: import("@angular/core").InputSignal<Partial<Record<string, string | null>> | undefined>;
|
|
3647
3647
|
readonly minDate: import("@angular/core").InputSignal<Date | null>;
|
|
3648
3648
|
readonly maxDate: import("@angular/core").InputSignal<Date | null>;
|
|
3649
3649
|
/** Weekdays that cannot be picked, numbered as `Date.getDay()` does: 0 for Sunday through 6 for Saturday. */
|
|
@@ -4301,7 +4301,7 @@ export declare class DropdownComponent implements ControlValueAccessor {
|
|
|
4301
4301
|
readonly hint: import("@angular/core").InputSignal<string | undefined>;
|
|
4302
4302
|
readonly errorMsg: import("@angular/core").InputSignal<string | undefined>;
|
|
4303
4303
|
/** Per-validator-key message overrides for a bound form control (e.g. `{ required: '...' }`). */
|
|
4304
|
-
readonly errorMessages: import("@angular/core").InputSignal<Partial<Record<string, string>> | undefined>;
|
|
4304
|
+
readonly errorMessages: import("@angular/core").InputSignal<Partial<Record<string, string | null>> | undefined>;
|
|
4305
4305
|
readonly id: import("@angular/core").InputSignal<string>;
|
|
4306
4306
|
readonly value: import("@angular/core").ModelSignal<string>;
|
|
4307
4307
|
/** Fires with the new value when the user selects an option or clears the selection. */
|
|
@@ -4472,20 +4472,22 @@ export type EagamiWordmarkVariant = 'default' | 'byline' | 'tagline';
|
|
|
4472
4472
|
/** Layout of the wordmark: `stacked` for multi-line, `inline` for a single line with em-dash separators. */
|
|
4473
4473
|
export type EagamiWordmarkLayout = 'stacked' | 'inline';
|
|
4474
4474
|
/**
|
|
4475
|
-
* Branded eagami wordmark logo. `size` is the brand text's font-size in px
|
|
4476
|
-
* and the rest of the lockup scales
|
|
4477
|
-
* content variants paired with stacked
|
|
4475
|
+
* Branded eagami wordmark logo. `size` is the brand text's font-size, in px or
|
|
4476
|
+
* inherited from the surrounding text, and the rest of the lockup scales
|
|
4477
|
+
* proportionally from it; supports three content variants paired with stacked
|
|
4478
|
+
* or inline layouts.
|
|
4478
4479
|
*/
|
|
4479
4480
|
export declare class EagamiWordmarkComponent {
|
|
4480
4481
|
protected readonly i18n: EagamiI18nService;
|
|
4481
4482
|
/** Content variant. */
|
|
4482
4483
|
readonly variant: import("@angular/core").InputSignal<EagamiWordmarkVariant>;
|
|
4483
4484
|
readonly layout: import("@angular/core").InputSignal<EagamiWordmarkLayout>;
|
|
4484
|
-
|
|
4485
|
+
/** Brand text size in px, or `'inherit'` to match the surrounding text. */
|
|
4486
|
+
readonly size: import("@angular/core").InputSignal<number | "inherit">;
|
|
4485
4487
|
/** Renders the wordmark as a link to eagami.com; disable to embed it inside a custom link or static context. */
|
|
4486
4488
|
readonly linked: import("@angular/core").InputSignal<boolean>;
|
|
4487
|
-
/** Clamps
|
|
4488
|
-
protected readonly resolvedSize: import("@angular/core").Signal<
|
|
4489
|
+
/** Clamps px sizes to a 10px floor and falls back to the default when cleared. */
|
|
4490
|
+
protected readonly resolvedSize: import("@angular/core").Signal<string>;
|
|
4489
4491
|
protected readonly showOverline: import("@angular/core").Signal<boolean>;
|
|
4490
4492
|
protected readonly showTagline: import("@angular/core").Signal<boolean>;
|
|
4491
4493
|
protected readonly brandText: import("@angular/core").Signal<string>;
|
|
@@ -4683,7 +4685,7 @@ export declare class FormFieldComponent {
|
|
|
4683
4685
|
/** Error message shown below the control; replaces the hint and flags the field invalid. */
|
|
4684
4686
|
readonly errorMsg: import("@angular/core").InputSignal<string | undefined>;
|
|
4685
4687
|
/** Per-validator-key message overrides for the projected form control (e.g. `{ required: '...' }`). */
|
|
4686
|
-
readonly errorMessages: import("@angular/core").InputSignal<Partial<Record<string, string>> | undefined>;
|
|
4688
|
+
readonly errorMessages: import("@angular/core").InputSignal<Partial<Record<string, string | null>> | undefined>;
|
|
4687
4689
|
/** Marks the field as required. */
|
|
4688
4690
|
readonly required: import("@angular/core").InputSignal<boolean>;
|
|
4689
4691
|
/** Visual size of the field; the label, control text, spacing, and messages scale with it. */
|
|
@@ -4756,9 +4758,10 @@ type EaValidationErrorKey = 'required' | 'email' | 'min' | 'max' | 'minlength' |
|
|
|
4756
4758
|
* Per-error-key message overrides for a form control. Keys are validator error
|
|
4757
4759
|
* names (`required`, `email`, or any custom validator key); values are the text
|
|
4758
4760
|
* shown when that error is the active one. Keys left unset fall back to the
|
|
4759
|
-
* library's localized default message
|
|
4761
|
+
* library's localized default message, and a key set to `null` is never shown,
|
|
4762
|
+
* so a field whose only errors are hidden keeps out of its error state.
|
|
4760
4763
|
*/
|
|
4761
|
-
type EaErrorMessages = Partial<Record<string, string>>;
|
|
4764
|
+
type EaErrorMessages = Partial<Record<string, string | null>>;
|
|
4762
4765
|
interface ControlErrorStateConfig {
|
|
4763
4766
|
/** Explicit error text; shown unconditionally and overrides any auto-derived message. */
|
|
4764
4767
|
errorMsg: Signal<string | null | undefined>;
|
|
@@ -4774,12 +4777,16 @@ interface ControlErrorState {
|
|
|
4774
4777
|
/**
|
|
4775
4778
|
* Derives a form control's display error from, in priority order: an explicit
|
|
4776
4779
|
* `errorMsg`, a consumer `errorMessages` override, then the library's localized
|
|
4777
|
-
* default for the active `ValidationErrors` key.
|
|
4778
|
-
*
|
|
4779
|
-
*
|
|
4780
|
-
*
|
|
4781
|
-
*
|
|
4782
|
-
*
|
|
4780
|
+
* default for the active `ValidationErrors` key.
|
|
4781
|
+
*
|
|
4782
|
+
* Auto-derived messages surface only once the bound control is `invalid &&
|
|
4783
|
+
* touched`, and a new one waits while focus is still inside the field, until
|
|
4784
|
+
* the user leaves it or submits the form, so nothing is flagged mid-edit. A
|
|
4785
|
+
* message already showing follows the value as it is typed and clears the
|
|
4786
|
+
* moment it is fixed. A message revealed by a pointer press moving focus away
|
|
4787
|
+
* waits until that press has landed its click. The control arrives as a signal
|
|
4788
|
+
* so callers decide how it is resolved: from the host's own `NgControl` (CVA
|
|
4789
|
+
* components) or from projected content (`<ea-form-field>`).
|
|
4783
4790
|
*/
|
|
4784
4791
|
declare function controlErrorStateFrom(control: Signal<AbstractControl | null>, config: ControlErrorStateConfig): ControlErrorState;
|
|
4785
4792
|
/**
|
|
@@ -4850,7 +4857,7 @@ export declare class FileUploaderComponent implements ControlValueAccessor {
|
|
|
4850
4857
|
readonly hint: import("@angular/core").InputSignal<string | undefined>;
|
|
4851
4858
|
readonly errorMsg: import("@angular/core").InputSignal<string | undefined>;
|
|
4852
4859
|
/** Per-validator-key message overrides for a bound form control (e.g. `{ required: '...' }`). */
|
|
4853
|
-
readonly errorMessages: import("@angular/core").InputSignal<Partial<Record<string, string>> | undefined>;
|
|
4860
|
+
readonly errorMessages: import("@angular/core").InputSignal<Partial<Record<string, string | null>> | undefined>;
|
|
4854
4861
|
readonly size: import("@angular/core").InputSignal<EaSize>;
|
|
4855
4862
|
/**
|
|
4856
4863
|
* `dropzone` renders the drag-and-drop area; `button` renders a compact
|
|
@@ -5129,7 +5136,7 @@ export declare class InputComponent implements ControlValueAccessor {
|
|
|
5129
5136
|
/** Error message shown below the field; replaces the hint and flags the field invalid. */
|
|
5130
5137
|
readonly errorMsg: import("@angular/core").InputSignal<string | undefined>;
|
|
5131
5138
|
/** Per-validator-key message overrides for a bound form control (e.g. `{ required: '...' }`). */
|
|
5132
|
-
readonly errorMessages: import("@angular/core").InputSignal<Partial<Record<string, string>> | undefined>;
|
|
5139
|
+
readonly errorMessages: import("@angular/core").InputSignal<Partial<Record<string, string | null>> | undefined>;
|
|
5133
5140
|
/** Disables the field. */
|
|
5134
5141
|
readonly disabled: import("@angular/core").InputSignal<boolean>;
|
|
5135
5142
|
/** Renders the field read-only. */
|
|
@@ -5835,7 +5842,7 @@ export declare class MultiSelectComponent implements ControlValueAccessor {
|
|
|
5835
5842
|
readonly hint: import("@angular/core").InputSignal<string | undefined>;
|
|
5836
5843
|
readonly errorMsg: import("@angular/core").InputSignal<string | undefined>;
|
|
5837
5844
|
/** Per-validator-key message overrides for a bound form control (e.g. `{ required: '...' }`). */
|
|
5838
|
-
readonly errorMessages: import("@angular/core").InputSignal<Partial<Record<string, string>> | undefined>;
|
|
5845
|
+
readonly errorMessages: import("@angular/core").InputSignal<Partial<Record<string, string | null>> | undefined>;
|
|
5839
5846
|
/** Toggle the search input at the top of the popover. */
|
|
5840
5847
|
readonly searchable: import("@angular/core").InputSignal<boolean>;
|
|
5841
5848
|
/** Toggle the "Select all" row at the top of the option list. */
|
|
@@ -6152,7 +6159,7 @@ export declare class NumberInputComponent implements ControlValueAccessor {
|
|
|
6152
6159
|
/** Error message shown below the field; replaces the hint and flags the field invalid. */
|
|
6153
6160
|
readonly errorMsg: import("@angular/core").InputSignal<string | undefined>;
|
|
6154
6161
|
/** Per-validator-key message overrides for a bound form control (e.g. `{ required: '...' }`). */
|
|
6155
|
-
readonly errorMessages: import("@angular/core").InputSignal<Partial<Record<string, string>> | undefined>;
|
|
6162
|
+
readonly errorMessages: import("@angular/core").InputSignal<Partial<Record<string, string | null>> | undefined>;
|
|
6156
6163
|
/** Disables the field. */
|
|
6157
6164
|
readonly disabled: import("@angular/core").InputSignal<boolean>;
|
|
6158
6165
|
/** Renders the field read-only. */
|
|
@@ -6728,7 +6735,7 @@ export declare class RadioGroupComponent implements ControlValueAccessor {
|
|
|
6728
6735
|
readonly hint: import("@angular/core").InputSignal<string | undefined>;
|
|
6729
6736
|
readonly errorMsg: import("@angular/core").InputSignal<string | undefined>;
|
|
6730
6737
|
/** Per-validator-key message overrides for a bound form control (e.g. `{ required: '...' }`). */
|
|
6731
|
-
readonly errorMessages: import("@angular/core").InputSignal<Partial<Record<string, string>> | undefined>;
|
|
6738
|
+
readonly errorMessages: import("@angular/core").InputSignal<Partial<Record<string, string | null>> | undefined>;
|
|
6732
6739
|
readonly ariaLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
6733
6740
|
/** Space-separated ids of the elements whose text names the group, such as a label outside the component. */
|
|
6734
6741
|
readonly ariaLabelledby: import("@angular/core").InputSignal<string | undefined>;
|
|
@@ -6906,7 +6913,7 @@ export declare class RangeSliderComponent implements ControlValueAccessor {
|
|
|
6906
6913
|
readonly hint: import("@angular/core").InputSignal<string | undefined>;
|
|
6907
6914
|
readonly errorMsg: import("@angular/core").InputSignal<string | undefined>;
|
|
6908
6915
|
/** Per-validator-key message overrides for a bound form control (e.g. `{ required: '...' }`). */
|
|
6909
|
-
readonly errorMessages: import("@angular/core").InputSignal<Partial<Record<string, string>> | undefined>;
|
|
6916
|
+
readonly errorMessages: import("@angular/core").InputSignal<Partial<Record<string, string | null>> | undefined>;
|
|
6910
6917
|
readonly min: import("@angular/core").InputSignal<number>;
|
|
6911
6918
|
readonly max: import("@angular/core").InputSignal<number>;
|
|
6912
6919
|
readonly step: import("@angular/core").InputSignal<number>;
|
|
@@ -7113,7 +7120,7 @@ export declare class RatingComponent implements ControlValueAccessor {
|
|
|
7113
7120
|
readonly hint: import("@angular/core").InputSignal<string | undefined>;
|
|
7114
7121
|
readonly errorMsg: import("@angular/core").InputSignal<string | undefined>;
|
|
7115
7122
|
/** Per-validator-key message overrides for a bound form control (e.g. `{ required: '...' }`). */
|
|
7116
|
-
readonly errorMessages: import("@angular/core").InputSignal<Partial<Record<string, string>> | undefined>;
|
|
7123
|
+
readonly errorMessages: import("@angular/core").InputSignal<Partial<Record<string, string | null>> | undefined>;
|
|
7117
7124
|
readonly size: import("@angular/core").InputSignal<EaSize>;
|
|
7118
7125
|
readonly min: import("@angular/core").InputSignal<number>;
|
|
7119
7126
|
readonly max: import("@angular/core").InputSignal<number>;
|
|
@@ -7299,7 +7306,7 @@ export declare class SegmentedComponent implements ControlValueAccessor {
|
|
|
7299
7306
|
readonly hint: import("@angular/core").InputSignal<string | undefined>;
|
|
7300
7307
|
readonly errorMsg: import("@angular/core").InputSignal<string | undefined>;
|
|
7301
7308
|
/** Per-validator-key message overrides for a bound form control (e.g. `{ required: '...' }`). */
|
|
7302
|
-
readonly errorMessages: import("@angular/core").InputSignal<Partial<Record<string, string>> | undefined>;
|
|
7309
|
+
readonly errorMessages: import("@angular/core").InputSignal<Partial<Record<string, string | null>> | undefined>;
|
|
7303
7310
|
readonly size: import("@angular/core").InputSignal<EaSize>;
|
|
7304
7311
|
readonly disabled: import("@angular/core").InputSignal<boolean>;
|
|
7305
7312
|
readonly required: import("@angular/core").InputSignal<boolean>;
|
|
@@ -7474,7 +7481,7 @@ export declare class SliderComponent implements ControlValueAccessor {
|
|
|
7474
7481
|
readonly hint: import("@angular/core").InputSignal<string | undefined>;
|
|
7475
7482
|
readonly errorMsg: import("@angular/core").InputSignal<string | undefined>;
|
|
7476
7483
|
/** Per-validator-key message overrides for a bound form control (e.g. `{ required: '...' }`). */
|
|
7477
|
-
readonly errorMessages: import("@angular/core").InputSignal<Partial<Record<string, string>> | undefined>;
|
|
7484
|
+
readonly errorMessages: import("@angular/core").InputSignal<Partial<Record<string, string | null>> | undefined>;
|
|
7478
7485
|
/** Force the error-state styling without binding `errorMsg`. Lets consumers
|
|
7479
7486
|
* render the error text themselves (e.g. above the slider in a form layout)
|
|
7480
7487
|
* while still getting the built-in recolour of the fill and thumb. */
|
|
@@ -7825,7 +7832,7 @@ export declare class SwitchComponent implements ControlValueAccessor {
|
|
|
7825
7832
|
readonly hint: import("@angular/core").InputSignal<string | undefined>;
|
|
7826
7833
|
readonly errorMsg: import("@angular/core").InputSignal<string | undefined>;
|
|
7827
7834
|
/** Per-validator-key message overrides for a bound form control (e.g. `{ required: '...' }`). */
|
|
7828
|
-
readonly errorMessages: import("@angular/core").InputSignal<Partial<Record<string, string>> | undefined>;
|
|
7835
|
+
readonly errorMessages: import("@angular/core").InputSignal<Partial<Record<string, string | null>> | undefined>;
|
|
7829
7836
|
readonly size: import("@angular/core").InputSignal<EaSize>;
|
|
7830
7837
|
/**
|
|
7831
7838
|
* Status tone for the track: a tinted wash with a toned border while off and
|
|
@@ -8366,7 +8373,7 @@ export declare class TextareaComponent implements ControlValueAccessor {
|
|
|
8366
8373
|
readonly hint: import("@angular/core").InputSignal<string | undefined>;
|
|
8367
8374
|
readonly errorMsg: import("@angular/core").InputSignal<string | undefined>;
|
|
8368
8375
|
/** Per-validator-key message overrides for a bound form control (e.g. `{ required: '...' }`). */
|
|
8369
|
-
readonly errorMessages: import("@angular/core").InputSignal<Partial<Record<string, string>> | undefined>;
|
|
8376
|
+
readonly errorMessages: import("@angular/core").InputSignal<Partial<Record<string, string | null>> | undefined>;
|
|
8370
8377
|
readonly disabled: import("@angular/core").InputSignal<boolean>;
|
|
8371
8378
|
readonly readonly: import("@angular/core").InputSignal<boolean>;
|
|
8372
8379
|
readonly required: import("@angular/core").InputSignal<boolean>;
|
|
@@ -8587,7 +8594,7 @@ export declare class TimePickerComponent implements ControlValueAccessor {
|
|
|
8587
8594
|
readonly hint: import("@angular/core").InputSignal<string | undefined>;
|
|
8588
8595
|
readonly errorMsg: import("@angular/core").InputSignal<string | undefined>;
|
|
8589
8596
|
/** Per-validator-key message overrides for a bound form control (e.g. `{ required: '...' }`). */
|
|
8590
|
-
readonly errorMessages: import("@angular/core").InputSignal<Partial<Record<string, string>> | undefined>;
|
|
8597
|
+
readonly errorMessages: import("@angular/core").InputSignal<Partial<Record<string, string | null>> | undefined>;
|
|
8591
8598
|
/** Display format for the trigger label. Wire value is always 24h. */
|
|
8592
8599
|
readonly format: import("@angular/core").InputSignal<TimePickerFormat>;
|
|
8593
8600
|
readonly includeSeconds: import("@angular/core").InputSignal<boolean>;
|
|
@@ -9016,6 +9023,68 @@ export declare class ToastComponent {
|
|
|
9016
9023
|
};
|
|
9017
9024
|
}, {}, never, never, true, never>;
|
|
9018
9025
|
}
|
|
9026
|
+
export type ToggleChipSize = EaSize;
|
|
9027
|
+
/**
|
|
9028
|
+
* Pill-shaped toggle button for filters and feature pickers. Projected content
|
|
9029
|
+
* names it, an optional icon leads it, and a check marks it as on, so its state
|
|
9030
|
+
* never rests on colour alone.
|
|
9031
|
+
*/
|
|
9032
|
+
export declare class ToggleChipComponent {
|
|
9033
|
+
/** Whether the chip is on, two-way bindable via [(selected)]. */
|
|
9034
|
+
readonly selected: import("@angular/core").ModelSignal<boolean>;
|
|
9035
|
+
readonly size: import("@angular/core").InputSignal<EaSize>;
|
|
9036
|
+
/** Optional icon component rendered before the label. */
|
|
9037
|
+
readonly icon: import("@angular/core").InputSignal<Type<unknown> | undefined>;
|
|
9038
|
+
/** Disables the chip and blocks toggling. */
|
|
9039
|
+
readonly disabled: import("@angular/core").InputSignal<boolean>;
|
|
9040
|
+
/** Accessible label for a chip whose projected content has no visible text. */
|
|
9041
|
+
readonly ariaLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
9042
|
+
/** Id of an element that describes what the chip turns on, announced with its name. */
|
|
9043
|
+
readonly ariaDescribedby: import("@angular/core").InputSignal<string | undefined>;
|
|
9044
|
+
/** Fires with the new state whenever the user toggles the chip. */
|
|
9045
|
+
readonly changed: import("@angular/core").OutputEmitterRef<boolean>;
|
|
9046
|
+
protected readonly classes: import("@angular/core").Signal<{
|
|
9047
|
+
[x: string]: boolean;
|
|
9048
|
+
'ea-toggle-chip--selected': boolean;
|
|
9049
|
+
}>;
|
|
9050
|
+
protected toggle(): void;
|
|
9051
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToggleChipComponent, never>;
|
|
9052
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToggleChipComponent, "ea-toggle-chip", never, {
|
|
9053
|
+
"selected": {
|
|
9054
|
+
"alias": "selected";
|
|
9055
|
+
"required": false;
|
|
9056
|
+
"isSignal": true;
|
|
9057
|
+
};
|
|
9058
|
+
"size": {
|
|
9059
|
+
"alias": "size";
|
|
9060
|
+
"required": false;
|
|
9061
|
+
"isSignal": true;
|
|
9062
|
+
};
|
|
9063
|
+
"icon": {
|
|
9064
|
+
"alias": "icon";
|
|
9065
|
+
"required": false;
|
|
9066
|
+
"isSignal": true;
|
|
9067
|
+
};
|
|
9068
|
+
"disabled": {
|
|
9069
|
+
"alias": "disabled";
|
|
9070
|
+
"required": false;
|
|
9071
|
+
"isSignal": true;
|
|
9072
|
+
};
|
|
9073
|
+
"ariaLabel": {
|
|
9074
|
+
"alias": "aria-label";
|
|
9075
|
+
"required": false;
|
|
9076
|
+
"isSignal": true;
|
|
9077
|
+
};
|
|
9078
|
+
"ariaDescribedby": {
|
|
9079
|
+
"alias": "aria-describedby";
|
|
9080
|
+
"required": false;
|
|
9081
|
+
"isSignal": true;
|
|
9082
|
+
};
|
|
9083
|
+
}, {
|
|
9084
|
+
"selected": "selectedChange";
|
|
9085
|
+
"changed": "changed";
|
|
9086
|
+
}, never, ["*"], true, never>;
|
|
9087
|
+
}
|
|
9019
9088
|
/**
|
|
9020
9089
|
* A single transferable item in an `<ea-transfer-list>`.
|
|
9021
9090
|
*
|
|
@@ -10546,8 +10615,16 @@ export declare class EagamiIconComponent extends IconComponentBase {
|
|
|
10546
10615
|
static readonly category: IconCategory;
|
|
10547
10616
|
static readonly isBrand = true;
|
|
10548
10617
|
static readonly tags: ReadonlyArray<string>;
|
|
10618
|
+
/** Slowly swings the heron's raised leg back and forth. Off under reduced motion. */
|
|
10619
|
+
readonly animated: import("@angular/core").InputSignal<boolean>;
|
|
10549
10620
|
static ɵfac: i0.ɵɵFactoryDeclaration<EagamiIconComponent, never>;
|
|
10550
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EagamiIconComponent, "ea-icon-eagami", never, {
|
|
10621
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EagamiIconComponent, "ea-icon-eagami", never, {
|
|
10622
|
+
"animated": {
|
|
10623
|
+
"alias": "animated";
|
|
10624
|
+
"required": false;
|
|
10625
|
+
"isSignal": true;
|
|
10626
|
+
};
|
|
10627
|
+
}, {}, never, never, true, never>;
|
|
10551
10628
|
}
|
|
10552
10629
|
export declare class EditIconComponent extends IconComponentBase {
|
|
10553
10630
|
static readonly slug = "edit";
|