@deepdesk/deepdesk-sdk 18.2.1-beta.2 → 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.cjs.js +8 -8
- package/dist/index.d.mts +4 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.esm.js +8 -8
- package/dist/index.iife.js +3 -3
- package/input.css +1 -1
- package/package.json +1 -1
- package/styles/index.js +1 -1
- package/styles.css +1 -1
- package/widget.css +1 -1
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
|
}>;
|
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
|
}>;
|