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/core/index.js CHANGED
@@ -4,57 +4,11 @@ import * as builtins from 'timvir/builtins';
4
4
  import { useContext, Provider } from 'timvir/context';
5
5
  export { useContext } from 'timvir/context';
6
6
  import { pipe, subscribe, filter } from 'wonka';
7
- import { jsxs, jsx } from 'react/jsx-runtime';
7
+ import { jsxDEV } from 'react/jsx-dev-runtime';
8
8
  import { makeBus } from 'timvir/bus';
9
9
  import * as ReactDOM from 'react-dom';
10
10
  import { defaultSearch } from 'timvir/search';
11
11
 
12
- const Root$3 = "footer";
13
- function Footer(props) {
14
- const {
15
- links,
16
- ...rest
17
- } = props;
18
- return /*#__PURE__*/jsxs(Root$3, {
19
- ...rest,
20
- className: "timvir-s-v0thzw timvir-s-rvj5dj timvir-s-kcw01v timvir-s-qr9vqb",
21
- children: [links && /*#__PURE__*/jsx("div", {
22
- className: "timvir-s-rvj5dj timvir-s-1hz7z82 timvir-s-1f9b50e timvir-s-3xbxsf timvir-s-1u7e2r6 timvir-s-1i3za4p timvir-s-1s3i72i timvir-s-5diife",
23
- children: /*#__PURE__*/jsx("div", {
24
- className: "timvir-s-htle6 timvir-s-euugli timvir-s-rvj5dj timvir-s-k629hk timvir-s-1rzw5jd",
25
- children: links.map(({
26
- group,
27
- items
28
- }, i) => /*#__PURE__*/jsxs("div", {
29
- children: [/*#__PURE__*/jsx("div", {
30
- className: "timvir-s-1s688f timvir-s-od5an3",
31
- children: group
32
- }), /*#__PURE__*/jsx("div", {
33
- children: items.map(({
34
- label,
35
- href
36
- }, j) => /*#__PURE__*/jsx("a", {
37
- href: href,
38
- className: "timvir-s-1lliihq timvir-s-1heor9g timvir-s-1hl2dhg timvir-s-gmrl4",
39
- children: label
40
- }, j))
41
- })]
42
- }, i))
43
- })
44
- }), /*#__PURE__*/jsx("div", {
45
- className: "timvir-s-rvj5dj timvir-s-1hz7z82 timvir-s-1f9b50e timvir-s-3xbxsf timvir-s-1u7e2r6 timvir-s-1i3za4p timvir-s-1s3i72i timvir-s-5diife timvir-s-vgvpxu",
46
- children: /*#__PURE__*/jsxs("div", {
47
- className: "timvir-s-htle6 timvir-s-euugli",
48
- children: ["Built with", " ", /*#__PURE__*/jsx("a", {
49
- href: "https://timvir.dev",
50
- className: "timvir-s-1heor9g timvir-s-1hl2dhg timvir-s-11p4203 timvir-s-1j43nte timvir-s-odwsf6 timvir-s-1w3jsh0 timvir-s-lan1bs",
51
- children: "Timvir"
52
- })]
53
- })
54
- })]
55
- });
56
- }
57
-
58
12
  var styleq = {};
59
13
  var hasRequiredStyleq;
