@mongodb-js/compass-components 1.7.0 → 1.8.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/bson-value.d.ts +3 -3
- package/lib/components/bson-value.d.ts.map +1 -1
- package/lib/components/bson-value.js +4 -9
- package/lib/components/bson-value.js.map +1 -1
- package/lib/components/collapsible-field-set.d.ts +2 -2
- package/lib/components/collapsible-field-set.d.ts.map +1 -1
- package/lib/components/combobox/Combobox.d.ts +1 -1
- package/lib/components/combobox/Combobox.js +3 -3
- package/lib/components/combobox/Combobox.js.map +1 -1
- package/lib/components/combobox/Combobox.types.d.ts +10 -10
- package/lib/components/combobox/Combobox.types.d.ts.map +1 -1
- package/lib/components/combobox/utils/getNameAndValue.d.ts +1 -1
- package/lib/components/combobox/utils/getNameAndValue.d.ts.map +1 -1
- package/lib/components/combobox-with-custom-option.d.ts +10 -0
- package/lib/components/combobox-with-custom-option.d.ts.map +1 -0
- package/lib/components/combobox-with-custom-option.js +59 -0
- package/lib/components/combobox-with-custom-option.js.map +1 -0
- package/lib/components/content-with-fallback.d.ts +1 -1
- package/lib/components/content-with-fallback.d.ts.map +1 -1
- package/lib/components/document-list/auto-focus-context.d.ts +1 -1
- package/lib/components/document-list/auto-focus-context.d.ts.map +1 -1
- package/lib/components/empty-content.d.ts +1 -1
- package/lib/components/empty-content.d.ts.map +1 -1
- package/lib/components/error-boundary.d.ts +1 -1
- package/lib/components/error-boundary.d.ts.map +1 -1
- package/lib/components/file-input.d.ts +5 -8
- package/lib/components/file-input.d.ts.map +1 -1
- package/lib/components/file-input.js +29 -12
- package/lib/components/file-input.js.map +1 -1
- package/lib/components/horizontal-rule.d.ts +1 -1
- package/lib/components/icons/no-saved-items-icon.d.ts +1 -1
- package/lib/components/icons/no-saved-items-icon.d.ts.map +1 -1
- package/lib/components/index-icon.d.ts +1 -1
- package/lib/components/index-icon.d.ts.map +1 -1
- package/lib/components/index-keys-badge.d.ts +1 -1
- package/lib/components/index-keys-badge.d.ts.map +1 -1
- package/lib/components/inline-info-link.d.ts +1 -1
- package/lib/components/inline-info-link.d.ts.map +1 -1
- package/lib/components/interactive-popover.d.ts +1 -1
- package/lib/components/interactive-popover.d.ts.map +1 -1
- package/lib/components/item-action-controls.d.ts +10 -7
- package/lib/components/item-action-controls.d.ts.map +1 -1
- package/lib/components/item-action-controls.js +7 -7
- package/lib/components/item-action-controls.js.map +1 -1
- package/lib/components/list-editor.d.ts +1 -1
- package/lib/components/list-editor.d.ts.map +1 -1
- package/lib/components/modals/form-modal.d.ts +2 -2
- package/lib/components/modals/form-modal.d.ts.map +1 -1
- package/lib/components/modals/info-modal.d.ts +1 -1
- package/lib/components/modals/info-modal.d.ts.map +1 -1
- package/lib/components/modals/info-modal.js +2 -1
- package/lib/components/modals/info-modal.js.map +1 -1
- package/lib/components/modals/modal-body.d.ts +2 -2
- package/lib/components/modals/modal-body.d.ts.map +1 -1
- package/lib/components/modals/modal-header.d.ts +2 -2
- package/lib/components/modals/modal-header.d.ts.map +1 -1
- package/lib/components/more-options-toggle.d.ts +1 -1
- package/lib/components/more-options-toggle.d.ts.map +1 -1
- package/lib/components/more-options-toggle.js +4 -1
- package/lib/components/more-options-toggle.js.map +1 -1
- package/lib/components/placeholder.d.ts +1 -0
- package/lib/components/placeholder.d.ts.map +1 -1
- package/lib/components/placeholder.js +2 -1
- package/lib/components/placeholder.js.map +1 -1
- package/lib/components/store-connector.d.ts +1 -1
- package/lib/components/store-connector.d.ts.map +1 -1
- package/lib/components/tab-nav-bar.d.ts +1 -1
- package/lib/components/tab-nav-bar.d.ts.map +1 -1
- package/lib/components/tooltip.d.ts +3 -3
- package/lib/components/tooltip.d.ts.map +1 -1
- package/lib/components/virtual-grid.d.ts +5 -5
- package/lib/components/virtual-grid.d.ts.map +1 -1
- package/lib/components/workspace-container.d.ts +1 -1
- package/lib/components/workspace-container.d.ts.map +1 -1
- package/lib/components/workspace-tabs/tab.d.ts +2 -2
- package/lib/components/workspace-tabs/tab.d.ts.map +1 -1
- package/lib/components/workspace-tabs/workspace-tabs.d.ts +2 -2
- package/lib/components/workspace-tabs/workspace-tabs.d.ts.map +1 -1
- package/lib/hooks/use-confirmation.d.ts +1 -1
- package/lib/hooks/use-confirmation.d.ts.map +1 -1
- package/lib/hooks/use-effect-on-change.d.ts.map +1 -1
- package/lib/hooks/use-effect-on-change.js +11 -5
- package/lib/hooks/use-effect-on-change.js.map +1 -1
- package/lib/hooks/use-hotkeys.d.ts +1 -1
- package/lib/hooks/use-hotkeys.d.ts.map +1 -1
- package/lib/hooks/use-sort.d.ts +4 -4
- package/lib/hooks/use-sort.d.ts.map +1 -1
- package/lib/hooks/use-sort.js +1 -1
- package/lib/hooks/use-sort.js.map +1 -1
- package/lib/hooks/use-toast.d.ts +2 -1
- package/lib/hooks/use-toast.d.ts.map +1 -1
- package/lib/hooks/use-toast.js +8 -2
- package/lib/hooks/use-toast.js.map +1 -1
- package/lib/hooks/use-virtual-grid.d.ts.map +1 -1
- package/lib/hooks/use-virtual-grid.js +3 -4
- package/lib/hooks/use-virtual-grid.js.map +1 -1
- package/lib/index.d.ts +3 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +5 -1
- package/lib/index.js.map +1 -1
- package/lib/utils/rafraf.d.ts +2 -0
- package/lib/utils/rafraf.d.ts.map +1 -0
- package/lib/utils/rafraf.js +18 -0
- package/lib/utils/rafraf.js.map +1 -0
- package/package.json +10 -10
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mongodb-js/compass-components",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.8.0",
|
|
4
4
|
"description": "React Components used in Compass",
|
|
5
5
|
"license": "SSPL",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"check": "npm run lint && npm run depcheck",
|
|
26
26
|
"check-ci": "npm run check",
|
|
27
27
|
"test": "mocha",
|
|
28
|
-
"test-cov": "nyc -x \"**/*.spec.*\" --reporter=lcov --reporter=text --reporter=html npm run test",
|
|
28
|
+
"test-cov": "nyc --compact=false --produce-source-map=false -x \"**/*.spec.*\" --reporter=lcov --reporter=text --reporter=html npm run test",
|
|
29
29
|
"test-watch": "npm run test -- --watch",
|
|
30
30
|
"test-ci": "npm run test-cov",
|
|
31
31
|
"reformat": "npm run prettier -- --write . && npm run eslint . --fix"
|
|
@@ -77,8 +77,8 @@
|
|
|
77
77
|
"@react-stately/tooltip": "^3.0.5",
|
|
78
78
|
"bson": "^5.0.1",
|
|
79
79
|
"focus-trap-react": "^8.4.2",
|
|
80
|
-
"hadron-document": "^8.
|
|
81
|
-
"hadron-type-checker": "^7.0.
|
|
80
|
+
"hadron-document": "^8.2.0",
|
|
81
|
+
"hadron-type-checker": "^7.0.2",
|
|
82
82
|
"is-electron-renderer": "^2.0.1",
|
|
83
83
|
"lodash": "^4.17.21",
|
|
84
84
|
"polished": "^4.2.2",
|
|
@@ -92,10 +92,10 @@
|
|
|
92
92
|
"react-ace": "^9.5.0"
|
|
93
93
|
},
|
|
94
94
|
"devDependencies": {
|
|
95
|
-
"@mongodb-js/eslint-config-compass": "^1.0.
|
|
96
|
-
"@mongodb-js/mocha-config-compass": "^1.1.
|
|
95
|
+
"@mongodb-js/eslint-config-compass": "^1.0.5",
|
|
96
|
+
"@mongodb-js/mocha-config-compass": "^1.1.1",
|
|
97
97
|
"@mongodb-js/prettier-config-compass": "^1.0.0",
|
|
98
|
-
"@mongodb-js/tsconfig-compass": "^1.0.
|
|
98
|
+
"@mongodb-js/tsconfig-compass": "^1.0.2",
|
|
99
99
|
"@testing-library/dom": "^8.11.1",
|
|
100
100
|
"@testing-library/react": "^12.0.0",
|
|
101
101
|
"@testing-library/react-hooks": "^7.0.2",
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
"@types/reflux": "^6.4.3",
|
|
108
108
|
"chai": "^4.3.4",
|
|
109
109
|
"eslint": "^7.25.0",
|
|
110
|
-
"mocha": "^
|
|
110
|
+
"mocha": "^10.2.0",
|
|
111
111
|
"nyc": "^15.0.0",
|
|
112
112
|
"prettier": "^2.7.1",
|
|
113
113
|
"react": "^17.0.2",
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
"reflux": "^0.4.1",
|
|
117
117
|
"rimraf": "^3.0.2",
|
|
118
118
|
"sinon": "^9.0.0",
|
|
119
|
-
"typescript": "^
|
|
119
|
+
"typescript": "^5.0.4"
|
|
120
120
|
},
|
|
121
121
|
"repository": {
|
|
122
122
|
"type": "git",
|
|
@@ -126,5 +126,5 @@
|
|
|
126
126
|
"publishConfig": {
|
|
127
127
|
"access": "public"
|
|
128
128
|
},
|
|
129
|
-
"gitHead": "
|
|
129
|
+
"gitHead": "e4f2643a437ce2407657a63246e303d13ce8297b"
|
|
130
130
|
}
|