@vectoriox/iox-builder 1.6.11 → 1.6.12
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.
|
@@ -2249,8 +2249,8 @@ class SizeGroupStyleConfig extends GroupStyleConfig {
|
|
|
2249
2249
|
new TraitConfig('minHeight', 'Min H', TraitInputType.Scrub, { min: 0, max: 9999, step: 1, units: UNITS_ALL, allowAuto: true }, 'auto', true),
|
|
2250
2250
|
new TraitConfig('maxWidth', 'Max W', TraitInputType.Scrub, { min: 0, max: 9999, step: 1, units: UNITS_ALL, allowAuto: true }, 'auto', true),
|
|
2251
2251
|
new TraitConfig('maxHeight', 'Max H', TraitInputType.Scrub, { min: 0, max: 9999, step: 1, units: UNITS_ALL, allowAuto: true }, 'auto', true),
|
|
2252
|
-
// aspect-ratio is a
|
|
2253
|
-
new TraitConfig('aspectRatio', 'Aspect Ratio', TraitInputType.
|
|
2252
|
+
// aspect-ratio is a preset ratio (or 'auto') — a Select popup of standard ratios, no units.
|
|
2253
|
+
new TraitConfig('aspectRatio', 'Aspect Ratio', TraitInputType.Select, ['auto', '1/1', '4/3', '3/2', '16/9', '9/16', '3/4', '2/3', '21/9'], 'auto'),
|
|
2254
2254
|
// object-fit is a style trait (applies to replaced elements, e.g. images). Lives here so
|
|
2255
2255
|
// it flows through the CSS engine (styleProps) instead of a per-component inline binding.
|
|
2256
2256
|
new TraitConfig('objectFit', 'Object Fit', TraitInputType.Select, ['cover', 'contain', 'fill', 'none', 'scale-down'], 'cover'),
|