@lax-wp/design-system 0.3.114 → 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/components/button/Button.d.ts +25 -0
- package/dist/components/button/ButtonGroup.d.ts +6 -0
- package/dist/components/button/ButtonThreeDots.d.ts +3 -0
- package/dist/components/button/IconButton.d.ts +14 -0
- package/dist/components/button/Radio.d.ts +8 -0
- package/dist/components/buttons/option-button/OptionButton.d.ts +60 -0
- package/dist/components/cards/card-header-view/CardHeaderView.d.ts +33 -0
- package/dist/components/cards/card-header-view/index.d.ts +2 -0
- package/dist/components/cards/card-main/CardMain.d.ts +25 -0
- package/dist/components/cards/card-main/index.d.ts +2 -0
- package/dist/components/cards/tab-content/TabContent.d.ts +30 -0
- package/dist/components/cards/tab-content/index.d.ts +2 -0
- package/dist/components/data-display/access-denied-modal/AccessDeniedModal.d.ts +21 -0
- package/dist/components/data-display/badge/Badge.d.ts +44 -0
- package/dist/components/data-display/banner/Banner.d.ts +37 -0
- package/dist/components/data-display/card/Card.d.ts +31 -0
- package/dist/components/data-display/code-editor/CodeEditor.d.ts +6 -0
- package/dist/components/data-display/code-editor/JsonGrid.d.ts +37 -0
- package/dist/components/data-display/code-editor/Tabs.d.ts +12 -0
- package/dist/components/data-display/comparison/Comparison.d.ts +34 -0
- package/dist/components/data-display/comparison/ComparisonContext.d.ts +36 -0
- package/dist/components/data-display/comparison/components/GridItemHandle.d.ts +7 -0
- package/dist/components/data-display/comparison/components/GridLayout.d.ts +3 -0
- package/dist/components/data-display/comparison/components/Header.d.ts +9 -0
- package/dist/components/data-display/comparison/components/NoAvailableContent.d.ts +2 -0
- package/dist/components/data-display/comparison/components/SortableItem.d.ts +7 -0
- package/dist/components/data-display/comparison/constants.d.ts +15 -0
- package/dist/components/data-display/comparison/icons/CloseIcon.d.ts +7 -0
- package/dist/components/data-display/comparison/icons/ExitIcon.d.ts +6 -0
- package/dist/components/data-display/comparison/icons/LayoutOneIcon.d.ts +6 -0
- package/dist/components/data-display/comparison/icons/LayoutThreeIcon.d.ts +6 -0
- package/dist/components/data-display/comparison/icons/LayoutTwoIcon.d.ts +6 -0
- package/dist/components/data-display/comparison/icons/SearchIcon.d.ts +8 -0
- package/dist/components/data-display/comparison/icons/index.d.ts +12 -0
- package/dist/components/data-display/comparison/index.d.ts +9 -0
- package/dist/components/data-display/comparison/utils.d.ts +15 -0
- package/dist/components/data-display/context-menu/ContextMenu.d.ts +42 -0
- package/dist/components/data-display/datatype-icon/DataTypeIcon.d.ts +104 -0
- package/dist/components/data-display/delete-modal/DeleteModal.d.ts +40 -0
- package/dist/components/data-display/diff-viewer/DiffViewer.d.ts +64 -0
- package/dist/components/data-display/divider/Divider.d.ts +21 -0
- package/dist/components/data-display/dynamic-data-modal/DynamicDataModal.d.ts +26 -0
- package/dist/components/data-display/dynamic-items-cell/DynamicItemsCell.d.ts +50 -0
- package/dist/components/data-display/empty-state/EmptyEvent.d.ts +5 -0
- package/dist/components/data-display/empty-state/NoDataFound.d.ts +27 -0
- package/dist/components/data-display/empty-state/NoDataFoundWidgets.d.ts +20 -0
- package/dist/components/data-display/empty-state/PageNotFound.d.ts +33 -0
- package/dist/components/data-display/empty-state/UserNotFound.d.ts +28 -0
- package/dist/components/data-display/empty-state/empty-widget/EmptyBarChartData.d.ts +1 -0
- package/dist/components/data-display/empty-state/empty-widget/EmptyCardChartData.d.ts +1 -0
- package/dist/components/data-display/empty-state/empty-widget/EmptyContentChart.d.ts +1 -0
- package/dist/components/data-display/empty-state/empty-widget/EmptyCountWidgetData.d.ts +1 -0
- package/dist/components/data-display/empty-state/empty-widget/EmptyDonutChartData.d.ts +1 -0
- package/dist/components/data-display/empty-state/empty-widget/EmptyPieChatData.d.ts +1 -0
- package/dist/components/data-display/empty-state/empty-widget/EmptyTableWidgetData.d.ts +1 -0
- package/dist/components/data-display/empty-state/empty-widget/EmptyTimelineChartData.d.ts +1 -0
- package/dist/components/data-display/empty-state/empty-widget/index.d.ts +8 -0
- package/dist/components/data-display/empty-state/index.d.ts +11 -0
- package/dist/components/data-display/error-modal/ErrorModal.d.ts +22 -0
- package/dist/components/data-display/floating-element-wrapper/floating-element-dragger.d.ts +1 -0
- package/dist/components/data-display/in-progress/InProgress.d.ts +13 -0
- package/dist/components/data-display/json-grid-viewer/AddKeyModal.d.ts +7 -0
- package/dist/components/data-display/json-grid-viewer/JsonGridBulkFloatingBar.d.ts +2 -0
- package/dist/components/data-display/json-grid-viewer/JsonGridCore.d.ts +3 -0
- package/dist/components/data-display/json-grid-viewer/JsonGridViewer.d.ts +47 -0
- package/dist/components/data-display/json-grid-viewer/JsonGridViewerContext.d.ts +4 -0
- package/dist/components/data-display/json-grid-viewer/JsonValueDisplay.d.ts +8 -0
- package/dist/components/data-display/json-grid-viewer/NestedJsonGrid.d.ts +7 -0
- package/dist/components/data-display/json-grid-viewer/hooks.d.ts +6 -0
- package/dist/components/data-display/json-grid-viewer/index.d.ts +12 -0
- package/dist/components/data-display/json-grid-viewer/types.d.ts +64 -0
- package/dist/components/data-display/json-grid-viewer/utils.d.ts +4 -0
- package/dist/components/data-display/label/Label.d.ts +10 -0
- package/dist/components/data-display/label-value/LabelValue.d.ts +139 -0
- package/dist/components/data-display/lottie-animation/LottieAnimation.d.ts +34 -0
- package/dist/components/data-display/modal/Modal.d.ts +41 -0
- package/dist/components/data-display/pdf-viewer/PdfViewer.d.ts +45 -0
- package/dist/components/data-display/permission-wrapper/PermissionWrapper.d.ts +28 -0
- package/dist/components/data-display/popper/Popper.d.ts +57 -0
- package/dist/components/data-display/progress-bar/CircularProgressBar.d.ts +23 -0
- package/dist/components/data-display/progress-bar/LinearProgressBar.d.ts +27 -0
- package/dist/components/data-display/progress-bar/index.d.ts +4 -0
- package/dist/components/data-display/resizable-sidebar/ResizableSidebar.d.ts +48 -0
- package/dist/components/data-display/skeleton/Skeleton.d.ts +18 -0
- package/dist/components/data-display/status-color-mapping/StatusColorMapping.d.ts +29 -0
- package/dist/components/data-display/tag/Tag.d.ts +53 -0
- package/dist/components/data-display/text/Text.d.ts +41 -0
- package/dist/components/data-display/text-with-strike/TextWithStrike.d.ts +19 -0
- package/dist/components/data-display/typography/Typography.d.ts +15 -0
- package/dist/components/data-display/unsaved-changes-modal/UnsavedChangesModal.d.ts +30 -0
- package/dist/components/drag-and-drop/drag-overlay/DragOverlay.d.ts +25 -0
- package/dist/components/drag-and-drop/drag-overlay/index.d.ts +2 -0
- package/dist/components/drag-and-drop/draggable-container/DraggableContainer.d.ts +29 -0
- package/dist/components/drag-and-drop/draggable-container/index.d.ts +2 -0
- package/dist/components/feedback/confirmation-modal/ConfirmationModal.d.ts +38 -0
- package/dist/components/feedback/toast/Toast.d.ts +29 -0
- package/dist/components/floating-bar/FloatingBar.d.ts +91 -0
- package/dist/components/forms/base-input-field/BaseInputField.d.ts +128 -0
- package/dist/components/forms/checkbox/Checkbox.d.ts +55 -0
- package/dist/components/forms/checkbox/CheckboxComponent.d.ts +9 -0
- package/dist/components/forms/color-picker/ColorPicker.d.ts +60 -0
- package/dist/components/forms/creatable-select/CreatableSelect.d.ts +86 -0
- package/dist/components/forms/currency-input/CurrencyInputField.d.ts +110 -0
- package/dist/components/forms/currency-input/currency.constant.d.ts +13 -0
- package/dist/components/forms/customizable-select-field/CustomizableSelectField.d.ts +126 -0
- package/dist/components/forms/date-range/DateRange.d.ts +73 -0
- package/dist/components/forms/date-range/DateRange2.d.ts +72 -0
- package/dist/components/forms/date-time-field/DateTimeField.d.ts +129 -0
- package/dist/components/forms/debounce-input/DebounceInputField.d.ts +66 -0
- package/dist/components/forms/dynamic-data-input/DynamicDataInput.d.ts +64 -0
- package/dist/components/forms/dynamic-data-input/DynamicDataInputField.d.ts +118 -0
- package/dist/components/forms/field-options/FieldOptions.d.ts +5 -0
- package/dist/components/forms/field-options/Header.d.ts +7 -0
- package/dist/components/forms/field-options/Icon.d.ts +6 -0
- package/dist/components/forms/field-options/Item.d.ts +7 -0
- package/dist/components/forms/field-options/index.d.ts +2 -0
- package/dist/components/forms/field-options/types.d.ts +11 -0
- package/dist/components/forms/file-upload-dragger/FileUpload.d.ts +83 -0
- package/dist/components/forms/file-upload-dragger/icons.d.ts +12 -0
- package/dist/components/forms/formula-input/FormulaInput.d.ts +33 -0
- package/dist/components/forms/formula-input/index.d.ts +3 -0
- package/dist/components/forms/formula-input/utils.d.ts +31 -0
- package/dist/components/forms/icon-picker/IconPicker.d.ts +20 -0
- package/dist/components/forms/input-field/InputField.d.ts +62 -0
- package/dist/components/forms/master-data-input/MasterDataInputField.d.ts +135 -0
- package/dist/components/forms/md-input/MdInput.d.ts +46 -0
- package/dist/components/forms/multi-file-upload/MultiFileUpload.d.ts +78 -0
- package/dist/components/forms/number-input-field/NumberInputField.d.ts +47 -0
- package/dist/components/forms/percentage-input/PercentageInputField.d.ts +107 -0
- package/dist/components/forms/search-bar/SearchBar.d.ts +28 -0
- package/dist/components/forms/select-field/SelectField.d.ts +162 -0
- package/dist/components/forms/text-area-field/TextAreaField.d.ts +114 -0
- package/dist/components/forms/text-field/TextField.d.ts +48 -0
- package/dist/components/forms/toggle/Toggle.d.ts +108 -0
- package/dist/components/icons/AIExtractedIndicator.d.ts +7 -0
- package/dist/components/icons/AIStarIcon.d.ts +8 -0
- package/dist/components/icons/ArchivedIcon.d.ts +7 -0
- package/dist/components/icons/CheckCircle.d.ts +7 -0
- package/dist/components/icons/CheckSmallIcon.d.ts +7 -0
- package/dist/components/icons/CloseIcon.d.ts +16 -0
- package/dist/components/icons/CloseRounded.d.ts +9 -0
- package/dist/components/icons/ComingSoonIcon.d.ts +7 -0
- package/dist/components/icons/EditIcon.d.ts +7 -0
- package/dist/components/icons/HelpIcon.d.ts +6 -0
- package/dist/components/icons/InfoAlert.d.ts +7 -0
- package/dist/components/icons/InfoCircleIcon.d.ts +7 -0
- package/dist/components/icons/LaxIcon.d.ts +6 -0
- package/dist/components/icons/Required.d.ts +3 -0
- package/dist/components/icons/SearchIcon.d.ts +9 -0
- package/dist/components/layout/ComponentLoader.d.ts +20 -0
- package/dist/components/layout/CustomScrollbar.d.ts +46 -0
- package/dist/components/layout/Helmet.d.ts +29 -0
- package/dist/components/layout/HelmetTitle.d.ts +23 -0
- package/dist/components/layout/LogoLoader.d.ts +22 -0
- package/dist/components/layout/PageContainer.d.ts +51 -0
- package/dist/components/layout/index.d.ts +12 -0
- package/dist/components/modal/confirm-popup/ConfirmPopUp.d.ts +26 -0
- package/dist/components/modal/confirm-popup/index.d.ts +2 -0
- package/dist/components/modal/drawer/Drawer.d.ts +35 -0
- package/dist/components/modal/drawer/index.d.ts +2 -0
- package/dist/components/navigation/accordion/Accordion.d.ts +39 -0
- package/dist/components/navigation/accordion/index.d.ts +2 -0
- package/dist/components/navigation/breadcrumbs/BreadCrumb.d.ts +52 -0
- package/dist/components/navigation/breadcrumbs/BreadCrumbItem.d.ts +39 -0
- package/dist/components/navigation/breadcrumbs/index.d.ts +4 -0
- package/dist/components/navigation/stepper/Stepper.d.ts +45 -0
- package/dist/components/navigation/stepper/index.d.ts +2 -0
- package/dist/components/shortcut-kbd/ShortcutKbd.d.ts +26 -0
- package/dist/components/shortcut-kbd/index.d.ts +2 -0
- package/dist/components/sidebar/Sidebar.d.ts +15 -0
- package/dist/components/sidebar/index.d.ts +2 -0
- package/dist/components/tooltip/Tooltip.d.ts +16 -0
- package/dist/components/user-avatar/NameInitialLogo.d.ts +15 -0
- package/dist/components/user-avatar/PersonIcon.d.ts +7 -0
- package/dist/components/user-avatar/StatusInfoRow.d.ts +5 -0
- package/dist/components/user-avatar/UserAvatar.d.ts +53 -0
- package/dist/components/user-avatar/UserAvatarPopper.d.ts +11 -0
- package/dist/components/user-avatar/UserProfilePic.d.ts +15 -0
- package/dist/components/user-avatar/constants.d.ts +8 -0
- package/dist/components/user-avatar/index.d.ts +13 -0
- package/dist/components/user-avatar/useDynamicPosition.d.ts +13 -0
- package/dist/constants/colors.d.ts +263 -0
- package/dist/constants/layout.d.ts +15 -0
- package/dist/constants/toggle.d.ts +12 -0
- package/dist/hooks/useEventListener.d.ts +4 -0
- package/dist/hooks/useIsomorphicLayoutEffect.d.ts +2 -0
- package/dist/hooks/useModalContainer.d.ts +23 -0
- package/dist/hooks/useOS.d.ts +32 -0
- package/dist/hooks/useOutsideClick.d.ts +28 -0
- package/dist/hooks/usePythonSyntax.d.ts +28 -0
- package/dist/hooks/useScrollToTop.d.ts +5 -0
- package/dist/hooks/useTheme.d.ts +6 -0
- package/dist/index.d.ts +214 -0
- package/dist/index.es.js +25 -1
- package/dist/index.umd.js +1 -1
- package/dist/lib/utils.d.ts +2 -0
- package/dist/services/monacoManager.d.ts +28 -0
- package/dist/types/icon-picker.d.ts +2 -0
- package/dist/types/index.d.ts +70 -0
- package/dist/utils/countryFlags.d.ts +5 -0
- package/dist/utils/formatters.d.ts +24 -0
- package/dist/utils/messageConstants.d.ts +88 -0
- package/dist/utils/tagUtils.d.ts +12 -0
- package/dist/utils/utilities.d.ts +24 -0
- package/package.json +1 -1
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export { JsonGridViewer } from './JsonGridViewer';
|
|
2
|
+
export type { JsonGridViewerProps } from './JsonGridViewer';
|
|
3
|
+
export { JsonGridViewerContextProvider, useJsonGridViewerContext } from './JsonGridViewerContext';
|
|
4
|
+
export { JsonGridCore } from './JsonGridCore';
|
|
5
|
+
export { NestedJsonGrid } from './NestedJsonGrid';
|
|
6
|
+
export { JsonValueDisplay } from './JsonValueDisplay';
|
|
7
|
+
export { JsonGridBulkFloatingBar } from './JsonGridBulkFloatingBar';
|
|
8
|
+
export { AddKeyModal } from './AddKeyModal';
|
|
9
|
+
export type { AddKeyModalProps } from './AddKeyModal';
|
|
10
|
+
export { useCheckboxSelection } from './hooks';
|
|
11
|
+
export * from './types';
|
|
12
|
+
export * from './utils';
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { Dispatch, SetStateAction } from 'react';
|
|
2
|
+
export type JsonValue = string | number | boolean | null | JsonObject | JsonArray;
|
|
3
|
+
export type JsonObject = {
|
|
4
|
+
[key: string]: JsonValue;
|
|
5
|
+
};
|
|
6
|
+
export type JsonArray = JsonValue[];
|
|
7
|
+
export interface IJsonGridProps {
|
|
8
|
+
onChange?: (value: string) => void;
|
|
9
|
+
isEditMode?: boolean;
|
|
10
|
+
isDarkMode?: boolean;
|
|
11
|
+
style?: React.CSSProperties;
|
|
12
|
+
}
|
|
13
|
+
export interface IJsonGridViewerContext {
|
|
14
|
+
allExpanded: boolean;
|
|
15
|
+
toggleAll: () => void;
|
|
16
|
+
isEditMode: boolean;
|
|
17
|
+
isDarkMode: boolean;
|
|
18
|
+
selectedPaths: string[];
|
|
19
|
+
setSelectedPaths: Dispatch<SetStateAction<string[]>>;
|
|
20
|
+
selectedTopLevelPaths: string[];
|
|
21
|
+
setSelectedTopLevelPaths: Dispatch<SetStateAction<string[]>>;
|
|
22
|
+
selectedPathModification: string | null;
|
|
23
|
+
setSelectedPathModification: Dispatch<SetStateAction<string | null>>;
|
|
24
|
+
selectedPathForEdit: string | null;
|
|
25
|
+
setSelectedPathForEdit: Dispatch<SetStateAction<string | null>>;
|
|
26
|
+
jsonData: JsonObject | JsonArray;
|
|
27
|
+
setJsonData: Dispatch<SetStateAction<JsonObject | JsonArray>>;
|
|
28
|
+
error: string | null;
|
|
29
|
+
setError: Dispatch<SetStateAction<string | null>>;
|
|
30
|
+
handleDelete: (paths: string[]) => void;
|
|
31
|
+
handleDuplicate: (paths: string[]) => void;
|
|
32
|
+
handleCopy: (paths: string[]) => Promise<boolean>;
|
|
33
|
+
setIsAddKeyModalOpen: Dispatch<SetStateAction<boolean>>;
|
|
34
|
+
isAddKeyModalOpen: boolean;
|
|
35
|
+
handleAddKey: (path: string, key: string, v: string | number | boolean | null | JsonArray | JsonObject | undefined) => void;
|
|
36
|
+
}
|
|
37
|
+
export declare const DataType: {
|
|
38
|
+
readonly STRING: "string";
|
|
39
|
+
readonly NUMBER: "number";
|
|
40
|
+
readonly BOOLEAN: "boolean";
|
|
41
|
+
readonly NULL: "null";
|
|
42
|
+
readonly OBJECT: "object";
|
|
43
|
+
readonly ARRAY: "array";
|
|
44
|
+
};
|
|
45
|
+
export declare const DataTypeBadgeClass: Record<string, string>;
|
|
46
|
+
export declare const DataTypeOptions: ({
|
|
47
|
+
label: string;
|
|
48
|
+
value: "string";
|
|
49
|
+
} | {
|
|
50
|
+
label: string;
|
|
51
|
+
value: "number";
|
|
52
|
+
} | {
|
|
53
|
+
label: string;
|
|
54
|
+
value: "boolean";
|
|
55
|
+
} | {
|
|
56
|
+
label: string;
|
|
57
|
+
value: "null";
|
|
58
|
+
} | {
|
|
59
|
+
label: string;
|
|
60
|
+
value: "object";
|
|
61
|
+
} | {
|
|
62
|
+
label: string;
|
|
63
|
+
value: "array";
|
|
64
|
+
})[];
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import React, { type ReactNode } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Available label value size options
|
|
4
|
+
*/
|
|
5
|
+
export type LabelValueSize = 'small' | 'medium' | 'large';
|
|
6
|
+
/**
|
|
7
|
+
* Available highlight color options
|
|
8
|
+
*/
|
|
9
|
+
export type HighlightColor = 'success' | 'warning' | 'error' | 'info';
|
|
10
|
+
/**
|
|
11
|
+
* Theme mode for styling
|
|
12
|
+
*/
|
|
13
|
+
export type ThemeMode = 'light' | 'dark';
|
|
14
|
+
/**
|
|
15
|
+
* Upload handler function type
|
|
16
|
+
*/
|
|
17
|
+
export type UploadHandler = (file: File) => void | Promise<void>;
|
|
18
|
+
/**
|
|
19
|
+
* Master data item interface
|
|
20
|
+
*/
|
|
21
|
+
export interface MasterDataItem {
|
|
22
|
+
is_master_data?: boolean;
|
|
23
|
+
reference?: string;
|
|
24
|
+
group_technical_name?: string;
|
|
25
|
+
currency_code?: string;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Risk details interface
|
|
29
|
+
*/
|
|
30
|
+
export interface RiskDetails {
|
|
31
|
+
color?: string;
|
|
32
|
+
description?: string;
|
|
33
|
+
[key: string]: any;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Master data modal component props
|
|
37
|
+
*/
|
|
38
|
+
export interface MasterDataModalProps {
|
|
39
|
+
isVisible: boolean;
|
|
40
|
+
onClose: () => void;
|
|
41
|
+
masterdataInfo: any;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Risk details card component props
|
|
45
|
+
* Using generic to allow custom risk detail types from consumers
|
|
46
|
+
*/
|
|
47
|
+
export interface RiskDetailsCardProps<TRisk = any> {
|
|
48
|
+
riskDetails: TRisk;
|
|
49
|
+
maxWidth?: string;
|
|
50
|
+
showAllRisksSuggestions?: boolean;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Props for the LabelValue component
|
|
54
|
+
*/
|
|
55
|
+
export interface LabelValueProps {
|
|
56
|
+
/** The id of the label value */
|
|
57
|
+
id?: string;
|
|
58
|
+
/** The label text to display */
|
|
59
|
+
label?: string;
|
|
60
|
+
/** The value to display */
|
|
61
|
+
value?: string | number | boolean | ReactNode;
|
|
62
|
+
/** Additional CSS classes */
|
|
63
|
+
className?: string;
|
|
64
|
+
/** Data type for formatting */
|
|
65
|
+
type?: 'string' | 'number' | 'boolean' | 'currency' | 'date' | 'datetime' | 'percentage' | 'url';
|
|
66
|
+
/** Tags to display with the label */
|
|
67
|
+
tags?: Array<{
|
|
68
|
+
label: string;
|
|
69
|
+
color?: string;
|
|
70
|
+
value?: string;
|
|
71
|
+
}>;
|
|
72
|
+
/** Tooltip text for the help icon */
|
|
73
|
+
tooltip?: string;
|
|
74
|
+
/** Master data item information */
|
|
75
|
+
items?: MasterDataItem;
|
|
76
|
+
/** Whether the value has been modified */
|
|
77
|
+
isModified?: boolean;
|
|
78
|
+
/** Whether the value has been changed */
|
|
79
|
+
isChanged?: boolean;
|
|
80
|
+
/** Size variant */
|
|
81
|
+
size?: LabelValueSize;
|
|
82
|
+
/** Whether the value is highlighted */
|
|
83
|
+
isHighlighted?: boolean;
|
|
84
|
+
/** Deleted value for diff display */
|
|
85
|
+
deletedValue?: string;
|
|
86
|
+
/** Highlight color for changes */
|
|
87
|
+
highlightColor?: HighlightColor;
|
|
88
|
+
/** Whether search is active */
|
|
89
|
+
isSearchActive?: boolean;
|
|
90
|
+
/** Whether to show original boolean value */
|
|
91
|
+
originalValue?: boolean;
|
|
92
|
+
/** Whether to show diff between old and new values */
|
|
93
|
+
showDiff?: boolean;
|
|
94
|
+
/** Whether this is a live field (shows bolt icon) */
|
|
95
|
+
isLiveField?: boolean;
|
|
96
|
+
/** Delta change value for currency fields */
|
|
97
|
+
deltaChange?: number;
|
|
98
|
+
/** Theme mode */
|
|
99
|
+
theme?: ThemeMode;
|
|
100
|
+
/** Upload handler function */
|
|
101
|
+
onUpload?: UploadHandler;
|
|
102
|
+
/** Whether the component accepts file uploads */
|
|
103
|
+
acceptsUpload?: boolean;
|
|
104
|
+
/** Master data modal component */
|
|
105
|
+
MasterDataModal?: React.ComponentType<MasterDataModalProps>;
|
|
106
|
+
/** Risk analysis data - accepts any risk object extending RiskDetails */
|
|
107
|
+
riskDetails?: RiskDetails | any;
|
|
108
|
+
/** Whether risk analysis is open */
|
|
109
|
+
isRiskAnalysisOpen?: boolean;
|
|
110
|
+
/** Custom risk details card component - accepts components with custom risk types */
|
|
111
|
+
RiskDetailsCard?: React.ComponentType<RiskDetailsCardProps<any>>;
|
|
112
|
+
/** Custom aria-label for accessibility */
|
|
113
|
+
'aria-label'?: string;
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* LabelValue component displays a label-value pair with various formatting options
|
|
117
|
+
*
|
|
118
|
+
* @example
|
|
119
|
+
* ```tsx
|
|
120
|
+
* <LabelValue
|
|
121
|
+
* label="Status"
|
|
122
|
+
* value="Active"
|
|
123
|
+
* type="string"
|
|
124
|
+
* size="medium"
|
|
125
|
+
* />
|
|
126
|
+
* <LabelValue
|
|
127
|
+
* label="Price"
|
|
128
|
+
* value={99.99}
|
|
129
|
+
* type="currency"
|
|
130
|
+
* items={{ currency_code: 'USD' }}
|
|
131
|
+
* />
|
|
132
|
+
* <LabelValue
|
|
133
|
+
* label="Upload File"
|
|
134
|
+
* acceptsUpload
|
|
135
|
+
* onUpload={handleUpload}
|
|
136
|
+
* />
|
|
137
|
+
* ```
|
|
138
|
+
*/
|
|
139
|
+
export declare const LabelValue: React.ForwardRefExoticComponent<LabelValueProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
export interface LottieAnimationProps {
|
|
3
|
+
/** Lottie animation JSON data */
|
|
4
|
+
animationData: any;
|
|
5
|
+
/** Width of the animation container */
|
|
6
|
+
width?: number | string;
|
|
7
|
+
/** Height of the animation container */
|
|
8
|
+
height?: number | string;
|
|
9
|
+
/** Whether the animation should loop */
|
|
10
|
+
loop?: boolean;
|
|
11
|
+
/** Whether the animation should autoplay */
|
|
12
|
+
autoplay?: boolean;
|
|
13
|
+
/** CSS class name */
|
|
14
|
+
className?: string;
|
|
15
|
+
/** Test ID for testing */
|
|
16
|
+
'data-testid'?: string;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* LottieAnimation component renders Lottie animations
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* ```tsx
|
|
23
|
+
* import animationData from './animation.json';
|
|
24
|
+
*
|
|
25
|
+
* <LottieAnimation
|
|
26
|
+
* animationData={animationData}
|
|
27
|
+
* width={200}
|
|
28
|
+
* height={200}
|
|
29
|
+
* loop={true}
|
|
30
|
+
* autoplay={true}
|
|
31
|
+
* />
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
export declare const LottieAnimation: FC<LottieAnimationProps>;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { type ModalProps as AntDModalProps } from "antd";
|
|
2
|
+
import type { ReactNode } from "react";
|
|
3
|
+
/**
|
|
4
|
+
* Custom props extending Ant Design Modal props
|
|
5
|
+
*/
|
|
6
|
+
export interface ModalProps extends AntDModalProps {
|
|
7
|
+
/** Whether to show only the body content without header */
|
|
8
|
+
onlyBody?: boolean;
|
|
9
|
+
/** Whether to add spacing to the body */
|
|
10
|
+
bodySpacing?: boolean;
|
|
11
|
+
/** Container element ID for portal rendering */
|
|
12
|
+
parentContainer?: string;
|
|
13
|
+
/** Custom header content on the right side */
|
|
14
|
+
headerRightContent?: ReactNode;
|
|
15
|
+
/** Whether to add a line after the header */
|
|
16
|
+
addLineAfterHeader?: boolean;
|
|
17
|
+
/** Custom z-index for the modal */
|
|
18
|
+
zIndex?: number;
|
|
19
|
+
/** Whether to render as a form */
|
|
20
|
+
asForm?: boolean;
|
|
21
|
+
/** Form submit handler */
|
|
22
|
+
onSubmit?: () => void;
|
|
23
|
+
/** Whether to show the close button */
|
|
24
|
+
showCloseButton?: boolean;
|
|
25
|
+
/** Whether to remove padding */
|
|
26
|
+
noPadding?: boolean;
|
|
27
|
+
/** Close handler */
|
|
28
|
+
onClose?: () => void;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Modal component for displaying overlay content
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* ```tsx
|
|
35
|
+
* <Modal open={isOpen} onCancel={() => setIsOpen(false)} title="Example Modal">
|
|
36
|
+
* <p>Modal content goes here</p>
|
|
37
|
+
* </Modal>
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
export declare const Modal: (props: ModalProps) => import("react/jsx-runtime").JSX.Element;
|
|
41
|
+
export default Modal;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Props for the PdfViewer component
|
|
3
|
+
*/
|
|
4
|
+
export interface PdfViewerProps {
|
|
5
|
+
/** URL of the PDF file to display */
|
|
6
|
+
pdfUrl: string;
|
|
7
|
+
/** Width of the viewer */
|
|
8
|
+
width?: string | number;
|
|
9
|
+
/** Height of the viewer */
|
|
10
|
+
height?: string | number;
|
|
11
|
+
/** Additional CSS classes for the wrapper */
|
|
12
|
+
className?: string;
|
|
13
|
+
/** Additional CSS classes for the iframe */
|
|
14
|
+
iframeClassName?: string;
|
|
15
|
+
/** Title for the PDF viewer iframe */
|
|
16
|
+
title?: string;
|
|
17
|
+
/** Whether to show loading state */
|
|
18
|
+
showLoading?: boolean;
|
|
19
|
+
/** Custom loading component */
|
|
20
|
+
loadingComponent?: React.ReactNode;
|
|
21
|
+
/** Custom error component */
|
|
22
|
+
errorComponent?: React.ReactNode;
|
|
23
|
+
/** Callback when PDF fails to load */
|
|
24
|
+
onError?: () => void;
|
|
25
|
+
/** Callback when PDF loads successfully */
|
|
26
|
+
onLoad?: () => void;
|
|
27
|
+
/** Whether to allow fullscreen */
|
|
28
|
+
allowFullScreen?: boolean;
|
|
29
|
+
/** Custom aria-label for accessibility */
|
|
30
|
+
"aria-label"?: string;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* PdfViewer component displays PDF documents in an embedded iframe
|
|
34
|
+
*
|
|
35
|
+
* @example
|
|
36
|
+
* ```tsx
|
|
37
|
+
* <PdfViewer
|
|
38
|
+
* pdfUrl="/documents/report.pdf"
|
|
39
|
+
* width="100%"
|
|
40
|
+
* height="600px"
|
|
41
|
+
* title="Monthly Report"
|
|
42
|
+
* />
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
45
|
+
export declare const PdfViewer: import("react").ForwardRefExoticComponent<PdfViewerProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { FC, ReactNode } from 'react';
|
|
2
|
+
export interface PermissionWrapperProps {
|
|
3
|
+
/** Whether the user has permission to view the content */
|
|
4
|
+
hasPermission: boolean;
|
|
5
|
+
/** Content to display when user has permission */
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
/** Custom title for the no permission message */
|
|
8
|
+
title?: string;
|
|
9
|
+
/** Custom subtitle for the no permission message */
|
|
10
|
+
subtitle?: string;
|
|
11
|
+
/** Custom icon for the no permission state */
|
|
12
|
+
icon?: ReactNode;
|
|
13
|
+
/** Custom CSS class name */
|
|
14
|
+
className?: string;
|
|
15
|
+
/** Test ID for testing */
|
|
16
|
+
'data-testid'?: string;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* PermissionWrapper component that shows content only if user has permission
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* ```tsx
|
|
23
|
+
* <PermissionWrapper hasPermission={user.canViewDashboard}>
|
|
24
|
+
* <Dashboard />
|
|
25
|
+
* </PermissionWrapper>
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
export declare const PermissionWrapper: FC<PermissionWrapperProps>;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Available placement options for the Popper
|
|
3
|
+
*/
|
|
4
|
+
export type PopperPlacement = "top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end";
|
|
5
|
+
/**
|
|
6
|
+
* Props for the Popper component
|
|
7
|
+
*/
|
|
8
|
+
export interface PopperProps {
|
|
9
|
+
/** The trigger element (button content) */
|
|
10
|
+
children: React.ReactNode;
|
|
11
|
+
/** The popper content to display */
|
|
12
|
+
component: React.ReactNode;
|
|
13
|
+
/** Placement position relative to trigger */
|
|
14
|
+
placement?: PopperPlacement;
|
|
15
|
+
/** Whether the popper is open */
|
|
16
|
+
isOpen: boolean;
|
|
17
|
+
/** Function to toggle the popper open/closed state */
|
|
18
|
+
toggleMenu?: (event?: React.MouseEvent<HTMLButtonElement>) => void;
|
|
19
|
+
/** Portal container ID (defaults to document.body) */
|
|
20
|
+
parentContainer?: string;
|
|
21
|
+
/** Whether to remove default spacing on trigger */
|
|
22
|
+
noSpacing?: boolean;
|
|
23
|
+
/** Additional CSS classes for the trigger button */
|
|
24
|
+
triggerClassName?: string;
|
|
25
|
+
/** Additional CSS classes for the popper container */
|
|
26
|
+
containerClassName?: string;
|
|
27
|
+
/** Additional CSS classes for the wrapper */
|
|
28
|
+
className?: string;
|
|
29
|
+
/** Whether to show arrow pointing to trigger */
|
|
30
|
+
showArrow?: boolean;
|
|
31
|
+
/** Custom offset from trigger element */
|
|
32
|
+
offset?: number;
|
|
33
|
+
/** Whether to disable outside click handling */
|
|
34
|
+
disableOutsideClick?: boolean;
|
|
35
|
+
/** Custom aria-label for accessibility */
|
|
36
|
+
"aria-label"?: string;
|
|
37
|
+
/** Whether trigger is disabled */
|
|
38
|
+
disabled?: boolean;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Popper component provides positioned floating content relative to a trigger element
|
|
42
|
+
*
|
|
43
|
+
* @example
|
|
44
|
+
* ```tsx
|
|
45
|
+
* const [isOpen, setIsOpen] = useState(false);
|
|
46
|
+
*
|
|
47
|
+
* <Popper
|
|
48
|
+
* isOpen={isOpen}
|
|
49
|
+
* toggleMenu={() => setIsOpen(!isOpen)}
|
|
50
|
+
* placement="bottom-start"
|
|
51
|
+
* component={<MenuContent />}
|
|
52
|
+
* >
|
|
53
|
+
* <button>Open Menu</button>
|
|
54
|
+
* </Popper>
|
|
55
|
+
* ```
|
|
56
|
+
*/
|
|
57
|
+
export declare const Popper: import("react").ForwardRefExoticComponent<PopperProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
export interface CircularProgressBarProps {
|
|
3
|
+
/** Target value to animate to */
|
|
4
|
+
value: number;
|
|
5
|
+
/** Maximum value for the progress */
|
|
6
|
+
max?: number;
|
|
7
|
+
/** Size of the circular progress bar in pixels */
|
|
8
|
+
size?: number;
|
|
9
|
+
/** Width of the stroke in pixels */
|
|
10
|
+
strokeWidth?: number;
|
|
11
|
+
/** Color of the progress arc */
|
|
12
|
+
color?: string;
|
|
13
|
+
/** Animation duration in milliseconds */
|
|
14
|
+
duration?: number;
|
|
15
|
+
/** Callback to receive the animated display value during animation */
|
|
16
|
+
setAnimatedDisplayValue?: (value: number) => void;
|
|
17
|
+
/** Children to render in the center of the circle */
|
|
18
|
+
children: ReactNode;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* CircularProgressBar component that animates from 0 to a target value
|
|
22
|
+
*/
|
|
23
|
+
export declare const CircularProgressBar: React.FC<CircularProgressBarProps>;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
export interface LinearProgressBarProps {
|
|
3
|
+
/** Target value to animate to (0-100 by default, or based on max) */
|
|
4
|
+
stopAt?: number;
|
|
5
|
+
/** Maximum value for the progress bar */
|
|
6
|
+
max?: number;
|
|
7
|
+
/** Height of the progress bar in pixels */
|
|
8
|
+
height?: number;
|
|
9
|
+
/** Single color for the progress bar */
|
|
10
|
+
color?: string;
|
|
11
|
+
/** Start color for gradient (requires toColor) */
|
|
12
|
+
fromColor?: string;
|
|
13
|
+
/** End color for gradient (requires fromColor) */
|
|
14
|
+
toColor?: string;
|
|
15
|
+
/** Animation duration in milliseconds */
|
|
16
|
+
duration?: number;
|
|
17
|
+
/** Callback to receive the animated display value during animation */
|
|
18
|
+
setAnimatedDisplayValue?: (value: number) => void;
|
|
19
|
+
/** Children to render below the progress bar */
|
|
20
|
+
children?: ReactNode;
|
|
21
|
+
/** Additional CSS classes */
|
|
22
|
+
className?: string;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* LinearProgressBar component that animates from 0 to a target value
|
|
26
|
+
*/
|
|
27
|
+
export declare const LinearProgressBar: React.FC<LinearProgressBarProps>;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sidebar placement options
|
|
3
|
+
*/
|
|
4
|
+
export type ResizableSidebarPlacement = "left" | "right";
|
|
5
|
+
/**
|
|
6
|
+
* Props for the ResizableSidebar component
|
|
7
|
+
*/
|
|
8
|
+
export interface ResizableSidebarProps {
|
|
9
|
+
/** Whether the sidebar is open */
|
|
10
|
+
isOpen: boolean;
|
|
11
|
+
/** Content to display in the sidebar */
|
|
12
|
+
children: React.ReactNode;
|
|
13
|
+
/** Whether to display in full screen mode */
|
|
14
|
+
fullScreen?: boolean;
|
|
15
|
+
/** Callback when drag/resize ends */
|
|
16
|
+
onDragEnd?: (() => void) | null;
|
|
17
|
+
/** Callback when resize occurs */
|
|
18
|
+
onResize?: (width: number) => void;
|
|
19
|
+
/** Additional CSS classes for the wrapper */
|
|
20
|
+
className?: string;
|
|
21
|
+
/** Default size of the sidebar */
|
|
22
|
+
defaultSize?: string;
|
|
23
|
+
/** Minimum width of the sidebar */
|
|
24
|
+
minWidth?: number;
|
|
25
|
+
/** Placement of the sidebar */
|
|
26
|
+
placement?: ResizableSidebarPlacement;
|
|
27
|
+
/** Parent container ID for portal rendering */
|
|
28
|
+
parentContainer?: string;
|
|
29
|
+
/** Header content */
|
|
30
|
+
header?: React.ReactNode;
|
|
31
|
+
/** Unique ID for the sidebar */
|
|
32
|
+
id?: string;
|
|
33
|
+
/** Additional CSS classes for the container */
|
|
34
|
+
containerClassName?: string;
|
|
35
|
+
/** Whether to ignore parent container height */
|
|
36
|
+
ignoreParentContainerHeight?: boolean;
|
|
37
|
+
/** Custom height */
|
|
38
|
+
height?: string;
|
|
39
|
+
/** Whether the main sidebar is expanded (affects max width calculation) */
|
|
40
|
+
isMainSidebarExpanded?: boolean;
|
|
41
|
+
/** Width of the main sidebar when expanded */
|
|
42
|
+
mainSidebarExpandedWidth?: number;
|
|
43
|
+
/** Width of the main sidebar when collapsed */
|
|
44
|
+
mainSidebarCollapsedWidth?: number;
|
|
45
|
+
/** Height offset for navbar */
|
|
46
|
+
navbarHeight?: number;
|
|
47
|
+
}
|
|
48
|
+
export declare const ResizableSidebar: import("react").ForwardRefExoticComponent<ResizableSidebarProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { FC } from "react";
|
|
2
|
+
/**
|
|
3
|
+
* Props for the Skeleton component
|
|
4
|
+
*/
|
|
5
|
+
export interface SkeletonProps {
|
|
6
|
+
/** Whether to show animation */
|
|
7
|
+
active?: boolean;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Skeleton component displays a placeholder loading state
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```tsx
|
|
14
|
+
* <Skeleton />
|
|
15
|
+
* <Skeleton active={false} />
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
export declare const Skeleton: FC<SkeletonProps>;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Available status color options for the StatusColorMapping component
|
|
3
|
+
*/
|
|
4
|
+
export type StatusColor = "blue" | "green" | "yellow" | "orange" | "red" | "navy" | "grey" | "purple" | "teal" | "peach";
|
|
5
|
+
/**
|
|
6
|
+
* Props for the StatusColorMapping component
|
|
7
|
+
*/
|
|
8
|
+
export interface StatusColorMappingProps {
|
|
9
|
+
/** The status color variant to apply */
|
|
10
|
+
status?: StatusColor;
|
|
11
|
+
/** The text content to display */
|
|
12
|
+
children: string;
|
|
13
|
+
/** Additional CSS classes for the wrapper */
|
|
14
|
+
className?: string;
|
|
15
|
+
/** Whether to use small size variant */
|
|
16
|
+
size?: "small" | "medium" | "large";
|
|
17
|
+
/** Custom aria-label for accessibility */
|
|
18
|
+
"aria-label"?: string;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* StatusColorMapping component displays text with status-based color styling
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* ```tsx
|
|
25
|
+
* <StatusColorMapping status="green">Active</StatusColorMapping>
|
|
26
|
+
* <StatusColorMapping status="red" size="small">Error</StatusColorMapping>
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
export declare const StatusColorMapping: import("react").ForwardRefExoticComponent<StatusColorMappingProps & import("react").RefAttributes<HTMLSpanElement>>;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { COLORS } from "../../../constants/colors";
|
|
2
|
+
/**
|
|
3
|
+
* Available tag size options
|
|
4
|
+
*/
|
|
5
|
+
export type TagSize = "xs" | "sm" | "md" | "lg";
|
|
6
|
+
/**
|
|
7
|
+
* Available color names for tags
|
|
8
|
+
*/
|
|
9
|
+
export type TagColor = keyof typeof COLORS;
|
|
10
|
+
/**
|
|
11
|
+
* Theme mode for styling
|
|
12
|
+
*/
|
|
13
|
+
export type ThemeMode = "light" | "dark";
|
|
14
|
+
/**
|
|
15
|
+
* Upload handler function type
|
|
16
|
+
*/
|
|
17
|
+
export type UploadHandler = (file: File) => void | Promise<void>;
|
|
18
|
+
/**
|
|
19
|
+
* Props for the Tag component
|
|
20
|
+
*/
|
|
21
|
+
export interface TagProps {
|
|
22
|
+
/** The text content to display */
|
|
23
|
+
label: string;
|
|
24
|
+
/** Color name or hex color value */
|
|
25
|
+
color?: TagColor | string;
|
|
26
|
+
/** Size variant */
|
|
27
|
+
size?: TagSize;
|
|
28
|
+
/** Additional CSS classes */
|
|
29
|
+
className?: string;
|
|
30
|
+
/** Click handler for the tag */
|
|
31
|
+
onClick?: (e: React.MouseEvent<HTMLElement, MouseEvent>) => void;
|
|
32
|
+
/** Mouse down handler */
|
|
33
|
+
onMouseDown?: (e: React.MouseEvent<HTMLElement, MouseEvent>) => void;
|
|
34
|
+
/** Maximum character length before truncation */
|
|
35
|
+
truncate?: number;
|
|
36
|
+
/** Whether to use hash color generation for string colors */
|
|
37
|
+
isHashColor?: boolean;
|
|
38
|
+
/** Icon to display before the label */
|
|
39
|
+
icon?: React.ReactNode;
|
|
40
|
+
/** Whether the tag is removable (shows close button) */
|
|
41
|
+
removable?: boolean;
|
|
42
|
+
/** Handler for remove button click */
|
|
43
|
+
onRemove?: (e: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
|
|
44
|
+
/** Upload handler function */
|
|
45
|
+
onUpload?: UploadHandler;
|
|
46
|
+
/** Whether the tag accepts file uploads */
|
|
47
|
+
acceptsUpload?: boolean;
|
|
48
|
+
/** Theme mode for styling */
|
|
49
|
+
theme?: ThemeMode;
|
|
50
|
+
/** Custom aria-label for accessibility */
|
|
51
|
+
"aria-label"?: string;
|
|
52
|
+
}
|
|
53
|
+
export declare const Tag: import("react").ForwardRefExoticComponent<TagProps & import("react").RefAttributes<HTMLDivElement>>;
|