@deepdesk/deepdesk-sdk 18.2.1-beta.1 → 18.2.1-beta.3

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
@@ -101,6 +101,8 @@ declare const styles$n: {
101
101
  readonly "actionsIsFixed": string;
102
102
  readonly "button": string;
103
103
  readonly "buttonDisabled": string;
104
+ readonly "buttonPrimary": string;
105
+ readonly "buttonSecondary": string;
104
106
  readonly "buttonWithIcon": string;
105
107
  readonly "buttonsContainer": string;
106
108
  readonly "dropdownButton": string;
@@ -126,8 +128,9 @@ interface ButtonProps<T extends React.ElementType> {
126
128
  title?: string;
127
129
  icon?: ReactNode;
128
130
  disabled?: boolean;
131
+ variant?: 'primary' | 'secondary';
129
132
  }
130
- declare function Button<T extends React.ElementType = 'button'>({ as, className, icon, title, children, disabled, ...restProps }: ButtonProps<T> & Omit<React.ComponentPropsWithoutRef<T>, keyof ButtonProps<T>>): react_jsx_runtime.JSX.Element;
133
+ declare function Button<T extends React.ElementType = 'button'>({ as, className, icon, title, children, disabled, variant, ...restProps }: ButtonProps<T> & Omit<React.ComponentPropsWithoutRef<T>, keyof ButtonProps<T>>): react_jsx_runtime.JSX.Element;
131
134
  declare const ButtonsContainer: React.FC<{
132
135
  children: React.ReactNode;
133
136
  }>;
@@ -380,7 +383,7 @@ type VariableMapping = Record<string, string>;
380
383
  type CustomDataSchema = Array<{
381
384
  path: string;
382
385
  label: string;
383
- type: 'string' | 'number';
386
+ type: 'string' | 'number' | 'array';
384
387
  } | {
385
388
  path: string;
386
389
  label: string;
package/dist/index.d.ts CHANGED
@@ -101,6 +101,8 @@ declare const styles$n: {
101
101
  readonly "actionsIsFixed": string;
102
102
  readonly "button": string;
103
103
  readonly "buttonDisabled": string;
104
+ readonly "buttonPrimary": string;
105
+ readonly "buttonSecondary": string;
104
106
  readonly "buttonWithIcon": string;
105
107
  readonly "buttonsContainer": string;
106
108
  readonly "dropdownButton": string;
@@ -126,8 +128,9 @@ interface ButtonProps<T extends React.ElementType> {
126
128
  title?: string;
127
129
  icon?: ReactNode;
128
130
  disabled?: boolean;
131
+ variant?: 'primary' | 'secondary';
129
132
  }
130
- declare function Button<T extends React.ElementType = 'button'>({ as, className, icon, title, children, disabled, ...restProps }: ButtonProps<T> & Omit<React.ComponentPropsWithoutRef<T>, keyof ButtonProps<T>>): react_jsx_runtime.JSX.Element;
133
+ declare function Button<T extends React.ElementType = 'button'>({ as, className, icon, title, children, disabled, variant, ...restProps }: ButtonProps<T> & Omit<React.ComponentPropsWithoutRef<T>, keyof ButtonProps<T>>): react_jsx_runtime.JSX.Element;
131
134
  declare const ButtonsContainer: React.FC<{
132
135
  children: React.ReactNode;
133
136
  }>;
@@ -380,7 +383,7 @@ type VariableMapping = Record<string, string>;
380
383
  type CustomDataSchema = Array<{
381
384
  path: string;
382
385
  label: string;
383
- type: 'string' | 'number';
386
+ type: 'string' | 'number' | 'array';
384
387
  } | {
385
388
  path: string;
386
389
  label: string;