@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 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 { createCosmosSlice, useStoreWithCosmos, type CosmosSliceState, type RoomStateWithCosmos, } from './CosmosSlice';
14
- export { CosmosSliceConfig, createDefaultCosmosConfig, type CosmosSliceConfig as CosmosSliceConfigType, } from './CosmosSliceConfig';
15
- export * from './CosmosSliceConfig';
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
@@ -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;AACpE,YAAY,EAAC,gBAAgB,EAAC,MAAM,eAAe,CAAC;AAGpD,OAAO,EAAC,aAAa,EAAC,MAAM,uBAAuB,CAAC;AACpD,OAAO,EACL,iBAAiB,EACjB,kBAAkB,EAClB,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,GACzB,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,iBAAiB,EACjB,yBAAyB,EACzB,KAAK,iBAAiB,IAAI,qBAAqB,GAChD,MAAM,qBAAqB,CAAC;AAG7B,cAAc,qBAAqB,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, } from './CosmosSlice';
15
- export { CosmosSliceConfig, createDefaultCosmosConfig, } from './CosmosSliceConfig';
14
+ export { createCosmosSlice, useStoreWithCosmos } from './CosmosSlice';
16
15
  // Configuration
17
- export * from './CosmosSliceConfig';
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;AAC1C,OAAO,EAAC,mBAAmB,EAAC,MAAM,uBAAuB,CAAC;AAE1D;;GAEG;AACH,OAAO,EAAC,wBAAwB,EAAC,MAAM,4BAA4B,CAAC;AAGpE,mBAAmB;AACnB,OAAO,EAAC,aAAa,EAAC,MAAM,uBAAuB,CAAC;AACpD,OAAO,EACL,iBAAiB,EACjB,kBAAkB,GAGnB,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,iBAAiB,EACjB,yBAAyB,GAE1B,MAAM,qBAAqB,CAAC;AAE7B,gBAAgB;AAChB,cAAc,qBAAqB,CAAC","sourcesContent":["/**\n * {@include ../README.md}\n * @packageDocumentation\n */\n\n// Components\nexport {CosmosGraph} 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';\nexport type {CosmosGraphProps} from './CosmosGraph';\n\n// State management\nexport {useHoverState} from './hooks/useHoverState';\nexport {\n createCosmosSlice,\n useStoreWithCosmos,\n type CosmosSliceState,\n type RoomStateWithCosmos,\n} from './CosmosSlice';\nexport {\n CosmosSliceConfig,\n createDefaultCosmosConfig,\n type CosmosSliceConfig as CosmosSliceConfigType,\n} from './CosmosSliceConfig';\n\n// Configuration\nexport * from './CosmosSliceConfig';\n"]}
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.1",
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",
22
- "@sqlrooms/room-config": "0.26.1-rc.1",
23
- "@sqlrooms/room-shell": "0.26.1-rc.1",
24
- "@sqlrooms/ui": "0.26.1-rc.1",
25
- "immer": "^10.1.3",
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": "e41ac3e033289faaaab0c2dbce552f1a7d0aea2b"
41
+ "gitHead": "2675a4e65108dbbe67baac8a7dce471d5a688df7"
42
42
  }