@ada-cx/lovelace 1.14.0 → 1.15.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 (34) hide show
  1. package/dist/components/AttachmentChip/AttachmentChip.css.js.map +1 -1
  2. package/dist/components/Button/Button.css.js.map +1 -1
  3. package/dist/components/Checkbox/Checkbox.css.js.map +1 -1
  4. package/dist/components/Chip/Chip.css.js.map +1 -1
  5. package/dist/components/Dialog/Dialog.css.js.map +1 -1
  6. package/dist/components/Divider/Divider.css.js.map +1 -1
  7. package/dist/components/DropZone/DropZone.css.js.map +1 -1
  8. package/dist/components/Header/Header.css.js.map +1 -1
  9. package/dist/components/Header/HeaderTitle.d.ts +13 -4
  10. package/dist/components/Header/HeaderTitle.js +9 -7
  11. package/dist/components/Header/HeaderTitle.js.map +1 -1
  12. package/dist/components/Input/Input.css.js.map +1 -1
  13. package/dist/components/Link/Link.css.js.map +1 -1
  14. package/dist/components/MessageError/MessageError.css.js.map +1 -1
  15. package/dist/components/PillButton/PillButton.css.js.map +1 -1
  16. package/dist/components/ProactiveMessage/ProactiveMessage.css.js.map +1 -1
  17. package/dist/components/Radio/Radio.css.js.map +1 -1
  18. package/dist/components/ScrollMarker/ScrollMarker.css.js.map +1 -1
  19. package/dist/components/Sheet/Sheet.css.js.map +1 -1
  20. package/dist/components/Survey/SurveyRating/SurveyRating.css.js.map +1 -1
  21. package/dist/components/Text/Text.css.d.ts +13 -0
  22. package/dist/components/Text/Text.css.js +28 -0
  23. package/dist/components/Text/Text.css.js.map +1 -0
  24. package/dist/components/Text/Text.d.ts +30 -0
  25. package/dist/components/Text/Text.js +17 -0
  26. package/dist/components/Text/Text.js.map +1 -0
  27. package/dist/components/Text/index.d.ts +3 -0
  28. package/dist/components/ThinkingShimmer/ThinkingShimmer.css.js.map +1 -1
  29. package/dist/components/Tooltip/Tooltip.css.js.map +1 -1
  30. package/dist/index.d.ts +1 -0
  31. package/dist/index.js +13 -12
  32. package/dist/style.css +1 -1
  33. package/dist/styles/typography.d.ts +32 -0
  34. package/package.json +1 -1
