@innovastudio/contentbox 1.0.26 → 1.0.30

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,11 +139,17 @@ 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
- ![Predesigned Sections](docs/predesigned-sections.png)
142
+ ![Simple Sections](docs/predesigned-sections.png)
143
+
144
+ ![Quick Start Sections](docs/predesigned-sections2.png)
145
+
146
+ There are 2 predesigned section categories:
147
+ - Simple Start (to start from a basic/clean design)
148
+ - Quick Start (to start with examples)
143
149
 
144
150
  The predesigned section files are located in the folder:
145
151
 
146
- assets/designs/
152
+ **assets/designs/**
147
153
 
148
154
  It contains:
149
155
  - basic.js (a JSON file containing a list of simple designs)
@@ -229,13 +235,9 @@ A selection of typography styles is provided for you to choose to format your pa
229
235
 
230
236
  ![Typography Styles](docs/typography.png)
231
237
 
232
- The style can be used to format the entire page or just a specific section or a box area of your page.
233
-
234
- If the page has one or more sections (or boxes) that have their own typography style, a modal dialog is opened for you to choose and replace all the sections' styles or keep the sections' style and format only the unstyled sections.
235
-
236
- ![Apply options](docs/typography2.png)
238
+ The style can be used to format the entire page or just a specific section of your page.
237
239
 
238
- To apply the typography style for a specific section or box area, open the Box Settings dialog, select the 'Text' tab and click 'Change Style'.
240
+ To apply the typography style to a specific box area, open the Box Settings dialog, select the 'Text' tab and click 'Change Style'.
239
241
 
240
242
  ![Apply to a specific section](docs/typography3.png)
241
243
 
@@ -243,7 +245,7 @@ This will re-open the typography selection and your selection will be applied to
243
245
 
244
246
  Typography style files are located in the folder:
245
247
 
246
- assets/styles/
248
+ **assets/styles/**
247
249
 
248
250
  It contains all the css needed and its preview images. You can change its location using the **contentStylePath** parameter.
249
251
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@innovastudio/contentbox",
3
- "version": "1.0.26",
3
+ "version": "1.0.30",
4
4
  "description": "",
5
5
  "main": "public/contentbox/contentbox.esm.js",
6
6
  "files": [
@@ -38,7 +38,7 @@
38
38
  "webpack-dev-server": "^4.0.0"
39
39
  },
40
40
  "dependencies": {
41
- "@innovastudio/contentbuilder": "^1.0.55",
41
+ "@innovastudio/contentbuilder": "^1.0.61",
42
42
  "axios": "^0.21.4",
43
43
  "cors": "^2.8.5",
44
44
  "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 {
@@ -245,30 +245,31 @@
245
245
  border-top: #fff 40px solid;
246
246
  padding: 35px 15px 0;
247
247
  box-sizing: border-box;
248
- height: 100%;
249
248
  overflow-y: auto;
250
249
  overflow-x: hidden;
251
250
  top: 120px;
251
+ left: 50px;
252
+ width: calc(100% - 50px);
252
253
  height: calc(100% - 120px);
253
254
  position: absolute;
254
255
  }
255
256
 
256
257
  #divStyles > div {
257
258
  width: 100%;
258
- min-height: 255px;
259
259
  margin: 30px 0 70px;
260
260
  display: flex;
261
+ border: rgba(205, 205, 205, 0.32) 1px solid;
261
262
  box-shadow: 0px 7px 10px -6px rgba(0, 0, 0, 0.08);
262
263
  position: relative;
263
264
  cursor: pointer;
264
265
  }
265
266
 
266
- #divStyles > div div {
267
+ #divStyles > div div:first-child {
267
268
  text-align: center;
268
269
  transition: all 0.3s ease;
269
270
  position: absolute;
270
271
  background: transparent;
271
- top: -40px;
272
+ top: -45px;
272
273
  right: 0;
273
274
  width: 100%;
274
275
  padding: 3px 10px;
@@ -286,6 +287,7 @@
286
287
  width: 100%;
287
288
  -webkit-transition: all 0.16s ease;
288
289
  transition: all 0.16s ease;
290
+ image-rendering: -webkit-optimize-contrast;
289
291
  }
290
292
 
291
293
  #divStyles .is-overlay {
@@ -392,11 +394,40 @@
392
394
  }
393
395
 
394
396
  #_cbhtml .is-modal.editsection button.cmd-section-height,
395
- #_cbhtml .is-modal.editsection button.cmd-box-spacing {
396
- width: 50px;
397
+ #_cbhtml .is-modal.editsection button.cmd-box-spacing,
398
+ #_cbhtml .is-modal.editsection button.cmd-scroll-preset {
399
+ width: 45px;
400
+ }
401
+ #_cbhtml .is-modal.editsection button.cmd-section-height svg,
402
+ #_cbhtml .is-modal.editsection button.cmd-box-spacing svg,
403
+ #_cbhtml .is-modal.editsection button.cmd-scroll-preset svg {
404
+ flex: none;
405
+ width: 10px;
406
+ height: 10px;
407
+ }
408
+
409
+ #_cbhtml .is-modal.editsection button.cmd-section-duplicate {
410
+ padding: 0 22px;
411
+ }
412
+ #_cbhtml .is-modal.editsection button.cmd-section-duplicate svg {
413
+ margin-left: -4px;
414
+ }
415
+ #_cbhtml .is-modal.editsection button.cmd-section-duplicate span {
416
+ margin-left: 5px;
417
+ font-size: 12px;
418
+ text-transform: none;
419
+ }
420
+
421
+ #_cbhtml .label-checkbox {
422
+ margin: 0;
423
+ display: flex;
424
+ align-items: center;
425
+ }
426
+ #_cbhtml .label-checkbox input {
427
+ margin-right: 8px;
397
428
  }
398
429
 
399
- cmd-box-spacing .is-wrapper {
430
+ .is-wrapper {
400
431
  opacity: 0.01;
401
432
  }
402
433