@medixdeck/ui 0.1.10 → 0.1.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -26,23 +26,9 @@ import { VStack } from '@chakra-ui/react';
26
26
  import { Wrap } from '@chakra-ui/react';
27
27
  import { WrapItem } from '@chakra-ui/react';
28
28
 
29
- /**
30
- * MedixDeck Accordion / FAQ
31
- *
32
- * Each item is a rounded card. Closed state shows an outlined "+" circle;
33
- * open state shows a filled blue "−" circle. Matches the MedixDeck FAQ design.
34
- *
35
- * @example
36
- * ```tsx
37
- * <Accordion
38
- * items={[
39
- * { id: "q1", question: "What is MedixDeck?", answer: "…" },
40
- * { id: "q2", question: "Are the doctors qualified?", answer: "…" },
41
- * ]}
42
- * />
43
- * ```
44
- */
45
- export declare function Accordion({ items, allowMultiple, defaultOpenIds, ...props }: AccordionProps): JSX_2.Element;
29
+ export declare function Accordion({ items, allowMultiple, defaultOpenIds, colorScheme, ...props }: AccordionProps): JSX_2.Element;
30
+
31
+ export declare type AccordionColorScheme = "blue" | "purple";
46
32
 
47
33
  export declare interface AccordionItem {
48
34
  id: string;
@@ -58,6 +44,11 @@ export declare interface AccordionProps extends Omit<BoxProps, "onChange"> {
58
44
  allowMultiple?: boolean;
59
45
  /** Initially open item IDs */
60
46
  defaultOpenIds?: string[];
47
+ /**
48
+ * Brand accent applied to the open toggle icon and hover border.
49
+ * @default "blue"
50
+ */
51
+ colorScheme?: AccordionColorScheme;
61
52
  }
62
53
 
63
54
  /**
@@ -140,9 +131,12 @@ export declare type AvatarSize = "xs" | "sm" | "md" | "lg" | "xl" | "2xl";
140
131
  *
141
132
  * @example
142
133
  * ```tsx
143
- * <Badge status="success">Verified</Badge>
144
- * <Badge status="warning" variant="subtle">Pending</Badge>
145
- * <Badge status="error" variant="solid">Cancelled</Badge>
134
+ * <Badge rounded={true} status="success">Verified</Badge>
135
+ * <Badge rounded={true} status="warning" variant="subtle">Pending</Badge>
136
+ * <Badge rounded={true} status="error" variant="solid">Cancelled</Badge>
137
+ * <Badge rounded={false} status="success">Verified</Badge>
138
+ * <Badge rounded={false} status="warning" variant="subtle">Pending</Badge>
139
+ * <Badge rounded={false} status="error" variant="solid">Cancelled</Badge>
146
140
  * ```
147
141
  */
148
142
  export declare const Badge: default_2.ForwardRefExoticComponent<BadgeProps & default_2.RefAttributes<HTMLSpanElement>>;
@@ -154,6 +148,8 @@ export declare interface BadgeProps {
154
148
  status?: BadgeStatus;
155
149
  /** Size */
156
150
  size?: BadgeSize;
151
+ /** Whether to apply a fully rounded (100px) pill border radius vs the standard 4px */
152
+ rounded?: boolean;
157
153
  children?: default_2.ReactNode;
158
154
  className?: string;
159
155
  style?: default_2.CSSProperties;
@@ -184,7 +180,9 @@ export declare type BadgeVariant = "solid" | "subtle" | "outline" | "surface";
184
180
  * />
185
181
  * ```
186
182
  */
187
- export declare function BlogCard({ title, excerpt, category, date, coverImage, href, onClick, ...props }: BlogCardProps): JSX_2.Element;
183
+ export declare function BlogCard({ title, excerpt, category, date, coverImage, href, onClick, colorScheme, ...props }: BlogCardProps): JSX_2.Element;
184
+
185
+ export declare type BlogCardColorScheme = "blue" | "purple";
188
186
 
189
187
  export declare interface BlogCardProps extends Omit<BoxProps, "onClick"> {
190
188
  /** Article headline */
@@ -210,6 +208,11 @@ export declare interface BlogCardProps extends Omit<BoxProps, "onClick"> {
210
208
  href?: string;
211
209
  /** Click handler – wraps the entire card in a <button> */
212
210
  onClick?: () => void;
211
+ /**
212
+ * Brand accent applied to the category pill and date badge day number.
213
+ * @default "blue"
214
+ */
215
+ colorScheme?: BlogCardColorScheme;
213
216
  }
214
217
 
215
218
  export declare interface BottomLink {
@@ -302,6 +305,23 @@ export declare interface ButtonProps {
302
305
  rel?: string;
303
306
  }
304
307
 
308
+ /**
309
+ * MedixDeck Re-usable Calendar Component
310
+ *
311
+ * @example
312
+ * ```tsx
313
+ * <Calendar value={date} onChange={setDate} />
314
+ * ```
315
+ */
316
+ export declare function Calendar({ value, onChange, minDate, maxDate, ...props }: CalendarProps): JSX_2.Element;
317
+
318
+ export declare interface CalendarProps extends Omit<BoxProps, "onChange"> {
319
+ value?: Date | null;
320
+ onChange?: (date: Date) => void;
321
+ minDate?: Date;
322
+ maxDate?: Date;
323
+ }
324
+
305
325
  /**
306
326
  * MedixDeck Card
307
327
  *
@@ -352,7 +372,7 @@ export declare const Checkbox: default_2.ForwardRefExoticComponent<CheckboxProps
352
372
 
353
373
  export declare interface CheckboxProps {
354
374
  /** Brand color for the checked state */
355
- colorScheme?: ColorScheme;
375
+ colorScheme?: ColorScheme_2;
356
376
  /** Controlled checked value */
357
377
  checked?: boolean;
358
378
  /** Default checked (uncontrolled) */
@@ -406,9 +426,16 @@ declare const COLORS_2: {
406
426
  };
407
427
  };
408
428
 
409
- declare type ColorScheme = keyof typeof COLORS;
429
+ /**
430
+ * The two MedixDeck brand color schemes available on themed components.
431
+ * - `"blue"` — Primary brand blue (#0685FF)
432
+ * - `"purple"` — Secondary brand purple (#7700CC)
433
+ */
434
+ export declare type ColorScheme = "blue" | "purple";
435
+
436
+ declare type ColorScheme_2 = keyof typeof COLORS;
410
437
 
411
- declare type ColorScheme_2 = keyof typeof COLORS_2;
438
+ declare type ColorScheme_3 = keyof typeof COLORS_2;
412
439
 
413
440
  /**
414
441
  * MedixDeck Brand Color Tokens
@@ -543,7 +570,7 @@ export declare const colorTokens: {
543
570
  readonly value: "#DCFCE7";
544
571
  };
545
572
  readonly 500: {
546
- readonly value: "#1B7A38";
573
+ readonly value: "#16A34A";
547
574
  };
548
575
  readonly 600: {
549
576
  readonly value: "#166534";
@@ -635,6 +662,8 @@ export declare interface ContainerProps extends BoxProps {
635
662
  maxWidth?: "sm" | "md" | "lg" | "xl" | "2xl" | "full";
636
663
  }
637
664
 
665
+ export declare type DashboardColorScheme = "blue" | "purple";
666
+
638
667
  export declare interface DashboardDropdownItem {
639
668
  /** Label shown in the dropdown menu. */
640
669
  label: string;
@@ -706,7 +735,7 @@ export declare interface DashboardDropdownItem {
706
735
  * }
707
736
  * ```
708
737
  */
709
- export declare function DashboardLayout({ children, logo, navGroups, user, greeting, onLogout, renderLink, dropdownItems, topBarSlot, sidebarWidth, ...rest }: DashboardLayoutProps): JSX_2.Element;
738
+ export declare function DashboardLayout({ children, logo, navGroups, user, greeting, onLogout, renderLink, dropdownItems, topBarSlot, sidebarWidth, colorScheme, ...rest }: DashboardLayoutProps): JSX_2.Element;
710
739
 
711
740
  export declare namespace DashboardLayout {
712
741
  var displayName: string;
@@ -772,6 +801,12 @@ export declare interface DashboardLayoutProps extends Omit<BoxProps, "children">
772
801
  * @default 220
773
802
  */
774
803
  sidebarWidth?: number;
804
+ /**
805
+ * Brand accent applied to active nav items, logo, badge backgrounds, and the
806
+ * theme toggle active state.
807
+ * @default "blue"
808
+ */
809
+ colorScheme?: DashboardColorScheme;
775
810
  }
776
811
 
777
812
  export declare interface DashboardNavGroup {
@@ -794,6 +829,8 @@ export declare interface DashboardNavItem {
794
829
  hasDot?: boolean;
795
830
  /** Mark this item as the currently active route. */
796
831
  isActive?: boolean;
832
+ /** Optional nested sub-items (creates an expandable dropdown accordion). */
833
+ subItems?: DashboardNavItem[];
797
834
  }
798
835
 
799
836
  export declare interface DashboardUser {
@@ -847,9 +884,7 @@ export declare interface DataTableProps<T = Record<string, unknown>> {
847
884
  /**
848
885
  * MedixDeck DatePicker
849
886
  *
850
- * Styled wrapper around the native date/datetime-local input.
851
- * Colors use CSS custom properties (--medix-form-*) that cascade from any
852
- * .dark ancestor, so dark mode works without any JS theme hook.
887
+ * Uses the custom MedixDeck Calendar component.
853
888
  *
854
889
  * @example
855
890
  * ```tsx
@@ -885,7 +920,7 @@ export declare interface DatePickerProps {
885
920
  /**
886
921
  * MedixDeck DateRangePicker
887
922
  *
888
- * Styled wrapper around two native date inputs (start and end).
923
+ * Uses the custom MedixDeck Calendar component for picking start and end dates.
889
924
  *
890
925
  * @example
891
926
  * ```tsx
@@ -951,10 +986,13 @@ export declare interface DividerProps extends SeparatorProps {
951
986
  * @example
952
987
  * ```tsx
953
988
  * <DoctorCard
989
+ * variant="standard"
954
990
  * name="Dr. Amaka Okonkwo"
955
- * specialty="Cardiologist"
991
+ * specialty="General Practitioner"
992
+ * location="Lagos"
956
993
  * rating={4.9}
957
994
  * reviewCount={128}
995
+ * experience="8 yrs experience"
958
996
  * consultationFee="₦5,000"
959
997
  * isVerified
960
998
  * isAvailable
@@ -962,7 +1000,7 @@ export declare interface DividerProps extends SeparatorProps {
962
1000
  * />
963
1001
  * ```
964
1002
  */
965
- export declare function DoctorCard({ name, specialty, location, avatar, rating, reviewCount, consultationFee, isVerified, isAvailable, availabilityLabel, onBookClick, onViewClick, ...props }: DoctorCardProps): JSX_2.Element;
1003
+ export declare function DoctorCard({ name, specialty, location, avatar, rating, reviewCount, experience, consultationFee, isVerified, isAvailable, availabilityLabel, onBookClick, onViewClick, variant, ...props }: DoctorCardProps): JSX_2.Element;
966
1004
 
967
1005
  export declare interface DoctorCardProps extends BoxProps {
968
1006
  name: string;
@@ -971,12 +1009,14 @@ export declare interface DoctorCardProps extends BoxProps {
971
1009
  avatar?: string;
972
1010
  rating?: number;
973
1011
  reviewCount?: number;
1012
+ experience?: string;
974
1013
  consultationFee?: string;
975
1014
  isVerified?: boolean;
976
1015
  isAvailable?: boolean;
977
1016
  availabilityLabel?: string;
978
1017
  onBookClick?: () => void;
979
1018
  onViewClick?: () => void;
1019
+ variant?: "standard" | "compact" | "featured";
980
1020
  }
981
1021
 
982
1022
  /**
@@ -1092,12 +1132,14 @@ export { Flex }
1092
1132
  * />
1093
1133
  * ```
1094
1134
  */
1095
- export declare function Footer({ description, logo, sections, socialLinks, copyright, bottomLinks, newsletter, renderLink, ...props }: FooterProps): JSX_2.Element;
1135
+ export declare function Footer({ description, logo, sections, socialLinks, copyright, bottomLinks, newsletter, renderLink, colorScheme, ...props }: FooterProps): JSX_2.Element;
1096
1136
 
1097
1137
  export declare namespace Footer {
1098
1138
  var displayName: string;
1099
1139
  }
1100
1140
 
1141
+ export declare type FooterColorScheme = "blue" | "purple";
1142
+
1101
1143
  export declare interface FooterLink {
1102
1144
  label: string;
1103
1145
  href: string;
@@ -1124,6 +1166,11 @@ export declare interface FooterProps extends Omit<BoxProps, "children"> {
1124
1166
  href: string;
1125
1167
  isExternal?: boolean;
1126
1168
  }, children: default_2.ReactNode) => default_2.ReactNode;
1169
+ /**
1170
+ * Brand accent applied to logo, social icons, newsletter button, and link hover states.
1171
+ * @default "blue"
1172
+ */
1173
+ colorScheme?: FooterColorScheme;
1127
1174
  }
1128
1175
 
1129
1176
  export declare interface FooterSection {
@@ -1449,7 +1496,9 @@ export declare type ModalSize = "xs" | "sm" | "md" | "lg" | "xl" | "full";
1449
1496
  * />
1450
1497
  * ```
1451
1498
  */
1452
- export declare function Navbar({ logo, navItems, navItemsAlign, ctaLabel, ctaHref, onCtaClick, ctaIconHref, onCtaIconClick, secondaryCtaLabel, secondaryCtaHref, onSecondaryCtaClick, ctaSlot, renderLink, isSticky, variant, ...props }: NavbarProps): JSX_2.Element;
1499
+ export declare function Navbar({ logo, navItems, navItemsAlign, ctaLabel, ctaHref, onCtaClick, ctaIconHref, onCtaIconClick, secondaryCtaLabel, secondaryCtaHref, onSecondaryCtaClick, ctaSlot, renderLink, isSticky, colorScheme, variant, ...props }: NavbarProps): JSX_2.Element;
1500
+
1501
+ export declare type NavbarColorScheme = "blue" | "purple";
1453
1502
 
1454
1503
  export declare interface NavbarProps extends Omit<BoxProps, "children"> {
1455
1504
  /** Logo element. Defaults to `<Logo />` when omitted. */
@@ -1520,6 +1569,11 @@ export declare interface NavbarProps extends Omit<BoxProps, "children"> {
1520
1569
  * ```
1521
1570
  */
1522
1571
  ctaSlot?: default_2.ReactNode;
1572
+ /**
1573
+ * Brand color scheme applied to CTAs, active links, and mobile icon accents.
1574
+ * @default "blue"
1575
+ */
1576
+ colorScheme?: NavbarColorScheme;
1523
1577
  /** Pin the navbar to the top of the viewport. */
1524
1578
  isSticky?: boolean;
1525
1579
  /**
@@ -1547,6 +1601,40 @@ export declare interface NewsletterProps {
1547
1601
  buttonIcon?: default_2.ReactNode;
1548
1602
  }
1549
1603
 
1604
+ /**
1605
+ * MedixDeck NotFoundPage (404)
1606
+ *
1607
+ * A reusable 404 error page layout for applications to render in their Not Found routing.
1608
+ *
1609
+ * @example
1610
+ * ```tsx
1611
+ * // app/not-found.tsx (Next.js App Router)
1612
+ * import { NotFoundPage } from "@medixdeck/ui";
1613
+ * import { useRouter } from "next/navigation";
1614
+ *
1615
+ * export default function NotFound() {
1616
+ * const router = useRouter();
1617
+ * return <NotFoundPage onAction={() => router.push("/")} />;
1618
+ * }
1619
+ * ```
1620
+ */
1621
+ export declare function NotFoundPage({ title, description, actionLabel, onAction, secondaryLabel, onSecondaryAction, ...props }: NotFoundPageProps): JSX_2.Element;
1622
+
1623
+ export declare interface NotFoundPageProps extends BoxProps {
1624
+ /** Optional custom title. Defaults to "Page Not Found" */
1625
+ title?: string;
1626
+ /** Optional custom description. Defaults to "The page you are looking for doesn't exist or has been moved." */
1627
+ description?: string;
1628
+ /** CTA button label. Defaults to "Go back home" */
1629
+ actionLabel?: string;
1630
+ /** CTA button onClick handler */
1631
+ onAction?: () => void;
1632
+ /** Secondary button label. */
1633
+ secondaryLabel?: string;
1634
+ /** Secondary button onClick handler */
1635
+ onSecondaryAction?: () => void;
1636
+ }
1637
+
1550
1638
  /**
1551
1639
  * MedixDeck OTPInput / PinInput
1552
1640
  *
@@ -1563,11 +1651,13 @@ export declare interface NewsletterProps {
1563
1651
  * />
1564
1652
  * ```
1565
1653
  */
1566
- export declare function OTPInput({ length, value, onChange, onComplete, isInvalid, isDisabled, mask, label, helperText, errorMessage, }: OTPInputProps): JSX_2.Element;
1654
+ export declare function OTPInput({ length, value, defaultValue, onChange, onComplete, isInvalid, isDisabled, mask, label, helperText, errorMessage, }: OTPInputProps): JSX_2.Element;
1567
1655
 
1568
1656
  export declare interface OTPInputProps {
1569
1657
  /** Number of digits */
1570
1658
  length?: number;
1659
+ /** Default uncontrolled value */
1660
+ defaultValue?: string;
1571
1661
  /** Controlled value (joined string) */
1572
1662
  value?: string;
1573
1663
  onChange?: (value: string) => void;
@@ -1622,15 +1712,23 @@ export declare interface PaginationProps extends Omit<BoxProps, "onChange"> {
1622
1712
  *
1623
1713
  * @example
1624
1714
  * ```tsx
1715
+ * // Nigeria (default)
1625
1716
  * <PhoneInput
1626
1717
  * label="Phone number"
1627
1718
  * placeholder="80 000 0000"
1628
1719
  * defaultCountryCode="+234"
1629
1720
  * onChange={(val) => setValue(val)}
1630
1721
  * />
1722
+ *
1723
+ * // US (unambiguous ISO override — avoids picking AS for the shared +1 code)
1724
+ * <PhoneInput
1725
+ * label="Phone number"
1726
+ * defaultCountry="US"
1727
+ * onChange={(val) => setValue(val)}
1728
+ * />
1631
1729
  * ```
1632
1730
  */
1633
- export declare function PhoneInput({ value, onChange, showCountryCode, defaultCountryCode, placeholder, isInvalid, errorMessage, label, helperText, isDisabled, id, }: PhoneInputProps): JSX_2.Element;
1731
+ export declare function PhoneInput({ value, onChange, showCountryCode, showCountryFlag, defaultCountryCode, defaultCountry, placeholder, isInvalid, errorMessage, label, helperText, isDisabled, id, }: PhoneInputProps): JSX_2.Element;
1634
1732
 
1635
1733
  export declare interface PhoneInputProps {
1636
1734
  /** Controlled value (full number including country code prefix) */
@@ -1638,8 +1736,15 @@ export declare interface PhoneInputProps {
1638
1736
  onChange?: (value: string) => void;
1639
1737
  /** Show country code selector */
1640
1738
  showCountryCode?: boolean;
1641
- /** Default country code e.g. "+234" */
1739
+ /** Show the country flag SVG */
1740
+ showCountryFlag?: boolean;
1741
+ /** Default country calling code e.g. "+234". When multiple countries share
1742
+ * the same code (e.g. "+1"), prefer `defaultCountry` for an exact match. */
1642
1743
  defaultCountryCode?: string;
1744
+ /** Default country ISO 3166-1 alpha-2 code (e.g. "US", "NG"). Takes
1745
+ * precedence over `defaultCountryCode` and avoids ambiguity for shared
1746
+ * calling codes such as +1 (NANP) or +7 (Russia/Kazakhstan). */
1747
+ defaultCountry?: string;
1643
1748
  placeholder?: string;
1644
1749
  isInvalid?: boolean;
1645
1750
  errorMessage?: string;
@@ -1812,6 +1917,41 @@ export declare interface SelectProps extends Omit<NativeSelectRootProps, "size">
1812
1917
  children?: default_2.ReactNode;
1813
1918
  }
1814
1919
 
1920
+ /**
1921
+ * MedixDeck ServerErrorPage (500)
1922
+ *
1923
+ * A reusable 500 error page layout for applications to render in their global error routing.
1924
+ *
1925
+ * @example
1926
+ * ```tsx
1927
+ * // app/error.tsx (Next.js App Router)
1928
+ * "use client";
1929
+ * import { ServerErrorPage } from "@medixdeck/ui";
1930
+ *
1931
+ * export default function Error({ error, reset }: { error: Error; reset: () => void }) {
1932
+ * return <ServerErrorPage errorMessage={error.message} onAction={() => reset()} />;
1933
+ * }
1934
+ * ```
1935
+ */
1936
+ export declare function ServerErrorPage({ title, description, errorMessage, actionLabel, onAction, secondaryLabel, onSecondaryAction, ...props }: ServerErrorPageProps): JSX_2.Element;
1937
+
1938
+ export declare interface ServerErrorPageProps extends BoxProps {
1939
+ /** Optional custom title. Defaults to "Something went wrong" */
1940
+ title?: string;
1941
+ /** Optional custom description. Defaults to "An unexpected error occurred on our end. Please try again later." */
1942
+ description?: string;
1943
+ /** Optional error message details to display in a code block */
1944
+ errorMessage?: string;
1945
+ /** CTA button label. Defaults to "Try again" */
1946
+ actionLabel?: string;
1947
+ /** CTA button onClick handler (e.g. reset() in Next.js) */
1948
+ onAction?: () => void;
1949
+ /** Secondary button label. */
1950
+ secondaryLabel?: string;
1951
+ /** Secondary button onClick handler */
1952
+ onSecondaryAction?: () => void;
1953
+ }
1954
+
1815
1955
  export declare const shadowTokens: {
1816
1956
  readonly xs: {
1817
1957
  readonly value: "0 1px 2px 0 rgba(0, 0, 0, 0.05)";
@@ -2034,7 +2174,7 @@ export declare const Switch: default_2.ForwardRefExoticComponent<SwitchProps & d
2034
2174
 
2035
2175
  export declare interface SwitchProps {
2036
2176
  /** Brand color for the on state */
2037
- colorScheme?: ColorScheme_2;
2177
+ colorScheme?: ColorScheme_3;
2038
2178
  size?: "sm" | "md" | "lg";
2039
2179
  /** Controlled checked value */
2040
2180
  checked?: boolean;
@@ -2397,6 +2537,69 @@ export declare const typographyTokens: {
2397
2537
  };
2398
2538
  };
2399
2539
 
2540
+ /**
2541
+ * Manages the active MedixDeck brand color scheme for themed components such
2542
+ * as `Navbar`, `Footer`, `Accordion`, and `BlogCard`.
2543
+ *
2544
+ * Initialises to `"blue"` by default, or to the `initialScheme` you pass in.
2545
+ * The returned `setColorScheme` and `toggleColorScheme` helpers let you update
2546
+ * it at any time — the new value propagates down through whatever you pass it
2547
+ * to via the component's `colorScheme` prop.
2548
+ *
2549
+ * @param initialScheme - Starting scheme. Defaults to `"blue"`.
2550
+ *
2551
+ * @example
2552
+ * ```tsx
2553
+ * // Basic — bind to a single component
2554
+ * const { colorScheme, toggleColorScheme } = useColorScheme();
2555
+ *
2556
+ * return (
2557
+ * <>
2558
+ * <button onClick={toggleColorScheme}>Switch scheme</button>
2559
+ * <Navbar colorScheme={colorScheme} navItems={[...]} />
2560
+ * </>
2561
+ * );
2562
+ * ```
2563
+ *
2564
+ * @example
2565
+ * ```tsx
2566
+ * // Start purple; share across multiple components
2567
+ * const { colorScheme, setColorScheme } = useColorScheme("purple");
2568
+ *
2569
+ * return (
2570
+ * <>
2571
+ * <Navbar colorScheme={colorScheme} navItems={[...]} />
2572
+ * <Accordion colorScheme={colorScheme} items={[...]} />
2573
+ * <Footer colorScheme={colorScheme} />
2574
+ * </>
2575
+ * );
2576
+ * ```
2577
+ */
2578
+ export declare function useColorScheme(initialScheme?: ColorScheme): UseColorSchemeResult;
2579
+
2580
+ export declare interface UseColorSchemeResult {
2581
+ /**
2582
+ * The currently active color scheme.
2583
+ */
2584
+ colorScheme: ColorScheme;
2585
+ /**
2586
+ * Explicitly set the active color scheme.
2587
+ */
2588
+ setColorScheme: (scheme: ColorScheme) => void;
2589
+ /**
2590
+ * Toggle between `"blue"` and `"purple"`.
2591
+ */
2592
+ toggleColorScheme: () => void;
2593
+ /**
2594
+ * `true` when the active scheme is `"blue"`.
2595
+ */
2596
+ isBlue: boolean;
2597
+ /**
2598
+ * `true` when the active scheme is `"purple"`.
2599
+ */
2600
+ isPurple: boolean;
2601
+ }
2602
+
2400
2603
  /**
2401
2604
  * Convenience hook for checking whether the active MedixDeck theme is dark.
2402
2605
  *