@wordrhyme/auto-crud 1.7.0 → 1.7.1

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.
Files changed (2) hide show
  1. package/dist/index.d.cts +16 -16
  2. package/package.json +4 -4
package/dist/index.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime2 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime3 from "react/jsx-runtime";
2
2
  import * as _tanstack_react_table0 from "@tanstack/react-table";
3
3
  import { Column, ColumnDef, ColumnMeta, ColumnSort, Row, RowData, Table, TableOptions, TableState } from "@tanstack/react-table";
4
4
  import { z } from "zod";
@@ -722,7 +722,7 @@ declare function AutoTableActionBar<TData>({
722
722
  extraActions,
723
723
  actions,
724
724
  deleteConfirmation
725
- }: AutoTableActionBarProps<TData>): react_jsx_runtime2.JSX.Element;
725
+ }: AutoTableActionBarProps<TData>): react_jsx_runtime3.JSX.Element;
726
726
  //#endregion
727
727
  //#region src/lib/schema-bridge/types.d.ts
728
728
  /**
@@ -909,7 +909,7 @@ declare function AutoTable<T extends z.ZodObject<z.ZodRawShape>>({
909
909
  onSelectedCountChange,
910
910
  onSelectedRowsChange,
911
911
  getSelectedRows
912
- }: AutoTableProps<T>): react_jsx_runtime2.JSX.Element;
912
+ }: AutoTableProps<T>): react_jsx_runtime3.JSX.Element;
913
913
  //#endregion
914
914
  //#region src/lib/row-action-dialog.d.ts
915
915
  interface RowActionDialogProps {
@@ -1442,7 +1442,7 @@ declare function AutoCrudTable<TSchema extends z.ZodObject<z.ZodRawShape>>({
1442
1442
  toolbarActions,
1443
1443
  locale: localeProp,
1444
1444
  onCreate
1445
- }: AutoCrudTableProps<TSchema>): react_jsx_runtime2.JSX.Element;
1445
+ }: AutoCrudTableProps<TSchema>): react_jsx_runtime3.JSX.Element;
1446
1446
  //#endregion
1447
1447
  //#region src/components/auto-crud/auto-form.d.ts
1448
1448
  interface AutoFormProps<T extends z.ZodObject<z.ZodRawShape>> {
@@ -1481,7 +1481,7 @@ declare function AutoFormInner<T extends z.ZodObject<z.ZodRawShape>>({
1481
1481
  labelAlign,
1482
1482
  labelWidth,
1483
1483
  showSubmitButton
1484
- }: AutoFormProps<T>, ref: React.Ref<AutoFormRef>): react_jsx_runtime2.JSX.Element;
1484
+ }: AutoFormProps<T>, ref: React.Ref<AutoFormRef>): react_jsx_runtime3.JSX.Element;
1485
1485
  declare const AutoForm: <T extends z.ZodObject<z.ZodRawShape>>(props: AutoFormProps<T> & {
1486
1486
  ref?: React.Ref<AutoFormRef>;
1487
1487
  }) => ReturnType<typeof AutoFormInner>;
@@ -1500,7 +1500,7 @@ declare function AutoTableSimpleFilters<TData>({
1500
1500
  filters: externalFilters,
1501
1501
  onFiltersChange,
1502
1502
  leading
1503
- }: AutoTableSimpleFiltersProps<TData>): react_jsx_runtime2.JSX.Element | null;
1503
+ }: AutoTableSimpleFiltersProps<TData>): react_jsx_runtime3.JSX.Element | null;
1504
1504
  //#endregion
1505
1505
  //#region src/components/auto-crud/form-modal.d.ts
1506
1506
  type ModalVariant = 'dialog' | 'sheet';
@@ -1544,7 +1544,7 @@ declare function CrudFormModal<T extends z.ZodObject<z.ZodRawShape>>({
1544
1544
  labelAlign,
1545
1545
  labelWidth,
1546
1546
  className
1547
- }: CrudFormModalProps<T>): react_jsx_runtime2.JSX.Element;
1547
+ }: CrudFormModalProps<T>): react_jsx_runtime3.JSX.Element;
1548
1548
  //#endregion
1549
1549
  //#region src/components/auto-crud/import-dialog.d.ts
1550
1550
  interface ImportDialogProps {
@@ -1566,7 +1566,7 @@ declare function ImportDialog({
1566
1566
  columns,
1567
1567
  title,
1568
1568
  locale
1569
- }: ImportDialogProps): react_jsx_runtime2.JSX.Element;
1569
+ }: ImportDialogProps): react_jsx_runtime3.JSX.Element;
1570
1570
  //#endregion
1571
1571
  //#region src/components/auto-crud/export-dialog.d.ts
1572
1572
  type ExportMode = 'selected' | 'filtered';
@@ -1586,7 +1586,7 @@ declare function ExportDialog({
1586
1586
  selectedCount,
1587
1587
  onExport,
1588
1588
  canExportFiltered
1589
- }: ExportDialogProps): react_jsx_runtime2.JSX.Element;
1589
+ }: ExportDialogProps): react_jsx_runtime3.JSX.Element;
1590
1590
  //#endregion
1591
1591
  //#region src/components/data-table/data-table.d.ts
1592
1592
  interface DataTableProps<TData> extends React$1.ComponentProps<'div'> {
@@ -1601,7 +1601,7 @@ declare function DataTable<TData>({
1601
1601
  className,
1602
1602
  classNames,
1603
1603
  ...props
1604
- }: DataTableProps<TData>): react_jsx_runtime2.JSX.Element;
1604
+ }: DataTableProps<TData>): react_jsx_runtime3.JSX.Element;
1605
1605
  //#endregion
1606
1606
  //#region src/components/data-table/data-table-advanced-toolbar.d.ts
1607
1607
  interface DataTableAdvancedToolbarProps<TData> extends React$1.ComponentProps<'div'> {
@@ -1612,7 +1612,7 @@ declare function DataTableAdvancedToolbar<TData>({
1612
1612
  children,
1613
1613
  className,
1614
1614
  ...props
1615
- }: DataTableAdvancedToolbarProps<TData>): react_jsx_runtime2.JSX.Element;
1615
+ }: DataTableAdvancedToolbarProps<TData>): react_jsx_runtime3.JSX.Element;
1616
1616
  //#endregion
1617
1617
  //#region src/components/data-table/data-table-column-header.d.ts
1618
1618
  interface DataTableColumnHeaderProps<TData, TValue> extends React.ComponentProps<typeof DropdownMenuTrigger> {
@@ -1624,7 +1624,7 @@ declare function DataTableColumnHeader<TData, TValue>({
1624
1624
  label,
1625
1625
  className,
1626
1626
  ...props
1627
- }: DataTableColumnHeaderProps<TData, TValue>): react_jsx_runtime2.JSX.Element;
1627
+ }: DataTableColumnHeaderProps<TData, TValue>): react_jsx_runtime3.JSX.Element;
1628
1628
  //#endregion
1629
1629
  //#region src/components/data-table/data-table-faceted-filter.d.ts
1630
1630
  interface DataTableFacetedFilterProps<TData, TValue> {
@@ -1638,7 +1638,7 @@ declare function DataTableFacetedFilter<TData, TValue>({
1638
1638
  title,
1639
1639
  options,
1640
1640
  multiple
1641
- }: DataTableFacetedFilterProps<TData, TValue>): react_jsx_runtime2.JSX.Element;
1641
+ }: DataTableFacetedFilterProps<TData, TValue>): react_jsx_runtime3.JSX.Element;
1642
1642
  //#endregion
1643
1643
  //#region src/components/data-table/data-table-pagination.d.ts
1644
1644
  interface DataTablePaginationProps<TData> extends React.ComponentProps<'div'> {
@@ -1650,7 +1650,7 @@ declare function DataTablePagination<TData>({
1650
1650
  pageSizeOptions,
1651
1651
  className,
1652
1652
  ...props
1653
- }: DataTablePaginationProps<TData>): react_jsx_runtime2.JSX.Element;
1653
+ }: DataTablePaginationProps<TData>): react_jsx_runtime3.JSX.Element;
1654
1654
  //#endregion
1655
1655
  //#region src/components/data-table/data-table-toolbar.d.ts
1656
1656
  interface DataTableToolbarProps<TData> extends React$1.ComponentProps<'div'> {
@@ -1661,7 +1661,7 @@ declare function DataTableToolbar<TData>({
1661
1661
  children,
1662
1662
  className,
1663
1663
  ...props
1664
- }: DataTableToolbarProps<TData>): react_jsx_runtime2.JSX.Element;
1664
+ }: DataTableToolbarProps<TData>): react_jsx_runtime3.JSX.Element;
1665
1665
  //#endregion
1666
1666
  //#region src/components/data-table/data-table-view-options.d.ts
1667
1667
  interface DataTableViewOptionsProps<TData> extends React$1.ComponentProps<typeof PopoverContent> {
@@ -1672,7 +1672,7 @@ declare function DataTableViewOptions<TData>({
1672
1672
  table,
1673
1673
  disabled,
1674
1674
  ...props
1675
- }: DataTableViewOptionsProps<TData>): react_jsx_runtime2.JSX.Element;
1675
+ }: DataTableViewOptionsProps<TData>): react_jsx_runtime3.JSX.Element;
1676
1676
  //#endregion
1677
1677
  //#region src/lib/crud-actions.d.ts
1678
1678
  type CrudActionZone = 'toolbar' | 'row' | 'batch';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wordrhyme/auto-crud",
3
3
  "type": "module",
4
- "version": "1.7.0",
4
+ "version": "1.7.1",
5
5
  "description": "Schema-first CRUD components with auto-generated tables and forms",
6
6
  "author": "wordrhyme",
7
7
  "license": "MIT",
@@ -66,8 +66,8 @@
66
66
  "tailwind-merge": "^3.5.0",
67
67
  "vaul": "^1.1.2",
68
68
  "@wordrhyme/shadcn": "2.0.0",
69
- "@wordrhyme/formily-shadcn": "2.0.0",
70
- "@wordrhyme/shadcn-ui": "2.0.0"
69
+ "@wordrhyme/formily-shadcn": "2.0.1",
70
+ "@wordrhyme/shadcn-ui": "2.0.1"
71
71
  },
72
72
  "devDependencies": {
73
73
  "@storybook/react": "^8.6.18",
@@ -89,8 +89,8 @@
89
89
  "typescript": "^5.9.3",
90
90
  "vitest": "^3.2.4",
91
91
  "@internal/eslint-config": "0.3.0",
92
- "@internal/prettier-config": "0.0.1",
93
92
  "@internal/tsconfig": "0.1.0",
93
+ "@internal/prettier-config": "0.0.1",
94
94
  "@internal/tsdown-config": "0.1.0",
95
95
  "@internal/vitest-config": "0.1.0"
96
96
  },