timvir 0.2.55 → 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.
Files changed (93) hide show
  1. package/CHANGELOG.md +2 -0
  2. package/blocks/Arbitrary/Arbitrary.d.ts +1 -1
  3. package/blocks/Arbitrary/index.js +14 -14
  4. package/blocks/Arbitrary/samples/basic.d.ts +1 -1
  5. package/blocks/Code/Code.d.ts +1 -1
  6. package/blocks/Code/index.js +6 -6
  7. package/blocks/Code/samples/basic.d.ts +1 -1
  8. package/blocks/Code/samples/toggle.d.ts +2 -1
  9. package/blocks/ColorBar/ColorBar.d.ts +1 -1
  10. package/blocks/ColorBar/index.js +12 -12
  11. package/blocks/ColorBar/samples/basic.d.ts +1 -1
  12. package/blocks/ColorBook/ColorBook.d.ts +1 -1
  13. package/blocks/ColorBook/index.js +10 -10
  14. package/blocks/ColorBook/samples/basic.d.ts +2 -1
  15. package/blocks/Cover/Cover.d.ts +1 -1
  16. package/blocks/Cover/index.js +8 -8
  17. package/blocks/Cover/samples/basic.d.ts +1 -1
  18. package/blocks/Exhibit/Exhibit.d.ts +1 -1
  19. package/blocks/Exhibit/index.js +6 -6
  20. package/blocks/Exhibit/samples/basic.d.ts +1 -1
  21. package/blocks/Exhibit/samples/bleed.d.ts +1 -1
  22. package/blocks/Exhibit/samples/theme.d.ts +1 -1
  23. package/blocks/Font/Font.d.ts +1 -1
  24. package/blocks/Font/index.js +25 -25
  25. package/blocks/Font/samples/basic.d.ts +1 -1
  26. package/blocks/Font/samples/timvir/body1.d.ts +1 -1
  27. package/blocks/Font/samples/timvir/caption.d.ts +1 -1
  28. package/blocks/Font/samples/timvir/h1.d.ts +1 -1
  29. package/blocks/Font/samples/timvir/h2.d.ts +1 -1
  30. package/blocks/Font/samples/timvir/h3.d.ts +1 -1
  31. package/blocks/Font/samples/timvir/h4.d.ts +1 -1
  32. package/blocks/Grid/Grid.d.ts +1 -1
  33. package/blocks/Grid/index.js +3 -3
  34. package/blocks/Grid/samples/basic.d.ts +1 -1
  35. package/blocks/Icon/Icon.d.ts +1 -1
  36. package/blocks/Icon/index.js +30 -30
  37. package/blocks/Icon/internal/Canvas.d.ts +1 -1
  38. package/blocks/Icon/samples/basic.d.ts +1 -1
  39. package/blocks/Message/Message.d.ts +1 -1
  40. package/blocks/Message/index.js +24 -24
  41. package/blocks/Message/samples/basic.d.ts +1 -1
  42. package/blocks/Swatch/Swatch.d.ts +1 -1
  43. package/blocks/Swatch/index.js +11 -11
  44. package/blocks/Swatch/samples/basic.d.ts +1 -1
  45. package/blocks/Viewport/Viewport.d.ts +1 -1
  46. package/blocks/Viewport/index.js +56 -56
  47. package/blocks/Viewport/internal/Caption.d.ts +2 -1
  48. package/blocks/Viewport/internal/Handle.d.ts +1 -1
  49. package/blocks/Viewport/internal/Ruler.d.ts +1 -1
  50. package/blocks/Viewport/samples/basic.d.ts +1 -1
  51. package/blocks/WebLink/WebLink.d.ts +1 -1
  52. package/blocks/WebLink/docs/index.mdx +2 -3
  53. package/blocks/WebLink/index.js +22 -17
  54. package/blocks/WebLink/samples/basic.d.ts +1 -1
  55. package/builtins/index.js +49 -49
  56. package/builtins/styles.css +2 -2
  57. package/core/components/Commands/Commands.d.ts +2 -2
  58. package/core/components/Commands/index.d.ts +1 -1
  59. package/core/components/Commands/internal/Action.d.ts +2 -2
  60. package/core/components/Commands/internal/Dialog.d.ts +3 -2
  61. package/core/components/Commands/internal/index.d.ts +1 -1
  62. package/core/components/Footer/Footer.d.ts +2 -2
  63. package/core/components/Footer/index.d.ts +1 -1
  64. package/core/components/Footer/samples/basic.d.ts +1 -1
  65. package/core/components/NavigationFooter/NavigationFooter.d.ts +2 -2
  66. package/core/components/NavigationFooter/index.d.ts +1 -1
  67. package/core/components/NavigationFooter/samples/basic.d.ts +1 -1
  68. package/core/components/Page/Page.d.ts +2 -2
  69. package/core/components/Page/index.d.ts +1 -1
  70. package/core/components/Page/internal/Section.d.ts +3 -2
  71. package/core/components/Page/internal/Sidebar.d.ts +2 -2
  72. package/core/components/Page/internal/SidebarItem.d.ts +3 -2
  73. package/core/components/Page/internal/index.d.ts +1 -1
  74. package/core/components/Page/samples/basic.d.ts +1 -1
  75. package/core/components/Page/samples/layout.d.ts +1 -1
  76. package/core/index.js +180 -180
  77. package/core/styles.css +2 -2
  78. package/hooks/index.js +3 -1
  79. package/icons/AlertCircle.d.ts +1 -1
  80. package/icons/ChevronLeft.d.ts +1 -1
  81. package/icons/ChevronRight.d.ts +1 -1
  82. package/icons/ChevronsRight.d.ts +1 -1
  83. package/icons/Code.d.ts +1 -1
  84. package/icons/Codepen.d.ts +1 -1
  85. package/icons/Info.d.ts +1 -1
  86. package/icons/Link.d.ts +1 -1
  87. package/icons/Menu.d.ts +1 -1
  88. package/icons/XOctagon.d.ts +1 -1
  89. package/package.json +1 -1
  90. package/search/Search/Search.d.ts +2 -2
  91. package/search/Search/index.d.ts +1 -1
  92. package/search/Search/samples/basic.d.ts +1 -1
  93. package/styles.css +4 -4
