@deneb-ui/core 2.0.94 → 2.0.96

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.
@@ -166,6 +166,12 @@ function sectionStyleToCssVariables(style) {
166
166
  if (style.backgroundOverlayOpacity !== undefined) {
167
167
  vars['--deneb-section-overlay-opacity'] = String(style.backgroundOverlayOpacity);
168
168
  }
169
+ if (style.textAlign)
170
+ vars['--deneb-section-align'] = style.textAlign;
171
+ if (style.display)
172
+ vars['--deneb-section-display'] = style.display;
173
+ if (style.order !== undefined && style.order !== '')
174
+ vars['--deneb-section-order'] = String(style.order);
169
175
  return vars;
170
176
  }
171
177
  function styleToCssVariables(styleKind, style) {
@@ -69,6 +69,9 @@ export interface SectionStyleProperties {
69
69
  backgroundImage?: string;
70
70
  backgroundOverlayColor?: string;
71
71
  backgroundOverlayOpacity?: number;
72
+ textAlign?: "left" | "center" | "right";
73
+ display?: string;
74
+ order?: number | string;
72
75
  }
73
76
  export type StyleKind = 'text' | 'card' | 'button' | 'grid' | 'section';
74
77
  export type ComponentStyle = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deneb-ui/core",
3
- "version": "2.0.94",
3
+ "version": "2.0.96",
4
4
  "description": "Headless style engine for real-time Fivora visual editing — CSS variables, DOM patcher, and preview protocol.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",