@ims360/svelte-ivory 0.0.34 → 0.0.36

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.
@@ -4,7 +4,7 @@
4
4
  import clsx from 'clsx';
5
5
  import { type Snippet } from 'svelte';
6
6
  import type { ClassValue, MouseEventHandler } from 'svelte/elements';
7
- import { slide } from 'svelte/transition';
7
+ import { fade } from 'svelte/transition';
8
8
  import { twMerge } from 'tailwind-merge';
9
9
  import { Heading, HiddenBackground, Portal } from '..';
10
10
 
@@ -43,7 +43,10 @@
43
43
  preventClosing = false,
44
44
  variant,
45
45
  innerClass,
46
- inTransition = (e) => slide(e, { axis: 'y', duration: 200 }),
46
+ inTransition = (e) =>
47
+ fade(e, {
48
+ duration: 200
49
+ }),
47
50
  outTransition = () => ({}),
48
51
  ...rest
49
52
  }: Props = $props();
@@ -1 +1 @@
1
- {"version":3,"file":"Modal.svelte.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/layout/modal/Modal.svelte.ts"],"names":[],"mappings":"AAGI,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAGlE,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,QAAQ,CAAC;AACtC,OAAO,KAAK,EAAE,UAAU,EAAqB,MAAM,iBAAiB,CAAC;AAKrE,sFAAsF;AACtF,MAAM,WAAW,UAAW,SAAQ,cAAc,CAAC,cAAc,CAAC,EAAE,eAAe;IAC/E,iEAAiE;IACjE,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,6CAA6C;IAC7C,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,wCAAwC;IACxC,MAAM,EAAE,OAAO,CAAC;IAChB,2BAA2B;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,qEAAqE;IACrE,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,0DAA0D;IAC1D,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,KAAK,CAA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A,MAAM,KAAK,iDAAwC,CAAC;AACpD,KAAK,KAAK,GAAG,UAAU,CAAC,OAAO,KAAK,CAAC,CAAC;AACtC,eAAe,KAAK,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ims360/svelte-ivory",
3
- "version": "0.0.34",
3
+ "version": "0.0.36",
4
4
  "keywords": [
5
5
  "svelte"
6
6
  ],
@@ -4,7 +4,7 @@
4
4
  import clsx from 'clsx';
5
5
  import { type Snippet } from 'svelte';
6
6
  import type { ClassValue, MouseEventHandler } from 'svelte/elements';
7
- import { slide } from 'svelte/transition';
7
+ import { fade } from 'svelte/transition';
8
8
  import { twMerge } from 'tailwind-merge';
9
9
  import { Heading, HiddenBackground, Portal } from '..';
10
10
 
@@ -43,7 +43,10 @@
43
43
  preventClosing = false,
44
44
  variant,
45
45
  innerClass,
46
- inTransition = (e) => slide(e, { axis: 'y', duration: 200 }),
46
+ inTransition = (e) =>
47
+ fade(e, {
48
+ duration: 200
49
+ }),
47
50
  outTransition = () => ({}),
48
51
  ...rest
49
52
  }: Props = $props();
@@ -12,3 +12,4 @@ export default Tabs;
12
12
  export { type TabProps } from './Tab.svelte';
13
13
  export { type TabPanelProps } from './TabPanel.svelte';
14
14
  export { getTabContext, type TabContext, type TabsProps } from './Tabs.svelte';
15
+