@camstack/ui-library 1.2.191 → 1.2.193
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/composites/clips/ClipBandBar.d.ts +16 -0
- package/dist/composites/clips/clip-band.d.ts +58 -0
- package/dist/composites/clips/clip-day-window.d.ts +21 -22
- package/dist/composites/clips/clip-still-retry.d.ts +50 -0
- package/dist/composites/clips/clip-tile-media.d.ts +25 -7
- package/dist/composites/clips/clip-view-state.d.ts +26 -2
- package/dist/generated/system-hooks.d.ts +2 -0
- package/dist/index.cjs +885 -505
- package/dist/index.js +886 -507
- package/dist/lib/format-duration.d.ts +14 -0
- package/package.json +1 -1
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* How long something lasted, the way this product says it.
|
|
3
|
+
*
|
|
4
|
+
* Promoted verbatim from `composites/cap-settings/RecordingPanel.tsx`, which
|
|
5
|
+
* had been the only place answering this question about MEDIA. It is now the
|
|
6
|
+
* only place, so a clip's length and a recording's retention read the same.
|
|
7
|
+
*
|
|
8
|
+
* Two other private formatters stay where they are, on purpose:
|
|
9
|
+
* `config-form-field.tsx` formats a config VALUE (sub-second `ms`, `—` for a
|
|
10
|
+
* value that is not a number), and `scene-monitor-copy.ts`'s `humanDuration`
|
|
11
|
+
* is deliberately single-unit and coarse for a sentence. Neither is a media
|
|
12
|
+
* length, and folding them in here would change what they say.
|
|
13
|
+
*/
|
|
14
|
+
export declare function formatDurationMs(ms: number): string;
|