@eagami/ui 5.84.0 → 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 +109 -11
- package/fesm2022/eagami-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/eagami-ui.d.ts +36 -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;
|
|
@@ -3626,6 +3633,8 @@ export type CodeInputSize = EaSize;
|
|
|
3626
3633
|
export declare class CodeInputComponent extends LabelledFieldControlBase implements ControlValueAccessor {
|
|
3627
3634
|
readonly digitEls: import("@angular/core").Signal<readonly ElementRef<HTMLInputElement>[]>;
|
|
3628
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>;
|
|
3629
3638
|
/** Space-separated ids of the elements whose text names the group of digit fields, such as a label outside the component. */
|
|
3630
3639
|
readonly ariaLabelledby: import("@angular/core").InputSignal<string | undefined>;
|
|
3631
3640
|
/** Placeholder text spread one character per cell (cell i shows character i). */
|
|
@@ -3670,6 +3679,11 @@ export declare class CodeInputComponent extends LabelledFieldControlBase impleme
|
|
|
3670
3679
|
private focusDigit;
|
|
3671
3680
|
static ɵfac: i0.ɵɵFactoryDeclaration<CodeInputComponent, never>;
|
|
3672
3681
|
static ɵcmp: i0.ɵɵComponentDeclaration<CodeInputComponent, "ea-code-input", never, {
|
|
3682
|
+
"ariaLabel": {
|
|
3683
|
+
"alias": "aria-label";
|
|
3684
|
+
"required": false;
|
|
3685
|
+
"isSignal": true;
|
|
3686
|
+
};
|
|
3673
3687
|
"ariaLabelledby": {
|
|
3674
3688
|
"alias": "aria-labelledby";
|
|
3675
3689
|
"required": false;
|
|
@@ -3761,6 +3775,8 @@ export declare class DatePickerComponent extends LabelledFieldControlBase implem
|
|
|
3761
3775
|
protected readonly i18n: EagamiI18nService;
|
|
3762
3776
|
/** Placeholder shown in the field when no date is selected. */
|
|
3763
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>;
|
|
3764
3780
|
/** Space-separated ids of the elements whose text names the field, such as a label outside the component. */
|
|
3765
3781
|
readonly ariaLabelledby: import("@angular/core").InputSignal<string | undefined>;
|
|
3766
3782
|
readonly size: import("@angular/core").InputSignal<EaSize>;
|
|
@@ -3878,6 +3894,11 @@ export declare class DatePickerComponent extends LabelledFieldControlBase implem
|
|
|
3878
3894
|
"required": false;
|
|
3879
3895
|
"isSignal": true;
|
|
3880
3896
|
};
|
|
3897
|
+
"ariaLabel": {
|
|
3898
|
+
"alias": "aria-label";
|
|
3899
|
+
"required": false;
|
|
3900
|
+
"isSignal": true;
|
|
3901
|
+
};
|
|
3881
3902
|
"ariaLabelledby": {
|
|
3882
3903
|
"alias": "aria-labelledby";
|
|
3883
3904
|
"required": false;
|
|
@@ -6788,6 +6809,8 @@ export declare class RangeSliderComponent extends LabelledFieldControlBase imple
|
|
|
6788
6809
|
readonly ariaLabelLow: import("@angular/core").InputSignal<string | undefined>;
|
|
6789
6810
|
/** Accessible label for the high (end) thumb. Falls back to a localized default when omitted. */
|
|
6790
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>;
|
|
6791
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. */
|
|
6792
6815
|
readonly ariaLabelledby: import("@angular/core").InputSignal<string | undefined>;
|
|
6793
6816
|
readonly id: import("@angular/core").InputSignal<string>;
|
|
@@ -6805,6 +6828,7 @@ export declare class RangeSliderComponent extends LabelledFieldControlBase imple
|
|
|
6805
6828
|
readonly highPercent: import("@angular/core").Signal<number>;
|
|
6806
6829
|
readonly lowThumbLabel: import("@angular/core").Signal<string>;
|
|
6807
6830
|
readonly highThumbLabel: import("@angular/core").Signal<string>;
|
|
6831
|
+
protected readonly fieldAriaLabel: import("@angular/core").Signal<string | null>;
|
|
6808
6832
|
readonly lowThumbLabelledBy: import("@angular/core").Signal<string>;
|
|
6809
6833
|
readonly highThumbLabelledBy: import("@angular/core").Signal<string>;
|
|
6810
6834
|
private thumbLabelledBy;
|
|
@@ -6891,6 +6915,11 @@ export declare class RangeSliderComponent extends LabelledFieldControlBase imple
|
|
|
6891
6915
|
"required": false;
|
|
6892
6916
|
"isSignal": true;
|
|
6893
6917
|
};
|
|
6918
|
+
"ariaLabel": {
|
|
6919
|
+
"alias": "aria-label";
|
|
6920
|
+
"required": false;
|
|
6921
|
+
"isSignal": true;
|
|
6922
|
+
};
|
|
6894
6923
|
"ariaLabelledby": {
|
|
6895
6924
|
"alias": "aria-labelledby";
|
|
6896
6925
|
"required": false;
|
|
@@ -6934,6 +6963,8 @@ export declare class RatingComponent extends LabelledFieldControlBase implements
|
|
|
6934
6963
|
constructor();
|
|
6935
6964
|
private readonly starsEl;
|
|
6936
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>;
|
|
6937
6968
|
/** Space-separated ids of the elements whose text names the rating, such as a label outside the component. */
|
|
6938
6969
|
readonly ariaLabelledby: import("@angular/core").InputSignal<string | undefined>;
|
|
6939
6970
|
readonly size: import("@angular/core").InputSignal<EaSize>;
|
|
@@ -7003,6 +7034,11 @@ export declare class RatingComponent extends LabelledFieldControlBase implements
|
|
|
7003
7034
|
private computePointerValue;
|
|
7004
7035
|
static ɵfac: i0.ɵɵFactoryDeclaration<RatingComponent, never>;
|
|
7005
7036
|
static ɵcmp: i0.ɵɵComponentDeclaration<RatingComponent, "ea-rating", never, {
|
|
7037
|
+
"ariaLabel": {
|
|
7038
|
+
"alias": "aria-label";
|
|
7039
|
+
"required": false;
|
|
7040
|
+
"isSignal": true;
|
|
7041
|
+
};
|
|
7006
7042
|
"ariaLabelledby": {
|
|
7007
7043
|
"alias": "aria-labelledby";
|
|
7008
7044
|
"required": false;
|