@medixdeck/ui 0.1.17 → 0.1.19

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';
@@ -313,18 +312,23 @@ export declare interface ButtonProps {
313
312
  /**
314
313
  * MedixDeck Re-usable Calendar Component
315
314
  *
315
+ * Supports clicking the month or year label in the header to jump directly to
316
+ * a month-picker or year-picker view, avoiding tedious arrow navigation.
317
+ *
316
318
  * @example
317
319
  * ```tsx
318
- * <Calendar value={date} onChange={setDate} />
320
+ * <Calendar value={date} onChange={setDate} colorScheme="purple" />
319
321
  * ```
320
322
  */
321
- export declare function Calendar({ value, onChange, minDate, maxDate, ...props }: CalendarProps): JSX_2.Element;
323
+ export declare function Calendar({ value, onChange, minDate, maxDate, colorScheme, ...props }: CalendarProps): JSX_2.Element;
322
324
 
323
325
  export declare interface CalendarProps extends Omit<BoxProps, 'onChange'> {
324
326
  value?: Date | null;
325
327
  onChange?: (date: Date) => void;
326
328
  minDate?: Date;
327
329
  maxDate?: Date;
330
+ /** Brand color scheme ('blue' | 'purple') — defaults to 'blue' */
331
+ colorScheme?: 'blue' | 'purple';
328
332
  }
329
333
 
330
334
  /**
@@ -629,7 +633,7 @@ export declare interface Column<T = Record<string, unknown>> {
629
633
  align?: 'left' | 'center' | 'right';
630
634
  }
631
635
 
632
- export declare function Combobox({ options, value, onChange, placeholder, label, helperText, errorMessage, isInvalid, isDisabled, }: ComboboxProps): JSX_2.Element;
636
+ export declare function Combobox({ options, value, onChange, placeholder, label, helperText, errorMessage, colorScheme, isInvalid, isDisabled, }: ComboboxProps): JSX_2.Element;
633
637
 
634
638
  export declare interface ComboboxOption {
635
639
  label: string;
@@ -644,6 +648,8 @@ export declare interface ComboboxProps {
644
648
  label?: string;
645
649
  helperText?: string;
646
650
  errorMessage?: string;
651
+ /** Brand color scheme ('blue' | 'purple') */
652
+ colorScheme?: 'blue' | 'purple';
647
653
  isInvalid?: boolean;
648
654
  isDisabled?: boolean;
649
655
  }
