@nubitio/react-admin 1.3.0 → 1.4.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/index.cjs CHANGED
@@ -557,6 +557,12 @@ Object.defineProperty(exports, "TooltipProvider", {
557
557
  return _nubitio_ui.TooltipProvider;
558
558
  }
559
559
  });
560
+ Object.defineProperty(exports, "TreeList", {
561
+ enumerable: true,
562
+ get: function() {
563
+ return _nubitio_ui.TreeList;
564
+ }
565
+ });
560
566
  Object.defineProperty(exports, "UiStringsProvider", {
561
567
  enumerable: true,
562
568
  get: function() {
package/dist/index.d.cts CHANGED
@@ -1,7 +1,18 @@
1
+ /**
2
+ * @nubitio/react-admin — batteries-included admin stack.
3
+ *
4
+ * Umbrella re-export for fast project bootstrap. Import everything you need
5
+ * for a typical API Platform admin app from this single package:
6
+ *
7
+ * import { CoreProvider, CoreConfigProvider, CrudPage, AdminShell, SchemaProvider } from '@nubitio/react-admin';
8
+ *
9
+ * Peer dependencies: react, react-dom, react-router-dom, @tanstack/react-query,
10
+ * i18next, react-i18next.
11
+ */
1
12
  import { CoreConfig, CoreConfigProvider, CoreConfigProviderProps, CoreHttpClient, CoreHttpClientConfig, CoreProvider, CoreProviderProps, CoreTranslationKeys, DataRecord, DateUtils, EventSubscription, MercureProvider, MercureProviderProps, buildMercureCollectionTopic, configureCore, configureCoreDate, coreTranslationsEn, coreTranslationsEs, createCoreHttpClient, dispatch, getCoreApiBaseUrl, getCoreCurrency, getCoreLocale, getCoreTimezone, getMercureTopicOrigin, initCoreI18n, resolveMercureTopicOrigin, useCoreConfig, useCoreHttpClient, useEvents, useMercureHub, useMercureSubscription } from "@nubitio/core";
2
- import { AuditEntry, AuditTrailConfig, AuditTrailPanel, AuditTrailPanelProps, BackendAdapter, BulkAction, CardViewConfig, CardViewContext, ColumnChooserButton, ColumnPreset, CrudGridSlotContext, CrudPage, DATA_GRID_EVENTS, DataGridView, DevToolsContextValue, DevToolsProvider, DialogView, DrawerView, EnumOption, FORM_EVENTS, Field, FieldBuilder, FieldDef, FieldInput, FieldOverride, FieldResolutionSource, FormDetailDiagnostics, FormDetailFieldSource, FormHandle, FormLayout, FormOnChangeFn, FormSection, FormTab, FormView, FormatterFn, GridCellContext, GridHandle, GridOnChangeFn, HydraAdapter, LoadOption, OnChangeFn, ResourceConfig, ResourceDiagnostics, ResourceFormDetail, ResourceGridDetail, ResourcePermissions, ResourceRouting, ResourceRowActions, ResourceSchemaResolver, ResourceStore, ResourceStoreFactory, ResourceStoreProvider, ResourceStoreProviderProps, ResourceToolbar, ResourceToolbarAction, ResourceToolbarActionVariant, ResourceToolbarContext, ResourceToolbarItems, RestAdapter, RestQueryDialect, SchemaCrudPage, SchemaCrudPageProps, SmartCrudFieldContract, SmartCrudFieldOperation, SmartCrudFieldPatch, SmartCrudHydraFieldContract, SmartCrudHydraFieldDirective, SmartCrudManualField, SmartCrudManualFieldContract, SmartCrudOperation, SmartCrudPage, SmartCrudPageProps, SmartCrudRolesProvider, ToolbarSelect, buildFields, checkboxField, createCrudEvents, createRestResourceStore, crudRoute, currencyField, dateField, datetimeField, defineFieldContract, defineFields, defineResource, embeddedLinesUrl, entityField, enumField, fileField, identityField, imageField, isDevEnvironment, noneField, numberField, passwordField, selectField, switchField, tagsField, textField, textareaField, useColumnChooser, useDevTools, useSmartCrudRoles, validateFieldContract } from "@nubitio/crud";
3
- import { ACCENT_PRESETS, AccentPreset, AppDialog, AppDialogProps, AppDropdown, AppDropdownOption, AppDropdownProps, AppDropdownVariant, AppToolbar, AppToolbarProps, Avatar, AvatarProps, Badge, BadgeProps, Button, ButtonProps, Card, CardProps, Checkbox, CheckboxProps, Chip, ChipProps, CollapsibleSection, CollapsibleSectionProps, Combobox, ComboboxLoader, ComboboxOption, ComboboxPage, ComboboxProps, ConfirmDialog, ConfirmDialogProps, ContextMenu, ContextMenuItem, ContextMenuProps, DatePicker, DatePickerProps, DateRangePicker, DateRangePickerProps, Density, DensityProvider, Drawer, DrawerProps, DrawerSide, EN_UI_STRINGS, ES_UI_STRINGS, EmptyState, EmptyStateProps, FilterPanel, FilterPanelCategorySection, FilterPanelChipOption, FilterPanelProps, FilterPanelStatusSection, FormField, FormFieldProps, HubPanel, HubPanelProps, IconButton, IconButtonProps, KpiMetricItem, KpiMetricLayout, KpiMetricRow, KpiMetricRowProps, KpiMetricTone, MultiSelect, MultiSelectProps, OperationCardAccent, OperationCardGrid, OperationCardGridProps, OperationCardItem, Popover, PopoverProps, Progress, ProgressProps, RadioGroup, RadioGroupOption, RadioGroupProps, ScopeTabOption, ScopeTabs, ScopeTabsProps, SearchableAppDropdown, SearchableAppDropdownProps, SegmentedControl, SegmentedControlOption, SegmentedControlProps, SelectField, SelectFieldProps, SettingsPanel, SettingsPanelProps, Skeleton, SkeletonProps, Spinner, SpinnerProps, StatCard, StatCardProps, Tabs, TabsItem, TabsProps, TextAreaField, TextAreaFieldProps, TextField, TextFieldProps, Theme, ThemeContext, ThemeContextValue, ThemeMode, ThemeProvider, ThemeProviderProps, ThemeSwitcher, ThemeSwitcherProps, TimePicker, TimePickerProps, Timeline, TimelineItem, TimelineItemProps, TimelineItemStatus, TimelineItemTone, TimelineOrientation, TimelineProps, TimelineVariant, Toggle, ToggleProps, Tooltip, TooltipProps, TooltipProvider, TooltipProviderProps, UiStrings, UiStringsProvider, UiStringsProviderProps, useAccentColor, useDensity, useOverlayContainer, useTheme, useUiStrings } from "@nubitio/ui";
13
+ import { AuditEntry, AuditTrailConfig, AuditTrailPanel, AuditTrailPanelProps, BackendAdapter, BulkAction, CardViewConfig, CardViewContext, ColumnChooserButton, ColumnPreset, CrudGridSlotContext, CrudPage, DATA_GRID_EVENTS, DataGridView, DevToolsContextValue, DevToolsProvider, DialogView, DrawerView, EnumOption, FORM_EVENTS, Field, FieldBuilder, FieldDef, FieldInput, FieldOverride, FieldResolutionSource, FormDetailDiagnostics, FormDetailFieldSource, FormHandle, FormLayout, FormOnChangeFn, FormSection, FormTab, FormView, FormatterFn, GridCellContext, GridHandle, GridOnChangeFn, HydraAdapter, LoadOption, OnChangeFn, ResourceConfig, ResourceDiagnostics, ResourceFormDetail, ResourceGridDetail, ResourcePermissions, ResourceRouting, ResourceRowActions, ResourceSchemaResolver, ResourceStore, ResourceStoreFactory, ResourceStoreProvider, ResourceStoreProviderProps, ResourceToolbar, ResourceToolbarAction, ResourceToolbarActionVariant, ResourceToolbarContext, ResourceToolbarItems, RestAdapter, RestQueryDialect, SchemaCrudPage, SchemaCrudPageProps, SmartCrudFieldContract, SmartCrudFieldOperation, SmartCrudFieldPatch, SmartCrudHydraFieldContract, SmartCrudHydraFieldDirective, SmartCrudManualField, SmartCrudManualFieldContract, SmartCrudOperation, SmartCrudPage, SmartCrudPageProps, SmartCrudRolesProvider, ToolbarSelect, TreeListViewConfig, buildFields, checkboxField, createCrudEvents, createRestResourceStore, crudRoute, currencyField, dateField, datetimeField, defineFieldContract, defineFields, defineResource, embeddedLinesUrl, entityField, enumField, fileField, identityField, imageField, isDevEnvironment, noneField, numberField, passwordField, selectField, switchField, tagsField, textField, textareaField, useColumnChooser, useDevTools, useSmartCrudRoles, validateFieldContract } from "@nubitio/crud";
14
+ import { ACCENT_PRESETS, AccentPreset, AppDialog, AppDialogProps, AppDropdown, AppDropdownOption, AppDropdownProps, AppDropdownVariant, AppToolbar, AppToolbarProps, Avatar, AvatarProps, Badge, BadgeProps, Button, ButtonProps, Card, CardProps, Checkbox, CheckboxProps, Chip, ChipProps, CollapsibleSection, CollapsibleSectionProps, Combobox, ComboboxLoader, ComboboxOption, ComboboxPage, ComboboxProps, ConfirmDialog, ConfirmDialogProps, ContextMenu, ContextMenuItem, ContextMenuProps, DatePicker, DatePickerProps, DateRangePicker, DateRangePickerProps, Density, DensityProvider, Drawer, DrawerProps, DrawerSide, EN_UI_STRINGS, ES_UI_STRINGS, EmptyState, EmptyStateProps, FilterPanel, FilterPanelCategorySection, FilterPanelChipOption, FilterPanelProps, FilterPanelStatusSection, FormField, FormFieldProps, HubPanel, HubPanelProps, IconButton, IconButtonProps, KpiMetricItem, KpiMetricLayout, KpiMetricRow, KpiMetricRowProps, KpiMetricTone, MultiSelect, MultiSelectProps, OperationCardAccent, OperationCardGrid, OperationCardGridProps, OperationCardItem, Popover, PopoverProps, Progress, ProgressProps, RadioGroup, RadioGroupOption, RadioGroupProps, ScopeTabOption, ScopeTabs, ScopeTabsProps, SearchableAppDropdown, SearchableAppDropdownProps, SegmentedControl, SegmentedControlOption, SegmentedControlProps, SelectField, SelectFieldProps, SettingsPanel, SettingsPanelProps, Skeleton, SkeletonProps, Spinner, SpinnerProps, StatCard, StatCardProps, Tabs, TabsItem, TabsProps, TextAreaField, TextAreaFieldProps, TextField, TextFieldProps, Theme, ThemeContext, ThemeContextValue, ThemeMode, ThemeProvider, ThemeProviderProps, ThemeSwitcher, ThemeSwitcherProps, TimePicker, TimePickerProps, Timeline, TimelineItem, TimelineItemProps, TimelineItemStatus, TimelineItemTone, TimelineOrientation, TimelineProps, TimelineVariant, Toggle, ToggleProps, Tooltip, TooltipProps, TooltipProvider, TooltipProviderProps, TreeList, TreeListColumn, TreeListModelOptions, TreeListMoveEvent, TreeListProps, TreeNode, TreeNodeId, UiStrings, UiStringsProvider, UiStringsProviderProps, useAccentColor, useDensity, useOverlayContainer, useTheme, useUiStrings } from "@nubitio/ui";
4
15
  import { ApiDoc, HydraApiDoc, HydraRemoteDataSource, HydraResourceSchemaProvider, HydraResourceStoreProvider, OpenApiDoc, RemoteDataSourceOptions, RemoteFilterDescriptor, RemoteLoadOptions, RemoteSortDescriptor, SchemaProvider, UseSchemaContextResult, mapHydraSchemaToFields, parseHydraDoc, parseOpenApiDoc, resolveRangeTag, useHydraMetadata, useResourceSchema, useSchemaContext } from "@nubitio/hydra";
5
16
  import { BarChartWidgetConfig, DashboardConfig, DashboardDataResult, DashboardPage, DashboardPageProps, DashboardSection, DashboardSectionLayout, DashboardWidget, DonutChartWidgetConfig, StatIconTone, StatWidgetConfig, TableColumnConfig, TableViewAllConfig, TableWidgetConfig, TrendConfig, ValueFormat, areaChartWidget, barChartWidget, defineDashboard, donutChartWidget, formatDashboardValue, lineChartWidget, progressWidget, resolveArray, resolvePath, statWidget, tableWidget, useDashboardData } from "@nubitio/dashboard";
6
17
  import { AdminBottomNavigation, AdminBottomNavigationItem, AdminBottomNavigationProps, AdminHeader, AdminHeaderAction, AdminHeaderProps, AdminMenuItem, AdminMenuSubItem, AdminShell, AdminShellProps, AdminSidebarMenu, AdminSidebarMenuProps, AdminSidebarMenuSelectEvent, AppProfile, CreateNubitAppConfig, FeatureGate, FeatureGateProps, FeatureHubBanner, FeatureHubLayout, FeatureHubLayoutProps, FeatureHubTab, LoginPage, LoginPageProps, NotificationType, NubitApp, NubitAppMenuContext, NubitAppMenuItem, NubitAppMenuSubItem, NubitAppRoute, NubitAppUserMenuContext, NubitDevToolsPanel, ParsedQuotaError, PlanDefinition, PlanPanel, PlanPanelLabels, PlanPanelProps, QuotaUsageBanner, QuotaUsageBannerProps, RegisterField, RegisterFieldType, RegisterPage, RegisterPageProps, RegisterSelectOption, RuntimeConfig, RuntimeConfigState, SessionContextValue, SessionFeatureEntitlement, SessionProfile, SessionProvider, SessionProviderConfig, SessionState, SessionTenant, StaticSessionProvider, ToastHost, ToastHostProps, ToastItem, UseQuotaUsageOptions, UseRuntimeConfigOptions, createNubitApp, filterMenuByRoles, hasAnyRole, parseQuotaError, quotaErrorToastMessage, quotaUsageAboveGrid, useAppRuntime, useFeature, useFeatureConfig, useQuotaUsage, useRuntimeConfig, useScreenSize, useScreenSizeClass, useSession } from "@nubitio/admin";
7
- export { ACCENT_PRESETS, type AccentPreset, AdminBottomNavigation, type AdminBottomNavigationItem, type AdminBottomNavigationProps, AdminHeader, type AdminHeaderAction, type AdminHeaderProps, type AdminMenuItem, type AdminMenuSubItem, AdminShell, type AdminShellProps, AdminSidebarMenu, type AdminSidebarMenuProps, type AdminSidebarMenuSelectEvent, type ApiDoc, AppDialog, type AppDialogProps, AppDropdown, type AppDropdownOption, type AppDropdownProps, type AppDropdownVariant, type AppProfile, AppToolbar, type AppToolbarProps, type AuditEntry, type AuditTrailConfig, AuditTrailPanel, type AuditTrailPanelProps, Avatar, type AvatarProps, type BackendAdapter, Badge, type BadgeProps, type BarChartWidgetConfig, type BulkAction, Button, type ButtonProps, Card, type CardProps, type CardViewConfig, type CardViewContext, Checkbox, type CheckboxProps, Chip, type ChipProps, CollapsibleSection, type CollapsibleSectionProps, ColumnChooserButton, type ColumnPreset, Combobox, type ComboboxLoader, type ComboboxOption, type ComboboxPage, type ComboboxProps, ConfirmDialog, type ConfirmDialogProps, ContextMenu, type ContextMenuItem, type ContextMenuProps, type CoreConfig, CoreConfigProvider, type CoreConfigProviderProps, type CoreHttpClient, type CoreHttpClientConfig, CoreProvider, type CoreProviderProps, type CoreTranslationKeys, type CreateNubitAppConfig, type CrudGridSlotContext, CrudPage, DATA_GRID_EVENTS, type DashboardConfig, type DashboardDataResult, DashboardPage, type DashboardPageProps, type DashboardSection, type DashboardSectionLayout, type DashboardWidget, DataGridView, type DataRecord, DatePicker, type DatePickerProps, DateRangePicker, type DateRangePickerProps, DateUtils, type Density, DensityProvider, type DevToolsContextValue, DevToolsProvider, DialogView, type DonutChartWidgetConfig, Drawer, type DrawerProps, type DrawerSide, DrawerView, EN_UI_STRINGS, ES_UI_STRINGS, EmptyState, type EmptyStateProps, type EnumOption, type EventSubscription, FORM_EVENTS, FeatureGate, type FeatureGateProps, type FeatureHubBanner, FeatureHubLayout, type FeatureHubLayoutProps, type FeatureHubTab, type Field, FieldBuilder, type FieldDef, type FieldInput, type FieldOverride, type FieldResolutionSource, FilterPanel, type FilterPanelCategorySection, type FilterPanelChipOption, type FilterPanelProps, type FilterPanelStatusSection, type FormDetailDiagnostics, type FormDetailFieldSource, FormField, type FormFieldProps, type FormHandle, type FormLayout, type FormOnChangeFn, type FormSection, type FormTab, FormView, type FormatterFn, type GridCellContext, type GridHandle, type GridOnChangeFn, HubPanel, type HubPanelProps, HydraAdapter, type HydraApiDoc, HydraRemoteDataSource, HydraResourceSchemaProvider, HydraResourceStoreProvider, IconButton, type IconButtonProps, type KpiMetricItem, type KpiMetricLayout, KpiMetricRow, type KpiMetricRowProps, type KpiMetricTone, type LoadOption, LoginPage, type LoginPageProps, MercureProvider, type MercureProviderProps, MultiSelect, type MultiSelectProps, type NotificationType, type NubitApp, type NubitAppMenuContext, type NubitAppMenuItem, type NubitAppMenuSubItem, type NubitAppRoute, type NubitAppUserMenuContext, NubitDevToolsPanel, type OnChangeFn, type OpenApiDoc, type OperationCardAccent, OperationCardGrid, type OperationCardGridProps, type OperationCardItem, type ParsedQuotaError, type PlanDefinition, PlanPanel, type PlanPanelLabels, type PlanPanelProps, Popover, type PopoverProps, Progress, type ProgressProps, QuotaUsageBanner, type QuotaUsageBannerProps, RadioGroup, type RadioGroupOption, type RadioGroupProps, type RegisterField, type RegisterFieldType, RegisterPage, type RegisterPageProps, type RegisterSelectOption, type RemoteDataSourceOptions, type RemoteFilterDescriptor, type RemoteLoadOptions, type RemoteSortDescriptor, type ResourceConfig, type ResourceDiagnostics, type ResourceFormDetail, type ResourceGridDetail, type ResourcePermissions, type ResourceRouting, type ResourceRowActions, type ResourceSchemaResolver, type ResourceStore, type ResourceStoreFactory, ResourceStoreProvider, type ResourceStoreProviderProps, type ResourceToolbar, type ResourceToolbarAction, type ResourceToolbarActionVariant, type ResourceToolbarContext, type ResourceToolbarItems, RestAdapter, type RestQueryDialect, type RuntimeConfig, type RuntimeConfigState, SchemaCrudPage, type SchemaCrudPageProps, SchemaProvider, type ScopeTabOption, ScopeTabs, type ScopeTabsProps, SearchableAppDropdown, type SearchableAppDropdownProps, SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, SelectField, type SelectFieldProps, type SessionContextValue, type SessionFeatureEntitlement, type SessionProfile, SessionProvider, type SessionProviderConfig, type SessionState, type SessionTenant, SettingsPanel, type SettingsPanelProps, Skeleton, type SkeletonProps, type SmartCrudFieldContract, type SmartCrudFieldOperation, type SmartCrudFieldPatch, type SmartCrudHydraFieldContract, type SmartCrudHydraFieldDirective, type SmartCrudManualField, type SmartCrudManualFieldContract, type SmartCrudOperation, SmartCrudPage, type SmartCrudPageProps, SmartCrudRolesProvider, Spinner, type SpinnerProps, StatCard, type StatCardProps, type StatIconTone, type StatWidgetConfig, StaticSessionProvider, type TableColumnConfig, type TableViewAllConfig, type TableWidgetConfig, Tabs, type TabsItem, type TabsProps, TextAreaField, type TextAreaFieldProps, TextField, type TextFieldProps, type Theme, ThemeContext, type ThemeContextValue, type ThemeMode, ThemeProvider, type ThemeProviderProps, ThemeSwitcher, type ThemeSwitcherProps, TimePicker, type TimePickerProps, Timeline, TimelineItem, type TimelineItemProps, type TimelineItemStatus, type TimelineItemTone, type TimelineOrientation, type TimelineProps, type TimelineVariant, ToastHost, type ToastHostProps, type ToastItem, Toggle, type ToggleProps, ToolbarSelect, Tooltip, type TooltipProps, TooltipProvider, type TooltipProviderProps, type TrendConfig, type UiStrings, UiStringsProvider, type UiStringsProviderProps, type UseQuotaUsageOptions, type UseRuntimeConfigOptions, type UseSchemaContextResult, type ValueFormat, areaChartWidget, barChartWidget, buildFields, buildMercureCollectionTopic, checkboxField, configureCore, configureCoreDate, coreTranslationsEn, coreTranslationsEs, createCoreHttpClient, createCrudEvents, createNubitApp, createRestResourceStore, crudRoute, currencyField, dateField, datetimeField, defineDashboard, defineFieldContract, defineFields, defineResource, dispatch, donutChartWidget, embeddedLinesUrl, entityField, enumField, fileField, filterMenuByRoles, formatDashboardValue, getCoreApiBaseUrl, getCoreCurrency, getCoreLocale, getCoreTimezone, getMercureTopicOrigin, hasAnyRole, identityField, imageField, initCoreI18n, isDevEnvironment, lineChartWidget, mapHydraSchemaToFields, noneField, numberField, parseHydraDoc, parseOpenApiDoc, parseQuotaError, passwordField, progressWidget, quotaErrorToastMessage, quotaUsageAboveGrid, resolveArray, resolveMercureTopicOrigin, resolvePath, resolveRangeTag, selectField, statWidget, switchField, tableWidget, tagsField, textField, textareaField, useAccentColor, useAppRuntime, useColumnChooser, useCoreConfig, useCoreHttpClient, useDashboardData, useDensity, useDevTools, useEvents, useFeature, useFeatureConfig, useHydraMetadata, useMercureHub, useMercureSubscription, useOverlayContainer, useQuotaUsage, useResourceSchema, useRuntimeConfig, useSchemaContext, useScreenSize, useScreenSizeClass, useSession, useSmartCrudRoles, useTheme, useUiStrings, validateFieldContract };
18
+ export { ACCENT_PRESETS, type AccentPreset, AdminBottomNavigation, type AdminBottomNavigationItem, type AdminBottomNavigationProps, AdminHeader, type AdminHeaderAction, type AdminHeaderProps, type AdminMenuItem, type AdminMenuSubItem, AdminShell, type AdminShellProps, AdminSidebarMenu, type AdminSidebarMenuProps, type AdminSidebarMenuSelectEvent, type ApiDoc, AppDialog, type AppDialogProps, AppDropdown, type AppDropdownOption, type AppDropdownProps, type AppDropdownVariant, type AppProfile, AppToolbar, type AppToolbarProps, type AuditEntry, type AuditTrailConfig, AuditTrailPanel, type AuditTrailPanelProps, Avatar, type AvatarProps, type BackendAdapter, Badge, type BadgeProps, type BarChartWidgetConfig, type BulkAction, Button, type ButtonProps, Card, type CardProps, type CardViewConfig, type CardViewContext, Checkbox, type CheckboxProps, Chip, type ChipProps, CollapsibleSection, type CollapsibleSectionProps, ColumnChooserButton, type ColumnPreset, Combobox, type ComboboxLoader, type ComboboxOption, type ComboboxPage, type ComboboxProps, ConfirmDialog, type ConfirmDialogProps, ContextMenu, type ContextMenuItem, type ContextMenuProps, type CoreConfig, CoreConfigProvider, type CoreConfigProviderProps, type CoreHttpClient, type CoreHttpClientConfig, CoreProvider, type CoreProviderProps, type CoreTranslationKeys, type CreateNubitAppConfig, type CrudGridSlotContext, CrudPage, DATA_GRID_EVENTS, type DashboardConfig, type DashboardDataResult, DashboardPage, type DashboardPageProps, type DashboardSection, type DashboardSectionLayout, type DashboardWidget, DataGridView, type DataRecord, DatePicker, type DatePickerProps, DateRangePicker, type DateRangePickerProps, DateUtils, type Density, DensityProvider, type DevToolsContextValue, DevToolsProvider, DialogView, type DonutChartWidgetConfig, Drawer, type DrawerProps, type DrawerSide, DrawerView, EN_UI_STRINGS, ES_UI_STRINGS, EmptyState, type EmptyStateProps, type EnumOption, type EventSubscription, FORM_EVENTS, FeatureGate, type FeatureGateProps, type FeatureHubBanner, FeatureHubLayout, type FeatureHubLayoutProps, type FeatureHubTab, type Field, FieldBuilder, type FieldDef, type FieldInput, type FieldOverride, type FieldResolutionSource, FilterPanel, type FilterPanelCategorySection, type FilterPanelChipOption, type FilterPanelProps, type FilterPanelStatusSection, type FormDetailDiagnostics, type FormDetailFieldSource, FormField, type FormFieldProps, type FormHandle, type FormLayout, type FormOnChangeFn, type FormSection, type FormTab, FormView, type FormatterFn, type GridCellContext, type GridHandle, type GridOnChangeFn, HubPanel, type HubPanelProps, HydraAdapter, type HydraApiDoc, HydraRemoteDataSource, HydraResourceSchemaProvider, HydraResourceStoreProvider, IconButton, type IconButtonProps, type KpiMetricItem, type KpiMetricLayout, KpiMetricRow, type KpiMetricRowProps, type KpiMetricTone, type LoadOption, LoginPage, type LoginPageProps, MercureProvider, type MercureProviderProps, MultiSelect, type MultiSelectProps, type NotificationType, type NubitApp, type NubitAppMenuContext, type NubitAppMenuItem, type NubitAppMenuSubItem, type NubitAppRoute, type NubitAppUserMenuContext, NubitDevToolsPanel, type OnChangeFn, type OpenApiDoc, type OperationCardAccent, OperationCardGrid, type OperationCardGridProps, type OperationCardItem, type ParsedQuotaError, type PlanDefinition, PlanPanel, type PlanPanelLabels, type PlanPanelProps, Popover, type PopoverProps, Progress, type ProgressProps, QuotaUsageBanner, type QuotaUsageBannerProps, RadioGroup, type RadioGroupOption, type RadioGroupProps, type RegisterField, type RegisterFieldType, RegisterPage, type RegisterPageProps, type RegisterSelectOption, type RemoteDataSourceOptions, type RemoteFilterDescriptor, type RemoteLoadOptions, type RemoteSortDescriptor, type ResourceConfig, type ResourceDiagnostics, type ResourceFormDetail, type ResourceGridDetail, type ResourcePermissions, type ResourceRouting, type ResourceRowActions, type ResourceSchemaResolver, type ResourceStore, type ResourceStoreFactory, ResourceStoreProvider, type ResourceStoreProviderProps, type ResourceToolbar, type ResourceToolbarAction, type ResourceToolbarActionVariant, type ResourceToolbarContext, type ResourceToolbarItems, RestAdapter, type RestQueryDialect, type RuntimeConfig, type RuntimeConfigState, SchemaCrudPage, type SchemaCrudPageProps, SchemaProvider, type ScopeTabOption, ScopeTabs, type ScopeTabsProps, SearchableAppDropdown, type SearchableAppDropdownProps, SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, SelectField, type SelectFieldProps, type SessionContextValue, type SessionFeatureEntitlement, type SessionProfile, SessionProvider, type SessionProviderConfig, type SessionState, type SessionTenant, SettingsPanel, type SettingsPanelProps, Skeleton, type SkeletonProps, type SmartCrudFieldContract, type SmartCrudFieldOperation, type SmartCrudFieldPatch, type SmartCrudHydraFieldContract, type SmartCrudHydraFieldDirective, type SmartCrudManualField, type SmartCrudManualFieldContract, type SmartCrudOperation, SmartCrudPage, type SmartCrudPageProps, SmartCrudRolesProvider, Spinner, type SpinnerProps, StatCard, type StatCardProps, type StatIconTone, type StatWidgetConfig, StaticSessionProvider, type TableColumnConfig, type TableViewAllConfig, type TableWidgetConfig, Tabs, type TabsItem, type TabsProps, TextAreaField, type TextAreaFieldProps, TextField, type TextFieldProps, type Theme, ThemeContext, type ThemeContextValue, type ThemeMode, ThemeProvider, type ThemeProviderProps, ThemeSwitcher, type ThemeSwitcherProps, TimePicker, type TimePickerProps, Timeline, TimelineItem, type TimelineItemProps, type TimelineItemStatus, type TimelineItemTone, type TimelineOrientation, type TimelineProps, type TimelineVariant, ToastHost, type ToastHostProps, type ToastItem, Toggle, type ToggleProps, ToolbarSelect, Tooltip, type TooltipProps, TooltipProvider, type TooltipProviderProps, TreeList, type TreeListColumn, type TreeListModelOptions, type TreeListMoveEvent, type TreeListProps, type TreeListViewConfig, type TreeNode, type TreeNodeId, type TrendConfig, type UiStrings, UiStringsProvider, type UiStringsProviderProps, type UseQuotaUsageOptions, type UseRuntimeConfigOptions, type UseSchemaContextResult, type ValueFormat, areaChartWidget, barChartWidget, buildFields, buildMercureCollectionTopic, checkboxField, configureCore, configureCoreDate, coreTranslationsEn, coreTranslationsEs, createCoreHttpClient, createCrudEvents, createNubitApp, createRestResourceStore, crudRoute, currencyField, dateField, datetimeField, defineDashboard, defineFieldContract, defineFields, defineResource, dispatch, donutChartWidget, embeddedLinesUrl, entityField, enumField, fileField, filterMenuByRoles, formatDashboardValue, getCoreApiBaseUrl, getCoreCurrency, getCoreLocale, getCoreTimezone, getMercureTopicOrigin, hasAnyRole, identityField, imageField, initCoreI18n, isDevEnvironment, lineChartWidget, mapHydraSchemaToFields, noneField, numberField, parseHydraDoc, parseOpenApiDoc, parseQuotaError, passwordField, progressWidget, quotaErrorToastMessage, quotaUsageAboveGrid, resolveArray, resolveMercureTopicOrigin, resolvePath, resolveRangeTag, selectField, statWidget, switchField, tableWidget, tagsField, textField, textareaField, useAccentColor, useAppRuntime, useColumnChooser, useCoreConfig, useCoreHttpClient, useDashboardData, useDensity, useDevTools, useEvents, useFeature, useFeatureConfig, useHydraMetadata, useMercureHub, useMercureSubscription, useOverlayContainer, useQuotaUsage, useResourceSchema, useRuntimeConfig, useSchemaContext, useScreenSize, useScreenSizeClass, useSession, useSmartCrudRoles, useTheme, useUiStrings, validateFieldContract };
package/dist/index.d.mts CHANGED
@@ -1,7 +1,18 @@
1
+ /**
2
+ * @nubitio/react-admin — batteries-included admin stack.
3
+ *
4
+ * Umbrella re-export for fast project bootstrap. Import everything you need
5
+ * for a typical API Platform admin app from this single package:
6
+ *
7
+ * import { CoreProvider, CoreConfigProvider, CrudPage, AdminShell, SchemaProvider } from '@nubitio/react-admin';
8
+ *
9
+ * Peer dependencies: react, react-dom, react-router-dom, @tanstack/react-query,
10
+ * i18next, react-i18next.
11
+ */
1
12
  import { CoreConfig, CoreConfigProvider, CoreConfigProviderProps, CoreHttpClient, CoreHttpClientConfig, CoreProvider, CoreProviderProps, CoreTranslationKeys, DataRecord, DateUtils, EventSubscription, MercureProvider, MercureProviderProps, buildMercureCollectionTopic, configureCore, configureCoreDate, coreTranslationsEn, coreTranslationsEs, createCoreHttpClient, dispatch, getCoreApiBaseUrl, getCoreCurrency, getCoreLocale, getCoreTimezone, getMercureTopicOrigin, initCoreI18n, resolveMercureTopicOrigin, useCoreConfig, useCoreHttpClient, useEvents, useMercureHub, useMercureSubscription } from "@nubitio/core";
2
- import { AuditEntry, AuditTrailConfig, AuditTrailPanel, AuditTrailPanelProps, BackendAdapter, BulkAction, CardViewConfig, CardViewContext, ColumnChooserButton, ColumnPreset, CrudGridSlotContext, CrudPage, DATA_GRID_EVENTS, DataGridView, DevToolsContextValue, DevToolsProvider, DialogView, DrawerView, EnumOption, FORM_EVENTS, Field, FieldBuilder, FieldDef, FieldInput, FieldOverride, FieldResolutionSource, FormDetailDiagnostics, FormDetailFieldSource, FormHandle, FormLayout, FormOnChangeFn, FormSection, FormTab, FormView, FormatterFn, GridCellContext, GridHandle, GridOnChangeFn, HydraAdapter, LoadOption, OnChangeFn, ResourceConfig, ResourceDiagnostics, ResourceFormDetail, ResourceGridDetail, ResourcePermissions, ResourceRouting, ResourceRowActions, ResourceSchemaResolver, ResourceStore, ResourceStoreFactory, ResourceStoreProvider, ResourceStoreProviderProps, ResourceToolbar, ResourceToolbarAction, ResourceToolbarActionVariant, ResourceToolbarContext, ResourceToolbarItems, RestAdapter, RestQueryDialect, SchemaCrudPage, SchemaCrudPageProps, SmartCrudFieldContract, SmartCrudFieldOperation, SmartCrudFieldPatch, SmartCrudHydraFieldContract, SmartCrudHydraFieldDirective, SmartCrudManualField, SmartCrudManualFieldContract, SmartCrudOperation, SmartCrudPage, SmartCrudPageProps, SmartCrudRolesProvider, ToolbarSelect, buildFields, checkboxField, createCrudEvents, createRestResourceStore, crudRoute, currencyField, dateField, datetimeField, defineFieldContract, defineFields, defineResource, embeddedLinesUrl, entityField, enumField, fileField, identityField, imageField, isDevEnvironment, noneField, numberField, passwordField, selectField, switchField, tagsField, textField, textareaField, useColumnChooser, useDevTools, useSmartCrudRoles, validateFieldContract } from "@nubitio/crud";
3
- import { ACCENT_PRESETS, AccentPreset, AppDialog, AppDialogProps, AppDropdown, AppDropdownOption, AppDropdownProps, AppDropdownVariant, AppToolbar, AppToolbarProps, Avatar, AvatarProps, Badge, BadgeProps, Button, ButtonProps, Card, CardProps, Checkbox, CheckboxProps, Chip, ChipProps, CollapsibleSection, CollapsibleSectionProps, Combobox, ComboboxLoader, ComboboxOption, ComboboxPage, ComboboxProps, ConfirmDialog, ConfirmDialogProps, ContextMenu, ContextMenuItem, ContextMenuProps, DatePicker, DatePickerProps, DateRangePicker, DateRangePickerProps, Density, DensityProvider, Drawer, DrawerProps, DrawerSide, EN_UI_STRINGS, ES_UI_STRINGS, EmptyState, EmptyStateProps, FilterPanel, FilterPanelCategorySection, FilterPanelChipOption, FilterPanelProps, FilterPanelStatusSection, FormField, FormFieldProps, HubPanel, HubPanelProps, IconButton, IconButtonProps, KpiMetricItem, KpiMetricLayout, KpiMetricRow, KpiMetricRowProps, KpiMetricTone, MultiSelect, MultiSelectProps, OperationCardAccent, OperationCardGrid, OperationCardGridProps, OperationCardItem, Popover, PopoverProps, Progress, ProgressProps, RadioGroup, RadioGroupOption, RadioGroupProps, ScopeTabOption, ScopeTabs, ScopeTabsProps, SearchableAppDropdown, SearchableAppDropdownProps, SegmentedControl, SegmentedControlOption, SegmentedControlProps, SelectField, SelectFieldProps, SettingsPanel, SettingsPanelProps, Skeleton, SkeletonProps, Spinner, SpinnerProps, StatCard, StatCardProps, Tabs, TabsItem, TabsProps, TextAreaField, TextAreaFieldProps, TextField, TextFieldProps, Theme, ThemeContext, ThemeContextValue, ThemeMode, ThemeProvider, ThemeProviderProps, ThemeSwitcher, ThemeSwitcherProps, TimePicker, TimePickerProps, Timeline, TimelineItem, TimelineItemProps, TimelineItemStatus, TimelineItemTone, TimelineOrientation, TimelineProps, TimelineVariant, Toggle, ToggleProps, Tooltip, TooltipProps, TooltipProvider, TooltipProviderProps, UiStrings, UiStringsProvider, UiStringsProviderProps, useAccentColor, useDensity, useOverlayContainer, useTheme, useUiStrings } from "@nubitio/ui";
13
+ import { AuditEntry, AuditTrailConfig, AuditTrailPanel, AuditTrailPanelProps, BackendAdapter, BulkAction, CardViewConfig, CardViewContext, ColumnChooserButton, ColumnPreset, CrudGridSlotContext, CrudPage, DATA_GRID_EVENTS, DataGridView, DevToolsContextValue, DevToolsProvider, DialogView, DrawerView, EnumOption, FORM_EVENTS, Field, FieldBuilder, FieldDef, FieldInput, FieldOverride, FieldResolutionSource, FormDetailDiagnostics, FormDetailFieldSource, FormHandle, FormLayout, FormOnChangeFn, FormSection, FormTab, FormView, FormatterFn, GridCellContext, GridHandle, GridOnChangeFn, HydraAdapter, LoadOption, OnChangeFn, ResourceConfig, ResourceDiagnostics, ResourceFormDetail, ResourceGridDetail, ResourcePermissions, ResourceRouting, ResourceRowActions, ResourceSchemaResolver, ResourceStore, ResourceStoreFactory, ResourceStoreProvider, ResourceStoreProviderProps, ResourceToolbar, ResourceToolbarAction, ResourceToolbarActionVariant, ResourceToolbarContext, ResourceToolbarItems, RestAdapter, RestQueryDialect, SchemaCrudPage, SchemaCrudPageProps, SmartCrudFieldContract, SmartCrudFieldOperation, SmartCrudFieldPatch, SmartCrudHydraFieldContract, SmartCrudHydraFieldDirective, SmartCrudManualField, SmartCrudManualFieldContract, SmartCrudOperation, SmartCrudPage, SmartCrudPageProps, SmartCrudRolesProvider, ToolbarSelect, TreeListViewConfig, buildFields, checkboxField, createCrudEvents, createRestResourceStore, crudRoute, currencyField, dateField, datetimeField, defineFieldContract, defineFields, defineResource, embeddedLinesUrl, entityField, enumField, fileField, identityField, imageField, isDevEnvironment, noneField, numberField, passwordField, selectField, switchField, tagsField, textField, textareaField, useColumnChooser, useDevTools, useSmartCrudRoles, validateFieldContract } from "@nubitio/crud";
14
+ import { ACCENT_PRESETS, AccentPreset, AppDialog, AppDialogProps, AppDropdown, AppDropdownOption, AppDropdownProps, AppDropdownVariant, AppToolbar, AppToolbarProps, Avatar, AvatarProps, Badge, BadgeProps, Button, ButtonProps, Card, CardProps, Checkbox, CheckboxProps, Chip, ChipProps, CollapsibleSection, CollapsibleSectionProps, Combobox, ComboboxLoader, ComboboxOption, ComboboxPage, ComboboxProps, ConfirmDialog, ConfirmDialogProps, ContextMenu, ContextMenuItem, ContextMenuProps, DatePicker, DatePickerProps, DateRangePicker, DateRangePickerProps, Density, DensityProvider, Drawer, DrawerProps, DrawerSide, EN_UI_STRINGS, ES_UI_STRINGS, EmptyState, EmptyStateProps, FilterPanel, FilterPanelCategorySection, FilterPanelChipOption, FilterPanelProps, FilterPanelStatusSection, FormField, FormFieldProps, HubPanel, HubPanelProps, IconButton, IconButtonProps, KpiMetricItem, KpiMetricLayout, KpiMetricRow, KpiMetricRowProps, KpiMetricTone, MultiSelect, MultiSelectProps, OperationCardAccent, OperationCardGrid, OperationCardGridProps, OperationCardItem, Popover, PopoverProps, Progress, ProgressProps, RadioGroup, RadioGroupOption, RadioGroupProps, ScopeTabOption, ScopeTabs, ScopeTabsProps, SearchableAppDropdown, SearchableAppDropdownProps, SegmentedControl, SegmentedControlOption, SegmentedControlProps, SelectField, SelectFieldProps, SettingsPanel, SettingsPanelProps, Skeleton, SkeletonProps, Spinner, SpinnerProps, StatCard, StatCardProps, Tabs, TabsItem, TabsProps, TextAreaField, TextAreaFieldProps, TextField, TextFieldProps, Theme, ThemeContext, ThemeContextValue, ThemeMode, ThemeProvider, ThemeProviderProps, ThemeSwitcher, ThemeSwitcherProps, TimePicker, TimePickerProps, Timeline, TimelineItem, TimelineItemProps, TimelineItemStatus, TimelineItemTone, TimelineOrientation, TimelineProps, TimelineVariant, Toggle, ToggleProps, Tooltip, TooltipProps, TooltipProvider, TooltipProviderProps, TreeList, TreeListColumn, TreeListModelOptions, TreeListMoveEvent, TreeListProps, TreeNode, TreeNodeId, UiStrings, UiStringsProvider, UiStringsProviderProps, useAccentColor, useDensity, useOverlayContainer, useTheme, useUiStrings } from "@nubitio/ui";
4
15
  import { ApiDoc, HydraApiDoc, HydraRemoteDataSource, HydraResourceSchemaProvider, HydraResourceStoreProvider, OpenApiDoc, RemoteDataSourceOptions, RemoteFilterDescriptor, RemoteLoadOptions, RemoteSortDescriptor, SchemaProvider, UseSchemaContextResult, mapHydraSchemaToFields, parseHydraDoc, parseOpenApiDoc, resolveRangeTag, useHydraMetadata, useResourceSchema, useSchemaContext } from "@nubitio/hydra";
5
16
  import { BarChartWidgetConfig, DashboardConfig, DashboardDataResult, DashboardPage, DashboardPageProps, DashboardSection, DashboardSectionLayout, DashboardWidget, DonutChartWidgetConfig, StatIconTone, StatWidgetConfig, TableColumnConfig, TableViewAllConfig, TableWidgetConfig, TrendConfig, ValueFormat, areaChartWidget, barChartWidget, defineDashboard, donutChartWidget, formatDashboardValue, lineChartWidget, progressWidget, resolveArray, resolvePath, statWidget, tableWidget, useDashboardData } from "@nubitio/dashboard";
6
17
  import { AdminBottomNavigation, AdminBottomNavigationItem, AdminBottomNavigationProps, AdminHeader, AdminHeaderAction, AdminHeaderProps, AdminMenuItem, AdminMenuSubItem, AdminShell, AdminShellProps, AdminSidebarMenu, AdminSidebarMenuProps, AdminSidebarMenuSelectEvent, AppProfile, CreateNubitAppConfig, FeatureGate, FeatureGateProps, FeatureHubBanner, FeatureHubLayout, FeatureHubLayoutProps, FeatureHubTab, LoginPage, LoginPageProps, NotificationType, NubitApp, NubitAppMenuContext, NubitAppMenuItem, NubitAppMenuSubItem, NubitAppRoute, NubitAppUserMenuContext, NubitDevToolsPanel, ParsedQuotaError, PlanDefinition, PlanPanel, PlanPanelLabels, PlanPanelProps, QuotaUsageBanner, QuotaUsageBannerProps, RegisterField, RegisterFieldType, RegisterPage, RegisterPageProps, RegisterSelectOption, RuntimeConfig, RuntimeConfigState, SessionContextValue, SessionFeatureEntitlement, SessionProfile, SessionProvider, SessionProviderConfig, SessionState, SessionTenant, StaticSessionProvider, ToastHost, ToastHostProps, ToastItem, UseQuotaUsageOptions, UseRuntimeConfigOptions, createNubitApp, filterMenuByRoles, hasAnyRole, parseQuotaError, quotaErrorToastMessage, quotaUsageAboveGrid, useAppRuntime, useFeature, useFeatureConfig, useQuotaUsage, useRuntimeConfig, useScreenSize, useScreenSizeClass, useSession } from "@nubitio/admin";
7
- export { ACCENT_PRESETS, type AccentPreset, AdminBottomNavigation, type AdminBottomNavigationItem, type AdminBottomNavigationProps, AdminHeader, type AdminHeaderAction, type AdminHeaderProps, type AdminMenuItem, type AdminMenuSubItem, AdminShell, type AdminShellProps, AdminSidebarMenu, type AdminSidebarMenuProps, type AdminSidebarMenuSelectEvent, type ApiDoc, AppDialog, type AppDialogProps, AppDropdown, type AppDropdownOption, type AppDropdownProps, type AppDropdownVariant, type AppProfile, AppToolbar, type AppToolbarProps, type AuditEntry, type AuditTrailConfig, AuditTrailPanel, type AuditTrailPanelProps, Avatar, type AvatarProps, type BackendAdapter, Badge, type BadgeProps, type BarChartWidgetConfig, type BulkAction, Button, type ButtonProps, Card, type CardProps, type CardViewConfig, type CardViewContext, Checkbox, type CheckboxProps, Chip, type ChipProps, CollapsibleSection, type CollapsibleSectionProps, ColumnChooserButton, type ColumnPreset, Combobox, type ComboboxLoader, type ComboboxOption, type ComboboxPage, type ComboboxProps, ConfirmDialog, type ConfirmDialogProps, ContextMenu, type ContextMenuItem, type ContextMenuProps, type CoreConfig, CoreConfigProvider, type CoreConfigProviderProps, type CoreHttpClient, type CoreHttpClientConfig, CoreProvider, type CoreProviderProps, type CoreTranslationKeys, type CreateNubitAppConfig, type CrudGridSlotContext, CrudPage, DATA_GRID_EVENTS, type DashboardConfig, type DashboardDataResult, DashboardPage, type DashboardPageProps, type DashboardSection, type DashboardSectionLayout, type DashboardWidget, DataGridView, type DataRecord, DatePicker, type DatePickerProps, DateRangePicker, type DateRangePickerProps, DateUtils, type Density, DensityProvider, type DevToolsContextValue, DevToolsProvider, DialogView, type DonutChartWidgetConfig, Drawer, type DrawerProps, type DrawerSide, DrawerView, EN_UI_STRINGS, ES_UI_STRINGS, EmptyState, type EmptyStateProps, type EnumOption, type EventSubscription, FORM_EVENTS, FeatureGate, type FeatureGateProps, type FeatureHubBanner, FeatureHubLayout, type FeatureHubLayoutProps, type FeatureHubTab, type Field, FieldBuilder, type FieldDef, type FieldInput, type FieldOverride, type FieldResolutionSource, FilterPanel, type FilterPanelCategorySection, type FilterPanelChipOption, type FilterPanelProps, type FilterPanelStatusSection, type FormDetailDiagnostics, type FormDetailFieldSource, FormField, type FormFieldProps, type FormHandle, type FormLayout, type FormOnChangeFn, type FormSection, type FormTab, FormView, type FormatterFn, type GridCellContext, type GridHandle, type GridOnChangeFn, HubPanel, type HubPanelProps, HydraAdapter, type HydraApiDoc, HydraRemoteDataSource, HydraResourceSchemaProvider, HydraResourceStoreProvider, IconButton, type IconButtonProps, type KpiMetricItem, type KpiMetricLayout, KpiMetricRow, type KpiMetricRowProps, type KpiMetricTone, type LoadOption, LoginPage, type LoginPageProps, MercureProvider, type MercureProviderProps, MultiSelect, type MultiSelectProps, type NotificationType, type NubitApp, type NubitAppMenuContext, type NubitAppMenuItem, type NubitAppMenuSubItem, type NubitAppRoute, type NubitAppUserMenuContext, NubitDevToolsPanel, type OnChangeFn, type OpenApiDoc, type OperationCardAccent, OperationCardGrid, type OperationCardGridProps, type OperationCardItem, type ParsedQuotaError, type PlanDefinition, PlanPanel, type PlanPanelLabels, type PlanPanelProps, Popover, type PopoverProps, Progress, type ProgressProps, QuotaUsageBanner, type QuotaUsageBannerProps, RadioGroup, type RadioGroupOption, type RadioGroupProps, type RegisterField, type RegisterFieldType, RegisterPage, type RegisterPageProps, type RegisterSelectOption, type RemoteDataSourceOptions, type RemoteFilterDescriptor, type RemoteLoadOptions, type RemoteSortDescriptor, type ResourceConfig, type ResourceDiagnostics, type ResourceFormDetail, type ResourceGridDetail, type ResourcePermissions, type ResourceRouting, type ResourceRowActions, type ResourceSchemaResolver, type ResourceStore, type ResourceStoreFactory, ResourceStoreProvider, type ResourceStoreProviderProps, type ResourceToolbar, type ResourceToolbarAction, type ResourceToolbarActionVariant, type ResourceToolbarContext, type ResourceToolbarItems, RestAdapter, type RestQueryDialect, type RuntimeConfig, type RuntimeConfigState, SchemaCrudPage, type SchemaCrudPageProps, SchemaProvider, type ScopeTabOption, ScopeTabs, type ScopeTabsProps, SearchableAppDropdown, type SearchableAppDropdownProps, SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, SelectField, type SelectFieldProps, type SessionContextValue, type SessionFeatureEntitlement, type SessionProfile, SessionProvider, type SessionProviderConfig, type SessionState, type SessionTenant, SettingsPanel, type SettingsPanelProps, Skeleton, type SkeletonProps, type SmartCrudFieldContract, type SmartCrudFieldOperation, type SmartCrudFieldPatch, type SmartCrudHydraFieldContract, type SmartCrudHydraFieldDirective, type SmartCrudManualField, type SmartCrudManualFieldContract, type SmartCrudOperation, SmartCrudPage, type SmartCrudPageProps, SmartCrudRolesProvider, Spinner, type SpinnerProps, StatCard, type StatCardProps, type StatIconTone, type StatWidgetConfig, StaticSessionProvider, type TableColumnConfig, type TableViewAllConfig, type TableWidgetConfig, Tabs, type TabsItem, type TabsProps, TextAreaField, type TextAreaFieldProps, TextField, type TextFieldProps, type Theme, ThemeContext, type ThemeContextValue, type ThemeMode, ThemeProvider, type ThemeProviderProps, ThemeSwitcher, type ThemeSwitcherProps, TimePicker, type TimePickerProps, Timeline, TimelineItem, type TimelineItemProps, type TimelineItemStatus, type TimelineItemTone, type TimelineOrientation, type TimelineProps, type TimelineVariant, ToastHost, type ToastHostProps, type ToastItem, Toggle, type ToggleProps, ToolbarSelect, Tooltip, type TooltipProps, TooltipProvider, type TooltipProviderProps, type TrendConfig, type UiStrings, UiStringsProvider, type UiStringsProviderProps, type UseQuotaUsageOptions, type UseRuntimeConfigOptions, type UseSchemaContextResult, type ValueFormat, areaChartWidget, barChartWidget, buildFields, buildMercureCollectionTopic, checkboxField, configureCore, configureCoreDate, coreTranslationsEn, coreTranslationsEs, createCoreHttpClient, createCrudEvents, createNubitApp, createRestResourceStore, crudRoute, currencyField, dateField, datetimeField, defineDashboard, defineFieldContract, defineFields, defineResource, dispatch, donutChartWidget, embeddedLinesUrl, entityField, enumField, fileField, filterMenuByRoles, formatDashboardValue, getCoreApiBaseUrl, getCoreCurrency, getCoreLocale, getCoreTimezone, getMercureTopicOrigin, hasAnyRole, identityField, imageField, initCoreI18n, isDevEnvironment, lineChartWidget, mapHydraSchemaToFields, noneField, numberField, parseHydraDoc, parseOpenApiDoc, parseQuotaError, passwordField, progressWidget, quotaErrorToastMessage, quotaUsageAboveGrid, resolveArray, resolveMercureTopicOrigin, resolvePath, resolveRangeTag, selectField, statWidget, switchField, tableWidget, tagsField, textField, textareaField, useAccentColor, useAppRuntime, useColumnChooser, useCoreConfig, useCoreHttpClient, useDashboardData, useDensity, useDevTools, useEvents, useFeature, useFeatureConfig, useHydraMetadata, useMercureHub, useMercureSubscription, useOverlayContainer, useQuotaUsage, useResourceSchema, useRuntimeConfig, useSchemaContext, useScreenSize, useScreenSizeClass, useSession, useSmartCrudRoles, useTheme, useUiStrings, validateFieldContract };
18
+ export { ACCENT_PRESETS, type AccentPreset, AdminBottomNavigation, type AdminBottomNavigationItem, type AdminBottomNavigationProps, AdminHeader, type AdminHeaderAction, type AdminHeaderProps, type AdminMenuItem, type AdminMenuSubItem, AdminShell, type AdminShellProps, AdminSidebarMenu, type AdminSidebarMenuProps, type AdminSidebarMenuSelectEvent, type ApiDoc, AppDialog, type AppDialogProps, AppDropdown, type AppDropdownOption, type AppDropdownProps, type AppDropdownVariant, type AppProfile, AppToolbar, type AppToolbarProps, type AuditEntry, type AuditTrailConfig, AuditTrailPanel, type AuditTrailPanelProps, Avatar, type AvatarProps, type BackendAdapter, Badge, type BadgeProps, type BarChartWidgetConfig, type BulkAction, Button, type ButtonProps, Card, type CardProps, type CardViewConfig, type CardViewContext, Checkbox, type CheckboxProps, Chip, type ChipProps, CollapsibleSection, type CollapsibleSectionProps, ColumnChooserButton, type ColumnPreset, Combobox, type ComboboxLoader, type ComboboxOption, type ComboboxPage, type ComboboxProps, ConfirmDialog, type ConfirmDialogProps, ContextMenu, type ContextMenuItem, type ContextMenuProps, type CoreConfig, CoreConfigProvider, type CoreConfigProviderProps, type CoreHttpClient, type CoreHttpClientConfig, CoreProvider, type CoreProviderProps, type CoreTranslationKeys, type CreateNubitAppConfig, type CrudGridSlotContext, CrudPage, DATA_GRID_EVENTS, type DashboardConfig, type DashboardDataResult, DashboardPage, type DashboardPageProps, type DashboardSection, type DashboardSectionLayout, type DashboardWidget, DataGridView, type DataRecord, DatePicker, type DatePickerProps, DateRangePicker, type DateRangePickerProps, DateUtils, type Density, DensityProvider, type DevToolsContextValue, DevToolsProvider, DialogView, type DonutChartWidgetConfig, Drawer, type DrawerProps, type DrawerSide, DrawerView, EN_UI_STRINGS, ES_UI_STRINGS, EmptyState, type EmptyStateProps, type EnumOption, type EventSubscription, FORM_EVENTS, FeatureGate, type FeatureGateProps, type FeatureHubBanner, FeatureHubLayout, type FeatureHubLayoutProps, type FeatureHubTab, type Field, FieldBuilder, type FieldDef, type FieldInput, type FieldOverride, type FieldResolutionSource, FilterPanel, type FilterPanelCategorySection, type FilterPanelChipOption, type FilterPanelProps, type FilterPanelStatusSection, type FormDetailDiagnostics, type FormDetailFieldSource, FormField, type FormFieldProps, type FormHandle, type FormLayout, type FormOnChangeFn, type FormSection, type FormTab, FormView, type FormatterFn, type GridCellContext, type GridHandle, type GridOnChangeFn, HubPanel, type HubPanelProps, HydraAdapter, type HydraApiDoc, HydraRemoteDataSource, HydraResourceSchemaProvider, HydraResourceStoreProvider, IconButton, type IconButtonProps, type KpiMetricItem, type KpiMetricLayout, KpiMetricRow, type KpiMetricRowProps, type KpiMetricTone, type LoadOption, LoginPage, type LoginPageProps, MercureProvider, type MercureProviderProps, MultiSelect, type MultiSelectProps, type NotificationType, type NubitApp, type NubitAppMenuContext, type NubitAppMenuItem, type NubitAppMenuSubItem, type NubitAppRoute, type NubitAppUserMenuContext, NubitDevToolsPanel, type OnChangeFn, type OpenApiDoc, type OperationCardAccent, OperationCardGrid, type OperationCardGridProps, type OperationCardItem, type ParsedQuotaError, type PlanDefinition, PlanPanel, type PlanPanelLabels, type PlanPanelProps, Popover, type PopoverProps, Progress, type ProgressProps, QuotaUsageBanner, type QuotaUsageBannerProps, RadioGroup, type RadioGroupOption, type RadioGroupProps, type RegisterField, type RegisterFieldType, RegisterPage, type RegisterPageProps, type RegisterSelectOption, type RemoteDataSourceOptions, type RemoteFilterDescriptor, type RemoteLoadOptions, type RemoteSortDescriptor, type ResourceConfig, type ResourceDiagnostics, type ResourceFormDetail, type ResourceGridDetail, type ResourcePermissions, type ResourceRouting, type ResourceRowActions, type ResourceSchemaResolver, type ResourceStore, type ResourceStoreFactory, ResourceStoreProvider, type ResourceStoreProviderProps, type ResourceToolbar, type ResourceToolbarAction, type ResourceToolbarActionVariant, type ResourceToolbarContext, type ResourceToolbarItems, RestAdapter, type RestQueryDialect, type RuntimeConfig, type RuntimeConfigState, SchemaCrudPage, type SchemaCrudPageProps, SchemaProvider, type ScopeTabOption, ScopeTabs, type ScopeTabsProps, SearchableAppDropdown, type SearchableAppDropdownProps, SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, SelectField, type SelectFieldProps, type SessionContextValue, type SessionFeatureEntitlement, type SessionProfile, SessionProvider, type SessionProviderConfig, type SessionState, type SessionTenant, SettingsPanel, type SettingsPanelProps, Skeleton, type SkeletonProps, type SmartCrudFieldContract, type SmartCrudFieldOperation, type SmartCrudFieldPatch, type SmartCrudHydraFieldContract, type SmartCrudHydraFieldDirective, type SmartCrudManualField, type SmartCrudManualFieldContract, type SmartCrudOperation, SmartCrudPage, type SmartCrudPageProps, SmartCrudRolesProvider, Spinner, type SpinnerProps, StatCard, type StatCardProps, type StatIconTone, type StatWidgetConfig, StaticSessionProvider, type TableColumnConfig, type TableViewAllConfig, type TableWidgetConfig, Tabs, type TabsItem, type TabsProps, TextAreaField, type TextAreaFieldProps, TextField, type TextFieldProps, type Theme, ThemeContext, type ThemeContextValue, type ThemeMode, ThemeProvider, type ThemeProviderProps, ThemeSwitcher, type ThemeSwitcherProps, TimePicker, type TimePickerProps, Timeline, TimelineItem, type TimelineItemProps, type TimelineItemStatus, type TimelineItemTone, type TimelineOrientation, type TimelineProps, type TimelineVariant, ToastHost, type ToastHostProps, type ToastItem, Toggle, type ToggleProps, ToolbarSelect, Tooltip, type TooltipProps, TooltipProvider, type TooltipProviderProps, TreeList, type TreeListColumn, type TreeListModelOptions, type TreeListMoveEvent, type TreeListProps, type TreeListViewConfig, type TreeNode, type TreeNodeId, type TrendConfig, type UiStrings, UiStringsProvider, type UiStringsProviderProps, type UseQuotaUsageOptions, type UseRuntimeConfigOptions, type UseSchemaContextResult, type ValueFormat, areaChartWidget, barChartWidget, buildFields, buildMercureCollectionTopic, checkboxField, configureCore, configureCoreDate, coreTranslationsEn, coreTranslationsEs, createCoreHttpClient, createCrudEvents, createNubitApp, createRestResourceStore, crudRoute, currencyField, dateField, datetimeField, defineDashboard, defineFieldContract, defineFields, defineResource, dispatch, donutChartWidget, embeddedLinesUrl, entityField, enumField, fileField, filterMenuByRoles, formatDashboardValue, getCoreApiBaseUrl, getCoreCurrency, getCoreLocale, getCoreTimezone, getMercureTopicOrigin, hasAnyRole, identityField, imageField, initCoreI18n, isDevEnvironment, lineChartWidget, mapHydraSchemaToFields, noneField, numberField, parseHydraDoc, parseOpenApiDoc, parseQuotaError, passwordField, progressWidget, quotaErrorToastMessage, quotaUsageAboveGrid, resolveArray, resolveMercureTopicOrigin, resolvePath, resolveRangeTag, selectField, statWidget, switchField, tableWidget, tagsField, textField, textareaField, useAccentColor, useAppRuntime, useColumnChooser, useCoreConfig, useCoreHttpClient, useDashboardData, useDensity, useDevTools, useEvents, useFeature, useFeatureConfig, useHydraMetadata, useMercureHub, useMercureSubscription, useOverlayContainer, useQuotaUsage, useResourceSchema, useRuntimeConfig, useSchemaContext, useScreenSize, useScreenSizeClass, useSession, useSmartCrudRoles, useTheme, useUiStrings, validateFieldContract };
package/dist/index.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import { CoreConfigProvider, CoreProvider, DateUtils, MercureProvider, buildMercureCollectionTopic, configureCore, configureCoreDate, coreTranslationsEn, coreTranslationsEs, createCoreHttpClient, dispatch, getCoreApiBaseUrl, getCoreCurrency, getCoreLocale, getCoreTimezone, getMercureTopicOrigin, initCoreI18n, resolveMercureTopicOrigin, useCoreConfig, useCoreHttpClient, useEvents, useMercureHub, useMercureSubscription } from "@nubitio/core";
2
2
  import { AuditTrailPanel, ColumnChooserButton, CrudPage, DATA_GRID_EVENTS, DataGridView, DevToolsProvider, DialogView, DrawerView, FORM_EVENTS, FieldBuilder, FormView, HydraAdapter, ResourceStoreProvider, RestAdapter, SchemaCrudPage, SmartCrudPage, SmartCrudRolesProvider, ToolbarSelect, buildFields, checkboxField, createCrudEvents, createRestResourceStore, crudRoute, currencyField, dateField, datetimeField, defineFieldContract, defineFields, defineResource, embeddedLinesUrl, entityField, enumField, fileField, identityField, imageField, isDevEnvironment, noneField, numberField, passwordField, selectField, switchField, tagsField, textField, textareaField, useColumnChooser, useDevTools, useSmartCrudRoles, validateFieldContract } from "@nubitio/crud";
3
- import { ACCENT_PRESETS, AppDialog, AppDropdown, AppToolbar, Avatar, Badge, Button, Card, Checkbox, Chip, CollapsibleSection, Combobox, ConfirmDialog, ContextMenu, DatePicker, DateRangePicker, DensityProvider, Drawer, EN_UI_STRINGS, ES_UI_STRINGS, EmptyState, FilterPanel, FormField, HubPanel, IconButton, KpiMetricRow, MultiSelect, OperationCardGrid, Popover, Progress, RadioGroup, ScopeTabs, SearchableAppDropdown, SegmentedControl, SelectField, SettingsPanel, Skeleton, Spinner, StatCard, Tabs, TextAreaField, TextField, ThemeContext, ThemeProvider, ThemeSwitcher, TimePicker, Timeline, TimelineItem, Toggle, Tooltip, TooltipProvider, UiStringsProvider, useAccentColor, useDensity, useOverlayContainer, useTheme, useUiStrings } from "@nubitio/ui";
3
+ import { ACCENT_PRESETS, AppDialog, AppDropdown, AppToolbar, Avatar, Badge, Button, Card, Checkbox, Chip, CollapsibleSection, Combobox, ConfirmDialog, ContextMenu, DatePicker, DateRangePicker, DensityProvider, Drawer, EN_UI_STRINGS, ES_UI_STRINGS, EmptyState, FilterPanel, FormField, HubPanel, IconButton, KpiMetricRow, MultiSelect, OperationCardGrid, Popover, Progress, RadioGroup, ScopeTabs, SearchableAppDropdown, SegmentedControl, SelectField, SettingsPanel, Skeleton, Spinner, StatCard, Tabs, TextAreaField, TextField, ThemeContext, ThemeProvider, ThemeSwitcher, TimePicker, Timeline, TimelineItem, Toggle, Tooltip, TooltipProvider, TreeList, UiStringsProvider, useAccentColor, useDensity, useOverlayContainer, useTheme, useUiStrings } from "@nubitio/ui";
4
4
  import { HydraRemoteDataSource, HydraResourceSchemaProvider, HydraResourceStoreProvider, SchemaProvider, mapHydraSchemaToFields, parseHydraDoc, parseOpenApiDoc, resolveRangeTag, useHydraMetadata, useResourceSchema, useSchemaContext } from "@nubitio/hydra";
5
5
  import { DashboardPage, areaChartWidget, barChartWidget, defineDashboard, donutChartWidget, formatDashboardValue, lineChartWidget, progressWidget, resolveArray, resolvePath, statWidget, tableWidget, useDashboardData } from "@nubitio/dashboard";
6
6
  import { AdminBottomNavigation, AdminHeader, AdminShell, AdminSidebarMenu, FeatureGate, FeatureHubLayout, LoginPage, NubitDevToolsPanel, PlanPanel, QuotaUsageBanner, RegisterPage, SessionProvider, StaticSessionProvider, ToastHost, createNubitApp, filterMenuByRoles, hasAnyRole, parseQuotaError, quotaErrorToastMessage, quotaUsageAboveGrid, useAppRuntime, useFeature, useFeatureConfig, useQuotaUsage, useRuntimeConfig, useScreenSize, useScreenSizeClass, useSession } from "@nubitio/admin";
7
- export { ACCENT_PRESETS, AdminBottomNavigation, AdminHeader, AdminShell, AdminSidebarMenu, AppDialog, AppDropdown, AppToolbar, AuditTrailPanel, Avatar, Badge, Button, Card, Checkbox, Chip, CollapsibleSection, ColumnChooserButton, Combobox, ConfirmDialog, ContextMenu, CoreConfigProvider, CoreProvider, CrudPage, DATA_GRID_EVENTS, DashboardPage, DataGridView, DatePicker, DateRangePicker, DateUtils, DensityProvider, DevToolsProvider, DialogView, Drawer, DrawerView, EN_UI_STRINGS, ES_UI_STRINGS, EmptyState, FORM_EVENTS, FeatureGate, FeatureHubLayout, FieldBuilder, FilterPanel, FormField, FormView, HubPanel, HydraAdapter, HydraRemoteDataSource, HydraResourceSchemaProvider, HydraResourceStoreProvider, IconButton, KpiMetricRow, LoginPage, MercureProvider, MultiSelect, NubitDevToolsPanel, OperationCardGrid, PlanPanel, Popover, Progress, QuotaUsageBanner, RadioGroup, RegisterPage, ResourceStoreProvider, RestAdapter, SchemaCrudPage, SchemaProvider, ScopeTabs, SearchableAppDropdown, SegmentedControl, SelectField, SessionProvider, SettingsPanel, Skeleton, SmartCrudPage, SmartCrudRolesProvider, Spinner, StatCard, StaticSessionProvider, Tabs, TextAreaField, TextField, ThemeContext, ThemeProvider, ThemeSwitcher, TimePicker, Timeline, TimelineItem, ToastHost, Toggle, ToolbarSelect, Tooltip, TooltipProvider, UiStringsProvider, areaChartWidget, barChartWidget, buildFields, buildMercureCollectionTopic, checkboxField, configureCore, configureCoreDate, coreTranslationsEn, coreTranslationsEs, createCoreHttpClient, createCrudEvents, createNubitApp, createRestResourceStore, crudRoute, currencyField, dateField, datetimeField, defineDashboard, defineFieldContract, defineFields, defineResource, dispatch, donutChartWidget, embeddedLinesUrl, entityField, enumField, fileField, filterMenuByRoles, formatDashboardValue, getCoreApiBaseUrl, getCoreCurrency, getCoreLocale, getCoreTimezone, getMercureTopicOrigin, hasAnyRole, identityField, imageField, initCoreI18n, isDevEnvironment, lineChartWidget, mapHydraSchemaToFields, noneField, numberField, parseHydraDoc, parseOpenApiDoc, parseQuotaError, passwordField, progressWidget, quotaErrorToastMessage, quotaUsageAboveGrid, resolveArray, resolveMercureTopicOrigin, resolvePath, resolveRangeTag, selectField, statWidget, switchField, tableWidget, tagsField, textField, textareaField, useAccentColor, useAppRuntime, useColumnChooser, useCoreConfig, useCoreHttpClient, useDashboardData, useDensity, useDevTools, useEvents, useFeature, useFeatureConfig, useHydraMetadata, useMercureHub, useMercureSubscription, useOverlayContainer, useQuotaUsage, useResourceSchema, useRuntimeConfig, useSchemaContext, useScreenSize, useScreenSizeClass, useSession, useSmartCrudRoles, useTheme, useUiStrings, validateFieldContract };
7
+ export { ACCENT_PRESETS, AdminBottomNavigation, AdminHeader, AdminShell, AdminSidebarMenu, AppDialog, AppDropdown, AppToolbar, AuditTrailPanel, Avatar, Badge, Button, Card, Checkbox, Chip, CollapsibleSection, ColumnChooserButton, Combobox, ConfirmDialog, ContextMenu, CoreConfigProvider, CoreProvider, CrudPage, DATA_GRID_EVENTS, DashboardPage, DataGridView, DatePicker, DateRangePicker, DateUtils, DensityProvider, DevToolsProvider, DialogView, Drawer, DrawerView, EN_UI_STRINGS, ES_UI_STRINGS, EmptyState, FORM_EVENTS, FeatureGate, FeatureHubLayout, FieldBuilder, FilterPanel, FormField, FormView, HubPanel, HydraAdapter, HydraRemoteDataSource, HydraResourceSchemaProvider, HydraResourceStoreProvider, IconButton, KpiMetricRow, LoginPage, MercureProvider, MultiSelect, NubitDevToolsPanel, OperationCardGrid, PlanPanel, Popover, Progress, QuotaUsageBanner, RadioGroup, RegisterPage, ResourceStoreProvider, RestAdapter, SchemaCrudPage, SchemaProvider, ScopeTabs, SearchableAppDropdown, SegmentedControl, SelectField, SessionProvider, SettingsPanel, Skeleton, SmartCrudPage, SmartCrudRolesProvider, Spinner, StatCard, StaticSessionProvider, Tabs, TextAreaField, TextField, ThemeContext, ThemeProvider, ThemeSwitcher, TimePicker, Timeline, TimelineItem, ToastHost, Toggle, ToolbarSelect, Tooltip, TooltipProvider, TreeList, UiStringsProvider, areaChartWidget, barChartWidget, buildFields, buildMercureCollectionTopic, checkboxField, configureCore, configureCoreDate, coreTranslationsEn, coreTranslationsEs, createCoreHttpClient, createCrudEvents, createNubitApp, createRestResourceStore, crudRoute, currencyField, dateField, datetimeField, defineDashboard, defineFieldContract, defineFields, defineResource, dispatch, donutChartWidget, embeddedLinesUrl, entityField, enumField, fileField, filterMenuByRoles, formatDashboardValue, getCoreApiBaseUrl, getCoreCurrency, getCoreLocale, getCoreTimezone, getMercureTopicOrigin, hasAnyRole, identityField, imageField, initCoreI18n, isDevEnvironment, lineChartWidget, mapHydraSchemaToFields, noneField, numberField, parseHydraDoc, parseOpenApiDoc, parseQuotaError, passwordField, progressWidget, quotaErrorToastMessage, quotaUsageAboveGrid, resolveArray, resolveMercureTopicOrigin, resolvePath, resolveRangeTag, selectField, statWidget, switchField, tableWidget, tagsField, textField, textareaField, useAccentColor, useAppRuntime, useColumnChooser, useCoreConfig, useCoreHttpClient, useDashboardData, useDensity, useDevTools, useEvents, useFeature, useFeatureConfig, useHydraMetadata, useMercureHub, useMercureSubscription, useOverlayContainer, useQuotaUsage, useResourceSchema, useRuntimeConfig, useSchemaContext, useScreenSize, useScreenSizeClass, useSession, useSmartCrudRoles, useTheme, useUiStrings, validateFieldContract };
package/dist/style.css CHANGED
@@ -1422,6 +1422,16 @@ html[data-density=compact] .nb-dialog__footer {
1422
1422
  display: inline-flex;
1423
1423
  flex-shrink: 0;
1424
1424
  }
1425
+
1426
+ .nb-dropdown__value.nb-sr-only {
1427
+ border: 0;
1428
+ clip-path: inset(50%);
1429
+ height: 1px;
1430
+ overflow: hidden;
1431
+ position: absolute;
1432
+ white-space: nowrap;
1433
+ width: 1px;
1434
+ }
1425
1435
  .nb-combobox {
1426
1436
  --nb-combobox-action-size: calc(var(--control-height-form) - 8px);
1427
1437
  --nb-combobox-action-count: 1;
@@ -4758,6 +4768,156 @@ html[data-density=compact] .nb-drawer__footer {
4758
4768
  .nb-time-picker__segment[data-type=literal] {
4759
4769
  padding: 0;
4760
4770
  }
4771
+ .nb-tree-list {
4772
+ background: var(--surface-1);
4773
+ border: 1px solid var(--border-color);
4774
+ border-radius: var(--radius-lg);
4775
+ color: var(--text-primary);
4776
+ display: flex;
4777
+ flex-direction: column;
4778
+ min-height: 0;
4779
+ overflow: hidden;
4780
+ }
4781
+ .nb-tree-list__toolbar {
4782
+ align-items: center;
4783
+ border-bottom: 1px solid var(--border-color);
4784
+ display: flex;
4785
+ gap: var(--space-2);
4786
+ padding: var(--space-2) var(--space-3);
4787
+ }
4788
+ .nb-tree-list__filter {
4789
+ flex: 1;
4790
+ min-width: 0;
4791
+ }
4792
+ .nb-tree-list__filter input {
4793
+ background: var(--surface-1);
4794
+ border: 1px solid var(--border-color);
4795
+ border-radius: var(--radius-md);
4796
+ color: var(--text-primary);
4797
+ min-height: 36px;
4798
+ padding: 0 var(--space-3);
4799
+ width: 100%;
4800
+ }
4801
+ .nb-tree-list__clear-filter, .nb-tree-list__retry {
4802
+ background: transparent;
4803
+ border: 0;
4804
+ color: var(--accent-color);
4805
+ cursor: pointer;
4806
+ font: inherit;
4807
+ min-height: 32px;
4808
+ padding: 0 var(--space-2);
4809
+ }
4810
+ .nb-tree-list__scroll {
4811
+ min-width: 0;
4812
+ overflow: auto;
4813
+ }
4814
+ .nb-tree-list__table {
4815
+ border-collapse: separate;
4816
+ border-spacing: 0;
4817
+ min-width: 100%;
4818
+ width: max-content;
4819
+ }
4820
+ .nb-tree-list__table th {
4821
+ background: var(--surface-2);
4822
+ border-bottom: 1px solid var(--border-color);
4823
+ color: var(--text-secondary);
4824
+ font-size: var(--font-size-sm);
4825
+ font-weight: var(--font-weight-semibold);
4826
+ height: 40px;
4827
+ padding: 0 var(--space-3);
4828
+ position: sticky;
4829
+ text-align: start;
4830
+ top: 0;
4831
+ white-space: nowrap;
4832
+ z-index: 1;
4833
+ }
4834
+ .nb-tree-list__table td {
4835
+ border-bottom: 1px solid var(--border-subtle, var(--border-color));
4836
+ min-height: 40px;
4837
+ padding: var(--space-2) var(--space-3);
4838
+ white-space: nowrap;
4839
+ }
4840
+ .nb-tree-list__table tbody tr {
4841
+ outline: none;
4842
+ }
4843
+ .nb-tree-list__table tbody tr:hover {
4844
+ background: var(--surface-hover, var(--surface-2));
4845
+ }
4846
+ .nb-tree-list__table tbody tr:focus-visible {
4847
+ box-shadow: inset 0 0 0 2px var(--accent-color);
4848
+ }
4849
+ .nb-tree-list__table tbody tr[aria-selected=true] {
4850
+ background: color-mix(in srgb, var(--accent-color) 9%, var(--surface-1));
4851
+ }
4852
+ .nb-tree-list__selection-cell {
4853
+ text-align: center !important;
4854
+ width: 40px;
4855
+ }
4856
+ .nb-tree-list__sort {
4857
+ align-items: center;
4858
+ background: transparent;
4859
+ border: 0;
4860
+ color: inherit;
4861
+ cursor: pointer;
4862
+ display: inline-flex;
4863
+ font: inherit;
4864
+ gap: var(--space-2);
4865
+ min-height: 36px;
4866
+ padding: 0;
4867
+ }
4868
+ .nb-tree-list__indent {
4869
+ align-items: center;
4870
+ display: inline-flex;
4871
+ margin-inline-end: var(--space-2);
4872
+ padding-inline-start: calc(var(--nb-tree-depth, 0) * 22px);
4873
+ vertical-align: middle;
4874
+ }
4875
+ .nb-tree-list__spacer {
4876
+ display: inline-block;
4877
+ height: 28px;
4878
+ width: 28px;
4879
+ }
4880
+ .nb-tree-list__align--center {
4881
+ text-align: center !important;
4882
+ }
4883
+ .nb-tree-list__align--end {
4884
+ text-align: end !important;
4885
+ }
4886
+ .nb-tree-list__actions-cell {
4887
+ text-align: end;
4888
+ width: 48px;
4889
+ }
4890
+ .nb-tree-list__empty, .nb-tree-list__loading, .nb-tree-list__error {
4891
+ color: var(--text-secondary);
4892
+ padding: var(--space-5);
4893
+ }
4894
+ .nb-tree-list__error {
4895
+ color: var(--status-danger-text, var(--error-color));
4896
+ }
4897
+ .nb-tree-list__sr-only {
4898
+ clip: rect(0, 0, 0, 0);
4899
+ clip-path: inset(50%);
4900
+ height: 1px;
4901
+ overflow: hidden;
4902
+ position: absolute;
4903
+ white-space: nowrap;
4904
+ width: 1px;
4905
+ }
4906
+ .nb-tree-list--compact .nb-tree-list__table td {
4907
+ padding-bottom: 2px;
4908
+ padding-top: 2px;
4909
+ }
4910
+ .nb-tree-list--comfortable .nb-tree-list__table td {
4911
+ padding-bottom: var(--space-3);
4912
+ padding-top: var(--space-3);
4913
+ }
4914
+
4915
+ @media (max-width: 640px) {
4916
+ .nb-tree-list__table th,
4917
+ .nb-tree-list__table td {
4918
+ padding-inline: var(--space-2);
4919
+ }
4920
+ }
4761
4921
 
4762
4922
  /* crud/dist/style.css */
4763
4923
  .nb-crud-dialog-root {
@@ -5605,7 +5765,7 @@ html[data-density=compact] .nb-crud-page-shell__footer {
5605
5765
  font-size: var(--font-size-xs);
5606
5766
  height: var(--grid-filter-height, 32px);
5607
5767
  min-height: var(--grid-filter-height, 32px);
5608
- padding: 4px 30px 4px 42px;
5768
+ padding: 4px 30px 4px 34px;
5609
5769
  }
5610
5770
  .nb-datagrid__filter-range .nb-date-range-picker__trigger:hover:not(.nb-date-range-picker__trigger--disabled) {
5611
5771
  background: transparent;
@@ -5630,57 +5790,73 @@ html[data-density=compact] .nb-crud-page-shell__footer {
5630
5790
  }
5631
5791
 
5632
5792
  .nb-datagrid__filter-wrap .nb-datagrid__filter-operator {
5633
- left: 5px;
5793
+ left: 4px;
5634
5794
  position: absolute;
5635
5795
  top: 50%;
5636
5796
  transform: translateY(-50%);
5637
- width: 30px;
5797
+ width: 24px;
5638
5798
  z-index: 2;
5639
5799
  }
5640
5800
  .nb-datagrid__filter-wrap .nb-datagrid__filter-operator.nb-dropdown .nb-dropdown__trigger {
5801
+ align-items: center;
5641
5802
  appearance: none;
5642
- background: color-mix(in srgb, var(--accent-color) 10%, transparent);
5643
- border: 1px solid color-mix(in srgb, var(--accent-color) 20%, transparent);
5644
- border-radius: 999px;
5803
+ background: transparent;
5804
+ border: 0;
5805
+ border-radius: var(--radius-sm);
5645
5806
  box-shadow: none;
5646
- color: var(--accent-color);
5647
- font-size: 10px;
5648
- height: 26px;
5807
+ color: var(--text-tertiary);
5808
+ display: inline-flex;
5809
+ font-size: var(--font-size-md);
5810
+ height: 24px;
5811
+ justify-content: center;
5649
5812
  line-height: 1;
5650
- min-height: 26px;
5651
- min-width: 30px;
5652
- padding: 0 3px;
5653
- text-align: center;
5654
- width: 30px;
5813
+ min-height: 24px;
5814
+ min-width: 24px;
5815
+ padding: 0;
5816
+ width: 24px;
5655
5817
  }
5656
5818
  .nb-datagrid__filter-wrap .nb-datagrid__filter-operator.nb-dropdown .nb-dropdown__trigger:hover {
5657
- background: color-mix(in srgb, var(--accent-color) 18%, transparent);
5819
+ background: var(--surface-2);
5820
+ color: var(--text-secondary);
5658
5821
  }
5659
5822
  .nb-datagrid__filter-wrap .nb-datagrid__filter-operator.nb-dropdown .nb-dropdown__trigger:focus-visible {
5660
5823
  outline: 2px solid var(--focus-ring-color);
5661
5824
  outline-offset: 1px;
5662
5825
  }
5826
+ .nb-datagrid__filter-wrap .nb-datagrid__filter-operator.is-filtering.nb-dropdown .nb-dropdown__trigger {
5827
+ background: color-mix(in srgb, var(--accent-color) 12%, transparent);
5828
+ color: var(--accent-color);
5829
+ }
5663
5830
  .nb-datagrid__filter-wrap .nb-datagrid__filter-operator.nb-dropdown .nb-dropdown__caret {
5664
5831
  display: none;
5665
5832
  }
5833
+ .nb-datagrid__filter-wrap .nb-datagrid__filter-operator .nb-sr-only {
5834
+ border: 0;
5835
+ clip-path: inset(50%);
5836
+ height: 1px;
5837
+ overflow: hidden;
5838
+ position: absolute;
5839
+ white-space: nowrap;
5840
+ width: 1px;
5841
+ }
5666
5842
 
5667
5843
  .nb-datagrid__filter-wrap:has(.nb-datagrid__filter-operator) > .nb-datagrid__filter-input {
5668
- padding-left: 42px;
5844
+ padding-left: 34px;
5669
5845
  }
5670
5846
 
5671
5847
  .nb-datagrid__filter-wrap:has(.nb-datagrid__filter-operator) > .nb-datagrid__filter-date .nb-date-picker__trigger {
5672
- padding-left: 42px;
5848
+ padding-left: 34px;
5673
5849
  }
5674
5850
 
5675
5851
  .nb-datagrid__filter-wrap:has(.nb-datagrid__filter-operator) > .nb-datagrid__filter-range .nb-date-range-picker__trigger {
5676
- padding-left: 42px;
5852
+ padding-left: 34px;
5677
5853
  }
5678
5854
 
5679
5855
  .nb-datagrid__filter-between-inputs {
5680
5856
  display: grid;
5681
5857
  gap: 2px;
5682
5858
  grid-template-rows: repeat(2, minmax(24px, auto));
5683
- padding-left: 42px;
5859
+ padding-left: 34px;
5684
5860
  width: 100%;
5685
5861
  }
5686
5862
  .nb-datagrid__filter-between-inputs .nb-datagrid__filter-input {
@@ -5691,7 +5867,7 @@ html[data-density=compact] .nb-crud-page-shell__footer {
5691
5867
  }
5692
5868
 
5693
5869
  .nb-datagrid__filter-wrap:has(.nb-datagrid__filter-operator) > .nb-datagrid__filter-between-inputs {
5694
- padding-left: 42px;
5870
+ padding-left: 34px;
5695
5871
  }
5696
5872
 
5697
5873
  .nb-datagrid__filter-select {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nubitio/react-admin",
3
- "version": "1.3.0",
3
+ "version": "1.4.0",
4
4
  "type": "module",
5
5
  "description": "Batteries-included admin stack: core runtime, CRUD, Hydra adapter, and AdminShell.",
6
6
  "license": "MIT",
@@ -50,22 +50,22 @@
50
50
  "access": "public"
51
51
  },
52
52
  "dependencies": {
53
- "@nubitio/hydra": "^1.3.0",
54
- "@nubitio/admin": "^1.3.0",
55
- "@nubitio/core": "^1.3.0",
56
- "@nubitio/crud": "^1.3.0",
57
- "@nubitio/ui": "^1.3.0",
58
- "@nubitio/dashboard": "^1.3.0"
53
+ "@nubitio/core": "^1.4.0",
54
+ "@nubitio/admin": "^1.4.0",
55
+ "@nubitio/crud": "^1.4.0",
56
+ "@nubitio/hydra": "^1.4.0",
57
+ "@nubitio/ui": "^1.4.0",
58
+ "@nubitio/dashboard": "^1.4.0"
59
59
  },
60
60
  "peerDependencies": {
61
61
  "@tanstack/react-query": "^5.0.0",
62
- "i18next": "^23.0.0",
62
+ "i18next": "^23.0.0 || ^27.0.0",
63
63
  "react": "^18.2.0 || ^19.0.0",
64
64
  "react-dom": "^18.2.0 || ^19.0.0",
65
- "react-i18next": "^14.0.0",
65
+ "react-i18next": "^14.0.0 || ^15.0.0 || ^18.0.0",
66
66
  "react-router-dom": "^6.0.0 || ^7.0.0"
67
67
  },
68
68
  "devDependencies": {
69
- "react-router-dom": "^6.30.6"
69
+ "react-router-dom": "^7.18.6"
70
70
  }
71
71
  }