@daffodil/design 0.60.0 → 0.62.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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/animation/animation-state-with-params.d.ts +8 -0
- package/core/public_api.d.ts +3 -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/animation/animation-state-with-params.mjs +2 -0
- package/esm2020/core/public_api.mjs +4 -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/backdrop/animation/backdrop-animation-state.mjs +2 -0
- package/esm2020/molecules/backdrop/animation/backdrop-animation.mjs +6 -2
- package/esm2020/molecules/backdrop/backdrop/backdrop.component.mjs +40 -5
- 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/molecules/sidebar/animation/sidebar-animation-state.mjs +2 -2
- package/esm2020/molecules/sidebar/animation/sidebar-animation-width.mjs +2 -0
- package/esm2020/molecules/sidebar/animation/sidebar-animation.mjs +21 -4
- package/esm2020/molecules/sidebar/animation/sidebar-viewport-animation-state.mjs +3 -0
- package/esm2020/molecules/sidebar/helper/sidebar-mode.mjs +1 -1
- package/esm2020/molecules/sidebar/helper/sidebar-side.mjs +2 -0
- package/esm2020/molecules/sidebar/public_api.mjs +1 -2
- package/esm2020/molecules/sidebar/sidebar/sidebar.component.mjs +62 -10
- package/esm2020/molecules/sidebar/sidebar-viewport/backdrop-interactable.mjs +5 -0
- package/esm2020/molecules/sidebar/sidebar-viewport/content-pad.mjs +17 -0
- package/esm2020/molecules/sidebar/sidebar-viewport/content-shift.mjs +21 -0
- package/esm2020/molecules/sidebar/sidebar-viewport/sidebar-viewport.component.mjs +83 -81
- 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/esm2020/sidebar/examples/basic-sidebar/basic-sidebar.component.mjs +12 -0
- package/esm2020/sidebar/examples/basic-sidebar/basic-sidebar.module.mjs +29 -0
- package/esm2020/sidebar/examples/daffodil-design-sidebar-examples.mjs +5 -0
- package/esm2020/sidebar/examples/fixed-and-over-sidebar/fixed-and-over-sidebar.component.mjs +21 -0
- package/esm2020/sidebar/examples/fixed-and-over-sidebar/fixed-and-over-sidebar.module.mjs +32 -0
- package/esm2020/sidebar/examples/index.mjs +2 -0
- package/esm2020/sidebar/examples/public_api.mjs +18 -0
- package/esm2020/sidebar/examples/sidebar-with-sticky/sidebar-with-sticky.component.mjs +12 -0
- package/esm2020/sidebar/examples/sidebar-with-sticky/sidebar-with-sticky.module.mjs +29 -0
- package/esm2020/sidebar/examples/two-fixed-sidebars-either-side/two-fixed-sidebars-either-side.component.mjs +12 -0
- package/esm2020/sidebar/examples/two-fixed-sidebars-either-side/two-fixed-sidebars-either-side.module.mjs +29 -0
- package/esm2020/sidebar/examples/under-sidebar/under-sidebar.component.mjs +26 -0
- package/esm2020/sidebar/examples/under-sidebar/under-sidebar.module.mjs +32 -0
- package/esm2020/tree/daffodil-design-tree.mjs +5 -0
- package/esm2020/tree/examples/basic-tree/basic-tree.component.mjs +39 -0
- package/esm2020/tree/examples/basic-tree/basic-tree.module.mjs +34 -0
- package/esm2020/tree/examples/daffodil-design-tree-examples.mjs +5 -0
- package/esm2020/tree/examples/index.mjs +2 -0
- package/esm2020/tree/examples/public_api.mjs +7 -0
- package/esm2020/tree/index.mjs +2 -0
- package/esm2020/tree/interfaces/recursive-key.mjs +2 -0
- package/esm2020/tree/interfaces/tree-data.mjs +2 -0
- package/esm2020/tree/interfaces/tree-ui.mjs +2 -0
- package/esm2020/tree/public_api.mjs +5 -0
- package/esm2020/tree/tree/tree-notifier.service.mjs +45 -0
- package/esm2020/tree/tree/tree.component.mjs +106 -0
- package/esm2020/tree/tree-item/tree-item.directive.mjs +154 -0
- package/esm2020/tree/tree.module.mjs +31 -0
- package/esm2020/tree/utils/flatten-tree.mjs +47 -0
- package/esm2020/tree/utils/hydrate-tree.mjs +31 -0
- package/esm2020/tree/utils/transform-in-place.mjs +23 -0
- package/esm2020/tree/utils/traverse-tree.mjs +21 -0
- 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-sidebar-examples.mjs +218 -0
- package/fesm2015/daffodil-design-sidebar-examples.mjs.map +1 -0
- package/fesm2015/daffodil-design-tree-examples.mjs +81 -0
- package/fesm2015/daffodil-design-tree-examples.mjs.map +1 -0
- package/fesm2015/daffodil-design-tree.mjs +443 -0
- package/fesm2015/daffodil-design-tree.mjs.map +1 -0
- package/fesm2015/daffodil-design.mjs +440 -191
- 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-sidebar-examples.mjs +218 -0
- package/fesm2020/daffodil-design-sidebar-examples.mjs.map +1 -0
- package/fesm2020/daffodil-design-tree-examples.mjs +81 -0
- package/fesm2020/daffodil-design-tree-examples.mjs.map +1 -0
- package/fesm2020/daffodil-design-tree.mjs +448 -0
- package/fesm2020/daffodil-design-tree.mjs.map +1 -0
- package/fesm2020/daffodil-design.mjs +440 -191
- 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/backdrop/animation/backdrop-animation-state.d.ts +2 -0
- package/molecules/backdrop/backdrop/backdrop.component.d.ts +17 -3
- package/molecules/qty-dropdown/qty-dropdown.module.d.ts +1 -1
- package/molecules/sidebar/animation/sidebar-animation-state.d.ts +2 -1
- package/molecules/sidebar/animation/sidebar-animation-width.d.ts +2 -0
- package/molecules/sidebar/animation/sidebar-animation.d.ts +3 -1
- package/molecules/sidebar/animation/sidebar-viewport-animation-state.d.ts +6 -0
- package/molecules/sidebar/helper/sidebar-mode.d.ts +27 -1
- package/molecules/sidebar/helper/sidebar-side.d.ts +12 -0
- package/molecules/sidebar/public_api.d.ts +2 -1
- package/molecules/sidebar/sidebar/sidebar.component.d.ts +37 -5
- package/molecules/sidebar/sidebar-viewport/backdrop-interactable.d.ts +6 -0
- package/molecules/sidebar/sidebar-viewport/content-pad.d.ts +7 -0
- package/molecules/sidebar/sidebar-viewport/content-shift.d.ts +8 -0
- package/molecules/sidebar/sidebar-viewport/sidebar-viewport.component.d.ts +47 -44
- 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/global.scss +1 -0
- package/scss/state/skeleton/_mixins.scss +1 -0
- package/scss/theme.scss +4 -2
- package/scss/theming/_color-palettes.scss +5 -5
- package/sidebar/examples/basic-sidebar/basic-sidebar.component.d.ts +5 -0
- package/sidebar/examples/basic-sidebar/basic-sidebar.module.d.ts +8 -0
- package/sidebar/examples/daffodil-design-sidebar-examples.d.ts +5 -0
- package/sidebar/examples/fixed-and-over-sidebar/fixed-and-over-sidebar.component.d.ts +8 -0
- package/sidebar/examples/fixed-and-over-sidebar/fixed-and-over-sidebar.module.d.ts +8 -0
- package/sidebar/examples/index.d.ts +1 -0
- package/sidebar/examples/package.json +1 -0
- package/sidebar/examples/public_api.d.ts +2 -0
- package/sidebar/examples/sidebar-with-sticky/sidebar-with-sticky.component.d.ts +5 -0
- package/sidebar/examples/sidebar-with-sticky/sidebar-with-sticky.module.d.ts +8 -0
- package/sidebar/examples/two-fixed-sidebars-either-side/two-fixed-sidebars-either-side.component.d.ts +5 -0
- package/sidebar/examples/two-fixed-sidebars-either-side/two-fixed-sidebars-either-side.module.d.ts +8 -0
- package/sidebar/examples/under-sidebar/under-sidebar.component.d.ts +10 -0
- package/sidebar/examples/under-sidebar/under-sidebar.module.d.ts +8 -0
- 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/src/molecules/sidebar/README.md +10 -0
- package/src/molecules/sidebar/helper/_variables.scss +7 -0
- package/src/molecules/sidebar/sidebar/sidebar-theme.scss +3 -3
- package/src/molecules/sidebar/sidebar-viewport/sidebar-viewport-theme.scss +5 -0
- package/tree/README.md +38 -0
- package/tree/daffodil-design-tree.d.ts +5 -0
- package/tree/examples/basic-tree/basic-tree.component.d.ts +7 -0
- package/tree/examples/basic-tree/basic-tree.module.d.ts +10 -0
- package/tree/examples/daffodil-design-tree-examples.d.ts +5 -0
- package/tree/examples/index.d.ts +1 -0
- package/tree/examples/package.json +1 -0
- package/tree/examples/public_api.d.ts +4 -0
- package/tree/index.d.ts +1 -0
- package/tree/interfaces/recursive-key.d.ts +3 -0
- package/tree/interfaces/tree-data.d.ts +13 -0
- package/tree/interfaces/tree-ui.d.ts +11 -0
- package/tree/package.json +1 -0
- package/tree/public_api.d.ts +6 -0
- package/tree/src/tree-theme.scss +38 -0
- package/tree/tree/tree-notifier.service.d.ts +32 -0
- package/tree/tree/tree.component.d.ts +75 -0
- package/tree/tree-item/tree-item.directive.d.ts +102 -0
- package/tree/tree.module.d.ts +9 -0
- package/tree/utils/flatten-tree.d.ts +19 -0
- package/tree/utils/hydrate-tree.d.ts +8 -0
- package/tree/utils/transform-in-place.d.ts +15 -0
- package/tree/utils/traverse-tree.d.ts +5 -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,22 +1,35 @@
|
|
1
|
-
import { Component,
|
1
|
+
import { Component, NgZone, ElementRef, Output, EventEmitter, HostBinding, ChangeDetectionStrategy, Input, } from '@angular/core';
|
2
2
|
import { fromEvent } from 'rxjs';
|
3
3
|
import { filter } from 'rxjs/operators';
|
4
|
+
import { daffSidebarAnimations } from '../animation/sidebar-animation';
|
5
|
+
import { getAnimationState } from '../animation/sidebar-animation-state';
|
6
|
+
import { getSidebarAnimationWidth } from '../animation/sidebar-animation-width';
|
4
7
|
import * as i0 from "@angular/core";
|
5
8
|
/**
|
6
|
-
*
|
9
|
+
* DaffSidebarComponent is heavily based upon the work done by the @angular/components
|
7
10
|
* team on `mat-drawer` and `mat-sidenav`. `daff-sidebar` is intended to be
|
8
|
-
* a simplified version (with a different design) of `mat-drawer
|
9
|
-
* follows a stricter "dumb" component pattern than `mat-drawer`
|
11
|
+
* a simplified version (with a different design) of `mat-drawer`.
|
10
12
|
*/
|
11
13
|
export class DaffSidebarComponent {
|
12
14
|
constructor(_elementRef, _ngZone) {
|
13
15
|
this._elementRef = _elementRef;
|
14
16
|
this._ngZone = _ngZone;
|
15
|
-
this.class = true;
|
16
17
|
/**
|
17
18
|
* Event fired when `ESC` key is pressed when the sidebar has focus
|
18
19
|
*/
|
19
20
|
this.escapePressed = new EventEmitter();
|
21
|
+
/**
|
22
|
+
* What side of the viewport to show the sidebar on.
|
23
|
+
*/
|
24
|
+
this.side = 'left';
|
25
|
+
/**
|
26
|
+
* The mode of the sidebar.
|
27
|
+
*/
|
28
|
+
this.mode = 'side';
|
29
|
+
/**
|
30
|
+
* Whether or not the sidebar is open.
|
31
|
+
*/
|
32
|
+
this.open = false;
|
20
33
|
/**
|
21
34
|
* Listen to `keydown` events outside the zone so that change detection is not run every
|
22
35
|
* time a key is pressed. Instead we re-enter the zone only if the `ESC` key is pressed.
|
@@ -29,16 +42,55 @@ export class DaffSidebarComponent {
|
|
29
42
|
}));
|
30
43
|
});
|
31
44
|
}
|
45
|
+
/**
|
46
|
+
* The CSS classes set.
|
47
|
+
*/
|
48
|
+
get classes() {
|
49
|
+
return {
|
50
|
+
'daff-sidebar': true,
|
51
|
+
[this.side]: true,
|
52
|
+
[this.mode]: true,
|
53
|
+
};
|
54
|
+
}
|
55
|
+
;
|
56
|
+
/**
|
57
|
+
* The animation state of the sidebar.
|
58
|
+
*/
|
59
|
+
get transformSidebar() {
|
60
|
+
return {
|
61
|
+
value: getAnimationState(this.open, this.mode === 'over' || this.mode === 'side-fixed'),
|
62
|
+
params: { width: getSidebarAnimationWidth(this.side, this.width) },
|
63
|
+
};
|
64
|
+
}
|
65
|
+
/**
|
66
|
+
* The width of the sidebar.
|
67
|
+
*/
|
68
|
+
get width() {
|
69
|
+
return this._elementRef.nativeElement.offsetWidth;
|
70
|
+
}
|
32
71
|
}
|
33
72
|
/** @nocollapse */ DaffSidebarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffSidebarComponent, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
34
|
-
/** @nocollapse */ DaffSidebarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: DaffSidebarComponent, selector: "daff-sidebar", outputs: { escapePressed: "escapePressed" }, host: { properties: { "class.
|
73
|
+
/** @nocollapse */ DaffSidebarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: DaffSidebarComponent, selector: "daff-sidebar", inputs: { side: "side", mode: "mode", open: "open" }, outputs: { escapePressed: "escapePressed" }, host: { properties: { "class": "this.classes", "@transformSidebar": "this.transformSidebar" } }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [":host{display:block;width:240px;flex-shrink:0;overflow:auto}:host.side-fixed{position:fixed;top:var(--daff-sidebar-side-fixed-top-shift);bottom:0;z-index:4;height:calc(100dvh - var(--daff-sidebar-side-fixed-top-shift))}:host.side-fixed.left{left:0}:host.side-fixed.right{right:0}:host.over,:host.under{position:absolute;top:0;bottom:0}:host.over.left,:host.under.left{left:0}:host.over.right,:host.under.right{right:0}:host.over{z-index:5}:host.under{z-index:2}:host-context(daff-sidebar-viewport daff-sidebar-viewport >).side-fixed{position:sticky}\n"], animations: [
|
74
|
+
daffSidebarAnimations.transformSidebar,
|
75
|
+
], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
35
76
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffSidebarComponent, decorators: [{
|
36
77
|
type: Component,
|
37
|
-
args: [{ selector: 'daff-sidebar', template: '<ng-content></ng-content>',
|
38
|
-
|
78
|
+
args: [{ selector: 'daff-sidebar', template: '<ng-content></ng-content>', changeDetection: ChangeDetectionStrategy.OnPush, animations: [
|
79
|
+
daffSidebarAnimations.transformSidebar,
|
80
|
+
], styles: [":host{display:block;width:240px;flex-shrink:0;overflow:auto}:host.side-fixed{position:fixed;top:var(--daff-sidebar-side-fixed-top-shift);bottom:0;z-index:4;height:calc(100dvh - var(--daff-sidebar-side-fixed-top-shift))}:host.side-fixed.left{left:0}:host.side-fixed.right{right:0}:host.over,:host.under{position:absolute;top:0;bottom:0}:host.over.left,:host.under.left{left:0}:host.over.right,:host.under.right{right:0}:host.over{z-index:5}:host.under{z-index:2}:host-context(daff-sidebar-viewport daff-sidebar-viewport >).side-fixed{position:sticky}\n"] }]
|
81
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }]; }, propDecorators: { classes: [{
|
82
|
+
type: HostBinding,
|
83
|
+
args: ['class']
|
84
|
+
}], transformSidebar: [{
|
39
85
|
type: HostBinding,
|
40
|
-
args: ['
|
86
|
+
args: ['@transformSidebar']
|
41
87
|
}], escapePressed: [{
|
42
88
|
type: Output
|
89
|
+
}], side: [{
|
90
|
+
type: Input
|
91
|
+
}], mode: [{
|
92
|
+
type: Input
|
93
|
+
}], open: [{
|
94
|
+
type: Input
|
43
95
|
}] } });
|
44
|
-
//# sourceMappingURL=data:application/json;base64,
|
96
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lkZWJhci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2Rlc2lnbi9zcmMvbW9sZWN1bGVzL3NpZGViYXIvc2lkZWJhci9zaWRlYmFyLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0wsU0FBUyxFQUVULE1BQU0sRUFDTixVQUFVLEVBQ1YsTUFBTSxFQUNOLFlBQVksRUFDWixXQUFXLEVBQ1gsdUJBQXVCLEVBQ3ZCLEtBQUssR0FDTixNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sTUFBTSxDQUFDO0FBQ2pDLE9BQU8sRUFBRSxNQUFNLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUV4QyxPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSxnQ0FBZ0MsQ0FBQztBQUN2RSxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxzQ0FBc0MsQ0FBQztBQUN6RSxPQUFPLEVBQUUsd0JBQXdCLEVBQUUsTUFBTSxzQ0FBc0MsQ0FBQzs7QUFJaEY7Ozs7R0FJRztBQVVILE1BQU0sT0FBTyxvQkFBb0I7SUFpRC9CLFlBQ1UsV0FBb0MsRUFDcEMsT0FBZTtRQURmLGdCQUFXLEdBQVgsV0FBVyxDQUF5QjtRQUNwQyxZQUFPLEdBQVAsT0FBTyxDQUFRO1FBN0J6Qjs7V0FFRztRQUNPLGtCQUFhLEdBQXV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ZUFuZ3VsYXIoKCkgPT4ge1xuICAgICAgZnJvbUV2ZW50PEtleWJvYXJkRXZlbnQ+KHRoaXMuX2VsZW1lbnRSZWYubmF0aXZlRWxlbWVudCwgJ2tleWRvd24nKS5waXBlKFxuICAgICAgICBmaWx0ZXIoZXZlbnQgPT4gZXZlbnQua2V5ID09PSAnRXNjYXBlJyksXG4gICAgICApLnN1YnNjcmliZShldmVudCA9PiB0aGlzLl9uZ1pvbmUucnVuKCgpID0+IHtcbiAgICAgICAgdGhpcy5lc2NhcGVQcmVzc2VkLmVtaXQoKTtcbiAgICAgICAgZXZlbnQuc3RvcFByb3BhZ2F0aW9uKCk7XG4gICAgICB9KSk7XG4gICAgfSk7XG4gIH1cbn1cbiJdfQ==
|
@@ -0,0 +1,5 @@
|
|
1
|
+
/**
|
2
|
+
* Determines, given a list of sidebars, whether or not the backdrop is interactable (typically clickable).
|
3
|
+
*/
|
4
|
+
export const sidebarViewportBackdropInteractable = (sidebars) => sidebars.reduce((acc, sidebar) => ((sidebar.mode === 'over' || sidebar.mode === 'under') && sidebar.open) || acc, false);
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFja2Ryb3AtaW50ZXJhY3RhYmxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9kZXNpZ24vc3JjL21vbGVjdWxlcy9zaWRlYmFyL3NpZGViYXItdmlld3BvcnQvYmFja2Ryb3AtaW50ZXJhY3RhYmxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUlBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sbUNBQW1DLEdBQUcsQ0FBQyxRQUF5QyxFQUFXLEVBQUUsQ0FBQyxRQUFRLENBQUMsTUFBTSxDQUN4SCxDQUFDLEdBQVksRUFBRSxPQUFPLEVBQUUsRUFBRSxDQUFDLENBQUMsQ0FBQyxPQUFPLENBQUMsSUFBSSxLQUFLLE1BQU0sSUFBSSxPQUFPLENBQUMsSUFBSSxLQUFLLE9BQU8sQ0FBQyxJQUFJLE9BQU8sQ0FBQyxJQUFJLENBQUMsSUFBSSxHQUFHLEVBQ3pHLEtBQUssQ0FBQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgUXVlcnlMaXN0IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbmltcG9ydCB7IERhZmZTaWRlYmFyQ29tcG9uZW50IH0gZnJvbSAnLi4vc2lkZWJhci9zaWRlYmFyLmNvbXBvbmVudCc7XG5cbi8qKlxuICogRGV0ZXJtaW5lcywgZ2l2ZW4gYSBsaXN0IG9mIHNpZGViYXJzLCB3aGV0aGVyIG9yIG5vdCB0aGUgYmFja2Ryb3AgaXMgaW50ZXJhY3RhYmxlICh0eXBpY2FsbHkgY2xpY2thYmxlKS5cbiAqL1xuZXhwb3J0IGNvbnN0IHNpZGViYXJWaWV3cG9ydEJhY2tkcm9wSW50ZXJhY3RhYmxlID0gKHNpZGViYXJzOiBRdWVyeUxpc3Q8RGFmZlNpZGViYXJDb21wb25lbnQ+KTogYm9vbGVhbiA9PiBzaWRlYmFycy5yZWR1Y2UoXG4gIChhY2M6IGJvb2xlYW4sIHNpZGViYXIpID0+ICgoc2lkZWJhci5tb2RlID09PSAnb3ZlcicgfHwgc2lkZWJhci5tb2RlID09PSAndW5kZXInKSAmJiBzaWRlYmFyLm9wZW4pIHx8IGFjYyxcbiAgZmFsc2UpO1xuIl19
|
@@ -0,0 +1,17 @@
|
|
1
|
+
/**
|
2
|
+
* Given a list of sidebars, compute the associated content shift.
|
3
|
+
*/
|
4
|
+
export const sidebarViewportContentPadding = (sidebars, side) => sidebars.reduce((acc, sidebar) => {
|
5
|
+
if (!(sidebar.mode === "side-fixed" /* SideFixed */ && sidebar.open)) {
|
6
|
+
return acc;
|
7
|
+
}
|
8
|
+
if (sidebar.side === side) {
|
9
|
+
return sidebar.width;
|
10
|
+
}
|
11
|
+
else {
|
12
|
+
// This component is "stateless", its possible to have two open "under" sidebars.
|
13
|
+
// As such, we defer to "left" being open by default.
|
14
|
+
return acc;
|
15
|
+
}
|
16
|
+
}, 0);
|
17
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udGVudC1wYWQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2Rlc2lnbi9zcmMvbW9sZWN1bGVzL3NpZGViYXIvc2lkZWJhci12aWV3cG9ydC9jb250ZW50LXBhZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFPQTs7R0FFRztBQUNILE1BQU0sQ0FBQyxNQUFNLDZCQUE2QixHQUFHLENBQUMsUUFBeUMsRUFBRSxJQUFxQixFQUFVLEVBQUUsQ0FDeEgsUUFBUSxDQUFDLE1BQU0sQ0FBQyxDQUFDLEdBQVcsRUFBRSxPQUFPLEVBQUUsRUFBRTtJQUN2QyxJQUFHLENBQUMsQ0FBQyxPQUFPLENBQUMsSUFBSSxpQ0FBa0MsSUFBSSxPQUFPLENBQUMsSUFBSSxDQUFDLEVBQUU7UUFDcEUsT0FBTyxHQUFHLENBQUM7S0FDWjtJQUVELElBQUcsT0FBTyxDQUFDLElBQUksS0FBSyxJQUFJLEVBQUM7UUFDdkIsT0FBTyxPQUFPLENBQUMsS0FBSyxDQUFDO0tBQ3RCO1NBQU07UUFDTCxpRkFBaUY7UUFDakYscURBQXFEO1FBQ3JELE9BQU8sR0FBRyxDQUFDO0tBQ1o7QUFDSCxDQUFDLEVBQUUsQ0FBQyxDQUFDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBRdWVyeUxpc3QgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuaW1wb3J0IHsgRGFmZlNpZGViYXJNb2RlRW51bSB9IGZyb20gJy4uL2hlbHBlci9zaWRlYmFyLW1vZGUnO1xuaW1wb3J0IHsgRGFmZlNpZGViYXJTaWRlIH0gZnJvbSAnLi4vaGVscGVyL3NpZGViYXItc2lkZSc7XG5pbXBvcnQgeyBEYWZmU2lkZWJhckNvbXBvbmVudCB9IGZyb20gJy4uL3NpZGViYXIvc2lkZWJhci5jb21wb25lbnQnO1xuXG5cbi8qKlxuICogR2l2ZW4gYSBsaXN0IG9mIHNpZGViYXJzLCBjb21wdXRlIHRoZSBhc3NvY2lhdGVkIGNvbnRlbnQgc2hpZnQuXG4gKi9cbmV4cG9ydCBjb25zdCBzaWRlYmFyVmlld3BvcnRDb250ZW50UGFkZGluZyA9IChzaWRlYmFyczogUXVlcnlMaXN0PERhZmZTaWRlYmFyQ29tcG9uZW50Piwgc2lkZTogRGFmZlNpZGViYXJTaWRlKTogbnVtYmVyID0+XG4gIHNpZGViYXJzLnJlZHVjZSgoYWNjOiBudW1iZXIsIHNpZGViYXIpID0+IHtcbiAgICBpZighKHNpZGViYXIubW9kZSA9PT0gRGFmZlNpZGViYXJNb2RlRW51bS5TaWRlRml4ZWQgJiYgc2lkZWJhci5vcGVuKSkge1xuICAgICAgcmV0dXJuIGFjYztcbiAgICB9XG5cbiAgICBpZihzaWRlYmFyLnNpZGUgPT09IHNpZGUpe1xuICAgICAgcmV0dXJuIHNpZGViYXIud2lkdGg7XG4gICAgfSBlbHNlIHtcbiAgICAgIC8vIFRoaXMgY29tcG9uZW50IGlzIFwic3RhdGVsZXNzXCIsIGl0cyBwb3NzaWJsZSB0byBoYXZlIHR3byBvcGVuIFwidW5kZXJcIiBzaWRlYmFycy5cbiAgICAgIC8vIEFzIHN1Y2gsIHdlIGRlZmVyIHRvIFwibGVmdFwiIGJlaW5nIG9wZW4gYnkgZGVmYXVsdC5cbiAgICAgIHJldHVybiBhY2M7XG4gICAgfVxuICB9LCAwKTtcbiJdfQ==
|
@@ -0,0 +1,21 @@
|
|
1
|
+
export const isViewportContentShifted = (mode, open) => (mode === 'under' && open);
|
2
|
+
/**
|
3
|
+
* Given a list of sidebars, compute the associated content shift.
|
4
|
+
*/
|
5
|
+
export const sidebarViewportContentShift = (sidebars) => sidebars.reduce((acc, sidebar) => {
|
6
|
+
if (!isViewportContentShifted(sidebar.mode, sidebar.open)) {
|
7
|
+
return acc;
|
8
|
+
}
|
9
|
+
if (sidebar.side === 'left') {
|
10
|
+
return sidebar.width;
|
11
|
+
}
|
12
|
+
else if (sidebar.side === 'right' && acc === 0) {
|
13
|
+
return -1 * sidebar.width;
|
14
|
+
}
|
15
|
+
else {
|
16
|
+
// This component is "stateless", its possible to have two open "under" sidebars.
|
17
|
+
// As such, we defer to "left" being open by default.
|
18
|
+
return acc;
|
19
|
+
}
|
20
|
+
}, 0);
|
21
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udGVudC1zaGlmdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvZGVzaWduL3NyYy9tb2xlY3VsZXMvc2lkZWJhci9zaWRlYmFyLXZpZXdwb3J0L2NvbnRlbnQtc2hpZnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBS0EsTUFBTSxDQUFDLE1BQU0sd0JBQXdCLEdBQUcsQ0FBQyxJQUFxQixFQUFFLElBQWEsRUFBVyxFQUFFLENBQUMsQ0FBQyxJQUFJLEtBQUssT0FBTyxJQUFJLElBQUksQ0FBQyxDQUFDO0FBRXRIOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sMkJBQTJCLEdBQUcsQ0FBQyxRQUF5QyxFQUFVLEVBQUUsQ0FDL0YsUUFBUSxDQUFDLE1BQU0sQ0FBQyxDQUFDLEdBQVcsRUFBRSxPQUFPLEVBQUUsRUFBRTtJQUN2QyxJQUFHLENBQUMsd0JBQXdCLENBQUMsT0FBTyxDQUFDLElBQUksRUFBRSxPQUFPLENBQUMsSUFBSSxDQUF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4gIHNpZGViYXJzLnJlZHVjZSgoYWNjOiBudW1iZXIsIHNpZGViYXIpID0+IHtcbiAgICBpZighaXNWaWV3cG9ydENvbnRlbnRTaGlmdGVkKHNpZGViYXIubW9kZSwgc2lkZWJhci5vcGVuKSkge1xuICAgICAgcmV0dXJuIGFjYztcbiAgICB9XG5cbiAgICBpZihzaWRlYmFyLnNpZGUgPT09ICdsZWZ0Jyl7XG4gICAgICByZXR1cm4gc2lkZWJhci53aWR0aDtcbiAgICB9IGVsc2UgaWYgKHNpZGViYXIuc2lkZSA9PT0gJ3JpZ2h0JyAmJiBhY2MgPT09IDApIHtcbiAgICAgIHJldHVybiAtMSAqIHNpZGViYXIud2lkdGg7XG4gICAgfSBlbHNlIHtcbiAgICAgIC8vIFRoaXMgY29tcG9uZW50IGlzIFwic3RhdGVsZXNzXCIsIGl0cyBwb3NzaWJsZSB0byBoYXZlIHR3byBvcGVuIFwidW5kZXJcIiBzaWRlYmFycy5cbiAgICAgIC8vIEFzIHN1Y2gsIHdlIGRlZmVyIHRvIFwibGVmdFwiIGJlaW5nIG9wZW4gYnkgZGVmYXVsdC5cbiAgICAgIHJldHVybiBhY2M7XG4gICAgfVxuICB9LCAwKTtcblxuXG4iXX0=
|
@@ -1,121 +1,123 @@
|
|
1
|
-
import { Component, Output, EventEmitter,
|
1
|
+
import { Component, Output, EventEmitter, ChangeDetectionStrategy, ChangeDetectorRef, ContentChildren, QueryList, } from '@angular/core';
|
2
2
|
import { daffSidebarAnimations } from '../animation/sidebar-animation';
|
3
3
|
import { getAnimationState } from '../animation/sidebar-animation-state';
|
4
4
|
import { DaffSidebarComponent } from '../sidebar/sidebar.component';
|
5
|
+
import { sidebarViewportBackdropInteractable } from './backdrop-interactable';
|
6
|
+
import { sidebarViewportContentPadding } from './content-pad';
|
7
|
+
import { isViewportContentShifted, sidebarViewportContentShift, } from './content-shift';
|
5
8
|
import * as i0 from "@angular/core";
|
6
9
|
import * as i1 from "../../backdrop/backdrop/backdrop.component";
|
7
|
-
|
8
|
-
|
10
|
+
/**
|
11
|
+
* The DaffSidebarViewport is the "holder" of sidebars throughout an entire application.
|
12
|
+
* It's generally only used once, like
|
13
|
+
*
|
14
|
+
* ```html
|
15
|
+
* <daff-sidebar-viewport>
|
16
|
+
* <daff-sidebar></daff-sidebar>
|
17
|
+
* <p>Some Content</p>
|
18
|
+
* </daff-sidebar-viewport>
|
19
|
+
* ```
|
20
|
+
*
|
21
|
+
* Importantly, its possible for there to be multiple sidebars of many modes
|
22
|
+
* at the same time. @see {@link DaffSidebarMode }
|
23
|
+
*
|
24
|
+
* Since this is a functional component, it's possible to have multiple "open" sidebars
|
25
|
+
* within at the same time. As a result, this component attempts to
|
26
|
+
* gracefully handle these situations. However, importantly, this sidebar
|
27
|
+
* has a constraint, there's only allowed to be one sidebar,
|
28
|
+
* of each mode, on each side, at any given time. If this is violated,
|
29
|
+
* this component will throw an exception.
|
30
|
+
*/
|
9
31
|
export class DaffSidebarViewportComponent {
|
10
|
-
constructor(
|
11
|
-
this.
|
32
|
+
constructor(cdRef) {
|
33
|
+
this.cdRef = cdRef;
|
12
34
|
/**
|
13
|
-
*
|
14
|
-
*
|
15
|
-
* @docs-private
|
35
|
+
* The number of pixels that the main content of the page should be shifted to
|
36
|
+
* right when there are child sidebars.
|
16
37
|
*/
|
17
|
-
this.
|
38
|
+
this._shift = '0px';
|
18
39
|
/**
|
19
|
-
*
|
40
|
+
* The left padding on the content when left side-fixed sidebars are open.
|
20
41
|
*/
|
21
|
-
this.
|
42
|
+
this._contentPadLeft = 0;
|
22
43
|
/**
|
23
|
-
*
|
24
|
-
* "visible" to the human eye
|
44
|
+
* The right padding on the content when right side-fixed sidebars are open.
|
25
45
|
*/
|
26
|
-
|
27
|
-
|
46
|
+
this._contentPadRight = 0;
|
47
|
+
/**
|
48
|
+
* Whether or not the backdrop is interactable
|
49
|
+
*/
|
50
|
+
this._backdropInteractable = false;
|
51
|
+
/**
|
52
|
+
* The animation state
|
53
|
+
*/
|
54
|
+
this._animationState = { value: 'closed', params: { shift: '0px' } };
|
28
55
|
/**
|
29
56
|
* Event fired when the backdrop is clicked
|
30
57
|
* This is often used to close the sidebar
|
31
58
|
*/
|
32
59
|
this.backdropClicked = new EventEmitter();
|
33
60
|
}
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
/**
|
61
|
-
* @docs-private
|
62
|
-
*/
|
63
|
-
ngOnInit() {
|
64
|
-
this._animationState = getAnimationState(this.opened, this.animationsEnabled);
|
61
|
+
ngAfterContentChecked() {
|
62
|
+
const nextShift = sidebarViewportContentShift(this.sidebars) + 'px';
|
63
|
+
if (this._shift !== nextShift) {
|
64
|
+
this._shift = nextShift;
|
65
|
+
this.updateAnimationState();
|
66
|
+
this.cdRef.markForCheck();
|
67
|
+
}
|
68
|
+
const nextBackdropInteractable = sidebarViewportBackdropInteractable(this.sidebars);
|
69
|
+
if (this._backdropInteractable !== nextBackdropInteractable) {
|
70
|
+
this._backdropInteractable = nextBackdropInteractable;
|
71
|
+
this.updateAnimationState();
|
72
|
+
this.cdRef.markForCheck();
|
73
|
+
}
|
74
|
+
;
|
75
|
+
const nextLeftPadding = sidebarViewportContentPadding(this.sidebars, 'left');
|
76
|
+
if (this._contentPadLeft !== nextLeftPadding) {
|
77
|
+
this._contentPadLeft = nextLeftPadding;
|
78
|
+
this.updateAnimationState();
|
79
|
+
this.cdRef.markForCheck();
|
80
|
+
}
|
81
|
+
const nextRightPadding = sidebarViewportContentPadding(this.sidebars, 'right');
|
82
|
+
if (this._contentPadRight !== nextRightPadding) {
|
83
|
+
this._contentPadRight = nextRightPadding;
|
84
|
+
this.updateAnimationState();
|
85
|
+
this.cdRef.markForCheck();
|
86
|
+
}
|
65
87
|
}
|
66
88
|
/**
|
67
89
|
* @docs-private
|
90
|
+
*
|
91
|
+
* Updates the animation state of the viewport depending upon the state
|
92
|
+
* of all sidebars within the viewport.
|
68
93
|
*/
|
69
|
-
|
70
|
-
|
71
|
-
this.
|
72
|
-
|
73
|
-
|
74
|
-
}
|
94
|
+
updateAnimationState() {
|
95
|
+
this._animationState = {
|
96
|
+
value: getAnimationState(this.sidebars.reduce((acc, sidebar) => acc || isViewportContentShifted(sidebar.mode, sidebar.open), false)),
|
97
|
+
params: { shift: this._shift },
|
98
|
+
};
|
75
99
|
}
|
76
100
|
/**
|
77
101
|
* @docs-private
|
102
|
+
* The called when the backdrop of the viewport is clicked upon.
|
78
103
|
*/
|
79
104
|
_backdropClicked() {
|
80
105
|
this.backdropClicked.emit();
|
81
106
|
}
|
82
|
-
/**
|
83
|
-
* @docs-private
|
84
|
-
*/
|
85
|
-
get hasBackdrop() {
|
86
|
-
return (this.mode === 'over' || this.mode === 'push');
|
87
|
-
}
|
88
|
-
/**
|
89
|
-
* @docs-private
|
90
|
-
*/
|
91
|
-
onEscape() {
|
92
|
-
if (this.hasBackdrop) {
|
93
|
-
this.opened = false;
|
94
|
-
this.ref.markForCheck();
|
95
|
-
}
|
96
|
-
}
|
97
107
|
}
|
98
108
|
/** @nocollapse */ DaffSidebarViewportComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffSidebarViewportComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
99
|
-
/** @nocollapse */ DaffSidebarViewportComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: DaffSidebarViewportComponent, selector: "daff-sidebar-viewport",
|
100
|
-
daffSidebarAnimations.transformSidebar,
|
109
|
+
/** @nocollapse */ DaffSidebarViewportComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: DaffSidebarViewportComponent, selector: "daff-sidebar-viewport", outputs: { backdropClicked: "backdropClicked" }, queries: [{ propertyName: "sidebars", predicate: DaffSidebarComponent }], ngImport: i0, template: "<ng-content select=\"daff-sidebar:not([side=right])\"></ng-content>\n\n<daff-backdrop\n [@transformContent]=\"_animationState\"\n class=\"daff-sidebar-viewport__backdrop\"\n [interactable]=\"_backdropInteractable\"\n (backdropClicked)=\"_backdropClicked()\"></daff-backdrop>\n\n<div class=\"daff-sidebar-viewport__content\" [@transformContent]=\"_animationState\">\n <ng-content select=\"[daff-sidebar-viewport-nav]\"></ng-content>\n <div class=\"daff-sidebar-viewport__inner\" [style.padding-left.px]=\"_contentPadLeft\" [style.padding-right.px]=\"_contentPadRight\">\n <ng-content></ng-content>\n </div>\n</div>\n\n<ng-content select=\"daff-sidebar[side=right]\"></ng-content>", styles: [":host{overflow:hidden;display:flex;min-height:100%;position:relative;width:100%;z-index:1;height:100vh;height:100dvh}.daff-sidebar-viewport__content{flex:0 1 auto;width:100%;will-change:transform;z-index:3;overflow-y:auto;height:100%}.daff-sidebar-viewport__sidebar{flex-shrink:0}.daff-sidebar-viewport__backdrop{height:100%;position:absolute;width:100%;z-index:4}:host-context(daff-sidebar-viewport daff-sidebar-viewport) .daff-sidebar-viewport__inner{padding-left:0!important;padding-right:0!important}\n"], components: [{ type: i1.DaffBackdropComponent, selector: "daff-backdrop", inputs: ["transparent", "interactable", "fullscreen"], outputs: ["backdropClicked"] }], animations: [
|
101
110
|
daffSidebarAnimations.transformContent,
|
102
111
|
], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
103
112
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffSidebarViewportComponent, decorators: [{
|
104
113
|
type: Component,
|
105
114
|
args: [{ selector: 'daff-sidebar-viewport', changeDetection: ChangeDetectionStrategy.OnPush, animations: [
|
106
|
-
daffSidebarAnimations.transformSidebar,
|
107
115
|
daffSidebarAnimations.transformContent,
|
108
|
-
], template: "<
|
109
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: {
|
110
|
-
type:
|
111
|
-
args: [DaffSidebarComponent]
|
112
|
-
}], mode: [{
|
113
|
-
type: Input
|
114
|
-
}], backdropIsVisible: [{
|
115
|
-
type: Input
|
116
|
-
}], opened: [{
|
117
|
-
type: Input
|
116
|
+
], template: "<ng-content select=\"daff-sidebar:not([side=right])\"></ng-content>\n\n<daff-backdrop\n [@transformContent]=\"_animationState\"\n class=\"daff-sidebar-viewport__backdrop\"\n [interactable]=\"_backdropInteractable\"\n (backdropClicked)=\"_backdropClicked()\"></daff-backdrop>\n\n<div class=\"daff-sidebar-viewport__content\" [@transformContent]=\"_animationState\">\n <ng-content select=\"[daff-sidebar-viewport-nav]\"></ng-content>\n <div class=\"daff-sidebar-viewport__inner\" [style.padding-left.px]=\"_contentPadLeft\" [style.padding-right.px]=\"_contentPadRight\">\n <ng-content></ng-content>\n </div>\n</div>\n\n<ng-content select=\"daff-sidebar[side=right]\"></ng-content>", styles: [":host{overflow:hidden;display:flex;min-height:100%;position:relative;width:100%;z-index:1;height:100vh;height:100dvh}.daff-sidebar-viewport__content{flex:0 1 auto;width:100%;will-change:transform;z-index:3;overflow-y:auto;height:100%}.daff-sidebar-viewport__sidebar{flex-shrink:0}.daff-sidebar-viewport__backdrop{height:100%;position:absolute;width:100%;z-index:4}:host-context(daff-sidebar-viewport daff-sidebar-viewport) .daff-sidebar-viewport__inner{padding-left:0!important;padding-right:0!important}\n"] }]
|
117
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { sidebars: [{
|
118
|
+
type: ContentChildren,
|
119
|
+
args: [DaffSidebarComponent, { descendants: false }]
|
118
120
|
}], backdropClicked: [{
|
119
121
|
type: Output
|
120
122
|
}] } });
|
121
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozL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Y29udGVudD5cbiAgPC9kaXY+XG48L2Rpdj5cblxuPG5nLWNvbnRlbnQgc2VsZWN0PVwiZGFmZi1zaWRlYmFyW3NpZGU9cmlnaHRdXCI+PC9uZy1jb250ZW50PiJdfQ==
|
@@ -4,7 +4,7 @@ import * as i1 from "@daffodil/design";
|
|
4
4
|
export class BasicNavbarComponent {
|
5
5
|
}
|
6
6
|
/** @nocollapse */ BasicNavbarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BasicNavbarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
7
|
-
/** @nocollapse */ BasicNavbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: BasicNavbarComponent, selector: "basic-navbar", ngImport: i0, template: "<nav daff-navbar class=\"daff-basic-navbar\">\n\t<div class=\"daff-basic-navbar__links\">\n\t\t<a href=\"/\">Home</a>\n\t\t<a href=\"/\">About Us</a>\n\t</div>\n\t<button daff-button color=\"theme-contrast\">Contact Us</button>\n</nav>", styles: [".daff-basic-navbar{justify-content:space-between}.daff-basic-navbar__links>*{font-weight:700;font-size:1.125rem;padding:0 16px;text-decoration:none;text-transform:uppercase}\n"], components: [{ type: i1.DaffNavbarComponent, selector: "nav[daff-navbar]", inputs: ["color", "raised"] }, { type: i1.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", "size", "status"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
7
|
+
/** @nocollapse */ BasicNavbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: BasicNavbarComponent, selector: "basic-navbar", ngImport: i0, template: "<nav daff-navbar class=\"daff-basic-navbar\">\n\t<div class=\"daff-basic-navbar__links\">\n\t\t<a href=\"/\">Home</a>\n\t\t<a href=\"/\">About Us</a>\n\t</div>\n\t<button daff-button color=\"theme-contrast\">Contact Us</button>\n</nav>", styles: [".daff-basic-navbar{justify-content:space-between}.daff-basic-navbar__links>*{font-weight:700;font-size:1.125rem;padding:0 16px;text-decoration:none;text-transform:uppercase}\n"], components: [{ type: i1.DaffNavbarComponent, selector: "nav[daff-navbar]", inputs: ["color", "raised"] }, { type: i1.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", "size", "status", "loading", "tabindex", "disabled"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
8
8
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BasicNavbarComponent, decorators: [{
|
9
9
|
type: Component,
|
10
10
|
args: [{ selector: 'basic-navbar', changeDetection: ChangeDetectionStrategy.OnPush, template: "<nav daff-navbar class=\"daff-basic-navbar\">\n\t<div class=\"daff-basic-navbar__links\">\n\t\t<a href=\"/\">Home</a>\n\t\t<a href=\"/\">About Us</a>\n\t</div>\n\t<button daff-button color=\"theme-contrast\">Contact Us</button>\n</nav>", styles: [".daff-basic-navbar{justify-content:space-between}.daff-basic-navbar__links>*{font-weight:700;font-size:1.125rem;padding:0 16px;text-decoration:none;text-transform:uppercase}\n"] }]
|
@@ -4,7 +4,7 @@ import * as i1 from "@daffodil/design";
|
|
4
4
|
export class ContainedNavbarComponent {
|
5
5
|
}
|
6
6
|
/** @nocollapse */ ContainedNavbarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: ContainedNavbarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
7
|
-
/** @nocollapse */ ContainedNavbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: ContainedNavbarComponent, selector: "contained-navbar", ngImport: i0, template: "<nav daff-navbar class=\"daff-contained-navbar\">\n\t<daff-container size=\"md\">\n\t\t<div class=\"daff-contained-navbar__links\">\n\t\t\t<a href=\"/\">Home</a>\n\t\t\t<a href=\"/\">About Us</a>\n\t\t</div>\n\t\t<button daff-button>Contact Us</button>\n\t</daff-container>\n</nav>\n", styles: [".daff-contained-navbar{justify-content:space-between}.daff-contained-navbar__links>*{font-weight:700;font-size:1.125rem;padding:0 16px;text-decoration:none;text-transform:uppercase}\n"], components: [{ type: i1.DaffNavbarComponent, selector: "nav[daff-navbar]", inputs: ["color", "raised"] }, { type: i1.DaffContainerComponent, selector: "daff-container", inputs: ["size"] }, { type: i1.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", "size", "status"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
7
|
+
/** @nocollapse */ ContainedNavbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: ContainedNavbarComponent, selector: "contained-navbar", ngImport: i0, template: "<nav daff-navbar class=\"daff-contained-navbar\">\n\t<daff-container size=\"md\">\n\t\t<div class=\"daff-contained-navbar__links\">\n\t\t\t<a href=\"/\">Home</a>\n\t\t\t<a href=\"/\">About Us</a>\n\t\t</div>\n\t\t<button daff-button>Contact Us</button>\n\t</daff-container>\n</nav>\n", styles: [".daff-contained-navbar{justify-content:space-between}.daff-contained-navbar__links>*{font-weight:700;font-size:1.125rem;padding:0 16px;text-decoration:none;text-transform:uppercase}\n"], components: [{ type: i1.DaffNavbarComponent, selector: "nav[daff-navbar]", inputs: ["color", "raised"] }, { type: i1.DaffContainerComponent, selector: "daff-container", inputs: ["size"] }, { type: i1.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", "size", "status", "loading", "tabindex", "disabled"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
8
8
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: ContainedNavbarComponent, decorators: [{
|
9
9
|
type: Component,
|
10
10
|
args: [{ selector: 'contained-navbar', changeDetection: ChangeDetectionStrategy.OnPush, template: "<nav daff-navbar class=\"daff-contained-navbar\">\n\t<daff-container size=\"md\">\n\t\t<div class=\"daff-contained-navbar__links\">\n\t\t\t<a href=\"/\">Home</a>\n\t\t\t<a href=\"/\">About Us</a>\n\t\t</div>\n\t\t<button daff-button>Contact Us</button>\n\t</daff-container>\n</nav>\n", styles: [".daff-contained-navbar{justify-content:space-between}.daff-contained-navbar__links>*{font-weight:700;font-size:1.125rem;padding:0 16px;text-decoration:none;text-transform:uppercase}\n"] }]
|
@@ -20,7 +20,7 @@ export class NavbarThemingComponent {
|
|
20
20
|
}
|
21
21
|
}
|
22
22
|
/** @nocollapse */ NavbarThemingComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: NavbarThemingComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
23
|
-
/** @nocollapse */ NavbarThemingComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: NavbarThemingComponent, selector: "navbar-theming", ngImport: i0, template: "<nav daff-navbar [color]=\"colorControl.value\" class=\"daff-navbar-theming\">\n\t<div class=\"daff-navbar-theming__links\">\n\t\t<a href=\"/\">Home</a>\n\t\t<a href=\"/\">About Us</a>\n\t</div>\n\t<button daff-button>Contact Us</button>\n</nav>\n\n<select [formControl]=\"colorControl\">\n\t<option *ngFor=\"let option of options\" [value]=\"option.value\">{{ option.label }}</option>\n</select>", styles: [".daff-navbar-theming{justify-content:space-between}.daff-navbar-theming__links>*{font-weight:700;font-size:1.125rem;padding:0 16px;text-decoration:none;text-transform:uppercase}\n"], components: [{ type: i1.DaffNavbarComponent, selector: "nav[daff-navbar]", inputs: ["color", "raised"] }, { type: i1.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", "size", "status"] }], directives: [{ type: i2.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { type: i2.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
23
|
+
/** @nocollapse */ NavbarThemingComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: NavbarThemingComponent, selector: "navbar-theming", ngImport: i0, template: "<nav daff-navbar [color]=\"colorControl.value\" class=\"daff-navbar-theming\">\n\t<div class=\"daff-navbar-theming__links\">\n\t\t<a href=\"/\">Home</a>\n\t\t<a href=\"/\">About Us</a>\n\t</div>\n\t<button daff-button>Contact Us</button>\n</nav>\n\n<select [formControl]=\"colorControl\">\n\t<option *ngFor=\"let option of options\" [value]=\"option.value\">{{ option.label }}</option>\n</select>", styles: [".daff-navbar-theming{justify-content:space-between}.daff-navbar-theming__links>*{font-weight:700;font-size:1.125rem;padding:0 16px;text-decoration:none;text-transform:uppercase}\n"], components: [{ type: i1.DaffNavbarComponent, selector: "nav[daff-navbar]", inputs: ["color", "raised"] }, { type: i1.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", "size", "status", "loading", "tabindex", "disabled"] }], directives: [{ type: i2.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { type: i2.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
24
24
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: NavbarThemingComponent, decorators: [{
|
25
25
|
type: Component,
|
26
26
|
args: [{ selector: 'navbar-theming', changeDetection: ChangeDetectionStrategy.OnPush, template: "<nav daff-navbar [color]=\"colorControl.value\" class=\"daff-navbar-theming\">\n\t<div class=\"daff-navbar-theming__links\">\n\t\t<a href=\"/\">Home</a>\n\t\t<a href=\"/\">About Us</a>\n\t</div>\n\t<button daff-button>Contact Us</button>\n</nav>\n\n<select [formControl]=\"colorControl\">\n\t<option *ngFor=\"let option of options\" [value]=\"option.value\">{{ option.label }}</option>\n</select>", styles: [".daff-navbar-theming{justify-content:space-between}.daff-navbar-theming__links>*{font-weight:700;font-size:1.125rem;padding:0 16px;text-decoration:none;text-transform:uppercase}\n"] }]
|
@@ -4,7 +4,7 @@ import * as i1 from "@daffodil/design";
|
|
4
4
|
export class RaisedNavbarComponent {
|
5
5
|
}
|
6
6
|
/** @nocollapse */ RaisedNavbarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: RaisedNavbarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
7
|
-
/** @nocollapse */ RaisedNavbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: RaisedNavbarComponent, selector: "raised-navbar", ngImport: i0, template: "<nav daff-navbar [raised]=\"true\" class=\"daff-raised-navbar\">\n\t<div class=\"daff-raised-navbar__links\">\n\t\t<a href=\"/\">Home</a>\n\t\t<a href=\"/\">About Us</a>\n\t</div>\n\t<button daff-button>Contact Us</button>\n</nav>\n", styles: [".daff-raised-navbar{justify-content:space-between}.daff-raised-navbar__links>*{font-weight:700;font-size:1.125rem;padding:0 16px;text-decoration:none;text-transform:uppercase}\n"], components: [{ type: i1.DaffNavbarComponent, selector: "nav[daff-navbar]", inputs: ["color", "raised"] }, { type: i1.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", "size", "status"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
7
|
+
/** @nocollapse */ RaisedNavbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: RaisedNavbarComponent, selector: "raised-navbar", ngImport: i0, template: "<nav daff-navbar [raised]=\"true\" class=\"daff-raised-navbar\">\n\t<div class=\"daff-raised-navbar__links\">\n\t\t<a href=\"/\">Home</a>\n\t\t<a href=\"/\">About Us</a>\n\t</div>\n\t<button daff-button>Contact Us</button>\n</nav>\n", styles: [".daff-raised-navbar{justify-content:space-between}.daff-raised-navbar__links>*{font-weight:700;font-size:1.125rem;padding:0 16px;text-decoration:none;text-transform:uppercase}\n"], components: [{ type: i1.DaffNavbarComponent, selector: "nav[daff-navbar]", inputs: ["color", "raised"] }, { type: i1.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", "size", "status", "loading", "tabindex", "disabled"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
8
8
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: RaisedNavbarComponent, decorators: [{
|
9
9
|
type: Component,
|
10
10
|
args: [{ selector: 'raised-navbar', changeDetection: ChangeDetectionStrategy.OnPush, template: "<nav daff-navbar [raised]=\"true\" class=\"daff-raised-navbar\">\n\t<div class=\"daff-raised-navbar__links\">\n\t\t<a href=\"/\">Home</a>\n\t\t<a href=\"/\">About Us</a>\n\t</div>\n\t<button daff-button>Contact Us</button>\n</nav>\n", styles: [".daff-raised-navbar{justify-content:space-between}.daff-raised-navbar__links>*{font-weight:700;font-size:1.125rem;padding:0 16px;text-decoration:none;text-transform:uppercase}\n"] }]
|
package/esm2020/public_api.mjs
CHANGED
@@ -8,13 +8,14 @@ export * from './atoms/form/form-field/public_api';
|
|
8
8
|
export * from './atoms/form/error-message/public_api';
|
9
9
|
export * from './atoms/image/public_api';
|
10
10
|
export * from './atoms/form/input/public_api';
|
11
|
-
export * from './atoms/form/select/public_api';
|
11
|
+
export * from './atoms/form/native-select/public_api';
|
12
12
|
export * from './atoms/form/checkbox/public_api';
|
13
13
|
export * from './atoms/form/quantity-field/public_api';
|
14
14
|
export * from './atoms/container/public_api';
|
15
15
|
export * from './atoms/loading-icon/public_api';
|
16
16
|
export * from './atoms/progress-indicator/public_api';
|
17
17
|
export * from './atoms/form/radio/public_api';
|
18
|
+
export * from './atoms/form/form-label/public_api';
|
18
19
|
// Molecules
|
19
20
|
export * from './molecules/accordion/public_api';
|
20
21
|
export * from './molecules/article/public_api';
|
@@ -39,4 +40,4 @@ export * from './molecules/card/public_api';
|
|
39
40
|
export * from './core/public_api';
|
40
41
|
// Examples
|
41
42
|
export * from './examples/public_api';
|
42
|
-
//# sourceMappingURL=data:application/json;base64,
|
43
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2xpYnMvZGVzaWduL3NyYy9wdWJsaWNfYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsUUFBUTtBQUNSLGNBQWMsMkJBQTJCLENBQUM7QUFDMUMsY0FBYyw4QkFBOEIsQ0FBQztBQUM3QyxjQUFjLG9DQUFvQyxDQUFDO0FBQ25ELGNBQWMsdUNBQXVDLENBQUM7QUFDdEQsY0FBYywwQkFBMEIsQ0FBQztBQUN6QyxjQUFjLCtCQUErQixDQUFDO0FBQzlDLGNBQWMsdUNBQXVDLENBQUM7QUFDdEQsY0FBYyxrQ0FBa0MsQ0FBQztBQUNqRCxjQUFjLHdDQUF3QyxDQUFDO0FBQ3ZELGNBQWMsOEJBQThCLENBQUM7QUFDN0MsY0FBYyxpQ0FBaUMsQ0FBQztBQUNoRCxjQUFjLHVDQUF1QyxDQUFDO0FBQ3RELGNBQWMsK0JBQStCLENBQUM7QUFDOUMsY0FBYyxvQ0FBb0MsQ0FBQztBQUVuRCxZQUFZO0FBQ1osY0FBYyxrQ0FBa0MsQ0FBQztBQUNqRCxjQUFjLGdDQUFnQyxDQUFDO0FBQy9DLGNBQWMsaUNBQWlDLENBQUM7QUFDaEQsY0FBYyxtQ0FBbUMsQ0FBQztBQUNsRCxjQUFjLHNDQUFz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WNfYXBpJztcbmV4cG9ydCAqIGZyb20gJy4vbW9sZWN1bGVzL21lZGlhLWdhbGxlcnkvcHVibGljX2FwaSc7XG5leHBvcnQgKiBmcm9tICcuL21vbGVjdWxlcy9tZW51L3B1YmxpY19hcGknO1xuZXhwb3J0ICogZnJvbSAnLi9tb2xlY3VsZXMvbW9kYWwvcHVibGljX2FwaSc7XG5leHBvcnQgKiBmcm9tICcuL21vbGVjdWxlcy9uYXZiYXIvcHVibGljX2FwaSc7XG5leHBvcnQgKiBmcm9tICcuL21vbGVjdWxlcy9wYWdpbmF0b3IvcHVibGljX2FwaSc7XG5leHBvcnQgKiBmcm9tICcuL21vbGVjdWxlcy9xdHktZHJvcGRvd24vcHVibGljX2FwaSc7XG5leHBvcnQgKiBmcm9tICcuL21vbGVjdWxlcy9zaWRlYmFyL3B1YmxpY19hcGknO1xuZXhwb3J0ICogZnJvbSAnLi9tb2xlY3VsZXMvaGVyby9wdWJsaWNfYXBpJztcbmV4cG9ydCAqIGZyb20gJy4vbW9sZWN1bGVzL2NhbGxvdXQvcHVibGljX2FwaSc7XG5leHBvcnQgKiBmcm9tICcuL21vbGVjdWxlcy9mZWF0dXJlL3B1YmxpY19hcGknO1xuZXhwb3J0ICogZnJvbSAnLi9tb2xlY3VsZXMvY2FyZC9wdWJsaWNfYXBpJztcblxuLy8gQ29yZVxuZXhwb3J0ICogZnJvbSAnLi9jb3JlL3B1YmxpY19hcGknO1xuXG4vLyBFeGFtcGxlc1xuZXhwb3J0ICogZnJvbSAnLi9leGFtcGxlcy9wdWJsaWNfYXBpJztcbiJdfQ==
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { ChangeDetectionStrategy, Component, } from '@angular/core';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
import * as i1 from "@daffodil/design";
|
4
|
+
export class BasicSidebarComponent {
|
5
|
+
}
|
6
|
+
/** @nocollapse */ BasicSidebarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BasicSidebarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
7
|
+
/** @nocollapse */ BasicSidebarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: BasicSidebarComponent, selector: "basic-sidebar", ngImport: i0, template: "<daff-sidebar-viewport>\n <daff-sidebar>\n <a daff-link-set-item routerLink=\"accordion\">Accordion</a><br>\n <a daff-link-set-item routerLink=\"article\">Article</a><br>\n </daff-sidebar>\n <div>\n <nav daff-navbar>\n <div>Basic Sidebar</div>\n </nav>\n </div>\n</daff-sidebar-viewport>", styles: ["daff-sidebar-viewport{height:300px}\n"], components: [{ type: i1.DaffSidebarViewportComponent, selector: "daff-sidebar-viewport", outputs: ["backdropClicked"] }, { type: i1.DaffSidebarComponent, selector: "daff-sidebar", inputs: ["side", "mode", "open"], outputs: ["escapePressed"] }, { type: i1.DaffNavbarComponent, selector: "nav[daff-navbar]", inputs: ["color", "raised"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
8
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BasicSidebarComponent, decorators: [{
|
9
|
+
type: Component,
|
10
|
+
args: [{ selector: 'basic-sidebar', styles: ['daff-sidebar-viewport { height: 300px }'], changeDetection: ChangeDetectionStrategy.OnPush, template: "<daff-sidebar-viewport>\n <daff-sidebar>\n <a daff-link-set-item routerLink=\"accordion\">Accordion</a><br>\n <a daff-link-set-item routerLink=\"article\">Article</a><br>\n </daff-sidebar>\n <div>\n <nav daff-navbar>\n <div>Basic Sidebar</div>\n </nav>\n </div>\n</daff-sidebar-viewport>" }]
|
11
|
+
}] });
|
12
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFzaWMtc2lkZWJhci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8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