@ng-matero/extensions 18.2.4 → 18.3.1
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/_index.scss +14 -15
- package/alert/_alert-theme.scss +7 -0
- package/button/_button-theme.scss +3 -1
- package/colorpicker/_colorpicker-theme.scss +7 -0
- package/datetimepicker/_datetimepicker-theme.scss +7 -0
- package/drawer/_drawer-theme.scss +7 -0
- package/esm2022/datetimepicker/calendar.mjs +3 -2
- package/esm2022/datetimepicker/datetimepicker.mjs +2 -2
- package/esm2022/grid/cell.mjs +5 -4
- package/esm2022/grid/grid.mjs +3 -3
- package/esm2022/grid/interfaces.mjs +1 -1
- package/fesm2022/mtxDatetimepicker.mjs +3 -2
- package/fesm2022/mtxDatetimepicker.mjs.map +1 -1
- package/fesm2022/mtxGrid.mjs +6 -5
- package/fesm2022/mtxGrid.mjs.map +1 -1
- package/grid/_grid-theme.scss +7 -0
- package/grid/grid.scss +8 -9
- package/grid/interfaces.d.ts +2 -0
- package/loader/_loader-theme.scss +7 -0
- package/package.json +11 -11
- package/popover/_popover-theme.scss +7 -0
- package/progress/_progress-theme.scss +7 -0
- package/select/_select-theme.scss +7 -0
- package/split/_split-theme.scss +7 -0
- package/tooltip/_tooltip-theme.scss +7 -0
package/grid/_grid-theme.scss
CHANGED
|
@@ -51,6 +51,13 @@
|
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
+
@mixin overrides($tokens: ()) {
|
|
55
|
+
@include token-utils.batch-create-token-values(
|
|
56
|
+
$tokens,
|
|
57
|
+
(prefix: tokens-mtx-grid.$prefix, tokens: tokens-mtx-grid.get-token-slots()),
|
|
58
|
+
);
|
|
59
|
+
}
|
|
60
|
+
|
|
54
61
|
@mixin theme($theme) {
|
|
55
62
|
@include mat.private-check-duplicate-theme-styles($theme, 'mtx-grid') {
|
|
56
63
|
@if mat.get-theme-version($theme) == 1 {
|
package/grid/grid.scss
CHANGED
|
@@ -110,7 +110,12 @@ $_tokens: tokens-mtx-grid.$prefix, tokens-mtx-grid.get-token-slots();
|
|
|
110
110
|
}
|
|
111
111
|
|
|
112
112
|
.mat-sort-header-icon {
|
|
113
|
-
margin:
|
|
113
|
+
margin-left: 4px;
|
|
114
|
+
|
|
115
|
+
[dir='rtl'] & {
|
|
116
|
+
margin-left: 0;
|
|
117
|
+
margin-right: 4px;
|
|
118
|
+
}
|
|
114
119
|
}
|
|
115
120
|
|
|
116
121
|
.mat-header-cell-inner {
|
|
@@ -230,8 +235,8 @@ $_tokens: tokens-mtx-grid.$prefix, tokens-mtx-grid.get-token-slots();
|
|
|
230
235
|
@include token-utils.use-tokens($_tokens...) {
|
|
231
236
|
$compat-size: token-utils.get-token-variable(row-expand-button-size);
|
|
232
237
|
|
|
233
|
-
width: var(--mdc-icon-button-state-layer-size,
|
|
234
|
-
height: var(--mdc-icon-button-state-layer-size,
|
|
238
|
+
width: var(--mdc-icon-button-state-layer-size, $compat-size);
|
|
239
|
+
height: var(--mdc-icon-button-state-layer-size, $compat-size);
|
|
235
240
|
}
|
|
236
241
|
}
|
|
237
242
|
|
|
@@ -252,9 +257,3 @@ $_tokens: tokens-mtx-grid.$prefix, tokens-mtx-grid.get-token-slots();
|
|
|
252
257
|
vertical-align: middle;
|
|
253
258
|
}
|
|
254
259
|
}
|
|
255
|
-
|
|
256
|
-
.mtx-grid-icon {
|
|
257
|
-
width: 20px;
|
|
258
|
-
height: 20px;
|
|
259
|
-
font-size: 20px;
|
|
260
|
-
}
|
package/grid/interfaces.d.ts
CHANGED
|
@@ -71,6 +71,8 @@ export interface MtxGridColumnButton<T = any> {
|
|
|
71
71
|
type?: MtxGridButtonType;
|
|
72
72
|
text?: string | Observable<string>;
|
|
73
73
|
icon?: string;
|
|
74
|
+
fontIcon?: string;
|
|
75
|
+
svgIcon?: string;
|
|
74
76
|
color?: ThemePalette;
|
|
75
77
|
class?: string;
|
|
76
78
|
disabled?: boolean | ((rowData: T) => boolean);
|
|
@@ -43,6 +43,13 @@
|
|
|
43
43
|
@else {}
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
+
@mixin overrides($tokens: ()) {
|
|
47
|
+
@include token-utils.batch-create-token-values(
|
|
48
|
+
$tokens,
|
|
49
|
+
(prefix: tokens-mtx-loader.$prefix, tokens: tokens-mtx-loader.get-token-slots()),
|
|
50
|
+
);
|
|
51
|
+
}
|
|
52
|
+
|
|
46
53
|
@mixin theme($theme) {
|
|
47
54
|
@include mat.private-check-duplicate-theme-styles($theme, 'mtx-loader') {
|
|
48
55
|
@if mat.get-theme-version($theme) == 1 {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ng-matero/extensions",
|
|
3
|
-
"version": "18.
|
|
3
|
+
"version": "18.3.1",
|
|
4
4
|
"description": "Angular Material Extensions",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -90,11 +90,11 @@
|
|
|
90
90
|
"esm": "./esm2022/checkbox-group/mtxCheckboxGroup.mjs",
|
|
91
91
|
"default": "./fesm2022/mtxCheckboxGroup.mjs"
|
|
92
92
|
},
|
|
93
|
-
"./
|
|
94
|
-
"types": "./
|
|
95
|
-
"esm2022": "./esm2022/
|
|
96
|
-
"esm": "./esm2022/
|
|
97
|
-
"default": "./fesm2022/
|
|
93
|
+
"./colorpicker": {
|
|
94
|
+
"types": "./colorpicker/index.d.ts",
|
|
95
|
+
"esm2022": "./esm2022/colorpicker/mtxColorpicker.mjs",
|
|
96
|
+
"esm": "./esm2022/colorpicker/mtxColorpicker.mjs",
|
|
97
|
+
"default": "./fesm2022/mtxColorpicker.mjs"
|
|
98
98
|
},
|
|
99
99
|
"./column-resize": {
|
|
100
100
|
"types": "./column-resize/index.d.ts",
|
|
@@ -102,11 +102,11 @@
|
|
|
102
102
|
"esm": "./esm2022/column-resize/mtxColumnResize.mjs",
|
|
103
103
|
"default": "./fesm2022/mtxColumnResize.mjs"
|
|
104
104
|
},
|
|
105
|
-
"./
|
|
106
|
-
"types": "./
|
|
107
|
-
"esm2022": "./esm2022/
|
|
108
|
-
"esm": "./esm2022/
|
|
109
|
-
"default": "./fesm2022/
|
|
105
|
+
"./core": {
|
|
106
|
+
"types": "./core/index.d.ts",
|
|
107
|
+
"esm2022": "./esm2022/core/mtxCore.mjs",
|
|
108
|
+
"esm": "./esm2022/core/mtxCore.mjs",
|
|
109
|
+
"default": "./fesm2022/mtxCore.mjs"
|
|
110
110
|
},
|
|
111
111
|
"./datetimepicker": {
|
|
112
112
|
"types": "./datetimepicker/index.d.ts",
|
|
@@ -43,6 +43,13 @@
|
|
|
43
43
|
@else {}
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
+
@mixin overrides($tokens: ()) {
|
|
47
|
+
@include token-utils.batch-create-token-values(
|
|
48
|
+
$tokens,
|
|
49
|
+
(prefix: tokens-mtx-popover.$prefix, tokens: tokens-mtx-popover.get-token-slots()),
|
|
50
|
+
);
|
|
51
|
+
}
|
|
52
|
+
|
|
46
53
|
@mixin theme($theme) {
|
|
47
54
|
@include mat.private-check-duplicate-theme-styles($theme, 'mtx-popover') {
|
|
48
55
|
@if mat.get-theme-version($theme) == 1 {
|
|
@@ -48,6 +48,13 @@
|
|
|
48
48
|
@else {}
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
+
@mixin overrides($tokens: ()) {
|
|
52
|
+
@include token-utils.batch-create-token-values(
|
|
53
|
+
$tokens,
|
|
54
|
+
(prefix: tokens-mtx-progress.$prefix, tokens: tokens-mtx-progress.get-token-slots()),
|
|
55
|
+
);
|
|
56
|
+
}
|
|
57
|
+
|
|
51
58
|
@mixin theme($theme) {
|
|
52
59
|
@include mat.private-check-duplicate-theme-styles($theme, 'mtx-progress') {
|
|
53
60
|
@if mat.get-theme-version($theme) == 1 {
|
|
@@ -60,6 +60,13 @@
|
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
+
@mixin overrides($tokens: ()) {
|
|
64
|
+
@include token-utils.batch-create-token-values(
|
|
65
|
+
$tokens,
|
|
66
|
+
(prefix: tokens-mtx-select.$prefix, tokens: tokens-mtx-select.get-token-slots()),
|
|
67
|
+
);
|
|
68
|
+
}
|
|
69
|
+
|
|
63
70
|
@mixin theme($theme, $options...) {
|
|
64
71
|
@include mat.private-check-duplicate-theme-styles($theme, 'mtx-select') {
|
|
65
72
|
@if mat.get-theme-version($theme) == 1 {
|
package/split/_split-theme.scss
CHANGED
|
@@ -55,6 +55,13 @@
|
|
|
55
55
|
@else {}
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
+
@mixin overrides($tokens: ()) {
|
|
59
|
+
@include token-utils.batch-create-token-values(
|
|
60
|
+
$tokens,
|
|
61
|
+
(prefix: tokens-mtx-split.$prefix, tokens: tokens-mtx-split.get-token-slots()),
|
|
62
|
+
);
|
|
63
|
+
}
|
|
64
|
+
|
|
58
65
|
@mixin theme($theme, $options...) {
|
|
59
66
|
@include mat.private-check-duplicate-theme-styles($theme, 'mtx-split') {
|
|
60
67
|
@if mat.get-theme-version($theme) == 1 {
|
|
@@ -62,6 +62,13 @@
|
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
+
@mixin overrides($tokens: ()) {
|
|
66
|
+
@include token-utils.batch-create-token-values(
|
|
67
|
+
$tokens,
|
|
68
|
+
(prefix: tokens-mdc-plain-tooltip.$prefix, tokens: tokens-mdc-plain-tooltip.get-token-slots()),
|
|
69
|
+
);
|
|
70
|
+
}
|
|
71
|
+
|
|
65
72
|
@mixin theme($theme) {
|
|
66
73
|
@include mat.private-check-duplicate-theme-styles($theme, 'mtx-tooltip') {
|
|
67
74
|
@if mat.get-theme-version($theme) == 1 {
|