@instructure/ui-drilldown 8.23.0 → 8.23.1-snapshot.11
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/LICENSE.md +27 -0
- package/es/Drilldown/DrilldownGroup/index.js +3 -3
- package/es/Drilldown/DrilldownOption/index.js +3 -3
- package/es/Drilldown/DrilldownSeparator/index.js +3 -3
- package/es/Drilldown/index.js +3 -3
- package/lib/Drilldown/DrilldownGroup/index.js +3 -3
- package/lib/Drilldown/DrilldownOption/index.js +3 -3
- package/lib/Drilldown/DrilldownSeparator/index.js +3 -3
- package/lib/Drilldown/index.js +3 -3
- package/package.json +22 -21
- package/tsconfig.build.tsbuildinfo +1 -1
package/LICENSE.md
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: The MIT License (MIT)
|
|
3
|
+
category: Getting Started
|
|
4
|
+
order: 9
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# The MIT License (MIT)
|
|
8
|
+
|
|
9
|
+
Copyright (c) 2015 Instructure, Inc.
|
|
10
|
+
|
|
11
|
+
**Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
12
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
13
|
+
in the Software without restriction, including without limitation the rights
|
|
14
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
15
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
16
|
+
furnished to do so, subject to the following conditions.**
|
|
17
|
+
|
|
18
|
+
The above copyright notice and this permission notice shall be included in all
|
|
19
|
+
copies or substantial portions of the Software.
|
|
20
|
+
|
|
21
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
22
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
23
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
24
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
25
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
26
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
27
|
+
SOFTWARE.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var _dec, _class, _class2
|
|
1
|
+
var _dec, _class, _class2;
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
4
|
* The MIT License (MIT)
|
|
@@ -40,7 +40,7 @@ id: Drilldown.Group
|
|
|
40
40
|
**/
|
|
41
41
|
// needed for listing the available theme variables on docs page,
|
|
42
42
|
// we pass the themeOverrides to Options
|
|
43
|
-
let DrilldownGroup = (_dec = withStyle(null, optionsThemeGenerator), _dec(_class = (
|
|
43
|
+
let DrilldownGroup = (_dec = withStyle(null, optionsThemeGenerator), _dec(_class = (_class2 = class DrilldownGroup extends Component {
|
|
44
44
|
render() {
|
|
45
45
|
// this component is only used for prop validation.
|
|
46
46
|
// Drilldown.Group is parsed in Drilldown as an Options component.
|
|
@@ -51,6 +51,6 @@ let DrilldownGroup = (_dec = withStyle(null, optionsThemeGenerator), _dec(_class
|
|
|
51
51
|
disabled: false,
|
|
52
52
|
withoutSeparators: false,
|
|
53
53
|
role: 'group'
|
|
54
|
-
},
|
|
54
|
+
}, _class2)) || _class);
|
|
55
55
|
export default DrilldownGroup;
|
|
56
56
|
export { DrilldownGroup };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var _dec, _class, _class2
|
|
1
|
+
var _dec, _class, _class2;
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
4
|
* The MIT License (MIT)
|
|
@@ -40,7 +40,7 @@ id: Drilldown.Option
|
|
|
40
40
|
**/
|
|
41
41
|
// needed for listing the available theme variables on docs page,
|
|
42
42
|
// we pass the themeOverrides to Options.Item
|
|
43
|
-
let DrilldownOption = (_dec = withStyle(null, optionsItemThemeGenerator), _dec(_class = (
|
|
43
|
+
let DrilldownOption = (_dec = withStyle(null, optionsItemThemeGenerator), _dec(_class = (_class2 = class DrilldownOption extends Component {
|
|
44
44
|
render() {
|
|
45
45
|
// this component is only used for prop validation. Drilldown.Option children
|
|
46
46
|
// are parsed in Drilldown and rendered as Options.Item components
|
|
@@ -54,6 +54,6 @@ let DrilldownOption = (_dec = withStyle(null, optionsItemThemeGenerator), _dec(_
|
|
|
54
54
|
descriptionRole: 'note',
|
|
55
55
|
as: 'li',
|
|
56
56
|
role: 'menuitem'
|
|
57
|
-
},
|
|
57
|
+
}, _class2)) || _class);
|
|
58
58
|
export default DrilldownOption;
|
|
59
59
|
export { DrilldownOption };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var _dec, _class, _class2
|
|
1
|
+
var _dec, _class, _class2;
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
4
|
* The MIT License (MIT)
|
|
@@ -40,13 +40,13 @@ id: Drilldown.Separator
|
|
|
40
40
|
**/
|
|
41
41
|
// needed for listing the available theme variables on docs page,
|
|
42
42
|
// we pass the themeOverrides to Options.Separator
|
|
43
|
-
let DrilldownSeparator = (_dec = withStyle(null, optionsSeparatorThemeGenerator), _dec(_class = (
|
|
43
|
+
let DrilldownSeparator = (_dec = withStyle(null, optionsSeparatorThemeGenerator), _dec(_class = (_class2 = class DrilldownSeparator extends Component {
|
|
44
44
|
render() {
|
|
45
45
|
// this component is only used for prop validation. Drilldown.Separator children
|
|
46
46
|
// are parsed in Drilldown and rendered as Options.Separator components
|
|
47
47
|
return null;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
}, _class2.displayName = "DrilldownSeparator", _class2.componentId = 'Drilldown.Separator', _class2.propTypes = propTypes, _class2.allowedProps = allowedProps, _class2.defaultProps = {},
|
|
50
|
+
}, _class2.displayName = "DrilldownSeparator", _class2.componentId = 'Drilldown.Separator', _class2.propTypes = propTypes, _class2.allowedProps = allowedProps, _class2.defaultProps = {}, _class2)) || _class);
|
|
51
51
|
export default DrilldownSeparator;
|
|
52
52
|
export { DrilldownSeparator };
|
package/es/Drilldown/index.js
CHANGED
|
@@ -3,7 +3,7 @@ const _excluded = ["groupProps"],
|
|
|
3
3
|
_excluded2 = ["groupProps"],
|
|
4
4
|
_excluded3 = ["id", "themeOverride"];
|
|
5
5
|
|
|
6
|
-
var _dec, _dec2, _dec3, _class, _class2,
|
|
6
|
+
var _dec, _dec2, _dec3, _class, _class2, _IconArrowOpenEndSoli, _IconArrowOpenStartSo, _Options$Separator, _Options$Separator2;
|
|
7
7
|
|
|
8
8
|
/*
|
|
9
9
|
* The MIT License (MIT)
|
|
@@ -58,7 +58,7 @@ experimental: true
|
|
|
58
58
|
---
|
|
59
59
|
@tsProps
|
|
60
60
|
**/
|
|
61
|
-
let Drilldown = (_dec = withDeterministicId(), _dec2 = withStyle(generateStyle, generateComponentTheme), _dec3 = testable(), _dec(_class = _dec2(_class = _dec3(_class = (
|
|
61
|
+
let Drilldown = (_dec = withDeterministicId(), _dec2 = withStyle(generateStyle, generateComponentTheme), _dec3 = testable(), _dec(_class = _dec2(_class = _dec3(_class = (_class2 = class Drilldown extends Component {
|
|
62
62
|
// Array of visited page ids in "breadcrumbs" fashion
|
|
63
63
|
// Map of the active options on the page (includes header options too)
|
|
64
64
|
// Map of the selected options in groups (grouped by group id)
|
|
@@ -1236,6 +1236,6 @@ let Drilldown = (_dec = withDeterministicId(), _dec2 = withStyle(generateStyle,
|
|
|
1236
1236
|
withArrow: true,
|
|
1237
1237
|
offsetX: 0,
|
|
1238
1238
|
offsetY: 0
|
|
1239
|
-
}, _class2.Group = DrilldownGroup, _class2.Option = DrilldownOption, _class2.Page = DrilldownPage, _class2.Separator = DrilldownSeparator,
|
|
1239
|
+
}, _class2.Group = DrilldownGroup, _class2.Option = DrilldownOption, _class2.Page = DrilldownPage, _class2.Separator = DrilldownSeparator, _class2)) || _class) || _class) || _class);
|
|
1240
1240
|
export default Drilldown;
|
|
1241
1241
|
export { Drilldown };
|
|
@@ -13,7 +13,7 @@ var _uiOptions = require("@instructure/ui-options");
|
|
|
13
13
|
|
|
14
14
|
var _props = require("./props");
|
|
15
15
|
|
|
16
|
-
var _dec, _class, _class2
|
|
16
|
+
var _dec, _class, _class2;
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
---
|
|
@@ -25,7 +25,7 @@ id: Drilldown.Group
|
|
|
25
25
|
**/
|
|
26
26
|
// needed for listing the available theme variables on docs page,
|
|
27
27
|
// we pass the themeOverrides to Options
|
|
28
|
-
let DrilldownGroup = (_dec = (0, _emotion.withStyle)(null, _uiOptions.optionsThemeGenerator), _dec(_class = (
|
|
28
|
+
let DrilldownGroup = (_dec = (0, _emotion.withStyle)(null, _uiOptions.optionsThemeGenerator), _dec(_class = (_class2 = class DrilldownGroup extends _react.Component {
|
|
29
29
|
render() {
|
|
30
30
|
// this component is only used for prop validation.
|
|
31
31
|
// Drilldown.Group is parsed in Drilldown as an Options component.
|
|
@@ -36,7 +36,7 @@ let DrilldownGroup = (_dec = (0, _emotion.withStyle)(null, _uiOptions.optionsThe
|
|
|
36
36
|
disabled: false,
|
|
37
37
|
withoutSeparators: false,
|
|
38
38
|
role: 'group'
|
|
39
|
-
},
|
|
39
|
+
}, _class2)) || _class);
|
|
40
40
|
exports.DrilldownGroup = DrilldownGroup;
|
|
41
41
|
var _default = DrilldownGroup;
|
|
42
42
|
exports.default = _default;
|
|
@@ -13,7 +13,7 @@ var _uiOptions = require("@instructure/ui-options");
|
|
|
13
13
|
|
|
14
14
|
var _props = require("./props");
|
|
15
15
|
|
|
16
|
-
var _dec, _class, _class2
|
|
16
|
+
var _dec, _class, _class2;
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
---
|
|
@@ -25,7 +25,7 @@ id: Drilldown.Option
|
|
|
25
25
|
**/
|
|
26
26
|
// needed for listing the available theme variables on docs page,
|
|
27
27
|
// we pass the themeOverrides to Options.Item
|
|
28
|
-
let DrilldownOption = (_dec = (0, _emotion.withStyle)(null, _uiOptions.optionsItemThemeGenerator), _dec(_class = (
|
|
28
|
+
let DrilldownOption = (_dec = (0, _emotion.withStyle)(null, _uiOptions.optionsItemThemeGenerator), _dec(_class = (_class2 = class DrilldownOption extends _react.Component {
|
|
29
29
|
render() {
|
|
30
30
|
// this component is only used for prop validation. Drilldown.Option children
|
|
31
31
|
// are parsed in Drilldown and rendered as Options.Item components
|
|
@@ -39,7 +39,7 @@ let DrilldownOption = (_dec = (0, _emotion.withStyle)(null, _uiOptions.optionsIt
|
|
|
39
39
|
descriptionRole: 'note',
|
|
40
40
|
as: 'li',
|
|
41
41
|
role: 'menuitem'
|
|
42
|
-
},
|
|
42
|
+
}, _class2)) || _class);
|
|
43
43
|
exports.DrilldownOption = DrilldownOption;
|
|
44
44
|
var _default = DrilldownOption;
|
|
45
45
|
exports.default = _default;
|
|
@@ -13,7 +13,7 @@ var _uiOptions = require("@instructure/ui-options");
|
|
|
13
13
|
|
|
14
14
|
var _props = require("./props");
|
|
15
15
|
|
|
16
|
-
var _dec, _class, _class2
|
|
16
|
+
var _dec, _class, _class2;
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
---
|
|
@@ -25,14 +25,14 @@ id: Drilldown.Separator
|
|
|
25
25
|
**/
|
|
26
26
|
// needed for listing the available theme variables on docs page,
|
|
27
27
|
// we pass the themeOverrides to Options.Separator
|
|
28
|
-
let DrilldownSeparator = (_dec = (0, _emotion.withStyle)(null, _uiOptions.optionsSeparatorThemeGenerator), _dec(_class = (
|
|
28
|
+
let DrilldownSeparator = (_dec = (0, _emotion.withStyle)(null, _uiOptions.optionsSeparatorThemeGenerator), _dec(_class = (_class2 = class DrilldownSeparator extends _react.Component {
|
|
29
29
|
render() {
|
|
30
30
|
// this component is only used for prop validation. Drilldown.Separator children
|
|
31
31
|
// are parsed in Drilldown and rendered as Options.Separator components
|
|
32
32
|
return null;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
}, _class2.displayName = "DrilldownSeparator", _class2.componentId = 'Drilldown.Separator', _class2.propTypes = _props.propTypes, _class2.allowedProps = _props.allowedProps, _class2.defaultProps = {},
|
|
35
|
+
}, _class2.displayName = "DrilldownSeparator", _class2.componentId = 'Drilldown.Separator', _class2.propTypes = _props.propTypes, _class2.allowedProps = _props.allowedProps, _class2.defaultProps = {}, _class2)) || _class);
|
|
36
36
|
exports.DrilldownSeparator = DrilldownSeparator;
|
|
37
37
|
var _default = DrilldownSeparator;
|
|
38
38
|
exports.default = _default;
|
package/lib/Drilldown/index.js
CHANGED
|
@@ -65,7 +65,7 @@ const _excluded = ["groupProps"],
|
|
|
65
65
|
_excluded2 = ["groupProps"],
|
|
66
66
|
_excluded3 = ["id", "themeOverride"];
|
|
67
67
|
|
|
68
|
-
var _dec, _dec2, _dec3, _class, _class2,
|
|
68
|
+
var _dec, _dec2, _dec3, _class, _class2, _IconArrowOpenEndSoli, _IconArrowOpenStartSo, _Options$Separator, _Options$Separator2;
|
|
69
69
|
|
|
70
70
|
/**
|
|
71
71
|
---
|
|
@@ -74,7 +74,7 @@ experimental: true
|
|
|
74
74
|
---
|
|
75
75
|
@tsProps
|
|
76
76
|
**/
|
|
77
|
-
let Drilldown = (_dec = (0, _withDeterministicId.withDeterministicId)(), _dec2 = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec3 = (0, _testable.testable)(), _dec(_class = _dec2(_class = _dec3(_class = (
|
|
77
|
+
let Drilldown = (_dec = (0, _withDeterministicId.withDeterministicId)(), _dec2 = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec3 = (0, _testable.testable)(), _dec(_class = _dec2(_class = _dec3(_class = (_class2 = class Drilldown extends _react.Component {
|
|
78
78
|
// Array of visited page ids in "breadcrumbs" fashion
|
|
79
79
|
// Map of the active options on the page (includes header options too)
|
|
80
80
|
// Map of the selected options in groups (grouped by group id)
|
|
@@ -1247,7 +1247,7 @@ let Drilldown = (_dec = (0, _withDeterministicId.withDeterministicId)(), _dec2 =
|
|
|
1247
1247
|
withArrow: true,
|
|
1248
1248
|
offsetX: 0,
|
|
1249
1249
|
offsetY: 0
|
|
1250
|
-
}, _class2.Group = _DrilldownGroup.DrilldownGroup, _class2.Option = _DrilldownOption.DrilldownOption, _class2.Page = _DrilldownPage.DrilldownPage, _class2.Separator = _DrilldownSeparator.DrilldownSeparator,
|
|
1250
|
+
}, _class2.Group = _DrilldownGroup.DrilldownGroup, _class2.Option = _DrilldownOption.DrilldownOption, _class2.Page = _DrilldownPage.DrilldownPage, _class2.Separator = _DrilldownSeparator.DrilldownSeparator, _class2)) || _class) || _class) || _class);
|
|
1251
1251
|
exports.Drilldown = Drilldown;
|
|
1252
1252
|
var _default = Drilldown;
|
|
1253
1253
|
exports.default = _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-drilldown",
|
|
3
|
-
"version": "8.23.
|
|
3
|
+
"version": "8.23.1-snapshot.11+5e829fae6",
|
|
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.13.10",
|
|
27
|
-
"@instructure/console": "8.23.
|
|
28
|
-
"@instructure/emotion": "8.23.
|
|
29
|
-
"@instructure/shared-types": "8.23.
|
|
30
|
-
"@instructure/ui-dom-utils": "8.23.
|
|
31
|
-
"@instructure/ui-icons": "8.23.
|
|
32
|
-
"@instructure/ui-options": "8.23.
|
|
33
|
-
"@instructure/ui-popover": "8.23.
|
|
34
|
-
"@instructure/ui-position": "8.23.
|
|
35
|
-
"@instructure/ui-prop-types": "8.23.
|
|
36
|
-
"@instructure/ui-react-utils": "8.23.
|
|
37
|
-
"@instructure/ui-selectable": "8.23.
|
|
38
|
-
"@instructure/ui-testable": "8.23.
|
|
39
|
-
"@instructure/ui-utils": "8.23.
|
|
40
|
-
"@instructure/ui-view": "8.23.
|
|
27
|
+
"@instructure/console": "8.23.1-snapshot.11+5e829fae6",
|
|
28
|
+
"@instructure/emotion": "8.23.1-snapshot.11+5e829fae6",
|
|
29
|
+
"@instructure/shared-types": "8.23.1-snapshot.11+5e829fae6",
|
|
30
|
+
"@instructure/ui-dom-utils": "8.23.1-snapshot.11+5e829fae6",
|
|
31
|
+
"@instructure/ui-icons": "8.23.1-snapshot.11+5e829fae6",
|
|
32
|
+
"@instructure/ui-options": "8.23.1-snapshot.11+5e829fae6",
|
|
33
|
+
"@instructure/ui-popover": "8.23.1-snapshot.11+5e829fae6",
|
|
34
|
+
"@instructure/ui-position": "8.23.1-snapshot.11+5e829fae6",
|
|
35
|
+
"@instructure/ui-prop-types": "8.23.1-snapshot.11+5e829fae6",
|
|
36
|
+
"@instructure/ui-react-utils": "8.23.1-snapshot.11+5e829fae6",
|
|
37
|
+
"@instructure/ui-selectable": "8.23.1-snapshot.11+5e829fae6",
|
|
38
|
+
"@instructure/ui-testable": "8.23.1-snapshot.11+5e829fae6",
|
|
39
|
+
"@instructure/ui-utils": "8.23.1-snapshot.11+5e829fae6",
|
|
40
|
+
"@instructure/ui-view": "8.23.1-snapshot.11+5e829fae6",
|
|
41
41
|
"prop-types": "^15"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@instructure/ui-babel-preset": "8.23.
|
|
45
|
-
"@instructure/ui-color-utils": "8.23.
|
|
46
|
-
"@instructure/ui-test-locator": "8.23.
|
|
47
|
-
"@instructure/ui-test-utils": "8.23.
|
|
48
|
-
"@instructure/ui-themes": "8.23.
|
|
44
|
+
"@instructure/ui-babel-preset": "8.23.1-snapshot.11+5e829fae6",
|
|
45
|
+
"@instructure/ui-color-utils": "8.23.1-snapshot.11+5e829fae6",
|
|
46
|
+
"@instructure/ui-test-locator": "8.23.1-snapshot.11+5e829fae6",
|
|
47
|
+
"@instructure/ui-test-utils": "8.23.1-snapshot.11+5e829fae6",
|
|
48
|
+
"@instructure/ui-themes": "8.23.1-snapshot.11+5e829fae6"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
51
|
"react": ">=16.8 <=17"
|
|
@@ -53,5 +53,6 @@
|
|
|
53
53
|
"publishConfig": {
|
|
54
54
|
"access": "public"
|
|
55
55
|
},
|
|
56
|
-
"sideEffects": false
|
|
56
|
+
"sideEffects": false,
|
|
57
|
+
"gitHead": "5e829fae6b005f080497818df8b3fff19365aab3"
|
|
57
58
|
}
|