@wordpress/edit-site 6.48.2-next.v.202606191442.0 → 6.49.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 +2 -0
- package/build/components/add-new-post/index.cjs +0 -1
- package/build/components/add-new-post/index.cjs.map +2 -2
- package/build/components/add-new-template/add-custom-generic-template-modal-content.cjs +0 -1
- package/build/components/add-new-template/add-custom-generic-template-modal-content.cjs.map +2 -2
- package/build/components/add-new-template-legacy/add-custom-generic-template-modal-content.cjs +0 -1
- package/build/components/add-new-template-legacy/add-custom-generic-template-modal-content.cjs.map +2 -2
- package/build/components/layout/index.cjs +6 -7
- package/build/components/layout/index.cjs.map +3 -3
- package/build/components/page-patterns/fields.cjs +2 -51
- package/build/components/page-patterns/fields.cjs.map +3 -3
- package/build/components/page-patterns/index.cjs +12 -23
- package/build/components/page-patterns/index.cjs.map +2 -2
- package/build/components/page-templates/index-legacy.cjs +5 -28
- package/build/components/page-templates/index-legacy.cjs.map +2 -2
- package/build/components/sidebar-dataviews/index.cjs +3 -1
- package/build/components/sidebar-dataviews/index.cjs.map +2 -2
- package/build/components/sidebar-navigation-item/index.cjs +9 -0
- package/build/components/sidebar-navigation-item/index.cjs.map +2 -2
- package/build/components/sidebar-navigation-screen-main/index.cjs +40 -47
- package/build/components/sidebar-navigation-screen-main/index.cjs.map +2 -2
- package/build/components/sidebar-navigation-screen-navigation-menu/rename-modal.cjs +0 -1
- package/build/components/sidebar-navigation-screen-navigation-menu/rename-modal.cjs.map +2 -2
- package/build/components/sidebar-navigation-screen-patterns/index.cjs +5 -2
- package/build/components/sidebar-navigation-screen-patterns/index.cjs.map +2 -2
- package/build-module/components/add-new-post/index.mjs +0 -1
- package/build-module/components/add-new-post/index.mjs.map +2 -2
- package/build-module/components/add-new-template/add-custom-generic-template-modal-content.mjs +0 -1
- package/build-module/components/add-new-template/add-custom-generic-template-modal-content.mjs.map +2 -2
- package/build-module/components/add-new-template-legacy/add-custom-generic-template-modal-content.mjs +0 -1
- package/build-module/components/add-new-template-legacy/add-custom-generic-template-modal-content.mjs.map +2 -2
- package/build-module/components/layout/index.mjs +1 -2
- package/build-module/components/layout/index.mjs.map +2 -2
- package/build-module/components/page-patterns/fields.mjs +2 -40
- package/build-module/components/page-patterns/fields.mjs.map +2 -2
- package/build-module/components/page-patterns/index.mjs +14 -29
- package/build-module/components/page-patterns/index.mjs.map +2 -2
- package/build-module/components/page-templates/index-legacy.mjs +6 -29
- package/build-module/components/page-templates/index-legacy.mjs.map +2 -2
- package/build-module/components/sidebar-dataviews/index.mjs +3 -1
- package/build-module/components/sidebar-dataviews/index.mjs.map +2 -2
- package/build-module/components/sidebar-navigation-item/index.mjs +9 -0
- package/build-module/components/sidebar-navigation-item/index.mjs.map +2 -2
- package/build-module/components/sidebar-navigation-screen-main/index.mjs +41 -48
- package/build-module/components/sidebar-navigation-screen-main/index.mjs.map +2 -2
- package/build-module/components/sidebar-navigation-screen-navigation-menu/rename-modal.mjs +0 -1
- package/build-module/components/sidebar-navigation-screen-navigation-menu/rename-modal.mjs.map +2 -2
- package/build-module/components/sidebar-navigation-screen-patterns/index.mjs +5 -2
- package/build-module/components/sidebar-navigation-screen-patterns/index.mjs.map +2 -2
- package/build-style/style-rtl.css +29 -33
- package/build-style/style.css +29 -33
- package/package.json +48 -48
- package/src/components/add-new-post/index.js +0 -1
- package/src/components/add-new-template/add-custom-generic-template-modal-content.js +0 -1
- package/src/components/add-new-template-legacy/add-custom-generic-template-modal-content.js +0 -1
- package/src/components/layout/index.js +1 -2
- package/src/components/page-patterns/fields.js +1 -48
- package/src/components/page-patterns/index.js +17 -29
- package/src/components/page-templates/index-legacy.js +6 -33
- package/src/components/sidebar-dataviews/index.js +3 -0
- package/src/components/sidebar-navigation-item/index.js +11 -0
- package/src/components/sidebar-navigation-screen-main/index.js +49 -56
- package/src/components/sidebar-navigation-screen-navigation-menu/rename-modal.js +0 -1
- package/src/components/sidebar-navigation-screen-patterns/index.js +4 -0
|
@@ -13,61 +13,53 @@ import { useSelect } from "@wordpress/data";
|
|
|
13
13
|
import { store as coreStore } from "@wordpress/core-data";
|
|
14
14
|
import SidebarNavigationScreen from "../sidebar-navigation-screen/index.mjs";
|
|
15
15
|
import SidebarNavigationItem from "../sidebar-navigation-item/index.mjs";
|
|
16
|
-
import {
|
|
16
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
17
17
|
function MainSidebarNavigationContent({ isBlockBasedTheme = true }) {
|
|
18
18
|
return /* @__PURE__ */ jsxs(ItemGroup, { className: "edit-site-sidebar-navigation-screen-main", children: [
|
|
19
|
-
|
|
20
|
-
/* @__PURE__ */ jsx(
|
|
21
|
-
SidebarNavigationItem,
|
|
22
|
-
{
|
|
23
|
-
to: "/identity",
|
|
24
|
-
uid: "identity-navigation-item",
|
|
25
|
-
icon: siteLogo,
|
|
26
|
-
activeOnRouteName: "identity",
|
|
27
|
-
children: _x("Identity", "site identity")
|
|
28
|
-
}
|
|
29
|
-
),
|
|
30
|
-
/* @__PURE__ */ jsx(
|
|
31
|
-
SidebarNavigationItem,
|
|
32
|
-
{
|
|
33
|
-
to: "/styles",
|
|
34
|
-
uid: "global-styles-navigation-item",
|
|
35
|
-
icon: styles,
|
|
36
|
-
activeOnRouteName: "styles",
|
|
37
|
-
children: __("Styles")
|
|
38
|
-
}
|
|
39
|
-
),
|
|
40
|
-
/* @__PURE__ */ jsx(
|
|
41
|
-
SidebarNavigationItem,
|
|
42
|
-
{
|
|
43
|
-
uid: "page-navigation-item",
|
|
44
|
-
to: "/page",
|
|
45
|
-
withChevron: true,
|
|
46
|
-
icon: page,
|
|
47
|
-
children: __("Pages")
|
|
48
|
-
}
|
|
49
|
-
),
|
|
50
|
-
/* @__PURE__ */ jsx(
|
|
51
|
-
SidebarNavigationItem,
|
|
52
|
-
{
|
|
53
|
-
uid: "navigation-navigation-item",
|
|
54
|
-
to: "/navigation",
|
|
55
|
-
withChevron: true,
|
|
56
|
-
icon: navigation,
|
|
57
|
-
children: __("Navigation")
|
|
58
|
-
}
|
|
59
|
-
)
|
|
60
|
-
] }),
|
|
61
|
-
!isBlockBasedTheme && /* @__PURE__ */ jsx(
|
|
19
|
+
/* @__PURE__ */ jsx(
|
|
62
20
|
SidebarNavigationItem,
|
|
63
21
|
{
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
22
|
+
to: "/identity",
|
|
23
|
+
uid: "identity-navigation-item",
|
|
24
|
+
icon: siteLogo,
|
|
25
|
+
activeOnRouteName: "identity",
|
|
26
|
+
isHidden: !isBlockBasedTheme,
|
|
27
|
+
children: _x("Identity", "site identity")
|
|
28
|
+
}
|
|
29
|
+
),
|
|
30
|
+
/* @__PURE__ */ jsx(
|
|
31
|
+
SidebarNavigationItem,
|
|
32
|
+
{
|
|
33
|
+
to: isBlockBasedTheme ? "/styles" : "/stylebook",
|
|
34
|
+
uid: isBlockBasedTheme ? "global-styles-navigation-item" : "stylebook-navigation-item",
|
|
67
35
|
icon: styles,
|
|
36
|
+
activeOnRouteName: isBlockBasedTheme ? "styles" : void 0,
|
|
37
|
+
withChevron: !isBlockBasedTheme,
|
|
68
38
|
children: __("Styles")
|
|
69
39
|
}
|
|
70
40
|
),
|
|
41
|
+
/* @__PURE__ */ jsx(
|
|
42
|
+
SidebarNavigationItem,
|
|
43
|
+
{
|
|
44
|
+
uid: "page-navigation-item",
|
|
45
|
+
to: "/page",
|
|
46
|
+
withChevron: true,
|
|
47
|
+
icon: page,
|
|
48
|
+
isHidden: !isBlockBasedTheme,
|
|
49
|
+
children: __("Pages")
|
|
50
|
+
}
|
|
51
|
+
),
|
|
52
|
+
/* @__PURE__ */ jsx(
|
|
53
|
+
SidebarNavigationItem,
|
|
54
|
+
{
|
|
55
|
+
uid: "navigation-navigation-item",
|
|
56
|
+
to: "/navigation",
|
|
57
|
+
withChevron: true,
|
|
58
|
+
icon: navigation,
|
|
59
|
+
isHidden: !isBlockBasedTheme,
|
|
60
|
+
children: __("Navigation")
|
|
61
|
+
}
|
|
62
|
+
),
|
|
71
63
|
/* @__PURE__ */ jsx(
|
|
72
64
|
SidebarNavigationItem,
|
|
73
65
|
{
|
|
@@ -78,13 +70,14 @@ function MainSidebarNavigationContent({ isBlockBasedTheme = true }) {
|
|
|
78
70
|
children: __("Patterns")
|
|
79
71
|
}
|
|
80
72
|
),
|
|
81
|
-
|
|
73
|
+
/* @__PURE__ */ jsx(
|
|
82
74
|
SidebarNavigationItem,
|
|
83
75
|
{
|
|
84
76
|
uid: "template-navigation-item",
|
|
85
77
|
to: "/template",
|
|
86
78
|
withChevron: true,
|
|
87
79
|
icon: layout,
|
|
80
|
+
isHidden: !isBlockBasedTheme,
|
|
88
81
|
children: __("Templates")
|
|
89
82
|
}
|
|
90
83
|
)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/components/sidebar-navigation-screen-main/index.js"],
|
|
4
|
-
"sourcesContent": ["/**\n * WordPress dependencies\n */\nimport { __experimentalItemGroup as ItemGroup } from '@wordpress/components';\nimport { __, _x } from '@wordpress/i18n';\nimport {\n\tlayout,\n\tsymbol,\n\tnavigation,\n\tstyles,\n\tpage,\n\tsiteLogo,\n} from '@wordpress/icons';\nimport { useSelect } from '@wordpress/data';\nimport { store as coreStore } from '@wordpress/core-data';\n\n/**\n * Internal dependencies\n */\nimport SidebarNavigationScreen from '../sidebar-navigation-screen';\nimport SidebarNavigationItem from '../sidebar-navigation-item';\n\nexport function MainSidebarNavigationContent( { isBlockBasedTheme = true } ) {\n\treturn (\n\t\t<ItemGroup className=\"edit-site-sidebar-navigation-screen-main\">\n\t\t\t
|
|
5
|
-
"mappings": ";AAGA,SAAS,2BAA2B,iBAAiB;AACrD,SAAS,IAAI,UAAU;AACvB;AAAA,EACC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACM;AACP,SAAS,iBAAiB;AAC1B,SAAS,SAAS,iBAAiB;AAKnC,OAAO,6BAA6B;AACpC,OAAO,2BAA2B;
|
|
4
|
+
"sourcesContent": ["/**\n * WordPress dependencies\n */\nimport { __experimentalItemGroup as ItemGroup } from '@wordpress/components';\nimport { __, _x } from '@wordpress/i18n';\nimport {\n\tlayout,\n\tsymbol,\n\tnavigation,\n\tstyles,\n\tpage,\n\tsiteLogo,\n} from '@wordpress/icons';\nimport { useSelect } from '@wordpress/data';\nimport { store as coreStore } from '@wordpress/core-data';\n\n/**\n * Internal dependencies\n */\nimport SidebarNavigationScreen from '../sidebar-navigation-screen';\nimport SidebarNavigationItem from '../sidebar-navigation-item';\n\nexport function MainSidebarNavigationContent( { isBlockBasedTheme = true } ) {\n\treturn (\n\t\t<ItemGroup className=\"edit-site-sidebar-navigation-screen-main\">\n\t\t\t<SidebarNavigationItem\n\t\t\t\tto=\"/identity\"\n\t\t\t\tuid=\"identity-navigation-item\"\n\t\t\t\ticon={ siteLogo }\n\t\t\t\tactiveOnRouteName=\"identity\"\n\t\t\t\tisHidden={ ! isBlockBasedTheme }\n\t\t\t>\n\t\t\t\t{ _x( 'Identity', 'site identity' ) }\n\t\t\t</SidebarNavigationItem>\n\t\t\t<SidebarNavigationItem\n\t\t\t\tto={ isBlockBasedTheme ? '/styles' : '/stylebook' }\n\t\t\t\tuid={\n\t\t\t\t\tisBlockBasedTheme\n\t\t\t\t\t\t? 'global-styles-navigation-item'\n\t\t\t\t\t\t: 'stylebook-navigation-item'\n\t\t\t\t}\n\t\t\t\ticon={ styles }\n\t\t\t\tactiveOnRouteName={ isBlockBasedTheme ? 'styles' : undefined }\n\t\t\t\twithChevron={ ! isBlockBasedTheme }\n\t\t\t>\n\t\t\t\t{ __( 'Styles' ) }\n\t\t\t</SidebarNavigationItem>\n\t\t\t<SidebarNavigationItem\n\t\t\t\tuid=\"page-navigation-item\"\n\t\t\t\tto=\"/page\"\n\t\t\t\twithChevron\n\t\t\t\ticon={ page }\n\t\t\t\tisHidden={ ! isBlockBasedTheme }\n\t\t\t>\n\t\t\t\t{ __( 'Pages' ) }\n\t\t\t</SidebarNavigationItem>\n\t\t\t<SidebarNavigationItem\n\t\t\t\tuid=\"navigation-navigation-item\"\n\t\t\t\tto=\"/navigation\"\n\t\t\t\twithChevron\n\t\t\t\ticon={ navigation }\n\t\t\t\tisHidden={ ! isBlockBasedTheme }\n\t\t\t>\n\t\t\t\t{ __( 'Navigation' ) }\n\t\t\t</SidebarNavigationItem>\n\t\t\t<SidebarNavigationItem\n\t\t\t\tuid=\"patterns-navigation-item\"\n\t\t\t\tto=\"/pattern\"\n\t\t\t\twithChevron\n\t\t\t\ticon={ symbol }\n\t\t\t>\n\t\t\t\t{ __( 'Patterns' ) }\n\t\t\t</SidebarNavigationItem>\n\t\t\t<SidebarNavigationItem\n\t\t\t\tuid=\"template-navigation-item\"\n\t\t\t\tto=\"/template\"\n\t\t\t\twithChevron\n\t\t\t\ticon={ layout }\n\t\t\t\tisHidden={ ! isBlockBasedTheme }\n\t\t\t>\n\t\t\t\t{ __( 'Templates' ) }\n\t\t\t</SidebarNavigationItem>\n\t\t</ItemGroup>\n\t);\n}\n\nexport default function SidebarNavigationScreenMain( { customDescription } ) {\n\tconst isBlockBasedTheme = useSelect(\n\t\t( select ) => select( coreStore ).getCurrentTheme()?.is_block_theme,\n\t\t[]\n\t);\n\n\tlet description;\n\tif ( customDescription ) {\n\t\tdescription = customDescription;\n\t} else if ( isBlockBasedTheme ) {\n\t\tdescription = __(\n\t\t\t'Customize the appearance of your website using the block editor.'\n\t\t);\n\t} else {\n\t\tdescription = __(\n\t\t\t'Explore block styles and patterns to refine your site.'\n\t\t);\n\t}\n\n\treturn (\n\t\t<SidebarNavigationScreen\n\t\t\tisRoot\n\t\t\ttitle={ __( 'Design' ) }\n\t\t\tdescription={ description }\n\t\t\tcontent={\n\t\t\t\t<MainSidebarNavigationContent\n\t\t\t\t\tisBlockBasedTheme={ isBlockBasedTheme }\n\t\t\t\t/>\n\t\t\t}\n\t\t/>\n\t);\n}\n"],
|
|
5
|
+
"mappings": ";AAGA,SAAS,2BAA2B,iBAAiB;AACrD,SAAS,IAAI,UAAU;AACvB;AAAA,EACC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACM;AACP,SAAS,iBAAiB;AAC1B,SAAS,SAAS,iBAAiB;AAKnC,OAAO,6BAA6B;AACpC,OAAO,2BAA2B;AAIhC,SACC,KADD;AAFK,SAAS,6BAA8B,EAAE,oBAAoB,KAAK,GAAI;AAC5E,SACC,qBAAC,aAAU,WAAU,4CACpB;AAAA;AAAA,MAAC;AAAA;AAAA,QACA,IAAG;AAAA,QACH,KAAI;AAAA,QACJ,MAAO;AAAA,QACP,mBAAkB;AAAA,QAClB,UAAW,CAAE;AAAA,QAEX,aAAI,YAAY,eAAgB;AAAA;AAAA,IACnC;AAAA,IACA;AAAA,MAAC;AAAA;AAAA,QACA,IAAK,oBAAoB,YAAY;AAAA,QACrC,KACC,oBACG,kCACA;AAAA,QAEJ,MAAO;AAAA,QACP,mBAAoB,oBAAoB,WAAW;AAAA,QACnD,aAAc,CAAE;AAAA,QAEd,aAAI,QAAS;AAAA;AAAA,IAChB;AAAA,IACA;AAAA,MAAC;AAAA;AAAA,QACA,KAAI;AAAA,QACJ,IAAG;AAAA,QACH,aAAW;AAAA,QACX,MAAO;AAAA,QACP,UAAW,CAAE;AAAA,QAEX,aAAI,OAAQ;AAAA;AAAA,IACf;AAAA,IACA;AAAA,MAAC;AAAA;AAAA,QACA,KAAI;AAAA,QACJ,IAAG;AAAA,QACH,aAAW;AAAA,QACX,MAAO;AAAA,QACP,UAAW,CAAE;AAAA,QAEX,aAAI,YAAa;AAAA;AAAA,IACpB;AAAA,IACA;AAAA,MAAC;AAAA;AAAA,QACA,KAAI;AAAA,QACJ,IAAG;AAAA,QACH,aAAW;AAAA,QACX,MAAO;AAAA,QAEL,aAAI,UAAW;AAAA;AAAA,IAClB;AAAA,IACA;AAAA,MAAC;AAAA;AAAA,QACA,KAAI;AAAA,QACJ,IAAG;AAAA,QACH,aAAW;AAAA,QACX,MAAO;AAAA,QACP,UAAW,CAAE;AAAA,QAEX,aAAI,WAAY;AAAA;AAAA,IACnB;AAAA,KACD;AAEF;AAEe,SAAR,4BAA8C,EAAE,kBAAkB,GAAI;AAC5E,QAAM,oBAAoB;AAAA,IACzB,CAAE,WAAY,OAAQ,SAAU,EAAE,gBAAgB,GAAG;AAAA,IACrD,CAAC;AAAA,EACF;AAEA,MAAI;AACJ,MAAK,mBAAoB;AACxB,kBAAc;AAAA,EACf,WAAY,mBAAoB;AAC/B,kBAAc;AAAA,MACb;AAAA,IACD;AAAA,EACD,OAAO;AACN,kBAAc;AAAA,MACb;AAAA,IACD;AAAA,EACD;AAEA,SACC;AAAA,IAAC;AAAA;AAAA,MACA,QAAM;AAAA,MACN,OAAQ,GAAI,QAAS;AAAA,MACrB;AAAA,MACA,SACC;AAAA,QAAC;AAAA;AAAA,UACA;AAAA;AAAA,MACD;AAAA;AAAA,EAEF;AAEF;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/build-module/components/sidebar-navigation-screen-navigation-menu/rename-modal.mjs.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/components/sidebar-navigation-screen-navigation-menu/rename-modal.js"],
|
|
4
|
-
"sourcesContent": ["/**\n * WordPress dependencies\n */\nimport {\n\t__experimentalHStack as HStack,\n\t__experimentalVStack as VStack,\n\tButton,\n\tTextControl,\n\tModal,\n} from '@wordpress/components';\nimport { __ } from '@wordpress/i18n';\nimport { useState } from '@wordpress/element';\n\nconst notEmptyString = ( testString ) => testString?.trim()?.length > 0;\n\nexport default function RenameModal( { menuTitle, onClose, onSave } ) {\n\tconst [ editedMenuTitle, setEditedMenuTitle ] = useState( menuTitle );\n\n\tconst titleHasChanged = editedMenuTitle !== menuTitle;\n\n\tconst isEditedMenuTitleValid =\n\t\ttitleHasChanged && notEmptyString( editedMenuTitle );\n\n\treturn (\n\t\t<Modal\n\t\t\ttitle={ __( 'Rename' ) }\n\t\t\tonRequestClose={ onClose }\n\t\t\tfocusOnMount=\"firstContentElement\"\n\t\t\tsize=\"small\"\n\t\t>\n\t\t\t<form className=\"sidebar-navigation__rename-modal-form\">\n\t\t\t\t<VStack spacing=\"3\">\n\t\t\t\t\t<TextControl\n\t\t\t\t\t\
|
|
5
|
-
"mappings": ";AAGA;AAAA,EACC,wBAAwB;AAAA,EACxB,wBAAwB;AAAA,EACxB;AAAA,EACA;AAAA,EACA;AAAA,OACM;AACP,SAAS,UAAU;AACnB,SAAS,gBAAgB;AAqBpB,
|
|
4
|
+
"sourcesContent": ["/**\n * WordPress dependencies\n */\nimport {\n\t__experimentalHStack as HStack,\n\t__experimentalVStack as VStack,\n\tButton,\n\tTextControl,\n\tModal,\n} from '@wordpress/components';\nimport { __ } from '@wordpress/i18n';\nimport { useState } from '@wordpress/element';\n\nconst notEmptyString = ( testString ) => testString?.trim()?.length > 0;\n\nexport default function RenameModal( { menuTitle, onClose, onSave } ) {\n\tconst [ editedMenuTitle, setEditedMenuTitle ] = useState( menuTitle );\n\n\tconst titleHasChanged = editedMenuTitle !== menuTitle;\n\n\tconst isEditedMenuTitleValid =\n\t\ttitleHasChanged && notEmptyString( editedMenuTitle );\n\n\treturn (\n\t\t<Modal\n\t\t\ttitle={ __( 'Rename' ) }\n\t\t\tonRequestClose={ onClose }\n\t\t\tfocusOnMount=\"firstContentElement\"\n\t\t\tsize=\"small\"\n\t\t>\n\t\t\t<form className=\"sidebar-navigation__rename-modal-form\">\n\t\t\t\t<VStack spacing=\"3\">\n\t\t\t\t\t<TextControl\n\t\t\t\t\t\tvalue={ editedMenuTitle }\n\t\t\t\t\t\tplaceholder={ __( 'Navigation title' ) }\n\t\t\t\t\t\tonChange={ setEditedMenuTitle }\n\t\t\t\t\t\tlabel={ __( 'Name' ) }\n\t\t\t\t\t/>\n\t\t\t\t\t<HStack justify=\"right\">\n\t\t\t\t\t\t<Button\n\t\t\t\t\t\t\t__next40pxDefaultSize\n\t\t\t\t\t\t\tvariant=\"tertiary\"\n\t\t\t\t\t\t\tonClick={ onClose }\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{ __( 'Cancel' ) }\n\t\t\t\t\t\t</Button>\n\n\t\t\t\t\t\t<Button\n\t\t\t\t\t\t\t__next40pxDefaultSize\n\t\t\t\t\t\t\taccessibleWhenDisabled\n\t\t\t\t\t\t\tdisabled={ ! isEditedMenuTitleValid }\n\t\t\t\t\t\t\tvariant=\"primary\"\n\t\t\t\t\t\t\ttype=\"submit\"\n\t\t\t\t\t\t\tonClick={ ( e ) => {\n\t\t\t\t\t\t\t\te.preventDefault();\n\n\t\t\t\t\t\t\t\tif ( ! isEditedMenuTitleValid ) {\n\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tonSave( { title: editedMenuTitle } );\n\n\t\t\t\t\t\t\t\t// Immediate close avoids ability to hit save multiple times.\n\t\t\t\t\t\t\t\tonClose();\n\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{ __( 'Save' ) }\n\t\t\t\t\t\t</Button>\n\t\t\t\t\t</HStack>\n\t\t\t\t</VStack>\n\t\t\t</form>\n\t\t</Modal>\n\t);\n}\n"],
|
|
5
|
+
"mappings": ";AAGA;AAAA,EACC,wBAAwB;AAAA,EACxB,wBAAwB;AAAA,EACxB;AAAA,EACA;AAAA,EACA;AAAA,OACM;AACP,SAAS,UAAU;AACnB,SAAS,gBAAgB;AAqBpB,cAMA,YANA;AAnBL,IAAM,iBAAiB,CAAE,eAAgB,YAAY,KAAK,GAAG,SAAS;AAEvD,SAAR,YAA8B,EAAE,WAAW,SAAS,OAAO,GAAI;AACrE,QAAM,CAAE,iBAAiB,kBAAmB,IAAI,SAAU,SAAU;AAEpE,QAAM,kBAAkB,oBAAoB;AAE5C,QAAM,yBACL,mBAAmB,eAAgB,eAAgB;AAEpD,SACC;AAAA,IAAC;AAAA;AAAA,MACA,OAAQ,GAAI,QAAS;AAAA,MACrB,gBAAiB;AAAA,MACjB,cAAa;AAAA,MACb,MAAK;AAAA,MAEL,8BAAC,UAAK,WAAU,yCACf,+BAAC,UAAO,SAAQ,KACf;AAAA;AAAA,UAAC;AAAA;AAAA,YACA,OAAQ;AAAA,YACR,aAAc,GAAI,kBAAmB;AAAA,YACrC,UAAW;AAAA,YACX,OAAQ,GAAI,MAAO;AAAA;AAAA,QACpB;AAAA,QACA,qBAAC,UAAO,SAAQ,SACf;AAAA;AAAA,YAAC;AAAA;AAAA,cACA,uBAAqB;AAAA,cACrB,SAAQ;AAAA,cACR,SAAU;AAAA,cAER,aAAI,QAAS;AAAA;AAAA,UAChB;AAAA,UAEA;AAAA,YAAC;AAAA;AAAA,cACA,uBAAqB;AAAA,cACrB,wBAAsB;AAAA,cACtB,UAAW,CAAE;AAAA,cACb,SAAQ;AAAA,cACR,MAAK;AAAA,cACL,SAAU,CAAE,MAAO;AAClB,kBAAE,eAAe;AAEjB,oBAAK,CAAE,wBAAyB;AAC/B;AAAA,gBACD;AACA,uBAAQ,EAAE,OAAO,gBAAgB,CAAE;AAGnC,wBAAQ;AAAA,cACT;AAAA,cAEE,aAAI,MAAO;AAAA;AAAA,UACd;AAAA,WACD;AAAA,SACD,GACD;AAAA;AAAA,EACD;AAEF;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -21,6 +21,7 @@ import usePatternCategories from "./use-pattern-categories.mjs";
|
|
|
21
21
|
import useTemplatePartAreas from "./use-template-part-areas.mjs";
|
|
22
22
|
import { unlock } from "../../lock-unlock.mjs";
|
|
23
23
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
24
|
+
var VIEW_CONFIG_FIELDS = ["view_list"];
|
|
24
25
|
var { useLocation } = unlock(routerPrivateApis);
|
|
25
26
|
function CategoriesGroup({
|
|
26
27
|
templatePartViews,
|
|
@@ -67,11 +68,13 @@ function SidebarNavigationScreenPatterns({ backPath }) {
|
|
|
67
68
|
const currentCategory = categoryId || (postType === PATTERN_TYPES.user ? PATTERN_DEFAULT_CATEGORY : TEMPLATE_PART_ALL_AREAS_CATEGORY);
|
|
68
69
|
const { view_list: templatePartViews } = useViewConfig({
|
|
69
70
|
kind: "postType",
|
|
70
|
-
name: TEMPLATE_PART_POST_TYPE
|
|
71
|
+
name: TEMPLATE_PART_POST_TYPE,
|
|
72
|
+
fields: VIEW_CONFIG_FIELDS
|
|
71
73
|
});
|
|
72
74
|
const { view_list: patternViews } = useViewConfig({
|
|
73
75
|
kind: "postType",
|
|
74
|
-
name: PATTERN_TYPES.user
|
|
76
|
+
name: PATTERN_TYPES.user,
|
|
77
|
+
fields: VIEW_CONFIG_FIELDS
|
|
75
78
|
});
|
|
76
79
|
const { templatePartAreas, isLoading, hasTemplateParts } = useTemplatePartAreas();
|
|
77
80
|
const templatePartCounts = useMemo(() => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/components/sidebar-navigation-screen-patterns/index.js"],
|
|
4
|
-
"sourcesContent": ["/**\n * WordPress dependencies\n */\nimport {\n\t__experimentalItemGroup as ItemGroup,\n\t__experimentalItem as Item,\n} from '@wordpress/components';\nimport { getTemplatePartIcon } from '@wordpress/editor';\nimport { useMemo } from '@wordpress/element';\nimport { __ } from '@wordpress/i18n';\nimport { file } from '@wordpress/icons';\nimport { privateApis as routerPrivateApis } from '@wordpress/router';\nimport { useViewConfig } from '@wordpress/views';\n\n/**\n * Internal dependencies\n */\nimport SidebarNavigationScreen from '../sidebar-navigation-screen';\nimport CategoryItem from './category-item';\nimport {\n\tPATTERN_DEFAULT_CATEGORY,\n\tPATTERN_TYPES,\n\tTEMPLATE_PART_POST_TYPE,\n\tTEMPLATE_PART_ALL_AREAS_CATEGORY,\n} from '../../utils/constants';\nimport usePatternCategories from './use-pattern-categories';\nimport useTemplatePartAreas from './use-template-part-areas';\nimport { unlock } from '../../lock-unlock';\n\nconst { useLocation } = unlock( routerPrivateApis );\n\nfunction CategoriesGroup( {\n\ttemplatePartViews,\n\tpatternViews,\n\ttemplatePartCounts,\n\tpatternCounts,\n\tcurrentCategory,\n\tcurrentType,\n} ) {\n\treturn (\n\t\t<ItemGroup className=\"edit-site-sidebar-navigation-screen-patterns__group\">\n\t\t\t{ templatePartViews?.map( ( view ) => (\n\t\t\t\t<CategoryItem\n\t\t\t\t\tkey={ view.slug }\n\t\t\t\t\tcount={ templatePartCounts[ view.slug ] }\n\t\t\t\t\ticon={ getTemplatePartIcon(\n\t\t\t\t\t\tview.slug === TEMPLATE_PART_ALL_AREAS_CATEGORY\n\t\t\t\t\t\t\t? undefined\n\t\t\t\t\t\t\t: view.slug\n\t\t\t\t\t) }\n\t\t\t\t\tlabel={ view.title }\n\t\t\t\t\tid={ view.slug }\n\t\t\t\t\ttype={ TEMPLATE_PART_POST_TYPE }\n\t\t\t\t\tisActive={\n\t\t\t\t\t\tcurrentCategory === view.slug &&\n\t\t\t\t\t\tcurrentType === TEMPLATE_PART_POST_TYPE\n\t\t\t\t\t}\n\t\t\t\t/>\n\t\t\t) ) }\n\t\t\t<div className=\"edit-site-sidebar-navigation-screen-patterns__divider\" />\n\t\t\t{ patternViews?.map( ( view ) => (\n\t\t\t\t<CategoryItem\n\t\t\t\t\tkey={ view.slug }\n\t\t\t\t\tcount={ patternCounts[ view.slug ] }\n\t\t\t\t\tlabel={ view.title }\n\t\t\t\t\ticon={ file }\n\t\t\t\t\tid={ view.slug }\n\t\t\t\t\ttype={ PATTERN_TYPES.user }\n\t\t\t\t\tisActive={\n\t\t\t\t\t\tcurrentCategory === `${ view.slug }` &&\n\t\t\t\t\t\tcurrentType === PATTERN_TYPES.user\n\t\t\t\t\t}\n\t\t\t\t/>\n\t\t\t) ) }\n\t\t</ItemGroup>\n\t);\n}\n\nexport default function SidebarNavigationScreenPatterns( { backPath } ) {\n\tconst {\n\t\tquery: { postType = 'wp_block', categoryId },\n\t} = useLocation();\n\tconst currentCategory =\n\t\tcategoryId ||\n\t\t( postType === PATTERN_TYPES.user\n\t\t\t? PATTERN_DEFAULT_CATEGORY\n\t\t\t: TEMPLATE_PART_ALL_AREAS_CATEGORY );\n\n\tconst { view_list: templatePartViews } = useViewConfig( {\n\t\tkind: 'postType',\n\t\tname: TEMPLATE_PART_POST_TYPE,\n\t} );\n\tconst { view_list: patternViews } = useViewConfig( {\n\t\tkind: 'postType',\n\t\tname: PATTERN_TYPES.user,\n\t} );\n\n\tconst { templatePartAreas, isLoading, hasTemplateParts } =\n\t\tuseTemplatePartAreas();\n\tconst templatePartCounts = useMemo( () => {\n\t\tconst counts = { [ TEMPLATE_PART_ALL_AREAS_CATEGORY ]: 0 };\n\t\tObject.entries( templatePartAreas ).forEach(\n\t\t\t( [ area, { templateParts } ] ) => {\n\t\t\t\tconst count = templateParts?.length || 0;\n\t\t\t\tcounts[ area ] = count;\n\t\t\t\tcounts[ TEMPLATE_PART_ALL_AREAS_CATEGORY ] += count;\n\t\t\t}\n\t\t);\n\t\treturn counts;\n\t}, [ templatePartAreas ] );\n\tconst { patternCategories } = usePatternCategories();\n\tconst patternCounts = useMemo( () => {\n\t\tconst counts = {};\n\t\tpatternCategories.forEach( ( cat ) => {\n\t\t\tcounts[ cat.name ] = cat.count;\n\t\t} );\n\t\treturn counts;\n\t}, [ patternCategories ] );\n\n\tconst hasPatterns = patternCounts[ PATTERN_DEFAULT_CATEGORY ] > 0;\n\n\treturn (\n\t\t<SidebarNavigationScreen\n\t\t\ttitle={ __( 'Patterns' ) }\n\t\t\tdescription={ __(\n\t\t\t\t'Manage what patterns are available when editing the site.'\n\t\t\t) }\n\t\t\tisRoot={ ! backPath }\n\t\t\tbackPath={ backPath }\n\t\t\tcontent={\n\t\t\t\t<>\n\t\t\t\t\t{ isLoading && __( 'Loading items…' ) }\n\t\t\t\t\t{ ! isLoading && (\n\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t{ ! hasTemplateParts && ! hasPatterns && (\n\t\t\t\t\t\t\t\t<ItemGroup className=\"edit-site-sidebar-navigation-screen-patterns__group\">\n\t\t\t\t\t\t\t\t\t<Item>{ __( 'No items found' ) }</Item>\n\t\t\t\t\t\t\t\t</ItemGroup>\n\t\t\t\t\t\t\t) }\n\t\t\t\t\t\t\t<CategoriesGroup\n\t\t\t\t\t\t\t\ttemplatePartViews={ templatePartViews }\n\t\t\t\t\t\t\t\tpatternViews={ patternViews }\n\t\t\t\t\t\t\t\ttemplatePartCounts={ templatePartCounts }\n\t\t\t\t\t\t\t\tpatternCounts={ patternCounts }\n\t\t\t\t\t\t\t\tcurrentCategory={ currentCategory }\n\t\t\t\t\t\t\t\tcurrentType={ postType }\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t</>\n\t\t\t\t\t) }\n\t\t\t\t</>\n\t\t\t}\n\t\t/>\n\t);\n}\n"],
|
|
5
|
-
"mappings": ";AAGA;AAAA,EACC,2BAA2B;AAAA,EAC3B,sBAAsB;AAAA,OAChB;AACP,SAAS,2BAA2B;AACpC,SAAS,eAAe;AACxB,SAAS,UAAU;AACnB,SAAS,YAAY;AACrB,SAAS,eAAe,yBAAyB;AACjD,SAAS,qBAAqB;AAK9B,OAAO,6BAA6B;AACpC,OAAO,kBAAkB;AACzB;AAAA,EACC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACM;AACP,OAAO,0BAA0B;AACjC,OAAO,0BAA0B;AACjC,SAAS,cAAc;
|
|
4
|
+
"sourcesContent": ["/**\n * WordPress dependencies\n */\nimport {\n\t__experimentalItemGroup as ItemGroup,\n\t__experimentalItem as Item,\n} from '@wordpress/components';\nimport { getTemplatePartIcon } from '@wordpress/editor';\nimport { useMemo } from '@wordpress/element';\nimport { __ } from '@wordpress/i18n';\nimport { file } from '@wordpress/icons';\nimport { privateApis as routerPrivateApis } from '@wordpress/router';\nimport { useViewConfig } from '@wordpress/views';\n\n/**\n * Internal dependencies\n */\nimport SidebarNavigationScreen from '../sidebar-navigation-screen';\nimport CategoryItem from './category-item';\nimport {\n\tPATTERN_DEFAULT_CATEGORY,\n\tPATTERN_TYPES,\n\tTEMPLATE_PART_POST_TYPE,\n\tTEMPLATE_PART_ALL_AREAS_CATEGORY,\n} from '../../utils/constants';\nimport usePatternCategories from './use-pattern-categories';\nimport useTemplatePartAreas from './use-template-part-areas';\nimport { unlock } from '../../lock-unlock';\n\nconst VIEW_CONFIG_FIELDS = [ 'view_list' ];\n\nconst { useLocation } = unlock( routerPrivateApis );\n\nfunction CategoriesGroup( {\n\ttemplatePartViews,\n\tpatternViews,\n\ttemplatePartCounts,\n\tpatternCounts,\n\tcurrentCategory,\n\tcurrentType,\n} ) {\n\treturn (\n\t\t<ItemGroup className=\"edit-site-sidebar-navigation-screen-patterns__group\">\n\t\t\t{ templatePartViews?.map( ( view ) => (\n\t\t\t\t<CategoryItem\n\t\t\t\t\tkey={ view.slug }\n\t\t\t\t\tcount={ templatePartCounts[ view.slug ] }\n\t\t\t\t\ticon={ getTemplatePartIcon(\n\t\t\t\t\t\tview.slug === TEMPLATE_PART_ALL_AREAS_CATEGORY\n\t\t\t\t\t\t\t? undefined\n\t\t\t\t\t\t\t: view.slug\n\t\t\t\t\t) }\n\t\t\t\t\tlabel={ view.title }\n\t\t\t\t\tid={ view.slug }\n\t\t\t\t\ttype={ TEMPLATE_PART_POST_TYPE }\n\t\t\t\t\tisActive={\n\t\t\t\t\t\tcurrentCategory === view.slug &&\n\t\t\t\t\t\tcurrentType === TEMPLATE_PART_POST_TYPE\n\t\t\t\t\t}\n\t\t\t\t/>\n\t\t\t) ) }\n\t\t\t<div className=\"edit-site-sidebar-navigation-screen-patterns__divider\" />\n\t\t\t{ patternViews?.map( ( view ) => (\n\t\t\t\t<CategoryItem\n\t\t\t\t\tkey={ view.slug }\n\t\t\t\t\tcount={ patternCounts[ view.slug ] }\n\t\t\t\t\tlabel={ view.title }\n\t\t\t\t\ticon={ file }\n\t\t\t\t\tid={ view.slug }\n\t\t\t\t\ttype={ PATTERN_TYPES.user }\n\t\t\t\t\tisActive={\n\t\t\t\t\t\tcurrentCategory === `${ view.slug }` &&\n\t\t\t\t\t\tcurrentType === PATTERN_TYPES.user\n\t\t\t\t\t}\n\t\t\t\t/>\n\t\t\t) ) }\n\t\t</ItemGroup>\n\t);\n}\n\nexport default function SidebarNavigationScreenPatterns( { backPath } ) {\n\tconst {\n\t\tquery: { postType = 'wp_block', categoryId },\n\t} = useLocation();\n\tconst currentCategory =\n\t\tcategoryId ||\n\t\t( postType === PATTERN_TYPES.user\n\t\t\t? PATTERN_DEFAULT_CATEGORY\n\t\t\t: TEMPLATE_PART_ALL_AREAS_CATEGORY );\n\n\tconst { view_list: templatePartViews } = useViewConfig( {\n\t\tkind: 'postType',\n\t\tname: TEMPLATE_PART_POST_TYPE,\n\t\tfields: VIEW_CONFIG_FIELDS,\n\t} );\n\tconst { view_list: patternViews } = useViewConfig( {\n\t\tkind: 'postType',\n\t\tname: PATTERN_TYPES.user,\n\t\tfields: VIEW_CONFIG_FIELDS,\n\t} );\n\n\tconst { templatePartAreas, isLoading, hasTemplateParts } =\n\t\tuseTemplatePartAreas();\n\tconst templatePartCounts = useMemo( () => {\n\t\tconst counts = { [ TEMPLATE_PART_ALL_AREAS_CATEGORY ]: 0 };\n\t\tObject.entries( templatePartAreas ).forEach(\n\t\t\t( [ area, { templateParts } ] ) => {\n\t\t\t\tconst count = templateParts?.length || 0;\n\t\t\t\tcounts[ area ] = count;\n\t\t\t\tcounts[ TEMPLATE_PART_ALL_AREAS_CATEGORY ] += count;\n\t\t\t}\n\t\t);\n\t\treturn counts;\n\t}, [ templatePartAreas ] );\n\tconst { patternCategories } = usePatternCategories();\n\tconst patternCounts = useMemo( () => {\n\t\tconst counts = {};\n\t\tpatternCategories.forEach( ( cat ) => {\n\t\t\tcounts[ cat.name ] = cat.count;\n\t\t} );\n\t\treturn counts;\n\t}, [ patternCategories ] );\n\n\tconst hasPatterns = patternCounts[ PATTERN_DEFAULT_CATEGORY ] > 0;\n\n\treturn (\n\t\t<SidebarNavigationScreen\n\t\t\ttitle={ __( 'Patterns' ) }\n\t\t\tdescription={ __(\n\t\t\t\t'Manage what patterns are available when editing the site.'\n\t\t\t) }\n\t\t\tisRoot={ ! backPath }\n\t\t\tbackPath={ backPath }\n\t\t\tcontent={\n\t\t\t\t<>\n\t\t\t\t\t{ isLoading && __( 'Loading items…' ) }\n\t\t\t\t\t{ ! isLoading && (\n\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t{ ! hasTemplateParts && ! hasPatterns && (\n\t\t\t\t\t\t\t\t<ItemGroup className=\"edit-site-sidebar-navigation-screen-patterns__group\">\n\t\t\t\t\t\t\t\t\t<Item>{ __( 'No items found' ) }</Item>\n\t\t\t\t\t\t\t\t</ItemGroup>\n\t\t\t\t\t\t\t) }\n\t\t\t\t\t\t\t<CategoriesGroup\n\t\t\t\t\t\t\t\ttemplatePartViews={ templatePartViews }\n\t\t\t\t\t\t\t\tpatternViews={ patternViews }\n\t\t\t\t\t\t\t\ttemplatePartCounts={ templatePartCounts }\n\t\t\t\t\t\t\t\tpatternCounts={ patternCounts }\n\t\t\t\t\t\t\t\tcurrentCategory={ currentCategory }\n\t\t\t\t\t\t\t\tcurrentType={ postType }\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t</>\n\t\t\t\t\t) }\n\t\t\t\t</>\n\t\t\t}\n\t\t/>\n\t);\n}\n"],
|
|
5
|
+
"mappings": "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",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -202,7 +202,7 @@
|
|
|
202
202
|
flex-grow: 1;
|
|
203
203
|
min-height: 0;
|
|
204
204
|
box-sizing: border-box;
|
|
205
|
-
scroll-padding-bottom:
|
|
205
|
+
scroll-padding-bottom: 64px;
|
|
206
206
|
/* stylelint-disable-next-line property-no-unknown -- '@container' not globally permitted */
|
|
207
207
|
container: dataviews-wrapper/inline-size;
|
|
208
208
|
display: flex;
|
|
@@ -520,7 +520,7 @@
|
|
|
520
520
|
}
|
|
521
521
|
|
|
522
522
|
.dataviews-filters__search-widget-filter-combobox-list {
|
|
523
|
-
max-height:
|
|
523
|
+
max-height: 184px;
|
|
524
524
|
padding: var(--wpds-dimension-padding-xs, 4px);
|
|
525
525
|
overflow: auto;
|
|
526
526
|
border-top: 1px solid var(--wpds-color-stroke-surface-neutral, #dbdbdb);
|
|
@@ -1294,7 +1294,7 @@
|
|
|
1294
1294
|
.dataviews-view-grid-infinite-scroll .dataviews-view-grid__fields .dataviews-view-grid__field-value:not(:empty) {
|
|
1295
1295
|
min-height: var(--wpds-dimension-size-sm, 24px);
|
|
1296
1296
|
line-height: var(--wpds-typography-line-height-sm, 20px);
|
|
1297
|
-
padding-top: calc(var(--wpds-dimension-
|
|
1297
|
+
padding-top: calc((var(--wpds-dimension-size-sm, 24px) - var(--wpds-typography-line-height-sm, 20px)) / 2);
|
|
1298
1298
|
}
|
|
1299
1299
|
|
|
1300
1300
|
.dataviews-view-grid .dataviews-view-grid__fields .dataviews-view-grid__field,
|
|
@@ -1570,8 +1570,8 @@ div.dataviews-view-list {
|
|
|
1570
1570
|
}
|
|
1571
1571
|
|
|
1572
1572
|
.dataviews-view-list .dataviews-view-list__media-wrapper {
|
|
1573
|
-
width:
|
|
1574
|
-
height:
|
|
1573
|
+
width: 48px;
|
|
1574
|
+
height: 48px;
|
|
1575
1575
|
overflow: hidden;
|
|
1576
1576
|
position: relative;
|
|
1577
1577
|
flex-shrink: 0;
|
|
@@ -1598,7 +1598,7 @@ div.dataviews-view-list {
|
|
|
1598
1598
|
}
|
|
1599
1599
|
|
|
1600
1600
|
.dataviews-view-list .dataviews-view-list__field-wrapper {
|
|
1601
|
-
min-height:
|
|
1601
|
+
min-height: 48px;
|
|
1602
1602
|
flex-grow: 1;
|
|
1603
1603
|
min-width: 0;
|
|
1604
1604
|
}
|
|
@@ -1672,12 +1672,12 @@ div.dataviews-view-list {
|
|
|
1672
1672
|
}
|
|
1673
1673
|
|
|
1674
1674
|
.dataviews-view-list.has-comfortable-density div[role=row] .dataviews-view-list__media-wrapper {
|
|
1675
|
-
width:
|
|
1676
|
-
height:
|
|
1675
|
+
width: 64px;
|
|
1676
|
+
height: 64px;
|
|
1677
1677
|
}
|
|
1678
1678
|
|
|
1679
1679
|
.dataviews-view-list.has-comfortable-density div[role=row] .dataviews-view-list__field-wrapper {
|
|
1680
|
-
min-height:
|
|
1680
|
+
min-height: 64px;
|
|
1681
1681
|
}
|
|
1682
1682
|
|
|
1683
1683
|
.dataviews-view-list.has-comfortable-density div[role=row] .dataviews-view-list__fields {
|
|
@@ -2110,7 +2110,7 @@ div.dataviews-view-list {
|
|
|
2110
2110
|
.dataviews-view-picker-grid .dataviews-view-picker-grid__fields .dataviews-view-picker-grid__field-value:not(:empty) {
|
|
2111
2111
|
min-height: var(--wpds-dimension-size-sm, 24px);
|
|
2112
2112
|
line-height: var(--wpds-typography-line-height-sm, 20px);
|
|
2113
|
-
padding-top: calc(var(--wpds-dimension-
|
|
2113
|
+
padding-top: calc((var(--wpds-dimension-size-sm, 24px) - var(--wpds-typography-line-height-sm, 20px)) / 2);
|
|
2114
2114
|
}
|
|
2115
2115
|
|
|
2116
2116
|
.dataviews-view-picker-grid .dataviews-view-picker-grid__fields .dataviews-view-picker-grid__field {
|
|
@@ -2173,7 +2173,7 @@ div.dataviews-view-list {
|
|
|
2173
2173
|
font-weight: var(--wpds-typography-font-weight-medium, 499);
|
|
2174
2174
|
color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
|
|
2175
2175
|
margin: 0 0 var(--wpds-dimension-gap-sm, 8px) 0;
|
|
2176
|
-
padding: 0
|
|
2176
|
+
padding: 0 48px;
|
|
2177
2177
|
}
|
|
2178
2178
|
|
|
2179
2179
|
.dataviews-view-picker-table {
|
|
@@ -2181,7 +2181,7 @@ div.dataviews-view-list {
|
|
|
2181
2181
|
}
|
|
2182
2182
|
|
|
2183
2183
|
.dataviews-view-picker-table .dataviews-view-table__checkbox-column {
|
|
2184
|
-
width:
|
|
2184
|
+
width: 48px;
|
|
2185
2185
|
}
|
|
2186
2186
|
|
|
2187
2187
|
.dataviews-view-picker-table tbody:focus-visible[aria-activedescendant] {
|
|
@@ -2321,8 +2321,8 @@ div.dataviews-view-list {
|
|
|
2321
2321
|
}
|
|
2322
2322
|
|
|
2323
2323
|
.dataviews-view-activity .dataviews-view-activity__item.is-compact .dataviews-view-activity__item-type-icon {
|
|
2324
|
-
width: calc(var(--wpds-dimension-
|
|
2325
|
-
height: calc(var(--wpds-dimension-
|
|
2324
|
+
width: calc(var(--wpds-dimension-size-3xs, 12px) - 1px);
|
|
2325
|
+
height: calc(var(--wpds-dimension-size-3xs, 12px) - 1px);
|
|
2326
2326
|
}
|
|
2327
2327
|
|
|
2328
2328
|
.dataviews-view-activity .dataviews-view-activity__item.is-compact .dataviews-view-activity__item-content {
|
|
@@ -2338,8 +2338,8 @@ div.dataviews-view-list {
|
|
|
2338
2338
|
}
|
|
2339
2339
|
|
|
2340
2340
|
.dataviews-view-activity .dataviews-view-activity__item.is-balanced .dataviews-view-activity__item-type-icon {
|
|
2341
|
-
width: calc(var(--wpds-dimension-
|
|
2342
|
-
height: calc(var(--wpds-dimension-
|
|
2341
|
+
width: calc(var(--wpds-dimension-size-sm, 24px) + 1px);
|
|
2342
|
+
height: calc(var(--wpds-dimension-size-sm, 24px) + 1px);
|
|
2343
2343
|
}
|
|
2344
2344
|
|
|
2345
2345
|
.dataviews-view-activity .dataviews-view-activity__item.is-balanced .dataviews-view-activity__item-content {
|
|
@@ -2356,8 +2356,8 @@ div.dataviews-view-list {
|
|
|
2356
2356
|
}
|
|
2357
2357
|
|
|
2358
2358
|
.dataviews-view-activity .dataviews-view-activity__item.is-comfortable .dataviews-view-activity__item-type-icon {
|
|
2359
|
-
width: calc(var(--wpds-dimension-
|
|
2360
|
-
height: calc(var(--wpds-dimension-
|
|
2359
|
+
width: calc(var(--wpds-dimension-size-md, 32px) + 1px);
|
|
2360
|
+
height: calc(var(--wpds-dimension-size-md, 32px) + 1px);
|
|
2361
2361
|
}
|
|
2362
2362
|
|
|
2363
2363
|
.dataviews-view-activity .dataviews-view-activity__item.is-comfortable .dataviews-view-activity__item-content {
|
|
@@ -2366,8 +2366,8 @@ div.dataviews-view-list {
|
|
|
2366
2366
|
}
|
|
2367
2367
|
|
|
2368
2368
|
.dataviews-view-activity .dataviews-view-activity__item.is-comfortable .dataviews-view-activity__item-bullet, .dataviews-view-activity .dataviews-view-activity__item.is-balanced .dataviews-view-activity__item-bullet {
|
|
2369
|
-
width: calc(var(--wpds-dimension-
|
|
2370
|
-
height: calc(var(--wpds-dimension-
|
|
2369
|
+
width: calc(var(--wpds-dimension-size-4xs, 8px) + 1px);
|
|
2370
|
+
height: calc(var(--wpds-dimension-size-4xs, 8px) + 1px);
|
|
2371
2371
|
position: relative;
|
|
2372
2372
|
top: 50%;
|
|
2373
2373
|
transform: translateY(-50%);
|
|
@@ -2465,8 +2465,8 @@ div.dataviews-view-list {
|
|
|
2465
2465
|
}
|
|
2466
2466
|
|
|
2467
2467
|
.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-compact .dataviews-view-picker-activity__item-type-icon {
|
|
2468
|
-
width: calc(var(--wpds-dimension-
|
|
2469
|
-
height: calc(var(--wpds-dimension-
|
|
2468
|
+
width: calc(var(--wpds-dimension-size-3xs, 12px) - 1px);
|
|
2469
|
+
height: calc(var(--wpds-dimension-size-3xs, 12px) - 1px);
|
|
2470
2470
|
}
|
|
2471
2471
|
|
|
2472
2472
|
.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-compact .dataviews-view-picker-activity__item-content {
|
|
@@ -2482,8 +2482,8 @@ div.dataviews-view-list {
|
|
|
2482
2482
|
}
|
|
2483
2483
|
|
|
2484
2484
|
.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-balanced .dataviews-view-picker-activity__item-type-icon {
|
|
2485
|
-
width: calc(var(--wpds-dimension-
|
|
2486
|
-
height: calc(var(--wpds-dimension-
|
|
2485
|
+
width: calc(var(--wpds-dimension-size-sm, 24px) + 1px);
|
|
2486
|
+
height: calc(var(--wpds-dimension-size-sm, 24px) + 1px);
|
|
2487
2487
|
}
|
|
2488
2488
|
|
|
2489
2489
|
.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-balanced .dataviews-view-picker-activity__item-content {
|
|
@@ -2500,8 +2500,8 @@ div.dataviews-view-list {
|
|
|
2500
2500
|
}
|
|
2501
2501
|
|
|
2502
2502
|
.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-comfortable .dataviews-view-picker-activity__item-type-icon {
|
|
2503
|
-
width: calc(var(--wpds-dimension-
|
|
2504
|
-
height: calc(var(--wpds-dimension-
|
|
2503
|
+
width: calc(var(--wpds-dimension-size-md, 32px) + 1px);
|
|
2504
|
+
height: calc(var(--wpds-dimension-size-md, 32px) + 1px);
|
|
2505
2505
|
}
|
|
2506
2506
|
|
|
2507
2507
|
.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-comfortable .dataviews-view-picker-activity__item-content {
|
|
@@ -2510,8 +2510,8 @@ div.dataviews-view-list {
|
|
|
2510
2510
|
}
|
|
2511
2511
|
|
|
2512
2512
|
.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-comfortable .dataviews-view-picker-activity__item-bullet, .dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-balanced .dataviews-view-picker-activity__item-bullet {
|
|
2513
|
-
width: calc(var(--wpds-dimension-
|
|
2514
|
-
height: calc(var(--wpds-dimension-
|
|
2513
|
+
width: calc(var(--wpds-dimension-size-4xs, 8px) + 1px);
|
|
2514
|
+
height: calc(var(--wpds-dimension-size-4xs, 8px) + 1px);
|
|
2515
2515
|
position: relative;
|
|
2516
2516
|
top: 50%;
|
|
2517
2517
|
transform: translateY(-50%);
|
|
@@ -2769,17 +2769,13 @@ div.dataviews-view-list {
|
|
|
2769
2769
|
position: relative;
|
|
2770
2770
|
z-index: 1;
|
|
2771
2771
|
cursor: help;
|
|
2772
|
-
|
|
2772
|
+
color: var(--wpds-color-foreground-content-error-weak, #cc1818);
|
|
2773
2773
|
display: inline-flex;
|
|
2774
2774
|
flex-direction: row;
|
|
2775
2775
|
align-items: center;
|
|
2776
2776
|
gap: var(--wpds-dimension-gap-xs, 4px);
|
|
2777
2777
|
}
|
|
2778
2778
|
|
|
2779
|
-
.dataforms-layouts-panel__field-label-error-content svg {
|
|
2780
|
-
fill: currentColor;
|
|
2781
|
-
}
|
|
2782
|
-
|
|
2783
2779
|
.dataforms-layouts-panel__field-control {
|
|
2784
2780
|
flex-grow: 1;
|
|
2785
2781
|
min-width: 0;
|
package/build-style/style.css
CHANGED
|
@@ -202,7 +202,7 @@
|
|
|
202
202
|
flex-grow: 1;
|
|
203
203
|
min-height: 0;
|
|
204
204
|
box-sizing: border-box;
|
|
205
|
-
scroll-padding-bottom:
|
|
205
|
+
scroll-padding-bottom: 64px;
|
|
206
206
|
/* stylelint-disable-next-line property-no-unknown -- '@container' not globally permitted */
|
|
207
207
|
container: dataviews-wrapper/inline-size;
|
|
208
208
|
display: flex;
|
|
@@ -520,7 +520,7 @@
|
|
|
520
520
|
}
|
|
521
521
|
|
|
522
522
|
.dataviews-filters__search-widget-filter-combobox-list {
|
|
523
|
-
max-height:
|
|
523
|
+
max-height: 184px;
|
|
524
524
|
padding: var(--wpds-dimension-padding-xs, 4px);
|
|
525
525
|
overflow: auto;
|
|
526
526
|
border-top: 1px solid var(--wpds-color-stroke-surface-neutral, #dbdbdb);
|
|
@@ -1294,7 +1294,7 @@
|
|
|
1294
1294
|
.dataviews-view-grid-infinite-scroll .dataviews-view-grid__fields .dataviews-view-grid__field-value:not(:empty) {
|
|
1295
1295
|
min-height: var(--wpds-dimension-size-sm, 24px);
|
|
1296
1296
|
line-height: var(--wpds-typography-line-height-sm, 20px);
|
|
1297
|
-
padding-top: calc(var(--wpds-dimension-
|
|
1297
|
+
padding-top: calc((var(--wpds-dimension-size-sm, 24px) - var(--wpds-typography-line-height-sm, 20px)) / 2);
|
|
1298
1298
|
}
|
|
1299
1299
|
|
|
1300
1300
|
.dataviews-view-grid .dataviews-view-grid__fields .dataviews-view-grid__field,
|
|
@@ -1570,8 +1570,8 @@ div.dataviews-view-list {
|
|
|
1570
1570
|
}
|
|
1571
1571
|
|
|
1572
1572
|
.dataviews-view-list .dataviews-view-list__media-wrapper {
|
|
1573
|
-
width:
|
|
1574
|
-
height:
|
|
1573
|
+
width: 48px;
|
|
1574
|
+
height: 48px;
|
|
1575
1575
|
overflow: hidden;
|
|
1576
1576
|
position: relative;
|
|
1577
1577
|
flex-shrink: 0;
|
|
@@ -1598,7 +1598,7 @@ div.dataviews-view-list {
|
|
|
1598
1598
|
}
|
|
1599
1599
|
|
|
1600
1600
|
.dataviews-view-list .dataviews-view-list__field-wrapper {
|
|
1601
|
-
min-height:
|
|
1601
|
+
min-height: 48px;
|
|
1602
1602
|
flex-grow: 1;
|
|
1603
1603
|
min-width: 0;
|
|
1604
1604
|
}
|
|
@@ -1672,12 +1672,12 @@ div.dataviews-view-list {
|
|
|
1672
1672
|
}
|
|
1673
1673
|
|
|
1674
1674
|
.dataviews-view-list.has-comfortable-density div[role=row] .dataviews-view-list__media-wrapper {
|
|
1675
|
-
width:
|
|
1676
|
-
height:
|
|
1675
|
+
width: 64px;
|
|
1676
|
+
height: 64px;
|
|
1677
1677
|
}
|
|
1678
1678
|
|
|
1679
1679
|
.dataviews-view-list.has-comfortable-density div[role=row] .dataviews-view-list__field-wrapper {
|
|
1680
|
-
min-height:
|
|
1680
|
+
min-height: 64px;
|
|
1681
1681
|
}
|
|
1682
1682
|
|
|
1683
1683
|
.dataviews-view-list.has-comfortable-density div[role=row] .dataviews-view-list__fields {
|
|
@@ -2110,7 +2110,7 @@ div.dataviews-view-list {
|
|
|
2110
2110
|
.dataviews-view-picker-grid .dataviews-view-picker-grid__fields .dataviews-view-picker-grid__field-value:not(:empty) {
|
|
2111
2111
|
min-height: var(--wpds-dimension-size-sm, 24px);
|
|
2112
2112
|
line-height: var(--wpds-typography-line-height-sm, 20px);
|
|
2113
|
-
padding-top: calc(var(--wpds-dimension-
|
|
2113
|
+
padding-top: calc((var(--wpds-dimension-size-sm, 24px) - var(--wpds-typography-line-height-sm, 20px)) / 2);
|
|
2114
2114
|
}
|
|
2115
2115
|
|
|
2116
2116
|
.dataviews-view-picker-grid .dataviews-view-picker-grid__fields .dataviews-view-picker-grid__field {
|
|
@@ -2173,7 +2173,7 @@ div.dataviews-view-list {
|
|
|
2173
2173
|
font-weight: var(--wpds-typography-font-weight-medium, 499);
|
|
2174
2174
|
color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
|
|
2175
2175
|
margin: 0 0 var(--wpds-dimension-gap-sm, 8px) 0;
|
|
2176
|
-
padding: 0
|
|
2176
|
+
padding: 0 48px;
|
|
2177
2177
|
}
|
|
2178
2178
|
|
|
2179
2179
|
.dataviews-view-picker-table {
|
|
@@ -2181,7 +2181,7 @@ div.dataviews-view-list {
|
|
|
2181
2181
|
}
|
|
2182
2182
|
|
|
2183
2183
|
.dataviews-view-picker-table .dataviews-view-table__checkbox-column {
|
|
2184
|
-
width:
|
|
2184
|
+
width: 48px;
|
|
2185
2185
|
}
|
|
2186
2186
|
|
|
2187
2187
|
.dataviews-view-picker-table tbody:focus-visible[aria-activedescendant] {
|
|
@@ -2321,8 +2321,8 @@ div.dataviews-view-list {
|
|
|
2321
2321
|
}
|
|
2322
2322
|
|
|
2323
2323
|
.dataviews-view-activity .dataviews-view-activity__item.is-compact .dataviews-view-activity__item-type-icon {
|
|
2324
|
-
width: calc(var(--wpds-dimension-
|
|
2325
|
-
height: calc(var(--wpds-dimension-
|
|
2324
|
+
width: calc(var(--wpds-dimension-size-3xs, 12px) - 1px);
|
|
2325
|
+
height: calc(var(--wpds-dimension-size-3xs, 12px) - 1px);
|
|
2326
2326
|
}
|
|
2327
2327
|
|
|
2328
2328
|
.dataviews-view-activity .dataviews-view-activity__item.is-compact .dataviews-view-activity__item-content {
|
|
@@ -2338,8 +2338,8 @@ div.dataviews-view-list {
|
|
|
2338
2338
|
}
|
|
2339
2339
|
|
|
2340
2340
|
.dataviews-view-activity .dataviews-view-activity__item.is-balanced .dataviews-view-activity__item-type-icon {
|
|
2341
|
-
width: calc(var(--wpds-dimension-
|
|
2342
|
-
height: calc(var(--wpds-dimension-
|
|
2341
|
+
width: calc(var(--wpds-dimension-size-sm, 24px) + 1px);
|
|
2342
|
+
height: calc(var(--wpds-dimension-size-sm, 24px) + 1px);
|
|
2343
2343
|
}
|
|
2344
2344
|
|
|
2345
2345
|
.dataviews-view-activity .dataviews-view-activity__item.is-balanced .dataviews-view-activity__item-content {
|
|
@@ -2356,8 +2356,8 @@ div.dataviews-view-list {
|
|
|
2356
2356
|
}
|
|
2357
2357
|
|
|
2358
2358
|
.dataviews-view-activity .dataviews-view-activity__item.is-comfortable .dataviews-view-activity__item-type-icon {
|
|
2359
|
-
width: calc(var(--wpds-dimension-
|
|
2360
|
-
height: calc(var(--wpds-dimension-
|
|
2359
|
+
width: calc(var(--wpds-dimension-size-md, 32px) + 1px);
|
|
2360
|
+
height: calc(var(--wpds-dimension-size-md, 32px) + 1px);
|
|
2361
2361
|
}
|
|
2362
2362
|
|
|
2363
2363
|
.dataviews-view-activity .dataviews-view-activity__item.is-comfortable .dataviews-view-activity__item-content {
|
|
@@ -2366,8 +2366,8 @@ div.dataviews-view-list {
|
|
|
2366
2366
|
}
|
|
2367
2367
|
|
|
2368
2368
|
.dataviews-view-activity .dataviews-view-activity__item.is-comfortable .dataviews-view-activity__item-bullet, .dataviews-view-activity .dataviews-view-activity__item.is-balanced .dataviews-view-activity__item-bullet {
|
|
2369
|
-
width: calc(var(--wpds-dimension-
|
|
2370
|
-
height: calc(var(--wpds-dimension-
|
|
2369
|
+
width: calc(var(--wpds-dimension-size-4xs, 8px) + 1px);
|
|
2370
|
+
height: calc(var(--wpds-dimension-size-4xs, 8px) + 1px);
|
|
2371
2371
|
position: relative;
|
|
2372
2372
|
top: 50%;
|
|
2373
2373
|
transform: translateY(-50%);
|
|
@@ -2465,8 +2465,8 @@ div.dataviews-view-list {
|
|
|
2465
2465
|
}
|
|
2466
2466
|
|
|
2467
2467
|
.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-compact .dataviews-view-picker-activity__item-type-icon {
|
|
2468
|
-
width: calc(var(--wpds-dimension-
|
|
2469
|
-
height: calc(var(--wpds-dimension-
|
|
2468
|
+
width: calc(var(--wpds-dimension-size-3xs, 12px) - 1px);
|
|
2469
|
+
height: calc(var(--wpds-dimension-size-3xs, 12px) - 1px);
|
|
2470
2470
|
}
|
|
2471
2471
|
|
|
2472
2472
|
.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-compact .dataviews-view-picker-activity__item-content {
|
|
@@ -2482,8 +2482,8 @@ div.dataviews-view-list {
|
|
|
2482
2482
|
}
|
|
2483
2483
|
|
|
2484
2484
|
.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-balanced .dataviews-view-picker-activity__item-type-icon {
|
|
2485
|
-
width: calc(var(--wpds-dimension-
|
|
2486
|
-
height: calc(var(--wpds-dimension-
|
|
2485
|
+
width: calc(var(--wpds-dimension-size-sm, 24px) + 1px);
|
|
2486
|
+
height: calc(var(--wpds-dimension-size-sm, 24px) + 1px);
|
|
2487
2487
|
}
|
|
2488
2488
|
|
|
2489
2489
|
.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-balanced .dataviews-view-picker-activity__item-content {
|
|
@@ -2500,8 +2500,8 @@ div.dataviews-view-list {
|
|
|
2500
2500
|
}
|
|
2501
2501
|
|
|
2502
2502
|
.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-comfortable .dataviews-view-picker-activity__item-type-icon {
|
|
2503
|
-
width: calc(var(--wpds-dimension-
|
|
2504
|
-
height: calc(var(--wpds-dimension-
|
|
2503
|
+
width: calc(var(--wpds-dimension-size-md, 32px) + 1px);
|
|
2504
|
+
height: calc(var(--wpds-dimension-size-md, 32px) + 1px);
|
|
2505
2505
|
}
|
|
2506
2506
|
|
|
2507
2507
|
.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-comfortable .dataviews-view-picker-activity__item-content {
|
|
@@ -2510,8 +2510,8 @@ div.dataviews-view-list {
|
|
|
2510
2510
|
}
|
|
2511
2511
|
|
|
2512
2512
|
.dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-comfortable .dataviews-view-picker-activity__item-bullet, .dataviews-view-picker-activity .dataviews-view-picker-activity__item.is-balanced .dataviews-view-picker-activity__item-bullet {
|
|
2513
|
-
width: calc(var(--wpds-dimension-
|
|
2514
|
-
height: calc(var(--wpds-dimension-
|
|
2513
|
+
width: calc(var(--wpds-dimension-size-4xs, 8px) + 1px);
|
|
2514
|
+
height: calc(var(--wpds-dimension-size-4xs, 8px) + 1px);
|
|
2515
2515
|
position: relative;
|
|
2516
2516
|
top: 50%;
|
|
2517
2517
|
transform: translateY(-50%);
|
|
@@ -2769,17 +2769,13 @@ div.dataviews-view-list {
|
|
|
2769
2769
|
position: relative;
|
|
2770
2770
|
z-index: 1;
|
|
2771
2771
|
cursor: help;
|
|
2772
|
-
|
|
2772
|
+
color: var(--wpds-color-foreground-content-error-weak, #cc1818);
|
|
2773
2773
|
display: inline-flex;
|
|
2774
2774
|
flex-direction: row;
|
|
2775
2775
|
align-items: center;
|
|
2776
2776
|
gap: var(--wpds-dimension-gap-xs, 4px);
|
|
2777
2777
|
}
|
|
2778
2778
|
|
|
2779
|
-
.dataforms-layouts-panel__field-label-error-content svg {
|
|
2780
|
-
fill: currentColor;
|
|
2781
|
-
}
|
|
2782
|
-
|
|
2783
2779
|
.dataforms-layouts-panel__field-control {
|
|
2784
2780
|
flex-grow: 1;
|
|
2785
2781
|
min-width: 0;
|