@wordpress/dataviews 4.15.2 → 4.15.4
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/build-wp/index.js +3 -2
- package/package.json +5 -5
- package/tsconfig.tsbuildinfo +1 -1
package/build-wp/index.js
CHANGED
|
@@ -469,7 +469,7 @@ __export(focusable_exports, {
|
|
|
469
469
|
find: () => find
|
|
470
470
|
});
|
|
471
471
|
function buildSelector(sequential) {
|
|
472
|
-
return [sequential ? '[tabindex]:not([tabindex^="-"])' : "[tabindex]", "a[href]", "button:not([disabled])", 'input:not([type="hidden"]):not([disabled])', "select:not([disabled])", "textarea:not([disabled])", 'iframe:not([tabindex^="-"])', "object", "embed", "area[href]", "[contenteditable]:not([contenteditable=false])"].join(",");
|
|
472
|
+
return [sequential ? '[tabindex]:not([tabindex^="-"])' : "[tabindex]", "a[href]", "button:not([disabled])", 'input:not([type="hidden"]):not([disabled])', "select:not([disabled])", "textarea:not([disabled])", 'iframe:not([tabindex^="-"])', "object", "embed", "summary", "area[href]", "[contenteditable]:not([contenteditable=false])"].join(",");
|
|
473
473
|
}
|
|
474
474
|
function isVisible(element) {
|
|
475
475
|
return element.offsetWidth > 0 || element.offsetHeight > 0 || element.getClientRects().length > 0;
|
|
@@ -6389,7 +6389,7 @@ function UnconnectedToggleGroupControl(props, forwardedRef) {
|
|
|
6389
6389
|
const [selectedElement, setSelectedElement] = useState();
|
|
6390
6390
|
const [controlElement, setControlElement] = useState();
|
|
6391
6391
|
const refs = useMergeRefs([setControlElement, forwardedRef]);
|
|
6392
|
-
const selectedRect = useTrackElementOffsetRect(value
|
|
6392
|
+
const selectedRect = useTrackElementOffsetRect(value !== null && value !== void 0 ? selectedElement : void 0);
|
|
6393
6393
|
useAnimatedOffsetRect(controlElement, selectedRect, {
|
|
6394
6394
|
prefix: "selected",
|
|
6395
6395
|
dataAttribute: "indicator-animated",
|
|
@@ -10518,6 +10518,7 @@ lock3(privateApis, {
|
|
|
10518
10518
|
Theme: theme_default,
|
|
10519
10519
|
Menu: Menu2,
|
|
10520
10520
|
kebabCase: kebabCase2,
|
|
10521
|
+
withIgnoreIMEEvents,
|
|
10521
10522
|
Badge: badge_default
|
|
10522
10523
|
});
|
|
10523
10524
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/dataviews",
|
|
3
|
-
"version": "4.15.
|
|
3
|
+
"version": "4.15.4",
|
|
4
4
|
"description": "DataViews is a component that provides an API to render datasets using different types of layouts (table, grid, list, etc.).",
|
|
5
5
|
"author": "The WordPress Contributors",
|
|
6
6
|
"license": "GPL-2.0-or-later",
|
|
@@ -46,9 +46,9 @@
|
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"@ariakit/react": "^0.4.15",
|
|
48
48
|
"@babel/runtime": "7.25.7",
|
|
49
|
-
"@wordpress/components": "^29.5.
|
|
50
|
-
"@wordpress/compose": "^7.19.
|
|
51
|
-
"@wordpress/data": "^10.19.
|
|
49
|
+
"@wordpress/components": "^29.5.4",
|
|
50
|
+
"@wordpress/compose": "^7.19.2",
|
|
51
|
+
"@wordpress/data": "^10.19.2",
|
|
52
52
|
"@wordpress/element": "^6.19.1",
|
|
53
53
|
"@wordpress/i18n": "^5.19.1",
|
|
54
54
|
"@wordpress/icons": "^10.19.1",
|
|
@@ -67,5 +67,5 @@
|
|
|
67
67
|
"scripts": {
|
|
68
68
|
"build:wp": "node build"
|
|
69
69
|
},
|
|
70
|
-
"gitHead": "
|
|
70
|
+
"gitHead": "018f5b628fb5006dd45a1b7cd63463c73bd9d641"
|
|
71
71
|
}
|