@buerli.io/react-cad 0.5.0-beta.1 → 0.5.0-beta.3

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,2 +1,3 @@
1
1
  import React from 'react';
2
+ import './Handlers.css';
2
3
  export declare const Handlers: React.FC;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const Regions: React.FC;
@@ -1,4 +1,4 @@
1
- import { DrawingID, ObjectID } from "@buerli.io/core";
1
+ import { DrawingID, ObjectID } from '@buerli.io/core';
2
2
  /**
3
3
  * Simple helper functions for file interaction.
4
4
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@buerli.io/react-cad",
3
- "version": "0.5.0-beta.1",
3
+ "version": "0.5.0-beta.3",
4
4
  "description": "buerli CAD components",
5
5
  "author": "AWV Informatik AG <info@awv-informatik.ch>",
6
6
  "repository": {},
@@ -17,22 +17,13 @@
17
17
  "test": "jest --silent",
18
18
  "testVerbose": "jest",
19
19
  "lint": "eslint \"./src/**/*.ts?(x)\"",
20
- "prettier": "prettier --write \"./{src,tests}/**/*.{js,jsx,ts,tsx,json}\""
20
+ "prettify": "prettier --write \"./{src,tests}/**/*.{js,jsx,ts,tsx,json}\""
21
21
  },
22
22
  "husky": {
23
23
  "hooks": {
24
24
  "pre-commit": "lint-staged"
25
25
  }
26
26
  },
27
- "prettier": {
28
- "semi": false,
29
- "arrowParens": "avoid",
30
- "trailingComma": "all",
31
- "singleQuote": true,
32
- "jsxBracketSameLine": true,
33
- "tabWidth": 2,
34
- "printWidth": 120
35
- },
36
27
  "lint-staged": {
37
28
  "*.{js,jsx,ts,tsx,json,md}": [
38
29
  "prettier --write",
@@ -61,23 +52,26 @@
61
52
  "@types/styled-components": "^5.1.14",
62
53
  "@types/three": "^0.143",
63
54
  "@types/uuid": "^3.4.5",
64
- "@typescript-eslint/eslint-plugin": "4.13.0",
65
- "@typescript-eslint/parser": "4.13.0",
55
+ "@typescript-eslint/eslint-plugin": "^5.21.0",
56
+ "@typescript-eslint/parser": "^5.21.0",
66
57
  "babel-jest": "^26.1.0",
67
58
  "babel-plugin-module-resolver": "^4.0.0",
68
59
  "babel-polyfill": "^6.26.0",
69
- "eslint": "7.17.0",
70
- "eslint-config-prettier": "7.1.0",
71
- "eslint-plugin-promise": "^4.2.1",
72
- "eslint-plugin-react": "^7.22.0",
73
- "eslint-plugin-react-hooks": "^4.2.0",
60
+ "eslint": "8.0.0",
61
+ "eslint-config-prettier": "^8.3.0",
62
+ "eslint-formatter-codeframe": "^7.32.1",
63
+ "eslint-plugin-no-only-tests": "^2.6.0",
64
+ "eslint-plugin-prettier": "^4.0.0",
65
+ "eslint-plugin-promise": "4.2.1",
66
+ "eslint-plugin-react": "^7.31.11",
67
+ "eslint-plugin-react-hooks": "^4.6.0",
74
68
  "husky": "4.3.7",
75
69
  "immer": "^7.0.7",
76
70
  "jest": "^29.1.2",
77
71
  "jest-environment-jsdom": "^29.1.2",
78
72
  "lint-staged": "10.5.3",
79
73
  "postcss": "^8.2.14",
80
- "prettier": "^2.2.1",
74
+ "prettier": "^2.4.0",
81
75
  "react": "18.0.0",
82
76
  "react-dom": "18.0.0",
83
77
  "react-test-renderer": "^16.13.1",
@@ -97,8 +91,8 @@
97
91
  },
98
92
  "dependencies": {
99
93
  "@ant-design/compatible": "^1.0.8",
100
- "@buerli.io/classcad": "0.5.0-beta.1",
101
- "@buerli.io/react": "0.5.0-beta.1",
94
+ "@buerli.io/classcad": "0.5.0-beta.3",
95
+ "@buerli.io/react": "0.5.0-beta.3",
102
96
  "@react-three/postprocessing": "2.6.2",
103
97
  "antd": "^4.23.4",
104
98
  "path-browserify": "^1.0.1",
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- import { DrawingID, ObjectID } from '@buerli.io/core';
3
- export declare const PreviewButton: React.FC<{
4
- drawingId: DrawingID;
5
- objId: ObjectID;
6
- preview: () => Promise<void>;
7
- stopPreview: React.MutableRefObject<() => void>;
8
- }>;