@mongodb-js/compass-components 0.15.0 → 0.16.0
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/lib/components/accordion.d.ts.map +1 -1
- package/lib/components/accordion.js +0 -1
- package/lib/components/accordion.js.map +1 -1
- package/lib/components/cancel-loader.d.ts +2 -2
- package/lib/components/cancel-loader.d.ts.map +1 -1
- package/lib/components/cancel-loader.js +2 -2
- package/lib/components/cancel-loader.js.map +1 -1
- package/lib/components/document-list/document-edit-actions-footer.d.ts +15 -0
- package/lib/components/document-list/document-edit-actions-footer.d.ts.map +1 -0
- package/lib/components/document-list/document-edit-actions-footer.js +255 -0
- package/lib/components/document-list/document-edit-actions-footer.js.map +1 -0
- package/lib/components/document-list/element-editors.d.ts.map +1 -1
- package/lib/components/document-list/element-editors.js +4 -2
- package/lib/components/document-list/element-editors.js.map +1 -1
- package/lib/components/document-list/element.d.ts.map +1 -1
- package/lib/components/document-list/element.js +7 -5
- package/lib/components/document-list/element.js.map +1 -1
- package/lib/components/document-list/index.d.ts +1 -0
- package/lib/components/document-list/index.d.ts.map +1 -1
- package/lib/components/document-list/index.js +3 -1
- package/lib/components/document-list/index.js.map +1 -1
- package/lib/components/editor.d.ts +7 -4
- package/lib/components/editor.d.ts.map +1 -1
- package/lib/components/editor.js +19 -6
- package/lib/components/editor.js.map +1 -1
- package/lib/components/leafygreen.d.ts +3 -1
- package/lib/components/leafygreen.d.ts.map +1 -1
- package/lib/components/leafygreen.js +4 -1
- package/lib/components/leafygreen.js.map +1 -1
- package/lib/components/more-options-toggle.d.ts +11 -0
- package/lib/components/more-options-toggle.d.ts.map +1 -0
- package/lib/components/more-options-toggle.js +56 -0
- package/lib/components/more-options-toggle.js.map +1 -0
- package/lib/constants/mongodb-ace-theme-query.d.ts +4 -0
- package/lib/constants/mongodb-ace-theme-query.d.ts.map +1 -0
- package/lib/constants/mongodb-ace-theme-query.js +235 -0
- package/lib/constants/mongodb-ace-theme-query.js.map +1 -0
- package/lib/constants/mongodb-ace-theme.d.ts +3 -0
- package/lib/constants/mongodb-ace-theme.d.ts.map +1 -0
- package/lib/constants/mongodb-ace-theme.js +113 -0
- package/lib/constants/mongodb-ace-theme.js.map +1 -0
- package/lib/hooks/use-focus-ring.d.ts +2 -2
- package/lib/hooks/use-focus-ring.d.ts.map +1 -1
- package/lib/hooks/use-focus-ring.js +4 -4
- package/lib/hooks/use-focus-ring.js.map +1 -1
- package/lib/index.d.ts +4 -3
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +7 -2
- package/lib/index.js.map +1 -1
- package/package.json +13 -16
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.useFocusRing = exports.
|
|
3
|
+
exports.useFocusRing = exports.focusRingVisibleStyles = exports.focusRingStyles = void 0;
|
|
4
4
|
const tokens_1 = require("@leafygreen-ui/tokens");
|
|
5
5
|
const emotion_1 = require("@leafygreen-ui/emotion");
|
|
6
6
|
const palette_1 = require("@leafygreen-ui/palette");
|
|
7
7
|
const use_focus_hover_1 = require("./use-focus-hover");
|
|
8
|
-
exports.
|
|
8
|
+
exports.focusRingStyles = (0, emotion_1.css)({
|
|
9
9
|
position: 'relative',
|
|
10
10
|
outline: 'none',
|
|
11
11
|
'&::after': {
|
|
@@ -21,7 +21,7 @@ exports.focusRing = (0, emotion_1.css)({
|
|
|
21
21
|
transition: 'box-shadow .16s ease-in',
|
|
22
22
|
},
|
|
23
23
|
});
|
|
24
|
-
exports.
|
|
24
|
+
exports.focusRingVisibleStyles = (0, emotion_1.css)({
|
|
25
25
|
'&::after': {
|
|
26
26
|
boxShadow: `0 0 0 3px ${palette_1.uiColors.focus}`,
|
|
27
27
|
transitionTimingFunction: 'ease-out',
|
|
@@ -31,7 +31,7 @@ function useFocusRing() {
|
|
|
31
31
|
const [focusProps, focusState] = (0, use_focus_hover_1.useFocusState)();
|
|
32
32
|
return {
|
|
33
33
|
...focusProps,
|
|
34
|
-
className: (0, emotion_1.cx)(exports.
|
|
34
|
+
className: (0, emotion_1.cx)(exports.focusRingStyles, focusState === use_focus_hover_1.FocusState.FocusVisible && exports.focusRingVisibleStyles),
|
|
35
35
|
};
|
|
36
36
|
}
|
|
37
37
|
exports.useFocusRing = useFocusRing;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-focus-ring.js","sourceRoot":"","sources":["../../src/hooks/use-focus-ring.ts"],"names":[],"mappings":";;;AACA,kDAAgD;AAChD,oDAAiD;AACjD,oDAAkD;AAClD,uDAA8D;AAEjD,QAAA,
|
|
1
|
+
{"version":3,"file":"use-focus-ring.js","sourceRoot":"","sources":["../../src/hooks/use-focus-ring.ts"],"names":[],"mappings":";;;AACA,kDAAgD;AAChD,oDAAiD;AACjD,oDAAkD;AAClD,uDAA8D;AAEjD,QAAA,eAAe,GAAG,IAAA,aAAG,EAAC;IACjC,QAAQ,EAAE,UAAU;IACpB,OAAO,EAAE,MAAM;IACf,UAAU,EAAE;QACV,QAAQ,EAAE,UAAU;QACpB,OAAO,EAAE,IAAI;QACb,aAAa,EAAE,MAAM;QACrB,GAAG,EAAE,CAAC;QACN,KAAK,EAAE,CAAC;QACR,MAAM,EAAE,CAAC;QACT,IAAI,EAAE,CAAC;QACP,YAAY,EAAE,gBAAO,CAAC,CAAC,CAAC;QACxB,SAAS,EAAE,WAAW,kBAAQ,CAAC,KAAK,EAAE;QACtC,UAAU,EAAE,yBAAyB;KACtC;CACF,CAAC,CAAC;AAEU,QAAA,sBAAsB,GAAG,IAAA,aAAG,EAAC;IACxC,UAAU,EAAE;QACV,SAAS,EAAE,aAAa,kBAAQ,CAAC,KAAK,EAAE;QACxC,wBAAwB,EAAE,UAAU;KACrC;CACF,CAAC,CAAC;AAEH,SAAgB,YAAY;IAC1B,MAAM,CAAC,UAAU,EAAE,UAAU,CAAC,GAAG,IAAA,+BAAa,GAAE,CAAC;IAEjD,OAAO;QACL,GAAG,UAAU;QACb,SAAS,EAAE,IAAA,YAAE,EACX,uBAAe,EACf,UAAU,KAAK,4BAAU,CAAC,YAAY,IAAI,8BAAsB,CACjE;KACF,CAAC;AACJ,CAAC;AAVD,oCAUC"}
|
package/lib/index.d.ts
CHANGED
|
@@ -6,13 +6,14 @@ import FileInput from './components/file-input';
|
|
|
6
6
|
import { Modal } from './components/modal';
|
|
7
7
|
import { ModalTitle } from './components/modal-title';
|
|
8
8
|
import { Toolbar } from './components/toolbar';
|
|
9
|
+
import { MoreOptionsToggle } from './components/more-options-toggle';
|
|
9
10
|
import { ErrorSummary, WarningSummary } from './components/error-warning-summary';
|
|
10
11
|
import { RadioBoxGroup } from './components/radio-box-group';
|
|
11
12
|
import { SpinLoader } from './components/spin-loader';
|
|
12
13
|
import { ResizeHandle, ResizeDirection } from './components/resize-handle';
|
|
13
14
|
import { Accordion } from './components/accordion';
|
|
14
15
|
import { WorkspaceTabs } from './components/workspace-tabs/workspace-tabs';
|
|
15
|
-
export { Editor, EditorVariant, EditorTextCompleter, } from './components/editor';
|
|
16
|
+
export { Editor, EditorVariant, EditorTextCompleter, setEditorValue, } from './components/editor';
|
|
16
17
|
export { FavoriteIcon } from './components/icons/favorite-icon';
|
|
17
18
|
export { Variant as BadgeVariant } from '@leafygreen-ui/badge';
|
|
18
19
|
export { Variant as BannerVariant } from '@leafygreen-ui/banner';
|
|
@@ -30,7 +31,7 @@ export { useToast, ToastArea } from './hooks/use-toast';
|
|
|
30
31
|
export { Toggle } from './components/toggle';
|
|
31
32
|
export { breakpoints, spacing } from '@leafygreen-ui/tokens';
|
|
32
33
|
export { Tooltip } from './components/tooltip';
|
|
33
|
-
export { Accordion, CancelLoader, ConfirmationModal, ErrorSummary, FileInput, Modal, ModalTitle, RadioBoxGroup, SpinLoader, ResizeHandle, ResizeDirection, Toolbar, WarningSummary, WorkspaceTabs, };
|
|
34
|
+
export { Accordion, CancelLoader, ConfirmationModal, ErrorSummary, FileInput, Modal, ModalTitle, MoreOptionsToggle, RadioBoxGroup, SpinLoader, ResizeHandle, ResizeDirection, Toolbar, WarningSummary, WorkspaceTabs, };
|
|
34
35
|
export { useFocusState, useHoverState, FocusState, } from './hooks/use-focus-hover';
|
|
35
36
|
export { withTheme, useTheme, Theme, ThemeProvider } from './hooks/use-theme';
|
|
36
37
|
export { ContentWithFallback, FadeInPlaceholder, } from './components/content-with-fallback';
|
|
@@ -45,7 +46,7 @@ export { Placeholder } from './components/placeholder';
|
|
|
45
46
|
export { useDOMRect } from './hooks/use-dom-rect';
|
|
46
47
|
export { VirtualGrid } from './components/virtual-grid';
|
|
47
48
|
export { mergeProps } from './utils/merge-props';
|
|
48
|
-
export { useFocusRing } from './hooks/use-focus-ring';
|
|
49
|
+
export { focusRingStyles, focusRingVisibleStyles, useFocusRing, } from './hooks/use-focus-ring';
|
|
49
50
|
export { useDefaultAction } from './hooks/use-default-action';
|
|
50
51
|
export { useSortControls, useSortedItems } from './hooks/use-sort';
|
|
51
52
|
export { Pipeline, Stage } from '@leafygreen-ui/pipeline';
|
package/lib/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC;AAExC,OAAO,EACL,OAAO,IAAI,OAAO,EAClB,KAAK,EACL,OAAO,EACP,EAAE,EACF,KAAK,EACL,mBAAmB,EACnB,YAAY,EACZ,SAAS,EACT,GAAG,EACH,KAAK,EACL,KAAK,GACN,MAAM,wBAAwB,CAAC;AAChC,OAAO,YAAY,MAAM,4BAA4B,CAAC;AACtD,OAAO,iBAAiB,MAAM,iCAAiC,CAAC;AAChE,OAAO,SAAS,MAAM,yBAAyB,CAAC;AAChD,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAE,OAAO,EAAE,MAAM,sBA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AO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,KAAK,YAAY,MAAM,4BAA4B,CAAC"}
|
package/lib/index.js
CHANGED
|
@@ -25,8 +25,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
25
25
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
26
26
|
};
|
|
27
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
-
exports.
|
|
29
|
-
exports.DocumentList = exports.BSONValue = exports.Stage = exports.Pipeline = exports.useSortedItems = exports.useSortControls = exports.useDefaultAction = exports.useFocusRing = exports.mergeProps = exports.VirtualGrid = exports.useDOMRect = exports.Placeholder = exports.InlineInfoLink = exports.WorkspaceContainer = exports.TabNavBar = exports.ErrorBoundary = exports.InlineDefinition = exports.FadeInPlaceholder = exports.ContentWithFallback = exports.ThemeProvider = exports.Theme = exports.useTheme = exports.withTheme = exports.FocusState = void 0;
|
|
28
|
+
exports.WorkspaceTabs = exports.WarningSummary = exports.Toolbar = exports.ResizeDirection = exports.ResizeHandle = exports.SpinLoader = exports.RadioBoxGroup = exports.MoreOptionsToggle = exports.ModalTitle = exports.Modal = exports.FileInput = exports.ErrorSummary = exports.ConfirmationModal = exports.CancelLoader = exports.Accordion = exports.Tooltip = exports.spacing = exports.breakpoints = exports.Toggle = exports.ToastArea = exports.useToast = exports.ToastVariant = exports.SelectSize = exports.RadioBoxSize = exports.Portal = exports.compassUIColors = exports.compassFontSizes = exports.uiColors = exports.LeafyGreenProvider = exports.Checkbox = exports.ButtonVariant = exports.ButtonSize = exports.BannerVariant = exports.BadgeVariant = exports.FavoriteIcon = exports.setEditorValue = exports.EditorTextCompleter = exports.EditorVariant = exports.Editor = exports.cache = exports.sheet = exports.css = exports.keyframes = exports.injectGlobal = exports.getRegisteredStyles = exports.merge = exports.cx = exports.hydrate = exports.flush = exports.emotion = void 0;
|
|
29
|
+
exports.DocumentList = exports.BSONValue = exports.Stage = exports.Pipeline = exports.useSortedItems = exports.useSortControls = exports.useDefaultAction = exports.useFocusRing = exports.focusRingVisibleStyles = exports.focusRingStyles = exports.mergeProps = exports.VirtualGrid = exports.useDOMRect = exports.Placeholder = exports.InlineInfoLink = exports.WorkspaceContainer = exports.TabNavBar = exports.ErrorBoundary = exports.InlineDefinition = exports.FadeInPlaceholder = exports.ContentWithFallback = exports.ThemeProvider = exports.Theme = exports.useTheme = exports.withTheme = exports.FocusState = exports.useHoverState = exports.useFocusState = void 0;
|
|
30
30
|
__exportStar(require("./components/leafygreen"), exports);
|
|
31
31
|
var emotion_1 = require("@leafygreen-ui/emotion");
|
|
32
32
|
Object.defineProperty(exports, "emotion", { enumerable: true, get: function () { return __importDefault(emotion_1).default; } });
|
|
@@ -52,6 +52,8 @@ const modal_title_1 = require("./components/modal-title");
|
|
|
52
52
|
Object.defineProperty(exports, "ModalTitle", { enumerable: true, get: function () { return modal_title_1.ModalTitle; } });
|
|
53
53
|
const toolbar_1 = require("./components/toolbar");
|
|
54
54
|
Object.defineProperty(exports, "Toolbar", { enumerable: true, get: function () { return toolbar_1.Toolbar; } });
|
|
55
|
+
const more_options_toggle_1 = require("./components/more-options-toggle");
|
|
56
|
+
Object.defineProperty(exports, "MoreOptionsToggle", { enumerable: true, get: function () { return more_options_toggle_1.MoreOptionsToggle; } });
|
|
55
57
|
const error_warning_summary_1 = require("./components/error-warning-summary");
|
|
56
58
|
Object.defineProperty(exports, "ErrorSummary", { enumerable: true, get: function () { return error_warning_summary_1.ErrorSummary; } });
|
|
57
59
|
Object.defineProperty(exports, "WarningSummary", { enumerable: true, get: function () { return error_warning_summary_1.WarningSummary; } });
|
|
@@ -70,6 +72,7 @@ var editor_1 = require("./components/editor");
|
|
|
70
72
|
Object.defineProperty(exports, "Editor", { enumerable: true, get: function () { return editor_1.Editor; } });
|
|
71
73
|
Object.defineProperty(exports, "EditorVariant", { enumerable: true, get: function () { return editor_1.EditorVariant; } });
|
|
72
74
|
Object.defineProperty(exports, "EditorTextCompleter", { enumerable: true, get: function () { return editor_1.EditorTextCompleter; } });
|
|
75
|
+
Object.defineProperty(exports, "setEditorValue", { enumerable: true, get: function () { return editor_1.setEditorValue; } });
|
|
73
76
|
var favorite_icon_1 = require("./components/icons/favorite-icon");
|
|
74
77
|
Object.defineProperty(exports, "FavoriteIcon", { enumerable: true, get: function () { return favorite_icon_1.FavoriteIcon; } });
|
|
75
78
|
var badge_1 = require("@leafygreen-ui/badge");
|
|
@@ -136,6 +139,8 @@ Object.defineProperty(exports, "VirtualGrid", { enumerable: true, get: function
|
|
|
136
139
|
var merge_props_1 = require("./utils/merge-props");
|
|
137
140
|
Object.defineProperty(exports, "mergeProps", { enumerable: true, get: function () { return merge_props_1.mergeProps; } });
|
|
138
141
|
var use_focus_ring_1 = require("./hooks/use-focus-ring");
|
|
142
|
+
Object.defineProperty(exports, "focusRingStyles", { enumerable: true, get: function () { return use_focus_ring_1.focusRingStyles; } });
|
|
143
|
+
Object.defineProperty(exports, "focusRingVisibleStyles", { enumerable: true, get: function () { return use_focus_ring_1.focusRingVisibleStyles; } });
|
|
139
144
|
Object.defineProperty(exports, "useFocusRing", { enumerable: true, get: function () { return use_focus_ring_1.useFocusRing; } });
|
|
140
145
|
var use_default_action_1 = require("./hooks/use-default-action");
|
|
141
146
|
Object.defineProperty(exports, "useDefaultAction", { enumerable: true, get: function () { return use_default_action_1.useDefaultAction; } });
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,0DAAwC;AAExC,kDAYgC;AAX9B,mHAAA,OAAO,OAAW;AAClB,gGAAA,KAAK,OAAA;AACL,kGAAA,OAAO,OAAA;AACP,6FAAA,EAAE,OAAA;AACF,gGAAA,KAAK,OAAA;AACL,8GAAA,mBAAmB,OAAA;AACnB,uGAAA,YAAY,OAAA;AACZ,oGAAA,S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A7D,yHAAA,kBAAkB,OAAA;AAC3B,kEAA+D;AAAtD,kHAAA,cAAc,OAAA;AACvB,wDAAuD;AAA9C,0GAAA,WAAW,OAAA;AACpB,qDAAkD;AAAzC,0GAAA,UAAU,OAAA;AACnB,0DAAwD;AAA/C,2GAAA,WAAW,OAAA;AACpB,mDAAiD;AAAxC,yGAAA,UAAU,OAAA;AACnB,yDAIgC;AAH9B,iHAAA,eAAe,OAAA;AACf,wHAAA,sBAAsB,OAAA;AACtB,8GAAA,YAAY,OAAA;AAEd,iEAA8D;AAArD,sHAAA,gBAAgB,OAAA;AACzB,6CAAmE;AAA1D,2GAAA,eAAe,OAAA;AAAE,0GAAA,cAAc,OAAA;AACxC,oDAA0D;AAAjD,oGAAA,QAAQ,OAAA;AAAE,iGAAA,KAAK,OAAA;AAExB,sDAA+D;AAAtD,wHAAA,OAAO,OAAa;AAC7B,2EAA2D"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mongodb-js/compass-components",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.16.0",
|
|
4
4
|
"description": "React Components used in Compass",
|
|
5
5
|
"license": "SSPL",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -36,6 +36,7 @@
|
|
|
36
36
|
"@leafygreen-ui/button": "^12.0.5",
|
|
37
37
|
"@leafygreen-ui/card": "^5.1.4",
|
|
38
38
|
"@leafygreen-ui/checkbox": "^6.0.6",
|
|
39
|
+
"@leafygreen-ui/code": "^9.4.0",
|
|
39
40
|
"@leafygreen-ui/confirmation-modal": "^2.2.3",
|
|
40
41
|
"@leafygreen-ui/emotion": "^4.0.0",
|
|
41
42
|
"@leafygreen-ui/icon": "^11.7.0",
|
|
@@ -60,13 +61,13 @@
|
|
|
60
61
|
"@leafygreen-ui/tokens": "^0.5.3",
|
|
61
62
|
"@leafygreen-ui/tooltip": "^6.3.1",
|
|
62
63
|
"@leafygreen-ui/typography": "^8.1.0",
|
|
63
|
-
"@mongodb-js/compass-logging": "^0.
|
|
64
|
-
"@react-aria/interactions": "^3.
|
|
65
|
-
"@react-aria/tooltip": "^3.1
|
|
66
|
-
"@react-aria/utils": "^3.
|
|
64
|
+
"@mongodb-js/compass-logging": "^0.13.0",
|
|
65
|
+
"@react-aria/interactions": "^3.9.1",
|
|
66
|
+
"@react-aria/tooltip": "^3.2.1",
|
|
67
|
+
"@react-aria/utils": "^3.13.1",
|
|
67
68
|
"@react-stately/tooltip": "^3.0.5",
|
|
68
69
|
"bson": "^4.6.1",
|
|
69
|
-
"hadron-document": "^7.
|
|
70
|
+
"hadron-document": "^7.12.0",
|
|
70
71
|
"hadron-type-checker": "^6.9.0",
|
|
71
72
|
"react-sortable-hoc": "^2.0.0",
|
|
72
73
|
"react-window": "^1.8.6"
|
|
@@ -74,15 +75,13 @@
|
|
|
74
75
|
"peerDependencies": {
|
|
75
76
|
"ace-builds": "^1.4.3",
|
|
76
77
|
"mongodb-ace-autocompleter": "*",
|
|
77
|
-
"mongodb-ace-mode": "^1.
|
|
78
|
-
"mongodb-ace-theme": "^1.7.0",
|
|
79
|
-
"mongodb-ace-theme-query": "^1.7.0",
|
|
78
|
+
"mongodb-ace-mode": "^1.8.0",
|
|
80
79
|
"react": "^16.14.0",
|
|
81
80
|
"react-ace": "^9.5.0"
|
|
82
81
|
},
|
|
83
82
|
"devDependencies": {
|
|
84
|
-
"@mongodb-js/eslint-config-compass": "^0.
|
|
85
|
-
"@mongodb-js/mocha-config-compass": "^0.
|
|
83
|
+
"@mongodb-js/eslint-config-compass": "^0.10.0",
|
|
84
|
+
"@mongodb-js/mocha-config-compass": "^0.11.0",
|
|
86
85
|
"@mongodb-js/prettier-config-compass": "^0.5.0",
|
|
87
86
|
"@mongodb-js/tsconfig-compass": "^0.6.0",
|
|
88
87
|
"@testing-library/dom": "^8.11.1",
|
|
@@ -97,10 +96,8 @@
|
|
|
97
96
|
"chai": "^4.3.4",
|
|
98
97
|
"eslint": "^7.25.0",
|
|
99
98
|
"mocha": "^8.4.0",
|
|
100
|
-
"mongodb-ace-autocompleter": "
|
|
101
|
-
"mongodb-ace-mode": "^1.
|
|
102
|
-
"mongodb-ace-theme": "^1.7.0",
|
|
103
|
-
"mongodb-ace-theme-query": "^1.7.0",
|
|
99
|
+
"mongodb-ace-autocompleter": "^1.1.1",
|
|
100
|
+
"mongodb-ace-mode": "^1.8.0",
|
|
104
101
|
"nyc": "^15.0.0",
|
|
105
102
|
"prettier": "2.3.2",
|
|
106
103
|
"react": "^16.14.0",
|
|
@@ -118,5 +115,5 @@
|
|
|
118
115
|
"publishConfig": {
|
|
119
116
|
"access": "public"
|
|
120
117
|
},
|
|
121
|
-
"gitHead": "
|
|
118
|
+
"gitHead": "a4e705ec6d13393d2e14e906838bb67548e7ae35"
|
|
122
119
|
}
|