60
14
  function requireStyleq() {
@@ -206,6 +160,52 @@ function props(...styles) {
206
160
  return result;
207
161
  }
208
162
 
163
+ const Root$3 = "footer";
164
+ function Footer(props) {
165
+ const {
166
+ links,
167
+ ...rest
168
+ } = props;
169
+ return /*#__PURE__*/jsxDEV(Root$3, {
170
+ ...rest,
171
+ className: "timvir-s-v0thzw timvir-s-rvj5dj timvir-s-kcw01v timvir-s-qr9vqb",
172
+ children: [links && /*#__PURE__*/jsxDEV("div", {
173
+ className: "timvir-s-rvj5dj timvir-s-1hz7z82 timvir-s-1f9b50e timvir-s-3xbxsf timvir-s-1u7e2r6 timvir-s-1i3za4p timvir-s-1s3i72i timvir-s-5diife",
174
+ children: /*#__PURE__*/jsxDEV("div", {
175
+ className: "timvir-s-htle6 timvir-s-euugli timvir-s-rvj5dj timvir-s-k629hk timvir-s-1rzw5jd",
176
+ children: links.map(({
177
+ group,
178
+ items
179
+ }, i) => /*#__PURE__*/jsxDEV("div", {
180
+ children: [/*#__PURE__*/jsxDEV("div", {
181
+ className: "timvir-s-1s688f timvir-s-od5an3",
182
+ children: group
183
+ }, void 0, false), /*#__PURE__*/jsxDEV("div", {
184
+ children: items.map(({
185
+ label,
186
+ href
187
+ }, j) => /*#__PURE__*/jsxDEV("a", {
188
+ href: href,
189
+ className: "timvir-s-1lliihq timvir-s-1heor9g timvir-s-1hl2dhg timvir-s-gmrl4",
190
+ children: label
191
+ }, j, false))
192
+ }, void 0, false)]
193
+ }, i, true))
194
+ }, void 0, false)
195
+ }, void 0, false), /*#__PURE__*/jsxDEV("div", {
196
+ className: "timvir-s-rvj5dj timvir-s-1hz7z82 timvir-s-1f9b50e timvir-s-3xbxsf timvir-s-1u7e2r6 timvir-s-1i3za4p timvir-s-1s3i72i timvir-s-5diife timvir-s-vgvpxu",
197
+ children: /*#__PURE__*/jsxDEV("div", {
198
+ className: "timvir-s-htle6 timvir-s-euugli",
199
+ children: ["Built with", " ", /*#__PURE__*/jsxDEV("a", {
200
+ href: "https://timvir.dev",
201
+ className: "timvir-s-1heor9g timvir-s-1hl2dhg timvir-s-11p4203 timvir-s-1j43nte timvir-s-odwsf6 timvir-s-1w3jsh0 timvir-s-lan1bs",
202
+ children: "Timvir"
203
+ }, void 0, false)]
204
+ }, void 0, true)
205
+ }, void 0, false)]
206
+ }, void 0, true);
207
+ }
208
+
209
209
  const layoutStyles = {
210
210
  grid: {
211
211
  k1xSpc: "timvir-s-rvj5dj",
@@ -244,12 +244,12 @@ function Action(props) {
244
244
  label,
245
245
  ...rest
246
246
  } = props;
247
- return /*#__PURE__*/jsxs(Root$2, {
247
+ return /*#__PURE__*/jsxDEV(Root$2, {
248
248
  ...rest,
249
249
  className: "timvir-s-jbqb8w timvir-s-vc674v timvir-s-uxw1ft timvir-s-78zum5 timvir-s-6s0dn4 timvir-s-17zmd2n timvir-s-wvwv9b timvir-s-1q0g3np timvir-s-1iyjqo2 timvir-s-s83m0k timvir-s-dl72j9 timvir-s-b3r6kr timvir-s-qin4a2 timvir-s-cym7qx timvir-s-t0e3qv timvir-s-1d6mti2",
250
- children: [/*#__PURE__*/jsx("div", {
250
+ children: [/*#__PURE__*/jsxDEV("div", {
251
251
  className: "timvir-s-1wsuqlk timvir-s-1kky2od",
252
- children: /*#__PURE__*/jsxs("svg", {
252
+ children: /*#__PURE__*/jsxDEV("svg", {
253
253
  className: "timvir-s-1lliihq timvir-s-1kky2od timvir-s-lup9mm",
254
254
  viewBox: "0 0 24 24",
255
255
  fill: "none",
@@ -257,20 +257,20 @@ function Action(props) {
257
257
  strokeWidth: "2",
258
258
  strokeLinecap: "round",
259
259
  strokeLinejoin: "round",
260
- children: [/*#__PURE__*/jsx("line", {
260
+ children: [/*#__PURE__*/jsxDEV("line", {
261
261
  x1: "5",
262
262
  y1: "12",
263
263
  x2: "19",
264
264
  y2: "12"
265
- }), /*#__PURE__*/jsx("polyline", {
265
+ }, void 0, false), /*#__PURE__*/jsxDEV("polyline", {
266
266
  points: "12 5 19 12 12 19"
267
- })]
268
- })
269
- }), /*#__PURE__*/jsx("div", {
267
+ }, void 0, false)]
268
+ }, void 0, true)
269
+ }, void 0, false), /*#__PURE__*/jsxDEV("div", {
270
270
  className: "timvir-s-1dcheo9 timvir-s-d85mq3",
271
271
  children: label
272
- })]
273
- });
272
+ }, void 0, false)]
273
+ }, void 0, true);
274
274
  }
275
275
 
276
276
  function Dialog(props) {
@@ -324,19 +324,19 @@ function Dialog(props) {
324
324
  }));
325
325
  })();
326
326
  }, [toc, state.query]);
