New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@arcanejs/react-toolkit

Package Overview
Dependencies
Maintainers
0
Versions
22
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 0.5.0 to 0.6.0

dist/chunk-HVMRFXJ2.mjs

78

dist/index.d.ts
import * as ld from '@arcanejs/toolkit';
import { Props as Props$1, Events as Events$1, Group as Group$1, GroupHeader as GroupHeader$1 } from '@arcanejs/toolkit/components/group';
import { Props, Events, Button as Button$1 } from '@arcanejs/toolkit/components/button';
import { Props as Props$2, Label as Label$1 } from '@arcanejs/toolkit/components/label';
import { Props as Props$3, Rect as Rect$1 } from '@arcanejs/toolkit/components/rect';
import { Props as Props$4, Events as Events$2, SliderButton as SliderButton$1 } from '@arcanejs/toolkit/components/slider-button';
import { Props as Props$5, Events as Events$3, Switch as Switch$1 } from '@arcanejs/toolkit/components/switch';
import { TabProps, Tab as Tab$1, TabsProps, Tabs as Tabs$1 } from '@arcanejs/toolkit/components/tabs';
import { Props as Props$6, Events as Events$4, TextInput as TextInput$1 } from '@arcanejs/toolkit/components/text-input';
import { Props as Props$7, Timeline as Timeline$1 } from '@arcanejs/toolkit/components/timeline';
import { Group as Group$1, GroupHeader as GroupHeader$1, Props } from '@arcanejs/toolkit/components/group';
import { L as LightDeskIntrinsicElements } from './types-D0Wa4a4d.js';
import * as React from 'react';
import { Ref } from 'react';
import { Button as Button$1 } from '@arcanejs/toolkit/components/button';
import { Label as Label$1 } from '@arcanejs/toolkit/components/label';
import { Rect as Rect$1 } from '@arcanejs/toolkit/components/rect';
import { SliderButton as SliderButton$1 } from '@arcanejs/toolkit/components/slider-button';
import { Switch as Switch$1 } from '@arcanejs/toolkit/components/switch';
import { Tab as Tab$1, Tabs as Tabs$1 } from '@arcanejs/toolkit/components/tabs';
import { Timeline as Timeline$1 } from '@arcanejs/toolkit/components/timeline';
import { TextInput as TextInput$1 } from '@arcanejs/toolkit/components/text-input';
type Child = JSX.Element | string | null | undefined | boolean;
type Children = Child | Child[];
interface LightDeskIntrinsicElements {
button: Props & {
children?: never;
onClick?: Events['click'];
ref?: Ref<Button$1>;
};
group: Props$1 & {
children?: Children;
onTitleChanged?: Events$1['title-changed'];
ref?: Ref<Group$1>;
};
'group-header': {
children?: Children;
ref?: Ref<GroupHeader$1>;
};
label: Props$2 & {
children?: never;
ref?: Ref<Label$1>;
};
rect: Props$3 & {
children?: never;
ref?: Ref<Rect$1>;
};
'slider-button': Props$4 & {
children?: never;
onChange?: Events$2['change'];
ref?: Ref<SliderButton$1>;
};
switch: Props$5 & {
children?: never;
onChange?: Events$3['change'];
ref?: Ref<Switch$1>;
};
tab: TabProps & {
children?: JSX.Element | string;
ref?: Ref<Tab$1>;
};
tabs: TabsProps & {
children?: JSX.Element | JSX.Element[];
ref?: Ref<Tabs$1>;
};
'text-input': Props$6 & {
children?: JSX.Element | JSX.Element[];
onChange?: Events$4['change'];
ref?: Ref<TextInput$1>;
};
timeline: Props$7 & {
children?: never;
ref?: Ref<Timeline$1>;
};
}
type ComponentWithRef<T, P> = React.ForwardRefExoticComponent<React.PropsWithoutRef<P> & React.RefAttributes<T>>;

@@ -83,5 +29,5 @@ declare const Button: ComponentWithRef<Button$1, LightDeskIntrinsicElements['button']>;

