@marktiderman/genesis-ui 2.12.0 → 2.12.2
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/{AppShell-DpQdcLE-.d.ts → AppShell-HCXpi6nv.d.ts} +3 -2
- package/dist/chunk-424PT5DM.js +21 -0
- package/dist/chunk-424PT5DM.js.map +1 -0
- package/dist/chunk-J45FHL7D.js +46 -0
- package/dist/chunk-J45FHL7D.js.map +1 -0
- package/dist/{chunk-SZMXNC5Q.js → chunk-MLZEKXV2.js} +3 -3
- package/dist/{chunk-SZMXNC5Q.js.map → chunk-MLZEKXV2.js.map} +1 -1
- package/dist/{chunk-XGG5RUDE.js → chunk-PMCUHSZS.js} +3 -3
- package/dist/{chunk-XGG5RUDE.js.map → chunk-PMCUHSZS.js.map} +1 -1
- package/dist/{chunk-3TWCZYZY.js → chunk-STZVZUYO.js} +3 -3
- package/dist/{chunk-3TWCZYZY.js.map → chunk-STZVZUYO.js.map} +1 -1
- package/dist/chunk-WALJMVEF.js +10 -0
- package/dist/chunk-WALJMVEF.js.map +1 -0
- package/dist/components/data/index.d.ts +7 -6
- package/dist/components/data/index.js +14 -13
- package/dist/components/data/index.js.map +1 -1
- package/dist/components/layout/dashboard-page.js +1 -0
- package/dist/components/layout/detail-page.js +1 -0
- package/dist/components/layout/form-page.js +1 -0
- package/dist/components/layout/index.d.ts +3 -2
- package/dist/components/layout/index.js +3 -2
- package/dist/components/layout/settings-page.js +1 -0
- package/dist/components/patterns/empty-state.js +1 -0
- package/dist/components/patterns/form-field.js +1 -0
- package/dist/components/patterns/index.js +1 -0
- package/dist/components/patterns/page-loading.js +1 -0
- package/dist/components/patterns/settings-row.js +1 -0
- package/dist/components/patterns/sortable-list.js +1 -0
- package/dist/components/patterns/status-badge.js +1 -0
- package/dist/components/patterns/toggle-row.js +1 -0
- package/dist/components/patterns/user-avatar.js +1 -0
- package/dist/components/rich-text/rich-text-editor.js +1 -0
- package/dist/components/rich-text/rich-text-editor.js.map +1 -1
- package/dist/components/rich-text/rich-text.js +1 -0
- package/dist/components/sheet-grid/sheet-grid.js +1 -0
- package/dist/components/sheet-grid/sheet-grid.js.map +1 -1
- package/dist/components/ui/accessible-icon.js +1 -0
- package/dist/components/ui/accordion.js +1 -0
- package/dist/components/ui/alert-dialog.js +1 -0
- package/dist/components/ui/alert.js +1 -0
- package/dist/components/ui/aspect-ratio.js +1 -0
- package/dist/components/ui/avatar.js +1 -0
- package/dist/components/ui/badge.js +1 -0
- package/dist/components/ui/breadcrumb.js +1 -0
- package/dist/components/ui/button-group.js +1 -0
- package/dist/components/ui/button.js +1 -0
- package/dist/components/ui/calendar.js +1 -0
- package/dist/components/ui/card.js +1 -0
- package/dist/components/ui/carousel.js +1 -0
- package/dist/components/ui/chart.js +1 -0
- package/dist/components/ui/checkbox.js +1 -0
- package/dist/components/ui/collapsible.js +1 -0
- package/dist/components/ui/command-palette.js +1 -0
- package/dist/components/ui/command.js +1 -0
- package/dist/components/ui/context-menu.js +1 -0
- package/dist/components/ui/date-picker.js +1 -0
- package/dist/components/ui/dialog.js +1 -0
- package/dist/components/ui/drawer.js +1 -0
- package/dist/components/ui/dropdown-menu.js +1 -0
- package/dist/components/ui/hover-card.js +1 -0
- package/dist/components/ui/input-group.js +1 -0
- package/dist/components/ui/input-otp.js +1 -0
- package/dist/components/ui/input.js +1 -0
- package/dist/components/ui/kbd.js +1 -0
- package/dist/components/ui/label.js +1 -0
- package/dist/components/ui/menubar.js +1 -0
- package/dist/components/ui/navigation-menu.js +1 -0
- package/dist/components/ui/pagination.js +1 -0
- package/dist/components/ui/password-toggle-field.js +1 -0
- package/dist/components/ui/popover.js +1 -0
- package/dist/components/ui/progress.js +1 -0
- package/dist/components/ui/radio-group.js +1 -0
- package/dist/components/ui/resizable.js +1 -0
- package/dist/components/ui/scroll-area.js +1 -0
- package/dist/components/ui/select.js +1 -0
- package/dist/components/ui/separator.js +1 -0
- package/dist/components/ui/sheet.js +1 -0
- package/dist/components/ui/skeleton.js +1 -0
- package/dist/components/ui/slider.js +1 -0
- package/dist/components/ui/sonner.js +1 -0
- package/dist/components/ui/spinner.js +1 -0
- package/dist/components/ui/switch.js +1 -0
- package/dist/components/ui/table.js +1 -0
- package/dist/components/ui/tabs.js +1 -0
- package/dist/components/ui/textarea.js +1 -0
- package/dist/components/ui/toggle-group.js +1 -0
- package/dist/components/ui/toggle.js +1 -0
- package/dist/components/ui/toolbar.js +1 -0
- package/dist/components/ui/tooltip.js +1 -0
- package/dist/components/ui/typography.js +1 -0
- package/dist/components/ui/visually-hidden.js +1 -0
- package/dist/hooks/index.d.ts +3 -3
- package/dist/hooks/index.js +4 -3
- package/dist/hooks/use-data-filters.d.ts +1 -1
- package/dist/hooks/use-data-filters.js +3 -2
- package/dist/hooks/use-keyboard-navigation.js +1 -0
- package/dist/hooks/use-mobile.js +1 -0
- package/dist/hooks/use-prefetch.js +1 -0
- package/dist/hooks/use-resource-page.js +1 -0
- package/dist/hooks/use-resource-url-state.d.ts +1 -1
- package/dist/hooks/use-resource-url-state.js +1 -0
- package/dist/hooks/use-saved-views.js +1 -0
- package/dist/hooks/use-view-preference.js +1 -0
- package/dist/hooks/use-view-settings.js +1 -0
- package/dist/index.d.ts +3 -2
- package/dist/index.js +360 -2
- package/dist/index.js.map +1 -1
- package/dist/navigation-vmFJ6r1m.d.ts +90 -0
- package/dist/router/react-router.d.ts +1 -1
- package/dist/router/react-router.js +1 -0
- package/dist/router/react-router.js.map +1 -1
- package/dist/router/tanstack-router.d.ts +1 -1
- package/dist/router/tanstack-router.js +2 -1
- package/dist/router/tanstack-router.js.map +1 -1
- package/dist/status-colors.js +2 -0
- package/dist/status-colors.js.map +1 -1
- package/dist/{use-resource-table-DrTkD5O1.d.ts → use-resource-table-easmRDQI.d.ts} +2 -2
- package/dist/utils.js +1 -0
- package/package.json +4 -4
- package/dist/chunk-7S7LKQBD.js +0 -12
- package/dist/chunk-7S7LKQBD.js.map +0 -1
- package/dist/chunk-KC43CNMA.js +0 -141
- package/dist/chunk-KC43CNMA.js.map +0 -1
- package/dist/navigation-By1DrzaM.d.ts +0 -190
- package/dist/slots-tR0wf89f.d.ts +0 -60
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { AppShell, PageHeader } from '../../chunk-
|
|
2
|
+
import { AppShell, PageHeader } from '../../chunk-MLZEKXV2.js';
|
|
3
3
|
export { ViewSettings, ViewToggle } from '../../chunk-46TZGMFW.js';
|
|
4
|
-
import {
|
|
4
|
+
import { slots_exports } from '../../chunk-WALJMVEF.js';
|
|
5
5
|
import { Table, TableHeader, TableRow, TableHead, TableBody, TableCell } from '../../chunk-N2ZFNOOT.js';
|
|
6
6
|
import { Textarea } from '../../chunk-YETMISCE.js';
|
|
7
7
|
import { Separator } from '../../chunk-SXSCHWZU.js';
|
|
@@ -30,8 +30,8 @@ export { EmptyState } from '../../chunk-65SPT7EA.js';
|
|
|
30
30
|
import { Button } from '../../chunk-NWSCYLPT.js';
|
|
31
31
|
import { FormField, FormLabel, FormError, FormDescription } from '../../chunk-R7QFP6EL.js';
|
|
32
32
|
import '../../chunk-F47U5KNW.js';
|
|
33
|
-
import { showUndoToast, showWriteErrorToast, useResourceTableModel } from '../../chunk-
|
|
34
|
-
export { showUndoToast, showWriteErrorToast, useResourceTable } from '../../chunk-
|
|
33
|
+
import { showUndoToast, showWriteErrorToast, useResourceTableModel } from '../../chunk-STZVZUYO.js';
|
|
34
|
+
export { showUndoToast, showWriteErrorToast, useResourceTable } from '../../chunk-STZVZUYO.js';
|
|
35
35
|
import { titleCase } from '../../chunk-RKPS7ERS.js';
|
|
36
36
|
import '../../chunk-DIV4BYXX.js';
|
|
37
37
|
export { useSavedViews } from '../../chunk-GCQFVMPI.js';
|
|
@@ -42,10 +42,11 @@ export { CommandPalette, useCommandPaletteHotkey } from '../../chunk-CNTWQSUT.js
|
|
|
42
42
|
import { Command, CommandInput, CommandList, CommandEmpty, CommandGroup, CommandItem, CommandSeparator } from '../../chunk-SEFK4NZV.js';
|
|
43
43
|
import { Dialog, DialogContent, DialogHeader, DialogTitle, DialogFooter, DialogDescription } from '../../chunk-7XMZVISM.js';
|
|
44
44
|
import { cn } from '../../chunk-NZ5WBA4R.js';
|
|
45
|
-
import { DefaultLink } from '../../chunk-
|
|
46
|
-
export { DefaultLink, defaultNavigate, isPathActive, resolveNavigation } from '../../chunk-
|
|
45
|
+
import { DefaultLink } from '../../chunk-J45FHL7D.js';
|
|
46
|
+
export { DefaultLink, defaultNavigate, isPathActive, resolveNavigation } from '../../chunk-J45FHL7D.js';
|
|
47
47
|
import '../../chunk-YJ6MPS6U.js';
|
|
48
48
|
import { useIsMobile } from '../../chunk-VFO3I7PV.js';
|
|
49
|
+
import '../../chunk-424PT5DM.js';
|
|
49
50
|
import { AlertTriangle, RefreshCw, ChevronDown, Check, Search, X, ArrowUpDown, Bookmark, Trash2, BookmarkPlus, Loader2, Columns3, ArrowUp, ArrowDown, ChevronLeft, ChevronRight, ExternalLink, GripVertical, ArrowRightLeft, Pencil, ChevronsUpDown, ImageIcon, Upload, AlertCircle, FileIcon, Plus } from 'lucide-react';
|
|
50
51
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
51
52
|
import { useState, useRef, useEffect, useCallback, useMemo, useId, Fragment as Fragment$1, useLayoutEffect } from 'react';
|
|
@@ -3642,7 +3643,7 @@ function ResourcePage(props) {
|
|
|
3642
3643
|
emptyMessage,
|
|
3643
3644
|
emptyDescription,
|
|
3644
3645
|
...headerMode === "toolbar" ? { header: "toolbar" } : {},
|
|
3645
|
-
filters: renderSlot(
|
|
3646
|
+
filters: (0, slots_exports.renderSlot)(
|
|
3646
3647
|
DataFilters,
|
|
3647
3648
|
slots?.filters,
|
|
3648
3649
|
{
|
|
@@ -3668,7 +3669,7 @@ function ResourcePage(props) {
|
|
|
3668
3669
|
...shellSlotProps,
|
|
3669
3670
|
className: cn(className, shellSlotProps?.className),
|
|
3670
3671
|
children: [
|
|
3671
|
-
bulkActions && bulkActions.length > 0 && renderSlot(
|
|
3672
|
+
bulkActions && bulkActions.length > 0 && (0, slots_exports.renderSlot)(
|
|
3672
3673
|
DataBulkBar,
|
|
3673
3674
|
slots?.bulkBar,
|
|
3674
3675
|
{
|
|
@@ -3689,7 +3690,7 @@ function ResourcePage(props) {
|
|
|
3689
3690
|
},
|
|
3690
3691
|
slotProps?.bulkBar
|
|
3691
3692
|
),
|
|
3692
|
-
renderSlot(
|
|
3693
|
+
(0, slots_exports.renderSlot)(
|
|
3693
3694
|
DataGrid,
|
|
3694
3695
|
slots?.grid,
|
|
3695
3696
|
{
|
|
@@ -3699,7 +3700,7 @@ function ResourcePage(props) {
|
|
|
3699
3700
|
getKey: keyOf,
|
|
3700
3701
|
focusedIndex: keyboardNav.focusedIndex,
|
|
3701
3702
|
keyboardContainerRef: keyboardNav.containerRef,
|
|
3702
|
-
renderTable: (items) => renderTableProp ? renderTableProp(items) : renderSlot(
|
|
3703
|
+
renderTable: (items) => renderTableProp ? renderTableProp(items) : (0, slots_exports.renderSlot)(
|
|
3703
3704
|
DataTable,
|
|
3704
3705
|
slots?.table,
|
|
3705
3706
|
{
|
|
@@ -3867,7 +3868,7 @@ function ResourcePage(props) {
|
|
|
3867
3868
|
]
|
|
3868
3869
|
}
|
|
3869
3870
|
),
|
|
3870
|
-
(detail === "panel" || detail === "modal") && renderSlot(
|
|
3871
|
+
(detail === "panel" || detail === "modal") && (0, slots_exports.renderSlot)(
|
|
3871
3872
|
DetailPanel,
|
|
3872
3873
|
slots?.detail,
|
|
3873
3874
|
linkMissing ? {
|
|
@@ -3894,7 +3895,7 @@ function ResourcePage(props) {
|
|
|
3894
3895
|
},
|
|
3895
3896
|
slotProps?.detail
|
|
3896
3897
|
),
|
|
3897
|
-
(useBuiltInCreate || useBuiltInEdit) && resourceName && renderSlot(
|
|
3898
|
+
(useBuiltInCreate || useBuiltInEdit) && resourceName && (0, slots_exports.renderSlot)(
|
|
3898
3899
|
ResourceForm,
|
|
3899
3900
|
slots?.form,
|
|
3900
3901
|
{
|
|
@@ -3918,7 +3919,7 @@ function ResourcePage(props) {
|
|
|
3918
3919
|
},
|
|
3919
3920
|
slotProps?.form
|
|
3920
3921
|
),
|
|
3921
|
-
deleteConfirmed && (useBuiltInDelete || !!onDelete) && renderSlot(
|
|
3922
|
+
deleteConfirmed && (useBuiltInDelete || !!onDelete) && (0, slots_exports.renderSlot)(
|
|
3922
3923
|
ConfirmDeleteDialog,
|
|
3923
3924
|
slots?.deleteDialog,
|
|
3924
3925
|
{
|