@@ -1 +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":""}
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 { typography } from \"../../styles/typography.js\";\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\t...typography(\"body\", \"regular\"),\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":""}
@@ -1 +1 @@
1
- {"version":3,"file":"Button.css.js","names":[],"sources":["../../../src/components/Button/Button.css.ts"],"sourcesContent":["import { globalStyle, style } from \"@vanilla-extract/css\";\nimport { recipe } from \"@vanilla-extract/recipes\";\nimport { t } from \"../../tokens/index.js\";\n\nconst buttonBase = style({});\n\nexport const buttonRoot = recipe({\n\tbase: [\n\t\tbuttonBase,\n\t\t{\n\t\t\tposition: \"relative\",\n\t\t\tisolation: \"isolate\",\n\t\t\tdisplay: \"inline-flex\",\n\t\t\talignItems: \"center\",\n\t\t\tjustifyContent: \"center\",\n\t\t\tgap: t(\"gap-8\"),\n\t\t\tpaddingInline: t(\"padding-12\"),\n\t\t\tboxSizing: \"border-box\",\n\t\t\tborder: `${t(\"border-width-default\")} solid transparent`,\n\t\t\tborderRadius: t(\"border-radius-button\"),\n\t\t\tfontFamily: t(\"font-family-body\"),\n\t\t\tfontWeight: t(\"font-weight-medium\"),\n\t\t\tfontSize: t(\"font-size-body\"),\n\t\t\tlineHeight: t(\"line-height-body\"),\n\t\t\twhiteSpace: \"nowrap\",\n\t\t\tcursor: \"pointer\",\n\t\t\tuserSelect: \"none\",\n\t\t\tappearance: \"none\",\n\t\t\ttextDecoration: \"none\",\n\t\t\toutline: \"none\",\n\t\t\ttransitionProperty: \"background-color, border-color\",\n\t\t\ttransitionDuration: t(\"duration-fast\"),\n\t\t\ttransitionTimingFunction: t(\"easing-standard\"),\n\t\t\t\"::after\": {\n\t\t\t\tcontent: '\"\"',\n\t\t\t\tposition: \"absolute\",\n\t\t\t\tinset: 0,\n\t\t\t\tborderRadius: \"inherit\",\n\t\t\t\tbackgroundColor: \"currentColor\",\n\t\t\t\topacity: 0,\n\t\t\t\tpointerEvents: \"none\",\n\t\t\t\tzIndex: -1,\n\t\t\t\ttransition: `opacity ${t(\"duration-fast\")} ${t(\"easing-standard\")}`,\n\t\t\t},\n\t\t\tselectors: {\n\t\t\t\t\"&[data-hovered]:not([data-disabled])::after\": {\n\t\t\t\t\topacity: t(\"opacity-state-hover\"),\n\t\t\t\t},\n\t\t\t\t\"&[data-focus-visible]:not([data-disabled])::after\": {\n\t\t\t\t\topacity: t(\"opacity-state-focus\"),\n\t\t\t\t},\n\t\t\t\t\"&[data-pressed]:not([data-disabled])::after\": {\n\t\t\t\t\topacity: t(\"opacity-state-pressed\"),\n\t\t\t\t},\n\t\t\t\t\"&[data-focus-visible]:not([data-disabled])\": {\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\"&[data-disabled]\": {\n\t\t\t\t\tcursor: \"not-allowed\",\n\t\t\t\t\tcolor: t(\"color-content-disabled\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\t\"@media\": {\n\t\t\t\t\"(forced-colors: active)\": {\n\t\t\t\t\tselectors: {\n\t\t\t\t\t\t\"&[data-focus-visible]:not([data-disabled])\": {\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\tintent: {\n\t\t\tprimary: {\n\t\t\t\tbackgroundColor: t(\"button-primary-background\"),\n\t\t\t\tcolor: t(\"button-primary-content\"),\n\t\t\t\tselectors: {\n\t\t\t\t\t\"&[data-disabled]\": {\n\t\t\t\t\t\tbackgroundColor: t(\"color-background-disabled\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\t\"primary-destructive\": {\n\t\t\t\tbackgroundColor: t(\"color-background-destructive\"),\n\t\t\t\tcolor: t(\"color-content-on-destructive\"),\n\t\t\t\tselectors: {\n\t\t\t\t\t\"&[data-disabled]\": {\n\t\t\t\t\t\tbackgroundColor: t(\"color-background-disabled\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tsecondary: {\n\t\t\t\tbackgroundColor: t(\"color-background-default\"),\n\t\t\t\tcolor: t(\"color-content-default\"),\n\t\t\t\tborderColor: t(\"color-border-default\"),\n\t\t\t},\n\t\t\t\"secondary-destructive\": {\n\t\t\t\tbackgroundColor: t(\"color-background-default\"),\n\t\t\t\tcolor: t(\"color-content-destructive\"),\n\t\t\t\tborderColor: t(\"color-border-destructive\"),\n\t\t\t},\n\t\t\ttertiary: {\n\t\t\t\tbackgroundColor: \"transparent\",\n\t\t\t\tcolor: t(\"color-content-default\"),\n\t\t\t},\n\t\t\t\"tertiary-destructive\": {\n\t\t\t\tbackgroundColor: \"transparent\",\n\t\t\t\tcolor: t(\"color-content-destructive\"),\n\t\t\t},\n\t\t},\n\t\t// Hardcoded heights are correct.\n\t\tsize: {\n\t\t\tmd: { height: \"40px\" },\n\t\t\tsm: { height: \"32px\" },\n\t\t},\n\t},\n\tdefaultVariants: {\n\t\tintent: \"primary\",\n\t\tsize: \"md\",\n\t},\n});\n\nglobalStyle(`${buttonBase} [data-slot='icon']`, {\n\tflexShrink: 0,\n\tfontSize: t(\"icon-size-control\"),\n});\n"],"mappings":""}
1
+ {"version":3,"file":"Button.css.js","names":[],"sources":["../../../src/components/Button/Button.css.ts"],"sourcesContent":["import { globalStyle, style } from \"@vanilla-extract/css\";\nimport { recipe } from \"@vanilla-extract/recipes\";\nimport { typography } from \"../../styles/typography.js\";\nimport { t } from \"../../tokens/index.js\";\n\nconst buttonBase = style({});\n\nexport const buttonRoot = recipe({\n\tbase: [\n\t\tbuttonBase,\n\t\t{\n\t\t\tposition: \"relative\",\n\t\t\tisolation: \"isolate\",\n\t\t\tdisplay: \"inline-flex\",\n\t\t\talignItems: \"center\",\n\t\t\tjustifyContent: \"center\",\n\t\t\tgap: t(\"gap-8\"),\n\t\t\tpaddingInline: t(\"padding-12\"),\n\t\t\tboxSizing: \"border-box\",\n\t\t\tborder: `${t(\"border-width-default\")} solid transparent`,\n\t\t\tborderRadius: t(\"border-radius-button\"),\n\t\t\t...typography(\"body\", \"medium\"),\n\t\t\twhiteSpace: \"nowrap\",\n\t\t\tcursor: \"pointer\",\n\t\t\tuserSelect: \"none\",\n\t\t\tappearance: \"none\",\n\t\t\ttextDecoration: \"none\",\n\t\t\toutline: \"none\",\n\t\t\ttransitionProperty: \"background-color, border-color\",\n\t\t\ttransitionDuration: t(\"duration-fast\"),\n\t\t\ttransitionTimingFunction: t(\"easing-standard\"),\n\t\t\t\"::after\": {\n\t\t\t\tcontent: '\"\"',\n\t\t\t\tposition: \"absolute\",\n\t\t\t\tinset: 0,\n\t\t\t\tborderRadius: \"inherit\",\n\t\t\t\tbackgroundColor: \"currentColor\",\n\t\t\t\topacity: 0,\n\t\t\t\tpointerEvents: \"none\",\n\t\t\t\tzIndex: -1,\n\t\t\t\ttransition: `opacity ${t(\"duration-fast\")} ${t(\"easing-standard\")}`,\n\t\t\t},\n\t\t\tselectors: {\n\t\t\t\t\"&[data-hovered]:not([data-disabled])::after\": {\n\t\t\t\t\topacity: t(\"opacity-state-hover\"),\n\t\t\t\t},\n\t\t\t\t\"&[data-focus-visible]:not([data-disabled])::after\": {\n\t\t\t\t\topacity: t(\"opacity-state-focus\"),\n\t\t\t\t},\n\t\t\t\t\"&[data-pressed]:not([data-disabled])::after\": {\n\t\t\t\t\topacity: t(\"opacity-state-pressed\"),\n\t\t\t\t},\n\t\t\t\t\"&[data-focus-visible]:not([data-disabled])\": {\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\"&[data-disabled]\": {\n\t\t\t\t\tcursor: \"not-allowed\",\n\t\t\t\t\tcolor: t(\"color-content-disabled\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\t\"@media\": {\n\t\t\t\t\"(forced-colors: active)\": {\n\t\t\t\t\tselectors: {\n\t\t\t\t\t\t\"&[data-focus-visible]:not([data-disabled])\": {\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\tintent: {\n\t\t\tprimary: {\n\t\t\t\tbackgroundColor: t(\"button-primary-background\"),\n\t\t\t\tcolor: t(\"button-primary-content\"),\n\t\t\t\tselectors: {\n\t\t\t\t\t\"&[data-disabled]\": {\n\t\t\t\t\t\tbackgroundColor: t(\"color-background-disabled\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\t\"primary-destructive\": {\n\t\t\t\tbackgroundColor: t(\"color-background-destructive\"),\n\t\t\t\tcolor: t(\"color-content-on-destructive\"),\n\t\t\t\tselectors: {\n\t\t\t\t\t\"&[data-disabled]\": {\n\t\t\t\t\t\tbackgroundColor: t(\"color-background-disabled\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tsecondary: {\n\t\t\t\tbackgroundColor: t(\"color-background-default\"),\n\t\t\t\tcolor: t(\"color-content-default\"),\n\t\t\t\tborderColor: t(\"color-border-default\"),\n\t\t\t},\n\t\t\t\"secondary-destructive\": {\n\t\t\t\tbackgroundColor: t(\"color-background-default\"),\n\t\t\t\tcolor: t(\"color-content-destructive\"),\n\t\t\t\tborderColor: t(\"color-border-destructive\"),\n\t\t\t},\n\t\t\ttertiary: {\n\t\t\t\tbackgroundColor: \"transparent\",\n\t\t\t\tcolor: t(\"color-content-default\"),\n\t\t\t},\n\t\t\t\"tertiary-destructive\": {\n\t\t\t\tbackgroundColor: \"transparent\",\n\t\t\t\tcolor: t(\"color-content-destructive\"),\n\t\t\t},\n\t\t},\n\t\t// Hardcoded heights are correct.\n\t\tsize: {\n\t\t\tmd: { height: \"40px\" },\n\t\t\tsm: { height: \"32px\" },\n\t\t},\n\t},\n\tdefaultVariants: {\n\t\tintent: \"primary\",\n\t\tsize: \"md\",\n\t},\n});\n\nglobalStyle(`${buttonBase} [data-slot='icon']`, {\n\tflexShrink: 0,\n\tfontSize: t(\"icon-size-control\"),\n});\n"],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"Checkbox.css.js","names":[],"sources":["../../../src/components/Checkbox/Checkbox.css.ts"],"sourcesContent":["import { globalStyle, style } from \"@vanilla-extract/css\";\nimport { recipe } from \"@vanilla-extract/recipes\";\nimport {\n\tcontrolRowFrame,\n\tcontrolRowSlotRules,\n} from \"../../styles/control-row.js\";\nimport { t } from \"../../tokens/index.js\";\n\n// 24px box + 16px glyph mirror Figma's fixed frame sizes (button-size/xs,\n// icon-size/md), which the token set does not expose as spacing values.\nconst BOX_SIZE = \"24px\";\nconst GLYPH_SIZE = \"16px\";\n\nexport const checkboxGroup = style({\n\tdisplay: \"flex\",\n\tflexDirection: \"column\",\n\tgap: t(\"gap-20\"),\n});\n\n// Empty handle classes: a recipe can't target a descendant, so the row variant's\n// slot rules are attached to a stable class instead (same trick as Button's base).\nconst checkboxRowBase = style({});\n\n/**\n * The RAC `Checkbox` label. `inline` lays the box out beside an optional label;\n * `row` is the 40px selectable row Figma draws for a menu item, for a\n * `CheckboxGroup` rendered as a list of options.\n */\nexport const checkboxRoot = recipe({\n\tbase: {\n\t\tfontFamily: t(\"font-family-body\"),\n\t\tfontWeight: t(\"font-weight-regular\"),\n\t\tfontSize: t(\"font-size-body\"),\n\t\tlineHeight: t(\"line-height-body\"),\n\t\tcolor: t(\"color-content-default\"),\n\t\tcursor: \"pointer\",\n\t\tuserSelect: \"none\",\n\t\toutline: \"none\",\n\t\tselectors: {\n\t\t\t\"&[data-disabled]\": {\n\t\t\t\tcursor: \"not-allowed\",\n\t\t\t\tcolor: t(\"color-content-disabled\"),\n\t\t\t},\n\t\t},\n\t},\n\tvariants: {\n\t\tvariant: {\n\t\t\tinline: {\n\t\t\t\tdisplay: \"inline-flex\",\n\t\t\t\talignItems: \"center\",\n\t\t\t\tgap: t(\"gap-12\"),\n\t\t\t},\n\t\t\trow: [checkboxRowBase, controlRowFrame],\n\t\t},\n\t},\n\tdefaultVariants: { variant: \"inline\" },\n});\n\nglobalStyle(\n\t`${checkboxRowBase} > [data-slot=\"icon\"]`,\n\tcontrolRowSlotRules.icon,\n);\nglobalStyle(\n\t`${checkboxRowBase} > [data-slot=\"label\"]`,\n\tcontrolRowSlotRules.label,\n);\n\n/**\n * The 24px indicator. Its geometry is fixed in every state — a rigid `border-box`\n * square with an always-present 1px border (transparent when filled) and a\n * `box-shadow` focus ring — so selecting/focusing never reflows it.\n *\n * Selection/interaction state lives on the host element (the RAC label, or a\n * `MenuItem` row), so the state rules below are child selectors driven from\n * whichever host carries React Aria's `data-*`. `color` is the inverse content\n * color: it feeds both the glyph stroke and the `currentColor` state-layer\n * overlay, so the overlay is invisible over the light unchecked box (Figma changes\n * only the border on hover) yet lightens the dark filled box.\n */\nexport const checkboxBox = style({\n\tposition: \"relative\",\n\tisolation: \"isolate\",\n\tboxSizing: \"border-box\",\n\tflexShrink: 0,\n\twidth: BOX_SIZE,\n\theight: BOX_SIZE,\n\tborderRadius: t(\"border-radius-6\"),\n\tborderStyle: \"solid\",\n\tborderWidth: t(\"border-width-default\"),\n\tborderColor: t(\"color-border-default\"),\n\tbackgroundColor: t(\"color-background-default\"),\n\tcolor: t(\"color-content-inverse\"),\n\t// No background-color transition, so the fill flips instantly and lands with the glyph.\n\ttransitionProperty: \"border-color, box-shadow\",\n\ttransitionDuration: t(\"duration-fast\"),\n\ttransitionTimingFunction: t(\"easing-standard\"),\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\ttransition: `opacity ${t(\"duration-fast\")} ${t(\"easing-standard\")}`,\n\t},\n});\n\n/**\n * Checkmark / dash glyph — absolutely centered and toggled by opacity, never\n * in-flow, so revealing it can never shift the box.\n */\nexport const checkboxGlyph = style({\n\tposition: \"absolute\",\n\tinset: 0,\n\tmargin: \"auto\",\n\twidth: GLYPH_SIZE,\n\theight: GLYPH_SIZE,\n\tcolor: \"currentColor\",\n\topacity: 0,\n\tpointerEvents: \"none\",\n});\n\n// Selection and disabled are host-agnostic: any element carrying React Aria's\n// `data-*` drives the box directly below it. Interaction (hover border, state\n// layer, focus ring) additionally requires `[data-state-layer]`, which the\n// indicator sets only when it is the sole affordance — inside a row the row\n// paints those itself.\n\n// Border goes transparent when filled so it folds into the fill (no ring).\nglobalStyle(\n\t`[data-selected] > ${checkboxBox}, [data-indeterminate] > ${checkboxBox}`,\n\t{\n\t\tbackgroundColor: t(\"color-background-inverse\"),\n\t\tborderColor: \"transparent\",\n\t},\n);\n\n// Unchecked hover darkens the border (Figma color/border/medium).\nglobalStyle(\n\t`[data-hovered]:not([data-disabled]):not([data-selected]):not([data-indeterminate]) > ${checkboxBox}[data-state-layer]`,\n\t{ borderColor: t(\"color-border-medium\") },\n);\n\n// State layer — currentColor overlay at per-state opacity, tracking box content color.\nglobalStyle(\n\t`[data-hovered]:not([data-disabled]) > ${checkboxBox}[data-state-layer]::after`,\n\t{ opacity: t(\"opacity-state-hover\") },\n);\nglobalStyle(\n\t`[data-focus-visible]:not([data-disabled]) > ${checkboxBox}[data-state-layer]::after`,\n\t{ opacity: t(\"opacity-state-focus\") },\n);\nglobalStyle(\n\t`[data-pressed]:not([data-disabled]) > ${checkboxBox}[data-state-layer]::after`,\n\t{ opacity: t(\"opacity-state-pressed\") },\n);\n\n// Focus ring — box-shadow, so it never changes the box's size.\nglobalStyle(\n\t`[data-focus-visible]:not([data-disabled]) > ${checkboxBox}[data-state-layer]`,\n\t{ boxShadow: `0 0 0 ${t(\"border-width-focus\")} ${t(\"color-border-focus\")}` },\n);\n\nglobalStyle(\n\t`[data-focus-visible]:not([data-disabled]) > ${checkboxBox}[data-state-layer]`,\n\t{\n\t\t\"@media\": {\n\t\t\t\"(forced-colors: active)\": {\n\t\t\t\toutline: \"2px solid Highlight\",\n\t\t\t\toutlineOffset: \"2px\",\n\t\t\t},\n\t\t},\n\t},\n);\n\n// Disabled wins over the filled rule: light fill, default border, faded glyph\n// (Figma color/content/disabled).\nglobalStyle(`[data-disabled] > ${checkboxBox}`, {\n\tbackgroundColor: t(\"color-background-disabled\"),\n\tborderColor: t(\"color-border-default\"),\n\tcolor: t(\"color-content-disabled\"),\n});\n\n// Reveal the matching glyph. Dash wins for the mixed state; the check shows only\n// when selected and not indeterminate.\nglobalStyle(\n\t`[data-selected]:not([data-indeterminate]) > ${checkboxBox} > ${checkboxGlyph}[data-glyph=\"check\"]`,\n\t{ opacity: 1 },\n);\nglobalStyle(\n\t`[data-indeterminate] > ${checkboxBox} > ${checkboxGlyph}[data-glyph=\"dash\"]`,\n\t{ opacity: 1 },\n);\n"],"mappings":""}
1
+ {"version":3,"file":"Checkbox.css.js","names":[],"sources":["../../../src/components/Checkbox/Checkbox.css.ts"],"sourcesContent":["import { globalStyle, style } from \"@vanilla-extract/css\";\nimport { recipe } from \"@vanilla-extract/recipes\";\nimport {\n\tcontrolRowFrame,\n\tcontrolRowSlotRules,\n} from \"../../styles/control-row.js\";\nimport { typography } from \"../../styles/typography.js\";\nimport { t } from \"../../tokens/index.js\";\n\n// 24px box + 16px glyph mirror Figma's fixed frame sizes (button-size/xs,\n// icon-size/md), which the token set does not expose as spacing values.\nconst BOX_SIZE = \"24px\";\nconst GLYPH_SIZE = \"16px\";\n\nexport const checkboxGroup = style({\n\tdisplay: \"flex\",\n\tflexDirection: \"column\",\n\tgap: t(\"gap-20\"),\n});\n\n// Empty handle classes: a recipe can't target a descendant, so the row variant's\n// slot rules are attached to a stable class instead (same trick as Button's base).\nconst checkboxRowBase = style({});\n\n/**\n * The RAC `Checkbox` label. `inline` lays the box out beside an optional label;\n * `row` is the 40px selectable row Figma draws for a menu item, for a\n * `CheckboxGroup` rendered as a list of options.\n */\nexport const checkboxRoot = recipe({\n\tbase: {\n\t\t...typography(\"body\", \"regular\"),\n\t\tcolor: t(\"color-content-default\"),\n\t\tcursor: \"pointer\",\n\t\tuserSelect: \"none\",\n\t\toutline: \"none\",\n\t\tselectors: {\n\t\t\t\"&[data-disabled]\": {\n\t\t\t\tcursor: \"not-allowed\",\n\t\t\t\tcolor: t(\"color-content-disabled\"),\n\t\t\t},\n\t\t},\n\t},\n\tvariants: {\n\t\tvariant: {\n\t\t\tinline: {\n\t\t\t\tdisplay: \"inline-flex\",\n\t\t\t\talignItems: \"center\",\n\t\t\t\tgap: t(\"gap-12\"),\n\t\t\t},\n\t\t\trow: [checkboxRowBase, controlRowFrame],\n\t\t},\n\t},\n\tdefaultVariants: { variant: \"inline\" },\n});\n\nglobalStyle(\n\t`${checkboxRowBase} > [data-slot=\"icon\"]`,\n\tcontrolRowSlotRules.icon,\n);\nglobalStyle(\n\t`${checkboxRowBase} > [data-slot=\"label\"]`,\n\tcontrolRowSlotRules.label,\n);\n\n/**\n * The 24px indicator. Its geometry is fixed in every state — a rigid `border-box`\n * square with an always-present 1px border (transparent when filled) and a\n * `box-shadow` focus ring — so selecting/focusing never reflows it.\n *\n * Selection/interaction state lives on the host element (the RAC label, or a\n * `MenuItem` row), so the state rules below are child selectors driven from\n * whichever host carries React Aria's `data-*`. `color` is the inverse content\n * color: it feeds both the glyph stroke and the `currentColor` state-layer\n * overlay, so the overlay is invisible over the light unchecked box (Figma changes\n * only the border on hover) yet lightens the dark filled box.\n */\nexport const checkboxBox = style({\n\tposition: \"relative\",\n\tisolation: \"isolate\",\n\tboxSizing: \"border-box\",\n\tflexShrink: 0,\n\twidth: BOX_SIZE,\n\theight: BOX_SIZE,\n\tborderRadius: t(\"border-radius-6\"),\n\tborderStyle: \"solid\",\n\tborderWidth: t(\"border-width-default\"),\n\tborderColor: t(\"color-border-default\"),\n\tbackgroundColor: t(\"color-background-default\"),\n\tcolor: t(\"color-content-inverse\"),\n\t// No background-color transition, so the fill flips instantly and lands with the glyph.\n\ttransitionProperty: \"border-color, box-shadow\",\n\ttransitionDuration: t(\"duration-fast\"),\n\ttransitionTimingFunction: t(\"easing-standard\"),\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\ttransition: `opacity ${t(\"duration-fast\")} ${t(\"easing-standard\")}`,\n\t},\n});\n\n/**\n * Checkmark / dash glyph — absolutely centered and toggled by opacity, never\n * in-flow, so revealing it can never shift the box.\n */\nexport const checkboxGlyph = style({\n\tposition: \"absolute\",\n\tinset: 0,\n\tmargin: \"auto\",\n\twidth: GLYPH_SIZE,\n\theight: GLYPH_SIZE,\n\tcolor: \"currentColor\",\n\topacity: 0,\n\tpointerEvents: \"none\",\n});\n\n// Selection and disabled are host-agnostic: any element carrying React Aria's\n// `data-*` drives the box directly below it. Interaction (hover border, state\n// layer, focus ring) additionally requires `[data-state-layer]`, which the\n// indicator sets only when it is the sole affordance — inside a row the row\n// paints those itself.\n\n// Border goes transparent when filled so it folds into the fill (no ring).\nglobalStyle(\n\t`[data-selected] > ${checkboxBox}, [data-indeterminate] > ${checkboxBox}`,\n\t{\n\t\tbackgroundColor: t(\"color-background-inverse\"),\n\t\tborderColor: \"transparent\",\n\t},\n);\n\n// Unchecked hover darkens the border (Figma color/border/medium).\nglobalStyle(\n\t`[data-hovered]:not([data-disabled]):not([data-selected]):not([data-indeterminate]) > ${checkboxBox}[data-state-layer]`,\n\t{ borderColor: t(\"color-border-medium\") },\n);\n\n// State layer — currentColor overlay at per-state opacity, tracking box content color.\nglobalStyle(\n\t`[data-hovered]:not([data-disabled]) > ${checkboxBox}[data-state-layer]::after`,\n\t{ opacity: t(\"opacity-state-hover\") },\n);\nglobalStyle(\n\t`[data-focus-visible]:not([data-disabled]) > ${checkboxBox}[data-state-layer]::after`,\n\t{ opacity: t(\"opacity-state-focus\") },\n);\nglobalStyle(\n\t`[data-pressed]:not([data-disabled]) > ${checkboxBox}[data-state-layer]::after`,\n\t{ opacity: t(\"opacity-state-pressed\") },\n);\n\n// Focus ring — box-shadow, so it never changes the box's size.\nglobalStyle(\n\t`[data-focus-visible]:not([data-disabled]) > ${checkboxBox}[data-state-layer]`,\n\t{ boxShadow: `0 0 0 ${t(\"border-width-focus\")} ${t(\"color-border-focus\")}` },\n);\n\nglobalStyle(\n\t`[data-focus-visible]:not([data-disabled]) > ${checkboxBox}[data-state-layer]`,\n\t{\n\t\t\"@media\": {\n\t\t\t\"(forced-colors: active)\": {\n\t\t\t\toutline: \"2px solid Highlight\",\n\t\t\t\toutlineOffset: \"2px\",\n\t\t\t},\n\t\t},\n\t},\n);\n\n// Disabled wins over the filled rule: light fill, default border, faded glyph\n// (Figma color/content/disabled).\nglobalStyle(`[data-disabled] > ${checkboxBox}`, {\n\tbackgroundColor: t(\"color-background-disabled\"),\n\tborderColor: t(\"color-border-default\"),\n\tcolor: t(\"color-content-disabled\"),\n});\n\n// Reveal the matching glyph. Dash wins for the mixed state; the check shows only\n// when selected and not indeterminate.\nglobalStyle(\n\t`[data-selected]:not([data-indeterminate]) > ${checkboxBox} > ${checkboxGlyph}[data-glyph=\"check\"]`,\n\t{ opacity: 1 },\n);\nglobalStyle(\n\t`[data-indeterminate] > ${checkboxBox} > ${checkboxGlyph}[data-glyph=\"dash\"]`,\n\t{ opacity: 1 },\n);\n"],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"Chip.css.js","names":[],"sources":["../../../src/components/Chip/Chip.css.ts"],"sourcesContent":["import { globalStyle, style } from \"@vanilla-extract/css\";\nimport { recipe } from \"@vanilla-extract/recipes\";\nimport { t } from \"../../tokens/index.js\";\n\nconst chipBase = style({});\n\nexport const chipRoot = recipe({\n\tbase: [\n\t\tchipBase,\n\t\t{\n\t\t\tposition: \"relative\",\n\t\t\tisolation: \"isolate\",\n\t\t\tdisplay: \"inline-flex\",\n\t\t\talignItems: \"center\",\n\t\t\tjustifyContent: \"center\",\n\t\t\tboxSizing: \"border-box\",\n\t\t\tborder: `${t(\"border-width-default\")} solid transparent`,\n\t\t\tfontFamily: t(\"font-family-body\"),\n\t\t\tfontWeight: t(\"font-weight-medium\"),\n\t\t\tfontSize: t(\"font-size-body\"),\n\t\t\tlineHeight: t(\"line-height-body\"),\n\t\t\twhiteSpace: \"nowrap\",\n\t\t\tcursor: \"pointer\",\n\t\t\tuserSelect: \"none\",\n\t\t\tappearance: \"none\",\n\t\t\toutline: \"none\",\n\t\t\ttransitionProperty: \"background-color, border-color\",\n\t\t\ttransitionDuration: t(\"duration-fast\"),\n\t\t\ttransitionTimingFunction: t(\"easing-standard\"),\n\t\t\t\"::after\": {\n\t\t\t\tcontent: '\"\"',\n\t\t\t\tposition: \"absolute\",\n\t\t\t\tinset: 0,\n\t\t\t\tborderRadius: \"inherit\",\n\t\t\t\tbackgroundColor: \"currentColor\",\n\t\t\t\topacity: 0,\n\t\t\t\tpointerEvents: \"none\",\n\t\t\t\tzIndex: -1,\n\t\t\t\ttransition: `opacity ${t(\"duration-fast\")} ${t(\"easing-standard\")}`,\n\t\t\t},\n\t\t\tselectors: {\n\t\t\t\t\"&:not([data-selected])\": {\n\t\t\t\t\tbackgroundColor: t(\"color-background-default\"),\n\t\t\t\t\tcolor: t(\"color-content-default\"),\n\t\t\t\t\tborderColor: t(\"color-border-default\"),\n\t\t\t\t},\n\t\t\t\t\"&[data-selected]\": {\n\t\t\t\t\tbackgroundColor: t(\"chip-background-selected\"),\n\t\t\t\t\tcolor: t(\"color-content-on-accent\"),\n\t\t\t\t\tborderColor: \"transparent\",\n\t\t\t\t},\n\t\t\t\t\"&[data-hovered]:not([data-disabled])::after\": {\n\t\t\t\t\topacity: t(\"opacity-state-hover\"),\n\t\t\t\t},\n\t\t\t\t\"&[data-focus-visible]:not([data-disabled])::after\": {\n\t\t\t\t\topacity: t(\"opacity-state-focus\"),\n\t\t\t\t},\n\t\t\t\t\"&[data-pressed]:not([data-disabled])::after\": {\n\t\t\t\t\topacity: t(\"opacity-state-pressed\"),\n\t\t\t\t},\n\t\t\t\t// Focus: inner 1px accent border + outer 2px focus ring (Figma double ring).\n\t\t\t\t\"&[data-focus-visible]:not([data-disabled])\": {\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\"&[data-disabled]\": {\n\t\t\t\t\tcursor: \"not-allowed\",\n\t\t\t\t\tcolor: t(\"color-content-disabled\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\t\"@media\": {\n\t\t\t\t\"(forced-colors: active)\": {\n\t\t\t\t\tselectors: {\n\t\t\t\t\t\t\"&[data-focus-visible]:not([data-disabled])\": {\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// A flexible, min-80px pill; height comes from the size compound variants.\n\t\t\ttext: {\n\t\t\t\tminWidth: \"80px\",\n\t\t\t\tpaddingInline: t(\"padding-12\"),\n\t\t\t\tborderRadius: t(\"border-radius-pill\"),\n\t\t\t},\n\t\t\ticon: { borderRadius: t(\"border-radius-button\") },\n\t\t\tnumber: { borderRadius: t(\"border-radius-button\") },\n\t\t},\n\t\tsize: {\n\t\t\tmd: {},\n\t\t\tlg: {},\n\t\t},\n\t},\n\t// Dimensions per variant×size. Hardcoded px mirror Figma's fixed frame sizes;\n\t// text is a flexible pill (height only), icon/number are square. The large number\n\t// chip carries its own type size: at 48px the digit is the control's content, not\n\t// a label on it, so body type under-reads it.\n\tcompoundVariants: [\n\t\t{\n\t\t\tvariants: { variant: \"text\", size: \"md\" },\n\t\t\tstyle: { height: \"40px\" },\n\t\t},\n\t\t{\n\t\t\tvariants: { variant: \"text\", size: \"lg\" },\n\t\t\tstyle: { height: \"48px\" },\n\t\t},\n\t\t{\n\t\t\tvariants: { variant: \"icon\", size: \"md\" },\n\t\t\tstyle: { width: \"40px\", height: \"40px\" },\n\t\t},\n\t\t{\n\t\t\tvariants: { variant: \"icon\", size: \"lg\" },\n\t\t\tstyle: { width: \"48px\", height: \"48px\" },\n\t\t},\n\t\t{\n\t\t\tvariants: { variant: \"number\", size: \"md\" },\n\t\t\tstyle: { width: \"40px\", height: \"40px\" },\n\t\t},\n\t\t{\n\t\t\tvariants: { variant: \"number\", size: \"lg\" },\n\t\t\tstyle: {\n\t\t\t\twidth: \"48px\",\n\t\t\t\theight: \"48px\",\n\t\t\t\tfontSize: t(\"font-size-title-large\"),\n\t\t\t},\n\t\t},\n\t],\n\tdefaultVariants: {\n\t\tvariant: \"text\",\n\t\tsize: \"md\",\n\t},\n});\n\nglobalStyle(`${chipBase} [data-slot='icon']`, {\n\tfontSize: t(\"icon-size-control\"),\n\tflexShrink: 0,\n});\n"],"mappings":""}
1
+ {"version":3,"file":"Chip.css.js","names":[],"sources":["../../../src/components/Chip/Chip.css.ts"],"sourcesContent":["import { globalStyle, style } from \"@vanilla-extract/css\";\nimport { recipe } from \"@vanilla-extract/recipes\";\nimport { typography } from \"../../styles/typography.js\";\nimport { t } from \"../../tokens/index.js\";\n\nconst chipBase = style({});\n\nexport const chipRoot = recipe({\n\tbase: [\n\t\tchipBase,\n\t\t{\n\t\t\tposition: \"relative\",\n\t\t\tisolation: \"isolate\",\n\t\t\tdisplay: \"inline-flex\",\n\t\t\talignItems: \"center\",\n\t\t\tjustifyContent: \"center\",\n\t\t\tboxSizing: \"border-box\",\n\t\t\tborder: `${t(\"border-width-default\")} solid transparent`,\n\t\t\t...typography(\"body\", \"medium\"),\n\t\t\twhiteSpace: \"nowrap\",\n\t\t\tcursor: \"pointer\",\n\t\t\tuserSelect: \"none\",\n\t\t\tappearance: \"none\",\n\t\t\toutline: \"none\",\n\t\t\ttransitionProperty: \"background-color, border-color\",\n\t\t\ttransitionDuration: t(\"duration-fast\"),\n\t\t\ttransitionTimingFunction: t(\"easing-standard\"),\n\t\t\t\"::after\": {\n\t\t\t\tcontent: '\"\"',\n\t\t\t\tposition: \"absolute\",\n\t\t\t\tinset: 0,\n\t\t\t\tborderRadius: \"inherit\",\n\t\t\t\tbackgroundColor: \"currentColor\",\n\t\t\t\topacity: 0,\n\t\t\t\tpointerEvents: \"none\",\n\t\t\t\tzIndex: -1,\n\t\t\t\ttransition: `opacity ${t(\"duration-fast\")} ${t(\"easing-standard\")}`,\n\t\t\t},\n\t\t\tselectors: {\n\t\t\t\t\"&:not([data-selected])\": {\n\t\t\t\t\tbackgroundColor: t(\"color-background-default\"),\n\t\t\t\t\tcolor: t(\"color-content-default\"),\n\t\t\t\t\tborderColor: t(\"color-border-default\"),\n\t\t\t\t},\n\t\t\t\t\"&[data-selected]\": {\n\t\t\t\t\tbackgroundColor: t(\"chip-background-selected\"),\n\t\t\t\t\tcolor: t(\"color-content-on-accent\"),\n\t\t\t\t\tborderColor: \"transparent\",\n\t\t\t\t},\n\t\t\t\t\"&[data-hovered]:not([data-disabled])::after\": {\n\t\t\t\t\topacity: t(\"opacity-state-hover\"),\n\t\t\t\t},\n\t\t\t\t\"&[data-focus-visible]:not([data-disabled])::after\": {\n\t\t\t\t\topacity: t(\"opacity-state-focus\"),\n\t\t\t\t},\n\t\t\t\t\"&[data-pressed]:not([data-disabled])::after\": {\n\t\t\t\t\topacity: t(\"opacity-state-pressed\"),\n\t\t\t\t},\n\t\t\t\t// Focus: inner 1px accent border + outer 2px focus ring (Figma double ring).\n\t\t\t\t\"&[data-focus-visible]:not([data-disabled])\": {\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\"&[data-disabled]\": {\n\t\t\t\t\tcursor: \"not-allowed\",\n\t\t\t\t\tcolor: t(\"color-content-disabled\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\t\"@media\": {\n\t\t\t\t\"(forced-colors: active)\": {\n\t\t\t\t\tselectors: {\n\t\t\t\t\t\t\"&[data-focus-visible]:not([data-disabled])\": {\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// A flexible, min-80px pill; height comes from the size compound variants.\n\t\t\ttext: {\n\t\t\t\tminWidth: \"80px\",\n\t\t\t\tpaddingInline: t(\"padding-12\"),\n\t\t\t\tborderRadius: t(\"border-radius-pill\"),\n\t\t\t},\n\t\t\ticon: { borderRadius: t(\"border-radius-button\") },\n\t\t\tnumber: { borderRadius: t(\"border-radius-button\") },\n\t\t},\n\t\tsize: {\n\t\t\tmd: {},\n\t\t\tlg: {},\n\t\t},\n\t},\n\t// Dimensions per variant×size. Hardcoded px mirror Figma's fixed frame sizes;\n\t// text is a flexible pill (height only), icon/number are square. The large number\n\t// chip carries its own type size: at 48px the digit is the control's content, not\n\t// a label on it, so body type under-reads it.\n\tcompoundVariants: [\n\t\t{\n\t\t\tvariants: { variant: \"text\", size: \"md\" },\n\t\t\tstyle: { height: \"40px\" },\n\t\t},\n\t\t{\n\t\t\tvariants: { variant: \"text\", size: \"lg\" },\n\t\t\tstyle: { height: \"48px\" },\n\t\t},\n\t\t{\n\t\t\tvariants: { variant: \"icon\", size: \"md\" },\n\t\t\tstyle: { width: \"40px\", height: \"40px\" },\n\t\t},\n\t\t{\n\t\t\tvariants: { variant: \"icon\", size: \"lg\" },\n\t\t\tstyle: { width: \"48px\", height: \"48px\" },\n\t\t},\n\t\t{\n\t\t\tvariants: { variant: \"number\", size: \"md\" },\n\t\t\tstyle: { width: \"40px\", height: \"40px\" },\n\t\t},\n\t\t{\n\t\t\tvariants: { variant: \"number\", size: \"lg\" },\n\t\t\tstyle: {\n\t\t\t\twidth: \"48px\",\n\t\t\t\theight: \"48px\",\n\t\t\t\tfontSize: t(\"font-size-title-large\"),\n\t\t\t},\n\t\t},\n\t],\n\tdefaultVariants: {\n\t\tvariant: \"text\",\n\t\tsize: \"md\",\n\t},\n});\n\nglobalStyle(`${chipBase} [data-slot='icon']`, {\n\tfontSize: t(\"icon-size-control\"),\n\tflexShrink: 0,\n});\n"],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"Dialog.css.js","names":[],"sources":["../../../src/components/Dialog/Dialog.css.ts"],"sourcesContent":["import { style } from \"@vanilla-extract/css\";\nimport { recipe } from \"@vanilla-extract/recipes\";\nimport { t } from \"../../tokens/index.js\";\n\n/* ── Content stack ────────────────────────────────────────────────────── */\n\n// Content arrangement for the icon → content → actions stack, wrapped by\n// DialogOverlay's focus-trap surface (which supplies the card + scroll): a\n// centered flex column with a single gap-16 between the three blocks.\n// Dialog.Content supplies the tighter title↔body gap-8 internally.\nexport const dialogContentSurface = style({\n\tdisplay: \"flex\",\n\tflexDirection: \"column\",\n\talignItems: \"center\",\n\ttextAlign: \"center\",\n\tgap: t(\"gap-16\"),\n\tpadding: t(\"padding-16\"),\n\tbackgroundColor: t(\"elevation-2-background\"),\n});\n\n/* ── Parts ────────────────────────────────────────────────────────────── */\n\nexport const dialogIcon = recipe({\n\tbase: {\n\t\tdisplay: \"flex\",\n\t\tlineHeight: 0,\n\t\tfontSize: \"32px\",\n\t\tflexShrink: 0,\n\t},\n\tvariants: {\n\t\tintent: {\n\t\t\twarning: { color: t(\"color-content-warning\") },\n\t\t\tsuccess: { color: t(\"color-content-success\") },\n\t\t},\n\t},\n});\n\nexport const dialogContent = style({\n\tdisplay: \"flex\",\n\tflexDirection: \"column\",\n\talignItems: \"center\",\n\tgap: t(\"gap-8\"),\n\twidth: \"100%\",\n});\n\nexport const dialogTitle = style({\n\tmargin: 0,\n\ttextAlign: \"center\",\n\twidth: \"100%\",\n\tfontFamily: t(\"font-family-heading\"),\n\tfontWeight: t(\"font-weight-medium\"),\n\tfontSize: t(\"font-size-title-large\"),\n\tlineHeight: t(\"line-height-title-large\"),\n\tcolor: t(\"color-content-default\"),\n});\n\nexport const dialogBody = style({\n\tmargin: 0,\n\ttextAlign: \"center\",\n\twidth: \"100%\",\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\tcolor: t(\"color-content-secondary\"),\n});\n\nexport const dialogActions = style({\n\tdisplay: \"flex\",\n\tflexDirection: \"column\",\n\talignItems: \"stretch\",\n\tgap: t(\"gap-8\"),\n\twidth: \"100%\",\n});\n"],"mappings":""}
1
+ {"version":3,"file":"Dialog.css.js","names":[],"sources":["../../../src/components/Dialog/Dialog.css.ts"],"sourcesContent":["import { style } from \"@vanilla-extract/css\";\nimport { recipe } from \"@vanilla-extract/recipes\";\nimport { typography } from \"../../styles/typography.js\";\nimport { t } from \"../../tokens/index.js\";\n\n/* ── Content stack ────────────────────────────────────────────────────── */\n\n// Content arrangement for the icon → content → actions stack, wrapped by\n// DialogOverlay's focus-trap surface (which supplies the card + scroll): a\n// centered flex column with a single gap-16 between the three blocks.\n// Dialog.Content supplies the tighter title↔body gap-8 internally.\nexport const dialogContentSurface = style({\n\tdisplay: \"flex\",\n\tflexDirection: \"column\",\n\talignItems: \"center\",\n\ttextAlign: \"center\",\n\tgap: t(\"gap-16\"),\n\tpadding: t(\"padding-16\"),\n\tbackgroundColor: t(\"elevation-2-background\"),\n});\n\n/* ── Parts ────────────────────────────────────────────────────────────── */\n\nexport const dialogIcon = recipe({\n\tbase: {\n\t\tdisplay: \"flex\",\n\t\tlineHeight: 0,\n\t\tfontSize: \"32px\",\n\t\tflexShrink: 0,\n\t},\n\tvariants: {\n\t\tintent: {\n\t\t\twarning: { color: t(\"color-content-warning\") },\n\t\t\tsuccess: { color: t(\"color-content-success\") },\n\t\t},\n\t},\n});\n\nexport const dialogContent = style({\n\tdisplay: \"flex\",\n\tflexDirection: \"column\",\n\talignItems: \"center\",\n\tgap: t(\"gap-8\"),\n\twidth: \"100%\",\n});\n\nexport const dialogTitle = style({\n\tmargin: 0,\n\ttextAlign: \"center\",\n\twidth: \"100%\",\n\t...typography(\"title-large\", \"medium\"),\n\t// The one heading-family consumer in the package, so the family stays a\n\t// local override rather than an axis on `typography()`.\n\tfontFamily: t(\"font-family-heading\"),\n\tcolor: t(\"color-content-default\"),\n});\n\nexport const dialogBody = style({\n\tmargin: 0,\n\ttextAlign: \"center\",\n\twidth: \"100%\",\n\t...typography(\"body\", \"regular\"),\n\tcolor: t(\"color-content-secondary\"),\n});\n\nexport const dialogActions = style({\n\tdisplay: \"flex\",\n\tflexDirection: \"column\",\n\talignItems: \"stretch\",\n\tgap: t(\"gap-8\"),\n\twidth: \"100%\",\n});\n"],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"Divider.css.js","names":[],"sources":["../../../src/components/Divider/Divider.css.ts"],"sourcesContent":["import { style } from \"@vanilla-extract/css\";\nimport { recipe } from \"@vanilla-extract/recipes\";\nimport { t } from \"../../tokens/index.js\";\n\nconst captionText = {\n\tfontFamily: t(\"font-family-body\"),\n\tfontSize: t(\"font-size-caption\"),\n\tlineHeight: t(\"line-height-caption\"),\n\tcolor: t(\"color-content-secondary\"),\n} as const;\n\nexport const dividerRoot = recipe({\n\tbase: {\n\t\tboxSizing: \"border-box\",\n\t},\n\tvariants: {\n\t\tvariant: {\n\t\t\tline: {\n\t\t\t\tdisplay: \"block\",\n\t\t\t\twidth: \"100%\",\n\t\t\t},\n\t\t\tlabel: {\n\t\t\t\tdisplay: \"flex\",\n\t\t\t\talignItems: \"center\",\n\t\t\t\tjustifyContent: \"center\",\n\t\t\t\tgap: t(\"gap-8\"),\n\t\t\t\twidth: \"100%\",\n\t\t\t},\n\t\t\tmessage: {\n\t\t\t\tdisplay: \"flex\",\n\t\t\t\tflexDirection: \"column\",\n\t\t\t\talignItems: \"center\",\n\t\t\t\tjustifyContent: \"center\",\n\t\t\t\tgap: t(\"gap-4\"),\n\t\t\t\ttextAlign: \"center\",\n\t\t\t},\n\t\t},\n\t},\n\tdefaultVariants: {\n\t\tvariant: \"line\",\n\t},\n});\n\n// The horizontal rule for the `line` variant and the two flanking rules of `label`.\n// A zero-height element with only a top border renders as a 1px line. `flex: 1 1 0`\n// makes the flanking rules share the row equally in `label`; it's inert in `line`'s\n// block context, where `width: 100%` spans the full width instead.\nexport const dividerRule = style({\n\tborder: \"none\",\n\tborderTop: `${t(\"border-width-default\")} solid ${t(\"color-border-default\")}`,\n\tmargin: 0,\n\theight: 0,\n\twidth: \"100%\",\n\tflex: \"1 1 0\",\n\tminWidth: \"1px\",\n});\n\n// `label`'s inline marker stays on one line; message captions may wrap to a sentence.\nexport const dividerLabel = style({\n\t...captionText,\n\tfontWeight: t(\"font-weight-regular\"),\n\twhiteSpace: \"nowrap\",\n\tflexShrink: 0,\n\tmargin: 0,\n});\n\nexport const dividerHeading = style({\n\t...captionText,\n\tfontWeight: t(\"font-weight-medium\"),\n\tmargin: 0,\n});\n\nexport const dividerCaption = style({\n\t...captionText,\n\tfontWeight: t(\"font-weight-regular\"),\n\tmargin: 0,\n});\n"],"mappings":""}
1
+ {"version":3,"file":"Divider.css.js","names":[],"sources":["../../../src/components/Divider/Divider.css.ts"],"sourcesContent":["import { style } from \"@vanilla-extract/css\";\nimport { recipe } from \"@vanilla-extract/recipes\";\nimport { typographyVariant } from \"../../styles/typography.js\";\nimport { t } from \"../../tokens/index.js\";\n\n// Weight is not here: the three label variants below each set their own.\nconst captionText = {\n\t...typographyVariant(\"caption\"),\n\tcolor: t(\"color-content-secondary\"),\n} as const;\n\nexport const dividerRoot = recipe({\n\tbase: {\n\t\tboxSizing: \"border-box\",\n\t},\n\tvariants: {\n\t\tvariant: {\n\t\t\tline: {\n\t\t\t\tdisplay: \"block\",\n\t\t\t\twidth: \"100%\",\n\t\t\t},\n\t\t\tlabel: {\n\t\t\t\tdisplay: \"flex\",\n\t\t\t\talignItems: \"center\",\n\t\t\t\tjustifyContent: \"center\",\n\t\t\t\tgap: t(\"gap-8\"),\n\t\t\t\twidth: \"100%\",\n\t\t\t},\n\t\t\tmessage: {\n\t\t\t\tdisplay: \"flex\",\n\t\t\t\tflexDirection: \"column\",\n\t\t\t\talignItems: \"center\",\n\t\t\t\tjustifyContent: \"center\",\n\t\t\t\tgap: t(\"gap-4\"),\n\t\t\t\ttextAlign: \"center\",\n\t\t\t},\n\t\t},\n\t},\n\tdefaultVariants: {\n\t\tvariant: \"line\",\n\t},\n});\n\n// The horizontal rule for the `line` variant and the two flanking rules of `label`.\n// A zero-height element with only a top border renders as a 1px line. `flex: 1 1 0`\n// makes the flanking rules share the row equally in `label`; it's inert in `line`'s\n// block context, where `width: 100%` spans the full width instead.\nexport const dividerRule = style({\n\tborder: \"none\",\n\tborderTop: `${t(\"border-width-default\")} solid ${t(\"color-border-default\")}`,\n\tmargin: 0,\n\theight: 0,\n\twidth: \"100%\",\n\tflex: \"1 1 0\",\n\tminWidth: \"1px\",\n});\n\n// `label`'s inline marker stays on one line; message captions may wrap to a sentence.\nexport const dividerLabel = style({\n\t...captionText,\n\tfontWeight: t(\"font-weight-regular\"),\n\twhiteSpace: \"nowrap\",\n\tflexShrink: 0,\n\tmargin: 0,\n});\n\nexport const dividerHeading = style({\n\t...captionText,\n\tfontWeight: t(\"font-weight-medium\"),\n\tmargin: 0,\n});\n\nexport const dividerCaption = style({\n\t...captionText,\n\tfontWeight: t(\"font-weight-regular\"),\n\tmargin: 0,\n});\n"],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"DropZone.css.js","names":[],"sources":["../../../src/components/DropZone/DropZone.css.ts"],"sourcesContent":["import { globalStyle, style } from \"@vanilla-extract/css\";\nimport { t } from \"../../tokens/index.js\";\n\nexport const dropZoneRoot = style({\n\tposition: \"relative\",\n\tdisplay: \"flex\",\n\tflexDirection: \"column\",\n\tflex: \"1 1 auto\",\n\tminHeight: 0,\n});\n\n// The panel covers the surface it is given rather than carrying the frame size\n// from Figma, so the same primitive works over a whole chat body or a smaller\n// region without the consumer overriding a fixed height.\nexport const dropZonePanel = style({\n\tposition: \"absolute\",\n\tinset: 0,\n\tdisplay: \"flex\",\n\tflexDirection: \"column\",\n\talignItems: \"center\",\n\tjustifyContent: \"center\",\n\tgap: t(\"gap-12\"),\n\tpadding: t(\"padding-16\"),\n\tborderRadius: t(\"border-radius-20\"),\n\tbackgroundColor: t(\"color-background-default\"),\n\t// The panel is a drag affordance, not a target: the drop is handled by the\n\t// zone underneath, and swallowing pointer events here would make the browser\n\t// fire dragleave the moment the panel appeared.\n\tpointerEvents: \"none\",\n});\n\n// 32px is the Figma frame size; the icon-size scale tops out at 24 (`icon-size-lg`).\nglobalStyle(`${dropZonePanel} [data-slot=\"icon\"]`, {\n\tfontSize: \"32px\",\n\tcolor: t(\"color-content-secondary\"),\n});\n\n// Figma ships two variants differing only in icon color. `active` is a drag actually\n// over the zone; `default` is the panel without one, which here is the keyboard path.\nglobalStyle(\n\t`${dropZoneRoot}[data-drop-target] ${dropZonePanel} [data-slot=\"icon\"]`,\n\t{\n\t\tcolor: t(\"color-content-highlight\"),\n\t},\n);\n\nexport const dropZoneText = style({\n\tdisplay: \"flex\",\n\tflexDirection: \"column\",\n\tgap: t(\"gap-8\"),\n\twidth: \"100%\",\n\ttextAlign: \"center\",\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\twordBreak: \"break-word\",\n});\n\nexport const dropZoneLabel = style({\n\tmargin: 0,\n\tcolor: t(\"color-content-default\"),\n});\n\nexport const dropZoneDescription = style({\n\tmargin: 0,\n\tcolor: t(\"color-content-secondary\"),\n});\n"],"mappings":""}
1
+ {"version":3,"file":"DropZone.css.js","names":[],"sources":["../../../src/components/DropZone/DropZone.css.ts"],"sourcesContent":["import { globalStyle, style } from \"@vanilla-extract/css\";\nimport { typography } from \"../../styles/typography.js\";\nimport { t } from \"../../tokens/index.js\";\n\nexport const dropZoneRoot = style({\n\tposition: \"relative\",\n\tdisplay: \"flex\",\n\tflexDirection: \"column\",\n\tflex: \"1 1 auto\",\n\tminHeight: 0,\n});\n\n// The panel covers the surface it is given rather than carrying the frame size\n// from Figma, so the same primitive works over a whole chat body or a smaller\n// region without the consumer overriding a fixed height.\nexport const dropZonePanel = style({\n\tposition: \"absolute\",\n\tinset: 0,\n\tdisplay: \"flex\",\n\tflexDirection: \"column\",\n\talignItems: \"center\",\n\tjustifyContent: \"center\",\n\tgap: t(\"gap-12\"),\n\tpadding: t(\"padding-16\"),\n\tborderRadius: t(\"border-radius-20\"),\n\tbackgroundColor: t(\"color-background-default\"),\n\t// The panel is a drag affordance, not a target: the drop is handled by the\n\t// zone underneath, and swallowing pointer events here would make the browser\n\t// fire dragleave the moment the panel appeared.\n\tpointerEvents: \"none\",\n});\n\n// 32px is the Figma frame size; the icon-size scale tops out at 24 (`icon-size-lg`).\nglobalStyle(`${dropZonePanel} [data-slot=\"icon\"]`, {\n\tfontSize: \"32px\",\n\tcolor: t(\"color-content-secondary\"),\n});\n\n// Figma ships two variants differing only in icon color. `active` is a drag actually\n// over the zone; `default` is the panel without one, which here is the keyboard path.\nglobalStyle(\n\t`${dropZoneRoot}[data-drop-target] ${dropZonePanel} [data-slot=\"icon\"]`,\n\t{\n\t\tcolor: t(\"color-content-highlight\"),\n\t},\n);\n\nexport const dropZoneText = style({\n\tdisplay: \"flex\",\n\tflexDirection: \"column\",\n\tgap: t(\"gap-8\"),\n\twidth: \"100%\",\n\ttextAlign: \"center\",\n\t...typography(\"body\", \"regular\"),\n\twordBreak: \"break-word\",\n});\n\nexport const dropZoneLabel = style({\n\tmargin: 0,\n\tcolor: t(\"color-content-default\"),\n});\n\nexport const dropZoneDescription = style({\n\tmargin: 0,\n\tcolor: t(\"color-content-secondary\"),\n});\n"],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"Header.css.js","names":[],"sources":["../../../src/components/Header/Header.css.ts"],"sourcesContent":["import { globalStyle, style } from \"@vanilla-extract/css\";\nimport { t } from \"../../tokens/index.js\";\n\nexport const headerRoot = style({\n\tbackgroundColor: t(\"header-background\"),\n\tcolor: t(\"header-content\"),\n\tdisplay: \"flex\",\n\talignItems: \"center\",\n\tposition: \"relative\",\n\theight: \"56px\",\n\tpadding: `0 ${t(\"padding-12\")}`,\n\tflexShrink: 0,\n\tgap: t(\"spacing-8\"),\n\toverflow: \"hidden\",\n});\n\nglobalStyle(`${headerRoot} [data-slot=\"icon\"]`, {\n\tcolor: t(\"header-content\"),\n});\n\nglobalStyle(`${headerRoot} [data-slot=\"avatar\"] [data-slot=\"icon\"]`, {\n\tcolor: t(\"avatar-content\"),\n});\n\nexport const headerTitle = style({\n\tmargin: 0,\n\tflex: 1,\n\tminWidth: 0,\n\toverflow: \"hidden\",\n\ttextOverflow: \"ellipsis\",\n\twhiteSpace: \"nowrap\",\n\tfontSize: t(\"font-size-title-small\"),\n\tlineHeight: t(\"line-height-title-small\"),\n\tfontWeight: t(\"font-weight-medium\"),\n});\n"],"mappings":""}
1
+ {"version":3,"file":"Header.css.js","names":[],"sources":["../../../src/components/Header/Header.css.ts"],"sourcesContent":["import { globalStyle, style } from \"@vanilla-extract/css\";\nimport { typography } from \"../../styles/typography.js\";\nimport { t } from \"../../tokens/index.js\";\n\nexport const headerRoot = style({\n\tbackgroundColor: t(\"header-background\"),\n\tcolor: t(\"header-content\"),\n\tdisplay: \"flex\",\n\talignItems: \"center\",\n\tposition: \"relative\",\n\theight: \"56px\",\n\tpadding: `0 ${t(\"padding-12\")}`,\n\tflexShrink: 0,\n\tgap: t(\"spacing-8\"),\n\toverflow: \"hidden\",\n});\n\nglobalStyle(`${headerRoot} [data-slot=\"icon\"]`, {\n\tcolor: t(\"header-content\"),\n});\n\nglobalStyle(`${headerRoot} [data-slot=\"avatar\"] [data-slot=\"icon\"]`, {\n\tcolor: t(\"avatar-content\"),\n});\n\nexport const headerTitle = style({\n\tmargin: 0,\n\tflex: 1,\n\tminWidth: 0,\n\toverflow: \"hidden\",\n\ttextOverflow: \"ellipsis\",\n\twhiteSpace: \"nowrap\",\n\t// Figma node 12861-6177 draws the bar title at the body tier, not a title\n\t// tier — it is a heading by role, not by size.\n\t...typography(\"body\", \"medium\"),\n});\n"],"mappings":""}
@@ -1,10 +1,19 @@
1
1
  import type { HTMLAttributes, Ref } from "react";
