@wordpress/dataviews 14.1.0 → 14.1.1-next.v.202604201441.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/build-types/dataviews/stories/layout-activity.d.ts.map +1 -1
- package/build-types/dataviews/stories/layout-grid.d.ts.map +1 -1
- package/build-types/dataviews/stories/layout-list.d.ts.map +1 -1
- package/build-types/dataviews/stories/layout-table.d.ts.map +1 -1
- package/build-wp/index.js +23 -15
- package/package.json +16 -16
- package/src/dataviews/stories/layout-activity.tsx +5 -7
- package/src/dataviews/stories/layout-grid.tsx +4 -6
- package/src/dataviews/stories/layout-list.tsx +5 -7
- package/src/dataviews/stories/layout-table.tsx +4 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/dataviews",
|
|
3
|
-
"version": "14.1.0",
|
|
3
|
+
"version": "14.1.1-next.v.202604201441.0+dab6d8c07",
|
|
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",
|
|
@@ -53,20 +53,20 @@
|
|
|
53
53
|
"sideEffects": false,
|
|
54
54
|
"dependencies": {
|
|
55
55
|
"@ariakit/react": "^0.4.21",
|
|
56
|
-
"@wordpress/base-styles": "^6.20.0",
|
|
57
|
-
"@wordpress/components": "^
|
|
58
|
-
"@wordpress/compose": "^7.44.0",
|
|
59
|
-
"@wordpress/data": "^10.
|
|
60
|
-
"@wordpress/date": "^5.44.0",
|
|
61
|
-
"@wordpress/deprecated": "^4.44.0",
|
|
62
|
-
"@wordpress/element": "^6.44.0",
|
|
63
|
-
"@wordpress/i18n": "^6.17.0",
|
|
64
|
-
"@wordpress/icons": "^12.2.0",
|
|
65
|
-
"@wordpress/keycodes": "^4.44.0",
|
|
66
|
-
"@wordpress/primitives": "^4.44.0",
|
|
67
|
-
"@wordpress/private-apis": "^1.44.0",
|
|
68
|
-
"@wordpress/ui": "^0.
|
|
69
|
-
"@wordpress/warning": "^3.44.0",
|
|
56
|
+
"@wordpress/base-styles": "^6.20.1-next.v.202604201441.0+dab6d8c07",
|
|
57
|
+
"@wordpress/components": "^33.0.1-next.v.202604201441.0+dab6d8c07",
|
|
58
|
+
"@wordpress/compose": "^7.44.1-next.v.202604201441.0+dab6d8c07",
|
|
59
|
+
"@wordpress/data": "^10.45.1-next.v.202604201441.0+dab6d8c07",
|
|
60
|
+
"@wordpress/date": "^5.44.1-next.v.202604201441.0+dab6d8c07",
|
|
61
|
+
"@wordpress/deprecated": "^4.44.1-next.v.202604201441.0+dab6d8c07",
|
|
62
|
+
"@wordpress/element": "^6.44.1-next.v.202604201441.0+dab6d8c07",
|
|
63
|
+
"@wordpress/i18n": "^6.17.1-next.v.202604201441.0+dab6d8c07",
|
|
64
|
+
"@wordpress/icons": "^12.2.1-next.v.202604201441.0+dab6d8c07",
|
|
65
|
+
"@wordpress/keycodes": "^4.44.1-next.v.202604201441.0+dab6d8c07",
|
|
66
|
+
"@wordpress/primitives": "^4.44.1-next.v.202604201441.0+dab6d8c07",
|
|
67
|
+
"@wordpress/private-apis": "^1.44.1-next.v.202604201441.0+dab6d8c07",
|
|
68
|
+
"@wordpress/ui": "^0.12.1-next.v.202604201441.0+dab6d8c07",
|
|
69
|
+
"@wordpress/warning": "^3.44.1-next.v.202604201441.0+dab6d8c07",
|
|
70
70
|
"clsx": "^2.1.1",
|
|
71
71
|
"colord": "^2.7.0",
|
|
72
72
|
"date-fns": "^4.1.0",
|
|
@@ -92,5 +92,5 @@
|
|
|
92
92
|
"scripts": {
|
|
93
93
|
"build:wp": "node build.cjs"
|
|
94
94
|
},
|
|
95
|
-
"gitHead": "
|
|
95
|
+
"gitHead": "c788005ba4ee2a34851c1217c51602656aa7c3a6"
|
|
96
96
|
}
|
|
@@ -640,13 +640,11 @@ const LayoutActivityComponent = ( {
|
|
|
640
640
|
|
|
641
641
|
return (
|
|
642
642
|
<div
|
|
643
|
-
style={
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
} as React.CSSProperties
|
|
649
|
-
}
|
|
643
|
+
style={ {
|
|
644
|
+
height: '100%',
|
|
645
|
+
maxWidth: fullWidth ? undefined : '400px',
|
|
646
|
+
'--wp-dataviews-color-background': backgroundColor,
|
|
647
|
+
} }
|
|
650
648
|
>
|
|
651
649
|
<DataViews
|
|
652
650
|
getItemId={ ( item ) => item.id.toString() }
|
|
@@ -61,12 +61,10 @@ export const LayoutTableComponent = ( {
|
|
|
61
61
|
}, [ view ] );
|
|
62
62
|
return (
|
|
63
63
|
<div
|
|
64
|
-
style={
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
} as React.CSSProperties
|
|
69
|
-
}
|
|
64
|
+
style={ {
|
|
65
|
+
height: '100%',
|
|
66
|
+
'--wp-dataviews-color-background': backgroundColor,
|
|
67
|
+
} }
|
|
70
68
|
>
|
|
71
69
|
<DataViews
|
|
72
70
|
getItemId={ ( item ) => item.id.toString() }
|
|
@@ -63,13 +63,11 @@ export const LayoutTableComponent = ( {
|
|
|
63
63
|
}, [ view ] );
|
|
64
64
|
return (
|
|
65
65
|
<div
|
|
66
|
-
style={
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
} as React.CSSProperties
|
|
72
|
-
}
|
|
66
|
+
style={ {
|
|
67
|
+
height: '100%',
|
|
68
|
+
maxWidth: fullWidth ? undefined : '400px',
|
|
69
|
+
'--wp-dataviews-color-background': backgroundColor,
|
|
70
|
+
} }
|
|
73
71
|
>
|
|
74
72
|
<DataViews
|
|
75
73
|
getItemId={ ( item ) => item.id.toString() }
|
|
@@ -62,12 +62,10 @@ export const LayoutTableComponent = ( {
|
|
|
62
62
|
}, [ view ] );
|
|
63
63
|
return (
|
|
64
64
|
<div
|
|
65
|
-
style={
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
} as React.CSSProperties
|
|
70
|
-
}
|
|
65
|
+
style={ {
|
|
66
|
+
height: '100%',
|
|
67
|
+
'--wp-dataviews-color-background': backgroundColor,
|
|
68
|
+
} }
|
|
71
69
|
>
|
|
72
70
|
<DataViews
|
|
73
71
|
getItemId={ ( item ) => item.id.toString() }
|