@sqrzro/admin 2.1.0-bz.23 → 2.1.0-bz.25

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.
@@ -2,7 +2,7 @@
2
2
  import type { FilterObject } from '../FilterBar';
3
3
  import type { ListComponentProps } from '../ListComponent';
4
4
  export interface ListProps<Item extends object, Params> extends Omit<ListComponentProps<Item, Params>, 'actions'> {
5
- actions: (data: Record<string, unknown>) => React.ReactNode;
5
+ actions?: (data: Record<string, unknown>) => React.ReactNode;
6
6
  filters?: FilterObject[];
7
7
  }
8
8
  declare function List<Item extends object, Params>({ filters, hasSearch, ...props }: Readonly<ListProps<Item, Params>>): Promise<React.ReactElement>;
@@ -107,7 +107,7 @@ const classNames = twx({
107
107
  panel: 'text-center text-lg font-semibold text-white',
108
108
  }),
109
109
  modal: () => ({
110
- root: 'open:backdrop:fade py-16 backdrop:bg-slate-700/50 backdrop:backdrop-blur-sm',
110
+ root: 'open:backdrop:fade py-16 backdrop:bg-slate-700/50',
111
111
  panel: 'show bg-panel row-start-2 mx-auto w-full max-w-lg rounded p-6 text-left shadow-xl',
112
112
  title: 'mb-6 text-lg font-semibold',
113
113
  actions: 'flex justify-end border-t border-slate-200 pt-6',
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sqrzro/admin",
3
3
  "type": "module",
4
- "version": "2.1.0-bz.23",
4
+ "version": "2.1.0-bz.25",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "license": "ISC",