@volorio/rte-uikit 0.2.0
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/README.md +7 -0
- package/dist/src/index.d.ts +8 -0
- package/dist/src/index.js +13 -0
- package/dist/src/index.js.map +1 -0
- package/package.json +30 -0
package/README.md
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export interface VolorioRteUIKitModel {
|
|
2
|
+
roomId: string;
|
|
3
|
+
layout: "live-room" | "meeting" | "classroom";
|
|
4
|
+
showChat: boolean;
|
|
5
|
+
showWhiteboard: boolean;
|
|
6
|
+
showParticipants: boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare function createVolorioRteUIKitModel(input?: Partial<VolorioRteUIKitModel>): VolorioRteUIKitModel;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.createVolorioRteUIKitModel = createVolorioRteUIKitModel;
|
|
4
|
+
function createVolorioRteUIKitModel(input = {}) {
|
|
5
|
+
return {
|
|
6
|
+
roomId: input.roomId ?? "default",
|
|
7
|
+
layout: input.layout ?? "live-room",
|
|
8
|
+
showChat: input.showChat ?? true,
|
|
9
|
+
showWhiteboard: input.showWhiteboard ?? true,
|
|
10
|
+
showParticipants: input.showParticipants ?? true,
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;AAQA,gEAQC;AARD,SAAgB,0BAA0B,CAAC,QAAuC,EAAE;IAClF,OAAO;QACL,MAAM,EAAE,KAAK,CAAC,MAAM,IAAI,SAAS;QACjC,MAAM,EAAE,KAAK,CAAC,MAAM,IAAI,WAAW;QACnC,QAAQ,EAAE,KAAK,CAAC,QAAQ,IAAI,IAAI;QAChC,cAAc,EAAE,KAAK,CAAC,cAAc,IAAI,IAAI;QAC5C,gBAAgB,EAAE,KAAK,CAAC,gBAAgB,IAAI,IAAI;KACjD,CAAC;AACJ,CAAC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@volorio/rte-uikit",
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"private": false,
|
|
5
|
+
"description": "Volorio RTE UI model helpers for live engagement rooms.",
|
|
6
|
+
"main": "dist/src/index.js",
|
|
7
|
+
"types": "dist/src/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/src/index.d.ts",
|
|
11
|
+
"default": "./dist/src/index.js"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"files": ["dist/src", "README.md"],
|
|
15
|
+
"publishConfig": {
|
|
16
|
+
"access": "public",
|
|
17
|
+
"registry": "https://registry.npmjs.org/"
|
|
18
|
+
},
|
|
19
|
+
"scripts": {
|
|
20
|
+
"build": "tsc -p tsconfig.build.json",
|
|
21
|
+
"test": "pnpm build",
|
|
22
|
+
"pack:local": "pnpm build && npm pack --pack-destination dist"
|
|
23
|
+
},
|
|
24
|
+
"peerDependencies": {
|
|
25
|
+
"react": ">=18"
|
|
26
|
+
},
|
|
27
|
+
"dependencies": {
|
|
28
|
+
"@volorio/rte": "^0.2.0"
|
|
29
|
+
}
|
|
30
|
+
}
|