@epam/ai-dial-ui-kit 0.16.0-dev.3 → 0.16.0-dev.32
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 +6 -1
- package/dist/CHANGELOG.md +57 -1
- package/dist/DateCellRenderer-ZFBZsJdH.cjs +63 -0
- package/dist/{IconButton-DHOFapLo.cjs → IconButton-CsePS6PY.cjs} +1 -1
- package/dist/JsonEditor-DQhHSm93.cjs +1 -0
- package/dist/{MarkdownEditor-Cp-KX6-T.cjs → MarkdownEditor-CvIPIbPq.cjs} +1 -1
- package/dist/{MarkdownEditor-Dav_pp0T.cjs → MarkdownEditor-TR6X_gdl.cjs} +1 -1
- package/dist/MarkdownEditorContainer-JIn_VNUX.cjs +1 -0
- package/dist/{Switch-DE6MrcqJ.cjs → Switch-HEL_aq23.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/MarkdownEditor/MarkdownEditorContainer.js +16 -18
- 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/CaptionText/CaptionText.js +3 -4
- 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 +334 -254
- 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/Input/Input.js +121 -107
- package/dist/components/New/MenuItem/MenuItem.js +17 -17
- package/dist/components/New/Popup/constants.js +1 -1
- package/dist/components/New/Radio/Radio.js +19 -17
- package/dist/components/New/ResizeHandle/ResizeHandle.js +147 -0
- package/dist/components/New/SchemaRenderer/components/SchemaField.js +45 -44
- package/dist/components/New/SchemaRenderer/components/SchemaFieldContent.js +41 -38
- package/dist/components/New/SchemaRenderer/components/SchemaPrimitiveField.js +45 -39
- package/dist/components/New/Select/Select.js +201 -198
- package/dist/components/New/SharedEntityIndicator/SharedEntityIndicator.js +1 -1
- package/dist/components/New/SideDrawer/SideDrawer.js +1 -1
- package/dist/components/New/StateScreen/StateScreen.js +61 -0
- package/dist/components/New/Switch/Switch.js +19 -17
- package/dist/components/New/Textarea/Textarea.js +37 -33
- 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 +413 -1168
- package/dist/constants/public-class-names.js +11 -0
- package/dist/dial-ui-kit.cjs +4 -2
- package/dist/dial-ui-kit.js +354 -366
- 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/lazy-kq-xfXXv.cjs +1 -0
- package/dist/{merge-classes-BEJXjzkx.cjs → merge-classes-B0SnCG4i.cjs} +1 -1
- package/dist/migration-guides/0.16.0/caption-text-no-alert-role.md +90 -0
- 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 +3 -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/CaptionText/CaptionText.d.ts +8 -1
- 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 +1 -1
- package/dist/src/components/New/ResizeHandle/ResizeHandle.d.ts +68 -0
- package/dist/src/components/New/SchemaRenderer/components/SchemaFieldContent.d.ts +1 -0
- package/dist/src/components/New/SchemaRenderer/components/SchemaPrimitiveField.d.ts +2 -0
- package/dist/src/components/New/SchemaRenderer/types.d.ts +3 -1
- package/dist/src/components/New/SegmentedControl/SegmentedControl.d.ts +1 -1
- package/dist/src/components/New/Select/Select.d.ts +2 -0
- package/dist/src/components/New/Select/constants.d.ts +4 -4
- package/dist/src/components/New/StateScreen/StateScreen.d.ts +47 -0
- 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 +11 -0
- package/dist/src/index.d.ts +8 -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/merge-classes.js +36 -7
- 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/JsonEditor-eAV7SaKu.cjs +0 -1
- package/dist/MarkdownEditorContainer-96cKYmYd.cjs +0 -1
- 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/editor-BH6_A1k2.cjs +0 -1
- 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/lazy-DMVYJhUR.cjs +0 -1
- 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.32",
|
|
3
|
+
"generatedAt": "2026-10-21T19:48:14.902Z",
|
|
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": [
|
|
@@ -1234,6 +1241,12 @@
|
|
|
1234
1241
|
"required": false,
|
|
1235
1242
|
"description": "Accessible name for the field; use it when there is no visible label."
|
|
1236
1243
|
},
|
|
1244
|
+
{
|
|
1245
|
+
"name": "ariaDescribedBy",
|
|
1246
|
+
"type": "string",
|
|
1247
|
+
"required": false,
|
|
1248
|
+
"description": "Ids of extra elements describing the field, e.g. an error rendered outside it; the field's own `error`/`caption` are linked automatically."
|
|
1249
|
+
},
|
|
1237
1250
|
{
|
|
1238
1251
|
"name": "searchable",
|
|
1239
1252
|
"type": "boolean",
|
|
@@ -2204,10 +2217,62 @@
|
|
|
2204
2217
|
"type": "0 | -1 | RefObject<HTMLElement | null>",
|
|
2205
2218
|
"required": false,
|
|
2206
2219
|
"description": "Initial focus target inside the overlay on open, forwarded to `FloatingFocusManager`; when omitted, matches pre-existing behavior"
|
|
2220
|
+
},
|
|
2221
|
+
{
|
|
2222
|
+
"name": "searchable",
|
|
2223
|
+
"type": "boolean",
|
|
2224
|
+
"required": false,
|
|
2225
|
+
"defaultValue": "false",
|
|
2226
|
+
"description": "Show a search field above `items` that filters them and highlights the match"
|
|
2227
|
+
},
|
|
2228
|
+
{
|
|
2229
|
+
"name": "searchValue",
|
|
2230
|
+
"type": "string",
|
|
2231
|
+
"required": false,
|
|
2232
|
+
"description": "Controlled query of the search field"
|
|
2233
|
+
},
|
|
2234
|
+
{
|
|
2235
|
+
"name": "onSearchChange",
|
|
2236
|
+
"type": "(value: string) => void",
|
|
2237
|
+
"required": false,
|
|
2238
|
+
"description": "Fired with every edit of the search field, and with `''` when the menu closes"
|
|
2239
|
+
},
|
|
2240
|
+
{
|
|
2241
|
+
"name": "searchPlaceholder",
|
|
2242
|
+
"type": "string",
|
|
2243
|
+
"required": false,
|
|
2244
|
+
"defaultValue": "'Search'",
|
|
2245
|
+
"description": "Placeholder and accessible name of the search field"
|
|
2246
|
+
},
|
|
2247
|
+
{
|
|
2248
|
+
"name": "searchClearLabel",
|
|
2249
|
+
"type": "string",
|
|
2250
|
+
"required": false,
|
|
2251
|
+
"defaultValue": "'Clear search'",
|
|
2252
|
+
"description": "Accessible name of the search field's clear button"
|
|
2253
|
+
},
|
|
2254
|
+
{
|
|
2255
|
+
"name": "noResultsLabel",
|
|
2256
|
+
"type": "string",
|
|
2257
|
+
"required": false,
|
|
2258
|
+
"defaultValue": "'No results found'",
|
|
2259
|
+
"description": "Text shown and announced when the query leaves no items"
|
|
2260
|
+
},
|
|
2261
|
+
{
|
|
2262
|
+
"name": "filterItem",
|
|
2263
|
+
"type": "DropdownItemFilter",
|
|
2264
|
+
"required": false,
|
|
2265
|
+
"description": "Item matcher; defaults to a case-insensitive substring match on a string `label`"
|
|
2266
|
+
},
|
|
2267
|
+
{
|
|
2268
|
+
"name": "maxVisibleItems",
|
|
2269
|
+
"type": "number",
|
|
2270
|
+
"required": false,
|
|
2271
|
+
"description": "Rows the item list shows before it scrolls"
|
|
2207
2272
|
}
|
|
2208
2273
|
],
|
|
2209
2274
|
"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>"
|
|
2275
|
+
"// 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
2276
|
],
|
|
2212
2277
|
"sourceFile": "components/New/Dropdown/Dropdown.tsx"
|
|
2213
2278
|
},
|
|
@@ -2326,7 +2391,7 @@
|
|
|
2326
2391
|
"name": "CaptionText",
|
|
2327
2392
|
"category": "Components_2_0",
|
|
2328
2393
|
"generation": "2.0",
|
|
2329
|
-
"description": "A component for displaying caption text with consistent styling\naliases: HelperText|ValidationText\nDesign system 2.0",
|
|
2394
|
+
"description": "A component for displaying caption text with consistent styling\naliases: HelperText|ValidationText\nDesign system 2.0\n\nIt carries no live-region role: a field caption or error is described, not\nannounced. Give it an `id` and point the control's `aria-describedby` at it\n(the 2.0 form controls do this for their own `caption` / `error`). Wrap it in\na `role=\"alert\"` region only for a message that must interrupt, such as a\nfailed submit.",
|
|
2330
2395
|
"props": [
|
|
2331
2396
|
{
|
|
2332
2397
|
"name": "text",
|
|
@@ -2343,7 +2408,7 @@
|
|
|
2343
2408
|
}
|
|
2344
2409
|
],
|
|
2345
2410
|
"examples": [
|
|
2346
|
-
"<CaptionText text=\"This field is required\" variant={CaptionType.Error} />"
|
|
2411
|
+
"<input aria-describedby=\"name-error\" aria-invalid />\n<CaptionText id=\"name-error\" text=\"This field is required\" variant={CaptionType.Error} />"
|
|
2347
2412
|
],
|
|
2348
2413
|
"sourceFile": "components/New/CaptionText/CaptionText.tsx"
|
|
2349
2414
|
},
|
|
@@ -3660,7 +3725,7 @@
|
|
|
3660
3725
|
"name": "Avatar",
|
|
3661
3726
|
"category": "Components_2_0",
|
|
3662
3727
|
"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
|
|
3728
|
+
"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
3729
|
"props": [
|
|
3665
3730
|
{
|
|
3666
3731
|
"name": "name",
|
|
@@ -3701,6 +3766,12 @@
|
|
|
3701
3766
|
"defaultValue": "AvatarShape.Circle",
|
|
3702
3767
|
"description": "Outline of the avatar"
|
|
3703
3768
|
},
|
|
3769
|
+
{
|
|
3770
|
+
"name": "color",
|
|
3771
|
+
"type": "AvatarColorClasses",
|
|
3772
|
+
"required": false,
|
|
3773
|
+
"description": "Explicit colour pair overriding the deterministic pick from `name`"
|
|
3774
|
+
},
|
|
3704
3775
|
{
|
|
3705
3776
|
"name": "className",
|
|
3706
3777
|
"type": "string",
|
|
@@ -4909,6 +4980,73 @@
|
|
|
4909
4980
|
],
|
|
4910
4981
|
"sourceFile": "components/New/ResizableContainer/ResizableContainer.tsx"
|
|
4911
4982
|
},
|
|
4983
|
+
{
|
|
4984
|
+
"name": "ResizeHandle",
|
|
4985
|
+
"category": "Components_2_0",
|
|
4986
|
+
"generation": "2.0",
|
|
4987
|
+
"description": "A vertical separator on the inline-end edge of a panel that resizes the panel\nby pointer or keyboard.\naliases: Splitter|ColumnResizer|DragHandle|Divider\nDesign system 2.0\n\nThe component is controlled: it reports every width through `onWidthChange`\nand the host applies it to the panel. It is a focusable `separator` — the\nwindow-splitter pattern — so the arrow keys move it by `keyboardStep`, `Home`\nand `End` jump to the bounds, and a double click resets it to `defaultWidth`.\nDrag and keys follow the writing direction, so a panel at the inline start\ngrows as the pointer moves towards the inline end, in RTL as well.\n\nIt is positioned absolutely against its nearest positioned ancestor, over the\npanel's inline-end edge, and draws a thin line. The accent line and the hint\nappear once the pointer has rested on the handle, and a themed arrow follows\nthe pointer instead of the native cursor. Hide it on screens too narrow to\ndrag on by wrapping it, e.g. in `hidden desktop:block`.",
|
|
4988
|
+
"props": [
|
|
4989
|
+
{
|
|
4990
|
+
"name": "width",
|
|
4991
|
+
"type": "number",
|
|
4992
|
+
"required": true,
|
|
4993
|
+
"description": "Current width of the panel in px."
|
|
4994
|
+
},
|
|
4995
|
+
{
|
|
4996
|
+
"name": "minWidth",
|
|
4997
|
+
"type": "number",
|
|
4998
|
+
"required": true,
|
|
4999
|
+
"description": "Smallest width in px."
|
|
5000
|
+
},
|
|
5001
|
+
{
|
|
5002
|
+
"name": "maxWidth",
|
|
5003
|
+
"type": "number",
|
|
5004
|
+
"required": true,
|
|
5005
|
+
"description": "Largest width in px."
|
|
5006
|
+
},
|
|
5007
|
+
{
|
|
5008
|
+
"name": "defaultWidth",
|
|
5009
|
+
"type": "number",
|
|
5010
|
+
"required": false,
|
|
5011
|
+
"description": "Width a double click resets to."
|
|
5012
|
+
},
|
|
5013
|
+
{
|
|
5014
|
+
"name": "onWidthChange",
|
|
5015
|
+
"type": "(width: number) => void",
|
|
5016
|
+
"required": true,
|
|
5017
|
+
"description": "Called with the next, limited width."
|
|
5018
|
+
},
|
|
5019
|
+
{
|
|
5020
|
+
"name": "label",
|
|
5021
|
+
"type": "string",
|
|
5022
|
+
"required": true,
|
|
5023
|
+
"description": "Accessible name of the separator."
|
|
5024
|
+
},
|
|
5025
|
+
{
|
|
5026
|
+
"name": "tooltip",
|
|
5027
|
+
"type": "ReactNode",
|
|
5028
|
+
"required": false,
|
|
5029
|
+
"description": "Hint shown beside the pointer once it rests on the handle."
|
|
5030
|
+
},
|
|
5031
|
+
{
|
|
5032
|
+
"name": "keyboardStep",
|
|
5033
|
+
"type": "number",
|
|
5034
|
+
"required": false,
|
|
5035
|
+
"defaultValue": "DEFAULT_KEYBOARD_STEP",
|
|
5036
|
+
"description": "Width change of one arrow key press in px."
|
|
5037
|
+
},
|
|
5038
|
+
{
|
|
5039
|
+
"name": "className",
|
|
5040
|
+
"type": "string",
|
|
5041
|
+
"required": false,
|
|
5042
|
+
"description": "Additional CSS classes for the handle."
|
|
5043
|
+
}
|
|
5044
|
+
],
|
|
5045
|
+
"examples": [
|
|
5046
|
+
"<div className=\"relative\" style={{ width }}>\n <Sidebar />\n <ResizeHandle\n width={width}\n minWidth={280}\n maxWidth={640}\n defaultWidth={400}\n onWidthChange={setWidth}\n label=\"Resize sidebar\"\n tooltip=\"Drag to resize\"\n />\n</div>"
|
|
5047
|
+
],
|
|
5048
|
+
"sourceFile": "components/New/ResizeHandle/ResizeHandle.tsx"
|
|
5049
|
+
},
|
|
4912
5050
|
{
|
|
4913
5051
|
"name": "ConditionalResizableContainer",
|
|
4914
5052
|
"category": "Components_2_0",
|
|
@@ -4983,11 +5121,65 @@
|
|
|
4983
5121
|
],
|
|
4984
5122
|
"sourceFile": "components/New/NoDataContent/NoDataContent.tsx"
|
|
4985
5123
|
},
|
|
5124
|
+
{
|
|
5125
|
+
"name": "StateScreen",
|
|
5126
|
+
"category": "Components_2_0",
|
|
5127
|
+
"generation": "2.0",
|
|
5128
|
+
"description": "A whole screen given over to one state the app cannot work past: signed out,\naccess denied, a misconfigured provider.\naliases: AuthScreen|LoginScreen|ForbiddenPage|AccessDenied|ErrorPage|FullPageState\nDesign system 2.0\n\nFills its container and centres a round icon badge, an `h1`, an optional\ndescription and an optional action. The root is a `section` named by its\ntitle, so the state is a landmark of its own. For an empty list or grid\ninside a page, use `NoDataContent` instead.",
|
|
5129
|
+
"props": [
|
|
5130
|
+
{
|
|
5131
|
+
"name": "title",
|
|
5132
|
+
"type": "ReactNode",
|
|
5133
|
+
"required": true,
|
|
5134
|
+
"description": "Headline of the state, rendered as the page's `h1`."
|
|
5135
|
+
},
|
|
5136
|
+
{
|
|
5137
|
+
"name": "description",
|
|
5138
|
+
"type": "ReactNode",
|
|
5139
|
+
"required": false,
|
|
5140
|
+
"description": "Optional line under the title."
|
|
5141
|
+
},
|
|
5142
|
+
{
|
|
5143
|
+
"name": "icon",
|
|
5144
|
+
"type": "ReactNode",
|
|
5145
|
+
"required": false,
|
|
5146
|
+
"description": "Glyph drawn in the round badge; the badge is omitted without one."
|
|
5147
|
+
},
|
|
5148
|
+
{
|
|
5149
|
+
"name": "action",
|
|
5150
|
+
"type": "ReactNode",
|
|
5151
|
+
"required": false,
|
|
5152
|
+
"description": "The way out of the state, rendered under the text."
|
|
5153
|
+
},
|
|
5154
|
+
{
|
|
5155
|
+
"name": "className",
|
|
5156
|
+
"type": "string",
|
|
5157
|
+
"required": false,
|
|
5158
|
+
"description": "Additional CSS classes for the container."
|
|
5159
|
+
},
|
|
5160
|
+
{
|
|
5161
|
+
"name": "titleClassName",
|
|
5162
|
+
"type": "string",
|
|
5163
|
+
"required": false,
|
|
5164
|
+
"description": "Additional CSS classes for the title."
|
|
5165
|
+
},
|
|
5166
|
+
{
|
|
5167
|
+
"name": "descriptionClassName",
|
|
5168
|
+
"type": "string",
|
|
5169
|
+
"required": false,
|
|
5170
|
+
"description": "Additional CSS classes for the description."
|
|
5171
|
+
}
|
|
5172
|
+
],
|
|
5173
|
+
"examples": [
|
|
5174
|
+
"<StateScreen\n icon={<IconLock size={DIAL_ICON_SIZE.LG} stroke={DIAL_KIT_ICON_STROKE} />}\n title=\"Log in to configure your QuickApp\"\n description=\"Set up instructions, add-ons and settings.\"\n action={<NeutralButton label=\"Log in\" onClick={openLogin} />}\n/>"
|
|
5175
|
+
],
|
|
5176
|
+
"sourceFile": "components/New/StateScreen/StateScreen.tsx"
|
|
5177
|
+
},
|
|
4986
5178
|
{
|
|
4987
5179
|
"name": "TransferQueue",
|
|
4988
5180
|
"category": "Components_2_0",
|
|
4989
5181
|
"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
|
|
5182
|
+
"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
5183
|
"props": [
|
|
4992
5184
|
{
|
|
4993
5185
|
"name": "title",
|
|
@@ -5204,10 +5396,17 @@
|
|
|
5204
5396
|
"required": false,
|
|
5205
5397
|
"defaultValue": "'Select all rows'",
|
|
5206
5398
|
"description": "Accessible name of the select-all control."
|
|
5399
|
+
},
|
|
5400
|
+
{
|
|
5401
|
+
"name": "colorScheme",
|
|
5402
|
+
"type": "GridColorScheme",
|
|
5403
|
+
"required": false,
|
|
5404
|
+
"defaultValue": "GridColorScheme.Light",
|
|
5405
|
+
"description": "AG Grid color scheme. `dark` paints native controls dark."
|
|
5207
5406
|
}
|
|
5208
5407
|
],
|
|
5209
5408
|
"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/>"
|
|
5409
|
+
"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
5410
|
],
|
|
5212
5411
|
"sourceFile": "components/New/Grid/Grid.tsx"
|
|
5213
5412
|
},
|
|
@@ -9293,796 +9492,123 @@
|
|
|
9293
9492
|
"sourceFile": "components/DropdownIcon/DropdownIcon.tsx"
|
|
9294
9493
|
},
|
|
9295
9494
|
{
|
|
9296
|
-
"name": "
|
|
9297
|
-
"category": "
|
|
9495
|
+
"name": "DialSchemaRenderer",
|
|
9496
|
+
"category": "Name",
|
|
9497
|
+
"generation": "1.0",
|
|
9498
|
+
"description": "Renders a JSON Schema as a form UI with collapsible sections, validation, and default values.\naliases: SchemaRenderer|JsonSchemaForm\nDesign system 1.0",
|
|
9499
|
+
"props": [],
|
|
9500
|
+
"examples": [
|
|
9501
|
+
"<DialSchemaRenderer\n schema={mySchema}\n onChange={(v) => console.log(v)}\n onDefaultValues={(defaults) => console.log(defaults)}\n/>"
|
|
9502
|
+
],
|
|
9503
|
+
"sourceFile": "components/SchemaRenderer/SchemaRenderer.tsx",
|
|
9504
|
+
"supersededBy": "SchemaRenderer"
|
|
9505
|
+
},
|
|
9506
|
+
{
|
|
9507
|
+
"name": "DialJsonEditor",
|
|
9508
|
+
"category": "Data Display",
|
|
9298
9509
|
"generation": "1.0",
|
|
9299
|
-
"description": "
|
|
9510
|
+
"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
9511
|
"props": [
|
|
9301
9512
|
{
|
|
9302
|
-
"name": "
|
|
9303
|
-
"type": "string",
|
|
9513
|
+
"name": "value",
|
|
9514
|
+
"type": "string | undefined",
|
|
9304
9515
|
"required": false,
|
|
9305
|
-
"description": "
|
|
9516
|
+
"description": "The JSON string value to edit"
|
|
9306
9517
|
},
|
|
9307
9518
|
{
|
|
9308
|
-
"name": "
|
|
9519
|
+
"name": "currentTheme",
|
|
9309
9520
|
"type": "string",
|
|
9310
|
-
"required":
|
|
9311
|
-
"description": "
|
|
9521
|
+
"required": true,
|
|
9522
|
+
"description": "The theme to apply to the editor"
|
|
9312
9523
|
},
|
|
9313
9524
|
{
|
|
9314
|
-
"name": "
|
|
9315
|
-
"type": "
|
|
9525
|
+
"name": "themesConfig",
|
|
9526
|
+
"type": "Record<EditorThemes, editor.IStandaloneThemeData>",
|
|
9316
9527
|
"required": false,
|
|
9317
|
-
"
|
|
9318
|
-
|
|
9319
|
-
{
|
|
9320
|
-
"name": "managerLabel",
|
|
9321
|
-
"type": "ReactNode",
|
|
9322
|
-
"required": false
|
|
9528
|
+
"defaultValue": "EDITOR_THEMES_CONFIG",
|
|
9529
|
+
"description": "Custom theme configurations"
|
|
9323
9530
|
},
|
|
9324
9531
|
{
|
|
9325
|
-
"name": "
|
|
9326
|
-
"type": "string",
|
|
9327
|
-
"required":
|
|
9328
|
-
"description": "
|
|
9532
|
+
"name": "onChange",
|
|
9533
|
+
"type": "(value: string | undefined) => void",
|
|
9534
|
+
"required": true,
|
|
9535
|
+
"description": "Callback fired when the editor content changes"
|
|
9329
9536
|
},
|
|
9330
9537
|
{
|
|
9331
|
-
"name": "
|
|
9332
|
-
"type": "
|
|
9538
|
+
"name": "onValidateJSON",
|
|
9539
|
+
"type": "OnValidate",
|
|
9333
9540
|
"required": false,
|
|
9334
|
-
"description": "
|
|
9541
|
+
"description": "Callback fired when JSON validation occurs"
|
|
9335
9542
|
},
|
|
9336
9543
|
{
|
|
9337
|
-
"name": "
|
|
9338
|
-
"type": "
|
|
9544
|
+
"name": "options",
|
|
9545
|
+
"type": "editor.IStandaloneEditorConstructionOptions",
|
|
9339
9546
|
"required": false,
|
|
9340
|
-
"description": "
|
|
9341
|
-
}
|
|
9547
|
+
"description": "Additional Monaco editor options"
|
|
9548
|
+
}
|
|
9549
|
+
],
|
|
9550
|
+
"examples": [],
|
|
9551
|
+
"sourceFile": "components/JsonEditor/JsonEditor.tsx",
|
|
9552
|
+
"lazy": {
|
|
9553
|
+
"loaderExportName": "LazyDialJsonEditor",
|
|
9554
|
+
"packageImport": "@epam/ai-dial-ui-kit",
|
|
9555
|
+
"ssr": false,
|
|
9556
|
+
"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);"
|
|
9557
|
+
}
|
|
9558
|
+
},
|
|
9559
|
+
{
|
|
9560
|
+
"name": "DialMarkdownEditor",
|
|
9561
|
+
"category": "Data Display",
|
|
9562
|
+
"generation": "1.0",
|
|
9563
|
+
"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.",
|
|
9564
|
+
"props": [
|
|
9342
9565
|
{
|
|
9343
|
-
"name": "
|
|
9344
|
-
"type": "
|
|
9566
|
+
"name": "value",
|
|
9567
|
+
"type": "string",
|
|
9345
9568
|
"required": false,
|
|
9346
|
-
"description": "
|
|
9569
|
+
"description": "The current markdown content"
|
|
9347
9570
|
},
|
|
9348
9571
|
{
|
|
9349
|
-
"name": "
|
|
9350
|
-
"type": "
|
|
9572
|
+
"name": "onChange",
|
|
9573
|
+
"type": "(value: string) => void",
|
|
9351
9574
|
"required": false,
|
|
9352
|
-
"description": "
|
|
9575
|
+
"description": "Callback fired when the editor content changes"
|
|
9353
9576
|
},
|
|
9354
9577
|
{
|
|
9355
|
-
"name": "
|
|
9356
|
-
"type": "
|
|
9578
|
+
"name": "height",
|
|
9579
|
+
"type": "number",
|
|
9357
9580
|
"required": false,
|
|
9358
|
-
"
|
|
9581
|
+
"defaultValue": "300",
|
|
9582
|
+
"description": "Height of the editor in pixels"
|
|
9359
9583
|
},
|
|
9360
9584
|
{
|
|
9361
|
-
"name": "
|
|
9362
|
-
"type": "
|
|
9585
|
+
"name": "preview",
|
|
9586
|
+
"type": "PreviewType",
|
|
9363
9587
|
"required": false,
|
|
9364
|
-
"
|
|
9588
|
+
"defaultValue": "'edit'",
|
|
9589
|
+
"description": "Preview mode ('edit', 'live', 'preview')"
|
|
9365
9590
|
},
|
|
9366
9591
|
{
|
|
9367
|
-
"name": "
|
|
9368
|
-
"type": "
|
|
9592
|
+
"name": "theme",
|
|
9593
|
+
"type": "EditorThemes",
|
|
9369
9594
|
"required": false,
|
|
9370
|
-
"
|
|
9595
|
+
"defaultValue": "EditorThemes.dark",
|
|
9596
|
+
"description": "Theme for the editor ('light' or 'dark')"
|
|
9371
9597
|
},
|
|
9372
9598
|
{
|
|
9373
|
-
"name": "
|
|
9374
|
-
"type": "
|
|
9599
|
+
"name": "className",
|
|
9600
|
+
"type": "string",
|
|
9375
9601
|
"required": false,
|
|
9376
|
-
"description": "
|
|
9602
|
+
"description": "Additional CSS classes for the container"
|
|
9377
9603
|
},
|
|
9378
9604
|
{
|
|
9379
|
-
"name": "
|
|
9380
|
-
"type": "
|
|
9605
|
+
"name": "placeholder",
|
|
9606
|
+
"type": "ReactNode",
|
|
9381
9607
|
"required": false,
|
|
9382
|
-
"description": "
|
|
9608
|
+
"description": "Content to display when the editor is empty"
|
|
9383
9609
|
},
|
|
9384
9610
|
{
|
|
9385
|
-
"name": "
|
|
9386
|
-
"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
|
-
"required": false,
|
|
9398
|
-
"description": "Options that configure the collapsible sidebar and folders tree"
|
|
9399
|
-
},
|
|
9400
|
-
{
|
|
9401
|
-
"name": "toolbarOptions",
|
|
9402
|
-
"type": "ToolbarOptions",
|
|
9403
|
-
"required": false,
|
|
9404
|
-
"description": "Options for the file manager toolbar"
|
|
9405
|
-
},
|
|
9406
|
-
{
|
|
9407
|
-
"name": "showNavigationPanel",
|
|
9408
|
-
"type": "boolean",
|
|
9409
|
-
"required": false,
|
|
9410
|
-
"description": "Determines whether to display the navigation panel."
|
|
9411
|
-
},
|
|
9412
|
-
{
|
|
9413
|
-
"name": "navigationPanelOptions",
|
|
9414
|
-
"type": "NavigationPanelOptions",
|
|
9415
|
-
"required": false,
|
|
9416
|
-
"description": "Options for the breadcrumb and search panel (value/onSearchChange for controlled search)"
|
|
9417
|
-
},
|
|
9418
|
-
{
|
|
9419
|
-
"name": "gridOptions",
|
|
9420
|
-
"type": "GridOptions",
|
|
9421
|
-
"required": false,
|
|
9422
|
-
"description": "Options forwarded to `DialGrid`; supports `columnDefs` override and `filterable` flag and date locale/options"
|
|
9423
|
-
},
|
|
9424
|
-
{
|
|
9425
|
-
"name": "bulkActionsToolbarOptions",
|
|
9426
|
-
"type": "BulkActionsToolbarOptions",
|
|
9427
|
-
"required": false,
|
|
9428
|
-
"description": "Options for the bulk actions toolbar shown when items are selected"
|
|
9429
|
-
},
|
|
9430
|
-
{
|
|
9431
|
-
"name": "deleteConfirmationOptions",
|
|
9432
|
-
"type": "DeleteConfirmationOptions",
|
|
9433
|
-
"required": false,
|
|
9434
|
-
"description": "Options for the delete confirmation popup"
|
|
9435
|
-
},
|
|
9436
|
-
{
|
|
9437
|
-
"name": "destinationFolderPopupOptions",
|
|
9438
|
-
"type": "DialFileManagerDestinationFolderPopupOptions",
|
|
9439
|
-
"required": false
|
|
9440
|
-
},
|
|
9441
|
-
{
|
|
9442
|
-
"name": "conflictResolutionPopupOptions",
|
|
9443
|
-
"type": "DialFileManagerConflictResolutionPopupOptions",
|
|
9444
|
-
"required": false
|
|
9445
|
-
},
|
|
9446
|
-
{
|
|
9447
|
-
"name": "compactViewWidthBreakpoint",
|
|
9448
|
-
"type": "number",
|
|
9449
|
-
"required": false,
|
|
9450
|
-
"description": "Width (px) below which the component switches to compact view."
|
|
9451
|
-
},
|
|
9452
|
-
{
|
|
9453
|
-
"name": "customBreakpointRef",
|
|
9454
|
-
"type": "RefObject<HTMLElement | null>",
|
|
9455
|
-
"required": false
|
|
9456
|
-
},
|
|
9457
|
-
{
|
|
9458
|
-
"name": "onPathChange",
|
|
9459
|
-
"type": "(nextPath?: string) => void",
|
|
9460
|
-
"required": false,
|
|
9461
|
-
"description": "Callback fired when user navigates via tree or breadcrumb"
|
|
9462
|
-
},
|
|
9463
|
-
{
|
|
9464
|
-
"name": "onTableFileClick",
|
|
9465
|
-
"type": "(file: GridRow) => void",
|
|
9466
|
-
"required": false,
|
|
9467
|
-
"description": "Callback fired when a file row is clicked in the grid"
|
|
9468
|
-
},
|
|
9469
|
-
{
|
|
9470
|
-
"name": "handleSelectionClick",
|
|
9471
|
-
"type": "(file: GridRow[]) => void",
|
|
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",
|
|
9611
|
+
"name": "showDragbar",
|
|
10086
9612
|
"type": "boolean",
|
|
10087
9613
|
"required": false,
|
|
10088
9614
|
"defaultValue": "true",
|
|
@@ -10096,214 +9622,88 @@
|
|
|
10096
9622
|
"lazy": {
|
|
10097
9623
|
"loaderExportName": "LazyDialMarkdownEditor",
|
|
10098
9624
|
"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
|
-
},
|
|
9625
|
+
"ssr": false,
|
|
9626
|
+
"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);"
|
|
9627
|
+
},
|
|
9628
|
+
"supersededBy": "MarkdownEditor"
|
|
9629
|
+
}
|
|
9630
|
+
],
|
|
9631
|
+
"types": [
|
|
9632
|
+
{
|
|
9633
|
+
"name": "AnalyticsCardVariant",
|
|
9634
|
+
"kind": "enum",
|
|
9635
|
+
"members": [
|
|
10222
9636
|
{
|
|
10223
|
-
"name": "
|
|
10224
|
-
"value": "
|
|
9637
|
+
"name": "Default",
|
|
9638
|
+
"value": "'default'"
|
|
10225
9639
|
},
|
|
10226
9640
|
{
|
|
10227
|
-
"name": "
|
|
10228
|
-
"value": "
|
|
10229
|
-
}
|
|
9641
|
+
"name": "Compact",
|
|
9642
|
+
"value": "'compact'"
|
|
9643
|
+
}
|
|
9644
|
+
],
|
|
9645
|
+
"sourceFile": "types/analytics.ts"
|
|
9646
|
+
},
|
|
9647
|
+
{
|
|
9648
|
+
"name": "AnalyticsBarColorStop",
|
|
9649
|
+
"kind": "interface",
|
|
9650
|
+
"members": [
|
|
10230
9651
|
{
|
|
10231
|
-
"name": "
|
|
10232
|
-
"value": "
|
|
9652
|
+
"name": "from",
|
|
9653
|
+
"value": "number"
|
|
10233
9654
|
},
|
|
10234
9655
|
{
|
|
10235
|
-
"name": "
|
|
9656
|
+
"name": "to",
|
|
10236
9657
|
"value": "number"
|
|
10237
9658
|
},
|
|
10238
9659
|
{
|
|
10239
|
-
"name": "
|
|
9660
|
+
"name": "color",
|
|
10240
9661
|
"value": "string"
|
|
10241
9662
|
}
|
|
10242
9663
|
],
|
|
10243
|
-
"sourceFile": "
|
|
9664
|
+
"sourceFile": "models/analytics.ts"
|
|
10244
9665
|
},
|
|
10245
9666
|
{
|
|
10246
|
-
"name": "
|
|
9667
|
+
"name": "AnalyticsCardCompareItem",
|
|
10247
9668
|
"kind": "interface",
|
|
10248
9669
|
"members": [
|
|
10249
9670
|
{
|
|
10250
|
-
"name": "
|
|
10251
|
-
"value": "
|
|
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"
|
|
9671
|
+
"name": "title",
|
|
9672
|
+
"value": "ReactNode"
|
|
10264
9673
|
},
|
|
10265
9674
|
{
|
|
10266
|
-
"name": "
|
|
10267
|
-
"value": "
|
|
10268
|
-
}
|
|
9675
|
+
"name": "value",
|
|
9676
|
+
"value": "ReactNode"
|
|
9677
|
+
}
|
|
9678
|
+
],
|
|
9679
|
+
"sourceFile": "models/analytics.ts"
|
|
9680
|
+
},
|
|
9681
|
+
{
|
|
9682
|
+
"name": "DialTooltipContainerOptions",
|
|
9683
|
+
"kind": "interface",
|
|
9684
|
+
"members": [
|
|
10269
9685
|
{
|
|
10270
|
-
"name": "
|
|
9686
|
+
"name": "initialOpen?",
|
|
10271
9687
|
"value": "boolean"
|
|
10272
9688
|
},
|
|
10273
9689
|
{
|
|
10274
|
-
"name": "
|
|
10275
|
-
"value": "
|
|
10276
|
-
},
|
|
10277
|
-
{
|
|
10278
|
-
"name": "selectionMode?",
|
|
10279
|
-
"value": "GridSelectionMode"
|
|
9690
|
+
"name": "placement?",
|
|
9691
|
+
"value": "Placement"
|
|
10280
9692
|
},
|
|
10281
9693
|
{
|
|
10282
|
-
"name": "
|
|
9694
|
+
"name": "isTriggerClickable?",
|
|
10283
9695
|
"value": "boolean"
|
|
10284
9696
|
},
|
|
10285
9697
|
{
|
|
10286
|
-
"name": "
|
|
9698
|
+
"name": "open?",
|
|
10287
9699
|
"value": "boolean"
|
|
10288
9700
|
},
|
|
10289
9701
|
{
|
|
10290
|
-
"name": "
|
|
10291
|
-
"value": "
|
|
9702
|
+
"name": "onOpenChange?",
|
|
9703
|
+
"value": "(open: boolean) => void"
|
|
10292
9704
|
}
|
|
10293
9705
|
],
|
|
10294
|
-
"sourceFile": "components/
|
|
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}"
|
|
9706
|
+
"sourceFile": "components/Tooltip/TooltipContext.tsx"
|
|
10307
9707
|
},
|
|
10308
9708
|
{
|
|
10309
9709
|
"name": "EditorThemes",
|
|
@@ -10658,131 +10058,6 @@
|
|
|
10658
10058
|
],
|
|
10659
10059
|
"sourceFile": "types/select.ts"
|
|
10660
10060
|
},
|
|
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
10061
|
{
|
|
10787
10062
|
"name": "FlexibleActionsDirection",
|
|
10788
10063
|
"kind": "enum",
|
|
@@ -11280,76 +10555,6 @@
|
|
|
11280
10555
|
],
|
|
11281
10556
|
"sourceFile": "models/file.ts"
|
|
11282
10557
|
},
|
|
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
10558
|
{
|
|
11354
10559
|
"name": "GridSelectionMode",
|
|
11355
10560
|
"kind": "enum",
|
|
@@ -12011,6 +11216,41 @@
|
|
|
12011
11216
|
"sourceFile": "types/badge.ts",
|
|
12012
11217
|
"description": "How a `Badge` is drawn."
|
|
12013
11218
|
},
|
|
11219
|
+
{
|
|
11220
|
+
"name": "AvatarColor",
|
|
11221
|
+
"kind": "enum",
|
|
11222
|
+
"members": [
|
|
11223
|
+
{
|
|
11224
|
+
"name": "Green1",
|
|
11225
|
+
"value": "'green-1'"
|
|
11226
|
+
},
|
|
11227
|
+
{
|
|
11228
|
+
"name": "Violet2",
|
|
11229
|
+
"value": "'violet-2'"
|
|
11230
|
+
},
|
|
11231
|
+
{
|
|
11232
|
+
"name": "Brown",
|
|
11233
|
+
"value": "'brown'"
|
|
11234
|
+
},
|
|
11235
|
+
{
|
|
11236
|
+
"name": "Red",
|
|
11237
|
+
"value": "'red'"
|
|
11238
|
+
},
|
|
11239
|
+
{
|
|
11240
|
+
"name": "Green2",
|
|
11241
|
+
"value": "'green-2'"
|
|
11242
|
+
},
|
|
11243
|
+
{
|
|
11244
|
+
"name": "Blue",
|
|
11245
|
+
"value": "'blue'"
|
|
11246
|
+
},
|
|
11247
|
+
{
|
|
11248
|
+
"name": "Violet1",
|
|
11249
|
+
"value": "'violet-1'"
|
|
11250
|
+
}
|
|
11251
|
+
],
|
|
11252
|
+
"sourceFile": "types/avatar.ts"
|
|
11253
|
+
},
|
|
12014
11254
|
{
|
|
12015
11255
|
"name": "AvatarShape",
|
|
12016
11256
|
"kind": "enum",
|
|
@@ -12029,6 +11269,22 @@
|
|
|
12029
11269
|
"sourceFile": "types/avatar.ts",
|
|
12030
11270
|
"description": "The outline an `Avatar` is clipped to."
|
|
12031
11271
|
},
|
|
11272
|
+
{
|
|
11273
|
+
"name": "AvatarColorClasses",
|
|
11274
|
+
"kind": "interface",
|
|
11275
|
+
"members": [
|
|
11276
|
+
{
|
|
11277
|
+
"name": "background",
|
|
11278
|
+
"value": "string"
|
|
11279
|
+
},
|
|
11280
|
+
{
|
|
11281
|
+
"name": "foreground",
|
|
11282
|
+
"value": "string"
|
|
11283
|
+
}
|
|
11284
|
+
],
|
|
11285
|
+
"sourceFile": "utils/avatar.ts",
|
|
11286
|
+
"description": "A background and text colour pair for an initials avatar, as Tailwind classes."
|
|
11287
|
+
},
|
|
12032
11288
|
{
|
|
12033
11289
|
"name": "EntityIdentityItem",
|
|
12034
11290
|
"kind": "interface",
|
|
@@ -12334,6 +11590,22 @@
|
|
|
12334
11590
|
],
|
|
12335
11591
|
"sourceFile": "types/transfer-queue.ts",
|
|
12336
11592
|
"description": "Lifecycle status of one item in a `TransferQueue`."
|
|
11593
|
+
},
|
|
11594
|
+
{
|
|
11595
|
+
"name": "GridColorScheme",
|
|
11596
|
+
"kind": "enum",
|
|
11597
|
+
"members": [
|
|
11598
|
+
{
|
|
11599
|
+
"name": "Light",
|
|
11600
|
+
"value": "'light'"
|
|
11601
|
+
},
|
|
11602
|
+
{
|
|
11603
|
+
"name": "Dark",
|
|
11604
|
+
"value": "'dark'"
|
|
11605
|
+
}
|
|
11606
|
+
],
|
|
11607
|
+
"sourceFile": "types/grid.ts",
|
|
11608
|
+
"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
11609
|
}
|
|
12338
11610
|
],
|
|
12339
11611
|
"hooks": [
|
|
@@ -12355,11 +11627,6 @@
|
|
|
12355
11627
|
"name": "convertGridDateToDate",
|
|
12356
11628
|
"sourceFile": "utils/grid-date.ts"
|
|
12357
11629
|
},
|
|
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
11630
|
{
|
|
12364
11631
|
"name": "EDITABLE_CONTAINER_ATTRIBUTE",
|
|
12365
11632
|
"sourceFile": "hooks/use-editable-item.tsx",
|
|
@@ -12380,24 +11647,17 @@
|
|
|
12380
11647
|
"name": "UseEditableItemOptions",
|
|
12381
11648
|
"sourceFile": "hooks/use-editable-item.tsx"
|
|
12382
11649
|
},
|
|
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
11650
|
{
|
|
12396
11651
|
"name": "useThemeScope",
|
|
12397
11652
|
"sourceFile": "components/New/ThemeScope/ThemeScope.tsx",
|
|
12398
11653
|
"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
11654
|
"signature": "() => string"
|
|
12400
11655
|
},
|
|
11656
|
+
{
|
|
11657
|
+
"name": "AVATAR_PALETTE",
|
|
11658
|
+
"sourceFile": "utils/avatar.ts",
|
|
11659
|
+
"signature": "AVATAR_PALETTE: Record<AvatarColor, AvatarColorClasses>"
|
|
11660
|
+
},
|
|
12401
11661
|
{
|
|
12402
11662
|
"name": "extractInitials",
|
|
12403
11663
|
"sourceFile": "utils/avatar.ts",
|
|
@@ -12453,7 +11713,7 @@
|
|
|
12453
11713
|
"name": "GRID_THEME_PARAMS",
|
|
12454
11714
|
"sourceFile": "components/New/Grid/constants.ts",
|
|
12455
11715
|
"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 //
|
|
11716
|
+
"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
11717
|
},
|
|
12458
11718
|
{
|
|
12459
11719
|
"name": "GRID_ROW_HEIGHT",
|
|
@@ -12507,21 +11767,6 @@
|
|
|
12507
11767
|
}
|
|
12508
11768
|
],
|
|
12509
11769
|
"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
11770
|
{
|
|
12526
11771
|
"name": "DIAL_ICON_SIZE",
|
|
12527
11772
|
"sourceFile": "constants/icon.ts",
|
|
@@ -12560,7 +11805,7 @@
|
|
|
12560
11805
|
{
|
|
12561
11806
|
"name": "DIAL_KIT_CLASS",
|
|
12562
11807
|
"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"
|
|
11808
|
+
"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 `section` root of a `StateScreen`. */\n stateScreen: 'dial-kit-state-screen',\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 /** The `role=\"separator\"` element of a `ResizeHandle`. */\n resizeHandle: 'dial-kit-resize-handle',\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
11809
|
}
|
|
12565
11810
|
]
|
|
12566
11811
|
}
|