Skip to content

Commit 3c22e32

Browse files
committed
refactor(material-experimental/theming-next): Rename token-based theming API to theming-next
Shelving this API for now. We may still want to implement it in the future, but the immediate goal is to support M3 through an API similar to what we offer now. Rethinking the API can come at a later time
1 parent 6cc6cf2 commit 3c22e32

File tree

10 files changed

+5
-10
lines changed

10 files changed

+5
-10
lines changed

.ng-dev/commit-message.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export const commitMessage: CommitMessageConfig = {
4040
'cdk/tree',
4141
'google-maps',
4242
'material-experimental/column-resize',
43-
'material-experimental/theming',
43+
'material-experimental/theming-next',
4444
'material-experimental/menubar',
4545
'material-experimental/popover-edit',
4646
'material-experimental/selection',

src/material-experimental/BUILD.bazel

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,16 @@ ts_library(
1818
)
1919

2020
sass_library(
21-
name = "theming_scss_lib",
21+
name = "theming_next_scss_lib",
2222
srcs = MATERIAL_EXPERIMENTAL_SCSS_LIBS + [
23-
"//src/material-experimental/theming:theming_scss_lib",
23+
"//src/material-experimental/theming-next:theming_next_scss_lib",
2424
],
2525
)
2626

2727
sass_library(
2828
name = "sass_lib",
2929
srcs = ["_index.scss"],
30-
deps = [":theming_scss_lib"],
30+
deps = [":theming_next_scss_lib"],
3131
)
3232

3333
# Generate the material-experimental `package.json` by adding all MDC dependencies
@@ -48,7 +48,6 @@ ng_package(
4848
srcs = [
4949
":package_json",
5050
":sass_lib",
51-
":theming_scss_lib",
5251
],
5352
tags = ["release-package"],
5453
deps = MATERIAL_EXPERIMENTAL_TARGETS + MATERIAL_EXPERIMENTAL_TESTING_TARGETS,

src/material-experimental/_index.scss

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,5 @@
55
popover-edit-typography, popover-edit-density, popover-edit-theme;
66

77
// Token-based theming API
8-
@forward './theming/theming' show theme, token-defaults;
9-
@forward './theming/checkbox' show checkbox;
10-
@forward './theming/card' show card;
11-
@forward './theming/m3-tokens' show get-m3-tokens;
128

139
// Additional public APIs for individual components

src/material-experimental/theming/BUILD.bazel renamed to src/material-experimental/theming-next/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ load("//tools:defaults.bzl", "sass_library")
33
package(default_visibility = ["//visibility:public"])
44

55
sass_library(
6-
name = "theming_scss_lib",
6+
name = "theming_next_scss_lib",
77
srcs = glob(["**/_*.scss"]),
88
deps = ["//src/material:sass_lib"],
99
)
File renamed without changes.

0 commit comments

Comments
 (0)