@area8975/ui 0.2.2-dev.33 → 0.2.2-dev.35
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/area8975-ui.mjs +87 -22
- package/fesm2022/area8975-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/area8975-ui.d.ts +32 -8
package/package.json
CHANGED
package/types/area8975-ui.d.ts
CHANGED
|
@@ -1002,12 +1002,12 @@ export declare class UiFieldComponent {
|
|
|
1002
1002
|
export declare class UiInputComponent<ValueType = string> {
|
|
1003
1003
|
readonly value: import("@angular/core").ModelSignal<ValueType>;
|
|
1004
1004
|
readonly classes: import("@angular/core").InputSignal<string>;
|
|
1005
|
-
readonly type: import("@angular/core").InputSignal<"number" | "
|
|
1005
|
+
readonly type: import("@angular/core").InputSignal<"number" | "search" | "time" | "color" | "text" | "email" | "tel" | "url" | "password" | "date" | "datetime-local" | "month" | "week">;
|
|
1006
1006
|
readonly id: import("@angular/core").InputSignal<string>;
|
|
1007
1007
|
readonly name: import("@angular/core").InputSignal<string>;
|
|
1008
1008
|
readonly placeholder: import("@angular/core").InputSignal<string>;
|
|
1009
1009
|
readonly autocomplete: import("@angular/core").InputSignal<string>;
|
|
1010
|
-
readonly inputmode: import("@angular/core").InputSignal<"" | "decimal" | "none" | "
|
|
1010
|
+
readonly inputmode: import("@angular/core").InputSignal<"" | "decimal" | "none" | "search" | "text" | "numeric" | "email" | "tel" | "url">;
|
|
1011
1011
|
readonly required: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
1012
1012
|
readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
1013
1013
|
readonly readonly: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
@@ -1038,7 +1038,7 @@ export declare class UiInputComponent<ValueType = string> {
|
|
|
1038
1038
|
readonly trailingElement: import("@angular/core").Signal<TemplateRef<unknown> | undefined>;
|
|
1039
1039
|
protected readonly revealed: import("@angular/core").WritableSignal<boolean>;
|
|
1040
1040
|
protected readonly canReveal: import("@angular/core").Signal<boolean>;
|
|
1041
|
-
protected readonly shownType: import("@angular/core").Signal<"number" | "
|
|
1041
|
+
protected readonly shownType: import("@angular/core").Signal<"number" | "search" | "time" | "color" | "text" | "email" | "tel" | "url" | "password" | "date" | "datetime-local" | "month" | "week">;
|
|
1042
1042
|
readonly generatedClasses: import("@angular/core").Signal<string>;
|
|
1043
1043
|
protected handleInput(event: Event): void;
|
|
1044
1044
|
protected handleFocus(event: FocusEvent): void;
|
|
@@ -1789,7 +1789,7 @@ export type BadgeSize = typeof BadgeSizes[number];
|
|
|
1789
1789
|
* A general-purpose button.
|
|
1790
1790
|
*/
|
|
1791
1791
|
export declare class UiButtonComponent {
|
|
1792
|
-
readonly appearance: import("@angular/core").InputSignal<"none" | "
|
|
1792
|
+
readonly appearance: import("@angular/core").InputSignal<"none" | "link" | "solid" | "outline" | "ghost" | "white">;
|
|
1793
1793
|
readonly intent: import("@angular/core").InputSignal<"none" | "primary" | "secondary" | "success" | "warning" | "danger">;
|
|
1794
1794
|
readonly size: import("@angular/core").InputSignal<"sm" | "md" | "lg">;
|
|
1795
1795
|
readonly classes: import("@angular/core").InputSignal<string>;
|
|
@@ -1802,6 +1802,9 @@ export declare class UiButtonComponent {
|
|
|
1802
1802
|
* `disabled` is set explicitly, or implicitly while `loading` is true.
|
|
1803
1803
|
*/
|
|
1804
1804
|
readonly isDisabled: import("@angular/core").Signal<boolean>;
|
|
1805
|
+
private readonly group;
|
|
1806
|
+
/** In a segmented group the button matches a `ui-segmented` option instead of its own variant. */
|
|
1807
|
+
private readonly segmented;
|
|
1805
1808
|
readonly generatedClasses: import("@angular/core").Signal<string>;
|
|
1806
1809
|
private readonly intentAndAppearanceClasses;
|
|
1807
1810
|
private readonly sizeClasses;
|
|
@@ -1874,6 +1877,8 @@ export type ButtonSize = typeof ButtonSizes[number];
|
|
|
1874
1877
|
/** @see {@link ButtonTypes} */
|
|
1875
1878
|
export type ButtonType = typeof ButtonTypes[number];
|
|
1876
1879
|
/**
|
|
1880
|
+
* Buttons that belong together, joined edge to edge or in a segmented track.
|
|
1881
|
+
*
|
|
1877
1882
|
* @example
|
|
1878
1883
|
* ```html
|
|
1879
1884
|
* <ui-button-group>
|
|
@@ -1884,10 +1889,29 @@ export type ButtonType = typeof ButtonTypes[number];
|
|
|
1884
1889
|
* ```
|
|
1885
1890
|
*/
|
|
1886
1891
|
export declare class UiButtonGroupComponent {
|
|
1892
|
+
/** `segmented` matches `ui-segmented`, so the two can sit side by side. Buttons inside ignore their own appearance, intent and size. */
|
|
1893
|
+
readonly appearance: import("@angular/core").InputSignal<"attached" | "segmented">;
|
|
1887
1894
|
readonly buttons: import("@angular/core").Signal<readonly UiButtonComponent[]>;
|
|
1888
1895
|
static ɵfac: i0.ɵɵFactoryDeclaration<UiButtonGroupComponent, never>;
|
|
1889
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UiButtonGroupComponent, "ui-button-group", never, {
|
|
1896
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiButtonGroupComponent, "ui-button-group", never, {
|
|
1897
|
+
"appearance": {
|
|
1898
|
+
"alias": "appearance";
|
|
1899
|
+
"required": false;
|
|
1900
|
+
"isSignal": true;
|
|
1901
|
+
};
|
|
1902
|
+
}, {}, ["buttons"], ["*"], true, never>;
|
|
1890
1903
|
}
|
|
1904
|
+
/**
|
|
1905
|
+
* How the buttons in a group are drawn. `"attached"` joins them edge to edge,
|
|
1906
|
+
* `"segmented"` sits them in a track that matches `ui-segmented`.
|
|
1907
|
+
*/
|
|
1908
|
+
export declare const ButtonGroupAppearances: readonly ["attached", "segmented"];
|
|
1909
|
+
/** @see {@link ButtonGroupAppearances} */
|
|
1910
|
+
export type ButtonGroupAppearance = typeof ButtonGroupAppearances[number];
|
|
1911
|
+
/** Lets a button take its look from the group it's in. */
|
|
1912
|
+
export declare const UI_BUTTON_GROUP: InjectionToken<{
|
|
1913
|
+
appearance: Signal<ButtonGroupAppearance>;
|
|
1914
|
+
}>;
|
|
1891
1915
|
/** Which day each calendar row starts on. 0 is Sunday, 1 is Monday. */
|
|
1892
1916
|
export declare const WeekStarts: readonly [0, 1];
|
|
1893
1917
|
/** @see {@link WeekStarts} */
|
|
@@ -2131,7 +2155,7 @@ export declare class UiKpiComponent {
|
|
|
2131
2155
|
readonly value: import("@angular/core").InputSignal<string>;
|
|
2132
2156
|
readonly hint: import("@angular/core").InputSignal<string>;
|
|
2133
2157
|
readonly icon: import("@angular/core").InputSignal<keyof import("@ng-icons/core").NgIconNameMap | undefined>;
|
|
2134
|
-
readonly iconPosition: import("@angular/core").InputSignal<"
|
|
2158
|
+
readonly iconPosition: import("@angular/core").InputSignal<"left" | "right">;
|
|
2135
2159
|
static ɵfac: i0.ɵɵFactoryDeclaration<UiKpiComponent, never>;
|
|
2136
2160
|
static ɵcmp: i0.ɵɵComponentDeclaration<UiKpiComponent, "ui-kpi", never, {
|
|
2137
2161
|
"label": {
|
|
@@ -2381,7 +2405,7 @@ export declare class UiProgressComponent {
|
|
|
2381
2405
|
readonly shape: import("@angular/core").InputSignal<"square" | "straight" | "rounded">;
|
|
2382
2406
|
readonly orientation: import("@angular/core").InputSignal<"vertical" | "horizontal">;
|
|
2383
2407
|
readonly title: import("@angular/core").InputSignal<string>;
|
|
2384
|
-
readonly labelPosition: import("@angular/core").InputSignal<"none" | "
|
|
2408
|
+
readonly labelPosition: import("@angular/core").InputSignal<"none" | "end" | "top" | "floating" | "inside">;
|
|
2385
2409
|
readonly labelWith: import("@angular/core").InputSignal<(value: number, max: number) => string>;
|
|
2386
2410
|
/** Splits the bar into this many blocks. */
|
|
2387
2411
|
readonly steps: import("@angular/core").InputSignal<number | null>;
|
|
@@ -3479,7 +3503,7 @@ export declare class UiDatepickerComponent {
|
|
|
3479
3503
|
}
|
|
3480
3504
|
export declare class UiDropdownButtonComponent {
|
|
3481
3505
|
readonly intent: import("@angular/core").InputSignal<"none" | "primary" | "secondary" | "success" | "warning" | "danger">;
|
|
3482
|
-
readonly appearance: import("@angular/core").InputSignal<"none" | "
|
|
3506
|
+
readonly appearance: import("@angular/core").InputSignal<"none" | "link" | "solid" | "outline" | "ghost" | "white">;
|
|
3483
3507
|
readonly icon: import("@angular/core").InputSignal<string>;
|
|
3484
3508
|
readonly isOpen: import("@angular/core").ModelSignal<boolean>;
|
|
3485
3509
|
static ɵfac: i0.ɵɵFactoryDeclaration<UiDropdownButtonComponent, never>;
|