@instructure/ui-tag 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-tag
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-tag
@@ -6,10 +6,10 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.default = exports.Tag = void 0;
8
8
  var _react = require("react");
9
- var _IconXLine = require("@instructure/ui-icons/lib/generated/IconXLine.js");
9
+ var _uiIcons = require("@instructure/ui-icons");
10
10
  var _v11_ = require("@instructure/ui-view/v11_6");
11
- var _omitProps = require("@instructure/ui-react-utils/lib/omitProps.js");
12
- var _isActiveElement = require("@instructure/ui-dom-utils/lib/isActiveElement.js");
11
+ var _uiReactUtils = require("@instructure/ui-react-utils");
12
+ var _uiDomUtils = require("@instructure/ui-dom-utils");
13
13
  var _emotion = require("@instructure/emotion");
14
14
  var _styles = _interopRequireDefault(require("./styles.js"));
15
15
  var _theme = _interopRequireDefault(require("./theme.js"));
@@ -63,7 +63,7 @@ let Tag = exports.Tag = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.
63
63
  this.props.makeStyles?.();
64
64
  }
65
65
  get focused() {
66
- return (0, _isActiveElement.isActiveElement)(this.ref);
66
+ return (0, _uiDomUtils.isActiveElement)(this.ref);
67
67
  }
68
68
  focus = () => {
69
69
  this.ref && this.ref.focus();
@@ -99,7 +99,7 @@ let Tag = exports.Tag = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.
99
99
  margin,
100
100
  styles
101
101
  } = this.props;
102
- const passthroughProps = _v11_.View.omitViewProps((0, _omitProps.omitProps)(this.props, Tag.allowedProps), Tag);
102
+ const passthroughProps = _v11_.View.omitViewProps((0, _uiReactUtils.omitProps)(this.props, Tag.allowedProps), Tag);
103
103
  return (0, _jsxRuntime.jsxs)(_v11_.View, {
104
104
  ...passthroughProps,
105
105
  elementRef: this.handleRef,
@@ -118,7 +118,7 @@ let Tag = exports.Tag = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.
118
118
  children: [(0, _jsxRuntime.jsx)("span", {
119
119
  css: styles?.text,
120
120
  children: text
121
- }), onClick && dismissible ? (0, _jsxRuntime.jsx)(_IconXLine.IconXLine, {
121
+ }), onClick && dismissible ? (0, _jsxRuntime.jsx)(_uiIcons.IconXLine, {
122
122
  css: styles?.icon
123
123
  }) : null]
124
124
  });
@@ -8,8 +8,8 @@ exports.default = exports.Tag = void 0;
8
8
  var _react = require("react");
9
9
  var _uiIcons = require("@instructure/ui-icons");
10
10
  var _latest = require("@instructure/ui-view/latest");
11
- var _omitProps = require("@instructure/ui-react-utils/lib/omitProps.js");
12
- var _isActiveElement = require("@instructure/ui-dom-utils/lib/isActiveElement.js");
11
+ var _uiReactUtils = require("@instructure/ui-react-utils");
12
+ var _uiDomUtils = require("@instructure/ui-dom-utils");
13
13
  var _emotion = require("@instructure/emotion");
14
14
  var _styles = _interopRequireDefault(require("./styles.js"));
15
15
  var _props = require("./props.js");
@@ -64,7 +64,7 @@ let Tag = exports.Tag = (_dec = (0, _emotion.withStyleNew)(_styles.default), _de
64
64
  this.props.makeStyles?.();
65
65
  }
66
66
  get focused() {
67
- return (0, _isActiveElement.isActiveElement)(this.ref);
67
+ return (0, _uiDomUtils.isActiveElement)(this.ref);
68
68
  }
69
69
  focus = () => {
70
70
  this.ref && this.ref.focus();
@@ -120,7 +120,7 @@ let Tag = exports.Tag = (_dec = (0, _emotion.withStyleNew)(_styles.default), _de
120
120
  margin,
121
121
  styles
122
122
  } = this.props;
123
- const passthroughProps = _latest.View.omitViewProps((0, _omitProps.omitProps)(this.props, Tag.allowedProps), Tag);
123
+ const passthroughProps = _latest.View.omitViewProps((0, _uiReactUtils.omitProps)(this.props, Tag.allowedProps), Tag);
124
124
  const getIconColor = () => {
125
125
  if (disabled) {
126
126
  return 'mutedColor';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-tag",
3
- "version": "11.7.8",
3
+ "version": "11.7.9-snapshot-1",
4
4
  "description": "A tag component",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "module": "./es/index.js",
@@ -15,20 +15,20 @@
15
15
  "license": "MIT",
16
16
  "dependencies": {
17
17
  "@babel/runtime": "^7.29.7",
18
- "@instructure/console": "11.7.8",
19
- "@instructure/shared-types": "11.7.8",
20
- "@instructure/emotion": "11.7.8",
21
- "@instructure/ui-color-utils": "11.7.8",
22
- "@instructure/ui-dom-utils": "11.7.8",
23
- "@instructure/ui-icons": "11.7.8",
24
- "@instructure/ui-themes": "11.7.8",
25
- "@instructure/ui-view": "11.7.8",
26
- "@instructure/ui-react-utils": "11.7.8"
18
+ "@instructure/console": "11.7.9-snapshot-1",
19
+ "@instructure/emotion": "11.7.9-snapshot-1",
20
+ "@instructure/shared-types": "11.7.9-snapshot-1",
21
+ "@instructure/ui-color-utils": "11.7.9-snapshot-1",
22
+ "@instructure/ui-dom-utils": "11.7.9-snapshot-1",
23
+ "@instructure/ui-icons": "11.7.9-snapshot-1",
24
+ "@instructure/ui-react-utils": "11.7.9-snapshot-1",
25
+ "@instructure/ui-themes": "11.7.9-snapshot-1",
26
+ "@instructure/ui-view": "11.7.9-snapshot-1"
27
27
  },
28
28
  "devDependencies": {
29
29
  "vitest": "^5.0.0",
30
- "@instructure/ui-axe-check": "11.7.8",
31
- "@instructure/ui-babel-preset": "11.7.8"
30
+ "@instructure/ui-axe-check": "11.7.9-snapshot-1",
31
+ "@instructure/ui-babel-preset": "11.7.9-snapshot-1"
32
32
  },
33
33
  "peerDependencies": {
34
34
  "react": ">=18 <=19"