@instructure/ui-drilldown 11.7.3 → 11.7.4-pr-snapshot-1781695314229
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 +8 -0
- package/LICENSE.md +1 -0
- package/{lib/Drilldown/v1/DrilldownSeparator/props.js → babel.config.cjs} +12 -7
- package/es/Drilldown/v1/DrilldownGroup/index.js +2 -2
- package/es/Drilldown/v1/DrilldownOption/index.js +2 -2
- package/es/Drilldown/v1/DrilldownPage/index.js +2 -2
- package/es/Drilldown/v1/DrilldownSeparator/index.js +2 -2
- package/es/Drilldown/v1/index.js +13 -11
- package/es/Drilldown/v2/DrilldownGroup/index.js +2 -2
- package/es/Drilldown/v2/DrilldownOption/index.js +2 -2
- package/es/Drilldown/v2/DrilldownPage/index.js +2 -2
- package/es/Drilldown/v2/DrilldownSeparator/index.js +2 -2
- package/es/Drilldown/v2/index.js +12 -10
- package/es/exports/a.js +6 -5
- package/es/exports/b.js +6 -5
- package/package.json +20 -25
- package/src/Drilldown/v1/DrilldownGroup/index.tsx +2 -1
- package/src/Drilldown/v1/DrilldownGroup/props.ts +1 -1
- package/src/Drilldown/v1/DrilldownOption/index.tsx +2 -1
- package/src/Drilldown/v1/DrilldownOption/props.ts +1 -1
- package/src/Drilldown/v1/DrilldownPage/index.tsx +2 -1
- package/src/Drilldown/v1/DrilldownSeparator/index.tsx +2 -1
- package/src/Drilldown/v1/index.tsx +8 -7
- package/src/Drilldown/v1/props.ts +5 -5
- package/src/Drilldown/v2/DrilldownGroup/index.tsx +2 -1
- package/src/Drilldown/v2/DrilldownGroup/props.ts +1 -1
- package/src/Drilldown/v2/DrilldownOption/index.tsx +2 -1
- package/src/Drilldown/v2/DrilldownOption/props.ts +1 -1
- package/src/Drilldown/v2/DrilldownPage/index.tsx +2 -1
- package/src/Drilldown/v2/DrilldownSeparator/index.tsx +2 -1
- package/src/Drilldown/v2/index.tsx +7 -6
- package/src/Drilldown/v2/props.ts +5 -5
- package/src/exports/a.ts +5 -5
- package/src/exports/b.ts +5 -5
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/Drilldown/v1/DrilldownGroup/index.d.ts +7 -6
- package/types/Drilldown/v1/DrilldownGroup/index.d.ts.map +1 -1
- package/types/Drilldown/v1/DrilldownGroup/props.d.ts +1 -1
- package/types/Drilldown/v1/DrilldownGroup/props.d.ts.map +1 -1
- package/types/Drilldown/v1/DrilldownOption/index.d.ts +3 -2
- package/types/Drilldown/v1/DrilldownOption/index.d.ts.map +1 -1
- package/types/Drilldown/v1/DrilldownOption/props.d.ts +1 -1
- package/types/Drilldown/v1/DrilldownOption/props.d.ts.map +1 -1
- package/types/Drilldown/v1/DrilldownPage/index.d.ts +2 -1
- package/types/Drilldown/v1/DrilldownPage/index.d.ts.map +1 -1
- package/types/Drilldown/v1/DrilldownSeparator/index.d.ts +1 -0
- package/types/Drilldown/v1/DrilldownSeparator/index.d.ts.map +1 -1
- package/types/Drilldown/v1/index.d.ts +6 -5
- package/types/Drilldown/v1/index.d.ts.map +1 -1
- package/types/Drilldown/v1/props.d.ts +5 -5
- package/types/Drilldown/v1/props.d.ts.map +1 -1
- package/types/Drilldown/v2/DrilldownGroup/index.d.ts +7 -6
- package/types/Drilldown/v2/DrilldownGroup/index.d.ts.map +1 -1
- package/types/Drilldown/v2/DrilldownGroup/props.d.ts +1 -1
- package/types/Drilldown/v2/DrilldownGroup/props.d.ts.map +1 -1
- package/types/Drilldown/v2/DrilldownOption/index.d.ts +3 -2
- package/types/Drilldown/v2/DrilldownOption/index.d.ts.map +1 -1
- package/types/Drilldown/v2/DrilldownOption/props.d.ts +1 -1
- package/types/Drilldown/v2/DrilldownOption/props.d.ts.map +1 -1
- package/types/Drilldown/v2/DrilldownPage/index.d.ts +2 -1
- package/types/Drilldown/v2/DrilldownPage/index.d.ts.map +1 -1
- package/types/Drilldown/v2/DrilldownSeparator/index.d.ts +1 -0
- package/types/Drilldown/v2/DrilldownSeparator/index.d.ts.map +1 -1
- package/types/Drilldown/v2/index.d.ts +6 -5
- package/types/Drilldown/v2/index.d.ts.map +1 -1
- package/types/Drilldown/v2/props.d.ts +5 -5
- package/types/Drilldown/v2/props.d.ts.map +1 -1
- package/types/exports/a.d.ts +5 -5
- package/types/exports/a.d.ts.map +1 -1
- package/types/exports/b.d.ts +5 -5
- package/types/exports/b.d.ts.map +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/index.js +0 -1417
- 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 -1423
- 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,14 @@
|
|
|
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.4-pr-snapshot-1781695314229](https://github.com/instructure/instructure-ui/compare/v11.7.3...v11.7.4-pr-snapshot-1781695314229) (2026-06-17)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @instructure/ui-drilldown
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [11.7.3](https://github.com/instructure/instructure-ui/compare/v11.7.2...v11.7.3) (2026-05-07)
|
|
7
15
|
|
|
8
16
|
|
package/LICENSE.md
CHANGED
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.allowedProps = void 0;
|
|
7
1
|
/*
|
|
8
2
|
* The MIT License (MIT)
|
|
9
3
|
*
|
|
@@ -28,4 +22,15 @@ exports.allowedProps = void 0;
|
|
|
28
22
|
* SOFTWARE.
|
|
29
23
|
*/
|
|
30
24
|
|
|
31
|
-
|
|
25
|
+
module.exports = {
|
|
26
|
+
presets: [
|
|
27
|
+
[
|
|
28
|
+
require('@instructure/ui-babel-preset'),
|
|
29
|
+
{
|
|
30
|
+
esModules: Boolean(process.env.ES_MODULES),
|
|
31
|
+
removeConsole: process.env.NODE_ENV === 'production',
|
|
32
|
+
transformImports: Boolean(process.env.TRANSFORM_IMPORTS)
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
]
|
|
36
|
+
}
|
|
@@ -26,7 +26,7 @@ var _dec, _class;
|
|
|
26
26
|
import { Component } from 'react';
|
|
27
27
|
import { withStyle } from '@instructure/emotion';
|
|
28
28
|
import { optionsThemeGenerator } from '@instructure/ui-options';
|
|
29
|
-
import { allowedProps } from
|
|
29
|
+
import { allowedProps } from './props.js';
|
|
30
30
|
import { isMac, isFirefox } from '@instructure/ui-utils';
|
|
31
31
|
|
|
32
32
|
/**
|
|
@@ -39,7 +39,7 @@ id: Drilldown.Group
|
|
|
39
39
|
// needed for listing the available theme variables on docs page,
|
|
40
40
|
// we pass the themeOverrides to Options
|
|
41
41
|
let DrilldownGroup = (_dec = withStyle(null, optionsThemeGenerator), _dec(_class = class DrilldownGroup extends Component {
|
|
42
|
-
static displayName =
|
|
42
|
+
static displayName = 'DrilldownGroup';
|
|
43
43
|
static componentId = 'Drilldown.Group';
|
|
44
44
|
static allowedProps = allowedProps;
|
|
45
45
|
static defaultProps = {
|
|
@@ -26,7 +26,7 @@ var _dec, _class;
|
|
|
26
26
|
import { Component } from 'react';
|
|
27
27
|
import { withStyle } from '@instructure/emotion';
|
|
28
28
|
import { optionsItemThemeGenerator } from '@instructure/ui-options';
|
|
29
|
-
import { allowedProps } from
|
|
29
|
+
import { allowedProps } from './props.js';
|
|
30
30
|
/**
|
|
31
31
|
---
|
|
32
32
|
parent: Drilldown
|
|
@@ -37,7 +37,7 @@ id: Drilldown.Option
|
|
|
37
37
|
// needed for listing the available theme variables on docs page,
|
|
38
38
|
// we pass the themeOverrides to Options.Item
|
|
39
39
|
let DrilldownOption = (_dec = withStyle(null, optionsItemThemeGenerator), _dec(_class = class DrilldownOption extends Component {
|
|
40
|
-
static displayName =
|
|
40
|
+
static displayName = 'DrilldownOption';
|
|
41
41
|
static componentId = 'Drilldown.Option';
|
|
42
42
|
static allowedProps = allowedProps;
|
|
43
43
|
static defaultProps = {
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
*/
|
|
24
24
|
|
|
25
25
|
import { Component } from 'react';
|
|
26
|
-
import { allowedProps } from
|
|
26
|
+
import { allowedProps } from './props.js';
|
|
27
27
|
/**
|
|
28
28
|
---
|
|
29
29
|
parent: Drilldown
|
|
@@ -32,7 +32,7 @@ id: Drilldown.Page
|
|
|
32
32
|
@module DrilldownPage
|
|
33
33
|
**/
|
|
34
34
|
class DrilldownPage extends Component {
|
|
35
|
-
static displayName =
|
|
35
|
+
static displayName = 'DrilldownPage';
|
|
36
36
|
static componentId = 'Drilldown.Page';
|
|
37
37
|
static allowedProps = allowedProps;
|
|
38
38
|
static defaultProps = {
|
|
@@ -26,7 +26,7 @@ var _dec, _class;
|
|
|
26
26
|
import { Component } from 'react';
|
|
27
27
|
import { withStyle } from '@instructure/emotion';
|
|
28
28
|
import { optionsSeparatorThemeGenerator } from '@instructure/ui-options';
|
|
29
|
-
import { allowedProps } from
|
|
29
|
+
import { allowedProps } from './props.js';
|
|
30
30
|
/**
|
|
31
31
|
---
|
|
32
32
|
parent: Drilldown
|
|
@@ -37,7 +37,7 @@ id: Drilldown.Separator
|
|
|
37
37
|
// needed for listing the available theme variables on docs page,
|
|
38
38
|
// we pass the themeOverrides to Options.Separator
|
|
39
39
|
let DrilldownSeparator = (_dec = withStyle(null, optionsSeparatorThemeGenerator), _dec(_class = class DrilldownSeparator extends Component {
|
|
40
|
-
static displayName =
|
|
40
|
+
static displayName = 'DrilldownSeparator';
|
|
41
41
|
static componentId = 'Drilldown.Separator';
|
|
42
42
|
static allowedProps = allowedProps;
|
|
43
43
|
static defaultProps = {};
|
package/es/Drilldown/v1/index.js
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
var _dec, _dec2, _class;
|
|
2
|
-
import "core-js/modules/es.array.includes.js";
|
|
3
|
-
import "core-js/modules/es.map.get-or-insert.js";
|
|
4
|
-
import "core-js/modules/es.map.get-or-insert-computed.js";
|
|
5
2
|
/*
|
|
6
3
|
* The MIT License (MIT)
|
|
7
4
|
*
|
|
@@ -37,18 +34,23 @@ import { Popover } from '@instructure/ui-popover/v11_6';
|
|
|
37
34
|
import { Selectable } from '@instructure/ui-selectable';
|
|
38
35
|
import { IconArrowOpenStartSolid, IconArrowOpenEndSolid, IconCheckSolid } from '@instructure/ui-icons';
|
|
39
36
|
import { withStyle } from '@instructure/emotion';
|
|
40
|
-
import { DrilldownSeparator } from
|
|
41
|
-
import { DrilldownOption } from
|
|
42
|
-
import { DrilldownGroup } from
|
|
43
|
-
import { DrilldownPage } from
|
|
44
|
-
import generateStyle from
|
|
45
|
-
import generateComponentTheme from
|
|
46
|
-
import { allowedProps } from
|
|
37
|
+
import { DrilldownSeparator } from './DrilldownSeparator/index.js';
|
|
38
|
+
import { DrilldownOption } from './DrilldownOption/index.js';
|
|
39
|
+
import { DrilldownGroup } from './DrilldownGroup/index.js';
|
|
40
|
+
import { DrilldownPage } from './DrilldownPage/index.js';
|
|
41
|
+
import generateStyle from './styles.js';
|
|
42
|
+
import generateComponentTheme from './theme.js';
|
|
43
|
+
import { allowedProps } from './props.js';
|
|
44
|
+
|
|
45
|
+
// Additional data we need to track on the Options,
|
|
47
46
|
// but shouldn't be settable via props
|
|
47
|
+
|
|
48
48
|
// Contains the Option ComponentElement and the extra data we need track on it,
|
|
49
49
|
// but don't want to expose as props
|
|
50
|
+
|
|
50
51
|
// Contains the props object of the Page
|
|
51
52
|
// with the `children` transformed into an array
|
|
53
|
+
|
|
52
54
|
// An object with the mapped Pages with their id as keys
|
|
53
55
|
import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
|
54
56
|
import { createElement as _createElement } from "@emotion/react";
|
|
@@ -58,7 +60,7 @@ category: components
|
|
|
58
60
|
---
|
|
59
61
|
**/
|
|
60
62
|
let Drilldown = (_dec = withDeterministicId(), _dec2 = withStyle(generateStyle, generateComponentTheme), _dec(_class = _dec2(_class = class Drilldown extends Component {
|
|
61
|
-
static displayName =
|
|
63
|
+
static displayName = 'Drilldown';
|
|
62
64
|
static componentId = 'Drilldown';
|
|
63
65
|
static allowedProps = allowedProps;
|
|
64
66
|
static defaultProps = {
|
|
@@ -25,7 +25,7 @@ var _dec, _class;
|
|
|
25
25
|
|
|
26
26
|
import { Component } from 'react';
|
|
27
27
|
import { withStyleNew } from '@instructure/emotion';
|
|
28
|
-
import { allowedProps } from
|
|
28
|
+
import { allowedProps } from './props.js';
|
|
29
29
|
import { isMac, isFirefox } from '@instructure/ui-utils';
|
|
30
30
|
|
|
31
31
|
/**
|
|
@@ -39,7 +39,7 @@ themeId: Options
|
|
|
39
39
|
// needed for listing the available theme variables on docs page,
|
|
40
40
|
// we pass the themeOverrides to Options
|
|
41
41
|
let DrilldownGroup = (_dec = withStyleNew(null), _dec(_class = class DrilldownGroup extends Component {
|
|
42
|
-
static displayName =
|
|
42
|
+
static displayName = 'DrilldownGroup';
|
|
43
43
|
static componentId = 'Drilldown.Group';
|
|
44
44
|
static allowedProps = allowedProps;
|
|
45
45
|
static defaultProps = {
|
|
@@ -25,7 +25,7 @@ var _dec, _class;
|
|
|
25
25
|
|
|
26
26
|
import { Component } from 'react';
|
|
27
27
|
import { withStyleNew } from '@instructure/emotion';
|
|
28
|
-
import { allowedProps } from
|
|
28
|
+
import { allowedProps } from './props.js';
|
|
29
29
|
/**
|
|
30
30
|
---
|
|
31
31
|
parent: Drilldown
|
|
@@ -37,7 +37,7 @@ themeId: OptionsItem
|
|
|
37
37
|
// needed for listing the available theme variables on docs page,
|
|
38
38
|
// we pass the themeOverrides to Options.Item
|
|
39
39
|
let DrilldownOption = (_dec = withStyleNew(null), _dec(_class = class DrilldownOption extends Component {
|
|
40
|
-
static displayName =
|
|
40
|
+
static displayName = 'DrilldownOption';
|
|
41
41
|
static componentId = 'Drilldown.Option';
|
|
42
42
|
static allowedProps = allowedProps;
|
|
43
43
|
static defaultProps = {
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
*/
|
|
24
24
|
|
|
25
25
|
import { Component } from 'react';
|
|
26
|
-
import { allowedProps } from
|
|
26
|
+
import { allowedProps } from './props.js';
|
|
27
27
|
/**
|
|
28
28
|
---
|
|
29
29
|
parent: Drilldown
|
|
@@ -32,7 +32,7 @@ id: Drilldown.Page
|
|
|
32
32
|
@module DrilldownPage
|
|
33
33
|
**/
|
|
34
34
|
class DrilldownPage extends Component {
|
|
35
|
-
static displayName =
|
|
35
|
+
static displayName = 'DrilldownPage';
|
|
36
36
|
static componentId = 'Drilldown.Page';
|
|
37
37
|
static allowedProps = allowedProps;
|
|
38
38
|
static defaultProps = {
|
|
@@ -25,7 +25,7 @@ var _dec, _class;
|
|
|
25
25
|
|
|
26
26
|
import { Component } from 'react';
|
|
27
27
|
import { withStyleNew } from '@instructure/emotion';
|
|
28
|
-
import { allowedProps } from
|
|
28
|
+
import { allowedProps } from './props.js';
|
|
29
29
|
/**
|
|
30
30
|
---
|
|
31
31
|
parent: Drilldown
|
|
@@ -37,7 +37,7 @@ themeId: OptionsSeparator
|
|
|
37
37
|
// needed for listing the available theme variables on docs page,
|
|
38
38
|
// we pass the themeOverrides to Options.Separator
|
|
39
39
|
let DrilldownSeparator = (_dec = withStyleNew(null), _dec(_class = class DrilldownSeparator extends Component {
|
|
40
|
-
static displayName =
|
|
40
|
+
static displayName = 'DrilldownSeparator';
|
|
41
41
|
static componentId = 'Drilldown.Separator';
|
|
42
42
|
static allowedProps = allowedProps;
|
|
43
43
|
static defaultProps = {};
|
package/es/Drilldown/v2/index.js
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
var _dec, _dec2, _class;
|
|
2
|
-
import "core-js/modules/es.array.includes.js";
|
|
3
|
-
import "core-js/modules/es.map.get-or-insert.js";
|
|
4
|
-
import "core-js/modules/es.map.get-or-insert-computed.js";
|
|
5
2
|
/*
|
|
6
3
|
* The MIT License (MIT)
|
|
7
4
|
*
|
|
@@ -37,17 +34,22 @@ import { Popover } from '@instructure/ui-popover/latest';
|
|
|
37
34
|
import { Selectable } from '@instructure/ui-selectable';
|
|
38
35
|
import { ChevronLeftInstUIIcon, ChevronRightInstUIIcon, CheckInstUIIcon } from '@instructure/ui-icons';
|
|
39
36
|
import { withStyleNew } from '@instructure/emotion';
|
|
40
|
-
import { DrilldownSeparator } from
|
|
41
|
-
import { DrilldownOption } from
|
|
42
|
-
import { DrilldownGroup } from
|
|
43
|
-
import { DrilldownPage } from
|
|
44
|
-
import generateStyle from
|
|
45
|
-
import { allowedProps } from
|
|
37
|
+
import { DrilldownSeparator } from './DrilldownSeparator/index.js';
|
|
38
|
+
import { DrilldownOption } from './DrilldownOption/index.js';
|
|
39
|
+
import { DrilldownGroup } from './DrilldownGroup/index.js';
|
|
40
|
+
import { DrilldownPage } from './DrilldownPage/index.js';
|
|
41
|
+
import generateStyle from './styles.js';
|
|
42
|
+
import { allowedProps } from './props.js';
|
|
43
|
+
|
|
44
|
+
// Additional data we need to track on the Options,
|
|
46
45
|
// but shouldn't be settable via props
|
|
46
|
+
|
|
47
47
|
// Contains the Option ComponentElement and the extra data we need track on it,
|
|
48
48
|
// but don't want to expose as props
|
|
49
|
+
|
|
49
50
|
// Contains the props object of the Page
|
|
50
51
|
// with the `children` transformed into an array
|
|
52
|
+
|
|
51
53
|
// An object with the mapped Pages with their id as keys
|
|
52
54
|
import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
|
53
55
|
import { createElement as _createElement } from "@emotion/react";
|
|
@@ -57,7 +59,7 @@ category: components
|
|
|
57
59
|
---
|
|
58
60
|
**/
|
|
59
61
|
let Drilldown = (_dec = withDeterministicId(), _dec2 = withStyleNew(generateStyle), _dec(_class = _dec2(_class = class Drilldown extends Component {
|
|
60
|
-
static displayName =
|
|
62
|
+
static displayName = 'Drilldown';
|
|
61
63
|
static componentId = 'Drilldown';
|
|
62
64
|
static allowedProps = allowedProps;
|
|
63
65
|
static defaultProps = {
|
package/es/exports/a.js
CHANGED
|
@@ -21,8 +21,9 @@
|
|
|
21
21
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
22
|
* SOFTWARE.
|
|
23
23
|
*/
|
|
24
|
-
|
|
25
|
-
export {
|
|
26
|
-
export {
|
|
27
|
-
export {
|
|
28
|
-
export {
|
|
24
|
+
|
|
25
|
+
export { Drilldown } from '../Drilldown/v1/index.js';
|
|
26
|
+
export { DrilldownGroup } from '../Drilldown/v1/DrilldownGroup/index.js';
|
|
27
|
+
export { DrilldownOption } from '../Drilldown/v1/DrilldownOption/index.js';
|
|
28
|
+
export { DrilldownPage } from '../Drilldown/v1/DrilldownPage/index.js';
|
|
29
|
+
export { DrilldownSeparator } from '../Drilldown/v1/DrilldownSeparator/index.js';
|
package/es/exports/b.js
CHANGED
|
@@ -21,8 +21,9 @@
|
|
|
21
21
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
22
|
* SOFTWARE.
|
|
23
23
|
*/
|
|
24
|
-
|
|
25
|
-
export {
|
|
26
|
-
export {
|
|
27
|
-
export {
|
|
28
|
-
export {
|
|
24
|
+
|
|
25
|
+
export { Drilldown } from '../Drilldown/v2/index.js';
|
|
26
|
+
export { DrilldownGroup } from '../Drilldown/v2/DrilldownGroup/index.js';
|
|
27
|
+
export { DrilldownOption } from '../Drilldown/v2/DrilldownOption/index.js';
|
|
28
|
+
export { DrilldownPage } from '../Drilldown/v2/DrilldownPage/index.js';
|
|
29
|
+
export { DrilldownSeparator } from '../Drilldown/v2/DrilldownSeparator/index.js';
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-drilldown",
|
|
3
|
-
"version": "11.7.
|
|
3
|
+
"version": "11.7.4-pr-snapshot-1781695314229",
|
|
4
|
+
"type": "module",
|
|
4
5
|
"description": "A drilldown menu component",
|
|
5
6
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
7
|
"module": "./es/index.js",
|
|
7
|
-
"main": "./lib/index.js",
|
|
8
8
|
"types": "./types/index.d.ts",
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
@@ -15,29 +15,29 @@
|
|
|
15
15
|
"license": "MIT",
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@babel/runtime": "^7.29.2",
|
|
18
|
-
"@instructure/console": "11.7.
|
|
19
|
-
"@instructure/
|
|
20
|
-
"@instructure/
|
|
21
|
-
"@instructure/ui-icons": "11.7.
|
|
22
|
-
"@instructure/
|
|
23
|
-
"@instructure/ui-options": "11.7.
|
|
24
|
-
"@instructure/ui-popover": "11.7.
|
|
25
|
-
"@instructure/ui-position": "11.7.
|
|
26
|
-
"@instructure/ui-
|
|
27
|
-
"@instructure/ui-
|
|
28
|
-
"@instructure/ui-utils": "11.7.
|
|
29
|
-
"@instructure/ui-themes": "11.7.
|
|
30
|
-
"@instructure/ui-view": "11.7.
|
|
18
|
+
"@instructure/console": "11.7.4-pr-snapshot-1781695314229",
|
|
19
|
+
"@instructure/emotion": "11.7.4-pr-snapshot-1781695314229",
|
|
20
|
+
"@instructure/shared-types": "11.7.4-pr-snapshot-1781695314229",
|
|
21
|
+
"@instructure/ui-icons": "11.7.4-pr-snapshot-1781695314229",
|
|
22
|
+
"@instructure/ui-dom-utils": "11.7.4-pr-snapshot-1781695314229",
|
|
23
|
+
"@instructure/ui-options": "11.7.4-pr-snapshot-1781695314229",
|
|
24
|
+
"@instructure/ui-popover": "11.7.4-pr-snapshot-1781695314229",
|
|
25
|
+
"@instructure/ui-position": "11.7.4-pr-snapshot-1781695314229",
|
|
26
|
+
"@instructure/ui-selectable": "11.7.4-pr-snapshot-1781695314229",
|
|
27
|
+
"@instructure/ui-react-utils": "11.7.4-pr-snapshot-1781695314229",
|
|
28
|
+
"@instructure/ui-utils": "11.7.4-pr-snapshot-1781695314229",
|
|
29
|
+
"@instructure/ui-themes": "11.7.4-pr-snapshot-1781695314229",
|
|
30
|
+
"@instructure/ui-view": "11.7.4-pr-snapshot-1781695314229"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@testing-library/jest-dom": "^6.6.3",
|
|
34
34
|
"@testing-library/react": "15.0.7",
|
|
35
35
|
"@testing-library/user-event": "^14.6.1",
|
|
36
36
|
"vitest": "^3.2.2",
|
|
37
|
-
"@instructure/ui-axe-check": "11.7.
|
|
38
|
-
"@instructure/ui-babel-preset": "11.7.
|
|
39
|
-
"@instructure/ui-
|
|
40
|
-
"@instructure/ui-
|
|
37
|
+
"@instructure/ui-axe-check": "11.7.4-pr-snapshot-1781695314229",
|
|
38
|
+
"@instructure/ui-babel-preset": "11.7.4-pr-snapshot-1781695314229",
|
|
39
|
+
"@instructure/ui-color-utils": "11.7.4-pr-snapshot-1781695314229",
|
|
40
|
+
"@instructure/ui-scripts": "11.7.4-pr-snapshot-1781695314229"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
43
|
"react": ">=18 <=19"
|
|
@@ -47,7 +47,6 @@
|
|
|
47
47
|
},
|
|
48
48
|
"sideEffects": false,
|
|
49
49
|
"exports": {
|
|
50
|
-
"./lib/*": "./lib/*",
|
|
51
50
|
"./es/*": "./es/*",
|
|
52
51
|
"./types/*": "./types/*",
|
|
53
52
|
"./package.json": "./package.json",
|
|
@@ -56,28 +55,24 @@
|
|
|
56
55
|
"src": "./src/exports/a.ts",
|
|
57
56
|
"types": "./types/exports/a.d.ts",
|
|
58
57
|
"import": "./es/exports/a.js",
|
|
59
|
-
"require": "./lib/exports/a.js",
|
|
60
58
|
"default": "./es/exports/a.js"
|
|
61
59
|
},
|
|
62
60
|
"./v11_6": {
|
|
63
61
|
"src": "./src/exports/a.ts",
|
|
64
62
|
"types": "./types/exports/a.d.ts",
|
|
65
63
|
"import": "./es/exports/a.js",
|
|
66
|
-
"require": "./lib/exports/a.js",
|
|
67
64
|
"default": "./es/exports/a.js"
|
|
68
65
|
},
|
|
69
66
|
"./v11_7": {
|
|
70
67
|
"src": "./src/exports/b.ts",
|
|
71
68
|
"types": "./types/exports/b.d.ts",
|
|
72
69
|
"import": "./es/exports/b.js",
|
|
73
|
-
"require": "./lib/exports/b.js",
|
|
74
70
|
"default": "./es/exports/b.js"
|
|
75
71
|
},
|
|
76
72
|
"./latest": {
|
|
77
73
|
"src": "./src/exports/b.ts",
|
|
78
74
|
"types": "./types/exports/b.d.ts",
|
|
79
75
|
"import": "./es/exports/b.js",
|
|
80
|
-
"require": "./lib/exports/b.js",
|
|
81
76
|
"default": "./es/exports/b.js"
|
|
82
77
|
}
|
|
83
78
|
},
|
|
@@ -85,7 +80,7 @@
|
|
|
85
80
|
"lint": "ui-scripts lint",
|
|
86
81
|
"lint:fix": "ui-scripts lint --fix",
|
|
87
82
|
"clean": "ui-scripts clean",
|
|
88
|
-
"build": "ui-scripts build
|
|
83
|
+
"build": "ui-scripts build",
|
|
89
84
|
"build:watch": "pnpm run ts:check -- --watch & ui-scripts build --watch",
|
|
90
85
|
"build:types": "tsc -p tsconfig.build.json",
|
|
91
86
|
"ts:check": "tsc -p tsconfig.build.json --noEmit --emitDeclarationOnly false"
|
|
@@ -27,7 +27,7 @@ import { Component } from 'react'
|
|
|
27
27
|
import { withStyle } from '@instructure/emotion'
|
|
28
28
|
import { optionsThemeGenerator } from '@instructure/ui-options'
|
|
29
29
|
|
|
30
|
-
import { allowedProps } from './props'
|
|
30
|
+
import { allowedProps } from './props.js'
|
|
31
31
|
import type { DrilldownGroupProps } from './props'
|
|
32
32
|
import { isMac, isFirefox } from '@instructure/ui-utils'
|
|
33
33
|
|
|
@@ -42,6 +42,7 @@ id: Drilldown.Group
|
|
|
42
42
|
// we pass the themeOverrides to Options
|
|
43
43
|
@withStyle(null, optionsThemeGenerator)
|
|
44
44
|
class DrilldownGroup extends Component<DrilldownGroupProps> {
|
|
45
|
+
static displayName = 'DrilldownGroup'
|
|
45
46
|
static readonly componentId = 'Drilldown.Group'
|
|
46
47
|
|
|
47
48
|
static allowedProps = allowedProps
|
|
@@ -31,7 +31,7 @@ import type {
|
|
|
31
31
|
} from '@instructure/shared-types'
|
|
32
32
|
import type { WithStyleProps } from '@instructure/emotion'
|
|
33
33
|
|
|
34
|
-
import Drilldown from '../index'
|
|
34
|
+
import Drilldown from '../index.js'
|
|
35
35
|
import type { DrilldownOptionValue } from '../DrilldownOption/props'
|
|
36
36
|
import type { OptionChild, SeparatorChild } from '../props'
|
|
37
37
|
|
|
@@ -27,7 +27,7 @@ import { Component } from 'react'
|
|
|
27
27
|
import { withStyle } from '@instructure/emotion'
|
|
28
28
|
import { optionsItemThemeGenerator } from '@instructure/ui-options'
|
|
29
29
|
|
|
30
|
-
import { allowedProps } from './props'
|
|
30
|
+
import { allowedProps } from './props.js'
|
|
31
31
|
import type { DrilldownOptionProps } from './props'
|
|
32
32
|
|
|
33
33
|
/**
|
|
@@ -41,6 +41,7 @@ id: Drilldown.Option
|
|
|
41
41
|
// we pass the themeOverrides to Options.Item
|
|
42
42
|
@withStyle(null, optionsItemThemeGenerator)
|
|
43
43
|
class DrilldownOption extends Component<DrilldownOptionProps> {
|
|
44
|
+
static displayName = 'DrilldownOption'
|
|
44
45
|
static readonly componentId = 'Drilldown.Option'
|
|
45
46
|
|
|
46
47
|
static allowedProps = allowedProps
|
|
@@ -34,7 +34,7 @@ import type {
|
|
|
34
34
|
OptionsItemProps
|
|
35
35
|
} from '@instructure/ui-options/v11_6'
|
|
36
36
|
|
|
37
|
-
import Drilldown from '../index'
|
|
37
|
+
import Drilldown from '../index.js'
|
|
38
38
|
import { Renderable } from '@instructure/shared-types'
|
|
39
39
|
|
|
40
40
|
type DrilldownOptionValue = string | number | undefined
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
|
|
25
25
|
import { Component } from 'react'
|
|
26
26
|
|
|
27
|
-
import { allowedProps } from './props'
|
|
27
|
+
import { allowedProps } from './props.js'
|
|
28
28
|
import type { DrilldownPageProps } from './props'
|
|
29
29
|
|
|
30
30
|
/**
|
|
@@ -35,6 +35,7 @@ id: Drilldown.Page
|
|
|
35
35
|
@module DrilldownPage
|
|
36
36
|
**/
|
|
37
37
|
class DrilldownPage extends Component<DrilldownPageProps> {
|
|
38
|
+
static displayName = 'DrilldownPage'
|
|
38
39
|
static readonly componentId = 'Drilldown.Page'
|
|
39
40
|
|
|
40
41
|
static allowedProps = allowedProps
|
|
@@ -27,7 +27,7 @@ import { Component } from 'react'
|
|
|
27
27
|
import { withStyle } from '@instructure/emotion'
|
|
28
28
|
import { optionsSeparatorThemeGenerator } from '@instructure/ui-options'
|
|
29
29
|
|
|
30
|
-
import { allowedProps } from './props'
|
|
30
|
+
import { allowedProps } from './props.js'
|
|
31
31
|
import type { DrilldownSeparatorProps } from './props'
|
|
32
32
|
|
|
33
33
|
/**
|
|
@@ -41,6 +41,7 @@ id: Drilldown.Separator
|
|
|
41
41
|
// we pass the themeOverrides to Options.Separator
|
|
42
42
|
@withStyle(null, optionsSeparatorThemeGenerator)
|
|
43
43
|
class DrilldownSeparator extends Component<DrilldownSeparatorProps> {
|
|
44
|
+
static displayName = 'DrilldownSeparator'
|
|
44
45
|
static readonly componentId = 'Drilldown.Separator'
|
|
45
46
|
|
|
46
47
|
static allowedProps = allowedProps
|
|
@@ -53,18 +53,18 @@ import {
|
|
|
53
53
|
|
|
54
54
|
import { withStyle } from '@instructure/emotion'
|
|
55
55
|
|
|
56
|
-
import { DrilldownSeparator } from './DrilldownSeparator'
|
|
57
|
-
import { DrilldownOption } from './DrilldownOption'
|
|
56
|
+
import { DrilldownSeparator } from './DrilldownSeparator/index.js'
|
|
57
|
+
import { DrilldownOption } from './DrilldownOption/index.js'
|
|
58
58
|
import type { DrilldownOptionValue } from './DrilldownOption/props'
|
|
59
|
-
import { DrilldownGroup } from './DrilldownGroup'
|
|
59
|
+
import { DrilldownGroup } from './DrilldownGroup/index.js'
|
|
60
60
|
import type { DrilldownGroupProps, GroupChildren } from './DrilldownGroup/props'
|
|
61
|
-
import { DrilldownPage } from './DrilldownPage'
|
|
61
|
+
import { DrilldownPage } from './DrilldownPage/index.js'
|
|
62
62
|
import type { DrilldownPageProps, PageChildren } from './DrilldownPage/props'
|
|
63
63
|
|
|
64
|
-
import generateStyle from './styles'
|
|
65
|
-
import generateComponentTheme from './theme'
|
|
64
|
+
import generateStyle from './styles.js'
|
|
65
|
+
import generateComponentTheme from './theme.js'
|
|
66
66
|
|
|
67
|
-
import { allowedProps, SelectedGroupOptionsMap } from './props'
|
|
67
|
+
import { allowedProps, SelectedGroupOptionsMap } from './props.js'
|
|
68
68
|
|
|
69
69
|
import type {
|
|
70
70
|
DrilldownProps,
|
|
@@ -103,6 +103,7 @@ category: components
|
|
|
103
103
|
@withDeterministicId()
|
|
104
104
|
@withStyle(generateStyle, generateComponentTheme)
|
|
105
105
|
class Drilldown extends Component<DrilldownProps, DrilldownState> {
|
|
106
|
+
static displayName = 'Drilldown'
|
|
106
107
|
static readonly componentId = 'Drilldown'
|
|
107
108
|
|
|
108
109
|
static allowedProps = allowedProps
|
|
@@ -38,19 +38,19 @@ import type {
|
|
|
38
38
|
AsElementType
|
|
39
39
|
} from '@instructure/shared-types'
|
|
40
40
|
|
|
41
|
-
import { DrilldownPage } from './DrilldownPage'
|
|
41
|
+
import { DrilldownPage } from './DrilldownPage/index.js'
|
|
42
42
|
import type { DrilldownPageProps } from './DrilldownPage/props'
|
|
43
|
-
import { DrilldownGroup } from './DrilldownGroup'
|
|
43
|
+
import { DrilldownGroup } from './DrilldownGroup/index.js'
|
|
44
44
|
import type { DrilldownGroupProps } from './DrilldownGroup/props'
|
|
45
|
-
import { DrilldownOption } from './DrilldownOption'
|
|
45
|
+
import { DrilldownOption } from './DrilldownOption/index.js'
|
|
46
46
|
import type {
|
|
47
47
|
DrilldownOptionProps,
|
|
48
48
|
DrilldownOptionValue
|
|
49
49
|
} from './DrilldownOption/props'
|
|
50
|
-
import { DrilldownSeparator } from './DrilldownSeparator'
|
|
50
|
+
import { DrilldownSeparator } from './DrilldownSeparator/index.js'
|
|
51
51
|
import type { DrilldownSeparatorProps } from './DrilldownSeparator/props'
|
|
52
52
|
|
|
53
|
-
import { Drilldown } from './index'
|
|
53
|
+
import { Drilldown } from './index.js'
|
|
54
54
|
|
|
55
55
|
type PageChild = React.ComponentElement<DrilldownPageProps, DrilldownPage>
|
|
56
56
|
type GroupChild = React.ComponentElement<DrilldownGroupProps, DrilldownGroup>
|
|
@@ -26,7 +26,7 @@ import { Component } from 'react'
|
|
|
26
26
|
|
|
27
27
|
import { withStyleNew } from '@instructure/emotion'
|
|
28
28
|
|
|
29
|
-
import { allowedProps } from './props'
|
|
29
|
+
import { allowedProps } from './props.js'
|
|
30
30
|
import type { DrilldownGroupProps } from './props'
|
|
31
31
|
import { isMac, isFirefox } from '@instructure/ui-utils'
|
|
32
32
|
|
|
@@ -42,6 +42,7 @@ themeId: Options
|
|
|
42
42
|
// we pass the themeOverrides to Options
|
|
43
43
|
@withStyleNew(null)
|
|
44
44
|
class DrilldownGroup extends Component<DrilldownGroupProps> {
|
|
45
|
+
static displayName = 'DrilldownGroup'
|
|
45
46
|
static readonly componentId = 'Drilldown.Group'
|
|
46
47
|
|
|
47
48
|
static allowedProps = allowedProps
|
|
@@ -30,7 +30,7 @@ import type {
|
|
|
30
30
|
} from '@instructure/shared-types'
|
|
31
31
|
import type { WithStyleProps } from '@instructure/emotion'
|
|
32
32
|
|
|
33
|
-
import Drilldown from '../index'
|
|
33
|
+
import Drilldown from '../index.js'
|
|
34
34
|
import type { DrilldownOptionValue } from '../DrilldownOption/props'
|
|
35
35
|
import type { OptionChild, SeparatorChild } from '../props'
|
|
36
36
|
import type { NewComponentTypes } from '@instructure/ui-themes'
|
|
@@ -26,7 +26,7 @@ import { Component } from 'react'
|
|
|
26
26
|
|
|
27
27
|
import { withStyleNew } from '@instructure/emotion'
|
|
28
28
|
|
|
29
|
-
import { allowedProps } from './props'
|
|
29
|
+
import { allowedProps } from './props.js'
|
|
30
30
|
import type { DrilldownOptionProps } from './props'
|
|
31
31
|
|
|
32
32
|
/**
|
|
@@ -41,6 +41,7 @@ themeId: OptionsItem
|
|
|
41
41
|
// we pass the themeOverrides to Options.Item
|
|
42
42
|
@withStyleNew(null)
|
|
43
43
|
class DrilldownOption extends Component<DrilldownOptionProps> {
|
|
44
|
+
static displayName = 'DrilldownOption'
|
|
44
45
|
static readonly componentId = 'Drilldown.Option'
|
|
45
46
|
|
|
46
47
|
static allowedProps = allowedProps
|
|
@@ -33,7 +33,7 @@ import type {
|
|
|
33
33
|
OptionsItemProps
|
|
34
34
|
} from '@instructure/ui-options'
|
|
35
35
|
|
|
36
|
-
import Drilldown from '../index'
|
|
36
|
+
import Drilldown from '../index.js'
|
|
37
37
|
import { Renderable } from '@instructure/shared-types'
|
|
38
38
|
import type { NewComponentTypes } from '@instructure/ui-themes'
|
|
39
39
|
|