@secretstache/wordpress-gutenberg 0.4.12 → 0.4.14

Sign up to get free protection for your applications and to get access to all the features.
package/build/styles.css CHANGED
@@ -20,50 +20,6 @@
20
20
  .editor-styles-wrapper .block-editor-block-list__layout.is-root-container {
21
21
  margin-bottom: 0;
22
22
  padding-bottom: 0; }
23
- .editor-styles-wrapper .block-editor-block-list__layout.is-root-container .bc-image-wrapper {
24
- position: relative;
25
- height: auto;
26
- align-self: start; }
27
- .editor-styles-wrapper .block-editor-block-list__layout.is-root-container .bc-image-wrapper__actions {
28
- display: none;
29
- position: absolute;
30
- top: 0;
31
- left: 0;
32
- right: 0;
33
- bottom: 0;
34
- flex-wrap: nowrap;
35
- justify-content: center;
36
- align-items: center;
37
- gap: 20px;
38
- padding: 5px 15px;
39
- z-index: 20; }
40
- @media screen and (max-width: 768px) {
41
- .editor-styles-wrapper .block-editor-block-list__layout.is-root-container .bc-image-wrapper__actions {
42
- gap: 15px; } }
43
- .editor-styles-wrapper .block-editor-block-list__layout.is-root-container .bc-image-wrapper__btn {
44
- font-size: 14px !important;
45
- backdrop-filter: blur(16px) saturate(180%);
46
- background: rgba(255, 255, 255, 0.75);
47
- flex-grow: 1;
48
- justify-content: center;
49
- max-width: 130px; }
50
- @media screen and (max-width: 768px) {
51
- .editor-styles-wrapper .block-editor-block-list__layout.is-root-container .bc-image-wrapper__btn {
52
- padding: 5px; } }
53
- .editor-styles-wrapper .block-editor-block-list__layout.is-root-container .bc-image-wrapper__overlay {
54
- display: none;
55
- position: absolute;
56
- top: 0;
57
- left: 0;
58
- right: 0;
59
- bottom: 0;
60
- z-index: 10;
61
- background: rgba(255, 255, 255, 0.3);
62
- backdrop-filter: blur(3px); }
63
- .editor-styles-wrapper .block-editor-block-list__layout.is-root-container .bc-image-wrapper:hover .bc-image-wrapper__actions {
64
- display: flex; }
65
- .editor-styles-wrapper .block-editor-block-list__layout.is-root-container .bc-image-wrapper:hover .bc-image-wrapper__overlay {
66
- display: block; }
67
23
  .editor-styles-wrapper .block-editor-block-list__layout.is-root-container .root-block-appender {
68
24
  position: absolute;
69
25
  bottom: 30px;
@@ -180,9 +136,13 @@
180
136
  .editor-styles-wrapper .block-editor-block-list__layout.is-root-container > p.wp-block:only-child {
181
137
  margin: 2rem 0; }
182
138
 
183
- .editor-sidebar .bc-url-input input {
184
- width: 100%;
185
- border: 1px solid #949494; }
139
+ .editor-sidebar .bc-url-input {
140
+ min-width: 100%; }
141
+ .editor-sidebar .bc-url-input input {
142
+ width: 100%;
143
+ border: 1px solid #949494; }
144
+ .editor-sidebar .bc-url-input__suggestions {
145
+ max-width: 245px; }
186
146
 
187
147
  .editor-sidebar .components-base-control .block-editor-link-control .block-editor-url-input {
188
148
  margin-top: 0; }
@@ -267,6 +227,59 @@
267
227
  .editor-sidebar .bc-spacing-range-control .components-base-control__help {
268
228
  margin-left: -11px; }
269
229
 
230
+ .editor-styles-wrapper .block-editor-block-list__layout.is-root-container .bc-image-wrapper,
231
+ .editor-sidebar .bc-image-wrapper {
232
+ position: relative;
233
+ height: auto;
234
+ align-self: start; }
235
+ .editor-styles-wrapper .block-editor-block-list__layout.is-root-container .bc-image-wrapper__actions,
236
+ .editor-sidebar .bc-image-wrapper__actions {
237
+ display: none;
238
+ position: absolute;
239
+ top: 0;
240
+ left: 0;
241
+ right: 0;
242
+ bottom: 0;
243
+ flex-wrap: nowrap;
244
+ justify-content: center;
245
+ align-items: center;
246
+ gap: 20px;
247
+ padding: 5px 15px;
248
+ z-index: 20; }
249
+ @media screen and (max-width: 768px) {
250
+ .editor-styles-wrapper .block-editor-block-list__layout.is-root-container .bc-image-wrapper__actions,
251
+ .editor-sidebar .bc-image-wrapper__actions {
252
+ gap: 15px; } }
253
+ .editor-styles-wrapper .block-editor-block-list__layout.is-root-container .bc-image-wrapper__btn,
254
+ .editor-sidebar .bc-image-wrapper__btn {
255
+ font-size: 14px !important;
256
+ backdrop-filter: blur(16px) saturate(180%);
257
+ background: rgba(255, 255, 255, 0.75);
258
+ flex-grow: 1;
259
+ justify-content: center;
260
+ max-width: 130px; }
261
+ @media screen and (max-width: 768px) {
262
+ .editor-styles-wrapper .block-editor-block-list__layout.is-root-container .bc-image-wrapper__btn,
263
+ .editor-sidebar .bc-image-wrapper__btn {
264
+ padding: 5px; } }
265
+ .editor-styles-wrapper .block-editor-block-list__layout.is-root-container .bc-image-wrapper__overlay,
266
+ .editor-sidebar .bc-image-wrapper__overlay {
267
+ display: none;
268
+ position: absolute;
269
+ top: 0;
270
+ left: 0;
271
+ right: 0;
272
+ bottom: 0;
273
+ z-index: 10;
274
+ background: rgba(255, 255, 255, 0.3);
275
+ backdrop-filter: blur(3px); }
276
+ .editor-styles-wrapper .block-editor-block-list__layout.is-root-container .bc-image-wrapper:hover .bc-image-wrapper__actions,
277
+ .editor-sidebar .bc-image-wrapper:hover .bc-image-wrapper__actions {
278
+ display: flex; }
279
+ .editor-styles-wrapper .block-editor-block-list__layout.is-root-container .bc-image-wrapper:hover .bc-image-wrapper__overlay,
280
+ .editor-sidebar .bc-image-wrapper:hover .bc-image-wrapper__overlay {
281
+ display: block; }
282
+
270
283
  .block-editor-block-types-list > [role=presentation] {
271
284
  justify-content: center; }
272
285
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@secretstache/wordpress-gutenberg",
3
- "version": "0.4.12",
3
+ "version": "0.4.14",
4
4
  "description": "",
5
5
  "author": "Secret Stache",
6
6
  "license": "GPL-2.0-or-later",
@@ -1,10 +1,16 @@
1
1
  // Backward compatibility
2
2
  // TODO: remove when the custom LinkControl will be removed
3
3
  .bc-url-input {
4
+ min-width: 100%;
5
+
4
6
  input {
5
7
  width: 100%;
6
8
  border: 1px solid #949494;
7
9
  }
10
+
11
+ &__suggestions {
12
+ max-width: 245px;
13
+ }
8
14
  }
9
15
 
10
16
  // if the LinkControl is placed inside the BaseControl
@@ -33,7 +33,6 @@
33
33
  }
34
34
 
35
35
  .editor-styles-wrapper .block-editor-block-list__layout.is-root-container {
36
- @import "image-wrapper";
37
36
  @import "root-block-appender";
38
37
  @import "empty-block-appender";
39
38
  @import "new-child-btn";
@@ -74,6 +73,11 @@
74
73
  @import "responsive-spacing";
75
74
  }
76
75
 
76
+ .editor-styles-wrapper .block-editor-block-list__layout.is-root-container,
77
+ .editor-sidebar {
78
+ @import "image-wrapper";
79
+ }
80
+
77
81
  .block-editor-block-types-list > [role=presentation] {
78
82
  justify-content: center;
79
83
  }