@instructure/ui-drilldown 11.7.4-snapshot-14 → 11.7.4-snapshot-49

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.
Files changed (82) hide show
  1. package/CHANGELOG.md +1 -1
  2. package/LICENSE.md +1 -0
  3. package/es/Drilldown/v1/DrilldownGroup/index.js +2 -2
  4. package/es/Drilldown/v1/DrilldownOption/index.js +2 -2
  5. package/es/Drilldown/v1/DrilldownPage/index.js +2 -2
  6. package/es/Drilldown/v1/DrilldownSeparator/index.js +2 -2
  7. package/es/Drilldown/v1/index.js +13 -8
  8. package/es/Drilldown/v2/DrilldownGroup/index.js +2 -2
  9. package/es/Drilldown/v2/DrilldownOption/index.js +2 -2
  10. package/es/Drilldown/v2/DrilldownPage/index.js +2 -2
  11. package/es/Drilldown/v2/DrilldownSeparator/index.js +2 -2
  12. package/es/Drilldown/v2/index.js +12 -7
  13. package/es/exports/a.js +6 -5
  14. package/es/exports/b.js +6 -5
  15. package/lib/Drilldown/v1/DrilldownGroup/index.js +2 -2
  16. package/lib/Drilldown/v1/DrilldownOption/index.js +2 -2
  17. package/lib/Drilldown/v1/DrilldownPage/index.js +2 -2
  18. package/lib/Drilldown/v1/DrilldownSeparator/index.js +2 -2
  19. package/lib/Drilldown/v1/index.js +28 -28
  20. package/lib/Drilldown/v2/DrilldownGroup/index.js +2 -2
  21. package/lib/Drilldown/v2/DrilldownOption/index.js +2 -2
  22. package/lib/Drilldown/v2/DrilldownPage/index.js +2 -2
  23. package/lib/Drilldown/v2/DrilldownSeparator/index.js +2 -2
  24. package/lib/Drilldown/v2/index.js +27 -27
  25. package/lib/exports/a.js +10 -10
  26. package/lib/exports/b.js +10 -10
  27. package/package.json +18 -18
  28. package/src/Drilldown/v1/DrilldownGroup/index.tsx +2 -1
  29. package/src/Drilldown/v1/DrilldownGroup/props.ts +1 -1
  30. package/src/Drilldown/v1/DrilldownOption/index.tsx +2 -1
  31. package/src/Drilldown/v1/DrilldownOption/props.ts +1 -1
  32. package/src/Drilldown/v1/DrilldownPage/index.tsx +2 -1
  33. package/src/Drilldown/v1/DrilldownSeparator/index.tsx +2 -1
  34. package/src/Drilldown/v1/index.tsx +8 -7
  35. package/src/Drilldown/v1/props.ts +5 -5
  36. package/src/Drilldown/v2/DrilldownGroup/index.tsx +2 -1
  37. package/src/Drilldown/v2/DrilldownGroup/props.ts +1 -1
  38. package/src/Drilldown/v2/DrilldownOption/index.tsx +2 -1
  39. package/src/Drilldown/v2/DrilldownOption/props.ts +1 -1
  40. package/src/Drilldown/v2/DrilldownPage/index.tsx +2 -1
  41. package/src/Drilldown/v2/DrilldownSeparator/index.tsx +2 -1
  42. package/src/Drilldown/v2/index.tsx +7 -6
  43. package/src/Drilldown/v2/props.ts +5 -5
  44. package/src/exports/a.ts +5 -5
  45. package/src/exports/b.ts +5 -5
  46. package/tsconfig.build.tsbuildinfo +1 -1
  47. package/types/Drilldown/v1/DrilldownGroup/index.d.ts +7 -6
  48. package/types/Drilldown/v1/DrilldownGroup/index.d.ts.map +1 -1
  49. package/types/Drilldown/v1/DrilldownGroup/props.d.ts +1 -1
  50. package/types/Drilldown/v1/DrilldownGroup/props.d.ts.map +1 -1
  51. package/types/Drilldown/v1/DrilldownOption/index.d.ts +3 -2
  52. package/types/Drilldown/v1/DrilldownOption/index.d.ts.map +1 -1
  53. package/types/Drilldown/v1/DrilldownOption/props.d.ts +1 -1
  54. package/types/Drilldown/v1/DrilldownOption/props.d.ts.map +1 -1
  55. package/types/Drilldown/v1/DrilldownPage/index.d.ts +2 -1
  56. package/types/Drilldown/v1/DrilldownPage/index.d.ts.map +1 -1
  57. package/types/Drilldown/v1/DrilldownSeparator/index.d.ts +1 -0
  58. package/types/Drilldown/v1/DrilldownSeparator/index.d.ts.map +1 -1
  59. package/types/Drilldown/v1/index.d.ts +6 -5
  60. package/types/Drilldown/v1/index.d.ts.map +1 -1
  61. package/types/Drilldown/v1/props.d.ts +5 -5
  62. package/types/Drilldown/v1/props.d.ts.map +1 -1
  63. package/types/Drilldown/v2/DrilldownGroup/index.d.ts +7 -6
  64. package/types/Drilldown/v2/DrilldownGroup/index.d.ts.map +1 -1
  65. package/types/Drilldown/v2/DrilldownGroup/props.d.ts +1 -1
  66. package/types/Drilldown/v2/DrilldownGroup/props.d.ts.map +1 -1
  67. package/types/Drilldown/v2/DrilldownOption/index.d.ts +3 -2
  68. package/types/Drilldown/v2/DrilldownOption/index.d.ts.map +1 -1
  69. package/types/Drilldown/v2/DrilldownOption/props.d.ts +1 -1
  70. package/types/Drilldown/v2/DrilldownOption/props.d.ts.map +1 -1
  71. package/types/Drilldown/v2/DrilldownPage/index.d.ts +2 -1
  72. package/types/Drilldown/v2/DrilldownPage/index.d.ts.map +1 -1
  73. package/types/Drilldown/v2/DrilldownSeparator/index.d.ts +1 -0
  74. package/types/Drilldown/v2/DrilldownSeparator/index.d.ts.map +1 -1
  75. package/types/Drilldown/v2/index.d.ts +6 -5
  76. package/types/Drilldown/v2/index.d.ts.map +1 -1
  77. package/types/Drilldown/v2/props.d.ts +5 -5
  78. package/types/Drilldown/v2/props.d.ts.map +1 -1
  79. package/types/exports/a.d.ts +5 -5
  80. package/types/exports/a.d.ts.map +1 -1
  81. package/types/exports/b.d.ts +5 -5
  82. package/types/exports/b.d.ts.map +1 -1
