@daffodil/design 0.60.0 → 0.61.0
Sign up to get free protection for your applications and to get access to all the features.
- package/accordion/examples/package.json +1 -1
- package/article/examples/package.json +1 -1
- package/atoms/button/button.component.d.ts +18 -2
- package/atoms/button/button.module.d.ts +2 -1
- package/atoms/form/error-message/error-message.component.d.ts +1 -0
- package/atoms/form/form-label/form-label.directive.d.ts +6 -0
- package/atoms/form/form-label/form-label.module.d.ts +7 -0
- package/atoms/form/form-label/public_api.d.ts +2 -0
- package/atoms/form/{select/select/select.component.d.ts → native-select/native-select.component.d.ts} +1 -1
- package/atoms/form/{select/select.module.d.ts → native-select/native-select.module.d.ts} +1 -1
- package/atoms/form/native-select/public_api.d.ts +2 -0
- package/atoms/form/quantity-field/quantity-field.module.d.ts +1 -1
- package/atoms/form/quantity-field/quantity-select/quantity-select.component.d.ts +1 -1
- package/atoms/loading-icon/loading-icon.component.d.ts +3 -3
- package/button/examples/examples.d.ts +4 -0
- package/button/examples/flat-button/flat-button.component.d.ts +7 -0
- package/button/examples/flat-button/flat-button.module.d.ts +9 -0
- package/button/examples/package.json +1 -1
- package/button/examples/public_api.d.ts +10 -9
- package/callout/examples/package.json +1 -1
- package/card/examples/package.json +1 -1
- package/checkbox/examples/package.json +1 -1
- package/container/examples/package.json +1 -1
- package/core/public_api.d.ts +2 -2
- package/core/statusable/public_api.d.ts +2 -0
- package/esm2020/atoms/button/button.component.mjs +62 -5
- package/esm2020/atoms/button/button.module.mjs +6 -2
- package/esm2020/atoms/form/error-message/error-message.component.mjs +10 -4
- package/esm2020/atoms/form/form-label/form-label.directive.mjs +19 -0
- package/esm2020/atoms/form/form-label/form-label.module.mjs +20 -0
- package/esm2020/atoms/form/form-label/public_api.mjs +3 -0
- package/esm2020/atoms/form/native-select/native-select.component.mjs +64 -0
- package/esm2020/atoms/form/{select/select.module.mjs → native-select/native-select.module.mjs} +2 -2
- package/esm2020/atoms/form/native-select/public_api.mjs +3 -0
- package/esm2020/atoms/form/quantity-field/quantity-field.module.mjs +2 -2
- package/esm2020/atoms/form/quantity-field/quantity-select/quantity-select.component.mjs +3 -3
- package/esm2020/atoms/image/image.component.mjs +2 -2
- package/esm2020/atoms/loading-icon/loading-icon.component.mjs +4 -5
- package/esm2020/button/examples/basic-button/basic-button.component.mjs +7 -6
- package/esm2020/button/examples/examples.mjs +19 -0
- package/esm2020/button/examples/flat-button/flat-button.component.mjs +24 -0
- package/esm2020/button/examples/flat-button/flat-button.module.mjs +30 -0
- package/esm2020/button/examples/icon-button/icon-button.component.mjs +6 -5
- package/esm2020/button/examples/public_api.mjs +11 -18
- package/esm2020/button/examples/raised-button/raised-button.component.mjs +7 -6
- package/esm2020/button/examples/sizeable-button/sizeable-button.component.mjs +3 -7
- package/esm2020/button/examples/statusable-button/statusable-button.component.mjs +3 -11
- package/esm2020/button/examples/stroked-button/stroked-button.component.mjs +7 -6
- package/esm2020/button/examples/underline-button/underline-button.component.mjs +7 -6
- package/esm2020/button/examples/underline-button/underline-button.module.mjs +1 -1
- package/esm2020/callout/examples/callout-text-alignment/callout-text-alignment.component.mjs +1 -1
- package/esm2020/callout/examples/callout-theming/callout-theming.component.mjs +1 -1
- package/esm2020/callout/examples/callout-with-grid/callout-with-grid.component.mjs +1 -1
- package/esm2020/callout/examples/compact-callout/compact-callout.component.mjs +1 -1
- package/esm2020/card/examples/basic-card/basic-card.component.mjs +1 -1
- package/esm2020/card/examples/card-orientation/card-orientation.component.mjs +1 -1
- package/esm2020/checkbox/examples/basic-checkbox/basic-checkbox.component.mjs +1 -1
- package/esm2020/checkbox/examples/checkbox-set/checkbox-set.component.mjs +1 -1
- package/esm2020/core/public_api.mjs +3 -3
- package/esm2020/core/statusable/public_api.mjs +3 -0
- package/esm2020/hero/examples/compact-hero/compact-hero.component.mjs +1 -1
- package/esm2020/hero/examples/hero-text-alignment/hero-text-alignment.component.mjs +1 -1
- package/esm2020/hero/examples/hero-theming/hero-theming.component.mjs +1 -1
- package/esm2020/hero/examples/hero-with-grid/hero-with-grid.component.mjs +1 -1
- package/esm2020/menu/examples/basic-menu/basic-menu.component.mjs +1 -1
- package/esm2020/modal/examples/basic-modal/basic-modal.component.mjs +1 -1
- package/esm2020/modal/examples/basic-modal/modal-content.component.mjs +1 -1
- package/esm2020/molecules/media-gallery/media-gallery.component.mjs +2 -2
- package/esm2020/molecules/qty-dropdown/qty-dropdown.component.mjs +1 -1
- package/esm2020/molecules/qty-dropdown/qty-dropdown.module.mjs +2 -2
- package/esm2020/navbar/examples/basic-navbar/basic-navbar.component.mjs +1 -1
- package/esm2020/navbar/examples/contained-navbar/contained-navbar.component.mjs +1 -1
- package/esm2020/navbar/examples/navbar-theming/navbar-theming.component.mjs +1 -1
- package/esm2020/navbar/examples/raised-navbar/raised-navbar.component.mjs +1 -1
- package/esm2020/public_api.mjs +3 -2
- package/fesm2015/daffodil-design-button-examples.mjs +160 -122
- package/fesm2015/daffodil-design-button-examples.mjs.map +1 -1
- package/fesm2015/daffodil-design-callout-examples.mjs +4 -4
- package/fesm2015/daffodil-design-callout-examples.mjs.map +1 -1
- package/fesm2015/daffodil-design-card-examples.mjs +2 -2
- package/fesm2015/daffodil-design-card-examples.mjs.map +1 -1
- package/fesm2015/daffodil-design-checkbox-examples.mjs +2 -2
- package/fesm2015/daffodil-design-checkbox-examples.mjs.map +1 -1
- package/fesm2015/daffodil-design-hero-examples.mjs +4 -4
- package/fesm2015/daffodil-design-hero-examples.mjs.map +1 -1
- package/fesm2015/daffodil-design-menu-examples.mjs +1 -1
- package/fesm2015/daffodil-design-menu-examples.mjs.map +1 -1
- package/fesm2015/daffodil-design-modal-examples.mjs +2 -2
- package/fesm2015/daffodil-design-modal-examples.mjs.map +1 -1
- package/fesm2015/daffodil-design-navbar-examples.mjs +4 -4
- package/fesm2015/daffodil-design-navbar-examples.mjs.map +1 -1
- package/fesm2015/daffodil-design.mjs +191 -94
- package/fesm2015/daffodil-design.mjs.map +1 -1
- package/fesm2020/daffodil-design-button-examples.mjs +160 -122
- package/fesm2020/daffodil-design-button-examples.mjs.map +1 -1
- package/fesm2020/daffodil-design-callout-examples.mjs +4 -4
- package/fesm2020/daffodil-design-callout-examples.mjs.map +1 -1
- package/fesm2020/daffodil-design-card-examples.mjs +2 -2
- package/fesm2020/daffodil-design-card-examples.mjs.map +1 -1
- package/fesm2020/daffodil-design-checkbox-examples.mjs +2 -2
- package/fesm2020/daffodil-design-checkbox-examples.mjs.map +1 -1
- package/fesm2020/daffodil-design-hero-examples.mjs +4 -4
- package/fesm2020/daffodil-design-hero-examples.mjs.map +1 -1
- package/fesm2020/daffodil-design-menu-examples.mjs +1 -1
- package/fesm2020/daffodil-design-menu-examples.mjs.map +1 -1
- package/fesm2020/daffodil-design-modal-examples.mjs +2 -2
- package/fesm2020/daffodil-design-modal-examples.mjs.map +1 -1
- package/fesm2020/daffodil-design-navbar-examples.mjs +4 -4
- package/fesm2020/daffodil-design-navbar-examples.mjs.map +1 -1
- package/fesm2020/daffodil-design.mjs +191 -94
- package/fesm2020/daffodil-design.mjs.map +1 -1
- package/hero/examples/package.json +1 -1
- package/image/examples/package.json +1 -1
- package/input/examples/package.json +1 -1
- package/list/examples/package.json +1 -1
- package/loading-icon/examples/package.json +1 -1
- package/media-gallery/examples/package.json +1 -1
- package/menu/examples/package.json +1 -1
- package/modal/examples/package.json +1 -1
- package/molecules/qty-dropdown/qty-dropdown.module.d.ts +1 -1
- package/navbar/examples/package.json +1 -1
- package/package.json +1 -1
- package/paginator/examples/package.json +1 -1
- package/public_api.d.ts +2 -1
- package/quantity-field/examples/package.json +1 -1
- package/radio/examples/package.json +1 -1
- package/scss/state/skeleton/_mixins.scss +1 -0
- package/scss/theme.scss +2 -2
- package/scss/theming/_color-palettes.scss +5 -5
- package/src/atoms/button/button-theme-variants/button.scss +9 -18
- package/src/atoms/button/button-theme-variants/flat.scss +25 -0
- package/src/atoms/button/button-theme-variants/raised.scss +6 -26
- package/src/atoms/button/button-theme-variants/stroked.scss +12 -20
- package/src/atoms/button/button-theme.scss +121 -117
- package/src/atoms/form/{select → native-select}/README.md +1 -1
- package/src/atoms/form/{select/select/select-theme.scss → native-select/native-select-theme.scss} +3 -3
- package/src/atoms/loading-icon/loading-icon-theme.scss +4 -0
- package/atoms/form/select/public_api.d.ts +0 -2
- package/esm2020/atoms/form/select/public_api.mjs +0 -3
- package/esm2020/atoms/form/select/select/select.component.mjs +0 -64
- package/src/atoms/button/button-theme-variants/focus.scss +0 -6
@@ -1 +1 @@
|
|
1
|
-
{"name":"@daffodil/design/accordion/examples","module":"../../fesm2015/daffodil-design-accordion-examples.mjs","es2020":"../../fesm2020/daffodil-design-accordion-examples.mjs","esm2020":"../../esm2020/accordion/examples/daffodil-design-accordion-examples.mjs","fesm2020":"../../fesm2020/daffodil-design-accordion-examples.mjs","fesm2015":"../../fesm2015/daffodil-design-accordion-examples.mjs","typings":"daffodil-design-accordion-examples.d.ts","sideEffects":false,"version":"0.
|
1
|
+
{"name":"@daffodil/design/accordion/examples","module":"../../fesm2015/daffodil-design-accordion-examples.mjs","es2020":"../../fesm2020/daffodil-design-accordion-examples.mjs","esm2020":"../../esm2020/accordion/examples/daffodil-design-accordion-examples.mjs","fesm2020":"../../fesm2020/daffodil-design-accordion-examples.mjs","fesm2015":"../../fesm2015/daffodil-design-accordion-examples.mjs","typings":"daffodil-design-accordion-examples.d.ts","sideEffects":false,"version":"0.61.0"}
|
@@ -1 +1 @@
|
|
1
|
-
{"name":"@daffodil/design/article/examples","module":"../../fesm2015/daffodil-design-article-examples.mjs","es2020":"../../fesm2020/daffodil-design-article-examples.mjs","esm2020":"../../esm2020/article/examples/daffodil-design-article-examples.mjs","fesm2020":"../../fesm2020/daffodil-design-article-examples.mjs","fesm2015":"../../fesm2015/daffodil-design-article-examples.mjs","typings":"daffodil-design-article-examples.d.ts","sideEffects":false,"version":"0.
|
1
|
+
{"name":"@daffodil/design/article/examples","module":"../../fesm2015/daffodil-design-article-examples.mjs","es2020":"../../fesm2020/daffodil-design-article-examples.mjs","esm2020":"../../esm2020/article/examples/daffodil-design-article-examples.mjs","fesm2020":"../../fesm2020/daffodil-design-article-examples.mjs","fesm2015":"../../fesm2015/daffodil-design-article-examples.mjs","typings":"daffodil-design-article-examples.d.ts","sideEffects":false,"version":"0.61.0"}
|
@@ -41,7 +41,7 @@ declare const _daffButtonBase: {
|
|
41
41
|
_renderer: Renderer2;
|
42
42
|
};
|
43
43
|
} & import("@daffodil/design").Constructor<import("../../core/sizeable/sizeable-mixin").HasElementRef>;
|
44
|
-
export declare type DaffButtonType = 'daff-button' | 'daff-stroked-button' | 'daff-raised-button' | 'daff-icon-button' | 'daff-underline-button' | undefined;
|
44
|
+
export declare type DaffButtonType = 'daff-button' | 'daff-stroked-button' | 'daff-raised-button' | 'daff-flat-button' | 'daff-icon-button' | 'daff-underline-button' | undefined;
|
45
45
|
/**
|
46
46
|
* The DaffSizeable types that the DaffButtonComponent can implement
|
47
47
|
*/
|
@@ -70,6 +70,10 @@ export declare class DaffButtonComponent extends _daffButtonBase implements OnIn
|
|
70
70
|
* @docs-private
|
71
71
|
*/
|
72
72
|
get raised(): boolean;
|
73
|
+
/**
|
74
|
+
* @docs-private
|
75
|
+
*/
|
76
|
+
get flat(): boolean;
|
73
77
|
/**
|
74
78
|
* @docs-private
|
75
79
|
*/
|
@@ -78,12 +82,24 @@ export declare class DaffButtonComponent extends _daffButtonBase implements OnIn
|
|
78
82
|
* @docs-private
|
79
83
|
*/
|
80
84
|
get underline(): boolean;
|
85
|
+
get disabledClass(): any;
|
86
|
+
loading: boolean;
|
87
|
+
tabindex: number;
|
88
|
+
_disabled: boolean;
|
89
|
+
/**
|
90
|
+
* The disabled state of the button.
|
91
|
+
*/
|
92
|
+
get disabled(): any;
|
93
|
+
set disabled(value: any);
|
94
|
+
get disabledAttribute(): boolean;
|
95
|
+
get ariaDisabled(): boolean;
|
96
|
+
get disabledTabIndex(): number;
|
81
97
|
private _getHostElement;
|
82
98
|
/**
|
83
99
|
* Gets whether the button has one of the given attributes.
|
84
100
|
* */
|
85
101
|
private _hasHostAttributes;
|
86
102
|
static ɵfac: i0.ɵɵFactoryDeclaration<DaffButtonComponent, never>;
|
87
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DaffButtonComponent, "button[daff-button],button[daff-stroked-button],button[daff-raised-button],button[daff-icon-button],button[daff-underline-button],a[daff-button],a[daff-stroked-button],a[daff-raised-button],a[daff-icon-button],a[daff-underline-button]", never, { "color": "color"; "size": "size"; "status": "status"; }, {}, never, ["[daffPrefix]", "*", "[daffSuffix]"]>;
|
103
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DaffButtonComponent, "button[daff-button],button[daff-stroked-button],button[daff-raised-button],button[daff-flat-button],button[daff-icon-button],button[daff-underline-button],a[daff-button],a[daff-stroked-button],a[daff-raised-button],a[daff-flat-button],a[daff-icon-button],a[daff-underline-button]", never, { "color": "color"; "size": "size"; "status": "status"; "loading": "loading"; "tabindex": "tabindex"; "disabled": "disabled"; }, {}, never, ["[daffPrefix]", "*", "[daffSuffix]"]>;
|
88
104
|
}
|
89
105
|
export {};
|
@@ -2,8 +2,9 @@ import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./button.component";
|
3
3
|
import * as i2 from "@angular/common";
|
4
4
|
import * as i3 from "../../core/prefix-suffix/prefix-suffix.module";
|
5
|
+
import * as i4 from "../loading-icon/loading-icon.module";
|
5
6
|
export declare class DaffButtonModule {
|
6
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<DaffButtonModule, never>;
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DaffButtonModule, [typeof i1.DaffButtonComponent], [typeof i2.CommonModule, typeof i3.DaffPrefixSuffixModule], [typeof i1.DaffButtonComponent, typeof i3.DaffPrefixSuffixModule]>;
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DaffButtonModule, [typeof i1.DaffButtonComponent], [typeof i2.CommonModule, typeof i3.DaffPrefixSuffixModule, typeof i4.DaffLoadingIconModule], [typeof i1.DaffButtonComponent, typeof i3.DaffPrefixSuffixModule]>;
|
8
9
|
static ɵinj: i0.ɵɵInjectorDeclaration<DaffButtonModule>;
|
9
10
|
}
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import * as i0 from "@angular/core";
|
2
2
|
export declare class DaffErrorMessageComponent {
|
3
|
+
class: boolean;
|
3
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<DaffErrorMessageComponent, never>;
|
4
5
|
static ɵcmp: i0.ɵɵComponentDeclaration<DaffErrorMessageComponent, "daff-error-message", never, {}, {}, never, ["*"]>;
|
5
6
|
}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
export declare class DaffFormLabelDirective {
|
3
|
+
class: boolean;
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DaffFormLabelDirective, never>;
|
5
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DaffFormLabelDirective, "[daffFormLabel]", never, {}, {}, never>;
|
6
|
+
}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
import * as i1 from "./form-label.directive";
|
3
|
+
export declare class DaffFormLabelModule {
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DaffFormLabelModule, never>;
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DaffFormLabelModule, [typeof i1.DaffFormLabelDirective], never, [typeof i1.DaffFormLabelDirective]>;
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DaffFormLabelModule>;
|
7
|
+
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ElementRef } from '@angular/core';
|
2
2
|
import { NgControl } from '@angular/forms';
|
3
|
-
import { DaffFormFieldControl } from '
|
3
|
+
import { DaffFormFieldControl } from '../form-field/form-field-control';
|
4
4
|
import * as i0 from "@angular/core";
|
5
5
|
export declare class DaffNativeSelectComponent implements DaffFormFieldControl {
|
6
6
|
/**
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as i0 from "@angular/core";
|
2
|
-
import * as i1 from "./select
|
2
|
+
import * as i1 from "./native-select.component";
|
3
3
|
import * as i2 from "@angular/common";
|
4
4
|
export declare class DaffNativeSelectModule {
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<DaffNativeSelectModule, never>;
|
@@ -3,7 +3,7 @@ import * as i1 from "./quantity-field.component";
|
|
3
3
|
import * as i2 from "./quantity-input/quantity-input.component";
|
4
4
|
import * as i3 from "./quantity-select/quantity-select.component";
|
5
5
|
import * as i4 from "@angular/common";
|
6
|
-
import * as i5 from "../select/select.module";
|
6
|
+
import * as i5 from "../native-select/native-select.module";
|
7
7
|
import * as i6 from "../input/input.module";
|
8
8
|
import * as i7 from "@angular/forms";
|
9
9
|
export declare class DaffQuantityFieldModule {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ChangeDetectorRef } from '@angular/core';
|
2
2
|
import { NgControl } from '@angular/forms';
|
3
|
-
import { DaffNativeSelectComponent } from '../../select/public_api';
|
3
|
+
import { DaffNativeSelectComponent } from '../../native-select/public_api';
|
4
4
|
import * as i0 from "@angular/core";
|
5
5
|
/**
|
6
6
|
* Create an array of numbers from min to max, not including max.
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ElementRef, Renderer2 } from '@angular/core';
|
2
|
-
import { DaffColorable
|
2
|
+
import { DaffColorable } from '../../core/colorable/public_api';
|
3
3
|
import * as i0 from "@angular/core";
|
4
4
|
/**
|
5
5
|
* An _elementRef and an instance of renderer2 are needed for the Colorable mixin
|
@@ -11,8 +11,8 @@ declare class DaffLoadingIconBase {
|
|
11
11
|
}
|
12
12
|
declare const _daffLoadingIconBase: {
|
13
13
|
new (...args: any[]): {
|
14
|
-
_color: DaffPalette;
|
15
|
-
color: DaffPalette;
|
14
|
+
_color: import("../../core/colorable/colorable").DaffPalette;
|
15
|
+
color: import("../../core/colorable/colorable").DaffPalette;
|
16
16
|
_elementRef: ElementRef<any>;
|
17
17
|
_renderer: Renderer2;
|
18
18
|
};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import { BasicButtonComponent } from './basic-button/basic-button.component';
|
2
|
+
import { IconButtonComponent } from './icon-button/icon-button.component';
|
3
|
+
import { StatusableButtonComponent } from './statusable-button/statusable-button.component';
|
4
|
+
export declare const BUTTON_EXAMPLES: (typeof BasicButtonComponent | typeof IconButtonComponent | typeof StatusableButtonComponent)[];
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
export declare class FlatButtonComponent {
|
3
|
+
faChevronLeft: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
4
|
+
faChevronRight: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FlatButtonComponent, never>;
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FlatButtonComponent, "flat-button", never, {}, {}, never, never>;
|
7
|
+
}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
import * as i1 from "./flat-button.component";
|
3
|
+
import * as i2 from "@daffodil/design";
|
4
|
+
import * as i3 from "@fortawesome/angular-fontawesome";
|
5
|
+
export declare class FlatButtonModule {
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FlatButtonModule, never>;
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FlatButtonModule, [typeof i1.FlatButtonComponent], [typeof i2.DaffButtonModule, typeof i3.FontAwesomeModule], [typeof i1.FlatButtonComponent]>;
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FlatButtonModule>;
|
9
|
+
}
|
@@ -1 +1 @@
|
|
1
|
-
{"name":"@daffodil/design/button/examples","module":"../../fesm2015/daffodil-design-button-examples.mjs","es2020":"../../fesm2020/daffodil-design-button-examples.mjs","esm2020":"../../esm2020/button/examples/daffodil-design-button-examples.mjs","fesm2020":"../../fesm2020/daffodil-design-button-examples.mjs","fesm2015":"../../fesm2015/daffodil-design-button-examples.mjs","typings":"daffodil-design-button-examples.d.ts","sideEffects":false,"version":"0.
|
1
|
+
{"name":"@daffodil/design/button/examples","module":"../../fesm2015/daffodil-design-button-examples.mjs","es2020":"../../fesm2020/daffodil-design-button-examples.mjs","esm2020":"../../esm2020/button/examples/daffodil-design-button-examples.mjs","fesm2020":"../../fesm2020/daffodil-design-button-examples.mjs","fesm2015":"../../fesm2015/daffodil-design-button-examples.mjs","typings":"daffodil-design-button-examples.d.ts","sideEffects":false,"version":"0.61.0"}
|
@@ -1,16 +1,17 @@
|
|
1
|
-
|
1
|
+
export { BUTTON_EXAMPLES } from './examples';
|
2
|
+
export { BasicButtonComponent } from './basic-button/basic-button.component';
|
2
3
|
export { BasicButtonModule } from './basic-button/basic-button.module';
|
3
|
-
|
4
|
+
export { FlatButtonComponent } from './flat-button/flat-button.component';
|
5
|
+
export { FlatButtonModule } from './flat-button/flat-button.module';
|
6
|
+
export { IconButtonComponent } from './icon-button/icon-button.component';
|
4
7
|
export { IconButtonModule } from './icon-button/icon-button.module';
|
5
|
-
|
8
|
+
export { RaisedButtonComponent } from './raised-button/raised-button.component';
|
6
9
|
export { RaisedButtonModule } from './raised-button/raised-button.module';
|
7
|
-
|
10
|
+
export { SizeableButtonComponent } from './sizeable-button/sizeable-button.component';
|
8
11
|
export { SizeableButtonModule } from './sizeable-button/sizeable-button.module';
|
9
|
-
|
12
|
+
export { StatusableButtonComponent } from './statusable-button/statusable-button.component';
|
10
13
|
export { StatusableButtonModule } from './statusable-button/statusable-button.module';
|
11
|
-
|
14
|
+
export { StrokedButtonComponent } from './stroked-button/stroked-button.component';
|
12
15
|
export { StrokedButtonModule } from './stroked-button/stroked-button.module';
|
13
|
-
|
16
|
+
export { UnderlineButtonComponent } from './underline-button/underline-button.component';
|
14
17
|
export { UnderlineButtonModule } from './underline-button/underline-button.module';
|
15
|
-
export declare const BUTTON_EXAMPLES: (typeof BasicButtonComponent | typeof IconButtonComponent | typeof StatusableButtonComponent)[];
|
16
|
-
export { BasicButtonComponent, IconButtonComponent, RaisedButtonComponent, SizeableButtonComponent, StatusableButtonComponent, StrokedButtonComponent, UnderlineButtonComponent, };
|
@@ -1 +1 @@
|
|
1
|
-
{"name":"@daffodil/design/callout/examples","module":"../../fesm2015/daffodil-design-callout-examples.mjs","es2020":"../../fesm2020/daffodil-design-callout-examples.mjs","esm2020":"../../esm2020/callout/examples/daffodil-design-callout-examples.mjs","fesm2020":"../../fesm2020/daffodil-design-callout-examples.mjs","fesm2015":"../../fesm2015/daffodil-design-callout-examples.mjs","typings":"daffodil-design-callout-examples.d.ts","sideEffects":false,"version":"0.
|
1
|
+
{"name":"@daffodil/design/callout/examples","module":"../../fesm2015/daffodil-design-callout-examples.mjs","es2020":"../../fesm2020/daffodil-design-callout-examples.mjs","esm2020":"../../esm2020/callout/examples/daffodil-design-callout-examples.mjs","fesm2020":"../../fesm2020/daffodil-design-callout-examples.mjs","fesm2015":"../../fesm2015/daffodil-design-callout-examples.mjs","typings":"daffodil-design-callout-examples.d.ts","sideEffects":false,"version":"0.61.0"}
|
@@ -1 +1 @@
|
|
1
|
-
{"name":"@daffodil/design/card/examples","module":"../../fesm2015/daffodil-design-card-examples.mjs","es2020":"../../fesm2020/daffodil-design-card-examples.mjs","esm2020":"../../esm2020/card/examples/daffodil-design-card-examples.mjs","fesm2020":"../../fesm2020/daffodil-design-card-examples.mjs","fesm2015":"../../fesm2015/daffodil-design-card-examples.mjs","typings":"daffodil-design-card-examples.d.ts","sideEffects":false,"version":"0.
|
1
|
+
{"name":"@daffodil/design/card/examples","module":"../../fesm2015/daffodil-design-card-examples.mjs","es2020":"../../fesm2020/daffodil-design-card-examples.mjs","esm2020":"../../esm2020/card/examples/daffodil-design-card-examples.mjs","fesm2020":"../../fesm2020/daffodil-design-card-examples.mjs","fesm2015":"../../fesm2015/daffodil-design-card-examples.mjs","typings":"daffodil-design-card-examples.d.ts","sideEffects":false,"version":"0.61.0"}
|
@@ -1 +1 @@
|
|
1
|
-
{"name":"@daffodil/design/checkbox/examples","module":"../../fesm2015/daffodil-design-checkbox-examples.mjs","es2020":"../../fesm2020/daffodil-design-checkbox-examples.mjs","esm2020":"../../esm2020/checkbox/examples/daffodil-design-checkbox-examples.mjs","fesm2020":"../../fesm2020/daffodil-design-checkbox-examples.mjs","fesm2015":"../../fesm2015/daffodil-design-checkbox-examples.mjs","typings":"daffodil-design-checkbox-examples.d.ts","sideEffects":false,"version":"0.
|
1
|
+
{"name":"@daffodil/design/checkbox/examples","module":"../../fesm2015/daffodil-design-checkbox-examples.mjs","es2020":"../../fesm2020/daffodil-design-checkbox-examples.mjs","esm2020":"../../esm2020/checkbox/examples/daffodil-design-checkbox-examples.mjs","fesm2020":"../../fesm2020/daffodil-design-checkbox-examples.mjs","fesm2015":"../../fesm2015/daffodil-design-checkbox-examples.mjs","typings":"daffodil-design-checkbox-examples.d.ts","sideEffects":false,"version":"0.61.0"}
|
@@ -1 +1 @@
|
|
1
|
-
{"name":"@daffodil/design/container/examples","module":"../../fesm2015/daffodil-design-container-examples.mjs","es2020":"../../fesm2020/daffodil-design-container-examples.mjs","esm2020":"../../esm2020/container/examples/daffodil-design-container-examples.mjs","fesm2020":"../../fesm2020/daffodil-design-container-examples.mjs","fesm2015":"../../fesm2015/daffodil-design-container-examples.mjs","typings":"daffodil-design-container-examples.d.ts","sideEffects":false,"version":"0.
|
1
|
+
{"name":"@daffodil/design/container/examples","module":"../../fesm2015/daffodil-design-container-examples.mjs","es2020":"../../fesm2020/daffodil-design-container-examples.mjs","esm2020":"../../esm2020/container/examples/daffodil-design-container-examples.mjs","fesm2020":"../../fesm2020/daffodil-design-container-examples.mjs","fesm2015":"../../fesm2015/daffodil-design-container-examples.mjs","typings":"daffodil-design-container-examples.d.ts","sideEffects":false,"version":"0.61.0"}
|
package/core/public_api.d.ts
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
export * from './prefix-suffix/public_api';
|
2
|
-
export * from './colorable/
|
2
|
+
export * from './colorable/public_api';
|
3
3
|
export * from './breakpoints/breakpoints';
|
4
4
|
export * from './constructor/constructor';
|
5
|
-
export * from './statusable/
|
5
|
+
export * from './statusable/public_api';
|
6
6
|
export * from './skeletonable/skeletonable';
|
7
7
|
export * from './mutable/mutable';
|
8
8
|
export * from './text-alignable/text-alignable';
|
@@ -1,11 +1,13 @@
|
|
1
|
-
import {
|
1
|
+
import { coerceBooleanProperty } from '@angular/cdk/coercion';
|
2
|
+
import { Component, ViewEncapsulation, ChangeDetectionStrategy, ElementRef, HostBinding, Renderer2, Input, } from '@angular/core';
|
2
3
|
import { daffArticleEncapsulatedMixin } from '../../core/article-encapsulated/public_api';
|
3
4
|
import { daffColorMixin, } from '../../core/colorable/public_api';
|
4
5
|
import { daffPrefixableMixin, daffSuffixableMixin, } from '../../core/prefix-suffix/public_api';
|
5
6
|
import { daffSizeMixin } from '../../core/sizeable/sizeable-mixin';
|
6
7
|
import { daffStatusMixin } from '../../core/statusable/statusable-mixin';
|
7
8
|
import * as i0 from "@angular/core";
|
8
|
-
import * as i1 from "
|
9
|
+
import * as i1 from "../loading-icon/loading-icon.component";
|
10
|
+
import * as i2 from "@angular/common";
|
9
11
|
/**
|
10
12
|
* List of classes to add to DaffButtonComponent instances based on host attributes to style as different variants.
|
11
13
|
*/
|
@@ -13,6 +15,7 @@ const BUTTON_HOST_ATTRIBUTES = [
|
|
13
15
|
'daff-button',
|
14
16
|
'daff-stroked-button',
|
15
17
|
'daff-raised-button',
|
18
|
+
'daff-flat-button',
|
16
19
|
'daff-icon-button',
|
17
20
|
'daff-underline-button',
|
18
21
|
];
|
@@ -31,6 +34,7 @@ var DaffButtonTypeEnum;
|
|
31
34
|
DaffButtonTypeEnum["Default"] = "daff-button";
|
32
35
|
DaffButtonTypeEnum["Stroked"] = "daff-stroked-button";
|
33
36
|
DaffButtonTypeEnum["Raised"] = "daff-raised-button";
|
37
|
+
DaffButtonTypeEnum["Flat"] = "daff-flat-button";
|
34
38
|
DaffButtonTypeEnum["Icon"] = "daff-icon-button";
|
35
39
|
DaffButtonTypeEnum["Underline"] = "daff-underline-button";
|
36
40
|
})(DaffButtonTypeEnum || (DaffButtonTypeEnum = {}));
|
@@ -42,6 +46,9 @@ export class DaffButtonComponent extends _daffButtonBase {
|
|
42
46
|
super(elementRef, renderer);
|
43
47
|
this.elementRef = elementRef;
|
44
48
|
this.renderer = renderer;
|
49
|
+
this.loading = false;
|
50
|
+
this.tabindex = 0;
|
51
|
+
this._disabled = false;
|
45
52
|
for (const attr of BUTTON_HOST_ATTRIBUTES) {
|
46
53
|
if (this._hasHostAttributes(attr)) {
|
47
54
|
elementRef.nativeElement.classList.add(attr);
|
@@ -76,6 +83,12 @@ export class DaffButtonComponent extends _daffButtonBase {
|
|
76
83
|
get raised() {
|
77
84
|
return this.buttonType === DaffButtonTypeEnum.Raised;
|
78
85
|
}
|
86
|
+
/**
|
87
|
+
* @docs-private
|
88
|
+
*/
|
89
|
+
get flat() {
|
90
|
+
return this.buttonType === DaffButtonTypeEnum.Flat;
|
91
|
+
}
|
79
92
|
/**
|
80
93
|
* @docs-private
|
81
94
|
*/
|
@@ -88,6 +101,27 @@ export class DaffButtonComponent extends _daffButtonBase {
|
|
88
101
|
get underline() {
|
89
102
|
return this.buttonType === DaffButtonTypeEnum.Underline;
|
90
103
|
}
|
104
|
+
get disabledClass() {
|
105
|
+
return this.disabled;
|
106
|
+
}
|
107
|
+
/**
|
108
|
+
* The disabled state of the button.
|
109
|
+
*/
|
110
|
+
get disabled() {
|
111
|
+
return this._disabled || this.loading;
|
112
|
+
}
|
113
|
+
set disabled(value) {
|
114
|
+
this._disabled = coerceBooleanProperty(value);
|
115
|
+
}
|
116
|
+
get disabledAttribute() {
|
117
|
+
return this.disabled ? true : null;
|
118
|
+
}
|
119
|
+
get ariaDisabled() {
|
120
|
+
return this.disabled ? true : null;
|
121
|
+
}
|
122
|
+
get disabledTabIndex() {
|
123
|
+
return this.disabled ? -1 : this.tabindex;
|
124
|
+
}
|
91
125
|
_getHostElement() {
|
92
126
|
return this.elementRef.nativeElement;
|
93
127
|
}
|
@@ -99,20 +133,22 @@ export class DaffButtonComponent extends _daffButtonBase {
|
|
99
133
|
}
|
100
134
|
}
|
101
135
|
/** @nocollapse */ DaffButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffButtonComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
102
|
-
/** @nocollapse */ DaffButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: DaffButtonComponent, selector: "button[daff-button],button[daff-stroked-button],button[daff-raised-button],button[daff-icon-button],button[daff-underline-button],a[daff-button],a[daff-stroked-button],a[daff-raised-button],a[daff-icon-button],a[daff-underline-button]", inputs: { color: "color", size: "size", status: "status" }, host: { properties: { "class.daff-button": "this.button", "class.daff-stroked-button": "this.stroked", "class.daff-raised-button": "this.raised", "class.daff-icon-button": "this.icon", "class.daff-underline-button": "this.underline" } }, usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"_prefix\">\n <ng-content select=\"[daffPrefix]\"></ng-content>\n</ng-container>\n<span><ng-content></ng-content></span>\n<ng-container *ngIf=\"_suffix\">\n <ng-content select=\"[daffSuffix]\"></ng-content>\n</ng-container>", styles: [".daff-button,.daff-raised-button,.daff-stroked-button{cursor:pointer;-webkit-user-select:none;user-select:none;display:inline-
|
136
|
+
/** @nocollapse */ DaffButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: DaffButtonComponent, selector: "button[daff-button],button[daff-stroked-button],button[daff-raised-button],button[daff-flat-button],button[daff-icon-button],button[daff-underline-button],a[daff-button],a[daff-stroked-button],a[daff-raised-button],a[daff-flat-button],a[daff-icon-button],a[daff-underline-button]", inputs: { color: "color", size: "size", status: "status", loading: "loading", tabindex: "tabindex", disabled: "disabled" }, host: { properties: { "class.daff-button": "this.button", "class.daff-stroked-button": "this.stroked", "class.daff-raised-button": "this.raised", "class.daff-flat-button": "this.flat", "class.daff-icon-button": "this.icon", "class.daff-underline-button": "this.underline", "class.daff-button--disabled": "this.disabledClass", "attr.disabled": "this.disabledAttribute", "attr.aria-disabled": "this.ariaDisabled", "attr.tabindex": "this.disabledTabIndex" } }, usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"_prefix\">\n <ng-content select=\"[daffPrefix]\"></ng-content>\n</ng-container>\n<span class=\"daff-button__content\" *ngIf=\"!loading\"><ng-content></ng-content></span>\n<daff-loading-icon *ngIf=\"loading\" [diameter]=\"24\"></daff-loading-icon>\n<ng-container *ngIf=\"_suffix\">\n <ng-content select=\"[daffSuffix]\"></ng-content>\n</ng-container>", styles: [".daff-button,.daff-raised-button,.daff-stroked-button,.daff-flat-button{cursor:pointer;-webkit-user-select:none;user-select:none;display:inline-flex;justify-content:center;align-items:center;gap:8px;-webkit-appearance:none;appearance:none;border:none;border-radius:4px;position:relative;text-align:center;text-decoration:none;min-width:96px}.daff-button[disabled],.daff-button.daff-button--disabled,.daff-raised-button[disabled],.daff-raised-button.daff-button--disabled,.daff-stroked-button[disabled],.daff-stroked-button.daff-button--disabled,.daff-flat-button[disabled],.daff-flat-button.daff-button--disabled{cursor:not-allowed}.daff-button[disabled]:hover:after,.daff-button.daff-button--disabled:hover:after,.daff-raised-button[disabled]:hover:after,.daff-raised-button.daff-button--disabled:hover:after,.daff-stroked-button[disabled]:hover:after,.daff-stroked-button.daff-button--disabled:hover:after,.daff-flat-button[disabled]:hover:after,.daff-flat-button.daff-button--disabled:hover:after{opacity:0}.daff-button .daff-button__content,.daff-button .daff-prefix,.daff-button .daff-suffix,.daff-raised-button .daff-button__content,.daff-raised-button .daff-prefix,.daff-raised-button .daff-suffix,.daff-stroked-button .daff-button__content,.daff-stroked-button .daff-prefix,.daff-stroked-button .daff-suffix,.daff-flat-button .daff-button__content,.daff-flat-button .daff-prefix,.daff-flat-button .daff-suffix{z-index:2}.daff-button.daff-sm,.daff-raised-button.daff-sm,.daff-stroked-button.daff-sm,.daff-flat-button.daff-sm{font-size:.875rem;line-height:2rem;height:2rem;padding:0 1rem}.daff-button.daff-md,.daff-raised-button.daff-md,.daff-stroked-button.daff-md,.daff-flat-button.daff-md{font-size:1rem;line-height:3rem;height:3rem;padding:0 1.5rem}.daff-button.daff-lg,.daff-raised-button.daff-lg,.daff-stroked-button.daff-lg,.daff-flat-button.daff-lg{font-size:1.25rem;line-height:3.5rem;height:3.5rem;padding:0 1.5rem}.daff-button:after,.daff-flat-button:after{content:\"\";border-radius:4px;position:absolute;width:100%;height:100%;opacity:0;transition:opacity .3s}.daff-button:hover:after,.daff-button:active:after,.daff-flat-button:hover:after,.daff-flat-button:active:after{opacity:1}.daff-raised-button:after{content:\"\";border-radius:0;position:absolute;width:100%;height:100%;opacity:0;transition:opacity .3s}.daff-raised-button:hover:after,.daff-raised-button:active:after{opacity:1}.daff-stroked-button:after{content:\"\";border-radius:3px;position:absolute;width:100%;height:100%;opacity:0;transition:opacity .3s}.daff-stroked-button:hover:after,.daff-stroked-button:active:after{opacity:1}.daff-flat-button{background:none;border:none}.daff-icon-button{cursor:pointer;-webkit-user-select:none;user-select:none;display:inline-flex;justify-content:center;align-items:center;gap:8px;-webkit-appearance:none;appearance:none;border:none;border-radius:4px;position:relative;text-align:center;text-decoration:none;background:none;border:0;padding:0}.daff-icon-button[disabled],.daff-icon-button.daff-button--disabled{cursor:not-allowed}.daff-icon-button[disabled]:hover:after,.daff-icon-button.daff-button--disabled:hover:after{opacity:0}.daff-icon-button .daff-button__content,.daff-icon-button .daff-prefix,.daff-icon-button .daff-suffix{z-index:2}.daff-icon-button.daff-sm{font-size:.875rem;line-height:2rem;height:2rem;width:2rem}.daff-icon-button.daff-md{font-size:1rem;line-height:3rem;height:3rem;width:3rem}.daff-icon-button.daff-lg{font-size:1.25rem;line-height:3.5rem;height:3.5rem;width:3.5rem}.daff-underline-button{cursor:pointer;-webkit-user-select:none;user-select:none;display:inline-flex;justify-content:center;align-items:center;gap:8px;-webkit-appearance:none;appearance:none;border:none;position:relative;text-align:center;background:transparent;border:0;border-radius:0;line-height:1.25rem;overflow:hidden;text-decoration:none;vertical-align:middle}.daff-underline-button[disabled]:hover:after,.daff-underline-button.daff-button--disabled:hover:after{opacity:0}.daff-underline-button .daff-button__content,.daff-underline-button .daff-prefix,.daff-underline-button .daff-suffix{z-index:2}.daff-underline-button[disabled],.daff-underline-button.daff-button--disabled{cursor:not-allowed}.daff-underline-button[disabled]:hover:after,.daff-underline-button[disabled]:active:after,.daff-underline-button.daff-button--disabled:hover:after,.daff-underline-button.daff-button--disabled:active:after{animation:none}.daff-underline-button:after{bottom:0;content:\"\";height:2px;left:0;opacity:1;position:absolute;width:100%}.daff-underline-button:hover:after{animation:none}@media (min-width: 1024px){.daff-underline-button:hover:after{animation:underline-button-hover .7s ease}}.daff-underline-button.daff-sm{font-size:.875rem;height:1.25rem;padding:0}.daff-underline-button.daff-md{font-size:1rem;height:1.5rem;padding:0 0 4px}.daff-underline-button.daff-lg{font-size:1.25rem;height:1.75rem;padding:0 0 8px}@keyframes underline-button-hover{0%{transform:translate(0)}50%{transform:translate(100%)}51%{transform:translate(-100%)}to{transform:translate(0)}}\n"], components: [{ type: i1.DaffLoadingIconComponent, selector: "daff-loading-icon", inputs: ["color", "diameter"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
103
137
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffButtonComponent, decorators: [{
|
104
138
|
type: Component,
|
105
139
|
args: [{ selector: '' +
|
106
140
|
'button[daff-button]' + ',' +
|
107
141
|
'button[daff-stroked-button]' + ',' +
|
108
142
|
'button[daff-raised-button]' + ',' +
|
143
|
+
'button[daff-flat-button]' + ',' +
|
109
144
|
'button[daff-icon-button]' + ',' +
|
110
145
|
'button[daff-underline-button]' + ',' +
|
111
146
|
'a[daff-button]' + ',' +
|
112
147
|
'a[daff-stroked-button]' + ',' +
|
113
148
|
'a[daff-raised-button]' + ',' +
|
149
|
+
'a[daff-flat-button]' + ',' +
|
114
150
|
'a[daff-icon-button]' + ',' +
|
115
|
-
'a[daff-underline-button]', inputs: ['color', 'size', 'status'], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container *ngIf=\"_prefix\">\n <ng-content select=\"[daffPrefix]\"></ng-content>\n</ng-container>\n<span><ng-content></ng-content></span>\n<ng-container *ngIf=\"_suffix\">\n <ng-content select=\"[daffSuffix]\"></ng-content>\n</ng-container>", styles: [".daff-button,.daff-raised-button,.daff-stroked-button{cursor:pointer;-webkit-user-select:none;user-select:none;display:inline-
|
151
|
+
'a[daff-underline-button]', inputs: ['color', 'size', 'status'], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container *ngIf=\"_prefix\">\n <ng-content select=\"[daffPrefix]\"></ng-content>\n</ng-container>\n<span class=\"daff-button__content\" *ngIf=\"!loading\"><ng-content></ng-content></span>\n<daff-loading-icon *ngIf=\"loading\" [diameter]=\"24\"></daff-loading-icon>\n<ng-container *ngIf=\"_suffix\">\n <ng-content select=\"[daffSuffix]\"></ng-content>\n</ng-container>", styles: [".daff-button,.daff-raised-button,.daff-stroked-button,.daff-flat-button{cursor:pointer;-webkit-user-select:none;user-select:none;display:inline-flex;justify-content:center;align-items:center;gap:8px;-webkit-appearance:none;appearance:none;border:none;border-radius:4px;position:relative;text-align:center;text-decoration:none;min-width:96px}.daff-button[disabled],.daff-button.daff-button--disabled,.daff-raised-button[disabled],.daff-raised-button.daff-button--disabled,.daff-stroked-button[disabled],.daff-stroked-button.daff-button--disabled,.daff-flat-button[disabled],.daff-flat-button.daff-button--disabled{cursor:not-allowed}.daff-button[disabled]:hover:after,.daff-button.daff-button--disabled:hover:after,.daff-raised-button[disabled]:hover:after,.daff-raised-button.daff-button--disabled:hover:after,.daff-stroked-button[disabled]:hover:after,.daff-stroked-button.daff-button--disabled:hover:after,.daff-flat-button[disabled]:hover:after,.daff-flat-button.daff-button--disabled:hover:after{opacity:0}.daff-button .daff-button__content,.daff-button .daff-prefix,.daff-button .daff-suffix,.daff-raised-button .daff-button__content,.daff-raised-button .daff-prefix,.daff-raised-button .daff-suffix,.daff-stroked-button .daff-button__content,.daff-stroked-button .daff-prefix,.daff-stroked-button .daff-suffix,.daff-flat-button .daff-button__content,.daff-flat-button .daff-prefix,.daff-flat-button .daff-suffix{z-index:2}.daff-button.daff-sm,.daff-raised-button.daff-sm,.daff-stroked-button.daff-sm,.daff-flat-button.daff-sm{font-size:.875rem;line-height:2rem;height:2rem;padding:0 1rem}.daff-button.daff-md,.daff-raised-button.daff-md,.daff-stroked-button.daff-md,.daff-flat-button.daff-md{font-size:1rem;line-height:3rem;height:3rem;padding:0 1.5rem}.daff-button.daff-lg,.daff-raised-button.daff-lg,.daff-stroked-button.daff-lg,.daff-flat-button.daff-lg{font-size:1.25rem;line-height:3.5rem;height:3.5rem;padding:0 1.5rem}.daff-button:after,.daff-flat-button:after{content:\"\";border-radius:4px;position:absolute;width:100%;height:100%;opacity:0;transition:opacity .3s}.daff-button:hover:after,.daff-button:active:after,.daff-flat-button:hover:after,.daff-flat-button:active:after{opacity:1}.daff-raised-button:after{content:\"\";border-radius:0;position:absolute;width:100%;height:100%;opacity:0;transition:opacity .3s}.daff-raised-button:hover:after,.daff-raised-button:active:after{opacity:1}.daff-stroked-button:after{content:\"\";border-radius:3px;position:absolute;width:100%;height:100%;opacity:0;transition:opacity .3s}.daff-stroked-button:hover:after,.daff-stroked-button:active:after{opacity:1}.daff-flat-button{background:none;border:none}.daff-icon-button{cursor:pointer;-webkit-user-select:none;user-select:none;display:inline-flex;justify-content:center;align-items:center;gap:8px;-webkit-appearance:none;appearance:none;border:none;border-radius:4px;position:relative;text-align:center;text-decoration:none;background:none;border:0;padding:0}.daff-icon-button[disabled],.daff-icon-button.daff-button--disabled{cursor:not-allowed}.daff-icon-button[disabled]:hover:after,.daff-icon-button.daff-button--disabled:hover:after{opacity:0}.daff-icon-button .daff-button__content,.daff-icon-button .daff-prefix,.daff-icon-button .daff-suffix{z-index:2}.daff-icon-button.daff-sm{font-size:.875rem;line-height:2rem;height:2rem;width:2rem}.daff-icon-button.daff-md{font-size:1rem;line-height:3rem;height:3rem;width:3rem}.daff-icon-button.daff-lg{font-size:1.25rem;line-height:3.5rem;height:3.5rem;width:3.5rem}.daff-underline-button{cursor:pointer;-webkit-user-select:none;user-select:none;display:inline-flex;justify-content:center;align-items:center;gap:8px;-webkit-appearance:none;appearance:none;border:none;position:relative;text-align:center;background:transparent;border:0;border-radius:0;line-height:1.25rem;overflow:hidden;text-decoration:none;vertical-align:middle}.daff-underline-button[disabled]:hover:after,.daff-underline-button.daff-button--disabled:hover:after{opacity:0}.daff-underline-button .daff-button__content,.daff-underline-button .daff-prefix,.daff-underline-button .daff-suffix{z-index:2}.daff-underline-button[disabled],.daff-underline-button.daff-button--disabled{cursor:not-allowed}.daff-underline-button[disabled]:hover:after,.daff-underline-button[disabled]:active:after,.daff-underline-button.daff-button--disabled:hover:after,.daff-underline-button.daff-button--disabled:active:after{animation:none}.daff-underline-button:after{bottom:0;content:\"\";height:2px;left:0;opacity:1;position:absolute;width:100%}.daff-underline-button:hover:after{animation:none}@media (min-width: 1024px){.daff-underline-button:hover:after{animation:underline-button-hover .7s ease}}.daff-underline-button.daff-sm{font-size:.875rem;height:1.25rem;padding:0}.daff-underline-button.daff-md{font-size:1rem;height:1.5rem;padding:0 0 4px}.daff-underline-button.daff-lg{font-size:1.25rem;height:1.75rem;padding:0 0 8px}@keyframes underline-button-hover{0%{transform:translate(0)}50%{transform:translate(100%)}51%{transform:translate(-100%)}to{transform:translate(0)}}\n"] }]
|
116
152
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { button: [{
|
117
153
|
type: HostBinding,
|
118
154
|
args: ['class.daff-button']
|
@@ -122,11 +158,32 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImpor
|
|
122
158
|
}], raised: [{
|
123
159
|
type: HostBinding,
|
124
160
|
args: ['class.daff-raised-button']
|
161
|
+
}], flat: [{
|
162
|
+
type: HostBinding,
|
163
|
+
args: ['class.daff-flat-button']
|
125
164
|
}], icon: [{
|
126
165
|
type: HostBinding,
|
127
166
|
args: ['class.daff-icon-button']
|
128
167
|
}], underline: [{
|
129
168
|
type: HostBinding,
|
130
169
|
args: ['class.daff-underline-button']
|
170
|
+
}], disabledClass: [{
|
171
|
+
type: HostBinding,
|
172
|
+
args: ['class.daff-button--disabled']
|
173
|
+
}], loading: [{
|
174
|
+
type: Input
|
175
|
+
}], tabindex: [{
|
176
|
+
type: Input
|
177
|
+
}], disabled: [{
|
178
|
+
type: Input
|
179
|
+
}], disabledAttribute: [{
|
180
|
+
type: HostBinding,
|
181
|
+
args: ['attr.disabled']
|
182
|
+
}], ariaDisabled: [{
|
183
|
+
type: HostBinding,
|
184
|
+
args: ['attr.aria-disabled']
|
185
|
+
}], disabledTabIndex: [{
|
186
|
+
type: HostBinding,
|
187
|
+
args: ['attr.tabindex']
|
131
188
|
}] } });
|
132
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL3NyYy9hdG9tcy9idXR0b24vYnV0dG9uLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL3NyYy9hdG9tcy9idXR0b24vYnV0dG9uLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCxTQUFTLEVBRVQsaUJBQW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bnQoKS5oYXNBdHRyaWJ1dGUoYXR0cmlidXRlKSk7XG4gIH1cbn1cbiIsIjxuZy1jb250YWluZXIgKm5nSWY9XCJfcHJlZml4XCI+XG4gIDxuZy1jb250ZW50IHNlbGVjdD1cIltkYWZmUHJlZml4XVwiPjwvbmctY29udGVudD5cbjwvbmctY29udGFpbmVyPlxuPHNwYW4gY2xhc3M9XCJkYWZmLWJ1dHRvbl9fY29udGVudFwiICpuZ0lmPVwiIWxvYWRpbmdcIj48bmctY29udGVudD48L25nLWNvbnRlbnQ+PC9zcGFuPlxuPGRhZmYtbG9hZGluZy1pY29uICpuZ0lmPVwibG9hZGluZ1wiIFtkaWFtZXRlcl09XCIyNFwiPjwvZGFmZi1sb2FkaW5nLWljb24+XG48bmctY29udGFpbmVyICpuZ0lmPVwiX3N1ZmZpeFwiPlxuICA8bmctY29udGVudCBzZWxlY3Q9XCJbZGFmZlN1ZmZpeF1cIj48L25nLWNvbnRlbnQ+XG48L25nLWNvbnRhaW5lcj4iXX0=
|
@@ -1,17 +1,20 @@
|
|
1
1
|
import { CommonModule } from '@angular/common';
|
2
2
|
import { NgModule } from '@angular/core';
|
3
3
|
import { DaffPrefixSuffixModule } from '../../core/prefix-suffix/prefix-suffix.module';
|
4
|
+
import { DaffLoadingIconModule } from '../loading-icon/loading-icon.module';
|
4
5
|
import { DaffButtonComponent } from './button.component';
|
5
6
|
import * as i0 from "@angular/core";
|
6
7
|
export class DaffButtonModule {
|
7
8
|
}
|
8
9
|
/** @nocollapse */ DaffButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
9
10
|
/** @nocollapse */ DaffButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffButtonModule, declarations: [DaffButtonComponent], imports: [CommonModule,
|
10
|
-
DaffPrefixSuffixModule
|
11
|
+
DaffPrefixSuffixModule,
|
12
|
+
DaffLoadingIconModule], exports: [DaffButtonComponent,
|
11
13
|
DaffPrefixSuffixModule] });
|
12
14
|
/** @nocollapse */ DaffButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffButtonModule, imports: [[
|
13
15
|
CommonModule,
|
14
16
|
DaffPrefixSuffixModule,
|
17
|
+
DaffLoadingIconModule,
|
15
18
|
], DaffPrefixSuffixModule] });
|
16
19
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffButtonModule, decorators: [{
|
17
20
|
type: NgModule,
|
@@ -19,6 +22,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImpor
|
|
19
22
|
imports: [
|
20
23
|
CommonModule,
|
21
24
|
DaffPrefixSuffixModule,
|
25
|
+
DaffLoadingIconModule,
|
22
26
|
],
|
23
27
|
declarations: [
|
24
28
|
DaffButtonComponent,
|
@@ -29,4 +33,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImpor
|
|
29
33
|
],
|
30
34
|
}]
|
31
35
|
}] });
|
32
|
-
//# sourceMappingURL=data:application/json;base64,
|
36
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL3NyYy9hdG9tcy9idXR0b24vYnV0dG9uLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUV6QyxPQUFPLEVBQUUsc0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GUnO1xuaW1wb3J0IHsgRGFmZkJ1dHRvbkNvbXBvbmVudCB9IGZyb20gJy4vYnV0dG9uLmNvbXBvbmVudCc7XG5cblxuQE5nTW9kdWxlKHtcbiAgaW1wb3J0czogW1xuICAgIENvbW1vbk1vZHVsZSxcbiAgICBEYWZmUHJlZml4U3VmZml4TW9kdWxlLFxuICAgIERhZmZMb2FkaW5nSWNvbk1vZHVsZSxcbiAgXSxcbiAgZGVjbGFyYXRpb25zOiBbXG4gICAgRGFmZkJ1dHRvbkNvbXBvbmVudCxcbiAgXSxcbiAgZXhwb3J0czogW1xuICAgIERhZmZCdXR0b25Db21wb25lbnQsXG4gICAgRGFmZlByZWZpeFN1ZmZpeE1vZHVsZSxcbiAgXSxcbn0pXG5leHBvcnQgY2xhc3MgRGFmZkJ1dHRvbk1vZHVsZSB7IH1cbiJdfQ==
|
@@ -1,11 +1,17 @@
|
|
1
|
-
import { Component, ChangeDetectionStrategy, } from '@angular/core';
|
1
|
+
import { Component, ChangeDetectionStrategy, HostBinding, } from '@angular/core';
|
2
2
|
import * as i0 from "@angular/core";
|
3
3
|
export class DaffErrorMessageComponent {
|
4
|
+
constructor() {
|
5
|
+
this.class = true;
|
6
|
+
}
|
4
7
|
}
|
5
8
|
/** @nocollapse */ DaffErrorMessageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffErrorMessageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
6
|
-
/** @nocollapse */ DaffErrorMessageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: DaffErrorMessageComponent, selector: "daff-error-message", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [":host{display:block;font-size:.875rem;margin-top:5px}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
9
|
+
/** @nocollapse */ DaffErrorMessageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: DaffErrorMessageComponent, selector: "daff-error-message", host: { properties: { "class.daff-error-message": "this.class" } }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [":host{display:block;font-size:.875rem;margin-top:5px}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
7
10
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffErrorMessageComponent, decorators: [{
|
8
11
|
type: Component,
|
9
12
|
args: [{ selector: 'daff-error-message', template: '<ng-content></ng-content>', changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{display:block;font-size:.875rem;margin-top:5px}\n"] }]
|
10
|
-
}]
|
11
|
-
|
13
|
+
}], propDecorators: { class: [{
|
14
|
+
type: HostBinding,
|
15
|
+
args: ['class.daff-error-message']
|
16
|
+
}] } });
|
17
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXJyb3ItbWVzc2FnZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2Rlc2lnbi9zcmMvYXRvbXMvZm9ybS9lcnJvci1tZXNzYWdlL2Vycm9yLW1lc3NhZ2UuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCxTQUFTLEVBQ1QsdUJBQXVCLEVBQ3ZCLFdBQVcsR0FDWixNQUFNLGVBQWUsQ0FBQzs7QUFRdkIsTUFBTSxPQUFPLHlCQUF5QjtJQU50QztRQU8yQyxVQUFLLEdBQUcsSUFBSSxDQUFDO0tBQ3ZEOzt5SUFGWSx5QkFBeUI7NkhBQXpCLHlCQUF5Qiw4SEFKMUIsMkJBQTJCOzJGQUkxQix5QkFBeUI7a0JBTnJDLFNBQVM7K0JBQ0Usb0JBQW9CLFlBQ3BCLDJCQUEyQixtQkFFcEIsdUJBQXVCLENBQUMsTUFBTTs4QkFHTixLQUFLO3NCQUE3QyxXQUFXO3VCQUFDLDBCQUEwQiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7XG4gIENvbXBvbmVudCxcbiAgQ2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3ksXG4gIEhvc3RCaW5kaW5nLFxufSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuQENvbXBvbmVudCh7XG4gIHNlbGVjdG9yOiAnZGFmZi1lcnJvci1tZXNzYWdlJyxcbiAgdGVtcGxhdGU6ICc8bmctY29udGVudD48L25nLWNvbnRlbnQ+JyxcbiAgc3R5bGVVcmxzOiBbJy4vZXJyb3ItbWVzc2FnZS5jb21wb25lbnQuc2NzcyddLFxuICBjaGFuZ2VEZXRlY3Rpb246IENoYW5nZURldGVjdGlvblN0cmF0ZWd5Lk9uUHVzaCxcbn0pXG5leHBvcnQgY2xhc3MgRGFmZkVycm9yTWVzc2FnZUNvbXBvbmVudCB7XG4gIEBIb3N0QmluZGluZygnY2xhc3MuZGFmZi1lcnJvci1tZXNzYWdlJykgY2xhc3MgPSB0cnVlO1xufVxuIl19
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import { Directive, HostBinding, } from '@angular/core';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export class DaffFormLabelDirective {
|
4
|
+
constructor() {
|
5
|
+
this.class = true;
|
6
|
+
}
|
7
|
+
}
|
8
|
+
/** @nocollapse */ DaffFormLabelDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffFormLabelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
9
|
+
/** @nocollapse */ DaffFormLabelDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.0", type: DaffFormLabelDirective, selector: "[daffFormLabel]", host: { properties: { "class.daff-form-label": "this.class" } }, ngImport: i0 });
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffFormLabelDirective, decorators: [{
|
11
|
+
type: Directive,
|
12
|
+
args: [{
|
13
|
+
selector: '[daffFormLabel]',
|
14
|
+
}]
|
15
|
+
}], propDecorators: { class: [{
|
16
|
+
type: HostBinding,
|
17
|
+
args: ['class.daff-form-label']
|
18
|
+
}] } });
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybS1sYWJlbC5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2Rlc2lnbi9zcmMvYXRvbXMvZm9ybS9mb3JtLWxhYmVsL2Zvcm0tbGFiZWwuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCxTQUFTLEVBQ1QsV0FBVyxHQUNaLE1BQU0sZUFBZSxDQUFDOztBQUt2QixNQUFNLE9BQU8sc0JBQXNCO0lBSG5DO1FBSXdDLFVBQUssR0FBRyxJQUFJLENBQUM7S0FDcEQ7O3NJQUZZLHNCQUFzQjswSEFBdEIsc0JBQXNCOzJGQUF0QixzQkFBc0I7a0JBSGxDLFNBQVM7bUJBQUM7b0JBQ1QsUUFBUSxFQUFFLGlCQUFpQjtpQkFDNUI7OEJBRXVDLEtBQUs7c0JBQTFDLFdBQVc7dUJBQUMsdUJBQXVCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtcbiAgRGlyZWN0aXZlLFxuICBIb3N0QmluZGluZyxcbn0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbkBEaXJlY3RpdmUoe1xuICBzZWxlY3RvcjogJ1tkYWZmRm9ybUxhYmVsXScsXG59KVxuZXhwb3J0IGNsYXNzIERhZmZGb3JtTGFiZWxEaXJlY3RpdmUge1xuICBASG9zdEJpbmRpbmcoJ2NsYXNzLmRhZmYtZm9ybS1sYWJlbCcpIGNsYXNzID0gdHJ1ZTtcbn1cbiJdfQ==
|