timvir 0.2.25 → 0.2.27

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.
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { Exhibit } from 'timvir/blocks';
2
3
  import { useBlock } from 'timvir/core';
3
4
  import * as React from 'react';
@@ -1,6 +1,3 @@
1
- /**
2
- * This is documentation for the Code component.
3
- */
4
1
  import * as React from "react";
5
2
  /**
6
3
  * The underlying DOM element which is rendered by this component.
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import * as Page from 'timvir/core';
2
3
  import { useBlock } from 'timvir/core';
3
4
  import { codeToHtml } from 'shiki';
@@ -36,11 +37,6 @@ var cx_default = cx;
36
37
 
37
38
  var theme = "tac6gx6";
38
39
 
39
- /**
40
- * This is documentation for the Code component.
41
- */
42
-
43
-
44
40
  /**
45
41
  * The underlying DOM element which is rendered by this component.
46
42
  */
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { Swatch } from 'timvir/blocks';
2
3
  import { useBlock } from 'timvir/core';
3
4
  import * as React from 'react';
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { useBlock } from 'timvir/core';
2
3
  import * as React from 'react';
3
4
 
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { useBlock } from 'timvir/core';
2
3
  import * as React from 'react';
3
4
 
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { useBlock, fullWidth } from 'timvir/core';
2
3
  import { useResizeObserverEntry, useResizeObserver } from 'timvir/hooks';
3
4
  import * as React from 'react';
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import * as React from 'react';
2
3
  import { useContext } from 'timvir/core';
3
4
  import { useImmer } from 'use-immer';
package/core/index.js CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { pipe, filter, subscribe } from 'wonka';
2
3
  import { useContext, Provider } from 'timvir/context';
3
4
  export { useContext } from 'timvir/context';
@@ -768,7 +769,7 @@ function Sidebar(props) {
768
769
  }, node !== null && node !== void 0 && node.icon ? /*#__PURE__*/React.cloneElement(node.icon, {
769
770
  className: "c15ju3pv"
770
771
  }) : null, /*#__PURE__*/React.createElement("span", null, (node === null || node === void 0 ? void 0 : node.label) ?? "Menu"), /*#__PURE__*/React.createElement(Icons.Menu, {
771
- size: `1rem`,
772
+ size: 16,
772
773
  className: "s2bwnbz"
773
774
  })), /*#__PURE__*/React.createElement("input", {
774
775
  type: "checkbox",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "timvir",
4
- "version": "0.2.25",
4
+ "version": "0.2.27",
5
5
  "license": "MIT",
6
6
  "sideEffects": false,
7
7
  "exports": {
@@ -21,7 +21,7 @@
21
21
  "immer": "^9 || ^10",
22
22
  "shiki": "^1",
23
23
  "react-feather": "^2",
24
- "use-immer": "^0.8.0 || ^0.8.1 || ^0.9.0 || ^0.10.0",
24
+ "use-immer": "^0.11.0",
25
25
  "wonka": "^6"
26
26
  },
27
27
  "peerDependencies": {