@behindthemusictree/app-kit-ui 40.1.0 → 41.0.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.
@@ -250,8 +250,11 @@ type GenreTreeViewProps<O extends CriteriaOverview = CriteriaOverview> = {
250
250
  additionalActions?: (node: GenreTreeNode) => GenreTreeAction[];
251
251
  /** Controlled view mode. When provided, the internal Stacked/Wheel toggle is not rendered — the consumer owns that UI. */
252
252
  viewMode?: GenreTreeViewMode;
253
- /** Selected genre entity, including genres outside the rendered tree. */
254
- selectedGenreUuid?: GenreUuid | null;
253
+ /**
254
+ * Selected genre entity, including genres outside the rendered tree. A raw URL value is accepted as is:
255
+ * one that names no genre opens a "not found" panel.
256
+ */
257
+ selectedGenreUuid?: string | null;
255
258
  /** Called on every user-driven selection change (tree click, search pick, search clear). */
256
259
  onSelectedGenreUuidChange?: (genreUuid: GenreUuid | null) => void;
257
260
  /** Mount-only seed for the pan/zoom (wheel, pop-core and stacked views), replacing the initial fit. */
@@ -389,7 +392,8 @@ type GenreInfoPanelBodyProps<O extends CriteriaOverview> = {
389
392
  declare function GenreInfoPanelBody<O extends CriteriaOverview>({ toolbar, family, genreUuid, genrePlaylist, catalogue, wikidataId, scope, getBackendBaseUrl, playback, band, extras, }: GenreInfoPanelBodyProps<O>): react.JSX.Element;
390
393
 
391
394
  type GenreDetailPanelProps<O extends CriteriaOverview> = {
392
- genreUuid: GenreUuid;
395
+ /** May be a raw URL value: one that names no genre renders "Genre not found". */
396
+ genreUuid: string;
393
397
  scope: Scope;
394
398
  getBackendBaseUrl: () => string;
395
399
  onClose: () => void;
@@ -23,7 +23,7 @@ import {
23
23
  useGenrePlaylistPlayback,
24
24
  useGenreRemoteSearchGroup,
25
25
  useSongSearchGroup
26
- } from "../chunk-DPYUE6WD.js";
26
+ } from "../chunk-GR4PCPCU.js";
27
27
  import "../chunk-2GH7CSCE.js";
28
28
  export {
29
29
  EntityDetailPanel,