@innovastudio/contentbox 1.0.24 → 1.0.28

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.24",
3
+ "version": "1.0.28",
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.51",
41
+ "@innovastudio/contentbuilder": "^1.0.57",
42
42
  "axios": "^0.21.4",
43
43
  "cors": "^2.8.5",
44
44
  "express": "^4.17.1",
@@ -142,6 +142,14 @@
142
142
  outline: none;
143
143
  }
144
144
 
145
+ .is-sidebar-title {
146
+ font-family: sans-serif;
147
+ font-size: 10px;
148
+ text-transform: uppercase;
149
+ letter-spacing: 2px;
150
+ font-weight: 400;
151
+ }
152
+
145
153
  /*
146
154
  Sidebar Panels:
147
155
  #divSidebarSections,
@@ -165,16 +173,11 @@
165
173
  box-sizing: border-box;
166
174
  }
167
175
 
168
- #divSidebarSnippets > div:first-child > #divSnippetCat {
169
- position: relative;
170
- width: 100%;
171
- height: 50px;
172
- line-height: 50px;
173
- }
174
-
175
- #divSidebarSnippets > div:first-child > #divSnippetCatOptions {
176
- top: auto;
177
- width: 262px;
176
+ #divSidebarSnippets > div:first-child > .is-selectbox {
177
+ font-size: 10px;
178
+ letter-spacing: 2px;
179
+ text-transform: uppercase;
180
+ font-weight: 400;
178
181
  }
179
182
 
180
183
  #divSidebarSections > div,
@@ -193,6 +196,26 @@
193
196
  box-sizing: border-box;
194
197
  }
195
198
 
199
+ #divSidebarTypography label {
200
+ margin: 0 20px 0 0;
201
+ display: flex;
202
+ align-items: center;
203
+ }
204
+ #divSidebarTypography label input {
205
+ margin: 0;
206
+ }
207
+ #divSidebarTypography label span {
208
+ margin-left: 5px;
209
+ line-height: 1;
210
+ }
211
+ #divSidebarTypography #btnTypoClear {
212
+ width: 50px;
213
+ height: 40px;
214
+ display: flex;
215
+ background: transparent;
216
+ box-shadow: none;
217
+ }
218
+
196
219
  #divSidebarSections {
197
220
  width: 100%;
198
221
  max-width: 460px;
@@ -208,13 +231,27 @@
208
231
  max-width: 930px;
209
232
  }
210
233
  }
234
+ #divSelector {
235
+ position: absolute;
236
+ top: 120px;
237
+ right: 0;
238
+ width: 100%;
239
+ z-index: 2;
240
+ padding: 0 0 0 50px;
241
+ box-sizing: border-box;
242
+ }
243
+
211
244
  #divStyles {
212
245
  border-top: #fff 40px solid;
213
246
  padding: 35px 15px 0;
214
247
  box-sizing: border-box;
215
- height: 100%;
216
248
  overflow-y: auto;
217
249
  overflow-x: hidden;
250
+ top: 120px;
251
+ left: 50px;
252
+ width: calc(100% - 50px);
253
+ height: calc(100% - 120px);
254
+ position: absolute;
218
255
  }
219
256
 
220
257
  #divStyles > div {
@@ -355,12 +392,13 @@
355
392
  font-size: 13px;
356
393
  }
357
394
 
358
- #_cbhtml .is-modal.editsection button.cmd-section-height {
359
- padding: 1px 15px;
360
- width: 67px;
395
+ #_cbhtml .is-modal.editsection button.cmd-section-height,
396
+ #_cbhtml .is-modal.editsection button.cmd-box-spacing,
397
+ #_cbhtml .is-modal.editsection button.cmd-scroll-preset {
398
+ width: 50px;
361
399
  }
362
400
 
363
- .is-wrapper {
401
+ cmd-box-spacing .is-wrapper {
364
402
  opacity: 0.01;
365
403
  }
366
404