@nubitio/react-admin 0.8.1 → 0.9.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 +4 -4
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +2 -2
- package/dist/style.css +122 -100
- package/package.json +7 -7
package/dist/index.cjs
CHANGED
|
@@ -89,10 +89,10 @@ Object.defineProperty(exports, "CollapsibleSection", {
|
|
|
89
89
|
return _nubitio_ui.CollapsibleSection;
|
|
90
90
|
}
|
|
91
91
|
});
|
|
92
|
-
Object.defineProperty(exports, "
|
|
92
|
+
Object.defineProperty(exports, "ColumnChooserButton", {
|
|
93
93
|
enumerable: true,
|
|
94
94
|
get: function() {
|
|
95
|
-
return _nubitio_crud.
|
|
95
|
+
return _nubitio_crud.ColumnChooserButton;
|
|
96
96
|
}
|
|
97
97
|
});
|
|
98
98
|
Object.defineProperty(exports, "ConfirmDialog", {
|
|
@@ -845,10 +845,10 @@ Object.defineProperty(exports, "useAppRuntime", {
|
|
|
845
845
|
return _nubitio_admin.useAppRuntime;
|
|
846
846
|
}
|
|
847
847
|
});
|
|
848
|
-
Object.defineProperty(exports, "
|
|
848
|
+
Object.defineProperty(exports, "useColumnChooser", {
|
|
849
849
|
enumerable: true,
|
|
850
850
|
get: function() {
|
|
851
|
-
return _nubitio_crud.
|
|
851
|
+
return _nubitio_crud.useColumnChooser;
|
|
852
852
|
}
|
|
853
853
|
});
|
|
854
854
|
Object.defineProperty(exports, "useCoreConfig", {
|
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
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,
|
|
2
|
+
import { AuditEntry, AuditTrailConfig, AuditTrailPanel, AuditTrailPanelProps, BackendAdapter, BulkAction, 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, textField, textareaField, useColumnChooser, useDevTools, useSmartCrudRoles, validateFieldContract } from "@nubitio/crud";
|
|
3
3
|
import { ApiDoc, HydraApiDoc, HydraRemoteDataSource, HydraResourceSchemaProvider, HydraResourceStoreProvider, OpenApiDoc, RemoteDataSourceOptions, RemoteFilterDescriptor, RemoteLoadOptions, RemoteSortDescriptor, SchemaProvider, UseSchemaContextResult, mapHydraSchemaToFields, parseHydraDoc, parseOpenApiDoc, resolveRangeTag, useHydraMetadata, useResourceSchema, useSchemaContext } from "@nubitio/hydra";
|
|
4
4
|
import { ACCENT_PRESETS, AccentPreset, AppDialog, AppDialogProps, AppDropdown, AppDropdownOption, AppDropdownProps, AppDropdownVariant, AppToolbar, AppToolbarProps, Avatar, AvatarProps, Badge, BadgeProps, Button, ButtonProps, Card, CardProps, Chip, ChipProps, CollapsibleSection, CollapsibleSectionProps, 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, OperationCardAccent, OperationCardGrid, OperationCardGridProps, OperationCardItem, Popover, PopoverProps, ScopeTabOption, ScopeTabs, ScopeTabsProps, SegmentedControl, SegmentedControlOption, SegmentedControlProps, SelectField, SelectFieldProps, SettingsPanel, SettingsPanelProps, Skeleton, SkeletonProps, StatCard, StatCardProps, TextAreaField, TextAreaFieldProps, TextField, TextFieldProps, Theme, ThemeContext, ThemeContextValue, ThemeMode, ThemeProvider, ThemeProviderProps, ThemeSwitcher, ThemeSwitcherProps, Timeline, TimelineItem, TimelineItemProps, TimelineItemStatus, TimelineItemTone, TimelineOrientation, TimelineProps, TimelineVariant, Toggle, ToggleProps, UiStrings, UiStringsProvider, UiStringsProviderProps, useAccentColor, useDensity, useTheme, useUiStrings } from "@nubitio/ui";
|
|
5
5
|
import { BarChartWidgetConfig, DashboardConfig, DashboardDataResult, DashboardPage, DashboardPageProps, DashboardSection, DashboardSectionLayout, DashboardWidget, DonutChartWidgetConfig, StatIconTone, StatWidgetConfig, TableColumnConfig, TableViewAllConfig, TableWidgetConfig, TrendConfig, ValueFormat, barChartWidget, defineDashboard, donutChartWidget, formatDashboardValue, resolveArray, resolvePath, statWidget, tableWidget, useDashboardData } from "@nubitio/dashboard";
|
|
6
6
|
import { 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, 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, Chip, type ChipProps, CollapsibleSection, type CollapsibleSectionProps, type ColumnPreset,
|
|
7
|
+
export { ACCENT_PRESETS, type AccentPreset, 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, Chip, type ChipProps, CollapsibleSection, type CollapsibleSectionProps, ColumnChooserButton, type ColumnPreset, 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, 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, QuotaUsageBanner, type QuotaUsageBannerProps, 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, 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, StatCard, type StatCardProps, type StatIconTone, type StatWidgetConfig, StaticSessionProvider, type TableColumnConfig, type TableViewAllConfig, type TableWidgetConfig, TextAreaField, type TextAreaFieldProps, TextField, type TextFieldProps, type Theme, ThemeContext, type ThemeContextValue, type ThemeMode, ThemeProvider, type ThemeProviderProps, ThemeSwitcher, type ThemeSwitcherProps, Timeline, TimelineItem, type TimelineItemProps, type TimelineItemStatus, type TimelineItemTone, type TimelineOrientation, type TimelineProps, type TimelineVariant, ToastHost, type ToastHostProps, type ToastItem, Toggle, type ToggleProps, ToolbarSelect, type TrendConfig, type UiStrings, UiStringsProvider, type UiStringsProviderProps, type UseQuotaUsageOptions, type UseRuntimeConfigOptions, type UseSchemaContextResult, type ValueFormat, 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, mapHydraSchemaToFields, noneField, numberField, parseHydraDoc, parseOpenApiDoc, parseQuotaError, passwordField, quotaErrorToastMessage, quotaUsageAboveGrid, resolveArray, resolveMercureTopicOrigin, resolvePath, resolveRangeTag, selectField, statWidget, switchField, tableWidget, textField, textareaField, useAccentColor, useAppRuntime, useColumnChooser, useCoreConfig, useCoreHttpClient, useDashboardData, useDensity, useDevTools, useEvents, useFeature, useFeatureConfig, useHydraMetadata, useMercureHub, useMercureSubscription, useQuotaUsage, useResourceSchema, useRuntimeConfig, useSchemaContext, useScreenSize, useScreenSizeClass, useSession, useSmartCrudRoles, useTheme, useUiStrings, validateFieldContract };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
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,
|
|
2
|
+
import { AuditEntry, AuditTrailConfig, AuditTrailPanel, AuditTrailPanelProps, BackendAdapter, BulkAction, 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, textField, textareaField, useColumnChooser, useDevTools, useSmartCrudRoles, validateFieldContract } from "@nubitio/crud";
|
|
3
3
|
import { ApiDoc, HydraApiDoc, HydraRemoteDataSource, HydraResourceSchemaProvider, HydraResourceStoreProvider, OpenApiDoc, RemoteDataSourceOptions, RemoteFilterDescriptor, RemoteLoadOptions, RemoteSortDescriptor, SchemaProvider, UseSchemaContextResult, mapHydraSchemaToFields, parseHydraDoc, parseOpenApiDoc, resolveRangeTag, useHydraMetadata, useResourceSchema, useSchemaContext } from "@nubitio/hydra";
|
|
4
4
|
import { ACCENT_PRESETS, AccentPreset, AppDialog, AppDialogProps, AppDropdown, AppDropdownOption, AppDropdownProps, AppDropdownVariant, AppToolbar, AppToolbarProps, Avatar, AvatarProps, Badge, BadgeProps, Button, ButtonProps, Card, CardProps, Chip, ChipProps, CollapsibleSection, CollapsibleSectionProps, 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, OperationCardAccent, OperationCardGrid, OperationCardGridProps, OperationCardItem, Popover, PopoverProps, ScopeTabOption, ScopeTabs, ScopeTabsProps, SegmentedControl, SegmentedControlOption, SegmentedControlProps, SelectField, SelectFieldProps, SettingsPanel, SettingsPanelProps, Skeleton, SkeletonProps, StatCard, StatCardProps, TextAreaField, TextAreaFieldProps, TextField, TextFieldProps, Theme, ThemeContext, ThemeContextValue, ThemeMode, ThemeProvider, ThemeProviderProps, ThemeSwitcher, ThemeSwitcherProps, Timeline, TimelineItem, TimelineItemProps, TimelineItemStatus, TimelineItemTone, TimelineOrientation, TimelineProps, TimelineVariant, Toggle, ToggleProps, UiStrings, UiStringsProvider, UiStringsProviderProps, useAccentColor, useDensity, useTheme, useUiStrings } from "@nubitio/ui";
|
|
5
5
|
import { BarChartWidgetConfig, DashboardConfig, DashboardDataResult, DashboardPage, DashboardPageProps, DashboardSection, DashboardSectionLayout, DashboardWidget, DonutChartWidgetConfig, StatIconTone, StatWidgetConfig, TableColumnConfig, TableViewAllConfig, TableWidgetConfig, TrendConfig, ValueFormat, barChartWidget, defineDashboard, donutChartWidget, formatDashboardValue, resolveArray, resolvePath, statWidget, tableWidget, useDashboardData } from "@nubitio/dashboard";
|
|
6
6
|
import { 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, 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, Chip, type ChipProps, CollapsibleSection, type CollapsibleSectionProps, type ColumnPreset,
|
|
7
|
+
export { ACCENT_PRESETS, type AccentPreset, 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, Chip, type ChipProps, CollapsibleSection, type CollapsibleSectionProps, ColumnChooserButton, type ColumnPreset, 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, 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, QuotaUsageBanner, type QuotaUsageBannerProps, 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, 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, StatCard, type StatCardProps, type StatIconTone, type StatWidgetConfig, StaticSessionProvider, type TableColumnConfig, type TableViewAllConfig, type TableWidgetConfig, TextAreaField, type TextAreaFieldProps, TextField, type TextFieldProps, type Theme, ThemeContext, type ThemeContextValue, type ThemeMode, ThemeProvider, type ThemeProviderProps, ThemeSwitcher, type ThemeSwitcherProps, Timeline, TimelineItem, type TimelineItemProps, type TimelineItemStatus, type TimelineItemTone, type TimelineOrientation, type TimelineProps, type TimelineVariant, ToastHost, type ToastHostProps, type ToastItem, Toggle, type ToggleProps, ToolbarSelect, type TrendConfig, type UiStrings, UiStringsProvider, type UiStringsProviderProps, type UseQuotaUsageOptions, type UseRuntimeConfigOptions, type UseSchemaContextResult, type ValueFormat, 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, mapHydraSchemaToFields, noneField, numberField, parseHydraDoc, parseOpenApiDoc, parseQuotaError, passwordField, quotaErrorToastMessage, quotaUsageAboveGrid, resolveArray, resolveMercureTopicOrigin, resolvePath, resolveRangeTag, selectField, statWidget, switchField, tableWidget, textField, textareaField, useAccentColor, useAppRuntime, useColumnChooser, useCoreConfig, useCoreHttpClient, useDashboardData, useDensity, useDevTools, useEvents, useFeature, useFeatureConfig, useHydraMetadata, useMercureHub, useMercureSubscription, 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
|
-
import { AuditTrailPanel,
|
|
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, textField, textareaField, useColumnChooser, useDevTools, useSmartCrudRoles, validateFieldContract } from "@nubitio/crud";
|
|
3
3
|
import { HydraRemoteDataSource, HydraResourceSchemaProvider, HydraResourceStoreProvider, SchemaProvider, mapHydraSchemaToFields, parseHydraDoc, parseOpenApiDoc, resolveRangeTag, useHydraMetadata, useResourceSchema, useSchemaContext } from "@nubitio/hydra";
|
|
4
4
|
import { ACCENT_PRESETS, AppDialog, AppDropdown, AppToolbar, Avatar, Badge, Button, Card, Chip, CollapsibleSection, ConfirmDialog, ContextMenu, DatePicker, DateRangePicker, DensityProvider, Drawer, EN_UI_STRINGS, ES_UI_STRINGS, EmptyState, FilterPanel, FormField, HubPanel, IconButton, KpiMetricRow, OperationCardGrid, Popover, ScopeTabs, SegmentedControl, SelectField, SettingsPanel, Skeleton, StatCard, TextAreaField, TextField, ThemeContext, ThemeProvider, ThemeSwitcher, Timeline, TimelineItem, Toggle, UiStringsProvider, useAccentColor, useDensity, useTheme, useUiStrings } from "@nubitio/ui";
|
|
5
5
|
import { DashboardPage, barChartWidget, defineDashboard, donutChartWidget, formatDashboardValue, resolveArray, resolvePath, statWidget, tableWidget, useDashboardData } from "@nubitio/dashboard";
|
|
6
6
|
import { 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, AdminHeader, AdminShell, AdminSidebarMenu, AppDialog, AppDropdown, AppToolbar, AuditTrailPanel, Avatar, Badge, Button, Card, Chip, CollapsibleSection,
|
|
7
|
+
export { ACCENT_PRESETS, AdminHeader, AdminShell, AdminSidebarMenu, AppDialog, AppDropdown, AppToolbar, AuditTrailPanel, Avatar, Badge, Button, Card, Chip, CollapsibleSection, ColumnChooserButton, 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, NubitDevToolsPanel, OperationCardGrid, PlanPanel, Popover, QuotaUsageBanner, RegisterPage, ResourceStoreProvider, RestAdapter, SchemaCrudPage, SchemaProvider, ScopeTabs, SegmentedControl, SelectField, SessionProvider, SettingsPanel, Skeleton, SmartCrudPage, SmartCrudRolesProvider, StatCard, StaticSessionProvider, TextAreaField, TextField, ThemeContext, ThemeProvider, ThemeSwitcher, Timeline, TimelineItem, ToastHost, Toggle, ToolbarSelect, UiStringsProvider, 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, mapHydraSchemaToFields, noneField, numberField, parseHydraDoc, parseOpenApiDoc, parseQuotaError, passwordField, quotaErrorToastMessage, quotaUsageAboveGrid, resolveArray, resolveMercureTopicOrigin, resolvePath, resolveRangeTag, selectField, statWidget, switchField, tableWidget, textField, textareaField, useAccentColor, useAppRuntime, useColumnChooser, useCoreConfig, useCoreHttpClient, useDashboardData, useDensity, useDevTools, useEvents, useFeature, useFeatureConfig, useHydraMetadata, useMercureHub, useMercureSubscription, useQuotaUsage, useResourceSchema, useRuntimeConfig, useSchemaContext, useScreenSize, useScreenSizeClass, useSession, useSmartCrudRoles, useTheme, useUiStrings, validateFieldContract };
|
package/dist/style.css
CHANGED
|
@@ -1971,7 +1971,7 @@ html[data-density=compact] .nb-context-menu__item {
|
|
|
1971
1971
|
border: none;
|
|
1972
1972
|
border-radius: 0;
|
|
1973
1973
|
border-right: 1px solid var(--border-subtle, var(--border-color));
|
|
1974
|
-
background: transparent;
|
|
1974
|
+
background: color-mix(in srgb, var(--surface-1) 60%, transparent);
|
|
1975
1975
|
padding: var(--space-4, 1rem) var(--space-4, 1.1rem);
|
|
1976
1976
|
}
|
|
1977
1977
|
.nb-kpi-metric-row--strip .nb-kpi-metric-card:last-child {
|
|
@@ -2083,6 +2083,23 @@ html[data-density=compact] .nb-context-menu__item {
|
|
|
2083
2083
|
gap: 0.5rem;
|
|
2084
2084
|
padding: 0.45rem 0.7rem;
|
|
2085
2085
|
}
|
|
2086
|
+
@media (max-width: 480px) {
|
|
2087
|
+
.nb-kpi-metric-row--compact.nb-kpi-metric-row--strip {
|
|
2088
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
2089
|
+
}
|
|
2090
|
+
}
|
|
2091
|
+
@media (max-width: 480px) {
|
|
2092
|
+
.nb-kpi-metric-row--compact.nb-kpi-metric-row--strip .nb-kpi-metric-card {
|
|
2093
|
+
border-right: 1px solid var(--border-subtle, var(--border-color));
|
|
2094
|
+
border-bottom: none;
|
|
2095
|
+
}
|
|
2096
|
+
.nb-kpi-metric-row--compact.nb-kpi-metric-row--strip .nb-kpi-metric-card:nth-child(2n) {
|
|
2097
|
+
border-right: none;
|
|
2098
|
+
}
|
|
2099
|
+
.nb-kpi-metric-row--compact.nb-kpi-metric-row--strip .nb-kpi-metric-card:nth-child(-n+2) {
|
|
2100
|
+
border-bottom: 1px solid var(--border-subtle, var(--border-color));
|
|
2101
|
+
}
|
|
2102
|
+
}
|
|
2086
2103
|
.nb-kpi-metric-row--compact .nb-kpi-metric-card__icon {
|
|
2087
2104
|
width: 1.65rem;
|
|
2088
2105
|
height: 1.65rem;
|
|
@@ -2198,6 +2215,7 @@ html[data-density=compact] .nb-context-menu__item {
|
|
|
2198
2215
|
|
|
2199
2216
|
.nb-filter-panel__search {
|
|
2200
2217
|
flex: 1;
|
|
2218
|
+
min-width: 140px;
|
|
2201
2219
|
max-width: 220px;
|
|
2202
2220
|
}
|
|
2203
2221
|
|
|
@@ -2206,6 +2224,8 @@ html[data-density=compact] .nb-context-menu__item {
|
|
|
2206
2224
|
margin: 0 -0.25rem;
|
|
2207
2225
|
padding: 0.15rem 0.25rem 0.25rem;
|
|
2208
2226
|
scrollbar-width: thin;
|
|
2227
|
+
-webkit-mask-image: linear-gradient(to right, black calc(100% - 20px), transparent 100%);
|
|
2228
|
+
mask-image: linear-gradient(to right, black calc(100% - 20px), transparent 100%);
|
|
2209
2229
|
}
|
|
2210
2230
|
.nb-filter-panel__scroll::-webkit-scrollbar {
|
|
2211
2231
|
height: 4px;
|
|
@@ -4833,88 +4853,6 @@ html[data-density=compact] .nb-crud-page-shell__footer {
|
|
|
4833
4853
|
margin-left: var(--space-1);
|
|
4834
4854
|
}
|
|
4835
4855
|
|
|
4836
|
-
.nb-datagrid__preset-control {
|
|
4837
|
-
align-items: center;
|
|
4838
|
-
display: inline-flex;
|
|
4839
|
-
flex: 0 1 auto;
|
|
4840
|
-
gap: var(--space-2);
|
|
4841
|
-
margin-left: var(--space-2);
|
|
4842
|
-
min-width: 0;
|
|
4843
|
-
}
|
|
4844
|
-
|
|
4845
|
-
.nb-datagrid__preset-label {
|
|
4846
|
-
align-items: center;
|
|
4847
|
-
color: var(--text-secondary);
|
|
4848
|
-
display: inline-flex;
|
|
4849
|
-
flex: 0 0 auto;
|
|
4850
|
-
font-size: var(--font-size-xs);
|
|
4851
|
-
font-weight: var(--font-weight-medium);
|
|
4852
|
-
gap: var(--space-1);
|
|
4853
|
-
letter-spacing: 0.01em;
|
|
4854
|
-
white-space: nowrap;
|
|
4855
|
-
}
|
|
4856
|
-
.nb-datagrid__preset-label i {
|
|
4857
|
-
color: var(--text-tertiary);
|
|
4858
|
-
font-size: 14px;
|
|
4859
|
-
}
|
|
4860
|
-
|
|
4861
|
-
.nb-datagrid__preset-segments {
|
|
4862
|
-
background: var(--surface-0);
|
|
4863
|
-
border: 1px solid var(--border-subtle);
|
|
4864
|
-
border-radius: var(--radius-md);
|
|
4865
|
-
display: inline-flex;
|
|
4866
|
-
flex: 0 1 auto;
|
|
4867
|
-
gap: 1px;
|
|
4868
|
-
max-width: 100%;
|
|
4869
|
-
min-height: var(--control-height);
|
|
4870
|
-
min-width: 0;
|
|
4871
|
-
overflow-x: auto;
|
|
4872
|
-
padding: 2px;
|
|
4873
|
-
scrollbar-width: thin;
|
|
4874
|
-
}
|
|
4875
|
-
|
|
4876
|
-
.nb-datagrid__preset-segment {
|
|
4877
|
-
background: transparent;
|
|
4878
|
-
border: 0;
|
|
4879
|
-
border-radius: calc(var(--radius-md) - 2px);
|
|
4880
|
-
color: var(--text-secondary);
|
|
4881
|
-
cursor: pointer;
|
|
4882
|
-
flex: 0 0 auto;
|
|
4883
|
-
font: inherit;
|
|
4884
|
-
font-size: var(--font-size-xs);
|
|
4885
|
-
font-weight: var(--font-weight-medium);
|
|
4886
|
-
line-height: 1;
|
|
4887
|
-
min-height: calc(var(--control-height) - 4px);
|
|
4888
|
-
padding: 0 var(--space-2);
|
|
4889
|
-
transition: background var(--transition-base), box-shadow var(--transition-base), color var(--transition-base);
|
|
4890
|
-
}
|
|
4891
|
-
.nb-datagrid__preset-segment:hover:not(.nb-datagrid__preset-segment--active) {
|
|
4892
|
-
background: var(--control-bg-hover);
|
|
4893
|
-
color: var(--text-primary);
|
|
4894
|
-
}
|
|
4895
|
-
.nb-datagrid__preset-segment:focus-visible {
|
|
4896
|
-
box-shadow: 0 0 0 2px var(--focus-ring-color);
|
|
4897
|
-
outline: none;
|
|
4898
|
-
z-index: 1;
|
|
4899
|
-
}
|
|
4900
|
-
.nb-datagrid__preset-segment--active {
|
|
4901
|
-
background: var(--surface-1);
|
|
4902
|
-
box-shadow: var(--shadow-sm);
|
|
4903
|
-
color: var(--text-primary);
|
|
4904
|
-
font-weight: var(--font-weight-semibold);
|
|
4905
|
-
}
|
|
4906
|
-
|
|
4907
|
-
@media (max-width: 720px) {
|
|
4908
|
-
.nb-datagrid__preset-control {
|
|
4909
|
-
align-items: stretch;
|
|
4910
|
-
flex-direction: column;
|
|
4911
|
-
margin-left: 0;
|
|
4912
|
-
width: 100%;
|
|
4913
|
-
}
|
|
4914
|
-
.nb-datagrid__preset-segments {
|
|
4915
|
-
width: 100%;
|
|
4916
|
-
}
|
|
4917
|
-
}
|
|
4918
4856
|
.nb-datagrid__table-wrap {
|
|
4919
4857
|
background: var(--surface-1);
|
|
4920
4858
|
border: 1px solid var(--border-subtle);
|
|
@@ -4959,10 +4897,8 @@ html[data-density=compact] .nb-crud-page-shell__footer {
|
|
|
4959
4897
|
display: block;
|
|
4960
4898
|
flex: 1 1 auto;
|
|
4961
4899
|
min-height: 0;
|
|
4962
|
-
overflow:
|
|
4963
|
-
|
|
4964
|
-
.nb-datagrid__table > tbody::-webkit-scrollbar:horizontal {
|
|
4965
|
-
height: 0;
|
|
4900
|
+
overflow-x: hidden;
|
|
4901
|
+
overflow-y: auto;
|
|
4966
4902
|
}
|
|
4967
4903
|
|
|
4968
4904
|
.nb-datagrid__detail-col {
|
|
@@ -4985,9 +4921,24 @@ html[data-density=compact] .nb-crud-page-shell__footer {
|
|
|
4985
4921
|
|
|
4986
4922
|
.nb-datagrid__hscroll {
|
|
4987
4923
|
flex: 0 0 auto;
|
|
4924
|
+
height: 10px;
|
|
4988
4925
|
margin-top: 2px;
|
|
4989
4926
|
overflow-x: auto;
|
|
4990
4927
|
overflow-y: hidden;
|
|
4928
|
+
scrollbar-width: thin;
|
|
4929
|
+
}
|
|
4930
|
+
.nb-datagrid__hscroll::-webkit-scrollbar {
|
|
4931
|
+
height: 10px;
|
|
4932
|
+
}
|
|
4933
|
+
.nb-datagrid__hscroll::-webkit-scrollbar-track {
|
|
4934
|
+
background: var(--surface-1);
|
|
4935
|
+
}
|
|
4936
|
+
.nb-datagrid__hscroll::-webkit-scrollbar-thumb {
|
|
4937
|
+
background: var(--border-color);
|
|
4938
|
+
border-radius: 5px;
|
|
4939
|
+
}
|
|
4940
|
+
.nb-datagrid__hscroll::-webkit-scrollbar-thumb:hover {
|
|
4941
|
+
background: var(--text-secondary);
|
|
4991
4942
|
}
|
|
4992
4943
|
|
|
4993
4944
|
.nb-datagrid__hscroll-inner {
|
|
@@ -5019,7 +4970,8 @@ html[data-density=compact] .nb-crud-page-shell__footer {
|
|
|
5019
4970
|
line-height: var(--grid-row-line-height, 1.35);
|
|
5020
4971
|
min-height: var(--row-height);
|
|
5021
4972
|
overflow: hidden;
|
|
5022
|
-
white-space:
|
|
4973
|
+
white-space: nowrap;
|
|
4974
|
+
text-overflow: ellipsis;
|
|
5023
4975
|
}
|
|
5024
4976
|
|
|
5025
4977
|
.nb-datagrid__table td .nb-badge {
|
|
@@ -6425,16 +6377,6 @@ html[data-density=compact] .nb-datagrid .nb-badge {
|
|
|
6425
6377
|
transform: scale(0.96);
|
|
6426
6378
|
}
|
|
6427
6379
|
|
|
6428
|
-
.nb-datagrid__sheet-presets .nb-datagrid__preset-control {
|
|
6429
|
-
align-items: stretch;
|
|
6430
|
-
flex-direction: column;
|
|
6431
|
-
margin-left: 0;
|
|
6432
|
-
width: 100%;
|
|
6433
|
-
}
|
|
6434
|
-
.nb-datagrid__sheet-presets .nb-datagrid__preset-segments {
|
|
6435
|
-
width: 100%;
|
|
6436
|
-
}
|
|
6437
|
-
|
|
6438
6380
|
@media (max-width: 767.98px) {
|
|
6439
6381
|
.nb-datagrid__table-wrap {
|
|
6440
6382
|
background: transparent;
|
|
@@ -7760,6 +7702,75 @@ html[data-density=compact] .nb-datagrid .nb-badge {
|
|
|
7760
7702
|
flex-direction: column;
|
|
7761
7703
|
gap: var(--space-3);
|
|
7762
7704
|
}
|
|
7705
|
+
.nb-column-chooser__trigger--active {
|
|
7706
|
+
color: var(--accent-color);
|
|
7707
|
+
position: relative;
|
|
7708
|
+
}
|
|
7709
|
+
.nb-column-chooser__trigger--active::after {
|
|
7710
|
+
content: "";
|
|
7711
|
+
position: absolute;
|
|
7712
|
+
top: 4px;
|
|
7713
|
+
right: 4px;
|
|
7714
|
+
width: 6px;
|
|
7715
|
+
height: 6px;
|
|
7716
|
+
border-radius: 50%;
|
|
7717
|
+
background: var(--accent-color);
|
|
7718
|
+
border: 1.5px solid var(--surface-1);
|
|
7719
|
+
}
|
|
7720
|
+
|
|
7721
|
+
.nb-column-chooser__panel {
|
|
7722
|
+
display: flex;
|
|
7723
|
+
flex-direction: column;
|
|
7724
|
+
max-width: 260px;
|
|
7725
|
+
}
|
|
7726
|
+
|
|
7727
|
+
.nb-column-chooser__actions {
|
|
7728
|
+
display: flex;
|
|
7729
|
+
gap: var(--space-2);
|
|
7730
|
+
padding: var(--space-2) var(--space-3);
|
|
7731
|
+
border-bottom: 1px solid var(--border-subtle, var(--border-color));
|
|
7732
|
+
}
|
|
7733
|
+
|
|
7734
|
+
.nb-column-chooser__action {
|
|
7735
|
+
flex: 1 1 auto;
|
|
7736
|
+
border: none;
|
|
7737
|
+
background: transparent;
|
|
7738
|
+
color: var(--accent-color);
|
|
7739
|
+
font-size: var(--font-size-xs);
|
|
7740
|
+
font-weight: var(--font-weight-semibold, 600);
|
|
7741
|
+
padding: var(--space-1) var(--space-2);
|
|
7742
|
+
border-radius: var(--radius-md);
|
|
7743
|
+
cursor: pointer;
|
|
7744
|
+
transition: background var(--transition-fast);
|
|
7745
|
+
}
|
|
7746
|
+
.nb-column-chooser__action:hover {
|
|
7747
|
+
background: var(--accent-subtle, color-mix(in srgb, var(--accent-color) 10%, transparent));
|
|
7748
|
+
}
|
|
7749
|
+
|
|
7750
|
+
.nb-column-chooser__list {
|
|
7751
|
+
list-style: none;
|
|
7752
|
+
margin: 0;
|
|
7753
|
+
padding: var(--space-1) 0;
|
|
7754
|
+
max-height: 320px;
|
|
7755
|
+
overflow-y: auto;
|
|
7756
|
+
}
|
|
7757
|
+
|
|
7758
|
+
.nb-column-chooser__item {
|
|
7759
|
+
padding: var(--space-1) var(--space-3);
|
|
7760
|
+
}
|
|
7761
|
+
.nb-column-chooser__item .nb-toggle-row {
|
|
7762
|
+
display: flex;
|
|
7763
|
+
align-items: center;
|
|
7764
|
+
justify-content: space-between;
|
|
7765
|
+
gap: var(--space-3);
|
|
7766
|
+
width: 100%;
|
|
7767
|
+
font-size: var(--font-size-sm);
|
|
7768
|
+
color: var(--text-primary);
|
|
7769
|
+
cursor: pointer;
|
|
7770
|
+
}
|
|
7771
|
+
.nb-column-chooser__item .nb-toggle-row > span:not(.nb-toggle) {
|
|
7772
|
+
flex: 1 1 auto;
|
|
7773
|
+
}
|
|
7763
7774
|
.nb-smart-crud-fallback {
|
|
7764
7775
|
display: flex;
|
|
7765
7776
|
flex-direction: column;
|
|
@@ -8082,7 +8093,7 @@ html[data-density=comfortable] {
|
|
|
8082
8093
|
|
|
8083
8094
|
.nb-feature-hub__tabs {
|
|
8084
8095
|
display: flex;
|
|
8085
|
-
flex-wrap:
|
|
8096
|
+
flex-wrap: nowrap;
|
|
8086
8097
|
gap: 0;
|
|
8087
8098
|
margin-top: var(--space-4);
|
|
8088
8099
|
padding: 0;
|
|
@@ -8091,6 +8102,15 @@ html[data-density=comfortable] {
|
|
|
8091
8102
|
border-bottom: 1px solid var(--border-subtle, var(--border-color));
|
|
8092
8103
|
border-radius: 0;
|
|
8093
8104
|
box-shadow: none;
|
|
8105
|
+
overflow-x: auto;
|
|
8106
|
+
overscroll-behavior-x: contain;
|
|
8107
|
+
-webkit-overflow-scrolling: touch;
|
|
8108
|
+
scrollbar-width: none;
|
|
8109
|
+
-webkit-mask-image: linear-gradient(to right, black calc(100% - 24px), transparent 100%);
|
|
8110
|
+
mask-image: linear-gradient(to right, black calc(100% - 24px), transparent 100%);
|
|
8111
|
+
}
|
|
8112
|
+
.nb-feature-hub__tabs::-webkit-scrollbar {
|
|
8113
|
+
display: none;
|
|
8094
8114
|
}
|
|
8095
8115
|
|
|
8096
8116
|
.nb-feature-hub__tab {
|
|
@@ -8098,6 +8118,8 @@ html[data-density=comfortable] {
|
|
|
8098
8118
|
align-items: center;
|
|
8099
8119
|
gap: var(--space-2);
|
|
8100
8120
|
position: relative;
|
|
8121
|
+
flex-shrink: 0;
|
|
8122
|
+
white-space: nowrap;
|
|
8101
8123
|
min-height: calc(var(--control-height) + var(--space-2));
|
|
8102
8124
|
padding: var(--space-2) var(--space-3);
|
|
8103
8125
|
margin-bottom: -1px;
|
|
@@ -8198,7 +8220,7 @@ html[data-density=comfortable] {
|
|
|
8198
8220
|
}
|
|
8199
8221
|
.nb-feature-hub--compact .nb-feature-hub__tabs {
|
|
8200
8222
|
flex: 1 1 auto;
|
|
8201
|
-
justify-content: flex-
|
|
8223
|
+
justify-content: flex-start;
|
|
8202
8224
|
margin: 0;
|
|
8203
8225
|
border-bottom: none;
|
|
8204
8226
|
min-width: min(100%, 520px);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nubitio/react-admin",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Batteries-included admin stack: core runtime, CRUD, Hydra adapter, and AdminShell.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -50,12 +50,12 @@
|
|
|
50
50
|
"access": "public"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@nubitio/
|
|
54
|
-
"@nubitio/
|
|
55
|
-
"@nubitio/
|
|
56
|
-
"@nubitio/
|
|
57
|
-
"@nubitio/
|
|
58
|
-
"@nubitio/
|
|
53
|
+
"@nubitio/hydra": "^0.9.0",
|
|
54
|
+
"@nubitio/core": "^0.9.0",
|
|
55
|
+
"@nubitio/admin": "^0.9.0",
|
|
56
|
+
"@nubitio/crud": "^0.9.0",
|
|
57
|
+
"@nubitio/ui": "^0.9.0",
|
|
58
|
+
"@nubitio/dashboard": "^0.9.0"
|
|
59
59
|
},
|
|
60
60
|
"peerDependencies": {
|
|
61
61
|
"@tanstack/react-query": "^5.0.0",
|