jbx 2.9.0 → 2.11.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 +57 -11
- package/dist/JBX.d.ts +19 -0
- package/dist/JBX.d.ts.map +1 -0
- package/dist/JBX.js +19 -0
- package/dist/JBX.js.map +1 -0
- package/dist/classList.d.ts +2 -0
- package/dist/classList.d.ts.map +1 -0
- package/dist/classList.js +11 -0
- package/dist/classList.js.map +1 -0
- package/dist/components/Layout.d.ts +12 -0
- package/dist/components/Layout.d.ts.map +1 -0
- package/dist/components/Layout.js +17 -0
- package/dist/components/Layout.js.map +1 -0
- package/dist/components/MoreExperiments.d.ts +7 -0
- package/dist/components/MoreExperiments.d.ts.map +1 -0
- package/dist/components/MoreExperiments.js +59 -0
- package/dist/components/MoreExperiments.js.map +1 -0
- package/dist/generated/css.d.ts +2 -0
- package/dist/generated/css.d.ts.map +1 -0
- package/dist/generated/css.js +3 -0
- package/dist/generated/css.js.map +1 -0
- package/dist/index.d.ts +6 -148
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +6 -2792
- package/dist/index.js.map +1 -0
- package/dist/main.css +2 -2
- package/dist/primitives.d.ts +139 -0
- package/dist/primitives.d.ts.map +1 -0
- package/dist/primitives.js +102 -0
- package/dist/primitives.js.map +1 -0
- package/dist/spacing.d.ts +22 -0
- package/dist/spacing.d.ts.map +1 -0
- package/dist/spacing.js +27 -0
- package/dist/spacing.js.map +1 -0
- package/package.json +45 -28
- package/src/JBX.tsx +24 -0
- package/src/classList.tsx +9 -0
- package/src/components/Layout.tsx +31 -0
- package/src/components/MoreExperiments.tsx +74 -0
- package/src/generated/css.ts +2 -0
- package/src/index.tsx +6 -0
- package/src/primitives.tsx +247 -0
- package/src/spacing.ts +43 -0
- package/src/style.css +369 -0
package/README.md
CHANGED
|
@@ -1,29 +1,75 @@
|
|
|
1
1
|
# JBX
|
|
2
2
|
|
|
3
|
+
The little component toolkit behind the tools on [javier.xyz](https://javier.xyz). Plain
|
|
4
|
+
components with a class each, one stylesheet, no runtime dependencies.
|
|
5
|
+
|
|
3
6
|
```
|
|
4
|
-
npm i jbx
|
|
7
|
+
npm i jbx
|
|
5
8
|
```
|
|
6
9
|
|
|
10
|
+
## Styles
|
|
11
|
+
|
|
12
|
+
Either import the stylesheet and set your own accent color:
|
|
13
|
+
|
|
14
|
+
```js
|
|
15
|
+
import 'jbx/main.css';
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
```css
|
|
19
|
+
:root {
|
|
20
|
+
--accent-color: #f1c40f;
|
|
21
|
+
}
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
Or let the `JBX` component do both:
|
|
25
|
+
|
|
26
|
+
```jsx
|
|
27
|
+
<JBX accent="#f1c40f" />
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
`JBX` has no hooks and no dependencies, so it renders inside a React server component too.
|
|
31
|
+
|
|
32
|
+
## Use
|
|
33
|
+
|
|
7
34
|
```jsx
|
|
8
35
|
import { JBX, MainHeader, Text, Space, Container } from 'jbx';
|
|
9
36
|
|
|
10
37
|
function App() {
|
|
11
38
|
return (
|
|
12
39
|
<Container>
|
|
40
|
+
<JBX accent="#f1c40f" />
|
|
13
41
|
<MainHeader>React Blur</MainHeader>
|
|
14
42
|
<Space h={1} />
|
|
15
|
-
<Text>
|
|
16
|
-
Tool that creates animated CSS transitions. Add sprites and get the code ready to paste in
|
|
17
|
-
your site.
|
|
18
|
-
</Text>
|
|
19
|
-
<Space h={2} />
|
|
20
|
-
<Text>
|
|
21
|
-
Tool that creates animated CSS transitions. Add sprites and get the code ready to paste in
|
|
22
|
-
your site.
|
|
23
|
-
</Text>
|
|
43
|
+
<Text>React component for creating blurred backgrounds.</Text>
|
|
24
44
|
</Container>
|
|
25
45
|
);
|
|
26
46
|
}
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
## Spacing
|
|
50
|
+
|
|
51
|
+
Everything is measured in units of `--size` (16px, 14px on smaller screens). `<Space h={2} />`,
|
|
52
|
+
`<Inline gap={1} />`, `<Box padding={[0.5, 1]} />` all speak the same scale, and `space(n)` gives
|
|
53
|
+
you the raw css value if you need it somewhere else.
|
|
54
|
+
|
|
55
|
+
## Making your own
|
|
56
|
+
|
|
57
|
+
`Component` is the whole idea — a class name, optional styles, optional element:
|
|
27
58
|
|
|
28
|
-
|
|
59
|
+
```jsx
|
|
60
|
+
const Sprite = Component(
|
|
61
|
+
`jbx-img`,
|
|
62
|
+
({ height, width }) => ({ height, width, imageRendering: 'pixelated' }),
|
|
63
|
+
{ element: 'img', styleProps: ['height', 'width'] }
|
|
64
|
+
);
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
`styleProps` lists the props the style function consumes so they don't end up as DOM attributes.
|
|
68
|
+
|
|
69
|
+
## Develop
|
|
70
|
+
|
|
71
|
+
```
|
|
72
|
+
npm run dev # rebuild on change
|
|
73
|
+
npm run typecheck
|
|
74
|
+
npm test # renders every export, fails on any React warning
|
|
29
75
|
```
|
package/dist/JBX.d.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
type JBXProps = {
|
|
3
|
+
accent?: string;
|
|
4
|
+
};
|
|
5
|
+
/**
|
|
6
|
+
* Drops the JBX base stylesheet into the page, optionally setting the accent
|
|
7
|
+
* color. Use this when you don't want to wire up a css import:
|
|
8
|
+
*
|
|
9
|
+
* <JBX accent="#f1c40f" />
|
|
10
|
+
*
|
|
11
|
+
* The alternative is `import 'jbx/main.css'` plus your own `--accent-color`.
|
|
12
|
+
* Doing both is harmless — the rules are identical.
|
|
13
|
+
*
|
|
14
|
+
* No hooks and no dependencies, so it also renders inside a React server
|
|
15
|
+
* component.
|
|
16
|
+
*/
|
|
17
|
+
export declare function JBX({ accent }: JBXProps): React.JSX.Element;
|
|
18
|
+
export {};
|
|
19
|
+
//# sourceMappingURL=JBX.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"JBX.d.ts","sourceRoot":"","sources":["../src/JBX.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,KAAK,QAAQ,GAAG;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,wBAAgB,GAAG,CAAC,EAAE,MAAM,EAAE,EAAE,QAAQ,qBAIvC"}
|
package/dist/JBX.js
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { CSS } from './generated/css.js';
|
|
3
|
+
/**
|
|
4
|
+
* Drops the JBX base stylesheet into the page, optionally setting the accent
|
|
5
|
+
* color. Use this when you don't want to wire up a css import:
|
|
6
|
+
*
|
|
7
|
+
* <JBX accent="#f1c40f" />
|
|
8
|
+
*
|
|
9
|
+
* The alternative is `import 'jbx/main.css'` plus your own `--accent-color`.
|
|
10
|
+
* Doing both is harmless — the rules are identical.
|
|
11
|
+
*
|
|
12
|
+
* No hooks and no dependencies, so it also renders inside a React server
|
|
13
|
+
* component.
|
|
14
|
+
*/
|
|
15
|
+
export function JBX({ accent }) {
|
|
16
|
+
const css = accent ? `${CSS}\n:root {\n --accent-color: ${accent};\n}\n` : CSS;
|
|
17
|
+
return React.createElement("style", { "data-jbx": "", dangerouslySetInnerHTML: { __html: css } });
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=JBX.js.map
|
package/dist/JBX.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"JBX.js","sourceRoot":"","sources":["../src/JBX.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,GAAG,EAAE,MAAM,oBAAoB,CAAC;AAMzC;;;;;;;;;;;GAWG;AACH,MAAM,UAAU,GAAG,CAAC,EAAE,MAAM,EAAY;IACtC,MAAM,GAAG,GAAG,MAAM,CAAC,CAAC,CAAC,GAAG,GAAG,gCAAgC,MAAM,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC;IAEhF,OAAO,2CAAgB,EAAE,EAAC,uBAAuB,EAAE,EAAE,MAAM,EAAE,GAAG,EAAE,GAAI,CAAC;AACzE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"classList.d.ts","sourceRoot":"","sources":["../src/classList.tsx"],"names":[],"mappings":"AAAA,wBAAgB,SAAS,CAAC,OAAO,EAAE,GAAG,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,UAQ7D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"classList.js","sourceRoot":"","sources":["../src/classList.tsx"],"names":[],"mappings":"AAAA,MAAM,UAAU,SAAS,CAAC,OAAoC;IAC5D,IAAI,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC;QAC3B,OAAO,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAC5C,CAAC;SAAM,CAAC;QACN,OAAO,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC;aACxB,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;aACzB,IAAI,CAAC,GAAG,CAAC,CAAC;IACf,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React, { CSSProperties } from 'react';
|
|
2
|
+
import { SpacingProps } from '../spacing.js';
|
|
3
|
+
type BoxProps = SpacingProps & {
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
smallText?: boolean;
|
|
6
|
+
flex?: number;
|
|
7
|
+
minWidth?: number | string;
|
|
8
|
+
style?: CSSProperties;
|
|
9
|
+
};
|
|
10
|
+
export declare function Box({ children, smallText, flex, minWidth, style, ...spacing }: BoxProps): React.JSX.Element;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=Layout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Layout.d.ts","sourceRoot":"","sources":["../../src/components/Layout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAC7C,OAAO,EAAuB,YAAY,EAAE,MAAM,eAAe,CAAC;AAGlE,KAAK,QAAQ,GAAG,YAAY,GAAG;IAC7B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC3B,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB,CAAC;AAEF,wBAAgB,GAAG,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,EAAE,QAAQ,qBAkBvF"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { spacingPropsToStyle } from '../spacing.js';
|
|
3
|
+
import { classList } from '../classList.js';
|
|
4
|
+
export function Box({ children, smallText, flex, minWidth, style, ...spacing }) {
|
|
5
|
+
const styles = {
|
|
6
|
+
flex,
|
|
7
|
+
minWidth,
|
|
8
|
+
...spacingPropsToStyle(spacing),
|
|
9
|
+
...style
|
|
10
|
+
};
|
|
11
|
+
const className = classList({
|
|
12
|
+
'jbx-box': true,
|
|
13
|
+
'jbx-small-text': smallText
|
|
14
|
+
});
|
|
15
|
+
return (React.createElement("div", { className: className, style: styles }, children));
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=Layout.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Layout.js","sourceRoot":"","sources":["../../src/components/Layout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwB,MAAM,OAAO,CAAC;AAC7C,OAAO,EAAE,mBAAmB,EAAgB,MAAM,eAAe,CAAC;AAClE,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAU5C,MAAM,UAAU,GAAG,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,GAAG,OAAO,EAAY;IACtF,MAAM,MAAM,GAAG;QACb,IAAI;QACJ,QAAQ;QACR,GAAG,mBAAmB,CAAC,OAAO,CAAC;QAC/B,GAAG,KAAK;KACT,CAAC;IAEF,MAAM,SAAS,GAAG,SAAS,CAAC;QAC1B,SAAS,EAAE,IAAI;QACf,gBAAgB,EAAE,SAAS;KAC5B,CAAC,CAAC;IAEH,OAAO,CACL,6BAAK,SAAS,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,IACrC,QAAQ,CACL,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MoreExperiments.d.ts","sourceRoot":"","sources":["../../src/components/MoreExperiments.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AA8CxC,KAAK,oBAAoB,GAAG;IAC1B,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,wBAAgB,eAAe,CAAC,EAAE,OAAO,EAAE,EAAE,oBAAoB,qBAuBhE"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import React, { Fragment } from 'react';
|
|
2
|
+
import { Text, Space, Ul, Li, A } from '../primitives.js';
|
|
3
|
+
const PROJECT_DATA = [
|
|
4
|
+
{
|
|
5
|
+
name: 'PINTR',
|
|
6
|
+
description: 'Tool that turns your images into plotter-like line drawings',
|
|
7
|
+
url: 'https://javier.xyz/pintr'
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
name: 'Visual Center',
|
|
11
|
+
description: 'Tool that help you visually center objects in a container',
|
|
12
|
+
url: 'https://javier.xyz/visual-center'
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
name: 'Brutalita',
|
|
16
|
+
description: 'Grid based font editor and font. Create fonts in the browser and export OpenType files',
|
|
17
|
+
url: 'https://brutalita.com'
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
name: 'Morphin',
|
|
21
|
+
description: 'Create animated CSS transitions. Add sprites and get the code ready to paste in your site',
|
|
22
|
+
url: 'https://javier.xyz/morphin'
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
name: 'Droste Creator',
|
|
26
|
+
description: 'Create recursive images with the droste effect',
|
|
27
|
+
url: 'https://javier.xyz/droste-creator'
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
name: 'Sombras.app',
|
|
31
|
+
description: 'Create art with shadows. Draw shadows and get 3D objects that project them.',
|
|
32
|
+
url: 'https://sombras.app'
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
name: 'Cohesive Colors',
|
|
36
|
+
description: 'Tool that can help you to create cohesive color palettes',
|
|
37
|
+
url: 'https://javier.xyz/cohesive-colors'
|
|
38
|
+
}
|
|
39
|
+
];
|
|
40
|
+
const seed = 0;
|
|
41
|
+
const maxItems = 5;
|
|
42
|
+
export function MoreExperiments({ exclude }) {
|
|
43
|
+
const projects = exclude
|
|
44
|
+
? PROJECT_DATA.filter((project) => !project.url.includes(exclude))
|
|
45
|
+
: PROJECT_DATA;
|
|
46
|
+
const items = new Array(Math.min(maxItems, projects.length)).fill('').map((_0, idx) => {
|
|
47
|
+
const project = projects[(seed + idx) % projects.length];
|
|
48
|
+
return (React.createElement(Li, { key: project.url },
|
|
49
|
+
React.createElement(A, { href: project.url }, project.name),
|
|
50
|
+
`, `,
|
|
51
|
+
project.description,
|
|
52
|
+
"."));
|
|
53
|
+
});
|
|
54
|
+
return (React.createElement(Fragment, null,
|
|
55
|
+
React.createElement(Text, null, "More experiments"),
|
|
56
|
+
React.createElement(Space, { h: 1 }),
|
|
57
|
+
React.createElement(Ul, null, items)));
|
|
58
|
+
}
|
|
59
|
+
//# sourceMappingURL=MoreExperiments.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MoreExperiments.js","sourceRoot":"","sources":["../../src/components/MoreExperiments.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,MAAM,kBAAkB,CAAC;AAE1D,MAAM,YAAY,GAAG;IACnB;QACE,IAAI,EAAE,OAAO;QACb,WAAW,EAAE,6DAA6D;QAC1E,GAAG,EAAE,0BAA0B;KAChC;IACD;QACE,IAAI,EAAE,eAAe;QACrB,WAAW,EAAE,2DAA2D;QACxE,GAAG,EAAE,kCAAkC;KACxC;IACD;QACE,IAAI,EAAE,WAAW;QACjB,WAAW,EACT,wFAAwF;QAC1F,GAAG,EAAE,uBAAuB;KAC7B;IACD;QACE,IAAI,EAAE,SAAS;QACf,WAAW,EACT,2FAA2F;QAC7F,GAAG,EAAE,4BAA4B;KAClC;IACD;QACE,IAAI,EAAE,gBAAgB;QACtB,WAAW,EAAE,gDAAgD;QAC7D,GAAG,EAAE,mCAAmC;KACzC;IACD;QACE,IAAI,EAAE,aAAa;QACnB,WAAW,EAAE,6EAA6E;QAC1F,GAAG,EAAE,qBAAqB;KAC3B;IACD;QACE,IAAI,EAAE,iBAAiB;QACvB,WAAW,EAAE,0DAA0D;QACvE,GAAG,EAAE,oCAAoC;KAC1C;CACO,CAAC;AAEX,MAAM,IAAI,GAAG,CAAC,CAAC;AACf,MAAM,QAAQ,GAAG,CAAC,CAAC;AAMnB,MAAM,UAAU,eAAe,CAAC,EAAE,OAAO,EAAwB;IAC/D,MAAM,QAAQ,GAAG,OAAO;QACtB,CAAC,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;QAClE,CAAC,CAAC,YAAY,CAAC;IAEjB,MAAM,KAAK,GAAG,IAAI,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,QAAQ,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,GAAG,EAAE,EAAE;QACpF,MAAM,OAAO,GAAG,QAAQ,CAAC,CAAC,IAAI,GAAG,GAAG,CAAC,GAAG,QAAQ,CAAC,MAAM,CAAC,CAAC;QACzD,OAAO,CACL,oBAAC,EAAE,IAAC,GAAG,EAAE,OAAO,CAAC,GAAG;YAClB,oBAAC,CAAC,IAAC,IAAI,EAAE,OAAO,CAAC,GAAG,IAAG,OAAO,CAAC,IAAI,CAAK;YACvC,IAAI;YACJ,OAAO,CAAC,WAAW;gBACjB,CACN,CAAC;IACJ,CAAC,CAAC,CAAC;IAEH,OAAO,CACL,oBAAC,QAAQ;QACP,oBAAC,IAAI,2BAAwB;QAC7B,oBAAC,KAAK,IAAC,CAAC,EAAE,CAAC,GAAI;QACf,oBAAC,EAAE,QAAE,KAAK,CAAM,CACP,CACZ,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare const CSS = "html {\n box-sizing: border-box;\n}\n*,\n*:before,\n*:after {\n box-sizing: inherit;\n}\n\n:root {\n --size: 16px;\n --font-size: 16px;\n --font-size-small: 17px;\n --radius-small: 2px;\n}\n\n@media screen and (max-width: 1200px) {\n :root {\n --font-size: 18px;\n --font-size-small: 16px;\n --size: 14px;\n }\n}\n\n@media screen and (max-width: 600px) {\n :root {\n --font-size: 16px;\n --font-size-small: 14px;\n }\n}\n\n* {\n padding: 0;\n margin: 0;\n position: relative;\n}\n\nbody {\n touch-action: pan-y;\n}\n\nbody,\ninput,\ntextarea {\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;\n}\n\nbody {\n background: #fcfcfd;\n color: #000;\n}\n\nh1,\nh2,\nh3,\nh4 {\n line-height: 1;\n padding: 0;\n font-variation-settings: 'wght' 600;\n font-weight: 600;\n color: var(--base-font-color-bright);\n}\nh1 {\n font-variation-settings: 'wdth' 107, 'wght' 650;\n font-weight: 650;\n}\n\nstrong,\nb {\n font-weight: 500;\n}\n\n.jbx-main-h1 {\n display: inline-block;\n background-color: var(--accent-color);\n font-size: calc(var(--font-size) * 2);\n padding: 8px;\n}\n\n.jbx-h1 {\n font-size: calc(var(--font-size) * 2);\n font-weight: 700;\n}\n.jbx-h2 {\n font-size: calc(var(--font-size) * 1.25);\n}\n.jbx-h3 {\n font-size: calc(var(--font-size) * 1.125);\n}\n.jbx-h4 {\n font-size: var(--font-size-small);\n text-transform: uppercase;\n}\n\n/* base text */\nhtml,\nbody,\n.jbx-button,\n.jbx-input {\n font-size: var(--font-size);\n line-height: 1;\n}\n\n.jbx-code-snippet {\n border-radius: var(--size);\n font-family: monaco, monospace;\n border: none;\n width: 100%;\n font-size: calc(var(--size) - 3px);\n line-height: 1.33;\n padding: var(--size) calc(var(--size) * 1.2);\n background: #ecf0f1;\n color: #34495e;\n resize: none;\n}\n.jbx-code-snippet:focus {\n outline: none;\n}\n\n.jbx-code-area {\n border-radius: var(--size);\n font-family: monaco, monospace;\n border: none;\n width: 100%;\n font-size: calc(var(--size) - 3px);\n line-height: 1.33;\n padding: var(--size) calc(var(--size) * 1.2);\n background: #ecf0f1;\n color: #34495e;\n resize: none;\n min-height: 120px;\n}\n.jbx-code-area:focus {\n outline: none;\n}\n\n.jbx-button {\n color: #000;\n border-radius: var(--radius-small);\n appearance: none;\n user-select: none;\n cursor: pointer;\n display: inline-block;\n background-color: #eee;\n box-shadow: 3px 3px 0 #ccc;\n padding: 0 calc(var(--size) / 2);\n border: none;\n height: calc(var(--size) * 2.5);\n transition: top 0.1s, left 0.1s, box-shadow 0.05s;\n}\n.jbx-button:active {\n top: 1px;\n left: 1px;\n box-shadow: 1px 1px 0 #ccc;\n}\n\n/* LINKS */\n.jbx-a {\n cursor: pointer;\n color: #000;\n box-shadow: #0002 0 2px 0;\n font-weight: 500;\n text-decoration: none;\n}\n.jbx-a::after {\n content: '\u2197';\n color: #0004;\n font-size: var(--font-size-small);\n position: relative;\n top: -1px;\n right: -1px;\n transition: top 0.3s, right 0.3s, color 0.3s;\n}\n.jbx-a:hover,\n.jbx-block-link:hover .jbx-a {\n box-shadow: var(--accent-color) 0 2px 0;\n}\n.jbx-a:hover::after,\n.jbx-block-link:hover .jbx-a::after {\n top: -3px;\n right: -3px;\n color: var(--accent-color);\n}\n\n.jbx-block-link {\n min-width: 300px;\n flex: 1;\n text-decoration: none;\n color: #000;\n display: inline-block;\n padding: var(--size);\n}\na.jbx-a::before,\n.jbx-block-link::before {\n content: '';\n display: block;\n position: absolute;\n background-color: #ecf0f1;\n z-index: -1;\n transition: transform 0.2s, opacity 0.2s;\n transform: scale(0.98) translatey(4px);\n opacity: 0;\n top: -4px;\n left: -6px;\n right: -6px;\n bottom: -4px;\n}\n.jbx-block-link::before {\n border-radius: 16px;\n}\na.jbx-a::before {\n border-radius: 8px;\n}\na.jbx-a:hover::before,\n.jbx-block-link:hover::before {\n transform: scale(1) translatey(0);\n opacity: 1;\n}\n\n.jbx-a {\n display: inline-block;\n}\n\n/* /LINKS */\n\n.jbx-small-text {\n font-size: var(--font-size-small);\n}\n\n.jbx-container {\n max-width: 1080px;\n margin: 0 auto;\n padding: calc(var(--size) * 2.5) calc(var(--size) * 1.5) calc(var(--size) * 4);\n}\n\n.jbx-box {\n flex: 1;\n}\n\n.jbx-inline {\n flex: 1;\n display: flex;\n flex-wrap: wrap;\n flex-direction: row;\n}\n\n.jbx-stack {\n flex: 1;\n display: flex;\n flex-wrap: wrap;\n flex-direction: column;\n}\n\n.jbx-text {\n line-height: 1.4;\n}\n\n.jbx-input {\n color: #777;\n -webkit-text-fill-color: #777;\n opacity: 1;\n flex: 1;\n display: block;\n appearance: none;\n border: none;\n border-radius: var(--radius-small);\n height: calc(var(--size) * 2.5);\n background-color: #eee;\n padding: 0 calc(var(--size) * 0.5);\n box-shadow: inset rgba(0, 0, 0, 0.04) 3px 3px 0, inset rgba(0, 0, 0, 0.03) 0.5px 0.5px 0;\n}\n\n.jbx-dropzone {\n height: 120px;\n flex: 1;\n display: flex;\n text-align: center;\n align-items: center;\n align-content: center;\n justify-content: center;\n flex-direction: column;\n border: 2px dashed #000;\n color: #000;\n padding: 0;\n cursor: pointer;\n}\n.jbx-dropzone:hover {\n border-color: #999;\n}\n.jbx-dropzone span {\n width: 100%;\n cursor: pointer;\n}\n.jbx-dropzone input {\n position: absolute;\n top: 0;\n left: 0;\n height: 100%;\n width: 100%;\n opacity: 0;\n cursor: pointer;\n}\n\n.jbx-range {\n flex: 1;\n width: 100%;\n appearance: none;\n background-color: #bdc3c780;\n height: var(--size);\n border-radius: 0;\n border-radius: var(--radius-small);\n}\n\n.jbx-range::-webkit-slider-thumb {\n -webkit-appearance: none;\n appearance: none;\n box-shadow: none;\n border-radius: 0;\n height: calc(var(--size) * 2);\n width: var(--size);\n background-color: #000;\n border: none;\n border-radius: var(--radius-small);\n}\n.jbx-range::-moz-range-thumb {\n appearance: none;\n box-shadow: none;\n border-radius: 0;\n height: calc(var(--size) * 2);\n width: var(--size);\n background-color: #000;\n border: none;\n border-radius: var(--radius-small);\n}\n.jbx-range::-webkit-slider-runnable-track {\n appearance: none;\n}\n.jbx-range:focus {\n outline: none;\n}\n\n.jbx-bullet-container {\n display: inline-block;\n margin: -8px 4px -8px 0;\n}\n\n.jbx-bullet {\n border: 1px solid #0001;\n color: #000;\n background-color: #0001;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: calc(var(--font-size-small) - 3px);\n height: calc(var(--size) * 1.25);\n width: calc(var(--size) * 1.25);\n border-radius: 100%;\n top: -2px;\n margin-right: 2px;\n}\n\n.jbx-hr {\n margin: calc(var(--size) * 2) auto;\n width: 38.2%;\n border-radius: 0;\n border: none;\n border-top: 2px solid #ecf0f1;\n}\n";
|
|
2
|
+
//# sourceMappingURL=css.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"css.d.ts","sourceRoot":"","sources":["../../src/generated/css.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,GAAG,unNAAknN,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
// Generated by scripts/build-css.mjs from src/style.css. Do not edit.
|
|
2
|
+
export const CSS = "html {\n box-sizing: border-box;\n}\n*,\n*:before,\n*:after {\n box-sizing: inherit;\n}\n\n:root {\n --size: 16px;\n --font-size: 16px;\n --font-size-small: 17px;\n --radius-small: 2px;\n}\n\n@media screen and (max-width: 1200px) {\n :root {\n --font-size: 18px;\n --font-size-small: 16px;\n --size: 14px;\n }\n}\n\n@media screen and (max-width: 600px) {\n :root {\n --font-size: 16px;\n --font-size-small: 14px;\n }\n}\n\n* {\n padding: 0;\n margin: 0;\n position: relative;\n}\n\nbody {\n touch-action: pan-y;\n}\n\nbody,\ninput,\ntextarea {\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;\n}\n\nbody {\n background: #fcfcfd;\n color: #000;\n}\n\nh1,\nh2,\nh3,\nh4 {\n line-height: 1;\n padding: 0;\n font-variation-settings: 'wght' 600;\n font-weight: 600;\n color: var(--base-font-color-bright);\n}\nh1 {\n font-variation-settings: 'wdth' 107, 'wght' 650;\n font-weight: 650;\n}\n\nstrong,\nb {\n font-weight: 500;\n}\n\n.jbx-main-h1 {\n display: inline-block;\n background-color: var(--accent-color);\n font-size: calc(var(--font-size) * 2);\n padding: 8px;\n}\n\n.jbx-h1 {\n font-size: calc(var(--font-size) * 2);\n font-weight: 700;\n}\n.jbx-h2 {\n font-size: calc(var(--font-size) * 1.25);\n}\n.jbx-h3 {\n font-size: calc(var(--font-size) * 1.125);\n}\n.jbx-h4 {\n font-size: var(--font-size-small);\n text-transform: uppercase;\n}\n\n/* base text */\nhtml,\nbody,\n.jbx-button,\n.jbx-input {\n font-size: var(--font-size);\n line-height: 1;\n}\n\n.jbx-code-snippet {\n border-radius: var(--size);\n font-family: monaco, monospace;\n border: none;\n width: 100%;\n font-size: calc(var(--size) - 3px);\n line-height: 1.33;\n padding: var(--size) calc(var(--size) * 1.2);\n background: #ecf0f1;\n color: #34495e;\n resize: none;\n}\n.jbx-code-snippet:focus {\n outline: none;\n}\n\n.jbx-code-area {\n border-radius: var(--size);\n font-family: monaco, monospace;\n border: none;\n width: 100%;\n font-size: calc(var(--size) - 3px);\n line-height: 1.33;\n padding: var(--size) calc(var(--size) * 1.2);\n background: #ecf0f1;\n color: #34495e;\n resize: none;\n min-height: 120px;\n}\n.jbx-code-area:focus {\n outline: none;\n}\n\n.jbx-button {\n color: #000;\n border-radius: var(--radius-small);\n appearance: none;\n user-select: none;\n cursor: pointer;\n display: inline-block;\n background-color: #eee;\n box-shadow: 3px 3px 0 #ccc;\n padding: 0 calc(var(--size) / 2);\n border: none;\n height: calc(var(--size) * 2.5);\n transition: top 0.1s, left 0.1s, box-shadow 0.05s;\n}\n.jbx-button:active {\n top: 1px;\n left: 1px;\n box-shadow: 1px 1px 0 #ccc;\n}\n\n/* LINKS */\n.jbx-a {\n cursor: pointer;\n color: #000;\n box-shadow: #0002 0 2px 0;\n font-weight: 500;\n text-decoration: none;\n}\n.jbx-a::after {\n content: '↗';\n color: #0004;\n font-size: var(--font-size-small);\n position: relative;\n top: -1px;\n right: -1px;\n transition: top 0.3s, right 0.3s, color 0.3s;\n}\n.jbx-a:hover,\n.jbx-block-link:hover .jbx-a {\n box-shadow: var(--accent-color) 0 2px 0;\n}\n.jbx-a:hover::after,\n.jbx-block-link:hover .jbx-a::after {\n top: -3px;\n right: -3px;\n color: var(--accent-color);\n}\n\n.jbx-block-link {\n min-width: 300px;\n flex: 1;\n text-decoration: none;\n color: #000;\n display: inline-block;\n padding: var(--size);\n}\na.jbx-a::before,\n.jbx-block-link::before {\n content: '';\n display: block;\n position: absolute;\n background-color: #ecf0f1;\n z-index: -1;\n transition: transform 0.2s, opacity 0.2s;\n transform: scale(0.98) translatey(4px);\n opacity: 0;\n top: -4px;\n left: -6px;\n right: -6px;\n bottom: -4px;\n}\n.jbx-block-link::before {\n border-radius: 16px;\n}\na.jbx-a::before {\n border-radius: 8px;\n}\na.jbx-a:hover::before,\n.jbx-block-link:hover::before {\n transform: scale(1) translatey(0);\n opacity: 1;\n}\n\n.jbx-a {\n display: inline-block;\n}\n\n/* /LINKS */\n\n.jbx-small-text {\n font-size: var(--font-size-small);\n}\n\n.jbx-container {\n max-width: 1080px;\n margin: 0 auto;\n padding: calc(var(--size) * 2.5) calc(var(--size) * 1.5) calc(var(--size) * 4);\n}\n\n.jbx-box {\n flex: 1;\n}\n\n.jbx-inline {\n flex: 1;\n display: flex;\n flex-wrap: wrap;\n flex-direction: row;\n}\n\n.jbx-stack {\n flex: 1;\n display: flex;\n flex-wrap: wrap;\n flex-direction: column;\n}\n\n.jbx-text {\n line-height: 1.4;\n}\n\n.jbx-input {\n color: #777;\n -webkit-text-fill-color: #777;\n opacity: 1;\n flex: 1;\n display: block;\n appearance: none;\n border: none;\n border-radius: var(--radius-small);\n height: calc(var(--size) * 2.5);\n background-color: #eee;\n padding: 0 calc(var(--size) * 0.5);\n box-shadow: inset rgba(0, 0, 0, 0.04) 3px 3px 0, inset rgba(0, 0, 0, 0.03) 0.5px 0.5px 0;\n}\n\n.jbx-dropzone {\n height: 120px;\n flex: 1;\n display: flex;\n text-align: center;\n align-items: center;\n align-content: center;\n justify-content: center;\n flex-direction: column;\n border: 2px dashed #000;\n color: #000;\n padding: 0;\n cursor: pointer;\n}\n.jbx-dropzone:hover {\n border-color: #999;\n}\n.jbx-dropzone span {\n width: 100%;\n cursor: pointer;\n}\n.jbx-dropzone input {\n position: absolute;\n top: 0;\n left: 0;\n height: 100%;\n width: 100%;\n opacity: 0;\n cursor: pointer;\n}\n\n.jbx-range {\n flex: 1;\n width: 100%;\n appearance: none;\n background-color: #bdc3c780;\n height: var(--size);\n border-radius: 0;\n border-radius: var(--radius-small);\n}\n\n.jbx-range::-webkit-slider-thumb {\n -webkit-appearance: none;\n appearance: none;\n box-shadow: none;\n border-radius: 0;\n height: calc(var(--size) * 2);\n width: var(--size);\n background-color: #000;\n border: none;\n border-radius: var(--radius-small);\n}\n.jbx-range::-moz-range-thumb {\n appearance: none;\n box-shadow: none;\n border-radius: 0;\n height: calc(var(--size) * 2);\n width: var(--size);\n background-color: #000;\n border: none;\n border-radius: var(--radius-small);\n}\n.jbx-range::-webkit-slider-runnable-track {\n appearance: none;\n}\n.jbx-range:focus {\n outline: none;\n}\n\n.jbx-bullet-container {\n display: inline-block;\n margin: -8px 4px -8px 0;\n}\n\n.jbx-bullet {\n border: 1px solid #0001;\n color: #000;\n background-color: #0001;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: calc(var(--font-size-small) - 3px);\n height: calc(var(--size) * 1.25);\n width: calc(var(--size) * 1.25);\n border-radius: 100%;\n top: -2px;\n margin-right: 2px;\n}\n\n.jbx-hr {\n margin: calc(var(--size) * 2) auto;\n width: 38.2%;\n border-radius: 0;\n border: none;\n border-top: 2px solid #ecf0f1;\n}\n";
|
|
3
|
+
//# sourceMappingURL=css.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"css.js","sourceRoot":"","sources":["../../src/generated/css.ts"],"names":[],"mappings":"AAAA,sEAAsE;AACtE,MAAM,CAAC,MAAM,GAAG,GAAG,+mNAA+mN,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,148 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
flex?: number;
|
|
8
|
-
style?: CSSProperties;
|
|
9
|
-
};
|
|
10
|
-
declare function Box({ children, smallText, padding, flex, style }: BoxProps): React.JSX.Element;
|
|
11
|
-
|
|
12
|
-
declare function Component<T>(className: string, styleSrc?: {}, config?: {
|
|
13
|
-
element?: string;
|
|
14
|
-
props?: any;
|
|
15
|
-
}): (props: T & {
|
|
16
|
-
children?: ReactNode;
|
|
17
|
-
style?: CSSProperties;
|
|
18
|
-
}) => JSX.Element;
|
|
19
|
-
declare const Container: (props: {
|
|
20
|
-
children?: ReactNode;
|
|
21
|
-
style?: React.CSSProperties | undefined;
|
|
22
|
-
}) => JSX.Element;
|
|
23
|
-
declare const Text: (props: {
|
|
24
|
-
children?: ReactNode;
|
|
25
|
-
style?: React.CSSProperties | undefined;
|
|
26
|
-
}) => JSX.Element;
|
|
27
|
-
declare const SmallText: (props: {
|
|
28
|
-
children?: ReactNode;
|
|
29
|
-
style?: React.CSSProperties | undefined;
|
|
30
|
-
}) => JSX.Element;
|
|
31
|
-
declare const Button: (props: React.HTMLProps<HTMLButtonElement> & {
|
|
32
|
-
children?: ReactNode;
|
|
33
|
-
style?: React.CSSProperties | undefined;
|
|
34
|
-
}) => JSX.Element;
|
|
35
|
-
declare const Input: (props: React.HTMLProps<HTMLInputElement> & {
|
|
36
|
-
children?: ReactNode;
|
|
37
|
-
} & {
|
|
38
|
-
children?: ReactNode;
|
|
39
|
-
style?: React.CSSProperties | undefined;
|
|
40
|
-
}) => JSX.Element;
|
|
41
|
-
declare const Range: (props: React.HTMLProps<HTMLInputElement> & {
|
|
42
|
-
children?: ReactNode;
|
|
43
|
-
} & {
|
|
44
|
-
children?: ReactNode;
|
|
45
|
-
style?: React.CSSProperties | undefined;
|
|
46
|
-
}) => JSX.Element;
|
|
47
|
-
declare const HeaderH1: (props: {
|
|
48
|
-
children?: ReactNode;
|
|
49
|
-
style?: React.CSSProperties | undefined;
|
|
50
|
-
}) => JSX.Element;
|
|
51
|
-
declare const HeaderH2: (props: {
|
|
52
|
-
children?: ReactNode;
|
|
53
|
-
style?: React.CSSProperties | undefined;
|
|
54
|
-
}) => JSX.Element;
|
|
55
|
-
declare const HeaderH3: (props: {
|
|
56
|
-
children?: ReactNode;
|
|
57
|
-
style?: React.CSSProperties | undefined;
|
|
58
|
-
}) => JSX.Element;
|
|
59
|
-
declare const HeaderH4: (props: {
|
|
60
|
-
children?: ReactNode;
|
|
61
|
-
style?: React.CSSProperties | undefined;
|
|
62
|
-
}) => JSX.Element;
|
|
63
|
-
declare const HR: (props: {
|
|
64
|
-
children?: ReactNode;
|
|
65
|
-
style?: React.CSSProperties | undefined;
|
|
66
|
-
}) => JSX.Element;
|
|
67
|
-
declare const MainHeader: (props: {
|
|
68
|
-
children?: ReactNode;
|
|
69
|
-
style?: React.CSSProperties | undefined;
|
|
70
|
-
}) => JSX.Element;
|
|
71
|
-
declare const A: (props: React.HTMLProps<HTMLAnchorElement> & {
|
|
72
|
-
children?: ReactNode;
|
|
73
|
-
href: string;
|
|
74
|
-
} & {
|
|
75
|
-
children?: ReactNode;
|
|
76
|
-
style?: React.CSSProperties | undefined;
|
|
77
|
-
}) => JSX.Element;
|
|
78
|
-
type SpaceProps = {
|
|
79
|
-
inline?: boolean;
|
|
80
|
-
h?: number;
|
|
81
|
-
w?: number;
|
|
82
|
-
};
|
|
83
|
-
declare const Space: (props: SpaceProps & {
|
|
84
|
-
children?: ReactNode;
|
|
85
|
-
style?: React.CSSProperties | undefined;
|
|
86
|
-
}) => JSX.Element;
|
|
87
|
-
type InlineProps = {
|
|
88
|
-
v?: number;
|
|
89
|
-
h?: number;
|
|
90
|
-
gap?: number;
|
|
91
|
-
wrap?: boolean;
|
|
92
|
-
};
|
|
93
|
-
declare const Inline: (props: InlineProps & {
|
|
94
|
-
children?: ReactNode;
|
|
95
|
-
style?: React.CSSProperties | undefined;
|
|
96
|
-
}) => JSX.Element;
|
|
97
|
-
declare const Stack: (props: {
|
|
98
|
-
children?: ReactNode;
|
|
99
|
-
style?: React.CSSProperties | undefined;
|
|
100
|
-
}) => JSX.Element;
|
|
101
|
-
declare const Dropzone: (props: {
|
|
102
|
-
children?: ReactNode;
|
|
103
|
-
style?: React.CSSProperties | undefined;
|
|
104
|
-
}) => JSX.Element;
|
|
105
|
-
declare const Ul: (props: {
|
|
106
|
-
children?: ReactNode;
|
|
107
|
-
style?: React.CSSProperties | undefined;
|
|
108
|
-
}) => JSX.Element;
|
|
109
|
-
declare const Li: (props: {
|
|
110
|
-
children?: ReactNode;
|
|
111
|
-
style?: React.CSSProperties | undefined;
|
|
112
|
-
}) => JSX.Element;
|
|
113
|
-
declare const Tabs: (props: {
|
|
114
|
-
children?: ReactNode;
|
|
115
|
-
style?: React.CSSProperties | undefined;
|
|
116
|
-
}) => JSX.Element;
|
|
117
|
-
type TabProps = {
|
|
118
|
-
info?: boolean;
|
|
119
|
-
active?: boolean;
|
|
120
|
-
};
|
|
121
|
-
declare const Tab: (props: TabProps & {
|
|
122
|
-
children?: ReactNode;
|
|
123
|
-
style?: React.CSSProperties | undefined;
|
|
124
|
-
}) => JSX.Element;
|
|
125
|
-
declare const CodeSnippet: (props: {
|
|
126
|
-
children?: ReactNode;
|
|
127
|
-
style?: React.CSSProperties | undefined;
|
|
128
|
-
}) => JSX.Element;
|
|
129
|
-
declare const CodeTextarea: (props: {
|
|
130
|
-
children?: ReactNode;
|
|
131
|
-
style?: React.CSSProperties | undefined;
|
|
132
|
-
}) => JSX.Element;
|
|
133
|
-
declare const CheckboxHidden: (props: {
|
|
134
|
-
isChecked: boolean;
|
|
135
|
-
} & {
|
|
136
|
-
children?: ReactNode;
|
|
137
|
-
style?: React.CSSProperties | undefined;
|
|
138
|
-
}) => JSX.Element;
|
|
139
|
-
declare const Checkbox: ({ label, checked, onChange }: {
|
|
140
|
-
label: string;
|
|
141
|
-
checked: boolean;
|
|
142
|
-
onChange?: ((value: boolean) => void) | undefined;
|
|
143
|
-
}) => React.DetailedReactHTMLElement<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>;
|
|
144
|
-
declare function Bullet({ value }: {
|
|
145
|
-
value: number;
|
|
146
|
-
}): React.JSX.Element;
|
|
147
|
-
|
|
148
|
-
export { A, Box, Bullet, Button, Checkbox, CheckboxHidden, CodeSnippet, CodeTextarea, Component, Container, Dropzone, HR, HeaderH1, HeaderH2, HeaderH3, HeaderH4, Inline, Input, Li, MainHeader, Range, SmallText, Space, Stack, Tab, Tabs, Text, Ul };
|
|
1
|
+
export * from './primitives.js';
|
|
2
|
+
export { space } from './spacing.js';
|
|
3
|
+
export { JBX } from './JBX.js';
|
|
4
|
+
export { Box } from './components/Layout.js';
|
|
5
|
+
export { MoreExperiments } from './components/MoreExperiments.js';
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAEhC,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AACrC,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAC/B,OAAO,EAAE,GAAG,EAAE,MAAM,wBAAwB,CAAC;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC"}
|