@eagami/ui 5.87.1 → 5.88.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 +147 -35
- package/fesm2022/eagami-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/eagami-ui.d.ts +51 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eagami/ui",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.88.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
|
@@ -2254,6 +2254,8 @@ export declare class CheckboxComponent extends FieldControlBase implements Contr
|
|
|
2254
2254
|
*/
|
|
2255
2255
|
readonly truncate: import("@angular/core").InputSignal<boolean>;
|
|
2256
2256
|
readonly disabled: import("@angular/core").InputSignal<boolean>;
|
|
2257
|
+
/** Keeps the checkbox focusable and announced while blocking changes, unlike `disabled`. */
|
|
2258
|
+
readonly readonly: import("@angular/core").InputSignal<boolean>;
|
|
2257
2259
|
readonly indeterminate: import("@angular/core").InputSignal<boolean>;
|
|
2258
2260
|
readonly ariaLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
2259
2261
|
/** Space-separated ids of the elements whose text names the checkbox, such as a label outside the component. */
|
|
@@ -2275,6 +2277,7 @@ export declare class CheckboxComponent extends FieldControlBase implements Contr
|
|
|
2275
2277
|
[x: string]: boolean;
|
|
2276
2278
|
'ea-checkbox--truncate': boolean;
|
|
2277
2279
|
'ea-checkbox--disabled': boolean;
|
|
2280
|
+
'ea-checkbox--readonly': boolean;
|
|
2278
2281
|
'ea-checkbox--checked': boolean;
|
|
2279
2282
|
'ea-checkbox--indeterminate': boolean;
|
|
2280
2283
|
'ea-checkbox--error': boolean;
|
|
@@ -2287,6 +2290,7 @@ export declare class CheckboxComponent extends FieldControlBase implements Contr
|
|
|
2287
2290
|
setDisabledState(isDisabled: boolean): void;
|
|
2288
2291
|
handleKeydown(event: KeyboardEvent): void;
|
|
2289
2292
|
handleChange(): void;
|
|
2293
|
+
protected blockReadonlyClick(event: MouseEvent): void;
|
|
2290
2294
|
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxComponent, never>;
|
|
2291
2295
|
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "ea-checkbox", never, {
|
|
2292
2296
|
"count": {
|
|
@@ -2309,6 +2313,11 @@ export declare class CheckboxComponent extends FieldControlBase implements Contr
|
|
|
2309
2313
|
"required": false;
|
|
2310
2314
|
"isSignal": true;
|
|
2311
2315
|
};
|
|
2316
|
+
"readonly": {
|
|
2317
|
+
"alias": "readonly";
|
|
2318
|
+
"required": false;
|
|
2319
|
+
"isSignal": true;
|
|
2320
|
+
};
|
|
2312
2321
|
"indeterminate": {
|
|
2313
2322
|
"alias": "indeterminate";
|
|
2314
2323
|
"required": false;
|
|
@@ -6661,6 +6670,8 @@ export declare class RadioGroupComponent extends LabelledFieldControlBase implem
|
|
|
6661
6670
|
readonly size: import("@angular/core").InputSignal<EaSize>;
|
|
6662
6671
|
readonly orientation: import("@angular/core").InputSignal<RadioOrientation>;
|
|
6663
6672
|
readonly disabled: import("@angular/core").InputSignal<boolean>;
|
|
6673
|
+
/** Keeps the options focusable and announced while blocking changes, unlike `disabled`. */
|
|
6674
|
+
readonly readonly: import("@angular/core").InputSignal<boolean>;
|
|
6664
6675
|
readonly ariaLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
6665
6676
|
/** Space-separated ids of the elements whose text names the group, such as a label outside the component. */
|
|
6666
6677
|
readonly ariaLabelledby: import("@angular/core").InputSignal<string | undefined>;
|
|
@@ -6709,6 +6720,11 @@ export declare class RadioGroupComponent extends LabelledFieldControlBase implem
|
|
|
6709
6720
|
"required": false;
|
|
6710
6721
|
"isSignal": true;
|
|
6711
6722
|
};
|
|
6723
|
+
"readonly": {
|
|
6724
|
+
"alias": "readonly";
|
|
6725
|
+
"required": false;
|
|
6726
|
+
"isSignal": true;
|
|
6727
|
+
};
|
|
6712
6728
|
"ariaLabel": {
|
|
6713
6729
|
"alias": "aria-label";
|
|
6714
6730
|
"required": false;
|
|
@@ -6747,9 +6763,11 @@ export declare class RadioComponent {
|
|
|
6747
6763
|
readonly hostClasses: import("@angular/core").Signal<{
|
|
6748
6764
|
[x: string]: boolean;
|
|
6749
6765
|
'ea-radio--disabled': boolean;
|
|
6766
|
+
'ea-radio--readonly': boolean;
|
|
6750
6767
|
'ea-radio--checked': boolean;
|
|
6751
6768
|
}>;
|
|
6752
6769
|
handleChange(): void;
|
|
6770
|
+
protected blockReadonlyClick(event: MouseEvent): void;
|
|
6753
6771
|
static ɵfac: i0.ɵɵFactoryDeclaration<RadioComponent, never>;
|
|
6754
6772
|
static ɵcmp: i0.ɵɵComponentDeclaration<RadioComponent, "ea-radio", never, {
|
|
6755
6773
|
"value": {
|
|
@@ -6800,6 +6818,8 @@ export declare class RangeSliderComponent extends LabelledFieldControlBase imple
|
|
|
6800
6818
|
readonly step: import("@angular/core").InputSignal<number>;
|
|
6801
6819
|
readonly size: import("@angular/core").InputSignal<EaSize>;
|
|
6802
6820
|
readonly disabled: import("@angular/core").InputSignal<boolean>;
|
|
6821
|
+
/** Keeps both thumbs focusable and announced while blocking changes, unlike `disabled`. */
|
|
6822
|
+
readonly readonly: import("@angular/core").InputSignal<boolean>;
|
|
6803
6823
|
readonly showValue: import("@angular/core").InputSignal<boolean>;
|
|
6804
6824
|
readonly showMinMaxLabels: import("@angular/core").InputSignal<boolean>;
|
|
6805
6825
|
readonly formatValue: import("@angular/core").InputSignal<(value: number) => string>;
|
|
@@ -6843,6 +6863,7 @@ export declare class RangeSliderComponent extends LabelledFieldControlBase imple
|
|
|
6843
6863
|
[x: string]: boolean;
|
|
6844
6864
|
'ea-range-slider--error': boolean;
|
|
6845
6865
|
'ea-range-slider--disabled': boolean;
|
|
6866
|
+
'ea-range-slider--readonly': boolean;
|
|
6846
6867
|
'ea-range-slider--dragging': boolean;
|
|
6847
6868
|
}>;
|
|
6848
6869
|
writeValue(val: RangeSliderValue | null | undefined): void;
|
|
@@ -6885,6 +6906,11 @@ export declare class RangeSliderComponent extends LabelledFieldControlBase imple
|
|
|
6885
6906
|
"required": false;
|
|
6886
6907
|
"isSignal": true;
|
|
6887
6908
|
};
|
|
6909
|
+
"readonly": {
|
|
6910
|
+
"alias": "readonly";
|
|
6911
|
+
"required": false;
|
|
6912
|
+
"isSignal": true;
|
|
6913
|
+
};
|
|
6888
6914
|
"showValue": {
|
|
6889
6915
|
"alias": "showValue";
|
|
6890
6916
|
"required": false;
|
|
@@ -7118,6 +7144,8 @@ export declare class SegmentedComponent extends LabelledFieldControlBase impleme
|
|
|
7118
7144
|
readonly options: import("@angular/core").InputSignal<SelectOption[]>;
|
|
7119
7145
|
readonly size: import("@angular/core").InputSignal<EaSize>;
|
|
7120
7146
|
readonly disabled: import("@angular/core").InputSignal<boolean>;
|
|
7147
|
+
/** Keeps the options focusable and announced while blocking changes, unlike `disabled`. */
|
|
7148
|
+
readonly readonly: import("@angular/core").InputSignal<boolean>;
|
|
7121
7149
|
readonly fullWidth: import("@angular/core").InputSignal<boolean>;
|
|
7122
7150
|
readonly ariaLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
7123
7151
|
/** Space-separated ids of the elements whose text names the group, such as a label outside the component. */
|
|
@@ -7142,6 +7170,7 @@ export declare class SegmentedComponent extends LabelledFieldControlBase impleme
|
|
|
7142
7170
|
[x: string]: boolean;
|
|
7143
7171
|
'ea-segmented--full-width': boolean;
|
|
7144
7172
|
'ea-segmented--disabled': boolean;
|
|
7173
|
+
'ea-segmented--readonly': boolean;
|
|
7145
7174
|
'ea-segmented--error': boolean;
|
|
7146
7175
|
}>;
|
|
7147
7176
|
writeValue(val: string): void;
|
|
@@ -7170,6 +7199,11 @@ export declare class SegmentedComponent extends LabelledFieldControlBase impleme
|
|
|
7170
7199
|
"required": false;
|
|
7171
7200
|
"isSignal": true;
|
|
7172
7201
|
};
|
|
7202
|
+
"readonly": {
|
|
7203
|
+
"alias": "readonly";
|
|
7204
|
+
"required": false;
|
|
7205
|
+
"isSignal": true;
|
|
7206
|
+
};
|
|
7173
7207
|
"fullWidth": {
|
|
7174
7208
|
"alias": "fullWidth";
|
|
7175
7209
|
"required": false;
|
|
@@ -7251,6 +7285,8 @@ export declare class SliderComponent extends LabelledFieldControlBase implements
|
|
|
7251
7285
|
readonly step: import("@angular/core").InputSignal<number>;
|
|
7252
7286
|
readonly size: import("@angular/core").InputSignal<EaSize>;
|
|
7253
7287
|
readonly disabled: import("@angular/core").InputSignal<boolean>;
|
|
7288
|
+
/** Keeps the slider focusable and announced while blocking changes, unlike `disabled`. */
|
|
7289
|
+
readonly readonly: import("@angular/core").InputSignal<boolean>;
|
|
7254
7290
|
readonly showValue: import("@angular/core").InputSignal<boolean>;
|
|
7255
7291
|
readonly showMinMaxLabels: import("@angular/core").InputSignal<boolean>;
|
|
7256
7292
|
readonly formatValue: import("@angular/core").InputSignal<(value: number) => string>;
|
|
@@ -7288,6 +7324,7 @@ export declare class SliderComponent extends LabelledFieldControlBase implements
|
|
|
7288
7324
|
[x: string]: boolean;
|
|
7289
7325
|
'ea-slider--error': boolean;
|
|
7290
7326
|
'ea-slider--disabled': boolean;
|
|
7327
|
+
'ea-slider--readonly': boolean;
|
|
7291
7328
|
'ea-slider--dragging': boolean;
|
|
7292
7329
|
}>;
|
|
7293
7330
|
writeValue(val: number): void;
|
|
@@ -7330,6 +7367,11 @@ export declare class SliderComponent extends LabelledFieldControlBase implements
|
|
|
7330
7367
|
"required": false;
|
|
7331
7368
|
"isSignal": true;
|
|
7332
7369
|
};
|
|
7370
|
+
"readonly": {
|
|
7371
|
+
"alias": "readonly";
|
|
7372
|
+
"required": false;
|
|
7373
|
+
"isSignal": true;
|
|
7374
|
+
};
|
|
7333
7375
|
"showValue": {
|
|
7334
7376
|
"alias": "showValue";
|
|
7335
7377
|
"required": false;
|
|
@@ -7734,6 +7776,8 @@ export declare class SwitchComponent extends FieldControlBase implements Control
|
|
|
7734
7776
|
/** Optional icon component drawn in the thumb while the switch is off. */
|
|
7735
7777
|
readonly offIcon: import("@angular/core").InputSignal<Type<unknown> | undefined>;
|
|
7736
7778
|
readonly disabled: import("@angular/core").InputSignal<boolean>;
|
|
7779
|
+
/** Keeps the switch focusable and announced while blocking changes, unlike `disabled`. */
|
|
7780
|
+
readonly readonly: import("@angular/core").InputSignal<boolean>;
|
|
7737
7781
|
readonly ariaLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
7738
7782
|
/** Space-separated ids of the elements whose text names the switch, such as a label outside the component. */
|
|
7739
7783
|
readonly ariaLabelledby: import("@angular/core").InputSignal<string | undefined>;
|
|
@@ -7754,6 +7798,7 @@ export declare class SwitchComponent extends FieldControlBase implements Control
|
|
|
7754
7798
|
[x: string]: boolean;
|
|
7755
7799
|
'ea-switch--checked': boolean;
|
|
7756
7800
|
'ea-switch--disabled': boolean;
|
|
7801
|
+
'ea-switch--readonly': boolean;
|
|
7757
7802
|
'ea-switch--error': boolean;
|
|
7758
7803
|
}>;
|
|
7759
7804
|
protected readonly thumbIcon: import("@angular/core").Signal<Type<unknown> | undefined>;
|
|
@@ -7762,6 +7807,7 @@ export declare class SwitchComponent extends FieldControlBase implements Control
|
|
|
7762
7807
|
registerOnTouched(fn: () => void): void;
|
|
7763
7808
|
setDisabledState(isDisabled: boolean): void;
|
|
7764
7809
|
handleChange(): void;
|
|
7810
|
+
protected blockReadonlyClick(event: MouseEvent): void;
|
|
7765
7811
|
static ɵfac: i0.ɵɵFactoryDeclaration<SwitchComponent, never>;
|
|
7766
7812
|
static ɵcmp: i0.ɵɵComponentDeclaration<SwitchComponent, "ea-switch", never, {
|
|
7767
7813
|
"size": {
|
|
@@ -7789,6 +7835,11 @@ export declare class SwitchComponent extends FieldControlBase implements Control
|
|
|
7789
7835
|
"required": false;
|
|
7790
7836
|
"isSignal": true;
|
|
7791
7837
|
};
|
|
7838
|
+
"readonly": {
|
|
7839
|
+
"alias": "readonly";
|
|
7840
|
+
"required": false;
|
|
7841
|
+
"isSignal": true;
|
|
7842
|
+
};
|
|
7792
7843
|
"ariaLabel": {
|
|
7793
7844
|
"alias": "aria-label";
|
|
7794
7845
|
"required": false;
|