@helpai/elements 0.4.1 → 0.6.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
@@ -443,7 +443,9 @@ var moduleSchema = z14.object({
443
443
  showRecentMessages: z14.boolean().optional().describe("`home` \u2014 show the visitor's most recent conversation card (default true)."),
444
444
  status: z14.object({
445
445
  text: z14.string().min(1).max(120),
446
- level: z14.enum(["operational", "degraded", "down"]).optional(),
446
+ level: z14.string().max(40).optional().describe(
447
+ "`home` \u2014 status severity, drives the status icon colour. Free text; `operational` (green, default), `degraded` (amber), and `down` (red) are styled, any other value falls back to the operational style."
448
+ ).meta({ examples: ["operational", "degraded", "down"] }),
447
449
  url: z14.string().max(2048).optional().describe("Opens in an in-widget iframe when tapped.")
448
450
  }).optional().describe("`home` \u2014 system-status card. Omit to hide."),
449
451
  contentBlockTitle: z14.string().max(80).optional().describe("`home` \u2014 heading for the content list built from `contentTags` (default 'Popular articles').")