synapse-react-client 3.0.11 → 3.0.12
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/dist/containers/entity_finder/tree/VirtualizedTree.js +2 -2
- package/dist/containers/entity_finder/tree/VirtualizedTree.js.map +1 -1
- package/dist/containers/home_page/featured-data/FeaturedDataTabs.js +4 -3
- package/dist/containers/home_page/featured-data/FeaturedDataTabs.js.map +1 -1
- package/dist/containers/row_renderers/utils/Icon.js +10 -5
- package/dist/containers/row_renderers/utils/Icon.js.map +1 -1
- package/dist/containers/table/StandaloneQueryWrapper.js +2 -2
- package/dist/containers/table/StandaloneQueryWrapper.js.map +1 -1
- package/dist/style/components/_cards.scss +3 -6
- package/dist/style/components/_featured-data-tabs.scss +8 -6
- package/dist/style/main.css +4 -7
- package/dist/style/main.scss +1 -1
- package/dist/umd/synapse-react-client.development.css +2 -5
- package/dist/umd/synapse-react-client.development.css.map +2 -2
- package/dist/umd/synapse-react-client.development.js +147 -5444
- package/dist/umd/synapse-react-client.development.js.map +3 -3
- package/dist/umd/synapse-react-client.production.min.css +1 -1
- package/dist/umd/synapse-react-client.production.min.js +79 -106
- package/dist/utils/hooks/useTheme.js +2 -2
- package/dist/utils/hooks/useTheme.js.map +1 -1
- package/package.json +8 -5
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.useTheme = exports.ThemeProvider = exports.mergeTheme = exports.ThemeContext = exports.defaultSynapseTheme = void 0;
|
|
4
4
|
var tslib_1 = require("tslib");
|
|
5
|
-
var
|
|
5
|
+
var lodash_es_1 = require("lodash-es");
|
|
6
6
|
var react_1 = (0, tslib_1.__importStar)(require("react"));
|
|
7
7
|
/**
|
|
8
8
|
* TODO: Ensure the default colors here match the default colors in _variables.scss, ideally having a single point of control
|
|
@@ -21,7 +21,7 @@ exports.defaultSynapseTheme = {
|
|
|
21
21
|
exports.ThemeContext = react_1.default.createContext(exports.defaultSynapseTheme);
|
|
22
22
|
function mergeTheme(theme) {
|
|
23
23
|
// TODO: Handle merging color palettes where an entire palette can be generated from a single base color.
|
|
24
|
-
return (0,
|
|
24
|
+
return (0, lodash_es_1.merge)({}, exports.defaultSynapseTheme, theme);
|
|
25
25
|
}
|
|
26
26
|
exports.mergeTheme = mergeTheme;
|
|
27
27
|
var ThemeProvider = function (_a) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useTheme.js","sourceRoot":"","sources":["../../../src/lib/utils/hooks/useTheme.tsx"],"names":[],"mappings":";;;;AAAA,
|
|
1
|
+
{"version":3,"file":"useTheme.js","sourceRoot":"","sources":["../../../src/lib/utils/hooks/useTheme.tsx"],"names":[],"mappings":";;;;AAAA,uCAAiC;AACjC,0DAAkD;AAGlD;;GAEG;AAEU,QAAA,mBAAmB,GAAiB;IAC/C,MAAM,EAAE;QACN,OAAO,EAAE,SAAS;QAClB,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,SAAS;QAClB,KAAK,EAAE,SAAS;KACjB;CACF,CAAA;AAWD;;GAEG;AACU,QAAA,YAAY,GACvB,eAAK,CAAC,aAAa,CAAe,2BAAmB,CAAC,CAAA;AAMxD,SAAgB,UAAU,CAAC,KAAgC;IACzD,yGAAyG;IACzG,OAAO,IAAA,iBAAK,EAAC,EAAE,EAAE,2BAAmB,EAAE,KAAK,CAAC,CAAA;AAC9C,CAAC;AAHD,gCAGC;AAEM,IAAM,aAAa,GAAgD,UAAC,EAG1E;QAFC,aAA2B,EAA3B,KAAK,mBAAG,2BAAmB,KAAA,EAC3B,QAAQ,cAAA;IAER,IAAM,WAAW,GAAG,IAAA,eAAO,EAAC,cAAM,OAAA,UAAU,CAAC,KAAK,CAAC,EAAjB,CAAiB,EAAE,CAAC,KAAK,CAAC,CAAC,CAAA;IAC7D,OAAO,CACL,8BAAC,oBAAY,CAAC,QAAQ,IAAC,KAAK,EAAE,WAAW,IACtC,QAAQ,CACa,CACzB,CAAA;AACH,CAAC,CAAA;AAVY,QAAA,aAAa,iBAUzB;AAED,SAAgB,QAAQ;IACtB,IAAM,OAAO,GAAG,IAAA,kBAAU,EAAC,oBAAY,CAAC,CAAA;IACxC,IAAI,OAAO,KAAK,SAAS,EAAE;QACzB,OAAO,2BAAmB,CAAA;KAC3B;IACD,OAAO,OAAO,CAAA;AAChB,CAAC;AAND,4BAMC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "synapse-react-client",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.12",
|
|
4
4
|
"private": false,
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -33,6 +33,7 @@
|
|
|
33
33
|
"@upsetjs/react": "^1.6.2",
|
|
34
34
|
"animate.css": "^4.1.1",
|
|
35
35
|
"bootstrap": "^4.6.1",
|
|
36
|
+
"classnames": "^2.3.1",
|
|
36
37
|
"column-resizer": "^1.3.5",
|
|
37
38
|
"downshift": "^6.1.2",
|
|
38
39
|
"gh-pages": "^3.2.3",
|
|
@@ -58,12 +59,10 @@
|
|
|
58
59
|
"plotly.js-basic-dist": "^2.11.1",
|
|
59
60
|
"pluralize": "^8.0.0",
|
|
60
61
|
"raf": "^3.4.1",
|
|
61
|
-
"react": "16.14.0",
|
|
62
62
|
"react-app-polyfill": "^3.0.0",
|
|
63
63
|
"react-bootstrap": "^1.5.2",
|
|
64
64
|
"react-compound-slider": "^2.5.0",
|
|
65
65
|
"react-datetime": "^3.0.4",
|
|
66
|
-
"react-dom": "16.14.0",
|
|
67
66
|
"react-error-boundary": "^3.1.1",
|
|
68
67
|
"react-hot-toast": "^2.1.0",
|
|
69
68
|
"react-intersection-observer": "^8.31.0",
|
|
@@ -74,8 +73,8 @@
|
|
|
74
73
|
"react-popper": "^2.2.5",
|
|
75
74
|
"react-query": "3.33.1",
|
|
76
75
|
"react-reflex": "^4.0.0",
|
|
77
|
-
"react-router": "5.2.1",
|
|
78
|
-
"react-router-dom": "5.3.0",
|
|
76
|
+
"react-router": "^5.2.1",
|
|
77
|
+
"react-router-dom": "^5.3.0",
|
|
79
78
|
"react-select": "^4.3.1",
|
|
80
79
|
"react-sizeme": "^2.6.12",
|
|
81
80
|
"react-switch": "^5.0.1",
|
|
@@ -97,6 +96,10 @@
|
|
|
97
96
|
"universal-cookie": "^4.0.3",
|
|
98
97
|
"use-deep-compare-effect": "^1.3.1"
|
|
99
98
|
},
|
|
99
|
+
"peerDependencies": {
|
|
100
|
+
"react": "^16.14.0",
|
|
101
|
+
"react-dom": "^16.14.0"
|
|
102
|
+
},
|
|
100
103
|
"devDependencies": {
|
|
101
104
|
"@babel/cli": "^7.14.5",
|
|
102
105
|
"@babel/core": "^7.14.6",
|