package/CHANGELOG.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # timvir
2
2
 
3
+ ## 0.2.56
4
+
3
5
  ## 0.2.55
4
6
 
5
7
  ### Patch Changes
@@ -7,5 +7,5 @@ declare const Root = "div";
7
7
  interface Props extends React.ComponentPropsWithRef<typeof Root> {
8
8
  ExhibitProps?: React.ComponentPropsWithRef<typeof Exhibit>;
9
9
  }
10
- export declare function Arbitrary(props: Props): import("react/jsx-runtime").JSX.Element;
10
+ export declare function Arbitrary(props: Props): React.JSX.Element;
11
11
  export {};
@@ -3,7 +3,7 @@ import * as base58 from 'bytestring/base58';
3
3
  import * as React from 'react';
4
4
  import { Exhibit } from 'timvir/blocks';
5
5
  import { useBlock } from 'timvir/core';
6
- import { jsx, jsxs } from 'react/jsx-runtime';
6
+ import { jsxDEV } from 'react/jsx-dev-runtime';
7
7
 
8
8
  var styleq = {};
9
9
  var hasRequiredStyleq;
@@ -212,11 +212,11 @@ function Arbitrary(props$1) {
212
212
  }
213
213
  }, [props$1.id, block.bus, value.seed]);
214
214
  const rootStyleProps = props(layoutStyles.block, styles.root);
