@epam/ai-dial-ui-kit 0.16.0-dev.2 → 0.16.0-dev.21
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 +3 -1
- package/dist/CHANGELOG.md +55 -0
- package/dist/DateCellRenderer-DDEzIi2B.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 +53 -52
- package/dist/components/New/Breadcrumbs/constants.js +1 -1
- package/dist/components/New/Calendar/Calendar.js +314 -227
- package/dist/components/New/Calendar/TimePickerPanel.js +87 -0
- package/dist/components/New/Calendar/constants.js +27 -25
- package/dist/components/New/Checkbox/Checkbox.js +23 -21
- package/dist/components/New/Checkbox/CheckboxBox.js +25 -18
- package/dist/components/New/ConfirmationPopup/ConfirmationPopup.js +49 -44
- package/dist/components/New/Dropdown/Dropdown.js +320 -251
- package/dist/components/New/Dropdown/constants.js +21 -18
- package/dist/components/New/Dropdown/search.js +37 -0
- package/dist/components/New/FolderPath/FolderPath.js +151 -46
- package/dist/components/New/Grid/Grid.js +139 -132
- package/dist/components/New/Grid/constants.js +5 -2
- package/dist/components/New/MenuItem/MenuItem.js +17 -17
- package/dist/components/New/Popup/Popup.js +124 -101
- package/dist/components/New/Popup/constants.js +11 -9
- package/dist/components/New/Radio/Radio.js +19 -17
- package/dist/components/New/SharedEntityIndicator/SharedEntityIndicator.js +1 -1
- package/dist/components/New/SideDrawer/SideDrawer.js +1 -1
- package/dist/components/New/Switch/Switch.js +19 -17
- package/dist/components/New/TransferQueue/TransferQueue.js +66 -71
- package/dist/components/New/TransferQueue/TransferQueueHeader.js +30 -38
- package/dist/components/New/TransferQueue/TransferQueueRow.js +106 -49
- 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 +315 -1197
- package/dist/constants/public-class-names.js +7 -0
- package/dist/dial-ui-kit.cjs +4 -2
- package/dist/dial-ui-kit.js +357 -373
- package/dist/editors.cjs +1 -1
- package/dist/grid.cjs +1 -1
- package/dist/grid.js +19 -17
- 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/ag-grid-community/dist/package/main.esm.js +1767 -1763
- 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/Calendar.d.ts +10 -2
- package/dist/src/components/New/Calendar/TimePickerPanel.d.ts +15 -0
- package/dist/src/components/New/Calendar/constants.d.ts +7 -5
- package/dist/src/components/New/Dropdown/Dropdown.d.ts +42 -0
- package/dist/src/components/New/Dropdown/constants.d.ts +7 -1
- package/dist/src/components/New/Dropdown/search.d.ts +9 -0
- package/dist/src/components/New/FilterChips/FilterChips.d.ts +1 -1
- package/dist/src/components/New/FolderPath/FolderPath.d.ts +16 -8
- package/dist/src/components/New/Grid/Grid.d.ts +12 -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/Popup/constants.d.ts +8 -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/New/TransferQueue/TransferQueue.d.ts +9 -5
- package/dist/src/components/New/TransferQueue/TransferQueueHeader.d.ts +1 -3
- package/dist/src/components/SegmentedControl/SegmentedControl.d.ts +1 -1
- package/dist/src/components/Select/constants.d.ts +3 -3
- package/dist/src/constants/public-class-names.d.ts +7 -0
- package/dist/src/index.d.ts +4 -13
- package/dist/src/subpaths/editors.d.ts +1 -1
- package/dist/src/subpaths/grid.d.ts +1 -0
- package/dist/src/types/avatar.d.ts +9 -0
- package/dist/src/types/grid.d.ts +8 -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/types/grid.js +4 -0
- package/dist/utils/avatar.js +41 -18
- package/dist/utils/sub-menu-floating.js +8 -8
- package/package.json +9 -12
- package/dist/DateCellRenderer-BdUMSg-E.cjs +0 -1
- package/dist/DateCellRenderer-CZNa4jVJ.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-Bzzwwcgk.cjs +0 -3
- package/dist/utils/path.js +0 -4
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.16.0-dev.
|
|
3
|
-
"generatedAt": "2026-10-
|
|
2
|
+
"version": "0.16.0-dev.21",
|
|
3
|
+
"generatedAt": "2026-10-20T14:10:43.721Z",
|
|
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| `lg` | `var(--shadow-lg)` | `#2764d914` |",
|
|
21
21
|
"components": [
|
|
22
22
|
{
|
|
23
23
|
"name": "Spinner",
|
|
@@ -423,7 +423,7 @@
|
|
|
423
423
|
},
|
|
424
424
|
{
|
|
425
425
|
"name": "Calendar",
|
|
426
|
-
"category": "Components_2_0",
|
|
426
|
+
"category": "Components_2_0/Calendar",
|
|
427
427
|
"generation": "2.0",
|
|
428
428
|
"description": "A date/time picker supporting four selection modes.\naliases: DatePicker|DateTimePicker\nDesign system 2.0\n\nRenders a text-field trigger that opens a rounded month-grid popover for\nthe `date`/`datetime` modes, a masked `\"HH:mm\"` text field for `time`, and\na popover list of weekday names for `weekday`. Month/weekday names and\ndate formatting are localized via the `locale` prop.",
|
|
429
429
|
"props": [
|
|
@@ -520,7 +520,14 @@
|
|
|
520
520
|
"type": "boolean",
|
|
521
521
|
"required": false,
|
|
522
522
|
"defaultValue": "false",
|
|
523
|
-
"description": "Shows the viewer's timezone (e.g. `(GMT+01:00) Europe/Berlin`) at the trailing edge of the `time`
|
|
523
|
+
"description": "Shows the viewer's timezone (e.g. `(GMT+01:00) Europe/Berlin`) at the trailing edge of the time fields (`time` mode and the `datetime` popover footer)"
|
|
524
|
+
},
|
|
525
|
+
{
|
|
526
|
+
"name": "showTimePicker",
|
|
527
|
+
"type": "boolean",
|
|
528
|
+
"required": false,
|
|
529
|
+
"defaultValue": "true",
|
|
530
|
+
"description": "`time` mode only: shows a clock button that opens an hour/minute list popover next to the typeable field"
|
|
524
531
|
}
|
|
525
532
|
],
|
|
526
533
|
"examples": [
|
|
@@ -532,7 +539,7 @@
|
|
|
532
539
|
"name": "FolderPath",
|
|
533
540
|
"category": "Components_2_0",
|
|
534
541
|
"generation": "2.0",
|
|
535
|
-
"description": "A read-only, non-clickable folder/location path
|
|
542
|
+
"description": "A read-only, non-clickable folder/location path styled like `DialBreadcrumb`.\naliases: FolderBreadcrumb|LocationPath\nDesign system 2.0\n\nEvery segment is disabled (no navigation); the first segment gets a leading\nfolder icon and the last segment is styled as the current/leaf item. A path\nof more than three segments collapses its middle into a non-interactive `…`\nthat shows the full path (`Shared > Team > Sub > Reports`) in a tooltip on\nhover; the hidden segments stay in the accessible text.\n\nWhen the path is too wide, the leaf keeps its width longest: the folder\nbefore it truncates first, down to about one character, and if the leaf\nstill does not fit, that folder joins the `…` as well. Only then does the\nleaf truncate.",
|
|
536
543
|
"props": [
|
|
537
544
|
{
|
|
538
545
|
"name": "segments",
|
|
@@ -558,14 +565,14 @@
|
|
|
558
565
|
"name": "className",
|
|
559
566
|
"type": "string",
|
|
560
567
|
"required": false,
|
|
561
|
-
"description": "Additional CSS classes applied to the
|
|
568
|
+
"description": "Additional CSS classes applied to the `<nav>` element.\nThe nav clips on overflow, so this must not shrink it to content width\n(e.g. never `w-auto`)."
|
|
562
569
|
},
|
|
563
570
|
{
|
|
564
571
|
"name": "ariaLabel",
|
|
565
572
|
"type": "string",
|
|
566
573
|
"required": false,
|
|
567
574
|
"defaultValue": "'Folder path'",
|
|
568
|
-
"description": "Accessible name for the
|
|
575
|
+
"description": "Accessible name for the `<nav>`. A path\nhas no navigable items, so it is not named \"Breadcrumb\"; override it when a\npage shows more than one."
|
|
569
576
|
}
|
|
570
577
|
],
|
|
571
578
|
"examples": [
|
|
@@ -2204,10 +2211,62 @@
|
|
|
2204
2211
|
"type": "0 | -1 | RefObject<HTMLElement | null>",
|
|
2205
2212
|
"required": false,
|
|
2206
2213
|
"description": "Initial focus target inside the overlay on open, forwarded to `FloatingFocusManager`; when omitted, matches pre-existing behavior"
|
|
2214
|
+
},
|
|
2215
|
+
{
|
|
2216
|
+
"name": "searchable",
|
|
2217
|
+
"type": "boolean",
|
|
2218
|
+
"required": false,
|
|
2219
|
+
"defaultValue": "false",
|
|
2220
|
+
"description": "Show a search field above `items` that filters them and highlights the match"
|
|
2221
|
+
},
|
|
2222
|
+
{
|
|
2223
|
+
"name": "searchValue",
|
|
2224
|
+
"type": "string",
|
|
2225
|
+
"required": false,
|
|
2226
|
+
"description": "Controlled query of the search field"
|
|
2227
|
+
},
|
|
2228
|
+
{
|
|
2229
|
+
"name": "onSearchChange",
|
|
2230
|
+
"type": "(value: string) => void",
|
|
2231
|
+
"required": false,
|
|
2232
|
+
"description": "Fired with every edit of the search field, and with `''` when the menu closes"
|
|
2233
|
+
},
|
|
2234
|
+
{
|
|
2235
|
+
"name": "searchPlaceholder",
|
|
2236
|
+
"type": "string",
|
|
2237
|
+
"required": false,
|
|
2238
|
+
"defaultValue": "'Search'",
|
|
2239
|
+
"description": "Placeholder and accessible name of the search field"
|
|
2240
|
+
},
|
|
2241
|
+
{
|
|
2242
|
+
"name": "searchClearLabel",
|
|
2243
|
+
"type": "string",
|
|
2244
|
+
"required": false,
|
|
2245
|
+
"defaultValue": "'Clear search'",
|
|
2246
|
+
"description": "Accessible name of the search field's clear button"
|
|
2247
|
+
},
|
|
2248
|
+
{
|
|
2249
|
+
"name": "noResultsLabel",
|
|
2250
|
+
"type": "string",
|
|
2251
|
+
"required": false,
|
|
2252
|
+
"defaultValue": "'No results found'",
|
|
2253
|
+
"description": "Text shown and announced when the query leaves no items"
|
|
2254
|
+
},
|
|
2255
|
+
{
|
|
2256
|
+
"name": "filterItem",
|
|
2257
|
+
"type": "DropdownItemFilter",
|
|
2258
|
+
"required": false,
|
|
2259
|
+
"description": "Item matcher; defaults to a case-insensitive substring match on a string `label`"
|
|
2260
|
+
},
|
|
2261
|
+
{
|
|
2262
|
+
"name": "maxVisibleItems",
|
|
2263
|
+
"type": "number",
|
|
2264
|
+
"required": false,
|
|
2265
|
+
"description": "Rows the item list shows before it scrolls"
|
|
2207
2266
|
}
|
|
2208
2267
|
],
|
|
2209
2268
|
"examples": [
|
|
2210
|
-
"// Simple items menu\n<Dropdown items={[{ key: 'profile', label: 'Profile' }, { key: 'logout', label: 'Logout' }]}>\n <button type=\"button\" className=\"px-3 py-2 rounded border\">Open</button>\n</Dropdown>\n\n// Hover trigger\n<Dropdown trigger={[DropdownTrigger.Hover]} placement=\"bottom-end\" items={items}>\n <button type=\"button\" className=\"px-3 py-2 rounded border\">Hover me</button>\n</Dropdown>\n\n// Custom overlay content\n<Dropdown closable renderOverlay={() => <div className=\"p-3\">Custom content</div>}>\n <button type=\"button\" className=\"px-3 py-2 rounded border\">Custom</button>\n</Dropdown>"
|
|
2269
|
+
"// Simple items menu\n<Dropdown items={[{ key: 'profile', label: 'Profile' }, { key: 'logout', label: 'Logout' }]}>\n <button type=\"button\" className=\"px-3 py-2 rounded border\">Open</button>\n</Dropdown>\n\n// Hover trigger\n<Dropdown trigger={[DropdownTrigger.Hover]} placement=\"bottom-end\" items={items}>\n <button type=\"button\" className=\"px-3 py-2 rounded border\">Hover me</button>\n</Dropdown>\n\n// Custom overlay content\n<Dropdown closable renderOverlay={() => <div className=\"p-3\">Custom content</div>}>\n <button type=\"button\" className=\"px-3 py-2 rounded border\">Custom</button>\n</Dropdown>\n\n// Searchable menu, seven rows tall before it scrolls\n<Dropdown searchable maxVisibleItems={7} items={items}>\n <button type=\"button\" className=\"px-3 py-2 rounded border\">Create</button>\n</Dropdown>"
|
|
2211
2270
|
],
|
|
2212
2271
|
"sourceFile": "components/New/Dropdown/Dropdown.tsx"
|
|
2213
2272
|
},
|
|
@@ -3660,7 +3719,7 @@
|
|
|
3660
3719
|
"name": "Avatar",
|
|
3661
3720
|
"category": "Components_2_0",
|
|
3662
3721
|
"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
|
|
3722
|
+
"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
3723
|
"props": [
|
|
3665
3724
|
{
|
|
3666
3725
|
"name": "name",
|
|
@@ -3701,6 +3760,12 @@
|
|
|
3701
3760
|
"defaultValue": "AvatarShape.Circle",
|
|
3702
3761
|
"description": "Outline of the avatar"
|
|
3703
3762
|
},
|
|
3763
|
+
{
|
|
3764
|
+
"name": "color",
|
|
3765
|
+
"type": "AvatarColorClasses",
|
|
3766
|
+
"required": false,
|
|
3767
|
+
"description": "Explicit colour pair overriding the deterministic pick from `name`"
|
|
3768
|
+
},
|
|
3704
3769
|
{
|
|
3705
3770
|
"name": "className",
|
|
3706
3771
|
"type": "string",
|
|
@@ -4987,7 +5052,7 @@
|
|
|
4987
5052
|
"name": "TransferQueue",
|
|
4988
5053
|
"category": "Components_2_0",
|
|
4989
5054
|
"generation": "2.0",
|
|
4990
|
-
"description": "A floating panel listing the files of an upload, download, import or export\nwith a live status per row.\naliases: UploadQueue|ImportQueue|ExportQueue|UploadProgress|ProgressToast\nDesign system 2.0\n\nEach row shows the file's `FileIcon` and name, and a trailing status: a\nspinner (with a cancel control on hover or focus) while in progress, a check\non success, a warning or error icon whose reason is both its tooltip and its\naccessible name, or \"Canceled\". The header carries the host's title
|
|
5055
|
+
"description": "A floating panel listing the files of an upload, download, import or export\nwith a live status per row.\naliases: UploadQueue|ImportQueue|ExportQueue|UploadProgress|ProgressToast\nDesign system 2.0\n\nEach row shows the file's `FileIcon` and name, and a trailing status: a\nspinner (with a cancel control on hover or focus) while in progress, a check\non success, a warning or error icon whose reason is both its tooltip and its\naccessible name, or \"Canceled\". The header carries the host's title and the\ncollapse and close controls. Collapsed while work runs,\nthe rows are replaced by one aggregate `ProgressBar`.\n\nClosing while an item is in progress asks for confirmation first; a queue\nwhose items have all settled, failed ones included, closes straight away. Once every item has succeeded the queue closes itself after\n`autoCloseDelay`; a warned or canceled row keeps it open so it can be read.\n\nThe root is a polite `role=\"status\"` live region. Positioning is left to\nthe host — wrap it in a fixed container at the screen corner.",
|
|
4991
5056
|
"props": [
|
|
4992
5057
|
{
|
|
4993
5058
|
"name": "title",
|
|
@@ -5204,10 +5269,17 @@
|
|
|
5204
5269
|
"required": false,
|
|
5205
5270
|
"defaultValue": "'Select all rows'",
|
|
5206
5271
|
"description": "Accessible name of the select-all control."
|
|
5272
|
+
},
|
|
5273
|
+
{
|
|
5274
|
+
"name": "colorScheme",
|
|
5275
|
+
"type": "GridColorScheme",
|
|
5276
|
+
"required": false,
|
|
5277
|
+
"defaultValue": "GridColorScheme.Light",
|
|
5278
|
+
"description": "AG Grid color scheme. `dark` paints native controls dark."
|
|
5207
5279
|
}
|
|
5208
5280
|
],
|
|
5209
5281
|
"examples": [
|
|
5210
|
-
"interface Product { id: string; name: string; price: number }\n\nconst columns: ColDef<Product>[] = [\n { field: 'name', headerName: 'Product', flex: 1 },\n { field: 'price', headerName: 'Price', width: 120 },\n];\n\n<Grid<Product> columnDefs={columns} rowData={products} />\n\n// With selection and a context menu\n<Grid<Product>\n columnDefs={columns}\n rowData={products}\n selectionMode={GridSelectionMode.MULTIPLE}\n selectedRowIds={selectedIds}\n onSelectionChange={(ids) => setSelectedIds(ids)}\n selectRowLabel={(row) => `Select ${row.name}`}\n getContextMenuItems={(row) => [{ key: 'edit', label: 'Edit' }]}\n/>"
|
|
5282
|
+
"interface Product { id: string; name: string; price: number }\n\nconst columns: ColDef<Product>[] = [\n { field: 'name', headerName: 'Product', flex: 1 },\n { field: 'price', headerName: 'Price', width: 120 },\n];\n\n<Grid<Product> columnDefs={columns} rowData={products} />\n\n// With selection and a context menu\n<Grid<Product>\n columnDefs={columns}\n rowData={products}\n selectionMode={GridSelectionMode.MULTIPLE}\n selectedRowIds={selectedIds}\n onSelectionChange={(ids) => setSelectedIds(ids)}\n selectRowLabel={(row) => `Select ${row.name}`}\n getContextMenuItems={(row) => [{ key: 'edit', label: 'Edit' }]}\n/>\n\n// Dark native controls, including the date-filter calendar\n<Grid<Product> columnDefs={columns} rowData={products} colorScheme={GridColorScheme.Dark} />"
|
|
5211
5283
|
],
|
|
5212
5284
|
"sourceFile": "components/New/Grid/Grid.tsx"
|
|
5213
5285
|
},
|
|
@@ -9293,1025 +9365,226 @@
|
|
|
9293
9365
|
"sourceFile": "components/DropdownIcon/DropdownIcon.tsx"
|
|
9294
9366
|
},
|
|
9295
9367
|
{
|
|
9296
|
-
"name": "
|
|
9297
|
-
"category": "
|
|
9368
|
+
"name": "DialSchemaRenderer",
|
|
9369
|
+
"category": "Name",
|
|
9370
|
+
"generation": "1.0",
|
|
9371
|
+
"description": "Renders a JSON Schema as a form UI with collapsible sections, validation, and default values.\naliases: SchemaRenderer|JsonSchemaForm\nDesign system 1.0",
|
|
9372
|
+
"props": [],
|
|
9373
|
+
"examples": [
|
|
9374
|
+
"<DialSchemaRenderer\n schema={mySchema}\n onChange={(v) => console.log(v)}\n onDefaultValues={(defaults) => console.log(defaults)}\n/>"
|
|
9375
|
+
],
|
|
9376
|
+
"sourceFile": "components/SchemaRenderer/SchemaRenderer.tsx",
|
|
9377
|
+
"supersededBy": "SchemaRenderer"
|
|
9378
|
+
},
|
|
9379
|
+
{
|
|
9380
|
+
"name": "DialJsonEditor",
|
|
9381
|
+
"category": "Data Display",
|
|
9298
9382
|
"generation": "1.0",
|
|
9299
|
-
"description": "
|
|
9383
|
+
"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.",
|
|
9300
9384
|
"props": [
|
|
9301
9385
|
{
|
|
9302
|
-
"name": "
|
|
9303
|
-
"type": "string",
|
|
9386
|
+
"name": "value",
|
|
9387
|
+
"type": "string | undefined",
|
|
9304
9388
|
"required": false,
|
|
9305
|
-
"description": "
|
|
9389
|
+
"description": "The JSON string value to edit"
|
|
9306
9390
|
},
|
|
9307
9391
|
{
|
|
9308
|
-
"name": "
|
|
9392
|
+
"name": "currentTheme",
|
|
9309
9393
|
"type": "string",
|
|
9310
|
-
"required":
|
|
9311
|
-
"description": "
|
|
9394
|
+
"required": true,
|
|
9395
|
+
"description": "The theme to apply to the editor"
|
|
9312
9396
|
},
|
|
9313
9397
|
{
|
|
9314
|
-
"name": "
|
|
9315
|
-
"type": "
|
|
9398
|
+
"name": "themesConfig",
|
|
9399
|
+
"type": "Record<EditorThemes, editor.IStandaloneThemeData>",
|
|
9316
9400
|
"required": false,
|
|
9317
|
-
"
|
|
9318
|
-
|
|
9319
|
-
{
|
|
9320
|
-
"name": "managerLabel",
|
|
9321
|
-
"type": "ReactNode",
|
|
9322
|
-
"required": false
|
|
9401
|
+
"defaultValue": "EDITOR_THEMES_CONFIG",
|
|
9402
|
+
"description": "Custom theme configurations"
|
|
9323
9403
|
},
|
|
9324
9404
|
{
|
|
9325
|
-
"name": "
|
|
9326
|
-
"type": "string",
|
|
9327
|
-
"required":
|
|
9328
|
-
"description": "
|
|
9405
|
+
"name": "onChange",
|
|
9406
|
+
"type": "(value: string | undefined) => void",
|
|
9407
|
+
"required": true,
|
|
9408
|
+
"description": "Callback fired when the editor content changes"
|
|
9329
9409
|
},
|
|
9330
9410
|
{
|
|
9331
|
-
"name": "
|
|
9332
|
-
"type": "
|
|
9411
|
+
"name": "onValidateJSON",
|
|
9412
|
+
"type": "OnValidate",
|
|
9333
9413
|
"required": false,
|
|
9334
|
-
"description": "
|
|
9414
|
+
"description": "Callback fired when JSON validation occurs"
|
|
9335
9415
|
},
|
|
9336
9416
|
{
|
|
9337
|
-
"name": "
|
|
9338
|
-
"type": "
|
|
9417
|
+
"name": "options",
|
|
9418
|
+
"type": "editor.IStandaloneEditorConstructionOptions",
|
|
9339
9419
|
"required": false,
|
|
9340
|
-
"description": "
|
|
9341
|
-
}
|
|
9420
|
+
"description": "Additional Monaco editor options"
|
|
9421
|
+
}
|
|
9422
|
+
],
|
|
9423
|
+
"examples": [],
|
|
9424
|
+
"sourceFile": "components/JsonEditor/JsonEditor.tsx",
|
|
9425
|
+
"lazy": {
|
|
9426
|
+
"loaderExportName": "LazyDialJsonEditor",
|
|
9427
|
+
"packageImport": "@epam/ai-dial-ui-kit",
|
|
9428
|
+
"ssr": false,
|
|
9429
|
+
"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);"
|
|
9430
|
+
}
|
|
9431
|
+
},
|
|
9432
|
+
{
|
|
9433
|
+
"name": "DialMarkdownEditor",
|
|
9434
|
+
"category": "Data Display",
|
|
9435
|
+
"generation": "1.0",
|
|
9436
|
+
"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.",
|
|
9437
|
+
"props": [
|
|
9342
9438
|
{
|
|
9343
|
-
"name": "
|
|
9344
|
-
"type": "
|
|
9439
|
+
"name": "value",
|
|
9440
|
+
"type": "string",
|
|
9345
9441
|
"required": false,
|
|
9346
|
-
"description": "
|
|
9442
|
+
"description": "The current markdown content"
|
|
9347
9443
|
},
|
|
9348
9444
|
{
|
|
9349
|
-
"name": "
|
|
9350
|
-
"type": "
|
|
9445
|
+
"name": "onChange",
|
|
9446
|
+
"type": "(value: string) => void",
|
|
9351
9447
|
"required": false,
|
|
9352
|
-
"description": "
|
|
9448
|
+
"description": "Callback fired when the editor content changes"
|
|
9353
9449
|
},
|
|
9354
9450
|
{
|
|
9355
|
-
"name": "
|
|
9356
|
-
"type": "
|
|
9451
|
+
"name": "height",
|
|
9452
|
+
"type": "number",
|
|
9357
9453
|
"required": false,
|
|
9358
|
-
"
|
|
9454
|
+
"defaultValue": "300",
|
|
9455
|
+
"description": "Height of the editor in pixels"
|
|
9359
9456
|
},
|
|
9360
9457
|
{
|
|
9361
|
-
"name": "
|
|
9362
|
-
"type": "
|
|
9458
|
+
"name": "preview",
|
|
9459
|
+
"type": "PreviewType",
|
|
9363
9460
|
"required": false,
|
|
9364
|
-
"
|
|
9461
|
+
"defaultValue": "'edit'",
|
|
9462
|
+
"description": "Preview mode ('edit', 'live', 'preview')"
|
|
9365
9463
|
},
|
|
9366
9464
|
{
|
|
9367
|
-
"name": "
|
|
9368
|
-
"type": "
|
|
9465
|
+
"name": "theme",
|
|
9466
|
+
"type": "EditorThemes",
|
|
9369
9467
|
"required": false,
|
|
9370
|
-
"
|
|
9468
|
+
"defaultValue": "EditorThemes.dark",
|
|
9469
|
+
"description": "Theme for the editor ('light' or 'dark')"
|
|
9371
9470
|
},
|
|
9372
9471
|
{
|
|
9373
|
-
"name": "
|
|
9374
|
-
"type": "
|
|
9472
|
+
"name": "className",
|
|
9473
|
+
"type": "string",
|
|
9375
9474
|
"required": false,
|
|
9376
|
-
"description": "
|
|
9475
|
+
"description": "Additional CSS classes for the container"
|
|
9377
9476
|
},
|
|
9378
9477
|
{
|
|
9379
|
-
"name": "
|
|
9380
|
-
"type": "
|
|
9478
|
+
"name": "placeholder",
|
|
9479
|
+
"type": "ReactNode",
|
|
9381
9480
|
"required": false,
|
|
9382
|
-
"description": "
|
|
9481
|
+
"description": "Content to display when the editor is empty"
|
|
9383
9482
|
},
|
|
9384
9483
|
{
|
|
9385
|
-
"name": "
|
|
9484
|
+
"name": "showDragbar",
|
|
9386
9485
|
"type": "boolean",
|
|
9387
|
-
"required": false
|
|
9388
|
-
},
|
|
9389
|
-
{
|
|
9390
|
-
"name": "onShowHiddenFilesChange",
|
|
9391
|
-
"type": "(value: boolean) => void",
|
|
9392
|
-
"required": false
|
|
9393
|
-
},
|
|
9394
|
-
{
|
|
9395
|
-
"name": "treeOptions",
|
|
9396
|
-
"type": "FileTreeOptions",
|
|
9397
9486
|
"required": false,
|
|
9398
|
-
"
|
|
9399
|
-
|
|
9487
|
+
"defaultValue": "true",
|
|
9488
|
+
"description": "Whether to show the bottom drag bar that resizes the editor height"
|
|
9489
|
+
}
|
|
9490
|
+
],
|
|
9491
|
+
"examples": [
|
|
9492
|
+
"<DialMarkdownEditor\nvalue=\"# Hello World\"\nonChange={(value) => console.log(value)}\nheight={400}\ntheme=\"dark\"\n/>"
|
|
9493
|
+
],
|
|
9494
|
+
"sourceFile": "components/MarkdownEditor/MarkdownEditor.tsx",
|
|
9495
|
+
"lazy": {
|
|
9496
|
+
"loaderExportName": "LazyDialMarkdownEditor",
|
|
9497
|
+
"packageImport": "@epam/ai-dial-ui-kit",
|
|
9498
|
+
"ssr": false,
|
|
9499
|
+
"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);"
|
|
9500
|
+
},
|
|
9501
|
+
"supersededBy": "MarkdownEditor"
|
|
9502
|
+
}
|
|
9503
|
+
],
|
|
9504
|
+
"types": [
|
|
9505
|
+
{
|
|
9506
|
+
"name": "AnalyticsCardVariant",
|
|
9507
|
+
"kind": "enum",
|
|
9508
|
+
"members": [
|
|
9400
9509
|
{
|
|
9401
|
-
"name": "
|
|
9402
|
-
"
|
|
9403
|
-
"required": false,
|
|
9404
|
-
"description": "Options for the file manager toolbar"
|
|
9510
|
+
"name": "Default",
|
|
9511
|
+
"value": "'default'"
|
|
9405
9512
|
},
|
|
9406
9513
|
{
|
|
9407
|
-
"name": "
|
|
9408
|
-
"
|
|
9409
|
-
|
|
9410
|
-
|
|
9411
|
-
|
|
9514
|
+
"name": "Compact",
|
|
9515
|
+
"value": "'compact'"
|
|
9516
|
+
}
|
|
9517
|
+
],
|
|
9518
|
+
"sourceFile": "types/analytics.ts"
|
|
9519
|
+
},
|
|
9520
|
+
{
|
|
9521
|
+
"name": "AnalyticsBarColorStop",
|
|
9522
|
+
"kind": "interface",
|
|
9523
|
+
"members": [
|
|
9412
9524
|
{
|
|
9413
|
-
"name": "
|
|
9414
|
-
"
|
|
9415
|
-
"required": false,
|
|
9416
|
-
"description": "Options for the breadcrumb and search panel (value/onSearchChange for controlled search)"
|
|
9525
|
+
"name": "from",
|
|
9526
|
+
"value": "number"
|
|
9417
9527
|
},
|
|
9418
9528
|
{
|
|
9419
|
-
"name": "
|
|
9420
|
-
"
|
|
9421
|
-
"required": false,
|
|
9422
|
-
"description": "Options forwarded to `DialGrid`; supports `columnDefs` override and `filterable` flag and date locale/options"
|
|
9529
|
+
"name": "to",
|
|
9530
|
+
"value": "number"
|
|
9423
9531
|
},
|
|
9424
9532
|
{
|
|
9425
|
-
"name": "
|
|
9426
|
-
"
|
|
9427
|
-
|
|
9428
|
-
|
|
9429
|
-
|
|
9533
|
+
"name": "color",
|
|
9534
|
+
"value": "string"
|
|
9535
|
+
}
|
|
9536
|
+
],
|
|
9537
|
+
"sourceFile": "models/analytics.ts"
|
|
9538
|
+
},
|
|
9539
|
+
{
|
|
9540
|
+
"name": "AnalyticsCardCompareItem",
|
|
9541
|
+
"kind": "interface",
|
|
9542
|
+
"members": [
|
|
9430
9543
|
{
|
|
9431
|
-
"name": "
|
|
9432
|
-
"
|
|
9433
|
-
"required": false,
|
|
9434
|
-
"description": "Options for the delete confirmation popup"
|
|
9544
|
+
"name": "title",
|
|
9545
|
+
"value": "ReactNode"
|
|
9435
9546
|
},
|
|
9436
9547
|
{
|
|
9437
|
-
"name": "
|
|
9438
|
-
"
|
|
9439
|
-
|
|
9440
|
-
|
|
9548
|
+
"name": "value",
|
|
9549
|
+
"value": "ReactNode"
|
|
9550
|
+
}
|
|
9551
|
+
],
|
|
9552
|
+
"sourceFile": "models/analytics.ts"
|
|
9553
|
+
},
|
|
9554
|
+
{
|
|
9555
|
+
"name": "DialTooltipContainerOptions",
|
|
9556
|
+
"kind": "interface",
|
|
9557
|
+
"members": [
|
|
9441
9558
|
{
|
|
9442
|
-
"name": "
|
|
9443
|
-
"
|
|
9444
|
-
"required": false
|
|
9559
|
+
"name": "initialOpen?",
|
|
9560
|
+
"value": "boolean"
|
|
9445
9561
|
},
|
|
9446
9562
|
{
|
|
9447
|
-
"name": "
|
|
9448
|
-
"
|
|
9449
|
-
"required": false,
|
|
9450
|
-
"description": "Width (px) below which the component switches to compact view."
|
|
9563
|
+
"name": "placement?",
|
|
9564
|
+
"value": "Placement"
|
|
9451
9565
|
},
|
|
9452
9566
|
{
|
|
9453
|
-
"name": "
|
|
9454
|
-
"
|
|
9455
|
-
"required": false
|
|
9567
|
+
"name": "isTriggerClickable?",
|
|
9568
|
+
"value": "boolean"
|
|
9456
9569
|
},
|
|
9457
9570
|
{
|
|
9458
|
-
"name": "
|
|
9459
|
-
"
|
|
9460
|
-
"required": false,
|
|
9461
|
-
"description": "Callback fired when user navigates via tree or breadcrumb"
|
|
9571
|
+
"name": "open?",
|
|
9572
|
+
"value": "boolean"
|
|
9462
9573
|
},
|
|
9463
9574
|
{
|
|
9464
|
-
"name": "
|
|
9465
|
-
"
|
|
9466
|
-
|
|
9467
|
-
|
|
9468
|
-
|
|
9575
|
+
"name": "onOpenChange?",
|
|
9576
|
+
"value": "(open: boolean) => void"
|
|
9577
|
+
}
|
|
9578
|
+
],
|
|
9579
|
+
"sourceFile": "components/Tooltip/TooltipContext.tsx"
|
|
9580
|
+
},
|
|
9581
|
+
{
|
|
9582
|
+
"name": "EditorThemes",
|
|
9583
|
+
"kind": "enum",
|
|
9584
|
+
"members": [
|
|
9469
9585
|
{
|
|
9470
|
-
"name": "
|
|
9471
|
-
"
|
|
9472
|
-
"required": false
|
|
9473
|
-
},
|
|
9474
|
-
{
|
|
9475
|
-
"name": "onGridApiChange",
|
|
9476
|
-
"type": "(api: GridApi) => void",
|
|
9477
|
-
"required": false
|
|
9478
|
-
},
|
|
9479
|
-
{
|
|
9480
|
-
"name": "onCopyFiles",
|
|
9481
|
-
"type": "(items: DialCopiedItem[], destinationFolder: string) => void",
|
|
9482
|
-
"required": false,
|
|
9483
|
-
"description": "Callback fired when files copy-paste"
|
|
9484
|
-
},
|
|
9485
|
-
{
|
|
9486
|
-
"name": "onMoveToFiles",
|
|
9487
|
-
"type": "(\n items: DialCopiedItem[],\n sourceFolder: string,\n destinationFolder: string,\n ) => void",
|
|
9488
|
-
"required": false,
|
|
9489
|
-
"description": "Callback fired when files cut-paste or rename"
|
|
9490
|
-
},
|
|
9491
|
-
{
|
|
9492
|
-
"name": "onDeleteFiles",
|
|
9493
|
-
"type": "(items: DialDeletedItem[], sourceFolder: string) => void",
|
|
9494
|
-
"required": false,
|
|
9495
|
-
"description": "Callback fired when files are deleted"
|
|
9496
|
-
},
|
|
9497
|
-
{
|
|
9498
|
-
"name": "onDownloadFiles",
|
|
9499
|
-
"type": "(items: DialFile[]) => void",
|
|
9500
|
-
"required": false,
|
|
9501
|
-
"description": "Callback fired when files are downloaded"
|
|
9502
|
-
},
|
|
9503
|
-
{
|
|
9504
|
-
"name": "onRenameValidate",
|
|
9505
|
-
"type": "(value: string, item: DialFile) => string | null",
|
|
9506
|
-
"required": false,
|
|
9507
|
-
"description": "Optional callback to validate a file or folder name during renaming. Should return an error message string if the name is invalid, or null if it's valid."
|
|
9508
|
-
},
|
|
9509
|
-
{
|
|
9510
|
-
"name": "renameValidationMessages",
|
|
9511
|
-
"type": "RenameValidationMessages",
|
|
9512
|
-
"required": false,
|
|
9513
|
-
"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."
|
|
9514
|
-
},
|
|
9515
|
-
{
|
|
9516
|
-
"name": "forbiddenSymbolsRegExp",
|
|
9517
|
-
"type": "RegExp",
|
|
9518
|
-
"required": false,
|
|
9519
|
-
"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."
|
|
9520
|
-
},
|
|
9521
|
-
{
|
|
9522
|
-
"name": "forbiddenSymbolsTooltip",
|
|
9523
|
-
"type": "ReactNode",
|
|
9524
|
-
"required": false,
|
|
9525
|
-
"description": "Optional tooltip displayed when a file or folder name contains forbidden characters"
|
|
9526
|
-
},
|
|
9527
|
-
{
|
|
9528
|
-
"name": "skipForbiddenSymbolsCheckForActions",
|
|
9529
|
-
"type": "boolean",
|
|
9530
|
-
"required": false,
|
|
9531
|
-
"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."
|
|
9532
|
-
},
|
|
9533
|
-
{
|
|
9534
|
-
"name": "onCreateFolder",
|
|
9535
|
-
"type": "(\n file: DialUploadFileItem,\n folderPath: string,\n fileId: string,\n ) => void | Promise<void>",
|
|
9536
|
-
"required": false
|
|
9537
|
-
},
|
|
9538
|
-
{
|
|
9539
|
-
"name": "onCreateFolderValidate",
|
|
9540
|
-
"type": "(\n name: string,\n parentFolder: DialFile,\n ) => string | null",
|
|
9541
|
-
"required": false
|
|
9542
|
-
},
|
|
9543
|
-
{
|
|
9544
|
-
"name": "folderCreationValidationMessages",
|
|
9545
|
-
"type": "CreateFolderValidationMessages",
|
|
9546
|
-
"required": false
|
|
9547
|
-
},
|
|
9548
|
-
{
|
|
9549
|
-
"name": "getDisabledTooltip",
|
|
9550
|
-
"type": "(row: FileManagerGridRow) => string | undefined",
|
|
9551
|
-
"required": false
|
|
9552
|
-
},
|
|
9553
|
-
{
|
|
9554
|
-
"name": "fileTooLargeTooltip",
|
|
9555
|
-
"type": "string",
|
|
9556
|
-
"required": false,
|
|
9557
|
-
"description": "Optional tooltip text displayed when a file is too large."
|
|
9558
|
-
},
|
|
9559
|
-
{
|
|
9560
|
-
"name": "unsupportedFileTypeTooltip",
|
|
9561
|
-
"type": "string",
|
|
9562
|
-
"required": false,
|
|
9563
|
-
"description": "Optional tooltip text displayed when an unsupported file type is selected."
|
|
9564
|
-
},
|
|
9565
|
-
{
|
|
9566
|
-
"name": "onUploadFiles",
|
|
9567
|
-
"type": "(\n files: DialUploadFileItem[],\n destinationFolder: string,\n ) => void",
|
|
9568
|
-
"required": false,
|
|
9569
|
-
"description": "Callback fired when files are uploaded"
|
|
9570
|
-
},
|
|
9571
|
-
{
|
|
9572
|
-
"name": "prepareUploadFileName",
|
|
9573
|
-
"type": "(name: string) => string",
|
|
9574
|
-
"required": false,
|
|
9575
|
-
"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."
|
|
9576
|
-
},
|
|
9577
|
-
{
|
|
9578
|
-
"name": "onValidateUpload",
|
|
9579
|
-
"type": "(\n files: DialUploadFileItem[],\n existingFiles: DialFile[],\n destinationFolder: string,\n ) => FileUploadValidationResult | Promise<FileUploadValidationResult>",
|
|
9580
|
-
"required": false,
|
|
9581
|
-
"description": "Callback to validate files before upload"
|
|
9582
|
-
},
|
|
9583
|
-
{
|
|
9584
|
-
"name": "maxFileSize",
|
|
9585
|
-
"type": "number",
|
|
9586
|
-
"required": false,
|
|
9587
|
-
"description": "Maximum allowed file size for uploads in bytes"
|
|
9588
|
-
},
|
|
9589
|
-
{
|
|
9590
|
-
"name": "uploadValidationMessages",
|
|
9591
|
-
"type": "FileUploadValidationMessages",
|
|
9592
|
-
"required": false,
|
|
9593
|
-
"description": "Custom validation messages for file uploads. Consumers can customize these strings for a11y and copy consistency."
|
|
9594
|
-
},
|
|
9595
|
-
{
|
|
9596
|
-
"name": "onUploadArchive",
|
|
9597
|
-
"type": "(\n file: File,\n name: string,\n destinationFolder: string,\n ) => void",
|
|
9598
|
-
"required": false,
|
|
9599
|
-
"description": "Callback fired when archive files are uploaded"
|
|
9600
|
-
},
|
|
9601
|
-
{
|
|
9602
|
-
"name": "uploadEnabled",
|
|
9603
|
-
"type": "boolean",
|
|
9604
|
-
"required": false,
|
|
9605
|
-
"description": "Whether files uploads are enabled"
|
|
9606
|
-
},
|
|
9607
|
-
{
|
|
9608
|
-
"name": "fileMetadataPopupOptions",
|
|
9609
|
-
"type": "FileMetadataPopupOptions",
|
|
9610
|
-
"required": false
|
|
9611
|
-
},
|
|
9612
|
-
{
|
|
9613
|
-
"name": "onGetInfo",
|
|
9614
|
-
"type": "(file: DialFile) => void | Promise<void>",
|
|
9615
|
-
"required": false
|
|
9616
|
-
},
|
|
9617
|
-
{
|
|
9618
|
-
"name": "onUnshareFiles",
|
|
9619
|
-
"type": "(files: DialFile[]) => void | Promise<void>",
|
|
9620
|
-
"required": false
|
|
9621
|
-
},
|
|
9622
|
-
{
|
|
9623
|
-
"name": "onRemoveFilesAccess",
|
|
9624
|
-
"type": "(files: DialFile[]) => void | Promise<void>",
|
|
9625
|
-
"required": false
|
|
9626
|
-
},
|
|
9627
|
-
{
|
|
9628
|
-
"name": "actionsRef",
|
|
9629
|
-
"type": "Ref<DialFileManagerActionsRef>",
|
|
9630
|
-
"required": false,
|
|
9631
|
-
"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."
|
|
9632
|
-
},
|
|
9633
|
-
{
|
|
9634
|
-
"name": "onSearchFiles",
|
|
9635
|
-
"type": "(folder: string, query: string) => void",
|
|
9636
|
-
"required": false
|
|
9637
|
-
},
|
|
9638
|
-
{
|
|
9639
|
-
"name": "searchInProgress",
|
|
9640
|
-
"type": "boolean",
|
|
9641
|
-
"required": false
|
|
9642
|
-
},
|
|
9643
|
-
{
|
|
9644
|
-
"name": "searchResults",
|
|
9645
|
-
"type": "DialFile[]",
|
|
9646
|
-
"required": false
|
|
9647
|
-
},
|
|
9648
|
-
{
|
|
9649
|
-
"name": "clearSearchResults",
|
|
9650
|
-
"type": "() => void",
|
|
9651
|
-
"required": false
|
|
9652
|
-
},
|
|
9653
|
-
{
|
|
9654
|
-
"name": "emptyStateIcon",
|
|
9655
|
-
"type": "ReactNode",
|
|
9656
|
-
"required": false,
|
|
9657
|
-
"description": "Optional icon for empty state"
|
|
9658
|
-
},
|
|
9659
|
-
{
|
|
9660
|
-
"name": "emptyStateTitle",
|
|
9661
|
-
"type": "string",
|
|
9662
|
-
"required": false,
|
|
9663
|
-
"description": "Optional title text displayed when there are no files."
|
|
9664
|
-
},
|
|
9665
|
-
{
|
|
9666
|
-
"name": "emptyStateDescription",
|
|
9667
|
-
"type": "string",
|
|
9668
|
-
"required": false,
|
|
9669
|
-
"description": "Optional description text displayed below the empty state title."
|
|
9670
|
-
},
|
|
9671
|
-
{
|
|
9672
|
-
"name": "sharedWithMeIds",
|
|
9673
|
-
"type": "string[]",
|
|
9674
|
-
"required": false,
|
|
9675
|
-
"description": "Optional list of file IDs that are shared with the current user."
|
|
9676
|
-
},
|
|
9677
|
-
{
|
|
9678
|
-
"name": "onFolderPopupPathChange",
|
|
9679
|
-
"type": "(newPath?: string) => void",
|
|
9680
|
-
"required": false
|
|
9681
|
-
},
|
|
9682
|
-
{
|
|
9683
|
-
"name": "onManagePermissions",
|
|
9684
|
-
"type": "(path?: string) => void",
|
|
9685
|
-
"required": false
|
|
9686
|
-
},
|
|
9687
|
-
{
|
|
9688
|
-
"name": "onPreview",
|
|
9689
|
-
"type": "(path?: string) => void",
|
|
9690
|
-
"required": false
|
|
9691
|
-
},
|
|
9692
|
-
{
|
|
9693
|
-
"name": "onOpenInNewTab",
|
|
9694
|
-
"type": "(file: DialFile) => void",
|
|
9695
|
-
"required": false
|
|
9696
|
-
},
|
|
9697
|
-
{
|
|
9698
|
-
"name": "previewExtensions",
|
|
9699
|
-
"type": "string[]",
|
|
9700
|
-
"required": false
|
|
9701
|
-
},
|
|
9702
|
-
{
|
|
9703
|
-
"name": "isRenameFileAvailable",
|
|
9704
|
-
"type": "boolean",
|
|
9705
|
-
"required": false
|
|
9706
|
-
},
|
|
9707
|
-
{
|
|
9708
|
-
"name": "isDuplicateFolderAvailable",
|
|
9709
|
-
"type": "boolean",
|
|
9710
|
-
"required": false
|
|
9711
|
-
},
|
|
9712
|
-
{
|
|
9713
|
-
"name": "customUploadFileAction",
|
|
9714
|
-
"type": "(\n currentPath?: string,\n currentFolder?: DialFile,\n ) => void",
|
|
9715
|
-
"required": false
|
|
9716
|
-
},
|
|
9717
|
-
{
|
|
9718
|
-
"name": "customCreateNewItemAction",
|
|
9719
|
-
"type": "(\n currentPath?: string,\n currentFolder?: DialFile,\n ) => void",
|
|
9720
|
-
"required": false
|
|
9721
|
-
},
|
|
9722
|
-
{
|
|
9723
|
-
"name": "customDuplicateAction",
|
|
9724
|
-
"type": "(items?: DialFile[]) => void",
|
|
9725
|
-
"required": false
|
|
9726
|
-
},
|
|
9727
|
-
{
|
|
9728
|
-
"name": "customDeleteItemsAction",
|
|
9729
|
-
"type": "(\n items: DialFile[],\n parentFolderPath: string,\n ) => void",
|
|
9730
|
-
"required": false
|
|
9731
|
-
},
|
|
9732
|
-
{
|
|
9733
|
-
"name": "customDownloadItemsAction",
|
|
9734
|
-
"type": "(items?: DialFile[]) => void",
|
|
9735
|
-
"required": false
|
|
9736
|
-
},
|
|
9737
|
-
{
|
|
9738
|
-
"name": "nonClickableTableColumns",
|
|
9739
|
-
"type": "FileManagerColumnKey[]",
|
|
9740
|
-
"required": false
|
|
9741
|
-
},
|
|
9742
|
-
{
|
|
9743
|
-
"name": "hideSearchPathItemName",
|
|
9744
|
-
"type": "boolean",
|
|
9745
|
-
"required": false
|
|
9746
|
-
},
|
|
9747
|
-
{
|
|
9748
|
-
"name": "showHiddenFileSwitcherInDestinationPopup",
|
|
9749
|
-
"type": "boolean",
|
|
9750
|
-
"required": false
|
|
9751
|
-
},
|
|
9752
|
-
{
|
|
9753
|
-
"name": "showCreateFolderButtonInDestinationPopup",
|
|
9754
|
-
"type": "boolean",
|
|
9755
|
-
"required": false
|
|
9756
|
-
},
|
|
9757
|
-
{
|
|
9758
|
-
"name": "autoSelectUploadedItems",
|
|
9759
|
-
"type": "boolean",
|
|
9760
|
-
"required": false,
|
|
9761
|
-
"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."
|
|
9762
|
-
},
|
|
9763
|
-
{
|
|
9764
|
-
"name": "maxNewFolderDepth",
|
|
9765
|
-
"type": "number",
|
|
9766
|
-
"required": false
|
|
9767
|
-
},
|
|
9768
|
-
{
|
|
9769
|
-
"name": "onNewFolderDepthExceeded",
|
|
9770
|
-
"type": "() => void",
|
|
9771
|
-
"required": false
|
|
9772
|
-
},
|
|
9773
|
-
{
|
|
9774
|
-
"name": "initialUploadFilesOpen",
|
|
9775
|
-
"type": "boolean",
|
|
9776
|
-
"required": false
|
|
9777
|
-
}
|
|
9778
|
-
],
|
|
9779
|
-
"examples": [
|
|
9780
|
-
"// 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>"
|
|
9781
|
-
],
|
|
9782
|
-
"sourceFile": "components/FileManager/FileManager.tsx"
|
|
9783
|
-
},
|
|
9784
|
-
{
|
|
9785
|
-
"name": "DialDestinationFolderPopup",
|
|
9786
|
-
"category": "FileManager/components",
|
|
9787
|
-
"generation": "1.0",
|
|
9788
|
-
"description": "DestinationFolderPopup\naliases: FolderSelector|PathChooser\nDesign system 1.0",
|
|
9789
|
-
"props": [],
|
|
9790
|
-
"examples": [
|
|
9791
|
-
"<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/>"
|
|
9792
|
-
],
|
|
9793
|
-
"sourceFile": "components/FileManager/components/DestinationFolderPopup/DestinationFolderPopup.tsx"
|
|
9794
|
-
},
|
|
9795
|
-
{
|
|
9796
|
-
"name": "DialFoldersTree",
|
|
9797
|
-
"category": "Data Display",
|
|
9798
|
-
"generation": "1.0",
|
|
9799
|
-
"description": "DialFoldersTree — A hierarchical folder tree component with nested expand/collapse support, selection highlighting,\nDesign system 1.0\nand optional file display.",
|
|
9800
|
-
"props": [
|
|
9801
|
-
{
|
|
9802
|
-
"name": "items",
|
|
9803
|
-
"type": "DialFile[]",
|
|
9804
|
-
"required": true,
|
|
9805
|
-
"description": "Array of folder and file nodes to display in the tree."
|
|
9806
|
-
},
|
|
9807
|
-
{
|
|
9808
|
-
"name": "expandedPaths",
|
|
9809
|
-
"type": "Set<string>",
|
|
9810
|
-
"required": false,
|
|
9811
|
-
"description": "Set of folder paths that should be expanded."
|
|
9812
|
-
},
|
|
9813
|
-
{
|
|
9814
|
-
"name": "loadingPaths",
|
|
9815
|
-
"type": "Set<string>",
|
|
9816
|
-
"required": false,
|
|
9817
|
-
"defaultValue": "new Set()",
|
|
9818
|
-
"description": "Set of folder paths currently loading (shows spinner or placeholder)."
|
|
9819
|
-
},
|
|
9820
|
-
{
|
|
9821
|
-
"name": "loadedPaths",
|
|
9822
|
-
"type": "Set<string>",
|
|
9823
|
-
"required": false,
|
|
9824
|
-
"defaultValue": "new Set()",
|
|
9825
|
-
"description": "Set of folder paths that have loaded."
|
|
9826
|
-
},
|
|
9827
|
-
{
|
|
9828
|
-
"name": "sharedByMePaths",
|
|
9829
|
-
"type": "Set<string>",
|
|
9830
|
-
"required": false,
|
|
9831
|
-
"defaultValue": "new Set()",
|
|
9832
|
-
"description": "Set of items paths that the user has shared with others. Enables UI indicators (icons/badges)."
|
|
9833
|
-
},
|
|
9834
|
-
{
|
|
9835
|
-
"name": "selectedPath",
|
|
9836
|
-
"type": "string",
|
|
9837
|
-
"required": false,
|
|
9838
|
-
"description": "Path representing the currently selected folder or file."
|
|
9839
|
-
},
|
|
9840
|
-
{
|
|
9841
|
-
"name": "renamedPath",
|
|
9842
|
-
"type": "string",
|
|
9843
|
-
"required": false,
|
|
9844
|
-
"description": "Path of the folder or file currently being edited."
|
|
9845
|
-
},
|
|
9846
|
-
{
|
|
9847
|
-
"name": "createdFolderPath",
|
|
9848
|
-
"type": "string | null",
|
|
9849
|
-
"required": false,
|
|
9850
|
-
"description": "Optional Path of the new created folder."
|
|
9851
|
-
},
|
|
9852
|
-
{
|
|
9853
|
-
"name": "showFiles",
|
|
9854
|
-
"type": "boolean",
|
|
9855
|
-
"required": false,
|
|
9856
|
-
"defaultValue": "false",
|
|
9857
|
-
"description": "Whether to show files in addition to folders."
|
|
9858
|
-
},
|
|
9859
|
-
{
|
|
9860
|
-
"name": "rootItemPath",
|
|
9861
|
-
"type": "string",
|
|
9862
|
-
"required": false,
|
|
9863
|
-
"description": "Path of the folder to treat as the custom root node (no context menu, special label)."
|
|
9864
|
-
},
|
|
9865
|
-
{
|
|
9866
|
-
"name": "rootItemLabel",
|
|
9867
|
-
"type": "string",
|
|
9868
|
-
"required": false,
|
|
9869
|
-
"description": "Label to display for the root node instead of its actual name."
|
|
9870
|
-
},
|
|
9871
|
-
{
|
|
9872
|
-
"name": "emptyStateTitle",
|
|
9873
|
-
"type": "string",
|
|
9874
|
-
"required": false,
|
|
9875
|
-
"defaultValue": "'No Folders'",
|
|
9876
|
-
"description": "Title text displayed when there are no items."
|
|
9877
|
-
},
|
|
9878
|
-
{
|
|
9879
|
-
"name": "emptyStateDescription",
|
|
9880
|
-
"type": "string",
|
|
9881
|
-
"required": false,
|
|
9882
|
-
"description": "Optional description text for the empty state."
|
|
9883
|
-
},
|
|
9884
|
-
{
|
|
9885
|
-
"name": "emptyStateIcon",
|
|
9886
|
-
"type": "ReactNode",
|
|
9887
|
-
"required": false,
|
|
9888
|
-
"description": "Optional icon to display in the empty state."
|
|
9889
|
-
},
|
|
9890
|
-
{
|
|
9891
|
-
"name": "onItemClick",
|
|
9892
|
-
"type": "(item: DialFile) => void",
|
|
9893
|
-
"required": false,
|
|
9894
|
-
"description": "Callback fired when a folder or file is clicked (receives the corresponding `DialFile` node)."
|
|
9895
|
-
},
|
|
9896
|
-
{
|
|
9897
|
-
"name": "onRenameSave",
|
|
9898
|
-
"type": "(value: string) => void",
|
|
9899
|
-
"required": false,
|
|
9900
|
-
"description": "Callback fired when editing is confirmed with a valid name (receives the new name)."
|
|
9901
|
-
},
|
|
9902
|
-
{
|
|
9903
|
-
"name": "onRenameCancel",
|
|
9904
|
-
"type": "() => void",
|
|
9905
|
-
"required": false,
|
|
9906
|
-
"description": "Callback fired when editing is cancelled."
|
|
9907
|
-
},
|
|
9908
|
-
{
|
|
9909
|
-
"name": "onRenameValidate",
|
|
9910
|
-
"type": "(value: string, item: DialFile) => string | null",
|
|
9911
|
-
"required": false,
|
|
9912
|
-
"description": "Function to validate the new name during editing. Should return an error string or `null` if valid."
|
|
9913
|
-
},
|
|
9914
|
-
{
|
|
9915
|
-
"name": "onCreateFolderSave",
|
|
9916
|
-
"type": "(value: string) => void",
|
|
9917
|
-
"required": false,
|
|
9918
|
-
"description": "Optional Callback fired when create new folder is confirmed"
|
|
9919
|
-
},
|
|
9920
|
-
{
|
|
9921
|
-
"name": "onCreateFolderCancel",
|
|
9922
|
-
"type": "() => void",
|
|
9923
|
-
"required": false,
|
|
9924
|
-
"description": "Optional Callback fired when create new folder is cancelled"
|
|
9925
|
-
},
|
|
9926
|
-
{
|
|
9927
|
-
"name": "getContextMenuItems",
|
|
9928
|
-
"type": "(item: DialFile) => DropdownItem[]",
|
|
9929
|
-
"required": false,
|
|
9930
|
-
"description": "Function returning context menu items for a given node."
|
|
9931
|
-
},
|
|
9932
|
-
{
|
|
9933
|
-
"name": "areHiddenFilesVisible",
|
|
9934
|
-
"type": "boolean",
|
|
9935
|
-
"required": false,
|
|
9936
|
-
"defaultValue": "false",
|
|
9937
|
-
"description": "Whether hidden files (dotfiles) should be visible in the tree."
|
|
9938
|
-
},
|
|
9939
|
-
{
|
|
9940
|
-
"name": "onExpandedPathsChange",
|
|
9941
|
-
"type": "(expandedPaths: Set<string>) => void",
|
|
9942
|
-
"required": false
|
|
9943
|
-
},
|
|
9944
|
-
{
|
|
9945
|
-
"name": "forbiddenSymbolsRegExp",
|
|
9946
|
-
"type": "RegExp",
|
|
9947
|
-
"required": false,
|
|
9948
|
-
"description": "Optional RegExp used to validate folder and file names for forbidden characters."
|
|
9949
|
-
},
|
|
9950
|
-
{
|
|
9951
|
-
"name": "forbiddenSymbolsTooltip",
|
|
9952
|
-
"type": "ReactNode",
|
|
9953
|
-
"required": false,
|
|
9954
|
-
"description": "Optional tooltip content displayed when a name contains forbidden characters."
|
|
9955
|
-
},
|
|
9956
|
-
{
|
|
9957
|
-
"name": "newFolderDefaultName",
|
|
9958
|
-
"type": "string",
|
|
9959
|
-
"required": false,
|
|
9960
|
-
"description": "Optional new folder default name."
|
|
9961
|
-
}
|
|
9962
|
-
],
|
|
9963
|
-
"examples": [
|
|
9964
|
-
"// 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/>"
|
|
9965
|
-
],
|
|
9966
|
-
"sourceFile": "components/FileManager/components/FoldersTree/FoldersTree.tsx"
|
|
9967
|
-
},
|
|
9968
|
-
{
|
|
9969
|
-
"name": "DialSchemaRenderer",
|
|
9970
|
-
"category": "Name",
|
|
9971
|
-
"generation": "1.0",
|
|
9972
|
-
"description": "Renders a JSON Schema as a form UI with collapsible sections, validation, and default values.\naliases: SchemaRenderer|JsonSchemaForm\nDesign system 1.0",
|
|
9973
|
-
"props": [],
|
|
9974
|
-
"examples": [
|
|
9975
|
-
"<DialSchemaRenderer\n schema={mySchema}\n onChange={(v) => console.log(v)}\n onDefaultValues={(defaults) => console.log(defaults)}\n/>"
|
|
9976
|
-
],
|
|
9977
|
-
"sourceFile": "components/SchemaRenderer/SchemaRenderer.tsx",
|
|
9978
|
-
"supersededBy": "SchemaRenderer"
|
|
9979
|
-
},
|
|
9980
|
-
{
|
|
9981
|
-
"name": "DialJsonEditor",
|
|
9982
|
-
"category": "Data Display",
|
|
9983
|
-
"generation": "1.0",
|
|
9984
|
-
"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.",
|
|
9985
|
-
"props": [
|
|
9986
|
-
{
|
|
9987
|
-
"name": "value",
|
|
9988
|
-
"type": "string | undefined",
|
|
9989
|
-
"required": false,
|
|
9990
|
-
"description": "The JSON string value to edit"
|
|
9991
|
-
},
|
|
9992
|
-
{
|
|
9993
|
-
"name": "currentTheme",
|
|
9994
|
-
"type": "string",
|
|
9995
|
-
"required": true,
|
|
9996
|
-
"description": "The theme to apply to the editor"
|
|
9997
|
-
},
|
|
9998
|
-
{
|
|
9999
|
-
"name": "themesConfig",
|
|
10000
|
-
"type": "Record<EditorThemes, editor.IStandaloneThemeData>",
|
|
10001
|
-
"required": false,
|
|
10002
|
-
"defaultValue": "EDITOR_THEMES_CONFIG",
|
|
10003
|
-
"description": "Custom theme configurations"
|
|
10004
|
-
},
|
|
10005
|
-
{
|
|
10006
|
-
"name": "onChange",
|
|
10007
|
-
"type": "(value: string | undefined) => void",
|
|
10008
|
-
"required": true,
|
|
10009
|
-
"description": "Callback fired when the editor content changes"
|
|
10010
|
-
},
|
|
10011
|
-
{
|
|
10012
|
-
"name": "onValidateJSON",
|
|
10013
|
-
"type": "OnValidate",
|
|
10014
|
-
"required": false,
|
|
10015
|
-
"description": "Callback fired when JSON validation occurs"
|
|
10016
|
-
},
|
|
10017
|
-
{
|
|
10018
|
-
"name": "options",
|
|
10019
|
-
"type": "editor.IStandaloneEditorConstructionOptions",
|
|
10020
|
-
"required": false,
|
|
10021
|
-
"description": "Additional Monaco editor options"
|
|
10022
|
-
}
|
|
10023
|
-
],
|
|
10024
|
-
"examples": [],
|
|
10025
|
-
"sourceFile": "components/JsonEditor/JsonEditor.tsx",
|
|
10026
|
-
"lazy": {
|
|
10027
|
-
"loaderExportName": "LazyDialJsonEditor",
|
|
10028
|
-
"packageImport": "@epam/ai-dial-ui-kit",
|
|
10029
|
-
"ssr": false,
|
|
10030
|
-
"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);"
|
|
10031
|
-
}
|
|
10032
|
-
},
|
|
10033
|
-
{
|
|
10034
|
-
"name": "DialMarkdownEditor",
|
|
10035
|
-
"category": "Data Display",
|
|
10036
|
-
"generation": "1.0",
|
|
10037
|
-
"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.",
|
|
10038
|
-
"props": [
|
|
10039
|
-
{
|
|
10040
|
-
"name": "value",
|
|
10041
|
-
"type": "string",
|
|
10042
|
-
"required": false,
|
|
10043
|
-
"description": "The current markdown content"
|
|
10044
|
-
},
|
|
10045
|
-
{
|
|
10046
|
-
"name": "onChange",
|
|
10047
|
-
"type": "(value: string) => void",
|
|
10048
|
-
"required": false,
|
|
10049
|
-
"description": "Callback fired when the editor content changes"
|
|
10050
|
-
},
|
|
10051
|
-
{
|
|
10052
|
-
"name": "height",
|
|
10053
|
-
"type": "number",
|
|
10054
|
-
"required": false,
|
|
10055
|
-
"defaultValue": "300",
|
|
10056
|
-
"description": "Height of the editor in pixels"
|
|
10057
|
-
},
|
|
10058
|
-
{
|
|
10059
|
-
"name": "preview",
|
|
10060
|
-
"type": "PreviewType",
|
|
10061
|
-
"required": false,
|
|
10062
|
-
"defaultValue": "'edit'",
|
|
10063
|
-
"description": "Preview mode ('edit', 'live', 'preview')"
|
|
10064
|
-
},
|
|
10065
|
-
{
|
|
10066
|
-
"name": "theme",
|
|
10067
|
-
"type": "EditorThemes",
|
|
10068
|
-
"required": false,
|
|
10069
|
-
"defaultValue": "EditorThemes.dark",
|
|
10070
|
-
"description": "Theme for the editor ('light' or 'dark')"
|
|
10071
|
-
},
|
|
10072
|
-
{
|
|
10073
|
-
"name": "className",
|
|
10074
|
-
"type": "string",
|
|
10075
|
-
"required": false,
|
|
10076
|
-
"description": "Additional CSS classes for the container"
|
|
10077
|
-
},
|
|
10078
|
-
{
|
|
10079
|
-
"name": "placeholder",
|
|
10080
|
-
"type": "ReactNode",
|
|
10081
|
-
"required": false,
|
|
10082
|
-
"description": "Content to display when the editor is empty"
|
|
10083
|
-
},
|
|
10084
|
-
{
|
|
10085
|
-
"name": "showDragbar",
|
|
10086
|
-
"type": "boolean",
|
|
10087
|
-
"required": false,
|
|
10088
|
-
"defaultValue": "true",
|
|
10089
|
-
"description": "Whether to show the bottom drag bar that resizes the editor height"
|
|
10090
|
-
}
|
|
10091
|
-
],
|
|
10092
|
-
"examples": [
|
|
10093
|
-
"<DialMarkdownEditor\nvalue=\"# Hello World\"\nonChange={(value) => console.log(value)}\nheight={400}\ntheme=\"dark\"\n/>"
|
|
10094
|
-
],
|
|
10095
|
-
"sourceFile": "components/MarkdownEditor/MarkdownEditor.tsx",
|
|
10096
|
-
"lazy": {
|
|
10097
|
-
"loaderExportName": "LazyDialMarkdownEditor",
|
|
10098
|
-
"packageImport": "@epam/ai-dial-ui-kit",
|
|
10099
|
-
"ssr": false,
|
|
10100
|
-
"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);"
|
|
10101
|
-
},
|
|
10102
|
-
"supersededBy": "MarkdownEditor"
|
|
10103
|
-
}
|
|
10104
|
-
],
|
|
10105
|
-
"types": [
|
|
10106
|
-
{
|
|
10107
|
-
"name": "AnalyticsCardVariant",
|
|
10108
|
-
"kind": "enum",
|
|
10109
|
-
"members": [
|
|
10110
|
-
{
|
|
10111
|
-
"name": "Default",
|
|
10112
|
-
"value": "'default'"
|
|
10113
|
-
},
|
|
10114
|
-
{
|
|
10115
|
-
"name": "Compact",
|
|
10116
|
-
"value": "'compact'"
|
|
10117
|
-
}
|
|
10118
|
-
],
|
|
10119
|
-
"sourceFile": "types/analytics.ts"
|
|
10120
|
-
},
|
|
10121
|
-
{
|
|
10122
|
-
"name": "AnalyticsBarColorStop",
|
|
10123
|
-
"kind": "interface",
|
|
10124
|
-
"members": [
|
|
10125
|
-
{
|
|
10126
|
-
"name": "from",
|
|
10127
|
-
"value": "number"
|
|
10128
|
-
},
|
|
10129
|
-
{
|
|
10130
|
-
"name": "to",
|
|
10131
|
-
"value": "number"
|
|
10132
|
-
},
|
|
10133
|
-
{
|
|
10134
|
-
"name": "color",
|
|
10135
|
-
"value": "string"
|
|
10136
|
-
}
|
|
10137
|
-
],
|
|
10138
|
-
"sourceFile": "models/analytics.ts"
|
|
10139
|
-
},
|
|
10140
|
-
{
|
|
10141
|
-
"name": "AnalyticsCardCompareItem",
|
|
10142
|
-
"kind": "interface",
|
|
10143
|
-
"members": [
|
|
10144
|
-
{
|
|
10145
|
-
"name": "title",
|
|
10146
|
-
"value": "ReactNode"
|
|
10147
|
-
},
|
|
10148
|
-
{
|
|
10149
|
-
"name": "value",
|
|
10150
|
-
"value": "ReactNode"
|
|
10151
|
-
}
|
|
10152
|
-
],
|
|
10153
|
-
"sourceFile": "models/analytics.ts"
|
|
10154
|
-
},
|
|
10155
|
-
{
|
|
10156
|
-
"name": "DialTooltipContainerOptions",
|
|
10157
|
-
"kind": "interface",
|
|
10158
|
-
"members": [
|
|
10159
|
-
{
|
|
10160
|
-
"name": "initialOpen?",
|
|
10161
|
-
"value": "boolean"
|
|
10162
|
-
},
|
|
10163
|
-
{
|
|
10164
|
-
"name": "placement?",
|
|
10165
|
-
"value": "Placement"
|
|
10166
|
-
},
|
|
10167
|
-
{
|
|
10168
|
-
"name": "isTriggerClickable?",
|
|
10169
|
-
"value": "boolean"
|
|
10170
|
-
},
|
|
10171
|
-
{
|
|
10172
|
-
"name": "open?",
|
|
10173
|
-
"value": "boolean"
|
|
10174
|
-
},
|
|
10175
|
-
{
|
|
10176
|
-
"name": "onOpenChange?",
|
|
10177
|
-
"value": "(open: boolean) => void"
|
|
10178
|
-
}
|
|
10179
|
-
],
|
|
10180
|
-
"sourceFile": "components/Tooltip/TooltipContext.tsx"
|
|
10181
|
-
},
|
|
10182
|
-
{
|
|
10183
|
-
"name": "FileManagerGridRow",
|
|
10184
|
-
"kind": "interface",
|
|
10185
|
-
"members": [
|
|
10186
|
-
{
|
|
10187
|
-
"name": "id",
|
|
10188
|
-
"value": "string"
|
|
10189
|
-
},
|
|
10190
|
-
{
|
|
10191
|
-
"name": "name",
|
|
10192
|
-
"value": "string"
|
|
10193
|
-
},
|
|
10194
|
-
{
|
|
10195
|
-
"name": "updatedAt?",
|
|
10196
|
-
"value": "string"
|
|
10197
|
-
},
|
|
10198
|
-
{
|
|
10199
|
-
"name": "size?",
|
|
10200
|
-
"value": "number"
|
|
10201
|
-
},
|
|
10202
|
-
{
|
|
10203
|
-
"name": "author?",
|
|
10204
|
-
"value": "string"
|
|
10205
|
-
},
|
|
10206
|
-
{
|
|
10207
|
-
"name": "path",
|
|
10208
|
-
"value": "string"
|
|
10209
|
-
},
|
|
10210
|
-
{
|
|
10211
|
-
"name": "parentPath?",
|
|
10212
|
-
"value": "string | null"
|
|
10213
|
-
},
|
|
10214
|
-
{
|
|
10215
|
-
"name": "nodeType",
|
|
10216
|
-
"value": "DialFileNodeType"
|
|
10217
|
-
},
|
|
10218
|
-
{
|
|
10219
|
-
"name": "extension?",
|
|
10220
|
-
"value": "string"
|
|
10221
|
-
},
|
|
10222
|
-
{
|
|
10223
|
-
"name": "isTemporary?",
|
|
10224
|
-
"value": "boolean"
|
|
10225
|
-
},
|
|
10226
|
-
{
|
|
10227
|
-
"name": "owner?",
|
|
10228
|
-
"value": "string"
|
|
10229
|
-
},
|
|
10230
|
-
{
|
|
10231
|
-
"name": "contentType?",
|
|
10232
|
-
"value": "string"
|
|
10233
|
-
},
|
|
10234
|
-
{
|
|
10235
|
-
"name": "contentLength?",
|
|
10236
|
-
"value": "number"
|
|
10237
|
-
},
|
|
10238
|
-
{
|
|
10239
|
-
"name": "folderId?",
|
|
10240
|
-
"value": "string"
|
|
10241
|
-
}
|
|
10242
|
-
],
|
|
10243
|
-
"sourceFile": "components/FileManager/FileManagerContext.tsx"
|
|
10244
|
-
},
|
|
10245
|
-
{
|
|
10246
|
-
"name": "GridOptions",
|
|
10247
|
-
"kind": "interface",
|
|
10248
|
-
"members": [
|
|
10249
|
-
{
|
|
10250
|
-
"name": "columnDefs?",
|
|
10251
|
-
"value": "(\n | ColDef<GridRow>\n | ((\n dateLocale: Intl.LocalesArgument,\n dateOptions: Intl.DateTimeFormatOptions | undefined,\n isCompactView: boolean,\n ) => ColDef<GridRow, unknown>)\n )[]"
|
|
10252
|
-
},
|
|
10253
|
-
{
|
|
10254
|
-
"name": "filterable?",
|
|
10255
|
-
"value": "boolean"
|
|
10256
|
-
},
|
|
10257
|
-
{
|
|
10258
|
-
"name": "dateLocale?",
|
|
10259
|
-
"value": "Intl.LocalesArgument"
|
|
10260
|
-
},
|
|
10261
|
-
{
|
|
10262
|
-
"name": "dateOptions?",
|
|
10263
|
-
"value": "Intl.DateTimeFormatOptions"
|
|
10264
|
-
},
|
|
10265
|
-
{
|
|
10266
|
-
"name": "showFiles?",
|
|
10267
|
-
"value": "boolean"
|
|
10268
|
-
},
|
|
10269
|
-
{
|
|
10270
|
-
"name": "showFolders?",
|
|
10271
|
-
"value": "boolean"
|
|
10272
|
-
},
|
|
10273
|
-
{
|
|
10274
|
-
"name": "visibleColumns?",
|
|
10275
|
-
"value": "FileManagerColumnKey[]"
|
|
10276
|
-
},
|
|
10277
|
-
{
|
|
10278
|
-
"name": "selectionMode?",
|
|
10279
|
-
"value": "GridSelectionMode"
|
|
10280
|
-
},
|
|
10281
|
-
{
|
|
10282
|
-
"name": "wrapCustomCellRenderers?",
|
|
10283
|
-
"value": "boolean"
|
|
10284
|
-
},
|
|
10285
|
-
{
|
|
10286
|
-
"name": "allowDisabledContextMenu?",
|
|
10287
|
-
"value": "boolean"
|
|
10288
|
-
},
|
|
10289
|
-
{
|
|
10290
|
-
"name": "actionLabels?",
|
|
10291
|
-
"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 }"
|
|
10292
|
-
}
|
|
10293
|
-
],
|
|
10294
|
-
"sourceFile": "components/FileManager/FileManager.tsx"
|
|
10295
|
-
},
|
|
10296
|
-
{
|
|
10297
|
-
"name": "ToolbarOptions",
|
|
10298
|
-
"kind": "type",
|
|
10299
|
-
"sourceFile": "components/FileManager/FileManager.tsx",
|
|
10300
|
-
"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}"
|
|
10301
|
-
},
|
|
10302
|
-
{
|
|
10303
|
-
"name": "BulkActionsToolbarOptions",
|
|
10304
|
-
"kind": "type",
|
|
10305
|
-
"sourceFile": "components/FileManager/FileManager.tsx",
|
|
10306
|
-
"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}"
|
|
10307
|
-
},
|
|
10308
|
-
{
|
|
10309
|
-
"name": "EditorThemes",
|
|
10310
|
-
"kind": "enum",
|
|
10311
|
-
"members": [
|
|
10312
|
-
{
|
|
10313
|
-
"name": "dark",
|
|
10314
|
-
"value": "'dark'"
|
|
9586
|
+
"name": "dark",
|
|
9587
|
+
"value": "'dark'"
|
|
10315
9588
|
},
|
|
10316
9589
|
{
|
|
10317
9590
|
"name": "light",
|
|
@@ -10658,131 +9931,6 @@
|
|
|
10658
9931
|
],
|
|
10659
9932
|
"sourceFile": "types/select.ts"
|
|
10660
9933
|
},
|
|
10661
|
-
{
|
|
10662
|
-
"name": "DialFileManagerTabs",
|
|
10663
|
-
"kind": "enum",
|
|
10664
|
-
"members": [
|
|
10665
|
-
{
|
|
10666
|
-
"name": "MyFiles",
|
|
10667
|
-
"value": "'my_files'"
|
|
10668
|
-
},
|
|
10669
|
-
{
|
|
10670
|
-
"name": "Shared",
|
|
10671
|
-
"value": "'shared'"
|
|
10672
|
-
},
|
|
10673
|
-
{
|
|
10674
|
-
"name": "Organization",
|
|
10675
|
-
"value": "'organization'"
|
|
10676
|
-
},
|
|
10677
|
-
{
|
|
10678
|
-
"name": "Review",
|
|
10679
|
-
"value": "'review'"
|
|
10680
|
-
}
|
|
10681
|
-
],
|
|
10682
|
-
"sourceFile": "types/file-manager.ts"
|
|
10683
|
-
},
|
|
10684
|
-
{
|
|
10685
|
-
"name": "DialFileManagerActions",
|
|
10686
|
-
"kind": "enum",
|
|
10687
|
-
"members": [
|
|
10688
|
-
{
|
|
10689
|
-
"name": "AddSibling",
|
|
10690
|
-
"value": "'addSibling'"
|
|
10691
|
-
},
|
|
10692
|
-
{
|
|
10693
|
-
"name": "AddChild",
|
|
10694
|
-
"value": "'addChild'"
|
|
10695
|
-
},
|
|
10696
|
-
{
|
|
10697
|
-
"name": "Duplicate",
|
|
10698
|
-
"value": "'duplicate'"
|
|
10699
|
-
},
|
|
10700
|
-
{
|
|
10701
|
-
"name": "Copy",
|
|
10702
|
-
"value": "'copy'"
|
|
10703
|
-
},
|
|
10704
|
-
{
|
|
10705
|
-
"name": "Move",
|
|
10706
|
-
"value": "'move'"
|
|
10707
|
-
},
|
|
10708
|
-
{
|
|
10709
|
-
"name": "Download",
|
|
10710
|
-
"value": "'download'"
|
|
10711
|
-
},
|
|
10712
|
-
{
|
|
10713
|
-
"name": "Delete",
|
|
10714
|
-
"value": "'delete'"
|
|
10715
|
-
},
|
|
10716
|
-
{
|
|
10717
|
-
"name": "Rename",
|
|
10718
|
-
"value": "'rename'"
|
|
10719
|
-
},
|
|
10720
|
-
{
|
|
10721
|
-
"name": "Info",
|
|
10722
|
-
"value": "'info'"
|
|
10723
|
-
},
|
|
10724
|
-
{
|
|
10725
|
-
"name": "Unshare",
|
|
10726
|
-
"value": "'unshare'"
|
|
10727
|
-
},
|
|
10728
|
-
{
|
|
10729
|
-
"name": "RemoveAccess",
|
|
10730
|
-
"value": "'removeAccess'"
|
|
10731
|
-
},
|
|
10732
|
-
{
|
|
10733
|
-
"name": "ManagePermissions",
|
|
10734
|
-
"value": "'managePermissions'"
|
|
10735
|
-
},
|
|
10736
|
-
{
|
|
10737
|
-
"name": "Preview",
|
|
10738
|
-
"value": "'preview'"
|
|
10739
|
-
},
|
|
10740
|
-
{
|
|
10741
|
-
"name": "OpenInNewTab",
|
|
10742
|
-
"value": "'openInNewTab'"
|
|
10743
|
-
}
|
|
10744
|
-
],
|
|
10745
|
-
"sourceFile": "types/file-manager.ts"
|
|
10746
|
-
},
|
|
10747
|
-
{
|
|
10748
|
-
"name": "FileManagerColumnKey",
|
|
10749
|
-
"kind": "enum",
|
|
10750
|
-
"members": [
|
|
10751
|
-
{
|
|
10752
|
-
"name": "Name",
|
|
10753
|
-
"value": "'name'"
|
|
10754
|
-
},
|
|
10755
|
-
{
|
|
10756
|
-
"name": "UpdatedAt",
|
|
10757
|
-
"value": "'updatedAt'"
|
|
10758
|
-
},
|
|
10759
|
-
{
|
|
10760
|
-
"name": "Size",
|
|
10761
|
-
"value": "'size'"
|
|
10762
|
-
},
|
|
10763
|
-
{
|
|
10764
|
-
"name": "Author",
|
|
10765
|
-
"value": "'author'"
|
|
10766
|
-
},
|
|
10767
|
-
{
|
|
10768
|
-
"name": "Owner",
|
|
10769
|
-
"value": "'owner'"
|
|
10770
|
-
},
|
|
10771
|
-
{
|
|
10772
|
-
"name": "Path",
|
|
10773
|
-
"value": "'path'"
|
|
10774
|
-
},
|
|
10775
|
-
{
|
|
10776
|
-
"name": "Actions",
|
|
10777
|
-
"value": "'__actions'"
|
|
10778
|
-
},
|
|
10779
|
-
{
|
|
10780
|
-
"name": "Version",
|
|
10781
|
-
"value": "'version'"
|
|
10782
|
-
}
|
|
10783
|
-
],
|
|
10784
|
-
"sourceFile": "types/file-manager.ts"
|
|
10785
|
-
},
|
|
10786
9934
|
{
|
|
10787
9935
|
"name": "FlexibleActionsDirection",
|
|
10788
9936
|
"kind": "enum",
|
|
@@ -11280,76 +10428,6 @@
|
|
|
11280
10428
|
],
|
|
11281
10429
|
"sourceFile": "models/file.ts"
|
|
11282
10430
|
},
|
|
11283
|
-
{
|
|
11284
|
-
"name": "DialCopiedItem",
|
|
11285
|
-
"kind": "interface",
|
|
11286
|
-
"members": [
|
|
11287
|
-
{
|
|
11288
|
-
"name": "sourceUrl",
|
|
11289
|
-
"value": "string"
|
|
11290
|
-
},
|
|
11291
|
-
{
|
|
11292
|
-
"name": "destinationUrl",
|
|
11293
|
-
"value": "string"
|
|
11294
|
-
},
|
|
11295
|
-
{
|
|
11296
|
-
"name": "overwrite?",
|
|
11297
|
-
"value": "boolean"
|
|
11298
|
-
},
|
|
11299
|
-
{
|
|
11300
|
-
"name": "nodeType",
|
|
11301
|
-
"value": "DialFileNodeType"
|
|
11302
|
-
}
|
|
11303
|
-
],
|
|
11304
|
-
"sourceFile": "models/file-manager.ts"
|
|
11305
|
-
},
|
|
11306
|
-
{
|
|
11307
|
-
"name": "DialDeletedItem",
|
|
11308
|
-
"kind": "interface",
|
|
11309
|
-
"members": [
|
|
11310
|
-
{
|
|
11311
|
-
"name": "sourceUrl",
|
|
11312
|
-
"value": "string"
|
|
11313
|
-
},
|
|
11314
|
-
{
|
|
11315
|
-
"name": "nodeType",
|
|
11316
|
-
"value": "DialFileNodeType"
|
|
11317
|
-
}
|
|
11318
|
-
],
|
|
11319
|
-
"sourceFile": "models/file-manager.ts"
|
|
11320
|
-
},
|
|
11321
|
-
{
|
|
11322
|
-
"name": "DialUploadFileItem",
|
|
11323
|
-
"kind": "interface",
|
|
11324
|
-
"members": [
|
|
11325
|
-
{
|
|
11326
|
-
"name": "fileContent",
|
|
11327
|
-
"value": "File"
|
|
11328
|
-
},
|
|
11329
|
-
{
|
|
11330
|
-
"name": "name",
|
|
11331
|
-
"value": "string"
|
|
11332
|
-
}
|
|
11333
|
-
],
|
|
11334
|
-
"sourceFile": "models/file-manager.ts"
|
|
11335
|
-
},
|
|
11336
|
-
{
|
|
11337
|
-
"name": "DialFileManagerActionsRef",
|
|
11338
|
-
"kind": "interface",
|
|
11339
|
-
"members": [
|
|
11340
|
-
{
|
|
11341
|
-
"name": "createFolder",
|
|
11342
|
-
"value": "() => void"
|
|
11343
|
-
}
|
|
11344
|
-
],
|
|
11345
|
-
"sourceFile": "models/file-manager.ts"
|
|
11346
|
-
},
|
|
11347
|
-
{
|
|
11348
|
-
"name": "DialFileAcceptType",
|
|
11349
|
-
"kind": "type",
|
|
11350
|
-
"sourceFile": "models/file-manager.ts",
|
|
11351
|
-
"typeBody": "| `${string}/${string}` // MIME (wildcard)\n | `.${string}`"
|
|
11352
|
-
},
|
|
11353
10431
|
{
|
|
11354
10432
|
"name": "GridSelectionMode",
|
|
11355
10433
|
"kind": "enum",
|
|
@@ -12011,6 +11089,41 @@
|
|
|
12011
11089
|
"sourceFile": "types/badge.ts",
|
|
12012
11090
|
"description": "How a `Badge` is drawn."
|
|
12013
11091
|
},
|
|
11092
|
+
{
|
|
11093
|
+
"name": "AvatarColor",
|
|
11094
|
+
"kind": "enum",
|
|
11095
|
+
"members": [
|
|
11096
|
+
{
|
|
11097
|
+
"name": "Green1",
|
|
11098
|
+
"value": "'green-1'"
|
|
11099
|
+
},
|
|
11100
|
+
{
|
|
11101
|
+
"name": "Violet2",
|
|
11102
|
+
"value": "'violet-2'"
|
|
11103
|
+
},
|
|
11104
|
+
{
|
|
11105
|
+
"name": "Brown",
|
|
11106
|
+
"value": "'brown'"
|
|
11107
|
+
},
|
|
11108
|
+
{
|
|
11109
|
+
"name": "Red",
|
|
11110
|
+
"value": "'red'"
|
|
11111
|
+
},
|
|
11112
|
+
{
|
|
11113
|
+
"name": "Green2",
|
|
11114
|
+
"value": "'green-2'"
|
|
11115
|
+
},
|
|
11116
|
+
{
|
|
11117
|
+
"name": "Blue",
|
|
11118
|
+
"value": "'blue'"
|
|
11119
|
+
},
|
|
11120
|
+
{
|
|
11121
|
+
"name": "Violet1",
|
|
11122
|
+
"value": "'violet-1'"
|
|
11123
|
+
}
|
|
11124
|
+
],
|
|
11125
|
+
"sourceFile": "types/avatar.ts"
|
|
11126
|
+
},
|
|
12014
11127
|
{
|
|
12015
11128
|
"name": "AvatarShape",
|
|
12016
11129
|
"kind": "enum",
|
|
@@ -12029,6 +11142,22 @@
|
|
|
12029
11142
|
"sourceFile": "types/avatar.ts",
|
|
12030
11143
|
"description": "The outline an `Avatar` is clipped to."
|
|
12031
11144
|
},
|
|
11145
|
+
{
|
|
11146
|
+
"name": "AvatarColorClasses",
|
|
11147
|
+
"kind": "interface",
|
|
11148
|
+
"members": [
|
|
11149
|
+
{
|
|
11150
|
+
"name": "background",
|
|
11151
|
+
"value": "string"
|
|
11152
|
+
},
|
|
11153
|
+
{
|
|
11154
|
+
"name": "foreground",
|
|
11155
|
+
"value": "string"
|
|
11156
|
+
}
|
|
11157
|
+
],
|
|
11158
|
+
"sourceFile": "utils/avatar.ts",
|
|
11159
|
+
"description": "A background and text colour pair for an initials avatar, as Tailwind classes."
|
|
11160
|
+
},
|
|
12032
11161
|
{
|
|
12033
11162
|
"name": "EntityIdentityItem",
|
|
12034
11163
|
"kind": "interface",
|
|
@@ -12334,6 +11463,22 @@
|
|
|
12334
11463
|
],
|
|
12335
11464
|
"sourceFile": "types/transfer-queue.ts",
|
|
12336
11465
|
"description": "Lifecycle status of one item in a `TransferQueue`."
|
|
11466
|
+
},
|
|
11467
|
+
{
|
|
11468
|
+
"name": "GridColorScheme",
|
|
11469
|
+
"kind": "enum",
|
|
11470
|
+
"members": [
|
|
11471
|
+
{
|
|
11472
|
+
"name": "Light",
|
|
11473
|
+
"value": "'light'"
|
|
11474
|
+
},
|
|
11475
|
+
{
|
|
11476
|
+
"name": "Dark",
|
|
11477
|
+
"value": "'dark'"
|
|
11478
|
+
}
|
|
11479
|
+
],
|
|
11480
|
+
"sourceFile": "types/grid.ts",
|
|
11481
|
+
"description": "Color scheme `Grid` passes to AG Grid. It selects the light or dark theme\npart and the browser `color-scheme` native controls inside the grid follow."
|
|
12337
11482
|
}
|
|
12338
11483
|
],
|
|
12339
11484
|
"hooks": [
|
|
@@ -12355,11 +11500,6 @@
|
|
|
12355
11500
|
"name": "convertGridDateToDate",
|
|
12356
11501
|
"sourceFile": "utils/grid-date.ts"
|
|
12357
11502
|
},
|
|
12358
|
-
{
|
|
12359
|
-
"name": "useDialFileManagerTabs",
|
|
12360
|
-
"sourceFile": "components/FileManager/hooks/use-file-manager-tabs.tsx",
|
|
12361
|
-
"signature": "(tabLabels?: Record<DialFileManagerTabs, string>, initialTab: DialFileManagerTabs = DialFileManagerTabs.MyFiles) => unknown"
|
|
12362
|
-
},
|
|
12363
11503
|
{
|
|
12364
11504
|
"name": "EDITABLE_CONTAINER_ATTRIBUTE",
|
|
12365
11505
|
"sourceFile": "hooks/use-editable-item.tsx",
|
|
@@ -12380,24 +11520,17 @@
|
|
|
12380
11520
|
"name": "UseEditableItemOptions",
|
|
12381
11521
|
"sourceFile": "hooks/use-editable-item.tsx"
|
|
12382
11522
|
},
|
|
12383
|
-
{
|
|
12384
|
-
"name": "FileManagerProvider",
|
|
12385
|
-
"sourceFile": "components/FileManager/FileManagerProvider.tsx",
|
|
12386
|
-
"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",
|
|
12387
|
-
"signature": "FileManagerProvider: FC<FileManagerProviderProps>"
|
|
12388
|
-
},
|
|
12389
|
-
{
|
|
12390
|
-
"name": "useFileManagerContext",
|
|
12391
|
-
"sourceFile": "components/FileManager/hooks/use-file-manager-context.ts",
|
|
12392
|
-
"description": "Hook to read the File Manager context.\nThrows if used outside of the provider.",
|
|
12393
|
-
"signature": "() => unknown"
|
|
12394
|
-
},
|
|
12395
11523
|
{
|
|
12396
11524
|
"name": "useThemeScope",
|
|
12397
11525
|
"sourceFile": "components/New/ThemeScope/ThemeScope.tsx",
|
|
12398
11526
|
"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.",
|
|
12399
11527
|
"signature": "() => string"
|
|
12400
11528
|
},
|
|
11529
|
+
{
|
|
11530
|
+
"name": "AVATAR_PALETTE",
|
|
11531
|
+
"sourceFile": "utils/avatar.ts",
|
|
11532
|
+
"signature": "AVATAR_PALETTE: Record<AvatarColor, AvatarColorClasses>"
|
|
11533
|
+
},
|
|
12401
11534
|
{
|
|
12402
11535
|
"name": "extractInitials",
|
|
12403
11536
|
"sourceFile": "utils/avatar.ts",
|
|
@@ -12453,7 +11586,7 @@
|
|
|
12453
11586
|
"name": "GRID_THEME_PARAMS",
|
|
12454
11587
|
"sourceFile": "components/New/Grid/constants.ts",
|
|
12455
11588
|
"description": "ag-Grid theme parameters, resolved from the 2.0 colour tokens with the same\nliteral fallbacks the Tailwind config carries, so a consumer that defines no\nCSS variables still gets the intended palette.\n\nHover uses the subtle accent tint and selection the slightly stronger\nselected tint, as in the grid cell design.",
|
|
12456
|
-
"signature": "GRID_THEME_PARAMS = {\n accentColor: 'var(--bg-control-accent, #1D4ED8)',\n backgroundColor: 'var(--bg-layer-raised, #FCFCFC)',\n oddRowBackgroundColor: 'var(--bg-layer-sunken, #EEF1F7)',\n selectedRowBackgroundColor:\n 'var(--bg-control-accent-alpha-active-subtle, #2764D914)',\n rowHoverColor: 'var(--bg-control-accent-alpha-hover-subtle, #2764D90A)',\n borderColor: 'var(--stroke-tertiary, #E0E6F0)',\n // Dividers inside the table sit on the thin stroke (0.5px) rather than the\n // 1px main stroke that controls and standalone dividers use, so a dense grid\n // reads as rows of data instead of a set of boxes. Sub-pixel widths are\n // antialiased rather than snapped, which is what makes the line look lighter.\n // `wrapperBorder` and the pinned-column boundary are left on the main stroke\n // by the theme: those frame the table and separate its regions rather than\n // dividing rows and columns.\n rowBorder: THIN_TABLE_DIVIDER,\n // Off: ag-Grid draws this one both under the header and between the title\n // row and the filter row, and the design has no line between those two. The\n // line under the header is drawn at 1px in `styles/grid.scss`.\n headerRowBorder: false,\n headerColumnBorder: THIN_TABLE_DIVIDER,\n // The design's header divider is a short 12px mark centred in the cell, not\n // the 20px (half the row) ag-Grid draws by default.\n headerColumnBorderHeight: 12,\n chromeBackgroundColor: 'var(--bg-layer-base, #F5F7FA)',\n headerBackgroundColor: 'var(--bg-layer-raised, #FCFCFC)',\n foregroundColor: 'var(--text-primary, #161B2D)',\n headerTextColor: 'var(--text-secondary, #57647A)',\n //
|
|
11589
|
+
"signature": "GRID_THEME_PARAMS = {\n accentColor: 'var(--bg-control-accent, #1D4ED8)',\n backgroundColor: 'var(--bg-layer-raised, #FCFCFC)',\n oddRowBackgroundColor: 'var(--bg-layer-sunken, #EEF1F7)',\n selectedRowBackgroundColor:\n 'var(--bg-control-accent-alpha-active-subtle, #2764D914)',\n rowHoverColor: 'var(--bg-control-accent-alpha-hover-subtle, #2764D90A)',\n borderColor: 'var(--stroke-tertiary, #E0E6F0)',\n // Dividers inside the table sit on the thin stroke (0.5px) rather than the\n // 1px main stroke that controls and standalone dividers use, so a dense grid\n // reads as rows of data instead of a set of boxes. Sub-pixel widths are\n // antialiased rather than snapped, which is what makes the line look lighter.\n // `wrapperBorder` and the pinned-column boundary are left on the main stroke\n // by the theme: those frame the table and separate its regions rather than\n // dividing rows and columns.\n rowBorder: THIN_TABLE_DIVIDER,\n // Off: ag-Grid draws this one both under the header and between the title\n // row and the filter row, and the design has no line between those two. The\n // line under the header is drawn at 1px in `styles/grid.scss`.\n headerRowBorder: false,\n headerColumnBorder: THIN_TABLE_DIVIDER,\n // The design's header divider is a short 12px mark centred in the cell, not\n // the 20px (half the row) ag-Grid draws by default.\n headerColumnBorderHeight: 12,\n chromeBackgroundColor: 'var(--bg-layer-base, #F5F7FA)',\n headerBackgroundColor: 'var(--bg-layer-raised, #FCFCFC)',\n foregroundColor: 'var(--text-primary, #161B2D)',\n headerTextColor: 'var(--text-secondary, #57647A)',\n // Native form controls inside the grid, including the date filter's\n // calendar, follow this value. The light default matches the token\n // fallbacks. `Grid` sets it again after this object is spread, because a\n // dark `colorScheme` has to replace this light value or the browser keeps\n // painting those controls light.\n browserColorScheme: 'light',\n headerFontSize: 14,\n headerFontWeight: 600,\n fontSize: 14,\n fontFamily: 'var(--theme-font, var(--font-inter))',\n spacing: 4,\n borderRadius: 4,\n // Search fields in the header and filter popups: `rounded-lg`.\n inputBorderRadius: 8,\n wrapperBorderRadius: 8,\n}"
|
|
12457
11590
|
},
|
|
12458
11591
|
{
|
|
12459
11592
|
"name": "GRID_ROW_HEIGHT",
|
|
@@ -12507,21 +11640,6 @@
|
|
|
12507
11640
|
}
|
|
12508
11641
|
],
|
|
12509
11642
|
"constants": [
|
|
12510
|
-
{
|
|
12511
|
-
"name": "NAME_COLUMN",
|
|
12512
|
-
"sourceFile": "constants/file-grid-columns.tsx",
|
|
12513
|
-
"signature": "(headerName: string) => unknown"
|
|
12514
|
-
},
|
|
12515
|
-
{
|
|
12516
|
-
"name": "SIZE_COLUMN",
|
|
12517
|
-
"sourceFile": "constants/file-grid-columns.tsx",
|
|
12518
|
-
"signature": "(headerName: string) => ColDef"
|
|
12519
|
-
},
|
|
12520
|
-
{
|
|
12521
|
-
"name": "UPDATED_AT_COLUMN",
|
|
12522
|
-
"sourceFile": "constants/file-grid-columns.tsx",
|
|
12523
|
-
"signature": "(headerName: string) => unknown"
|
|
12524
|
-
},
|
|
12525
11643
|
{
|
|
12526
11644
|
"name": "DIAL_ICON_SIZE",
|
|
12527
11645
|
"sourceFile": "constants/icon.ts",
|
|
@@ -12560,7 +11678,7 @@
|
|
|
12560
11678
|
{
|
|
12561
11679
|
"name": "DIAL_KIT_CLASS",
|
|
12562
11680
|
"sourceFile": "constants/public-class-names.ts",
|
|
12563
|
-
"signature": "DIAL_KIT_CLASS = {\n /* ── Feedback and status ───────────────────────────────────────────────── */\n /** The `role=\"status\"` root of a `Spinner`. */\n spinner: 'dial-kit-spinner',\n /**\n * The outermost element of a `ProgressBar`: the box wrapping its label,\n * track and readout — or the track itself, which is the root when the bar\n * has neither.\n */\n progressBar: 'dial-kit-progress-bar',\n /** The root of a `Skeleton`, wrapping its avatar and text rows. */\n skeleton: 'dial-kit-skeleton',\n /**\n * The `Notification` surface. Present on every wrapper too — the toast and\n * section-message variants of error, info, success, warning, loading and\n * general all render this component.\n */\n notification: 'dial-kit-notification',\n /** The empty-state root of `NoDataContent`. */\n noDataContent: 'dial-kit-no-data-content',\n /** The `role=\"status\"` panel of a `TransferQueue`: header, rows and aggregate bar. */\n transferQueue: 'dial-kit-transfer-queue',\n\n /* ── Text ──────────────────────────────────────────────────────────────── */\n /** The text element of a `Highlight`, which renders the matched query. */\n highlight: 'dial-kit-highlight',\n /** The caption line under a field, rendered by `CaptionText`. */\n captionText: 'dial-kit-caption-text',\n /**\n * A caption in its error variant — what `ErrorText` renders. Additive to\n * `captionText`, since one component draws both.\n */\n errorText: 'dial-kit-error-text',\n /** The `Label` root, which wraps the `label` element and its info button. */\n label: 'dial-kit-label',\n\n /* ── Containers ────────────────────────────────────────────────────────── */\n /** The `article` element of a `CardShell`. */\n cardShell: 'dial-kit-card-shell',\n /** The `aside` element of a `CollapsibleSidebar`. */\n collapsibleSidebar: 'dial-kit-collapsible-sidebar',\n /** The content box inside a `ResizableContainer`'s resize frame. */\n resizableContainer: 'dial-kit-resizable-container',\n /**\n * The `role=\"dialog\"` panel of a `Popup`. Its backdrop is reached through\n * `overlayClassName`.\n */\n popup: 'dial-kit-popup',\n /** The `role=\"dialog\"` panel of a `BottomSheet`. */\n bottomSheet: 'dial-kit-bottom-sheet',\n /** The `role=\"dialog\"` panel of a `SideDrawer`, open or closed. */\n sideDrawer: 'dial-kit-side-drawer',\n /** The `Popup` panel of a `ConfirmationPopup`, additive to `popup`. */\n confirmationPopup: 'dial-kit-confirmation-popup',\n /** The root of an `Accordion`. */\n accordion: 'dial-kit-accordion',\n /** The breadcrumb root of a `FolderPath`. */\n folderPath: 'dial-kit-folder-path',\n /** The `nav` element of a `Breadcrumbs` trail. */\n breadcrumbs: 'dial-kit-breadcrumbs',\n /**\n * One segment of a `Breadcrumbs` trail: the link, button or plain span that\n * draws the label — not the `li`, which also holds the separator after it.\n */\n breadcrumbsItem: 'dial-kit-breadcrumbs-item',\n\n /* ── Menus and overlays ────────────────────────────────────────────────── */\n /**\n * The trigger wrapper of a `Dropdown`. Its floating panel is reached through\n * `listClassName`.\n */\n dropdown: 'dial-kit-dropdown',\n /**\n * The `role=\"none\"` item list inside a dropdown overlay — the box that holds\n * the rows and owns their vertical padding. Present in both generations, and\n * on a submenu's own list. It is *not* the floating panel.\n */\n dropdownList: 'dial-kit-dropdown-list',\n /**\n * One row of a floating overlay: a dropdown item, a `Select` option, a\n * submenu trigger, or a submenu child. It sits on the element that draws the\n * row box — so on the wrapper, not the inner button, for a row that has a\n * `rightControl` beside it.\n */\n menuItem: 'dial-kit-menuitem',\n /**\n * The trailing check of a chosen `MenuItemMark.Check` row. Decorative, like\n * the glyph itself — the row's `aria-checked` / `aria-selected` carries the\n * state.\n */\n menuItemCheck: 'dial-kit-menuitem-check',\n /** The primary icon of a `DialDropdownIcon` trigger. */\n dropdownIcon: 'dial-kit-dropdown-icon',\n /**\n * The caret badge of a `DialDropdownIcon` trigger — the round plate the\n * chevron sits on. Absent when `showCaret` is `false`.\n */\n dropdownIconCaret: 'dial-kit-dropdown-icon-caret',\n /** The bubble of a `Tooltip`, rendered by `TooltipContent` into a portal. */\n tooltip: 'dial-kit-tooltip',\n /** The panel of an `InteractiveTooltip` — the one whose content takes focus. */\n interactiveTooltip: 'dial-kit-interactive-tooltip',\n /** The text element of an `EllipsisTooltip`, which is also its trigger. */\n ellipsisTooltip: 'dial-kit-ellipsis-tooltip',\n\n /* ── Fields ────────────────────────────────────────────────────────────── */\n /** The `Search` field, additive to the `dial-kit-input` its `Input` carries. */\n search: 'dial-kit-search',\n /** The `PasswordInput` field, additive to `dial-kit-input`. */\n passwordInput: 'dial-kit-password-input',\n /** The `NumberInput` field, additive to `dial-kit-input`. */\n numberInput: 'dial-kit-number-input',\n /** The `TagInput` field, additive to `dial-kit-input`. */\n tagInput: 'dial-kit-tag-input',\n /** The `AutocompleteTagInput` field, additive to `dial-kit-input`. */\n autocompleteTagInput: 'dial-kit-autocomplete-tag-input',\n /** The root of a `Select`, wrapping its label, field and caption. */\n select: 'dial-kit-select',\n /** The trigger button of an `InlineSelect`. */\n inlineSelect: 'dial-kit-inline-select',\n /** The root of a `Calendar`, wrapping its label and date field. */\n calendar: 'dial-kit-calendar',\n /** The root of a `SchemaRenderer`, wrapping its top-level sections or fields. */\n schemaRenderer: 'dial-kit-schema-renderer',\n /**\n * The card of one collapsible `SchemaRenderer` section, at any depth: a\n * top-level property, a nested object or array, an array item, or a\n * key-value entry holding an object.\n */\n schemaRendererSection: 'dial-kit-schema-renderer-section',\n /** The drop area of a `FileDropzone`. */\n fileDropzone: 'dial-kit-file-dropzone',\n /**\n * The root of a `FileIcon`, wrapping the file or folder glyph (or\n * its spinner while loading) and the shared badge.\n */\n fileIcon: 'dial-kit-file-icon',\n /** The row of a `FileName`: its type icon, the name and any details. */\n fileName: 'dial-kit-file-name',\n /** The `FileName` row of a `FolderName`, additive to `fileName`. */\n folderName: 'dial-kit-folder-name',\n /**\n * The `role=\"img\"` badge of a `SharedEntityIndicator` — standalone, or the\n * shared badge a `FileIcon` draws over its glyph.\n */\n sharedEntityIndicator: 'dial-kit-shared-entity-indicator',\n /** The root of a `Badge`: the label box, with its icon when it has one. */\n badge: 'dial-kit-badge',\n /** The root of an `Avatar`: the image, or the initials box that replaces it. */\n avatar: 'dial-kit-avatar',\n /** The root row of an `EntityIdentity`: its icon, type label, name and version. */\n entityIdentity: 'dial-kit-entity-identity',\n\n /* ── Controls ──────────────────────────────────────────────────────────── */\n /** The row of a `Switch`: the control and its label. */\n switch: 'dial-kit-switch',\n /** The row of a `Checkbox`: the box and its label. */\n checkbox: 'dial-kit-checkbox',\n /** The decorative box a `CheckboxBox` draws, in a checkbox or a menu row. */\n checkboxBox: 'dial-kit-checkbox-box',\n /** The row of a `Radio`: the circle and its label. */\n radio: 'dial-kit-radio',\n /** The root of a `RadioGroup`, wrapping its label and its radios. */\n radioGroup: 'dial-kit-radio-group',\n /**\n * The root of a `RadioGroupPopupField`, wrapping its label and the collapsed\n * field that opens the group.\n */\n radioGroupPopupField: 'dial-kit-radio-group-popup-field',\n /** The `role=\"radiogroup\"` track of a `SegmentedControl`. */\n segmentedControl: 'dial-kit-segmented-control',\n /** One segment of a `SegmentedControl`. */\n segmentedControlItem: 'dial-kit-segmented-control-item',\n /**\n * The outermost element of a `Tabs`: the box wrapping its heading and tab\n * list — or the `role=\"tablist\"` itself, which is the root when the tabs\n * carry no `sectionLabel`.\n */\n tabs: 'dial-kit-tabs',\n /**\n * The `role=\"tablist\"` holding the tabs, in either orientation. Additive to\n * `tabs` when there is no heading above it, since one element is then both.\n */\n tabList: 'dial-kit-tab-list',\n /**\n * One tab inside `Tabs`, in either orientation. The selected tab of a\n * horizontal row keeps its own `dial-kit-tab-selected-underline`.\n */\n tab: 'dial-kit-tab',\n /**\n * The selected tab, additive to `tab`. A horizontal row draws its selection\n * with `dial-kit-tab-selected-underline`, which carries the gradient rule;\n * this one carries no declarations and marks the selected tab in either\n * orientation.\n */\n tabSelected: 'dial-kit-tab-selected',\n /** The `sectionLabel` heading above a `Tabs`. Absent when there is none. */\n tabsSectionLabel: 'dial-kit-tabs-section-label',\n /**\n * The `role=\"group\"` row of a `FilterChips`. Its chips are `Tag` pills, so\n * they carry `dial-kit-tag` and have no entry of their own.\n */\n filterChips: 'dial-kit-filter-chips',\n /** A `Tag` pill, wherever it is rendered — including a `TagInput`'s rows. */\n tag: 'dial-kit-tag',\n /**\n * A `ToggleIconButton`, additive to the `dial-kit-base-icon-button` it\n * already carries.\n */\n toggleIconButton: 'dial-kit-toggle-icon-button',\n /** A `CloseButton`, additive to `dial-kit-base-icon-button`. */\n closeButton: 'dial-kit-close-button',\n /** An `InfoButton`, additive to `dial-kit-base-icon-button`. */\n infoButton: 'dial-kit-info-button',\n /**\n * The wrapper of a `ButtonDropdown` — its trigger carries\n * `dial-kit-base-button`.\n */\n buttonDropdown: 'dial-kit-button-dropdown',\n} as const"
|
|
11681
|
+
"signature": "DIAL_KIT_CLASS = {\n /* ── Feedback and status ───────────────────────────────────────────────── */\n /** The `role=\"status\"` root of a `Spinner`. */\n spinner: 'dial-kit-spinner',\n /**\n * The outermost element of a `ProgressBar`: the box wrapping its label,\n * track and readout — or the track itself, which is the root when the bar\n * has neither.\n */\n progressBar: 'dial-kit-progress-bar',\n /** The root of a `Skeleton`, wrapping its avatar and text rows. */\n skeleton: 'dial-kit-skeleton',\n /**\n * The `Notification` surface. Present on every wrapper too — the toast and\n * section-message variants of error, info, success, warning, loading and\n * general all render this component.\n */\n notification: 'dial-kit-notification',\n /** The empty-state root of `NoDataContent`. */\n noDataContent: 'dial-kit-no-data-content',\n /** The `role=\"status\"` panel of a `TransferQueue`: header, rows and aggregate bar. */\n transferQueue: 'dial-kit-transfer-queue',\n\n /* ── Text ──────────────────────────────────────────────────────────────── */\n /** The text element of a `Highlight`, which renders the matched query. */\n highlight: 'dial-kit-highlight',\n /** The caption line under a field, rendered by `CaptionText`. */\n captionText: 'dial-kit-caption-text',\n /**\n * A caption in its error variant — what `ErrorText` renders. Additive to\n * `captionText`, since one component draws both.\n */\n errorText: 'dial-kit-error-text',\n /** The `Label` root, which wraps the `label` element and its info button. */\n label: 'dial-kit-label',\n\n /* ── Containers ────────────────────────────────────────────────────────── */\n /** The `article` element of a `CardShell`. */\n cardShell: 'dial-kit-card-shell',\n /** The `aside` element of a `CollapsibleSidebar`. */\n collapsibleSidebar: 'dial-kit-collapsible-sidebar',\n /** The content box inside a `ResizableContainer`'s resize frame. */\n resizableContainer: 'dial-kit-resizable-container',\n /**\n * The `role=\"dialog\"` panel of a `Popup`. Its backdrop is reached through\n * `overlayClassName`.\n */\n popup: 'dial-kit-popup',\n /** The `role=\"dialog\"` panel of a `BottomSheet`. */\n bottomSheet: 'dial-kit-bottom-sheet',\n /**\n * The backdrop of a `BottomSheet`: the portalled, scroll-locking layer on\n * `z-popup` that holds the panel.\n */\n bottomSheetOverlay: 'dial-kit-bottom-sheet-overlay',\n /** The `role=\"dialog\"` panel of a `SideDrawer`, open or closed. */\n sideDrawer: 'dial-kit-side-drawer',\n /** The `Popup` panel of a `ConfirmationPopup`, additive to `popup`. */\n confirmationPopup: 'dial-kit-confirmation-popup',\n /** The root of an `Accordion`. */\n accordion: 'dial-kit-accordion',\n /** The breadcrumb root of a `FolderPath`. */\n folderPath: 'dial-kit-folder-path',\n /** The `nav` element of a `Breadcrumbs` trail. */\n breadcrumbs: 'dial-kit-breadcrumbs',\n /**\n * One segment of a `Breadcrumbs` trail: the link, button or plain span that\n * draws the label — not the `li`, which also holds the separator after it.\n */\n breadcrumbsItem: 'dial-kit-breadcrumbs-item',\n\n /* ── Menus and overlays ────────────────────────────────────────────────── */\n /**\n * The trigger wrapper of a `Dropdown`. Its floating panel is reached through\n * `listClassName`.\n */\n dropdown: 'dial-kit-dropdown',\n /**\n * The `role=\"none\"` item list inside a dropdown overlay — the box that holds\n * the rows and owns their vertical padding. Present in both generations, and\n * on a submenu's own list. It is *not* the floating panel.\n */\n dropdownList: 'dial-kit-dropdown-list',\n /** The search row above the item list of a `searchable` `Dropdown`. */\n dropdownSearch: 'dial-kit-dropdown-search',\n /**\n * One row of a floating overlay: a dropdown item, a `Select` option, a\n * submenu trigger, or a submenu child. It sits on the element that draws the\n * row box — so on the wrapper, not the inner button, for a row that has a\n * `rightControl` beside it.\n */\n menuItem: 'dial-kit-menuitem',\n /**\n * The trailing check of a chosen `MenuItemMark.Check` row. Decorative, like\n * the glyph itself — the row's `aria-checked` / `aria-selected` carries the\n * state.\n */\n menuItemCheck: 'dial-kit-menuitem-check',\n /** The primary icon of a `DialDropdownIcon` trigger. */\n dropdownIcon: 'dial-kit-dropdown-icon',\n /**\n * The caret badge of a `DialDropdownIcon` trigger — the round plate the\n * chevron sits on. Absent when `showCaret` is `false`.\n */\n dropdownIconCaret: 'dial-kit-dropdown-icon-caret',\n /** The bubble of a `Tooltip`, rendered by `TooltipContent` into a portal. */\n tooltip: 'dial-kit-tooltip',\n /** The panel of an `InteractiveTooltip` — the one whose content takes focus. */\n interactiveTooltip: 'dial-kit-interactive-tooltip',\n /** The text element of an `EllipsisTooltip`, which is also its trigger. */\n ellipsisTooltip: 'dial-kit-ellipsis-tooltip',\n\n /* ── Fields ────────────────────────────────────────────────────────────── */\n /** The `Search` field, additive to the `dial-kit-input` its `Input` carries. */\n search: 'dial-kit-search',\n /** The `PasswordInput` field, additive to `dial-kit-input`. */\n passwordInput: 'dial-kit-password-input',\n /** The `NumberInput` field, additive to `dial-kit-input`. */\n numberInput: 'dial-kit-number-input',\n /** The `TagInput` field, additive to `dial-kit-input`. */\n tagInput: 'dial-kit-tag-input',\n /** The `AutocompleteTagInput` field, additive to `dial-kit-input`. */\n autocompleteTagInput: 'dial-kit-autocomplete-tag-input',\n /** The root of a `Select`, wrapping its label, field and caption. */\n select: 'dial-kit-select',\n /** The trigger button of an `InlineSelect`. */\n inlineSelect: 'dial-kit-inline-select',\n /** The root of a `Calendar`, wrapping its label and date field. */\n calendar: 'dial-kit-calendar',\n /** The root of a `SchemaRenderer`, wrapping its top-level sections or fields. */\n schemaRenderer: 'dial-kit-schema-renderer',\n /**\n * The card of one collapsible `SchemaRenderer` section, at any depth: a\n * top-level property, a nested object or array, an array item, or a\n * key-value entry holding an object.\n */\n schemaRendererSection: 'dial-kit-schema-renderer-section',\n /** The drop area of a `FileDropzone`. */\n fileDropzone: 'dial-kit-file-dropzone',\n /**\n * The root of a `FileIcon`, wrapping the file or folder glyph (or\n * its spinner while loading) and the shared badge.\n */\n fileIcon: 'dial-kit-file-icon',\n /** The row of a `FileName`: its type icon, the name and any details. */\n fileName: 'dial-kit-file-name',\n /** The `FileName` row of a `FolderName`, additive to `fileName`. */\n folderName: 'dial-kit-folder-name',\n /**\n * The `role=\"img\"` badge of a `SharedEntityIndicator` — standalone, or the\n * shared badge a `FileIcon` draws over its glyph.\n */\n sharedEntityIndicator: 'dial-kit-shared-entity-indicator',\n /** The root of a `Badge`: the label box, with its icon when it has one. */\n badge: 'dial-kit-badge',\n /** The root of an `Avatar`: the image, or the initials box that replaces it. */\n avatar: 'dial-kit-avatar',\n /** The root row of an `EntityIdentity`: its icon, type label, name and version. */\n entityIdentity: 'dial-kit-entity-identity',\n\n /* ── Controls ──────────────────────────────────────────────────────────── */\n /** The row of a `Switch`: the control and its label. */\n switch: 'dial-kit-switch',\n /** The row of a `Checkbox`: the box and its label. */\n checkbox: 'dial-kit-checkbox',\n /** The decorative box a `CheckboxBox` draws, in a checkbox or a menu row. */\n checkboxBox: 'dial-kit-checkbox-box',\n /** The row of a `Radio`: the circle and its label. */\n radio: 'dial-kit-radio',\n /** The root of a `RadioGroup`, wrapping its label and its radios. */\n radioGroup: 'dial-kit-radio-group',\n /**\n * The root of a `RadioGroupPopupField`, wrapping its label and the collapsed\n * field that opens the group.\n */\n radioGroupPopupField: 'dial-kit-radio-group-popup-field',\n /** The `role=\"radiogroup\"` track of a `SegmentedControl`. */\n segmentedControl: 'dial-kit-segmented-control',\n /** One segment of a `SegmentedControl`. */\n segmentedControlItem: 'dial-kit-segmented-control-item',\n /**\n * The outermost element of a `Tabs`: the box wrapping its heading and tab\n * list — or the `role=\"tablist\"` itself, which is the root when the tabs\n * carry no `sectionLabel`.\n */\n tabs: 'dial-kit-tabs',\n /**\n * The `role=\"tablist\"` holding the tabs, in either orientation. Additive to\n * `tabs` when there is no heading above it, since one element is then both.\n */\n tabList: 'dial-kit-tab-list',\n /**\n * One tab inside `Tabs`, in either orientation. The selected tab of a\n * horizontal row keeps its own `dial-kit-tab-selected-underline`.\n */\n tab: 'dial-kit-tab',\n /**\n * The selected tab, additive to `tab`. A horizontal row draws its selection\n * with `dial-kit-tab-selected-underline`, which carries the gradient rule;\n * this one carries no declarations and marks the selected tab in either\n * orientation.\n */\n tabSelected: 'dial-kit-tab-selected',\n /** The `sectionLabel` heading above a `Tabs`. Absent when there is none. */\n tabsSectionLabel: 'dial-kit-tabs-section-label',\n /**\n * The `role=\"group\"` row of a `FilterChips`. Its chips are `Tag` pills, so\n * they carry `dial-kit-tag` and have no entry of their own.\n */\n filterChips: 'dial-kit-filter-chips',\n /** A `Tag` pill, wherever it is rendered — including a `TagInput`'s rows. */\n tag: 'dial-kit-tag',\n /**\n * A `ToggleIconButton`, additive to the `dial-kit-base-icon-button` it\n * already carries.\n */\n toggleIconButton: 'dial-kit-toggle-icon-button',\n /** A `CloseButton`, additive to `dial-kit-base-icon-button`. */\n closeButton: 'dial-kit-close-button',\n /** An `InfoButton`, additive to `dial-kit-base-icon-button`. */\n infoButton: 'dial-kit-info-button',\n /**\n * The wrapper of a `ButtonDropdown` — its trigger carries\n * `dial-kit-base-button`.\n */\n buttonDropdown: 'dial-kit-button-dropdown',\n} as const"
|
|
12564
11682
|
}
|
|
12565
11683
|
]
|
|
12566
11684
|
}
|