@stackone/malachite 2.62.1 → 2.64.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.
Files changed (42) hide show
  1. package/COMPONENTS.md +3 -0
  2. package/dist/assets/icons/caret_double_left.svg.js +6 -0
  3. package/dist/assets/icons/caret_double_left.svg.js.map +1 -0
  4. package/dist/assets/icons/caret_double_right.svg.js +6 -0
  5. package/dist/assets/icons/caret_double_right.svg.js.map +1 -0
  6. package/dist/components/Chat/ChatThread.js +1 -2
  7. package/dist/components/Chat/ChatThread.js.map +1 -1
  8. package/dist/components/CloseButton.js +76 -0
  9. package/dist/components/CloseButton.js.map +1 -0
  10. package/dist/components/CustomIcons/CaretDoubleLeftIcon.js +21 -0
  11. package/dist/components/CustomIcons/CaretDoubleLeftIcon.js.map +1 -0
  12. package/dist/components/CustomIcons/CaretDoubleRightIcon.js +21 -0
  13. package/dist/components/CustomIcons/CaretDoubleRightIcon.js.map +1 -0
  14. package/dist/components/CustomIcons/index.js +306 -300
  15. package/dist/components/CustomIcons/index.js.map +1 -1
  16. package/dist/components/DatePicker.js +36 -0
  17. package/dist/components/DatePicker.js.map +1 -0
  18. package/dist/components/DatePickerField.js +246 -0
  19. package/dist/components/DatePickerField.js.map +1 -0
  20. package/dist/components/DatePickerPanel.js +399 -0
  21. package/dist/components/DatePickerPanel.js.map +1 -0
  22. package/dist/components/DatePickerTrigger.js +68 -0
  23. package/dist/components/DatePickerTrigger.js.map +1 -0
  24. package/dist/components/DateRangePicker.js +43 -0
  25. package/dist/components/DateRangePicker.js.map +1 -0
  26. package/dist/components/SplitScreenLayout.js +21 -38
  27. package/dist/components/SplitScreenLayout.js.map +1 -1
  28. package/dist/components/dateMath.js +153 -0
  29. package/dist/components/dateMath.js.map +1 -0
  30. package/dist/components/datePickerStyles.js +46 -0
  31. package/dist/components/datePickerStyles.js.map +1 -0
  32. package/dist/components/focusRing.js +4 -3
  33. package/dist/components/focusRing.js.map +1 -1
  34. package/dist/components/useDatePickerDraft.js +126 -0
  35. package/dist/components/useDatePickerDraft.js.map +1 -0
  36. package/dist/index.d.ts +262 -101
  37. package/dist/index.js +433 -423
  38. package/dist/index.js.map +1 -1
  39. package/dist/tailwind.css.js +1 -1
  40. package/dist/theme.js +406 -359
  41. package/dist/theme.js.map +1 -1
  42. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -485,17 +485,21 @@ export declare interface CardStripProps {
485
485
  /** Palette for the strip's rule. Pass the tone of whatever card is selected. */
486
486
  export declare type CardStripTone = 'profile' | 'library' | 'editing';
487
487
 
488
- export declare const CaretDownIcon: React.FC<IconProps_16>;
488
+ export declare const CaretDoubleLeftIcon: React.FC<IconProps_16>;
489
489
 
490
- export declare const CaretLeftIcon: React.FC<IconProps_17>;
490
+ export declare const CaretDoubleRightIcon: React.FC<IconProps_17>;
491
491
 
492
- export declare const CaretRightIcon: React.FC<IconProps_18>;
492
+ export declare const CaretDownIcon: React.FC<IconProps_18>;
493
493
 
494
- export declare const CaretUpIcon: React.FC<IconProps_19>;
494
+ export declare const CaretLeftIcon: React.FC<IconProps_19>;
495
+
496
+ export declare const CaretRightIcon: React.FC<IconProps_20>;
497
+
498
+ export declare const CaretUpIcon: React.FC<IconProps_21>;
495
499
 
496
500
  export declare type ChangeKind = 'changed' | 'added' | 'removed';
497
501
 
498
- export declare const ChangePasswordIcon: React.FC<IconProps_20>;
502
+ export declare const ChangePasswordIcon: React.FC<IconProps_22>;
499
503
 
500
504
  /**
501
505
  * Reviewing changes a machine made: one note per changed thing, a card for what it removed
@@ -891,13 +895,13 @@ export declare interface CheckboxProps {
891
895
  id?: string;
892
896
  }
893
897
 
894
- export declare const CheckCircleFilled: React.FC<IconProps_21>;
898
+ export declare const CheckCircleFilled: React.FC<IconProps_23>;
895
899
 
896
- export declare const CheckIcon: React.FC<IconProps_22>;
900
+ export declare const CheckIcon: React.FC<IconProps_24>;
897
901
 
898
- export declare const CheckmarkIcon: React.FC<IconProps_23>;
902
+ export declare const CheckmarkIcon: React.FC<IconProps_25>;
899
903
 
900
- export declare const ChevronsUpDownIcon: React.FC<IconProps_24>;
904
+ export declare const ChevronsUpDownIcon: React.FC<IconProps_26>;
901
905
 
902
906
  /**
903
907
  * Text clamped to `lines`, revealing the full text on hover / keyboard focus when
@@ -921,9 +925,31 @@ export declare interface ClampTextProps {
921
925
  className?: string;
922
926
  }
923
927
 
924
- export declare const ClearIcon: React.FC<IconProps_25>;
928
+ export declare const ClearIcon: React.FC<IconProps_27>;
929
+
930
+ /** The bare X that dismisses a screen or panel: no box at rest or on hover. */
931
+ export declare const CloseButton: default_2.ForwardRefExoticComponent<CloseButtonProps & default_2.RefAttributes<HTMLButtonElement>>;
932
+
933
+ export declare interface CloseButtonProps extends Omit<default_2.ButtonHTMLAttributes<HTMLButtonElement>, 'children' | 'className' | 'style' | 'color' | 'type' | 'disabled' | 'onClick' | 'aria-label' | 'aria-disabled' | 'aria-busy'> {
934
+ onClick?: default_2.MouseEventHandler<HTMLButtonElement>;
935
+ /** Accessible name. Defaults to "Close"; name what closes when there are several. */
936
+ 'aria-label'?: string;
937
+ 'aria-labelledby'?: string;
938
+ disabled?: boolean;
939
+ /** Shows a spinner in place of the X, sets `aria-busy` and ignores clicks. */
940
+ loading?: boolean;
941
+ /** `small` is a 24px target, `medium` a 32px one. The glyph is 12px in both. */
942
+ size?: CloseButtonSize;
943
+ surface?: CloseButtonSurface;
944
+ className?: string;
945
+ }
925
946
 
926
- export declare const CloseIcon: React.FC<IconProps_26>;
947
+ export declare type CloseButtonSize = 'small' | 'medium';
948
+
949
+ /** `inverse` is for a surface that stays dark in every theme, e.g. `SplitScreenLayout`'s panel. */
950
+ export declare type CloseButtonSurface = 'default' | 'inverse';
951
+
952
+ export declare const CloseIcon: React.FC<IconProps_28>;
927
953
 
928
954
  export declare const CodeBlock: default_2.FC<CodeBlockProps>;
929
955
 
@@ -976,7 +1002,7 @@ declare interface CodeBlockProps {
976
1002
  'aria-labelledby'?: string;
977
1003
  }
978
1004
 
979
- export declare const CodeIcon: React.FC<IconProps_27>;
1005
+ export declare const CodeIcon: React.FC<IconProps_29>;
980
1006
 
981
1007
  export declare interface CodeTextProps {
982
1008
  bold?: boolean;
@@ -1005,7 +1031,7 @@ export declare interface CollapsibleSectionProps {
1005
1031
  children: default_2.ReactNode;
1006
1032
  }
1007
1033
 
1008
- export declare const CommandKeyIcon: React.FC<IconProps_28>;
1034
+ export declare const CommandKeyIcon: React.FC<IconProps_30>;
1009
1035
 
1010
1036
  export declare const CommandPalette: CommandPaletteComponent;
1011
1037
 
@@ -1173,7 +1199,7 @@ export declare interface ConnectionHeaderProps {
1173
1199
  className?: string;
1174
1200
  }
1175
1201
 
1176
- export declare const ConnectorIcon: React.FC<IconProps_29>;
1202
+ export declare const ConnectorIcon: React.FC<IconProps_31>;
1177
1203
 
1178
1204
  /**
1179
1205
  * The text half of the 28/32/42 control ladder. Keys are control sizes, which deliberately do
@@ -1184,11 +1210,11 @@ declare type ControlSize = 'small' | 'medium' | 'large';
1184
1210
 
1185
1211
  declare type ControlWidth = string | number;
1186
1212
 
1187
- export declare const CopyIcon: React.FC<IconProps_30>;
1213
+ export declare const CopyIcon: React.FC<IconProps_32>;
1188
1214
 
1189
- export declare const CsvIcon: React.FC<IconProps_31>;
1215
+ export declare const CsvIcon: React.FC<IconProps_33>;
1190
1216
 
1191
- export declare const CustomFieldIcon: React.FC<IconProps_32>;
1217
+ export declare const CustomFieldIcon: React.FC<IconProps_34>;
1192
1218
 
1193
1219
  export declare const CustomIcons: {
1194
1220
  AccountIcon: FC<IconProps>;
@@ -1206,6 +1232,8 @@ export declare const CustomIcons: {
1206
1232
  BiDirectionalArrowsIcon: FC<IconProps>;
1207
1233
  BuildingIcon: FC<IconProps>;
1208
1234
  CardIcon: FC<IconProps>;
1235
+ CaretDoubleLeftIcon: FC<IconProps>;
1236
+ CaretDoubleRightIcon: FC<IconProps>;
1209
1237
  CaretDownIcon: FC<IconProps>;
1210
1238
  CaretLeftIcon: FC<IconProps>;
1211
1239
  CaretRightIcon: FC<IconProps>;
@@ -1311,9 +1339,114 @@ export declare const CustomIcons: {
1311
1339
 
1312
1340
  export declare const darkTheme: MalachiteTheme;
1313
1341
 
1314
- export declare const DashboardIcon: React.FC<IconProps_33>;
1342
+ export declare const DashboardIcon: React.FC<IconProps_35>;
1343
+
1344
+ declare const DATE_PICKER_TOKENS: readonly ["hoverBackground", "subtleHoverBackground", "outsideForeground", "selectedBackground", "selectedHoverBorder", "todayBorder", "todayHoverBorder", "rangeBackground", "pressedOpacity"];
1345
+
1346
+ export declare const DateIcon: React.FC<IconProps_36>;
1347
+
1348
+ /** A string without an offset (`2025-01-20`, `2025-01-20T10:00`) is read in the picker's
1349
+ * `timeZone`; one with `Z` or an offset names that instant. */
1350
+ export declare type DateInput = Date | string | number;
1351
+
1352
+ export declare type DateMinuteStep = 1 | 2 | 5 | 10 | 15 | 20 | 30;
1353
+
1354
+ export declare const DatePicker: default_2.FC<DatePickerProps>;
1355
+
1356
+ declare interface DatePickerBaseProps {
1357
+ name: FieldPath<FieldValues> | string;
1358
+ formControl?: Control<FieldValues, unknown>;
1359
+ label?: string;
1360
+ hint?: string;
1361
+ description?: string;
1362
+ tooltip?: string;
1363
+ helperText?: default_2.ReactNode;
1364
+ required?: boolean;
1365
+ requiredIndicator?: RequiredIndicator;
1366
+ placeholder?: string;
1367
+ /** `minute` and `second` add time columns and an Apply step. */
1368
+ precision?: DatePickerPrecision;
1369
+ minuteStep?: DateMinuteStep;
1370
+ /** `utc` shows the UTC calendar day and suffixes times with "UTC". */
1371
+ timeZone?: DatePickerTimeZone;
1372
+ weekStartsOn?: WeekStart;
1373
+ /** Earliest selectable instant. */
1374
+ min?: DateInput;
1375
+ /** Latest selectable instant. */
1376
+ max?: DateInput;
1377
+ /** Receives the start of each day in `timeZone`. */
1378
+ isDateDisabled?: (day: Date) => boolean;
1379
+ /** Clearing reports `null` to `onChange`. */
1380
+ clearable?: boolean;
1381
+ disabled?: boolean;
1382
+ loading?: boolean;
1383
+ error?: boolean;
1384
+ /** Paint only, never announced: convey `chosen` in the surrounding controls' ARIA. */
1385
+ tone?: DatePickerTone;
1386
+ tag?: DatePickerTag;
1387
+ size?: DatePickerSize;
1388
+ fullWidth?: boolean;
1389
+ width?: ControlWidth;
1390
+ /** Names the trigger from the light DOM, where `htmlFor` cannot reach into the shadow root. */
1391
+ id?: string;
1392
+ 'aria-label'?: string;
1393
+ 'aria-labelledby'?: string;
1394
+ }
1395
+
1396
+ export declare type DatePickerPrecision = 'day' | 'minute' | 'second';
1397
+
1398
+ export declare interface DatePickerProps extends DatePickerBaseProps {
1399
+ /** Controlled value. `null` is a controlled empty field; leave it out to stay uncontrolled. */
1400
+ value?: DateInput | null;
1401
+ defaultValue?: DateInput | null;
1402
+ onChange?: (value: Date | null) => void;
1403
+ /** Applies at once and closes the picker, with no Apply step. */
1404
+ presets?: DateSinglePreset[];
1405
+ }
1406
+
1407
+ export declare type DatePickerSize = 'small' | 'medium' | 'large';
1408
+
1409
+ export declare interface DatePickerTag {
1410
+ label: string;
1411
+ type?: 'default' | 'warning' | 'error';
1412
+ }
1413
+
1414
+ export declare type DatePickerTimeZone = 'local' | 'utc';
1415
+
1416
+ declare type DatePickerToken = (typeof DATE_PICKER_TOKENS)[number];
1417
+
1418
+ export declare type DatePickerTone = 'default' | 'chosen' | 'pending';
1419
+
1420
+ /** Pass a function for a relative preset, so it is measured when clicked. */
1421
+ export declare interface DatePreset<T> {
1422
+ label: string;
1423
+ value: T | (() => T);
1424
+ }
1425
+
1426
+ export declare interface DateRange {
1427
+ start: Date;
1428
+ end: Date;
1429
+ }
1430
+
1431
+ export declare interface DateRangeInput {
1432
+ start: DateInput;
1433
+ end: DateInput;
1434
+ }
1315
1435
 
1316
- export declare const DateIcon: React.FC<IconProps_34>;
1436
+ export declare const DateRangePicker: default_2.FC<DateRangePickerProps>;
1437
+
1438
+ export declare interface DateRangePickerProps extends DatePickerBaseProps {
1439
+ /** Controlled value. `null` is a controlled empty field; leave it out to stay uncontrolled. */
1440
+ value?: DateRangeInput | null;
1441
+ defaultValue?: DateRangeInput | null;
1442
+ onChange?: (value: DateRange | null) => void;
1443
+ /** Applies at once and closes the picker, with no Apply step. */
1444
+ presets?: DateRangePreset[];
1445
+ }
1446
+
1447
+ export declare type DateRangePreset = DatePreset<DateRangeInput>;
1448
+
1449
+ export declare type DateSinglePreset = DatePreset<DateInput>;
1317
1450
 
1318
1451
  export declare const defaultTheme: MalachiteTheme;
1319
1452
 
@@ -1326,9 +1459,9 @@ declare interface DefinitionRowProps {
1326
1459
  description: string;
1327
1460
  }
1328
1461
 
1329
- export declare const DisabledIcon: React.FC<IconProps_36>;
1462
+ export declare const DisabledIcon: React.FC<IconProps_38>;
1330
1463
 
1331
- export declare const DisableIcon: React.FC<IconProps_35>;
1464
+ export declare const DisableIcon: React.FC<IconProps_37>;
1332
1465
 
1333
1466
  /**
1334
1467
  * The expand/collapse triangle used by disclosure UI (Accordion, expandable rows).
@@ -1346,7 +1479,7 @@ export declare interface DisclosureArrowProps {
1346
1479
  className?: string;
1347
1480
  }
1348
1481
 
1349
- export declare const DismissIcon: React.FC<IconProps_37>;
1482
+ export declare const DismissIcon: React.FC<IconProps_39>;
1350
1483
 
1351
1484
  export declare const Divider: default_2.FC<DividerProps>;
1352
1485
 
@@ -1377,11 +1510,11 @@ export declare enum DividerVariant {
1377
1510
  Emphasis = "emphasis"
1378
1511
  }
1379
1512
 
1380
- export declare const DocIcon: React.FC<IconProps_38>;
1513
+ export declare const DocIcon: React.FC<IconProps_40>;
1381
1514
 
1382
- export declare const DoubleCheckIcon: React.FC<IconProps_39>;
1515
+ export declare const DoubleCheckIcon: React.FC<IconProps_41>;
1383
1516
 
1384
- export declare const DownloadIcon: React.FC<IconProps_40>;
1517
+ export declare const DownloadIcon: React.FC<IconProps_42>;
1385
1518
 
1386
1519
  export declare const Dropdown: ({ items, onItemSelected, defaultValue, value, disabled, error, tone, label, hint, rightSideContent, tooltip, name, required, requiredIndicator, loading, menuLoading, formControl, description, helperText, placeholder, search, showSubtitleInTrigger, subtitleLayout, clearable, size, fullWidth, width, minWidth, menuAlign, id, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, }: DropdownProps) => JSX_2.Element;
1387
1520
 
@@ -1477,7 +1610,7 @@ declare type DropdownTriggerModeProps = {
1477
1610
  showSubtitleInTrigger?: never;
1478
1611
  };
1479
1612
 
1480
- export declare const EditIcon: React.FC<IconProps_41>;
1613
+ export declare const EditIcon: React.FC<IconProps_43>;
1481
1614
 
1482
1615
  declare interface EllipsisTextProps {
1483
1616
  children: default_2.ReactNode;
@@ -1515,11 +1648,11 @@ export declare interface EmptyLayoutProps {
1515
1648
  style?: default_2.CSSProperties;
1516
1649
  }
1517
1650
 
1518
- export declare const EnableIcon: React.FC<IconProps_42>;
1651
+ export declare const EnableIcon: React.FC<IconProps_44>;
1519
1652
 
1520
- export declare const EnumIcon: React.FC<IconProps_43>;
1653
+ export declare const EnumIcon: React.FC<IconProps_45>;
1521
1654
 
1522
- export declare const ErrorCircleFilled: React.FC<IconProps_44>;
1655
+ export declare const ErrorCircleFilled: React.FC<IconProps_46>;
1523
1656
 
1524
1657
  /**
1525
1658
  * The space before the header: the arrow's own inset, its glyph and the gap after it.
@@ -1541,13 +1674,13 @@ declare const ExpandableRowControls: default_2.FC<{
1541
1674
  style?: default_2.CSSProperties;
1542
1675
  }>;
1543
1676
 
1544
- export declare const ExpandIcon: React.FC<IconProps_45>;
1677
+ export declare const ExpandIcon: React.FC<IconProps_47>;
1545
1678
 
1546
- export declare const ExternalLinkIcon: React.FC<IconProps_46>;
1679
+ export declare const ExternalLinkIcon: React.FC<IconProps_48>;
1547
1680
 
1548
- export declare const EyeClosedIcon: React.FC<IconProps_47>;
1681
+ export declare const EyeClosedIcon: React.FC<IconProps_49>;
1549
1682
 
1550
- export declare const EyeIcon: React.FC<IconProps_48>;
1683
+ export declare const EyeIcon: React.FC<IconProps_50>;
1551
1684
 
1552
1685
  /**
1553
1686
  * Something a form has to show but does not ask for — a computed list, a generated value —
@@ -1567,7 +1700,7 @@ export declare interface FieldBlockProps {
1567
1700
  style?: default_2.CSSProperties;
1568
1701
  }
1569
1702
 
1570
- export declare const FieldCoverageIcon: React.FC<IconProps_49>;
1703
+ export declare const FieldCoverageIcon: React.FC<IconProps_51>;
1571
1704
 
1572
1705
  export declare interface FieldErrorState {
1573
1706
  error: boolean;
@@ -1599,13 +1732,13 @@ export declare interface FieldGroupProps {
1599
1732
  style?: default_2.CSSProperties;
1600
1733
  }
1601
1734
 
1602
- export declare const FieldMappingIcon: React.FC<IconProps_50>;
1735
+ export declare const FieldMappingIcon: React.FC<IconProps_52>;
1603
1736
 
1604
- export declare const FilledCaretDownIcon: React.FC<IconProps_51>;
1737
+ export declare const FilledCaretDownIcon: React.FC<IconProps_53>;
1605
1738
 
1606
- export declare const FilledCaretRightIcon: React.FC<IconProps_52>;
1739
+ export declare const FilledCaretRightIcon: React.FC<IconProps_54>;
1607
1740
 
1608
- export declare const FilterIcon: React.FC<IconProps_53>;
1741
+ export declare const FilterIcon: React.FC<IconProps_55>;
1609
1742
 
1610
1743
  export declare const FilterSearch: default_2.FC<FilterSearchProps>;
1611
1744
 
@@ -1746,7 +1879,7 @@ export declare interface FooterNavProps {
1746
1879
  className?: string;
1747
1880
  }
1748
1881
 
1749
- export declare const ForbiddenIcon: React.FC<IconProps_54>;
1882
+ export declare const ForbiddenIcon: React.FC<IconProps_56>;
1750
1883
 
1751
1884
  export declare const Form: default_2.FC<FormProps>;
1752
1885
 
@@ -1792,7 +1925,7 @@ declare interface FormSectionTitleProps {
1792
1925
  style?: default_2.CSSProperties;
1793
1926
  }
1794
1927
 
1795
- export declare const ForwardArrowIcon: React.FC<IconProps_55>;
1928
+ export declare const ForwardArrowIcon: React.FC<IconProps_57>;
1796
1929
 
1797
1930
  /**
1798
1931
  * Get current theme values from CSS custom properties
@@ -1804,7 +1937,7 @@ export declare function getCurrentTheme(): MalachiteTheme;
1804
1937
  */
1805
1938
  export declare function getCurrentThemeMode(): 'light' | 'dark';
1806
1939
 
1807
- export declare const GlobeIcon: React.FC<IconProps_56>;
1940
+ export declare const GlobeIcon: React.FC<IconProps_58>;
1808
1941
 
1809
1942
  export declare const IconBadge: default_2.FC<IconBadgeProps>;
1810
1943
 
@@ -1971,6 +2104,20 @@ declare interface IconProps_116 {
1971
2104
  onClick?: () => void;
1972
2105
  }
1973
2106
 
2107
+ declare interface IconProps_117 {
2108
+ size?: number | string;
2109
+ className?: string;
2110
+ style?: CSSProperties;
2111
+ onClick?: () => void;
2112
+ }
2113
+
2114
+ declare interface IconProps_118 {
2115
+ size?: number | string;
2116
+ className?: string;
2117
+ style?: CSSProperties;
2118
+ onClick?: () => void;
2119
+ }
2120
+
1974
2121
  declare interface IconProps_12 {
1975
2122
  size?: number | string;
1976
2123
  className?: string;
@@ -2643,13 +2790,13 @@ declare interface IconProps_99 {
2643
2790
  onClick?: () => void;
2644
2791
  }
2645
2792
 
2646
- export declare const InboxIcon: React.FC<IconProps_57>;
2793
+ export declare const InboxIcon: React.FC<IconProps_59>;
2647
2794
 
2648
- export declare const InfoCircleFilled: React.FC<IconProps_58>;
2795
+ export declare const InfoCircleFilled: React.FC<IconProps_60>;
2649
2796
 
2650
- export declare const InfoFilledIcon: React.FC<IconProps_59>;
2797
+ export declare const InfoFilledIcon: React.FC<IconProps_61>;
2651
2798
 
2652
- export declare const InfoIcon: React.FC<IconProps_60>;
2799
+ export declare const InfoIcon: React.FC<IconProps_62>;
2653
2800
 
2654
2801
  /**
2655
2802
  * Initialize the theme system - should be called on app startup
@@ -2727,7 +2874,7 @@ declare type InputType = 'text' | 'password' | 'number' | 'email' | 'tel' | 'url
2727
2874
 
2728
2875
  declare type InputVariant = 'default' | 'ghost';
2729
2876
 
2730
- export declare const IntegrationsIcon: React.FC<IconProps_61>;
2877
+ export declare const IntegrationsIcon: React.FC<IconProps_63>;
2731
2878
 
2732
2879
  export declare const Keycap: default_2.FC<KeycapProps>;
2733
2880
 
@@ -2744,7 +2891,7 @@ export declare interface KeycapProps {
2744
2891
 
2745
2892
  export declare type KeycapSize = 'small' | 'medium';
2746
2893
 
2747
- export declare const KeyIcon: React.FC<IconProps_62>;
2894
+ export declare const KeyIcon: React.FC<IconProps_64>;
2748
2895
 
2749
2896
  export declare const KeyValueList: default_2.FC<KeyValueListProps> & {
2750
2897
  Row: typeof Row;
@@ -2776,13 +2923,13 @@ export declare interface KeyValueListRowProps {
2776
2923
 
2777
2924
  export declare type KeyValueListSize = 'small' | 'medium';
2778
2925
 
2779
- export declare const LayoutIcon: React.FC<IconProps_63>;
2926
+ export declare const LayoutIcon: React.FC<IconProps_65>;
2780
2927
 
2781
- export declare const LibraryIcon: React.FC<IconProps_64>;
2928
+ export declare const LibraryIcon: React.FC<IconProps_66>;
2782
2929
 
2783
2930
  export declare const Link: default_2.FC<LinkProps>;
2784
2931
 
2785
- export declare const LinkIcon: React.FC<IconProps_65>;
2932
+ export declare const LinkIcon: React.FC<IconProps_67>;
2786
2933
 
2787
2934
  export declare interface LinkProps {
2788
2935
  href: string;
@@ -2808,7 +2955,7 @@ declare interface LinkProps_2 {
2808
2955
  fontSize?: 'sm' | 'base';
2809
2956
  }
2810
2957
 
2811
- export declare const ListChecksIcon: React.FC<IconProps_66>;
2958
+ export declare const ListChecksIcon: React.FC<IconProps_68>;
2812
2959
 
2813
2960
  export declare const LoadingBar: default_2.FC<LoadingBarProps>;
2814
2961
 
@@ -2836,9 +2983,9 @@ export declare type LoadingBarSize = 'small' | 'medium' | 'large';
2836
2983
 
2837
2984
  export declare type LoadingBarVariant = 'default' | 'warning' | 'error';
2838
2985
 
2839
- export declare const LogsIcon: React.FC<IconProps_67>;
2986
+ export declare const LogsIcon: React.FC<IconProps_69>;
2840
2987
 
2841
- export declare const MagicWandIcon: React.FC<IconProps_68>;
2988
+ export declare const MagicWandIcon: React.FC<IconProps_70>;
2842
2989
 
2843
2990
  /**
2844
2991
  * MalachiteContext provides a Shadow DOM context with theme setup for Malachite components.
@@ -2999,6 +3146,10 @@ export declare interface MalachiteTheme {
2999
3146
  border: string;
3000
3147
  backgroundGlass: string;
3001
3148
  };
3149
+ /** Overrides for DatePicker / DateRangePicker's derived states. Override-only: nothing
3150
+ * is emitted until a consumer sets a key, so each state otherwise derives from `text`
3151
+ * and `accent` wherever those resolve, subtree overrides included. */
3152
+ datePicker?: Partial<Record<DatePickerToken, string>>;
3002
3153
  control: {
3003
3154
  borderHover: string;
3004
3155
  };
@@ -3129,6 +3280,12 @@ export declare interface MalachiteTheme {
3129
3280
  divider: string;
3130
3281
  shadow: string;
3131
3282
  };
3283
+ /** `CloseButton surface="inverse"`: the X on a panel that is dark in every theme. */
3284
+ closeButton: {
3285
+ inverseForeground: string;
3286
+ inverseHoverForeground: string;
3287
+ inverseDisabledForeground: string;
3288
+ };
3132
3289
  dropdown: {
3133
3290
  border: string;
3134
3291
  borderActive: string;
@@ -3317,9 +3474,9 @@ export declare interface MalachiteTheme {
3317
3474
  };
3318
3475
  }
3319
3476
 
3320
- export declare const ManageTeamIcon: React.FC<IconProps_69>;
3477
+ export declare const ManageTeamIcon: React.FC<IconProps_71>;
3321
3478
 
3322
- export declare const ManualWebhookIcon: React.FC<IconProps_70>;
3479
+ export declare const ManualWebhookIcon: React.FC<IconProps_72>;
3323
3480
 
3324
3481
  /** `inert` draws links without an anchor, for markdown inside a <button>. */
3325
3482
  export declare type MarkdownLinks = 'interactive' | 'inert';
@@ -3340,15 +3497,15 @@ export declare interface MarkdownProps {
3340
3497
  /** `inline`: one line of inline syntax, with no autolinked emails or URLs. */
3341
3498
  export declare type MarkdownVariant = 'block' | 'flow' | 'inline';
3342
3499
 
3343
- export declare const MarkReadIcon: React.FC<IconProps_71>;
3500
+ export declare const MarkReadIcon: React.FC<IconProps_73>;
3344
3501
 
3345
- export declare const MarkUnreadIcon: React.FC<IconProps_72>;
3502
+ export declare const MarkUnreadIcon: React.FC<IconProps_74>;
3346
3503
 
3347
- export declare const MembersIcon: React.FC<IconProps_73>;
3504
+ export declare const MembersIcon: React.FC<IconProps_75>;
3348
3505
 
3349
3506
  export declare const Modal: default_2.FC<ModalProps>;
3350
3507
 
3351
- export declare const ModalIcon: React.FC<IconProps_74>;
3508
+ export declare const ModalIcon: React.FC<IconProps_76>;
3352
3509
 
3353
3510
  export declare interface ModalProps {
3354
3511
  open: boolean;
@@ -3412,9 +3569,9 @@ export declare type ModalSize = 'small' | 'medium' | 'large';
3412
3569
 
3413
3570
  export declare type ModalTrayTone = 'neutral' | 'warning' | 'error' | 'success';
3414
3571
 
3415
- export declare const MoreHorizontalIcon: React.FC<IconProps_75>;
3572
+ export declare const MoreHorizontalIcon: React.FC<IconProps_77>;
3416
3573
 
3417
- export declare const MoreVerticalIcon: React.FC<IconProps_76>;
3574
+ export declare const MoreVerticalIcon: React.FC<IconProps_78>;
3418
3575
 
3419
3576
  export declare const MultiSelect: default_2.FC<MultiSelectProps>;
3420
3577
 
@@ -3506,9 +3663,9 @@ export declare type MultiSelectSize = 'small' | 'medium' | 'large';
3506
3663
 
3507
3664
  declare type NativeProps = Omit<default_2.HTMLAttributes<HTMLElement>, 'children' | 'className' | 'style' | 'color' | 'title'>;
3508
3665
 
3509
- export declare const NavbarCollapseIcon: React.FC<IconProps_77>;
3666
+ export declare const NavbarCollapseIcon: React.FC<IconProps_79>;
3510
3667
 
3511
- export declare const NavbarExpandIcon: React.FC<IconProps_78>;
3668
+ export declare const NavbarExpandIcon: React.FC<IconProps_80>;
3512
3669
 
3513
3670
  export declare const NavItem: default_2.ForwardRefExoticComponent<NavItemProps & default_2.RefAttributes<HTMLElement>>;
3514
3671
 
@@ -3550,7 +3707,7 @@ export declare interface NavItemLinkProps extends NavItemBaseProps {
3550
3707
 
3551
3708
  export declare type NavItemProps = NavItemLinkProps | NavItemAsChildProps;
3552
3709
 
3553
- export declare const NotFoundIcon: React.FC<IconProps_79>;
3710
+ export declare const NotFoundIcon: React.FC<IconProps_81>;
3554
3711
 
3555
3712
  export declare const NumberTag: default_2.FC<NumberTagProps>;
3556
3713
 
@@ -3565,7 +3722,7 @@ export declare interface NumberTagProps {
3565
3722
  className?: string;
3566
3723
  }
3567
3724
 
3568
- export declare const OrganizationIcon: React.FC<IconProps_80>;
3725
+ export declare const OrganizationIcon: React.FC<IconProps_82>;
3569
3726
 
3570
3727
  export declare const OverflowRow: default_2.FC<OverflowRowProps>;
3571
3728
 
@@ -3658,6 +3815,7 @@ export declare interface PartialMalachiteTheme {
3658
3815
  tooltip?: Partial<MalachiteTheme['colors']['tooltip']>;
3659
3816
  primary?: Partial<MalachiteTheme['colors']['primary']>;
3660
3817
  accent?: Partial<NonNullable<MalachiteTheme['colors']['accent']>>;
3818
+ datePicker?: MalachiteTheme['colors']['datePicker'];
3661
3819
  control?: Partial<MalachiteTheme['colors']['control']>;
3662
3820
  outline?: Partial<MalachiteTheme['colors']['outline']>;
3663
3821
  secondary?: Partial<MalachiteTheme['colors']['secondary']>;
@@ -3673,6 +3831,7 @@ export declare interface PartialMalachiteTheme {
3673
3831
  cardStrip?: Partial<MalachiteTheme['colors']['cardStrip']>;
3674
3832
  selectionBar?: Partial<MalachiteTheme['colors']['selectionBar']>;
3675
3833
  inlineConfirm?: Partial<MalachiteTheme['colors']['inlineConfirm']>;
3834
+ closeButton?: Partial<MalachiteTheme['colors']['closeButton']>;
3676
3835
  dropdown?: Partial<MalachiteTheme['colors']['dropdown']>;
3677
3836
  tag?: {
3678
3837
  [K in keyof MalachiteTheme['colors']['tag']]?: Partial<MalachiteTheme['colors']['tag'][K]>;
@@ -3739,11 +3898,11 @@ declare type PillButtonTone = 'default' | 'assistant';
3739
3898
 
3740
3899
  declare type PillButtonVariant = 'default' | 'inverted';
3741
3900
 
3742
- export declare const PinIcon: React.FC<IconProps_81>;
3901
+ export declare const PinIcon: React.FC<IconProps_83>;
3743
3902
 
3744
- export declare const PlaygroundIcon: React.FC<IconProps_82>;
3903
+ export declare const PlaygroundIcon: React.FC<IconProps_84>;
3745
3904
 
3746
- export declare const PlusIcon: React.FC<IconProps_83>;
3905
+ export declare const PlusIcon: React.FC<IconProps_85>;
3747
3906
 
3748
3907
  export declare const Popover: default_2.FC<PopoverProps> & {
3749
3908
  Header: default_2.FC< PopoverHeaderProps>;
@@ -3804,7 +3963,7 @@ export declare type PopoverPlacement = FloatingPlacement;
3804
3963
 
3805
3964
  export declare type PopoverProps = PopoverBaseProps & PopoverName;
3806
3965
 
3807
- export declare const PreviewIcon: React.FC<IconProps_84>;
3966
+ export declare const PreviewIcon: React.FC<IconProps_86>;
3808
3967
 
3809
3968
  /** A translucent rounded card that groups {@link PreviewTreeRow}s into a tree preview. */
3810
3969
  export declare const PreviewTree: default_2.FC<PreviewTreeProps>;
@@ -3825,7 +3984,7 @@ declare interface PreviewTreeRowProps {
3825
3984
  expanded?: boolean;
3826
3985
  }
3827
3986
 
3828
- export declare const ProgrammaticWebhookIcon: React.FC<IconProps_85>;
3987
+ export declare const ProgrammaticWebhookIcon: React.FC<IconProps_87>;
3829
3988
 
3830
3989
  export declare const Progress: default_2.FC<ProgressProps>;
3831
3990
 
@@ -3876,7 +4035,7 @@ declare interface ProgressValueProps extends ProgressCommonProps {
3876
4035
  max?: never;
3877
4036
  }
3878
4037
 
3879
- export declare const PulseIcon: React.FC<IconProps_86>;
4038
+ export declare const PulseIcon: React.FC<IconProps_88>;
3880
4039
 
3881
4040
  export declare const QueryInput: default_2.FC<QueryInputProps>;
3882
4041
 
@@ -3953,7 +4112,7 @@ export declare interface RadioProps {
3953
4112
  id?: string;
3954
4113
  }
3955
4114
 
3956
- export declare const RefreshIcon: React.FC<IconProps_87>;
4115
+ export declare const RefreshIcon: React.FC<IconProps_89>;
3957
4116
 
3958
4117
  export declare interface RegularLayoutProps {
3959
4118
  breadcrumbLinks?: BreadcrumbLink[];
@@ -3985,9 +4144,9 @@ export declare interface RegularLayoutProps {
3985
4144
  style?: default_2.CSSProperties;
3986
4145
  }
3987
4146
 
3988
- export declare const RejectIcon: React.FC<IconProps_88>;
4147
+ export declare const RejectIcon: React.FC<IconProps_90>;
3989
4148
 
3990
- export declare const ReloadIcon: React.FC<IconProps_89>;
4149
+ export declare const ReloadIcon: React.FC<IconProps_91>;
3991
4150
 
3992
4151
  /**
3993
4152
  * Renders an in-app link through the app's own link component, spreading every field onto it:
@@ -4002,9 +4161,9 @@ export declare type RenderLink = (props: {
4002
4161
  'aria-label'?: string;
4003
4162
  }) => default_2.ReactNode;
4004
4163
 
4005
- export declare const ReplyIcon: React.FC<IconProps_90>;
4164
+ export declare const ReplyIcon: React.FC<IconProps_92>;
4006
4165
 
4007
- export declare const RequiredFieldIndicatorIcon: React.FC<IconProps_91>;
4166
+ export declare const RequiredFieldIndicatorIcon: React.FC<IconProps_93>;
4008
4167
 
4009
4168
  export declare type RequiredIndicator = 'optional-suffix' | 'asterisk' | 'none';
4010
4169
 
@@ -4031,7 +4190,7 @@ export declare type RowVariant = 'success' | 'warning' | 'error' | 'info';
4031
4190
  /** Forwards a ref to the input, so a consumer can focus the field. */
4032
4191
  export declare const Search: default_2.ForwardRefExoticComponent<SearchProps & default_2.RefAttributes<HTMLInputElement>>;
4033
4192
 
4034
- export declare const SearchIcon: React.FC<IconProps_92>;
4193
+ export declare const SearchIcon: React.FC<IconProps_94>;
4035
4194
 
4036
4195
  export declare interface SearchProps {
4037
4196
  value: string;
@@ -4087,7 +4246,7 @@ declare interface SectionTitleProps {
4087
4246
  style?: default_2.CSSProperties;
4088
4247
  }
4089
4248
 
4090
- export declare const SecurityIcon: React.FC<IconProps_93>;
4249
+ export declare const SecurityIcon: React.FC<IconProps_95>;
4091
4250
 
4092
4251
  /**
4093
4252
  * A rounded track of mutually-exclusive options — the segmented "one of these" control.
@@ -4257,7 +4416,7 @@ export declare interface SelectionBarProps {
4257
4416
  className?: string;
4258
4417
  }
4259
4418
 
4260
- export declare const SendIcon: React.FC<IconProps_94>;
4419
+ export declare const SendIcon: React.FC<IconProps_96>;
4261
4420
 
4262
4421
  export declare const SettingRow: default_2.FC<SettingRowProps>;
4263
4422
 
@@ -4279,7 +4438,7 @@ export declare interface SettingRowProps {
4279
4438
  className?: string;
4280
4439
  }
4281
4440
 
4282
- export declare const SettingsIcon: React.FC<IconProps_95>;
4441
+ export declare const SettingsIcon: React.FC<IconProps_97>;
4283
4442
 
4284
4443
  /**
4285
4444
  * ShadowEscape renders its children OUTSIDE the Shadow DOM to avoid React hook issues.
@@ -4429,7 +4588,7 @@ export declare interface SidePanelProps {
4429
4588
  children: default_2.ReactNode;
4430
4589
  }
4431
4590
 
4432
- export declare const SignOutIcon: React.FC<IconProps_96>;
4591
+ export declare const SignOutIcon: React.FC<IconProps_98>;
4433
4592
 
4434
4593
  export declare const Skeleton: {
4435
4594
  Button: default_2.FC<SkeletonButtonProps>;
@@ -4463,11 +4622,11 @@ declare type SkeletonShape = 'default' | 'round' | 'circle' | 'square';
4463
4622
 
4464
4623
  declare type SkeletonSize = 'small' | 'default' | 'large';
4465
4624
 
4466
- export declare const SliderIcon: React.FC<IconProps_97>;
4625
+ export declare const SliderIcon: React.FC<IconProps_99>;
4467
4626
 
4468
- export declare const SortIcon: React.FC<IconProps_98>;
4627
+ export declare const SortIcon: React.FC<IconProps_100>;
4469
4628
 
4470
- export declare const SourceIcon: React.FC<IconProps_99>;
4629
+ export declare const SourceIcon: React.FC<IconProps_101>;
4471
4630
 
4472
4631
  export declare const Spacer: default_2.FC<SpacerProps>;
4473
4632
 
@@ -4491,7 +4650,7 @@ export declare enum SpacingSize {
4491
4650
  Large = "large"
4492
4651
  }
4493
4652
 
4494
- export declare const SparkleIcon: React.FC<IconProps_100>;
4653
+ export declare const SparkleIcon: React.FC<IconProps_102>;
4495
4654
 
4496
4655
  export declare const Spinner: default_2.FC<SpinnerProps>;
4497
4656
 
@@ -4511,7 +4670,7 @@ declare interface SplitScreenLayoutProps {
4511
4670
  footer?: default_2.ReactNode;
4512
4671
  }
4513
4672
 
4514
- export declare const StarIcon: React.FC<IconProps_101>;
4673
+ export declare const StarIcon: React.FC<IconProps_103>;
4515
4674
 
4516
4675
  export declare const StatBadge: default_2.FC<StatBadgeProps>;
4517
4676
 
@@ -4583,7 +4742,7 @@ export declare interface StatusBadgeProps {
4583
4742
 
4584
4743
  export declare type StatusBadgeType = 'success' | 'error' | 'warning' | 'info';
4585
4744
 
4586
- export declare const StepCurrentIcon: React.FC<IconProps_102>;
4745
+ export declare const StepCurrentIcon: React.FC<IconProps_104>;
4587
4746
 
4588
4747
  export declare const Stepper: default_2.FC<StepperProps>;
4589
4748
 
@@ -4624,7 +4783,7 @@ export declare interface StepTabsProps {
4624
4783
  className?: string;
4625
4784
  }
4626
4785
 
4627
- export declare const StepUpcomingIcon: React.FC<IconProps_103>;
4786
+ export declare const StepUpcomingIcon: React.FC<IconProps_105>;
4628
4787
 
4629
4788
  export declare type SubtitleLayout = 'inline' | 'stacked';
4630
4789
 
@@ -4763,7 +4922,7 @@ export declare interface SwatchProps {
4763
4922
  style?: default_2.CSSProperties;
4764
4923
  }
4765
4924
 
4766
- export declare const SyntheticWebhookIcon: React.FC<IconProps_104>;
4925
+ export declare const SyntheticWebhookIcon: React.FC<IconProps_106>;
4767
4926
 
4768
4927
  export declare interface TabItem {
4769
4928
  key: string;
@@ -5075,9 +5234,9 @@ export declare interface ThemeScopeProps {
5075
5234
  children?: default_2.ReactNode;
5076
5235
  }
5077
5236
 
5078
- export declare const ThumbsDownIcon: React.FC<IconProps_105>;
5237
+ export declare const ThumbsDownIcon: React.FC<IconProps_107>;
5079
5238
 
5080
- export declare const ThumbsUpIcon: React.FC<IconProps_106>;
5239
+ export declare const ThumbsUpIcon: React.FC<IconProps_108>;
5081
5240
 
5082
5241
  export declare const Toggle: default_2.ForwardRefExoticComponent<ToggleProps & default_2.RefAttributes<HTMLElement>>;
5083
5242
 
@@ -5196,11 +5355,11 @@ declare interface TooltipProps {
5196
5355
  focusableTrigger?: boolean;
5197
5356
  }
5198
5357
 
5199
- export declare const TrashIcon: React.FC<IconProps_107>;
5358
+ export declare const TrashIcon: React.FC<IconProps_109>;
5200
5359
 
5201
- export declare const TriangleDownIcon: React.FC<IconProps_108>;
5360
+ export declare const TriangleDownIcon: React.FC<IconProps_110>;
5202
5361
 
5203
- export declare const TriangleRightIcon: React.FC<IconProps_109>;
5362
+ export declare const TriangleRightIcon: React.FC<IconProps_111>;
5204
5363
 
5205
5364
  /**
5206
5365
  * TruncatedTooltip renders its children in a single-line truncating container
@@ -5244,9 +5403,9 @@ export declare const Typography: {
5244
5403
  Text: FC<TextProps>;
5245
5404
  };
5246
5405
 
5247
- export declare const UnarchiveIcon: React.FC<IconProps_110>;
5406
+ export declare const UnarchiveIcon: React.FC<IconProps_112>;
5248
5407
 
5249
- export declare const UploadIcon: React.FC<IconProps_111>;
5408
+ export declare const UploadIcon: React.FC<IconProps_113>;
5250
5409
 
5251
5410
  export declare const UsageCard: default_2.FC<UsageCardProps>;
5252
5411
 
@@ -5268,15 +5427,17 @@ export declare const useHasOpenOverlay: () => boolean;
5268
5427
 
5269
5428
  export declare const useSidebarCollapsed: () => boolean;
5270
5429
 
5271
- export declare const WarningCircleFilled: React.FC<IconProps_112>;
5430
+ export declare const WarningCircleFilled: React.FC<IconProps_114>;
5431
+
5432
+ export declare const WarningTriangleIcon: React.FC<IconProps_115>;
5272
5433
 
5273
- export declare const WarningTriangleIcon: React.FC<IconProps_113>;
5434
+ export declare const WebhookEventsIcon: React.FC<IconProps_116>;
5274
5435
 
5275
- export declare const WebhookEventsIcon: React.FC<IconProps_114>;
5436
+ export declare const WebhookIcon: React.FC<IconProps_117>;
5276
5437
 
5277
- export declare const WebhookIcon: React.FC<IconProps_115>;
5438
+ export declare const WebhookSigningSecretIcon: React.FC<IconProps_118>;
5278
5439
 
5279
- export declare const WebhookSigningSecretIcon: React.FC<IconProps_116>;
5440
+ export declare type WeekStart = 'monday' | 'sunday';
5280
5441
 
5281
5442
  export declare type WidthSize = 'large' | 'medium' | 'small' | 'xsmall';
5282
5443