opus-react 0.3.6 → 0.4.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.cjs +11269 -5369
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +13444 -8574
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +647 -25
- package/dist/index.d.ts +647 -25
- package/dist/index.js +10493 -4567
- package/dist/index.js.map +1 -1
- package/dist/styles.css +32 -16
- package/dist/styles.css.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
|
-
import { ButtonHTMLAttributes, ReactNode, ChangeEventHandler, Ref, CSSProperties, ComponentPropsWithoutRef, RefObject, HTMLAttributes, MouseEvent, ElementType } from 'react';
|
|
2
|
+
import { ButtonHTMLAttributes, ReactNode, ChangeEventHandler, Ref, FormEvent, CSSProperties, ComponentPropsWithoutRef, RefObject, HTMLAttributes, MouseEvent, ComponentProps, ElementType } from 'react';
|
|
3
3
|
import { StyleSpecification } from 'maplibre-gl';
|
|
4
|
+
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
|
4
5
|
|
|
5
6
|
type Theme = "light" | "dark";
|
|
6
7
|
type FieldMode = "stacked" | "flagged";
|
|
@@ -46,7 +47,8 @@ type DrawerSide = "left" | "right" | "top" | "bottom";
|
|
|
46
47
|
type PopoverPlacement = "top" | "right" | "bottom" | "left";
|
|
47
48
|
type DropdownMenuPlacement = "bottom-start" | "bottom-end" | "top-start" | "top-end";
|
|
48
49
|
type TabsOrientation = "horizontal" | "vertical";
|
|
49
|
-
type TabsVariant = "line" | "contained";
|
|
50
|
+
type TabsVariant = "line" | "contained" | "card";
|
|
51
|
+
type TabsPanelMode = "active" | "crossfade";
|
|
50
52
|
type SurfaceTone = "default" | "accent" | "success" | "warning" | "danger" | "info";
|
|
51
53
|
type SurfaceDensity = "comfortable" | "compact";
|
|
52
54
|
type TableDensity = "comfortable" | "compact";
|
|
@@ -192,16 +194,21 @@ type FileFieldProps = {
|
|
|
192
194
|
};
|
|
193
195
|
declare function FileField({ error, fileName, footnote, help, id, label, labelPosition, mode, onChange, size, }: FileFieldProps): react.JSX.Element;
|
|
194
196
|
|
|
197
|
+
type ImageCropFit = "cover" | "contain";
|
|
198
|
+
|
|
195
199
|
type ImageCropUploadResult = {
|
|
196
200
|
file: File;
|
|
197
201
|
previewUrl: string;
|
|
198
202
|
};
|
|
203
|
+
type ImageCropShape = "circle" | "rect";
|
|
199
204
|
type ImageCropUploadFieldProps = {
|
|
200
205
|
accept?: string;
|
|
201
206
|
changeButtonLabel?: string;
|
|
202
207
|
cropButtonLabel?: string;
|
|
203
208
|
embedded?: boolean;
|
|
204
209
|
error?: string;
|
|
210
|
+
/** cover fills the frame; contain fits the full image (zoom out to see max width/height). */
|
|
211
|
+
fit?: ImageCropFit;
|
|
205
212
|
help?: string;
|
|
206
213
|
hideActions?: boolean;
|
|
207
214
|
id: string;
|
|
@@ -218,15 +225,22 @@ type ImageCropUploadFieldProps = {
|
|
|
218
225
|
canApply: boolean;
|
|
219
226
|
isCropping: boolean;
|
|
220
227
|
}) => void;
|
|
228
|
+
/** Square output size for circle crops. Ignored when outputWidth/Height are set. */
|
|
221
229
|
outputSize?: number;
|
|
230
|
+
outputHeight?: number;
|
|
231
|
+
outputWidth?: number;
|
|
232
|
+
shape?: ImageCropShape;
|
|
222
233
|
size?: InputControlSize;
|
|
223
234
|
uploadLabel?: string;
|
|
224
235
|
value?: string;
|
|
236
|
+
/** Square viewport size for circle crops. */
|
|
225
237
|
viewportSize?: number;
|
|
238
|
+
viewportHeight?: number;
|
|
239
|
+
viewportWidth?: number;
|
|
226
240
|
zoomLabel?: string;
|
|
227
241
|
zoomStep?: number;
|
|
228
242
|
};
|
|
229
|
-
declare function ImageCropUploadField({ accept, changeButtonLabel, cropButtonLabel, embedded, error, help, hideActions, id, label, labelPosition, labelVisuallyHidden, maxZoom, minZoom, mode, onChange, onCrop, onCropAvailabilityChange, outputSize, size, uploadLabel, value, viewportSize, zoomLabel, zoomStep, }: ImageCropUploadFieldProps): react.JSX.Element;
|
|
243
|
+
declare function ImageCropUploadField({ accept, changeButtonLabel, cropButtonLabel, embedded, error, fit, help, hideActions, id, label, labelPosition, labelVisuallyHidden, maxZoom, minZoom, mode, onChange, onCrop, onCropAvailabilityChange, outputHeight, outputSize, outputWidth, shape, size, uploadLabel, value, viewportHeight, viewportSize, viewportWidth, zoomLabel, zoomStep, }: ImageCropUploadFieldProps): react.JSX.Element;
|
|
230
244
|
|
|
231
245
|
type NumberFieldProps = {
|
|
232
246
|
error?: string;
|
|
@@ -910,17 +924,24 @@ type TabItem = {
|
|
|
910
924
|
};
|
|
911
925
|
type TabsProps = {
|
|
912
926
|
"aria-label"?: string;
|
|
927
|
+
className?: string;
|
|
928
|
+
/** Card variant only: inset padding on the panel body (active mode). Prefer wrapping panel content instead. */
|
|
929
|
+
cardPanelPadding?: boolean;
|
|
913
930
|
defaultValue?: string;
|
|
914
931
|
fitted?: boolean;
|
|
915
932
|
items: TabItem[];
|
|
916
933
|
onValueChange?: (value: string) => void;
|
|
917
934
|
orientation?: TabsOrientation;
|
|
935
|
+
panelClassName?: string;
|
|
936
|
+
panelContentClassName?: string;
|
|
937
|
+
/** How tab panels are rendered. Card variant defaults to crossfade. */
|
|
938
|
+
panelMode?: TabsPanelMode;
|
|
918
939
|
/** Content aligned to the end of the tab row (e.g. context actions). */
|
|
919
940
|
trailing?: ReactNode;
|
|
920
941
|
value?: string;
|
|
921
942
|
variant?: TabsVariant;
|
|
922
943
|
};
|
|
923
|
-
declare function Tabs({ "aria-label": ariaLabel, defaultValue, fitted, items, onValueChange, orientation, trailing, value, variant, }: TabsProps): react.JSX.Element;
|
|
944
|
+
declare function Tabs({ "aria-label": ariaLabel, cardPanelPadding, className, defaultValue, fitted, items, onValueChange, orientation, panelClassName, panelContentClassName, panelMode, trailing, value, variant, }: TabsProps): react.JSX.Element;
|
|
924
945
|
|
|
925
946
|
type CardProps = {
|
|
926
947
|
actions?: ReactNode;
|
|
@@ -1064,6 +1085,115 @@ type TrendBadgeProps = {
|
|
|
1064
1085
|
};
|
|
1065
1086
|
declare function TrendBadge({ direction, value }: TrendBadgeProps): react.JSX.Element;
|
|
1066
1087
|
|
|
1088
|
+
type CrmWorkspaceLabVariant = "appointment-diary" | "company-directory" | "contact-directory" | "document-manager" | "notification-centre" | "product-catalogue" | "quotation-builder" | "sales-invoice" | "sales-order" | "sales-pipeline" | "stock-control" | "system-configuration" | "task-workspace";
|
|
1089
|
+
type CrmWorkspaceLabProps = {
|
|
1090
|
+
variant: CrmWorkspaceLabVariant;
|
|
1091
|
+
onAction?: (action: string) => void;
|
|
1092
|
+
};
|
|
1093
|
+
declare function CrmWorkspaceLab({ variant, onAction }: CrmWorkspaceLabProps): react.JSX.Element;
|
|
1094
|
+
|
|
1095
|
+
type OtpFieldProps = {
|
|
1096
|
+
error?: string;
|
|
1097
|
+
help?: string;
|
|
1098
|
+
id: string;
|
|
1099
|
+
label: string;
|
|
1100
|
+
labelPosition?: LabelPosition;
|
|
1101
|
+
length?: number;
|
|
1102
|
+
mode?: FieldMode;
|
|
1103
|
+
required?: boolean;
|
|
1104
|
+
value: string;
|
|
1105
|
+
onChange: (value: string) => void;
|
|
1106
|
+
onComplete?: (value: string) => void;
|
|
1107
|
+
};
|
|
1108
|
+
declare function OtpField({ error, help, id, label, labelPosition, length, mode, required, value, onChange, onComplete }: OtpFieldProps): react.JSX.Element;
|
|
1109
|
+
|
|
1110
|
+
type ShellProps = {
|
|
1111
|
+
error?: string;
|
|
1112
|
+
help?: string;
|
|
1113
|
+
id: string;
|
|
1114
|
+
label: string;
|
|
1115
|
+
labelPosition?: LabelPosition;
|
|
1116
|
+
mode?: FieldMode;
|
|
1117
|
+
required?: boolean;
|
|
1118
|
+
};
|
|
1119
|
+
type DateRangeValue = {
|
|
1120
|
+
from: string;
|
|
1121
|
+
to: string;
|
|
1122
|
+
};
|
|
1123
|
+
type DateRangeFieldProps = ShellProps & {
|
|
1124
|
+
value: DateRangeValue;
|
|
1125
|
+
min?: string;
|
|
1126
|
+
max?: string;
|
|
1127
|
+
onChange: (value: DateRangeValue) => void;
|
|
1128
|
+
};
|
|
1129
|
+
declare function DateRangeField({ error, help, id, label, labelPosition, max, min, mode, required, value, onChange }: DateRangeFieldProps): react.JSX.Element;
|
|
1130
|
+
type ComboboxOption = {
|
|
1131
|
+
label: string;
|
|
1132
|
+
value: string;
|
|
1133
|
+
};
|
|
1134
|
+
type ComboboxFieldProps = ShellProps & {
|
|
1135
|
+
options: ComboboxOption[];
|
|
1136
|
+
placeholder?: string;
|
|
1137
|
+
value: string;
|
|
1138
|
+
onChange: (value: string) => void;
|
|
1139
|
+
};
|
|
1140
|
+
declare function ComboboxField({ error, help, id, label, labelPosition, mode, options, placeholder, required, value, onChange }: ComboboxFieldProps): react.JSX.Element;
|
|
1141
|
+
type CurrencyFieldProps = ShellProps & {
|
|
1142
|
+
currency?: string;
|
|
1143
|
+
locale?: string;
|
|
1144
|
+
value: number | null;
|
|
1145
|
+
onChange: (value: number | null) => void;
|
|
1146
|
+
};
|
|
1147
|
+
declare function CurrencyField({ currency, error, help, id, label, labelPosition, locale, mode, required, value, onChange }: CurrencyFieldProps): react.JSX.Element;
|
|
1148
|
+
type MaskedFieldProps = ShellProps & {
|
|
1149
|
+
mask: string;
|
|
1150
|
+
placeholder?: string;
|
|
1151
|
+
value: string;
|
|
1152
|
+
onChange: (value: string) => void;
|
|
1153
|
+
};
|
|
1154
|
+
declare function MaskedField({ error, help, id, label, labelPosition, mask, mode, placeholder, required, value, onChange }: MaskedFieldProps): react.JSX.Element;
|
|
1155
|
+
type MultiFileItem = File | {
|
|
1156
|
+
name: string;
|
|
1157
|
+
size: number;
|
|
1158
|
+
};
|
|
1159
|
+
type MultiFileFieldProps = ShellProps & {
|
|
1160
|
+
accept?: string;
|
|
1161
|
+
files: MultiFileItem[];
|
|
1162
|
+
maxFiles?: number;
|
|
1163
|
+
onChange: (files: MultiFileItem[]) => void;
|
|
1164
|
+
};
|
|
1165
|
+
declare function MultiFileField({ accept, error, files, help, id, label, labelPosition, maxFiles, mode, required, onChange }: MultiFileFieldProps): react.JSX.Element;
|
|
1166
|
+
type CheckboxGroupOption = {
|
|
1167
|
+
disabled?: boolean;
|
|
1168
|
+
label: string;
|
|
1169
|
+
value: string;
|
|
1170
|
+
};
|
|
1171
|
+
type CheckboxGroupFieldProps = ShellProps & {
|
|
1172
|
+
options: CheckboxGroupOption[];
|
|
1173
|
+
value: string[];
|
|
1174
|
+
onChange: (value: string[]) => void;
|
|
1175
|
+
};
|
|
1176
|
+
declare function CheckboxGroupField({ error, help, id, label, labelPosition, mode, options, required, value, onChange }: CheckboxGroupFieldProps): react.JSX.Element;
|
|
1177
|
+
type FormValidationSummaryProps = {
|
|
1178
|
+
errors: Array<{
|
|
1179
|
+
fieldId?: string;
|
|
1180
|
+
message: string;
|
|
1181
|
+
}>;
|
|
1182
|
+
title?: string;
|
|
1183
|
+
};
|
|
1184
|
+
declare function FormValidationSummary({ errors, title }: FormValidationSummaryProps): react.JSX.Element | null;
|
|
1185
|
+
declare function Form({ children, onSubmit }: {
|
|
1186
|
+
children: ReactNode;
|
|
1187
|
+
onSubmit?: (event: FormEvent<HTMLFormElement>) => void;
|
|
1188
|
+
}): react.JSX.Element;
|
|
1189
|
+
declare function FormSection({ children, title }: {
|
|
1190
|
+
children: ReactNode;
|
|
1191
|
+
title?: string;
|
|
1192
|
+
}): react.JSX.Element;
|
|
1193
|
+
declare function FormActions({ children }: {
|
|
1194
|
+
children: ReactNode;
|
|
1195
|
+
}): react.JSX.Element;
|
|
1196
|
+
|
|
1067
1197
|
type PanelProps = {
|
|
1068
1198
|
actions?: ReactNode;
|
|
1069
1199
|
bordered?: boolean;
|
|
@@ -1268,10 +1398,66 @@ type CarouselProps = {
|
|
|
1268
1398
|
images: GalleryImage[];
|
|
1269
1399
|
initialIndex?: number;
|
|
1270
1400
|
loop?: boolean;
|
|
1401
|
+
onAction?: (action: string) => void;
|
|
1271
1402
|
showCaptions?: boolean;
|
|
1272
1403
|
showPips?: boolean;
|
|
1273
1404
|
};
|
|
1274
|
-
declare function Carousel({ ariaLabel, images, initialIndex, loop, showCaptions, showPips, }: CarouselProps): react.JSX.Element;
|
|
1405
|
+
declare function Carousel({ ariaLabel, images, initialIndex, loop, onAction, showCaptions, showPips, }: CarouselProps): react.JSX.Element;
|
|
1406
|
+
|
|
1407
|
+
type VideoTrack = {
|
|
1408
|
+
id?: string;
|
|
1409
|
+
/** Seconds to park on for the idle preview frame (before play). */
|
|
1410
|
+
previewTime?: number;
|
|
1411
|
+
src: string;
|
|
1412
|
+
title?: string;
|
|
1413
|
+
};
|
|
1414
|
+
type VideoPlayerProps = {
|
|
1415
|
+
autoPlay?: boolean;
|
|
1416
|
+
className?: string;
|
|
1417
|
+
/** Removes the component frame so the player can fill a window or media surface edge-to-edge. */
|
|
1418
|
+
edgeToEdge?: boolean;
|
|
1419
|
+
initialIndex?: number;
|
|
1420
|
+
loop?: boolean;
|
|
1421
|
+
loopPlaylist?: boolean;
|
|
1422
|
+
muted?: boolean;
|
|
1423
|
+
/** Reports every user-facing player action. */
|
|
1424
|
+
onAction?: (action: string) => void;
|
|
1425
|
+
shareUrl?: string;
|
|
1426
|
+
showShare?: boolean;
|
|
1427
|
+
showTitle?: boolean;
|
|
1428
|
+
/** Preferred multi-track API. Falls back to `src` / `title`. */
|
|
1429
|
+
tracks?: VideoTrack[];
|
|
1430
|
+
src?: string;
|
|
1431
|
+
title?: string;
|
|
1432
|
+
};
|
|
1433
|
+
declare function VideoPlayer({ autoPlay, className, edgeToEdge, initialIndex, loop, loopPlaylist, muted, onAction, shareUrl, showShare, showTitle, src, title, tracks, }: VideoPlayerProps): react.JSX.Element | null;
|
|
1434
|
+
|
|
1435
|
+
type AudioTrack = {
|
|
1436
|
+
artist?: string;
|
|
1437
|
+
artworkSrc?: string;
|
|
1438
|
+
id?: string;
|
|
1439
|
+
src: string;
|
|
1440
|
+
title?: string;
|
|
1441
|
+
};
|
|
1442
|
+
type AudioPlayerProps = {
|
|
1443
|
+
artist?: string;
|
|
1444
|
+
artworkSrc?: string;
|
|
1445
|
+
autoPlay?: boolean;
|
|
1446
|
+
className?: string;
|
|
1447
|
+
initialIndex?: number;
|
|
1448
|
+
loop?: boolean;
|
|
1449
|
+
loopPlaylist?: boolean;
|
|
1450
|
+
/** Reports every user-facing player action. */
|
|
1451
|
+
onAction?: (action: string) => void;
|
|
1452
|
+
shareUrl?: string;
|
|
1453
|
+
showArtwork?: boolean;
|
|
1454
|
+
showShare?: boolean;
|
|
1455
|
+
/** Preferred multi-track API. Falls back to `src` / `title` / `artist` / `artworkSrc`. */
|
|
1456
|
+
tracks?: AudioTrack[];
|
|
1457
|
+
src?: string;
|
|
1458
|
+
title?: string;
|
|
1459
|
+
};
|
|
1460
|
+
declare function AudioPlayer({ artist, artworkSrc, autoPlay, className, initialIndex, loop, loopPlaylist, onAction, shareUrl, showArtwork, showShare, src, title, tracks, }: AudioPlayerProps): react.JSX.Element | null;
|
|
1275
1461
|
|
|
1276
1462
|
type LightboxProps = {
|
|
1277
1463
|
dismissOnBackdrop?: boolean;
|
|
@@ -1397,6 +1583,7 @@ declare function Statistic({ label, prefix, suffix, trend, trendLabel, value, }:
|
|
|
1397
1583
|
|
|
1398
1584
|
type ListItem = {
|
|
1399
1585
|
description?: string;
|
|
1586
|
+
id?: string;
|
|
1400
1587
|
icon?: string;
|
|
1401
1588
|
meta?: string;
|
|
1402
1589
|
title: string;
|
|
@@ -1405,8 +1592,9 @@ type ListProps = {
|
|
|
1405
1592
|
density?: SurfaceDensity;
|
|
1406
1593
|
items: ListItem[];
|
|
1407
1594
|
ordered?: boolean;
|
|
1595
|
+
onItemClick?: (item: ListItem, index: number) => void;
|
|
1408
1596
|
};
|
|
1409
|
-
declare function List({ density, items, ordered }: ListProps): react.JSX.Element;
|
|
1597
|
+
declare function List({ density, items, ordered, onItemClick }: ListProps): react.JSX.Element;
|
|
1410
1598
|
|
|
1411
1599
|
type DescriptionListItem = {
|
|
1412
1600
|
details: string;
|
|
@@ -1426,8 +1614,9 @@ type PropertyGridItem = {
|
|
|
1426
1614
|
type PropertyGridProps = {
|
|
1427
1615
|
bordered?: boolean;
|
|
1428
1616
|
items: PropertyGridItem[];
|
|
1617
|
+
onCopy?: (item: PropertyGridItem, index: number) => void;
|
|
1429
1618
|
};
|
|
1430
|
-
declare function PropertyGrid({ bordered, items }: PropertyGridProps): react.JSX.Element;
|
|
1619
|
+
declare function PropertyGrid({ bordered, items, onCopy }: PropertyGridProps): react.JSX.Element;
|
|
1431
1620
|
|
|
1432
1621
|
type StackAlign = "start" | "center" | "end" | "stretch";
|
|
1433
1622
|
type StackJustify = "start" | "center" | "end" | "between" | "around";
|
|
@@ -1719,6 +1908,24 @@ type TileProps = {
|
|
|
1719
1908
|
};
|
|
1720
1909
|
declare function Tile({ className, href, icon, label, onClick, role, tone, withGradients, }: TileProps): react.JSX.Element;
|
|
1721
1910
|
|
|
1911
|
+
type AccentPreferenceState = {
|
|
1912
|
+
accent: string;
|
|
1913
|
+
accentPairId: string;
|
|
1914
|
+
accentSecondary: string;
|
|
1915
|
+
};
|
|
1916
|
+
type TileAccentPreferenceState = {
|
|
1917
|
+
tileAccent: string;
|
|
1918
|
+
tileAccentSecondary: string;
|
|
1919
|
+
};
|
|
1920
|
+
declare global {
|
|
1921
|
+
interface Window {
|
|
1922
|
+
__OPUS_ACCENT__?: AccentPreferenceState;
|
|
1923
|
+
__OPUS_TILE_ACCENT__?: TileAccentPreferenceState;
|
|
1924
|
+
}
|
|
1925
|
+
}
|
|
1926
|
+
declare function createAccentStyle(accent: string, secondary?: string): CSSProperties;
|
|
1927
|
+
declare function createTileAccentStyle(tileAccent: string, tileAccentSecondary?: string): CSSProperties;
|
|
1928
|
+
|
|
1722
1929
|
type TilesLayout = "fill" | "fixed";
|
|
1723
1930
|
type TileItem = {
|
|
1724
1931
|
href?: string;
|
|
@@ -1962,11 +2169,12 @@ type NotesActivityProps = {
|
|
|
1962
2169
|
/** When false, the built-in Add Note/Activity trigger is hidden (use an external control). */
|
|
1963
2170
|
showComposerTrigger?: boolean;
|
|
1964
2171
|
showEmoji?: boolean;
|
|
2172
|
+
showFooter?: boolean;
|
|
1965
2173
|
showMention?: boolean;
|
|
1966
2174
|
showTabs?: boolean;
|
|
1967
2175
|
showTags?: boolean;
|
|
1968
2176
|
};
|
|
1969
|
-
declare function NotesActivity({ activeTab: controlledActiveTab, addActivityButtonLabel, addNoteButtonLabel, className, composerOpen: controlledComposerOpen, composerPlaceholder, defaultComposerOpen, defaultTab, density, activityFooterHref, activityFooterLabel, items, notesFooterHref, notesFooterLabel, noteAuthorAvatarSrc, noteAuthorName, noteTagOptions, onActivityFooterClick, onComposerOpenChange, onItemClick, onNoteAttachClick, onNoteEmojiSelect, onNoteMentionClick, onNotesFooterClick, onNoteSave, onOpenTask, onTabChange, showAttach, showComposerTrigger, showEmoji, showMention, showTabs, showTags, }: NotesActivityProps): react.JSX.Element;
|
|
2177
|
+
declare function NotesActivity({ activeTab: controlledActiveTab, addActivityButtonLabel, addNoteButtonLabel, className, composerOpen: controlledComposerOpen, composerPlaceholder, defaultComposerOpen, defaultTab, density, activityFooterHref, activityFooterLabel, items, notesFooterHref, notesFooterLabel, noteAuthorAvatarSrc, noteAuthorName, noteTagOptions, onActivityFooterClick, onComposerOpenChange, onItemClick, onNoteAttachClick, onNoteEmojiSelect, onNoteMentionClick, onNotesFooterClick, onNoteSave, onOpenTask, onTabChange, showAttach, showComposerTrigger, showEmoji, showFooter, showMention, showTabs, showTags, }: NotesActivityProps): react.JSX.Element;
|
|
1970
2178
|
|
|
1971
2179
|
type TopPerformingUserItem = {
|
|
1972
2180
|
displayValue: string;
|
|
@@ -2185,8 +2393,9 @@ type KanbanBoardProps = {
|
|
|
2185
2393
|
cards: Record<string, KanbanCard>;
|
|
2186
2394
|
columns: KanbanColumn[];
|
|
2187
2395
|
onChange?: (columns: KanbanColumn[]) => void;
|
|
2396
|
+
onCardClick?: (card: KanbanCard) => void;
|
|
2188
2397
|
};
|
|
2189
|
-
declare function KanbanBoard({ cards, columns, onChange }: KanbanBoardProps): react.JSX.Element;
|
|
2398
|
+
declare function KanbanBoard({ cards, columns, onCardClick, onChange }: KanbanBoardProps): react.JSX.Element;
|
|
2190
2399
|
|
|
2191
2400
|
type CalendarEvent = {
|
|
2192
2401
|
date: string;
|
|
@@ -2226,8 +2435,9 @@ type ResourcePlannerProps = {
|
|
|
2226
2435
|
items: ResourcePlannerItem[];
|
|
2227
2436
|
resources: ResourcePlannerResource[];
|
|
2228
2437
|
startHour?: number;
|
|
2438
|
+
onItemClick?: (item: ResourcePlannerItem) => void;
|
|
2229
2439
|
};
|
|
2230
|
-
declare function ResourcePlanner({ endHour, items, resources, startHour, }: ResourcePlannerProps): react.JSX.Element;
|
|
2440
|
+
declare function ResourcePlanner({ endHour, items, onItemClick, resources, startHour, }: ResourcePlannerProps): react.JSX.Element;
|
|
2231
2441
|
|
|
2232
2442
|
type ContentTimelineTagTone = NoteTagTone;
|
|
2233
2443
|
type ContentTimelineTag = {
|
|
@@ -2261,7 +2471,7 @@ type ContentTimelineProps = {
|
|
|
2261
2471
|
};
|
|
2262
2472
|
declare function ContentTimeline({ groups, items, onItemClick, onItemDoubleClick, variant }: ContentTimelineProps): react.JSX.Element;
|
|
2263
2473
|
|
|
2264
|
-
type ContactDetailsAction = "add-note" | "add-task" | "call" | "change-avatar" | "edit" | "email" | "export-contact" | "log-activity" | "reset-password" | "schedule-meeting";
|
|
2474
|
+
type ContactDetailsAction = "add-note" | "add-task" | "call" | "change-avatar" | "edit" | "email" | "export-contact" | "log-activity" | "open-document" | "open-document-folder" | "reset-password" | "schedule-meeting";
|
|
2265
2475
|
type ContactCompany = {
|
|
2266
2476
|
department?: string;
|
|
2267
2477
|
employees?: string;
|
|
@@ -2297,6 +2507,7 @@ type ContactDetailsProps = {
|
|
|
2297
2507
|
onPasswordReset?: () => void;
|
|
2298
2508
|
showActions?: boolean;
|
|
2299
2509
|
showStatus?: boolean;
|
|
2510
|
+
tabsVariant?: TabsVariant;
|
|
2300
2511
|
};
|
|
2301
2512
|
declare function getPrimaryCompany(companies?: ContactCompany[]): ContactCompany | undefined;
|
|
2302
2513
|
declare function resolveContactDetailsContact(contact: Partial<ContactDetailsContact> | undefined, defaults: ContactDetailsContact): ContactDetailsContact;
|
|
@@ -2328,10 +2539,11 @@ type ContactCardProps = {
|
|
|
2328
2539
|
ownerAvatarSrc?: string;
|
|
2329
2540
|
showActions?: boolean;
|
|
2330
2541
|
showStatus?: boolean;
|
|
2542
|
+
tabsVariant?: TabsVariant;
|
|
2331
2543
|
};
|
|
2332
|
-
declare function ContactCard({ className, contact, isStaffRecord, moreActions, onAction, onAvatarChange, onPasswordReset, ownerAvatarSrc, showActions, showStatus, }: ContactCardProps): react.JSX.Element;
|
|
2544
|
+
declare function ContactCard({ className, contact, isStaffRecord, moreActions, onAction, onAvatarChange, onPasswordReset, ownerAvatarSrc, showActions, showStatus, tabsVariant, }: ContactCardProps): react.JSX.Element;
|
|
2333
2545
|
|
|
2334
|
-
declare function ContactDetails({ contact, isStaffRecord, onAction, onAvatarChange, onPasswordReset, showActions, showStatus, }: ContactDetailsProps): react.JSX.Element;
|
|
2546
|
+
declare function ContactDetails({ contact, isStaffRecord, onAction, onAvatarChange, onPasswordReset, showActions, showStatus, tabsVariant, }: ContactDetailsProps): react.JSX.Element;
|
|
2335
2547
|
|
|
2336
2548
|
type ContactIdentityCardProps = {
|
|
2337
2549
|
avatarSrc?: string;
|
|
@@ -2346,13 +2558,43 @@ type ContactIdentityCardProps = {
|
|
|
2346
2558
|
};
|
|
2347
2559
|
declare function ContactIdentityCard({ avatarSrc, className, companies, isStaffRecord, name, onAvatarChange, photoUploadTitle, showStatus, status, }: ContactIdentityCardProps): react.JSX.Element;
|
|
2348
2560
|
|
|
2561
|
+
type CompactDocumentView = "list" | "grid" | "columns";
|
|
2562
|
+
type CompactDocumentNode = {
|
|
2563
|
+
children?: CompactDocumentNode[];
|
|
2564
|
+
id: string;
|
|
2565
|
+
kind: "folder" | "file";
|
|
2566
|
+
meta?: string;
|
|
2567
|
+
name: string;
|
|
2568
|
+
status?: string;
|
|
2569
|
+
};
|
|
2570
|
+
type CompactDocumentsProps = {
|
|
2571
|
+
ariaLabel?: string;
|
|
2572
|
+
className?: string;
|
|
2573
|
+
defaultView?: CompactDocumentView;
|
|
2574
|
+
documents: CompactDocumentNode[];
|
|
2575
|
+
onFileOpen?: (document: CompactDocumentNode) => void;
|
|
2576
|
+
onFolderOpen?: (folder: CompactDocumentNode) => void;
|
|
2577
|
+
onViewChange?: (view: CompactDocumentView) => void;
|
|
2578
|
+
showSearch?: boolean;
|
|
2579
|
+
showViewOptions?: boolean;
|
|
2580
|
+
};
|
|
2581
|
+
declare function CompactDocuments({ ariaLabel, className, defaultView, documents, onFileOpen, onFolderOpen, onViewChange, showSearch, showViewOptions, }: CompactDocumentsProps): react.JSX.Element;
|
|
2582
|
+
|
|
2583
|
+
type ContactNotesWorkspaceTab = "notes" | "activities" | "documents" | "additional";
|
|
2349
2584
|
type ContactNotesActivityProps = {
|
|
2585
|
+
activeTab?: ContactNotesWorkspaceTab;
|
|
2350
2586
|
className?: string;
|
|
2587
|
+
defaultTab?: ContactNotesWorkspaceTab;
|
|
2351
2588
|
items?: NotesActivityItem[];
|
|
2352
2589
|
onAction?: (action: ContactDetailsAction) => void;
|
|
2353
2590
|
onAddNote?: (note: string) => void;
|
|
2591
|
+
onDocumentOpen?: (document: CompactDocumentNode) => void;
|
|
2592
|
+
onDocumentFolderOpen?: (folder: CompactDocumentNode) => void;
|
|
2593
|
+
onDocumentViewChange?: (view: CompactDocumentView) => void;
|
|
2594
|
+
onTabChange?: (tab: ContactNotesWorkspaceTab) => void;
|
|
2595
|
+
tabsVariant?: TabsVariant;
|
|
2354
2596
|
};
|
|
2355
|
-
declare function ContactNotesActivity({ className, items, onAction, onAddNote, }: ContactNotesActivityProps): react.JSX.Element;
|
|
2597
|
+
declare function ContactNotesActivity({ activeTab: controlledActiveTab, className, defaultTab, items, onAction, onAddNote, onDocumentOpen, onDocumentFolderOpen, onDocumentViewChange, onTabChange, tabsVariant, }: ContactNotesActivityProps): react.JSX.Element;
|
|
2356
2598
|
|
|
2357
2599
|
type ContactSummaryTab = "basic" | "other" | "security";
|
|
2358
2600
|
type ContactSummaryCardProps = {
|
|
@@ -2361,16 +2603,139 @@ type ContactSummaryCardProps = {
|
|
|
2361
2603
|
defaultTab?: ContactSummaryTab;
|
|
2362
2604
|
isStaffRecord?: boolean;
|
|
2363
2605
|
moreActions?: MoreActionsMenuItem[];
|
|
2364
|
-
onAction?: (action: ContactDetailsAction) => void;
|
|
2365
2606
|
onPasswordReset?: () => void;
|
|
2366
2607
|
ownerAvatarSrc?: string;
|
|
2367
2608
|
showActions?: boolean;
|
|
2609
|
+
tabsVariant?: TabsVariant;
|
|
2368
2610
|
};
|
|
2369
|
-
declare function ContactSummaryCard({ className, contact, defaultTab, isStaffRecord, moreActions, onPasswordReset, ownerAvatarSrc, showActions, }: ContactSummaryCardProps): react.JSX.Element;
|
|
2611
|
+
declare function ContactSummaryCard({ className, contact, defaultTab, isStaffRecord, moreActions, onPasswordReset, ownerAvatarSrc, showActions, tabsVariant, }: ContactSummaryCardProps): react.JSX.Element;
|
|
2370
2612
|
|
|
2371
2613
|
declare const defaultContact: ContactDetailsContact;
|
|
2372
2614
|
declare const defaultContactNotes: NotesActivityItem[];
|
|
2373
2615
|
|
|
2616
|
+
type CompanyDetailsAction = "add-contact" | "add-note" | "add-task" | "call" | "edit" | "email" | "export-company" | "log-activity" | "open-document" | "open-document-folder" | "schedule-meeting" | "visit-website";
|
|
2617
|
+
type CompanyContactPerson = {
|
|
2618
|
+
avatarSrc?: string;
|
|
2619
|
+
email?: string;
|
|
2620
|
+
id: string;
|
|
2621
|
+
jobTitle?: string;
|
|
2622
|
+
name: string;
|
|
2623
|
+
phone?: string;
|
|
2624
|
+
primary?: boolean;
|
|
2625
|
+
role?: string;
|
|
2626
|
+
};
|
|
2627
|
+
type CompanyBranch = {
|
|
2628
|
+
addressLine1: string;
|
|
2629
|
+
addressLine2?: string;
|
|
2630
|
+
city: string;
|
|
2631
|
+
country: string;
|
|
2632
|
+
id: string;
|
|
2633
|
+
label: string;
|
|
2634
|
+
phone?: string;
|
|
2635
|
+
postcode: string;
|
|
2636
|
+
primary?: boolean;
|
|
2637
|
+
type?: string;
|
|
2638
|
+
};
|
|
2639
|
+
type CompanyDetailsCompany = {
|
|
2640
|
+
annualRevenue?: string;
|
|
2641
|
+
branches: CompanyBranch[];
|
|
2642
|
+
dateCreated: string;
|
|
2643
|
+
dateLastEdited: string;
|
|
2644
|
+
email: string;
|
|
2645
|
+
employees: string;
|
|
2646
|
+
industry: string;
|
|
2647
|
+
logoSrc?: string;
|
|
2648
|
+
name: string;
|
|
2649
|
+
owner: string;
|
|
2650
|
+
phone: string;
|
|
2651
|
+
source: string;
|
|
2652
|
+
status: string;
|
|
2653
|
+
tags: string[];
|
|
2654
|
+
type: string;
|
|
2655
|
+
website: string;
|
|
2656
|
+
};
|
|
2657
|
+
type CompanyDetailsProps = {
|
|
2658
|
+
company?: Partial<CompanyDetailsCompany>;
|
|
2659
|
+
contacts?: CompanyContactPerson[];
|
|
2660
|
+
onAction?: (action: CompanyDetailsAction) => void;
|
|
2661
|
+
showActions?: boolean;
|
|
2662
|
+
showStatus?: boolean;
|
|
2663
|
+
tabsVariant?: TabsVariant;
|
|
2664
|
+
};
|
|
2665
|
+
declare function getPrimaryBranch(branches: CompanyBranch[]): CompanyBranch | undefined;
|
|
2666
|
+
declare function resolveCompanyDetailsCompany(company: Partial<CompanyDetailsCompany> | undefined, defaults: CompanyDetailsCompany): CompanyDetailsCompany;
|
|
2667
|
+
|
|
2668
|
+
type CompanyCardProps = {
|
|
2669
|
+
className?: string;
|
|
2670
|
+
company: CompanyDetailsCompany;
|
|
2671
|
+
moreActions?: MoreActionsMenuItem[];
|
|
2672
|
+
onAction?: (action: CompanyDetailsAction) => void;
|
|
2673
|
+
onLogoChange?: (previewUrl: string) => void;
|
|
2674
|
+
ownerAvatarSrc?: string;
|
|
2675
|
+
showActions?: boolean;
|
|
2676
|
+
showStatus?: boolean;
|
|
2677
|
+
tabsVariant?: TabsVariant;
|
|
2678
|
+
};
|
|
2679
|
+
declare function CompanyCard({ className, company, moreActions, onAction, onLogoChange, ownerAvatarSrc, showActions, showStatus, tabsVariant, }: CompanyCardProps): react.JSX.Element;
|
|
2680
|
+
|
|
2681
|
+
declare function CompanyDetails({ company, onAction, showActions, showStatus, tabsVariant, }: CompanyDetailsProps): react.JSX.Element;
|
|
2682
|
+
|
|
2683
|
+
type CompanyIdentityCardProps = {
|
|
2684
|
+
className?: string;
|
|
2685
|
+
employees?: string;
|
|
2686
|
+
industry?: string;
|
|
2687
|
+
logoSrc?: string;
|
|
2688
|
+
name: string;
|
|
2689
|
+
onLogoChange?: (previewUrl: string) => void;
|
|
2690
|
+
showStatus?: boolean;
|
|
2691
|
+
status?: string;
|
|
2692
|
+
type?: string;
|
|
2693
|
+
};
|
|
2694
|
+
declare function CompanyIdentityCard({ className, employees, industry, logoSrc, name, onLogoChange, showStatus, status, type, }: CompanyIdentityCardProps): react.JSX.Element;
|
|
2695
|
+
|
|
2696
|
+
type CompanyLogoUploadModalProps = {
|
|
2697
|
+
fieldId?: string;
|
|
2698
|
+
onClose: () => void;
|
|
2699
|
+
onLogoChange?: (previewUrl: string) => void;
|
|
2700
|
+
open: boolean;
|
|
2701
|
+
title?: string;
|
|
2702
|
+
value?: string;
|
|
2703
|
+
};
|
|
2704
|
+
declare function CompanyLogoUploadModal({ fieldId, onClose, onLogoChange, open, title, value, }: CompanyLogoUploadModalProps): react.JSX.Element;
|
|
2705
|
+
|
|
2706
|
+
type CompanyNotesWorkspaceTab = "notes" | "activities" | "contacts" | "documents";
|
|
2707
|
+
type CompanyNotesActivityProps = {
|
|
2708
|
+
activeTab?: CompanyNotesWorkspaceTab;
|
|
2709
|
+
className?: string;
|
|
2710
|
+
contacts?: CompanyContactPerson[];
|
|
2711
|
+
defaultTab?: CompanyNotesWorkspaceTab;
|
|
2712
|
+
items?: NotesActivityItem[];
|
|
2713
|
+
onAction?: (action: CompanyDetailsAction) => void;
|
|
2714
|
+
onAddNote?: (note: string) => void;
|
|
2715
|
+
onDocumentOpen?: (document: CompactDocumentNode) => void;
|
|
2716
|
+
onDocumentFolderOpen?: (folder: CompactDocumentNode) => void;
|
|
2717
|
+
onDocumentViewChange?: (view: CompactDocumentView) => void;
|
|
2718
|
+
onTabChange?: (tab: CompanyNotesWorkspaceTab) => void;
|
|
2719
|
+
tabsVariant?: TabsVariant;
|
|
2720
|
+
};
|
|
2721
|
+
declare function CompanyNotesActivity({ activeTab: controlledActiveTab, className, contacts, defaultTab, items, onAction, onAddNote, onDocumentOpen, onDocumentFolderOpen, onDocumentViewChange, onTabChange, tabsVariant, }: CompanyNotesActivityProps): react.JSX.Element;
|
|
2722
|
+
|
|
2723
|
+
type CompanySummaryTab = string;
|
|
2724
|
+
type CompanySummaryCardProps = {
|
|
2725
|
+
className?: string;
|
|
2726
|
+
company: CompanyDetailsCompany;
|
|
2727
|
+
defaultTab?: CompanySummaryTab;
|
|
2728
|
+
moreActions?: MoreActionsMenuItem[];
|
|
2729
|
+
ownerAvatarSrc?: string;
|
|
2730
|
+
showActions?: boolean;
|
|
2731
|
+
tabsVariant?: TabsVariant;
|
|
2732
|
+
};
|
|
2733
|
+
declare function CompanySummaryCard({ className, company, defaultTab, moreActions, ownerAvatarSrc, showActions, tabsVariant, }: CompanySummaryCardProps): react.JSX.Element;
|
|
2734
|
+
|
|
2735
|
+
declare const defaultCompany: CompanyDetailsCompany;
|
|
2736
|
+
declare const defaultCompanyContacts: CompanyContactPerson[];
|
|
2737
|
+
declare const defaultCompanyNotes: NotesActivityItem[];
|
|
2738
|
+
|
|
2374
2739
|
type TreeViewNode = {
|
|
2375
2740
|
children?: TreeViewNode[];
|
|
2376
2741
|
id: string;
|
|
@@ -2385,20 +2750,23 @@ declare function TreeView({ defaultExpandedIds, nodes }: TreeViewProps): react.J
|
|
|
2385
2750
|
type MasonryGridItem = {
|
|
2386
2751
|
body?: string;
|
|
2387
2752
|
height?: number;
|
|
2753
|
+
id?: string;
|
|
2388
2754
|
title: string;
|
|
2389
2755
|
};
|
|
2390
2756
|
type MasonryGridProps = {
|
|
2391
2757
|
columns?: number;
|
|
2392
2758
|
gap?: number;
|
|
2393
2759
|
items: MasonryGridItem[];
|
|
2760
|
+
onItemClick?: (item: MasonryGridItem, index: number) => void;
|
|
2394
2761
|
};
|
|
2395
|
-
declare function MasonryGrid({ columns, gap, items }: MasonryGridProps): react.JSX.Element;
|
|
2762
|
+
declare function MasonryGrid({ columns, gap, items, onItemClick }: MasonryGridProps): react.JSX.Element;
|
|
2396
2763
|
|
|
2397
2764
|
type JsonViewerProps = {
|
|
2398
2765
|
collapsedDepth?: number;
|
|
2766
|
+
onToggle?: (path: string, open: boolean) => void;
|
|
2399
2767
|
value: unknown;
|
|
2400
2768
|
};
|
|
2401
|
-
declare function JsonViewer({ collapsedDepth, value }: JsonViewerProps): react.JSX.Element;
|
|
2769
|
+
declare function JsonViewer({ collapsedDepth, onToggle, value }: JsonViewerProps): react.JSX.Element;
|
|
2402
2770
|
|
|
2403
2771
|
type IconSize = "sm" | "md" | "lg";
|
|
2404
2772
|
type IconTone = "default" | "muted" | "accent" | "success" | "warning" | "danger";
|
|
@@ -2642,6 +3010,7 @@ type MegaMenuFeatured = {
|
|
|
2642
3010
|
actionLabel?: string;
|
|
2643
3011
|
description: string;
|
|
2644
3012
|
eyebrow?: string;
|
|
3013
|
+
onAction?: () => void;
|
|
2645
3014
|
title: string;
|
|
2646
3015
|
};
|
|
2647
3016
|
type MegaMenuConfig = {
|
|
@@ -2660,6 +3029,7 @@ type MegaMenuProps = {
|
|
|
2660
3029
|
menus?: MegaMenuConfig[];
|
|
2661
3030
|
navigationId?: string;
|
|
2662
3031
|
onActiveMenuChange?: (menuId: string) => void;
|
|
3032
|
+
onFeaturedAction?: (featured: MegaMenuFeatured, menu: MegaMenuConfig) => void;
|
|
2663
3033
|
onOpenChange?: (open: boolean) => void;
|
|
2664
3034
|
onSelect?: (item: MegaMenuItem) => void;
|
|
2665
3035
|
open?: boolean;
|
|
@@ -2671,7 +3041,7 @@ declare const defaultMegaMenuFeatured: MegaMenuFeatured;
|
|
|
2671
3041
|
declare const defaultMegaMenuMenus: MegaMenuConfig[];
|
|
2672
3042
|
declare const defaultMegaMenuSections: MegaMenuSection[];
|
|
2673
3043
|
declare const defaultTopNavigationMegaMenus: MegaMenuConfig[];
|
|
2674
|
-
declare function MegaMenu({ activeMenu, closeOnEscape, closeOnOutside, density, featured, label, menus, navigationId, onActiveMenuChange, onOpenChange, onSelect, open, sections, staticPanel, triggerLabel, }: MegaMenuProps): react.JSX.Element;
|
|
3044
|
+
declare function MegaMenu({ activeMenu, closeOnEscape, closeOnOutside, density, featured, label, menus, navigationId, onActiveMenuChange, onFeaturedAction, onOpenChange, onSelect, open, sections, staticPanel, triggerLabel, }: MegaMenuProps): react.JSX.Element;
|
|
2675
3045
|
|
|
2676
3046
|
type TopNavigationSelectItem = {
|
|
2677
3047
|
description?: string;
|
|
@@ -2741,12 +3111,39 @@ type AccentColor = {
|
|
|
2741
3111
|
label: string;
|
|
2742
3112
|
value: string;
|
|
2743
3113
|
};
|
|
3114
|
+
type AccentPair = {
|
|
3115
|
+
id: string;
|
|
3116
|
+
label: string;
|
|
3117
|
+
primary: string;
|
|
3118
|
+
secondary: string;
|
|
3119
|
+
};
|
|
3120
|
+
/** Curated primary → secondary transitions used across Opus chrome. */
|
|
3121
|
+
declare const accentPairs: AccentPair[];
|
|
3122
|
+
/** Shared swatch palette for accent and second-accent menus. */
|
|
3123
|
+
declare const accentPalette: AccentColor[];
|
|
3124
|
+
/** @deprecated Prefer `accentQuickColors` / `accentPalette`. */
|
|
2744
3125
|
declare const accentColors: AccentColor[];
|
|
2745
|
-
|
|
3126
|
+
/** @deprecated Prefer `accentPalette`. */
|
|
3127
|
+
declare const accentPrimaryColors: AccentColor[];
|
|
3128
|
+
/** @deprecated Prefer `accentPalette`. */
|
|
3129
|
+
declare const accentSecondaryColors: AccentColor[];
|
|
2746
3130
|
declare function useAccentPreference(): {
|
|
2747
3131
|
accent: string;
|
|
2748
|
-
|
|
3132
|
+
accentPairId: string;
|
|
3133
|
+
accentSecondary: string;
|
|
3134
|
+
accentStyle: CSSProperties | undefined;
|
|
3135
|
+
resetAccent: () => void;
|
|
2749
3136
|
setAccent: (next: string) => void;
|
|
3137
|
+
setAccentPair: (pairId: string) => void;
|
|
3138
|
+
setAccentSecondary: (next: string) => void;
|
|
3139
|
+
};
|
|
3140
|
+
declare function useTileAccentPreference(): {
|
|
3141
|
+
resetTileAccent: () => void;
|
|
3142
|
+
setTileAccent: (next: string) => void;
|
|
3143
|
+
setTileAccentSecondary: (next: string) => void;
|
|
3144
|
+
tileAccent: string;
|
|
3145
|
+
tileAccentSecondary: string;
|
|
3146
|
+
tileAccentStyle: CSSProperties | undefined;
|
|
2750
3147
|
};
|
|
2751
3148
|
type AccentColorPickerProps = {
|
|
2752
3149
|
help?: string;
|
|
@@ -2754,15 +3151,37 @@ type AccentColorPickerProps = {
|
|
|
2754
3151
|
label?: string;
|
|
2755
3152
|
labelPosition?: LabelPosition;
|
|
2756
3153
|
mode?: FieldMode;
|
|
3154
|
+
/** Primary accent hex. */
|
|
2757
3155
|
value: string;
|
|
3156
|
+
/** Secondary accent hex. Defaults to the curated companion for `value`. */
|
|
3157
|
+
secondaryValue?: string;
|
|
3158
|
+
/** Label for the primary swatch grid inside the menu. */
|
|
3159
|
+
primarySectionLabel?: string;
|
|
3160
|
+
/** Label for the secondary swatch grid inside the menu. */
|
|
3161
|
+
secondarySectionLabel?: string;
|
|
3162
|
+
/** Default primary used by reset. */
|
|
3163
|
+
defaultValue?: string;
|
|
3164
|
+
/** Default secondary used by reset. */
|
|
3165
|
+
defaultSecondaryValue?: string;
|
|
3166
|
+
/** When true, also show the compact quick-swatch row. */
|
|
3167
|
+
showQuickSwatches?: boolean;
|
|
3168
|
+
/**
|
|
3169
|
+
* `compact` — top-bar blob + dropdown.
|
|
3170
|
+
* `panel` — always-visible Accent / Second accent grids (modal).
|
|
3171
|
+
*/
|
|
3172
|
+
variant?: "compact" | "panel";
|
|
2758
3173
|
onChange: (value: string) => void;
|
|
3174
|
+
onSecondaryChange?: (value: string) => void;
|
|
3175
|
+
onReset?: () => void;
|
|
2759
3176
|
};
|
|
2760
|
-
declare function AccentColorPicker({ help, id, label, labelPosition, mode, onChange, value, }: AccentColorPickerProps): react.JSX.Element;
|
|
3177
|
+
declare function AccentColorPicker({ help, id, label, labelPosition, mode, onChange, onSecondaryChange, onReset, primarySectionLabel, secondarySectionLabel, defaultValue, defaultSecondaryValue, secondaryValue, showQuickSwatches, variant, value, }: AccentColorPickerProps): react.JSX.Element;
|
|
2761
3178
|
|
|
2762
3179
|
type CatalogIconProps = {
|
|
3180
|
+
className?: string;
|
|
2763
3181
|
iconName: string;
|
|
3182
|
+
style?: ComponentProps<typeof FontAwesomeIcon>["style"];
|
|
2764
3183
|
};
|
|
2765
|
-
declare function CatalogIcon({ iconName }: CatalogIconProps): react.JSX.Element;
|
|
3184
|
+
declare function CatalogIcon({ className, iconName, style }: CatalogIconProps): react.JSX.Element;
|
|
2766
3185
|
|
|
2767
3186
|
type IconPickerProps = {
|
|
2768
3187
|
help?: string;
|
|
@@ -2883,6 +3302,139 @@ type WelcomeMessageProps = {
|
|
|
2883
3302
|
declare function getWelcomeGreeting(hour: number): WelcomeGreeting;
|
|
2884
3303
|
declare function WelcomeMessage({ as: Heading, className, date, greeting, name, showWave, subtitle, timeZone, updateInterval, }: WelcomeMessageProps): react.JSX.Element;
|
|
2885
3304
|
|
|
3305
|
+
type DesktopIconTone = "purple" | "blue";
|
|
3306
|
+
type DesktopIconProps = {
|
|
3307
|
+
active?: boolean;
|
|
3308
|
+
className?: string;
|
|
3309
|
+
icon: string;
|
|
3310
|
+
label: string;
|
|
3311
|
+
onOpen?: () => void;
|
|
3312
|
+
onSelect?: () => void;
|
|
3313
|
+
openOnSingleClick?: boolean;
|
|
3314
|
+
selected?: boolean;
|
|
3315
|
+
tone?: DesktopIconTone;
|
|
3316
|
+
};
|
|
3317
|
+
declare function DesktopIcon({ active, className, icon, label, onOpen, onSelect, openOnSingleClick, selected, tone, }: DesktopIconProps): react.JSX.Element;
|
|
3318
|
+
|
|
3319
|
+
type DesktopDockItem = {
|
|
3320
|
+
active?: boolean;
|
|
3321
|
+
icon: string;
|
|
3322
|
+
id: string;
|
|
3323
|
+
label: string;
|
|
3324
|
+
minimized?: boolean;
|
|
3325
|
+
tone?: DesktopIconTone;
|
|
3326
|
+
};
|
|
3327
|
+
type DesktopDockProps = {
|
|
3328
|
+
autoHide?: boolean;
|
|
3329
|
+
className?: string;
|
|
3330
|
+
items: DesktopDockItem[];
|
|
3331
|
+
maxSize?: number;
|
|
3332
|
+
minSize?: number;
|
|
3333
|
+
onItemClick?: (item: DesktopDockItem) => void;
|
|
3334
|
+
onSizeChange?: (size: number) => void;
|
|
3335
|
+
position?: "bottom" | "left" | "right";
|
|
3336
|
+
resizable?: boolean;
|
|
3337
|
+
size?: number;
|
|
3338
|
+
};
|
|
3339
|
+
declare function DesktopDock({ autoHide, className, items, maxSize, minSize, onItemClick, onSizeChange, position, resizable, size: controlledSize, }: DesktopDockProps): react.JSX.Element;
|
|
3340
|
+
|
|
3341
|
+
type DesktopWindowRect = {
|
|
3342
|
+
height: number;
|
|
3343
|
+
width: number;
|
|
3344
|
+
x: number;
|
|
3345
|
+
y: number;
|
|
3346
|
+
};
|
|
3347
|
+
type DesktopWindowProps = {
|
|
3348
|
+
active?: boolean;
|
|
3349
|
+
children?: ReactNode;
|
|
3350
|
+
className?: string;
|
|
3351
|
+
defaultRect?: DesktopWindowRect;
|
|
3352
|
+
icon?: string;
|
|
3353
|
+
maximized?: boolean;
|
|
3354
|
+
minHeight?: number;
|
|
3355
|
+
minWidth?: number;
|
|
3356
|
+
minimizeTarget?: "bottom" | "left" | "right";
|
|
3357
|
+
minimized?: boolean;
|
|
3358
|
+
open?: boolean;
|
|
3359
|
+
onActivate?: () => void;
|
|
3360
|
+
onClose?: () => void;
|
|
3361
|
+
onMaximize?: (maximized: boolean) => void;
|
|
3362
|
+
onMinimize?: () => void;
|
|
3363
|
+
onRectChange?: (rect: DesktopWindowRect) => void;
|
|
3364
|
+
rect?: DesktopWindowRect;
|
|
3365
|
+
title: string;
|
|
3366
|
+
tone?: "purple" | "blue";
|
|
3367
|
+
zIndex?: number;
|
|
3368
|
+
};
|
|
3369
|
+
declare function DesktopWindow({ active, children, className, defaultRect, maximized, minHeight, minWidth, minimizeTarget, minimized, open, onActivate, onClose, onMaximize, onMinimize, onRectChange, rect: controlledRect, title, tone, zIndex, }: DesktopWindowProps): react.JSX.Element | null;
|
|
3370
|
+
|
|
3371
|
+
type DesktopShortcut = {
|
|
3372
|
+
icon: string;
|
|
3373
|
+
id: string;
|
|
3374
|
+
label: string;
|
|
3375
|
+
tone?: DesktopIconTone;
|
|
3376
|
+
x?: number;
|
|
3377
|
+
y?: number;
|
|
3378
|
+
};
|
|
3379
|
+
type DesktopWindowItem = {
|
|
3380
|
+
content: ReactNode;
|
|
3381
|
+
icon?: string;
|
|
3382
|
+
id: string;
|
|
3383
|
+
maximized?: boolean;
|
|
3384
|
+
minimized?: boolean;
|
|
3385
|
+
open?: boolean;
|
|
3386
|
+
rect: DesktopWindowRect;
|
|
3387
|
+
title: string;
|
|
3388
|
+
tone?: DesktopIconTone;
|
|
3389
|
+
zIndex?: number;
|
|
3390
|
+
};
|
|
3391
|
+
type DesktopProps = {
|
|
3392
|
+
className?: string;
|
|
3393
|
+
dockItems?: DesktopDockItem[];
|
|
3394
|
+
dockAutoHide?: boolean;
|
|
3395
|
+
dockPosition?: "bottom" | "left" | "right";
|
|
3396
|
+
dockSize?: number;
|
|
3397
|
+
/** Removes the outer frame so the desktop fills its host surface edge-to-edge. */
|
|
3398
|
+
edgeToEdge?: boolean;
|
|
3399
|
+
onDockSizeChange?: (size: number) => void;
|
|
3400
|
+
onAction?: (action: string, id: string) => void;
|
|
3401
|
+
shortcuts?: DesktopShortcut[];
|
|
3402
|
+
wallpaper?: "aurora" | "gradient" | "plain";
|
|
3403
|
+
windows?: DesktopWindowItem[];
|
|
3404
|
+
};
|
|
3405
|
+
declare function Desktop({ className, dockItems, dockAutoHide, dockPosition, dockSize, edgeToEdge, onDockSizeChange, onAction, shortcuts, wallpaper, windows, }: DesktopProps): react.JSX.Element;
|
|
3406
|
+
|
|
3407
|
+
type DesktopLabProps = {
|
|
3408
|
+
dockAutoHide?: boolean;
|
|
3409
|
+
dockSize?: number;
|
|
3410
|
+
onDockSizeChange?: (size: number) => void;
|
|
3411
|
+
onAction?: (action: string) => void;
|
|
3412
|
+
};
|
|
3413
|
+
declare function DesktopLab({ dockAutoHide, dockSize, onDockSizeChange, onAction, }: DesktopLabProps): react.JSX.Element;
|
|
3414
|
+
|
|
3415
|
+
type TreeMenuNode = {
|
|
3416
|
+
children?: TreeMenuNode[];
|
|
3417
|
+
disabled?: boolean;
|
|
3418
|
+
icon?: string;
|
|
3419
|
+
id: string;
|
|
3420
|
+
label: string;
|
|
3421
|
+
meta?: string | number;
|
|
3422
|
+
};
|
|
3423
|
+
type TreeMenuProps = {
|
|
3424
|
+
ariaLabel?: string;
|
|
3425
|
+
className?: string;
|
|
3426
|
+
defaultExpandedIds?: string[];
|
|
3427
|
+
defaultSelectedId?: string;
|
|
3428
|
+
expandedIds?: string[];
|
|
3429
|
+
indent?: number;
|
|
3430
|
+
nodes: TreeMenuNode[];
|
|
3431
|
+
onExpandedChange?: (expandedIds: string[], node: TreeMenuNode, expanded: boolean) => void;
|
|
3432
|
+
onSelect?: (node: TreeMenuNode) => void;
|
|
3433
|
+
selectedId?: string;
|
|
3434
|
+
showMeta?: boolean;
|
|
3435
|
+
};
|
|
3436
|
+
declare function TreeMenu({ ariaLabel, className, defaultExpandedIds, defaultSelectedId, expandedIds, indent, nodes, onExpandedChange, onSelect, selectedId, showMeta, }: TreeMenuProps): react.JSX.Element;
|
|
3437
|
+
|
|
2886
3438
|
declare const googleFonts: readonly ["Abril Fatface", "Alegreya", "Alegreya Sans", "Alfa Slab One", "Amatic SC", "Anton", "Archivo", "Archivo Black", "Arimo", "Arvo", "Assistant", "Barlow", "Barlow Condensed", "Bebas Neue", "Bitter", "Cabin", "Cairo", "Catamaran", "Caveat", "Chivo", "Comfortaa", "Crimson Text", "Dancing Script", "DM Sans", "DM Serif Display", "Domine", "Dosis", "EB Garamond", "Exo 2", "Fira Code", "Fira Sans", "Fjalla One", "Francois One", "Fredoka", "Gloria Hallelujah", "Hind", "IBM Plex Mono", "IBM Plex Sans", "Inconsolata", "Indie Flower", "Inter", "Josefin Sans", "Jost", "Karla", "Lato", "Lexend", "Libre Baskerville", "Libre Franklin", "Lobster", "Lora", "Manrope", "Merriweather", "Merriweather Sans", "Montserrat", "Mukta", "Mulish", "Nanum Gothic", "Noto Sans", "Noto Sans Mono", "Noto Serif", "Nunito", "Nunito Sans", "Open Sans", "Orbitron", "Oswald", "Overpass", "Oxygen", "Pacifico", "Permanent Marker", "Playfair Display", "Poppins", "PT Sans", "PT Serif", "Quicksand", "Rajdhani", "Raleway", "Red Hat Display", "Righteous", "Roboto", "Roboto Condensed", "Roboto Mono", "Roboto Slab", "Rubik", "Russo One", "Sacramento", "Satisfy", "Shadows Into Light", "Signika", "Slabo 27px", "Source Code Pro", "Source Sans 3", "Source Serif 4", "Space Grotesk", "Space Mono", "Spectral", "Staatliches", "Teko", "Titillium Web", "Ubuntu", "Ubuntu Mono", "Unbounded", "Vollkorn", "Work Sans", "Yanone Kaffeesatz", "Zilla Slab"];
|
|
2887
3439
|
type GoogleFontFamily = (typeof googleFonts)[number];
|
|
2888
3440
|
|
|
@@ -2893,11 +3445,81 @@ declare function useFontPreference(): {
|
|
|
2893
3445
|
setFontFamily: (next: string) => void;
|
|
2894
3446
|
};
|
|
2895
3447
|
type FontPickerProps = {
|
|
3448
|
+
compact?: boolean;
|
|
2896
3449
|
id: string;
|
|
2897
3450
|
value: GoogleFontFamily;
|
|
2898
3451
|
onChange: (value: GoogleFontFamily) => void;
|
|
2899
3452
|
};
|
|
2900
|
-
declare function FontPicker({ id, onChange, value }: FontPickerProps): react.JSX.Element;
|
|
3453
|
+
declare function FontPicker({ compact, id, onChange, value }: FontPickerProps): react.JSX.Element;
|
|
3454
|
+
|
|
3455
|
+
/** Maximum coloured orbs this control can show. */
|
|
3456
|
+
declare const COLOUR_CLOUDS_MAX = 5;
|
|
3457
|
+
/** One colourable orb. Optional `secondary` makes a split dual-tone cloud. */
|
|
3458
|
+
type ColourCloud = {
|
|
3459
|
+
id?: string;
|
|
3460
|
+
label?: string;
|
|
3461
|
+
color: string;
|
|
3462
|
+
secondary?: string;
|
|
3463
|
+
};
|
|
3464
|
+
/** JSON designation for the ColourClouds control. */
|
|
3465
|
+
type ColourCloudsDesignation = {
|
|
3466
|
+
clouds: ColourCloud[];
|
|
3467
|
+
};
|
|
3468
|
+
type ColourCloudsValue = ColourCloud[] | ColourCloudsDesignation | string;
|
|
3469
|
+
type ColourCloudsProps = {
|
|
3470
|
+
/** Accessible name for the main control. */
|
|
3471
|
+
"aria-label"?: string;
|
|
3472
|
+
"aria-expanded"?: boolean;
|
|
3473
|
+
"aria-haspopup"?: ButtonHTMLAttributes<HTMLButtonElement>["aria-haspopup"];
|
|
3474
|
+
/** Dropdown panel body. When set, the pill opens a portaled menu. */
|
|
3475
|
+
children?: ReactNode;
|
|
3476
|
+
className?: string;
|
|
3477
|
+
compact?: boolean;
|
|
3478
|
+
/**
|
|
3479
|
+
* Up to five colourable elements.
|
|
3480
|
+
* Prefer this over `value` when passing a typed array.
|
|
3481
|
+
*/
|
|
3482
|
+
items?: ColourCloud[];
|
|
3483
|
+
/** Visible text label after the colour orbs. */
|
|
3484
|
+
label?: string;
|
|
3485
|
+
/** Menu heading when `children` is provided. */
|
|
3486
|
+
menuTitle?: string;
|
|
3487
|
+
/** Controlled open state for the dropdown menu. */
|
|
3488
|
+
open?: boolean;
|
|
3489
|
+
onOpenChange?: (open: boolean) => void;
|
|
3490
|
+
placement?: EmojiPickerPlacement;
|
|
3491
|
+
/** Disable the optional reset control. */
|
|
3492
|
+
resetDisabled?: boolean;
|
|
3493
|
+
/** Show a colours-only reset icon beside the clouds. */
|
|
3494
|
+
showReset?: boolean;
|
|
3495
|
+
/**
|
|
3496
|
+
* Opens / activates the control when no `children` menu is provided
|
|
3497
|
+
* (e.g. open an external colour settings window).
|
|
3498
|
+
*/
|
|
3499
|
+
onClick?: ButtonHTMLAttributes<HTMLButtonElement>["onClick"];
|
|
3500
|
+
/** Colours-only reset. Never touches fonts or other theme chrome. */
|
|
3501
|
+
onReset?: () => void;
|
|
3502
|
+
title?: string;
|
|
3503
|
+
/**
|
|
3504
|
+
* Colour designation: array, `{ clouds: [...] }`, or a JSON string of either.
|
|
3505
|
+
* At most five clouds are rendered. Ignored when `items` is provided.
|
|
3506
|
+
*/
|
|
3507
|
+
value?: ColourCloudsValue;
|
|
3508
|
+
};
|
|
3509
|
+
/** Parse a JSON designation (string or object) into up to five colour clouds. */
|
|
3510
|
+
declare function parseColourClouds(value: ColourCloudsValue | undefined | null): ColourCloud[];
|
|
3511
|
+
/** Build a designation object from up to five colourable elements. */
|
|
3512
|
+
declare function createColourCloudsDesignation(items: ColourCloud[]): ColourCloudsDesignation;
|
|
3513
|
+
declare function serializeColourClouds(clouds: ColourCloud[]): string;
|
|
3514
|
+
/** Default dropdown body listing each colourable orb. */
|
|
3515
|
+
declare function ColourCloudsMenu({ clouds }: {
|
|
3516
|
+
clouds: ColourCloud[];
|
|
3517
|
+
}): react.JSX.Element;
|
|
3518
|
+
/**
|
|
3519
|
+
* Global colours control: up to five colourable orbs from a JSON designation or `items` array.
|
|
3520
|
+
* Pass `children` (or use `ColourCloudsMenu`) to open a portaled dropdown; otherwise `onClick` for an external panel.
|
|
3521
|
+
*/
|
|
3522
|
+
declare function ColourClouds({ "aria-label": ariaLabel, "aria-expanded": ariaExpanded, "aria-haspopup": ariaHasPopup, children, className, compact, items, label, menuTitle, onClick, onOpenChange, onReset, open, placement, resetDisabled, showReset, title, value, }: ColourCloudsProps): react.JSX.Element | null;
|
|
2901
3523
|
|
|
2902
3524
|
declare const cartesianSpecializedVariants: ChartVariant[];
|
|
2903
3525
|
|
|
@@ -2910,4 +3532,4 @@ type SankeyLinkDef = {
|
|
|
2910
3532
|
};
|
|
2911
3533
|
declare const demoSankeyLinks: SankeyLinkDef[];
|
|
2912
3534
|
|
|
2913
|
-
export { type AccentColor, AccentColorPicker, Accordion, AccordionGroup, type AccordionGroupType, Alert, type AlertStatus, ApplicationFooter, type ApplicationFooterAction, type ApplicationFooterProps, ApplicationHeader, type ApplicationHeaderAction, type ApplicationHeaderProfile, type ApplicationHeaderProps, AspectRatio, type AspectRatioProps, Avatar, AvatarGroup, type AvatarGroupItem, type AvatarShape, type AvatarSize, Badge, type BadgeSize, type BadgeTone, type BadgeVariant, BottomNavigation, type BottomNavigationItem, type BottomNavigationProps, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, Button, type ButtonVariant, Calendar, type CalendarEvent, type CalendarProps, Card, Carousel, CascaderField, type CascaderOption, CatalogIcon, Chart, type ChartDatum, type ChartPalette, type ChartSeries, type ChartVariant, CheckboxField, ChipInput, ChipInputField, type ChipInputPreset, type ChipInputVariant, ChoiceChips, ChoiceChipsField, type ChoiceChipsSelectionMode, type ChoiceChipsVariant, type ChoiceControlSize, type ChoiceOption, type ChoiceShape, Clipboard, ClipboardProvider, Clock, type ClockSize, ColorField, Columns, type ColumnsDirection, type ColumnsProps, CommandPalette, type CommandPaletteItem, ContactCard, type ContactCardProps, type ContactCompany, ContactDetails, type ContactDetailsAction, type ContactDetailsContact, type ContactDetailsProps, ContactIdentityCard, type ContactIdentityCardProps, ContactNotesActivity, type ContactNotesActivityProps, ContactSummaryCard, type ContactSummaryCardProps, type ContactSummaryTab, Container, type ContainerProps, type ContainerSize, ContentTimeline, type ContentTimelineGroup, type ContentTimelineItem, type ContentTimelineStatus, type ContentTimelineTag, ContextMenuProvider, ContextMenuTarget, CopyButton, CountryPickerField, CustomScrollbar, type CustomScrollbarOrientation, type CustomScrollbarProps, type CustomScrollbarShape, DEFAULT_FONT_FAMILY, DEFAULT_NOTE_TAG_OPTIONS, DEFAULT_TOAST_DURATION_MS, DashboardContentContainer, type DashboardContentContainerProps, type DashboardContentContainerWidth, DataGrid, type DataGridColumn, type DataGridLayout, type DataGridPivotConfig, type DataGridRow, type DataGridRowHeaderColumn, DateField, type DateInputType, DealsOverTime, type DealsOverTimePoint, type DealsOverTimeProps, DescriptionList, type DescriptionListItem, type DescriptionListLayout, Dialog, type DialogActionSet, type DialogResult, Divider, type DividerOrientation, type DividerTone, DockLayout, type DockLayoutProps, Drawer, DrawerDefaultActions, type DrawerSide, DropdownMenu, DropdownMenuItem, type DropdownMenuItemData, type DropdownMenuPlacement, DualListBuilder, type DualListBuilderProps, type DualListItem, type ElementSize, EmojiPicker, type EmojiPickerPlacement, type EmojiPickerProps, EmptyState, type EmptyStateIcon, FONT_STORAGE_KEY, type FieldMode, FieldShell, FileField, FilterBuilder, type FilterBuilderProps, type FilterCondition, type FilterOperator, FilterSelectField, type FilterSelectGroup, FloatingActionButton, type FloatingActionButtonPosition, type FloatingActionButtonProps, type FloatingActionButtonSize, FocusTrap, FontPicker, type GalleryImage, Gauge, type GaugeFooterItem, type GaugeTrend, type GaugeVariant, type GoogleFontFamily, Grid, type GridProps, HiddenField, type HotkeyCombo, HotkeyManager, Icon, IconBadge, type IconBadgeProps, type IconBadgeUrgency, IconPicker, type IconSize, type IconTone, ImageCropUploadField, type ImageCropUploadFieldProps, type ImageCropUploadResult, ImageCropUploadWidget, type ImageCropUploadWidgetProps, ImageGallery, ImageThumbnail, type ImageThumbnailSize, type InputControlSize, IntersectionObserver, JsonViewer, KanbanBoard, type KanbanBoardProps, type KanbanCard, type KanbanColumn, KeyboardShortcut, type KeyboardShortcutSize, type LabelPosition, Lightbox, List, type ListItem, Map, type MapCoordinate, type MapMarker, type MapProps, MasonryGrid, type MasonryGridItem, MegaMenu, type MegaMenuConfig, type MegaMenuFeatured, type MegaMenuItem, type MegaMenuSection, MetricTile, Modal, ModalDefaultActions, type ModalSize, type ModelAsset, ModelGallery, ModelLightbox, ModelThumbnail, type ModelThumbnailSize, ModelViewer, MoreActionsMenu, type MoreActionsMenuItem, type MoreActionsMenuProps, MultiSelectField, NavigationRail, type NavigationRailItem, type NavigationRailProps, NoteComposer, type NoteComposerProps, NoteTag, NoteTagList, type NoteTagOption, NoteTagPicker, type NoteTagTone, NotesActivity, type NotesActivityItem, type NotesActivityProps, type NotesActivityTag, type NotesActivityTagTone, NumberField, OpusThemeProvider, PageHeader, type PageHeaderProps, Pagination, type PaginationProps, Panel, type PasswordRequirement, PasswordStrengthField, type PermissionLevel, PermissionsMatrix, type PermissionsMatrixProps, type PhoneCountry, PhoneNumberField, PipelineOverview, type PipelineOverviewProps, type PipelineStage, Popover, type PopoverPlacement, Portal, PortalHost, ProfilePhotoUploadModal, ProgressBar, ProgressRing, PropertyGrid, type PropertyGridItem, PropertyInspector, type PropertyInspectorItem, type PropertyInspectorValue, QueryBuilder, type QueryBuilderProps, type QueryCombinator, type QueryGroup, type QueryOperator, type QueryRule, Radio, RadioGroup, RangeField, RatingField, type RatingVariant, RecentActivity, type RecentActivityItem, type RecentActivityProps, ResizablePanel, type ResizablePanelProps, ResizeHandle, type ResizeHandleBackground, type ResizeHandleHeight, type ResizeHandleOrientation, type ResizeHandleProps, ResizeObserver, ResourcePlanner, type ResourcePlannerItem, type ResourcePlannerProps, type ResourcePlannerResource, RichTextField, RuleBuilder, type RuleBuilderProps, type RuleDefinition, type RuleEffect, Scheduler, type SchedulerEvent, type SchedulerProps, ScrollArea, type ScrollAreaProps, Section, type SectionAlign, type SectionColumns, type SectionGap, type SectionJustify, type SectionLayoutPreset, type SectionSidebar, type SectionSidebarRatio, type SectionSpan, type SectionStackBelow, type SectionTemplate, type SectionWidth, SegmentedControlField, SelectField, ShowMore, type ShowToastOptions, Sidebar, SidebarGroup, SidebarHeader, SidebarLayout, SidebarLink, type SidebarMenuGroupItem, type SidebarMenuItem, type SidebarMenuLinkItem, SidebarNav, type SidebarProps, type SidebarSide, Skeleton, type SkeletonAnimation, type SkeletonVariant, SliderRangeField, Spacer, type SpacerProps, Sparkline, Speedometer, Spinner, type SpinnerSize, type SpinnerTone, SplitButton, type SplitButtonAction, type SplitButtonProps, Splitter, type SplitterOrientation, type SplitterProps, Stack, type StackAlign, type StackDirection, type StackJustify, type StackProps, StatCard, type StatCardTrend, StatTile, type StatTileItem, type StatTileProps, type StatTileTone, type StatTileTrend, type StatTileTrendTone, StatTiles, type StatTilesProps, Statistic, type StatisticTrend, StatusIndicator, type StatusIndicatorState, type SurfaceDensity, type SurfaceTone, SwitchField, type TabItem, Table, type TableColumn, type TableDensity, type TableRow, Tabs, type TabsOrientation, type TabsVariant, TextAreaField, TextField, type Theme, OpusThemeProvider as ThemeProvider, ThemeSwitcher, ThemeToggleField, ThreePaneLayout, type ThreePaneLayoutProps, type ThreePaneLayoutSize, Tile, type TileItem, type TileProps, type TileTone, Tiles, type TilesLayout, type TilesProps, Toast, type ToastHorizontalPosition, ToastProvider, type ToastVerticalPosition, type ToastViewportPosition, Toolbar, type ToolbarProps, Tooltip, TopNavigation, type TopNavigationBarMenu, type TopNavigationDropdownMenu, type TopNavigationMegaMenu, TopNavigationMenu, type TopNavigationMenuConfig, type TopNavigationSelectItem, type TopPerformingUserItem, TopPerformingUsers, type TopPerformingUsersProps, TransferListField, TreeSelectField, type TreeSelectNode, TreeView, type TreeViewNode, TrendBadge, type TrendBadgeDirection, type UpcomingTaskItem, UpcomingTasks, type UpcomingTasksProps, type UserProfileMenuItem, type UserProfilePhotoUploadOptions, UserProfileWidget, type UserProfileWidgetProps, VisuallyHidden, type WelcomeGreeting, WelcomeMessage, type WelcomeMessageProps, accentColors, cartesianSpecializedVariants, countryCodeToFlag, createAccentStyle, defaultContact, defaultContactNotes, defaultMegaMenuFeatured, defaultMegaMenuMenus, defaultMegaMenuSections, defaultTopNavigationBarMenus, defaultTopNavigationMegaMenus, defaultTopNavigationMenus, demoSankeyLinks, fieldInputAriaProps, getPrimaryCompany, getWelcomeGreeting, googleFonts, countries as phoneCountries, resolveContactDetailsContact, useAccentPreference, useClipboard, useContextMenu, useFieldShellAria, useFontPreference, useHotkey, useHotkeyManager, useIntersectionObserver, useOpusTheme, usePortalHost, useResizeObserver, useToast, useTopNavigation, worldMapRegionIds };
|
|
3535
|
+
export { type AccentColor, AccentColorPicker, type AccentPair, Accordion, AccordionGroup, type AccordionGroupType, Alert, type AlertStatus, ApplicationFooter, type ApplicationFooterAction, type ApplicationFooterProps, ApplicationHeader, type ApplicationHeaderAction, type ApplicationHeaderProfile, type ApplicationHeaderProps, AspectRatio, type AspectRatioProps, AudioPlayer, type AudioPlayerProps, type AudioTrack, Avatar, AvatarGroup, type AvatarGroupItem, type AvatarShape, type AvatarSize, Badge, type BadgeSize, type BadgeTone, type BadgeVariant, BottomNavigation, type BottomNavigationItem, type BottomNavigationProps, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, Button, type ButtonVariant, COLOUR_CLOUDS_MAX, Calendar, type CalendarEvent, type CalendarProps, Card, Carousel, type CarouselProps, CascaderField, type CascaderOption, CatalogIcon, Chart, type ChartDatum, type ChartPalette, type ChartSeries, type ChartVariant, CheckboxField, CheckboxGroupField, type CheckboxGroupFieldProps, type CheckboxGroupOption, ChipInput, ChipInputField, type ChipInputPreset, type ChipInputVariant, ChoiceChips, ChoiceChipsField, type ChoiceChipsSelectionMode, type ChoiceChipsVariant, type ChoiceControlSize, type ChoiceOption, type ChoiceShape, Clipboard, ClipboardProvider, Clock, type ClockSize, ColorField, type ColourCloud, ColourClouds, type ColourCloudsDesignation, ColourCloudsMenu, type ColourCloudsProps, type ColourCloudsValue, Columns, type ColumnsDirection, type ColumnsProps, ComboboxField, type ComboboxFieldProps, type ComboboxOption, CommandPalette, type CommandPaletteItem, type CompactDocumentNode, type CompactDocumentView, CompactDocuments, type CompactDocumentsProps, type CompanyBranch, CompanyCard, type CompanyCardProps, type CompanyContactPerson, CompanyDetails, type CompanyDetailsAction, type CompanyDetailsCompany, type CompanyDetailsProps, CompanyIdentityCard, type CompanyIdentityCardProps, CompanyLogoUploadModal, type CompanyLogoUploadModalProps, CompanyNotesActivity, type CompanyNotesActivityProps, type CompanyNotesWorkspaceTab, CompanySummaryCard, type CompanySummaryCardProps, type CompanySummaryTab, ContactCard, type ContactCardProps, type ContactCompany, ContactDetails, type ContactDetailsAction, type ContactDetailsContact, type ContactDetailsProps, ContactIdentityCard, type ContactIdentityCardProps, ContactNotesActivity, type ContactNotesActivityProps, type ContactNotesWorkspaceTab, ContactSummaryCard, type ContactSummaryCardProps, type ContactSummaryTab, Container, type ContainerProps, type ContainerSize, ContentTimeline, type ContentTimelineGroup, type ContentTimelineItem, type ContentTimelineStatus, type ContentTimelineTag, ContextMenuProvider, ContextMenuTarget, CopyButton, CountryPickerField, CrmWorkspaceLab, type CrmWorkspaceLabProps, type CrmWorkspaceLabVariant, CurrencyField, type CurrencyFieldProps, CustomScrollbar, type CustomScrollbarOrientation, type CustomScrollbarProps, type CustomScrollbarShape, DEFAULT_FONT_FAMILY, DEFAULT_NOTE_TAG_OPTIONS, DEFAULT_TOAST_DURATION_MS, DashboardContentContainer, type DashboardContentContainerProps, type DashboardContentContainerWidth, DataGrid, type DataGridColumn, type DataGridLayout, type DataGridPivotConfig, type DataGridRow, type DataGridRowHeaderColumn, DateField, type DateInputType, DateRangeField, type DateRangeFieldProps, type DateRangeValue, DealsOverTime, type DealsOverTimePoint, type DealsOverTimeProps, DescriptionList, type DescriptionListItem, type DescriptionListLayout, Desktop, DesktopDock, type DesktopDockItem, type DesktopDockProps, DesktopIcon, type DesktopIconProps, type DesktopIconTone, DesktopLab, type DesktopLabProps, type DesktopProps, type DesktopShortcut, DesktopWindow, type DesktopWindowItem, type DesktopWindowProps, type DesktopWindowRect, Dialog, type DialogActionSet, type DialogResult, Divider, type DividerOrientation, type DividerTone, DockLayout, type DockLayoutProps, Drawer, DrawerDefaultActions, type DrawerSide, DropdownMenu, DropdownMenuItem, type DropdownMenuItemData, type DropdownMenuPlacement, DualListBuilder, type DualListBuilderProps, type DualListItem, type ElementSize, EmojiPicker, type EmojiPickerPlacement, type EmojiPickerProps, EmptyState, type EmptyStateIcon, FONT_STORAGE_KEY, type FieldMode, FieldShell, FileField, FilterBuilder, type FilterBuilderProps, type FilterCondition, type FilterOperator, FilterSelectField, type FilterSelectGroup, FloatingActionButton, type FloatingActionButtonPosition, type FloatingActionButtonProps, type FloatingActionButtonSize, FocusTrap, FontPicker, Form, FormActions, FormSection, FormValidationSummary, type FormValidationSummaryProps, type GalleryImage, Gauge, type GaugeFooterItem, type GaugeTrend, type GaugeVariant, type GoogleFontFamily, Grid, type GridProps, HiddenField, type HotkeyCombo, HotkeyManager, Icon, IconBadge, type IconBadgeProps, type IconBadgeUrgency, IconPicker, type IconSize, type IconTone, ImageCropUploadField, type ImageCropUploadFieldProps, type ImageCropUploadResult, ImageCropUploadWidget, type ImageCropUploadWidgetProps, ImageGallery, ImageThumbnail, type ImageThumbnailSize, type InputControlSize, IntersectionObserver, JsonViewer, KanbanBoard, type KanbanBoardProps, type KanbanCard, type KanbanColumn, KeyboardShortcut, type KeyboardShortcutSize, type LabelPosition, Lightbox, List, type ListItem, Map, type MapCoordinate, type MapMarker, type MapProps, MaskedField, type MaskedFieldProps, MasonryGrid, type MasonryGridItem, MegaMenu, type MegaMenuConfig, type MegaMenuFeatured, type MegaMenuItem, type MegaMenuProps, type MegaMenuSection, MetricTile, Modal, ModalDefaultActions, type ModalSize, type ModelAsset, ModelGallery, ModelLightbox, ModelThumbnail, type ModelThumbnailSize, ModelViewer, MoreActionsMenu, type MoreActionsMenuItem, type MoreActionsMenuProps, MultiFileField, type MultiFileFieldProps, type MultiFileItem, MultiSelectField, NavigationRail, type NavigationRailItem, type NavigationRailProps, NoteComposer, type NoteComposerProps, NoteTag, NoteTagList, type NoteTagOption, NoteTagPicker, type NoteTagTone, NotesActivity, type NotesActivityItem, type NotesActivityProps, type NotesActivityTag, type NotesActivityTagTone, NumberField, OpusThemeProvider, OtpField, type OtpFieldProps, PageHeader, type PageHeaderProps, Pagination, type PaginationProps, Panel, type PasswordRequirement, PasswordStrengthField, type PermissionLevel, PermissionsMatrix, type PermissionsMatrixProps, type PhoneCountry, PhoneNumberField, PipelineOverview, type PipelineOverviewProps, type PipelineStage, Popover, type PopoverPlacement, Portal, PortalHost, ProfilePhotoUploadModal, ProgressBar, ProgressRing, PropertyGrid, type PropertyGridItem, type PropertyGridProps, PropertyInspector, type PropertyInspectorItem, type PropertyInspectorValue, QueryBuilder, type QueryBuilderProps, type QueryCombinator, type QueryGroup, type QueryOperator, type QueryRule, Radio, RadioGroup, RangeField, RatingField, type RatingVariant, RecentActivity, type RecentActivityItem, type RecentActivityProps, ResizablePanel, type ResizablePanelProps, ResizeHandle, type ResizeHandleBackground, type ResizeHandleHeight, type ResizeHandleOrientation, type ResizeHandleProps, ResizeObserver, ResourcePlanner, type ResourcePlannerItem, type ResourcePlannerProps, type ResourcePlannerResource, RichTextField, RuleBuilder, type RuleBuilderProps, type RuleDefinition, type RuleEffect, Scheduler, type SchedulerEvent, type SchedulerProps, ScrollArea, type ScrollAreaProps, Section, type SectionAlign, type SectionColumns, type SectionGap, type SectionJustify, type SectionLayoutPreset, type SectionSidebar, type SectionSidebarRatio, type SectionSpan, type SectionStackBelow, type SectionTemplate, type SectionWidth, SegmentedControlField, SelectField, ShowMore, type ShowToastOptions, Sidebar, SidebarGroup, SidebarHeader, SidebarLayout, SidebarLink, type SidebarMenuGroupItem, type SidebarMenuItem, type SidebarMenuLinkItem, SidebarNav, type SidebarProps, type SidebarSide, Skeleton, type SkeletonAnimation, type SkeletonVariant, SliderRangeField, Spacer, type SpacerProps, Sparkline, Speedometer, Spinner, type SpinnerSize, type SpinnerTone, SplitButton, type SplitButtonAction, type SplitButtonProps, Splitter, type SplitterOrientation, type SplitterProps, Stack, type StackAlign, type StackDirection, type StackJustify, type StackProps, StatCard, type StatCardTrend, StatTile, type StatTileItem, type StatTileProps, type StatTileTone, type StatTileTrend, type StatTileTrendTone, StatTiles, type StatTilesProps, Statistic, type StatisticTrend, StatusIndicator, type StatusIndicatorState, type SurfaceDensity, type SurfaceTone, SwitchField, type TabItem, Table, type TableColumn, type TableDensity, type TableRow, Tabs, type TabsOrientation, type TabsPanelMode, type TabsVariant, TextAreaField, TextField, type Theme, OpusThemeProvider as ThemeProvider, ThemeSwitcher, ThemeToggleField, ThreePaneLayout, type ThreePaneLayoutProps, type ThreePaneLayoutSize, Tile, type TileItem, type TileProps, type TileTone, Tiles, type TilesLayout, type TilesProps, Toast, type ToastHorizontalPosition, ToastProvider, type ToastVerticalPosition, type ToastViewportPosition, Toolbar, type ToolbarProps, Tooltip, TopNavigation, type TopNavigationBarMenu, type TopNavigationDropdownMenu, type TopNavigationMegaMenu, TopNavigationMenu, type TopNavigationMenuConfig, type TopNavigationSelectItem, type TopPerformingUserItem, TopPerformingUsers, type TopPerformingUsersProps, TransferListField, TreeMenu, type TreeMenuNode, type TreeMenuProps, TreeSelectField, type TreeSelectNode, TreeView, type TreeViewNode, TrendBadge, type TrendBadgeDirection, type UpcomingTaskItem, UpcomingTasks, type UpcomingTasksProps, type UserProfileMenuItem, type UserProfilePhotoUploadOptions, UserProfileWidget, type UserProfileWidgetProps, VideoPlayer, type VideoPlayerProps, type VideoTrack, VisuallyHidden, type WelcomeGreeting, WelcomeMessage, type WelcomeMessageProps, accentColors, accentPairs, accentPalette, accentPrimaryColors, accentSecondaryColors, cartesianSpecializedVariants, countryCodeToFlag, createAccentStyle, createColourCloudsDesignation, createTileAccentStyle, defaultCompany, defaultCompanyContacts, defaultCompanyNotes, defaultContact, defaultContactNotes, defaultMegaMenuFeatured, defaultMegaMenuMenus, defaultMegaMenuSections, defaultTopNavigationBarMenus, defaultTopNavigationMegaMenus, defaultTopNavigationMenus, demoSankeyLinks, fieldInputAriaProps, getPrimaryBranch, getPrimaryCompany, getWelcomeGreeting, googleFonts, parseColourClouds, countries as phoneCountries, resolveCompanyDetailsCompany, resolveContactDetailsContact, serializeColourClouds, useAccentPreference, useClipboard, useContextMenu, useFieldShellAria, useFontPreference, useHotkey, useHotkeyManager, useIntersectionObserver, useOpusTheme, usePortalHost, useResizeObserver, useTileAccentPreference, useToast, useTopNavigation, worldMapRegionIds };
|