@wordpress/block-library 7.13.0 → 7.13.1-next.957ca95e4c.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/columns/transforms.js +10 -1
- package/build/columns/transforms.js.map +1 -1
- package/build/cover/edit/block-controls.js +9 -2
- package/build/cover/edit/block-controls.js.map +1 -1
- package/build/gallery/gap-styles.js +5 -4
- package/build/gallery/gap-styles.js.map +1 -1
- package/build/home-link/index.js +14 -1
- package/build/home-link/index.js.map +1 -1
- package/build/image/edit.js +3 -1
- package/build/image/edit.js.map +1 -1
- package/build/image/use-client-width.js +3 -1
- package/build/image/use-client-width.js.map +1 -1
- package/build/index.js +1 -1
- package/build/index.js.map +1 -1
- package/build/index.native.js +3 -15
- package/build/index.native.js.map +1 -1
- package/build/latest-posts/deprecated.js +14 -1
- package/build/latest-posts/deprecated.js.map +1 -1
- package/build/latest-posts/index.js +14 -1
- package/build/latest-posts/index.js.map +1 -1
- package/build/list/deprecated.js +84 -1
- package/build/list/deprecated.js.map +1 -1
- package/build/list/edit.js +153 -134
- package/build/list/edit.js.map +1 -1
- package/build/list/index.js +29 -34
- package/build/list/index.js.map +1 -1
- package/build/list/save.js +1 -5
- package/build/list/save.js.map +1 -1
- package/build/list/{v2/tag-name.js → tag-name.js} +0 -0
- package/build/list/tag-name.js.map +1 -0
- package/build/list/{v2/tag-name.native.js → tag-name.native.js} +0 -0
- package/build/list/tag-name.native.js.map +1 -0
- package/build/list/transforms.js +61 -95
- package/build/list/transforms.js.map +1 -1
- package/build/list/{v2/migrate.js → utils.js} +3 -2
- package/build/list/utils.js.map +1 -0
- package/build/list-item/edit.native.js +21 -3
- package/build/list-item/edit.native.js.map +1 -1
- package/build/list-item/hooks/use-copy.js +2 -0
- package/build/list-item/hooks/use-copy.js.map +1 -1
- package/build/list-item/hooks/use-merge.js +0 -1
- package/build/list-item/hooks/use-merge.js.map +1 -1
- package/build/list-item/hooks/use-outdent-list-item.js +0 -1
- package/build/list-item/hooks/use-outdent-list-item.js.map +1 -1
- package/build/list-item/hooks/use-space.js +10 -1
- package/build/list-item/hooks/use-space.js.map +1 -1
- package/build/list-item/index.js +0 -1
- package/build/list-item/index.js.map +1 -1
- package/build/list-item/utils.js +0 -1
- package/build/list-item/utils.js.map +1 -1
- package/build/navigation/edit/index.js +6 -3
- package/build/navigation/edit/index.js.map +1 -1
- package/build/navigation/edit/responsive-wrapper.js +6 -4
- package/build/navigation/edit/responsive-wrapper.js.map +1 -1
- package/build/navigation/edit/unsaved-inner-blocks.js +4 -15
- package/build/navigation/edit/unsaved-inner-blocks.js.map +1 -1
- package/build/post-excerpt/index.js +4 -2
- package/build/post-excerpt/index.js.map +1 -1
- package/build/post-terms/edit.js +0 -1
- package/build/post-terms/edit.js.map +1 -1
- package/build/post-terms/use-post-terms.js +4 -24
- package/build/post-terms/use-post-terms.js.map +1 -1
- package/build/query-no-results/index.js +13 -0
- package/build/query-no-results/index.js.map +1 -1
- package/build/query-pagination-numbers/index.js +4 -2
- package/build/query-pagination-numbers/index.js.map +1 -1
- package/build/query-title/index.js +1 -0
- package/build/query-title/index.js.map +1 -1
- package/build/quote/index.js +4 -2
- package/build/quote/index.js.map +1 -1
- package/build/term-description/index.js +6 -0
- package/build/term-description/index.js.map +1 -1
- package/build/verse/index.js +1 -0
- package/build/verse/index.js.map +1 -1
- package/build-module/columns/transforms.js +10 -1
- package/build-module/columns/transforms.js.map +1 -1
- package/build-module/cover/edit/block-controls.js +10 -3
- package/build-module/cover/edit/block-controls.js.map +1 -1
- package/build-module/gallery/gap-styles.js +6 -5
- package/build-module/gallery/gap-styles.js.map +1 -1
- package/build-module/home-link/index.js +14 -1
- package/build-module/home-link/index.js.map +1 -1
- package/build-module/image/edit.js +4 -2
- package/build-module/image/edit.js.map +1 -1
- package/build-module/image/use-client-width.js +3 -1
- package/build-module/image/use-client-width.js.map +1 -1
- package/build-module/index.js +1 -1
- package/build-module/index.js.map +1 -1
- package/build-module/index.native.js +3 -15
- package/build-module/index.native.js.map +1 -1
- package/build-module/latest-posts/deprecated.js +14 -1
- package/build-module/latest-posts/deprecated.js.map +1 -1
- package/build-module/latest-posts/index.js +14 -1
- package/build-module/latest-posts/index.js.map +1 -1
- package/build-module/list/deprecated.js +83 -1
- package/build-module/list/deprecated.js.map +1 -1
- package/build-module/list/edit.js +151 -134
- package/build-module/list/edit.js.map +1 -1
- package/build-module/list/index.js +29 -29
- package/build-module/list/index.js.map +1 -1
- package/build-module/list/save.js +2 -6
- package/build-module/list/save.js.map +1 -1
- package/build-module/list/{v2/tag-name.js → tag-name.js} +0 -0
- package/build-module/list/tag-name.js.map +1 -0
- package/build-module/list/{v2/tag-name.native.js → tag-name.native.js} +0 -0
- package/build-module/list/tag-name.native.js.map +1 -0
- package/build-module/list/transforms.js +62 -97
- package/build-module/list/transforms.js.map +1 -1
- package/build-module/list/{v2/migrate.js → utils.js} +3 -2
- package/build-module/list/utils.js.map +1 -0
- package/build-module/list-item/edit.native.js +19 -3
- package/build-module/list-item/edit.native.js.map +1 -1
- package/build-module/list-item/hooks/use-copy.js +2 -0
- package/build-module/list-item/hooks/use-copy.js.map +1 -1
- package/build-module/list-item/hooks/use-merge.js +0 -1
- package/build-module/list-item/hooks/use-merge.js.map +1 -1
- package/build-module/list-item/hooks/use-outdent-list-item.js +0 -1
- package/build-module/list-item/hooks/use-outdent-list-item.js.map +1 -1
- package/build-module/list-item/hooks/use-space.js +10 -1
- package/build-module/list-item/hooks/use-space.js.map +1 -1
- package/build-module/list-item/index.js +0 -1
- package/build-module/list-item/index.js.map +1 -1
- package/build-module/list-item/utils.js +0 -1
- package/build-module/list-item/utils.js.map +1 -1
- package/build-module/navigation/edit/index.js +5 -3
- package/build-module/navigation/edit/index.js.map +1 -1
- package/build-module/navigation/edit/responsive-wrapper.js +6 -4
- package/build-module/navigation/edit/responsive-wrapper.js.map +1 -1
- package/build-module/navigation/edit/unsaved-inner-blocks.js +5 -15
- package/build-module/navigation/edit/unsaved-inner-blocks.js.map +1 -1
- package/build-module/post-excerpt/index.js +4 -2
- package/build-module/post-excerpt/index.js.map +1 -1
- package/build-module/post-terms/edit.js +0 -1
- package/build-module/post-terms/edit.js.map +1 -1
- package/build-module/post-terms/use-post-terms.js +5 -25
- package/build-module/post-terms/use-post-terms.js.map +1 -1
- package/build-module/query-no-results/index.js +13 -0
- package/build-module/query-no-results/index.js.map +1 -1
- package/build-module/query-pagination-numbers/index.js +4 -2
- package/build-module/query-pagination-numbers/index.js.map +1 -1
- package/build-module/query-title/index.js +1 -0
- package/build-module/query-title/index.js.map +1 -1
- package/build-module/quote/index.js +4 -2
- package/build-module/quote/index.js.map +1 -1
- package/build-module/term-description/index.js +6 -0
- package/build-module/term-description/index.js.map +1 -1
- package/build-module/verse/index.js +1 -0
- package/build-module/verse/index.js.map +1 -1
- package/build-style/button/style-rtl.css +1 -4
- package/build-style/button/style.css +1 -4
- package/build-style/code/editor-rtl.css +79 -0
- package/build-style/code/editor.css +79 -0
- package/build-style/cover/editor-rtl.css +0 -3
- package/build-style/cover/editor.css +0 -3
- package/build-style/editor-rtl.css +9 -44
- package/build-style/editor.css +9 -44
- package/build-style/group/editor-rtl.css +2 -22
- package/build-style/group/editor.css +2 -22
- package/build-style/navigation/editor-rtl.css +3 -19
- package/build-style/navigation/editor.css +3 -19
- package/build-style/navigation/style-rtl.css +8 -1
- package/build-style/navigation/style.css +8 -1
- package/build-style/style-rtl.css +9 -5
- package/build-style/style.css +9 -5
- package/package.json +28 -28
- package/src/button/style.scss +1 -8
- package/src/code/editor.scss +3 -0
- package/src/columns/transforms.js +17 -3
- package/src/cover/edit/block-controls.js +15 -3
- package/src/cover/editor.scss +0 -4
- package/src/editor.scss +1 -0
- package/src/gallery/gap-styles.js +10 -6
- package/src/gallery/index.php +23 -2
- package/src/group/editor.scss +1 -28
- package/src/home-link/block.json +14 -1
- package/src/image/edit.js +3 -3
- package/src/image/use-client-width.js +1 -1
- package/src/index.js +1 -4
- package/src/index.native.js +2 -13
- package/src/latest-posts/block.json +14 -1
- package/src/list/deprecated.js +71 -1
- package/src/list/edit.js +146 -133
- package/src/list/index.js +25 -24
- package/src/list/save.js +3 -4
- package/src/list/{v2/tag-name.js → tag-name.js} +0 -0
- package/src/list/{v2/tag-name.native.js → tag-name.native.js} +0 -0
- package/src/list/test/__snapshots__/edit.native.js.snap +14 -2
- package/src/list/test/edit.native.js +0 -154
- package/src/list/transforms.js +57 -111
- package/src/list/{v2/migrate.js → utils.js} +2 -2
- package/src/list-item/block.json +0 -1
- package/src/list-item/edit.native.js +32 -2
- package/src/list-item/hooks/use-copy.js +2 -0
- package/src/list-item/hooks/use-space.js +10 -2
- package/src/list-item/style.native.scss +8 -0
- package/src/navigation/edit/index.js +14 -4
- package/src/navigation/edit/responsive-wrapper.js +8 -3
- package/src/navigation/edit/unsaved-inner-blocks.js +14 -24
- package/src/navigation/editor.scss +2 -23
- package/src/navigation/index.php +13 -8
- package/src/navigation/style.scss +11 -2
- package/src/post-excerpt/block.json +4 -2
- package/src/post-terms/edit.js +0 -1
- package/src/post-terms/use-post-terms.js +10 -15
- package/src/query-no-results/block.json +13 -0
- package/src/query-pagination-numbers/block.json +4 -2
- package/src/query-title/block.json +1 -0
- package/src/quote/block.json +4 -2
- package/src/term-description/block.json +6 -0
- package/src/verse/block.json +1 -0
- package/build/list/v2/deprecated.js +0 -117
- package/build/list/v2/deprecated.js.map +0 -1
- package/build/list/v2/edit.js +0 -200
- package/build/list/v2/edit.js.map +0 -1
- package/build/list/v2/index.js +0 -36
- package/build/list/v2/index.js.map +0 -1
- package/build/list/v2/migrate.js.map +0 -1
- package/build/list/v2/save.js +0 -34
- package/build/list/v2/save.js.map +0 -1
- package/build/list/v2/tag-name.js.map +0 -1
- package/build/list/v2/tag-name.native.js.map +0 -1
- package/build/list/v2/transforms.js +0 -137
- package/build/list/v2/transforms.js.map +0 -1
- package/build-module/list/v2/deprecated.js +0 -104
- package/build-module/list/v2/deprecated.js.map +0 -1
- package/build-module/list/v2/edit.js +0 -179
- package/build-module/list/v2/edit.js.map +0 -1
- package/build-module/list/v2/index.js +0 -21
- package/build-module/list/v2/index.js.map +0 -1
- package/build-module/list/v2/migrate.js.map +0 -1
- package/build-module/list/v2/save.js +0 -23
- package/build-module/list/v2/save.js.map +0 -1
- package/build-module/list/v2/tag-name.js.map +0 -1
- package/build-module/list/v2/tag-name.native.js.map +0 -1
- package/build-module/list/v2/transforms.js +0 -127
- package/build-module/list/v2/transforms.js.map +0 -1
- package/src/list/test/migrate.js +0 -158
- package/src/list/v2/deprecated.js +0 -89
- package/src/list/v2/edit.js +0 -192
- package/src/list/v2/index.js +0 -22
- package/src/list/v2/save.js +0 -18
- package/src/list/v2/transforms.js +0 -120
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["@wordpress/block-library/src/post-terms/use-post-terms.js"],"names":["
|
|
1
|
+
{"version":3,"sources":["@wordpress/block-library/src/post-terms/use-post-terms.js"],"names":["store","coreStore","useSelect","usePostTerms","postId","term","slug","select","visible","visibility","publicly_queryable","postTerms","_isLoading","hasPostTerms","getEntityRecords","isResolving","taxonomyArgs","post","per_page","context","terms","isLoading","length"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,KAAK,IAAIC,SAAlB,QAAmC,sBAAnC;AACA,SAASC,SAAT,QAA0B,iBAA1B;AAEA,eAAe,SAASC,YAAT,OAA0C;AAAA;;AAAA,MAAnB;AAAEC,IAAAA,MAAF;AAAUC,IAAAA;AAAV,GAAmB;AACxD,QAAM;AAAEC,IAAAA;AAAF,MAAWD,IAAjB;AAEA,SAAOH,SAAS,CACbK,MAAF,IAAc;AAAA;;AACb,UAAMC,OAAO,GAAGH,IAAH,aAAGA,IAAH,2CAAGA,IAAI,CAAEI,UAAT,qDAAG,iBAAkBC,kBAAlC;;AACA,QAAK,CAAEF,OAAP,EAAiB;AAChB,aAAO;AACNG,QAAAA,SAAS,EAAE,EADL;AAENC,QAAAA,UAAU,EAAE,KAFN;AAGNC,QAAAA,YAAY,EAAE;AAHR,OAAP;AAKA;;AAED,UAAM;AAAEC,MAAAA,gBAAF;AAAoBC,MAAAA;AAApB,QAAoCR,MAAM,CAAEN,SAAF,CAAhD;AACA,UAAMe,YAAY,GAAG,CACpB,UADoB,EAEpBV,IAFoB,EAGpB;AACCW,MAAAA,IAAI,EAAEb,MADP;AAECc,MAAAA,QAAQ,EAAE,CAAC,CAFZ;AAGCC,MAAAA,OAAO,EAAE;AAHV,KAHoB,CAArB;AASA,UAAMC,KAAK,GAAGN,gBAAgB,CAAE,GAAGE,YAAL,CAA9B;AAEA,WAAO;AACNL,MAAAA,SAAS,EAAES,KADL;AAENC,MAAAA,SAAS,EAAEN,WAAW,CAAE,kBAAF,EAAsBC,YAAtB,CAFhB;AAGNH,MAAAA,YAAY,EAAE,CAAC,EAAEO,KAAF,aAAEA,KAAF,eAAEA,KAAK,CAAEE,MAAT;AAHT,KAAP;AAKA,GA5Bc,EA6Bf,CAAElB,MAAF,EAAUC,IAAV,aAAUA,IAAV,4CAAUA,IAAI,CAAEI,UAAhB,sDAAU,kBAAkBC,kBAA5B,CA7Be,CAAhB;AA+BA","sourcesContent":["/**\n * WordPress dependencies\n */\nimport { store as coreStore } from '@wordpress/core-data';\nimport { useSelect } from '@wordpress/data';\n\nexport default function usePostTerms( { postId, term } ) {\n\tconst { slug } = term;\n\n\treturn useSelect(\n\t\t( select ) => {\n\t\t\tconst visible = term?.visibility?.publicly_queryable;\n\t\t\tif ( ! visible ) {\n\t\t\t\treturn {\n\t\t\t\t\tpostTerms: [],\n\t\t\t\t\t_isLoading: false,\n\t\t\t\t\thasPostTerms: false,\n\t\t\t\t};\n\t\t\t}\n\n\t\t\tconst { getEntityRecords, isResolving } = select( coreStore );\n\t\t\tconst taxonomyArgs = [\n\t\t\t\t'taxonomy',\n\t\t\t\tslug,\n\t\t\t\t{\n\t\t\t\t\tpost: postId,\n\t\t\t\t\tper_page: -1,\n\t\t\t\t\tcontext: 'view',\n\t\t\t\t},\n\t\t\t];\n\t\t\tconst terms = getEntityRecords( ...taxonomyArgs );\n\n\t\t\treturn {\n\t\t\t\tpostTerms: terms,\n\t\t\t\tisLoading: isResolving( 'getEntityRecords', taxonomyArgs ),\n\t\t\t\thasPostTerms: !! terms?.length,\n\t\t\t};\n\t\t},\n\t\t[ postId, term?.visibility?.publicly_queryable ]\n\t);\n}\n"]}
|
|
@@ -23,6 +23,19 @@ const metadata = {
|
|
|
23
23
|
color: {
|
|
24
24
|
gradients: true,
|
|
25
25
|
link: true
|
|
26
|
+
},
|
|
27
|
+
typography: {
|
|
28
|
+
fontSize: true,
|
|
29
|
+
lineHeight: true,
|
|
30
|
+
__experimentalFontFamily: true,
|
|
31
|
+
__experimentalFontWeight: true,
|
|
32
|
+
__experimentalFontStyle: true,
|
|
33
|
+
__experimentalTextTransform: true,
|
|
34
|
+
__experimentalTextDecoration: true,
|
|
35
|
+
__experimentalLetterSpacing: true,
|
|
36
|
+
__experimentalDefaultControls: {
|
|
37
|
+
fontSize: true
|
|
38
|
+
}
|
|
26
39
|
}
|
|
27
40
|
}
|
|
28
41
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["@wordpress/block-library/src/query-no-results/index.js"],"names":["loop","icon","edit","save","name","metadata","settings"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,IAAI,IAAIC,IAAjB,QAA6B,kBAA7B;AAEA;AACA;AACA
|
|
1
|
+
{"version":3,"sources":["@wordpress/block-library/src/query-no-results/index.js"],"names":["loop","icon","edit","save","name","metadata","settings"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,IAAI,IAAIC,IAAjB,QAA6B,kBAA7B;AAEA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,OAAOC,IAAP,MAAiB,QAAjB;AACA,OAAOC,IAAP,MAAiB,QAAjB;AAEA,MAAM;AAAEC,EAAAA;AAAF,IAAWC,QAAjB;AACA,SAASA,QAAT,EAAmBD,IAAnB;AAEA,OAAO,MAAME,QAAQ,GAAG;AACvBL,EAAAA,IADuB;AAEvBC,EAAAA,IAFuB;AAGvBC,EAAAA;AAHuB,CAAjB","sourcesContent":["/**\n * WordPress dependencies\n */\nimport { loop as icon } from '@wordpress/icons';\n\n/**\n * Internal dependencies\n */\nimport metadata from './block.json';\nimport edit from './edit';\nimport save from './save';\n\nconst { name } = metadata;\nexport { metadata, name };\n\nexport const settings = {\n\ticon,\n\tedit,\n\tsave,\n};\n"]}
|
|
@@ -29,10 +29,12 @@ const metadata = {
|
|
|
29
29
|
typography: {
|
|
30
30
|
fontSize: true,
|
|
31
31
|
lineHeight: true,
|
|
32
|
-
|
|
32
|
+
__experimentalFontFamily: true,
|
|
33
33
|
__experimentalFontWeight: true,
|
|
34
|
-
|
|
34
|
+
__experimentalFontStyle: true,
|
|
35
35
|
__experimentalTextTransform: true,
|
|
36
|
+
__experimentalTextDecoration: true,
|
|
37
|
+
__experimentalLetterSpacing: true,
|
|
36
38
|
__experimentalDefaultControls: {
|
|
37
39
|
fontSize: true
|
|
38
40
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["@wordpress/block-library/src/query-pagination-numbers/index.js"],"names":["queryPaginationNumbers","icon","edit","name","metadata","settings"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,sBAAsB,IAAIC,IAAnC,QAA+C,kBAA/C;AAEA;AACA;AACA
|
|
1
|
+
{"version":3,"sources":["@wordpress/block-library/src/query-pagination-numbers/index.js"],"names":["queryPaginationNumbers","icon","edit","name","metadata","settings"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,sBAAsB,IAAIC,IAAnC,QAA+C,kBAA/C;AAEA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,OAAOC,IAAP,MAAiB,QAAjB;AAEA,MAAM;AAAEC,EAAAA;AAAF,IAAWC,QAAjB;AACA,SAASA,QAAT,EAAmBD,IAAnB;AAEA,OAAO,MAAME,QAAQ,GAAG;AACvBJ,EAAAA,IADuB;AAEvBC,EAAAA;AAFuB,CAAjB","sourcesContent":["/**\n * WordPress dependencies\n */\nimport { queryPaginationNumbers as icon } from '@wordpress/icons';\n\n/**\n * Internal dependencies\n */\nimport metadata from './block.json';\nimport edit from './edit';\n\nconst { name } = metadata;\nexport { metadata, name };\n\nexport const settings = {\n\ticon,\n\tedit,\n};\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["@wordpress/block-library/src/query-title/index.js"],"names":["edit","variations","deprecated","title","icon","name","metadata","settings"],"mappings":"AAAA;AACA;AACA
|
|
1
|
+
{"version":3,"sources":["@wordpress/block-library/src/query-title/index.js"],"names":["edit","variations","deprecated","title","icon","name","metadata","settings"],"mappings":"AAAA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,OAAOA,IAAP,MAAiB,QAAjB;AACA,OAAOC,UAAP,MAAuB,cAAvB;AACA,OAAOC,UAAP,MAAuB,cAAvB;AAEA;AACA;AACA;;AACA,SAASC,KAAK,IAAIC,IAAlB,QAA8B,kBAA9B;AAEA,MAAM;AAAEC,EAAAA;AAAF,IAAWC,QAAjB;AACA,SAASA,QAAT,EAAmBD,IAAnB;AAEA,OAAO,MAAME,QAAQ,GAAG;AACvBH,EAAAA,IADuB;AAEvBJ,EAAAA,IAFuB;AAGvBC,EAAAA,UAHuB;AAIvBC,EAAAA;AAJuB,CAAjB","sourcesContent":["/**\n * Internal dependencies\n */\nimport metadata from './block.json';\nimport edit from './edit';\nimport variations from './variations';\nimport deprecated from './deprecated';\n\n/**\n * WordPress dependencies\n */\nimport { title as icon } from '@wordpress/icons';\n\nconst { name } = metadata;\nexport { metadata, name };\n\nexport const settings = {\n\ticon,\n\tedit,\n\tvariations,\n\tdeprecated,\n};\n"]}
|
|
@@ -45,10 +45,12 @@ const metadata = {
|
|
|
45
45
|
typography: {
|
|
46
46
|
fontSize: true,
|
|
47
47
|
lineHeight: true,
|
|
48
|
-
|
|
48
|
+
__experimentalFontFamily: true,
|
|
49
49
|
__experimentalFontWeight: true,
|
|
50
|
-
|
|
50
|
+
__experimentalFontStyle: true,
|
|
51
51
|
__experimentalTextTransform: true,
|
|
52
|
+
__experimentalTextDecoration: true,
|
|
53
|
+
__experimentalLetterSpacing: true,
|
|
52
54
|
__experimentalDefaultControls: {
|
|
53
55
|
fontSize: true,
|
|
54
56
|
fontAppearance: true
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["@wordpress/block-library/src/quote/index.js"],"names":["__","quote","icon","deprecated","edit","save","transforms","name","metadata","settings","example","attributes","citation","innerBlocks","content"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,EAAT,QAAmB,iBAAnB;AACA,SAASC,KAAK,IAAIC,IAAlB,QAA8B,kBAA9B;AAEA;AACA;AACA;;AACA,OAAOC,UAAP,MAAuB,cAAvB;AACA,OAAOC,IAAP,MAAiB,QAAjB
|
|
1
|
+
{"version":3,"sources":["@wordpress/block-library/src/quote/index.js"],"names":["__","quote","icon","deprecated","edit","save","transforms","name","metadata","settings","example","attributes","citation","innerBlocks","content"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,EAAT,QAAmB,iBAAnB;AACA,SAASC,KAAK,IAAIC,IAAlB,QAA8B,kBAA9B;AAEA;AACA;AACA;;AACA,OAAOC,UAAP,MAAuB,cAAvB;AACA,OAAOC,IAAP,MAAiB,QAAjB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,OAAOC,IAAP,MAAiB,QAAjB;AACA,OAAOC,UAAP,MAAuB,cAAvB;AAEA,MAAM;AAAEC,EAAAA;AAAF,IAAWC,QAAjB;AAEA,SAASA,QAAT,EAAmBD,IAAnB;AAEA,OAAO,MAAME,QAAQ,GAAG;AACvBP,EAAAA,IADuB;AAEvBQ,EAAAA,OAAO,EAAE;AACRC,IAAAA,UAAU,EAAE;AACXC,MAAAA,QAAQ,EAAE;AADC,KADJ;AAIRC,IAAAA,WAAW,EAAE,CACZ;AACCN,MAAAA,IAAI,EAAE,gBADP;AAECI,MAAAA,UAAU,EAAE;AACXG,QAAAA,OAAO,EAAEd,EAAE,CAAE,uCAAF;AADA;AAFb,KADY;AAJL,GAFc;AAevBM,EAAAA,UAfuB;AAgBvBF,EAAAA,IAhBuB;AAiBvBC,EAAAA,IAjBuB;AAkBvBF,EAAAA;AAlBuB,CAAjB","sourcesContent":["/**\n * WordPress dependencies\n */\nimport { __ } from '@wordpress/i18n';\nimport { quote as icon } from '@wordpress/icons';\n\n/**\n * Internal dependencies\n */\nimport deprecated from './deprecated';\nimport edit from './edit';\nimport metadata from './block.json';\nimport save from './save';\nimport transforms from './transforms';\n\nconst { name } = metadata;\n\nexport { metadata, name };\n\nexport const settings = {\n\ticon,\n\texample: {\n\t\tattributes: {\n\t\t\tcitation: 'Julio Cortázar',\n\t\t},\n\t\tinnerBlocks: [\n\t\t\t{\n\t\t\t\tname: 'core/paragraph',\n\t\t\t\tattributes: {\n\t\t\t\t\tcontent: __( 'In quoting others, we cite ourselves.' ),\n\t\t\t\t},\n\t\t\t},\n\t\t],\n\t},\n\ttransforms,\n\tedit,\n\tsave,\n\tdeprecated,\n};\n"]}
|
|
@@ -36,6 +36,12 @@ const metadata = {
|
|
|
36
36
|
typography: {
|
|
37
37
|
fontSize: true,
|
|
38
38
|
lineHeight: true,
|
|
39
|
+
__experimentalFontFamily: true,
|
|
40
|
+
__experimentalFontWeight: true,
|
|
41
|
+
__experimentalFontStyle: true,
|
|
42
|
+
__experimentalTextTransform: true,
|
|
43
|
+
__experimentalTextDecoration: true,
|
|
44
|
+
__experimentalLetterSpacing: true,
|
|
39
45
|
__experimentalDefaultControls: {
|
|
40
46
|
fontSize: true
|
|
41
47
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["@wordpress/block-library/src/term-description/index.js"],"names":["termDescription","icon","edit","name","metadata","settings"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,eAAe,IAAIC,IAA5B,QAAwC,kBAAxC;AAEA;AACA;AACA
|
|
1
|
+
{"version":3,"sources":["@wordpress/block-library/src/term-description/index.js"],"names":["termDescription","icon","edit","name","metadata","settings"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,eAAe,IAAIC,IAA5B,QAAwC,kBAAxC;AAEA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,OAAOC,IAAP,MAAiB,QAAjB;AAEA,MAAM;AAAEC,EAAAA;AAAF,IAAWC,QAAjB;AACA,SAASA,QAAT,EAAmBD,IAAnB;AAEA,OAAO,MAAME,QAAQ,GAAG;AACvBJ,EAAAA,IADuB;AAEvBC,EAAAA;AAFuB,CAAjB","sourcesContent":["/**\n * WordPress dependencies\n */\nimport { termDescription as icon } from '@wordpress/icons';\n\n/**\n * Internal dependencies\n */\nimport metadata from './block.json';\nimport edit from './edit';\n\nconst { name } = metadata;\nexport { metadata, name };\n\nexport const settings = {\n\ticon,\n\tedit,\n};\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["@wordpress/block-library/src/verse/index.js"],"names":["__","verse","icon","deprecated","edit","save","transforms","name","metadata","settings","example","attributes","content","merge","attributesToMerge"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,EAAT,QAAmB,iBAAnB;AACA,SAASC,KAAK,IAAIC,IAAlB,QAA8B,kBAA9B;AAEA;AACA;AACA;;AACA,OAAOC,UAAP,MAAuB,cAAvB;AACA,OAAOC,IAAP,MAAiB,QAAjB
|
|
1
|
+
{"version":3,"sources":["@wordpress/block-library/src/verse/index.js"],"names":["__","verse","icon","deprecated","edit","save","transforms","name","metadata","settings","example","attributes","content","merge","attributesToMerge"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,EAAT,QAAmB,iBAAnB;AACA,SAASC,KAAK,IAAIC,IAAlB,QAA8B,kBAA9B;AAEA;AACA;AACA;;AACA,OAAOC,UAAP,MAAuB,cAAvB;AACA,OAAOC,IAAP,MAAiB,QAAjB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,OAAOC,IAAP,MAAiB,QAAjB;AACA,OAAOC,UAAP,MAAuB,cAAvB;AAEA,MAAM;AAAEC,EAAAA;AAAF,IAAWC,QAAjB;AAEA,SAASA,QAAT,EAAmBD,IAAnB;AAEA,OAAO,MAAME,QAAQ,GAAG;AACvBP,EAAAA,IADuB;AAEvBQ,EAAAA,OAAO,EAAE;AACRC,IAAAA,UAAU,EAAE;AACX;AACA;AACAC,MAAAA,OAAO,EAAEZ,EAAE,CACV,yOADU;AAGX;;AANW;AADJ,GAFc;AAYvBM,EAAAA,UAZuB;AAavBH,EAAAA,UAbuB;;AAcvBU,EAAAA,KAAK,CAAEF,UAAF,EAAcG,iBAAd,EAAkC;AACtC,WAAO;AACNF,MAAAA,OAAO,EAAED,UAAU,CAACC,OAAX,GAAqBE,iBAAiB,CAACF;AAD1C,KAAP;AAGA,GAlBsB;;AAmBvBR,EAAAA,IAnBuB;AAoBvBC,EAAAA;AApBuB,CAAjB","sourcesContent":["/**\n * WordPress dependencies\n */\nimport { __ } from '@wordpress/i18n';\nimport { verse as icon } from '@wordpress/icons';\n\n/**\n * Internal dependencies\n */\nimport deprecated from './deprecated';\nimport edit from './edit';\nimport metadata from './block.json';\nimport save from './save';\nimport transforms from './transforms';\n\nconst { name } = metadata;\n\nexport { metadata, name };\n\nexport const settings = {\n\ticon,\n\texample: {\n\t\tattributes: {\n\t\t\t/* eslint-disable @wordpress/i18n-no-collapsible-whitespace */\n\t\t\t// translators: Sample content for the Verse block. Can be replaced with a more locale-adequate work.\n\t\t\tcontent: __(\n\t\t\t\t'WHAT was he doing, the great god Pan,\\n\tDown in the reeds by the river?\\nSpreading ruin and scattering ban,\\nSplashing and paddling with hoofs of a goat,\\nAnd breaking the golden lilies afloat\\n With the dragon-fly on the river.'\n\t\t\t),\n\t\t\t/* eslint-enable @wordpress/i18n-no-collapsible-whitespace */\n\t\t},\n\t},\n\ttransforms,\n\tdeprecated,\n\tmerge( attributes, attributesToMerge ) {\n\t\treturn {\n\t\t\tcontent: attributes.content + attributesToMerge.content,\n\t\t};\n\t},\n\tedit,\n\tsave,\n};\n"]}
|
|
@@ -75,16 +75,12 @@
|
|
|
75
75
|
* Reset the WP Admin page styles for Gutenberg-like pages.
|
|
76
76
|
*/
|
|
77
77
|
.wp-block-button__link {
|
|
78
|
-
box-shadow: none;
|
|
79
78
|
cursor: pointer;
|
|
80
79
|
display: inline-block;
|
|
81
80
|
text-align: center;
|
|
82
81
|
word-break: break-word;
|
|
83
82
|
box-sizing: border-box;
|
|
84
83
|
}
|
|
85
|
-
.wp-block-button__link:hover, .wp-block-button__link:focus, .wp-block-button__link:active, .wp-block-button__link:visited {
|
|
86
|
-
color: #fff;
|
|
87
|
-
}
|
|
88
84
|
.wp-block-button__link.aligncenter {
|
|
89
85
|
text-align: center;
|
|
90
86
|
}
|
|
@@ -93,6 +89,7 @@
|
|
|
93
89
|
}
|
|
94
90
|
|
|
95
91
|
:where(.wp-block-button__link) {
|
|
92
|
+
box-shadow: none;
|
|
96
93
|
text-decoration: none;
|
|
97
94
|
border-radius: 9999px;
|
|
98
95
|
padding: calc(0.667em + 2px) calc(1.333em + 2px);
|
|
@@ -75,16 +75,12 @@
|
|
|
75
75
|
* Reset the WP Admin page styles for Gutenberg-like pages.
|
|
76
76
|
*/
|
|
77
77
|
.wp-block-button__link {
|
|
78
|
-
box-shadow: none;
|
|
79
78
|
cursor: pointer;
|
|
80
79
|
display: inline-block;
|
|
81
80
|
text-align: center;
|
|
82
81
|
word-break: break-word;
|
|
83
82
|
box-sizing: border-box;
|
|
84
83
|
}
|
|
85
|
-
.wp-block-button__link:hover, .wp-block-button__link:focus, .wp-block-button__link:active, .wp-block-button__link:visited {
|
|
86
|
-
color: #fff;
|
|
87
|
-
}
|
|
88
84
|
.wp-block-button__link.aligncenter {
|
|
89
85
|
text-align: center;
|
|
90
86
|
}
|
|
@@ -94,6 +90,7 @@
|
|
|
94
90
|
}
|
|
95
91
|
|
|
96
92
|
:where(.wp-block-button__link) {
|
|
93
|
+
box-shadow: none;
|
|
97
94
|
text-decoration: none;
|
|
98
95
|
border-radius: 9999px;
|
|
99
96
|
padding: calc(0.667em + 2px) calc(1.333em + 2px);
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Colors
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Breakpoints & Media Queries
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* SCSS Variables.
|
|
9
|
+
*
|
|
10
|
+
* Please use variables from this sheet to ensure consistency across the UI.
|
|
11
|
+
* Don't add to this sheet unless you're pretty sure the value will be reused in many places.
|
|
12
|
+
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Colors
|
|
16
|
+
*/
|
|
17
|
+
/**
|
|
18
|
+
* Fonts & basic variables.
|
|
19
|
+
*/
|
|
20
|
+
/**
|
|
21
|
+
* Grid System.
|
|
22
|
+
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
|
23
|
+
*/
|
|
24
|
+
/**
|
|
25
|
+
* Dimensions.
|
|
26
|
+
*/
|
|
27
|
+
/**
|
|
28
|
+
* Shadows.
|
|
29
|
+
*/
|
|
30
|
+
/**
|
|
31
|
+
* Editor widths.
|
|
32
|
+
*/
|
|
33
|
+
/**
|
|
34
|
+
* Block & Editor UI.
|
|
35
|
+
*/
|
|
36
|
+
/**
|
|
37
|
+
* Block paddings.
|
|
38
|
+
*/
|
|
39
|
+
/**
|
|
40
|
+
* React Native specific.
|
|
41
|
+
* These variables do not appear to be used anywhere else.
|
|
42
|
+
*/
|
|
43
|
+
/**
|
|
44
|
+
* Converts a hex value into the rgb equivalent.
|
|
45
|
+
*
|
|
46
|
+
* @param {string} hex - the hexadecimal value to convert
|
|
47
|
+
* @return {string} comma separated rgb values
|
|
48
|
+
*/
|
|
49
|
+
/**
|
|
50
|
+
* Breakpoint mixins
|
|
51
|
+
*/
|
|
52
|
+
/**
|
|
53
|
+
* Long content fade mixin
|
|
54
|
+
*
|
|
55
|
+
* Creates a fading overlay to signify that the content is longer
|
|
56
|
+
* than the space allows.
|
|
57
|
+
*/
|
|
58
|
+
/**
|
|
59
|
+
* Focus styles.
|
|
60
|
+
*/
|
|
61
|
+
/**
|
|
62
|
+
* Applies editor left position to the selector passed as argument
|
|
63
|
+
*/
|
|
64
|
+
/**
|
|
65
|
+
* Styles that are reused verbatim in a few places
|
|
66
|
+
*/
|
|
67
|
+
/**
|
|
68
|
+
* Allows users to opt-out of animations via OS-level preferences.
|
|
69
|
+
*/
|
|
70
|
+
/**
|
|
71
|
+
* Reset default styles for JavaScript UI based pages.
|
|
72
|
+
* This is a WP-admin agnostic reset
|
|
73
|
+
*/
|
|
74
|
+
/**
|
|
75
|
+
* Reset the WP Admin page styles for Gutenberg-like pages.
|
|
76
|
+
*/
|
|
77
|
+
.wp-block-code code {
|
|
78
|
+
background: none;
|
|
79
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Colors
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Breakpoints & Media Queries
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* SCSS Variables.
|
|
9
|
+
*
|
|
10
|
+
* Please use variables from this sheet to ensure consistency across the UI.
|
|
11
|
+
* Don't add to this sheet unless you're pretty sure the value will be reused in many places.
|
|
12
|
+
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Colors
|
|
16
|
+
*/
|
|
17
|
+
/**
|
|
18
|
+
* Fonts & basic variables.
|
|
19
|
+
*/
|
|
20
|
+
/**
|
|
21
|
+
* Grid System.
|
|
22
|
+
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
|
23
|
+
*/
|
|
24
|
+
/**
|
|
25
|
+
* Dimensions.
|
|
26
|
+
*/
|
|
27
|
+
/**
|
|
28
|
+
* Shadows.
|
|
29
|
+
*/
|
|
30
|
+
/**
|
|
31
|
+
* Editor widths.
|
|
32
|
+
*/
|
|
33
|
+
/**
|
|
34
|
+
* Block & Editor UI.
|
|
35
|
+
*/
|
|
36
|
+
/**
|
|
37
|
+
* Block paddings.
|
|
38
|
+
*/
|
|
39
|
+
/**
|
|
40
|
+
* React Native specific.
|
|
41
|
+
* These variables do not appear to be used anywhere else.
|
|
42
|
+
*/
|
|
43
|
+
/**
|
|
44
|
+
* Converts a hex value into the rgb equivalent.
|
|
45
|
+
*
|
|
46
|
+
* @param {string} hex - the hexadecimal value to convert
|
|
47
|
+
* @return {string} comma separated rgb values
|
|
48
|
+
*/
|
|
49
|
+
/**
|
|
50
|
+
* Breakpoint mixins
|
|
51
|
+
*/
|
|
52
|
+
/**
|
|
53
|
+
* Long content fade mixin
|
|
54
|
+
*
|
|
55
|
+
* Creates a fading overlay to signify that the content is longer
|
|
56
|
+
* than the space allows.
|
|
57
|
+
*/
|
|
58
|
+
/**
|
|
59
|
+
* Focus styles.
|
|
60
|
+
*/
|
|
61
|
+
/**
|
|
62
|
+
* Applies editor left position to the selector passed as argument
|
|
63
|
+
*/
|
|
64
|
+
/**
|
|
65
|
+
* Styles that are reused verbatim in a few places
|
|
66
|
+
*/
|
|
67
|
+
/**
|
|
68
|
+
* Allows users to opt-out of animations via OS-level preferences.
|
|
69
|
+
*/
|
|
70
|
+
/**
|
|
71
|
+
* Reset default styles for JavaScript UI based pages.
|
|
72
|
+
* This is a WP-admin agnostic reset
|
|
73
|
+
*/
|
|
74
|
+
/**
|
|
75
|
+
* Reset the WP Admin page styles for Gutenberg-like pages.
|
|
76
|
+
*/
|
|
77
|
+
.wp-block-code code {
|
|
78
|
+
background: none;
|
|
79
|
+
}
|
|
@@ -229,6 +229,10 @@ div[data-type="core/button"] {
|
|
|
229
229
|
margin-top: 6px;
|
|
230
230
|
}
|
|
231
231
|
|
|
232
|
+
.wp-block-code code {
|
|
233
|
+
background: none;
|
|
234
|
+
}
|
|
235
|
+
|
|
232
236
|
.wp-block-columns :where(.wp-block) {
|
|
233
237
|
max-width: none;
|
|
234
238
|
margin-right: 0;
|
|
@@ -450,9 +454,6 @@ html :where(.wp-block-column) {
|
|
|
450
454
|
transform: translate(50%, -50%);
|
|
451
455
|
margin: 0;
|
|
452
456
|
}
|
|
453
|
-
.wp-block-cover .block-editor-block-list__layout {
|
|
454
|
-
width: 100%;
|
|
455
|
-
}
|
|
456
457
|
.wp-block-cover .wp-block-cover__inner-container {
|
|
457
458
|
text-align: right;
|
|
458
459
|
margin-right: 0;
|
|
@@ -1093,34 +1094,14 @@ figure.wp-block-gallery .components-spinner {
|
|
|
1093
1094
|
.wp-block-group.is-layout-flex.block-editor-block-list__block > .block-list-appender:only-child::after {
|
|
1094
1095
|
content: "";
|
|
1095
1096
|
display: flex;
|
|
1096
|
-
border: 1px dashed currentColor;
|
|
1097
|
-
opacity: 0.4;
|
|
1098
|
-
border-radius: 2px;
|
|
1099
1097
|
flex: 1 0 48px;
|
|
1100
1098
|
pointer-events: none;
|
|
1101
1099
|
min-height: 46px;
|
|
1102
|
-
}
|
|
1103
|
-
.wp-block-group.is-layout-flex.block-editor-block-list__block > .block-list-appender:only-child .block-editor-inserter {
|
|
1104
|
-
pointer-events: all;
|
|
1105
|
-
}
|
|
1106
|
-
|
|
1107
|
-
.is-layout-flow.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child {
|
|
1108
|
-
pointer-events: none;
|
|
1109
|
-
}
|
|
1110
|
-
.is-layout-flow.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child::after {
|
|
1111
|
-
content: "";
|
|
1112
|
-
position: absolute;
|
|
1113
|
-
top: 0;
|
|
1114
|
-
left: 0;
|
|
1115
|
-
bottom: 0;
|
|
1116
|
-
right: 0;
|
|
1117
1100
|
border: 1px dashed currentColor;
|
|
1118
|
-
opacity: 0.4;
|
|
1119
1101
|
border-radius: 2px;
|
|
1120
|
-
pointer-events: none;
|
|
1121
1102
|
}
|
|
1122
|
-
.is-layout-
|
|
1123
|
-
|
|
1103
|
+
.wp-block-group.is-layout-flex.block-editor-block-list__block > .block-list-appender:only-child .block-editor-inserter {
|
|
1104
|
+
pointer-events: all;
|
|
1124
1105
|
}
|
|
1125
1106
|
|
|
1126
1107
|
.block-library-html__edit .block-library-html__preview-overlay {
|
|
@@ -1603,14 +1584,13 @@ figure.wp-block-image:not(.wp-block) {
|
|
|
1603
1584
|
left: 0;
|
|
1604
1585
|
bottom: 0;
|
|
1605
1586
|
right: 0;
|
|
1606
|
-
border: 1px dashed currentColor;
|
|
1607
|
-
opacity: 0.4;
|
|
1608
1587
|
pointer-events: none;
|
|
1588
|
+
border: 1px dashed currentColor;
|
|
1589
|
+
border-radius: 2px;
|
|
1609
1590
|
border-radius: inherit;
|
|
1610
1591
|
}
|
|
1611
1592
|
.wp-block-navigation-placeholder__preview > svg {
|
|
1612
1593
|
fill: currentColor;
|
|
1613
|
-
opacity: 0.4;
|
|
1614
1594
|
}
|
|
1615
1595
|
|
|
1616
1596
|
.wp-block-navigation.is-vertical .is-small .components-placeholder__fieldset,
|
|
@@ -1809,17 +1789,6 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
1809
1789
|
padding: 8px 12px;
|
|
1810
1790
|
}
|
|
1811
1791
|
|
|
1812
|
-
.wp-block-navigation__unsaved-changes {
|
|
1813
|
-
position: relative;
|
|
1814
|
-
}
|
|
1815
|
-
.wp-block-navigation__unsaved-changes .components-spinner {
|
|
1816
|
-
position: absolute;
|
|
1817
|
-
top: calc(50% - 16px / 2);
|
|
1818
|
-
right: calc(50% - 16px / 2);
|
|
1819
|
-
opacity: 0;
|
|
1820
|
-
animation: 0.5s linear 2s normal forwards fadein;
|
|
1821
|
-
}
|
|
1822
|
-
|
|
1823
1792
|
@keyframes fadeouthalf {
|
|
1824
1793
|
0% {
|
|
1825
1794
|
opacity: 1;
|
|
@@ -1828,11 +1797,6 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
1828
1797
|
opacity: 0.5;
|
|
1829
1798
|
}
|
|
1830
1799
|
}
|
|
1831
|
-
.wp-block-navigation__unsaved-changes-overlay.is-saving {
|
|
1832
|
-
opacity: 1;
|
|
1833
|
-
animation: 0.5s linear 2s normal forwards fadeouthalf;
|
|
1834
|
-
}
|
|
1835
|
-
|
|
1836
1800
|
.wp-block-navigation-delete-menu-button {
|
|
1837
1801
|
width: 100%;
|
|
1838
1802
|
justify-content: center;
|
|
@@ -1842,6 +1806,7 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
1842
1806
|
.wp-block-navigation__overlay-menu-preview {
|
|
1843
1807
|
display: flex;
|
|
1844
1808
|
align-items: center;
|
|
1809
|
+
justify-content: space-between;
|
|
1845
1810
|
width: 100%;
|
|
1846
1811
|
background-color: #f0f0f0;
|
|
1847
1812
|
padding: 0 24px;
|
package/build-style/editor.css
CHANGED
|
@@ -230,6 +230,10 @@ div[data-type="core/button"] {
|
|
|
230
230
|
margin-top: 6px;
|
|
231
231
|
}
|
|
232
232
|
|
|
233
|
+
.wp-block-code code {
|
|
234
|
+
background: none;
|
|
235
|
+
}
|
|
236
|
+
|
|
233
237
|
.wp-block-columns :where(.wp-block) {
|
|
234
238
|
max-width: none;
|
|
235
239
|
margin-left: 0;
|
|
@@ -454,9 +458,6 @@ html :where(.wp-block-column) {
|
|
|
454
458
|
transform: translate(-50%, -50%);
|
|
455
459
|
margin: 0;
|
|
456
460
|
}
|
|
457
|
-
.wp-block-cover .block-editor-block-list__layout {
|
|
458
|
-
width: 100%;
|
|
459
|
-
}
|
|
460
461
|
.wp-block-cover .wp-block-cover__inner-container {
|
|
461
462
|
text-align: left;
|
|
462
463
|
margin-left: 0;
|
|
@@ -1101,34 +1102,14 @@ figure.wp-block-gallery .components-spinner {
|
|
|
1101
1102
|
.wp-block-group.is-layout-flex.block-editor-block-list__block > .block-list-appender:only-child::after {
|
|
1102
1103
|
content: "";
|
|
1103
1104
|
display: flex;
|
|
1104
|
-
border: 1px dashed currentColor;
|
|
1105
|
-
opacity: 0.4;
|
|
1106
|
-
border-radius: 2px;
|
|
1107
1105
|
flex: 1 0 48px;
|
|
1108
1106
|
pointer-events: none;
|
|
1109
1107
|
min-height: 46px;
|
|
1110
|
-
}
|
|
1111
|
-
.wp-block-group.is-layout-flex.block-editor-block-list__block > .block-list-appender:only-child .block-editor-inserter {
|
|
1112
|
-
pointer-events: all;
|
|
1113
|
-
}
|
|
1114
|
-
|
|
1115
|
-
.is-layout-flow.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child {
|
|
1116
|
-
pointer-events: none;
|
|
1117
|
-
}
|
|
1118
|
-
.is-layout-flow.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child::after {
|
|
1119
|
-
content: "";
|
|
1120
|
-
position: absolute;
|
|
1121
|
-
top: 0;
|
|
1122
|
-
right: 0;
|
|
1123
|
-
bottom: 0;
|
|
1124
|
-
left: 0;
|
|
1125
1108
|
border: 1px dashed currentColor;
|
|
1126
|
-
opacity: 0.4;
|
|
1127
1109
|
border-radius: 2px;
|
|
1128
|
-
pointer-events: none;
|
|
1129
1110
|
}
|
|
1130
|
-
.is-layout-
|
|
1131
|
-
|
|
1111
|
+
.wp-block-group.is-layout-flex.block-editor-block-list__block > .block-list-appender:only-child .block-editor-inserter {
|
|
1112
|
+
pointer-events: all;
|
|
1132
1113
|
}
|
|
1133
1114
|
|
|
1134
1115
|
.block-library-html__edit .block-library-html__preview-overlay {
|
|
@@ -1611,14 +1592,13 @@ figure.wp-block-image:not(.wp-block) {
|
|
|
1611
1592
|
right: 0;
|
|
1612
1593
|
bottom: 0;
|
|
1613
1594
|
left: 0;
|
|
1614
|
-
border: 1px dashed currentColor;
|
|
1615
|
-
opacity: 0.4;
|
|
1616
1595
|
pointer-events: none;
|
|
1596
|
+
border: 1px dashed currentColor;
|
|
1597
|
+
border-radius: 2px;
|
|
1617
1598
|
border-radius: inherit;
|
|
1618
1599
|
}
|
|
1619
1600
|
.wp-block-navigation-placeholder__preview > svg {
|
|
1620
1601
|
fill: currentColor;
|
|
1621
|
-
opacity: 0.4;
|
|
1622
1602
|
}
|
|
1623
1603
|
|
|
1624
1604
|
.wp-block-navigation.is-vertical .is-small .components-placeholder__fieldset,
|
|
@@ -1817,17 +1797,6 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
1817
1797
|
padding: 8px 12px;
|
|
1818
1798
|
}
|
|
1819
1799
|
|
|
1820
|
-
.wp-block-navigation__unsaved-changes {
|
|
1821
|
-
position: relative;
|
|
1822
|
-
}
|
|
1823
|
-
.wp-block-navigation__unsaved-changes .components-spinner {
|
|
1824
|
-
position: absolute;
|
|
1825
|
-
top: calc(50% - 16px / 2);
|
|
1826
|
-
left: calc(50% - 16px / 2);
|
|
1827
|
-
opacity: 0;
|
|
1828
|
-
animation: 0.5s linear 2s normal forwards fadein;
|
|
1829
|
-
}
|
|
1830
|
-
|
|
1831
1800
|
@keyframes fadeouthalf {
|
|
1832
1801
|
0% {
|
|
1833
1802
|
opacity: 1;
|
|
@@ -1836,11 +1805,6 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
1836
1805
|
opacity: 0.5;
|
|
1837
1806
|
}
|
|
1838
1807
|
}
|
|
1839
|
-
.wp-block-navigation__unsaved-changes-overlay.is-saving {
|
|
1840
|
-
opacity: 1;
|
|
1841
|
-
animation: 0.5s linear 2s normal forwards fadeouthalf;
|
|
1842
|
-
}
|
|
1843
|
-
|
|
1844
1808
|
.wp-block-navigation-delete-menu-button {
|
|
1845
1809
|
width: 100%;
|
|
1846
1810
|
justify-content: center;
|
|
@@ -1850,6 +1814,7 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
1850
1814
|
.wp-block-navigation__overlay-menu-preview {
|
|
1851
1815
|
display: flex;
|
|
1852
1816
|
align-items: center;
|
|
1817
|
+
justify-content: space-between;
|
|
1853
1818
|
width: 100%;
|
|
1854
1819
|
background-color: #f0f0f0;
|
|
1855
1820
|
padding: 0 24px;
|
|
@@ -106,32 +106,12 @@
|
|
|
106
106
|
.wp-block-group.is-layout-flex.block-editor-block-list__block > .block-list-appender:only-child::after {
|
|
107
107
|
content: "";
|
|
108
108
|
display: flex;
|
|
109
|
-
border: 1px dashed currentColor;
|
|
110
|
-
opacity: 0.4;
|
|
111
|
-
border-radius: 2px;
|
|
112
109
|
flex: 1 0 48px;
|
|
113
110
|
pointer-events: none;
|
|
114
111
|
min-height: 46px;
|
|
115
|
-
}
|
|
116
|
-
.wp-block-group.is-layout-flex.block-editor-block-list__block > .block-list-appender:only-child .block-editor-inserter {
|
|
117
|
-
pointer-events: all;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
.is-layout-flow.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child {
|
|
121
|
-
pointer-events: none;
|
|
122
|
-
}
|
|
123
|
-
.is-layout-flow.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child::after {
|
|
124
|
-
content: "";
|
|
125
|
-
position: absolute;
|
|
126
|
-
top: 0;
|
|
127
|
-
left: 0;
|
|
128
|
-
bottom: 0;
|
|
129
|
-
right: 0;
|
|
130
112
|
border: 1px dashed currentColor;
|
|
131
|
-
opacity: 0.4;
|
|
132
113
|
border-radius: 2px;
|
|
133
|
-
pointer-events: none;
|
|
134
114
|
}
|
|
135
|
-
.is-layout-
|
|
136
|
-
|
|
115
|
+
.wp-block-group.is-layout-flex.block-editor-block-list__block > .block-list-appender:only-child .block-editor-inserter {
|
|
116
|
+
pointer-events: all;
|
|
137
117
|
}
|