215
- return /*#__PURE__*/jsx(Context, {
215
+ return /*#__PURE__*/jsxDEV(Context, {
216
216
  value: React.useMemo(() => ({
217
217
  seed: value.seed
218
218
  }), [value.seed]),
219
- children: /*#__PURE__*/jsxs(Root, {
219
+ children: /*#__PURE__*/jsxDEV(Root, {
220
220
  "data-timvir-b-arbitrary": true,
221
221
  ...rest,
222
222
  ...rootStyleProps,
@@ -226,14 +226,14 @@ function Arbitrary(props$1) {
226
226
  ...rootStyleProps.style,
227
227
  ...rest.style
228
228
  },
229
- children: [/*#__PURE__*/jsxs("div", {
229
+ children: [/*#__PURE__*/jsxDEV("div", {
230
230
  className: "timvir-s-rvj5dj timvir-s-d3ue5d timvir-s-9flyx0 timvir-s-1e56ztr",
231
- children: [/*#__PURE__*/jsxs("div", {
231
+ children: [/*#__PURE__*/jsxDEV("div", {
232
232
  className: "timvir-s-78zum5 timvir-s-6s0dn4 timvir-s-qtkp2c timvir-s-u0aao5 timvir-s-1n2onr6 timvir-s-1d0dlzq timvir-s-1tcdsnd timvir-s-hkezso timvir-s-1j6awrg timvir-s-1s928wv timvir-s-arstr8 timvir-s-2q1x1w timvir-s-5hscyn timvir-s-86avzo timvir-s-1mbvx0 timvir-s-2l4bqv timvir-s-hqgf4x timvir-s-1o0ppuw",
233
- children: [/*#__PURE__*/jsx("span", {
233
+ children: [/*#__PURE__*/jsxDEV("span", {
234
234
  className: "timvir-s-1rg5ohu timvir-s-vgvpxu timvir-s-15ku74s",
235
235
  children: "Seed:"
236
- }), /*#__PURE__*/jsx("input", {
236
+ }, void 0, false), /*#__PURE__*/jsxDEV("input", {
237
237
  "data-timvir-b-arbitrary-seed": true,
238
238
  className: "timvir-s-c342km timvir-s-1a2a7pz timvir-s-ln7xf2 timvir-s-jbqb8w timvir-s-kh2ocl timvir-s-1717udv timvir-s-h8yej3 timvir-s-1heor9g",
239
239
  placeholder: "Seed",
@@ -249,22 +249,22 @@ function Arbitrary(props$1) {
249
249
  onFocus: ev => {
250
250
  ev.currentTarget.select();
251
251
  }
252
- })]
253
- }), /*#__PURE__*/jsx("button", {
252
+ }, void 0, false)]
253
+ }, void 0, true), /*#__PURE__*/jsxDEV("button", {
254
254
  type: "button",
255
255
  className: "timvir-s-1a2a7pz timvir-s-u0aao5 timvir-s-mkeg23 timvir-s-1y0btm7 timvir-s-j7gikm timvir-s-1cum3z5 timvir-s-1d0dlzq timvir-s-1cdhzux timvir-s-ln7xf2 timvir-s-49kzi4 timvir-s-1dc5b4e timvir-s-13m658e timvir-s-1bx2y69",
256
256
  onClick: refreshSeed,
257
257
  children: "Refresh"
258
- })]
259
- }), /*#__PURE__*/jsx(Exhibit, {
258
+ }, void 0, false)]
259
+ }, void 0, true), /*#__PURE__*/jsxDEV(Exhibit, {
260
260
  ...ExhibitProps,
261
261
  style: {
262
262
  margin: 0
263
263
  },
264
264
  children: children
265
- })]
266
- })
267
- });
265
+ }, void 0, false)]
266
+ }, void 0, true)
267
+ }, void 0, false);
268
268
  }
269
269
  const styles = {
270
270
  root: {
@@ -1,5 +1,5 @@
1
1
  import type * as React from "react";
2
2
  import { Arbitrary } from "..";
3
3
  type Props = Partial<React.ComponentPropsWithoutRef<typeof Arbitrary>>;
4
- export default function Sample(props: Props): import("react/jsx-runtime").JSX.Element;
4
+ export default function Sample(props: Props): React.JSX.Element;
5
5
  export {};
@@ -21,5 +21,5 @@ interface Props extends React.ComponentPropsWithRef<typeof Root> {
21
21
  highlightedLines?: Array<number>;
22
22
  caption?: React.ReactNode;
23
23
  }
24
- export declare function Code(props: Props): import("react/jsx-runtime").JSX.Element;
24
+ export declare function Code(props: Props): React.JSX.Element;
25
25
  export {};
@@ -2,7 +2,7 @@
2
2
  import * as React from 'react';
3
3
  import { codeToHtml } from 'shiki';
4
4
  import { useBlock } from 'timvir/core';
5
- import { jsxs, jsx } from 'react/jsx-runtime';
5
+ import { jsxDEV } from 'react/jsx-dev-runtime';
6
6
 
7
7
  var styleq = {};
8
8
  var hasRequiredStyleq;
@@ -244,7 +244,7 @@ function Code(props$1) {
244
244
  })();
245
245
  }, [children, language, highlightedLines]);
246
246
  const rootStyleProps = props(layoutStyles.block);
247
- return /*#__PURE__*/jsxs(Root, {
247
+ return /*#__PURE__*/jsxDEV(Root, {
248
248
  "data-timvir-b-code": true,
249
249
  ...rest,
250
250
  ...rootStyleProps,
@@ -253,18 +253,18 @@ function Code(props$1) {
253
253
  ...rootStyleProps.style,
254
254
  ...rest.style
255
255
  },
256
- children: [/*#__PURE__*/jsx("div", {
256
+ children: [/*#__PURE__*/jsxDEV("div", {
257
257
  "data-timvir-b-code-container": true,
258
258
  className: "timvir-s-w2csxc timvir-s-6wvzqs timvir-s-sfzzmd timvir-s-1sxf85j timvir-s-i27niw timvir-s-idmeni timvir-s-1717udv timvir-s-1etwjqo timvir-s-mkeg23 timvir-s-1y0btm7 timvir-s-j7gikm timvir-s-1d0dlzq",
259
259
  dangerouslySetInnerHTML: {
260
260
  __html: state.html
261
261
  }
262
- }), caption && /*#__PURE__*/jsx("div", {
262
+ }, void 0, false), caption && /*#__PURE__*/jsxDEV("div", {
263
263
  "data-timvir-b-code-caption": true,
264
264
  className: "timvir-s-1dcheo9 timvir-s-jkpybl timvir-s-vgvpxu timvir-s-lwy1ot",
265
265
  children: caption
266
- })]
267
- });
266
+ }, void 0, false)]
267
+ }, void 0, true);
268
268
  }
