@instructure/ui-toggle-details 8.26.3 → 8.26.4-snapshot-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 CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [8.26.4-snapshot-3](https://github.com/instructure/instructure-ui/compare/v8.26.3...v8.26.4-snapshot-3) (2022-07-18)
7
+
8
+
9
+ ### Features
10
+
11
+ * support React 18 ([0a2bf0c](https://github.com/instructure/instructure-ui/commit/0a2bf0cdd4d8bcec6e42a7ccf28a787e4a35bc40))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [8.26.3](https://github.com/instructure/instructure-ui/compare/v8.26.2...v8.26.3) (2022-07-14)
7
18
 
8
19
  **Note:** Version bump only for package @instructure/ui-toggle-details
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-toggle-details",
3
- "version": "8.26.3",
3
+ "version": "8.26.4-snapshot-3",
4
4
  "description": "A styled toggleable, accordion-like component.",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "module": "./es/index.js",
@@ -23,33 +23,33 @@
23
23
  },
24
24
  "license": "MIT",
25
25
  "devDependencies": {
26
- "@instructure/ui-babel-preset": "8.26.3",
27
- "@instructure/ui-test-locator": "8.26.3",
28
- "@instructure/ui-test-queries": "8.26.3",
29
- "@instructure/ui-test-utils": "8.26.3",
30
- "@instructure/ui-themes": "8.26.3"
26
+ "@instructure/ui-babel-preset": "8.26.4-snapshot-3",
27
+ "@instructure/ui-test-locator": "8.26.4-snapshot-3",
28
+ "@instructure/ui-test-queries": "8.26.4-snapshot-3",
29
+ "@instructure/ui-test-utils": "8.26.4-snapshot-3",
30
+ "@instructure/ui-themes": "8.26.4-snapshot-3"
31
31
  },
32
32
  "dependencies": {
33
33
  "@babel/runtime": "^7.13.10",
34
- "@instructure/emotion": "8.26.3",
35
- "@instructure/shared-types": "8.26.3",
36
- "@instructure/ui-buttons": "8.26.3",
37
- "@instructure/ui-dom-utils": "8.26.3",
38
- "@instructure/ui-expandable": "8.26.3",
39
- "@instructure/ui-flex": "8.26.3",
40
- "@instructure/ui-icons": "8.26.3",
41
- "@instructure/ui-menu": "8.26.3",
42
- "@instructure/ui-motion": "8.26.3",
43
- "@instructure/ui-prop-types": "8.26.3",
44
- "@instructure/ui-react-utils": "8.26.3",
45
- "@instructure/ui-testable": "8.26.3",
46
- "@instructure/ui-utils": "8.26.3",
47
- "@instructure/ui-view": "8.26.3",
48
- "@instructure/uid": "8.26.3",
34
+ "@instructure/emotion": "8.26.4-snapshot-3",
35
+ "@instructure/shared-types": "8.26.4-snapshot-3",
36
+ "@instructure/ui-buttons": "8.26.4-snapshot-3",
37
+ "@instructure/ui-dom-utils": "8.26.4-snapshot-3",
38
+ "@instructure/ui-expandable": "8.26.4-snapshot-3",
39
+ "@instructure/ui-flex": "8.26.4-snapshot-3",
40
+ "@instructure/ui-icons": "8.26.4-snapshot-3",
41
+ "@instructure/ui-menu": "8.26.4-snapshot-3",
42
+ "@instructure/ui-motion": "8.26.4-snapshot-3",
43
+ "@instructure/ui-prop-types": "8.26.4-snapshot-3",
44
+ "@instructure/ui-react-utils": "8.26.4-snapshot-3",
45
+ "@instructure/ui-testable": "8.26.4-snapshot-3",
46
+ "@instructure/ui-utils": "8.26.4-snapshot-3",
47
+ "@instructure/ui-view": "8.26.4-snapshot-3",
48
+ "@instructure/uid": "8.26.4-snapshot-3",
49
49
  "prop-types": "^15"
50
50
  },
51
51
  "peerDependencies": {
52
- "react": ">=16.8 <=17"
52
+ "react": ">=16.8 <=18"
53
53
  },
54
54
  "publishConfig": {
55
55
  "access": "public"
@@ -30,7 +30,8 @@ import { controllable } from '@instructure/ui-prop-types'
30
30
  import {
31
31
  AsElementType,
32
32
  OtherHTMLAttributes,
33
- PropValidators
33
+ PropValidators,
34
+ Renderable
34
35
  } from '@instructure/shared-types'
35
36
 
36
37
  type ToggleGroupOwnProps = {
@@ -71,11 +72,11 @@ type ToggleGroupOwnProps = {
71
72
  /**
72
73
  * The icon displayed in the toggle button when the content is hidden
73
74
  */
74
- icon?: React.ReactNode | ((...args: any[]) => React.ReactElement)
75
+ icon?: Renderable
75
76
  /**
76
77
  * The icon displayed in the toggle button when the content is showing
77
78
  */
78
- iconExpanded?: React.ReactNode | ((...args: any[]) => React.ReactElement)
79
+ iconExpanded?: Renderable
79
80
  /**
80
81
  * Transition content into view
81
82
  */