@juspay/svelte-ui-components 1.13.0 → 1.15.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.
@@ -6,7 +6,7 @@ export let showLoader = false;
6
6
  const dispatch = createEventDispatcher();
7
7
  function onClick() {
8
8
  showLoader = !showLoader;
9
- dispatch("onClick");
9
+ dispatch("click");
10
10
  }
11
11
  </script>
12
12
 
@@ -90,7 +90,7 @@ function onClick() {
90
90
  margin: var(--grid-item-margin, 8px 0 0 0);
91
91
  border-radius: var(--grid-item-border-radius, 4px);
92
92
  border: var(--animation-version, 32px solid #cbcccf66);
93
- animation: clipperAnimation var(--loader-animation-duration) infinite linear;
93
+ animation: clipperAnimation var(--loader-animation-duration, 3s) infinite linear;
94
94
  }
95
95
 
96
96
  @keyframes clipperAnimation {
@@ -8,7 +8,7 @@ declare const __propDef: {
8
8
  };
9
9
  events: {
10
10
  keydown: KeyboardEvent;
11
- onClick: CustomEvent<any>;
11
+ click: CustomEvent<any>;
12
12
  } & {
13
13
  [evt: string]: CustomEvent<any>;
14
14
  };
package/dist/index.d.ts CHANGED
@@ -21,6 +21,7 @@ export { default as Table } from './Table/Table.svelte';
21
21
  export { default as Stepper } from './Stepper/Stepper.svelte';
22
22
  export { default as Step } from './Stepper/Step.svelte';
23
23
  export { default as Toast } from './Toast/Toast.svelte';
24
+ export { default as GridItem } from './GridItem/GridItem.svelte';
24
25
  export type { ButtonProperties } from './Button/properties';
25
26
  export type { ModalProperties, ModalAlign, ModalSize } from './Modal/properties';
26
27
  export type { InputProperties } from './Input/properties';
package/dist/index.js CHANGED
@@ -21,6 +21,7 @@ export { default as Table } from './Table/Table.svelte';
21
21
  export { default as Stepper } from './Stepper/Stepper.svelte';
22
22
  export { default as Step } from './Stepper/Step.svelte';
23
23
  export { default as Toast } from './Toast/Toast.svelte';
24
+ export { default as GridItem } from './GridItem/GridItem.svelte';
24
25
  export { defaultIconProperties } from './Icon/properties';
25
26
  export { defaultButtonProperties } from './Button/properties';
26
27
  export { defaultModalProperties } from './Modal/properties';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juspay/svelte-ui-components",
3
- "version": "1.13.0",
3
+ "version": "1.15.0",
4
4
  "scripts": {
5
5
  "dev": "vite dev --host",
6
6
  "build": "vite build && npm run package",