@stackone/malachite 2.59.0 → 2.61.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.
package/dist/index.d.ts CHANGED
@@ -1256,6 +1256,7 @@ export declare const CustomIcons: {
1256
1256
  LayoutIcon: FC<IconProps>;
1257
1257
  LibraryIcon: FC<IconProps>;
1258
1258
  LinkIcon: FC<IconProps>;
1259
+ ListChecksIcon: FC<IconProps>;
1259
1260
  LogsIcon: FC<IconProps>;
1260
1261
  MagicWandIcon: FC<IconProps>;
1261
1262
  ManageTeamIcon: FC<IconProps>;
@@ -1963,6 +1964,13 @@ declare interface IconProps_115 {
1963
1964
  onClick?: () => void;
1964
1965
  }
1965
1966
 
1967
+ declare interface IconProps_116 {
1968
+ size?: number | string;
1969
+ className?: string;
1970
+ style?: CSSProperties;
1971
+ onClick?: () => void;
1972
+ }
1973
+
1966
1974
  declare interface IconProps_12 {
1967
1975
  size?: number | string;
1968
1976
  className?: string;
@@ -2800,6 +2808,8 @@ declare interface LinkProps_2 {
2800
2808
  fontSize?: 'sm' | 'base';
2801
2809
  }
2802
2810
 
2811
+ export declare const ListChecksIcon: React.FC<IconProps_66>;
2812
+
2803
2813
  export declare const LoadingBar: default_2.FC<LoadingBarProps>;
2804
2814
 
2805
2815
  export declare interface LoadingBarProps {
@@ -2826,9 +2836,9 @@ export declare type LoadingBarSize = 'small' | 'medium' | 'large';
2826
2836
 
2827
2837
  export declare type LoadingBarVariant = 'default' | 'warning' | 'error';
2828
2838
 
2829
- export declare const LogsIcon: React.FC<IconProps_66>;
2839
+ export declare const LogsIcon: React.FC<IconProps_67>;
2830
2840
 
2831
- export declare const MagicWandIcon: React.FC<IconProps_67>;
2841
+ export declare const MagicWandIcon: React.FC<IconProps_68>;
2832
2842
 
2833
2843
  /**
2834
2844
  * MalachiteContext provides a Shadow DOM context with theme setup for Malachite components.
@@ -3307,9 +3317,9 @@ export declare interface MalachiteTheme {
3307
3317
  };
3308
3318
  }
3309
3319
 
3310
- export declare const ManageTeamIcon: React.FC<IconProps_68>;
3320
+ export declare const ManageTeamIcon: React.FC<IconProps_69>;
3311
3321
 
3312
- export declare const ManualWebhookIcon: React.FC<IconProps_69>;
3322
+ export declare const ManualWebhookIcon: React.FC<IconProps_70>;
3313
3323
 
3314
3324
  /** `inert` draws links without an anchor, for markdown inside a <button>. */
3315
3325
  export declare type MarkdownLinks = 'interactive' | 'inert';
@@ -3330,15 +3340,15 @@ export declare interface MarkdownProps {
3330
3340
  /** `inline`: one line of inline syntax, with no autolinked emails or URLs. */
3331
3341
  export declare type MarkdownVariant = 'block' | 'flow' | 'inline';
3332
3342
 
3333
- export declare const MarkReadIcon: React.FC<IconProps_70>;
3343
+ export declare const MarkReadIcon: React.FC<IconProps_71>;
3334
3344
 
3335
- export declare const MarkUnreadIcon: React.FC<IconProps_71>;
3345
+ export declare const MarkUnreadIcon: React.FC<IconProps_72>;
3336
3346
 
3337
- export declare const MembersIcon: React.FC<IconProps_72>;
3347
+ export declare const MembersIcon: React.FC<IconProps_73>;
3338
3348
 
3339
3349
  export declare const Modal: default_2.FC<ModalProps>;
3340
3350
 
3341
- export declare const ModalIcon: React.FC<IconProps_73>;
3351
+ export declare const ModalIcon: React.FC<IconProps_74>;
3342
3352
 
3343
3353
  export declare interface ModalProps {
3344
3354
  open: boolean;
@@ -3394,9 +3404,9 @@ export declare type ModalSize = 'small' | 'medium' | 'large';
3394
3404
 
3395
3405
  export declare type ModalTrayTone = 'neutral' | 'warning' | 'error' | 'success';
3396
3406
 
3397
- export declare const MoreHorizontalIcon: React.FC<IconProps_74>;
3407
+ export declare const MoreHorizontalIcon: React.FC<IconProps_75>;
3398
3408
 
3399
- export declare const MoreVerticalIcon: React.FC<IconProps_75>;
3409
+ export declare const MoreVerticalIcon: React.FC<IconProps_76>;
3400
3410
 
3401
3411
  export declare const MultiSelect: default_2.FC<MultiSelectProps>;
3402
3412
 
@@ -3488,9 +3498,9 @@ export declare type MultiSelectSize = 'small' | 'medium' | 'large';
3488
3498
 
3489
3499
  declare type NativeProps = Omit<default_2.HTMLAttributes<HTMLElement>, 'children' | 'className' | 'style' | 'color' | 'title'>;
3490
3500
 
3491
- export declare const NavbarCollapseIcon: React.FC<IconProps_76>;
3501
+ export declare const NavbarCollapseIcon: React.FC<IconProps_77>;
3492
3502
 
3493
- export declare const NavbarExpandIcon: React.FC<IconProps_77>;
3503
+ export declare const NavbarExpandIcon: React.FC<IconProps_78>;
3494
3504
 
3495
3505
  export declare const NavItem: default_2.ForwardRefExoticComponent<NavItemProps & default_2.RefAttributes<HTMLElement>>;
3496
3506
 
@@ -3532,7 +3542,7 @@ export declare interface NavItemLinkProps extends NavItemBaseProps {
3532
3542
 
3533
3543
  export declare type NavItemProps = NavItemLinkProps | NavItemAsChildProps;
3534
3544
 
3535
- export declare const NotFoundIcon: React.FC<IconProps_78>;
3545
+ export declare const NotFoundIcon: React.FC<IconProps_79>;
3536
3546
 
3537
3547
  export declare const NumberTag: default_2.FC<NumberTagProps>;
3538
3548
 
@@ -3547,7 +3557,7 @@ export declare interface NumberTagProps {
3547
3557
  className?: string;
3548
3558
  }
3549
3559
 
3550
- export declare const OrganizationIcon: React.FC<IconProps_79>;
3560
+ export declare const OrganizationIcon: React.FC<IconProps_80>;
3551
3561
 
3552
3562
  export declare const OverflowRow: default_2.FC<OverflowRowProps>;
3553
3563
 
@@ -3721,11 +3731,11 @@ declare type PillButtonTone = 'default' | 'assistant';
3721
3731
 
3722
3732
  declare type PillButtonVariant = 'default' | 'inverted';
3723
3733
 
3724
- export declare const PinIcon: React.FC<IconProps_80>;
3734
+ export declare const PinIcon: React.FC<IconProps_81>;
3725
3735
 
3726
- export declare const PlaygroundIcon: React.FC<IconProps_81>;
3736
+ export declare const PlaygroundIcon: React.FC<IconProps_82>;
3727
3737
 
3728
- export declare const PlusIcon: React.FC<IconProps_82>;
3738
+ export declare const PlusIcon: React.FC<IconProps_83>;
3729
3739
 
3730
3740
  export declare const Popover: default_2.FC<PopoverProps> & {
3731
3741
  Header: default_2.FC< PopoverHeaderProps>;
@@ -3786,7 +3796,7 @@ export declare type PopoverPlacement = FloatingPlacement;
3786
3796
 
3787
3797
  export declare type PopoverProps = PopoverBaseProps & PopoverName;
3788
3798
 
3789
- export declare const PreviewIcon: React.FC<IconProps_83>;
3799
+ export declare const PreviewIcon: React.FC<IconProps_84>;
3790
3800
 
3791
3801
  /** A translucent rounded card that groups {@link PreviewTreeRow}s into a tree preview. */
3792
3802
  export declare const PreviewTree: default_2.FC<PreviewTreeProps>;
@@ -3807,7 +3817,7 @@ declare interface PreviewTreeRowProps {
3807
3817
  expanded?: boolean;
3808
3818
  }
3809
3819
 
3810
- export declare const ProgrammaticWebhookIcon: React.FC<IconProps_84>;
3820
+ export declare const ProgrammaticWebhookIcon: React.FC<IconProps_85>;
3811
3821
 
3812
3822
  export declare const Progress: default_2.FC<ProgressProps>;
3813
3823
 
@@ -3858,7 +3868,7 @@ declare interface ProgressValueProps extends ProgressCommonProps {
3858
3868
  max?: never;
3859
3869
  }
3860
3870
 
3861
- export declare const PulseIcon: React.FC<IconProps_85>;
3871
+ export declare const PulseIcon: React.FC<IconProps_86>;
3862
3872
 
3863
3873
  export declare const QueryInput: default_2.FC<QueryInputProps>;
3864
3874
 
@@ -3935,7 +3945,7 @@ export declare interface RadioProps {
3935
3945
  id?: string;
3936
3946
  }
3937
3947
 
3938
- export declare const RefreshIcon: React.FC<IconProps_86>;
3948
+ export declare const RefreshIcon: React.FC<IconProps_87>;
3939
3949
 
3940
3950
  export declare interface RegularLayoutProps {
3941
3951
  breadcrumbLinks?: BreadcrumbLink[];
@@ -3967,9 +3977,9 @@ export declare interface RegularLayoutProps {
3967
3977
  style?: default_2.CSSProperties;
3968
3978
  }
3969
3979
 
3970
- export declare const RejectIcon: React.FC<IconProps_87>;
3980
+ export declare const RejectIcon: React.FC<IconProps_88>;
3971
3981
 
3972
- export declare const ReloadIcon: React.FC<IconProps_88>;
3982
+ export declare const ReloadIcon: React.FC<IconProps_89>;
3973
3983
 
3974
3984
  /**
3975
3985
  * Renders an in-app link through the app's own link component, spreading every field onto it:
@@ -3984,9 +3994,9 @@ export declare type RenderLink = (props: {
3984
3994
  'aria-label'?: string;
3985
3995
  }) => default_2.ReactNode;
3986
3996
 
3987
- export declare const ReplyIcon: React.FC<IconProps_89>;
3997
+ export declare const ReplyIcon: React.FC<IconProps_90>;
3988
3998
 
3989
- export declare const RequiredFieldIndicatorIcon: React.FC<IconProps_90>;
3999
+ export declare const RequiredFieldIndicatorIcon: React.FC<IconProps_91>;
3990
4000
 
3991
4001
  export declare type RequiredIndicator = 'optional-suffix' | 'asterisk' | 'none';
3992
4002
 
@@ -4010,9 +4020,10 @@ declare const Row: default_2.FC<KeyValueListRowProps>;
4010
4020
 
4011
4021
  export declare type RowVariant = 'success' | 'warning' | 'error' | 'info';
4012
4022
 
4013
- export declare const Search: default_2.FC<SearchProps>;
4023
+ /** Forwards a ref to the input, so a consumer can focus the field. */
4024
+ export declare const Search: default_2.ForwardRefExoticComponent<SearchProps & default_2.RefAttributes<HTMLInputElement>>;
4014
4025
 
4015
- export declare const SearchIcon: React.FC<IconProps_91>;
4026
+ export declare const SearchIcon: React.FC<IconProps_92>;
4016
4027
 
4017
4028
  export declare interface SearchProps {
4018
4029
  value: string;
@@ -4026,6 +4037,18 @@ export declare interface SearchProps {
4026
4037
  className?: string;
4027
4038
  width?: string | number;
4028
4039
  style?: default_2.CSSProperties;
4040
+ /**
4041
+ * Shows a clear button while the field has text, and lets Escape clear it. Either way focus
4042
+ * stays in the field, and Escape that clears is not also passed to a surrounding panel.
4043
+ */
4044
+ clearable?: boolean;
4045
+ /** Called after `onChange('')` when the clear button or Escape empties the field. */
4046
+ onClear?: () => void;
4047
+ /** Runs before Search's own Escape handling; call `preventDefault()` to skip it. */
4048
+ onKeyDown?: default_2.KeyboardEventHandler<HTMLInputElement>;
4049
+ /** The field's accessible name. Falls back to the placeholder, then "Search". */
4050
+ 'aria-label'?: string;
4051
+ 'aria-labelledby'?: string;
4029
4052
  }
4030
4053
 
4031
4054
  export declare type SearchSize = 'small' | 'medium' | 'large';
@@ -4056,7 +4079,7 @@ declare interface SectionTitleProps {
4056
4079
  style?: default_2.CSSProperties;
4057
4080
  }
4058
4081
 
4059
- export declare const SecurityIcon: React.FC<IconProps_92>;
4082
+ export declare const SecurityIcon: React.FC<IconProps_93>;
4060
4083
 
4061
4084
  /**
4062
4085
  * A rounded track of mutually-exclusive options — the segmented "one of these" control.
@@ -4226,7 +4249,7 @@ export declare interface SelectionBarProps {
4226
4249
  className?: string;
4227
4250
  }
4228
4251
 
4229
- export declare const SendIcon: React.FC<IconProps_93>;
4252
+ export declare const SendIcon: React.FC<IconProps_94>;
4230
4253
 
4231
4254
  export declare const SettingRow: default_2.FC<SettingRowProps>;
4232
4255
 
@@ -4248,7 +4271,7 @@ export declare interface SettingRowProps {
4248
4271
  className?: string;
4249
4272
  }
4250
4273
 
4251
- export declare const SettingsIcon: React.FC<IconProps_94>;
4274
+ export declare const SettingsIcon: React.FC<IconProps_95>;
4252
4275
 
4253
4276
  /**
4254
4277
  * ShadowEscape renders its children OUTSIDE the Shadow DOM to avoid React hook issues.
@@ -4398,7 +4421,7 @@ export declare interface SidePanelProps {
4398
4421
  children: default_2.ReactNode;
4399
4422
  }
4400
4423
 
4401
- export declare const SignOutIcon: React.FC<IconProps_95>;
4424
+ export declare const SignOutIcon: React.FC<IconProps_96>;
4402
4425
 
4403
4426
  export declare const Skeleton: {
4404
4427
  Button: default_2.FC<SkeletonButtonProps>;
@@ -4432,11 +4455,11 @@ declare type SkeletonShape = 'default' | 'round' | 'circle' | 'square';
4432
4455
 
4433
4456
  declare type SkeletonSize = 'small' | 'default' | 'large';
4434
4457
 
4435
- export declare const SliderIcon: React.FC<IconProps_96>;
4458
+ export declare const SliderIcon: React.FC<IconProps_97>;
4436
4459
 
4437
- export declare const SortIcon: React.FC<IconProps_97>;
4460
+ export declare const SortIcon: React.FC<IconProps_98>;
4438
4461
 
4439
- export declare const SourceIcon: React.FC<IconProps_98>;
4462
+ export declare const SourceIcon: React.FC<IconProps_99>;
4440
4463
 
4441
4464
  export declare const Spacer: default_2.FC<SpacerProps>;
4442
4465
 
@@ -4460,7 +4483,7 @@ export declare enum SpacingSize {
4460
4483
  Large = "large"
4461
4484
  }
4462
4485
 
4463
- export declare const SparkleIcon: React.FC<IconProps_99>;
4486
+ export declare const SparkleIcon: React.FC<IconProps_100>;
4464
4487
 
4465
4488
  export declare const Spinner: default_2.FC<SpinnerProps>;
4466
4489
 
@@ -4480,7 +4503,7 @@ declare interface SplitScreenLayoutProps {
4480
4503
  footer?: default_2.ReactNode;
4481
4504
  }
4482
4505
 
4483
- export declare const StarIcon: React.FC<IconProps_100>;
4506
+ export declare const StarIcon: React.FC<IconProps_101>;
4484
4507
 
4485
4508
  export declare const StatBadge: default_2.FC<StatBadgeProps>;
4486
4509
 
@@ -4552,7 +4575,7 @@ export declare interface StatusBadgeProps {
4552
4575
 
4553
4576
  export declare type StatusBadgeType = 'success' | 'error' | 'warning' | 'info';
4554
4577
 
4555
- export declare const StepCurrentIcon: React.FC<IconProps_101>;
4578
+ export declare const StepCurrentIcon: React.FC<IconProps_102>;
4556
4579
 
4557
4580
  export declare const Stepper: default_2.FC<StepperProps>;
4558
4581
 
@@ -4593,7 +4616,7 @@ export declare interface StepTabsProps {
4593
4616
  className?: string;
4594
4617
  }
4595
4618
 
4596
- export declare const StepUpcomingIcon: React.FC<IconProps_102>;
4619
+ export declare const StepUpcomingIcon: React.FC<IconProps_103>;
4597
4620
 
4598
4621
  export declare type SubtitleLayout = 'inline' | 'stacked';
4599
4622
 
@@ -4670,8 +4693,10 @@ declare interface SurfaceRowChromeProps {
4670
4693
  disabled?: boolean;
4671
4694
  /** Announces the row as selected — `aria-checked` under a `radio`/`checkbox` role,
4672
4695
  * `aria-current` otherwise — and paints `Table`'s selected treatment unless `selection`
4673
- * says not to. */
4674
- selected?: boolean;
4696
+ * says not to. `'mixed'` is for a `checkbox` row that is partly selected: it announces
4697
+ * `aria-checked="mixed"` there, never paints and never marks the row current, and counts
4698
+ * as not selected under any other role. */
4699
+ selected?: boolean | 'mixed';
4675
4700
  /** How a `selected` row shows it. `highlight` paints the treatment; `announce` leaves the
4676
4701
  * visual to a control inside the row and only sets the ARIA state. Defaults to `announce`
4677
4702
  * under `role="checkbox"` and `highlight` otherwise. */
@@ -4703,6 +4728,12 @@ export declare interface SurfaceRowProps extends SurfaceRowChromeProps {
4703
4728
  rel?: string;
4704
4729
  /** Content pinned right, outside the row button, so it may hold its own control. */
4705
4730
  trailing?: default_2.ReactNode;
4731
+ /**
4732
+ * Shows `trailing` only while the row is hovered or holds focus, and while a menu
4733
+ * it opened is still open. Hidden by opacity, so it stays in the tab order; a touch screen,
4734
+ * which has no hover, always shows it.
4735
+ */
4736
+ revealTrailing?: boolean;
4706
4737
  /** ARIA role for a clickable row, e.g. `radio`/`checkbox` (wrap the list in a `radiogroup`). */
4707
4738
  role?: default_2.AriaRole;
4708
4739
  'aria-label'?: string;
@@ -4724,7 +4755,7 @@ export declare interface SwatchProps {
4724
4755
  style?: default_2.CSSProperties;
4725
4756
  }
4726
4757
 
4727
- export declare const SyntheticWebhookIcon: React.FC<IconProps_103>;
4758
+ export declare const SyntheticWebhookIcon: React.FC<IconProps_104>;
4728
4759
 
4729
4760
  export declare interface TabItem {
4730
4761
  key: string;
@@ -5036,9 +5067,9 @@ export declare interface ThemeScopeProps {
5036
5067
  children?: default_2.ReactNode;
5037
5068
  }
5038
5069
 
5039
- export declare const ThumbsDownIcon: React.FC<IconProps_104>;
5070
+ export declare const ThumbsDownIcon: React.FC<IconProps_105>;
5040
5071
 
5041
- export declare const ThumbsUpIcon: React.FC<IconProps_105>;
5072
+ export declare const ThumbsUpIcon: React.FC<IconProps_106>;
5042
5073
 
5043
5074
  export declare const Toggle: default_2.ForwardRefExoticComponent<ToggleProps & default_2.RefAttributes<HTMLElement>>;
5044
5075
 
@@ -5157,11 +5188,11 @@ declare interface TooltipProps {
5157
5188
  focusableTrigger?: boolean;
5158
5189
  }
5159
5190
 
5160
- export declare const TrashIcon: React.FC<IconProps_106>;
5191
+ export declare const TrashIcon: React.FC<IconProps_107>;
5161
5192
 
5162
- export declare const TriangleDownIcon: React.FC<IconProps_107>;
5193
+ export declare const TriangleDownIcon: React.FC<IconProps_108>;
5163
5194
 
5164
- export declare const TriangleRightIcon: React.FC<IconProps_108>;
5195
+ export declare const TriangleRightIcon: React.FC<IconProps_109>;
5165
5196
 
5166
5197
  /**
5167
5198
  * TruncatedTooltip renders its children in a single-line truncating container
@@ -5205,9 +5236,9 @@ export declare const Typography: {
5205
5236
  Text: FC<TextProps>;
5206
5237
  };
5207
5238
 
5208
- export declare const UnarchiveIcon: React.FC<IconProps_109>;
5239
+ export declare const UnarchiveIcon: React.FC<IconProps_110>;
5209
5240
 
5210
- export declare const UploadIcon: React.FC<IconProps_110>;
5241
+ export declare const UploadIcon: React.FC<IconProps_111>;
5211
5242
 
5212
5243
  export declare const UsageCard: default_2.FC<UsageCardProps>;
5213
5244
 
@@ -5229,15 +5260,15 @@ export declare const useHasOpenOverlay: () => boolean;
5229
5260
 
5230
5261
  export declare const useSidebarCollapsed: () => boolean;
5231
5262
 
5232
- export declare const WarningCircleFilled: React.FC<IconProps_111>;
5263
+ export declare const WarningCircleFilled: React.FC<IconProps_112>;
5233
5264
 
5234
- export declare const WarningTriangleIcon: React.FC<IconProps_112>;
5265
+ export declare const WarningTriangleIcon: React.FC<IconProps_113>;
5235
5266
 
5236
- export declare const WebhookEventsIcon: React.FC<IconProps_113>;
5267
+ export declare const WebhookEventsIcon: React.FC<IconProps_114>;
5237
5268
 
5238
- export declare const WebhookIcon: React.FC<IconProps_114>;
5269
+ export declare const WebhookIcon: React.FC<IconProps_115>;
5239
5270
 
5240
- export declare const WebhookSigningSecretIcon: React.FC<IconProps_115>;
5271
+ export declare const WebhookSigningSecretIcon: React.FC<IconProps_116>;
5241
5272
 
5242
5273
  export declare type WidthSize = 'large' | 'medium' | 'small' | 'xsmall';
5243
5274