@instructure/ui-tabs 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.
Files changed (60) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/LICENSE.md +1 -0
  3. package/{lib/Tabs/v1/Tab/props.js → babel.config.cjs} +12 -7
  4. package/es/Tabs/v1/Panel/index.js +5 -4
  5. package/es/Tabs/v1/Tab/index.js +5 -4
  6. package/es/Tabs/v1/index.js +6 -6
  7. package/es/Tabs/v2/Panel/index.js +4 -3
  8. package/es/Tabs/v2/Tab/index.js +4 -3
  9. package/es/Tabs/v2/index.js +5 -5
  10. package/es/exports/a.js +4 -3
  11. package/es/exports/b.js +4 -3
  12. package/package.json +19 -24
  13. package/src/Tabs/v1/Panel/index.tsx +4 -3
  14. package/src/Tabs/v1/Tab/index.tsx +4 -3
  15. package/src/Tabs/v1/index.tsx +6 -5
  16. package/src/Tabs/v2/Panel/index.tsx +3 -2
  17. package/src/Tabs/v2/Tab/index.tsx +3 -2
  18. package/src/Tabs/v2/index.tsx +5 -4
  19. package/src/exports/a.ts +3 -3
  20. package/src/exports/b.ts +3 -3
  21. package/tsconfig.build.tsbuildinfo +1 -1
  22. package/types/Tabs/v1/Panel/index.d.ts +1 -0
  23. package/types/Tabs/v1/Panel/index.d.ts.map +1 -1
  24. package/types/Tabs/v1/Tab/index.d.ts +1 -0
  25. package/types/Tabs/v1/Tab/index.d.ts.map +1 -1
  26. package/types/Tabs/v1/index.d.ts +3 -2
  27. package/types/Tabs/v1/index.d.ts.map +1 -1
  28. package/types/Tabs/v2/Panel/index.d.ts +1 -0
  29. package/types/Tabs/v2/Panel/index.d.ts.map +1 -1
  30. package/types/Tabs/v2/Tab/index.d.ts +1 -0
  31. package/types/Tabs/v2/Tab/index.d.ts.map +1 -1
  32. package/types/Tabs/v2/index.d.ts +3 -2
  33. package/types/Tabs/v2/index.d.ts.map +1 -1
  34. package/types/exports/a.d.ts +3 -3
  35. package/types/exports/a.d.ts.map +1 -1
  36. package/types/exports/b.d.ts +3 -3
  37. package/types/exports/b.d.ts.map +1 -1
  38. package/lib/Tabs/v1/Panel/index.js +0 -133
  39. package/lib/Tabs/v1/Panel/props.js +0 -31
  40. package/lib/Tabs/v1/Panel/styles.js +0 -92
  41. package/lib/Tabs/v1/Panel/theme.js +0 -67
  42. package/lib/Tabs/v1/Tab/index.js +0 -125
  43. package/lib/Tabs/v1/Tab/styles.js +0 -152
  44. package/lib/Tabs/v1/Tab/theme.js +0 -68
  45. package/lib/Tabs/v1/index.js +0 -417
  46. package/lib/Tabs/v1/props.js +0 -31
  47. package/lib/Tabs/v1/styles.js +0 -152
  48. package/lib/Tabs/v1/theme.js +0 -56
  49. package/lib/Tabs/v2/Panel/index.js +0 -132
  50. package/lib/Tabs/v2/Panel/props.js +0 -31
  51. package/lib/Tabs/v2/Panel/styles.js +0 -91
  52. package/lib/Tabs/v2/Tab/index.js +0 -124
  53. package/lib/Tabs/v2/Tab/props.js +0 -31
  54. package/lib/Tabs/v2/Tab/styles.js +0 -153
  55. package/lib/Tabs/v2/index.js +0 -416
  56. package/lib/Tabs/v2/props.js +0 -31
  57. package/lib/Tabs/v2/styles.js +0 -153
  58. package/lib/exports/a.js +0 -26
  59. package/lib/exports/b.js +0 -26
  60. 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-tabs
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
@@ -2,6 +2,7 @@
2
2
  title: The MIT License (MIT)
3
3
  category: Getting Started
4
4
  order: 9
5
+ isWIP: true
5
6
  ---
6
7
 
7
8
  # The MIT License (MIT)
@@ -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
- const allowedProps = exports.allowedProps = ['variant', 'id', 'index', 'controls', 'isDisabled', 'isSelected', 'onClick', 'onKeyDown', 'children', 'isOverflowScroll'];
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
+ }
@@ -28,9 +28,10 @@ import { View } from '@instructure/ui-view/v11_6';
28
28
  import { passthroughProps } from '@instructure/ui-react-utils';
