@vixoniccom/birthdays 0.7.17-dev.2 → 0.7.17
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,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.7.17](https://github.com/Vixonic/store-birthdays/compare/v0.7.16...v0.7.17) (2026-09-02)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* **VXD-382:** merge font and size into a single field for text and date labels ([#37](https://github.com/Vixonic/store-birthdays/issues/37)) ([3010d93](https://github.com/Vixonic/store-birthdays/commit/3010d93cf07869e5a6a53cc8c6c2d430512cb550))
|
|
11
|
+
|
|
5
12
|
### [0.7.17-dev.2](https://github.com/Vixonic/store-birthdays/compare/v0.7.17-dev.1...v0.7.17-dev.2) (2026-08-28)
|
|
6
13
|
|
|
7
14
|
### [0.7.17-dev.1](https://github.com/Vixonic/store-birthdays/compare/v0.7.17-dev.0...v0.7.17-dev.1) (2026-08-28)
|
package/build.zip
CHANGED
|
Binary file
|
|
@@ -12,6 +12,7 @@ import { ShowValidations } from '../utils'
|
|
|
12
12
|
|
|
13
13
|
const {
|
|
14
14
|
personalizado,
|
|
15
|
+
presetActive,
|
|
15
16
|
descriptionEnabled,
|
|
16
17
|
optionalEnabled,
|
|
17
18
|
imageEnabled,
|
|
@@ -32,25 +33,25 @@ export const standardInputs = [
|
|
|
32
33
|
id: 'descriptionFormat',
|
|
33
34
|
label: 'Fuente y tamaño de la descripción',
|
|
34
35
|
description: 'Si hay un preset activo, sobrescribe el tamaño (en vh) y la fuente definidos por el preset. Sin preset, se usa 3vh por defecto. Deja el campo vacío para usar el valor por defecto.',
|
|
35
|
-
show: descriptionEnabled
|
|
36
|
+
show: `(${personalizado} && ${descriptionEnabled}) || ${presetActive}`,
|
|
36
37
|
}),
|
|
37
38
|
new TextFormat({
|
|
38
39
|
id: 'optionalFormat',
|
|
39
40
|
label: 'Fuente y tamaño del campo opcional',
|
|
40
41
|
description: 'Si hay un preset activo, sobrescribe el tamaño (en vh) y la fuente definidos por el preset. Sin preset, se usa 3vh por defecto. Deja el campo vacío para usar el valor por defecto.',
|
|
41
|
-
show: optionalEnabled
|
|
42
|
+
show: `${personalizado} && ${optionalEnabled}`,
|
|
42
43
|
}),
|
|
43
44
|
new TextFormat({
|
|
44
45
|
id: 'dateDayFormat',
|
|
45
46
|
label: 'Fuente y tamaño del día',
|
|
46
47
|
description: 'Si hay un preset activo, sobrescribe el tamaño y la fuente definidos por el preset. Sin preset, se usa 20 por defecto (px en los estilos de fecha con calendario, círculo o contorno; vh en el estilo de texto). Deja el campo vacío para usar el valor por defecto.',
|
|
47
|
-
show: dateEnabled
|
|
48
|
+
show: `(${personalizado} && ${dateEnabled}) || ${presetActive}`,
|
|
48
49
|
}),
|
|
49
50
|
new TextFormat({
|
|
50
51
|
id: 'dateMonthFormat',
|
|
51
52
|
label: 'Fuente y tamaño del mes',
|
|
52
53
|
description: 'Si hay un preset activo, sobrescribe el tamaño y la fuente definidos por el preset. Sin preset, se usa 20 por defecto (px en los estilos de fecha con calendario, círculo o contorno; vh en el estilo de texto). Deja el campo vacío para usar el valor por defecto.',
|
|
53
|
-
show: dateEnabled
|
|
54
|
+
show: `(${personalizado} && ${dateEnabled}) || ${presetActive}`,
|
|
54
55
|
}),
|
|
55
56
|
|
|
56
57
|
new Label({ label: 'Textos', show: personalizado }),
|
|
@@ -224,7 +225,7 @@ export const standardInputs = [
|
|
|
224
225
|
new ColorPicker({
|
|
225
226
|
id: 'datePrimaryColor',
|
|
226
227
|
label: 'Color primario',
|
|
227
|
-
show:
|
|
228
|
+
show: `(${personalizado} && ${dateColorCondition}) || ${presetActive}`,
|
|
228
229
|
}),
|
|
229
230
|
new TextInput({
|
|
230
231
|
id: 'dateMargin',
|
package/configuration/utils.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export const ShowValidations = {
|
|
2
2
|
personalizado: '({{themePreset}} === "personalizado" || !{{themePreset}})',
|
|
3
|
-
presetActive: '{{themePreset}} && {{themePreset}} !== "personalizado"',
|
|
3
|
+
presetActive: '({{themePreset}} && {{themePreset}} !== "personalizado")',
|
|
4
4
|
descriptionEnabled: '{{descriptionEnabled}} === true',
|
|
5
5
|
optionalEnabled: '{{optionalEnabled}} === true',
|
|
6
6
|
imageEnabled: '{{imageEnabled}} === true',
|
package/configuration.json
CHANGED
|
@@ -301,28 +301,28 @@
|
|
|
301
301
|
{
|
|
302
302
|
"id": "descriptionFormat",
|
|
303
303
|
"label": "Fuente y tamaño de la descripción",
|
|
304
|
-
"show": "{{descriptionEnabled}} === true",
|
|
304
|
+
"show": "(({{themePreset}} === \"personalizado\" || !{{themePreset}}) && {{descriptionEnabled}} === true) || ({{themePreset}} && {{themePreset}} !== \"personalizado\")",
|
|
305
305
|
"type": "text-format",
|
|
306
306
|
"description": "Si hay un preset activo, sobrescribe el tamaño (en vh) y la fuente definidos por el preset. Sin preset, se usa 3vh por defecto. Deja el campo vacío para usar el valor por defecto."
|
|
307
307
|
},
|
|
308
308
|
{
|
|
309
309
|
"id": "optionalFormat",
|
|
310
310
|
"label": "Fuente y tamaño del campo opcional",
|
|
311
|
-
"show": "{{optionalEnabled}} === true",
|
|
311
|
+
"show": "({{themePreset}} === \"personalizado\" || !{{themePreset}}) && {{optionalEnabled}} === true",
|
|
312
312
|
"type": "text-format",
|
|
313
313
|
"description": "Si hay un preset activo, sobrescribe el tamaño (en vh) y la fuente definidos por el preset. Sin preset, se usa 3vh por defecto. Deja el campo vacío para usar el valor por defecto."
|
|
314
314
|
},
|
|
315
315
|
{
|
|
316
316
|
"id": "dateDayFormat",
|
|
317
317
|
"label": "Fuente y tamaño del día",
|
|
318
|
-
"show": "{{dateEnabled}} === true",
|
|
318
|
+
"show": "(({{themePreset}} === \"personalizado\" || !{{themePreset}}) && {{dateEnabled}} === true) || ({{themePreset}} && {{themePreset}} !== \"personalizado\")",
|
|
319
319
|
"type": "text-format",
|
|
320
320
|
"description": "Si hay un preset activo, sobrescribe el tamaño y la fuente definidos por el preset. Sin preset, se usa 20 por defecto (px en los estilos de fecha con calendario, círculo o contorno; vh en el estilo de texto). Deja el campo vacío para usar el valor por defecto."
|
|
321
321
|
},
|
|
322
322
|
{
|
|
323
323
|
"id": "dateMonthFormat",
|
|
324
324
|
"label": "Fuente y tamaño del mes",
|
|
325
|
-
"show": "{{dateEnabled}} === true",
|
|
325
|
+
"show": "(({{themePreset}} === \"personalizado\" || !{{themePreset}}) && {{dateEnabled}} === true) || ({{themePreset}} && {{themePreset}} !== \"personalizado\")",
|
|
326
326
|
"type": "text-format",
|
|
327
327
|
"description": "Si hay un preset activo, sobrescribe el tamaño y la fuente definidos por el preset. Sin preset, se usa 20 por defecto (px en los estilos de fecha con calendario, círculo o contorno; vh en el estilo de texto). Deja el campo vacío para usar el valor por defecto."
|
|
328
328
|
},
|
|
@@ -618,7 +618,7 @@
|
|
|
618
618
|
{
|
|
619
619
|
"id": "datePrimaryColor",
|
|
620
620
|
"label": "Color primario",
|
|
621
|
-
"show": "({{themePreset}} === \"personalizado\" || !{{themePreset}}) && ({{dateEnabled}} === true && ['calendarFlat', 'circle', 'outlines'].indexOf({{dateStyle}}) !== -1)",
|
|
621
|
+
"show": "(({{themePreset}} === \"personalizado\" || !{{themePreset}}) && ({{dateEnabled}} === true && ['calendarFlat', 'circle', 'outlines'].indexOf({{dateStyle}}) !== -1)) || ({{themePreset}} && {{themePreset}} !== \"personalizado\")",
|
|
622
622
|
"type": "color-picker",
|
|
623
623
|
"output": "auto"
|
|
624
624
|
},
|