327
- return /*#__PURE__*/jsxs("dialog", {
327
+ return /*#__PURE__*/jsxDEV("dialog", {
328
328
  className: "timvir-s-1n2onr6 timvir-s-78zum5 timvir-s-dt5ytf timvir-s-s83m0k timvir-s-1iyjqo2 timvir-s-13qp9f6 timvir-s-1so62im timvir-s-1jpgh95 timvir-s-1c4omy1 timvir-s-ur7f20 timvir-s-17isqgs timvir-s-11gisft timvir-s-vc674v timvir-s-b3r6kr timvir-s-hkombj timvir-s-1717udv timvir-s-c342km timvir-s-19bbpc0",
329
329
  style: state.style,
330
330
  ...rest,
331
- children: [/*#__PURE__*/jsx("div", {
331
+ children: [/*#__PURE__*/jsxDEV("div", {
332
332
  className: "timvir-s-13g9wyj timvir-s-lrawln timvir-s-101yacv timvir-s-1xq1gxn timvir-s-sfzzmd timvir-s-2lah0s timvir-s-qcrz7y timvir-s-1bzjle timvir-s-1ivwqqu timvir-s-12oqio5 timvir-s-d0payo timvir-s-uxw1ft timvir-s-b3r6kr timvir-s-lyipyv",
333
333
  children: "Context"
334
- }), /*#__PURE__*/jsx("div", {
334
+ }, void 0, false), /*#__PURE__*/jsxDEV("div", {
335
335
  className: "timvir-s-1wvxhgs timvir-s-rvj5dj timvir-s-1y6fwsi timvir-s-6s0dn4 timvir-s-1n2onr6 timvir-s-2lah0s timvir-s-1x0gksc",
336
- children: /*#__PURE__*/jsx("input", {
336
+ children: /*#__PURE__*/jsxDEV("input", {
337
337
  className: "timvir-s-1qhigcl timvir-s-18p8pu3 timvir-s-1ghz6dp timvir-s-c342km timvir-s-jyslct timvir-s-1qlqyl8 timvir-s-1x0gksc timvir-s-jbqb8w timvir-s-vc674v timvir-s-1tyz1jm timvir-s-1a2a7pz timvir-s-h8yej3",
338
338
  autoFocus: true,
339
- placeholder: "Type a command or search\u2026",
339
+ placeholder: "Type a command or search",
340
340
  value: state.query,
341
341
  onChange: ev => {
342
342
  const query = ev.currentTarget.value;
@@ -345,25 +345,25 @@ function Dialog(props) {
345
345
  query
346
346
  }));
347
347
  }
348
- })
349
- }), /*#__PURE__*/jsxs("div", {
350
- children: [/*#__PURE__*/jsx("div", {
348
+ }, void 0, false)
349
+ }, void 0, false), /*#__PURE__*/jsxDEV("div", {
350
+ children: [/*#__PURE__*/jsxDEV("div", {
351
351
  className: "timvir-s-1yy59j4 timvir-s-xk0z11 timvir-s-qin4a2 timvir-s-boafo0 timvir-s-1flf930",
352
352
  children: "Pages"
353
- }), /*#__PURE__*/jsx("div", {
353
+ }, void 0, false), /*#__PURE__*/jsxDEV("div", {
354
354
  className: "timvir-s-1vd4hg5 timvir-s-ysyzu8",
355
355
  children: state.commands.map(({
356
356
  node
357
- }, index) => /*#__PURE__*/jsx(Action, {
357
+ }, index) => /*#__PURE__*/jsxDEV(Action, {
358
358
  label: node.label,
359
359
  onClick: () => {
360
360
  onClose?.();
361
361
  window.location.href = node.path;
362
362
  }
363
- }, index))
364
- })]
365
- })]
366
- });
363
+ }, index, false))
364
+ }, void 0, false)]
365
+ }, void 0, true)]
366
+ }, void 0, true);
367
367
  }
368
368
 
