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.
Files changed (95) hide show
  1. package/CHANGELOG.md +9 -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 +8 -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/Exhibit/styles.css +8 -0
  24. package/blocks/Font/Font.d.ts +1 -1
  25. package/blocks/Font/index.js +25 -25
  26. package/blocks/Font/samples/basic.d.ts +1 -1
  27. package/blocks/Font/samples/timvir/body1.d.ts +1 -1
  28. package/blocks/Font/samples/timvir/caption.d.ts +1 -1
  29. package/blocks/Font/samples/timvir/h1.d.ts +1 -1
  30. package/blocks/Font/samples/timvir/h2.d.ts +1 -1
  31. package/blocks/Font/samples/timvir/h3.d.ts +1 -1
  32. package/blocks/Font/samples/timvir/h4.d.ts +1 -1
  33. package/blocks/Grid/Grid.d.ts +1 -1
  34. package/blocks/Grid/index.js +3 -3
  35. package/blocks/Grid/samples/basic.d.ts +1 -1
  36. package/blocks/Icon/Icon.d.ts +1 -1
  37. package/blocks/Icon/index.js +30 -30
  38. package/blocks/Icon/internal/Canvas.d.ts +1 -1
  39. package/blocks/Icon/samples/basic.d.ts +1 -1
  40. package/blocks/Message/Message.d.ts +1 -1
  41. package/blocks/Message/index.js +24 -24
  42. package/blocks/Message/samples/basic.d.ts +1 -1
  43. package/blocks/Swatch/Swatch.d.ts +1 -1
  44. package/blocks/Swatch/index.js +11 -11
  45. package/blocks/Swatch/samples/basic.d.ts +1 -1
  46. package/blocks/Viewport/Viewport.d.ts +1 -1
  47. package/blocks/Viewport/index.js +56 -56
  48. package/blocks/Viewport/internal/Caption.d.ts +2 -1
  49. package/blocks/Viewport/internal/Handle.d.ts +1 -1
  50. package/blocks/Viewport/internal/Ruler.d.ts +1 -1
  51. package/blocks/Viewport/samples/basic.d.ts +1 -1
  52. package/blocks/WebLink/WebLink.d.ts +1 -1
  53. package/blocks/WebLink/docs/index.mdx +2 -3
  54. package/blocks/WebLink/index.js +22 -17
  55. package/blocks/WebLink/samples/basic.d.ts +1 -1
  56. package/blocks/styles.css +8 -0
  57. package/builtins/index.js +49 -49
  58. package/builtins/styles.css +2 -2
  59. package/core/components/Commands/Commands.d.ts +2 -2
  60. package/core/components/Commands/index.d.ts +1 -1
  61. package/core/components/Commands/internal/Action.d.ts +2 -2
  62. package/core/components/Commands/internal/Dialog.d.ts +3 -2
  63. package/core/components/Commands/internal/index.d.ts +1 -1
  64. package/core/components/Footer/Footer.d.ts +2 -2
  65. package/core/components/Footer/index.d.ts +1 -1
  66. package/core/components/Footer/samples/basic.d.ts +1 -1
  67. package/core/components/NavigationFooter/NavigationFooter.d.ts +2 -2
  68. package/core/components/NavigationFooter/index.d.ts +1 -1
  69. package/core/components/NavigationFooter/samples/basic.d.ts +1 -1
  70. package/core/components/Page/Page.d.ts +2 -2
  71. package/core/components/Page/index.d.ts +1 -1
  72. package/core/components/Page/internal/Section.d.ts +3 -2
  73. package/core/components/Page/internal/Sidebar.d.ts +2 -2
  74. package/core/components/Page/internal/SidebarItem.d.ts +3 -2
  75. package/core/components/Page/internal/index.d.ts +1 -1
  76. package/core/components/Page/samples/basic.d.ts +1 -1
  77. package/core/components/Page/samples/layout.d.ts +1 -1
  78. package/core/index.js +180 -180
  79. package/core/styles.css +2 -2
  80. package/hooks/index.js +3 -1
  81. package/icons/AlertCircle.d.ts +1 -1
  82. package/icons/ChevronLeft.d.ts +1 -1
  83. package/icons/ChevronRight.d.ts +1 -1
  84. package/icons/ChevronsRight.d.ts +1 -1
  85. package/icons/Code.d.ts +1 -1
  86. package/icons/Codepen.d.ts +1 -1
  87. package/icons/Info.d.ts +1 -1
  88. package/icons/Link.d.ts +1 -1
  89. package/icons/Menu.d.ts +1 -1
  90. package/icons/XOctagon.d.ts +1 -1
  91. package/package.json +3 -3
  92. package/search/Search/Search.d.ts +2 -2
  93. package/search/Search/index.d.ts +1 -1
  94. package/search/Search/samples/basic.d.ts +1 -1
  95. package/styles.css +12 -4
package/core/styles.css CHANGED
@@ -97,7 +97,7 @@
97
97
  }
98
98
 
