@instructure/ui-drilldown 11.7.8 → 11.7.9-pr-snapshot-1792147648392
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 +13 -0
- package/es/Drilldown/v1/DrilldownGroup/index.js +26 -53
- package/es/Drilldown/v1/DrilldownGroup/props.js +15 -26
- package/es/Drilldown/v1/DrilldownOption/index.js +29 -53
- package/es/Drilldown/v1/DrilldownOption/props.js +23 -26
- package/es/Drilldown/v1/DrilldownPage/index.js +20 -45
- package/es/Drilldown/v1/DrilldownPage/props.js +12 -26
- package/es/Drilldown/v1/DrilldownSeparator/index.js +22 -46
- package/es/Drilldown/v1/DrilldownSeparator/props.js +5 -26
- package/es/Drilldown/v1/index.js +986 -1329
- package/es/Drilldown/v1/props.js +41 -28
- package/es/Drilldown/v1/styles.js +46 -84
- package/es/Drilldown/v1/theme.js +13 -46
- package/es/Drilldown/v2/DrilldownGroup/index.js +26 -54
- package/es/Drilldown/v2/DrilldownGroup/props.js +15 -26
- package/es/Drilldown/v2/DrilldownOption/index.js +29 -54
- package/es/Drilldown/v2/DrilldownOption/props.js +23 -26
- package/es/Drilldown/v2/DrilldownPage/index.js +20 -45
- package/es/Drilldown/v2/DrilldownPage/props.js +12 -26
- package/es/Drilldown/v2/DrilldownSeparator/index.js +22 -47
- package/es/Drilldown/v2/DrilldownSeparator/props.js +5 -26
- package/es/Drilldown/v2/index.js +996 -1339
- package/es/Drilldown/v2/props.js +41 -28
- package/es/Drilldown/v2/styles.js +47 -85
- package/es/exports/a.js +1 -25
- package/es/exports/b.js +1 -25
- package/package.json +20 -26
- package/tsconfig.build.json +0 -1
- package/tsconfig.build.tsbuildinfo +1 -1
- package/lib/Drilldown/v1/DrilldownGroup/index.js +0 -62
- package/lib/Drilldown/v1/DrilldownGroup/props.js +0 -31
- package/lib/Drilldown/v1/DrilldownOption/index.js +0 -62
- package/lib/Drilldown/v1/DrilldownOption/props.js +0 -31
- package/lib/Drilldown/v1/DrilldownPage/index.js +0 -56
- package/lib/Drilldown/v1/DrilldownPage/props.js +0 -31
- package/lib/Drilldown/v1/DrilldownSeparator/index.js +0 -55
- package/lib/Drilldown/v1/DrilldownSeparator/props.js +0 -31
- package/lib/Drilldown/v1/index.js +0 -1411
- package/lib/Drilldown/v1/props.js +0 -33
- package/lib/Drilldown/v1/styles.js +0 -91
- package/lib/Drilldown/v1/theme.js +0 -53
- package/lib/Drilldown/v2/DrilldownGroup/index.js +0 -62
- package/lib/Drilldown/v2/DrilldownGroup/props.js +0 -31
- package/lib/Drilldown/v2/DrilldownOption/index.js +0 -62
- package/lib/Drilldown/v2/DrilldownOption/props.js +0 -31
- package/lib/Drilldown/v2/DrilldownPage/index.js +0 -56
- package/lib/Drilldown/v2/DrilldownPage/props.js +0 -31
- package/lib/Drilldown/v2/DrilldownSeparator/index.js +0 -55
- package/lib/Drilldown/v2/DrilldownSeparator/props.js +0 -31
- package/lib/Drilldown/v2/index.js +0 -1417
- package/lib/Drilldown/v2/props.js +0 -33
- package/lib/Drilldown/v2/styles.js +0 -92
- package/lib/exports/a.js +0 -40
- package/lib/exports/b.js +0 -40
- package/lib/package.json +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,19 @@
|
|
|
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.9-pr-snapshot-1792147648392](https://github.com/instructure/instructure-ui/compare/v11.7.8...v11.7.9-pr-snapshot-1792147648392) (2026-10-16)
|
|
7
|
+
|
|
8
|
+
### Build System
|
|
9
|
+
|
|
10
|
+
* **many:** replace babel with swc ([7e36c54](https://github.com/instructure/instructure-ui/commit/7e36c54d240b4fa483801c03ab18e7f860f561e2))
|
|
11
|
+
|
|
12
|
+
### BREAKING CHANGES
|
|
13
|
+
|
|
14
|
+
* **many:** `@instructure/ui-babel-preset` and
|
|
15
|
+
`@instructure/browserslist-config-instui` are removed and will no longer be
|
|
16
|
+
published. Packages depend on `@swc/helpers` instead of `@babel/runtime`.
|
|
17
|
+
|
|
18
|
+
|
|
6
19
|
## [11.7.8](https://github.com/instructure/instructure-ui/compare/v11.7.7...v11.7.8) (2026-10-02)
|
|
7
20
|
|
|
8
21
|
**Note:** Version bump only for package @instructure/ui-drilldown
|
|
@@ -1,59 +1,32 @@
|
|
|
1
|
-
|
|
2
|
-
/*
|
|
3
|
-
* The MIT License (MIT)
|
|
4
|
-
*
|
|
5
|
-
* Copyright (c) 2015 - present Instructure, Inc.
|
|
6
|
-
*
|
|
7
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
8
|
-
* of this software and associated documentation files (the "Software"), to deal
|
|
9
|
-
* in the Software without restriction, including without limitation the rights
|
|
10
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
11
|
-
* copies of the Software, and to permit persons to whom the Software is
|
|
12
|
-
* furnished to do so, subject to the following conditions:
|
|
13
|
-
*
|
|
14
|
-
* The above copyright notice and this permission notice shall be included in all
|
|
15
|
-
* copies or substantial portions of the Software.
|
|
16
|
-
*
|
|
17
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
18
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
19
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
20
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
21
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
22
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
23
|
-
* SOFTWARE.
|
|
24
|
-
*/
|
|
25
|
-
|
|
1
|
+
import { _ as _ts_decorate } from "@swc/helpers/_/_ts_decorate";
|
|
26
2
|
import { Component } from 'react';
|
|
27
3
|
import { withStyle } from '@instructure/emotion';
|
|
28
4
|
import { optionsThemeGenerator } from '@instructure/ui-options';
|
|
29
5
|
import { allowedProps } from './props.js';
|
|
30
6
|
import { isMac, isFirefox } from '@instructure/ui-utils';
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
return null;
|
|
56
|
-
}
|
|
57
|
-
}) || _class);
|
|
7
|
+
class DrilldownGroup extends Component {
|
|
8
|
+
static{
|
|
9
|
+
this.displayName = 'DrilldownGroup';
|
|
10
|
+
}
|
|
11
|
+
static{
|
|
12
|
+
this.componentId = 'Drilldown.Group';
|
|
13
|
+
}
|
|
14
|
+
static{
|
|
15
|
+
this.allowedProps = allowedProps;
|
|
16
|
+
}
|
|
17
|
+
static{
|
|
18
|
+
this.defaultProps = {
|
|
19
|
+
disabled: false,
|
|
20
|
+
withoutSeparators: false,
|
|
21
|
+
role: !isMac() && isFirefox() ? 'menu' : 'group'
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
render() {
|
|
25
|
+
return null;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
DrilldownGroup = _ts_decorate([
|
|
29
|
+
withStyle(null, optionsThemeGenerator)
|
|
30
|
+
], DrilldownGroup);
|
|
58
31
|
export default DrilldownGroup;
|
|
59
|
-
export { DrilldownGroup };
|
|
32
|
+
export { DrilldownGroup };
|
|
@@ -1,26 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
|
-
* SOFTWARE.
|
|
23
|
-
*/
|
|
24
|
-
|
|
25
|
-
const allowedProps = ['id', 'children', 'renderGroupTitle', 'withoutSeparators', 'disabled', 'role', 'as', 'elementRef', 'selectableType', 'defaultSelected', 'selectedOptions', 'onSelect'];
|
|
26
|
-
export { allowedProps };
|
|
1
|
+
const allowedProps = [
|
|
2
|
+
'id',
|
|
3
|
+
'children',
|
|
4
|
+
'renderGroupTitle',
|
|
5
|
+
'withoutSeparators',
|
|
6
|
+
'disabled',
|
|
7
|
+
'role',
|
|
8
|
+
'as',
|
|
9
|
+
'elementRef',
|
|
10
|
+
'selectableType',
|
|
11
|
+
'defaultSelected',
|
|
12
|
+
'selectedOptions',
|
|
13
|
+
'onSelect'
|
|
14
|
+
];
|
|
15
|
+
export { allowedProps };
|
|
@@ -1,58 +1,34 @@
|
|
|
1
|
-
|
|
2
|
-
/*
|
|
3
|
-
* The MIT License (MIT)
|
|
4
|
-
*
|
|
5
|
-
* Copyright (c) 2015 - present Instructure, Inc.
|
|
6
|
-
*
|
|
7
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
8
|
-
* of this software and associated documentation files (the "Software"), to deal
|
|
9
|
-
* in the Software without restriction, including without limitation the rights
|
|
10
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
11
|
-
* copies of the Software, and to permit persons to whom the Software is
|
|
12
|
-
* furnished to do so, subject to the following conditions:
|
|
13
|
-
*
|
|
14
|
-
* The above copyright notice and this permission notice shall be included in all
|
|
15
|
-
* copies or substantial portions of the Software.
|
|
16
|
-
*
|
|
17
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
18
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
19
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
20
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
21
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
22
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
23
|
-
* SOFTWARE.
|
|
24
|
-
*/
|
|
25
|
-
|
|
1
|
+
import { _ as _ts_decorate } from "@swc/helpers/_/_ts_decorate";
|
|
26
2
|
import { Component } from 'react';
|
|
27
3
|
import { withStyle } from '@instructure/emotion';
|
|
28
4
|
import { optionsItemThemeGenerator } from '@instructure/ui-options';
|
|
29
5
|
import { allowedProps } from './props.js';
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
6
|
+
class DrilldownOption extends Component {
|
|
7
|
+
static{
|
|
8
|
+
this.displayName = 'DrilldownOption';
|
|
9
|
+
}
|
|
10
|
+
static{
|
|
11
|
+
this.componentId = 'Drilldown.Option';
|
|
12
|
+
}
|
|
13
|
+
static{
|
|
14
|
+
this.allowedProps = allowedProps;
|
|
15
|
+
}
|
|
16
|
+
static{
|
|
17
|
+
this.defaultProps = {
|
|
18
|
+
disabled: false,
|
|
19
|
+
beforeLabelContentVAlign: 'start',
|
|
20
|
+
afterLabelContentVAlign: 'start',
|
|
21
|
+
as: 'li',
|
|
22
|
+
role: 'menuitem',
|
|
23
|
+
shouldCloseOnClick: 'auto'
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
render() {
|
|
27
|
+
return null;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
DrilldownOption = _ts_decorate([
|
|
31
|
+
withStyle(null, optionsItemThemeGenerator)
|
|
32
|
+
], DrilldownOption);
|
|
57
33
|
export default DrilldownOption;
|
|
58
|
-
export { DrilldownOption };
|
|
34
|
+
export { DrilldownOption };
|
|
@@ -1,26 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const allowedProps = ['id', 'children', 'subPageId', 'disabled', 'selected', 'value', 'href', 'as', 'role', 'renderLabelInfo', 'renderBeforeLabel', 'renderAfterLabel', 'beforeLabelContentVAlign', 'afterLabelContentVAlign', 'description', 'descriptionRole', 'onOptionClick', 'defaultSelected', 'elementRef', 'shouldCloseOnClick'];
|
|
26
|
-
export { allowedProps };
|
|
1
|
+
const allowedProps = [
|
|
2
|
+
'id',
|
|
3
|
+
'children',
|
|
4
|
+
'subPageId',
|
|
5
|
+
'disabled',
|
|
6
|
+
'selected',
|
|
7
|
+
'value',
|
|
8
|
+
'href',
|
|
9
|
+
'as',
|
|
10
|
+
'role',
|
|
11
|
+
'renderLabelInfo',
|
|
12
|
+
'renderBeforeLabel',
|
|
13
|
+
'renderAfterLabel',
|
|
14
|
+
'beforeLabelContentVAlign',
|
|
15
|
+
'afterLabelContentVAlign',
|
|
16
|
+
'description',
|
|
17
|
+
'descriptionRole',
|
|
18
|
+
'onOptionClick',
|
|
19
|
+
'defaultSelected',
|
|
20
|
+
'elementRef',
|
|
21
|
+
'shouldCloseOnClick'
|
|
22
|
+
];
|
|
23
|
+
export { allowedProps };
|
|
@@ -1,50 +1,25 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* The MIT License (MIT)
|
|
3
|
-
*
|
|
4
|
-
* Copyright (c) 2015 - present Instructure, Inc.
|
|
5
|
-
*
|
|
6
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
-
* of this software and associated documentation files (the "Software"), to deal
|
|
8
|
-
* in the Software without restriction, including without limitation the rights
|
|
9
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
-
* copies of the Software, and to permit persons to whom the Software is
|
|
11
|
-
* furnished to do so, subject to the following conditions:
|
|
12
|
-
*
|
|
13
|
-
* The above copyright notice and this permission notice shall be included in all
|
|
14
|
-
* copies or substantial portions of the Software.
|
|
15
|
-
*
|
|
16
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
|
-
* SOFTWARE.
|
|
23
|
-
*/
|
|
24
|
-
|
|
25
1
|
import { Component } from 'react';
|
|
26
2
|
import { allowedProps } from './props.js';
|
|
27
|
-
/**
|
|
28
|
-
---
|
|
29
|
-
parent: Drilldown
|
|
30
|
-
id: Drilldown.Page
|
|
31
|
-
---
|
|
32
|
-
@module DrilldownPage
|
|
33
|
-
**/
|
|
34
3
|
class DrilldownPage extends Component {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
4
|
+
static{
|
|
5
|
+
this.displayName = 'DrilldownPage';
|
|
6
|
+
}
|
|
7
|
+
static{
|
|
8
|
+
this.componentId = 'Drilldown.Page';
|
|
9
|
+
}
|
|
10
|
+
static{
|
|
11
|
+
this.allowedProps = allowedProps;
|
|
12
|
+
}
|
|
13
|
+
static{
|
|
14
|
+
this.defaultProps = {
|
|
15
|
+
renderBackButtonLabel: 'Back',
|
|
16
|
+
disabled: false,
|
|
17
|
+
withoutHeaderSeparator: false
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
render() {
|
|
21
|
+
return null;
|
|
22
|
+
}
|
|
48
23
|
}
|
|
49
24
|
export default DrilldownPage;
|
|
50
|
-
export { DrilldownPage };
|
|
25
|
+
export { DrilldownPage };
|
|
@@ -1,26 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
* The above copyright notice and this permission notice shall be included in all
|
|
14
|
-
* copies or substantial portions of the Software.
|
|
15
|
-
*
|
|
16
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
|
-
* SOFTWARE.
|
|
23
|
-
*/
|
|
24
|
-
|
|
25
|
-
const allowedProps = ['id', 'children', 'renderTitle', 'renderActionLabel', 'renderBackButtonLabel', 'onHeaderActionClicked', 'onBackButtonClicked', 'withoutHeaderSeparator', 'disabled'];
|
|
26
|
-
export { allowedProps };
|
|
1
|
+
const allowedProps = [
|
|
2
|
+
'id',
|
|
3
|
+
'children',
|
|
4
|
+
'renderTitle',
|
|
5
|
+
'renderActionLabel',
|
|
6
|
+
'renderBackButtonLabel',
|
|
7
|
+
'onHeaderActionClicked',
|
|
8
|
+
'onBackButtonClicked',
|
|
9
|
+
'withoutHeaderSeparator',
|
|
10
|
+
'disabled'
|
|
11
|
+
];
|
|
12
|
+
export { allowedProps };
|
|
@@ -1,51 +1,27 @@
|
|
|
1
|
-
|
|
2
|
-
/*
|
|
3
|
-
* The MIT License (MIT)
|
|
4
|
-
*
|
|
5
|
-
* Copyright (c) 2015 - present Instructure, Inc.
|
|
6
|
-
*
|
|
7
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
8
|
-
* of this software and associated documentation files (the "Software"), to deal
|
|
9
|
-
* in the Software without restriction, including without limitation the rights
|
|
10
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
11
|
-
* copies of the Software, and to permit persons to whom the Software is
|
|
12
|
-
* furnished to do so, subject to the following conditions:
|
|
13
|
-
*
|
|
14
|
-
* The above copyright notice and this permission notice shall be included in all
|
|
15
|
-
* copies or substantial portions of the Software.
|
|
16
|
-
*
|
|
17
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
18
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
19
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
20
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
21
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
22
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
23
|
-
* SOFTWARE.
|
|
24
|
-
*/
|
|
25
|
-
|
|
1
|
+
import { _ as _ts_decorate } from "@swc/helpers/_/_ts_decorate";
|
|
26
2
|
import { Component } from 'react';
|
|
27
3
|
import { withStyle } from '@instructure/emotion';
|
|
28
4
|
import { optionsSeparatorThemeGenerator } from '@instructure/ui-options';
|
|
29
5
|
import { allowedProps } from './props.js';
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
6
|
+
class DrilldownSeparator extends Component {
|
|
7
|
+
static{
|
|
8
|
+
this.displayName = 'DrilldownSeparator';
|
|
9
|
+
}
|
|
10
|
+
static{
|
|
11
|
+
this.componentId = 'Drilldown.Separator';
|
|
12
|
+
}
|
|
13
|
+
static{
|
|
14
|
+
this.allowedProps = allowedProps;
|
|
15
|
+
}
|
|
16
|
+
static{
|
|
17
|
+
this.defaultProps = {};
|
|
18
|
+
}
|
|
19
|
+
render() {
|
|
20
|
+
return null;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
DrilldownSeparator = _ts_decorate([
|
|
24
|
+
withStyle(null, optionsSeparatorThemeGenerator)
|
|
25
|
+
], DrilldownSeparator);
|
|
50
26
|
export default DrilldownSeparator;
|
|
51
|
-
export { DrilldownSeparator };
|
|
27
|
+
export { DrilldownSeparator };
|
|
@@ -1,26 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
-
* of this software and associated documentation files (the "Software"), to deal
|
|
8
|
-
* in the Software without restriction, including without limitation the rights
|
|
9
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
-
* copies of the Software, and to permit persons to whom the Software is
|
|
11
|
-
* furnished to do so, subject to the following conditions:
|
|
12
|
-
*
|
|
13
|
-
* The above copyright notice and this permission notice shall be included in all
|
|
14
|
-
* copies or substantial portions of the Software.
|
|
15
|
-
*
|
|
16
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
|
-
* SOFTWARE.
|
|
23
|
-
*/
|
|
24
|
-
|
|
25
|
-
const allowedProps = ['id', 'as'];
|
|
26
|
-
export { allowedProps };
|
|
1
|
+
const allowedProps = [
|
|
2
|
+
'id',
|
|
3
|
+
'as'
|
|
4
|
+
];
|
|
5
|
+
export { allowedProps };
|