@peerbots/face 0.3.0 → 0.4.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/dist/pixi.js CHANGED
@@ -4,7 +4,7 @@ import {
4
4
  useFaceFullscreenContext,
5
5
  useFullscreen,
6
6
  useMessageVisualState
7
- } from "./chunk-INH3CU6D.js";
7
+ } from "./chunk-5RYQRTO6.js";
8
8
  import {
9
9
  FaceStoreContext,
10
10
  color_mapping,
@@ -12,7 +12,7 @@ import {
12
12
  rgbaToHex,
13
13
  useFaceStore,
14
14
  useFaceStoreInstance
15
- } from "./chunk-2DFPYPDB.js";
15
+ } from "./chunk-7C57IP5B.js";
16
16
 
17
17
  // src/components/PixiFaceView.tsx
18
18
  import { useState as useState4 } from "react";
package/dist/vizij.cjs CHANGED
@@ -64,7 +64,8 @@ var defaultFaceSettings = {
64
64
  captions: {
65
65
  enabled: false,
66
66
  fontSize: 32,
67
- offset: { x: 0, y: 0 }
67
+ offset: { x: 0, y: 0 },
68
+ style: "pill"
68
69
  }
69
70
  };
70
71
  function normalizeAssetBaseUrl(assetBaseUrl = "/FaceAssets") {
@@ -1584,6 +1585,9 @@ var DEFAULT_FACE_UI_LABELS = {
1584
1585
  interruptSpeech: "Interrupt current speech",
1585
1586
  queueSpeech: "Queue after current speech",
1586
1587
  captions: "Captions",
1588
+ captionStyle: "Caption Style",
1589
+ captionStylePill: "Dark Pill",
1590
+ captionStyleOutline: "Text Outline",
1587
1591
  fontSize: "Caption Font Size",
1588
1592
  verticalPosition: "Vertical Position",
1589
1593
  voiceSelectorLanguage: "Language",