@ada-cx/lovelace 1.11.0 → 1.12.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.
Files changed (28) hide show
  1. package/dist/components/AttachmentChip/AttachmentChip.css.d.ts +13 -0
  2. package/dist/components/AttachmentChip/AttachmentChip.css.js +16 -0
  3. package/dist/components/AttachmentChip/AttachmentChip.css.js.map +1 -0
  4. package/dist/components/AttachmentChip/AttachmentChip.d.ts +69 -0
  5. package/dist/components/AttachmentChip/AttachmentChip.js +51 -0
  6. package/dist/components/AttachmentChip/AttachmentChip.js.map +1 -0
  7. package/dist/components/AttachmentChip/index.d.ts +2 -0
  8. package/dist/components/Avatar/Avatar.css.js +1 -1
  9. package/dist/components/DropZone/DropZone.js +4 -4
  10. package/dist/components/Icon/icons/Document.d.ts +2 -0
  11. package/dist/components/Icon/icons/Document.js +14 -0
  12. package/dist/components/Icon/icons/Document.js.map +1 -0
  13. package/dist/components/Icon/icons/index.d.ts +1 -0
  14. package/dist/components/Input/Input.css.d.ts +5 -0
  15. package/dist/components/Input/Input.css.js.map +1 -1
  16. package/dist/components/Input/InputAttachments.d.ts +13 -2
  17. package/dist/components/Input/InputAttachments.js.map +1 -1
  18. package/dist/components/Input/InputField.d.ts +8 -1
  19. package/dist/components/Input/InputField.js +6 -5
  20. package/dist/components/Input/InputField.js.map +1 -1
  21. package/dist/components/Input/InputRoot.js +4 -4
  22. package/dist/components/Input/InputTextArea.js +7 -7
  23. package/dist/components/MenuItem/MenuItemRoot.js +9 -9
  24. package/dist/components/VideoMessage/VideoMessage.js +4 -4
  25. package/dist/index.d.ts +1 -0
  26. package/dist/index.js +85 -83
  27. package/dist/style.css +1 -1
  28. package/package.json +1 -1
