jbx 2.5.0 → 2.7.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 +5 -6
- package/dist/index.d.ts +141 -0
- package/dist/{index.esm.js → index.js} +1219 -1384
- package/package.json +24 -13
- package/.editorconfig +0 -12
- package/.nvmrc +0 -1
- package/.prettierrc +0 -13
- package/CHANGELOG.md +0 -58
- package/dist/index.cjs +0 -3001
- package/dist/index.mjs +0 -2968
- package/dist/main.css +0 -256
- package/dist/main.css.map +0 -1
- package/dist/main.js +0 -238
- package/dist/main.js.map +0 -1
- package/dist/types/index.d.ts +0 -233
- package/pnpm-global/5/pnpm-lock.yaml +0 -621
- package/roll.js +0 -235
- package/src/components/Layout.tsx +0 -29
- package/src/components/MoreExperiments.tsx +0 -110
- package/src/index.tsx +0 -243
- package/src/style.css +0 -359
- package/tsconfig.json +0 -20
package/dist/types/index.d.ts
DELETED
|
@@ -1,233 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
|
|
3
|
-
declare type Box = {
|
|
4
|
-
children?: React.ReactNode;
|
|
5
|
-
smallText?: true | false;
|
|
6
|
-
padding?: number;
|
|
7
|
-
flex?: number;
|
|
8
|
-
style: any;
|
|
9
|
-
};
|
|
10
|
-
declare function Box({ children, smallText, padding, flex, style }: Box): JSX.Element;
|
|
11
|
-
|
|
12
|
-
declare function MoreExperiments(): JSX.Element;
|
|
13
|
-
|
|
14
|
-
declare function getSettings(): {
|
|
15
|
-
size: number;
|
|
16
|
-
};
|
|
17
|
-
declare function classList(classes: any[] | Record<string, any>): string;
|
|
18
|
-
declare function layoutPropsToStyles({ padding }: {
|
|
19
|
-
padding?: number;
|
|
20
|
-
}): {
|
|
21
|
-
[prop: string]: string;
|
|
22
|
-
};
|
|
23
|
-
declare function Component(className: string, styleSrc?: {}, config?: {
|
|
24
|
-
element?: string;
|
|
25
|
-
styleProps?: any;
|
|
26
|
-
}): ({ children, style, ...props }: {
|
|
27
|
-
[x: string]: any;
|
|
28
|
-
children: any;
|
|
29
|
-
style?: {} | undefined;
|
|
30
|
-
}) => React.ReactElement<{
|
|
31
|
-
className: string;
|
|
32
|
-
style: any;
|
|
33
|
-
}, string | React.JSXElementConstructor<any>>;
|
|
34
|
-
declare const Container: ({ children, style, ...props }: {
|
|
35
|
-
[x: string]: any;
|
|
36
|
-
children: any;
|
|
37
|
-
style?: {} | undefined;
|
|
38
|
-
}) => React.ReactElement<{
|
|
39
|
-
className: string;
|
|
40
|
-
style: any;
|
|
41
|
-
}, string | React.JSXElementConstructor<any>>;
|
|
42
|
-
declare const Text: ({ children, style, ...props }: {
|
|
43
|
-
[x: string]: any;
|
|
44
|
-
children: any;
|
|
45
|
-
style?: {} | undefined;
|
|
46
|
-
}) => React.ReactElement<{
|
|
47
|
-
className: string;
|
|
48
|
-
style: any;
|
|
49
|
-
}, string | React.JSXElementConstructor<any>>;
|
|
50
|
-
declare const SmallText: ({ children, style, ...props }: {
|
|
51
|
-
[x: string]: any;
|
|
52
|
-
children: any;
|
|
53
|
-
style?: {} | undefined;
|
|
54
|
-
}) => React.ReactElement<{
|
|
55
|
-
className: string;
|
|
56
|
-
style: any;
|
|
57
|
-
}, string | React.JSXElementConstructor<any>>;
|
|
58
|
-
declare const Button: ({ children, style, ...props }: {
|
|
59
|
-
[x: string]: any;
|
|
60
|
-
children: any;
|
|
61
|
-
style?: {} | undefined;
|
|
62
|
-
}) => React.ReactElement<{
|
|
63
|
-
className: string;
|
|
64
|
-
style: any;
|
|
65
|
-
}, string | React.JSXElementConstructor<any>>;
|
|
66
|
-
declare const Input: ({ children, style, ...props }: {
|
|
67
|
-
[x: string]: any;
|
|
68
|
-
children: any;
|
|
69
|
-
style?: {} | undefined;
|
|
70
|
-
}) => React.ReactElement<{
|
|
71
|
-
className: string;
|
|
72
|
-
style: any;
|
|
73
|
-
}, string | React.JSXElementConstructor<any>>;
|
|
74
|
-
declare const Range: ({ children, style, ...props }: {
|
|
75
|
-
[x: string]: any;
|
|
76
|
-
children: any;
|
|
77
|
-
style?: {} | undefined;
|
|
78
|
-
}) => React.ReactElement<{
|
|
79
|
-
className: string;
|
|
80
|
-
style: any;
|
|
81
|
-
}, string | React.JSXElementConstructor<any>>;
|
|
82
|
-
declare const HeaderH1: ({ children, style, ...props }: {
|
|
83
|
-
[x: string]: any;
|
|
84
|
-
children: any;
|
|
85
|
-
style?: {} | undefined;
|
|
86
|
-
}) => React.ReactElement<{
|
|
87
|
-
className: string;
|
|
88
|
-
style: any;
|
|
89
|
-
}, string | React.JSXElementConstructor<any>>;
|
|
90
|
-
declare const HeaderH2: ({ children, style, ...props }: {
|
|
91
|
-
[x: string]: any;
|
|
92
|
-
children: any;
|
|
93
|
-
style?: {} | undefined;
|
|
94
|
-
}) => React.ReactElement<{
|
|
95
|
-
className: string;
|
|
96
|
-
style: any;
|
|
97
|
-
}, string | React.JSXElementConstructor<any>>;
|
|
98
|
-
declare const HeaderH3: ({ children, style, ...props }: {
|
|
99
|
-
[x: string]: any;
|
|
100
|
-
children: any;
|
|
101
|
-
style?: {} | undefined;
|
|
102
|
-
}) => React.ReactElement<{
|
|
103
|
-
className: string;
|
|
104
|
-
style: any;
|
|
105
|
-
}, string | React.JSXElementConstructor<any>>;
|
|
106
|
-
declare const HeaderH4: ({ children, style, ...props }: {
|
|
107
|
-
[x: string]: any;
|
|
108
|
-
children: any;
|
|
109
|
-
style?: {} | undefined;
|
|
110
|
-
}) => React.ReactElement<{
|
|
111
|
-
className: string;
|
|
112
|
-
style: any;
|
|
113
|
-
}, string | React.JSXElementConstructor<any>>;
|
|
114
|
-
declare const HR: ({ children, style, ...props }: {
|
|
115
|
-
[x: string]: any;
|
|
116
|
-
children: any;
|
|
117
|
-
style?: {} | undefined;
|
|
118
|
-
}) => React.ReactElement<{
|
|
119
|
-
className: string;
|
|
120
|
-
style: any;
|
|
121
|
-
}, string | React.JSXElementConstructor<any>>;
|
|
122
|
-
declare const MainHeader: ({ children, style }: {
|
|
123
|
-
children: any;
|
|
124
|
-
style: any;
|
|
125
|
-
}) => React.FunctionComponentElement<{
|
|
126
|
-
children?: React.ReactNode;
|
|
127
|
-
}>;
|
|
128
|
-
declare const A: ({ children, style, ...props }: {
|
|
129
|
-
[x: string]: any;
|
|
130
|
-
children: any;
|
|
131
|
-
style?: {} | undefined;
|
|
132
|
-
}) => React.ReactElement<{
|
|
133
|
-
className: string;
|
|
134
|
-
style: any;
|
|
135
|
-
}, string | React.JSXElementConstructor<any>>;
|
|
136
|
-
declare const Space: ({ children, style, ...props }: {
|
|
137
|
-
[x: string]: any;
|
|
138
|
-
children: any;
|
|
139
|
-
style?: {} | undefined;
|
|
140
|
-
}) => React.ReactElement<{
|
|
141
|
-
className: string;
|
|
142
|
-
style: any;
|
|
143
|
-
}, string | React.JSXElementConstructor<any>>;
|
|
144
|
-
declare const Inline: ({ children, style, ...props }: {
|
|
145
|
-
[x: string]: any;
|
|
146
|
-
children: any;
|
|
147
|
-
style?: {} | undefined;
|
|
148
|
-
}) => React.ReactElement<{
|
|
149
|
-
className: string;
|
|
150
|
-
style: any;
|
|
151
|
-
}, string | React.JSXElementConstructor<any>>;
|
|
152
|
-
declare const Stack: ({ children, style, ...props }: {
|
|
153
|
-
[x: string]: any;
|
|
154
|
-
children: any;
|
|
155
|
-
style?: {} | undefined;
|
|
156
|
-
}) => React.ReactElement<{
|
|
157
|
-
className: string;
|
|
158
|
-
style: any;
|
|
159
|
-
}, string | React.JSXElementConstructor<any>>;
|
|
160
|
-
declare const Dropzone: ({ children, style, ...props }: {
|
|
161
|
-
[x: string]: any;
|
|
162
|
-
children: any;
|
|
163
|
-
style?: {} | undefined;
|
|
164
|
-
}) => React.ReactElement<{
|
|
165
|
-
className: string;
|
|
166
|
-
style: any;
|
|
167
|
-
}, string | React.JSXElementConstructor<any>>;
|
|
168
|
-
declare const Ul: ({ children, style, ...props }: {
|
|
169
|
-
[x: string]: any;
|
|
170
|
-
children: any;
|
|
171
|
-
style?: {} | undefined;
|
|
172
|
-
}) => React.ReactElement<{
|
|
173
|
-
className: string;
|
|
174
|
-
style: any;
|
|
175
|
-
}, string | React.JSXElementConstructor<any>>;
|
|
176
|
-
declare const Li: ({ children, style, ...props }: {
|
|
177
|
-
[x: string]: any;
|
|
178
|
-
children: any;
|
|
179
|
-
style?: {} | undefined;
|
|
180
|
-
}) => React.ReactElement<{
|
|
181
|
-
className: string;
|
|
182
|
-
style: any;
|
|
183
|
-
}, string | React.JSXElementConstructor<any>>;
|
|
184
|
-
declare const Tabs: ({ children, style, ...props }: {
|
|
185
|
-
[x: string]: any;
|
|
186
|
-
children: any;
|
|
187
|
-
style?: {} | undefined;
|
|
188
|
-
}) => React.ReactElement<{
|
|
189
|
-
className: string;
|
|
190
|
-
style: any;
|
|
191
|
-
}, string | React.JSXElementConstructor<any>>;
|
|
192
|
-
declare const Tab: ({ children, style, ...props }: {
|
|
193
|
-
[x: string]: any;
|
|
194
|
-
children: any;
|
|
195
|
-
style?: {} | undefined;
|
|
196
|
-
}) => React.ReactElement<{
|
|
197
|
-
className: string;
|
|
198
|
-
style: any;
|
|
199
|
-
}, string | React.JSXElementConstructor<any>>;
|
|
200
|
-
declare const CodeSnippet: ({ children, style, ...props }: {
|
|
201
|
-
[x: string]: any;
|
|
202
|
-
children: any;
|
|
203
|
-
style?: {} | undefined;
|
|
204
|
-
}) => React.ReactElement<{
|
|
205
|
-
className: string;
|
|
206
|
-
style: any;
|
|
207
|
-
}, string | React.JSXElementConstructor<any>>;
|
|
208
|
-
declare const CodeTextarea: ({ children, style, ...props }: {
|
|
209
|
-
[x: string]: any;
|
|
210
|
-
children: any;
|
|
211
|
-
style?: {} | undefined;
|
|
212
|
-
}) => React.ReactElement<{
|
|
213
|
-
className: string;
|
|
214
|
-
style: any;
|
|
215
|
-
}, string | React.JSXElementConstructor<any>>;
|
|
216
|
-
declare const CheckboxHidden: ({ children, style, ...props }: {
|
|
217
|
-
[x: string]: any;
|
|
218
|
-
children: any;
|
|
219
|
-
style?: {} | undefined;
|
|
220
|
-
}) => React.ReactElement<{
|
|
221
|
-
className: string;
|
|
222
|
-
style: any;
|
|
223
|
-
}, string | React.JSXElementConstructor<any>>;
|
|
224
|
-
declare const Checkbox: ({ label, checked, onChange }: {
|
|
225
|
-
label: any;
|
|
226
|
-
checked: any;
|
|
227
|
-
onChange: any;
|
|
228
|
-
}) => React.DetailedReactHTMLElement<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>;
|
|
229
|
-
declare function Bullet({ value }: {
|
|
230
|
-
value: string;
|
|
231
|
-
}): JSX.Element;
|
|
232
|
-
|
|
233
|
-
export { A, Box, Bullet, Button, Checkbox, CheckboxHidden, CodeSnippet, CodeTextarea, Component, Container, Dropzone, HR, HeaderH1, HeaderH2, HeaderH3, HeaderH4, Inline, Input, Li, MainHeader, MoreExperiments, Range, SmallText, Space, Stack, Tab, Tabs, Text, Ul, classList, getSettings, layoutPropsToStyles };
|