@wordrhyme/auto-crud 1.8.0 → 1.8.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.
package/README.md CHANGED
@@ -1608,15 +1608,15 @@ export { humanize } from './lib/humanize';
1608
1608
 
1609
1609
  ## 📄 许可证
1610
1610
 
1611
- MIT © [wordrhyme](https://github.com/pixpilot/shadcn-components)
1611
+ MIT © [wordrhyme](https://github.com/denvey/wordrhyme-components)
1612
1612
 
1613
1613
  ---
1614
1614
 
1615
1615
  ## 🔗 相关链接
1616
1616
 
1617
- - [GitHub](https://github.com/pixpilot/shadcn-components)
1618
- - [文档](https://github.com/pixpilot/shadcn-components/tree/main/packages/auto-crud)
1619
- - [示例](https://github.com/pixpilot/shadcn-components/tree/main/examples)
1617
+ - [GitHub](https://github.com/denvey/wordrhyme-components)
1618
+ - [文档](https://github.com/denvey/wordrhyme-components/tree/main/packages/auto-crud)
1619
+ - [示例](https://github.com/denvey/wordrhyme-components/tree/main/examples)
1620
1620
  - [Changelog](./CHANGELOG.md)
1621
1621
 
1622
1622
  ---
package/dist/index.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime0 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime2 from "react/jsx-runtime";
2
2
  import * as React$1 from "react";
3
3
  import * as _tanstack_react_table0 from "@tanstack/react-table";
4
4
  import { Column, ColumnDef, ColumnMeta, ColumnSort, Row, RowData, Table, TableOptions, TableState } from "@tanstack/react-table";
@@ -734,7 +734,7 @@ declare function AutoTableActionBar<TData>({
734
734
  extraActions,
735
735
  actions,
736
736
  deleteConfirmation
737
- }: AutoTableActionBarProps<TData>): react_jsx_runtime0.JSX.Element;
737
+ }: AutoTableActionBarProps<TData>): react_jsx_runtime2.JSX.Element;
738
738
  //#endregion
739
739
  //#region src/lib/schema-bridge/types.d.ts
740
740
  /**
@@ -923,7 +923,7 @@ declare function AutoTable<T extends z.ZodObject<z.ZodRawShape>>({
923
923
  onSelectedCountChange,
924
924
  onSelectedRowsChange,
925
925
  getSelectedRows
926
- }: AutoTableProps<T>): react_jsx_runtime0.JSX.Element;
926
+ }: AutoTableProps<T>): react_jsx_runtime2.JSX.Element;
927
927
  //#endregion
928
928
  //#region src/lib/row-action-dialog.d.ts
929
929
  interface RowActionDialogProps {
@@ -1475,7 +1475,7 @@ declare function AutoCrudTable<TSchema extends z.ZodObject<z.ZodRawShape>>({
1475
1475
  toolbarActions,
1476
1476
  locale: localeProp,
1477
1477
  onCreate
1478
- }: AutoCrudTableProps<TSchema>): react_jsx_runtime0.JSX.Element;
1478
+ }: AutoCrudTableProps<TSchema>): react_jsx_runtime2.JSX.Element;
1479
1479
  //#endregion
1480
1480
  //#region src/components/auto-crud/auto-form.d.ts
1481
1481
  interface AutoFormProps<T extends z.ZodObject<z.ZodRawShape>> {
@@ -1514,7 +1514,7 @@ declare function AutoFormInner<T extends z.ZodObject<z.ZodRawShape>>({
1514
1514
  labelAlign,
1515
1515
  labelWidth,
1516
1516
  showSubmitButton
1517
- }: AutoFormProps<T>, ref: React.Ref<AutoFormRef>): react_jsx_runtime0.JSX.Element;
1517
+ }: AutoFormProps<T>, ref: React.Ref<AutoFormRef>): react_jsx_runtime2.JSX.Element;
1518
1518
  declare const AutoForm: <T extends z.ZodObject<z.ZodRawShape>>(props: AutoFormProps<T> & {
1519
1519
  ref?: React.Ref<AutoFormRef>;
1520
1520
  }) => ReturnType<typeof AutoFormInner>;
@@ -1533,7 +1533,7 @@ declare function AutoTableSimpleFilters<TData>({
1533
1533
  filters: externalFilters,
1534
1534
  onFiltersChange,
1535
1535
  leading
1536
- }: AutoTableSimpleFiltersProps<TData>): react_jsx_runtime0.JSX.Element | null;
1536
+ }: AutoTableSimpleFiltersProps<TData>): react_jsx_runtime2.JSX.Element | null;
1537
1537
  //#endregion
1538
1538
  //#region src/components/auto-crud/form-modal.d.ts
1539
1539
  type ModalVariant = 'dialog' | 'sheet';
@@ -1577,7 +1577,7 @@ declare function CrudFormModal<T extends z.ZodObject<z.ZodRawShape>>({
1577
1577
  labelAlign,
1578
1578
  labelWidth,
1579
1579
  className
1580
- }: CrudFormModalProps<T>): react_jsx_runtime0.JSX.Element;
1580
+ }: CrudFormModalProps<T>): react_jsx_runtime2.JSX.Element;
1581
1581
  //#endregion
1582
1582
  //#region src/components/auto-crud/import-dialog.d.ts
1583
1583
  interface ImportDialogProps {
@@ -1599,7 +1599,7 @@ declare function ImportDialog({
1599
1599
  columns,
1600
1600
  title,
1601
1601
  locale
1602
- }: ImportDialogProps): react_jsx_runtime0.JSX.Element;
1602
+ }: ImportDialogProps): react_jsx_runtime2.JSX.Element;
1603
1603
  //#endregion
1604
1604
  //#region src/components/auto-crud/export-dialog.d.ts
1605
1605
  type ExportMode = 'selected' | 'filtered';
@@ -1619,7 +1619,7 @@ declare function ExportDialog({
1619
1619
  selectedCount,
1620
1620
  onExport,
1621
1621
  canExportFiltered
1622
- }: ExportDialogProps): react_jsx_runtime0.JSX.Element;
1622
+ }: ExportDialogProps): react_jsx_runtime2.JSX.Element;
1623
1623
  //#endregion
1624
1624
  //#region src/components/data-table/data-table.d.ts
1625
1625
  interface DataTableProps<TData> extends React$1.ComponentProps<'div'> {
@@ -1636,7 +1636,7 @@ declare function DataTable<TData>({
1636
1636
  className,
1637
1637
  classNames,
1638
1638
  ...props
1639
- }: DataTableProps<TData>): react_jsx_runtime0.JSX.Element;
1639
+ }: DataTableProps<TData>): react_jsx_runtime2.JSX.Element;
1640
1640
  //#endregion
1641
1641
  //#region src/components/data-table/data-table-advanced-toolbar.d.ts
1642
1642
  interface DataTableAdvancedToolbarProps<TData> extends React$1.ComponentProps<'div'> {
@@ -1647,7 +1647,7 @@ declare function DataTableAdvancedToolbar<TData>({
1647
1647
  children,
1648
1648
  className,
1649
1649
  ...props
1650
- }: DataTableAdvancedToolbarProps<TData>): react_jsx_runtime0.JSX.Element;
1650
+ }: DataTableAdvancedToolbarProps<TData>): react_jsx_runtime2.JSX.Element;
1651
1651
  //#endregion
1652
1652
  //#region src/components/data-table/data-table-column-header.d.ts
1653
1653
  interface DataTableColumnHeaderProps<TData, TValue> extends React.ComponentProps<typeof DropdownMenuTrigger> {
@@ -1659,7 +1659,7 @@ declare function DataTableColumnHeader<TData, TValue>({
1659
1659
  label,
1660
1660
  className,
1661
1661
  ...props
1662
- }: DataTableColumnHeaderProps<TData, TValue>): react_jsx_runtime0.JSX.Element;
1662
+ }: DataTableColumnHeaderProps<TData, TValue>): react_jsx_runtime2.JSX.Element;
1663
1663
  //#endregion
1664
1664
  //#region src/components/data-table/data-table-faceted-filter.d.ts
1665
1665
  interface DataTableFacetedFilterProps<TData, TValue> {
@@ -1673,7 +1673,7 @@ declare function DataTableFacetedFilter<TData, TValue>({
1673
1673
  title,
1674
1674
  options,
1675
1675
  multiple
1676
- }: DataTableFacetedFilterProps<TData, TValue>): react_jsx_runtime0.JSX.Element;
1676
+ }: DataTableFacetedFilterProps<TData, TValue>): react_jsx_runtime2.JSX.Element;
1677
1677
  //#endregion
1678
1678
  //#region src/components/data-table/data-table-pagination.d.ts
1679
1679
  interface DataTablePaginationProps<TData> extends React.ComponentProps<'div'>, TablePaginationOptions {
@@ -1689,7 +1689,7 @@ declare function DataTablePagination<TData>({
1689
1689
  pageJumpLabel,
1690
1690
  className,
1691
1691
  ...props
1692
- }: DataTablePaginationProps<TData>): react_jsx_runtime0.JSX.Element;
1692
+ }: DataTablePaginationProps<TData>): react_jsx_runtime2.JSX.Element;
1693
1693
  //#endregion
1694
1694
  //#region src/components/data-table/data-table-toolbar.d.ts
1695
1695
  interface DataTableToolbarProps<TData> extends React$1.ComponentProps<'div'> {
@@ -1700,7 +1700,7 @@ declare function DataTableToolbar<TData>({
1700
1700
  children,
1701
1701
  className,
1702
1702
  ...props
1703
- }: DataTableToolbarProps<TData>): react_jsx_runtime0.JSX.Element;
1703
+ }: DataTableToolbarProps<TData>): react_jsx_runtime2.JSX.Element;
1704
1704
  //#endregion
1705
1705
  //#region src/components/data-table/data-table-view-options.d.ts
1706
1706
  interface DataTableViewOptionsProps<TData> extends React$1.ComponentProps<typeof PopoverContent> {
@@ -1711,7 +1711,7 @@ declare function DataTableViewOptions<TData>({
1711
1711
  table,
1712
1712
  disabled,
1713
1713
  ...props
1714
- }: DataTableViewOptionsProps<TData>): react_jsx_runtime0.JSX.Element;
1714
+ }: DataTableViewOptionsProps<TData>): react_jsx_runtime2.JSX.Element;
1715
1715
  //#endregion
1716
1716
  //#region src/lib/crud-actions.d.ts
1717
1717
  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.8.0",
4
+ "version": "1.8.1",
5
5
  "description": "Schema-first CRUD components with auto-generated tables and forms",
6
6
  "author": "wordrhyme",
7
7
  "license": "MIT",
@@ -65,9 +65,9 @@
65
65
  "nanoid": "^5.1.6",
66
66
  "tailwind-merge": "^3.5.0",
67
67
  "vaul": "^1.1.2",
68
- "@wordrhyme/formily-shadcn": "2.1.0",
69
- "@wordrhyme/shadcn-ui": "2.1.0",
70
- "@wordrhyme/shadcn": "2.0.0"
68
+ "@wordrhyme/formily-shadcn": "2.1.1",
69
+ "@wordrhyme/shadcn": "2.0.1",
70
+ "@wordrhyme/shadcn-ui": "2.1.1"
71
71
  },
72
72
  "devDependencies": {
73
73
  "@storybook/react": "^8.6.18",
@@ -88,8 +88,8 @@
88
88
  "tsdown": "^0.15.12",
89
89
  "typescript": "^5.9.3",
90
90
  "vitest": "^3.2.4",
91
- "@internal/prettier-config": "0.0.1",
92
91
  "@internal/eslint-config": "0.3.0",
92
+ "@internal/prettier-config": "0.0.1",
93
93
  "@internal/tsconfig": "0.1.0",
94
94
  "@internal/tsdown-config": "0.1.0",
95
95
  "@internal/vitest-config": "0.1.0"