@twick/visualizer 0.15.23 → 0.15.25

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.
@@ -54,7 +54,7 @@ export const CAPTION_STYLE: Record<string, CaptionStyle> = {
54
54
  lineWidth: 0.35,
55
55
  stroke: "#000000",
56
56
  fontWeight: 700,
57
- shadowOffset: [-3, 3],
57
+ shadowOffset: [-1, 1],
58
58
  shadowColor: "#000000",
59
59
  fill: "#ffffff",
60
60
  fontFamily: "Bangers",
@@ -75,7 +75,7 @@ export const CAPTION_STYLE: Record<string, CaptionStyle> = {
75
75
  stroke: "#000000",
76
76
  fontWeight: 700,
77
77
  strokeFirst: true,
78
- shadowOffset: [-2, 2],
78
+ shadowOffset: [-1, 1],
79
79
  shadowColor: "#000000",
80
80
  shadowBlur: 5,
81
81
  fontFamily: "Bangers",
@@ -97,7 +97,7 @@ export const CAPTION_STYLE: Record<string, CaptionStyle> = {
97
97
  stroke: "#000000",
98
98
  fontWeight: 700,
99
99
  strokeFirst: true,
100
- shadowOffset: [-2, 2],
100
+ shadowOffset: [-1, 1],
101
101
  shadowColor: "#000000",
102
102
  shadowBlur: 5,
103
103
  fontFamily: "Bangers",
@@ -111,15 +111,15 @@ export const CAPTION_STYLE: Record<string, CaptionStyle> = {
111
111
  rect: {
112
112
  alignItems: "center",
113
113
  justifyContent: "center",
114
- gap: 8,
114
+ gap: 12,
115
115
  },
116
116
  word: {
117
- lineWidth: 0.5,
117
+ lineWidth: 15,
118
118
  stroke: "#000000",
119
119
  fontWeight: 600,
120
120
  strokeFirst: true,
121
121
  shadowOffset: [0, 0],
122
- shadowBlur: 0,
122
+ shadowBlur: 1.25,
123
123
  fontFamily: "Arial",
124
124
  fill: "#FFFFFF",
125
125
  fontSize: 42,
@@ -196,7 +196,7 @@ export const CAPTION_STYLE: Record<string, CaptionStyle> = {
196
196
  stroke: "#000000",
197
197
  fontWeight: 700,
198
198
  strokeFirst: true,
199
- shadowOffset: [-2, 2],
199
+ shadowOffset: [-1, 1],
200
200
  shadowColor: "#000000",
201
201
  shadowBlur: 4,
202
202
  fontFamily: "Bangers",
@@ -215,7 +215,7 @@ export const CAPTION_STYLE: Record<string, CaptionStyle> = {
215
215
  stroke: "#000000",
216
216
  fontWeight: 700,
217
217
  strokeFirst: true,
218
- shadowOffset: [-2, 2],
218
+ shadowOffset: [-1, 1],
219
219
  shadowColor: "#000000",
220
220
  shadowBlur: 5,
221
221
  fontFamily: "Bangers",
@@ -164,6 +164,7 @@ export type Caption = {
164
164
  export type CaptionProps = {
165
165
  colors: CaptionColors;
166
166
  font: CaptionFont;
167
+ lineWidth?: number;
167
168
  bgOpacity?: number;
168
169
  bgOffsetWidth?: number;
169
170
  bgOffsetHeight?: number;
@@ -235,6 +236,7 @@ export type VisualizerTrack = {
235
236
  elements: VisualizerElement[];
236
237
  containerProps?: ContainerProps;
237
238
  props?: {
239
+ rectProps?: any;
238
240
  capStyle?: string;
239
241
  bgOpacity?: number;
240
242
  x?: number;