react-dockable-desktop 7.4.1 → 7.5.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/CHANGELOG.md +69 -1
- package/README.md +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js.map +1 -1
- package/dist/styles.css +85 -62
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -2223,7 +2223,7 @@ interface RddPanelToolbarProps {
|
|
|
2223
2223
|
variant?: ToolbarVariant;
|
|
2224
2224
|
/** Default button style inherited by `ToolbarButton` and `ToolbarToggle` children. @default 'ghost' */
|
|
2225
2225
|
buttonVariant?: ButtonVariant;
|
|
2226
|
-
/**
|
|
2226
|
+
/** Button size in pixels for all buttons in this toolbar (sets `--rdd-panel-toolbar-btn-size`). The icon inside follows `--rdd-panel-toolbar-icon-size`. Falls back to the stylesheet when unset. */
|
|
2227
2227
|
buttonSize?: number;
|
|
2228
2228
|
style?: React$1.CSSProperties;
|
|
2229
2229
|
className?: string;
|
|
@@ -2242,7 +2242,7 @@ interface RddPanelToolbarProps {
|
|
|
2242
2242
|
declare function PanelToolbar({ position, variant, buttonVariant, buttonSize, style, className, children }: RddPanelToolbarProps): React$1.ReactElement;
|
|
2243
2243
|
/** Props for `<RddToolbarButton>`. */
|
|
2244
2244
|
interface RddToolbarButtonProps {
|
|
2245
|
-
/** Button icon
|
|
2245
|
+
/** Button icon: an SVG, an icon component or an icon-font glyph. Pass no size: the library sizes it with `--rdd-panel-toolbar-icon-size`. */
|
|
2246
2246
|
icon: React$1.ReactNode;
|
|
2247
2247
|
/** Click handler. */
|
|
2248
2248
|
onClick(): void;
|
|
@@ -2256,7 +2256,7 @@ interface RddToolbarButtonProps {
|
|
|
2256
2256
|
declare function ToolbarButton({ icon, onClick, disabled, title, variant }: RddToolbarButtonProps): React$1.ReactElement;
|
|
2257
2257
|
/** Props for `<RddToolbarToggle>`. */
|
|
2258
2258
|
interface RddToolbarToggleProps {
|
|
2259
|
-
/** Button icon
|
|
2259
|
+
/** Button icon: an SVG, an icon component or an icon-font glyph. Pass no size: the library sizes it with `--rdd-panel-toolbar-icon-size`. */
|
|
2260
2260
|
icon: React$1.ReactNode;
|
|
2261
2261
|
/** Whether the toggle is in the active/pressed state. Sets `aria-pressed` automatically. */
|
|
2262
2262
|
active: boolean;
|
package/dist/index.d.ts
CHANGED
|
@@ -2223,7 +2223,7 @@ interface RddPanelToolbarProps {
|
|
|
2223
2223
|
variant?: ToolbarVariant;
|
|
2224
2224
|
/** Default button style inherited by `ToolbarButton` and `ToolbarToggle` children. @default 'ghost' */
|
|
2225
2225
|
buttonVariant?: ButtonVariant;
|
|
2226
|
-
/**
|
|
2226
|
+
/** Button size in pixels for all buttons in this toolbar (sets `--rdd-panel-toolbar-btn-size`). The icon inside follows `--rdd-panel-toolbar-icon-size`. Falls back to the stylesheet when unset. */
|
|
2227
2227
|
buttonSize?: number;
|
|
2228
2228
|
style?: React$1.CSSProperties;
|
|
2229
2229
|
className?: string;
|
|
@@ -2242,7 +2242,7 @@ interface RddPanelToolbarProps {
|
|
|
2242
2242
|
declare function PanelToolbar({ position, variant, buttonVariant, buttonSize, style, className, children }: RddPanelToolbarProps): React$1.ReactElement;
|
|
2243
2243
|
/** Props for `<RddToolbarButton>`. */
|
|
2244
2244
|
interface RddToolbarButtonProps {
|
|
2245
|
-
/** Button icon
|
|
2245
|
+
/** Button icon: an SVG, an icon component or an icon-font glyph. Pass no size: the library sizes it with `--rdd-panel-toolbar-icon-size`. */
|
|
2246
2246
|
icon: React$1.ReactNode;
|
|
2247
2247
|
/** Click handler. */
|
|
2248
2248
|
onClick(): void;
|
|
@@ -2256,7 +2256,7 @@ interface RddToolbarButtonProps {
|
|
|
2256
2256
|
declare function ToolbarButton({ icon, onClick, disabled, title, variant }: RddToolbarButtonProps): React$1.ReactElement;
|
|
2257
2257
|
/** Props for `<RddToolbarToggle>`. */
|
|
2258
2258
|
interface RddToolbarToggleProps {
|
|
2259
|
-
/** Button icon
|
|
2259
|
+
/** Button icon: an SVG, an icon component or an icon-font glyph. Pass no size: the library sizes it with `--rdd-panel-toolbar-icon-size`. */
|
|
2260
2260
|
icon: React$1.ReactNode;
|
|
2261
2261
|
/** Whether the toggle is in the active/pressed state. Sets `aria-pressed` automatically. */
|
|
2262
2262
|
active: boolean;
|