@vixoniccom/news-internal 0.4.6-beta.0 → 0.4.6-beta.1
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 +7 -0
- package/build.zip +0 -0
- package/configuration/appearanceGroup/elementsInputs.ts +10 -0
- package/configuration/utils.ts +2 -0
- package/configuration.json +34 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
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.1](https://gitlab.com/mandomedio/vixonic/news-internal/compare/v0.4.6-beta.0...v0.4.6-beta.1) (2021-10-15)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* **release:** gradient general title was added to app ([298f966](https://gitlab.com/mandomedio/vixonic/news-internal/commit/298f9667eb4f61889b6de4a54e2b6e5f20aa8612))
|
|
11
|
+
|
|
5
12
|
### [0.4.6-beta.0](https://gitlab.com/mandomedio/vixonic/news-internal/compare/v0.4.5...v0.4.6-beta.0) (2021-10-13)
|
|
6
13
|
|
|
7
14
|
|
package/build.zip
CHANGED
|
Binary file
|
|
@@ -68,6 +68,16 @@ export const elementsInputs = [
|
|
|
68
68
|
],
|
|
69
69
|
show: ShowValidations.isGradient
|
|
70
70
|
}),
|
|
71
|
+
new Switch({ id: 'gradientTitleEnabled', label: 'Título general modo degradado', defaultValue: false, show: ShowValidations.isGradient }),
|
|
72
|
+
new TextInput({
|
|
73
|
+
id: 'gradientTitle',
|
|
74
|
+
label: 'Título general',
|
|
75
|
+
required: true,
|
|
76
|
+
show: ShowValidations.gradientTitleEnabled
|
|
77
|
+
}),
|
|
78
|
+
new NumberInput({ id: 'gradientTitlePositionX', label: 'Posición eje X del título general', description: 'En pixeles. Por defecto 0.', show: ShowValidations.gradientTitleEnabled }),
|
|
79
|
+
new NumberInput({ id: 'gradientTitlePositionY', label: 'Posición eje Y del título general', description: 'En pixeles. Por defecto 0.', show: ShowValidations.gradientTitleEnabled }),
|
|
80
|
+
new TextFormat({ id: 'gradientTitleFormat', label: 'Formato título general', show: ShowValidations.gradientTitleEnabled }),
|
|
71
81
|
new Label({ label: 'Galeria', show: ShowValidations.isGallery }),
|
|
72
82
|
new SelectInput({ id: 'barSize', label: 'Tamaño de la barra', items: [
|
|
73
83
|
{ label: 'Pequeña', value: 'small' },
|
package/configuration/utils.ts
CHANGED
|
@@ -6,6 +6,7 @@ const qrCodeEnabled = '{{qrCodeEnabled}} === true'
|
|
|
6
6
|
const isGradient = `{{template}} === 'gradient'`
|
|
7
7
|
const isNotGradient = `( ( ${isGradient} ) === false )`
|
|
8
8
|
const imageForceEnabled = `${imageEnabled} || ${isGradient}`
|
|
9
|
+
const gradientTitleEnabled = `${isGradient} && ({{gradientTitleEnabled}} === true)`
|
|
9
10
|
|
|
10
11
|
const isGallery = `{{template}} === 'gallery'`
|
|
11
12
|
const isNotGallery = `${imageEnabled} && ( ( ${isGallery} ) === false )`
|
|
@@ -27,6 +28,7 @@ export const ShowValidations = {
|
|
|
27
28
|
descriptionEnabled,
|
|
28
29
|
imageEnabled,
|
|
29
30
|
imageForceEnabled,
|
|
31
|
+
gradientTitleEnabled,
|
|
30
32
|
qrCodeEnabled,
|
|
31
33
|
isGradient,
|
|
32
34
|
isNotGradient,
|
package/configuration.json
CHANGED
|
@@ -423,6 +423,40 @@
|
|
|
423
423
|
],
|
|
424
424
|
"defaultValue": "left"
|
|
425
425
|
},
|
|
426
|
+
{
|
|
427
|
+
"id": "gradientTitleEnabled",
|
|
428
|
+
"label": "Título general modo degradado",
|
|
429
|
+
"show": "{{template}} === 'gradient'",
|
|
430
|
+
"type": "switch",
|
|
431
|
+
"defaultValue": false
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
"id": "gradientTitle",
|
|
435
|
+
"label": "Título general",
|
|
436
|
+
"show": "{{template}} === 'gradient' && ({{gradientTitleEnabled}} === true)",
|
|
437
|
+
"type": "text-input",
|
|
438
|
+
"required": true
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
"id": "gradientTitlePositionX",
|
|
442
|
+
"label": "Posición eje X del título general",
|
|
443
|
+
"show": "{{template}} === 'gradient' && ({{gradientTitleEnabled}} === true)",
|
|
444
|
+
"type": "number-input",
|
|
445
|
+
"description": "En pixeles. Por defecto 0."
|
|
446
|
+
},
|
|
447
|
+
{
|
|
448
|
+
"id": "gradientTitlePositionY",
|
|
449
|
+
"label": "Posición eje Y del título general",
|
|
450
|
+
"show": "{{template}} === 'gradient' && ({{gradientTitleEnabled}} === true)",
|
|
451
|
+
"type": "number-input",
|
|
452
|
+
"description": "En pixeles. Por defecto 0."
|
|
453
|
+
},
|
|
454
|
+
{
|
|
455
|
+
"id": "gradientTitleFormat",
|
|
456
|
+
"label": "Formato título general",
|
|
457
|
+
"show": "{{template}} === 'gradient' && ({{gradientTitleEnabled}} === true)",
|
|
458
|
+
"type": "text-format"
|
|
459
|
+
},
|
|
426
460
|
{
|
|
427
461
|
"type": "label",
|
|
428
462
|
"label": "Galeria",
|