@ada-cx/lovelace 1.17.0 → 1.18.1

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.
@@ -0,0 +1,2 @@
1
+ import type { IconProps } from "../Icon.js";
2
+ export declare function ArrowUp(props: Omit<IconProps, "children">): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,17 @@
1
+ import { Icon as e } from "../Icon.js";
2
+ import { Glyph as t } from "./Glyph.js";
3
+ import { jsx as n } from "react/jsx-runtime";
4
+ //#region src/components/Icon/icons/ArrowUp.tsx
5
+ function r(r) {
6
+ return /* @__PURE__ */ n(e, {
7
+ ...r,
8
+ children: /* @__PURE__ */ n(t, { children: /* @__PURE__ */ n("g", {
9
+ transform: "translate(-10 -6)",
10
+ children: /* @__PURE__ */ n("path", { d: "M14.3941 18.9468C14.5179 19.0718 14.6653 19.171 14.8276 19.2387C14.99 19.3063 15.1641 19.3412 15.34 19.3412C15.5158 19.3412 15.69 19.3063 15.8523 19.2387C16.0147 19.171 16.162 19.0718 16.2858 18.9468L20.6689 14.5469L20.6689 24.6667C20.6689 25.0203 20.8093 25.3594 21.0591 25.6095C21.3089 25.8595 21.6478 26 22.0011 26C22.3545 26 22.6933 25.8595 22.9432 25.6095C23.193 25.3594 23.3334 25.0203 23.3334 24.6667L23.3334 14.5469L27.7164 18.9468C27.9673 19.1979 28.3075 19.3389 28.6623 19.3389C29.0171 19.3389 29.3573 19.1979 29.6082 18.9468C29.8591 18.6957 30 18.3552 30 18.0002C30 17.6451 29.8591 17.3046 29.6082 17.0535L22.947 10.387C22.8203 10.2656 22.6709 10.1704 22.5074 10.107C22.3479 10.0364 22.1755 10 22.0011 10C21.8268 10 21.6544 10.0364 21.4949 10.107C21.3314 10.1704 21.182 10.2656 21.0552 10.387L14.3941 17.0535C14.2692 17.1775 14.1701 17.3249 14.1025 17.4874C14.0348 17.6499 14 17.8241 14 18.0002C14 18.1762 14.0348 18.3504 14.1025 18.5129C14.1701 18.6754 14.2692 18.8229 14.3941 18.9468Z" })
11
+ }) })
12
+ });
13
+ }
14
+ //#endregion
15
+ export { r as ArrowUp };
16
+
17
+ //# sourceMappingURL=ArrowUp.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ArrowUp.js","names":[],"sources":["../../../../src/components/Icon/icons/ArrowUp.tsx"],"sourcesContent":["import type { IconProps } from \"../Icon.js\";\nimport { Icon } from \"../Icon.js\";\nimport { Glyph } from \"./Glyph.js\";\n\nexport function ArrowUp(props: Omit<IconProps, \"children\">) {\n\treturn (\n\t\t<Icon {...props}>\n\t\t\t<Glyph>\n\t\t\t\t{/* Figma symbol carries a drop-shadow filter that offsets the export; recenter\n\t\t\t\t the 16-unit glyph (bbox x[14,30] y[10,26]) within the 24×24 artboard. */}\n\t\t\t\t<g transform=\"translate(-10 -6)\">\n\t\t\t\t\t<path d=\"M14.3941 18.9468C14.5179 19.0718 14.6653 19.171 14.8276 19.2387C14.99 19.3063 15.1641 19.3412 15.34 19.3412C15.5158 19.3412 15.69 19.3063 15.8523 19.2387C16.0147 19.171 16.162 19.0718 16.2858 18.9468L20.6689 14.5469L20.6689 24.6667C20.6689 25.0203 20.8093 25.3594 21.0591 25.6095C21.3089 25.8595 21.6478 26 22.0011 26C22.3545 26 22.6933 25.8595 22.9432 25.6095C23.193 25.3594 23.3334 25.0203 23.3334 24.6667L23.3334 14.5469L27.7164 18.9468C27.9673 19.1979 28.3075 19.3389 28.6623 19.3389C29.0171 19.3389 29.3573 19.1979 29.6082 18.9468C29.8591 18.6957 30 18.3552 30 18.0002C30 17.6451 29.8591 17.3046 29.6082 17.0535L22.947 10.387C22.8203 10.2656 22.6709 10.1704 22.5074 10.107C22.3479 10.0364 22.1755 10 22.0011 10C21.8268 10 21.6544 10.0364 21.4949 10.107C21.3314 10.1704 21.182 10.2656 21.0552 10.387L14.3941 17.0535C14.2692 17.1775 14.1701 17.3249 14.1025 17.4874C14.0348 17.6499 14 17.8241 14 18.0002C14 18.1762 14.0348 18.3504 14.1025 18.5129C14.1701 18.6754 14.2692 18.8229 14.3941 18.9468Z\" />\n\t\t\t\t</g>\n\t\t\t</Glyph>\n\t\t</Icon>\n\t);\n}\n"],"mappings":";;;;AAIA,SAAgB,EAAQ,GAAoC;AAC3D,QACC,kBAAC,GAAD;EAAM,GAAI;YACT,kBAAC,GAAD,EAAA,UAGC,kBAAC,KAAD;GAAG,WAAU;aACZ,kBAAC,QAAD,EAAM,GAAE,y+BAA0+B,CAAA;GAC/+B,CAAA,EACG,CAAA;EACF,CAAA"}
@@ -0,0 +1,2 @@
1
+ import type { IconProps } from "../Icon.js";
2
+ export declare function Send(props: Omit<IconProps, "children">): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,14 @@
1
+ import { Icon as e } from "../Icon.js";
2
+ import { Glyph as t } from "./Glyph.js";
3
+ import { jsx as n } from "react/jsx-runtime";
4
+ //#region src/components/Icon/icons/Send.tsx
5
+ function r(r) {
6
+ return /* @__PURE__ */ n(e, {
7
+ ...r,
8
+ children: /* @__PURE__ */ n(t, { children: /* @__PURE__ */ n("path", { d: "M16.24 12.64C15.76 13.12 15.04 13.12 14.56 12.64L13 11.08V15.4C13 16.12 12.52 16.6 11.8 16.6C11.08 16.6 10.6 16.12 10.6 15.4V11.08L9.04 12.64C8.56 13.12 7.84 13.12 7.36 12.64C6.88 12.16 6.88 11.44 7.36 10.96L10.96 7.36C11.44 6.88 12.16 6.88 12.64 7.36L14.44 9.16L16.24 10.96C16.72 11.44 16.72 12.16 16.24 12.64Z" }) })
9
+ });
10
+ }
11
+ //#endregion
12
+ export { r as Send };
13
+
14
+ //# sourceMappingURL=Send.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Send.js","names":[],"sources":["../../../../src/components/Icon/icons/Send.tsx"],"sourcesContent":["import type { IconProps } from \"../Icon.js\";\nimport { Icon } from \"../Icon.js\";\nimport { Glyph } from \"./Glyph.js\";\n\nexport function Send(props: Omit<IconProps, \"children\">) {\n\treturn (\n\t\t<Icon {...props}>\n\t\t\t<Glyph>\n\t\t\t\t<path d=\"M16.24 12.64C15.76 13.12 15.04 13.12 14.56 12.64L13 11.08V15.4C13 16.12 12.52 16.6 11.8 16.6C11.08 16.6 10.6 16.12 10.6 15.4V11.08L9.04 12.64C8.56 13.12 7.84 13.12 7.36 12.64C6.88 12.16 6.88 11.44 7.36 10.96L10.96 7.36C11.44 6.88 12.16 6.88 12.64 7.36L14.44 9.16L16.24 10.96C16.72 11.44 16.72 12.16 16.24 12.64Z\" />\n\t\t\t</Glyph>\n\t\t</Icon>\n\t);\n}\n"],"mappings":";;;;AAIA,SAAgB,EAAK,GAAoC;AACxD,QACC,kBAAC,GAAD;EAAM,GAAI;YACT,kBAAC,GAAD,EAAA,UACC,kBAAC,QAAD,EAAM,GAAE,2TAA4T,CAAA,EAC7T,CAAA;EACF,CAAA"}
@@ -4,6 +4,7 @@ export { ArrowLeft } from "./ArrowLeft.js";
4
4
  export { ArrowNortheast } from "./ArrowNortheast.js";
