@innovastudio/contentbox 1.0.29 → 1.0.33

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/README.md CHANGED
@@ -139,9 +139,9 @@ React and Vue project examples are provided in separate downloads in the user ar
139
139
 
140
140
  To start building a page, you can click the (+) button on the top left sidebar. This will open a selection of predesigned sections that you can add into your page.
141
141
 
142
- ![Simple Sections](docs/predesigned-sections.png)
142
+ ![Simple Start](docs/predesigned-sections.png)
143
143
 
144
- ![Quick Start Sections](docs/predesigned-sections2.png)
144
+ ![Quick Start](docs/predesigned-sections2.png)
145
145
 
146
146
  There are 2 predesigned section categories:
147
147
  - Simple Start (to start from a basic/clean design)
@@ -239,7 +239,7 @@ The style can be used to format the entire page or just a specific section of yo
239
239
 
240
240
  To apply the typography style to a specific box area, open the Box Settings dialog, select the 'Text' tab and click 'Change Style'.
241
241
 
242
- ![Apply to a specific section](docs/typography3.png)
242
+ ![Apply to a specific section](docs/typography2.png)
243
243
 
244
244
  This will re-open the typography selection and your selection will be applied to the chosen box area only.
245
245
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@innovastudio/contentbox",
3
- "version": "1.0.29",
3
+ "version": "1.0.33",
4
4
  "description": "",
5
5
  "main": "public/contentbox/contentbox.esm.js",
6
6
  "files": [
@@ -38,7 +38,8 @@
38
38
  "webpack-dev-server": "^4.0.0"
39
39
  },
40
40
  "dependencies": {
41
- "@innovastudio/contentbuilder": "^1.0.58",
41
+ "@ashthornton/asscroll": "^2.0.4",
42
+ "@innovastudio/contentbuilder": "^1.0.63",
42
43
  "axios": "^0.21.4",
43
44
  "cors": "^2.8.5",
44
45
  "express": "^4.17.1",
@@ -70,7 +70,7 @@
70
70
  left: 0;
71
71
  width: 50px;
72
72
  height: 100vh;
73
- background: rgba(255, 255, 255, 0.7) !important;
73
+ background: rgba(255, 255, 255, 0.97) !important;
74
74
  color: rgba(0, 0, 0, 0.8);
75
75
  border-right: rgba(0, 0, 0, 0.05) 1px solid;
76
76
  z-index: 10003;
@@ -162,7 +162,7 @@
162
162
  }
163
163
 
164
164
  #divSidebarTypography {
165
- max-width: 360px;
165
+ max-width: 300px;
166
166
  }
167
167
 
168
168
  #divSidebarSnippets > div:first-child {
@@ -256,20 +256,20 @@
256
256
 
257
257
  #divStyles > div {
258
258
  width: 100%;
259
- min-height: 255px;
260
259
  margin: 30px 0 70px;
261
260
  display: flex;
261
+ border: rgba(205, 205, 205, 0.32) 1px solid;
262
262
  box-shadow: 0px 7px 10px -6px rgba(0, 0, 0, 0.08);
263
263
  position: relative;
264
264
  cursor: pointer;
265
265
  }
266
266
 
267
- #divStyles > div div {
267
+ #divStyles > div div:first-child {
268
268
  text-align: center;
269
269
  transition: all 0.3s ease;
270
270
  position: absolute;
271
271
  background: transparent;
272
- top: -40px;
272
+ top: -45px;
273
273
  right: 0;
274
274
  width: 100%;
275
275
  padding: 3px 10px;
@@ -392,10 +392,20 @@
392
392
  font-size: 13px;
393
393
  }
394
394
 
395
+ #_cbhtml .is-modal.editsection button {
396
+ width: auto;
397
+ }
398
+ #_cbhtml .is-modal.editsection button svg {
399
+ flex: none;
400
+ width: 10px;
401
+ height: 10px;
402
+ }
403
+
395
404
  #_cbhtml .is-modal.editsection button.cmd-section-height,
396
405
  #_cbhtml .is-modal.editsection button.cmd-box-spacing,
397
- #_cbhtml .is-modal.editsection button.cmd-scroll-preset {
398
- width: 50px;
406
+ #_cbhtml .is-modal.editsection button.cmd-scroll-preset,
407
+ #_cbhtml .is-modal.editsection button.cmd-section-duplicate {
408
+ width: 45px;
399
409
  }
400
410
 
401
411
  #_cbhtml .is-modal.editsection button.cmd-section-duplicate {
@@ -410,6 +420,15 @@
410
420
  text-transform: none;
411
421
  }
412
422
 
423
+ #_cbhtml .label-checkbox {
424
+ margin: 0;
425
+ display: flex;
426
+ align-items: center;
427
+ }
428
+ #_cbhtml .label-checkbox input {
429
+ margin-right: 8px;
430
+ }
431
+
413
432
  .is-wrapper {
414
433
  opacity: 0.01;
415
434
  }