@syook/react-tabulous 4.0.0-beta-0.17 → 4.0.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.
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  export declare const StyledSpaceDiv: import("@emotion/styled").StyledComponent<{
3
3
  theme?: import("@emotion/react").Theme | undefined;
4
- as?: React.ElementType<any> | undefined;
4
+ as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
5
5
  }, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
6
6
  export declare const GridToolbar: React.FC;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  export declare const ButtonStyle: import("@emotion/styled").StyledComponent<{
3
3
  theme?: import("@emotion/react").Theme | undefined;
4
- as?: import("react").ElementType<any> | undefined;
4
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
5
5
  }, import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {}>;
@@ -10,7 +10,7 @@ export type ButtonProps = React.HTMLAttributes<HTMLButtonElement> & {
10
10
  iconClass?: string;
11
11
  };
12
12
  export declare const Button: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLButtonElement> & {
13
- variant?: "text" | "outline" | "contained" | undefined;
13
+ variant?: "text" | "contained" | "outline" | undefined;
14
14
  icon?: React.ReactNode;
15
15
  loading?: boolean | undefined;
16
16
  disabled?: boolean | undefined;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  export declare const InputStyle: import("@emotion/styled").StyledComponent<{
3
3
  theme?: import("@emotion/react").Theme | undefined;
4
- as?: import("react").ElementType<any> | undefined;
4
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
5
5
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -2,7 +2,7 @@
2
2
  import { type Icons } from './icon';
3
3
  export declare const Menu: import("@emotion/styled").StyledComponent<{
4
4
  theme?: import("@emotion/react").Theme | undefined;
5
- as?: import("react").ElementType<any> | undefined;
5
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
6
6
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, {}>;
7
7
  type MenuItemProps = React.HTMLAttributes<HTMLLIElement> & {
8
8
  disabled?: boolean;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  export declare const SelectStyle: import("@emotion/styled").StyledComponent<{
3
3
  theme?: import("@emotion/react").Theme | undefined;
4
- as?: import("react").ElementType<any> | undefined;
4
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
5
5
  }, import("react").DetailedHTMLProps<import("react").SelectHTMLAttributes<HTMLSelectElement>, HTMLSelectElement>, {}>;
@@ -1,3 +1,3 @@
1
1
  export declare const getColumnsData: (columns: any) => any;
2
- export declare const getRowsData: (rows: any, columns: any) => any;
2
+ export declare const getRowsData: (rows: any, columns: any, emptyPlaceholder: string) => any;
3
3
  export declare const useGridExport: () => any;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  export declare const DataGridStyle: import("@emotion/styled").StyledComponent<{
3
3
  theme?: import("@emotion/react").Theme | undefined;
4
- as?: import("react").ElementType<any> | undefined;
4
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
5
5
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@syook/react-tabulous",
3
- "version": "4.0.0-beta-0.17",
3
+ "version": "4.0.1",
4
4
  "description": "Terrifically fabulous React Table",
5
5
  "main": "lib/index.js",
6
6
  "module": "lib/index.esm.js",
@@ -46,54 +46,50 @@
46
46
  "prettier:fix": "prettier . -c --config .prettierrc --write",
47
47
  "rollup": "rm -rf lib && rollup -c",
48
48
  "build:dev": "npm run rollup && npm pack",
49
- "npm-publish": "yarn install && npm run build:dev && npm publish"
49
+ "npm-publish": "npm install && npm run build:dev && npm publish"
50
50
  },
51
51
  "dependencies": {
52
- "@popperjs/core": "2.11.7"
52
+ "@popperjs/core": "2.11.8"
53
53
  },
54
54
  "devDependencies": {
55
- "@emotion/react": "11.11.0",
56
- "@emotion/styled": "11.11.0",
55
+ "@emotion/react": "11.11.4",
56
+ "@emotion/styled": "11.11.5",
57
57
  "@rollup/plugin-babel": "6.0.3",
58
58
  "@rollup/plugin-commonjs": "^25.0.0",
59
59
  "@rollup/plugin-image": "3.0.2",
60
60
  "@rollup/plugin-node-resolve": "^15.0.2",
61
61
  "@rollup/plugin-terser": "0.4.3",
62
62
  "@rollup/plugin-typescript": "11.1.1",
63
- "@testing-library/jest-dom": "^5.16.5",
64
- "@testing-library/react": "^14.0.0",
65
- "@testing-library/user-event": "^14.4.3",
66
- "@types/jest": "^29.5.1",
67
- "@types/node": "^20.2.1",
68
- "@types/react": "^18.2.6",
69
- "@types/react-dom": "^18.2.4",
70
- "@typescript-eslint/eslint-plugin": "^5.59.6",
71
- "eslint": "^8.40.0",
63
+ "@testing-library/jest-dom": "^5.17.0",
64
+ "@testing-library/react": "^13.4.0",
65
+ "@testing-library/user-event": "^13.5.0",
66
+ "@types/jest": "^27.5.2",
67
+ "@types/node": "^16.18.96",
68
+ "@types/react": "^18.3.1",
69
+ "@types/react-dom": "^18.3.0",
70
+ "@typescript-eslint/eslint-plugin": "^6.4.0",
71
+ "eslint": "^8.0.1",
72
72
  "eslint-config-prettier": "8.8.0",
73
- "eslint-config-standard-with-typescript": "^34.0.1",
73
+ "eslint-config-standard-with-typescript": "^43.0.1",
74
74
  "eslint-plugin-import": "^2.27.5",
75
- "eslint-plugin-n": "^16.0.0",
75
+ "eslint-plugin-n": "^15.0.0 || ^16.0.0 ",
76
76
  "eslint-plugin-prettier": "^4.2.1",
77
- "eslint-plugin-promise": "^6.1.1",
78
- "eslint-plugin-react": "^7.32.2",
77
+ "eslint-plugin-promise": "^6.0.0",
78
+ "eslint-plugin-react": "^7.34.1",
79
79
  "eslint-plugin-react-hooks": "4.6.0",
80
- "husky": "^8.0.3",
81
- "prettier": "2.8.8",
82
- "react": "^18.2.0",
83
- "react-dom": "^18.2.0",
80
+ "husky": "^9.0.11",
81
+ "prettier": "3.2.5",
82
+ "react": "^18.3.1",
83
+ "react-dom": "^18.3.1",
84
84
  "react-scripts": "5.0.1",
85
85
  "rollup": "^3.22.0",
86
86
  "rollup-plugin-dts": "5.3.0",
87
87
  "rollup-plugin-peer-deps-external": "^2.2.4",
88
88
  "rollup-plugin-postcss": "^4.0.2",
89
89
  "rollup-plugin-react-svg": "3.0.3",
90
- "typescript": "^5.0.4",
90
+ "typescript": "^4.9.5",
91
91
  "web-vitals": "^3.3.1"
92
92
  },
93
- "peerDependencies": {
94
- "react": "^version",
95
- "react-dom": "^version"
96
- },
97
93
  "browserslist": {
98
94
  "production": [
99
95
  ">0.2%",
@@ -1,5 +0,0 @@
1
- import { type ReactElement } from 'react';
2
- import { type RenderOptions } from '@testing-library/react';
3
- declare const customRender: (ui: ReactElement, options?: Omit<RenderOptions, 'wrapper'>) => import("@testing-library/react").RenderResult<typeof import("@testing-library/dom/types/queries"), HTMLElement, HTMLElement>;
4
- export * from '@testing-library/react';
5
- export { customRender };