369
369
  function Commands(props) {
@@ -380,18 +380,18 @@ function Commands(props) {
380
380
  if (!state.dialog) {
381
381
  const containerElement = document.createElement("div");
382
382
  document.body.appendChild(containerElement);
383
- const reactPortal = /*#__PURE__*/ReactDOM.createPortal(/*#__PURE__*/jsx("div", {
383
+ const reactPortal = /*#__PURE__*/ReactDOM.createPortal(/*#__PURE__*/jsxDEV("div", {
384
384
  className: "timvir-s-ixxii4 timvir-s-10a8y8t timvir-s-78zum5 timvir-s-oz0ns6 timvir-s-1cy8zhl timvir-s-l56j7k timvir-s-1tv4xqk timvir-s-1p7i66b timvir-s-dvd4st timvir-s-1746jcd timvir-s-1j61zf2 timvir-s-1wqqpke",
385
385
  onClick: ev => {
386
386
  if (ev.target === ev.currentTarget) {
387
387
  _onClose();
388
388
  }
389
389
  },
390
- children: /*#__PURE__*/jsx(Dialog, {
390
+ children: /*#__PURE__*/jsxDEV(Dialog, {
391
391
  open: true,
392
392
  onClose: _onClose
393
- })
394
- }), containerElement);
393
+ }, void 0, false)
394
+ }, void 0, false), containerElement);
395
395
  return {
396
396
  containerElement,
397
397
  reactPortal
@@ -399,18 +399,18 @@ function Commands(props) {
399
399
  } else {
400
400
  return {
401
401
  containerElement: state.dialog.containerElement,
402
- reactPortal: /*#__PURE__*/ReactDOM.createPortal(/*#__PURE__*/jsx("div", {
402
+ reactPortal: /*#__PURE__*/ReactDOM.createPortal(/*#__PURE__*/jsxDEV("div", {
403
403
  className: "timvir-s-ixxii4 timvir-s-10a8y8t timvir-s-78zum5 timvir-s-oz0ns6 timvir-s-1cy8zhl timvir-s-l56j7k timvir-s-1tv4xqk timvir-s-1p7i66b timvir-s-dvd4st timvir-s-1746jcd timvir-s-1j61zf2 timvir-s-1wqqpke",
404
404
  onClick: ev => {
405
405
  if (ev.target === ev.currentTarget) {
406
406
  _onClose();
407
407
  }
408
408
  },
409
- children: /*#__PURE__*/jsx(Dialog, {
409
+ children: /*#__PURE__*/jsxDEV(Dialog, {
410
410
  open: true,
411
411
  onClose: _onClose
412
- })
413
- }), state.dialog.containerElement)
412
+ }, void 0, false)
413
+ }, void 0, false), state.dialog.containerElement)
414
414
  };
415
415
  }
416
416
  })()
@@ -422,9 +422,9 @@ function Commands(props) {
422
422
  if (state.dialog) {
423
423
  return {
424
424
  containerElement: state.dialog.containerElement,
425
- reactPortal: /*#__PURE__*/ReactDOM.createPortal(/*#__PURE__*/jsx("div", {
425
+ reactPortal: /*#__PURE__*/ReactDOM.createPortal(/*#__PURE__*/jsxDEV("div", {
426
426
  className: "timvir-s-ixxii4 timvir-s-10a8y8t timvir-s-78zum5 timvir-s-oz0ns6 timvir-s-1cy8zhl timvir-s-l56j7k timvir-s-1tv4xqk timvir-s-1p7i66b timvir-s-dvd4st timvir-s-1746jcd timvir-s-1j61zf2 timvir-s-1wqqpke",
427
- children: /*#__PURE__*/jsx(Dialog, {
427
+ children: /*#__PURE__*/jsxDEV(Dialog, {
428
428
  onDispose: () => {
429
429
  setState({
430
430
  dialog: (() => {
@@ -437,8 +437,8 @@ function Commands(props) {
437
437
  })()
438
438
  });
439
439
  }
440
- })
441
- }), state.dialog.containerElement)
440
+ }, void 0, false)
441
+ }, void 0, false), state.dialog.containerElement)
442
442
  };
443
443
  } else {
444
444
  return state.dialog;
@@ -460,7 +460,7 @@ function Commands(props) {
460
460
  return state.dialog?.reactPortal ?? null;
461
461
  }
462
462
 
463
- const SvgChevronLeft = props => /*#__PURE__*/jsx("svg", {
463
+ const SvgChevronLeft = props => /*#__PURE__*/jsxDEV("svg", {
464
464
  xmlns: "http://www.w3.org/2000/svg",
465
465
  width: 24,
466
466
  height: 24,
@@ -471,12 +471,12 @@ const SvgChevronLeft = props => /*#__PURE__*/jsx("svg", {
471
471
  strokeWidth: 2,
472
472
  viewBox: "0 0 24 24",
473
473
  ...props,
474
- children: /*#__PURE__*/jsx("path", {
474
+ children: /*#__PURE__*/jsxDEV("path", {
475
475
  d: "m15 18-6-6 6-6"
476
- })
477
- });
476
+ }, void 0, false)
477
+ }, void 0, false);
478
478
 
479
- const SvgChevronRight = props => /*#__PURE__*/jsx("svg", {
479
+ const SvgChevronRight = props => /*#__PURE__*/jsxDEV("svg", {
480
480
  xmlns: "http://www.w3.org/2000/svg",
481
481
  width: 24,
482
482
  height: 24,
@@ -487,12 +487,12 @@ const SvgChevronRight = props => /*#__PURE__*/jsx("svg", {
487
487
  strokeWidth: 2,
488
488
  viewBox: "0 0 24 24",
489
489
  ...props,
490
- children: /*#__PURE__*/jsx("path", {
490
+ children: /*#__PURE__*/jsxDEV("path", {
491
491
  d: "m9 18 6-6-6-6"
492
- })
493
- });
492
+ }, void 0, false)
493
+ }, void 0, false);
494
494
 
495
- const SvgMenu = props => /*#__PURE__*/jsx("svg", {
495
+ const SvgMenu = props => /*#__PURE__*/jsxDEV("svg", {
496
496
  xmlns: "http://www.w3.org/2000/svg",
497
497
  width: 24,
498
498
  height: 24,
@@ -503,10 +503,10 @@ const SvgMenu = props => /*#__PURE__*/jsx("svg", {
503
503
  strokeWidth: 2,
504
504
  viewBox: "0 0 24 24",
505
505
  ...props,
506
- children: /*#__PURE__*/jsx("path", {
506
+ children: /*#__PURE__*/jsxDEV("path", {
507
507
  d: "M3 12h18M3 6h18M3 18h18"
508
- })
509
- });
508
+ }, void 0, false)
509
+ }, void 0, false);
510
510
 
511
511
  const Root$1 = "div";
512
512
  function NavigationFooter(props) {
@@ -516,38 +516,38 @@ function NavigationFooter(props) {
516
516
  next,
517
517
  ...rest
518
518
  } = props;
519
- return /*#__PURE__*/jsx(Root$1, {
519
+ return /*#__PURE__*/jsxDEV(Root$1, {
520
520
  ...rest,
521
521
  className: "timvir-s-1dvi5bl timvir-s-rvj5dj timvir-s-3xbxsf timvir-s-1u7e2r6 timvir-s-1s3i72i timvir-s-5diife",
522
- children: /*#__PURE__*/jsxs("div", {
522
+ children: /*#__PURE__*/jsxDEV("div", {
523
523
  className: "timvir-s-htle6 timvir-s-78zum5 timvir-s-3ieub6 timvir-s-8fetqu timvir-s-kpwil5 timvir-s-1evy7pa timvir-s-1k046mz",
524
- children: [prev && /*#__PURE__*/jsxs(Link, {
524
+ children: [prev && /*#__PURE__*/jsxDEV(Link, {
525
525
  href: prev.href,
526
526
  className: "timvir-s-h8yej3 timvir-s-78zum5 timvir-s-1jnr06f timvir-s-ur7f20 timvir-s-mkeg23 timvir-s-1y0btm7 timvir-s-j7gikm timvir-s-1tamke2 timvir-s-1heor9g timvir-s-1hl2dhg timvir-s-euugli timvir-s-1gtqa1q timvir-s-dt5ytf timvir-s-1cy8zhl timvir-s-13a6bvl timvir-s-dpxx8g",
527
- children: [/*#__PURE__*/jsxs("div", {
528
- className: "timvir-s-vgvpxu timvir-s-78zum5 timvir-s-6s0dn4 timvir-s-e25avd",
529
- children: [/*#__PURE__*/jsx(SvgChevronLeft, {
527
+ children: [/*#__PURE__*/jsxDEV("div", {
528
+ className: "timvir-s-vgvpxu timvir-s-78zum5 timvir-s-6s0dn4 timvir-s-o4rrn4",
529
+ children: [/*#__PURE__*/jsxDEV(SvgChevronLeft, {
530
530
  className: "timvir-s-1q3kd3q timvir-s-1n3ixbd"
531
- }), " Previous"]
532
- }), /*#__PURE__*/jsx("div", {
531
+ }, void 0, false), " Previous"]
532
+ }, void 0, true), /*#__PURE__*/jsxDEV("div", {
533
533
  className: "timvir-s-k50ysn timvir-s-b3r6kr timvir-s-lyipyv timvir-s-193iq5w",
534
534
  children: prev.label
535
- })]
536
- }), next && /*#__PURE__*/jsxs(Link, {
535
+ }, void 0, false)]
536
+ }, void 0, true), next && /*#__PURE__*/jsxDEV(Link, {
537
537
  href: next.href,
538
538
  className: "timvir-s-h8yej3 timvir-s-78zum5 timvir-s-1jnr06f timvir-s-ur7f20 timvir-s-mkeg23 timvir-s-1y0btm7 timvir-s-j7gikm timvir-s-1tamke2 timvir-s-1heor9g timvir-s-1hl2dhg timvir-s-euugli timvir-s-1gtqa1q timvir-s-dt5ytf timvir-s-uk3077 timvir-s-1nhvcw1 timvir-s-1hr2gdg",
539
- children: [/*#__PURE__*/jsxs("div", {
540
- className: "timvir-s-vgvpxu timvir-s-78zum5 timvir-s-6s0dn4 timvir-s-e25avd",
541
- children: ["Next ", /*#__PURE__*/jsx(SvgChevronRight, {
539
+ children: [/*#__PURE__*/jsxDEV("div", {
540
+ className: "timvir-s-vgvpxu timvir-s-78zum5 timvir-s-6s0dn4 timvir-s-o4rrn4",
541
+ children: ["Next ", /*#__PURE__*/jsxDEV(SvgChevronRight, {
542
542
  className: "timvir-s-1q3kd3q timvir-s-1n3ixbd"
543
- })]
544
- }), /*#__PURE__*/jsx("div", {
543
+ }, void 0, false)]
544
+ }, void 0, true), /*#__PURE__*/jsxDEV("div", {
545
545
  className: "timvir-s-k50ysn timvir-s-b3r6kr timvir-s-lyipyv timvir-s-193iq5w",
546
546
  children: next.label
547
- })]
548
- })]
549
- })
550
- });
547
+ }, void 0, false)]
548
+ }, void 0, true)]
549
+ }, void 0, true)
550
+ }, void 0, false);
551
551
  }
552
552
 
553
553
  function SidebarItem(props) {
@@ -570,12 +570,12 @@ function SidebarItem(props) {
570
570
  ...iconStylexProps.style,
571
571
  transform: active ? "rotate(90deg)" : "rotate(0deg)"
572
572
  };
573
- const icon = children.length === 0 ? null : /*#__PURE__*/jsx(SvgChevronRight, {
573
+ const icon = children.length === 0 ? null : /*#__PURE__*/jsxDEV(SvgChevronRight, {
574
574
  className: iconStylexProps.className,
575
575
  style: iconStyle,
576
576
  width: 16,
577
577
  height: 16
578
- });
578
+ }, void 0, false);
579
579
  const isActive = location.asPath.replace(/#.*$/, "") === path;
580
580
  const linkStylexProps = {
581
581
  0: {
@@ -589,9 +589,9 @@ function SidebarItem(props) {
589
589
  ...linkStylexProps.style,
590
590
  marginLeft: depth * 16
591
591
  };
592
- return /*#__PURE__*/jsx("div", {
592
+ return /*#__PURE__*/jsxDEV("div", {
593
593
  className: "timvir-s-78zum5 timvir-s-6s0dn4 timvir-s-3my8ay",
594
- children: path ? /*#__PURE__*/jsxs(Link, {
594
+ children: path ? /*#__PURE__*/jsxDEV(Link, {
595
595
  href: path,
596
596
  className: linkStylexProps.className,
597
597
  style: linkStyle,
@@ -599,11 +599,11 @@ function SidebarItem(props) {
599
599
  ...{
600
600
  className: "timvir-s-1lliihq timvir-s-1fr90bg timvir-s-pz6ql4 timvir-s-1db2dqx timvir-s-15dgqpb"
601
601
  }
602
- }) : null, /*#__PURE__*/jsx("span", {
602
+ }) : null, /*#__PURE__*/jsxDEV("span", {
603
603
  className: "timvir-s-uxw1ft timvir-s-b3r6kr timvir-s-lyipyv timvir-s-ack27t",
604
604
  children: label
605
- }), icon]
606
- }) : /*#__PURE__*/jsxs("button", {
605
+ }, void 0, false), icon]
606
+ }, void 0, true) : /*#__PURE__*/jsxDEV("button", {
607
607
  type: "button",
608
608
  className: linkStylexProps.className,
609
609
  style: linkStyle,
@@ -612,12 +612,12 @@ function SidebarItem(props) {
612
612
  ...{
613
613
  className: "timvir-s-1lliihq timvir-s-1fr90bg timvir-s-pz6ql4 timvir-s-1db2dqx timvir-s-15dgqpb"
614
614
  }
615
- }) : null, /*#__PURE__*/jsx("span", {
615
+ }) : null, /*#__PURE__*/jsxDEV("span", {
616
616
  className: "timvir-s-uxw1ft timvir-s-b3r6kr timvir-s-lyipyv timvir-s-ack27t",
617
617
  children: label
618
- }), icon]
619
- })
620
- });
618
+ }, void 0, false), icon]
619
+ }, void 0, true)
620
+ }, void 0, false);
621
621
  }
622
622
 
623
623
  function Section(props) {
@@ -645,18 +645,18 @@ function Section(props) {
645
645
  setActive(true);
646
646
  }
647
647
  }, [path, location.asPath]);
648
- return /*#__PURE__*/jsxs("section", {
649
- children: [/*#__PURE__*/jsx(SidebarItem, {
648
+ return /*#__PURE__*/jsxDEV("section", {
649
+ children: [/*#__PURE__*/jsxDEV(SidebarItem, {
650
650
  ...props,
651
651
  active: active,
652
652
  setActive: setActive
653
- }), active && children.length > 0 && /*#__PURE__*/jsx("div", {
654
- children: children.map((c, i) => /*#__PURE__*/jsx(Section, {
653
+ }, void 0, false), active && children.length > 0 && /*#__PURE__*/jsxDEV("div", {
654
+ children: children.map((c, i) => /*#__PURE__*/jsxDEV(Section, {
655
655
  depth: depth + 1,
656
656
  ...c
657
- }, i))
658
- })]
659
- });
657
+ }, i, false))
658
+ }, void 0, false)]
659
+ }, void 0, true);
660
660
  }
661
661
 
662
662
  function Sidebar(props$1) {
@@ -696,28 +696,28 @@ function Sidebar(props$1) {
696
696
  }
697
697
  }
698
698
  }(toc);
699
- return /*#__PURE__*/jsxs("nav", {
699
+ return /*#__PURE__*/jsxDEV("nav", {
700
700
  ...rest,
701
701
  ...props(props$1.sx, styles$1.root),
702
- children: [/*#__PURE__*/jsxs("header", {
702
+ children: [/*#__PURE__*/jsxDEV("header", {
703
703
  className: "timvir-s-7uxsod timvir-s-1pizb70 timvir-s-78zum5 timvir-s-6s0dn4 timvir-s-1d813ht timvir-s-1m2nq6k timvir-s-1vptubt",
704
- children: [/*#__PURE__*/jsxs("div", {
704
+ children: [/*#__PURE__*/jsxDEV("div", {
705
705
  className: "timvir-s-kpwil5 timvir-s-1xet1wb timvir-s-78zum5 timvir-s-ou54vl",
706
- children: [/*#__PURE__*/jsx("div", {
706
+ children: [/*#__PURE__*/jsxDEV("div", {
707
707
  className: "timvir-s-kjxd12",
708
708
  children: "Timvir"
709
- }), /*#__PURE__*/jsx("div", {
709
+ }, void 0, false), /*#__PURE__*/jsxDEV("div", {
710
710
  className: "timvir-s-uqj7gu timvir-s-1i1rx1s timvir-s-mll18r"
711
- }), /*#__PURE__*/jsx("div", {
711
+ }, void 0, false), /*#__PURE__*/jsxDEV("div", {
712
712
  children: "Docs"
713
- })]
714
- }), search && /*#__PURE__*/jsx("div", {
713
+ }, void 0, false)]
714
+ }, void 0, true), search && /*#__PURE__*/jsxDEV("div", {
715
715
  className: "timvir-s-2lah0s timvir-s-zhuw26 timvir-s-w7yly9 timvir-s-1s85apg timvir-s-1m2nq6k",
716
- children: /*#__PURE__*/jsx(Search, {
716
+ children: /*#__PURE__*/jsxDEV(Search, {
717
717
  ...search
718
- })
719
- })]
720
- }), /*#__PURE__*/jsxs("button", {
718
+ }, void 0, false)
719
+ }, void 0, false)]
720
+ }, void 0, true), /*#__PURE__*/jsxDEV("button", {
721
721
  type: "button",
722
722
  onClick: () => setMenuOpen(!isMenuOpen),
723
723
  className: "timvir-s-jbqb8w timvir-s-ln7xf2 timvir-s-1heor9g timvir-s-h8yej3 timvir-s-76ihet timvir-s-cym7qx timvir-s-7956lj timvir-s-1qg66n7 timvir-s-7uxsod timvir-s-1pizb70 timvir-s-78zum5 timvir-s-6s0dn4 timvir-s-1ypdohk timvir-s-1yn2rt8",
@@ -725,14 +725,14 @@ function Sidebar(props$1) {
725
725
  ...{
726
726
  className: "timvir-s-1lliihq timvir-s-1fr90bg timvir-s-pz6ql4 timvir-s-1db2dqx timvir-s-15dgqpb"
727
727
  }
728
- }) : null, /*#__PURE__*/jsx("span", {
728
+ }) : null, /*#__PURE__*/jsxDEV("span", {
729
729
  children: node?.label ?? "Menu"
730
- }), /*#__PURE__*/jsx(SvgMenu, {
730
+ }, void 0, false), /*#__PURE__*/jsxDEV(SvgMenu, {
731
731
  width: 16,
732
732
  height: 16,
733
733
  className: "timvir-s-8x9d4c"
734
- })]
735
- }), /*#__PURE__*/jsx("div", {
734
+ }, void 0, false)]
735
+ }, void 0, true), /*#__PURE__*/jsxDEV("div", {
736
736
  ...{
737
737
  0: {
738
738
  className: "timvir-s-1s85apg timvir-s-1b7vwdu timvir-s-1j2yrl1 timvir-s-1azbkut timvir-s-1fsrbvp timvir-s-etmjmr timvir-s-1ccyb2m"
@@ -741,21 +741,21 @@ function Sidebar(props$1) {
741
741
  className: "timvir-s-1b7vwdu timvir-s-1j2yrl1 timvir-s-1azbkut timvir-s-1fsrbvp timvir-s-etmjmr timvir-s-1ccyb2m timvir-s-78zum5 timvir-s-ixxii4 timvir-s-is09m7 timvir-s-u96u03 timvir-s-3m8u43 timvir-s-1ey2m1c"
742
742
  }
743
743
  }[!!isMenuOpen << 0],
744
- children: /*#__PURE__*/jsx("div", {
744
+ children: /*#__PURE__*/jsxDEV("div", {
745
745
  className: "timvir-s-1bd1j73 timvir-s-1odjw0f timvir-s-1iyjqo2 timvir-s-xqldzo timvir-s-rz96y6 timvir-s-sgruip",
746
- children: /*#__PURE__*/jsx("div", {
746
+ children: /*#__PURE__*/jsxDEV("div", {
747
747
  className: "timvir-s-158hnoc timvir-s-1ator1a",
748
748
  onClick: () => {
749
749
  setMenuOpen(false);
750
750
  },
751
- children: toc.map((c, i) => /*#__PURE__*/jsx(Section, {
751
+ children: toc.map((c, i) => /*#__PURE__*/jsxDEV(Section, {
752
752
  depth: 0,
753
753
  ...c
754
- }, i))
755
- })
756
- })
757
- })]
758
- });
754
+ }, i, false))
755
+ }, void 0, false)
756
+ }, void 0, false)
757
+ }, void 0, false)]
758
+ }, void 0, true);
759
759
  }
