@arcanejs/react-toolkit 0.6.1 → 0.8.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.
@@ -1,66 +0,0 @@
1
- import { Props as Props$1, Events as Events$1, Group, GroupHeader } from '@arcanejs/toolkit/components/group';
2
- import { Props, Events, Button } from '@arcanejs/toolkit/components/button';
3
- import { Props as Props$2, Label } from '@arcanejs/toolkit/components/label';
4
- import { Props as Props$3, Rect } from '@arcanejs/toolkit/components/rect';
5
- import { Props as Props$4, Events as Events$2, SliderButton } from '@arcanejs/toolkit/components/slider-button';
6
- import { Props as Props$5, Events as Events$3, Switch } from '@arcanejs/toolkit/components/switch';
7
- import { TabProps, Tab, TabsProps, Tabs } from '@arcanejs/toolkit/components/tabs';
8
- import { Props as Props$6, Events as Events$4, TextInput } from '@arcanejs/toolkit/components/text-input';
9
- import { Props as Props$7, Timeline } from '@arcanejs/toolkit/components/timeline';
10
- import { Ref } from 'react';
11
-
12
- type Child = JSX.Element | string | null | undefined | boolean;
13
- type Children = Child | Child[];
14
- interface LightDeskIntrinsicElements {
15
- button: Props & {
16
- children?: never;
17
- onClick?: Events['click'];
18
- ref?: Ref<Button>;
19
- };
20
- group: Props$1 & {
21
- children?: Children;
22
- onTitleChanged?: Events$1['title-changed'];
23
- ref?: Ref<Group>;
24
- };
25
- 'group-header': {
26
- children?: Children;
27
- ref?: Ref<GroupHeader>;
28
- };
29
- label: Props$2 & {
30
- children?: never;
31
- ref?: Ref<Label>;
32
- };
33
- rect: Props$3 & {
34
- children?: never;
35
- ref?: Ref<Rect>;
36
- };
37
- 'slider-button': Props$4 & {
38
- children?: never;
39
- onChange?: Events$2['change'];
40
- ref?: Ref<SliderButton>;
41
- };
42
- switch: Props$5 & {
43
- children?: never;
44
- onChange?: Events$3['change'];
45
- ref?: Ref<Switch>;
46
- };
47
- tab: TabProps & {
48
- children?: JSX.Element | string;
49
- ref?: Ref<Tab>;
50
- };
51
- tabs: TabsProps & {
52
- children?: JSX.Element | JSX.Element[];
53
- ref?: Ref<Tabs>;
54
- };
55
- 'text-input': Props$6 & {
56
- children?: JSX.Element | JSX.Element[];
57
- onChange?: Events$4['change'];
58
- ref?: Ref<TextInput>;
59
- };
60
- timeline: Props$7 & {
61
- children?: never;
62
- ref?: Ref<Timeline>;
63
- };
64
- }
65
-
66
- export type { LightDeskIntrinsicElements as L };
@@ -1,66 +0,0 @@
1
- import { Props as Props$1, Events as Events$1, Group, GroupHeader } from '@arcanejs/toolkit/components/group';
2
- import { Props, Events, Button } from '@arcanejs/toolkit/components/button';
3
- import { Props as Props$2, Label } from '@arcanejs/toolkit/components/label';
4
- import { Props as Props$3, Rect } from '@arcanejs/toolkit/components/rect';
5
- import { Props as Props$4, Events as Events$2, SliderButton } from '@arcanejs/toolkit/components/slider-button';
6
- import { Props as Props$5, Events as Events$3, Switch } from '@arcanejs/toolkit/components/switch';
7
- import { TabProps, Tab, TabsProps, Tabs } from '@arcanejs/toolkit/components/tabs';
8
- import { Props as Props$6, Events as Events$4, TextInput } from '@arcanejs/toolkit/components/text-input';
9
- import { Props as Props$7, Timeline } from '@arcanejs/toolkit/components/timeline';
10
- import { Ref } from 'react';
11
-
12
- type Child = JSX.Element | string | null | undefined | boolean;
13
- type Children = Child | Child[];
14
- interface LightDeskIntrinsicElements {
15
- button: Props & {
16
- children?: never;
17
- onClick?: Events['click'];
18
- ref?: Ref<Button>;
19
- };
20
- group: Props$1 & {
21
- children?: Children;
22
- onTitleChanged?: Events$1['title-changed'];
23
- ref?: Ref<Group>;
24
- };
25
- 'group-header': {
26
- children?: Children;
27
- ref?: Ref<GroupHeader>;
28
- };
29
- label: Props$2 & {
30
- children?: never;
31
- ref?: Ref<Label>;
32
- };
33
- rect: Props$3 & {
34
- children?: never;
35
- ref?: Ref<Rect>;
36
- };
37
- 'slider-button': Props$4 & {
38
- children?: never;
39
- onChange?: Events$2['change'];
40
- ref?: Ref<SliderButton>;
41
- };
42
- switch: Props$5 & {
43
- children?: never;
44
- onChange?: Events$3['change'];
45
- ref?: Ref<Switch>;
46
- };
47
- tab: TabProps & {
48
- children?: JSX.Element | string;
49
- ref?: Ref<Tab>;
50
- };
51
- tabs: TabsProps & {
52
- children?: JSX.Element | JSX.Element[];
53
- ref?: Ref<Tabs>;
54
- };
55
- 'text-input': Props$6 & {
56
- children?: JSX.Element | JSX.Element[];
57
- onChange?: Events$4['change'];
58
- ref?: Ref<TextInput>;
59
- };
60
- timeline: Props$7 & {
61
- children?: never;
62
- ref?: Ref<Timeline>;
63
- };
64
- }
65
-
66
- export type { LightDeskIntrinsicElements as L };