@helpai/elements 0.35.0 → 0.36.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 +3 -1
- package/elements-web-component.esm.js +4 -4
- package/elements-web-component.esm.js.map +3 -3
- package/elements.cjs.js +4 -4
- package/elements.cjs.js.map +3 -3
- package/elements.esm.js +4 -4
- package/elements.esm.js.map +3 -3
- package/elements.js +4 -4
- package/elements.js.map +3 -3
- package/index.d.ts +7 -2
- package/index.mjs +3 -2
- package/package.json +1 -1
- package/schema.d.ts +28 -28
- package/schema.json +2 -6
- package/schema.mjs +3 -1
- package/web-component.mjs +3 -2
package/configurator.mjs
CHANGED
|
@@ -562,7 +562,9 @@ var moduleSchema = z14.object({
|
|
|
562
562
|
showSearchBar: z14.boolean().optional().describe("`home` \u2014 show the 'Search for help' bar (default true)."),
|
|
563
563
|
showRecentConversations: z14.boolean().optional().describe("`home` \u2014 show the visitor's most recent conversation card (default true)."),
|
|
564
564
|
status: z14.object({
|
|
565
|
-
text: z14.string().min(1).max(120)
|
|
565
|
+
text: z14.string().min(1).max(120).optional().describe(
|
|
566
|
+
"`home` \u2014 status line; an i18n key or a literal (resolved via `localizeText`). Omit to use the built-in generic `homeStatus` string (localized, no custom key needed)."
|
|
567
|
+
),
|
|
566
568
|
level: z14.string().max(40).optional().describe(
|
|
567
569
|
"`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."
|
|
568
570
|
).meta({ examples: ["operational", "degraded", "down"] }),
|