@agnos-ui/svelte-headless 0.4.0-next.1 → 0.4.1
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/package.json +3 -3
- package/utils/widget.d.ts +2 -2
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agnos-ui/svelte-headless",
|
|
3
3
|
"description": "Headless widget library for Svelte.",
|
|
4
|
-
"version": "0.4.
|
|
4
|
+
"version": "0.4.1",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./index.js",
|
|
7
7
|
"module": "./index.js",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@agnos-ui/core": "0.4.
|
|
52
|
+
"@agnos-ui/core": "0.4.1"
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|
|
55
55
|
"@amadeus-it-group/tansu": "^1.0.0",
|
|
@@ -67,8 +67,8 @@
|
|
|
67
67
|
"keywords": [
|
|
68
68
|
"svelte",
|
|
69
69
|
"headless",
|
|
70
|
-
"AgnosUI",
|
|
71
70
|
"accordion",
|
|
71
|
+
"AgnosUI",
|
|
72
72
|
"alert",
|
|
73
73
|
"components",
|
|
74
74
|
"modal",
|
package/utils/widget.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ReadableSignal } from '@amadeus-it-group/tansu';
|
|
2
|
-
import type { SlotContent, SlotSvelteComponent, SlotsPresent, WidgetFactory, WidgetProps } from '../types';
|
|
2
|
+
import type { SlotContent, SlotSvelteComponent, SlotsPresent, Widget, WidgetFactory, WidgetProps } from '../types';
|
|
3
3
|
/**
|
|
4
4
|
* Call a widget factory using provided configs.
|
|
5
5
|
*
|
|
@@ -20,7 +20,7 @@ export declare const callWidgetFactoryWithConfig: <W extends Widget>({ factory,
|
|
|
20
20
|
events?: Pick<WidgetProps<W>, keyof WidgetProps<W> & `on${string}Change`>;
|
|
21
21
|
$$props: Partial<WidgetProps<W>>;
|
|
22
22
|
}) => W & {
|
|
23
|
-
patchChangedProps: W[
|
|
23
|
+
patchChangedProps: W["patch"];
|
|
24
24
|
};
|
|
25
25
|
/**
|
|
26
26
|
* A type guard checking if a provided slot content is a Svelte component.
|