@leafygreen-ui/combobox 11.0.3 → 11.0.5

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/package.json +6 -6
package/CHANGELOG.md CHANGED
@@ -1,5 +1,31 @@
1
1
  # @leafygreen-ui/combobox
2
2
 
3
+ ## 11.0.5
4
+
5
+ ### Patch Changes
6
+
7
+ - eb108e93b: [LG-4727](https://jira.mongodb.org/browse/LG-4727): The `description` props in these packages were previously wrapped in a `<p>`. However, in cases where a `ReactNode` was passed to the `description` prop, it would lead to a browser error. According to the HTML spec, `<p>` cannot contain block-level elements: https://www.w3.org/TR/html401/struct/text.html#h-9.3.1
8
+
9
+ The latest version of `@leafygreen-ui/typography` will typecheck `description` to ensure the proper element is used.
10
+
11
+ - If a `description` of type `string` or `number` is used, it will continue to be wrapped in a `<p>`
12
+ - All other types of `description` will be wrapped in a `<div>`
13
+
14
+ - Updated dependencies [eb108e93b]
15
+ - Updated dependencies [eb108e93b]
16
+ - @leafygreen-ui/input-option@3.0.3
17
+ - @leafygreen-ui/form-field@2.0.3
18
+ - @leafygreen-ui/typography@20.1.0
19
+ - @leafygreen-ui/checkbox@14.1.1
20
+ - @leafygreen-ui/chip@3.0.3
21
+
22
+ ## 11.0.4
23
+
24
+ ### Patch Changes
25
+
26
+ - Updated dependencies [50ea705f9]
27
+ - @leafygreen-ui/checkbox@14.1.0
28
+
3
29
  ## 11.0.3
4
30
 
5
31
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leafygreen-ui/combobox",
3
- "version": "11.0.3",
3
+ "version": "11.0.5",
4
4
  "description": "leafyGreen UI Kit Combobox",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/esm/index.js",
@@ -20,19 +20,19 @@
20
20
  "chalk": "^4.1.2",
21
21
  "lodash": "^4.17.21",
22
22
  "polished": "^4.2.2",
23
- "@leafygreen-ui/checkbox": "^14.0.2",
24
- "@leafygreen-ui/chip": "^3.0.2",
23
+ "@leafygreen-ui/checkbox": "^14.1.1",
24
+ "@leafygreen-ui/chip": "^3.0.3",
25
+ "@leafygreen-ui/form-field": "^2.0.3",
25
26
  "@leafygreen-ui/emotion": "^4.0.9",
26
- "@leafygreen-ui/form-field": "^2.0.2",
27
27
  "@leafygreen-ui/hooks": "^8.3.4",
28
28
  "@leafygreen-ui/icon": "^13.1.2",
29
- "@leafygreen-ui/input-option": "^3.0.2",
30
29
  "@leafygreen-ui/icon-button": "^16.0.2",
30
+ "@leafygreen-ui/input-option": "^3.0.3",
31
31
  "@leafygreen-ui/lib": "^14.0.2",
32
32
  "@leafygreen-ui/palette": "^4.1.3",
33
33
  "@leafygreen-ui/popover": "^13.0.2",
34
34
  "@leafygreen-ui/tokens": "^2.11.3",
35
- "@leafygreen-ui/typography": "^20.0.2"
35
+ "@leafygreen-ui/typography": "^20.1.0"
36
36
  },
37
37
  "peerDependencies": {
38
38
  "@leafygreen-ui/leafygreen-provider": "^4.0.2"