@epam/ai-dial-ui-kit 0.16.0-dev.6 → 0.16.0-dev.61
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 +24 -11
- package/dist/CHANGELOG.md +110 -0
- package/dist/{DateCellRenderer-ElULb0hY.cjs → DateCellRenderer-BFcpoREG.cjs} +32 -32
- package/dist/MarkdownEditor-5Jq0NTTP.cjs +1 -0
- package/dist/_virtual/_commonjsHelpers.js +3 -28
- package/dist/_virtual/index.js +5 -3
- package/dist/components/Dropdown/constants.js +2 -2
- package/dist/components/IconButton/IconButton.js +7 -7
- package/dist/components/LoadFileArea/EmptyFileArea.js +28 -28
- package/dist/components/Loader/Loader.js +8 -8
- package/dist/components/New/Analytics/Bar/Bar.js +104 -0
- package/dist/components/New/Analytics/BarGroup/BarGroup.js +143 -0
- package/dist/components/New/Analytics/Card/Card.js +107 -0
- package/dist/components/New/Analytics/Histogram/Histogram.js +212 -0
- package/dist/components/New/Avatar/Avatar.js +17 -16
- 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 +324 -228
- 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 +31 -26
- 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 +350 -261
- 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/FileName/FileName.js +38 -37
- package/dist/components/New/FolderPath/FolderPath.js +151 -46
- package/dist/components/New/FormSection/FormSection.js +87 -0
- package/dist/components/New/Grid/Grid.js +187 -174
- package/dist/components/New/Grid/constants.js +9 -8
- package/dist/components/New/Input/Input.js +121 -107
- package/dist/components/New/LabelledText/LabelledText.js +43 -0
- package/dist/components/New/LiveRegion/LiveRegion.js +33 -0
- package/dist/components/New/MarkdownEditor/MarkdownEditor.js +40 -28
- 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/Notification/Notification.js +51 -39
- package/dist/components/New/Notification/constants.js +26 -17
- 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 +63 -0
- package/dist/components/New/Steps/Steps.js +86 -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/ToggleChip/ToggleChip.js +54 -0
- package/dist/components/New/ToggleChip/constants.js +11 -0
- 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/ProgressBar/ProgressBar.js +43 -38
- package/dist/components-manifest.json +3712 -6488
- package/dist/constants/public-class-names.js +34 -7
- package/dist/dial-ui-kit.cjs +4 -2
- package/dist/dial-ui-kit.js +387 -467
- package/dist/editors.cjs +1 -1
- package/dist/editors.js +4 -10
- package/dist/grid.cjs +1 -1
- package/dist/grid.js +22 -29
- package/dist/{merge-classes-BEJXjzkx.cjs → icon-4D9xu6E_.cjs} +1 -1
- package/dist/index.css +2 -6
- package/dist/migration-guides/0.16.0/caption-text-no-alert-role.md +90 -0
- package/dist/migration-guides/0.16.0/legacy-analytics-and-steps-removal.md +54 -0
- package/dist/migration-guides/0.16.0/legacy-file-manager-removal.md +91 -0
- package/dist/migration-guides/0.16.0/tailwind-v4-stylesheet.md +98 -0
- package/dist/migration-guides/0.16.0/unused-legacy-components-removal.md +128 -0
- package/dist/migration-guides/README.md +5 -0
- package/dist/node_modules/react-dnd/dist/hooks/useCollector.js +1 -1
- package/dist/node_modules/react-dnd/dist/internals/registration.js +5 -13
- package/dist/src/components/Dropdown/constants.d.ts +1 -1
- package/dist/src/components/{Analytics → New/Analytics}/Bar/Bar.d.ts +6 -6
- package/dist/src/components/{Analytics → New/Analytics}/Bar/utils.d.ts +1 -1
- package/dist/src/components/{Analytics → New/Analytics}/BarGroup/BarGroup.d.ts +7 -7
- package/dist/src/components/{Analytics → New/Analytics}/Card/Card.d.ts +14 -8
- package/dist/src/components/{Analytics → New/Analytics}/Histogram/Histogram.d.ts +5 -5
- package/dist/src/components/{Analytics → New/Analytics}/Histogram/utils.d.ts +1 -1
- package/dist/src/components/New/Analytics/index.d.ts +11 -0
- package/dist/src/components/New/Avatar/Avatar.d.ts +3 -0
- 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 +17 -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 +24 -2
- package/dist/src/components/New/Dropdown/Dropdown.d.ts +95 -1
- 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/FileName/FileName.d.ts +11 -0
- package/dist/src/components/New/FilterChips/FilterChips.d.ts +1 -1
- package/dist/src/components/New/FolderPath/FolderPath.d.ts +16 -8
- package/dist/src/components/New/FormSection/FormSection.d.ts +63 -0
- package/dist/src/components/New/Grid/Grid.d.ts +8 -2
- 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/Grid/constants.d.ts +2 -0
- package/dist/src/components/New/InteractiveTooltip/constants.d.ts +1 -1
- package/dist/src/components/New/LabelledText/LabelledText.d.ts +48 -0
- package/dist/src/components/New/LiveRegion/LiveRegion.d.ts +58 -0
- package/dist/src/components/New/MarkdownEditor/MarkdownEditor.d.ts +6 -0
- package/dist/src/components/New/MarkdownEditor/lazy.d.ts +9 -3
- 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/Notification/Notification.d.ts +24 -2
- package/dist/src/components/New/Notification/constants.d.ts +11 -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 +3 -3
- 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 +55 -0
- package/dist/src/components/New/Steps/Steps.d.ts +55 -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/ToggleChip/ToggleChip.d.ts +70 -0
- package/dist/src/components/New/ToggleChip/constants.d.ts +12 -0
- package/dist/src/components/New/Tooltip/constants.d.ts +2 -2
- package/dist/src/components/New/TransferQueue/TransferQueue.d.ts +9 -5
- package/dist/src/components/New/TransferQueue/TransferQueueHeader.d.ts +1 -3
- package/dist/src/components/ProgressBar/ProgressBar.d.ts +23 -3
- package/dist/src/constants/public-class-names.d.ts +34 -7
- package/dist/src/index.d.ts +36 -82
- package/dist/src/models/step.d.ts +2 -0
- package/dist/src/subpaths/editors.d.ts +9 -15
- package/dist/src/subpaths/grid.d.ts +3 -9
- package/dist/src/types/dropdown.d.ts +16 -0
- package/dist/src/types/editor.d.ts +0 -6
- package/dist/src/types/form-section.d.ts +9 -0
- package/dist/src/types/grid.d.ts +10 -0
- package/dist/src/types/live-region.d.ts +17 -0
- package/dist/src/types/notification.d.ts +11 -0
- package/dist/src/types/progress-bar.d.ts +13 -0
- package/dist/src/types/tab.d.ts +5 -0
- package/dist/src/types/tag.d.ts +3 -1
- package/dist/src/utils/grid-registration.d.ts +6 -8
- package/dist/src/utils/sub-menu-floating.d.ts +1 -1
- package/dist/types/dropdown.js +5 -4
- package/dist/types/form-section.js +4 -0
- package/dist/types/grid.js +3 -2
- package/dist/types/live-region.js +5 -0
- package/dist/types/notification.js +3 -2
- package/dist/types/progress-bar.js +4 -0
- package/dist/types/tab.js +5 -4
- package/dist/types/tag.js +2 -2
- package/dist/utils/merge-classes.js +39 -7
- package/dist/utils/sub-menu-floating.js +8 -8
- package/package.json +12 -26
- package/dist/DateCellRenderer-C7yExfh5.cjs +0 -1
- package/dist/IconButton-DHOFapLo.cjs +0 -1
- package/dist/JsonEditor-Bxui5wJH.cjs +0 -1
- package/dist/MarkdownEditor-BKtFs714.cjs +0 -1
- package/dist/MarkdownEditor-Bapd1ycU.cjs +0 -1
- package/dist/MarkdownEditorContainer-B5aHwoYF.cjs +0 -1
- package/dist/Switch-DE6MrcqJ.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/file/c.svg.js +0 -5
- package/dist/assets/icons/file/cpp.svg.js +0 -5
- package/dist/assets/icons/file/cs.svg.js +0 -5
- package/dist/assets/icons/file/ini.svg.js +0 -5
- package/dist/assets/icons/file/json.svg.js +0 -5
- package/dist/assets/icons/file/md.svg.js +0 -5
- package/dist/assets/icons/file/py.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/open-popup.svg.js +0 -5
- package/dist/assets/icons/unshare.svg.js +0 -5
- package/dist/components/Analytics/Bar/Bar.js +0 -80
- package/dist/components/Analytics/BarGroup/BarGroup.js +0 -142
- package/dist/components/Analytics/Card/Card.js +0 -87
- package/dist/components/Analytics/ErrorTag/ErrorTag.js +0 -19
- package/dist/components/Analytics/Histogram/Histogram.js +0 -200
- package/dist/components/AutocompleteInput/AutocompleteInputValue.js +0 -21
- package/dist/components/ButtonDropdown/ButtonDropdown.js +0 -33
- package/dist/components/ButtonDropdown/constants.js +0 -8
- package/dist/components/Checkbox/Checkbox.js +0 -64
- package/dist/components/Checkbox/constants.js +0 -4
- package/dist/components/CollapsibleSidebar/CollapsibleSidebar.js +0 -84
- package/dist/components/ConfirmationPopup/ConfirmationPopup.js +0 -75
- package/dist/components/ConfirmationPopup/constants.js +0 -32
- package/dist/components/DraggableItem/DraggableItem.js +0 -61
- package/dist/components/DraggableItem/constants.js +0 -6
- package/dist/components/DropdownIcon/DropdownIcon.js +0 -103
- package/dist/components/FileIcon/FileIcon.js +0 -37
- package/dist/components/FileIcon/constants.js +0 -60
- 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/components/FileName/FileName.js +0 -68
- package/dist/components/FolderName/FolderName.js +0 -57
- package/dist/components/FormItem/FormItem.js +0 -90
- package/dist/components/FormItem/constants.js +0 -9
- package/dist/components/FormPopup/FormPopup.js +0 -59
- package/dist/components/FormPopup/constants.js +0 -6
- package/dist/components/Grid/Grid.js +0 -333
- package/dist/components/Grid/constants.js +0 -33
- package/dist/components/Grid/renderers/DateCellRenderer.js +0 -27
- package/dist/components/Grid/renderers/constants.js +0 -25
- package/dist/components/InputPopup/InputPopup.js +0 -174
- package/dist/components/JsonEditor/JsonEditor.js +0 -65
- package/dist/components/JsonEditor/lazy.js +0 -4
- package/dist/components/MarkdownEditor/MarkdownEditor.js +0 -39
- package/dist/components/MarkdownEditor/MarkdownEditorContainer.js +0 -82
- package/dist/components/MarkdownEditor/lazy.js +0 -4
- package/dist/components/Notification/Notification.js +0 -67
- package/dist/components/Notification/constants.js +0 -24
- package/dist/components/NumberInput/NumberInput.js +0 -41
- package/dist/components/Pagination/Pagination.js +0 -80
- package/dist/components/Pagination/utils.js +0 -10
- package/dist/components/PasswordInput/Icons/HideIcon.js +0 -16
- package/dist/components/PasswordInput/Icons/ShowIcon.js +0 -16
- package/dist/components/PasswordInput/PasswordInput.js +0 -21
- package/dist/components/Popup/Popup.js +0 -110
- package/dist/components/Popup/constants.js +0 -12
- package/dist/components/RadioButton/RadioButton.js +0 -103
- package/dist/components/RadioGroup/RadioGroup.js +0 -92
- package/dist/components/RadioGroup/constants.js +0 -10
- package/dist/components/RadioGroupPopupField/RadioGroupPopupField.js +0 -101
- package/dist/components/ResizableContainer/ConditionalResizableContainer.js +0 -6
- package/dist/components/ResizableContainer/ResizableContainer.js +0 -79
- package/dist/components/ResizableContainer/components/ResizeHandle.js +0 -20
- package/dist/components/ResizableContainer/components/ResizeIcon.js +0 -11
- package/dist/components/SchemaRenderer/SchemaRenderer.js +0 -151
- package/dist/components/SchemaRenderer/components/SchemaAdditionalPropertiesEditor.js +0 -56
- package/dist/components/SchemaRenderer/components/SchemaAnyOfEditor.js +0 -74
- package/dist/components/SchemaRenderer/components/SchemaArrayEditor.js +0 -118
- package/dist/components/SchemaRenderer/components/SchemaField.js +0 -78
- package/dist/components/SchemaRenderer/components/SchemaFieldContent.js +0 -114
- package/dist/components/SchemaRenderer/components/SchemaKeyValueEditor.js +0 -272
- package/dist/components/SchemaRenderer/components/SchemaObjectEditor.js +0 -36
- package/dist/components/SchemaRenderer/components/SchemaOneOfEditor.js +0 -192
- package/dist/components/SchemaRenderer/components/SchemaPrimitiveField.js +0 -161
- package/dist/components/SchemaRenderer/components/SchemaSection.js +0 -81
- package/dist/components/SchemaRenderer/context.js +0 -12
- package/dist/components/Search/Search.js +0 -63
- package/dist/components/Search/constants.js +0 -27
- package/dist/components/SegmentedControl/SegmentedControl.js +0 -87
- package/dist/components/SegmentedControl/constants.js +0 -8
- package/dist/components/Select/MultiSelectTags.js +0 -23
- package/dist/components/Select/Select.js +0 -435
- package/dist/components/Select/SelectSubMenuItem.js +0 -90
- package/dist/components/Select/constants.js +0 -15
- package/dist/components/SelectField/SelectField.js +0 -66
- package/dist/components/SharedEntityIndicator/SharedEntityIndicator.js +0 -34
- package/dist/components/Slider/Slider.js +0 -158
- package/dist/components/Steps/Step.js +0 -34
- package/dist/components/Steps/Steps.js +0 -27
- package/dist/components/Steps/utils.js +0 -42
- package/dist/components/Switch/Switch.js +0 -70
- package/dist/components/TagInput/TagInput.js +0 -179
- package/dist/components/Textarea/Textarea.js +0 -43
- package/dist/constants/editor.js +0 -52
- package/dist/constants/file-grid-columns.js +0 -176
- package/dist/file-manager.cjs +0 -1
- package/dist/file-manager.js +0 -22
- package/dist/hooks/use-flexible-actions.js +0 -72
- package/dist/hooks/use-width-breakpoint.js +0 -15
- package/dist/icon-CrGVkVpG.cjs +0 -1
- package/dist/icon-DhjrDQ8I.cjs +0 -1
- package/dist/lazy-_W6FYhKg.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/node_modules/react-dnd/dist/hooks/useDrag/DragSourceImpl.js +0 -25
- package/dist/node_modules/react-dnd/dist/hooks/useDrag/connectors.js +0 -21
- package/dist/node_modules/react-dnd/dist/hooks/useDrag/useDrag.js +0 -20
- package/dist/node_modules/react-dnd/dist/hooks/useDrag/useDragSource.js +0 -19
- package/dist/node_modules/react-dnd/dist/hooks/useDrag/useDragSourceConnector.js +0 -22
- package/dist/node_modules/react-dnd/dist/hooks/useDrag/useDragSourceMonitor.js +0 -15
- package/dist/node_modules/react-dnd/dist/hooks/useDrag/useDragType.js +0 -13
- package/dist/node_modules/react-dnd/dist/hooks/useDrag/useRegisteredDragSource.js +0 -23
- package/dist/node_modules/react-dnd/dist/internals/DragSourceMonitorImpl.js +0 -88
- package/dist/node_modules/react-dnd/dist/internals/SourceConnector.js +0 -87
- 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/ErrorTag/ErrorTag.d.ts +0 -22
- package/dist/src/components/Analytics/Histogram/utils.spec.d.ts +0 -1
- package/dist/src/components/Analytics/index.d.ts +0 -13
- package/dist/src/components/AutocompleteInput/AutocompleteInputValue.d.ts +0 -34
- 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/ButtonDropdown/ButtonDropdown.d.ts +0 -24
- package/dist/src/components/ButtonDropdown/constants.d.ts +0 -2
- package/dist/src/components/Checkbox/Checkbox.d.ts +0 -36
- package/dist/src/components/Checkbox/constants.d.ts +0 -1
- package/dist/src/components/CollapsibleSidebar/CollapsibleSidebar.d.ts +0 -46
- package/dist/src/components/ConfirmationPopup/ConfirmationPopup.d.ts +0 -55
- package/dist/src/components/ConfirmationPopup/constants.d.ts +0 -18
- package/dist/src/components/DraggableItem/DraggableItem.d.ts +0 -33
- package/dist/src/components/DraggableItem/constants.d.ts +0 -3
- package/dist/src/components/DropdownIcon/DropdownIcon.d.ts +0 -38
- package/dist/src/components/FileIcon/FileIcon.d.ts +0 -33
- package/dist/src/components/FileIcon/constants.d.ts +0 -9
- 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/FileName/FileName.d.ts +0 -49
- package/dist/src/components/FolderName/FolderName.d.ts +0 -37
- package/dist/src/components/FormItem/FormItem.d.ts +0 -66
- package/dist/src/components/FormItem/constants.d.ts +0 -3
- package/dist/src/components/FormPopup/FormPopup.d.ts +0 -46
- package/dist/src/components/FormPopup/constants.d.ts +0 -3
- package/dist/src/components/Grid/Grid.d.ts +0 -120
- package/dist/src/components/Grid/comparators/base-column-comparator.d.ts +0 -1
- package/dist/src/components/Grid/comparators/base-column-comparator.spec.d.ts +0 -1
- package/dist/src/components/Grid/constants.d.ts +0 -28
- package/dist/src/components/Grid/renderers/DateCellRenderer.d.ts +0 -34
- package/dist/src/components/Grid/renderers/constants.d.ts +0 -7
- package/dist/src/components/Grid/renderers/utils.d.ts +0 -1
- package/dist/src/components/Grid/renderers/utils.spec.d.ts +0 -1
- package/dist/src/components/InputPopup/InputPopup.d.ts +0 -61
- package/dist/src/components/JsonEditor/JsonEditor.d.ts +0 -25
- package/dist/src/components/JsonEditor/lazy.d.ts +0 -14
- package/dist/src/components/MarkdownEditor/MarkdownEditor.d.ts +0 -38
- package/dist/src/components/MarkdownEditor/MarkdownEditorContainer.d.ts +0 -51
- package/dist/src/components/MarkdownEditor/lazy.d.ts +0 -7
- 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/Notification/Notification.d.ts +0 -58
- package/dist/src/components/Notification/constants.d.ts +0 -8
- package/dist/src/components/NumberInput/NumberInput.d.ts +0 -34
- package/dist/src/components/Pagination/Pagination.d.ts +0 -11
- package/dist/src/components/Pagination/tests/utils.spec.d.ts +0 -1
- package/dist/src/components/Pagination/utils.d.ts +0 -9
- package/dist/src/components/PasswordInput/Icons/HideIcon.d.ts +0 -16
- package/dist/src/components/PasswordInput/Icons/ShowIcon.d.ts +0 -16
- package/dist/src/components/PasswordInput/PasswordInput.d.ts +0 -26
- package/dist/src/components/Popup/Popup.d.ts +0 -64
- package/dist/src/components/Popup/constants.d.ts +0 -5
- package/dist/src/components/RadioButton/RadioButton.d.ts +0 -54
- package/dist/src/components/RadioGroup/RadioGroup.d.ts +0 -66
- package/dist/src/components/RadioGroup/constants.d.ts +0 -5
- package/dist/src/components/RadioGroupPopupField/RadioGroupPopupField.d.ts +0 -74
- package/dist/src/components/ResizableContainer/ConditionalResizableContainer.d.ts +0 -35
- package/dist/src/components/ResizableContainer/ResizableContainer.d.ts +0 -72
- package/dist/src/components/ResizableContainer/components/ResizeHandle.d.ts +0 -10
- package/dist/src/components/ResizableContainer/components/ResizeIcon.d.ts +0 -8
- package/dist/src/components/SchemaRenderer/SchemaRenderer.d.ts +0 -30
- package/dist/src/components/SchemaRenderer/components/SchemaAdditionalPropertiesEditor.d.ts +0 -20
- package/dist/src/components/SchemaRenderer/components/SchemaAnyOfEditor.d.ts +0 -31
- package/dist/src/components/SchemaRenderer/components/SchemaArrayEditor.d.ts +0 -31
- package/dist/src/components/SchemaRenderer/components/SchemaField.d.ts +0 -29
- package/dist/src/components/SchemaRenderer/components/SchemaFieldContent.d.ts +0 -25
- package/dist/src/components/SchemaRenderer/components/SchemaKeyValueEditor.d.ts +0 -33
- package/dist/src/components/SchemaRenderer/components/SchemaObjectEditor.d.ts +0 -31
- package/dist/src/components/SchemaRenderer/components/SchemaOneOfEditor.d.ts +0 -31
- package/dist/src/components/SchemaRenderer/components/SchemaPrimitiveField.d.ts +0 -31
- package/dist/src/components/SchemaRenderer/components/SchemaSection.d.ts +0 -33
- package/dist/src/components/SchemaRenderer/context.d.ts +0 -19
- package/dist/src/components/SchemaRenderer/tests/utils.spec.d.ts +0 -1
- package/dist/src/components/SchemaRenderer/types.d.ts +0 -62
- package/dist/src/components/SchemaRenderer/utils.d.ts +0 -1
- package/dist/src/components/Search/Search.d.ts +0 -35
- package/dist/src/components/Search/constants.d.ts +0 -8
- package/dist/src/components/SegmentedControl/SegmentedControl.d.ts +0 -40
- package/dist/src/components/SegmentedControl/constants.d.ts +0 -5
- package/dist/src/components/Select/MultiSelectTags.d.ts +0 -8
- package/dist/src/components/Select/Select.d.ts +0 -100
- package/dist/src/components/Select/SelectSubMenuItem.d.ts +0 -8
- package/dist/src/components/Select/constants.d.ts +0 -9
- package/dist/src/components/SelectField/SelectField.d.ts +0 -42
- package/dist/src/components/SharedEntityIndicator/SharedEntityIndicator.d.ts +0 -31
- package/dist/src/components/Slider/Slider.d.ts +0 -57
- package/dist/src/components/Steps/Step.d.ts +0 -9
- package/dist/src/components/Steps/Steps.d.ts +0 -26
- 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/components/Steps/utils.d.ts +0 -3
- package/dist/src/components/Switch/Switch.d.ts +0 -34
- package/dist/src/components/TagInput/TagInput.d.ts +0 -52
- package/dist/src/components/Textarea/Textarea.d.ts +0 -39
- package/dist/src/constants/editor.d.ts +0 -2
- package/dist/src/constants/file-grid-columns.d.ts +0 -4
- package/dist/src/constants/storybook/form-item.d.ts +0 -3
- package/dist/src/models/file-manager.d.ts +0 -19
- package/dist/src/models/segmented-control.d.ts +0 -7
- package/dist/src/subpaths/file-manager.d.ts +0 -21
- package/dist/src/types/file-manager.d.ts +0 -59
- package/dist/src/types/form-item.d.ts +0 -31
- package/dist/src/types/select.d.ts +0 -8
- 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/types/form-item.js +0 -4
- package/dist/types/select.js +0 -5
- package/dist/use-file-manager-tabs-Bgh8mfOJ.cjs +0 -3
- package/dist/utils/path.js +0 -4
- /package/dist/components/{Analytics → New/Analytics}/Bar/utils.js +0 -0
- /package/dist/components/{Analytics → New/Analytics}/Histogram/utils.js +0 -0
|
@@ -6,10 +6,18 @@ import { TagAppearance } from '../../../types/tag';
|
|
|
6
6
|
*/
|
|
7
7
|
export declare const tagBaseClassName = "inline-flex h-[32px] max-w-full items-center gap-1 rounded-full px-3";
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
9
|
+
* Shape and type scale per appearance, over `tagBaseClassName`. The bordered
|
|
10
|
+
* chip is the compact value chip of a form field — the removable twin of
|
|
11
|
+
* `Badge`'s outlined label: its 24px, 6px corner and rim on the sunken layer,
|
|
12
|
+
* with the value in primary text on the small type scale.
|
|
13
|
+
*/
|
|
14
|
+
export declare const tagShapeClassNames: Record<TagAppearance, string>;
|
|
15
|
+
/**
|
|
16
|
+
* Fill and text colour per appearance and selection. `outlined` and
|
|
17
|
+
* `selectable` draw no rim and are told apart by their fill — `outlined` sits
|
|
18
|
+
* on the raised layer, `selectable` on nothing until it is selected, where it
|
|
19
|
+
* also steps its label up from secondary to primary. `bordered` is the one with
|
|
20
|
+
* a rim, on the sunken layer.
|
|
13
21
|
*/
|
|
14
22
|
export declare const tagStateClassNames: Record<TagAppearance, Record<'default' | 'selected', string>>;
|
|
15
23
|
/** Cursor and focus ring of a tag that can be activated. */
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { ButtonHTMLAttributes, FC, ReactNode } from 'react';
|
|
2
|
+
type NativeToggleChipProps = Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'children' | 'type' | 'onToggle' | 'aria-pressed'>;
|
|
3
|
+
export interface ToggleChipProps extends NativeToggleChipProps {
|
|
4
|
+
label: ReactNode;
|
|
5
|
+
icon?: ReactNode;
|
|
6
|
+
isSelected?: boolean;
|
|
7
|
+
onToggle?: (isSelected: boolean) => void;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* A chip that switches one option on and off on its own, for a row of
|
|
11
|
+
* independent toggles — tools a model may call, filters that combine.
|
|
12
|
+
* aliases: ChipToggle|ToggleTag|PressableChip|SelectableChip|MultiSelectChip
|
|
13
|
+
* Design system 2.0
|
|
14
|
+
*
|
|
15
|
+
* Draws the `TagAppearance.Selectable` filter chip of the 2.0 design — no fill
|
|
16
|
+
* until it is on, one accent hover tint shared by both states, an accent-alpha
|
|
17
|
+
* fill and a semibold label once on — so a row of these sits beside a
|
|
18
|
+
* `FilterChips` row without a seam. Turning it on therefore widens it by the
|
|
19
|
+
* difference between the regular and semibold label; give it a width if that
|
|
20
|
+
* shift matters.
|
|
21
|
+
*
|
|
22
|
+
* Reach for it when each chip is its own yes/no. `FilterChips` picks one value
|
|
23
|
+
* out of several and `Tag` is a label that may be clicked or removed; neither
|
|
24
|
+
* keeps several independent states, and `Tag` renders a `<span>` with a string
|
|
25
|
+
* label. This is a native `<button aria-pressed>`: Enter and Space work, the
|
|
26
|
+
* state is announced as "pressed", and `disabled` takes it out of the tab order
|
|
27
|
+
* and greys it out.
|
|
28
|
+
*
|
|
29
|
+
* Keep one accessible name across both states — the state rides on
|
|
30
|
+
* `aria-pressed`, and a control that renames itself on click reads as a
|
|
31
|
+
* different control. Visible state text such as "ON" / "OFF" belongs inside
|
|
32
|
+
* `label`, wrapped in `aria-hidden` so it is not read on top of the pressed
|
|
33
|
+
* state. There is no remove control: a chip that toggles and also closes gives
|
|
34
|
+
* a screen reader two actions with no way to tell which one it landed on, so a
|
|
35
|
+
* removable value is a closable `Tag` instead.
|
|
36
|
+
*
|
|
37
|
+
* Group a row of these in a named `role="group"` so they are announced
|
|
38
|
+
* together. Labels are the caller's to translate — the component ships no
|
|
39
|
+
* English defaults.
|
|
40
|
+
*
|
|
41
|
+
* @example
|
|
42
|
+
* ```tsx
|
|
43
|
+
* <div role="group" aria-label={t('Tools')} className="flex flex-wrap gap-1">
|
|
44
|
+
* {tools.map((tool) => (
|
|
45
|
+
* <ToggleChip
|
|
46
|
+
* key={tool.id}
|
|
47
|
+
* icon={tool.icon}
|
|
48
|
+
* label={
|
|
49
|
+
* <>
|
|
50
|
+
* {tool.label}
|
|
51
|
+
* <span aria-hidden="true">: {tool.isOn ? t('ON') : t('OFF')}</span>
|
|
52
|
+
* </>
|
|
53
|
+
* }
|
|
54
|
+
* isSelected={tool.isOn}
|
|
55
|
+
* onToggle={(isOn) => setTool(tool.id, isOn)}
|
|
56
|
+
* />
|
|
57
|
+
* ))}
|
|
58
|
+
* </div>
|
|
59
|
+
* ```
|
|
60
|
+
*
|
|
61
|
+
* @param label - Content of the chip after the icon. Any node, so trailing state text can follow the name; it truncates on one line
|
|
62
|
+
* @param [icon] - Icon rendered before the label; hidden from assistive tech
|
|
63
|
+
* @param [isSelected=false] - Whether the chip is on; rendered as `aria-pressed`
|
|
64
|
+
* @param [onToggle] - Called with the next value when the chip is activated by click, Enter or Space
|
|
65
|
+
* @param [disabled=false] - Greys the chip out and stops it responding; it keeps showing its on/off state
|
|
66
|
+
* @param [onClick] - Native click handler, called before `onToggle`
|
|
67
|
+
* @param [className] - Additional classes on the button
|
|
68
|
+
*/
|
|
69
|
+
export declare const ToggleChip: FC<ToggleChipProps>;
|
|
70
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Type scale per state, as the selectable `Tag` draws it: the regular label
|
|
3
|
+
* steps up to semibold once the chip is on.
|
|
4
|
+
*/
|
|
5
|
+
export declare const toggleChipLabelClassNames: Record<'default' | 'selected', string>;
|
|
6
|
+
/**
|
|
7
|
+
* Colours of a disabled chip. The `Tag` design defines no disabled state, so
|
|
8
|
+
* these follow the kit's other 2.0 controls — the disabled text colour, and on
|
|
9
|
+
* a chip that is on, the disabled fill `SegmentedControl` gives its selected
|
|
10
|
+
* segment — keeping the on/off state visible while the chip cannot respond.
|
|
11
|
+
*/
|
|
12
|
+
export declare const toggleChipDisabledClassNames: Record<'default' | 'selected', string>;
|
|
@@ -19,8 +19,8 @@ export declare const HOVER_OPEN_DELAY = 500;
|
|
|
19
19
|
*/
|
|
20
20
|
export declare const arrowClassName = "fill-control-inverted";
|
|
21
21
|
/**
|
|
22
|
-
* Tooltips sit at the top of the overlay ladder (`z-tooltip`, see
|
|
23
|
-
* `
|
|
22
|
+
* Tooltips sit at the top of the overlay ladder (`z-tooltip`, see `--z-index-*` in
|
|
23
|
+
* `src/styles/theme.scss`) — above popups (`z-popup`), dropdowns and the calendar
|
|
24
24
|
* (`z-floating`) and interactive tooltips — since they can be triggered by a
|
|
25
25
|
* control inside any of them.
|
|
26
26
|
*
|
|
@@ -52,7 +52,11 @@ export interface TransferQueueLabels {
|
|
|
52
52
|
closeConfirmHeader: string;
|
|
53
53
|
/** Confirmation description when an item is in progress and none failed. */
|
|
54
54
|
closeConfirmDescriptionInProgress: string;
|
|
55
|
-
/**
|
|
55
|
+
/**
|
|
56
|
+
* Confirmation description when an item failed and none is in progress.
|
|
57
|
+
* @deprecated Never shown: closing asks for confirmation only while an item
|
|
58
|
+
* is in progress, since a failed one has nothing left to lose.
|
|
59
|
+
*/
|
|
56
60
|
closeConfirmDescriptionFailed: string;
|
|
57
61
|
/** Confirmation description when items are both in progress and failed. */
|
|
58
62
|
closeConfirmDescriptionMixed: string;
|
|
@@ -103,12 +107,12 @@ export interface TransferQueueProps {
|
|
|
103
107
|
* Each row shows the file's `FileIcon` and name, and a trailing status: a
|
|
104
108
|
* spinner (with a cancel control on hover or focus) while in progress, a check
|
|
105
109
|
* on success, a warning or error icon whose reason is both its tooltip and its
|
|
106
|
-
* accessible name, or "Canceled". The header carries the host's title
|
|
107
|
-
*
|
|
110
|
+
* accessible name, or "Canceled". The header carries the host's title and the
|
|
111
|
+
* collapse and close controls. Collapsed while work runs,
|
|
108
112
|
* the rows are replaced by one aggregate `ProgressBar`.
|
|
109
113
|
*
|
|
110
|
-
* Closing while an item is in progress
|
|
111
|
-
*
|
|
114
|
+
* Closing while an item is in progress asks for confirmation first; a queue
|
|
115
|
+
* whose items have all settled, failed ones included, closes straight away. Once every item has succeeded the queue closes itself after
|
|
112
116
|
* `autoCloseDelay`; a warned or canceled row keeps it open so it can be read.
|
|
113
117
|
*
|
|
114
118
|
* The root is a polite `role="status"` live region. Positioning is left to
|
|
@@ -2,8 +2,6 @@ import { FC } from 'react';
|
|
|
2
2
|
import { TransferQueueLabels } from './TransferQueue';
|
|
3
3
|
interface TransferQueueHeaderProps {
|
|
4
4
|
title: string;
|
|
5
|
-
/** The badge renders only when this is positive. */
|
|
6
|
-
failedCount: number;
|
|
7
5
|
isCollapsed: boolean;
|
|
8
6
|
/** Id of the rows container the collapse toggle controls. */
|
|
9
7
|
itemsId: string;
|
|
@@ -11,6 +9,6 @@ interface TransferQueueHeaderProps {
|
|
|
11
9
|
onToggleCollapse: () => void;
|
|
12
10
|
onClose: () => void;
|
|
13
11
|
}
|
|
14
|
-
/** Queue heading with
|
|
12
|
+
/** Queue heading with the collapse and close controls. */
|
|
15
13
|
export declare const TransferQueueHeader: FC<TransferQueueHeaderProps>;
|
|
16
14
|
export {};
|
|
@@ -1,19 +1,31 @@
|
|
|
1
1
|
import { FC, HTMLAttributes, ReactNode } from 'react';
|
|
2
2
|
import { LabelProps } from '../New/Label/Label';
|
|
3
|
+
import { ProgressBarRole } from '../../types/progress-bar';
|
|
3
4
|
import { ElementSize } from '../../types/size';
|
|
4
|
-
type NativeProgressBarProps = Omit<HTMLAttributes<HTMLDivElement>, 'children'>;
|
|
5
|
+
type NativeProgressBarProps = Omit<HTMLAttributes<HTMLDivElement>, 'children' | 'role'>;
|
|
5
6
|
export interface ProgressBarProps extends NativeProgressBarProps {
|
|
6
7
|
value: number;
|
|
7
8
|
max?: number;
|
|
8
9
|
size?: ElementSize;
|
|
9
10
|
labelProps?: LabelProps;
|
|
10
11
|
valueLabel?: ReactNode;
|
|
12
|
+
role?: ProgressBarRole;
|
|
11
13
|
}
|
|
12
14
|
/**
|
|
13
|
-
* A horizontal bar indicating progress toward a goal.
|
|
14
|
-
* aliases: Progress|LoadingBar|Meter
|
|
15
|
+
* A horizontal bar indicating progress toward a goal, or a level within a range.
|
|
16
|
+
* aliases: Progress|LoadingBar|Meter|Gauge|CapacityMeter|UsageBar
|
|
15
17
|
* Design system 2.0
|
|
16
18
|
*
|
|
19
|
+
* `role` picks what the bar means. The default, `ProgressBarRole.Progressbar`,
|
|
20
|
+
* is a task on its way to done — an upload, an import. `ProgressBarRole.Meter`
|
|
21
|
+
* renders `role="meter"`: a level inside a known range that never completes —
|
|
22
|
+
* capacity used, a quota, a budget. Both carry `aria-valuemin`,
|
|
23
|
+
* `aria-valuemax`, `aria-valuenow` and, when given, `aria-valuetext`, and draw
|
|
24
|
+
* the same track and accent fill; the role changes only what a screen reader
|
|
25
|
+
* announces. The bar has no low / optimum / high colouring, so a meter that
|
|
26
|
+
* must change colour near its limit is restyled by the caller through
|
|
27
|
+
* `className`.
|
|
28
|
+
*
|
|
17
29
|
* Names itself from `labelProps.label` through `aria-labelledby`; without one it
|
|
18
30
|
* falls back to `aria-label`, and finally to `Progress` so the bar is never
|
|
19
31
|
* anonymous. Prefer a real label — several bars all announcing "Progress" tell a
|
|
@@ -33,6 +45,13 @@ export interface ProgressBarProps extends NativeProgressBarProps {
|
|
|
33
45
|
* <ProgressBar value={40} labelProps={{ label: 'Uploading' }} />
|
|
34
46
|
* <ProgressBar value={3} max={10} aria-valuetext="3 of 10 files" />
|
|
35
47
|
* <ProgressBar value={80} size={ElementSize.Small} />
|
|
48
|
+
* <ProgressBar
|
|
49
|
+
* role={ProgressBarRole.Meter}
|
|
50
|
+
* value={usedBytes}
|
|
51
|
+
* max={maxBytes}
|
|
52
|
+
* aria-label="Project capacity"
|
|
53
|
+
* aria-valuetext="42% used"
|
|
54
|
+
* />
|
|
36
55
|
*
|
|
37
56
|
* <ProgressBar
|
|
38
57
|
* value={3.313182}
|
|
@@ -48,6 +67,7 @@ export interface ProgressBarProps extends NativeProgressBarProps {
|
|
|
48
67
|
* @param [size=ElementSize.Standard] - Bar height: standard is 8px, small is 4px.
|
|
49
68
|
* @param [labelProps] - Props of the {@link Label} rendered above the bar, which also names it.
|
|
50
69
|
* @param [valueLabel] - Readout rendered at the end of the label row.
|
|
70
|
+
* @param [role=ProgressBarRole.Progressbar] - ARIA role of the bar: `progressbar` for a task's progress, `meter` for a level within a range. Without a label the bar is named `Progress` or `Meter` respectively.
|
|
51
71
|
* @param [className] - Additional classes on the track element.
|
|
52
72
|
*/
|
|
53
73
|
export declare const ProgressBar: FC<ProgressBarProps>;
|
|
@@ -17,6 +17,13 @@ export declare const DIAL_KIT_CLASS: {
|
|
|
17
17
|
readonly notification: "dial-kit-notification";
|
|
18
18
|
/** The empty-state root of `NoDataContent`. */
|
|
19
19
|
readonly noDataContent: "dial-kit-no-data-content";
|
|
20
|
+
/** The `section` root of a `StateScreen`. */
|
|
21
|
+
readonly stateScreen: "dial-kit-state-screen";
|
|
22
|
+
/**
|
|
23
|
+
* The always-mounted wrapper of a `LiveRegion` — also the wrapper `CaptionText`
|
|
24
|
+
* and `ErrorText` render when given `announce`.
|
|
25
|
+
*/
|
|
26
|
+
readonly liveRegion: "dial-kit-live-region";
|
|
20
27
|
/** The `role="status"` panel of a `TransferQueue`: header, rows and aggregate bar. */
|
|
21
28
|
readonly transferQueue: "dial-kit-transfer-queue";
|
|
22
29
|
/** The text element of a `Highlight`, which renders the matched query. */
|
|
@@ -30,12 +37,26 @@ export declare const DIAL_KIT_CLASS: {
|
|
|
30
37
|
readonly errorText: "dial-kit-error-text";
|
|
31
38
|
/** The `Label` root, which wraps the `label` element and its info button. */
|
|
32
39
|
readonly label: "dial-kit-label";
|
|
40
|
+
/** The root of a `LabelledText`, wrapping its caption and value. */
|
|
41
|
+
readonly labelledText: "dial-kit-labelled-text";
|
|
42
|
+
/** The `ol` root of a `Steps`, holding one button per step. */
|
|
43
|
+
readonly steps: "dial-kit-steps";
|
|
44
|
+
/** The root of an `AnalyticsCard`: the box holding its title, value and description. */
|
|
45
|
+
readonly analyticsCard: "dial-kit-analytics-card";
|
|
46
|
+
/** The root of an `AnalyticsBar`: the title row and track, stacked or inline. */
|
|
47
|
+
readonly analyticsBar: "dial-kit-analytics-bar";
|
|
48
|
+
/** The root of an `AnalyticsBarGroup`: its accordion, header and bars. */
|
|
49
|
+
readonly analyticsBarGroup: "dial-kit-analytics-bar-group";
|
|
50
|
+
/** The root of an `AnalyticsHistogram`: its title, axis and columns. */
|
|
51
|
+
readonly analyticsHistogram: "dial-kit-analytics-histogram";
|
|
33
52
|
/** The `article` element of a `CardShell`. */
|
|
34
53
|
readonly cardShell: "dial-kit-card-shell";
|
|
35
54
|
/** The `aside` element of a `CollapsibleSidebar`. */
|
|
36
55
|
readonly collapsibleSidebar: "dial-kit-collapsible-sidebar";
|
|
37
56
|
/** The content box inside a `ResizableContainer`'s resize frame. */
|
|
38
57
|
readonly resizableContainer: "dial-kit-resizable-container";
|
|
58
|
+
/** The `role="separator"` element of a `ResizeHandle`. */
|
|
59
|
+
readonly resizeHandle: "dial-kit-resize-handle";
|
|
39
60
|
/**
|
|
40
61
|
* The `role="dialog"` panel of a `Popup`. Its backdrop is reached through
|
|
41
62
|
* `overlayClassName`.
|
|
@@ -43,6 +64,11 @@ export declare const DIAL_KIT_CLASS: {
|
|
|
43
64
|
readonly popup: "dial-kit-popup";
|
|
44
65
|
/** The `role="dialog"` panel of a `BottomSheet`. */
|
|
45
66
|
readonly bottomSheet: "dial-kit-bottom-sheet";
|
|
67
|
+
/**
|
|
68
|
+
* The backdrop of a `BottomSheet`: the portalled, scroll-locking layer on
|
|
69
|
+
* `z-popup` that holds the panel.
|
|
70
|
+
*/
|
|
71
|
+
readonly bottomSheetOverlay: "dial-kit-bottom-sheet-overlay";
|
|
46
72
|
/** The `role="dialog"` panel of a `SideDrawer`, open or closed. */
|
|
47
73
|
readonly sideDrawer: "dial-kit-side-drawer";
|
|
48
74
|
/** The `Popup` panel of a `ConfirmationPopup`, additive to `popup`. */
|
|
@@ -69,6 +95,8 @@ export declare const DIAL_KIT_CLASS: {
|
|
|
69
95
|
* on a submenu's own list. It is *not* the floating panel.
|
|
70
96
|
*/
|
|
71
97
|
readonly dropdownList: "dial-kit-dropdown-list";
|
|
98
|
+
/** The search row above the item list of a `searchable` `Dropdown`. */
|
|
99
|
+
readonly dropdownSearch: "dial-kit-dropdown-search";
|
|
72
100
|
/**
|
|
73
101
|
* One row of a floating overlay: a dropdown item, a `Select` option, a
|
|
74
102
|
* submenu trigger, or a submenu child. It sits on the element that draws the
|
|
@@ -82,13 +110,6 @@ export declare const DIAL_KIT_CLASS: {
|
|
|
82
110
|
* state.
|
|
83
111
|
*/
|
|
84
112
|
readonly menuItemCheck: "dial-kit-menuitem-check";
|
|
85
|
-
/** The primary icon of a `DialDropdownIcon` trigger. */
|
|
86
|
-
readonly dropdownIcon: "dial-kit-dropdown-icon";
|
|
87
|
-
/**
|
|
88
|
-
* The caret badge of a `DialDropdownIcon` trigger — the round plate the
|
|
89
|
-
* chevron sits on. Absent when `showCaret` is `false`.
|
|
90
|
-
*/
|
|
91
|
-
readonly dropdownIconCaret: "dial-kit-dropdown-icon-caret";
|
|
92
113
|
/** The bubble of a `Tooltip`, rendered by `TooltipContent` into a portal. */
|
|
93
114
|
readonly tooltip: "dial-kit-tooltip";
|
|
94
115
|
/** The panel of an `InteractiveTooltip` — the one whose content takes focus. */
|
|
@@ -141,6 +162,10 @@ export declare const DIAL_KIT_CLASS: {
|
|
|
141
162
|
readonly avatar: "dial-kit-avatar";
|
|
142
163
|
/** The root row of an `EntityIdentity`: its icon, type label, name and version. */
|
|
143
164
|
readonly entityIdentity: "dial-kit-entity-identity";
|
|
165
|
+
/** The bordered card of a `SelectedEntityCard`, not the wrapper that also holds its error. */
|
|
166
|
+
readonly selectedEntityCard: "dial-kit-selected-entity-card";
|
|
167
|
+
/** The `section` root of a `FormSection`: its heading row, description and content. */
|
|
168
|
+
readonly formSection: "dial-kit-form-section";
|
|
144
169
|
/** The row of a `Switch`: the control and its label. */
|
|
145
170
|
readonly switch: "dial-kit-switch";
|
|
146
171
|
/** The row of a `Checkbox`: the box and its label. */
|
|
@@ -197,6 +222,8 @@ export declare const DIAL_KIT_CLASS: {
|
|
|
197
222
|
* already carries.
|
|
198
223
|
*/
|
|
199
224
|
readonly toggleIconButton: "dial-kit-toggle-icon-button";
|
|
225
|
+
/** The `<button aria-pressed>` of a `ToggleChip`. */
|
|
226
|
+
readonly toggleChip: "dial-kit-toggle-chip";
|
|
200
227
|
/** A `CloseButton`, additive to `dial-kit-base-icon-button`. */
|
|
201
228
|
readonly closeButton: "dial-kit-close-button";
|
|
202
229
|
/** An `InfoButton`, additive to `dial-kit-base-icon-button`. */
|
package/dist/src/index.d.ts
CHANGED
|
@@ -1,58 +1,20 @@
|
|
|
1
1
|
export { DialCaptionText, DialErrorText, } from './components/CaptionText/CaptionText';
|
|
2
|
-
export { DialAnalyticsCard } from './components/Analytics';
|
|
3
|
-
export type { DialAnalyticsCardProps } from './components/Analytics';
|
|
4
|
-
export { AnalyticsCardVariant } from './types/analytics';
|
|
5
|
-
export { DialAnalyticsBar } from './components/Analytics';
|
|
6
|
-
export type { DialAnalyticsBarProps } from './components/Analytics';
|
|
7
|
-
export { DEFAULT_ANALYTICS_BAR_COLOR_MAP } from './components/Analytics';
|
|
8
|
-
export type { AnalyticsBarColorStop, AnalyticsCardCompareItem, } from './models/analytics';
|
|
9
|
-
export { DialAnalyticsErrorTag } from './components/Analytics';
|
|
10
|
-
export type { DialAnalyticsErrorTagProps } from './components/Analytics';
|
|
11
|
-
export { DialAnalyticsBarGroup } from './components/Analytics';
|
|
12
|
-
export type { DialAnalyticsBarGroupProps } from './components/Analytics';
|
|
13
|
-
export { DialAnalyticsHistogram } from './components/Analytics';
|
|
14
|
-
export type { DialAnalyticsHistogramProps } from './components/Analytics';
|
|
15
2
|
export { DialLabel } from './components/Label/Label';
|
|
16
3
|
export { DialAccordion } from './components/Accordion/Accordion';
|
|
17
4
|
export type { DialAccordionProps } from './components/Accordion/Accordion';
|
|
18
5
|
export { DialIcon } from './components/Icon/Icon';
|
|
19
|
-
export { DialNotification } from './components/Notification/Notification.tsx';
|
|
20
|
-
export type { DialNotificationProps } from './components/Notification/Notification.tsx';
|
|
21
6
|
export { DialLoader } from './components/Loader/Loader';
|
|
22
7
|
export { Spinner } from './components/Spinner/Spinner';
|
|
23
8
|
export type { SpinnerProps } from './components/Spinner/Spinner';
|
|
24
9
|
export { ProgressBar } from './components/ProgressBar/ProgressBar';
|
|
25
10
|
export type { ProgressBarProps } from './components/ProgressBar/ProgressBar';
|
|
26
|
-
export {
|
|
27
|
-
export type { DialPaginationProps } from './components/Pagination/Pagination';
|
|
28
|
-
export { DialCheckbox } from './components/Checkbox/Checkbox';
|
|
29
|
-
export { DialSteps } from './components/Steps/Steps';
|
|
30
|
-
export { DialRadioButton } from './components/RadioButton/RadioButton';
|
|
31
|
-
export { DialRadioGroup } from './components/RadioGroup/RadioGroup';
|
|
32
|
-
export { DialSlider } from './components/Slider/Slider';
|
|
33
|
-
export type { DialSliderProps } from './components/Slider/Slider';
|
|
11
|
+
export { ProgressBarRole } from './types/progress-bar';
|
|
34
12
|
export { DialNoDataContent } from './components/NoDataContent/NoDataContent';
|
|
35
13
|
export type { DialNoDataContentProps } from './components/NoDataContent/NoDataContent';
|
|
36
|
-
export { DialCollapsibleSidebar } from './components/CollapsibleSidebar/CollapsibleSidebar';
|
|
37
14
|
export { DialLabelledText } from './components/LabelledText/LabelledText';
|
|
38
15
|
export { DialTag } from './components/Tag/Tag';
|
|
39
16
|
export { DialEllipsisTooltip } from './components/EllipsisTooltip/EllipsisTooltip';
|
|
40
|
-
export { DialDraggableItem } from './components/DraggableItem/DraggableItem';
|
|
41
|
-
export { DialFileIcon } from './components/FileIcon/FileIcon';
|
|
42
|
-
export type { DialFileIconProps } from './components/FileIcon/FileIcon';
|
|
43
|
-
export { DialFormItem } from './components/FormItem/FormItem';
|
|
44
|
-
export { DialSharedEntityIndicator } from './components/SharedEntityIndicator/SharedEntityIndicator';
|
|
45
|
-
export { DialFileName } from './components/FileName/FileName';
|
|
46
|
-
export { DialFolderName } from './components/FolderName/FolderName';
|
|
47
|
-
export { DialResizableContainer } from './components/ResizableContainer/ResizableContainer';
|
|
48
|
-
export { DialConditionalResizableContainer } from './components/ResizableContainer/ConditionalResizableContainer';
|
|
49
17
|
export { Skeleton } from './components/Skeleton/Skeleton';
|
|
50
|
-
export { DialGrid } from './components/Grid/Grid';
|
|
51
|
-
export type { DialGridProps } from './components/Grid/Grid';
|
|
52
|
-
export { DialDateCellRenderer } from './components/Grid/renderers/DateCellRenderer';
|
|
53
|
-
export type { DateValue as DialGridDateValue, DialDateCellRendererProps, } from './components/Grid/renderers/DateCellRenderer';
|
|
54
|
-
export { DEFAULT_DATE_FORMAT_OPTIONS as DEFAULT_GRID_DATE_FORMAT_OPTIONS, DEFAULT_LOCALE as DEFAULT_GRID_DATE_LOCALE, } from './components/Grid/renderers/constants';
|
|
55
|
-
export { convertToDate as convertGridDateToDate } from './components/Grid/renderers/utils';
|
|
56
18
|
export { DialTabs } from './components/Tabs/Tabs';
|
|
57
19
|
export { DialBreadcrumb } from './components/Breadcrumb/Breadcrumb';
|
|
58
20
|
export type { DialBreadcrumbProps } from './components/Breadcrumb/Breadcrumb';
|
|
@@ -64,94 +26,57 @@ export { DialDangerButton, DialNeutralButton, DialPrimaryButton, DialGhostButton
|
|
|
64
26
|
export { DialDangerIconButton, DialGhostIconButton, DialNeutralIconButton, DialPrimaryIconButton, DialSecondaryIconButton, DialSuccessIconButton, DialTertiaryIconButton, } from './components/IconButton/IconButtonWrappers';
|
|
65
27
|
export { DialCloseButton } from './components/CloseButton/CloseButton';
|
|
66
28
|
export { DialRemoveButton } from './components/RemoveButton/RemoveButton';
|
|
67
|
-
export { DialTextarea } from './components/Textarea/Textarea';
|
|
68
29
|
export { DialTooltip } from './components/Tooltip/Tooltip';
|
|
69
30
|
export type { DialTooltipProps } from './components/Tooltip/Tooltip';
|
|
70
31
|
export { DialTooltipContainer } from './components/Tooltip/TooltipContainer';
|
|
71
32
|
export { DialTooltipContent } from './components/Tooltip/TooltipContent';
|
|
72
33
|
export { DialTooltipTrigger } from './components/Tooltip/TooltipTrigger';
|
|
73
34
|
export type { DialTooltipContainerOptions } from './components/Tooltip/TooltipContext';
|
|
74
|
-
export { DialSwitch } from './components/Switch/Switch';
|
|
75
|
-
export { DialSegmentedControl } from './components/SegmentedControl/SegmentedControl';
|
|
76
|
-
export type { DialSegmentedControlProps } from './components/SegmentedControl/SegmentedControl';
|
|
77
|
-
export { DialPopup } from './components/Popup/Popup';
|
|
78
|
-
export { DialConfirmationPopup } from './components/ConfirmationPopup/ConfirmationPopup';
|
|
79
|
-
export { DialRadioGroupPopupField } from './components/RadioGroupPopupField/RadioGroupPopupField';
|
|
80
|
-
export { DialFormPopup } from './components/FormPopup/FormPopup';
|
|
81
35
|
export { DialInput } from './components/Input/Input';
|
|
82
36
|
export type { DialInputButtonProps } from './components/Input/Button/InputButton';
|
|
83
37
|
export type { DialInputProps } from './components/Input/Input';
|
|
84
|
-
export { DialNumberInput } from './components/NumberInput/NumberInput';
|
|
85
|
-
export { DialPasswordInput } from './components/PasswordInput/PasswordInput';
|
|
86
|
-
export { DialSearch } from './components/Search/Search';
|
|
87
|
-
export type { DialSearchProps } from './components/Search/Search';
|
|
88
|
-
export { DialInputPopup } from './components/InputPopup/InputPopup';
|
|
89
|
-
export { DialAutocompleteInputValue } from './components/AutocompleteInput/AutocompleteInputValue';
|
|
90
|
-
export { DialTagInput } from './components/TagInput/TagInput';
|
|
91
|
-
export { DialSelect } from './components/Select/Select';
|
|
92
|
-
export { DialSelectField } from './components/SelectField/SelectField';
|
|
93
38
|
export { DialLoadFileArea } from './components/LoadFileArea/LoadFileArea';
|
|
94
39
|
export { DialLoadFileAreaField } from './components/LoadFileArea/LoadFileAreaField';
|
|
95
40
|
export { DialDropdown } from './components/Dropdown/Dropdown';
|
|
96
|
-
export { DialButtonDropdown } from './components/ButtonDropdown/ButtonDropdown';
|
|
97
|
-
export { DialDropdownIcon } from './components/DropdownIcon/DropdownIcon';
|
|
98
|
-
export type { DialDropdownIconProps } from './components/DropdownIcon/DropdownIcon';
|
|
99
|
-
export { DialFileManager } from './components/FileManager/FileManager';
|
|
100
|
-
export type { FileManagerGridRow } from './components/FileManager/FileManagerContext';
|
|
101
|
-
export type { GridOptions, ToolbarOptions, BulkActionsToolbarOptions, } from './components/FileManager/FileManager';
|
|
102
|
-
export { DialDestinationFolderPopup } from './components/FileManager/components/DestinationFolderPopup/DestinationFolderPopup';
|
|
103
|
-
export { DialFoldersTree } from './components/FileManager/components/FoldersTree/FoldersTree';
|
|
104
41
|
export { EditorThemes } from './types/editor';
|
|
105
42
|
export { ButtonVariant, ButtonAppearance } from './types/button';
|
|
106
43
|
export { RadioGroupOrientation } from './types/radio-group';
|
|
107
44
|
export { PopupSize } from './types/popup';
|
|
108
45
|
export { ConfirmationPopupVariant } from './types/confirmation-popup';
|
|
109
|
-
export { DropdownType, DropdownTrigger, DropdownItemType, } from './types/dropdown';
|
|
46
|
+
export { DropdownType, DropdownTrigger, DropdownItemType, DropdownOverlayRole, } from './types/dropdown';
|
|
110
47
|
export { MenuItemMark } from './types/menu-item';
|
|
111
48
|
export { ElementSize } from './types/size';
|
|
112
|
-
export { ScreenResolution, TabOrientation, TabView } from './types/tab';
|
|
49
|
+
export { ScreenResolution, TabOrientation, TabStatus, TabView, } from './types/tab';
|
|
113
50
|
export type { DialBreadcrumbPathItem } from './models/breadcrumb';
|
|
114
|
-
export { FormItemOrientation } from './types/form-item';
|
|
115
|
-
export { SelectSize, SelectVariant } from './types/select';
|
|
116
|
-
export { DialFileManagerTabs, DialFileManagerActions, FileManagerColumnKey, } from './types/file-manager';
|
|
117
51
|
export { FlexibleActionsDirection } from './types/flexible-actions';
|
|
118
52
|
export { DialItemType } from './types/item';
|
|
119
53
|
export { ResizableContainerSide } from './types/resizable-container';
|
|
120
54
|
export { SkeletonVariant, SkeletonAvatarSize, SkeletonAvatarShape, } from './types/skeleton';
|
|
121
|
-
export { useDialFileManagerTabs } from './components/FileManager/hooks/use-file-manager-tabs';
|
|
122
55
|
export { EDITABLE_CONTAINER_ATTRIBUTE, editableContainerProps, useEditableItem, } from './hooks/use-editable-item';
|
|
123
56
|
export type { UseEditableItemOptions } from './hooks/use-editable-item';
|
|
124
|
-
export { FileManagerProvider } from './components/FileManager/FileManagerProvider';
|
|
125
|
-
export { useFileManagerContext } from './components/FileManager/hooks/use-file-manager-context';
|
|
126
57
|
export { StepStatus } from './models/step';
|
|
127
58
|
export type { Step } from './models/step';
|
|
128
59
|
export type { RadioButtonWithContent } from './models/radio';
|
|
129
60
|
export type { SelectOption } from './models/select';
|
|
130
|
-
export type { SegmentedControlOption } from './models/segmented-control';
|
|
131
61
|
export type { TabModel } from './models/tab';
|
|
132
62
|
export type { DropdownItem } from './models/dropdown';
|
|
133
63
|
export type { DialModifiedEntity } from './models/base-entity';
|
|
134
64
|
export type { DialFile } from './models/file';
|
|
135
65
|
export { DialFileNodeType, DialFilePermission, DialFileResourceType, } from './models/file';
|
|
136
66
|
export type { DialRootFolder } from './models/file';
|
|
137
|
-
export { type DialCopiedItem, type DialDeletedItem, type DialUploadFileItem, type DialFileManagerActionsRef, type DialFileAcceptType, } from './models/file-manager';
|
|
138
67
|
export { GridSelectionMode } from './models/selection-mode';
|
|
139
68
|
export { mergeClasses } from './utils/merge-classes';
|
|
140
69
|
export { wrapInRootFolder } from './utils/flat-to-hierarchy-convertor.ts';
|
|
141
70
|
export { getTimezoneLabel } from './utils/timezone';
|
|
142
71
|
export type { TimezoneLabelOptions } from './utils/timezone';
|
|
143
|
-
export { NAME_COLUMN, SIZE_COLUMN, UPDATED_AT_COLUMN, } from './constants/file-grid-columns';
|
|
144
72
|
export { DIAL_ICON_SIZE, BASE_ICON_PROPS, BASE_ICON_SIZE, } from './constants/icon.ts';
|
|
145
73
|
export { NOT_ALLOWED_SYMBOLS, NOT_ALLOWED_SPACES, NOT_ALLOWED_SYMBOLS_REGEXP, NOT_ALLOWED_SPACES_REGEXP, } from './constants/validation.ts';
|
|
146
74
|
export { DIAL_KIT_CLASS } from './constants/public-class-names';
|
|
147
|
-
export {
|
|
148
|
-
export {
|
|
149
|
-
export type { DialSchemaRendererProps, JsonSchema, JsonSchemaDef, ValidationError, SchemaRendererTexts, } from './components/SchemaRenderer/types';
|
|
75
|
+
export { SchemaRendererVariant, SchemaDisplayMode, SchemaOrientation, JsonSchemaType, } from './types/json-schema';
|
|
76
|
+
export type { JsonSchema, JsonSchemaDef, ValidationError, SchemaRendererTexts, } from './models/json-schema';
|
|
150
77
|
export { SchemaRenderer } from './components/New/SchemaRenderer/SchemaRenderer';
|
|
151
78
|
export type { SchemaRendererProps, SchemaRenderField, } from './components/New/SchemaRenderer/types';
|
|
152
|
-
export {
|
|
153
|
-
export { LazyDialMarkdownEditor } from './components/MarkdownEditor/lazy';
|
|
154
|
-
export { NotificationVariant, NotificationType } from './types/notification.ts';
|
|
79
|
+
export { NotificationVariant, NotificationType, NotificationSurface, } from './types/notification.ts';
|
|
155
80
|
export { Notification } from './components/New/Notification/Notification';
|
|
156
81
|
export { Highlight } from './components/New/Highlight/Highlight';
|
|
157
82
|
export { CardShell } from './components/New/CardShell/CardShell';
|
|
@@ -186,7 +111,22 @@ export type { MultiSelectTagsProps } from './components/New/Select/MultiSelectTa
|
|
|
186
111
|
export { InfoButton } from './components/New/InfoButton/InfoButton';
|
|
187
112
|
export type { InfoButtonProps } from './components/New/InfoButton/InfoButton';
|
|
188
113
|
export type { LabelProps } from './components/New/Label/Label';
|
|
114
|
+
export { Steps } from './components/New/Steps/Steps';
|
|
115
|
+
export type { StepsProps } from './components/New/Steps/Steps';
|
|
116
|
+
export { AnalyticsCard } from './components/New/Analytics/Card/Card';
|
|
117
|
+
export type { AnalyticsCardProps } from './components/New/Analytics/Card/Card';
|
|
118
|
+
export { AnalyticsCardVariant } from './types/analytics';
|
|
119
|
+
export { AnalyticsBar } from './components/New/Analytics/Bar/Bar';
|
|
120
|
+
export type { AnalyticsBarProps } from './components/New/Analytics/Bar/Bar';
|
|
121
|
+
export { DEFAULT_ANALYTICS_BAR_COLOR_MAP } from './components/New/Analytics/Bar/utils';
|
|
122
|
+
export type { AnalyticsBarColorStop, AnalyticsCardCompareItem, } from './models/analytics';
|
|
123
|
+
export { AnalyticsBarGroup } from './components/New/Analytics/BarGroup/BarGroup';
|
|
124
|
+
export type { AnalyticsBarGroupProps } from './components/New/Analytics/BarGroup/BarGroup';
|
|
125
|
+
export { AnalyticsHistogram } from './components/New/Analytics/Histogram/Histogram';
|
|
126
|
+
export type { AnalyticsHistogramProps } from './components/New/Analytics/Histogram/Histogram';
|
|
189
127
|
export { Label } from './components/New/Label/Label';
|
|
128
|
+
export type { LabelledTextProps } from './components/New/LabelledText/LabelledText';
|
|
129
|
+
export { LabelledText } from './components/New/LabelledText/LabelledText';
|
|
190
130
|
export { Textarea, TextareaResize } from './components/New/Textarea/Textarea';
|
|
191
131
|
export { Input } from './components/New/Input/Input';
|
|
192
132
|
export type { InputProps } from './components/New/Input/Input';
|
|
@@ -226,6 +166,8 @@ export { CheckboxBox } from './components/New/Checkbox/CheckboxBox';
|
|
|
226
166
|
export type { CheckboxBoxProps } from './components/New/Checkbox/CheckboxBox';
|
|
227
167
|
export { ToggleIconButton } from './components/New/ToggleIconButton/ToggleIconButton';
|
|
228
168
|
export type { ToggleIconButtonProps } from './components/New/ToggleIconButton/ToggleIconButton';
|
|
169
|
+
export { ToggleChip } from './components/New/ToggleChip/ToggleChip';
|
|
170
|
+
export type { ToggleChipProps } from './components/New/ToggleChip/ToggleChip';
|
|
229
171
|
export { SegmentedControl } from './components/New/SegmentedControl/SegmentedControl';
|
|
230
172
|
export type { SegmentedControlProps, SegmentedControlItem, } from './components/New/SegmentedControl/SegmentedControl';
|
|
231
173
|
export { Tabs } from './components/New/Tabs/Tabs';
|
|
@@ -255,6 +197,8 @@ export type { AvatarColorClasses } from './utils/avatar';
|
|
|
255
197
|
export { EntityIdentity } from './components/New/EntityIdentity/EntityIdentity';
|
|
256
198
|
export type { EntityIdentityProps, EntityIdentityItem, EntityIdentityLabels, } from './components/New/EntityIdentity/EntityIdentity';
|
|
257
199
|
export { EntityType } from './types/entity-type';
|
|
200
|
+
export { SelectedEntityCard } from './components/New/SelectedEntityCard/SelectedEntityCard';
|
|
201
|
+
export type { SelectedEntityCardProps, SelectedEntityCardLabels, } from './components/New/SelectedEntityCard/SelectedEntityCard';
|
|
258
202
|
export { SideDrawer } from './components/New/SideDrawer/SideDrawer';
|
|
259
203
|
export type { SideDrawerProps } from './components/New/SideDrawer/SideDrawer';
|
|
260
204
|
export { Tag } from './components/New/Tag/Tag';
|
|
@@ -285,17 +229,27 @@ export { CollapsibleSidebar } from './components/New/CollapsibleSidebar/Collapsi
|
|
|
285
229
|
export type { CollapsibleSidebarProps } from './components/New/CollapsibleSidebar/CollapsibleSidebar';
|
|
286
230
|
export { ResizableContainer } from './components/New/ResizableContainer/ResizableContainer';
|
|
287
231
|
export type { ResizableContainerProps } from './components/New/ResizableContainer/ResizableContainer';
|
|
232
|
+
export { ResizeHandle } from './components/New/ResizeHandle/ResizeHandle';
|
|
233
|
+
export type { ResizeHandleProps } from './components/New/ResizeHandle/ResizeHandle';
|
|
288
234
|
export { ConditionalResizableContainer } from './components/New/ResizableContainer/ConditionalResizableContainer';
|
|
289
235
|
export type { ConditionalResizableContainerProps } from './components/New/ResizableContainer/ConditionalResizableContainer';
|
|
290
236
|
export { NoDataContent } from './components/New/NoDataContent/NoDataContent';
|
|
291
237
|
export type { NoDataContentProps } from './components/New/NoDataContent/NoDataContent';
|
|
238
|
+
export { StateScreen } from './components/New/StateScreen/StateScreen';
|
|
239
|
+
export type { StateScreenProps } from './components/New/StateScreen/StateScreen';
|
|
240
|
+
export { LiveRegion } from './components/New/LiveRegion/LiveRegion';
|
|
241
|
+
export type { LiveRegionProps } from './components/New/LiveRegion/LiveRegion';
|
|
242
|
+
export { LiveRegionElement, LiveRegionPoliteness } from './types/live-region';
|
|
243
|
+
export { FormSection } from './components/New/FormSection/FormSection';
|
|
244
|
+
export type { FormSectionProps, FormSectionHeadingLevel, } from './components/New/FormSection/FormSection';
|
|
245
|
+
export { FormSectionVariant } from './types/form-section';
|
|
292
246
|
export { TransferQueue } from './components/New/TransferQueue/TransferQueue';
|
|
293
247
|
export type { TransferQueueItem, TransferQueueLabels, TransferQueueProps, } from './components/New/TransferQueue/TransferQueue';
|
|
294
248
|
export { DEFAULT_TRANSFER_QUEUE_LABELS, TRANSFER_QUEUE_AUTO_CLOSE_DELAY_MS, } from './components/New/TransferQueue/constants';
|
|
295
249
|
export { TransferQueueItemStatus } from './types/transfer-queue';
|
|
296
250
|
export { Grid, GRID_SELECTION_COLUMN_ID } from './components/New/Grid/Grid';
|
|
297
251
|
export type { GridProps } from './components/New/Grid/Grid';
|
|
298
|
-
export { GridColorScheme } from './types/grid';
|
|
252
|
+
export { GridAppearance, GridColorScheme } from './types/grid';
|
|
299
253
|
export { DateCellRenderer } from './components/New/Grid/renderers/DateCellRenderer';
|
|
300
254
|
export type { DateCellRendererProps, DateValue, } from './components/New/Grid/renderers/DateCellRenderer';
|
|
301
255
|
export { DEFAULT_DATE_FORMAT_OPTIONS, DEFAULT_LOCALE as DEFAULT_DATE_LOCALE, } from './components/New/Grid/renderers/constants';
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* `@epam/ai-dial-ui-kit/editors` - curated subpath for the
|
|
3
|
-
*
|
|
2
|
+
* `@epam/ai-dial-ui-kit/editors` - curated subpath for the Markdown editor
|
|
3
|
+
* lazy loader.
|
|
4
4
|
*
|
|
5
|
-
* The
|
|
6
|
-
* `src/index.ts` re-exports (`components/
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
* this re-export back to the leaf module to keep attaching lazy-loading
|
|
13
|
-
* metadata to `DialJsonEditor`/`DialMarkdownEditor`/`MarkdownEditor` (2.0)
|
|
5
|
+
* The loader below is re-exported from the same shared leaf module
|
|
6
|
+
* `src/index.ts` re-exports (`components/New/MarkdownEditor/lazy`), so this
|
|
7
|
+
* entry and the root reference one emitted chunk instead of each carrying
|
|
8
|
+
* its own duplicate copy of the loader's `import()` call - see that module's
|
|
9
|
+
* comment for the emitted-topology defect that duplication caused.
|
|
10
|
+
* `src/mcp/generate-manifest.ts` follows this re-export back to the leaf
|
|
11
|
+
* module to keep attaching lazy-loading metadata to `MarkdownEditor` (2.0)
|
|
14
12
|
* in the published MCP component manifest.
|
|
15
13
|
*/
|
|
16
|
-
export { LazyDialJsonEditor } from '../components/JsonEditor/lazy';
|
|
17
|
-
export { LazyDialMarkdownEditor } from '../components/MarkdownEditor/lazy';
|
|
18
14
|
export { LazyMarkdownEditor } from '../components/New/MarkdownEditor/lazy';
|
|
19
|
-
export declare const LazyDialMarkdownEditorContainer: () => Promise<typeof import("../components/MarkdownEditor/MarkdownEditorContainer")>;
|
|
20
15
|
export { EditorThemes } from '../types/editor';
|
|
21
16
|
export type { MarkdownEditorProps } from '../components/New/MarkdownEditor/MarkdownEditor';
|
|
22
|
-
export type { DialMarkdownEditorContainerProps } from '../components/MarkdownEditor/MarkdownEditorContainer';
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* `@epam/ai-dial-ui-kit/grid` - curated subpath for
|
|
2
|
+
* `@epam/ai-dial-ui-kit/grid` - curated subpath for the Grid.
|
|
3
3
|
*
|
|
4
4
|
* Re-exports the Grid-related names from the root `src/index.ts` barrel.
|
|
5
5
|
* This subpath is an ergonomic feature boundary, not a substitute for the
|
|
6
6
|
* root entry's own tree-shaking (which
|
|
7
7
|
* `preserveModules` already provides for a root `import { Button } from
|
|
8
8
|
* '@epam/ai-dial-ui-kit'`). Importing from here pulls in ag-grid-community /
|
|
9
|
-
* ag-grid-react, exactly as importing `Grid
|
|
9
|
+
* ag-grid-react, exactly as importing `Grid` from the root does.
|
|
10
10
|
*/
|
|
11
|
-
export { DialGrid } from '../components/Grid/Grid';
|
|
12
|
-
export type { DialGridProps } from '../components/Grid/Grid';
|
|
13
|
-
export { DialDateCellRenderer } from '../components/Grid/renderers/DateCellRenderer';
|
|
14
|
-
export type { DateValue as DialGridDateValue, DialDateCellRendererProps, } from '../components/Grid/renderers/DateCellRenderer';
|
|
15
|
-
export { DEFAULT_DATE_FORMAT_OPTIONS as DEFAULT_GRID_DATE_FORMAT_OPTIONS, DEFAULT_LOCALE as DEFAULT_GRID_DATE_LOCALE, } from '../components/Grid/renderers/constants';
|
|
16
|
-
export { convertToDate as convertGridDateToDate } from '../components/Grid/renderers/utils';
|
|
17
11
|
export { Grid, GRID_SELECTION_COLUMN_ID } from '../components/New/Grid/Grid';
|
|
18
12
|
export type { GridProps } from '../components/New/Grid/Grid';
|
|
19
|
-
export { GridColorScheme } from '../types/grid';
|
|
13
|
+
export { GridAppearance, GridColorScheme } from '../types/grid';
|
|
20
14
|
export { DateCellRenderer } from '../components/New/Grid/renderers/DateCellRenderer';
|
|
21
15
|
export type { DateCellRendererProps, DateValue, } from '../components/New/Grid/renderers/DateCellRenderer';
|
|
22
16
|
export { DEFAULT_DATE_FORMAT_OPTIONS, DEFAULT_LOCALE as DEFAULT_DATE_LOCALE, } from '../components/New/Grid/renderers/constants';
|