@vixoniccom/news-internal 0.4.6-beta.4 → 0.4.6

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,26 +2,7 @@
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.4](https://gitlab.com/mandomedio/vixonic/news-internal/compare/v0.4.6-beta.3...v0.4.6-beta.4) (2021-10-21)
6
-
7
-
8
- ### Bug Fixes
9
-
10
- * **release:** update styles in textContainer ([a6f9404](https://gitlab.com/mandomedio/vixonic/news-internal/commit/a6f94042cd9d6e21e909fe8d88bc229f3809e873))
11
-
12
- ### [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)
13
-
14
-
15
- ### Features
16
-
17
- * **release:** react-quill was added to the app ([5335572](https://gitlab.com/mandomedio/vixonic/news-internal/commit/5335572fdd34dc7ce8e5cebfb5b1552cd99e847c))
18
-
19
- ### [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)
20
-
21
-
22
- ### Features
23
-
24
- * **release:** new textArea version was added to news descriptions ([db82373](https://gitlab.com/mandomedio/vixonic/news-internal/commit/db823731aea375593ff5129816b8dd6f5ad7773b))
5
+ ### [0.4.6](https://gitlab.com/mandomedio/vixonic/news-internal/compare/v0.4.6-beta.1...v0.4.6) (2021-10-22)
25
6
 
26
7
  ### [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)
27
8
 
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
- new Switch({ id: `descriptionEnabled`, label: 'Descripción', defaultValue: true }),
17
+ ...createTextInputs('description', 'Descripción', ShowValidations.descriptionEnabled),
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,8 +35,7 @@ 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),
39
- html: true
38
+ range: new NumberRangeValue(1, 80)
40
39
  }),
41
40
 
42
41
  new TextArea({
@@ -44,8 +43,7 @@ const newsList = new List({
44
43
  label: 'Descripción mediana',
45
44
  required: true,
46
45
  show: ShowValidations.mediumDescriptionEnabled,
47
- range: new NumberRangeValue(1, 350),
48
- html: true
46
+ range: new NumberRangeValue(1, 350)
49
47
  }),
50
48
 
51
49
  new TextArea({
@@ -53,8 +51,7 @@ const newsList = new List({
53
51
  label: 'Descripción larga',
54
52
  required: true,
55
53
  show: ShowValidations.largeDescriptionEnabled,
56
- range: new NumberRangeValue(1, 650),
57
- html: true
54
+ range: new NumberRangeValue(1, 650)
58
55
  }),
59
56
 
60
57
  new SelectAssetKna({ id: 'image', label: 'Imagen', required: true,
@@ -36,8 +36,7 @@
36
36
  "show": "{{descriptionEnabled}} === true && ({{newsSizeSelect}} === 'short')",
37
37
  "type": "text-area",
38
38
  "required": true,
39
- "range": "[1:80]",
40
- "html": true
39
+ "range": "[1:80]"
41
40
  },
42
41
  {
43
42
  "id": "description",
@@ -45,8 +44,7 @@
45
44
  "show": "{{descriptionEnabled}} === true && ({{newsSizeSelect}} === 'medium')",
46
45
  "type": "text-area",
47
46
  "required": true,
48
- "range": "[1:350]",
49
- "html": true
47
+ "range": "[1:350]"
50
48
  },
51
49
  {
52
50
  "id": "description",
@@ -54,8 +52,7 @@
54
52
  "show": "{{descriptionEnabled}} === true && ({{newsSizeSelect}} === 'large')",
55
53
  "type": "text-area",
56
54
  "required": true,
57
- "range": "[1:650]",
58
- "html": true
55
+ "range": "[1:650]"
59
56
  },
60
57
  {
61
58
  "id": "image",
@@ -242,6 +239,19 @@
242
239
  "type": "switch",
243
240
  "defaultValue": true
244
241
  },
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
+ },
245
255
  {
246
256
  "id": "textSeparation",
247
257
  "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.4",
10
+ "version": "0.4.6",
11
11
  "scripts": {
12
12
  "prepublishOnly": "vixonic-module-packager --mode=build",
13
13
  "watch": "vixonic-module-packager --mode=watch",
@@ -21,7 +21,6 @@
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",
25
24
  "react-transition-group": "^4.4.2",
26
25
  "uuid": "^8.3.2"
27
26
  },
@@ -31,8 +30,8 @@
31
30
  "@types/react-dom": "^16.9.14",
32
31
  "@types/react-transition-group": "^4.4.3",
33
32
  "@types/uuid": "^8.3.1",
34
- "@vixoniccom/module-packager": "^2.5.1-dev.0",
35
- "@vixoniccom/modules": "^2.12.1-rc.0",
33
+ "@vixoniccom/module-packager": "^2.5.0",
34
+ "@vixoniccom/modules": "^2.12.0",
36
35
  "standard-version": "^9.3.1"
37
36
  }
38
37
  }