@instructure/ui-drilldown 8.25.1-snapshot-10 → 8.25.1-snapshot-15
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/es/Drilldown/DrilldownGroup/index.js +7 -13
- package/es/Drilldown/DrilldownOption/index.js +9 -15
- package/es/Drilldown/DrilldownPage/index.js +9 -10
- package/es/Drilldown/DrilldownSeparator/index.js +3 -9
- package/es/Drilldown/index.js +335 -339
- package/lib/Drilldown/DrilldownGroup/index.js +7 -13
- package/lib/Drilldown/DrilldownOption/index.js +9 -15
- package/lib/Drilldown/DrilldownPage/index.js +9 -10
- package/lib/Drilldown/DrilldownSeparator/index.js +3 -9
- package/lib/Drilldown/index.js +333 -337
- package/package.json +20 -20
- 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.25.1-snapshot-
|
|
6
|
+
## [8.25.1-snapshot-15](https://github.com/instructure/instructure-ui/compare/v8.25.0...v8.25.1-snapshot-15) (2022-06-23)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @instructure/ui-drilldown
|
|
9
9
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var _dec, _class;
|
|
1
|
+
var _dec, _class, _class2;
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
4
|
* The MIT License (MIT)
|
|
@@ -40,23 +40,17 @@ 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 = class DrilldownGroup extends Component {
|
|
44
|
-
static displayName = "DrilldownGroup";
|
|
45
|
-
static componentId = 'Drilldown.Group';
|
|
46
|
-
static propTypes = propTypes;
|
|
47
|
-
static allowedProps = allowedProps;
|
|
48
|
-
static defaultProps = {
|
|
49
|
-
disabled: false,
|
|
50
|
-
withoutSeparators: false,
|
|
51
|
-
role: 'group'
|
|
52
|
-
};
|
|
53
|
-
|
|
43
|
+
let DrilldownGroup = (_dec = withStyle(null, optionsThemeGenerator), _dec(_class = (_class2 = class DrilldownGroup extends Component {
|
|
54
44
|
render() {
|
|
55
45
|
// this component is only used for prop validation.
|
|
56
46
|
// Drilldown.Group is parsed in Drilldown as an Options component.
|
|
57
47
|
return null;
|
|
58
48
|
}
|
|
59
49
|
|
|
60
|
-
}
|
|
50
|
+
}, _class2.displayName = "DrilldownGroup", _class2.componentId = 'Drilldown.Group', _class2.propTypes = propTypes, _class2.allowedProps = allowedProps, _class2.defaultProps = {
|
|
51
|
+
disabled: false,
|
|
52
|
+
withoutSeparators: false,
|
|
53
|
+
role: 'group'
|
|
54
|
+
}, _class2)) || _class);
|
|
61
55
|
export default DrilldownGroup;
|
|
62
56
|
export { DrilldownGroup };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var _dec, _class;
|
|
1
|
+
var _dec, _class, _class2;
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
4
|
* The MIT License (MIT)
|
|
@@ -40,25 +40,19 @@ 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 = class DrilldownOption extends Component {
|
|
44
|
-
static displayName = "DrilldownOption";
|
|
45
|
-
static componentId = 'Drilldown.Option';
|
|
46
|
-
static propTypes = propTypes;
|
|
47
|
-
static allowedProps = allowedProps;
|
|
48
|
-
static defaultProps = {
|
|
49
|
-
disabled: false,
|
|
50
|
-
beforeLabelContentVAlign: 'start',
|
|
51
|
-
afterLabelContentVAlign: 'start',
|
|
52
|
-
as: 'li',
|
|
53
|
-
role: 'menuitem'
|
|
54
|
-
};
|
|
55
|
-
|
|
43
|
+
let DrilldownOption = (_dec = withStyle(null, optionsItemThemeGenerator), _dec(_class = (_class2 = class DrilldownOption extends Component {
|
|
56
44
|
render() {
|
|
57
45
|
// this component is only used for prop validation. Drilldown.Option children
|
|
58
46
|
// are parsed in Drilldown and rendered as Options.Item components
|
|
59
47
|
return null;
|
|
60
48
|
}
|
|
61
49
|
|
|
62
|
-
}
|
|
50
|
+
}, _class2.displayName = "DrilldownOption", _class2.componentId = 'Drilldown.Option', _class2.propTypes = propTypes, _class2.allowedProps = allowedProps, _class2.defaultProps = {
|
|
51
|
+
disabled: false,
|
|
52
|
+
beforeLabelContentVAlign: 'start',
|
|
53
|
+
afterLabelContentVAlign: 'start',
|
|
54
|
+
as: 'li',
|
|
55
|
+
role: 'menuitem'
|
|
56
|
+
}, _class2)) || _class);
|
|
63
57
|
export default DrilldownOption;
|
|
64
58
|
export { DrilldownOption };
|
|
@@ -35,16 +35,6 @@ id: Drilldown.Page
|
|
|
35
35
|
@tsProps
|
|
36
36
|
**/
|
|
37
37
|
class DrilldownPage extends Component {
|
|
38
|
-
static displayName = "DrilldownPage";
|
|
39
|
-
static componentId = 'Drilldown.Page';
|
|
40
|
-
static propTypes = propTypes;
|
|
41
|
-
static allowedProps = allowedProps;
|
|
42
|
-
static defaultProps = {
|
|
43
|
-
renderBackButtonLabel: 'Back',
|
|
44
|
-
disabled: false,
|
|
45
|
-
withoutHeaderSeparator: false
|
|
46
|
-
};
|
|
47
|
-
|
|
48
38
|
render() {
|
|
49
39
|
// this component is only used for prop validation.
|
|
50
40
|
// Drilldown.Page children are parsed in Drilldown.
|
|
@@ -53,5 +43,14 @@ class DrilldownPage extends Component {
|
|
|
53
43
|
|
|
54
44
|
}
|
|
55
45
|
|
|
46
|
+
DrilldownPage.displayName = "DrilldownPage";
|
|
47
|
+
DrilldownPage.componentId = 'Drilldown.Page';
|
|
48
|
+
DrilldownPage.propTypes = propTypes;
|
|
49
|
+
DrilldownPage.allowedProps = allowedProps;
|
|
50
|
+
DrilldownPage.defaultProps = {
|
|
51
|
+
renderBackButtonLabel: 'Back',
|
|
52
|
+
disabled: false,
|
|
53
|
+
withoutHeaderSeparator: false
|
|
54
|
+
};
|
|
56
55
|
export default DrilldownPage;
|
|
57
56
|
export { DrilldownPage };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var _dec, _class;
|
|
1
|
+
var _dec, _class, _class2;
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
4
|
* The MIT License (MIT)
|
|
@@ -40,19 +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 = class DrilldownSeparator extends Component {
|
|
44
|
-
static displayName = "DrilldownSeparator";
|
|
45
|
-
static componentId = 'Drilldown.Separator';
|
|
46
|
-
static propTypes = propTypes;
|
|
47
|
-
static allowedProps = allowedProps;
|
|
48
|
-
static defaultProps = {};
|
|
49
|
-
|
|
43
|
+
let DrilldownSeparator = (_dec = withStyle(null, optionsSeparatorThemeGenerator), _dec(_class = (_class2 = class DrilldownSeparator extends Component {
|
|
50
44
|
render() {
|
|
51
45
|
// this component is only used for prop validation. Drilldown.Separator children
|
|
52
46
|
// are parsed in Drilldown and rendered as Options.Separator components
|
|
53
47
|
return null;
|
|
54
48
|
}
|
|
55
49
|
|
|
56
|
-
}) || _class);
|
|
50
|
+
}, _class2.displayName = "DrilldownSeparator", _class2.componentId = 'Drilldown.Separator', _class2.propTypes = propTypes, _class2.allowedProps = allowedProps, _class2.defaultProps = {}, _class2)) || _class);
|
|
57
51
|
export default DrilldownSeparator;
|
|
58
52
|
export { DrilldownSeparator };
|