@waveform-playlist/ui-components 5.0.0 → 5.2.0-next.0
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.mts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +14 -14
- package/LICENSE.md +0 -21
package/dist/index.d.mts
CHANGED
|
@@ -339,6 +339,8 @@ interface PlaylistProps {
|
|
|
339
339
|
readonly scrollContainerRef?: (el: HTMLDivElement | null) => void;
|
|
340
340
|
/** When true, selection is in progress - raises z-index to prevent clip boundary interference */
|
|
341
341
|
readonly isSelecting?: boolean;
|
|
342
|
+
/** Data attribute indicating playlist loading state ('loading' | 'ready') */
|
|
343
|
+
readonly 'data-playlist-state'?: 'loading' | 'ready';
|
|
342
344
|
}
|
|
343
345
|
declare const Playlist: FunctionComponent<PlaylistProps>;
|
|
344
346
|
declare const StyledPlaylist: react__default.ForwardRefExoticComponent<styled_components.ExecutionProps & react__default.RefAttributes<react__default.FunctionComponent<PlaylistProps>>> & styled_components_dist_utils_hoist.NonReactStatics<react__default.FunctionComponent<PlaylistProps>>;
|
package/dist/index.d.ts
CHANGED
|
@@ -339,6 +339,8 @@ interface PlaylistProps {
|
|
|
339
339
|
readonly scrollContainerRef?: (el: HTMLDivElement | null) => void;
|
|
340
340
|
/** When true, selection is in progress - raises z-index to prevent clip boundary interference */
|
|
341
341
|
readonly isSelecting?: boolean;
|
|
342
|
+
/** Data attribute indicating playlist loading state ('loading' | 'ready') */
|
|
343
|
+
readonly 'data-playlist-state'?: 'loading' | 'ready';
|
|
342
344
|
}
|
|
343
345
|
declare const Playlist: FunctionComponent<PlaylistProps>;
|
|
344
346
|
declare const StyledPlaylist: react__default.ForwardRefExoticComponent<styled_components.ExecutionProps & react__default.RefAttributes<react__default.FunctionComponent<PlaylistProps>>> & styled_components_dist_utils_hoist.NonReactStatics<react__default.FunctionComponent<PlaylistProps>>;
|
package/dist/index.js
CHANGED
|
@@ -1354,9 +1354,10 @@ var Playlist = ({
|
|
|
1354
1354
|
onTracksMouseMove,
|
|
1355
1355
|
onTracksMouseUp,
|
|
1356
1356
|
scrollContainerRef,
|
|
1357
|
-
isSelecting
|
|
1357
|
+
isSelecting,
|
|
1358
|
+
"data-playlist-state": playlistState
|
|
1358
1359
|
}) => {
|
|
1359
|
-
return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Wrapper2, { "data-scroll-container": "true", ref: scrollContainerRef, children: /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(
|
|
1360
|
+
return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Wrapper2, { "data-scroll-container": "true", "data-playlist-state": playlistState, ref: scrollContainerRef, children: /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(
|
|
1360
1361
|
ScrollContainer,
|
|
1361
1362
|
{
|
|
1362
1363
|
$backgroundColor: backgroundColor,
|