@instructure/ui-drilldown 8.50.1-snapshot-1 → 8.50.1-snapshot-14
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 +1 -1
- package/package.json +20 -20
- package/src/Drilldown/README.md +15 -22
- package/tsconfig.build.tsbuildinfo +1 -1
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-
|
|
6
|
+
## [8.50.1-snapshot-14](https://github.com/instructure/instructure-ui/compare/v8.50.0...v8.50.1-snapshot-14) (2023-12-08)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @instructure/ui-drilldown
|
|
9
9
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-drilldown",
|
|
3
|
-
"version": "8.50.1-snapshot-
|
|
3
|
+
"version": "8.50.1-snapshot-14",
|
|
4
4
|
"description": "A drilldown menu component",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"module": "./es/index.js",
|
|
@@ -24,28 +24,28 @@
|
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@babel/runtime": "^7.23.2",
|
|
27
|
-
"@instructure/console": "8.50.1-snapshot-
|
|
28
|
-
"@instructure/emotion": "8.50.1-snapshot-
|
|
29
|
-
"@instructure/shared-types": "8.50.1-snapshot-
|
|
30
|
-
"@instructure/ui-dom-utils": "8.50.1-snapshot-
|
|
31
|
-
"@instructure/ui-icons": "8.50.1-snapshot-
|
|
32
|
-
"@instructure/ui-options": "8.50.1-snapshot-
|
|
33
|
-
"@instructure/ui-popover": "8.50.1-snapshot-
|
|
34
|
-
"@instructure/ui-position": "8.50.1-snapshot-
|
|
35
|
-
"@instructure/ui-prop-types": "8.50.1-snapshot-
|
|
36
|
-
"@instructure/ui-react-utils": "8.50.1-snapshot-
|
|
37
|
-
"@instructure/ui-selectable": "8.50.1-snapshot-
|
|
38
|
-
"@instructure/ui-testable": "8.50.1-snapshot-
|
|
39
|
-
"@instructure/ui-utils": "8.50.1-snapshot-
|
|
40
|
-
"@instructure/ui-view": "8.50.1-snapshot-
|
|
27
|
+
"@instructure/console": "8.50.1-snapshot-14",
|
|
28
|
+
"@instructure/emotion": "8.50.1-snapshot-14",
|
|
29
|
+
"@instructure/shared-types": "8.50.1-snapshot-14",
|
|
30
|
+
"@instructure/ui-dom-utils": "8.50.1-snapshot-14",
|
|
31
|
+
"@instructure/ui-icons": "8.50.1-snapshot-14",
|
|
32
|
+
"@instructure/ui-options": "8.50.1-snapshot-14",
|
|
33
|
+
"@instructure/ui-popover": "8.50.1-snapshot-14",
|
|
34
|
+
"@instructure/ui-position": "8.50.1-snapshot-14",
|
|
35
|
+
"@instructure/ui-prop-types": "8.50.1-snapshot-14",
|
|
36
|
+
"@instructure/ui-react-utils": "8.50.1-snapshot-14",
|
|
37
|
+
"@instructure/ui-selectable": "8.50.1-snapshot-14",
|
|
38
|
+
"@instructure/ui-testable": "8.50.1-snapshot-14",
|
|
39
|
+
"@instructure/ui-utils": "8.50.1-snapshot-14",
|
|
40
|
+
"@instructure/ui-view": "8.50.1-snapshot-14",
|
|
41
41
|
"prop-types": "^15.8.1"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@instructure/ui-babel-preset": "8.50.1-snapshot-
|
|
45
|
-
"@instructure/ui-color-utils": "8.50.1-snapshot-
|
|
46
|
-
"@instructure/ui-test-locator": "8.50.1-snapshot-
|
|
47
|
-
"@instructure/ui-test-utils": "8.50.1-snapshot-
|
|
48
|
-
"@instructure/ui-themes": "8.50.1-snapshot-
|
|
44
|
+
"@instructure/ui-babel-preset": "8.50.1-snapshot-14",
|
|
45
|
+
"@instructure/ui-color-utils": "8.50.1-snapshot-14",
|
|
46
|
+
"@instructure/ui-test-locator": "8.50.1-snapshot-14",
|
|
47
|
+
"@instructure/ui-test-utils": "8.50.1-snapshot-14",
|
|
48
|
+
"@instructure/ui-themes": "8.50.1-snapshot-14"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
51
|
"react": ">=16.8 <=18"
|
package/src/Drilldown/README.md
CHANGED
|
@@ -24,7 +24,7 @@ Each page needs an `id` prop that is used in the navigation. Options point to pa
|
|
|
24
24
|
|
|
25
25
|
```js
|
|
26
26
|
---
|
|
27
|
-
|
|
27
|
+
type: example
|
|
28
28
|
---
|
|
29
29
|
<Drilldown rootPageId='root' width="20rem" maxHeight="30rem">
|
|
30
30
|
<Drilldown.Page id="root" renderTitle='Groceries'>
|
|
@@ -73,7 +73,7 @@ example: true
|
|
|
73
73
|
|
|
74
74
|
```js
|
|
75
75
|
---
|
|
76
|
-
|
|
76
|
+
type: example
|
|
77
77
|
---
|
|
78
78
|
<Drilldown rootPageId='root' width="20rem" maxHeight="30rem">
|
|
79
79
|
<Drilldown.Page id="root">
|
|
@@ -99,7 +99,7 @@ Options can be links too. If the `href` prop is set, the option renders as an `<
|
|
|
99
99
|
|
|
100
100
|
```js
|
|
101
101
|
---
|
|
102
|
-
|
|
102
|
+
type: example
|
|
103
103
|
---
|
|
104
104
|
<Drilldown rootPageId='root' width="20rem" maxHeight="30rem">
|
|
105
105
|
<Drilldown.Page id="root">
|
|
@@ -126,7 +126,7 @@ Just like `Options.Item`, `Drilldown.Option` can render a description under the
|
|
|
126
126
|
|
|
127
127
|
```js
|
|
128
128
|
---
|
|
129
|
-
|
|
129
|
+
type: example
|
|
130
130
|
---
|
|
131
131
|
<Drilldown rootPageId='root' width="20rem" maxHeight="30rem">
|
|
132
132
|
<Drilldown.Page id="root">
|
|
@@ -168,8 +168,7 @@ Additionally, the `renderLabelInfo` prop can render text or other elements next
|
|
|
168
168
|
|
|
169
169
|
```js
|
|
170
170
|
---
|
|
171
|
-
|
|
172
|
-
render: false
|
|
171
|
+
type: example
|
|
173
172
|
---
|
|
174
173
|
|
|
175
174
|
class VideoSettingsExample extends React.Component {
|
|
@@ -341,8 +340,7 @@ Just like [Menu](#Menu), Drilldown accepts a `trigger` property: it will render
|
|
|
341
340
|
|
|
342
341
|
```js
|
|
343
342
|
---
|
|
344
|
-
|
|
345
|
-
render: false
|
|
343
|
+
type: example
|
|
346
344
|
---
|
|
347
345
|
|
|
348
346
|
class SelectContactsExample extends React.Component {
|
|
@@ -542,8 +540,7 @@ This option will always display on the page when needed and cannot be disabled.
|
|
|
542
540
|
|
|
543
541
|
```js
|
|
544
542
|
---
|
|
545
|
-
|
|
546
|
-
render: false
|
|
543
|
+
type: example
|
|
547
544
|
---
|
|
548
545
|
class BackNavigationExample extends React.Component {
|
|
549
546
|
state = {
|
|
@@ -645,8 +642,7 @@ Wrapping the Options in `<Drilldown.Group>` will separate these options with sep
|
|
|
645
642
|
|
|
646
643
|
```js
|
|
647
644
|
---
|
|
648
|
-
|
|
649
|
-
render: false
|
|
645
|
+
type: example
|
|
650
646
|
---
|
|
651
647
|
class GroupsExample extends React.Component {
|
|
652
648
|
state = {
|
|
@@ -732,7 +728,7 @@ It is recommended to set the `value` prop of the options in a group, because the
|
|
|
732
728
|
|
|
733
729
|
```js
|
|
734
730
|
---
|
|
735
|
-
|
|
731
|
+
type: example
|
|
736
732
|
---
|
|
737
733
|
<Drilldown rootPageId='root' width="20rem" maxHeight="30rem">
|
|
738
734
|
<Drilldown.Page id="root">
|
|
@@ -765,8 +761,7 @@ example: true
|
|
|
765
761
|
|
|
766
762
|
```js
|
|
767
763
|
---
|
|
768
|
-
|
|
769
|
-
render: false
|
|
764
|
+
type: example
|
|
770
765
|
---
|
|
771
766
|
|
|
772
767
|
class SelectMembersExample extends React.Component {
|
|
@@ -968,8 +963,7 @@ You can disable the whole Drilldown or its sub-components with the `disabled` pr
|
|
|
968
963
|
|
|
969
964
|
```js
|
|
970
965
|
---
|
|
971
|
-
|
|
972
|
-
render: false
|
|
966
|
+
type: example
|
|
973
967
|
---
|
|
974
968
|
class DisabledExample extends React.Component {
|
|
975
969
|
state = {
|
|
@@ -1101,7 +1095,7 @@ You can still manually close the Popover on option click or select, calling the
|
|
|
1101
1095
|
|
|
1102
1096
|
```js
|
|
1103
1097
|
---
|
|
1104
|
-
|
|
1098
|
+
type: example
|
|
1105
1099
|
---
|
|
1106
1100
|
<Drilldown
|
|
1107
1101
|
rootPageId='root'
|
|
@@ -1152,7 +1146,7 @@ These two navigation methods are also available as public methods on the Drilldo
|
|
|
1152
1146
|
|
|
1153
1147
|
```js
|
|
1154
1148
|
---
|
|
1155
|
-
|
|
1149
|
+
type: example
|
|
1156
1150
|
---
|
|
1157
1151
|
<Drilldown
|
|
1158
1152
|
rootPageId='Root Page'
|
|
@@ -1240,8 +1234,7 @@ The following example showcases an editable drilldown that can add or delete opt
|
|
|
1240
1234
|
|
|
1241
1235
|
```js
|
|
1242
1236
|
---
|
|
1243
|
-
|
|
1244
|
-
render: false
|
|
1237
|
+
type: example
|
|
1245
1238
|
---
|
|
1246
1239
|
|
|
1247
1240
|
class EditableStructureExample extends React.Component {
|
|
@@ -1491,7 +1484,7 @@ render(<EditableStructureExample />)
|
|
|
1491
1484
|
|
|
1492
1485
|
```js
|
|
1493
1486
|
---
|
|
1494
|
-
|
|
1487
|
+
type: embed
|
|
1495
1488
|
---
|
|
1496
1489
|
<Guidelines>
|
|
1497
1490
|
<Figure recommendation="yes" title="Do">
|