fuma 0.2.1 → 0.2.3

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.
@@ -15,10 +15,10 @@ export let maxWidth = "32rem";
15
15
  export let classHeader = "";
16
16
  export let classBody = "";
17
17
  export function open() {
18
- goto($urlParam.with({ [key]: value }), { replaceState: true });
18
+ goto($urlParam.with({ [key]: value }), { replaceState: true, noScroll: true });
19
19
  }
20
20
  export function close() {
21
- goto($urlParam.without(key), { replaceState: true });
21
+ goto($urlParam.without(key), { replaceState: true, noScroll: true });
22
22
  }
23
23
  const { offset, destroy, isActive } = subscibeDrawerLayers(key, value);
24
24
  onDestroy(destroy);
@@ -35,7 +35,7 @@ contextContainer.set("drawer");
35
35
  />
36
36
 
37
37
  <aside
38
- transition:fly|local={{ x: 500, duration: 200 }}
38
+ transition:fly|local={{ x: 500, duration: 200, opacity: 1 }}
39
39
  style="max-width: min(100%, {maxWidth}); transform: translateX({-$offset * 4}rem);"
40
40
  class="{klass}
41
41
  fixed bottom-0 right-0 top-0 z-10 flex
@@ -2,6 +2,7 @@ export * from './types.js';
2
2
  export * from './action.js';
3
3
  export { default as FormControl } from './FormControl.svelte';
4
4
  export { default as InputText } from './InputText.svelte';
5
+ export { default as InputTextRich } from './textRich/InputTextRich.svelte';
5
6
  export { default as InputPassword } from './InputPassword.svelte';
6
7
  export { default as InputTextarea } from './InputTextarea.svelte';
7
8
  export { default as InputRelations } from './InputRelations.svelte';
@@ -2,6 +2,7 @@ export * from './types.js';
2
2
  export * from './action.js';
3
3
  export { default as FormControl } from './FormControl.svelte';
4
4
  export { default as InputText } from './InputText.svelte';
5
+ export { default as InputTextRich } from './textRich/InputTextRich.svelte';
5
6
  export { default as InputPassword } from './InputPassword.svelte';
6
7
  export { default as InputTextarea } from './InputTextarea.svelte';
7
8
  export { default as InputRelations } from './InputRelations.svelte';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fuma",
3
- "version": "0.2.1",
3
+ "version": "0.2.3",
4
4
  "description": "My fullstack material build with sveltekit, daisyui, zod and more",
5
5
  "author": {
6
6
  "name": "Jonas Voisard",
@@ -12,10 +12,12 @@
12
12
  "exports": {
13
13
  ".": {
14
14
  "types": "./dist/index.d.ts",
15
+ "svelte": "./dist/index.js",
15
16
  "default": "./dist/index.js"
16
17
  },
17
18
  "./ui": {
18
19
  "types": "./dist/ui/index.d.ts",
20
+ "svelte": "./dist/ui/index.js",
19
21
  "default": "./dist/ui/index.js"
20
22
  },
21
23
  "./utils": {