@cleen/ui 0.1.268 → 0.1.270
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/index.d.ts +495 -17
- package/dist/index.js +2 -2
- package/package.json +12 -4
- package/vitest.config.ts +12 -0
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
|
-
import react__default, { ComponentProps, ReactNode, CSSProperties, SVGProps, ComponentType, RefObject, ButtonHTMLAttributes, ChangeEvent, JSX, FC, ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
import react__default, { ComponentProps, ReactNode, CSSProperties, SVGProps, ComponentType, RefObject, ButtonHTMLAttributes, ChangeEvent, JSX, FC, ComponentPropsWithoutRef, VideoHTMLAttributes, RefAttributes, SyntheticEvent } from 'react';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
|
-
import { Position, ComponentClassnames, ComponentStyles, FileEntry, HintedString } from '@cleen/ui-core';
|
|
4
|
+
import { Position, ComponentClassnames, ComponentStyles, FileEntry, HintedString, TimeAgoLabels } from '@cleen/ui-core';
|
|
5
5
|
import { WaveSurferOptions } from 'wavesurfer.js';
|
|
6
6
|
import { RecordPluginOptions } from 'wavesurfer.js/dist/plugins/record.js';
|
|
7
7
|
import { WaveSurferOptions as WaveSurferOptions$1 } from 'wavesurfer.js/dist/types.js';
|
|
@@ -11,8 +11,6 @@ import Autoplay from 'embla-carousel-autoplay';
|
|
|
11
11
|
import useEmblaCarousel from 'embla-carousel-react';
|
|
12
12
|
import { RgbaColor } from 'react-colorful';
|
|
13
13
|
import ReactMarkdown from 'react-markdown';
|
|
14
|
-
import * as react_toastify from 'react-toastify';
|
|
15
|
-
import { ToastOptions, ToastContainerProps } from 'react-toastify';
|
|
16
14
|
import ReactSelect, { components } from 'react-select';
|
|
17
15
|
|
|
18
16
|
interface TooltipProps extends ComponentProps<'div'> {
|
|
@@ -3267,30 +3265,278 @@ type ModalProps = ComponentProps<'div'> & {
|
|
|
3267
3265
|
*/
|
|
3268
3266
|
declare const Modal: react.ForwardRefExoticComponent<Omit<ModalProps, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
3269
3267
|
|
|
3268
|
+
type NotificationId = string | number;
|
|
3270
3269
|
type NotificationVariant = 'success' | 'error' | 'info' | 'warning' | 'default';
|
|
3271
|
-
type
|
|
3272
|
-
|
|
3273
|
-
|
|
3274
|
-
|
|
3275
|
-
|
|
3276
|
-
|
|
3277
|
-
|
|
3270
|
+
type NotificationPriority = 'normal' | 'important' | 'critical';
|
|
3271
|
+
type NotificationAnimationType = 'slide' | 'none';
|
|
3272
|
+
type NotificationLayout = 'list' | 'stack' | 'group';
|
|
3273
|
+
type NotificationPosition = 'top-left' | 'top-right' | 'top-center' | 'bottom-left' | 'bottom-right' | 'bottom-center';
|
|
3274
|
+
type NotificationCategoryTone = 'primary' | 'success' | 'warning' | 'error' | 'info' | 'neutral';
|
|
3275
|
+
interface NotificationCategory {
|
|
3276
|
+
label: string;
|
|
3277
|
+
pluralLabel: string;
|
|
3278
|
+
icon: IconName;
|
|
3279
|
+
tone?: NotificationCategoryTone;
|
|
3280
|
+
}
|
|
3281
|
+
type NotificationCategories = Record<string, NotificationCategory>;
|
|
3282
|
+
interface NotificationAction {
|
|
3283
|
+
label: string;
|
|
3284
|
+
onClick?: (notification: NotificationItem) => void;
|
|
3285
|
+
variant?: ButtonVariant;
|
|
3286
|
+
}
|
|
3287
|
+
type NotificationCardSlot = 'toast' | 'icon' | 'body' | 'title' | 'message' | 'badges' | 'badge' | 'meta' | 'actions' | 'action' | 'dismissButton' | 'closeButton' | 'progressBar';
|
|
3288
|
+
type NotificationRowSlot = 'row' | 'rowIcon' | 'rowBody' | 'rowActions';
|
|
3289
|
+
type NotificationStackSlot = 'deck' | 'deckPeek' | 'deckMoreBar' | 'deckMoreLabel' | 'deckShowAllButton' | 'deckDismissAllButton' | 'list' | 'listHeader' | 'listRows' | 'listFooter';
|
|
3290
|
+
type NotificationGroupSlot = 'group' | 'groupHeader' | 'groupIcon' | 'groupTitle' | 'groupCount' | 'groupMeta' | 'groupPreview' | 'groupPreviewLine' | 'groupMore' | 'groupFooter' | 'groupReviewButton' | 'groupToggleButton' | 'groupDismissButton' | 'overflowPill';
|
|
3291
|
+
type NotificationFooterSlot = 'footer' | 'dismissAllButton';
|
|
3292
|
+
type NotificationSlot = 'region' | NotificationFooterSlot | NotificationCardSlot | NotificationRowSlot | NotificationStackSlot | NotificationGroupSlot;
|
|
3293
|
+
type NotificationClassNames = Partial<Record<NotificationCardSlot, string>>;
|
|
3294
|
+
type NotificationStyles = Partial<Record<NotificationCardSlot, CSSProperties>>;
|
|
3295
|
+
type NotificationContainerClassNames = Partial<Record<NotificationSlot, string>>;
|
|
3296
|
+
type NotificationContainerStyles = Partial<Record<NotificationSlot, CSSProperties>>;
|
|
3297
|
+
type NotificationHiddenElement = 'deckMoreBar' | 'groupMore' | 'overflowPill' | 'dismissAllButton' | 'progressBar' | 'meta' | 'badges';
|
|
3298
|
+
interface NotificationLabels {
|
|
3299
|
+
region: string;
|
|
3300
|
+
critical: ReactNode;
|
|
3301
|
+
action: ReactNode;
|
|
3302
|
+
dismiss: ReactNode;
|
|
3303
|
+
dismissAll: ReactNode;
|
|
3304
|
+
close: string;
|
|
3305
|
+
dismissGroup: string;
|
|
3306
|
+
showAll: ReactNode;
|
|
3307
|
+
collapse: ReactNode;
|
|
3308
|
+
expand: ReactNode;
|
|
3309
|
+
openNotifications: ReactNode;
|
|
3310
|
+
timeAgo?: (milliseconds: number) => ReactNode;
|
|
3311
|
+
timeAgoStamps?: TimeAgoLabels;
|
|
3312
|
+
more: (count: number) => ReactNode;
|
|
3313
|
+
moreBehind: (count: number) => ReactNode;
|
|
3314
|
+
overflow: (count: number) => ReactNode;
|
|
3315
|
+
listTitle: (count: number) => ReactNode;
|
|
3316
|
+
groupTitle: (count: number, category: NotificationCategory) => ReactNode;
|
|
3317
|
+
review: (category: NotificationCategory) => ReactNode;
|
|
3318
|
+
needAction: (count: number) => ReactNode;
|
|
3319
|
+
}
|
|
3320
|
+
/**
|
|
3321
|
+
* A notification as it lives in the store, with every default resolved.
|
|
3322
|
+
*/
|
|
3323
|
+
interface NotificationItem {
|
|
3324
|
+
id: NotificationId;
|
|
3325
|
+
message: ReactNode;
|
|
3326
|
+
title?: ReactNode;
|
|
3327
|
+
icon?: ReactNode;
|
|
3328
|
+
variant: NotificationVariant;
|
|
3329
|
+
category?: string;
|
|
3330
|
+
priority: NotificationPriority;
|
|
3331
|
+
actions?: NotificationAction[];
|
|
3332
|
+
createdAt: number;
|
|
3333
|
+
/** Auto-dismiss time in ms. Only applies to `priority: 'normal'`. */
|
|
3334
|
+
duration: number | false;
|
|
3335
|
+
closeButton: boolean;
|
|
3336
|
+
progressBar: boolean;
|
|
3337
|
+
animationType: NotificationAnimationType;
|
|
3338
|
+
className?: string;
|
|
3339
|
+
classNames?: NotificationClassNames;
|
|
3340
|
+
styles?: NotificationStyles;
|
|
3341
|
+
/** Set while the exit animation runs, right before removal. */
|
|
3342
|
+
leaving?: boolean;
|
|
3343
|
+
/** Active notifications on screen when this one was dismissed. */
|
|
3344
|
+
leavingFromCount?: number;
|
|
3345
|
+
}
|
|
3346
|
+
interface NotificationUiState {
|
|
3347
|
+
expanded: boolean;
|
|
3348
|
+
expandedGroups: readonly string[];
|
|
3349
|
+
}
|
|
3350
|
+
interface NotificationState {
|
|
3351
|
+
toasts: readonly NotificationItem[];
|
|
3352
|
+
ui: NotificationUiState;
|
|
3353
|
+
paused: boolean;
|
|
3278
3354
|
}
|
|
3279
|
-
|
|
3355
|
+
type NotificationRenderNode = ({
|
|
3356
|
+
type: 'toast';
|
|
3357
|
+
key: string;
|
|
3358
|
+
toast: NotificationItem;
|
|
3359
|
+
} | {
|
|
3360
|
+
type: 'deck';
|
|
3361
|
+
key: string;
|
|
3362
|
+
top: NotificationItem;
|
|
3363
|
+
hidden: NotificationItem[];
|
|
3364
|
+
} | {
|
|
3365
|
+
type: 'list';
|
|
3366
|
+
key: string;
|
|
3367
|
+
toasts: NotificationItem[];
|
|
3368
|
+
} | {
|
|
3369
|
+
type: 'group';
|
|
3370
|
+
key: string;
|
|
3371
|
+
category: string;
|
|
3372
|
+
toasts: NotificationItem[];
|
|
3373
|
+
expanded: boolean;
|
|
3374
|
+
} | {
|
|
3375
|
+
type: 'footer';
|
|
3376
|
+
key: string;
|
|
3377
|
+
/** Toasts behind the "N more" pill (layout `group`). */
|
|
3378
|
+
overflow: NotificationItem[];
|
|
3379
|
+
/** Every active toast, cleared by "Dismiss all". */
|
|
3380
|
+
toasts: NotificationItem[];
|
|
3381
|
+
}) & {
|
|
3382
|
+
/** The whole folded view is animating out after a dismiss-all. */
|
|
3383
|
+
exiting?: boolean;
|
|
3384
|
+
};
|
|
3385
|
+
|
|
3386
|
+
interface NotificationProps {
|
|
3387
|
+
/** Pass an existing id to replace that notification instead of adding one. */
|
|
3388
|
+
id?: NotificationId;
|
|
3280
3389
|
message: ReactNode;
|
|
3281
3390
|
title?: ReactNode;
|
|
3282
3391
|
icon?: ReactNode;
|
|
3283
3392
|
variant?: NotificationVariant;
|
|
3393
|
+
/** Category key used by the `group` layout and the category tile / meta line. */
|
|
3394
|
+
category?: string;
|
|
3395
|
+
/** Defaults to `important` when `actions` are set, otherwise `normal`. */
|
|
3396
|
+
priority?: NotificationPriority;
|
|
3397
|
+
actions?: NotificationAction[];
|
|
3398
|
+
/** Auto-dismiss time in ms for `normal` notifications, `false` to keep it open. Defaults per variant. */
|
|
3399
|
+
duration?: number | false;
|
|
3400
|
+
closeButton?: boolean;
|
|
3401
|
+
hideProgressBar?: boolean;
|
|
3284
3402
|
animationType?: NotificationAnimationType;
|
|
3403
|
+
className?: string;
|
|
3285
3404
|
classNames?: NotificationClassNames;
|
|
3405
|
+
styles?: NotificationStyles;
|
|
3406
|
+
}
|
|
3407
|
+
/**
|
|
3408
|
+
* Shows a notification toast and returns its id. Rendered by the
|
|
3409
|
+
* `CleenNotificationContainer` mounted once at the root of the app.
|
|
3410
|
+
*/
|
|
3411
|
+
declare const showNotification: ({ id, variant, priority, actions, duration, closeButton, hideProgressBar, animationType, ...props }: NotificationProps) => NotificationId;
|
|
3412
|
+
/**
|
|
3413
|
+
* Imperative helpers for notifications shown with `showNotification`.
|
|
3414
|
+
*/
|
|
3415
|
+
declare const notification: {
|
|
3416
|
+
show: ({ id, variant, priority, actions, duration, closeButton, hideProgressBar, animationType, ...props }: NotificationProps) => NotificationId;
|
|
3417
|
+
update: (id: NotificationId, { hideProgressBar, ...patch }: Partial<Omit<NotificationProps, "id">>) => void;
|
|
3418
|
+
dismiss: (id: NotificationId) => void;
|
|
3419
|
+
dismissMany: (ids: readonly NotificationId[]) => void;
|
|
3420
|
+
clear: () => void;
|
|
3421
|
+
};
|
|
3422
|
+
|
|
3423
|
+
/** Category key used for notifications that don't set a `category`. */
|
|
3424
|
+
declare const NOTIFICATION_GENERAL_CATEGORY = "general";
|
|
3425
|
+
declare const DEFAULT_NOTIFICATION_CATEGORIES: NotificationCategories;
|
|
3426
|
+
declare const DEFAULT_NOTIFICATION_LABELS: NotificationLabels;
|
|
3427
|
+
|
|
3428
|
+
/**
|
|
3429
|
+
* Live list of the notifications on screen plus the helpers to manage them,
|
|
3430
|
+
* e.g. to drive an inbox badge.
|
|
3431
|
+
*/
|
|
3432
|
+
declare const useNotifications: () => {
|
|
3433
|
+
toasts: NotificationItem[];
|
|
3434
|
+
paused: boolean;
|
|
3435
|
+
show: ({ id, variant, priority, actions, duration, closeButton, hideProgressBar, animationType, ...props }: NotificationProps) => NotificationId;
|
|
3436
|
+
update: (id: NotificationId, { hideProgressBar, ...patch }: Partial<Omit<NotificationProps, "id">>) => void;
|
|
3437
|
+
dismiss: (id: NotificationId) => void;
|
|
3438
|
+
dismissMany: (ids: readonly NotificationId[]) => void;
|
|
3439
|
+
clear: () => void;
|
|
3440
|
+
};
|
|
3441
|
+
|
|
3442
|
+
/**
|
|
3443
|
+
* Option B - grouped by category. Up to `maxVisible` notifications render as
|
|
3444
|
+
* loose cards. Above that, one critical notification is shown on its own and
|
|
3445
|
+
* the rest are grouped by `category` (groups needing action first, then the
|
|
3446
|
+
* larger ones). At most `maxVisible - (has critical)` cards are shown; the
|
|
3447
|
+
* remaining groups and extra critical notifications go into an overflow pill,
|
|
3448
|
+
* next to a "Dismiss all" button beneath the cards.
|
|
3449
|
+
*/
|
|
3450
|
+
declare const groupLayout: (toasts: readonly NotificationItem[], ui: NotificationUiState, maxVisible: number) => NotificationRenderNode[];
|
|
3451
|
+
|
|
3452
|
+
/**
|
|
3453
|
+
* Every notification renders as its own card, oldest first. Above
|
|
3454
|
+
* `maxVisible` a "Dismiss all" footer is added beneath the cards.
|
|
3455
|
+
*/
|
|
3456
|
+
declare const listLayout: (toasts: readonly NotificationItem[], _ui?: NotificationUiState, maxVisible?: number) => NotificationRenderNode[];
|
|
3457
|
+
|
|
3458
|
+
/**
|
|
3459
|
+
* Option A - stacked deck. Up to `maxVisible` notifications render as loose
|
|
3460
|
+
* cards. Above that, critical notifications stay on their own, the newest
|
|
3461
|
+
* non-critical one is shown in full and the older ones fold behind it.
|
|
3462
|
+
* `ui.expanded` swaps the deck for a scrollable list, newest first.
|
|
3463
|
+
*/
|
|
3464
|
+
declare const stackLayout: (toasts: readonly NotificationItem[], ui: NotificationUiState, maxVisible: number) => NotificationRenderNode[];
|
|
3465
|
+
|
|
3466
|
+
type Listener = () => void;
|
|
3467
|
+
type NotificationPatch = Partial<Omit<NotificationItem, 'id' | 'createdAt' | 'leaving' | 'leavingFromCount'>>;
|
|
3468
|
+
interface NotificationStoreOptions {
|
|
3469
|
+
/** Delay before a dismissed notification is removed, so it can animate out. */
|
|
3470
|
+
exitDuration?: number;
|
|
3286
3471
|
}
|
|
3287
3472
|
/**
|
|
3288
|
-
*
|
|
3289
|
-
*
|
|
3473
|
+
* Framework-free notification store. Holds the notification list, the
|
|
3474
|
+
* expanded / collapsed UI state and the auto-dismiss timers, and exposes
|
|
3475
|
+
* `subscribe` / `getSnapshot` for `useSyncExternalStore`.
|
|
3290
3476
|
*/
|
|
3291
|
-
declare const
|
|
3477
|
+
declare const createNotificationStore: ({ exitDuration, }?: NotificationStoreOptions) => {
|
|
3478
|
+
add: (item: NotificationItem) => NotificationId;
|
|
3479
|
+
update: (id: NotificationId, patch: NotificationPatch) => void;
|
|
3480
|
+
dismiss: (id: NotificationId) => void;
|
|
3481
|
+
dismissMany: (ids: readonly NotificationId[]) => void;
|
|
3482
|
+
clear: () => void;
|
|
3483
|
+
pauseAll: () => void;
|
|
3484
|
+
resumeAll: () => void;
|
|
3485
|
+
setExpanded: (expanded: boolean) => void;
|
|
3486
|
+
toggleGroup: (category: string) => void;
|
|
3487
|
+
resetUi: () => void;
|
|
3488
|
+
getTimer: (id: NotificationId) => {
|
|
3489
|
+
duration: number;
|
|
3490
|
+
remaining: number;
|
|
3491
|
+
revision: number;
|
|
3492
|
+
} | undefined;
|
|
3493
|
+
subscribe: (listener: Listener) => () => void;
|
|
3494
|
+
getSnapshot: () => NotificationState;
|
|
3495
|
+
};
|
|
3496
|
+
type NotificationStore = ReturnType<typeof createNotificationStore>;
|
|
3497
|
+
declare const notificationStore: {
|
|
3498
|
+
add: (item: NotificationItem) => NotificationId;
|
|
3499
|
+
update: (id: NotificationId, patch: NotificationPatch) => void;
|
|
3500
|
+
dismiss: (id: NotificationId) => void;
|
|
3501
|
+
dismissMany: (ids: readonly NotificationId[]) => void;
|
|
3502
|
+
clear: () => void;
|
|
3503
|
+
pauseAll: () => void;
|
|
3504
|
+
resumeAll: () => void;
|
|
3505
|
+
setExpanded: (expanded: boolean) => void;
|
|
3506
|
+
toggleGroup: (category: string) => void;
|
|
3507
|
+
resetUi: () => void;
|
|
3508
|
+
getTimer: (id: NotificationId) => {
|
|
3509
|
+
duration: number;
|
|
3510
|
+
remaining: number;
|
|
3511
|
+
revision: number;
|
|
3512
|
+
} | undefined;
|
|
3513
|
+
subscribe: (listener: Listener) => () => void;
|
|
3514
|
+
getSnapshot: () => NotificationState;
|
|
3515
|
+
};
|
|
3292
3516
|
|
|
3293
|
-
|
|
3517
|
+
type CleenNotificationContainerProps = Omit<ComponentProps<'div'>, 'children'> & {
|
|
3518
|
+
/** `list` renders every toast, `stack` folds them into a deck, `group` merges them by category. */
|
|
3519
|
+
layout?: NotificationLayout;
|
|
3520
|
+
/** Toasts rendered as loose cards before `stack` / `group` kick in. */
|
|
3521
|
+
maxVisible?: number;
|
|
3522
|
+
position?: NotificationPosition;
|
|
3523
|
+
/** Category label, icon and tone, merged over the built-in `general` category. */
|
|
3524
|
+
categories?: NotificationCategories;
|
|
3525
|
+
/** Called by "Open notifications", "Review …" and the overflow pill. */
|
|
3526
|
+
onViewAll?: (category?: string) => void;
|
|
3527
|
+
labels?: Partial<NotificationLabels>;
|
|
3528
|
+
/** Class names for every rendered slot; per-toast `classNames` override the card slots. */
|
|
3529
|
+
classNames?: NotificationContainerClassNames;
|
|
3530
|
+
styles?: NotificationContainerStyles;
|
|
3531
|
+
/** Parts that are not rendered (nor announced) at all. */
|
|
3532
|
+
hiddenElements?: NotificationHiddenElement[];
|
|
3533
|
+
};
|
|
3534
|
+
/**
|
|
3535
|
+
* Renders the notifications shown with `showNotification`. Mount it once at
|
|
3536
|
+
* the root of the app. Hovering or focusing the region pauses every
|
|
3537
|
+
* auto-dismiss timer.
|
|
3538
|
+
*/
|
|
3539
|
+
declare const CleenNotificationContainer: react.ForwardRefExoticComponent<Omit<CleenNotificationContainerProps, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
3294
3540
|
|
|
3295
3541
|
interface PaginationGoToPageProps extends ComponentProps<'div'> {
|
|
3296
3542
|
totalPages: number;
|
|
@@ -4371,4 +4617,236 @@ type TagFilterProps = Omit<ComponentProps<'div'>, 'onChange' | 'defaultValue' |
|
|
|
4371
4617
|
*/
|
|
4372
4618
|
declare const TagFilter: react.ForwardRefExoticComponent<Omit<TagFilterProps, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
4373
4619
|
|
|
4374
|
-
|
|
4620
|
+
/** Plain elements of the player that accept a class / style override. */
|
|
4621
|
+
type VideoPlayerElement =
|
|
4622
|
+
/** Focusable player box (background, rounding, shadow). */
|
|
4623
|
+
'container'
|
|
4624
|
+
/** 16:9 box holding the video, placeholder, loader and overlay. */
|
|
4625
|
+
| 'viewport' | 'video' | 'placeholder' | 'placeholderLabel' | 'placeholderSubLabel'
|
|
4626
|
+
/** Centre overlay wrapper. */
|
|
4627
|
+
| 'overlay'
|
|
4628
|
+
/** Centre seek backward / forward buttons. */
|
|
4629
|
+
| 'overlayButton'
|
|
4630
|
+
/** Centre play / pause button. */
|
|
4631
|
+
| 'overlayPlayButton'
|
|
4632
|
+
/** Bottom toolbar (seekbar + controls row, incl. gradient). */
|
|
4633
|
+
| 'controls'
|
|
4634
|
+
/** Row of buttons under the seekbar. */
|
|
4635
|
+
| 'controlsRow'
|
|
4636
|
+
/** Every icon button in the toolbar. */
|
|
4637
|
+
| 'controlButton' | 'playButton' | 'backwardButton' | 'forwardButton' | 'muteButton' | 'fullscreenButton'
|
|
4638
|
+
/** Mute button + volume slider wrapper. */
|
|
4639
|
+
| 'volume'
|
|
4640
|
+
/** Expanding wrapper around the volume slider. */
|
|
4641
|
+
| 'volumeSliderContainer'
|
|
4642
|
+
/** `current / duration` wrapper. */
|
|
4643
|
+
| 'time' | 'currentTime' | 'duration'
|
|
4644
|
+
/** Seekbar wrapper (interactive slider or progress line). */
|
|
4645
|
+
| 'seekBar'
|
|
4646
|
+
/** Filled part of the progress line when `allowBarSeeking` is off. */
|
|
4647
|
+
| 'progressFill'
|
|
4648
|
+
/** Wrapper of all seekbar segments. */
|
|
4649
|
+
| 'segments'
|
|
4650
|
+
/** Positioned box of a single segment. */
|
|
4651
|
+
| 'segment'
|
|
4652
|
+
/** Unplayed background of a segment. */
|
|
4653
|
+
| 'segmentTrack'
|
|
4654
|
+
/** Played part of a segment. */
|
|
4655
|
+
| 'segmentFill'
|
|
4656
|
+
/** Trigger button of the playback speed popover. */
|
|
4657
|
+
| 'speedButton'
|
|
4658
|
+
/** Popover content wrapper. */
|
|
4659
|
+
| 'speedContent'
|
|
4660
|
+
/** Popover header (label + current speed). */
|
|
4661
|
+
| 'speedHeader' | 'speedLabel' | 'speedValue'
|
|
4662
|
+
/** Subtitles (CC) toggle button. */
|
|
4663
|
+
| 'subtitlesButton';
|
|
4664
|
+
type VideoPlayerClassNames = Partial<Record<VideoPlayerElement, string>> & {
|
|
4665
|
+
loader?: ComponentClassnames<LoaderProps>;
|
|
4666
|
+
/** Seek slider (when `allowBarSeeking` is on). */
|
|
4667
|
+
seekSlider?: ComponentClassnames<SliderProps>;
|
|
4668
|
+
volumeSlider?: ComponentClassnames<SliderProps>;
|
|
4669
|
+
speedPopover?: ComponentClassnames<PopoverProps>;
|
|
4670
|
+
speedBadge?: ComponentClassnames<PillBadgeProps>;
|
|
4671
|
+
speedSlider?: ComponentClassnames<SliderProps>;
|
|
4672
|
+
subtitlesTooltip?: ComponentClassnames<TooltipProps>;
|
|
4673
|
+
subtitlesBadge?: ComponentClassnames<PillBadgeProps>;
|
|
4674
|
+
};
|
|
4675
|
+
type VideoPlayerStyles = Partial<Record<VideoPlayerElement, CSSProperties>> & {
|
|
4676
|
+
loader?: ComponentStyles<LoaderProps>;
|
|
4677
|
+
seekSlider?: ComponentStyles<SliderProps>;
|
|
4678
|
+
volumeSlider?: ComponentStyles<SliderProps>;
|
|
4679
|
+
speedPopover?: ComponentStyles<PopoverProps>;
|
|
4680
|
+
speedBadge?: ComponentStyles<PillBadgeProps>;
|
|
4681
|
+
speedSlider?: ComponentStyles<SliderProps>;
|
|
4682
|
+
subtitlesTooltip?: ComponentStyles<TooltipProps>;
|
|
4683
|
+
subtitlesBadge?: ComponentStyles<PillBadgeProps>;
|
|
4684
|
+
};
|
|
4685
|
+
|
|
4686
|
+
/**
|
|
4687
|
+
* Controls that can be hidden through `hiddenControls` (bottom toolbar) and
|
|
4688
|
+
* `hiddenOverlayControls` (centre overlay: PLAY, BACKWARD and FORWARD only).
|
|
4689
|
+
*/
|
|
4690
|
+
declare enum VideoPlayerControl {
|
|
4691
|
+
PLAY = "play",
|
|
4692
|
+
BACKWARD = "backward",
|
|
4693
|
+
FORWARD = "forward",
|
|
4694
|
+
VOLUME = "volume",
|
|
4695
|
+
TIME = "time",
|
|
4696
|
+
SEEKBAR = "seekbar",
|
|
4697
|
+
SPEED = "speed",
|
|
4698
|
+
SUBTITLES = "subtitles",
|
|
4699
|
+
FULLSCREEN = "fullscreen"
|
|
4700
|
+
}
|
|
4701
|
+
/** Controls rendered in the centre overlay. */
|
|
4702
|
+
type VideoPlayerOverlayControl = VideoPlayerControl.PLAY | VideoPlayerControl.BACKWARD | VideoPlayerControl.FORWARD;
|
|
4703
|
+
type VideoPlayerTrack = {
|
|
4704
|
+
src: string;
|
|
4705
|
+
/** Defaults to `subtitles`. `metadata` tracks are data-only and never shown as captions. */
|
|
4706
|
+
kind?: 'subtitles' | 'captions' | 'descriptions' | 'chapters' | 'metadata';
|
|
4707
|
+
srcLang?: string;
|
|
4708
|
+
label?: string;
|
|
4709
|
+
};
|
|
4710
|
+
/** Seekbar segment, in seconds. Without `end` it lasts until the next segment starts (or the media ends). */
|
|
4711
|
+
type VideoPlayerSegment = {
|
|
4712
|
+
start: number;
|
|
4713
|
+
end?: number;
|
|
4714
|
+
};
|
|
4715
|
+
/** A segment normalized by `getVideoSegments`: sorted, clamped and always bounded. */
|
|
4716
|
+
type VideoPlayerResolvedSegment<T extends VideoPlayerSegment = VideoPlayerSegment> = T & {
|
|
4717
|
+
end: number;
|
|
4718
|
+
};
|
|
4719
|
+
type VideoPlayerMediaEvent = SyntheticEvent<HTMLVideoElement>;
|
|
4720
|
+
/** Imperative handles exposed through the `ref` of `VideoPlayer`. */
|
|
4721
|
+
type VideoPlayerHandle = {
|
|
4722
|
+
getMediaElement: () => HTMLVideoElement | null;
|
|
4723
|
+
play: () => void;
|
|
4724
|
+
pause: () => void;
|
|
4725
|
+
/** Seeks to `time` (seconds), clamped to the media duration. Ignores `allowSeekingPastWatched`. */
|
|
4726
|
+
jumpTo: (time: number) => void;
|
|
4727
|
+
};
|
|
4728
|
+
type VideoPlayerEngineProps = Omit<VideoHTMLAttributes<HTMLVideoElement>, 'src'> & {
|
|
4729
|
+
src?: string;
|
|
4730
|
+
playing?: boolean;
|
|
4731
|
+
volume?: number;
|
|
4732
|
+
playbackRate?: number;
|
|
4733
|
+
};
|
|
4734
|
+
/**
|
|
4735
|
+
* Media renderer used by `VideoPlayer`. It must forward its ref to an
|
|
4736
|
+
* `HTMLVideoElement` (or an element implementing the same API), render
|
|
4737
|
+
* `children` (`<track>` elements) inside it and fire the native media events.
|
|
4738
|
+
*/
|
|
4739
|
+
type VideoPlayerEngine = ComponentType<VideoPlayerEngineProps & RefAttributes<HTMLVideoElement>>;
|
|
4740
|
+
type VideoPlayerLabels = {
|
|
4741
|
+
play?: string;
|
|
4742
|
+
pause?: string;
|
|
4743
|
+
seekBackward?: (seconds: number) => string;
|
|
4744
|
+
seekForward?: (seconds: number) => string;
|
|
4745
|
+
seek?: string;
|
|
4746
|
+
progress?: string;
|
|
4747
|
+
volume?: string;
|
|
4748
|
+
mute?: string;
|
|
4749
|
+
unmute?: string;
|
|
4750
|
+
subtitles?: ReactNode;
|
|
4751
|
+
noSubtitles?: ReactNode;
|
|
4752
|
+
subtitlesBadge?: ReactNode;
|
|
4753
|
+
toggleSubtitles?: string;
|
|
4754
|
+
playbackSpeed?: string;
|
|
4755
|
+
fullscreen?: string;
|
|
4756
|
+
exitFullscreen?: string;
|
|
4757
|
+
/** Shown when there is no playable video. */
|
|
4758
|
+
placeholder?: ReactNode;
|
|
4759
|
+
placeholderSubLabel?: ReactNode;
|
|
4760
|
+
};
|
|
4761
|
+
type VideoPlayerProps = {
|
|
4762
|
+
/** Media URL. Anything the engine supports: MP4/WebM, HLS (`.m3u8`), YouTube, Vimeo… with the default engine. */
|
|
4763
|
+
src?: string;
|
|
4764
|
+
tracks?: VideoPlayerTrack[];
|
|
4765
|
+
/** Seconds to start the first loaded media at. Invalid or out-of-range values are ignored. */
|
|
4766
|
+
startTime?: number;
|
|
4767
|
+
/** When `false`, clicking on the seek bar will do nothing. */
|
|
4768
|
+
allowBarSeeking?: boolean;
|
|
4769
|
+
/** When `false`, the viewer can't skip past the furthest point watched. */
|
|
4770
|
+
allowSeekingPastWatched?: boolean;
|
|
4771
|
+
segments?: VideoPlayerSegment[];
|
|
4772
|
+
hiddenControls?: VideoPlayerControl[];
|
|
4773
|
+
hiddenOverlayControls?: VideoPlayerOverlayControl[];
|
|
4774
|
+
/** Seconds the backward/forward controls move playback by. */
|
|
4775
|
+
seekStep?: number;
|
|
4776
|
+
/** Overrides `labels.placeholder`. */
|
|
4777
|
+
engine?: VideoPlayerEngine;
|
|
4778
|
+
labels?: VideoPlayerLabels;
|
|
4779
|
+
onTimeChange?: (time: number) => void;
|
|
4780
|
+
onDurationChange?: (event: VideoPlayerMediaEvent) => void;
|
|
4781
|
+
onPause?: () => void;
|
|
4782
|
+
onEnded?: () => void;
|
|
4783
|
+
/** Classes for the outer `.cleen` wrapper. */
|
|
4784
|
+
className?: string;
|
|
4785
|
+
classNames?: VideoPlayerClassNames;
|
|
4786
|
+
/** Styles for the outer `.cleen` wrapper. */
|
|
4787
|
+
style?: CSSProperties;
|
|
4788
|
+
styles?: VideoPlayerStyles;
|
|
4789
|
+
};
|
|
4790
|
+
|
|
4791
|
+
declare const DEFAULT_VIDEO_PLAYER_LABELS: Required<VideoPlayerLabels>;
|
|
4792
|
+
|
|
4793
|
+
/** Seconds the backward/forward controls move playback by. */
|
|
4794
|
+
declare const VIDEO_PLAYER_SEEK_STEP_DEFAULT = 10;
|
|
4795
|
+
|
|
4796
|
+
/**
|
|
4797
|
+
* Plain `<video>` engine without third-party code. Use it as a base for custom
|
|
4798
|
+
* engines, e.g. attaching hls.js to the element for HLS outside Safari.
|
|
4799
|
+
*/
|
|
4800
|
+
declare const NativeVideoEngine: react.ForwardRefExoticComponent<Omit<react.VideoHTMLAttributes<HTMLVideoElement>, "src"> & {
|
|
4801
|
+
src?: string;
|
|
4802
|
+
playing?: boolean;
|
|
4803
|
+
volume?: number;
|
|
4804
|
+
playbackRate?: number;
|
|
4805
|
+
} & react.RefAttributes<HTMLVideoElement>>;
|
|
4806
|
+
|
|
4807
|
+
/**
|
|
4808
|
+
* Default engine: renders `react-player`, which plays files, HLS/DASH streams
|
|
4809
|
+
* and hosted providers (YouTube, Vimeo…).
|
|
4810
|
+
*/
|
|
4811
|
+
declare const ReactPlayerEngine: react.ForwardRefExoticComponent<Omit<react.VideoHTMLAttributes<HTMLVideoElement>, "src"> & {
|
|
4812
|
+
src?: string;
|
|
4813
|
+
playing?: boolean;
|
|
4814
|
+
volume?: number;
|
|
4815
|
+
playbackRate?: number;
|
|
4816
|
+
} & react.RefAttributes<HTMLVideoElement>>;
|
|
4817
|
+
|
|
4818
|
+
/** Formats seconds as `m:ss`, or `h:mm:ss` from one hour. */
|
|
4819
|
+
declare const formatTime: (seconds: number) => string;
|
|
4820
|
+
/**
|
|
4821
|
+
* Normalizes `{ start, end? }` segments (seconds) into sorted, contiguous
|
|
4822
|
+
* bounds within the media duration. A segment without `end` lasts until the
|
|
4823
|
+
* next one starts (or the media ends).
|
|
4824
|
+
*/
|
|
4825
|
+
declare const getVideoSegments: <T extends VideoPlayerSegment>(segments: T[] | null | undefined, duration: number) => VideoPlayerResolvedSegment<T>[];
|
|
4826
|
+
/** Played fraction (0–1) of `segment` at `time`. */
|
|
4827
|
+
declare const getVideoSegmentProgress: (segment: VideoPlayerResolvedSegment, time: number) => number;
|
|
4828
|
+
/** Index of the segment playing at `time`; the last one once the media ended. */
|
|
4829
|
+
declare const getVideoSegmentIndex: (segments: VideoPlayerSegment[], time: number) => number;
|
|
4830
|
+
|
|
4831
|
+
/**
|
|
4832
|
+
* Video player with a custom control chrome: play/pause, seek backward/forward
|
|
4833
|
+
* by `seekStep` seconds, volume, progress bar, playback speed, subtitles (CC)
|
|
4834
|
+
* and fullscreen. Media is rendered by `engine` (`react-player` by default).
|
|
4835
|
+
*
|
|
4836
|
+
* - Hide any control with `hiddenControls` (bottom toolbar) and
|
|
4837
|
+
* `hiddenOverlayControls` (centre overlay) using `VideoPlayerControl`.
|
|
4838
|
+
* Hiding a control also disables its keyboard shortcut.
|
|
4839
|
+
* - `allowBarSeeking={false}` the progress bar becomes non-interactive
|
|
4840
|
+
* - `allowSeekingPastWatched={false}` prevents skipping past the furthest point watched
|
|
4841
|
+
* - `segments` (`[{ start, end? }]`, seconds) splits the seekbar into parts.
|
|
4842
|
+
* - `startTime` (seconds) is applied once to the first media loaded.
|
|
4843
|
+
* - The ref exposes `play`, `pause`, `jumpTo` and `getMediaElement`.
|
|
4844
|
+
* - `className` / `style` target the outer wrapper; `classNames` / `styles`
|
|
4845
|
+
* reach every element (see `VideoPlayerClassNames`), and nested Cleen
|
|
4846
|
+
* components (`seekSlider`, `volumeSlider`, `speedPopover`, `speedBadge`,
|
|
4847
|
+
* `speedSlider`, `subtitlesTooltip`, `subtitlesBadge`, `loader`) take
|
|
4848
|
+
* `{ className, classNames }` / `{ style, styles }`.
|
|
4849
|
+
*/
|
|
4850
|
+
declare const VideoPlayer: react.ForwardRefExoticComponent<VideoPlayerProps & react.RefAttributes<VideoPlayerHandle>>;
|
|
4851
|
+
|
|
4852
|
+
export { AdvancedProgressBar, type AdvancedProgressBarProps, AudioPlayback, type AudioPlaybackProps, AudioRecorder, type AudioRecorderProps, Avatar, type AvatarProps, AvatarRow, type AvatarRowProps, Breadcrumb, type BreadcrumbProps, Button, type ButtonProps, type ButtonVariant, Calendar, CalendarDropdown, type CalendarDropdownProps, type CalendarProps, CanvasButton, Card, CardIcon, type CardIconProps, CardMedia, type CardMediaProps, type Media as CardMediaType, type CardProps, Carousel, type CarouselProps, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxProps, CleenIcon, CleenNotificationContainer, type CleenNotificationContainerProps, Collapsible, type CollapsibleProps, type CollapsibleSection, type ColorModel, ColorPicker, type ColorPickerProps, CreditCardInput, type CreditCardInputProps, DEFAULT_NOTIFICATION_CATEGORIES, DEFAULT_NOTIFICATION_LABELS, DEFAULT_VIDEO_PLAYER_LABELS, Divider, type DividerProps, Drawer, type DrawerConfig, DrawerContainer, type DrawerContainerProps, DrawerContentTitle, type DrawerContentTitleItem, type DrawerContentTitleProps, type DrawerProps, Dropdown, type DropdownProps, Dropzone, type DropzoneProps, EditableCard, type EditableCardField, type EditableCardProps, EditableText, EditableTextArea, type EditableTextAreaProps, type EditableTextAreaRef, type EditableTextProps, type EditableTextRef, FileCard, type FileCardCategory, type FileCardData, type FileCardProps, FileStackedProgressTracker, type FileStackedProgressTrackerProps, FilterDrawer, type FilterDrawerFilterCategories, type FilterDrawerNewFilter, type FilterDrawerProps, type FilterDrawerSavedFilter, FormGroup, type FormGroupProps, GroupSelector, type GroupSelectorProps, type GroupSelectorSaveResult, type GroupSelectorThreeDotOption, type SidebarItem$1 as ISidebarItem, Icon48AlertFeatured, Icon48SuccessFeatured, IconAlertCircle, IconAlertOctagon, IconAlertTriangle, IconApps, IconArchive, IconArrowBarDown, IconArrowBarLeft, IconArrowBarRight, IconArrowBarToDown, IconArrowBarToLeft, IconArrowBarToRight, IconArrowBarToUp, IconArrowBarUp, IconArrowDown, IconArrowDownLeft, IconArrowDownNarrow, IconArrowDownRight, IconArrowLeft, IconArrowLeftNarrow, IconArrowRight, IconArrowRightNarrow, IconArrowUp, IconArrowUpLeft, IconArrowUpNarrow, IconArrowUpRight, IconAttachment, IconBarChart, IconBarChartSquare, IconBell, IconBold, IconBookOpen, IconBookmark, IconBookmarkCheck, IconBookmarkCheckFill, IconBookmarkFill, IconBookmarkMinus, IconBookmarkPlus, IconBookmarkX, IconBoxLines, IconBoxText, IconBracketsCheck, IconBracketsEllipses, IconBrickWall, IconBriefcase, IconBuilding, IconCalculator, IconCalendar, IconCertificate, IconCheck, IconCheckCircle, IconCheckCircleBroken, IconCheckFill, IconCheckVerified, IconCheckVerifiedFill, IconChevronDown, IconChevronDownDouble, IconChevronDownLeft, IconChevronDownLeftDouble, IconChevronDownRight, IconChevronDownRightDouble, IconChevronLeft, IconChevronLeftDouble, IconChevronRight, IconChevronRightDouble, IconChevronSelectorVertical, IconChevronUp, IconChevronUpDouble, IconChevronUpLeft, IconChevronUpLeftDouble, IconChevronUpRight, IconChevronUpRightDouble, IconClick, IconClock, IconClockFastForward, IconClockPlay, IconClockRewind, IconClone, IconCode, IconCodeBrowser, IconCodeCircle, IconColors, IconColumnEdit, IconCopy, IconCopy2, IconCopyCheck, IconCreditCard, IconCube, IconCubeOutline, IconCursorBox, IconDataflow, IconDataflow2, IconDataflow3, IconDistributeHorizontal, IconDollar, IconDollarCircle, IconDot, IconDotFill, IconDotsGrid, IconDotsHorizontal, IconDotsVertical, IconDownload, IconEdit, IconEditable, IconExpand, IconExternalLink, IconExternalLink2, IconEye, IconEyeHidden, IconEyeHidden2, IconFaceAngry, IconFaceLaugh, IconFaceSmile, IconFile, IconFileCheck, IconFileCsv, IconFileDownload, IconFileJson, IconFileList, IconFileMusic, IconFilePdf, IconFileSpreadsheet, IconFileText, IconFileUpload, IconFileXls, IconFileXlsx, IconFileZip, IconFiles, IconFilter, IconFilter2, IconFlag, IconFlag2, IconFlagFill, IconFocus, IconFolder, IconFolderExport, IconFolderImport, IconGraduationCap, IconGripVertical, IconHand, IconHandShield, IconHash, IconHeadsetMic, IconHeart, IconHeartFill, IconHouse, IconHouseLine, IconImage, IconImage2, IconImageCheck, IconImageOff, IconImport, IconInbox, IconInfoCircle, IconInfoHexagon, IconItalic, IconLayersMultiple, IconLayersSingle, IconLayout, IconLayout2, IconLayoutColumns, IconLayoutCustom, IconLayoutStuffed, IconLayoutTile, IconLifeBuoy, IconLightbulb, IconLightning, IconLightningFast, IconLineChart, IconLineChartBar, IconLineChartBreakoutSquare, IconLineChartUp, IconLines, IconLinesCheck, IconLinesPlay, IconLink, IconLink2, IconLinkOff, IconListBullet, IconListOrder, IconLock, IconLockFill, IconLogIn, IconLogOut, IconLogOut2, IconMagicWand, IconMail, IconMailOpen, IconMapPin, IconMaximize, IconMaximize2, IconMessageCircle, IconMessageSquare, IconMessageSquare2, IconMessageXSquare, IconMicrophone, IconMinimize, IconMinimize2, IconMinusCircle, IconMobile, IconMonitor, IconMonitor2, IconMoon, IconMoonCircle, IconMovie, IconName, IconNavigationPointer, IconNotificationBox, IconPCSetup, IconPackage, IconPalette, IconPasscodeLock, IconPause, IconPauseCircle, IconPen, IconPercentageCircle, IconPerspective, IconPhoneCall, IconPin, IconPlay, IconPlayCircle, IconPlus, IconPlusCircle, IconPrinter, IconPulse, IconQuestionCircle, IconQuote, IconRadioButton, IconRadioButtonFill, IconReceipt, IconReceiptCheck, IconRedo, IconRefresh, IconRefresh2, IconRefresh3, IconRepeat, IconReplace, IconReplay, IconRestore, IconRocket, IconRoundChart, IconRoundChart2, IconRoute, IconSave, IconScanDots, IconScissors, IconSearch, IconSend, IconServer, IconSettings, IconSettings2, IconShare, IconShieldLightning, IconShieldPlus, IconShieldRemove, IconShoppingBag, IconShoppingCart, IconShrink, IconShuffle, IconSkipForward, IconSlashCircle, IconSlashOctagon, IconSocialAndroid, IconSocialApple, IconSocialGithub, IconSocialGlobe, IconSocialGoogle, IconSocialInstagram, IconSocialLinkedin, IconSocialMastercard, IconSocialReact, IconSocialVisa, IconSocialX, IconSpeedometer, IconStairs, IconStar, IconStarFill, IconStarHalf, IconStars, IconStop, IconStrikethrough, IconSun, IconSwap, IconSwitchHorizontal, IconTable, IconTag, IconTarget, IconTarget2, IconTextFormat, IconTextFormat2, IconTextHighlight, IconThumbsDown, IconThumbsUp, IconThumbsUpFill, IconToggle, IconTranslate, IconTrash, IconTrending, IconUnderline, IconUndo, IconUnlock, IconUploadCloud, IconUser, IconUserCheck, IconUserDollar, IconUserEdit, IconUserPlus, IconUserRight, IconUserSquare, IconUserVoice, IconUsers, IconUsersUp, IconVideo, IconVideoChat, IconVolume, IconVolumeDown, IconVolumeMute, IconWrench, IconX, IconXCircle, IconXCircleFill, IconXSquare, IconZoomIn, IconZoomOut, InfoLabels, type InfoLabelsProps, Input, type InputProps, Label, type LabelProps, Loader, type LoaderProps, Lookup, type LookupOption, type LookupProps, Markdown, type MarkdownProps, Menu, type MenuProps, Modal, type ModalProps, NOTIFICATION_GENERAL_CATEGORY, NativeVideoEngine, type NotificationAction, type NotificationAnimationType, type NotificationCardSlot, type NotificationCategories, type NotificationCategory, type NotificationCategoryTone, type NotificationClassNames, type NotificationContainerClassNames, type NotificationContainerStyles, type NotificationGroupSlot, type NotificationHiddenElement, type NotificationId, type NotificationItem, type NotificationLabels, type NotificationLayout, type NotificationPatch, type NotificationPosition, type NotificationPriority, type NotificationProps, type NotificationRenderNode, type NotificationRowSlot, type NotificationSlot, type NotificationStackSlot, type NotificationState, type NotificationStore, type NotificationStyles, type NotificationUiState, type NotificationVariant, Pagination, PaginationGoToPage, type PaginationGoToPageProps, PaginationPageSize, type PaginationPageSizeProps, type PaginationProps, PillBadge, type PillBadgeProps, Popover, type PopoverProps, ProgressBar, type ProgressBarProps, ProgressCircle, type ProgressCircleProps, RadioBoxGroup, type RadioBoxGroupProps, RadioButtonGroup, type RadioButtonGroupProps, Rating, type RatingProps, ReactPlayerEngine, Select, type SelectProps, Sidebar, SidebarItem, type SidebarItemProps, type SidebarProps, Skeleton, SkeletonAvatar, SkeletonBadge, SkeletonBanner, SkeletonButton, SkeletonCard, SkeletonCard2, SkeletonCard3, SkeletonCardStack, SkeletonChart, type SkeletonComponentProps, SkeletonContentCard, SkeletonDataGrid, SkeletonForm, SkeletonGlowingCard, SkeletonImage, SkeletonInfoCard, SkeletonInput, SkeletonList, SkeletonParagraph, type SkeletonProps, type SkeletonRoundness, SkeletonText, type SkeletonType, SkeletonVideo, SkeletonWidgetCard, SkeletonWrapper, Slider, type SliderProps, SliderRange, type SliderRangeProps, StackedProgressTracker, type StackedProgressTrackerProps, StackedProgressTrackerRow, type StackedProgressTrackerRowProps, StackedProgressTrackerStatusFilter, type StackedProgressTrackerStatusFilterProps, StarRating, type StarRatingProps, Stepper, type StepperProps, Switch, type SwitchProps, TRACKER_STATUS_FILTER_ORDER, type Tab, Tabs, type TabsProps, TagFilter, type TagFilterItem, type TagFilterItemId, type TagFilterLabels, type TagFilterProps, TextArea, type TextAreaProps, Tooltip, type TooltipProps, type TrackerItem, TrackerItemStatus, TrackerStatusFilter, VIDEO_PLAYER_SEEK_STEP_DEFAULT, VideoPlayer, type VideoPlayerClassNames, VideoPlayerControl, type VideoPlayerElement, type VideoPlayerEngine, type VideoPlayerEngineProps, type VideoPlayerHandle, type VideoPlayerLabels, type VideoPlayerMediaEvent, type VideoPlayerOverlayControl, type VideoPlayerProps, type VideoPlayerResolvedSegment, type VideoPlayerSegment, type VideoPlayerStyles, type VideoPlayerTrack, createNotificationStore, formatTime, getFileIcon, getVideoSegmentIndex, getVideoSegmentProgress, getVideoSegments, groupLayout, listLayout, notification, notificationStore, parseRgbaString, showNotification, stackLayout, useNotifications };
|