99
99
  @layer priority3 {
100
- html:not([dir="rtl"]) .timvir-s-1j43nte, html[dir="rtl"] .timvir-s-1j43nte {
100
+ .timvir-s-1j43nte {
101
101
  background-position: bottom;
102
102
  }
103
103
 
@@ -190,7 +190,7 @@
190
190
  "content";
191
191
  }
192
192
 
193
- .timvir-s-e25avd {
193
+ .timvir-s-o4rrn4 {
194
194
  margin-inline: -.2em;
195
195
  }
196
196
 
package/hooks/index.js CHANGED
@@ -54,7 +54,9 @@ function useResizeObserverEntry() {
54
54
  const [ref, entries] = useResizeObserverEntries();
55
55
  return [ref, last(entries)];
56
56
  }
57
- const last = a => a[a.length - 1];
57
+ function last(a) {
58
+ return a[a.length - 1];
59
+ }
58
60
  const nopResizeObserver = {
59
61
  observe() {},
60
62
  unobserve() {},
@@ -1,3 +1,3 @@
1
1
  import type { SVGProps } from "react";
2
- declare const SvgAlertCircle: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
2
+ declare const SvgAlertCircle: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
3
3
  export default SvgAlertCircle;
@@ -1,3 +1,3 @@
1
1
  import type { SVGProps } from "react";
2
- declare const SvgChevronLeft: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
2
+ declare const SvgChevronLeft: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
3
3
  export default SvgChevronLeft;
@@ -1,3 +1,3 @@
1
1
  import type { SVGProps } from "react";
2
- declare const SvgChevronRight: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
2
+ declare const SvgChevronRight: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
3
3
  export default SvgChevronRight;
@@ -1,3 +1,3 @@
1
1
  import type { SVGProps } from "react";
2
- declare const SvgChevronsRight: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
2
+ declare const SvgChevronsRight: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
3
3
  export default SvgChevronsRight;
package/icons/Code.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  import type { SVGProps } from "react";
2
- declare const SvgCode: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
2
+ declare const SvgCode: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
3
3
  export default SvgCode;
@@ -1,3 +1,3 @@
1
1
  import type { SVGProps } from "react";
2
- declare const SvgCodepen: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
2
+ declare const SvgCodepen: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
3
3
  export default SvgCodepen;
package/icons/Info.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  import type { SVGProps } from "react";
2
- declare const SvgInfo: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
2
+ declare const SvgInfo: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
3
3
  export default SvgInfo;
package/icons/Link.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  import type { SVGProps } from "react";
2
- declare const SvgLink: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
2
+ declare const SvgLink: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
3
3
  export default SvgLink;
package/icons/Menu.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  import type { SVGProps } from "react";
2
- declare const SvgMenu: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
2
+ declare const SvgMenu: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
3
3
  export default SvgMenu;
@@ -1,3 +1,3 @@
1
1
  import type { SVGProps } from "react";
2
- declare const SvgXOctagon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
2
+ declare const SvgXOctagon: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
3
3
  export default SvgXOctagon;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "timvir",
4
- "version": "0.2.54",
4
+ "version": "0.2.56",
5
5
  "license": "MIT",
6
6
  "sideEffects": false,
7
7
  "exports": {
@@ -45,8 +45,8 @@
45
45
  "wonka": "^6"
46
46
  },
47
47
  "peerDependencies": {
48
- "react": "^19.2.7",
49
- "react-dom": "^19.2.7"
48
+ "react": "^19",
49
+ "react-dom": "^19"
50
50
  },
51
51
  "repository": {
52
52
  "type": "git",
@@ -14,8 +14,7 @@ interface Props extends React.ComponentPropsWithRef<"div"> {
14
14
  }>;
15
15
  }>;
16
16
  }
17
- declare function Search(_props: Props): null;
18
- export default Search;
17
+ export declare function Search(_props: Props): null;
19
18
  export declare function defaultSearch(toc: readonly Node[]): {
20
19
  q: (query: string) => Promise<{
21
20
  totalCount: number;
@@ -28,3 +27,4 @@ export declare function defaultSearch(toc: readonly Node[]): {
28
27
  }[];
29
28
  }>;
30
29
  };
30
+ export {};
@@ -1 +1 @@
1
- export { default as Search, defaultSearch } from "./Search";
1
+ export { defaultSearch, Search } from "./Search";
@@ -1 +1 @@
1
- export default function Sample(): import("react/jsx-runtime").JSX.Element;
1
+ export default function Sample(): import("react").JSX.Element;
package/styles.css CHANGED
@@ -208,7 +208,7 @@ body {
208
208
  }
209
209
 
210
210
  @layer priority3 {
211
- html:not([dir="rtl"]) .timvir-s-1j43nte, html[dir="rtl"] .timvir-s-1j43nte {
211
+ .timvir-s-1j43nte {
212
212
  background-position: bottom;
213
213
  }
214
214
 
@@ -301,7 +301,7 @@ body {
301
301
  "content";
302
302
  }
303
303
 
304
- .timvir-s-e25avd {
304
+ .timvir-s-o4rrn4 {
305
305
  margin-inline: -.2em;
306
306
  }
307
307
 
@@ -1067,7 +1067,7 @@ body {
1067
1067
  }
1068
1068
 
1069
1069
  @layer priority3 {
1070
- html:not([dir="rtl"]) .timvir-s-1j43nte, html[dir="rtl"] .timvir-s-1j43nte {
1070
+ .timvir-s-1j43nte {
1071
1071
  background-position: bottom;
1072
1072
  }
1073
1073
 
@@ -1273,7 +1273,7 @@ body {
1273
1273
  position: relative;
1274
1274
  }
1275
1275
 
1276
- .timvir-s-zqbfd8 {
1276
+ .timvir-s-caxn08 {
1277
1277
  text-indent: -.05em;
1278
1278
  }
1279
1279
 
@@ -2311,6 +2311,14 @@ body {
2311
2311
  background-image: var(--timvir-b-Exhibit-background);
2312
2312
  }
2313
2313
 
2314
+ .timvir-s-15r2rl4 {
2315
+ color: #000000c9;
2316
+ }
2317
+
2318
+ .timvir-s-igssvo {
2319
+ color: #ffffffdb;
2320
+ }
2321
+
2314
2322
  .timvir-s-vgvpxu {
2315
2323
  color: var(--timvir-secondary-text-color);
2316
2324
  }