@sqlrooms/cosmos 0.26.1-rc.1 → 0.26.1-rc.11
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/dist/index.d.ts +5 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +8 -8
package/dist/index.d.ts
CHANGED
|
@@ -3,14 +3,15 @@
|
|
|
3
3
|
* @packageDocumentation
|
|
4
4
|
*/
|
|
5
5
|
export { CosmosGraph } from './CosmosGraph';
|
|
6
|
+
export type { CosmosGraphProps } from './CosmosGraph';
|
|
6
7
|
export { CosmosGraphControls } from './CosmosGraphControls';
|
|
7
8
|
/**
|
|
8
9
|
* A component that provides fine-grained controls for the graph simulation parameters.
|
|
9
10
|
*/
|
|
10
11
|
export { CosmosSimulationControls } from './CosmosSimulationControls';
|
|
11
|
-
export type { CosmosGraphProps } from './CosmosGraph';
|
|
12
12
|
export { useHoverState } from './hooks/useHoverState';
|
|
13
|
-
export
|
|
14
|
-
export {
|
|
15
|
-
export
|
|
13
|
+
export type { HoverState } from './hooks/useHoverState';
|
|
14
|
+
export { createCosmosSlice, useStoreWithCosmos } from './CosmosSlice';
|
|
15
|
+
export type { CosmosSliceState, RoomStateWithCosmos } from './CosmosSlice';
|
|
16
|
+
export { CosmosSliceConfig, createDefaultCosmosConfig, } from './CosmosSliceConfig';
|
|
16
17
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAAC,WAAW,EAAC,MAAM,eAAe,CAAC;AAC1C,OAAO,EAAC,mBAAmB,EAAC,MAAM,uBAAuB,CAAC;AAE1D;;GAEG;AACH,OAAO,EAAC,wBAAwB,EAAC,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAAC,WAAW,EAAC,MAAM,eAAe,CAAC;AAC1C,YAAY,EAAC,gBAAgB,EAAC,MAAM,eAAe,CAAC;AACpD,OAAO,EAAC,mBAAmB,EAAC,MAAM,uBAAuB,CAAC;AAE1D;;GAEG;AACH,OAAO,EAAC,wBAAwB,EAAC,MAAM,4BAA4B,CAAC;AAGpE,OAAO,EAAC,aAAa,EAAC,MAAM,uBAAuB,CAAC;AACpD,YAAY,EAAC,UAAU,EAAC,MAAM,uBAAuB,CAAC;AACtD,OAAO,EAAC,iBAAiB,EAAE,kBAAkB,EAAC,MAAM,eAAe,CAAC;AACpE,YAAY,EAAC,gBAAgB,EAAE,mBAAmB,EAAC,MAAM,eAAe,CAAC;AAIzE,OAAO,EACL,iBAAiB,EACjB,yBAAyB,GAC1B,MAAM,qBAAqB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -11,8 +11,8 @@ export { CosmosGraphControls } from './CosmosGraphControls';
|
|
|
11
11
|
export { CosmosSimulationControls } from './CosmosSimulationControls';
|
|
12
12
|
// State management
|
|
13
13
|
export { useHoverState } from './hooks/useHoverState';
|
|
14
|
-
export { createCosmosSlice, useStoreWithCosmos
|
|
15
|
-
export { CosmosSliceConfig, createDefaultCosmosConfig, } from './CosmosSliceConfig';
|
|
14
|
+
export { createCosmosSlice, useStoreWithCosmos } from './CosmosSlice';
|
|
16
15
|
// Configuration
|
|
17
|
-
export
|
|
16
|
+
// Values also export their corresponding types automatically (Zod pattern)
|
|
17
|
+
export { CosmosSliceConfig, createDefaultCosmosConfig, } from './CosmosSliceConfig';
|
|
18
18
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,aAAa;AACb,OAAO,EAAC,WAAW,EAAC,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,aAAa;AACb,OAAO,EAAC,WAAW,EAAC,MAAM,eAAe,CAAC;AAE1C,OAAO,EAAC,mBAAmB,EAAC,MAAM,uBAAuB,CAAC;AAE1D;;GAEG;AACH,OAAO,EAAC,wBAAwB,EAAC,MAAM,4BAA4B,CAAC;AAEpE,mBAAmB;AACnB,OAAO,EAAC,aAAa,EAAC,MAAM,uBAAuB,CAAC;AAEpD,OAAO,EAAC,iBAAiB,EAAE,kBAAkB,EAAC,MAAM,eAAe,CAAC;AAGpE,gBAAgB;AAChB,2EAA2E;AAC3E,OAAO,EACL,iBAAiB,EACjB,yBAAyB,GAC1B,MAAM,qBAAqB,CAAC","sourcesContent":["/**\n * {@include ../README.md}\n * @packageDocumentation\n */\n\n// Components\nexport {CosmosGraph} from './CosmosGraph';\nexport type {CosmosGraphProps} from './CosmosGraph';\nexport {CosmosGraphControls} from './CosmosGraphControls';\n\n/**\n * A component that provides fine-grained controls for the graph simulation parameters.\n */\nexport {CosmosSimulationControls} from './CosmosSimulationControls';\n\n// State management\nexport {useHoverState} from './hooks/useHoverState';\nexport type {HoverState} from './hooks/useHoverState';\nexport {createCosmosSlice, useStoreWithCosmos} from './CosmosSlice';\nexport type {CosmosSliceState, RoomStateWithCosmos} from './CosmosSlice';\n\n// Configuration\n// Values also export their corresponding types automatically (Zod pattern)\nexport {\n CosmosSliceConfig,\n createDefaultCosmosConfig,\n} from './CosmosSliceConfig';\n"]}
|
package/package.json
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sqlrooms/cosmos",
|
|
3
|
-
"version": "0.26.1-rc.
|
|
3
|
+
"version": "0.26.1-rc.11",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"module": "dist/index.js",
|
|
7
7
|
"type": "module",
|
|
8
|
+
"sideEffects": false,
|
|
8
9
|
"author": "Ilya Boyandin <ilya@boyandin.me>",
|
|
9
10
|
"license": "MIT",
|
|
10
11
|
"repository": {
|
|
@@ -18,12 +19,11 @@
|
|
|
18
19
|
"access": "public"
|
|
19
20
|
},
|
|
20
21
|
"dependencies": {
|
|
21
|
-
"@cosmograph/cosmos": "2.0.0-beta.
|
|
22
|
-
"@sqlrooms/room-
|
|
23
|
-
"@sqlrooms/
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"lucide-react": "^0.555.0",
|
|
22
|
+
"@cosmograph/cosmos": "2.0.0-beta.26",
|
|
23
|
+
"@sqlrooms/room-shell": "0.26.1-rc.11",
|
|
24
|
+
"@sqlrooms/ui": "0.26.1-rc.11",
|
|
25
|
+
"immer": "^11.0.1",
|
|
26
|
+
"lucide-react": "^0.556.0",
|
|
27
27
|
"zod": "^4.1.8",
|
|
28
28
|
"zustand": "^5.0.8"
|
|
29
29
|
},
|
|
@@ -38,5 +38,5 @@
|
|
|
38
38
|
"typecheck": "tsc --noEmit",
|
|
39
39
|
"typedoc": "typedoc"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "2675a4e65108dbbe67baac8a7dce471d5a688df7"
|
|
42
42
|
}
|