@wordpress/edit-site 6.27.1-next.46f643fa0.0 → 6.28.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/media/index.js +1 -1
- package/build/components/media/index.js.map +1 -1
- package/build/components/page-templates/fields.js +1 -4
- package/build/components/page-templates/fields.js.map +1 -1
- package/build/components/page-templates/hooks.js +1 -2
- package/build/components/page-templates/hooks.js.map +1 -1
- package/build/components/page-templates/index.js +1 -8
- package/build/components/page-templates/index.js.map +1 -1
- package/build/components/post-list/index.js +1 -30
- package/build/components/post-list/index.js.map +1 -1
- package/build/components/sidebar-dataviews/default-views.js +53 -37
- package/build/components/sidebar-dataviews/default-views.js.map +1 -1
- package/build/components/style-book/index.js +2 -2
- package/build/components/style-book/index.js.map +1 -1
- package/build/store/selectors.js +1 -1
- package/build/store/selectors.js.map +1 -1
- package/build-module/components/media/index.js +1 -1
- package/build-module/components/media/index.js.map +1 -1
- package/build-module/components/page-templates/fields.js +1 -4
- package/build-module/components/page-templates/fields.js.map +1 -1
- package/build-module/components/page-templates/hooks.js +1 -2
- package/build-module/components/page-templates/hooks.js.map +1 -1
- package/build-module/components/page-templates/index.js +1 -8
- package/build-module/components/page-templates/index.js.map +1 -1
- package/build-module/components/post-list/index.js +1 -30
- package/build-module/components/post-list/index.js.map +1 -1
- package/build-module/components/sidebar-dataviews/default-views.js +53 -37
- package/build-module/components/sidebar-dataviews/default-views.js.map +1 -1
- package/build-module/components/style-book/index.js +2 -2
- package/build-module/components/style-book/index.js.map +1 -1
- package/build-module/store/selectors.js +1 -1
- package/build-module/store/selectors.js.map +1 -1
- package/build-style/posts-rtl.css +29 -8
- package/build-style/posts.css +29 -8
- package/build-style/style-rtl.css +29 -35
- package/build-style/style.css +29 -35
- package/package.json +42 -42
- package/src/components/global-styles-sidebar/style.scss +0 -19
- package/src/components/media/index.js +1 -1
- package/src/components/page-templates/fields.js +1 -7
- package/src/components/page-templates/hooks.js +7 -7
- package/src/components/page-templates/index.js +0 -7
- package/src/components/page-templates/style.scss +0 -12
- package/src/components/post-list/index.js +1 -42
- package/src/components/sidebar-dataviews/default-views.js +63 -47
- package/src/components/style-book/index.js +2 -2
- package/src/store/selectors.js +1 -1
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["store","coreDataStore","createRegistrySelector","createSelector","deprecated","Platform","preferencesStore","editorStore","blockEditorStore","unlock","TEMPLATE_PART_POST_TYPE","getFilteredTemplatePartBlocks","isFeatureActive","select","_","featureName","since","alternative","get","__experimentalGetPreviewDeviceType","version","getDeviceType","getCanUserCreateMedia","canUser","getReusableBlocks","isWeb","OS","getEntityRecords","per_page","getSettings","state","settings","getHomeTemplateId","getEditedPostType","editedPost","postType","getEditedPostId","id","getEditedPostContext","context","getPage","isInserterOpened","__experimentalGetInsertionPoint","getInserter","isListViewOpened","isSaveViewOpened","saveViewPanel","getBlocksAndTemplateParts","templateParts","getBlocksByName","getBlocksByClientId","clientIds","blocks","getCurrentTemplateTemplateParts","getEditorMode","getCurrentTemplateNavigationPanelSubMenu","getNavigationPanelActiveMenu","isNavigationOpened","isPage","postId","hasPageContentFocus"],"sources":["@wordpress/edit-site/src/store/selectors.js"],"sourcesContent":["/**\n * WordPress dependencies\n */\nimport { store as coreDataStore } from '@wordpress/core-data';\nimport { createRegistrySelector, createSelector } from '@wordpress/data';\nimport deprecated from '@wordpress/deprecated';\nimport { Platform } from '@wordpress/element';\nimport { store as preferencesStore } from '@wordpress/preferences';\nimport { store as editorStore } from '@wordpress/editor';\nimport { store as blockEditorStore } from '@wordpress/block-editor';\n\n/**\n * Internal dependencies\n */\nimport { unlock } from '../lock-unlock';\nimport { TEMPLATE_PART_POST_TYPE } from '../utils/constants';\nimport getFilteredTemplatePartBlocks from '../utils/get-filtered-template-parts';\n\n/**\n * @typedef {'template'|'template_type'} TemplateType Template type.\n */\n\n/**\n * Returns whether the given feature is enabled or not.\n *\n * @deprecated\n * @param {Object} state Global application state.\n * @param {string} featureName Feature slug.\n *\n * @return {boolean} Is active.\n */\nexport const isFeatureActive = createRegistrySelector(\n\t( select ) => ( _, featureName ) => {\n\t\tdeprecated( `select( 'core/edit-site' ).isFeatureActive`, {\n\t\t\tsince: '6.0',\n\t\t\talternative: `select( 'core/preferences' ).get`,\n\t\t} );\n\n\t\treturn !! select( preferencesStore ).get(\n\t\t\t'core/edit-site',\n\t\t\tfeatureName\n\t\t);\n\t}\n);\n\n/**\n * Returns the current editing canvas device type.\n *\n * @deprecated\n *\n * @param {Object} state Global application state.\n *\n * @return {string} Device type.\n */\nexport const __experimentalGetPreviewDeviceType = createRegistrySelector(\n\t( select ) => () => {\n\t\tdeprecated(\n\t\t\t`select( 'core/edit-site' ).__experimentalGetPreviewDeviceType`,\n\t\t\t{\n\t\t\t\tsince: '6.5',\n\t\t\t\tversion: '6.7',\n\t\t\t\talternative: `select( 'core/editor' ).getDeviceType`,\n\t\t\t}\n\t\t);\n\t\treturn select( editorStore ).getDeviceType();\n\t}\n);\n\n/**\n * Returns whether the current user can create media or not.\n *\n * @param {Object} state Global application state.\n *\n * @return {Object} Whether the current user can create media or not.\n */\nexport const getCanUserCreateMedia = createRegistrySelector(\n\t( select ) => () => {\n\t\tdeprecated(\n\t\t\t`wp.data.select( 'core/edit-site' ).getCanUserCreateMedia()`,\n\t\t\t{\n\t\t\t\tsince: '6.7',\n\t\t\t\talternative: `wp.data.select( 'core' ).canUser( 'create', { kind: 'root', type: 'media' } )`,\n\t\t\t}\n\t\t);\n\n\t\treturn select( coreDataStore ).canUser( 'create', 'media' );\n\t}\n);\n\n/**\n * Returns any available Reusable blocks.\n *\n * @param {Object} state Global application state.\n *\n * @return {Array} The available reusable blocks.\n */\nexport const getReusableBlocks = createRegistrySelector( ( select ) => () => {\n\tdeprecated( `select( 'core/edit-site' ).getReusableBlocks()`, {\n\t\tsince: '6.5',\n\t\tversion: '6.8',\n\t\talternative: `select( 'core/core' ).getEntityRecords( 'postType', 'wp_block' )`,\n\t} );\n\tconst isWeb = Platform.OS === 'web';\n\treturn isWeb\n\t\t? select( coreDataStore ).getEntityRecords( 'postType', 'wp_block', {\n\t\t\t\tper_page: -1,\n\t\t } )\n\t\t: [];\n} );\n\n/**\n * Returns the site editor settings.\n *\n * @param {Object} state Global application state.\n *\n * @return {Object} Settings.\n */\nexport function getSettings( state ) {\n\t// It is important that we don't inject anything into these settings locally.\n\t// The reason for this is that we have an effect in place that calls setSettings based on the previous value of getSettings.\n\t// If we add computed settings here, we'll be adding these computed settings to the state which is very unexpected.\n\treturn state.settings;\n}\n\n/**\n * @deprecated\n */\nexport function getHomeTemplateId() {\n\tdeprecated( \"select( 'core/edit-site' ).getHomeTemplateId\", {\n\t\tsince: '6.2',\n\t\tversion: '6.4',\n\t} );\n}\n\n/**\n * Returns the current edited post type (wp_template or wp_template_part).\n *\n * @deprecated\n * @param {Object} state Global application state.\n *\n * @return {?TemplateType} Template type.\n */\nexport function getEditedPostType( state ) {\n\tdeprecated( \"select( 'core/edit-site' ).getEditedPostType\", {\n\t\tsince: '6.8',\n\t\talternative: \"select( 'core/editor' ).getCurrentPostType\",\n\t} );\n\treturn state.editedPost.postType;\n}\n\n/**\n * Returns the ID of the currently edited template or template part.\n *\n * @deprecated\n * @param {Object} state Global application state.\n *\n * @return {?string} Post ID.\n */\nexport function getEditedPostId( state ) {\n\tdeprecated( \"select( 'core/edit-site' ).getEditedPostId\", {\n\t\tsince: '6.8',\n\t\talternative: \"select( 'core/editor' ).getCurrentPostId\",\n\t} );\n\treturn state.editedPost.id;\n}\n\n/**\n * Returns the edited post's context object.\n *\n * @deprecated\n * @param {Object} state Global application state.\n *\n * @return {Object} Page.\n */\nexport function getEditedPostContext( state ) {\n\tdeprecated( \"select( 'core/edit-site' ).getEditedPostContext\", {\n\t\tsince: '6.8',\n\t} );\n\n\treturn state.editedPost.context;\n}\n\n/**\n * Returns the current page object.\n *\n * @deprecated\n * @param {Object} state Global application state.\n *\n * @return {Object} Page.\n */\nexport function getPage( state ) {\n\tdeprecated( \"select( 'core/edit-site' ).getPage\", {\n\t\tsince: '6.8',\n\t} );\n\n\treturn { context: state.editedPost.context };\n}\n\n/**\n * Returns true if the inserter is opened.\n *\n * @deprecated\n *\n * @param {Object} state Global application state.\n *\n * @return {boolean} Whether the inserter is opened.\n */\nexport const isInserterOpened = createRegistrySelector( ( select ) => () => {\n\tdeprecated( `select( 'core/edit-site' ).isInserterOpened`, {\n\t\tsince: '6.5',\n\t\talternative: `select( 'core/editor' ).isInserterOpened`,\n\t} );\n\treturn select( editorStore ).isInserterOpened();\n} );\n\n/**\n * Get the insertion point for the inserter.\n *\n * @deprecated\n *\n * @param {Object} state Global application state.\n *\n * @return {Object} The root client ID, index to insert at and starting filter value.\n */\nexport const __experimentalGetInsertionPoint = createRegistrySelector(\n\t( select ) => () => {\n\t\tdeprecated(\n\t\t\t`select( 'core/edit-site' ).__experimentalGetInsertionPoint`,\n\t\t\t{\n\t\t\t\tsince: '6.5',\n\t\t\t\tversion: '6.7',\n\t\t\t}\n\t\t);\n\t\treturn unlock( select( editorStore ) ).getInserter();\n\t}\n);\n\n/**\n * Returns true if the list view is opened.\n *\n * @param {Object} state Global application state.\n *\n * @return {boolean} Whether the list view is opened.\n */\nexport const isListViewOpened = createRegistrySelector( ( select ) => () => {\n\tdeprecated( `select( 'core/edit-site' ).isListViewOpened`, {\n\t\tsince: '6.5',\n\t\talternative: `select( 'core/editor' ).isListViewOpened`,\n\t} );\n\treturn select( editorStore ).isListViewOpened();\n} );\n\n/**\n * Returns the current opened/closed state of the save panel.\n *\n * @param {Object} state Global application state.\n *\n * @return {boolean} True if the save panel should be open; false if closed.\n */\nexport function isSaveViewOpened( state ) {\n\treturn state.saveViewPanel;\n}\n\nfunction getBlocksAndTemplateParts( select ) {\n\tconst templateParts = select( coreDataStore ).getEntityRecords(\n\t\t'postType',\n\t\tTEMPLATE_PART_POST_TYPE,\n\t\t{ per_page: -1 }\n\t);\n\n\tconst { getBlocksByName, getBlocksByClientId } = select( blockEditorStore );\n\n\tconst clientIds = getBlocksByName( 'core/template-part' );\n\tconst blocks = getBlocksByClientId( clientIds );\n\treturn [ blocks, templateParts ];\n}\n\n/**\n * Returns the template parts and their blocks for the current edited template.\n *\n * @deprecated\n * @param {Object} state Global application state.\n * @return {Array} Template parts and their blocks in an array.\n */\nexport const getCurrentTemplateTemplateParts = createRegistrySelector(\n\t( select ) =>\n\t\tcreateSelector(\n\t\t\t() => {\n\t\t\t\tdeprecated(\n\t\t\t\t\t`select( 'core/edit-site' ).getCurrentTemplateTemplateParts()`,\n\t\t\t\t\t{\n\t\t\t\t\t\tsince: '6.7',\n\t\t\t\t\t\tversion: '6.9',\n\t\t\t\t\t\talternative: `select( 'core/block-editor' ).getBlocksByName( 'core/template-part' )`,\n\t\t\t\t\t}\n\t\t\t\t);\n\n\t\t\t\treturn getFilteredTemplatePartBlocks(\n\t\t\t\t\t...getBlocksAndTemplateParts( select )\n\t\t\t\t);\n\t\t\t},\n\t\t\t() => getBlocksAndTemplateParts( select )\n\t\t)\n);\n\n/**\n * Returns the current editing mode.\n *\n * @param {Object} state Global application state.\n *\n * @return {string} Editing mode.\n */\nexport const getEditorMode = createRegistrySelector( ( select ) => () => {\n\treturn select( preferencesStore ).get( 'core', 'editorMode' );\n} );\n\n/**\n * @deprecated\n */\nexport function getCurrentTemplateNavigationPanelSubMenu() {\n\tdeprecated(\n\t\t\"dispatch( 'core/edit-site' ).getCurrentTemplateNavigationPanelSubMenu\",\n\t\t{\n\t\t\tsince: '6.2',\n\t\t\tversion: '6.4',\n\t\t}\n\t);\n}\n\n/**\n * @deprecated\n */\nexport function getNavigationPanelActiveMenu() {\n\tdeprecated( \"dispatch( 'core/edit-site' ).getNavigationPanelActiveMenu\", {\n\t\tsince: '6.2',\n\t\tversion: '6.4',\n\t} );\n}\n\n/**\n * @deprecated\n */\nexport function isNavigationOpened() {\n\tdeprecated( \"dispatch( 'core/edit-site' ).isNavigationOpened\", {\n\t\tsince: '6.2',\n\t\tversion: '6.4',\n\t} );\n}\n\n/**\n * Whether or not the editor has a page loaded into it.\n *\n * @see setPage\n * @deprecated\n * @param {Object} state Global application state.\n *\n * @return {boolean} Whether or not the editor has a page loaded into it.\n */\nexport function isPage( state ) {\n\tdeprecated( \"select( 'core/edit-site' ).isPage\", {\n\t\tsince: '6.8',\n\t\talternative: \"select( 'core/editor' ).getCurrentPostType\",\n\t} );\n\n\treturn !! state.editedPost.context?.postId;\n}\n\n/**\n * Whether or not the editor allows only page content to be edited.\n *\n * @deprecated\n *\n * @return {boolean} Whether or not focus is on editing page content.\n */\nexport function hasPageContentFocus() {\n\tdeprecated( `select( 'core/edit-site' ).hasPageContentFocus`, {\n\t\tsince: '6.5',\n\t} );\n\n\treturn false;\n}\n"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,KAAK,IAAIC,aAAa,QAAQ,sBAAsB;AAC7D,SAASC,sBAAsB,EAAEC,cAAc,QAAQ,iBAAiB;AACxE,OAAOC,UAAU,MAAM,uBAAuB;AAC9C,SAASC,QAAQ,QAAQ,oBAAoB;AAC7C,SAASL,KAAK,IAAIM,gBAAgB,QAAQ,wBAAwB;AAClE,SAASN,KAAK,IAAIO,WAAW,QAAQ,mBAAmB;AACxD,SAASP,KAAK,IAAIQ,gBAAgB,QAAQ,yBAAyB;;AAEnE;AACA;AACA;AACA,SAASC,MAAM,QAAQ,gBAAgB;AACvC,SAASC,uBAAuB,QAAQ,oBAAoB;AAC5D,OAAOC,6BAA6B,MAAM,sCAAsC;;AAEhF;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,eAAe,GAAGV,sBAAsB,CAClDW,MAAM,IAAM,CAAEC,CAAC,EAAEC,WAAW,KAAM;EACnCX,UAAU,CAAE,4CAA4C,EAAE;IACzDY,KAAK,EAAE,KAAK;IACZC,WAAW,EAAE;EACd,CAAE,CAAC;EAEH,OAAO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EAC/B1B,UAAU,CAAE,mCAAmC,EAAE;IAChDY,KAAK,EAAE,KAAK;IACZC,WAAW,EAAE;EACd,CAAE,CAAC;EAEH,OAAO,CAAC,CAAEa,KAAK,CAACI,UAAU,CAACK,OAAO,EAAEoB,MAAM;AAC3C;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,mBAAmBA,CAAA,EAAG;EACrCxD,UAAU,CAAE,gDAAgD,EAAE;IAC7DY,KAAK,EAAE;EACR,CAAE,CAAC;EAEH,OAAO,KAAK;AACb","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["store","coreDataStore","createRegistrySelector","createSelector","deprecated","Platform","preferencesStore","editorStore","blockEditorStore","unlock","TEMPLATE_PART_POST_TYPE","getFilteredTemplatePartBlocks","isFeatureActive","select","_","featureName","since","alternative","get","__experimentalGetPreviewDeviceType","version","getDeviceType","getCanUserCreateMedia","canUser","getReusableBlocks","isWeb","OS","getEntityRecords","per_page","getSettings","state","settings","getHomeTemplateId","getEditedPostType","editedPost","postType","getEditedPostId","id","getEditedPostContext","context","getPage","isInserterOpened","__experimentalGetInsertionPoint","getInserter","isListViewOpened","isSaveViewOpened","saveViewPanel","getBlocksAndTemplateParts","templateParts","getBlocksByName","getBlocksByClientId","clientIds","blocks","getCurrentTemplateTemplateParts","getEditorMode","getCurrentTemplateNavigationPanelSubMenu","getNavigationPanelActiveMenu","isNavigationOpened","isPage","postId","hasPageContentFocus"],"sources":["@wordpress/edit-site/src/store/selectors.js"],"sourcesContent":["/**\n * WordPress dependencies\n */\nimport { store as coreDataStore } from '@wordpress/core-data';\nimport { createRegistrySelector, createSelector } from '@wordpress/data';\nimport deprecated from '@wordpress/deprecated';\nimport { Platform } from '@wordpress/element';\nimport { store as preferencesStore } from '@wordpress/preferences';\nimport { store as editorStore } from '@wordpress/editor';\nimport { store as blockEditorStore } from '@wordpress/block-editor';\n\n/**\n * Internal dependencies\n */\nimport { unlock } from '../lock-unlock';\nimport { TEMPLATE_PART_POST_TYPE } from '../utils/constants';\nimport getFilteredTemplatePartBlocks from '../utils/get-filtered-template-parts';\n\n/**\n * @typedef {'template'|'template_type'} TemplateType Template type.\n */\n\n/**\n * Returns whether the given feature is enabled or not.\n *\n * @deprecated\n * @param {Object} state Global application state.\n * @param {string} featureName Feature slug.\n *\n * @return {boolean} Is active.\n */\nexport const isFeatureActive = createRegistrySelector(\n\t( select ) => ( _, featureName ) => {\n\t\tdeprecated( `select( 'core/edit-site' ).isFeatureActive`, {\n\t\t\tsince: '6.0',\n\t\t\talternative: `select( 'core/preferences' ).get`,\n\t\t} );\n\n\t\treturn !! select( preferencesStore ).get(\n\t\t\t'core/edit-site',\n\t\t\tfeatureName\n\t\t);\n\t}\n);\n\n/**\n * Returns the current editing canvas device type.\n *\n * @deprecated\n *\n * @param {Object} state Global application state.\n *\n * @return {string} Device type.\n */\nexport const __experimentalGetPreviewDeviceType = createRegistrySelector(\n\t( select ) => () => {\n\t\tdeprecated(\n\t\t\t`select( 'core/edit-site' ).__experimentalGetPreviewDeviceType`,\n\t\t\t{\n\t\t\t\tsince: '6.5',\n\t\t\t\tversion: '6.7',\n\t\t\t\talternative: `select( 'core/editor' ).getDeviceType`,\n\t\t\t}\n\t\t);\n\t\treturn select( editorStore ).getDeviceType();\n\t}\n);\n\n/**\n * Returns whether the current user can create media or not.\n *\n * @param {Object} state Global application state.\n *\n * @return {Object} Whether the current user can create media or not.\n */\nexport const getCanUserCreateMedia = createRegistrySelector(\n\t( select ) => () => {\n\t\tdeprecated(\n\t\t\t`wp.data.select( 'core/edit-site' ).getCanUserCreateMedia()`,\n\t\t\t{\n\t\t\t\tsince: '6.7',\n\t\t\t\talternative: `wp.data.select( 'core' ).canUser( 'create', { kind: 'postType', type: 'attachment' } )`,\n\t\t\t}\n\t\t);\n\n\t\treturn select( coreDataStore ).canUser( 'create', 'media' );\n\t}\n);\n\n/**\n * Returns any available Reusable blocks.\n *\n * @param {Object} state Global application state.\n *\n * @return {Array} The available reusable blocks.\n */\nexport const getReusableBlocks = createRegistrySelector( ( select ) => () => {\n\tdeprecated( `select( 'core/edit-site' ).getReusableBlocks()`, {\n\t\tsince: '6.5',\n\t\tversion: '6.8',\n\t\talternative: `select( 'core/core' ).getEntityRecords( 'postType', 'wp_block' )`,\n\t} );\n\tconst isWeb = Platform.OS === 'web';\n\treturn isWeb\n\t\t? select( coreDataStore ).getEntityRecords( 'postType', 'wp_block', {\n\t\t\t\tper_page: -1,\n\t\t } )\n\t\t: [];\n} );\n\n/**\n * Returns the site editor settings.\n *\n * @param {Object} state Global application state.\n *\n * @return {Object} Settings.\n */\nexport function getSettings( state ) {\n\t// It is important that we don't inject anything into these settings locally.\n\t// The reason for this is that we have an effect in place that calls setSettings based on the previous value of getSettings.\n\t// If we add computed settings here, we'll be adding these computed settings to the state which is very unexpected.\n\treturn state.settings;\n}\n\n/**\n * @deprecated\n */\nexport function getHomeTemplateId() {\n\tdeprecated( \"select( 'core/edit-site' ).getHomeTemplateId\", {\n\t\tsince: '6.2',\n\t\tversion: '6.4',\n\t} );\n}\n\n/**\n * Returns the current edited post type (wp_template or wp_template_part).\n *\n * @deprecated\n * @param {Object} state Global application state.\n *\n * @return {?TemplateType} Template type.\n */\nexport function getEditedPostType( state ) {\n\tdeprecated( \"select( 'core/edit-site' ).getEditedPostType\", {\n\t\tsince: '6.8',\n\t\talternative: \"select( 'core/editor' ).getCurrentPostType\",\n\t} );\n\treturn state.editedPost.postType;\n}\n\n/**\n * Returns the ID of the currently edited template or template part.\n *\n * @deprecated\n * @param {Object} state Global application state.\n *\n * @return {?string} Post ID.\n */\nexport function getEditedPostId( state ) {\n\tdeprecated( \"select( 'core/edit-site' ).getEditedPostId\", {\n\t\tsince: '6.8',\n\t\talternative: \"select( 'core/editor' ).getCurrentPostId\",\n\t} );\n\treturn state.editedPost.id;\n}\n\n/**\n * Returns the edited post's context object.\n *\n * @deprecated\n * @param {Object} state Global application state.\n *\n * @return {Object} Page.\n */\nexport function getEditedPostContext( state ) {\n\tdeprecated( \"select( 'core/edit-site' ).getEditedPostContext\", {\n\t\tsince: '6.8',\n\t} );\n\n\treturn state.editedPost.context;\n}\n\n/**\n * Returns the current page object.\n *\n * @deprecated\n * @param {Object} state Global application state.\n *\n * @return {Object} Page.\n */\nexport function getPage( state ) {\n\tdeprecated( \"select( 'core/edit-site' ).getPage\", {\n\t\tsince: '6.8',\n\t} );\n\n\treturn { context: state.editedPost.context };\n}\n\n/**\n * Returns true if the inserter is opened.\n *\n * @deprecated\n *\n * @param {Object} state Global application state.\n *\n * @return {boolean} Whether the inserter is opened.\n */\nexport const isInserterOpened = createRegistrySelector( ( select ) => () => {\n\tdeprecated( `select( 'core/edit-site' ).isInserterOpened`, {\n\t\tsince: '6.5',\n\t\talternative: `select( 'core/editor' ).isInserterOpened`,\n\t} );\n\treturn select( editorStore ).isInserterOpened();\n} );\n\n/**\n * Get the insertion point for the inserter.\n *\n * @deprecated\n *\n * @param {Object} state Global application state.\n *\n * @return {Object} The root client ID, index to insert at and starting filter value.\n */\nexport const __experimentalGetInsertionPoint = createRegistrySelector(\n\t( select ) => () => {\n\t\tdeprecated(\n\t\t\t`select( 'core/edit-site' ).__experimentalGetInsertionPoint`,\n\t\t\t{\n\t\t\t\tsince: '6.5',\n\t\t\t\tversion: '6.7',\n\t\t\t}\n\t\t);\n\t\treturn unlock( select( editorStore ) ).getInserter();\n\t}\n);\n\n/**\n * Returns true if the list view is opened.\n *\n * @param {Object} state Global application state.\n *\n * @return {boolean} Whether the list view is opened.\n */\nexport const isListViewOpened = createRegistrySelector( ( select ) => () => {\n\tdeprecated( `select( 'core/edit-site' ).isListViewOpened`, {\n\t\tsince: '6.5',\n\t\talternative: `select( 'core/editor' ).isListViewOpened`,\n\t} );\n\treturn select( editorStore ).isListViewOpened();\n} );\n\n/**\n * Returns the current opened/closed state of the save panel.\n *\n * @param {Object} state Global application state.\n *\n * @return {boolean} True if the save panel should be open; false if closed.\n */\nexport function isSaveViewOpened( state ) {\n\treturn state.saveViewPanel;\n}\n\nfunction getBlocksAndTemplateParts( select ) {\n\tconst templateParts = select( coreDataStore ).getEntityRecords(\n\t\t'postType',\n\t\tTEMPLATE_PART_POST_TYPE,\n\t\t{ per_page: -1 }\n\t);\n\n\tconst { getBlocksByName, getBlocksByClientId } = select( blockEditorStore );\n\n\tconst clientIds = getBlocksByName( 'core/template-part' );\n\tconst blocks = getBlocksByClientId( clientIds );\n\treturn [ blocks, templateParts ];\n}\n\n/**\n * Returns the template parts and their blocks for the current edited template.\n *\n * @deprecated\n * @param {Object} state Global application state.\n * @return {Array} Template parts and their blocks in an array.\n */\nexport const getCurrentTemplateTemplateParts = createRegistrySelector(\n\t( select ) =>\n\t\tcreateSelector(\n\t\t\t() => {\n\t\t\t\tdeprecated(\n\t\t\t\t\t`select( 'core/edit-site' ).getCurrentTemplateTemplateParts()`,\n\t\t\t\t\t{\n\t\t\t\t\t\tsince: '6.7',\n\t\t\t\t\t\tversion: '6.9',\n\t\t\t\t\t\talternative: `select( 'core/block-editor' ).getBlocksByName( 'core/template-part' )`,\n\t\t\t\t\t}\n\t\t\t\t);\n\n\t\t\t\treturn getFilteredTemplatePartBlocks(\n\t\t\t\t\t...getBlocksAndTemplateParts( select )\n\t\t\t\t);\n\t\t\t},\n\t\t\t() => getBlocksAndTemplateParts( select )\n\t\t)\n);\n\n/**\n * Returns the current editing mode.\n *\n * @param {Object} state Global application state.\n *\n * @return {string} Editing mode.\n */\nexport const getEditorMode = createRegistrySelector( ( select ) => () => {\n\treturn select( preferencesStore ).get( 'core', 'editorMode' );\n} );\n\n/**\n * @deprecated\n */\nexport function getCurrentTemplateNavigationPanelSubMenu() {\n\tdeprecated(\n\t\t\"dispatch( 'core/edit-site' ).getCurrentTemplateNavigationPanelSubMenu\",\n\t\t{\n\t\t\tsince: '6.2',\n\t\t\tversion: '6.4',\n\t\t}\n\t);\n}\n\n/**\n * @deprecated\n */\nexport function getNavigationPanelActiveMenu() {\n\tdeprecated( \"dispatch( 'core/edit-site' ).getNavigationPanelActiveMenu\", {\n\t\tsince: '6.2',\n\t\tversion: '6.4',\n\t} );\n}\n\n/**\n * @deprecated\n */\nexport function isNavigationOpened() {\n\tdeprecated( \"dispatch( 'core/edit-site' ).isNavigationOpened\", {\n\t\tsince: '6.2',\n\t\tversion: '6.4',\n\t} );\n}\n\n/**\n * Whether or not the editor has a page loaded into it.\n *\n * @see setPage\n * @deprecated\n * @param {Object} state Global application state.\n *\n * @return {boolean} Whether or not the editor has a page loaded into it.\n */\nexport function isPage( state ) {\n\tdeprecated( \"select( 'core/edit-site' ).isPage\", {\n\t\tsince: '6.8',\n\t\talternative: \"select( 'core/editor' ).getCurrentPostType\",\n\t} );\n\n\treturn !! state.editedPost.context?.postId;\n}\n\n/**\n * Whether or not the editor allows only page content to be edited.\n *\n * @deprecated\n *\n * @return {boolean} Whether or not focus is on editing page content.\n */\nexport function hasPageContentFocus() {\n\tdeprecated( `select( 'core/edit-site' ).hasPageContentFocus`, {\n\t\tsince: '6.5',\n\t} );\n\n\treturn false;\n}\n"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,KAAK,IAAIC,aAAa,QAAQ,sBAAsB;AAC7D,SAASC,sBAAsB,EAAEC,cAAc,QAAQ,iBAAiB;AACxE,OAAOC,UAAU,MAAM,uBAAuB;AAC9C,SAASC,QAAQ,QAAQ,oBAAoB;AAC7C,SAASL,KAAK,IAAIM,gBAAgB,QAAQ,wBAAwB;AAClE,SAASN,KAAK,IAAIO,WAAW,QAAQ,mBAAmB;AACxD,SAASP,KAAK,IAAIQ,gBAAgB,QAAQ,yBAAyB;;AAEnE;AACA;AACA;AACA,SAASC,MAAM,QAAQ,gBAAgB;AACvC,SAASC,uBAAuB,QAAQ,oBAAoB;AAC5D,OAAOC,6BAA6B,MAAM,sCAAsC;;AAEhF;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,eAAe,GAAGV,sBAAsB,CAClDW,MAAM,IAAM,CAA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;IACZI,OAAO,EAAE;EACV,CAAE,CAAC;AACJ;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASsC,MAAMA,CAAE5B,KAAK,EAAG;EAC/B1B,UAAU,CAAE,mCAAmC,EAAE;IAChDY,KAAK,EAAE,KAAK;IACZC,WAAW,EAAE;EACd,CAAE,CAAC;EAEH,OAAO,CAAC,CAAEa,KAAK,CAACI,UAAU,CAACK,OAAO,EAAEoB,MAAM;AAC3C;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,mBAAmBA,CAAA,EAAG;EACrCxD,UAAU,CAAE,gDAAgD,EAAE;IAC7DY,KAAK,EAAE;EACR,CAAE,CAAC;EAEH,OAAO,KAAK;AACb","ignoreList":[]}
|
|
@@ -449,10 +449,13 @@
|
|
|
449
449
|
align-items: center;
|
|
450
450
|
box-sizing: border-box;
|
|
451
451
|
}
|
|
452
|
+
.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip.is-not-clickable {
|
|
453
|
+
cursor: default;
|
|
454
|
+
}
|
|
452
455
|
.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip.has-reset {
|
|
453
456
|
padding-inline-end: 28px;
|
|
454
457
|
}
|
|
455
|
-
.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip:hover, .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip:focus-visible, .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip[aria-expanded=true] {
|
|
458
|
+
.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip:hover:not(.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip.is-not-clickable), .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip:focus-visible, .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip[aria-expanded=true] {
|
|
456
459
|
background: #e0e0e0;
|
|
457
460
|
color: #1e1e1e;
|
|
458
461
|
}
|
|
@@ -1184,8 +1187,8 @@
|
|
|
1184
1187
|
}
|
|
1185
1188
|
|
|
1186
1189
|
.dataviews-view-grid__group-header {
|
|
1187
|
-
font-size:
|
|
1188
|
-
font-weight:
|
|
1190
|
+
font-size: 15px;
|
|
1191
|
+
font-weight: 500;
|
|
1189
1192
|
color: #1e1e1e;
|
|
1190
1193
|
margin: 0 0 8px 0;
|
|
1191
1194
|
padding: 0 48px;
|
|
@@ -1368,7 +1371,6 @@ div.dataviews-view-list {
|
|
|
1368
1371
|
.dataviews-view-table td,
|
|
1369
1372
|
.dataviews-view-table th {
|
|
1370
1373
|
padding: 12px;
|
|
1371
|
-
white-space: nowrap;
|
|
1372
1374
|
}
|
|
1373
1375
|
.dataviews-view-table td.dataviews-view-table__actions-column,
|
|
1374
1376
|
.dataviews-view-table th.dataviews-view-table__actions-column {
|
|
@@ -1396,6 +1398,11 @@ div.dataviews-view-list {
|
|
|
1396
1398
|
padding-left: 0;
|
|
1397
1399
|
width: 1%;
|
|
1398
1400
|
}
|
|
1401
|
+
.dataviews-view-table td.dataviews-view-table__checkbox-column .dataviews-view-table__cell-content-wrapper,
|
|
1402
|
+
.dataviews-view-table th.dataviews-view-table__checkbox-column .dataviews-view-table__cell-content-wrapper {
|
|
1403
|
+
max-width: auto;
|
|
1404
|
+
min-width: auto;
|
|
1405
|
+
}
|
|
1399
1406
|
.dataviews-view-table tr {
|
|
1400
1407
|
border-top: 1px solid #f0f0f0;
|
|
1401
1408
|
}
|
|
@@ -1514,6 +1521,8 @@ div.dataviews-view-list {
|
|
|
1514
1521
|
}
|
|
1515
1522
|
.dataviews-view-table .dataviews-view-table__actions-column {
|
|
1516
1523
|
width: 1%;
|
|
1524
|
+
max-width: inherit;
|
|
1525
|
+
min-width: inherit;
|
|
1517
1526
|
}
|
|
1518
1527
|
.dataviews-view-table:has(tr.is-selected) .components-checkbox-control__input {
|
|
1519
1528
|
opacity: 1;
|
|
@@ -1578,6 +1587,18 @@ div.dataviews-view-list {
|
|
|
1578
1587
|
border-radius: 4px;
|
|
1579
1588
|
}
|
|
1580
1589
|
|
|
1590
|
+
.dataviews-view-table__cell-content-wrapper:not(.dataviews-column-primary__media),
|
|
1591
|
+
.dataviews-view-table__primary-column-content:not(.dataviews-column-primary__media) {
|
|
1592
|
+
min-width: 15ch;
|
|
1593
|
+
max-width: 80ch;
|
|
1594
|
+
}
|
|
1595
|
+
|
|
1596
|
+
.dataviews-view-table__group-header-row .dataviews-view-table__group-header-cell {
|
|
1597
|
+
font-weight: 500;
|
|
1598
|
+
padding: 12px 48px;
|
|
1599
|
+
color: #1e1e1e;
|
|
1600
|
+
}
|
|
1601
|
+
|
|
1581
1602
|
.dataviews-controls__datetime {
|
|
1582
1603
|
border: none;
|
|
1583
1604
|
padding: 0;
|
|
@@ -2034,7 +2055,7 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
2034
2055
|
contain: content;
|
|
2035
2056
|
}
|
|
2036
2057
|
|
|
2037
|
-
@keyframes
|
|
2058
|
+
@keyframes _i9oo5_slide-from-right {
|
|
2038
2059
|
from {
|
|
2039
2060
|
transform: translateX(-50px);
|
|
2040
2061
|
opacity: 0;
|
|
@@ -2044,7 +2065,7 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
2044
2065
|
opacity: 1;
|
|
2045
2066
|
}
|
|
2046
2067
|
}
|
|
2047
|
-
@keyframes
|
|
2068
|
+
@keyframes _i9oo5_slide-from-left {
|
|
2048
2069
|
from {
|
|
2049
2070
|
transform: translateX(50px);
|
|
2050
2071
|
opacity: 0;
|
|
@@ -2100,10 +2121,10 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
2100
2121
|
}
|
|
2101
2122
|
}
|
|
2102
2123
|
.edit-site-sidebar__screen-wrapper.slide-from-left {
|
|
2103
|
-
animation-name:
|
|
2124
|
+
animation-name: _i9oo5_slide-from-left;
|
|
2104
2125
|
}
|
|
2105
2126
|
.edit-site-sidebar__screen-wrapper.slide-from-right {
|
|
2106
|
-
animation-name:
|
|
2127
|
+
animation-name: _i9oo5_slide-from-right;
|
|
2107
2128
|
}
|
|
2108
2129
|
|
|
2109
2130
|
.edit-site-site-hub {
|
package/build-style/posts.css
CHANGED
|
@@ -449,10 +449,13 @@
|
|
|
449
449
|
align-items: center;
|
|
450
450
|
box-sizing: border-box;
|
|
451
451
|
}
|
|
452
|
+
.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip.is-not-clickable {
|
|
453
|
+
cursor: default;
|
|
454
|
+
}
|
|
452
455
|
.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip.has-reset {
|
|
453
456
|
padding-inline-end: 28px;
|
|
454
457
|
}
|
|
455
|
-
.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip:hover, .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip:focus-visible, .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip[aria-expanded=true] {
|
|
458
|
+
.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip:hover:not(.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip.is-not-clickable), .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip:focus-visible, .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip[aria-expanded=true] {
|
|
456
459
|
background: #e0e0e0;
|
|
457
460
|
color: #1e1e1e;
|
|
458
461
|
}
|
|
@@ -1184,8 +1187,8 @@
|
|
|
1184
1187
|
}
|
|
1185
1188
|
|
|
1186
1189
|
.dataviews-view-grid__group-header {
|
|
1187
|
-
font-size:
|
|
1188
|
-
font-weight:
|
|
1190
|
+
font-size: 15px;
|
|
1191
|
+
font-weight: 500;
|
|
1189
1192
|
color: #1e1e1e;
|
|
1190
1193
|
margin: 0 0 8px 0;
|
|
1191
1194
|
padding: 0 48px;
|
|
@@ -1368,7 +1371,6 @@ div.dataviews-view-list {
|
|
|
1368
1371
|
.dataviews-view-table td,
|
|
1369
1372
|
.dataviews-view-table th {
|
|
1370
1373
|
padding: 12px;
|
|
1371
|
-
white-space: nowrap;
|
|
1372
1374
|
}
|
|
1373
1375
|
.dataviews-view-table td.dataviews-view-table__actions-column,
|
|
1374
1376
|
.dataviews-view-table th.dataviews-view-table__actions-column {
|
|
@@ -1396,6 +1398,11 @@ div.dataviews-view-list {
|
|
|
1396
1398
|
padding-right: 0;
|
|
1397
1399
|
width: 1%;
|
|
1398
1400
|
}
|
|
1401
|
+
.dataviews-view-table td.dataviews-view-table__checkbox-column .dataviews-view-table__cell-content-wrapper,
|
|
1402
|
+
.dataviews-view-table th.dataviews-view-table__checkbox-column .dataviews-view-table__cell-content-wrapper {
|
|
1403
|
+
max-width: auto;
|
|
1404
|
+
min-width: auto;
|
|
1405
|
+
}
|
|
1399
1406
|
.dataviews-view-table tr {
|
|
1400
1407
|
border-top: 1px solid #f0f0f0;
|
|
1401
1408
|
}
|
|
@@ -1514,6 +1521,8 @@ div.dataviews-view-list {
|
|
|
1514
1521
|
}
|
|
1515
1522
|
.dataviews-view-table .dataviews-view-table__actions-column {
|
|
1516
1523
|
width: 1%;
|
|
1524
|
+
max-width: inherit;
|
|
1525
|
+
min-width: inherit;
|
|
1517
1526
|
}
|
|
1518
1527
|
.dataviews-view-table:has(tr.is-selected) .components-checkbox-control__input {
|
|
1519
1528
|
opacity: 1;
|
|
@@ -1578,6 +1587,18 @@ div.dataviews-view-list {
|
|
|
1578
1587
|
border-radius: 4px;
|
|
1579
1588
|
}
|
|
1580
1589
|
|
|
1590
|
+
.dataviews-view-table__cell-content-wrapper:not(.dataviews-column-primary__media),
|
|
1591
|
+
.dataviews-view-table__primary-column-content:not(.dataviews-column-primary__media) {
|
|
1592
|
+
min-width: 15ch;
|
|
1593
|
+
max-width: 80ch;
|
|
1594
|
+
}
|
|
1595
|
+
|
|
1596
|
+
.dataviews-view-table__group-header-row .dataviews-view-table__group-header-cell {
|
|
1597
|
+
font-weight: 500;
|
|
1598
|
+
padding: 12px 48px;
|
|
1599
|
+
color: #1e1e1e;
|
|
1600
|
+
}
|
|
1601
|
+
|
|
1581
1602
|
.dataviews-controls__datetime {
|
|
1582
1603
|
border: none;
|
|
1583
1604
|
padding: 0;
|
|
@@ -2034,7 +2055,7 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
2034
2055
|
contain: content;
|
|
2035
2056
|
}
|
|
2036
2057
|
|
|
2037
|
-
@keyframes
|
|
2058
|
+
@keyframes _i9oo5_slide-from-right {
|
|
2038
2059
|
from {
|
|
2039
2060
|
transform: translateX(50px);
|
|
2040
2061
|
opacity: 0;
|
|
@@ -2044,7 +2065,7 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
2044
2065
|
opacity: 1;
|
|
2045
2066
|
}
|
|
2046
2067
|
}
|
|
2047
|
-
@keyframes
|
|
2068
|
+
@keyframes _i9oo5_slide-from-left {
|
|
2048
2069
|
from {
|
|
2049
2070
|
transform: translateX(-50px);
|
|
2050
2071
|
opacity: 0;
|
|
@@ -2100,10 +2121,10 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
2100
2121
|
}
|
|
2101
2122
|
}
|
|
2102
2123
|
.edit-site-sidebar__screen-wrapper.slide-from-left {
|
|
2103
|
-
animation-name:
|
|
2124
|
+
animation-name: _i9oo5_slide-from-left;
|
|
2104
2125
|
}
|
|
2105
2126
|
.edit-site-sidebar__screen-wrapper.slide-from-right {
|
|
2106
|
-
animation-name:
|
|
2127
|
+
animation-name: _i9oo5_slide-from-right;
|
|
2107
2128
|
}
|
|
2108
2129
|
|
|
2109
2130
|
.edit-site-site-hub {
|
|
@@ -449,10 +449,13 @@
|
|
|
449
449
|
align-items: center;
|
|
450
450
|
box-sizing: border-box;
|
|
451
451
|
}
|
|
452
|
+
.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip.is-not-clickable {
|
|
453
|
+
cursor: default;
|
|
454
|
+
}
|
|
452
455
|
.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip.has-reset {
|
|
453
456
|
padding-inline-end: 28px;
|
|
454
457
|
}
|
|
455
|
-
.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip:hover, .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip:focus-visible, .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip[aria-expanded=true] {
|
|
458
|
+
.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip:hover:not(.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip.is-not-clickable), .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip:focus-visible, .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip[aria-expanded=true] {
|
|
456
459
|
background: #e0e0e0;
|
|
457
460
|
color: #1e1e1e;
|
|
458
461
|
}
|
|
@@ -1184,8 +1187,8 @@
|
|
|
1184
1187
|
}
|
|
1185
1188
|
|
|
1186
1189
|
.dataviews-view-grid__group-header {
|
|
1187
|
-
font-size:
|
|
1188
|
-
font-weight:
|
|
1190
|
+
font-size: 15px;
|
|
1191
|
+
font-weight: 500;
|
|
1189
1192
|
color: #1e1e1e;
|
|
1190
1193
|
margin: 0 0 8px 0;
|
|
1191
1194
|
padding: 0 48px;
|
|
@@ -1368,7 +1371,6 @@ div.dataviews-view-list {
|
|
|
1368
1371
|
.dataviews-view-table td,
|
|
1369
1372
|
.dataviews-view-table th {
|
|
1370
1373
|
padding: 12px;
|
|
1371
|
-
white-space: nowrap;
|
|
1372
1374
|
}
|
|
1373
1375
|
.dataviews-view-table td.dataviews-view-table__actions-column,
|
|
1374
1376
|
.dataviews-view-table th.dataviews-view-table__actions-column {
|
|
@@ -1396,6 +1398,11 @@ div.dataviews-view-list {
|
|
|
1396
1398
|
padding-left: 0;
|
|
1397
1399
|
width: 1%;
|
|
1398
1400
|
}
|
|
1401
|
+
.dataviews-view-table td.dataviews-view-table__checkbox-column .dataviews-view-table__cell-content-wrapper,
|
|
1402
|
+
.dataviews-view-table th.dataviews-view-table__checkbox-column .dataviews-view-table__cell-content-wrapper {
|
|
1403
|
+
max-width: auto;
|
|
1404
|
+
min-width: auto;
|
|
1405
|
+
}
|
|
1399
1406
|
.dataviews-view-table tr {
|
|
1400
1407
|
border-top: 1px solid #f0f0f0;
|
|
1401
1408
|
}
|
|
@@ -1514,6 +1521,8 @@ div.dataviews-view-list {
|
|
|
1514
1521
|
}
|
|
1515
1522
|
.dataviews-view-table .dataviews-view-table__actions-column {
|
|
1516
1523
|
width: 1%;
|
|
1524
|
+
max-width: inherit;
|
|
1525
|
+
min-width: inherit;
|
|
1517
1526
|
}
|
|
1518
1527
|
.dataviews-view-table:has(tr.is-selected) .components-checkbox-control__input {
|
|
1519
1528
|
opacity: 1;
|
|
@@ -1578,6 +1587,18 @@ div.dataviews-view-list {
|
|
|
1578
1587
|
border-radius: 4px;
|
|
1579
1588
|
}
|
|
1580
1589
|
|
|
1590
|
+
.dataviews-view-table__cell-content-wrapper:not(.dataviews-column-primary__media),
|
|
1591
|
+
.dataviews-view-table__primary-column-content:not(.dataviews-column-primary__media) {
|
|
1592
|
+
min-width: 15ch;
|
|
1593
|
+
max-width: 80ch;
|
|
1594
|
+
}
|
|
1595
|
+
|
|
1596
|
+
.dataviews-view-table__group-header-row .dataviews-view-table__group-header-cell {
|
|
1597
|
+
font-weight: 500;
|
|
1598
|
+
padding: 12px 48px;
|
|
1599
|
+
color: #1e1e1e;
|
|
1600
|
+
}
|
|
1601
|
+
|
|
1581
1602
|
.dataviews-controls__datetime {
|
|
1582
1603
|
border: none;
|
|
1583
1604
|
padding: 0;
|
|
@@ -2497,22 +2518,6 @@ fieldset.fields-controls__featured-image .fields-controls__featured-image-remove
|
|
|
2497
2518
|
border-top: 1px solid #ddd;
|
|
2498
2519
|
}
|
|
2499
2520
|
|
|
2500
|
-
.editor-sidebar {
|
|
2501
|
-
width: 280px;
|
|
2502
|
-
}
|
|
2503
|
-
.editor-sidebar > .components-panel {
|
|
2504
|
-
border-right: 0;
|
|
2505
|
-
border-left: 0;
|
|
2506
|
-
margin-bottom: -1px;
|
|
2507
|
-
margin-top: -1px;
|
|
2508
|
-
}
|
|
2509
|
-
.editor-sidebar > .components-panel > .components-panel__header {
|
|
2510
|
-
background: #f0f0f0;
|
|
2511
|
-
}
|
|
2512
|
-
.editor-sidebar .block-editor-block-inspector__card {
|
|
2513
|
-
margin: 0;
|
|
2514
|
-
}
|
|
2515
|
-
|
|
2516
2521
|
.edit-site-global-styles-sidebar {
|
|
2517
2522
|
display: flex;
|
|
2518
2523
|
flex-direction: column;
|
|
@@ -2751,16 +2756,6 @@ fieldset.fields-controls__featured-image .fields-controls__featured-image-remove
|
|
|
2751
2756
|
text-wrap: pretty;
|
|
2752
2757
|
}
|
|
2753
2758
|
|
|
2754
|
-
.page-templates-description {
|
|
2755
|
-
max-width: 50em;
|
|
2756
|
-
text-wrap: balance;
|
|
2757
|
-
text-wrap: pretty;
|
|
2758
|
-
}
|
|
2759
|
-
.dataviews-view-table .page-templates-description {
|
|
2760
|
-
margin-bottom: 8px;
|
|
2761
|
-
display: block;
|
|
2762
|
-
}
|
|
2763
|
-
|
|
2764
2759
|
.edit-site-page-templates .dataviews-pagination {
|
|
2765
2760
|
z-index: 2;
|
|
2766
2761
|
}
|
|
@@ -2887,7 +2882,6 @@ fieldset.fields-controls__featured-image .fields-controls__featured-image-remove
|
|
|
2887
2882
|
}
|
|
2888
2883
|
.edit-site-editor__back-icon.has-site-icon {
|
|
2889
2884
|
background-color: hsla(0deg, 0%, 100%, 0.6);
|
|
2890
|
-
-webkit-backdrop-filter: saturate(180%) blur(15px);
|
|
2891
2885
|
backdrop-filter: saturate(180%) blur(15px);
|
|
2892
2886
|
}
|
|
2893
2887
|
|
|
@@ -3226,7 +3220,7 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
3226
3220
|
contain: content;
|
|
3227
3221
|
}
|
|
3228
3222
|
|
|
3229
|
-
@keyframes
|
|
3223
|
+
@keyframes _i1bme_slide-from-right {
|
|
3230
3224
|
from {
|
|
3231
3225
|
transform: translateX(-50px);
|
|
3232
3226
|
opacity: 0;
|
|
@@ -3236,7 +3230,7 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
3236
3230
|
opacity: 1;
|
|
3237
3231
|
}
|
|
3238
3232
|
}
|
|
3239
|
-
@keyframes
|
|
3233
|
+
@keyframes _i1bme_slide-from-left {
|
|
3240
3234
|
from {
|
|
3241
3235
|
transform: translateX(50px);
|
|
3242
3236
|
opacity: 0;
|
|
@@ -3292,10 +3286,10 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
3292
3286
|
}
|
|
3293
3287
|
}
|
|
3294
3288
|
.edit-site-sidebar__screen-wrapper.slide-from-left {
|
|
3295
|
-
animation-name:
|
|
3289
|
+
animation-name: _i1bme_slide-from-left;
|
|
3296
3290
|
}
|
|
3297
3291
|
.edit-site-sidebar__screen-wrapper.slide-from-right {
|
|
3298
|
-
animation-name:
|
|
3292
|
+
animation-name: _i1bme_slide-from-right;
|
|
3299
3293
|
}
|
|
3300
3294
|
|
|
3301
3295
|
.edit-site-sidebar-button {
|
package/build-style/style.css
CHANGED
|
@@ -449,10 +449,13 @@
|
|
|
449
449
|
align-items: center;
|
|
450
450
|
box-sizing: border-box;
|
|
451
451
|
}
|
|
452
|
+
.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip.is-not-clickable {
|
|
453
|
+
cursor: default;
|
|
454
|
+
}
|
|
452
455
|
.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip.has-reset {
|
|
453
456
|
padding-inline-end: 28px;
|
|
454
457
|
}
|
|
455
|
-
.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip:hover, .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip:focus-visible, .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip[aria-expanded=true] {
|
|
458
|
+
.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip:hover:not(.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip.is-not-clickable), .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip:focus-visible, .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip[aria-expanded=true] {
|
|
456
459
|
background: #e0e0e0;
|
|
457
460
|
color: #1e1e1e;
|
|
458
461
|
}
|
|
@@ -1184,8 +1187,8 @@
|
|
|
1184
1187
|
}
|
|
1185
1188
|
|
|
1186
1189
|
.dataviews-view-grid__group-header {
|
|
1187
|
-
font-size:
|
|
1188
|
-
font-weight:
|
|
1190
|
+
font-size: 15px;
|
|
1191
|
+
font-weight: 500;
|
|
1189
1192
|
color: #1e1e1e;
|
|
1190
1193
|
margin: 0 0 8px 0;
|
|
1191
1194
|
padding: 0 48px;
|
|
@@ -1368,7 +1371,6 @@ div.dataviews-view-list {
|
|
|
1368
1371
|
.dataviews-view-table td,
|
|
1369
1372
|
.dataviews-view-table th {
|
|
1370
1373
|
padding: 12px;
|
|
1371
|
-
white-space: nowrap;
|
|
1372
1374
|
}
|
|
1373
1375
|
.dataviews-view-table td.dataviews-view-table__actions-column,
|
|
1374
1376
|
.dataviews-view-table th.dataviews-view-table__actions-column {
|
|
@@ -1396,6 +1398,11 @@ div.dataviews-view-list {
|
|
|
1396
1398
|
padding-right: 0;
|
|
1397
1399
|
width: 1%;
|
|
1398
1400
|
}
|
|
1401
|
+
.dataviews-view-table td.dataviews-view-table__checkbox-column .dataviews-view-table__cell-content-wrapper,
|
|
1402
|
+
.dataviews-view-table th.dataviews-view-table__checkbox-column .dataviews-view-table__cell-content-wrapper {
|
|
1403
|
+
max-width: auto;
|
|
1404
|
+
min-width: auto;
|
|
1405
|
+
}
|
|
1399
1406
|
.dataviews-view-table tr {
|
|
1400
1407
|
border-top: 1px solid #f0f0f0;
|
|
1401
1408
|
}
|
|
@@ -1514,6 +1521,8 @@ div.dataviews-view-list {
|
|
|
1514
1521
|
}
|
|
1515
1522
|
.dataviews-view-table .dataviews-view-table__actions-column {
|
|
1516
1523
|
width: 1%;
|
|
1524
|
+
max-width: inherit;
|
|
1525
|
+
min-width: inherit;
|
|
1517
1526
|
}
|
|
1518
1527
|
.dataviews-view-table:has(tr.is-selected) .components-checkbox-control__input {
|
|
1519
1528
|
opacity: 1;
|
|
@@ -1578,6 +1587,18 @@ div.dataviews-view-list {
|
|
|
1578
1587
|
border-radius: 4px;
|
|
1579
1588
|
}
|
|
1580
1589
|
|
|
1590
|
+
.dataviews-view-table__cell-content-wrapper:not(.dataviews-column-primary__media),
|
|
1591
|
+
.dataviews-view-table__primary-column-content:not(.dataviews-column-primary__media) {
|
|
1592
|
+
min-width: 15ch;
|
|
1593
|
+
max-width: 80ch;
|
|
1594
|
+
}
|
|
1595
|
+
|
|
1596
|
+
.dataviews-view-table__group-header-row .dataviews-view-table__group-header-cell {
|
|
1597
|
+
font-weight: 500;
|
|
1598
|
+
padding: 12px 48px;
|
|
1599
|
+
color: #1e1e1e;
|
|
1600
|
+
}
|
|
1601
|
+
|
|
1581
1602
|
.dataviews-controls__datetime {
|
|
1582
1603
|
border: none;
|
|
1583
1604
|
padding: 0;
|
|
@@ -2498,22 +2519,6 @@ fieldset.fields-controls__featured-image .fields-controls__featured-image-remove
|
|
|
2498
2519
|
border-top: 1px solid #ddd;
|
|
2499
2520
|
}
|
|
2500
2521
|
|
|
2501
|
-
.editor-sidebar {
|
|
2502
|
-
width: 280px;
|
|
2503
|
-
}
|
|
2504
|
-
.editor-sidebar > .components-panel {
|
|
2505
|
-
border-left: 0;
|
|
2506
|
-
border-right: 0;
|
|
2507
|
-
margin-bottom: -1px;
|
|
2508
|
-
margin-top: -1px;
|
|
2509
|
-
}
|
|
2510
|
-
.editor-sidebar > .components-panel > .components-panel__header {
|
|
2511
|
-
background: #f0f0f0;
|
|
2512
|
-
}
|
|
2513
|
-
.editor-sidebar .block-editor-block-inspector__card {
|
|
2514
|
-
margin: 0;
|
|
2515
|
-
}
|
|
2516
|
-
|
|
2517
2522
|
.edit-site-global-styles-sidebar {
|
|
2518
2523
|
display: flex;
|
|
2519
2524
|
flex-direction: column;
|
|
@@ -2752,16 +2757,6 @@ fieldset.fields-controls__featured-image .fields-controls__featured-image-remove
|
|
|
2752
2757
|
text-wrap: pretty;
|
|
2753
2758
|
}
|
|
2754
2759
|
|
|
2755
|
-
.page-templates-description {
|
|
2756
|
-
max-width: 50em;
|
|
2757
|
-
text-wrap: balance;
|
|
2758
|
-
text-wrap: pretty;
|
|
2759
|
-
}
|
|
2760
|
-
.dataviews-view-table .page-templates-description {
|
|
2761
|
-
margin-bottom: 8px;
|
|
2762
|
-
display: block;
|
|
2763
|
-
}
|
|
2764
|
-
|
|
2765
2760
|
.edit-site-page-templates .dataviews-pagination {
|
|
2766
2761
|
z-index: 2;
|
|
2767
2762
|
}
|
|
@@ -2888,7 +2883,6 @@ fieldset.fields-controls__featured-image .fields-controls__featured-image-remove
|
|
|
2888
2883
|
}
|
|
2889
2884
|
.edit-site-editor__back-icon.has-site-icon {
|
|
2890
2885
|
background-color: hsla(0deg, 0%, 100%, 0.6);
|
|
2891
|
-
-webkit-backdrop-filter: saturate(180%) blur(15px);
|
|
2892
2886
|
backdrop-filter: saturate(180%) blur(15px);
|
|
2893
2887
|
}
|
|
2894
2888
|
|
|
@@ -3227,7 +3221,7 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
3227
3221
|
contain: content;
|
|
3228
3222
|
}
|
|
3229
3223
|
|
|
3230
|
-
@keyframes
|
|
3224
|
+
@keyframes _i1bme_slide-from-right {
|
|
3231
3225
|
from {
|
|
3232
3226
|
transform: translateX(50px);
|
|
3233
3227
|
opacity: 0;
|
|
@@ -3237,7 +3231,7 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
3237
3231
|
opacity: 1;
|
|
3238
3232
|
}
|
|
3239
3233
|
}
|
|
3240
|
-
@keyframes
|
|
3234
|
+
@keyframes _i1bme_slide-from-left {
|
|
3241
3235
|
from {
|
|
3242
3236
|
transform: translateX(-50px);
|
|
3243
3237
|
opacity: 0;
|
|
@@ -3293,10 +3287,10 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
3293
3287
|
}
|
|
3294
3288
|
}
|
|
3295
3289
|
.edit-site-sidebar__screen-wrapper.slide-from-left {
|
|
3296
|
-
animation-name:
|
|
3290
|
+
animation-name: _i1bme_slide-from-left;
|
|
3297
3291
|
}
|
|
3298
3292
|
.edit-site-sidebar__screen-wrapper.slide-from-right {
|
|
3299
|
-
animation-name:
|
|
3293
|
+
animation-name: _i1bme_slide-from-right;
|
|
3300
3294
|
}
|
|
3301
3295
|
|
|
3302
3296
|
.edit-site-sidebar-button {
|