@instructure/ui-drilldown 11.7.3-snapshot-7 → 11.7.3-snapshot-26
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 +5 -2
- package/es/Drilldown/v1/DrilldownGroup/index.js +13 -9
- package/es/Drilldown/v1/DrilldownOption/index.js +14 -10
- package/es/Drilldown/v1/DrilldownPage/index.js +8 -8
- package/es/Drilldown/v1/DrilldownSeparator/index.js +7 -3
- package/es/Drilldown/v1/index.js +569 -523
- package/es/Drilldown/v1/styles.js +3 -1
- package/es/Drilldown/v1/theme.js +9 -8
- package/es/Drilldown/v2/DrilldownGroup/index.js +13 -9
- package/es/Drilldown/v2/DrilldownOption/index.js +14 -10
- package/es/Drilldown/v2/DrilldownPage/index.js +8 -8
- package/es/Drilldown/v2/DrilldownSeparator/index.js +7 -3
- package/es/Drilldown/v2/index.js +570 -524
- package/es/Drilldown/v2/styles.js +3 -1
- package/lib/Drilldown/v1/DrilldownGroup/index.js +13 -9
- package/lib/Drilldown/v1/DrilldownOption/index.js +14 -10
- package/lib/Drilldown/v1/DrilldownPage/index.js +8 -8
- package/lib/Drilldown/v1/DrilldownSeparator/index.js +7 -3
- package/lib/Drilldown/v1/index.js +569 -523
- package/lib/Drilldown/v1/styles.js +3 -1
- package/lib/Drilldown/v1/theme.js +9 -8
- package/lib/Drilldown/v2/DrilldownGroup/index.js +13 -9
- package/lib/Drilldown/v2/DrilldownOption/index.js +14 -10
- package/lib/Drilldown/v2/DrilldownPage/index.js +8 -8
- package/lib/Drilldown/v2/DrilldownSeparator/index.js +7 -3
- package/lib/Drilldown/v2/index.js +570 -524
- package/lib/Drilldown/v2/styles.js +3 -1
- package/package.json +19 -19
- package/tsconfig.build.tsbuildinfo +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,9 +3,12 @@
|
|
|
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
|
-
## [11.7.3-snapshot-
|
|
6
|
+
## [11.7.3-snapshot-26](https://github.com/instructure/instructure-ui/compare/v11.7.2...v11.7.3-snapshot-26) (2026-05-05)
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **many:** update dependencies, remove lots of Babel plugins, remove Webpack 4 support ([f916fca](https://github.com/instructure/instructure-ui/commit/f916fcafdddcb2d7de401f93e8ff92cfdfa47bba))
|
|
9
12
|
|
|
10
13
|
|
|
11
14
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var _dec, _class
|
|
1
|
+
var _dec, _class;
|
|
2
2
|
/*
|
|
3
3
|
* The MIT License (MIT)
|
|
4
4
|
*
|
|
@@ -38,18 +38,22 @@ id: Drilldown.Group
|
|
|
38
38
|
**/
|
|
39
39
|
// needed for listing the available theme variables on docs page,
|
|
40
40
|
// we pass the themeOverrides to Options
|
|
41
|
-
let DrilldownGroup = (_dec = withStyle(null, optionsThemeGenerator), _dec(_class =
|
|
41
|
+
let DrilldownGroup = (_dec = withStyle(null, optionsThemeGenerator), _dec(_class = class DrilldownGroup extends Component {
|
|
42
|
+
static displayName = "DrilldownGroup";
|
|
43
|
+
static componentId = 'Drilldown.Group';
|
|
44
|
+
static allowedProps = allowedProps;
|
|
45
|
+
static defaultProps = {
|
|
46
|
+
disabled: false,
|
|
47
|
+
withoutSeparators: false,
|
|
48
|
+
// Firefox with NVDA does not read Drilldown.Group with role="group" correctly
|
|
49
|
+
// but setting role="menu" on all other platforms results in Drilldown.Group label not being read
|
|
50
|
+
role: !isMac() && isFirefox() ? 'menu' : 'group'
|
|
51
|
+
};
|
|
42
52
|
render() {
|
|
43
53
|
// this component is only used for prop validation.
|
|
44
54
|
// Drilldown.Group is parsed in Drilldown as an Options component.
|
|
45
55
|
return null;
|
|
46
56
|
}
|
|
47
|
-
}
|
|
48
|
-
disabled: false,
|
|
49
|
-
withoutSeparators: false,
|
|
50
|
-
// Firefox with NVDA does not read Drilldown.Group with role="group" correctly
|
|
51
|
-
// but setting role="menu" on all other platforms results in Drilldown.Group label not being read
|
|
52
|
-
role: !isMac() && isFirefox() ? 'menu' : 'group'
|
|
53
|
-
}, _DrilldownGroup)) || _class);
|
|
57
|
+
}) || _class);
|
|
54
58
|
export default DrilldownGroup;
|
|
55
59
|
export { DrilldownGroup };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var _dec, _class
|
|
1
|
+
var _dec, _class;
|
|
2
2
|
/*
|
|
3
3
|
* The MIT License (MIT)
|
|
4
4
|
*
|
|
@@ -36,19 +36,23 @@ id: Drilldown.Option
|
|
|
36
36
|
**/
|
|
37
37
|
// needed for listing the available theme variables on docs page,
|
|
38
38
|
// we pass the themeOverrides to Options.Item
|
|
39
|
-
let DrilldownOption = (_dec = withStyle(null, optionsItemThemeGenerator), _dec(_class =
|
|
39
|
+
let DrilldownOption = (_dec = withStyle(null, optionsItemThemeGenerator), _dec(_class = class DrilldownOption extends Component {
|
|
40
|
+
static displayName = "DrilldownOption";
|
|
41
|
+
static componentId = 'Drilldown.Option';
|
|
42
|
+
static allowedProps = allowedProps;
|
|
43
|
+
static defaultProps = {
|
|
44
|
+
disabled: false,
|
|
45
|
+
beforeLabelContentVAlign: 'start',
|
|
46
|
+
afterLabelContentVAlign: 'start',
|
|
47
|
+
as: 'li',
|
|
48
|
+
role: 'menuitem',
|
|
49
|
+
shouldCloseOnClick: 'auto'
|
|
50
|
+
};
|
|
40
51
|
render() {
|
|
41
52
|
// this component is only used for prop validation. Drilldown.Option children
|
|
42
53
|
// are parsed in Drilldown and rendered as Options.Item components
|
|
43
54
|
return null;
|
|
44
55
|
}
|
|
45
|
-
}
|
|
46
|
-
disabled: false,
|
|
47
|
-
beforeLabelContentVAlign: 'start',
|
|
48
|
-
afterLabelContentVAlign: 'start',
|
|
49
|
-
as: 'li',
|
|
50
|
-
role: 'menuitem',
|
|
51
|
-
shouldCloseOnClick: 'auto'
|
|
52
|
-
}, _DrilldownOption)) || _class);
|
|
56
|
+
}) || _class);
|
|
53
57
|
export default DrilldownOption;
|
|
54
58
|
export { DrilldownOption };
|
|
@@ -32,19 +32,19 @@ id: Drilldown.Page
|
|
|
32
32
|
@module DrilldownPage
|
|
33
33
|
**/
|
|
34
34
|
class DrilldownPage extends Component {
|
|
35
|
+
static displayName = "DrilldownPage";
|
|
36
|
+
static componentId = 'Drilldown.Page';
|
|
37
|
+
static allowedProps = allowedProps;
|
|
38
|
+
static defaultProps = {
|
|
39
|
+
renderBackButtonLabel: 'Back',
|
|
40
|
+
disabled: false,
|
|
41
|
+
withoutHeaderSeparator: false
|
|
42
|
+
};
|
|
35
43
|
render() {
|
|
36
44
|
// this component is only used for prop validation.
|
|
37
45
|
// Drilldown.Page children are parsed in Drilldown.
|
|
38
46
|
return null;
|
|
39
47
|
}
|
|
40
48
|
}
|
|
41
|
-
DrilldownPage.displayName = "DrilldownPage";
|
|
42
|
-
DrilldownPage.componentId = 'Drilldown.Page';
|
|
43
|
-
DrilldownPage.allowedProps = allowedProps;
|
|
44
|
-
DrilldownPage.defaultProps = {
|
|
45
|
-
renderBackButtonLabel: 'Back',
|
|
46
|
-
disabled: false,
|
|
47
|
-
withoutHeaderSeparator: false
|
|
48
|
-
};
|
|
49
49
|
export default DrilldownPage;
|
|
50
50
|
export { DrilldownPage };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var _dec, _class
|
|
1
|
+
var _dec, _class;
|
|
2
2
|
/*
|
|
3
3
|
* The MIT License (MIT)
|
|
4
4
|
*
|
|
@@ -36,12 +36,16 @@ id: Drilldown.Separator
|
|
|
36
36
|
**/
|
|
37
37
|
// needed for listing the available theme variables on docs page,
|
|
38
38
|
// we pass the themeOverrides to Options.Separator
|
|
39
|
-
let DrilldownSeparator = (_dec = withStyle(null, optionsSeparatorThemeGenerator), _dec(_class =
|
|
39
|
+
let DrilldownSeparator = (_dec = withStyle(null, optionsSeparatorThemeGenerator), _dec(_class = class DrilldownSeparator extends Component {
|
|
40
|
+
static displayName = "DrilldownSeparator";
|
|
41
|
+
static componentId = 'Drilldown.Separator';
|
|
42
|
+
static allowedProps = allowedProps;
|
|
43
|
+
static defaultProps = {};
|
|
40
44
|
render() {
|
|
41
45
|
// this component is only used for prop validation. Drilldown.Separator children
|
|
42
46
|
// are parsed in Drilldown and rendered as Options.Separator components
|
|
43
47
|
return null;
|
|
44
48
|
}
|
|
45
|
-
}
|
|
49
|
+
}) || _class);
|
|
46
50
|
export default DrilldownSeparator;
|
|
47
51
|
export { DrilldownSeparator };
|