@juspay/svelte-ui-components
Advanced tools
Comparing version 1.7.0 to 1.8.0
@@ -33,2 +33,3 @@ export { default as Modal } from './Modal/Modal.svelte'; | ||
export type { ValidationState } from './types'; | ||
export type { FlyAnimationConfig } from './types'; | ||
export type { IconProperties } from './Icon/properties'; | ||
@@ -35,0 +36,0 @@ export type { BrandLoaderProperties } from './BrandLoader/properties'; |
@@ -12,2 +12,3 @@ import { SvelteComponent } from "svelte"; | ||
leftButtonClick: CustomEvent<any>; | ||
bottomButtonClick: CustomEvent<any>; | ||
stateChange: CustomEvent<any>; | ||
@@ -14,0 +15,0 @@ } & { |
@@ -7,3 +7,4 @@ import type { ButtonProperties } from '../Button/properties'; | ||
leftButtonProperties: ButtonProperties | null; | ||
bottomButtonProperties: ButtonProperties | null; | ||
}; | ||
export declare const defaultInputButtonProperties: InputButtonProperties; |
@@ -16,3 +16,4 @@ import { defaultInputProperties } from '../Input/properties'; | ||
rightButtonProperties, | ||
leftButtonProperties: null | ||
leftButtonProperties: null, | ||
bottomButtonProperties: null | ||
}; |
@@ -0,1 +1,2 @@ | ||
import type { ButtonProperties } from '../Button/properties'; | ||
import type { ImgProps } from '../Img/properties'; | ||
@@ -13,2 +14,4 @@ export type SelectProperties = { | ||
leftIcon: ImgProps | null; | ||
addInputButton?: boolean; | ||
addInputButtonProps?: ButtonProperties; | ||
}; |
@@ -12,2 +12,3 @@ import { SvelteComponent } from "svelte"; | ||
dropdownClick: CustomEvent<any>; | ||
selectInput: CustomEvent<any>; | ||
} & { | ||
@@ -14,0 +15,0 @@ [evt: string]: CustomEvent<any>; |
export type ToastType = 'success' | 'error' | 'info' | 'warn'; | ||
export type ToastDirection = 'left-to-right' | 'right-to-left' | 'top-to-bottom' | 'bottom-to-top'; | ||
export type ToastProperties = { | ||
@@ -8,3 +9,9 @@ duration: number; | ||
type?: ToastType; | ||
direction?: ToastDirection; | ||
overlapPage?: boolean; | ||
inAnimationOffset?: number; | ||
inAnimationDuration?: number; | ||
outAnimationOffset?: number; | ||
outAnimationDuration?: number; | ||
}; | ||
export declare const defaultToastProperties: ToastProperties; |
@@ -0,1 +1,2 @@ | ||
import type { FlyParams } from 'svelte/transition'; | ||
/** | ||
@@ -21,1 +22,8 @@ * @name InputDataType | ||
export type ValidationState = 'Valid' | 'InProgress' | 'Invalid'; | ||
/** | ||
* @description Type for animation configuration | ||
*/ | ||
export type FlyAnimationConfig = { | ||
in: FlyParams; | ||
out: FlyParams; | ||
}; |
{ | ||
"name": "@juspay/svelte-ui-components", | ||
"version": "1.7.0", | ||
"version": "1.8.0", | ||
"scripts": { | ||
@@ -5,0 +5,0 @@ "dev": "vite dev", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
120363
1074