@epam/ai-dial-ui-kit 0.16.0-dev.4 → 0.16.0-dev.43
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 +8 -1
- package/dist/CHANGELOG.md +73 -1
- package/dist/DateCellRenderer-f1EmpTB0.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 +20 -18
- 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/EntityIdentity/EntityIdentity.js +62 -60
- package/dist/components/New/FolderPath/FolderPath.js +151 -46
- package/dist/components/New/FormSection/FormSection.js +87 -0
- package/dist/components/New/Input/Input.js +121 -107
- package/dist/components/New/MenuItem/MenuItem.js +17 -17
- package/dist/components/New/NoDataContent/NoDataContent.js +22 -27
- package/dist/components/New/NoDataContent/NoDataIllustration.js +53 -0
- package/dist/components/New/PasswordInput/PasswordInput.js +33 -32
- 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 +205 -202
- package/dist/components/New/Select/constants.js +29 -38
- package/dist/components/New/SelectedEntityCard/SelectedEntityCard.js +86 -0
- 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/Tabs/Tabs.js +91 -58
- package/dist/components/New/Tag/Tag.js +34 -34
- package/dist/components/New/Tag/constants.js +13 -4
- 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 +688 -1210
- package/dist/constants/public-class-names.js +15 -0
- package/dist/dial-ui-kit.cjs +4 -2
- package/dist/dial-ui-kit.js +376 -383
- package/dist/editors.cjs +1 -1
- package/dist/grid.cjs +1 -1
- 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/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 +12 -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/EntityIdentity/EntityIdentity.d.ts +6 -2
- 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/FormSection/FormSection.d.ts +63 -0
- package/dist/src/components/New/Grid/Grid.d.ts +1 -1
- package/dist/src/components/New/Grid/components/SelectionCell.d.ts +1 -1
- package/dist/src/components/New/Grid/components/SelectionHeader.d.ts +1 -1
- package/dist/src/components/New/InteractiveTooltip/constants.d.ts +1 -1
- package/dist/src/components/New/MarkdownEditor/lazy.d.ts +1 -1
- package/dist/src/components/New/MenuItem/constants.d.ts +1 -1
- package/dist/src/components/New/NoDataContent/NoDataContent.d.ts +16 -8
- package/dist/src/components/New/NoDataContent/NoDataIllustration.d.ts +7 -0
- package/dist/src/components/New/PasswordInput/PasswordInput.d.ts +6 -0
- 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 +3 -4
- package/dist/src/components/New/SelectedEntityCard/SelectedEntityCard.d.ts +67 -0
- package/dist/src/components/New/StateScreen/StateScreen.d.ts +47 -0
- package/dist/src/components/New/Tabs/Tabs.d.ts +17 -1
- package/dist/src/components/New/Tag/Tag.d.ts +9 -5
- package/dist/src/components/New/Tag/constants.d.ts +12 -4
- package/dist/src/components/New/Tooltip/constants.d.ts +2 -2
- package/dist/src/components/New/TransferQueue/TransferQueue.d.ts +9 -5
- package/dist/src/components/New/TransferQueue/TransferQueueHeader.d.ts +1 -3
- package/dist/src/components/SegmentedControl/SegmentedControl.d.ts +1 -1
- package/dist/src/components/Select/constants.d.ts +3 -3
- package/dist/src/constants/public-class-names.d.ts +15 -0
- package/dist/src/index.d.ts +13 -14
- package/dist/src/subpaths/editors.d.ts +1 -1
- package/dist/src/types/avatar.d.ts +9 -0
- package/dist/src/types/form-section.d.ts +9 -0
- package/dist/src/types/tab.d.ts +5 -0
- package/dist/src/types/tag.d.ts +3 -1
- 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/form-section.js +4 -0
- package/dist/types/tab.js +5 -4
- package/dist/types/tag.js +2 -2
- 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 +13 -16
- package/dist/DateCellRenderer-C7yExfh5.cjs +0 -1
- package/dist/DateCellRenderer-ElULb0hY.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/no-data.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-Bgh8mfOJ.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.43",
|
|
3
|
+
"generatedAt": "2026-10-24T19:06:23.562Z",
|
|
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",
|
|
@@ -1679,7 +1692,7 @@
|
|
|
1679
1692
|
"name": "PasswordInput",
|
|
1680
1693
|
"category": "Components_2_0",
|
|
1681
1694
|
"generation": "2.0",
|
|
1682
|
-
"description": "A password field with a reveal toggle, built on .\naliases: SecureInput|ToggleablePassword\nDesign system 2.0\n\nThe toggle is a real `<button>`, so it is reachable by keyboard and announces\nboth its purpose and its state. `type` and `iconAfter` are owned by this\ncomponent; every other prop is passed through.\n\nA disabled field is masked with no toggle at all, and comes back masked if it\nis enabled again.",
|
|
1695
|
+
"description": "A password field with a reveal toggle, built on .\naliases: SecureInput|ToggleablePassword\nDesign system 2.0\n\nThe toggle is a real `<button>`, so it is reachable by keyboard and announces\nboth its purpose and its state. `type` and `iconAfter` are owned by this\ncomponent; every other prop is passed through.\n\nA disabled field is masked with no toggle at all, and comes back masked if it\nis enabled again.\n\n`isToggleHidden` does the same without disabling the field: use it when there\nis nothing to reveal, such as a stored secret the server never returns.",
|
|
1683
1696
|
"props": [
|
|
1684
1697
|
{
|
|
1685
1698
|
"name": "showPasswordLabel",
|
|
@@ -1694,6 +1707,12 @@
|
|
|
1694
1707
|
"required": false,
|
|
1695
1708
|
"defaultValue": "'Hide password'",
|
|
1696
1709
|
"description": "Accessible name of the toggle while the value is visible"
|
|
1710
|
+
},
|
|
1711
|
+
{
|
|
1712
|
+
"name": "isToggleHidden",
|
|
1713
|
+
"type": "boolean",
|
|
1714
|
+
"required": false,
|
|
1715
|
+
"description": "Hides the reveal toggle and keeps the value masked, leaving the field editable"
|
|
1697
1716
|
}
|
|
1698
1717
|
],
|
|
1699
1718
|
"examples": [
|
|
@@ -2204,10 +2223,62 @@
|
|
|
2204
2223
|
"type": "0 | -1 | RefObject<HTMLElement | null>",
|
|
2205
2224
|
"required": false,
|
|
2206
2225
|
"description": "Initial focus target inside the overlay on open, forwarded to `FloatingFocusManager`; when omitted, matches pre-existing behavior"
|
|
2226
|
+
},
|
|
2227
|
+
{
|
|
2228
|
+
"name": "searchable",
|
|
2229
|
+
"type": "boolean",
|
|
2230
|
+
"required": false,
|
|
2231
|
+
"defaultValue": "false",
|
|
2232
|
+
"description": "Show a search field above `items` that filters them and highlights the match"
|
|
2233
|
+
},
|
|
2234
|
+
{
|
|
2235
|
+
"name": "searchValue",
|
|
2236
|
+
"type": "string",
|
|
2237
|
+
"required": false,
|
|
2238
|
+
"description": "Controlled query of the search field"
|
|
2239
|
+
},
|
|
2240
|
+
{
|
|
2241
|
+
"name": "onSearchChange",
|
|
2242
|
+
"type": "(value: string) => void",
|
|
2243
|
+
"required": false,
|
|
2244
|
+
"description": "Fired with every edit of the search field, and with `''` when the menu closes"
|
|
2245
|
+
},
|
|
2246
|
+
{
|
|
2247
|
+
"name": "searchPlaceholder",
|
|
2248
|
+
"type": "string",
|
|
2249
|
+
"required": false,
|
|
2250
|
+
"defaultValue": "'Search'",
|
|
2251
|
+
"description": "Placeholder and accessible name of the search field"
|
|
2252
|
+
},
|
|
2253
|
+
{
|
|
2254
|
+
"name": "searchClearLabel",
|
|
2255
|
+
"type": "string",
|
|
2256
|
+
"required": false,
|
|
2257
|
+
"defaultValue": "'Clear search'",
|
|
2258
|
+
"description": "Accessible name of the search field's clear button"
|
|
2259
|
+
},
|
|
2260
|
+
{
|
|
2261
|
+
"name": "noResultsLabel",
|
|
2262
|
+
"type": "string",
|
|
2263
|
+
"required": false,
|
|
2264
|
+
"defaultValue": "'No results found'",
|
|
2265
|
+
"description": "Text shown and announced when the query leaves no items"
|
|
2266
|
+
},
|
|
2267
|
+
{
|
|
2268
|
+
"name": "filterItem",
|
|
2269
|
+
"type": "DropdownItemFilter",
|
|
2270
|
+
"required": false,
|
|
2271
|
+
"description": "Item matcher; defaults to a case-insensitive substring match on a string `label`"
|
|
2272
|
+
},
|
|
2273
|
+
{
|
|
2274
|
+
"name": "maxVisibleItems",
|
|
2275
|
+
"type": "number",
|
|
2276
|
+
"required": false,
|
|
2277
|
+
"description": "Rows the item list shows before it scrolls"
|
|
2207
2278
|
}
|
|
2208
2279
|
],
|
|
2209
2280
|
"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>"
|
|
2281
|
+
"// 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
2282
|
],
|
|
2212
2283
|
"sourceFile": "components/New/Dropdown/Dropdown.tsx"
|
|
2213
2284
|
},
|
|
@@ -2326,7 +2397,7 @@
|
|
|
2326
2397
|
"name": "CaptionText",
|
|
2327
2398
|
"category": "Components_2_0",
|
|
2328
2399
|
"generation": "2.0",
|
|
2329
|
-
"description": "A component for displaying caption text with consistent styling\naliases: HelperText|ValidationText\nDesign system 2.0",
|
|
2400
|
+
"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
2401
|
"props": [
|
|
2331
2402
|
{
|
|
2332
2403
|
"name": "text",
|
|
@@ -2343,7 +2414,7 @@
|
|
|
2343
2414
|
}
|
|
2344
2415
|
],
|
|
2345
2416
|
"examples": [
|
|
2346
|
-
"<CaptionText text=\"This field is required\" variant={CaptionType.Error} />"
|
|
2417
|
+
"<input aria-describedby=\"name-error\" aria-invalid />\n<CaptionText id=\"name-error\" text=\"This field is required\" variant={CaptionType.Error} />"
|
|
2347
2418
|
],
|
|
2348
2419
|
"sourceFile": "components/New/CaptionText/CaptionText.tsx"
|
|
2349
2420
|
},
|
|
@@ -3022,7 +3093,7 @@
|
|
|
3022
3093
|
"name": "Tabs",
|
|
3023
3094
|
"category": "Components_2_0",
|
|
3024
3095
|
"generation": "2.0",
|
|
3025
|
-
"description": "A row or rail of tabs, marking the active one and showing optional icons and count badges.\naliases: TabRow|TabNavigation|TabBar|VerticalTabs|SettingsNav|SideNav\nDesign system 2.0\n\nFollows the ARIA tabs pattern with automatic activation: only the active tab is\nin the tab order, and the arrow keys move both focus and selection. `Home` and\n`End` jump to the first and last tab, and the arrows wrap around the ends.\nTabs marked `disabled` are greyed out, cannot be clicked, and are skipped by\nkeyboard navigation.\n\n`TabOrientation.Horizontal` draws the default row: the active tab takes a\ngradient underline, and `ArrowLeft` / `ArrowRight` move along it.\n`TabOrientation.Vertical` draws the settings-page rail instead — full-width\nrows with the active one on a tinted pill rather than an underline, driven by\n`ArrowUp` / `ArrowDown`. The rail is the shape to reach for when the tabs\nlabel whole pages of a settings surface; the row, when they filter one.\n\n`className` lands on whichever element is outermost: the heading wrapper when\n`sectionLabel` is set, the `role=\"tablist\"` itself when it is not.\n\nThe component renders the tabs only; the panels stay with the consumer.",
|
|
3096
|
+
"description": "A row or rail of tabs, marking the active one and showing optional icons and count badges.\naliases: TabRow|TabNavigation|TabBar|VerticalTabs|SettingsNav|SideNav\nDesign system 2.0\n\nFollows the ARIA tabs pattern with automatic activation: only the active tab is\nin the tab order, and the arrow keys move both focus and selection. `Home` and\n`End` jump to the first and last tab, and the arrows wrap around the ends.\nTabs marked `disabled` are greyed out, cannot be clicked, and are skipped by\nkeyboard navigation.\n\n`TabOrientation.Horizontal` draws the default row: the active tab takes a\ngradient underline, and `ArrowLeft` / `ArrowRight` move along it.\n`TabOrientation.Vertical` draws the settings-page rail instead — full-width\nrows with the active one on a tinted pill rather than an underline, driven by\n`ArrowUp` / `ArrowDown`. The rail is the shape to reach for when the tabs\nlabel whole pages of a settings surface; the row, when they filter one.\n\nA tab with a `status` (`TabStatus.Error` or `TabStatus.Warning`) draws a\ncoloured icon after its label, and the status text joins the tab's accessible\nname so the state reaches assistive tech as well as sighted users.\n\n`className` lands on whichever element is outermost: the heading wrapper when\n`sectionLabel` is set, the `role=\"tablist\"` itself when it is not.\n\nThe component renders the tabs only; the panels stay with the consumer.",
|
|
3026
3097
|
"props": [
|
|
3027
3098
|
{
|
|
3028
3099
|
"name": "tabs",
|
|
@@ -3660,7 +3731,7 @@
|
|
|
3660
3731
|
"name": "Avatar",
|
|
3661
3732
|
"category": "Components_2_0",
|
|
3662
3733
|
"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
|
|
3734
|
+
"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
3735
|
"props": [
|
|
3665
3736
|
{
|
|
3666
3737
|
"name": "name",
|
|
@@ -3701,6 +3772,12 @@
|
|
|
3701
3772
|
"defaultValue": "AvatarShape.Circle",
|
|
3702
3773
|
"description": "Outline of the avatar"
|
|
3703
3774
|
},
|
|
3775
|
+
{
|
|
3776
|
+
"name": "color",
|
|
3777
|
+
"type": "AvatarColorClasses",
|
|
3778
|
+
"required": false,
|
|
3779
|
+
"description": "Explicit colour pair overriding the deterministic pick from `name`"
|
|
3780
|
+
},
|
|
3704
3781
|
{
|
|
3705
3782
|
"name": "className",
|
|
3706
3783
|
"type": "string",
|
|
@@ -3713,6 +3790,12 @@
|
|
|
3713
3790
|
"required": false,
|
|
3714
3791
|
"description": "Type-scale class for the initials, replacing the size-derived font size"
|
|
3715
3792
|
},
|
|
3793
|
+
{
|
|
3794
|
+
"name": "imageClassName",
|
|
3795
|
+
"type": "string",
|
|
3796
|
+
"required": false,
|
|
3797
|
+
"description": "Additional CSS classes applied only while the image is shown"
|
|
3798
|
+
},
|
|
3716
3799
|
{
|
|
3717
3800
|
"name": "onImageError",
|
|
3718
3801
|
"type": "(event: SyntheticEvent<HTMLImageElement>) => void",
|
|
@@ -3729,7 +3812,7 @@
|
|
|
3729
3812
|
"name": "EntityIdentity",
|
|
3730
3813
|
"category": "Components_2_0",
|
|
3731
3814
|
"generation": "2.0",
|
|
3732
|
-
"description": "The identity block of a DIAL entity: its icon, a coloured type label, the\nname and the version, with an optional featured chip.\naliases: EntityHeader|ModelHeader|AppIdentity\nDesign system 2.0\n\nThe type label is plain uppercase text coloured by `item.type`. The icon is\na square `Avatar`, so a missing or broken image falls back to the initials of\nthe name. The icon is decorative: the name next
|
|
3815
|
+
"description": "The identity block of a DIAL entity: its icon, a coloured type label, the\nname and the version, with an optional featured chip.\naliases: EntityHeader|ModelHeader|AppIdentity\nDesign system 2.0\n\nThe type label is plain uppercase text coloured by `item.type`. The icon is\na square `Avatar`, so a missing or broken image falls back to the initials of\nthe name. The image sits on the `bg-entity-icon` plate, so a dark theme can\nkeep a dark, transparent logo legible. The icon is decorative: the name next\nto it already names the entity.",
|
|
3733
3816
|
"props": [
|
|
3734
3817
|
{
|
|
3735
3818
|
"name": "item",
|
|
@@ -3743,6 +3826,13 @@
|
|
|
3743
3826
|
"required": false,
|
|
3744
3827
|
"description": "User-visible strings"
|
|
3745
3828
|
},
|
|
3829
|
+
{
|
|
3830
|
+
"name": "showType",
|
|
3831
|
+
"type": "boolean",
|
|
3832
|
+
"required": false,
|
|
3833
|
+
"defaultValue": "true",
|
|
3834
|
+
"description": "Whether to show the type label"
|
|
3835
|
+
},
|
|
3746
3836
|
{
|
|
3747
3837
|
"name": "showVersion",
|
|
3748
3838
|
"type": "boolean",
|
|
@@ -3828,6 +3918,89 @@
|
|
|
3828
3918
|
],
|
|
3829
3919
|
"sourceFile": "components/New/EntityIdentity/EntityIdentity.tsx"
|
|
3830
3920
|
},
|
|
3921
|
+
{
|
|
3922
|
+
"name": "SelectedEntityCard",
|
|
3923
|
+
"category": "Components_2_0",
|
|
3924
|
+
"generation": "2.0",
|
|
3925
|
+
"description": "The card of a form field that holds one selected entity — a model, an agent,\na toolset: its identity, a skeleton while the catalog loads, its raw id when\nthe catalog does not list it, or a placeholder when nothing is selected.\naliases: SelectedModelCard|ModelCard|EntityCard\nDesign system 2.0\n\nThe control that changes the selection lives next to the card, not in it:\nthe card is not interactive.",
|
|
3926
|
+
"props": [
|
|
3927
|
+
{
|
|
3928
|
+
"name": "entityId",
|
|
3929
|
+
"type": "string",
|
|
3930
|
+
"required": true,
|
|
3931
|
+
"description": "Id of the selected entity, `''` when there is none"
|
|
3932
|
+
},
|
|
3933
|
+
{
|
|
3934
|
+
"name": "item",
|
|
3935
|
+
"type": "EntityIdentityItem",
|
|
3936
|
+
"required": false,
|
|
3937
|
+
"description": "The selected entity as the catalog lists it"
|
|
3938
|
+
},
|
|
3939
|
+
{
|
|
3940
|
+
"name": "isLoading",
|
|
3941
|
+
"type": "boolean",
|
|
3942
|
+
"required": false,
|
|
3943
|
+
"defaultValue": "false",
|
|
3944
|
+
"description": "Whether the catalog is still loading"
|
|
3945
|
+
},
|
|
3946
|
+
{
|
|
3947
|
+
"name": "isDisabled",
|
|
3948
|
+
"type": "boolean",
|
|
3949
|
+
"required": false,
|
|
3950
|
+
"defaultValue": "false",
|
|
3951
|
+
"description": "Dims the card"
|
|
3952
|
+
},
|
|
3953
|
+
{
|
|
3954
|
+
"name": "error",
|
|
3955
|
+
"type": "string",
|
|
3956
|
+
"required": false,
|
|
3957
|
+
"description": "Error text under the card; also turns its border red"
|
|
3958
|
+
},
|
|
3959
|
+
{
|
|
3960
|
+
"name": "details",
|
|
3961
|
+
"type": "ReactNode",
|
|
3962
|
+
"required": false,
|
|
3963
|
+
"description": "A line under the name"
|
|
3964
|
+
},
|
|
3965
|
+
{
|
|
3966
|
+
"name": "labels",
|
|
3967
|
+
"type": "SelectedEntityCardLabels",
|
|
3968
|
+
"required": false,
|
|
3969
|
+
"description": "User-visible strings"
|
|
3970
|
+
},
|
|
3971
|
+
{
|
|
3972
|
+
"name": "showType",
|
|
3973
|
+
"type": "boolean",
|
|
3974
|
+
"required": false,
|
|
3975
|
+
"defaultValue": "true",
|
|
3976
|
+
"description": "Whether to show the type label"
|
|
3977
|
+
},
|
|
3978
|
+
{
|
|
3979
|
+
"name": "iconSize",
|
|
3980
|
+
"type": "number",
|
|
3981
|
+
"required": false,
|
|
3982
|
+
"defaultValue": "44",
|
|
3983
|
+
"description": "Icon size in px"
|
|
3984
|
+
},
|
|
3985
|
+
{
|
|
3986
|
+
"name": "headingLevel",
|
|
3987
|
+
"type": "number",
|
|
3988
|
+
"required": false,
|
|
3989
|
+
"defaultValue": "4",
|
|
3990
|
+
"description": "Heading level of the name"
|
|
3991
|
+
},
|
|
3992
|
+
{
|
|
3993
|
+
"name": "className",
|
|
3994
|
+
"type": "string",
|
|
3995
|
+
"required": false,
|
|
3996
|
+
"description": "Additional CSS classes for the card"
|
|
3997
|
+
}
|
|
3998
|
+
],
|
|
3999
|
+
"examples": [
|
|
4000
|
+
"<SelectedEntityCard\n entityId=\"gpt-4o\"\n item={{ type: EntityType.Model, name: 'GPT-4o', version: '2024-11-20' }}\n isLoading={isLoading}\n labels={{ type: t('Model'), placeholder: t('Select model') }}\n/>"
|
|
4001
|
+
],
|
|
4002
|
+
"sourceFile": "components/New/SelectedEntityCard/SelectedEntityCard.tsx"
|
|
4003
|
+
},
|
|
3831
4004
|
{
|
|
3832
4005
|
"name": "SideDrawer",
|
|
3833
4006
|
"category": "Components_2_0",
|
|
@@ -3976,7 +4149,7 @@
|
|
|
3976
4149
|
"name": "Tag",
|
|
3977
4150
|
"category": "Components_2_0",
|
|
3978
4151
|
"generation": "2.0",
|
|
3979
|
-
"description": "A compact label element used for selections, filters, or categories.\naliases: Chip|Pill\nDesign system 2.0\n\nThe tag
|
|
4152
|
+
"description": "A compact label element used for selections, filters, or categories.\naliases: Chip|Pill\nDesign system 2.0\n\nThe tag is the 32px pill of the 2.0 design; `TagAppearance.Bordered` is the\ncompact 24px value chip of a form field. There is no `size` prop: a tag sizes\nitself, and a caller that needs a different height is usually reaching for a\nbutton.\n\nThe label truncates rather than wrapping, and carries a native `title` so the\nfull text stays reachable when it does.\n\nA tag with `onClick` becomes a `role=\"button\"` operable with Enter and Space.\nIts remove control is a real nested `<button>`, so keep the two roles apart in\nthe caller: a clickable tag that is also closable gives a screen reader two\nactions with no way to tell which one it landed on.\n\n`outlined` and `selectable` draw no rim and are told apart by their fill;\n`bordered` draws one: the outlined `Badge`'s look, for a value the user can\nremove, on a surface the rimless fill would vanish on.\n`TagAppearance.Selectable` is the filter chip of the 2.0 design: no fill\nat all until it is selected, one hover tint shared by both states, a semibold\nlabel once selected, and the state carried on `aria-pressed` rather than by\nthe tint alone. Give it an `onClick` — a selectable tag that cannot be\nactivated is a colour and nothing else.\n\nSelecting one therefore changes its width by the difference between the\nregular and semibold label. In a wrapping filter row that is what the design\nasks for; if a fixed width matters, give the chip one.",
|
|
3980
4153
|
"props": [
|
|
3981
4154
|
{
|
|
3982
4155
|
"name": "label",
|
|
@@ -3995,7 +4168,7 @@
|
|
|
3995
4168
|
"type": "TagAppearance",
|
|
3996
4169
|
"required": false,
|
|
3997
4170
|
"defaultValue": "TagAppearance.Outlined",
|
|
3998
|
-
"description": "`outlined` is the filled chip on the raised\nlayer; `selectable` is the unfilled filter chip that tints and turns semibold when selected."
|
|
4171
|
+
"description": "`outlined` is the filled chip on the raised\nlayer; `selectable` is the unfilled filter chip that tints and turns semibold when selected;\n`bordered` is the compact rimmed value chip of a form field."
|
|
3999
4172
|
},
|
|
4000
4173
|
{
|
|
4001
4174
|
"name": "selected",
|
|
@@ -4909,6 +5082,73 @@
|
|
|
4909
5082
|
],
|
|
4910
5083
|
"sourceFile": "components/New/ResizableContainer/ResizableContainer.tsx"
|
|
4911
5084
|
},
|
|
5085
|
+
{
|
|
5086
|
+
"name": "ResizeHandle",
|
|
5087
|
+
"category": "Components_2_0",
|
|
5088
|
+
"generation": "2.0",
|
|
5089
|
+
"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`.",
|
|
5090
|
+
"props": [
|
|
5091
|
+
{
|
|
5092
|
+
"name": "width",
|
|
5093
|
+
"type": "number",
|
|
5094
|
+
"required": true,
|
|
5095
|
+
"description": "Current width of the panel in px."
|
|
5096
|
+
},
|
|
5097
|
+
{
|
|
5098
|
+
"name": "minWidth",
|
|
5099
|
+
"type": "number",
|
|
5100
|
+
"required": true,
|
|
5101
|
+
"description": "Smallest width in px."
|
|
5102
|
+
},
|
|
5103
|
+
{
|
|
5104
|
+
"name": "maxWidth",
|
|
5105
|
+
"type": "number",
|
|
5106
|
+
"required": true,
|
|
5107
|
+
"description": "Largest width in px."
|
|
5108
|
+
},
|
|
5109
|
+
{
|
|
5110
|
+
"name": "defaultWidth",
|
|
5111
|
+
"type": "number",
|
|
5112
|
+
"required": false,
|
|
5113
|
+
"description": "Width a double click resets to."
|
|
5114
|
+
},
|
|
5115
|
+
{
|
|
5116
|
+
"name": "onWidthChange",
|
|
5117
|
+
"type": "(width: number) => void",
|
|
5118
|
+
"required": true,
|
|
5119
|
+
"description": "Called with the next, limited width."
|
|
5120
|
+
},
|
|
5121
|
+
{
|
|
5122
|
+
"name": "label",
|
|
5123
|
+
"type": "string",
|
|
5124
|
+
"required": true,
|
|
5125
|
+
"description": "Accessible name of the separator."
|
|
5126
|
+
},
|
|
5127
|
+
{
|
|
5128
|
+
"name": "tooltip",
|
|
5129
|
+
"type": "ReactNode",
|
|
5130
|
+
"required": false,
|
|
5131
|
+
"description": "Hint shown beside the pointer once it rests on the handle."
|
|
5132
|
+
},
|
|
5133
|
+
{
|
|
5134
|
+
"name": "keyboardStep",
|
|
5135
|
+
"type": "number",
|
|
5136
|
+
"required": false,
|
|
5137
|
+
"defaultValue": "DEFAULT_KEYBOARD_STEP",
|
|
5138
|
+
"description": "Width change of one arrow key press in px."
|
|
5139
|
+
},
|
|
5140
|
+
{
|
|
5141
|
+
"name": "className",
|
|
5142
|
+
"type": "string",
|
|
5143
|
+
"required": false,
|
|
5144
|
+
"description": "Additional CSS classes for the handle."
|
|
5145
|
+
}
|
|
5146
|
+
],
|
|
5147
|
+
"examples": [
|
|
5148
|
+
"<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>"
|
|
5149
|
+
],
|
|
5150
|
+
"sourceFile": "components/New/ResizeHandle/ResizeHandle.tsx"
|
|
5151
|
+
},
|
|
4912
5152
|
{
|
|
4913
5153
|
"name": "ConditionalResizableContainer",
|
|
4914
5154
|
"category": "Components_2_0",
|
|
@@ -4932,7 +5172,7 @@
|
|
|
4932
5172
|
"name": "NoDataContent",
|
|
4933
5173
|
"category": "Components_2_0",
|
|
4934
5174
|
"generation": "2.0",
|
|
4935
|
-
"description": "Message shown in place of a list, table or grid that has nothing to show.\naliases: EmptyState|NoResults|ZeroState\nDesign system 2.0\n\nFills its container and centres an illustration, a headline
|
|
5175
|
+
"description": "Message shown in place of a list, table or grid that has nothing to show.\naliases: EmptyState|NoResults|ZeroState\nDesign system 2.0\n\nFills its container and centres an illustration, a headline, an optional\nsecondary line and an optional action. The icon is decorative, so it is\nhidden from assistive tech and the text carries the message on its own.",
|
|
4936
5176
|
"props": [
|
|
4937
5177
|
{
|
|
4938
5178
|
"name": "title",
|
|
@@ -4950,7 +5190,13 @@
|
|
|
4950
5190
|
"name": "icon",
|
|
4951
5191
|
"type": "ReactNode",
|
|
4952
5192
|
"required": false,
|
|
4953
|
-
"description": "Illustration above the title. Defaults to the
|
|
5193
|
+
"description": "Illustration above the title. Defaults to the placeholder-list card."
|
|
5194
|
+
},
|
|
5195
|
+
{
|
|
5196
|
+
"name": "action",
|
|
5197
|
+
"type": "ReactNode",
|
|
5198
|
+
"required": false,
|
|
5199
|
+
"description": "Optional way forward, rendered under the text."
|
|
4954
5200
|
},
|
|
4955
5201
|
{
|
|
4956
5202
|
"name": "live",
|
|
@@ -4979,104 +5225,232 @@
|
|
|
4979
5225
|
}
|
|
4980
5226
|
],
|
|
4981
5227
|
"examples": [
|
|
4982
|
-
"<NoDataContent\n title=\"No
|
|
5228
|
+
"<NoDataContent\n title=\"No chats found\"\n description=\"Try a different search term or check your filters.\"\n live\n/>\n\n<NoDataContent\n title=\"No chats yet\"\n description=\"Chats will appear here once you start one.\"\n action={<Button label=\"New chat\" onClick={createChat} />}\n/>"
|
|
4983
5229
|
],
|
|
4984
5230
|
"sourceFile": "components/New/NoDataContent/NoDataContent.tsx"
|
|
4985
5231
|
},
|
|
4986
5232
|
{
|
|
4987
|
-
"name": "
|
|
5233
|
+
"name": "StateScreen",
|
|
4988
5234
|
"category": "Components_2_0",
|
|
4989
5235
|
"generation": "2.0",
|
|
4990
|
-
"description": "A
|
|
5236
|
+
"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.",
|
|
4991
5237
|
"props": [
|
|
4992
5238
|
{
|
|
4993
5239
|
"name": "title",
|
|
4994
|
-
"type": "
|
|
4995
|
-
"required": true,
|
|
4996
|
-
"description": "Heading, rendered verbatim"
|
|
4997
|
-
},
|
|
4998
|
-
{
|
|
4999
|
-
"name": "items",
|
|
5000
|
-
"type": "TransferQueueItem[]",
|
|
5240
|
+
"type": "ReactNode",
|
|
5001
5241
|
"required": true,
|
|
5002
|
-
"description": "
|
|
5242
|
+
"description": "Headline of the state, rendered as the page's `h1`."
|
|
5003
5243
|
},
|
|
5004
5244
|
{
|
|
5005
|
-
"name": "
|
|
5006
|
-
"type": "
|
|
5007
|
-
"required":
|
|
5008
|
-
"description": "
|
|
5245
|
+
"name": "description",
|
|
5246
|
+
"type": "ReactNode",
|
|
5247
|
+
"required": false,
|
|
5248
|
+
"description": "Optional line under the title."
|
|
5009
5249
|
},
|
|
5010
5250
|
{
|
|
5011
|
-
"name": "
|
|
5012
|
-
"type": "
|
|
5251
|
+
"name": "icon",
|
|
5252
|
+
"type": "ReactNode",
|
|
5013
5253
|
"required": false,
|
|
5014
|
-
"description": "
|
|
5254
|
+
"description": "Glyph drawn in the round badge; the badge is omitted without one."
|
|
5015
5255
|
},
|
|
5016
5256
|
{
|
|
5017
|
-
"name": "
|
|
5018
|
-
"type": "
|
|
5257
|
+
"name": "action",
|
|
5258
|
+
"type": "ReactNode",
|
|
5019
5259
|
"required": false,
|
|
5020
|
-
"description": "
|
|
5260
|
+
"description": "The way out of the state, rendered under the text."
|
|
5021
5261
|
},
|
|
5022
5262
|
{
|
|
5023
|
-
"name": "
|
|
5024
|
-
"type": "
|
|
5263
|
+
"name": "className",
|
|
5264
|
+
"type": "string",
|
|
5025
5265
|
"required": false,
|
|
5026
|
-
"
|
|
5027
|
-
"description": "Delay before an all-succeeded queue closes itself; `0` disables"
|
|
5266
|
+
"description": "Additional CSS classes for the container."
|
|
5028
5267
|
},
|
|
5029
5268
|
{
|
|
5030
|
-
"name": "
|
|
5269
|
+
"name": "titleClassName",
|
|
5031
5270
|
"type": "string",
|
|
5032
5271
|
"required": false,
|
|
5033
|
-
"description": "Additional CSS classes for the
|
|
5272
|
+
"description": "Additional CSS classes for the title."
|
|
5034
5273
|
},
|
|
5035
5274
|
{
|
|
5036
|
-
"name": "
|
|
5275
|
+
"name": "descriptionClassName",
|
|
5037
5276
|
"type": "string",
|
|
5038
5277
|
"required": false,
|
|
5039
|
-
"description": "Additional CSS classes for the
|
|
5278
|
+
"description": "Additional CSS classes for the description."
|
|
5040
5279
|
}
|
|
5041
5280
|
],
|
|
5042
5281
|
"examples": [
|
|
5043
|
-
"<
|
|
5282
|
+
"<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/>"
|
|
5044
5283
|
],
|
|
5045
|
-
"sourceFile": "components/New/
|
|
5284
|
+
"sourceFile": "components/New/StateScreen/StateScreen.tsx"
|
|
5046
5285
|
},
|
|
5047
5286
|
{
|
|
5048
|
-
"name": "
|
|
5287
|
+
"name": "FormSection",
|
|
5049
5288
|
"category": "Components_2_0",
|
|
5050
5289
|
"generation": "2.0",
|
|
5051
|
-
"description": "A
|
|
5290
|
+
"description": "A titled section of a form or a builder column: a heading with an optional\naction at its end, an optional description and the section's content.\naliases: SectionRow|FieldSection|SettingsSection|FormGroup|SectionHeader\nDesign system 2.0\n\nThe root is a `section` named by its heading, so each section is a region a\nscreen reader can jump to. `headingLevel` picks the heading element so the\nsection fits the outline of the page it is mounted in; the variant only sets\nthe type scale. The action sits at the inline end of the heading row and\nnever shrinks; the content is rendered as given, with no field styling of its\nown. For a collapsible group, use `Accordion`; for a single labelled control,\nthe control's own `label`.",
|
|
5052
5291
|
"props": [
|
|
5053
5292
|
{
|
|
5054
|
-
"name": "
|
|
5055
|
-
"type": "
|
|
5056
|
-
"required":
|
|
5057
|
-
"description": "
|
|
5293
|
+
"name": "title",
|
|
5294
|
+
"type": "ReactNode",
|
|
5295
|
+
"required": true,
|
|
5296
|
+
"description": "Heading of the section; also names the `section` landmark."
|
|
5058
5297
|
},
|
|
5059
5298
|
{
|
|
5060
|
-
"name": "
|
|
5061
|
-
"type": "
|
|
5299
|
+
"name": "action",
|
|
5300
|
+
"type": "ReactNode",
|
|
5062
5301
|
"required": false,
|
|
5063
|
-
"description": "
|
|
5302
|
+
"description": "Control at the end of the heading row."
|
|
5064
5303
|
},
|
|
5065
5304
|
{
|
|
5066
|
-
"name": "
|
|
5067
|
-
"type": "
|
|
5305
|
+
"name": "description",
|
|
5306
|
+
"type": "ReactNode",
|
|
5068
5307
|
"required": false,
|
|
5069
|
-
"description": "
|
|
5308
|
+
"description": "Optional line under the heading."
|
|
5070
5309
|
},
|
|
5071
5310
|
{
|
|
5072
|
-
"name": "
|
|
5073
|
-
"type": "
|
|
5311
|
+
"name": "variant",
|
|
5312
|
+
"type": "FormSectionVariant",
|
|
5074
5313
|
"required": false,
|
|
5075
|
-
"
|
|
5314
|
+
"defaultValue": "FormSectionVariant.Row",
|
|
5315
|
+
"description": "Type scale of the heading and description. Defaults to `FormSectionVariant.Row`."
|
|
5076
5316
|
},
|
|
5077
5317
|
{
|
|
5078
|
-
"name": "
|
|
5079
|
-
"type": "
|
|
5318
|
+
"name": "headingLevel",
|
|
5319
|
+
"type": "FormSectionHeadingLevel",
|
|
5320
|
+
"required": false,
|
|
5321
|
+
"defaultValue": "3",
|
|
5322
|
+
"description": "Level of the heading element. Defaults to `3`."
|
|
5323
|
+
},
|
|
5324
|
+
{
|
|
5325
|
+
"name": "children",
|
|
5326
|
+
"type": "ReactNode",
|
|
5327
|
+
"required": false,
|
|
5328
|
+
"description": "The section's fields or values."
|
|
5329
|
+
},
|
|
5330
|
+
{
|
|
5331
|
+
"name": "className",
|
|
5332
|
+
"type": "string",
|
|
5333
|
+
"required": false,
|
|
5334
|
+
"description": "Additional CSS classes for the container."
|
|
5335
|
+
},
|
|
5336
|
+
{
|
|
5337
|
+
"name": "titleClassName",
|
|
5338
|
+
"type": "string",
|
|
5339
|
+
"required": false,
|
|
5340
|
+
"description": "Additional CSS classes for the heading."
|
|
5341
|
+
},
|
|
5342
|
+
{
|
|
5343
|
+
"name": "descriptionClassName",
|
|
5344
|
+
"type": "string",
|
|
5345
|
+
"required": false,
|
|
5346
|
+
"description": "Additional CSS classes for the description."
|
|
5347
|
+
},
|
|
5348
|
+
{
|
|
5349
|
+
"name": "contentClassName",
|
|
5350
|
+
"type": "string",
|
|
5351
|
+
"required": false,
|
|
5352
|
+
"description": "Additional CSS classes for the content wrapper."
|
|
5353
|
+
}
|
|
5354
|
+
],
|
|
5355
|
+
"examples": [
|
|
5356
|
+
"<FormSection\n title=\"Model\"\n variant={FormSectionVariant.Caption}\n action={<GhostButton label=\"Change\" onClick={openPicker} />}\n description=\"The model that answers in this application.\"\n>\n <SelectedEntityCard entityId={modelId} />\n</FormSection>"
|
|
5357
|
+
],
|
|
5358
|
+
"sourceFile": "components/New/FormSection/FormSection.tsx"
|
|
5359
|
+
},
|
|
5360
|
+
{
|
|
5361
|
+
"name": "TransferQueue",
|
|
5362
|
+
"category": "Components_2_0",
|
|
5363
|
+
"generation": "2.0",
|
|
5364
|
+
"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.",
|
|
5365
|
+
"props": [
|
|
5366
|
+
{
|
|
5367
|
+
"name": "title",
|
|
5368
|
+
"type": "string",
|
|
5369
|
+
"required": true,
|
|
5370
|
+
"description": "Heading, rendered verbatim"
|
|
5371
|
+
},
|
|
5372
|
+
{
|
|
5373
|
+
"name": "items",
|
|
5374
|
+
"type": "TransferQueueItem[]",
|
|
5375
|
+
"required": true,
|
|
5376
|
+
"description": "Items to show, in display order"
|
|
5377
|
+
},
|
|
5378
|
+
{
|
|
5379
|
+
"name": "onClose",
|
|
5380
|
+
"type": "() => void",
|
|
5381
|
+
"required": true,
|
|
5382
|
+
"description": "Called when the queue should close"
|
|
5383
|
+
},
|
|
5384
|
+
{
|
|
5385
|
+
"name": "onCancelItem",
|
|
5386
|
+
"type": "(id: string) => void",
|
|
5387
|
+
"required": false,
|
|
5388
|
+
"description": "Called with an item's id when the user cancels it"
|
|
5389
|
+
},
|
|
5390
|
+
{
|
|
5391
|
+
"name": "labels",
|
|
5392
|
+
"type": "Partial<TransferQueueLabels>",
|
|
5393
|
+
"required": false,
|
|
5394
|
+
"description": "Overrides for the English default strings"
|
|
5395
|
+
},
|
|
5396
|
+
{
|
|
5397
|
+
"name": "autoCloseDelay",
|
|
5398
|
+
"type": "number",
|
|
5399
|
+
"required": false,
|
|
5400
|
+
"defaultValue": "TRANSFER_QUEUE_AUTO_CLOSE_DELAY_MS",
|
|
5401
|
+
"description": "Delay before an all-succeeded queue closes itself; `0` disables"
|
|
5402
|
+
},
|
|
5403
|
+
{
|
|
5404
|
+
"name": "className",
|
|
5405
|
+
"type": "string",
|
|
5406
|
+
"required": false,
|
|
5407
|
+
"description": "Additional CSS classes for the root panel"
|
|
5408
|
+
},
|
|
5409
|
+
{
|
|
5410
|
+
"name": "bodyClassName",
|
|
5411
|
+
"type": "string",
|
|
5412
|
+
"required": false,
|
|
5413
|
+
"description": "Additional CSS classes for the list of rows"
|
|
5414
|
+
}
|
|
5415
|
+
],
|
|
5416
|
+
"examples": [
|
|
5417
|
+
"<TransferQueue\n title=\"Importing 2 files\"\n items={[\n { id: '1', name: 'report.pdf', status: TransferQueueItemStatus.Success },\n { id: '2', name: 'data.csv', status: TransferQueueItemStatus.InProgress, percent: 40 },\n ]}\n onClose={handleClose}\n onCancelItem={handleCancel}\n/>"
|
|
5418
|
+
],
|
|
5419
|
+
"sourceFile": "components/New/TransferQueue/TransferQueue.tsx"
|
|
5420
|
+
},
|
|
5421
|
+
{
|
|
5422
|
+
"name": "Grid",
|
|
5423
|
+
"category": "Components_2_0",
|
|
5424
|
+
"generation": "2.0",
|
|
5425
|
+
"description": "A data grid built on ag-Grid, wired to the 2.0 tokens and controls.\naliases: DataTable|TableGrid|DataGrid\nDesign system 2.0\n\nComes preconfigured with case-insensitive sorting, floating column filters,\ncolumns sized to the available width, a row context menu, truncation\ntooltips, and an empty state.\n\nThe selection column renders the 2.0 `Checkbox` and `Radio` instead of\nag-Grid's own inputs, so selection looks and behaves like every other control\nin the kit and the select-all reaches the `mixed` state when the selection is\npartial. The column stays faded out until the row is hovered, something is\nselected, or the keyboard reaches it.\n\nSelection works controlled or uncontrolled: pass `selectedRowIds` to own it,\nor read `onSelectionChange` and let the grid keep its own. A `sort` declared\non a column is honoured — 1.0 stripped it on startup.",
|
|
5426
|
+
"props": [
|
|
5427
|
+
{
|
|
5428
|
+
"name": "columnDefs",
|
|
5429
|
+
"type": "ColDef<T>[]",
|
|
5430
|
+
"required": false,
|
|
5431
|
+
"description": "Column definitions, in ag-Grid `ColDef` format."
|
|
5432
|
+
},
|
|
5433
|
+
{
|
|
5434
|
+
"name": "rowData",
|
|
5435
|
+
"type": "T[]",
|
|
5436
|
+
"required": false,
|
|
5437
|
+
"description": "Rows to display."
|
|
5438
|
+
},
|
|
5439
|
+
{
|
|
5440
|
+
"name": "additionalGridOptions",
|
|
5441
|
+
"type": "GridOptions<T>",
|
|
5442
|
+
"required": false,
|
|
5443
|
+
"description": "Extra ag-Grid options, merged over the defaults."
|
|
5444
|
+
},
|
|
5445
|
+
{
|
|
5446
|
+
"name": "getContextMenuItems",
|
|
5447
|
+
"type": "(row: T) => DropdownItem[]",
|
|
5448
|
+
"required": false,
|
|
5449
|
+
"description": "Items of the row context menu. Omit for no menu."
|
|
5450
|
+
},
|
|
5451
|
+
{
|
|
5452
|
+
"name": "className",
|
|
5453
|
+
"type": "string",
|
|
5080
5454
|
"required": false,
|
|
5081
5455
|
"description": "Additional CSS classes for the grid container."
|
|
5082
5456
|
},
|
|
@@ -9300,823 +9674,150 @@
|
|
|
9300
9674
|
"sourceFile": "components/DropdownIcon/DropdownIcon.tsx"
|
|
9301
9675
|
},
|
|
9302
9676
|
{
|
|
9303
|
-
"name": "
|
|
9304
|
-
"category": "
|
|
9677
|
+
"name": "DialSchemaRenderer",
|
|
9678
|
+
"category": "Name",
|
|
9679
|
+
"generation": "1.0",
|
|
9680
|
+
"description": "Renders a JSON Schema as a form UI with collapsible sections, validation, and default values.\naliases: SchemaRenderer|JsonSchemaForm\nDesign system 1.0",
|
|
9681
|
+
"props": [],
|
|
9682
|
+
"examples": [
|
|
9683
|
+
"<DialSchemaRenderer\n schema={mySchema}\n onChange={(v) => console.log(v)}\n onDefaultValues={(defaults) => console.log(defaults)}\n/>"
|
|
9684
|
+
],
|
|
9685
|
+
"sourceFile": "components/SchemaRenderer/SchemaRenderer.tsx",
|
|
9686
|
+
"supersededBy": "SchemaRenderer"
|
|
9687
|
+
},
|
|
9688
|
+
{
|
|
9689
|
+
"name": "DialJsonEditor",
|
|
9690
|
+
"category": "Data Display",
|
|
9305
9691
|
"generation": "1.0",
|
|
9306
|
-
"description": "
|
|
9692
|
+
"description": "A JSON editor component built on top of Monaco Editor.\nDesign system 1.0\nProvides syntax highlighting, validation, and theme support for JSON editing.\n\nLazy-loaded component. This component is not exported directly from the UI kit to avoid errors when using with SSR. Use `LazyDialJsonEditor` and the manifest `lazy` field for dynamic import guidance.",
|
|
9307
9693
|
"props": [
|
|
9308
9694
|
{
|
|
9309
|
-
"name": "
|
|
9310
|
-
"type": "string",
|
|
9695
|
+
"name": "value",
|
|
9696
|
+
"type": "string | undefined",
|
|
9311
9697
|
"required": false,
|
|
9312
|
-
"description": "
|
|
9698
|
+
"description": "The JSON string value to edit"
|
|
9313
9699
|
},
|
|
9314
9700
|
{
|
|
9315
|
-
"name": "
|
|
9701
|
+
"name": "currentTheme",
|
|
9316
9702
|
"type": "string",
|
|
9317
|
-
"required":
|
|
9318
|
-
"description": "
|
|
9703
|
+
"required": true,
|
|
9704
|
+
"description": "The theme to apply to the editor"
|
|
9319
9705
|
},
|
|
9320
9706
|
{
|
|
9321
|
-
"name": "
|
|
9322
|
-
"type": "
|
|
9707
|
+
"name": "themesConfig",
|
|
9708
|
+
"type": "Record<EditorThemes, editor.IStandaloneThemeData>",
|
|
9323
9709
|
"required": false,
|
|
9324
|
-
"
|
|
9325
|
-
|
|
9326
|
-
{
|
|
9327
|
-
"name": "managerLabel",
|
|
9328
|
-
"type": "ReactNode",
|
|
9329
|
-
"required": false
|
|
9710
|
+
"defaultValue": "EDITOR_THEMES_CONFIG",
|
|
9711
|
+
"description": "Custom theme configurations"
|
|
9330
9712
|
},
|
|
9331
9713
|
{
|
|
9332
|
-
"name": "
|
|
9333
|
-
"type": "string",
|
|
9334
|
-
"required":
|
|
9335
|
-
"description": "
|
|
9714
|
+
"name": "onChange",
|
|
9715
|
+
"type": "(value: string | undefined) => void",
|
|
9716
|
+
"required": true,
|
|
9717
|
+
"description": "Callback fired when the editor content changes"
|
|
9336
9718
|
},
|
|
9337
9719
|
{
|
|
9338
|
-
"name": "
|
|
9339
|
-
"type": "
|
|
9720
|
+
"name": "onValidateJSON",
|
|
9721
|
+
"type": "OnValidate",
|
|
9340
9722
|
"required": false,
|
|
9341
|
-
"description": "
|
|
9723
|
+
"description": "Callback fired when JSON validation occurs"
|
|
9342
9724
|
},
|
|
9343
9725
|
{
|
|
9344
|
-
"name": "
|
|
9345
|
-
"type": "
|
|
9726
|
+
"name": "options",
|
|
9727
|
+
"type": "editor.IStandaloneEditorConstructionOptions",
|
|
9346
9728
|
"required": false,
|
|
9347
|
-
"description": "
|
|
9348
|
-
}
|
|
9729
|
+
"description": "Additional Monaco editor options"
|
|
9730
|
+
}
|
|
9731
|
+
],
|
|
9732
|
+
"examples": [],
|
|
9733
|
+
"sourceFile": "components/JsonEditor/JsonEditor.tsx",
|
|
9734
|
+
"lazy": {
|
|
9735
|
+
"loaderExportName": "LazyDialJsonEditor",
|
|
9736
|
+
"packageImport": "@epam/ai-dial-ui-kit",
|
|
9737
|
+
"ssr": false,
|
|
9738
|
+
"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);"
|
|
9739
|
+
}
|
|
9740
|
+
},
|
|
9741
|
+
{
|
|
9742
|
+
"name": "DialMarkdownEditor",
|
|
9743
|
+
"category": "Data Display",
|
|
9744
|
+
"generation": "1.0",
|
|
9745
|
+
"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.",
|
|
9746
|
+
"props": [
|
|
9349
9747
|
{
|
|
9350
|
-
"name": "
|
|
9351
|
-
"type": "
|
|
9748
|
+
"name": "value",
|
|
9749
|
+
"type": "string",
|
|
9352
9750
|
"required": false,
|
|
9353
|
-
"description": "
|
|
9751
|
+
"description": "The current markdown content"
|
|
9354
9752
|
},
|
|
9355
9753
|
{
|
|
9356
|
-
"name": "
|
|
9357
|
-
"type": "
|
|
9754
|
+
"name": "onChange",
|
|
9755
|
+
"type": "(value: string) => void",
|
|
9358
9756
|
"required": false,
|
|
9359
|
-
"description": "
|
|
9757
|
+
"description": "Callback fired when the editor content changes"
|
|
9360
9758
|
},
|
|
9361
9759
|
{
|
|
9362
|
-
"name": "
|
|
9363
|
-
"type": "
|
|
9760
|
+
"name": "height",
|
|
9761
|
+
"type": "number",
|
|
9364
9762
|
"required": false,
|
|
9365
|
-
"
|
|
9763
|
+
"defaultValue": "300",
|
|
9764
|
+
"description": "Height of the editor in pixels"
|
|
9366
9765
|
},
|
|
9367
9766
|
{
|
|
9368
|
-
"name": "
|
|
9369
|
-
"type": "
|
|
9767
|
+
"name": "preview",
|
|
9768
|
+
"type": "PreviewType",
|
|
9370
9769
|
"required": false,
|
|
9371
|
-
"
|
|
9770
|
+
"defaultValue": "'edit'",
|
|
9771
|
+
"description": "Preview mode ('edit', 'live', 'preview')"
|
|
9372
9772
|
},
|
|
9373
9773
|
{
|
|
9374
|
-
"name": "
|
|
9375
|
-
"type": "
|
|
9774
|
+
"name": "theme",
|
|
9775
|
+
"type": "EditorThemes",
|
|
9376
9776
|
"required": false,
|
|
9377
|
-
"
|
|
9777
|
+
"defaultValue": "EditorThemes.dark",
|
|
9778
|
+
"description": "Theme for the editor ('light' or 'dark')"
|
|
9378
9779
|
},
|
|
9379
9780
|
{
|
|
9380
|
-
"name": "
|
|
9381
|
-
"type": "
|
|
9781
|
+
"name": "className",
|
|
9782
|
+
"type": "string",
|
|
9382
9783
|
"required": false,
|
|
9383
|
-
"description": "
|
|
9784
|
+
"description": "Additional CSS classes for the container"
|
|
9384
9785
|
},
|
|
9385
9786
|
{
|
|
9386
|
-
"name": "
|
|
9387
|
-
"type": "
|
|
9787
|
+
"name": "placeholder",
|
|
9788
|
+
"type": "ReactNode",
|
|
9388
9789
|
"required": false,
|
|
9389
|
-
"description": "
|
|
9790
|
+
"description": "Content to display when the editor is empty"
|
|
9390
9791
|
},
|
|
9391
9792
|
{
|
|
9392
|
-
"name": "
|
|
9793
|
+
"name": "showDragbar",
|
|
9393
9794
|
"type": "boolean",
|
|
9394
|
-
"required": false
|
|
9395
|
-
},
|
|
9396
|
-
{
|
|
9397
|
-
"name": "onShowHiddenFilesChange",
|
|
9398
|
-
"type": "(value: boolean) => void",
|
|
9399
|
-
"required": false
|
|
9400
|
-
},
|
|
9401
|
-
{
|
|
9402
|
-
"name": "treeOptions",
|
|
9403
|
-
"type": "FileTreeOptions",
|
|
9404
9795
|
"required": false,
|
|
9405
|
-
"
|
|
9406
|
-
|
|
9796
|
+
"defaultValue": "true",
|
|
9797
|
+
"description": "Whether to show the bottom drag bar that resizes the editor height"
|
|
9798
|
+
}
|
|
9799
|
+
],
|
|
9800
|
+
"examples": [
|
|
9801
|
+
"<DialMarkdownEditor\nvalue=\"# Hello World\"\nonChange={(value) => console.log(value)}\nheight={400}\ntheme=\"dark\"\n/>"
|
|
9802
|
+
],
|
|
9803
|
+
"sourceFile": "components/MarkdownEditor/MarkdownEditor.tsx",
|
|
9804
|
+
"lazy": {
|
|
9805
|
+
"loaderExportName": "LazyDialMarkdownEditor",
|
|
9806
|
+
"packageImport": "@epam/ai-dial-ui-kit",
|
|
9807
|
+
"ssr": false,
|
|
9808
|
+
"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);"
|
|
9809
|
+
},
|
|
9810
|
+
"supersededBy": "MarkdownEditor"
|
|
9811
|
+
}
|
|
9812
|
+
],
|
|
9813
|
+
"types": [
|
|
9814
|
+
{
|
|
9815
|
+
"name": "AnalyticsCardVariant",
|
|
9816
|
+
"kind": "enum",
|
|
9817
|
+
"members": [
|
|
9407
9818
|
{
|
|
9408
|
-
"name": "
|
|
9409
|
-
"
|
|
9410
|
-
"required": false,
|
|
9411
|
-
"description": "Options for the file manager toolbar"
|
|
9412
|
-
},
|
|
9413
|
-
{
|
|
9414
|
-
"name": "showNavigationPanel",
|
|
9415
|
-
"type": "boolean",
|
|
9416
|
-
"required": false,
|
|
9417
|
-
"description": "Determines whether to display the navigation panel."
|
|
9418
|
-
},
|
|
9419
|
-
{
|
|
9420
|
-
"name": "navigationPanelOptions",
|
|
9421
|
-
"type": "NavigationPanelOptions",
|
|
9422
|
-
"required": false,
|
|
9423
|
-
"description": "Options for the breadcrumb and search panel (value/onSearchChange for controlled search)"
|
|
9424
|
-
},
|
|
9425
|
-
{
|
|
9426
|
-
"name": "gridOptions",
|
|
9427
|
-
"type": "GridOptions",
|
|
9428
|
-
"required": false,
|
|
9429
|
-
"description": "Options forwarded to `DialGrid`; supports `columnDefs` override and `filterable` flag and date locale/options"
|
|
9430
|
-
},
|
|
9431
|
-
{
|
|
9432
|
-
"name": "bulkActionsToolbarOptions",
|
|
9433
|
-
"type": "BulkActionsToolbarOptions",
|
|
9434
|
-
"required": false,
|
|
9435
|
-
"description": "Options for the bulk actions toolbar shown when items are selected"
|
|
9436
|
-
},
|
|
9437
|
-
{
|
|
9438
|
-
"name": "deleteConfirmationOptions",
|
|
9439
|
-
"type": "DeleteConfirmationOptions",
|
|
9440
|
-
"required": false,
|
|
9441
|
-
"description": "Options for the delete confirmation popup"
|
|
9442
|
-
},
|
|
9443
|
-
{
|
|
9444
|
-
"name": "destinationFolderPopupOptions",
|
|
9445
|
-
"type": "DialFileManagerDestinationFolderPopupOptions",
|
|
9446
|
-
"required": false
|
|
9447
|
-
},
|
|
9448
|
-
{
|
|
9449
|
-
"name": "conflictResolutionPopupOptions",
|
|
9450
|
-
"type": "DialFileManagerConflictResolutionPopupOptions",
|
|
9451
|
-
"required": false
|
|
9452
|
-
},
|
|
9453
|
-
{
|
|
9454
|
-
"name": "compactViewWidthBreakpoint",
|
|
9455
|
-
"type": "number",
|
|
9456
|
-
"required": false,
|
|
9457
|
-
"description": "Width (px) below which the component switches to compact view."
|
|
9458
|
-
},
|
|
9459
|
-
{
|
|
9460
|
-
"name": "customBreakpointRef",
|
|
9461
|
-
"type": "RefObject<HTMLElement | null>",
|
|
9462
|
-
"required": false
|
|
9463
|
-
},
|
|
9464
|
-
{
|
|
9465
|
-
"name": "onPathChange",
|
|
9466
|
-
"type": "(nextPath?: string) => void",
|
|
9467
|
-
"required": false,
|
|
9468
|
-
"description": "Callback fired when user navigates via tree or breadcrumb"
|
|
9469
|
-
},
|
|
9470
|
-
{
|
|
9471
|
-
"name": "onTableFileClick",
|
|
9472
|
-
"type": "(file: GridRow) => void",
|
|
9473
|
-
"required": false,
|
|
9474
|
-
"description": "Callback fired when a file row is clicked in the grid"
|
|
9475
|
-
},
|
|
9476
|
-
{
|
|
9477
|
-
"name": "handleSelectionClick",
|
|
9478
|
-
"type": "(file: GridRow[]) => void",
|
|
9479
|
-
"required": false
|
|
9480
|
-
},
|
|
9481
|
-
{
|
|
9482
|
-
"name": "onGridApiChange",
|
|
9483
|
-
"type": "(api: GridApi) => void",
|
|
9484
|
-
"required": false
|
|
9485
|
-
},
|
|
9486
|
-
{
|
|
9487
|
-
"name": "onCopyFiles",
|
|
9488
|
-
"type": "(items: DialCopiedItem[], destinationFolder: string) => void",
|
|
9489
|
-
"required": false,
|
|
9490
|
-
"description": "Callback fired when files copy-paste"
|
|
9491
|
-
},
|
|
9492
|
-
{
|
|
9493
|
-
"name": "onMoveToFiles",
|
|
9494
|
-
"type": "(\n items: DialCopiedItem[],\n sourceFolder: string,\n destinationFolder: string,\n ) => void",
|
|
9495
|
-
"required": false,
|
|
9496
|
-
"description": "Callback fired when files cut-paste or rename"
|
|
9497
|
-
},
|
|
9498
|
-
{
|
|
9499
|
-
"name": "onDeleteFiles",
|
|
9500
|
-
"type": "(items: DialDeletedItem[], sourceFolder: string) => void",
|
|
9501
|
-
"required": false,
|
|
9502
|
-
"description": "Callback fired when files are deleted"
|
|
9503
|
-
},
|
|
9504
|
-
{
|
|
9505
|
-
"name": "onDownloadFiles",
|
|
9506
|
-
"type": "(items: DialFile[]) => void",
|
|
9507
|
-
"required": false,
|
|
9508
|
-
"description": "Callback fired when files are downloaded"
|
|
9509
|
-
},
|
|
9510
|
-
{
|
|
9511
|
-
"name": "onRenameValidate",
|
|
9512
|
-
"type": "(value: string, item: DialFile) => string | null",
|
|
9513
|
-
"required": false,
|
|
9514
|
-
"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."
|
|
9515
|
-
},
|
|
9516
|
-
{
|
|
9517
|
-
"name": "renameValidationMessages",
|
|
9518
|
-
"type": "RenameValidationMessages",
|
|
9519
|
-
"required": false,
|
|
9520
|
-
"description": "Optional custom validation messages for renaming files and folders. Note that you need to add `${NotificationVariant.Warning}__` prefix to the `hiddenItemWarning` message to display it as a warning with the warning icon."
|
|
9521
|
-
},
|
|
9522
|
-
{
|
|
9523
|
-
"name": "forbiddenSymbolsRegExp",
|
|
9524
|
-
"type": "RegExp",
|
|
9525
|
-
"required": false,
|
|
9526
|
-
"description": "Optional RegExp will be used in the validation for the files and folders names. The \"g\" and \"y\" flags are not allowed in this RegExp and will be ignored."
|
|
9527
|
-
},
|
|
9528
|
-
{
|
|
9529
|
-
"name": "forbiddenSymbolsTooltip",
|
|
9530
|
-
"type": "ReactNode",
|
|
9531
|
-
"required": false,
|
|
9532
|
-
"description": "Optional tooltip displayed when a file or folder name contains forbidden characters"
|
|
9533
|
-
},
|
|
9534
|
-
{
|
|
9535
|
-
"name": "skipForbiddenSymbolsCheckForActions",
|
|
9536
|
-
"type": "boolean",
|
|
9537
|
-
"required": false,
|
|
9538
|
-
"description": "When provided, skips the forbidden-symbols check when building row action menus, so all actions are shown even for items whose names contain forbidden characters."
|
|
9539
|
-
},
|
|
9540
|
-
{
|
|
9541
|
-
"name": "onCreateFolder",
|
|
9542
|
-
"type": "(\n file: DialUploadFileItem,\n folderPath: string,\n fileId: string,\n ) => void | Promise<void>",
|
|
9543
|
-
"required": false
|
|
9544
|
-
},
|
|
9545
|
-
{
|
|
9546
|
-
"name": "onCreateFolderValidate",
|
|
9547
|
-
"type": "(\n name: string,\n parentFolder: DialFile,\n ) => string | null",
|
|
9548
|
-
"required": false
|
|
9549
|
-
},
|
|
9550
|
-
{
|
|
9551
|
-
"name": "folderCreationValidationMessages",
|
|
9552
|
-
"type": "CreateFolderValidationMessages",
|
|
9553
|
-
"required": false
|
|
9554
|
-
},
|
|
9555
|
-
{
|
|
9556
|
-
"name": "getDisabledTooltip",
|
|
9557
|
-
"type": "(row: FileManagerGridRow) => string | undefined",
|
|
9558
|
-
"required": false
|
|
9559
|
-
},
|
|
9560
|
-
{
|
|
9561
|
-
"name": "fileTooLargeTooltip",
|
|
9562
|
-
"type": "string",
|
|
9563
|
-
"required": false,
|
|
9564
|
-
"description": "Optional tooltip text displayed when a file is too large."
|
|
9565
|
-
},
|
|
9566
|
-
{
|
|
9567
|
-
"name": "unsupportedFileTypeTooltip",
|
|
9568
|
-
"type": "string",
|
|
9569
|
-
"required": false,
|
|
9570
|
-
"description": "Optional tooltip text displayed when an unsupported file type is selected."
|
|
9571
|
-
},
|
|
9572
|
-
{
|
|
9573
|
-
"name": "onUploadFiles",
|
|
9574
|
-
"type": "(\n files: DialUploadFileItem[],\n destinationFolder: string,\n ) => void",
|
|
9575
|
-
"required": false,
|
|
9576
|
-
"description": "Callback fired when files are uploaded"
|
|
9577
|
-
},
|
|
9578
|
-
{
|
|
9579
|
-
"name": "prepareUploadFileName",
|
|
9580
|
-
"type": "(name: string) => string",
|
|
9581
|
-
"required": false,
|
|
9582
|
-
"description": "Optional mapper applied to each uploaded item's name before conflict resolution runs and before `onUploadFiles`/`onUploadArchive` are called. Use it to sanitize or normalize names (e.g. stripping forbidden symbols). Conflict detection is performed against the mapped names, so renames take place before the conflict check."
|
|
9583
|
-
},
|
|
9584
|
-
{
|
|
9585
|
-
"name": "onValidateUpload",
|
|
9586
|
-
"type": "(\n files: DialUploadFileItem[],\n existingFiles: DialFile[],\n destinationFolder: string,\n ) => FileUploadValidationResult | Promise<FileUploadValidationResult>",
|
|
9587
|
-
"required": false,
|
|
9588
|
-
"description": "Callback to validate files before upload"
|
|
9589
|
-
},
|
|
9590
|
-
{
|
|
9591
|
-
"name": "maxFileSize",
|
|
9592
|
-
"type": "number",
|
|
9593
|
-
"required": false,
|
|
9594
|
-
"description": "Maximum allowed file size for uploads in bytes"
|
|
9595
|
-
},
|
|
9596
|
-
{
|
|
9597
|
-
"name": "uploadValidationMessages",
|
|
9598
|
-
"type": "FileUploadValidationMessages",
|
|
9599
|
-
"required": false,
|
|
9600
|
-
"description": "Custom validation messages for file uploads. Consumers can customize these strings for a11y and copy consistency."
|
|
9601
|
-
},
|
|
9602
|
-
{
|
|
9603
|
-
"name": "onUploadArchive",
|
|
9604
|
-
"type": "(\n file: File,\n name: string,\n destinationFolder: string,\n ) => void",
|
|
9605
|
-
"required": false,
|
|
9606
|
-
"description": "Callback fired when archive files are uploaded"
|
|
9607
|
-
},
|
|
9608
|
-
{
|
|
9609
|
-
"name": "uploadEnabled",
|
|
9610
|
-
"type": "boolean",
|
|
9611
|
-
"required": false,
|
|
9612
|
-
"description": "Whether files uploads are enabled"
|
|
9613
|
-
},
|
|
9614
|
-
{
|
|
9615
|
-
"name": "fileMetadataPopupOptions",
|
|
9616
|
-
"type": "FileMetadataPopupOptions",
|
|
9617
|
-
"required": false
|
|
9618
|
-
},
|
|
9619
|
-
{
|
|
9620
|
-
"name": "onGetInfo",
|
|
9621
|
-
"type": "(file: DialFile) => void | Promise<void>",
|
|
9622
|
-
"required": false
|
|
9623
|
-
},
|
|
9624
|
-
{
|
|
9625
|
-
"name": "onUnshareFiles",
|
|
9626
|
-
"type": "(files: DialFile[]) => void | Promise<void>",
|
|
9627
|
-
"required": false
|
|
9628
|
-
},
|
|
9629
|
-
{
|
|
9630
|
-
"name": "onRemoveFilesAccess",
|
|
9631
|
-
"type": "(files: DialFile[]) => void | Promise<void>",
|
|
9632
|
-
"required": false
|
|
9633
|
-
},
|
|
9634
|
-
{
|
|
9635
|
-
"name": "actionsRef",
|
|
9636
|
-
"type": "Ref<DialFileManagerActionsRef>",
|
|
9637
|
-
"required": false,
|
|
9638
|
-
"description": "Ref exposing a limited set of imperative File Manager actions (e.g., creating a folder). Allows parent components to trigger internal behaviors programmatically. This ref is not a DOM ref and should be used only for invoking the component’s public actions API."
|
|
9639
|
-
},
|
|
9640
|
-
{
|
|
9641
|
-
"name": "onSearchFiles",
|
|
9642
|
-
"type": "(folder: string, query: string) => void",
|
|
9643
|
-
"required": false
|
|
9644
|
-
},
|
|
9645
|
-
{
|
|
9646
|
-
"name": "searchInProgress",
|
|
9647
|
-
"type": "boolean",
|
|
9648
|
-
"required": false
|
|
9649
|
-
},
|
|
9650
|
-
{
|
|
9651
|
-
"name": "searchResults",
|
|
9652
|
-
"type": "DialFile[]",
|
|
9653
|
-
"required": false
|
|
9654
|
-
},
|
|
9655
|
-
{
|
|
9656
|
-
"name": "clearSearchResults",
|
|
9657
|
-
"type": "() => void",
|
|
9658
|
-
"required": false
|
|
9659
|
-
},
|
|
9660
|
-
{
|
|
9661
|
-
"name": "emptyStateIcon",
|
|
9662
|
-
"type": "ReactNode",
|
|
9663
|
-
"required": false,
|
|
9664
|
-
"description": "Optional icon for empty state"
|
|
9665
|
-
},
|
|
9666
|
-
{
|
|
9667
|
-
"name": "emptyStateTitle",
|
|
9668
|
-
"type": "string",
|
|
9669
|
-
"required": false,
|
|
9670
|
-
"description": "Optional title text displayed when there are no files."
|
|
9671
|
-
},
|
|
9672
|
-
{
|
|
9673
|
-
"name": "emptyStateDescription",
|
|
9674
|
-
"type": "string",
|
|
9675
|
-
"required": false,
|
|
9676
|
-
"description": "Optional description text displayed below the empty state title."
|
|
9677
|
-
},
|
|
9678
|
-
{
|
|
9679
|
-
"name": "sharedWithMeIds",
|
|
9680
|
-
"type": "string[]",
|
|
9681
|
-
"required": false,
|
|
9682
|
-
"description": "Optional list of file IDs that are shared with the current user."
|
|
9683
|
-
},
|
|
9684
|
-
{
|
|
9685
|
-
"name": "onFolderPopupPathChange",
|
|
9686
|
-
"type": "(newPath?: string) => void",
|
|
9687
|
-
"required": false
|
|
9688
|
-
},
|
|
9689
|
-
{
|
|
9690
|
-
"name": "onManagePermissions",
|
|
9691
|
-
"type": "(path?: string) => void",
|
|
9692
|
-
"required": false
|
|
9693
|
-
},
|
|
9694
|
-
{
|
|
9695
|
-
"name": "onPreview",
|
|
9696
|
-
"type": "(path?: string) => void",
|
|
9697
|
-
"required": false
|
|
9698
|
-
},
|
|
9699
|
-
{
|
|
9700
|
-
"name": "onOpenInNewTab",
|
|
9701
|
-
"type": "(file: DialFile) => void",
|
|
9702
|
-
"required": false
|
|
9703
|
-
},
|
|
9704
|
-
{
|
|
9705
|
-
"name": "previewExtensions",
|
|
9706
|
-
"type": "string[]",
|
|
9707
|
-
"required": false
|
|
9708
|
-
},
|
|
9709
|
-
{
|
|
9710
|
-
"name": "isRenameFileAvailable",
|
|
9711
|
-
"type": "boolean",
|
|
9712
|
-
"required": false
|
|
9713
|
-
},
|
|
9714
|
-
{
|
|
9715
|
-
"name": "isDuplicateFolderAvailable",
|
|
9716
|
-
"type": "boolean",
|
|
9717
|
-
"required": false
|
|
9718
|
-
},
|
|
9719
|
-
{
|
|
9720
|
-
"name": "customUploadFileAction",
|
|
9721
|
-
"type": "(\n currentPath?: string,\n currentFolder?: DialFile,\n ) => void",
|
|
9722
|
-
"required": false
|
|
9723
|
-
},
|
|
9724
|
-
{
|
|
9725
|
-
"name": "customCreateNewItemAction",
|
|
9726
|
-
"type": "(\n currentPath?: string,\n currentFolder?: DialFile,\n ) => void",
|
|
9727
|
-
"required": false
|
|
9728
|
-
},
|
|
9729
|
-
{
|
|
9730
|
-
"name": "customDuplicateAction",
|
|
9731
|
-
"type": "(items?: DialFile[]) => void",
|
|
9732
|
-
"required": false
|
|
9733
|
-
},
|
|
9734
|
-
{
|
|
9735
|
-
"name": "customDeleteItemsAction",
|
|
9736
|
-
"type": "(\n items: DialFile[],\n parentFolderPath: string,\n ) => void",
|
|
9737
|
-
"required": false
|
|
9738
|
-
},
|
|
9739
|
-
{
|
|
9740
|
-
"name": "customDownloadItemsAction",
|
|
9741
|
-
"type": "(items?: DialFile[]) => void",
|
|
9742
|
-
"required": false
|
|
9743
|
-
},
|
|
9744
|
-
{
|
|
9745
|
-
"name": "nonClickableTableColumns",
|
|
9746
|
-
"type": "FileManagerColumnKey[]",
|
|
9747
|
-
"required": false
|
|
9748
|
-
},
|
|
9749
|
-
{
|
|
9750
|
-
"name": "hideSearchPathItemName",
|
|
9751
|
-
"type": "boolean",
|
|
9752
|
-
"required": false
|
|
9753
|
-
},
|
|
9754
|
-
{
|
|
9755
|
-
"name": "showHiddenFileSwitcherInDestinationPopup",
|
|
9756
|
-
"type": "boolean",
|
|
9757
|
-
"required": false
|
|
9758
|
-
},
|
|
9759
|
-
{
|
|
9760
|
-
"name": "showCreateFolderButtonInDestinationPopup",
|
|
9761
|
-
"type": "boolean",
|
|
9762
|
-
"required": false
|
|
9763
|
-
},
|
|
9764
|
-
{
|
|
9765
|
-
"name": "autoSelectUploadedItems",
|
|
9766
|
-
"type": "boolean",
|
|
9767
|
-
"required": false,
|
|
9768
|
-
"description": "When true, automatically selects newly uploaded or created items (files, archives, folders) after they appear in the current directory. Useful in attach flows where the user expects immediate selection feedback."
|
|
9769
|
-
},
|
|
9770
|
-
{
|
|
9771
|
-
"name": "maxNewFolderDepth",
|
|
9772
|
-
"type": "number",
|
|
9773
|
-
"required": false
|
|
9774
|
-
},
|
|
9775
|
-
{
|
|
9776
|
-
"name": "onNewFolderDepthExceeded",
|
|
9777
|
-
"type": "() => void",
|
|
9778
|
-
"required": false
|
|
9779
|
-
},
|
|
9780
|
-
{
|
|
9781
|
-
"name": "initialUploadFilesOpen",
|
|
9782
|
-
"type": "boolean",
|
|
9783
|
-
"required": false
|
|
9784
|
-
}
|
|
9785
|
-
],
|
|
9786
|
-
"examples": [
|
|
9787
|
-
"// Minimal usage\n<DialFileManager items={files} path=\"/All files\" />\n\n// With loading state\n<DialFileManager items={files} path=\"/All files\" filesLoading={true} />\n\n// With controlled search and disabled grid filters\nconst [query, setQuery] = useState('');\n<DialFileManager\n items={files}\n path=\"/All files/Design\"\n navigationPanelOptions={{\n searchable: true,\n value: query,\n onSearchChange: setQuery,\n }}\n gridOptions={{ filterable: false }}\n/>\n\n// With custom tree width and title\n<DialFileManager\n items={files}\n treeOptions={{ width: 300, title: 'Explorer', showFiles: true }}\n/>\n\n// With explicit provider (advanced apps)\n<FileManagerProvider items={files} path=\"/All files\">\n <MyCustomHeader />\n <DialFileManagerView /> // internal view\n <MyCustomFooter />\n</FileManagerProvider>"
|
|
9788
|
-
],
|
|
9789
|
-
"sourceFile": "components/FileManager/FileManager.tsx"
|
|
9790
|
-
},
|
|
9791
|
-
{
|
|
9792
|
-
"name": "DialDestinationFolderPopup",
|
|
9793
|
-
"category": "FileManager/components",
|
|
9794
|
-
"generation": "1.0",
|
|
9795
|
-
"description": "DestinationFolderPopup\naliases: FolderSelector|PathChooser\nDesign system 1.0",
|
|
9796
|
-
"props": [],
|
|
9797
|
-
"examples": [
|
|
9798
|
-
"<DestinationFolderPopup\n open={isOpen}\n onClose={handleClose}\n onConfirm={handleConfirm}\n mode=\"copy\"\n title=\"Copy 3 files\"\n items={files}\n rootItem={rootFolder}\n path={currentPath}\n onPathChange={setCurrentPath}\n/>"
|
|
9799
|
-
],
|
|
9800
|
-
"sourceFile": "components/FileManager/components/DestinationFolderPopup/DestinationFolderPopup.tsx"
|
|
9801
|
-
},
|
|
9802
|
-
{
|
|
9803
|
-
"name": "DialFoldersTree",
|
|
9804
|
-
"category": "Data Display",
|
|
9805
|
-
"generation": "1.0",
|
|
9806
|
-
"description": "DialFoldersTree — A hierarchical folder tree component with nested expand/collapse support, selection highlighting,\nDesign system 1.0\nand optional file display.",
|
|
9807
|
-
"props": [
|
|
9808
|
-
{
|
|
9809
|
-
"name": "items",
|
|
9810
|
-
"type": "DialFile[]",
|
|
9811
|
-
"required": true,
|
|
9812
|
-
"description": "Array of folder and file nodes to display in the tree."
|
|
9813
|
-
},
|
|
9814
|
-
{
|
|
9815
|
-
"name": "expandedPaths",
|
|
9816
|
-
"type": "Set<string>",
|
|
9817
|
-
"required": false,
|
|
9818
|
-
"description": "Set of folder paths that should be expanded."
|
|
9819
|
-
},
|
|
9820
|
-
{
|
|
9821
|
-
"name": "loadingPaths",
|
|
9822
|
-
"type": "Set<string>",
|
|
9823
|
-
"required": false,
|
|
9824
|
-
"defaultValue": "new Set()",
|
|
9825
|
-
"description": "Set of folder paths currently loading (shows spinner or placeholder)."
|
|
9826
|
-
},
|
|
9827
|
-
{
|
|
9828
|
-
"name": "loadedPaths",
|
|
9829
|
-
"type": "Set<string>",
|
|
9830
|
-
"required": false,
|
|
9831
|
-
"defaultValue": "new Set()",
|
|
9832
|
-
"description": "Set of folder paths that have loaded."
|
|
9833
|
-
},
|
|
9834
|
-
{
|
|
9835
|
-
"name": "sharedByMePaths",
|
|
9836
|
-
"type": "Set<string>",
|
|
9837
|
-
"required": false,
|
|
9838
|
-
"defaultValue": "new Set()",
|
|
9839
|
-
"description": "Set of items paths that the user has shared with others. Enables UI indicators (icons/badges)."
|
|
9840
|
-
},
|
|
9841
|
-
{
|
|
9842
|
-
"name": "selectedPath",
|
|
9843
|
-
"type": "string",
|
|
9844
|
-
"required": false,
|
|
9845
|
-
"description": "Path representing the currently selected folder or file."
|
|
9846
|
-
},
|
|
9847
|
-
{
|
|
9848
|
-
"name": "renamedPath",
|
|
9849
|
-
"type": "string",
|
|
9850
|
-
"required": false,
|
|
9851
|
-
"description": "Path of the folder or file currently being edited."
|
|
9852
|
-
},
|
|
9853
|
-
{
|
|
9854
|
-
"name": "createdFolderPath",
|
|
9855
|
-
"type": "string | null",
|
|
9856
|
-
"required": false,
|
|
9857
|
-
"description": "Optional Path of the new created folder."
|
|
9858
|
-
},
|
|
9859
|
-
{
|
|
9860
|
-
"name": "showFiles",
|
|
9861
|
-
"type": "boolean",
|
|
9862
|
-
"required": false,
|
|
9863
|
-
"defaultValue": "false",
|
|
9864
|
-
"description": "Whether to show files in addition to folders."
|
|
9865
|
-
},
|
|
9866
|
-
{
|
|
9867
|
-
"name": "rootItemPath",
|
|
9868
|
-
"type": "string",
|
|
9869
|
-
"required": false,
|
|
9870
|
-
"description": "Path of the folder to treat as the custom root node (no context menu, special label)."
|
|
9871
|
-
},
|
|
9872
|
-
{
|
|
9873
|
-
"name": "rootItemLabel",
|
|
9874
|
-
"type": "string",
|
|
9875
|
-
"required": false,
|
|
9876
|
-
"description": "Label to display for the root node instead of its actual name."
|
|
9877
|
-
},
|
|
9878
|
-
{
|
|
9879
|
-
"name": "emptyStateTitle",
|
|
9880
|
-
"type": "string",
|
|
9881
|
-
"required": false,
|
|
9882
|
-
"defaultValue": "'No Folders'",
|
|
9883
|
-
"description": "Title text displayed when there are no items."
|
|
9884
|
-
},
|
|
9885
|
-
{
|
|
9886
|
-
"name": "emptyStateDescription",
|
|
9887
|
-
"type": "string",
|
|
9888
|
-
"required": false,
|
|
9889
|
-
"description": "Optional description text for the empty state."
|
|
9890
|
-
},
|
|
9891
|
-
{
|
|
9892
|
-
"name": "emptyStateIcon",
|
|
9893
|
-
"type": "ReactNode",
|
|
9894
|
-
"required": false,
|
|
9895
|
-
"description": "Optional icon to display in the empty state."
|
|
9896
|
-
},
|
|
9897
|
-
{
|
|
9898
|
-
"name": "onItemClick",
|
|
9899
|
-
"type": "(item: DialFile) => void",
|
|
9900
|
-
"required": false,
|
|
9901
|
-
"description": "Callback fired when a folder or file is clicked (receives the corresponding `DialFile` node)."
|
|
9902
|
-
},
|
|
9903
|
-
{
|
|
9904
|
-
"name": "onRenameSave",
|
|
9905
|
-
"type": "(value: string) => void",
|
|
9906
|
-
"required": false,
|
|
9907
|
-
"description": "Callback fired when editing is confirmed with a valid name (receives the new name)."
|
|
9908
|
-
},
|
|
9909
|
-
{
|
|
9910
|
-
"name": "onRenameCancel",
|
|
9911
|
-
"type": "() => void",
|
|
9912
|
-
"required": false,
|
|
9913
|
-
"description": "Callback fired when editing is cancelled."
|
|
9914
|
-
},
|
|
9915
|
-
{
|
|
9916
|
-
"name": "onRenameValidate",
|
|
9917
|
-
"type": "(value: string, item: DialFile) => string | null",
|
|
9918
|
-
"required": false,
|
|
9919
|
-
"description": "Function to validate the new name during editing. Should return an error string or `null` if valid."
|
|
9920
|
-
},
|
|
9921
|
-
{
|
|
9922
|
-
"name": "onCreateFolderSave",
|
|
9923
|
-
"type": "(value: string) => void",
|
|
9924
|
-
"required": false,
|
|
9925
|
-
"description": "Optional Callback fired when create new folder is confirmed"
|
|
9926
|
-
},
|
|
9927
|
-
{
|
|
9928
|
-
"name": "onCreateFolderCancel",
|
|
9929
|
-
"type": "() => void",
|
|
9930
|
-
"required": false,
|
|
9931
|
-
"description": "Optional Callback fired when create new folder is cancelled"
|
|
9932
|
-
},
|
|
9933
|
-
{
|
|
9934
|
-
"name": "getContextMenuItems",
|
|
9935
|
-
"type": "(item: DialFile) => DropdownItem[]",
|
|
9936
|
-
"required": false,
|
|
9937
|
-
"description": "Function returning context menu items for a given node."
|
|
9938
|
-
},
|
|
9939
|
-
{
|
|
9940
|
-
"name": "areHiddenFilesVisible",
|
|
9941
|
-
"type": "boolean",
|
|
9942
|
-
"required": false,
|
|
9943
|
-
"defaultValue": "false",
|
|
9944
|
-
"description": "Whether hidden files (dotfiles) should be visible in the tree."
|
|
9945
|
-
},
|
|
9946
|
-
{
|
|
9947
|
-
"name": "onExpandedPathsChange",
|
|
9948
|
-
"type": "(expandedPaths: Set<string>) => void",
|
|
9949
|
-
"required": false
|
|
9950
|
-
},
|
|
9951
|
-
{
|
|
9952
|
-
"name": "forbiddenSymbolsRegExp",
|
|
9953
|
-
"type": "RegExp",
|
|
9954
|
-
"required": false,
|
|
9955
|
-
"description": "Optional RegExp used to validate folder and file names for forbidden characters."
|
|
9956
|
-
},
|
|
9957
|
-
{
|
|
9958
|
-
"name": "forbiddenSymbolsTooltip",
|
|
9959
|
-
"type": "ReactNode",
|
|
9960
|
-
"required": false,
|
|
9961
|
-
"description": "Optional tooltip content displayed when a name contains forbidden characters."
|
|
9962
|
-
},
|
|
9963
|
-
{
|
|
9964
|
-
"name": "newFolderDefaultName",
|
|
9965
|
-
"type": "string",
|
|
9966
|
-
"required": false,
|
|
9967
|
-
"description": "Optional new folder default name."
|
|
9968
|
-
}
|
|
9969
|
-
],
|
|
9970
|
-
"examples": [
|
|
9971
|
-
"// Basic usage with folders and files\nconst items: DialFile[] = [\n {\n path: '/documents',\n name: 'Documents',\n nodeType: DialFileNodeType.FOLDER,\n items: [\n {\n path: '/documents/file.txt',\n name: 'file.txt',\n nodeType: DialFileNodeType.FILE,\n },\n ],\n },\n];\n\n<DialFoldersTree items={items} showFiles />\n\n// With expanded and selected items\nconst expandedPaths = new Set(['/documents']);\n\n<DialFoldersTree\n items={items}\n expandedPaths={expandedPaths}\n selectedPath=\"/documents/file.txt\"\n onItemClick={(item) => console.log('Clicked:', item.path)}\n/>\n\n// With inline renaming and validation\n<DialFoldersTree\n items={items}\n renamedPath=\"/documents\"\n onRenameValidate={(value) => (value.trim() ? null : 'Name cannot be empty')}\n onRenameSave={(newValue) => console.log('Saved new name:', newValue)}\n onRenameCancel={() => console.log('Edit cancelled')}\n/>\n\n// With custom empty state and context menu\nconst getContextMenuItems = (item: DialFile): DropdownItem[] => [\n { key: 'rename', label: 'Rename' },\n { key: 'delete', label: 'Delete', danger: true },\n];\n\n<DialFoldersTree\n items={[]}\n emptyStateTitle=\"No Content\"\n emptyStateDescription=\"Upload files or create a new folder to get started.\"\n emptyStateIcon={<IconFolderPlus />}\n getContextMenuItems={getContextMenuItems}\n/>"
|
|
9972
|
-
],
|
|
9973
|
-
"sourceFile": "components/FileManager/components/FoldersTree/FoldersTree.tsx"
|
|
9974
|
-
},
|
|
9975
|
-
{
|
|
9976
|
-
"name": "DialSchemaRenderer",
|
|
9977
|
-
"category": "Name",
|
|
9978
|
-
"generation": "1.0",
|
|
9979
|
-
"description": "Renders a JSON Schema as a form UI with collapsible sections, validation, and default values.\naliases: SchemaRenderer|JsonSchemaForm\nDesign system 1.0",
|
|
9980
|
-
"props": [],
|
|
9981
|
-
"examples": [
|
|
9982
|
-
"<DialSchemaRenderer\n schema={mySchema}\n onChange={(v) => console.log(v)}\n onDefaultValues={(defaults) => console.log(defaults)}\n/>"
|
|
9983
|
-
],
|
|
9984
|
-
"sourceFile": "components/SchemaRenderer/SchemaRenderer.tsx",
|
|
9985
|
-
"supersededBy": "SchemaRenderer"
|
|
9986
|
-
},
|
|
9987
|
-
{
|
|
9988
|
-
"name": "DialJsonEditor",
|
|
9989
|
-
"category": "Data Display",
|
|
9990
|
-
"generation": "1.0",
|
|
9991
|
-
"description": "A JSON editor component built on top of Monaco Editor.\nDesign system 1.0\nProvides syntax highlighting, validation, and theme support for JSON editing.\n\nLazy-loaded component. This component is not exported directly from the UI kit to avoid errors when using with SSR. Use `LazyDialJsonEditor` and the manifest `lazy` field for dynamic import guidance.",
|
|
9992
|
-
"props": [
|
|
9993
|
-
{
|
|
9994
|
-
"name": "value",
|
|
9995
|
-
"type": "string | undefined",
|
|
9996
|
-
"required": false,
|
|
9997
|
-
"description": "The JSON string value to edit"
|
|
9998
|
-
},
|
|
9999
|
-
{
|
|
10000
|
-
"name": "currentTheme",
|
|
10001
|
-
"type": "string",
|
|
10002
|
-
"required": true,
|
|
10003
|
-
"description": "The theme to apply to the editor"
|
|
10004
|
-
},
|
|
10005
|
-
{
|
|
10006
|
-
"name": "themesConfig",
|
|
10007
|
-
"type": "Record<EditorThemes, editor.IStandaloneThemeData>",
|
|
10008
|
-
"required": false,
|
|
10009
|
-
"defaultValue": "EDITOR_THEMES_CONFIG",
|
|
10010
|
-
"description": "Custom theme configurations"
|
|
10011
|
-
},
|
|
10012
|
-
{
|
|
10013
|
-
"name": "onChange",
|
|
10014
|
-
"type": "(value: string | undefined) => void",
|
|
10015
|
-
"required": true,
|
|
10016
|
-
"description": "Callback fired when the editor content changes"
|
|
10017
|
-
},
|
|
10018
|
-
{
|
|
10019
|
-
"name": "onValidateJSON",
|
|
10020
|
-
"type": "OnValidate",
|
|
10021
|
-
"required": false,
|
|
10022
|
-
"description": "Callback fired when JSON validation occurs"
|
|
10023
|
-
},
|
|
10024
|
-
{
|
|
10025
|
-
"name": "options",
|
|
10026
|
-
"type": "editor.IStandaloneEditorConstructionOptions",
|
|
10027
|
-
"required": false,
|
|
10028
|
-
"description": "Additional Monaco editor options"
|
|
10029
|
-
}
|
|
10030
|
-
],
|
|
10031
|
-
"examples": [],
|
|
10032
|
-
"sourceFile": "components/JsonEditor/JsonEditor.tsx",
|
|
10033
|
-
"lazy": {
|
|
10034
|
-
"loaderExportName": "LazyDialJsonEditor",
|
|
10035
|
-
"packageImport": "@epam/ai-dial-ui-kit",
|
|
10036
|
-
"ssr": false,
|
|
10037
|
-
"nextDynamicExample": "import dynamic from 'next/dynamic';\nimport { LazyDialJsonEditor } from '@epam/ai-dial-ui-kit';\n\nconst DialJsonEditor = dynamic(\n async () => (await LazyDialJsonEditor()).DialJsonEditor,\n { ssr: false },\n);"
|
|
10038
|
-
}
|
|
10039
|
-
},
|
|
10040
|
-
{
|
|
10041
|
-
"name": "DialMarkdownEditor",
|
|
10042
|
-
"category": "Data Display",
|
|
10043
|
-
"generation": "1.0",
|
|
10044
|
-
"description": "A Markdown editor component built on top of\n\nLazy-loaded component. This component is not exported directly from the UI kit to avoid errors when using with SSR. Use `LazyDialMarkdownEditor` and the manifest `lazy` field for dynamic import guidance.",
|
|
10045
|
-
"props": [
|
|
10046
|
-
{
|
|
10047
|
-
"name": "value",
|
|
10048
|
-
"type": "string",
|
|
10049
|
-
"required": false,
|
|
10050
|
-
"description": "The current markdown content"
|
|
10051
|
-
},
|
|
10052
|
-
{
|
|
10053
|
-
"name": "onChange",
|
|
10054
|
-
"type": "(value: string) => void",
|
|
10055
|
-
"required": false,
|
|
10056
|
-
"description": "Callback fired when the editor content changes"
|
|
10057
|
-
},
|
|
10058
|
-
{
|
|
10059
|
-
"name": "height",
|
|
10060
|
-
"type": "number",
|
|
10061
|
-
"required": false,
|
|
10062
|
-
"defaultValue": "300",
|
|
10063
|
-
"description": "Height of the editor in pixels"
|
|
10064
|
-
},
|
|
10065
|
-
{
|
|
10066
|
-
"name": "preview",
|
|
10067
|
-
"type": "PreviewType",
|
|
10068
|
-
"required": false,
|
|
10069
|
-
"defaultValue": "'edit'",
|
|
10070
|
-
"description": "Preview mode ('edit', 'live', 'preview')"
|
|
10071
|
-
},
|
|
10072
|
-
{
|
|
10073
|
-
"name": "theme",
|
|
10074
|
-
"type": "EditorThemes",
|
|
10075
|
-
"required": false,
|
|
10076
|
-
"defaultValue": "EditorThemes.dark",
|
|
10077
|
-
"description": "Theme for the editor ('light' or 'dark')"
|
|
10078
|
-
},
|
|
10079
|
-
{
|
|
10080
|
-
"name": "className",
|
|
10081
|
-
"type": "string",
|
|
10082
|
-
"required": false,
|
|
10083
|
-
"description": "Additional CSS classes for the container"
|
|
10084
|
-
},
|
|
10085
|
-
{
|
|
10086
|
-
"name": "placeholder",
|
|
10087
|
-
"type": "ReactNode",
|
|
10088
|
-
"required": false,
|
|
10089
|
-
"description": "Content to display when the editor is empty"
|
|
10090
|
-
},
|
|
10091
|
-
{
|
|
10092
|
-
"name": "showDragbar",
|
|
10093
|
-
"type": "boolean",
|
|
10094
|
-
"required": false,
|
|
10095
|
-
"defaultValue": "true",
|
|
10096
|
-
"description": "Whether to show the bottom drag bar that resizes the editor height"
|
|
10097
|
-
}
|
|
10098
|
-
],
|
|
10099
|
-
"examples": [
|
|
10100
|
-
"<DialMarkdownEditor\nvalue=\"# Hello World\"\nonChange={(value) => console.log(value)}\nheight={400}\ntheme=\"dark\"\n/>"
|
|
10101
|
-
],
|
|
10102
|
-
"sourceFile": "components/MarkdownEditor/MarkdownEditor.tsx",
|
|
10103
|
-
"lazy": {
|
|
10104
|
-
"loaderExportName": "LazyDialMarkdownEditor",
|
|
10105
|
-
"packageImport": "@epam/ai-dial-ui-kit",
|
|
10106
|
-
"ssr": false,
|
|
10107
|
-
"nextDynamicExample": "import dynamic from 'next/dynamic';\nimport { LazyDialMarkdownEditor } from '@epam/ai-dial-ui-kit';\n\nconst DialMarkdownEditor = dynamic(\n async () => (await LazyDialMarkdownEditor()).DialMarkdownEditor,\n { ssr: false },\n);"
|
|
10108
|
-
},
|
|
10109
|
-
"supersededBy": "MarkdownEditor"
|
|
10110
|
-
}
|
|
10111
|
-
],
|
|
10112
|
-
"types": [
|
|
10113
|
-
{
|
|
10114
|
-
"name": "AnalyticsCardVariant",
|
|
10115
|
-
"kind": "enum",
|
|
10116
|
-
"members": [
|
|
10117
|
-
{
|
|
10118
|
-
"name": "Default",
|
|
10119
|
-
"value": "'default'"
|
|
9819
|
+
"name": "Default",
|
|
9820
|
+
"value": "'default'"
|
|
10120
9821
|
},
|
|
10121
9822
|
{
|
|
10122
9823
|
"name": "Compact",
|
|
@@ -10148,169 +9849,43 @@
|
|
|
10148
9849
|
"name": "AnalyticsCardCompareItem",
|
|
10149
9850
|
"kind": "interface",
|
|
10150
9851
|
"members": [
|
|
10151
|
-
{
|
|
10152
|
-
"name": "title",
|
|
10153
|
-
"value": "ReactNode"
|
|
10154
|
-
},
|
|
10155
|
-
{
|
|
10156
|
-
"name": "value",
|
|
10157
|
-
"value": "ReactNode"
|
|
10158
|
-
}
|
|
10159
|
-
],
|
|
10160
|
-
"sourceFile": "models/analytics.ts"
|
|
10161
|
-
},
|
|
10162
|
-
{
|
|
10163
|
-
"name": "DialTooltipContainerOptions",
|
|
10164
|
-
"kind": "interface",
|
|
10165
|
-
"members": [
|
|
10166
|
-
{
|
|
10167
|
-
"name": "initialOpen?",
|
|
10168
|
-
"value": "boolean"
|
|
10169
|
-
},
|
|
10170
|
-
{
|
|
10171
|
-
"name": "placement?",
|
|
10172
|
-
"value": "Placement"
|
|
10173
|
-
},
|
|
10174
|
-
{
|
|
10175
|
-
"name": "isTriggerClickable?",
|
|
10176
|
-
"value": "boolean"
|
|
10177
|
-
},
|
|
10178
|
-
{
|
|
10179
|
-
"name": "open?",
|
|
10180
|
-
"value": "boolean"
|
|
10181
|
-
},
|
|
10182
|
-
{
|
|
10183
|
-
"name": "onOpenChange?",
|
|
10184
|
-
"value": "(open: boolean) => void"
|
|
10185
|
-
}
|
|
10186
|
-
],
|
|
10187
|
-
"sourceFile": "components/Tooltip/TooltipContext.tsx"
|
|
10188
|
-
},
|
|
10189
|
-
{
|
|
10190
|
-
"name": "FileManagerGridRow",
|
|
10191
|
-
"kind": "interface",
|
|
10192
|
-
"members": [
|
|
10193
|
-
{
|
|
10194
|
-
"name": "id",
|
|
10195
|
-
"value": "string"
|
|
10196
|
-
},
|
|
10197
|
-
{
|
|
10198
|
-
"name": "name",
|
|
10199
|
-
"value": "string"
|
|
10200
|
-
},
|
|
10201
|
-
{
|
|
10202
|
-
"name": "updatedAt?",
|
|
10203
|
-
"value": "string"
|
|
10204
|
-
},
|
|
10205
|
-
{
|
|
10206
|
-
"name": "size?",
|
|
10207
|
-
"value": "number"
|
|
10208
|
-
},
|
|
10209
|
-
{
|
|
10210
|
-
"name": "author?",
|
|
10211
|
-
"value": "string"
|
|
10212
|
-
},
|
|
10213
|
-
{
|
|
10214
|
-
"name": "path",
|
|
10215
|
-
"value": "string"
|
|
10216
|
-
},
|
|
10217
|
-
{
|
|
10218
|
-
"name": "parentPath?",
|
|
10219
|
-
"value": "string | null"
|
|
10220
|
-
},
|
|
10221
|
-
{
|
|
10222
|
-
"name": "nodeType",
|
|
10223
|
-
"value": "DialFileNodeType"
|
|
10224
|
-
},
|
|
10225
|
-
{
|
|
10226
|
-
"name": "extension?",
|
|
10227
|
-
"value": "string"
|
|
10228
|
-
},
|
|
10229
|
-
{
|
|
10230
|
-
"name": "isTemporary?",
|
|
10231
|
-
"value": "boolean"
|
|
10232
|
-
},
|
|
10233
|
-
{
|
|
10234
|
-
"name": "owner?",
|
|
10235
|
-
"value": "string"
|
|
10236
|
-
},
|
|
10237
|
-
{
|
|
10238
|
-
"name": "contentType?",
|
|
10239
|
-
"value": "string"
|
|
10240
|
-
},
|
|
10241
|
-
{
|
|
10242
|
-
"name": "contentLength?",
|
|
10243
|
-
"value": "number"
|
|
9852
|
+
{
|
|
9853
|
+
"name": "title",
|
|
9854
|
+
"value": "ReactNode"
|
|
10244
9855
|
},
|
|
10245
9856
|
{
|
|
10246
|
-
"name": "
|
|
10247
|
-
"value": "
|
|
9857
|
+
"name": "value",
|
|
9858
|
+
"value": "ReactNode"
|
|
10248
9859
|
}
|
|
10249
9860
|
],
|
|
10250
|
-
"sourceFile": "
|
|
9861
|
+
"sourceFile": "models/analytics.ts"
|
|
10251
9862
|
},
|
|
10252
9863
|
{
|
|
10253
|
-
"name": "
|
|
9864
|
+
"name": "DialTooltipContainerOptions",
|
|
10254
9865
|
"kind": "interface",
|
|
10255
9866
|
"members": [
|
|
10256
9867
|
{
|
|
10257
|
-
"name": "
|
|
10258
|
-
"value": "(\n | ColDef<GridRow>\n | ((\n dateLocale: Intl.LocalesArgument,\n dateOptions: Intl.DateTimeFormatOptions | undefined,\n isCompactView: boolean,\n ) => ColDef<GridRow, unknown>)\n )[]"
|
|
10259
|
-
},
|
|
10260
|
-
{
|
|
10261
|
-
"name": "filterable?",
|
|
10262
|
-
"value": "boolean"
|
|
10263
|
-
},
|
|
10264
|
-
{
|
|
10265
|
-
"name": "dateLocale?",
|
|
10266
|
-
"value": "Intl.LocalesArgument"
|
|
10267
|
-
},
|
|
10268
|
-
{
|
|
10269
|
-
"name": "dateOptions?",
|
|
10270
|
-
"value": "Intl.DateTimeFormatOptions"
|
|
10271
|
-
},
|
|
10272
|
-
{
|
|
10273
|
-
"name": "showFiles?",
|
|
10274
|
-
"value": "boolean"
|
|
10275
|
-
},
|
|
10276
|
-
{
|
|
10277
|
-
"name": "showFolders?",
|
|
9868
|
+
"name": "initialOpen?",
|
|
10278
9869
|
"value": "boolean"
|
|
10279
9870
|
},
|
|
10280
9871
|
{
|
|
10281
|
-
"name": "
|
|
10282
|
-
"value": "
|
|
10283
|
-
},
|
|
10284
|
-
{
|
|
10285
|
-
"name": "selectionMode?",
|
|
10286
|
-
"value": "GridSelectionMode"
|
|
9872
|
+
"name": "placement?",
|
|
9873
|
+
"value": "Placement"
|
|
10287
9874
|
},
|
|
10288
9875
|
{
|
|
10289
|
-
"name": "
|
|
9876
|
+
"name": "isTriggerClickable?",
|
|
10290
9877
|
"value": "boolean"
|
|
10291
9878
|
},
|
|
10292
9879
|
{
|
|
10293
|
-
"name": "
|
|
9880
|
+
"name": "open?",
|
|
10294
9881
|
"value": "boolean"
|
|
10295
9882
|
},
|
|
10296
9883
|
{
|
|
10297
|
-
"name": "
|
|
10298
|
-
"value": "
|
|
9884
|
+
"name": "onOpenChange?",
|
|
9885
|
+
"value": "(open: boolean) => void"
|
|
10299
9886
|
}
|
|
10300
9887
|
],
|
|
10301
|
-
"sourceFile": "components/
|
|
10302
|
-
},
|
|
10303
|
-
{
|
|
10304
|
-
"name": "ToolbarOptions",
|
|
10305
|
-
"kind": "type",
|
|
10306
|
-
"sourceFile": "components/FileManager/FileManager.tsx",
|
|
10307
|
-
"typeBody": "Omit<\n DialFileManagerToolbarProps,\n 'areHiddenFilesVisible' | 'onToggleHiddenFiles'\n> & {\n newActions?: {\n uploadFiles?: NewAction;\n newFolder?: NewAction;\n uploadArchive?: NewAction;\n newItem?: NewAction;\n };\n showHiddenFilesToggle?: boolean;\n}"
|
|
10308
|
-
},
|
|
10309
|
-
{
|
|
10310
|
-
"name": "BulkActionsToolbarOptions",
|
|
10311
|
-
"kind": "type",
|
|
10312
|
-
"sourceFile": "components/FileManager/FileManager.tsx",
|
|
10313
|
-
"typeBody": "Omit<\n DialFileManagerBulkActionsToolbarProps,\n 'onClearSelection' | 'actions' | 'selectedCount'\n> & {\n actionLabels?: {\n [DialFileManagerActions.Duplicate]?: string;\n [DialFileManagerActions.Copy]?: string;\n [DialFileManagerActions.Download]?: string;\n [DialFileManagerActions.Delete]?: string;\n [DialFileManagerActions.Move]?: string;\n [DialFileManagerActions.Unshare]?: string;\n [DialFileManagerActions.RemoveAccess]?: string;\n };\n}"
|
|
9888
|
+
"sourceFile": "components/Tooltip/TooltipContext.tsx"
|
|
10314
9889
|
},
|
|
10315
9890
|
{
|
|
10316
9891
|
"name": "EditorThemes",
|
|
@@ -10573,6 +10148,22 @@
|
|
|
10573
10148
|
],
|
|
10574
10149
|
"sourceFile": "types/tab.ts"
|
|
10575
10150
|
},
|
|
10151
|
+
{
|
|
10152
|
+
"name": "TabStatus",
|
|
10153
|
+
"kind": "enum",
|
|
10154
|
+
"members": [
|
|
10155
|
+
{
|
|
10156
|
+
"name": "Error",
|
|
10157
|
+
"value": "'error'"
|
|
10158
|
+
},
|
|
10159
|
+
{
|
|
10160
|
+
"name": "Warning",
|
|
10161
|
+
"value": "'warning'"
|
|
10162
|
+
}
|
|
10163
|
+
],
|
|
10164
|
+
"sourceFile": "types/tab.ts",
|
|
10165
|
+
"description": "Validation state a tab can flag on itself, e.g. a form section with problems."
|
|
10166
|
+
},
|
|
10576
10167
|
{
|
|
10577
10168
|
"name": "TabView",
|
|
10578
10169
|
"kind": "enum",
|
|
@@ -10665,131 +10256,6 @@
|
|
|
10665
10256
|
],
|
|
10666
10257
|
"sourceFile": "types/select.ts"
|
|
10667
10258
|
},
|
|
10668
|
-
{
|
|
10669
|
-
"name": "DialFileManagerTabs",
|
|
10670
|
-
"kind": "enum",
|
|
10671
|
-
"members": [
|
|
10672
|
-
{
|
|
10673
|
-
"name": "MyFiles",
|
|
10674
|
-
"value": "'my_files'"
|
|
10675
|
-
},
|
|
10676
|
-
{
|
|
10677
|
-
"name": "Shared",
|
|
10678
|
-
"value": "'shared'"
|
|
10679
|
-
},
|
|
10680
|
-
{
|
|
10681
|
-
"name": "Organization",
|
|
10682
|
-
"value": "'organization'"
|
|
10683
|
-
},
|
|
10684
|
-
{
|
|
10685
|
-
"name": "Review",
|
|
10686
|
-
"value": "'review'"
|
|
10687
|
-
}
|
|
10688
|
-
],
|
|
10689
|
-
"sourceFile": "types/file-manager.ts"
|
|
10690
|
-
},
|
|
10691
|
-
{
|
|
10692
|
-
"name": "DialFileManagerActions",
|
|
10693
|
-
"kind": "enum",
|
|
10694
|
-
"members": [
|
|
10695
|
-
{
|
|
10696
|
-
"name": "AddSibling",
|
|
10697
|
-
"value": "'addSibling'"
|
|
10698
|
-
},
|
|
10699
|
-
{
|
|
10700
|
-
"name": "AddChild",
|
|
10701
|
-
"value": "'addChild'"
|
|
10702
|
-
},
|
|
10703
|
-
{
|
|
10704
|
-
"name": "Duplicate",
|
|
10705
|
-
"value": "'duplicate'"
|
|
10706
|
-
},
|
|
10707
|
-
{
|
|
10708
|
-
"name": "Copy",
|
|
10709
|
-
"value": "'copy'"
|
|
10710
|
-
},
|
|
10711
|
-
{
|
|
10712
|
-
"name": "Move",
|
|
10713
|
-
"value": "'move'"
|
|
10714
|
-
},
|
|
10715
|
-
{
|
|
10716
|
-
"name": "Download",
|
|
10717
|
-
"value": "'download'"
|
|
10718
|
-
},
|
|
10719
|
-
{
|
|
10720
|
-
"name": "Delete",
|
|
10721
|
-
"value": "'delete'"
|
|
10722
|
-
},
|
|
10723
|
-
{
|
|
10724
|
-
"name": "Rename",
|
|
10725
|
-
"value": "'rename'"
|
|
10726
|
-
},
|
|
10727
|
-
{
|
|
10728
|
-
"name": "Info",
|
|
10729
|
-
"value": "'info'"
|
|
10730
|
-
},
|
|
10731
|
-
{
|
|
10732
|
-
"name": "Unshare",
|
|
10733
|
-
"value": "'unshare'"
|
|
10734
|
-
},
|
|
10735
|
-
{
|
|
10736
|
-
"name": "RemoveAccess",
|
|
10737
|
-
"value": "'removeAccess'"
|
|
10738
|
-
},
|
|
10739
|
-
{
|
|
10740
|
-
"name": "ManagePermissions",
|
|
10741
|
-
"value": "'managePermissions'"
|
|
10742
|
-
},
|
|
10743
|
-
{
|
|
10744
|
-
"name": "Preview",
|
|
10745
|
-
"value": "'preview'"
|
|
10746
|
-
},
|
|
10747
|
-
{
|
|
10748
|
-
"name": "OpenInNewTab",
|
|
10749
|
-
"value": "'openInNewTab'"
|
|
10750
|
-
}
|
|
10751
|
-
],
|
|
10752
|
-
"sourceFile": "types/file-manager.ts"
|
|
10753
|
-
},
|
|
10754
|
-
{
|
|
10755
|
-
"name": "FileManagerColumnKey",
|
|
10756
|
-
"kind": "enum",
|
|
10757
|
-
"members": [
|
|
10758
|
-
{
|
|
10759
|
-
"name": "Name",
|
|
10760
|
-
"value": "'name'"
|
|
10761
|
-
},
|
|
10762
|
-
{
|
|
10763
|
-
"name": "UpdatedAt",
|
|
10764
|
-
"value": "'updatedAt'"
|
|
10765
|
-
},
|
|
10766
|
-
{
|
|
10767
|
-
"name": "Size",
|
|
10768
|
-
"value": "'size'"
|
|
10769
|
-
},
|
|
10770
|
-
{
|
|
10771
|
-
"name": "Author",
|
|
10772
|
-
"value": "'author'"
|
|
10773
|
-
},
|
|
10774
|
-
{
|
|
10775
|
-
"name": "Owner",
|
|
10776
|
-
"value": "'owner'"
|
|
10777
|
-
},
|
|
10778
|
-
{
|
|
10779
|
-
"name": "Path",
|
|
10780
|
-
"value": "'path'"
|
|
10781
|
-
},
|
|
10782
|
-
{
|
|
10783
|
-
"name": "Actions",
|
|
10784
|
-
"value": "'__actions'"
|
|
10785
|
-
},
|
|
10786
|
-
{
|
|
10787
|
-
"name": "Version",
|
|
10788
|
-
"value": "'version'"
|
|
10789
|
-
}
|
|
10790
|
-
],
|
|
10791
|
-
"sourceFile": "types/file-manager.ts"
|
|
10792
|
-
},
|
|
10793
10259
|
{
|
|
10794
10260
|
"name": "FlexibleActionsDirection",
|
|
10795
10261
|
"kind": "enum",
|
|
@@ -11287,76 +10753,6 @@
|
|
|
11287
10753
|
],
|
|
11288
10754
|
"sourceFile": "models/file.ts"
|
|
11289
10755
|
},
|
|
11290
|
-
{
|
|
11291
|
-
"name": "DialCopiedItem",
|
|
11292
|
-
"kind": "interface",
|
|
11293
|
-
"members": [
|
|
11294
|
-
{
|
|
11295
|
-
"name": "sourceUrl",
|
|
11296
|
-
"value": "string"
|
|
11297
|
-
},
|
|
11298
|
-
{
|
|
11299
|
-
"name": "destinationUrl",
|
|
11300
|
-
"value": "string"
|
|
11301
|
-
},
|
|
11302
|
-
{
|
|
11303
|
-
"name": "overwrite?",
|
|
11304
|
-
"value": "boolean"
|
|
11305
|
-
},
|
|
11306
|
-
{
|
|
11307
|
-
"name": "nodeType",
|
|
11308
|
-
"value": "DialFileNodeType"
|
|
11309
|
-
}
|
|
11310
|
-
],
|
|
11311
|
-
"sourceFile": "models/file-manager.ts"
|
|
11312
|
-
},
|
|
11313
|
-
{
|
|
11314
|
-
"name": "DialDeletedItem",
|
|
11315
|
-
"kind": "interface",
|
|
11316
|
-
"members": [
|
|
11317
|
-
{
|
|
11318
|
-
"name": "sourceUrl",
|
|
11319
|
-
"value": "string"
|
|
11320
|
-
},
|
|
11321
|
-
{
|
|
11322
|
-
"name": "nodeType",
|
|
11323
|
-
"value": "DialFileNodeType"
|
|
11324
|
-
}
|
|
11325
|
-
],
|
|
11326
|
-
"sourceFile": "models/file-manager.ts"
|
|
11327
|
-
},
|
|
11328
|
-
{
|
|
11329
|
-
"name": "DialUploadFileItem",
|
|
11330
|
-
"kind": "interface",
|
|
11331
|
-
"members": [
|
|
11332
|
-
{
|
|
11333
|
-
"name": "fileContent",
|
|
11334
|
-
"value": "File"
|
|
11335
|
-
},
|
|
11336
|
-
{
|
|
11337
|
-
"name": "name",
|
|
11338
|
-
"value": "string"
|
|
11339
|
-
}
|
|
11340
|
-
],
|
|
11341
|
-
"sourceFile": "models/file-manager.ts"
|
|
11342
|
-
},
|
|
11343
|
-
{
|
|
11344
|
-
"name": "DialFileManagerActionsRef",
|
|
11345
|
-
"kind": "interface",
|
|
11346
|
-
"members": [
|
|
11347
|
-
{
|
|
11348
|
-
"name": "createFolder",
|
|
11349
|
-
"value": "() => void"
|
|
11350
|
-
}
|
|
11351
|
-
],
|
|
11352
|
-
"sourceFile": "models/file-manager.ts"
|
|
11353
|
-
},
|
|
11354
|
-
{
|
|
11355
|
-
"name": "DialFileAcceptType",
|
|
11356
|
-
"kind": "type",
|
|
11357
|
-
"sourceFile": "models/file-manager.ts",
|
|
11358
|
-
"typeBody": "| `${string}/${string}` // MIME (wildcard)\n | `.${string}`"
|
|
11359
|
-
},
|
|
11360
10756
|
{
|
|
11361
10757
|
"name": "GridSelectionMode",
|
|
11362
10758
|
"kind": "enum",
|
|
@@ -11944,6 +11340,14 @@
|
|
|
11944
11340
|
{
|
|
11945
11341
|
"name": "disabled?",
|
|
11946
11342
|
"value": "boolean"
|
|
11343
|
+
},
|
|
11344
|
+
{
|
|
11345
|
+
"name": "status?",
|
|
11346
|
+
"value": "TabStatus"
|
|
11347
|
+
},
|
|
11348
|
+
{
|
|
11349
|
+
"name": "statusLabel?",
|
|
11350
|
+
"value": "string"
|
|
11947
11351
|
}
|
|
11948
11352
|
],
|
|
11949
11353
|
"sourceFile": "components/New/Tabs/Tabs.tsx",
|
|
@@ -12018,6 +11422,41 @@
|
|
|
12018
11422
|
"sourceFile": "types/badge.ts",
|
|
12019
11423
|
"description": "How a `Badge` is drawn."
|
|
12020
11424
|
},
|
|
11425
|
+
{
|
|
11426
|
+
"name": "AvatarColor",
|
|
11427
|
+
"kind": "enum",
|
|
11428
|
+
"members": [
|
|
11429
|
+
{
|
|
11430
|
+
"name": "Green1",
|
|
11431
|
+
"value": "'green-1'"
|
|
11432
|
+
},
|
|
11433
|
+
{
|
|
11434
|
+
"name": "Violet2",
|
|
11435
|
+
"value": "'violet-2'"
|
|
11436
|
+
},
|
|
11437
|
+
{
|
|
11438
|
+
"name": "Brown",
|
|
11439
|
+
"value": "'brown'"
|
|
11440
|
+
},
|
|
11441
|
+
{
|
|
11442
|
+
"name": "Red",
|
|
11443
|
+
"value": "'red'"
|
|
11444
|
+
},
|
|
11445
|
+
{
|
|
11446
|
+
"name": "Green2",
|
|
11447
|
+
"value": "'green-2'"
|
|
11448
|
+
},
|
|
11449
|
+
{
|
|
11450
|
+
"name": "Blue",
|
|
11451
|
+
"value": "'blue'"
|
|
11452
|
+
},
|
|
11453
|
+
{
|
|
11454
|
+
"name": "Violet1",
|
|
11455
|
+
"value": "'violet-1'"
|
|
11456
|
+
}
|
|
11457
|
+
],
|
|
11458
|
+
"sourceFile": "types/avatar.ts"
|
|
11459
|
+
},
|
|
12021
11460
|
{
|
|
12022
11461
|
"name": "AvatarShape",
|
|
12023
11462
|
"kind": "enum",
|
|
@@ -12036,6 +11475,22 @@
|
|
|
12036
11475
|
"sourceFile": "types/avatar.ts",
|
|
12037
11476
|
"description": "The outline an `Avatar` is clipped to."
|
|
12038
11477
|
},
|
|
11478
|
+
{
|
|
11479
|
+
"name": "AvatarColorClasses",
|
|
11480
|
+
"kind": "interface",
|
|
11481
|
+
"members": [
|
|
11482
|
+
{
|
|
11483
|
+
"name": "background",
|
|
11484
|
+
"value": "string"
|
|
11485
|
+
},
|
|
11486
|
+
{
|
|
11487
|
+
"name": "foreground",
|
|
11488
|
+
"value": "string"
|
|
11489
|
+
}
|
|
11490
|
+
],
|
|
11491
|
+
"sourceFile": "utils/avatar.ts",
|
|
11492
|
+
"description": "A background and text colour pair for an initials avatar, as Tailwind classes."
|
|
11493
|
+
},
|
|
12039
11494
|
{
|
|
12040
11495
|
"name": "EntityIdentityItem",
|
|
12041
11496
|
"kind": "interface",
|
|
@@ -12109,6 +11564,22 @@
|
|
|
12109
11564
|
"sourceFile": "types/entity-type.ts",
|
|
12110
11565
|
"description": "The category of a DIAL catalog entity. It picks the colour of the type label and the featured chip."
|
|
12111
11566
|
},
|
|
11567
|
+
{
|
|
11568
|
+
"name": "SelectedEntityCardLabels",
|
|
11569
|
+
"kind": "interface",
|
|
11570
|
+
"members": [
|
|
11571
|
+
{
|
|
11572
|
+
"name": "type?",
|
|
11573
|
+
"value": "string"
|
|
11574
|
+
},
|
|
11575
|
+
{
|
|
11576
|
+
"name": "placeholder?",
|
|
11577
|
+
"value": "string"
|
|
11578
|
+
}
|
|
11579
|
+
],
|
|
11580
|
+
"sourceFile": "components/New/SelectedEntityCard/SelectedEntityCard.tsx",
|
|
11581
|
+
"description": "User-visible strings of `SelectedEntityCard`."
|
|
11582
|
+
},
|
|
12112
11583
|
{
|
|
12113
11584
|
"name": "TagAppearance",
|
|
12114
11585
|
"kind": "enum",
|
|
@@ -12120,6 +11591,11 @@
|
|
|
12120
11591
|
{
|
|
12121
11592
|
"name": "Selectable",
|
|
12122
11593
|
"value": "'selectable'"
|
|
11594
|
+
},
|
|
11595
|
+
{
|
|
11596
|
+
"name": "Bordered",
|
|
11597
|
+
"value": "'bordered'",
|
|
11598
|
+
"comment": "The compact, rimmed chip of a value in a form field (a host, a variable)."
|
|
12123
11599
|
}
|
|
12124
11600
|
],
|
|
12125
11601
|
"sourceFile": "types/tag.ts"
|
|
@@ -12208,6 +11684,35 @@
|
|
|
12208
11684
|
],
|
|
12209
11685
|
"sourceFile": "types/tooltip.ts"
|
|
12210
11686
|
},
|
|
11687
|
+
{
|
|
11688
|
+
"name": "FormSectionHeadingLevel",
|
|
11689
|
+
"kind": "type",
|
|
11690
|
+
"sourceFile": "components/New/FormSection/FormSection.tsx",
|
|
11691
|
+
"typeBody": "2 | 3 | 4 | 5 | 6"
|
|
11692
|
+
},
|
|
11693
|
+
{
|
|
11694
|
+
"name": "FormSectionVariant",
|
|
11695
|
+
"kind": "enum",
|
|
11696
|
+
"members": [
|
|
11697
|
+
{
|
|
11698
|
+
"name": "Row",
|
|
11699
|
+
"value": "'row'",
|
|
11700
|
+
"comment": "A field of a form: small semibold heading, small description, an 8px header gap."
|
|
11701
|
+
},
|
|
11702
|
+
{
|
|
11703
|
+
"name": "Caption",
|
|
11704
|
+
"value": "'caption'",
|
|
11705
|
+
"comment": "A titled group of a builder column: caption-lead heading, tiny description."
|
|
11706
|
+
},
|
|
11707
|
+
{
|
|
11708
|
+
"name": "Setting",
|
|
11709
|
+
"value": "'setting'",
|
|
11710
|
+
"comment": "One setting inside a group: tiny semibold heading, tiny description."
|
|
11711
|
+
}
|
|
11712
|
+
],
|
|
11713
|
+
"sourceFile": "types/form-section.ts",
|
|
11714
|
+
"description": "How a `FormSection` sets its heading, description and content."
|
|
11715
|
+
},
|
|
12211
11716
|
{
|
|
12212
11717
|
"name": "TransferQueueItem",
|
|
12213
11718
|
"kind": "interface",
|
|
@@ -12378,11 +11883,6 @@
|
|
|
12378
11883
|
"name": "convertGridDateToDate",
|
|
12379
11884
|
"sourceFile": "utils/grid-date.ts"
|
|
12380
11885
|
},
|
|
12381
|
-
{
|
|
12382
|
-
"name": "useDialFileManagerTabs",
|
|
12383
|
-
"sourceFile": "components/FileManager/hooks/use-file-manager-tabs.tsx",
|
|
12384
|
-
"signature": "(tabLabels?: Record<DialFileManagerTabs, string>, initialTab: DialFileManagerTabs = DialFileManagerTabs.MyFiles) => unknown"
|
|
12385
|
-
},
|
|
12386
11886
|
{
|
|
12387
11887
|
"name": "EDITABLE_CONTAINER_ATTRIBUTE",
|
|
12388
11888
|
"sourceFile": "hooks/use-editable-item.tsx",
|
|
@@ -12403,24 +11903,17 @@
|
|
|
12403
11903
|
"name": "UseEditableItemOptions",
|
|
12404
11904
|
"sourceFile": "hooks/use-editable-item.tsx"
|
|
12405
11905
|
},
|
|
12406
|
-
{
|
|
12407
|
-
"name": "FileManagerProvider",
|
|
12408
|
-
"sourceFile": "components/FileManager/FileManagerProvider.tsx",
|
|
12409
|
-
"description": "Provider that encapsulates all File Manager business logic:\n- path & navigation\n- search (controlled + uncontrolled)\n- hidden files toggle\n- tree collapsed state\n- selection\n- clipboard (copy / cut / paste)\n- delete confirmation state\n- computed grid rows\n- new actions",
|
|
12410
|
-
"signature": "FileManagerProvider: FC<FileManagerProviderProps>"
|
|
12411
|
-
},
|
|
12412
|
-
{
|
|
12413
|
-
"name": "useFileManagerContext",
|
|
12414
|
-
"sourceFile": "components/FileManager/hooks/use-file-manager-context.ts",
|
|
12415
|
-
"description": "Hook to read the File Manager context.\nThrows if used outside of the provider.",
|
|
12416
|
-
"signature": "() => unknown"
|
|
12417
|
-
},
|
|
12418
11906
|
{
|
|
12419
11907
|
"name": "useThemeScope",
|
|
12420
11908
|
"sourceFile": "components/New/ThemeScope/ThemeScope.tsx",
|
|
12421
11909
|
"description": "Class names of the enclosing `ThemeScope`s, outermost first, or `''` when the\ncaller sits outside any scope. Components rendering into a `FloatingPortal`\nmerge this onto their floating root so the tokens follow them out of the\nsubtree.",
|
|
12422
11910
|
"signature": "() => string"
|
|
12423
11911
|
},
|
|
11912
|
+
{
|
|
11913
|
+
"name": "AVATAR_PALETTE",
|
|
11914
|
+
"sourceFile": "utils/avatar.ts",
|
|
11915
|
+
"signature": "AVATAR_PALETTE: Record<AvatarColor, AvatarColorClasses>"
|
|
11916
|
+
},
|
|
12424
11917
|
{
|
|
12425
11918
|
"name": "extractInitials",
|
|
12426
11919
|
"sourceFile": "utils/avatar.ts",
|
|
@@ -12530,21 +12023,6 @@
|
|
|
12530
12023
|
}
|
|
12531
12024
|
],
|
|
12532
12025
|
"constants": [
|
|
12533
|
-
{
|
|
12534
|
-
"name": "NAME_COLUMN",
|
|
12535
|
-
"sourceFile": "constants/file-grid-columns.tsx",
|
|
12536
|
-
"signature": "(headerName: string) => unknown"
|
|
12537
|
-
},
|
|
12538
|
-
{
|
|
12539
|
-
"name": "SIZE_COLUMN",
|
|
12540
|
-
"sourceFile": "constants/file-grid-columns.tsx",
|
|
12541
|
-
"signature": "(headerName: string) => ColDef"
|
|
12542
|
-
},
|
|
12543
|
-
{
|
|
12544
|
-
"name": "UPDATED_AT_COLUMN",
|
|
12545
|
-
"sourceFile": "constants/file-grid-columns.tsx",
|
|
12546
|
-
"signature": "(headerName: string) => unknown"
|
|
12547
|
-
},
|
|
12548
12026
|
{
|
|
12549
12027
|
"name": "DIAL_ICON_SIZE",
|
|
12550
12028
|
"sourceFile": "constants/icon.ts",
|
|
@@ -12583,7 +12061,7 @@
|
|
|
12583
12061
|
{
|
|
12584
12062
|
"name": "DIAL_KIT_CLASS",
|
|
12585
12063
|
"sourceFile": "constants/public-class-names.ts",
|
|
12586
|
-
"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"
|
|
12064
|
+
"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 /** The bordered card of a `SelectedEntityCard`, not the wrapper that also holds its error. */\n selectedEntityCard: 'dial-kit-selected-entity-card',\n /** The `section` root of a `FormSection`: its heading row, description and content. */\n formSection: 'dial-kit-form-section',\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"
|
|
12587
12065
|
}
|
|
12588
12066
|
]
|
|
12589
12067
|
}
|