@edifice.io/react 2.2.11-develop-pedago.20250707105307 → 2.2.11-develop-pedago.20250707114038
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.
|
@@ -35,7 +35,9 @@ export type MediaLibraryType =
|
|
|
35
35
|
/** Embedded websites */
|
|
36
36
|
| 'embedder'
|
|
37
37
|
/** Hyperlinks */
|
|
38
|
-
| 'hyperlink'
|
|
38
|
+
| 'hyperlink'
|
|
39
|
+
/** Studio mode for recording audio and video */
|
|
40
|
+
| 'studio';
|
|
39
41
|
export interface MediaLibraryRef {
|
|
40
42
|
/** Open the Media Library on given type. */
|
|
41
43
|
show: (type: MediaLibraryType) => void;
|
|
@@ -56,6 +56,11 @@ const orderedTabs = [
|
|
|
56
56
|
embedder: {
|
|
57
57
|
title: "bbm.embed.modal.title",
|
|
58
58
|
defaultTab: "iframe"
|
|
59
|
+
},
|
|
60
|
+
// Add studio type with video-capture as default tab
|
|
61
|
+
studio: {
|
|
62
|
+
title: "bbm.studio.modal.title",
|
|
63
|
+
defaultTab: "audio-capture"
|
|
59
64
|
}
|
|
60
65
|
}, MediaLibrary = /* @__PURE__ */ forwardRef(({
|
|
61
66
|
appCode,
|
|
@@ -101,7 +106,7 @@ const orderedTabs = [
|
|
|
101
106
|
icon: /* @__PURE__ */ jsx(SvgIconRecordVideo, {}),
|
|
102
107
|
label: t("bbm.video"),
|
|
103
108
|
content: /* @__PURE__ */ jsx(InnerTabs.Video, {}),
|
|
104
|
-
availableFor: ["video"],
|
|
109
|
+
availableFor: ["video", "studio"],
|
|
105
110
|
isEnable: () => !!videoCaptureWorkflow
|
|
106
111
|
},
|
|
107
112
|
"audio-capture": {
|
|
@@ -109,7 +114,7 @@ const orderedTabs = [
|
|
|
109
114
|
icon: /* @__PURE__ */ jsx(SvgIconMic, {}),
|
|
110
115
|
label: t("bbm.audio"),
|
|
111
116
|
content: /* @__PURE__ */ jsx(InnerTabs.Audio, {}),
|
|
112
|
-
availableFor: ["audio"],
|
|
117
|
+
availableFor: ["audio", "studio"],
|
|
113
118
|
isEnable: () => !!workspaceCreateWorkflow
|
|
114
119
|
},
|
|
115
120
|
"external-link": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@edifice.io/react",
|
|
3
|
-
"version": "2.2.11-develop-pedago.
|
|
3
|
+
"version": "2.2.11-develop-pedago.20250707114038",
|
|
4
4
|
"description": "Edifice React Library",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -130,9 +130,9 @@
|
|
|
130
130
|
"react-slugify": "^3.0.3",
|
|
131
131
|
"swiper": "^10.1.0",
|
|
132
132
|
"ua-parser-js": "^1.0.36",
|
|
133
|
-
"@edifice.io/bootstrap": "2.2.11-develop-pedago.
|
|
134
|
-
"@edifice.io/tiptap-extensions": "2.2.11-develop-pedago.
|
|
135
|
-
"@edifice.io/utilities": "2.2.11-develop-pedago.
|
|
133
|
+
"@edifice.io/bootstrap": "2.2.11-develop-pedago.20250707114038",
|
|
134
|
+
"@edifice.io/tiptap-extensions": "2.2.11-develop-pedago.20250707114038",
|
|
135
|
+
"@edifice.io/utilities": "2.2.11-develop-pedago.20250707114038"
|
|
136
136
|
},
|
|
137
137
|
"devDependencies": {
|
|
138
138
|
"@babel/plugin-transform-react-pure-annotations": "^7.23.3",
|
|
@@ -163,8 +163,8 @@
|
|
|
163
163
|
"vite": "^5.4.11",
|
|
164
164
|
"vite-plugin-dts": "^4.1.0",
|
|
165
165
|
"vite-tsconfig-paths": "^5.0.1",
|
|
166
|
-
"@edifice.io/client": "2.2.11-develop-pedago.
|
|
167
|
-
"@edifice.io/config": "2.2.11-develop-pedago.
|
|
166
|
+
"@edifice.io/client": "2.2.11-develop-pedago.20250707114038",
|
|
167
|
+
"@edifice.io/config": "2.2.11-develop-pedago.20250707114038"
|
|
168
168
|
},
|
|
169
169
|
"peerDependencies": {
|
|
170
170
|
"@react-spring/web": "^9.7.5",
|