react-dockable-desktop 6.2.0 → 6.3.1
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 +5 -1
- package/dist/index.cjs +5 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +10 -4
- package/dist/index.d.ts +10 -4
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/package.json +12 -1
package/dist/index.d.cts
CHANGED
|
@@ -2083,8 +2083,14 @@ interface PanelFloatPlacement {
|
|
|
2083
2083
|
* @see usePanelFloatingWindowManager
|
|
2084
2084
|
*/
|
|
2085
2085
|
interface ManagedWindowConfig {
|
|
2086
|
-
/**
|
|
2087
|
-
|
|
2086
|
+
/**
|
|
2087
|
+
* Text shown in the window's header bar. Accepts a plain string or an i18n message descriptor.
|
|
2088
|
+
*
|
|
2089
|
+
* A descriptor is re-resolved on every render, so the header follows a language change without
|
|
2090
|
+
* the window being closed and reopened — which a plain string cannot do here, because this
|
|
2091
|
+
* config is stored by the overlay rather than re-read from your own render.
|
|
2092
|
+
*/
|
|
2093
|
+
title: PanelTitle;
|
|
2088
2094
|
/** Optional icon shown to the left of the title in the header. */
|
|
2089
2095
|
icon?: React$1.ReactNode;
|
|
2090
2096
|
/** Window body content. */
|
|
@@ -2235,8 +2241,8 @@ declare function ToolbarSearchInput({ placeholder, onSearch, onSelect }: Toolbar
|
|
|
2235
2241
|
interface PanelFloatingWindowProps {
|
|
2236
2242
|
/** Unique identifier within the panel overlay. Used for z-order and stack tracking. */
|
|
2237
2243
|
id: string;
|
|
2238
|
-
/** Text shown in the window's header bar. */
|
|
2239
|
-
title:
|
|
2244
|
+
/** Text shown in the window's header bar. Accepts a plain string or an i18n message descriptor. */
|
|
2245
|
+
title: PanelTitle;
|
|
2240
2246
|
/** Optional icon shown to the left of the title in the header. */
|
|
2241
2247
|
icon?: React$1.ReactNode;
|
|
2242
2248
|
/** Whether the window is mounted and visible. Set to `false` to close/unmount it. */
|
package/dist/index.d.ts
CHANGED
|
@@ -2083,8 +2083,14 @@ interface PanelFloatPlacement {
|
|
|
2083
2083
|
* @see usePanelFloatingWindowManager
|
|
2084
2084
|
*/
|
|
2085
2085
|
interface ManagedWindowConfig {
|
|
2086
|
-
/**
|
|
2087
|
-
|
|
2086
|
+
/**
|
|
2087
|
+
* Text shown in the window's header bar. Accepts a plain string or an i18n message descriptor.
|
|
2088
|
+
*
|
|
2089
|
+
* A descriptor is re-resolved on every render, so the header follows a language change without
|
|
2090
|
+
* the window being closed and reopened — which a plain string cannot do here, because this
|
|
2091
|
+
* config is stored by the overlay rather than re-read from your own render.
|
|
2092
|
+
*/
|
|
2093
|
+
title: PanelTitle;
|
|
2088
2094
|
/** Optional icon shown to the left of the title in the header. */
|
|
2089
2095
|
icon?: React$1.ReactNode;
|
|
2090
2096
|
/** Window body content. */
|
|
@@ -2235,8 +2241,8 @@ declare function ToolbarSearchInput({ placeholder, onSearch, onSelect }: Toolbar
|
|
|
2235
2241
|
interface PanelFloatingWindowProps {
|
|
2236
2242
|
/** Unique identifier within the panel overlay. Used for z-order and stack tracking. */
|
|
2237
2243
|
id: string;
|
|
2238
|
-
/** Text shown in the window's header bar. */
|
|
2239
|
-
title:
|
|
2244
|
+
/** Text shown in the window's header bar. Accepts a plain string or an i18n message descriptor. */
|
|
2245
|
+
title: PanelTitle;
|
|
2240
2246
|
/** Optional icon shown to the left of the title in the header. */
|
|
2241
2247
|
icon?: React$1.ReactNode;
|
|
2242
2248
|
/** Whether the window is mounted and visible. Set to `false` to close/unmount it. */
|