@eagami/ui 5.59.0 → 5.60.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/LICENSE +48 -0
- package/fesm2022/eagami-ui.mjs +1524 -1581
- package/fesm2022/eagami-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/eagami-ui.d.ts +59 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eagami/ui",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.60.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
|
@@ -2191,8 +2191,8 @@ export declare class CheckboxComponent implements ControlValueAccessor {
|
|
|
2191
2191
|
* canonical slug and design.
|
|
2192
2192
|
* `eagami`: Eagami UI additions beyond the Feather set: the brand mark, the
|
|
2193
2193
|
* basic shape set and household icons, brand-filled variants of
|
|
2194
|
-
* Feather outlines, the coloured brand marks (`isBrand`), and
|
|
2195
|
-
*
|
|
2194
|
+
* Feather outlines, the coloured brand marks (`isBrand`), and
|
|
2195
|
+
* original line icons.
|
|
2196
2196
|
*/
|
|
2197
2197
|
export type IconCategory = 'feather' | 'eagami';
|
|
2198
2198
|
/**
|
|
@@ -3433,6 +3433,8 @@ export declare class CodeInputComponent implements ControlValueAccessor {
|
|
|
3433
3433
|
readonly digitEls: import("@angular/core").Signal<readonly ElementRef<HTMLInputElement>[]>;
|
|
3434
3434
|
protected readonly i18n: EagamiI18nService;
|
|
3435
3435
|
readonly label: import("@angular/core").InputSignal<string | undefined>;
|
|
3436
|
+
/** Space-separated ids of the elements whose text names the group of digit fields, such as a label outside the component. */
|
|
3437
|
+
readonly ariaLabelledby: import("@angular/core").InputSignal<string | undefined>;
|
|
3436
3438
|
/** Optional icon component rendered before the label text. */
|
|
3437
3439
|
readonly labelIcon: import("@angular/core").InputSignal<Type<unknown> | undefined>;
|
|
3438
3440
|
/** Help revealed by an info button beside the label, as plain text or a template. */
|
|
@@ -3487,6 +3489,11 @@ export declare class CodeInputComponent implements ControlValueAccessor {
|
|
|
3487
3489
|
"required": false;
|
|
3488
3490
|
"isSignal": true;
|
|
3489
3491
|
};
|
|
3492
|
+
"ariaLabelledby": {
|
|
3493
|
+
"alias": "aria-labelledby";
|
|
3494
|
+
"required": false;
|
|
3495
|
+
"isSignal": true;
|
|
3496
|
+
};
|
|
3490
3497
|
"labelIcon": {
|
|
3491
3498
|
"alias": "labelIcon";
|
|
3492
3499
|
"required": false;
|
|
@@ -3605,6 +3612,8 @@ export declare class DatePickerComponent implements ControlValueAccessor {
|
|
|
3605
3612
|
readonly labelHelp: import("@angular/core").InputSignal<string | TemplateRef<unknown> | undefined>;
|
|
3606
3613
|
/** Placeholder shown in the field when no date is selected. */
|
|
3607
3614
|
readonly placeholder: import("@angular/core").InputSignal<string | undefined>;
|
|
3615
|
+
/** Space-separated ids of the elements whose text names the field, such as a label outside the component. */
|
|
3616
|
+
readonly ariaLabelledby: import("@angular/core").InputSignal<string | undefined>;
|
|
3608
3617
|
readonly size: import("@angular/core").InputSignal<EaSize>;
|
|
3609
3618
|
readonly disabled: import("@angular/core").InputSignal<boolean>;
|
|
3610
3619
|
readonly readonly: import("@angular/core").InputSignal<boolean>;
|
|
@@ -3655,7 +3664,7 @@ export declare class DatePickerComponent implements ControlValueAccessor {
|
|
|
3655
3664
|
private readonly intlLocalizesEffectiveLocale;
|
|
3656
3665
|
/** Placeholder text, empty unless a `placeholder` is given. */
|
|
3657
3666
|
readonly resolvedPlaceholder: import("@angular/core").Signal<string>;
|
|
3658
|
-
/** Accessible name when
|
|
3667
|
+
/** Accessible name when neither `label` nor `aria-labelledby` is given. */
|
|
3659
3668
|
protected readonly fallbackLabel: import("@angular/core").Signal<string>;
|
|
3660
3669
|
readonly dialogId: import("@angular/core").Signal<string>;
|
|
3661
3670
|
readonly fieldClasses: import("@angular/core").Signal<{
|
|
@@ -3740,6 +3749,11 @@ export declare class DatePickerComponent implements ControlValueAccessor {
|
|
|
3740
3749
|
"required": false;
|
|
3741
3750
|
"isSignal": true;
|
|
3742
3751
|
};
|
|
3752
|
+
"ariaLabelledby": {
|
|
3753
|
+
"alias": "aria-labelledby";
|
|
3754
|
+
"required": false;
|
|
3755
|
+
"isSignal": true;
|
|
3756
|
+
};
|
|
3743
3757
|
"size": {
|
|
3744
3758
|
"alias": "size";
|
|
3745
3759
|
"required": false;
|
|
@@ -5779,6 +5793,8 @@ export declare class MultiSelectComponent implements ControlValueAccessor {
|
|
|
5779
5793
|
readonly labelHelp: import("@angular/core").InputSignal<string | TemplateRef<unknown> | undefined>;
|
|
5780
5794
|
/** Accessible name for the combobox when no visible `label` is set. */
|
|
5781
5795
|
readonly ariaLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
5796
|
+
/** Space-separated ids of the elements whose text names the combobox, such as a label outside the component. */
|
|
5797
|
+
readonly ariaLabelledby: import("@angular/core").InputSignal<string | undefined>;
|
|
5782
5798
|
readonly placeholder: import("@angular/core").InputSignal<string | undefined>;
|
|
5783
5799
|
readonly searchPlaceholder: import("@angular/core").InputSignal<string | undefined>;
|
|
5784
5800
|
/** Selectable options, either flat or split into groups. */
|
|
@@ -5975,6 +5991,11 @@ export declare class MultiSelectComponent implements ControlValueAccessor {
|
|
|
5975
5991
|
"required": false;
|
|
5976
5992
|
"isSignal": true;
|
|
5977
5993
|
};
|
|
5994
|
+
"ariaLabelledby": {
|
|
5995
|
+
"alias": "aria-labelledby";
|
|
5996
|
+
"required": false;
|
|
5997
|
+
"isSignal": true;
|
|
5998
|
+
};
|
|
5978
5999
|
"placeholder": {
|
|
5979
6000
|
"alias": "placeholder";
|
|
5980
6001
|
"required": false;
|
|
@@ -6680,6 +6701,8 @@ export declare class RadioGroupComponent implements ControlValueAccessor {
|
|
|
6680
6701
|
/** Per-validator-key message overrides for a bound form control (e.g. `{ required: '...' }`). */
|
|
6681
6702
|
readonly errorMessages: import("@angular/core").InputSignal<Partial<Record<string, string>> | undefined>;
|
|
6682
6703
|
readonly ariaLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
6704
|
+
/** Space-separated ids of the elements whose text names the group, such as a label outside the component. */
|
|
6705
|
+
readonly ariaLabelledby: import("@angular/core").InputSignal<string | undefined>;
|
|
6683
6706
|
readonly value: import("@angular/core").ModelSignal<string>;
|
|
6684
6707
|
/** Fires with the new value when an option is selected. */
|
|
6685
6708
|
readonly changed: import("@angular/core").OutputEmitterRef<string>;
|
|
@@ -6765,6 +6788,11 @@ export declare class RadioGroupComponent implements ControlValueAccessor {
|
|
|
6765
6788
|
"required": false;
|
|
6766
6789
|
"isSignal": true;
|
|
6767
6790
|
};
|
|
6791
|
+
"ariaLabelledby": {
|
|
6792
|
+
"alias": "aria-labelledby";
|
|
6793
|
+
"required": false;
|
|
6794
|
+
"isSignal": true;
|
|
6795
|
+
};
|
|
6768
6796
|
"value": {
|
|
6769
6797
|
"alias": "value";
|
|
6770
6798
|
"required": false;
|
|
@@ -6865,6 +6893,8 @@ export declare class RangeSliderComponent implements ControlValueAccessor {
|
|
|
6865
6893
|
readonly ariaLabelLow: import("@angular/core").InputSignal<string | undefined>;
|
|
6866
6894
|
/** Accessible label for the high (end) thumb. Falls back to a localized default when omitted. */
|
|
6867
6895
|
readonly ariaLabelHigh: import("@angular/core").InputSignal<string | undefined>;
|
|
6896
|
+
/** Space-separated ids of the elements whose text names the slider, ahead of each thumb's own label, such as a label outside the component. */
|
|
6897
|
+
readonly ariaLabelledby: import("@angular/core").InputSignal<string | undefined>;
|
|
6868
6898
|
readonly id: import("@angular/core").InputSignal<string>;
|
|
6869
6899
|
readonly value: import("@angular/core").ModelSignal<RangeSliderValue>;
|
|
6870
6900
|
/** Fires with the new `[low, high]` tuple whenever either thumb moves. */
|
|
@@ -7001,6 +7031,11 @@ export declare class RangeSliderComponent implements ControlValueAccessor {
|
|
|
7001
7031
|
"required": false;
|
|
7002
7032
|
"isSignal": true;
|
|
7003
7033
|
};
|
|
7034
|
+
"ariaLabelledby": {
|
|
7035
|
+
"alias": "aria-labelledby";
|
|
7036
|
+
"required": false;
|
|
7037
|
+
"isSignal": true;
|
|
7038
|
+
};
|
|
7004
7039
|
"id": {
|
|
7005
7040
|
"alias": "id";
|
|
7006
7041
|
"required": false;
|
|
@@ -7040,6 +7075,8 @@ export declare class RatingComponent implements ControlValueAccessor {
|
|
|
7040
7075
|
private readonly starsEl;
|
|
7041
7076
|
protected readonly i18n: EagamiI18nService;
|
|
7042
7077
|
readonly label: import("@angular/core").InputSignal<string | undefined>;
|
|
7078
|
+
/** Space-separated ids of the elements whose text names the rating, such as a label outside the component. */
|
|
7079
|
+
readonly ariaLabelledby: import("@angular/core").InputSignal<string | undefined>;
|
|
7043
7080
|
/** Optional icon component rendered before the label text. */
|
|
7044
7081
|
readonly labelIcon: import("@angular/core").InputSignal<Type<unknown> | undefined>;
|
|
7045
7082
|
/** Help revealed by an info button beside the label, as plain text or a template. */
|
|
@@ -7119,6 +7156,11 @@ export declare class RatingComponent implements ControlValueAccessor {
|
|
|
7119
7156
|
"required": false;
|
|
7120
7157
|
"isSignal": true;
|
|
7121
7158
|
};
|
|
7159
|
+
"ariaLabelledby": {
|
|
7160
|
+
"alias": "aria-labelledby";
|
|
7161
|
+
"required": false;
|
|
7162
|
+
"isSignal": true;
|
|
7163
|
+
};
|
|
7122
7164
|
"labelIcon": {
|
|
7123
7165
|
"alias": "labelIcon";
|
|
7124
7166
|
"required": false;
|
|
@@ -7234,6 +7276,8 @@ export declare class SegmentedComponent implements ControlValueAccessor {
|
|
|
7234
7276
|
readonly required: import("@angular/core").InputSignal<boolean>;
|
|
7235
7277
|
readonly fullWidth: import("@angular/core").InputSignal<boolean>;
|
|
7236
7278
|
readonly ariaLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
7279
|
+
/** Space-separated ids of the elements whose text names the group, such as a label outside the component. */
|
|
7280
|
+
readonly ariaLabelledby: import("@angular/core").InputSignal<string | undefined>;
|
|
7237
7281
|
readonly id: import("@angular/core").InputSignal<string>;
|
|
7238
7282
|
readonly value: import("@angular/core").ModelSignal<string>;
|
|
7239
7283
|
/** Fires with the new value when the user selects a different option. */
|
|
@@ -7327,6 +7371,11 @@ export declare class SegmentedComponent implements ControlValueAccessor {
|
|
|
7327
7371
|
"required": false;
|
|
7328
7372
|
"isSignal": true;
|
|
7329
7373
|
};
|
|
7374
|
+
"ariaLabelledby": {
|
|
7375
|
+
"alias": "aria-labelledby";
|
|
7376
|
+
"required": false;
|
|
7377
|
+
"isSignal": true;
|
|
7378
|
+
};
|
|
7330
7379
|
"id": {
|
|
7331
7380
|
"alias": "id";
|
|
7332
7381
|
"required": false;
|
|
@@ -7419,6 +7468,8 @@ export declare class SliderComponent implements ControlValueAccessor {
|
|
|
7419
7468
|
/** Group thousands with commas in displayed values (ignored when a custom `formatValue` is set). */
|
|
7420
7469
|
readonly groupThousands: import("@angular/core").InputSignal<boolean>;
|
|
7421
7470
|
readonly ariaLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
7471
|
+
/** Space-separated ids of the elements whose text names the slider, such as a label outside the component. */
|
|
7472
|
+
readonly ariaLabelledby: import("@angular/core").InputSignal<string | undefined>;
|
|
7422
7473
|
readonly id: import("@angular/core").InputSignal<string>;
|
|
7423
7474
|
readonly value: import("@angular/core").ModelSignal<number>;
|
|
7424
7475
|
/** Fires with the new (snapped, clamped) numeric value whenever the slider moves. */
|
|
@@ -7555,6 +7606,11 @@ export declare class SliderComponent implements ControlValueAccessor {
|
|
|
7555
7606
|
"required": false;
|
|
7556
7607
|
"isSignal": true;
|
|
7557
7608
|
};
|
|
7609
|
+
"ariaLabelledby": {
|
|
7610
|
+
"alias": "aria-labelledby";
|
|
7611
|
+
"required": false;
|
|
7612
|
+
"isSignal": true;
|
|
7613
|
+
};
|
|
7558
7614
|
"id": {
|
|
7559
7615
|
"alias": "id";
|
|
7560
7616
|
"required": false;
|