@ikonai/sdk-react-ui-radix 0.0.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 ADDED
@@ -0,0 +1,19 @@
1
+ {
2
+ "name": "@ikonai/sdk-react-ui-radix",
3
+ "version": "0.0.1",
4
+ "type": "module",
5
+ "main": "./index.js",
6
+ "types": "./index.d.ts",
7
+ "exports": {
8
+ ".": {
9
+ "import": "./index.js",
10
+ "types": "./index.d.ts"
11
+ }
12
+ },
13
+ "peerDependencies": {
14
+ "@ikonai/sdk-react-ui": "*",
15
+ "@radix-ui/themes": "*",
16
+ "react": "*",
17
+ "react-dom": "*"
18
+ }
19
+ }
@@ -0,0 +1,9 @@
1
+ import { UiComponentRendererProps, UiElementProps } from '../../sdk-react-ui/src/index.ts';
2
+ export declare function toStringValue(value: unknown): string | undefined;
3
+ export declare function toBooleanValue(value: unknown): boolean | undefined;
4
+ export declare function toNumberValue(value: unknown): number | undefined;
5
+ export declare function toActionId(value: unknown): string | undefined;
6
+ export declare function combineClassNames(...candidates: (string | readonly string[] | undefined)[]): string | undefined;
7
+ export declare function pickPrimitiveProps(props: UiElementProps | undefined, exclude?: Set<string>): Record<string, unknown>;
8
+ export declare function createVoidDispatcher(actionId: string | undefined, dispatch: UiComponentRendererProps['context']['dispatchAction']): (() => void) | undefined;
9
+ export declare function createStringDispatcher(actionId: string | undefined, dispatch: UiComponentRendererProps['context']['dispatchAction']): ((value: string) => void) | undefined;
@@ -0,0 +1,5 @@
1
+ import { IkonUiComponentResolver, IkonUiModuleLoader, IkonUiRegistry } from '../../sdk-react-ui/src/index.ts';
2
+ export declare const IKON_UI_RADIX_MODULE = "radix";
3
+ export declare const loadRadixModule: IkonUiModuleLoader;
4
+ export declare function registerRadixModule(registry: IkonUiRegistry): void;
5
+ export declare function createRadixResolvers(): IkonUiComponentResolver[];