@thangdevalone/meeting-grid-layout-vue 1.5.5 → 1.5.7

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.cjs CHANGED
@@ -163,6 +163,16 @@ const GridContainer = vue.defineComponent({
163
163
  type: Boolean,
164
164
  default: false
165
165
  },
166
+ /**
167
+ * Disable the floating PiP in 2-person mode.
168
+ * When true, 2 participants are laid out in a standard gallery grid
169
+ * instead of one full-screen + one draggable floating PiP.
170
+ * @default false
171
+ */
172
+ disableFloat: {
173
+ type: Boolean,
174
+ default: false
175
+ },
166
176
  /** HTML tag to render */
167
177
  tag: {
168
178
  type: String,
@@ -189,7 +199,8 @@ const GridContainer = vue.defineComponent({
189
199
  floatHeight: props.floatHeight,
190
200
  floatBreakpoints: props.floatBreakpoints,
191
201
  pipIndex: props.pipIndex,
192
- pinOnly: props.pinOnly
202
+ pinOnly: props.pinOnly,
203
+ disableFloat: props.disableFloat
193
204
  }));
194
205
  const grid = useMeetGrid(gridOptions);
195
206
  vue.provide(GridContextKey, {
package/dist/index.d.cts CHANGED
@@ -160,6 +160,16 @@ declare const GridContainer: vue.DefineComponent<vue.ExtractPropTypes<{
160
160
  type: BooleanConstructor;
161
161
  default: boolean;
162
162
  };
163
+ /**
164
+ * Disable the floating PiP in 2-person mode.
165
+ * When true, 2 participants are laid out in a standard gallery grid
166
+ * instead of one full-screen + one draggable floating PiP.
167
+ * @default false
168
+ */
169
+ disableFloat: {
170
+ type: BooleanConstructor;
171
+ default: boolean;
172
+ };
163
173
  /** HTML tag to render */
164
174
  tag: {
165
175
  type: StringConstructor;
@@ -275,6 +285,16 @@ declare const GridContainer: vue.DefineComponent<vue.ExtractPropTypes<{
275
285
  type: BooleanConstructor;
276
286
  default: boolean;
277
287
  };
288
+ /**
289
+ * Disable the floating PiP in 2-person mode.
290
+ * When true, 2 participants are laid out in a standard gallery grid
291
+ * instead of one full-screen + one draggable floating PiP.
292
+ * @default false
293
+ */
294
+ disableFloat: {
295
+ type: BooleanConstructor;
296
+ default: boolean;
297
+ };
278
298
  /** HTML tag to render */
279
299
  tag: {
280
300
  type: StringConstructor;
@@ -297,6 +317,7 @@ declare const GridContainer: vue.DefineComponent<vue.ExtractPropTypes<{
297
317
  floatBreakpoints: PipBreakpoint[];
298
318
  pipIndex: number;
299
319
  pinOnly: boolean;
320
+ disableFloat: boolean;
300
321
  tag: string;
301
322
  }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
302
323
  declare const GridItem: vue.DefineComponent<vue.ExtractPropTypes<{
package/dist/index.d.mts CHANGED
@@ -160,6 +160,16 @@ declare const GridContainer: vue.DefineComponent<vue.ExtractPropTypes<{
160
160
  type: BooleanConstructor;
161
161
  default: boolean;
162
162
  };
163
+ /**
164
+ * Disable the floating PiP in 2-person mode.
165
+ * When true, 2 participants are laid out in a standard gallery grid
166
+ * instead of one full-screen + one draggable floating PiP.
167
+ * @default false
168
+ */
169
+ disableFloat: {
170
+ type: BooleanConstructor;
171
+ default: boolean;
172
+ };
163
173
  /** HTML tag to render */
164
174
  tag: {
165
175
  type: StringConstructor;
@@ -275,6 +285,16 @@ declare const GridContainer: vue.DefineComponent<vue.ExtractPropTypes<{
275
285
  type: BooleanConstructor;
276
286
  default: boolean;
277
287
  };
288
+ /**
289
+ * Disable the floating PiP in 2-person mode.
290
+ * When true, 2 participants are laid out in a standard gallery grid
291
+ * instead of one full-screen + one draggable floating PiP.
292
+ * @default false
293
+ */
294
+ disableFloat: {
295
+ type: BooleanConstructor;
296
+ default: boolean;
297
+ };
278
298
  /** HTML tag to render */
279
299
  tag: {
280
300
  type: StringConstructor;
@@ -297,6 +317,7 @@ declare const GridContainer: vue.DefineComponent<vue.ExtractPropTypes<{
297
317
  floatBreakpoints: PipBreakpoint[];
298
318
  pipIndex: number;
299
319
  pinOnly: boolean;
320
+ disableFloat: boolean;
300
321
  tag: string;
301
322
  }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
302
323
  declare const GridItem: vue.DefineComponent<vue.ExtractPropTypes<{
package/dist/index.d.ts CHANGED
@@ -160,6 +160,16 @@ declare const GridContainer: vue.DefineComponent<vue.ExtractPropTypes<{
160
160
  type: BooleanConstructor;
161
161
  default: boolean;
162
162
  };
163
+ /**
164
+ * Disable the floating PiP in 2-person mode.
165
+ * When true, 2 participants are laid out in a standard gallery grid
166
+ * instead of one full-screen + one draggable floating PiP.
167
+ * @default false
168
+ */
169
+ disableFloat: {
170
+ type: BooleanConstructor;
171
+ default: boolean;
172
+ };
163
173
  /** HTML tag to render */
164
174
  tag: {
165
175
  type: StringConstructor;
@@ -275,6 +285,16 @@ declare const GridContainer: vue.DefineComponent<vue.ExtractPropTypes<{
275
285
  type: BooleanConstructor;
276
286
  default: boolean;
277
287
  };
288
+ /**
289
+ * Disable the floating PiP in 2-person mode.
290
+ * When true, 2 participants are laid out in a standard gallery grid
291
+ * instead of one full-screen + one draggable floating PiP.
292
+ * @default false
293
+ */
294
+ disableFloat: {
295
+ type: BooleanConstructor;
296
+ default: boolean;
297
+ };
278
298
  /** HTML tag to render */
279
299
  tag: {
280
300
  type: StringConstructor;
@@ -297,6 +317,7 @@ declare const GridContainer: vue.DefineComponent<vue.ExtractPropTypes<{
297
317
  floatBreakpoints: PipBreakpoint[];
298
318
  pipIndex: number;
299
319
  pinOnly: boolean;
320
+ disableFloat: boolean;
300
321
  tag: string;
301
322
  }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
302
323
  declare const GridItem: vue.DefineComponent<vue.ExtractPropTypes<{
package/dist/index.mjs CHANGED
@@ -162,6 +162,16 @@ const GridContainer = defineComponent({
162
162
  type: Boolean,
163
163
  default: false
164
164
  },
165
+ /**
166
+ * Disable the floating PiP in 2-person mode.
167
+ * When true, 2 participants are laid out in a standard gallery grid
168
+ * instead of one full-screen + one draggable floating PiP.
169
+ * @default false
170
+ */
171
+ disableFloat: {
172
+ type: Boolean,
173
+ default: false
174
+ },
165
175
  /** HTML tag to render */
166
176
  tag: {
167
177
  type: String,
@@ -188,7 +198,8 @@ const GridContainer = defineComponent({
188
198
  floatHeight: props.floatHeight,
189
199
  floatBreakpoints: props.floatBreakpoints,
190
200
  pipIndex: props.pipIndex,
191
- pinOnly: props.pinOnly
201
+ pinOnly: props.pinOnly,
202
+ disableFloat: props.disableFloat
192
203
  }));
193
204
  const grid = useMeetGrid(gridOptions);
194
205
  provide(GridContextKey, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thangdevalone/meeting-grid-layout-vue",
3
- "version": "1.5.5",
3
+ "version": "1.5.7",
4
4
  "description": "Vue 3 integration for meeting-grid-layout with Motion animations",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -43,7 +43,7 @@
43
43
  "dependencies": {
44
44
  "@vueuse/core": "^10.7.0",
45
45
  "motion-v": "^1.0.0",
46
- "@thangdevalone/meeting-grid-layout-core": "1.5.5"
46
+ "@thangdevalone/meeting-grid-layout-core": "1.5.7"
47
47
  },
48
48
  "devDependencies": {
49
49
  "vue": "^3.4.0",