@dontdrinkandroot/ngx-material-extensions 0.5.3 → 0.6.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/assets/_extensions.scss +132 -0
- package/assets/_mixins.scss +11 -0
- package/assets/_theme.scss +131 -0
- package/assets/_utils.scss +46 -0
- package/{_variables.scss → assets/_variables.scss} +16 -1
- package/assets/fonts.scss +21 -0
- package/{index.scss → assets/style.scss} +2 -1
- package/assets/utils/_color.scss +29 -0
- package/assets/utils/_display.scss +37 -0
- package/{_utilities.scss → assets/utils/_spacing.scss} +3 -53
- package/esm2022/public-api.mjs +7 -4
- package/esm2022/src/button/fab-fixed.directive.mjs +25 -0
- package/esm2022/src/ddr-material-extensions.module.mjs +60 -9
- package/esm2022/src/filter/filter.component.mjs +3 -3
- package/esm2022/src/gridlist/grid-tile-lazy-image-container.directive.mjs +3 -3
- package/esm2022/src/gridlist/grid-tile-lazy-img.directive.mjs +3 -3
- package/esm2022/src/sidenav/sidenav-container.component.mjs +6 -10
- package/esm2022/src/sidenav/sidenav-toggle.component.mjs +3 -3
- package/esm2022/src/sidenav/sidenav.service.mjs +6 -13
- package/esm2022/src/theme/theme-config.mjs +3 -0
- package/esm2022/src/theme/theme-scroll.service.mjs +49 -0
- package/esm2022/src/toolbar/toolbar-fixed-top.directive.mjs +33 -0
- package/fesm2022/dontdrinkandroot-ngx-material-extensions.mjs +270 -135
- package/fesm2022/dontdrinkandroot-ngx-material-extensions.mjs.map +1 -1
- package/package.json +11 -12
- package/public-api.d.ts +6 -3
- package/src/button/fab-fixed.directive.d.ts +12 -0
- package/src/ddr-material-extensions.module.d.ts +17 -15
- package/src/sidenav/sidenav-container.component.d.ts +1 -2
- package/src/sidenav/sidenav.service.d.ts +1 -3
- package/src/theme/theme-config.d.ts +8 -0
- package/src/theme/theme-scroll.service.d.ts +12 -0
- package/src/toolbar/toolbar-fixed-top.directive.d.ts +13 -0
- package/_extensions.scss +0 -60
- package/_theme.scss +0 -42
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
@use '@angular/material' as mat;
|
|
2
|
+
|
|
3
|
+
.mat-sidenav-container {
|
|
4
|
+
|
|
5
|
+
.mat-sidenav {
|
|
6
|
+
|
|
7
|
+
&.mat-drawer-over {
|
|
8
|
+
max-width: 90vw;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.mat-mdc-nav-list.ddr-mat-sidenav-nav-list {
|
|
12
|
+
.mat-mdc-list-item {
|
|
13
|
+
width: auto;
|
|
14
|
+
margin-right: .5rem;
|
|
15
|
+
border-top-left-radius: 0;
|
|
16
|
+
border-bottom-left-radius: 0;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.mat-sidenav-content {
|
|
22
|
+
min-height: 100vh;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&.side {
|
|
26
|
+
.mat-sidenav {
|
|
27
|
+
.ddr-mat-toolbar-fixed-top-container {
|
|
28
|
+
.mat-toolbar {
|
|
29
|
+
width: 360px;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.mat-sidenav-content {
|
|
35
|
+
.ddr-mat-toolbar-fixed-top-container {
|
|
36
|
+
.mat-toolbar {
|
|
37
|
+
left: 360px;
|
|
38
|
+
right: 0;
|
|
39
|
+
width: auto;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.ddr-mat-fab-fixed-container {
|
|
47
|
+
|
|
48
|
+
height: calc($ddr-mat-fab-height + 2rem);
|
|
49
|
+
|
|
50
|
+
.mdc-fab {
|
|
51
|
+
position: fixed;
|
|
52
|
+
bottom: 1rem;
|
|
53
|
+
right: 1rem;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.mat-toolbar {
|
|
58
|
+
|
|
59
|
+
.ddr-mat-heading {
|
|
60
|
+
@extend .text-overflow-ellipsis;
|
|
61
|
+
@extend .flex-auto;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
ddr-mat-sidenav-toggle {
|
|
65
|
+
margin-right: .25rem;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
&.ddr-mat-toolbar-icon-start {
|
|
69
|
+
padding-left: .25rem;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
&.ddr-mat-toolbar-icon-end {
|
|
73
|
+
padding-right: .25rem;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
@include ddr-mat-mobile {
|
|
77
|
+
&.ddr-mat-toolbar-icon-start-mobile {
|
|
78
|
+
padding-left: .25rem;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
&.ddr-mat-toolbar-icon-end-mobile {
|
|
82
|
+
padding-right: .25rem;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
@include ddr-mat-desktop {
|
|
87
|
+
&.ddr-mat-toolbar-icon-start-desktop {
|
|
88
|
+
padding-left: .25rem;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
&.ddr-mat-toolbar-icon-end-desktop {
|
|
92
|
+
padding-right: .25rem;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.ddr-mat-toolbar-fixed-top-container {
|
|
98
|
+
.mat-toolbar {
|
|
99
|
+
position: fixed;
|
|
100
|
+
top: 0;
|
|
101
|
+
z-index: 2;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
height: var(--mat-toolbar-mobile-height);
|
|
105
|
+
@media (min-width: $ddr-breakpoint-sm) {
|
|
106
|
+
height: var(--mat-toolbar-standard-height);
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
ddr-filter {
|
|
111
|
+
|
|
112
|
+
width: 100%;
|
|
113
|
+
|
|
114
|
+
.mat-mdc-form-field {
|
|
115
|
+
width: 100%;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
p.mat-mdc-list-item-line {
|
|
120
|
+
margin-bottom: 0;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
body.ddr-mat-scrolled {
|
|
124
|
+
.ddr-mat-toolbar-fixed-top-container {
|
|
125
|
+
.mat-toolbar {
|
|
126
|
+
background: mat.get-theme-color($ddr-light-theme, 'surface-container');
|
|
127
|
+
@media (prefers-color-scheme: dark) {
|
|
128
|
+
background: mat.get-theme-color($ddr-dark-theme, 'surface-container');
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
}
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
@use '@angular/material' as mat;
|
|
2
|
+
|
|
3
|
+
@include mat.core();
|
|
4
|
+
|
|
5
|
+
$ddr-mat-primary: mat.$azure-palette !default;
|
|
6
|
+
$ddr-mat-tertiary: mat.$magenta-palette !default;
|
|
7
|
+
|
|
8
|
+
$ddr-light-theme: mat.define-theme((
|
|
9
|
+
color: (
|
|
10
|
+
primary: $ddr-mat-primary,
|
|
11
|
+
tertiary: $ddr-mat-tertiary,
|
|
12
|
+
),
|
|
13
|
+
)) !default;
|
|
14
|
+
|
|
15
|
+
$ddr-dark-theme: mat.define-theme((
|
|
16
|
+
color: (
|
|
17
|
+
theme-type: dark,
|
|
18
|
+
primary: $ddr-mat-primary,
|
|
19
|
+
tertiary: $ddr-mat-tertiary,
|
|
20
|
+
),
|
|
21
|
+
)) !default;
|
|
22
|
+
|
|
23
|
+
html {
|
|
24
|
+
@include mat.all-component-themes($ddr-light-theme);
|
|
25
|
+
@media (prefers-color-scheme: dark) {
|
|
26
|
+
@include mat.all-component-colors($ddr-dark-theme);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.mat-mdc-button {
|
|
31
|
+
&.mat-secondary {
|
|
32
|
+
@include mat.button-color($ddr-light-theme, $color-variant: secondary);
|
|
33
|
+
@media (prefers-color-scheme: dark) {
|
|
34
|
+
@include mat.button-color($ddr-dark-theme, $color-variant: secondary);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&.mat-tertiary {
|
|
39
|
+
@include mat.button-color($ddr-light-theme, $color-variant: tertiary);
|
|
40
|
+
@media (prefers-color-scheme: dark) {
|
|
41
|
+
@include mat.button-color($ddr-dark-theme, $color-variant: tertiary);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&.mat-error {
|
|
46
|
+
@include mat.button-color($ddr-light-theme, $color-variant: error);
|
|
47
|
+
@media (prefers-color-scheme: dark) {
|
|
48
|
+
@include mat.button-color($ddr-dark-theme, $color-variant: error);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.mat-mdc-raised-button {
|
|
54
|
+
&.mat-secondary {
|
|
55
|
+
@include mat.button-color($ddr-light-theme, $color-variant: secondary);
|
|
56
|
+
@media (prefers-color-scheme: dark) {
|
|
57
|
+
@include mat.button-color($ddr-dark-theme, $color-variant: secondary);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
&.mat-tertiary {
|
|
62
|
+
@include mat.button-color($ddr-light-theme, $color-variant: tertiary);
|
|
63
|
+
@media (prefers-color-scheme: dark) {
|
|
64
|
+
@include mat.button-color($ddr-dark-theme, $color-variant: tertiary);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
&.mat-error {
|
|
69
|
+
@include mat.button-color($ddr-light-theme, $color-variant: error);
|
|
70
|
+
@media (prefers-color-scheme: dark) {
|
|
71
|
+
@include mat.button-color($ddr-dark-theme, $color-variant: error);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.mat-mdc-outlined-button {
|
|
77
|
+
&.mat-secondary {
|
|
78
|
+
@include mat.button-color($ddr-light-theme, $color-variant: secondary);
|
|
79
|
+
@media (prefers-color-scheme: dark) {
|
|
80
|
+
@include mat.button-color($ddr-dark-theme, $color-variant: secondary);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
&.mat-tertiary {
|
|
85
|
+
@include mat.button-color($ddr-light-theme, $color-variant: tertiary);
|
|
86
|
+
@media (prefers-color-scheme: dark) {
|
|
87
|
+
@include mat.button-color($ddr-dark-theme, $color-variant: tertiary);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
&.mat-error {
|
|
92
|
+
@include mat.button-color($ddr-light-theme, $color-variant: error);
|
|
93
|
+
@media (prefers-color-scheme: dark) {
|
|
94
|
+
@include mat.button-color($ddr-dark-theme, $color-variant: error);
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.mat-mdc-unelevated-button {
|
|
100
|
+
&.mat-secondary {
|
|
101
|
+
@include mat.button-color($ddr-light-theme, $color-variant: secondary);
|
|
102
|
+
@media (prefers-color-scheme: dark) {
|
|
103
|
+
@include mat.button-color($ddr-dark-theme, $color-variant: secondary);
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
&.mat-tertiary {
|
|
108
|
+
@include mat.button-color($ddr-light-theme, $color-variant: tertiary);
|
|
109
|
+
@media (prefers-color-scheme: dark) {
|
|
110
|
+
@include mat.button-color($ddr-dark-theme, $color-variant: tertiary);
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
&.mat-error {
|
|
115
|
+
@include mat.button-color($ddr-light-theme, $color-variant: error);
|
|
116
|
+
@media (prefers-color-scheme: dark) {
|
|
117
|
+
@include mat.button-color($ddr-dark-theme, $color-variant: error);
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
@include mat.typography-hierarchy($ddr-light-theme);
|
|
123
|
+
|
|
124
|
+
html, body {
|
|
125
|
+
height: 100%;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
body {
|
|
129
|
+
margin: 0;
|
|
130
|
+
font-family: Roboto, "Helvetica Neue", sans-serif;
|
|
131
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
@import "./utils/display";
|
|
2
|
+
@import "./utils/spacing";
|
|
3
|
+
@import "./utils/color";
|
|
4
|
+
|
|
5
|
+
.flex-row {
|
|
6
|
+
flex-direction: row !important;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.flex-column {
|
|
10
|
+
flex-direction: column !important;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.flex-auto {
|
|
14
|
+
flex: 1 1 auto !important;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.d-grid {
|
|
18
|
+
grid-gap: 1rem;
|
|
19
|
+
|
|
20
|
+
&.equal-columns {
|
|
21
|
+
grid-auto-columns: minmax(0, 1fr);
|
|
22
|
+
grid-auto-flow: column;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.text-center {
|
|
27
|
+
text-align: center !important;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.text-overflow-ellipsis {
|
|
31
|
+
overflow: hidden !important;
|
|
32
|
+
text-overflow: ellipsis !important;
|
|
33
|
+
white-space: nowrap !important;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
.list-unstyled {
|
|
38
|
+
list-style-type: none !important;
|
|
39
|
+
padding-left: 0 !important;
|
|
40
|
+
margin-block-start: 0;
|
|
41
|
+
margin-block-end: 0;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.cursor-pointer {
|
|
45
|
+
cursor: pointer !important;
|
|
46
|
+
}
|
|
@@ -24,14 +24,29 @@ $ddr-margins: (
|
|
|
24
24
|
'mb': 'margin-bottom'
|
|
25
25
|
) !default;
|
|
26
26
|
|
|
27
|
+
$ddr-displays: (
|
|
28
|
+
none: none,
|
|
29
|
+
inline: inline,
|
|
30
|
+
inline-block: inline-block,
|
|
31
|
+
block: block,
|
|
32
|
+
grid: grid,
|
|
33
|
+
inline-grid: inline-grid,
|
|
34
|
+
table: table,
|
|
35
|
+
table-cell: table-cell,
|
|
36
|
+
table-row: table-row,
|
|
37
|
+
flex: flex,
|
|
38
|
+
inline-flex: inline-flex
|
|
39
|
+
) !default;
|
|
40
|
+
|
|
27
41
|
$ddr-mat-fab-height: 56px !default;
|
|
28
42
|
|
|
43
|
+
$ddr-breakpoint-xs: 0;
|
|
29
44
|
$ddr-breakpoint-sm: 600px;
|
|
30
45
|
$ddr-breakpoint-md: 960px;
|
|
31
46
|
$ddr-breakpoint-lg: 1280px;
|
|
32
47
|
$ddr-breakpoint-xl: 1920px;
|
|
33
48
|
$ddr-breakpoints: (
|
|
34
|
-
xs:
|
|
49
|
+
xs: $ddr-breakpoint-xs,
|
|
35
50
|
sm: $ddr-breakpoint-sm,
|
|
36
51
|
md: $ddr-breakpoint-md,
|
|
37
52
|
lg: $ddr-breakpoint-lg,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
@import "@fontsource/roboto/300.css";
|
|
2
|
+
@import "@fontsource/roboto/400.css";
|
|
3
|
+
@import "@fontsource/roboto/500.css";
|
|
4
|
+
@import "@fontsource/roboto/700.css";
|
|
5
|
+
@import "@fontsource/material-icons";
|
|
6
|
+
|
|
7
|
+
.material-icons {
|
|
8
|
+
font-family: 'Material Icons';
|
|
9
|
+
font-weight: normal;
|
|
10
|
+
font-style: normal;
|
|
11
|
+
font-size: 24px;
|
|
12
|
+
line-height: 1;
|
|
13
|
+
letter-spacing: normal;
|
|
14
|
+
text-transform: none;
|
|
15
|
+
display: inline-block;
|
|
16
|
+
white-space: nowrap;
|
|
17
|
+
word-wrap: normal;
|
|
18
|
+
direction: ltr;
|
|
19
|
+
-moz-font-feature-settings: 'liga';
|
|
20
|
+
-moz-osx-font-smoothing: grayscale;
|
|
21
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
@use '@angular/material' as mat;
|
|
2
|
+
|
|
3
|
+
.text-primary {
|
|
4
|
+
color: mat.get-theme-color($ddr-light-theme, primary) !important;
|
|
5
|
+
@media (prefers-color-scheme: dark) {
|
|
6
|
+
color: mat.get-theme-color($ddr-dark-theme, primary) !important;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.text-secondary {
|
|
11
|
+
color: mat.get-theme-color($ddr-light-theme, secondary) !important;
|
|
12
|
+
@media (prefers-color-scheme: dark) {
|
|
13
|
+
color: mat.get-theme-color($ddr-dark-theme, secondary) !important;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.text-tertiary {
|
|
18
|
+
color: mat.get-theme-color($ddr-light-theme, tertiary) !important;
|
|
19
|
+
@media (prefers-color-scheme: dark) {
|
|
20
|
+
color: mat.get-theme-color($ddr-dark-theme, tertiary) !important;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.text-error {
|
|
25
|
+
color: mat.get-theme-color($ddr-light-theme, error) !important;
|
|
26
|
+
@media (prefers-color-scheme: dark) {
|
|
27
|
+
color: mat.get-theme-color($ddr-dark-theme, error) !important;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
@function next-breakpoint($breakpoint) {
|
|
2
|
+
$breakpoints: map-keys($ddr-breakpoints);
|
|
3
|
+
$index: index($breakpoints, $breakpoint);
|
|
4
|
+
@if $index < length($breakpoints) {
|
|
5
|
+
@return map-get($ddr-breakpoints, nth($breakpoints, $index + 1));
|
|
6
|
+
}
|
|
7
|
+
@return null;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
@each $display, $value in $ddr-displays {
|
|
11
|
+
.d-#{$display} {
|
|
12
|
+
display: $value !important;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
@each $breakpoint, $size in $ddr-breakpoints {
|
|
16
|
+
.d-min-#{$breakpoint}-#{$display} {
|
|
17
|
+
@media (min-width: $size) {
|
|
18
|
+
display: $value !important;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.d-max-#{$breakpoint}-#{$display} {
|
|
23
|
+
@media (max-width: $size) {
|
|
24
|
+
display: $value !important;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.d-#{$breakpoint}-#{$display} {
|
|
29
|
+
$next: next-breakpoint($breakpoint);
|
|
30
|
+
@if $next {
|
|
31
|
+
@media (min-width: $size) and (max-width: $next) {
|
|
32
|
+
display: $value !important;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -1,29 +1,3 @@
|
|
|
1
|
-
.d-flex {
|
|
2
|
-
display: flex !important;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
.flex-row {
|
|
6
|
-
flex-direction: row !important;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.flex-column {
|
|
10
|
-
flex-direction: column !important;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.flex-auto {
|
|
14
|
-
flex: 1 1 auto !important;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.d-grid {
|
|
18
|
-
display: grid !important;
|
|
19
|
-
grid-gap: 1rem;
|
|
20
|
-
|
|
21
|
-
&.equal-columns {
|
|
22
|
-
grid-auto-columns: minmax(0, 1fr);
|
|
23
|
-
grid-auto-flow: column;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
1
|
@each $prefix, $property in $ddr-paddings {
|
|
28
2
|
@each $suffix, $size in $ddr-spacers {
|
|
29
3
|
.#{$prefix}-#{$suffix} {
|
|
@@ -72,31 +46,7 @@
|
|
|
72
46
|
margin-left: auto !important;
|
|
73
47
|
}
|
|
74
48
|
|
|
75
|
-
.
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
.text-muted {
|
|
80
|
-
color: #9e9e9e !important;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.text-overflow-ellipsis {
|
|
84
|
-
overflow: hidden !important;
|
|
85
|
-
text-overflow: ellipsis !important;
|
|
86
|
-
white-space: nowrap !important;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.sticky-top {
|
|
90
|
-
position: sticky !important;
|
|
91
|
-
top: 0 !important;
|
|
92
|
-
z-index: 1 !important;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.list-unstyled {
|
|
96
|
-
list-style-type: none !important;
|
|
97
|
-
padding-left: 0 !important;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.cursor-pointer {
|
|
101
|
-
cursor: pointer !important;
|
|
49
|
+
.mx-auto {
|
|
50
|
+
margin-left: auto !important;
|
|
51
|
+
margin-right: auto !important;
|
|
102
52
|
}
|
package/esm2022/public-api.mjs
CHANGED
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Public API Surface of ngx-material-extensions
|
|
3
3
|
*/
|
|
4
|
+
export * from './src/ddr-material-extensions.module';
|
|
5
|
+
export * from './src/button/fab-fixed.directive';
|
|
4
6
|
export * from './src/filter/filter.component';
|
|
7
|
+
export * from './src/gridlist/grid-tile-lazy-image-container.directive';
|
|
8
|
+
export * from './src/gridlist/grid-tile-lazy-img.directive';
|
|
5
9
|
export * from './src/sidenav/sidenav-container.component';
|
|
6
10
|
export * from './src/sidenav/sidenav-toggle.component';
|
|
7
11
|
export * from './src/sidenav/sidenav.service';
|
|
8
|
-
export * from './src/
|
|
9
|
-
export * from './src/
|
|
10
|
-
|
|
11
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3B1YmxpYy1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLCtCQUErQixDQUFDO0FBRTlDLGNBQWMsMkNBQTJDLENBQUM7QUFDMUQsY0FBYyx3Q0FBd0MsQ0FBQztBQUN2RCxjQUFjLCtCQUErQixDQUFDO0FBRTlDLGNBQWMsc0NBQXNDLENBQUM7QUFDckQsY0FBYyx5REFBeUQsQ0FBQztBQUN4RSxjQUFjLDZDQUE2QyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLypcbiAqIFB1YmxpYyBBUEkgU3VyZmFjZSBvZiBuZ3gtbWF0ZXJpYWwtZXh0ZW5zaW9uc1xuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vc3JjL2ZpbHRlci9maWx0ZXIuY29tcG9uZW50JztcblxuZXhwb3J0ICogZnJvbSAnLi9zcmMvc2lkZW5hdi9zaWRlbmF2LWNvbnRhaW5lci5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9zcmMvc2lkZW5hdi9zaWRlbmF2LXRvZ2dsZS5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9zcmMvc2lkZW5hdi9zaWRlbmF2LnNlcnZpY2UnO1xuXG5leHBvcnQgKiBmcm9tICcuL3NyYy9kZHItbWF0ZXJpYWwtZXh0ZW5zaW9ucy5tb2R1bGUnO1xuZXhwb3J0ICogZnJvbSAnLi9zcmMvZ3JpZGxpc3QvZ3JpZC10aWxlLWxhenktaW1hZ2UtY29udGFpbmVyLmRpcmVjdGl2ZSc7XG5leHBvcnQgKiBmcm9tICcuL3NyYy9ncmlkbGlzdC9ncmlkLXRpbGUtbGF6eS1pbWcuZGlyZWN0aXZlJztcbiJdfQ==
|
|
12
|
+
export * from './src/theme/theme-config';
|
|
13
|
+
export * from './src/toolbar/toolbar-fixed-top.directive';
|
|
14
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIj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yb20gJy4vc3JjL3NpZGVuYXYvc2lkZW5hdi5zZXJ2aWNlJztcblxuZXhwb3J0ICogZnJvbSAnLi9zcmMvdGhlbWUvdGhlbWUtY29uZmlnJ1xuXG5leHBvcnQgKiBmcm9tICcuL3NyYy90b29sYmFyL3Rvb2xiYXItZml4ZWQtdG9wLmRpcmVjdGl2ZSdcbiJdfQ==
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Directive } from "@angular/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class FabFixedDirective {
|
|
4
|
+
constructor(el) {
|
|
5
|
+
this.el = el;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* @override
|
|
9
|
+
*/
|
|
10
|
+
ngOnInit() {
|
|
11
|
+
const container = document.createElement('div');
|
|
12
|
+
container.classList.add('ddr-mat-fab-fixed-container');
|
|
13
|
+
this.el.nativeElement.parentElement.insertBefore(container, this.el.nativeElement);
|
|
14
|
+
container.appendChild(this.el.nativeElement);
|
|
15
|
+
}
|
|
16
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: FabFixedDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
17
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.1", type: FabFixedDirective, selector: "[ddrMatFabFixed]", ngImport: i0 }); }
|
|
18
|
+
}
|
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: FabFixedDirective, decorators: [{
|
|
20
|
+
type: Directive,
|
|
21
|
+
args: [{
|
|
22
|
+
selector: '[ddrMatFabFixed]'
|
|
23
|
+
}]
|
|
24
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }] });
|
|
25
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmFiLWZpeGVk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