timvir 0.2.54 → 0.2.56
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/CHANGELOG.md +9 -0
- package/blocks/Arbitrary/Arbitrary.d.ts +1 -1
- package/blocks/Arbitrary/index.js +14 -14
- package/blocks/Arbitrary/samples/basic.d.ts +1 -1
- package/blocks/Code/Code.d.ts +1 -1
- package/blocks/Code/index.js +6 -6
- package/blocks/Code/samples/basic.d.ts +1 -1
- package/blocks/Code/samples/toggle.d.ts +2 -1
- package/blocks/ColorBar/ColorBar.d.ts +1 -1
- package/blocks/ColorBar/index.js +12 -12
- package/blocks/ColorBar/samples/basic.d.ts +1 -1
- package/blocks/ColorBook/ColorBook.d.ts +1 -1
- package/blocks/ColorBook/index.js +10 -10
- package/blocks/ColorBook/samples/basic.d.ts +2 -1
- package/blocks/Cover/Cover.d.ts +1 -1
- package/blocks/Cover/index.js +8 -8
- package/blocks/Cover/samples/basic.d.ts +1 -1
- package/blocks/Exhibit/Exhibit.d.ts +1 -1
- package/blocks/Exhibit/index.js +8 -6
- package/blocks/Exhibit/samples/basic.d.ts +1 -1
- package/blocks/Exhibit/samples/bleed.d.ts +1 -1
- package/blocks/Exhibit/samples/theme.d.ts +1 -1
- package/blocks/Exhibit/styles.css +8 -0
- package/blocks/Font/Font.d.ts +1 -1
- package/blocks/Font/index.js +25 -25
- package/blocks/Font/samples/basic.d.ts +1 -1
- package/blocks/Font/samples/timvir/body1.d.ts +1 -1
- package/blocks/Font/samples/timvir/caption.d.ts +1 -1
- package/blocks/Font/samples/timvir/h1.d.ts +1 -1
- package/blocks/Font/samples/timvir/h2.d.ts +1 -1
- package/blocks/Font/samples/timvir/h3.d.ts +1 -1
- package/blocks/Font/samples/timvir/h4.d.ts +1 -1
- package/blocks/Grid/Grid.d.ts +1 -1
- package/blocks/Grid/index.js +3 -3
- package/blocks/Grid/samples/basic.d.ts +1 -1
- package/blocks/Icon/Icon.d.ts +1 -1
- package/blocks/Icon/index.js +30 -30
- package/blocks/Icon/internal/Canvas.d.ts +1 -1
- package/blocks/Icon/samples/basic.d.ts +1 -1
- package/blocks/Message/Message.d.ts +1 -1
- package/blocks/Message/index.js +24 -24
- package/blocks/Message/samples/basic.d.ts +1 -1
- package/blocks/Swatch/Swatch.d.ts +1 -1
- package/blocks/Swatch/index.js +11 -11
- package/blocks/Swatch/samples/basic.d.ts +1 -1
- package/blocks/Viewport/Viewport.d.ts +1 -1
- package/blocks/Viewport/index.js +56 -56
- package/blocks/Viewport/internal/Caption.d.ts +2 -1
- package/blocks/Viewport/internal/Handle.d.ts +1 -1
- package/blocks/Viewport/internal/Ruler.d.ts +1 -1
- package/blocks/Viewport/samples/basic.d.ts +1 -1
- package/blocks/WebLink/WebLink.d.ts +1 -1
- package/blocks/WebLink/docs/index.mdx +2 -3
- package/blocks/WebLink/index.js +22 -17
- package/blocks/WebLink/samples/basic.d.ts +1 -1
- package/blocks/styles.css +8 -0
- package/builtins/index.js +49 -49
- package/builtins/styles.css +2 -2
- package/core/components/Commands/Commands.d.ts +2 -2
- package/core/components/Commands/index.d.ts +1 -1
- package/core/components/Commands/internal/Action.d.ts +2 -2
- package/core/components/Commands/internal/Dialog.d.ts +3 -2
- package/core/components/Commands/internal/index.d.ts +1 -1
- package/core/components/Footer/Footer.d.ts +2 -2
- package/core/components/Footer/index.d.ts +1 -1
- package/core/components/Footer/samples/basic.d.ts +1 -1
- package/core/components/NavigationFooter/NavigationFooter.d.ts +2 -2
- package/core/components/NavigationFooter/index.d.ts +1 -1
- package/core/components/NavigationFooter/samples/basic.d.ts +1 -1
- package/core/components/Page/Page.d.ts +2 -2
- package/core/components/Page/index.d.ts +1 -1
- package/core/components/Page/internal/Section.d.ts +3 -2
- package/core/components/Page/internal/Sidebar.d.ts +2 -2
- package/core/components/Page/internal/SidebarItem.d.ts +3 -2
- package/core/components/Page/internal/index.d.ts +1 -1
- package/core/components/Page/samples/basic.d.ts +1 -1
- package/core/components/Page/samples/layout.d.ts +1 -1
- package/core/index.js +180 -180
- package/core/styles.css +2 -2
- package/hooks/index.js +3 -1
- package/icons/AlertCircle.d.ts +1 -1
- package/icons/ChevronLeft.d.ts +1 -1
- package/icons/ChevronRight.d.ts +1 -1
- package/icons/ChevronsRight.d.ts +1 -1
- package/icons/Code.d.ts +1 -1
- package/icons/Codepen.d.ts +1 -1
- package/icons/Info.d.ts +1 -1
- package/icons/Link.d.ts +1 -1
- package/icons/Menu.d.ts +1 -1
- package/icons/XOctagon.d.ts +1 -1
- package/package.json +3 -3
- package/search/Search/Search.d.ts +2 -2
- package/search/Search/index.d.ts +1 -1
- package/search/Search/samples/basic.d.ts +1 -1
- package/styles.css +12 -4
|
@@ -5,5 +5,5 @@ interface Props {
|
|
|
5
5
|
edge: "left" | "right";
|
|
6
6
|
iframeRef: React.RefObject<null | HTMLIFrameElement>;
|
|
7
7
|
}
|
|
8
|
-
export declare function Handle(props: Props):
|
|
8
|
+
export declare function Handle(props: Props): React.JSX.Element;
|
|
9
9
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default function Sample(): import("react
|
|
1
|
+
export default function Sample(): import("react").JSX.Element;
|
|
@@ -6,5 +6,5 @@ declare const Root = "a";
|
|
|
6
6
|
interface Props extends React.ComponentPropsWithRef<typeof Root> {
|
|
7
7
|
url: string;
|
|
8
8
|
}
|
|
9
|
-
export declare function WebLink(props: Props):
|
|
9
|
+
export declare function WebLink(props: Props): React.JSX.Element;
|
|
10
10
|
export {};
|
|
@@ -8,8 +8,7 @@ import { WebLink } from "..";
|
|
|
8
8
|
|
|
9
9
|
## Examples
|
|
10
10
|
|
|
11
|
-
<WebLink url="https://
|
|
12
|
-
<WebLink url="https://
|
|
13
|
-
<WebLink url="https://www.framer.com/motion/" style={{ marginBottom: 16 }} />
|
|
11
|
+
<WebLink url="https://stories.caurea.org/blouson-noir" style={{ marginBottom: 16 }} />
|
|
12
|
+
<WebLink url="https://linear.app" style={{ marginBottom: 16 }} />
|
|
14
13
|
<WebLink url="https://formatjs.github.io" style={{ marginBottom: 16 }} />
|
|
15
14
|
<WebLink url="https://www.typescriptlang.org" style={{ marginBottom: 16 }} />
|
package/blocks/WebLink/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { useContext } from 'timvir/core';
|
|
4
|
-
import {
|
|
4
|
+
import { jsxDEV, Fragment } from 'react/jsx-dev-runtime';
|
|
5
5
|
|
|
6
6
|
var styleq = {};
|
|
7
7
|
var hasRequiredStyleq;
|
|
@@ -193,12 +193,17 @@ function WebLink(props$1) {
|
|
|
193
193
|
settled: true,
|
|
194
194
|
metadata: metadata
|
|
195
195
|
});
|
|
196
|
+
}, () => {
|
|
197
|
+
setState({
|
|
198
|
+
settled: true,
|
|
199
|
+
metadata: undefined
|
|
200
|
+
});
|
|
196
201
|
});
|
|
197
202
|
}, [unfurl, url]);
|
|
198
203
|
const metadata = state.metadata;
|
|
199
204
|
const image = metadata?.open_graph?.images?.[0]?.url;
|
|
200
205
|
const rootStyleProps = props(layoutStyles.block, styles.root);
|
|
201
|
-
return /*#__PURE__*/
|
|
206
|
+
return /*#__PURE__*/jsxDEV(Root, {
|
|
202
207
|
"data-timvir-b-weblink": true,
|
|
203
208
|
href: url,
|
|
204
209
|
target: "_blank",
|
|
@@ -210,38 +215,38 @@ function WebLink(props$1) {
|
|
|
210
215
|
...rootStyleProps.style,
|
|
211
216
|
...rest.style
|
|
212
217
|
},
|
|
213
|
-
children: [/*#__PURE__*/
|
|
218
|
+
children: [/*#__PURE__*/jsxDEV("div", {
|
|
214
219
|
className: "timvir-s-1fvrxw4 timvir-s-hkrif2 timvir-s-euugli",
|
|
215
|
-
children: [/*#__PURE__*/
|
|
220
|
+
children: [/*#__PURE__*/jsxDEV("div", {
|
|
216
221
|
className: "timvir-s-1cdhzux timvir-s-uxw1ft timvir-s-b3r6kr timvir-s-lyipyv timvir-s-jwf9q1 timvir-s-zueoph",
|
|
217
|
-
children: metadata?.open_graph?.title ?? metadata?.title ?? /*#__PURE__*/
|
|
222
|
+
children: metadata?.open_graph?.title ?? metadata?.title ?? /*#__PURE__*/jsxDEV(Fragment, {
|
|
218
223
|
children: "\xA0"
|
|
219
|
-
})
|
|
220
|
-
}), /*#__PURE__*/
|
|
224
|
+
}, void 0, false)
|
|
225
|
+
}, void 0, false), /*#__PURE__*/jsxDEV("div", {
|
|
221
226
|
className: "timvir-s-boafo0 timvir-s-1vbrtjm timvir-s-vgvpxu timvir-s-1ehw58o timvir-s-b3r6kr",
|
|
222
227
|
children: metadata?.open_graph?.description ?? metadata?.description
|
|
223
|
-
}), /*#__PURE__*/
|
|
228
|
+
}, void 0, false), /*#__PURE__*/jsxDEV("div", {
|
|
224
229
|
className: "timvir-s-14vqqas timvir-s-78zum5 timvir-s-boafo0 timvir-s-l2ypbo timvir-s-1cdhzux timvir-s-uxw1ft timvir-s-b3r6kr timvir-s-lyipyv",
|
|
225
|
-
children: [/*#__PURE__*/
|
|
230
|
+
children: [/*#__PURE__*/jsxDEV("img", {
|
|
226
231
|
className: "timvir-s-cdlrvm timvir-s-1l36t39 timvir-s-gomdpo timvir-s-15ku74s",
|
|
227
232
|
style: {
|
|
228
233
|
opacity: metadata?.favicon ? 1 : 0
|
|
229
234
|
},
|
|
230
235
|
src: metadata?.favicon,
|
|
231
236
|
alt: ""
|
|
232
|
-
}), /*#__PURE__*/
|
|
237
|
+
}, void 0, false), /*#__PURE__*/jsxDEV("div", {
|
|
233
238
|
children: metadata ? url : null
|
|
234
|
-
})]
|
|
235
|
-
})]
|
|
236
|
-
}), image && /*#__PURE__*/
|
|
239
|
+
}, void 0, false)]
|
|
240
|
+
}, void 0, true)]
|
|
241
|
+
}, void 0, true), image && /*#__PURE__*/jsxDEV("div", {
|
|
237
242
|
className: "timvir-s-15lv9n0 timvir-s-1n2onr6 timvir-s-fb3i0g",
|
|
238
|
-
children: /*#__PURE__*/
|
|
243
|
+
children: /*#__PURE__*/jsxDEV("img", {
|
|
239
244
|
className: "timvir-s-1lliihq timvir-s-l1xv1r timvir-s-1p4ba9y timvir-s-h8yej3 timvir-s-5yr21d timvir-s-10l6tqk timvir-s-13vifvy timvir-s-u96u03",
|
|
240
245
|
src: image,
|
|
241
246
|
alt: ""
|
|
242
|
-
})
|
|
243
|
-
})]
|
|
244
|
-
});
|
|
247
|
+
}, void 0, false)
|
|
248
|
+
}, void 0, false)]
|
|
249
|
+
}, void 0, true);
|
|
245
250
|
}
|
|
246
251
|
const styles = {
|
|
247
252
|
root: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type * as React from "react";
|
|
2
2
|
import { WebLink } from "..";
|
|
3
3
|
type Props = Partial<React.ComponentPropsWithoutRef<typeof WebLink>>;
|
|
4
|
-
export default function Sample(props: Props):
|
|
4
|
+
export default function Sample(props: Props): React.JSX.Element;
|
|
5
5
|
export {};
|
package/blocks/styles.css
CHANGED
|
@@ -938,6 +938,14 @@
|
|
|
938
938
|
background-image: var(--timvir-b-Exhibit-background);
|
|
939
939
|
}
|
|
940
940
|
|
|
941
|
+
.timvir-s-15r2rl4 {
|
|
942
|
+
color: #000000c9;
|
|
943
|
+
}
|
|
944
|
+
|
|
945
|
+
.timvir-s-igssvo {
|
|
946
|
+
color: #ffffffdb;
|
|
947
|
+
}
|
|
948
|
+
|
|
941
949
|
.timvir-s-vgvpxu {
|
|
942
950
|
color: var(--timvir-secondary-text-color);
|
|
943
951
|
}
|
package/builtins/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { jsxDEV } from 'react/jsx-dev-runtime';
|
|
3
3
|
|
|
4
4
|
var styleq = {};
|
|
5
5
|
var hasRequiredStyleq;
|
|
@@ -160,7 +160,7 @@ const layoutStyles = {
|
|
|
160
160
|
$$css: true
|
|
161
161
|
}};
|
|
162
162
|
|
|
163
|
-
const SvgLink = props => /*#__PURE__*/
|
|
163
|
+
const SvgLink = props => /*#__PURE__*/jsxDEV("svg", {
|
|
164
164
|
xmlns: "http://www.w3.org/2000/svg",
|
|
165
165
|
width: 24,
|
|
166
166
|
height: 24,
|
|
@@ -171,12 +171,12 @@ const SvgLink = props => /*#__PURE__*/jsxs("svg", {
|
|
|
171
171
|
strokeWidth: 2,
|
|
172
172
|
viewBox: "0 0 24 24",
|
|
173
173
|
...props,
|
|
174
|
-
children: [/*#__PURE__*/
|
|
174
|
+
children: [/*#__PURE__*/jsxDEV("path", {
|
|
175
175
|
d: "M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"
|
|
176
|
-
}), /*#__PURE__*/
|
|
176
|
+
}, void 0, false), /*#__PURE__*/jsxDEV("path", {
|
|
177
177
|
d: "M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"
|
|
178
|
-
})]
|
|
179
|
-
});
|
|
178
|
+
}, void 0, false)]
|
|
179
|
+
}, void 0, true);
|
|
180
180
|
|
|
181
181
|
const anchorize = children => {
|
|
182
182
|
if (typeof children === "string") {
|
|
@@ -192,41 +192,41 @@ function Heading(Component) {
|
|
|
192
192
|
...rest
|
|
193
193
|
} = props;
|
|
194
194
|
const id = anchorize(children);
|
|
195
|
-
return /*#__PURE__*/
|
|
195
|
+
return /*#__PURE__*/jsxDEV(Component, {
|
|
196
196
|
...rest,
|
|
197
197
|
id: id,
|
|
198
|
-
children: /*#__PURE__*/
|
|
198
|
+
children: /*#__PURE__*/jsxDEV("a", {
|
|
199
199
|
className: "timvir-s-1heor9g timvir-s-1hl2dhg timvir-s-bok0fy timvir-s-158d8ml timvir-s-1rb6emv timvir-s-1xi2g7t",
|
|
200
200
|
href: id && `#${id}`,
|
|
201
|
-
children: [children, /*#__PURE__*/
|
|
201
|
+
children: [children, /*#__PURE__*/jsxDEV(SvgLink, {
|
|
202
202
|
className: "timvir-s-1rg5ohu timvir-s-16vho4v timvir-s-vgvpxu timvir-s-1pazyae timvir-s-1y6pbyt timvir-s-xymvpz timvir-s-2r93rw timvir-s-1i3gk9 timvir-s-o5ics5 timvir-s-6ah1hw"
|
|
203
|
-
})]
|
|
204
|
-
})
|
|
205
|
-
});
|
|
203
|
+
}, void 0, false)]
|
|
204
|
+
}, void 0, true)
|
|
205
|
+
}, void 0, false);
|
|
206
206
|
};
|
|
207
207
|
}
|
|
208
|
-
const h11 = props$1 => /*#__PURE__*/
|
|
208
|
+
const h11 = props$1 => /*#__PURE__*/jsxDEV("h1", {
|
|
209
209
|
...props(layoutStyles.block, styles.h1),
|
|
210
210
|
...props$1
|
|
211
|
-
});
|
|
212
|
-
const h21 = Heading(props$1 => /*#__PURE__*/
|
|
211
|
+
}, void 0, false);
|
|
212
|
+
const h21 = Heading(props$1 => /*#__PURE__*/jsxDEV("h2", {
|
|
213
213
|
...props(layoutStyles.block, styles.h2),
|
|
214
214
|
...props$1
|
|
215
|
-
}));
|
|
216
|
-
const h31 = Heading(props$1 => /*#__PURE__*/
|
|
215
|
+
}, void 0, false));
|
|
216
|
+
const h31 = Heading(props$1 => /*#__PURE__*/jsxDEV("h3", {
|
|
217
217
|
...props(layoutStyles.block, styles.h3),
|
|
218
218
|
...props$1
|
|
219
|
-
}));
|
|
220
|
-
const h41 = Heading(props$1 => /*#__PURE__*/
|
|
219
|
+
}, void 0, false));
|
|
220
|
+
const h41 = Heading(props$1 => /*#__PURE__*/jsxDEV("h4", {
|
|
221
221
|
...props(layoutStyles.block, styles.h4),
|
|
222
222
|
...props$1
|
|
223
|
-
}));
|
|
223
|
+
}, void 0, false));
|
|
224
224
|
const blockquote1 = props$1 => {
|
|
225
225
|
const {
|
|
226
226
|
children,
|
|
227
227
|
...rest
|
|
228
228
|
} = props$1;
|
|
229
|
-
return /*#__PURE__*/
|
|
229
|
+
return /*#__PURE__*/jsxDEV("blockquote", {
|
|
230
230
|
...rest,
|
|
231
231
|
...props(layoutStyles.block, styles.blockquote),
|
|
232
232
|
children: React.Children.toArray(children).filter(x => x !== "\n").map((child, index, self) => {
|
|
@@ -241,26 +241,26 @@ const blockquote1 = props$1 => {
|
|
|
241
241
|
style
|
|
242
242
|
});
|
|
243
243
|
})
|
|
244
|
-
});
|
|
244
|
+
}, void 0, false);
|
|
245
245
|
};
|
|
246
|
-
const hr1 = props$1 => /*#__PURE__*/
|
|
246
|
+
const hr1 = props$1 => /*#__PURE__*/jsxDEV("hr", {
|
|
247
247
|
...props(layoutStyles.block, styles.hr),
|
|
248
248
|
...props$1
|
|
249
|
-
});
|
|
250
|
-
const table1 = props$1 => /*#__PURE__*/
|
|
249
|
+
}, void 0, false);
|
|
250
|
+
const table1 = props$1 => /*#__PURE__*/jsxDEV("table", {
|
|
251
251
|
...props(layoutStyles.block, styles.table),
|
|
252
252
|
...props$1
|
|
253
|
-
});
|
|
254
|
-
const thead1 = props => /*#__PURE__*/
|
|
253
|
+
}, void 0, false);
|
|
254
|
+
const thead1 = props => /*#__PURE__*/jsxDEV("thead", {
|
|
255
255
|
...props
|
|
256
|
-
});
|
|
257
|
-
const tbody1 = props => /*#__PURE__*/
|
|
256
|
+
}, void 0, false);
|
|
257
|
+
const tbody1 = props => /*#__PURE__*/jsxDEV("tbody", {
|
|
258
258
|
...props
|
|
259
|
-
});
|
|
260
|
-
const tr1 = props => /*#__PURE__*/
|
|
259
|
+
}, void 0, false);
|
|
260
|
+
const tr1 = props => /*#__PURE__*/jsxDEV("tr", {
|
|
261
261
|
className: "timvir-s-83z2og timvir-s-178xt8z timvir-s-13fuv20 timvir-s-1r4gg6b timvir-s-7kswos",
|
|
262
262
|
...props
|
|
263
|
-
});
|
|
263
|
+
}, void 0, false);
|
|
264
264
|
const th1 = props => {
|
|
265
265
|
const {
|
|
266
266
|
align,
|
|
@@ -269,11 +269,11 @@ const th1 = props => {
|
|
|
269
269
|
const style = {
|
|
270
270
|
textAlign: align || "center"
|
|
271
271
|
};
|
|
272
|
-
return /*#__PURE__*/
|
|
272
|
+
return /*#__PURE__*/jsxDEV("th", {
|
|
273
273
|
className: "timvir-s-12ek6fo timvir-s-mkeg23 timvir-s-1y0btm7 timvir-s-1kgrkcs",
|
|
274
274
|
style: style,
|
|
275
275
|
...rest
|
|
276
|
-
});
|
|
276
|
+
}, void 0, false);
|
|
277
277
|
};
|
|
278
278
|
const td1 = props => {
|
|
279
279
|
const {
|
|
@@ -283,36 +283,36 @@ const td1 = props => {
|
|
|
283
283
|
const style = {
|
|
284
284
|
textAlign: align || "left"
|
|
285
285
|
};
|
|
286
|
-
return /*#__PURE__*/
|
|
286
|
+
return /*#__PURE__*/jsxDEV("td", {
|
|
287
287
|
className: "timvir-s-12ek6fo timvir-s-mkeg23 timvir-s-1y0btm7 timvir-s-1kgrkcs",
|
|
288
288
|
style: style,
|
|
289
289
|
...rest
|
|
290
|
-
});
|
|
290
|
+
}, void 0, false);
|
|
291
291
|
};
|
|
292
|
-
const code1 = props => /*#__PURE__*/
|
|
292
|
+
const code1 = props => /*#__PURE__*/jsxDEV("code", {
|
|
293
293
|
className: "timvir-s-1sxf85j timvir-s-1jnxms5 timvir-s-sfzzmd timvir-s-bspb1j timvir-s-mkeg23 timvir-s-1y0btm7 timvir-s-j7gikm timvir-s-1vhptj2",
|
|
294
294
|
...props
|
|
295
|
-
});
|
|
296
|
-
const a1 = props => /*#__PURE__*/
|
|
295
|
+
}, void 0, false);
|
|
296
|
+
const a1 = props => /*#__PURE__*/jsxDEV("a", {
|
|
297
297
|
className: "timvir-s-15rks2t timvir-s-1hl2dhg timvir-s-11p4203 timvir-s-1j43nte timvir-s-odwsf6 timvir-s-1w3jsh0 timvir-s-lan1bs timvir-s-1v02d47 timvir-s-1k07x2j timvir-s-15m0p1m timvir-s-1bezv82",
|
|
298
298
|
...props
|
|
299
|
-
});
|
|
300
|
-
const p1 = props$1 => /*#__PURE__*/
|
|
299
|
+
}, void 0, false);
|
|
300
|
+
const p1 = props$1 => /*#__PURE__*/jsxDEV("p", {
|
|
301
301
|
...props(layoutStyles.block),
|
|
302
302
|
...props$1
|
|
303
|
-
});
|
|
304
|
-
const ul1 = props$1 => /*#__PURE__*/
|
|
303
|
+
}, void 0, false);
|
|
304
|
+
const ul1 = props$1 => /*#__PURE__*/jsxDEV("ul", {
|
|
305
305
|
...props(layoutStyles.block),
|
|
306
306
|
...props$1
|
|
307
|
-
});
|
|
308
|
-
const ol1 = props$1 => /*#__PURE__*/
|
|
307
|
+
}, void 0, false);
|
|
308
|
+
const ol1 = props$1 => /*#__PURE__*/jsxDEV("ol", {
|
|
309
309
|
...props(layoutStyles.block),
|
|
310
310
|
...props$1
|
|
311
|
-
});
|
|
312
|
-
const button1 = props => /*#__PURE__*/
|
|
311
|
+
}, void 0, false);
|
|
312
|
+
const button1 = props => /*#__PURE__*/jsxDEV("button", {
|
|
313
313
|
className: "timvir-s-1a2a7pz timvir-s-mkeg23 timvir-s-1y0btm7 timvir-s-j7gikm timvir-s-1cum3z5 timvir-s-1d0dlzq timvir-s-1cdhzux timvir-s-ln7xf2 timvir-s-o5v014 timvir-s-1whlmpv timvir-s-1k49i25 timvir-s-49kzi4 timvir-s-1dc5b4e timvir-s-13m658e timvir-s-1bx2y69",
|
|
314
314
|
...props
|
|
315
|
-
});
|
|
315
|
+
}, void 0, false);
|
|
316
316
|
const styles = {
|
|
317
317
|
h1: {
|
|
318
318
|
keoZOQ: "timvir-s-1hpjnmm",
|
|
@@ -320,7 +320,7 @@ const styles = {
|
|
|
320
320
|
kGuDYH: "timvir-s-579bpy",
|
|
321
321
|
kLWn49: "timvir-s-2sqz4w",
|
|
322
322
|
k63SB2: "timvir-s-kjxd12",
|
|
323
|
-
kTHuQy: "timvir-s-
|
|
323
|
+
kTHuQy: "timvir-s-caxn08",
|
|
324
324
|
$$css: true
|
|
325
325
|
},
|
|
326
326
|
h2: {
|
package/builtins/styles.css
CHANGED
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
@layer priority3 {
|
|
76
|
-
|
|
76
|
+
.timvir-s-1j43nte {
|
|
77
77
|
background-position: bottom;
|
|
78
78
|
}
|
|
79
79
|
|
|
@@ -279,7 +279,7 @@
|
|
|
279
279
|
position: relative;
|
|
280
280
|
}
|
|
281
281
|
|
|
282
|
-
.timvir-s-
|
|
282
|
+
.timvir-s-caxn08 {
|
|
283
283
|
text-indent: -.05em;
|
|
284
284
|
}
|
|
285
285
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { Commands } from "./Commands";
|
|
@@ -3,5 +3,5 @@ declare const Root = "div";
|
|
|
3
3
|
interface Props extends Omit<React.ComponentPropsWithoutRef<typeof Root>, "className" | "style"> {
|
|
4
4
|
label?: React.ReactNode;
|
|
5
5
|
}
|
|
6
|
-
declare function Action(props: Props):
|
|
7
|
-
export
|
|
6
|
+
export declare function Action(props: Props): React.JSX.Element;
|
|
7
|
+
export {};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import * as React from "react";
|
|
1
2
|
interface Props {
|
|
2
3
|
open?: boolean;
|
|
3
4
|
onClose?: () => void;
|
|
4
5
|
onDispose?: () => void;
|
|
5
6
|
}
|
|
6
|
-
declare function Dialog(props: Props):
|
|
7
|
-
export
|
|
7
|
+
export declare function Dialog(props: Props): React.JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { Dialog } from "./Dialog";
|
|
@@ -12,5 +12,5 @@ interface Props extends React.ComponentPropsWithRef<typeof Root> {
|
|
|
12
12
|
}>;
|
|
13
13
|
}>;
|
|
14
14
|
}
|
|
15
|
-
declare function Footer(props: Props):
|
|
16
|
-
export
|
|
15
|
+
export declare function Footer(props: Props): React.JSX.Element;
|
|
16
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { Footer } from "./Footer";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type * as React from "react";
|
|
2
2
|
import { Footer } from "..";
|
|
3
3
|
type Props = Partial<React.ComponentPropsWithoutRef<typeof Footer>>;
|
|
4
|
-
export default function Sample(props: Props):
|
|
4
|
+
export default function Sample(props: Props): React.JSX.Element;
|
|
5
5
|
export {};
|
|
@@ -17,5 +17,5 @@ interface Props extends React.ComponentPropsWithoutRef<typeof Root> {
|
|
|
17
17
|
context: React.ReactNode;
|
|
18
18
|
};
|
|
19
19
|
}
|
|
20
|
-
declare function NavigationFooter(props: Props):
|
|
21
|
-
export
|
|
20
|
+
export declare function NavigationFooter(props: Props): React.JSX.Element;
|
|
21
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { NavigationFooter } from "./NavigationFooter";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type * as React from "react";
|
|
2
2
|
import { NavigationFooter } from "..";
|
|
3
3
|
type Props = Partial<React.ComponentPropsWithoutRef<typeof NavigationFooter>>;
|
|
4
|
-
export default function Sample(props: Props):
|
|
4
|
+
export default function Sample(props: Props): React.JSX.Element;
|
|
5
5
|
export {};
|
|
@@ -62,5 +62,5 @@ interface Props extends Omit<React.ComponentProps<typeof Root>, "className" | "s
|
|
|
62
62
|
*/
|
|
63
63
|
blocks?: Value["blocks"];
|
|
64
64
|
}
|
|
65
|
-
declare function Page(props: Props):
|
|
66
|
-
export
|
|
65
|
+
export declare function Page(props: Props): React.JSX.Element;
|
|
66
|
+
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { Page } from "./Page";
|
|
2
2
|
export * from "./types";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import * as React from "react";
|
|
1
2
|
import type { Node } from "../types";
|
|
2
3
|
interface Props extends Node {
|
|
3
4
|
depth: number;
|
|
4
5
|
}
|
|
5
|
-
declare function Section(props: Props):
|
|
6
|
-
export
|
|
6
|
+
export declare function Section(props: Props): React.JSX.Element;
|
|
7
|
+
export {};
|
|
@@ -13,5 +13,5 @@ interface Props extends Omit<React.ComponentPropsWithoutRef<"nav">, "className"
|
|
|
13
13
|
}>;
|
|
14
14
|
};
|
|
15
15
|
}
|
|
16
|
-
declare function Sidebar(props: Props):
|
|
17
|
-
export
|
|
16
|
+
export declare function Sidebar(props: Props): React.JSX.Element;
|
|
17
|
+
export {};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import * as React from "react";
|
|
1
2
|
import type { Node } from "../types";
|
|
2
3
|
interface Props extends Node {
|
|
3
4
|
depth: number;
|
|
4
5
|
active: boolean;
|
|
5
6
|
setActive: (f: (active: boolean) => boolean) => void;
|
|
6
7
|
}
|
|
7
|
-
declare function SidebarItem(props: Props):
|
|
8
|
-
export
|
|
8
|
+
export declare function SidebarItem(props: Props): React.JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { Sidebar } from "./Sidebar";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default function Sample(): import("react
|
|
1
|
+
export default function Sample(): import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default function Sample(): import("react
|
|
1
|
+
export default function Sample(): import("react").JSX.Element;
|