@vectoriox/iox-builder 4.6.0 → 4.7.0
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.
|
@@ -320,7 +320,7 @@ class LayoutGroupStyleConfig extends GroupStyleConfig {
|
|
|
320
320
|
{ value: 'flex-start', label: 'Start', icon: 'ph-thin ph-align-left' },
|
|
321
321
|
{ value: 'center', label: 'Center', icon: 'ph-thin ph-align-center-horizontal' },
|
|
322
322
|
{ value: 'flex-end', label: 'End', icon: 'ph-thin ph-align-right' },
|
|
323
|
-
{ value: 'space-between', label: 'Space Between', icon: 'ph-thin ph-
|
|
323
|
+
{ value: 'space-between', label: 'Space Between', icon: 'ph-thin ph-arrows-out-line-horizontal' },
|
|
324
324
|
{ value: 'space-around', label: 'Space Around', icon: 'ph-thin ph-dots-three' },
|
|
325
325
|
{ value: 'space-evenly', label: 'Space Evenly', icon: 'ph-thin ph-dots-six' },
|
|
326
326
|
], 'flex-start', false, { trait: 'display', values: ['flex', 'grid'] }),
|
|
@@ -344,7 +344,7 @@ class LayoutGroupStyleConfig extends GroupStyleConfig {
|
|
|
344
344
|
{ value: 'start', label: 'Start', icon: 'ph-thin ph-align-top' },
|
|
345
345
|
{ value: 'center', label: 'Center', icon: 'ph-thin ph-align-center-vertical' },
|
|
346
346
|
{ value: 'end', label: 'End', icon: 'ph-thin ph-align-bottom' },
|
|
347
|
-
{ value: 'space-between', label: 'Space Between', icon: 'ph-thin ph-
|
|
347
|
+
{ value: 'space-between', label: 'Space Between', icon: 'ph-thin ph-arrows-out-line-vertical' },
|
|
348
348
|
{ value: 'space-around', label: 'Space Around', icon: 'ph-thin ph-dots-three' },
|
|
349
349
|
{ value: 'stretch', label: 'Stretch', icon: 'ph-thin ph-arrows-vertical' },
|
|
350
350
|
], 'stretch', false, { trait: 'display', values: 'grid' }),
|
|
@@ -9153,8 +9153,18 @@ class CardComponentConfig extends ComponentConfig {
|
|
|
9153
9153
|
new TraitConfig('description', 'Description', TraitInputType.Text, undefined, 'This is a default card description.')
|
|
9154
9154
|
];
|
|
9155
9155
|
this.styleTraits = buildFullStyleTraits();
|
|
9156
|
+
// DEPRECATED — removed from the Components panel (2026-09-22). A Card is a Container with a
|
|
9157
|
+
// border, a radius and a background: every one of those is a style group on Container, so the
|
|
9158
|
+
// component earned no place in the palette. It stays REGISTERED and renderable because saved
|
|
9159
|
+
// pages may contain Card nodes — dropping the type would render those pages blank. Remove the
|
|
9160
|
+
// type entirely only behind a migration that rewrites Card nodes to Container.
|
|
9161
|
+
this.hidden = true;
|
|
9156
9162
|
this.applyStyleDefaults({
|
|
9157
|
-
width:
|
|
9163
|
+
// Fluid up to the design width: a fixed 200px card overflows a narrow column and is
|
|
9164
|
+
// the single most common `fixed-width` audit finding. Capping keeps the desktop look
|
|
9165
|
+
// identical (parent wider than 200px → still 200px) while shrinking on a phone.
|
|
9166
|
+
width: '100%',
|
|
9167
|
+
maxWidth: '200px',
|
|
9158
9168
|
height: 'auto',
|
|
9159
9169
|
padding: '16px 16px 16px 16px',
|
|
9160
9170
|
borderWidth: '1px 1px 1px 1px',
|
|
@@ -9292,7 +9302,10 @@ class BuilderImageComponentConfig extends ComponentConfig {
|
|
|
9292
9302
|
];
|
|
9293
9303
|
this.styleTraits = buildFullStyleTraits();
|
|
9294
9304
|
this.applyStyleDefaults({
|
|
9295
|
-
|
|
9305
|
+
// Same reasoning as Card: 300px alone overflows a 320px viewport once the page has any
|
|
9306
|
+
// side padding. Capped-fluid renders identically wherever there is room.
|
|
9307
|
+
width: '100%',
|
|
9308
|
+
maxWidth: '300px',
|
|
9296
9309
|
aspectRatio: '1/1',
|
|
9297
9310
|
});
|
|
9298
9311
|
}
|