@vivix-labs/studio-workbench 1.0.0-beta.14 → 1.0.0-beta.15

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.
@@ -3908,9 +3908,22 @@ function GlobalWorkbench({ client }) {
3908
3908
  if (route.project.view !== view2) navigate({ ...route, project: { ...route.project, view: view2 } });
3909
3909
  requestProjectView.current?.(view2, true);
3910
3910
  }
3911
- const [collapsed, setCollapsed] = React8.useState(
3912
- () => window.matchMedia?.("(max-width: 1100px)").matches ?? false
3913
- );
3911
+ const sidebarPreferenceKey = `studio-sidebar-collapsed:${client.project.id}`;
3912
+ const [collapsed, setCollapsed] = React8.useState(() => {
3913
+ try {
3914
+ return window.localStorage.getItem(sidebarPreferenceKey) === "true";
3915
+ } catch {
3916
+ return false;
3917
+ }
3918
+ });
3919
+ function toggleSidebar() {
3920
+ const next = !collapsed;
3921
+ setCollapsed(next);
3922
+ try {
3923
+ window.localStorage.setItem(sidebarPreferenceKey, String(next));
3924
+ } catch {
3925
+ }
3926
+ }
3914
3927
  const pages = React8.useRef(/* @__PURE__ */ new Map());
3915
3928
  const downloadFrame = React8.useId().replace(/[^a-zA-Z0-9]/g, "");
3916
3929
  const importInput = React8.useRef(null);
