@ikonai/sdk-react-ui-radix 0.0.10 → 0.0.12
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/components/radix-accessibility.d.ts +3 -0
- package/components/radix-capture-button.d.ts +2 -0
- package/components/radix-dialog.d.ts +2 -0
- package/components/radix-disclosure.d.ts +10 -0
- package/components/radix-display.d.ts +11 -0
- package/components/radix-form.d.ts +27 -0
- package/components/radix-icon-button.d.ts +2 -0
- package/components/radix-icon.d.ts +2 -0
- package/components/radix-layout.d.ts +8 -0
- package/components/radix-popover.d.ts +2 -0
- package/components/radix-tabs.d.ts +5 -0
- package/components/radix-theme.d.ts +2 -0
- package/components/radix-tooltip.d.ts +2 -0
- package/index.d.ts +12 -0
- package/index.js +8844 -304
- package/package.json +21 -1
- package/radix-core.d.ts +10 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ikonai/sdk-react-ui-radix",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.12",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"types": "./index.d.ts",
|
|
@@ -12,6 +12,26 @@
|
|
|
12
12
|
},
|
|
13
13
|
"peerDependencies": {
|
|
14
14
|
"@ikonai/sdk-react-ui": "*",
|
|
15
|
+
"@radix-ui/react-accessible-icon": "*",
|
|
16
|
+
"@radix-ui/react-accordion": "*",
|
|
17
|
+
"@radix-ui/react-aspect-ratio": "*",
|
|
18
|
+
"@radix-ui/react-avatar": "*",
|
|
19
|
+
"@radix-ui/react-checkbox": "*",
|
|
20
|
+
"@radix-ui/react-collapsible": "*",
|
|
21
|
+
"@radix-ui/react-dialog": "*",
|
|
22
|
+
"@radix-ui/react-direction": "*",
|
|
23
|
+
"@radix-ui/react-portal": "*",
|
|
24
|
+
"@radix-ui/react-progress": "*",
|
|
25
|
+
"@radix-ui/react-radio-group": "*",
|
|
26
|
+
"@radix-ui/react-scroll-area": "*",
|
|
27
|
+
"@radix-ui/react-select": "*",
|
|
28
|
+
"@radix-ui/react-separator": "*",
|
|
29
|
+
"@radix-ui/react-slider": "*",
|
|
30
|
+
"@radix-ui/react-switch": "*",
|
|
31
|
+
"@radix-ui/react-tabs": "*",
|
|
32
|
+
"@radix-ui/react-toggle": "*",
|
|
33
|
+
"@radix-ui/react-toggle-group": "*",
|
|
34
|
+
"@radix-ui/react-visually-hidden": "*",
|
|
15
35
|
"@radix-ui/themes": "*",
|
|
16
36
|
"react": "*",
|
|
17
37
|
"react-dom": "*"
|
package/radix-core.d.ts
CHANGED
|
@@ -1,9 +1,17 @@
|
|
|
1
|
-
import { UiComponentRendererProps,
|
|
1
|
+
import { UiComponentRendererProps, UiNode, UiNodeProps } from '../../sdk-react-ui/src/index.ts';
|
|
2
2
|
export declare function toStringValue(value: unknown): string | undefined;
|
|
3
3
|
export declare function toBooleanValue(value: unknown): boolean | undefined;
|
|
4
4
|
export declare function toNumberValue(value: unknown): number | undefined;
|
|
5
5
|
export declare function toActionId(value: unknown): string | undefined;
|
|
6
6
|
export declare function combineClassNames(...candidates: (string | readonly string[] | undefined)[]): string | undefined;
|
|
7
|
-
export declare function pickPrimitiveProps(props:
|
|
7
|
+
export declare function pickPrimitiveProps(props: UiNodeProps | undefined, exclude?: Set<string>): Record<string, unknown>;
|
|
8
8
|
export declare function createVoidDispatcher(actionId: string | undefined, dispatch: UiComponentRendererProps['context']['dispatchAction']): (() => void) | undefined;
|
|
9
9
|
export declare function createStringDispatcher(actionId: string | undefined, dispatch: UiComponentRendererProps['context']['dispatchAction']): ((value: string) => void) | undefined;
|
|
10
|
+
export declare function createNullableBooleanDispatcher(actionId: string | undefined, dispatch: UiComponentRendererProps['context']['dispatchAction']): ((value: boolean | null | undefined) => void) | undefined;
|
|
11
|
+
export declare function toStringListValue(value: unknown): string[] | undefined;
|
|
12
|
+
export declare function toStyleIdList(value: unknown): readonly string[] | undefined;
|
|
13
|
+
export interface SlotChildCollection {
|
|
14
|
+
readonly defaultChildren: readonly UiNode[];
|
|
15
|
+
readonly slotChildren: ReadonlyMap<string, readonly UiNode[]>;
|
|
16
|
+
}
|
|
17
|
+
export declare function collectSlotChildren(node: UiNode): SlotChildCollection;
|