🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

@arcanejs/react-toolkit

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@arcanejs/react-toolkit - npm Package Compare versions

Comparing version

to
0.9.0

dist/connections.d.mts

14

dist/colors.d.ts

@@ -1,2 +0,2 @@

import React__default, { Ref } from 'react';
import React__default, { Ref, ReactNode } from 'react';
import { Props as Props$1, Events as Events$1, Group, GroupHeader } from '@arcanejs/toolkit/components/group';

@@ -12,4 +12,2 @@ import { Props, Events, Button } from '@arcanejs/toolkit/components/button';

type Child = JSX.Element | string | null | undefined | boolean;
type Children = Child | Child[];
interface LightDeskIntrinsicElements {

@@ -22,3 +20,3 @@ button: Props & {

group: Props$1 & {
children?: Children;
children?: ReactNode;
onTitleChanged?: Events$1['title-changed'];

@@ -28,3 +26,3 @@ ref?: Ref<Group>;

'group-header': {
children?: Children;
children?: ReactNode;
ref?: Ref<GroupHeader>;

@@ -51,11 +49,11 @@ };

tab: TabProps & {
children?: JSX.Element | string;
children?: ReactNode;
ref?: Ref<Tab>;
};
tabs: TabsProps & {
children?: JSX.Element | JSX.Element[];
children?: ReactNode;
ref?: Ref<Tabs>;
};
'text-input': Props$6 & {
children?: JSX.Element | JSX.Element[];
children?: ReactNode;
onChange?: Events$4['change'];

@@ -62,0 +60,0 @@ ref?: Ref<TextInput>;

@@ -6,3 +6,3 @@ import * as _arcanejs_protocol_core from '@arcanejs/protocol/core';

import * as _arcanejs_toolkit_components_button from '@arcanejs/toolkit/components/button';
import React__default from 'react';
import React__default, { ReactNode } from 'react';
import * as ld from '@arcanejs/toolkit';

@@ -16,8 +16,6 @@ import { Button as Button$1, Group as Group$1, GroupHeader as GroupHeader$1, Label as Label$1, Rect as Rect$1, SliderButton as SliderButton$1, Switch as Switch$1, Tab as Tab$1, Tabs as Tabs$1, TextInput as TextInput$1, Timeline as Timeline$1 } from '@arcanejs/toolkit';

};
type Child = JSX.Element | null | undefined | false | string;
type Children = Child | Child[];
type PropsOfComponent<T extends ComponentClass> = T extends new (props?: infer P) => BaseParent<any, any, any> ? Partial<P & {
children: Children;
children: ReactNode;
}> : T extends new (props: infer P) => BaseParent<any, any, any> ? P & {
children?: Children;
children?: ReactNode;
} : T extends new (props?: infer P) => Base<any, any, any> ? Partial<P> : T extends new (props: infer P) => Base<any, any, any> ? P : never;

@@ -64,6 +62,6 @@ type InstanceType<T extends ComponentClass> = T extends new (...args: any[]) => infer R ? R : never;

declare const Group: React__default.ForwardRefExoticComponent<Partial<Partial<_arcanejs_toolkit_components_group.InternalProps> & {
children: (string | false | JSX.Element | null | undefined) | (string | false | JSX.Element | null | undefined)[];
children: React__default.ReactNode;
}> & React__default.RefAttributes<ld.Group>>;
declare const GroupHeader: React__default.ForwardRefExoticComponent<Record<never, never> & {
children?: (string | false | JSX.Element | null | undefined) | (string | false | JSX.Element | null | undefined)[];
children?: React__default.ReactNode;
} & React__default.RefAttributes<ld.GroupHeader>>;

@@ -80,7 +78,7 @@ declare const Label: React__default.ForwardRefExoticComponent<Partial<_arcanejs_protocol_styles.LabelComponentStyle & {

defaultValue?: number | undefined;
onChange?: ((value: number) => void | Promise<void>) | undefined;
onChange?: ((value: number, connection: ld.ToolkitConnection) => void | Promise<void>) | undefined;
}, "value"> & Partial<Omit<Pick<_arcanejs_protocol_core.SliderButtonComponent, "grow" | "min" | "max" | "step" | "gradient"> & {
value?: number | undefined;
defaultValue?: number | undefined;
onChange?: ((value: number) => void | Promise<void>) | undefined;
onChange?: ((value: number, connection: ld.ToolkitConnection) => void | Promise<void>) | undefined;
}, "value">>> & React__default.RefAttributes<ld.SliderButton>>;

@@ -90,3 +88,3 @@ declare const Switch: React__default.ForwardRefExoticComponent<Partial<Partial<{

defaultValue?: "on" | "off" | undefined;
onChange?: ((state: "on" | "off") => void | Promise<void>) | undefined;
onChange?: ((state: "on" | "off", connection: ld.ToolkitConnection) => void | Promise<void>) | undefined;
}>> & React__default.RefAttributes<ld.Switch>>;

@@ -96,10 +94,10 @@ declare const Tab: React__default.ForwardRefExoticComponent<{

} & {
children?: (string | false | JSX.Element | null | undefined) | (string | false | JSX.Element | null | undefined)[];
children?: React__default.ReactNode;
} & React__default.RefAttributes<ld.Tab>>;
declare const Tabs: React__default.ForwardRefExoticComponent<Partial<{} & {
children: (string | false | JSX.Element | null | undefined) | (string | false | JSX.Element | null | undefined)[];
children: React__default.ReactNode;
}> & React__default.RefAttributes<ld.Tabs>>;
declare const TextInput: React__default.ForwardRefExoticComponent<Partial<Partial<{
value: string | null;
onChange?: ((value: string) => void | Promise<void>) | undefined;
onChange?: ((value: string, connection: ld.ToolkitConnection) => void | Promise<void>) | undefined;
}>> & React__default.RefAttributes<ld.TextInput>>;

@@ -106,0 +104,0 @@ declare const Timeline: React__default.ForwardRefExoticComponent<Partial<Partial<{

{
"name": "@arcanejs/react-toolkit",
"version": "0.8.5",
"version": "0.9.0",
"private": false,

@@ -34,2 +34,8 @@ "description": "Build web-accessible control interfaces for your long-running Node.js processes",

},
"./connections": {
"@arcanejs/source": "./src/connections.tsx",
"types": "./dist/connections.d.ts",
"import": "./dist/connections.mjs",
"require": "./dist/connections.js"
},
"./data": {

@@ -67,4 +73,4 @@ "@arcanejs/source": "./src/data.tsx",

"react-reconciler": "0.28.0",
"@arcanejs/protocol": "^0.4.1",
"@arcanejs/toolkit": "^1.1.1"
"@arcanejs/protocol": "^0.5.0",
"@arcanejs/toolkit": "^2.0.0"
},

@@ -71,0 +77,0 @@ "peerDependencies": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet