@vectoriox/iox-builder 1.5.0 → 1.5.2
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.
|
@@ -2264,18 +2264,18 @@ class TypographyGroupStyleConfig extends GroupStyleConfig {
|
|
|
2264
2264
|
super(StyleCategory.Typography, [
|
|
2265
2265
|
new TraitConfig('fontFamily', 'Font Family', TraitInputType.FontFamily, [], 'Poppins, sans-serif'),
|
|
2266
2266
|
new TraitConfig('fontSize', 'Font Size', TraitInputType.Scrub, { min: 8, max: 200, step: 1, units: UNITS_ALL }, '16px'),
|
|
2267
|
-
new TraitConfig('fontWeight', '
|
|
2267
|
+
new TraitConfig('fontWeight', 'Weight', TraitInputType.Scrub, { min: 100, max: 900, step: 100, units: [''] }, '400'),
|
|
2268
2268
|
new TraitConfig('color', 'Color', TraitInputType.Color, { allowGradient: false, allowTransparent: false, formats: ['hex', 'rgb', 'hsl'] }, '#000000'),
|
|
2269
|
-
new TraitConfig('lineHeight', 'Line Height', TraitInputType.
|
|
2270
|
-
new TraitConfig('letterSpacing', '
|
|
2271
|
-
new TraitConfig('textAlign', '
|
|
2269
|
+
new TraitConfig('lineHeight', 'Line Height', TraitInputType.Scrub, { min: 0.5, max: 5, step: 0.05, units: [''] }, '1.5'),
|
|
2270
|
+
new TraitConfig('letterSpacing', 'Spacing', TraitInputType.Scrub, { min: -5, max: 50, step: 0.5, units: UNITS_FIXED }, '0px'),
|
|
2271
|
+
new TraitConfig('textAlign', '', TraitInputType.SelectButton, [
|
|
2272
2272
|
{ value: 'left', icon: 'ph-thin ph-text-align-left' },
|
|
2273
2273
|
{ value: 'center', icon: 'ph-thin ph-text-align-center' },
|
|
2274
2274
|
{ value: 'right', icon: 'ph-thin ph-text-align-right' },
|
|
2275
2275
|
{ value: 'justify', icon: 'ph-thin ph-text-align-justify' },
|
|
2276
2276
|
], 'left'),
|
|
2277
|
-
new TraitConfig('fontStyle', '
|
|
2278
|
-
new TraitConfig('textDecoration', '
|
|
2277
|
+
new TraitConfig('fontStyle', '', TraitInputType.SelectButton, { items: [{ value: 'italic', icon: 'ph-thin ph-text-italic', label: 'Italic' }], allowEmpty: true, noneValue: 'normal' }, 'normal', true),
|
|
2278
|
+
new TraitConfig('textDecoration', '', TraitInputType.SelectButton, { items: [{ value: 'underline', icon: 'ph-thin ph-text-underline', label: 'Underline' }], allowEmpty: true, noneValue: 'none' }, 'none', true),
|
|
2279
2279
|
new TraitConfig('_sep_stroke', 'Stroke', TraitInputType.SectionLabel),
|
|
2280
2280
|
new TraitConfig('WebkitTextStrokeWidth', 'Width', TraitInputType.Scrub, { min: 0, max: 10, step: 0.5, units: ['px'] }, '0px', true),
|
|
2281
2281
|
new TraitConfig('WebkitTextStrokeColor', 'Color', TraitInputType.Color, { allowGradient: false, allowTransparent: true, formats: ['hex', 'rgb', 'hsl'] }, 'transparent', true),
|