Skip to content

Commit ffd8b38

Browse files
committed
chore: update scss references to new mdc-web version
1 parent f09ea73 commit ffd8b38

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

packages/data-table/_style.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Select's styles must be emitted before datatable's due to equal specificity.
2-
// See: https://github.com/material-components/material-components-web/blob/v13.0.0/packages/material-components-web/material-components-web.scss
2+
// See: https://github.com/material-components/material-components-web/blob/v14.0.0/packages/material-components-web/material-components-web.scss
33
@use '@smui/select/style' as select-style;
44
@use '@material/data-table/mdc-data-table';
55
@use '@smui/checkbox/style' as checkbox-style;

packages/select/_mixins.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@
131131
}
132132
}
133133

134-
// See: https://github.com/material-components/material-components-web/blob/v13.0.0/packages/mdc-select/_select-theme.scss#L951
134+
// See: https://github.com/material-components/material-components-web/blob/v14.0.0/packages/mdc-select/_select-theme.scss#L1499
135135
@mixin leading-icon-floating-label-position(
136136
$icon-size: select-icon-theme.$icon-size,
137137
$query: feature-targeting.all()
@@ -146,7 +146,7 @@
146146
}
147147
}
148148

149-
// See: https://github.com/material-components/material-components-web/blob/v13.0.0/packages/mdc-select/_select-theme.scss#L1038
149+
// See: https://github.com/material-components/material-components-web/blob/v14.0.0/packages/mdc-select/_select-theme.scss#L1586
150150
@mixin truncate-floating-label-max-width(
151151
$leading-icon-size,
152152
$dropdown-icon-size,
@@ -178,7 +178,7 @@
178178
}
179179
}
180180

181-
// See: https://github.com/material-components/material-components-web/blob/v10.0.0/packages/mdc-select/_select.scss#L410
181+
// See: https://github.com/material-components/material-components-web/blob/v14.0.0/packages/mdc-select/_select.scss#L484
182182
@mixin _padding-horizontal(
183183
$left,
184184
$left-with-leading-icon,

packages/site/src/routes/demo/snackbar/_Colors.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
// See https://github.com/material-components/material-components-web/blob/v13.0.0/packages/mdc-snackbar/
1+
// See https://github.com/material-components/material-components-web/tree/v14.0.0/packages/mdc-snackbar
22
@use '@material/snackbar/mixins';
3-
// See https://github.com/material-components/material-components-web/blob/v13.0.0/packages/mdc-theme/
3+
// See https://github.com/material-components/material-components-web/tree/v14.0.0/packages/mdc-theme
44
@use '@material/theme/color-palette';
55
@use '@material/theme/theme-color';
66

packages/switch/_mixins.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ $_secondary-state-content: color.scale(
2121
}
2222

2323
.mdc-switch.smui-switch--color-secondary {
24-
// See: https://github.com/material-components/material-components-web/blob/v13.0.0/packages/mdc-switch/_switch-theme.scss#L76
24+
// See: https://github.com/material-components/material-components-web/blob/v14.0.0/packages/mdc-switch/_switch-theme.scss#L76
2525
@include switch.theme(
2626
(
2727
disabled-selected-icon-color: on-secondary,

packages/textfield/_mixins.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@
166166
}
167167
}
168168

169-
// See: https://github.com/material-components/material-components-web/blob/v13.0.0/packages/mdc-textfield/_mixins.scss#L1374
169+
// See: https://github.com/material-components/material-components-web/blob/v14.0.0/packages/mdc-textfield/_mixins.scss#L1405
170170
@mixin _baseline-center-aligned($query: feature-targeting.all()) {
171171
$feat-structure: feature-targeting.create-target($query, structure);
172172

@@ -177,7 +177,7 @@
177177
}
178178
}
179179

180-
// See: https://github.com/material-components/material-components-web/blob/v13.0.0/packages/mdc-textfield/_mixins.scss#L2276
180+
// See: https://github.com/material-components/material-components-web/blob/v14.0.0/packages/mdc-textfield/_mixins.scss#L2307
181181
@mixin _centered-affix-safari-support($query: feature-targeting.all()) {
182182
$feat-structure: feature-targeting.create-target($query, structure);
183183

@@ -189,7 +189,7 @@
189189
}
190190
}
191191

192-
// See: https://github.com/material-components/material-components-web/blob/v13.0.0/packages/mdc-textfield/_mixins.scss#L1875
192+
// See: https://github.com/material-components/material-components-web/blob/v14.0.0/packages/mdc-textfield/_mixins.scss#L1906
193193
@mixin _truncate-floating-label-max-width(
194194
$truncation,
195195
$query: feature-targeting.all()
@@ -200,7 +200,7 @@
200200
);
201201
}
202202

203-
// See: https://github.com/material-components/material-components-web/blob/v13.0.0/packages/mdc-textfield/_mixins.scss#L1890
203+
// See: https://github.com/material-components/material-components-web/blob/v14.0.0/packages/mdc-textfield/_mixins.scss#L1921
204204
@mixin _truncate-floating-label-floated-max-width(
205205
$truncation,
206206
$query: feature-targeting.all()

0 commit comments

Comments
 (0)