@instructure/ui-link 11.7.4-snapshot-102 → 11.7.4-snapshot-105

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,12 +3,13 @@
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.4-snapshot-102](https://github.com/instructure/instructure-ui/compare/v11.7.3...v11.7.4-snapshot-102) (2026-07-14)
6
+ ## [11.7.4-snapshot-105](https://github.com/instructure/instructure-ui/compare/v11.7.3...v11.7.4-snapshot-105) (2026-07-15)
7
7
 
8
8
 
9
9
  ### Features
10
10
 
11
11
  * **many:** remove deprecated v2 items ([eaf8876](https://github.com/instructure/instructure-ui/commit/eaf88767c9beb95c4e09ee5705c387dfd79e4cb7))
12
+ * **many:** support current spacing tokens in the margin prop for v2 components ([1b47c5f](https://github.com/instructure/instructure-ui/commit/1b47c5f23eaa60b532cdfd53c39bd71f0cf51aaa))
12
13
 
13
14
 
14
15
  ### BREAKING CHANGES
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-link",
3
- "version": "11.7.4-snapshot-102",
3
+ "version": "11.7.4-snapshot-105",
4
4
  "description": "A component for creating links",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "module": "./es/index.js",
@@ -15,25 +15,25 @@
15
15
  "license": "MIT",
16
16
  "dependencies": {
17
17
  "@babel/runtime": "^7.29.7",
18
- "@instructure/console": "11.7.4-snapshot-102",
19
- "@instructure/ui-a11y-utils": "11.7.4-snapshot-102",
20
- "@instructure/ui-dom-utils": "11.7.4-snapshot-102",
21
- "@instructure/ui-color-utils": "11.7.4-snapshot-102",
22
- "@instructure/shared-types": "11.7.4-snapshot-102",
23
- "@instructure/emotion": "11.7.4-snapshot-102",
24
- "@instructure/ui-icons": "11.7.4-snapshot-102",
25
- "@instructure/ui-themes": "11.7.4-snapshot-102",
26
- "@instructure/ui-utils": "11.7.4-snapshot-102",
27
- "@instructure/ui-react-utils": "11.7.4-snapshot-102",
28
- "@instructure/ui-view": "11.7.4-snapshot-102"
18
+ "@instructure/console": "11.7.4-snapshot-105",
19
+ "@instructure/shared-types": "11.7.4-snapshot-105",
20
+ "@instructure/ui-a11y-utils": "11.7.4-snapshot-105",
21
+ "@instructure/ui-color-utils": "11.7.4-snapshot-105",
22
+ "@instructure/emotion": "11.7.4-snapshot-105",
23
+ "@instructure/ui-dom-utils": "11.7.4-snapshot-105",
24
+ "@instructure/ui-icons": "11.7.4-snapshot-105",
25
+ "@instructure/ui-react-utils": "11.7.4-snapshot-105",
26
+ "@instructure/ui-themes": "11.7.4-snapshot-105",
27
+ "@instructure/ui-utils": "11.7.4-snapshot-105",
28
+ "@instructure/ui-view": "11.7.4-snapshot-105"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@testing-library/jest-dom": "^6.9.1",
32
32
  "@testing-library/react": "16.3.2",
33
33
  "@testing-library/user-event": "^14.6.1",
34
34
  "vitest": "^4.1.9",
35
- "@instructure/ui-axe-check": "11.7.4-snapshot-102",
36
- "@instructure/ui-babel-preset": "11.7.4-snapshot-102"
35
+ "@instructure/ui-babel-preset": "11.7.4-snapshot-105",
36
+ "@instructure/ui-axe-check": "11.7.4-snapshot-105"
37
37
  },
38
38
  "peerDependencies": {
39
39
  "react": ">=18 <=19"
@@ -107,7 +107,7 @@ to add margin to the top or bottom of Link, wrap it inside a `<View />`.
107
107
  ---
108
108
  type: example
109
109
  ---
110
- <Text>The quick brown fox <Link href="https://instructure.github.io/instructure-ui/" margin="0 small">jumps</Link> over the lazy dog.</Text>
110
+ <Text>The quick brown fox <Link href="https://instructure.github.io/instructure-ui/" margin="0 general.spaceMd">jumps</Link> over the lazy dog.</Text>
111
111
  ```
112
112
 
113
113
  ### Truncating text
@@ -138,12 +138,12 @@ render a Link with just an icon. Don't forget to add text for screen readers, th
138
138
  type: example
139
139
  ---
140
140
  <div>
141
- <View as="div" margin="0 0 small">
141
+ <View as="div" margin="0 0 general.spaceMd">
142
142
  <Text>
143
143
  <Link href="https://instructure.design" renderIcon={<DiamondInstUIIcon />}>Icon before text</Link> with the quick brown fox
144
144
  </Text>
145
145
  </View>
146
- <View as="div" margin="0 0 small">
146
+ <View as="div" margin="0 0 general.spaceMd">
147
147
  <Text>
148
148
  This Link has an icon and displays inline with text.
149
149
  <Link
@@ -82,7 +82,7 @@ type LinkOwnProps = {
82
82
  /**
83
83
  * Valid values are `0`, `none`, `auto`, and Spacing token values,
84
84
  * see https://instructure.design/layout-spacing. Apply these values via
85
- * familiar CSS-like shorthand. For example, `margin="small auto large"`.
85
+ * familiar CSS-like shorthand. For example, `margin="general.spaceMd auto"`.
86
86
  */
87
87
  margin?: Spacing
88
88