@teselagen/ui 0.7.7 → 0.7.9
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/index.cjs.js +1 -1
- package/index.es.js +2 -2
- package/package.json +2 -5
- package/src/DataTable/utils/queryParams.js +1 -0
- package/src/FillWindow.js +1 -2
package/index.cjs.js
CHANGED
|
@@ -74127,7 +74127,7 @@ const _FillWindow = class _FillWindow extends React$1.Component {
|
|
|
74127
74127
|
this.props.children && isFunction$5(this.props.children) ? this.props.children(windowDimensions) : this.props.children
|
|
74128
74128
|
);
|
|
74129
74129
|
if (asPortal)
|
|
74130
|
-
return
|
|
74130
|
+
return React$1.createPortal(inner, window.document.body);
|
|
74131
74131
|
return inner;
|
|
74132
74132
|
}
|
|
74133
74133
|
};
|
package/index.es.js
CHANGED
|
@@ -57,7 +57,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
57
57
|
});
|
|
58
58
|
};
|
|
59
59
|
import * as React$1 from "react";
|
|
60
|
-
import React__default, { useState, useEffect, forwardRef, useImperativeHandle, Fragment, useMemo, useRef, useReducer, useCallback, createElement, Component, useLayoutEffect, createContext, memo, useContext, isValidElement, PureComponent } from "react";
|
|
60
|
+
import React__default, { useState, useEffect, forwardRef, useImperativeHandle, Fragment, useMemo, useRef, useReducer, useCallback, createElement, Component, useLayoutEffect, createContext, memo, useContext, isValidElement, PureComponent, createPortal as createPortal$1 } from "react";
|
|
61
61
|
import { Icon, Classes, Button, Intent, MenuItem, Keys, Tag, Popover, Tooltip, Spinner, InputGroup, Checkbox, Switch, TextArea, EditableText, NumericInput, RadioGroup, Position, FormGroup, Menu, Toaster, MenuDivider, useHotkeys, ContextMenu, Callout, Dialog, Card, Tabs, Tab, Colors, Overlay, KeyCombo, ProgressBar } from "@blueprintjs/core";
|
|
62
62
|
import { formValueSelector, initialize, change, Field, reduxForm, SubmissionError, destroy, touch, FormName, Fields } from "redux-form";
|
|
63
63
|
import require$$2$1, { unstable_batchedUpdates, createPortal, flushSync } from "react-dom";
|
|
@@ -74109,7 +74109,7 @@ const _FillWindow = class _FillWindow extends React__default.Component {
|
|
|
74109
74109
|
this.props.children && isFunction$5(this.props.children) ? this.props.children(windowDimensions) : this.props.children
|
|
74110
74110
|
);
|
|
74111
74111
|
if (asPortal)
|
|
74112
|
-
return
|
|
74112
|
+
return createPortal$1(inner, window.document.body);
|
|
74113
74113
|
return inner;
|
|
74114
74114
|
}
|
|
74115
74115
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teselagen/ui",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.9",
|
|
4
4
|
"main": "./src/index.js",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -12,8 +12,7 @@
|
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"@teselagen/file-utils": "0.3.16",
|
|
14
14
|
"@teselagen/bounce-loader": "0.3.11",
|
|
15
|
-
"@blueprintjs/core": "3.
|
|
16
|
-
"@blueprintjs/datetime": "^3.24.1",
|
|
15
|
+
"@blueprintjs/core": "3.52.0",
|
|
17
16
|
"@blueprintjs/icons": "3.33.0",
|
|
18
17
|
"@blueprintjs/select": "3.18.11",
|
|
19
18
|
"@dnd-kit/core": "^6.1.0",
|
|
@@ -45,7 +44,6 @@
|
|
|
45
44
|
"react-color": "^2.19.3",
|
|
46
45
|
"react-dom": "^18.3.1",
|
|
47
46
|
"react-dropzone": "^11.4.2",
|
|
48
|
-
"react-markdown": "9.0.1",
|
|
49
47
|
"react-redux": "^8.0.5",
|
|
50
48
|
"react-rnd": "^10.2.4",
|
|
51
49
|
"react-router-dom": "4",
|
|
@@ -54,7 +52,6 @@
|
|
|
54
52
|
"redux": "^4.1.2",
|
|
55
53
|
"redux-form": "^8.3.10",
|
|
56
54
|
"redux-thunk": "2.4.1",
|
|
57
|
-
"remark-gfm": "^4.0.0",
|
|
58
55
|
"tippy.js": "^6.3.7",
|
|
59
56
|
"url-join": "^4.0.1",
|
|
60
57
|
"use-deep-compare-effect": "^1.6.1",
|
|
@@ -513,6 +513,7 @@ export function getCurrentParamsFromUrl(location, isSimple) {
|
|
|
513
513
|
|
|
514
514
|
return parseFilters(queryString.parse(search, { ignoreQueryPrefix: true }));
|
|
515
515
|
}
|
|
516
|
+
|
|
516
517
|
export function setCurrentParamsOnUrl(newParams, replace, isSimple) {
|
|
517
518
|
const stringifiedFilters = stringifyFilters(newParams);
|
|
518
519
|
const search = `?${queryString.stringify(stringifiedFilters)}`;
|
package/src/FillWindow.js
CHANGED