@instructure/ui-tag 10.2.3-snapshot-13 → 10.2.3-snapshot-15

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 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
- ## [10.2.3-snapshot-13](https://github.com/instructure/instructure-ui/compare/v10.2.2...v10.2.3-snapshot-13) (2024-10-02)
6
+ ## [10.2.3-snapshot-15](https://github.com/instructure/instructure-ui/compare/v10.2.2...v10.2.3-snapshot-15) (2024-10-03)
7
7
 
8
8
  **Note:** Version bump only for package @instructure/ui-tag
9
9
 
@@ -57,7 +57,7 @@ describe('<Tag />', async () => {
57
57
  });
58
58
  it('should render as a button and respond to onClick event', async () => {
59
59
  const onClick = vi.fn();
60
- render( /*#__PURE__*/React.createElement(Tag, {
60
+ render(/*#__PURE__*/React.createElement(Tag, {
61
61
  "data-testid": "summer-button",
62
62
  text: "Summer",
63
63
  onClick: onClick
@@ -71,7 +71,7 @@ describe('<Tag />', async () => {
71
71
  });
72
72
  it('should render a close icon when it is dismissible and clickable', async () => {
73
73
  const onClick = vi.fn();
74
- const _render = render( /*#__PURE__*/React.createElement(Tag, {
74
+ const _render = render(/*#__PURE__*/React.createElement(Tag, {
75
75
  text: "Summer",
76
76
  onClick: onClick,
77
77
  dismissible: true
@@ -100,7 +100,7 @@ describe('<Tag />', async () => {
100
100
  [prop]: 'foo'
101
101
  };
102
102
  const consoleError = vi.spyOn(console, 'error').mockImplementation(() => {});
103
- render( /*#__PURE__*/React.createElement(Tag, Object.assign({
103
+ render(/*#__PURE__*/React.createElement(Tag, Object.assign({
104
104
  text: "Summer"
105
105
  }, props)));
106
106
  const warning = `Warning: [Tag] prop '${prop}' is not allowed.`;
@@ -113,7 +113,7 @@ describe('<Tag />', async () => {
113
113
  [prop]: allowedProps[prop]
114
114
  };
115
115
  const consoleError = vi.spyOn(console, 'error');
116
- render( /*#__PURE__*/React.createElement(Tag, Object.assign({
116
+ render(/*#__PURE__*/React.createElement(Tag, Object.assign({
117
117
  text: "Summer"
118
118
  }, props)));
119
119
  expect(consoleError).not.toHaveBeenCalled();
@@ -59,7 +59,7 @@ describe('<Tag />', async () => {
59
59
  });
60
60
  it('should render as a button and respond to onClick event', async () => {
61
61
  const onClick = _vitest.vi.fn();
62
- (0, _react2.render)( /*#__PURE__*/_react.default.createElement(_index.Tag, {
62
+ (0, _react2.render)(/*#__PURE__*/_react.default.createElement(_index.Tag, {
63
63
  "data-testid": "summer-button",
64
64
  text: "Summer",
65
65
  onClick: onClick
@@ -73,7 +73,7 @@ describe('<Tag />', async () => {
73
73
  });
74
74
  it('should render a close icon when it is dismissible and clickable', async () => {
75
75
  const onClick = _vitest.vi.fn();
76
- const _render = (0, _react2.render)( /*#__PURE__*/_react.default.createElement(_index.Tag, {
76
+ const _render = (0, _react2.render)(/*#__PURE__*/_react.default.createElement(_index.Tag, {
77
77
  text: "Summer",
78
78
  onClick: onClick,
79
79
  dismissible: true
@@ -102,7 +102,7 @@ describe('<Tag />', async () => {
102
102
  [prop]: 'foo'
103
103
  };
104
104
  const consoleError = _vitest.vi.spyOn(console, 'error').mockImplementation(() => {});
105
- (0, _react2.render)( /*#__PURE__*/_react.default.createElement(_index.Tag, Object.assign({
105
+ (0, _react2.render)(/*#__PURE__*/_react.default.createElement(_index.Tag, Object.assign({
106
106
  text: "Summer"
107
107
  }, props)));
108
108
  const warning = `Warning: [Tag] prop '${prop}' is not allowed.`;
@@ -115,7 +115,7 @@ describe('<Tag />', async () => {
115
115
  [prop]: allowedProps[prop]
116
116
  };
117
117
  const consoleError = _vitest.vi.spyOn(console, 'error');
118
- (0, _react2.render)( /*#__PURE__*/_react.default.createElement(_index.Tag, Object.assign({
118
+ (0, _react2.render)(/*#__PURE__*/_react.default.createElement(_index.Tag, Object.assign({
119
119
  text: "Summer"
120
120
  }, props)));
121
121
  expect(consoleError).not.toHaveBeenCalled();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-tag",
3
- "version": "10.2.3-snapshot-13",
3
+ "version": "10.2.3-snapshot-15",
4
4
  "description": "A tag component",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "module": "./es/index.js",
@@ -23,27 +23,27 @@
23
23
  },
24
24
  "license": "MIT",
25
25
  "dependencies": {
26
- "@babel/runtime": "^7.24.5",
27
- "@instructure/console": "10.2.3-snapshot-13",
28
- "@instructure/emotion": "10.2.3-snapshot-13",
29
- "@instructure/shared-types": "10.2.3-snapshot-13",
30
- "@instructure/ui-color-utils": "10.2.3-snapshot-13",
31
- "@instructure/ui-dom-utils": "10.2.3-snapshot-13",
32
- "@instructure/ui-icons": "10.2.3-snapshot-13",
33
- "@instructure/ui-react-utils": "10.2.3-snapshot-13",
34
- "@instructure/ui-testable": "10.2.3-snapshot-13",
35
- "@instructure/ui-view": "10.2.3-snapshot-13",
26
+ "@babel/runtime": "^7.25.6",
27
+ "@instructure/console": "10.2.3-snapshot-15",
28
+ "@instructure/emotion": "10.2.3-snapshot-15",
29
+ "@instructure/shared-types": "10.2.3-snapshot-15",
30
+ "@instructure/ui-color-utils": "10.2.3-snapshot-15",
31
+ "@instructure/ui-dom-utils": "10.2.3-snapshot-15",
32
+ "@instructure/ui-icons": "10.2.3-snapshot-15",
33
+ "@instructure/ui-react-utils": "10.2.3-snapshot-15",
34
+ "@instructure/ui-testable": "10.2.3-snapshot-15",
35
+ "@instructure/ui-view": "10.2.3-snapshot-15",
36
36
  "prop-types": "^15.8.1"
37
37
  },
38
38
  "devDependencies": {
39
- "@instructure/ui-axe-check": "10.2.3-snapshot-13",
40
- "@instructure/ui-babel-preset": "10.2.3-snapshot-13",
41
- "@instructure/ui-test-utils": "10.2.3-snapshot-13",
42
- "@instructure/ui-themes": "10.2.3-snapshot-13",
39
+ "@instructure/ui-axe-check": "10.2.3-snapshot-15",
40
+ "@instructure/ui-babel-preset": "10.2.3-snapshot-15",
41
+ "@instructure/ui-test-utils": "10.2.3-snapshot-15",
42
+ "@instructure/ui-themes": "10.2.3-snapshot-15",
43
43
  "@testing-library/jest-dom": "^6.4.5",
44
- "@testing-library/react": "^15.0.7",
44
+ "@testing-library/react": "^16.0.1",
45
45
  "@testing-library/user-event": "^14.5.2",
46
- "vitest": "^2.0.2"
46
+ "vitest": "^2.1.1"
47
47
  },
48
48
  "peerDependencies": {
49
49
  "react": ">=16.8 <=18"