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.
- package/blocks/Arbitrary/index.js +1 -0
- package/blocks/Code/Code.d.ts +0 -3
- package/blocks/Code/index.js +1 -5
- package/blocks/ColorBar/index.js +1 -0
- package/blocks/Exhibit/index.js +1 -0
- package/blocks/Swatch/index.js +1 -0
- package/blocks/Viewport/index.js +1 -0
- package/blocks/WebLink/index.js +1 -0
- package/core/index.js +2 -1
- package/package.json +2 -2
package/blocks/Code/Code.d.ts
CHANGED
package/blocks/Code/index.js
CHANGED
|
@@ -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
|
*/
|
package/blocks/ColorBar/index.js
CHANGED
package/blocks/Exhibit/index.js
CHANGED
package/blocks/Swatch/index.js
CHANGED
package/blocks/Viewport/index.js
CHANGED
package/blocks/WebLink/index.js
CHANGED
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:
|
|
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.
|
|
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.
|
|
24
|
+
"use-immer": "^0.11.0",
|
|
25
25
|
"wonka": "^6"
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|