@wordpress/preferences 4.2.0 → 4.3.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
@@ -2,6 +2,8 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 4.3.0 (2024-07-10)
6
+
5
7
  ## 4.2.0 (2024-06-26)
6
8
 
7
9
  ## 4.1.0 (2024-06-15)
@@ -140,26 +140,6 @@
140
140
  right: 16px;
141
141
  width: 160px;
142
142
  }
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
143
 
164
144
  .preferences__tabs-tabpanel {
165
145
  padding-right: 24px;
@@ -140,26 +140,6 @@
140
140
  left: 16px;
141
141
  width: 160px;
142
142
  }
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
143
 
164
144
  .preferences__tabs-tabpanel {
165
145
  padding-left: 24px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/preferences",
3
- "version": "4.2.0",
3
+ "version": "4.3.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.2.0",
34
- "@wordpress/components": "^28.2.0",
35
- "@wordpress/compose": "^7.2.0",
36
- "@wordpress/data": "^10.2.0",
37
- "@wordpress/deprecated": "^4.2.0",
38
- "@wordpress/element": "^6.2.0",
39
- "@wordpress/i18n": "^5.2.0",
40
- "@wordpress/icons": "^10.2.0",
41
- "@wordpress/private-apis": "^1.2.0",
33
+ "@wordpress/a11y": "^4.3.0",
34
+ "@wordpress/components": "^28.3.0",
35
+ "@wordpress/compose": "^7.3.0",
36
+ "@wordpress/data": "^10.3.0",
37
+ "@wordpress/deprecated": "^4.3.0",
38
+ "@wordpress/element": "^6.3.0",
39
+ "@wordpress/i18n": "^5.3.0",
40
+ "@wordpress/icons": "^10.3.0",
41
+ "@wordpress/private-apis": "^1.3.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": "aa5b14bb5bdbb8d8a02914e154c3bc1c2f18ace6"
51
+ "gitHead": "122867d355ca4edc63d3a3bbd9411d3a2e1458df"
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 {