@stackone/malachite 2.37.0 → 2.38.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/COMPONENTS.md +7 -2
- package/dist/assets/icons/account.svg.js +2 -2
- package/dist/assets/icons/account.svg.js.map +1 -1
- package/dist/assets/icons/building.svg.js +6 -0
- package/dist/assets/icons/building.svg.js.map +1 -0
- package/dist/assets/icons/chevrons_up_down.svg.js +6 -0
- package/dist/assets/icons/chevrons_up_down.svg.js.map +1 -0
- package/dist/assets/icons/connector.svg.js +6 -0
- package/dist/assets/icons/connector.svg.js.map +1 -0
- package/dist/assets/icons/external_link.svg.js +6 -0
- package/dist/assets/icons/external_link.svg.js.map +1 -0
- package/dist/assets/icons/field_coverage.svg.js +6 -0
- package/dist/assets/icons/field_coverage.svg.js.map +1 -0
- package/dist/assets/icons/layout.svg.js +6 -0
- package/dist/assets/icons/layout.svg.js.map +1 -0
- package/dist/assets/icons/link.svg.js +6 -0
- package/dist/assets/icons/link.svg.js.map +1 -0
- package/dist/assets/icons/playground.svg.js +6 -0
- package/dist/assets/icons/playground.svg.js.map +1 -0
- package/dist/components/ActionMenu.js +139 -170
- package/dist/components/ActionMenu.js.map +1 -1
- package/dist/components/CardStrip.js +195 -190
- package/dist/components/CardStrip.js.map +1 -1
- package/dist/components/Chat/ChatModelPicker.js +64 -60
- package/dist/components/Chat/ChatModelPicker.js.map +1 -1
- package/dist/components/CustomIcons/BuildingIcon.js +16 -0
- package/dist/components/CustomIcons/BuildingIcon.js.map +1 -0
- package/dist/components/CustomIcons/ChevronsUpDownIcon.js +16 -0
- package/dist/components/CustomIcons/ChevronsUpDownIcon.js.map +1 -0
- package/dist/components/CustomIcons/ConnectorIcon.js +16 -0
- package/dist/components/CustomIcons/ConnectorIcon.js.map +1 -0
- package/dist/components/CustomIcons/ExternalLinkIcon.js +16 -0
- package/dist/components/CustomIcons/ExternalLinkIcon.js.map +1 -0
- package/dist/components/CustomIcons/FieldCoverageIcon.js +16 -0
- package/dist/components/CustomIcons/FieldCoverageIcon.js.map +1 -0
- package/dist/components/CustomIcons/LayoutIcon.js +16 -0
- package/dist/components/CustomIcons/LayoutIcon.js.map +1 -0
- package/dist/components/CustomIcons/LinkIcon.js +16 -0
- package/dist/components/CustomIcons/LinkIcon.js.map +1 -0
- package/dist/components/CustomIcons/PlaygroundIcon.js +16 -0
- package/dist/components/CustomIcons/PlaygroundIcon.js.map +1 -0
- package/dist/components/CustomIcons/index.js +303 -279
- package/dist/components/CustomIcons/index.js.map +1 -1
- package/dist/components/NavItem.js +158 -0
- package/dist/components/NavItem.js.map +1 -0
- package/dist/components/Popover.js +262 -0
- package/dist/components/Popover.js.map +1 -0
- package/dist/components/PopoverParts.js +46 -0
- package/dist/components/PopoverParts.js.map +1 -0
- package/dist/components/QueryInput.js +103 -97
- package/dist/components/QueryInput.js.map +1 -1
- package/dist/components/SearchTrigger.js +37 -0
- package/dist/components/SearchTrigger.js.map +1 -0
- package/dist/components/Sidebar.js +174 -0
- package/dist/components/Sidebar.js.map +1 -0
- package/dist/components/Tooltip.js +97 -92
- package/dist/components/Tooltip.js.map +1 -1
- package/dist/components/UsageCard.js +44 -0
- package/dist/components/UsageCard.js.map +1 -0
- package/dist/components/actionMenuKeyboard.js +23 -0
- package/dist/components/actionMenuKeyboard.js.map +1 -0
- package/dist/components/actionMenuStyles.js +83 -0
- package/dist/components/actionMenuStyles.js.map +1 -0
- package/dist/components/ariaState.js +5 -0
- package/dist/components/ariaState.js.map +1 -0
- package/dist/components/chromeStyles.js +6 -0
- package/dist/components/chromeStyles.js.map +1 -0
- package/dist/components/composeRefs.js +27 -0
- package/dist/components/composeRefs.js.map +1 -0
- package/dist/components/floatingMenuGeometry.js +74 -35
- package/dist/components/floatingMenuGeometry.js.map +1 -1
- package/dist/components/overlayBehaviour.js +90 -84
- package/dist/components/overlayBehaviour.js.map +1 -1
- package/dist/components/popoverTree.js +14 -0
- package/dist/components/popoverTree.js.map +1 -0
- package/dist/components/portalOverlay.js +28 -22
- package/dist/components/portalOverlay.js.map +1 -1
- package/dist/components/sidebarContext.js +9 -0
- package/dist/components/sidebarContext.js.map +1 -0
- package/dist/components/topLayer.js +18 -18
- package/dist/components/topLayer.js.map +1 -1
- package/dist/components/useActionMenuPosition.js +73 -0
- package/dist/components/useActionMenuPosition.js.map +1 -0
- package/dist/components/useHoverClose.js +18 -0
- package/dist/components/useHoverClose.js.map +1 -0
- package/dist/components/useLatestRef.js +11 -0
- package/dist/components/useLatestRef.js.map +1 -0
- package/dist/components/usePopoverPosition.js +62 -0
- package/dist/components/usePopoverPosition.js.map +1 -0
- package/dist/components/usePopoverTree.js +34 -0
- package/dist/components/usePopoverTree.js.map +1 -0
- package/dist/index.d.ts +387 -100
- package/dist/index.js +365 -335
- package/dist/index.js.map +1 -1
- package/dist/tailwind.css.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -90,12 +90,9 @@ export declare interface ActionBarProps {
|
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
/**
|
|
93
|
-
* ActionMenu is
|
|
94
|
-
*
|
|
95
|
-
*
|
|
96
|
-
* createPortal so it escapes any Shadow DOM or overflow:hidden ancestors —
|
|
97
|
-
* which is also why the popover is styled inline rather than with Tailwind:
|
|
98
|
-
* the scoped stylesheet does not reach document.body.
|
|
93
|
+
* ActionMenu is an overflow action menu. The trigger is a three-dot `Button` by default, or
|
|
94
|
+
* your own control via `trigger`. The menu is portaled to document.body, so it escapes any
|
|
95
|
+
* Shadow DOM or overflow:hidden ancestor, which is also why it is styled inline.
|
|
99
96
|
*/
|
|
100
97
|
export declare const ActionMenu: default_2.FC<ActionMenuProps>;
|
|
101
98
|
|
|
@@ -108,11 +105,17 @@ export declare type ActionMenuItem = {
|
|
|
108
105
|
danger?: boolean;
|
|
109
106
|
tooltip?: string;
|
|
110
107
|
icon?: default_2.ReactNode;
|
|
108
|
+
} | {
|
|
109
|
+
type: 'text';
|
|
110
|
+
key: string;
|
|
111
|
+
label: default_2.ReactNode;
|
|
111
112
|
} | {
|
|
112
113
|
type: 'divider';
|
|
113
114
|
key: string;
|
|
114
115
|
};
|
|
115
116
|
|
|
117
|
+
export declare type ActionMenuPlacement = 'bottom-end' | 'bottom-start' | 'right-start' | 'top-start' | 'top-center';
|
|
118
|
+
|
|
116
119
|
export declare interface ActionMenuProps {
|
|
117
120
|
items: ActionMenuItem[];
|
|
118
121
|
label?: string;
|
|
@@ -127,8 +130,15 @@ export declare interface ActionMenuProps {
|
|
|
127
130
|
showLabel?: boolean;
|
|
128
131
|
/** Trigger's Button variant. Defaults to `outline`, the overflow-kebab look. */
|
|
129
132
|
variant?: ButtonVariant;
|
|
133
|
+
trigger?: default_2.ReactElement;
|
|
134
|
+
placement?: ActionMenuPlacement;
|
|
135
|
+
offset?: FloatingOffset;
|
|
136
|
+
/** `muted` reads items in the secondary text colour, as in a sidebar's menus. */
|
|
137
|
+
tone?: ActionMenuTone;
|
|
130
138
|
}
|
|
131
139
|
|
|
140
|
+
export declare type ActionMenuTone = 'default' | 'muted';
|
|
141
|
+
|
|
132
142
|
export declare const AddIcon: React.FC<IconProps_3>;
|
|
133
143
|
|
|
134
144
|
export declare const AdvancedLogsIcon: React.FC<IconProps_4>;
|
|
@@ -293,6 +303,8 @@ export declare interface BreadcrumbsProps {
|
|
|
293
303
|
|
|
294
304
|
export declare const buildActionBarMenuItems: (buttons: ActionBarItem[]) => ActionMenuItem[];
|
|
295
305
|
|
|
306
|
+
export declare const BuildingIcon: React.FC<IconProps_14>;
|
|
307
|
+
|
|
296
308
|
export declare const Button: default_2.ForwardRefExoticComponent<ButtonProps & default_2.RefAttributes<HTMLButtonElement | HTMLAnchorElement>>;
|
|
297
309
|
|
|
298
310
|
declare interface ButtonDefinition {
|
|
@@ -371,7 +383,7 @@ export declare type ButtonVariant = 'filled' | 'outline'
|
|
|
371
383
|
|
|
372
384
|
export declare const Card: default_2.FC<CardProps>;
|
|
373
385
|
|
|
374
|
-
export declare const CardIcon: React.FC<
|
|
386
|
+
export declare const CardIcon: React.FC<IconProps_15>;
|
|
375
387
|
|
|
376
388
|
declare interface CardProps {
|
|
377
389
|
title?: string | default_2.ReactNode;
|
|
@@ -449,17 +461,17 @@ export declare interface CardStripProps {
|
|
|
449
461
|
/** Palette for the strip's rule. Pass the tone of whatever card is selected. */
|
|
450
462
|
export declare type CardStripTone = 'profile' | 'library' | 'editing';
|
|
451
463
|
|
|
452
|
-
export declare const CaretDownIcon: React.FC<
|
|
464
|
+
export declare const CaretDownIcon: React.FC<IconProps_16>;
|
|
453
465
|
|
|
454
|
-
export declare const CaretLeftIcon: React.FC<
|
|
466
|
+
export declare const CaretLeftIcon: React.FC<IconProps_17>;
|
|
455
467
|
|
|
456
|
-
export declare const CaretRightIcon: React.FC<
|
|
468
|
+
export declare const CaretRightIcon: React.FC<IconProps_18>;
|
|
457
469
|
|
|
458
|
-
export declare const CaretUpIcon: React.FC<
|
|
470
|
+
export declare const CaretUpIcon: React.FC<IconProps_19>;
|
|
459
471
|
|
|
460
472
|
export declare type ChangeKind = 'changed' | 'added' | 'removed';
|
|
461
473
|
|
|
462
|
-
export declare const ChangePasswordIcon: React.FC<
|
|
474
|
+
export declare const ChangePasswordIcon: React.FC<IconProps_20>;
|
|
463
475
|
|
|
464
476
|
/**
|
|
465
477
|
* Reviewing changes a machine made: one note per changed thing, a card for what it removed
|
|
@@ -855,11 +867,13 @@ export declare interface CheckboxProps {
|
|
|
855
867
|
id?: string;
|
|
856
868
|
}
|
|
857
869
|
|
|
858
|
-
export declare const CheckCircleFilled: React.FC<
|
|
870
|
+
export declare const CheckCircleFilled: React.FC<IconProps_21>;
|
|
871
|
+
|
|
872
|
+
export declare const CheckIcon: React.FC<IconProps_22>;
|
|
859
873
|
|
|
860
|
-
export declare const
|
|
874
|
+
export declare const CheckmarkIcon: React.FC<IconProps_23>;
|
|
861
875
|
|
|
862
|
-
export declare const
|
|
876
|
+
export declare const ChevronsUpDownIcon: React.FC<IconProps_24>;
|
|
863
877
|
|
|
864
878
|
/**
|
|
865
879
|
* Text clamped to `lines`, revealing the full text on hover / keyboard focus when
|
|
@@ -883,9 +897,9 @@ export declare interface ClampTextProps {
|
|
|
883
897
|
className?: string;
|
|
884
898
|
}
|
|
885
899
|
|
|
886
|
-
export declare const ClearIcon: React.FC<
|
|
900
|
+
export declare const ClearIcon: React.FC<IconProps_25>;
|
|
887
901
|
|
|
888
|
-
export declare const CloseIcon: React.FC<
|
|
902
|
+
export declare const CloseIcon: React.FC<IconProps_26>;
|
|
889
903
|
|
|
890
904
|
export declare const CodeBlock: default_2.FC<CodeBlockProps>;
|
|
891
905
|
|
|
@@ -934,7 +948,7 @@ declare interface CodeBlockProps {
|
|
|
934
948
|
};
|
|
935
949
|
}
|
|
936
950
|
|
|
937
|
-
export declare const CodeIcon: React.FC<
|
|
951
|
+
export declare const CodeIcon: React.FC<IconProps_27>;
|
|
938
952
|
|
|
939
953
|
export declare interface CodeTextProps {
|
|
940
954
|
bold?: boolean;
|
|
@@ -963,7 +977,7 @@ export declare interface CollapsibleSectionProps {
|
|
|
963
977
|
children: default_2.ReactNode;
|
|
964
978
|
}
|
|
965
979
|
|
|
966
|
-
export declare const CommandKeyIcon: React.FC<
|
|
980
|
+
export declare const CommandKeyIcon: React.FC<IconProps_28>;
|
|
967
981
|
|
|
968
982
|
export declare const CommandPalette: CommandPaletteComponent;
|
|
969
983
|
|
|
@@ -1131,11 +1145,13 @@ export declare interface ConnectionHeaderProps {
|
|
|
1131
1145
|
className?: string;
|
|
1132
1146
|
}
|
|
1133
1147
|
|
|
1134
|
-
export declare const
|
|
1148
|
+
export declare const ConnectorIcon: React.FC<IconProps_29>;
|
|
1149
|
+
|
|
1150
|
+
export declare const CopyIcon: React.FC<IconProps_30>;
|
|
1135
1151
|
|
|
1136
|
-
export declare const CsvIcon: React.FC<
|
|
1152
|
+
export declare const CsvIcon: React.FC<IconProps_31>;
|
|
1137
1153
|
|
|
1138
|
-
export declare const CustomFieldIcon: React.FC<
|
|
1154
|
+
export declare const CustomFieldIcon: React.FC<IconProps_32>;
|
|
1139
1155
|
|
|
1140
1156
|
export declare const CustomIcons: {
|
|
1141
1157
|
AccountIcon: FC<IconProps>;
|
|
@@ -1151,6 +1167,7 @@ export declare const CustomIcons: {
|
|
|
1151
1167
|
BellIcon: FC<IconProps>;
|
|
1152
1168
|
BellSlashIcon: FC<IconProps>;
|
|
1153
1169
|
BiDirectionalArrowsIcon: FC<IconProps>;
|
|
1170
|
+
BuildingIcon: FC<IconProps>;
|
|
1154
1171
|
CardIcon: FC<IconProps>;
|
|
1155
1172
|
CaretDownIcon: FC<IconProps>;
|
|
1156
1173
|
CaretLeftIcon: FC<IconProps>;
|
|
@@ -1161,9 +1178,11 @@ export declare const CustomIcons: {
|
|
|
1161
1178
|
CheckCircleFilled: FC<IconProps>;
|
|
1162
1179
|
CheckIcon: FC<IconProps>;
|
|
1163
1180
|
CheckmarkIcon: FC<IconProps>;
|
|
1181
|
+
ChevronsUpDownIcon: FC<IconProps>;
|
|
1164
1182
|
ClearIcon: FC<IconProps>;
|
|
1165
1183
|
CloseIcon: FC<IconProps>;
|
|
1166
1184
|
CommandKeyIcon: FC<IconProps>;
|
|
1185
|
+
ConnectorIcon: FC<IconProps>;
|
|
1167
1186
|
CopyIcon: FC<IconProps>;
|
|
1168
1187
|
CsvIcon: FC<IconProps>;
|
|
1169
1188
|
CustomFieldIcon: FC<IconProps>;
|
|
@@ -1180,8 +1199,10 @@ export declare const CustomIcons: {
|
|
|
1180
1199
|
EnumIcon: FC<IconProps>;
|
|
1181
1200
|
ErrorCircleFilled: FC<IconProps>;
|
|
1182
1201
|
ExpandIcon: FC<IconProps>;
|
|
1202
|
+
ExternalLinkIcon: FC<IconProps>;
|
|
1183
1203
|
EyeClosedIcon: FC<IconProps>;
|
|
1184
1204
|
EyeIcon: FC<IconProps>;
|
|
1205
|
+
FieldCoverageIcon: FC<IconProps>;
|
|
1185
1206
|
FieldMappingIcon: FC<IconProps>;
|
|
1186
1207
|
FilledCaretDownIcon: FC<IconProps>;
|
|
1187
1208
|
FilledCaretRightIcon: FC<IconProps>;
|
|
@@ -1195,7 +1216,9 @@ export declare const CustomIcons: {
|
|
|
1195
1216
|
InfoCircleFilled: FC<IconProps>;
|
|
1196
1217
|
IntegrationsIcon: FC<IconProps>;
|
|
1197
1218
|
KeyIcon: FC<IconProps>;
|
|
1219
|
+
LayoutIcon: FC<IconProps>;
|
|
1198
1220
|
LibraryIcon: FC<IconProps>;
|
|
1221
|
+
LinkIcon: FC<IconProps>;
|
|
1199
1222
|
LogsIcon: FC<IconProps>;
|
|
1200
1223
|
MagicWandIcon: FC<IconProps>;
|
|
1201
1224
|
ManageTeamIcon: FC<IconProps>;
|
|
@@ -1211,6 +1234,7 @@ export declare const CustomIcons: {
|
|
|
1211
1234
|
NotFoundIcon: FC<IconProps>;
|
|
1212
1235
|
OrganizationIcon: FC<IconProps>;
|
|
1213
1236
|
PinIcon: FC<IconProps>;
|
|
1237
|
+
PlaygroundIcon: FC<IconProps>;
|
|
1214
1238
|
PlusIcon: FC<IconProps>;
|
|
1215
1239
|
PreviewIcon: FC<IconProps>;
|
|
1216
1240
|
ProgrammaticWebhookIcon: FC<IconProps>;
|
|
@@ -1249,9 +1273,9 @@ export declare const CustomIcons: {
|
|
|
1249
1273
|
|
|
1250
1274
|
export declare const darkTheme: MalachiteTheme;
|
|
1251
1275
|
|
|
1252
|
-
export declare const DashboardIcon: React.FC<
|
|
1276
|
+
export declare const DashboardIcon: React.FC<IconProps_33>;
|
|
1253
1277
|
|
|
1254
|
-
export declare const DateIcon: React.FC<
|
|
1278
|
+
export declare const DateIcon: React.FC<IconProps_34>;
|
|
1255
1279
|
|
|
1256
1280
|
export declare const defaultTheme: MalachiteTheme;
|
|
1257
1281
|
|
|
@@ -1264,9 +1288,9 @@ declare interface DefinitionRowProps {
|
|
|
1264
1288
|
description: string;
|
|
1265
1289
|
}
|
|
1266
1290
|
|
|
1267
|
-
export declare const DisabledIcon: React.FC<
|
|
1291
|
+
export declare const DisabledIcon: React.FC<IconProps_36>;
|
|
1268
1292
|
|
|
1269
|
-
export declare const DisableIcon: React.FC<
|
|
1293
|
+
export declare const DisableIcon: React.FC<IconProps_35>;
|
|
1270
1294
|
|
|
1271
1295
|
/**
|
|
1272
1296
|
* The expand/collapse triangle used by disclosure UI (Accordion, expandable rows).
|
|
@@ -1284,7 +1308,7 @@ export declare interface DisclosureArrowProps {
|
|
|
1284
1308
|
className?: string;
|
|
1285
1309
|
}
|
|
1286
1310
|
|
|
1287
|
-
export declare const DismissIcon: React.FC<
|
|
1311
|
+
export declare const DismissIcon: React.FC<IconProps_37>;
|
|
1288
1312
|
|
|
1289
1313
|
export declare const Divider: default_2.FC<DividerProps>;
|
|
1290
1314
|
|
|
@@ -1315,11 +1339,11 @@ export declare enum DividerVariant {
|
|
|
1315
1339
|
Emphasis = "emphasis"
|
|
1316
1340
|
}
|
|
1317
1341
|
|
|
1318
|
-
export declare const DocIcon: React.FC<
|
|
1342
|
+
export declare const DocIcon: React.FC<IconProps_38>;
|
|
1319
1343
|
|
|
1320
|
-
export declare const DoubleCheckIcon: React.FC<
|
|
1344
|
+
export declare const DoubleCheckIcon: React.FC<IconProps_39>;
|
|
1321
1345
|
|
|
1322
|
-
export declare const DownloadIcon: React.FC<
|
|
1346
|
+
export declare const DownloadIcon: React.FC<IconProps_40>;
|
|
1323
1347
|
|
|
1324
1348
|
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, id, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, }: DropdownProps) => JSX_2.Element;
|
|
1325
1349
|
|
|
@@ -1404,7 +1428,7 @@ declare type DropdownTriggerModeProps = {
|
|
|
1404
1428
|
showSubtitleInTrigger?: never;
|
|
1405
1429
|
};
|
|
1406
1430
|
|
|
1407
|
-
export declare const EditIcon: React.FC<
|
|
1431
|
+
export declare const EditIcon: React.FC<IconProps_41>;
|
|
1408
1432
|
|
|
1409
1433
|
declare interface EllipsisTextProps {
|
|
1410
1434
|
children: default_2.ReactNode;
|
|
@@ -1442,11 +1466,11 @@ export declare interface EmptyLayoutProps {
|
|
|
1442
1466
|
style?: default_2.CSSProperties;
|
|
1443
1467
|
}
|
|
1444
1468
|
|
|
1445
|
-
export declare const EnableIcon: React.FC<
|
|
1469
|
+
export declare const EnableIcon: React.FC<IconProps_42>;
|
|
1446
1470
|
|
|
1447
|
-
export declare const EnumIcon: React.FC<
|
|
1471
|
+
export declare const EnumIcon: React.FC<IconProps_43>;
|
|
1448
1472
|
|
|
1449
|
-
export declare const ErrorCircleFilled: React.FC<
|
|
1473
|
+
export declare const ErrorCircleFilled: React.FC<IconProps_44>;
|
|
1450
1474
|
|
|
1451
1475
|
/**
|
|
1452
1476
|
* The space before the header: the arrow's own inset, its glyph and the gap after it.
|
|
@@ -1468,11 +1492,13 @@ declare const ExpandableRowControls: default_2.FC<{
|
|
|
1468
1492
|
style?: default_2.CSSProperties;
|
|
1469
1493
|
}>;
|
|
1470
1494
|
|
|
1471
|
-
export declare const ExpandIcon: React.FC<
|
|
1495
|
+
export declare const ExpandIcon: React.FC<IconProps_45>;
|
|
1472
1496
|
|
|
1473
|
-
export declare const
|
|
1497
|
+
export declare const ExternalLinkIcon: React.FC<IconProps_46>;
|
|
1474
1498
|
|
|
1475
|
-
export declare const
|
|
1499
|
+
export declare const EyeClosedIcon: React.FC<IconProps_47>;
|
|
1500
|
+
|
|
1501
|
+
export declare const EyeIcon: React.FC<IconProps_48>;
|
|
1476
1502
|
|
|
1477
1503
|
/**
|
|
1478
1504
|
* Something a form has to show but does not ask for — a computed list, a generated value —
|
|
@@ -1492,6 +1518,8 @@ export declare interface FieldBlockProps {
|
|
|
1492
1518
|
style?: default_2.CSSProperties;
|
|
1493
1519
|
}
|
|
1494
1520
|
|
|
1521
|
+
export declare const FieldCoverageIcon: React.FC<IconProps_49>;
|
|
1522
|
+
|
|
1495
1523
|
export declare interface FieldErrorState {
|
|
1496
1524
|
error: boolean;
|
|
1497
1525
|
message?: string;
|
|
@@ -1522,13 +1550,13 @@ export declare interface FieldGroupProps {
|
|
|
1522
1550
|
style?: default_2.CSSProperties;
|
|
1523
1551
|
}
|
|
1524
1552
|
|
|
1525
|
-
export declare const FieldMappingIcon: React.FC<
|
|
1553
|
+
export declare const FieldMappingIcon: React.FC<IconProps_50>;
|
|
1526
1554
|
|
|
1527
|
-
export declare const FilledCaretDownIcon: React.FC<
|
|
1555
|
+
export declare const FilledCaretDownIcon: React.FC<IconProps_51>;
|
|
1528
1556
|
|
|
1529
|
-
export declare const FilledCaretRightIcon: React.FC<
|
|
1557
|
+
export declare const FilledCaretRightIcon: React.FC<IconProps_52>;
|
|
1530
1558
|
|
|
1531
|
-
export declare const FilterIcon: React.FC<
|
|
1559
|
+
export declare const FilterIcon: React.FC<IconProps_53>;
|
|
1532
1560
|
|
|
1533
1561
|
export declare const Flex: default_2.FC<FlexProps>;
|
|
1534
1562
|
|
|
@@ -1576,6 +1604,16 @@ declare interface FlexProps {
|
|
|
1576
1604
|
className?: string;
|
|
1577
1605
|
}
|
|
1578
1606
|
|
|
1607
|
+
declare const FLOATING_OFFSET_PX: {
|
|
1608
|
+
readonly small: 8;
|
|
1609
|
+
readonly medium: 12;
|
|
1610
|
+
readonly large: 14;
|
|
1611
|
+
};
|
|
1612
|
+
|
|
1613
|
+
declare type FloatingOffset = keyof typeof FLOATING_OFFSET_PX;
|
|
1614
|
+
|
|
1615
|
+
declare type FloatingPlacement = 'bottom-start' | 'bottom-end' | 'top-start' | 'top-center' | 'right-start' | 'right-end' | 'left-start';
|
|
1616
|
+
|
|
1579
1617
|
/** Which theme typeface to render in. Defaults to the sans body face. */
|
|
1580
1618
|
declare type FontFamily = 'sans' | 'heading' | 'body' | 'mono';
|
|
1581
1619
|
|
|
@@ -1603,7 +1641,7 @@ export declare interface FooterNavProps {
|
|
|
1603
1641
|
className?: string;
|
|
1604
1642
|
}
|
|
1605
1643
|
|
|
1606
|
-
export declare const ForbiddenIcon: React.FC<
|
|
1644
|
+
export declare const ForbiddenIcon: React.FC<IconProps_54>;
|
|
1607
1645
|
|
|
1608
1646
|
export declare const Form: default_2.FC<FormProps>;
|
|
1609
1647
|
|
|
@@ -1649,7 +1687,7 @@ declare interface FormSectionTitleProps {
|
|
|
1649
1687
|
style?: default_2.CSSProperties;
|
|
1650
1688
|
}
|
|
1651
1689
|
|
|
1652
|
-
export declare const ForwardArrowIcon: React.FC<
|
|
1690
|
+
export declare const ForwardArrowIcon: React.FC<IconProps_55>;
|
|
1653
1691
|
|
|
1654
1692
|
/**
|
|
1655
1693
|
* Get current theme values from CSS custom properties
|
|
@@ -1661,7 +1699,7 @@ export declare function getCurrentTheme(): MalachiteTheme;
|
|
|
1661
1699
|
*/
|
|
1662
1700
|
export declare function getCurrentThemeMode(): 'light' | 'dark';
|
|
1663
1701
|
|
|
1664
|
-
export declare const GlobeIcon: React.FC<
|
|
1702
|
+
export declare const GlobeIcon: React.FC<IconProps_56>;
|
|
1665
1703
|
|
|
1666
1704
|
declare interface IconProps {
|
|
1667
1705
|
size?: number | string;
|
|
@@ -1733,6 +1771,20 @@ declare interface IconProps_107 {
|
|
|
1733
1771
|
onClick?: () => void;
|
|
1734
1772
|
}
|
|
1735
1773
|
|
|
1774
|
+
declare interface IconProps_108 {
|
|
1775
|
+
size?: number | string;
|
|
1776
|
+
className?: string;
|
|
1777
|
+
style?: CSSProperties;
|
|
1778
|
+
onClick?: () => void;
|
|
1779
|
+
}
|
|
1780
|
+
|
|
1781
|
+
declare interface IconProps_109 {
|
|
1782
|
+
size?: number | string;
|
|
1783
|
+
className?: string;
|
|
1784
|
+
style?: CSSProperties;
|
|
1785
|
+
onClick?: () => void;
|
|
1786
|
+
}
|
|
1787
|
+
|
|
1736
1788
|
declare interface IconProps_11 {
|
|
1737
1789
|
size?: number | string;
|
|
1738
1790
|
className?: string;
|
|
@@ -1740,6 +1792,48 @@ declare interface IconProps_11 {
|
|
|
1740
1792
|
onClick?: () => void;
|
|
1741
1793
|
}
|
|
1742
1794
|
|
|
1795
|
+
declare interface IconProps_110 {
|
|
1796
|
+
size?: number | string;
|
|
1797
|
+
className?: string;
|
|
1798
|
+
style?: CSSProperties;
|
|
1799
|
+
onClick?: () => void;
|
|
1800
|
+
}
|
|
1801
|
+
|
|
1802
|
+
declare interface IconProps_111 {
|
|
1803
|
+
size?: number | string;
|
|
1804
|
+
className?: string;
|
|
1805
|
+
style?: CSSProperties;
|
|
1806
|
+
onClick?: () => void;
|
|
1807
|
+
}
|
|
1808
|
+
|
|
1809
|
+
declare interface IconProps_112 {
|
|
1810
|
+
size?: number | string;
|
|
1811
|
+
className?: string;
|
|
1812
|
+
style?: CSSProperties;
|
|
1813
|
+
onClick?: () => void;
|
|
1814
|
+
}
|
|
1815
|
+
|
|
1816
|
+
declare interface IconProps_113 {
|
|
1817
|
+
size?: number | string;
|
|
1818
|
+
className?: string;
|
|
1819
|
+
style?: CSSProperties;
|
|
1820
|
+
onClick?: () => void;
|
|
1821
|
+
}
|
|
1822
|
+
|
|
1823
|
+
declare interface IconProps_114 {
|
|
1824
|
+
size?: number | string;
|
|
1825
|
+
className?: string;
|
|
1826
|
+
style?: CSSProperties;
|
|
1827
|
+
onClick?: () => void;
|
|
1828
|
+
}
|
|
1829
|
+
|
|
1830
|
+
declare interface IconProps_115 {
|
|
1831
|
+
size?: number | string;
|
|
1832
|
+
className?: string;
|
|
1833
|
+
style?: CSSProperties;
|
|
1834
|
+
onClick?: () => void;
|
|
1835
|
+
}
|
|
1836
|
+
|
|
1743
1837
|
declare interface IconProps_12 {
|
|
1744
1838
|
size?: number | string;
|
|
1745
1839
|
className?: string;
|
|
@@ -2412,13 +2506,13 @@ declare interface IconProps_99 {
|
|
|
2412
2506
|
onClick?: () => void;
|
|
2413
2507
|
}
|
|
2414
2508
|
|
|
2415
|
-
export declare const InboxIcon: React.FC<
|
|
2509
|
+
export declare const InboxIcon: React.FC<IconProps_57>;
|
|
2416
2510
|
|
|
2417
|
-
export declare const InfoCircleFilled: React.FC<
|
|
2511
|
+
export declare const InfoCircleFilled: React.FC<IconProps_58>;
|
|
2418
2512
|
|
|
2419
|
-
export declare const InfoFilledIcon: React.FC<
|
|
2513
|
+
export declare const InfoFilledIcon: React.FC<IconProps_59>;
|
|
2420
2514
|
|
|
2421
|
-
export declare const InfoIcon: React.FC<
|
|
2515
|
+
export declare const InfoIcon: React.FC<IconProps_60>;
|
|
2422
2516
|
|
|
2423
2517
|
/**
|
|
2424
2518
|
* Initialize the theme system - should be called on app startup
|
|
@@ -2496,7 +2590,7 @@ declare type InputType = 'text' | 'password' | 'number' | 'email' | 'tel' | 'url
|
|
|
2496
2590
|
|
|
2497
2591
|
declare type InputVariant = 'default' | 'ghost';
|
|
2498
2592
|
|
|
2499
|
-
export declare const IntegrationsIcon: React.FC<
|
|
2593
|
+
export declare const IntegrationsIcon: React.FC<IconProps_61>;
|
|
2500
2594
|
|
|
2501
2595
|
export declare const Keycap: default_2.FC<KeycapProps>;
|
|
2502
2596
|
|
|
@@ -2513,7 +2607,7 @@ export declare interface KeycapProps {
|
|
|
2513
2607
|
|
|
2514
2608
|
export declare type KeycapSize = 'small' | 'medium';
|
|
2515
2609
|
|
|
2516
|
-
export declare const KeyIcon: React.FC<
|
|
2610
|
+
export declare const KeyIcon: React.FC<IconProps_62>;
|
|
2517
2611
|
|
|
2518
2612
|
export declare const KeyValueList: default_2.FC<KeyValueListProps> & {
|
|
2519
2613
|
Row: typeof Row;
|
|
@@ -2530,10 +2624,14 @@ export declare interface KeyValueListRowProps {
|
|
|
2530
2624
|
children: default_2.ReactNode;
|
|
2531
2625
|
}
|
|
2532
2626
|
|
|
2533
|
-
export declare const
|
|
2627
|
+
export declare const LayoutIcon: React.FC<IconProps_63>;
|
|
2628
|
+
|
|
2629
|
+
export declare const LibraryIcon: React.FC<IconProps_64>;
|
|
2534
2630
|
|
|
2535
2631
|
export declare const Link: default_2.FC<LinkProps>;
|
|
2536
2632
|
|
|
2633
|
+
export declare const LinkIcon: React.FC<IconProps_65>;
|
|
2634
|
+
|
|
2537
2635
|
export declare interface LinkProps {
|
|
2538
2636
|
href: string;
|
|
2539
2637
|
target?: '_blank' | '_self' | '_parent' | '_top';
|
|
@@ -2584,9 +2682,9 @@ export declare type LoadingBarSize = 'small' | 'medium' | 'large';
|
|
|
2584
2682
|
|
|
2585
2683
|
export declare type LoadingBarVariant = 'default' | 'warning' | 'error';
|
|
2586
2684
|
|
|
2587
|
-
export declare const LogsIcon: React.FC<
|
|
2685
|
+
export declare const LogsIcon: React.FC<IconProps_66>;
|
|
2588
2686
|
|
|
2589
|
-
export declare const MagicWandIcon: React.FC<
|
|
2687
|
+
export declare const MagicWandIcon: React.FC<IconProps_67>;
|
|
2590
2688
|
|
|
2591
2689
|
/**
|
|
2592
2690
|
* MalachiteContext provides a Shadow DOM context with theme setup for Malachite components.
|
|
@@ -3057,9 +3155,9 @@ export declare interface MalachiteTheme {
|
|
|
3057
3155
|
};
|
|
3058
3156
|
}
|
|
3059
3157
|
|
|
3060
|
-
export declare const ManageTeamIcon: React.FC<
|
|
3158
|
+
export declare const ManageTeamIcon: React.FC<IconProps_68>;
|
|
3061
3159
|
|
|
3062
|
-
export declare const ManualWebhookIcon: React.FC<
|
|
3160
|
+
export declare const ManualWebhookIcon: React.FC<IconProps_69>;
|
|
3063
3161
|
|
|
3064
3162
|
/** `inert` draws links without an anchor, for markdown inside a <button>. */
|
|
3065
3163
|
export declare type MarkdownLinks = 'interactive' | 'inert';
|
|
@@ -3077,15 +3175,15 @@ export declare interface MarkdownProps {
|
|
|
3077
3175
|
/** `inline`: one line of inline syntax, with no autolinked emails or URLs. */
|
|
3078
3176
|
export declare type MarkdownVariant = 'block' | 'flow' | 'inline';
|
|
3079
3177
|
|
|
3080
|
-
export declare const MarkReadIcon: React.FC<
|
|
3178
|
+
export declare const MarkReadIcon: React.FC<IconProps_70>;
|
|
3081
3179
|
|
|
3082
|
-
export declare const MarkUnreadIcon: React.FC<
|
|
3180
|
+
export declare const MarkUnreadIcon: React.FC<IconProps_71>;
|
|
3083
3181
|
|
|
3084
|
-
export declare const MembersIcon: React.FC<
|
|
3182
|
+
export declare const MembersIcon: React.FC<IconProps_72>;
|
|
3085
3183
|
|
|
3086
3184
|
export declare const Modal: default_2.FC<ModalProps>;
|
|
3087
3185
|
|
|
3088
|
-
export declare const ModalIcon: React.FC<
|
|
3186
|
+
export declare const ModalIcon: React.FC<IconProps_73>;
|
|
3089
3187
|
|
|
3090
3188
|
export declare interface ModalProps {
|
|
3091
3189
|
open: boolean;
|
|
@@ -3141,9 +3239,9 @@ export declare type ModalSize = 'small' | 'medium' | 'large';
|
|
|
3141
3239
|
|
|
3142
3240
|
export declare type ModalTrayTone = 'neutral' | 'warning' | 'error' | 'success';
|
|
3143
3241
|
|
|
3144
|
-
export declare const MoreHorizontalIcon: React.FC<
|
|
3242
|
+
export declare const MoreHorizontalIcon: React.FC<IconProps_74>;
|
|
3145
3243
|
|
|
3146
|
-
export declare const MoreVerticalIcon: React.FC<
|
|
3244
|
+
export declare const MoreVerticalIcon: React.FC<IconProps_75>;
|
|
3147
3245
|
|
|
3148
3246
|
export declare const MultiSelect: default_2.FC<MultiSelectProps>;
|
|
3149
3247
|
|
|
@@ -3233,11 +3331,53 @@ export declare type MultiSelectProps = (MultiSelectBaseProps & {
|
|
|
3233
3331
|
|
|
3234
3332
|
export declare type MultiSelectSize = 'small' | 'medium' | 'large';
|
|
3235
3333
|
|
|
3236
|
-
|
|
3334
|
+
declare type NativeProps = Omit<default_2.HTMLAttributes<HTMLElement>, 'children' | 'className' | 'style' | 'color' | 'title'>;
|
|
3335
|
+
|
|
3336
|
+
export declare const NavbarCollapseIcon: React.FC<IconProps_76>;
|
|
3337
|
+
|
|
3338
|
+
export declare const NavbarExpandIcon: React.FC<IconProps_77>;
|
|
3339
|
+
|
|
3340
|
+
export declare const NavItem: default_2.ForwardRefExoticComponent<NavItemProps & default_2.RefAttributes<HTMLElement>>;
|
|
3341
|
+
|
|
3342
|
+
export declare interface NavItemAsChildProps extends NavItemBaseProps {
|
|
3343
|
+
asChild: true;
|
|
3344
|
+
children: default_2.ReactElement;
|
|
3345
|
+
href?: never;
|
|
3346
|
+
target?: never;
|
|
3347
|
+
rel?: never;
|
|
3348
|
+
disclosure?: never;
|
|
3349
|
+
}
|
|
3350
|
+
|
|
3351
|
+
declare interface NavItemBaseProps extends NativeProps {
|
|
3352
|
+
label: default_2.ReactNode;
|
|
3353
|
+
icon?: default_2.ReactNode;
|
|
3354
|
+
active?: boolean;
|
|
3355
|
+
hasActiveChild?: boolean;
|
|
3356
|
+
collapsed?: boolean;
|
|
3357
|
+
variant?: 'item' | 'subitem';
|
|
3358
|
+
size?: 'medium' | 'small';
|
|
3359
|
+
danger?: boolean;
|
|
3360
|
+
trailing?: default_2.ReactNode;
|
|
3361
|
+
badge?: default_2.ReactNode;
|
|
3362
|
+
badgeLabel?: string;
|
|
3363
|
+
tag?: default_2.ReactNode;
|
|
3364
|
+
disclosure?: 'expanded' | 'collapsed';
|
|
3365
|
+
tooltip?: string;
|
|
3366
|
+
accessibleLabel?: string;
|
|
3367
|
+
className?: string;
|
|
3368
|
+
}
|
|
3369
|
+
|
|
3370
|
+
export declare interface NavItemLinkProps extends NavItemBaseProps {
|
|
3371
|
+
asChild?: false;
|
|
3372
|
+
href?: string;
|
|
3373
|
+
target?: string;
|
|
3374
|
+
rel?: string;
|
|
3375
|
+
onClick?: (event: default_2.MouseEvent<HTMLElement>) => void;
|
|
3376
|
+
}
|
|
3237
3377
|
|
|
3238
|
-
export declare
|
|
3378
|
+
export declare type NavItemProps = NavItemLinkProps | NavItemAsChildProps;
|
|
3239
3379
|
|
|
3240
|
-
export declare const NotFoundIcon: React.FC<
|
|
3380
|
+
export declare const NotFoundIcon: React.FC<IconProps_78>;
|
|
3241
3381
|
|
|
3242
3382
|
export declare const NumberTag: default_2.FC<NumberTagProps>;
|
|
3243
3383
|
|
|
@@ -3252,7 +3392,7 @@ export declare interface NumberTagProps {
|
|
|
3252
3392
|
className?: string;
|
|
3253
3393
|
}
|
|
3254
3394
|
|
|
3255
|
-
export declare const OrganizationIcon: React.FC<
|
|
3395
|
+
export declare const OrganizationIcon: React.FC<IconProps_79>;
|
|
3256
3396
|
|
|
3257
3397
|
export declare const OverflowRow: default_2.FC<OverflowRowProps>;
|
|
3258
3398
|
|
|
@@ -3426,11 +3566,70 @@ declare type PillButtonTone = 'default' | 'assistant';
|
|
|
3426
3566
|
|
|
3427
3567
|
declare type PillButtonVariant = 'default' | 'inverted';
|
|
3428
3568
|
|
|
3429
|
-
export declare const PinIcon: React.FC<
|
|
3569
|
+
export declare const PinIcon: React.FC<IconProps_80>;
|
|
3570
|
+
|
|
3571
|
+
export declare const PlaygroundIcon: React.FC<IconProps_81>;
|
|
3572
|
+
|
|
3573
|
+
export declare const PlusIcon: React.FC<IconProps_82>;
|
|
3574
|
+
|
|
3575
|
+
export declare const Popover: default_2.FC<PopoverProps> & {
|
|
3576
|
+
Header: default_2.FC< PopoverHeaderProps>;
|
|
3577
|
+
Action: default_2.FC< PopoverActionProps>;
|
|
3578
|
+
List: default_2.FC<{
|
|
3579
|
+
children: default_2.ReactNode;
|
|
3580
|
+
}>;
|
|
3581
|
+
Section: default_2.ForwardRefExoticComponent<{
|
|
3582
|
+
children: default_2.ReactNode;
|
|
3583
|
+
} & default_2.RefAttributes<HTMLDivElement>>;
|
|
3584
|
+
Empty: default_2.FC<{
|
|
3585
|
+
children: default_2.ReactNode;
|
|
3586
|
+
}>;
|
|
3587
|
+
};
|
|
3588
|
+
|
|
3589
|
+
export declare interface PopoverActionProps {
|
|
3590
|
+
icon: default_2.ReactNode;
|
|
3591
|
+
'aria-label': string;
|
|
3592
|
+
onClick?: () => void;
|
|
3593
|
+
disabled?: boolean;
|
|
3594
|
+
tooltip?: string;
|
|
3595
|
+
}
|
|
3430
3596
|
|
|
3431
|
-
|
|
3597
|
+
declare interface PopoverBaseProps {
|
|
3598
|
+
trigger: default_2.ReactElement;
|
|
3599
|
+
children?: default_2.ReactNode;
|
|
3600
|
+
open?: boolean;
|
|
3601
|
+
defaultOpen?: boolean;
|
|
3602
|
+
onOpenChange?: (open: boolean) => void;
|
|
3603
|
+
placement?: PopoverPlacement;
|
|
3604
|
+
openOn?: 'click' | 'hover';
|
|
3605
|
+
width?: 'content' | 'trigger';
|
|
3606
|
+
padding?: 'none' | 'small' | 'medium';
|
|
3607
|
+
anchorRef?: default_2.RefObject<HTMLElement | null>;
|
|
3608
|
+
offset?: FloatingOffset;
|
|
3609
|
+
elevation?: 'default' | 'raised';
|
|
3610
|
+
initialFocusRef?: default_2.RefObject<HTMLElement | null>;
|
|
3611
|
+
role?: 'dialog' | 'menu' | 'listbox';
|
|
3612
|
+
className?: string;
|
|
3613
|
+
}
|
|
3614
|
+
|
|
3615
|
+
export declare interface PopoverHeaderProps {
|
|
3616
|
+
title: string;
|
|
3617
|
+
action?: default_2.ReactNode;
|
|
3618
|
+
}
|
|
3432
3619
|
|
|
3433
|
-
|
|
3620
|
+
declare type PopoverName = {
|
|
3621
|
+
'aria-label': string;
|
|
3622
|
+
'aria-labelledby'?: string;
|
|
3623
|
+
} | {
|
|
3624
|
+
'aria-label'?: string;
|
|
3625
|
+
'aria-labelledby': string;
|
|
3626
|
+
};
|
|
3627
|
+
|
|
3628
|
+
export declare type PopoverPlacement = FloatingPlacement;
|
|
3629
|
+
|
|
3630
|
+
export declare type PopoverProps = PopoverBaseProps & PopoverName;
|
|
3631
|
+
|
|
3632
|
+
export declare const PreviewIcon: React.FC<IconProps_83>;
|
|
3434
3633
|
|
|
3435
3634
|
/** A translucent rounded card that groups {@link PreviewTreeRow}s into a tree preview. */
|
|
3436
3635
|
export declare const PreviewTree: default_2.FC<PreviewTreeProps>;
|
|
@@ -3451,7 +3650,7 @@ declare interface PreviewTreeRowProps {
|
|
|
3451
3650
|
expanded?: boolean;
|
|
3452
3651
|
}
|
|
3453
3652
|
|
|
3454
|
-
export declare const ProgrammaticWebhookIcon: React.FC<
|
|
3653
|
+
export declare const ProgrammaticWebhookIcon: React.FC<IconProps_84>;
|
|
3455
3654
|
|
|
3456
3655
|
export declare const Progress: default_2.FC<ProgressProps>;
|
|
3457
3656
|
|
|
@@ -3502,7 +3701,7 @@ declare interface ProgressValueProps extends ProgressCommonProps {
|
|
|
3502
3701
|
max?: never;
|
|
3503
3702
|
}
|
|
3504
3703
|
|
|
3505
|
-
export declare const PulseIcon: React.FC<
|
|
3704
|
+
export declare const PulseIcon: React.FC<IconProps_85>;
|
|
3506
3705
|
|
|
3507
3706
|
export declare const QueryInput: default_2.FC<QueryInputProps>;
|
|
3508
3707
|
|
|
@@ -3579,7 +3778,7 @@ export declare interface RadioProps {
|
|
|
3579
3778
|
id?: string;
|
|
3580
3779
|
}
|
|
3581
3780
|
|
|
3582
|
-
export declare const RefreshIcon: React.FC<
|
|
3781
|
+
export declare const RefreshIcon: React.FC<IconProps_86>;
|
|
3583
3782
|
|
|
3584
3783
|
export declare interface RegularLayoutProps {
|
|
3585
3784
|
breadcrumbLinks?: BreadcrumbLink[];
|
|
@@ -3611,9 +3810,9 @@ export declare interface RegularLayoutProps {
|
|
|
3611
3810
|
style?: default_2.CSSProperties;
|
|
3612
3811
|
}
|
|
3613
3812
|
|
|
3614
|
-
export declare const RejectIcon: React.FC<
|
|
3813
|
+
export declare const RejectIcon: React.FC<IconProps_87>;
|
|
3615
3814
|
|
|
3616
|
-
export declare const ReloadIcon: React.FC<
|
|
3815
|
+
export declare const ReloadIcon: React.FC<IconProps_88>;
|
|
3617
3816
|
|
|
3618
3817
|
/**
|
|
3619
3818
|
* Renders a crumb or the back button through the app's own link component, spreading every
|
|
@@ -3627,9 +3826,9 @@ declare type RenderBreadcrumbLink = (props: {
|
|
|
3627
3826
|
'aria-label'?: string;
|
|
3628
3827
|
}) => default_2.ReactNode;
|
|
3629
3828
|
|
|
3630
|
-
export declare const ReplyIcon: React.FC<
|
|
3829
|
+
export declare const ReplyIcon: React.FC<IconProps_89>;
|
|
3631
3830
|
|
|
3632
|
-
export declare const RequiredFieldIndicatorIcon: React.FC<
|
|
3831
|
+
export declare const RequiredFieldIndicatorIcon: React.FC<IconProps_90>;
|
|
3633
3832
|
|
|
3634
3833
|
export declare type RequiredIndicator = 'optional-suffix' | 'asterisk' | 'none';
|
|
3635
3834
|
|
|
@@ -3655,7 +3854,7 @@ export declare type RowVariant = 'success' | 'warning' | 'error' | 'info';
|
|
|
3655
3854
|
|
|
3656
3855
|
export declare const Search: default_2.FC<SearchProps>;
|
|
3657
3856
|
|
|
3658
|
-
export declare const SearchIcon: React.FC<
|
|
3857
|
+
export declare const SearchIcon: React.FC<IconProps_91>;
|
|
3659
3858
|
|
|
3660
3859
|
export declare interface SearchProps {
|
|
3661
3860
|
value: string;
|
|
@@ -3673,6 +3872,15 @@ export declare interface SearchProps {
|
|
|
3673
3872
|
|
|
3674
3873
|
export declare type SearchSize = 'small' | 'medium' | 'large';
|
|
3675
3874
|
|
|
3875
|
+
export declare const SearchTrigger: default_2.ForwardRefExoticComponent<SearchTriggerProps & default_2.RefAttributes<HTMLButtonElement>>;
|
|
3876
|
+
|
|
3877
|
+
export declare interface SearchTriggerProps extends Omit<default_2.ButtonHTMLAttributes<HTMLButtonElement>, 'children' | 'className' | 'style' | 'color' | 'type'> {
|
|
3878
|
+
label?: string;
|
|
3879
|
+
shortcut?: default_2.ReactNode[];
|
|
3880
|
+
iconOnly?: boolean;
|
|
3881
|
+
className?: string;
|
|
3882
|
+
}
|
|
3883
|
+
|
|
3676
3884
|
export declare type SearchVariant = 'default' | 'muted';
|
|
3677
3885
|
|
|
3678
3886
|
declare interface SecondaryTextProps {
|
|
@@ -3690,7 +3898,7 @@ declare interface SectionTitleProps {
|
|
|
3690
3898
|
style?: default_2.CSSProperties;
|
|
3691
3899
|
}
|
|
3692
3900
|
|
|
3693
|
-
export declare const SecurityIcon: React.FC<
|
|
3901
|
+
export declare const SecurityIcon: React.FC<IconProps_92>;
|
|
3694
3902
|
|
|
3695
3903
|
/**
|
|
3696
3904
|
* A rounded track of mutually-exclusive options — the segmented "one of these" control.
|
|
@@ -3834,7 +4042,7 @@ export declare interface SelectionBarProps {
|
|
|
3834
4042
|
className?: string;
|
|
3835
4043
|
}
|
|
3836
4044
|
|
|
3837
|
-
export declare const SendIcon: React.FC<
|
|
4045
|
+
export declare const SendIcon: React.FC<IconProps_93>;
|
|
3838
4046
|
|
|
3839
4047
|
export declare const SettingRow: default_2.FC<SettingRowProps>;
|
|
3840
4048
|
|
|
@@ -3856,7 +4064,7 @@ export declare interface SettingRowProps {
|
|
|
3856
4064
|
className?: string;
|
|
3857
4065
|
}
|
|
3858
4066
|
|
|
3859
|
-
export declare const SettingsIcon: React.FC<
|
|
4067
|
+
export declare const SettingsIcon: React.FC<IconProps_94>;
|
|
3860
4068
|
|
|
3861
4069
|
/**
|
|
3862
4070
|
* ShadowEscape renders its children OUTSIDE the Shadow DOM to avoid React hook issues.
|
|
@@ -3871,6 +4079,71 @@ declare interface ShadowEscapeProps {
|
|
|
3871
4079
|
className?: string;
|
|
3872
4080
|
}
|
|
3873
4081
|
|
|
4082
|
+
export declare const Sidebar: default_2.FC<SidebarProps> & {
|
|
4083
|
+
Header: default_2.FC<{
|
|
4084
|
+
children: default_2.ReactNode;
|
|
4085
|
+
}>;
|
|
4086
|
+
Body: default_2.FC<{
|
|
4087
|
+
children: default_2.ReactNode;
|
|
4088
|
+
}>;
|
|
4089
|
+
Section: default_2.FC<{
|
|
4090
|
+
children: default_2.ReactNode;
|
|
4091
|
+
}>;
|
|
4092
|
+
Group: default_2.FC<{
|
|
4093
|
+
children: default_2.ReactNode;
|
|
4094
|
+
}>;
|
|
4095
|
+
GroupItems: default_2.FC<{
|
|
4096
|
+
children: default_2.ReactNode;
|
|
4097
|
+
}>;
|
|
4098
|
+
Search: default_2.FC<{
|
|
4099
|
+
children: default_2.ReactNode;
|
|
4100
|
+
}>;
|
|
4101
|
+
Notices: default_2.FC<{
|
|
4102
|
+
children: default_2.ReactNode;
|
|
4103
|
+
'aria-label': string;
|
|
4104
|
+
}>;
|
|
4105
|
+
Divider: default_2.FC<{}>;
|
|
4106
|
+
Footer: default_2.FC<{
|
|
4107
|
+
children: default_2.ReactNode;
|
|
4108
|
+
}>;
|
|
4109
|
+
Switcher: default_2.ForwardRefExoticComponent<SidebarSwitcherProps & default_2.RefAttributes<HTMLButtonElement>>;
|
|
4110
|
+
Account: default_2.ForwardRefExoticComponent<SidebarAccountProps & default_2.RefAttributes<HTMLButtonElement>>;
|
|
4111
|
+
Usage: default_2.FC<UsageCardProps>;
|
|
4112
|
+
Panel: default_2.FC<{
|
|
4113
|
+
children: default_2.ReactNode;
|
|
4114
|
+
}>;
|
|
4115
|
+
};
|
|
4116
|
+
|
|
4117
|
+
export declare const SIDEBAR_POPOVER_WIDTH_PX = 244;
|
|
4118
|
+
|
|
4119
|
+
export declare const SIDEBAR_WIDTH_PX: {
|
|
4120
|
+
readonly expanded: 260;
|
|
4121
|
+
readonly collapsed: 60;
|
|
4122
|
+
};
|
|
4123
|
+
|
|
4124
|
+
export declare interface SidebarAccountProps extends SidebarButtonAttributes {
|
|
4125
|
+
avatar?: default_2.ReactNode;
|
|
4126
|
+
initials?: string;
|
|
4127
|
+
name: string;
|
|
4128
|
+
}
|
|
4129
|
+
|
|
4130
|
+
declare type SidebarButtonAttributes = Omit<default_2.ButtonHTMLAttributes<HTMLButtonElement>, 'style' | 'color' | 'children' | 'title' | 'name'>;
|
|
4131
|
+
|
|
4132
|
+
export declare interface SidebarProps {
|
|
4133
|
+
collapsed?: boolean;
|
|
4134
|
+
onToggleCollapse?: () => void;
|
|
4135
|
+
expandLabel?: string;
|
|
4136
|
+
collapseLabel?: string;
|
|
4137
|
+
'aria-label'?: string;
|
|
4138
|
+
children: default_2.ReactNode;
|
|
4139
|
+
}
|
|
4140
|
+
|
|
4141
|
+
export declare interface SidebarSwitcherProps extends SidebarButtonAttributes {
|
|
4142
|
+
logo: default_2.ReactNode;
|
|
4143
|
+
title: string;
|
|
4144
|
+
subtitle?: string;
|
|
4145
|
+
}
|
|
4146
|
+
|
|
3874
4147
|
/**
|
|
3875
4148
|
* A right-hand slide-in overlay panel (drawer) for inspecting or editing an entity
|
|
3876
4149
|
* without leaving the page. Portals to `document.body`, locks background scroll and
|
|
@@ -3924,7 +4197,7 @@ export declare interface SidePanelProps {
|
|
|
3924
4197
|
children: default_2.ReactNode;
|
|
3925
4198
|
}
|
|
3926
4199
|
|
|
3927
|
-
export declare const SignOutIcon: React.FC<
|
|
4200
|
+
export declare const SignOutIcon: React.FC<IconProps_95>;
|
|
3928
4201
|
|
|
3929
4202
|
export declare const Skeleton: {
|
|
3930
4203
|
Button: default_2.FC<SkeletonButtonProps>;
|
|
@@ -3958,11 +4231,11 @@ declare type SkeletonShape = 'default' | 'round' | 'circle' | 'square';
|
|
|
3958
4231
|
|
|
3959
4232
|
declare type SkeletonSize = 'small' | 'default' | 'large';
|
|
3960
4233
|
|
|
3961
|
-
export declare const SliderIcon: React.FC<
|
|
4234
|
+
export declare const SliderIcon: React.FC<IconProps_96>;
|
|
3962
4235
|
|
|
3963
|
-
export declare const SortIcon: React.FC<
|
|
4236
|
+
export declare const SortIcon: React.FC<IconProps_97>;
|
|
3964
4237
|
|
|
3965
|
-
export declare const SourceIcon: React.FC<
|
|
4238
|
+
export declare const SourceIcon: React.FC<IconProps_98>;
|
|
3966
4239
|
|
|
3967
4240
|
export declare const Spacer: default_2.FC<SpacerProps>;
|
|
3968
4241
|
|
|
@@ -3986,7 +4259,7 @@ export declare enum SpacingSize {
|
|
|
3986
4259
|
Large = "large"
|
|
3987
4260
|
}
|
|
3988
4261
|
|
|
3989
|
-
export declare const SparkleIcon: React.FC<
|
|
4262
|
+
export declare const SparkleIcon: React.FC<IconProps_99>;
|
|
3990
4263
|
|
|
3991
4264
|
export declare const Spinner: default_2.FC<SpinnerProps>;
|
|
3992
4265
|
|
|
@@ -4006,7 +4279,7 @@ declare interface SplitScreenLayoutProps {
|
|
|
4006
4279
|
footer?: default_2.ReactNode;
|
|
4007
4280
|
}
|
|
4008
4281
|
|
|
4009
|
-
export declare const StarIcon: React.FC<
|
|
4282
|
+
export declare const StarIcon: React.FC<IconProps_100>;
|
|
4010
4283
|
|
|
4011
4284
|
export declare const StatBadge: default_2.FC<StatBadgeProps>;
|
|
4012
4285
|
|
|
@@ -4078,7 +4351,7 @@ export declare interface StatusBadgeProps {
|
|
|
4078
4351
|
|
|
4079
4352
|
export declare type StatusBadgeType = 'success' | 'error' | 'warning' | 'info';
|
|
4080
4353
|
|
|
4081
|
-
export declare const StepCurrentIcon: React.FC<
|
|
4354
|
+
export declare const StepCurrentIcon: React.FC<IconProps_101>;
|
|
4082
4355
|
|
|
4083
4356
|
export declare const Stepper: default_2.FC<StepperProps>;
|
|
4084
4357
|
|
|
@@ -4119,7 +4392,7 @@ export declare interface StepTabsProps {
|
|
|
4119
4392
|
className?: string;
|
|
4120
4393
|
}
|
|
4121
4394
|
|
|
4122
|
-
export declare const StepUpcomingIcon: React.FC<
|
|
4395
|
+
export declare const StepUpcomingIcon: React.FC<IconProps_102>;
|
|
4123
4396
|
|
|
4124
4397
|
export declare type SubtitleLayout = 'inline' | 'stacked';
|
|
4125
4398
|
|
|
@@ -4250,7 +4523,7 @@ export declare interface SwatchProps {
|
|
|
4250
4523
|
style?: default_2.CSSProperties;
|
|
4251
4524
|
}
|
|
4252
4525
|
|
|
4253
|
-
export declare const SyntheticWebhookIcon: React.FC<
|
|
4526
|
+
export declare const SyntheticWebhookIcon: React.FC<IconProps_103>;
|
|
4254
4527
|
|
|
4255
4528
|
export declare interface TabItem {
|
|
4256
4529
|
key: string;
|
|
@@ -4549,9 +4822,9 @@ export declare interface ThemeScopeProps {
|
|
|
4549
4822
|
children?: default_2.ReactNode;
|
|
4550
4823
|
}
|
|
4551
4824
|
|
|
4552
|
-
export declare const ThumbsDownIcon: React.FC<
|
|
4825
|
+
export declare const ThumbsDownIcon: React.FC<IconProps_104>;
|
|
4553
4826
|
|
|
4554
|
-
export declare const ThumbsUpIcon: React.FC<
|
|
4827
|
+
export declare const ThumbsUpIcon: React.FC<IconProps_105>;
|
|
4555
4828
|
|
|
4556
4829
|
export declare const Toggle: default_2.ForwardRefExoticComponent<ToggleProps & default_2.RefAttributes<HTMLElement>>;
|
|
4557
4830
|
|
|
@@ -4658,6 +4931,7 @@ declare interface TooltipProps {
|
|
|
4658
4931
|
* suppress the tooltip for this interaction. Lets wrappers defer expensive
|
|
4659
4932
|
* checks (e.g. truncation measurement) to interaction time instead of mount. */
|
|
4660
4933
|
shouldShow?: () => boolean;
|
|
4934
|
+
suppressed?: boolean;
|
|
4661
4935
|
triggerAs?: 'div' | 'span';
|
|
4662
4936
|
inline?: boolean;
|
|
4663
4937
|
/** Whether the tooltip acts as the trigger's accessible description. False where the
|
|
@@ -4665,11 +4939,11 @@ declare interface TooltipProps {
|
|
|
4665
4939
|
describesTrigger?: boolean;
|
|
4666
4940
|
}
|
|
4667
4941
|
|
|
4668
|
-
export declare const TrashIcon: React.FC<
|
|
4942
|
+
export declare const TrashIcon: React.FC<IconProps_106>;
|
|
4669
4943
|
|
|
4670
|
-
export declare const TriangleDownIcon: React.FC<
|
|
4944
|
+
export declare const TriangleDownIcon: React.FC<IconProps_107>;
|
|
4671
4945
|
|
|
4672
|
-
export declare const TriangleRightIcon: React.FC<
|
|
4946
|
+
export declare const TriangleRightIcon: React.FC<IconProps_108>;
|
|
4673
4947
|
|
|
4674
4948
|
/**
|
|
4675
4949
|
* TruncatedTooltip renders its children in a single-line truncating container
|
|
@@ -4711,9 +4985,20 @@ export declare const Typography: {
|
|
|
4711
4985
|
Text: FC<TextProps>;
|
|
4712
4986
|
};
|
|
4713
4987
|
|
|
4714
|
-
export declare const UnarchiveIcon: React.FC<
|
|
4988
|
+
export declare const UnarchiveIcon: React.FC<IconProps_109>;
|
|
4989
|
+
|
|
4990
|
+
export declare const UploadIcon: React.FC<IconProps_110>;
|
|
4715
4991
|
|
|
4716
|
-
export declare const
|
|
4992
|
+
export declare const UsageCard: default_2.FC<UsageCardProps>;
|
|
4993
|
+
|
|
4994
|
+
export declare interface UsageCardProps {
|
|
4995
|
+
title: default_2.ReactNode;
|
|
4996
|
+
titleLink?: default_2.ReactElement;
|
|
4997
|
+
detail?: default_2.ReactNode;
|
|
4998
|
+
children: default_2.ReactNode;
|
|
4999
|
+
'aria-label': string;
|
|
5000
|
+
busy?: boolean;
|
|
5001
|
+
}
|
|
4717
5002
|
|
|
4718
5003
|
/**
|
|
4719
5004
|
* Whether a SidePanel, Modal or CommandPalette is open anywhere, for host chrome that has to move out of the way.
|
|
@@ -4722,15 +5007,17 @@ export declare const UploadIcon: React.FC<IconProps_102>;
|
|
|
4722
5007
|
*/
|
|
4723
5008
|
export declare const useHasOpenOverlay: () => boolean;
|
|
4724
5009
|
|
|
4725
|
-
export declare const
|
|
5010
|
+
export declare const useSidebarCollapsed: () => boolean;
|
|
5011
|
+
|
|
5012
|
+
export declare const WarningCircleFilled: React.FC<IconProps_111>;
|
|
4726
5013
|
|
|
4727
|
-
export declare const WarningTriangleIcon: React.FC<
|
|
5014
|
+
export declare const WarningTriangleIcon: React.FC<IconProps_112>;
|
|
4728
5015
|
|
|
4729
|
-
export declare const WebhookEventsIcon: React.FC<
|
|
5016
|
+
export declare const WebhookEventsIcon: React.FC<IconProps_113>;
|
|
4730
5017
|
|
|
4731
|
-
export declare const WebhookIcon: React.FC<
|
|
5018
|
+
export declare const WebhookIcon: React.FC<IconProps_114>;
|
|
4732
5019
|
|
|
4733
|
-
export declare const WebhookSigningSecretIcon: React.FC<
|
|
5020
|
+
export declare const WebhookSigningSecretIcon: React.FC<IconProps_115>;
|
|
4734
5021
|
|
|
4735
5022
|
export declare type WidthSize = 'large' | 'medium' | 'small' | 'xsmall';
|
|
4736
5023
|
|