@@ -958,7 +964,7 @@ export declare interface DashboardUser {
958
964
  /**
959
965
  * MedixDeck DataTable
960
966
  *
961
- * Responsive data table with sorting.
967
+ * Responsive data table with sorting, search filtering, pagination, and dark mode support.
962
968
  *
963
969
  * @example
964
970
  * ```tsx
@@ -969,12 +975,14 @@ export declare interface DashboardUser {
969
975
  * { key: "status", label: "Status", render: (v) => <Badge>{v}</Badge> },
970
976
  * ]}
971
977
  * data={patients}
972
- * rowKey="id"
978
+ * enableSearch
979
+ * enablePagination
980
+ * pageSize={10}
973
981
  * onRowClick={(row) => router.push(`/patients/${row.id}`)}
974
982
  * />
975
983
  * ```
976
984
  */
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;
985
+ 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
986
 
979
987
  export declare interface DataTableProps<T = Record<string, unknown>> {
980
988
  columns: Column<T>[];
@@ -989,7 +997,23 @@ export declare interface DataTableProps<T = Record<string, unknown>> {
989
997
  striped?: boolean;
990
998
  onRowClick?: (row: T, index: number) => void;
991
999
  caption?: string;
992
- /** Extra styles for the outer container */
1000
+ /** Enable built-in pagination (default: false for backward compatibility) */
1001
+ enablePagination?: boolean;
1002
+ /** Number of rows per page when pagination is enabled (default: 10) */
1003
+ pageSize?: number;
1004
+ /** Controlled page number (1-indexed). If omitted, internal state is used. */
1005
+ page?: number;
1006
+ /** Page change callback */
1007
+ onPageChange?: (page: number) => void;
1008
+ /** Enable search input filter (default: false for backward compatibility) */
1009
+ enableSearch?: boolean;
1010
+ /** Custom placeholder for search input */
1011
+ searchPlaceholder?: string;
1012
+ /** Controlled search query. If omitted, internal state is used. */
1013
+ searchQuery?: string;
1014
+ /** Search query change callback */
1015
+ onSearchChange?: (query: string) => void;
1016
+ /** Extra styles for outer container */
993
1017
  style?: default_2.CSSProperties;
994
1018
  className?: string;
995
1019
  }
@@ -1009,7 +1033,7 @@ export declare interface DataTableProps<T = Record<string, unknown>> {
1009
1033
  * />
1010
1034
  * ```
1011
1035
  */
1012
- export declare function DatePicker({ value, onChange, min, max, label, helperText, errorMessage, isInvalid, isDisabled, placeholder, id, includeTime, }: DatePickerProps): JSX_2.Element;
1036
+ export declare function DatePicker({ value, onChange, min, max, label, helperText, errorMessage, colorScheme, isInvalid, isDisabled, placeholder, id, includeTime, }: DatePickerProps): JSX_2.Element;
1013
1037
 
1014
1038
  export declare interface DatePickerProps {
1015
1039
  /** Controlled value (ISO date string: YYYY-MM-DD) */
@@ -1022,6 +1046,8 @@ export declare interface DatePickerProps {
1022
1046
  label?: string;
1023
1047
  helperText?: string;
1024
1048
  errorMessage?: string;
1049
+ /** Brand color scheme ('blue' | 'purple') */
1050
+ colorScheme?: 'blue' | 'purple';
1025
1051
  isInvalid?: boolean;
1026
1052
  isDisabled?: boolean;
1027
1053
  placeholder?: string;
@@ -1046,7 +1072,7 @@ export declare interface DatePickerProps {
1046
1072
  * />
1047
1073
  * ```
1048
1074
  */
1049
- export declare function DateRangePicker({ startValue, onStartChange, endValue, onEndChange, min, max, label, helperText, errorMessage, isInvalid, isDisabled, startPlaceholder, endPlaceholder, id, }: DateRangePickerProps): JSX_2.Element;
1075
+ export declare function DateRangePicker({ startValue, onStartChange, endValue, onEndChange, min, max, label, helperText, errorMessage, colorScheme, isInvalid, isDisabled, startPlaceholder, endPlaceholder, id, }: DateRangePickerProps): JSX_2.Element;
1050
1076
 
1051
1077
  export declare interface DateRangePickerProps {
1052
1078
  /** Controlled start date value (ISO date string: YYYY-MM-DD) */
@@ -1062,6 +1088,8 @@ export declare interface DateRangePickerProps {
1062
1088
  label?: string;
1063
1089
  helperText?: string;
1064
1090
  errorMessage?: string;
1091
+ /** Brand color scheme ('blue' | 'purple') */
1092
+ colorScheme?: 'blue' | 'purple';
1065
1093
  isInvalid?: boolean;
1066
1094
  isDisabled?: boolean;
1067
1095
  startPlaceholder?: string;
@@ -1144,7 +1172,7 @@ export declare interface DoctorCardProps extends BoxProps {
1144
1172
  * </Drawer>
1145
1173
  * ```
1146
1174
  */
1147
- export declare function Drawer({ isOpen, onClose, title, placement, size, closeOnOverlayClick, footer, children, }: DrawerProps): JSX_2.Element;
1175
+ export declare function Drawer({ isOpen, onClose, title, placement, size, closeOnOverlayClick, closeOnEscape, footer, children, }: DrawerProps): JSX_2.Element;
1148
1176
 
1149
1177
  export declare type DrawerPlacement = 'left' | 'right' | 'top' | 'bottom';
1150
1178
 
@@ -1155,6 +1183,7 @@ export declare interface DrawerProps {
1155
1183
  placement?: DrawerPlacement;
1156
1184
  size?: DrawerSize;
1157
1185
  closeOnOverlayClick?: boolean;
1186
+ closeOnEscape?: boolean;
1158
1187
  footer?: default_2.ReactNode;
1159
1188
  children?: default_2.ReactNode;
1160
1189
  }
@@ -1207,7 +1236,7 @@ export declare interface EmptyStateProps extends BoxProps {
1207
1236
  * />
1208
1237
  * ```
1209
1238
  */
1210
- export declare function FileUpload({ accept, multiple, maxSize, label, helperText, errorMessage, isInvalid, isDisabled, onChange, dropzoneTitle, id, }: FileUploadProps): JSX_2.Element;
1239
+ export declare function FileUpload({ accept, multiple, maxSize, label, helperText, errorMessage, colorScheme, isInvalid, isDisabled, onChange, dropzoneTitle, id, }: FileUploadProps): JSX_2.Element;
1211
1240
 
1212
1241
  export declare interface FileUploadProps {
1213
1242
  /** Accepted file types (e.g. ".pdf,.jpg,.png" or "image/*") */
@@ -1219,6 +1248,8 @@ export declare interface FileUploadProps {
1219
1248
  label?: string;
1220
1249
  helperText?: string;
1221
1250
  errorMessage?: string;
1251
+ /** Brand color scheme ('blue' | 'purple') */
1252
+ colorScheme?: 'blue' | 'purple';
1222
1253
  isInvalid?: boolean;
1223
1254
  isDisabled?: boolean;
1224
1255
  /** Callback fired when files are selected or dropped */
@@ -1362,6 +1393,11 @@ export { Heading }
1362
1393
 
1363
1394
  export { HStack }
1364
1395
 
1396
+ /**
1397
+ * Converts HTML content to clean, standard Markdown text.
1398
+ */
1399
+ export declare function htmlToMarkdown(html: string): string;
1400
+
1365
1401
  export { Icon }
1366
1402
 
1367
1403
  /**
@@ -1406,7 +1442,7 @@ export { Image_2 as Image }
1406
1442
  /**
1407
1443
  * MedixDeck Input
1408
1444
  *
1409
- * Text input field. Supports icons, validation, and all standard HTML input types.
1445
+ * Text input field. Supports icons, validation, brand colorScheme, and all standard HTML input types.
1410
1446
  *
1411
1447
  * @example
1412
1448
  * ```tsx
@@ -1415,6 +1451,7 @@ export { Image_2 as Image }
1415
1451
  * leftElement={<SearchIcon />}
1416
1452
  * />
1417
1453
  * <Input isInvalid errorMessage="Email is required" type="email" />
1454
+ * <Input colorScheme="purple" placeholder="Purple focus ring" />
1418
1455
  * ```
1419
1456
  */
1420
1457
  export declare const Input: default_2.ForwardRefExoticComponent<InputProps & default_2.RefAttributes<HTMLInputElement>>;
@@ -1422,6 +1459,8 @@ export declare const Input: default_2.ForwardRefExoticComponent<InputProps & def
1422
1459
  export declare interface InputProps extends Omit<InputProps_2, 'size'> {
1423
1460
  /** Input size */
1424
1461
  size?: 'sm' | 'md' | 'lg';
1462
+ /** Brand color scheme ('blue' | 'purple') */
1463
+ colorScheme?: 'blue' | 'purple';
1425
1464
  /** Left icon or element */
1426
1465
  leftElement?: default_2.ReactNode;
1427
1466
  /** Right icon or element */
@@ -1440,24 +1479,16 @@ export { Link }
1440
1479
  * Pure inline-SVG brand logo. Works in **every** consuming project immediately —
1441
1480
  * no image files, no asset pipeline, no CDN hosting required.
1442
1481
  *
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
1482
  * @example
1449
1483
  * ```tsx
1450
1484
  * // Full logo, default blue, 32 px tall
1451
1485
  * <Logo />
1452
1486
  *
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} />
1487
+ * // Downloadable logo
1488
+ * <Logo variant="purple" downloadable />
1458
1489
  * ```
1459
1490
  */
1460
- export declare function Logo({ variant, type, height, className, style, }: LogoProps): JSX_2.Element;
1491
+ export declare function Logo({ variant, type, height, downloadable, downloadFileName, className, style, }: LogoProps): JSX_2.Element;
1461
1492
 
1462
1493
  export declare interface LogoProps {
1463
1494
  /**
@@ -1480,6 +1511,13 @@ export declare interface LogoProps {
1480
1511
  * @default 32
1481
1512
  */
1482
1513
  height?: number;
1514
+ /**
1515
+ * When true, clicking the logo automatically downloads a high-resolution PNG.
1516
+ * @default false
1517
+ */
1518
+ downloadable?: boolean;
1519
+ /** Custom download file name override */
1520
+ downloadFileName?: string;
1483
1521
  /** Optional className applied to the root <span> */
1484
1522
  className?: string;
1485
1523
  /** Extra inline styles on the root <span> */
@@ -1490,6 +1528,11 @@ export declare type LogoType = 'full' | 'icon';
1490
1528
 
1491
1529
  export declare type LogoVariant = 'blue' | 'purple' | 'black' | 'white';
1492
1530
 
1531
+ /**
1532
+ * Converts standard Markdown text to HTML.
1533
+ */
1534
+ export declare function markdownToHtml(markdown: string): string;
1535
+
1493
1536
  export declare const medixConfig: SystemConfig;
1494
1537
 
1495
1538
  /**
@@ -1549,7 +1592,7 @@ export declare interface MedixProviderProps {
1549
1592
  * </Modal>
1550
1593
  * ```
1551
1594
  */
1552
- export declare function Modal({ isOpen, onClose, title, description, size, closeOnOverlayClick, footer, children, }: ModalProps): JSX_2.Element;
1595
+ export declare function Modal({ isOpen, onClose, title, description, size, closeOnOverlayClick, closeOnEscape, footer, children, }: ModalProps): JSX_2.Element;
1553
1596
 
1554
1597
  export declare interface ModalProps {
1555
1598
  isOpen: boolean;
@@ -1559,6 +1602,8 @@ export declare interface ModalProps {
1559
1602
  size?: ModalSize;
1560
1603
  /** Prevent closing on backdrop click */
1561
1604
  closeOnOverlayClick?: boolean;
1605
+ /** Prevent closing on Escape key press */
1606
+ closeOnEscape?: boolean;
1562
1607
  /** Footer action buttons */
1563
1608
  footer?: default_2.ReactNode;
1564
1609
  children?: default_2.ReactNode;
@@ -1791,7 +1836,7 @@ export declare interface NotFoundPageProps extends BoxProps {
1791
1836
  * />
1792
1837
  * ```
1793
1838
  */
1794
- export declare function OTPInput({ length, value, defaultValue, onChange, onComplete, isInvalid, isDisabled, mask, label, helperText, errorMessage, }: OTPInputProps): JSX_2.Element;
1839
+ export declare function OTPInput({ length, value, defaultValue, onChange, onComplete, colorScheme, isInvalid, isDisabled, mask, label, helperText, errorMessage, }: OTPInputProps): JSX_2.Element;
1795
1840
 
1796
1841
  export declare interface OTPInputProps {
1797
1842
  /** Number of digits */
@@ -1802,6 +1847,8 @@ export declare interface OTPInputProps {
1802
1847
  value?: string;
1803
1848
  onChange?: (value: string) => void;
1804
1849
  onComplete?: (value: string) => void;
1850
+ /** Brand color scheme ('blue' | 'purple') */
1851
+ colorScheme?: 'blue' | 'purple';
1805
1852
  /** Whether in error state */
1806
1853
  isInvalid?: boolean;
1807
1854
  /** Whether disabled */
@@ -1847,8 +1894,7 @@ export declare interface PaginationProps extends Omit<BoxProps, 'onChange'> {
1847
1894
  * MedixDeck PhoneInput
1848
1895
  *
1849
1896
  * 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.
1897
+ * Features a searchable country picker dropdown with full country names.
1852
1898
  *
1853
1899
  * @example
1854
1900
  * ```tsx
@@ -1859,16 +1905,9 @@ export declare interface PaginationProps extends Omit<BoxProps, 'onChange'> {
1859
1905
  * defaultCountryCode="+234"
1860
1906
  * onChange={(val) => setValue(val)}
1861
1907
  * />
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
1908
  * ```
1870
1909
  */
1871
- export declare function PhoneInput({ value, onChange, showCountryCode, showCountryFlag, defaultCountryCode, defaultCountry, placeholder, isInvalid, errorMessage, label, helperText, isDisabled, id, }: PhoneInputProps): JSX_2.Element;
1910
+ export declare function PhoneInput({ value, onChange, showCountryCode, showCountryFlag, defaultCountryCode, defaultCountry, placeholder, colorScheme, isInvalid, errorMessage, label, helperText, isDisabled, id, }: PhoneInputProps): JSX_2.Element;
1872
1911
 
1873
1912
  export declare interface PhoneInputProps {
1874
1913
  /** Controlled value (full number including country code prefix) */
@@ -1886,6 +1925,8 @@ export declare interface PhoneInputProps {
1886
1925
  * calling codes such as +1 (NANP) or +7 (Russia/Kazakhstan). */
1887
1926
  defaultCountry?: string;
1888
1927
  placeholder?: string;
1928
+ /** Brand color scheme ('blue' | 'purple') */
1929
+ colorScheme?: 'blue' | 'purple';
1889
1930
  isInvalid?: boolean;
1890
1931
  errorMessage?: string;
1891
1932
  label?: string;
@@ -2071,6 +2112,82 @@ export declare interface RadioOption {
2071
2112
  disabled?: boolean;
2072
2113
  }
2073
2114
 
2115
+ /** Alias for RichTextInput */
2116
+ export declare const RichTextEditor: typeof RichTextInput;
2117
+
2118
+ /**
2119
+ * MedixDeck RichTextInput
2120
+ *
2121
+ * A versatile editor supporting both Visual Rich Text (TipTap) and Standard Markdown modes.
2122
+ *
2123
+ * @example
2124
+ * ```tsx
2125
+ * // Default Rich Text mode with Mode Toggle
2126
+ * <RichTextInput value={content} onChange={setContent} />
2127
+ *
2128
+ * // Direct Markdown output mode for backend integration
2129
+ * <RichTextInput outputFormat="markdown" onChange={setMarkdown} />
2130
+ * ```
2131
+ */
2132
+ export declare function RichTextInput({ value, defaultValue, onChange, onMarkdownChange, onHtmlChange, outputFormat, defaultMode, mode: controlledMode, onModeChange, showModeToggle, placeholder, label, helperText, errorMessage, isInvalid, disabled, colorScheme, minHeight, maxHeight, maxLength, showCharCount, toolbarOptions, className, }: RichTextInputProps): JSX_2.Element;
2133
+
2134
+ export declare namespace RichTextInput {
2135
+ var displayName: string;
2136
+ }
2137
+
2138
+ export declare type RichTextInputFormat = 'html' | 'markdown';
2139
+
2140
+ export declare type RichTextInputMode = 'wysiwyg' | 'markdown';
2141
+
2142
+ export declare interface RichTextInputProps {
2143
+ /** Content string (HTML or Markdown depending on outputFormat) */
2144
+ value?: string;
2145
+ /** Default content string (uncontrolled) */
2146
+ defaultValue?: string;
2147
+ /** Callback on content change — receives formatted string according to outputFormat */
2148
+ onChange?: (value: string) => void;
2149
+ /** Explicit callback receiving Markdown formatted string */
2150
+ onMarkdownChange?: (markdown: string) => void;
2151
+ /** Explicit callback receiving HTML formatted string */
2152
+ onHtmlChange?: (html: string) => void;
2153
+ /** Output format passed to onChange ('html' | 'markdown', default: 'html') */
2154
+ outputFormat?: RichTextInputFormat;
2155
+ /** Initial editor composition mode ('wysiwyg' | 'markdown', default: 'wysiwyg') */
2156
+ defaultMode?: RichTextInputMode;
2157
+ /** Controlled editor mode ('wysiwyg' | 'markdown') */
2158
+ mode?: RichTextInputMode;
2159
+ /** Callback when editor mode toggles */
2160
+ onModeChange?: (mode: RichTextInputMode) => void;
2161
+ /** Show the mode toggle switch in the toolbar (default: true) */
2162
+ showModeToggle?: boolean;
2163
+ /** Placeholder text when editor is empty */
2164
+ placeholder?: string;
2165
+ /** Label above the editor */
2166
+ label?: string;
2167
+ /** Helper text below the editor */
2168
+ helperText?: string;
2169
+ /** Error message displayed when invalid */
2170
+ errorMessage?: string;
2171
+ /** Show error/invalid state */
2172
+ isInvalid?: boolean;
2173
+ /** Disabled state (no editing) */
2174
+ disabled?: boolean;
2175
+ /** Brand color scheme */
2176
+ colorScheme?: 'blue' | 'purple';
2177
+ /** Min height of the editor body */
2178
+ minHeight?: string;
2179
+ /** Max height of the editor body — editor scrolls when content exceeds this */
2180
+ maxHeight?: string;
2181
+ /** Maximum character count allowed */
2182
+ maxLength?: number;
2183
+ /** Show character counter in footer */
2184
+ showCharCount?: boolean;
2185
+ /** Customize visible toolbar controls */
2186
+ toolbarOptions?: ToolbarOptions;
2187
+ /** Additional CSS class on the wrapper */
2188
+ className?: string;
2189
+ }
2190
+
2074
2191
  export declare const SearchInput: default_2.ForwardRefExoticComponent<SearchInputProps & default_2.RefAttributes<HTMLInputElement>>;
2075
2192
 
2076
2193
  /**
@@ -2113,8 +2230,19 @@ export declare interface SectionHeaderProps extends BoxProps {
2113
2230
 
2114
2231
  /**
2115
2232
  * MedixDeck Select
2233
+ *
2234
+ * Supports both single selection and multi-selection with custom popover dropdown options.
2235
+ *
2236
+ * @example
2237
+ * ```tsx
2238
+ * // Single select
2239
+ * <Select options={[{ value: '1', label: 'Option 1' }]} value={val} onChange={setVal} />
2240
+ *
2241
+ * // Multi select with chips and search
2242
+ * <Select multiple value={selectedArray} onChange={setSelectedArray} options={options} />
2243
+ * ```
2116
2244
  */
2117
- export declare const Select: default_2.ForwardRefExoticComponent<SelectProps & default_2.RefAttributes<HTMLSelectElement>>;
2245
+ export declare function Select(props: SelectProps): JSX_2.Element;
2118
2246
 
2119
2247
  export declare interface SelectOption {
2120
2248
  value: string;
@@ -2122,24 +2250,28 @@ export declare interface SelectOption {
2122
2250
  disabled?: boolean;
2123
2251
  }
2124
2252
 
2125
- export declare interface SelectProps extends Omit<NativeSelectRootProps, 'size' | 'value' | 'defaultValue' | 'onChange' | 'name' | 'id' | 'disabled' | 'onBlur' | 'onFocus' | 'multiple'> {
2253
+ export declare interface SelectProps {
2126
2254
  options?: SelectOption[];
2127
2255
  placeholder?: string;
2128
2256
  isInvalid?: boolean;
2129
2257
  errorMessage?: string;
2130
2258
  size?: 'sm' | 'md' | 'lg';
2259
+ /** Brand color scheme ('blue' | 'purple') */
2260
+ colorScheme?: 'blue' | 'purple';
2131
2261
  children?: default_2.ReactNode;
2132
2262
  /** Optional icon to render on the left side of the select field */
2133
2263
  icon?: default_2.ReactNode;
2134
2264
  value?: string | string[];
2135
2265
  defaultValue?: string | string[];
2136
- onChange?: (value: string | string[]) => void;
2266
+ onChange?: (value: any) => void;
2137
2267
  name?: string;
2138
2268
  id?: string;
2139
2269
  disabled?: boolean;
2140
2270
  multiple?: boolean;
2141
- onBlur?: default_2.FocusEventHandler<HTMLSelectElement>;
2142
- onFocus?: default_2.FocusEventHandler<HTMLSelectElement>;
2271
+ onBlur?: default_2.FocusEventHandler<HTMLDivElement | HTMLInputElement>;
2272
+ onFocus?: default_2.FocusEventHandler<HTMLDivElement | HTMLInputElement>;
2273
+ style?: default_2.CSSProperties;
2274
+ className?: string;
2143
2275
  }
2144
2276
 
2145
2277
  /**
@@ -2194,10 +2326,10 @@ export declare const shadowTokens: {
2194
2326
  readonly value: "0 20px 25px -5px rgba(0, 0, 0, 0.10), 0 8px 10px -6px rgba(0, 0, 0, 0.10)";
2195
2327
  };
2196
2328
  readonly 'card-dark': {
2197
- readonly value: "0 4px 24px 0 rgba(0, 0, 0, 0.40)";
2329
+ readonly value: "none";
2198
2330
  };
2199
2331
  readonly 'card-light': {
2200
- readonly value: "0 2px 12px 0 rgba(17, 25, 38, 0.08)";
2332
+ readonly value: "none";
2201
2333
  };
2202
2334
  readonly none: {
2203
2335
  readonly value: "none";
@@ -2240,7 +2372,7 @@ export declare interface SkeletonTextProps extends BoxProps {
2240
2372
  }
2241
2373
 
2242
2374
  export declare interface SocialLink {
2243
- platform: 'facebook' | 'instagram' | 'linkedin' | 'twitter' | 'youtube' | 'threads' | 'whatsapp';
2375
+ platform: 'facebook' | 'instagram' | 'linkedin' | 'twitter' | 'youtube' | 'threads' | 'whatsapp' | 'tiktok';
2244
2376
  href: string;
2245
2377
  }
2246
2378
 
@@ -2464,6 +2596,10 @@ export declare const Tag: default_2.ForwardRefExoticComponent<TagProps & default
2464
2596
 
2465
2597
  export declare type TagColorScheme = 'blue' | 'purple' | 'green' | 'gray' | 'red' | 'amber';
2466
2598
 
2599
+ export declare const TagInput: typeof TagsInput;
2600
+
2601
+ export declare type TagInputProps = TagsInputProps;
2602
+
2467
2603
  export declare interface TagProps extends BoxProps {
2468
2604
  variant?: TagVariant;
2469
2605
  colorScheme?: TagColorScheme;
@@ -2472,6 +2608,65 @@ export declare interface TagProps extends BoxProps {
2472
2608
  children: default_2.ReactNode;
2473
2609
  }
2474
2610
 
2611
+ /**
2612
+ * MedixDeck TagsInput / TagInput
2613
+ *
2614
+ * Interactive input component for tags, keywords, allergies, and multi-selection pills.
2615
+ * Fully aligned with MedixDeck brand design system, light/dark mode, and colorScheme options.
2616
+ *
2617
+ * @example
2618
+ * ```tsx
2619
+ * <TagsInput
2620
+ * label="Known Allergies"
2621
+ * value={allergies}
2622
+ * onChange={setAllergies}
2623
+ * placeholder="Type allergy and press Enter..."
2624
+ * colorScheme="blue"
2625
+ * />
2626
+ * ```
2627
+ */
2628
+ 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;
2629
+
2630
+ export declare interface TagsInputProps {
2631
+ /** Array of tag strings */
2632
+ value: string[];
2633
+ /** Callback when tag list changes */
2634
+ onChange: (tags: string[]) => void;
2635
+ /** Input placeholder text */
2636
+ placeholder?: string;
2637
+ /** Field label */
2638
+ label?: string;
2639
+ /** Helper text displayed below input */
2640
+ helperText?: string;
2641
+ /** Error message displayed below input */
2642
+ errorMessage?: string;
2643
+ /** Whether the field is invalid */
2644
+ isInvalid?: boolean;
2645
+ /** Brand color theme ('blue' | 'purple') */
2646
+ colorScheme?: 'blue' | 'purple';
2647
+ /** Field size ('sm' | 'md' | 'lg') */
2648
+ size?: 'sm' | 'md' | 'lg';
2649
+ /** Disabled state */
2650
+ isDisabled?: boolean;
2651
+ /** Read-only state */
2652
+ isReadOnly?: boolean;
2653
+ /** Maximum number of tags allowed */
2654
+ maxTags?: number;
2655
+ /** Allow duplicate tags (default: false) */
2656
+ allowDuplicates?: boolean;
2657
+ /** Add tag when input loses focus (default: false) */
2658
+ addOnBlur?: boolean;
2659
+ /** Custom delimiter character to trigger tag addition (e.g. ',') */
2660
+ delimiter?: string;
2661
+ /** HTML input id */
2662
+ id?: string;
2663
+ /** HTML input name */
2664
+ name?: string;
2665
+ /** Extra container styles */
2666
+ style?: default_2.CSSProperties;
2667
+ className?: string;
2668
+ }
2669
+
2475
2670
  export declare type TagVariant = 'solid' | 'subtle' | 'outline';
2476
2671
 
2477
2672
  /**
@@ -2502,6 +2697,8 @@ export { Text_2 as Text }
2502
2697
  export declare const Textarea: default_2.ForwardRefExoticComponent<TextareaProps & default_2.RefAttributes<HTMLTextAreaElement>>;
2503
2698
 
2504
2699
  export declare interface TextareaProps extends TextareaProps_2 {
2700
+ /** Brand color scheme ('blue' | 'purple') */
2701
+ colorScheme?: 'blue' | 'purple';
2505
2702
  /** Error state */
2506
2703
  isInvalid?: boolean;
2507
2704
  /** Error message */
@@ -2639,6 +2836,31 @@ export declare type ToastOptions = {
2639
2836
 
2640
2837
  export declare type ToastType = AlertStatus;
2641
2838
 
2839
+ export declare interface ToolbarOptions {
2840
+ /** Show Bold button (default: true) */
2841
+ bold?: boolean;
2842
+ /** Show Italic button (default: true) */
2843
+ italic?: boolean;
2844
+ /** Show Underline button (default: true) */
2845
+ underline?: boolean;
2846
+ /** Show Strikethrough button (default: true) */
2847
+ strikethrough?: boolean;
2848
+ /** Show Headings dropdown (default: true) */
2849
+ headings?: boolean;
2850
+ /** Show Bullet List button (default: true) */
2851
+ bulletList?: boolean;
2852
+ /** Show Ordered List button (default: true) */
2853
+ orderedList?: boolean;
2854
+ /** Show Blockquote button (default: true) */
2855
+ quote?: boolean;
2856
+ /** Show Link button (default: true) */
2857
+ link?: boolean;
2858
+ /** Show Text Align controls (default: true) */
2859
+ textAlign?: boolean;
2860
+ /** Show Clear Formatting button (default: true) */
2861
+ clearFormat?: boolean;
2862
+ }
2863
+
2642
2864
  /**
2643
2865
  * MedixDeck Tooltip
2644
2866
  *