2
2
  export interface HeaderTitleProps extends HTMLAttributes<HTMLElement> {
3
+ /**
4
+ * Heading level. Defaults to `1` — the surface's top-level heading, and what
5
+ * this rendered before it composed RAC. RAC's own default is `3`, so the
6
+ * default here is load-bearing, not decoration. A widget embedded in a
7
+ * customer's page may need to sit under that page's outline instead.
8
+ */
9
+ level?: number;
3
10
  ref?: Ref<HTMLHeadingElement>;
4
11
  }
5
12
  /**
6
- * Header title text, rendered as the surface's top-level `<h1>`. Grows to fill
7
- * the bar and truncates with an ellipsis when the label is too long; inherits
8
- * `header-content` from the surrounding Header.
13
+ * Header title text, the surface's heading. Grows to fill the bar and truncates
14
+ * with an ellipsis when the label is too long; inherits `header-content` from
15
+ * the surrounding Header.
16
+ *
17
+ * Figma draws it at the body tier — a heading by role, not by size.
9
18
  */
10
- export declare function HeaderTitle({ className, children, ref, ...rest }: HeaderTitleProps): import("react/jsx-runtime").JSX.Element;
19
+ export declare function HeaderTitle({ level, className, children, ref, ...rest }: HeaderTitleProps): import("react/jsx-runtime").JSX.Element;
@@ -1,16 +1,18 @@
1
1
  import { cx as e } from "../../utils/cx.js";
2
2
  import { headerTitle as t } from "./Header.css.js";
3
3
  import { jsx as n } from "react/jsx-runtime";
4
+ import { Heading as r } from "react-aria-components";
4
5
  //#region src/components/Header/HeaderTitle.tsx