760
760
  const styles$1 = {
761
761
  root: {
@@ -770,26 +770,26 @@ function Search(props) {
770
770
  open,
771
771
  label
772
772
  } = props;
773
- return /*#__PURE__*/jsx("div", {
773
+ return /*#__PURE__*/jsxDEV("div", {
774
774
  className: "timvir-s-gcpwm9",
775
- children: /*#__PURE__*/jsxs("button", {
775
+ children: /*#__PURE__*/jsxDEV("button", {
776
776
  type: "button",
777
777
  className: "timvir-s-ln7xf2 timvir-s-h8yej3 timvir-s-1cdhzux timvir-s-1dcheo9 timvir-s-1ylh3l6 timvir-s-o1l8bm timvir-s-1ypdohk timvir-s-u0aao5 timvir-s-ur7f20 timvir-s-84vhe8 timvir-s-mkeg23 timvir-s-1y0btm7 timvir-s-j7gikm timvir-s-1d0dlzq timvir-s-78zum5 timvir-s-6s0dn4 timvir-s-1dc5b4e",
778
778
  onClick: open,
779
- children: [/*#__PURE__*/jsx("svg", {
779
+ children: [/*#__PURE__*/jsxDEV("svg", {
780
780
  x: "0px",
781
781
  y: "0px",
782
782
  width: "12px",
783
783
  height: "12px",
784
784
  viewBox: "0 0 12 12",
785
785
  className: "timvir-s-1lliihq timvir-s-1db2dqx timvir-s-1jw3ynk timvir-s-vle69y",
786
- children: /*#__PURE__*/jsx("path", {
786
+ children: /*#__PURE__*/jsxDEV("path", {
787
787
  d: "M11.707 10.293l-2.54-2.54a5.015 5.015 0 10-1.414 1.414l2.54 2.54a1 1 0 001.414-1.414zM2 5a3 3 0 113 3 3 3 0 01-3-3z",
788
788
  fill: "currentColor"
789
- })
790
- }), label || "Search docs"]
791
- })
792
- });
789
+ }, void 0, false)
790
+ }, void 0, false), label || "Search docs"]
791
+ }, void 0, true)
792
+ }, void 0, false);
793
793
  }
794
794
 
795
795
  const Root = "div";
@@ -856,12 +856,12 @@ function Page(props$1) {
856
856
  });
