@angular/material 17.0.0-rc.3 → 17.0.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/autocomplete/index.d.ts +0 -2
- package/button/_button-theme.scss +4 -0
- package/core/ripple/_ripple-theme.scss +51 -19
- package/core/tokens/m2/_index.scss +27 -8
- package/esm2022/autocomplete/autocomplete-origin.mjs +4 -4
- package/esm2022/autocomplete/autocomplete-trigger.mjs +10 -10
- package/esm2022/autocomplete/autocomplete.mjs +4 -4
- package/esm2022/autocomplete/module.mjs +5 -5
- package/esm2022/badge/badge-module.mjs +5 -5
- package/esm2022/badge/badge.mjs +4 -4
- package/esm2022/bottom-sheet/bottom-sheet-container.mjs +4 -4
- package/esm2022/bottom-sheet/bottom-sheet-module.mjs +5 -5
- package/esm2022/bottom-sheet/bottom-sheet.mjs +4 -4
- package/esm2022/button/button-base.mjs +7 -7
- package/esm2022/button/button.mjs +7 -7
- package/esm2022/button/fab.mjs +13 -13
- package/esm2022/button/icon-button.mjs +7 -7
- package/esm2022/button/module.mjs +5 -5
- package/esm2022/button-toggle/button-toggle-module.mjs +5 -5
- package/esm2022/button-toggle/button-toggle.mjs +7 -7
- package/esm2022/card/card.mjs +43 -43
- package/esm2022/card/module.mjs +5 -5
- package/esm2022/checkbox/checkbox-required-validator.mjs +4 -4
- package/esm2022/checkbox/checkbox.mjs +4 -4
- package/esm2022/checkbox/module.mjs +9 -9
- package/esm2022/chips/chip-action.mjs +4 -4
- package/esm2022/chips/chip-edit-input.mjs +4 -4
- package/esm2022/chips/chip-grid.mjs +4 -4
- package/esm2022/chips/chip-icons.mjs +10 -10
- package/esm2022/chips/chip-input.mjs +4 -4
- package/esm2022/chips/chip-listbox.mjs +4 -4
- package/esm2022/chips/chip-option.mjs +4 -4
- package/esm2022/chips/chip-row.mjs +4 -4
- package/esm2022/chips/chip-set.mjs +4 -4
- package/esm2022/chips/chip.mjs +4 -4
- package/esm2022/chips/module.mjs +5 -5
- package/esm2022/core/common-behaviors/common-module.mjs +5 -5
- package/esm2022/core/datetime/index.mjs +9 -9
- package/esm2022/core/datetime/native-date-adapter.mjs +4 -4
- package/esm2022/core/error/error-options.mjs +7 -7
- package/esm2022/core/line/line.mjs +8 -8
- package/esm2022/core/option/index.mjs +5 -5
- package/esm2022/core/option/optgroup.mjs +4 -4
- package/esm2022/core/option/option.mjs +4 -4
- package/esm2022/core/private/ripple-loader.mjs +4 -4
- package/esm2022/core/ripple/index.mjs +5 -5
- package/esm2022/core/ripple/ripple.mjs +4 -4
- package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox-module.mjs +5 -5
- package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +4 -4
- package/esm2022/core/version.mjs +1 -1
- package/esm2022/datepicker/calendar-body.mjs +5 -5
- package/esm2022/datepicker/calendar.mjs +7 -7
- package/esm2022/datepicker/date-range-input-parts.mjs +10 -10
- package/esm2022/datepicker/date-range-input.mjs +4 -4
- package/esm2022/datepicker/date-range-picker.mjs +4 -4
- package/esm2022/datepicker/date-range-selection-strategy.mjs +4 -4
- package/esm2022/datepicker/date-selection-model.mjs +10 -10
- package/esm2022/datepicker/datepicker-actions.mjs +10 -10
- package/esm2022/datepicker/datepicker-base.mjs +7 -7
- package/esm2022/datepicker/datepicker-input-base.mjs +4 -4
- package/esm2022/datepicker/datepicker-input.mjs +4 -4
- package/esm2022/datepicker/datepicker-intl.mjs +4 -4
- package/esm2022/datepicker/datepicker-module.mjs +5 -5
- package/esm2022/datepicker/datepicker-toggle.mjs +7 -7
- package/esm2022/datepicker/datepicker.mjs +4 -4
- package/esm2022/datepicker/month-view.mjs +4 -4
- package/esm2022/datepicker/multi-year-view.mjs +4 -4
- package/esm2022/datepicker/year-view.mjs +4 -4
- package/esm2022/dialog/dialog-container.mjs +4 -4
- package/esm2022/dialog/dialog-content-directives.mjs +13 -13
- package/esm2022/dialog/dialog.mjs +4 -4
- package/esm2022/dialog/module.mjs +5 -5
- package/esm2022/divider/divider-module.mjs +5 -5
- package/esm2022/divider/divider.mjs +4 -4
- package/esm2022/expansion/accordion.mjs +4 -4
- package/esm2022/expansion/expansion-module.mjs +5 -5
- package/esm2022/expansion/expansion-panel-content.mjs +4 -4
- package/esm2022/expansion/expansion-panel-header.mjs +10 -10
- package/esm2022/expansion/expansion-panel.mjs +7 -7
- package/esm2022/form-field/directives/error.mjs +4 -4
- package/esm2022/form-field/directives/floating-label.mjs +4 -4
- package/esm2022/form-field/directives/hint.mjs +4 -4
- package/esm2022/form-field/directives/label.mjs +4 -4
- package/esm2022/form-field/directives/line-ripple.mjs +4 -4
- package/esm2022/form-field/directives/notched-outline.mjs +4 -4
- package/esm2022/form-field/directives/prefix.mjs +4 -4
- package/esm2022/form-field/directives/suffix.mjs +4 -4
- package/esm2022/form-field/form-field-control.mjs +4 -4
- package/esm2022/form-field/form-field.mjs +4 -4
- package/esm2022/form-field/module.mjs +5 -5
- package/esm2022/grid-list/grid-list-module.mjs +5 -5
- package/esm2022/grid-list/grid-list.mjs +4 -4
- package/esm2022/grid-list/grid-tile.mjs +16 -16
- package/esm2022/icon/icon-module.mjs +5 -5
- package/esm2022/icon/icon-registry.mjs +4 -4
- package/esm2022/icon/icon.mjs +4 -4
- package/esm2022/icon/testing/fake-icon-registry.mjs +8 -8
- package/esm2022/input/input.mjs +4 -4
- package/esm2022/input/module.mjs +5 -5
- package/esm2022/list/action-list.mjs +4 -4
- package/esm2022/list/list-base.mjs +12 -12
- package/esm2022/list/list-item-sections.mjs +19 -19
- package/esm2022/list/list-module.mjs +5 -5
- package/esm2022/list/list-option.mjs +4 -4
- package/esm2022/list/list.mjs +7 -7
- package/esm2022/list/nav-list.mjs +4 -4
- package/esm2022/list/selection-list.mjs +4 -4
- package/esm2022/list/subheader.mjs +4 -4
- package/esm2022/menu/menu-content.mjs +4 -4
- package/esm2022/menu/menu-item.mjs +4 -4
- package/esm2022/menu/menu-trigger.mjs +4 -4
- package/esm2022/menu/menu.mjs +4 -4
- package/esm2022/menu/module.mjs +5 -5
- package/esm2022/paginator/module.mjs +5 -5
- package/esm2022/paginator/paginator-intl.mjs +4 -4
- package/esm2022/paginator/paginator.mjs +4 -4
- package/esm2022/progress-bar/module.mjs +5 -5
- package/esm2022/progress-bar/progress-bar.mjs +4 -4
- package/esm2022/progress-spinner/module.mjs +5 -5
- package/esm2022/progress-spinner/progress-spinner.mjs +4 -4
- package/esm2022/radio/module.mjs +5 -5
- package/esm2022/radio/radio.mjs +7 -7
- package/esm2022/select/module.mjs +5 -5
- package/esm2022/select/select.mjs +8 -8
- package/esm2022/sidenav/drawer.mjs +10 -10
- package/esm2022/sidenav/sidenav-module.mjs +5 -5
- package/esm2022/sidenav/sidenav.mjs +10 -10
- package/esm2022/slide-toggle/module.mjs +9 -9
- package/esm2022/slide-toggle/slide-toggle-required-validator.mjs +4 -4
- package/esm2022/slide-toggle/slide-toggle.mjs +4 -4
- package/esm2022/slider/module.mjs +5 -5
- package/esm2022/slider/slider-input.mjs +7 -7
- package/esm2022/slider/slider-thumb.mjs +4 -4
- package/esm2022/slider/slider.mjs +4 -4
- package/esm2022/snack-bar/module.mjs +5 -5
- package/esm2022/snack-bar/simple-snack-bar.mjs +4 -4
- package/esm2022/snack-bar/snack-bar-container.mjs +4 -4
- package/esm2022/snack-bar/snack-bar-content.mjs +10 -10
- package/esm2022/snack-bar/snack-bar.mjs +4 -4
- package/esm2022/sort/sort-header-intl.mjs +4 -4
- package/esm2022/sort/sort-header.mjs +4 -4
- package/esm2022/sort/sort-module.mjs +5 -5
- package/esm2022/sort/sort.mjs +4 -4
- package/esm2022/stepper/step-content.mjs +4 -4
- package/esm2022/stepper/step-header.mjs +4 -4
- package/esm2022/stepper/step-label.mjs +4 -4
- package/esm2022/stepper/stepper-button.mjs +7 -7
- package/esm2022/stepper/stepper-icon.mjs +4 -4
- package/esm2022/stepper/stepper-intl.mjs +4 -4
- package/esm2022/stepper/stepper-module.mjs +5 -5
- package/esm2022/stepper/stepper.mjs +7 -7
- package/esm2022/table/cell.mjs +22 -22
- package/esm2022/table/module.mjs +5 -5
- package/esm2022/table/row.mjs +22 -22
- package/esm2022/table/table.mjs +7 -7
- package/esm2022/table/text-column.mjs +4 -4
- package/esm2022/tabs/module.mjs +5 -5
- package/esm2022/tabs/paginated-tab-header.mjs +4 -4
- package/esm2022/tabs/tab-body.mjs +7 -7
- package/esm2022/tabs/tab-content.mjs +4 -4
- package/esm2022/tabs/tab-group.mjs +4 -4
- package/esm2022/tabs/tab-header.mjs +4 -4
- package/esm2022/tabs/tab-label-wrapper.mjs +4 -4
- package/esm2022/tabs/tab-label.mjs +4 -4
- package/esm2022/tabs/tab-nav-bar/tab-nav-bar.mjs +10 -10
- package/esm2022/tabs/tab.mjs +4 -4
- package/esm2022/toolbar/toolbar-module.mjs +5 -5
- package/esm2022/toolbar/toolbar.mjs +7 -7
- package/esm2022/tooltip/module.mjs +5 -5
- package/esm2022/tooltip/tooltip.mjs +7 -7
- package/esm2022/tree/node.mjs +10 -10
- package/esm2022/tree/outlet.mjs +4 -4
- package/esm2022/tree/padding.mjs +4 -4
- package/esm2022/tree/toggle.mjs +4 -4
- package/esm2022/tree/tree-module.mjs +5 -5
- package/esm2022/tree/tree.mjs +4 -4
- package/fesm2022/autocomplete.mjs +19 -19
- package/fesm2022/autocomplete.mjs.map +1 -1
- package/fesm2022/badge.mjs +7 -7
- package/fesm2022/badge.mjs.map +1 -1
- package/fesm2022/bottom-sheet.mjs +10 -10
- package/fesm2022/bottom-sheet.mjs.map +1 -1
- package/fesm2022/button-toggle.mjs +10 -10
- package/fesm2022/button-toggle.mjs.map +1 -1
- package/fesm2022/button.mjs +34 -34
- package/fesm2022/button.mjs.map +1 -1
- package/fesm2022/card.mjs +46 -46
- package/fesm2022/card.mjs.map +1 -1
- package/fesm2022/checkbox.mjs +14 -14
- package/fesm2022/checkbox.mjs.map +1 -1
- package/fesm2022/chips.mjs +40 -40
- package/fesm2022/chips.mjs.map +1 -1
- package/fesm2022/core.mjs +56 -56
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/datepicker.mjs +83 -83
- package/fesm2022/datepicker.mjs.map +1 -1
- package/fesm2022/dialog.mjs +22 -22
- package/fesm2022/dialog.mjs.map +1 -1
- package/fesm2022/divider.mjs +7 -7
- package/fesm2022/divider.mjs.map +1 -1
- package/fesm2022/expansion.mjs +25 -25
- package/fesm2022/expansion.mjs.map +1 -1
- package/fesm2022/form-field.mjs +34 -34
- package/fesm2022/form-field.mjs.map +1 -1
- package/fesm2022/grid-list.mjs +22 -22
- package/fesm2022/grid-list.mjs.map +1 -1
- package/fesm2022/icon/testing.mjs +7 -7
- package/fesm2022/icon/testing.mjs.map +1 -1
- package/fesm2022/icon.mjs +10 -10
- package/fesm2022/icon.mjs.map +1 -1
- package/fesm2022/input.mjs +7 -7
- package/fesm2022/input.mjs.map +1 -1
- package/fesm2022/list.mjs +54 -54
- package/fesm2022/list.mjs.map +1 -1
- package/fesm2022/menu.mjs +16 -16
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/paginator.mjs +10 -10
- package/fesm2022/paginator.mjs.map +1 -1
- package/fesm2022/progress-bar.mjs +7 -7
- package/fesm2022/progress-bar.mjs.map +1 -1
- package/fesm2022/progress-spinner.mjs +7 -7
- package/fesm2022/progress-spinner.mjs.map +1 -1
- package/fesm2022/radio.mjs +10 -10
- package/fesm2022/radio.mjs.map +1 -1
- package/fesm2022/select.mjs +11 -11
- package/fesm2022/select.mjs.map +1 -1
- package/fesm2022/sidenav.mjs +22 -22
- package/fesm2022/sidenav.mjs.map +1 -1
- package/fesm2022/slide-toggle.mjs +14 -14
- package/fesm2022/slide-toggle.mjs.map +1 -1
- package/fesm2022/slider.mjs +16 -16
- package/fesm2022/slider.mjs.map +1 -1
- package/fesm2022/snack-bar.mjs +22 -22
- package/fesm2022/snack-bar.mjs.map +1 -1
- package/fesm2022/sort.mjs +13 -13
- package/fesm2022/sort.mjs.map +1 -1
- package/fesm2022/stepper.mjs +31 -31
- package/fesm2022/stepper.mjs.map +1 -1
- package/fesm2022/table.mjs +55 -55
- package/fesm2022/table.mjs.map +1 -1
- package/fesm2022/tabs.mjs +40 -40
- package/fesm2022/tabs.mjs.map +1 -1
- package/fesm2022/toolbar.mjs +10 -10
- package/fesm2022/toolbar.mjs.map +1 -1
- package/fesm2022/tooltip.mjs +10 -10
- package/fesm2022/tooltip.mjs.map +1 -1
- package/fesm2022/tree.mjs +25 -25
- package/fesm2022/tree.mjs.map +1 -1
- package/form-field/_form-field-theme.scss +85 -49
- package/input/_input-theme.scss +39 -12
- package/list/_list-theme.scss +115 -83
- package/package.json +7 -7
- package/prebuilt-themes/deeppurple-amber.css +1 -1
- package/prebuilt-themes/indigo-pink.css +1 -1
- package/prebuilt-themes/pink-bluegrey.css +1 -1
- package/prebuilt-themes/purple-green.css +1 -1
- package/schematics/ng-add/index.js +2 -2
- package/schematics/ng-add/index.mjs +2 -2
- package/schematics/ng-generate/address-form/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html.template +28 -29
- package/schematics/ng-generate/dashboard/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html.template +21 -19
- package/schematics/ng-generate/mdc-migration/index_bundled.js +498 -289
- package/schematics/ng-generate/mdc-migration/index_bundled.js.map +4 -4
- package/schematics/ng-generate/navigation/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html.template +9 -8
- package/schematics/ng-generate/navigation/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts.template +1 -2
- package/schematics/ng-update/index_bundled.js +31 -31
- package/slide-toggle/_slide-toggle-theme.scss +78 -44
- package/sort/_sort-theme.scss +51 -20
- package/stepper/_stepper-theme.scss +58 -25
- package/table/_table-theme.scss +53 -20
- package/tabs/_tabs-theme.scss +87 -51
- package/tree/_tree-theme.scss +53 -21
|
@@ -12,14 +12,15 @@
|
|
|
12
12
|
</mat-sidenav>
|
|
13
13
|
<mat-sidenav-content>
|
|
14
14
|
<mat-toolbar color="primary">
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
15
|
+
@if (isHandset$ | async) {
|
|
16
|
+
<button
|
|
17
|
+
type="button"
|
|
18
|
+
aria-label="Toggle sidenav"
|
|
19
|
+
mat-icon-button
|
|
20
|
+
(click)="drawer.toggle()">
|
|
21
|
+
<mat-icon aria-label="Side nav toggle icon">menu</mat-icon>
|
|
22
|
+
</button>
|
|
23
|
+
}
|
|
23
24
|
<span><%= project %></span>
|
|
24
25
|
</mat-toolbar>
|
|
25
26
|
<!-- Add Content Here -->
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Component, inject<% if(!!viewEncapsulation) { %>, ViewEncapsulation<% }%><% if(changeDetection !== 'Default') { %>, ChangeDetectionStrategy<% }%> } from '@angular/core';
|
|
2
2
|
import { BreakpointObserver, Breakpoints } from '@angular/cdk/layout';<% if(standalone) { %>
|
|
3
|
+
import { AsyncPipe } from '@angular/common';
|
|
3
4
|
import { MatToolbarModule } from '@angular/material/toolbar';
|
|
4
5
|
import { MatButtonModule } from '@angular/material/button';
|
|
5
6
|
import { MatSidenavModule } from '@angular/material/sidenav';
|
|
@@ -7,7 +8,6 @@ import { MatListModule } from '@angular/material/list';
|
|
|
7
8
|
import { MatIconModule } from '@angular/material/icon';<% } %>
|
|
8
9
|
import { Observable } from 'rxjs';
|
|
9
10
|
import { map, shareReplay } from 'rxjs/operators';
|
|
10
|
-
import { AsyncPipe, NgIf } from '@angular/common';
|
|
11
11
|
|
|
12
12
|
@Component({
|
|
13
13
|
selector: '<%= selector %>',<% if(inlineTemplate) { %>
|
|
@@ -29,7 +29,6 @@ import { AsyncPipe, NgIf } from '@angular/common';
|
|
|
29
29
|
MatListModule,
|
|
30
30
|
MatIconModule,
|
|
31
31
|
AsyncPipe,
|
|
32
|
-
NgIf
|
|
33
32
|
]<% } %>
|
|
34
33
|
})
|
|
35
34
|
export class <%= classify(name) %>Component {
|
|
@@ -474,9 +474,9 @@ var require_tslib = __commonJS({
|
|
|
474
474
|
}
|
|
475
475
|
});
|
|
476
476
|
|
|
477
|
-
// bazel-out/
|
|
477
|
+
// bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/migrations/legacy-imports-error.js
|
|
478
478
|
var require_legacy_imports_error = __commonJS({
|
|
479
|
-
"bazel-out/
|
|
479
|
+
"bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/migrations/legacy-imports-error.js"(exports) {
|
|
480
480
|
"use strict";
|
|
481
481
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
482
482
|
exports.legacyImportsError = void 0;
|
|
@@ -543,9 +543,9 @@ ${filesMessage}
|
|
|
543
543
|
}
|
|
544
544
|
});
|
|
545
545
|
|
|
546
|
-
// bazel-out/
|
|
546
|
+
// bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/attribute-selectors.js
|
|
547
547
|
var require_attribute_selectors = __commonJS({
|
|
548
|
-
"bazel-out/
|
|
548
|
+
"bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/attribute-selectors.js"(exports) {
|
|
549
549
|
"use strict";
|
|
550
550
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
551
551
|
exports.attributeSelectors = void 0;
|
|
@@ -553,9 +553,9 @@ var require_attribute_selectors = __commonJS({
|
|
|
553
553
|
}
|
|
554
554
|
});
|
|
555
555
|
|
|
556
|
-
// bazel-out/
|
|
556
|
+
// bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/class-names.js
|
|
557
557
|
var require_class_names = __commonJS({
|
|
558
|
-
"bazel-out/
|
|
558
|
+
"bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/class-names.js"(exports) {
|
|
559
559
|
"use strict";
|
|
560
560
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
561
561
|
exports.classNames = void 0;
|
|
@@ -563,9 +563,9 @@ var require_class_names = __commonJS({
|
|
|
563
563
|
}
|
|
564
564
|
});
|
|
565
565
|
|
|
566
|
-
// bazel-out/
|
|
566
|
+
// bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/constructor-checks.js
|
|
567
567
|
var require_constructor_checks = __commonJS({
|
|
568
|
-
"bazel-out/
|
|
568
|
+
"bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/constructor-checks.js"(exports) {
|
|
569
569
|
"use strict";
|
|
570
570
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
571
571
|
exports.constructorChecks = void 0;
|
|
@@ -573,9 +573,9 @@ var require_constructor_checks = __commonJS({
|
|
|
573
573
|
}
|
|
574
574
|
});
|
|
575
575
|
|
|
576
|
-
// bazel-out/
|
|
576
|
+
// bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/css-selectors.js
|
|
577
577
|
var require_css_selectors = __commonJS({
|
|
578
|
-
"bazel-out/
|
|
578
|
+
"bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/css-selectors.js"(exports) {
|
|
579
579
|
"use strict";
|
|
580
580
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
581
581
|
exports.cssSelectors = void 0;
|
|
@@ -583,9 +583,9 @@ var require_css_selectors = __commonJS({
|
|
|
583
583
|
}
|
|
584
584
|
});
|
|
585
585
|
|
|
586
|
-
// bazel-out/
|
|
586
|
+
// bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/element-selectors.js
|
|
587
587
|
var require_element_selectors = __commonJS({
|
|
588
|
-
"bazel-out/
|
|
588
|
+
"bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/element-selectors.js"(exports) {
|
|
589
589
|
"use strict";
|
|
590
590
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
591
591
|
exports.elementSelectors = void 0;
|
|
@@ -593,9 +593,9 @@ var require_element_selectors = __commonJS({
|
|
|
593
593
|
}
|
|
594
594
|
});
|
|
595
595
|
|
|
596
|
-
// bazel-out/
|
|
596
|
+
// bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/input-names.js
|
|
597
597
|
var require_input_names = __commonJS({
|
|
598
|
-
"bazel-out/
|
|
598
|
+
"bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/input-names.js"(exports) {
|
|
599
599
|
"use strict";
|
|
600
600
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
601
601
|
exports.inputNames = void 0;
|
|
@@ -603,9 +603,9 @@ var require_input_names = __commonJS({
|
|
|
603
603
|
}
|
|
604
604
|
});
|
|
605
605
|
|
|
606
|
-
// bazel-out/
|
|
606
|
+
// bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/method-call-checks.js
|
|
607
607
|
var require_method_call_checks = __commonJS({
|
|
608
|
-
"bazel-out/
|
|
608
|
+
"bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/method-call-checks.js"(exports) {
|
|
609
609
|
"use strict";
|
|
610
610
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
611
611
|
exports.methodCallChecks = void 0;
|
|
@@ -613,9 +613,9 @@ var require_method_call_checks = __commonJS({
|
|
|
613
613
|
}
|
|
614
614
|
});
|
|
615
615
|
|
|
616
|
-
// bazel-out/
|
|
616
|
+
// bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/output-names.js
|
|
617
617
|
var require_output_names = __commonJS({
|
|
618
|
-
"bazel-out/
|
|
618
|
+
"bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/output-names.js"(exports) {
|
|
619
619
|
"use strict";
|
|
620
620
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
621
621
|
exports.outputNames = void 0;
|
|
@@ -623,9 +623,9 @@ var require_output_names = __commonJS({
|
|
|
623
623
|
}
|
|
624
624
|
});
|
|
625
625
|
|
|
626
|
-
// bazel-out/
|
|
626
|
+
// bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/property-names.js
|
|
627
627
|
var require_property_names = __commonJS({
|
|
628
|
-
"bazel-out/
|
|
628
|
+
"bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/property-names.js"(exports) {
|
|
629
629
|
"use strict";
|
|
630
630
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
631
631
|
exports.propertyNames = void 0;
|
|
@@ -633,9 +633,9 @@ var require_property_names = __commonJS({
|
|
|
633
633
|
}
|
|
634
634
|
});
|
|
635
635
|
|
|
636
|
-
// bazel-out/
|
|
636
|
+
// bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/symbol-removal.js
|
|
637
637
|
var require_symbol_removal = __commonJS({
|
|
638
|
-
"bazel-out/
|
|
638
|
+
"bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/symbol-removal.js"(exports) {
|
|
639
639
|
"use strict";
|
|
640
640
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
641
641
|
exports.symbolRemoval = void 0;
|
|
@@ -643,9 +643,9 @@ var require_symbol_removal = __commonJS({
|
|
|
643
643
|
}
|
|
644
644
|
});
|
|
645
645
|
|
|
646
|
-
// bazel-out/
|
|
646
|
+
// bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/index.js
|
|
647
647
|
var require_data = __commonJS({
|
|
648
|
-
"bazel-out/
|
|
648
|
+
"bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/index.js"(exports) {
|
|
649
649
|
"use strict";
|
|
650
650
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
651
651
|
var tslib_1 = require_tslib();
|
|
@@ -662,9 +662,9 @@ var require_data = __commonJS({
|
|
|
662
662
|
}
|
|
663
663
|
});
|
|
664
664
|
|
|
665
|
-
// bazel-out/
|
|
665
|
+
// bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/upgrade-data.js
|
|
666
666
|
var require_upgrade_data = __commonJS({
|
|
667
|
-
"bazel-out/
|
|
667
|
+
"bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/upgrade-data.js"(exports) {
|
|
668
668
|
"use strict";
|
|
669
669
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
670
670
|
exports.materialUpgradeData = void 0;
|
|
@@ -684,9 +684,9 @@ var require_upgrade_data = __commonJS({
|
|
|
684
684
|
}
|
|
685
685
|
});
|
|
686
686
|
|
|
687
|
-
// bazel-out/
|
|
687
|
+
// bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/migrations/theme-base-v17/migration.js
|
|
688
688
|
var require_migration = __commonJS({
|
|
689
|
-
"bazel-out/
|
|
689
|
+
"bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/migrations/theme-base-v17/migration.js"(exports) {
|
|
690
690
|
"use strict";
|
|
691
691
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
692
692
|
exports.addThemeBaseMixins = exports.checkThemeBaseMixins = void 0;
|
|
@@ -903,9 +903,9 @@ var require_migration = __commonJS({
|
|
|
903
903
|
}
|
|
904
904
|
});
|
|
905
905
|
|
|
906
|
-
// bazel-out/
|
|
906
|
+
// bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/migrations/theme-base-v17/index.js
|
|
907
907
|
var require_theme_base_v17 = __commonJS({
|
|
908
|
-
"bazel-out/
|
|
908
|
+
"bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/migrations/theme-base-v17/index.js"(exports) {
|
|
909
909
|
"use strict";
|
|
910
910
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
911
911
|
exports.ThemeBaseMigration = void 0;
|
|
@@ -988,7 +988,7 @@ ${mixinsText}`
|
|
|
988
988
|
}
|
|
989
989
|
});
|
|
990
990
|
|
|
991
|
-
// bazel-out/
|
|
991
|
+
// bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/index.mjs
|
|
992
992
|
var ng_update_exports = {};
|
|
993
993
|
__export(ng_update_exports, {
|
|
994
994
|
updateToV17: () => updateToV17
|
|
@@ -1,82 +1,116 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
1
2
|
@use '@material/switch/switch-theme' as mdc-switch-theme;
|
|
2
3
|
@use '@material/form-field' as mdc-form-field;
|
|
3
4
|
@use '../core/theming/theming';
|
|
4
5
|
@use '../core/theming/inspection';
|
|
5
6
|
@use '../core/mdc-helpers/mdc-helpers';
|
|
6
7
|
@use '../core/typography/typography';
|
|
7
|
-
@use '../core/tokens/m2/mdc/switch' as
|
|
8
|
-
@use '../core/tokens/m2/mat/slide-toggle' as
|
|
8
|
+
@use '../core/tokens/m2/mdc/switch' as tokens-mdc-switch;
|
|
9
|
+
@use '../core/tokens/m2/mat/slide-toggle' as tokens-mat-slide-toggle;
|
|
9
10
|
@use '../core/tokens/token-utils';
|
|
10
11
|
|
|
11
12
|
@mixin base($theme) {
|
|
12
|
-
.
|
|
13
|
-
@include
|
|
13
|
+
@if inspection.get-theme-version($theme) == 1 {
|
|
14
|
+
@include _theme-from-tokens(inspection.get-theme-tokens($theme, base));
|
|
15
|
+
}
|
|
16
|
+
@else {
|
|
17
|
+
.mdc-switch {
|
|
18
|
+
@include mdc-switch-theme.theme(tokens-mdc-switch.get-unthemable-tokens());
|
|
19
|
+
}
|
|
14
20
|
}
|
|
15
21
|
}
|
|
16
22
|
|
|
17
23
|
@mixin color($theme) {
|
|
18
|
-
|
|
19
|
-
|
|
24
|
+
@if inspection.get-theme-version($theme) == 1 {
|
|
25
|
+
@include _theme-from-tokens(inspection.get-theme-tokens($theme, color));
|
|
26
|
+
}
|
|
27
|
+
@else {
|
|
28
|
+
$is-dark: inspection.get-theme-type($theme) == dark;
|
|
29
|
+
$mdc-switch-color-tokens: tokens-mdc-switch.get-color-tokens($theme);
|
|
20
30
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
31
|
+
@include mdc-helpers.using-mdc-theme($theme) {
|
|
32
|
+
// Add values for MDC slide toggles tokens
|
|
33
|
+
.mat-mdc-slide-toggle {
|
|
34
|
+
@include mdc-form-field.core-styles($query: mdc-helpers.$mdc-theme-styles-query);
|
|
35
|
+
@include mdc-switch-theme.theme($mdc-switch-color-tokens);
|
|
26
36
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
37
|
+
// MDC should set the disabled color on the label, but doesn't, so we do it here instead.
|
|
38
|
+
.mdc-switch--disabled + label {
|
|
39
|
+
color: inspection.get-theme-color($theme, foreground, disabled-text);
|
|
40
|
+
}
|
|
31
41
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
42
|
+
// Change the color palette related tokens to accent or warn if applicable
|
|
43
|
+
&.mat-accent {
|
|
44
|
+
@include mdc-switch-theme.theme(
|
|
45
|
+
tokens-mdc-switch.private-get-color-palette-color-tokens($theme, accent));
|
|
46
|
+
}
|
|
37
47
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
48
|
+
&.mat-warn {
|
|
49
|
+
@include mdc-switch-theme.theme(
|
|
50
|
+
tokens-mdc-switch.private-get-color-palette-color-tokens($theme, warn));
|
|
51
|
+
}
|
|
41
52
|
}
|
|
42
53
|
}
|
|
43
54
|
}
|
|
44
55
|
}
|
|
45
56
|
|
|
46
57
|
@mixin typography($theme) {
|
|
47
|
-
|
|
48
|
-
|
|
58
|
+
@if inspection.get-theme-version($theme) == 1 {
|
|
59
|
+
@include _theme-from-tokens(inspection.get-theme-tokens($theme, typography));
|
|
60
|
+
}
|
|
61
|
+
@else {
|
|
62
|
+
$mdc-switch-typography-tokens: tokens-mdc-switch.get-typography-tokens($theme);
|
|
63
|
+
$mat-slide-toggle-typography-tokens: tokens-mat-slide-toggle.get-typography-tokens($theme);
|
|
49
64
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
65
|
+
//Add values for MDC slide toggle tokens
|
|
66
|
+
.mat-mdc-slide-toggle {
|
|
67
|
+
@include mdc-form-field.core-styles($query: mdc-helpers.$mdc-typography-styles-query);
|
|
68
|
+
@include mdc-switch-theme.theme($mdc-switch-typography-tokens);
|
|
69
|
+
@include token-utils.create-token-values(
|
|
70
|
+
tokens-mat-slide-toggle.$prefix,
|
|
71
|
+
$mat-slide-toggle-typography-tokens
|
|
72
|
+
);
|
|
73
|
+
}
|
|
58
74
|
}
|
|
59
75
|
}
|
|
60
76
|
|
|
61
77
|
@mixin density($theme) {
|
|
62
|
-
|
|
78
|
+
@if inspection.get-theme-version($theme) == 1 {
|
|
79
|
+
@include _theme-from-tokens(inspection.get-theme-tokens($theme, density));
|
|
80
|
+
}
|
|
81
|
+
@else {
|
|
82
|
+
$density-scale: inspection.get-theme-density($theme);
|
|
63
83
|
|
|
64
|
-
|
|
65
|
-
|
|
84
|
+
.mat-mdc-slide-toggle {
|
|
85
|
+
@include mdc-switch-theme.theme(mdc-switch-theme.density($density-scale));
|
|
86
|
+
}
|
|
66
87
|
}
|
|
67
88
|
}
|
|
68
89
|
|
|
69
90
|
@mixin theme($theme) {
|
|
70
91
|
@include theming.private-check-duplicate-theme-styles($theme, 'mat-slide-toggle') {
|
|
71
|
-
@
|
|
72
|
-
|
|
73
|
-
@include color($theme);
|
|
74
|
-
}
|
|
75
|
-
@if inspection.theme-has($theme, density) {
|
|
76
|
-
@include density($theme);
|
|
92
|
+
@if inspection.get-theme-version($theme) == 1 {
|
|
93
|
+
@include _theme-from-tokens(inspection.get-theme-tokens($theme));
|
|
77
94
|
}
|
|
78
|
-
@
|
|
79
|
-
@include
|
|
95
|
+
@else {
|
|
96
|
+
@include base($theme);
|
|
97
|
+
@if inspection.theme-has($theme, color) {
|
|
98
|
+
@include color($theme);
|
|
99
|
+
}
|
|
100
|
+
@if inspection.theme-has($theme, density) {
|
|
101
|
+
@include density($theme);
|
|
102
|
+
}
|
|
103
|
+
@if inspection.theme-has($theme, typography) {
|
|
104
|
+
@include typography($theme);
|
|
105
|
+
}
|
|
80
106
|
}
|
|
81
107
|
}
|
|
82
108
|
}
|
|
109
|
+
|
|
110
|
+
@mixin _theme-from-tokens($tokens) {
|
|
111
|
+
@if ($tokens != ()) {
|
|
112
|
+
@include mdc-switch-theme.theme(map.get($tokens, tokens-mdc-switch.$prefix));
|
|
113
|
+
@include token-utils.create-token-values(
|
|
114
|
+
tokens-mat-slide-toggle.$prefix, map.get($tokens, tokens-mat-slide-toggle.$prefix));
|
|
115
|
+
}
|
|
116
|
+
}
|
package/sort/_sort-theme.scss
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
1
2
|
@use '../core/tokens/m2/mat/sort' as tokens-mat-sort;
|
|
2
3
|
@use '../core/style/sass-utils';
|
|
3
4
|
@use '../core/typography/typography';
|
|
@@ -5,42 +6,72 @@
|
|
|
5
6
|
@use '../core/theming/inspection';
|
|
6
7
|
@use '../core/tokens/token-utils';
|
|
7
8
|
|
|
8
|
-
@mixin base($theme) {
|
|
9
|
+
@mixin base($theme) {
|
|
10
|
+
@if inspection.get-theme-version($theme) == 1 {
|
|
11
|
+
@include _theme-from-tokens(inspection.get-theme-tokens($theme, base));
|
|
12
|
+
}
|
|
13
|
+
@else {}
|
|
14
|
+
}
|
|
9
15
|
|
|
10
16
|
@mixin color($theme) {
|
|
11
|
-
@
|
|
12
|
-
@include
|
|
13
|
-
|
|
17
|
+
@if inspection.get-theme-version($theme) == 1 {
|
|
18
|
+
@include _theme-from-tokens(inspection.get-theme-tokens($theme, color));
|
|
19
|
+
}
|
|
20
|
+
@else {
|
|
21
|
+
@include sass-utils.current-selector-or-root() {
|
|
22
|
+
@include token-utils.create-token-values(tokens-mat-sort.$prefix,
|
|
23
|
+
tokens-mat-sort.get-color-tokens($theme));
|
|
24
|
+
}
|
|
14
25
|
}
|
|
15
26
|
}
|
|
16
27
|
|
|
17
28
|
@mixin typography($theme) {
|
|
18
|
-
@
|
|
19
|
-
@include
|
|
20
|
-
|
|
29
|
+
@if inspection.get-theme-version($theme) == 1 {
|
|
30
|
+
@include _theme-from-tokens(inspection.get-theme-tokens($theme, typography));
|
|
31
|
+
}
|
|
32
|
+
@else {
|
|
33
|
+
@include sass-utils.current-selector-or-root() {
|
|
34
|
+
@include token-utils.create-token-values(tokens-mat-sort.$prefix,
|
|
35
|
+
tokens-mat-sort.get-typography-tokens($theme));
|
|
36
|
+
}
|
|
21
37
|
}
|
|
22
38
|
}
|
|
23
39
|
|
|
24
40
|
@mixin density($theme) {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
41
|
+
@if inspection.get-theme-version($theme) == 1 {
|
|
42
|
+
@include _theme-from-tokens(inspection.get-theme-tokens($theme, density));
|
|
43
|
+
}
|
|
44
|
+
@else {
|
|
45
|
+
@include sass-utils.current-selector-or-root() {
|
|
46
|
+
@include token-utils.create-token-values(tokens-mat-sort.$prefix,
|
|
47
|
+
tokens-mat-sort.get-density-tokens($theme));
|
|
48
|
+
}
|
|
30
49
|
}
|
|
31
50
|
}
|
|
32
51
|
|
|
33
52
|
@mixin theme($theme) {
|
|
34
53
|
@include theming.private-check-duplicate-theme-styles($theme, 'mat-sort') {
|
|
35
|
-
@
|
|
36
|
-
|
|
37
|
-
@include color($theme);
|
|
38
|
-
}
|
|
39
|
-
@if inspection.theme-has($theme, density) {
|
|
40
|
-
@include density($theme);
|
|
54
|
+
@if inspection.get-theme-version($theme) == 1 {
|
|
55
|
+
@include _theme-from-tokens(inspection.get-theme-tokens($theme));
|
|
41
56
|
}
|
|
42
|
-
@
|
|
43
|
-
@include
|
|
57
|
+
@else {
|
|
58
|
+
@include base($theme);
|
|
59
|
+
@if inspection.theme-has($theme, color) {
|
|
60
|
+
@include color($theme);
|
|
61
|
+
}
|
|
62
|
+
@if inspection.theme-has($theme, density) {
|
|
63
|
+
@include density($theme);
|
|
64
|
+
}
|
|
65
|
+
@if inspection.theme-has($theme, typography) {
|
|
66
|
+
@include typography($theme);
|
|
67
|
+
}
|
|
44
68
|
}
|
|
45
69
|
}
|
|
46
70
|
}
|
|
71
|
+
|
|
72
|
+
@mixin _theme-from-tokens($tokens) {
|
|
73
|
+
@if ($tokens != ()) {
|
|
74
|
+
@include token-utils.create-token-values(
|
|
75
|
+
tokens-mat-sort.$prefix, map.get($tokens, tokens-mat-sort.$prefix));
|
|
76
|
+
}
|
|
77
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
1
2
|
@use '../core/theming/theming';
|
|
2
3
|
@use '../core/theming/inspection';
|
|
3
4
|
@use '../core/typography/typography';
|
|
@@ -5,50 +6,82 @@
|
|
|
5
6
|
@use '../core/tokens/token-utils';
|
|
6
7
|
@use '../core/tokens/m2/mat/stepper' as tokens-mat-stepper;
|
|
7
8
|
|
|
8
|
-
@mixin base($theme) {
|
|
9
|
+
@mixin base($theme) {
|
|
10
|
+
@if inspection.get-theme-version($theme) == 1 {
|
|
11
|
+
@include _theme-from-tokens(inspection.get-theme-tokens($theme, base));
|
|
12
|
+
}
|
|
13
|
+
@else {}
|
|
14
|
+
}
|
|
9
15
|
|
|
10
16
|
@mixin color($theme) {
|
|
11
|
-
@
|
|
12
|
-
@include
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
.
|
|
17
|
+
@if inspection.get-theme-version($theme) == 1 {
|
|
18
|
+
@include _theme-from-tokens(inspection.get-theme-tokens($theme, color));
|
|
19
|
+
}
|
|
20
|
+
@else {
|
|
21
|
+
@include sass-utils.current-selector-or-root() {
|
|
16
22
|
@include token-utils.create-token-values(tokens-mat-stepper.$prefix,
|
|
17
|
-
tokens-mat-stepper.
|
|
18
|
-
}
|
|
23
|
+
tokens-mat-stepper.get-color-tokens($theme));
|
|
19
24
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
25
|
+
.mat-step-header.mat-accent {
|
|
26
|
+
@include token-utils.create-token-values(tokens-mat-stepper.$prefix,
|
|
27
|
+
tokens-mat-stepper.private-get-color-palette-color-tokens($theme, accent));
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.mat-step-header.mat-warn {
|
|
31
|
+
@include token-utils.create-token-values(tokens-mat-stepper.$prefix,
|
|
32
|
+
tokens-mat-stepper.private-get-color-palette-color-tokens($theme, warn));
|
|
33
|
+
}
|
|
23
34
|
}
|
|
24
35
|
}
|
|
25
36
|
}
|
|
26
37
|
|
|
27
38
|
@mixin typography($theme) {
|
|
28
|
-
@
|
|
29
|
-
@include
|
|
30
|
-
|
|
39
|
+
@if inspection.get-theme-version($theme) == 1 {
|
|
40
|
+
@include _theme-from-tokens(inspection.get-theme-tokens($theme, typography));
|
|
41
|
+
}
|
|
42
|
+
@else {
|
|
43
|
+
@include sass-utils.current-selector-or-root() {
|
|
44
|
+
@include token-utils.create-token-values(tokens-mat-stepper.$prefix,
|
|
45
|
+
tokens-mat-stepper.get-typography-tokens($theme));
|
|
46
|
+
}
|
|
31
47
|
}
|
|
32
48
|
}
|
|
33
49
|
|
|
34
50
|
@mixin density($theme) {
|
|
35
|
-
@
|
|
36
|
-
@include
|
|
37
|
-
|
|
51
|
+
@if inspection.get-theme-version($theme) == 1 {
|
|
52
|
+
@include _theme-from-tokens(inspection.get-theme-tokens($theme, density));
|
|
53
|
+
}
|
|
54
|
+
@else {
|
|
55
|
+
@include sass-utils.current-selector-or-root() {
|
|
56
|
+
@include token-utils.create-token-values(tokens-mat-stepper.$prefix,
|
|
57
|
+
tokens-mat-stepper.get-density-tokens($theme));
|
|
58
|
+
}
|
|
38
59
|
}
|
|
39
60
|
}
|
|
40
61
|
|
|
41
62
|
@mixin theme($theme) {
|
|
42
63
|
@include theming.private-check-duplicate-theme-styles($theme, 'mat-stepper') {
|
|
43
|
-
@
|
|
44
|
-
|
|
45
|
-
@include color($theme);
|
|
64
|
+
@if inspection.get-theme-version($theme) == 1 {
|
|
65
|
+
@include _theme-from-tokens(inspection.get-theme-tokens($theme));
|
|
46
66
|
}
|
|
47
|
-
@
|
|
48
|
-
@include
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
67
|
+
@else {
|
|
68
|
+
@include base($theme);
|
|
69
|
+
@if inspection.theme-has($theme, color) {
|
|
70
|
+
@include color($theme);
|
|
71
|
+
}
|
|
72
|
+
@if inspection.theme-has($theme, density) {
|
|
73
|
+
@include density($theme);
|
|
74
|
+
}
|
|
75
|
+
@if inspection.theme-has($theme, typography) {
|
|
76
|
+
@include typography($theme);
|
|
77
|
+
}
|
|
52
78
|
}
|
|
53
79
|
}
|
|
54
80
|
}
|
|
81
|
+
|
|
82
|
+
@mixin _theme-from-tokens($tokens) {
|
|
83
|
+
@if ($tokens != ()) {
|
|
84
|
+
@include token-utils.create-token-values(
|
|
85
|
+
tokens-mat-stepper.$prefix, map.get($tokens, tokens-mat-stepper.$prefix));
|
|
86
|
+
}
|
|
87
|
+
}
|