timvir 0.2.24 → 0.2.25
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/WebLink/docs/index.mdx +1 -1
- package/core/index.js +6 -6
- package/package.json +3 -3
|
@@ -9,5 +9,5 @@ import { WebLink } from "..";
|
|
|
9
9
|
<WebLink url="https://twitter.com" style={{ marginBottom: 16 }} />
|
|
10
10
|
<WebLink url="https://figma.com" style={{ marginBottom: 16 }} />
|
|
11
11
|
<WebLink url="https://www.framer.com/motion/" style={{ marginBottom: 16 }} />
|
|
12
|
-
<WebLink url="https://formatjs.io" style={{ marginBottom: 16 }} />
|
|
12
|
+
<WebLink url="https://formatjs.github.io" style={{ marginBottom: 16 }} />
|
|
13
13
|
<WebLink url="https://www.typescriptlang.org" style={{ marginBottom: 16 }} />
|
package/core/index.js
CHANGED
|
@@ -242,7 +242,7 @@ function Commands(props) {
|
|
|
242
242
|
if (!draft.dialog) {
|
|
243
243
|
const containerElement = document.createElement("div");
|
|
244
244
|
document.body.appendChild(containerElement);
|
|
245
|
-
const reactPortal = /*#__PURE__*/ReactDOM.createPortal(
|
|
245
|
+
const reactPortal = /*#__PURE__*/ReactDOM.createPortal(/*#__PURE__*/React.createElement("div", {
|
|
246
246
|
className: classes$4.root,
|
|
247
247
|
onClick: ev => {
|
|
248
248
|
if (ev.target === ev.currentTarget) {
|
|
@@ -258,7 +258,7 @@ function Commands(props) {
|
|
|
258
258
|
reactPortal
|
|
259
259
|
});
|
|
260
260
|
} else {
|
|
261
|
-
const reactPortal = /*#__PURE__*/ReactDOM.createPortal(
|
|
261
|
+
const reactPortal = /*#__PURE__*/ReactDOM.createPortal(/*#__PURE__*/React.createElement("div", {
|
|
262
262
|
className: classes$4.root,
|
|
263
263
|
onClick: ev => {
|
|
264
264
|
if (ev.target === ev.currentTarget) {
|
|
@@ -277,7 +277,7 @@ function Commands(props) {
|
|
|
277
277
|
mutate(draft => {
|
|
278
278
|
draft.open = false;
|
|
279
279
|
if (draft.dialog) {
|
|
280
|
-
const reactPortal = /*#__PURE__*/ReactDOM.createPortal(
|
|
280
|
+
const reactPortal = /*#__PURE__*/ReactDOM.createPortal(/*#__PURE__*/React.createElement("div", {
|
|
281
281
|
className: classes$4.root
|
|
282
282
|
}, /*#__PURE__*/React.createElement(Dialog, {
|
|
283
283
|
onDispose: () => {
|
|
@@ -522,17 +522,17 @@ const h1 = /*#__PURE__*/styled_default('h1')({
|
|
|
522
522
|
class: "h6ceq1b",
|
|
523
523
|
propsAsIs: false
|
|
524
524
|
});
|
|
525
|
-
const h2 = Heading(
|
|
525
|
+
const h2 = Heading(/*#__PURE__*/styled_default('h2')({
|
|
526
526
|
name: "h2",
|
|
527
527
|
class: "hj6166y",
|
|
528
528
|
propsAsIs: false
|
|
529
529
|
}));
|
|
530
|
-
const h3 = Heading(
|
|
530
|
+
const h3 = Heading(/*#__PURE__*/styled_default('h3')({
|
|
531
531
|
name: "h3",
|
|
532
532
|
class: "h1f8mqks",
|
|
533
533
|
propsAsIs: false
|
|
534
534
|
}));
|
|
535
|
-
const h4 = Heading(
|
|
535
|
+
const h4 = Heading(/*#__PURE__*/styled_default('h4')({
|
|
536
536
|
name: "h4",
|
|
537
537
|
class: "h1hmga4",
|
|
538
538
|
propsAsIs: false
|
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.25",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"exports": {
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
|
28
28
|
"@mdx-js/react": "^2 || ^3",
|
|
29
|
-
"react": "^17 || ^18",
|
|
30
|
-
"react-dom": "^17 || ^18",
|
|
29
|
+
"react": "^17 || ^18 || ^19",
|
|
30
|
+
"react-dom": "^17 || ^18 || ^19",
|
|
31
31
|
"react-hotkeys-hook": "^4"
|
|
32
32
|
},
|
|
33
33
|
"repository": {
|