@mongodb-js/compass-components 1.61.1 → 1.63.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/actions/dropdown-menu-button.d.ts.map +1 -1
- package/lib/components/actions/dropdown-menu-button.js +2 -2
- package/lib/components/actions/dropdown-menu-button.js.map +1 -1
- package/lib/components/bson-value.d.ts.map +1 -1
- package/lib/components/bson-value.js +85 -52
- package/lib/components/bson-value.js.map +1 -1
- package/lib/components/document-list/element-editors.d.ts +4 -0
- package/lib/components/document-list/element-editors.d.ts.map +1 -1
- package/lib/components/document-list/element-editors.js +46 -9
- 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 +44 -7
- 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/error-boundary.js +3 -6
- package/lib/components/error-boundary.js.map +1 -1
- package/lib/components/guide-cue/guide-cue-exceptions.js +4 -4
- package/lib/components/guide-cue/guide-cue-exceptions.js.map +1 -1
- package/lib/components/guide-cue/guide-cue-service.js +4 -3
- package/lib/components/guide-cue/guide-cue-service.js.map +1 -1
- package/lib/components/guide-cue/guide-cue-storage.js +2 -0
- package/lib/components/guide-cue/guide-cue-storage.js.map +1 -1
- package/lib/components/modals/form-modal.d.ts.map +1 -1
- package/lib/components/modals/form-modal.js +9 -4
- package/lib/components/modals/form-modal.js.map +1 -1
- package/lib/components/modals/info-modal.d.ts.map +1 -1
- package/lib/components/modals/info-modal.js +1 -2
- package/lib/components/modals/info-modal.js.map +1 -1
- package/lib/components/select-list.d.ts +1 -0
- package/lib/components/select-list.d.ts.map +1 -1
- package/lib/components/select-list.js +11 -4
- package/lib/components/select-list.js.map +1 -1
- package/lib/components/signals.js +5 -5
- package/lib/components/signals.js.map +1 -1
- package/lib/hooks/use-confirmation.js +2 -4
- package/lib/hooks/use-confirmation.js.map +1 -1
- package/lib/hooks/use-toast.js +5 -7
- package/lib/hooks/use-toast.js.map +1 -1
- package/package.json +54 -54
- package/lib/components/modals/modal-footer-button.d.ts +0 -5
- package/lib/components/modals/modal-footer-button.d.ts.map +0 -1
- package/lib/components/modals/modal-footer-button.js +0 -35
- package/lib/components/modals/modal-footer-button.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mongodb-js/compass-components",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.63.0",
|
|
4
4
|
"description": "React Components used in Compass",
|
|
5
5
|
"license": "SSPL",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -35,69 +35,69 @@
|
|
|
35
35
|
"@dnd-kit/core": "^6.0.7",
|
|
36
36
|
"@dnd-kit/sortable": "^7.0.2",
|
|
37
37
|
"@dnd-kit/utilities": "^3.2.1",
|
|
38
|
-
"@leafygreen-ui/avatar": "^3.
|
|
39
|
-
"@leafygreen-ui/badge": "^10.2.
|
|
40
|
-
"@leafygreen-ui/banner": "^10.2.
|
|
41
|
-
"@leafygreen-ui/button": "^25.1
|
|
42
|
-
"@leafygreen-ui/card": "^13.3.
|
|
43
|
-
"@leafygreen-ui/checkbox": "^18.1.
|
|
44
|
-
"@leafygreen-ui/chip": "^4.
|
|
45
|
-
"@leafygreen-ui/code": "^20.2.
|
|
46
|
-
"@leafygreen-ui/combobox": "^12.
|
|
47
|
-
"@leafygreen-ui/confirmation-modal": "^
|
|
48
|
-
"@leafygreen-ui/copyable": "^12.0.
|
|
49
|
-
"@leafygreen-ui/drawer": "^5.2.
|
|
38
|
+
"@leafygreen-ui/avatar": "^3.3.0",
|
|
39
|
+
"@leafygreen-ui/badge": "^10.2.4",
|
|
40
|
+
"@leafygreen-ui/banner": "^10.2.5",
|
|
41
|
+
"@leafygreen-ui/button": "^25.2.1",
|
|
42
|
+
"@leafygreen-ui/card": "^13.3.1",
|
|
43
|
+
"@leafygreen-ui/checkbox": "^18.1.5",
|
|
44
|
+
"@leafygreen-ui/chip": "^4.2.1",
|
|
45
|
+
"@leafygreen-ui/code": "^20.2.7",
|
|
46
|
+
"@leafygreen-ui/combobox": "^12.5.0",
|
|
47
|
+
"@leafygreen-ui/confirmation-modal": "^11.0.1",
|
|
48
|
+
"@leafygreen-ui/copyable": "^12.0.3",
|
|
49
|
+
"@leafygreen-ui/drawer": "^5.2.3",
|
|
50
50
|
"@leafygreen-ui/emotion": "^5.2.0",
|
|
51
51
|
"@leafygreen-ui/guide-cue": "^8.2.0",
|
|
52
|
-
"@leafygreen-ui/hooks": "^9.3.
|
|
52
|
+
"@leafygreen-ui/hooks": "^9.3.1",
|
|
53
53
|
"@leafygreen-ui/icon": "^14.8.0",
|
|
54
|
-
"@leafygreen-ui/icon-button": "^17.1.
|
|
55
|
-
"@leafygreen-ui/info-sprinkle": "^5.0.
|
|
56
|
-
"@leafygreen-ui/input-option": "^4.1.
|
|
54
|
+
"@leafygreen-ui/icon-button": "^17.1.5",
|
|
55
|
+
"@leafygreen-ui/info-sprinkle": "^5.0.11",
|
|
56
|
+
"@leafygreen-ui/input-option": "^4.1.5",
|
|
57
57
|
"@leafygreen-ui/leafygreen-provider": "^5.0.4",
|
|
58
58
|
"@leafygreen-ui/logo": "^11.1.0",
|
|
59
|
-
"@leafygreen-ui/marketing-modal": "^8.1
|
|
60
|
-
"@leafygreen-ui/menu": "^33.1
|
|
61
|
-
"@leafygreen-ui/modal": "^
|
|
59
|
+
"@leafygreen-ui/marketing-modal": "^8.2.1",
|
|
60
|
+
"@leafygreen-ui/menu": "^33.2.1",
|
|
61
|
+
"@leafygreen-ui/modal": "^22.0.1",
|
|
62
62
|
"@leafygreen-ui/palette": "^5.0.2",
|
|
63
|
-
"@leafygreen-ui/pipeline": "^8.0.
|
|
63
|
+
"@leafygreen-ui/pipeline": "^8.0.10",
|
|
64
64
|
"@leafygreen-ui/polymorphic": "^3.1.0",
|
|
65
|
-
"@leafygreen-ui/popover": "^14.3.
|
|
65
|
+
"@leafygreen-ui/popover": "^14.3.2",
|
|
66
66
|
"@leafygreen-ui/portal": "^7.1.0",
|
|
67
|
-
"@leafygreen-ui/progress-bar": "^1.0.
|
|
68
|
-
"@leafygreen-ui/radio-box-group": "^15.0.
|
|
69
|
-
"@leafygreen-ui/radio-group": "^13.0.
|
|
70
|
-
"@leafygreen-ui/search-input": "^6.1.
|
|
71
|
-
"@leafygreen-ui/segmented-control": "^11.0
|
|
72
|
-
"@leafygreen-ui/select": "^17.0.
|
|
73
|
-
"@leafygreen-ui/skeleton-loader": "^3.0.
|
|
74
|
-
"@leafygreen-ui/split-button": "^6.3.
|
|
75
|
-
"@leafygreen-ui/table": "^15.2.
|
|
76
|
-
"@leafygreen-ui/tabs": "^17.0.
|
|
77
|
-
"@leafygreen-ui/text-area": "^12.1.
|
|
78
|
-
"@leafygreen-ui/text-input": "^16.2.
|
|
79
|
-
"@leafygreen-ui/toast": "^8.1.
|
|
80
|
-
"@leafygreen-ui/toggle": "^12.1.
|
|
81
|
-
"@leafygreen-ui/tokens": "^4.2.
|
|
82
|
-
"@leafygreen-ui/tooltip": "^14.3.
|
|
83
|
-
"@leafygreen-ui/typography": "^22.2.
|
|
84
|
-
"@lg-chat/chat-window": "^6.0.
|
|
85
|
-
"@lg-chat/input-bar": "^12.2.
|
|
67
|
+
"@leafygreen-ui/progress-bar": "^1.0.8",
|
|
68
|
+
"@leafygreen-ui/radio-box-group": "^15.0.11",
|
|
69
|
+
"@leafygreen-ui/radio-group": "^13.0.12",
|
|
70
|
+
"@leafygreen-ui/search-input": "^6.1.3",
|
|
71
|
+
"@leafygreen-ui/segmented-control": "^11.1.0",
|
|
72
|
+
"@leafygreen-ui/select": "^17.0.3",
|
|
73
|
+
"@leafygreen-ui/skeleton-loader": "^3.0.11",
|
|
74
|
+
"@leafygreen-ui/split-button": "^6.3.1",
|
|
75
|
+
"@leafygreen-ui/table": "^15.2.3",
|
|
76
|
+
"@leafygreen-ui/tabs": "^17.0.11",
|
|
77
|
+
"@leafygreen-ui/text-area": "^12.1.5",
|
|
78
|
+
"@leafygreen-ui/text-input": "^16.2.3",
|
|
79
|
+
"@leafygreen-ui/toast": "^8.1.3",
|
|
80
|
+
"@leafygreen-ui/toggle": "^12.1.5",
|
|
81
|
+
"@leafygreen-ui/tokens": "^4.2.2",
|
|
82
|
+
"@leafygreen-ui/tooltip": "^14.3.1",
|
|
83
|
+
"@leafygreen-ui/typography": "^22.2.4",
|
|
84
|
+
"@lg-chat/chat-window": "^6.0.2",
|
|
85
|
+
"@lg-chat/input-bar": "^12.2.2",
|
|
86
86
|
"@lg-chat/leafygreen-chat-provider": "^6.0.0",
|
|
87
|
-
"@lg-chat/message": "^
|
|
88
|
-
"@lg-chat/message-prompts": "^4.2.
|
|
89
|
-
"@mongodb-js/compass-context-menu": "^0.3.
|
|
90
|
-
"@mongodb-js/diagramming": "^2.3.
|
|
87
|
+
"@lg-chat/message": "^12.0.0",
|
|
88
|
+
"@lg-chat/message-prompts": "^4.2.2",
|
|
89
|
+
"@mongodb-js/compass-context-menu": "^0.3.6",
|
|
90
|
+
"@mongodb-js/diagramming": "^2.3.3",
|
|
91
91
|
"@react-aria/interactions": "^3.9.1",
|
|
92
92
|
"@react-aria/utils": "^3.13.1",
|
|
93
93
|
"@react-aria/visually-hidden": "^3.3.1",
|
|
94
|
-
"bson": "^
|
|
94
|
+
"bson": "^7.2.0",
|
|
95
95
|
"focus-trap-react": "^9.0.2",
|
|
96
|
-
"hadron-document": "^8.
|
|
97
|
-
"hadron-type-checker": "^7.
|
|
96
|
+
"hadron-document": "^8.11.0",
|
|
97
|
+
"hadron-type-checker": "^7.5.0",
|
|
98
98
|
"is-electron-renderer": "^2.0.1",
|
|
99
|
-
"lodash": "^4.17.
|
|
100
|
-
"mongodb-query-util": "^2.
|
|
99
|
+
"lodash": "^4.17.23",
|
|
100
|
+
"mongodb-query-util": "^2.6.0",
|
|
101
101
|
"polished": "^4.2.2",
|
|
102
102
|
"react": "^17.0.2",
|
|
103
103
|
"react-dom": "^17.0.2",
|
|
@@ -109,11 +109,11 @@
|
|
|
109
109
|
"devDependencies": {
|
|
110
110
|
"@emotion/css": "^11.13.5",
|
|
111
111
|
"@leafygreen-ui/lib": "^15.7.0",
|
|
112
|
-
"@mongodb-js/eslint-config-compass": "^1.4.
|
|
112
|
+
"@mongodb-js/eslint-config-compass": "^1.4.17",
|
|
113
113
|
"@mongodb-js/mocha-config-compass": "^1.7.5",
|
|
114
114
|
"@mongodb-js/prettier-config-compass": "^1.2.9",
|
|
115
|
-
"@mongodb-js/testing-library-compass": "^1.
|
|
116
|
-
"@mongodb-js/tsconfig-compass": "^1.2.
|
|
115
|
+
"@mongodb-js/testing-library-compass": "^1.5.0",
|
|
116
|
+
"@mongodb-js/tsconfig-compass": "^1.2.14",
|
|
117
117
|
"@types/chai": "^4.2.21",
|
|
118
118
|
"@types/chai-dom": "^0.0.10",
|
|
119
119
|
"@types/mocha": "^9.0.0",
|
|
@@ -132,5 +132,5 @@
|
|
|
132
132
|
"publishConfig": {
|
|
133
133
|
"access": "public"
|
|
134
134
|
},
|
|
135
|
-
"gitHead": "
|
|
135
|
+
"gitHead": "3473b2aeed26412f25423caf7f1f7ca848665e34"
|
|
136
136
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"modal-footer-button.d.ts","sourceRoot":"","sources":["../../../src/components/modals/modal-footer-button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAyBzD,iBAAS,iBAAiB,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,WAAW,qBAY9D;AAED,OAAO,EAAE,iBAAiB,EAAE,CAAC"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.ModalFooterButton = ModalFooterButton;
|
|
7
|
-
const react_1 = __importDefault(require("react"));
|
|
8
|
-
const emotion_1 = require("@leafygreen-ui/emotion");
|
|
9
|
-
const leafygreen_1 = require("../leafygreen");
|
|
10
|
-
const use_theme_1 = require("../../hooks/use-theme");
|
|
11
|
-
const buttonStyle = {
|
|
12
|
-
[use_theme_1.Themes.Light]: (0, emotion_1.css)({
|
|
13
|
-
margin: '0 2px',
|
|
14
|
-
'&:first-of-type': {
|
|
15
|
-
margin: '0 0 0 5px',
|
|
16
|
-
},
|
|
17
|
-
'&:last-of-type': {
|
|
18
|
-
margin: '0 5px 0 0',
|
|
19
|
-
},
|
|
20
|
-
}),
|
|
21
|
-
[use_theme_1.Themes.Dark]: (0, emotion_1.css)({
|
|
22
|
-
margin: '0 2px',
|
|
23
|
-
'&:first-of-type': {
|
|
24
|
-
margin: '0 0 0 4px',
|
|
25
|
-
},
|
|
26
|
-
'&:last-of-type': {
|
|
27
|
-
margin: '0 4px 0 0',
|
|
28
|
-
},
|
|
29
|
-
}),
|
|
30
|
-
};
|
|
31
|
-
function ModalFooterButton({ className, ...props }) {
|
|
32
|
-
const darkMode = (0, use_theme_1.useDarkMode)();
|
|
33
|
-
return (react_1.default.createElement(leafygreen_1.Button, { ...props, className: (0, emotion_1.cx)(className, buttonStyle[darkMode ? use_theme_1.Themes.Dark : use_theme_1.Themes.Light]) }));
|
|
34
|
-
}
|
|
35
|
-
//# sourceMappingURL=modal-footer-button.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"modal-footer-button.js","sourceRoot":"","sources":["../../../src/components/modals/modal-footer-button.tsx"],"names":[],"mappings":";;;;;AAyCS,8CAAiB;AAzC1B,kDAA0B;AAC1B,oDAAiD;AAEjD,8CAAuC;AACvC,qDAA4D;AAE5D,MAAM,WAAW,GAAG;IAClB,CAAC,kBAAM,CAAC,KAAK,CAAC,EAAE,IAAA,aAAG,EAAC;QAClB,MAAM,EAAE,OAAO;QACf,iBAAiB,EAAE;YACjB,MAAM,EAAE,WAAW;SACpB;QACD,gBAAgB,EAAE;YAChB,MAAM,EAAE,WAAW;SACpB;KACF,CAAC;IACF,CAAC,kBAAM,CAAC,IAAI,CAAC,EAAE,IAAA,aAAG,EAAC;QACjB,MAAM,EAAE,OAAO;QACf,iBAAiB,EAAE;YACjB,MAAM,EAAE,WAAW;SACpB;QACD,gBAAgB,EAAE;YAChB,MAAM,EAAE,WAAW;SACpB;KACF,CAAC;CACH,CAAC;AAEF,SAAS,iBAAiB,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAe;IAC7D,MAAM,QAAQ,GAAG,IAAA,uBAAW,GAAE,CAAC;IAE/B,OAAO,CACL,8BAAC,mBAAM,OACD,KAAK,EACT,SAAS,EAAE,IAAA,YAAE,EACX,SAAS,EACT,WAAW,CAAC,QAAQ,CAAC,CAAC,CAAC,kBAAM,CAAC,IAAI,CAAC,CAAC,CAAC,kBAAM,CAAC,KAAK,CAAC,CACnD,GACD,CACH,CAAC;AACJ,CAAC"}
|