strata-react 1.0.15 → 1.0.18
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 +4 -3
- package/UPGRADING.md +2 -0
- package/dist/components/file-intake.d.ts +7 -2
- package/dist/components/line-chart.d.ts +3 -1
- package/dist/components/timeline.d.ts +19 -2
- package/dist/components/workspace.d.ts +63 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.js +495 -88
- package/dist/index.js.map +1 -1
- package/dist/lib/format.d.ts +12 -6
- package/package.json +1 -1
package/dist/lib/format.d.ts
CHANGED
|
@@ -60,9 +60,12 @@ export declare function createFormat(locale: string, options?: FormatOptions): {
|
|
|
60
60
|
runningTime: (seconds: number | null | undefined) => string;
|
|
61
61
|
/**
|
|
62
62
|
* A position in media as an editor shows it, to a chosen precision: "4:05" (seconds), "4:05.250"
|
|
63
|
-
* (`"ms"`), or "
|
|
64
|
-
* one hour
|
|
65
|
-
* (
|
|
63
|
+
* (`"ms"`), or "0:04:05:07" (`"frames"` at `fps`, the last part the frame). Hours appear only
|
|
64
|
+
* from one hour, except in frames. Frames are always four parts, hours included, as SMPTE
|
|
65
|
+
* timecode is (non-drop frame, with colons): a three-part "1:05:00" reads as one hour five, so
|
|
66
|
+
* a frame count must never be three. Editors write the same four parts (strata-react issue
|
|
67
|
+
* #122). Floors, never rounds up, so a time never reads ahead of the picture. Unknown (null,
|
|
68
|
+
* negative, not finite) prints the placeholder. Set it in `tabular-nums`.
|
|
66
69
|
*/
|
|
67
70
|
timecode: (seconds: number | null | undefined, { precision, fps }?: {
|
|
68
71
|
precision?: "seconds" | "ms" | "frames";
|
|
@@ -131,9 +134,12 @@ export declare const format: {
|
|
|
131
134
|
runningTime: (seconds: number | null | undefined) => string;
|
|
132
135
|
/**
|
|
133
136
|
* A position in media as an editor shows it, to a chosen precision: "4:05" (seconds), "4:05.250"
|
|
134
|
-
* (`"ms"`), or "
|
|
135
|
-
* one hour
|
|
136
|
-
* (
|
|
137
|
+
* (`"ms"`), or "0:04:05:07" (`"frames"` at `fps`, the last part the frame). Hours appear only
|
|
138
|
+
* from one hour, except in frames. Frames are always four parts, hours included, as SMPTE
|
|
139
|
+
* timecode is (non-drop frame, with colons): a three-part "1:05:00" reads as one hour five, so
|
|
140
|
+
* a frame count must never be three. Editors write the same four parts (strata-react issue
|
|
141
|
+
* #122). Floors, never rounds up, so a time never reads ahead of the picture. Unknown (null,
|
|
142
|
+
* negative, not finite) prints the placeholder. Set it in `tabular-nums`.
|
|
137
143
|
*/
|
|
138
144
|
timecode: (seconds: number | null | undefined, { precision, fps }?: {
|
|
139
145
|
precision?: "seconds" | "ms" | "frames";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "strata-react",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.18",
|
|
4
4
|
"description": "React + Tailwind v4 components that ship structure, behaviour, states and a token contract, and no look: each product brings a theme generated from its own subject.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|