@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 +3 -1
- package/elements-web-component.esm.js +25 -25
- package/elements-web-component.esm.js.map +4 -4
- package/elements.cjs.js +27 -27
- package/elements.cjs.js.map +4 -4
- package/elements.esm.js +27 -27
- package/elements.esm.js.map +4 -4
- package/elements.js +25 -25
- package/elements.js.map +4 -4
- package/index.d.ts +23 -4
- package/index.mjs +231 -64
- package/package.json +1 -1
- package/schema.d.ts +37 -45
- package/schema.json +10 -6
- package/schema.mjs +3 -1
- package/style.css +1 -1
- package/web-component.mjs +189 -51
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.
|
|
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').")
|