@wordpress/block-library 6.0.7 → 6.0.8

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.
Files changed (70) hide show
  1. package/build/cover/transforms.js +2 -0
  2. package/build/cover/transforms.js.map +1 -1
  3. package/build/navigation/edit/index.js +14 -2
  4. package/build/navigation/edit/index.js.map +1 -1
  5. package/build/navigation/edit/inner-blocks.js +1 -1
  6. package/build/navigation/edit/inner-blocks.js.map +1 -1
  7. package/build/navigation/edit/responsive-wrapper.js +5 -2
  8. package/build/navigation/edit/responsive-wrapper.js.map +1 -1
  9. package/build/page-list/edit.js +40 -42
  10. package/build/page-list/edit.js.map +1 -1
  11. package/build/post-featured-image/edit.js +54 -23
  12. package/build/post-featured-image/edit.js.map +1 -1
  13. package/build-module/cover/transforms.js +2 -0
  14. package/build-module/cover/transforms.js.map +1 -1
  15. package/build-module/navigation/edit/index.js +14 -2
  16. package/build-module/navigation/edit/index.js.map +1 -1
  17. package/build-module/navigation/edit/inner-blocks.js +1 -1
  18. package/build-module/navigation/edit/inner-blocks.js.map +1 -1
  19. package/build-module/navigation/edit/responsive-wrapper.js +5 -2
  20. package/build-module/navigation/edit/responsive-wrapper.js.map +1 -1
  21. package/build-module/page-list/edit.js +41 -43
  22. package/build-module/page-list/edit.js.map +1 -1
  23. package/build-module/post-featured-image/edit.js +56 -26
  24. package/build-module/post-featured-image/edit.js.map +1 -1
  25. package/build-style/code/theme-rtl.css +1 -1
  26. package/build-style/code/theme.css +1 -1
  27. package/build-style/cover/style-rtl.css +8 -2
  28. package/build-style/cover/style.css +8 -2
  29. package/build-style/editor-rtl.css +101 -51
  30. package/build-style/editor.css +101 -51
  31. package/build-style/navigation/style-rtl.css +33 -1
  32. package/build-style/navigation/style.css +33 -1
  33. package/build-style/post-comments-form/style-rtl.css +18 -0
  34. package/build-style/post-comments-form/style.css +18 -0
  35. package/build-style/post-featured-image/editor-rtl.css +100 -16
  36. package/build-style/post-featured-image/editor.css +100 -16
  37. package/build-style/social-links/editor-rtl.css +1 -35
  38. package/build-style/social-links/editor.css +1 -35
  39. package/build-style/style-rtl.css +59 -25
  40. package/build-style/style.css +59 -25
  41. package/build-style/theme-rtl.css +1 -1
  42. package/build-style/theme.css +1 -1
  43. package/package.json +7 -7
  44. package/src/calendar/index.php +1 -1
  45. package/src/code/theme.scss +1 -1
  46. package/src/cover/style.scss +9 -2
  47. package/src/cover/transforms.js +2 -0
  48. package/src/gallery/index.php +1 -1
  49. package/src/home-link/index.php +1 -1
  50. package/src/image/index.php +1 -1
  51. package/src/navigation/edit/index.js +25 -0
  52. package/src/navigation/edit/inner-blocks.js +2 -1
  53. package/src/navigation/edit/responsive-wrapper.js +8 -1
  54. package/src/navigation/index.php +45 -5
  55. package/src/navigation/style.scss +46 -2
  56. package/src/navigation-area/index.php +1 -1
  57. package/src/navigation-link/index.php +1 -1
  58. package/src/navigation-submenu/index.php +2 -8
  59. package/src/page-list/edit.js +35 -44
  60. package/src/page-list/index.php +1 -1
  61. package/src/post-comments-form/style.scss +20 -1
  62. package/src/post-featured-image/edit.js +61 -26
  63. package/src/post-featured-image/editor.scss +124 -20
  64. package/src/site-logo/editor.scss +1 -0
  65. package/src/social-links/editor.scss +1 -47
  66. package/src/style.scss +0 -1
  67. package/src/table-of-contents/index.php +1 -1
  68. package/build-style/navigation-submenu/style-rtl.css +0 -97
  69. package/build-style/navigation-submenu/style.css +0 -97
  70. package/src/navigation-submenu/style.scss +0 -25
@@ -1,97 +0,0 @@
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-navigation-submenu {
78
- position: relative;
79
- display: flex;
80
- }
81
- .wp-block-navigation-submenu .wp-block-navigation__submenu-icon svg {
82
- stroke: currentColor;
83
- }
84
-
85
- button.wp-block-navigation-item__content {
86
- background-color: transparent;
87
- border: none;
88
- color: currentColor;
89
- font-size: inherit;
90
- font-family: inherit;
91
- line-height: inherit;
92
- text-align: right;
93
- }
94
-
95
- .wp-block-navigation-submenu__toggle {
96
- cursor: pointer;
97
- }
@@ -1,97 +0,0 @@
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-navigation-submenu {
78
- position: relative;
79
- display: flex;
80
- }
81
- .wp-block-navigation-submenu .wp-block-navigation__submenu-icon svg {
82
- stroke: currentColor;
83
- }
84
-
85
- button.wp-block-navigation-item__content {
86
- background-color: transparent;
87
- border: none;
88
- color: currentColor;
89
- font-size: inherit;
90
- font-family: inherit;
91
- line-height: inherit;
92
- text-align: left;
93
- }
94
-
95
- .wp-block-navigation-submenu__toggle {
96
- cursor: pointer;
97
- }
@@ -1,25 +0,0 @@
1
- .wp-block-navigation-submenu {
2
- position: relative;
3
- display: flex;
4
-
5
- .wp-block-navigation__submenu-icon svg {
6
- stroke: currentColor;
7
- }
8
- }
9
-
10
- button.wp-block-navigation-item__content {
11
- background-color: transparent;
12
- border: none;
13
- color: currentColor;
14
- font-size: inherit;
15
- font-family: inherit;
16
- line-height: inherit;
17
-
18
- // Buttons default to center alignment. This becomes visible
19
- // when a menu item label is long enough to wrap.
20
- text-align: left;
21
- }
22
-
23
- .wp-block-navigation-submenu__toggle {
24
- cursor: pointer;
25
- }