@@ -0,0 +1,13 @@
1
+ import type { ComplexStyleRule } from "@vanilla-extract/css";
2
+ import type { RuntimeFn } from "@vanilla-extract/recipes";
3
+ export declare const attachmentChipRoot: RuntimeFn<{
4
+ interactive: Record<"true" | "false", ComplexStyleRule>;
5
+ }>;
6
+ /**
7
+ * Fixed box for the leading slot so a thumbnail, a spinner and an icon all
8
+ * occupy the same 24px square — otherwise the chip's contents shift as an
9
+ * upload settles and the stand-in gives way to the image.
10
+ */
11
+ export declare const attachmentChipMedia: string;
12
+ export declare const attachmentChipThumbnail: string;
13
+ export declare const attachmentChipLabel: string;
@@ -0,0 +1,16 @@
1
+ /* empty css */
2
+ import { createRuntimeFn as e } from "../../vendor/@vanilla-extract/recipes/dist/createRuntimeFn-62c9670f.esm.js";
3
+ //#region src/components/AttachmentChip/AttachmentChip.css.ts
4
+ var t = e({
5
+ defaultClassName: "_1chqu661 _1chqu660",
6
+ variantClassNames: { interactive: {
7
+ true: "_1chqu662",
8
+ false: "_1chqu663"
9
+ } },
10
+ defaultVariants: { interactive: !1 },
11
+ compoundVariants: []
12
+ }), n = "_1chqu664", r = "_1chqu665", i = "_1chqu666";
13
+ //#endregion
14
+ export { i as attachmentChipLabel, n as attachmentChipMedia, t as attachmentChipRoot, r as attachmentChipThumbnail };
15
+
16
+ //# sourceMappingURL=AttachmentChip.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AttachmentChip.css.js","names":[],"sources":["../../../src/components/AttachmentChip/AttachmentChip.css.ts"],"sourcesContent":["import type { ComplexStyleRule } from \"@vanilla-extract/css\";\nimport { globalStyle, style } from \"@vanilla-extract/css\";\nimport type { RuntimeFn } from \"@vanilla-extract/recipes\";\nimport { recipe } from \"@vanilla-extract/recipes\";\nimport { t } from \"../../tokens/index.js\";\n\nconst attachmentChipBase = style({});\n\n/**\n * Figma pins each chip's frame height, the way it pins other control heights —\n * literals, with no size tier to route them through. The file chip is 40px: its\n * 24px thumbnail plus the 8px padding leaves nothing to trim. The summary chip\n * carries a 22px icon instead, and the composer draws it at 36px.\n */\nconst FILE_CHIP_HEIGHT = \"40px\";\nconst SUMMARY_CHIP_HEIGHT = \"36px\";\n\n/**\n * The cap the filename ellipsises against. Figma pins it on the file chip only;\n * the summary sizes to its own label, so a count is never clipped.\n */\nconst FILE_CHIP_MAX_WIDTH = \"148px\";\n\n/**\n * Annotated `string` deliberately: `t()` returns a template-literal type per\n * token, and four of them concatenated exceed what tsc will represent\n * (TS2590).\n */\nconst CHIP_SHADOW: string = `0 ${t(\"elevation-2-offset-y\")} ${t(\"elevation-2-blur\")} ${t(\"elevation-2-spread\")} ${t(\"elevation-2-color\")}`;\n\nexport const attachmentChipRoot: RuntimeFn<{\n\tinteractive: Record<\"true\" | \"false\", ComplexStyleRule>;\n}> = recipe({\n\tbase: [\n\t\tattachmentChipBase,\n\t\t{\n\t\t\tdisplay: \"flex\",\n\t\t\talignItems: \"center\",\n\t\t\tboxSizing: \"border-box\",\n\t\t\tgap: t(\"gap-8\"),\n\t\t\tminWidth: 0,\n\t\t\tpadding: t(\"padding-8\"),\n\t\t\toverflow: \"hidden\",\n\t\t\tborderRadius: t(\"border-radius-6\"),\n\t\t\tborder: 0,\n\t\t\tbackgroundColor: t(\"color-background-quaternary\"),\n\t\t\tcolor: t(\"color-content-default\"),\n\t\t\tfontFamily: t(\"font-family-body\"),\n\t\t\tfontSize: t(\"font-size-body\"),\n\t\t\tfontWeight: t(\"font-weight-regular\"),\n\t\t\tlineHeight: t(\"line-height-body\"),\n\t\t\ttextAlign: \"start\",\n\t\t\tappearance: \"none\",\n\t\t\tboxShadow: CHIP_SHADOW,\n\t\t},\n\t],\n\tvariants: {\n\t\t/**\n\t\t * Off, the chip is a plain container whose trailing button is the only\n\t\t * control — Figma's file chip, capped so a long filename ellipsises. On,\n\t\t * the chip itself is the control — Figma's summary chip, which has no\n\t\t * trailing button, sizes to its label, and so takes the shared state\n\t\t * layer.\n\t\t */\n\t\tinteractive: {\n\t\t\ttrue: {\n\t\t\t\theight: SUMMARY_CHIP_HEIGHT,\n\t\t\t\tposition: \"relative\",\n\t\t\t\tisolation: \"isolate\",\n\t\t\t\tcursor: \"pointer\",\n\t\t\t\toutline: \"none\",\n\t\t\t\t\"::after\": {\n\t\t\t\t\tcontent: '\"\"',\n\t\t\t\t\tposition: \"absolute\",\n\t\t\t\t\tinset: 0,\n\t\t\t\t\tborderRadius: \"inherit\",\n\t\t\t\t\tbackgroundColor: \"currentColor\",\n\t\t\t\t\topacity: 0,\n\t\t\t\t\tpointerEvents: \"none\",\n\t\t\t\t\tzIndex: -1,\n\t\t\t\t\ttransition: `opacity ${t(\"duration-fast\")} ${t(\"easing-standard\")}`,\n\t\t\t\t},\n\t\t\t\tselectors: {\n\t\t\t\t\t\"&[data-hovered]::after\": { opacity: t(\"opacity-state-hover\") },\n\t\t\t\t\t\"&[data-focus-visible]::after\": { opacity: t(\"opacity-state-focus\") },\n\t\t\t\t\t\"&[data-pressed]::after\": { opacity: t(\"opacity-state-pressed\") },\n\t\t\t\t\t\"&[data-focus-visible]\": {\n\t\t\t\t\t\toutline: `2px solid ${t(\"color-border-focus\")}`,\n\t\t\t\t\t\toutlineOffset: \"2px\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\"@media\": {\n\t\t\t\t\t// A token-based ring is flattened away in High Contrast, so the\n\t\t\t\t\t// focus state needs a system colour to survive it.\n\t\t\t\t\t\"(forced-colors: active)\": {\n\t\t\t\t\t\tselectors: {\n\t\t\t\t\t\t\t\"&[data-focus-visible]\": {\n\t\t\t\t\t\t\t\toutline: \"2px solid Highlight\",\n\t\t\t\t\t\t\t\toutlineOffset: \"2px\",\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tfalse: {\n\t\t\t\theight: FILE_CHIP_HEIGHT,\n\t\t\t\tmaxWidth: FILE_CHIP_MAX_WIDTH,\n\t\t\t},\n\t\t},\n\t},\n\tdefaultVariants: { interactive: false },\n});\n\n/**\n * Fixed box for the leading slot so a thumbnail, a spinner and an icon all\n * occupy the same 24px square — otherwise the chip's contents shift as an\n * upload settles and the stand-in gives way to the image.\n */\nexport const attachmentChipMedia = style({\n\tdisplay: \"inline-flex\",\n\talignItems: \"center\",\n\tjustifyContent: \"center\",\n\tflexShrink: 0,\n\twidth: \"24px\",\n\theight: \"24px\",\n\tborderRadius: t(\"border-radius-6\"),\n\toverflow: \"hidden\",\n});\n\n/**\n * A thumbnail fills the box; an icon sits at 22px inside it, as Figma draws\n * it — and on the chip's own background, with no backing of its own.\n */\nglobalStyle(`${attachmentChipMedia} [data-slot=\"icon\"]`, {\n\tfontSize: t(\"icon-size-control\"),\n});\n\nexport const attachmentChipThumbnail = style({\n\twidth: \"100%\",\n\theight: \"100%\",\n\tobjectFit: \"cover\",\n});\n\nexport const attachmentChipLabel = style({\n\tminWidth: 0,\n\toverflow: \"hidden\",\n\ttextOverflow: \"ellipsis\",\n\twhiteSpace: \"nowrap\",\n\twordBreak: \"break-word\",\n});\n"],"mappings":""}
@@ -0,0 +1,69 @@
1
+ import type { CSSProperties, ReactNode, Ref } from "react";
2
+ export interface AttachmentChipProps {
3
+ /** Filename, or a summary such as "3 attachments". */
4
+ label: string;
5
+ /**
6
+ * Thumbnail source, rendered as given. Validate it first — and use
7
+ * `onImageError` to retire one that fails, since a broken image is worse
8
+ * than the stand-in.
9
+ */
10
+ thumbnailUrl?: string | null;
11
+ /** Shown in the media box when there is no thumbnail: an icon, or a spinner. */
12
+ media?: ReactNode;
13
+ /**
14
+ * Marks the whole chip busy, for an upload that has not settled. Surfaces as
15
+ * `data-busy` on both roots and as `aria-busy` on the container root only —
16
+ * React Aria filters `aria-busy` out of `Button`'s DOM props, so a pressable
17
+ * chip cannot carry it and its caller should announce the state in a live
18
+ * region instead.
19
+ */
20
+ isBusy?: boolean;
21
+ /** Fires when `thumbnailUrl` fails to load. */
22
+ onImageError?: () => void;
23
+ /**
24
+ * Makes the chip itself the control. Use it for a summary that opens
25
+ * something; leave it off when `action` is the only control, so the chip does
26
+ * not become a focus stop wrapping another button.
27
+ */
28
+ onPress?: () => void;
29
+ /** Trailing control — typically a remove `IconButton`. Ignored with `onPress`. */
30
+ action?: ReactNode;
31
+ className?: string;
32
+ style?: CSSProperties;
33
+ /**
34
+ * The `div` root only. With `onPress` the root is a RAC `Button`, whose
35
+ * element type disagrees, and widening this to a union would stop an
36
+ * existing `RefObject<HTMLDivElement>` type-checking — so it is dropped
37
+ * there rather than forwarded. A pressable chip needs no ref today: RAC's
38
+ * modal restores focus to its trigger on dismiss.
39
+ */
40
+ ref?: Ref<HTMLDivElement>;
41
+ id?: string;
42
+ /**
43
+ * Deliberately the only passthrough besides `id` and the two ARIA props
44
+ * below: the two roots are a `div` and a RAC `Button`, whose event-handler
45
+ * types disagree, so a blanket `HTMLAttributes` spread cannot type-check
46
+ * against both.
47
+ */
48
+ "data-testid"?: string;
49
+ /**
50
+ * What pressing the chip opens. `onPress` only makes it a button; without
51
+ * this a chip that opens the attachments sheet reads as "3 attachments,
52
+ * button" with no hint that a dialog follows. Ignored without `onPress`.
53
+ */
54
+ "aria-haspopup"?: "dialog" | "menu" | "listbox" | "true";
55
+ /** Whether what `aria-haspopup` names is currently open. */
56
+ "aria-expanded"?: boolean;
57
+ }
58
+ /**
59
+ * A staged or attached file inside the composer field: a thumbnail (or a
60
+ * stand-in), its name, and one control.
61
+ *
62
+ * Two shapes, and they are mutually exclusive by construction. With `action` the
63
+ * chip is a plain container and the trailing button is the only control — one
64
+ * file, removable. With `onPress` the chip itself is the control and the
65
+ * trailing slot is dropped, because a summary standing for several files has
66
+ * nowhere sensible to put a single remove. Passing both would nest a button
67
+ * inside a button, which is invalid and unreachable by keyboard.
68
+ */
69
+ export declare function AttachmentChip({ label, thumbnailUrl, media, isBusy, onImageError, onPress, action, className, style, ref, id, "aria-haspopup": ariaHasPopup, "aria-expanded": ariaExpanded, "data-testid": testId, }: AttachmentChipProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,51 @@
1
+ import { cx as e } from "../../utils/cx.js";
2
+ import { attachmentChipLabel as t, attachmentChipMedia as n, attachmentChipRoot as r, attachmentChipThumbnail as i } from "./AttachmentChip.css.js";
3
+ import { Fragment as a, jsx as o, jsxs as s } from "react/jsx-runtime";
4
+ import { Button as c } from "react-aria-components";
5
+ //#region src/components/AttachmentChip/AttachmentChip.tsx
6
+ function l({ label: l, thumbnailUrl: u, media: d, isBusy: f, onImageError: p, onPress: m, action: h, className: g, style: _, ref: v, id: y, "aria-haspopup": b, "aria-expanded": x, "data-testid": S }) {
7
+ let C = /* @__PURE__ */ s(a, { children: [
8
+ /* @__PURE__ */ o("span", {
9
+ className: n,
10
+ "aria-hidden": "true",
11
+ children: u ? /* @__PURE__ */ o("img", {
12
+ className: i,
13
+ src: u,
14
+ alt: "",
15
+ onError: p
16
+ }) : d
17
+ }),
18
+ /* @__PURE__ */ o("span", {
19
+ className: t,
20
+ dir: "auto",
21
+ title: l,
22
+ children: l
23
+ }),
24
+ !m && h
25
+ ] });
26
+ return m ? /* @__PURE__ */ o(c, {
27
+ id: y,
28
+ "data-testid": S,
29
+ "aria-label": l,
30
+ "aria-haspopup": b,
31
+ "aria-expanded": x,
32
+ "data-busy": f || void 0,
33
+ className: e(r({ interactive: !0 }), g),
34
+ style: _,
35
+ onPress: m,
36
+ children: C
37
+ }) : /* @__PURE__ */ o("div", {
38
+ id: y,
39
+ "data-testid": S,
40
+ ref: v,
41
+ "aria-busy": f || void 0,
42
+ "data-busy": f || void 0,
43
+ className: e(r({ interactive: !1 }), g),
44
+ style: _,
45
+ children: C
46
+ });
47
+ }
48
+ //#endregion
49
+ export { l as AttachmentChip };
50
+
51
+ //# sourceMappingURL=AttachmentChip.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AttachmentChip.js","names":[],"sources":["../../../src/components/AttachmentChip/AttachmentChip.tsx"],"sourcesContent":["import type { CSSProperties, ReactNode, Ref } from \"react\";\nimport { Button as AriaButton } from \"react-aria-components\";\nimport { cx } from \"../../utils/cx.js\";\nimport {\n\tattachmentChipLabel,\n\tattachmentChipMedia,\n\tattachmentChipRoot,\n\tattachmentChipThumbnail,\n} from \"./AttachmentChip.css.js\";\n\nexport interface AttachmentChipProps {\n\t/** Filename, or a summary such as \"3 attachments\". */\n\tlabel: string;\n\t/**\n\t * Thumbnail source, rendered as given. Validate it first — and use\n\t * `onImageError` to retire one that fails, since a broken image is worse\n\t * than the stand-in.\n\t */\n\tthumbnailUrl?: string | null;\n\t/** Shown in the media box when there is no thumbnail: an icon, or a spinner. */\n\tmedia?: ReactNode;\n\t/**\n\t * Marks the whole chip busy, for an upload that has not settled. Surfaces as\n\t * `data-busy` on both roots and as `aria-busy` on the container root only —\n\t * React Aria filters `aria-busy` out of `Button`'s DOM props, so a pressable\n\t * chip cannot carry it and its caller should announce the state in a live\n\t * region instead.\n\t */\n\tisBusy?: boolean;\n\t/** Fires when `thumbnailUrl` fails to load. */\n\tonImageError?: () => void;\n\t/**\n\t * Makes the chip itself the control. Use it for a summary that opens\n\t * something; leave it off when `action` is the only control, so the chip does\n\t * not become a focus stop wrapping another button.\n\t */\n\tonPress?: () => void;\n\t/** Trailing control — typically a remove `IconButton`. Ignored with `onPress`. */\n\taction?: ReactNode;\n\tclassName?: string;\n\tstyle?: CSSProperties;\n\t/**\n\t * The `div` root only. With `onPress` the root is a RAC `Button`, whose\n\t * element type disagrees, and widening this to a union would stop an\n\t * existing `RefObject<HTMLDivElement>` type-checking — so it is dropped\n\t * there rather than forwarded. A pressable chip needs no ref today: RAC's\n\t * modal restores focus to its trigger on dismiss.\n\t */\n\tref?: Ref<HTMLDivElement>;\n\tid?: string;\n\t/**\n\t * Deliberately the only passthrough besides `id` and the two ARIA props\n\t * below: the two roots are a `div` and a RAC `Button`, whose event-handler\n\t * types disagree, so a blanket `HTMLAttributes` spread cannot type-check\n\t * against both.\n\t */\n\t\"data-testid\"?: string;\n\t/**\n\t * What pressing the chip opens. `onPress` only makes it a button; without\n\t * this a chip that opens the attachments sheet reads as \"3 attachments,\n\t * button\" with no hint that a dialog follows. Ignored without `onPress`.\n\t */\n\t\"aria-haspopup\"?: \"dialog\" | \"menu\" | \"listbox\" | \"true\";\n\t/** Whether what `aria-haspopup` names is currently open. */\n\t\"aria-expanded\"?: boolean;\n}\n\n/**\n * A staged or attached file inside the composer field: a thumbnail (or a\n * stand-in), its name, and one control.\n *\n * Two shapes, and they are mutually exclusive by construction. With `action` the\n * chip is a plain container and the trailing button is the only control — one\n * file, removable. With `onPress` the chip itself is the control and the\n * trailing slot is dropped, because a summary standing for several files has\n * nowhere sensible to put a single remove. Passing both would nest a button\n * inside a button, which is invalid and unreachable by keyboard.\n */\nexport function AttachmentChip({\n\tlabel,\n\tthumbnailUrl,\n\tmedia,\n\tisBusy,\n\tonImageError,\n\tonPress,\n\taction,\n\tclassName,\n\tstyle,\n\tref,\n\tid,\n\t\"aria-haspopup\": ariaHasPopup,\n\t\"aria-expanded\": ariaExpanded,\n\t\"data-testid\": testId,\n}: AttachmentChipProps) {\n\tconst content = (\n\t\t<>\n\t\t\t{/* Decorative: the label beside it is the accessible text, so alt text\n\t\t\t of the filename would read it twice. */}\n\t\t\t<span className={attachmentChipMedia} aria-hidden=\"true\">\n\t\t\t\t{thumbnailUrl ? (\n\t\t\t\t\t<img\n\t\t\t\t\t\tclassName={attachmentChipThumbnail}\n\t\t\t\t\t\tsrc={thumbnailUrl}\n\t\t\t\t\t\talt=\"\"\n\t\t\t\t\t\tonError={onImageError}\n\t\t\t\t\t/>\n\t\t\t\t) : (\n\t\t\t\t\tmedia\n\t\t\t\t)}\n\t\t\t</span>\n\t\t\t<span className={attachmentChipLabel} dir=\"auto\" title={label}>\n\t\t\t\t{label}\n\t\t\t</span>\n\t\t\t{!onPress && action}\n\t\t</>\n\t);\n\n\tif (onPress) {\n\t\treturn (\n\t\t\t<AriaButton\n\t\t\t\tid={id}\n\t\t\t\tdata-testid={testId}\n\t\t\t\taria-label={label}\n\t\t\t\taria-haspopup={ariaHasPopup}\n\t\t\t\taria-expanded={ariaExpanded}\n\t\t\t\tdata-busy={isBusy || undefined}\n\t\t\t\tclassName={cx(attachmentChipRoot({ interactive: true }), className)}\n\t\t\t\tstyle={style}\n\t\t\t\tonPress={onPress}\n\t\t\t>\n\t\t\t\t{content}\n\t\t\t</AriaButton>\n\t\t);\n\t}\n\n\treturn (\n\t\t<div\n\t\t\tid={id}\n\t\t\tdata-testid={testId}\n\t\t\tref={ref}\n\t\t\taria-busy={isBusy || undefined}\n\t\t\tdata-busy={isBusy || undefined}\n\t\t\tclassName={cx(attachmentChipRoot({ interactive: false }), className)}\n\t\t\tstyle={style}\n\t\t>\n\t\t\t{content}\n\t\t</div>\n\t);\n}\n"],"mappings":";;;;;AA8EA,SAAgB,EAAe,EAC9B,UACA,iBACA,UACA,WACA,iBACA,YACA,WACA,cACA,UACA,QACA,OACA,iBAAiB,GACjB,iBAAiB,GACjB,eAAe,KACQ;CACvB,IAAM,IACL,kBAAA,GAAA,EAAA,UAAA;EAGC,kBAAC,QAAD;GAAM,WAAW;GAAqB,eAAY;aAChD,IACA,kBAAC,OAAD;IACC,WAAW;IACX,KAAK;IACL,KAAI;IACJ,SAAS;IACR,CAAA,GAEF;GAEK,CAAA;EACP,kBAAC,QAAD;GAAM,WAAW;GAAqB,KAAI;GAAO,OAAO;aACtD;GACK,CAAA;EACN,CAAC,KAAW;EACX,EAAA,CAAA;AAqBJ,QAlBI,IAEF,kBAAC,GAAD;EACK;EACJ,eAAa;EACb,cAAY;EACZ,iBAAe;EACf,iBAAe;EACf,aAAW,KAAU,KAAA;EACrB,WAAW,EAAG,EAAmB,EAAE,aAAa,IAAM,CAAC,EAAE,EAAU;EAC5D;EACE;YAER;EACW,CAAA,GAKd,kBAAC,OAAD;EACK;EACJ,eAAa;EACR;EACL,aAAW,KAAU,KAAA;EACrB,aAAW,KAAU,KAAA;EACrB,WAAW,EAAG,EAAmB,EAAE,aAAa,IAAO,CAAC,EAAE,EAAU;EAC7D;YAEN;EACI,CAAA"}
@@ -0,0 +1,2 @@
1
+ export type { AttachmentChipProps } from "./AttachmentChip.js";
2
+ export { AttachmentChip } from "./AttachmentChip.js";
@@ -1,5 +1,5 @@
1
- /* empty css */
2
1
  import { createRuntimeFn as e } from "../../vendor/@vanilla-extract/recipes/dist/createRuntimeFn-62c9670f.esm.js";
2
+ /* empty css */
3
3
  //#region src/components/Avatar/Avatar.css.ts
4
4
  var t = e({
5
5
  defaultClassName: "kmbju21 kmbju20",
@@ -2,12 +2,12 @@ import { cx as e } from "../../utils/cx.js";
2
2
  import { CloudUpload as t } from "../Icon/icons/CloudUpload.js";
3
3
  import { dropZoneRoot as n } from "./DropZone.css.js";
4
4
  import { Fragment as r, jsx as i, jsxs as a } from "react/jsx-runtime";
5
- import { useCallback as o, useRef as s } from "react";
6
- import { DropZone as c } from "react-aria-components";
5
+ import { DropZone as o } from "react-aria-components";
6
+ import { useCallback as s, useRef as c } from "react";
7
7
  import { isFileDropItem as l } from "react-aria";
8
8
  //#region src/components/DropZone/DropZone.tsx
9
9
  function u({ onFileDrop: u, onMultipleFilesRejected: d, onDropError: f, isDisabled: p = !1, label: m = "Drop your file here", description: h, className: g, children: _, ...v }) {
10
- let y = s(!1), b = o(async (e) => {
10
+ let y = c(!1), b = s(async (e) => {
11
11
  if (y.current) return;
12
12
  let t = e.items.filter(l);
13
13
  if (t.length !== 0) {
@@ -29,7 +29,7 @@ function u({ onFileDrop: u, onMultipleFilesRejected: d, onDropError: f, isDisabl
29
29
  u,
30
30
  d
31
31
  ]);
32
- return /* @__PURE__ */ i(c, {
32
+ return /* @__PURE__ */ i(o, {
33
33
  ...v,
34
34
  "aria-label": m,
35
35
  isDisabled: p,
@@ -0,0 +1,2 @@
1
+ import type { IconProps } from "../Icon.js";
2
+ export declare function Document(props: Omit<IconProps, "children">): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,14 @@
1
+ import { Icon as e } from "../Icon.js";
2
+ import { Glyph as t } from "./Glyph.js";
3
+ import { jsx as n } from "react/jsx-runtime";
4
+ //#region src/components/Icon/icons/Document.tsx
5
+ function r(r) {
6
+ return /* @__PURE__ */ n(e, {
7
+ ...r,
8
+ children: /* @__PURE__ */ n(t, { children: /* @__PURE__ */ n("path", { d: "M9 10H10C10.2652 10 10.5196 9.8946 10.7071 9.7071C10.8946 9.5196 11 9.2652 11 9C11 8.7348 10.8946 8.4804 10.7071 8.2929C10.5196 8.1054 10.2652 8 10 8H9C8.7348 8 8.4804 8.1054 8.2929 8.2929C8.1054 8.4804 8 8.7348 8 9C8 9.2652 8.1054 9.5196 8.2929 9.7071C8.4804 9.8946 8.7348 10 9 10ZM9 12C8.7348 12 8.4804 12.1054 8.2929 12.2929C8.1054 12.4804 8 12.7348 8 13C8 13.2652 8.1054 13.5195 8.2929 13.7071C8.4804 13.8947 8.7348 14 9 14H15C15.2652 14 15.5196 13.8947 15.7071 13.7071C15.8947 13.5195 16 13.2652 16 13C16 12.7348 15.8947 12.4804 15.7071 12.2929C15.5196 12.1054 15.2652 12 15 12H9ZM20 8.94C19.9896 8.8481 19.9695 8.7576 19.94 8.67V8.58C19.892 8.4772 19.8278 8.3827 19.75 8.3L13.75 2.3C13.6673 2.2222 13.5728 2.1581 13.47 2.11C13.4401 2.1058 13.4099 2.1058 13.38 2.11C13.2784 2.0517 13.1662 2.0143 13.05 2H7C6.2043 2 5.4413 2.3161 4.8787 2.8787C4.3161 3.4413 4 4.2044 4 5V19C4 19.7956 4.3161 20.5587 4.8787 21.1213C5.4413 21.6839 6.2043 22 7 22H17C17.7957 22 18.5588 21.6839 19.1213 21.1213C19.6839 20.5587 20 19.7956 20 19V8.94ZM14 5.41L16.59 8H15C14.7348 8 14.4804 7.8946 14.2929 7.7071C14.1053 7.5196 14 7.2652 14 7V5.41ZM18 19C18 19.2652 17.8946 19.5195 17.7071 19.7071C17.5196 19.8947 17.2652 20 17 20H7C6.7348 20 6.4804 19.8947 6.2929 19.7071C6.1054 19.5195 6 19.2652 6 19V5C6 4.7348 6.1054 4.4804 6.2929 4.2929C6.4804 4.1054 6.7348 4 7 4H12V7C12 7.7956 12.316 8.5587 12.8787 9.1213C13.4413 9.6839 14.2044 10 15 10H18V19ZM15 16H9C8.7348 16 8.4804 16.1053 8.2929 16.2929C8.1054 16.4805 8 16.7348 8 17C8 17.2652 8.1054 17.5196 8.2929 17.7071C8.4804 17.8946 8.7348 18 9 18H15C15.2652 18 15.5196 17.8946 15.7071 17.7071C15.8947 17.5196 16 17.2652 16 17C16 16.7348 15.8947 16.4805 15.7071 16.2929C15.5196 16.1053 15.2652 16 15 16Z" }) })
9
+ });
10
+ }
11
+ //#endregion
12
+ export { r as Document };
13
+
14
+ //# sourceMappingURL=Document.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Document.js","names":[],"sources":["../../../../src/components/Icon/icons/Document.tsx"],"sourcesContent":["import type { IconProps } from \"../Icon.js\";\nimport { Icon } from \"../Icon.js\";\nimport { Glyph } from \"./Glyph.js\";\n\nexport function Document(props: Omit<IconProps, \"children\">) {\n\treturn (\n\t\t<Icon {...props}>\n\t\t\t<Glyph>\n\t\t\t\t<path d=\"M9 10H10C10.2652 10 10.5196 9.8946 10.7071 9.7071C10.8946 9.5196 11 9.2652 11 9C11 8.7348 10.8946 8.4804 10.7071 8.2929C10.5196 8.1054 10.2652 8 10 8H9C8.7348 8 8.4804 8.1054 8.2929 8.2929C8.1054 8.4804 8 8.7348 8 9C8 9.2652 8.1054 9.5196 8.2929 9.7071C8.4804 9.8946 8.7348 10 9 10ZM9 12C8.7348 12 8.4804 12.1054 8.2929 12.2929C8.1054 12.4804 8 12.7348 8 13C8 13.2652 8.1054 13.5195 8.2929 13.7071C8.4804 13.8947 8.7348 14 9 14H15C15.2652 14 15.5196 13.8947 15.7071 13.7071C15.8947 13.5195 16 13.2652 16 13C16 12.7348 15.8947 12.4804 15.7071 12.2929C15.5196 12.1054 15.2652 12 15 12H9ZM20 8.94C19.9896 8.8481 19.9695 8.7576 19.94 8.67V8.58C19.892 8.4772 19.8278 8.3827 19.75 8.3L13.75 2.3C13.6673 2.2222 13.5728 2.1581 13.47 2.11C13.4401 2.1058 13.4099 2.1058 13.38 2.11C13.2784 2.0517 13.1662 2.0143 13.05 2H7C6.2043 2 5.4413 2.3161 4.8787 2.8787C4.3161 3.4413 4 4.2044 4 5V19C4 19.7956 4.3161 20.5587 4.8787 21.1213C5.4413 21.6839 6.2043 22 7 22H17C17.7957 22 18.5588 21.6839 19.1213 21.1213C19.6839 20.5587 20 19.7956 20 19V8.94ZM14 5.41L16.59 8H15C14.7348 8 14.4804 7.8946 14.2929 7.7071C14.1053 7.5196 14 7.2652 14 7V5.41ZM18 19C18 19.2652 17.8946 19.5195 17.7071 19.7071C17.5196 19.8947 17.2652 20 17 20H7C6.7348 20 6.4804 19.8947 6.2929 19.7071C6.1054 19.5195 6 19.2652 6 19V5C6 4.7348 6.1054 4.4804 6.2929 4.2929C6.4804 4.1054 6.7348 4 7 4H12V7C12 7.7956 12.316 8.5587 12.8787 9.1213C13.4413 9.6839 14.2044 10 15 10H18V19ZM15 16H9C8.7348 16 8.4804 16.1053 8.2929 16.2929C8.1054 16.4805 8 16.7348 8 17C8 17.2652 8.1054 17.5196 8.2929 17.7071C8.4804 17.8946 8.7348 18 9 18H15C15.2652 18 15.5196 17.8946 15.7071 17.7071C15.8947 17.5196 16 17.2652 16 17C16 16.7348 15.8947 16.4805 15.7071 16.2929C15.5196 16.1053 15.2652 16 15 16Z\" />\n\t\t\t</Glyph>\n\t\t</Icon>\n\t);\n}\n"],"mappings":";;;;AAIA,SAAgB,EAAS,GAAoC;AAC5D,QACC,kBAAC,GAAD;EAAM,GAAI;YACT,kBAAC,GAAD,EAAA,UACC,kBAAC,QAAD,EAAM,GAAE,0sDAA2sD,CAAA,EAC5sD,CAAA;EACF,CAAA"}
@@ -10,6 +10,7 @@ export { Checkmark } from "./Checkmark.js";
10
10
  export { ChevronLeft } from "./ChevronLeft.js";
11
11
  export { ChevronRight } from "./ChevronRight.js";
12
12
  export { CloudUpload } from "./CloudUpload.js";
13
+ export { Document } from "./Document.js";
13
14
  export { Download } from "./Download.js";
14
15
  export { Ellipses } from "./Ellipses.js";
15
16
  export { Email } from "./Email.js";
@@ -1,6 +1,11 @@
1
1
  import type { ComplexStyleRule } from "@vanilla-extract/css";
2
2
  import type { RuntimeFn } from "@vanilla-extract/recipes";
3
3
  export declare const inputRoot: string;
4
+ /**
5
+ * Shares the line below the control with the field's own button rather than
6
+ * taking a line of its own: Figma bottom-aligns the chips and the send action
7
+ * on one line, which `Input.Field`'s `align-items: flex-end` then handles.
8
+ */
4
9
  export declare const inputAttachments: string;
5
10
  export declare const inputField: RuntimeFn<{
6
11
  variant: Record<"default" | "composer", ComplexStyleRule>;
@@ -1 +1 @@
1
- {"version":3,"file":"Input.css.js","names":[],"sources":["../../../src/components/Input/Input.css.ts"],"sourcesContent":["import type { ComplexStyleRule } from \"@vanilla-extract/css\";\nimport { globalStyle, style } from \"@vanilla-extract/css\";\nimport type { RuntimeFn } from \"@vanilla-extract/recipes\";\nimport { recipe } from \"@vanilla-extract/recipes\";\nimport { t } from \"../../tokens/index.js\";\n\n// Shared by the text control and the label so their typography stays in lockstep.\nconst bodyText = {\n\tfontFamily: t(\"font-family-body\"),\n\tfontWeight: t(\"font-weight-regular\"),\n\tfontSize: t(\"font-size-body\"),\n\tlineHeight: t(\"line-height-body\"),\n} as const;\n\n// Field and action-button icon glyphs share sizing.\nconst iconSlotSizing = {\n\tflexShrink: 0,\n\tfontSize: t(\"icon-size-control\"),\n} as const;\n\nexport const inputRoot = style({\n\tdisplay: \"flex\",\n\tflexDirection: \"column\",\n\twidth: \"100%\",\n\tfontFamily: t(\"font-family-body\"),\n});\n\n// Empty style used purely as a stable selector anchor for the globalStyle rules\n// below — a recipe class isn't a usable selector string, so descendant styles\n// hang off this base class instead.\nconst inputFieldBase = style({});\n\n// Composer-variant anchor: composed into the `composer` variant so the control's\n// content/placeholder colors (a descendant, not the field) can be re-themed to\n// the composer-* tokens via globalStyle.\nconst inputFieldComposer = style({});\n\nexport const inputAttachments = style({\n\tflexBasis: \"100%\",\n\twidth: \"100%\",\n\tdisplay: \"flex\",\n\tflexWrap: \"wrap\",\n\tgap: t(\"gap-8\"),\n});\n\n// Explicit annotation: the inferred recipe type exceeds tsc's declaration\n// serialization limit (TS7056) under `tsc -p tsconfig.build.json`.\nexport const inputField: RuntimeFn<{\n\tvariant: Record<\"default\" | \"composer\", ComplexStyleRule>;\n}> = recipe({\n\tbase: [\n\t\tinputFieldBase,\n\t\t{\n\t\t\tdisplay: \"flex\",\n\t\t\t// Lets `Input.Attachments` (flex-basis 100%) take its own line.\n\t\t\t// Keep wrapping unconditional because Chrome and Firefox at the floor in\n\t\t\t// `messaging/vite.browser-targets.mjs` lack `:has()`. Without attachments,\n\t\t\t// nothing wraps: the control has flex-basis 0, icons and button are 22px.\n\t\t\tflexWrap: \"wrap\",\n\t\t\talignItems: \"flex-end\",\n\t\t\tgap: t(\"gap-8\"),\n\t\t\twidth: \"100%\",\n\t\t\tminHeight: \"40px\",\n\t\t\tboxSizing: \"border-box\",\n\t\t\tpaddingInline: t(\"padding-12\"),\n\t\t\tpaddingBlock: t(\"padding-8\"),\n\t\t\tborder: `${t(\"border-width-default\")} solid ${t(\"color-border-default\")}`,\n\t\t\tbackgroundColor: t(\"color-background-default\"),\n\t\t\tborderRadius: t(\"border-radius-input\"),\n\t\t\tcursor: \"text\",\n\t\t\tselectors: {\n\t\t\t\t\"&[data-focus-within]\": {\n\t\t\t\t\tborderColor: t(\"color-border-accent\"),\n\t\t\t\t\tboxShadow: `0 0 0 ${t(\"border-width-focus\")} ${t(\"color-border-focus\")}`,\n\t\t\t\t},\n\t\t\t\t// After focus-within so an invalid field keeps its destructive border while focused.\n\t\t\t\t\"&[data-invalid]\": {\n\t\t\t\t\tborderColor: t(\"color-border-destructive\"),\n\t\t\t\t},\n\t\t\t\t\"&[data-disabled]\": {\n\t\t\t\t\tbackgroundColor: t(\"color-background-disabled\"),\n\t\t\t\t\tcursor: \"not-allowed\",\n\t\t\t\t},\n\t\t\t},\n\t\t\t\"@media\": {\n\t\t\t\t\"(prefers-reduced-motion: no-preference)\": {\n\t\t\t\t\ttransitionProperty: \"border-color, box-shadow\",\n\t\t\t\t\ttransitionDuration: t(\"duration-fast\"),\n\t\t\t\t\ttransitionTimingFunction: t(\"easing-standard\"),\n\t\t\t\t},\n\t\t\t\t// Token-color focus ring flattens in forced-colors; redraw with a system color.\n\t\t\t\t\"(forced-colors: active)\": {\n\t\t\t\t\tselectors: {\n\t\t\t\t\t\t\"&[data-focus-within]\": {\n\t\t\t\t\t\t\toutline: \"2px solid Highlight\",\n\t\t\t\t\t\t\toutlineOffset: \"2px\",\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t],\n\tvariants: {\n\t\tvariant: {\n\t\t\t// Default field styling lives in `base`; this key exists so the variant\n\t\t\t// axis accepts \"default\" as an explicit no-op.\n\t\t\tdefault: {},\n\t\t\tcomposer: [\n\t\t\t\tinputFieldComposer,\n\t\t\t\t{\n\t\t\t\t\tborderRadius: t(\"border-radius-composer\"),\n\t\t\t\t\tborder: `${t(\"border-width-default\")} solid ${t(\"composer-border-default\")}`,\n\t\t\t\t\tbackgroundColor: t(\"composer-background\"),\n\t\t\t\t\tselectors: {\n\t\t\t\t\t\t\"&[data-focus-within]\": {\n\t\t\t\t\t\t\tborderColor: t(\"composer-border-active\"),\n\t\t\t\t\t\t\tboxShadow: `0 0 0 ${t(\"border-width-focus\")} ${t(\"composer-border-focus\")}`,\n\t\t\t\t\t\t},\n\t\t\t\t\t\t// Re-declared after focus-within for the same reason the base does:\n\t\t\t\t\t\t// variant styles are emitted after base at equal specificity, so\n\t\t\t\t\t\t// without this the composer's focus colour would win and an invalid\n\t\t\t\t\t\t// composer would lose its destructive border while focused.\n\t\t\t\t\t\t\"&[data-invalid]\": {\n\t\t\t\t\t\t\tborderColor: t(\"color-border-destructive\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t],\n\t\t},\n\t},\n\tdefaultVariants: {\n\t\tvariant: \"default\",\n\t},\n});\n\nexport const inputControl = style({\n\tflex: 1,\n\tminWidth: 0,\n\tmargin: 0,\n\tpadding: 0,\n\tborder: \"none\",\n\tbackgroundColor: \"transparent\",\n\toutline: \"none\",\n\tappearance: \"none\",\n\t...bodyText,\n\tcolor: t(\"color-content-default\"),\n\tselectors: {\n\t\t\"&::placeholder\": {\n\t\t\tcolor: t(\"color-content-secondary\"),\n\t\t\topacity: 1,\n\t\t},\n\t\t\"&[data-disabled]\": {\n\t\t\tcolor: t(\"color-content-disabled\"),\n\t\t\tcursor: \"not-allowed\",\n\t\t},\n\t\t\"&[data-disabled]::placeholder\": {\n\t\t\tcolor: t(\"color-content-disabled\"),\n\t\t},\n\t},\n});\n\n// Same control base as the single-line inputControl (typography, colors,\n// placeholder/disabled states), plus the multi-line-specific box behavior.\nexport const inputTextArea = style([\n\tinputControl,\n\t{\n\t\tdisplay: \"block\",\n\t\twidth: \"100%\",\n\t\tboxSizing: \"border-box\",\n\t\t// Height is driven by the auto-grow logic in InputTextArea; the user never drags it.\n\t\tresize: \"none\",\n\t\toverflowY: \"auto\",\n\t\toverflowWrap: \"anywhere\",\n\t\twordBreak: \"break-word\",\n\t\tscrollbarWidth: \"thin\",\n\t\tscrollbarColor: `${t(\"color-border-default\")} transparent`,\n\t},\n]);\n\nexport const inputButton = style({\n\tposition: \"relative\",\n\tisolation: \"isolate\",\n\tdisplay: \"inline-flex\",\n\talignItems: \"center\",\n\tjustifyContent: \"center\",\n\tflexShrink: 0,\n\t// Circular send/action button — 22px square per Figma (matches the field's icon size).\n\twidth: \"22px\",\n\theight: \"22px\",\n\tpadding: 0,\n\tborder: \"none\",\n\tborderRadius: t(\"border-radius-full\"),\n\tbackgroundColor: t(\"button-primary-background\"),\n\tcolor: t(\"button-primary-content\"),\n\tcursor: \"pointer\",\n\tappearance: \"none\",\n\toutline: \"none\",\n\toverflow: \"hidden\",\n\t\"::after\": {\n\t\tcontent: '\"\"',\n\t\tposition: \"absolute\",\n\t\tinset: 0,\n\t\tborderRadius: \"inherit\",\n\t\tbackgroundColor: \"currentColor\",\n\t\topacity: 0,\n\t\tpointerEvents: \"none\",\n\t\tzIndex: -1,\n\t},\n\tselectors: {\n\t\t\"&[data-hovered]:not([data-disabled])::after\": {\n\t\t\topacity: t(\"opacity-state-hover\"),\n\t\t},\n\t\t\"&[data-focus-visible]:not([data-disabled])::after\": {\n\t\t\topacity: t(\"opacity-state-focus\"),\n\t\t},\n\t\t\"&[data-pressed]:not([data-disabled])::after\": {\n\t\t\topacity: t(\"opacity-state-pressed\"),\n\t\t},\n\t\t\"&[data-focus-visible]:not([data-disabled])\": {\n\t\t\tboxShadow: `0 0 0 ${t(\"border-width-focus\")} ${t(\"color-border-focus\")}`,\n\t\t},\n\t\t\"&[data-disabled]\": {\n\t\t\tcursor: \"not-allowed\",\n\t\t\tbackgroundColor: t(\"color-background-disabled\"),\n\t\t\tcolor: t(\"color-content-disabled\"),\n\t\t},\n\t},\n\t\"@media\": {\n\t\t\"(prefers-reduced-motion: no-preference)\": {\n\t\t\tselectors: {\n\t\t\t\t\"&::after\": {\n\t\t\t\t\ttransition: `opacity ${t(\"duration-fast\")} ${t(\"easing-standard\")}`,\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t\t// Token-color focus ring flattens in forced-colors; redraw with a system color.\n\t\t\"(forced-colors: active)\": {\n\t\t\tselectors: {\n\t\t\t\t\"&[data-focus-visible]:not([data-disabled])\": {\n\t\t\t\t\toutline: \"2px solid Highlight\",\n\t\t\t\t\toutlineOffset: \"2px\",\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t},\n});\n\nexport const inputLabel = style({\n\t...bodyText,\n\tmarginBottom: t(\"gap-8\"),\n\tcolor: t(\"color-content-default\"),\n});\n\nexport const inputHelperText = style({\n\tmarginTop: t(\"gap-4\"),\n\tfontFamily: t(\"font-family-body\"),\n\tfontWeight: t(\"font-weight-regular\"),\n\tfontSize: t(\"font-size-caption\"),\n\tlineHeight: t(\"line-height-caption\"),\n\tcolor: t(\"color-content-secondary\"),\n\tselectors: {\n\t\t\"&[data-invalid]\": {\n\t\t\tcolor: t(\"color-content-destructive\"),\n\t\t},\n\t},\n});\n\nglobalStyle(`${inputFieldBase} [data-slot='icon']`, iconSlotSizing);\nglobalStyle(`${inputButton} [data-slot='icon']`, iconSlotSizing);\n\n// Direct child only: field-level icons follow content color. The send button's\n// icon is a deeper descendant, so it deliberately has no rule of its own — it\n// inherits the button's paired tokens (button-primary-content over\n// button-primary-background, or the disabled pair). Giving the icon its own\n// background re-pairs an accent foreground with a neutral backdrop, and those\n// two are unrelated tokens: a customer tint near the surface color then renders\n// the arrow at ~1:1.\nglobalStyle(`${inputFieldBase} > [data-slot='icon']`, {\n\tcolor: t(\"color-content-secondary\"),\n});\n\nglobalStyle(`${inputFieldBase}[data-disabled] > [data-slot='icon']`, {\n\tcolor: t(\"color-content-disabled\"),\n});\n\n// Composer variant re-themes the field's content colors to the composer-* tokens.\n// The control (input/textarea) and field-level icons are descendants of the field,\n// so these ride the composer anchor rather than the field recipe.\nglobalStyle(`${inputFieldComposer} ${inputControl}`, {\n\tcolor: t(\"composer-content-default\"),\n});\n\nglobalStyle(`${inputFieldComposer} ${inputControl}::placeholder`, {\n\tcolor: t(\"composer-content-secondary\"),\n});\n\nglobalStyle(`${inputFieldComposer} > [data-slot='icon']`, {\n\tcolor: t(\"composer-content-secondary\"),\n});\n\n// The composer rules above are descendant selectors, so they tie with the field\n// recipe's [data-disabled] rules on specificity and win on order. Re-assert the\n// disabled colors after them or a disabled control renders as if it were editable.\nglobalStyle(`${inputFieldComposer} ${inputControl}[data-disabled]`, {\n\tcolor: t(\"color-content-disabled\"),\n});\n\nglobalStyle(\n\t`${inputFieldComposer} ${inputControl}[data-disabled]::placeholder`,\n\t{\n\t\tcolor: t(\"color-content-disabled\"),\n\t},\n);\n"],"mappings":""}
1
+ {"version":3,"file":"Input.css.js","names":[],"sources":["../../../src/components/Input/Input.css.ts"],"sourcesContent":["import type { ComplexStyleRule } from \"@vanilla-extract/css\";\nimport { globalStyle, style } from \"@vanilla-extract/css\";\nimport type { RuntimeFn } from \"@vanilla-extract/recipes\";\nimport { recipe } from \"@vanilla-extract/recipes\";\nimport { t } from \"../../tokens/index.js\";\n\n// Shared by the text control and the label so their typography stays in lockstep.\nconst bodyText = {\n\tfontFamily: t(\"font-family-body\"),\n\tfontWeight: t(\"font-weight-regular\"),\n\tfontSize: t(\"font-size-body\"),\n\tlineHeight: t(\"line-height-body\"),\n} as const;\n\n// Field and action-button icon glyphs share sizing.\nconst iconSlotSizing = {\n\tflexShrink: 0,\n\tfontSize: t(\"icon-size-control\"),\n} as const;\n\nexport const inputRoot = style({\n\tdisplay: \"flex\",\n\tflexDirection: \"column\",\n\twidth: \"100%\",\n\tfontFamily: t(\"font-family-body\"),\n});\n\n// Empty style used purely as a stable selector anchor for the globalStyle rules\n// below — a recipe class isn't a usable selector string, so descendant styles\n// hang off this base class instead.\nconst inputFieldBase = style({});\n\n// Composer-variant anchor: composed into the `composer` variant so the control's\n// content/placeholder colors (a descendant, not the field) can be re-themed to\n// the composer-* tokens via globalStyle.\nconst inputFieldComposer = style({});\n\n/**\n * Shares the line below the control with the field's own button rather than\n * taking a line of its own: Figma bottom-aligns the chips and the send action\n * on one line, which `Input.Field`'s `align-items: flex-end` then handles.\n */\nexport const inputAttachments = style({\n\tflex: \"1 1 auto\",\n\tminWidth: 0,\n\tdisplay: \"flex\",\n\tflexWrap: \"wrap\",\n\tgap: t(\"gap-8\"),\n});\n\n// Explicit annotation: the inferred recipe type exceeds tsc's declaration\n// serialization limit (TS7056) under `tsc -p tsconfig.build.json`.\nexport const inputField: RuntimeFn<{\n\tvariant: Record<\"default\" | \"composer\", ComplexStyleRule>;\n}> = recipe({\n\tbase: [\n\t\tinputFieldBase,\n\t\t{\n\t\t\tdisplay: \"flex\",\n\t\t\t// The control takes the whole first line whenever attachments are present\n\t\t\t// (see the `data-has-attachments` rule below), so the chips and the button\n\t\t\t// wrap onto the second. Keep wrapping unconditional because Chrome and\n\t\t\t// Firefox at the floor in `messaging/vite.browser-targets.mjs` lack\n\t\t\t// `:has()`. Without attachments nothing wraps: the control has\n\t\t\t// flex-basis 0, icons and button are 22px.\n\t\t\tflexWrap: \"wrap\",\n\t\t\talignItems: \"flex-end\",\n\t\t\tgap: t(\"gap-8\"),\n\t\t\twidth: \"100%\",\n\t\t\tminHeight: \"40px\",\n\t\t\tboxSizing: \"border-box\",\n\t\t\tpaddingInline: t(\"padding-12\"),\n\t\t\tpaddingBlock: t(\"padding-8\"),\n\t\t\tborder: `${t(\"border-width-default\")} solid ${t(\"color-border-default\")}`,\n\t\t\tbackgroundColor: t(\"color-background-default\"),\n\t\t\tborderRadius: t(\"border-radius-input\"),\n\t\t\tcursor: \"text\",\n\t\t\tselectors: {\n\t\t\t\t\"&[data-focus-within]\": {\n\t\t\t\t\tborderColor: t(\"color-border-accent\"),\n\t\t\t\t\tboxShadow: `0 0 0 ${t(\"border-width-focus\")} ${t(\"color-border-focus\")}`,\n\t\t\t\t},\n\t\t\t\t// After focus-within so an invalid field keeps its destructive border while focused.\n\t\t\t\t\"&[data-invalid]\": {\n\t\t\t\t\tborderColor: t(\"color-border-destructive\"),\n\t\t\t\t},\n\t\t\t\t\"&[data-disabled]\": {\n\t\t\t\t\tbackgroundColor: t(\"color-background-disabled\"),\n\t\t\t\t\tcursor: \"not-allowed\",\n\t\t\t\t},\n\t\t\t},\n\t\t\t\"@media\": {\n\t\t\t\t\"(prefers-reduced-motion: no-preference)\": {\n\t\t\t\t\ttransitionProperty: \"border-color, box-shadow\",\n\t\t\t\t\ttransitionDuration: t(\"duration-fast\"),\n\t\t\t\t\ttransitionTimingFunction: t(\"easing-standard\"),\n\t\t\t\t},\n\t\t\t\t// Token-color focus ring flattens in forced-colors; redraw with a system color.\n\t\t\t\t\"(forced-colors: active)\": {\n\t\t\t\t\tselectors: {\n\t\t\t\t\t\t\"&[data-focus-within]\": {\n\t\t\t\t\t\t\toutline: \"2px solid Highlight\",\n\t\t\t\t\t\t\toutlineOffset: \"2px\",\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t],\n\tvariants: {\n\t\tvariant: {\n\t\t\t// Default field styling lives in `base`; this key exists so the variant\n\t\t\t// axis accepts \"default\" as an explicit no-op.\n\t\t\tdefault: {},\n\t\t\tcomposer: [\n\t\t\t\tinputFieldComposer,\n\t\t\t\t{\n\t\t\t\t\tborderRadius: t(\"border-radius-composer\"),\n\t\t\t\t\tborder: `${t(\"border-width-default\")} solid ${t(\"composer-border-default\")}`,\n\t\t\t\t\tbackgroundColor: t(\"composer-background\"),\n\t\t\t\t\tselectors: {\n\t\t\t\t\t\t\"&[data-focus-within]\": {\n\t\t\t\t\t\t\tborderColor: t(\"composer-border-active\"),\n\t\t\t\t\t\t\tboxShadow: `0 0 0 ${t(\"border-width-focus\")} ${t(\"composer-border-focus\")}`,\n\t\t\t\t\t\t},\n\t\t\t\t\t\t// Re-declared after focus-within for the same reason the base does:\n\t\t\t\t\t\t// variant styles are emitted after base at equal specificity, so\n\t\t\t\t\t\t// without this the composer's focus colour would win and an invalid\n\t\t\t\t\t\t// composer would lose its destructive border while focused.\n\t\t\t\t\t\t\"&[data-invalid]\": {\n\t\t\t\t\t\t\tborderColor: t(\"color-border-destructive\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t],\n\t\t},\n\t},\n\tdefaultVariants: {\n\t\tvariant: \"default\",\n\t},\n});\n\nexport const inputControl = style({\n\tflex: 1,\n\tminWidth: 0,\n\tmargin: 0,\n\tpadding: 0,\n\tborder: \"none\",\n\tbackgroundColor: \"transparent\",\n\toutline: \"none\",\n\tappearance: \"none\",\n\t...bodyText,\n\tcolor: t(\"color-content-default\"),\n\tselectors: {\n\t\t\"&::placeholder\": {\n\t\t\tcolor: t(\"color-content-secondary\"),\n\t\t\topacity: 1,\n\t\t},\n\t\t\"&[data-disabled]\": {\n\t\t\tcolor: t(\"color-content-disabled\"),\n\t\t\tcursor: \"not-allowed\",\n\t\t},\n\t\t\"&[data-disabled]::placeholder\": {\n\t\t\tcolor: t(\"color-content-disabled\"),\n\t\t},\n\t},\n});\n\n// Same control base as the single-line inputControl (typography, colors,\n// placeholder/disabled states), plus the multi-line-specific box behavior.\nexport const inputTextArea = style([\n\tinputControl,\n\t{\n\t\tdisplay: \"block\",\n\t\twidth: \"100%\",\n\t\tboxSizing: \"border-box\",\n\t\t// Height is driven by the auto-grow logic in InputTextArea; the user never drags it.\n\t\tresize: \"none\",\n\t\toverflowY: \"auto\",\n\t\toverflowWrap: \"anywhere\",\n\t\twordBreak: \"break-word\",\n\t\tscrollbarWidth: \"thin\",\n\t\tscrollbarColor: `${t(\"color-border-default\")} transparent`,\n\t},\n]);\n\nexport const inputButton = style({\n\tposition: \"relative\",\n\tisolation: \"isolate\",\n\tdisplay: \"inline-flex\",\n\talignItems: \"center\",\n\tjustifyContent: \"center\",\n\tflexShrink: 0,\n\t// Circular send/action button — 22px square per Figma (matches the field's icon size).\n\twidth: \"22px\",\n\theight: \"22px\",\n\tpadding: 0,\n\tborder: \"none\",\n\tborderRadius: t(\"border-radius-full\"),\n\tbackgroundColor: t(\"button-primary-background\"),\n\tcolor: t(\"button-primary-content\"),\n\tcursor: \"pointer\",\n\tappearance: \"none\",\n\toutline: \"none\",\n\toverflow: \"hidden\",\n\t\"::after\": {\n\t\tcontent: '\"\"',\n\t\tposition: \"absolute\",\n\t\tinset: 0,\n\t\tborderRadius: \"inherit\",\n\t\tbackgroundColor: \"currentColor\",\n\t\topacity: 0,\n\t\tpointerEvents: \"none\",\n\t\tzIndex: -1,\n\t},\n\tselectors: {\n\t\t\"&[data-hovered]:not([data-disabled])::after\": {\n\t\t\topacity: t(\"opacity-state-hover\"),\n\t\t},\n\t\t\"&[data-focus-visible]:not([data-disabled])::after\": {\n\t\t\topacity: t(\"opacity-state-focus\"),\n\t\t},\n\t\t\"&[data-pressed]:not([data-disabled])::after\": {\n\t\t\topacity: t(\"opacity-state-pressed\"),\n\t\t},\n\t\t\"&[data-focus-visible]:not([data-disabled])\": {\n\t\t\tboxShadow: `0 0 0 ${t(\"border-width-focus\")} ${t(\"color-border-focus\")}`,\n\t\t},\n\t\t\"&[data-disabled]\": {\n\t\t\tcursor: \"not-allowed\",\n\t\t\tbackgroundColor: t(\"color-background-disabled\"),\n\t\t\tcolor: t(\"color-content-disabled\"),\n\t\t},\n\t},\n\t\"@media\": {\n\t\t\"(prefers-reduced-motion: no-preference)\": {\n\t\t\tselectors: {\n\t\t\t\t\"&::after\": {\n\t\t\t\t\ttransition: `opacity ${t(\"duration-fast\")} ${t(\"easing-standard\")}`,\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t\t// Token-color focus ring flattens in forced-colors; redraw with a system color.\n\t\t\"(forced-colors: active)\": {\n\t\t\tselectors: {\n\t\t\t\t\"&[data-focus-visible]:not([data-disabled])\": {\n\t\t\t\t\toutline: \"2px solid Highlight\",\n\t\t\t\t\toutlineOffset: \"2px\",\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t},\n});\n\nexport const inputLabel = style({\n\t...bodyText,\n\tmarginBottom: t(\"gap-8\"),\n\tcolor: t(\"color-content-default\"),\n});\n\nexport const inputHelperText = style({\n\tmarginTop: t(\"gap-4\"),\n\tfontFamily: t(\"font-family-body\"),\n\tfontWeight: t(\"font-weight-regular\"),\n\tfontSize: t(\"font-size-caption\"),\n\tlineHeight: t(\"line-height-caption\"),\n\tcolor: t(\"color-content-secondary\"),\n\tselectors: {\n\t\t\"&[data-invalid]\": {\n\t\t\tcolor: t(\"color-content-destructive\"),\n\t\t},\n\t},\n});\n\nglobalStyle(`${inputFieldBase} [data-slot='icon']`, iconSlotSizing);\nglobalStyle(`${inputButton} [data-slot='icon']`, iconSlotSizing);\n\n// Direct child only: field-level icons follow content color. The send button's\n// icon is a deeper descendant, so it deliberately has no rule of its own — it\n// inherits the button's paired tokens (button-primary-content over\n// button-primary-background, or the disabled pair). Giving the icon its own\n// background re-pairs an accent foreground with a neutral backdrop, and those\n// two are unrelated tokens: a customer tint near the surface color then renders\n// the arrow at ~1:1.\nglobalStyle(`${inputFieldBase} > [data-slot='icon']`, {\n\tcolor: t(\"color-content-secondary\"),\n});\n\nglobalStyle(`${inputFieldBase}[data-disabled] > [data-slot='icon']`, {\n\tcolor: t(\"color-content-disabled\"),\n});\n\n// Composer variant re-themes the field's content colors to the composer-* tokens.\n// The control (input/textarea) and field-level icons are descendants of the field,\n// so these ride the composer anchor rather than the field recipe.\n/**\n * With attachments in the field the control owns the first line, so the chips\n * and the send button fall onto the second and bottom-align there.\n *\n * Driven by an attribute the caller sets rather than `:has()`, which the iOS 15\n * baseline does not have.\n */\nglobalStyle(`${inputFieldBase}[data-has-attachments] ${inputControl}`, {\n\tflexBasis: \"100%\",\n});\n\n// Figma stacks the text and the chips 20px apart while the send button keeps its\n// 8px from the chips, so the two axes take different gaps.\nglobalStyle(`${inputFieldBase}[data-has-attachments]`, {\n\trowGap: t(\"gap-20\"),\n});\n\nglobalStyle(`${inputFieldComposer} ${inputControl}`, {\n\tcolor: t(\"composer-content-default\"),\n});\n\nglobalStyle(`${inputFieldComposer} ${inputControl}::placeholder`, {\n\tcolor: t(\"composer-content-secondary\"),\n});\n\nglobalStyle(`${inputFieldComposer} > [data-slot='icon']`, {\n\tcolor: t(\"composer-content-secondary\"),\n});\n\n// The composer rules above are descendant selectors, so they tie with the field\n// recipe's [data-disabled] rules on specificity and win on order. Re-assert the\n// disabled colors after them or a disabled control renders as if it were editable.\nglobalStyle(`${inputFieldComposer} ${inputControl}[data-disabled]`, {\n\tcolor: t(\"color-content-disabled\"),\n});\n\nglobalStyle(\n\t`${inputFieldComposer} ${inputControl}[data-disabled]::placeholder`,\n\t{\n\t\tcolor: t(\"color-content-disabled\"),\n\t},\n);\n"],"mappings":""}
@@ -3,7 +3,18 @@ export interface InputAttachmentsProps extends HTMLAttributes<HTMLDivElement> {
3
3
  ref?: Ref<HTMLDivElement>;
4
4
  }
5
5
  /**
6
- * Full-width row inside the field for attachment chips. Render it as the first
7
- * child of `Input.Field`; the control and any buttons keep their own line.
6
+ * Row inside the field holding the attachment chips.
7
+ *
8
+ * Render it AFTER the control and BEFORE the field's button, and set
9
+ * `hasAttachments` on `Input.Field`. The control then takes the first line and
10
+ * the chips share the second with the button, bottom-aligned — which is both
11
+ * the drawn layout and the right reading order: the message, then what is
12
+ * attached to it, then the action that sends them.
13
+ *
14
+ * BREAKING in 1.12.0 in effect though not in type: this row was `flex-basis:
15
+ * 100%`, taking its own line unconditionally. It is now `flex: 1 1 auto`, so
16
+ * the full-width line comes from `hasAttachments` on `Input.Field`. Rendered
17
+ * the pre-1.12.0 way — first child, no flag — it silently shares a line with
18
+ * the control instead of claiming one.
8
19
  */
9
20
  export declare function InputAttachments({ className, children, ...rest }: InputAttachmentsProps): import("react/jsx-runtime").JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"InputAttachments.js","names":[],"sources":["../../../src/components/Input/InputAttachments.tsx"],"sourcesContent":["import type { HTMLAttributes, Ref } from \"react\";\nimport { cx } from \"../../utils/cx.js\";\nimport { inputAttachments } from \"./Input.css.js\";\n\nexport interface InputAttachmentsProps extends HTMLAttributes<HTMLDivElement> {\n\tref?: Ref<HTMLDivElement>;\n}\n\n/**\n * Full-width row inside the field for attachment chips. Render it as the first\n * child of `Input.Field`; the control and any buttons keep their own line.\n */\nexport function InputAttachments({\n\tclassName,\n\tchildren,\n\t...rest\n}: InputAttachmentsProps) {\n\treturn (\n\t\t<div {...rest} className={cx(inputAttachments, className)}>\n\t\t\t{children}\n\t\t</div>\n\t);\n}\n"],"mappings":";;;;AAYA,SAAgB,EAAiB,EAChC,cACA,aACA,GAAG,KACsB;AACzB,QACC,kBAAC,OAAD;EAAK,GAAI;EAAM,WAAW,EAAG,GAAkB,EAAU;EACvD;EACI,CAAA"}
1
+ {"version":3,"file":"InputAttachments.js","names":[],"sources":["../../../src/components/Input/InputAttachments.tsx"],"sourcesContent":["import type { HTMLAttributes, Ref } from \"react\";\nimport { cx } from \"../../utils/cx.js\";\nimport { inputAttachments } from \"./Input.css.js\";\n\nexport interface InputAttachmentsProps extends HTMLAttributes<HTMLDivElement> {\n\tref?: Ref<HTMLDivElement>;\n}\n\n/**\n * Row inside the field holding the attachment chips.\n *\n * Render it AFTER the control and BEFORE the field's button, and set\n * `hasAttachments` on `Input.Field`. The control then takes the first line and\n * the chips share the second with the button, bottom-aligned — which is both\n * the drawn layout and the right reading order: the message, then what is\n * attached to it, then the action that sends them.\n *\n * BREAKING in 1.12.0 in effect though not in type: this row was `flex-basis:\n * 100%`, taking its own line unconditionally. It is now `flex: 1 1 auto`, so\n * the full-width line comes from `hasAttachments` on `Input.Field`. Rendered\n * the pre-1.12.0 way — first child, no flag — it silently shares a line with\n * the control instead of claiming one.\n */\nexport function InputAttachments({\n\tclassName,\n\tchildren,\n\t...rest\n}: InputAttachmentsProps) {\n\treturn (\n\t\t<div {...rest} className={cx(inputAttachments, className)}>\n\t\t\t{children}\n\t\t</div>\n\t);\n}\n"],"mappings":";;;;AAuBA,SAAgB,EAAiB,EAChC,cACA,aACA,GAAG,KACsB;AACzB,QACC,kBAAC,OAAD;EAAK,GAAI;EAAM,WAAW,EAAG,GAAkB,EAAU;EACvD;EACI,CAAA"}
@@ -5,5 +5,12 @@ export interface InputFieldProps extends Omit<AriaGroupProps, "className" | "sty
5
5
  style?: CSSProperties;
6
6
  ref?: Ref<HTMLDivElement>;
7
7
  children?: ReactNode;
8
+ /**
9
+ * Set when `Input.Attachments` is among the children. It gives the control the
10
+ * whole first line, so the chips and the field's button share the second and
11
+ * bottom-align there. A caller-supplied flag rather than `:has()`, which the
12
+ * iOS 15 baseline does not have.
13
+ */
14
+ hasAttachments?: boolean;
8
15
  }
9
- export declare function InputField({ className, children, onPointerDown, ...rest }: InputFieldProps): import("react/jsx-runtime").JSX.Element;
16
+ export declare function InputField({ className, children, onPointerDown, hasAttachments, ...rest }: InputFieldProps): import("react/jsx-runtime").JSX.Element;
@@ -4,16 +4,17 @@ import { useInputContext as n } from "./Input.context.js";
4
4
  import { jsx as r } from "react/jsx-runtime";
5
5
  import { Group as i } from "react-aria-components";
6
6
  //#region src/components/Input/InputField.tsx
7
- function a({ className: a, children: o, onPointerDown: s, ...c }) {
8
- let { variant: l } = n(), u = (e) => {
7
+ function a({ className: a, children: o, onPointerDown: s, hasAttachments: c, ...l }) {
8
+ let { variant: u } = n(), d = (e) => {
9
9
  if (s?.(e), e.defaultPrevented || e.target.closest("button, a, input, textarea, select, [tabindex]")) return;
10
10
  let t = e.currentTarget.querySelector("input, textarea");
11
11
  t && (e.preventDefault(), t.focus());
12
12
  };
13
13
  return /* @__PURE__ */ r(i, {
14
- ...c,
15
- onPointerDown: u,
16
- className: e(t({ variant: l }), a),
14
+ ...l,
15
+ "data-has-attachments": c || void 0,
16
+ onPointerDown: d,
17
+ className: e(t({ variant: u }), a),
17
18
  children: o
18
19
  });
19
20
  }
@@ -1 +1 @@
1
- {"version":3,"file":"InputField.js","names":[],"sources":["../../../src/components/Input/InputField.tsx"],"sourcesContent":["import type { CSSProperties, PointerEvent, ReactNode, Ref } from \"react\";\nimport type { GroupProps as AriaGroupProps } from \"react-aria-components\";\nimport { Group as AriaGroup } from \"react-aria-components\";\nimport { cx } from \"../../utils/cx.js\";\nimport { useInputContext } from \"./Input.context.js\";\nimport { inputField } from \"./Input.css.js\";\n\nexport interface InputFieldProps\n\textends Omit<AriaGroupProps, \"className\" | \"style\"> {\n\tclassName?: string;\n\tstyle?: CSSProperties;\n\tref?: Ref<HTMLDivElement>;\n\tchildren?: ReactNode;\n}\n\nexport function InputField({\n\tclassName,\n\tchildren,\n\tonPointerDown,\n\t...rest\n}: InputFieldProps) {\n\tconst { variant } = useInputContext();\n\tconst handlePointerDown = (event: PointerEvent<HTMLDivElement>) => {\n\t\tonPointerDown?.(event);\n\t\tif (event.defaultPrevented) {\n\t\t\treturn;\n\t\t}\n\t\tconst target = event.target as HTMLElement;\n\t\tif (target.closest(\"button, a, input, textarea, select, [tabindex]\")) {\n\t\t\treturn;\n\t\t}\n\t\tconst control =\n\t\t\tevent.currentTarget.querySelector<HTMLInputElement>(\"input, textarea\");\n\t\tif (control) {\n\t\t\tevent.preventDefault();\n\t\t\tcontrol.focus();\n\t\t}\n\t};\n\treturn (\n\t\t<AriaGroup\n\t\t\t{...rest}\n\t\t\tonPointerDown={handlePointerDown}\n\t\t\tclassName={cx(inputField({ variant }), className)}\n\t\t>\n\t\t\t{children}\n\t\t</AriaGroup>\n\t);\n}\n"],"mappings":";;;;;;AAeA,SAAgB,EAAW,EAC1B,cACA,aACA,kBACA,GAAG,KACgB;CACnB,IAAM,EAAE,eAAY,GAAiB,EAC/B,KAAqB,MAAwC;AAMlE,MALA,IAAgB,EAAM,EAClB,EAAM,oBAGK,EAAM,OACV,QAAQ,iDAAiD,CACnE;EAED,IAAM,IACL,EAAM,cAAc,cAAgC,kBAAkB;AACvE,EAAI,MACH,EAAM,gBAAgB,EACtB,EAAQ,OAAO;;AAGjB,QACC,kBAAC,GAAD;EACC,GAAI;EACJ,eAAe;EACf,WAAW,EAAG,EAAW,EAAE,YAAS,CAAC,EAAE,EAAU;EAEhD;EACU,CAAA"}
1
+ {"version":3,"file":"InputField.js","names":[],"sources":["../../../src/components/Input/InputField.tsx"],"sourcesContent":["import type { CSSProperties, PointerEvent, ReactNode, Ref } from \"react\";\nimport type { GroupProps as AriaGroupProps } from \"react-aria-components\";\nimport { Group as AriaGroup } from \"react-aria-components\";\nimport { cx } from \"../../utils/cx.js\";\nimport { useInputContext } from \"./Input.context.js\";\nimport { inputField } from \"./Input.css.js\";\n\nexport interface InputFieldProps\n\textends Omit<AriaGroupProps, \"className\" | \"style\"> {\n\tclassName?: string;\n\tstyle?: CSSProperties;\n\tref?: Ref<HTMLDivElement>;\n\tchildren?: ReactNode;\n\t/**\n\t * Set when `Input.Attachments` is among the children. It gives the control the\n\t * whole first line, so the chips and the field's button share the second and\n\t * bottom-align there. A caller-supplied flag rather than `:has()`, which the\n\t * iOS 15 baseline does not have.\n\t */\n\thasAttachments?: boolean;\n}\n\nexport function InputField({\n\tclassName,\n\tchildren,\n\tonPointerDown,\n\thasAttachments,\n\t...rest\n}: InputFieldProps) {\n\tconst { variant } = useInputContext();\n\tconst handlePointerDown = (event: PointerEvent<HTMLDivElement>) => {\n\t\tonPointerDown?.(event);\n\t\tif (event.defaultPrevented) {\n\t\t\treturn;\n\t\t}\n\t\tconst target = event.target as HTMLElement;\n\t\tif (target.closest(\"button, a, input, textarea, select, [tabindex]\")) {\n\t\t\treturn;\n\t\t}\n\t\tconst control =\n\t\t\tevent.currentTarget.querySelector<HTMLInputElement>(\"input, textarea\");\n\t\tif (control) {\n\t\t\tevent.preventDefault();\n\t\t\tcontrol.focus();\n\t\t}\n\t};\n\treturn (\n\t\t<AriaGroup\n\t\t\t{...rest}\n\t\t\tdata-has-attachments={hasAttachments || undefined}\n\t\t\tonPointerDown={handlePointerDown}\n\t\t\tclassName={cx(inputField({ variant }), className)}\n\t\t>\n\t\t\t{children}\n\t\t</AriaGroup>\n\t);\n}\n"],"mappings":";;;;;;AAsBA,SAAgB,EAAW,EAC1B,cACA,aACA,kBACA,mBACA,GAAG,KACgB;CACnB,IAAM,EAAE,eAAY,GAAiB,EAC/B,KAAqB,MAAwC;AAMlE,MALA,IAAgB,EAAM,EAClB,EAAM,oBAGK,EAAM,OACV,QAAQ,iDAAiD,CACnE;EAED,IAAM,IACL,EAAM,cAAc,cAAgC,kBAAkB;AACvE,EAAI,MACH,EAAM,gBAAgB,EACtB,EAAQ,OAAO;;AAGjB,QACC,kBAAC,GAAD;EACC,GAAI;EACJ,wBAAsB,KAAkB,KAAA;EACxC,eAAe;EACf,WAAW,EAAG,EAAW,EAAE,YAAS,CAAC,EAAE,EAAU;EAEhD;EACU,CAAA"}
@@ -2,11 +2,11 @@ import { cx as e } from "../../utils/cx.js";
2
2
  import { inputRoot as t } from "./Input.css.js";
3
3
  import { InputContext as n } from "./Input.context.js";
4
4
  import { jsx as r } from "react/jsx-runtime";
5
- import { useMemo as i } from "react";
6
- import { TextField as a } from "react-aria-components";
5
+ import { TextField as i } from "react-aria-components";
6
+ import { useMemo as a } from "react";
7
7
  //#region src/components/Input/InputRoot.tsx
8
8
  function o({ className: o, children: s, variant: c = "default", ...l }) {
9
- let u = l.isDisabled ?? !1, d = l.isInvalid ?? !1, f = i(() => ({
9
+ let u = l.isDisabled ?? !1, d = l.isInvalid ?? !1, f = a(() => ({
10
10
  isDisabled: u,
11
11
  isInvalid: d,
12
12
  variant: c
@@ -15,7 +15,7 @@ function o({ className: o, children: s, variant: c = "default", ...l }) {
15
15
  d,
16
16
  c
17
17
  ]);
18
- return /* @__PURE__ */ r(a, {
18
+ return /* @__PURE__ */ r(i, {
19
19
  ...l,
20
20
  className: e(t, o),
21
21
  children: /* @__PURE__ */ r(n.Provider, {
@@ -1,12 +1,12 @@
1
1
  import { cx as e } from "../../utils/cx.js";
2
2
  import { inputTextArea as t } from "./Input.css.js";
3
3
  import { jsx as n } from "react/jsx-runtime";
4
- import { useCallback as r, useLayoutEffect as i } from "react";
5
- import { useObjectRef as a } from "react-aria/useObjectRef";
6
- import { TextArea as o } from "react-aria-components";
4
+ import { TextArea as r } from "react-aria-components";
5
+ import { useCallback as i, useLayoutEffect as a } from "react";
6
+ import { useObjectRef as o } from "react-aria/useObjectRef";
7
7
  //#region src/components/Input/InputTextArea.tsx
8
8
  function s({ className: s, ref: c, minRows: l = 1, maxRows: u, rows: d, onInput: f, ...p }) {
9
- let m = a(c), h = r(() => {
9
+ let m = o(c), h = i(() => {
10
10
  let e = m.current;
11
11
  if (!e) return;
12
12
  let t = Number.parseFloat(getComputedStyle(e).lineHeight);
@@ -19,13 +19,13 @@ function s({ className: s, ref: c, minRows: l = 1, maxRows: u, rows: d, onInput:
19
19
  l,
20
20
  u
21
21
  ]);
22
- i(() => {
22
+ a(() => {
23
23
  h();
24
24
  });
25
- let g = r((e) => {
25
+ let g = i((e) => {
26
26
  h(), f?.(e);
27
27
  }, [h, f]);
28
- return /* @__PURE__ */ n(o, {
28
+ return /* @__PURE__ */ n(r, {
29
29
  ...p,
30
30
  ref: m,
31
31
  rows: d ?? l,
@@ -2,20 +2,20 @@ import { cx as e } from "../../utils/cx.js";
2
2
  import { menuItem as t } from "./MenuItem.css.js";
3
3
  import { MenuItemLabel as n } from "./MenuItemLabel.js";
4
4
  import { jsx as r } from "react/jsx-runtime";
5
- import { Children as i, isValidElement as a } from "react";
6
- import { MenuItem as o } from "react-aria-components";
5
+ import { MenuItem as i } from "react-aria-components";
6
+ import { Children as a, isValidElement as o } from "react";
7
7
  //#region src/components/MenuItem/MenuItemRoot.tsx
8
8
  function s(e) {
9
- let t = i.toArray(e).find((e) => a(e) && e.type === n);
10
- if (a(t)) return typeof t.props.children == "string" ? t.props.children : void 0;
9
+ let t = a.toArray(e).find((e) => o(e) && e.type === n);
10
+ if (o(t)) return typeof t.props.children == "string" ? t.props.children : void 0;
11
11
  }
12
- function c({ className: n, children: i, textValue: a, ...c }) {
13
- let l = s(typeof i == "function" ? null : i);
14
- return /* @__PURE__ */ r(o, {
12
+ function c({ className: n, children: a, textValue: o, ...c }) {
13
+ let l = s(typeof a == "function" ? null : a);
14
+ return /* @__PURE__ */ r(i, {
15
15
  ...c,
16
- textValue: a ?? l,
16
+ textValue: o ?? l,
17
17
  className: e(t, n),
18
- children: i
18
+ children: a
19
19
  });
20
20
  }
21
21
  //#endregion
@@ -2,13 +2,13 @@ import { cx as e } from "../../utils/cx.js";
2
2
  import { MediaSlash as t } from "../Icon/icons/MediaSlash.js";
3
3
  import { videoPlaceholderIcon as n, videoRoot as r, videoSlot as i } from "./VideoMessage.css.js";
4
4
  import { jsx as a } from "react/jsx-runtime";
5
- import { Children as o } from "react";
6
- import { Group as s } from "react-aria-components";
5
+ import { Group as o } from "react-aria-components";
6
+ import { Children as s } from "react";
7
7
  //#region src/components/VideoMessage/VideoMessage.tsx
8
8
  var c = "Video unavailable", l = "Video", u = "16:9";
9
9
  function d({ children: d, alt: f, aspectRatio: p = u, unavailable: m = !1, className: h, ...g }) {
10
- let _ = o.toArray(d).length > 0, v = m || !_, y = typeof f == "string" ? f.trim() : "", b = y ? `${c}: ${y}` : c;
11
- return /* @__PURE__ */ a(s, {
10
+ let _ = s.toArray(d).length > 0, v = m || !_, y = typeof f == "string" ? f.trim() : "", b = y ? `${c}: ${y}` : c;
11
+ return /* @__PURE__ */ a(o, {
12
12
  ...g,
13
13
  "aria-label": y || l,
14
14
  "data-aspect-ratio": p,
package/dist/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  export * from "./components/AgentMessage/index.js";
2
+ export * from "./components/AttachmentChip/index.js";
2
3
  export * from "./components/Avatar/index.js";
3
4
  export * from "./components/Banner/index.js";
4
5
  export * from "./components/BubbleOverlay/index.js";
package/dist/index.js CHANGED
@@ -1,84 +1,86 @@
1
1
  import { AgentMessage as e } from "./components/AgentMessage/AgentMessage.js";
2
- import { AvatarPlaceholder as t } from "./components/Avatar/AvatarPlaceholder.js";
3
- import { Avatar as n } from "./components/Avatar/Avatar.js";
4
- import { readPrefersReducedMotion as r, usePrefersReducedMotion as i } from "./hooks/usePrefersReducedMotion.js";
5
- import { Icon as a } from "./components/Icon/Icon.js";
6
- import { AdaLogo as o } from "./components/Icon/icons/AdaLogo.js";
7
- import { ArrowDown as s } from "./components/Icon/icons/ArrowDown.js";
8
- import { ArrowLeft as c } from "./components/Icon/icons/ArrowLeft.js";
9
- import { ArrowNortheast as l } from "./components/Icon/icons/ArrowNortheast.js";
10
- import { ArrowNorthwest as u } from "./components/Icon/icons/ArrowNorthwest.js";
11
- import { ArrowRight as d } from "./components/Icon/icons/ArrowRight.js";
12
- import { Bell as f } from "./components/Icon/icons/Bell.js";
13
- import { BellSlash as p } from "./components/Icon/icons/BellSlash.js";
14
- import { Checkmark as m } from "./components/Icon/icons/Checkmark.js";
15
- import { ChevronLeft as h } from "./components/Icon/icons/ChevronLeft.js";
16
- import { ChevronRight as g } from "./components/Icon/icons/ChevronRight.js";
17
- import { CloudUpload as _ } from "./components/Icon/icons/CloudUpload.js";
18
- import { Download as v } from "./components/Icon/icons/Download.js";
19
- import { Ellipses as y } from "./components/Icon/icons/Ellipses.js";
20
- import { Email as b } from "./components/Icon/icons/Email.js";
21
- import { ExclamationSync as x } from "./components/Icon/icons/ExclamationSync.js";
22
- import { ExclamationTriangle as S } from "./components/Icon/icons/ExclamationTriangle.js";
23
- import { Eye as C } from "./components/Icon/icons/Eye.js";
24
- import { EyeSlash as w } from "./components/Icon/icons/EyeSlash.js";
25
- import { Language as T } from "./components/Icon/icons/Language.js";
26
- import { MediaSlash as E } from "./components/Icon/icons/MediaSlash.js";
27
- import { MessagingFill as D } from "./components/Icon/icons/MessagingFill.js";
28
- import { Minimize as O } from "./components/Icon/icons/Minimize.js";
29
- import { Mute as k } from "./components/Icon/icons/Mute.js";
30
- import { Paperclip as A } from "./components/Icon/icons/Paperclip.js";
31
- import { PersonFill as j } from "./components/Icon/icons/PersonFill.js";
32
- import { PlayFill as M } from "./components/Icon/icons/PlayFill.js";
33
- import { SendFill as N } from "./components/Icon/icons/SendFill.js";
34
- import { StarBadgeFill as P } from "./components/Icon/icons/StarBadgeFill.js";
35
- import { ThumbsDown as F } from "./components/Icon/icons/ThumbsDown.js";
36
- import { ThumbsUp as I } from "./components/Icon/icons/ThumbsUp.js";
37
- import { Volume as L } from "./components/Icon/icons/Volume.js";
38
- import { Xmark as R } from "./components/Icon/icons/Xmark.js";
39
- import { XmarkCircle as z } from "./components/Icon/icons/XmarkCircle.js";
40
- import { IconButton as B } from "./components/IconButton/IconButton.js";
41
- import { ToastNotification as V } from "./components/ToastNotification/ToastNotification.js";
42
- import { Banner as H } from "./components/Banner/Banner.js";
43
- import { useRegisterOverlay as U } from "./hooks/overlayRegistry.js";
44
- import { BubbleOverlay as W } from "./components/BubbleOverlay/BubbleOverlay.js";
45
- import { Button as G } from "./components/Button/Button.js";
46
- import { Checkbox as K } from "./components/Checkbox/Checkbox.js";
47
- import { CheckboxGroup as q } from "./components/Checkbox/CheckboxGroup.js";
48
- import { Chip as J } from "./components/Chip/Chip.js";
49
- import { Dialog as Y } from "./components/Dialog/Dialog.js";
50
- import { DialogOverlay as X } from "./components/DialogOverlay/DialogOverlay.js";
51
- import { Divider as Z } from "./components/Divider/Divider.js";
52
- import { DropZone as Q } from "./components/DropZone/DropZone.js";
53
- import { FullscreenOverlay as $ } from "./components/FullscreenOverlay/FullscreenOverlay.js";
54
- import { Header as ee } from "./components/Header/Header.js";
55
- import { Image as te } from "./components/Image/Image.js";
56
- import { Input as ne } from "./components/Input/Input.js";
57
- import { Link as re } from "./components/Link/Link.js";
58
- import { Menu as ie } from "./components/MenuItem/Menu.js";
59
- import { MenuItem as ae } from "./components/MenuItem/MenuItem.js";
60
- import { MessageError as oe } from "./components/MessageError/MessageError.js";
61
- import { MessageRow as se } from "./components/MessageRow/MessageRow.js";
62
- import { PictureMessage as ce } from "./components/PictureMessage/PictureMessage.js";
63
- import { PillButton as le } from "./components/PillButton/PillButton.js";
64
- import { ProactiveMessage as ue } from "./components/ProactiveMessage/ProactiveMessage.js";
65
- import { Radio as de } from "./components/Radio/Radio.js";
66
- import { RadioGroup as fe } from "./components/Radio/RadioGroup.js";
67
- import { ScrollMarker as pe } from "./components/ScrollMarker/ScrollMarker.js";
68
- import { Sheet as me } from "./components/Sheet/Sheet.js";
69
- import { SheetOverlay as he } from "./components/SheetOverlay/SheetOverlay.js";
70
- import { useSubmitOnEnter as ge } from "./hooks/useSubmitOnEnter.js";
71
- import { Spinner as _e } from "./components/Spinner/Spinner.js";
72
- import { SurveyRating as ve } from "./components/Survey/SurveyRating/SurveyRating.js";
73
- import { SurveySelect as ye } from "./components/Survey/SurveySelect/SurveySelect.js";
74
- import { ThinkingShimmer as be } from "./components/ThinkingShimmer/ThinkingShimmer.js";
75
- import { ToastRegion as xe } from "./components/ToastRegion/ToastRegion.js";
76
- import { ToastQueue as Se } from "./components/ToastRegion/index.js";
77
- import { Toggle as Ce } from "./components/Toggle/Toggle.js";
78
- import { Tooltip as we, TooltipTrigger as Te } from "./components/Tooltip/Tooltip.js";
79
- import { TypingIndicator as Ee } from "./components/TypingIndicator/TypingIndicator.js";
80
- import { UserMessage as De } from "./components/UserMessage/UserMessage.js";
81
- import { VideoMessage as Oe } from "./components/VideoMessage/VideoMessage.js";
82
- import { LOVELACE_SURFACES as ke, contrastRatioBetween as Ae, createBrandOverrides as je, isLegibleAgainst as Me, isLegibleOnSurface as Ne, readableTextOnAccent as Pe } from "./runtime/branding.js";
83
- import { LovelaceProvider as Fe, useResolvedTheme as Ie } from "./runtime/LovelaceProvider.js";
84
- export { o as AdaLogo, e as AgentMessage, s as ArrowDown, c as ArrowLeft, l as ArrowNortheast, u as ArrowNorthwest, d as ArrowRight, n as Avatar, t as AvatarPlaceholder, H as Banner, f as Bell, p as BellSlash, W as BubbleOverlay, G as Button, K as Checkbox, q as CheckboxGroup, m as Checkmark, h as ChevronLeft, g as ChevronRight, J as Chip, _ as CloudUpload, Y as Dialog, X as DialogOverlay, Z as Divider, v as Download, Q as DropZone, y as Ellipses, b as Email, x as ExclamationSync, S as ExclamationTriangle, C as Eye, w as EyeSlash, $ as FullscreenOverlay, ee as Header, a as Icon, B as IconButton, te as Image, ne as Input, ke as LOVELACE_SURFACES, T as Language, re as Link, Fe as LovelaceProvider, E as MediaSlash, ie as Menu, ae as MenuItem, oe as MessageError, se as MessageRow, D as MessagingFill, O as Minimize, k as Mute, A as Paperclip, j as PersonFill, ce as PictureMessage, le as PillButton, M as PlayFill, ue as ProactiveMessage, de as Radio, fe as RadioGroup, pe as ScrollMarker, N as SendFill, me as Sheet, he as SheetOverlay, _e as Spinner, P as StarBadgeFill, ve as SurveyRating, ye as SurveySelect, be as ThinkingShimmer, F as ThumbsDown, I as ThumbsUp, V as ToastNotification, Se as ToastQueue, xe as ToastRegion, Ce as Toggle, we as Tooltip, Te as TooltipTrigger, Ee as TypingIndicator, De as UserMessage, Oe as VideoMessage, L as Volume, R as Xmark, z as XmarkCircle, Ae as contrastRatioBetween, je as createBrandOverrides, Me as isLegibleAgainst, Ne as isLegibleOnSurface, r as readPrefersReducedMotion, Pe as readableTextOnAccent, i as usePrefersReducedMotion, U as useRegisterOverlay, Ie as useResolvedTheme, ge as useSubmitOnEnter };
2
+ import { AttachmentChip as t } from "./components/AttachmentChip/AttachmentChip.js";
3
+ import { AvatarPlaceholder as n } from "./components/Avatar/AvatarPlaceholder.js";
4
+ import { Avatar as r } from "./components/Avatar/Avatar.js";
5
+ import { readPrefersReducedMotion as i, usePrefersReducedMotion as a } from "./hooks/usePrefersReducedMotion.js";
6
+ import { Icon as o } from "./components/Icon/Icon.js";
7
+ import { AdaLogo as s } from "./components/Icon/icons/AdaLogo.js";
8
+ import { ArrowDown as c } from "./components/Icon/icons/ArrowDown.js";
9
+ import { ArrowLeft as l } from "./components/Icon/icons/ArrowLeft.js";
10
+ import { ArrowNortheast as u } from "./components/Icon/icons/ArrowNortheast.js";
11
+ import { ArrowNorthwest as d } from "./components/Icon/icons/ArrowNorthwest.js";
12
+ import { ArrowRight as f } from "./components/Icon/icons/ArrowRight.js";
13
+ import { Bell as p } from "./components/Icon/icons/Bell.js";
14
+ import { BellSlash as m } from "./components/Icon/icons/BellSlash.js";
15
+ import { Checkmark as h } from "./components/Icon/icons/Checkmark.js";
16
+ import { ChevronLeft as g } from "./components/Icon/icons/ChevronLeft.js";
17
+ import { ChevronRight as _ } from "./components/Icon/icons/ChevronRight.js";
18
+ import { CloudUpload as v } from "./components/Icon/icons/CloudUpload.js";
19
+ import { Document as y } from "./components/Icon/icons/Document.js";
20
+ import { Download as b } from "./components/Icon/icons/Download.js";
21
+ import { Ellipses as x } from "./components/Icon/icons/Ellipses.js";
22
+ import { Email as S } from "./components/Icon/icons/Email.js";
23
+ import { ExclamationSync as C } from "./components/Icon/icons/ExclamationSync.js";
24
+ import { ExclamationTriangle as w } from "./components/Icon/icons/ExclamationTriangle.js";
25
+ import { Eye as T } from "./components/Icon/icons/Eye.js";
26
+ import { EyeSlash as E } from "./components/Icon/icons/EyeSlash.js";
27
+ import { Language as D } from "./components/Icon/icons/Language.js";
28
+ import { MediaSlash as O } from "./components/Icon/icons/MediaSlash.js";
29
+ import { MessagingFill as k } from "./components/Icon/icons/MessagingFill.js";
30
+ import { Minimize as A } from "./components/Icon/icons/Minimize.js";
31
+ import { Mute as j } from "./components/Icon/icons/Mute.js";
32
+ import { Paperclip as M } from "./components/Icon/icons/Paperclip.js";
33
+ import { PersonFill as N } from "./components/Icon/icons/PersonFill.js";
34
+ import { PlayFill as P } from "./components/Icon/icons/PlayFill.js";
35
+ import { SendFill as F } from "./components/Icon/icons/SendFill.js";
36
+ import { StarBadgeFill as I } from "./components/Icon/icons/StarBadgeFill.js";
37
+ import { ThumbsDown as L } from "./components/Icon/icons/ThumbsDown.js";
38
+ import { ThumbsUp as R } from "./components/Icon/icons/ThumbsUp.js";
39
+ import { Volume as z } from "./components/Icon/icons/Volume.js";
40
+ import { Xmark as B } from "./components/Icon/icons/Xmark.js";
41
+ import { XmarkCircle as V } from "./components/Icon/icons/XmarkCircle.js";
42
+ import { IconButton as H } from "./components/IconButton/IconButton.js";
43
+ import { ToastNotification as U } from "./components/ToastNotification/ToastNotification.js";
44
+ import { Banner as W } from "./components/Banner/Banner.js";
45
+ import { useRegisterOverlay as G } from "./hooks/overlayRegistry.js";
46
+ import { BubbleOverlay as K } from "./components/BubbleOverlay/BubbleOverlay.js";
47
+ import { Button as q } from "./components/Button/Button.js";
48
+ import { Checkbox as J } from "./components/Checkbox/Checkbox.js";
49
+ import { CheckboxGroup as Y } from "./components/Checkbox/CheckboxGroup.js";
50
+ import { Chip as X } from "./components/Chip/Chip.js";
51
+ import { Dialog as Z } from "./components/Dialog/Dialog.js";
52
+ import { DialogOverlay as Q } from "./components/DialogOverlay/DialogOverlay.js";
53
+ import { Divider as $ } from "./components/Divider/Divider.js";
54
+ import { DropZone as ee } from "./components/DropZone/DropZone.js";
55
+ import { FullscreenOverlay as te } from "./components/FullscreenOverlay/FullscreenOverlay.js";
56
+ import { Header as ne } from "./components/Header/Header.js";
57
+ import { Image as re } from "./components/Image/Image.js";
58
+ import { Input as ie } from "./components/Input/Input.js";
59
+ import { Link as ae } from "./components/Link/Link.js";
60
+ import { Menu as oe } from "./components/MenuItem/Menu.js";
61
+ import { MenuItem as se } from "./components/MenuItem/MenuItem.js";
62
+ import { MessageError as ce } from "./components/MessageError/MessageError.js";
63
+ import { MessageRow as le } from "./components/MessageRow/MessageRow.js";
64
+ import { PictureMessage as ue } from "./components/PictureMessage/PictureMessage.js";
65
+ import { PillButton as de } from "./components/PillButton/PillButton.js";
66
+ import { ProactiveMessage as fe } from "./components/ProactiveMessage/ProactiveMessage.js";
67
+ import { Radio as pe } from "./components/Radio/Radio.js";
68
+ import { RadioGroup as me } from "./components/Radio/RadioGroup.js";
69
+ import { ScrollMarker as he } from "./components/ScrollMarker/ScrollMarker.js";
70
+ import { Sheet as ge } from "./components/Sheet/Sheet.js";
71
+ import { SheetOverlay as _e } from "./components/SheetOverlay/SheetOverlay.js";
72
+ import { useSubmitOnEnter as ve } from "./hooks/useSubmitOnEnter.js";
73
+ import { Spinner as ye } from "./components/Spinner/Spinner.js";
74
+ import { SurveyRating as be } from "./components/Survey/SurveyRating/SurveyRating.js";
75
+ import { SurveySelect as xe } from "./components/Survey/SurveySelect/SurveySelect.js";
76
+ import { ThinkingShimmer as Se } from "./components/ThinkingShimmer/ThinkingShimmer.js";
77
+ import { ToastRegion as Ce } from "./components/ToastRegion/ToastRegion.js";
78
+ import { ToastQueue as we } from "./components/ToastRegion/index.js";
79
+ import { Toggle as Te } from "./components/Toggle/Toggle.js";
80
+ import { Tooltip as Ee, TooltipTrigger as De } from "./components/Tooltip/Tooltip.js";
81
+ import { TypingIndicator as Oe } from "./components/TypingIndicator/TypingIndicator.js";
82
+ import { UserMessage as ke } from "./components/UserMessage/UserMessage.js";
83
+ import { VideoMessage as Ae } from "./components/VideoMessage/VideoMessage.js";
84
+ import { LOVELACE_SURFACES as je, contrastRatioBetween as Me, createBrandOverrides as Ne, isLegibleAgainst as Pe, isLegibleOnSurface as Fe, readableTextOnAccent as Ie } from "./runtime/branding.js";
85
+ import { LovelaceProvider as Le, useResolvedTheme as Re } from "./runtime/LovelaceProvider.js";
86
+ export { s as AdaLogo, e as AgentMessage, c as ArrowDown, l as ArrowLeft, u as ArrowNortheast, d as ArrowNorthwest, f as ArrowRight, t as AttachmentChip, r as Avatar, n as AvatarPlaceholder, W as Banner, p as Bell, m as BellSlash, K as BubbleOverlay, q as Button, J as Checkbox, Y as CheckboxGroup, h as Checkmark, g as ChevronLeft, _ as ChevronRight, X as Chip, v as CloudUpload, Z as Dialog, Q as DialogOverlay, $ as Divider, y as Document, b as Download, ee as DropZone, x as Ellipses, S as Email, C as ExclamationSync, w as ExclamationTriangle, T as Eye, E as EyeSlash, te as FullscreenOverlay, ne as Header, o as Icon, H as IconButton, re as Image, ie as Input, je as LOVELACE_SURFACES, D as Language, ae as Link, Le as LovelaceProvider, O as MediaSlash, oe as Menu, se as MenuItem, ce as MessageError, le as MessageRow, k as MessagingFill, A as Minimize, j as Mute, M as Paperclip, N as PersonFill, ue as PictureMessage, de as PillButton, P as PlayFill, fe as ProactiveMessage, pe as Radio, me as RadioGroup, he as ScrollMarker, F as SendFill, ge as Sheet, _e as SheetOverlay, ye as Spinner, I as StarBadgeFill, be as SurveyRating, xe as SurveySelect, Se as ThinkingShimmer, L as ThumbsDown, R as ThumbsUp, U as ToastNotification, we as ToastQueue, Ce as ToastRegion, Te as Toggle, Ee as Tooltip, De as TooltipTrigger, Oe as TypingIndicator, ke as UserMessage, Ae as VideoMessage, z as Volume, B as Xmark, V as XmarkCircle, Me as contrastRatioBetween, Ne as createBrandOverrides, Pe as isLegibleAgainst, Fe as isLegibleOnSurface, i as readPrefersReducedMotion, Ie as readableTextOnAccent, a as usePrefersReducedMotion, G as useRegisterOverlay, Re as useResolvedTheme, ve as useSubmitOnEnter };
package/dist/style.css CHANGED
@@ -1,2 +1,2 @@
1
- ._1xn6t060{text-align:start;flex-direction:column;justify-content:center;min-width:0;min-height:24px;display:flex}.slrdvx0{color:var(--lovelace-message-content-default);font-family:var(--lovelace-font-family-body);font-weight:var(--lovelace-font-weight-regular);font-size:var(--lovelace-message-content-font-size-body);line-height:var(--lovelace-message-content-line-height-body);overflow-wrap:anywhere;word-break:break-word}.slrdvx0 :is(p,ul,ol,h1,h2,h3,h4,h5,h6,pre,blockquote,table,hr){margin:0}.slrdvx0 :is(ul,ol){margin:var(--lovelace-gap-4) 0;padding-inline-start:var(--lovelace-padding-16)}.slrdvx0 p+p{margin-top:var(--lovelace-gap-16)}:where(.slrdvx0) a{color:var(--lovelace-message-content-link);text-decoration:underline}:where(.slrdvx0) strong{font-weight:var(--lovelace-font-weight-semi-bold)}.kmbju21{isolation:isolate;box-sizing:border-box;border-radius:var(--lovelace-border-radius-avatar);background-color:var(--lovelace-avatar-background);color:var(--lovelace-avatar-content);font-family:var(--lovelace-font-family-body);font-weight:var(--lovelace-font-weight-semi-bold);text-align:center;-webkit-user-select:none;user-select:none;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex;position:relative;overflow:hidden}.kmbju22{width:24px;height:24px;font-size:var(--lovelace-font-size-body);line-height:var(--lovelace-line-height-body)}.kmbju23{width:36px;height:36px;font-size:var(--lovelace-font-size-body);line-height:var(--lovelace-line-height-body)}.kmbju24{width:48px;height:48px;font-size:var(--lovelace-font-size-body);line-height:var(--lovelace-line-height-body)}.kmbju25{width:72px;height:72px;font-size:var(--lovelace-font-size-title-large);line-height:var(--lovelace-line-height-title-large)}.kmbju26{flex-shrink:0}.kmbju27{width:24px;height:24px}.kmbju28{width:36px;height:36px}.kmbju29{width:48px;height:48px}.kmbju2a{width:72px;height:72px}.kmbju20 [data-slot=image]{object-fit:cover;border-radius:inherit;width:100%;height:100%;position:absolute;inset:0}.kmbju20 [data-slot=icon]{flex-shrink:0}.kmbju20[data-size=sm] [data-slot=icon]{font-size:var(--lovelace-icon-size-sm)}.kmbju20[data-size=md] [data-slot=icon]{font-size:var(--lovelace-icon-size-md)}.kmbju20[data-size=lg] [data-slot=icon]{font-size:32px}.kmbju20[data-size=xl] [data-slot=icon]{font-size:36px}.fpbgjm0{align-items:flex-end;display:flex;position:relative;overflow:hidden}.fpbgjm0[data-exiting]{transform:translateY(-100%)}.fpbgjm0[data-swapping]{opacity:0}@media (prefers-reduced-motion:no-preference){.fpbgjm0{transition:transform var(--lovelace-duration-medium) var(--lovelace-easing-standard), height var(--lovelace-duration-medium) var(--lovelace-easing-standard), opacity var(--lovelace-duration-fast) var(--lovelace-easing-standard)}}._1lzdalt0{aspect-ratio:1;color:currentColor;flex-shrink:0;justify-content:center;align-items:center;width:auto;height:1em;line-height:0;display:inline-flex}._1nvcxt20{isolation:isolate;box-sizing:border-box;border:var(--lovelace-border-width-default) solid transparent;border-radius:var(--lovelace-border-radius-button);font-size:var(--lovelace-icon-size-control);cursor:pointer;-webkit-user-select:none;user-select:none;appearance:none;transition-property:background-color,border-color;transition-duration:var(--lovelace-duration-fast);transition-timing-function:var(--lovelace-easing-standard);outline:none;flex-shrink:0;justify-content:center;align-items:center;padding:0;display:inline-flex;position:relative}._1nvcxt20:after{content:"";border-radius:inherit;opacity:0;pointer-events:none;z-index:-1;transition:opacity var(--lovelace-duration-fast) var(--lovelace-easing-standard);background-color:currentColor;position:absolute;inset:0}._1nvcxt20[data-hovered]:not([data-disabled]):after{opacity:var(--lovelace-opacity-state-hover)}._1nvcxt20[data-focus-visible]:not([data-disabled]):after{opacity:var(--lovelace-opacity-state-focus)}._1nvcxt20[data-pressed]:not([data-disabled]):after{opacity:var(--lovelace-opacity-state-pressed)}._1nvcxt20[data-focus-visible]:not([data-disabled]){box-shadow:0 0 0 var(--lovelace-border-width-focus) var(--lovelace-color-border-focus)}._1nvcxt20[data-disabled]{cursor:not-allowed;color:var(--lovelace-color-content-disabled)}._1nvcxt21{background-color:var(--lovelace-button-primary-background);color:var(--lovelace-button-primary-content)}._1nvcxt21[data-disabled]{background-color:var(--lovelace-color-background-disabled)}._1nvcxt22{background-color:var(--lovelace-color-background-destructive);color:var(--lovelace-color-content-on-destructive)}._1nvcxt22[data-disabled]{background-color:var(--lovelace-color-background-disabled)}._1nvcxt23{background-color:var(--lovelace-color-background-default);color:var(--lovelace-color-content-default);border-color:var(--lovelace-color-border-default)}._1nvcxt24{background-color:var(--lovelace-color-background-default);color:var(--lovelace-color-content-destructive);border-color:var(--lovelace-color-border-destructive)}._1nvcxt25{color:var(--lovelace-color-content-default);background-color:#0000}._1nvcxt26{color:var(--lovelace-color-content-destructive);background-color:#0000}._1nvcxt27{width:40px;height:40px}._1nvcxt28{width:32px;height:32px}._1nvcxt29{width:24px;height:24px}@media (forced-colors:active){._1nvcxt20[data-focus-visible]:not([data-disabled]){outline-offset:2px;outline:2px solid highlight}}.k6tn090{gap:var(--lovelace-gap-8);box-sizing:border-box;width:100%;padding-inline:var(--lovelace-padding-12);padding-block:var(--lovelace-padding-8);font-family:var(--lovelace-font-family-body);font-weight:var(--lovelace-font-weight-medium);font-size:var(--lovelace-font-size-body);line-height:var(--lovelace-line-height-body);text-align:center;overflow-wrap:break-word;align-items:flex-start;display:flex}.k6tn092{background-color:var(--lovelace-color-background-success-light);color:var(--lovelace-color-content-success)}.k6tn093{background-color:var(--lovelace-color-background-warning-light);color:var(--lovelace-color-content-warning)}.k6tn094{background-color:var(--lovelace-color-background-destructive-light);color:var(--lovelace-color-content-destructive)}.k6tn095{min-width:0;margin-inline-end:auto}.k6tn090>[data-slot=icon]{font-size:var(--lovelace-icon-size-control);flex-shrink:0;margin-inline-start:auto}.k6tn090>[data-slot=button]{color:inherit}.k6tn090>[data-slot=button] [data-slot=icon]{font-size:var(--lovelace-icon-size-sm)}.k6tn090>[data-slot=button][data-disabled]{color:inherit;cursor:inherit}.xywi8y0{padding:var(--lovelace-padding-16);justify-content:flex-end;align-items:center}.xywi8y1{background-color:var(--lovelace-color-background-default);border-radius:var(--lovelace-border-radius-container);flex-direction:column;width:fit-content;max-width:min(320px,100%);min-height:0;max-height:100%;display:flex;position:relative;overflow:hidden;box-shadow:0 12px 24px 4px #0000001f}.xywi8y1[data-entering],.xywi8y1[data-exiting]{transform:translateY(8px)}.xywi8y2{outline:none;flex-direction:column;flex:auto;min-height:0;max-height:100%;display:flex}@media (prefers-reduced-motion:no-preference){.xywi8y1{transition:transform var(--lovelace-duration-medium) var(--lovelace-easing-standard)}}._1r1codi0{z-index:200;flex-direction:column;display:flex;position:fixed;inset:0}._1r1codi0[data-entering],._1r1codi0[data-exiting]{opacity:0}@media (prefers-reduced-motion:no-preference){._1r1codi0{transition:opacity var(--lovelace-duration-medium) var(--lovelace-easing-standard)}}.ateptb1{isolation:isolate;justify-content:center;align-items:center;gap:var(--lovelace-gap-8);padding-inline:var(--lovelace-padding-12);box-sizing:border-box;border:var(--lovelace-border-width-default) solid transparent;border-radius:var(--lovelace-border-radius-button);font-family:var(--lovelace-font-family-body);font-weight:var(--lovelace-font-weight-medium);font-size:var(--lovelace-font-size-body);line-height:var(--lovelace-line-height-body);white-space:nowrap;cursor:pointer;-webkit-user-select:none;user-select:none;appearance:none;transition-property:background-color,border-color;transition-duration:var(--lovelace-duration-fast);transition-timing-function:var(--lovelace-easing-standard);outline:none;text-decoration:none;display:inline-flex;position:relative}.ateptb1:after{content:"";border-radius:inherit;opacity:0;pointer-events:none;z-index:-1;transition:opacity var(--lovelace-duration-fast) var(--lovelace-easing-standard);background-color:currentColor;position:absolute;inset:0}.ateptb1[data-hovered]:not([data-disabled]):after{opacity:var(--lovelace-opacity-state-hover)}.ateptb1[data-focus-visible]:not([data-disabled]):after{opacity:var(--lovelace-opacity-state-focus)}.ateptb1[data-pressed]:not([data-disabled]):after{opacity:var(--lovelace-opacity-state-pressed)}.ateptb1[data-focus-visible]:not([data-disabled]){box-shadow:0 0 0 var(--lovelace-border-width-focus) var(--lovelace-color-border-focus)}.ateptb1[data-disabled]{cursor:not-allowed;color:var(--lovelace-color-content-disabled)}.ateptb2{background-color:var(--lovelace-button-primary-background);color:var(--lovelace-button-primary-content)}.ateptb2[data-disabled]{background-color:var(--lovelace-color-background-disabled)}.ateptb3{background-color:var(--lovelace-color-background-destructive);color:var(--lovelace-color-content-on-destructive)}.ateptb3[data-disabled]{background-color:var(--lovelace-color-background-disabled)}.ateptb4{background-color:var(--lovelace-color-background-default);color:var(--lovelace-color-content-default);border-color:var(--lovelace-color-border-default)}.ateptb5{background-color:var(--lovelace-color-background-default);color:var(--lovelace-color-content-destructive);border-color:var(--lovelace-color-border-destructive)}.ateptb6{color:var(--lovelace-color-content-default);background-color:#0000}.ateptb7{color:var(--lovelace-color-content-destructive);background-color:#0000}.ateptb8{height:40px}.ateptb9{height:32px}.ateptb0 [data-slot=icon]{font-size:var(--lovelace-icon-size-control);flex-shrink:0}@media (forced-colors:active){.ateptb1[data-focus-visible]:not([data-disabled]){outline-offset:2px;outline:2px solid highlight}}.s7h2sn0{gap:var(--lovelace-gap-20);flex-direction:column;display:flex}.s7h2sn2{font-family:var(--lovelace-font-family-body);font-weight:var(--lovelace-font-weight-regular);font-size:var(--lovelace-font-size-body);line-height:var(--lovelace-line-height-body);color:var(--lovelace-color-content-default);cursor:pointer;-webkit-user-select:none;user-select:none;outline:none}.s7h2sn2[data-disabled]{cursor:not-allowed;color:var(--lovelace-color-content-disabled)}.s7h2sn3{align-items:center;gap:var(--lovelace-gap-12);display:inline-flex}.s7h2sn4{isolation:isolate;box-sizing:border-box;align-items:center;gap:var(--lovelace-gap-12);min-height:40px;padding-inline:var(--lovelace-padding-8);padding-block:var(--lovelace-padding-4);border-radius:var(--lovelace-border-radius-button);border:var(--lovelace-border-width-default) solid transparent;background-color:var(--lovelace-color-background-default);color:var(--lovelace-color-content-default);font-family:var(--lovelace-font-family-body);font-size:var(--lovelace-font-size-body);font-weight:var(--lovelace-font-weight-regular);line-height:var(--lovelace-line-height-body);text-align:start;cursor:pointer;-webkit-user-select:none;user-select:none;transition-property:background-color,border-color;transition-duration:var(--lovelace-duration-fast);transition-timing-function:var(--lovelace-easing-standard);outline:none;display:flex;position:relative}.s7h2sn4:after{content:"";border-radius:inherit;opacity:0;pointer-events:none;z-index:-1;transition:opacity var(--lovelace-duration-fast) var(--lovelace-easing-standard);background-color:currentColor;position:absolute;inset:0}.s7h2sn4[data-hovered]:not([data-disabled]):after{opacity:var(--lovelace-opacity-state-hover)}.s7h2sn4[data-focus-visible]:not([data-disabled]):after{opacity:var(--lovelace-opacity-state-focus)}.s7h2sn4[data-pressed]:not([data-disabled]):after{opacity:var(--lovelace-opacity-state-pressed)}.s7h2sn4[data-focus-visible]:not([data-disabled]){border-color:var(--lovelace-color-border-accent);box-shadow:0 0 0 var(--lovelace-border-width-focus) var(--lovelace-color-border-focus)}.s7h2sn4[data-disabled]{cursor:not-allowed;color:var(--lovelace-color-content-disabled)}.s7h2sn1>[data-slot=icon]{font-size:var(--lovelace-icon-size-lg);flex-shrink:0}.s7h2sn1>[data-slot=label]{text-align:start;overflow-wrap:anywhere;flex:1;min-width:0}.s7h2sn5{isolation:isolate;box-sizing:border-box;border-radius:var(--lovelace-border-radius-6);border-style:solid;border-width:var(--lovelace-border-width-default);border-color:var(--lovelace-color-border-default);background-color:var(--lovelace-color-background-default);width:24px;height:24px;color:var(--lovelace-color-content-inverse);transition-property:border-color,box-shadow;transition-duration:var(--lovelace-duration-fast);transition-timing-function:var(--lovelace-easing-standard);flex-shrink:0;position:relative}.s7h2sn5:after{content:"";border-radius:inherit;opacity:0;pointer-events:none;z-index:-1;transition:opacity var(--lovelace-duration-fast) var(--lovelace-easing-standard);background-color:currentColor;position:absolute;inset:0}.s7h2sn6{color:currentColor;opacity:0;pointer-events:none;width:16px;height:16px;margin:auto;position:absolute;inset:0}[data-selected]>.s7h2sn5,[data-indeterminate]>.s7h2sn5{background-color:var(--lovelace-color-background-inverse);border-color:#0000}[data-hovered]:not([data-disabled]):not([data-selected]):not([data-indeterminate])>.s7h2sn5[data-state-layer]{border-color:var(--lovelace-color-border-medium)}[data-hovered]:not([data-disabled])>.s7h2sn5[data-state-layer]:after{opacity:var(--lovelace-opacity-state-hover)}[data-focus-visible]:not([data-disabled])>.s7h2sn5[data-state-layer]:after{opacity:var(--lovelace-opacity-state-focus)}[data-pressed]:not([data-disabled])>.s7h2sn5[data-state-layer]:after{opacity:var(--lovelace-opacity-state-pressed)}[data-focus-visible]:not([data-disabled])>.s7h2sn5[data-state-layer]{box-shadow:0 0 0 var(--lovelace-border-width-focus) var(--lovelace-color-border-focus)}[data-disabled]>.s7h2sn5{background-color:var(--lovelace-color-background-disabled);border-color:var(--lovelace-color-border-default);color:var(--lovelace-color-content-disabled)}[data-selected]:not([data-indeterminate])>.s7h2sn5>.s7h2sn6[data-glyph=check],[data-indeterminate]>.s7h2sn5>.s7h2sn6[data-glyph=dash]{opacity:1}@media (forced-colors:active){.s7h2sn4[data-focus-visible]:not([data-disabled]),[data-focus-visible]:not([data-disabled])>.s7h2sn5[data-state-layer]{outline-offset:2px;outline:2px solid highlight}}._18cnc771{isolation:isolate;box-sizing:border-box;border:var(--lovelace-border-width-default) solid transparent;font-family:var(--lovelace-font-family-body);font-weight:var(--lovelace-font-weight-medium);font-size:var(--lovelace-font-size-body);line-height:var(--lovelace-line-height-body);white-space:nowrap;cursor:pointer;-webkit-user-select:none;user-select:none;appearance:none;transition-property:background-color,border-color;transition-duration:var(--lovelace-duration-fast);transition-timing-function:var(--lovelace-easing-standard);outline:none;justify-content:center;align-items:center;display:inline-flex;position:relative}._18cnc771:after{content:"";border-radius:inherit;opacity:0;pointer-events:none;z-index:-1;transition:opacity var(--lovelace-duration-fast) var(--lovelace-easing-standard);background-color:currentColor;position:absolute;inset:0}._18cnc771:not([data-selected]){background-color:var(--lovelace-color-background-default);color:var(--lovelace-color-content-default);border-color:var(--lovelace-color-border-default)}._18cnc771[data-selected]{background-color:var(--lovelace-chip-background-selected);color:var(--lovelace-color-content-on-accent);border-color:#0000}._18cnc771[data-hovered]:not([data-disabled]):after{opacity:var(--lovelace-opacity-state-hover)}._18cnc771[data-focus-visible]:not([data-disabled]):after{opacity:var(--lovelace-opacity-state-focus)}._18cnc771[data-pressed]:not([data-disabled]):after{opacity:var(--lovelace-opacity-state-pressed)}._18cnc771[data-focus-visible]:not([data-disabled]){border-color:var(--lovelace-color-border-accent);box-shadow:0 0 0 var(--lovelace-border-width-focus) var(--lovelace-color-border-focus)}._18cnc771[data-disabled]{cursor:not-allowed;color:var(--lovelace-color-content-disabled)}._18cnc772{min-width:80px;padding-inline:var(--lovelace-padding-12);border-radius:var(--lovelace-border-radius-pill)}._18cnc773,._18cnc774{border-radius:var(--lovelace-border-radius-button)}._18cnc777{height:40px}._18cnc778{height:48px}._18cnc779{width:40px;height:40px}._18cnc77a{width:48px;height:48px}._18cnc77b{width:40px;height:40px}._18cnc77c{width:48px;height:48px;font-size:var(--lovelace-font-size-title-large)}._18cnc770 [data-slot=icon]{font-size:var(--lovelace-icon-size-control);flex-shrink:0}@media (forced-colors:active){._18cnc771[data-focus-visible]:not([data-disabled]){outline-offset:2px;outline:2px solid highlight}}.onnuc90{text-align:center;align-items:center;gap:var(--lovelace-gap-16);padding:var(--lovelace-padding-16);flex-direction:column;display:flex}.onnuc91{flex-shrink:0;font-size:32px;line-height:0;display:flex}.onnuc92{color:var(--lovelace-color-content-warning)}.onnuc93{color:var(--lovelace-color-content-success)}.onnuc94{align-items:center;gap:var(--lovelace-gap-8);flex-direction:column;width:100%;display:flex}.onnuc95{text-align:center;width:100%;font-family:var(--lovelace-font-family-heading);font-weight:var(--lovelace-font-weight-medium);font-size:var(--lovelace-font-size-title-large);line-height:var(--lovelace-line-height-title-large);color:var(--lovelace-color-content-default);margin:0}.onnuc96{text-align:center;width:100%;font-family:var(--lovelace-font-family-body);font-weight:var(--lovelace-font-weight-regular);font-size:var(--lovelace-font-size-body);line-height:var(--lovelace-line-height-body);color:var(--lovelace-color-content-secondary);margin:0}.onnuc97{align-items:stretch;gap:var(--lovelace-gap-8);flex-direction:column;width:100%;display:flex}._9zd2r40{padding:var(--lovelace-padding-16);background-color:var(--lovelace-color-wash-neutral);justify-content:center;align-items:center}._9zd2r41{background-color:var(--lovelace-color-background-default);border-radius:var(--lovelace-border-radius-container);flex-direction:column;width:366px;max-width:100%;max-height:90%;display:flex;overflow:hidden;box-shadow:0 12px 24px 4px #0000001f}._9zd2r41[data-entering],._9zd2r41[data-exiting]{opacity:0;transform:scale(.95)}._9zd2r42{box-sizing:border-box;outline:none;flex-direction:column;flex:auto;width:100%;min-height:0;display:flex;overflow-y:auto}@media (prefers-reduced-motion:no-preference){._9zd2r41{transition-property:opacity,transform;transition-duration:var(--lovelace-duration-medium);transition-timing-function:var(--lovelace-easing-standard)}}.a07ce60{box-sizing:border-box}.a07ce61{width:100%;display:block}.a07ce62{justify-content:center;align-items:center;gap:var(--lovelace-gap-8);width:100%;display:flex}.a07ce63{justify-content:center;align-items:center;gap:var(--lovelace-gap-4);text-align:center;flex-direction:column;display:flex}.a07ce64{border:none;border-top:var(--lovelace-border-width-default) solid var(--lovelace-color-border-default);flex:1 1 0;width:100%;min-width:1px;height:0;margin:0}.a07ce65{font-family:var(--lovelace-font-family-body);font-size:var(--lovelace-font-size-caption);line-height:var(--lovelace-line-height-caption);color:var(--lovelace-color-content-secondary);font-weight:var(--lovelace-font-weight-regular);white-space:nowrap;flex-shrink:0;margin:0}.a07ce66{font-family:var(--lovelace-font-family-body);font-size:var(--lovelace-font-size-caption);line-height:var(--lovelace-line-height-caption);color:var(--lovelace-color-content-secondary);font-weight:var(--lovelace-font-weight-medium);margin:0}.a07ce67{font-family:var(--lovelace-font-family-body);font-size:var(--lovelace-font-size-caption);line-height:var(--lovelace-line-height-caption);color:var(--lovelace-color-content-secondary);font-weight:var(--lovelace-font-weight-regular);margin:0}._1vy5zjp0{flex-direction:column;flex:auto;min-height:0;display:flex;position:relative}._1vy5zjp1{justify-content:center;align-items:center;gap:var(--lovelace-gap-12);padding:var(--lovelace-padding-16);border-radius:var(--lovelace-border-radius-20);background-color:var(--lovelace-color-background-default);pointer-events:none;flex-direction:column;display:flex;position:absolute;inset:0}._1vy5zjp1 [data-slot=icon]{color:var(--lovelace-color-content-secondary);font-size:32px}._1vy5zjp0[data-drop-target] ._1vy5zjp1 [data-slot=icon]{color:var(--lovelace-color-content-highlight)}._1vy5zjp2{gap:var(--lovelace-gap-8);text-align:center;width:100%;font-family:var(--lovelace-font-family-body);font-weight:var(--lovelace-font-weight-regular);font-size:var(--lovelace-font-size-body);line-height:var(--lovelace-line-height-body);word-break:break-word;flex-direction:column;display:flex}._1vy5zjp3{color:var(--lovelace-color-content-default);margin:0}._1vy5zjp4{color:var(--lovelace-color-content-secondary);margin:0}._6ivfy30{background-color:var(--lovelace-color-wash-neutral)}._6ivfy31{background-color:var(--lovelace-color-background-default);flex-direction:column;width:100%;height:100%;min-height:0;max-height:100%;display:flex;position:relative;overflow:hidden}._6ivfy31[data-entering],._6ivfy31[data-exiting]{transform:translateY(100%)}._6ivfy32{outline:none;flex-direction:column;flex:auto;min-height:0;max-height:100%;display:flex}@media (prefers-reduced-motion:no-preference){._6ivfy31{transition:transform var(--lovelace-duration-medium) var(--lovelace-easing-standard)}}._1x52ra20{background-color:var(--lovelace-header-background);color:var(--lovelace-header-content);height:56px;padding:0 var(--lovelace-padding-12);align-items:center;gap:var(--lovelace-spacing-8);flex-shrink:0;display:flex;position:relative;overflow:hidden}._1x52ra20 [data-slot=icon]{color:var(--lovelace-header-content)}._1x52ra20 [data-slot=avatar] [data-slot=icon]{color:var(--lovelace-avatar-content)}._1x52ra21{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:var(--lovelace-font-size-title-small);line-height:var(--lovelace-line-height-title-small);font-weight:var(--lovelace-font-weight-medium);flex:1;margin:0;overflow:hidden}._3tx76z0{aspect-ratio:37.5/12}.ptvtw60{max-width:100%;display:block}.ynzg8v0{width:100%;font-family:var(--lovelace-font-family-body);flex-direction:column;display:flex}.ynzg8v3{gap:var(--lovelace-gap-8);flex-wrap:wrap;flex-basis:100%;width:100%;display:flex}.ynzg8v4{align-items:flex-end;gap:var(--lovelace-gap-8);box-sizing:border-box;width:100%;min-height:40px;padding-inline:var(--lovelace-padding-12);padding-block:var(--lovelace-padding-8);border:var(--lovelace-border-width-default) solid var(--lovelace-color-border-default);background-color:var(--lovelace-color-background-default);border-radius:var(--lovelace-border-radius-input);cursor:text;flex-wrap:wrap;display:flex}.ynzg8v4[data-focus-within]{border-color:var(--lovelace-color-border-accent);box-shadow:0 0 0 var(--lovelace-border-width-focus) var(--lovelace-color-border-focus)}.ynzg8v4[data-invalid]{border-color:var(--lovelace-color-border-destructive)}.ynzg8v4[data-disabled]{background-color:var(--lovelace-color-background-disabled);cursor:not-allowed}.ynzg8v6{border-radius:var(--lovelace-border-radius-composer);border:var(--lovelace-border-width-default) solid var(--lovelace-composer-border-default);background-color:var(--lovelace-composer-background)}.ynzg8v6[data-focus-within]{border-color:var(--lovelace-composer-border-active);box-shadow:0 0 0 var(--lovelace-border-width-focus) var(--lovelace-composer-border-focus)}.ynzg8v6[data-invalid]{border-color:var(--lovelace-color-border-destructive)}.ynzg8v7{appearance:none;min-width:0;font-family:var(--lovelace-font-family-body);font-weight:var(--lovelace-font-weight-regular);font-size:var(--lovelace-font-size-body);line-height:var(--lovelace-line-height-body);color:var(--lovelace-color-content-default);background-color:#0000;border:none;outline:none;flex:1;margin:0;padding:0}.ynzg8v7::placeholder{color:var(--lovelace-color-content-secondary);opacity:1}.ynzg8v7[data-disabled]{color:var(--lovelace-color-content-disabled);cursor:not-allowed}.ynzg8v7[data-disabled]::placeholder{color:var(--lovelace-color-content-disabled)}.ynzg8v8{box-sizing:border-box;resize:none;overflow-wrap:anywhere;word-break:break-word;scrollbar-width:thin;scrollbar-color:var(--lovelace-color-border-default) transparent;width:100%;display:block;overflow-y:auto}.ynzg8v9{isolation:isolate;border-radius:var(--lovelace-border-radius-full);background-color:var(--lovelace-button-primary-background);width:22px;height:22px;color:var(--lovelace-button-primary-content);cursor:pointer;appearance:none;border:none;outline:none;flex-shrink:0;justify-content:center;align-items:center;padding:0;display:inline-flex;position:relative;overflow:hidden}.ynzg8v9:after{content:"";border-radius:inherit;opacity:0;pointer-events:none;z-index:-1;background-color:currentColor;position:absolute;inset:0}.ynzg8v9[data-hovered]:not([data-disabled]):after{opacity:var(--lovelace-opacity-state-hover)}.ynzg8v9[data-focus-visible]:not([data-disabled]):after{opacity:var(--lovelace-opacity-state-focus)}.ynzg8v9[data-pressed]:not([data-disabled]):after{opacity:var(--lovelace-opacity-state-pressed)}.ynzg8v9[data-focus-visible]:not([data-disabled]){box-shadow:0 0 0 var(--lovelace-border-width-focus) var(--lovelace-color-border-focus)}.ynzg8v9[data-disabled]{cursor:not-allowed;background-color:var(--lovelace-color-background-disabled);color:var(--lovelace-color-content-disabled)}.ynzg8va{font-family:var(--lovelace-font-family-body);font-weight:var(--lovelace-font-weight-regular);font-size:var(--lovelace-font-size-body);line-height:var(--lovelace-line-height-body);margin-bottom:var(--lovelace-gap-8);color:var(--lovelace-color-content-default)}.ynzg8vb{margin-top:var(--lovelace-gap-4);font-family:var(--lovelace-font-family-body);font-weight:var(--lovelace-font-weight-regular);font-size:var(--lovelace-font-size-caption);line-height:var(--lovelace-line-height-caption);color:var(--lovelace-color-content-secondary)}.ynzg8vb[data-invalid]{color:var(--lovelace-color-content-destructive)}.ynzg8v1 [data-slot=icon],.ynzg8v9 [data-slot=icon]{font-size:var(--lovelace-icon-size-control);flex-shrink:0}.ynzg8v1>[data-slot=icon]{color:var(--lovelace-color-content-secondary)}.ynzg8v1[data-disabled]>[data-slot=icon]{color:var(--lovelace-color-content-disabled)}.ynzg8v2 .ynzg8v7{color:var(--lovelace-composer-content-default)}.ynzg8v2 .ynzg8v7::placeholder,.ynzg8v2>[data-slot=icon]{color:var(--lovelace-composer-content-secondary)}.ynzg8v2 .ynzg8v7[data-disabled],.ynzg8v2 .ynzg8v7[data-disabled]::placeholder{color:var(--lovelace-color-content-disabled)}@media (prefers-reduced-motion:no-preference){.ynzg8v4{transition-property:border-color,box-shadow;transition-duration:var(--lovelace-duration-fast);transition-timing-function:var(--lovelace-easing-standard)}.ynzg8v9:after{transition:opacity var(--lovelace-duration-fast) var(--lovelace-easing-standard)}}@media (forced-colors:active){.ynzg8v4[data-focus-within],.ynzg8v9[data-focus-visible]:not([data-disabled]){outline-offset:2px;outline:2px solid highlight}}.k107bi1{isolation:isolate;align-items:center;gap:var(--lovelace-gap-4);color:var(--lovelace-color-content-link);font-family:var(--lovelace-font-family-body);font-weight:var(--lovelace-font-weight-regular);font-size:var(--lovelace-font-size-body);line-height:var(--lovelace-line-height-body);word-break:break-word;cursor:pointer;border-radius:var(--lovelace-border-radius-6);outline:none;text-decoration:none;display:inline-flex;position:relative}.k107bi1:after{content:"";inset-block:0;inset-inline:calc(-1 * var(--lovelace-padding-4));border-radius:inherit;opacity:0;pointer-events:none;z-index:-1;transition:opacity var(--lovelace-duration-fast) var(--lovelace-easing-standard);background-color:currentColor;position:absolute}.k107bi1:not([data-icon]){text-decoration:underline}.k107bi1[data-hovered]:not([data-disabled]):after{opacity:var(--lovelace-opacity-state-hover)}.k107bi1[data-focus-visible]:not([data-disabled]):after{opacity:var(--lovelace-opacity-state-focus)}.k107bi1[data-pressed]:not([data-disabled]):after{opacity:var(--lovelace-opacity-state-pressed)}.k107bi1[data-focus-visible]:not([data-disabled]){box-shadow:0 0 0 var(--lovelace-border-width-focus) var(--lovelace-color-border-focus)}.k107bi1[data-disabled]{cursor:not-allowed;color:var(--lovelace-color-content-disabled)}.k107bi2{text-decoration:underline}.k107bi0 [data-slot=icon]{font-size:var(--lovelace-icon-size-control);flex-shrink:0}[dir=rtl] .k107bi0:not([data-download]) [data-slot=icon]{transform:scaleX(-1)}@media (forced-colors:active){.k107bi1[data-focus-visible]:not([data-disabled]){outline-offset:2px;outline:2px solid highlight}}.fa1x5n0{outline:none;flex-direction:column;display:flex}.fa1x5n1{isolation:isolate;box-sizing:border-box;align-items:center;gap:var(--lovelace-gap-12);min-height:40px;padding-inline:var(--lovelace-padding-8);padding-block:var(--lovelace-padding-4);border-radius:var(--lovelace-border-radius-button);border:var(--lovelace-border-width-default) solid transparent;background-color:var(--lovelace-color-background-default);color:var(--lovelace-color-content-default);font-family:var(--lovelace-font-family-body);font-size:var(--lovelace-font-size-body);font-weight:var(--lovelace-font-weight-regular);line-height:var(--lovelace-line-height-body);text-align:start;cursor:pointer;-webkit-user-select:none;user-select:none;transition-property:background-color,border-color;transition-duration:var(--lovelace-duration-fast);transition-timing-function:var(--lovelace-easing-standard);outline:none;display:flex;position:relative}.fa1x5n1:after{content:"";border-radius:inherit;opacity:0;pointer-events:none;z-index:-1;transition:opacity var(--lovelace-duration-fast) var(--lovelace-easing-standard);background-color:currentColor;position:absolute;inset:0}.fa1x5n1[data-hovered]:not([data-disabled]):after{opacity:var(--lovelace-opacity-state-hover)}.fa1x5n1[data-focus-visible]:not([data-disabled]):after{opacity:var(--lovelace-opacity-state-focus)}.fa1x5n1[data-pressed]:not([data-disabled]):after{opacity:var(--lovelace-opacity-state-pressed)}.fa1x5n1[data-focus-visible]:not([data-disabled]){border-color:var(--lovelace-color-border-accent);box-shadow:0 0 0 var(--lovelace-border-width-focus) var(--lovelace-color-border-focus)}.fa1x5n1[data-disabled]{cursor:not-allowed;color:var(--lovelace-color-content-disabled)}.fa1x5n1>[data-slot=icon]{font-size:var(--lovelace-icon-size-lg);flex-shrink:0}.fa1x5n1>[data-slot=label]{text-align:start;overflow-wrap:anywhere;flex:1;min-width:0}@media (forced-colors:active){.fa1x5n1[data-focus-visible]:not([data-disabled]){outline-offset:2px;outline:2px solid highlight}}.mufew31{gap:var(--lovelace-gap-20);flex-direction:column;display:flex}.mufew31[data-orientation=horizontal]{flex-direction:row}.mufew32{cursor:pointer;-webkit-user-select:none;user-select:none}.mufew32[data-disabled]{cursor:not-allowed}.mufew33{align-items:center;gap:var(--lovelace-gap-12);display:inline-flex}.mufew34{isolation:isolate;box-sizing:border-box;align-items:center;gap:var(--lovelace-gap-12);min-height:40px;padding-inline:var(--lovelace-padding-8);padding-block:var(--lovelace-padding-4);border-radius:var(--lovelace-border-radius-button);border:var(--lovelace-border-width-default) solid transparent;background-color:var(--lovelace-color-background-default);color:var(--lovelace-color-content-default);font-family:var(--lovelace-font-family-body);font-size:var(--lovelace-font-size-body);font-weight:var(--lovelace-font-weight-regular);line-height:var(--lovelace-line-height-body);text-align:start;cursor:pointer;-webkit-user-select:none;user-select:none;transition-property:background-color,border-color;transition-duration:var(--lovelace-duration-fast);transition-timing-function:var(--lovelace-easing-standard);outline:none;display:flex;position:relative}.mufew34:after{content:"";border-radius:inherit;opacity:0;pointer-events:none;z-index:-1;transition:opacity var(--lovelace-duration-fast) var(--lovelace-easing-standard);background-color:currentColor;position:absolute;inset:0}.mufew34[data-hovered]:not([data-disabled]):after{opacity:var(--lovelace-opacity-state-hover)}.mufew34[data-focus-visible]:not([data-disabled]):after{opacity:var(--lovelace-opacity-state-focus)}.mufew34[data-pressed]:not([data-disabled]):after{opacity:var(--lovelace-opacity-state-pressed)}.mufew34[data-focus-visible]:not([data-disabled]){border-color:var(--lovelace-color-border-accent);box-shadow:0 0 0 var(--lovelace-border-width-focus) var(--lovelace-color-border-focus)}.mufew34[data-disabled]{cursor:not-allowed;color:var(--lovelace-color-content-disabled)}.mufew30>[data-slot=icon]{font-size:var(--lovelace-icon-size-lg);flex-shrink:0}.mufew30>[data-slot=label]{text-align:start;overflow-wrap:anywhere;flex:1;min-width:0}.mufew35{box-sizing:border-box;border-radius:var(--lovelace-border-radius-full);border-style:solid;border-width:var(--lovelace-border-width-default);background-color:var(--lovelace-color-background-default);border-color:var(--lovelace-color-border-default);width:24px;height:24px;transition-property:background-color,border-color,box-shadow;transition-duration:var(--lovelace-duration-fast);transition-timing-function:var(--lovelace-easing-standard);flex-shrink:0;position:relative}[data-hovered]:not([data-selected]):not([data-disabled])>.mufew35[data-state-layer]{border-color:var(--lovelace-color-border-medium)}[data-selected]>.mufew35{background-color:var(--lovelace-color-background-inverse);border-color:var(--lovelace-color-background-inverse)}[data-focus-visible]:not([data-disabled])>.mufew35[data-state-layer]{box-shadow:0 0 0 var(--lovelace-border-width-focus) var(--lovelace-color-border-focus)}[data-focus-visible]:not([data-selected]):not([data-disabled])>.mufew35[data-state-layer]{border-color:var(--lovelace-color-border-accent)}[data-disabled]:not([data-selected])>.mufew35{background-color:var(--lovelace-color-background-tertiary);border-color:var(--lovelace-color-border-default)}[data-disabled][data-selected]>.mufew35{background-color:var(--lovelace-color-background-disabled);border-color:var(--lovelace-color-background-disabled)}.mufew36{border-radius:var(--lovelace-border-radius-full);pointer-events:none;background-color:#0000;position:absolute;inset:5px}[data-selected]>.mufew35>.mufew36{background-color:var(--lovelace-color-background-default)}[data-selected][data-disabled]>.mufew35>.mufew36{background-color:var(--lovelace-color-background-tertiary)}.mufew37{font-family:var(--lovelace-font-family-body);font-size:var(--lovelace-font-size-body);font-weight:var(--lovelace-font-weight-regular);line-height:var(--lovelace-line-height-body);color:var(--lovelace-color-content-default)}[data-disabled]>.mufew37{color:var(--lovelace-color-content-disabled)}@media (forced-colors:active){.mufew34[data-focus-visible]:not([data-disabled]),[data-focus-visible]:not([data-disabled])>.mufew35[data-state-layer]{outline-offset:2px;outline:2px solid highlight}[data-selected]>.mufew35>.mufew36{background-color:canvastext}}._1s0itzy0{cursor:pointer;outline:none;flex-shrink:0;display:inline-flex}._1s0itzy0[data-disabled]{cursor:not-allowed}._1s0itzy1{isolation:isolate;box-sizing:border-box;border-radius:var(--lovelace-border-radius-full);background-color:var(--lovelace-color-background-quaternary);width:44px;height:24px;color:var(--lovelace-color-content-inverse);flex-shrink:0;display:inline-block;position:relative;box-shadow:0 1px 1px #00000014}._1s0itzy1:after{content:"";border-radius:inherit;opacity:0;pointer-events:none;z-index:-1;background-color:currentColor;position:absolute;inset:0}[data-selected]>._1s0itzy1{background-color:var(--lovelace-color-background-success);box-shadow:none}[data-hovered]:not([data-disabled])>._1s0itzy1[data-state-layer]:after{opacity:var(--lovelace-opacity-state-hover)}[data-focus-visible]:not([data-disabled])>._1s0itzy1[data-state-layer]:after{opacity:var(--lovelace-opacity-state-focus)}[data-pressed]:not([data-disabled])>._1s0itzy1[data-state-layer]:after{opacity:var(--lovelace-opacity-state-pressed)}[data-focus-visible]:not([data-disabled])>._1s0itzy1[data-state-layer]{box-shadow:0 0 0 var(--lovelace-border-width-focus) var(--lovelace-color-border-focus)}[data-disabled]>._1s0itzy1{background-color:var(--lovelace-color-background-disabled);box-shadow:none}[data-disabled][data-selected]>._1s0itzy1{background-color:var(--lovelace-color-background-success)}[data-disabled][data-selected]>._1s0itzy1:after{opacity:.3}._1s0itzy2{border-radius:var(--lovelace-border-radius-full);background-color:var(--lovelace-color-background-default);pointer-events:none;width:22px;height:22px;position:absolute;inset-block-start:1px;inset-inline-start:1px;box-shadow:0 1px 2px #00000014}[data-selected]>._1s0itzy1>._1s0itzy2{inset-inline-start:calc(100% - 23px)}@media (prefers-reduced-motion:no-preference){._1s0itzy1{transition-property:background-color,box-shadow;transition-duration:var(--lovelace-duration-fast);transition-timing-function:var(--lovelace-easing-standard)}._1s0itzy1:after{transition:opacity var(--lovelace-duration-fast) var(--lovelace-easing-standard)}._1s0itzy2{transition:inset-inline-start var(--lovelace-duration-fast) var(--lovelace-easing-standard)}}@media (forced-colors:active){[data-focus-visible]:not([data-disabled])>._1s0itzy1[data-state-layer]{outline-offset:2px;outline:2px solid highlight}}._1pxs3ha0{display:flex}._1pxs3ha1{min-height:var(--lovelace-icon-size-lg);align-items:center;gap:var(--lovelace-gap-4);color:var(--lovelace-color-content-destructive);margin:0;display:inline-flex}._1pxs3ha2{border-radius:var(--lovelace-border-radius-6);cursor:pointer;background:0 0;border:none;outline:none;padding:0}._1pxs3ha2[data-focus-visible]{box-shadow:0 0 0 var(--lovelace-border-width-focus) var(--lovelace-color-border-focus)}._1pxs3ha3{clip:rect(0, 0, 0, 0);white-space:nowrap;-webkit-user-select:none;user-select:none;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}._1pxs3ha4{color:inherit;font-family:var(--lovelace-font-family-body);font-weight:var(--lovelace-font-weight-regular);font-size:var(--lovelace-font-size-caption);line-height:var(--lovelace-line-height-caption);margin:0}._1pxs3ha1 [data-slot=icon]{font-size:var(--lovelace-icon-size-lg)}@media (forced-colors:active){._1pxs3ha2[data-focus-visible]{outline-offset:2px;outline:2px solid highlight}}._16xwgyj0{align-items:flex-start;gap:var(--lovelace-gap-12);display:flex}._16xwgyj1{justify-content:flex-start}._16xwgyj2{justify-content:flex-end}._16xwgyj3{min-width:0;font-family:var(--lovelace-font-family-body);font-size:var(--lovelace-message-content-font-size-body);line-height:var(--lovelace-message-content-line-height-body);color:var(--lovelace-message-content-default);overflow-wrap:anywhere;word-break:break-word;flex-direction:column;display:flex}._16xwgyj4{align-items:flex-end}._16xwgyj5{align-items:stretch}._16xwgyj6{flex:1 1 0;max-width:100%}._16xwgyj7{flex:0 auto}._16xwgyj8{max-width:80%}._16xwgyj9{max-width:90%}._14rcj9q1{box-sizing:border-box;border-radius:var(--lovelace-border-radius-media-preview);border:var(--lovelace-border-width-default) solid var(--lovelace-color-border-default);justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}._14rcj9q2{aspect-ratio:16/9}._14rcj9q3{aspect-ratio:4/3}._14rcj9q4{aspect-ratio:1}._14rcj9q5{aspect-ratio:3/4}._14rcj9q6{aspect-ratio:9/16}._14rcj9q7{background-color:var(--lovelace-color-background-disabled);color:var(--lovelace-color-content-disabled)}._14rcj9q9{object-fit:cover;width:100%;height:100%;display:block}._14rcj9q0 [data-slot=icon]{font-size:var(--lovelace-icon-size-lg)}.rygqx10{isolation:isolate;justify-content:center;align-items:center;gap:var(--lovelace-gap-8);padding-inline:var(--lovelace-padding-12);box-sizing:border-box;border:var(--lovelace-border-width-default) solid var(--lovelace-color-border-default);border-radius:var(--lovelace-border-radius-pill);background-color:var(--lovelace-color-background-default);color:var(--lovelace-pill-content-primary);font-family:var(--lovelace-font-family-body);font-weight:var(--lovelace-font-weight-medium);font-size:var(--lovelace-font-size-body);line-height:var(--lovelace-line-height-body);white-space:nowrap;cursor:pointer;-webkit-user-select:none;user-select:none;appearance:none;transition-property:background-color,border-color;transition-duration:var(--lovelace-duration-fast);transition-timing-function:var(--lovelace-easing-standard);outline:none;text-decoration:none;display:inline-flex;position:relative}.rygqx10:after{content:"";border-radius:inherit;opacity:0;pointer-events:none;z-index:-1;transition:opacity var(--lovelace-duration-fast) var(--lovelace-easing-standard);background-color:currentColor;position:absolute;inset:0}.rygqx10[data-hovered]:not([data-disabled]):after{opacity:var(--lovelace-opacity-state-hover)}.rygqx10[data-focus-visible]:not([data-disabled]):after{opacity:var(--lovelace-opacity-state-focus)}.rygqx10[data-pressed]:not([data-disabled]):after{opacity:var(--lovelace-opacity-state-pressed)}.rygqx10[data-focus-visible]:not([data-disabled]){border-color:var(--lovelace-color-border-accent);box-shadow:0 0 0 var(--lovelace-border-width-focus) var(--lovelace-color-border-focus)}.rygqx10[data-disabled]{cursor:not-allowed;color:var(--lovelace-color-content-disabled)}.rygqx11{height:40px}.rygqx12{height:32px}[data-slot=pill-button] [data-slot=icon]{font-size:var(--lovelace-icon-size-control);flex-shrink:0}@media (forced-colors:active){.rygqx10[data-focus-visible]:not([data-disabled]){outline-offset:2px;outline:2px solid highlight}}.y22qey0{box-sizing:border-box;width:fit-content;min-height:48px;padding-block:var(--lovelace-padding-8);padding-inline:var(--lovelace-padding-16);border-radius:var(--lovelace-border-radius-message);background-color:var(--lovelace-color-background-default);border:var(--lovelace-border-width-default) solid var(--lovelace-color-border-default);color:var(--lovelace-color-content-default);font-family:var(--lovelace-font-family-body);font-weight:var(--lovelace-font-weight-regular);font-size:var(--lovelace-font-size-body);line-height:var(--lovelace-line-height-body);text-align:start;overflow-wrap:anywhere;flex-direction:column;justify-content:center;align-items:flex-start;display:flex;box-shadow:0 8px 24px #00000014}[data-theme=dark] .y22qey0{box-shadow:0 8px 24px #ffffff14}._19x8abf1{isolation:isolate;box-sizing:border-box;border-radius:var(--lovelace-border-radius-full);font-family:var(--lovelace-font-family-body);font-weight:var(--lovelace-font-weight-medium);font-size:var(--lovelace-font-size-body);line-height:var(--lovelace-line-height-body);white-space:nowrap;cursor:pointer;-webkit-user-select:none;user-select:none;appearance:none;transition-property:background-color,box-shadow;transition-duration:var(--lovelace-duration-fast);transition-timing-function:var(--lovelace-easing-standard);border:none;outline:none;justify-content:center;align-items:center;display:inline-flex;position:relative;box-shadow:0 4px 14px #0000000f}._19x8abf1:after{content:"";border-radius:inherit;opacity:0;pointer-events:none;z-index:-1;transition:opacity var(--lovelace-duration-fast) var(--lovelace-easing-standard);background-color:currentColor;position:absolute;inset:0}._19x8abf1[data-hovered]:not([data-disabled]):after{opacity:var(--lovelace-opacity-state-hover)}._19x8abf1[data-focus-visible]:not([data-disabled]):after{opacity:var(--lovelace-opacity-state-focus)}._19x8abf1[data-pressed]:not([data-disabled]):after{opacity:var(--lovelace-opacity-state-pressed)}._19x8abf1[data-focus-visible]:not([data-disabled]){box-shadow:0 4px 14px 0 #0000000f, 0 0 0 var(--lovelace-border-width-focus) var(--lovelace-color-border-focus)}._19x8abf2{background-color:var(--lovelace-scrollmarker-background);color:var(--lovelace-scrollmarker-content)}._19x8abf3{background-color:var(--lovelace-color-background-accent);color:var(--lovelace-color-content-on-accent)}._19x8abf4{width:40px;height:40px;padding:0}._19x8abf5{height:38px;padding-inline:var(--lovelace-padding-12);gap:var(--lovelace-gap-8)}._19x8abf0 [data-slot=icon]{font-size:var(--lovelace-icon-size-control);flex-shrink:0}@media (forced-colors:active){._19x8abf1[data-focus-visible]:not([data-disabled]){outline-offset:2px;outline:2px solid highlight}}.mf01c90{box-sizing:border-box;background-color:var(--lovelace-color-background-default);width:100%;min-height:0;max-height:100%;color:var(--lovelace-color-content-default);font-family:var(--lovelace-font-family-body);font-size:var(--lovelace-font-size-body);line-height:var(--lovelace-line-height-body);flex-direction:column;flex:0 auto;display:flex;overflow-y:auto}.mf01c91{height:56px;padding-inline:var(--lovelace-padding-12);box-sizing:border-box;flex-shrink:0;justify-content:center;align-items:center;display:flex;position:relative}.mf01c92{color:var(--lovelace-color-content-default);font-family:var(--lovelace-font-family-body);font-weight:var(--lovelace-font-weight-medium);font-size:var(--lovelace-font-size-body);line-height:var(--lovelace-line-height-body);text-align:center;margin:0}.mf01c93{inset-inline-start:var(--lovelace-padding-12);align-items:center;display:flex;position:absolute;top:0;bottom:0}.mf01c94{inset-inline-end:var(--lovelace-padding-12);align-items:center;display:flex;position:absolute;top:0;bottom:0}[dir=rtl] .mf01c95{transform:scaleX(-1)}.mf01c96{min-height:var(--lovelace-spacing-48);padding:var(--lovelace-padding-12);box-sizing:border-box;scrollbar-width:thin;scrollbar-color:var(--lovelace-color-border-default) transparent;flex:0 auto;overflow-y:auto}.mf01c97{align-items:stretch;gap:var(--lovelace-gap-12);padding:var(--lovelace-padding-12);box-sizing:border-box;flex-direction:column;flex-shrink:0;display:flex}._1hi4ecs0{background-color:var(--lovelace-color-wash-neutral);justify-content:flex-end;align-items:center}._1hi4ecs1{background-color:var(--lovelace-color-background-default);border-start-start-radius:var(--lovelace-border-radius-container);border-start-end-radius:var(--lovelace-border-radius-container);flex-direction:column;width:100%;min-height:0;max-height:80%;display:flex;position:relative;overflow:hidden;box-shadow:0 12px 24px 4px #0000001f}._1hi4ecs1[data-entering],._1hi4ecs1[data-exiting]{transform:translateY(100%)}._1hi4ecs2{outline:none;flex-direction:column;flex:auto;min-height:0;max-height:100%;display:flex}@media (prefers-reduced-motion:no-preference){._1hi4ecs1{transition:transform var(--lovelace-duration-medium) var(--lovelace-easing-standard)}}@keyframes _2rqyvg0{to{transform:rotate(360deg)}}._2rqyvg1{box-sizing:border-box;border-style:solid;border-color:var(--lovelace-color-wash-neutral);border-radius:50%;animation:.8s linear infinite _2rqyvg0;display:inline-block}._2rqyvg1[data-reduced-motion]{animation-duration:2.4s}._2rqyvg2{border-width:2px;width:16px;height:16px}._2rqyvg3{border-width:3px;width:32px;height:32px}._2rqyvg4{border-top-color:var(--lovelace-color-content-default)}._2rqyvg5{border-top-color:var(--lovelace-color-content-on-accent)}@media (prefers-reduced-motion:reduce){._2rqyvg1{animation-duration:2.4s}}.jzxfg70{gap:var(--lovelace-gap-8);flex-direction:column;width:fit-content;display:flex}.jzxfg71{justify-content:center;align-items:center;gap:var(--lovelace-gap-8);flex-wrap:wrap;width:100%;display:flex}.jzxfg72{width:100%;font-family:var(--lovelace-font-family-body);font-weight:var(--lovelace-font-weight-regular);font-size:var(--lovelace-font-size-caption);line-height:var(--lovelace-line-height-caption);color:var(--lovelace-color-content-secondary);justify-content:space-between;display:flex}._1y87qec0{justify-content:center;align-items:center;gap:var(--lovelace-gap-8);flex-wrap:wrap;width:100%;display:flex}@keyframes _9az62f0{0%{background-position-x:200%}to{background-position-x:0%}}@keyframes _9az62f1{0%,80%,to{vertical-align:0}40%{vertical-align:.3em}}._9az62f2{font-family:var(--lovelace-font-family-body);font-weight:var(--lovelace-font-weight-medium);font-size:var(--lovelace-font-size-body);line-height:var(--lovelace-line-height-body);white-space:nowrap;background-image:linear-gradient(90deg, var(--lovelace-color-content-secondary) 0%, var(--lovelace-color-content-secondary) 35%, var(--lovelace-color-content-default) 50%, var(--lovelace-color-content-secondary) 65%, var(--lovelace-color-content-secondary) 100%);color:#0000;-webkit-text-fill-color:transparent;background-repeat:repeat;background-size:200% 100%;-webkit-background-clip:text;background-clip:text;animation:2s linear infinite _9az62f0;display:inline-block}._9az62f3{clip:rect(0, 0, 0, 0);white-space:nowrap;-webkit-user-select:none;user-select:none;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}._9az62f4{display:inline}._9az62f5{line-height:0;animation:1.4s ease-in-out infinite _9az62f1;display:inline}._9az62f5:nth-child(2){animation-delay:.16s}._9az62f5:nth-child(3){animation-delay:.32s}@media (prefers-reduced-motion:reduce){._9az62f2{color:var(--lovelace-color-content-secondary);-webkit-text-fill-color:var(--lovelace-color-content-secondary);background-image:none;animation:none}._9az62f5{animation:none}}.kycjg90{outline:none;flex-direction:column;display:flex;position:relative}.kycjg91{z-index:1;outline:none;position:relative}.kycjg91[data-entering],.kycjg91[data-exiting]{transform:translateY(-100%)}.kycjg91[data-replacing][data-dropped]{z-index:0;position:absolute;top:0;left:0;right:0}.kycjg91[data-focus-visible]{box-shadow:inset 0 0 0 var(--lovelace-border-width-focus) var(--lovelace-color-border-focus)}@media (prefers-reduced-motion:no-preference){.kycjg91{transition:transform var(--lovelace-duration-medium) var(--lovelace-easing-standard)}}@media (forced-colors:active){.kycjg91[data-focus-visible]{outline-offset:-2px;outline:2px solid highlight}}.s6807p0{box-sizing:border-box;max-width:184px;padding:var(--lovelace-spacing-8);border-radius:var(--lovelace-border-radius-6);background-color:var(--lovelace-color-background-inverse);color:var(--lovelace-color-content-inverse);font-family:var(--lovelace-font-family-body);font-weight:var(--lovelace-font-weight-regular);font-size:var(--lovelace-font-size-caption);line-height:var(--lovelace-line-height-caption);text-align:center;word-break:break-word;filter:drop-shadow(0 4px 14px #0000000f)}.s6807p0[data-entering],.s6807p0[data-exiting]{opacity:0}.s6807p1{display:block}.s6807p2{fill:var(--lovelace-color-background-inverse);display:block}.s6807p0[data-placement^=top] .s6807p2{transform:rotate(0)}.s6807p0[data-placement^=bottom] .s6807p2{transform:rotate(180deg)}.s6807p0[data-placement^=left] .s6807p2{transform:rotate(-90deg)}.s6807p0[data-placement^=right] .s6807p2{transform:rotate(90deg)}@media (prefers-reduced-motion:no-preference){.s6807p0{transition:opacity var(--lovelace-duration-fast) var(--lovelace-easing-standard)}}@keyframes bwq5ac0{0%,60%,to{transform:translateY(0)}30%{transform:translateY(-4px)}}.bwq5ac1{align-items:center;gap:var(--lovelace-gap-4);height:38px;padding-inline:var(--lovelace-padding-20);background-color:var(--lovelace-color-background-quaternary);border-start-start-radius:var(--lovelace-border-radius-20);border-start-end-radius:var(--lovelace-border-radius-20);border-end-end-radius:var(--lovelace-border-radius-20);border-end-start-radius:0;display:inline-flex}.bwq5ac2{clip:rect(0, 0, 0, 0);white-space:nowrap;-webkit-user-select:none;user-select:none;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.bwq5ac3{width:var(--lovelace-spacing-8);height:var(--lovelace-spacing-8);border-radius:var(--lovelace-border-radius-full);background-color:var(--lovelace-color-content-default);flex-shrink:0;animation:.9s ease-in-out infinite bwq5ac0}.bwq5ac3:nth-child(2){animation-delay:.15s}.bwq5ac3:nth-child(3){animation-delay:.3s}@media (prefers-reduced-motion:reduce){.bwq5ac3{animation:none}}.jxp4or0{box-sizing:border-box;width:fit-content;max-width:100%;padding-inline:var(--lovelace-padding-12);padding-block:var(--lovelace-padding-8);border-radius:var(--lovelace-border-radius-message);background-color:var(--lovelace-message-user-background);align-items:center;display:flex}.jxp4or1{--lovelace-message-content-default:var(--lovelace-message-user-content);--lovelace-message-content-link:var(--lovelace-message-user-content)}.v51xfr0{box-sizing:border-box;border-radius:var(--lovelace-border-radius-media-preview);justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.v51xfr1{aspect-ratio:16/9}.v51xfr2{aspect-ratio:4/3}.v51xfr3{aspect-ratio:1}.v51xfr4{aspect-ratio:3/4}.v51xfr5{aspect-ratio:9/16}.v51xfr6{background-color:var(--lovelace-color-background-disabled);color:var(--lovelace-color-content-disabled);border:var(--lovelace-border-width-default) solid var(--lovelace-color-border-default)}.v51xfr8{border-radius:inherit;background-color:var(--lovelace-color-wash-neutral);position:absolute;inset:0;overflow:hidden}.v51xfr9{font-size:var(--lovelace-icon-size-lg)}
1
+ ._1xn6t060{text-align:start;flex-direction:column;justify-content:center;min-width:0;min-height:24px;display:flex}.slrdvx0{color:var(--lovelace-message-content-default);font-family:var(--lovelace-font-family-body);font-weight:var(--lovelace-font-weight-regular);font-size:var(--lovelace-message-content-font-size-body);line-height:var(--lovelace-message-content-line-height-body);overflow-wrap:anywhere;word-break:break-word}.slrdvx0 :is(p,ul,ol,h1,h2,h3,h4,h5,h6,pre,blockquote,table,hr){margin:0}.slrdvx0 :is(ul,ol){margin:var(--lovelace-gap-4) 0;padding-inline-start:var(--lovelace-padding-16)}.slrdvx0 p+p{margin-top:var(--lovelace-gap-16)}:where(.slrdvx0) a{color:var(--lovelace-message-content-link);text-decoration:underline}:where(.slrdvx0) strong{font-weight:var(--lovelace-font-weight-semi-bold)}._1chqu661{box-sizing:border-box;align-items:center;gap:var(--lovelace-gap-8);min-width:0;padding:var(--lovelace-padding-8);border-radius:var(--lovelace-border-radius-6);background-color:var(--lovelace-color-background-quaternary);color:var(--lovelace-color-content-default);font-family:var(--lovelace-font-family-body);font-size:var(--lovelace-font-size-body);font-weight:var(--lovelace-font-weight-regular);line-height:var(--lovelace-line-height-body);text-align:start;appearance:none;box-shadow:0 var(--lovelace-elevation-2-offset-y) var(--lovelace-elevation-2-blur) var(--lovelace-elevation-2-spread) var(--lovelace-elevation-2-color);border:0;display:flex;overflow:hidden}._1chqu662{isolation:isolate;cursor:pointer;outline:none;height:36px;position:relative}._1chqu662:after{content:"";border-radius:inherit;opacity:0;pointer-events:none;z-index:-1;transition:opacity var(--lovelace-duration-fast) var(--lovelace-easing-standard);background-color:currentColor;position:absolute;inset:0}._1chqu662[data-hovered]:after{opacity:var(--lovelace-opacity-state-hover)}._1chqu662[data-focus-visible]:after{opacity:var(--lovelace-opacity-state-focus)}._1chqu662[data-pressed]:after{opacity:var(--lovelace-opacity-state-pressed)}._1chqu662[data-focus-visible]{outline:2px solid var(--lovelace-color-border-focus);outline-offset:2px}._1chqu663{max-width:148px;height:40px}._1chqu664{border-radius:var(--lovelace-border-radius-6);flex-shrink:0;justify-content:center;align-items:center;width:24px;height:24px;display:inline-flex;overflow:hidden}._1chqu664 [data-slot=icon]{font-size:var(--lovelace-icon-size-control)}._1chqu665{object-fit:cover;width:100%;height:100%}._1chqu666{text-overflow:ellipsis;white-space:nowrap;word-break:break-word;min-width:0;overflow:hidden}@media (forced-colors:active){._1chqu662[data-focus-visible]{outline-offset:2px;outline:2px solid highlight}}.kmbju21{isolation:isolate;box-sizing:border-box;border-radius:var(--lovelace-border-radius-avatar);background-color:var(--lovelace-avatar-background);color:var(--lovelace-avatar-content);font-family:var(--lovelace-font-family-body);font-weight:var(--lovelace-font-weight-semi-bold);text-align:center;-webkit-user-select:none;user-select:none;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex;position:relative;overflow:hidden}.kmbju22{width:24px;height:24px;font-size:var(--lovelace-font-size-body);line-height:var(--lovelace-line-height-body)}.kmbju23{width:36px;height:36px;font-size:var(--lovelace-font-size-body);line-height:var(--lovelace-line-height-body)}.kmbju24{width:48px;height:48px;font-size:var(--lovelace-font-size-body);line-height:var(--lovelace-line-height-body)}.kmbju25{width:72px;height:72px;font-size:var(--lovelace-font-size-title-large);line-height:var(--lovelace-line-height-title-large)}.kmbju26{flex-shrink:0}.kmbju27{width:24px;height:24px}.kmbju28{width:36px;height:36px}.kmbju29{width:48px;height:48px}.kmbju2a{width:72px;height:72px}.kmbju20 [data-slot=image]{object-fit:cover;border-radius:inherit;width:100%;height:100%;position:absolute;inset:0}.kmbju20 [data-slot=icon]{flex-shrink:0}.kmbju20[data-size=sm] [data-slot=icon]{font-size:var(--lovelace-icon-size-sm)}.kmbju20[data-size=md] [data-slot=icon]{font-size:var(--lovelace-icon-size-md)}.kmbju20[data-size=lg] [data-slot=icon]{font-size:32px}.kmbju20[data-size=xl] [data-slot=icon]{font-size:36px}.fpbgjm0{align-items:flex-end;display:flex;position:relative;overflow:hidden}.fpbgjm0[data-exiting]{transform:translateY(-100%)}.fpbgjm0[data-swapping]{opacity:0}@media (prefers-reduced-motion:no-preference){.fpbgjm0{transition:transform var(--lovelace-duration-medium) var(--lovelace-easing-standard), height var(--lovelace-duration-medium) var(--lovelace-easing-standard), opacity var(--lovelace-duration-fast) var(--lovelace-easing-standard)}}._1lzdalt0{aspect-ratio:1;color:currentColor;flex-shrink:0;justify-content:center;align-items:center;width:auto;height:1em;line-height:0;display:inline-flex}._1nvcxt20{isolation:isolate;box-sizing:border-box;border:var(--lovelace-border-width-default) solid transparent;border-radius:var(--lovelace-border-radius-button);font-size:var(--lovelace-icon-size-control);cursor:pointer;-webkit-user-select:none;user-select:none;appearance:none;transition-property:background-color,border-color;transition-duration:var(--lovelace-duration-fast);transition-timing-function:var(--lovelace-easing-standard);outline:none;flex-shrink:0;justify-content:center;align-items:center;padding:0;display:inline-flex;position:relative}._1nvcxt20:after{content:"";border-radius:inherit;opacity:0;pointer-events:none;z-index:-1;transition:opacity var(--lovelace-duration-fast) var(--lovelace-easing-standard);background-color:currentColor;position:absolute;inset:0}._1nvcxt20[data-hovered]:not([data-disabled]):after{opacity:var(--lovelace-opacity-state-hover)}._1nvcxt20[data-focus-visible]:not([data-disabled]):after{opacity:var(--lovelace-opacity-state-focus)}._1nvcxt20[data-pressed]:not([data-disabled]):after{opacity:var(--lovelace-opacity-state-pressed)}._1nvcxt20[data-focus-visible]:not([data-disabled]){box-shadow:0 0 0 var(--lovelace-border-width-focus) var(--lovelace-color-border-focus)}._1nvcxt20[data-disabled]{cursor:not-allowed;color:var(--lovelace-color-content-disabled)}._1nvcxt21{background-color:var(--lovelace-button-primary-background);color:var(--lovelace-button-primary-content)}._1nvcxt21[data-disabled]{background-color:var(--lovelace-color-background-disabled)}._1nvcxt22{background-color:var(--lovelace-color-background-destructive);color:var(--lovelace-color-content-on-destructive)}._1nvcxt22[data-disabled]{background-color:var(--lovelace-color-background-disabled)}._1nvcxt23{background-color:var(--lovelace-color-background-default);color:var(--lovelace-color-content-default);border-color:var(--lovelace-color-border-default)}._1nvcxt24{background-color:var(--lovelace-color-background-default);color:var(--lovelace-color-content-destructive);border-color:var(--lovelace-color-border-destructive)}._1nvcxt25{color:var(--lovelace-color-content-default);background-color:#0000}._1nvcxt26{color:var(--lovelace-color-content-destructive);background-color:#0000}._1nvcxt27{width:40px;height:40px}._1nvcxt28{width:32px;height:32px}._1nvcxt29{width:24px;height:24px}@media (forced-colors:active){._1nvcxt20[data-focus-visible]:not([data-disabled]){outline-offset:2px;outline:2px solid highlight}}.k6tn090{gap:var(--lovelace-gap-8);box-sizing:border-box;width:100%;padding-inline:var(--lovelace-padding-12);padding-block:var(--lovelace-padding-8);font-family:var(--lovelace-font-family-body);font-weight:var(--lovelace-font-weight-medium);font-size:var(--lovelace-font-size-body);line-height:var(--lovelace-line-height-body);text-align:center;overflow-wrap:break-word;align-items:flex-start;display:flex}.k6tn092{background-color:var(--lovelace-color-background-success-light);color:var(--lovelace-color-content-success)}.k6tn093{background-color:var(--lovelace-color-background-warning-light);color:var(--lovelace-color-content-warning)}.k6tn094{background-color:var(--lovelace-color-background-destructive-light);color:var(--lovelace-color-content-destructive)}.k6tn095{min-width:0;margin-inline-end:auto}.k6tn090>[data-slot=icon]{font-size:var(--lovelace-icon-size-control);flex-shrink:0;margin-inline-start:auto}.k6tn090>[data-slot=button]{color:inherit}.k6tn090>[data-slot=button] [data-slot=icon]{font-size:var(--lovelace-icon-size-sm)}.k6tn090>[data-slot=button][data-disabled]{color:inherit;cursor:inherit}.xywi8y0{padding:var(--lovelace-padding-16);justify-content:flex-end;align-items:center}.xywi8y1{background-color:var(--lovelace-color-background-default);border-radius:var(--lovelace-border-radius-container);flex-direction:column;width:fit-content;max-width:min(320px,100%);min-height:0;max-height:100%;display:flex;position:relative;overflow:hidden;box-shadow:0 12px 24px 4px #0000001f}.xywi8y1[data-entering],.xywi8y1[data-exiting]{transform:translateY(8px)}.xywi8y2{outline:none;flex-direction:column;flex:auto;min-height:0;max-height:100%;display:flex}@media (prefers-reduced-motion:no-preference){.xywi8y1{transition:transform var(--lovelace-duration-medium) var(--lovelace-easing-standard)}}._1r1codi0{z-index:200;flex-direction:column;display:flex;position:fixed;inset:0}._1r1codi0[data-entering],._1r1codi0[data-exiting]{opacity:0}@media (prefers-reduced-motion:no-preference){._1r1codi0{transition:opacity var(--lovelace-duration-medium) var(--lovelace-easing-standard)}}.ateptb1{isolation:isolate;justify-content:center;align-items:center;gap:var(--lovelace-gap-8);padding-inline:var(--lovelace-padding-12);box-sizing:border-box;border:var(--lovelace-border-width-default) solid transparent;border-radius:var(--lovelace-border-radius-button);font-family:var(--lovelace-font-family-body);font-weight:var(--lovelace-font-weight-medium);font-size:var(--lovelace-font-size-body);line-height:var(--lovelace-line-height-body);white-space:nowrap;cursor:pointer;-webkit-user-select:none;user-select:none;appearance:none;transition-property:background-color,border-color;transition-duration:var(--lovelace-duration-fast);transition-timing-function:var(--lovelace-easing-standard);outline:none;text-decoration:none;display:inline-flex;position:relative}.ateptb1:after{content:"";border-radius:inherit;opacity:0;pointer-events:none;z-index:-1;transition:opacity var(--lovelace-duration-fast) var(--lovelace-easing-standard);background-color:currentColor;position:absolute;inset:0}.ateptb1[data-hovered]:not([data-disabled]):after{opacity:var(--lovelace-opacity-state-hover)}.ateptb1[data-focus-visible]:not([data-disabled]):after{opacity:var(--lovelace-opacity-state-focus)}.ateptb1[data-pressed]:not([data-disabled]):after{opacity:var(--lovelace-opacity-state-pressed)}.ateptb1[data-focus-visible]:not([data-disabled]){box-shadow:0 0 0 var(--lovelace-border-width-focus) var(--lovelace-color-border-focus)}.ateptb1[data-disabled]{cursor:not-allowed;color:var(--lovelace-color-content-disabled)}.ateptb2{background-color:var(--lovelace-button-primary-background);color:var(--lovelace-button-primary-content)}.ateptb2[data-disabled]{background-color:var(--lovelace-color-background-disabled)}.ateptb3{background-color:var(--lovelace-color-background-destructive);color:var(--lovelace-color-content-on-destructive)}.ateptb3[data-disabled]{background-color:var(--lovelace-color-background-disabled)}.ateptb4{background-color:var(--lovelace-color-background-default);color:var(--lovelace-color-content-default);border-color:var(--lovelace-color-border-default)}.ateptb5{background-color:var(--lovelace-color-background-default);color:var(--lovelace-color-content-destructive);border-color:var(--lovelace-color-border-destructive)}.ateptb6{color:var(--lovelace-color-content-default);background-color:#0000}.ateptb7{color:var(--lovelace-color-content-destructive);background-color:#0000}.ateptb8{height:40px}.ateptb9{height:32px}.ateptb0 [data-slot=icon]{font-size:var(--lovelace-icon-size-control);flex-shrink:0}@media (forced-colors:active){.ateptb1[data-focus-visible]:not([data-disabled]){outline-offset:2px;outline:2px solid highlight}}.s7h2sn0{gap:var(--lovelace-gap-20);flex-direction:column;display:flex}.s7h2sn2{font-family:var(--lovelace-font-family-body);font-weight:var(--lovelace-font-weight-regular);font-size:var(--lovelace-font-size-body);line-height:var(--lovelace-line-height-body);color:var(--lovelace-color-content-default);cursor:pointer;-webkit-user-select:none;user-select:none;outline:none}.s7h2sn2[data-disabled]{cursor:not-allowed;color:var(--lovelace-color-content-disabled)}.s7h2sn3{align-items:center;gap:var(--lovelace-gap-12);display:inline-flex}.s7h2sn4{isolation:isolate;box-sizing:border-box;align-items:center;gap:var(--lovelace-gap-12);min-height:40px;padding-inline:var(--lovelace-padding-8);padding-block:var(--lovelace-padding-4);border-radius:var(--lovelace-border-radius-button);border:var(--lovelace-border-width-default) solid transparent;background-color:var(--lovelace-color-background-default);color:var(--lovelace-color-content-default);font-family:var(--lovelace-font-family-body);font-size:var(--lovelace-font-size-body);font-weight:var(--lovelace-font-weight-regular);line-height:var(--lovelace-line-height-body);text-align:start;cursor:pointer;-webkit-user-select:none;user-select:none;transition-property:background-color,border-color;transition-duration:var(--lovelace-duration-fast);transition-timing-function:var(--lovelace-easing-standard);outline:none;display:flex;position:relative}.s7h2sn4:after{content:"";border-radius:inherit;opacity:0;pointer-events:none;z-index:-1;transition:opacity var(--lovelace-duration-fast) var(--lovelace-easing-standard);background-color:currentColor;position:absolute;inset:0}.s7h2sn4[data-hovered]:not([data-disabled]):after{opacity:var(--lovelace-opacity-state-hover)}.s7h2sn4[data-focus-visible]:not([data-disabled]):after{opacity:var(--lovelace-opacity-state-focus)}.s7h2sn4[data-pressed]:not([data-disabled]):after{opacity:var(--lovelace-opacity-state-pressed)}.s7h2sn4[data-focus-visible]:not([data-disabled]){border-color:var(--lovelace-color-border-accent);box-shadow:0 0 0 var(--lovelace-border-width-focus) var(--lovelace-color-border-focus)}.s7h2sn4[data-disabled]{cursor:not-allowed;color:var(--lovelace-color-content-disabled)}.s7h2sn1>[data-slot=icon]{font-size:var(--lovelace-icon-size-lg);flex-shrink:0}.s7h2sn1>[data-slot=label]{text-align:start;overflow-wrap:anywhere;flex:1;min-width:0}.s7h2sn5{isolation:isolate;box-sizing:border-box;border-radius:var(--lovelace-border-radius-6);border-style:solid;border-width:var(--lovelace-border-width-default);border-color:var(--lovelace-color-border-default);background-color:var(--lovelace-color-background-default);width:24px;height:24px;color:var(--lovelace-color-content-inverse);transition-property:border-color,box-shadow;transition-duration:var(--lovelace-duration-fast);transition-timing-function:var(--lovelace-easing-standard);flex-shrink:0;position:relative}.s7h2sn5:after{content:"";border-radius:inherit;opacity:0;pointer-events:none;z-index:-1;transition:opacity var(--lovelace-duration-fast) var(--lovelace-easing-standard);background-color:currentColor;position:absolute;inset:0}.s7h2sn6{color:currentColor;opacity:0;pointer-events:none;width:16px;height:16px;margin:auto;position:absolute;inset:0}[data-selected]>.s7h2sn5,[data-indeterminate]>.s7h2sn5{background-color:var(--lovelace-color-background-inverse);border-color:#0000}[data-hovered]:not([data-disabled]):not([data-selected]):not([data-indeterminate])>.s7h2sn5[data-state-layer]{border-color:var(--lovelace-color-border-medium)}[data-hovered]:not([data-disabled])>.s7h2sn5[data-state-layer]:after{opacity:var(--lovelace-opacity-state-hover)}[data-focus-visible]:not([data-disabled])>.s7h2sn5[data-state-layer]:after{opacity:var(--lovelace-opacity-state-focus)}[data-pressed]:not([data-disabled])>.s7h2sn5[data-state-layer]:after{opacity:var(--lovelace-opacity-state-pressed)}[data-focus-visible]:not([data-disabled])>.s7h2sn5[data-state-layer]{box-shadow:0 0 0 var(--lovelace-border-width-focus) var(--lovelace-color-border-focus)}[data-disabled]>.s7h2sn5{background-color:var(--lovelace-color-background-disabled);border-color:var(--lovelace-color-border-default);color:var(--lovelace-color-content-disabled)}[data-selected]:not([data-indeterminate])>.s7h2sn5>.s7h2sn6[data-glyph=check],[data-indeterminate]>.s7h2sn5>.s7h2sn6[data-glyph=dash]{opacity:1}@media (forced-colors:active){.s7h2sn4[data-focus-visible]:not([data-disabled]),[data-focus-visible]:not([data-disabled])>.s7h2sn5[data-state-layer]{outline-offset:2px;outline:2px solid highlight}}._18cnc771{isolation:isolate;box-sizing:border-box;border:var(--lovelace-border-width-default) solid transparent;font-family:var(--lovelace-font-family-body);font-weight:var(--lovelace-font-weight-medium);font-size:var(--lovelace-font-size-body);line-height:var(--lovelace-line-height-body);white-space:nowrap;cursor:pointer;-webkit-user-select:none;user-select:none;appearance:none;transition-property:background-color,border-color;transition-duration:var(--lovelace-duration-fast);transition-timing-function:var(--lovelace-easing-standard);outline:none;justify-content:center;align-items:center;display:inline-flex;position:relative}._18cnc771:after{content:"";border-radius:inherit;opacity:0;pointer-events:none;z-index:-1;transition:opacity var(--lovelace-duration-fast) var(--lovelace-easing-standard);background-color:currentColor;position:absolute;inset:0}._18cnc771:not([data-selected]){background-color:var(--lovelace-color-background-default);color:var(--lovelace-color-content-default);border-color:var(--lovelace-color-border-default)}._18cnc771[data-selected]{background-color:var(--lovelace-chip-background-selected);color:var(--lovelace-color-content-on-accent);border-color:#0000}._18cnc771[data-hovered]:not([data-disabled]):after{opacity:var(--lovelace-opacity-state-hover)}._18cnc771[data-focus-visible]:not([data-disabled]):after{opacity:var(--lovelace-opacity-state-focus)}._18cnc771[data-pressed]:not([data-disabled]):after{opacity:var(--lovelace-opacity-state-pressed)}._18cnc771[data-focus-visible]:not([data-disabled]){border-color:var(--lovelace-color-border-accent);box-shadow:0 0 0 var(--lovelace-border-width-focus) var(--lovelace-color-border-focus)}._18cnc771[data-disabled]{cursor:not-allowed;color:var(--lovelace-color-content-disabled)}._18cnc772{min-width:80px;padding-inline:var(--lovelace-padding-12);border-radius:var(--lovelace-border-radius-pill)}._18cnc773,._18cnc774{border-radius:var(--lovelace-border-radius-button)}._18cnc777{height:40px}._18cnc778{height:48px}._18cnc779{width:40px;height:40px}._18cnc77a{width:48px;height:48px}._18cnc77b{width:40px;height:40px}._18cnc77c{width:48px;height:48px;font-size:var(--lovelace-font-size-title-large)}._18cnc770 [data-slot=icon]{font-size:var(--lovelace-icon-size-control);flex-shrink:0}@media (forced-colors:active){._18cnc771[data-focus-visible]:not([data-disabled]){outline-offset:2px;outline:2px solid highlight}}.onnuc90{text-align:center;align-items:center;gap:var(--lovelace-gap-16);padding:var(--lovelace-padding-16);flex-direction:column;display:flex}.onnuc91{flex-shrink:0;font-size:32px;line-height:0;display:flex}.onnuc92{color:var(--lovelace-color-content-warning)}.onnuc93{color:var(--lovelace-color-content-success)}.onnuc94{align-items:center;gap:var(--lovelace-gap-8);flex-direction:column;width:100%;display:flex}.onnuc95{text-align:center;width:100%;font-family:var(--lovelace-font-family-heading);font-weight:var(--lovelace-font-weight-medium);font-size:var(--lovelace-font-size-title-large);line-height:var(--lovelace-line-height-title-large);color:var(--lovelace-color-content-default);margin:0}.onnuc96{text-align:center;width:100%;font-family:var(--lovelace-font-family-body);font-weight:var(--lovelace-font-weight-regular);font-size:var(--lovelace-font-size-body);line-height:var(--lovelace-line-height-body);color:var(--lovelace-color-content-secondary);margin:0}.onnuc97{align-items:stretch;gap:var(--lovelace-gap-8);flex-direction:column;width:100%;display:flex}._9zd2r40{padding:var(--lovelace-padding-16);background-color:var(--lovelace-color-wash-neutral);justify-content:center;align-items:center}._9zd2r41{background-color:var(--lovelace-color-background-default);border-radius:var(--lovelace-border-radius-container);flex-direction:column;width:366px;max-width:100%;max-height:90%;display:flex;overflow:hidden;box-shadow:0 12px 24px 4px #0000001f}._9zd2r41[data-entering],._9zd2r41[data-exiting]{opacity:0;transform:scale(.95)}._9zd2r42{box-sizing:border-box;outline:none;flex-direction:column;flex:auto;width:100%;min-height:0;display:flex;overflow-y:auto}@media (prefers-reduced-motion:no-preference){._9zd2r41{transition-property:opacity,transform;transition-duration:var(--lovelace-duration-medium);transition-timing-function:var(--lovelace-easing-standard)}}.a07ce60{box-sizing:border-box}.a07ce61{width:100%;display:block}.a07ce62{justify-content:center;align-items:center;gap:var(--lovelace-gap-8);width:100%;display:flex}.a07ce63{justify-content:center;align-items:center;gap:var(--lovelace-gap-4);text-align:center;flex-direction:column;display:flex}.a07ce64{border:none;border-top:var(--lovelace-border-width-default) solid var(--lovelace-color-border-default);flex:1 1 0;width:100%;min-width:1px;height:0;margin:0}.a07ce65{font-family:var(--lovelace-font-family-body);font-size:var(--lovelace-font-size-caption);line-height:var(--lovelace-line-height-caption);color:var(--lovelace-color-content-secondary);font-weight:var(--lovelace-font-weight-regular);white-space:nowrap;flex-shrink:0;margin:0}.a07ce66{font-family:var(--lovelace-font-family-body);font-size:var(--lovelace-font-size-caption);line-height:var(--lovelace-line-height-caption);color:var(--lovelace-color-content-secondary);font-weight:var(--lovelace-font-weight-medium);margin:0}.a07ce67{font-family:var(--lovelace-font-family-body);font-size:var(--lovelace-font-size-caption);line-height:var(--lovelace-line-height-caption);color:var(--lovelace-color-content-secondary);font-weight:var(--lovelace-font-weight-regular);margin:0}._1vy5zjp0{flex-direction:column;flex:auto;min-height:0;display:flex;position:relative}._1vy5zjp1{justify-content:center;align-items:center;gap:var(--lovelace-gap-12);padding:var(--lovelace-padding-16);border-radius:var(--lovelace-border-radius-20);background-color:var(--lovelace-color-background-default);pointer-events:none;flex-direction:column;display:flex;position:absolute;inset:0}._1vy5zjp1 [data-slot=icon]{color:var(--lovelace-color-content-secondary);font-size:32px}._1vy5zjp0[data-drop-target] ._1vy5zjp1 [data-slot=icon]{color:var(--lovelace-color-content-highlight)}._1vy5zjp2{gap:var(--lovelace-gap-8);text-align:center;width:100%;font-family:var(--lovelace-font-family-body);font-weight:var(--lovelace-font-weight-regular);font-size:var(--lovelace-font-size-body);line-height:var(--lovelace-line-height-body);word-break:break-word;flex-direction:column;display:flex}._1vy5zjp3{color:var(--lovelace-color-content-default);margin:0}._1vy5zjp4{color:var(--lovelace-color-content-secondary);margin:0}._6ivfy30{background-color:var(--lovelace-color-wash-neutral)}._6ivfy31{background-color:var(--lovelace-color-background-default);flex-direction:column;width:100%;height:100%;min-height:0;max-height:100%;display:flex;position:relative;overflow:hidden}._6ivfy31[data-entering],._6ivfy31[data-exiting]{transform:translateY(100%)}._6ivfy32{outline:none;flex-direction:column;flex:auto;min-height:0;max-height:100%;display:flex}@media (prefers-reduced-motion:no-preference){._6ivfy31{transition:transform var(--lovelace-duration-medium) var(--lovelace-easing-standard)}}._1x52ra20{background-color:var(--lovelace-header-background);color:var(--lovelace-header-content);height:56px;padding:0 var(--lovelace-padding-12);align-items:center;gap:var(--lovelace-spacing-8);flex-shrink:0;display:flex;position:relative;overflow:hidden}._1x52ra20 [data-slot=icon]{color:var(--lovelace-header-content)}._1x52ra20 [data-slot=avatar] [data-slot=icon]{color:var(--lovelace-avatar-content)}._1x52ra21{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:var(--lovelace-font-size-title-small);line-height:var(--lovelace-line-height-title-small);font-weight:var(--lovelace-font-weight-medium);flex:1;margin:0;overflow:hidden}._3tx76z0{aspect-ratio:37.5/12}.ptvtw60{max-width:100%;display:block}.ynzg8v0{width:100%;font-family:var(--lovelace-font-family-body);flex-direction:column;display:flex}.ynzg8v3{gap:var(--lovelace-gap-8);flex-wrap:wrap;flex:auto;min-width:0;display:flex}.ynzg8v4{align-items:flex-end;gap:var(--lovelace-gap-8);box-sizing:border-box;width:100%;min-height:40px;padding-inline:var(--lovelace-padding-12);padding-block:var(--lovelace-padding-8);border:var(--lovelace-border-width-default) solid var(--lovelace-color-border-default);background-color:var(--lovelace-color-background-default);border-radius:var(--lovelace-border-radius-input);cursor:text;flex-wrap:wrap;display:flex}.ynzg8v4[data-focus-within]{border-color:var(--lovelace-color-border-accent);box-shadow:0 0 0 var(--lovelace-border-width-focus) var(--lovelace-color-border-focus)}.ynzg8v4[data-invalid]{border-color:var(--lovelace-color-border-destructive)}.ynzg8v4[data-disabled]{background-color:var(--lovelace-color-background-disabled);cursor:not-allowed}.ynzg8v6{border-radius:var(--lovelace-border-radius-composer);border:var(--lovelace-border-width-default) solid var(--lovelace-composer-border-default);background-color:var(--lovelace-composer-background)}.ynzg8v6[data-focus-within]{border-color:var(--lovelace-composer-border-active);box-shadow:0 0 0 var(--lovelace-border-width-focus) var(--lovelace-composer-border-focus)}.ynzg8v6[data-invalid]{border-color:var(--lovelace-color-border-destructive)}.ynzg8v7{appearance:none;min-width:0;font-family:var(--lovelace-font-family-body);font-weight:var(--lovelace-font-weight-regular);font-size:var(--lovelace-font-size-body);line-height:var(--lovelace-line-height-body);color:var(--lovelace-color-content-default);background-color:#0000;border:none;outline:none;flex:1;margin:0;padding:0}.ynzg8v7::placeholder{color:var(--lovelace-color-content-secondary);opacity:1}.ynzg8v7[data-disabled]{color:var(--lovelace-color-content-disabled);cursor:not-allowed}.ynzg8v7[data-disabled]::placeholder{color:var(--lovelace-color-content-disabled)}.ynzg8v8{box-sizing:border-box;resize:none;overflow-wrap:anywhere;word-break:break-word;scrollbar-width:thin;scrollbar-color:var(--lovelace-color-border-default) transparent;width:100%;display:block;overflow-y:auto}.ynzg8v9{isolation:isolate;border-radius:var(--lovelace-border-radius-full);background-color:var(--lovelace-button-primary-background);width:22px;height:22px;color:var(--lovelace-button-primary-content);cursor:pointer;appearance:none;border:none;outline:none;flex-shrink:0;justify-content:center;align-items:center;padding:0;display:inline-flex;position:relative;overflow:hidden}.ynzg8v9:after{content:"";border-radius:inherit;opacity:0;pointer-events:none;z-index:-1;background-color:currentColor;position:absolute;inset:0}.ynzg8v9[data-hovered]:not([data-disabled]):after{opacity:var(--lovelace-opacity-state-hover)}.ynzg8v9[data-focus-visible]:not([data-disabled]):after{opacity:var(--lovelace-opacity-state-focus)}.ynzg8v9[data-pressed]:not([data-disabled]):after{opacity:var(--lovelace-opacity-state-pressed)}.ynzg8v9[data-focus-visible]:not([data-disabled]){box-shadow:0 0 0 var(--lovelace-border-width-focus) var(--lovelace-color-border-focus)}.ynzg8v9[data-disabled]{cursor:not-allowed;background-color:var(--lovelace-color-background-disabled);color:var(--lovelace-color-content-disabled)}.ynzg8va{font-family:var(--lovelace-font-family-body);font-weight:var(--lovelace-font-weight-regular);font-size:var(--lovelace-font-size-body);line-height:var(--lovelace-line-height-body);margin-bottom:var(--lovelace-gap-8);color:var(--lovelace-color-content-default)}.ynzg8vb{margin-top:var(--lovelace-gap-4);font-family:var(--lovelace-font-family-body);font-weight:var(--lovelace-font-weight-regular);font-size:var(--lovelace-font-size-caption);line-height:var(--lovelace-line-height-caption);color:var(--lovelace-color-content-secondary)}.ynzg8vb[data-invalid]{color:var(--lovelace-color-content-destructive)}.ynzg8v1 [data-slot=icon],.ynzg8v9 [data-slot=icon]{font-size:var(--lovelace-icon-size-control);flex-shrink:0}.ynzg8v1>[data-slot=icon]{color:var(--lovelace-color-content-secondary)}.ynzg8v1[data-disabled]>[data-slot=icon]{color:var(--lovelace-color-content-disabled)}.ynzg8v1[data-has-attachments] .ynzg8v7{flex-basis:100%}.ynzg8v1[data-has-attachments]{row-gap:var(--lovelace-gap-20)}.ynzg8v2 .ynzg8v7{color:var(--lovelace-composer-content-default)}.ynzg8v2 .ynzg8v7::placeholder,.ynzg8v2>[data-slot=icon]{color:var(--lovelace-composer-content-secondary)}.ynzg8v2 .ynzg8v7[data-disabled],.ynzg8v2 .ynzg8v7[data-disabled]::placeholder{color:var(--lovelace-color-content-disabled)}@media (prefers-reduced-motion:no-preference){.ynzg8v4{transition-property:border-color,box-shadow;transition-duration:var(--lovelace-duration-fast);transition-timing-function:var(--lovelace-easing-standard)}.ynzg8v9:after{transition:opacity var(--lovelace-duration-fast) var(--lovelace-easing-standard)}}@media (forced-colors:active){.ynzg8v4[data-focus-within],.ynzg8v9[data-focus-visible]:not([data-disabled]){outline-offset:2px;outline:2px solid highlight}}.k107bi1{isolation:isolate;align-items:center;gap:var(--lovelace-gap-4);color:var(--lovelace-color-content-link);font-family:var(--lovelace-font-family-body);font-weight:var(--lovelace-font-weight-regular);font-size:var(--lovelace-font-size-body);line-height:var(--lovelace-line-height-body);word-break:break-word;cursor:pointer;border-radius:var(--lovelace-border-radius-6);outline:none;text-decoration:none;display:inline-flex;position:relative}.k107bi1:after{content:"";inset-block:0;inset-inline:calc(-1 * var(--lovelace-padding-4));border-radius:inherit;opacity:0;pointer-events:none;z-index:-1;transition:opacity var(--lovelace-duration-fast) var(--lovelace-easing-standard);background-color:currentColor;position:absolute}.k107bi1:not([data-icon]){text-decoration:underline}.k107bi1[data-hovered]:not([data-disabled]):after{opacity:var(--lovelace-opacity-state-hover)}.k107bi1[data-focus-visible]:not([data-disabled]):after{opacity:var(--lovelace-opacity-state-focus)}.k107bi1[data-pressed]:not([data-disabled]):after{opacity:var(--lovelace-opacity-state-pressed)}.k107bi1[data-focus-visible]:not([data-disabled]){box-shadow:0 0 0 var(--lovelace-border-width-focus) var(--lovelace-color-border-focus)}.k107bi1[data-disabled]{cursor:not-allowed;color:var(--lovelace-color-content-disabled)}.k107bi2{text-decoration:underline}.k107bi0 [data-slot=icon]{font-size:var(--lovelace-icon-size-control);flex-shrink:0}[dir=rtl] .k107bi0:not([data-download]) [data-slot=icon]{transform:scaleX(-1)}@media (forced-colors:active){.k107bi1[data-focus-visible]:not([data-disabled]){outline-offset:2px;outline:2px solid highlight}}.fa1x5n0{outline:none;flex-direction:column;display:flex}.fa1x5n1{isolation:isolate;box-sizing:border-box;align-items:center;gap:var(--lovelace-gap-12);min-height:40px;padding-inline:var(--lovelace-padding-8);padding-block:var(--lovelace-padding-4);border-radius:var(--lovelace-border-radius-button);border:var(--lovelace-border-width-default) solid transparent;background-color:var(--lovelace-color-background-default);color:var(--lovelace-color-content-default);font-family:var(--lovelace-font-family-body);font-size:var(--lovelace-font-size-body);font-weight:var(--lovelace-font-weight-regular);line-height:var(--lovelace-line-height-body);text-align:start;cursor:pointer;-webkit-user-select:none;user-select:none;transition-property:background-color,border-color;transition-duration:var(--lovelace-duration-fast);transition-timing-function:var(--lovelace-easing-standard);outline:none;display:flex;position:relative}.fa1x5n1:after{content:"";border-radius:inherit;opacity:0;pointer-events:none;z-index:-1;transition:opacity var(--lovelace-duration-fast) var(--lovelace-easing-standard);background-color:currentColor;position:absolute;inset:0}.fa1x5n1[data-hovered]:not([data-disabled]):after{opacity:var(--lovelace-opacity-state-hover)}.fa1x5n1[data-focus-visible]:not([data-disabled]):after{opacity:var(--lovelace-opacity-state-focus)}.fa1x5n1[data-pressed]:not([data-disabled]):after{opacity:var(--lovelace-opacity-state-pressed)}.fa1x5n1[data-focus-visible]:not([data-disabled]){border-color:var(--lovelace-color-border-accent);box-shadow:0 0 0 var(--lovelace-border-width-focus) var(--lovelace-color-border-focus)}.fa1x5n1[data-disabled]{cursor:not-allowed;color:var(--lovelace-color-content-disabled)}.fa1x5n1>[data-slot=icon]{font-size:var(--lovelace-icon-size-lg);flex-shrink:0}.fa1x5n1>[data-slot=label]{text-align:start;overflow-wrap:anywhere;flex:1;min-width:0}@media (forced-colors:active){.fa1x5n1[data-focus-visible]:not([data-disabled]){outline-offset:2px;outline:2px solid highlight}}.mufew31{gap:var(--lovelace-gap-20);flex-direction:column;display:flex}.mufew31[data-orientation=horizontal]{flex-direction:row}.mufew32{cursor:pointer;-webkit-user-select:none;user-select:none}.mufew32[data-disabled]{cursor:not-allowed}.mufew33{align-items:center;gap:var(--lovelace-gap-12);display:inline-flex}.mufew34{isolation:isolate;box-sizing:border-box;align-items:center;gap:var(--lovelace-gap-12);min-height:40px;padding-inline:var(--lovelace-padding-8);padding-block:var(--lovelace-padding-4);border-radius:var(--lovelace-border-radius-button);border:var(--lovelace-border-width-default) solid transparent;background-color:var(--lovelace-color-background-default);color:var(--lovelace-color-content-default);font-family:var(--lovelace-font-family-body);font-size:var(--lovelace-font-size-body);font-weight:var(--lovelace-font-weight-regular);line-height:var(--lovelace-line-height-body);text-align:start;cursor:pointer;-webkit-user-select:none;user-select:none;transition-property:background-color,border-color;transition-duration:var(--lovelace-duration-fast);transition-timing-function:var(--lovelace-easing-standard);outline:none;display:flex;position:relative}.mufew34:after{content:"";border-radius:inherit;opacity:0;pointer-events:none;z-index:-1;transition:opacity var(--lovelace-duration-fast) var(--lovelace-easing-standard);background-color:currentColor;position:absolute;inset:0}.mufew34[data-hovered]:not([data-disabled]):after{opacity:var(--lovelace-opacity-state-hover)}.mufew34[data-focus-visible]:not([data-disabled]):after{opacity:var(--lovelace-opacity-state-focus)}.mufew34[data-pressed]:not([data-disabled]):after{opacity:var(--lovelace-opacity-state-pressed)}.mufew34[data-focus-visible]:not([data-disabled]){border-color:var(--lovelace-color-border-accent);box-shadow:0 0 0 var(--lovelace-border-width-focus) var(--lovelace-color-border-focus)}.mufew34[data-disabled]{cursor:not-allowed;color:var(--lovelace-color-content-disabled)}.mufew30>[data-slot=icon]{font-size:var(--lovelace-icon-size-lg);flex-shrink:0}.mufew30>[data-slot=label]{text-align:start;overflow-wrap:anywhere;flex:1;min-width:0}.mufew35{box-sizing:border-box;border-radius:var(--lovelace-border-radius-full);border-style:solid;border-width:var(--lovelace-border-width-default);background-color:var(--lovelace-color-background-default);border-color:var(--lovelace-color-border-default);width:24px;height:24px;transition-property:background-color,border-color,box-shadow;transition-duration:var(--lovelace-duration-fast);transition-timing-function:var(--lovelace-easing-standard);flex-shrink:0;position:relative}[data-hovered]:not([data-selected]):not([data-disabled])>.mufew35[data-state-layer]{border-color:var(--lovelace-color-border-medium)}[data-selected]>.mufew35{background-color:var(--lovelace-color-background-inverse);border-color:var(--lovelace-color-background-inverse)}[data-focus-visible]:not([data-disabled])>.mufew35[data-state-layer]{box-shadow:0 0 0 var(--lovelace-border-width-focus) var(--lovelace-color-border-focus)}[data-focus-visible]:not([data-selected]):not([data-disabled])>.mufew35[data-state-layer]{border-color:var(--lovelace-color-border-accent)}[data-disabled]:not([data-selected])>.mufew35{background-color:var(--lovelace-color-background-tertiary);border-color:var(--lovelace-color-border-default)}[data-disabled][data-selected]>.mufew35{background-color:var(--lovelace-color-background-disabled);border-color:var(--lovelace-color-background-disabled)}.mufew36{border-radius:var(--lovelace-border-radius-full);pointer-events:none;background-color:#0000;position:absolute;inset:5px}[data-selected]>.mufew35>.mufew36{background-color:var(--lovelace-color-background-default)}[data-selected][data-disabled]>.mufew35>.mufew36{background-color:var(--lovelace-color-background-tertiary)}.mufew37{font-family:var(--lovelace-font-family-body);font-size:var(--lovelace-font-size-body);font-weight:var(--lovelace-font-weight-regular);line-height:var(--lovelace-line-height-body);color:var(--lovelace-color-content-default)}[data-disabled]>.mufew37{color:var(--lovelace-color-content-disabled)}@media (forced-colors:active){.mufew34[data-focus-visible]:not([data-disabled]),[data-focus-visible]:not([data-disabled])>.mufew35[data-state-layer]{outline-offset:2px;outline:2px solid highlight}[data-selected]>.mufew35>.mufew36{background-color:canvastext}}._1s0itzy0{cursor:pointer;outline:none;flex-shrink:0;display:inline-flex}._1s0itzy0[data-disabled]{cursor:not-allowed}._1s0itzy1{isolation:isolate;box-sizing:border-box;border-radius:var(--lovelace-border-radius-full);background-color:var(--lovelace-color-background-quaternary);width:44px;height:24px;color:var(--lovelace-color-content-inverse);flex-shrink:0;display:inline-block;position:relative;box-shadow:0 1px 1px #00000014}._1s0itzy1:after{content:"";border-radius:inherit;opacity:0;pointer-events:none;z-index:-1;background-color:currentColor;position:absolute;inset:0}[data-selected]>._1s0itzy1{background-color:var(--lovelace-color-background-success);box-shadow:none}[data-hovered]:not([data-disabled])>._1s0itzy1[data-state-layer]:after{opacity:var(--lovelace-opacity-state-hover)}[data-focus-visible]:not([data-disabled])>._1s0itzy1[data-state-layer]:after{opacity:var(--lovelace-opacity-state-focus)}[data-pressed]:not([data-disabled])>._1s0itzy1[data-state-layer]:after{opacity:var(--lovelace-opacity-state-pressed)}[data-focus-visible]:not([data-disabled])>._1s0itzy1[data-state-layer]{box-shadow:0 0 0 var(--lovelace-border-width-focus) var(--lovelace-color-border-focus)}[data-disabled]>._1s0itzy1{background-color:var(--lovelace-color-background-disabled);box-shadow:none}[data-disabled][data-selected]>._1s0itzy1{background-color:var(--lovelace-color-background-success)}[data-disabled][data-selected]>._1s0itzy1:after{opacity:.3}._1s0itzy2{border-radius:var(--lovelace-border-radius-full);background-color:var(--lovelace-color-background-default);pointer-events:none;width:22px;height:22px;position:absolute;inset-block-start:1px;inset-inline-start:1px;box-shadow:0 1px 2px #00000014}[data-selected]>._1s0itzy1>._1s0itzy2{inset-inline-start:calc(100% - 23px)}@media (prefers-reduced-motion:no-preference){._1s0itzy1{transition-property:background-color,box-shadow;transition-duration:var(--lovelace-duration-fast);transition-timing-function:var(--lovelace-easing-standard)}._1s0itzy1:after{transition:opacity var(--lovelace-duration-fast) var(--lovelace-easing-standard)}._1s0itzy2{transition:inset-inline-start var(--lovelace-duration-fast) var(--lovelace-easing-standard)}}@media (forced-colors:active){[data-focus-visible]:not([data-disabled])>._1s0itzy1[data-state-layer]{outline-offset:2px;outline:2px solid highlight}}._1pxs3ha0{display:flex}._1pxs3ha1{min-height:var(--lovelace-icon-size-lg);align-items:center;gap:var(--lovelace-gap-4);color:var(--lovelace-color-content-destructive);margin:0;display:inline-flex}._1pxs3ha2{border-radius:var(--lovelace-border-radius-6);cursor:pointer;background:0 0;border:none;outline:none;padding:0}._1pxs3ha2[data-focus-visible]{box-shadow:0 0 0 var(--lovelace-border-width-focus) var(--lovelace-color-border-focus)}._1pxs3ha3{clip:rect(0, 0, 0, 0);white-space:nowrap;-webkit-user-select:none;user-select:none;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}._1pxs3ha4{color:inherit;font-family:var(--lovelace-font-family-body);font-weight:var(--lovelace-font-weight-regular);font-size:var(--lovelace-font-size-caption);line-height:var(--lovelace-line-height-caption);margin:0}._1pxs3ha1 [data-slot=icon]{font-size:var(--lovelace-icon-size-lg)}@media (forced-colors:active){._1pxs3ha2[data-focus-visible]{outline-offset:2px;outline:2px solid highlight}}._16xwgyj0{align-items:flex-start;gap:var(--lovelace-gap-12);display:flex}._16xwgyj1{justify-content:flex-start}._16xwgyj2{justify-content:flex-end}._16xwgyj3{min-width:0;font-family:var(--lovelace-font-family-body);font-size:var(--lovelace-message-content-font-size-body);line-height:var(--lovelace-message-content-line-height-body);color:var(--lovelace-message-content-default);overflow-wrap:anywhere;word-break:break-word;flex-direction:column;display:flex}._16xwgyj4{align-items:flex-end}._16xwgyj5{align-items:stretch}._16xwgyj6{flex:1 1 0;max-width:100%}._16xwgyj7{flex:0 auto}._16xwgyj8{max-width:80%}._16xwgyj9{max-width:90%}._14rcj9q1{box-sizing:border-box;border-radius:var(--lovelace-border-radius-media-preview);border:var(--lovelace-border-width-default) solid var(--lovelace-color-border-default);justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}._14rcj9q2{aspect-ratio:16/9}._14rcj9q3{aspect-ratio:4/3}._14rcj9q4{aspect-ratio:1}._14rcj9q5{aspect-ratio:3/4}._14rcj9q6{aspect-ratio:9/16}._14rcj9q7{background-color:var(--lovelace-color-background-disabled);color:var(--lovelace-color-content-disabled)}._14rcj9q9{object-fit:cover;width:100%;height:100%;display:block}._14rcj9q0 [data-slot=icon]{font-size:var(--lovelace-icon-size-lg)}.rygqx10{isolation:isolate;justify-content:center;align-items:center;gap:var(--lovelace-gap-8);padding-inline:var(--lovelace-padding-12);box-sizing:border-box;border:var(--lovelace-border-width-default) solid var(--lovelace-color-border-default);border-radius:var(--lovelace-border-radius-pill);background-color:var(--lovelace-color-background-default);color:var(--lovelace-pill-content-primary);font-family:var(--lovelace-font-family-body);font-weight:var(--lovelace-font-weight-medium);font-size:var(--lovelace-font-size-body);line-height:var(--lovelace-line-height-body);white-space:nowrap;cursor:pointer;-webkit-user-select:none;user-select:none;appearance:none;transition-property:background-color,border-color;transition-duration:var(--lovelace-duration-fast);transition-timing-function:var(--lovelace-easing-standard);outline:none;text-decoration:none;display:inline-flex;position:relative}.rygqx10:after{content:"";border-radius:inherit;opacity:0;pointer-events:none;z-index:-1;transition:opacity var(--lovelace-duration-fast) var(--lovelace-easing-standard);background-color:currentColor;position:absolute;inset:0}.rygqx10[data-hovered]:not([data-disabled]):after{opacity:var(--lovelace-opacity-state-hover)}.rygqx10[data-focus-visible]:not([data-disabled]):after{opacity:var(--lovelace-opacity-state-focus)}.rygqx10[data-pressed]:not([data-disabled]):after{opacity:var(--lovelace-opacity-state-pressed)}.rygqx10[data-focus-visible]:not([data-disabled]){border-color:var(--lovelace-color-border-accent);box-shadow:0 0 0 var(--lovelace-border-width-focus) var(--lovelace-color-border-focus)}.rygqx10[data-disabled]{cursor:not-allowed;color:var(--lovelace-color-content-disabled)}.rygqx11{height:40px}.rygqx12{height:32px}[data-slot=pill-button] [data-slot=icon]{font-size:var(--lovelace-icon-size-control);flex-shrink:0}@media (forced-colors:active){.rygqx10[data-focus-visible]:not([data-disabled]){outline-offset:2px;outline:2px solid highlight}}.y22qey0{box-sizing:border-box;width:fit-content;min-height:48px;padding-block:var(--lovelace-padding-8);padding-inline:var(--lovelace-padding-16);border-radius:var(--lovelace-border-radius-message);background-color:var(--lovelace-color-background-default);border:var(--lovelace-border-width-default) solid var(--lovelace-color-border-default);color:var(--lovelace-color-content-default);font-family:var(--lovelace-font-family-body);font-weight:var(--lovelace-font-weight-regular);font-size:var(--lovelace-font-size-body);line-height:var(--lovelace-line-height-body);text-align:start;overflow-wrap:anywhere;flex-direction:column;justify-content:center;align-items:flex-start;display:flex;box-shadow:0 8px 24px #00000014}[data-theme=dark] .y22qey0{box-shadow:0 8px 24px #ffffff14}._19x8abf1{isolation:isolate;box-sizing:border-box;border-radius:var(--lovelace-border-radius-full);font-family:var(--lovelace-font-family-body);font-weight:var(--lovelace-font-weight-medium);font-size:var(--lovelace-font-size-body);line-height:var(--lovelace-line-height-body);white-space:nowrap;cursor:pointer;-webkit-user-select:none;user-select:none;appearance:none;transition-property:background-color,box-shadow;transition-duration:var(--lovelace-duration-fast);transition-timing-function:var(--lovelace-easing-standard);border:none;outline:none;justify-content:center;align-items:center;display:inline-flex;position:relative;box-shadow:0 4px 14px #0000000f}._19x8abf1:after{content:"";border-radius:inherit;opacity:0;pointer-events:none;z-index:-1;transition:opacity var(--lovelace-duration-fast) var(--lovelace-easing-standard);background-color:currentColor;position:absolute;inset:0}._19x8abf1[data-hovered]:not([data-disabled]):after{opacity:var(--lovelace-opacity-state-hover)}._19x8abf1[data-focus-visible]:not([data-disabled]):after{opacity:var(--lovelace-opacity-state-focus)}._19x8abf1[data-pressed]:not([data-disabled]):after{opacity:var(--lovelace-opacity-state-pressed)}._19x8abf1[data-focus-visible]:not([data-disabled]){box-shadow:0 4px 14px 0 #0000000f, 0 0 0 var(--lovelace-border-width-focus) var(--lovelace-color-border-focus)}._19x8abf2{background-color:var(--lovelace-scrollmarker-background);color:var(--lovelace-scrollmarker-content)}._19x8abf3{background-color:var(--lovelace-color-background-accent);color:var(--lovelace-color-content-on-accent)}._19x8abf4{width:40px;height:40px;padding:0}._19x8abf5{height:38px;padding-inline:var(--lovelace-padding-12);gap:var(--lovelace-gap-8)}._19x8abf0 [data-slot=icon]{font-size:var(--lovelace-icon-size-control);flex-shrink:0}@media (forced-colors:active){._19x8abf1[data-focus-visible]:not([data-disabled]){outline-offset:2px;outline:2px solid highlight}}.mf01c90{box-sizing:border-box;background-color:var(--lovelace-color-background-default);width:100%;min-height:0;max-height:100%;color:var(--lovelace-color-content-default);font-family:var(--lovelace-font-family-body);font-size:var(--lovelace-font-size-body);line-height:var(--lovelace-line-height-body);flex-direction:column;flex:0 auto;display:flex;overflow-y:auto}.mf01c91{height:56px;padding-inline:var(--lovelace-padding-12);box-sizing:border-box;flex-shrink:0;justify-content:center;align-items:center;display:flex;position:relative}.mf01c92{color:var(--lovelace-color-content-default);font-family:var(--lovelace-font-family-body);font-weight:var(--lovelace-font-weight-medium);font-size:var(--lovelace-font-size-body);line-height:var(--lovelace-line-height-body);text-align:center;margin:0}.mf01c93{inset-inline-start:var(--lovelace-padding-12);align-items:center;display:flex;position:absolute;top:0;bottom:0}.mf01c94{inset-inline-end:var(--lovelace-padding-12);align-items:center;display:flex;position:absolute;top:0;bottom:0}[dir=rtl] .mf01c95{transform:scaleX(-1)}.mf01c96{min-height:var(--lovelace-spacing-48);padding:var(--lovelace-padding-12);box-sizing:border-box;scrollbar-width:thin;scrollbar-color:var(--lovelace-color-border-default) transparent;flex:0 auto;overflow-y:auto}.mf01c97{align-items:stretch;gap:var(--lovelace-gap-12);padding:var(--lovelace-padding-12);box-sizing:border-box;flex-direction:column;flex-shrink:0;display:flex}._1hi4ecs0{background-color:var(--lovelace-color-wash-neutral);justify-content:flex-end;align-items:center}._1hi4ecs1{background-color:var(--lovelace-color-background-default);border-start-start-radius:var(--lovelace-border-radius-container);border-start-end-radius:var(--lovelace-border-radius-container);flex-direction:column;width:100%;min-height:0;max-height:80%;display:flex;position:relative;overflow:hidden;box-shadow:0 12px 24px 4px #0000001f}._1hi4ecs1[data-entering],._1hi4ecs1[data-exiting]{transform:translateY(100%)}._1hi4ecs2{outline:none;flex-direction:column;flex:auto;min-height:0;max-height:100%;display:flex}@media (prefers-reduced-motion:no-preference){._1hi4ecs1{transition:transform var(--lovelace-duration-medium) var(--lovelace-easing-standard)}}@keyframes _2rqyvg0{to{transform:rotate(360deg)}}._2rqyvg1{box-sizing:border-box;border-style:solid;border-color:var(--lovelace-color-wash-neutral);border-radius:50%;animation:.8s linear infinite _2rqyvg0;display:inline-block}._2rqyvg1[data-reduced-motion]{animation-duration:2.4s}._2rqyvg2{border-width:2px;width:16px;height:16px}._2rqyvg3{border-width:3px;width:32px;height:32px}._2rqyvg4{border-top-color:var(--lovelace-color-content-default)}._2rqyvg5{border-top-color:var(--lovelace-color-content-on-accent)}@media (prefers-reduced-motion:reduce){._2rqyvg1{animation-duration:2.4s}}.jzxfg70{gap:var(--lovelace-gap-8);flex-direction:column;width:fit-content;display:flex}.jzxfg71{justify-content:center;align-items:center;gap:var(--lovelace-gap-8);flex-wrap:wrap;width:100%;display:flex}.jzxfg72{width:100%;font-family:var(--lovelace-font-family-body);font-weight:var(--lovelace-font-weight-regular);font-size:var(--lovelace-font-size-caption);line-height:var(--lovelace-line-height-caption);color:var(--lovelace-color-content-secondary);justify-content:space-between;display:flex}._1y87qec0{justify-content:center;align-items:center;gap:var(--lovelace-gap-8);flex-wrap:wrap;width:100%;display:flex}@keyframes _9az62f0{0%{background-position-x:200%}to{background-position-x:0%}}@keyframes _9az62f1{0%,80%,to{vertical-align:0}40%{vertical-align:.3em}}._9az62f2{font-family:var(--lovelace-font-family-body);font-weight:var(--lovelace-font-weight-medium);font-size:var(--lovelace-font-size-body);line-height:var(--lovelace-line-height-body);white-space:nowrap;background-image:linear-gradient(90deg, var(--lovelace-color-content-secondary) 0%, var(--lovelace-color-content-secondary) 35%, var(--lovelace-color-content-default) 50%, var(--lovelace-color-content-secondary) 65%, var(--lovelace-color-content-secondary) 100%);color:#0000;-webkit-text-fill-color:transparent;background-repeat:repeat;background-size:200% 100%;-webkit-background-clip:text;background-clip:text;animation:2s linear infinite _9az62f0;display:inline-block}._9az62f3{clip:rect(0, 0, 0, 0);white-space:nowrap;-webkit-user-select:none;user-select:none;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}._9az62f4{display:inline}._9az62f5{line-height:0;animation:1.4s ease-in-out infinite _9az62f1;display:inline}._9az62f5:nth-child(2){animation-delay:.16s}._9az62f5:nth-child(3){animation-delay:.32s}@media (prefers-reduced-motion:reduce){._9az62f2{color:var(--lovelace-color-content-secondary);-webkit-text-fill-color:var(--lovelace-color-content-secondary);background-image:none;animation:none}._9az62f5{animation:none}}.kycjg90{outline:none;flex-direction:column;display:flex;position:relative}.kycjg91{z-index:1;outline:none;position:relative}.kycjg91[data-entering],.kycjg91[data-exiting]{transform:translateY(-100%)}.kycjg91[data-replacing][data-dropped]{z-index:0;position:absolute;top:0;left:0;right:0}.kycjg91[data-focus-visible]{box-shadow:inset 0 0 0 var(--lovelace-border-width-focus) var(--lovelace-color-border-focus)}@media (prefers-reduced-motion:no-preference){.kycjg91{transition:transform var(--lovelace-duration-medium) var(--lovelace-easing-standard)}}@media (forced-colors:active){.kycjg91[data-focus-visible]{outline-offset:-2px;outline:2px solid highlight}}.s6807p0{box-sizing:border-box;max-width:184px;padding:var(--lovelace-spacing-8);border-radius:var(--lovelace-border-radius-6);background-color:var(--lovelace-color-background-inverse);color:var(--lovelace-color-content-inverse);font-family:var(--lovelace-font-family-body);font-weight:var(--lovelace-font-weight-regular);font-size:var(--lovelace-font-size-caption);line-height:var(--lovelace-line-height-caption);text-align:center;word-break:break-word;filter:drop-shadow(0 4px 14px #0000000f)}.s6807p0[data-entering],.s6807p0[data-exiting]{opacity:0}.s6807p1{display:block}.s6807p2{fill:var(--lovelace-color-background-inverse);display:block}.s6807p0[data-placement^=top] .s6807p2{transform:rotate(0)}.s6807p0[data-placement^=bottom] .s6807p2{transform:rotate(180deg)}.s6807p0[data-placement^=left] .s6807p2{transform:rotate(-90deg)}.s6807p0[data-placement^=right] .s6807p2{transform:rotate(90deg)}@media (prefers-reduced-motion:no-preference){.s6807p0{transition:opacity var(--lovelace-duration-fast) var(--lovelace-easing-standard)}}@keyframes bwq5ac0{0%,60%,to{transform:translateY(0)}30%{transform:translateY(-4px)}}.bwq5ac1{align-items:center;gap:var(--lovelace-gap-4);height:38px;padding-inline:var(--lovelace-padding-20);background-color:var(--lovelace-color-background-quaternary);border-start-start-radius:var(--lovelace-border-radius-20);border-start-end-radius:var(--lovelace-border-radius-20);border-end-end-radius:var(--lovelace-border-radius-20);border-end-start-radius:0;display:inline-flex}.bwq5ac2{clip:rect(0, 0, 0, 0);white-space:nowrap;-webkit-user-select:none;user-select:none;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.bwq5ac3{width:var(--lovelace-spacing-8);height:var(--lovelace-spacing-8);border-radius:var(--lovelace-border-radius-full);background-color:var(--lovelace-color-content-default);flex-shrink:0;animation:.9s ease-in-out infinite bwq5ac0}.bwq5ac3:nth-child(2){animation-delay:.15s}.bwq5ac3:nth-child(3){animation-delay:.3s}@media (prefers-reduced-motion:reduce){.bwq5ac3{animation:none}}.jxp4or0{box-sizing:border-box;width:fit-content;max-width:100%;padding-inline:var(--lovelace-padding-12);padding-block:var(--lovelace-padding-8);border-radius:var(--lovelace-border-radius-message);background-color:var(--lovelace-message-user-background);align-items:center;display:flex}.jxp4or1{--lovelace-message-content-default:var(--lovelace-message-user-content);--lovelace-message-content-link:var(--lovelace-message-user-content)}.v51xfr0{box-sizing:border-box;border-radius:var(--lovelace-border-radius-media-preview);justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.v51xfr1{aspect-ratio:16/9}.v51xfr2{aspect-ratio:4/3}.v51xfr3{aspect-ratio:1}.v51xfr4{aspect-ratio:3/4}.v51xfr5{aspect-ratio:9/16}.v51xfr6{background-color:var(--lovelace-color-background-disabled);color:var(--lovelace-color-content-disabled);border:var(--lovelace-border-width-default) solid var(--lovelace-color-border-default)}.v51xfr8{border-radius:inherit;background-color:var(--lovelace-color-wash-neutral);position:absolute;inset:0;overflow:hidden}.v51xfr9{font-size:var(--lovelace-icon-size-lg)}
2
2
  /*$vite$:1*/
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ada-cx/lovelace",
3
- "version": "1.11.0",
3
+ "version": "1.12.0",
4
4
  "description": "Ada's messaging design system primitives: React Aria Components behavior, vanilla-extract styling, Figma-generated design tokens.",
5
5
  "license": "ISC",
6
6
  "type": "module",