@arcanejs/toolkit 0.1.0 → 0.2.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/README.md ADDED
@@ -0,0 +1,19 @@
1
+ # `@arcanejs/toolkit`
2
+
3
+ [![NPM Version](https://img.shields.io/npm/v/%40arcanejs%2Ftoolkit)](https://www.npmjs.com/package/@arcanejs/toolkit)
4
+
5
+ This package provides the core functionality behind the ArcaneJS framework,
6
+ allowing you to quickly build single-process Node.js apps with
7
+ real-time interactive control panels that are exposed as web pages.
8
+
9
+ This library provides a tree-like API for creating & updating control panels,
10
+ and responding to user input.
11
+
12
+ We highly-recommend that rather than integrating with this library directly,
13
+ you make use of the
14
+ [`@arcanejs/react-toolkit`](https://www.npmjs.com/package/@arcanejs/react-toolkit)
15
+ library, that allows you to compose your control panels using server-side react.
16
+
17
+ For more details,
18
+ please see the main documentation on our GitHub repository:
19
+ [github.com/arcanejs/arcanejs](https://github.com/arcanejs/arcanejs#arcanejs)
@@ -1,4 +1,4 @@
1
- import { G as GroupComponentStyle, a as Component, B as BaseParent, I as IDMap, b as GroupHeaderComponent, L as Listenable, c as GroupComponent, d as ClientComponentMessage } from '../../base-BJAPu0O1.mjs';
1
+ import { G as GroupComponentStyle, B as BaseParent, I as IDMap, b as GroupHeaderComponent, L as Listenable, c as GroupComponent, d as ClientComponentMessage } from '../../base-BJAPu0O1.mjs';
2
2
  import { Button } from './button.mjs';
3
3
  import '@arcanejs/diff';
4
4
 
@@ -13,7 +13,6 @@ type Events = {
13
13
  type InternalProps = GroupComponentStyle & GroupOptions & {
14
14
  title: string | null;
15
15
  labels: Label[] | null;
16
- headerComponents: Component[] | null;
17
16
  };
18
17
  type Props = Partial<InternalProps>;
19
18
  declare class GroupHeader extends BaseParent<Record<never, never>> {
@@ -1,4 +1,4 @@
1
- import { G as GroupComponentStyle, a as Component, B as BaseParent, I as IDMap, b as GroupHeaderComponent, L as Listenable, c as GroupComponent, d as ClientComponentMessage } from '../../base-BJAPu0O1.js';
1
+ import { G as GroupComponentStyle, B as BaseParent, I as IDMap, b as GroupHeaderComponent, L as Listenable, c as GroupComponent, d as ClientComponentMessage } from '../../base-BJAPu0O1.js';
2
2
  import { Button } from './button.js';
3
3
  import '@arcanejs/diff';
4
4
 
@@ -13,7 +13,6 @@ type Events = {
13
13
  type InternalProps = GroupComponentStyle & GroupOptions & {
14
14
  title: string | null;
15
15
  labels: Label[] | null;
16
- headerComponents: Component[] | null;
17
16
  };
18
17
  type Props = Partial<InternalProps>;
19
18
  declare class GroupHeader extends BaseParent<Record<never, never>> {
@@ -192,8 +192,7 @@ var EventEmitter = class {
192
192
  var DEFAULT_PROPS = {
193
193
  ...GROUP_DEFAULT_STYLE,
194
194
  title: null,
195
- labels: null,
196
- headerComponents: null
195
+ labels: null
197
196
  };
198
197
  var GroupHeader = class extends BaseParent {
199
198
  validateChildren = () => {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Group,
3
3
  GroupHeader
4
- } from "../../chunk-S5DQIYC2.mjs";
4
+ } from "../../chunk-L243ZOAR.mjs";
5
5
  import "../../chunk-HF77PS7J.mjs";
6
6
  export {
7
7
  Group,
@@ -12,8 +12,7 @@ var GROUP_DEFAULT_STYLE = {
12
12
  var DEFAULT_PROPS = {
13
13
  ...GROUP_DEFAULT_STYLE,
14
14
  title: null,
15
- labels: null,
16
- headerComponents: null
15
+ labels: null
17
16
  };
18
17
  var GroupHeader = class extends BaseParent {
19
18
  validateChildren = () => {
package/dist/index.js CHANGED
@@ -512,8 +512,7 @@ var GROUP_DEFAULT_STYLE = {
512
512
  var DEFAULT_PROPS2 = {
513
513
  ...GROUP_DEFAULT_STYLE,
514
514
  title: null,
515
- labels: null,
516
- headerComponents: null
515
+ labels: null
517
516
  };
518
517
  var GroupHeader = class extends BaseParent {
519
518
  validateChildren = () => {
package/dist/index.mjs CHANGED
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  Group,
16
16
  GroupHeader
17
- } from "./chunk-S5DQIYC2.mjs";
17
+ } from "./chunk-L243ZOAR.mjs";
18
18
  import {
19
19
  Label
20
20
  } from "./chunk-P6X5GIDT.mjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcanejs/toolkit",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "private": false,
5
5
  "description": "Build web-accessible control interfaces for your long-running Node.js processes",
6
6
  "keywords": [
@@ -107,7 +107,7 @@
107
107
  "lodash": "^4.17.21",
108
108
  "material-symbols": "^0.25.0",
109
109
  "ws": "^8.18.0",
110
- "@arcanejs/diff": "^0.3.0"
110
+ "@arcanejs/diff": "^0.3.1"
111
111
  },
112
112
  "files": [
113
113
  "dist"