@glasshome/ui 1.7.0 → 1.8.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.
@@ -19,7 +19,31 @@ type SectionCardProps = {
19
19
  children?: JSX.Element;
20
20
  };
21
21
  export declare function SectionCard(props: SectionCardProps): JSX.Element;
22
- export declare function SectionRow(props: ComponentProps<"div">): JSX.Element;
22
+ export declare function SectionRow(props: ComponentProps<"div"> & {
23
+ interactive?: boolean;
24
+ }): JSX.Element;
25
+ type ListRowProps = {
26
+ /** Leading visual: SectionIcon, Avatar, drag handle. */
27
+ leading?: JSX.Element;
28
+ title: JSX.Element;
29
+ /** Chips inline after the title. */
30
+ badges?: JSX.Element;
31
+ subtitle?: JSX.Element;
32
+ /** Quiet trailing text: versions, timestamps, counts. */
33
+ meta?: JSX.Element;
34
+ /** Controls at the row's end. Stacked above the open overlay. */
35
+ actions?: JSX.Element;
36
+ /** Activates the whole row. Renders a chevron when there are no actions. */
37
+ onOpen?: () => void;
38
+ /** Accessible name for the whole-row activation. */
39
+ openLabel?: string;
40
+ class?: string;
41
+ };
42
+ /**
43
+ * One item in a settings list. Fixed slots so every list reads the same
44
+ * whatever it holds; the row itself, not a nested button, is what you press.
45
+ */
46
+ export declare function ListRow(props: ListRowProps): JSX.Element;
23
47
  type SectionIconSize = "sm" | "md" | "lg";
24
48
  export declare function SectionIcon(props: {
25
49
  icon?: string;
@@ -134,14 +134,14 @@ var x = [
134
134
  primary: "oklch(0.48 0.2 215.221)",
135
135
  accent: "oklch(0.6 0.2 195)",
136
136
  secondary: "oklch(0.96 0.01 250)",
137
- border: "oklch(0.9 0.01 250)",
138
- card: "oklch(0.995 0.004 250)",
139
- background: "oklch(0.975 0.003 250)",
140
- popover: "oklch(0.995 0.003 250)",
137
+ border: "oklch(0.855 0.014 250)",
138
+ card: "oklch(0.96 0.005 250)",
139
+ background: "oklch(0.995 0.003 250)",
140
+ popover: "oklch(0.937 0.006 250)",
141
141
  muted: "oklch(0.9702 0.008 250)",
142
142
  mutedForeground: "oklch(0.34 0 0)",
143
- input: "oklch(0.9 0.012 250)",
144
- ring: "oklch(0.53 0.18 195)",
143
+ input: "oklch(0.85 0.016 250)",
144
+ ring: "oklch(0.48 0.2 215.221)",
145
145
  destructive: "oklch(0.54 0.19 23.0704)"
146
146
  },
147
147
  dark: {