@instructure/ui-toggle-details 8.50.1-snapshot-1 → 8.50.1-snapshot-13

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,7 +3,7 @@
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.50.1-snapshot-1](https://github.com/instructure/instructure-ui/compare/v8.50.0...v8.50.1-snapshot-1) (2023-12-06)
6
+ ## [8.50.1-snapshot-13](https://github.com/instructure/instructure-ui/compare/v8.50.0...v8.50.1-snapshot-13) (2023-12-07)
7
7
 
8
8
  **Note:** Version bump only for package @instructure/ui-toggle-details
9
9
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-toggle-details",
3
- "version": "8.50.1-snapshot-1",
3
+ "version": "8.50.1-snapshot-13",
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,29 +23,29 @@
23
23
  },
24
24
  "license": "MIT",
25
25
  "devDependencies": {
26
- "@instructure/ui-babel-preset": "8.50.1-snapshot-1",
27
- "@instructure/ui-test-locator": "8.50.1-snapshot-1",
28
- "@instructure/ui-test-queries": "8.50.1-snapshot-1",
29
- "@instructure/ui-test-utils": "8.50.1-snapshot-1",
30
- "@instructure/ui-themes": "8.50.1-snapshot-1"
26
+ "@instructure/ui-babel-preset": "8.50.1-snapshot-13",
27
+ "@instructure/ui-test-locator": "8.50.1-snapshot-13",
28
+ "@instructure/ui-test-queries": "8.50.1-snapshot-13",
29
+ "@instructure/ui-test-utils": "8.50.1-snapshot-13",
30
+ "@instructure/ui-themes": "8.50.1-snapshot-13"
31
31
  },
32
32
  "dependencies": {
33
33
  "@babel/runtime": "^7.23.2",
34
- "@instructure/emotion": "8.50.1-snapshot-1",
35
- "@instructure/shared-types": "8.50.1-snapshot-1",
36
- "@instructure/ui-buttons": "8.50.1-snapshot-1",
37
- "@instructure/ui-dom-utils": "8.50.1-snapshot-1",
38
- "@instructure/ui-expandable": "8.50.1-snapshot-1",
39
- "@instructure/ui-flex": "8.50.1-snapshot-1",
40
- "@instructure/ui-icons": "8.50.1-snapshot-1",
41
- "@instructure/ui-menu": "8.50.1-snapshot-1",
42
- "@instructure/ui-motion": "8.50.1-snapshot-1",
43
- "@instructure/ui-prop-types": "8.50.1-snapshot-1",
44
- "@instructure/ui-react-utils": "8.50.1-snapshot-1",
45
- "@instructure/ui-testable": "8.50.1-snapshot-1",
46
- "@instructure/ui-utils": "8.50.1-snapshot-1",
47
- "@instructure/ui-view": "8.50.1-snapshot-1",
48
- "@instructure/uid": "8.50.1-snapshot-1",
34
+ "@instructure/emotion": "8.50.1-snapshot-13",
35
+ "@instructure/shared-types": "8.50.1-snapshot-13",
36
+ "@instructure/ui-buttons": "8.50.1-snapshot-13",
37
+ "@instructure/ui-dom-utils": "8.50.1-snapshot-13",
38
+ "@instructure/ui-expandable": "8.50.1-snapshot-13",
39
+ "@instructure/ui-flex": "8.50.1-snapshot-13",
40
+ "@instructure/ui-icons": "8.50.1-snapshot-13",
41
+ "@instructure/ui-menu": "8.50.1-snapshot-13",
42
+ "@instructure/ui-motion": "8.50.1-snapshot-13",
43
+ "@instructure/ui-prop-types": "8.50.1-snapshot-13",
44
+ "@instructure/ui-react-utils": "8.50.1-snapshot-13",
45
+ "@instructure/ui-testable": "8.50.1-snapshot-13",
46
+ "@instructure/ui-utils": "8.50.1-snapshot-13",
47
+ "@instructure/ui-view": "8.50.1-snapshot-13",
48
+ "@instructure/uid": "8.50.1-snapshot-13",
49
49
  "prop-types": "^15.8.1"
50
50
  },
