@useinsider/ab-components 0.0.102 → 0.0.103-beta.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/dist/ab-components.cjs.js +3 -3
- package/dist/ab-components.cjs.js.map +1 -1
- package/dist/ab-components.css +1 -1
- package/dist/ab-components.es.js +761 -694
- package/dist/ab-components.es.js.map +1 -1
- package/dist/ab-components.iife.js +3 -3
- package/dist/ab-components.iife.js.map +1 -1
- package/dist/ab-components.umd.js +3 -3
- package/dist/ab-components.umd.js.map +1 -1
- package/dist/index.d.ts +25 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -441,7 +441,7 @@ selected: boolean;
|
|
|
441
441
|
|
|
442
442
|
declare interface ButtonProps {
|
|
443
443
|
variant: 'solid' | 'ghost' | 'text' | 'outline';
|
|
444
|
-
color: 'primary' | 'subtle-primary' | 'secondary' | 'neutral' | 'danger' | 'warning' | 'smart' | 'toolbar-primary' | 'toolbar-smart';
|
|
444
|
+
color: 'primary' | 'subtle-primary' | 'secondary' | 'neutral' | 'danger' | 'warning' | 'smart' | 'toolbar-primary' | 'toolbar-smart' | 'inverse';
|
|
445
445
|
size?: 'default' | 'small';
|
|
446
446
|
leftIconName?: AllIconNames;
|
|
447
447
|
rightIconName?: AllIconNames;
|
|
@@ -1233,6 +1233,30 @@ autoGrow: boolean;
|
|
|
1233
1233
|
textareaRef: HTMLTextAreaElement;
|
|
1234
1234
|
}, HTMLDivElement>;
|
|
1235
1235
|
|
|
1236
|
+
export declare const Toast: DefineComponent<ToastProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1237
|
+
"update:modelValue": (value: boolean) => any;
|
|
1238
|
+
dismiss: () => any;
|
|
1239
|
+
}, string, PublicProps, Readonly<ToastProps> & Readonly<{
|
|
1240
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
1241
|
+
onDismiss?: (() => any) | undefined;
|
|
1242
|
+
}>, {
|
|
1243
|
+
variant: ToastVariant;
|
|
1244
|
+
icon: IconNames;
|
|
1245
|
+
duration: number;
|
|
1246
|
+
closeAriaLabel: string;
|
|
1247
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1248
|
+
|
|
1249
|
+
declare interface ToastProps {
|
|
1250
|
+
modelValue: boolean;
|
|
1251
|
+
text: string;
|
|
1252
|
+
variant?: ToastVariant;
|
|
1253
|
+
duration?: number;
|
|
1254
|
+
icon?: IconNames;
|
|
1255
|
+
closeAriaLabel?: string;
|
|
1256
|
+
}
|
|
1257
|
+
|
|
1258
|
+
export declare type ToastVariant = 'info' | 'error' | 'warning';
|
|
1259
|
+
|
|
1236
1260
|
export declare const Toggle: DefineComponent<ToggleProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1237
1261
|
click: (checked: boolean) => any;
|
|
1238
1262
|
}, string, PublicProps, Readonly<ToggleProps> & Readonly<{
|