@wordpress/preferences 4.2.0 → 4.4.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.
package/CHANGELOG.md
CHANGED
|
@@ -107,10 +107,6 @@
|
|
|
107
107
|
.preference-base-option + .preference-base-option {
|
|
108
108
|
margin-top: 16px;
|
|
109
109
|
}
|
|
110
|
-
.preference-base-option .components-base-control__help {
|
|
111
|
-
margin-top: 0;
|
|
112
|
-
margin-right: 48px;
|
|
113
|
-
}
|
|
114
110
|
|
|
115
111
|
@media (min-width: 600px) {
|
|
116
112
|
.preferences-modal {
|
|
@@ -140,26 +136,6 @@
|
|
|
140
136
|
right: 16px;
|
|
141
137
|
width: 160px;
|
|
142
138
|
}
|
|
143
|
-
.preferences__tabs-tablist::after {
|
|
144
|
-
content: none !important;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
.preferences__tabs-tab {
|
|
148
|
-
border-radius: 2px;
|
|
149
|
-
font-weight: 400;
|
|
150
|
-
}
|
|
151
|
-
.preferences__tabs-tab[aria-selected=true] {
|
|
152
|
-
background: #f0f0f0;
|
|
153
|
-
box-shadow: none;
|
|
154
|
-
font-weight: 500;
|
|
155
|
-
}
|
|
156
|
-
.preferences__tabs-tab[role=tab]:focus:not(:disabled) {
|
|
157
|
-
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
158
|
-
outline: 2px solid transparent;
|
|
159
|
-
}
|
|
160
|
-
.preferences__tabs-tab:focus-visible::before {
|
|
161
|
-
content: none;
|
|
162
|
-
}
|
|
163
139
|
|
|
164
140
|
.preferences__tabs-tabpanel {
|
|
165
141
|
padding-right: 24px;
|
package/build-style/style.css
CHANGED
|
@@ -107,10 +107,6 @@
|
|
|
107
107
|
.preference-base-option + .preference-base-option {
|
|
108
108
|
margin-top: 16px;
|
|
109
109
|
}
|
|
110
|
-
.preference-base-option .components-base-control__help {
|
|
111
|
-
margin-top: 0;
|
|
112
|
-
margin-left: 48px;
|
|
113
|
-
}
|
|
114
110
|
|
|
115
111
|
@media (min-width: 600px) {
|
|
116
112
|
.preferences-modal {
|
|
@@ -140,26 +136,6 @@
|
|
|
140
136
|
left: 16px;
|
|
141
137
|
width: 160px;
|
|
142
138
|
}
|
|
143
|
-
.preferences__tabs-tablist::after {
|
|
144
|
-
content: none !important;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
.preferences__tabs-tab {
|
|
148
|
-
border-radius: 2px;
|
|
149
|
-
font-weight: 400;
|
|
150
|
-
}
|
|
151
|
-
.preferences__tabs-tab[aria-selected=true] {
|
|
152
|
-
background: #f0f0f0;
|
|
153
|
-
box-shadow: none;
|
|
154
|
-
font-weight: 500;
|
|
155
|
-
}
|
|
156
|
-
.preferences__tabs-tab[role=tab]:focus:not(:disabled) {
|
|
157
|
-
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
158
|
-
outline: 2px solid transparent;
|
|
159
|
-
}
|
|
160
|
-
.preferences__tabs-tab:focus-visible::before {
|
|
161
|
-
content: none;
|
|
162
|
-
}
|
|
163
139
|
|
|
164
140
|
.preferences__tabs-tabpanel {
|
|
165
141
|
padding-left: 24px;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/preferences",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.4.0",
|
|
4
4
|
"description": "Utilities for managing WordPress preferences.",
|
|
5
5
|
"author": "The WordPress Contributors",
|
|
6
6
|
"license": "GPL-2.0-or-later",
|
|
@@ -30,15 +30,15 @@
|
|
|
30
30
|
"sideEffects": false,
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@babel/runtime": "^7.16.0",
|
|
33
|
-
"@wordpress/a11y": "^4.
|
|
34
|
-
"@wordpress/components": "^28.
|
|
35
|
-
"@wordpress/compose": "^7.
|
|
36
|
-
"@wordpress/data": "^10.
|
|
37
|
-
"@wordpress/deprecated": "^4.
|
|
38
|
-
"@wordpress/element": "^6.
|
|
39
|
-
"@wordpress/i18n": "^5.
|
|
40
|
-
"@wordpress/icons": "^10.
|
|
41
|
-
"@wordpress/private-apis": "^1.
|
|
33
|
+
"@wordpress/a11y": "^4.4.0",
|
|
34
|
+
"@wordpress/components": "^28.4.0",
|
|
35
|
+
"@wordpress/compose": "^7.4.0",
|
|
36
|
+
"@wordpress/data": "^10.4.0",
|
|
37
|
+
"@wordpress/deprecated": "^4.4.0",
|
|
38
|
+
"@wordpress/element": "^6.4.0",
|
|
39
|
+
"@wordpress/i18n": "^5.4.0",
|
|
40
|
+
"@wordpress/icons": "^10.4.0",
|
|
41
|
+
"@wordpress/private-apis": "^1.4.0",
|
|
42
42
|
"clsx": "^2.1.1"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"publishConfig": {
|
|
49
49
|
"access": "public"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "363edb39b8dda8727f652e42cbb8497732693ed2"
|
|
52
52
|
}
|
|
@@ -6,31 +6,6 @@ $vertical-tabs-width: 160px;
|
|
|
6
6
|
// Aligns button text instead of button box.
|
|
7
7
|
left: $grid-unit-20;
|
|
8
8
|
width: $vertical-tabs-width;
|
|
9
|
-
|
|
10
|
-
&::after {
|
|
11
|
-
content: none !important;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.preferences__tabs-tab {
|
|
16
|
-
border-radius: $radius-block-ui;
|
|
17
|
-
font-weight: 400;
|
|
18
|
-
|
|
19
|
-
&[aria-selected="true"] {
|
|
20
|
-
background: $gray-100;
|
|
21
|
-
box-shadow: none;
|
|
22
|
-
font-weight: 500;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
&[role="tab"]:focus:not(:disabled) {
|
|
26
|
-
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
27
|
-
// Windows high contrast mode.
|
|
28
|
-
outline: 2px solid transparent;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
&:focus-visible::before {
|
|
32
|
-
content: none;
|
|
33
|
-
}
|
|
34
9
|
}
|
|
35
10
|
|
|
36
11
|
.preferences__tabs-tabpanel {
|