857
857
  }
858
858
  });
859
- return /*#__PURE__*/jsxs(Provider, {
859
+ return /*#__PURE__*/jsxDEV(Provider, {
860
860
  value: context,
861
- children: [/*#__PURE__*/jsxs(Root, {
861
+ children: [/*#__PURE__*/jsxDEV(Root, {
862
862
  ...rest,
863
863
  className: "timvir-s-g6iff7 timvir-s-1hz7z82 timvir-s-rvj5dj timvir-s-c0s83b timvir-s-1i3za4p timvir-s-oxwh6b timvir-s-1w3eerp timvir-s-1p7i66b timvir-s-dvd4st timvir-s-1746jcd timvir-s-6u19be timvir-s-13xho20 timvir-s-1b7vwdu timvir-s-1cdhzux",
864
- children: [/*#__PURE__*/jsx(Sidebar, {
864
+ children: [/*#__PURE__*/jsxDEV(Sidebar, {
865
865
  sx: styles.sidebar,
866
866
  toc: toc,
867
867
  search: search && {
@@ -874,12 +874,12 @@ function Page(props$1) {
874
874
  },
875
875
  ...search
876
876
  }
877
- }), /*#__PURE__*/jsxs("div", {
877
+ }, void 0, false), /*#__PURE__*/jsxDEV("div", {
878
878
  className: "timvir-s-78zum5 timvir-s-dt5ytf timvir-s-1fdo2jl",
879
- children: [/*#__PURE__*/jsx("div", {
879
+ children: [/*#__PURE__*/jsxDEV("div", {
880
880
  ...props(styles.content, layoutStyles.grid),
881
881
  children: children
882
- }), /*#__PURE__*/jsxs("div", {
882
+ }, void 0, false), /*#__PURE__*/jsxDEV("div", {
883
883
  className: "timvir-s-r1yuqi",
884
884
  children: [(() => {
885
885
  function flatten(n, parents) {
@@ -913,18 +913,18 @@ function Page(props$1) {
913
913
  };
914
914
  }
915
915
  }
916
- return /*#__PURE__*/jsx("div", {
916
+ return /*#__PURE__*/jsxDEV("div", {
917
917
  className: "timvir-s-r1yuqi timvir-s-11408do",
918
- children: /*#__PURE__*/jsx(NavigationFooter, {
918
+ children: /*#__PURE__*/jsxDEV(NavigationFooter, {
919
919
  Link: Link,
920
920
  prev: toLink(index - 1),
921
921
  next: toLink(index + 1)
922
- })
923
- });
924
- })(), Footer && /*#__PURE__*/jsx(Footer, {})]
925
- })]
926
- })]
927
- }), /*#__PURE__*/jsx(Commands, {
922
+ }, void 0, false)
923
+ }, void 0, false);
924
+ })(), Footer && /*#__PURE__*/jsxDEV(Footer, {}, void 0, false)]
925
+ }, void 0, true)]
926
+ }, void 0, true)]
927
+ }, void 0, true), /*#__PURE__*/jsxDEV(Commands, {
928
928
  open: state.search.open,
929
929
  onClose: () => {
930
930
  setState({
@@ -933,8 +933,8 @@ function Page(props$1) {
933
933
  }
934
934
  });
935
935
  }
936
- })]
937
- });
936
+ }, void 0, false)]
937
+ }, void 0, true);
938
938
  }
939
939
  const styles = {
940
940
  sidebar: {