svelte5-collapsible 1.0.2 → 1.0.4

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.d.ts CHANGED
@@ -1 +1,21 @@
1
- export {};
1
+ export type { TransitionParams } from './Components/TransitionParams';
2
+ declare const _default: {
3
+ Accordion: import("svelte").Component<import("./Components/Accordion.svelte").AccordionProps, {}, "">;
4
+ AccordionItem: import("svelte").Component<{
5
+ transition: import("./Components/TransitionParams").TransitionParams;
6
+ transitionIn?: import("./Components/TransitionParams").TransitionParams;
7
+ transitionOut?: import("./Components/TransitionParams").TransitionParams;
8
+ key: string;
9
+ header: import("svelte").Snippet;
10
+ body: import("svelte").Snippet;
11
+ }, {}, "">;
12
+ CollapsibleCard: import("svelte").Component<{
13
+ transition: import("./Components/TransitionParams").TransitionParams;
14
+ transitionIn?: import("./Components/TransitionParams").TransitionParams;
15
+ transitionOut?: import("./Components/TransitionParams").TransitionParams;
16
+ isOpen?: boolean;
17
+ header: import("svelte").Snippet;
18
+ body: import("svelte").Snippet;
19
+ }, {}, "">;
20
+ };
21
+ export default _default;
package/dist/index.js CHANGED
@@ -1,2 +1,8 @@
1
- "use strict";
2
- // Reexport your entry components here
1
+ import Accordion from './Components/Accordion.svelte';
2
+ import AccordionItem from './Components/AccordionItem.svelte';
3
+ import CollapsibleCard from './Components/CollapsibleCard.svelte';
4
+ export default {
5
+ Accordion,
6
+ AccordionItem,
7
+ CollapsibleCard
8
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "svelte5-collapsible",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "description": "Rewrite of svelte-collapsible to use svelte5 syntax",
5
5
  "scripts": {
6
6
  "dev": "vite dev",
@@ -25,7 +25,8 @@
25
25
  "exports": {
26
26
  ".": {
27
27
  "types": "./dist/index.d.ts",
28
- "svelte": "./dist/index.js"
28
+ "svelte": "./dist/index.js",
29
+ "import": "./dist/index.js"
29
30
  }
30
31
  },
31
32
  "peerDependencies": {