@trops/dash-react 1.0.5 → 1.0.7
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/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/package.json +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4215,7 +4215,7 @@ function CodeEditorInline(_ref) {
|
|
|
4215
4215
|
}
|
|
4216
4216
|
|
|
4217
4217
|
function _typeof$g(o) { "@babel/helpers - typeof"; return _typeof$g = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof$g(o); }
|
|
4218
|
-
var _excluded$a = ["code", "onChange", "uniqueKey", "language", "placeholder", "scrollable", "padding", "themeName", "readOnly", "minimapEnabled", "wordWrap"];
|
|
4218
|
+
var _excluded$a = ["code", "onChange", "onMount", "uniqueKey", "language", "placeholder", "scrollable", "padding", "themeName", "readOnly", "minimapEnabled", "wordWrap"];
|
|
4219
4219
|
function ownKeys$b(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
4220
4220
|
function _objectSpread$b(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$b(Object(t), !0).forEach(function (r) { _defineProperty$c(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$b(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4221
4221
|
function _defineProperty$c(e, r, t) { return (r = _toPropertyKey$f(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
@@ -4250,6 +4250,7 @@ for (var staticMethod in OriginalResizeObserver) {
|
|
|
4250
4250
|
function CodeEditorVS(_ref) {
|
|
4251
4251
|
var code = _ref.code,
|
|
4252
4252
|
onChange = _ref.onChange,
|
|
4253
|
+
onMount = _ref.onMount,
|
|
4253
4254
|
_ref$uniqueKey = _ref.uniqueKey,
|
|
4254
4255
|
uniqueKey = _ref$uniqueKey === void 0 ? "12345" : _ref$uniqueKey,
|
|
4255
4256
|
_ref$language = _ref.language,
|
|
@@ -4275,6 +4276,7 @@ function CodeEditorVS(_ref) {
|
|
|
4275
4276
|
}));
|
|
4276
4277
|
function handleEditorDidMount(editor, monaco) {
|
|
4277
4278
|
editor.focus();
|
|
4279
|
+
if (onMount) onMount(editor, monaco);
|
|
4278
4280
|
if (monaco) {
|
|
4279
4281
|
try {
|
|
4280
4282
|
import("monaco-themes/themes/".concat(themeName, ".json")).then(function (data) {
|
|
@@ -6702,7 +6704,7 @@ var SettingsModal = function SettingsModal(_ref5) {
|
|
|
6702
6704
|
width: width,
|
|
6703
6705
|
height: height,
|
|
6704
6706
|
children: /*#__PURE__*/jsxs("div", {
|
|
6705
|
-
className: "flex flex-row h-full w-full rounded-lg overflow-clip ".concat(panelStyles.backgroundColor || "", " ").concat(panelStyles.borderColor || "", " border ").concat(className),
|
|
6707
|
+
className: "flex flex-row h-full w-full rounded-lg overflow-clip ".concat(panelStyles.backgroundColor || "", " ").concat(panelStyles.borderColor || "", " ").concat(panelStyles.textColor || "", " border ").concat(className),
|
|
6706
6708
|
children: [sidebar, /*#__PURE__*/jsx("div", {
|
|
6707
6709
|
className: "flex flex-col flex-1 min-w-0",
|
|
6708
6710
|
children: otherChildren
|