269
269
 
270
270
  export { Code };
@@ -1,5 +1,5 @@
1
1
  import type * as React from "react";
2
2
  import { Code } from "..";
3
3
  type Props = Partial<React.ComponentPropsWithoutRef<typeof Code>>;
4
- export default function Sample(props: Props): import("react/jsx-runtime").JSX.Element;
4
+ export default function Sample(props: Props): React.JSX.Element;
5
5
  export {};
@@ -1 +1,2 @@
1
- export default function Sample({ language, children }: any): import("react/jsx-runtime").JSX.Element;
1
+ import type * as React from "react";
2
+ export default function Sample({ language, children }: any): React.JSX.Element;
@@ -14,5 +14,5 @@ interface Props extends React.ComponentPropsWithRef<typeof Root> {
14
14
  ancestry?: string;
15
15
  }>;
16
16
  }
17
- export declare function ColorBar(props: Props): import("react/jsx-runtime").JSX.Element;
17
+ export declare function ColorBar(props: Props): React.JSX.Element;
18
18
  export {};
@@ -2,7 +2,7 @@
2
2
  import * as React from 'react';
3
3
  import { Swatch } from 'timvir/blocks';
4
4
  import { useBlock } from 'timvir/core';
5
- import { jsxs, jsx } from 'react/jsx-runtime';
5
+ import { jsxDEV } from 'react/jsx-dev-runtime';
6
6
 
7
7
  var styleq = {};
8
8
  var hasRequiredStyleq;
@@ -183,7 +183,7 @@ function ColorBar(props$1) {
183
183
  } = block.props;
184
184
  const [selected, setSelected] = React.useState(undefined);
185
185
  const rootStyleProps = props(layoutStyles.block, styles.root);
