@instructure/ui-text 10.13.0 → 10.13.1-pr-snapshot-1741357986437

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,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
+ ## [10.13.1-pr-snapshot-1741357986437](https://github.com/instructure/instructure-ui/compare/v10.13.0...v10.13.1-pr-snapshot-1741357986437) (2025-03-07)
7
+
8
+ **Note:** Version bump only for package @instructure/ui-text
9
+
10
+
11
+
12
+
13
+
6
14
  # [10.13.0](https://github.com/instructure/instructure-ui/compare/v10.12.0...v10.13.0) (2025-03-06)
7
15
 
8
16
  **Note:** Version bump only for package @instructure/ui-text
@@ -4,7 +4,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
4
4
  var _react = _interopRequireDefault(require("react"));
5
5
  var _react2 = require("@testing-library/react");
6
6
  require("@testing-library/jest-dom");
7
- var _runAxeCheck = require("@instructure/ui-axe-check/lib/runAxeCheck.js");
7
+ var _uiAxeCheck = require("@instructure/ui-axe-check");
8
8
  var _index = require("../index");
9
9
  var _Text, _Text2, _Text3;
10
10
  /*
@@ -40,7 +40,7 @@ describe('<Text />', () => {
40
40
  it('should meet a11y standards', async () => {
41
41
  const _render2 = (0, _react2.render)(_Text2 || (_Text2 = /*#__PURE__*/_react.default.createElement(_index.Text, null))),
42
42
  container = _render2.container;
43
- const axeCheck = await (0, _runAxeCheck.runAxeCheck)(container);
43
+ const axeCheck = await (0, _uiAxeCheck.runAxeCheck)(container);
44
44
  expect(axeCheck).toBe(true);
45
45
  });
46
46
  it('should render with the specified tag when `as` prop is set', async () => {
package/lib/Text/index.js CHANGED
@@ -6,8 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.default = exports.Text = void 0;
8
8
  var _react = require("react");
9
- var _passthroughProps = require("@instructure/ui-react-utils/lib/passthroughProps.js");
10
- var _getElementType = require("@instructure/ui-react-utils/lib/getElementType.js");
9
+ var _uiReactUtils = require("@instructure/ui-react-utils");
11
10
  var _emotion = require("@instructure/emotion");
12
11
  var _styles = _interopRequireDefault(require("./styles"));
13
12
  var _theme = _interopRequireDefault(require("./theme"));
@@ -70,8 +69,8 @@ let Text = exports.Text = (_dec = (0, _emotion.withStyle)(_styles.default, _them
70
69
  render() {
71
70
  var _this$props$styles;
72
71
  const children = this.props.children;
73
- const ElementType = (0, _getElementType.getElementType)(Text, this.props);
74
- return (0, _emotion.jsx)(ElementType, Object.assign({}, (0, _passthroughProps.passthroughProps)(this.props), {
72
+ const ElementType = (0, _uiReactUtils.getElementType)(Text, this.props);
73
+ return (0, _emotion.jsx)(ElementType, Object.assign({}, (0, _uiReactUtils.passthroughProps)(this.props), {
75
74
  css: (_this$props$styles = this.props.styles) === null || _this$props$styles === void 0 ? void 0 : _this$props$styles.text,
76
75
  ref: this.props.elementRef
77
76
  }), children);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-text",
3
- "version": "10.13.0",
3
+ "version": "10.13.1-pr-snapshot-1741357986437",
4
4
  "description": "A component for styling textual content",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "module": "./es/index.js",
@@ -24,18 +24,18 @@
24
24
  "license": "MIT",
25
25
  "dependencies": {
26
26
  "@babel/runtime": "^7.26.0",
27
- "@instructure/console": "10.13.0",
28
- "@instructure/emotion": "10.13.0",
29
- "@instructure/shared-types": "10.13.0",
30
- "@instructure/ui-color-utils": "10.13.0",
31
- "@instructure/ui-react-utils": "10.13.0",
27
+ "@instructure/console": "10.13.1-pr-snapshot-1741357986437",
28
+ "@instructure/emotion": "10.13.1-pr-snapshot-1741357986437",
29
+ "@instructure/shared-types": "10.13.1-pr-snapshot-1741357986437",
30
+ "@instructure/ui-color-utils": "10.13.1-pr-snapshot-1741357986437",
31
+ "@instructure/ui-react-utils": "10.13.1-pr-snapshot-1741357986437",
32
32
  "prop-types": "^15.8.1"
33
33
  },
34
34
  "devDependencies": {
35
- "@instructure/ui-axe-check": "10.13.0",
36
- "@instructure/ui-babel-preset": "10.13.0",
37
- "@instructure/ui-test-utils": "10.13.0",
38
- "@instructure/ui-themes": "10.13.0",
35
+ "@instructure/ui-axe-check": "10.13.1-pr-snapshot-1741357986437",
36
+ "@instructure/ui-babel-preset": "10.13.1-pr-snapshot-1741357986437",
37
+ "@instructure/ui-test-utils": "10.13.1-pr-snapshot-1741357986437",
38
+ "@instructure/ui-themes": "10.13.1-pr-snapshot-1741357986437",
39
39
  "@testing-library/jest-dom": "^6.6.3",
40
40
  "@testing-library/react": "^16.0.1"
41
41
  },