@vixoniccom/news-internal 0.4.6-beta.1 → 0.4.6-beta.3

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/CHANGELOG.md CHANGED
@@ -2,6 +2,20 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [0.4.6-beta.3](https://gitlab.com/mandomedio/vixonic/news-internal/compare/v0.4.6-beta.2...v0.4.6-beta.3) (2021-10-20)
6
+
7
+
8
+ ### Features
9
+
10
+ * **release:** react-quill was added to the app ([5335572](https://gitlab.com/mandomedio/vixonic/news-internal/commit/5335572fdd34dc7ce8e5cebfb5b1552cd99e847c))
11
+
12
+ ### [0.4.6-beta.2](https://gitlab.com/mandomedio/vixonic/news-internal/compare/v0.4.6-beta.1...v0.4.6-beta.2) (2021-10-20)
13
+
14
+
15
+ ### Features
16
+
17
+ * **release:** new textArea version was added to news descriptions ([db82373](https://gitlab.com/mandomedio/vixonic/news-internal/commit/db823731aea375593ff5129816b8dd6f5ad7773b))
18
+
5
19
  ### [0.4.6-beta.1](https://gitlab.com/mandomedio/vixonic/news-internal/compare/v0.4.6-beta.0...v0.4.6-beta.1) (2021-10-15)
6
20
 
7
21
 
package/build.zip CHANGED
Binary file
@@ -14,7 +14,7 @@ const createTextInputs = (scope: string, label: string, show: string) => {
14
14
  export const elementsInputs = [
15
15
  new Label({ label: 'Elementos' }),
16
16
  ...createTextInputs('title', 'Título', ShowValidations.titleEnabled),
17
- ...createTextInputs('description', 'Descripción', ShowValidations.descriptionEnabled),
17
+ new Switch({ id: `descriptionEnabled`, label: 'Descripción', defaultValue: true }),
18
18
  new NumberInput({ id: 'textSeparation', label: 'Separación de textos', description: 'En pixeles.',
19
19
  show: ShowValidations.titleAndDescription }),
20
20
  new Switch({ id: 'imageEnabled', label: 'Imagen', defaultValue: true, show: ShowValidations.isNotGradient }),
@@ -35,7 +35,8 @@ const newsList = new List({
35
35
  label: 'Descripción corta',
36
36
  required: true,
37
37
  show: ShowValidations.shortDescriptionEnabled,
38
- range: new NumberRangeValue(1, 80)
38
+ range: new NumberRangeValue(1, 80),
39
+ html: true
39
40
  }),
40
41
 
41
42
  new TextArea({
@@ -43,7 +44,8 @@ const newsList = new List({
43
44
  label: 'Descripción mediana',
44
45
  required: true,
45
46
  show: ShowValidations.mediumDescriptionEnabled,
46
- range: new NumberRangeValue(1, 350)
47
+ range: new NumberRangeValue(1, 350),
48
+ html: true
47
49
  }),
48
50
 
49
51
  new TextArea({
@@ -51,7 +53,8 @@ const newsList = new List({
51
53
  label: 'Descripción larga',
52
54
  required: true,
53
55
  show: ShowValidations.largeDescriptionEnabled,
54
- range: new NumberRangeValue(1, 650)
56
+ range: new NumberRangeValue(1, 650),
57
+ html: true
55
58
  }),
56
59
 
57
60
  new SelectAssetKna({ id: 'image', label: 'Imagen', required: true,
@@ -36,7 +36,8 @@
36
36
  "show": "{{descriptionEnabled}} === true && ({{newsSizeSelect}} === 'short')",
37
37
  "type": "text-area",
38
38
  "required": true,
39
- "range": "[1:80]"
39
+ "range": "[1:80]",
40
+ "html": true
40
41
  },
41
42
  {
42
43
  "id": "description",
@@ -44,7 +45,8 @@
44
45
  "show": "{{descriptionEnabled}} === true && ({{newsSizeSelect}} === 'medium')",
45
46
  "type": "text-area",
46
47
  "required": true,
47
- "range": "[1:350]"
48
+ "range": "[1:350]",
49
+ "html": true
48
50
  },
49
51
  {
50
52
  "id": "description",
@@ -52,7 +54,8 @@
52
54
  "show": "{{descriptionEnabled}} === true && ({{newsSizeSelect}} === 'large')",
53
55
  "type": "text-area",
54
56
  "required": true,
55
- "range": "[1:650]"
57
+ "range": "[1:650]",
58
+ "html": true
56
59
  },
57
60
  {
58
61
  "id": "image",
@@ -239,19 +242,6 @@
239
242
  "type": "switch",
240
243
  "defaultValue": true
241
244
  },
242
- {
243
- "id": "descriptionFormat",
244
- "label": "Formato",
245
- "show": "{{descriptionEnabled}} === true",
246
- "type": "text-format"
247
- },
248
- {
249
- "id": "descriptionLineHeight",
250
- "label": "Altura de línea",
251
- "show": "{{descriptionEnabled}} === true",
252
- "type": "number-input",
253
- "range": "[0.8:100:]"
254
- },
255
245
  {
256
246
  "id": "textSeparation",
257
247
  "label": "Separación de textos",
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "author": {
8
8
  "name": ""
9
9
  },
10
- "version": "0.4.6-beta.1",
10
+ "version": "0.4.6-beta.3",
11
11
  "scripts": {
12
12
  "prepublishOnly": "vixonic-module-packager --mode=build",
13
13
  "watch": "vixonic-module-packager --mode=watch",
@@ -21,6 +21,7 @@
21
21
  "react": "^16.14.0",
22
22
  "react-dom": "^16.14.0",
23
23
  "react-qr-code": "^2.0.2",
24
+ "react-quill": "^1.3.5",
24
25
  "react-transition-group": "^4.4.2",
25
26
  "uuid": "^8.3.2"
26
27
  },
@@ -30,8 +31,8 @@
30
31
  "@types/react-dom": "^16.9.14",
31
32
  "@types/react-transition-group": "^4.4.3",
32
33
  "@types/uuid": "^8.3.1",
33
- "@vixoniccom/module-packager": "^2.5.0",
34
- "@vixoniccom/modules": "^2.12.0",
34
+ "@vixoniccom/module-packager": "^2.5.1-dev.0",
35
+ "@vixoniccom/modules": "^2.12.1-rc.0",
35
36
  "standard-version": "^9.3.1"
36
37
  }
37
38
  }