@vectoriox/iox-builder 1.4.15 → 1.4.16

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.
@@ -1744,6 +1744,7 @@ class TypographyGroupStyleConfig extends GroupStyleConfig {
1744
1744
  class EffectsGroupStyleConfig extends GroupStyleConfig {
1745
1745
  constructor() {
1746
1746
  super(StyleCategory.Effects, [
1747
+ // ── Visibility ────────────────────────────────────────
1747
1748
  new TraitConfig('opacity', 'Opacity', TraitInputType.Scrub, { min: 0, max: 1, step: 0.01, units: [''] }, '1'),
1748
1749
  new TraitConfig('mixBlendMode', 'Blend Mode', TraitInputType.Select, [
1749
1750
  'normal', 'multiply', 'screen', 'overlay', 'darken', 'lighten',
@@ -1754,6 +1755,37 @@ class EffectsGroupStyleConfig extends GroupStyleConfig {
1754
1755
  'auto', 'default', 'pointer', 'text', 'move', 'not-allowed',
1755
1756
  'grab', 'grabbing', 'crosshair', 'zoom-in', 'zoom-out', 'none',
1756
1757
  ], 'auto'),
1758
+ // ── Shadow ────────────────────────────────────────────
1759
+ new TraitConfig('boxShadow', 'Box Shadow', TraitInputType.Text, undefined, ''),
1760
+ new TraitConfig('textShadow', 'Text Shadow', TraitInputType.Text, undefined, ''),
1761
+ // ── Transform (virtual — composed to CSS transform: …) ─
1762
+ new TraitConfig('translateX', 'TX', TraitInputType.Scrub, { min: -2000, max: 2000, step: 1, units: UNITS_ALL }, '0px', true),
1763
+ new TraitConfig('translateY', 'TY', TraitInputType.Scrub, { min: -2000, max: 2000, step: 1, units: UNITS_ALL }, '0px', true),
1764
+ new TraitConfig('scaleX', 'SX', TraitInputType.Scrub, { min: 0, max: 5, step: 0.01, units: [''] }, '1', true),
1765
+ new TraitConfig('scaleY', 'SY', TraitInputType.Scrub, { min: 0, max: 5, step: 0.01, units: [''] }, '1', true),
1766
+ new TraitConfig('rotate', 'Rot', TraitInputType.Scrub, { min: -360, max: 360, step: 1, units: UNITS_DEG }, '0deg', true),
1767
+ new TraitConfig('skewX', 'SkX', TraitInputType.Scrub, { min: -180, max: 180, step: 1, units: UNITS_DEG }, '0deg', true),
1768
+ new TraitConfig('skewY', 'SkY', TraitInputType.Scrub, { min: -180, max: 180, step: 1, units: UNITS_DEG }, '0deg', true),
1769
+ // ── Filter (virtual — composed to CSS filter: …) ──────
1770
+ new TraitConfig('filterBlur', 'Blur', TraitInputType.Scrub, { min: 0, max: 50, step: 1, units: ['px'] }, '0px', true),
1771
+ new TraitConfig('filterBrightness', 'Bright', TraitInputType.Scrub, { min: 0, max: 3, step: 0.05, units: [''] }, '1', true),
1772
+ new TraitConfig('filterContrast', 'Contr', TraitInputType.Scrub, { min: 0, max: 3, step: 0.05, units: [''] }, '1', true),
1773
+ new TraitConfig('filterGrayscale', 'Gray', TraitInputType.Scrub, { min: 0, max: 1, step: 0.05, units: [''] }, '0', true),
1774
+ new TraitConfig('filterSaturate', 'Sat', TraitInputType.Scrub, { min: 0, max: 3, step: 0.05, units: [''] }, '1', true),
1775
+ new TraitConfig('filterHueRotate', 'Hue', TraitInputType.Scrub, { min: 0, max: 360, step: 1, units: UNITS_DEG }, '0deg', true),
1776
+ new TraitConfig('filterSepia', 'Sepia', TraitInputType.Scrub, { min: 0, max: 1, step: 0.05, units: [''] }, '0', true),
1777
+ new TraitConfig('filterInvert', 'Invert', TraitInputType.Scrub, { min: 0, max: 1, step: 0.05, units: [''] }, '0', true),
1778
+ // ── Backdrop filter (virtual — composed to CSS backdrop-filter: …)
1779
+ new TraitConfig('backdropBlur', 'B.Blur', TraitInputType.Scrub, { min: 0, max: 50, step: 1, units: ['px'] }, '0px', true),
1780
+ new TraitConfig('backdropBrightness', 'B.Bri', TraitInputType.Scrub, { min: 0, max: 3, step: 0.05, units: [''] }, '1', true),
1781
+ new TraitConfig('backdropContrast', 'B.Con', TraitInputType.Scrub, { min: 0, max: 3, step: 0.05, units: [''] }, '1', true),
1782
+ new TraitConfig('backdropSaturate', 'B.Sat', TraitInputType.Scrub, { min: 0, max: 3, step: 0.05, units: [''] }, '1', true),
1783
+ // ── Transition (virtual — composed to CSS transition: all …) ──
1784
+ new TraitConfig('transitionDuration', 'Duration', TraitInputType.Scrub, { min: 0, max: 3000, step: 50, units: ['ms'] }, '0ms'),
1785
+ new TraitConfig('transitionTimingFunction', 'Easing', TraitInputType.Select, [
1786
+ 'ease', 'linear', 'ease-in', 'ease-out', 'ease-in-out',
1787
+ ], 'ease'),
1788
+ new TraitConfig('transitionDelay', 'Delay', TraitInputType.Scrub, { min: 0, max: 2000, step: 50, units: ['ms'] }, '0ms'),
1757
1789
  ]);
1758
1790
  }
1759
1791
  }