@epam/ai-dial-ui-kit 0.16.0-dev.5 → 0.16.0-dev.50
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 +21 -11
- package/dist/CHANGELOG.md +83 -1
- package/dist/{DateCellRenderer-ElULb0hY.cjs → DateCellRenderer-CPl27YD9.cjs} +32 -32
- package/dist/MarkdownEditor-BtLY7OVq.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/{Analytics → New/Analytics}/Card/Card.js +32 -20
- package/dist/components/New/Analytics/Histogram/Histogram.js +212 -0
- package/dist/components/New/Avatar/Avatar.js +20 -18
- package/dist/components/New/BottomSheet/BottomSheet.js +53 -52
- package/dist/components/New/Breadcrumbs/constants.js +1 -1
- package/dist/components/New/Calendar/Calendar.js +314 -227
- package/dist/components/New/Calendar/TimePickerPanel.js +87 -0
- package/dist/components/New/Calendar/constants.js +27 -25
- package/dist/components/New/CaptionText/CaptionText.js +3 -4
- package/dist/components/New/Checkbox/Checkbox.js +23 -21
- package/dist/components/New/Checkbox/CheckboxBox.js +25 -18
- package/dist/components/New/ConfirmationPopup/ConfirmationPopup.js +49 -44
- package/dist/components/New/Dropdown/Dropdown.js +334 -254
- package/dist/components/New/Dropdown/constants.js +21 -18
- package/dist/components/New/Dropdown/search.js +37 -0
- package/dist/components/New/EntityIdentity/EntityIdentity.js +62 -60
- package/dist/components/New/FolderPath/FolderPath.js +151 -46
- package/dist/components/New/FormSection/FormSection.js +87 -0
- package/dist/components/New/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/MenuItem/MenuItem.js +17 -17
- package/dist/components/New/NoDataContent/NoDataContent.js +22 -27
- package/dist/components/New/NoDataContent/NoDataIllustration.js +53 -0
- package/dist/components/New/PasswordInput/PasswordInput.js +33 -32
- package/dist/components/New/Popup/constants.js +1 -1
- package/dist/components/New/Radio/Radio.js +19 -17
- package/dist/components/New/ResizeHandle/ResizeHandle.js +147 -0
- package/dist/components/New/SchemaRenderer/components/SchemaField.js +45 -44
- package/dist/components/New/SchemaRenderer/components/SchemaFieldContent.js +41 -38
- package/dist/components/New/SchemaRenderer/components/SchemaPrimitiveField.js +45 -39
- package/dist/components/New/Select/Select.js +205 -202
- package/dist/components/New/Select/constants.js +29 -38
- package/dist/components/New/SelectedEntityCard/SelectedEntityCard.js +86 -0
- package/dist/components/New/SharedEntityIndicator/SharedEntityIndicator.js +1 -1
- package/dist/components/New/SideDrawer/SideDrawer.js +1 -1
- package/dist/components/New/StateScreen/StateScreen.js +61 -0
- package/dist/components/New/Steps/Steps.js +84 -0
- package/dist/components/New/Switch/Switch.js +19 -17
- package/dist/components/New/Tabs/Tabs.js +91 -58
- package/dist/components/New/Tag/Tag.js +34 -34
- package/dist/components/New/Tag/constants.js +13 -4
- package/dist/components/New/Textarea/Textarea.js +37 -33
- package/dist/components/New/TransferQueue/TransferQueue.js +66 -71
- package/dist/components/New/TransferQueue/TransferQueueHeader.js +30 -38
- package/dist/components/New/TransferQueue/TransferQueueRow.js +106 -49
- package/dist/components-manifest.json +3478 -6451
- package/dist/constants/public-class-names.js +27 -7
- package/dist/dial-ui-kit.cjs +4 -2
- package/dist/dial-ui-kit.js +379 -468
- 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-D93YIwGJ.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 +7 -7
- 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 +12 -3
- package/dist/src/components/New/Breadcrumbs/constants.d.ts +2 -2
- package/dist/src/components/New/ButtonDropdown/constants.d.ts +1 -1
- package/dist/src/components/New/Calendar/Calendar.d.ts +10 -2
- package/dist/src/components/New/Calendar/TimePickerPanel.d.ts +15 -0
- package/dist/src/components/New/Calendar/constants.d.ts +7 -5
- package/dist/src/components/New/CaptionText/CaptionText.d.ts +8 -1
- package/dist/src/components/New/Dropdown/Dropdown.d.ts +42 -0
- package/dist/src/components/New/Dropdown/constants.d.ts +7 -1
- package/dist/src/components/New/Dropdown/search.d.ts +9 -0
- package/dist/src/components/New/EntityIdentity/EntityIdentity.d.ts +6 -2
- package/dist/src/components/New/FilterChips/FilterChips.d.ts +1 -1
- package/dist/src/components/New/FolderPath/FolderPath.d.ts +16 -8
- package/dist/src/components/New/FormSection/FormSection.d.ts +63 -0
- package/dist/src/components/New/Grid/Grid.d.ts +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/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/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 +47 -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/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/constants/public-class-names.d.ts +27 -7
- package/dist/src/index.d.ts +31 -82
- package/dist/src/subpaths/editors.d.ts +9 -15
- package/dist/src/subpaths/grid.d.ts +3 -9
- package/dist/src/types/avatar.d.ts +9 -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/tab.d.ts +5 -0
- package/dist/src/types/tag.d.ts +3 -1
- package/dist/src/utils/avatar.d.ts +2 -1
- package/dist/src/utils/grid-registration.d.ts +6 -8
- package/dist/src/utils/sub-menu-floating.d.ts +1 -1
- package/dist/types/avatar.js +3 -2
- package/dist/types/form-section.js +4 -0
- package/dist/types/grid.js +3 -2
- package/dist/types/tab.js +5 -4
- package/dist/types/tag.js +2 -2
- package/dist/utils/avatar.js +41 -18
- package/dist/utils/merge-classes.js +36 -7
- package/dist/utils/sub-menu-floating.js +8 -8
- package/package.json +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 -7
- package/dist/_virtual/index3.js +0 -4
- 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/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
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { FC, ReactNode } from 'react';
|
|
2
|
-
import { DialPopupProps } from '../Popup/Popup';
|
|
3
|
-
export interface DialFormPopupProps extends DialPopupProps {
|
|
4
|
-
submitLabel?: string;
|
|
5
|
-
cancelLabel?: string;
|
|
6
|
-
isLoading?: boolean;
|
|
7
|
-
disableSubmitButton?: boolean;
|
|
8
|
-
submitClassName?: string;
|
|
9
|
-
onSubmit: () => void;
|
|
10
|
-
onCancel?: () => void;
|
|
11
|
-
children?: ReactNode;
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* A form-oriented popup dialog.
|
|
15
|
-
* aliases: FormDialog|FormModal
|
|
16
|
-
* Design system 1.0
|
|
17
|
-
*
|
|
18
|
-
* Provides an accessible popup with a title, custom body,
|
|
19
|
-
* and a footer with "Cancel" and "Submit" actions.
|
|
20
|
-
*
|
|
21
|
-
* @example
|
|
22
|
-
* ```tsx
|
|
23
|
-
* <DialFormPopup
|
|
24
|
-
* open
|
|
25
|
-
* header="Create Model"
|
|
26
|
-
* onClose={() => setOpen(false)}
|
|
27
|
-
* onSubmit={handleSubmit}
|
|
28
|
-
* />
|
|
29
|
-
* ```
|
|
30
|
-
*
|
|
31
|
-
* @param header - Title content for the header
|
|
32
|
-
* @param [open=false] - Controls visibility of the popup
|
|
33
|
-
* @param [submitLabel="Submit"] - Label for the primary action button
|
|
34
|
-
* @param [cancelLabel="Cancel"] - Label for the cancel button
|
|
35
|
-
* @param [isLoading=false] - Shows loader placeholder and hides actions
|
|
36
|
-
* @param [disableSubmitButton=false] - Disables the submit button
|
|
37
|
-
* @param [className] - Extra classes for the popup container
|
|
38
|
-
* @param [submitClassName] - Extra classes merged into the submit button
|
|
39
|
-
* @param onClose - Fired on close
|
|
40
|
-
* @param onSubmit - Fired on submit
|
|
41
|
-
* @param [onCancel] - Fired on cancel (falls back to `onClose`)
|
|
42
|
-
* @param [children] - Custom body content
|
|
43
|
-
* @param [dividers=true] - Whether to render separators between sections
|
|
44
|
-
* @param [size=PopupSize.Md] - Size of the popup
|
|
45
|
-
*/
|
|
46
|
-
export declare const DialFormPopup: FC<DialFormPopupProps>;
|
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
import { ColDef, GridApi, GridOptions } from 'ag-grid-community';
|
|
2
|
-
import { ReactNode } from 'react';
|
|
3
|
-
import { DropdownItem } from '../../models/dropdown';
|
|
4
|
-
import { GridSelectionMode } from '../../models/selection-mode';
|
|
5
|
-
export interface DialGridProps<T extends object = Record<string, unknown>> {
|
|
6
|
-
columnDefs?: ColDef<T>[];
|
|
7
|
-
rowData?: T[];
|
|
8
|
-
additionalGridOptions?: GridOptions<T>;
|
|
9
|
-
getContextMenuItems?: (row: T) => DropdownItem[];
|
|
10
|
-
className?: string;
|
|
11
|
-
ariaLabel?: string;
|
|
12
|
-
wrapCustomCellRenderers?: boolean | ((col: ColDef<T>) => boolean);
|
|
13
|
-
disabledRowIds?: Set<string>;
|
|
14
|
-
selectedRowIds?: Set<string>;
|
|
15
|
-
onGridApiChange?: (api: GridApi<T>) => void;
|
|
16
|
-
onSelectionChange?: (selectedRowIds: Set<string>, selectedRows: T[]) => void;
|
|
17
|
-
getRowId?: (row: T) => string;
|
|
18
|
-
alternateOddRowColors?: boolean;
|
|
19
|
-
filterPlaceholder?: string;
|
|
20
|
-
emptyStateIcon?: ReactNode;
|
|
21
|
-
emptyStateTitle?: string;
|
|
22
|
-
emptyStateDescription?: string;
|
|
23
|
-
loading?: boolean;
|
|
24
|
-
wrapperBorder?: boolean;
|
|
25
|
-
withoutHeaderBorders?: boolean;
|
|
26
|
-
selectionMode?: GridSelectionMode;
|
|
27
|
-
allowDisabledContextMenu?: boolean;
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* DialGrid — A feature-rich data grid wrapper built on ag-Grid with dark theme support.
|
|
31
|
-
* aliases: DataTable|TableGrid
|
|
32
|
-
* Design system 1.0
|
|
33
|
-
*
|
|
34
|
-
* Provides a pre-configured grid with:
|
|
35
|
-
* - Dark theme styling with CSS variable integration
|
|
36
|
-
* - Optional row selection with checkboxes
|
|
37
|
-
* - Context menu integration via DialDropdown
|
|
38
|
-
* - Text overflow handling with tooltips via DialEllipsisTooltip
|
|
39
|
-
* - Controlled or uncontrolled selection modes
|
|
40
|
-
* - Automatic column sizing and responsive behavior
|
|
41
|
-
* - Full accessibility support with ARIA attributes
|
|
42
|
-
* - Loading state with native AG-Grid overlay
|
|
43
|
-
*
|
|
44
|
-
* @example
|
|
45
|
-
* ```tsx
|
|
46
|
-
* // Basic usage with data
|
|
47
|
-
* interface Product {
|
|
48
|
-
* id: string;
|
|
49
|
-
* name: string;
|
|
50
|
-
* price: number;
|
|
51
|
-
* }
|
|
52
|
-
*
|
|
53
|
-
* const columns: ColDef<Product>[] = [
|
|
54
|
-
* { field: 'name', headerName: 'Product Name', flex: 1 },
|
|
55
|
-
* { field: 'price', headerName: 'Price', width: 120 },
|
|
56
|
-
* ];
|
|
57
|
-
*
|
|
58
|
-
* <DialGrid<Product>
|
|
59
|
-
* columnDefs={columns}
|
|
60
|
-
* rowData={products}
|
|
61
|
-
* />
|
|
62
|
-
*
|
|
63
|
-
* // With loading state
|
|
64
|
-
* <DialGrid<Product>
|
|
65
|
-
* columnDefs={columns}
|
|
66
|
-
* rowData={products}
|
|
67
|
-
* loading={true}
|
|
68
|
-
* />
|
|
69
|
-
*
|
|
70
|
-
* // With context menu
|
|
71
|
-
* const getContextMenu = (row: Product): DropdownItem[] => [
|
|
72
|
-
* { key: 'edit', label: 'Edit' },
|
|
73
|
-
* { key: 'delete', label: 'Delete', danger: true },
|
|
74
|
-
* ];
|
|
75
|
-
*
|
|
76
|
-
* <DialGrid<Product>
|
|
77
|
-
* columnDefs={columns}
|
|
78
|
-
* rowData={products}
|
|
79
|
-
* getContextMenuItems={getContextMenu}
|
|
80
|
-
* />
|
|
81
|
-
*
|
|
82
|
-
* // Controlled selection
|
|
83
|
-
* const [selectedIds, setSelectedIds] = useState<Set<string>>(new Set());
|
|
84
|
-
*
|
|
85
|
-
* <DialGrid<Product>
|
|
86
|
-
* columnDefs={columns}
|
|
87
|
-
* rowData={products}
|
|
88
|
-
* selectedRowIds={selectedIds}
|
|
89
|
-
* onSelectionChange={(ids, rows) => {
|
|
90
|
-
* setSelectedIds(ids);
|
|
91
|
-
* console.log('Selected:', rows);
|
|
92
|
-
* }}
|
|
93
|
-
* />
|
|
94
|
-
* ```
|
|
95
|
-
*
|
|
96
|
-
* @param [columnDefs] - Array of column definitions (ag-Grid ColDef format)
|
|
97
|
-
* @param [rowData] - Array of data objects to display in the grid
|
|
98
|
-
* @param [additionalGridOptions] - Additional ag-Grid GridOptions to merge with defaults
|
|
99
|
-
* @param [getContextMenuItems] - Function returning context menu items for a given row
|
|
100
|
-
* @param [className] - Additional CSS classes to apply to the grid container
|
|
101
|
-
* @param [ariaLabel='Data grid'] - Accessible label for the grid region
|
|
102
|
-
* @param [wrapCustomCellRenderers=true] - Whether to wrap custom cell renderers with context menu support
|
|
103
|
-
* @param [disabledRowIds] - Set of row IDs that should be disabled. Disabled rows are non-interactive and cannot be selected. IDs must match values from `getRowId`.
|
|
104
|
-
* @param [selectedRowIds] - Controlled selection: set of row IDs that should be selected
|
|
105
|
-
* @param [onSelectionChange] - Callback invoked when selection changes (selectedIds, selectedRows)
|
|
106
|
-
* @param [onGridApiChange] - Callback invoked when the grid API becomes available
|
|
107
|
-
* @param [getRowId] - Function to extract unique ID from a row object (defaults to 'id' field)
|
|
108
|
-
* @param [alternateOddRowColors=false] - Whether to alternate background colors for odd/even rows
|
|
109
|
-
* @param [filterPlaceholder='Enter value'] - Placeholder text for column filter inputs
|
|
110
|
-
* @param [emptyStateIcon] - Optional icon for empty state
|
|
111
|
-
* @param [emptyStateTitle] - Optional title text displayed when the grid has no rows to show.
|
|
112
|
-
* @param [emptyStateDescription] - Optional description text displayed below the empty state title,
|
|
113
|
-
* providing additional context or instructions (e.g., "No data found" or "Try adjusting your filters").
|
|
114
|
-
* @param [loading=false] - When true, shows AG-Grid's native loading overlay
|
|
115
|
-
* @param [wrapperBorder=true] - Whether to apply a border around the grid container
|
|
116
|
-
* @param [withoutHeaderBorders=false] - Whether to hide the header row borders
|
|
117
|
-
* @param [selectionMode] - Could be GridSelectionMode.MULTIPLE or GridSelectionMode.SINGLE to enable selection column
|
|
118
|
-
* @param [allowDisabledContextMenu] - Enables context menu actions even if row itself is disabled for selection
|
|
119
|
-
*/
|
|
120
|
-
export declare const DialGrid: <T extends object>({ columnDefs, rowData, additionalGridOptions, getContextMenuItems, className, ariaLabel, wrapCustomCellRenderers, disabledRowIds, selectedRowIds, onSelectionChange, onGridApiChange, getRowId, alternateOddRowColors, filterPlaceholder, emptyStateIcon, emptyStateTitle, emptyStateDescription, loading, wrapperBorder, withoutHeaderBorders, allowDisabledContextMenu, selectionMode, }: DialGridProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { baseColumnComparator, checkColDefsChanges, omitUndefined, } from '../../../utils/grid-comparators';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
export declare const gridBaseClassName = "h-full w-full";
|
|
2
|
-
export declare const checkboxClass = ".ag-checkbox-input";
|
|
3
|
-
export declare const GRID_THEME_COLORS: {
|
|
4
|
-
accentColor: string;
|
|
5
|
-
backgroundColor: string;
|
|
6
|
-
oddRowBackgroundColor: string;
|
|
7
|
-
selectedRowBackgroundColor: string;
|
|
8
|
-
borderColor: string;
|
|
9
|
-
rowBorder: string;
|
|
10
|
-
rowHoverColor: string;
|
|
11
|
-
borderRadius: number;
|
|
12
|
-
browserColorScheme: string;
|
|
13
|
-
chromeBackgroundColor: string;
|
|
14
|
-
foregroundColor: string;
|
|
15
|
-
headerFontSize: number;
|
|
16
|
-
headerFontWeight: number;
|
|
17
|
-
headerTextColor: string;
|
|
18
|
-
spacing: number;
|
|
19
|
-
wrapperBorderRadius: number;
|
|
20
|
-
fontSize: number;
|
|
21
|
-
fontFamily: string;
|
|
22
|
-
};
|
|
23
|
-
export declare const ROW_HEIGHT = 40;
|
|
24
|
-
export declare enum SelectionEventSourceType {
|
|
25
|
-
API = "api",
|
|
26
|
-
ROW_DATA_CHANGED = "rowDataChanged",
|
|
27
|
-
CHECKBOX_SELECTED = "checkboxSelected"
|
|
28
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { ICellRendererParams } from 'ag-grid-community';
|
|
3
|
-
export type DateValue = string | number | Date;
|
|
4
|
-
export interface DialDateCellRendererProps extends Partial<ICellRendererParams<Record<string, unknown>, DateValue>> {
|
|
5
|
-
value?: DateValue | null;
|
|
6
|
-
locale?: string;
|
|
7
|
-
options?: Intl.DateTimeFormatOptions;
|
|
8
|
-
emptyPlaceholder?: string;
|
|
9
|
-
className?: string;
|
|
10
|
-
hideTooltip?: boolean;
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* Minimal date cell renderer (ag-Grid compatible).
|
|
14
|
-
* Design system 1.0
|
|
15
|
-
*
|
|
16
|
-
* Renders the value in the **"MMM dd, yyyy"** format (e.g., "Jul 20, 2025"),
|
|
17
|
-
* wrapped in `DialEllipsisTooltip` (tooltip only appears if truncated).
|
|
18
|
-
*
|
|
19
|
-
* @example
|
|
20
|
-
* ```tsx
|
|
21
|
-
* // ag-Grid colDef
|
|
22
|
-
* { field: 'createdAt', cellRenderer: DateCellRenderer, cellRendererParams: { options: { timeZone: 'UTC' } } }
|
|
23
|
-
*
|
|
24
|
-
* // Direct usage
|
|
25
|
-
* <DateCellRenderer value="2025-07-20T00:00:00Z" options={{ timeZone: 'UTC' }} />
|
|
26
|
-
* <DateCellRenderer value={1752969600000} options={{ timeZone: 'UTC' }} /> // milliseconds
|
|
27
|
-
* ```
|
|
28
|
-
*
|
|
29
|
-
* @param [locale='en-US'] - Locale fixed to U.S. English by default to enforce "Jul 20, 2025".
|
|
30
|
-
* @param [options={ year: 'numeric', month: 'numeric', day: '2-digit', hour: '2-digit', minute: '2-digit', second: '2-digit', timeZone: 'UTC' }] - Options for date formatting (e.g., timeZone).
|
|
31
|
-
* @param [emptyPlaceholder] - Placeholder when value is empty/invalid.
|
|
32
|
-
* @param [className] - Additional classes merged into the wrapper.
|
|
33
|
-
*/
|
|
34
|
-
export declare const DialDateCellRenderer: FC<DialDateCellRendererProps>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { ColDef } from 'ag-grid-community';
|
|
2
|
-
export declare const DEFAULT_LOCALE = "en-US";
|
|
3
|
-
export declare const DEFAULT_DATE_FORMAT_OPTIONS: Intl.DateTimeFormatOptions;
|
|
4
|
-
export declare const dateCellBaseClassName = "text-primary";
|
|
5
|
-
export declare const SELECTION_COL_DEF: ColDef;
|
|
6
|
-
export declare const RADIO_BUTTON_COL_DEF: ColDef;
|
|
7
|
-
export declare const CHECKBOX_COL_DEF: ColDef;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { convertToDate } from '../../../utils/grid-date';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { FC, ReactNode } from 'react';
|
|
2
|
-
export interface DialInputPopupProps {
|
|
3
|
-
open?: boolean;
|
|
4
|
-
selectedValue?: string | string[];
|
|
5
|
-
children: ReactNode;
|
|
6
|
-
onOpen: () => void;
|
|
7
|
-
disabled?: boolean;
|
|
8
|
-
valueClassName?: string;
|
|
9
|
-
inputClassName?: string;
|
|
10
|
-
placeholder?: string;
|
|
11
|
-
elementId?: string;
|
|
12
|
-
errorText?: string;
|
|
13
|
-
invalid?: boolean;
|
|
14
|
-
emptyValueText?: string;
|
|
15
|
-
editable?: boolean;
|
|
16
|
-
onValueChange?: (value: string) => void;
|
|
17
|
-
collapseTagOverflow?: boolean;
|
|
18
|
-
iconBefore?: ReactNode;
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* An input field that opens a popup when clicked, displaying a selected value or a list of values.
|
|
22
|
-
* aliases: PopupInput|ReadonlyInput
|
|
23
|
-
* Design system 1.0
|
|
24
|
-
*
|
|
25
|
-
* It supports read-only mode, error states, and disabled state, with customizable styling.
|
|
26
|
-
* The modal content is rendered using a portal for seamless integration.
|
|
27
|
-
*
|
|
28
|
-
* @example
|
|
29
|
-
* ```tsx
|
|
30
|
-
* <DialInputPopup
|
|
31
|
-
* open={true}
|
|
32
|
-
* selectedValue="Selected Item"
|
|
33
|
-
* emptyValueText="No value selected"
|
|
34
|
-
* onOpen={() => setModalState(true)}
|
|
35
|
-
* disabled={false}
|
|
36
|
-
* valueClassName="custom-value-class"
|
|
37
|
-
* inputClassName="custom-input-class"
|
|
38
|
-
* elementId="input-modal"
|
|
39
|
-
* errorText="This field is required"
|
|
40
|
-
* >
|
|
41
|
-
* <div>Modal Content Here</div>
|
|
42
|
-
* </DialInputPopup>
|
|
43
|
-
* ```
|
|
44
|
-
*
|
|
45
|
-
* @param [open] - The current state of the modal, indicating whether it is opened or closed.
|
|
46
|
-
* @param [selectedValue] - The currently selected value(s). Can be a string for a single value or an array of strings for multiple values.
|
|
47
|
-
* @param [placeholder] - Placeholder text displayed when no value is selected.
|
|
48
|
-
* @param children - The content to render inside the modal when it is opened.
|
|
49
|
-
* @param onOpen - A callback function triggered when the modal open button is clicked.
|
|
50
|
-
* @param [disabled=false] - Whether the input is disabled, preventing user interaction.
|
|
51
|
-
* @param [valueClassName] - Additional CSS classes applied to the displayed value.
|
|
52
|
-
* @param [inputClassName] - Additional CSS classes applied to the input container.
|
|
53
|
-
* @param [elementId] - A unique identifier for the input element, useful for accessibility and testing.
|
|
54
|
-
* @param [errorText] - An optional error message displayed below the input when an error state is present.
|
|
55
|
-
* @param [invalid] - Whether the input is in an invalid state, affecting styling. Applied automatically if errorText is provided.
|
|
56
|
-
* @param [emptyValueText] - The text displayed when no value is selected and placeholder is not provided.
|
|
57
|
-
* @param [editable=false] - When true, the input area becomes an editable text field; only the icon opens the popup.
|
|
58
|
-
* @param [onValueChange] - Callback fired when the user types in the editable input.
|
|
59
|
-
* @param [iconBefore] - Optional icon rendered at the start of the field, before the value.
|
|
60
|
-
*/
|
|
61
|
-
export declare const DialInputPopup: FC<DialInputPopupProps>;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { EditorThemes } from '../../types/editor';
|
|
3
|
-
import { OnValidate } from '@monaco-editor/react';
|
|
4
|
-
import { editor } from 'monaco-editor';
|
|
5
|
-
export interface DialJsonEditorProps {
|
|
6
|
-
value?: string | undefined;
|
|
7
|
-
currentTheme: string;
|
|
8
|
-
themesConfig?: Record<EditorThemes, editor.IStandaloneThemeData>;
|
|
9
|
-
onChange: (value: string | undefined) => void;
|
|
10
|
-
onValidateJSON?: OnValidate;
|
|
11
|
-
options?: editor.IStandaloneEditorConstructionOptions;
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* A JSON editor component built on top of Monaco Editor.
|
|
15
|
-
* Design system 1.0
|
|
16
|
-
* Provides syntax highlighting, validation, and theme support for JSON editing.
|
|
17
|
-
*
|
|
18
|
-
* @param currentTheme - The theme to apply to the editor
|
|
19
|
-
* @param onChange - Callback fired when the editor content changes
|
|
20
|
-
* @param [value] - The JSON string value to edit
|
|
21
|
-
* @param [themesConfig=EDITOR_THEMES_CONFIG] - Custom theme configurations
|
|
22
|
-
* @param [onValidateJSON] - Callback fired when JSON validation occurs
|
|
23
|
-
* @param [options] - Additional Monaco editor options
|
|
24
|
-
*/
|
|
25
|
-
export declare const DialJsonEditor: FC<DialJsonEditorProps>;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Shared leaf module for the JSON editor's lazy loader. Both `src/index.ts`
|
|
3
|
-
* (root) and `src/subpaths/editors.ts` (`./editors`) re-export this same
|
|
4
|
-
* binding instead of each declaring their own copy of the loader function -
|
|
5
|
-
* see `src/index.ts`'s comment above its own re-export for why the previous
|
|
6
|
-
* per-entry duplication existed, and why it was replaced by this shared
|
|
7
|
-
* module (an emitted-topology defect, not just source-level duplication:
|
|
8
|
-
* a loader function's body containing its own `import()` call, when
|
|
9
|
-
* duplicated verbatim into more than one entry's own emitted chunk, can pull
|
|
10
|
-
* an unrelated dynamically-imported feature into the initial graph in some
|
|
11
|
-
* Vite/Rolldown versions - see `openspec/changes/isolate-heavy-feature-modules`
|
|
12
|
-
* Section 9's `diagnosis-baseline.txt` for the measured reproduction).
|
|
13
|
-
*/
|
|
14
|
-
export declare const LazyDialJsonEditor: () => Promise<typeof import("./JsonEditor")>;
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { PreviewType } from '@uiw/react-md-editor';
|
|
2
|
-
import { FC, ReactNode } from 'react';
|
|
3
|
-
import { EditorThemes } from '../../types/editor';
|
|
4
|
-
export interface DialMarkdownEditorProps {
|
|
5
|
-
value?: string;
|
|
6
|
-
onChange?: (value: string) => void;
|
|
7
|
-
height?: number;
|
|
8
|
-
preview?: PreviewType;
|
|
9
|
-
theme?: EditorThemes;
|
|
10
|
-
className?: string;
|
|
11
|
-
placeholder?: ReactNode;
|
|
12
|
-
showDragbar?: boolean;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* A Markdown editor component built on top of @uiw/react-md-editor.
|
|
16
|
-
* Design system 1.0
|
|
17
|
-
* Provides markdown editing with preview capabilities and theme support.
|
|
18
|
-
*
|
|
19
|
-
* @example
|
|
20
|
-
* ```tsx
|
|
21
|
-
* <DialMarkdownEditor
|
|
22
|
-
* value="# Hello World"
|
|
23
|
-
* onChange={(value) => console.log(value)}
|
|
24
|
-
* height={400}
|
|
25
|
-
* theme="dark"
|
|
26
|
-
* />
|
|
27
|
-
* ```
|
|
28
|
-
*
|
|
29
|
-
* @param [value] - The current markdown content
|
|
30
|
-
* @param [onChange] - Callback fired when the editor content changes
|
|
31
|
-
* @param [height=300] - Height of the editor in pixels
|
|
32
|
-
* @param [preview='edit'] - Preview mode ('edit', 'live', 'preview')
|
|
33
|
-
* @param [placeholder] - Content to display when the editor is empty
|
|
34
|
-
* @param [theme='dark'] - Theme for the editor ('light' or 'dark')
|
|
35
|
-
* @param [className] - Additional CSS classes for the container
|
|
36
|
-
* @param [showDragbar=true] - Whether to show the bottom drag bar that resizes the editor height
|
|
37
|
-
*/
|
|
38
|
-
export declare const DialMarkdownEditor: FC<DialMarkdownEditorProps>;
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { FC, ReactNode } from 'react';
|
|
2
|
-
import { OnValidate } from '@monaco-editor/react';
|
|
3
|
-
import { PreviewType } from '@uiw/react-md-editor';
|
|
4
|
-
import { EditorThemes } from '../../types/editor';
|
|
5
|
-
export interface DialMarkdownEditorContainerProps {
|
|
6
|
-
value?: string;
|
|
7
|
-
onChangeValue?: (value: string) => void;
|
|
8
|
-
label?: ReactNode;
|
|
9
|
-
headerContent?: ReactNode;
|
|
10
|
-
switcherLabel?: ReactNode;
|
|
11
|
-
height?: number;
|
|
12
|
-
theme?: EditorThemes;
|
|
13
|
-
onValidateJSON?: OnValidate;
|
|
14
|
-
preview?: PreviewType;
|
|
15
|
-
showDragbar?: boolean;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* A container component that combines Markdown and JSON editing capabilities
|
|
19
|
-
* with an optional switcher to toggle between modes.
|
|
20
|
-
*
|
|
21
|
-
* @example
|
|
22
|
-
* ```tsx
|
|
23
|
-
* <DialMarkdownEditorContainer
|
|
24
|
-
* value="# Hello"
|
|
25
|
-
* onChangeValue={(value) => console.log(value)}
|
|
26
|
-
* label="Content"
|
|
27
|
-
* switcherLabel="JSON Mode"
|
|
28
|
-
* />
|
|
29
|
-
* ```
|
|
30
|
-
*
|
|
31
|
-
* @example
|
|
32
|
-
* ```tsx
|
|
33
|
-
* <DialMarkdownEditorContainer
|
|
34
|
-
* value="# Hello"
|
|
35
|
-
* onChangeValue={(value) => console.log(value)}
|
|
36
|
-
* label="Content"
|
|
37
|
-
* />
|
|
38
|
-
* ```
|
|
39
|
-
*
|
|
40
|
-
* @param [value] - The current content value
|
|
41
|
-
* @param [onChangeValue] - Callback fired when the content changes
|
|
42
|
-
* @param [label] - Optional label for the field
|
|
43
|
-
* @param [headerContent] - Optional content to display in the header
|
|
44
|
-
* @param [switcherLabel] - Optional label for the mode switcher (if not provided, switcher is hidden)
|
|
45
|
-
* @param [height=300] - Height of the editor in pixels
|
|
46
|
-
* @param [theme='dark'] - Theme for the editor (EditorThemes.dark or EditorThemes.light)
|
|
47
|
-
* @param [onValidateJSON] - Callback fired when JSON validation occurs
|
|
48
|
-
* @param [preview='edit'] - Preview mode for Markdown editor
|
|
49
|
-
* @param [showDragbar=true] - Whether to show the Markdown editor's bottom drag bar that resizes its height
|
|
50
|
-
*/
|
|
51
|
-
export declare const DialMarkdownEditorContainer: FC<DialMarkdownEditorContainerProps>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Shared leaf module for the 1.0 Markdown editor's lazy loader. Both
|
|
3
|
-
* `src/index.ts` (root) and `src/subpaths/editors.ts` (`./editors`)
|
|
4
|
-
* re-export this same binding instead of each declaring their own copy -
|
|
5
|
-
* see `src/components/JsonEditor/lazy.ts`'s comment for why.
|
|
6
|
-
*/
|
|
7
|
-
export declare const LazyDialMarkdownEditor: () => Promise<typeof import("./MarkdownEditor")>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { FC, HTMLAttributes, MouseEvent, ReactNode } from 'react';
|
|
2
|
-
import { NotificationVariant } from '../../types/notification';
|
|
3
|
-
export interface DialNotificationProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'> {
|
|
4
|
-
variant?: NotificationVariant;
|
|
5
|
-
title?: ReactNode;
|
|
6
|
-
message: ReactNode;
|
|
7
|
-
closable?: boolean;
|
|
8
|
-
iconSize?: number;
|
|
9
|
-
iconStroke?: number;
|
|
10
|
-
textClassName?: string;
|
|
11
|
-
onClose?: (e: MouseEvent<HTMLButtonElement>) => void;
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* A contextual feedback component for displaying important messages.
|
|
15
|
-
* aliases: Notification|StatusBanner
|
|
16
|
-
* Design system 1.0
|
|
17
|
-
*
|
|
18
|
-
* Renders a colored container with an icon, message text, and an optional
|
|
19
|
-
* close button.
|
|
20
|
-
*
|
|
21
|
-
* @example
|
|
22
|
-
* ```tsx
|
|
23
|
-
* <DialNotification
|
|
24
|
-
* variant={NotificationVariant.Info}
|
|
25
|
-
* message="This is an info alert."
|
|
26
|
-
* />
|
|
27
|
-
*
|
|
28
|
-
* <DialNotification
|
|
29
|
-
* variant={NotificationVariant.Success}
|
|
30
|
-
* title="Saved"
|
|
31
|
-
* message="Changes saved successfully."
|
|
32
|
-
* />
|
|
33
|
-
*
|
|
34
|
-
* <DialNotification
|
|
35
|
-
* variant={NotificationVariant.Error}
|
|
36
|
-
* closable
|
|
37
|
-
* message="Something went wrong."
|
|
38
|
-
* onClose={(e) => console.log('closed', e)}
|
|
39
|
-
* />
|
|
40
|
-
*
|
|
41
|
-
* <DialNotification
|
|
42
|
-
* variant={NotificationVariant.Loading}
|
|
43
|
-
* title="Processing"
|
|
44
|
-
* message="Please wait..."
|
|
45
|
-
* />
|
|
46
|
-
* ```
|
|
47
|
-
*
|
|
48
|
-
* @param [variant=NotificationVariant.Info] - Defines the visual style and icon of the alert
|
|
49
|
-
* @param [title] - Optional heading displayed above the message in semibold
|
|
50
|
-
* @param message - Message text to display inside the alert
|
|
51
|
-
* @param [className] - Additional CSS classes applied to the alert container
|
|
52
|
-
* @param [textClassName] - Additional CSS classes applied to the message text
|
|
53
|
-
* @param [closable=false] - Whether the alert has a close button
|
|
54
|
-
* @param [iconSize=24] - Size of the icon displayed in the alert
|
|
55
|
-
* @param [iconStroke=2] - Stroke width of the icon displayed in the alert
|
|
56
|
-
* @param [onClose] - Callback fired when the close button is clicked
|
|
57
|
-
*/
|
|
58
|
-
export declare const DialNotification: FC<DialNotificationProps>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { NotificationVariant } from '../../types/notification';
|
|
2
|
-
import { ReactNode } from '@tabler/icons-react';
|
|
3
|
-
export declare const variantIcons: (props: {
|
|
4
|
-
size: number;
|
|
5
|
-
stroke: number;
|
|
6
|
-
}) => Record<NotificationVariant, ReactNode>;
|
|
7
|
-
export declare const notificationVariantClassNameMap: Record<NotificationVariant, string>;
|
|
8
|
-
export declare const alertBaseClassName = "items-center justify-between relative gap-3 p-3 border border-solid dial-small-text-150 rounded shadow flex";
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { DialInputProps } from '../Input/Input';
|
|
3
|
-
export interface DialNumberInputProps extends Omit<DialInputProps, 'onChange'> {
|
|
4
|
-
/** When true, restricts input to integer values only — blocks decimal points, minus, plus, and scientific notation (e/E) */
|
|
5
|
-
integer?: boolean;
|
|
6
|
-
onChange?: (value?: number | string) => void;
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* A number input field component
|
|
10
|
-
* aliases: NumericField|NumberField
|
|
11
|
-
* Design system 1.0
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```tsx
|
|
15
|
-
* <DialNumberInput
|
|
16
|
-
* id="age"
|
|
17
|
-
* placeholder="Enter your age"
|
|
18
|
-
* value={25}
|
|
19
|
-
* onChange={(value) => setAge(value)}
|
|
20
|
-
* />
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* @params - Component properties extending:
|
|
24
|
-
* - {@link DialInputProps} - Standard input properties (id, value, placeholder, disabled, invalid, etc.) excluding `onChange`
|
|
25
|
-
*
|
|
26
|
-
* @param [integer] - When true, restricts input to integer values only — blocks decimal points, minus, plus, and scientific notation (e/E)
|
|
27
|
-
* @param [min] - Minimum allowed value
|
|
28
|
-
* @param [max] - Maximum allowed value
|
|
29
|
-
* @param [onKeyDown] - Custom keydown handler (ignored when `integer` is true)
|
|
30
|
-
* @param [onPaste] - Custom paste handler (ignored when `integer` is true)
|
|
31
|
-
* @param onChange - Callback function called when the input value changes.
|
|
32
|
-
* Returns either a number (for most values) or a string (for decimal values < 1 with leading zeros)
|
|
33
|
-
*/
|
|
34
|
-
export declare const DialNumberInput: FC<DialNumberInputProps>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
export interface DialPaginationProps {
|
|
3
|
-
page: number;
|
|
4
|
-
totalPages: number;
|
|
5
|
-
onPageChange: (page: number) => void;
|
|
6
|
-
className?: string;
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* Design system 1.0
|
|
10
|
-
*/
|
|
11
|
-
export declare const DialPagination: FC<DialPaginationProps>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export declare const MANY_PAGES_THRESHOLD = 7;
|
|
2
|
-
export declare const ADJACENT_WINDOW = 2;
|
|
3
|
-
export declare const getPageRange: (totalPages: number) => number[];
|
|
4
|
-
export declare enum PageDisplayType {
|
|
5
|
-
Active = "active",
|
|
6
|
-
Adjacent = "adjacent",
|
|
7
|
-
Far = "far"
|
|
8
|
-
}
|
|
9
|
-
export declare const getPageDisplayType: (p: number, currentPage: number, totalPages: number) => PageDisplayType;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
interface Props {
|
|
3
|
-
onClick: () => void;
|
|
4
|
-
}
|
|
5
|
-
/**
|
|
6
|
-
* An icon button component for hiding password input (eye-off icon).
|
|
7
|
-
*
|
|
8
|
-
* @example
|
|
9
|
-
* ```tsx
|
|
10
|
-
* <DialHideIcon onClick={() => setShowPassword(false)} />
|
|
11
|
-
* ```
|
|
12
|
-
*
|
|
13
|
-
* @param onClick - Callback function called when the icon is clicked
|
|
14
|
-
*/
|
|
15
|
-
export declare const DialHideIcon: FC<Props>;
|
|
16
|
-
export {};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
interface Props {
|
|
3
|
-
onClick: () => void;
|
|
4
|
-
}
|
|
5
|
-
/**
|
|
6
|
-
* An icon button component for showing password input (eye icon).
|
|
7
|
-
*
|
|
8
|
-
* @example
|
|
9
|
-
* ```tsx
|
|
10
|
-
* <DialShowIcon onClick={() => setShowPassword(true)} />
|
|
11
|
-
* ```
|
|
12
|
-
*
|
|
13
|
-
* @param onClick - Callback function called when the icon is clicked
|
|
14
|
-
*/
|
|
15
|
-
export declare const DialShowIcon: FC<Props>;
|
|
16
|
-
export {};
|