@instructure/ui-breadcrumb 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 (42) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/LICENSE.md +1 -0
  3. package/{lib/Breadcrumb/v2/props.js → babel.config.cjs} +12 -7
  4. package/es/Breadcrumb/v1/BreadcrumbLink/index.js +2 -2
  5. package/es/Breadcrumb/v1/index.js +5 -5
  6. package/es/Breadcrumb/v2/BreadcrumbLink/index.js +2 -2
  7. package/es/Breadcrumb/v2/index.js +4 -4
  8. package/es/exports/a.js +1 -1
  9. package/es/exports/b.js +1 -1
  10. package/package.json +16 -21
  11. package/src/Breadcrumb/v1/BreadcrumbLink/index.tsx +2 -1
  12. package/src/Breadcrumb/v1/index.tsx +5 -4
  13. package/src/Breadcrumb/v2/BreadcrumbLink/index.tsx +2 -1
  14. package/src/Breadcrumb/v2/index.tsx +4 -3
  15. package/src/exports/a.ts +1 -1
  16. package/src/exports/b.ts +1 -1
  17. package/tsconfig.build.tsbuildinfo +1 -1
  18. package/types/Breadcrumb/v1/BreadcrumbLink/index.d.ts +1 -0
  19. package/types/Breadcrumb/v1/BreadcrumbLink/index.d.ts.map +1 -1
  20. package/types/Breadcrumb/v1/index.d.ts +2 -1
  21. package/types/Breadcrumb/v1/index.d.ts.map +1 -1
  22. package/types/Breadcrumb/v2/BreadcrumbLink/index.d.ts +1 -0
  23. package/types/Breadcrumb/v2/BreadcrumbLink/index.d.ts.map +1 -1
  24. package/types/Breadcrumb/v2/index.d.ts +2 -1
  25. package/types/Breadcrumb/v2/index.d.ts.map +1 -1
  26. package/types/exports/a.d.ts +1 -1
  27. package/types/exports/a.d.ts.map +1 -1
  28. package/types/exports/b.d.ts +1 -1
  29. package/types/exports/b.d.ts.map +1 -1
  30. package/lib/Breadcrumb/v1/BreadcrumbLink/index.js +0 -125
  31. package/lib/Breadcrumb/v1/BreadcrumbLink/props.js +0 -31
  32. package/lib/Breadcrumb/v1/index.js +0 -125
  33. package/lib/Breadcrumb/v1/props.js +0 -31
  34. package/lib/Breadcrumb/v1/styles.js +0 -112
  35. package/lib/Breadcrumb/v1/theme.js +0 -55
  36. package/lib/Breadcrumb/v2/BreadcrumbLink/index.js +0 -127
  37. package/lib/Breadcrumb/v2/BreadcrumbLink/props.js +0 -31
  38. package/lib/Breadcrumb/v2/index.js +0 -145
  39. package/lib/Breadcrumb/v2/styles.js +0 -83
  40. package/lib/exports/a.js +0 -18
  41. package/lib/exports/b.js +0 -18
  42. 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-breadcrumb
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 = ['children', 'label', 'margin', 'size'];
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
+ }
@@ -27,7 +27,7 @@ import { TruncateText } from '@instructure/ui-truncate-text/v11_6';
27
27
  import { Link } from '@instructure/ui-link/v11_6';
28
28
  import { omitProps } from '@instructure/ui-react-utils';
29
29
  import { Tooltip } from '@instructure/ui-tooltip/v11_6';
30
- import { allowedProps } from "./props.js";
30
+ import { allowedProps } from './props.js';
31
31
  import { jsx as _jsx } from "@emotion/react/jsx-runtime";
32
32
  /**
33
33
  ---
@@ -37,7 +37,7 @@ id: Breadcrumb.Link
37
37
  **/
38
38
 
