material_components_web-sass 0.8.0 → 0.9.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/material_components_web/sass/version.rb +1 -1
- data/vendor/assets/javascripts/material-components-web.js +1359 -580
- data/vendor/assets/stylesheets/@material/animation/_functions.scss +15 -15
- data/vendor/assets/stylesheets/@material/animation/_mixins.scss +15 -15
- data/vendor/assets/stylesheets/@material/animation/_variables.scss +15 -15
- data/vendor/assets/stylesheets/@material/animation/mdc-animation.scss +15 -15
- data/vendor/assets/stylesheets/@material/checkbox/_keyframes.scss +15 -15
- data/vendor/assets/stylesheets/@material/checkbox/_variables.scss +15 -15
- data/vendor/assets/stylesheets/@material/checkbox/mdc-checkbox.scss +6 -0
- data/vendor/assets/stylesheets/@material/dialog/mdc-dialog.scss +2 -0
- data/vendor/assets/stylesheets/@material/drawer/_mixins.scss +15 -15
- data/vendor/assets/stylesheets/@material/drawer/mdc-drawer.scss +16 -15
- data/vendor/assets/stylesheets/@material/drawer/permanent/mdc-permanent-drawer.scss +22 -16
- data/vendor/assets/stylesheets/@material/drawer/persistent/mdc-persistent-drawer.scss +87 -0
- data/vendor/assets/stylesheets/@material/drawer/slidable/_mixins.scss +33 -0
- data/vendor/assets/stylesheets/@material/drawer/slidable/_variables.scss +20 -0
- data/vendor/assets/stylesheets/@material/drawer/temporary/mdc-temporary-drawer.scss +27 -28
- data/vendor/assets/stylesheets/@material/elevation/_mixins.scss +15 -15
- data/vendor/assets/stylesheets/@material/elevation/_variables.scss +15 -15
- data/vendor/assets/stylesheets/@material/elevation/mdc-elevation.scss +15 -15
- data/vendor/assets/stylesheets/@material/form-field/mdc-form-field.scss +15 -15
- data/vendor/assets/stylesheets/@material/grid-list/mdc-grid-list.scss +1 -1
- data/vendor/assets/stylesheets/@material/icon-toggle/mdc-icon-toggle.scss +15 -15
- data/vendor/assets/stylesheets/@material/list/mdc-list.scss +1 -1
- data/vendor/assets/stylesheets/@material/menu/mdc-menu.scss +15 -15
- data/vendor/assets/stylesheets/@material/menu/simple/mdc-simple-menu.scss +15 -15
- data/vendor/assets/stylesheets/@material/radio/mdc-radio.scss +2 -0
- data/vendor/assets/stylesheets/@material/ripple/_keyframes.scss +15 -15
- data/vendor/assets/stylesheets/@material/rtl/_mixins.scss +15 -15
- data/vendor/assets/stylesheets/@material/select/mdc-select.scss +21 -23
- data/vendor/assets/stylesheets/@material/snackbar/_variables.scss +15 -15
- data/vendor/assets/stylesheets/@material/snackbar/mdc-snackbar.scss +15 -15
- data/vendor/assets/stylesheets/@material/textfield/mdc-textfield.scss +15 -15
- data/vendor/assets/stylesheets/@material/theme/_constants.scss +15 -15
- data/vendor/assets/stylesheets/@material/theme/_functions.scss +15 -15
- data/vendor/assets/stylesheets/@material/theme/_mixins.scss +15 -15
- data/vendor/assets/stylesheets/@material/theme/_variables.scss +15 -15
- data/vendor/assets/stylesheets/@material/theme/mdc-theme.scss +15 -15
- data/vendor/assets/stylesheets/@material/toolbar/mdc-toolbar.scss +23 -15
- data/vendor/assets/stylesheets/@material/typography/_mixins.scss +15 -15
- data/vendor/assets/stylesheets/@material/typography/_variables.scss +16 -15
- data/vendor/assets/stylesheets/@material/typography/mdc-typography.scss +15 -15
- metadata +5 -2
@@ -1,18 +1,18 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
1
|
+
//
|
2
|
+
// Copyright 2017 Google Inc. All Rights Reserved.
|
3
|
+
//
|
4
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
// you may not use this file except in compliance with the License.
|
6
|
+
// You may obtain a copy of the License at
|
7
|
+
//
|
8
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
//
|
10
|
+
// Unless required by applicable law or agreed to in writing, software
|
11
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
// See the License for the specific language governing permissions and
|
14
|
+
// limitations under the License.
|
15
|
+
//
|
16
16
|
|
17
17
|
/**
|
18
18
|
* Creates a rule that will be applied when an MDC-Web component is within the context of an RTL layout.
|
@@ -1,18 +1,18 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
1
|
+
//
|
2
|
+
// Copyright 2017 Google Inc. All Rights Reserved.
|
3
|
+
//
|
4
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
// you may not use this file except in compliance with the License.
|
6
|
+
// You may obtain a copy of the License at
|
7
|
+
//
|
8
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
//
|
10
|
+
// Unless required by applicable law or agreed to in writing, software
|
11
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
// See the License for the specific language governing permissions and
|
14
|
+
// limitations under the License.
|
15
|
+
//
|
16
16
|
|
17
17
|
@import "@material/animation/functions";
|
18
18
|
@import "@material/typography/mixins";
|
@@ -250,6 +250,12 @@
|
|
250
250
|
@include mdc-theme-prop(background-color, text-primary-on-dark);
|
251
251
|
}
|
252
252
|
}
|
253
|
+
|
254
|
+
.mdc-list-divider {
|
255
|
+
margin-bottom: 8px;
|
256
|
+
padding-top: 8px;
|
257
|
+
font-size: 0;
|
258
|
+
}
|
253
259
|
// stylelint-enable plugin/selector-bem-pattern
|
254
260
|
}
|
255
261
|
|
@@ -264,12 +270,4 @@
|
|
264
270
|
// height for option elements cannot be controlled
|
265
271
|
// with CSS. Use the font-size rule instead.
|
266
272
|
|
267
|
-
// stylelint-disable plugin/selector-bem-pattern
|
268
|
-
.mdc-list-divider {
|
269
|
-
margin-bottom: 8px;
|
270
|
-
padding-top: 8px;
|
271
|
-
font-size: 0;
|
272
|
-
}
|
273
|
-
// stylelint-enable plugin/selector-bem-pattern
|
274
|
-
|
275
273
|
// postcss-bem-linter: end
|
@@ -1,18 +1,18 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
1
|
+
//
|
2
|
+
// Copyright 2017 Google Inc. All Rights Reserved.
|
3
|
+
//
|
4
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
// you may not use this file except in compliance with the License.
|
6
|
+
// You may obtain a copy of the License at
|
7
|
+
//
|
8
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
//
|
10
|
+
// Unless required by applicable law or agreed to in writing, software
|
11
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
// See the License for the specific language governing permissions and
|
14
|
+
// limitations under the License.
|
15
|
+
//
|
16
16
|
|
17
17
|
// Hard coded since the color is not present in any palette.
|
18
18
|
$mdc-snackbar-background-color: #323232;
|
@@ -1,18 +1,18 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
1
|
+
//
|
2
|
+
// Copyright 2017 Google Inc. All Rights Reserved.
|
3
|
+
//
|
4
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
// you may not use this file except in compliance with the License.
|
6
|
+
// You may obtain a copy of the License at
|
7
|
+
//
|
8
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
//
|
10
|
+
// Unless required by applicable law or agreed to in writing, software
|
11
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
// See the License for the specific language governing permissions and
|
14
|
+
// limitations under the License.
|
15
|
+
//
|
16
16
|
|
17
17
|
@import "@material/animation/functions";
|
18
18
|
@import "@material/rtl/mixins";
|
@@ -1,18 +1,18 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
1
|
+
//
|
2
|
+
// Copyright 2017 Google Inc. All Rights Reserved.
|
3
|
+
//
|
4
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
// you may not use this file except in compliance with the License.
|
6
|
+
// You may obtain a copy of the License at
|
7
|
+
//
|
8
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
//
|
10
|
+
// Unless required by applicable law or agreed to in writing, software
|
11
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
// See the License for the specific language governing permissions and
|
14
|
+
// limitations under the License.
|
15
|
+
//
|
16
16
|
|
17
17
|
@import "@material/animation/variables";
|
18
18
|
@import "@material/rtl/mixins";
|
@@ -1,18 +1,18 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
1
|
+
//
|
2
|
+
// Copyright 2017 Google Inc. All Rights Reserved.
|
3
|
+
//
|
4
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
// you may not use this file except in compliance with the License.
|
6
|
+
// You may obtain a copy of the License at
|
7
|
+
//
|
8
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
//
|
10
|
+
// Unless required by applicable law or agreed to in writing, software
|
11
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
// See the License for the specific language governing permissions and
|
14
|
+
// limitations under the License.
|
15
|
+
//
|
16
16
|
|
17
17
|
/*
|
18
18
|
Precomputed linear color channel values, for use in contrast calculations.
|
@@ -1,18 +1,18 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
1
|
+
//
|
2
|
+
// Copyright 2017 Google Inc. All Rights Reserved.
|
3
|
+
//
|
4
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
// you may not use this file except in compliance with the License.
|
6
|
+
// You may obtain a copy of the License at
|
7
|
+
//
|
8
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
//
|
10
|
+
// Unless required by applicable law or agreed to in writing, software
|
11
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
// See the License for the specific language governing permissions and
|
14
|
+
// limitations under the License.
|
15
|
+
//
|
16
16
|
|
17
17
|
@import "./constants";
|
18
18
|
|
@@ -1,18 +1,18 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
1
|
+
//
|
2
|
+
// Copyright 2017 Google Inc. All Rights Reserved.
|
3
|
+
//
|
4
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
// you may not use this file except in compliance with the License.
|
6
|
+
// You may obtain a copy of the License at
|
7
|
+
//
|
8
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
//
|
10
|
+
// Unless required by applicable law or agreed to in writing, software
|
11
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
// See the License for the specific language governing permissions and
|
14
|
+
// limitations under the License.
|
15
|
+
//
|
16
16
|
|
17
17
|
@import "./variables";
|
18
18
|
|
@@ -1,18 +1,18 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
1
|
+
//
|
2
|
+
// Copyright 2017 Google Inc. All Rights Reserved.
|
3
|
+
//
|
4
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
// you may not use this file except in compliance with the License.
|
6
|
+
// You may obtain a copy of the License at
|
7
|
+
//
|
8
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
//
|
10
|
+
// Unless required by applicable law or agreed to in writing, software
|
11
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
// See the License for the specific language governing permissions and
|
14
|
+
// limitations under the License.
|
15
|
+
//
|
16
16
|
|
17
17
|
@import "./functions";
|
18
18
|
|
@@ -1,18 +1,18 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
1
|
+
//
|
2
|
+
// Copyright 2017 Google Inc. All Rights Reserved.
|
3
|
+
//
|
4
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
// you may not use this file except in compliance with the License.
|
6
|
+
// You may obtain a copy of the License at
|
7
|
+
//
|
8
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
//
|
10
|
+
// Unless required by applicable law or agreed to in writing, software
|
11
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
// See the License for the specific language governing permissions and
|
14
|
+
// limitations under the License.
|
15
|
+
//
|
16
16
|
|
17
17
|
@import "./mixins";
|
18
18
|
|
@@ -1,18 +1,18 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
1
|
+
//
|
2
|
+
// Copyright 2017 Google Inc. All Rights Reserved.
|
3
|
+
//
|
4
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
// you may not use this file except in compliance with the License.
|
6
|
+
// You may obtain a copy of the License at
|
7
|
+
//
|
8
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
//
|
10
|
+
// Unless required by applicable law or agreed to in writing, software
|
11
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
// See the License for the specific language governing permissions and
|
14
|
+
// limitations under the License.
|
15
|
+
//
|
16
16
|
|
17
17
|
@import "@material/elevation/mixins";
|
18
18
|
@import "@material/rtl/mixins";
|
@@ -59,6 +59,7 @@ $mdc-toolbar-mobile-breakpoint: 599px;
|
|
59
59
|
align-items: flex-start;
|
60
60
|
justify-content: center;
|
61
61
|
z-index: 1;
|
62
|
+
overflow: hidden;
|
62
63
|
|
63
64
|
&--align-start {
|
64
65
|
justify-content: flex-start;
|
@@ -74,6 +75,9 @@ $mdc-toolbar-mobile-breakpoint: 599px;
|
|
74
75
|
&__title {
|
75
76
|
@include mdc-typography(title);
|
76
77
|
|
78
|
+
overflow: hidden;
|
79
|
+
text-overflow: ellipsis;
|
80
|
+
white-space: nowrap;
|
77
81
|
margin: 0;
|
78
82
|
line-height: 1.5rem;
|
79
83
|
}
|
@@ -97,3 +101,7 @@ $mdc-toolbar-mobile-breakpoint: 599px;
|
|
97
101
|
margin-top: $mdc-toolbar-mobile-row-height;
|
98
102
|
}
|
99
103
|
}
|
104
|
+
|
105
|
+
.mdc-toolbar__section--shrink-to-fit {
|
106
|
+
flex: none;
|
107
|
+
}
|
@@ -1,18 +1,18 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
1
|
+
//
|
2
|
+
// Copyright 2017 Google Inc. All Rights Reserved.
|
3
|
+
//
|
4
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
// you may not use this file except in compliance with the License.
|
6
|
+
// You may obtain a copy of the License at
|
7
|
+
//
|
8
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
//
|
10
|
+
// Unless required by applicable law or agreed to in writing, software
|
11
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
// See the License for the specific language governing permissions and
|
14
|
+
// limitations under the License.
|
15
|
+
//
|
16
16
|
|
17
17
|
@import "./variables";
|
18
18
|
|