@sqlrooms/room-shell 0.24.0 → 0.24.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.
Files changed (2) hide show
  1. package/README.md +6 -6
  2. package/package.json +11 -11
package/README.md CHANGED
@@ -41,7 +41,7 @@ The room-shell package uses Zustand for state management. You can create a custo
41
41
 
42
42
  ```tsx
43
43
  import {
44
- createRoomSlice,
44
+ createRoomShellSlice,
45
45
  createRoomStore,
46
46
  RoomState,
47
47
  BaseRoomConfig,
@@ -67,7 +67,7 @@ export const {roomStore, useRoomStore} = createRoomStore<
67
67
  MyRoomState
68
68
  >((set, get, store) => ({
69
69
  // Base room slice with initial configuration
70
- ...createRoomSlice<MyRoomConfig>({
70
+ ...createRoomShellSlice<MyRoomConfig>({
71
71
  config: {
72
72
  title: 'My Room',
73
73
  layout: {
@@ -120,7 +120,7 @@ The room configuration is designed to be persisted between sessions. You can use
120
120
  ```tsx
121
121
  import {persist} from 'zustand/middleware';
122
122
  import {
123
- createRoomSlice,
123
+ createRoomShellSlice,
124
124
  createRoomStore,
125
125
  RoomState,
126
126
  BaseRoomConfig,
@@ -147,7 +147,7 @@ export const {roomStore, useRoomStore} = createRoomStore<
147
147
  persist(
148
148
  (set, get, store) => ({
149
149
  // Base room slice
150
- ...createRoomSlice<MyRoomConfig>({
150
+ ...createRoomShellSlice<MyRoomConfig>({
151
151
  config: {
152
152
  title: 'My Room',
153
153
  layout: {
@@ -187,7 +187,7 @@ For larger applications, you can organize your state into feature slices:
187
187
 
188
188
  ```tsx
189
189
  import {
190
- createRoomSlice,
190
+ createRoomShellSlice,
191
191
  createRoomStore,
192
192
  RoomState,
193
193
  } from '@sqlrooms/room-shell';
@@ -206,7 +206,7 @@ export const {roomStore, useRoomStore} = createRoomStore<
206
206
  RoomState
207
207
  >((set, get, store) => ({
208
208
  // Base room slice
209
- ...createRoomSlice<MyRoomConfig>({
209
+ ...createRoomShellSlice<MyRoomConfig>({
210
210
  config: {
211
211
  /* initial config */
212
212
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sqlrooms/room-shell",
3
- "version": "0.24.0",
3
+ "version": "0.24.1",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "module": "dist/index.js",
@@ -25,23 +25,23 @@
25
25
  "typedoc": "typedoc"
26
26
  },
27
27
  "dependencies": {
28
- "@sqlrooms/data-table": "0.24.0",
29
- "@sqlrooms/duckdb": "0.24.0",
30
- "@sqlrooms/layout": "0.24.0",
31
- "@sqlrooms/layout-config": "0.24.0",
32
- "@sqlrooms/room-config": "0.24.0",
33
- "@sqlrooms/room-store": "0.24.0",
34
- "@sqlrooms/ui": "0.24.0",
35
- "@sqlrooms/utils": "0.24.0",
28
+ "@sqlrooms/data-table": "0.24.1",
29
+ "@sqlrooms/duckdb": "0.24.1",
30
+ "@sqlrooms/layout": "0.24.1",
31
+ "@sqlrooms/layout-config": "0.24.1",
32
+ "@sqlrooms/room-config": "0.24.1",
33
+ "@sqlrooms/room-store": "0.24.1",
34
+ "@sqlrooms/ui": "0.24.1",
35
+ "@sqlrooms/utils": "0.24.1",
36
36
  "apache-arrow": "17.0.0",
37
37
  "immer": "^10.1.1",
38
38
  "lucide-react": "^0.474.0",
39
39
  "react-mosaic-component": "5.3.0",
40
- "zod": "^3.25.57",
40
+ "zod": "^3.25.73",
41
41
  "zustand": "^5.0.5"
42
42
  },
43
43
  "peerDependencies": {
44
44
  "react": ">=18"
45
45
  },
46
- "gitHead": "0333218cee4486dc99c692499c251e8e2cf9b0bc"
46
+ "gitHead": "4e19f7348a545023fefba724b18fbbad8bf87c32"
47
47
  }