@ardium-ui/ui 3.2.6 → 3.3.0-alpha1
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/esm2022/lib/_internal/boolean-component.mjs +1 -1
- package/esm2022/lib/_internal/focusable-component.mjs +2 -2
- package/esm2022/lib/_internal/form-field-component.mjs +55 -0
- package/esm2022/lib/_internal/item-storages/dropdown-item-storage.mjs +4 -1
- package/esm2022/lib/_internal/ngmodel-component.mjs +5 -2
- package/esm2022/lib/_internal/public-api.mjs +2 -0
- package/esm2022/lib/checkbox/checkbox.component.mjs +1 -1
- package/esm2022/lib/file-inputs/file-input/file-input.component.mjs +1 -1
- package/esm2022/lib/form-field/error/error.component.mjs +17 -0
- package/esm2022/lib/form-field/error/error.directive.mjs +17 -0
- package/esm2022/lib/form-field/form-field.component.mjs +36 -0
- package/esm2022/lib/form-field/form-field.defaults.mjs +14 -0
- package/esm2022/lib/form-field/form-field.module.mjs +23 -0
- package/esm2022/lib/form-field/hint/hint.component.mjs +17 -0
- package/esm2022/lib/form-field/hint/hint.directive.mjs +30 -0
- package/esm2022/lib/form-field/index.mjs +8 -0
- package/esm2022/lib/form-field/label/label.component.mjs +21 -0
- package/esm2022/lib/form-field-frame/form-field-frame.component.mjs +4 -2
- package/esm2022/lib/inputs/_simple-input-base.mjs +4 -4
- package/esm2022/lib/inputs/digit-input/digit-input.component.mjs +28 -11
- package/esm2022/lib/inputs/digit-input/digit-input.defaults.mjs +3 -3
- package/esm2022/lib/inputs/digit-input/digit-input.model.mjs +5 -3
- package/esm2022/lib/inputs/digit-input/digit-input.types.mjs +1 -1
- package/esm2022/lib/inputs/digit-input/digit-input.utils.mjs +1 -1
- package/esm2022/lib/inputs/hex-input/hex-input.component.mjs +13 -5
- package/esm2022/lib/inputs/hex-input/hex-input.defaults.mjs +3 -3
- package/esm2022/lib/inputs/input/input.component.mjs +12 -3
- package/esm2022/lib/inputs/number-input/number-input.component.mjs +15 -7
- package/esm2022/lib/inputs/number-input/number-input.defaults.mjs +3 -3
- package/esm2022/lib/inputs/password-input/password-input.component.mjs +15 -5
- package/esm2022/lib/inputs/password-input/password-input.defaults.mjs +3 -3
- package/esm2022/lib/inputs/simple-input/simple-input.component.mjs +12 -3
- package/esm2022/lib/inputs/simple-input/simple-input.defaults.mjs +3 -3
- package/esm2022/lib/select/select.component.mjs +16 -8
- package/esm2022/lib/select/select.defaults.mjs +3 -3
- package/esm2022/lib/slide-toggle/slide-toggle.component.mjs +1 -1
- package/esm2022/lib/table-pagination/table-pagination.component.mjs +1 -1
- package/esm2022/public-api.mjs +3 -1
- package/fesm2022/ardium-ui-ui.mjs +315 -49
- package/fesm2022/ardium-ui-ui.mjs.map +1 -1
- package/lib/_internal/focusable-component.d.ts +2 -2
- package/lib/_internal/form-field-component.d.ts +29 -0
- package/lib/_internal/ngmodel-component.d.ts +1 -0
- package/lib/_internal/public-api.d.ts +3 -0
- package/lib/form-field/error/error.component.d.ts +6 -0
- package/lib/form-field/error/error.directive.d.ts +5 -0
- package/lib/form-field/form-field.component.d.ts +19 -0
- package/lib/form-field/form-field.defaults.d.ts +7 -0
- package/lib/form-field/form-field.module.d.ts +13 -0
- package/lib/form-field/hint/hint.component.d.ts +6 -0
- package/lib/form-field/hint/hint.directive.d.ts +8 -0
- package/lib/form-field/index.d.ts +7 -0
- package/lib/form-field/label/label.component.d.ts +8 -0
- package/lib/form-field-frame/form-field-frame.component.d.ts +2 -1
- package/lib/inputs/_simple-input-base.d.ts +3 -3
- package/lib/inputs/digit-input/digit-input.component.d.ts +6 -4
- package/lib/inputs/digit-input/digit-input.defaults.d.ts +2 -2
- package/lib/inputs/digit-input/digit-input.model.d.ts +4 -1
- package/lib/inputs/digit-input/digit-input.types.d.ts +1 -0
- package/lib/inputs/digit-input/digit-input.utils.d.ts +1 -0
- package/lib/inputs/hex-input/hex-input.component.d.ts +2 -2
- package/lib/inputs/hex-input/hex-input.defaults.d.ts +2 -2
- package/lib/inputs/number-input/number-input.component.d.ts +2 -2
- package/lib/inputs/number-input/number-input.defaults.d.ts +2 -2
- package/lib/inputs/password-input/password-input.component.d.ts +2 -2
- package/lib/inputs/password-input/password-input.defaults.d.ts +2 -2
- package/lib/select/select.component.d.ts +3 -4
- package/lib/select/select.defaults.d.ts +2 -2
- package/package.json +1 -1
- package/prebuilt-themes/default/buttons/button.css +8 -10
- package/prebuilt-themes/default/buttons/button.css.map +1 -1
- package/prebuilt-themes/default/buttons/fab.css +8 -10
- package/prebuilt-themes/default/buttons/fab.css.map +1 -1
- package/prebuilt-themes/default/buttons/icon-button.css +8 -10
- package/prebuilt-themes/default/buttons/icon-button.css.map +1 -1
- package/prebuilt-themes/default/chips.css.map +1 -1
- package/prebuilt-themes/default/core.css +1 -1
- package/prebuilt-themes/default/form-field-frame.css +16 -5
- package/prebuilt-themes/default/form-field-frame.css.map +1 -1
- package/prebuilt-themes/default/form-field.css +33 -0
- package/prebuilt-themes/default/form-field.css.map +1 -0
- package/prebuilt-themes/default/inputs/color-input.css +0 -1
- package/prebuilt-themes/default/inputs/color-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/digit-input.css +61 -5
- package/prebuilt-themes/default/inputs/digit-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/file-input.css +0 -1
- package/prebuilt-themes/default/inputs/file-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/hex-input.css +0 -1
- package/prebuilt-themes/default/inputs/hex-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/input.css +0 -1
- package/prebuilt-themes/default/inputs/input.css.map +1 -1
- package/prebuilt-themes/default/inputs/number-input.css +30 -18
- package/prebuilt-themes/default/inputs/number-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/password-input.css +0 -1
- package/prebuilt-themes/default/inputs/password-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/search-bar.css +0 -1
- package/prebuilt-themes/default/inputs/search-bar.css.map +1 -1
- package/prebuilt-themes/default/inputs/simple-input.css +0 -1
- package/prebuilt-themes/default/inputs/simple-input.css.map +1 -1
- package/prebuilt-themes/default/segment.css +15 -1
- package/prebuilt-themes/default/segment.css.map +1 -1
- package/public-api.d.ts +2 -0
- package/themes/default/_mixins.scss +81 -64
- package/themes/default/buttons/_button-mixins.scss +7 -12
- package/themes/default/core.scss +99 -99
- package/themes/default/form-field-frame.scss +75 -78
- package/themes/default/form-field.scss +39 -0
- package/themes/default/inputs/_shared.scss +50 -51
- package/themes/default/inputs/digit-input.scss +90 -56
- package/themes/default/inputs/number-input.scss +131 -121
|
@@ -26,8 +26,8 @@ export declare abstract class _FocusableComponentBase extends _DisablableCompone
|
|
|
26
26
|
/**
|
|
27
27
|
* The component's overall tab index. If the component is disabled, it is always `-1`. Coercible into a number, defaults to `0`.
|
|
28
28
|
*/
|
|
29
|
-
readonly tabIndex: import("@angular/core").Signal<
|
|
30
|
-
readonly _tabIndex: import("@angular/core").InputSignalWithTransform<
|
|
29
|
+
readonly tabIndex: import("@angular/core").Signal<number>;
|
|
30
|
+
readonly _tabIndex: import("@angular/core").InputSignalWithTransform<number, any>;
|
|
31
31
|
/**
|
|
32
32
|
* The event emitter responsible for firing `focus` events.
|
|
33
33
|
*/
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor, NgControl } from '@angular/forms';
|
|
3
|
+
import { _NgModelComponentBase, _NgModelComponentDefaults } from './ngmodel-component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export interface _FormFieldComponentDefaults extends _NgModelComponentDefaults {
|
|
6
|
+
required: boolean | undefined;
|
|
7
|
+
}
|
|
8
|
+
export declare const _formFieldComponentDefaults: _FormFieldComponentDefaults;
|
|
9
|
+
/**
|
|
10
|
+
* Common code for components which implement the ControlValueAccessor.
|
|
11
|
+
*
|
|
12
|
+
* **Warning**: `writeValue` function should be implemented on the child component!
|
|
13
|
+
*/
|
|
14
|
+
export declare abstract class _FormFieldComponentBase extends _NgModelComponentBase implements ControlValueAccessor, OnInit, OnDestroy {
|
|
15
|
+
protected readonly _DEFAULTS: _FormFieldComponentDefaults;
|
|
16
|
+
protected readonly _injector: Injector;
|
|
17
|
+
private _statusChangesSub?;
|
|
18
|
+
ngOnInit(): void;
|
|
19
|
+
protected _ngControl: NgControl | null;
|
|
20
|
+
readonly _required: import("@angular/core").InputSignalWithTransform<boolean | undefined, any>;
|
|
21
|
+
get required(): boolean;
|
|
22
|
+
readonly htmlId: import("@angular/core").InputSignal<string>;
|
|
23
|
+
readonly _hasError: import("@angular/core").InputSignalWithTransform<boolean | undefined, any>;
|
|
24
|
+
private readonly _hasErrorInControl;
|
|
25
|
+
readonly hasError: import("@angular/core").Signal<boolean>;
|
|
26
|
+
ngOnDestroy(): void;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<_FormFieldComponentBase, never>;
|
|
28
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<_FormFieldComponentBase, never, never, { "_required": { "alias": "required"; "required": false; "isSignal": true; }; "htmlId": { "alias": "htmlId"; "required": false; "isSignal": true; }; "_hasError": { "alias": "hasError"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
29
|
+
}
|
|
@@ -2,6 +2,7 @@ import { ControlValueAccessor } from '@angular/forms';
|
|
|
2
2
|
import { _FocusableComponentBase, _FocusableComponentDefaults } from './focusable-component';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export interface _NgModelComponentDefaults extends _FocusableComponentDefaults {
|
|
5
|
+
required: boolean | undefined;
|
|
5
6
|
}
|
|
6
7
|
export declare const _ngModelComponentDefaults: _NgModelComponentDefaults;
|
|
7
8
|
/**
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./error.directive";
|
|
3
|
+
export declare class ArdiumErrorComponent {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumErrorComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumErrorComponent, "ard-error", never, {}, {}, never, ["*"], false, [{ directive: typeof i1.ArdiumErrorDirective; inputs: {}; outputs: {}; }]>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ArdiumErrorDirective {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumErrorDirective, never>;
|
|
4
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdiumErrorDirective, "[ard-error]", never, {}, {}, never, never, true, never>;
|
|
5
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { _FormFieldComponentBase } from '../_internal/form-field-component';
|
|
3
|
+
import { ArdiumErrorDirective } from './error/error.directive';
|
|
4
|
+
import { ArdiumHintDirective } from './hint/hint.directive';
|
|
5
|
+
import { ArdiumLabelComponent } from './label/label.component';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class ArdiumFormFieldComponent implements OnInit {
|
|
8
|
+
protected readonly _DEFAULTS: import("./form-field.defaults").ArdFormFieldDefaults;
|
|
9
|
+
readonly alignLabelToLeftByDefault: boolean;
|
|
10
|
+
readonly control: import("@angular/core").Signal<_FormFieldComponentBase | undefined>;
|
|
11
|
+
readonly controlId: import("@angular/core").Signal<string | undefined>;
|
|
12
|
+
readonly label: import("@angular/core").Signal<ArdiumLabelComponent | undefined>;
|
|
13
|
+
readonly hints: import("@angular/core").Signal<readonly ArdiumHintDirective[]>;
|
|
14
|
+
readonly errors: import("@angular/core").Signal<readonly ArdiumErrorDirective[]>;
|
|
15
|
+
readonly hasAnyError: import("@angular/core").Signal<boolean>;
|
|
16
|
+
ngOnInit(): void;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumFormFieldComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumFormFieldComponent, "ard-form-field", never, {}, {}, ["control", "label", "hints", "errors"], ["ard-label, [ard-label]", "*", "ard-error, [ard-error]", "ard-hint:not([left]):not([right]), [ard-hint]:not([left]):not([right])", "ard-hint[left], [ard-hint][left]", "ard-hint:not([left]):not([right]), [ard-hint]:not([left]):not([right])", "ard-hint[right], [ard-hint][right]"], false, never>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { InjectionToken, Provider } from '@angular/core';
|
|
2
|
+
import { SimpleOneAxisAlignment } from './../types/alignment.types';
|
|
3
|
+
export interface ArdFormFieldDefaults {
|
|
4
|
+
defaultHintAlign: SimpleOneAxisAlignment;
|
|
5
|
+
}
|
|
6
|
+
export declare const ARD_FORM_FIELD_DEFAULTS: InjectionToken<ArdFormFieldDefaults>;
|
|
7
|
+
export declare function provideFormFieldDefaults(config: Partial<ArdFormFieldDefaults>): Provider;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./form-field.component";
|
|
3
|
+
import * as i2 from "./label/label.component";
|
|
4
|
+
import * as i3 from "./hint/hint.component";
|
|
5
|
+
import * as i4 from "./error/error.component";
|
|
6
|
+
import * as i5 from "@angular/common";
|
|
7
|
+
import * as i6 from "./hint/hint.directive";
|
|
8
|
+
import * as i7 from "./error/error.directive";
|
|
9
|
+
export declare class ArdiumFormFieldModule {
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumFormFieldModule, never>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ArdiumFormFieldModule, [typeof i1.ArdiumFormFieldComponent, typeof i2.ArdiumLabelComponent, typeof i3.ArdiumHintComponent, typeof i4.ArdiumErrorComponent], [typeof i5.CommonModule, typeof i6.ArdiumHintDirective, typeof i7.ArdiumErrorDirective], [typeof i1.ArdiumFormFieldComponent, typeof i2.ArdiumLabelComponent, typeof i3.ArdiumHintComponent, typeof i4.ArdiumErrorComponent]>;
|
|
12
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ArdiumFormFieldModule>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./hint.directive";
|
|
3
|
+
export declare class ArdiumHintComponent {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumHintComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumHintComponent, "ard-hint", never, {}, {}, never, ["*"], false, [{ directive: typeof i1.ArdiumHintDirective; inputs: { "left": "left"; "right": "right"; }; outputs: {}; }]>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ArdiumHintDirective {
|
|
3
|
+
readonly left: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
4
|
+
readonly right: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
5
|
+
constructor();
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumHintDirective, never>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ArdiumHintDirective, "[ard-hint]", never, { "left": { "alias": "left"; "required": false; "isSignal": true; }; "right": { "alias": "right"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * from './error/error.component';
|
|
2
|
+
export * from './error/error.directive';
|
|
3
|
+
export * from './form-field.component';
|
|
4
|
+
export * from './form-field.module';
|
|
5
|
+
export * from './hint/hint.component';
|
|
6
|
+
export * from './hint/hint.directive';
|
|
7
|
+
export * from './label/label.component';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ArdiumLabelComponent {
|
|
3
|
+
readonly required: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
4
|
+
readonly optional: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
5
|
+
constructor();
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumLabelComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumLabelComponent, "ard-label", never, { "required": { "alias": "required"; "required": false; "isSignal": true; }; "optional": { "alias": "optional"; "required": false; "isSignal": true; }; }, {}, never, ["*"], false, never>;
|
|
8
|
+
}
|
|
@@ -8,6 +8,7 @@ import * as i0 from "@angular/core";
|
|
|
8
8
|
export declare class ArdiumFormFieldFrameComponent extends _FocusableComponentBase {
|
|
9
9
|
protected readonly _DEFAULTS: ArdFormFieldFrameDefaults;
|
|
10
10
|
constructor(defaults: ArdFormFieldFrameDefaults);
|
|
11
|
+
readonly hasError: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
11
12
|
isFocused: boolean;
|
|
12
13
|
/**
|
|
13
14
|
* The appearance of the component, aka the styling.
|
|
@@ -27,5 +28,5 @@ export declare class ArdiumFormFieldFrameComponent extends _FocusableComponentBa
|
|
|
27
28
|
readonly prefixTemplate: import("@angular/core").Signal<ArdFormFieldPrefixTemplateDirective | undefined>;
|
|
28
29
|
readonly suffixTemplate: import("@angular/core").Signal<ArdFormFieldSuffixTemplateDirective | undefined>;
|
|
29
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumFormFieldFrameComponent, never>;
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumFormFieldFrameComponent, "ard-form-field-frame", never, { "isFocused": { "alias": "isFocused"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "compact": { "alias": "compact"; "required": false; "isSignal": true; }; "prefixTemplateInput": { "alias": "prefixTemplate"; "required": false; "isSignal": true; }; "suffixTemplateInput": { "alias": "suffixTemplate"; "required": false; "isSignal": true; }; }, {}, ["prefixTemplate", "suffixTemplate"], ["*"], false, never>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumFormFieldFrameComponent, "ard-form-field-frame", never, { "hasError": { "alias": "hasError"; "required": false; "isSignal": true; }; "isFocused": { "alias": "isFocused"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "compact": { "alias": "compact"; "required": false; "isSignal": true; }; "prefixTemplateInput": { "alias": "prefixTemplate"; "required": false; "isSignal": true; }; "suffixTemplateInput": { "alias": "suffixTemplate"; "required": false; "isSignal": true; }; }, {}, ["prefixTemplate", "suffixTemplate"], ["*"], false, never>;
|
|
31
32
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { AfterViewInit, ElementRef } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { _FormFieldComponentBase, _FormFieldComponentDefaults } from '../_internal/form-field-component';
|
|
3
3
|
import { SimpleOneAxisAlignment } from './../types/alignment.types';
|
|
4
4
|
import { FormElementAppearance, FormElementVariant } from './../types/theming.types';
|
|
5
5
|
import { Nullable } from './../types/utility.types';
|
|
6
6
|
import { SimpleInputModel } from './input-utils';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
|
-
export interface _SimpleInputComponentDefaults extends
|
|
8
|
+
export interface _SimpleInputComponentDefaults extends _FormFieldComponentDefaults {
|
|
9
9
|
appearance: FormElementAppearance;
|
|
10
10
|
variant: FormElementVariant;
|
|
11
11
|
compact: boolean;
|
|
@@ -17,7 +17,7 @@ export interface _SimpleInputComponentDefaults extends _NgModelComponentDefaults
|
|
|
17
17
|
maxLength: Nullable<number>;
|
|
18
18
|
}
|
|
19
19
|
export declare const _simpleInputComponentDefaults: _SimpleInputComponentDefaults;
|
|
20
|
-
export declare abstract class _SimpleInputComponentBase extends
|
|
20
|
+
export declare abstract class _SimpleInputComponentBase extends _FormFieldComponentBase implements AfterViewInit {
|
|
21
21
|
protected readonly _DEFAULTS: _SimpleInputComponentDefaults;
|
|
22
22
|
readonly textInputEl: import("@angular/core").Signal<ElementRef<HTMLInputElement> | undefined>;
|
|
23
23
|
protected readonly inputModel: SimpleInputModel;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { ElementRef } from '@angular/core';
|
|
1
|
+
import { ElementRef, OnInit } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
-
import {
|
|
3
|
+
import { _FormFieldComponentBase } from '../../_internal/form-field-component';
|
|
4
4
|
import { FormElementAppearance, FormElementVariant } from '../../types/theming.types';
|
|
5
5
|
import { ArdDigitInputDefaults } from './digit-input.defaults';
|
|
6
6
|
import { DigitInputConfig, DigitInputShape } from './digit-input.types';
|
|
7
7
|
import { DigitInputModelHost } from './digit-input.utils';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class ArdiumDigitInputComponent extends
|
|
9
|
+
export declare class ArdiumDigitInputComponent extends _FormFieldComponentBase implements ControlValueAccessor, DigitInputModelHost, OnInit {
|
|
10
10
|
protected readonly _DEFAULTS: ArdDigitInputDefaults;
|
|
11
11
|
constructor(defaults: ArdDigitInputDefaults);
|
|
12
12
|
readonly inputs: import("@angular/core").Signal<readonly ElementRef<HTMLInputElement>[]>;
|
|
@@ -20,10 +20,12 @@ export declare class ArdiumDigitInputComponent extends _NgModelComponentBase imp
|
|
|
20
20
|
readonly configArrayData: import("@angular/core").Signal<import("./digit-input.utils").DigitInputConfigData[]>;
|
|
21
21
|
private _oldConfigArrayDataLength;
|
|
22
22
|
readonly configArrayDataEffect: import("@angular/core").EffectRef;
|
|
23
|
+
ngOnInit(): void;
|
|
23
24
|
isInputEmpty(index: number): boolean;
|
|
24
25
|
writeValue(v: any): void;
|
|
25
26
|
private _writeValue;
|
|
26
27
|
readonly outputAsString: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
28
|
+
readonly outputControlValueAccessorOnFinish: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
27
29
|
set value(v: string | (string | null)[] | null);
|
|
28
30
|
readonly valueChange: import("@angular/core").OutputEmitterRef<string | (string | null)[] | null>;
|
|
29
31
|
readonly stringValue: import("@angular/core").Signal<string>;
|
|
@@ -41,5 +43,5 @@ export declare class ArdiumDigitInputComponent extends _NgModelComponentBase imp
|
|
|
41
43
|
protected _emitChange(): void;
|
|
42
44
|
onKeydown(event: KeyboardEvent, index: number): void;
|
|
43
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumDigitInputComponent, never>;
|
|
44
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumDigitInputComponent, "ard-digit-input", never, { "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "shape": { "alias": "shape"; "required": false; "isSignal": true; }; "compact": { "alias": "compact"; "required": false; "isSignal": true; }; "config": { "alias": "config"; "required": true; "isSignal": true; }; "outputAsString": { "alias": "outputAsString"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; "finishedValue": "finishedValue"; "focusIndexEvent": "focusIndex"; "blurIndexEvent": "blurIndex"; }, never, never, false, never>;
|
|
46
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumDigitInputComponent, "ard-digit-input", never, { "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "shape": { "alias": "shape"; "required": false; "isSignal": true; }; "compact": { "alias": "compact"; "required": false; "isSignal": true; }; "config": { "alias": "config"; "required": true; "isSignal": true; }; "outputAsString": { "alias": "outputAsString"; "required": false; "isSignal": true; }; "outputControlValueAccessorOnFinish": { "alias": "outputControlValueAccessorOnFinish"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; "finishedValue": "finishedValue"; "focusIndexEvent": "focusIndex"; "blurIndexEvent": "blurIndex"; }, never, never, false, never>;
|
|
45
47
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { InjectionToken, Provider } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { _FormFieldComponentDefaults } from '../../_internal/form-field-component';
|
|
3
3
|
import { FormElementAppearance, FormElementVariant } from './../../types/theming.types';
|
|
4
4
|
import { DigitInputShape } from './digit-input.types';
|
|
5
|
-
export interface ArdDigitInputDefaults extends
|
|
5
|
+
export interface ArdDigitInputDefaults extends _FormFieldComponentDefaults {
|
|
6
6
|
appearance: FormElementAppearance;
|
|
7
7
|
variant: FormElementVariant;
|
|
8
8
|
shape: DigitInputShape;
|
|
@@ -16,7 +16,10 @@ export declare class DigitInputModel {
|
|
|
16
16
|
private _updateInputElements;
|
|
17
17
|
setConfig(config: DigitInputConfig): void;
|
|
18
18
|
private _setConfig;
|
|
19
|
-
validateInputAndSetValue(input: string, index: number):
|
|
19
|
+
validateInputAndSetValue(input: string, index: number): null | {
|
|
20
|
+
wasChanged: boolean;
|
|
21
|
+
resultChar: string | null;
|
|
22
|
+
};
|
|
20
23
|
validateValueAndUpdate(): void;
|
|
21
24
|
private _validateSingleChar;
|
|
22
25
|
}
|
|
@@ -19,6 +19,7 @@ export interface DigitInputAcceptObject {
|
|
|
19
19
|
accept: string | RegExp | ((char: string, charsBefore: string) => boolean);
|
|
20
20
|
transform?: TransformType | null;
|
|
21
21
|
readonly?: boolean;
|
|
22
|
+
placeholder?: string;
|
|
22
23
|
}
|
|
23
24
|
export interface DigitInputStaticObject {
|
|
24
25
|
static: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AfterViewInit, ElementRef } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
-
import {
|
|
3
|
+
import { _FormFieldComponentBase } from '../../_internal/form-field-component';
|
|
4
4
|
import { FormElementAppearance, FormElementVariant } from '../../types/theming.types';
|
|
5
5
|
import { Nullable } from '../../types/utility.types';
|
|
6
6
|
import { CaseTransformerType } from '../input-types';
|
|
@@ -8,7 +8,7 @@ import { ArdHexInputDefaults } from './hex-input.defaults';
|
|
|
8
8
|
import { ArdHexInputPlaceholderTemplateDirective, ArdHexInputPrefixTemplateDirective, ArdHexInputSuffixTemplateDirective } from './hex-input.directives';
|
|
9
9
|
import { HexInputModel, HexInputModelHost } from './hex-input.model';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
|
-
export declare class ArdiumHexInputComponent extends
|
|
11
|
+
export declare class ArdiumHexInputComponent extends _FormFieldComponentBase implements ControlValueAccessor, HexInputModelHost, AfterViewInit {
|
|
12
12
|
protected readonly _DEFAULTS: ArdHexInputDefaults;
|
|
13
13
|
constructor(defaults: ArdHexInputDefaults);
|
|
14
14
|
readonly textInputEl: import("@angular/core").Signal<ElementRef<HTMLInputElement> | undefined>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { InjectionToken, Provider } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { _FormFieldComponentDefaults } from '../../_internal/form-field-component';
|
|
3
3
|
import { Nullable } from '../../types/utility.types';
|
|
4
4
|
import { CaseTransformerType } from '../input-types';
|
|
5
5
|
import { FormElementAppearance, FormElementVariant } from './../../types/theming.types';
|
|
6
|
-
export interface ArdHexInputDefaults extends
|
|
6
|
+
export interface ArdHexInputDefaults extends _FormFieldComponentDefaults {
|
|
7
7
|
appearance: FormElementAppearance;
|
|
8
8
|
variant: FormElementVariant;
|
|
9
9
|
compact: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AfterViewInit, ElementRef } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
-
import {
|
|
3
|
+
import { _FormFieldComponentBase } from '../../_internal/form-field-component';
|
|
4
4
|
import { ButtonAppearance, ButtonVariant } from '../../buttons/general-button.types';
|
|
5
5
|
import { OneAxisAlignment } from '../../types/alignment.types';
|
|
6
6
|
import { FormElementAppearance, FormElementVariant } from '../../types/theming.types';
|
|
@@ -9,7 +9,7 @@ import { NumberInputModel, NumberInputModelHost } from '../input-utils';
|
|
|
9
9
|
import { ArdNumberInputDefaults } from './number-input.defaults';
|
|
10
10
|
import { ArdNumberInputPlaceholderTemplateDirective } from './number-input.directives';
|
|
11
11
|
import * as i0 from "@angular/core";
|
|
12
|
-
export declare class ArdiumNumberInputComponent extends
|
|
12
|
+
export declare class ArdiumNumberInputComponent extends _FormFieldComponentBase implements ControlValueAccessor, NumberInputModelHost, AfterViewInit {
|
|
13
13
|
protected readonly _DEFAULTS: ArdNumberInputDefaults;
|
|
14
14
|
constructor(defaults: ArdNumberInputDefaults);
|
|
15
15
|
readonly inputEl: import("@angular/core").Signal<ElementRef<HTMLInputElement> | undefined>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { InjectionToken, Provider } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { _FormFieldComponentDefaults } from '../../_internal/form-field-component';
|
|
3
3
|
import { OneAxisAlignment } from './../../types/alignment.types';
|
|
4
4
|
import { FormElementAppearance, FormElementVariant } from './../../types/theming.types';
|
|
5
|
-
export interface ArdNumberInputDefaults extends
|
|
5
|
+
export interface ArdNumberInputDefaults extends _FormFieldComponentDefaults {
|
|
6
6
|
appearance: FormElementAppearance;
|
|
7
7
|
variant: FormElementVariant;
|
|
8
8
|
compact: boolean;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { ElementRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
-
import {
|
|
3
|
+
import { _FormFieldComponentBase } from '../../_internal/form-field-component';
|
|
4
4
|
import { FormElementAppearance, FormElementVariant } from '../../types/theming.types';
|
|
5
5
|
import { Nullable } from '../../types/utility.types';
|
|
6
6
|
import { ArdPasswordInputDefaults } from './password-input.defaults';
|
|
7
7
|
import { ArdPasswordInputPlaceholderTemplateDirective, ArdPasswordInputPrefixTemplateDirective, ArdPasswordInputRevealButtonTemplateDirective, ArdPasswordInputSuffixTemplateDirective } from './password-input.directives';
|
|
8
8
|
import { PasswordInputRevealButtonContext } from './password-input.types';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
|
-
export declare class ArdiumPasswordInputComponent extends
|
|
10
|
+
export declare class ArdiumPasswordInputComponent extends _FormFieldComponentBase implements ControlValueAccessor, OnInit, OnDestroy {
|
|
11
11
|
protected readonly _DEFAULTS: ArdPasswordInputDefaults;
|
|
12
12
|
constructor(defaults: ArdPasswordInputDefaults);
|
|
13
13
|
readonly textInputEl: import("@angular/core").Signal<ElementRef<HTMLInputElement> | undefined>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { InjectionToken, Provider } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { _FormFieldComponentDefaults } from '../../_internal/form-field-component';
|
|
3
3
|
import { FormElementAppearance, FormElementVariant } from './../../types/theming.types';
|
|
4
4
|
import { Nullable } from './../../types/utility.types';
|
|
5
|
-
export interface ArdPasswordInputDefaults extends
|
|
5
|
+
export interface ArdPasswordInputDefaults extends _FormFieldComponentDefaults {
|
|
6
6
|
appearance: FormElementAppearance;
|
|
7
7
|
variant: FormElementVariant;
|
|
8
8
|
compact: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AfterContentInit, AfterViewInit, ElementRef, OnChanges, OnDestroy, OnInit, QueryList, Signal, SimpleChanges, TemplateRef } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
+
import { _FormFieldComponentBase } from '../_internal/form-field-component';
|
|
3
4
|
import { ItemStorage, ItemStorageHost } from '../_internal/item-storages/dropdown-item-storage';
|
|
4
|
-
import { _NgModelComponentBase } from '../_internal/ngmodel-component';
|
|
5
5
|
import { ArdiumDropdownPanelComponent } from '../dropdown-panel/dropdown-panel.component';
|
|
6
6
|
import { DropdownPanelAppearance, DropdownPanelVariant } from '../dropdown-panel/dropdown-panel.types';
|
|
7
7
|
import { ArdiumOptionComponent } from '../option/option.component';
|
|
@@ -13,7 +13,7 @@ import { ArdSelectDefaults } from './select.defaults';
|
|
|
13
13
|
import { ArdAddCustomTemplateDirective, ArdDropdownFooterTemplateDirective, ArdDropdownHeaderTemplateDirective, ArdItemDisplayLimitTemplateDirective, ArdItemLimitReachedTemplateDirective, ArdLoadingPlaceholderTemplateDirective, ArdLoadingSpinnerTemplateDirective, ArdNoItemsFoundTemplateDirective, ArdOptgroupTemplateDirective, ArdOptionTemplateDirective, ArdSelectPlaceholderTemplateDirective, ArdSelectPrefixTemplateDirective, ArdSelectSuffixTemplateDirective, ArdValueTemplateDirective } from './select.directive';
|
|
14
14
|
import { AddCustomFn, CustomOptionContext, GroupContext, ItemDisplayLimitContext, ItemLimitContext, PlaceholderContext, SearchContext, StatsContext, ValueContext } from './select.types';
|
|
15
15
|
import * as i0 from "@angular/core";
|
|
16
|
-
export declare class ArdiumSelectComponent extends
|
|
16
|
+
export declare class ArdiumSelectComponent extends _FormFieldComponentBase implements OnChanges, AfterViewInit, AfterContentInit, OnInit, OnDestroy, ControlValueAccessor, ItemStorageHost {
|
|
17
17
|
protected readonly _DEFAULTS: ArdSelectDefaults;
|
|
18
18
|
constructor(defaults: ArdSelectDefaults);
|
|
19
19
|
readonly _componentId: string;
|
|
@@ -39,7 +39,6 @@ export declare class ArdiumSelectComponent extends _NgModelComponentBase impleme
|
|
|
39
39
|
readonly searchInputId: import("@angular/core").InputSignal<Nullable<string>>;
|
|
40
40
|
readonly inputAttrs: import("@angular/core").InputSignal<Record<string, any>>;
|
|
41
41
|
readonly isLoading: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
42
|
-
readonly htmlId: import("@angular/core").InputSignal<string>;
|
|
43
42
|
readonly itemsAlreadyGrouped: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
44
43
|
readonly invertDisabled: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
45
44
|
readonly noGroupActions: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
@@ -194,5 +193,5 @@ export declare class ArdiumSelectComponent extends _NgModelComponentBase impleme
|
|
|
194
193
|
private _onBackspaceOrDeletePress;
|
|
195
194
|
private _onCtrlAPress;
|
|
196
195
|
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumSelectComponent, never>;
|
|
197
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumSelectComponent, "ard-select", never, { "valueFrom": { "alias": "valueFrom"; "required": false; "isSignal": true; }; "labelFrom": { "alias": "labelFrom"; "required": false; "isSignal": true; }; "disabledFrom": { "alias": "disabledFrom"; "required": false; "isSignal": true; }; "groupLabelFrom": { "alias": "groupLabelFrom"; "required": false; "isSignal": true; }; "groupDisabledFrom": { "alias": "groupDisabledFrom"; "required": false; "isSignal": true; }; "childrenFrom": { "alias": "childrenFrom"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "searchPlaceholder": { "alias": "searchPlaceholder"; "required": false; "isSignal": true; }; "clearButtonTitle": { "alias": "clearButtonTitle"; "required": false; "isSignal": true; }; "dropdownPosition": { "alias": "dropdownPosition"; "required": false; "isSignal": true; }; "noItemsFoundText": { "alias": "noItemsFoundText"; "required": false; "isSignal": true; }; "loadingPlaceholderText": { "alias": "loadingPlaceholderText"; "required": false; "isSignal": true; }; "searchInputId": { "alias": "searchInputId"; "required": false; "isSignal": true; }; "inputAttrs": { "alias": "inputAttrs"; "required": false; "isSignal": true; }; "isLoading": { "alias": "isLoading"; "required": false; "isSignal": true; }; "
|
|
196
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumSelectComponent, "ard-select", never, { "valueFrom": { "alias": "valueFrom"; "required": false; "isSignal": true; }; "labelFrom": { "alias": "labelFrom"; "required": false; "isSignal": true; }; "disabledFrom": { "alias": "disabledFrom"; "required": false; "isSignal": true; }; "groupLabelFrom": { "alias": "groupLabelFrom"; "required": false; "isSignal": true; }; "groupDisabledFrom": { "alias": "groupDisabledFrom"; "required": false; "isSignal": true; }; "childrenFrom": { "alias": "childrenFrom"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "searchPlaceholder": { "alias": "searchPlaceholder"; "required": false; "isSignal": true; }; "clearButtonTitle": { "alias": "clearButtonTitle"; "required": false; "isSignal": true; }; "dropdownPosition": { "alias": "dropdownPosition"; "required": false; "isSignal": true; }; "noItemsFoundText": { "alias": "noItemsFoundText"; "required": false; "isSignal": true; }; "loadingPlaceholderText": { "alias": "loadingPlaceholderText"; "required": false; "isSignal": true; }; "searchInputId": { "alias": "searchInputId"; "required": false; "isSignal": true; }; "inputAttrs": { "alias": "inputAttrs"; "required": false; "isSignal": true; }; "isLoading": { "alias": "isLoading"; "required": false; "isSignal": true; }; "itemsAlreadyGrouped": { "alias": "itemsAlreadyGrouped"; "required": false; "isSignal": true; }; "invertDisabled": { "alias": "invertDisabled"; "required": false; "isSignal": true; }; "noGroupActions": { "alias": "noGroupActions"; "required": false; "isSignal": true; }; "autoHighlightFirst": { "alias": "autoHighlightFirst"; "required": false; "isSignal": true; }; "autoFocus": { "alias": "autoFocus"; "required": false; "isSignal": true; }; "keepOpen": { "alias": "keepOpen"; "required": false; "isSignal": true; }; "hideSelected": { "alias": "hideSelected"; "required": false; "isSignal": true; }; "noBackspaceClear": { "alias": "noBackspaceClear"; "required": false; "isSignal": true; }; "sortMultipleValues": { "alias": "sortMultipleValues"; "required": false; "isSignal": true; }; "searchCaseSensitive": { "alias": "searchCaseSensitive"; "required": false; "isSignal": true; }; "keepSearchAfterSelect": { "alias": "keepSearchAfterSelect"; "required": false; "isSignal": true; }; "maxSelectedItems": { "alias": "maxSelectedItems"; "required": false; "isSignal": true; }; "itemDisplayLimit": { "alias": "itemDisplayLimit"; "required": false; "isSignal": true; }; "searchFn": { "alias": "searchFn"; "required": false; "isSignal": true; }; "compareWith": { "alias": "compareWith"; "required": false; "isSignal": true; }; "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "compact": { "alias": "compact"; "required": false; "isSignal": true; }; "dropdownAppearance": { "alias": "dropdownAppearance"; "required": false; "isSignal": true; }; "dropdownVariant": { "alias": "dropdownVariant"; "required": false; "isSignal": true; }; "items": { "alias": "items"; "required": false; }; "multiselectable": { "alias": "multiselectable"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "searchable": { "alias": "searchable"; "required": false; "isSignal": true; }; "addCustom": { "alias": "addCustom"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; }; "isOpen": { "alias": "isOpen"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; "changeEvent": "change"; "addEvent": "add"; "failedToAddEvent": "failedToAdd"; "removeEvent": "remove"; "clearEvent": "clear"; "openEvent": "open"; "closeEvent": "close"; "scrollEvent": "scroll"; "scrollToEndEvent": "scrollToEnd"; "searchEvent": "search"; "isOpen": "isOpenChange"; }, ["optionTemplate", "optgroupTemplate", "valueTemplate", "placeholderTemplate", "loadingSpinnerTemplate", "loadingPlaceholderTemplate", "dropdownHeaderTemplate", "dropdownFooterTemplate", "noItemsFoundTemplate", "addCustomTemplate", "itemLimitReachedTemplate", "itemDisplayLimitTemplate", "prefixTemplate", "suffixTemplate", "optionComponents"], never, false, never>;
|
|
198
197
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { InjectionToken, Provider } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { _FormFieldComponentDefaults } from '../_internal/form-field-component';
|
|
3
3
|
import { DropdownPanelAppearance, DropdownPanelVariant } from '../dropdown-panel';
|
|
4
4
|
import { ArdPanelPosition, GroupByFn, SearchFn } from '../types/item-storage.types';
|
|
5
5
|
import { Nullable } from '../types/utility.types';
|
|
6
6
|
import { FormElementAppearance, FormElementVariant } from './../types/theming.types';
|
|
7
7
|
import { AddCustomFn } from './select.types';
|
|
8
|
-
export interface ArdSelectDefaults extends
|
|
8
|
+
export interface ArdSelectDefaults extends _FormFieldComponentDefaults {
|
|
9
9
|
valueFrom: string;
|
|
10
10
|
labelFrom: string;
|
|
11
11
|
disabledFrom: string;
|
package/package.json
CHANGED
|
@@ -192,15 +192,8 @@ ard-button {
|
|
|
192
192
|
.ard-button.ard-appearance-transparent .ard-focus-overlay, .ard-button.ard-appearance-raised .ard-focus-overlay {
|
|
193
193
|
background: var(--ard-cmpcl--overlay-colored);
|
|
194
194
|
}
|
|
195
|
-
.ard-button.ard-appearance-flat, .ard-button.ard-appearance-raised-strong {
|
|
196
|
-
background: var(--ard-cmpcl--bg);
|
|
197
|
-
color: var(--ard-cmpcl--on-bg);
|
|
198
|
-
border: none;
|
|
199
|
-
}
|
|
200
|
-
.ard-button.ard-appearance-flat .ard-focus-overlay, .ard-button.ard-appearance-raised-strong .ard-focus-overlay {
|
|
201
|
-
background: var(--ard-cmpcl--on-bg);
|
|
202
|
-
}
|
|
203
195
|
.ard-button.ard-appearance-raised, .ard-button.ard-appearance-raised-strong {
|
|
196
|
+
background: var(--ard-bg);
|
|
204
197
|
transition: box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1);
|
|
205
198
|
box-shadow: var(--ard-simple-shadow);
|
|
206
199
|
}
|
|
@@ -231,10 +224,15 @@ ard-button {
|
|
|
231
224
|
background: var(--ard-cmpcl--bg-colored);
|
|
232
225
|
color: var(--ard-cmpcl--on-bg-colored);
|
|
233
226
|
}
|
|
234
|
-
.ard-button.ard-appearance-
|
|
227
|
+
.ard-button.ard-appearance-flat, .ard-button.ard-appearance-raised-strong {
|
|
228
|
+
background: var(--ard-cmpcl--bg);
|
|
229
|
+
color: var(--ard-cmpcl--on-bg);
|
|
230
|
+
border: none;
|
|
231
|
+
}
|
|
232
|
+
.ard-button.ard-appearance-flat .ard-focus-overlay, .ard-button.ard-appearance-raised-strong .ard-focus-overlay {
|
|
235
233
|
background: var(--ard-cmpcl--on-bg);
|
|
236
234
|
}
|
|
237
|
-
.ard-button.ard-appearance-
|
|
235
|
+
.ard-button.ard-appearance-flat:focus-visible, .ard-button.ard-appearance-raised-strong:focus-visible {
|
|
238
236
|
outline: solid black;
|
|
239
237
|
}
|
|
240
238
|
.ard-button.ard-appearance-transparent.ard-light-coloring {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../../../../../projects/ui/src/themes/default/buttons/button.scss","../../../../../projects/ui/src/themes/default/buttons/_button-mixins.scss","../../../../../projects/ui/src/themes/default/_coloring.scss","../../../../../projects/ui/src/themes/default/_mixins.scss","../../../../../projects/ui/src/themes/_variables.scss"],"names":[],"mappings":"AAEA;EACE;EACA;EACA;;;AAGF;ECFE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EDJA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AEhBA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;ADrHF;EEdA;EACA;EACA;;AFgBA;EEZA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EFKE;;AAIA;EACE;;AAKF;EACE;;AAIF;EACE;;AAIJ;EAEE;EACA;EACA;;AAEA;EACE;;AAGJ;EAEE;
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../../../../../projects/ui/src/themes/default/buttons/button.scss","../../../../../projects/ui/src/themes/default/buttons/_button-mixins.scss","../../../../../projects/ui/src/themes/default/_coloring.scss","../../../../../projects/ui/src/themes/default/_mixins.scss","../../../../../projects/ui/src/themes/_variables.scss"],"names":[],"mappings":"AAEA;EACE;EACA;EACA;;;AAGF;ECFE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EDJA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AEhBA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;ADrHF;EEdA;EACA;EACA;;AFgBA;EEZA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EFKE;;AAIA;EACE;;AAKF;EACE;;AAIF;EACE;;AAIJ;EAEE;EACA;EACA;;AAEA;EACE;;AAGJ;EAEE,YGvDC;EHwDD;EACA,YGxBY;;AH0BZ;EAEE,YG3BW;;AH6Bb;EACE,YG7BW;;AHgCf;EACE,YGpEC;EHqED;EACA;;AAEA;EACE;;AAGJ;EACE,YG7EC;EH8ED;EACA;EAMA;;AAJA;EACE;;AAIF;EAGE;EACA;;AAGJ;EAEE;EACA;EACA;;AAEA;EACE;;AAEF;EACE;;AAIJ;EACE;;AAEA;EACE;;AD1FJ;EACE;EACA;EACA;;AAIF;EACE;;AAEF;EACE;;AAIF;EACE;EACA;EACA;EACA;;AAEF;EAEE;;AAEF;EACE;;AAEF;EACE;;AAIF;EACE;EACA;EACA;;AAEA;EACE;EACA;EACA;;;AAMJ;ECkDA;EACA;;AAEA;EACE;EACA;;AAKA;AAAA;EAEE;;AAEF;EACE","file":"button.css"}
|
|
@@ -190,15 +190,8 @@ ard-fab {
|
|
|
190
190
|
.ard-fab.ard-appearance-transparent .ard-focus-overlay, .ard-fab.ard-appearance-raised .ard-focus-overlay {
|
|
191
191
|
background: var(--ard-cmpcl--overlay-colored);
|
|
192
192
|
}
|
|
193
|
-
.ard-fab.ard-appearance-flat, .ard-fab.ard-appearance-raised-strong {
|
|
194
|
-
background: var(--ard-cmpcl--bg);
|
|
195
|
-
color: var(--ard-cmpcl--on-bg);
|
|
196
|
-
border: none;
|
|
197
|
-
}
|
|
198
|
-
.ard-fab.ard-appearance-flat .ard-focus-overlay, .ard-fab.ard-appearance-raised-strong .ard-focus-overlay {
|
|
199
|
-
background: var(--ard-cmpcl--on-bg);
|
|
200
|
-
}
|
|
201
193
|
.ard-fab.ard-appearance-raised, .ard-fab.ard-appearance-raised-strong {
|
|
194
|
+
background: var(--ard-bg);
|
|
202
195
|
transition: box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1);
|
|
203
196
|
box-shadow: var(--ard-simple-shadow);
|
|
204
197
|
}
|
|
@@ -229,10 +222,15 @@ ard-fab {
|
|
|
229
222
|
background: var(--ard-cmpcl--bg-colored);
|
|
230
223
|
color: var(--ard-cmpcl--on-bg-colored);
|
|
231
224
|
}
|
|
232
|
-
.ard-fab.ard-appearance-
|
|
225
|
+
.ard-fab.ard-appearance-flat, .ard-fab.ard-appearance-raised-strong {
|
|
226
|
+
background: var(--ard-cmpcl--bg);
|
|
227
|
+
color: var(--ard-cmpcl--on-bg);
|
|
228
|
+
border: none;
|
|
229
|
+
}
|
|
230
|
+
.ard-fab.ard-appearance-flat .ard-focus-overlay, .ard-fab.ard-appearance-raised-strong .ard-focus-overlay {
|
|
233
231
|
background: var(--ard-cmpcl--on-bg);
|
|
234
232
|
}
|
|
235
|
-
.ard-fab.ard-appearance-
|
|
233
|
+
.ard-fab.ard-appearance-flat:focus-visible, .ard-fab.ard-appearance-raised-strong:focus-visible {
|
|
236
234
|
outline: solid black;
|
|
237
235
|
}
|
|
238
236
|
.ard-fab.ard-appearance-transparent.ard-light-coloring {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../../../../../projects/ui/src/themes/default/buttons/fab.scss","../../../../../projects/ui/src/themes/default/buttons/_button-mixins.scss","../../../../../projects/ui/src/themes/default/_coloring.scss","../../../../../projects/ui/src/themes/default/_mixins.scss","../../../../../projects/ui/src/themes/_variables.scss"],"names":[],"mappings":"AAGA;EACE;EACA;EACA;EACA;;;AAGF;ECJE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EDFA;EACA;EACA;EACA;EACA;EACA;EACA;;AEfA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;ADrHF;EEdA;EACA;EACA;;AFgBA;EEZA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EFKE;;AAIA;EACE;;AAKF;EACE;;AAIF;EACE;;AAIJ;EAEE;EACA;EACA;;AAEA;EACE;;AAGJ;EAEE;
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../../../../../projects/ui/src/themes/default/buttons/fab.scss","../../../../../projects/ui/src/themes/default/buttons/_button-mixins.scss","../../../../../projects/ui/src/themes/default/_coloring.scss","../../../../../projects/ui/src/themes/default/_mixins.scss","../../../../../projects/ui/src/themes/_variables.scss"],"names":[],"mappings":"AAGA;EACE;EACA;EACA;EACA;;;AAGF;ECJE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EDFA;EACA;EACA;EACA;EACA;EACA;EACA;;AEfA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;ADrHF;EEdA;EACA;EACA;;AFgBA;EEZA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EFKE;;AAIA;EACE;;AAKF;EACE;;AAIF;EACE;;AAIJ;EAEE;EACA;EACA;;AAEA;EACE;;AAGJ;EAEE,YGvDC;EHwDD;EACA,YGxBY;;AH0BZ;EAEE,YG3BW;;AH6Bb;EACE,YG7BW;;AHgCf;EACE,YGpEC;EHqED;EACA;;AAEA;EACE;;AAGJ;EACE,YG7EC;EH8ED;EACA;EAMA;;AAJA;EACE;;AAIF;EAGE;EACA;;AAGJ;EAEE;EACA;EACA;;AAEA;EACE;;AAEF;EACE;;AAIJ;EACE;;AAEA;EACE;;AD3FJ;EACE;EACA;;AAEF;EACE;EACA;;AAEF;EACE;EACA;EACA;;AAEA;EACE;EACA;;AAIJ;EACE;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;;AG3BJ;EACE;EAEA;;AAKA;EACE;;;AH4BJ;EC4DA;EACA;;AAEA;EACE;EACA;;AAKA;AAAA;EAEE;;AAEF;EACE;;;ADtEN;EACE;IACE;;EAEF;IACE;;EAEF;IACE","file":"fab.css"}
|
|
@@ -196,15 +196,8 @@ ard-icon-button {
|
|
|
196
196
|
.ard-icon-button.ard-appearance-transparent .ard-focus-overlay, .ard-icon-button.ard-appearance-raised .ard-focus-overlay {
|
|
197
197
|
background: var(--ard-cmpcl--overlay-colored);
|
|
198
198
|
}
|
|
199
|
-
.ard-icon-button.ard-appearance-flat, .ard-icon-button.ard-appearance-raised-strong {
|
|
200
|
-
background: var(--ard-cmpcl--bg);
|
|
201
|
-
color: var(--ard-cmpcl--on-bg);
|
|
202
|
-
border: none;
|
|
203
|
-
}
|
|
204
|
-
.ard-icon-button.ard-appearance-flat .ard-focus-overlay, .ard-icon-button.ard-appearance-raised-strong .ard-focus-overlay {
|
|
205
|
-
background: var(--ard-cmpcl--on-bg);
|
|
206
|
-
}
|
|
207
199
|
.ard-icon-button.ard-appearance-raised, .ard-icon-button.ard-appearance-raised-strong {
|
|
200
|
+
background: var(--ard-bg);
|
|
208
201
|
transition: box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1);
|
|
209
202
|
box-shadow: var(--ard-simple-shadow);
|
|
210
203
|
}
|
|
@@ -235,10 +228,15 @@ ard-icon-button {
|
|
|
235
228
|
background: var(--ard-cmpcl--bg-colored);
|
|
236
229
|
color: var(--ard-cmpcl--on-bg-colored);
|
|
237
230
|
}
|
|
238
|
-
.ard-icon-button.ard-appearance-
|
|
231
|
+
.ard-icon-button.ard-appearance-flat, .ard-icon-button.ard-appearance-raised-strong {
|
|
232
|
+
background: var(--ard-cmpcl--bg);
|
|
233
|
+
color: var(--ard-cmpcl--on-bg);
|
|
234
|
+
border: none;
|
|
235
|
+
}
|
|
236
|
+
.ard-icon-button.ard-appearance-flat .ard-focus-overlay, .ard-icon-button.ard-appearance-raised-strong .ard-focus-overlay {
|
|
239
237
|
background: var(--ard-cmpcl--on-bg);
|
|
240
238
|
}
|
|
241
|
-
.ard-icon-button.ard-appearance-
|
|
239
|
+
.ard-icon-button.ard-appearance-flat:focus-visible, .ard-icon-button.ard-appearance-raised-strong:focus-visible {
|
|
242
240
|
outline: solid black;
|
|
243
241
|
}
|
|
244
242
|
.ard-icon-button.ard-appearance-transparent.ard-light-coloring {
|