@instructure/ui-tag 10.6.1-snapshot-4 → 10.6.1-snapshot-5

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.6.1-snapshot-4](https://github.com/instructure/instructure-ui/compare/v10.6.0...v10.6.1-snapshot-4) (2024-11-20)
6
+ ## [10.6.1-snapshot-5](https://github.com/instructure/instructure-ui/compare/v10.6.0...v10.6.1-snapshot-5) (2024-11-21)
7
7
 
8
8
 
9
9
  ### Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-tag",
3
- "version": "10.6.1-snapshot-4",
3
+ "version": "10.6.1-snapshot-5",
4
4
  "description": "A tag component",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "module": "./es/index.js",
@@ -24,22 +24,22 @@
24
24
  "license": "MIT",
25
25
  "dependencies": {
26
26
  "@babel/runtime": "^7.25.6",
27
- "@instructure/console": "10.6.1-snapshot-4",
28
- "@instructure/emotion": "10.6.1-snapshot-4",
29
- "@instructure/shared-types": "10.6.1-snapshot-4",
30
- "@instructure/ui-color-utils": "10.6.1-snapshot-4",
31
- "@instructure/ui-dom-utils": "10.6.1-snapshot-4",
32
- "@instructure/ui-icons": "10.6.1-snapshot-4",
33
- "@instructure/ui-react-utils": "10.6.1-snapshot-4",
34
- "@instructure/ui-testable": "10.6.1-snapshot-4",
35
- "@instructure/ui-view": "10.6.1-snapshot-4",
27
+ "@instructure/console": "10.6.1-snapshot-5",
28
+ "@instructure/emotion": "10.6.1-snapshot-5",
29
+ "@instructure/shared-types": "10.6.1-snapshot-5",
30
+ "@instructure/ui-color-utils": "10.6.1-snapshot-5",
31
+ "@instructure/ui-dom-utils": "10.6.1-snapshot-5",
32
+ "@instructure/ui-icons": "10.6.1-snapshot-5",
33
+ "@instructure/ui-react-utils": "10.6.1-snapshot-5",
34
+ "@instructure/ui-testable": "10.6.1-snapshot-5",
35
+ "@instructure/ui-view": "10.6.1-snapshot-5",
36
36
  "prop-types": "^15.8.1"
37
37
  },
38
38
  "devDependencies": {
39
- "@instructure/ui-axe-check": "10.6.1-snapshot-4",
40
- "@instructure/ui-babel-preset": "10.6.1-snapshot-4",
41
- "@instructure/ui-test-utils": "10.6.1-snapshot-4",
42
- "@instructure/ui-themes": "10.6.1-snapshot-4",
39
+ "@instructure/ui-axe-check": "10.6.1-snapshot-5",
40
+ "@instructure/ui-babel-preset": "10.6.1-snapshot-5",
41
+ "@instructure/ui-test-utils": "10.6.1-snapshot-5",
42
+ "@instructure/ui-themes": "10.6.1-snapshot-5",
43
43
  "@testing-library/jest-dom": "^6.4.5",
44
44
  "@testing-library/react": "^16.0.1",
45
45
  "@testing-library/user-event": "^14.5.2",
package/src/Tag/README.md CHANGED
@@ -15,7 +15,7 @@ type: example
15
15
 
16
16
  When the `dismissible` prop is added to a clickable Tag, the button
17
17
  renders an X/close icon (the Tag should be dismissed via the `onClick`
18
- prop).
18
+ prop). When implementing dismissable tags, be sure to add [AccessibleContent](#AccessibleContent) to clarify that the tag is dismissible to screen readers.
19
19
 
20
20
  ```js
21
21
  ---
package/src/Tag/props.ts CHANGED
@@ -42,6 +42,10 @@ import type {
42
42
  type TagOwnProps = {
43
43
  className?: string
44
44
  text: string | React.ReactNode
45
+ /**
46
+ * @deprecated since version 10
47
+ * Use of the title attribute is highly problematic due to accessibility concerns
48
+ */
45
49
  title?: string
46
50
  /**
47
51
  * Whether or not to disable the tag