@rebasepro/studio 0.5.0 → 0.6.0
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/dist/ApiExplorer-CdIwR9Ga.js +963 -0
- package/dist/ApiExplorer-CdIwR9Ga.js.map +1 -0
- package/dist/AuthSimulationSelector-iEZ-Or_1.js +56 -0
- package/dist/AuthSimulationSelector-iEZ-Or_1.js.map +1 -0
- package/dist/BranchesView-DncIRcZt.js +461 -0
- package/dist/BranchesView-DncIRcZt.js.map +1 -0
- package/dist/CronJobsView-4gdtJvoe.js +500 -0
- package/dist/CronJobsView-4gdtJvoe.js.map +1 -0
- package/dist/JSEditor-BhAbEjCP.js +1573 -0
- package/dist/JSEditor-BhAbEjCP.js.map +1 -0
- package/dist/LogsExplorer-CqtKILj8.js +240 -0
- package/dist/LogsExplorer-CqtKILj8.js.map +1 -0
- package/dist/MonacoEditor-COZqrIJ1.js +246 -0
- package/dist/MonacoEditor-COZqrIJ1.js.map +1 -0
- package/dist/RLSEditor-CTxYbBdW.js +1362 -0
- package/dist/RLSEditor-CTxYbBdW.js.map +1 -0
- package/dist/SQLEditor-BLuq_zDM.js +1964 -0
- package/dist/SQLEditor-BLuq_zDM.js.map +1 -0
- package/dist/SchemaVisualizer-BJK2u3C0.js +1068 -0
- package/dist/SchemaVisualizer-BJK2u3C0.js.map +1 -0
- package/dist/StorageView-nDaC2foF.js +1382 -0
- package/dist/StorageView-nDaC2foF.js.map +1 -0
- package/dist/{studio/src/components → components}/ApiExplorer/ApiExplorer.d.ts +2 -1
- package/dist/{studio/src/components → components}/ApiExplorer/EndpointDetail.d.ts +2 -1
- package/dist/{studio/src/components → components}/ApiExplorer/TryItPanel.d.ts +2 -1
- package/dist/{studio/src/components → components}/AuthSimulationSelector.d.ts +2 -1
- package/dist/components/Branches/BranchesView.d.ts +2 -0
- package/dist/components/CronJobs/CronJobsView.d.ts +2 -0
- package/dist/components/JSEditor/JSEditor.d.ts +2 -0
- package/dist/{studio/src/components → components}/JSEditor/JSEditorSidebar.d.ts +2 -1
- package/dist/{studio/src/components → components}/JSEditor/JSMonacoEditor.d.ts +2 -1
- package/dist/components/LogsExplorer/LogsExplorer.d.ts +2 -0
- package/dist/{studio/src/components → components}/RLSEditor/PolicyEditor.d.ts +2 -1
- package/dist/{studio/src/components → components}/RLSEditor/RLSEditor.d.ts +2 -1
- package/dist/{studio/src/components → components}/SQLEditor/MonacoEditor.d.ts +2 -1
- package/dist/{studio/src/components → components}/SQLEditor/SQLEditor.d.ts +2 -1
- package/dist/{studio/src/components → components}/SQLEditor/SQLEditorSidebar.d.ts +2 -1
- package/dist/{studio/src/components → components}/SQLEditor/SchemaBrowser.d.ts +2 -1
- package/dist/{studio/src/components → components}/SchemaVisualizer/RelationEdge.d.ts +1 -1
- package/dist/components/SchemaVisualizer/SchemaVisualizer.d.ts +3 -0
- package/dist/{studio/src/components → components}/SchemaVisualizer/TableNode.d.ts +1 -1
- package/dist/components/StorageView/StorageView.d.ts +2 -0
- package/dist/{studio/src/components → components}/StudioHomePage.d.ts +1 -1
- package/dist/index.es.js +688 -746
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +10303 -9572
- package/dist/index.umd.js.map +1 -1
- package/package.json +22 -22
- package/src/components/ApiExplorer/TryItPanel.tsx +15 -18
- package/src/components/CronJobs/CronJobsView.tsx +1 -1
- package/src/components/JSEditor/JSEditor.tsx +9 -14
- package/src/components/LogsExplorer/LogsExplorer.tsx +6 -3
- package/src/components/RLSEditor/PolicyEditor.tsx +0 -1
- package/src/components/SQLEditor/SQLEditor.tsx +40 -30
- package/src/components/StorageView/StorageView.tsx +22 -11
- package/src/components/StudioHomePage.tsx +51 -15
- package/src/utils/parseSpec.test.ts +41 -20
- package/src/utils/pgColumnToProperty.ts +1 -1
- package/dist/ApiExplorer-CGHEF1uL.js +0 -1052
- package/dist/ApiExplorer-CGHEF1uL.js.map +0 -1
- package/dist/AuthSimulationSelector-DGoXkWSg.js +0 -105
- package/dist/AuthSimulationSelector-DGoXkWSg.js.map +0 -1
- package/dist/BranchesView-BiTEwIhd.js +0 -291
- package/dist/BranchesView-BiTEwIhd.js.map +0 -1
- package/dist/CronJobsView-3PM_qR8v.js +0 -472
- package/dist/CronJobsView-3PM_qR8v.js.map +0 -1
- package/dist/JSEditor-DfwRLBZg.js +0 -1297
- package/dist/JSEditor-DfwRLBZg.js.map +0 -1
- package/dist/LogsExplorer-_4sZadKn.js +0 -162
- package/dist/LogsExplorer-_4sZadKn.js.map +0 -1
- package/dist/MonacoEditor-CMYEjiRf.js +0 -161
- package/dist/MonacoEditor-CMYEjiRf.js.map +0 -1
- package/dist/RLSEditor-CHEExeSB.js +0 -1871
- package/dist/RLSEditor-CHEExeSB.js.map +0 -1
- package/dist/SQLEditor-CQXaI0iU.js +0 -1797
- package/dist/SQLEditor-CQXaI0iU.js.map +0 -1
- package/dist/SchemaVisualizer-BGpmzyXT.js +0 -1069
- package/dist/SchemaVisualizer-BGpmzyXT.js.map +0 -1
- package/dist/StorageView-B7AsN2qX.js +0 -869
- package/dist/StorageView-B7AsN2qX.js.map +0 -1
- package/dist/common/src/collections/CollectionRegistry.d.ts +0 -56
- package/dist/common/src/collections/default-collections.d.ts +0 -9
- package/dist/common/src/collections/index.d.ts +0 -2
- package/dist/common/src/data/buildRebaseData.d.ts +0 -14
- package/dist/common/src/data/query_builder.d.ts +0 -55
- package/dist/common/src/index.d.ts +0 -4
- package/dist/common/src/util/builders.d.ts +0 -57
- package/dist/common/src/util/callbacks.d.ts +0 -6
- package/dist/common/src/util/collections.d.ts +0 -11
- package/dist/common/src/util/common.d.ts +0 -2
- package/dist/common/src/util/conditions.d.ts +0 -26
- package/dist/common/src/util/entities.d.ts +0 -58
- package/dist/common/src/util/enums.d.ts +0 -3
- package/dist/common/src/util/index.d.ts +0 -16
- package/dist/common/src/util/navigation_from_path.d.ts +0 -34
- package/dist/common/src/util/navigation_utils.d.ts +0 -20
- package/dist/common/src/util/parent_references_from_path.d.ts +0 -6
- package/dist/common/src/util/paths.d.ts +0 -14
- package/dist/common/src/util/permissions.d.ts +0 -14
- package/dist/common/src/util/references.d.ts +0 -2
- package/dist/common/src/util/relations.d.ts +0 -22
- package/dist/common/src/util/resolutions.d.ts +0 -72
- package/dist/common/src/util/storage.d.ts +0 -24
- package/dist/core/src/components/AIIcon.d.ts +0 -16
- package/dist/core/src/components/BootstrapAdminBanner.d.ts +0 -4
- package/dist/core/src/components/ConfirmationDialog.d.ts +0 -9
- package/dist/core/src/components/Debug/UIReferenceView.d.ts +0 -1
- package/dist/core/src/components/Debug/UIStyleGuide.d.ts +0 -1
- package/dist/core/src/components/ErrorTooltip.d.ts +0 -2
- package/dist/core/src/components/ErrorView.d.ts +0 -21
- package/dist/core/src/components/LanguageToggle.d.ts +0 -1
- package/dist/core/src/components/LoginView/LoginView.d.ts +0 -109
- package/dist/core/src/components/LoginView/index.d.ts +0 -2
- package/dist/core/src/components/NotFoundPage.d.ts +0 -1
- package/dist/core/src/components/RebaseAuth.d.ts +0 -10
- package/dist/core/src/components/RebaseLogo.d.ts +0 -7
- package/dist/core/src/components/UnsavedChangesDialog.d.ts +0 -9
- package/dist/core/src/components/UserDisplay.d.ts +0 -7
- package/dist/core/src/components/UserSelectPopover.d.ts +0 -62
- package/dist/core/src/components/UserSettingsView.d.ts +0 -1
- package/dist/core/src/components/common/index.d.ts +0 -6
- package/dist/core/src/components/common/table_height.d.ts +0 -5
- package/dist/core/src/components/common/types.d.ts +0 -66
- package/dist/core/src/components/common/useColumnsIds.d.ts +0 -9
- package/dist/core/src/components/common/useDataTableController.d.ts +0 -45
- package/dist/core/src/components/common/useDebouncedData.d.ts +0 -9
- package/dist/core/src/components/common/useScrollRestoration.d.ts +0 -14
- package/dist/core/src/components/index.d.ts +0 -17
- package/dist/core/src/contexts/AdminModeController.d.ts +0 -4
- package/dist/core/src/contexts/AnalyticsContext.d.ts +0 -3
- package/dist/core/src/contexts/AuthControllerContext.d.ts +0 -3
- package/dist/core/src/contexts/CustomizationControllerContext.d.ts +0 -3
- package/dist/core/src/contexts/DataDriverContext.d.ts +0 -3
- package/dist/core/src/contexts/DatabaseAdminContext.d.ts +0 -3
- package/dist/core/src/contexts/DialogsProvider.d.ts +0 -4
- package/dist/core/src/contexts/EffectiveRoleController.d.ts +0 -4
- package/dist/core/src/contexts/InternalUserManagementContext.d.ts +0 -3
- package/dist/core/src/contexts/ModeController.d.ts +0 -4
- package/dist/core/src/contexts/RebaseClientInstanceContext.d.ts +0 -6
- package/dist/core/src/contexts/RebaseDataContext.d.ts +0 -3
- package/dist/core/src/contexts/SnackbarProvider.d.ts +0 -2
- package/dist/core/src/contexts/StorageSourceContext.d.ts +0 -3
- package/dist/core/src/contexts/UserConfigurationPersistenceContext.d.ts +0 -3
- package/dist/core/src/contexts/index.d.ts +0 -13
- package/dist/core/src/core/PluginLifecycleManager.d.ts +0 -17
- package/dist/core/src/core/PluginProviderStack.d.ts +0 -21
- package/dist/core/src/core/Rebase.d.ts +0 -14
- package/dist/core/src/core/RebaseProps.d.ts +0 -147
- package/dist/core/src/core/RebaseRouter.d.ts +0 -4
- package/dist/core/src/core/RebaseRoutes.d.ts +0 -17
- package/dist/core/src/core/index.d.ts +0 -4
- package/dist/core/src/hooks/ApiConfigContext.d.ts +0 -24
- package/dist/core/src/hooks/data/delete.d.ts +0 -31
- package/dist/core/src/hooks/data/save.d.ts +0 -34
- package/dist/core/src/hooks/data/useCollectionFetch.d.ts +0 -62
- package/dist/core/src/hooks/data/useData.d.ts +0 -13
- package/dist/core/src/hooks/data/useDataOrder.d.ts +0 -12
- package/dist/core/src/hooks/data/useEntityFetch.d.ts +0 -43
- package/dist/core/src/hooks/data/useRelationSelector.d.ts +0 -52
- package/dist/core/src/hooks/data/useUserSelector.d.ts +0 -31
- package/dist/core/src/hooks/index.d.ts +0 -37
- package/dist/core/src/hooks/useAdminModeController.d.ts +0 -19
- package/dist/core/src/hooks/useAnalyticsController.d.ts +0 -5
- package/dist/core/src/hooks/useAuthController.d.ts +0 -11
- package/dist/core/src/hooks/useAuthSubscription.d.ts +0 -2
- package/dist/core/src/hooks/useBackendStorageSource.d.ts +0 -30
- package/dist/core/src/hooks/useBridgeRegistration.d.ts +0 -18
- package/dist/core/src/hooks/useBrowserTitleAndIcon.d.ts +0 -6
- package/dist/core/src/hooks/useBuildAdminModeController.d.ts +0 -6
- package/dist/core/src/hooks/useBuildEffectiveRoleController.d.ts +0 -8
- package/dist/core/src/hooks/useBuildLocalConfigurationPersistence.d.ts +0 -2
- package/dist/core/src/hooks/useBuildModeController.d.ts +0 -6
- package/dist/core/src/hooks/useClipboard.d.ts +0 -57
- package/dist/core/src/hooks/useCollapsedGroups.d.ts +0 -27
- package/dist/core/src/hooks/useCustomizationController.d.ts +0 -11
- package/dist/core/src/hooks/useDialogsController.d.ts +0 -11
- package/dist/core/src/hooks/useEffectiveRoleController.d.ts +0 -7
- package/dist/core/src/hooks/useInternalUserManagementController.d.ts +0 -12
- package/dist/core/src/hooks/useLargeLayout.d.ts +0 -1
- package/dist/core/src/hooks/useModeController.d.ts +0 -19
- package/dist/core/src/hooks/usePermissions.d.ts +0 -12
- package/dist/core/src/hooks/useRebaseClient.d.ts +0 -5
- package/dist/core/src/hooks/useRebaseContext.d.ts +0 -11
- package/dist/core/src/hooks/useRebaseRegistry.d.ts +0 -34
- package/dist/core/src/hooks/useResolvedComponent.d.ts +0 -47
- package/dist/core/src/hooks/useSlot.d.ts +0 -18
- package/dist/core/src/hooks/useSnackbarController.d.ts +0 -20
- package/dist/core/src/hooks/useStorageSource.d.ts +0 -7
- package/dist/core/src/hooks/useStudioBridge.d.ts +0 -91
- package/dist/core/src/hooks/useTranslation.d.ts +0 -17
- package/dist/core/src/hooks/useUnsavedChangesDialog.d.ts +0 -12
- package/dist/core/src/hooks/useUserConfigurationPersistence.d.ts +0 -8
- package/dist/core/src/i18n/RebaseI18nProvider.d.ts +0 -33
- package/dist/core/src/index.d.ts +0 -15
- package/dist/core/src/internal/common.d.ts +0 -3
- package/dist/core/src/internal/useRestoreScroll.d.ts +0 -6
- package/dist/core/src/locales/de.d.ts +0 -2
- package/dist/core/src/locales/en.d.ts +0 -10
- package/dist/core/src/locales/es.d.ts +0 -10
- package/dist/core/src/locales/fr.d.ts +0 -2
- package/dist/core/src/locales/hi.d.ts +0 -2
- package/dist/core/src/locales/it.d.ts +0 -2
- package/dist/core/src/locales/pt.d.ts +0 -7
- package/dist/core/src/util/constants.d.ts +0 -1
- package/dist/core/src/util/createFormexStub.d.ts +0 -2
- package/dist/core/src/util/entity_cache.d.ts +0 -22
- package/dist/core/src/util/enums.d.ts +0 -5
- package/dist/core/src/util/icon_list.d.ts +0 -5
- package/dist/core/src/util/icons.d.ts +0 -20
- package/dist/core/src/util/index.d.ts +0 -8
- package/dist/core/src/util/previews.d.ts +0 -4
- package/dist/core/src/util/useStorageUploadController.d.ts +0 -38
- package/dist/formex/src/Field.d.ts +0 -52
- package/dist/formex/src/Formex.d.ts +0 -7
- package/dist/formex/src/index.d.ts +0 -5
- package/dist/formex/src/types.d.ts +0 -40
- package/dist/formex/src/useCreateFormex.d.ts +0 -14
- package/dist/formex/src/utils.d.ts +0 -16
- package/dist/studio/src/components/Branches/BranchesView.d.ts +0 -1
- package/dist/studio/src/components/CronJobs/CronJobsView.d.ts +0 -1
- package/dist/studio/src/components/JSEditor/JSEditor.d.ts +0 -1
- package/dist/studio/src/components/LogsExplorer/LogsExplorer.d.ts +0 -1
- package/dist/studio/src/components/SchemaVisualizer/SchemaVisualizer.d.ts +0 -2
- package/dist/studio/src/components/StorageView/StorageView.d.ts +0 -1
- package/dist/types/src/controllers/analytics_controller.d.ts +0 -7
- package/dist/types/src/controllers/auth.d.ts +0 -104
- package/dist/types/src/controllers/client.d.ts +0 -168
- package/dist/types/src/controllers/collection_registry.d.ts +0 -46
- package/dist/types/src/controllers/customization_controller.d.ts +0 -60
- package/dist/types/src/controllers/data.d.ts +0 -207
- package/dist/types/src/controllers/data_driver.d.ts +0 -218
- package/dist/types/src/controllers/database_admin.d.ts +0 -11
- package/dist/types/src/controllers/dialogs_controller.d.ts +0 -36
- package/dist/types/src/controllers/effective_role.d.ts +0 -4
- package/dist/types/src/controllers/email.d.ts +0 -36
- package/dist/types/src/controllers/index.d.ts +0 -18
- package/dist/types/src/controllers/local_config_persistence.d.ts +0 -20
- package/dist/types/src/controllers/navigation.d.ts +0 -225
- package/dist/types/src/controllers/registry.d.ts +0 -63
- package/dist/types/src/controllers/side_dialogs_controller.d.ts +0 -67
- package/dist/types/src/controllers/side_entity_controller.d.ts +0 -97
- package/dist/types/src/controllers/snackbar.d.ts +0 -24
- package/dist/types/src/controllers/storage.d.ts +0 -171
- package/dist/types/src/index.d.ts +0 -4
- package/dist/types/src/rebase_context.d.ts +0 -122
- package/dist/types/src/types/auth_adapter.d.ts +0 -301
- package/dist/types/src/types/backend.d.ts +0 -571
- package/dist/types/src/types/backend_hooks.d.ts +0 -172
- package/dist/types/src/types/builders.d.ts +0 -15
- package/dist/types/src/types/chips.d.ts +0 -5
- package/dist/types/src/types/collections.d.ts +0 -961
- package/dist/types/src/types/component_ref.d.ts +0 -47
- package/dist/types/src/types/cron.d.ts +0 -102
- package/dist/types/src/types/data_source.d.ts +0 -64
- package/dist/types/src/types/database_adapter.d.ts +0 -94
- package/dist/types/src/types/entities.d.ts +0 -145
- package/dist/types/src/types/entity_actions.d.ts +0 -104
- package/dist/types/src/types/entity_callbacks.d.ts +0 -173
- package/dist/types/src/types/entity_link_builder.d.ts +0 -7
- package/dist/types/src/types/entity_overrides.d.ts +0 -10
- package/dist/types/src/types/entity_views.d.ts +0 -87
- package/dist/types/src/types/export_import.d.ts +0 -21
- package/dist/types/src/types/formex.d.ts +0 -40
- package/dist/types/src/types/index.d.ts +0 -28
- package/dist/types/src/types/locales.d.ts +0 -4
- package/dist/types/src/types/modify_collections.d.ts +0 -5
- package/dist/types/src/types/plugins.d.ts +0 -282
- package/dist/types/src/types/properties.d.ts +0 -1173
- package/dist/types/src/types/property_config.d.ts +0 -74
- package/dist/types/src/types/relations.d.ts +0 -336
- package/dist/types/src/types/slots.d.ts +0 -262
- package/dist/types/src/types/translations.d.ts +0 -900
- package/dist/types/src/types/user_management_delegate.d.ts +0 -86
- package/dist/types/src/types/websockets.d.ts +0 -78
- package/dist/types/src/users/index.d.ts +0 -1
- package/dist/types/src/users/user.d.ts +0 -50
- package/dist/ui/src/components/Alert.d.ts +0 -12
- package/dist/ui/src/components/Autocomplete.d.ts +0 -21
- package/dist/ui/src/components/Avatar.d.ts +0 -11
- package/dist/ui/src/components/Badge.d.ts +0 -8
- package/dist/ui/src/components/BooleanSwitch.d.ts +0 -14
- package/dist/ui/src/components/BooleanSwitchWithLabel.d.ts +0 -17
- package/dist/ui/src/components/Button.d.ts +0 -14
- package/dist/ui/src/components/Card.d.ts +0 -8
- package/dist/ui/src/components/CenteredView.d.ts +0 -9
- package/dist/ui/src/components/Checkbox.d.ts +0 -13
- package/dist/ui/src/components/Chip.d.ts +0 -26
- package/dist/ui/src/components/CircularProgress.d.ts +0 -5
- package/dist/ui/src/components/CircularProgressCenter.d.ts +0 -11
- package/dist/ui/src/components/Collapse.d.ts +0 -9
- package/dist/ui/src/components/ColorPicker.d.ts +0 -30
- package/dist/ui/src/components/Container.d.ts +0 -8
- package/dist/ui/src/components/DateTimeField.d.ts +0 -24
- package/dist/ui/src/components/DebouncedTextField.d.ts +0 -2
- package/dist/ui/src/components/Dialog.d.ts +0 -39
- package/dist/ui/src/components/DialogActions.d.ts +0 -7
- package/dist/ui/src/components/DialogContent.d.ts +0 -7
- package/dist/ui/src/components/DialogTitle.d.ts +0 -10
- package/dist/ui/src/components/ErrorBoundary.d.ts +0 -33
- package/dist/ui/src/components/ExpandablePanel.d.ts +0 -12
- package/dist/ui/src/components/FileUpload.d.ts +0 -23
- package/dist/ui/src/components/FilterChip.d.ts +0 -34
- package/dist/ui/src/components/IconButton.d.ts +0 -12
- package/dist/ui/src/components/InfoLabel.d.ts +0 -5
- package/dist/ui/src/components/InputLabel.d.ts +0 -11
- package/dist/ui/src/components/Label.d.ts +0 -7
- package/dist/ui/src/components/LoadingButton.d.ts +0 -7
- package/dist/ui/src/components/Markdown.d.ts +0 -10
- package/dist/ui/src/components/Menu.d.ts +0 -23
- package/dist/ui/src/components/Menubar.d.ts +0 -80
- package/dist/ui/src/components/MultiSelect.d.ts +0 -48
- package/dist/ui/src/components/Paper.d.ts +0 -6
- package/dist/ui/src/components/Popover.d.ts +0 -24
- package/dist/ui/src/components/RadioGroup.d.ts +0 -28
- package/dist/ui/src/components/ResizablePanels.d.ts +0 -18
- package/dist/ui/src/components/SearchBar.d.ts +0 -26
- package/dist/ui/src/components/Select.d.ts +0 -43
- package/dist/ui/src/components/Separator.d.ts +0 -5
- package/dist/ui/src/components/Sheet.d.ts +0 -22
- package/dist/ui/src/components/Skeleton.d.ts +0 -6
- package/dist/ui/src/components/Slider.d.ts +0 -21
- package/dist/ui/src/components/Table.d.ts +0 -34
- package/dist/ui/src/components/Tabs.d.ts +0 -19
- package/dist/ui/src/components/TextField.d.ts +0 -58
- package/dist/ui/src/components/TextareaAutosize.d.ts +0 -43
- package/dist/ui/src/components/ToggleButtonGroup.d.ts +0 -30
- package/dist/ui/src/components/Tooltip.d.ts +0 -19
- package/dist/ui/src/components/Typography.d.ts +0 -36
- package/dist/ui/src/components/VirtualTable/VirtualTable.d.ts +0 -11
- package/dist/ui/src/components/VirtualTable/VirtualTableCell.d.ts +0 -21
- package/dist/ui/src/components/VirtualTable/VirtualTableHeader.d.ts +0 -29
- package/dist/ui/src/components/VirtualTable/VirtualTableHeaderRow.d.ts +0 -2
- package/dist/ui/src/components/VirtualTable/VirtualTableProps.d.ts +0 -249
- package/dist/ui/src/components/VirtualTable/VirtualTableRow.d.ts +0 -3
- package/dist/ui/src/components/VirtualTable/index.d.ts +0 -3
- package/dist/ui/src/components/VirtualTable/types.d.ts +0 -38
- package/dist/ui/src/components/common/SelectInputLabel.d.ts +0 -5
- package/dist/ui/src/components/index.d.ts +0 -58
- package/dist/ui/src/hooks/PortalContainerContext.d.ts +0 -31
- package/dist/ui/src/hooks/index.d.ts +0 -6
- package/dist/ui/src/hooks/useDebounceCallback.d.ts +0 -1
- package/dist/ui/src/hooks/useDebounceValue.d.ts +0 -1
- package/dist/ui/src/hooks/useDebouncedCallback.d.ts +0 -1
- package/dist/ui/src/hooks/useInjectStyles.d.ts +0 -7
- package/dist/ui/src/hooks/useOutsideAlerter.d.ts +0 -5
- package/dist/ui/src/icons/GitHubIcon.d.ts +0 -2
- package/dist/ui/src/icons/HandleIcon.d.ts +0 -1
- package/dist/ui/src/icons/Icon.d.ts +0 -20
- package/dist/ui/src/icons/cool_icon_keys.d.ts +0 -1
- package/dist/ui/src/icons/icon_keys.d.ts +0 -1
- package/dist/ui/src/icons/index.d.ts +0 -8
- package/dist/ui/src/index.d.ts +0 -5
- package/dist/ui/src/styles.d.ts +0 -12
- package/dist/ui/src/util/chip_colors.d.ts +0 -4
- package/dist/ui/src/util/cls.d.ts +0 -2
- package/dist/ui/src/util/debounce.d.ts +0 -10
- package/dist/ui/src/util/hash.d.ts +0 -1
- package/dist/ui/src/util/index.d.ts +0 -4
- package/dist/ui/src/util/key_to_icon_component.d.ts +0 -1
- /package/dist/{studio/src/components → components}/ApiExplorer/parseSpec.d.ts +0 -0
- /package/dist/{studio/src/components → components}/ApiExplorer/types.d.ts +0 -0
- /package/dist/{studio/src/components → components}/RLSEditor/index.d.ts +0 -0
- /package/dist/{studio/src/components → components}/RebaseStudio.d.ts +0 -0
- /package/dist/{studio/src/components → components}/SQLEditor/ExplainVisualizer.d.ts +0 -0
- /package/dist/{studio/src/components → components}/SchemaVisualizer/schema-visualizer.utils.d.ts +0 -0
- /package/dist/{studio/src/components → components}/SchemaVisualizer/useSchemaGraph.d.ts +0 -0
- /package/dist/{studio/src/index.d.ts → index.d.ts} +0 -0
- /package/dist/{studio/src/utils → utils}/pgColumnToProperty.d.ts +0 -0
- /package/dist/{studio/src/utils → utils}/sql_utils.d.ts +0 -0
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
export interface FilterChipProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "children"> {
|
|
3
|
-
/**
|
|
4
|
-
* The text label displayed on the chip.
|
|
5
|
-
*/
|
|
6
|
-
children: React.ReactNode;
|
|
7
|
-
/**
|
|
8
|
-
* Whether the chip is currently in an active/selected state.
|
|
9
|
-
*/
|
|
10
|
-
active?: boolean;
|
|
11
|
-
/**
|
|
12
|
-
* Optional icon rendered before the label.
|
|
13
|
-
*/
|
|
14
|
-
icon?: React.ReactNode;
|
|
15
|
-
/**
|
|
16
|
-
* Size variant.
|
|
17
|
-
* @default "medium"
|
|
18
|
-
*/
|
|
19
|
-
size?: "small" | "medium";
|
|
20
|
-
/**
|
|
21
|
-
* Whether the chip is disabled.
|
|
22
|
-
*/
|
|
23
|
-
disabled?: boolean;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* A toggle chip used for filter presets and similar multi-select controls.
|
|
27
|
-
*
|
|
28
|
-
* Uses an inset box-shadow for the active ring instead of `border` so the
|
|
29
|
-
* chip size stays stable across states and the ring cannot be clipped by
|
|
30
|
-
* parent `overflow-hidden` containers.
|
|
31
|
-
*
|
|
32
|
-
* @group Interactive components
|
|
33
|
-
*/
|
|
34
|
-
export declare const FilterChip: React.ForwardRefExoticComponent<FilterChipProps & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
export type IconButtonProps<C extends React.ElementType> = Omit<(C extends "button" ? React.ButtonHTMLAttributes<HTMLButtonElement> : React.ComponentProps<C>), "onClick"> & {
|
|
3
|
-
size?: "medium" | "small" | "smallest" | "large";
|
|
4
|
-
variant?: "ghost" | "filled";
|
|
5
|
-
shape?: "circular" | "square";
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
toggled?: boolean;
|
|
8
|
-
component?: C;
|
|
9
|
-
onClick?: React.MouseEventHandler<any>;
|
|
10
|
-
"aria-label"?: string;
|
|
11
|
-
};
|
|
12
|
-
export declare const IconButton: React.ComponentType<IconButtonProps<any>>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
export type InputLabelProps = {
|
|
3
|
-
children?: React.ReactNode;
|
|
4
|
-
className?: string;
|
|
5
|
-
shrink?: boolean;
|
|
6
|
-
} & React.LabelHTMLAttributes<HTMLLabelElement>;
|
|
7
|
-
export declare const InputLabel: React.ForwardRefExoticComponent<{
|
|
8
|
-
children?: React.ReactNode;
|
|
9
|
-
className?: string;
|
|
10
|
-
shrink?: boolean;
|
|
11
|
-
} & React.LabelHTMLAttributes<HTMLLabelElement> & React.RefAttributes<HTMLLabelElement>>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import * as LabelPrimitive from "@radix-ui/react-label";
|
|
3
|
-
declare const Label: React.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & {
|
|
4
|
-
border?: boolean;
|
|
5
|
-
onClick?: React.MouseEventHandler<HTMLLabelElement>;
|
|
6
|
-
} & React.RefAttributes<HTMLLabelElement>>;
|
|
7
|
-
export { Label };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { ButtonProps } from "./Button";
|
|
3
|
-
export type LoadingButtonProps<P extends React.ElementType> = ButtonProps<P> & {
|
|
4
|
-
startIcon?: React.ReactNode;
|
|
5
|
-
loading?: boolean;
|
|
6
|
-
};
|
|
7
|
-
export declare function LoadingButton<P extends React.ElementType = "button">({ children, loading, disabled, onClick, startIcon, ...props }: LoadingButtonProps<P>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
export interface MarkdownProps {
|
|
3
|
-
source: string;
|
|
4
|
-
size?: "small" | "medium" | "large" | "xl" | "2xl";
|
|
5
|
-
className?: string;
|
|
6
|
-
}
|
|
7
|
-
/**
|
|
8
|
-
* @group Preview components
|
|
9
|
-
*/
|
|
10
|
-
export declare const Markdown: React.FunctionComponent<MarkdownProps>;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
export type MenuProps = {
|
|
3
|
-
children: React.ReactNode;
|
|
4
|
-
trigger: React.ReactNode;
|
|
5
|
-
open?: boolean;
|
|
6
|
-
defaultOpen?: boolean;
|
|
7
|
-
onOpenChange?(open: boolean): void;
|
|
8
|
-
portalContainer?: HTMLElement | null;
|
|
9
|
-
side?: "top" | "right" | "bottom" | "left";
|
|
10
|
-
align?: "start" | "center" | "end";
|
|
11
|
-
sideOffset?: number;
|
|
12
|
-
className?: string;
|
|
13
|
-
};
|
|
14
|
-
declare const Menu: React.ForwardRefExoticComponent<MenuProps & React.RefAttributes<HTMLButtonElement>>;
|
|
15
|
-
export { Menu };
|
|
16
|
-
export type MenuItemProps = {
|
|
17
|
-
children: React.ReactNode;
|
|
18
|
-
dense?: boolean;
|
|
19
|
-
disabled?: boolean;
|
|
20
|
-
onClick?: (event: React.MouseEvent) => void;
|
|
21
|
-
className?: string;
|
|
22
|
-
};
|
|
23
|
-
export declare const MenuItem: React.MemoExoticComponent<({ children, dense, disabled, onClick, className }: MenuItemProps) => import("react/jsx-runtime").JSX.Element>;
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
export declare function Menubar({ children, onSelect, className }: {
|
|
3
|
-
children: React.ReactNode;
|
|
4
|
-
onSelect?: (event: React.SyntheticEvent) => void;
|
|
5
|
-
className?: string;
|
|
6
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export declare function MenubarMenu({ children }: {
|
|
8
|
-
children: React.ReactNode;
|
|
9
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export declare function MenubarTrigger({ children, onSelect, className }: {
|
|
11
|
-
children: React.ReactNode;
|
|
12
|
-
onSelect?: (event: React.SyntheticEvent) => void;
|
|
13
|
-
className?: string;
|
|
14
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
export declare function MenubarPortal({ children, portalContainer }: {
|
|
16
|
-
children: React.ReactNode;
|
|
17
|
-
portalContainer?: HTMLElement | null;
|
|
18
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
19
|
-
export declare function MenubarContent({ children, className, align, sideOffset, alignOffset, onSelect, ...rest }: {
|
|
20
|
-
children: React.ReactNode;
|
|
21
|
-
className?: string;
|
|
22
|
-
onSelect?: (event: React.SyntheticEvent) => void;
|
|
23
|
-
align?: "start" | "center" | "end";
|
|
24
|
-
sideOffset?: number;
|
|
25
|
-
alignOffset?: number;
|
|
26
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
27
|
-
export declare function MenubarItem({ children, leftPadding, className, disabled, onSelect, ...rest }: {
|
|
28
|
-
children: React.ReactNode;
|
|
29
|
-
onSelect?: (event: Event) => void;
|
|
30
|
-
leftPadding?: boolean;
|
|
31
|
-
className?: string;
|
|
32
|
-
disabled?: boolean;
|
|
33
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
34
|
-
export declare function MenubarSeparator({ children, className, ...rest }: {
|
|
35
|
-
children?: React.ReactNode;
|
|
36
|
-
className?: string;
|
|
37
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
38
|
-
export declare function MenubarSub({ children, ...rest }: {
|
|
39
|
-
children?: React.ReactNode;
|
|
40
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
41
|
-
export declare function MenubarSubTrigger({ children, className, onSelect, ...rest }: {
|
|
42
|
-
children?: React.ReactNode;
|
|
43
|
-
onSelect?: (event: React.SyntheticEvent) => void;
|
|
44
|
-
className?: string;
|
|
45
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
46
|
-
export declare function MenubarSubContent({ children, alignOffset, className, onSelect, ...rest }: {
|
|
47
|
-
children?: React.ReactNode;
|
|
48
|
-
onSelect?: (event: React.SyntheticEvent) => void;
|
|
49
|
-
alignOffset?: number;
|
|
50
|
-
className?: string;
|
|
51
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
52
|
-
export declare function MenubarCheckboxItem({ children, checked, onCheckedChange, className, onSelect, ...rest }: {
|
|
53
|
-
children?: React.ReactNode;
|
|
54
|
-
onSelect?: (event: Event) => void;
|
|
55
|
-
checked?: boolean;
|
|
56
|
-
onCheckedChange?: () => void;
|
|
57
|
-
className?: string;
|
|
58
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
59
|
-
export declare function MenubarItemIndicator({ children, className, ...rest }: {
|
|
60
|
-
children?: React.ReactNode;
|
|
61
|
-
className?: string;
|
|
62
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
63
|
-
export declare function MenubarRadioGroup({ children, className, value, onValueChange, onSelect, ...rest }: {
|
|
64
|
-
children?: React.ReactNode;
|
|
65
|
-
onSelect?: (event: React.SyntheticEvent) => void;
|
|
66
|
-
value?: string;
|
|
67
|
-
onValueChange?: (value: string) => void;
|
|
68
|
-
className?: string;
|
|
69
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
70
|
-
export declare function MenubarRadioItem({ children, className, value, onSelect, ...rest }: {
|
|
71
|
-
children?: React.ReactNode;
|
|
72
|
-
onSelect?: (event: Event) => void;
|
|
73
|
-
value: string;
|
|
74
|
-
className?: string;
|
|
75
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
76
|
-
export declare function MenubarShortcut({ children, className, ...rest }: {
|
|
77
|
-
children?: React.ReactNode;
|
|
78
|
-
className?: string;
|
|
79
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
80
|
-
export declare function MenubarSubTriggerIndicator(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { ChangeEvent } from "react";
|
|
3
|
-
export type MultiSelectValue = string | number | boolean;
|
|
4
|
-
interface MultiSelectContextProps<T extends MultiSelectValue = string> {
|
|
5
|
-
fieldValue?: T[];
|
|
6
|
-
onItemClick: (v: T) => void;
|
|
7
|
-
}
|
|
8
|
-
export declare const MultiSelectContext: React.Context<MultiSelectContextProps<MultiSelectValue>>;
|
|
9
|
-
/**
|
|
10
|
-
* Props for MultiSelect component
|
|
11
|
-
*/
|
|
12
|
-
interface MultiSelectProps<T extends MultiSelectValue = string> {
|
|
13
|
-
modalPopover?: boolean;
|
|
14
|
-
className?: string;
|
|
15
|
-
open?: boolean;
|
|
16
|
-
name?: string;
|
|
17
|
-
id?: string;
|
|
18
|
-
onOpenChange?: (open: boolean) => void;
|
|
19
|
-
value?: T[];
|
|
20
|
-
inputClassName?: string;
|
|
21
|
-
onChange?: React.EventHandler<ChangeEvent<HTMLSelectElement>>;
|
|
22
|
-
onValueChange?: (updatedValue: T[]) => void;
|
|
23
|
-
placeholder?: React.ReactNode;
|
|
24
|
-
size?: "smallest" | "small" | "medium" | "large";
|
|
25
|
-
useChips?: boolean;
|
|
26
|
-
label?: React.ReactNode | string;
|
|
27
|
-
disabled?: boolean;
|
|
28
|
-
error?: boolean;
|
|
29
|
-
position?: "item-aligned" | "popper";
|
|
30
|
-
endAdornment?: React.ReactNode;
|
|
31
|
-
multiple?: boolean;
|
|
32
|
-
includeSelectAll?: boolean;
|
|
33
|
-
includeClear?: boolean;
|
|
34
|
-
inputRef?: React.Ref<HTMLButtonElement>;
|
|
35
|
-
padding?: boolean;
|
|
36
|
-
invisible?: boolean;
|
|
37
|
-
children: React.ReactNode;
|
|
38
|
-
renderValues?: (values: T[]) => React.ReactNode;
|
|
39
|
-
portalContainer?: HTMLElement | null;
|
|
40
|
-
}
|
|
41
|
-
export declare const MultiSelect: React.ForwardRefExoticComponent<MultiSelectProps<string> & React.RefAttributes<HTMLButtonElement>>;
|
|
42
|
-
export interface MultiSelectItemProps<T extends MultiSelectValue = string> {
|
|
43
|
-
value: T;
|
|
44
|
-
children?: React.ReactNode;
|
|
45
|
-
className?: string;
|
|
46
|
-
}
|
|
47
|
-
export declare const MultiSelectItem: React.MemoExoticComponent<(<T extends MultiSelectValue = string>({ children, value, className }: MultiSelectItemProps<T>) => import("react/jsx-runtime").JSX.Element)>;
|
|
48
|
-
export {};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
export type PopoverSide = "top" | "right" | "bottom" | "left";
|
|
3
|
-
export type PopoverAlign = "start" | "center" | "end";
|
|
4
|
-
export interface PopoverProps {
|
|
5
|
-
trigger: React.ReactNode;
|
|
6
|
-
children: React.ReactNode;
|
|
7
|
-
open?: boolean;
|
|
8
|
-
onOpenChange?: (open: boolean) => void;
|
|
9
|
-
side?: PopoverSide;
|
|
10
|
-
sideOffset?: number;
|
|
11
|
-
align?: PopoverAlign;
|
|
12
|
-
alignOffset?: number;
|
|
13
|
-
arrowPadding?: number;
|
|
14
|
-
sticky?: "partial" | "always";
|
|
15
|
-
hideWhenDetached?: boolean;
|
|
16
|
-
avoidCollisions?: boolean;
|
|
17
|
-
enabled?: boolean;
|
|
18
|
-
modal?: boolean;
|
|
19
|
-
className?: string;
|
|
20
|
-
portalContainer?: HTMLElement | null;
|
|
21
|
-
onMouseEnter?: React.MouseEventHandler<HTMLDivElement>;
|
|
22
|
-
onMouseLeave?: React.MouseEventHandler<HTMLDivElement>;
|
|
23
|
-
}
|
|
24
|
-
export declare function Popover({ trigger, children, open, onOpenChange, side, sideOffset, align, alignOffset, arrowPadding, sticky, hideWhenDetached, avoidCollisions, enabled, modal, portalContainer, className, onMouseEnter, onMouseLeave }: PopoverProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
export interface RadioGroupProps {
|
|
3
|
-
id?: string;
|
|
4
|
-
children: React.ReactNode;
|
|
5
|
-
name?: string;
|
|
6
|
-
required?: boolean;
|
|
7
|
-
disabled?: boolean;
|
|
8
|
-
/**
|
|
9
|
-
* Whether keyboard navigation should loop around
|
|
10
|
-
* @defaultValue false
|
|
11
|
-
*/
|
|
12
|
-
loop?: boolean;
|
|
13
|
-
defaultValue?: string;
|
|
14
|
-
value?: string;
|
|
15
|
-
onValueChange?(value: string): void;
|
|
16
|
-
className?: string;
|
|
17
|
-
}
|
|
18
|
-
declare const RadioGroup: React.ForwardRefExoticComponent<RadioGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
19
|
-
export interface RadioGroupItemProps {
|
|
20
|
-
id?: string;
|
|
21
|
-
value: string;
|
|
22
|
-
checked?: boolean;
|
|
23
|
-
required?: boolean;
|
|
24
|
-
className?: string;
|
|
25
|
-
disabled?: boolean;
|
|
26
|
-
}
|
|
27
|
-
declare const RadioGroupItem: React.ForwardRefExoticComponent<RadioGroupItemProps & React.RefAttributes<HTMLButtonElement>>;
|
|
28
|
-
export { RadioGroup, RadioGroupItem };
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
export type ResizablePanelsProps = {
|
|
3
|
-
firstPanel: React.ReactNode;
|
|
4
|
-
secondPanel: React.ReactNode;
|
|
5
|
-
/** Whether the first panel is visible (e.g. Sidebar) */
|
|
6
|
-
showFirstPanel?: boolean;
|
|
7
|
-
/** Whether the second panel is visible (e.g. Results) */
|
|
8
|
-
showSecondPanel?: boolean;
|
|
9
|
-
/** 0-100 representing the width/height of the first panel */
|
|
10
|
-
panelSizePercent: number;
|
|
11
|
-
onPanelSizeChange: (sizePercent: number) => void;
|
|
12
|
-
minPanelSizePx?: number;
|
|
13
|
-
orientation?: "horizontal" | "vertical";
|
|
14
|
-
animateLayout?: boolean;
|
|
15
|
-
className?: string;
|
|
16
|
-
stacked?: boolean;
|
|
17
|
-
};
|
|
18
|
-
export declare function ResizablePanels({ firstPanel, secondPanel, showFirstPanel, showSecondPanel, panelSizePercent, onPanelSizeChange, minPanelSizePx, orientation, animateLayout, className, stacked }: ResizablePanelsProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
interface SearchBarProps {
|
|
3
|
-
onClick?: () => void;
|
|
4
|
-
onTextSearch?: (searchString?: string) => void;
|
|
5
|
-
placeholder?: string;
|
|
6
|
-
expandable?: boolean;
|
|
7
|
-
/**
|
|
8
|
-
* Size of the search bar.
|
|
9
|
-
* - "small": 32px height (matches TextField small)
|
|
10
|
-
* - "medium": 44px height (matches TextField medium)
|
|
11
|
-
* @default "medium"
|
|
12
|
-
*/
|
|
13
|
-
size?: "smallest" | "small" | "medium";
|
|
14
|
-
innerClassName?: string;
|
|
15
|
-
className?: string;
|
|
16
|
-
autoFocus?: boolean;
|
|
17
|
-
disabled?: boolean;
|
|
18
|
-
loading?: boolean;
|
|
19
|
-
inputRef?: React.Ref<HTMLInputElement>;
|
|
20
|
-
/**
|
|
21
|
-
* Optional initial value for the search input, e.g. from URL params.
|
|
22
|
-
*/
|
|
23
|
-
initialValue?: string;
|
|
24
|
-
}
|
|
25
|
-
export declare function SearchBar({ onClick, onTextSearch, placeholder, expandable, size, innerClassName, className, autoFocus, disabled, loading, inputRef, initialValue }: SearchBarProps): import("react/jsx-runtime").JSX.Element;
|
|
26
|
-
export {};
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import React, { ChangeEvent } from "react";
|
|
2
|
-
export type SelectValue = string | number | boolean;
|
|
3
|
-
export type SelectProps<T extends SelectValue = string> = {
|
|
4
|
-
open?: boolean;
|
|
5
|
-
name?: string;
|
|
6
|
-
fullWidth?: boolean;
|
|
7
|
-
id?: string;
|
|
8
|
-
onOpenChange?: (open: boolean) => void;
|
|
9
|
-
value?: T;
|
|
10
|
-
className?: string;
|
|
11
|
-
inputClassName?: string;
|
|
12
|
-
viewportClassName?: string;
|
|
13
|
-
onChange?: React.EventHandler<ChangeEvent<HTMLSelectElement>>;
|
|
14
|
-
onValueChange?: (updatedValue: T) => void;
|
|
15
|
-
placeholder?: React.ReactNode;
|
|
16
|
-
renderValue?: (value: T) => React.ReactNode;
|
|
17
|
-
size?: "smallest" | "small" | "medium" | "large";
|
|
18
|
-
label?: React.ReactNode | string;
|
|
19
|
-
disabled?: boolean;
|
|
20
|
-
error?: boolean;
|
|
21
|
-
position?: "item-aligned" | "popper";
|
|
22
|
-
endAdornment?: React.ReactNode;
|
|
23
|
-
inputRef?: React.Ref<HTMLButtonElement>;
|
|
24
|
-
padding?: boolean;
|
|
25
|
-
invisible?: boolean;
|
|
26
|
-
children?: React.ReactNode;
|
|
27
|
-
dataType?: "string" | "number" | "boolean";
|
|
28
|
-
portalContainer?: HTMLElement | null;
|
|
29
|
-
};
|
|
30
|
-
export declare const Select: React.ForwardRefExoticComponent<SelectProps<string> & React.RefAttributes<HTMLDivElement>>;
|
|
31
|
-
export type SelectItemProps<T extends SelectValue = string> = {
|
|
32
|
-
value: T;
|
|
33
|
-
children?: React.ReactNode;
|
|
34
|
-
disabled?: boolean;
|
|
35
|
-
className?: string;
|
|
36
|
-
};
|
|
37
|
-
export declare const SelectItem: React.MemoExoticComponent<(<T extends SelectValue = string>({ value, children, disabled, className }: SelectItemProps<T>) => import("react/jsx-runtime").JSX.Element)>;
|
|
38
|
-
export type SelectGroupProps = {
|
|
39
|
-
label: React.ReactNode;
|
|
40
|
-
children: React.ReactNode;
|
|
41
|
-
className?: string;
|
|
42
|
-
};
|
|
43
|
-
export declare const SelectGroup: React.NamedExoticComponent<SelectGroupProps>;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
interface SheetProps {
|
|
3
|
-
children: React.ReactNode;
|
|
4
|
-
open: boolean;
|
|
5
|
-
title?: string;
|
|
6
|
-
modal?: boolean;
|
|
7
|
-
includeBackgroundOverlay?: boolean;
|
|
8
|
-
side?: "top" | "bottom" | "left" | "right";
|
|
9
|
-
darkBackground?: boolean;
|
|
10
|
-
transparent?: boolean;
|
|
11
|
-
onOpenChange?: (open: boolean) => void;
|
|
12
|
-
onPointerDownOutside?: (e: Event) => void;
|
|
13
|
-
onInteractOutside?: (e: Event) => void;
|
|
14
|
-
className?: string;
|
|
15
|
-
style?: React.CSSProperties;
|
|
16
|
-
overlayClassName?: string;
|
|
17
|
-
overlayZIndex?: string;
|
|
18
|
-
overlayStyle?: React.CSSProperties;
|
|
19
|
-
portalContainer?: HTMLElement | null;
|
|
20
|
-
}
|
|
21
|
-
export declare const Sheet: React.FC<SheetProps>;
|
|
22
|
-
export {};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
export interface SliderProps {
|
|
3
|
-
className?: string;
|
|
4
|
-
name?: string;
|
|
5
|
-
disabled?: boolean;
|
|
6
|
-
orientation?: React.AriaAttributes["aria-orientation"];
|
|
7
|
-
dir?: "ltr" | "rtl";
|
|
8
|
-
min?: number;
|
|
9
|
-
max?: number;
|
|
10
|
-
step?: number;
|
|
11
|
-
minStepsBetweenThumbs?: number;
|
|
12
|
-
value?: number[];
|
|
13
|
-
defaultValue?: number[];
|
|
14
|
-
onValueChange?: (value: number[]) => void;
|
|
15
|
-
onValueCommit?: (value: number[]) => void;
|
|
16
|
-
inverted?: boolean;
|
|
17
|
-
form?: string;
|
|
18
|
-
size?: "small" | "regular";
|
|
19
|
-
}
|
|
20
|
-
declare const Slider: React.ForwardRefExoticComponent<SliderProps & React.RefAttributes<HTMLSpanElement>>;
|
|
21
|
-
export { Slider };
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
export type TableProps = {
|
|
3
|
-
children: React.ReactNode;
|
|
4
|
-
className?: string;
|
|
5
|
-
style?: React.CSSProperties;
|
|
6
|
-
} & React.TableHTMLAttributes<HTMLTableElement>;
|
|
7
|
-
export declare const Table: React.MemoExoticComponent<({ children, className, style, ...rest }: TableProps) => import("react/jsx-runtime").JSX.Element>;
|
|
8
|
-
export type TableBodyProps = {
|
|
9
|
-
children?: React.ReactNode;
|
|
10
|
-
className?: string;
|
|
11
|
-
} & React.HTMLAttributes<HTMLTableSectionElement>;
|
|
12
|
-
export declare const TableBody: React.MemoExoticComponent<({ children, className, ...rest }: TableBodyProps) => import("react/jsx-runtime").JSX.Element>;
|
|
13
|
-
export type TableHeaderProps = {
|
|
14
|
-
children?: React.ReactNode;
|
|
15
|
-
className?: string;
|
|
16
|
-
} & React.HTMLAttributes<HTMLTableSectionElement>;
|
|
17
|
-
export declare const TableHeader: React.MemoExoticComponent<({ children, className, ...rest }: TableHeaderProps) => import("react/jsx-runtime").JSX.Element>;
|
|
18
|
-
export type TableRowProps = {
|
|
19
|
-
children?: React.ReactNode;
|
|
20
|
-
className?: string;
|
|
21
|
-
onClick?: React.MouseEventHandler<any>;
|
|
22
|
-
style?: React.CSSProperties;
|
|
23
|
-
} & React.HTMLAttributes<HTMLTableRowElement>;
|
|
24
|
-
export declare const TableRow: React.MemoExoticComponent<({ children, className, onClick, style, ...rest }: TableRowProps) => import("react/jsx-runtime").JSX.Element>;
|
|
25
|
-
export type TableCellProps = {
|
|
26
|
-
children?: React.ReactNode;
|
|
27
|
-
header?: boolean;
|
|
28
|
-
scope?: string;
|
|
29
|
-
className?: string;
|
|
30
|
-
style?: React.CSSProperties;
|
|
31
|
-
align?: "left" | "center" | "right";
|
|
32
|
-
colspan?: number;
|
|
33
|
-
} & React.HTMLAttributes<HTMLTableCellElement>;
|
|
34
|
-
export declare const TableCell: React.MemoExoticComponent<({ children, header, scope, align, className, style, colspan, ...rest }: TableCellProps) => import("react/jsx-runtime").JSX.Element>;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
export type TabVariant = "standard" | "boxy" | "pill";
|
|
3
|
-
export type TabsProps = {
|
|
4
|
-
value: string;
|
|
5
|
-
children: React.ReactNode;
|
|
6
|
-
innerClassName?: string;
|
|
7
|
-
className?: string;
|
|
8
|
-
variant?: TabVariant;
|
|
9
|
-
onValueChange: (value: string) => void;
|
|
10
|
-
};
|
|
11
|
-
export declare function Tabs({ value, onValueChange, className, innerClassName, variant, children }: TabsProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
export type TabProps = {
|
|
13
|
-
value: string;
|
|
14
|
-
className?: string;
|
|
15
|
-
innerClassName?: string;
|
|
16
|
-
children: React.ReactNode;
|
|
17
|
-
disabled?: boolean;
|
|
18
|
-
};
|
|
19
|
-
export declare function Tab({ value, className, innerClassName, children, disabled }: TabProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
export type InputType = "text" | "number" | "phone" | "email" | "password" | "search" | "url" | "date" | "time" | "datetime-local" | "month" | "week" | "color";
|
|
3
|
-
export type TextFieldProps<T extends string | number> = {
|
|
4
|
-
type?: InputType;
|
|
5
|
-
value?: T;
|
|
6
|
-
onChange?: (event: React.ChangeEvent<HTMLInputElement | HTMLTextAreaElement>) => void;
|
|
7
|
-
label?: React.ReactNode;
|
|
8
|
-
multiline?: boolean;
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
invisible?: boolean;
|
|
11
|
-
error?: boolean;
|
|
12
|
-
endAdornment?: React.ReactNode;
|
|
13
|
-
autoFocus?: boolean;
|
|
14
|
-
placeholder?: string;
|
|
15
|
-
size?: "smallest" | "small" | "medium" | "large";
|
|
16
|
-
className?: string;
|
|
17
|
-
style?: React.CSSProperties;
|
|
18
|
-
inputClassName?: string;
|
|
19
|
-
inputStyle?: React.CSSProperties;
|
|
20
|
-
inputRef?: React.ForwardedRef<any>;
|
|
21
|
-
/**
|
|
22
|
-
* Maximum number of rows to display.
|
|
23
|
-
*/
|
|
24
|
-
maxRows?: number | string;
|
|
25
|
-
/**
|
|
26
|
-
* Minimum number of rows to display.
|
|
27
|
-
* @default 1
|
|
28
|
-
*/
|
|
29
|
-
minRows?: number | string;
|
|
30
|
-
} & Omit<React.InputHTMLAttributes<HTMLInputElement>, "size">;
|
|
31
|
-
export declare const TextField: React.ForwardRefExoticComponent<{
|
|
32
|
-
type?: InputType;
|
|
33
|
-
value?: string | number | undefined;
|
|
34
|
-
onChange?: (event: React.ChangeEvent<HTMLInputElement | HTMLTextAreaElement>) => void;
|
|
35
|
-
label?: React.ReactNode;
|
|
36
|
-
multiline?: boolean;
|
|
37
|
-
disabled?: boolean;
|
|
38
|
-
invisible?: boolean;
|
|
39
|
-
error?: boolean;
|
|
40
|
-
endAdornment?: React.ReactNode;
|
|
41
|
-
autoFocus?: boolean;
|
|
42
|
-
placeholder?: string;
|
|
43
|
-
size?: "smallest" | "small" | "medium" | "large";
|
|
44
|
-
className?: string;
|
|
45
|
-
style?: React.CSSProperties;
|
|
46
|
-
inputClassName?: string;
|
|
47
|
-
inputStyle?: React.CSSProperties;
|
|
48
|
-
inputRef?: React.ForwardedRef<any>;
|
|
49
|
-
/**
|
|
50
|
-
* Maximum number of rows to display.
|
|
51
|
-
*/
|
|
52
|
-
maxRows?: number | string;
|
|
53
|
-
/**
|
|
54
|
-
* Minimum number of rows to display.
|
|
55
|
-
* @default 1
|
|
56
|
-
*/
|
|
57
|
-
minRows?: number | string;
|
|
58
|
-
} & Omit<React.InputHTMLAttributes<HTMLInputElement>, "size"> & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
type State = {
|
|
3
|
-
outerHeightStyle: number;
|
|
4
|
-
overflow?: boolean | undefined;
|
|
5
|
-
};
|
|
6
|
-
export declare const TextareaAutosize: React.FC<TextareaAutosizeProps & {
|
|
7
|
-
ref?: React.ForwardedRef<Element>;
|
|
8
|
-
}>;
|
|
9
|
-
export type TextareaAutosizeProps = Omit<React.InputHTMLAttributes<HTMLTextAreaElement>, "onResize"> & {
|
|
10
|
-
className?: string;
|
|
11
|
-
shadowClassName?: string;
|
|
12
|
-
/**
|
|
13
|
-
* Maximum number of rows to display.
|
|
14
|
-
*/
|
|
15
|
-
maxRows?: number | string;
|
|
16
|
-
/**
|
|
17
|
-
* Minimum number of rows to display.
|
|
18
|
-
* @default 1
|
|
19
|
-
*/
|
|
20
|
-
minRows?: number | string;
|
|
21
|
-
/**
|
|
22
|
-
* @ignore
|
|
23
|
-
*/
|
|
24
|
-
onChange?: (event: React.ChangeEvent<HTMLTextAreaElement>) => void;
|
|
25
|
-
/**
|
|
26
|
-
* @ignore
|
|
27
|
-
*/
|
|
28
|
-
placeholder?: string;
|
|
29
|
-
/**
|
|
30
|
-
* @ignore
|
|
31
|
-
*/
|
|
32
|
-
style?: object;
|
|
33
|
-
/**
|
|
34
|
-
* @ignore
|
|
35
|
-
*/
|
|
36
|
-
value?: string[] | number | string;
|
|
37
|
-
sizeRef?: React.RefObject<HTMLDivElement>;
|
|
38
|
-
onScroll?: (event: React.UIEvent<HTMLTextAreaElement>) => void;
|
|
39
|
-
onResize?: (state: State) => void;
|
|
40
|
-
autoFocus?: boolean;
|
|
41
|
-
ignoreBoxSizing?: boolean;
|
|
42
|
-
};
|
|
43
|
-
export {};
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
export type ToggleButtonOption<T extends string = string> = {
|
|
3
|
-
value: T;
|
|
4
|
-
label: string;
|
|
5
|
-
icon?: React.ReactNode;
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
};
|
|
8
|
-
export type ToggleButtonGroupProps<T extends string = string> = {
|
|
9
|
-
/**
|
|
10
|
-
* Currently selected value
|
|
11
|
-
*/
|
|
12
|
-
value: T;
|
|
13
|
-
/**
|
|
14
|
-
* Callback when value changes
|
|
15
|
-
*/
|
|
16
|
-
onValueChange: (value: T) => void;
|
|
17
|
-
/**
|
|
18
|
-
* Options to display
|
|
19
|
-
*/
|
|
20
|
-
options: ToggleButtonOption<T>[];
|
|
21
|
-
/**
|
|
22
|
-
* Additional class names for the container
|
|
23
|
-
*/
|
|
24
|
-
className?: string;
|
|
25
|
-
};
|
|
26
|
-
/**
|
|
27
|
-
* A toggle button group component for selecting one option from a set.
|
|
28
|
-
* Displays options as buttons in a horizontal row with active state styling.
|
|
29
|
-
*/
|
|
30
|
-
export declare function ToggleButtonGroup<T extends string = string>({ value, onValueChange, options, className }: ToggleButtonGroupProps<T>): import("react/jsx-runtime").JSX.Element;
|