@@ -4839,7 +4852,7 @@ function GlobalWorkbench({ client }) {
4839
4852
  {
4840
4853
  "aria-label": collapsed ? "Expand sidebar" : "Collapse sidebar",
4841
4854
  "aria-expanded": !collapsed,
4842
- onClick: () => setCollapsed(!collapsed)
4855
+ onClick: toggleSidebar
4843
4856
  },
4844
4857
  /* @__PURE__ */ React8.createElement(StudioGlyph, { name: "panel" })
4845
4858
  )), /* @__PURE__ */ React8.createElement("nav", { "aria-label": "Workspace" }, /* @__PURE__ */ React8.createElement(
package/dist/client.css CHANGED
@@ -2621,6 +2621,14 @@ button.vx-tile-title {
2621
2621
  pointer-events: none;
2622
2622
  }
2623
2623
  @media (prefers-reduced-motion: no-preference) {
2624
+ .vx-dialog:modal,
2625
+ [role=dialog]:not(dialog, [popover], [hidden]),
2626
+ [role=dialog][popover]:popover-open {
2627
+ animation: vx-dialog-enter var(--vx-motion-duration-enter) var(--vx-motion-easing-enter);
2628
+ }
2629
+ .vx-dialog:modal::backdrop {
2630
+ animation: vx-backdrop-enter var(--vx-motion-duration-enter) var(--vx-motion-easing-enter);
2631
+ }
2624
2632
  .vx-toast:popover-open {
2625
2633
  animation: vx-toast-enter var(--vx-motion-duration-enter) var(--vx-motion-easing-enter);
2626
2634
  }
@@ -2649,6 +2657,26 @@ button.vx-tile-title {
2649
2657
  transform: translate(-50%, 0);
2650
2658
  }
2651
2659
  }
2660
+ @keyframes vx-dialog-enter {
2661
+ from {
2662
+ opacity: 0;
2663
+ translate: 0 8px;
2664
+ scale: 0.98;
2665
+ }
2666
+ to {
2667
+ opacity: 1;
2668
+ translate: 0 0;
2669
+ scale: 1;
2670
+ }
2671
+ }
2672
+ @keyframes vx-backdrop-enter {
2673
+ from {
2674
+ opacity: 0;
2675
+ }
2676
+ to {
2677
+ opacity: 1;
2678
+ }
2679
+ }
2652
2680
 
2653
2681
  /* packages/ui-system/dist/styles.css */
2654
2682
  @font-face {
@@ -3056,6 +3084,9 @@ button.vx-tile-title {
3056
3084
  margin: -5.5px 0;
3057
3085
  font: italic 700 32px/53px "Inria Serif", serif;
3058
3086
  letter-spacing: -0.01em;
3087
+ overflow: hidden;
3088
+ text-overflow: ellipsis;
3089
+ white-space: nowrap;
3059
3090
  }
3060
3091
  .studio-home-hero p {
3061
3092
  margin: 0;
@@ -3586,9 +3617,6 @@ button.vx-tile-title {
3586
3617
  .studio-home-hero-title {
3587
3618
  height: auto;
3588
3619
  }
3589
- .studio-home-hero-copy h1 {
3590
- text-wrap: balance;
3591
- }
3592
3620
  .studio-home-motion-demo {
3593
3621
  scale: 0.84;
3594
3622
  transform-origin: bottom right;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vivix-labs/studio-workbench",
3
- "version": "1.0.0-beta.14",
3
+ "version": "1.0.0-beta.15",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -53,28 +53,28 @@
53
53
  },
54
54
  "vivixStudio": {
55
55
  "runtimePlugins": {
56
- "@vivix-labs/ads-compare": "1.0.0-beta.14",
57
- "@vivix-labs/ads-storyboard": "1.0.0-beta.14",
58
- "@vivix-labs/creative-data": "1.0.0-beta.14",
59
- "@vivix-labs/dashboard-assets": "1.0.0-beta.14",
60
- "@vivix-labs/dashboard-projects": "1.0.0-beta.14",
61
- "@vivix-labs/magic-edit": "1.0.0-beta.14",
62
- "@vivix-labs/material-library": "1.0.0-beta.14",
63
- "@vivix-labs/media-tools": "1.0.0-beta.14",
64
- "@vivix-labs/project-studio": "1.0.0-beta.14",
65
- "@vivix-labs/short-drama-characters": "1.0.0-beta.14",
66
- "@vivix-labs/short-drama-compare": "1.0.0-beta.14",
67
- "@vivix-labs/short-drama-production": "1.0.0-beta.14",
68
- "@vivix-labs/short-drama-script-editor": "1.0.0-beta.14",
69
- "@vivix-labs/short-drama-social-preview": "1.0.0-beta.14",
70
- "@vivix-labs/short-drama-storyboard": "1.0.0-beta.14",
71
- "@vivix-labs/short-drama-workbench": "1.0.0-beta.14",
72
- "@vivix-labs/studio-asset-list": "1.0.0-beta.14",
73
- "@vivix-labs/studio-workbench": "1.0.0-beta.14",
74
- "@vivix-labs/vivix-api": "1.0.0-beta.14",
75
- "@vivix-labs/ads-workbench": "1.0.0-beta.14",
76
- "@vivix-labs/chat-components": "1.0.0-beta.14",
77
- "@vivix-labs/short-drama-authoring": "1.0.0-beta.14"
56
+ "@vivix-labs/ads-compare": "1.0.0-beta.15",
57
+ "@vivix-labs/ads-storyboard": "1.0.0-beta.15",
58
+ "@vivix-labs/creative-data": "1.0.0-beta.15",
59
+ "@vivix-labs/dashboard-assets": "1.0.0-beta.15",
60
+ "@vivix-labs/dashboard-projects": "1.0.0-beta.15",
61
+ "@vivix-labs/magic-edit": "1.0.0-beta.15",
62
+ "@vivix-labs/material-library": "1.0.0-beta.15",
63
+ "@vivix-labs/media-tools": "1.0.0-beta.15",
64
+ "@vivix-labs/project-studio": "1.0.0-beta.15",
65
+ "@vivix-labs/short-drama-characters": "1.0.0-beta.15",
66
+ "@vivix-labs/short-drama-compare": "1.0.0-beta.15",
67
+ "@vivix-labs/short-drama-production": "1.0.0-beta.15",
68
+ "@vivix-labs/short-drama-script-editor": "1.0.0-beta.15",
69
+ "@vivix-labs/short-drama-social-preview": "1.0.0-beta.15",
70
+ "@vivix-labs/short-drama-storyboard": "1.0.0-beta.15",
71
+ "@vivix-labs/short-drama-workbench": "1.0.0-beta.15",
72
+ "@vivix-labs/studio-asset-list": "1.0.0-beta.15",
73
+ "@vivix-labs/studio-workbench": "1.0.0-beta.15",
74
+ "@vivix-labs/vivix-api": "1.0.0-beta.15",
75
+ "@vivix-labs/ads-workbench": "1.0.0-beta.15",
76
+ "@vivix-labs/chat-components": "1.0.0-beta.15",
77
+ "@vivix-labs/short-drama-authoring": "1.0.0-beta.15"
78
78
  }
79
79
  }
80
80
  }
@@ -7,7 +7,7 @@
7
7
  {
8
8
  "id": "api",
9
9
  "package": "@vivix-labs/vivix-api",
10
- "version": "1.0.0-beta.14",
10
+ "version": "1.0.0-beta.15",
11
11
  "enabled": true,
12
12
  "config": {},
13
13
  "requiredAccess": ["official.request"]
@@ -15,7 +15,7 @@
15
15
  {
16
16
  "id": "studio",
17
17
  "package": "@vivix-labs/project-studio",
18
- "version": "1.0.0-beta.14",
18
+ "version": "1.0.0-beta.15",
19
19
  "enabled": true,
20
20
  "config": {
21
21
  "role": "project",
@@ -29,7 +29,7 @@
29
29
  {
30
30
  "id": "library",
31
31
  "package": "@vivix-labs/material-library",
32
- "version": "1.0.0-beta.14",
32
+ "version": "1.0.0-beta.15",
33
33
  "enabled": true,
34
34
  "config": {
35
35
  "role": "client",
@@ -39,7 +39,7 @@
39
39
  {
40
40
  "id": "workbench",
41
41
  "package": "@vivix-labs/studio-workbench",
42
- "version": "1.0.0-beta.14",
42
+ "version": "1.0.0-beta.15",
43
43
  "enabled": true,
44
44
  "config": {
45
45
  "studioInstance": "studio",
@@ -7,7 +7,7 @@
7
7
  {
8
8
  "id": "data",
9
9
  "package": "@vivix-labs/creative-data",
10
- "version": "1.0.0-beta.14",
10
+ "version": "1.0.0-beta.15",
11
11
  "enabled": true,
12
12
  "config": {},
13
13
  "requiredAccess": ["project.content.read"]
@@ -15,7 +15,7 @@
15
15
  {
16
16
  "id": "library",
17
17
  "package": "@vivix-labs/material-library",
18
- "version": "1.0.0-beta.14",
18
+ "version": "1.0.0-beta.15",
19
19
  "enabled": true,
20
20
  "config": {
21
21
  "role": "service",
@@ -26,7 +26,7 @@
26
26
  {
27
27
  "id": "api",
28
28
  "package": "@vivix-labs/vivix-api",
29
- "version": "1.0.0-beta.14",
29
+ "version": "1.0.0-beta.15",
30
30
  "enabled": true,
31
31
  "config": {},
32
32
  "requiredAccess": ["official.request"]
@@ -34,7 +34,7 @@
34
34
  {
35
35
  "id": "coordinator",
36
36
  "package": "@vivix-labs/project-studio",
37
- "version": "1.0.0-beta.14",
37
+ "version": "1.0.0-beta.15",
38
38
  "enabled": true,
39
39
  "config": {
40
40
  "role": "coordinator",
@@ -47,14 +47,14 @@
47
47
  {
48
48
  "id": "magic-edit",
49
49
  "package": "@vivix-labs/magic-edit",
50
- "version": "1.0.0-beta.14",
50
+ "version": "1.0.0-beta.15",
51
51
  "enabled": true,
52
52
  "config": {}
53
53
  },
54
54
  {
55
55
  "id": "dashboard-projects",
56
56
  "package": "@vivix-labs/dashboard-projects",
57
- "version": "1.0.0-beta.14",
57
+ "version": "1.0.0-beta.15",
58
58
  "enabled": true,
59
59
  "config": {
60
60
  "studioInstance": "coordinator"
@@ -63,7 +63,7 @@
63
63
  {
64
64
  "id": "dashboard-assets",
65
65
  "package": "@vivix-labs/dashboard-assets",
66
- "version": "1.0.0-beta.14",
66
+ "version": "1.0.0-beta.15",
67
67
  "enabled": true,
68
68
  "config": {
69
69
  "studioInstance": "coordinator"
@@ -72,14 +72,14 @@
72
72
  {
73
73
  "id": "asset-list",
74
74
  "package": "@vivix-labs/studio-asset-list",
75
- "version": "1.0.0-beta.14",
75
+ "version": "1.0.0-beta.15",
76
76
  "enabled": true,
77
77
  "config": {}
78
78
  },
79
79
  {
80
80
  "id": "workbench",
81
81
  "package": "@vivix-labs/studio-workbench",
82
- "version": "1.0.0-beta.14",
82
+ "version": "1.0.0-beta.15",
83
83
  "enabled": true,
84
84
  "config": {
85
85
  "studioInstance": "coordinator",