@daffodil/design 0.39.8 → 0.39.9
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/bundles/daffodil-design-card-examples.umd.js +152 -14
- package/bundles/daffodil-design-card-examples.umd.js.map +1 -1
- package/bundles/daffodil-design-card-examples.umd.min.js +1 -1
- package/bundles/daffodil-design-card-examples.umd.min.js.map +1 -1
- package/bundles/daffodil-design-container-examples.umd.js +65 -0
- package/bundles/daffodil-design-container-examples.umd.js.map +1 -0
- package/bundles/daffodil-design-container-examples.umd.min.js +2 -0
- package/bundles/daffodil-design-container-examples.umd.min.js.map +1 -0
- package/bundles/daffodil-design.umd.js +171 -22
- package/bundles/daffodil-design.umd.js.map +1 -1
- package/bundles/daffodil-design.umd.min.js +2 -2
- package/bundles/daffodil-design.umd.min.js.map +1 -1
- package/card/examples/basic-card/basic-card.component.d.ts +1 -0
- package/card/examples/card-orientation/card-orientation.component.d.ts +9 -0
- package/card/examples/card-orientation/card-orientation.module.d.ts +2 -0
- package/card/examples/card-theming/card-theming.component.d.ts +4 -2
- package/card/examples/daffodil-design-card-examples.d.ts +2 -0
- package/card/examples/daffodil-design-card-examples.metadata.json +1 -1
- package/card/examples/linkable-card/linkable-card.component.d.ts +8 -0
- package/card/examples/public_api.d.ts +5 -1
- package/card/examples/raised-card/raised-card.component.d.ts +6 -0
- package/card/examples/stroked-card/stroked-card.component.d.ts +8 -0
- package/card/examples/stroked-card/stroked-card.module.d.ts +2 -0
- package/container/examples/container-sizes/container-sizes.component.d.ts +8 -0
- package/container/examples/container-sizes/container-sizes.module.d.ts +2 -0
- package/container/examples/daffodil-design-container-examples.d.ts +4 -0
- package/container/examples/daffodil-design-container-examples.metadata.json +1 -0
- package/container/examples/examples.d.ts +2 -0
- package/container/examples/index.d.ts +1 -0
- package/container/examples/package.json +11 -0
- package/container/examples/public_api.d.ts +3 -0
- package/core/manage-container-layout/manage-container-layout-mixin.d.ts +17 -0
- package/core/manage-container-layout/public_api.d.ts +1 -0
- package/core/public_api.d.ts +1 -0
- package/daff-theme.scss +165 -18
- package/daffodil-design.metadata.json +1 -1
- package/esm2015/atoms/container/container.component.js +1 -1
- package/esm2015/atoms/image/image.component.js +2 -2
- package/esm2015/card/examples/basic-card/basic-card.component.js +7 -3
- package/esm2015/card/examples/basic-card/basic-card.module.js +3 -1
- package/esm2015/card/examples/card-orientation/card-orientation.component.js +24 -0
- package/esm2015/card/examples/card-orientation/card-orientation.module.js +27 -0
- package/esm2015/card/examples/card-theming/card-theming.component.js +13 -4
- package/esm2015/card/examples/daffodil-design-card-examples.js +3 -1
- package/esm2015/card/examples/linkable-card/linkable-card.component.js +19 -3
- package/esm2015/card/examples/linkable-card/linkable-card.module.js +3 -1
- package/esm2015/card/examples/public_api.js +7 -1
- package/esm2015/card/examples/raised-card/raised-card.component.js +17 -3
- package/esm2015/card/examples/raised-card/raised-card.module.js +3 -3
- package/esm2015/card/examples/stroked-card/stroked-card.component.js +27 -0
- package/esm2015/card/examples/stroked-card/stroked-card.module.js +27 -0
- package/esm2015/container/examples/container-sizes/container-sizes.component.js +23 -0
- package/esm2015/container/examples/container-sizes/container-sizes.module.js +23 -0
- package/esm2015/container/examples/daffodil-design-container-examples.js +5 -0
- package/esm2015/container/examples/examples.js +5 -0
- package/esm2015/container/examples/index.js +2 -0
- package/esm2015/container/examples/public_api.js +4 -0
- package/esm2015/core/manage-container-layout/manage-container-layout-mixin.js +14 -0
- package/esm2015/core/manage-container-layout/public_api.js +2 -0
- package/esm2015/core/public_api.js +2 -1
- package/esm2015/molecules/callout/callout/callout.component.js +4 -3
- package/esm2015/molecules/card/card/card.component.js +76 -14
- package/esm2015/molecules/card/card-content/card-content.directive.js +18 -0
- package/esm2015/molecules/card/card-icon/card-icon.directive.js +18 -0
- package/esm2015/molecules/card/card.module.js +9 -3
- package/esm2015/molecules/card/public_api.js +4 -2
- package/esm2015/molecules/hero/hero/hero.component.js +4 -3
- package/esm2015/molecules/navbar/navbar.component.js +3 -2
- package/fesm2015/daffodil-design-card-examples.js +145 -11
- package/fesm2015/daffodil-design-card-examples.js.map +1 -1
- package/fesm2015/daffodil-design-container-examples.js +54 -0
- package/fesm2015/daffodil-design-container-examples.js.map +1 -0
- package/fesm2015/daffodil-design.js +137 -23
- package/fesm2015/daffodil-design.js.map +1 -1
- package/molecules/callout/callout/callout.component.d.ts +5 -0
- package/molecules/card/card/card.component.d.ts +37 -11
- package/molecules/card/card-content/card-content.directive.d.ts +6 -0
- package/molecules/card/card-icon/card-icon.directive.d.ts +6 -0
- package/molecules/card/public_api.d.ts +3 -1
- package/molecules/hero/hero/hero.component.d.ts +5 -0
- package/molecules/navbar/navbar.component.d.ts +5 -0
- package/package.json +1 -1
@@ -25,6 +25,11 @@ declare class DaffCalloutBase {
|
|
25
25
|
constructor(_elementRef: ElementRef, _renderer: Renderer2);
|
26
26
|
}
|
27
27
|
declare const _daffCalloutBase: {
|
28
|
+
new (...args: any[]): {
|
29
|
+
_elementRef: ElementRef<any>;
|
30
|
+
_renderer: Renderer2;
|
31
|
+
};
|
32
|
+
} & {
|
28
33
|
new (...args: any[]): {
|
29
34
|
_color: import("../../../core/colorable/colorable").DaffPalette;
|
30
35
|
color: import("../../../core/colorable/colorable").DaffPalette;
|
@@ -1,5 +1,14 @@
|
|
1
|
-
import { ElementRef, Renderer2 } from '@angular/core';
|
2
|
-
import { DaffColorable
|
1
|
+
import { ElementRef, Renderer2, OnInit } from '@angular/core';
|
2
|
+
import { DaffColorable } from '../../../core/colorable/public_api';
|
3
|
+
export declare type DaffCardType = null | 'daff-raised-card' | 'daff-stroked-card';
|
4
|
+
/**
|
5
|
+
* This attribute determines what orientation the the card contents are stacked.
|
6
|
+
*/
|
7
|
+
export declare type DaffCardOrientation = 'vertical' | 'horizontal';
|
8
|
+
export declare enum DaffCardOrientationEnum {
|
9
|
+
Vertical = "vertical",
|
10
|
+
Horizontal = "horizontal"
|
11
|
+
}
|
3
12
|
/**
|
4
13
|
* An _elementRef and an instance of renderer2 are needed for the Colorable mixin
|
5
14
|
*/
|
@@ -10,11 +19,8 @@ declare class DaffCardBase {
|
|
10
19
|
}
|
11
20
|
declare const _daffCardBase: {
|
12
21
|
new (...args: any[]): {
|
13
|
-
_color: DaffPalette;
|
14
|
-
color: DaffPalette;
|
15
|
-
/**
|
16
|
-
* An _elementRef and an instance of renderer2 are needed for the Colorable mixin
|
17
|
-
*/
|
22
|
+
_color: import("../../../core/colorable/colorable").DaffPalette;
|
23
|
+
color: import("../../../core/colorable/colorable").DaffPalette;
|
18
24
|
_elementRef: ElementRef<any>;
|
19
25
|
_renderer: Renderer2;
|
20
26
|
};
|
@@ -22,15 +28,35 @@ declare const _daffCardBase: {
|
|
22
28
|
/**
|
23
29
|
* @inheritdoc
|
24
30
|
*/
|
25
|
-
export declare class DaffCardComponent extends _daffCardBase implements DaffColorable {
|
31
|
+
export declare class DaffCardComponent extends _daffCardBase implements OnInit, DaffColorable {
|
26
32
|
private elementRef;
|
27
33
|
private renderer;
|
28
|
-
|
34
|
+
private _orientation;
|
35
|
+
get orientation(): DaffCardOrientation;
|
36
|
+
set orientation(value: DaffCardOrientation);
|
29
37
|
/**
|
30
38
|
* @docs-private
|
31
39
|
*/
|
32
|
-
|
33
|
-
|
40
|
+
private cardType;
|
41
|
+
private initCardType;
|
34
42
|
constructor(elementRef: ElementRef, renderer: Renderer2);
|
43
|
+
/**
|
44
|
+
* @docs-private
|
45
|
+
*/
|
46
|
+
ngOnInit(): void;
|
47
|
+
class: boolean;
|
48
|
+
/**
|
49
|
+
* @docs-private
|
50
|
+
*/
|
51
|
+
get verticalClass(): boolean;
|
52
|
+
/**
|
53
|
+
* @docs-private
|
54
|
+
*/
|
55
|
+
get horizontalClass(): boolean;
|
56
|
+
private _getHostElement;
|
57
|
+
/**
|
58
|
+
* Gets whether the button has one of the given attributes.
|
59
|
+
* */
|
60
|
+
private _hasHostAttributes;
|
35
61
|
}
|
36
62
|
export {};
|
@@ -1,6 +1,8 @@
|
|
1
1
|
export { DaffCardModule } from './card.module';
|
2
2
|
export * from './card/card.component';
|
3
|
-
export * from './card-
|
3
|
+
export * from './card-icon/card-icon.directive';
|
4
4
|
export * from './card-image/card-image.directive';
|
5
5
|
export * from './card-tagline/card-tagline.directive';
|
6
|
+
export * from './card-title/card-title.directive';
|
7
|
+
export * from './card-content/card-content.directive';
|
6
8
|
export * from './card-actions/card-actions.directive';
|
@@ -26,6 +26,11 @@ declare class DaffHeroBase {
|
|
26
26
|
constructor(_elementRef: ElementRef, _renderer: Renderer2);
|
27
27
|
}
|
28
28
|
declare const _daffHeroBase: {
|
29
|
+
new (...args: any[]): {
|
30
|
+
_elementRef: ElementRef<any>;
|
31
|
+
_renderer: Renderer2;
|
32
|
+
};
|
33
|
+
} & {
|
29
34
|
new (...args: any[]): {
|
30
35
|
_color: import("../../../core/colorable/colorable").DaffPalette;
|
31
36
|
color: import("../../../core/colorable/colorable").DaffPalette;
|
@@ -9,6 +9,11 @@ declare class DaffNavbarBase {
|
|
9
9
|
constructor(_elementRef: ElementRef, _renderer: Renderer2);
|
10
10
|
}
|
11
11
|
declare const _daffNavbarBase: {
|
12
|
+
new (...args: any[]): {
|
13
|
+
_elementRef: ElementRef<any>;
|
14
|
+
_renderer: Renderer2;
|
15
|
+
};
|
16
|
+
} & {
|
12
17
|
new (...args: any[]): {
|
13
18
|
_color: DaffPalette;
|
14
19
|
color: DaffPalette;
|