5
5
  export { ArrowNorthwest } from "./ArrowNorthwest.js";
6
6
  export { ArrowRight } from "./ArrowRight.js";
7
+ export { ArrowUp } from "./ArrowUp.js";
7
8
  export { Bell } from "./Bell.js";
8
9
  export { BellSlash } from "./BellSlash.js";
9
10
  export { Checkmark } from "./Checkmark.js";
@@ -27,7 +28,7 @@ export { Mute } from "./Mute.js";
27
28
  export { Paperclip } from "./Paperclip.js";
28
29
  export { PersonFill } from "./PersonFill.js";
29
30
  export { PlayFill } from "./PlayFill.js";
30
- export { SendFill } from "./SendFill.js";
31
+ export { Send } from "./Send.js";
31
32
  export { StarBadgeFill } from "./StarBadgeFill.js";
32
33
  export { ThumbsDown } from "./ThumbsDown.js";
33
34
  export { ThumbsUp } from "./ThumbsUp.js";
@@ -1,4 +1,4 @@
1
- import type { ReactNode } from "react";
1
+ import type { CSSProperties, ReactNode } from "react";
2
2
  export interface SheetOverlayProps {
3
3
  /** Whether the sheet is open. */
4
4
  isOpen: boolean;
@@ -10,6 +10,8 @@ export interface SheetOverlayProps {
10
10
  "aria-label"?: string;
11
11
  /** Id of the element describing the sheet, typically a `Sheet.Body`. */
12
12
  "aria-describedby"?: string;
13
+ /** Maximum sheet height. Defaults to 80% of the available height. */
14
+ maxHeight?: CSSProperties["maxHeight"];
13
15
  className?: string;
14
16
  children: ReactNode;
15
17
  }
@@ -23,4 +25,4 @@ export interface SheetOverlayProps {
23
25
  * `aria-label` prop — with neither (e.g. an actions-only Confirm sheet) RAC
24
26
  * emits a missing-name warning.
25
27
  */
26
- export declare function SheetOverlay({ isOpen, onOpenChange, isDismissable, "aria-label": ariaLabel, "aria-describedby": ariaDescribedBy, className, children, }: SheetOverlayProps): import("react/jsx-runtime").JSX.Element;
28
+ export declare function SheetOverlay({ isOpen, onOpenChange, isDismissable, "aria-label": ariaLabel, "aria-describedby": ariaDescribedBy, className, maxHeight, children, }: SheetOverlayProps): import("react/jsx-runtime").JSX.Element;
@@ -5,21 +5,22 @@ import { jsx as a, jsxs as o } from "react/jsx-runtime";
5
5
  import { Dialog as s, Modal as c, ModalOverlay as l } from "react-aria-components";
6
6
  import { useLocale as u } from "react-aria";
7
7
  //#region src/components/SheetOverlay/SheetOverlay.tsx
8
- function d({ isOpen: d, onOpenChange: f, isDismissable: p = !0, "aria-label": m, "aria-describedby": h, className: g, children: _ }) {
9
- let { direction: v } = u();
8
+ function d({ isOpen: d, onOpenChange: f, isDismissable: p = !0, "aria-label": m, "aria-describedby": h, className: g, maxHeight: _, children: v }) {
9
+ let { direction: y } = u();
10
10
  return /* @__PURE__ */ o(l, {
11
11
  isOpen: d,
12
12
  onOpenChange: f,
13
13
  isDismissable: p,
14
14
  className: i,
15
- dir: v,
15
+ dir: y,
16
16
  children: [/* @__PURE__ */ a(t, {}), /* @__PURE__ */ a(c, {
17
17
  className: r,
18
+ style: { maxHeight: _ },
18
19
  children: /* @__PURE__ */ a(s, {
19
20
  "aria-label": m,
20
21
  "aria-describedby": h,
21
22
  className: e(n, g),
22
- children: _
23
+ children: v
23
24
  })
24
25
  })]
25
26
  });
@@ -1 +1 @@
1
- {"version":3,"file":"SheetOverlay.js","names":[],"sources":["../../../src/components/SheetOverlay/SheetOverlay.tsx"],"sourcesContent":["import type { ReactNode } from \"react\";\nimport { useLocale } from \"react-aria\";\nimport {\n\tDialog as AriaDialog,\n\tModal,\n\tModalOverlay,\n} from \"react-aria-components\";\nimport { OverlayRegistration } from \"../../hooks/overlayRegistry.js\";\nimport { cx } from \"../../utils/cx.js\";\nimport { sheetDialog, sheetModal, sheetScrim } from \"./SheetOverlay.css.js\";\n\nexport interface SheetOverlayProps {\n\t/** Whether the sheet is open. */\n\tisOpen: boolean;\n\t/** Called with the next open state on dismiss (scrim tap, Escape) or programmatic close. */\n\tonOpenChange: (isOpen: boolean) => void;\n\t/** Dismiss on scrim tap. Escape always cancels (RAC default). Defaults to `true`. */\n\tisDismissable?: boolean;\n\t/** Accessible name fallback when the child has no `Sheet.Title`. */\n\t\"aria-label\"?: string;\n\t/** Id of the element describing the sheet, typically a `Sheet.Body`. */\n\t\"aria-describedby\"?: string;\n\tclassName?: string;\n\tchildren: ReactNode;\n}\n\n/**\n * Modal bottom-sheet presentation: dark scrim, focus-trap, dismiss-on-tap/Escape,\n * bottom-anchored, rounded-top corners, slide-up. Wraps arbitrary children\n * (typically a `Sheet`). For a full-window surface use `FullscreenOverlay`; for a\n * centered dialog `Dialog`; for a non-dimming bottom bubble `BubbleOverlay`.\n *\n * Give the dialog an accessible name via either a `Sheet.Title` or the\n * `aria-label` prop — with neither (e.g. an actions-only Confirm sheet) RAC\n * emits a missing-name warning.\n */\nexport function SheetOverlay({\n\tisOpen,\n\tonOpenChange,\n\tisDismissable = true,\n\t\"aria-label\": ariaLabel,\n\t\"aria-describedby\": ariaDescribedBy,\n\tclassName,\n\tchildren,\n}: SheetOverlayProps) {\n\t// Stated, not inherited: this renders through a portal, so its direction must\n\t// not depend on where the portal lands. See the portalled-surface scenario\n\t// under the RTL requirement in openspec/specs/accessibility/spec.md.\n\tconst { direction } = useLocale();\n\n\treturn (\n\t\t<ModalOverlay\n\t\t\tisOpen={isOpen}\n\t\t\tonOpenChange={onOpenChange}\n\t\t\tisDismissable={isDismissable}\n\t\t\tclassName={sheetScrim}\n\t\t\tdir={direction}\n\t\t>\n\t\t\t<OverlayRegistration />\n\t\t\t<Modal className={sheetModal}>\n\t\t\t\t<AriaDialog\n\t\t\t\t\taria-label={ariaLabel}\n\t\t\t\t\taria-describedby={ariaDescribedBy}\n\t\t\t\t\tclassName={cx(sheetDialog, className)}\n\t\t\t\t>\n\t\t\t\t\t{children}\n\t\t\t\t</AriaDialog>\n\t\t\t</Modal>\n\t\t</ModalOverlay>\n\t);\n}\n"],"mappings":";;;;;;;AAoCA,SAAgB,EAAa,EAC5B,WACA,iBACA,mBAAgB,IAChB,cAAc,GACd,oBAAoB,GACpB,cACA,eACqB;CAIrB,IAAM,EAAE,iBAAc,GAAW;AAEjC,QACC,kBAAC,GAAD;EACS;EACM;EACC;EACf,WAAW;EACX,KAAK;YALN,CAOC,kBAAC,GAAD,EAAuB,CAAA,EACvB,kBAAC,GAAD;GAAO,WAAW;aACjB,kBAAC,GAAD;IACC,cAAY;IACZ,oBAAkB;IAClB,WAAW,EAAG,GAAa,EAAU;IAEpC;IACW,CAAA;GACN,CAAA,CACM"}
1
+ {"version":3,"file":"SheetOverlay.js","names":[],"sources":["../../../src/components/SheetOverlay/SheetOverlay.tsx"],"sourcesContent":["import type { CSSProperties, ReactNode } from \"react\";\nimport { useLocale } from \"react-aria\";\nimport {\n\tDialog as AriaDialog,\n\tModal,\n\tModalOverlay,\n} from \"react-aria-components\";\nimport { OverlayRegistration } from \"../../hooks/overlayRegistry.js\";\nimport { cx } from \"../../utils/cx.js\";\nimport { sheetDialog, sheetModal, sheetScrim } from \"./SheetOverlay.css.js\";\n\nexport interface SheetOverlayProps {\n\t/** Whether the sheet is open. */\n\tisOpen: boolean;\n\t/** Called with the next open state on dismiss (scrim tap, Escape) or programmatic close. */\n\tonOpenChange: (isOpen: boolean) => void;\n\t/** Dismiss on scrim tap. Escape always cancels (RAC default). Defaults to `true`. */\n\tisDismissable?: boolean;\n\t/** Accessible name fallback when the child has no `Sheet.Title`. */\n\t\"aria-label\"?: string;\n\t/** Id of the element describing the sheet, typically a `Sheet.Body`. */\n\t\"aria-describedby\"?: string;\n\t/** Maximum sheet height. Defaults to 80% of the available height. */\n\tmaxHeight?: CSSProperties[\"maxHeight\"];\n\tclassName?: string;\n\tchildren: ReactNode;\n}\n\n/**\n * Modal bottom-sheet presentation: dark scrim, focus-trap, dismiss-on-tap/Escape,\n * bottom-anchored, rounded-top corners, slide-up. Wraps arbitrary children\n * (typically a `Sheet`). For a full-window surface use `FullscreenOverlay`; for a\n * centered dialog `Dialog`; for a non-dimming bottom bubble `BubbleOverlay`.\n *\n * Give the dialog an accessible name via either a `Sheet.Title` or the\n * `aria-label` prop — with neither (e.g. an actions-only Confirm sheet) RAC\n * emits a missing-name warning.\n */\nexport function SheetOverlay({\n\tisOpen,\n\tonOpenChange,\n\tisDismissable = true,\n\t\"aria-label\": ariaLabel,\n\t\"aria-describedby\": ariaDescribedBy,\n\tclassName,\n\tmaxHeight,\n\tchildren,\n}: SheetOverlayProps) {\n\t// Stated, not inherited: this renders through a portal, so its direction must\n\t// not depend on where the portal lands. See the portalled-surface scenario\n\t// under the RTL requirement in openspec/specs/accessibility/spec.md.\n\tconst { direction } = useLocale();\n\n\treturn (\n\t\t<ModalOverlay\n\t\t\tisOpen={isOpen}\n\t\t\tonOpenChange={onOpenChange}\n\t\t\tisDismissable={isDismissable}\n\t\t\tclassName={sheetScrim}\n\t\t\tdir={direction}\n\t\t>\n\t\t\t<OverlayRegistration />\n\t\t\t<Modal className={sheetModal} style={{ maxHeight }}>\n\t\t\t\t<AriaDialog\n\t\t\t\t\taria-label={ariaLabel}\n\t\t\t\t\taria-describedby={ariaDescribedBy}\n\t\t\t\t\tclassName={cx(sheetDialog, className)}\n\t\t\t\t>\n\t\t\t\t\t{children}\n\t\t\t\t</AriaDialog>\n\t\t\t</Modal>\n\t\t</ModalOverlay>\n\t);\n}\n"],"mappings":";;;;;;;AAsCA,SAAgB,EAAa,EAC5B,WACA,iBACA,mBAAgB,IAChB,cAAc,GACd,oBAAoB,GACpB,cACA,cACA,eACqB;CAIrB,IAAM,EAAE,iBAAc,GAAW;AAEjC,QACC,kBAAC,GAAD;EACS;EACM;EACC;EACf,WAAW;EACX,KAAK;YALN,CAOC,kBAAC,GAAD,EAAuB,CAAA,EACvB,kBAAC,GAAD;GAAO,WAAW;GAAY,OAAO,EAAE,cAAW;aACjD,kBAAC,GAAD;IACC,cAAY;IACZ,oBAAkB;IAClB,WAAW,EAAG,GAAa,EAAU;IAEpC;IACW,CAAA;GACN,CAAA,CACM"}
package/dist/index.js CHANGED
@@ -9,81 +9,82 @@ import { ArrowLeft as s } from "./components/Icon/icons/ArrowLeft.js";
9
9
  import { ArrowNortheast as c } from "./components/Icon/icons/ArrowNortheast.js";
10
10
  import { ArrowNorthwest as l } from "./components/Icon/icons/ArrowNorthwest.js";
11
11
  import { ArrowRight as u } from "./components/Icon/icons/ArrowRight.js";
12
- import { Bell as d } from "./components/Icon/icons/Bell.js";
13
- import { BellSlash as f } from "./components/Icon/icons/BellSlash.js";
14
- import { Checkmark as p } from "./components/Icon/icons/Checkmark.js";
15
- import { CheckmarkCircle as m } from "./components/Icon/icons/CheckmarkCircle.js";
16
- import { ChevronLeft as h } from "./components/Icon/icons/ChevronLeft.js";
17
- import { ChevronRight as g } from "./components/Icon/icons/ChevronRight.js";
18
- import { CloudUpload as _ } from "./components/Icon/icons/CloudUpload.js";
19
- import { Document as v } from "./components/Icon/icons/Document.js";
20
- import { Download as y } from "./components/Icon/icons/Download.js";
21
- import { Ellipses as b } from "./components/Icon/icons/Ellipses.js";
22
- import { Email as x } from "./components/Icon/icons/Email.js";
23
- import { ExclamationSync as S } from "./components/Icon/icons/ExclamationSync.js";
24
- import { ExclamationTriangle as C } from "./components/Icon/icons/ExclamationTriangle.js";
25
- import { Eye as w } from "./components/Icon/icons/Eye.js";
26
- import { EyeSlash as T } from "./components/Icon/icons/EyeSlash.js";
27
- import { Language as E } from "./components/Icon/icons/Language.js";
28
- import { MediaSlash as D } from "./components/Icon/icons/MediaSlash.js";
29
- import { MessagingFill as O } from "./components/Icon/icons/MessagingFill.js";
30
- import { Minimize as k } from "./components/Icon/icons/Minimize.js";
31
- import { Mute as A } from "./components/Icon/icons/Mute.js";
32
- import { Paperclip as j } from "./components/Icon/icons/Paperclip.js";
33
- import { PersonFill as M } from "./components/Icon/icons/PersonFill.js";
34
- import { PlayFill as N } from "./components/Icon/icons/PlayFill.js";
35
- import { SendFill as P } from "./components/Icon/icons/SendFill.js";
36
- import { StarBadgeFill as F } from "./components/Icon/icons/StarBadgeFill.js";
37
- import { ThumbsDown as I } from "./components/Icon/icons/ThumbsDown.js";
38
- import { ThumbsUp as L } from "./components/Icon/icons/ThumbsUp.js";
39
- import { Volume as R } from "./components/Icon/icons/Volume.js";
40
- import { Xmark as z } from "./components/Icon/icons/Xmark.js";
41
- import { XmarkCircle as B } from "./components/Icon/icons/XmarkCircle.js";
42
- import { Banner as V } from "./components/Banner/Banner.js";
43
- import { BannerContainer as H } from "./components/Banner/BannerContainer.js";
44
- import { useHasOpenOverlay as U, useRegisterOverlay as W } from "./hooks/overlayRegistry.js";
45
- import { BubbleOverlay as G } from "./components/BubbleOverlay/BubbleOverlay.js";
46
- import { Button as K } from "./components/Button/Button.js";
47
- import { Checkbox as q } from "./components/Checkbox/Checkbox.js";
48
- import { CheckboxGroup as J } from "./components/Checkbox/CheckboxGroup.js";
49
- import { Chip as Y } from "./components/Chip/Chip.js";
50
- import { Dialog as X } from "./components/Dialog/Dialog.js";
51
- import { DialogOverlay as Z } from "./components/DialogOverlay/DialogOverlay.js";
52
- import { Divider as Q } from "./components/Divider/Divider.js";
53
- import { DropZone as $ } from "./components/DropZone/DropZone.js";
54
- import { FullscreenOverlay as ee } from "./components/FullscreenOverlay/FullscreenOverlay.js";
55
- import { Header as te } from "./components/Header/Header.js";
56
- import { IconButton as ne } from "./components/IconButton/IconButton.js";
57
- import { Image as re } from "./components/Image/Image.js";
58
- import { Input as ie } from "./components/Input/Input.js";
59
- import { Link as ae } from "./components/Link/Link.js";
60
- import { Menu as oe } from "./components/MenuItem/Menu.js";
61
- import { MenuItem as se } from "./components/MenuItem/MenuItem.js";
62
- import { MessageError as ce } from "./components/MessageError/MessageError.js";
63
- import { MessageRow as le } from "./components/MessageRow/MessageRow.js";
64
- import { PictureMessage as ue } from "./components/PictureMessage/PictureMessage.js";
65
- import { PillButton as de } from "./components/PillButton/PillButton.js";
66
- import { ProactiveMessage as fe } from "./components/ProactiveMessage/ProactiveMessage.js";
67
- import { Radio as pe } from "./components/Radio/Radio.js";
68
- import { RadioGroup as me } from "./components/Radio/RadioGroup.js";
69
- import { ScrollMarker as he } from "./components/ScrollMarker/ScrollMarker.js";
70
- import { Sheet as ge } from "./components/Sheet/Sheet.js";
71
- import { SheetOverlay as _e } from "./components/SheetOverlay/SheetOverlay.js";
72
- import { readPrefersReducedMotion as ve, usePrefersReducedMotion as ye } from "./hooks/usePrefersReducedMotion.js";
73
- import { useSubmitOnEnter as be } from "./hooks/useSubmitOnEnter.js";
74
- import { Spinner as xe } from "./components/Spinner/Spinner.js";
75
- import { SurveyRating as Se } from "./components/SurveyRating/SurveyRating.js";
76
- import { SurveySelect as Ce } from "./components/SurveySelect/SurveySelect.js";
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 };
12
+ import { ArrowUp as d } from "./components/Icon/icons/ArrowUp.js";
13
+ import { Bell as f } from "./components/Icon/icons/Bell.js";
14
+ import { BellSlash as p } from "./components/Icon/icons/BellSlash.js";
15
+ import { Checkmark as m } from "./components/Icon/icons/Checkmark.js";
16
+ import { CheckmarkCircle as h } from "./components/Icon/icons/CheckmarkCircle.js";
17
+ import { ChevronLeft as g } from "./components/Icon/icons/ChevronLeft.js";
18
+ import { ChevronRight as _ } from "./components/Icon/icons/ChevronRight.js";
19
+ import { CloudUpload as v } from "./components/Icon/icons/CloudUpload.js";
20
+ import { Document as y } from "./components/Icon/icons/Document.js";
21
+ import { Download as b } from "./components/Icon/icons/Download.js";
22
+ import { Ellipses as x } from "./components/Icon/icons/Ellipses.js";
23
+ import { Email as S } from "./components/Icon/icons/Email.js";
24
+ import { ExclamationSync as C } from "./components/Icon/icons/ExclamationSync.js";
25
+ import { ExclamationTriangle as w } from "./components/Icon/icons/ExclamationTriangle.js";
26
+ import { Eye as T } from "./components/Icon/icons/Eye.js";
27
+ import { EyeSlash as E } from "./components/Icon/icons/EyeSlash.js";
28
+ import { Language as D } from "./components/Icon/icons/Language.js";
29
+ import { MediaSlash as O } from "./components/Icon/icons/MediaSlash.js";
30
+ import { MessagingFill as k } from "./components/Icon/icons/MessagingFill.js";
31
+ import { Minimize as A } from "./components/Icon/icons/Minimize.js";
32
+ import { Mute as j } from "./components/Icon/icons/Mute.js";
33
+ import { Paperclip as M } from "./components/Icon/icons/Paperclip.js";
34
+ import { PersonFill as N } from "./components/Icon/icons/PersonFill.js";
35
+ import { PlayFill as P } from "./components/Icon/icons/PlayFill.js";
36
+ import { Send as F } from "./components/Icon/icons/Send.js";
37
+ import { StarBadgeFill as I } from "./components/Icon/icons/StarBadgeFill.js";
38
+ import { ThumbsDown as L } from "./components/Icon/icons/ThumbsDown.js";
39
+ import { ThumbsUp as R } from "./components/Icon/icons/ThumbsUp.js";
40
+ import { Volume as z } from "./components/Icon/icons/Volume.js";
41
+ import { Xmark as B } from "./components/Icon/icons/Xmark.js";
42
+ import { XmarkCircle as V } from "./components/Icon/icons/XmarkCircle.js";
43
+ import { Banner as H } from "./components/Banner/Banner.js";
44
+ import { BannerContainer as U } from "./components/Banner/BannerContainer.js";
45
+ import { useHasOpenOverlay as W, useRegisterOverlay as G } from "./hooks/overlayRegistry.js";
46
+ import { BubbleOverlay as K } from "./components/BubbleOverlay/BubbleOverlay.js";
47
+ import { Button as q } from "./components/Button/Button.js";
48
+ import { Checkbox as J } from "./components/Checkbox/Checkbox.js";
49
+ import { CheckboxGroup as Y } from "./components/Checkbox/CheckboxGroup.js";
50
+ import { Chip as X } from "./components/Chip/Chip.js";
51
+ import { Dialog as Z } from "./components/Dialog/Dialog.js";
52
+ import { DialogOverlay as Q } from "./components/DialogOverlay/DialogOverlay.js";
53
+ import { Divider as $ } from "./components/Divider/Divider.js";
54
+ import { DropZone as ee } from "./components/DropZone/DropZone.js";
55
+ import { FullscreenOverlay as te } from "./components/FullscreenOverlay/FullscreenOverlay.js";
56
+ import { Header as ne } from "./components/Header/Header.js";
57
+ import { IconButton as re } from "./components/IconButton/IconButton.js";
58
+ import { Image as ie } from "./components/Image/Image.js";
59
+ import { Input as ae } from "./components/Input/Input.js";
60
+ import { Link as oe } from "./components/Link/Link.js";
61
+ import { Menu as se } from "./components/MenuItem/Menu.js";
62
+ import { MenuItem as ce } from "./components/MenuItem/MenuItem.js";
63
+ import { MessageError as le } from "./components/MessageError/MessageError.js";
64
+ import { MessageRow as ue } from "./components/MessageRow/MessageRow.js";
65
+ import { PictureMessage as de } from "./components/PictureMessage/PictureMessage.js";
66
+ import { PillButton as fe } from "./components/PillButton/PillButton.js";
67
+ import { ProactiveMessage as pe } from "./components/ProactiveMessage/ProactiveMessage.js";
68
+ import { Radio as me } from "./components/Radio/Radio.js";
69
+ import { RadioGroup as he } from "./components/Radio/RadioGroup.js";
70
+ import { ScrollMarker as ge } from "./components/ScrollMarker/ScrollMarker.js";
71
+ import { Sheet as _e } from "./components/Sheet/Sheet.js";
72
+ import { SheetOverlay as ve } from "./components/SheetOverlay/SheetOverlay.js";
73
+ import { readPrefersReducedMotion as ye, usePrefersReducedMotion as be } from "./hooks/usePrefersReducedMotion.js";
74
+ import { useSubmitOnEnter as xe } from "./hooks/useSubmitOnEnter.js";
75
+ import { Spinner as Se } from "./components/Spinner/Spinner.js";
76
+ import { SurveyRating as Ce } from "./components/SurveyRating/SurveyRating.js";
77
+ import { SurveySelect as we } from "./components/SurveySelect/SurveySelect.js";
78
+ import { Text as Te } from "./components/Text/Text.js";
79
+ import { ThinkingShimmer as Ee } from "./components/ThinkingShimmer/ThinkingShimmer.js";
80
+ import { Toast as De } from "./components/Toast/Toast.js";
81
+ import { ToastContainer as Oe } from "./components/Toast/ToastContainer.js";
82
+ import { ToastQueue as ke } from "./components/Toast/index.js";
83
+ import { Toggle as Ae } from "./components/Toggle/Toggle.js";
84
+ import { Tooltip as je, TooltipTrigger as Me } from "./components/Tooltip/Tooltip.js";
85
+ import { TypingIndicator as Ne } from "./components/TypingIndicator/TypingIndicator.js";
86
+ import { UserMessage as Pe } from "./components/UserMessage/UserMessage.js";
87
+ import { VideoMessage as Fe } from "./components/VideoMessage/VideoMessage.js";
88
+ import { LOVELACE_SURFACES as Ie, contrastRatioBetween as Le, createBrandOverrides as Re, isLegibleAgainst as ze, isLegibleOnSurface as Be, readableTextOnAccent as Ve } from "./runtime/branding.js";
89
+ import { LovelaceProvider as He, useResolvedTheme as Ue } from "./runtime/LovelaceProvider.js";
90
+ export { a as AdaLogo, e as AgentMessage, o as ArrowDown, s as ArrowLeft, c as ArrowNortheast, l as ArrowNorthwest, u as ArrowRight, d as ArrowUp, t as AttachmentChip, r as Avatar, n as AvatarPlaceholder, H as Banner, U as BannerContainer, f as Bell, p as BellSlash, K as BubbleOverlay, q as Button, J as Checkbox, Y as CheckboxGroup, m as Checkmark, h as CheckmarkCircle, g as ChevronLeft, _ as ChevronRight, X as Chip, v as CloudUpload, Z as Dialog, Q as DialogOverlay, $ as Divider, y as Document, b as Download, ee as DropZone, x as Ellipses, S as Email, C as ExclamationSync, w as ExclamationTriangle, T as Eye, E as EyeSlash, te as FullscreenOverlay, ne as Header, i as Icon, re as IconButton, ie as Image, ae as Input, Ie as LOVELACE_SURFACES, D as Language, oe as Link, He as LovelaceProvider, O as MediaSlash, se as Menu, ce as MenuItem, le as MessageError, ue as MessageRow, k as MessagingFill, A as Minimize, j as Mute, M as Paperclip, N as PersonFill, de as PictureMessage, fe as PillButton, P as PlayFill, pe as ProactiveMessage, me as Radio, he as RadioGroup, ge as ScrollMarker, F as Send, _e as Sheet, ve as SheetOverlay, Se as Spinner, I as StarBadgeFill, Ce as SurveyRating, we as SurveySelect, Te as Text, Ee as ThinkingShimmer, L as ThumbsDown, R as ThumbsUp, De as Toast, Oe as ToastContainer, ke as ToastQueue, Ae as Toggle, je as Tooltip, Me as TooltipTrigger, Ne as TypingIndicator, Pe as UserMessage, Fe as VideoMessage, z as Volume, B as Xmark, V as XmarkCircle, Le as contrastRatioBetween, Re as createBrandOverrides, ze as isLegibleAgainst, Be as isLegibleOnSurface, ye as readPrefersReducedMotion, Ve as readableTextOnAccent, W as useHasOpenOverlay, be as usePrefersReducedMotion, G as useRegisterOverlay, Ue as useResolvedTheme, xe as useSubmitOnEnter };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ada-cx/lovelace",
3
- "version": "1.17.0",
3
+ "version": "1.18.1",
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",
@@ -1,2 +0,0 @@
1
- import type { IconProps } from "../Icon.js";
2
- export declare function SendFill(props: Omit<IconProps, "children">): import("react/jsx-runtime").JSX.Element;
@@ -1,14 +0,0 @@
1
- import { Icon as e } from "../Icon.js";
2
- import { Glyph as t } from "./Glyph.js";
3
- import { jsx as n } from "react/jsx-runtime";
4
- //#region src/components/Icon/icons/SendFill.tsx
5
- function r(r) {
6
- return /* @__PURE__ */ n(e, {
7
- ...r,
8
- children: /* @__PURE__ */ n(t, { children: /* @__PURE__ */ n("path", { d: "M12 0C5.4 0 0 5.4 0 12C0 18.6 5.4 24 12 24C18.6 24 24 18.6 24 12C24 5.4 18.6 0 12 0ZM16.44 12.84C15.96 13.32 15.24 13.32 14.76 12.84L13.2 11.28V15.6C13.2 16.32 12.72 16.8 12 16.8C11.28 16.8 10.8 16.32 10.8 15.6V11.28L9.24 12.84C8.76 13.32 8.04 13.32 7.56 12.84C7.08 12.36 7.08 11.64 7.56 11.16L11.16 7.56C11.64 7.08 12.36 7.08 12.84 7.56L16.44 11.16C16.92 11.64 16.92 12.36 16.44 12.84Z" }) })
9
- });
10
- }
11
- //#endregion
12
- export { r as SendFill };
13
-
14
- //# sourceMappingURL=SendFill.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SendFill.js","names":[],"sources":["../../../../src/components/Icon/icons/SendFill.tsx"],"sourcesContent":["import type { IconProps } from \"../Icon.js\";\nimport { Icon } from \"../Icon.js\";\nimport { Glyph } from \"./Glyph.js\";\n\nexport function SendFill(props: Omit<IconProps, \"children\">) {\n\treturn (\n\t\t<Icon {...props}>\n\t\t\t<Glyph>\n\t\t\t\t<path d=\"M12 0C5.4 0 0 5.4 0 12C0 18.6 5.4 24 12 24C18.6 24 24 18.6 24 12C24 5.4 18.6 0 12 0ZM16.44 12.84C15.96 13.32 15.24 13.32 14.76 12.84L13.2 11.28V15.6C13.2 16.32 12.72 16.8 12 16.8C11.28 16.8 10.8 16.32 10.8 15.6V11.28L9.24 12.84C8.76 13.32 8.04 13.32 7.56 12.84C7.08 12.36 7.08 11.64 7.56 11.16L11.16 7.56C11.64 7.08 12.36 7.08 12.84 7.56L16.44 11.16C16.92 11.64 16.92 12.36 16.44 12.84Z\" />\n\t\t\t</Glyph>\n\t\t</Icon>\n\t);\n}\n"],"mappings":";;;;AAIA,SAAgB,EAAS,GAAoC;AAC5D,QACC,kBAAC,GAAD;EAAM,GAAI;YACT,kBAAC,GAAD,EAAA,UACC,kBAAC,QAAD,EAAM,GAAE,sYAAuY,CAAA,EACxY,CAAA;EACF,CAAA"}