@helpai/elements 0.60.3 → 0.61.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.
package/configurator.mjs CHANGED
@@ -151,12 +151,16 @@ var themeOverridesSchema = z5.object({
151
151
  accent: cssColorSchema.optional().describe("Brand accent colour. Drives the FAB, send button, links, and active states. CSS colour."),
152
152
  accentText: cssColorSchema.optional().describe("Foreground colour rendered ON the accent (FAB icon, send-button glyph). CSS colour."),
153
153
  radius: cssLengthSchema.optional().describe("Corner radius for the panel + buttons. CSS length (`8px`, `0.75rem`, `12px`)."),
154
- fontFamily: z5.string().min(1).max(200).optional().describe("Font stack used inside the widget. Standard CSS `font-family` value.")
154
+ fontFamily: z5.string().min(1).max(200).optional().describe("Font stack used inside the widget. Standard CSS `font-family` value."),
155
+ contentMaxWidth: cssLengthSchema.optional().describe(
156
+ "Max width of the readable content column (messages, history, home, composer) on a wide surface \u2014 content centres, full-bleed bars keep their edges. CSS length; default `768px`. Set `100%` to fill the surface (no cap). Modal + drawer already fill their card by default."
157
+ )
155
158
  }).loose().describe("Theme token overrides. Any field left unset falls through to the brand's default theme.").meta({
156
159
  examples: [
157
160
  { accent: "#10b981", radius: "12px" },
158
161
  { accent: "#7c3aed", accentText: "#ffffff", radius: "16px", fontFamily: "'Inter', system-ui" },
159
- { accent: "oklch(0.7 0.2 145)", radius: "0.5rem" }
162
+ { accent: "oklch(0.7 0.2 145)", radius: "0.5rem" },
163
+ { accent: "#5b5bd6", contentMaxWidth: "960px" }
160
164
  ]
161
165
  });
162
166
  var themeFieldSchema = z5.union([themePreferenceSchema, themeOverridesSchema]).describe("'auto' | 'light' | 'dark', or a tokens override object.").meta({