29
29
  import { Transition } from '@instructure/ui-motion';
30
30
  import { withStyle } from '@instructure/emotion';
31
- import generateStyle from "./styles.js";
32
- import generateComponentTheme from "./theme.js";
33
- import { allowedProps } from "./props.js";
31
+ import generateStyle from './styles.js';
32
+ import generateComponentTheme from './theme.js';
33
+ import { allowedProps } from './props.js';
34
+
34
35
  /**
35
36
  ---
36
37
  parent: Tabs
@@ -39,7 +40,7 @@ id: Tabs.Panel
39
40
  **/
40
41
  import { jsx as _jsx } from "@emotion/react/jsx-runtime";
41
42
  let Panel = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = class Panel extends Component {
42
- static displayName = "Panel";
43
+ static displayName = 'Panel';
43
44
  static componentId = 'Tabs.Panel';
44
45
  static allowedProps = allowedProps;
45
46
  static defaultProps = {
@@ -27,9 +27,10 @@ import { Component } from 'react';
27
27
  import { passthroughProps, callRenderProp } from '@instructure/ui-react-utils';
28
28
  import { View } from '@instructure/ui-view/v11_6';
29
29
  import { withStyle } from '@instructure/emotion';
30
- import generateStyle from "./styles.js";
31
- import generateComponentTheme from "./theme.js";
32
- import { allowedProps } from "./props.js";
30
+ import generateStyle from './styles.js';
31
+ import generateComponentTheme from './theme.js';
32
+ import { allowedProps } from './props.js';
33
+
33
34
  /**
34
35
  ---
35
36
  parent: Tabs
@@ -38,7 +39,7 @@ id: Tabs.Tab
38
39
  **/
39
40
  import { jsx as _jsx } from "@emotion/react/jsx-runtime";
40
41
  let Tab = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = class Tab extends Component {
41
- static displayName = "Tab";
42
+ static displayName = 'Tab';
42
43
  static componentId = 'Tabs.Tab';
43
44
  static allowedProps = allowedProps;
44
45
  static defaultProps = {
@@ -34,11 +34,11 @@ import { getBoundingClientRect } from '@instructure/ui-dom-utils';
34
34
  import { debounce } from '@instructure/debounce';
35
35
  import { px } from '@instructure/ui-utils';
36
36
  import { withStyle } from '@instructure/emotion';
37
- import generateStyle from "./styles.js";
38
- import generateComponentTheme from "./theme.js";
39
- import { Tab } from "./Tab/index.js";
40
- import { Panel } from "./Panel/index.js";
41
- import { allowedProps } from "./props.js";
37
+ import generateStyle from './styles.js';
38
+ import generateComponentTheme from './theme.js';
39
+ import { Tab } from './Tab/index.js';
40
+ import { Panel } from './Panel/index.js';
41
+ import { allowedProps } from './props.js';
42
42
  import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
43
43
  /**
44
44
  ---
@@ -46,7 +46,7 @@ category: components
46
46
  ---
47
47
  **/
48
48
  let Tabs = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = class Tabs extends Component {
49
- static displayName = "Tabs";
49
+ static displayName = 'Tabs';
50
50
  static componentId = 'Tabs';
51
51
  static allowedProps = allowedProps;
52
52
  static defaultProps = {
@@ -28,8 +28,9 @@ import { View } from '@instructure/ui-view/latest';
28
28
  import { passthroughProps } from '@instructure/ui-react-utils';
29
29
  import { Transition } from '@instructure/ui-motion';
30
30
  import { withStyleNew } from '@instructure/emotion';
31
- import generateStyle from "./styles.js";
32
- import { allowedProps } from "./props.js";
31
+ import generateStyle from './styles.js';
32
+ import { allowedProps } from './props.js';
33
+
33
34
  /**
34
35
  ---
35
36
  parent: Tabs
@@ -38,7 +39,7 @@ id: Tabs.Panel
38
39
  **/
39
40
  import { jsx as _jsx } from "@emotion/react/jsx-runtime";
40
41
  let Panel = (_dec = withStyleNew(generateStyle), _dec(_class = class Panel extends Component {
41
- static displayName = "Panel";
42
+ static displayName = 'Panel';
42
43
  static componentId = 'Tabs.Panel';
43
44
  static allowedProps = allowedProps;
44
45
  static defaultProps = {
@@ -27,8 +27,9 @@ import { Component } from 'react';
27
27
  import { passthroughProps, callRenderProp } from '@instructure/ui-react-utils';
28
28
  import { View } from '@instructure/ui-view/latest';
29
29
  import { withStyleNew } from '@instructure/emotion';
30
- import generateStyle from "./styles.js";
31
- import { allowedProps } from "./props.js";
30
+ import generateStyle from './styles.js';
31
+ import { allowedProps } from './props.js';
32
+
32
33
  /**
33
34
  ---
34
35
  parent: Tabs
@@ -37,7 +38,7 @@ id: Tabs.Tab
37
38
  **/
38
39
  import { jsx as _jsx } from "@emotion/react/jsx-runtime";
39
40
  let Tab = (_dec = withStyleNew(generateStyle), _dec(_class = class Tab extends Component {
40
- static displayName = "Tab";
41
+ static displayName = 'Tab';
41
42
  static componentId = 'Tabs.Tab';
42
43
  static allowedProps = allowedProps;
43
44
  static defaultProps = {
@@ -34,10 +34,10 @@ import { getBoundingClientRect } from '@instructure/ui-dom-utils';
34
34
  import { debounce } from '@instructure/debounce';
35
35
  import { px } from '@instructure/ui-utils';
36
36
  import { withStyleNew } from '@instructure/emotion';
37
- import generateStyle from "./styles.js";
38
- import { Tab } from "./Tab/index.js";
39
- import { Panel } from "./Panel/index.js";
40
- import { allowedProps } from "./props.js";
37
+ import generateStyle from './styles.js';
38
+ import { Tab } from './Tab/index.js';
39
+ import { Panel } from './Panel/index.js';
40
+ import { allowedProps } from './props.js';
41
41
  import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
42
42
  /**
43
43
  ---
@@ -45,7 +45,7 @@ category: components
45
45
  ---
46
46
  **/
47
47
  let Tabs = (_dec = withStyleNew(generateStyle), _dec(_class = class Tabs extends Component {
48
- static displayName = "Tabs";
48
+ static displayName = 'Tabs';
49
49
  static componentId = 'Tabs';
50
50
  static allowedProps = allowedProps;
51
51
  static defaultProps = {
package/es/exports/a.js CHANGED
@@ -21,6 +21,7 @@
21
21
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
22
  * SOFTWARE.
23
23
  */
24
- export { Tabs } from "../Tabs/v1/index.js";
25
- export { Panel as TabsPanel } from "../Tabs/v1/Panel/index.js";
26
- export { Tab as TabsTab } from "../Tabs/v1/Tab/index.js";
24
+
25
+ export { Tabs } from '../Tabs/v1/index.js';
26
+ export { Panel as TabsPanel } from '../Tabs/v1/Panel/index.js';
27
+ export { Tab as TabsTab } from '../Tabs/v1/Tab/index.js';
package/es/exports/b.js CHANGED
@@ -21,6 +21,7 @@
21
21
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
22
  * SOFTWARE.
23
23
  */
24
- export { Tabs } from "../Tabs/v2/index.js";
25
- export { Panel as TabsPanel } from "../Tabs/v2/Panel/index.js";
26
- export { Tab as TabsTab } from "../Tabs/v2/Tab/index.js";
24
+
25
+ export { Tabs } from '../Tabs/v2/index.js';
26
+ export { Panel as TabsPanel } from '../Tabs/v2/Panel/index.js';
27
+ export { Tab as TabsTab } from '../Tabs/v2/Tab/index.js';
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@instructure/ui-tabs",
3
- "version": "11.7.3",
3
+ "version": "11.7.4-pr-snapshot-1781695314229",
4
+ "type": "module",
4
5
  "description": "A UI component library made by Instructure Inc.",
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",
@@ -16,28 +16,28 @@
16
16
  "dependencies": {
17
17
  "@babel/runtime": "^7.29.2",
18
18
  "keycode": "^2",
19
- "@instructure/debounce": "11.7.3",
20
- "@instructure/emotion": "11.7.3",
21
- "@instructure/shared-types": "11.7.3",
22
- "@instructure/ui-dom-utils": "11.7.3",
23
- "@instructure/console": "11.7.3",
24
- "@instructure/ui-i18n": "11.7.3",
25
- "@instructure/ui-motion": "11.7.3",
26
- "@instructure/ui-focusable": "11.7.3",
27
- "@instructure/ui-react-utils": "11.7.3",
28
- "@instructure/ui-utils": "11.7.3",
29
- "@instructure/ui-themes": "11.7.3",
30
- "@instructure/ui-view": "11.7.3",
31
- "@instructure/uid": "11.7.3"
19
+ "@instructure/debounce": "11.7.4-pr-snapshot-1781695314229",
20
+ "@instructure/console": "11.7.4-pr-snapshot-1781695314229",
21
+ "@instructure/emotion": "11.7.4-pr-snapshot-1781695314229",
22
+ "@instructure/shared-types": "11.7.4-pr-snapshot-1781695314229",
23
+ "@instructure/ui-dom-utils": "11.7.4-pr-snapshot-1781695314229",
24
+ "@instructure/ui-i18n": "11.7.4-pr-snapshot-1781695314229",
25
+ "@instructure/ui-focusable": "11.7.4-pr-snapshot-1781695314229",
26
+ "@instructure/ui-motion": "11.7.4-pr-snapshot-1781695314229",
27
+ "@instructure/ui-themes": "11.7.4-pr-snapshot-1781695314229",
28
+ "@instructure/ui-react-utils": "11.7.4-pr-snapshot-1781695314229",
29
+ "@instructure/ui-utils": "11.7.4-pr-snapshot-1781695314229",
30
+ "@instructure/ui-view": "11.7.4-pr-snapshot-1781695314229",
31
+ "@instructure/uid": "11.7.4-pr-snapshot-1781695314229"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@testing-library/jest-dom": "^6.6.3",
35
35
  "@testing-library/react": "15.0.7",
36
36
  "@testing-library/user-event": "^14.6.1",
37
37
  "vitest": "^3.2.2",
38
- "@instructure/ui-axe-check": "11.7.3",
39
- "@instructure/ui-babel-preset": "11.7.3",
40
- "@instructure/ui-color-utils": "11.7.3"
38
+ "@instructure/ui-axe-check": "11.7.4-pr-snapshot-1781695314229",
39
+ "@instructure/ui-babel-preset": "11.7.4-pr-snapshot-1781695314229",
40
+ "@instructure/ui-color-utils": "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 --modules es,cjs",
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"
@@ -30,10 +30,10 @@ import { Transition } from '@instructure/ui-motion'
30
30
 
31
31
  import { withStyle } from '@instructure/emotion'
32
32
 
33
- import generateStyle from './styles'
34
- import generateComponentTheme from './theme'
33
+ import generateStyle from './styles.js'
34
+ import generateComponentTheme from './theme.js'
35
35
  import type { TabsPanelProps } from './props'
36
- import { allowedProps } from './props'
36
+ import { allowedProps } from './props.js'
37
37
 
38
38
  /**
39
39
  ---
@@ -43,6 +43,7 @@ id: Tabs.Panel
43
43
  **/
44
44
  @withStyle(generateStyle, generateComponentTheme)
45
45
  class Panel extends Component<TabsPanelProps> {
46
+ static displayName = 'Panel'
46
47
  static readonly componentId = 'Tabs.Panel'
47
48
 
48
49
  static allowedProps = allowedProps
@@ -30,11 +30,11 @@ import type { ViewOwnProps } from '@instructure/ui-view/v11_6'
30
30
 
31
31
  import { withStyle } from '@instructure/emotion'
32
32
 
33
- import generateStyle from './styles'
34
- import generateComponentTheme from './theme'
33
+ import generateStyle from './styles.js'
34
+ import generateComponentTheme from './theme.js'
35
35
 
36
36
  import type { TabsTabProps } from './props'
37
- import { allowedProps } from './props'
37
+ import { allowedProps } from './props.js'
38
38
 
39
39
  /**
40
40
  ---
@@ -44,6 +44,7 @@ id: Tabs.Tab
44
44
  **/
45
45
  @withStyle(generateStyle, generateComponentTheme)
46
46
  class Tab extends Component<TabsTabProps> {
47
+ static displayName = 'Tab'
47
48
  static readonly componentId = 'Tabs.Tab'
48
49
 
49
50
  static allowedProps = allowedProps
@@ -50,13 +50,13 @@ import { px } from '@instructure/ui-utils'
50
50
 
51
51
  import { withStyle } from '@instructure/emotion'
52
52
 
53
- import generateStyle from './styles'
54
- import generateComponentTheme from './theme'
53
+ import generateStyle from './styles.js'
54
+ import generateComponentTheme from './theme.js'
55
55
 
56
- import { Tab } from './Tab'
57
- import { Panel } from './Panel'
56
+ import { Tab } from './Tab/index.js'
57
+ import { Panel } from './Panel/index.js'
58
58
 
59
- import { allowedProps } from './props'
59
+ import { allowedProps } from './props.js'
60
60
  import type { TabsProps, TabsState } from './props'
61
61
 
62
62
  import type { TabsTabProps } from './Tab/props'
@@ -72,6 +72,7 @@ category: components
72
72
  **/
73
73
  @withStyle(generateStyle, generateComponentTheme)
74
74
  class Tabs extends Component<TabsProps, TabsState> {
75
+ static displayName = 'Tabs'
75
76
  static readonly componentId = 'Tabs'
76
77
 
77
78
  static allowedProps = allowedProps
@@ -30,9 +30,9 @@ import { Transition } from '@instructure/ui-motion'
30
30
 
31
31
  import { withStyleNew } from '@instructure/emotion'
32
32
 
33
- import generateStyle from './styles'
33
+ import generateStyle from './styles.js'
34
34
  import type { TabsPanelProps } from './props'
35
- import { allowedProps } from './props'
35
+ import { allowedProps } from './props.js'
36
36
 
37
37
  /**
38
38
  ---
@@ -42,6 +42,7 @@ id: Tabs.Panel
42
42
  **/
43
43
  @withStyleNew(generateStyle)
44
44
  class Panel extends Component<TabsPanelProps> {
45
+ static displayName = 'Panel'
45
46
  static readonly componentId = 'Tabs.Panel'
46
47
 
47
48
  static allowedProps = allowedProps
@@ -30,10 +30,10 @@ import type { ViewOwnProps } from '@instructure/ui-view/latest'
30
30
 
31
31
  import { withStyleNew } from '@instructure/emotion'
32
32
 
33
- import generateStyle from './styles'
33
+ import generateStyle from './styles.js'
34
34
 
35
35
  import type { TabsTabProps } from './props'
36
- import { allowedProps } from './props'
36
+ import { allowedProps } from './props.js'
37
37
 
38
38
  /**
39
39
  ---
@@ -43,6 +43,7 @@ id: Tabs.Tab
43
43
  **/
44
44
  @withStyleNew(generateStyle)
45
45
  class Tab extends Component<TabsTabProps> {
46
+ static displayName = 'Tab'
46
47
  static readonly componentId = 'Tabs.Tab'
47
48
 
48
49
  static allowedProps = allowedProps
@@ -50,12 +50,12 @@ import { px } from '@instructure/ui-utils'
50
50
 
51
51
  import { withStyleNew } from '@instructure/emotion'
52
52
 
53
- import generateStyle from './styles'
53
+ import generateStyle from './styles.js'
54
54
 
55
- import { Tab } from './Tab'
56
- import { Panel } from './Panel'
55
+ import { Tab } from './Tab/index.js'
56
+ import { Panel } from './Panel/index.js'
57
57
 
58
- import { allowedProps } from './props'
58
+ import { allowedProps } from './props.js'
59
59
  import type { TabsProps, TabsState } from './props'
60
60
 
61
61
  import type { TabsTabProps } from './Tab/props'
@@ -71,6 +71,7 @@ category: components
71
71
  **/
72
72
  @withStyleNew(generateStyle)
73
73
  class Tabs extends Component<TabsProps, TabsState> {
74
+ static displayName = 'Tabs'
74
75
  static readonly componentId = 'Tabs'
75
76
 
76
77
  static allowedProps = allowedProps
package/src/exports/a.ts CHANGED
@@ -22,9 +22,9 @@
22
22
  * SOFTWARE.
23
23
  */
24
24
 
25
- export { Tabs } from '../Tabs/v1'
26
- export { Panel as TabsPanel } from '../Tabs/v1/Panel'
27
- export { Tab as TabsTab } from '../Tabs/v1/Tab'
25
+ export { Tabs } from '../Tabs/v1/index.js'
26
+ export { Panel as TabsPanel } from '../Tabs/v1/Panel/index.js'
27
+ export { Tab as TabsTab } from '../Tabs/v1/Tab/index.js'
28
28
 
29
29
  export type { TabsProps } from '../Tabs/v1/props'
30
30
  export type { TabsPanelProps } from '../Tabs/v1/Panel/props'
package/src/exports/b.ts CHANGED
@@ -22,9 +22,9 @@
22
22
  * SOFTWARE.
23
23
  */
24
24
 
25
- export { Tabs } from '../Tabs/v2'
26
- export { Panel as TabsPanel } from '../Tabs/v2/Panel'
27
- export { Tab as TabsTab } from '../Tabs/v2/Tab'
25
+ export { Tabs } from '../Tabs/v2/index.js'
26
+ export { Panel as TabsPanel } from '../Tabs/v2/Panel/index.js'
27
+ export { Tab as TabsTab } from '../Tabs/v2/Tab/index.js'
28
28
 
29
29
  export type { TabsProps } from '../Tabs/v2/props'
30
30
  export type { TabsPanelProps } from '../Tabs/v2/Panel/props'