@wordpress/widgets 2.0.9 → 2.0.13
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/widgets",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.13",
|
|
4
4
|
"description": "Functionality used by the widgets block editor in the Widgets screen and the Customizer.",
|
|
5
5
|
"author": "The WordPress Contributors",
|
|
6
6
|
"license": "GPL-2.0-or-later",
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@babel/runtime": "^7.16.0",
|
|
24
24
|
"@wordpress/api-fetch": "^5.2.6",
|
|
25
|
-
"@wordpress/block-editor": "^8.0.
|
|
25
|
+
"@wordpress/block-editor": "^8.0.7",
|
|
26
26
|
"@wordpress/blocks": "^11.1.4",
|
|
27
|
-
"@wordpress/components": "^19.
|
|
27
|
+
"@wordpress/components": "^19.1.1",
|
|
28
28
|
"@wordpress/compose": "^5.0.6",
|
|
29
|
-
"@wordpress/core-data": "^4.0.
|
|
29
|
+
"@wordpress/core-data": "^4.0.8",
|
|
30
30
|
"@wordpress/data": "^6.1.4",
|
|
31
31
|
"@wordpress/element": "^4.0.4",
|
|
32
32
|
"@wordpress/i18n": "^4.2.4",
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"publishConfig": {
|
|
40
40
|
"access": "public"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "49c7be0ff5dc493fc9e5a861e18273dd1f3fce8c"
|
|
43
43
|
}
|
|
@@ -108,6 +108,33 @@ function handle_legacy_widget_preview_iframe() {
|
|
|
108
108
|
padding: 0 !important;
|
|
109
109
|
margin: 0 !important;
|
|
110
110
|
}
|
|
111
|
+
|
|
112
|
+
/* Hide root level text nodes */
|
|
113
|
+
body {
|
|
114
|
+
font-size: 0 !important;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
/* Hide non-widget elements */
|
|
118
|
+
body *:not(#page):not(#content):not(.widget):not(.widget *) {
|
|
119
|
+
display: none !important;
|
|
120
|
+
font-size: 0 !important;
|
|
121
|
+
height: 0 !important;
|
|
122
|
+
left: -9999px !important;
|
|
123
|
+
max-height: 0 !important;
|
|
124
|
+
max-width: 0 !important;
|
|
125
|
+
opacity: 0 !important;
|
|
126
|
+
pointer-events: none !important;
|
|
127
|
+
position: absolute !important;
|
|
128
|
+
top: -9999px !important;
|
|
129
|
+
transform: translate(-9999px, -9999px) !important;
|
|
130
|
+
visibility: hidden !important;
|
|
131
|
+
z-index: -999 !important;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
/* Restore widget font-size */
|
|
135
|
+
.widget {
|
|
136
|
+
font-size: var(--global--font-size-base);
|
|
137
|
+
}
|
|
111
138
|
</style>
|
|
112
139
|
</head>
|
|
113
140
|
<body <?php body_class(); ?>>
|