39
39
  class BreadcrumbLink extends Component {
40
- static displayName = "BreadcrumbLink";
40
+ static displayName = 'BreadcrumbLink';
41
41
  static componentId = 'Breadcrumb.Link';
42
42
  static allowedProps = allowedProps;
43
43
  static defaultProps = {};
@@ -27,10 +27,10 @@ import { isValidElement, cloneElement, Children, Component } from 'react';
27
27
  import { View } from '@instructure/ui-view/v11_6';
28
28
  import { withStyle } from '@instructure/emotion';
29
29
  import { IconArrowOpenEndSolid } from '@instructure/ui-icons';
30
- import { BreadcrumbLink } from "./BreadcrumbLink/index.js";
31
- import generateStyle from "./styles.js";
32
- import generateComponentTheme from "./theme.js";
33
- import { allowedProps } from "./props.js";
30
+ import { BreadcrumbLink } from './BreadcrumbLink/index.js';
31
+ import generateStyle from './styles.js';
32
+ import generateComponentTheme from './theme.js';
33
+ import { allowedProps } from './props.js';
34
34
  import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
35
35
  /**
36
36
  ---
@@ -38,7 +38,7 @@ category: components
38
38
  ---
39
39
  **/
40
40
  let Breadcrumb = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = class Breadcrumb extends Component {
41
- static displayName = "Breadcrumb";
41
+ static displayName = 'Breadcrumb';
42
42
  static componentId = 'Breadcrumb';
43
43
  static allowedProps = allowedProps;
44
44
  static defaultProps = {
@@ -27,7 +27,7 @@ import { TruncateText } from '@instructure/ui-truncate-text/latest';
27
27
  import { Link } from '@instructure/ui-link/latest';
28
28
  import { omitProps } from '@instructure/ui-react-utils';
29
29
  import { Tooltip } from '@instructure/ui-tooltip/latest';
30
- import { allowedProps } from "./props.js";
30
+ import { allowedProps } from './props.js';
31
31
  import { jsx as _jsx } from "@emotion/react/jsx-runtime";
32
32
  /**
33
33
  ---
@@ -37,7 +37,7 @@ id: Breadcrumb.Link
37
37
  **/
38
38
 
39
39
  class BreadcrumbLink extends Component {
40
- static displayName = "BreadcrumbLink";
40
+ static displayName = 'BreadcrumbLink';
41
41
  static componentId = 'Breadcrumb.Link';
42
42
  static allowedProps = allowedProps;
43
43
  static defaultProps = {};
@@ -28,9 +28,9 @@ import { View } from '@instructure/ui-view/latest';
28
28
  import { safeCloneElement } from '@instructure/ui-react-utils';
29
29
  import { withStyleNew } from '@instructure/emotion';
30
30
  import { ChevronRightInstUIIcon } from '@instructure/ui-icons';
31
- import { BreadcrumbLink } from "./BreadcrumbLink/index.js";
32
- import generateStyle from "./styles.js";
33
- import { allowedProps } from "./props.js";
31
+ import { BreadcrumbLink } from './BreadcrumbLink/index.js';
32
+ import generateStyle from './styles.js';
33
+ import { allowedProps } from './props.js';
34
34
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
35
35
  /**
36
36
  ---
@@ -38,7 +38,7 @@ category: components
38
38
  ---
39
39
  **/
40
40
  let Breadcrumb = (_dec = withStyleNew(generateStyle), _dec(_class = class Breadcrumb extends Component {
41
- static displayName = "Breadcrumb";
41
+ static displayName = 'Breadcrumb';
42
42
  static componentId = 'Breadcrumb';
43
43
  static allowedProps = allowedProps;
44
44
  static defaultProps = {
package/es/exports/a.js CHANGED
@@ -21,4 +21,4 @@
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 { Breadcrumb, BreadcrumbLink } from "../Breadcrumb/v1/index.js";
24
+ export { Breadcrumb, BreadcrumbLink } from '../Breadcrumb/v1/index.js';
package/es/exports/b.js CHANGED
@@ -21,4 +21,4 @@
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 { Breadcrumb, BreadcrumbLink } from "../Breadcrumb/v2/index.js";
24
+ export { Breadcrumb, BreadcrumbLink } from '../Breadcrumb/v2/index.js';
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@instructure/ui-breadcrumb",
3
- "version": "11.7.3",
3
+ "version": "11.7.4-pr-snapshot-1781695314229",
4
+ "type": "module",
4
5
  "description": "A breadcrumb 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,24 +15,24 @@
15
15
  "license": "MIT",
16
16
  "dependencies": {
17
17
  "@babel/runtime": "^7.29.2",
18
- "@instructure/emotion": "11.7.3",
19
- "@instructure/ui-icons": "11.7.3",
20
- "@instructure/shared-types": "11.7.3",
21
- "@instructure/ui-link": "11.7.3",
22
- "@instructure/ui-react-utils": "11.7.3",
23
- "@instructure/ui-themes": "11.7.3",
24
- "@instructure/ui-tooltip": "11.7.3",
25
- "@instructure/ui-truncate-text": "11.7.3",
26
- "@instructure/ui-view": "11.7.3",
27
- "@instructure/ui-utils": "11.7.3"
18
+ "@instructure/shared-types": "11.7.4-pr-snapshot-1781695314229",
19
+ "@instructure/ui-icons": "11.7.4-pr-snapshot-1781695314229",
20
+ "@instructure/ui-link": "11.7.4-pr-snapshot-1781695314229",
21
+ "@instructure/ui-react-utils": "11.7.4-pr-snapshot-1781695314229",
22
+ "@instructure/ui-themes": "11.7.4-pr-snapshot-1781695314229",
23
+ "@instructure/ui-tooltip": "11.7.4-pr-snapshot-1781695314229",
24
+ "@instructure/emotion": "11.7.4-pr-snapshot-1781695314229",
25
+ "@instructure/ui-truncate-text": "11.7.4-pr-snapshot-1781695314229",
26
+ "@instructure/ui-utils": "11.7.4-pr-snapshot-1781695314229",
27
+ "@instructure/ui-view": "11.7.4-pr-snapshot-1781695314229"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@testing-library/jest-dom": "^6.6.3",
31
31
  "@testing-library/react": "15.0.7",
32
32
  "vitest": "^3.2.2",
33
- "@instructure/ui-axe-check": "11.7.3",
34
- "@instructure/ui-babel-preset": "11.7.3",
35
- "@instructure/ui-scripts": "11.7.3"
33
+ "@instructure/ui-babel-preset": "11.7.4-pr-snapshot-1781695314229",
34
+ "@instructure/ui-scripts": "11.7.4-pr-snapshot-1781695314229",
35
+ "@instructure/ui-axe-check": "11.7.4-pr-snapshot-1781695314229"
36
36
  },
37
37
  "peerDependencies": {
38
38
  "react": ">=18 <=19"
@@ -42,7 +42,6 @@
42
42
  },
43
43
  "sideEffects": false,
44
44
  "exports": {
45
- "./lib/*": "./lib/*",
46
45
  "./es/*": "./es/*",
47
46
  "./types/*": "./types/*",
48
47
  "./package.json": "./package.json",
@@ -51,28 +50,24 @@
51
50
  "src": "./src/exports/a.ts",
52
51
  "types": "./types/exports/a.d.ts",
53
52
  "import": "./es/exports/a.js",
54
- "require": "./lib/exports/a.js",
55
53
  "default": "./es/exports/a.js"
56
54
  },
57
55
  "./v11_6": {
58
56
  "src": "./src/exports/a.ts",
59
57
  "types": "./types/exports/a.d.ts",
60
58
  "import": "./es/exports/a.js",
61
- "require": "./lib/exports/a.js",
62
59
  "default": "./es/exports/a.js"
63
60
  },
64
61
  "./v11_7": {
65
62
  "src": "./src/exports/b.ts",
66
63
  "types": "./types/exports/b.d.ts",
67
64
  "import": "./es/exports/b.js",
68
- "require": "./lib/exports/b.js",
69
65
  "default": "./es/exports/b.js"
70
66
  },
71
67
  "./latest": {
72
68
  "src": "./src/exports/b.ts",
73
69
  "types": "./types/exports/b.d.ts",
74
70
  "import": "./es/exports/b.js",
75
- "require": "./lib/exports/b.js",
76
71
  "default": "./es/exports/b.js"
77
72
  }
78
73
  },
@@ -80,7 +75,7 @@
80
75
  "lint": "ui-scripts lint",
81
76
  "lint:fix": "ui-scripts lint --fix",
82
77
  "clean": "ui-scripts clean",
83
- "build": "ui-scripts build --modules es,cjs",
78
+ "build": "ui-scripts build",
84
79
  "build:watch": "pnpm run ts:check -- --watch & ui-scripts build --watch",
85
80
  "build:types": "tsc -p tsconfig.build.json",
86
81
  "ts:check": "tsc -p tsconfig.build.json --noEmit --emitDeclarationOnly false"
@@ -29,7 +29,7 @@ import { Link } from '@instructure/ui-link/v11_6'
29
29
  import { omitProps } from '@instructure/ui-react-utils'
30
30
  import { Tooltip } from '@instructure/ui-tooltip/v11_6'
31
31
 
32
- import { allowedProps } from './props'
32
+ import { allowedProps } from './props.js'
33
33
  import type { BreadcrumbLinkProps, BreadcrumbLinkState } from './props'
34
34
 
35
35
  /**
@@ -43,6 +43,7 @@ class BreadcrumbLink extends Component<
43
43
  BreadcrumbLinkProps,
44
44
  BreadcrumbLinkState
45
45
  > {
46
+ static displayName = 'BreadcrumbLink'
46
47
  static readonly componentId = 'Breadcrumb.Link'
47
48
 
48
49
  static allowedProps = allowedProps
@@ -34,12 +34,12 @@ import { View } from '@instructure/ui-view/v11_6'
34
34
 
35
35
  import { withStyle } from '@instructure/emotion'
36
36
  import { IconArrowOpenEndSolid } from '@instructure/ui-icons'
37
- import { BreadcrumbLink } from './BreadcrumbLink'
37
+ import { BreadcrumbLink } from './BreadcrumbLink/index.js'
38
38
 
39
- import generateStyle from './styles'
40
- import generateComponentTheme from './theme'
39
+ import generateStyle from './styles.js'
40
+ import generateComponentTheme from './theme.js'
41
41
 
42
- import { allowedProps } from './props'
42
+ import { allowedProps } from './props.js'
43
43
  import type { BreadcrumbProps } from './props'
44
44
 
45
45
  /**
@@ -50,6 +50,7 @@ category: components
50
50
 
51
51
  @withStyle(generateStyle, generateComponentTheme)
52
52
  class Breadcrumb extends Component<BreadcrumbProps> {
53
+ static displayName = 'Breadcrumb'
53
54
  static readonly componentId = 'Breadcrumb'
54
55
 
55
56
  static allowedProps = allowedProps
@@ -29,7 +29,7 @@ import { Link } from '@instructure/ui-link/latest'
29
29
  import { omitProps } from '@instructure/ui-react-utils'
30
30
  import { Tooltip } from '@instructure/ui-tooltip/latest'
31
31
 
32
- import { allowedProps } from './props'
32
+ import { allowedProps } from './props.js'
33
33
  import type { BreadcrumbLinkProps, BreadcrumbLinkState } from './props'
34
34
 
35
35
  /**
@@ -43,6 +43,7 @@ class BreadcrumbLink extends Component<
43
43
  BreadcrumbLinkProps,
44
44
  BreadcrumbLinkState
45
45
  > {
46
+ static displayName = 'BreadcrumbLink'
46
47
  static readonly componentId = 'Breadcrumb.Link'
47
48
 
48
49
  static allowedProps = allowedProps
@@ -29,11 +29,11 @@ import { safeCloneElement } from '@instructure/ui-react-utils'
29
29
 
30
30
  import { withStyleNew } from '@instructure/emotion'
31
31
  import { ChevronRightInstUIIcon } from '@instructure/ui-icons'
32
- import { BreadcrumbLink } from './BreadcrumbLink'
32
+ import { BreadcrumbLink } from './BreadcrumbLink/index.js'
33
33
 
34
- import generateStyle from './styles'
34
+ import generateStyle from './styles.js'
35
35
 
36
- import { allowedProps } from './props'
36
+ import { allowedProps } from './props.js'
37
37
  import type { BreadcrumbProps } from './props'
38
38
 
39
39
  /**
@@ -44,6 +44,7 @@ category: components
44
44
 
45
45
  @withStyleNew(generateStyle)
46
46
  class Breadcrumb extends Component<BreadcrumbProps> {
47
+ static displayName = 'Breadcrumb'
47
48
  static readonly componentId = 'Breadcrumb'
48
49
 
49
50
  static allowedProps = allowedProps
package/src/exports/a.ts CHANGED
@@ -21,7 +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 { Breadcrumb, BreadcrumbLink } from '../Breadcrumb/v1'
24
+ export { Breadcrumb, BreadcrumbLink } from '../Breadcrumb/v1/index.js'
25
25
 
26
26
  export type { BreadcrumbProps } from '../Breadcrumb/v1/props'
27
27
  export type { BreadcrumbLinkProps } from '../Breadcrumb/v1/BreadcrumbLink/props'
package/src/exports/b.ts CHANGED
@@ -21,7 +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 { Breadcrumb, BreadcrumbLink } from '../Breadcrumb/v2'
24
+ export { Breadcrumb, BreadcrumbLink } from '../Breadcrumb/v2/index.js'
25
25
 
26
26
  export type { BreadcrumbProps } from '../Breadcrumb/v2/props'
27
27
  export type { BreadcrumbLinkProps } from '../Breadcrumb/v2/BreadcrumbLink/props'