@epam/ai-dial-ui-kit 0.15.4 → 0.16.0-dev.11
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/README.md +1 -1
- package/dist/CHANGELOG.md +33 -6
- package/dist/DateCellRenderer-xHilQEYj.cjs +63 -0
- package/dist/{IconButton-DHOFapLo.cjs → IconButton-B1Hx0Y3y.cjs} +1 -1
- package/dist/{MarkdownEditorContainer-B5aHwoYF.cjs → MarkdownEditorContainer-DLPODjar.cjs} +1 -1
- package/dist/{Switch-DE6MrcqJ.cjs → Switch-DAaAOaIu.cjs} +1 -1
- package/dist/_virtual/_commonjsHelpers.js +3 -28
- package/dist/_virtual/index.js +5 -3
- package/dist/components/Analytics/Bar/Bar.js +7 -7
- package/dist/components/Analytics/BarGroup/BarGroup.js +18 -18
- package/dist/components/Analytics/Histogram/Histogram.js +10 -10
- package/dist/components/Checkbox/Checkbox.js +9 -9
- package/dist/components/Dropdown/constants.js +2 -2
- package/dist/components/DropdownIcon/DropdownIcon.js +5 -5
- package/dist/components/Grid/Grid.js +11 -11
- package/dist/components/IconButton/IconButton.js +7 -7
- package/dist/components/InputPopup/InputPopup.js +8 -8
- package/dist/components/LoadFileArea/EmptyFileArea.js +28 -28
- package/dist/components/Loader/Loader.js +8 -8
- package/dist/components/New/Avatar/Avatar.js +18 -17
- package/dist/components/New/BottomSheet/BottomSheet.js +6 -6
- package/dist/components/New/Breadcrumbs/constants.js +1 -1
- package/dist/components/New/Calendar/constants.js +4 -4
- package/dist/components/New/Dropdown/constants.js +1 -1
- package/dist/components/New/MenuItem/MenuItem.js +17 -17
- package/dist/components/New/SharedEntityIndicator/SharedEntityIndicator.js +1 -1
- package/dist/components/New/SideDrawer/SideDrawer.js +1 -1
- package/dist/components/Search/Search.js +1 -1
- package/dist/components/Select/Select.js +1 -1
- package/dist/components/Select/constants.js +6 -6
- package/dist/components/Slider/Slider.js +1 -1
- package/dist/components/Steps/Step.js +9 -9
- package/dist/components/TagInput/TagInput.js +1 -1
- package/dist/components-manifest.json +264 -1228
- package/dist/dial-ui-kit.cjs +4 -2
- package/dist/dial-ui-kit.js +357 -375
- package/dist/editors.cjs +1 -1
- package/dist/grid.cjs +1 -1
- package/dist/index.css +2 -6
- package/dist/migration-guides/0.16.0/legacy-file-manager-removal.md +89 -0
- package/dist/migration-guides/0.16.0/tailwind-v4-stylesheet.md +98 -0
- package/dist/migration-guides/README.md +2 -0
- package/dist/node_modules/react-dnd/dist/hooks/useCollector.js +1 -1
- package/dist/src/components/ButtonDropdown/constants.d.ts +2 -2
- package/dist/src/components/Dropdown/constants.d.ts +1 -1
- package/dist/src/components/Grid/Grid.d.ts +1 -1
- package/dist/src/components/JsonEditor/lazy.d.ts +1 -1
- package/dist/src/components/MarkdownEditor/lazy.d.ts +1 -1
- package/dist/src/components/New/Avatar/Avatar.d.ts +9 -3
- package/dist/src/components/New/Breadcrumbs/constants.d.ts +2 -2
- package/dist/src/components/New/ButtonDropdown/constants.d.ts +1 -1
- package/dist/src/components/New/Calendar/constants.d.ts +5 -5
- package/dist/src/components/New/Dropdown/constants.d.ts +1 -1
- package/dist/src/components/New/FilterChips/FilterChips.d.ts +1 -1
- package/dist/src/components/New/Grid/Grid.d.ts +1 -1
- package/dist/src/components/New/Grid/components/SelectionCell.d.ts +1 -1
- package/dist/src/components/New/Grid/components/SelectionHeader.d.ts +1 -1
- package/dist/src/components/New/InteractiveTooltip/constants.d.ts +1 -1
- package/dist/src/components/New/MarkdownEditor/lazy.d.ts +1 -1
- package/dist/src/components/New/MenuItem/constants.d.ts +1 -1
- package/dist/src/components/New/SegmentedControl/SegmentedControl.d.ts +1 -1
- package/dist/src/components/New/Select/constants.d.ts +4 -4
- package/dist/src/components/New/Tooltip/constants.d.ts +2 -2
- package/dist/src/components/SegmentedControl/SegmentedControl.d.ts +1 -1
- package/dist/src/components/Select/constants.d.ts +3 -3
- package/dist/src/index.d.ts +3 -13
- package/dist/src/subpaths/editors.d.ts +1 -1
- package/dist/src/types/avatar.d.ts +9 -0
- package/dist/src/utils/avatar.d.ts +2 -1
- package/dist/src/utils/sub-menu-floating.d.ts +1 -1
- package/dist/types/avatar.js +3 -2
- package/dist/utils/avatar.js +41 -18
- package/dist/utils/sub-menu-floating.js +8 -8
- package/package.json +9 -12
- package/dist/DateCellRenderer-C80QWn2I.cjs +0 -1
- package/dist/DateCellRenderer-CfQgxeAQ.cjs +0 -63
- package/dist/_virtual/___vite-browser-external.js +0 -6
- package/dist/_virtual/__vite-browser-external.js +0 -4
- package/dist/_virtual/index2.js +0 -4
- package/dist/_virtual/index3.js +0 -7
- package/dist/assets/icons/add-child.svg.js +0 -5
- package/dist/assets/icons/add-sibling.svg.js +0 -5
- package/dist/assets/icons/copy-to.svg.js +0 -5
- package/dist/assets/icons/move-to.svg.js +0 -5
- package/dist/assets/icons/unshare.svg.js +0 -5
- package/dist/components/FileManager/FileManager.js +0 -888
- package/dist/components/FileManager/FileManagerContext.js +0 -5
- package/dist/components/FileManager/FileManagerProvider.js +0 -772
- package/dist/components/FileManager/FileManagerTooltip.js +0 -92
- package/dist/components/FileManager/components/ConflictResolutionPopup/ConflictResolutionPopup.js +0 -293
- package/dist/components/FileManager/components/DestinationFolderPopup/DestinationFolderPopup.js +0 -201
- package/dist/components/FileManager/components/DialFileManagerItemSummaryCell/DialFileManagerItemSummaryCell.js +0 -52
- package/dist/components/FileManager/components/FileManagerBulkActionsToolbar/FileManagerBulkActionsToolbar.js +0 -103
- package/dist/components/FileManager/components/FileManagerBulkActionsToolbar/constants.js +0 -5
- package/dist/components/FileManager/components/FileManagerDeleteConfirmationPopup/FileManagerDeleteConfirmationPopup.js +0 -56
- package/dist/components/FileManager/components/FileManagerItemIcon/FileManagerItemIcon.js +0 -69
- package/dist/components/FileManager/components/FileManagerItemName/FileManagerItemName.js +0 -100
- package/dist/components/FileManager/components/FileManagerItemNameInput/FileManagerItemNameInput.js +0 -93
- package/dist/components/FileManager/components/FileManagerNavigationPanel/FileManagerNavigationPanel.js +0 -165
- package/dist/components/FileManager/components/FileManagerNavigationPanel/constants.js +0 -6
- package/dist/components/FileManager/components/FileManagerToolbar/DialFileManagerToolbar.js +0 -120
- package/dist/components/FileManager/components/FileMetadataPopup/FileMetadataPopup.js +0 -119
- package/dist/components/FileManager/components/FileMetadataPopup/constants.js +0 -9
- package/dist/components/FileManager/components/FoldersTree/FoldersTree.js +0 -180
- package/dist/components/FileManager/components/FoldersTree/constants.js +0 -9
- package/dist/components/FileManager/components/FoldersTree/hooks/use-expanded-paths.js +0 -51
- package/dist/components/FileManager/constants.js +0 -28
- package/dist/components/FileManager/errors.js +0 -10
- package/dist/components/FileManager/hooks/use-bulk-actions.js +0 -143
- package/dist/components/FileManager/hooks/use-collapse-tree.js +0 -22
- package/dist/components/FileManager/hooks/use-conflict-resolution.js +0 -158
- package/dist/components/FileManager/hooks/use-current-path.js +0 -29
- package/dist/components/FileManager/hooks/use-file-clipboard.js +0 -154
- package/dist/components/FileManager/hooks/use-file-delete.js +0 -39
- package/dist/components/FileManager/hooks/use-file-download.js +0 -16
- package/dist/components/FileManager/hooks/use-file-manager-columns.js +0 -106
- package/dist/components/FileManager/hooks/use-file-manager-context.js +0 -13
- package/dist/components/FileManager/hooks/use-file-manager-tabs.js +0 -23
- package/dist/components/FileManager/hooks/use-file-metadata.js +0 -20
- package/dist/components/FileManager/hooks/use-file-search.js +0 -90
- package/dist/components/FileManager/hooks/use-file-upload.js +0 -338
- package/dist/components/FileManager/hooks/use-folder-creation.js +0 -151
- package/dist/components/FileManager/hooks/use-grid-actions-column.js +0 -65
- package/dist/components/FileManager/hooks/use-grid-context-menu.js +0 -188
- package/dist/components/FileManager/hooks/use-item-renaming.js +0 -124
- package/dist/components/FileManager/hooks/use-new-actions.js +0 -67
- package/dist/components/FileManager/hooks/use-paths-selection.js +0 -28
- package/dist/components/FileManager/hooks/use-show-hidden-files.js +0 -20
- package/dist/components/FileManager/hooks/use-tree-additional-buttons.js +0 -39
- package/dist/components/FileManager/hooks/use-trigger-view-create-folder.js +0 -42
- package/dist/components/FileManager/hooks/use-trigger-view-rename.js +0 -25
- package/dist/components/FileManager/utils.js +0 -129
- package/dist/constants/file-grid-columns.js +0 -176
- package/dist/file-manager.cjs +0 -1
- package/dist/file-manager.js +0 -22
- package/dist/hooks/use-flexible-actions.js +0 -72
- package/dist/hooks/use-width-breakpoint.js +0 -15
- package/dist/node_modules/mime-db/db.json.js +0 -2527
- package/dist/node_modules/mime-db/index.js +0 -8
- package/dist/node_modules/mime-types/index.js +0 -70
- package/dist/node_modules/mime-types/mimeScore.js +0 -38
- package/dist/src/__mocks__/monaco-editor.d.ts +0 -13
- package/dist/src/components/Analytics/Bar/utils.spec.d.ts +0 -1
- package/dist/src/components/Analytics/Histogram/utils.spec.d.ts +0 -1
- package/dist/src/components/Button/ButtonWrappers.test.d.ts +0 -1
- package/dist/src/components/Button/__tests__/utils.spec.d.ts +0 -1
- package/dist/src/components/FileManager/FileManager.d.ts +0 -326
- package/dist/src/components/FileManager/FileManagerContext.d.ts +0 -181
- package/dist/src/components/FileManager/FileManagerProvider.d.ts +0 -21
- package/dist/src/components/FileManager/FileManagerTooltip.d.ts +0 -12
- package/dist/src/components/FileManager/__mocks__/files.d.ts +0 -3
- package/dist/src/components/FileManager/components/ConflictResolutionPopup/ConflictResolutionPopup.d.ts +0 -90
- package/dist/src/components/FileManager/components/DestinationFolderPopup/DestinationFolderPopup.d.ts +0 -73
- package/dist/src/components/FileManager/components/DialFileManagerItemSummaryCell/DialFileManagerItemSummaryCell.d.ts +0 -63
- package/dist/src/components/FileManager/components/DialFileManagerItemSummaryCell/DialFileManagerItemSummaryCell.test.d.ts +0 -1
- package/dist/src/components/FileManager/components/FileManagerBulkActionsToolbar/FileManagerBulkActionsToolbar.d.ts +0 -56
- package/dist/src/components/FileManager/components/FileManagerBulkActionsToolbar/constants.d.ts +0 -3
- package/dist/src/components/FileManager/components/FileManagerDeleteConfirmationPopup/FileManagerDeleteConfirmationPopup.d.ts +0 -26
- package/dist/src/components/FileManager/components/FileManagerItemIcon/FileManagerItemIcon.d.ts +0 -51
- package/dist/src/components/FileManager/components/FileManagerItemName/FileManagerItemName.d.ts +0 -57
- package/dist/src/components/FileManager/components/FileManagerItemNameInput/FileManagerItemNameInput.d.ts +0 -71
- package/dist/src/components/FileManager/components/FileManagerNavigationPanel/FileManagerNavigationPanel.d.ts +0 -64
- package/dist/src/components/FileManager/components/FileManagerNavigationPanel/constants.d.ts +0 -3
- package/dist/src/components/FileManager/components/FileManagerToolbar/DialFileManagerToolbar.d.ts +0 -76
- package/dist/src/components/FileManager/components/FileMetadataPopup/FileMetadataPopup.d.ts +0 -50
- package/dist/src/components/FileManager/components/FileMetadataPopup/constants.d.ts +0 -6
- package/dist/src/components/FileManager/components/FoldersTree/FoldersTree.d.ts +0 -135
- package/dist/src/components/FileManager/components/FoldersTree/constants.d.ts +0 -6
- package/dist/src/components/FileManager/components/FoldersTree/hooks/use-expanded-paths.d.ts +0 -13
- package/dist/src/components/FileManager/constants.d.ts +0 -21
- package/dist/src/components/FileManager/errors.d.ts +0 -6
- package/dist/src/components/FileManager/hooks/__tests__/use-conflict-resolution.spec.d.ts +0 -1
- package/dist/src/components/FileManager/hooks/__tests__/use-current-path.spec.d.ts +0 -1
- package/dist/src/components/FileManager/hooks/__tests__/use-file-clipboard.spec.d.ts +0 -1
- package/dist/src/components/FileManager/hooks/__tests__/use-file-delete.spec.d.ts +0 -1
- package/dist/src/components/FileManager/hooks/__tests__/use-file-download.spec.d.ts +0 -1
- package/dist/src/components/FileManager/hooks/__tests__/use-file-upload.spec.d.ts +0 -1
- package/dist/src/components/FileManager/hooks/__tests__/use-show-hidden-files.spec.d.ts +0 -1
- package/dist/src/components/FileManager/hooks/__tests__/use-trigger-view-rename.spec.d.ts +0 -1
- package/dist/src/components/FileManager/hooks/use-bulk-actions.d.ts +0 -30
- package/dist/src/components/FileManager/hooks/use-collapse-tree.d.ts +0 -9
- package/dist/src/components/FileManager/hooks/use-conflict-resolution.d.ts +0 -27
- package/dist/src/components/FileManager/hooks/use-current-path.d.ts +0 -13
- package/dist/src/components/FileManager/hooks/use-file-clipboard.d.ts +0 -37
- package/dist/src/components/FileManager/hooks/use-file-delete.d.ts +0 -13
- package/dist/src/components/FileManager/hooks/use-file-download.d.ts +0 -9
- package/dist/src/components/FileManager/hooks/use-file-manager-columns.d.ts +0 -43
- package/dist/src/components/FileManager/hooks/use-file-manager-context.d.ts +0 -7
- package/dist/src/components/FileManager/hooks/use-file-manager-tabs.d.ts +0 -10
- package/dist/src/components/FileManager/hooks/use-file-metadata.d.ts +0 -10
- package/dist/src/components/FileManager/hooks/use-file-search.d.ts +0 -23
- package/dist/src/components/FileManager/hooks/use-file-upload.d.ts +0 -64
- package/dist/src/components/FileManager/hooks/use-folder-creation.d.ts +0 -30
- package/dist/src/components/FileManager/hooks/use-grid-actions-column.d.ts +0 -15
- package/dist/src/components/FileManager/hooks/use-grid-context-menu.d.ts +0 -44
- package/dist/src/components/FileManager/hooks/use-item-renaming.d.ts +0 -22
- package/dist/src/components/FileManager/hooks/use-new-actions.d.ts +0 -23
- package/dist/src/components/FileManager/hooks/use-paths-selection.d.ts +0 -13
- package/dist/src/components/FileManager/hooks/use-show-hidden-files.d.ts +0 -9
- package/dist/src/components/FileManager/hooks/use-tree-additional-buttons.d.ts +0 -22
- package/dist/src/components/FileManager/hooks/use-trigger-view-create-folder.d.ts +0 -26
- package/dist/src/components/FileManager/hooks/use-trigger-view-rename.d.ts +0 -20
- package/dist/src/components/FileManager/utils.d.ts +0 -69
- package/dist/src/components/FileManager/utils.spec.d.ts +0 -1
- package/dist/src/components/Grid/comparators/base-column-comparator.spec.d.ts +0 -1
- package/dist/src/components/Grid/renderers/utils.spec.d.ts +0 -1
- package/dist/src/components/New/AutocompleteTagInput/utils.spec.d.ts +0 -1
- package/dist/src/components/New/Button/__tests__/utils.spec.d.ts +0 -1
- package/dist/src/components/New/Calendar/utils.spec.d.ts +0 -1
- package/dist/src/components/New/Slider/utils.spec.d.ts +0 -1
- package/dist/src/components/New/TagInput/utils.spec.d.ts +0 -1
- package/dist/src/components/Pagination/tests/utils.spec.d.ts +0 -1
- package/dist/src/components/SchemaRenderer/tests/utils.spec.d.ts +0 -1
- package/dist/src/components/Steps/tests/Steps.test.d.ts +0 -1
- package/dist/src/components/Steps/tests/utils.spec.d.ts +0 -1
- package/dist/src/constants/file-grid-columns.d.ts +0 -4
- package/dist/src/models/file-manager.d.ts +0 -19
- package/dist/src/subpaths/file-manager.d.ts +0 -21
- package/dist/src/types/file-manager.d.ts +0 -59
- package/dist/src/utils/__tests__/accessible-name.spec.d.ts +0 -1
- package/dist/src/utils/__tests__/avatar.spec.d.ts +0 -1
- package/dist/src/utils/__tests__/element-size-observer.spec.d.ts +0 -1
- package/dist/src/utils/__tests__/file-accept.spec.d.ts +0 -1
- package/dist/src/utils/__tests__/merge-classes.spec.d.ts +0 -1
- package/dist/src/utils/__tests__/path.spec.d.ts +0 -1
- package/dist/src/utils/__tests__/pointer.spec.d.ts +0 -1
- package/dist/src/utils/__tests__/timezone.spec.d.ts +0 -1
- package/dist/src/utils/grid-registration.spec.d.ts +0 -1
- package/dist/types/file-manager.js +0 -12
- package/dist/use-file-manager-tabs-BpaJ5_zh.cjs +0 -3
- package/dist/utils/path.js +0 -4
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.
|
|
3
|
-
"generatedAt": "2026-10-
|
|
2
|
+
"version": "0.16.0-dev.11",
|
|
3
|
+
"generatedAt": "2026-10-15T06:35:43.091Z",
|
|
4
4
|
"kit": {
|
|
5
5
|
"name": "@epam/ai-dial-ui-kit",
|
|
6
6
|
"description": "A modern UI kit for building AI DIAL interfaces with React",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"setupNotes": "## Next.js Integration\n1. Install the package. React is the only peer you have to supply — everything\n the kit renders with, it installs itself.\n\n``` bash\nnpm install @epam/ai-dial-ui-kit\nnpm install react react-dom\n```\n\nAdd the editor packages only if you use the `@epam/ai-dial-ui-kit/editors`\nsubpath. They are optional peers, so `npm install` stays quiet without them, and\nthe kit only reaches for them when a `Lazy*` editor actually mounts:\n\n``` bash\nnpm install monaco-editor @monaco-editor/react @uiw/react-md-editor\n```\n\n2. Import style in the root layout of the project:\n\n```tsx\n// app/layout.tsx\nimport \"@epam/ai-dial-ui-kit/styles.css\";\n```\n\n3. Usage example\n\n```tsx\n// app/page.tsx\n\"use client\";\nimport { DialPrimaryButton } from \"@epam/ai-dial-ui-kit\";\n\nexport default function Home() {\n return (\n <div className=\"w-full h-full flex flex-col gap-3 items-center justify-center\">\n <h1>Test library</h1>\n <DialPrimaryButton onClick={() => alert('Hello AI DIAL!')} />\n </div>\n );\n}\n```\nSee \"🎨 Theming & Customization\" section in README."
|
|
18
18
|
},
|
|
19
19
|
"styles": "# Typography CSS Utility Classes\n\n## Design-system-compliant classes (`dial-*-text`)\n\nUse these by default. They follow the design system type scale.\n\n| Class | Design name | Weight | Size / Line-height |\n| --------------------------------- | --------------------------- | -------- | ----------------------------------- |\n| `.dial-display1-text` | Display 1 | semibold | 32px / 48px |\n| `.dial-display2-text` | Display 2 | semibold | 28px / 40px |\n| `.dial-display3-text` | Display 3 | semibold | 22px / 32px |\n| `.dial-h1-text` | Heading 1 | semibold | 20px / 28px |\n| `.dial-h2-text` | Heading 2 | semibold | 18px / 26px |\n| `.dial-h3-text` | Heading 3 | semibold | 16px / 24px |\n| `.dial-body-text` | Body Text | normal | 16px / 24px |\n| `.dial-body-semi-text` | Body Text (Semi Bold) | semibold | 16px / 24px |\n| `.dial-body-paragraph-text` | Body Paragraph | normal | 16px / 26px |\n| `.dial-body-paragraph-semi-text` | Body Paragraph (Semi Bold) | semibold | 16px / 26px |\n| `.dial-small-text` | Small Text | normal | 14px / 20px |\n| `.dial-small-semi-text` | Small Text (Semi Bold) | semibold | 14px / 20px |\n| `.dial-small-paragraph-text` | Small Paragraph | normal | 14px / 24px |\n| `.dial-small-paragraph-semi-text` | Small Paragraph (Semi Bold) | semibold | 14px / 24px |\n| `.dial-tiny-text` | Tiny Text | normal | 12px / 16px |\n| `.dial-tiny-lead-text` | Tiny Text Lead | normal | 12px / 16px (+0.03em, uppercase) |\n| `.dial-tiny-semi-text` | Tiny Text (Semi Bold) | semibold | 12px / 16px |\n| `.dial-tiny-lead-semi-text` | Tiny Text Lead (Semi Bold) | semibold | 12px / 16px (+0.03em, uppercase) |\n| `.dial-caption-text` | Caption | normal | 10px / 12px |\n| `.dial-caption-lead-semi-text` | Caption Lead (Semi Bold) | semibold | 10px / 12px (+0.06em, uppercase) |\n| `.dial-code-text` | Code | normal | 14px / 20px (Fira Code / monospace) |\n| `.dial-italic-text` | Italic | normal | 18px / 22px (serif, italic) |\n| `.dial-small-italic-text` | Small Italic | normal | 14px / 20px (serif, italic) |\n| `.dial-tiny-italic-text` | Tiny Italic | normal | 12px / 16px (serif, italic) |\n| `.dial-caption-italic-text` | Caption Italic | normal | 10px / 12px (serif, italic) |\n\nThe three `*-lead-*` classes apply `text-transform: uppercase` themselves — pass them the sentence-case string, not a pre-uppercased one, so the accessible name stays readable.\n\n`.dial-code-text` resolves its family through `var(--theme-font-mono, var(--font-fira-code, 'Fira Code'))` before falling back to the system monospace stack. The kit ships no font file; the host provides the face.\n\nThe `*-italic-text` classes use a serif italic face and are intended for mathematical and formula symbols. Their line-heights follow the corresponding typography size; the default 18px variant uses a fixed 22px line-height to keep standalone symbols vertically aligned without changing their container's height.\n\n## Legacy classes (avoid in new code)\n\nClasses like `dial-h1`, `dial-h2`, `dial-body`, `dial-small*`, `dial-tiny*`, `dial-caption` are legacy. They can be used in legacy projects if user explicidly specify they need legacy typography.\n\n## Raw SCSS source\n",
|
|
20
|
-
"theming": "# Theming & CSS Variable Tokens\n\nAI DIAL UI Kit uses CSS custom properties (variables) for theming.\nDark and light themes are switched by setting different values for these variables on `:root` or a theme wrapper element.\n\n## Usage in Tailwind\n\nThe Tailwind config maps CSS variables to utility classes.\nUse these classes in your components:\n\n```tsx\n// Backgrounds\n<div className=\"bg-layer-0\" /> // darkest background\n<div className=\"bg-layer-1\" /> // main content area\n<div className=\"bg-layer-2\" /> // elevated panels\n\n// Text\n<span className=\"text-primary\" /> // main text color\n<span className=\"text-secondary\" /> // muted text\n<span className=\"text-error\" /> // error state\n\n// Borders\n<div className=\"border border-primary\" /> // standard border\n<div className=\"border border-error\" /> // error border\n```\n\n## Override CSS Variables\n\n```css\n:root {\n --bg-layer-0: #000000;\n --bg-layer-1: #0c101d;\n --bg-layer-2: #161b2d;\n --bg-layer-3: #1d2439;\n --text-primary: #eef1f7;\n --text-secondary: #9fa6bd;\n --text-error: #f76464;\n --stroke-primary: #696e7c;\n --controls-bg-accent-primary: #3664e2;\n /* ... see
|
|
20
|
+
"theming": "# Theming & CSS Variable Tokens\n\nAI DIAL UI Kit uses CSS custom properties (variables) for theming.\nDark and light themes are switched by setting different values for these variables on `:root` or a theme wrapper element.\n\n## Usage in Tailwind\n\nThe Tailwind config maps CSS variables to utility classes.\nUse these classes in your components:\n\n```tsx\n// Backgrounds\n<div className=\"bg-layer-0\" /> // darkest background\n<div className=\"bg-layer-1\" /> // main content area\n<div className=\"bg-layer-2\" /> // elevated panels\n\n// Text\n<span className=\"text-primary\" /> // main text color\n<span className=\"text-secondary\" /> // muted text\n<span className=\"text-error\" /> // error state\n\n// Borders\n<div className=\"border border-primary\" /> // standard border\n<div className=\"border border-error\" /> // error border\n```\n\n## Override CSS Variables\n\n```css\n:root {\n --bg-layer-0: #000000;\n --bg-layer-1: #0c101d;\n --bg-layer-2: #161b2d;\n --bg-layer-3: #1d2439;\n --text-primary: #eef1f7;\n --text-secondary: #9fa6bd;\n --text-error: #f76464;\n --stroke-primary: #696e7c;\n --controls-bg-accent-primary: #3664e2;\n /* ... see src/styles/theme.scss for full list */\n}\n```\n\n## Overlay stacking\n\nPortalled overlays stack on a ladder driven by one variable, `--z-overlay`\n(default `52`): `z-popup` (base — `Popup` backdrop), `z-floating` (+1 —\n`Dropdown`/`Select` overlays, submenus, `Calendar`), `z-interactive-tooltip`\n(+2 — `InteractiveTooltip`), `z-tooltip` (+3 — `Tooltip`). To lift every\noverlay above a host's own sticky header or modal, set the base once on `:root`\n(or in a `ThemeScope` class) — the steps move together, so their order is kept:\n\n```css\n:root {\n --z-overlay: 1000;\n}\n```\n\nDo not override `[role='menu']` or hardcode `z-[53]` in a host. To move one\noverlay only, pass a `z-*` utility through its class prop (`listClassName`,\n`overlayClassName`, `contentClassName`, `panelClassName`) — `mergeClasses`\nreplaces the layer's step with it.\n\n## Token Reference\n\n\n### backgroundsColors\n| Tailwind class suffix | CSS variable | Default value |\n|---|---|---|\n| `layer-base` | `var(--bg-layer-base)` | `#f5f7fa` |\n| `error` | `var(--bg-error)` | `#f3d6d8` |\n| `warning` | `var(--bg-warning)` | `#faf0cf` |\n| `info` | `var(--bg-info)` | `#e1eaf9` |\n| `success` | `var(--bg-success)` | `#dbf1eb` |\n| `gradient-1` | `var(--bg-gradient-1)` | `#1d4ed8` |\n| `gradient-2` | `var(--bg-gradient-2)` | `#885df2` |\n| `blue` | `var(--bg-visual-blue)` | `#d6edf9` |\n| `green-1` | `var(--bg-visual-green-1)` | `#cde8e5` |\n| `green-2` | `var(--bg-visual-green-2)` | `#d1f0dc` |\n| `brown` | `var(--bg-visual-brown)` | `#fde8d8` |\n| `red` | `var(--bg-visual-red)` | `#fce7f3` |\n\n### borderColors\n| Tailwind class suffix | CSS variable | Default value |\n|---|---|---|\n| `primary` | `var(--stroke-primary)` | `#57647a` |\n| `secondary` | `var(--stroke-secondary)` | `#d1dbea` |\n| `tertiary` | `var(--stroke-tertiary)` | `#e0e6f0` |\n| `error` | `var(--stroke-error)` | `#ae2f2f` |\n| `warning` | `var(--stroke-warning)` | `#eec840` |\n| `info` | `var(--stroke-info)` | `#1d4ed8` |\n| `accent` | `var(--stroke-accent)` | `#1d4ed8` |\n| `success` | `var(--stroke-success)` | `#007274` |\n| `default` | `var(--stroke-default)` | `#b2c2dd` |\n| `gradient-1` | `var(--stroke-gradient-1)` | `#5976e9` |\n| `gradient-2` | `var(--stroke-gradient-2)` | `#885df2` |\n| `focus` | `var(--stroke-focus)` | `#161b2d` |\n\n### textColors\n| Tailwind class suffix | CSS variable | Default value |\n|---|---|---|\n| `primary` | `var(--text-primary)` | `#161b2d` |\n| `secondary` | `var(--text-secondary)` | `#57647a` |\n| `tertiary` | `var(--text-tertiary)` | `#848e9c` |\n| `accent` | `var(--text-accent)` | `#1d4ed8` |\n| `error` | `var(--text-error)` | `#ae2f2f` |\n| `warning` | `var(--text-warning)` | `#7f6300` |\n| `warning-icon` | `var(--text-warning-icon)` | `#eec840` |\n| `info` | `var(--text-info)` | `#1d4ed8` |\n| `success` | `var(--text-success)` | `#007274` |\n| `blue` | `var(--text-visual-blue)` | `#1189c8` |\n| `green-1` | `var(--text-visual-green-1)` | `#059669` |\n| `green-2` | `var(--text-visual-green-2)` | `#0d6e72` |\n| `green-3` | `var(--text-visual-green-3)` | `#065f46` |\n| `brown-1` | `var(--text-visual-brown-1)` | `#d36817` |\n| `brown-2` | `var(--text-visual-brown-2)` | `#b45309` |\n| `red` | `var(--text-visual-red)` | `#9d174d` |\n| `violet-1` | `var(--text-visual-violet-1)` | `#7c3aed` |\n| `violet-2` | `var(--text-visual-violet-2)` | `#3730b7` |\n\n### placeholderColor\n| Tailwind class suffix | CSS variable | Default value |\n|---|---|---|\n| `primary` | `var(--text-primary)` | `#161b2d` |\n\n### backgroundsColorsToRemove\n| Tailwind class suffix | CSS variable | Default value |\n|---|---|---|\n| `layer-0` | `var(--bg-layer-0)` | `#fcfcfc` |\n| `layer-1` | `var(--bg-layer-1)` | `#e0e6f0` |\n| `layer-2` | `var(--bg-layer-2)` | `#eef1f7` |\n| `layer-3` | `var(--bg-layer-3)` | `#fcfcfc` |\n| `layer-4` | `var(--bg-layer-4)` | `#d1dbea` |\n| `blackout` | `var(--bg-blackout)` | `#0c101d4d` |\n| `neutral` | `var(--bg-neutral)` | `#fcfcfc` |\n| `accent-primary` | `var(--bg-accent-primary)` | `#5c8dea` |\n| `accent-secondary` | `var(--bg-accent-secondary)` | `#37babc` |\n| `red-400` | `var(--bg-red-400)` | `#f76464` |\n| `controls-error` | `var(--controls-bg-error)` | `#ae2f2f` |\n| `controls-disable` | `var(--controls-bg-disable)` | `#d1dbea` |\n\n### borderColorsToRemove\n| Tailwind class suffix | CSS variable | Default value |\n|---|---|---|\n| `accent-primary` | `var(--stroke-accent-primary)` | `#124ace` |\n| `accent-secondary` | `var(--stroke-accent-secondary)` | `#007274` |\n| `controls-accent` | `var(--controls-bg-accent)` | `#5c8dea` |\n| `hover` | `var(--stroke-hover)` | `#eef1f7` |\n| `red-900` | `var(--red-900)` | `#402027` |\n\n### textColorsToRemove\n| Tailwind class suffix | CSS variable | Default value |\n|---|---|---|\n| `accent-primary` | `var(--text-accent-primary)` | `#7da4ff` |\n| `accent-secondary` | `var(--text-accent-secondary)` | `#37babc` |\n| `accent-tertiary` | `var(--text-accent-tertiary)` | `#a972ff` |\n| `controls-permanent` | `var(--controls-text-permanent)` | `#fcfcfc` |\n| `controls-neutral` | `var(--controls-text-neutral)` | `#161b2d` |\n\n### shadowColors\n| Tailwind class suffix | CSS variable | Default value |\n|---|---|---|\n| `sm` | `var(--shadow-sm)` | `#2764d914` |\n| `md` | `var(--shadow-md)` | `#2764d90f` |\n| `lg` | `var(--shadow-lg)` | `#2764d914` |",
|
|
21
21
|
"components": [
|
|
22
22
|
{
|
|
23
23
|
"name": "Spinner",
|
|
@@ -3660,7 +3660,7 @@
|
|
|
3660
3660
|
"name": "Avatar",
|
|
3661
3661
|
"category": "Components_2_0",
|
|
3662
3662
|
"generation": "2.0",
|
|
3663
|
-
"description": "A person's or an entity's picture, or its initials on a colour picked from\nits name.\naliases: UserAvatar|InitialsAvatar|ProfilePicture\nDesign system 2.0\n\nThe same name always gets the same colour, drawn from the theme's visual\ntokens, so a list of avatars stays stable between renders and sessions. An
|
|
3663
|
+
"description": "A person's or an entity's picture, or its initials on a colour picked from\nits name.\naliases: UserAvatar|InitialsAvatar|ProfilePicture\nDesign system 2.0\n\nThe same name always gets the same colour, drawn from the theme's visual\ntokens, so a list of avatars stays stable between renders and sessions; pass\n`color` to pin one entry of `AVATAR_PALETTE` instead, so every avatar of a\nkind shares one colour regardless of name or locale. An image that is\nmissing or fails to load falls back to the initials; a new `src` tries the\nimage again.\n\nAn avatar with an `alt` is a `role=\"img\"` named by it, whether it shows the\nimage or the initials. Without one it is decorative and hidden from\nassistive technology, which is right when a visible name sits beside it.",
|
|
3664
3664
|
"props": [
|
|
3665
3665
|
{
|
|
3666
3666
|
"name": "name",
|
|
@@ -3701,6 +3701,12 @@
|
|
|
3701
3701
|
"defaultValue": "AvatarShape.Circle",
|
|
3702
3702
|
"description": "Outline of the avatar"
|
|
3703
3703
|
},
|
|
3704
|
+
{
|
|
3705
|
+
"name": "color",
|
|
3706
|
+
"type": "AvatarColorClasses",
|
|
3707
|
+
"required": false,
|
|
3708
|
+
"description": "Explicit colour pair overriding the deterministic pick from `name`"
|
|
3709
|
+
},
|
|
3704
3710
|
{
|
|
3705
3711
|
"name": "className",
|
|
3706
3712
|
"type": "string",
|
|
@@ -9300,1087 +9306,288 @@
|
|
|
9300
9306
|
"sourceFile": "components/DropdownIcon/DropdownIcon.tsx"
|
|
9301
9307
|
},
|
|
9302
9308
|
{
|
|
9303
|
-
"name": "
|
|
9304
|
-
"category": "
|
|
9309
|
+
"name": "DialSchemaRenderer",
|
|
9310
|
+
"category": "Name",
|
|
9311
|
+
"generation": "1.0",
|
|
9312
|
+
"description": "Renders a JSON Schema as a form UI with collapsible sections, validation, and default values.\naliases: SchemaRenderer|JsonSchemaForm\nDesign system 1.0",
|
|
9313
|
+
"props": [],
|
|
9314
|
+
"examples": [
|
|
9315
|
+
"<DialSchemaRenderer\n schema={mySchema}\n onChange={(v) => console.log(v)}\n onDefaultValues={(defaults) => console.log(defaults)}\n/>"
|
|
9316
|
+
],
|
|
9317
|
+
"sourceFile": "components/SchemaRenderer/SchemaRenderer.tsx",
|
|
9318
|
+
"supersededBy": "SchemaRenderer"
|
|
9319
|
+
},
|
|
9320
|
+
{
|
|
9321
|
+
"name": "DialJsonEditor",
|
|
9322
|
+
"category": "Data Display",
|
|
9305
9323
|
"generation": "1.0",
|
|
9306
|
-
"description": "
|
|
9324
|
+
"description": "A JSON editor component built on top of Monaco Editor.\nDesign system 1.0\nProvides syntax highlighting, validation, and theme support for JSON editing.\n\nLazy-loaded component. This component is not exported directly from the UI kit to avoid errors when using with SSR. Use `LazyDialJsonEditor` and the manifest `lazy` field for dynamic import guidance.",
|
|
9307
9325
|
"props": [
|
|
9308
9326
|
{
|
|
9309
|
-
"name": "
|
|
9310
|
-
"type": "string",
|
|
9327
|
+
"name": "value",
|
|
9328
|
+
"type": "string | undefined",
|
|
9311
9329
|
"required": false,
|
|
9312
|
-
"description": "
|
|
9330
|
+
"description": "The JSON string value to edit"
|
|
9313
9331
|
},
|
|
9314
9332
|
{
|
|
9315
|
-
"name": "
|
|
9333
|
+
"name": "currentTheme",
|
|
9316
9334
|
"type": "string",
|
|
9317
|
-
"required":
|
|
9318
|
-
"description": "
|
|
9335
|
+
"required": true,
|
|
9336
|
+
"description": "The theme to apply to the editor"
|
|
9319
9337
|
},
|
|
9320
9338
|
{
|
|
9321
|
-
"name": "
|
|
9322
|
-
"type": "
|
|
9339
|
+
"name": "themesConfig",
|
|
9340
|
+
"type": "Record<EditorThemes, editor.IStandaloneThemeData>",
|
|
9323
9341
|
"required": false,
|
|
9324
|
-
"
|
|
9342
|
+
"defaultValue": "EDITOR_THEMES_CONFIG",
|
|
9343
|
+
"description": "Custom theme configurations"
|
|
9325
9344
|
},
|
|
9326
9345
|
{
|
|
9327
|
-
"name": "
|
|
9328
|
-
"type": "
|
|
9329
|
-
"required":
|
|
9346
|
+
"name": "onChange",
|
|
9347
|
+
"type": "(value: string | undefined) => void",
|
|
9348
|
+
"required": true,
|
|
9349
|
+
"description": "Callback fired when the editor content changes"
|
|
9330
9350
|
},
|
|
9331
9351
|
{
|
|
9332
|
-
"name": "
|
|
9333
|
-
"type": "
|
|
9352
|
+
"name": "onValidateJSON",
|
|
9353
|
+
"type": "OnValidate",
|
|
9334
9354
|
"required": false,
|
|
9335
|
-
"description": "
|
|
9355
|
+
"description": "Callback fired when JSON validation occurs"
|
|
9336
9356
|
},
|
|
9337
9357
|
{
|
|
9338
|
-
"name": "
|
|
9339
|
-
"type": "
|
|
9358
|
+
"name": "options",
|
|
9359
|
+
"type": "editor.IStandaloneEditorConstructionOptions",
|
|
9340
9360
|
"required": false,
|
|
9341
|
-
"description": "
|
|
9342
|
-
}
|
|
9361
|
+
"description": "Additional Monaco editor options"
|
|
9362
|
+
}
|
|
9363
|
+
],
|
|
9364
|
+
"examples": [],
|
|
9365
|
+
"sourceFile": "components/JsonEditor/JsonEditor.tsx",
|
|
9366
|
+
"lazy": {
|
|
9367
|
+
"loaderExportName": "LazyDialJsonEditor",
|
|
9368
|
+
"packageImport": "@epam/ai-dial-ui-kit",
|
|
9369
|
+
"ssr": false,
|
|
9370
|
+
"nextDynamicExample": "import dynamic from 'next/dynamic';\nimport { LazyDialJsonEditor } from '@epam/ai-dial-ui-kit';\n\nconst DialJsonEditor = dynamic(\n async () => (await LazyDialJsonEditor()).DialJsonEditor,\n { ssr: false },\n);"
|
|
9371
|
+
}
|
|
9372
|
+
},
|
|
9373
|
+
{
|
|
9374
|
+
"name": "DialMarkdownEditor",
|
|
9375
|
+
"category": "Data Display",
|
|
9376
|
+
"generation": "1.0",
|
|
9377
|
+
"description": "A Markdown editor component built on top of\n\nLazy-loaded component. This component is not exported directly from the UI kit to avoid errors when using with SSR. Use `LazyDialMarkdownEditor` and the manifest `lazy` field for dynamic import guidance.",
|
|
9378
|
+
"props": [
|
|
9343
9379
|
{
|
|
9344
|
-
"name": "
|
|
9345
|
-
"type": "
|
|
9380
|
+
"name": "value",
|
|
9381
|
+
"type": "string",
|
|
9346
9382
|
"required": false,
|
|
9347
|
-
"description": "
|
|
9383
|
+
"description": "The current markdown content"
|
|
9348
9384
|
},
|
|
9349
9385
|
{
|
|
9350
|
-
"name": "
|
|
9351
|
-
"type": "
|
|
9386
|
+
"name": "onChange",
|
|
9387
|
+
"type": "(value: string) => void",
|
|
9352
9388
|
"required": false,
|
|
9353
|
-
"description": "
|
|
9389
|
+
"description": "Callback fired when the editor content changes"
|
|
9354
9390
|
},
|
|
9355
9391
|
{
|
|
9356
|
-
"name": "
|
|
9357
|
-
"type": "
|
|
9392
|
+
"name": "height",
|
|
9393
|
+
"type": "number",
|
|
9358
9394
|
"required": false,
|
|
9359
|
-
"
|
|
9395
|
+
"defaultValue": "300",
|
|
9396
|
+
"description": "Height of the editor in pixels"
|
|
9360
9397
|
},
|
|
9361
9398
|
{
|
|
9362
|
-
"name": "
|
|
9363
|
-
"type": "
|
|
9399
|
+
"name": "preview",
|
|
9400
|
+
"type": "PreviewType",
|
|
9364
9401
|
"required": false,
|
|
9365
|
-
"
|
|
9402
|
+
"defaultValue": "'edit'",
|
|
9403
|
+
"description": "Preview mode ('edit', 'live', 'preview')"
|
|
9366
9404
|
},
|
|
9367
9405
|
{
|
|
9368
|
-
"name": "
|
|
9369
|
-
"type": "
|
|
9406
|
+
"name": "theme",
|
|
9407
|
+
"type": "EditorThemes",
|
|
9370
9408
|
"required": false,
|
|
9371
|
-
"
|
|
9409
|
+
"defaultValue": "EditorThemes.dark",
|
|
9410
|
+
"description": "Theme for the editor ('light' or 'dark')"
|
|
9372
9411
|
},
|
|
9373
9412
|
{
|
|
9374
|
-
"name": "
|
|
9375
|
-
"type": "
|
|
9413
|
+
"name": "className",
|
|
9414
|
+
"type": "string",
|
|
9376
9415
|
"required": false,
|
|
9377
|
-
"description": "
|
|
9416
|
+
"description": "Additional CSS classes for the container"
|
|
9378
9417
|
},
|
|
9379
9418
|
{
|
|
9380
|
-
"name": "
|
|
9381
|
-
"type": "
|
|
9419
|
+
"name": "placeholder",
|
|
9420
|
+
"type": "ReactNode",
|
|
9382
9421
|
"required": false,
|
|
9383
|
-
"description": "
|
|
9422
|
+
"description": "Content to display when the editor is empty"
|
|
9384
9423
|
},
|
|
9385
9424
|
{
|
|
9386
|
-
"name": "
|
|
9387
|
-
"type": "
|
|
9425
|
+
"name": "showDragbar",
|
|
9426
|
+
"type": "boolean",
|
|
9388
9427
|
"required": false,
|
|
9389
|
-
"
|
|
9390
|
-
|
|
9428
|
+
"defaultValue": "true",
|
|
9429
|
+
"description": "Whether to show the bottom drag bar that resizes the editor height"
|
|
9430
|
+
}
|
|
9431
|
+
],
|
|
9432
|
+
"examples": [
|
|
9433
|
+
"<DialMarkdownEditor\nvalue=\"# Hello World\"\nonChange={(value) => console.log(value)}\nheight={400}\ntheme=\"dark\"\n/>"
|
|
9434
|
+
],
|
|
9435
|
+
"sourceFile": "components/MarkdownEditor/MarkdownEditor.tsx",
|
|
9436
|
+
"lazy": {
|
|
9437
|
+
"loaderExportName": "LazyDialMarkdownEditor",
|
|
9438
|
+
"packageImport": "@epam/ai-dial-ui-kit",
|
|
9439
|
+
"ssr": false,
|
|
9440
|
+
"nextDynamicExample": "import dynamic from 'next/dynamic';\nimport { LazyDialMarkdownEditor } from '@epam/ai-dial-ui-kit';\n\nconst DialMarkdownEditor = dynamic(\n async () => (await LazyDialMarkdownEditor()).DialMarkdownEditor,\n { ssr: false },\n);"
|
|
9441
|
+
},
|
|
9442
|
+
"supersededBy": "MarkdownEditor"
|
|
9443
|
+
}
|
|
9444
|
+
],
|
|
9445
|
+
"types": [
|
|
9446
|
+
{
|
|
9447
|
+
"name": "AnalyticsCardVariant",
|
|
9448
|
+
"kind": "enum",
|
|
9449
|
+
"members": [
|
|
9391
9450
|
{
|
|
9392
|
-
"name": "
|
|
9393
|
-
"
|
|
9394
|
-
"required": false
|
|
9451
|
+
"name": "Default",
|
|
9452
|
+
"value": "'default'"
|
|
9395
9453
|
},
|
|
9396
9454
|
{
|
|
9397
|
-
"name": "
|
|
9398
|
-
"
|
|
9399
|
-
|
|
9400
|
-
|
|
9455
|
+
"name": "Compact",
|
|
9456
|
+
"value": "'compact'"
|
|
9457
|
+
}
|
|
9458
|
+
],
|
|
9459
|
+
"sourceFile": "types/analytics.ts"
|
|
9460
|
+
},
|
|
9461
|
+
{
|
|
9462
|
+
"name": "AnalyticsBarColorStop",
|
|
9463
|
+
"kind": "interface",
|
|
9464
|
+
"members": [
|
|
9401
9465
|
{
|
|
9402
|
-
"name": "
|
|
9403
|
-
"
|
|
9404
|
-
"required": false,
|
|
9405
|
-
"description": "Options that configure the collapsible sidebar and folders tree"
|
|
9466
|
+
"name": "from",
|
|
9467
|
+
"value": "number"
|
|
9406
9468
|
},
|
|
9407
9469
|
{
|
|
9408
|
-
"name": "
|
|
9409
|
-
"
|
|
9410
|
-
"required": false,
|
|
9411
|
-
"description": "Options for the file manager toolbar"
|
|
9470
|
+
"name": "to",
|
|
9471
|
+
"value": "number"
|
|
9412
9472
|
},
|
|
9413
9473
|
{
|
|
9414
|
-
"name": "
|
|
9415
|
-
"
|
|
9416
|
-
|
|
9417
|
-
|
|
9418
|
-
|
|
9474
|
+
"name": "color",
|
|
9475
|
+
"value": "string"
|
|
9476
|
+
}
|
|
9477
|
+
],
|
|
9478
|
+
"sourceFile": "models/analytics.ts"
|
|
9479
|
+
},
|
|
9480
|
+
{
|
|
9481
|
+
"name": "AnalyticsCardCompareItem",
|
|
9482
|
+
"kind": "interface",
|
|
9483
|
+
"members": [
|
|
9419
9484
|
{
|
|
9420
|
-
"name": "
|
|
9421
|
-
"
|
|
9422
|
-
"required": false,
|
|
9423
|
-
"description": "Options for the breadcrumb and search panel (value/onSearchChange for controlled search)"
|
|
9485
|
+
"name": "title",
|
|
9486
|
+
"value": "ReactNode"
|
|
9424
9487
|
},
|
|
9425
9488
|
{
|
|
9426
|
-
"name": "
|
|
9427
|
-
"
|
|
9428
|
-
|
|
9429
|
-
|
|
9430
|
-
|
|
9489
|
+
"name": "value",
|
|
9490
|
+
"value": "ReactNode"
|
|
9491
|
+
}
|
|
9492
|
+
],
|
|
9493
|
+
"sourceFile": "models/analytics.ts"
|
|
9494
|
+
},
|
|
9495
|
+
{
|
|
9496
|
+
"name": "DialTooltipContainerOptions",
|
|
9497
|
+
"kind": "interface",
|
|
9498
|
+
"members": [
|
|
9431
9499
|
{
|
|
9432
|
-
"name": "
|
|
9433
|
-
"
|
|
9434
|
-
"required": false,
|
|
9435
|
-
"description": "Options for the bulk actions toolbar shown when items are selected"
|
|
9500
|
+
"name": "initialOpen?",
|
|
9501
|
+
"value": "boolean"
|
|
9436
9502
|
},
|
|
9437
9503
|
{
|
|
9438
|
-
"name": "
|
|
9439
|
-
"
|
|
9440
|
-
"required": false,
|
|
9441
|
-
"description": "Options for the delete confirmation popup"
|
|
9504
|
+
"name": "placement?",
|
|
9505
|
+
"value": "Placement"
|
|
9442
9506
|
},
|
|
9443
9507
|
{
|
|
9444
|
-
"name": "
|
|
9445
|
-
"
|
|
9446
|
-
"required": false
|
|
9508
|
+
"name": "isTriggerClickable?",
|
|
9509
|
+
"value": "boolean"
|
|
9447
9510
|
},
|
|
9448
9511
|
{
|
|
9449
|
-
"name": "
|
|
9450
|
-
"
|
|
9451
|
-
"required": false
|
|
9512
|
+
"name": "open?",
|
|
9513
|
+
"value": "boolean"
|
|
9452
9514
|
},
|
|
9453
9515
|
{
|
|
9454
|
-
"name": "
|
|
9455
|
-
"
|
|
9456
|
-
|
|
9457
|
-
|
|
9458
|
-
|
|
9516
|
+
"name": "onOpenChange?",
|
|
9517
|
+
"value": "(open: boolean) => void"
|
|
9518
|
+
}
|
|
9519
|
+
],
|
|
9520
|
+
"sourceFile": "components/Tooltip/TooltipContext.tsx"
|
|
9521
|
+
},
|
|
9522
|
+
{
|
|
9523
|
+
"name": "EditorThemes",
|
|
9524
|
+
"kind": "enum",
|
|
9525
|
+
"members": [
|
|
9459
9526
|
{
|
|
9460
|
-
"name": "
|
|
9461
|
-
"
|
|
9462
|
-
"required": false
|
|
9527
|
+
"name": "dark",
|
|
9528
|
+
"value": "'dark'"
|
|
9463
9529
|
},
|
|
9464
9530
|
{
|
|
9465
|
-
"name": "
|
|
9466
|
-
"
|
|
9467
|
-
|
|
9468
|
-
|
|
9469
|
-
|
|
9531
|
+
"name": "light",
|
|
9532
|
+
"value": "'light'"
|
|
9533
|
+
}
|
|
9534
|
+
],
|
|
9535
|
+
"sourceFile": "types/editor.ts"
|
|
9536
|
+
},
|
|
9537
|
+
{
|
|
9538
|
+
"name": "ButtonVariant",
|
|
9539
|
+
"kind": "enum",
|
|
9540
|
+
"members": [
|
|
9470
9541
|
{
|
|
9471
|
-
"name": "
|
|
9472
|
-
"
|
|
9473
|
-
"required": false,
|
|
9474
|
-
"description": "Callback fired when a file row is clicked in the grid"
|
|
9542
|
+
"name": "Primary",
|
|
9543
|
+
"value": "'primary'"
|
|
9475
9544
|
},
|
|
9476
9545
|
{
|
|
9477
|
-
"name": "
|
|
9478
|
-
"
|
|
9479
|
-
"required": false
|
|
9546
|
+
"name": "Neutral",
|
|
9547
|
+
"value": "'neutral'"
|
|
9480
9548
|
},
|
|
9481
9549
|
{
|
|
9482
|
-
"name": "
|
|
9483
|
-
"
|
|
9484
|
-
"required": false
|
|
9550
|
+
"name": "Danger",
|
|
9551
|
+
"value": "'danger'"
|
|
9485
9552
|
},
|
|
9486
9553
|
{
|
|
9487
|
-
"name": "
|
|
9488
|
-
"
|
|
9489
|
-
"required": false,
|
|
9490
|
-
"description": "Callback fired when files copy-paste"
|
|
9554
|
+
"name": "Static",
|
|
9555
|
+
"value": "'static'"
|
|
9491
9556
|
},
|
|
9492
9557
|
{
|
|
9493
|
-
"name": "
|
|
9494
|
-
"
|
|
9495
|
-
"required": false,
|
|
9496
|
-
"description": "Callback fired when files cut-paste or rename"
|
|
9558
|
+
"name": "Starter",
|
|
9559
|
+
"value": "'starter'"
|
|
9497
9560
|
},
|
|
9498
9561
|
{
|
|
9499
|
-
"name": "
|
|
9500
|
-
"
|
|
9501
|
-
"required": false,
|
|
9502
|
-
"description": "Callback fired when files are deleted"
|
|
9562
|
+
"name": "Success",
|
|
9563
|
+
"value": "'success'"
|
|
9503
9564
|
},
|
|
9504
9565
|
{
|
|
9505
|
-
"name": "
|
|
9506
|
-
"
|
|
9507
|
-
"required": false,
|
|
9508
|
-
"description": "Callback fired when files are downloaded"
|
|
9566
|
+
"name": "Secondary",
|
|
9567
|
+
"value": "'secondary'"
|
|
9509
9568
|
},
|
|
9510
9569
|
{
|
|
9511
|
-
"name": "
|
|
9512
|
-
"
|
|
9513
|
-
|
|
9514
|
-
|
|
9515
|
-
|
|
9570
|
+
"name": "Tertiary",
|
|
9571
|
+
"value": "'tertiary'"
|
|
9572
|
+
}
|
|
9573
|
+
],
|
|
9574
|
+
"sourceFile": "types/button.ts"
|
|
9575
|
+
},
|
|
9576
|
+
{
|
|
9577
|
+
"name": "ButtonAppearance",
|
|
9578
|
+
"kind": "enum",
|
|
9579
|
+
"members": [
|
|
9516
9580
|
{
|
|
9517
|
-
"name": "
|
|
9518
|
-
"
|
|
9519
|
-
"required": false,
|
|
9520
|
-
"description": "Optional custom validation messages for renaming files and folders. Note that you need to add `${NotificationVariant.Warning}__` prefix to the `hiddenItemWarning` message to display it as a warning with the warning icon."
|
|
9581
|
+
"name": "Solid",
|
|
9582
|
+
"value": "'solid'"
|
|
9521
9583
|
},
|
|
9522
9584
|
{
|
|
9523
|
-
"name": "
|
|
9524
|
-
"
|
|
9525
|
-
"required": false,
|
|
9526
|
-
"description": "Optional RegExp will be used in the validation for the files and folders names. The \"g\" and \"y\" flags are not allowed in this RegExp and will be ignored."
|
|
9585
|
+
"name": "Outlined",
|
|
9586
|
+
"value": "'outlined'"
|
|
9527
9587
|
},
|
|
9528
9588
|
{
|
|
9529
|
-
"name": "
|
|
9530
|
-
"
|
|
9531
|
-
"required": false,
|
|
9532
|
-
"description": "Optional tooltip displayed when a file or folder name contains forbidden characters"
|
|
9533
|
-
},
|
|
9534
|
-
{
|
|
9535
|
-
"name": "skipForbiddenSymbolsCheckForActions",
|
|
9536
|
-
"type": "boolean",
|
|
9537
|
-
"required": false,
|
|
9538
|
-
"description": "When provided, skips the forbidden-symbols check when building row action menus, so all actions are shown even for items whose names contain forbidden characters."
|
|
9539
|
-
},
|
|
9540
|
-
{
|
|
9541
|
-
"name": "onCreateFolder",
|
|
9542
|
-
"type": "(\n file: DialUploadFileItem,\n folderPath: string,\n fileId: string,\n ) => void | Promise<void>",
|
|
9543
|
-
"required": false
|
|
9544
|
-
},
|
|
9545
|
-
{
|
|
9546
|
-
"name": "onCreateFolderValidate",
|
|
9547
|
-
"type": "(\n name: string,\n parentFolder: DialFile,\n ) => string | null",
|
|
9548
|
-
"required": false
|
|
9549
|
-
},
|
|
9550
|
-
{
|
|
9551
|
-
"name": "folderCreationValidationMessages",
|
|
9552
|
-
"type": "CreateFolderValidationMessages",
|
|
9553
|
-
"required": false
|
|
9554
|
-
},
|
|
9555
|
-
{
|
|
9556
|
-
"name": "getDisabledTooltip",
|
|
9557
|
-
"type": "(row: FileManagerGridRow) => string | undefined",
|
|
9558
|
-
"required": false
|
|
9559
|
-
},
|
|
9560
|
-
{
|
|
9561
|
-
"name": "fileTooLargeTooltip",
|
|
9562
|
-
"type": "string",
|
|
9563
|
-
"required": false,
|
|
9564
|
-
"description": "Optional tooltip text displayed when a file is too large."
|
|
9565
|
-
},
|
|
9566
|
-
{
|
|
9567
|
-
"name": "unsupportedFileTypeTooltip",
|
|
9568
|
-
"type": "string",
|
|
9569
|
-
"required": false,
|
|
9570
|
-
"description": "Optional tooltip text displayed when an unsupported file type is selected."
|
|
9571
|
-
},
|
|
9572
|
-
{
|
|
9573
|
-
"name": "onUploadFiles",
|
|
9574
|
-
"type": "(\n files: DialUploadFileItem[],\n destinationFolder: string,\n ) => void",
|
|
9575
|
-
"required": false,
|
|
9576
|
-
"description": "Callback fired when files are uploaded"
|
|
9577
|
-
},
|
|
9578
|
-
{
|
|
9579
|
-
"name": "prepareUploadFileName",
|
|
9580
|
-
"type": "(name: string) => string",
|
|
9581
|
-
"required": false,
|
|
9582
|
-
"description": "Optional mapper applied to each uploaded item's name before conflict resolution runs and before `onUploadFiles`/`onUploadArchive` are called. Use it to sanitize or normalize names (e.g. stripping forbidden symbols). Conflict detection is performed against the mapped names, so renames take place before the conflict check."
|
|
9583
|
-
},
|
|
9584
|
-
{
|
|
9585
|
-
"name": "onValidateUpload",
|
|
9586
|
-
"type": "(\n files: DialUploadFileItem[],\n existingFiles: DialFile[],\n destinationFolder: string,\n ) => FileUploadValidationResult | Promise<FileUploadValidationResult>",
|
|
9587
|
-
"required": false,
|
|
9588
|
-
"description": "Callback to validate files before upload"
|
|
9589
|
-
},
|
|
9590
|
-
{
|
|
9591
|
-
"name": "maxFileSize",
|
|
9592
|
-
"type": "number",
|
|
9593
|
-
"required": false,
|
|
9594
|
-
"description": "Maximum allowed file size for uploads in bytes"
|
|
9595
|
-
},
|
|
9596
|
-
{
|
|
9597
|
-
"name": "uploadValidationMessages",
|
|
9598
|
-
"type": "FileUploadValidationMessages",
|
|
9599
|
-
"required": false,
|
|
9600
|
-
"description": "Custom validation messages for file uploads. Consumers can customize these strings for a11y and copy consistency."
|
|
9601
|
-
},
|
|
9602
|
-
{
|
|
9603
|
-
"name": "onUploadArchive",
|
|
9604
|
-
"type": "(\n file: File,\n name: string,\n destinationFolder: string,\n ) => void",
|
|
9605
|
-
"required": false,
|
|
9606
|
-
"description": "Callback fired when archive files are uploaded"
|
|
9607
|
-
},
|
|
9608
|
-
{
|
|
9609
|
-
"name": "uploadEnabled",
|
|
9610
|
-
"type": "boolean",
|
|
9611
|
-
"required": false,
|
|
9612
|
-
"description": "Whether files uploads are enabled"
|
|
9613
|
-
},
|
|
9614
|
-
{
|
|
9615
|
-
"name": "fileMetadataPopupOptions",
|
|
9616
|
-
"type": "FileMetadataPopupOptions",
|
|
9617
|
-
"required": false
|
|
9618
|
-
},
|
|
9619
|
-
{
|
|
9620
|
-
"name": "onGetInfo",
|
|
9621
|
-
"type": "(file: DialFile) => void | Promise<void>",
|
|
9622
|
-
"required": false
|
|
9623
|
-
},
|
|
9624
|
-
{
|
|
9625
|
-
"name": "onUnshareFiles",
|
|
9626
|
-
"type": "(files: DialFile[]) => void | Promise<void>",
|
|
9627
|
-
"required": false
|
|
9628
|
-
},
|
|
9629
|
-
{
|
|
9630
|
-
"name": "onRemoveFilesAccess",
|
|
9631
|
-
"type": "(files: DialFile[]) => void | Promise<void>",
|
|
9632
|
-
"required": false
|
|
9633
|
-
},
|
|
9634
|
-
{
|
|
9635
|
-
"name": "actionsRef",
|
|
9636
|
-
"type": "Ref<DialFileManagerActionsRef>",
|
|
9637
|
-
"required": false,
|
|
9638
|
-
"description": "Ref exposing a limited set of imperative File Manager actions (e.g., creating a folder). Allows parent components to trigger internal behaviors programmatically. This ref is not a DOM ref and should be used only for invoking the component’s public actions API."
|
|
9639
|
-
},
|
|
9640
|
-
{
|
|
9641
|
-
"name": "onSearchFiles",
|
|
9642
|
-
"type": "(folder: string, query: string) => void",
|
|
9643
|
-
"required": false
|
|
9644
|
-
},
|
|
9645
|
-
{
|
|
9646
|
-
"name": "searchInProgress",
|
|
9647
|
-
"type": "boolean",
|
|
9648
|
-
"required": false
|
|
9649
|
-
},
|
|
9650
|
-
{
|
|
9651
|
-
"name": "searchResults",
|
|
9652
|
-
"type": "DialFile[]",
|
|
9653
|
-
"required": false
|
|
9654
|
-
},
|
|
9655
|
-
{
|
|
9656
|
-
"name": "clearSearchResults",
|
|
9657
|
-
"type": "() => void",
|
|
9658
|
-
"required": false
|
|
9659
|
-
},
|
|
9660
|
-
{
|
|
9661
|
-
"name": "emptyStateIcon",
|
|
9662
|
-
"type": "ReactNode",
|
|
9663
|
-
"required": false,
|
|
9664
|
-
"description": "Optional icon for empty state"
|
|
9665
|
-
},
|
|
9666
|
-
{
|
|
9667
|
-
"name": "emptyStateTitle",
|
|
9668
|
-
"type": "string",
|
|
9669
|
-
"required": false,
|
|
9670
|
-
"description": "Optional title text displayed when there are no files."
|
|
9671
|
-
},
|
|
9672
|
-
{
|
|
9673
|
-
"name": "emptyStateDescription",
|
|
9674
|
-
"type": "string",
|
|
9675
|
-
"required": false,
|
|
9676
|
-
"description": "Optional description text displayed below the empty state title."
|
|
9677
|
-
},
|
|
9678
|
-
{
|
|
9679
|
-
"name": "sharedWithMeIds",
|
|
9680
|
-
"type": "string[]",
|
|
9681
|
-
"required": false,
|
|
9682
|
-
"description": "Optional list of file IDs that are shared with the current user."
|
|
9683
|
-
},
|
|
9684
|
-
{
|
|
9685
|
-
"name": "onFolderPopupPathChange",
|
|
9686
|
-
"type": "(newPath?: string) => void",
|
|
9687
|
-
"required": false
|
|
9688
|
-
},
|
|
9689
|
-
{
|
|
9690
|
-
"name": "onManagePermissions",
|
|
9691
|
-
"type": "(path?: string) => void",
|
|
9692
|
-
"required": false
|
|
9693
|
-
},
|
|
9694
|
-
{
|
|
9695
|
-
"name": "onPreview",
|
|
9696
|
-
"type": "(path?: string) => void",
|
|
9697
|
-
"required": false
|
|
9698
|
-
},
|
|
9699
|
-
{
|
|
9700
|
-
"name": "onOpenInNewTab",
|
|
9701
|
-
"type": "(file: DialFile) => void",
|
|
9702
|
-
"required": false
|
|
9703
|
-
},
|
|
9704
|
-
{
|
|
9705
|
-
"name": "previewExtensions",
|
|
9706
|
-
"type": "string[]",
|
|
9707
|
-
"required": false
|
|
9708
|
-
},
|
|
9709
|
-
{
|
|
9710
|
-
"name": "isRenameFileAvailable",
|
|
9711
|
-
"type": "boolean",
|
|
9712
|
-
"required": false
|
|
9713
|
-
},
|
|
9714
|
-
{
|
|
9715
|
-
"name": "isDuplicateFolderAvailable",
|
|
9716
|
-
"type": "boolean",
|
|
9717
|
-
"required": false
|
|
9718
|
-
},
|
|
9719
|
-
{
|
|
9720
|
-
"name": "customUploadFileAction",
|
|
9721
|
-
"type": "(\n currentPath?: string,\n currentFolder?: DialFile,\n ) => void",
|
|
9722
|
-
"required": false
|
|
9723
|
-
},
|
|
9724
|
-
{
|
|
9725
|
-
"name": "customCreateNewItemAction",
|
|
9726
|
-
"type": "(\n currentPath?: string,\n currentFolder?: DialFile,\n ) => void",
|
|
9727
|
-
"required": false
|
|
9728
|
-
},
|
|
9729
|
-
{
|
|
9730
|
-
"name": "customDuplicateAction",
|
|
9731
|
-
"type": "(items?: DialFile[]) => void",
|
|
9732
|
-
"required": false
|
|
9733
|
-
},
|
|
9734
|
-
{
|
|
9735
|
-
"name": "customDeleteItemsAction",
|
|
9736
|
-
"type": "(\n items: DialFile[],\n parentFolderPath: string,\n ) => void",
|
|
9737
|
-
"required": false
|
|
9738
|
-
},
|
|
9739
|
-
{
|
|
9740
|
-
"name": "customDownloadItemsAction",
|
|
9741
|
-
"type": "(items?: DialFile[]) => void",
|
|
9742
|
-
"required": false
|
|
9743
|
-
},
|
|
9744
|
-
{
|
|
9745
|
-
"name": "nonClickableTableColumns",
|
|
9746
|
-
"type": "FileManagerColumnKey[]",
|
|
9747
|
-
"required": false
|
|
9748
|
-
},
|
|
9749
|
-
{
|
|
9750
|
-
"name": "hideSearchPathItemName",
|
|
9751
|
-
"type": "boolean",
|
|
9752
|
-
"required": false
|
|
9753
|
-
},
|
|
9754
|
-
{
|
|
9755
|
-
"name": "showHiddenFileSwitcherInDestinationPopup",
|
|
9756
|
-
"type": "boolean",
|
|
9757
|
-
"required": false
|
|
9758
|
-
},
|
|
9759
|
-
{
|
|
9760
|
-
"name": "showCreateFolderButtonInDestinationPopup",
|
|
9761
|
-
"type": "boolean",
|
|
9762
|
-
"required": false
|
|
9763
|
-
},
|
|
9764
|
-
{
|
|
9765
|
-
"name": "autoSelectUploadedItems",
|
|
9766
|
-
"type": "boolean",
|
|
9767
|
-
"required": false,
|
|
9768
|
-
"description": "When true, automatically selects newly uploaded or created items (files, archives, folders) after they appear in the current directory. Useful in attach flows where the user expects immediate selection feedback."
|
|
9769
|
-
},
|
|
9770
|
-
{
|
|
9771
|
-
"name": "maxNewFolderDepth",
|
|
9772
|
-
"type": "number",
|
|
9773
|
-
"required": false
|
|
9774
|
-
},
|
|
9775
|
-
{
|
|
9776
|
-
"name": "onNewFolderDepthExceeded",
|
|
9777
|
-
"type": "() => void",
|
|
9778
|
-
"required": false
|
|
9779
|
-
},
|
|
9780
|
-
{
|
|
9781
|
-
"name": "initialUploadFilesOpen",
|
|
9782
|
-
"type": "boolean",
|
|
9783
|
-
"required": false
|
|
9784
|
-
}
|
|
9785
|
-
],
|
|
9786
|
-
"examples": [
|
|
9787
|
-
"// Minimal usage\n<DialFileManager items={files} path=\"/All files\" />\n\n// With loading state\n<DialFileManager items={files} path=\"/All files\" filesLoading={true} />\n\n// With controlled search and disabled grid filters\nconst [query, setQuery] = useState('');\n<DialFileManager\n items={files}\n path=\"/All files/Design\"\n navigationPanelOptions={{\n searchable: true,\n value: query,\n onSearchChange: setQuery,\n }}\n gridOptions={{ filterable: false }}\n/>\n\n// With custom tree width and title\n<DialFileManager\n items={files}\n treeOptions={{ width: 300, title: 'Explorer', showFiles: true }}\n/>\n\n// With explicit provider (advanced apps)\n<FileManagerProvider items={files} path=\"/All files\">\n <MyCustomHeader />\n <DialFileManagerView /> // internal view\n <MyCustomFooter />\n</FileManagerProvider>"
|
|
9788
|
-
],
|
|
9789
|
-
"sourceFile": "components/FileManager/FileManager.tsx"
|
|
9790
|
-
},
|
|
9791
|
-
{
|
|
9792
|
-
"name": "DialDestinationFolderPopup",
|
|
9793
|
-
"category": "FileManager/components",
|
|
9794
|
-
"generation": "1.0",
|
|
9795
|
-
"description": "DestinationFolderPopup\naliases: FolderSelector|PathChooser\nDesign system 1.0",
|
|
9796
|
-
"props": [],
|
|
9797
|
-
"examples": [
|
|
9798
|
-
"<DestinationFolderPopup\n open={isOpen}\n onClose={handleClose}\n onConfirm={handleConfirm}\n mode=\"copy\"\n title=\"Copy 3 files\"\n items={files}\n rootItem={rootFolder}\n path={currentPath}\n onPathChange={setCurrentPath}\n/>"
|
|
9799
|
-
],
|
|
9800
|
-
"sourceFile": "components/FileManager/components/DestinationFolderPopup/DestinationFolderPopup.tsx"
|
|
9801
|
-
},
|
|
9802
|
-
{
|
|
9803
|
-
"name": "DialFoldersTree",
|
|
9804
|
-
"category": "Data Display",
|
|
9805
|
-
"generation": "1.0",
|
|
9806
|
-
"description": "DialFoldersTree — A hierarchical folder tree component with nested expand/collapse support, selection highlighting,\nDesign system 1.0\nand optional file display.",
|
|
9807
|
-
"props": [
|
|
9808
|
-
{
|
|
9809
|
-
"name": "items",
|
|
9810
|
-
"type": "DialFile[]",
|
|
9811
|
-
"required": true,
|
|
9812
|
-
"description": "Array of folder and file nodes to display in the tree."
|
|
9813
|
-
},
|
|
9814
|
-
{
|
|
9815
|
-
"name": "expandedPaths",
|
|
9816
|
-
"type": "Set<string>",
|
|
9817
|
-
"required": false,
|
|
9818
|
-
"description": "Set of folder paths that should be expanded."
|
|
9819
|
-
},
|
|
9820
|
-
{
|
|
9821
|
-
"name": "loadingPaths",
|
|
9822
|
-
"type": "Set<string>",
|
|
9823
|
-
"required": false,
|
|
9824
|
-
"defaultValue": "new Set()",
|
|
9825
|
-
"description": "Set of folder paths currently loading (shows spinner or placeholder)."
|
|
9826
|
-
},
|
|
9827
|
-
{
|
|
9828
|
-
"name": "loadedPaths",
|
|
9829
|
-
"type": "Set<string>",
|
|
9830
|
-
"required": false,
|
|
9831
|
-
"defaultValue": "new Set()",
|
|
9832
|
-
"description": "Set of folder paths that have loaded."
|
|
9833
|
-
},
|
|
9834
|
-
{
|
|
9835
|
-
"name": "sharedByMePaths",
|
|
9836
|
-
"type": "Set<string>",
|
|
9837
|
-
"required": false,
|
|
9838
|
-
"defaultValue": "new Set()",
|
|
9839
|
-
"description": "Set of items paths that the user has shared with others. Enables UI indicators (icons/badges)."
|
|
9840
|
-
},
|
|
9841
|
-
{
|
|
9842
|
-
"name": "selectedPath",
|
|
9843
|
-
"type": "string",
|
|
9844
|
-
"required": false,
|
|
9845
|
-
"description": "Path representing the currently selected folder or file."
|
|
9846
|
-
},
|
|
9847
|
-
{
|
|
9848
|
-
"name": "renamedPath",
|
|
9849
|
-
"type": "string",
|
|
9850
|
-
"required": false,
|
|
9851
|
-
"description": "Path of the folder or file currently being edited."
|
|
9852
|
-
},
|
|
9853
|
-
{
|
|
9854
|
-
"name": "createdFolderPath",
|
|
9855
|
-
"type": "string | null",
|
|
9856
|
-
"required": false,
|
|
9857
|
-
"description": "Optional Path of the new created folder."
|
|
9858
|
-
},
|
|
9859
|
-
{
|
|
9860
|
-
"name": "showFiles",
|
|
9861
|
-
"type": "boolean",
|
|
9862
|
-
"required": false,
|
|
9863
|
-
"defaultValue": "false",
|
|
9864
|
-
"description": "Whether to show files in addition to folders."
|
|
9865
|
-
},
|
|
9866
|
-
{
|
|
9867
|
-
"name": "rootItemPath",
|
|
9868
|
-
"type": "string",
|
|
9869
|
-
"required": false,
|
|
9870
|
-
"description": "Path of the folder to treat as the custom root node (no context menu, special label)."
|
|
9871
|
-
},
|
|
9872
|
-
{
|
|
9873
|
-
"name": "rootItemLabel",
|
|
9874
|
-
"type": "string",
|
|
9875
|
-
"required": false,
|
|
9876
|
-
"description": "Label to display for the root node instead of its actual name."
|
|
9877
|
-
},
|
|
9878
|
-
{
|
|
9879
|
-
"name": "emptyStateTitle",
|
|
9880
|
-
"type": "string",
|
|
9881
|
-
"required": false,
|
|
9882
|
-
"defaultValue": "'No Folders'",
|
|
9883
|
-
"description": "Title text displayed when there are no items."
|
|
9884
|
-
},
|
|
9885
|
-
{
|
|
9886
|
-
"name": "emptyStateDescription",
|
|
9887
|
-
"type": "string",
|
|
9888
|
-
"required": false,
|
|
9889
|
-
"description": "Optional description text for the empty state."
|
|
9890
|
-
},
|
|
9891
|
-
{
|
|
9892
|
-
"name": "emptyStateIcon",
|
|
9893
|
-
"type": "ReactNode",
|
|
9894
|
-
"required": false,
|
|
9895
|
-
"description": "Optional icon to display in the empty state."
|
|
9896
|
-
},
|
|
9897
|
-
{
|
|
9898
|
-
"name": "onItemClick",
|
|
9899
|
-
"type": "(item: DialFile) => void",
|
|
9900
|
-
"required": false,
|
|
9901
|
-
"description": "Callback fired when a folder or file is clicked (receives the corresponding `DialFile` node)."
|
|
9902
|
-
},
|
|
9903
|
-
{
|
|
9904
|
-
"name": "onRenameSave",
|
|
9905
|
-
"type": "(value: string) => void",
|
|
9906
|
-
"required": false,
|
|
9907
|
-
"description": "Callback fired when editing is confirmed with a valid name (receives the new name)."
|
|
9908
|
-
},
|
|
9909
|
-
{
|
|
9910
|
-
"name": "onRenameCancel",
|
|
9911
|
-
"type": "() => void",
|
|
9912
|
-
"required": false,
|
|
9913
|
-
"description": "Callback fired when editing is cancelled."
|
|
9914
|
-
},
|
|
9915
|
-
{
|
|
9916
|
-
"name": "onRenameValidate",
|
|
9917
|
-
"type": "(value: string, item: DialFile) => string | null",
|
|
9918
|
-
"required": false,
|
|
9919
|
-
"description": "Function to validate the new name during editing. Should return an error string or `null` if valid."
|
|
9920
|
-
},
|
|
9921
|
-
{
|
|
9922
|
-
"name": "onCreateFolderSave",
|
|
9923
|
-
"type": "(value: string) => void",
|
|
9924
|
-
"required": false,
|
|
9925
|
-
"description": "Optional Callback fired when create new folder is confirmed"
|
|
9926
|
-
},
|
|
9927
|
-
{
|
|
9928
|
-
"name": "onCreateFolderCancel",
|
|
9929
|
-
"type": "() => void",
|
|
9930
|
-
"required": false,
|
|
9931
|
-
"description": "Optional Callback fired when create new folder is cancelled"
|
|
9932
|
-
},
|
|
9933
|
-
{
|
|
9934
|
-
"name": "getContextMenuItems",
|
|
9935
|
-
"type": "(item: DialFile) => DropdownItem[]",
|
|
9936
|
-
"required": false,
|
|
9937
|
-
"description": "Function returning context menu items for a given node."
|
|
9938
|
-
},
|
|
9939
|
-
{
|
|
9940
|
-
"name": "areHiddenFilesVisible",
|
|
9941
|
-
"type": "boolean",
|
|
9942
|
-
"required": false,
|
|
9943
|
-
"defaultValue": "false",
|
|
9944
|
-
"description": "Whether hidden files (dotfiles) should be visible in the tree."
|
|
9945
|
-
},
|
|
9946
|
-
{
|
|
9947
|
-
"name": "onExpandedPathsChange",
|
|
9948
|
-
"type": "(expandedPaths: Set<string>) => void",
|
|
9949
|
-
"required": false
|
|
9950
|
-
},
|
|
9951
|
-
{
|
|
9952
|
-
"name": "forbiddenSymbolsRegExp",
|
|
9953
|
-
"type": "RegExp",
|
|
9954
|
-
"required": false,
|
|
9955
|
-
"description": "Optional RegExp used to validate folder and file names for forbidden characters."
|
|
9956
|
-
},
|
|
9957
|
-
{
|
|
9958
|
-
"name": "forbiddenSymbolsTooltip",
|
|
9959
|
-
"type": "ReactNode",
|
|
9960
|
-
"required": false,
|
|
9961
|
-
"description": "Optional tooltip content displayed when a name contains forbidden characters."
|
|
9962
|
-
},
|
|
9963
|
-
{
|
|
9964
|
-
"name": "newFolderDefaultName",
|
|
9965
|
-
"type": "string",
|
|
9966
|
-
"required": false,
|
|
9967
|
-
"description": "Optional new folder default name."
|
|
9968
|
-
}
|
|
9969
|
-
],
|
|
9970
|
-
"examples": [
|
|
9971
|
-
"// Basic usage with folders and files\nconst items: DialFile[] = [\n {\n path: '/documents',\n name: 'Documents',\n nodeType: DialFileNodeType.FOLDER,\n items: [\n {\n path: '/documents/file.txt',\n name: 'file.txt',\n nodeType: DialFileNodeType.FILE,\n },\n ],\n },\n];\n\n<DialFoldersTree items={items} showFiles />\n\n// With expanded and selected items\nconst expandedPaths = new Set(['/documents']);\n\n<DialFoldersTree\n items={items}\n expandedPaths={expandedPaths}\n selectedPath=\"/documents/file.txt\"\n onItemClick={(item) => console.log('Clicked:', item.path)}\n/>\n\n// With inline renaming and validation\n<DialFoldersTree\n items={items}\n renamedPath=\"/documents\"\n onRenameValidate={(value) => (value.trim() ? null : 'Name cannot be empty')}\n onRenameSave={(newValue) => console.log('Saved new name:', newValue)}\n onRenameCancel={() => console.log('Edit cancelled')}\n/>\n\n// With custom empty state and context menu\nconst getContextMenuItems = (item: DialFile): DropdownItem[] => [\n { key: 'rename', label: 'Rename' },\n { key: 'delete', label: 'Delete', danger: true },\n];\n\n<DialFoldersTree\n items={[]}\n emptyStateTitle=\"No Content\"\n emptyStateDescription=\"Upload files or create a new folder to get started.\"\n emptyStateIcon={<IconFolderPlus />}\n getContextMenuItems={getContextMenuItems}\n/>"
|
|
9972
|
-
],
|
|
9973
|
-
"sourceFile": "components/FileManager/components/FoldersTree/FoldersTree.tsx"
|
|
9974
|
-
},
|
|
9975
|
-
{
|
|
9976
|
-
"name": "DialSchemaRenderer",
|
|
9977
|
-
"category": "Name",
|
|
9978
|
-
"generation": "1.0",
|
|
9979
|
-
"description": "Renders a JSON Schema as a form UI with collapsible sections, validation, and default values.\naliases: SchemaRenderer|JsonSchemaForm\nDesign system 1.0",
|
|
9980
|
-
"props": [],
|
|
9981
|
-
"examples": [
|
|
9982
|
-
"<DialSchemaRenderer\n schema={mySchema}\n onChange={(v) => console.log(v)}\n onDefaultValues={(defaults) => console.log(defaults)}\n/>"
|
|
9983
|
-
],
|
|
9984
|
-
"sourceFile": "components/SchemaRenderer/SchemaRenderer.tsx",
|
|
9985
|
-
"supersededBy": "SchemaRenderer"
|
|
9986
|
-
},
|
|
9987
|
-
{
|
|
9988
|
-
"name": "DialJsonEditor",
|
|
9989
|
-
"category": "Data Display",
|
|
9990
|
-
"generation": "1.0",
|
|
9991
|
-
"description": "A JSON editor component built on top of Monaco Editor.\nDesign system 1.0\nProvides syntax highlighting, validation, and theme support for JSON editing.\n\nLazy-loaded component. This component is not exported directly from the UI kit to avoid errors when using with SSR. Use `LazyDialJsonEditor` and the manifest `lazy` field for dynamic import guidance.",
|
|
9992
|
-
"props": [
|
|
9993
|
-
{
|
|
9994
|
-
"name": "value",
|
|
9995
|
-
"type": "string | undefined",
|
|
9996
|
-
"required": false,
|
|
9997
|
-
"description": "The JSON string value to edit"
|
|
9998
|
-
},
|
|
9999
|
-
{
|
|
10000
|
-
"name": "currentTheme",
|
|
10001
|
-
"type": "string",
|
|
10002
|
-
"required": true,
|
|
10003
|
-
"description": "The theme to apply to the editor"
|
|
10004
|
-
},
|
|
10005
|
-
{
|
|
10006
|
-
"name": "themesConfig",
|
|
10007
|
-
"type": "Record<EditorThemes, editor.IStandaloneThemeData>",
|
|
10008
|
-
"required": false,
|
|
10009
|
-
"defaultValue": "EDITOR_THEMES_CONFIG",
|
|
10010
|
-
"description": "Custom theme configurations"
|
|
10011
|
-
},
|
|
10012
|
-
{
|
|
10013
|
-
"name": "onChange",
|
|
10014
|
-
"type": "(value: string | undefined) => void",
|
|
10015
|
-
"required": true,
|
|
10016
|
-
"description": "Callback fired when the editor content changes"
|
|
10017
|
-
},
|
|
10018
|
-
{
|
|
10019
|
-
"name": "onValidateJSON",
|
|
10020
|
-
"type": "OnValidate",
|
|
10021
|
-
"required": false,
|
|
10022
|
-
"description": "Callback fired when JSON validation occurs"
|
|
10023
|
-
},
|
|
10024
|
-
{
|
|
10025
|
-
"name": "options",
|
|
10026
|
-
"type": "editor.IStandaloneEditorConstructionOptions",
|
|
10027
|
-
"required": false,
|
|
10028
|
-
"description": "Additional Monaco editor options"
|
|
10029
|
-
}
|
|
10030
|
-
],
|
|
10031
|
-
"examples": [],
|
|
10032
|
-
"sourceFile": "components/JsonEditor/JsonEditor.tsx",
|
|
10033
|
-
"lazy": {
|
|
10034
|
-
"loaderExportName": "LazyDialJsonEditor",
|
|
10035
|
-
"packageImport": "@epam/ai-dial-ui-kit",
|
|
10036
|
-
"ssr": false,
|
|
10037
|
-
"nextDynamicExample": "import dynamic from 'next/dynamic';\nimport { LazyDialJsonEditor } from '@epam/ai-dial-ui-kit';\n\nconst DialJsonEditor = dynamic(\n async () => (await LazyDialJsonEditor()).DialJsonEditor,\n { ssr: false },\n);"
|
|
10038
|
-
}
|
|
10039
|
-
},
|
|
10040
|
-
{
|
|
10041
|
-
"name": "DialMarkdownEditor",
|
|
10042
|
-
"category": "Data Display",
|
|
10043
|
-
"generation": "1.0",
|
|
10044
|
-
"description": "A Markdown editor component built on top of\n\nLazy-loaded component. This component is not exported directly from the UI kit to avoid errors when using with SSR. Use `LazyDialMarkdownEditor` and the manifest `lazy` field for dynamic import guidance.",
|
|
10045
|
-
"props": [
|
|
10046
|
-
{
|
|
10047
|
-
"name": "value",
|
|
10048
|
-
"type": "string",
|
|
10049
|
-
"required": false,
|
|
10050
|
-
"description": "The current markdown content"
|
|
10051
|
-
},
|
|
10052
|
-
{
|
|
10053
|
-
"name": "onChange",
|
|
10054
|
-
"type": "(value: string) => void",
|
|
10055
|
-
"required": false,
|
|
10056
|
-
"description": "Callback fired when the editor content changes"
|
|
10057
|
-
},
|
|
10058
|
-
{
|
|
10059
|
-
"name": "height",
|
|
10060
|
-
"type": "number",
|
|
10061
|
-
"required": false,
|
|
10062
|
-
"defaultValue": "300",
|
|
10063
|
-
"description": "Height of the editor in pixels"
|
|
10064
|
-
},
|
|
10065
|
-
{
|
|
10066
|
-
"name": "preview",
|
|
10067
|
-
"type": "PreviewType",
|
|
10068
|
-
"required": false,
|
|
10069
|
-
"defaultValue": "'edit'",
|
|
10070
|
-
"description": "Preview mode ('edit', 'live', 'preview')"
|
|
10071
|
-
},
|
|
10072
|
-
{
|
|
10073
|
-
"name": "theme",
|
|
10074
|
-
"type": "EditorThemes",
|
|
10075
|
-
"required": false,
|
|
10076
|
-
"defaultValue": "EditorThemes.dark",
|
|
10077
|
-
"description": "Theme for the editor ('light' or 'dark')"
|
|
10078
|
-
},
|
|
10079
|
-
{
|
|
10080
|
-
"name": "className",
|
|
10081
|
-
"type": "string",
|
|
10082
|
-
"required": false,
|
|
10083
|
-
"description": "Additional CSS classes for the container"
|
|
10084
|
-
},
|
|
10085
|
-
{
|
|
10086
|
-
"name": "placeholder",
|
|
10087
|
-
"type": "ReactNode",
|
|
10088
|
-
"required": false,
|
|
10089
|
-
"description": "Content to display when the editor is empty"
|
|
10090
|
-
},
|
|
10091
|
-
{
|
|
10092
|
-
"name": "showDragbar",
|
|
10093
|
-
"type": "boolean",
|
|
10094
|
-
"required": false,
|
|
10095
|
-
"defaultValue": "true",
|
|
10096
|
-
"description": "Whether to show the bottom drag bar that resizes the editor height"
|
|
10097
|
-
}
|
|
10098
|
-
],
|
|
10099
|
-
"examples": [
|
|
10100
|
-
"<DialMarkdownEditor\nvalue=\"# Hello World\"\nonChange={(value) => console.log(value)}\nheight={400}\ntheme=\"dark\"\n/>"
|
|
10101
|
-
],
|
|
10102
|
-
"sourceFile": "components/MarkdownEditor/MarkdownEditor.tsx",
|
|
10103
|
-
"lazy": {
|
|
10104
|
-
"loaderExportName": "LazyDialMarkdownEditor",
|
|
10105
|
-
"packageImport": "@epam/ai-dial-ui-kit",
|
|
10106
|
-
"ssr": false,
|
|
10107
|
-
"nextDynamicExample": "import dynamic from 'next/dynamic';\nimport { LazyDialMarkdownEditor } from '@epam/ai-dial-ui-kit';\n\nconst DialMarkdownEditor = dynamic(\n async () => (await LazyDialMarkdownEditor()).DialMarkdownEditor,\n { ssr: false },\n);"
|
|
10108
|
-
},
|
|
10109
|
-
"supersededBy": "MarkdownEditor"
|
|
10110
|
-
}
|
|
10111
|
-
],
|
|
10112
|
-
"types": [
|
|
10113
|
-
{
|
|
10114
|
-
"name": "AnalyticsCardVariant",
|
|
10115
|
-
"kind": "enum",
|
|
10116
|
-
"members": [
|
|
10117
|
-
{
|
|
10118
|
-
"name": "Default",
|
|
10119
|
-
"value": "'default'"
|
|
10120
|
-
},
|
|
10121
|
-
{
|
|
10122
|
-
"name": "Compact",
|
|
10123
|
-
"value": "'compact'"
|
|
10124
|
-
}
|
|
10125
|
-
],
|
|
10126
|
-
"sourceFile": "types/analytics.ts"
|
|
10127
|
-
},
|
|
10128
|
-
{
|
|
10129
|
-
"name": "AnalyticsBarColorStop",
|
|
10130
|
-
"kind": "interface",
|
|
10131
|
-
"members": [
|
|
10132
|
-
{
|
|
10133
|
-
"name": "from",
|
|
10134
|
-
"value": "number"
|
|
10135
|
-
},
|
|
10136
|
-
{
|
|
10137
|
-
"name": "to",
|
|
10138
|
-
"value": "number"
|
|
10139
|
-
},
|
|
10140
|
-
{
|
|
10141
|
-
"name": "color",
|
|
10142
|
-
"value": "string"
|
|
10143
|
-
}
|
|
10144
|
-
],
|
|
10145
|
-
"sourceFile": "models/analytics.ts"
|
|
10146
|
-
},
|
|
10147
|
-
{
|
|
10148
|
-
"name": "AnalyticsCardCompareItem",
|
|
10149
|
-
"kind": "interface",
|
|
10150
|
-
"members": [
|
|
10151
|
-
{
|
|
10152
|
-
"name": "title",
|
|
10153
|
-
"value": "ReactNode"
|
|
10154
|
-
},
|
|
10155
|
-
{
|
|
10156
|
-
"name": "value",
|
|
10157
|
-
"value": "ReactNode"
|
|
10158
|
-
}
|
|
10159
|
-
],
|
|
10160
|
-
"sourceFile": "models/analytics.ts"
|
|
10161
|
-
},
|
|
10162
|
-
{
|
|
10163
|
-
"name": "DialTooltipContainerOptions",
|
|
10164
|
-
"kind": "interface",
|
|
10165
|
-
"members": [
|
|
10166
|
-
{
|
|
10167
|
-
"name": "initialOpen?",
|
|
10168
|
-
"value": "boolean"
|
|
10169
|
-
},
|
|
10170
|
-
{
|
|
10171
|
-
"name": "placement?",
|
|
10172
|
-
"value": "Placement"
|
|
10173
|
-
},
|
|
10174
|
-
{
|
|
10175
|
-
"name": "isTriggerClickable?",
|
|
10176
|
-
"value": "boolean"
|
|
10177
|
-
},
|
|
10178
|
-
{
|
|
10179
|
-
"name": "open?",
|
|
10180
|
-
"value": "boolean"
|
|
10181
|
-
},
|
|
10182
|
-
{
|
|
10183
|
-
"name": "onOpenChange?",
|
|
10184
|
-
"value": "(open: boolean) => void"
|
|
10185
|
-
}
|
|
10186
|
-
],
|
|
10187
|
-
"sourceFile": "components/Tooltip/TooltipContext.tsx"
|
|
10188
|
-
},
|
|
10189
|
-
{
|
|
10190
|
-
"name": "FileManagerGridRow",
|
|
10191
|
-
"kind": "interface",
|
|
10192
|
-
"members": [
|
|
10193
|
-
{
|
|
10194
|
-
"name": "id",
|
|
10195
|
-
"value": "string"
|
|
10196
|
-
},
|
|
10197
|
-
{
|
|
10198
|
-
"name": "name",
|
|
10199
|
-
"value": "string"
|
|
10200
|
-
},
|
|
10201
|
-
{
|
|
10202
|
-
"name": "updatedAt?",
|
|
10203
|
-
"value": "string"
|
|
10204
|
-
},
|
|
10205
|
-
{
|
|
10206
|
-
"name": "size?",
|
|
10207
|
-
"value": "number"
|
|
10208
|
-
},
|
|
10209
|
-
{
|
|
10210
|
-
"name": "author?",
|
|
10211
|
-
"value": "string"
|
|
10212
|
-
},
|
|
10213
|
-
{
|
|
10214
|
-
"name": "path",
|
|
10215
|
-
"value": "string"
|
|
10216
|
-
},
|
|
10217
|
-
{
|
|
10218
|
-
"name": "parentPath?",
|
|
10219
|
-
"value": "string | null"
|
|
10220
|
-
},
|
|
10221
|
-
{
|
|
10222
|
-
"name": "nodeType",
|
|
10223
|
-
"value": "DialFileNodeType"
|
|
10224
|
-
},
|
|
10225
|
-
{
|
|
10226
|
-
"name": "extension?",
|
|
10227
|
-
"value": "string"
|
|
10228
|
-
},
|
|
10229
|
-
{
|
|
10230
|
-
"name": "isTemporary?",
|
|
10231
|
-
"value": "boolean"
|
|
10232
|
-
},
|
|
10233
|
-
{
|
|
10234
|
-
"name": "owner?",
|
|
10235
|
-
"value": "string"
|
|
10236
|
-
},
|
|
10237
|
-
{
|
|
10238
|
-
"name": "contentType?",
|
|
10239
|
-
"value": "string"
|
|
10240
|
-
},
|
|
10241
|
-
{
|
|
10242
|
-
"name": "contentLength?",
|
|
10243
|
-
"value": "number"
|
|
10244
|
-
},
|
|
10245
|
-
{
|
|
10246
|
-
"name": "folderId?",
|
|
10247
|
-
"value": "string"
|
|
10248
|
-
}
|
|
10249
|
-
],
|
|
10250
|
-
"sourceFile": "components/FileManager/FileManagerContext.tsx"
|
|
10251
|
-
},
|
|
10252
|
-
{
|
|
10253
|
-
"name": "GridOptions",
|
|
10254
|
-
"kind": "interface",
|
|
10255
|
-
"members": [
|
|
10256
|
-
{
|
|
10257
|
-
"name": "columnDefs?",
|
|
10258
|
-
"value": "(\n | ColDef<GridRow>\n | ((\n dateLocale: Intl.LocalesArgument,\n dateOptions: Intl.DateTimeFormatOptions | undefined,\n isCompactView: boolean,\n ) => ColDef<GridRow, unknown>)\n )[]"
|
|
10259
|
-
},
|
|
10260
|
-
{
|
|
10261
|
-
"name": "filterable?",
|
|
10262
|
-
"value": "boolean"
|
|
10263
|
-
},
|
|
10264
|
-
{
|
|
10265
|
-
"name": "dateLocale?",
|
|
10266
|
-
"value": "Intl.LocalesArgument"
|
|
10267
|
-
},
|
|
10268
|
-
{
|
|
10269
|
-
"name": "dateOptions?",
|
|
10270
|
-
"value": "Intl.DateTimeFormatOptions"
|
|
10271
|
-
},
|
|
10272
|
-
{
|
|
10273
|
-
"name": "showFiles?",
|
|
10274
|
-
"value": "boolean"
|
|
10275
|
-
},
|
|
10276
|
-
{
|
|
10277
|
-
"name": "showFolders?",
|
|
10278
|
-
"value": "boolean"
|
|
10279
|
-
},
|
|
10280
|
-
{
|
|
10281
|
-
"name": "visibleColumns?",
|
|
10282
|
-
"value": "FileManagerColumnKey[]"
|
|
10283
|
-
},
|
|
10284
|
-
{
|
|
10285
|
-
"name": "selectionMode?",
|
|
10286
|
-
"value": "GridSelectionMode"
|
|
10287
|
-
},
|
|
10288
|
-
{
|
|
10289
|
-
"name": "wrapCustomCellRenderers?",
|
|
10290
|
-
"value": "boolean"
|
|
10291
|
-
},
|
|
10292
|
-
{
|
|
10293
|
-
"name": "allowDisabledContextMenu?",
|
|
10294
|
-
"value": "boolean"
|
|
10295
|
-
},
|
|
10296
|
-
{
|
|
10297
|
-
"name": "actionLabels?",
|
|
10298
|
-
"value": "{\n [DialFileManagerActions.AddSibling]?: string;\n [DialFileManagerActions.AddChild]?: string;\n [DialFileManagerActions.Duplicate]?: string;\n [DialFileManagerActions.Copy]?: string;\n [DialFileManagerActions.Rename]?: string;\n [DialFileManagerActions.Download]?: string;\n [DialFileManagerActions.Delete]?: string;\n [DialFileManagerActions.Move]?: string;\n [DialFileManagerActions.Info]?: string;\n [DialFileManagerActions.Unshare]?: string;\n [DialFileManagerActions.ManagePermissions]?: string;\n [DialFileManagerActions.Preview]?: string;\n [DialFileManagerActions.RemoveAccess]?: string;\n }"
|
|
10299
|
-
}
|
|
10300
|
-
],
|
|
10301
|
-
"sourceFile": "components/FileManager/FileManager.tsx"
|
|
10302
|
-
},
|
|
10303
|
-
{
|
|
10304
|
-
"name": "ToolbarOptions",
|
|
10305
|
-
"kind": "type",
|
|
10306
|
-
"sourceFile": "components/FileManager/FileManager.tsx",
|
|
10307
|
-
"typeBody": "Omit<\n DialFileManagerToolbarProps,\n 'areHiddenFilesVisible' | 'onToggleHiddenFiles'\n> & {\n newActions?: {\n uploadFiles?: NewAction;\n newFolder?: NewAction;\n uploadArchive?: NewAction;\n newItem?: NewAction;\n };\n showHiddenFilesToggle?: boolean;\n}"
|
|
10308
|
-
},
|
|
10309
|
-
{
|
|
10310
|
-
"name": "BulkActionsToolbarOptions",
|
|
10311
|
-
"kind": "type",
|
|
10312
|
-
"sourceFile": "components/FileManager/FileManager.tsx",
|
|
10313
|
-
"typeBody": "Omit<\n DialFileManagerBulkActionsToolbarProps,\n 'onClearSelection' | 'actions' | 'selectedCount'\n> & {\n actionLabels?: {\n [DialFileManagerActions.Duplicate]?: string;\n [DialFileManagerActions.Copy]?: string;\n [DialFileManagerActions.Download]?: string;\n [DialFileManagerActions.Delete]?: string;\n [DialFileManagerActions.Move]?: string;\n [DialFileManagerActions.Unshare]?: string;\n [DialFileManagerActions.RemoveAccess]?: string;\n };\n}"
|
|
10314
|
-
},
|
|
10315
|
-
{
|
|
10316
|
-
"name": "EditorThemes",
|
|
10317
|
-
"kind": "enum",
|
|
10318
|
-
"members": [
|
|
10319
|
-
{
|
|
10320
|
-
"name": "dark",
|
|
10321
|
-
"value": "'dark'"
|
|
10322
|
-
},
|
|
10323
|
-
{
|
|
10324
|
-
"name": "light",
|
|
10325
|
-
"value": "'light'"
|
|
10326
|
-
}
|
|
10327
|
-
],
|
|
10328
|
-
"sourceFile": "types/editor.ts"
|
|
10329
|
-
},
|
|
10330
|
-
{
|
|
10331
|
-
"name": "ButtonVariant",
|
|
10332
|
-
"kind": "enum",
|
|
10333
|
-
"members": [
|
|
10334
|
-
{
|
|
10335
|
-
"name": "Primary",
|
|
10336
|
-
"value": "'primary'"
|
|
10337
|
-
},
|
|
10338
|
-
{
|
|
10339
|
-
"name": "Neutral",
|
|
10340
|
-
"value": "'neutral'"
|
|
10341
|
-
},
|
|
10342
|
-
{
|
|
10343
|
-
"name": "Danger",
|
|
10344
|
-
"value": "'danger'"
|
|
10345
|
-
},
|
|
10346
|
-
{
|
|
10347
|
-
"name": "Static",
|
|
10348
|
-
"value": "'static'"
|
|
10349
|
-
},
|
|
10350
|
-
{
|
|
10351
|
-
"name": "Starter",
|
|
10352
|
-
"value": "'starter'"
|
|
10353
|
-
},
|
|
10354
|
-
{
|
|
10355
|
-
"name": "Success",
|
|
10356
|
-
"value": "'success'"
|
|
10357
|
-
},
|
|
10358
|
-
{
|
|
10359
|
-
"name": "Secondary",
|
|
10360
|
-
"value": "'secondary'"
|
|
10361
|
-
},
|
|
10362
|
-
{
|
|
10363
|
-
"name": "Tertiary",
|
|
10364
|
-
"value": "'tertiary'"
|
|
10365
|
-
}
|
|
10366
|
-
],
|
|
10367
|
-
"sourceFile": "types/button.ts"
|
|
10368
|
-
},
|
|
10369
|
-
{
|
|
10370
|
-
"name": "ButtonAppearance",
|
|
10371
|
-
"kind": "enum",
|
|
10372
|
-
"members": [
|
|
10373
|
-
{
|
|
10374
|
-
"name": "Solid",
|
|
10375
|
-
"value": "'solid'"
|
|
10376
|
-
},
|
|
10377
|
-
{
|
|
10378
|
-
"name": "Outlined",
|
|
10379
|
-
"value": "'outlined'"
|
|
10380
|
-
},
|
|
10381
|
-
{
|
|
10382
|
-
"name": "Ghost",
|
|
10383
|
-
"value": "'ghost'"
|
|
9589
|
+
"name": "Ghost",
|
|
9590
|
+
"value": "'ghost'"
|
|
10384
9591
|
},
|
|
10385
9592
|
{
|
|
10386
9593
|
"name": "Link",
|
|
@@ -10665,131 +9872,6 @@
|
|
|
10665
9872
|
],
|
|
10666
9873
|
"sourceFile": "types/select.ts"
|
|
10667
9874
|
},
|
|
10668
|
-
{
|
|
10669
|
-
"name": "DialFileManagerTabs",
|
|
10670
|
-
"kind": "enum",
|
|
10671
|
-
"members": [
|
|
10672
|
-
{
|
|
10673
|
-
"name": "MyFiles",
|
|
10674
|
-
"value": "'my_files'"
|
|
10675
|
-
},
|
|
10676
|
-
{
|
|
10677
|
-
"name": "Shared",
|
|
10678
|
-
"value": "'shared'"
|
|
10679
|
-
},
|
|
10680
|
-
{
|
|
10681
|
-
"name": "Organization",
|
|
10682
|
-
"value": "'organization'"
|
|
10683
|
-
},
|
|
10684
|
-
{
|
|
10685
|
-
"name": "Review",
|
|
10686
|
-
"value": "'review'"
|
|
10687
|
-
}
|
|
10688
|
-
],
|
|
10689
|
-
"sourceFile": "types/file-manager.ts"
|
|
10690
|
-
},
|
|
10691
|
-
{
|
|
10692
|
-
"name": "DialFileManagerActions",
|
|
10693
|
-
"kind": "enum",
|
|
10694
|
-
"members": [
|
|
10695
|
-
{
|
|
10696
|
-
"name": "AddSibling",
|
|
10697
|
-
"value": "'addSibling'"
|
|
10698
|
-
},
|
|
10699
|
-
{
|
|
10700
|
-
"name": "AddChild",
|
|
10701
|
-
"value": "'addChild'"
|
|
10702
|
-
},
|
|
10703
|
-
{
|
|
10704
|
-
"name": "Duplicate",
|
|
10705
|
-
"value": "'duplicate'"
|
|
10706
|
-
},
|
|
10707
|
-
{
|
|
10708
|
-
"name": "Copy",
|
|
10709
|
-
"value": "'copy'"
|
|
10710
|
-
},
|
|
10711
|
-
{
|
|
10712
|
-
"name": "Move",
|
|
10713
|
-
"value": "'move'"
|
|
10714
|
-
},
|
|
10715
|
-
{
|
|
10716
|
-
"name": "Download",
|
|
10717
|
-
"value": "'download'"
|
|
10718
|
-
},
|
|
10719
|
-
{
|
|
10720
|
-
"name": "Delete",
|
|
10721
|
-
"value": "'delete'"
|
|
10722
|
-
},
|
|
10723
|
-
{
|
|
10724
|
-
"name": "Rename",
|
|
10725
|
-
"value": "'rename'"
|
|
10726
|
-
},
|
|
10727
|
-
{
|
|
10728
|
-
"name": "Info",
|
|
10729
|
-
"value": "'info'"
|
|
10730
|
-
},
|
|
10731
|
-
{
|
|
10732
|
-
"name": "Unshare",
|
|
10733
|
-
"value": "'unshare'"
|
|
10734
|
-
},
|
|
10735
|
-
{
|
|
10736
|
-
"name": "RemoveAccess",
|
|
10737
|
-
"value": "'removeAccess'"
|
|
10738
|
-
},
|
|
10739
|
-
{
|
|
10740
|
-
"name": "ManagePermissions",
|
|
10741
|
-
"value": "'managePermissions'"
|
|
10742
|
-
},
|
|
10743
|
-
{
|
|
10744
|
-
"name": "Preview",
|
|
10745
|
-
"value": "'preview'"
|
|
10746
|
-
},
|
|
10747
|
-
{
|
|
10748
|
-
"name": "OpenInNewTab",
|
|
10749
|
-
"value": "'openInNewTab'"
|
|
10750
|
-
}
|
|
10751
|
-
],
|
|
10752
|
-
"sourceFile": "types/file-manager.ts"
|
|
10753
|
-
},
|
|
10754
|
-
{
|
|
10755
|
-
"name": "FileManagerColumnKey",
|
|
10756
|
-
"kind": "enum",
|
|
10757
|
-
"members": [
|
|
10758
|
-
{
|
|
10759
|
-
"name": "Name",
|
|
10760
|
-
"value": "'name'"
|
|
10761
|
-
},
|
|
10762
|
-
{
|
|
10763
|
-
"name": "UpdatedAt",
|
|
10764
|
-
"value": "'updatedAt'"
|
|
10765
|
-
},
|
|
10766
|
-
{
|
|
10767
|
-
"name": "Size",
|
|
10768
|
-
"value": "'size'"
|
|
10769
|
-
},
|
|
10770
|
-
{
|
|
10771
|
-
"name": "Author",
|
|
10772
|
-
"value": "'author'"
|
|
10773
|
-
},
|
|
10774
|
-
{
|
|
10775
|
-
"name": "Owner",
|
|
10776
|
-
"value": "'owner'"
|
|
10777
|
-
},
|
|
10778
|
-
{
|
|
10779
|
-
"name": "Path",
|
|
10780
|
-
"value": "'path'"
|
|
10781
|
-
},
|
|
10782
|
-
{
|
|
10783
|
-
"name": "Actions",
|
|
10784
|
-
"value": "'__actions'"
|
|
10785
|
-
},
|
|
10786
|
-
{
|
|
10787
|
-
"name": "Version",
|
|
10788
|
-
"value": "'version'"
|
|
10789
|
-
}
|
|
10790
|
-
],
|
|
10791
|
-
"sourceFile": "types/file-manager.ts"
|
|
10792
|
-
},
|
|
10793
9875
|
{
|
|
10794
9876
|
"name": "FlexibleActionsDirection",
|
|
10795
9877
|
"kind": "enum",
|
|
@@ -11287,76 +10369,6 @@
|
|
|
11287
10369
|
],
|
|
11288
10370
|
"sourceFile": "models/file.ts"
|
|
11289
10371
|
},
|
|
11290
|
-
{
|
|
11291
|
-
"name": "DialCopiedItem",
|
|
11292
|
-
"kind": "interface",
|
|
11293
|
-
"members": [
|
|
11294
|
-
{
|
|
11295
|
-
"name": "sourceUrl",
|
|
11296
|
-
"value": "string"
|
|
11297
|
-
},
|
|
11298
|
-
{
|
|
11299
|
-
"name": "destinationUrl",
|
|
11300
|
-
"value": "string"
|
|
11301
|
-
},
|
|
11302
|
-
{
|
|
11303
|
-
"name": "overwrite?",
|
|
11304
|
-
"value": "boolean"
|
|
11305
|
-
},
|
|
11306
|
-
{
|
|
11307
|
-
"name": "nodeType",
|
|
11308
|
-
"value": "DialFileNodeType"
|
|
11309
|
-
}
|
|
11310
|
-
],
|
|
11311
|
-
"sourceFile": "models/file-manager.ts"
|
|
11312
|
-
},
|
|
11313
|
-
{
|
|
11314
|
-
"name": "DialDeletedItem",
|
|
11315
|
-
"kind": "interface",
|
|
11316
|
-
"members": [
|
|
11317
|
-
{
|
|
11318
|
-
"name": "sourceUrl",
|
|
11319
|
-
"value": "string"
|
|
11320
|
-
},
|
|
11321
|
-
{
|
|
11322
|
-
"name": "nodeType",
|
|
11323
|
-
"value": "DialFileNodeType"
|
|
11324
|
-
}
|
|
11325
|
-
],
|
|
11326
|
-
"sourceFile": "models/file-manager.ts"
|
|
11327
|
-
},
|
|
11328
|
-
{
|
|
11329
|
-
"name": "DialUploadFileItem",
|
|
11330
|
-
"kind": "interface",
|
|
11331
|
-
"members": [
|
|
11332
|
-
{
|
|
11333
|
-
"name": "fileContent",
|
|
11334
|
-
"value": "File"
|
|
11335
|
-
},
|
|
11336
|
-
{
|
|
11337
|
-
"name": "name",
|
|
11338
|
-
"value": "string"
|
|
11339
|
-
}
|
|
11340
|
-
],
|
|
11341
|
-
"sourceFile": "models/file-manager.ts"
|
|
11342
|
-
},
|
|
11343
|
-
{
|
|
11344
|
-
"name": "DialFileManagerActionsRef",
|
|
11345
|
-
"kind": "interface",
|
|
11346
|
-
"members": [
|
|
11347
|
-
{
|
|
11348
|
-
"name": "createFolder",
|
|
11349
|
-
"value": "() => void"
|
|
11350
|
-
}
|
|
11351
|
-
],
|
|
11352
|
-
"sourceFile": "models/file-manager.ts"
|
|
11353
|
-
},
|
|
11354
|
-
{
|
|
11355
|
-
"name": "DialFileAcceptType",
|
|
11356
|
-
"kind": "type",
|
|
11357
|
-
"sourceFile": "models/file-manager.ts",
|
|
11358
|
-
"typeBody": "| `${string}/${string}` // MIME (wildcard)\n | `.${string}`"
|
|
11359
|
-
},
|
|
11360
10372
|
{
|
|
11361
10373
|
"name": "GridSelectionMode",
|
|
11362
10374
|
"kind": "enum",
|
|
@@ -12018,6 +11030,41 @@
|
|
|
12018
11030
|
"sourceFile": "types/badge.ts",
|
|
12019
11031
|
"description": "How a `Badge` is drawn."
|
|
12020
11032
|
},
|
|
11033
|
+
{
|
|
11034
|
+
"name": "AvatarColor",
|
|
11035
|
+
"kind": "enum",
|
|
11036
|
+
"members": [
|
|
11037
|
+
{
|
|
11038
|
+
"name": "Green1",
|
|
11039
|
+
"value": "'green-1'"
|
|
11040
|
+
},
|
|
11041
|
+
{
|
|
11042
|
+
"name": "Violet2",
|
|
11043
|
+
"value": "'violet-2'"
|
|
11044
|
+
},
|
|
11045
|
+
{
|
|
11046
|
+
"name": "Brown",
|
|
11047
|
+
"value": "'brown'"
|
|
11048
|
+
},
|
|
11049
|
+
{
|
|
11050
|
+
"name": "Red",
|
|
11051
|
+
"value": "'red'"
|
|
11052
|
+
},
|
|
11053
|
+
{
|
|
11054
|
+
"name": "Green2",
|
|
11055
|
+
"value": "'green-2'"
|
|
11056
|
+
},
|
|
11057
|
+
{
|
|
11058
|
+
"name": "Blue",
|
|
11059
|
+
"value": "'blue'"
|
|
11060
|
+
},
|
|
11061
|
+
{
|
|
11062
|
+
"name": "Violet1",
|
|
11063
|
+
"value": "'violet-1'"
|
|
11064
|
+
}
|
|
11065
|
+
],
|
|
11066
|
+
"sourceFile": "types/avatar.ts"
|
|
11067
|
+
},
|
|
12021
11068
|
{
|
|
12022
11069
|
"name": "AvatarShape",
|
|
12023
11070
|
"kind": "enum",
|
|
@@ -12036,6 +11083,22 @@
|
|
|
12036
11083
|
"sourceFile": "types/avatar.ts",
|
|
12037
11084
|
"description": "The outline an `Avatar` is clipped to."
|
|
12038
11085
|
},
|
|
11086
|
+
{
|
|
11087
|
+
"name": "AvatarColorClasses",
|
|
11088
|
+
"kind": "interface",
|
|
11089
|
+
"members": [
|
|
11090
|
+
{
|
|
11091
|
+
"name": "background",
|
|
11092
|
+
"value": "string"
|
|
11093
|
+
},
|
|
11094
|
+
{
|
|
11095
|
+
"name": "foreground",
|
|
11096
|
+
"value": "string"
|
|
11097
|
+
}
|
|
11098
|
+
],
|
|
11099
|
+
"sourceFile": "utils/avatar.ts",
|
|
11100
|
+
"description": "A background and text colour pair for an initials avatar, as Tailwind classes."
|
|
11101
|
+
},
|
|
12039
11102
|
{
|
|
12040
11103
|
"name": "EntityIdentityItem",
|
|
12041
11104
|
"kind": "interface",
|
|
@@ -12378,11 +11441,6 @@
|
|
|
12378
11441
|
"name": "convertGridDateToDate",
|
|
12379
11442
|
"sourceFile": "utils/grid-date.ts"
|
|
12380
11443
|
},
|
|
12381
|
-
{
|
|
12382
|
-
"name": "useDialFileManagerTabs",
|
|
12383
|
-
"sourceFile": "components/FileManager/hooks/use-file-manager-tabs.tsx",
|
|
12384
|
-
"signature": "(tabLabels?: Record<DialFileManagerTabs, string>, initialTab: DialFileManagerTabs = DialFileManagerTabs.MyFiles) => unknown"
|
|
12385
|
-
},
|
|
12386
11444
|
{
|
|
12387
11445
|
"name": "EDITABLE_CONTAINER_ATTRIBUTE",
|
|
12388
11446
|
"sourceFile": "hooks/use-editable-item.tsx",
|
|
@@ -12403,24 +11461,17 @@
|
|
|
12403
11461
|
"name": "UseEditableItemOptions",
|
|
12404
11462
|
"sourceFile": "hooks/use-editable-item.tsx"
|
|
12405
11463
|
},
|
|
12406
|
-
{
|
|
12407
|
-
"name": "FileManagerProvider",
|
|
12408
|
-
"sourceFile": "components/FileManager/FileManagerProvider.tsx",
|
|
12409
|
-
"description": "Provider that encapsulates all File Manager business logic:\n- path & navigation\n- search (controlled + uncontrolled)\n- hidden files toggle\n- tree collapsed state\n- selection\n- clipboard (copy / cut / paste)\n- delete confirmation state\n- computed grid rows\n- new actions",
|
|
12410
|
-
"signature": "FileManagerProvider: FC<FileManagerProviderProps>"
|
|
12411
|
-
},
|
|
12412
|
-
{
|
|
12413
|
-
"name": "useFileManagerContext",
|
|
12414
|
-
"sourceFile": "components/FileManager/hooks/use-file-manager-context.ts",
|
|
12415
|
-
"description": "Hook to read the File Manager context.\nThrows if used outside of the provider.",
|
|
12416
|
-
"signature": "() => unknown"
|
|
12417
|
-
},
|
|
12418
11464
|
{
|
|
12419
11465
|
"name": "useThemeScope",
|
|
12420
11466
|
"sourceFile": "components/New/ThemeScope/ThemeScope.tsx",
|
|
12421
11467
|
"description": "Class names of the enclosing `ThemeScope`s, outermost first, or `''` when the\ncaller sits outside any scope. Components rendering into a `FloatingPortal`\nmerge this onto their floating root so the tokens follow them out of the\nsubtree.",
|
|
12422
11468
|
"signature": "() => string"
|
|
12423
11469
|
},
|
|
11470
|
+
{
|
|
11471
|
+
"name": "AVATAR_PALETTE",
|
|
11472
|
+
"sourceFile": "utils/avatar.ts",
|
|
11473
|
+
"signature": "AVATAR_PALETTE: Record<AvatarColor, AvatarColorClasses>"
|
|
11474
|
+
},
|
|
12424
11475
|
{
|
|
12425
11476
|
"name": "extractInitials",
|
|
12426
11477
|
"sourceFile": "utils/avatar.ts",
|
|
@@ -12530,21 +11581,6 @@
|
|
|
12530
11581
|
}
|
|
12531
11582
|
],
|
|
12532
11583
|
"constants": [
|
|
12533
|
-
{
|
|
12534
|
-
"name": "NAME_COLUMN",
|
|
12535
|
-
"sourceFile": "constants/file-grid-columns.tsx",
|
|
12536
|
-
"signature": "(headerName: string) => unknown"
|
|
12537
|
-
},
|
|
12538
|
-
{
|
|
12539
|
-
"name": "SIZE_COLUMN",
|
|
12540
|
-
"sourceFile": "constants/file-grid-columns.tsx",
|
|
12541
|
-
"signature": "(headerName: string) => ColDef"
|
|
12542
|
-
},
|
|
12543
|
-
{
|
|
12544
|
-
"name": "UPDATED_AT_COLUMN",
|
|
12545
|
-
"sourceFile": "constants/file-grid-columns.tsx",
|
|
12546
|
-
"signature": "(headerName: string) => unknown"
|
|
12547
|
-
},
|
|
12548
11584
|
{
|
|
12549
11585
|
"name": "DIAL_ICON_SIZE",
|
|
12550
11586
|
"sourceFile": "constants/icon.ts",
|