@eagami/ui 5.83.2 → 5.85.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 +198 -16
- package/fesm2022/eagami-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/eagami-ui.d.ts +65 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eagami/ui",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.85.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
|
@@ -1020,6 +1020,8 @@ export declare class AutocompleteComponent extends LabelledFieldControlBase impl
|
|
|
1020
1020
|
private readonly i18n;
|
|
1021
1021
|
/** Accessible name for the input and suggestion list when no visible label is provided. */
|
|
1022
1022
|
readonly ariaLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
1023
|
+
/** Space-separated ids of the elements whose text names the input and suggestion list, such as a label outside the component. */
|
|
1024
|
+
readonly ariaLabelledby: import("@angular/core").InputSignal<string | undefined>;
|
|
1023
1025
|
readonly placeholder: import("@angular/core").InputSignal<string>;
|
|
1024
1026
|
/** Selectable options, either flat or split into groups. */
|
|
1025
1027
|
readonly options: import("@angular/core").InputSignal<SelectOptions>;
|
|
@@ -1105,6 +1107,11 @@ export declare class AutocompleteComponent extends LabelledFieldControlBase impl
|
|
|
1105
1107
|
"required": false;
|
|
1106
1108
|
"isSignal": true;
|
|
1107
1109
|
};
|
|
1110
|
+
"ariaLabelledby": {
|
|
1111
|
+
"alias": "aria-labelledby";
|
|
1112
|
+
"required": false;
|
|
1113
|
+
"isSignal": true;
|
|
1114
|
+
};
|
|
1108
1115
|
"placeholder": {
|
|
1109
1116
|
"alias": "placeholder";
|
|
1110
1117
|
"required": false;
|
|
@@ -2607,6 +2614,10 @@ export declare class ColorPickerComponent extends LabelledFieldControlBase imple
|
|
|
2607
2614
|
/** Preset swatches shown at the bottom of the popover. Pass an empty array to hide. */
|
|
2608
2615
|
readonly presets: import("@angular/core").InputSignal<readonly string[]>;
|
|
2609
2616
|
readonly id: import("@angular/core").InputSignal<string>;
|
|
2617
|
+
/** Accessible name for the color picker when no visible `label` is set. */
|
|
2618
|
+
readonly ariaLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
2619
|
+
/** Space-separated ids of the elements whose text names the field, such as a label outside the component. */
|
|
2620
|
+
readonly ariaLabelledby: import("@angular/core").InputSignal<string | undefined>;
|
|
2610
2621
|
readonly value: import("@angular/core").ModelSignal<string | null>;
|
|
2611
2622
|
/** Fires with the new color string whenever the selection changes. */
|
|
2612
2623
|
readonly changed: import("@angular/core").OutputEmitterRef<string | null>;
|
|
@@ -2674,6 +2685,7 @@ export declare class ColorPickerComponent extends LabelledFieldControlBase imple
|
|
|
2674
2685
|
readonly resolvedPlaceholder: import("@angular/core").Signal<string>;
|
|
2675
2686
|
readonly popoverId: import("@angular/core").Signal<string>;
|
|
2676
2687
|
readonly triggerLabelledBy: import("@angular/core").Signal<string | null>;
|
|
2688
|
+
protected readonly triggerAriaLabel: import("@angular/core").Signal<string | null>;
|
|
2677
2689
|
readonly triggerClasses: import("@angular/core").Signal<{
|
|
2678
2690
|
[x: string]: boolean;
|
|
2679
2691
|
'ea-color-picker__trigger--compact': boolean;
|
|
@@ -2805,6 +2817,16 @@ export declare class ColorPickerComponent extends LabelledFieldControlBase imple
|
|
|
2805
2817
|
"required": false;
|
|
2806
2818
|
"isSignal": true;
|
|
2807
2819
|
};
|
|
2820
|
+
"ariaLabel": {
|
|
2821
|
+
"alias": "aria-label";
|
|
2822
|
+
"required": false;
|
|
2823
|
+
"isSignal": true;
|
|
2824
|
+
};
|
|
2825
|
+
"ariaLabelledby": {
|
|
2826
|
+
"alias": "aria-labelledby";
|
|
2827
|
+
"required": false;
|
|
2828
|
+
"isSignal": true;
|
|
2829
|
+
};
|
|
2808
2830
|
"value": {
|
|
2809
2831
|
"alias": "value";
|
|
2810
2832
|
"required": false;
|
|
@@ -3611,6 +3633,8 @@ export type CodeInputSize = EaSize;
|
|
|
3611
3633
|
export declare class CodeInputComponent extends LabelledFieldControlBase implements ControlValueAccessor {
|
|
3612
3634
|
readonly digitEls: import("@angular/core").Signal<readonly ElementRef<HTMLInputElement>[]>;
|
|
3613
3635
|
protected readonly i18n: EagamiI18nService;
|
|
3636
|
+
/** Accessible name for the group of digit fields when no visible `label` is set. */
|
|
3637
|
+
readonly ariaLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
3614
3638
|
/** Space-separated ids of the elements whose text names the group of digit fields, such as a label outside the component. */
|
|
3615
3639
|
readonly ariaLabelledby: import("@angular/core").InputSignal<string | undefined>;
|
|
3616
3640
|
/** Placeholder text spread one character per cell (cell i shows character i). */
|
|
@@ -3655,6 +3679,11 @@ export declare class CodeInputComponent extends LabelledFieldControlBase impleme
|
|
|
3655
3679
|
private focusDigit;
|
|
3656
3680
|
static ɵfac: i0.ɵɵFactoryDeclaration<CodeInputComponent, never>;
|
|
3657
3681
|
static ɵcmp: i0.ɵɵComponentDeclaration<CodeInputComponent, "ea-code-input", never, {
|
|
3682
|
+
"ariaLabel": {
|
|
3683
|
+
"alias": "aria-label";
|
|
3684
|
+
"required": false;
|
|
3685
|
+
"isSignal": true;
|
|
3686
|
+
};
|
|
3658
3687
|
"ariaLabelledby": {
|
|
3659
3688
|
"alias": "aria-labelledby";
|
|
3660
3689
|
"required": false;
|
|
@@ -3746,6 +3775,8 @@ export declare class DatePickerComponent extends LabelledFieldControlBase implem
|
|
|
3746
3775
|
protected readonly i18n: EagamiI18nService;
|
|
3747
3776
|
/** Placeholder shown in the field when no date is selected. */
|
|
3748
3777
|
readonly placeholder: import("@angular/core").InputSignal<string | undefined>;
|
|
3778
|
+
/** Accessible name for the date picker when no visible `label` is set. */
|
|
3779
|
+
readonly ariaLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
3749
3780
|
/** Space-separated ids of the elements whose text names the field, such as a label outside the component. */
|
|
3750
3781
|
readonly ariaLabelledby: import("@angular/core").InputSignal<string | undefined>;
|
|
3751
3782
|
readonly size: import("@angular/core").InputSignal<EaSize>;
|
|
@@ -3863,6 +3894,11 @@ export declare class DatePickerComponent extends LabelledFieldControlBase implem
|
|
|
3863
3894
|
"required": false;
|
|
3864
3895
|
"isSignal": true;
|
|
3865
3896
|
};
|
|
3897
|
+
"ariaLabel": {
|
|
3898
|
+
"alias": "aria-label";
|
|
3899
|
+
"required": false;
|
|
3900
|
+
"isSignal": true;
|
|
3901
|
+
};
|
|
3866
3902
|
"ariaLabelledby": {
|
|
3867
3903
|
"alias": "aria-labelledby";
|
|
3868
3904
|
"required": false;
|
|
@@ -6773,6 +6809,8 @@ export declare class RangeSliderComponent extends LabelledFieldControlBase imple
|
|
|
6773
6809
|
readonly ariaLabelLow: import("@angular/core").InputSignal<string | undefined>;
|
|
6774
6810
|
/** Accessible label for the high (end) thumb. Falls back to a localized default when omitted. */
|
|
6775
6811
|
readonly ariaLabelHigh: import("@angular/core").InputSignal<string | undefined>;
|
|
6812
|
+
/** Accessible name for the range slider when no visible `label` is set, read ahead of each thumb's own label. */
|
|
6813
|
+
readonly ariaLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
6776
6814
|
/** 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. */
|
|
6777
6815
|
readonly ariaLabelledby: import("@angular/core").InputSignal<string | undefined>;
|
|
6778
6816
|
readonly id: import("@angular/core").InputSignal<string>;
|
|
@@ -6790,6 +6828,7 @@ export declare class RangeSliderComponent extends LabelledFieldControlBase imple
|
|
|
6790
6828
|
readonly highPercent: import("@angular/core").Signal<number>;
|
|
6791
6829
|
readonly lowThumbLabel: import("@angular/core").Signal<string>;
|
|
6792
6830
|
readonly highThumbLabel: import("@angular/core").Signal<string>;
|
|
6831
|
+
protected readonly fieldAriaLabel: import("@angular/core").Signal<string | null>;
|
|
6793
6832
|
readonly lowThumbLabelledBy: import("@angular/core").Signal<string>;
|
|
6794
6833
|
readonly highThumbLabelledBy: import("@angular/core").Signal<string>;
|
|
6795
6834
|
private thumbLabelledBy;
|
|
@@ -6876,6 +6915,11 @@ export declare class RangeSliderComponent extends LabelledFieldControlBase imple
|
|
|
6876
6915
|
"required": false;
|
|
6877
6916
|
"isSignal": true;
|
|
6878
6917
|
};
|
|
6918
|
+
"ariaLabel": {
|
|
6919
|
+
"alias": "aria-label";
|
|
6920
|
+
"required": false;
|
|
6921
|
+
"isSignal": true;
|
|
6922
|
+
};
|
|
6879
6923
|
"ariaLabelledby": {
|
|
6880
6924
|
"alias": "aria-labelledby";
|
|
6881
6925
|
"required": false;
|
|
@@ -6919,6 +6963,8 @@ export declare class RatingComponent extends LabelledFieldControlBase implements
|
|
|
6919
6963
|
constructor();
|
|
6920
6964
|
private readonly starsEl;
|
|
6921
6965
|
protected readonly i18n: EagamiI18nService;
|
|
6966
|
+
/** Accessible name for the rating when no visible `label` is set. */
|
|
6967
|
+
readonly ariaLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
6922
6968
|
/** Space-separated ids of the elements whose text names the rating, such as a label outside the component. */
|
|
6923
6969
|
readonly ariaLabelledby: import("@angular/core").InputSignal<string | undefined>;
|
|
6924
6970
|
readonly size: import("@angular/core").InputSignal<EaSize>;
|
|
@@ -6988,6 +7034,11 @@ export declare class RatingComponent extends LabelledFieldControlBase implements
|
|
|
6988
7034
|
private computePointerValue;
|
|
6989
7035
|
static ɵfac: i0.ɵɵFactoryDeclaration<RatingComponent, never>;
|
|
6990
7036
|
static ɵcmp: i0.ɵɵComponentDeclaration<RatingComponent, "ea-rating", never, {
|
|
7037
|
+
"ariaLabel": {
|
|
7038
|
+
"alias": "aria-label";
|
|
7039
|
+
"required": false;
|
|
7040
|
+
"isSignal": true;
|
|
7041
|
+
};
|
|
6991
7042
|
"ariaLabelledby": {
|
|
6992
7043
|
"alias": "aria-labelledby";
|
|
6993
7044
|
"required": false;
|
|
@@ -8399,6 +8450,10 @@ export declare class TimePickerComponent extends LabelledFieldControlBase implem
|
|
|
8399
8450
|
readonly minuteStep: import("@angular/core").InputSignal<number>;
|
|
8400
8451
|
readonly secondStep: import("@angular/core").InputSignal<number>;
|
|
8401
8452
|
readonly id: import("@angular/core").InputSignal<string>;
|
|
8453
|
+
/** Accessible name for the time picker when no visible `label` is set. */
|
|
8454
|
+
readonly ariaLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
8455
|
+
/** Space-separated ids of the elements whose text names the field, such as a label outside the component. */
|
|
8456
|
+
readonly ariaLabelledby: import("@angular/core").InputSignal<string | undefined>;
|
|
8402
8457
|
readonly popoverId: import("@angular/core").Signal<string>;
|
|
8403
8458
|
/** `"HH:MM"` or `"HH:MM:SS"` in 24-hour notation, or `null` when unset. */
|
|
8404
8459
|
readonly value: import("@angular/core").ModelSignal<string | null>;
|
|
@@ -8583,6 +8638,16 @@ export declare class TimePickerComponent extends LabelledFieldControlBase implem
|
|
|
8583
8638
|
"required": false;
|
|
8584
8639
|
"isSignal": true;
|
|
8585
8640
|
};
|
|
8641
|
+
"ariaLabel": {
|
|
8642
|
+
"alias": "aria-label";
|
|
8643
|
+
"required": false;
|
|
8644
|
+
"isSignal": true;
|
|
8645
|
+
};
|
|
8646
|
+
"ariaLabelledby": {
|
|
8647
|
+
"alias": "aria-labelledby";
|
|
8648
|
+
"required": false;
|
|
8649
|
+
"isSignal": true;
|
|
8650
|
+
};
|
|
8586
8651
|
"value": {
|
|
8587
8652
|
"alias": "value";
|
|
8588
8653
|
"required": false;
|