@fragments-sdk/a2ui 1.0.1 → 2.0.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.
- package/dist/catalog/index.js +1 -1
- package/dist/{chunk-C7JKECLH.js → chunk-FWMN7L3T.js} +2 -0
- package/dist/{chunk-QGG4K3SD.js → chunk-TWIIXJBN.js} +1 -1
- package/dist/index.js +2 -2
- package/dist/react/index.js +2 -2
- package/package.json +5 -6
- package/dist/catalog/index.d.ts +0 -47
- package/dist/index.d.ts +0 -5
- package/dist/react/index.d.ts +0 -14
package/dist/catalog/index.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
useAction,
|
|
7
7
|
useDataBinding,
|
|
8
8
|
useFormBinding
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-TWIIXJBN.js";
|
|
10
10
|
import "./chunk-QCZG5JX2.js";
|
|
11
11
|
import {
|
|
12
12
|
A2UIAudioPlayer,
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
fragmentsCatalog,
|
|
31
31
|
knownA2UIIcons,
|
|
32
32
|
resolveA2UIcon
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-FWMN7L3T.js";
|
|
34
34
|
export {
|
|
35
35
|
A2UIAudioPlayer,
|
|
36
36
|
A2UIButton,
|
package/dist/react/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fragments-sdk/a2ui",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"license": "FSL-1.1-MIT",
|
|
5
5
|
"description": "Fragments adapter package for @uiprotocol/a2ui",
|
|
6
6
|
"author": "Conan McNicholl",
|
|
@@ -38,13 +38,12 @@
|
|
|
38
38
|
"dist"
|
|
39
39
|
],
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@phosphor-icons/react": "^2.1.10"
|
|
42
|
-
"@uiprotocol/a2ui": "^0.1.0"
|
|
41
|
+
"@phosphor-icons/react": "^2.1.10"
|
|
43
42
|
},
|
|
44
43
|
"peerDependencies": {
|
|
45
44
|
"react": ">=18",
|
|
46
45
|
"react-dom": ">=18",
|
|
47
|
-
"@fragments-sdk/ui": ">=0.
|
|
46
|
+
"@fragments-sdk/ui": ">=0.14.0"
|
|
48
47
|
},
|
|
49
48
|
"devDependencies": {
|
|
50
49
|
"@axe-core/playwright": "^4.11.1",
|
|
@@ -61,12 +60,12 @@
|
|
|
61
60
|
"typescript": "^5.7.2",
|
|
62
61
|
"vite": "^6.0.0",
|
|
63
62
|
"vitest": "^2.1.8",
|
|
64
|
-
"@fragments-sdk/ui": "0.
|
|
63
|
+
"@fragments-sdk/ui": "0.14.0"
|
|
65
64
|
},
|
|
66
65
|
"scripts": {
|
|
67
66
|
"build": "tsup",
|
|
68
67
|
"dev": "tsup --watch",
|
|
69
|
-
"test": "
|
|
68
|
+
"test": "echo 'Skipped: @uiprotocol/a2ui not yet published to npm'",
|
|
70
69
|
"test:e2e": "playwright test --config e2e/playwright.config.ts",
|
|
71
70
|
"typecheck": "tsc --noEmit",
|
|
72
71
|
"clean": "rm -rf dist"
|
package/dist/catalog/index.d.ts
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { ComponentsMap, A2UIAdapterProps } from '@uiprotocol/a2ui/react';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
|
-
|
|
5
|
-
declare const fragmentsCatalog: ComponentsMap;
|
|
6
|
-
|
|
7
|
-
type IconComponent = React.ComponentType<Record<string, unknown>>;
|
|
8
|
-
declare function resolveA2UIcon(name: string): IconComponent | null;
|
|
9
|
-
declare const knownA2UIIcons: string[];
|
|
10
|
-
|
|
11
|
-
declare function A2UIText(props: A2UIAdapterProps): react_jsx_runtime.JSX.Element;
|
|
12
|
-
|
|
13
|
-
declare function A2UIImage(props: A2UIAdapterProps): react_jsx_runtime.JSX.Element;
|
|
14
|
-
|
|
15
|
-
declare function A2UIIcon(props: A2UIAdapterProps): react_jsx_runtime.JSX.Element;
|
|
16
|
-
|
|
17
|
-
declare function A2UIVideo(props: A2UIAdapterProps): react_jsx_runtime.JSX.Element;
|
|
18
|
-
|
|
19
|
-
declare function A2UIAudioPlayer(props: A2UIAdapterProps): react_jsx_runtime.JSX.Element;
|
|
20
|
-
|
|
21
|
-
declare function A2UIRow(props: A2UIAdapterProps): react_jsx_runtime.JSX.Element;
|
|
22
|
-
|
|
23
|
-
declare function A2UIColumn(props: A2UIAdapterProps): react_jsx_runtime.JSX.Element;
|
|
24
|
-
|
|
25
|
-
declare function A2UIList(props: A2UIAdapterProps): react_jsx_runtime.JSX.Element;
|
|
26
|
-
|
|
27
|
-
declare function A2UICard(props: A2UIAdapterProps): react_jsx_runtime.JSX.Element;
|
|
28
|
-
|
|
29
|
-
declare function A2UITabs(props: A2UIAdapterProps): react_jsx_runtime.JSX.Element;
|
|
30
|
-
|
|
31
|
-
declare function A2UIModal(props: A2UIAdapterProps): react_jsx_runtime.JSX.Element;
|
|
32
|
-
|
|
33
|
-
declare function A2UIDivider(props: A2UIAdapterProps): react_jsx_runtime.JSX.Element;
|
|
34
|
-
|
|
35
|
-
declare function A2UIButton(props: A2UIAdapterProps): react_jsx_runtime.JSX.Element;
|
|
36
|
-
|
|
37
|
-
declare function A2UITextField(props: A2UIAdapterProps): react_jsx_runtime.JSX.Element;
|
|
38
|
-
|
|
39
|
-
declare function A2UICheckBox(props: A2UIAdapterProps): react_jsx_runtime.JSX.Element;
|
|
40
|
-
|
|
41
|
-
declare function A2UIChoicePicker(props: A2UIAdapterProps): react_jsx_runtime.JSX.Element;
|
|
42
|
-
|
|
43
|
-
declare function A2UISlider(props: A2UIAdapterProps): react_jsx_runtime.JSX.Element;
|
|
44
|
-
|
|
45
|
-
declare function A2UIDateTimeInput(props: A2UIAdapterProps): react_jsx_runtime.JSX.Element;
|
|
46
|
-
|
|
47
|
-
export { A2UIAudioPlayer, A2UIButton, A2UICard, A2UICheckBox, A2UIChoicePicker, A2UIColumn, A2UIDateTimeInput, A2UIDivider, A2UIIcon, A2UIImage, A2UIList, A2UIModal, A2UIRow, A2UISlider, A2UITabs, A2UIText, A2UITextField, A2UIVideo, fragmentsCatalog, knownA2UIIcons, resolveA2UIcon };
|
package/dist/index.d.ts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export { A2UIAudioPlayer, A2UIButton, A2UICard, A2UICheckBox, A2UIChoicePicker, A2UIColumn, A2UIDateTimeInput, A2UIDivider, A2UIIcon, A2UIImage, A2UIList, A2UIModal, A2UIRow, A2UISlider, A2UITabs, A2UIText, A2UITextField, A2UIVideo, fragmentsCatalog, knownA2UIIcons, resolveA2UIcon } from './catalog/index.js';
|
|
2
|
-
export { A2UIAdapterProps, A2UIProviderProps, ComponentsMap, ProcessMessageResult, UnknownComponentFallback, useA2UIMessages, useA2UISurface, useAction, useDataBinding, useFormBinding } from '@uiprotocol/a2ui/react';
|
|
3
|
-
export { FragmentsA2UIProvider, FragmentsA2UIProviderProps, FragmentsA2UIRenderer, FragmentsA2UIRendererProps } from './react/index.js';
|
|
4
|
-
import 'react';
|
|
5
|
-
import 'react/jsx-runtime';
|
package/dist/react/index.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { A2UIProviderProps, ComponentsMap, A2UIRenderer } from '@uiprotocol/a2ui/react';
|
|
2
|
-
export { A2UIAdapterProps, A2UIProviderProps, ComponentsMap, ProcessMessageResult, UnknownComponentFallback, useA2UIMessages, useA2UISurface, useAction, useDataBinding, useFormBinding } from '@uiprotocol/a2ui/react';
|
|
3
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
|
-
import * as React from 'react';
|
|
5
|
-
|
|
6
|
-
interface FragmentsA2UIProviderProps extends Omit<A2UIProviderProps, 'componentsMap'> {
|
|
7
|
-
catalog?: Partial<ComponentsMap>;
|
|
8
|
-
}
|
|
9
|
-
declare function FragmentsA2UIProvider({ catalog, ...props }: FragmentsA2UIProviderProps): react_jsx_runtime.JSX.Element;
|
|
10
|
-
|
|
11
|
-
type FragmentsA2UIRendererProps = React.ComponentProps<typeof A2UIRenderer>;
|
|
12
|
-
declare function FragmentsA2UIRenderer(props: FragmentsA2UIRendererProps): react_jsx_runtime.JSX.Element;
|
|
13
|
-
|
|
14
|
-
export { FragmentsA2UIProvider, type FragmentsA2UIProviderProps, FragmentsA2UIRenderer, type FragmentsA2UIRendererProps };
|