@@ -21,12 +21,12 @@ var _latest3 = require("@instructure/ui-popover/latest");
21
21
  var _Selectable = require("@instructure/ui-selectable/lib/Selectable");
22
22
  var _uiIcons = require("@instructure/ui-icons");
23
23
  var _emotion = require("@instructure/emotion");
24
- var _DrilldownSeparator = require("./DrilldownSeparator");
25
- var _DrilldownOption = require("./DrilldownOption");
26
- var _DrilldownGroup = require("./DrilldownGroup");
27
- var _DrilldownPage = require("./DrilldownPage");
28
- var _styles = _interopRequireDefault(require("./styles"));
29
- var _props2 = require("./props");
24
+ var _index = require("./DrilldownSeparator/index.js");
25
+ var _index2 = require("./DrilldownOption/index.js");
26
+ var _index3 = require("./DrilldownGroup/index.js");
27
+ var _index4 = require("./DrilldownPage/index.js");
28
+ var _styles = _interopRequireDefault(require("./styles.js"));
29
+ var _props2 = require("./props.js");
30
30
  var _jsxRuntime = require("@emotion/react/jsx-runtime");
31
31
  var _react2 = require("@emotion/react");
32
32
  var _dec, _dec2, _class;
@@ -66,7 +66,7 @@ category: components
66
66
  ---
67
67
  **/
