canvas-ui-sdk 0.3.17 → 0.3.18

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as React$1 from 'react';
3
- import { ReactNode } from 'react';
3
+ import React__default, { ReactNode } from 'react';
4
4
  import * as AvatarPrimitive from '@radix-ui/react-avatar';
5
5
  import * as class_variance_authority_types from 'class-variance-authority/types';
6
6
  import { VariantProps } from 'class-variance-authority';
@@ -4785,6 +4785,7 @@ interface ThemeState {
4785
4785
  setBrandVibrancy: (vibrancy: number) => void;
4786
4786
  setSyncRelatedColors: (sync: boolean) => void;
4787
4787
  applyBrandHueVibrancy: (hue: number, vibrancy: number, skipPrimary?: boolean) => void;
4788
+ hasCustomizations: boolean;
4788
4789
  }
4789
4790
 
4790
4791
  type PanelId = "colors" | "images" | "typography" | "buttons" | "inputs" | "export";
@@ -4811,8 +4812,11 @@ interface ThemeDrawerProps {
4811
4812
  title?: string;
4812
4813
  width?: number;
4813
4814
  readOnly?: boolean;
4815
+ docked?: boolean;
4816
+ stickyTopOffset?: number;
4817
+ children?: React__default.ReactNode;
4814
4818
  }
4815
- declare function ThemeDrawer({ devOnly, triggerPosition, defaultOpen, panels: enabledPanels, onThemeChange, onBrandingChange, onImagesChange, onImageUpload, onSave, initialOverrides, initialBranding, initialImages, initialCustomButtonStyles, storageKey, title, width, readOnly, }: ThemeDrawerProps): react_jsx_runtime.JSX.Element | null;
4819
+ declare function ThemeDrawer({ devOnly, triggerPosition, defaultOpen, panels: enabledPanels, onThemeChange, onBrandingChange, onImagesChange, onImageUpload, onSave, initialOverrides, initialBranding, initialImages, initialCustomButtonStyles, storageKey, title, width, readOnly, docked, stickyTopOffset, children, }: ThemeDrawerProps): react_jsx_runtime.JSX.Element | null;
4816
4820
 
4817
4821
  interface HslColorPickerProps {
4818
4822
  value: string;