atom.io 0.30.4 → 0.30.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "atom.io",
3
- "version": "0.30.4",
3
+ "version": "0.30.5",
4
4
  "description": "Composable and testable reactive data library.",
5
5
  "homepage": "https://atom.io.fyi",
6
6
  "sideEffects": false,
@@ -21,7 +21,7 @@
21
21
  "@testing-library/react": ">=14.0.0",
22
22
  "eslint": ">=9.0.0",
23
23
  "motion": ">=11.0.0",
24
- "react": ">=18.0.0",
24
+ "react": "^18.0.0 || ^19.0.0",
25
25
  "socket.io": ">=4.0.0",
26
26
  "socket.io-client": ">=4.0.0"
27
27
  },
@@ -52,39 +52,39 @@
52
52
  }
53
53
  },
54
54
  "devDependencies": {
55
- "@testing-library/react": "16.0.1",
55
+ "@testing-library/react": "16.1.0",
56
56
  "@types/eslint": "9.6.1",
57
57
  "@types/estree": "1.0.6",
58
58
  "@types/http-proxy": "1.17.15",
59
59
  "@types/npmlog": "7.0.0",
60
- "@types/react": "18.3.12",
60
+ "@types/react": "19.0.1",
61
61
  "@types/tmp": "0.2.6",
62
- "@typescript-eslint/parser": "8.15.0",
63
- "@typescript-eslint/rule-tester": "8.15.0",
64
- "@vitest/coverage-v8": "2.1.5",
65
- "@vitest/ui": "2.1.5",
62
+ "@typescript-eslint/parser": "8.17.0",
63
+ "@typescript-eslint/rule-tester": "8.17.0",
64
+ "@vitest/coverage-v8": "3.0.0-beta.1",
65
+ "@vitest/ui": "3.0.0-beta.1",
66
66
  "concurrently": "9.1.0",
67
- "drizzle-kit": "0.28.1",
68
- "drizzle-orm": "0.36.3",
69
- "eslint": "9.15.0",
70
- "happy-dom": "15.11.6",
67
+ "drizzle-kit": "0.29.1",
68
+ "drizzle-orm": "0.37.0",
69
+ "eslint": "9.16.0",
70
+ "happy-dom": "15.11.7",
71
71
  "http-proxy": "1.18.1",
72
- "motion": "11.11.17",
72
+ "motion": "11.13.1",
73
73
  "npmlog": "7.0.1",
74
74
  "postgres": "3.4.5",
75
- "preact": "10.24.3",
76
- "react": "18.3.1",
77
- "react-dom": "18.3.1",
78
- "react-router-dom": "6.28.0",
75
+ "preact": "10.25.1",
76
+ "react": "19.0.0",
77
+ "react-dom": "19.0.0",
78
+ "react-router-dom": "7.0.2",
79
79
  "socket.io": "4.8.1",
80
80
  "socket.io-client": "4.8.1",
81
81
  "tmp": "0.2.3",
82
82
  "tsup": "8.3.5",
83
83
  "tsx": "4.19.2",
84
- "typescript": "5.6.3",
85
- "vite": "5.4.11",
86
- "vite-tsconfig-paths": "5.1.3",
87
- "vitest": "2.1.5",
84
+ "typescript": "5.7.2",
85
+ "vite": "6.0.3",
86
+ "vite-tsconfig-paths": "5.1.4",
87
+ "vitest": "3.0.0-beta.1",
88
88
  "zod": "3.23.8"
89
89
  },
90
90
  "main": "dist/index.js",
@@ -1,5 +1,5 @@
1
1
  /* react-devtools/src/devtools.scss */
2
- main.atom_io_devtools {
2
+ main[data-css=atom_io_devtools] {
3
3
  --fg-color: #eee;
4
4
  --bg-color: #111;
5
5
  --bg-tint1: #222;
@@ -1388,7 +1388,7 @@ var AtomIODevtoolsInternal = () => {
1388
1388
  motion.span,
1389
1389
  {
1390
1390
  ref: constraintsRef,
1391
- className: "atom_io_devtools_zone",
1391
+ "data-css": "atom_io_devtools_zone",
1392
1392
  style: {
1393
1393
  position: `fixed`,
1394
1394
  top: 0,
@@ -1404,7 +1404,7 @@ var AtomIODevtoolsInternal = () => {
1404
1404
  {
1405
1405
  drag: true,
1406
1406
  dragConstraints: constraintsRef,
1407
- className: "atom_io_devtools",
1407
+ "data-css": "atom_io_devtools",
1408
1408
  transition: spring,
1409
1409
  style: devtoolsAreOpen ? {} : {
1410
1410
  backgroundColor: `#0000`,
@@ -18,7 +18,7 @@ export const AtomIODevtools: React.FC = () => {
18
18
  )
19
19
  }
20
20
 
21
- const AtomIODevtoolsInternal = (): JSX.Element => {
21
+ const AtomIODevtoolsInternal = (): React.ReactNode => {
22
22
  const constraintsRef = useRef(null)
23
23
 
24
24
  const {
@@ -41,7 +41,7 @@ const AtomIODevtoolsInternal = (): JSX.Element => {
41
41
  <>
42
42
  <motion.span
43
43
  ref={constraintsRef}
44
- className="atom_io_devtools_zone"
44
+ data-css="atom_io_devtools_zone"
45
45
  style={{
46
46
  position: `fixed`,
47
47
  top: 0,
@@ -54,7 +54,7 @@ const AtomIODevtoolsInternal = (): JSX.Element => {
54
54
  <motion.main
55
55
  drag
56
56
  dragConstraints={constraintsRef}
57
- className="atom_io_devtools"
57
+ data-css="atom_io_devtools"
58
58
  transition={spring}
59
59
  style={
60
60
  devtoolsAreOpen
@@ -1,4 +1,4 @@
1
- main.atom_io_devtools {
1
+ main[data-css="atom_io_devtools"] {
2
2
  --fg-color: #eee;
3
3
  --bg-color: #111;
4
4
  --bg-tint1: #222;