@twick/studio 0.15.27 → 0.15.28
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/components/container/emoji-panel-container.d.ts +3 -0
- package/dist/components/panel/captions-panel.d.ts +5 -42
- package/dist/components/panel/emoji-panel.d.ts +8 -0
- package/dist/components/properties/caption-prop.d.ts +1 -1
- package/dist/components/properties/color-filter-props.d.ts +3 -0
- package/dist/helpers/emoji-catalog.d.ts +9 -0
- package/dist/hooks/use-captions-panel.d.ts +4 -8
- package/dist/index.d.ts +6 -3
- package/dist/index.js +453 -179
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +446 -175
- package/dist/index.mjs.map +1 -1
- package/dist/studio.css +55 -0
- package/dist/types/index.d.ts +7 -0
- package/package.json +15 -15
package/dist/studio.css
CHANGED
|
@@ -574,6 +574,61 @@ html {
|
|
|
574
574
|
opacity: 1;
|
|
575
575
|
}
|
|
576
576
|
|
|
577
|
+
.emoji-grid {
|
|
578
|
+
display: grid;
|
|
579
|
+
grid-template-columns: repeat(5, minmax(0, 1fr));
|
|
580
|
+
gap: 0.625rem;
|
|
581
|
+
padding: 0.25rem;
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
.emoji-categories {
|
|
585
|
+
display: flex;
|
|
586
|
+
flex-wrap: wrap;
|
|
587
|
+
gap: 0.5rem;
|
|
588
|
+
padding: 0.25rem;
|
|
589
|
+
margin-bottom: 0.5rem;
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
.emoji-category-chip {
|
|
593
|
+
border: 1px solid rgba(148, 163, 184, 0.3);
|
|
594
|
+
background: transparent;
|
|
595
|
+
color: var(--color-gray-200);
|
|
596
|
+
border-radius: 999px;
|
|
597
|
+
padding: 0.25rem 0.6rem;
|
|
598
|
+
font-size: 0.75rem;
|
|
599
|
+
cursor: pointer;
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
.emoji-category-chip-active {
|
|
603
|
+
border-color: rgba(139, 92, 246, 0.8);
|
|
604
|
+
background: rgba(139, 92, 246, 0.2);
|
|
605
|
+
color: #ffffff;
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
.emoji-item {
|
|
609
|
+
border: none;
|
|
610
|
+
cursor: pointer;
|
|
611
|
+
border-radius: 0.5rem;
|
|
612
|
+
background-color: var(--color-neutral-800);
|
|
613
|
+
aspect-ratio: 1;
|
|
614
|
+
display: flex;
|
|
615
|
+
align-items: center;
|
|
616
|
+
justify-content: center;
|
|
617
|
+
padding: 0.5rem;
|
|
618
|
+
transition: transform 0.15s ease, background-color 0.2s ease;
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
.emoji-item:hover {
|
|
622
|
+
transform: translateY(-1px);
|
|
623
|
+
background-color: var(--color-neutral-700);
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
.emoji-item-image {
|
|
627
|
+
width: 100%;
|
|
628
|
+
height: 100%;
|
|
629
|
+
object-fit: contain;
|
|
630
|
+
}
|
|
631
|
+
|
|
577
632
|
.media-count {
|
|
578
633
|
padding: 0.5rem 0.75rem;
|
|
579
634
|
color: rgba(148, 163, 184, 0.85);
|
package/dist/types/index.d.ts
CHANGED
|
@@ -41,6 +41,13 @@ export interface CaptionEntry {
|
|
|
41
41
|
*/
|
|
42
42
|
w?: number[];
|
|
43
43
|
}
|
|
44
|
+
/**
|
|
45
|
+
* Caption entry used by Studio UI list rendering.
|
|
46
|
+
* `isCustom` indicates whether this caption overrides track defaults.
|
|
47
|
+
*/
|
|
48
|
+
export type CaptionPanelEntry = CaptionEntry & {
|
|
49
|
+
isCustom?: boolean;
|
|
50
|
+
};
|
|
44
51
|
/**
|
|
45
52
|
* Response from POST /generate-captions
|
|
46
53
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twick/studio",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.28",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"module": "./dist/index.mjs",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -34,17 +34,17 @@
|
|
|
34
34
|
"access": "public"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@twick/ai-models": "0.15.
|
|
38
|
-
"@twick/canvas": "0.15.
|
|
39
|
-
"@twick/core": "^0.15.
|
|
40
|
-
"@twick/workflow": "0.15.
|
|
41
|
-
"@twick/live-player": "0.15.
|
|
42
|
-
"@twick/media-utils": "0.15.
|
|
43
|
-
"@twick/player-react": "^0.15.
|
|
44
|
-
"@twick/timeline": "0.15.
|
|
45
|
-
"@twick/video-editor": "0.15.
|
|
46
|
-
"@twick/visualizer": "0.15.
|
|
47
|
-
"@twick/effects": "0.15.
|
|
37
|
+
"@twick/ai-models": "0.15.28",
|
|
38
|
+
"@twick/canvas": "0.15.28",
|
|
39
|
+
"@twick/core": "^0.15.28",
|
|
40
|
+
"@twick/workflow": "0.15.28",
|
|
41
|
+
"@twick/live-player": "0.15.28",
|
|
42
|
+
"@twick/media-utils": "0.15.28",
|
|
43
|
+
"@twick/player-react": "^0.15.28",
|
|
44
|
+
"@twick/timeline": "0.15.28",
|
|
45
|
+
"@twick/video-editor": "0.15.28",
|
|
46
|
+
"@twick/visualizer": "0.15.28",
|
|
47
|
+
"@twick/effects": "0.15.28",
|
|
48
48
|
"lucide-react": "^0.511.0"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
@@ -57,9 +57,9 @@
|
|
|
57
57
|
"@types/react-dom": "^18.0.0 || ^19.0.0",
|
|
58
58
|
"react": "^18.0.0 || ^19.0.0",
|
|
59
59
|
"react-dom": "^18.0.0 || ^19.0.0",
|
|
60
|
-
"@twick/timeline": "0.15.
|
|
61
|
-
"@twick/live-player": "0.15.
|
|
62
|
-
"@twick/video-editor": "0.15.
|
|
60
|
+
"@twick/timeline": "0.15.28",
|
|
61
|
+
"@twick/live-player": "0.15.28",
|
|
62
|
+
"@twick/video-editor": "0.15.28",
|
|
63
63
|
"rimraf": "^5.0.5",
|
|
64
64
|
"typedoc": "^0.25.8",
|
|
65
65
|
"typedoc-plugin-markdown": "^3.17.1",
|