5
- function r({ className: r, children: i, ref: a, ...o }) {
6
- return /* @__PURE__ */ n("h1", {
7
- ...o,
8
- ref: a,
9
- className: e(t, r),
10
- children: i
6
+ function i({ level: i = 1, className: a, children: o, ref: s, ...c }) {
7
+ return /* @__PURE__ */ n(r, {
8
+ ...c,
9
+ level: i,
10
+ ref: s,
11
+ className: e(t, a),
12
+ children: o
11
13
  });
12
14
  }
13
15
  //#endregion
14
- export { r as HeaderTitle };
16
+ export { i as HeaderTitle };
15
17
 
16
18
  //# sourceMappingURL=HeaderTitle.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"HeaderTitle.js","names":[],"sources":["../../../src/components/Header/HeaderTitle.tsx"],"sourcesContent":["import type { HTMLAttributes, Ref } from \"react\";\nimport { cx } from \"../../utils/cx.js\";\nimport { headerTitle } from \"./Header.css.js\";\n\nexport interface HeaderTitleProps extends HTMLAttributes<HTMLElement> {\n\tref?: Ref<HTMLHeadingElement>;\n}\n\n/**\n * Header title text, rendered as the surface's top-level `<h1>`. Grows to fill\n * the bar and truncates with an ellipsis when the label is too long; inherits\n * `header-content` from the surrounding Header.\n */\nexport function HeaderTitle({\n\tclassName,\n\tchildren,\n\tref,\n\t...rest\n}: HeaderTitleProps) {\n\treturn (\n\t\t<h1 {...rest} ref={ref} className={cx(headerTitle, className)}>\n\t\t\t{children}\n\t\t</h1>\n\t);\n}\n"],"mappings":";;;;AAaA,SAAgB,EAAY,EAC3B,cACA,aACA,QACA,GAAG,KACiB;AACpB,QACC,kBAAC,MAAD;EAAI,GAAI;EAAW;EAAK,WAAW,EAAG,GAAa,EAAU;EAC3D;EACG,CAAA"}
1
+ {"version":3,"file":"HeaderTitle.js","names":[],"sources":["../../../src/components/Header/HeaderTitle.tsx"],"sourcesContent":["import type { HTMLAttributes, Ref } from \"react\";\nimport { Heading } from \"react-aria-components\";\nimport { cx } from \"../../utils/cx.js\";\nimport { headerTitle } from \"./Header.css.js\";\n\nexport interface HeaderTitleProps extends HTMLAttributes<HTMLElement> {\n\t/**\n\t * Heading level. Defaults to `1` — the surface's top-level heading, and what\n\t * this rendered before it composed RAC. RAC's own default is `3`, so the\n\t * default here is load-bearing, not decoration. A widget embedded in a\n\t * customer's page may need to sit under that page's outline instead.\n\t */\n\tlevel?: number;\n\tref?: Ref<HTMLHeadingElement>;\n}\n\n/**\n * Header title text, the surface's heading. Grows to fill the bar and truncates\n * with an ellipsis when the label is too long; inherits `header-content` from\n * the surrounding Header.\n *\n * Figma draws it at the body tier — a heading by role, not by size.\n */\nexport function HeaderTitle({\n\tlevel = 1,\n\tclassName,\n\tchildren,\n\tref,\n\t...rest\n}: HeaderTitleProps) {\n\treturn (\n\t\t<Heading\n\t\t\t{...rest}\n\t\t\tlevel={level}\n\t\t\tref={ref}\n\t\t\tclassName={cx(headerTitle, className)}\n\t\t>\n\t\t\t{children}\n\t\t</Heading>\n\t);\n}\n"],"mappings":";;;;;AAuBA,SAAgB,EAAY,EAC3B,WAAQ,GACR,cACA,aACA,QACA,GAAG,KACiB;AACpB,QACC,kBAAC,GAAD;EACC,GAAI;EACG;EACF;EACL,WAAW,EAAG,GAAa,EAAU;EAEpC;EACQ,CAAA"}
@@ -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\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":""}
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 { typography } from \"../../styles/typography.js\";\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\t...typography(\"body\", \"regular\"),\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\t...typography(\"caption\", \"regular\"),\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":""}
@@ -1 +1 @@
1
- {"version":3,"file":"Link.css.js","names":[],"sources":["../../../src/components/Link/Link.css.ts"],"sourcesContent":["import { globalStyle, style } from \"@vanilla-extract/css\";\nimport { recipe } from \"@vanilla-extract/recipes\";\nimport { t } from \"../../tokens/index.js\";\n\nconst linkBase = style({});\n\nexport const linkRoot = recipe({\n\tbase: [\n\t\tlinkBase,\n\t\t{\n\t\t\tposition: \"relative\",\n\t\t\tisolation: \"isolate\",\n\t\t\tdisplay: \"inline-flex\",\n\t\t\talignItems: \"center\",\n\t\t\tgap: t(\"gap-4\"),\n\t\t\tcolor: t(\"color-content-link\"),\n\t\t\tfontFamily: t(\"font-family-body\"),\n\t\t\tfontWeight: t(\"font-weight-regular\"),\n\t\t\tfontSize: t(\"font-size-body\"),\n\t\t\tlineHeight: t(\"line-height-body\"),\n\t\t\twordBreak: \"break-word\",\n\t\t\ttextDecoration: \"none\",\n\t\t\tcursor: \"pointer\",\n\t\t\toutline: \"none\",\n\t\t\tborderRadius: t(\"border-radius-6\"),\n\t\t\t\"::after\": {\n\t\t\t\tcontent: '\"\"',\n\t\t\t\tposition: \"absolute\",\n\t\t\t\t// Horizontal breathing room lives on the decorative overlay, not the\n\t\t\t\t// element box, so the state layer balances against the icon's trailing\n\t\t\t\t// whitespace without altering the link's inline layout footprint.\n\t\t\t\tinsetBlock: 0,\n\t\t\t\tinsetInline: `calc(-1 * ${t(\"padding-4\")})`,\n\t\t\t\tborderRadius: \"inherit\",\n\t\t\t\tbackgroundColor: \"currentColor\",\n\t\t\t\topacity: 0,\n\t\t\t\tpointerEvents: \"none\",\n\t\t\t\tzIndex: -1,\n\t\t\t\ttransition: `opacity ${t(\"duration-fast\")} ${t(\"easing-standard\")}`,\n\t\t\t},\n\t\t\tselectors: {\n\t\t\t\t// Without the trailing icon, the underline is the only non-color\n\t\t\t\t// signal that this is a link, so it is mandatory when no icon shows.\n\t\t\t\t\"&:not([data-icon])\": {\n\t\t\t\t\ttextDecoration: \"underline\",\n\t\t\t\t},\n\t\t\t\t\"&[data-hovered]:not([data-disabled])::after\": {\n\t\t\t\t\topacity: t(\"opacity-state-hover\"),\n\t\t\t\t},\n\t\t\t\t\"&[data-focus-visible]:not([data-disabled])::after\": {\n\t\t\t\t\topacity: t(\"opacity-state-focus\"),\n\t\t\t\t},\n\t\t\t\t\"&[data-pressed]:not([data-disabled])::after\": {\n\t\t\t\t\topacity: t(\"opacity-state-pressed\"),\n\t\t\t\t},\n\t\t\t\t\"&[data-focus-visible]:not([data-disabled])\": {\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\"&[data-disabled]\": {\n\t\t\t\t\tcursor: \"not-allowed\",\n\t\t\t\t\tcolor: t(\"color-content-disabled\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\t\"@media\": {\n\t\t\t\t\"(forced-colors: active)\": {\n\t\t\t\t\tselectors: {\n\t\t\t\t\t\t\"&[data-focus-visible]:not([data-disabled])\": {\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\tunderlined: {\n\t\t\ttrue: { textDecoration: \"underline\" },\n\t\t\tfalse: {},\n\t\t},\n\t},\n\tdefaultVariants: {\n\t\tunderlined: false,\n\t},\n});\n\nglobalStyle(`${linkBase} [data-slot='icon']`, {\n\tflexShrink: 0,\n\tfontSize: t(\"icon-size-control\"),\n});\n\n// The external-link arrow points outward in the reading direction, so it mirrors\n// under RTL. The download glyph is direction-neutral and is left unmirrored.\nglobalStyle(`[dir=\"rtl\"] ${linkBase}:not([data-download]) [data-slot='icon']`, {\n\ttransform: \"scaleX(-1)\",\n});\n"],"mappings":""}
1
+ {"version":3,"file":"Link.css.js","names":[],"sources":["../../../src/components/Link/Link.css.ts"],"sourcesContent":["import { globalStyle, style } from \"@vanilla-extract/css\";\nimport { recipe } from \"@vanilla-extract/recipes\";\nimport { typography } from \"../../styles/typography.js\";\nimport { t } from \"../../tokens/index.js\";\n\nconst linkBase = style({});\n\nexport const linkRoot = recipe({\n\tbase: [\n\t\tlinkBase,\n\t\t{\n\t\t\tposition: \"relative\",\n\t\t\tisolation: \"isolate\",\n\t\t\tdisplay: \"inline-flex\",\n\t\t\talignItems: \"center\",\n\t\t\tgap: t(\"gap-4\"),\n\t\t\tcolor: t(\"color-content-link\"),\n\t\t\t...typography(\"body\", \"regular\"),\n\t\t\twordBreak: \"break-word\",\n\t\t\ttextDecoration: \"none\",\n\t\t\tcursor: \"pointer\",\n\t\t\toutline: \"none\",\n\t\t\tborderRadius: t(\"border-radius-6\"),\n\t\t\t\"::after\": {\n\t\t\t\tcontent: '\"\"',\n\t\t\t\tposition: \"absolute\",\n\t\t\t\t// Horizontal breathing room lives on the decorative overlay, not the\n\t\t\t\t// element box, so the state layer balances against the icon's trailing\n\t\t\t\t// whitespace without altering the link's inline layout footprint.\n\t\t\t\tinsetBlock: 0,\n\t\t\t\tinsetInline: `calc(-1 * ${t(\"padding-4\")})`,\n\t\t\t\tborderRadius: \"inherit\",\n\t\t\t\tbackgroundColor: \"currentColor\",\n\t\t\t\topacity: 0,\n\t\t\t\tpointerEvents: \"none\",\n\t\t\t\tzIndex: -1,\n\t\t\t\ttransition: `opacity ${t(\"duration-fast\")} ${t(\"easing-standard\")}`,\n\t\t\t},\n\t\t\tselectors: {\n\t\t\t\t// Without the trailing icon, the underline is the only non-color\n\t\t\t\t// signal that this is a link, so it is mandatory when no icon shows.\n\t\t\t\t\"&:not([data-icon])\": {\n\t\t\t\t\ttextDecoration: \"underline\",\n\t\t\t\t},\n\t\t\t\t\"&[data-hovered]:not([data-disabled])::after\": {\n\t\t\t\t\topacity: t(\"opacity-state-hover\"),\n\t\t\t\t},\n\t\t\t\t\"&[data-focus-visible]:not([data-disabled])::after\": {\n\t\t\t\t\topacity: t(\"opacity-state-focus\"),\n\t\t\t\t},\n\t\t\t\t\"&[data-pressed]:not([data-disabled])::after\": {\n\t\t\t\t\topacity: t(\"opacity-state-pressed\"),\n\t\t\t\t},\n\t\t\t\t\"&[data-focus-visible]:not([data-disabled])\": {\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\"&[data-disabled]\": {\n\t\t\t\t\tcursor: \"not-allowed\",\n\t\t\t\t\tcolor: t(\"color-content-disabled\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\t\"@media\": {\n\t\t\t\t\"(forced-colors: active)\": {\n\t\t\t\t\tselectors: {\n\t\t\t\t\t\t\"&[data-focus-visible]:not([data-disabled])\": {\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\tunderlined: {\n\t\t\ttrue: { textDecoration: \"underline\" },\n\t\t\tfalse: {},\n\t\t},\n\t},\n\tdefaultVariants: {\n\t\tunderlined: false,\n\t},\n});\n\nglobalStyle(`${linkBase} [data-slot='icon']`, {\n\tflexShrink: 0,\n\tfontSize: t(\"icon-size-control\"),\n});\n\n// The external-link arrow points outward in the reading direction, so it mirrors\n// under RTL. The download glyph is direction-neutral and is left unmirrored.\nglobalStyle(`[dir=\"rtl\"] ${linkBase}:not([data-download]) [data-slot='icon']`, {\n\ttransform: \"scaleX(-1)\",\n});\n"],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"MessageError.css.js","names":[],"sources":["../../../src/components/MessageError/MessageError.css.ts"],"sourcesContent":["import { globalStyle, style } from \"@vanilla-extract/css\";\nimport { t } from \"../../tokens/index.js\";\n\nexport const messageErrorRoot = style({\n\tdisplay: \"flex\",\n});\n\n// Shared layout for the failed-to-send row — icon + destructive-colored caption.\n// Used both interactively (the retry Button) and statically (no `onRetry`).\nexport const messageErrorContent = style({\n\tdisplay: \"inline-flex\",\n\talignItems: \"center\",\n\t// Sized to the error icon, and reserved even in the static variant that carries\n\t// none, so the row does not change height when a retry becomes available.\n\tminHeight: t(\"icon-size-lg\"),\n\tgap: t(\"gap-4\"),\n\tmargin: 0,\n\tcolor: t(\"color-content-destructive\"),\n});\n\n// The interactive retry control layers button affordances over the shared row.\nexport const messageErrorRetry = style([\n\tmessageErrorContent,\n\t{\n\t\tpadding: 0,\n\t\tborder: \"none\",\n\t\tbackground: \"none\",\n\t\tborderRadius: t(\"border-radius-6\"),\n\t\tcursor: \"pointer\",\n\t\toutline: \"none\",\n\t\tselectors: {\n\t\t\t\"&[data-focus-visible]\": {\n\t\t\t\tboxShadow: `0 0 0 ${t(\"border-width-focus\")} ${t(\"color-border-focus\")}`,\n\t\t\t},\n\t\t},\n\t\t\"@media\": {\n\t\t\t\"(forced-colors: active)\": {\n\t\t\t\tselectors: {\n\t\t\t\t\t\"&[data-focus-visible]\": {\n\t\t\t\t\t\toutline: \"2px solid Highlight\",\n\t\t\t\t\t\toutlineOffset: \"2px\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t},\n]);\n\n// Carries the announced failure copy as real text (live regions announce\n// rendered text, not `aria-label`), while staying out of the visual layout.\nexport const messageErrorAnnouncement = style({\n\tposition: \"absolute\",\n\twidth: 1,\n\theight: 1,\n\tpadding: 0,\n\tmargin: -1,\n\toverflow: \"hidden\",\n\tclip: \"rect(0, 0, 0, 0)\",\n\twhiteSpace: \"nowrap\",\n\tborder: 0,\n\t// Clipped text is still selectable, so a select-all over the transcript would\n\t// otherwise copy the failure copy twice (EXP-1479).\n\tuserSelect: \"none\",\n\tWebkitUserSelect: \"none\",\n});\n\nexport const messageErrorText = style({\n\tmargin: 0,\n\tcolor: \"inherit\",\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});\n\n// The exclamation.sync glyph renders at icon-size-lg (24px, Figma), driving\n// `<Icon>`'s 1em box — the same value that sets the row's reserved min-height.\nglobalStyle(`${messageErrorContent} [data-slot='icon']`, {\n\tfontSize: t(\"icon-size-lg\"),\n});\n"],"mappings":""}
1
+ {"version":3,"file":"MessageError.css.js","names":[],"sources":["../../../src/components/MessageError/MessageError.css.ts"],"sourcesContent":["import { globalStyle, style } from \"@vanilla-extract/css\";\nimport { typography } from \"../../styles/typography.js\";\nimport { t } from \"../../tokens/index.js\";\n\nexport const messageErrorRoot = style({\n\tdisplay: \"flex\",\n});\n\n// Shared layout for the failed-to-send row — icon + destructive-colored caption.\n// Used both interactively (the retry Button) and statically (no `onRetry`).\nexport const messageErrorContent = style({\n\tdisplay: \"inline-flex\",\n\talignItems: \"center\",\n\t// Sized to the error icon, and reserved even in the static variant that carries\n\t// none, so the row does not change height when a retry becomes available.\n\tminHeight: t(\"icon-size-lg\"),\n\tgap: t(\"gap-4\"),\n\tmargin: 0,\n\tcolor: t(\"color-content-destructive\"),\n});\n\n// The interactive retry control layers button affordances over the shared row.\nexport const messageErrorRetry = style([\n\tmessageErrorContent,\n\t{\n\t\tpadding: 0,\n\t\tborder: \"none\",\n\t\tbackground: \"none\",\n\t\tborderRadius: t(\"border-radius-6\"),\n\t\tcursor: \"pointer\",\n\t\toutline: \"none\",\n\t\tselectors: {\n\t\t\t\"&[data-focus-visible]\": {\n\t\t\t\tboxShadow: `0 0 0 ${t(\"border-width-focus\")} ${t(\"color-border-focus\")}`,\n\t\t\t},\n\t\t},\n\t\t\"@media\": {\n\t\t\t\"(forced-colors: active)\": {\n\t\t\t\tselectors: {\n\t\t\t\t\t\"&[data-focus-visible]\": {\n\t\t\t\t\t\toutline: \"2px solid Highlight\",\n\t\t\t\t\t\toutlineOffset: \"2px\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t},\n]);\n\n// Carries the announced failure copy as real text (live regions announce\n// rendered text, not `aria-label`), while staying out of the visual layout.\nexport const messageErrorAnnouncement = style({\n\tposition: \"absolute\",\n\twidth: 1,\n\theight: 1,\n\tpadding: 0,\n\tmargin: -1,\n\toverflow: \"hidden\",\n\tclip: \"rect(0, 0, 0, 0)\",\n\twhiteSpace: \"nowrap\",\n\tborder: 0,\n\t// Clipped text is still selectable, so a select-all over the transcript would\n\t// otherwise copy the failure copy twice (EXP-1479).\n\tuserSelect: \"none\",\n\tWebkitUserSelect: \"none\",\n});\n\nexport const messageErrorText = style({\n\tmargin: 0,\n\tcolor: \"inherit\",\n\t...typography(\"caption\", \"regular\"),\n});\n\n// The exclamation.sync glyph renders at icon-size-lg (24px, Figma), driving\n// `<Icon>`'s 1em box — the same value that sets the row's reserved min-height.\nglobalStyle(`${messageErrorContent} [data-slot='icon']`, {\n\tfontSize: t(\"icon-size-lg\"),\n});\n"],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"PillButton.css.js","names":[],"sources":["../../../src/components/PillButton/PillButton.css.ts"],"sourcesContent":["import { globalStyle } from \"@vanilla-extract/css\";\nimport { recipe } from \"@vanilla-extract/recipes\";\nimport { t } from \"../../tokens/index.js\";\n\nexport const pillButtonRoot = recipe({\n\tbase: {\n\t\tposition: \"relative\",\n\t\tisolation: \"isolate\",\n\t\tdisplay: \"inline-flex\",\n\t\talignItems: \"center\",\n\t\tjustifyContent: \"center\",\n\t\tgap: t(\"gap-8\"),\n\t\tpaddingInline: t(\"padding-12\"),\n\t\tboxSizing: \"border-box\",\n\t\tborder: `${t(\"border-width-default\")} solid ${t(\"color-border-default\")}`,\n\t\tborderRadius: t(\"border-radius-pill\"),\n\t\tbackgroundColor: t(\"color-background-default\"),\n\t\tcolor: t(\"pill-content-primary\"),\n\t\tfontFamily: t(\"font-family-body\"),\n\t\tfontWeight: t(\"font-weight-medium\"),\n\t\tfontSize: t(\"font-size-body\"),\n\t\tlineHeight: t(\"line-height-body\"),\n\t\twhiteSpace: \"nowrap\",\n\t\tcursor: \"pointer\",\n\t\tuserSelect: \"none\",\n\t\tappearance: \"none\",\n\t\ttextDecoration: \"none\",\n\t\toutline: \"none\",\n\t\ttransitionProperty: \"background-color, border-color\",\n\t\ttransitionDuration: t(\"duration-fast\"),\n\t\ttransitionTimingFunction: t(\"easing-standard\"),\n\t\t\"::after\": {\n\t\t\tcontent: '\"\"',\n\t\t\tposition: \"absolute\",\n\t\t\tinset: 0,\n\t\t\tborderRadius: \"inherit\",\n\t\t\tbackgroundColor: \"currentColor\",\n\t\t\topacity: 0,\n\t\t\tpointerEvents: \"none\",\n\t\t\tzIndex: -1,\n\t\t\ttransition: `opacity ${t(\"duration-fast\")} ${t(\"easing-standard\")}`,\n\t\t},\n\t\tselectors: {\n\t\t\t\"&[data-hovered]:not([data-disabled])::after\": {\n\t\t\t\topacity: t(\"opacity-state-hover\"),\n\t\t\t},\n\t\t\t\"&[data-focus-visible]:not([data-disabled])::after\": {\n\t\t\t\topacity: t(\"opacity-state-focus\"),\n\t\t\t},\n\t\t\t\"&[data-pressed]:not([data-disabled])::after\": {\n\t\t\t\topacity: t(\"opacity-state-pressed\"),\n\t\t\t},\n\t\t\t\"&[data-focus-visible]:not([data-disabled])\": {\n\t\t\t\tborderColor: t(\"color-border-accent\"),\n\t\t\t\tboxShadow: `0 0 0 ${t(\"border-width-focus\")} ${t(\"color-border-focus\")}`,\n\t\t\t},\n\t\t\t\"&[data-disabled]\": {\n\t\t\t\tcursor: \"not-allowed\",\n\t\t\t\tcolor: t(\"color-content-disabled\"),\n\t\t\t},\n\t\t},\n\t\t\"@media\": {\n\t\t\t\"(forced-colors: active)\": {\n\t\t\t\tselectors: {\n\t\t\t\t\t\"&[data-focus-visible]:not([data-disabled])\": {\n\t\t\t\t\t\toutline: \"2px solid Highlight\",\n\t\t\t\t\t\toutlineOffset: \"2px\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t},\n\tvariants: {\n\t\t// Hardcoded heights are correct.\n\t\tsize: {\n\t\t\tmd: { height: \"40px\" },\n\t\t\tsm: { height: \"32px\" },\n\t\t},\n\t},\n\tdefaultVariants: {\n\t\tsize: \"md\",\n\t},\n});\n\n// Icon children render at the control icon size (not the body text size), so an\n// icon-only pill reads as an icon button rather than a tiny glyph. <Icon> is 1em,\n// so this drives its size; flex-shrink keeps it from collapsing next to text.\nglobalStyle(`[data-slot='pill-button'] [data-slot='icon']`, {\n\tflexShrink: 0,\n\tfontSize: t(\"icon-size-control\"),\n});\n"],"mappings":""}
1
+ {"version":3,"file":"PillButton.css.js","names":[],"sources":["../../../src/components/PillButton/PillButton.css.ts"],"sourcesContent":["import { globalStyle } from \"@vanilla-extract/css\";\nimport { recipe } from \"@vanilla-extract/recipes\";\nimport { typography } from \"../../styles/typography.js\";\nimport { t } from \"../../tokens/index.js\";\n\nexport const pillButtonRoot = recipe({\n\tbase: {\n\t\tposition: \"relative\",\n\t\tisolation: \"isolate\",\n\t\tdisplay: \"inline-flex\",\n\t\talignItems: \"center\",\n\t\tjustifyContent: \"center\",\n\t\tgap: t(\"gap-8\"),\n\t\tpaddingInline: t(\"padding-12\"),\n\t\tboxSizing: \"border-box\",\n\t\tborder: `${t(\"border-width-default\")} solid ${t(\"color-border-default\")}`,\n\t\tborderRadius: t(\"border-radius-pill\"),\n\t\tbackgroundColor: t(\"color-background-default\"),\n\t\tcolor: t(\"pill-content-primary\"),\n\t\t...typography(\"body\", \"medium\"),\n\t\twhiteSpace: \"nowrap\",\n\t\tcursor: \"pointer\",\n\t\tuserSelect: \"none\",\n\t\tappearance: \"none\",\n\t\ttextDecoration: \"none\",\n\t\toutline: \"none\",\n\t\ttransitionProperty: \"background-color, border-color\",\n\t\ttransitionDuration: t(\"duration-fast\"),\n\t\ttransitionTimingFunction: t(\"easing-standard\"),\n\t\t\"::after\": {\n\t\t\tcontent: '\"\"',\n\t\t\tposition: \"absolute\",\n\t\t\tinset: 0,\n\t\t\tborderRadius: \"inherit\",\n\t\t\tbackgroundColor: \"currentColor\",\n\t\t\topacity: 0,\n\t\t\tpointerEvents: \"none\",\n\t\t\tzIndex: -1,\n\t\t\ttransition: `opacity ${t(\"duration-fast\")} ${t(\"easing-standard\")}`,\n\t\t},\n\t\tselectors: {\n\t\t\t\"&[data-hovered]:not([data-disabled])::after\": {\n\t\t\t\topacity: t(\"opacity-state-hover\"),\n\t\t\t},\n\t\t\t\"&[data-focus-visible]:not([data-disabled])::after\": {\n\t\t\t\topacity: t(\"opacity-state-focus\"),\n\t\t\t},\n\t\t\t\"&[data-pressed]:not([data-disabled])::after\": {\n\t\t\t\topacity: t(\"opacity-state-pressed\"),\n\t\t\t},\n\t\t\t\"&[data-focus-visible]:not([data-disabled])\": {\n\t\t\t\tborderColor: t(\"color-border-accent\"),\n\t\t\t\tboxShadow: `0 0 0 ${t(\"border-width-focus\")} ${t(\"color-border-focus\")}`,\n\t\t\t},\n\t\t\t\"&[data-disabled]\": {\n\t\t\t\tcursor: \"not-allowed\",\n\t\t\t\tcolor: t(\"color-content-disabled\"),\n\t\t\t},\n\t\t},\n\t\t\"@media\": {\n\t\t\t\"(forced-colors: active)\": {\n\t\t\t\tselectors: {\n\t\t\t\t\t\"&[data-focus-visible]:not([data-disabled])\": {\n\t\t\t\t\t\toutline: \"2px solid Highlight\",\n\t\t\t\t\t\toutlineOffset: \"2px\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t},\n\tvariants: {\n\t\t// Hardcoded heights are correct.\n\t\tsize: {\n\t\t\tmd: { height: \"40px\" },\n\t\t\tsm: { height: \"32px\" },\n\t\t},\n\t},\n\tdefaultVariants: {\n\t\tsize: \"md\",\n\t},\n});\n\n// Icon children render at the control icon size (not the body text size), so an\n// icon-only pill reads as an icon button rather than a tiny glyph. <Icon> is 1em,\n// so this drives its size; flex-shrink keeps it from collapsing next to text.\nglobalStyle(`[data-slot='pill-button'] [data-slot='icon']`, {\n\tflexShrink: 0,\n\tfontSize: t(\"icon-size-control\"),\n});\n"],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"ProactiveMessage.css.js","names":[],"sources":["../../../src/components/ProactiveMessage/ProactiveMessage.css.ts"],"sourcesContent":["import { style } from \"@vanilla-extract/css\";\nimport { t } from \"../../tokens/index.js\";\n\n// Content-hugging, non-interactive message bubble — no variant/size axes, so a\n// plain `style()` rather than a `recipe()`.\nexport const proactiveMessageRoot = style({\n\tboxSizing: \"border-box\",\n\tdisplay: \"flex\",\n\tflexDirection: \"column\",\n\talignItems: \"flex-start\",\n\t// Center content against the 48px minimum so short messages keep the pill\n\t// height (matches the Figma bubble's `justify-center`).\n\tjustifyContent: \"center\",\n\t// Hug the content; the surrounding layout constrains the max width to the\n\t// chat column, keeping this bubble in lockstep with the agent/user message\n\t// bubbles rather than baking a column-width literal into this one component.\n\twidth: \"fit-content\",\n\t// Figma pins the bubble to a 48px floor; no control-size token tier exists\n\t// yet (cf. AgentMessage's 24px literal).\n\tminHeight: \"48px\",\n\tpaddingBlock: t(\"padding-8\"),\n\tpaddingInline: t(\"padding-16\"),\n\tborderRadius: t(\"border-radius-message\"),\n\tbackgroundColor: t(\"elevation-3-background\"),\n\tborder: `${t(\"border-width-default\")} solid ${t(\"color-border-default\")}`,\n\tboxShadow: t(\"elevation-3\"),\n\tcolor: t(\"color-content-default\"),\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\t// `start` follows the content's resolved direction (see `dir=\"auto\"` on the\n\t// element), keeping mixed-direction messages aligned to their own edge.\n\ttextAlign: \"start\",\n\t// `anywhere` (not `break-word`) so a single long unbroken token — e.g. a raw\n\t// URL in body text — breaks mid-string instead of overflowing the column.\n\toverflowWrap: \"anywhere\",\n});\n"],"mappings":""}
1
+ {"version":3,"file":"ProactiveMessage.css.js","names":[],"sources":["../../../src/components/ProactiveMessage/ProactiveMessage.css.ts"],"sourcesContent":["import { style } from \"@vanilla-extract/css\";\nimport { typography } from \"../../styles/typography.js\";\nimport { t } from \"../../tokens/index.js\";\n\n// Content-hugging, non-interactive message bubble — no variant/size axes, so a\n// plain `style()` rather than a `recipe()`.\nexport const proactiveMessageRoot = style({\n\tboxSizing: \"border-box\",\n\tdisplay: \"flex\",\n\tflexDirection: \"column\",\n\talignItems: \"flex-start\",\n\t// Center content against the 48px minimum so short messages keep the pill\n\t// height (matches the Figma bubble's `justify-center`).\n\tjustifyContent: \"center\",\n\t// Hug the content; the surrounding layout constrains the max width to the\n\t// chat column, keeping this bubble in lockstep with the agent/user message\n\t// bubbles rather than baking a column-width literal into this one component.\n\twidth: \"fit-content\",\n\t// Figma pins the bubble to a 48px floor; no control-size token tier exists\n\t// yet (cf. AgentMessage's 24px literal).\n\tminHeight: \"48px\",\n\tpaddingBlock: t(\"padding-8\"),\n\tpaddingInline: t(\"padding-16\"),\n\tborderRadius: t(\"border-radius-message\"),\n\tbackgroundColor: t(\"elevation-3-background\"),\n\tborder: `${t(\"border-width-default\")} solid ${t(\"color-border-default\")}`,\n\tboxShadow: t(\"elevation-3\"),\n\tcolor: t(\"color-content-default\"),\n\t...typography(\"body\", \"regular\"),\n\t// `start` follows the content's resolved direction (see `dir=\"auto\"` on the\n\t// element), keeping mixed-direction messages aligned to their own edge.\n\ttextAlign: \"start\",\n\t// `anywhere` (not `break-word`) so a single long unbroken token — e.g. a raw\n\t// URL in body text — breaks mid-string instead of overflowing the column.\n\toverflowWrap: \"anywhere\",\n});\n"],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"Radio.css.js","names":[],"sources":["../../../src/components/Radio/Radio.css.ts"],"sourcesContent":["import { globalStyle, style } from \"@vanilla-extract/css\";\nimport { recipe } from \"@vanilla-extract/recipes\";\nimport {\n\tcontrolRowFrame,\n\tcontrolRowSlotRules,\n} from \"../../styles/control-row.js\";\nimport { t } from \"../../tokens/index.js\";\n\n// Figma's `button-size/xs` (24px) has no LovelaceToken; the checked indicator's\n// inset is likewise fixed visual detail Figma renders as a flattened raster with\n// no token (5px inset inside the 1px border → 12px center dot). Both are\n// hardcoded like a fixed frame size.\nconst CONTROL_SIZE = \"24px\";\nconst INDICATOR_INSET = \"5px\";\n\n// Empty handle class: a recipe can't target a descendant, so the row variant's\n// slot rules are attached to a stable class instead (same trick as Button's base).\nconst radioRowBase = style({});\n\nexport const radioGroup = style({\n\tdisplay: \"flex\",\n\tflexDirection: \"column\",\n\tgap: t(\"gap-20\"),\n\tselectors: {\n\t\t'&[data-orientation=\"horizontal\"]': {\n\t\t\tflexDirection: \"row\",\n\t\t},\n\t},\n});\n\n/**\n * The RAC `Radio` label. `inline` lays the control out beside its label; `row` is\n * the 40px selectable row Figma draws for a menu item, for a `RadioGroup`\n * rendered as a list of options.\n */\nexport const radioRoot = recipe({\n\tbase: {\n\t\tcursor: \"pointer\",\n\t\tuserSelect: \"none\",\n\t\tselectors: {\n\t\t\t\"&[data-disabled]\": {\n\t\t\t\tcursor: \"not-allowed\",\n\t\t\t},\n\t\t},\n\t},\n\tvariants: {\n\t\tvariant: {\n\t\t\tinline: {\n\t\t\t\tdisplay: \"inline-flex\",\n\t\t\t\talignItems: \"center\",\n\t\t\t\tgap: t(\"gap-12\"),\n\t\t\t},\n\t\t\trow: [radioRowBase, controlRowFrame],\n\t\t},\n\t},\n\tdefaultVariants: { variant: \"inline\" },\n});\n\nglobalStyle(`${radioRowBase} > [data-slot=\"icon\"]`, controlRowSlotRules.icon);\nglobalStyle(`${radioRowBase} > [data-slot=\"label\"]`, controlRowSlotRules.label);\n\n/**\n * The 24px control circle. Selection and interaction state are read from whichever\n * host element carries React Aria's `data-*` — the RAC label, or a `MenuItem` row —\n * so the rules below are child selectors that name no host. Interaction rules\n * additionally require `[data-state-layer]`, which the indicator sets only when it\n * is the sole affordance; inside a row the row paints hover and focus itself.\n */\nexport const radioControl = style({\n\tposition: \"relative\",\n\tboxSizing: \"border-box\",\n\tflexShrink: 0,\n\twidth: CONTROL_SIZE,\n\theight: CONTROL_SIZE,\n\tborderRadius: t(\"border-radius-full\"),\n\tborderStyle: \"solid\",\n\tborderWidth: t(\"border-width-default\"),\n\t// Unchecked resting state; the selected rules below override it.\n\tbackgroundColor: t(\"color-background-default\"),\n\tborderColor: t(\"color-border-default\"),\n\ttransitionProperty: \"background-color, border-color, box-shadow\",\n\ttransitionDuration: t(\"duration-fast\"),\n\ttransitionTimingFunction: t(\"easing-standard\"),\n\tselectors: {\n\t\t// Unchecked — hover darkens the border only (no fill).\n\t\t\"[data-hovered]:not([data-selected]):not([data-disabled]) > &[data-state-layer]\":\n\t\t\t{\n\t\t\t\tborderColor: t(\"color-border-medium\"),\n\t\t\t},\n\t\t// Checked — solid inverse disc; the white ring is drawn by radioDot.\n\t\t\"[data-selected] > &\": {\n\t\t\tbackgroundColor: t(\"color-background-inverse\"),\n\t\t\tborderColor: t(\"color-background-inverse\"),\n\t\t},\n\t\t// Focus — outer 2px focus ring for both states (matches Chip's double ring).\n\t\t\"[data-focus-visible]:not([data-disabled]) > &[data-state-layer]\": {\n\t\t\tboxShadow: `0 0 0 ${t(\"border-width-focus\")} ${t(\"color-border-focus\")}`,\n\t\t},\n\t\t// Focus (unchecked) — inner accent border completes the double ring.\n\t\t\"[data-focus-visible]:not([data-selected]):not([data-disabled]) > &[data-state-layer]\":\n\t\t\t{\n\t\t\t\tborderColor: t(\"color-border-accent\"),\n\t\t\t},\n\t\t// Disabled — unchecked.\n\t\t\"[data-disabled]:not([data-selected]) > &\": {\n\t\t\tbackgroundColor: t(\"color-background-tertiary\"),\n\t\t\tborderColor: t(\"color-border-default\"),\n\t\t},\n\t\t// Disabled — checked disc fades to the disabled background.\n\t\t\"[data-disabled][data-selected] > &\": {\n\t\t\tbackgroundColor: t(\"color-background-disabled\"),\n\t\t\tborderColor: t(\"color-background-disabled\"),\n\t\t},\n\t},\n\t\"@media\": {\n\t\t\"(forced-colors: active)\": {\n\t\t\tselectors: {\n\t\t\t\t\"[data-focus-visible]:not([data-disabled]) > &[data-state-layer]\": {\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\n// Solid center dot on the checked disc (dark disc → filled light center circle).\n// Hidden (transparent) until the option is selected.\nexport const radioDot = style({\n\tposition: \"absolute\",\n\tinset: INDICATOR_INSET,\n\tborderRadius: t(\"border-radius-full\"),\n\tbackgroundColor: \"transparent\",\n\tpointerEvents: \"none\",\n\tselectors: {\n\t\t[`[data-selected] > ${radioControl} > &`]: {\n\t\t\tbackgroundColor: t(\"color-background-default\"),\n\t\t},\n\t\t[`[data-selected][data-disabled] > ${radioControl} > &`]: {\n\t\t\tbackgroundColor: t(\"color-background-tertiary\"),\n\t\t},\n\t},\n\t\"@media\": {\n\t\t// Author background-colors collapse to Canvas in forced-colors mode, so the\n\t\t// disc/dot contrast is lost — redraw the dot with a system color instead.\n\t\t\"(forced-colors: active)\": {\n\t\t\tselectors: {\n\t\t\t\t[`[data-selected] > ${radioControl} > &`]: {\n\t\t\t\t\tbackgroundColor: \"CanvasText\",\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t},\n});\n\nexport const radioLabel = style({\n\tfontFamily: t(\"font-family-body\"),\n\tfontSize: t(\"font-size-body\"),\n\tfontWeight: t(\"font-weight-regular\"),\n\tlineHeight: t(\"line-height-body\"),\n\tcolor: t(\"color-content-default\"),\n\tselectors: {\n\t\t\"[data-disabled] > &\": {\n\t\t\tcolor: t(\"color-content-disabled\"),\n\t\t},\n\t},\n});\n"],"mappings":""}
1
+ {"version":3,"file":"Radio.css.js","names":[],"sources":["../../../src/components/Radio/Radio.css.ts"],"sourcesContent":["import { globalStyle, style } from \"@vanilla-extract/css\";\nimport { recipe } from \"@vanilla-extract/recipes\";\nimport {\n\tcontrolRowFrame,\n\tcontrolRowSlotRules,\n} from \"../../styles/control-row.js\";\nimport { typography } from \"../../styles/typography.js\";\nimport { t } from \"../../tokens/index.js\";\n\n// Figma's `button-size/xs` (24px) has no LovelaceToken; the checked indicator's\n// inset is likewise fixed visual detail Figma renders as a flattened raster with\n// no token (5px inset inside the 1px border → 12px center dot). Both are\n// hardcoded like a fixed frame size.\nconst CONTROL_SIZE = \"24px\";\nconst INDICATOR_INSET = \"5px\";\n\n// Empty handle class: a recipe can't target a descendant, so the row variant's\n// slot rules are attached to a stable class instead (same trick as Button's base).\nconst radioRowBase = style({});\n\nexport const radioGroup = style({\n\tdisplay: \"flex\",\n\tflexDirection: \"column\",\n\tgap: t(\"gap-20\"),\n\tselectors: {\n\t\t'&[data-orientation=\"horizontal\"]': {\n\t\t\tflexDirection: \"row\",\n\t\t},\n\t},\n});\n\n/**\n * The RAC `Radio` label. `inline` lays the control out beside its label; `row` is\n * the 40px selectable row Figma draws for a menu item, for a `RadioGroup`\n * rendered as a list of options.\n */\nexport const radioRoot = recipe({\n\tbase: {\n\t\tcursor: \"pointer\",\n\t\tuserSelect: \"none\",\n\t\tselectors: {\n\t\t\t\"&[data-disabled]\": {\n\t\t\t\tcursor: \"not-allowed\",\n\t\t\t},\n\t\t},\n\t},\n\tvariants: {\n\t\tvariant: {\n\t\t\tinline: {\n\t\t\t\tdisplay: \"inline-flex\",\n\t\t\t\talignItems: \"center\",\n\t\t\t\tgap: t(\"gap-12\"),\n\t\t\t},\n\t\t\trow: [radioRowBase, controlRowFrame],\n\t\t},\n\t},\n\tdefaultVariants: { variant: \"inline\" },\n});\n\nglobalStyle(`${radioRowBase} > [data-slot=\"icon\"]`, controlRowSlotRules.icon);\nglobalStyle(`${radioRowBase} > [data-slot=\"label\"]`, controlRowSlotRules.label);\n\n/**\n * The 24px control circle. Selection and interaction state are read from whichever\n * host element carries React Aria's `data-*` — the RAC label, or a `MenuItem` row —\n * so the rules below are child selectors that name no host. Interaction rules\n * additionally require `[data-state-layer]`, which the indicator sets only when it\n * is the sole affordance; inside a row the row paints hover and focus itself.\n */\nexport const radioControl = style({\n\tposition: \"relative\",\n\tboxSizing: \"border-box\",\n\tflexShrink: 0,\n\twidth: CONTROL_SIZE,\n\theight: CONTROL_SIZE,\n\tborderRadius: t(\"border-radius-full\"),\n\tborderStyle: \"solid\",\n\tborderWidth: t(\"border-width-default\"),\n\t// Unchecked resting state; the selected rules below override it.\n\tbackgroundColor: t(\"color-background-default\"),\n\tborderColor: t(\"color-border-default\"),\n\ttransitionProperty: \"background-color, border-color, box-shadow\",\n\ttransitionDuration: t(\"duration-fast\"),\n\ttransitionTimingFunction: t(\"easing-standard\"),\n\tselectors: {\n\t\t// Unchecked — hover darkens the border only (no fill).\n\t\t\"[data-hovered]:not([data-selected]):not([data-disabled]) > &[data-state-layer]\":\n\t\t\t{\n\t\t\t\tborderColor: t(\"color-border-medium\"),\n\t\t\t},\n\t\t// Checked — solid inverse disc; the white ring is drawn by radioDot.\n\t\t\"[data-selected] > &\": {\n\t\t\tbackgroundColor: t(\"color-background-inverse\"),\n\t\t\tborderColor: t(\"color-background-inverse\"),\n\t\t},\n\t\t// Focus — outer 2px focus ring for both states (matches Chip's double ring).\n\t\t\"[data-focus-visible]:not([data-disabled]) > &[data-state-layer]\": {\n\t\t\tboxShadow: `0 0 0 ${t(\"border-width-focus\")} ${t(\"color-border-focus\")}`,\n\t\t},\n\t\t// Focus (unchecked) — inner accent border completes the double ring.\n\t\t\"[data-focus-visible]:not([data-selected]):not([data-disabled]) > &[data-state-layer]\":\n\t\t\t{\n\t\t\t\tborderColor: t(\"color-border-accent\"),\n\t\t\t},\n\t\t// Disabled — unchecked.\n\t\t\"[data-disabled]:not([data-selected]) > &\": {\n\t\t\tbackgroundColor: t(\"color-background-tertiary\"),\n\t\t\tborderColor: t(\"color-border-default\"),\n\t\t},\n\t\t// Disabled — checked disc fades to the disabled background.\n\t\t\"[data-disabled][data-selected] > &\": {\n\t\t\tbackgroundColor: t(\"color-background-disabled\"),\n\t\t\tborderColor: t(\"color-background-disabled\"),\n\t\t},\n\t},\n\t\"@media\": {\n\t\t\"(forced-colors: active)\": {\n\t\t\tselectors: {\n\t\t\t\t\"[data-focus-visible]:not([data-disabled]) > &[data-state-layer]\": {\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\n// Solid center dot on the checked disc (dark disc → filled light center circle).\n// Hidden (transparent) until the option is selected.\nexport const radioDot = style({\n\tposition: \"absolute\",\n\tinset: INDICATOR_INSET,\n\tborderRadius: t(\"border-radius-full\"),\n\tbackgroundColor: \"transparent\",\n\tpointerEvents: \"none\",\n\tselectors: {\n\t\t[`[data-selected] > ${radioControl} > &`]: {\n\t\t\tbackgroundColor: t(\"color-background-default\"),\n\t\t},\n\t\t[`[data-selected][data-disabled] > ${radioControl} > &`]: {\n\t\t\tbackgroundColor: t(\"color-background-tertiary\"),\n\t\t},\n\t},\n\t\"@media\": {\n\t\t// Author background-colors collapse to Canvas in forced-colors mode, so the\n\t\t// disc/dot contrast is lost — redraw the dot with a system color instead.\n\t\t\"(forced-colors: active)\": {\n\t\t\tselectors: {\n\t\t\t\t[`[data-selected] > ${radioControl} > &`]: {\n\t\t\t\t\tbackgroundColor: \"CanvasText\",\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t},\n});\n\nexport const radioLabel = style({\n\t...typography(\"body\", \"regular\"),\n\tcolor: t(\"color-content-default\"),\n\tselectors: {\n\t\t\"[data-disabled] > &\": {\n\t\t\tcolor: t(\"color-content-disabled\"),\n\t\t},\n\t},\n});\n"],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"ScrollMarker.css.js","names":[],"sources":["../../../src/components/ScrollMarker/ScrollMarker.css.ts"],"sourcesContent":["import { globalStyle, style } from \"@vanilla-extract/css\";\nimport { recipe } from \"@vanilla-extract/recipes\";\nimport { t } from \"../../tokens/index.js\";\n\nconst DROP_SHADOW = t(\"elevation-2\");\n\nconst scrollMarkerBase = style({});\n\nexport const scrollMarkerRoot = recipe({\n\tbase: [\n\t\tscrollMarkerBase,\n\t\t{\n\t\t\tposition: \"relative\",\n\t\t\tisolation: \"isolate\",\n\t\t\tdisplay: \"inline-flex\",\n\t\t\talignItems: \"center\",\n\t\t\tjustifyContent: \"center\",\n\t\t\tboxSizing: \"border-box\",\n\t\t\tborder: \"none\",\n\t\t\tborderRadius: t(\"border-radius-full\"),\n\t\t\tboxShadow: DROP_SHADOW,\n\t\t\tfontFamily: t(\"font-family-body\"),\n\t\t\tfontWeight: t(\"font-weight-medium\"),\n\t\t\tfontSize: t(\"font-size-body\"),\n\t\t\tlineHeight: t(\"line-height-body\"),\n\t\t\twhiteSpace: \"nowrap\",\n\t\t\tcursor: \"pointer\",\n\t\t\tuserSelect: \"none\",\n\t\t\tappearance: \"none\",\n\t\t\toutline: \"none\",\n\t\t\ttransitionProperty: \"background-color, box-shadow\",\n\t\t\ttransitionDuration: t(\"duration-fast\"),\n\t\t\ttransitionTimingFunction: t(\"easing-standard\"),\n\t\t\t\"::after\": {\n\t\t\t\tcontent: '\"\"',\n\t\t\t\tposition: \"absolute\",\n\t\t\t\tinset: 0,\n\t\t\t\tborderRadius: \"inherit\",\n\t\t\t\tbackgroundColor: \"currentColor\",\n\t\t\t\topacity: 0,\n\t\t\t\tpointerEvents: \"none\",\n\t\t\t\tzIndex: -1,\n\t\t\t\ttransition: `opacity ${t(\"duration-fast\")} ${t(\"easing-standard\")}`,\n\t\t\t},\n\t\t\tselectors: {\n\t\t\t\t\"&[data-hovered]:not([data-disabled])::after\": {\n\t\t\t\t\topacity: t(\"opacity-state-hover\"),\n\t\t\t\t},\n\t\t\t\t\"&[data-focus-visible]:not([data-disabled])::after\": {\n\t\t\t\t\topacity: t(\"opacity-state-focus\"),\n\t\t\t\t},\n\t\t\t\t\"&[data-pressed]:not([data-disabled])::after\": {\n\t\t\t\t\topacity: t(\"opacity-state-pressed\"),\n\t\t\t\t},\n\t\t\t\t// Focus ring layers on top of the persistent drop shadow.\n\t\t\t\t\"&[data-focus-visible]:not([data-disabled])\": {\n\t\t\t\t\tboxShadow: `${DROP_SHADOW}, 0 0 0 ${t(\"border-width-focus\")} ${t(\"color-border-focus\")}`,\n\t\t\t\t},\n\t\t\t},\n\t\t\t\"@media\": {\n\t\t\t\t\"(forced-colors: active)\": {\n\t\t\t\t\tselectors: {\n\t\t\t\t\t\t\"&[data-focus-visible]:not([data-disabled])\": {\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\tcolor: {\n\t\t\tdefault: {\n\t\t\t\tbackgroundColor: t(\"scrollmarker-background\"),\n\t\t\t\tcolor: t(\"scrollmarker-content\"),\n\t\t\t},\n\t\t\tbrand: {\n\t\t\t\tbackgroundColor: t(\"color-background-accent\"),\n\t\t\t\tcolor: t(\"color-content-on-accent\"),\n\t\t\t},\n\t\t},\n\t\t// Hardcoded frame dimensions mirror Figma's fixed sizes (icon-only 40px circle,\n\t\t// with-text 38px pill row), which the token set does not expose as spacing values.\n\t\ttype: {\n\t\t\ticonOnly: { width: \"40px\", height: \"40px\", padding: 0 },\n\t\t\twithText: {\n\t\t\t\theight: \"38px\",\n\t\t\t\tpaddingInline: t(\"padding-12\"),\n\t\t\t\tgap: t(\"gap-8\"),\n\t\t\t},\n\t\t},\n\t},\n\tdefaultVariants: {\n\t\tcolor: \"default\",\n\t\ttype: \"iconOnly\",\n\t},\n});\n\n// Descendant target must be a global rule; vanilla-extract disallows it inside `selectors`.\nglobalStyle(`${scrollMarkerBase} [data-slot='icon']`, {\n\tflexShrink: 0,\n\tfontSize: t(\"icon-size-control\"),\n});\n"],"mappings":""}
1
+ {"version":3,"file":"ScrollMarker.css.js","names":[],"sources":["../../../src/components/ScrollMarker/ScrollMarker.css.ts"],"sourcesContent":["import { globalStyle, style } from \"@vanilla-extract/css\";\nimport { recipe } from \"@vanilla-extract/recipes\";\nimport { typography } from \"../../styles/typography.js\";\nimport { t } from \"../../tokens/index.js\";\n\nconst DROP_SHADOW = t(\"elevation-2\");\n\nconst scrollMarkerBase = style({});\n\nexport const scrollMarkerRoot = recipe({\n\tbase: [\n\t\tscrollMarkerBase,\n\t\t{\n\t\t\tposition: \"relative\",\n\t\t\tisolation: \"isolate\",\n\t\t\tdisplay: \"inline-flex\",\n\t\t\talignItems: \"center\",\n\t\t\tjustifyContent: \"center\",\n\t\t\tboxSizing: \"border-box\",\n\t\t\tborder: \"none\",\n\t\t\tborderRadius: t(\"border-radius-full\"),\n\t\t\tboxShadow: DROP_SHADOW,\n\t\t\t...typography(\"body\", \"medium\"),\n\t\t\twhiteSpace: \"nowrap\",\n\t\t\tcursor: \"pointer\",\n\t\t\tuserSelect: \"none\",\n\t\t\tappearance: \"none\",\n\t\t\toutline: \"none\",\n\t\t\ttransitionProperty: \"background-color, box-shadow\",\n\t\t\ttransitionDuration: t(\"duration-fast\"),\n\t\t\ttransitionTimingFunction: t(\"easing-standard\"),\n\t\t\t\"::after\": {\n\t\t\t\tcontent: '\"\"',\n\t\t\t\tposition: \"absolute\",\n\t\t\t\tinset: 0,\n\t\t\t\tborderRadius: \"inherit\",\n\t\t\t\tbackgroundColor: \"currentColor\",\n\t\t\t\topacity: 0,\n\t\t\t\tpointerEvents: \"none\",\n\t\t\t\tzIndex: -1,\n\t\t\t\ttransition: `opacity ${t(\"duration-fast\")} ${t(\"easing-standard\")}`,\n\t\t\t},\n\t\t\tselectors: {\n\t\t\t\t\"&[data-hovered]:not([data-disabled])::after\": {\n\t\t\t\t\topacity: t(\"opacity-state-hover\"),\n\t\t\t\t},\n\t\t\t\t\"&[data-focus-visible]:not([data-disabled])::after\": {\n\t\t\t\t\topacity: t(\"opacity-state-focus\"),\n\t\t\t\t},\n\t\t\t\t\"&[data-pressed]:not([data-disabled])::after\": {\n\t\t\t\t\topacity: t(\"opacity-state-pressed\"),\n\t\t\t\t},\n\t\t\t\t// Focus ring layers on top of the persistent drop shadow.\n\t\t\t\t\"&[data-focus-visible]:not([data-disabled])\": {\n\t\t\t\t\tboxShadow: `${DROP_SHADOW}, 0 0 0 ${t(\"border-width-focus\")} ${t(\"color-border-focus\")}`,\n\t\t\t\t},\n\t\t\t},\n\t\t\t\"@media\": {\n\t\t\t\t\"(forced-colors: active)\": {\n\t\t\t\t\tselectors: {\n\t\t\t\t\t\t\"&[data-focus-visible]:not([data-disabled])\": {\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\tcolor: {\n\t\t\tdefault: {\n\t\t\t\tbackgroundColor: t(\"scrollmarker-background\"),\n\t\t\t\tcolor: t(\"scrollmarker-content\"),\n\t\t\t},\n\t\t\tbrand: {\n\t\t\t\tbackgroundColor: t(\"color-background-accent\"),\n\t\t\t\tcolor: t(\"color-content-on-accent\"),\n\t\t\t},\n\t\t},\n\t\t// Hardcoded frame dimensions mirror Figma's fixed sizes (icon-only 40px circle,\n\t\t// with-text 38px pill row), which the token set does not expose as spacing values.\n\t\ttype: {\n\t\t\ticonOnly: { width: \"40px\", height: \"40px\", padding: 0 },\n\t\t\twithText: {\n\t\t\t\theight: \"38px\",\n\t\t\t\tpaddingInline: t(\"padding-12\"),\n\t\t\t\tgap: t(\"gap-8\"),\n\t\t\t},\n\t\t},\n\t},\n\tdefaultVariants: {\n\t\tcolor: \"default\",\n\t\ttype: \"iconOnly\",\n\t},\n});\n\n// Descendant target must be a global rule; vanilla-extract disallows it inside `selectors`.\nglobalStyle(`${scrollMarkerBase} [data-slot='icon']`, {\n\tflexShrink: 0,\n\tfontSize: t(\"icon-size-control\"),\n});\n"],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"Sheet.css.js","names":[],"sources":["../../../src/components/Sheet/Sheet.css.ts"],"sourcesContent":["import { style } from \"@vanilla-extract/css\";\nimport { t } from \"../../tokens/index.js\";\n\n/* ── Sheet (bare content surface) ─────────────────────────────────────── */\n\n/* `0 1 auto` hugs content but yields once the parent runs out of room, so an inline\n sheet never pushes its actions past the parent's edge. `1 1 auto` forced every\n inline consumer to override `flex`, and the natural override — `0 0 auto` — quietly\n deleted the shrink the body's scrolling depends on. `overflow-y` is the last\n resort: inert until the actions alone outgrow the sheet, where scrolling the whole\n sheet is the only thing that keeps them reachable. */\nexport const sheetRoot = style({\n\tdisplay: \"flex\",\n\tflexDirection: \"column\",\n\tflex: \"0 1 auto\",\n\tminHeight: 0,\n\tmaxHeight: \"100%\",\n\toverflowY: \"auto\",\n\twidth: \"100%\",\n\tboxSizing: \"border-box\",\n\tbackgroundColor: t(\"elevation-2-background\"),\n\tcolor: t(\"color-content-default\"),\n\tfontFamily: t(\"font-family-body\"),\n\tfontSize: t(\"font-size-body\"),\n\tlineHeight: t(\"line-height-body\"),\n});\n\n/* ── Sheet.Header ─────────────────────────────────────────────────────── */\n\nexport const sheetHeader = style({\n\tposition: \"relative\",\n\tflexShrink: 0,\n\tdisplay: \"flex\",\n\talignItems: \"center\",\n\tjustifyContent: \"center\",\n\t// Figma: fixed 56px header height.\n\theight: \"56px\",\n\tpaddingInline: t(\"padding-12\"),\n\tboxSizing: \"border-box\",\n});\n\nexport const sheetHeaderTitle = style({\n\tmargin: 0,\n\tcolor: t(\"color-content-default\"),\n\tfontFamily: t(\"font-family-body\"),\n\tfontWeight: t(\"font-weight-medium\"),\n\tfontSize: t(\"font-size-body\"),\n\tlineHeight: t(\"line-height-body\"),\n\ttextAlign: \"center\",\n});\n\n// Edge buttons are pinned (absolute) so the title stays centered even with a\n// single button present. Logical insets mirror correctly under RTL.\nexport const sheetHeaderStart = style({\n\tposition: \"absolute\",\n\tinsetInlineStart: t(\"padding-12\"),\n\ttop: 0,\n\tbottom: 0,\n\tdisplay: \"flex\",\n\talignItems: \"center\",\n});\n\nexport const sheetHeaderEnd = style({\n\tposition: \"absolute\",\n\tinsetInlineEnd: t(\"padding-12\"),\n\ttop: 0,\n\tbottom: 0,\n\tdisplay: \"flex\",\n\talignItems: \"center\",\n});\n\n// Back is a reading-direction affordance: the chevron mirrors under RTL.\nexport const sheetBackIcon = style({\n\tselectors: {\n\t\t'[dir=\"rtl\"] &': { transform: \"scaleX(-1)\" },\n\t},\n});\n\n/* ── Sheet.Body ───────────────────────────────────────────────────────── */\n\n// flex:0 1 auto + overflow:auto is the single rule that makes the body scroll\n// when a parent caps the height (floating) and hug content when uncapped\n// (inline) — with no mode flag.\nexport const sheetBody = style({\n\tflex: \"0 1 auto\",\n\t// Floor so a squeezed body keeps one option row rather than collapsing to\n\t// nothing: past this the sheet itself scrolls instead.\n\tminHeight: t(\"spacing-48\"),\n\toverflowY: \"auto\",\n\tpadding: t(\"padding-12\"),\n\tboxSizing: \"border-box\",\n\tscrollbarWidth: \"thin\",\n\tscrollbarColor: `${t(\"color-border-default\")} transparent`,\n});\n\n/* ── Sheet.Actions ────────────────────────────────────────────────────── */\n\nexport const sheetActions = style({\n\tflexShrink: 0,\n\tdisplay: \"flex\",\n\tflexDirection: \"column\",\n\talignItems: \"stretch\",\n\tgap: t(\"gap-12\"),\n\tpadding: t(\"padding-12\"),\n\tboxSizing: \"border-box\",\n});\n"],"mappings":""}
1
+ {"version":3,"file":"Sheet.css.js","names":[],"sources":["../../../src/components/Sheet/Sheet.css.ts"],"sourcesContent":["import { style } from \"@vanilla-extract/css\";\nimport { typography, typographyVariant } from \"../../styles/typography.js\";\nimport { t } from \"../../tokens/index.js\";\n\n/* ── Sheet (bare content surface) ─────────────────────────────────────── */\n\n/* `0 1 auto` hugs content but yields once the parent runs out of room, so an inline\n sheet never pushes its actions past the parent's edge. `1 1 auto` forced every\n inline consumer to override `flex`, and the natural override — `0 0 auto` — quietly\n deleted the shrink the body's scrolling depends on. `overflow-y` is the last\n resort: inert until the actions alone outgrow the sheet, where scrolling the whole\n sheet is the only thing that keeps them reachable. */\nexport const sheetRoot = style({\n\tdisplay: \"flex\",\n\tflexDirection: \"column\",\n\tflex: \"0 1 auto\",\n\tminHeight: 0,\n\tmaxHeight: \"100%\",\n\toverflowY: \"auto\",\n\twidth: \"100%\",\n\tboxSizing: \"border-box\",\n\tbackgroundColor: t(\"elevation-2-background\"),\n\tcolor: t(\"color-content-default\"),\n\t// Inherited weight: the sheet body sets no weight of its own.\n\t...typographyVariant(\"body\"),\n});\n\n/* ── Sheet.Header ─────────────────────────────────────────────────────── */\n\nexport const sheetHeader = style({\n\tposition: \"relative\",\n\tflexShrink: 0,\n\tdisplay: \"flex\",\n\talignItems: \"center\",\n\tjustifyContent: \"center\",\n\t// Figma: fixed 56px header height.\n\theight: \"56px\",\n\tpaddingInline: t(\"padding-12\"),\n\tboxSizing: \"border-box\",\n});\n\nexport const sheetHeaderTitle = style({\n\tmargin: 0,\n\tcolor: t(\"color-content-default\"),\n\t...typography(\"body\", \"medium\"),\n\ttextAlign: \"center\",\n});\n\n// Edge buttons are pinned (absolute) so the title stays centered even with a\n// single button present. Logical insets mirror correctly under RTL.\nexport const sheetHeaderStart = style({\n\tposition: \"absolute\",\n\tinsetInlineStart: t(\"padding-12\"),\n\ttop: 0,\n\tbottom: 0,\n\tdisplay: \"flex\",\n\talignItems: \"center\",\n});\n\nexport const sheetHeaderEnd = style({\n\tposition: \"absolute\",\n\tinsetInlineEnd: t(\"padding-12\"),\n\ttop: 0,\n\tbottom: 0,\n\tdisplay: \"flex\",\n\talignItems: \"center\",\n});\n\n// Back is a reading-direction affordance: the chevron mirrors under RTL.\nexport const sheetBackIcon = style({\n\tselectors: {\n\t\t'[dir=\"rtl\"] &': { transform: \"scaleX(-1)\" },\n\t},\n});\n\n/* ── Sheet.Body ───────────────────────────────────────────────────────── */\n\n// flex:0 1 auto + overflow:auto is the single rule that makes the body scroll\n// when a parent caps the height (floating) and hug content when uncapped\n// (inline) — with no mode flag.\nexport const sheetBody = style({\n\tflex: \"0 1 auto\",\n\t// Floor so a squeezed body keeps one option row rather than collapsing to\n\t// nothing: past this the sheet itself scrolls instead.\n\tminHeight: t(\"spacing-48\"),\n\toverflowY: \"auto\",\n\tpadding: t(\"padding-12\"),\n\tboxSizing: \"border-box\",\n\tscrollbarWidth: \"thin\",\n\tscrollbarColor: `${t(\"color-border-default\")} transparent`,\n});\n\n/* ── Sheet.Actions ────────────────────────────────────────────────────── */\n\nexport const sheetActions = style({\n\tflexShrink: 0,\n\tdisplay: \"flex\",\n\tflexDirection: \"column\",\n\talignItems: \"stretch\",\n\tgap: t(\"gap-12\"),\n\tpadding: t(\"padding-12\"),\n\tboxSizing: \"border-box\",\n});\n"],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"SurveyRating.css.js","names":[],"sources":["../../../../src/components/Survey/SurveyRating/SurveyRating.css.ts"],"sourcesContent":["import { style } from \"@vanilla-extract/css\";\nimport { t } from \"../../../tokens/index.js\";\n\nexport const surveyRatingRoot = style({\n\tdisplay: \"flex\",\n\tflexDirection: \"column\",\n\tgap: t(\"gap-8\"),\n\twidth: \"fit-content\",\n});\n\nexport const surveyRatingScale = style({\n\tdisplay: \"flex\",\n\tflexWrap: \"wrap\",\n\talignItems: \"center\",\n\tjustifyContent: \"center\",\n\tgap: t(\"gap-8\"),\n\twidth: \"100%\",\n});\n\nexport const surveyRatingLabels = style({\n\tdisplay: \"flex\",\n\tjustifyContent: \"space-between\",\n\twidth: \"100%\",\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});\n"],"mappings":""}
1
+ {"version":3,"file":"SurveyRating.css.js","names":[],"sources":["../../../../src/components/Survey/SurveyRating/SurveyRating.css.ts"],"sourcesContent":["import { style } from \"@vanilla-extract/css\";\nimport { typography } from \"../../../styles/typography.js\";\nimport { t } from \"../../../tokens/index.js\";\n\nexport const surveyRatingRoot = style({\n\tdisplay: \"flex\",\n\tflexDirection: \"column\",\n\tgap: t(\"gap-8\"),\n\twidth: \"fit-content\",\n});\n\nexport const surveyRatingScale = style({\n\tdisplay: \"flex\",\n\tflexWrap: \"wrap\",\n\talignItems: \"center\",\n\tjustifyContent: \"center\",\n\tgap: t(\"gap-8\"),\n\twidth: \"100%\",\n});\n\nexport const surveyRatingLabels = style({\n\tdisplay: \"flex\",\n\tjustifyContent: \"space-between\",\n\twidth: \"100%\",\n\t...typography(\"caption\", \"regular\"),\n\tcolor: t(\"color-content-secondary\"),\n});\n"],"mappings":""}
@@ -0,0 +1,13 @@
1
+ export declare const textRoot: import("@vanilla-extract/recipes").RuntimeFn<{
2
+ variant: {
3
+ body: import("@vanilla-extract/css").StyleRule;
4
+ caption: import("@vanilla-extract/css").StyleRule;
5
+ "title-small": import("@vanilla-extract/css").StyleRule;
6
+ "title-large": import("@vanilla-extract/css").StyleRule;
7
+ };
8
+ weight: {
9
+ regular: import("@vanilla-extract/css").StyleRule;
10
+ medium: import("@vanilla-extract/css").StyleRule;
11
+ "semi-bold": import("@vanilla-extract/css").StyleRule;
12
+ };
13
+ }>;
@@ -0,0 +1,28 @@
1
+ import { createRuntimeFn as e } from "../../vendor/@vanilla-extract/recipes/dist/createRuntimeFn-62c9670f.esm.js";
2
+ /* empty css */
3
+ //#region src/components/Text/Text.css.ts
4
+ var t = e({
5
+ defaultClassName: "_17fuu3y0",
6
+ variantClassNames: {
7
+ variant: {
8
+ body: "_17fuu3y1",
9
+ caption: "_17fuu3y2",
10
+ "title-small": "_17fuu3y3",
11
+ "title-large": "_17fuu3y4"
12
+ },
13
+ weight: {
14
+ regular: "_17fuu3y5",
15
+ medium: "_17fuu3y6",
16
+ "semi-bold": "_17fuu3y7"
17
+ }
18
+ },
19
+ defaultVariants: {
20
+ variant: "body",
21
+ weight: "regular"
22
+ },
23
+ compoundVariants: []
24
+ });
25
+ //#endregion
26
+ export { t as textRoot };
27
+
28
+ //# sourceMappingURL=Text.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Text.css.js","names":[],"sources":["../../../src/components/Text/Text.css.ts"],"sourcesContent":["import { recipe } from \"@vanilla-extract/recipes\";\nimport {\n\ttypographyVariant,\n\ttypographyWeight,\n} from \"../../styles/typography.js\";\n\nexport const textRoot = recipe({\n\tbase: {\n\t\t// Lovelace ships no global reset, so a consumer's `as=\"p\"` or\n\t\t// `\"h2\"` would otherwise arrive with whichever UA block margin the\n\t\t// embedding document leaves in place. Same reasoning as `messageProse`.\n\t\tmargin: 0,\n\t},\n\tvariants: {\n\t\tvariant: {\n\t\t\tbody: typographyVariant(\"body\"),\n\t\t\tcaption: typographyVariant(\"caption\"),\n\t\t\t\"title-small\": typographyVariant(\"title-small\"),\n\t\t\t\"title-large\": typographyVariant(\"title-large\"),\n\t\t},\n\t\tweight: {\n\t\t\tregular: typographyWeight(\"regular\"),\n\t\t\tmedium: typographyWeight(\"medium\"),\n\t\t\t\"semi-bold\": typographyWeight(\"semi-bold\"),\n\t\t},\n\t},\n\tdefaultVariants: {\n\t\tvariant: \"body\",\n\t\tweight: \"regular\",\n\t},\n});\n"],"mappings":""}
@@ -0,0 +1,30 @@
1
+ import type { HTMLAttributes, Ref } from "react";
2
+ import type { TextVariant, TextWeight } from "../../styles/typography.js";
3
+ export interface TextProps extends HTMLAttributes<HTMLElement> {
4
+ /**
5
+ * Which semantic type tier to render at. Mirrors the Figma variable names.
6
+ */
7
+ variant?: TextVariant;
8
+ weight?: TextWeight;
9
+ /**
10
+ * The element to render. Defaults to `<span>`.
11
+ *
12
+ * Not for headings: a heading takes its level from its role, so compose RAC's
13
+ * `Heading` there instead, as `Dialog.Title` does.
14
+ */
15
+ as?: keyof HTMLElementTagNameMap;
16
+ ref?: Ref<HTMLElement>;
17
+ }
18
+ /**
19
+ * Text at one of the four semantic type tiers.
20
+ *
21
+ * Tier and weight are independent axes because they are independent in
22
+ * practice: `body` ships at `regular` on seven components and `medium` on
23
+ * seven others.
24
+ *
25
+ * Use this for a piece of text that owns its own element. A component whose
26
+ * type sits on its own root — a `<button>`, a `<label>`, a toast — spreads
27
+ * `typography()` into that root's class instead, rather than nesting a `Text`
28
+ * inside itself.
29
+ */
30
+ export declare function Text({ variant, weight, className, as: Element, ...rest }: TextProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,17 @@
1
+ import { cx as e } from "../../utils/cx.js";
2
+ import { textRoot as t } from "./Text.css.js";
3
+ import { jsx as n } from "react/jsx-runtime";
4
+ //#region src/components/Text/Text.tsx
5
+ function r({ variant: r = "body", weight: i = "regular", className: a, as: o = "span", ...s }) {
6
+ return /* @__PURE__ */ n(o, {
7
+ ...s,
8
+ className: e(t({
9
+ variant: r,
10
+ weight: i
11
+ }), a)
12
+ });
13
+ }
14
+ //#endregion
15
+ export { r as Text };
16
+
17
+ //# sourceMappingURL=Text.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Text.js","names":[],"sources":["../../../src/components/Text/Text.tsx"],"sourcesContent":["import type { ElementType, HTMLAttributes, Ref } from \"react\";\nimport type { TextVariant, TextWeight } from \"../../styles/typography.js\";\nimport { cx } from \"../../utils/cx.js\";\nimport { textRoot } from \"./Text.css.js\";\n\nexport interface TextProps extends HTMLAttributes<HTMLElement> {\n\t/**\n\t * Which semantic type tier to render at. Mirrors the Figma variable names.\n\t */\n\tvariant?: TextVariant;\n\tweight?: TextWeight;\n\t/**\n\t * The element to render. Defaults to `<span>`.\n\t *\n\t * Not for headings: a heading takes its level from its role, so compose RAC's\n\t * `Heading` there instead, as `Dialog.Title` does.\n\t */\n\tas?: keyof HTMLElementTagNameMap;\n\tref?: Ref<HTMLElement>;\n}\n\n/**\n * Text at one of the four semantic type tiers.\n *\n * Tier and weight are independent axes because they are independent in\n * practice: `body` ships at `regular` on seven components and `medium` on\n * seven others.\n *\n * Use this for a piece of text that owns its own element. A component whose\n * type sits on its own root — a `<button>`, a `<label>`, a toast — spreads\n * `typography()` into that root's class instead, rather than nesting a `Text`\n * inside itself.\n */\nexport function Text({\n\tvariant = \"body\",\n\tweight = \"regular\",\n\tclassName,\n\tas: Element = \"span\",\n\t...rest\n}: TextProps) {\n\tconst Component = Element as ElementType;\n\treturn (\n\t\t<Component\n\t\t\t{...rest}\n\t\t\tclassName={cx(textRoot({ variant, weight }), className)}\n\t\t/>\n\t);\n}\n"],"mappings":";;;;AAiCA,SAAgB,EAAK,EACpB,aAAU,QACV,YAAS,WACT,cACA,IAAI,IAAU,QACd,GAAG,KACU;AAEb,QACC,kBAFiB,GAEjB;EACC,GAAI;EACJ,WAAW,EAAG,EAAS;GAAE;GAAS;GAAQ,CAAC,EAAE,EAAU;EACtD,CAAA"}
@@ -0,0 +1,3 @@
1
+ export type { TextVariant, TextWeight } from "../../styles/typography.js";
2
+ export type { TextProps } from "./Text.js";
3
+ export { Text } from "./Text.js";
@@ -1 +1 @@
1
- {"version":3,"file":"ThinkingShimmer.css.js","names":[],"sources":["../../../src/components/ThinkingShimmer/ThinkingShimmer.css.ts"],"sourcesContent":["import { keyframes, style } from \"@vanilla-extract/css\";\nimport { t } from \"../../tokens/index.js\";\n\n// The base is the *secondary* content token, so the color each glyph shows most of\n// the time — and at rest — reads as a transient status line rather than body text,\n// while a glint sweeps across it (same model as the legacy `ui` shimmer).\n// Secondary is the lightest content-tier token that still clears WCAG AA in both\n// themes (5.05:1 on the light surface, 7.81:1 on dark). Legacy's shimmer is lighter\n// still, but it hardcodes #e8e8e8→#999999 at 1.23:1–2.85:1 with no dark variant;\n// matching it exactly would be a contrast waiver, not a token choice.\nconst shimmerBase = t(\"color-content-secondary\");\n// The glint moves AWAY from the surface rather than toward it — darker than the base in\n// light mode (#181a1e on #ffffff), lighter in dark (#ffffff on #181a1e). Stating it as\n// \"lighter\" or \"darker\" is wrong in one theme or the other; what holds in both is that\n// it is the higher-contrast end, 17.42:1.\n//\n// That direction is forced, not a preference. The gradient is clipped to the text, so\n// every stop is a glyph colour and owes AA, and per the note above\n// `color-content-secondary` is already the lightest neutral content token that clears\n// it — so no lighter glint exists. Enumerated the whole content tier to be sure: the\n// only AA-passing tokens lighter in light mode are `success`/`warning`, status hues and\n// wrong for a neutral status line.\n//\n// This was `color-border-default` — a NON-text token, 1.47:1 light and 1.69:1 dark, i.e.\n// under even the 3:1 non-text floor, which made the mid-sweep glyphs very nearly\n// invisible and was exactly the waiver the note above refuses.\nconst shimmerGlint = t(\"color-content-default\");\nexport const restingColor = t(\"color-content-secondary\");\n\n// Exported so the AA test can read the stops out of the gradient itself rather than a\n// hand-kept list of colours beside it. A stop added as a `t()` token is then checked\n// automatically; one written as a literal is NOT — the scrape only sees `var()` — so a\n// companion test rejects colour literals here rather than letting one ship unchecked.\nexport const shimmerGradient = `linear-gradient(90deg, ${shimmerBase} 0%, ${shimmerBase} 35%, ${shimmerGlint} 50%, ${shimmerBase} 65%, ${shimmerBase} 100%)`;\n\n// One smooth, constant-velocity sweep (linear). The gradient tiles\n// (background-repeat) and each cycle translates by exactly one tile width (200%),\n// so the loop is seamless and the text is always fully covered — no transparent\n// glyphs mid-sweep, no easing pulse.\nconst sweep = keyframes({\n\t\"0%\": { backgroundPositionX: \"200%\" },\n\t\"100%\": { backgroundPositionX: \"0%\" },\n});\n\n// Staggered vertical bounce for the ellipsis, via `vertical-align` — NOT\n// `top`/`transform`, which promote the dot to its own compositing layer and drop it\n// out of the root's `-webkit-background-clip: text`, leaving it invisible.\nconst dotBounce = keyframes({\n\t\"0%, 80%, 100%\": { verticalAlign: \"0\" },\n\t\"40%\": { verticalAlign: \"0.3em\" },\n});\n\nexport const root = style({\n\tdisplay: \"inline-block\",\n\tfontFamily: t(\"font-family-body\"),\n\tfontWeight: t(\"font-weight-medium\"),\n\tfontSize: t(\"font-size-body\"),\n\tlineHeight: t(\"line-height-body\"),\n\twhiteSpace: \"nowrap\",\n\t// A gradient clipped to the text and swept across it. The dots are plain inline\n\t// descendants covered by this same clip, so one band flows through the whole\n\t// label. Stops reference the tokens directly (currentColor can't express the\n\t// theme-aware stops); in dark mode they invert so the sweep keeps matching the\n\t// surface.\n\tbackgroundImage: shimmerGradient,\n\tbackgroundSize: \"200% 100%\",\n\tbackgroundRepeat: \"repeat\",\n\tbackgroundClip: \"text\",\n\tWebkitBackgroundClip: \"text\",\n\tcolor: \"transparent\",\n\tWebkitTextFillColor: \"transparent\",\n\tanimation: `${sweep} 2s linear infinite`,\n\t\"@media\": {\n\t\t// Reduced motion: hold the shimmer static at a flat, muted resting color —\n\t\t// never signal the loading state with animation alone.\n\t\t\"(prefers-reduced-motion: reduce)\": {\n\t\t\tanimation: \"none\",\n\t\t\tbackgroundImage: \"none\",\n\t\t\tcolor: restingColor,\n\t\t\tWebkitTextFillColor: restingColor,\n\t\t},\n\t},\n});\n\n// Carries the announced status string as real text (live regions announce\n// rendered text, not `aria-label`), while staying out of the visual layout.\nexport const visuallyHidden = style({\n\tposition: \"absolute\",\n\twidth: 1,\n\theight: 1,\n\tpadding: 0,\n\tmargin: -1,\n\toverflow: \"hidden\",\n\tclip: \"rect(0, 0, 0, 0)\",\n\twhiteSpace: \"nowrap\",\n\tborder: 0,\n\t// Clipped text is still selectable, so a select-all over the transcript would\n\t// otherwise copy the announced status alongside the messages (EXP-1479).\n\tuserSelect: \"none\",\n\tWebkitUserSelect: \"none\",\n});\n\nexport const ellipsis = style({\n\tdisplay: \"inline\",\n});\n\nexport const dot = style({\n\t// Plain inline and unpositioned so the dots stay in the root's single text clip;\n\t// color and gradient are inherited, only the bounce (see `dotBounce`) moves them.\n\tdisplay: \"inline\",\n\t// Zero line-height so a bounced dot can't grow the line box and shift the whole\n\t// label; the raise fits within the root's existing line-height headroom.\n\tlineHeight: 0,\n\tanimation: `${dotBounce} 1.4s ease-in-out infinite`,\n\tselectors: {\n\t\t\"&:nth-child(2)\": { animationDelay: \"0.16s\" },\n\t\t\"&:nth-child(3)\": { animationDelay: \"0.32s\" },\n\t},\n\t\"@media\": {\n\t\t\"(prefers-reduced-motion: reduce)\": {\n\t\t\tanimation: \"none\",\n\t\t},\n\t},\n});\n"],"mappings":""}
1
+ {"version":3,"file":"ThinkingShimmer.css.js","names":[],"sources":["../../../src/components/ThinkingShimmer/ThinkingShimmer.css.ts"],"sourcesContent":["import { keyframes, style } from \"@vanilla-extract/css\";\nimport { typography } from \"../../styles/typography.js\";\nimport { t } from \"../../tokens/index.js\";\n\n// The base is the *secondary* content token, so the color each glyph shows most of\n// the time — and at rest — reads as a transient status line rather than body text,\n// while a glint sweeps across it (same model as the legacy `ui` shimmer).\n// Secondary is the lightest content-tier token that still clears WCAG AA in both\n// themes (5.05:1 on the light surface, 7.81:1 on dark). Legacy's shimmer is lighter\n// still, but it hardcodes #e8e8e8→#999999 at 1.23:1–2.85:1 with no dark variant;\n// matching it exactly would be a contrast waiver, not a token choice.\nconst shimmerBase = t(\"color-content-secondary\");\n// The glint moves AWAY from the surface rather than toward it — darker than the base in\n// light mode (#181a1e on #ffffff), lighter in dark (#ffffff on #181a1e). Stating it as\n// \"lighter\" or \"darker\" is wrong in one theme or the other; what holds in both is that\n// it is the higher-contrast end, 17.42:1.\n//\n// That direction is forced, not a preference. The gradient is clipped to the text, so\n// every stop is a glyph colour and owes AA, and per the note above\n// `color-content-secondary` is already the lightest neutral content token that clears\n// it — so no lighter glint exists. Enumerated the whole content tier to be sure: the\n// only AA-passing tokens lighter in light mode are `success`/`warning`, status hues and\n// wrong for a neutral status line.\n//\n// This was `color-border-default` — a NON-text token, 1.47:1 light and 1.69:1 dark, i.e.\n// under even the 3:1 non-text floor, which made the mid-sweep glyphs very nearly\n// invisible and was exactly the waiver the note above refuses.\nconst shimmerGlint = t(\"color-content-default\");\nexport const restingColor = t(\"color-content-secondary\");\n\n// Exported so the AA test can read the stops out of the gradient itself rather than a\n// hand-kept list of colours beside it. A stop added as a `t()` token is then checked\n// automatically; one written as a literal is NOT — the scrape only sees `var()` — so a\n// companion test rejects colour literals here rather than letting one ship unchecked.\nexport const shimmerGradient = `linear-gradient(90deg, ${shimmerBase} 0%, ${shimmerBase} 35%, ${shimmerGlint} 50%, ${shimmerBase} 65%, ${shimmerBase} 100%)`;\n\n// One smooth, constant-velocity sweep (linear). The gradient tiles\n// (background-repeat) and each cycle translates by exactly one tile width (200%),\n// so the loop is seamless and the text is always fully covered — no transparent\n// glyphs mid-sweep, no easing pulse.\nconst sweep = keyframes({\n\t\"0%\": { backgroundPositionX: \"200%\" },\n\t\"100%\": { backgroundPositionX: \"0%\" },\n});\n\n// Staggered vertical bounce for the ellipsis, via `vertical-align` — NOT\n// `top`/`transform`, which promote the dot to its own compositing layer and drop it\n// out of the root's `-webkit-background-clip: text`, leaving it invisible.\nconst dotBounce = keyframes({\n\t\"0%, 80%, 100%\": { verticalAlign: \"0\" },\n\t\"40%\": { verticalAlign: \"0.3em\" },\n});\n\nexport const root = style({\n\tdisplay: \"inline-block\",\n\t...typography(\"body\", \"medium\"),\n\twhiteSpace: \"nowrap\",\n\t// A gradient clipped to the text and swept across it. The dots are plain inline\n\t// descendants covered by this same clip, so one band flows through the whole\n\t// label. Stops reference the tokens directly (currentColor can't express the\n\t// theme-aware stops); in dark mode they invert so the sweep keeps matching the\n\t// surface.\n\tbackgroundImage: shimmerGradient,\n\tbackgroundSize: \"200% 100%\",\n\tbackgroundRepeat: \"repeat\",\n\tbackgroundClip: \"text\",\n\tWebkitBackgroundClip: \"text\",\n\tcolor: \"transparent\",\n\tWebkitTextFillColor: \"transparent\",\n\tanimation: `${sweep} 2s linear infinite`,\n\t\"@media\": {\n\t\t// Reduced motion: hold the shimmer static at a flat, muted resting color —\n\t\t// never signal the loading state with animation alone.\n\t\t\"(prefers-reduced-motion: reduce)\": {\n\t\t\tanimation: \"none\",\n\t\t\tbackgroundImage: \"none\",\n\t\t\tcolor: restingColor,\n\t\t\tWebkitTextFillColor: restingColor,\n\t\t},\n\t},\n});\n\n// Carries the announced status string as real text (live regions announce\n// rendered text, not `aria-label`), while staying out of the visual layout.\nexport const visuallyHidden = style({\n\tposition: \"absolute\",\n\twidth: 1,\n\theight: 1,\n\tpadding: 0,\n\tmargin: -1,\n\toverflow: \"hidden\",\n\tclip: \"rect(0, 0, 0, 0)\",\n\twhiteSpace: \"nowrap\",\n\tborder: 0,\n\t// Clipped text is still selectable, so a select-all over the transcript would\n\t// otherwise copy the announced status alongside the messages (EXP-1479).\n\tuserSelect: \"none\",\n\tWebkitUserSelect: \"none\",\n});\n\nexport const ellipsis = style({\n\tdisplay: \"inline\",\n});\n\nexport const dot = style({\n\t// Plain inline and unpositioned so the dots stay in the root's single text clip;\n\t// color and gradient are inherited, only the bounce (see `dotBounce`) moves them.\n\tdisplay: \"inline\",\n\t// Zero line-height so a bounced dot can't grow the line box and shift the whole\n\t// label; the raise fits within the root's existing line-height headroom.\n\tlineHeight: 0,\n\tanimation: `${dotBounce} 1.4s ease-in-out infinite`,\n\tselectors: {\n\t\t\"&:nth-child(2)\": { animationDelay: \"0.16s\" },\n\t\t\"&:nth-child(3)\": { animationDelay: \"0.32s\" },\n\t},\n\t\"@media\": {\n\t\t\"(prefers-reduced-motion: reduce)\": {\n\t\t\tanimation: \"none\",\n\t\t},\n\t},\n});\n"],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"Tooltip.css.js","names":[],"sources":["../../../src/components/Tooltip/Tooltip.css.ts"],"sourcesContent":["import { globalStyle, style } from \"@vanilla-extract/css\";\nimport { t } from \"../../tokens/index.js\";\n\n// A filter, not a box-shadow, so the shadow wraps the arrow silhouette rather than\n// just the rectangular bubble.\nconst TOOLTIP_SHADOW = t(\"elevation-2-filter\");\n\nexport const tooltip = style({\n\tboxSizing: \"border-box\",\n\tmaxWidth: \"184px\",\n\tpadding: t(\"spacing-8\"),\n\tborderRadius: t(\"border-radius-6\"),\n\tbackgroundColor: t(\"color-background-inverse\"),\n\tcolor: t(\"color-content-inverse\"),\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\ttextAlign: \"center\",\n\twordBreak: \"break-word\",\n\tfilter: TOOLTIP_SHADOW,\n\tselectors: {\n\t\t\"&[data-entering]\": { opacity: 0 },\n\t\t\"&[data-exiting]\": { opacity: 0 },\n\t},\n\t\"@media\": {\n\t\t\"(prefers-reduced-motion: no-preference)\": {\n\t\t\ttransition: `opacity ${t(\"duration-fast\")} ${t(\"easing-standard\")}`,\n\t\t},\n\t},\n});\n\nexport const arrow = style({\n\tdisplay: \"block\",\n});\n\n// The triangle's apex points down (correct for a tooltip above its trigger);\n// each placement rotates it to point back at the trigger.\nexport const arrowSvg = style({\n\tdisplay: \"block\",\n\tfill: t(\"color-background-inverse\"),\n});\n\nglobalStyle(`${tooltip}[data-placement^=\"top\"] ${arrowSvg}`, {\n\ttransform: \"rotate(0deg)\",\n});\nglobalStyle(`${tooltip}[data-placement^=\"bottom\"] ${arrowSvg}`, {\n\ttransform: \"rotate(180deg)\",\n});\nglobalStyle(`${tooltip}[data-placement^=\"left\"] ${arrowSvg}`, {\n\ttransform: \"rotate(-90deg)\",\n});\nglobalStyle(`${tooltip}[data-placement^=\"right\"] ${arrowSvg}`, {\n\ttransform: \"rotate(90deg)\",\n});\n"],"mappings":""}
1
+ {"version":3,"file":"Tooltip.css.js","names":[],"sources":["../../../src/components/Tooltip/Tooltip.css.ts"],"sourcesContent":["import { globalStyle, style } from \"@vanilla-extract/css\";\nimport { typography } from \"../../styles/typography.js\";\nimport { t } from \"../../tokens/index.js\";\n\n// A filter, not a box-shadow, so the shadow wraps the arrow silhouette rather than\n// just the rectangular bubble.\nconst TOOLTIP_SHADOW = t(\"elevation-2-filter\");\n\nexport const tooltip = style({\n\tboxSizing: \"border-box\",\n\tmaxWidth: \"184px\",\n\tpadding: t(\"spacing-8\"),\n\tborderRadius: t(\"border-radius-6\"),\n\tbackgroundColor: t(\"color-background-inverse\"),\n\tcolor: t(\"color-content-inverse\"),\n\t...typography(\"caption\", \"regular\"),\n\ttextAlign: \"center\",\n\twordBreak: \"break-word\",\n\tfilter: TOOLTIP_SHADOW,\n\tselectors: {\n\t\t\"&[data-entering]\": { opacity: 0 },\n\t\t\"&[data-exiting]\": { opacity: 0 },\n\t},\n\t\"@media\": {\n\t\t\"(prefers-reduced-motion: no-preference)\": {\n\t\t\ttransition: `opacity ${t(\"duration-fast\")} ${t(\"easing-standard\")}`,\n\t\t},\n\t},\n});\n\nexport const arrow = style({\n\tdisplay: \"block\",\n});\n\n// The triangle's apex points down (correct for a tooltip above its trigger);\n// each placement rotates it to point back at the trigger.\nexport const arrowSvg = style({\n\tdisplay: \"block\",\n\tfill: t(\"color-background-inverse\"),\n});\n\nglobalStyle(`${tooltip}[data-placement^=\"top\"] ${arrowSvg}`, {\n\ttransform: \"rotate(0deg)\",\n});\nglobalStyle(`${tooltip}[data-placement^=\"bottom\"] ${arrowSvg}`, {\n\ttransform: \"rotate(180deg)\",\n});\nglobalStyle(`${tooltip}[data-placement^=\"left\"] ${arrowSvg}`, {\n\ttransform: \"rotate(-90deg)\",\n});\nglobalStyle(`${tooltip}[data-placement^=\"right\"] ${arrowSvg}`, {\n\ttransform: \"rotate(90deg)\",\n});\n"],"mappings":""}
package/dist/index.d.ts CHANGED
@@ -29,6 +29,7 @@ export * from "./components/Sheet/index.js";
29
29
  export * from "./components/SheetOverlay/index.js";
30
30
  export * from "./components/Spinner/index.js";
31
31
  export * from "./components/Survey/index.js";
32
+ export * from "./components/Text/index.js";
32
33
  export * from "./components/ThinkingShimmer/index.js";
33
34
  export * from "./components/Toast/index.js";
34
35
  export * from "./components/Toggle/index.js";
package/dist/index.js CHANGED
@@ -74,15 +74,16 @@ import { useSubmitOnEnter as be } from "./hooks/useSubmitOnEnter.js";
74
74
  import { Spinner as xe } from "./components/Spinner/Spinner.js";
75
75
  import { SurveyRating as Se } from "./components/Survey/SurveyRating/SurveyRating.js";
76
76
  import { SurveySelect as Ce } from "./components/Survey/SurveySelect/SurveySelect.js";
77
- import { ThinkingShimmer as we } from "./components/ThinkingShimmer/ThinkingShimmer.js";
78
- import { Toast as Te } from "./components/Toast/Toast.js";
79
- import { ToastContainer as Ee } from "./components/Toast/ToastContainer.js";
80
- import { ToastQueue as De } from "./components/Toast/index.js";
81
- import { Toggle as Oe } from "./components/Toggle/Toggle.js";
82
- import { Tooltip as ke, TooltipTrigger as Ae } from "./components/Tooltip/Tooltip.js";
83
- import { TypingIndicator as je } from "./components/TypingIndicator/TypingIndicator.js";
84
- import { UserMessage as Me } from "./components/UserMessage/UserMessage.js";
85
- import { VideoMessage as Ne } from "./components/VideoMessage/VideoMessage.js";
86
- import { LOVELACE_SURFACES as Pe, contrastRatioBetween as Fe, createBrandOverrides as Ie, isLegibleAgainst as Le, isLegibleOnSurface as Re, readableTextOnAccent as ze } from "./runtime/branding.js";
87
- import { LovelaceProvider as Be, useResolvedTheme as Ve } from "./runtime/LovelaceProvider.js";
88
- export { a as AdaLogo, e as AgentMessage, o as ArrowDown, s as ArrowLeft, c as ArrowNortheast, l as ArrowNorthwest, u as ArrowRight, t as AttachmentChip, r as Avatar, n as AvatarPlaceholder, V as Banner, H as BannerContainer, d as Bell, f as BellSlash, G as BubbleOverlay, K as Button, q as Checkbox, J as CheckboxGroup, p as Checkmark, m as CheckmarkCircle, h as ChevronLeft, g as ChevronRight, Y as Chip, _ as CloudUpload, X as Dialog, Z as DialogOverlay, Q as Divider, v as Document, y as Download, $ as DropZone, b as Ellipses, x as Email, S as ExclamationSync, C as ExclamationTriangle, w as Eye, T as EyeSlash, ee as FullscreenOverlay, te as Header, i as Icon, ne as IconButton, re as Image, ie as Input, Pe as LOVELACE_SURFACES, E as Language, ae as Link, Be as LovelaceProvider, D as MediaSlash, oe as Menu, se as MenuItem, ce as MessageError, le as MessageRow, O as MessagingFill, k as Minimize, A as Mute, j as Paperclip, M as PersonFill, ue as PictureMessage, de as PillButton, N as PlayFill, fe as ProactiveMessage, pe as Radio, me as RadioGroup, he as ScrollMarker, P as SendFill, ge as Sheet, _e as SheetOverlay, xe as Spinner, F as StarBadgeFill, Se as SurveyRating, Ce as SurveySelect, we as ThinkingShimmer, I as ThumbsDown, L as ThumbsUp, Te as Toast, Ee as ToastContainer, De as ToastQueue, Oe as Toggle, ke as Tooltip, Ae as TooltipTrigger, je as TypingIndicator, Me as UserMessage, Ne as VideoMessage, R as Volume, z as Xmark, B as XmarkCircle, Fe as contrastRatioBetween, Ie as createBrandOverrides, Le as isLegibleAgainst, Re as isLegibleOnSurface, ve as readPrefersReducedMotion, ze as readableTextOnAccent, U as useHasOpenOverlay, ye as usePrefersReducedMotion, W as useRegisterOverlay, Ve as useResolvedTheme, be as useSubmitOnEnter };
77
+ import { Text as we } from "./components/Text/Text.js";
78
+ import { ThinkingShimmer as Te } from "./components/ThinkingShimmer/ThinkingShimmer.js";
79
+ import { Toast as Ee } from "./components/Toast/Toast.js";
80
+ import { ToastContainer as De } from "./components/Toast/ToastContainer.js";
81
+ import { ToastQueue as Oe } from "./components/Toast/index.js";
82
+ import { Toggle as ke } from "./components/Toggle/Toggle.js";
83
+ import { Tooltip as Ae, TooltipTrigger as je } from "./components/Tooltip/Tooltip.js";
84
+ import { TypingIndicator as Me } from "./components/TypingIndicator/TypingIndicator.js";
85
+ import { UserMessage as Ne } from "./components/UserMessage/UserMessage.js";
86
+ import { VideoMessage as Pe } from "./components/VideoMessage/VideoMessage.js";
87
+ import { LOVELACE_SURFACES as Fe, contrastRatioBetween as Ie, createBrandOverrides as Le, isLegibleAgainst as Re, isLegibleOnSurface as ze, readableTextOnAccent as Be } from "./runtime/branding.js";
88
+ import { LovelaceProvider as Ve, useResolvedTheme as He } from "./runtime/LovelaceProvider.js";
89
+ export { a as AdaLogo, e as AgentMessage, o as ArrowDown, s as ArrowLeft, c as ArrowNortheast, l as ArrowNorthwest, u as ArrowRight, t as AttachmentChip, r as Avatar, n as AvatarPlaceholder, V as Banner, H as BannerContainer, d as Bell, f as BellSlash, G as BubbleOverlay, K as Button, q as Checkbox, J as CheckboxGroup, p as Checkmark, m as CheckmarkCircle, h as ChevronLeft, g as ChevronRight, Y as Chip, _ as CloudUpload, X as Dialog, Z as DialogOverlay, Q as Divider, v as Document, y as Download, $ as DropZone, b as Ellipses, x as Email, S as ExclamationSync, C as ExclamationTriangle, w as Eye, T as EyeSlash, ee as FullscreenOverlay, te as Header, i as Icon, ne as IconButton, re as Image, ie as Input, Fe as LOVELACE_SURFACES, E as Language, ae as Link, Ve as LovelaceProvider, D as MediaSlash, oe as Menu, se as MenuItem, ce as MessageError, le as MessageRow, O as MessagingFill, k as Minimize, A as Mute, j as Paperclip, M as PersonFill, ue as PictureMessage, de as PillButton, N as PlayFill, fe as ProactiveMessage, pe as Radio, me as RadioGroup, he as ScrollMarker, P as SendFill, ge as Sheet, _e as SheetOverlay, xe as Spinner, F as StarBadgeFill, Se as SurveyRating, Ce as SurveySelect, we as Text, Te as ThinkingShimmer, I as ThumbsDown, L as ThumbsUp, Ee as Toast, De as ToastContainer, Oe as ToastQueue, ke as Toggle, Ae as Tooltip, je as TooltipTrigger, Me as TypingIndicator, Ne as UserMessage, Pe as VideoMessage, R as Volume, z as Xmark, B as XmarkCircle, Ie as contrastRatioBetween, Le as createBrandOverrides, Re as isLegibleAgainst, ze as isLegibleOnSurface, ve as readPrefersReducedMotion, Be as readableTextOnAccent, U as useHasOpenOverlay, ye as usePrefersReducedMotion, W as useRegisterOverlay, He as useResolvedTheme, be 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)}._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{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);overflow-wrap:break-word;justify-content:center;align-items:center;display:flex}.fpbgjm2{background-color:var(--lovelace-color-background-success-light);color:var(--lovelace-color-content-success)}.fpbgjm3{background-color:var(--lovelace-color-background-warning-light);color:var(--lovelace-color-content-warning)}.fpbgjm4{background-color:var(--lovelace-color-background-destructive-light);color:var(--lovelace-color-content-destructive)}.fpbgjm5{min-width:0}.fpbgjm0>[data-slot=icon]{font-size:var(--lovelace-icon-size-control);flex-shrink:0}.fpbgjm6{overflow:hidden}.fpbgjm7[data-entering],.fpbgjm7[data-exiting]{transform:translateY(-100%)}.fpbgjm7[data-swapping]{opacity:0}@media (prefers-reduced-motion:no-preference){.fpbgjm7{transition:transform 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}.xywi8y0{padding:var(--lovelace-padding-16);justify-content:flex-end;align-items:center}.xywi8y1{background-color:var(--lovelace-elevation-2-background);border-radius:var(--lovelace-border-radius-container);width:fit-content;max-width:min(320px,100%);min-height:0;max-height:100%;box-shadow:var(--lovelace-elevation-4);flex-direction:column;display:flex;position:relative;overflow:hidden}.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)}}._1kxa7cu0{z-index:200;flex-direction:column;display:flex;position:fixed;inset:0}._1kxa7cu0[data-entering],._1kxa7cu0[data-exiting]{opacity:0}@media (prefers-reduced-motion:no-preference){._1kxa7cu0{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;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);background-color:var(--lovelace-elevation-2-background);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-scrim-subtle);justify-content:center;align-items:center}._9zd2r41{background-color:var(--lovelace-elevation-2-background);border-radius:var(--lovelace-border-radius-container);width:366px;max-width:100%;max-height:90%;box-shadow:var(--lovelace-elevation-2);flex-direction:column;display:flex;overflow:hidden}._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-scrim-subtle)}._6ivfy31{background-color:var(--lovelace-elevation-2-background);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}._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}}.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;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;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}[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-elevation-3-background);border:var(--lovelace-border-width-default) solid var(--lovelace-color-border-default);box-shadow:var(--lovelace-elevation-3);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}._19x8abf1{isolation:isolate;box-sizing:border-box;border-radius:var(--lovelace-border-radius-full);box-shadow:var(--lovelace-elevation-2);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}._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:var(--lovelace-elevation-2), 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-elevation-2-background);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-scrim-subtle);justify-content:flex-end;align-items:center}._1hi4ecs1{background-color:var(--lovelace-elevation-2-background);width:100%;min-height:0;max-height:80%;box-shadow:var(--lovelace-elevation-2);border-start-start-radius:var(--lovelace-border-radius-container);border-start-end-radius:var(--lovelace-border-radius-container);flex-direction:column;display:flex;position:relative;overflow:hidden}._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}}[data-theme=light]{--_16991600:var(--lovelace-color-border-default)}[data-theme=dark]{--_16991600:var(--lovelace-color-border-medium)}._16991601{box-sizing:border-box;justify-content:flex-start;align-items:center;gap:var(--lovelace-gap-8);width:fit-content;max-width:100%;padding-inline:var(--lovelace-padding-12);padding-block:var(--lovelace-padding-8);border-radius:var(--lovelace-border-radius-10);border-width:var(--lovelace-border-width-default);border-style:solid;border-color:var(--_16991600,var(--lovelace-color-border-default));background-color:var(--lovelace-color-background-tertiary);box-shadow:var(--lovelace-elevation-3);display:flex}._16991602{flex-shrink:0;justify-content:center;align-items:center;line-height:0;display:flex}._16991603{color:var(--lovelace-color-content-success);font-size:var(--lovelace-icon-size-control)}._16991604{color:var(--lovelace-color-content-warning);font-size:var(--lovelace-icon-size-control)}._16991605{color:var(--lovelace-color-content-destructive);font-size:var(--lovelace-icon-size-control)}._16991606{color:var(--lovelace-color-content-secondary);font-size:var(--lovelace-icon-size-lg)}._16991607{width:var(--lovelace-icon-size-lg);height:var(--lovelace-icon-size-lg)}._16991608{min-width:0;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);overflow-wrap:break-word;margin-inline-end:auto}._16991609{color:var(--lovelace-color-content-secondary);flex-shrink:0}._16991601>[data-slot=button] [data-slot=icon]{font-size:var(--lovelace-icon-size-sm)}._16991601>[data-slot=button][data-disabled]{color:var(--lovelace-color-content-secondary);cursor:inherit}._1699160a{pointer-events:none}._1699160b{outline:none}._1699160c{align-items:center;gap:var(--lovelace-gap-16);flex-direction:column-reverse;margin:0;padding:0;list-style:none;display:flex}._1699160d{pointer-events:auto;padding-inline:var(--lovelace-padding-16);outline:none}._1699160d[data-entering]{opacity:0;transform:translateY(100%)}._1699160d[data-exiting]{opacity:0;pointer-events:none;transform:translateY(100%)}._1699160d[data-focus-visible] ._16991601{box-shadow:inset 0 0 0 var(--lovelace-border-width-focus) var(--lovelace-color-border-focus), var(--lovelace-elevation-3)}@media (forced-colors:active){._16991601{border-color:canvastext}._1699160d[data-focus-visible] ._16991601{outline-offset:-2px;outline:2px solid highlight}}@media (prefers-reduced-motion:no-preference){._1699160d{transition:opacity var(--lovelace-duration-medium) var(--lovelace-easing-standard), transform var(--lovelace-duration-medium) var(--lovelace-easing-standard)}}.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:var(--lovelace-elevation-2-filter)}.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);line-height:var(--lovelace-line-height-body);font-weight:var(--lovelace-font-weight-regular);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{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);overflow-wrap:break-word;justify-content:center;align-items:center;display:flex}.fpbgjm2{background-color:var(--lovelace-color-background-success-light);color:var(--lovelace-color-content-success)}.fpbgjm3{background-color:var(--lovelace-color-background-warning-light);color:var(--lovelace-color-content-warning)}.fpbgjm4{background-color:var(--lovelace-color-background-destructive-light);color:var(--lovelace-color-content-destructive)}.fpbgjm5{min-width:0}.fpbgjm0>[data-slot=icon]{font-size:var(--lovelace-icon-size-control);flex-shrink:0}.fpbgjm6{overflow:hidden}.fpbgjm7[data-entering],.fpbgjm7[data-exiting]{transform:translateY(-100%)}.fpbgjm7[data-swapping]{opacity:0}@media (prefers-reduced-motion:no-preference){.fpbgjm7{transition:transform 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}.xywi8y0{padding:var(--lovelace-padding-16);justify-content:flex-end;align-items:center}.xywi8y1{background-color:var(--lovelace-elevation-2-background);border-radius:var(--lovelace-border-radius-container);width:fit-content;max-width:min(320px,100%);min-height:0;max-height:100%;box-shadow:var(--lovelace-elevation-4);flex-direction:column;display:flex;position:relative;overflow:hidden}.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)}}._1kxa7cu0{z-index:200;flex-direction:column;display:flex;position:fixed;inset:0}._1kxa7cu0[data-entering],._1kxa7cu0[data-exiting]{opacity:0}@media (prefers-reduced-motion:no-preference){._1kxa7cu0{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-size:var(--lovelace-font-size-body);line-height:var(--lovelace-line-height-body);font-weight:var(--lovelace-font-weight-medium);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-size:var(--lovelace-font-size-body);line-height:var(--lovelace-line-height-body);font-weight:var(--lovelace-font-weight-regular);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;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-size:var(--lovelace-font-size-body);line-height:var(--lovelace-line-height-body);font-weight:var(--lovelace-font-weight-medium);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);background-color:var(--lovelace-elevation-2-background);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-size:var(--lovelace-font-size-title-large);line-height:var(--lovelace-line-height-title-large);font-weight:var(--lovelace-font-weight-medium);color:var(--lovelace-color-content-default);margin:0}.onnuc96{text-align:center;width:100%;font-family:var(--lovelace-font-family-body);font-size:var(--lovelace-font-size-body);line-height:var(--lovelace-line-height-body);font-weight:var(--lovelace-font-weight-regular);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-scrim-subtle);justify-content:center;align-items:center}._9zd2r41{background-color:var(--lovelace-elevation-2-background);border-radius:var(--lovelace-border-radius-container);width:366px;max-width:100%;max-height:90%;box-shadow:var(--lovelace-elevation-2);flex-direction:column;display:flex;overflow:hidden}._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-size:var(--lovelace-font-size-body);line-height:var(--lovelace-line-height-body);font-weight:var(--lovelace-font-weight-regular);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-scrim-subtle)}._6ivfy31{background-color:var(--lovelace-elevation-2-background);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-family:var(--lovelace-font-family-body);font-size:var(--lovelace-font-size-body);line-height:var(--lovelace-line-height-body);font-weight:var(--lovelace-font-weight-medium);flex:1;margin:0;overflow:hidden}._3tx76z0{aspect-ratio:37.5/12}._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}}.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-size:var(--lovelace-font-size-body);line-height:var(--lovelace-line-height-body);font-weight:var(--lovelace-font-weight-regular);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-size:var(--lovelace-font-size-body);line-height:var(--lovelace-line-height-body);font-weight:var(--lovelace-font-weight-regular);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-size:var(--lovelace-font-size-caption);line-height:var(--lovelace-line-height-caption);font-weight:var(--lovelace-font-weight-regular);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-size:var(--lovelace-font-size-body);line-height:var(--lovelace-line-height-body);font-weight:var(--lovelace-font-weight-regular);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;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;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);line-height:var(--lovelace-line-height-body);font-weight:var(--lovelace-font-weight-regular);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}[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-size:var(--lovelace-font-size-caption);line-height:var(--lovelace-line-height-caption);font-weight:var(--lovelace-font-weight-regular);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-size:var(--lovelace-font-size-body);line-height:var(--lovelace-line-height-body);font-weight:var(--lovelace-font-weight-medium);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-elevation-3-background);border:var(--lovelace-border-width-default) solid var(--lovelace-color-border-default);box-shadow:var(--lovelace-elevation-3);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);font-weight:var(--lovelace-font-weight-regular);text-align:start;overflow-wrap:anywhere;flex-direction:column;justify-content:center;align-items:flex-start;display:flex}._19x8abf1{isolation:isolate;box-sizing:border-box;border-radius:var(--lovelace-border-radius-full);box-shadow:var(--lovelace-elevation-2);font-family:var(--lovelace-font-family-body);font-size:var(--lovelace-font-size-body);line-height:var(--lovelace-line-height-body);font-weight:var(--lovelace-font-weight-medium);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}._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:var(--lovelace-elevation-2), 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-elevation-2-background);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-size:var(--lovelace-font-size-body);line-height:var(--lovelace-line-height-body);font-weight:var(--lovelace-font-weight-medium);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-scrim-subtle);justify-content:flex-end;align-items:center}._1hi4ecs1{background-color:var(--lovelace-elevation-2-background);width:100%;min-height:0;max-height:80%;box-shadow:var(--lovelace-elevation-2);border-start-start-radius:var(--lovelace-border-radius-container);border-start-end-radius:var(--lovelace-border-radius-container);flex-direction:column;display:flex;position:relative;overflow:hidden}._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-size:var(--lovelace-font-size-caption);line-height:var(--lovelace-line-height-caption);font-weight:var(--lovelace-font-weight-regular);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}._17fuu3y0{margin:0}._17fuu3y1{font-family:var(--lovelace-font-family-body);font-size:var(--lovelace-font-size-body);line-height:var(--lovelace-line-height-body)}._17fuu3y2{font-family:var(--lovelace-font-family-body);font-size:var(--lovelace-font-size-caption);line-height:var(--lovelace-line-height-caption)}._17fuu3y3{font-family:var(--lovelace-font-family-body);font-size:var(--lovelace-font-size-title-small);line-height:var(--lovelace-line-height-title-small)}._17fuu3y4{font-family:var(--lovelace-font-family-body);font-size:var(--lovelace-font-size-title-large);line-height:var(--lovelace-line-height-title-large)}._17fuu3y5{font-weight:var(--lovelace-font-weight-regular)}._17fuu3y6{font-weight:var(--lovelace-font-weight-medium)}._17fuu3y7{font-weight:var(--lovelace-font-weight-semi-bold)}@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-size:var(--lovelace-font-size-body);line-height:var(--lovelace-line-height-body);font-weight:var(--lovelace-font-weight-medium);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}}[data-theme=light]{--_16991600:var(--lovelace-color-border-default)}[data-theme=dark]{--_16991600:var(--lovelace-color-border-medium)}._16991601{box-sizing:border-box;justify-content:flex-start;align-items:center;gap:var(--lovelace-gap-8);width:fit-content;max-width:100%;padding-inline:var(--lovelace-padding-12);padding-block:var(--lovelace-padding-8);border-radius:var(--lovelace-border-radius-10);border-width:var(--lovelace-border-width-default);border-style:solid;border-color:var(--_16991600,var(--lovelace-color-border-default));background-color:var(--lovelace-color-background-tertiary);box-shadow:var(--lovelace-elevation-3);display:flex}._16991602{flex-shrink:0;justify-content:center;align-items:center;line-height:0;display:flex}._16991603{color:var(--lovelace-color-content-success);font-size:var(--lovelace-icon-size-control)}._16991604{color:var(--lovelace-color-content-warning);font-size:var(--lovelace-icon-size-control)}._16991605{color:var(--lovelace-color-content-destructive);font-size:var(--lovelace-icon-size-control)}._16991606{color:var(--lovelace-color-content-secondary);font-size:var(--lovelace-icon-size-lg)}._16991607{width:var(--lovelace-icon-size-lg);height:var(--lovelace-icon-size-lg)}._16991608{min-width:0;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);overflow-wrap:break-word;margin-inline-end:auto}._16991609{color:var(--lovelace-color-content-secondary);flex-shrink:0}._16991601>[data-slot=button] [data-slot=icon]{font-size:var(--lovelace-icon-size-sm)}._16991601>[data-slot=button][data-disabled]{color:var(--lovelace-color-content-secondary);cursor:inherit}._1699160a{pointer-events:none}._1699160b{outline:none}._1699160c{align-items:center;gap:var(--lovelace-gap-16);flex-direction:column-reverse;margin:0;padding:0;list-style:none;display:flex}._1699160d{pointer-events:auto;padding-inline:var(--lovelace-padding-16);outline:none}._1699160d[data-entering]{opacity:0;transform:translateY(100%)}._1699160d[data-exiting]{opacity:0;pointer-events:none;transform:translateY(100%)}._1699160d[data-focus-visible] ._16991601{box-shadow:inset 0 0 0 var(--lovelace-border-width-focus) var(--lovelace-color-border-focus), var(--lovelace-elevation-3)}@media (forced-colors:active){._16991601{border-color:canvastext}._1699160d[data-focus-visible] ._16991601{outline-offset:-2px;outline:2px solid highlight}}@media (prefers-reduced-motion:no-preference){._1699160d{transition:opacity var(--lovelace-duration-medium) var(--lovelace-easing-standard), transform var(--lovelace-duration-medium) var(--lovelace-easing-standard)}}.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-size:var(--lovelace-font-size-caption);line-height:var(--lovelace-line-height-caption);font-weight:var(--lovelace-font-weight-regular);text-align:center;word-break:break-word;filter:var(--lovelace-elevation-2-filter)}.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*/
@@ -0,0 +1,32 @@
1
+ import type { StyleRule } from "@vanilla-extract/css";
2
+ /**
3
+ * The four semantic type tiers Figma defines, as variable names rather than
4
+ * values. Lovelace 2.0 publishes no TEXT styles — typography lives entirely in
5
+ * variables — so these token names are the shared vocabulary with design, and
6
+ * the variant values mirror them exactly to keep the mapping translation-free.
7
+ */
8
+ export type TextVariant = "body" | "caption" | "title-small" | "title-large";
9
+ export type TextWeight = "regular" | "medium" | "semi-bold";
10
+ /**
11
+ * Family, size and line height for one tier.
12
+ *
13
+ * Family is deliberately not an axis. `font-family-heading` has one consumer in
14
+ * the whole package (the dialog title, which keeps it as a local override) and
15
+ * `font-family-code` / `font-family-mono` have none, so a family prop would be
16
+ * surface Figma does not show.
17
+ */
18
+ export declare function typographyVariant(variant: TextVariant): StyleRule;
19
+ /**
20
+ * Weight alone. Split from the tier because the two axes are independent in
21
+ * practice: `body` ships with `regular` on seven components and `medium` on
22
+ * seven others, so a tier cannot carry a weight of its own.
23
+ */
24
+ export declare function typographyWeight(weight: TextWeight): StyleRule;
25
+ /**
26
+ * Both axes as one block, spread into a host's own class rather than shared as
27
+ * one class — the `rowFrame` treatment. The hosts are a `<button>`, a
28
+ * `<label>`, a tooltip and a toast, which must not share a cascade, and in
29
+ * every case the type sits on the component's own root: there is no text child
30
+ * to hang a class on.
31
+ */
32
+ export declare function typography(variant: TextVariant, weight?: TextWeight): StyleRule;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ada-cx/lovelace",
3
- "version": "1.14.0",
3
+ "version": "1.15.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",