@gem-sdk/styles 1.14.0-next.79 → 1.15.12

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/dist/builder.css CHANGED
@@ -1,4 +1,9 @@
1
- .builder [disabled] {
1
+ .builder {
2
+ -webkit-user-select: none;
3
+ -webkit-touch-callout: none;
4
+ user-select: none;
5
+ }
6
+ .builder [disabled] {
2
7
  pointer-events: auto;
3
8
  }
4
9
  .builder [data-slot='children'] {
@@ -18,7 +23,7 @@
18
23
  }
19
24
  .builder .generate-image-to-layout-btn::before {
20
25
  position: absolute;
21
- content: "";
26
+ content: '';
22
27
  top: 0;
23
28
  right: 0;
24
29
  bottom: 0;
@@ -31,32 +36,32 @@
31
36
  }
32
37
  .builder .btn-disable {
33
38
  background-image: none;
34
- background-color: #F4F4F4;
35
- color: #9E9E9E;
39
+ background-color: #f4f4f4;
40
+ color: #9e9e9e;
36
41
  cursor: not-allowed;
37
42
  }
38
43
  .builder .generate-image-to-layout-btn:hover::before {
39
44
  opacity: 1;
40
45
  }
41
46
  .builder .image-to-layout-input-border {
42
- border: 1px solid #3C38E1;
47
+ border: 1px solid #3c38e1;
43
48
  border-radius: 3px;
44
-
45
49
  }
46
50
  .builder .image-to-layout-input-wrapper-modal {
47
51
  position: relative;
48
52
  }
49
- .builder .image-to-layout-input-wrapper, .builder .image-to-layout-input-wrapper-add-section {
53
+ .builder .image-to-layout-input-wrapper,
54
+ .builder .image-to-layout-input-wrapper-add-section {
50
55
  position: relative;
51
56
  background: #fff;
52
57
  background-clip: padding-box;
53
58
  box-sizing: border-box;
54
59
  }
55
60
  .image-to-layout-input-wrapper-add-section {
56
- border: 1px solid #3C67FF;
61
+ border: 1px solid #3c67ff;
57
62
  }
58
63
  .gps-image-to-layout-progress-bar {
59
- background: linear-gradient(270.07deg, #874CFD 0.03%, #3C38E1 99.92%);
64
+ background: linear-gradient(270.07deg, #874cfd 0.03%, #3c38e1 99.92%);
60
65
  }
61
66
  .drag-placeholder {
62
67
  display: none;
@@ -150,7 +155,7 @@
150
155
  font-size: 14px;
151
156
  line-height: 150%;
152
157
  visibility: visible;
153
- background-color: #8aa4ff66;
158
+ background-color: #8aa4ff66;
154
159
  }
155
160
  #visual-content .fake-placeholder.visual-placeholder-child-on-sections {
156
161
  margin: 16px !important;
@@ -166,11 +171,11 @@
166
171
  #visual-content .fake-placeholder.not-show {
167
172
  display: none;
168
173
  }
169
- #visual-content .fake-placeholder[is-blank-page="true"] {
170
- background-color: #d8e1ff !important;
174
+ #visual-content .fake-placeholder[is-blank-page='true'] {
175
+ background-color: #d8e1ff !important;
171
176
  }
172
- #visual-content .fake-placeholder[is-component-dragging="true"] {
173
- background-color: #8aa4ff66 !important;
177
+ #visual-content .fake-placeholder[is-component-dragging='true'] {
178
+ background-color: #8aa4ff66 !important;
174
179
  }
175
180
  /* section:last-child {
176
181
  [data-slot='children'] {
@@ -230,17 +235,28 @@
230
235
  }
231
236
  .btn-disable::before {
232
237
  background: none !important;
233
- background-color: #F4F4F4 !important;
234
- color: #9E9E9E;
238
+ background-color: #f4f4f4 !important;
239
+ color: #9e9e9e;
235
240
  }
236
241
  .gps-image-detection-section:hover .gps-generating-actions {
237
242
  display: flex;
238
243
  }
239
244
  .gps-generating-section-text {
240
- background: -webkit-linear-gradient(#874CFD, #3C38E1);
245
+ background: -webkit-linear-gradient(#874cfd, #3c38e1);
241
246
  -webkit-background-clip: text;
242
247
  -webkit-text-fill-color: transparent;
243
248
  }
249
+ .ck-blurred {
250
+ cursor: pointer;
251
+ }
252
+ .ck-focused {
253
+ cursor: text;
254
+ }
255
+ .child-item-text.ck-focused {
256
+ border: 0 !important;
257
+ box-shadow: rgba(255, 255, 255, 0) 0px 0px 0px 2px, #3c67ff 0px 0px 0px 1px,
258
+ #3c67ff3d 0px 0px 0px 5px;
259
+ }
244
260
  @media (max-width: 768px) {
245
261
  .gps-suggestion-item:hover .item-link {
246
262
  width: 196px;
@@ -248,4 +264,4 @@
248
264
  .gps-suggestion-item .item-link {
249
265
  width: 196px;
250
266
  }
251
- }
267
+ }
@@ -1 +1 @@
1
- .builder [disabled]{pointer-events:auto}.builder [data-slot=children]{visibility:visible}.builder [data-slot=children]:after{color:#aaa;visibility:visible}.builder [data-slot=children] .drag-placeholder{height:100%}.builder .generate-image-to-layout-btn{background-image:linear-gradient(270.07deg,#874cfd .03%,#3c38e1 99.92%);position:relative;z-index:1}.builder .generate-image-to-layout-btn:before{background-image:linear-gradient(270.07deg,#3633cc .03%,#6d3dcc 99.92%);border-radius:3px;bottom:0;content:"";left:0;opacity:0;position:absolute;right:0;top:0;transition:opacity .3s ease-out;z-index:-1}.builder .btn-disable{background-color:#f4f4f4;background-image:none;color:#9e9e9e;cursor:not-allowed}.builder .generate-image-to-layout-btn:hover:before{opacity:1}.builder .image-to-layout-input-border{border:1px solid #3c38e1;border-radius:3px}.builder .image-to-layout-input-wrapper-modal{position:relative}.builder .image-to-layout-input-wrapper,.builder .image-to-layout-input-wrapper-add-section{background:#fff;background-clip:padding-box;box-sizing:border-box;position:relative}.image-to-layout-input-wrapper-add-section{border:1px solid #3c67ff}.gps-image-to-layout-progress-bar{background:linear-gradient(270.07deg,#874cfd .03%,#3c38e1 99.92%)}.drag-placeholder{display:none;width:100%}#storefront{position:relative;z-index:20}#visual-content{display:none;font-family:Inter,sans-serif,ui-sans-serif,system-ui!important;height:100%;left:0;min-height:100vh;position:absolute;top:0;width:100%;z-index:50}#visual-content .fake-placeholder{background:transparent;background-image:url(//d1um8515vdn9kb.cloudfront.net/images/background-pattern.png);left:0;position:absolute;top:0;visibility:hidden;z-index:10}#visual-content .fake-placeholder.fake-placeholder-slot{background:transparent}#visual-content .fake-placeholder.has-section{background-color:#3c67ff!important;background-image:none;border:none!important;height:6px;margin:0!important;visibility:visible}#visual-content .fake-placeholder.visual-placeholder-error{background-color:#fee4e3!important}#visual-content .fake-placeholder.visual-placeholder-error .limitation-error-content{display:none}#visual-content .fake-placeholder.visual-placeholder-error{border:1px dashed #f44336!important;color:#f44336!important;font-family:Inter,sans-serif,ui-sans-serif,system-ui;font-size:14px;font-weight:500;line-height:150%;position:relative;text-align:center;visibility:visible}#visual-content .fake-placeholder.visual-placeholder-error.children-error{background-color:#f44336!important;border:none!important}#visual-content .fake-placeholder.visual-placeholder-error.limitation-error .limitation-error-content{align-items:center;background-color:#fee4e3!important;border-radius:3px;display:flex;height:29px;padding:4px 8px}#visual-content .fake-placeholder.visual-placeholder-error.limitation-error .limitation-error-content span{font-size:14px;font-weight:500;line-height:150%;margin-left:8px}#visual-content .fake-placeholder.visual-placeholder{align-items:center;background-color:#8aa4ff66;color:#3c67ff;display:flex;font-size:14px;font-weight:500;justify-content:center;line-height:150%;visibility:visible;z-index:20}#visual-content .fake-placeholder.visual-placeholder-child-on-sections{margin:16px!important}#visual-content .fake-placeholder.visual-placeholder-between-sections{background-color:#3c67ff;background-image:none;border:none;height:6px;margin:0!important;visibility:visible}#visual-content .fake-placeholder.not-show{display:none}#visual-content .fake-placeholder[is-blank-page=true]{background-color:#d8e1ff!important}#visual-content .fake-placeholder[is-component-dragging=true]{background-color:#8aa4ff66!important}[contenteditable=true]:active,[contenteditable=true]:focus,[contenteditable=true]:focus-visible{outline:none;overflow:hidden}[data-component-is-third-party=true]{background-color:#f4f4f4}[data-component-tag=ProductDescription],[data-component-tag=ProductPrice],[data-component-tag=ProductTag],[data-component-tag=ProductTitle]{cursor:default}:root{--selection-bg:#accef7}.builder ::selection{background:var(--selection-bg);color:currentColor}.builder ::-moz-selection{background:var(--selection-bg);color:currentColor}.gps-drag-element-here{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='100%25' height='100%25' fill='none' stroke='%233C67FFFF' stroke-dasharray='12,12' stroke-dashoffset='72' stroke-linecap='square' stroke-width='2'/%3E%3C/svg%3E")}.gps-drag-element-here,.gps-page-suggestion{font-family:Inter,sans-serif,ui-sans-serif,system-ui!important}.gps-page-suggestion{background:#fff;border-radius:3px;box-shadow:0 4px 16px rgba(0,0,0,.06),0 4px 16px rgba(0,0,0,.12)}.gps-suggestion-item .gps-suggestion-item-btn{display:flex}.gps-suggestion-item .item-link{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:360px}.gps-suggestion-item:hover .item-link{width:360px}.gps-base-font-family{font-family:Inter,sans-serif,ui-sans-serif,system-ui!important}.btn-disable:before{background:none!important;background-color:#f4f4f4!important;color:#9e9e9e}.gps-image-detection-section:hover .gps-generating-actions{display:flex}.gps-generating-section-text{-webkit-text-fill-color:transparent;background:-webkit-linear-gradient(#874cfd,#3c38e1);-webkit-background-clip:text}@media (max-width:768px){.gps-suggestion-item .item-link,.gps-suggestion-item:hover .item-link{width:196px}}
1
+ .builder{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.builder [disabled]{pointer-events:auto}.builder [data-slot=children]{visibility:visible}.builder [data-slot=children]:after{color:#aaa;visibility:visible}.builder [data-slot=children] .drag-placeholder{height:100%}.builder .generate-image-to-layout-btn{background-image:linear-gradient(270.07deg,#874cfd .03%,#3c38e1 99.92%);position:relative;z-index:1}.builder .generate-image-to-layout-btn:before{background-image:linear-gradient(270.07deg,#3633cc .03%,#6d3dcc 99.92%);border-radius:3px;bottom:0;content:"";left:0;opacity:0;position:absolute;right:0;top:0;transition:opacity .3s ease-out;z-index:-1}.builder .btn-disable{background-color:#f4f4f4;background-image:none;color:#9e9e9e;cursor:not-allowed}.builder .generate-image-to-layout-btn:hover:before{opacity:1}.builder .image-to-layout-input-border{border:1px solid #3c38e1;border-radius:3px}.builder .image-to-layout-input-wrapper-modal{position:relative}.builder .image-to-layout-input-wrapper,.builder .image-to-layout-input-wrapper-add-section{background:#fff;background-clip:padding-box;box-sizing:border-box;position:relative}.image-to-layout-input-wrapper-add-section{border:1px solid #3c67ff}.gps-image-to-layout-progress-bar{background:linear-gradient(270.07deg,#874cfd .03%,#3c38e1 99.92%)}.drag-placeholder{display:none;width:100%}#storefront{position:relative;z-index:20}#visual-content{display:none;font-family:Inter,sans-serif,ui-sans-serif,system-ui!important;height:100%;left:0;min-height:100vh;position:absolute;top:0;width:100%;z-index:50}#visual-content .fake-placeholder{background:transparent;background-image:url(//d1um8515vdn9kb.cloudfront.net/images/background-pattern.png);left:0;position:absolute;top:0;visibility:hidden;z-index:10}#visual-content .fake-placeholder.fake-placeholder-slot{background:transparent}#visual-content .fake-placeholder.has-section{background-color:#3c67ff!important;background-image:none;border:none!important;height:6px;margin:0!important;visibility:visible}#visual-content .fake-placeholder.visual-placeholder-error{background-color:#fee4e3!important}#visual-content .fake-placeholder.visual-placeholder-error .limitation-error-content{display:none}#visual-content .fake-placeholder.visual-placeholder-error{border:1px dashed #f44336!important;color:#f44336!important;font-family:Inter,sans-serif,ui-sans-serif,system-ui;font-size:14px;font-weight:500;line-height:150%;position:relative;text-align:center;visibility:visible}#visual-content .fake-placeholder.visual-placeholder-error.children-error{background-color:#f44336!important;border:none!important}#visual-content .fake-placeholder.visual-placeholder-error.limitation-error .limitation-error-content{align-items:center;background-color:#fee4e3!important;border-radius:3px;display:flex;height:29px;padding:4px 8px}#visual-content .fake-placeholder.visual-placeholder-error.limitation-error .limitation-error-content span{font-size:14px;font-weight:500;line-height:150%;margin-left:8px}#visual-content .fake-placeholder.visual-placeholder{align-items:center;background-color:#8aa4ff66;color:#3c67ff;display:flex;font-size:14px;font-weight:500;justify-content:center;line-height:150%;visibility:visible;z-index:20}#visual-content .fake-placeholder.visual-placeholder-child-on-sections{margin:16px!important}#visual-content .fake-placeholder.visual-placeholder-between-sections{background-color:#3c67ff;background-image:none;border:none;height:6px;margin:0!important;visibility:visible}#visual-content .fake-placeholder.not-show{display:none}#visual-content .fake-placeholder[is-blank-page=true]{background-color:#d8e1ff!important}#visual-content .fake-placeholder[is-component-dragging=true]{background-color:#8aa4ff66!important}[contenteditable=true]:active,[contenteditable=true]:focus,[contenteditable=true]:focus-visible{outline:none;overflow:hidden}[data-component-is-third-party=true]{background-color:#f4f4f4}[data-component-tag=ProductDescription],[data-component-tag=ProductPrice],[data-component-tag=ProductTag],[data-component-tag=ProductTitle]{cursor:default}:root{--selection-bg:#accef7}.builder ::selection{background:var(--selection-bg);color:currentColor}.builder ::-moz-selection{background:var(--selection-bg);color:currentColor}.gps-drag-element-here{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='100%25' height='100%25' fill='none' stroke='%233C67FFFF' stroke-dasharray='12,12' stroke-dashoffset='72' stroke-linecap='square' stroke-width='2'/%3E%3C/svg%3E")}.gps-drag-element-here,.gps-page-suggestion{font-family:Inter,sans-serif,ui-sans-serif,system-ui!important}.gps-page-suggestion{background:#fff;border-radius:3px;box-shadow:0 4px 16px rgba(0,0,0,.06),0 4px 16px rgba(0,0,0,.12)}.gps-suggestion-item .gps-suggestion-item-btn{display:flex}.gps-suggestion-item .item-link{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:360px}.gps-suggestion-item:hover .item-link{width:360px}.gps-base-font-family{font-family:Inter,sans-serif,ui-sans-serif,system-ui!important}.btn-disable:before{background:none!important;background-color:#f4f4f4!important;color:#9e9e9e}.gps-image-detection-section:hover .gps-generating-actions{display:flex}.gps-generating-section-text{-webkit-text-fill-color:transparent;background:-webkit-linear-gradient(#874cfd,#3c38e1);-webkit-background-clip:text}.ck-blurred{cursor:pointer}.ck-focused{cursor:text}.child-item-text.ck-focused{border:0!important;box-shadow:0 0 0 2px hsla(0,0%,100%,0),0 0 0 1px #3c67ff,0 0 0 5px #3c67ff3d}@media (max-width:768px){.gps-suggestion-item .item-link,.gps-suggestion-item:hover .item-link{width:196px}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/styles",
3
- "version": "1.14.0-next.79",
3
+ "version": "1.15.12",
4
4
  "description": "Largely classless, blazing fast and super light-weight. Bonsai, a base CSS framework for modern browsers",
5
5
  "license": "MIT",
6
6
  "main": "src/index.js",
@@ -15,7 +15,7 @@
15
15
  "build": "gulp build"
16
16
  },
17
17
  "devDependencies": {
18
- "cssnano": "6.0.0",
18
+ "cssnano": "6.0.1",
19
19
  "csstype": "3.1.2",
20
20
  "del": "^6.0.0",
21
21
  "gulp": "^4.0.2",
@@ -1,4 +1,9 @@
1
1
  .builder {
2
+ -webkit-user-select: none;
3
+ -webkit-touch-callout: none;
4
+ -moz-user-select: none;
5
+ -ms-user-select: none;
6
+ user-select: none;
2
7
  [disabled] {
3
8
  pointer-events: auto;
4
9
  }
@@ -24,7 +29,7 @@
24
29
 
25
30
  .generate-image-to-layout-btn::before {
26
31
  position: absolute;
27
- content: "";
32
+ content: '';
28
33
  top: 0;
29
34
  right: 0;
30
35
  bottom: 0;
@@ -38,8 +43,8 @@
38
43
 
39
44
  .btn-disable {
40
45
  background-image: none;
41
- background-color: #F4F4F4;
42
- color: #9E9E9E;
46
+ background-color: #f4f4f4;
47
+ color: #9e9e9e;
43
48
  cursor: not-allowed;
44
49
  }
45
50
 
@@ -48,15 +53,15 @@
48
53
  }
49
54
 
50
55
  .image-to-layout-input-border {
51
- border: 1px solid #3C38E1;
56
+ border: 1px solid #3c38e1;
52
57
  border-radius: 3px;
53
-
54
58
  }
55
-
59
+
56
60
  .image-to-layout-input-wrapper-modal {
57
61
  position: relative;
58
62
  }
59
- .image-to-layout-input-wrapper, .image-to-layout-input-wrapper-add-section {
63
+ .image-to-layout-input-wrapper,
64
+ .image-to-layout-input-wrapper-add-section {
60
65
  position: relative;
61
66
  background: #fff;
62
67
  background-clip: padding-box;
@@ -64,12 +69,11 @@
64
69
  }
65
70
  }
66
71
  .image-to-layout-input-wrapper-add-section {
67
- border: 1px solid #3C67FF;
72
+ border: 1px solid #3c67ff;
68
73
  }
69
74
 
70
-
71
75
  .gps-image-to-layout-progress-bar {
72
- background: linear-gradient(270.07deg, #874CFD 0.03%, #3C38E1 99.92%);
76
+ background: linear-gradient(270.07deg, #874cfd 0.03%, #3c38e1 99.92%);
73
77
  }
74
78
 
75
79
  .drag-placeholder {
@@ -173,7 +177,7 @@
173
177
  font-size: 14px;
174
178
  line-height: 150%;
175
179
  visibility: visible;
176
- background-color: #8aa4ff66;
180
+ background-color: #8aa4ff66;
177
181
  }
178
182
 
179
183
  &.visual-placeholder-child-on-sections {
@@ -192,11 +196,11 @@
192
196
  &.not-show {
193
197
  display: none;
194
198
  }
195
- &[is-blank-page="true"] {
196
- background-color: #d8e1ff !important;
199
+ &[is-blank-page='true'] {
200
+ background-color: #d8e1ff !important;
197
201
  }
198
- &[is-component-dragging="true"] {
199
- background-color: #8aa4ff66 !important;
202
+ &[is-component-dragging='true'] {
203
+ background-color: #8aa4ff66 !important;
200
204
  }
201
205
  }
202
206
  }
@@ -261,13 +265,11 @@
261
265
  width: 360px;
262
266
  }
263
267
 
264
-
265
268
  .gps-suggestion-item:hover .item-link {
266
269
  width: 360px;
267
270
  }
268
271
 
269
-
270
- @media(max-width: 768px) {
272
+ @media (max-width: 768px) {
271
273
  .gps-suggestion-item:hover .item-link {
272
274
  width: 196px;
273
275
  }
@@ -282,15 +284,26 @@
282
284
 
283
285
  .btn-disable::before {
284
286
  background: none !important;
285
- background-color: #F4F4F4 !important;
286
- color: #9E9E9E;
287
+ background-color: #f4f4f4 !important;
288
+ color: #9e9e9e;
287
289
  }
288
290
 
289
291
  .gps-image-detection-section:hover .gps-generating-actions {
290
292
  display: flex;
291
293
  }
292
294
  .gps-generating-section-text {
293
- background: -webkit-linear-gradient(#874CFD, #3C38E1);
295
+ background: -webkit-linear-gradient(#874cfd, #3c38e1);
294
296
  -webkit-background-clip: text;
295
297
  -webkit-text-fill-color: transparent;
296
- }
298
+ }
299
+ .ck-blurred {
300
+ cursor: pointer;
301
+ }
302
+ .ck-focused {
303
+ cursor: text;
304
+ }
305
+ .child-item-text.ck-focused {
306
+ border: 0 !important;
307
+ box-shadow: rgba(255, 255, 255, 0) 0px 0px 0px 2px, #3c67ff 0px 0px 0px 1px,
308
+ #3c67ff3d 0px 0px 0px 5px;
309
+ }