186
- return /*#__PURE__*/jsxs(Root, {
186
+ return /*#__PURE__*/jsxDEV(Root, {
187
187
  ...rest,
188
188
  ...rootStyleProps,
189
189
  className: cx(rest.className, rootStyleProps.className),
@@ -191,14 +191,14 @@ function ColorBar(props$1) {
191
191
  ...rootStyleProps.style,
192
192
  ...rest.style
193
193
  },
194
- children: [/*#__PURE__*/jsx("div", {
194
+ children: [/*#__PURE__*/jsxDEV("div", {
195
195
  className: "timvir-s-rvj5dj timvir-s-1sdr0u7 timvir-s-dz4c1r",
196
196
  style: {
197
197
  opacity: selected ? 0 : 1
198
198
  },
199
- children: values.map((value, i, self) => /*#__PURE__*/jsx("div", {
199
+ children: values.map((value, i, self) => /*#__PURE__*/jsxDEV("div", {
200
200
  className: "timvir-s-1vqgdyp timvir-s-1iyjqo2 timvir-s-rvj5dj timvir-s-13b6k1y timvir-s-1ypdohk timvir-s-zkaem6 timvir-s-12l46wj timvir-s-inzabm timvir-s-1bxid8z",
201
- children: /*#__PURE__*/jsx("div", {
201
+ children: /*#__PURE__*/jsxDEV("div", {
202
202
  ...{
203
203
  0: {
204
204
  className: "timvir-s-zhuw26 timvir-s-nfsnhl timvir-s-1ehn4u0 timvir-s-32zglm"
@@ -219,11 +219,11 @@ function ColorBar(props$1) {
219
219
  onClick: () => {
220
220
  setSelected(value);
221
221
  }
222
- })
223
- }, i))
224
- }), selected !== undefined && /*#__PURE__*/jsx("div", {
222
+ }, void 0, false)
223
+ }, i, false))
224
+ }, void 0, false), selected !== undefined && /*#__PURE__*/jsxDEV("div", {
225
225
  className: "timvir-s-10l6tqk timvir-s-wa60dl timvir-s-3m8u43 timvir-s-u96u03 timvir-s-1cb1t30 timvir-s-oegz02",
226
- children: /*#__PURE__*/jsx(Swatch, {
226
+ children: /*#__PURE__*/jsxDEV(Swatch, {
227
227
  ...(typeof selected === "string" ? {
228
228
  value: selected
229
229
  } : {
@@ -235,9 +235,9 @@ function ColorBar(props$1) {
235
235
  onMouseLeave: () => {
236
236
  setSelected(undefined);
237
237
  }
238
- })
239
- })]
240
- });
238
+ }, void 0, false)
239
+ }, void 0, false)]
240
+ }, void 0, true);
241
241
  }
242
242
  const styles = {
243
243
  root: {
@@ -1 +1 @@
1
- export default function Sample(): import("react/jsx-runtime").JSX.Element;
1
+ export default function Sample(): import("react").JSX.Element;
@@ -12,5 +12,5 @@ interface Chapter {
12
12
  name?: string;
13
13
  values: Array<string>;
14
14
  }
15
- export declare function ColorBook(props: Props): import("react/jsx-runtime").JSX.Element;
15
+ export declare function ColorBook(props: Props): React.JSX.Element;
16
16
  export {};
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { jsx, jsxs } from 'react/jsx-runtime';
2
+ import { jsxDEV } from 'react/jsx-dev-runtime';
3
3
 
4
4
  var styleq = {};
5
5
  var hasRequiredStyleq;
@@ -168,17 +168,17 @@ function ColorBook(props$1) {
168
168
  onSelectChapter,
169
169
  ...rest
170
170
  } = props$1;
171
- return /*#__PURE__*/jsx(Root, {
171
+ return /*#__PURE__*/jsxDEV(Root, {
172
172
  ...rest,
173
173
  ...props(layoutStyles.block, styles.root),
174
174
  children: chapters.map(({
175
175
  name,
176
176
  values
177
- }, i) => /*#__PURE__*/jsxs("div", {
177
+ }, i) => /*#__PURE__*/jsxDEV("div", {
178
178
  style: {
179
179
  gridColumn: i + 1
180
180
  },
181
- children: [/*#__PURE__*/jsx("div", {
181
+ children: [/*#__PURE__*/jsxDEV("div", {
182
182
  ...{
183
183
  0: {
184
184
  className: "timvir-s-1n2onr6 timvir-s-1ypdohk timvir-s-78zum5 timvir-s-dt5ytf timvir-s-1m3v4wt timvir-s-1hmns74 timvir-s-51xajf timvir-s-1ydowbf timvir-s-e80sof timvir-s-abwq6t timvir-s-b52w3a timvir-s-ktd1bz timvir-s-1cpjm7i timvir-s-k53niv timvir-s-115iamj timvir-s-s2hnm7"
@@ -192,7 +192,7 @@ function ColorBook(props$1) {
192
192
  onSelectChapter(i);
193
193
  }
194
194
  },
195
- children: values.map((value, i) => /*#__PURE__*/jsx("div", {
195
+ children: values.map((value, i) => /*#__PURE__*/jsxDEV("div", {
196
196
  style: {
197
197
  background: value
198
198
  },
@@ -210,8 +210,8 @@ function ColorBook(props$1) {
210
210
  className: "timvir-s-1iyjqo2 timvir-s-1ia1hqs timvir-s-1a2w583 timvir-s-1v8xtx2 timvir-s-uvn51i"
211
211
  }
212
212
  }[!!(i === 0) << 1 | !!(i === values.length - 1) << 0]
213
- }, value))
214
- }), name && /*#__PURE__*/jsx("div", {
213
+ }, value, false))
214
+ }, void 0, false), name && /*#__PURE__*/jsxDEV("div", {
215
215
  ...{
216
216
  0: {
217
217
  className: "timvir-s-2b8uid timvir-s-boafo0 timvir-s-vgvpxu timvir-s-1nmq0fv timvir-s-o5v014"
@@ -221,9 +221,9 @@ function ColorBook(props$1) {
221
221
  }
222
222
  }[!!(i === selectedChapter) << 0],
223
223
  children: name
224
- })]
225
- }, i))
226
- });
224
+ }, void 0, false)]
225
+ }, i, true))
226
+ }, void 0, false);
227
227
  }
228
228
  const styles = {
229
229
  root: {
@@ -1 +1,2 @@
1
- export default function Sample(): import("react/jsx-runtime").JSX.Element;
1
+ import * as React from "react";
2
+ export default function Sample(): React.JSX.Element;
@@ -16,5 +16,5 @@ interface Props extends React.ComponentPropsWithRef<typeof Root> {
16
16
  type: string;
17
17
  }>;
18
18
  }
19
- export declare function Cover(props: Props): import("react/jsx-runtime").JSX.Element;
19
+ export declare function Cover(props: Props): React.JSX.Element;
20
20
  export {};
@@ -1,4 +1,4 @@
1
- import { jsx, jsxs } from 'react/jsx-runtime';
1
+ import { jsxDEV } from 'react/jsx-dev-runtime';
2
2
 
3
3
  var styleq = {};
4
4
  var hasRequiredStyleq;
@@ -184,21 +184,21 @@ function Cover(props$1) {
184
184
  ...rest
185
185
  } = props$1;
186
186
  const rootStyleProps = props(layoutStyles.block, layoutStyles.fullWidth);
187
- return /*#__PURE__*/jsx(Root, {
187
+ return /*#__PURE__*/jsxDEV(Root, {
188
188
  ...rest,
189
189
  ...rootStyleProps,
190
190
  className: cx(rest.className, rootStyleProps.className),
191
- children: /*#__PURE__*/jsxs("picture", {
192
- children: [sources.map((p, i) => /*#__PURE__*/jsx("source", {
191
+ children: /*#__PURE__*/jsxDEV("picture", {
192
+ children: [sources.map((p, i) => /*#__PURE__*/jsxDEV("source", {
193
193
  ...p
194
- }, i)), /*#__PURE__*/jsx("img", {
194
+ }, i, false)), /*#__PURE__*/jsxDEV("img", {
195
195
  ...metadata,
196
196
  ...img1,
197
197
  alt: "",
198
198
  className: "timvir-s-1lliihq timvir-s-193iq5w timvir-s-5i6pxz timvir-s-l1xv1r"
199
- })]
200
- })
201
- });
199
+ }, void 0, false)]
200
+ }, void 0, true)
201
+ }, void 0, false);
202
202
  }
203
203
 
204
204
  export { Cover };
@@ -1 +1 @@
1
- export default function Sample(): import("react/jsx-runtime").JSX.Element;
1
+ export default function Sample(): import("react").JSX.Element;
@@ -19,5 +19,5 @@ interface Props extends React.ComponentProps<typeof Root> {
19
19
  */
20
20
  theme?: "system" | "light" | "dark";
21
21
  }
22
- export declare function Exhibit(props: Props): import("react/jsx-runtime").JSX.Element;
22
+ export declare function Exhibit(props: Props): React.JSX.Element;
23
23
  export {};
@@ -1,6 +1,6 @@
1
1
  'use client';
2
2
  import { useContext, useBlock } from 'timvir/core';
3
- import { jsxs, jsx } from 'react/jsx-runtime';
3
+ import { jsxDEV } from 'react/jsx-dev-runtime';
4
4
 
5
5
  var styleq = {};
6
6
  var hasRequiredStyleq;
@@ -193,7 +193,7 @@ function Exhibit(props$1) {
193
193
  } = block.props;
194
194
  const rootStyleProps = props(layoutStyles.block, styles.root);
195
195
  const containerStyleProps = props(styles.container, bleed === 0 && styles.bleedZero, styles[`${theme}Theme`]);
196
- return /*#__PURE__*/jsxs(Root, {
196
+ return /*#__PURE__*/jsxDEV(Root, {
197
197
  "data-timvir-b-exhibit": true,
198
198
  ...rest,
199
199
  ...rootStyleProps,
@@ -205,7 +205,7 @@ function Exhibit(props$1) {
205
205
  [cssVariables.borderColor]: "var(--timvir-border-color)",
206
206
  [cssVariables.background]: "var(--timvir-background-pattern)"
207
207
  },
208
- children: [/*#__PURE__*/jsx("div", {
208
+ children: [/*#__PURE__*/jsxDEV("div", {
209
209
  "data-timvir-b-exhibit-container": true,
210
210
  ...BackdropProps,
211
211
  ...containerStyleProps,
@@ -216,12 +216,12 @@ function Exhibit(props$1) {
216
216
  ...BackdropProps?.style
217
217
  },
218
218
  children: children
219
- }), caption && /*#__PURE__*/jsx("div", {
219
+ }, void 0, false), caption && /*#__PURE__*/jsxDEV("div", {
220
220
  "data-timvir-b-exhibit-caption": true,
221
221
  className: "timvir-s-1dcheo9 timvir-s-jkpybl timvir-s-vgvpxu timvir-s-lwy1ot",
222
222
  children: caption
223
- })]
224
- });
223
+ }, void 0, false)]
224
+ }, void 0, true);
225
225
  }
226
226
  const cssVariables = {
227
227
  bleed: "--timvir-b-Exhibit-bleed",
@@ -1,4 +1,4 @@
1
1
  import { Exhibit } from "..";
2
2
  type Props = Partial<React.ComponentPropsWithoutRef<typeof Exhibit>>;
3
- export default function Sample(props: Props): import("react/jsx-runtime").JSX.Element;
3
+ export default function Sample(props: Props): import("react").JSX.Element;
4
4
  export {};
@@ -1,5 +1,5 @@
1
1
  import type * as React from "react";
2
2
  import { Exhibit } from "..";
3
3
  type Props = Partial<React.ComponentPropsWithoutRef<typeof Exhibit>>;
4
- export default function Sample(props: Props): import("react/jsx-runtime").JSX.Element;
4
+ export default function Sample(props: Props): React.JSX.Element;
5
5
  export {};
@@ -1,4 +1,4 @@
1
1
  import { Exhibit } from "..";
2
2
  type Props = Partial<React.ComponentPropsWithoutRef<typeof Exhibit>>;
3
- export default function Sample(props: Props): import("react/jsx-runtime").JSX.Element;
3
+ export default function Sample(props: Props): import("react").JSX.Element;
4
4
  export {};
@@ -11,5 +11,5 @@ interface Props extends React.ComponentPropsWithRef<typeof Root> {
11
11
  };
12
12
  info?: React.ReactNode;
13
13
  }
14
- export declare function Font(props: Props): import("react/jsx-runtime").JSX.Element;
14
+ export declare function Font(props: Props): React.JSX.Element;
15
15
  export {};
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
  import * as React from 'react';
3
3
  import { useArticleComponents } from 'timvir/core';
4
- import { jsxs, jsx } from 'react/jsx-runtime';
4
+ import { jsxDEV } from 'react/jsx-dev-runtime';
5
5
 
6
6
  var styleq = {};
7
7
  var hasRequiredStyleq;
@@ -162,7 +162,7 @@ const layoutStyles = {
162
162
  $$css: true
163
163
  }};
164
164
 
165
- const SvgInfo = props => /*#__PURE__*/jsxs("svg", {
165
+ const SvgInfo = props => /*#__PURE__*/jsxDEV("svg", {
166
166
  xmlns: "http://www.w3.org/2000/svg",
167
167
  width: 24,
168
168
  height: 24,
@@ -173,14 +173,14 @@ const SvgInfo = props => /*#__PURE__*/jsxs("svg", {
173
173
  strokeWidth: 2,
174
174
  viewBox: "0 0 24 24",
175
175
  ...props,
176
- children: [/*#__PURE__*/jsx("circle", {
176
+ children: [/*#__PURE__*/jsxDEV("circle", {
177
177
  cx: 12,
178
178
  cy: 12,
179
179
  r: 10
180
- }), /*#__PURE__*/jsx("path", {
180
+ }, void 0, false), /*#__PURE__*/jsxDEV("path", {
181
181
  d: "M12 16v-4M12 8h.01"
182
- })]
183
- });
182
+ }, void 0, false)]
183
+ }, void 0, true);
184
184
 
185
185
  function cx(...args) {
186
186
  let str = "";
@@ -228,7 +228,7 @@ function Font(props$1) {
228
228
  const fontStyleProps = {
229
229
  className: "timvir-s-1a2a7pz timvir-s-1hx0egp timvir-s-126k92a timvir-s-1mzt3pk"
230
230
  };
231
- return /*#__PURE__*/jsxs(Root, {
231
+ return /*#__PURE__*/jsxDEV(Root, {
232
232
  ...rest,
233
233
  ...rootStyleProps,
234
234
  className: cx(rest.className, rootStyleProps.className),
@@ -236,15 +236,15 @@ function Font(props$1) {
236
236
  ...rootStyleProps.style,
237
237
  ...rest.style
238
238
  },
239
- children: [/*#__PURE__*/jsxs("div", {
239
+ children: [/*#__PURE__*/jsxDEV("div", {
240
240
  className: "timvir-s-78zum5 timvir-s-1pha0wt timvir-s-1nrrp6k timvir-s-117nqv4 timvir-s-1bsk9n",
241
- children: [/*#__PURE__*/jsx(components.h3, {
241
+ children: [/*#__PURE__*/jsxDEV(components.h3, {
242
242
  className: "timvir-s-a519c1",
243
- children: /*#__PURE__*/jsx("span", {
243
+ children: /*#__PURE__*/jsxDEV("span", {
244
244
  ref: setFontSizeRef,
245
245
  children: name
246
- })
247
- }), info && /*#__PURE__*/jsx("div", {
246
+ }, void 0, false)
247
+ }, void 0, false), info && /*#__PURE__*/jsxDEV("div", {
248
248
  className: "timvir-s-1ypdohk timvir-s-gmrl4 timvir-s-1o7uuvo",
249
249
  onClick: () => {
250
250
  if (infoRef && contentRef) {
@@ -261,32 +261,32 @@ function Font(props$1) {
261
261
  }
262
262
  }
263
263
  },
264
- children: /*#__PURE__*/jsx(SvgInfo, {
264
+ children: /*#__PURE__*/jsxDEV(SvgInfo, {
265
265
  width: "1.1em",
266
266
  height: "1.1em",
267
267
  className: "timvir-s-1n2onr6 timvir-s-s7f9wi"
268
- })
269
- })]
270
- }), /*#__PURE__*/jsxs("div", {
268
+ }, void 0, false)
269
+ }, void 0, false)]
270
+ }, void 0, true), /*#__PURE__*/jsxDEV("div", {
271
271
  className: "timvir-s-78zum5 timvir-s-dt5ytf",
272
- children: [info && /*#__PURE__*/jsx("div", {
272
+ children: [info && /*#__PURE__*/jsxDEV("div", {
273
273
  className: "timvir-s-b3r6kr timvir-s-104cjix",
274
274
  style: {
275
275
  height: 0,
276
276
  opacity: 0
277
277
  },
278
- children: /*#__PURE__*/jsx("div", {
278
+ children: /*#__PURE__*/jsxDEV("div", {
279
279
  ref: setInfoRef,
280
280
  className: "timvir-s-1k5rvim",
281
281
  children: info
282
- })
283
- }), /*#__PURE__*/jsx("div", {
282
+ }, void 0, false)
283
+ }, void 0, false), /*#__PURE__*/jsxDEV("div", {
284
284
  className: "timvir-s-b3r6kr timvir-s-104cjix",
285
285
  style: {
286
286
  height: "auto",
287
287
  opacity: 1
288
288
  },
289
- children: /*#__PURE__*/jsx("div", {
289
+ children: /*#__PURE__*/jsxDEV("div", {
290
290
  ref: setContentRef,
291
291
  contentEditable: true,
292
292
  spellCheck: "false",
@@ -297,10 +297,10 @@ function Font(props$1) {
297
297
  ...font.style
298
298
  },
299
299
  children: children || "The quick brown fox jumps over the lazy dog"
300
- })
301
- })]
302
- })]
303
- });
300
+ }, void 0, false)
301
+ }, void 0, false)]
302
+ }, void 0, true)]
303
+ }, void 0, true);
304
304
  }
305
305
 
306
306
  export { Font };
@@ -1,5 +1,5 @@
1
1
  import type * as React from "react";
2
2
  import { Font } from "..";
3
3
  type Props = Partial<React.ComponentPropsWithoutRef<typeof Font>>;
4
- export default function Sample(props: Props): import("react/jsx-runtime").JSX.Element;
4
+ export default function Sample(props: Props): React.JSX.Element;
5
5
  export {};
@@ -1,5 +1,5 @@
1
1
  import type * as React from "react";
2
2
  import { Font } from "../..";
3
3
  type Props = Partial<React.ComponentPropsWithoutRef<typeof Font>>;
4
- export default function Sample(props: Props): import("react/jsx-runtime").JSX.Element;
4
+ export default function Sample(props: Props): React.JSX.Element;
5
5
  export {};
@@ -1,5 +1,5 @@
1
1
  import type * as React from "react";
2
2
  import { Font } from "../..";
3
3
  type Props = Partial<React.ComponentPropsWithoutRef<typeof Font>>;
4
- export default function Sample(props: Props): import("react/jsx-runtime").JSX.Element;
4
+ export default function Sample(props: Props): React.JSX.Element;
5
5
  export {};
@@ -1,5 +1,5 @@
1
1
  import type * as React from "react";
2
2
  import { Font } from "../..";
3
3
  type Props = Partial<React.ComponentPropsWithoutRef<typeof Font>>;
4
- export default function Sample(props: Props): import("react/jsx-runtime").JSX.Element;
4
+ export default function Sample(props: Props): React.JSX.Element;
5
5
  export {};
@@ -1,5 +1,5 @@
1
1
  import type * as React from "react";
2
2
  import { Font } from "../..";
3
3
  type Props = Partial<React.ComponentPropsWithoutRef<typeof Font>>;
4
- export default function Sample(props: Props): import("react/jsx-runtime").JSX.Element;
4
+ export default function Sample(props: Props): React.JSX.Element;
5
5
  export {};
@@ -1,5 +1,5 @@
1
1
  import type * as React from "react";
2
2
  import { Font } from "../..";
3
3
  type Props = Partial<React.ComponentPropsWithoutRef<typeof Font>>;
4
- export default function Sample(props: Props): import("react/jsx-runtime").JSX.Element;
4
+ export default function Sample(props: Props): React.JSX.Element;
5
5
  export {};
@@ -1,5 +1,5 @@
1
1
  import type * as React from "react";
2
2
  import { Font } from "../..";
3
3
  type Props = Partial<React.ComponentPropsWithoutRef<typeof Font>>;
4
- export default function Sample(props: Props): import("react/jsx-runtime").JSX.Element;
4
+ export default function Sample(props: Props): React.JSX.Element;
5
5
  export {};
@@ -5,5 +5,5 @@ import * as React from "react";
5
5
  declare const Root = "div";
6
6
  interface Props extends React.ComponentProps<typeof Root> {
7
7
  }
8
- export declare function Grid(props: Props): import("react/jsx-runtime").JSX.Element;
8
+ export declare function Grid(props: Props): React.JSX.Element;
9
9
  export {};