@pixonui/react 0.5.3 → 0.5.5

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 CHANGED
@@ -1574,11 +1574,12 @@ interface BackgroundProps extends React__default.HTMLAttributes<HTMLDivElement>
1574
1574
  declare const Background: React__default.ForwardRefExoticComponent<BackgroundProps & React__default.RefAttributes<HTMLDivElement>>;
1575
1575
 
1576
1576
  interface SpotlightProps extends React__default.HTMLAttributes<HTMLDivElement> {
1577
- children: React__default.ReactNode;
1577
+ children?: React__default.ReactNode;
1578
1578
  size?: number;
1579
1579
  color?: string;
1580
+ fill?: string;
1580
1581
  }
1581
- declare const Spotlight: ({ children, className, size, color, ...props }: SpotlightProps) => react_jsx_runtime.JSX.Element;
1582
+ declare const Spotlight: ({ children, className, size, color, fill, ...props }: SpotlightProps) => react_jsx_runtime.JSX.Element;
1582
1583
 
1583
1584
  declare const aiPromptInputVariants: (props?: ({
1584
1585
  variant?: "ghost" | "default" | null | undefined;
@@ -2166,7 +2167,9 @@ type ThemeProviderState = {
2166
2167
  declare function ThemeProvider({ children, defaultTheme, storageKey, ...props }: ThemeProviderProps): react_jsx_runtime.JSX.Element;
2167
2168
  declare const useTheme: () => ThemeProviderState;
2168
2169
 
2169
- declare function ThemeToggle(): react_jsx_runtime.JSX.Element;
2170
+ declare function ThemeToggle({ className }: {
2171
+ className?: string;
2172
+ }): react_jsx_runtime.JSX.Element;
2170
2173
 
2171
2174
  /**
2172
2175
  * A hook for managing asynchronous operations.
package/dist/index.d.ts CHANGED
@@ -1574,11 +1574,12 @@ interface BackgroundProps extends React__default.HTMLAttributes<HTMLDivElement>
1574
1574
  declare const Background: React__default.ForwardRefExoticComponent<BackgroundProps & React__default.RefAttributes<HTMLDivElement>>;
1575
1575
 
1576
1576
  interface SpotlightProps extends React__default.HTMLAttributes<HTMLDivElement> {
1577
- children: React__default.ReactNode;
1577
+ children?: React__default.ReactNode;
1578
1578
  size?: number;
1579
1579
  color?: string;
1580
+ fill?: string;
1580
1581
  }
1581
- declare const Spotlight: ({ children, className, size, color, ...props }: SpotlightProps) => react_jsx_runtime.JSX.Element;
1582
+ declare const Spotlight: ({ children, className, size, color, fill, ...props }: SpotlightProps) => react_jsx_runtime.JSX.Element;
1582
1583
 
1583
1584
  declare const aiPromptInputVariants: (props?: ({
1584
1585
  variant?: "ghost" | "default" | null | undefined;
@@ -2166,7 +2167,9 @@ type ThemeProviderState = {
2166
2167
  declare function ThemeProvider({ children, defaultTheme, storageKey, ...props }: ThemeProviderProps): react_jsx_runtime.JSX.Element;
2167
2168
  declare const useTheme: () => ThemeProviderState;
2168
2169
 
2169
- declare function ThemeToggle(): react_jsx_runtime.JSX.Element;
2170
+ declare function ThemeToggle({ className }: {
2171
+ className?: string;
2172
+ }): react_jsx_runtime.JSX.Element;
2170
2173
 
2171
2174
  /**
2172
2175
  * A hook for managing asynchronous operations.