68
68
  let Drilldown = exports.Drilldown = (_dec = (0, _withDeterministicId.withDeterministicId)(), _dec2 = (0, _emotion.withStyleNew)(_styles.default), _dec(_class = _dec2(_class = class Drilldown extends _react.Component {
69
- static displayName = "Drilldown";
69
+ static displayName = 'Drilldown';
70
70
  static componentId = 'Drilldown';
71
71
  static allowedProps = _props2.allowedProps;
72
72
  static defaultProps = {
@@ -86,10 +86,10 @@ let Drilldown = exports.Drilldown = (_dec = (0, _withDeterministicId.withDetermi
86
86
  offsetY: 0,
87
87
  shouldSetAriaExpanded: true
88
88
  };
89
- static Group = _DrilldownGroup.DrilldownGroup;
90
- static Option = _DrilldownOption.DrilldownOption;
91
- static Page = _DrilldownPage.DrilldownPage;
92
- static Separator = _DrilldownSeparator.DrilldownSeparator;
89
+ static Group = _index3.DrilldownGroup;
90
+ static Option = _index2.DrilldownOption;
91
+ static Page = _index4.DrilldownPage;
92
+ static Separator = _index.DrilldownSeparator;
93
93
  _drilldownRef = null;
94
94
  _popover = null;
95
95
  _trigger = null;
@@ -187,7 +187,7 @@ let Drilldown = exports.Drilldown = (_dec = (0, _withDeterministicId.withDetermi
187
187
  };
188
188
  this.pages.forEach(page => {
189
189
  this.getChildrenArray(page.props.children).forEach(child => {
190
- if ((0, _matchComponentTypes.matchComponentTypes)(child, [_DrilldownGroup.DrilldownGroup])) {
190
+ if ((0, _matchComponentTypes.matchComponentTypes)(child, [_index3.DrilldownGroup])) {
191
191
  const {
192
192
  id: groupId,
193
193
  selectableType,
@@ -197,7 +197,7 @@ let Drilldown = exports.Drilldown = (_dec = (0, _withDeterministicId.withDetermi
197
197
  if (!selectableType || !Array.isArray(selectedOptions)) return;
198
198
  const newGroupMap = new Map();
199
199
  this.getChildrenArray(groupChildren)?.forEach(groupChild => {
200
- if ((0, _matchComponentTypes.matchComponentTypes)(groupChild, [_DrilldownOption.DrilldownOption])) {
200
+ if ((0, _matchComponentTypes.matchComponentTypes)(groupChild, [_index2.DrilldownOption])) {
201
201
  const {
202
202
  id: optionId,
203
203
  value: optionValue
@@ -349,7 +349,7 @@ let Drilldown = exports.Drilldown = (_dec = (0, _withDeterministicId.withDetermi
349
349
  children
350
350
  } = page.props;
351
351
  this.getChildrenArray(children).forEach(child => {
352
- if ((0, _matchComponentTypes.matchComponentTypes)(child, [_DrilldownGroup.DrilldownGroup])) {
352
+ if ((0, _matchComponentTypes.matchComponentTypes)(child, [_index3.DrilldownGroup])) {
353
353
  const {
354
354
  id: groupId,
355
355
  selectableType,
@@ -370,7 +370,7 @@ let Drilldown = exports.Drilldown = (_dec = (0, _withDeterministicId.withDetermi
370
370
  }
371
371
  }
372
372
  this.getChildrenArray(groupChildren)?.forEach(groupChild => {
373
- if ((0, _matchComponentTypes.matchComponentTypes)(groupChild, [_DrilldownOption.DrilldownOption])) {
373
+ if ((0, _matchComponentTypes.matchComponentTypes)(groupChild, [_index2.DrilldownOption])) {
374
374
  const {
375
375
  id: optionId,
376
376
  value: optionValue,
@@ -428,7 +428,7 @@ let Drilldown = exports.Drilldown = (_dec = (0, _withDeterministicId.withDetermi
428
428
  if (this.previousPage) {
429
429
  const prevPageTitle = (0, _callRenderProp.callRenderProp)(this.previousPage.renderTitle);
430
430
  const backButtonLabel = (0, _callRenderProp.callRenderProp)(renderBackButtonLabel, prevPageTitle);
431
- headerChildren.push((0, _jsxRuntime.jsx)(_DrilldownOption.DrilldownOption, {
431
+ headerChildren.push((0, _jsxRuntime.jsx)(_index2.DrilldownOption, {
432
432
  id: this._headerBackId,
433
433
  onOptionClick: this.handleBackButtonClick,
434
434
  children: (0, _jsxRuntime.jsx)("div", {
@@ -443,7 +443,7 @@ let Drilldown = exports.Drilldown = (_dec = (0, _withDeterministicId.withDetermi
443
443
  if (renderTitle) {
444
444
  const title = (0, _callRenderProp.callRenderProp)(renderTitle);
445
445
  if (title) {
446
- headerChildren.push((0, _jsxRuntime.jsx)(_DrilldownOption.DrilldownOption, {
446
+ headerChildren.push((0, _jsxRuntime.jsx)(_index2.DrilldownOption, {
447
447
  id: this._headerTitleId,
448
448
  role: "presentation",
449
449
  "aria-hidden": "true",
@@ -460,7 +460,7 @@ let Drilldown = exports.Drilldown = (_dec = (0, _withDeterministicId.withDetermi
460
460
  if (renderActionLabel) {
461
461
  const actionLabel = (0, _callRenderProp.callRenderProp)(renderActionLabel);
462
462
  if (actionLabel) {
463
- headerChildren.push((0, _jsxRuntime.jsx)(_DrilldownOption.DrilldownOption, {
463
+ headerChildren.push((0, _jsxRuntime.jsx)(_index2.DrilldownOption, {
464
464
  id: this._headerActionId,
465
465
  themeOverride: {
466
466
  color: styles?.headerActionColor
@@ -477,7 +477,7 @@ let Drilldown = exports.Drilldown = (_dec = (0, _withDeterministicId.withDetermi
477
477
 
478
478
  // header separator
479
479
  if (headerChildren.length > 0 && children.length > 0 && !withoutHeaderSeparator) {
480
- headerChildren.push((0, _jsxRuntime.jsx)(_DrilldownSeparator.DrilldownSeparator, {
480
+ headerChildren.push((0, _jsxRuntime.jsx)(_index.DrilldownSeparator, {
481
481
  id: deterministicId('DrilldownHeader-Separator')
482
482
  }));
483
483
  }
@@ -873,7 +873,7 @@ let Drilldown = exports.Drilldown = (_dec = (0, _withDeterministicId.withDetermi
873
873
  if (!child) return undefined;
874
874
 
875
875
  // If it's a regular option, return it
876
- if ((0, _matchComponentTypes.matchComponentTypes)(child, [_DrilldownOption.DrilldownOption])) {
876
+ if ((0, _matchComponentTypes.matchComponentTypes)(child, [_index2.DrilldownOption])) {
877
877
  return child;
878
878
  }
879
879
  // If it's a group, get its options
@@ -899,7 +899,7 @@ let Drilldown = exports.Drilldown = (_dec = (0, _withDeterministicId.withDetermi
899
899
  /**
900
900
  * --- RENDER GROUP ---
901
901
  */
902
- if ((0, _matchComponentTypes.matchComponentTypes)(child, [_DrilldownGroup.DrilldownGroup])) {
902
+ if ((0, _matchComponentTypes.matchComponentTypes)(child, [_index3.DrilldownGroup])) {
903
903
  const isFirstChild = index === 0;
904
904
  const isLastChild = index === pageChildren.length - 1;
905
905
  const afterSeparator = lastItemWasSeparator;
@@ -913,7 +913,7 @@ let Drilldown = exports.Drilldown = (_dec = (0, _withDeterministicId.withDetermi
913
913
  /**
914
914
  * --- RENDER SEPARATOR ---
915
915
  */
916
- } else if ((0, _matchComponentTypes.matchComponentTypes)(child, [_DrilldownSeparator.DrilldownSeparator])) {
916
+ } else if ((0, _matchComponentTypes.matchComponentTypes)(child, [_index.DrilldownSeparator])) {
917
917
  // if the last item was separator, we don't want to duplicate it
918
918
  if (lastItemWasSeparator) {
919
919
  return null;
@@ -924,7 +924,7 @@ let Drilldown = exports.Drilldown = (_dec = (0, _withDeterministicId.withDetermi
924
924
  /**
925
925
  * --- RENDER OPTION ---
926
926
  */
927
- } else if ((0, _matchComponentTypes.matchComponentTypes)(child, [_DrilldownOption.DrilldownOption])) {
927
+ } else if ((0, _matchComponentTypes.matchComponentTypes)(child, [_index2.DrilldownOption])) {
928
928
  lastItemWasSeparator = false;
929
929
  return this.renderOption(child, getOptionProps, getDisabledOptionProps);
930
930
  } else {
@@ -984,7 +984,7 @@ let Drilldown = exports.Drilldown = (_dec = (0, _withDeterministicId.withDetermi
984
984
  // Props passed to the Option.Item
985
985
  let optionProps = {
986
986
  // passthrough props
987
- ...(0, _omitProps.omitProps)(option.props, [..._DrilldownOption.DrilldownOption.allowedProps, ..._latest2.Options.Item.allowedProps]),
987
+ ...(0, _omitProps.omitProps)(option.props, [..._index2.DrilldownOption.allowedProps, ..._latest2.Options.Item.allowedProps]),
988
988
  // props from selectable
989
989
  ...getOptionProps({
990
990
  id,
@@ -1036,7 +1036,7 @@ let Drilldown = exports.Drilldown = (_dec = (0, _withDeterministicId.withDetermi
1036
1036
  index: Object.keys(this._activeOptionsMap).length + 1
1037
1037
  };
1038
1038
  }
1039
- const customRole = role !== _DrilldownOption.DrilldownOption.defaultProps.role ? role : undefined;
1039
+ const customRole = role !== _index2.DrilldownOption.defaultProps.role ? role : undefined;
1040
1040
 
1041
1041
  // BEFORE/AFTER elements:
1042
1042
  // we set a few manually on Options.Item,
@@ -1191,9 +1191,9 @@ let Drilldown = exports.Drilldown = (_dec = (0, _withDeterministicId.withDetermi
1191
1191
  ,
1192
1192
  themeOverride: themeOverride,
1193
1193
  children: this.getChildrenArray(children).map(child => {
1194
- if ((0, _matchComponentTypes.matchComponentTypes)(child, [_DrilldownSeparator.DrilldownSeparator])) {
1194
+ if ((0, _matchComponentTypes.matchComponentTypes)(child, [_index.DrilldownSeparator])) {
1195
1195
  return this.renderSeparator(child);
1196
- } else if ((0, _matchComponentTypes.matchComponentTypes)(child, [_DrilldownOption.DrilldownOption])) {
1196
+ } else if ((0, _matchComponentTypes.matchComponentTypes)(child, [_index2.DrilldownOption])) {
1197
1197
  return this.renderOption(child, getOptionProps, getDisabledOptionProps, group.props);
1198
1198
  } else {
1199
1199
  return null;
package/lib/exports/a.js CHANGED
@@ -6,35 +6,35 @@ Object.defineProperty(exports, "__esModule", {
6
6
  Object.defineProperty(exports, "Drilldown", {
7
7
  enumerable: true,
8
8
  get: function () {
9
- return _v.Drilldown;
9
+ return _index.Drilldown;
10
10
  }
11
11
  });
12
12
  Object.defineProperty(exports, "DrilldownGroup", {
13
13
  enumerable: true,
14
14
  get: function () {
15
- return _DrilldownGroup.DrilldownGroup;
15
+ return _index2.DrilldownGroup;
16
16
  }
17
17
  });
18
18
  Object.defineProperty(exports, "DrilldownOption", {
19
19
  enumerable: true,
20
20
  get: function () {
21
- return _DrilldownOption.DrilldownOption;
21
+ return _index3.DrilldownOption;
22
22
  }
23
23
  });
24
24
  Object.defineProperty(exports, "DrilldownPage", {
25
25
  enumerable: true,
26
26
  get: function () {
27
- return _DrilldownPage.DrilldownPage;
27
+ return _index4.DrilldownPage;
28
28
  }
29
29
  });
30
30
  Object.defineProperty(exports, "DrilldownSeparator", {
31
31
  enumerable: true,
32
32
  get: function () {
33
- return _DrilldownSeparator.DrilldownSeparator;
33
+ return _index5.DrilldownSeparator;
34
34
  }
35
35
  });
36
- var _v = require("../Drilldown/v1");
37
- var _DrilldownGroup = require("../Drilldown/v1/DrilldownGroup");
38
- var _DrilldownOption = require("../Drilldown/v1/DrilldownOption");
39
- var _DrilldownPage = require("../Drilldown/v1/DrilldownPage");
40
- var _DrilldownSeparator = require("../Drilldown/v1/DrilldownSeparator");
36
+ var _index = require("../Drilldown/v1/index.js");
37
+ var _index2 = require("../Drilldown/v1/DrilldownGroup/index.js");
38
+ var _index3 = require("../Drilldown/v1/DrilldownOption/index.js");
39
+ var _index4 = require("../Drilldown/v1/DrilldownPage/index.js");
40
+ var _index5 = require("../Drilldown/v1/DrilldownSeparator/index.js");
package/lib/exports/b.js CHANGED
@@ -6,35 +6,35 @@ Object.defineProperty(exports, "__esModule", {
6
6
  Object.defineProperty(exports, "Drilldown", {
7
7
  enumerable: true,
8
8
  get: function () {
9
- return _v.Drilldown;
9
+ return _index.Drilldown;
10
10
  }
11
11
  });
12
12
  Object.defineProperty(exports, "DrilldownGroup", {
13
13
  enumerable: true,
14
14
  get: function () {
15
- return _DrilldownGroup.DrilldownGroup;
15
+ return _index2.DrilldownGroup;
16
16
  }
17
17
  });
18
18
  Object.defineProperty(exports, "DrilldownOption", {
19
19
  enumerable: true,
20
20
  get: function () {
21
- return _DrilldownOption.DrilldownOption;
21
+ return _index3.DrilldownOption;
22
22
  }
23
23
  });
24
24
  Object.defineProperty(exports, "DrilldownPage", {
25
25
  enumerable: true,
26
26
  get: function () {
27
- return _DrilldownPage.DrilldownPage;
27
+ return _index4.DrilldownPage;
28
28
  }
29
29
  });
30
30
  Object.defineProperty(exports, "DrilldownSeparator", {
31
31
  enumerable: true,
32
32
  get: function () {
33
- return _DrilldownSeparator.DrilldownSeparator;
33
+ return _index5.DrilldownSeparator;
34
34
  }
35
35
  });
36
- var _v = require("../Drilldown/v2");
37
- var _DrilldownGroup = require("../Drilldown/v2/DrilldownGroup");
38
- var _DrilldownOption = require("../Drilldown/v2/DrilldownOption");
39
- var _DrilldownPage = require("../Drilldown/v2/DrilldownPage");
40
- var _DrilldownSeparator = require("../Drilldown/v2/DrilldownSeparator");
36
+ var _index = require("../Drilldown/v2/index.js");
37
+ var _index2 = require("../Drilldown/v2/DrilldownGroup/index.js");
38
+ var _index3 = require("../Drilldown/v2/DrilldownOption/index.js");
39
+ var _index4 = require("../Drilldown/v2/DrilldownPage/index.js");
40
+ var _index5 = require("../Drilldown/v2/DrilldownSeparator/index.js");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-drilldown",
3
- "version": "11.7.4-snapshot-14",
3
+ "version": "11.7.4-snapshot-49",
4
4
  "description": "A drilldown menu component",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "module": "./es/index.js",
@@ -15,29 +15,29 @@
15
15
  "license": "MIT",
16
16
  "dependencies": {
17
17
  "@babel/runtime": "^7.29.2",
18
- "@instructure/console": "11.7.4-snapshot-14",
19
- "@instructure/emotion": "11.7.4-snapshot-14",
20
- "@instructure/ui-dom-utils": "11.7.4-snapshot-14",
21
- "@instructure/shared-types": "11.7.4-snapshot-14",
22
- "@instructure/ui-icons": "11.7.4-snapshot-14",
23
- "@instructure/ui-options": "11.7.4-snapshot-14",
24
- "@instructure/ui-position": "11.7.4-snapshot-14",
25
- "@instructure/ui-popover": "11.7.4-snapshot-14",
26
- "@instructure/ui-themes": "11.7.4-snapshot-14",
27
- "@instructure/ui-selectable": "11.7.4-snapshot-14",
28
- "@instructure/ui-react-utils": "11.7.4-snapshot-14",
29
- "@instructure/ui-view": "11.7.4-snapshot-14",
30
- "@instructure/ui-utils": "11.7.4-snapshot-14"
18
+ "@instructure/console": "11.7.4-snapshot-49",
19
+ "@instructure/emotion": "11.7.4-snapshot-49",
20
+ "@instructure/ui-dom-utils": "11.7.4-snapshot-49",
21
+ "@instructure/shared-types": "11.7.4-snapshot-49",
22
+ "@instructure/ui-icons": "11.7.4-snapshot-49",
23
+ "@instructure/ui-options": "11.7.4-snapshot-49",
24
+ "@instructure/ui-popover": "11.7.4-snapshot-49",
25
+ "@instructure/ui-position": "11.7.4-snapshot-49",
26
+ "@instructure/ui-react-utils": "11.7.4-snapshot-49",
27
+ "@instructure/ui-selectable": "11.7.4-snapshot-49",
28
+ "@instructure/ui-themes": "11.7.4-snapshot-49",
29
+ "@instructure/ui-utils": "11.7.4-snapshot-49",
30
+ "@instructure/ui-view": "11.7.4-snapshot-49"
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.4-snapshot-14",
38
- "@instructure/ui-scripts": "11.7.4-snapshot-14",
39
- "@instructure/ui-color-utils": "11.7.4-snapshot-14",
40
- "@instructure/ui-babel-preset": "11.7.4-snapshot-14"
37
+ "@instructure/ui-babel-preset": "11.7.4-snapshot-49",
38
+ "@instructure/ui-color-utils": "11.7.4-snapshot-49",
39
+ "@instructure/ui-scripts": "11.7.4-snapshot-49",
40
+ "@instructure/ui-axe-check": "11.7.4-snapshot-49"
41
41
  },
42
42
  "peerDependencies": {
43
43
  "react": ">=18 <=19"
@@ -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
 
@@ -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
@@ -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 { DrilldownSeparatorProps } from './props'
31
31
 
32
32
  /**
@@ -41,6 +41,7 @@ themeId: OptionsSeparator
41
41
  // we pass the themeOverrides to Options.Separator
42
42
  @withStyleNew(null)
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,17 +53,17 @@ import {
53
53
 
54
54
  import { withStyleNew } 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'
64
+ import generateStyle from './styles.js'
65
65
 
66
- import { allowedProps, SelectedGroupOptionsMap } from './props'
66
+ import { allowedProps, SelectedGroupOptionsMap } from './props.js'
67
67
 
68
68
  import type {
69
69
  DrilldownProps,
@@ -102,6 +102,7 @@ category: components
102
102
  @withDeterministicId()
103
103
  @withStyleNew(generateStyle)
104
104
  class Drilldown extends Component<DrilldownProps, DrilldownState> {
105
+ static displayName = 'Drilldown'
105
106
  static readonly componentId = 'Drilldown'
106
107
 
107
108
  static allowedProps = allowedProps
@@ -37,19 +37,19 @@ import type {
37
37
  AsElementType
38
38
  } from '@instructure/shared-types'
39
39
 
40
- import { DrilldownPage } from './DrilldownPage'
40
+ import { DrilldownPage } from './DrilldownPage/index.js'
41
41
  import type { DrilldownPageProps } from './DrilldownPage/props'
42
- import { DrilldownGroup } from './DrilldownGroup'
42
+ import { DrilldownGroup } from './DrilldownGroup/index.js'
43
43
  import type { DrilldownGroupProps } from './DrilldownGroup/props'
44
- import { DrilldownOption } from './DrilldownOption'
44
+ import { DrilldownOption } from './DrilldownOption/index.js'
45
45
  import type {
46
46
  DrilldownOptionProps,
47
47
  DrilldownOptionValue
48
48
  } from './DrilldownOption/props'
49
- import { DrilldownSeparator } from './DrilldownSeparator'
49
+ import { DrilldownSeparator } from './DrilldownSeparator/index.js'
50
50
  import type { DrilldownSeparatorProps } from './DrilldownSeparator/props'
51
51
 
52
- import { Drilldown } from './index'
52
+ import { Drilldown } from './index.js'
53
53
  import type { NewComponentTypes } from '@instructure/ui-themes'
54
54
 
55
55
  type PageChild = React.ComponentElement<DrilldownPageProps, DrilldownPage>
package/src/exports/a.ts CHANGED
@@ -22,11 +22,11 @@
22
22
  * SOFTWARE.
23
23
  */
24
24
 
25
- export { Drilldown } from '../Drilldown/v1'
26
- export { DrilldownGroup } from '../Drilldown/v1/DrilldownGroup'
27
- export { DrilldownOption } from '../Drilldown/v1/DrilldownOption'
28
- export { DrilldownPage } from '../Drilldown/v1/DrilldownPage'
29
- export { DrilldownSeparator } from '../Drilldown/v1/DrilldownSeparator'
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'
30
30
 
31
31
  export type {
32
32
  DrilldownProps,