@epam/ai-dial-ui-kit 0.14.0-dev.3 → 0.14.0-dev.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +23 -1
- package/dist/CHANGELOG.md +20 -3
- package/dist/DateCellRenderer-B0o0BqbW.cjs +63 -0
- package/dist/DateCellRenderer-CKFfW-Hf.cjs +1 -0
- package/dist/IconButton-BCbBgnzo.cjs +1 -0
- package/dist/JsonEditor-pdzI3xkJ.cjs +1 -0
- package/dist/MarkdownEditor-CNEY8i7O.cjs +1 -0
- package/dist/MarkdownEditor-Dea4eQpw.cjs +1 -0
- package/dist/MarkdownEditorContainer-BO6PafCS.cjs +1 -0
- package/dist/Switch-CtdhpYik.cjs +1 -0
- package/dist/_virtual/___vite-browser-external.js +6 -0
- package/dist/_virtual/__vite-browser-external.js +4 -0
- package/dist/_virtual/_commonjsHelpers.js +31 -0
- package/dist/_virtual/index.js +5 -0
- package/dist/_virtual/index2.js +4 -0
- package/dist/_virtual/index3.js +7 -0
- package/dist/assets/icons/add-child.svg.js +5 -0
- package/dist/assets/icons/add-sibling.svg.js +5 -0
- package/dist/assets/icons/copy-to.svg.js +5 -0
- package/dist/assets/icons/file/c.svg.js +5 -0
- package/dist/assets/icons/file/cpp.svg.js +5 -0
- package/dist/assets/icons/file/cs.svg.js +5 -0
- package/dist/assets/icons/file/ini.svg.js +5 -0
- package/dist/assets/icons/file/json.svg.js +5 -0
- package/dist/assets/icons/file/md.svg.js +5 -0
- package/dist/assets/icons/file/py.svg.js +5 -0
- package/dist/assets/icons/loader.svg.js +5 -0
- package/dist/assets/icons/move-to.svg.js +5 -0
- package/dist/assets/icons/open-popup.svg.js +5 -0
- package/dist/assets/icons/unshare.svg.js +5 -0
- package/dist/components/Accordion/Accordion.js +70 -0
- package/dist/components/Analytics/Bar/Bar.js +80 -0
- package/dist/components/Analytics/Bar/utils.js +24 -0
- package/dist/components/Analytics/BarGroup/BarGroup.js +140 -0
- package/dist/components/Analytics/Card/Card.js +87 -0
- package/dist/components/Analytics/ErrorTag/ErrorTag.js +19 -0
- package/dist/components/Analytics/Histogram/Histogram.js +200 -0
- package/dist/components/Analytics/Histogram/utils.js +45 -0
- package/dist/components/AutocompleteInput/AutocompleteInputValue.js +21 -0
- package/dist/components/Breadcrumb/Breadcrumb.js +126 -0
- package/dist/components/Breadcrumb/BreadcrumbItem.js +83 -0
- package/dist/components/Breadcrumb/constants.js +20 -0
- package/dist/components/Button/Button.js +53 -0
- package/dist/components/Button/ButtonWrappers.js +40 -0
- package/dist/components/Button/constants.js +29 -0
- package/dist/components/Button/utils.js +11 -0
- package/dist/components/ButtonDropdown/ButtonDropdown.js +33 -0
- package/dist/components/ButtonDropdown/constants.js +8 -0
- package/dist/components/CaptionText/CaptionText.js +27 -0
- package/dist/components/Checkbox/Checkbox.js +64 -0
- package/dist/components/Checkbox/constants.js +4 -0
- package/dist/components/CloseButton/CloseButton.js +27 -0
- package/dist/components/CollapsibleSidebar/CollapsibleSidebar.js +84 -0
- package/dist/components/ConfirmationPopup/ConfirmationPopup.js +75 -0
- package/dist/components/ConfirmationPopup/constants.js +32 -0
- package/dist/components/DraggableItem/DraggableItem.js +61 -0
- package/dist/components/DraggableItem/constants.js +6 -0
- package/dist/components/Dropdown/Dropdown.js +293 -0
- package/dist/components/Dropdown/DropdownSubMenuItem.js +121 -0
- package/dist/components/Dropdown/constants.js +24 -0
- package/dist/components/DropdownIcon/DropdownIcon.js +92 -0
- package/dist/components/EllipsisTooltip/EllipsisTooltip.js +75 -0
- package/dist/components/EllipsisTooltip/constants.js +4 -0
- package/dist/components/FabButton/FabButton.js +35 -0
- package/dist/components/FileIcon/FileIcon.js +37 -0
- package/dist/components/FileIcon/constants.js +60 -0
- package/dist/components/FileManager/FileManager.js +887 -0
- package/dist/components/FileManager/FileManagerContext.js +5 -0
- package/dist/components/FileManager/FileManagerProvider.js +770 -0
- package/dist/components/FileManager/FileManagerTooltip.js +92 -0
- package/dist/components/FileManager/components/ConflictResolutionPopup/ConflictResolutionPopup.js +293 -0
- package/dist/components/FileManager/components/DestinationFolderPopup/DestinationFolderPopup.js +194 -0
- package/dist/components/FileManager/components/DialFileManagerItemSummaryCell/DialFileManagerItemSummaryCell.js +52 -0
- package/dist/components/FileManager/components/FileManagerBulkActionsToolbar/FileManagerBulkActionsToolbar.js +103 -0
- package/dist/components/FileManager/components/FileManagerBulkActionsToolbar/constants.js +5 -0
- package/dist/components/FileManager/components/FileManagerDeleteConfirmationPopup/FileManagerDeleteConfirmationPopup.js +56 -0
- package/dist/components/FileManager/components/FileManagerItemIcon/FileManagerItemIcon.js +69 -0
- package/dist/components/FileManager/components/FileManagerItemName/FileManagerItemName.js +100 -0
- package/dist/components/FileManager/components/FileManagerItemNameInput/FileManagerItemNameInput.js +93 -0
- package/dist/components/FileManager/components/FileManagerNavigationPanel/FileManagerNavigationPanel.js +165 -0
- package/dist/components/FileManager/components/FileManagerNavigationPanel/constants.js +6 -0
- package/dist/components/FileManager/components/FileManagerToolbar/DialFileManagerToolbar.js +120 -0
- package/dist/components/FileManager/components/FileMetadataPopup/FileMetadataPopup.js +119 -0
- package/dist/components/FileManager/components/FileMetadataPopup/constants.js +9 -0
- package/dist/components/FileManager/components/FoldersTree/FoldersTree.js +180 -0
- package/dist/components/FileManager/components/FoldersTree/constants.js +9 -0
- package/dist/components/FileManager/components/FoldersTree/hooks/use-expanded-paths.js +51 -0
- package/dist/components/FileManager/constants.js +28 -0
- package/dist/components/FileManager/errors.js +10 -0
- package/dist/components/FileManager/hooks/use-bulk-actions.js +143 -0
- package/dist/components/FileManager/hooks/use-collapse-tree.js +22 -0
- package/dist/components/FileManager/hooks/use-conflict-resolution.js +158 -0
- package/dist/components/FileManager/hooks/use-current-path.js +29 -0
- package/dist/components/FileManager/hooks/use-file-clipboard.js +154 -0
- package/dist/components/FileManager/hooks/use-file-delete.js +39 -0
- package/dist/components/FileManager/hooks/use-file-download.js +16 -0
- package/dist/components/FileManager/hooks/use-file-manager-columns.js +106 -0
- package/dist/components/FileManager/hooks/use-file-manager-context.js +13 -0
- package/dist/components/FileManager/hooks/use-file-manager-tabs.js +23 -0
- package/dist/components/FileManager/hooks/use-file-metadata.js +20 -0
- package/dist/components/FileManager/hooks/use-file-search.js +90 -0
- package/dist/components/FileManager/hooks/use-file-upload.js +338 -0
- package/dist/components/FileManager/hooks/use-folder-creation.js +151 -0
- package/dist/components/FileManager/hooks/use-grid-actions-column.js +65 -0
- package/dist/components/FileManager/hooks/use-grid-context-menu.js +188 -0
- package/dist/components/FileManager/hooks/use-item-renaming.js +124 -0
- package/dist/components/FileManager/hooks/use-new-actions.js +67 -0
- package/dist/components/FileManager/hooks/use-paths-selection.js +28 -0
- package/dist/components/FileManager/hooks/use-show-hidden-files.js +20 -0
- package/dist/components/FileManager/hooks/use-tree-additional-buttons.js +39 -0
- package/dist/components/FileManager/hooks/use-trigger-view-create-folder.js +42 -0
- package/dist/components/FileManager/hooks/use-trigger-view-rename.js +25 -0
- package/dist/components/FileManager/utils.js +121 -0
- package/dist/components/FileName/FileName.js +68 -0
- package/dist/components/FolderName/FolderName.js +57 -0
- package/dist/components/FormItem/FormItem.js +90 -0
- package/dist/components/FormItem/constants.js +9 -0
- package/dist/components/FormPopup/FormPopup.js +59 -0
- package/dist/components/FormPopup/constants.js +6 -0
- package/dist/components/Grid/Grid.js +333 -0
- package/dist/components/Grid/constants.js +33 -0
- package/dist/components/Grid/renderers/DateCellRenderer.js +27 -0
- package/dist/components/Grid/renderers/constants.js +25 -0
- package/dist/components/Icon/Icon.js +6 -0
- package/dist/components/IconButton/IconButton.js +40 -0
- package/dist/components/IconButton/IconButtonWrappers.js +48 -0
- package/dist/components/InfoButton/InfoButton.js +32 -0
- package/dist/components/InfoButton/constants.js +4 -0
- package/dist/components/Input/Button/InputButton.js +37 -0
- package/dist/components/Input/Button/constants.js +4 -0
- package/dist/components/Input/Input.js +120 -0
- package/dist/components/Input/utils.js +37 -0
- package/dist/components/InputPopup/InputPopup.js +174 -0
- package/dist/components/JsonEditor/JsonEditor.js +64 -0
- package/dist/components/Label/Label.js +27 -0
- package/dist/components/LabelledText/LabelledText.js +37 -0
- package/dist/components/LoadFileArea/EmptyFileArea.js +130 -0
- package/dist/components/LoadFileArea/FilledDropZone.js +80 -0
- package/dist/components/LoadFileArea/FilledInput.js +29 -0
- package/dist/components/LoadFileArea/LoadFileArea.js +70 -0
- package/dist/components/LoadFileArea/LoadFileAreaField.js +128 -0
- package/dist/components/Loader/Loader.js +40 -0
- package/dist/components/Loader/constants.js +5 -0
- package/dist/components/MarkdownEditor/MarkdownEditor.js +37 -0
- package/dist/components/MarkdownEditor/MarkdownEditorContainer.js +80 -0
- package/dist/components/New/Accordion/Accordion.js +103 -0
- package/dist/components/New/Button/Button.js +76 -0
- package/dist/components/New/Button/ButtonWrappers.js +44 -0
- package/dist/components/New/Button/constants.js +27 -0
- package/dist/components/New/Button/utils.js +11 -0
- package/dist/components/New/ButtonDropdown/ButtonDropdown.js +28 -0
- package/dist/components/New/ButtonDropdown/constants.js +17 -0
- package/dist/components/New/Calendar/Calendar.js +343 -0
- package/dist/components/New/Calendar/constants.js +57 -0
- package/dist/components/New/Calendar/utils.js +77 -0
- package/dist/components/New/CaptionText/CaptionText.js +27 -0
- package/dist/components/New/CardShell/CardShell.js +22 -0
- package/dist/components/New/Checkbox/Checkbox.js +92 -0
- package/dist/components/New/Checkbox/CheckboxBox.js +34 -0
- package/dist/components/New/Checkbox/constants.js +8 -0
- package/dist/components/New/CloseButton/CloseButton.js +33 -0
- package/dist/components/New/CollapsibleSidebar/CollapsibleSidebar.js +108 -0
- package/dist/components/New/ConfirmationPopup/ConfirmationPopup.js +78 -0
- package/dist/components/New/ConfirmationPopup/constants.js +27 -0
- package/dist/components/New/Dropdown/Dropdown.js +323 -0
- package/dist/components/New/Dropdown/DropdownSubMenuItem.js +127 -0
- package/dist/components/New/Dropdown/constants.js +35 -0
- package/dist/components/New/EllipsisTooltip/EllipsisTooltip.js +45 -0
- package/dist/components/New/EllipsisTooltip/use-truncation.js +18 -0
- package/dist/components/New/FileDropzone/FileDropzone.js +135 -0
- package/dist/components/New/FolderPath/FolderPath.js +64 -0
- package/dist/components/New/Grid/Grid.js +301 -0
- package/dist/components/New/Grid/components/SelectionCell.js +50 -0
- package/dist/components/New/Grid/components/SelectionHeader.js +46 -0
- package/dist/components/New/Grid/constants.js +44 -0
- package/dist/components/New/Grid/renderers/DateCellRenderer.js +27 -0
- package/dist/components/New/Grid/renderers/constants.js +25 -0
- package/dist/components/New/Highlight/Highlight.js +50 -0
- package/dist/components/New/IconButton/IconButton.js +46 -0
- package/dist/components/New/IconButton/IconButtonWrappers.js +40 -0
- package/dist/components/New/InfoButton/InfoButton.js +39 -0
- package/dist/components/New/InlineSelect/InlineSelect.js +96 -0
- package/dist/components/New/Input/Button/InputButton.js +38 -0
- package/dist/components/New/Input/Button/constants.js +4 -0
- package/dist/components/New/Input/Input.js +169 -0
- package/dist/components/New/Input/utils.js +37 -0
- package/dist/components/New/Label/Label.js +42 -0
- package/dist/components/New/MarkdownEditor/MarkdownEditor.js +41 -0
- package/dist/components/New/MarkdownEditor/constants.js +43 -0
- package/dist/components/New/NoDataContent/NoDataContent.js +54 -0
- package/dist/components/New/Notification/Notification.js +67 -0
- package/dist/components/New/Notification/NotificationWrapper.js +61 -0
- package/dist/components/New/Notification/constants.js +32 -0
- package/dist/components/New/NumberInput/NumberInput.js +41 -0
- package/dist/components/New/PasswordInput/PasswordInput.js +54 -0
- package/dist/components/New/Popup/Popup.js +164 -0
- package/dist/components/New/Popup/constants.js +17 -0
- package/dist/components/New/Radio/Radio.js +100 -0
- package/dist/components/New/RadioGroup/RadioGroup.js +81 -0
- package/dist/components/New/RadioGroup/constants.js +11 -0
- package/dist/components/New/RadioGroupPopupField/RadioGroupPopupField.js +138 -0
- package/dist/components/New/RadioGroupPopupField/constants.js +11 -0
- package/dist/components/New/ResizableContainer/ConditionalResizableContainer.js +6 -0
- package/dist/components/New/ResizableContainer/ResizableContainer.js +106 -0
- package/dist/components/New/ResizableContainer/components/ResizeHandle.js +85 -0
- package/dist/components/New/Search/Search.js +74 -0
- package/dist/components/New/SegmentedControl/SegmentedControl.js +92 -0
- package/dist/components/New/SegmentedControl/constants.js +19 -0
- package/dist/components/New/Select/MultiSelectTags.js +23 -0
- package/dist/components/New/Select/Select.js +379 -0
- package/dist/components/New/Select/SelectSubMenuItem.js +90 -0
- package/dist/components/New/Select/constants.js +57 -0
- package/dist/components/New/Slider/Slider.js +112 -0
- package/dist/components/New/Switch/Switch.js +95 -0
- package/dist/components/New/Tabs/Tabs.js +95 -0
- package/dist/components/New/Tag/Tag.js +76 -0
- package/dist/components/New/Tag/constants.js +17 -0
- package/dist/components/New/TagInput/TagInput.js +197 -0
- package/dist/components/New/TagInput/utils.js +21 -0
- package/dist/components/New/Textarea/Textarea.js +55 -0
- package/dist/components/New/ThemeScope/ThemeScope.js +14 -0
- package/dist/components/New/ToggleIconButton/ToggleIconButton.js +54 -0
- package/dist/components/New/Tooltip/Tooltip.js +19 -0
- package/dist/components/New/Tooltip/TooltipContainer.js +12 -0
- package/dist/components/New/Tooltip/TooltipContent.js +45 -0
- package/dist/components/New/Tooltip/TooltipContext.js +67 -0
- package/dist/components/New/Tooltip/TooltipTrigger.js +45 -0
- package/dist/components/New/Tooltip/constants.js +8 -0
- package/dist/components/New/constants/icon.js +4 -0
- package/dist/components/New/constants/overlay.js +23 -0
- package/dist/components/NoDataContent/NoDataContent.js +45 -0
- package/dist/components/Notification/Notification.js +67 -0
- package/dist/components/Notification/constants.js +24 -0
- package/dist/components/NumberInput/NumberInput.js +41 -0
- package/dist/components/Pagination/Pagination.js +80 -0
- package/dist/components/Pagination/utils.js +10 -0
- package/dist/components/PasswordInput/Icons/HideIcon.js +16 -0
- package/dist/components/PasswordInput/Icons/ShowIcon.js +16 -0
- package/dist/components/PasswordInput/PasswordInput.js +21 -0
- package/dist/components/Popup/Popup.js +110 -0
- package/dist/components/Popup/constants.js +12 -0
- package/dist/components/ProgressBar/ProgressBar.js +58 -0
- package/dist/components/RadioButton/RadioButton.js +103 -0
- package/dist/components/RadioGroup/RadioGroup.js +92 -0
- package/dist/components/RadioGroup/constants.js +10 -0
- package/dist/components/RadioGroupPopupField/RadioGroupPopupField.js +101 -0
- package/dist/components/RemoveButton/RemoveButton.js +30 -0
- package/dist/components/ResizableContainer/ConditionalResizableContainer.js +6 -0
- package/dist/components/ResizableContainer/ResizableContainer.js +79 -0
- package/dist/components/ResizableContainer/components/ResizeHandle.js +20 -0
- package/dist/components/ResizableContainer/components/ResizeIcon.js +11 -0
- package/dist/components/SchemaRenderer/SchemaRenderer.js +150 -0
- package/dist/components/SchemaRenderer/components/SchemaAdditionalPropertiesEditor.js +41 -0
- package/dist/components/SchemaRenderer/components/SchemaAnyOfEditor.js +74 -0
- package/dist/components/SchemaRenderer/components/SchemaArrayEditor.js +118 -0
- package/dist/components/SchemaRenderer/components/SchemaField.js +78 -0
- package/dist/components/SchemaRenderer/components/SchemaFieldContent.js +114 -0
- package/dist/components/SchemaRenderer/components/SchemaKeyValueEditor.js +184 -0
- package/dist/components/SchemaRenderer/components/SchemaObjectEditor.js +36 -0
- package/dist/components/SchemaRenderer/components/SchemaOneOfEditor.js +192 -0
- package/dist/components/SchemaRenderer/components/SchemaPrimitiveField.js +161 -0
- package/dist/components/SchemaRenderer/components/SchemaSection.js +81 -0
- package/dist/components/SchemaRenderer/context.js +12 -0
- package/dist/components/SchemaRenderer/types.js +27 -0
- package/dist/components/SchemaRenderer/utils.js +258 -0
- package/dist/components/Search/Search.js +63 -0
- package/dist/components/Search/constants.js +27 -0
- package/dist/components/SegmentedControl/SegmentedControl.js +87 -0
- package/dist/components/SegmentedControl/constants.js +8 -0
- package/dist/components/Select/MultiSelectTags.js +23 -0
- package/dist/components/Select/Select.js +435 -0
- package/dist/components/Select/SelectSubMenuItem.js +90 -0
- package/dist/components/Select/constants.js +15 -0
- package/dist/components/SelectField/SelectField.js +66 -0
- package/dist/components/SharedEntityIndicator/SharedEntityIndicator.js +34 -0
- package/dist/components/Skeleton/Skeleton.js +90 -0
- package/dist/components/Skeleton/utils.js +16 -0
- package/dist/components/Slider/Slider.js +158 -0
- package/dist/components/Spinner/Spinner.js +30 -0
- package/dist/components/Steps/Step.js +34 -0
- package/dist/components/Steps/Steps.js +27 -0
- package/dist/components/Steps/utils.js +42 -0
- package/dist/components/Switch/Switch.js +70 -0
- package/dist/components/Tab/Tab.js +65 -0
- package/dist/components/Tabs/Tabs.js +213 -0
- package/dist/components/Tabs/constants.js +4 -0
- package/dist/components/Tag/Tag.js +37 -0
- package/dist/components/TagInput/TagInput.js +179 -0
- package/dist/components/Textarea/Textarea.js +43 -0
- package/dist/components/Tooltip/Tooltip.js +30 -0
- package/dist/components/Tooltip/TooltipContainer.js +12 -0
- package/dist/components/Tooltip/TooltipContent.js +40 -0
- package/dist/components/Tooltip/TooltipContext.js +66 -0
- package/dist/components/Tooltip/TooltipTrigger.js +33 -0
- package/dist/components-manifest.json +1544 -373
- package/dist/{JsonEditor-0ZT9yNXj.js → constants/editor.js} +5 -63
- package/dist/constants/file-grid-columns.js +176 -0
- package/dist/constants/icon.js +10 -0
- package/dist/constants/validation.js +11 -0
- package/dist/dial-ui-kit.cjs +2 -0
- package/dist/dial-ui-kit.js +408 -0
- package/dist/editor-Ba3vCFHk.cjs +1 -0
- package/dist/editors.cjs +1 -0
- package/dist/editors.js +9 -0
- package/dist/file-manager.cjs +1 -0
- package/dist/file-manager.js +22 -0
- package/dist/grid.cjs +1 -0
- package/dist/grid.js +30 -0
- package/dist/hooks/use-editable-item.js +94 -0
- package/dist/hooks/use-flexible-actions.js +72 -0
- package/dist/hooks/use-is-mobile-screen.js +12 -0
- package/dist/hooks/use-is-tablet-screen.js +12 -0
- package/dist/hooks/use-screen-type.js +14 -0
- package/dist/hooks/use-width-breakpoint.js +15 -0
- package/dist/icon-CrGVkVpG.cjs +1 -0
- package/dist/icon-DhjrDQ8I.cjs +1 -0
- package/dist/index.css +2 -2
- package/dist/merge-classes-Dipy1Ih1.cjs +1 -0
- package/dist/migration-guides/0.14.0/button-tooltip-2-0.md +111 -0
- package/dist/migration-guides/0.14.0/select-multiselect-option-row.md +99 -0
- package/dist/migration-guides/0.14.0/shadow-token-per-step-rename.md +139 -0
- package/dist/migration-guides/0.14.0/tag-single-size.md +121 -0
- package/dist/migration-guides/README.md +4 -0
- package/dist/models/file.js +6 -0
- package/dist/models/selection-mode.js +4 -0
- package/dist/models/step.js +4 -0
- package/dist/node_modules/@react-dnd/asap/dist/AsapQueue.js +39 -0
- package/dist/node_modules/@react-dnd/asap/dist/RawTask.js +17 -0
- package/dist/node_modules/@react-dnd/asap/dist/TaskFactory.js +16 -0
- package/dist/node_modules/@react-dnd/asap/dist/asap.js +9 -0
- package/dist/node_modules/@react-dnd/asap/dist/makeRequestCall.js +62 -0
- package/dist/node_modules/@react-dnd/invariant/dist/index.js +22 -0
- package/dist/node_modules/@react-dnd/shallowequal/dist/index.js +25 -0
- package/dist/node_modules/ag-grid-community/dist/package/main.esm.js +39799 -0
- package/dist/node_modules/ag-grid-react/dist/package/index.esm.js +1989 -0
- package/dist/node_modules/dnd-core/dist/actions/dragDrop/beginDrag.js +70 -0
- package/dist/node_modules/dnd-core/dist/actions/dragDrop/drop.js +54 -0
- package/dist/node_modules/dnd-core/dist/actions/dragDrop/endDrag.js +18 -0
- package/dist/node_modules/dnd-core/dist/actions/dragDrop/hover.js +42 -0
- package/dist/node_modules/dnd-core/dist/actions/dragDrop/index.js +17 -0
- package/dist/node_modules/dnd-core/dist/actions/dragDrop/local/setClientOffset.js +13 -0
- package/dist/node_modules/dnd-core/dist/actions/dragDrop/publishDragSource.js +12 -0
- package/dist/node_modules/dnd-core/dist/actions/dragDrop/types.js +9 -0
- package/dist/node_modules/dnd-core/dist/actions/registry.js +43 -0
- package/dist/node_modules/dnd-core/dist/classes/DragDropManagerImpl.js +41 -0
- package/dist/node_modules/dnd-core/dist/classes/DragDropMonitorImpl.js +115 -0
- package/dist/node_modules/dnd-core/dist/classes/HandlerRegistryImpl.js +96 -0
- package/dist/node_modules/dnd-core/dist/contracts.js +21 -0
- package/dist/node_modules/dnd-core/dist/createDragDropManager.js +19 -0
- package/dist/node_modules/dnd-core/dist/interfaces.js +7 -0
- package/dist/node_modules/dnd-core/dist/reducers/dirtyHandlerIds.js +30 -0
- package/dist/node_modules/dnd-core/dist/reducers/dragOffset.js +50 -0
- package/dist/node_modules/dnd-core/dist/reducers/dragOperation.js +78 -0
- package/dist/node_modules/dnd-core/dist/reducers/index.js +42 -0
- package/dist/node_modules/dnd-core/dist/reducers/refCount.js +16 -0
- package/dist/node_modules/dnd-core/dist/reducers/stateId.js +6 -0
- package/dist/node_modules/dnd-core/dist/utils/coords.js +26 -0
- package/dist/node_modules/dnd-core/dist/utils/dirtiness.js +12 -0
- package/dist/node_modules/dnd-core/dist/utils/equality.js +17 -0
- package/dist/node_modules/dnd-core/dist/utils/getNextUniqueId.js +7 -0
- package/dist/node_modules/dnd-core/dist/utils/js_utils.js +36 -0
- package/dist/node_modules/dnd-core/dist/utils/matchesType.js +8 -0
- package/dist/node_modules/fast-deep-equal/index.js +31 -0
- package/dist/node_modules/mime-db/db.json.js +2527 -0
- package/dist/node_modules/mime-db/index.js +8 -0
- package/dist/node_modules/mime-types/index.js +70 -0
- package/dist/node_modules/mime-types/mimeScore.js +38 -0
- package/dist/node_modules/re-resizable/lib/index.js +424 -0
- package/dist/node_modules/re-resizable/lib/resizer.js +49 -0
- package/dist/node_modules/react-dnd/dist/core/DndContext.js +7 -0
- package/dist/node_modules/react-dnd/dist/core/DndProvider.js +66 -0
- package/dist/node_modules/react-dnd/dist/hooks/useCollectedProps.js +11 -0
- package/dist/node_modules/react-dnd/dist/hooks/useCollector.js +22 -0
- package/dist/node_modules/react-dnd/dist/hooks/useDrag/DragSourceImpl.js +25 -0
- package/dist/node_modules/react-dnd/dist/hooks/useDrag/connectors.js +21 -0
- package/dist/node_modules/react-dnd/dist/hooks/useDrag/useDrag.js +20 -0
- package/dist/node_modules/react-dnd/dist/hooks/useDrag/useDragSource.js +19 -0
- package/dist/node_modules/react-dnd/dist/hooks/useDrag/useDragSourceConnector.js +22 -0
- package/dist/node_modules/react-dnd/dist/hooks/useDrag/useDragSourceMonitor.js +15 -0
- package/dist/node_modules/react-dnd/dist/hooks/useDrag/useDragType.js +13 -0
- package/dist/node_modules/react-dnd/dist/hooks/useDrag/useRegisteredDragSource.js +23 -0
- package/dist/node_modules/react-dnd/dist/hooks/useDragDropManager.js +10 -0
- package/dist/node_modules/react-dnd/dist/hooks/useDrop/DropTargetImpl.js +21 -0
- package/dist/node_modules/react-dnd/dist/hooks/useDrop/connectors.js +12 -0
- package/dist/node_modules/react-dnd/dist/hooks/useDrop/useAccept.js +13 -0
- package/dist/node_modules/react-dnd/dist/hooks/useDrop/useDrop.js +16 -0
- package/dist/node_modules/react-dnd/dist/hooks/useDrop/useDropTarget.js +18 -0
- package/dist/node_modules/react-dnd/dist/hooks/useDrop/useDropTargetConnector.js +18 -0
- package/dist/node_modules/react-dnd/dist/hooks/useDrop/useDropTargetMonitor.js +15 -0
- package/dist/node_modules/react-dnd/dist/hooks/useDrop/useRegisteredDropTarget.js +23 -0
- package/dist/node_modules/react-dnd/dist/hooks/useIsomorphicLayoutEffect.js +5 -0
- package/dist/node_modules/react-dnd/dist/hooks/useMonitorOutput.js +20 -0
- package/dist/node_modules/react-dnd/dist/hooks/useOptionalFactory.js +10 -0
- package/dist/node_modules/react-dnd/dist/internals/DragSourceMonitorImpl.js +88 -0
- package/dist/node_modules/react-dnd/dist/internals/DropTargetMonitorImpl.js +59 -0
- package/dist/node_modules/react-dnd/dist/internals/SourceConnector.js +87 -0
- package/dist/node_modules/react-dnd/dist/internals/TargetConnector.js +57 -0
- package/dist/node_modules/react-dnd/dist/internals/isRef.js +9 -0
- package/dist/node_modules/react-dnd/dist/internals/registration.js +18 -0
- package/dist/node_modules/react-dnd/dist/internals/wrapConnectorHooks.js +46 -0
- package/dist/node_modules/react-dnd-html5-backend/dist/BrowserDetector.js +10 -0
- package/dist/node_modules/react-dnd-html5-backend/dist/EnterLeaveCounter.js +22 -0
- package/dist/node_modules/react-dnd-html5-backend/dist/HTML5BackendImpl.js +274 -0
- package/dist/node_modules/react-dnd-html5-backend/dist/MonotonicInterpolant.js +59 -0
- package/dist/node_modules/react-dnd-html5-backend/dist/NativeDragSources/NativeDragSource.js +43 -0
- package/dist/node_modules/react-dnd-html5-backend/dist/NativeDragSources/getDataFromDataTransfer.js +10 -0
- package/dist/node_modules/react-dnd-html5-backend/dist/NativeDragSources/index.js +24 -0
- package/dist/node_modules/react-dnd-html5-backend/dist/NativeDragSources/nativeTypesConfig.js +48 -0
- package/dist/node_modules/react-dnd-html5-backend/dist/NativeTypes.js +7 -0
- package/dist/node_modules/react-dnd-html5-backend/dist/OffsetUtils.js +70 -0
- package/dist/node_modules/react-dnd-html5-backend/dist/OptionsReader.js +22 -0
- package/dist/node_modules/react-dnd-html5-backend/dist/index.js +7 -0
- package/dist/node_modules/react-dnd-html5-backend/dist/utils/js_utils.js +22 -0
- package/dist/node_modules/redux/es/redux.js +158 -0
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +2924 -0
- package/dist/src/components/FileManager/hooks/use-file-upload.d.ts +4 -2
- package/dist/src/components/Grid/comparators/base-column-comparator.d.ts +1 -4
- package/dist/src/components/Grid/renderers/utils.d.ts +1 -2
- package/dist/src/components/New/Button/Button.d.ts +4 -3
- package/dist/src/components/New/Checkbox/Checkbox.d.ts +4 -0
- package/dist/src/components/New/Checkbox/CheckboxBox.d.ts +30 -0
- package/dist/src/components/New/CollapsibleSidebar/CollapsibleSidebar.d.ts +82 -0
- package/dist/src/components/New/Dropdown/constants.d.ts +2 -0
- package/dist/src/components/New/EllipsisTooltip/use-truncation.d.ts +5 -0
- package/dist/src/components/New/Grid/Grid.d.ts +124 -0
- package/dist/src/components/New/Grid/components/SelectionCell.d.ts +21 -0
- package/dist/src/components/New/Grid/components/SelectionHeader.d.ts +14 -0
- package/dist/src/components/New/Grid/constants.d.ts +61 -0
- package/dist/src/components/New/Grid/renderers/DateCellRenderer.d.ts +48 -0
- package/dist/src/components/New/Grid/renderers/constants.d.ts +5 -0
- package/dist/src/components/New/Highlight/Highlight.d.ts +1 -1
- package/dist/src/components/New/IconButton/IconButton.d.ts +4 -4
- package/dist/src/components/New/Label/Label.d.ts +5 -0
- package/dist/src/components/New/MarkdownEditor/MarkdownEditor.d.ts +6 -0
- package/dist/src/components/New/NoDataContent/NoDataContent.d.ts +48 -0
- package/dist/src/components/New/Popup/Popup.d.ts +48 -9
- package/dist/src/components/New/Popup/constants.d.ts +7 -0
- package/dist/src/components/New/RadioGroup/RadioGroup.d.ts +78 -0
- package/dist/src/components/New/RadioGroup/constants.d.ts +11 -0
- package/dist/src/components/New/RadioGroupPopupField/RadioGroupPopupField.d.ts +93 -0
- package/dist/src/components/New/RadioGroupPopupField/constants.d.ts +22 -0
- package/dist/src/components/New/ResizableContainer/ConditionalResizableContainer.d.ts +34 -0
- package/dist/src/components/New/ResizableContainer/ResizableContainer.d.ts +77 -0
- package/dist/src/components/New/ResizableContainer/components/ResizeHandle.d.ts +21 -0
- package/dist/src/components/New/SegmentedControl/constants.d.ts +1 -1
- package/dist/src/components/New/Select/constants.d.ts +2 -2
- package/dist/src/components/New/Slider/Slider.d.ts +70 -0
- package/dist/src/components/New/Tag/Tag.d.ts +26 -4
- package/dist/src/components/New/Tag/constants.d.ts +23 -0
- package/dist/src/components/New/Textarea/Textarea.d.ts +8 -2
- package/dist/src/components/New/ThemeScope/ThemeScope.d.ts +46 -0
- package/dist/src/components/New/Tooltip/constants.d.ts +15 -1
- package/dist/src/components/New/constants/icon.d.ts +22 -0
- package/dist/src/components/New/constants/overlay.d.ts +12 -3
- package/dist/src/index.d.ts +29 -1
- package/dist/src/models/dropdown.d.ts +10 -0
- package/dist/src/subpaths/editors.d.ts +21 -0
- package/dist/src/subpaths/file-manager.d.ts +21 -0
- package/dist/src/subpaths/grid.d.ts +25 -0
- package/dist/src/types/tag.d.ts +4 -0
- package/dist/src/utils/__tests__/element-size-observer.spec.d.ts +1 -0
- package/dist/src/utils/element-size-observer.d.ts +26 -0
- package/dist/src/utils/grid-comparators.d.ts +4 -0
- package/dist/src/utils/grid-date.d.ts +7 -0
- package/dist/types/analytics.js +4 -0
- package/dist/types/button.js +5 -0
- package/dist/types/calendar.js +4 -0
- package/dist/types/caption.js +4 -0
- package/dist/types/confirmation-popup.js +4 -0
- package/dist/types/dropdown.js +6 -0
- package/dist/types/editor.js +4 -0
- package/dist/types/file-manager.js +12 -0
- package/dist/types/flexible-actions.js +4 -0
- package/dist/types/form-item.js +4 -0
- package/dist/types/item.js +4 -0
- package/dist/types/notification.js +5 -0
- package/dist/types/popup.js +4 -0
- package/dist/types/radio-group.js +4 -0
- package/dist/types/resizable-container.js +4 -0
- package/dist/types/screen.js +4 -0
- package/dist/types/select.js +5 -0
- package/dist/types/size.js +4 -0
- package/dist/types/skeleton.js +6 -0
- package/dist/types/tab.js +6 -0
- package/dist/types/tag.js +4 -0
- package/dist/types/tooltip.js +4 -0
- package/dist/use-file-manager-tabs-CkYH0CvF.cjs +3 -0
- package/dist/utils/accessible-name.js +6 -0
- package/dist/utils/debounce.js +9 -0
- package/dist/utils/element-size-observer.js +24 -0
- package/dist/utils/file-accept.js +16 -0
- package/dist/utils/flat-to-hierarchy-convertor.js +86 -0
- package/dist/utils/grid-comparators.js +17 -0
- package/dist/utils/grid-date.js +20 -0
- package/dist/utils/merge-classes.js +8 -0
- package/dist/utils/mobile.js +11 -0
- package/dist/utils/path.js +4 -0
- package/dist/utils/sub-menu-floating.js +78 -0
- package/package.json +21 -8
- package/dist/JsonEditor-EOISr6OE.cjs +0 -1
- package/dist/MarkdownEditor-BfeV6-XV.cjs +0 -1
- package/dist/MarkdownEditor-Csbic0gz.js +0 -75
- package/dist/MarkdownEditor-D8p7zjZ1.js +0 -35
- package/dist/MarkdownEditor-vV5rCB3Y.cjs +0 -1
- package/dist/dial-ui-kit.cjs.js +0 -1
- package/dist/dial-ui-kit.es.js +0 -216
- package/dist/index-BVZGIW7V.js +0 -66534
- package/dist/index-Ho1ZjGNx.cjs +0 -71
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
import { DetailedHTMLProps, FC, TextareaHTMLAttributes } from 'react';
|
|
2
2
|
import { LabelProps } from '../Label/Label';
|
|
3
|
+
export declare enum TextareaResize {
|
|
4
|
+
None = "none",
|
|
5
|
+
Both = "both",
|
|
6
|
+
Horizontal = "horizontal",
|
|
7
|
+
Vertical = "vertical"
|
|
8
|
+
}
|
|
3
9
|
export interface TextareaProps extends DetailedHTMLProps<Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, 'onChange'>, HTMLTextAreaElement> {
|
|
4
10
|
labelProps?: LabelProps;
|
|
5
11
|
invalid?: boolean;
|
|
6
12
|
containerClassName?: string;
|
|
7
|
-
resize?: boolean;
|
|
13
|
+
resize?: boolean | TextareaResize;
|
|
8
14
|
error?: string;
|
|
9
15
|
caption?: string;
|
|
10
16
|
onChange?: (value: string) => void;
|
|
@@ -32,7 +38,7 @@ export interface TextareaProps extends DetailedHTMLProps<Omit<TextareaHTMLAttrib
|
|
|
32
38
|
* @param [className=""] - Additional CSS classes to apply to the textarea element
|
|
33
39
|
* @param [containerClassName=""] - Additional CSS classes to apply to the container div
|
|
34
40
|
* @param [invalid=false] - Whether the textarea has validation errors (applies error styling)
|
|
35
|
-
* @param [resize=false] - Whether the textarea
|
|
41
|
+
* @param [resize=false] - Whether/how the textarea can be resized. Accepts a boolean (`true` = both directions, `false` = none) or a {@link TextareaResize} value for a single axis (`horizontal`/`vertical`)
|
|
36
42
|
* @param [error] - Error message to display below the textarea (also adds error styling)
|
|
37
43
|
* @param [caption] - Optional caption text to display below the textarea
|
|
38
44
|
*/
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { FC, ReactNode } from 'react';
|
|
2
|
+
export interface ThemeScopeProps {
|
|
3
|
+
/**
|
|
4
|
+
* Class name that redefines the design tokens for this subtree — typically a
|
|
5
|
+
* host-owned rule setting `--bg-*` / `--text-*` / `--stroke-*` custom
|
|
6
|
+
* properties. Multiple space-separated classes are allowed.
|
|
7
|
+
*/
|
|
8
|
+
className: string;
|
|
9
|
+
children: ReactNode;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Marks a subtree as living under a host-defined token scope, so overlays this
|
|
13
|
+
* subtree opens in a portal are painted with the same tokens.
|
|
14
|
+
* Design system 2.0
|
|
15
|
+
*
|
|
16
|
+
* Redefining design tokens on a panel root re-themes everything the panel
|
|
17
|
+
* renders — until a `Dropdown`, `Popup`, `Tooltip` or `Calendar` escapes into a
|
|
18
|
+
* `FloatingPortal` at the end of `<body>`, where the scope's custom properties
|
|
19
|
+
* no longer reach it. Wrapping the panel in a `ThemeScope` re-applies the same
|
|
20
|
+
* class to those portalled overlays, so an overlay opened from a dark panel
|
|
21
|
+
* stays dark while the rest of the app keeps its own palette.
|
|
22
|
+
*
|
|
23
|
+
* The wrapper itself is `display: contents`, so it generates no box and leaves
|
|
24
|
+
* the surrounding flex or grid layout untouched — custom properties inherit
|
|
25
|
+
* through it all the same. Scopes nest: an inner scope's overlays carry the
|
|
26
|
+
* outer classes first, matching the cascade they would see in place.
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* ```tsx
|
|
30
|
+
* // .side-panel-theme redefines --bg-*, --text-* and --stroke-* tokens.
|
|
31
|
+
* <ThemeScope className="side-panel-theme">
|
|
32
|
+
* <ConversationPanel {...props} />
|
|
33
|
+
* </ThemeScope>
|
|
34
|
+
* ```
|
|
35
|
+
*
|
|
36
|
+
* @param className - Class name redefining the design tokens for this subtree
|
|
37
|
+
* @param children - The subtree painted with those tokens
|
|
38
|
+
*/
|
|
39
|
+
export declare const ThemeScope: FC<ThemeScopeProps>;
|
|
40
|
+
/**
|
|
41
|
+
* Class names of the enclosing `ThemeScope`s, outermost first, or `''` when the
|
|
42
|
+
* caller sits outside any scope. Components rendering into a `FloatingPortal`
|
|
43
|
+
* merge this onto their floating root so the tokens follow them out of the
|
|
44
|
+
* subtree.
|
|
45
|
+
*/
|
|
46
|
+
export declare const useThemeScope: () => string;
|
|
@@ -21,5 +21,19 @@ export declare const arrowClassName = "fill-control-inverted";
|
|
|
21
21
|
/**
|
|
22
22
|
* Tooltips sit above popups, dropdowns and the calendar (all `z-[53]`), since
|
|
23
23
|
* they can be triggered by a control inside one of them.
|
|
24
|
+
*
|
|
25
|
+
* `max-w-[376px]` is the cap the design puts on a tooltip: at `dial-small-text`
|
|
26
|
+
* that is around 60 characters a line, past which a line stops being
|
|
27
|
+
* comfortable to read. Longer text wraps instead of widening the bubble. The
|
|
28
|
+
* width stays a literal because Tailwind only sees static class strings.
|
|
29
|
+
*
|
|
30
|
+
* `shadow-xs` is the elevation the design gives a tooltip — the tightest step
|
|
31
|
+
* of the scale, which is what a bubble anchored to its trigger needs: enough to
|
|
32
|
+
* lift it off the surface underneath without reading as a floating panel, the
|
|
33
|
+
* way `shadow-md` marks a dropdown or a calendar. It matters most where the
|
|
34
|
+
* inverted surface is the lightest thing on screen, on a dark panel. The arrow
|
|
35
|
+
* takes no shadow of its own: both `xs` layers blur 4px or less, so there is
|
|
36
|
+
* nothing to see around a 7px triangle that the box's own shadow does not
|
|
37
|
+
* already carry.
|
|
24
38
|
*/
|
|
25
|
-
export declare const tooltipClassName = "z-[55] max-w-[
|
|
39
|
+
export declare const tooltipClassName = "z-[55] max-w-[376px] whitespace-pre-wrap break-words rounded-lg bg-control-inverted px-3 py-2 dial-small-text text-control-inverted shadow-xs";
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Icon stroke (1.5px) from the 2.0 stroke scale. Tabler renders every outline
|
|
3
|
+
* icon at `stroke={2}` unless told otherwise, so the token has to be passed
|
|
4
|
+
* explicitly — a 2.0 component that omits it draws a heavier icon than the
|
|
5
|
+
* design system asks for.
|
|
6
|
+
*
|
|
7
|
+
* It is a number rather than a Tailwind utility because an icon's weight is an
|
|
8
|
+
* SVG `stroke-width` attribute on the glyph, not a border on its box. The
|
|
9
|
+
* border half of the same scale stays on plain Tailwind widths — `border`,
|
|
10
|
+
* `border-2`, `border-4`, and `border-[0.5px]` for a table divider.
|
|
11
|
+
*
|
|
12
|
+
* Exported publicly so icons a consumer passes into a 2.0 component — a button
|
|
13
|
+
* icon, a menu item, a segmented-control segment — can match the ones the
|
|
14
|
+
* components draw themselves.
|
|
15
|
+
*
|
|
16
|
+
* Two deliberate departures inside the library: the empty-state illustrations
|
|
17
|
+
* (`NoDataContent`, the grid's no-rows overlay) use a much lighter stroke,
|
|
18
|
+
* since a 1.5px line reads as a drawing at 16px and as a fence at 100px; and
|
|
19
|
+
* the checkbox glyph uses a heavier one, because it is a control mark sized to
|
|
20
|
+
* a 14px box rather than an icon from the set.
|
|
21
|
+
*/
|
|
22
|
+
export declare const DIAL_KIT_ICON_STROKE = 1.5;
|
|
@@ -17,8 +17,17 @@ export declare const overlaySubMenuClassName: string;
|
|
|
17
17
|
* reached by keyboard, and the 1.0 versions suppressed the ring outright.
|
|
18
18
|
*/
|
|
19
19
|
export declare const overlayItemClassName: string;
|
|
20
|
-
/**
|
|
21
|
-
|
|
22
|
-
|
|
20
|
+
/**
|
|
21
|
+
* Tint marking the row that is currently selected, at rest: the faint step of
|
|
22
|
+
* the accent-alpha ramp, so hovering a selected row still has somewhere to go.
|
|
23
|
+
*/
|
|
24
|
+
export declare const overlayItemSelectedClassName = "bg-control-accent-alpha";
|
|
25
|
+
/**
|
|
26
|
+
* A row that cannot be chosen. `overlayItemClassName` tints every row on hover
|
|
27
|
+
* and a selected row carries a tint at rest, so both have to be turned off
|
|
28
|
+
* again here — `mergeClasses` is tailwind-merge, so these later declarations
|
|
29
|
+
* win as long as the disabled classes are merged after the selected ones.
|
|
30
|
+
*/
|
|
31
|
+
export declare const overlayItemDisabledClassName: string;
|
|
23
32
|
/** Distance between the trigger and its panel, and between nested panels. */
|
|
24
33
|
export declare const overlayGap = 4;
|
package/dist/src/index.d.ts
CHANGED
|
@@ -178,7 +178,7 @@ export { InfoButton } from './components/New/InfoButton/InfoButton';
|
|
|
178
178
|
export type { InfoButtonProps } from './components/New/InfoButton/InfoButton';
|
|
179
179
|
export type { LabelProps } from './components/New/Label/Label';
|
|
180
180
|
export { Label } from './components/New/Label/Label';
|
|
181
|
-
export { Textarea } from './components/New/Textarea/Textarea';
|
|
181
|
+
export { Textarea, TextareaResize } from './components/New/Textarea/Textarea';
|
|
182
182
|
export { Input } from './components/New/Input/Input';
|
|
183
183
|
export type { InputProps } from './components/New/Input/Input';
|
|
184
184
|
export { PasswordInput } from './components/New/PasswordInput/PasswordInput';
|
|
@@ -193,6 +193,8 @@ export { ConfirmationPopup } from './components/New/ConfirmationPopup/Confirmati
|
|
|
193
193
|
export type { ConfirmationPopupProps } from './components/New/ConfirmationPopup/ConfirmationPopup';
|
|
194
194
|
export { Dropdown } from './components/New/Dropdown/Dropdown';
|
|
195
195
|
export type { DropdownProps } from './components/New/Dropdown/Dropdown';
|
|
196
|
+
export { ThemeScope, useThemeScope, } from './components/New/ThemeScope/ThemeScope';
|
|
197
|
+
export type { ThemeScopeProps } from './components/New/ThemeScope/ThemeScope';
|
|
196
198
|
export type { TextareaProps } from './components/New/Textarea/Textarea';
|
|
197
199
|
export type { CaptionTextProps } from './components/New/CaptionText/CaptionText';
|
|
198
200
|
export { CaptionText, ErrorText, } from './components/New/CaptionText/CaptionText';
|
|
@@ -202,8 +204,14 @@ export { Switch } from './components/New/Switch/Switch';
|
|
|
202
204
|
export type { SwitchProps } from './components/New/Switch/Switch';
|
|
203
205
|
export { Radio } from './components/New/Radio/Radio';
|
|
204
206
|
export type { RadioProps } from './components/New/Radio/Radio';
|
|
207
|
+
export { RadioGroup } from './components/New/RadioGroup/RadioGroup';
|
|
208
|
+
export type { RadioGroupProps, RadioGroupItem, } from './components/New/RadioGroup/RadioGroup';
|
|
209
|
+
export { RadioGroupPopupField } from './components/New/RadioGroupPopupField/RadioGroupPopupField';
|
|
210
|
+
export type { RadioGroupPopupFieldProps } from './components/New/RadioGroupPopupField/RadioGroupPopupField';
|
|
205
211
|
export { Checkbox } from './components/New/Checkbox/Checkbox';
|
|
206
212
|
export type { CheckboxProps } from './components/New/Checkbox/Checkbox';
|
|
213
|
+
export { CheckboxBox } from './components/New/Checkbox/CheckboxBox';
|
|
214
|
+
export type { CheckboxBoxProps } from './components/New/Checkbox/CheckboxBox';
|
|
207
215
|
export { ToggleIconButton } from './components/New/ToggleIconButton/ToggleIconButton';
|
|
208
216
|
export type { ToggleIconButtonProps } from './components/New/ToggleIconButton/ToggleIconButton';
|
|
209
217
|
export { SegmentedControl } from './components/New/SegmentedControl/SegmentedControl';
|
|
@@ -214,11 +222,14 @@ export { FileDropzone } from './components/New/FileDropzone/FileDropzone';
|
|
|
214
222
|
export type { FileDropzoneProps } from './components/New/FileDropzone/FileDropzone';
|
|
215
223
|
export { Tag } from './components/New/Tag/Tag';
|
|
216
224
|
export type { TagProps } from './components/New/Tag/Tag';
|
|
225
|
+
export { TagAppearance } from './types/tag';
|
|
217
226
|
export { TagInput } from './components/New/TagInput/TagInput';
|
|
218
227
|
export type { TagInputProps } from './components/New/TagInput/TagInput';
|
|
219
228
|
export { Search } from './components/New/Search/Search';
|
|
220
229
|
export type { SearchProps } from './components/New/Search/Search';
|
|
221
230
|
export { matchesAccept } from './utils/file-accept';
|
|
231
|
+
export { Slider } from './components/New/Slider/Slider';
|
|
232
|
+
export type { SliderProps } from './components/New/Slider/Slider';
|
|
222
233
|
export { Tooltip } from './components/New/Tooltip/Tooltip';
|
|
223
234
|
export type { TooltipProps } from './components/New/Tooltip/Tooltip';
|
|
224
235
|
export { TooltipContainer } from './components/New/Tooltip/TooltipContainer';
|
|
@@ -229,3 +240,20 @@ export type { TooltipContainerOptions } from './components/New/Tooltip/TooltipCo
|
|
|
229
240
|
export { TooltipPlacement } from './types/tooltip.ts';
|
|
230
241
|
export { EllipsisTooltip } from './components/New/EllipsisTooltip/EllipsisTooltip';
|
|
231
242
|
export type { EllipsisTooltipProps } from './components/New/EllipsisTooltip/EllipsisTooltip';
|
|
243
|
+
export { CollapsibleSidebar } from './components/New/CollapsibleSidebar/CollapsibleSidebar';
|
|
244
|
+
export type { CollapsibleSidebarProps } from './components/New/CollapsibleSidebar/CollapsibleSidebar';
|
|
245
|
+
export { ResizableContainer } from './components/New/ResizableContainer/ResizableContainer';
|
|
246
|
+
export type { ResizableContainerProps } from './components/New/ResizableContainer/ResizableContainer';
|
|
247
|
+
export { ConditionalResizableContainer } from './components/New/ResizableContainer/ConditionalResizableContainer';
|
|
248
|
+
export type { ConditionalResizableContainerProps } from './components/New/ResizableContainer/ConditionalResizableContainer';
|
|
249
|
+
export { NoDataContent } from './components/New/NoDataContent/NoDataContent';
|
|
250
|
+
export type { NoDataContentProps } from './components/New/NoDataContent/NoDataContent';
|
|
251
|
+
export { Grid, GRID_SELECTION_COLUMN_ID } from './components/New/Grid/Grid';
|
|
252
|
+
export type { GridProps } from './components/New/Grid/Grid';
|
|
253
|
+
export { DateCellRenderer } from './components/New/Grid/renderers/DateCellRenderer';
|
|
254
|
+
export type { DateCellRendererProps, DateValue, } from './components/New/Grid/renderers/DateCellRenderer';
|
|
255
|
+
export { DEFAULT_DATE_FORMAT_OPTIONS, DEFAULT_LOCALE as DEFAULT_DATE_LOCALE, } from './components/New/Grid/renderers/constants';
|
|
256
|
+
export { GRID_ALIGN_RIGHT_CLASS, GRID_ROOT_CLASS, GRID_THEME_PARAMS, ROW_HEIGHT as GRID_ROW_HEIGHT, } from './components/New/Grid/constants';
|
|
257
|
+
export { DIAL_KIT_ICON_STROKE } from './components/New/constants/icon';
|
|
258
|
+
export { convertToDate } from './utils/grid-date';
|
|
259
|
+
export { baseColumnComparator, checkColDefsChanges, } from './utils/grid-comparators';
|
|
@@ -15,6 +15,16 @@ export interface DropdownItem {
|
|
|
15
15
|
icon?: ReactNode;
|
|
16
16
|
disabled?: boolean;
|
|
17
17
|
danger?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Renders the item as a multiselect row: a checkbox box before the label, the
|
|
20
|
+
* accent tint while checked, and a click that leaves the menu open. The row is
|
|
21
|
+
* a `menuitemcheckbox` whose state lives on `aria-checked`; the box itself is
|
|
22
|
+
* decorative. Keep `checked` in your own state and update it from the item's
|
|
23
|
+
* `onClick` (or the dropdown's `onItemClick`).
|
|
24
|
+
*/
|
|
25
|
+
selectable?: boolean;
|
|
26
|
+
/** Whether a `selectable` item is currently checked. */
|
|
27
|
+
checked?: boolean;
|
|
18
28
|
type?: DropdownItemType;
|
|
19
29
|
className?: string;
|
|
20
30
|
onClick?: (info: {
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `@epam/ai-dial-ui-kit/editors` - curated subpath for the JSON/Markdown
|
|
3
|
+
* editor lazy loaders.
|
|
4
|
+
*
|
|
5
|
+
* These loaders are intentionally re-declared here (not re-exported from a
|
|
6
|
+
* shared helper module) rather than imported from `../index`: `src/index.ts`
|
|
7
|
+
* exports them as top-level `export const LazyX = () => import('./path')`
|
|
8
|
+
* declarations because `src/mcp/generate-manifest.ts` pattern-matches that
|
|
9
|
+
* shape to discover and
|
|
10
|
+
* attach lazy-loading metadata to `DialJsonEditor`/`DialMarkdownEditor`/
|
|
11
|
+
* `MarkdownEditor` (2.0) in the published MCP component manifest. Each
|
|
12
|
+
* dynamic `import()` below targets the same module as its `src/index.ts`
|
|
13
|
+
* counterpart, so both entry points preserve the same lazy boundaries.
|
|
14
|
+
*/
|
|
15
|
+
export declare const LazyDialJsonEditor: () => Promise<typeof import("../components/JsonEditor/JsonEditor")>;
|
|
16
|
+
export declare const LazyDialMarkdownEditor: () => Promise<typeof import("../components/MarkdownEditor/MarkdownEditor")>;
|
|
17
|
+
export declare const LazyMarkdownEditor: () => Promise<typeof import("../components/New/MarkdownEditor/MarkdownEditor")>;
|
|
18
|
+
export declare const LazyDialMarkdownEditorContainer: () => Promise<typeof import("../components/MarkdownEditor/MarkdownEditorContainer")>;
|
|
19
|
+
export { EditorThemes } from '../types/editor';
|
|
20
|
+
export type { MarkdownEditorProps } from '../components/New/MarkdownEditor/MarkdownEditor';
|
|
21
|
+
export type { DialMarkdownEditorContainerProps } from '../components/MarkdownEditor/MarkdownEditorContainer';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `@epam/ai-dial-ui-kit/file-manager` - curated subpath for `DialFileManager`
|
|
3
|
+
* and its directly related types/hooks/constants.
|
|
4
|
+
*
|
|
5
|
+
* Re-exports the FileManager-related names from the root `src/index.ts`
|
|
6
|
+
* barrel. `DialFileManager` reaches the legacy `DialGrid`
|
|
7
|
+
* (src/components/FileManager/FileManager.tsx:46), so importing from this
|
|
8
|
+
* subpath pulls in ag-grid-community/ag-grid-react exactly as importing
|
|
9
|
+
* `DialFileManager` from the root does.
|
|
10
|
+
*/
|
|
11
|
+
export { DialFileManager } from '../components/FileManager/FileManager';
|
|
12
|
+
export type { FileManagerGridRow } from '../components/FileManager/FileManagerContext';
|
|
13
|
+
export type { GridOptions, ToolbarOptions, BulkActionsToolbarOptions, } from '../components/FileManager/FileManager';
|
|
14
|
+
export { DialDestinationFolderPopup } from '../components/FileManager/components/DestinationFolderPopup/DestinationFolderPopup';
|
|
15
|
+
export { DialFoldersTree } from '../components/FileManager/components/FoldersTree/FoldersTree';
|
|
16
|
+
export { useDialFileManagerTabs } from '../components/FileManager/hooks/use-file-manager-tabs';
|
|
17
|
+
export { FileManagerProvider } from '../components/FileManager/FileManagerProvider';
|
|
18
|
+
export { useFileManagerContext } from '../components/FileManager/hooks/use-file-manager-context';
|
|
19
|
+
export { DialFileManagerTabs, DialFileManagerActions, FileManagerColumnKey, } from '../types/file-manager';
|
|
20
|
+
export { type DialCopiedItem, type DialDeletedItem, type DialUploadFileItem, type DialFileManagerActionsRef, type DialFileAcceptType, } from '../models/file-manager';
|
|
21
|
+
export { NAME_COLUMN, SIZE_COLUMN, UPDATED_AT_COLUMN, } from '../constants/file-grid-columns';
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `@epam/ai-dial-ui-kit/grid` - curated subpath for both Grid generations.
|
|
3
|
+
*
|
|
4
|
+
* Re-exports the Grid-related names from the root `src/index.ts` barrel.
|
|
5
|
+
* This subpath is an ergonomic feature boundary, not a substitute for the
|
|
6
|
+
* root entry's own tree-shaking (which
|
|
7
|
+
* `preserveModules` already provides for a root `import { Button } from
|
|
8
|
+
* '@epam/ai-dial-ui-kit'`). Importing from here pulls in ag-grid-community /
|
|
9
|
+
* ag-grid-react, exactly as importing `Grid`/`DialGrid` from the root does.
|
|
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
|
+
export { Grid, GRID_SELECTION_COLUMN_ID } from '../components/New/Grid/Grid';
|
|
18
|
+
export type { GridProps } from '../components/New/Grid/Grid';
|
|
19
|
+
export { DateCellRenderer } from '../components/New/Grid/renderers/DateCellRenderer';
|
|
20
|
+
export type { DateCellRendererProps, DateValue, } from '../components/New/Grid/renderers/DateCellRenderer';
|
|
21
|
+
export { DEFAULT_DATE_FORMAT_OPTIONS, DEFAULT_LOCALE as DEFAULT_DATE_LOCALE, } from '../components/New/Grid/renderers/constants';
|
|
22
|
+
export { GRID_ALIGN_RIGHT_CLASS, GRID_ROOT_CLASS, GRID_THEME_PARAMS, ROW_HEIGHT as GRID_ROW_HEIGHT, } from '../components/New/Grid/constants';
|
|
23
|
+
export { convertToDate } from '../utils/grid-date';
|
|
24
|
+
export { baseColumnComparator, checkColDefsChanges, } from '../utils/grid-comparators';
|
|
25
|
+
export { GridSelectionMode } from '../models/selection-mode';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
type SizeCallback = () => void;
|
|
2
|
+
/**
|
|
3
|
+
* Queues a measurement for the next animation frame, coalescing it with every
|
|
4
|
+
* other measurement queued for that frame.
|
|
5
|
+
*
|
|
6
|
+
* Passing the same callback twice before the frame runs schedules it once.
|
|
7
|
+
*
|
|
8
|
+
* @param callback - Reads layout and stores the result; must be referentially stable
|
|
9
|
+
*/
|
|
10
|
+
export declare const scheduleMeasure: (callback: SizeCallback) => void;
|
|
11
|
+
/**
|
|
12
|
+
* Watches an element's box for size changes and calls back — batched through
|
|
13
|
+
* {@link scheduleMeasure} — whenever it may need re-measuring.
|
|
14
|
+
*
|
|
15
|
+
* A parent can resize without the window doing so, which is what the
|
|
16
|
+
* `ResizeObserver` covers; the `window.resize` listener stays for environments
|
|
17
|
+
* that have no `ResizeObserver`.
|
|
18
|
+
*
|
|
19
|
+
* One callback per element: observing the same element again replaces it.
|
|
20
|
+
*
|
|
21
|
+
* @param element - The element to watch
|
|
22
|
+
* @param callback - Runs when the element may have changed size; must be referentially stable
|
|
23
|
+
* @returns Unsubscribes the element, tearing the shared observer down once nothing is left to watch
|
|
24
|
+
*/
|
|
25
|
+
export declare const observeElementSize: (element: Element, callback: SizeCallback) => () => void;
|
|
26
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ColDef, IRowNode } from 'ag-grid-community';
|
|
2
|
+
export declare const baseColumnComparator: (a: string | number | undefined, b: string | number | undefined, _nodeA?: IRowNode, _nodeB?: IRowNode, isInverted?: boolean) => number;
|
|
3
|
+
export declare const omitUndefined: <T extends object>(value: T | undefined) => T;
|
|
4
|
+
export declare const checkColDefsChanges: (cols: ColDef[], initialCols: ColDef[]) => boolean;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export type DateValue = string | number | Date;
|
|
2
|
+
/**
|
|
3
|
+
* Normalises the value a date cell can receive into a `Date`, or `null` when it
|
|
4
|
+
* carries no usable date. A pure integer string is read as epoch milliseconds,
|
|
5
|
+
* so a serialised timestamp behaves like the number it came from.
|
|
6
|
+
*/
|
|
7
|
+
export declare const convertToDate: (input?: DateValue | null) => Date | null;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
var s = /* @__PURE__ */ ((r) => (r.Primary = "primary", r.Neutral = "neutral", r.Danger = "danger", r.Static = "static", r.Success = "success", r.Secondary = "secondary", r.Tertiary = "tertiary", r))(s || {}), e = /* @__PURE__ */ ((r) => (r.Solid = "solid", r.Outlined = "outlined", r.Ghost = "ghost", r.Link = "link", r))(e || {});
|
|
2
|
+
export {
|
|
3
|
+
e as ButtonAppearance,
|
|
4
|
+
s as ButtonVariant
|
|
5
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
var t = /* @__PURE__ */ ((e) => (e.Dropdown = "dropdown", e.Menu = "menu", e))(t || {}), n = /* @__PURE__ */ ((e) => (e.Click = "click", e.Hover = "hover", e.ContextMenu = "contextMenu", e))(n || {}), i = /* @__PURE__ */ ((e) => (e.Item = "item", e.Divider = "divider", e.PlainText = "plainText", e))(i || {});
|
|
2
|
+
export {
|
|
3
|
+
i as DropdownItemType,
|
|
4
|
+
n as DropdownTrigger,
|
|
5
|
+
t as DropdownType
|
|
6
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
var v = /* @__PURE__ */ ((d) => (d.MyFiles = "my_files", d.Shared = "shared", d.Organization = "organization", d.Review = "review", d))(v || {}), p = /* @__PURE__ */ ((d) => (d.AddSibling = "addSibling", d.AddChild = "addChild", d.Duplicate = "duplicate", d.Copy = "copy", d.Move = "move", d.Download = "download", d.Delete = "delete", d.Rename = "rename", d.Info = "info", d.Unshare = "unshare", d.RemoveAccess = "removeAccess", d.ManagePermissions = "managePermissions", d.Preview = "preview", d.OpenInNewTab = "openInNewTab", d))(p || {}), r = /* @__PURE__ */ ((d) => (d.Replace = "replace", d.Duplicate = "duplicate", d.Cancel = "cancel", d))(r || {}), h = /* @__PURE__ */ ((d) => (d.ReplaceAll = "replaceAll", d.DuplicateAll = "duplicateAll", d.DecideForEach = "decideForEach", d))(h || {}), u = /* @__PURE__ */ ((d) => (d.Copy = "copy", d.Move = "move", d))(u || {}), w = /* @__PURE__ */ ((d) => (d.Tree = "tree", d.Grid = "grid", d))(w || {}), c = /* @__PURE__ */ ((d) => (d.Tree = "tree", d.Grid = "grid", d))(c || {}), m = /* @__PURE__ */ ((d) => (d.Folder = "folder", d.Child = "child", d.Sibling = "sibling", d))(m || {}), t = /* @__PURE__ */ ((d) => (d.Name = "name", d.UpdatedAt = "updatedAt", d.Size = "size", d.Author = "author", d.Owner = "owner", d.Path = "path", d.Actions = "__actions", d.Version = "version", d))(t || {});
|
|
2
|
+
export {
|
|
3
|
+
u as DestinationFolderMode,
|
|
4
|
+
p as DialFileManagerActions,
|
|
5
|
+
r as DialFileManagerConflictActions,
|
|
6
|
+
h as DialFileManagerConflictStrategies,
|
|
7
|
+
v as DialFileManagerTabs,
|
|
8
|
+
t as FileManagerColumnKey,
|
|
9
|
+
c as FileManagerCreateFolderTriggerView,
|
|
10
|
+
m as FileManagerCreateFolderType,
|
|
11
|
+
w as FileManagerRenameTriggerView
|
|
12
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
var r = /* @__PURE__ */ ((e) => (e.Info = "info", e.Success = "success", e.Warning = "warning", e.Error = "error", e.Loading = "loading", e.General = "general", e))(r || {}), s = /* @__PURE__ */ ((e) => (e.Toast = "toast", e.SectionMessage = "section-message", e))(s || {});
|
|
2
|
+
export {
|
|
3
|
+
s as NotificationType,
|
|
4
|
+
r as NotificationVariant
|
|
5
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
var u = /* @__PURE__ */ ((r) => (r.Default = "default", r.Text = "text", r.Circular = "circular", r.Rectangular = "rectangular", r))(u || {}), l = /* @__PURE__ */ ((r) => (r.Small = "small", r.Default = "default", r.Large = "large", r))(l || {}), c = /* @__PURE__ */ ((r) => (r.Circle = "circle", r.Square = "square", r))(c || {});
|
|
2
|
+
export {
|
|
3
|
+
c as SkeletonAvatarShape,
|
|
4
|
+
l as SkeletonAvatarSize,
|
|
5
|
+
u as SkeletonVariant
|
|
6
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
var l = /* @__PURE__ */ ((r) => (r.Horizontal = "horizontal", r.Vertical = "vertical", r))(l || {}), t = /* @__PURE__ */ ((r) => (r.Default = "default", r.Inline = "inline", r))(t || {}), e = /* @__PURE__ */ ((r) => (r.Mobile = "mobile", r.Tablet = "tablet", r))(e || {});
|
|
2
|
+
export {
|
|
3
|
+
e as ScreenResolution,
|
|
4
|
+
l as TabOrientation,
|
|
5
|
+
t as TabView
|
|
6
|
+
};
|