@medixdeck/ui 0.1.17 → 0.1.18

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
@@ -14,7 +14,6 @@ import { Image as Image_2 } from '@chakra-ui/react';
14
14
  import { InputProps as InputProps_2 } from '@chakra-ui/react';
15
15
  import { JSX as JSX_2 } from 'react/jsx-runtime';
16
16
  import { Link } from '@chakra-ui/react';
17
- import { NativeSelectRootProps } from '@chakra-ui/react';
18
17
  import { SeparatorProps } from '@chakra-ui/react';
19
18
  import { SimpleGrid } from '@chakra-ui/react';
20
19
  import { Stack } from '@chakra-ui/react';
@@ -629,7 +628,7 @@ export declare interface Column<T = Record<string, unknown>> {
629
628
  align?: 'left' | 'center' | 'right';
630
629
  }
631
630
 
632
- export declare function Combobox({ options, value, onChange, placeholder, label, helperText, errorMessage, isInvalid, isDisabled, }: ComboboxProps): JSX_2.Element;
631
+ export declare function Combobox({ options, value, onChange, placeholder, label, helperText, errorMessage, colorScheme, isInvalid, isDisabled, }: ComboboxProps): JSX_2.Element;
633
632
 
634
633
  export declare interface ComboboxOption {
635
634
  label: string;
@@ -644,6 +643,8 @@ export declare interface ComboboxProps {
644
643
  label?: string;
645
644
  helperText?: string;
646
645
  errorMessage?: string;
646
+ /** Brand color scheme ('blue' | 'purple') */
647
+ colorScheme?: 'blue' | 'purple';
647
648
  isInvalid?: boolean;
648
649
  isDisabled?: boolean;
649
650
  }
@@ -958,7 +959,7 @@ export declare interface DashboardUser {
958
959
  /**
959
960
  * MedixDeck DataTable
960
961
  *
961
- * Responsive data table with sorting.
962
+ * Responsive data table with sorting, search filtering, pagination, and dark mode support.
962
963
  *
963
964
  * @example
964
965
  * ```tsx
@@ -969,12 +970,14 @@ export declare interface DashboardUser {
969
970
  * { key: "status", label: "Status", render: (v) => <Badge>{v}</Badge> },
970
971
  * ]}
971
972
  * data={patients}
972
- * rowKey="id"
973
+ * enableSearch
974
+ * enablePagination
975
+ * pageSize={10}
973
976
  * onRowClick={(row) => router.push(`/patients/${row.id}`)}
974
977
  * />
975
978
  * ```
976
979
  */
977
- export declare function DataTable<T extends Record<string, unknown>>({ columns, data, rowKey, isLoading, emptyMessage, sortable, sortKey, sortDirection, onSort, striped, onRowClick, caption, style, className, }: DataTableProps<T>): JSX_2.Element;
980
+ export declare function DataTable<T extends Record<string, unknown>>({ columns, data, rowKey, isLoading, emptyMessage, sortable, sortKey, sortDirection, onSort, striped, onRowClick, caption, enablePagination, pageSize, page, onPageChange, enableSearch, searchPlaceholder, searchQuery, onSearchChange, style, className, }: DataTableProps<T>): JSX_2.Element;
978
981
 
979
982
  export declare interface DataTableProps<T = Record<string, unknown>> {
980
983
  columns: Column<T>[];
@@ -989,7 +992,23 @@ export declare interface DataTableProps<T = Record<string, unknown>> {
989
992
  striped?: boolean;
990
993
  onRowClick?: (row: T, index: number) => void;
991
994
  caption?: string;
992
- /** Extra styles for the outer container */
995
+ /** Enable built-in pagination (default: false for backward compatibility) */
996
+ enablePagination?: boolean;
997
+ /** Number of rows per page when pagination is enabled (default: 10) */
998
+ pageSize?: number;
999
+ /** Controlled page number (1-indexed). If omitted, internal state is used. */
1000
+ page?: number;
1001
+ /** Page change callback */
1002
+ onPageChange?: (page: number) => void;
1003
+ /** Enable search input filter (default: false for backward compatibility) */
1004
+ enableSearch?: boolean;
1005
+ /** Custom placeholder for search input */
1006
+ searchPlaceholder?: string;
1007
+ /** Controlled search query. If omitted, internal state is used. */
1008
+ searchQuery?: string;
1009
+ /** Search query change callback */
1010
+ onSearchChange?: (query: string) => void;
1011
+ /** Extra styles for outer container */
993
1012
  style?: default_2.CSSProperties;
994
1013
  className?: string;
995
1014
  }
@@ -1009,7 +1028,7 @@ export declare interface DataTableProps<T = Record<string, unknown>> {
1009
1028
  * />
1010
1029
  * ```
1011
1030
  */
1012
- export declare function DatePicker({ value, onChange, min, max, label, helperText, errorMessage, isInvalid, isDisabled, placeholder, id, includeTime, }: DatePickerProps): JSX_2.Element;
1031
+ export declare function DatePicker({ value, onChange, min, max, label, helperText, errorMessage, colorScheme, isInvalid, isDisabled, placeholder, id, includeTime, }: DatePickerProps): JSX_2.Element;
1013
1032
 
1014
1033
  export declare interface DatePickerProps {
1015
1034
  /** Controlled value (ISO date string: YYYY-MM-DD) */
@@ -1022,6 +1041,8 @@ export declare interface DatePickerProps {
1022
1041
  label?: string;
1023
1042
  helperText?: string;
1024
1043
  errorMessage?: string;
1044
+ /** Brand color scheme ('blue' | 'purple') */
1045
+ colorScheme?: 'blue' | 'purple';
1025
1046
  isInvalid?: boolean;
1026
1047
  isDisabled?: boolean;
1027
1048
  placeholder?: string;
@@ -1046,7 +1067,7 @@ export declare interface DatePickerProps {
1046
1067
  * />
1047
1068
  * ```
1048
1069
  */
1049
- export declare function DateRangePicker({ startValue, onStartChange, endValue, onEndChange, min, max, label, helperText, errorMessage, isInvalid, isDisabled, startPlaceholder, endPlaceholder, id, }: DateRangePickerProps): JSX_2.Element;
1070
+ export declare function DateRangePicker({ startValue, onStartChange, endValue, onEndChange, min, max, label, helperText, errorMessage, colorScheme, isInvalid, isDisabled, startPlaceholder, endPlaceholder, id, }: DateRangePickerProps): JSX_2.Element;
1050
1071
 
1051
1072
  export declare interface DateRangePickerProps {
1052
1073
  /** Controlled start date value (ISO date string: YYYY-MM-DD) */
@@ -1062,6 +1083,8 @@ export declare interface DateRangePickerProps {
1062
1083
  label?: string;
1063
1084
  helperText?: string;
1064
1085
  errorMessage?: string;
1086
+ /** Brand color scheme ('blue' | 'purple') */
1087
+ colorScheme?: 'blue' | 'purple';
1065
1088
  isInvalid?: boolean;
1066
1089
  isDisabled?: boolean;
1067
1090
  startPlaceholder?: string;
@@ -1144,7 +1167,7 @@ export declare interface DoctorCardProps extends BoxProps {
1144
1167
  * </Drawer>
1145
1168
  * ```
1146
1169
  */
1147
- export declare function Drawer({ isOpen, onClose, title, placement, size, closeOnOverlayClick, footer, children, }: DrawerProps): JSX_2.Element;
1170
+ export declare function Drawer({ isOpen, onClose, title, placement, size, closeOnOverlayClick, closeOnEscape, footer, children, }: DrawerProps): JSX_2.Element;
1148
1171
 
1149
1172
  export declare type DrawerPlacement = 'left' | 'right' | 'top' | 'bottom';
1150
1173
 
@@ -1155,6 +1178,7 @@ export declare interface DrawerProps {
1155
1178
  placement?: DrawerPlacement;
1156
1179
  size?: DrawerSize;
1157
1180
  closeOnOverlayClick?: boolean;
1181
+ closeOnEscape?: boolean;
1158
1182
  footer?: default_2.ReactNode;
1159
1183
  children?: default_2.ReactNode;
1160
1184
  }
@@ -1207,7 +1231,7 @@ export declare interface EmptyStateProps extends BoxProps {
1207
1231
  * />
1208
1232
  * ```
1209
1233
  */
1210
- export declare function FileUpload({ accept, multiple, maxSize, label, helperText, errorMessage, isInvalid, isDisabled, onChange, dropzoneTitle, id, }: FileUploadProps): JSX_2.Element;
1234
+ export declare function FileUpload({ accept, multiple, maxSize, label, helperText, errorMessage, colorScheme, isInvalid, isDisabled, onChange, dropzoneTitle, id, }: FileUploadProps): JSX_2.Element;
1211
1235
 
1212
1236
  export declare interface FileUploadProps {
1213
1237
  /** Accepted file types (e.g. ".pdf,.jpg,.png" or "image/*") */
@@ -1219,6 +1243,8 @@ export declare interface FileUploadProps {
1219
1243
  label?: string;
1220
1244
  helperText?: string;
1221
1245
  errorMessage?: string;
1246
+ /** Brand color scheme ('blue' | 'purple') */
1247
+ colorScheme?: 'blue' | 'purple';
1222
1248
  isInvalid?: boolean;
1223
1249
  isDisabled?: boolean;
1224
1250
  /** Callback fired when files are selected or dropped */
@@ -1406,7 +1432,7 @@ export { Image_2 as Image }
1406
1432
  /**
1407
1433
  * MedixDeck Input
1408
1434
  *
1409
- * Text input field. Supports icons, validation, and all standard HTML input types.
1435
+ * Text input field. Supports icons, validation, brand colorScheme, and all standard HTML input types.
1410
1436
  *
1411
1437
  * @example
1412
1438
  * ```tsx
@@ -1415,6 +1441,7 @@ export { Image_2 as Image }
1415
1441
  * leftElement={<SearchIcon />}
1416
1442
  * />
1417
1443
  * <Input isInvalid errorMessage="Email is required" type="email" />
1444
+ * <Input colorScheme="purple" placeholder="Purple focus ring" />
1418
1445
  * ```
1419
1446
  */
1420
1447
  export declare const Input: default_2.ForwardRefExoticComponent<InputProps & default_2.RefAttributes<HTMLInputElement>>;
@@ -1422,6 +1449,8 @@ export declare const Input: default_2.ForwardRefExoticComponent<InputProps & def
1422
1449
  export declare interface InputProps extends Omit<InputProps_2, 'size'> {
1423
1450
  /** Input size */
1424
1451
  size?: 'sm' | 'md' | 'lg';
1452
+ /** Brand color scheme ('blue' | 'purple') */
1453
+ colorScheme?: 'blue' | 'purple';
1425
1454
  /** Left icon or element */
1426
1455
  leftElement?: default_2.ReactNode;
1427
1456
  /** Right icon or element */
@@ -1440,24 +1469,16 @@ export { Link }
1440
1469
  * Pure inline-SVG brand logo. Works in **every** consuming project immediately —
1441
1470
  * no image files, no asset pipeline, no CDN hosting required.
1442
1471
  *
1443
- * The mark path is derived from `assets/logos/logo-icon-purple.svg` (the
1444
- * canonical vector-only file for the brand mark). The wordmark paths are
1445
- * derived from `assets/logos/logo-text-blue.svg`. Both are embedded as
1446
- * inline SVG so they bundle directly into the library JS.
1447
- *
1448
1472
  * @example
1449
1473
  * ```tsx
1450
1474
  * // Full logo, default blue, 32 px tall
1451
1475
  * <Logo />
1452
1476
  *
1453
- * // Purple icon-only at 48 px
1454
- * <Logo variant="purple" type="icon" height={48} />
1455
- *
1456
- * // White full logo for dark navbars
1457
- * <Logo variant="white" height={28} />
1477
+ * // Downloadable logo
1478
+ * <Logo variant="purple" downloadable />
1458
1479
  * ```
1459
1480
  */
1460
- export declare function Logo({ variant, type, height, className, style, }: LogoProps): JSX_2.Element;
1481
+ export declare function Logo({ variant, type, height, downloadable, downloadFileName, className, style, }: LogoProps): JSX_2.Element;
1461
1482
 
1462
1483
  export declare interface LogoProps {
1463
1484
  /**
@@ -1480,6 +1501,13 @@ export declare interface LogoProps {
1480
1501
  * @default 32
1481
1502
  */
1482
1503
  height?: number;
1504
+ /**
1505
+ * When true, clicking the logo automatically downloads a high-resolution PNG.
1506
+ * @default false
1507
+ */
1508
+ downloadable?: boolean;
1509
+ /** Custom download file name override */
1510
+ downloadFileName?: string;
1483
1511
  /** Optional className applied to the root <span> */
1484
1512
  className?: string;
1485
1513
  /** Extra inline styles on the root <span> */
@@ -1549,7 +1577,7 @@ export declare interface MedixProviderProps {
1549
1577
  * </Modal>
1550
1578
  * ```
1551
1579
  */
1552
- export declare function Modal({ isOpen, onClose, title, description, size, closeOnOverlayClick, footer, children, }: ModalProps): JSX_2.Element;
1580
+ export declare function Modal({ isOpen, onClose, title, description, size, closeOnOverlayClick, closeOnEscape, footer, children, }: ModalProps): JSX_2.Element;
1553
1581
 
1554
1582
  export declare interface ModalProps {
1555
1583
  isOpen: boolean;
@@ -1559,6 +1587,8 @@ export declare interface ModalProps {
1559
1587
  size?: ModalSize;
1560
1588
  /** Prevent closing on backdrop click */
1561
1589
  closeOnOverlayClick?: boolean;
1590
+ /** Prevent closing on Escape key press */
1591
+ closeOnEscape?: boolean;
1562
1592
  /** Footer action buttons */
1563
1593
  footer?: default_2.ReactNode;
1564
1594
  children?: default_2.ReactNode;
@@ -1791,7 +1821,7 @@ export declare interface NotFoundPageProps extends BoxProps {
1791
1821
  * />
1792
1822
  * ```
1793
1823
  */
1794
- export declare function OTPInput({ length, value, defaultValue, onChange, onComplete, isInvalid, isDisabled, mask, label, helperText, errorMessage, }: OTPInputProps): JSX_2.Element;
1824
+ export declare function OTPInput({ length, value, defaultValue, onChange, onComplete, colorScheme, isInvalid, isDisabled, mask, label, helperText, errorMessage, }: OTPInputProps): JSX_2.Element;
1795
1825
 
1796
1826
  export declare interface OTPInputProps {
1797
1827
  /** Number of digits */
@@ -1802,6 +1832,8 @@ export declare interface OTPInputProps {
1802
1832
  value?: string;
1803
1833
  onChange?: (value: string) => void;
1804
1834
  onComplete?: (value: string) => void;
1835
+ /** Brand color scheme ('blue' | 'purple') */
1836
+ colorScheme?: 'blue' | 'purple';
1805
1837
  /** Whether in error state */
1806
1838
  isInvalid?: boolean;
1807
1839
  /** Whether disabled */
@@ -1847,8 +1879,7 @@ export declare interface PaginationProps extends Omit<BoxProps, 'onChange'> {
1847
1879
  * MedixDeck PhoneInput
1848
1880
  *
1849
1881
  * Phone number input with country code selector (defaults to Nigeria +234).
1850
- * Colors use CSS custom properties (--medix-form-*) that cascade from any
1851
- * .dark ancestor, so dark mode works without any JS theme hook.
1882
+ * Features a searchable country picker dropdown with full country names.
1852
1883
  *
1853
1884
  * @example
1854
1885
  * ```tsx
@@ -1859,16 +1890,9 @@ export declare interface PaginationProps extends Omit<BoxProps, 'onChange'> {
1859
1890
  * defaultCountryCode="+234"
1860
1891
  * onChange={(val) => setValue(val)}
1861
1892
  * />
1862
- *
1863
- * // US (unambiguous ISO override — avoids picking AS for the shared +1 code)
1864
- * <PhoneInput
1865
- * label="Phone number"
1866
- * defaultCountry="US"
1867
- * onChange={(val) => setValue(val)}
1868
- * />
1869
1893
  * ```
1870
1894
  */
1871
- export declare function PhoneInput({ value, onChange, showCountryCode, showCountryFlag, defaultCountryCode, defaultCountry, placeholder, isInvalid, errorMessage, label, helperText, isDisabled, id, }: PhoneInputProps): JSX_2.Element;
1895
+ export declare function PhoneInput({ value, onChange, showCountryCode, showCountryFlag, defaultCountryCode, defaultCountry, placeholder, colorScheme, isInvalid, errorMessage, label, helperText, isDisabled, id, }: PhoneInputProps): JSX_2.Element;
1872
1896
 
1873
1897
  export declare interface PhoneInputProps {
1874
1898
  /** Controlled value (full number including country code prefix) */
@@ -1886,6 +1910,8 @@ export declare interface PhoneInputProps {
1886
1910
  * calling codes such as +1 (NANP) or +7 (Russia/Kazakhstan). */
1887
1911
  defaultCountry?: string;
1888
1912
  placeholder?: string;
1913
+ /** Brand color scheme ('blue' | 'purple') */
1914
+ colorScheme?: 'blue' | 'purple';
1889
1915
  isInvalid?: boolean;
1890
1916
  errorMessage?: string;
1891
1917
  label?: string;
@@ -2071,6 +2097,66 @@ export declare interface RadioOption {
2071
2097
  disabled?: boolean;
2072
2098
  }
2073
2099
 
2100
+ /** Alias for RichTextInput */
2101
+ export declare const RichTextEditor: typeof RichTextInput;
2102
+
2103
+ /**
2104
+ * MedixDeck RichTextInput
2105
+ *
2106
+ * A fully-featured rich text editor powered by TipTap (ProseMirror).
2107
+ * Supports Bold, Italic, Underline, Headings, Lists, Blockquotes, Links,
2108
+ * Text Alignment, and more.
2109
+ *
2110
+ * @example
2111
+ * ```tsx
2112
+ * // Controlled
2113
+ * <RichTextInput value={html} onChange={setHtml} placeholder="Write a bio..." />
2114
+ *
2115
+ * // With character count
2116
+ * <RichTextInput showCharCount maxLength={500} colorScheme="purple" />
2117
+ * ```
2118
+ */
2119
+ export declare function RichTextInput({ value, defaultValue, onChange, placeholder, label, helperText, errorMessage, isInvalid, disabled, colorScheme, minHeight, maxHeight, maxLength, showCharCount, toolbarOptions, className, }: RichTextInputProps): JSX_2.Element;
2120
+
2121
+ export declare namespace RichTextInput {
2122
+ var displayName: string;
2123
+ }
2124
+
2125
+ export declare interface RichTextInputProps {
2126
+ /** HTML content string (controlled) */
2127
+ value?: string;
2128
+ /** Default HTML content string (uncontrolled) */
2129
+ defaultValue?: string;
2130
+ /** Callback on every content change — receives HTML string */
2131
+ onChange?: (html: string) => void;
2132
+ /** Placeholder text when editor is empty */
2133
+ placeholder?: string;
2134
+ /** Label above the editor */
2135
+ label?: string;
2136
+ /** Helper text below the editor */
2137
+ helperText?: string;
2138
+ /** Error message displayed when invalid */
2139
+ errorMessage?: string;
2140
+ /** Show error/invalid state */
2141
+ isInvalid?: boolean;
2142
+ /** Disabled state (no editing) */
2143
+ disabled?: boolean;
2144
+ /** Brand color scheme */
2145
+ colorScheme?: 'blue' | 'purple';
2146
+ /** Min height of the editor body */
2147
+ minHeight?: string;
2148
+ /** Max height of the editor body — editor scrolls when content exceeds this */
2149
+ maxHeight?: string;
2150
+ /** Maximum character count allowed */
2151
+ maxLength?: number;
2152
+ /** Show character counter in footer */
2153
+ showCharCount?: boolean;
2154
+ /** Customize visible toolbar controls */
2155
+ toolbarOptions?: ToolbarOptions;
2156
+ /** Additional CSS class on the wrapper */
2157
+ className?: string;
2158
+ }
2159
+
2074
2160
  export declare const SearchInput: default_2.ForwardRefExoticComponent<SearchInputProps & default_2.RefAttributes<HTMLInputElement>>;
2075
2161
 
2076
2162
  /**
@@ -2113,8 +2199,19 @@ export declare interface SectionHeaderProps extends BoxProps {
2113
2199
 
2114
2200
  /**
2115
2201
  * MedixDeck Select
2202
+ *
2203
+ * Supports both single selection and multi-selection with custom popover dropdown options.
2204
+ *
2205
+ * @example
2206
+ * ```tsx
2207
+ * // Single select
2208
+ * <Select options={[{ value: '1', label: 'Option 1' }]} value={val} onChange={setVal} />
2209
+ *
2210
+ * // Multi select with chips and search
2211
+ * <Select multiple value={selectedArray} onChange={setSelectedArray} options={options} />
2212
+ * ```
2116
2213
  */
2117
- export declare const Select: default_2.ForwardRefExoticComponent<SelectProps & default_2.RefAttributes<HTMLSelectElement>>;
2214
+ export declare function Select(props: SelectProps): JSX_2.Element;
2118
2215
 
2119
2216
  export declare interface SelectOption {
2120
2217
  value: string;
@@ -2122,24 +2219,28 @@ export declare interface SelectOption {
2122
2219
  disabled?: boolean;
2123
2220
  }
2124
2221
 
2125
- export declare interface SelectProps extends Omit<NativeSelectRootProps, 'size' | 'value' | 'defaultValue' | 'onChange' | 'name' | 'id' | 'disabled' | 'onBlur' | 'onFocus' | 'multiple'> {
2222
+ export declare interface SelectProps {
2126
2223
  options?: SelectOption[];
2127
2224
  placeholder?: string;
2128
2225
  isInvalid?: boolean;
2129
2226
  errorMessage?: string;
2130
2227
  size?: 'sm' | 'md' | 'lg';
2228
+ /** Brand color scheme ('blue' | 'purple') */
2229
+ colorScheme?: 'blue' | 'purple';
2131
2230
  children?: default_2.ReactNode;
2132
2231
  /** Optional icon to render on the left side of the select field */
2133
2232
  icon?: default_2.ReactNode;
2134
2233
  value?: string | string[];
2135
2234
  defaultValue?: string | string[];
2136
- onChange?: (value: string | string[]) => void;
2235
+ onChange?: (value: any) => void;
2137
2236
  name?: string;
2138
2237
  id?: string;
2139
2238
  disabled?: boolean;
2140
2239
  multiple?: boolean;
2141
- onBlur?: default_2.FocusEventHandler<HTMLSelectElement>;
2142
- onFocus?: default_2.FocusEventHandler<HTMLSelectElement>;
2240
+ onBlur?: default_2.FocusEventHandler<HTMLDivElement | HTMLInputElement>;
2241
+ onFocus?: default_2.FocusEventHandler<HTMLDivElement | HTMLInputElement>;
2242
+ style?: default_2.CSSProperties;
2243
+ className?: string;
2143
2244
  }
2144
2245
 
2145
2246
  /**
@@ -2194,10 +2295,10 @@ export declare const shadowTokens: {
2194
2295
  readonly value: "0 20px 25px -5px rgba(0, 0, 0, 0.10), 0 8px 10px -6px rgba(0, 0, 0, 0.10)";
2195
2296
  };
2196
2297
  readonly 'card-dark': {
2197
- readonly value: "0 4px 24px 0 rgba(0, 0, 0, 0.40)";
2298
+ readonly value: "none";
2198
2299
  };
2199
2300
  readonly 'card-light': {
2200
- readonly value: "0 2px 12px 0 rgba(17, 25, 38, 0.08)";
2301
+ readonly value: "none";
2201
2302
  };
2202
2303
  readonly none: {
2203
2304
  readonly value: "none";
@@ -2240,7 +2341,7 @@ export declare interface SkeletonTextProps extends BoxProps {
2240
2341
  }
2241
2342
 
2242
2343
  export declare interface SocialLink {
2243
- platform: 'facebook' | 'instagram' | 'linkedin' | 'twitter' | 'youtube' | 'threads' | 'whatsapp';
2344
+ platform: 'facebook' | 'instagram' | 'linkedin' | 'twitter' | 'youtube' | 'threads' | 'whatsapp' | 'tiktok';
2244
2345
  href: string;
2245
2346
  }
2246
2347
 
@@ -2464,6 +2565,10 @@ export declare const Tag: default_2.ForwardRefExoticComponent<TagProps & default
2464
2565
 
2465
2566
  export declare type TagColorScheme = 'blue' | 'purple' | 'green' | 'gray' | 'red' | 'amber';
2466
2567
 
2568
+ export declare const TagInput: typeof TagsInput;
2569
+
2570
+ export declare type TagInputProps = TagsInputProps;
2571
+
2467
2572
  export declare interface TagProps extends BoxProps {
2468
2573
  variant?: TagVariant;
2469
2574
  colorScheme?: TagColorScheme;
@@ -2472,6 +2577,65 @@ export declare interface TagProps extends BoxProps {
2472
2577
  children: default_2.ReactNode;
2473
2578
  }
2474
2579
 
2580
+ /**
2581
+ * MedixDeck TagsInput / TagInput
2582
+ *
2583
+ * Interactive input component for tags, keywords, allergies, and multi-selection pills.
2584
+ * Fully aligned with MedixDeck brand design system, light/dark mode, and colorScheme options.
2585
+ *
2586
+ * @example
2587
+ * ```tsx
2588
+ * <TagsInput
2589
+ * label="Known Allergies"
2590
+ * value={allergies}
2591
+ * onChange={setAllergies}
2592
+ * placeholder="Type allergy and press Enter..."
2593
+ * colorScheme="blue"
2594
+ * />
2595
+ * ```
2596
+ */
2597
+ export declare function TagsInput({ value, onChange, placeholder, label, helperText, errorMessage, isInvalid, colorScheme, size, isDisabled, isReadOnly, maxTags, allowDuplicates, addOnBlur, delimiter, id, name, style, className, }: TagsInputProps): JSX_2.Element;
2598
+
2599
+ export declare interface TagsInputProps {
2600
+ /** Array of tag strings */
2601
+ value: string[];
2602
+ /** Callback when tag list changes */
2603
+ onChange: (tags: string[]) => void;
2604
+ /** Input placeholder text */
2605
+ placeholder?: string;
2606
+ /** Field label */
2607
+ label?: string;
2608
+ /** Helper text displayed below input */
2609
+ helperText?: string;
2610
+ /** Error message displayed below input */
2611
+ errorMessage?: string;
2612
+ /** Whether the field is invalid */
2613
+ isInvalid?: boolean;
2614
+ /** Brand color theme ('blue' | 'purple') */
2615
+ colorScheme?: 'blue' | 'purple';
2616
+ /** Field size ('sm' | 'md' | 'lg') */
2617
+ size?: 'sm' | 'md' | 'lg';
2618
+ /** Disabled state */
2619
+ isDisabled?: boolean;
2620
+ /** Read-only state */
2621
+ isReadOnly?: boolean;
2622
+ /** Maximum number of tags allowed */
2623
+ maxTags?: number;
2624
+ /** Allow duplicate tags (default: false) */
2625
+ allowDuplicates?: boolean;
2626
+ /** Add tag when input loses focus (default: false) */
2627
+ addOnBlur?: boolean;
2628
+ /** Custom delimiter character to trigger tag addition (e.g. ',') */
2629
+ delimiter?: string;
2630
+ /** HTML input id */
2631
+ id?: string;
2632
+ /** HTML input name */
2633
+ name?: string;
2634
+ /** Extra container styles */
2635
+ style?: default_2.CSSProperties;
2636
+ className?: string;
2637
+ }
2638
+
2475
2639
  export declare type TagVariant = 'solid' | 'subtle' | 'outline';
2476
2640
 
2477
2641
  /**
@@ -2502,6 +2666,8 @@ export { Text_2 as Text }
2502
2666
  export declare const Textarea: default_2.ForwardRefExoticComponent<TextareaProps & default_2.RefAttributes<HTMLTextAreaElement>>;
2503
2667
 
2504
2668
  export declare interface TextareaProps extends TextareaProps_2 {
2669
+ /** Brand color scheme ('blue' | 'purple') */
2670
+ colorScheme?: 'blue' | 'purple';
2505
2671
  /** Error state */
2506
2672
  isInvalid?: boolean;
2507
2673
  /** Error message */
@@ -2639,6 +2805,31 @@ export declare type ToastOptions = {
2639
2805
 
2640
2806
  export declare type ToastType = AlertStatus;
2641
2807
 
2808
+ export declare interface ToolbarOptions {
2809
+ /** Show Bold button (default: true) */
2810
+ bold?: boolean;
2811
+ /** Show Italic button (default: true) */
2812
+ italic?: boolean;
2813
+ /** Show Underline button (default: true) */
2814
+ underline?: boolean;
2815
+ /** Show Strikethrough button (default: true) */
2816
+ strikethrough?: boolean;
2817
+ /** Show Headings dropdown (default: true) */
2818
+ headings?: boolean;
2819
+ /** Show Bullet List button (default: true) */
2820
+ bulletList?: boolean;
2821
+ /** Show Ordered List button (default: true) */
2822
+ orderedList?: boolean;
2823
+ /** Show Blockquote button (default: true) */
2824
+ quote?: boolean;
2825
+ /** Show Link button (default: true) */
2826
+ link?: boolean;
2827
+ /** Show Text Align controls (default: true) */
2828
+ textAlign?: boolean;
2829
+ /** Show Clear Formatting button (default: true) */
2830
+ clearFormat?: boolean;
2831
+ }
2832
+
2642
2833
  /**
2643
2834
  * MedixDeck Tooltip
2644
2835
  *