51
51
  "peerDependencies": {
@@ -8,7 +8,7 @@ By default, ToggleDetails content is hidden. To override, pass in the `defaultEx
8
8
 
9
9
  ```js
10
10
  ---
11
- example: true
11
+ type: example
12
12
  ---
13
13
  <ToggleDetails
14
14
  summary="Click to hide me!"
@@ -22,8 +22,7 @@ ToggleDetails can be controlled:
22
22
 
23
23
  ```js
24
24
  ---
25
- example: true
26
- render: false
25
+ type: example
27
26
  ---
28
27
 
29
28
  class Example extends React.Component {
@@ -62,7 +61,7 @@ Setting ToggleDetails to `filled` will make the toggle use a full-width [Button]
62
61
 
63
62
  ```js
64
63
  ---
65
- example: true
64
+ type: example
66
65
  ---
67
66
  <ToggleDetails
68
67
  variant="filled"
@@ -82,7 +81,7 @@ you see fit. In these examples, we are formatting it with the
82
81
 
83
82
  ```js
84
83
  ---
85
- example: true
84
+ type: example
86
85
  ---
87
86
  <div>
88
87
  <ToggleDetails
@@ -118,7 +117,7 @@ container.
118
117
 
119
118
  ```js
120
119
  ---
121
- example: true
120
+ type: example
122
121
  ---
123
122
  <ToggleDetails
124
123
  summary="Block display"
@@ -136,7 +135,7 @@ example: true
136
135
 
137
136
  ```js
138
137
  ---
139
- guidelines: true
138
+ type: embed
140
139
  ---
141
140
  <Guidelines>
142
141
  <Figure recommendation="yes" title="Do">
@@ -6,9 +6,10 @@ Performs the same function as [`ToggleDetails`](#ToggleDetails), but with the su
6
6
  toggle button, and built in padding and borders around the summary and main content area.
7
7
 
8
8
  ### Basic example
9
+
9
10
  ```javascript
10
11
  ---
11
- example: true
12
+ type: example
12
13
  ---
13
14
  <ToggleGroup
14
15
  toggleLabel="This is the toggle button label for screenreaders"
@@ -22,9 +23,10 @@ example: true
22
23
  ### More detailed examples
23
24
 
24
25
  #### `defaultExpanded` to make the component `expanded` when it renders
26
+
25
27
  ```javascript
26
28
  ---
27
- example: true
29
+ type: example
28
30
  ---
29
31
  <ToggleGroup
30
32
  toggleLabel="This is the toggle button label for screenreaders"
@@ -36,9 +38,10 @@ example: true
36
38
  ```
37
39
 
38
40
  #### Passing in your own `icon` and `iconExpanded`
41
+
39
42
  ```javascript
40
43
  ---
41
- example: true
44
+ type: example
42
45
  ---
43
46
  <ToggleGroup
44
47
  toggleLabel="This is the toggle button label for screenreaders"
@@ -49,10 +52,12 @@ example: true
49
52
  <View display="block" padding="small">Here is the expanded content</View>
50
53
  </ToggleGroup>
51
54
  ```
55
+
52
56
  #### Disable default transition of details
57
+
53
58
  ```javascript
54
59
  ---
55
- example: true
60
+ type: example
56
61
  ---
57
62
  <ToggleGroup
58
63
  transition={false}
@@ -64,9 +69,10 @@ example: true
64
69
  ```
65
70
 
66
71
  #### Disable default border if you want to nest ToggleGroups
72
+
67
73
  ```javascript
68
74
  ---
69
- example: true
75
+ type: example
70
76
  ---
71
77
  <ToggleGroup
72
78
  defaultExpanded