@instructure/ui-breadcrumb 8.46.2-snapshot-5 → 8.46.2-snapshot-7
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 +1 -1
- package/es/Breadcrumb/BreadcrumbLink/__new-tests__/BreadcrumbLink.test.js +1 -1
- package/es/Breadcrumb/__new-tests__/Breadcrumb.test.js +1 -1
- package/lib/Breadcrumb/BreadcrumbLink/__new-tests__/BreadcrumbLink.test.js +1 -1
- package/lib/Breadcrumb/BreadcrumbLink/index.js +2 -4
- package/lib/Breadcrumb/BreadcrumbLink/props.js +2 -4
- package/lib/Breadcrumb/__new-tests__/Breadcrumb.test.js +1 -1
- package/lib/Breadcrumb/index.js +2 -4
- package/lib/Breadcrumb/props.js +2 -4
- package/lib/Breadcrumb/styles.js +1 -2
- package/lib/Breadcrumb/theme.js +1 -2
- package/package.json +17 -17
- package/src/Breadcrumb/BreadcrumbLink/__new-tests__/BreadcrumbLink.test.tsx +1 -1
- package/src/Breadcrumb/__new-tests__/Breadcrumb.test.tsx +1 -1
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/Breadcrumb/BreadcrumbLink/__new-tests__/BreadcrumbLink.test.d.ts +1 -1
- package/types/Breadcrumb/BreadcrumbLink/__new-tests__/BreadcrumbLink.test.d.ts.map +1 -1
- package/types/Breadcrumb/__new-tests__/Breadcrumb.test.d.ts +1 -1
- package/types/Breadcrumb/__new-tests__/Breadcrumb.test.d.ts.map +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
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
|
-
## [8.46.2-snapshot-
|
|
6
|
+
## [8.46.2-snapshot-7](https://github.com/instructure/instructure-ui/compare/v8.46.1...v8.46.2-snapshot-7) (2023-10-20)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @instructure/ui-breadcrumb
|
|
9
9
|
|
|
@@ -25,7 +25,7 @@ var _BreadcrumbLink, _BreadcrumbLink2, _BreadcrumbLink3, _BreadcrumbLink4, _Brea
|
|
|
25
25
|
|
|
26
26
|
import React from 'react';
|
|
27
27
|
import { fireEvent, render, screen } from '@testing-library/react';
|
|
28
|
-
import '@testing-library/jest-dom
|
|
28
|
+
import '@testing-library/jest-dom';
|
|
29
29
|
import { runAxeCheck } from '@instructure/ui-axe-check';
|
|
30
30
|
import { BreadcrumbLink } from '../index';
|
|
31
31
|
const TEST_TEXT_01 = 'Account';
|
|
@@ -25,7 +25,7 @@ var _Breadcrumb, _Breadcrumb2, _Breadcrumb3;
|
|
|
25
25
|
|
|
26
26
|
import React from 'react';
|
|
27
27
|
import { render, screen } from '@testing-library/react';
|
|
28
|
-
import '@testing-library/jest-dom
|
|
28
|
+
import '@testing-library/jest-dom';
|
|
29
29
|
|
|
30
30
|
// eslint-disable-next-line no-restricted-imports
|
|
31
31
|
import { generateA11yTests } from '@instructure/ui-scripts/lib/test/generateA11yTests';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
4
|
var _react = _interopRequireDefault(require("react"));
|
|
5
5
|
var _react2 = require("@testing-library/react");
|
|
6
|
-
require("@testing-library/jest-dom
|
|
6
|
+
require("@testing-library/jest-dom");
|
|
7
7
|
var _runAxeCheck = require("@instructure/ui-axe-check/lib/runAxeCheck.js");
|
|
8
8
|
var _index = require("../index");
|
|
9
9
|
var _BreadcrumbLink, _BreadcrumbLink2, _BreadcrumbLink3, _BreadcrumbLink4, _BreadcrumbLink5, _BreadcrumbLink6;
|
|
@@ -42,7 +42,7 @@ id: Breadcrumb.Link
|
|
|
42
42
|
---
|
|
43
43
|
@tsProps
|
|
44
44
|
**/
|
|
45
|
-
let BreadcrumbLink = (_dec = (0, _testable.testable)(), _dec(_class = (_class2 = class BreadcrumbLink extends _react.Component {
|
|
45
|
+
let BreadcrumbLink = exports.BreadcrumbLink = (_dec = (0, _testable.testable)(), _dec(_class = (_class2 = class BreadcrumbLink extends _react.Component {
|
|
46
46
|
constructor(...args) {
|
|
47
47
|
super(...args);
|
|
48
48
|
this.ref = null;
|
|
@@ -68,6 +68,4 @@ let BreadcrumbLink = (_dec = (0, _testable.testable)(), _dec(_class = (_class2 =
|
|
|
68
68
|
}), /*#__PURE__*/_react.default.createElement(_TruncateText.TruncateText, null, children));
|
|
69
69
|
}
|
|
70
70
|
}, _class2.displayName = "BreadcrumbLink", _class2.componentId = 'Breadcrumb.Link', _class2.propTypes = _props.propTypes, _class2.allowedProps = _props.allowedProps, _class2.defaultProps = {}, _class2)) || _class);
|
|
71
|
-
exports.
|
|
72
|
-
var _default = BreadcrumbLink;
|
|
73
|
-
exports.default = _default;
|
|
71
|
+
var _default = exports.default = BreadcrumbLink;
|
|
@@ -30,7 +30,7 @@ var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
|
30
30
|
* SOFTWARE.
|
|
31
31
|
*/
|
|
32
32
|
|
|
33
|
-
const propTypes = {
|
|
33
|
+
const propTypes = exports.propTypes = {
|
|
34
34
|
children: _propTypes.default.node.isRequired,
|
|
35
35
|
href: _propTypes.default.string,
|
|
36
36
|
onClick: _propTypes.default.func,
|
|
@@ -38,6 +38,4 @@ const propTypes = {
|
|
|
38
38
|
renderIcon: _propTypes.default.oneOfType([_propTypes.default.node, _propTypes.default.func]),
|
|
39
39
|
iconPlacement: _propTypes.default.oneOf(['start', 'end'])
|
|
40
40
|
};
|
|
41
|
-
exports.
|
|
42
|
-
const allowedProps = ['children', 'href', 'iconPlacement', 'onClick', 'renderIcon', 'size'];
|
|
43
|
-
exports.allowedProps = allowedProps;
|
|
41
|
+
const allowedProps = exports.allowedProps = ['children', 'href', 'iconPlacement', 'onClick', 'renderIcon', 'size'];
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
4
|
var _react = _interopRequireDefault(require("react"));
|
|
5
5
|
var _react2 = require("@testing-library/react");
|
|
6
|
-
require("@testing-library/jest-dom
|
|
6
|
+
require("@testing-library/jest-dom");
|
|
7
7
|
var _generateA11yTests = require("@instructure/ui-scripts/lib/test/generateA11yTests");
|
|
8
8
|
var _runAxeCheck = require("@instructure/ui-axe-check/lib/runAxeCheck.js");
|
|
9
9
|
var _index = require("../index");
|
package/lib/Breadcrumb/index.js
CHANGED
|
@@ -53,7 +53,7 @@ category: components
|
|
|
53
53
|
---
|
|
54
54
|
@tsProps
|
|
55
55
|
**/
|
|
56
|
-
let Breadcrumb = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (_class2 = class Breadcrumb extends _react.Component {
|
|
56
|
+
let Breadcrumb = exports.Breadcrumb = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (_class2 = class Breadcrumb extends _react.Component {
|
|
57
57
|
constructor(...args) {
|
|
58
58
|
super(...args);
|
|
59
59
|
this.ref = null;
|
|
@@ -103,6 +103,4 @@ let Breadcrumb = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default
|
|
|
103
103
|
size: 'medium',
|
|
104
104
|
children: null
|
|
105
105
|
}, _class2.Link = _BreadcrumbLink.BreadcrumbLink, _class2)) || _class) || _class);
|
|
106
|
-
exports.
|
|
107
|
-
var _default = Breadcrumb;
|
|
108
|
-
exports.default = _default;
|
|
106
|
+
var _default = exports.default = Breadcrumb;
|
package/lib/Breadcrumb/props.js
CHANGED
|
@@ -33,12 +33,10 @@ var _BreadcrumbLink = require("./BreadcrumbLink");
|
|
|
33
33
|
* SOFTWARE.
|
|
34
34
|
*/
|
|
35
35
|
|
|
36
|
-
const propTypes = {
|
|
36
|
+
const propTypes = exports.propTypes = {
|
|
37
37
|
children: _Children.Children.oneOf([_BreadcrumbLink.BreadcrumbLink]),
|
|
38
38
|
label: _propTypes.default.string.isRequired,
|
|
39
39
|
size: _propTypes.default.oneOf(['small', 'medium', 'large']),
|
|
40
40
|
margin: _emotion.ThemeablePropTypes.spacing
|
|
41
41
|
};
|
|
42
|
-
exports.
|
|
43
|
-
const allowedProps = ['children', 'label', 'margin', 'size'];
|
|
44
|
-
exports.allowedProps = allowedProps;
|
|
42
|
+
const allowedProps = exports.allowedProps = ['children', 'label', 'margin', 'size'];
|
package/lib/Breadcrumb/styles.js
CHANGED
package/lib/Breadcrumb/theme.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-breadcrumb",
|
|
3
|
-
"version": "8.46.2-snapshot-
|
|
3
|
+
"version": "8.46.2-snapshot-7",
|
|
4
4
|
"description": "A breadcrumb component",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"module": "./es/index.js",
|
|
@@ -23,25 +23,25 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@instructure/ui-axe-check": "8.46.2-snapshot-
|
|
27
|
-
"@instructure/ui-babel-preset": "8.46.2-snapshot-
|
|
28
|
-
"@instructure/ui-scripts": "8.46.2-snapshot-
|
|
29
|
-
"@instructure/ui-themes": "8.46.2-snapshot-
|
|
30
|
-
"@testing-library/jest-dom": "^
|
|
26
|
+
"@instructure/ui-axe-check": "8.46.2-snapshot-7",
|
|
27
|
+
"@instructure/ui-babel-preset": "8.46.2-snapshot-7",
|
|
28
|
+
"@instructure/ui-scripts": "8.46.2-snapshot-7",
|
|
29
|
+
"@instructure/ui-themes": "8.46.2-snapshot-7",
|
|
30
|
+
"@testing-library/jest-dom": "^6.1.4",
|
|
31
31
|
"@testing-library/react": "^14.0.0"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@babel/runtime": "^7.
|
|
35
|
-
"@instructure/emotion": "8.46.2-snapshot-
|
|
36
|
-
"@instructure/shared-types": "8.46.2-snapshot-
|
|
37
|
-
"@instructure/ui-icons": "8.46.2-snapshot-
|
|
38
|
-
"@instructure/ui-link": "8.46.2-snapshot-
|
|
39
|
-
"@instructure/ui-prop-types": "8.46.2-snapshot-
|
|
40
|
-
"@instructure/ui-react-utils": "8.46.2-snapshot-
|
|
41
|
-
"@instructure/ui-testable": "8.46.2-snapshot-
|
|
42
|
-
"@instructure/ui-truncate-text": "8.46.2-snapshot-
|
|
43
|
-
"@instructure/ui-utils": "8.46.2-snapshot-
|
|
44
|
-
"@instructure/ui-view": "8.46.2-snapshot-
|
|
34
|
+
"@babel/runtime": "^7.23.2",
|
|
35
|
+
"@instructure/emotion": "8.46.2-snapshot-7",
|
|
36
|
+
"@instructure/shared-types": "8.46.2-snapshot-7",
|
|
37
|
+
"@instructure/ui-icons": "8.46.2-snapshot-7",
|
|
38
|
+
"@instructure/ui-link": "8.46.2-snapshot-7",
|
|
39
|
+
"@instructure/ui-prop-types": "8.46.2-snapshot-7",
|
|
40
|
+
"@instructure/ui-react-utils": "8.46.2-snapshot-7",
|
|
41
|
+
"@instructure/ui-testable": "8.46.2-snapshot-7",
|
|
42
|
+
"@instructure/ui-truncate-text": "8.46.2-snapshot-7",
|
|
43
|
+
"@instructure/ui-utils": "8.46.2-snapshot-7",
|
|
44
|
+
"@instructure/ui-view": "8.46.2-snapshot-7",
|
|
45
45
|
"prop-types": "^15.8.1"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
|
|
25
25
|
import React from 'react'
|
|
26
26
|
import { fireEvent, render, screen } from '@testing-library/react'
|
|
27
|
-
import '@testing-library/jest-dom
|
|
27
|
+
import '@testing-library/jest-dom'
|
|
28
28
|
|
|
29
29
|
import { runAxeCheck } from '@instructure/ui-axe-check'
|
|
30
30
|
import { BreadcrumbLink } from '../index'
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
|
|
25
25
|
import React from 'react'
|
|
26
26
|
import { render, screen } from '@testing-library/react'
|
|
27
|
-
import '@testing-library/jest-dom
|
|
27
|
+
import '@testing-library/jest-dom'
|
|
28
28
|
|
|
29
29
|
// eslint-disable-next-line no-restricted-imports
|
|
30
30
|
import { generateA11yTests } from '@instructure/ui-scripts/lib/test/generateA11yTests'
|