renderGroup: (component: JSX.Element, container: ld.Group) => void;
render: (component: JSX.Element, container: ld.Toolkit, rootGroupProps?: Props$1) => void;
render: (component: JSX.Element, container: ld.Toolkit, rootGroupProps?: Props) => void;
};
export { Button, Group, GroupHeader, Label, type LightDeskIntrinsicElements, Rect, SliderButton, Switch, Tab, Tabs, TextInput, Timeline, ToolkitRenderer };
export { Button, Group, GroupHeader, Label, LightDeskIntrinsicElements, Rect, SliderButton, Switch, Tab, Tabs, TextInput, Timeline, ToolkitRenderer };
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var _chunkRKOUSLUWjs = require('./chunk-RKOUSLUW.js');
var _chunkRT2VSMJLjs = require('./chunk-RT2VSMJL.js');

@@ -10,40 +23,2 @@

var _base = require('@arcanejs/toolkit/components/base');
// src/components.ts
var _react = require('react'); var React = _interopRequireWildcard(_react);
var Button = React.forwardRef(
(props, ref) => React.createElement("button", { ...props, ref }, props.children)
);
var Group = React.forwardRef(
(props, ref) => React.createElement("group", { ...props, ref }, props.children)
);
var GroupHeader = React.forwardRef(
(props, ref) => React.createElement("group-header", { ...props, ref }, props.children)
);
var Label = React.forwardRef(
(props, ref) => React.createElement("label", { ...props, ref }, props.children)
);
var Rect = React.forwardRef(
(props, ref) => React.createElement("rect", { ...props, ref }, props.children)
);
var SliderButton = React.forwardRef(
(props, ref) => React.createElement("slider-button", { ...props, ref }, props.children)
);
var Switch = React.forwardRef(
(props, ref) => React.createElement("switch", { ...props, ref }, props.children)
);
var Tab = React.forwardRef(
(props, ref) => React.createElement("tab", { ...props, ref }, props.children)
);
var Tabs = React.forwardRef(
(props, ref) => React.createElement("tabs", { ...props, ref }, props.children)
);
var TextInput = React.forwardRef(
(props, ref) => React.createElement("text-input", { ...props, ref }, props.children)
);
var Timeline = React.forwardRef(
(props, ref) => React.createElement("timeline", { ...props, ref }, props.children)
);
// src/index.tsx
var _jsxruntime = require('react/jsx-runtime');

@@ -251,2 +226,2 @@ var isType = (targetType, type, _props) => targetType === type;

exports.Button = Button; exports.Group = Group; exports.GroupHeader = GroupHeader; exports.Label = Label; exports.Rect = Rect; exports.SliderButton = SliderButton; exports.Switch = Switch; exports.Tab = Tab; exports.Tabs = Tabs; exports.TextInput = TextInput; exports.Timeline = Timeline; exports.ToolkitRenderer = ToolkitRenderer;
exports.Button = _chunkRKOUSLUWjs.Button; exports.Group = _chunkRKOUSLUWjs.Group; exports.GroupHeader = _chunkRKOUSLUWjs.GroupHeader; exports.Label = _chunkRKOUSLUWjs.Label; exports.Rect = _chunkRKOUSLUWjs.Rect; exports.SliderButton = _chunkRKOUSLUWjs.SliderButton; exports.Switch = _chunkRKOUSLUWjs.Switch; exports.Tab = _chunkRKOUSLUWjs.Tab; exports.Tabs = _chunkRKOUSLUWjs.Tabs; exports.TextInput = _chunkRKOUSLUWjs.TextInput; exports.Timeline = _chunkRKOUSLUWjs.Timeline; exports.ToolkitRenderer = ToolkitRenderer;
{
"name": "@arcanejs/react-toolkit",
"version": "0.5.0",
"version": "0.6.0",
"private": false,

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

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

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

"react-reconciler": "0.28.0",
"@arcanejs/protocol": "^0.2.0",
"@arcanejs/toolkit": "^0.4.0"
"@arcanejs/protocol": "^0.3.0",
"@arcanejs/toolkit": "^0.5.0"
},

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc