@instructure/ui-badge 11.7.8 → 11.7.9-snapshot-1

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
+ ## [11.7.9-snapshot-1](https://github.com/instructure/instructure-ui/compare/v11.7.8...v11.7.9-snapshot-1) (2026-10-06)
7
+
8
+ **Note:** Version bump only for package @instructure/ui-badge
9
+
10
+
11
+
12
+
13
+
6
14
  ## [11.7.8](https://github.com/instructure/instructure-ui/compare/v11.7.7...v11.7.8) (2026-10-02)
7
15
 
8
16
  **Note:** Version bump only for package @instructure/ui-badge
@@ -7,8 +7,7 @@ Object.defineProperty(exports, "__esModule", {
7
7
  exports.default = exports.Badge = void 0;
8
8
  var _react = require("react");
9
9
  var _v11_ = require("@instructure/ui-view/v11_6");
10
- var _safeCloneElement = require("@instructure/ui-react-utils/lib/safeCloneElement.js");
11
- var _withDeterministicId = require("@instructure/ui-react-utils/lib/DeterministicIdContext/withDeterministicId.js");
10
+ var _uiReactUtils = require("@instructure/ui-react-utils");
12
11
  var _emotion = require("@instructure/emotion");
13
12
  var _styles = _interopRequireDefault(require("./styles.js"));
14
13
  var _theme = _interopRequireDefault(require("./theme.js"));
@@ -43,7 +42,7 @@ var _dec, _dec2, _class;
43
42
  category: components
44
43
  ---
45
44
  **/
46
- let Badge = exports.Badge = (_dec = (0, _withDeterministicId.withDeterministicId)(), _dec2 = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = _dec2(_class = class Badge extends _react.Component {
45
+ let Badge = exports.Badge = (_dec = (0, _uiReactUtils.withDeterministicId)(), _dec2 = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = _dec2(_class = class Badge extends _react.Component {
47
46
  static displayName = 'Badge';
48
47
  static componentId = 'Badge';
49
48
  static allowedProps = _props.allowedProps;
@@ -129,7 +128,7 @@ let Badge = exports.Badge = (_dec = (0, _withDeterministicId.withDeterministicId
129
128
  }
130
129
  renderChildren() {
131
130
  return _react.Children.map(this.props.children, child => {
132
- return (0, _safeCloneElement.safeCloneElement)(child, {
131
+ return (0, _uiReactUtils.safeCloneElement)(child, {
133
132
  'aria-describedby': this._defaultId
134
133
  });
135
134
  });
@@ -7,8 +7,7 @@ Object.defineProperty(exports, "__esModule", {
7
7
  exports.default = exports.Badge = void 0;
8
8
  var _react = require("react");
9
9
  var _latest = require("@instructure/ui-view/latest");
10
- var _safeCloneElement = require("@instructure/ui-react-utils/lib/safeCloneElement.js");
11
- var _withDeterministicId = require("@instructure/ui-react-utils/lib/DeterministicIdContext/withDeterministicId.js");
10
+ var _uiReactUtils = require("@instructure/ui-react-utils");
12
11
  var _emotion = require("@instructure/emotion");
13
12
  var _styles = _interopRequireDefault(require("./styles.js"));
14
13
  var _props = require("./props.js");
@@ -42,7 +41,7 @@ var _dec, _dec2, _class;
42
41
  category: components
43
42
  ---
44
43
  **/
45
- let Badge = exports.Badge = (_dec = (0, _withDeterministicId.withDeterministicId)(), _dec2 = (0, _emotion.withStyleNew)(_styles.default), _dec(_class = _dec2(_class = class Badge extends _react.Component {
44
+ let Badge = exports.Badge = (_dec = (0, _uiReactUtils.withDeterministicId)(), _dec2 = (0, _emotion.withStyleNew)(_styles.default), _dec(_class = _dec2(_class = class Badge extends _react.Component {
46
45
  static displayName = 'Badge';
47
46
  static componentId = 'Badge';
48
47
  static allowedProps = _props.allowedProps;
@@ -128,7 +127,7 @@ let Badge = exports.Badge = (_dec = (0, _withDeterministicId.withDeterministicId
128
127
  }
129
128
  renderChildren() {
130
129
  return _react.Children.map(this.props.children, child => {
131
- return (0, _safeCloneElement.safeCloneElement)(child, {
130
+ return (0, _uiReactUtils.safeCloneElement)(child, {
132
131
  'aria-describedby': this._defaultId
133
132
  });
134
133
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-badge",
3
- "version": "11.7.8",
3
+ "version": "11.7.9-snapshot-1",
4
4
  "description": "A badge component",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "module": "./es/index.js",
@@ -15,18 +15,18 @@
15
15
  "license": "MIT",
16
16
  "dependencies": {
17
17
  "@babel/runtime": "^7.29.7",
18
- "@instructure/emotion": "11.7.8",
19
- "@instructure/shared-types": "11.7.8",
20
- "@instructure/ui-color-utils": "11.7.8",
21
- "@instructure/ui-position": "11.7.8",
22
- "@instructure/ui-react-utils": "11.7.8",
23
- "@instructure/ui-view": "11.7.8",
24
- "@instructure/ui-themes": "11.7.8"
18
+ "@instructure/emotion": "11.7.9-snapshot-1",
19
+ "@instructure/shared-types": "11.7.9-snapshot-1",
20
+ "@instructure/ui-color-utils": "11.7.9-snapshot-1",
21
+ "@instructure/ui-position": "11.7.9-snapshot-1",
22
+ "@instructure/ui-react-utils": "11.7.9-snapshot-1",
23
+ "@instructure/ui-view": "11.7.9-snapshot-1",
24
+ "@instructure/ui-themes": "11.7.9-snapshot-1"
25
25
  },
26
26
  "devDependencies": {
27
27
  "vitest": "^5.0.0",
28
- "@instructure/ui-axe-check": "11.7.8",
29
- "@instructure/ui-babel-preset": "11.7.8"
28
+ "@instructure/ui-axe-check": "11.7.9-snapshot-1",
29
+ "@instructure/ui-babel-preset": "11.7.9-snapshot-1"
30
30
  },
31
31
  "peerDependencies": {
32
32
  "react": ">=18 <=19"