@leafygreen-ui/combobox 9.1.2 → 9.1.3
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/CHANGELOG.md +15 -0
- package/package.json +6 -6
- package/src/Combobox/Combobox.spec.tsx +6 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @leafygreen-ui/combobox
|
|
2
2
|
|
|
3
|
+
## 9.1.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- e7bc12814: Adds more thorough test coverage for disabled inputs
|
|
8
|
+
- Updated dependencies [e7bc12814]
|
|
9
|
+
- Updated dependencies [c1b8b633b]
|
|
10
|
+
- Updated dependencies [ecae9acc7]
|
|
11
|
+
- Updated dependencies [fe2483937]
|
|
12
|
+
- @leafygreen-ui/icon-button@15.0.23
|
|
13
|
+
- @leafygreen-ui/checkbox@13.1.2
|
|
14
|
+
- @leafygreen-ui/chip@1.2.1
|
|
15
|
+
- @leafygreen-ui/hooks@8.1.4
|
|
16
|
+
- @leafygreen-ui/input-option@2.0.2
|
|
17
|
+
|
|
3
18
|
## 9.1.2
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leafygreen-ui/combobox",
|
|
3
|
-
"version": "9.1.
|
|
3
|
+
"version": "9.1.3",
|
|
4
4
|
"description": "leafyGreen UI Kit Combobox",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/esm/index.js",
|
|
@@ -22,14 +22,14 @@
|
|
|
22
22
|
"access": "public"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@leafygreen-ui/checkbox": "^13.1.
|
|
26
|
-
"@leafygreen-ui/chip": "^1.2.
|
|
25
|
+
"@leafygreen-ui/checkbox": "^13.1.2",
|
|
26
|
+
"@leafygreen-ui/chip": "^1.2.1",
|
|
27
27
|
"@leafygreen-ui/emotion": "^4.0.8",
|
|
28
28
|
"@leafygreen-ui/form-field": "^1.2.4",
|
|
29
|
-
"@leafygreen-ui/hooks": "^8.1.
|
|
29
|
+
"@leafygreen-ui/hooks": "^8.1.4",
|
|
30
30
|
"@leafygreen-ui/icon": "^12.5.4",
|
|
31
|
-
"@leafygreen-ui/icon-button": "^15.0.
|
|
32
|
-
"@leafygreen-ui/input-option": "^2.0.
|
|
31
|
+
"@leafygreen-ui/icon-button": "^15.0.23",
|
|
32
|
+
"@leafygreen-ui/input-option": "^2.0.2",
|
|
33
33
|
"@leafygreen-ui/lib": "^13.6.1",
|
|
34
34
|
"@leafygreen-ui/palette": "^4.0.9",
|
|
35
35
|
"@leafygreen-ui/popover": "^11.4.0",
|
|
@@ -368,9 +368,13 @@ describe('packages/combobox', () => {
|
|
|
368
368
|
|
|
369
369
|
// disabled prop
|
|
370
370
|
test('Combobox is not clickable when `disabled`', () => {
|
|
371
|
-
const { comboboxEl } = renderCombobox(select, {
|
|
371
|
+
const { comboboxEl, getMenuElements } = renderCombobox(select, {
|
|
372
|
+
disabled: true,
|
|
373
|
+
});
|
|
374
|
+
|
|
372
375
|
userEvent.click(comboboxEl);
|
|
373
|
-
|
|
376
|
+
const { menuContainerEl } = getMenuElements();
|
|
377
|
+
expect(menuContainerEl).not.toBeInTheDocument();
|
|
374
378
|
});
|
|
375
379
|
|
|
376
380
|
// TODO: Fix this test. Combobox SHOULD be focusable
|