Skip to content

Commit b7db97d

Browse files
committed
Merge from branch feature/534-settings-page
1 parent 67a5763 commit b7db97d

File tree

29 files changed

+1257
-97
lines changed

29 files changed

+1257
-97
lines changed

package-lock.json

Lines changed: 174 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
"@material/checkbox": "5.1.0",
3434
"@material/circular-progress": "7.0.0",
3535
"@material/data-table": "5.1.0",
36+
"@material/dialog": "10.0.0",
3637
"@material/drawer": "5.1.0",
3738
"@material/floating-label": "5.1.0",
3839
"@material/form-field": "5.1.0",
@@ -59,7 +60,7 @@
5960
"@wordpress/components": "9.4.0",
6061
"@wordpress/compose": "3.12.0",
6162
"@wordpress/data": "4.14.2",
62-
"@wordpress/date": "^3.13.1",
63+
"@wordpress/date": "3.13.1",
6364
"@wordpress/dom": "2.8.0",
6465
"@wordpress/dom-ready": "2.8.0",
6566
"@wordpress/e2e-test-utils": "4.16.0",

plugin/assets/css/src/settings/api.css

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/**
2+
* Copyright 2021 Google LLC
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+
117
.material-settings__api {
218
padding-left: 0;
319
padding-right: 0;

plugin/assets/css/src/settings/base.css

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@
4646
margin-top: 0;
4747
}
4848

49+
& h2 {
50+
margin-top: 32px;
51+
}
52+
4953
& p {
5054
font-size: 16px;
5155
margin: 0;
@@ -63,4 +67,20 @@
6367
text-align: left;
6468
width: 105px;
6569
}
70+
71+
& .material-settings__message {
72+
align-items: center;
73+
color: var(--material-design-settings-error-color);
74+
display: flex;
75+
}
76+
77+
& .material-settings__message-text {
78+
font-size: 16px;
79+
font-weight: 500;
80+
margin-left: 10px;
81+
}
82+
83+
.mdc-dialog .mdc-dialog__title {
84+
margin-top: 0;
85+
}
6686
}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/**
2+
* Copyright 2021 Google LLC
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+
117
.material-settings__cell--justify-end {
218
justify-self: flex-end;
319
}

plugin/assets/css/src/settings/index.css

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/**
2+
* Copyright 2021 Google LLC
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+
117
@import "./base.css";
218
@import "./updater.css";
319
@import "./switch.css";

plugin/assets/css/src/settings/switch.css

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/**
2+
* Copyright 2021 Google LLC
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+
117
.material-settings__switch {
218
align-items: center;
319
display: flex;
Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,22 @@
1+
/**
2+
* Copyright 2021 Google LLC
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+
117
.material-settings__updater {
218
background-color: var(--material-design-settings-background-color);
319
border-radius: 8px;
420
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
521
margin-bottom: 15px;
6-
7-
& .material-settings__message {
8-
align-items: center;
9-
color: var(--material-design-settings-error-color);
10-
display: flex;
11-
}
12-
13-
& .material-settings__message-text {
14-
font-size: 16px;
15-
font-weight: 500;
16-
margin-left: 10px;
17-
}
1822
}

0 commit comments

Comments
 (0)