@instructure/ui-link 11.7.4-snapshot-11 → 11.7.4-snapshot-49

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
- ## [11.7.4-snapshot-11](https://github.com/instructure/instructure-ui/compare/v11.7.3...v11.7.4-snapshot-11) (2026-05-19)
6
+ ## [11.7.4-snapshot-49](https://github.com/instructure/instructure-ui/compare/v11.7.3...v11.7.4-snapshot-49) (2026-06-17)
7
7
 
8
8
 
9
9
  ### Features
package/LICENSE.md CHANGED
@@ -2,6 +2,7 @@
2
2
  title: The MIT License (MIT)
3
3
  category: Getting Started
4
4
  order: 9
5
+ isWIP: true
5
6
  ---
6
7
 
7
8
  # The MIT License (MIT)
@@ -31,9 +31,9 @@ import { getElementType, getInteraction, matchComponentTypes, passthroughProps,
31
31
  import { combineDataCid } from '@instructure/ui-utils';
32
32
  import { logWarn as warn } from '@instructure/console';
33
33
  import { withStyle } from '@instructure/emotion';
34
- import generateStyle from "./styles.js";
35
- import generateComponentTheme from "./theme.js";
36
- import { allowedProps } from "./props.js";
34
+ import generateStyle from './styles.js';
35
+ import generateComponentTheme from './theme.js';
36
+ import { allowedProps } from './props.js';
37
37
  import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
38
38
  /**
39
39
  ---
@@ -41,7 +41,7 @@ category: components
41
41
  ---
42
42
  **/
43
43
  let Link = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = class Link extends Component {
44
- static displayName = "Link";
44
+ static displayName = 'Link';
45
45
  static componentId = 'Link';
46
46
  static allowedProps = allowedProps;
47
47
  static defaultProps = {
@@ -32,8 +32,8 @@ import { combineDataCid } from '@instructure/ui-utils';
32
32
  import { logWarn as warn } from '@instructure/console';
33
33
  import { renderIconWithProps } from '@instructure/ui-icons';
34
34
  import { withStyleNew } from '@instructure/emotion';
35
- import generateStyle from "./styles.js";
36
- import { allowedProps } from "./props.js";
35
+ import generateStyle from './styles.js';
36
+ import { allowedProps } from './props.js';
37
37
  import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
38
38
  /**
39
39
  ---
@@ -41,7 +41,7 @@ category: components
41
41
  ---
42
42
  **/
43
43
  let Link = (_dec = withStyleNew(generateStyle), _dec(_class = class Link extends Component {
44
- static displayName = "Link";
44
+ static displayName = 'Link';
45
45
  static componentId = 'Link';
46
46
  static allowedProps = allowedProps;
47
47
  static defaultProps = {
package/es/exports/a.js CHANGED
@@ -21,4 +21,5 @@
21
21
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
22
  * SOFTWARE.
23
23
  */
24
- export { Link } from "../Link/v1/index.js";
24
+
25
+ export { Link } from '../Link/v1/index.js';
package/es/exports/b.js CHANGED
@@ -21,4 +21,5 @@
21
21
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
22
  * SOFTWARE.
23
23
  */
24
- export { Link } from "../Link/v2/index.js";
24
+
25
+ export { Link } from '../Link/v2/index.js';
@@ -18,9 +18,9 @@ var _callRenderProp = require("@instructure/ui-react-utils/lib/callRenderProp.js
18
18
  var _combineDataCid = require("@instructure/ui-utils/lib/combineDataCid.js");
19
19
  var _console = require("@instructure/console");
20
20
  var _emotion = require("@instructure/emotion");
21
- var _styles = _interopRequireDefault(require("./styles"));
22
- var _theme = _interopRequireDefault(require("./theme"));
23
- var _props = require("./props");
21
+ var _styles = _interopRequireDefault(require("./styles.js"));
22
+ var _theme = _interopRequireDefault(require("./theme.js"));
23
+ var _props = require("./props.js");
24
24
  var _jsxRuntime = require("@emotion/react/jsx-runtime");
25
25
  var _dec, _class;
26
26
  /*
@@ -52,7 +52,7 @@ category: components
52
52
  ---
53
53
  **/
54
54
  let Link = exports.Link = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = class Link extends _react.Component {
55
- static displayName = "Link";
55
+ static displayName = 'Link';
56
56
  static componentId = 'Link';
57
57
  static allowedProps = _props.allowedProps;
58
58
  static defaultProps = {
@@ -18,8 +18,8 @@ var _combineDataCid = require("@instructure/ui-utils/lib/combineDataCid.js");
18
18
  var _console = require("@instructure/console");
19
19
  var _renderIconWithProps = require("@instructure/ui-icons/lib/IconPropsProvider/renderIconWithProps.js");
20
20
  var _emotion = require("@instructure/emotion");
21
- var _styles = _interopRequireDefault(require("./styles"));
22
- var _props = require("./props");
21
+ var _styles = _interopRequireDefault(require("./styles.js"));
22
+ var _props = require("./props.js");
23
23
  var _jsxRuntime = require("@emotion/react/jsx-runtime");
24
24
  var _dec, _class;
25
25
  /*
@@ -51,7 +51,7 @@ category: components
51
51
  ---
52
52
  **/
53
53
  let Link = exports.Link = (_dec = (0, _emotion.withStyleNew)(_styles.default), _dec(_class = class Link extends _react.Component {
54
- static displayName = "Link";
54
+ static displayName = 'Link';
55
55
  static componentId = 'Link';
56
56
  static allowedProps = _props.allowedProps;
57
57
  static defaultProps = {
package/lib/exports/a.js CHANGED
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  Object.defineProperty(exports, "Link", {
7
7
  enumerable: true,
8
8
  get: function () {
9
- return _v.Link;
9
+ return _index.Link;
10
10
  }
11
11
  });
12
- var _v = require("../Link/v1");
12
+ var _index = require("../Link/v1/index.js");
package/lib/exports/b.js CHANGED
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  Object.defineProperty(exports, "Link", {
7
7
  enumerable: true,
8
8
  get: function () {
9
- return _v.Link;
9
+ return _index.Link;
10
10
  }
11
11
  });
12
- var _v = require("../Link/v2");
12
+ var _index = require("../Link/v2/index.js");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-link",
3
- "version": "11.7.4-snapshot-11",
3
+ "version": "11.7.4-snapshot-49",
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.2",
18
- "@instructure/console": "11.7.4-snapshot-11",
19
- "@instructure/emotion": "11.7.4-snapshot-11",
20
- "@instructure/shared-types": "11.7.4-snapshot-11",
21
- "@instructure/ui-a11y-utils": "11.7.4-snapshot-11",
22
- "@instructure/ui-color-utils": "11.7.4-snapshot-11",
23
- "@instructure/ui-dom-utils": "11.7.4-snapshot-11",
24
- "@instructure/ui-icons": "11.7.4-snapshot-11",
25
- "@instructure/ui-react-utils": "11.7.4-snapshot-11",
26
- "@instructure/ui-themes": "11.7.4-snapshot-11",
27
- "@instructure/ui-utils": "11.7.4-snapshot-11",
28
- "@instructure/ui-view": "11.7.4-snapshot-11"
18
+ "@instructure/console": "11.7.4-snapshot-49",
19
+ "@instructure/emotion": "11.7.4-snapshot-49",
20
+ "@instructure/ui-a11y-utils": "11.7.4-snapshot-49",
21
+ "@instructure/ui-color-utils": "11.7.4-snapshot-49",
22
+ "@instructure/shared-types": "11.7.4-snapshot-49",
23
+ "@instructure/ui-dom-utils": "11.7.4-snapshot-49",
24
+ "@instructure/ui-icons": "11.7.4-snapshot-49",
25
+ "@instructure/ui-react-utils": "11.7.4-snapshot-49",
26
+ "@instructure/ui-themes": "11.7.4-snapshot-49",
27
+ "@instructure/ui-utils": "11.7.4-snapshot-49",
28
+ "@instructure/ui-view": "11.7.4-snapshot-49"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@testing-library/jest-dom": "^6.6.3",
32
32
  "@testing-library/react": "15.0.7",
33
33
  "@testing-library/user-event": "^14.6.1",
34
34
  "vitest": "^3.2.2",
35
- "@instructure/ui-axe-check": "11.7.4-snapshot-11",
36
- "@instructure/ui-babel-preset": "11.7.4-snapshot-11"
35
+ "@instructure/ui-axe-check": "11.7.4-snapshot-49",
36
+ "@instructure/ui-babel-preset": "11.7.4-snapshot-49"
37
37
  },
38
38
  "peerDependencies": {
39
39
  "react": ">=18 <=19"
@@ -10,24 +10,9 @@ describes: Link
10
10
  ---
11
11
  type: example
12
12
  ---
13
- <div>
14
- <Text>The quick brown fox <Link href="https://instructure.github.io/instructure-ui/"
15
- themeOverride={{
16
- focusOutlineColor: 'pink'
17
- }}>jumps</Link> over the lazy dog.</Text>
18
- <Link color="link-inverse" href="https://instructure.github.io/instructure-ui/">jumps</Link>
19
- </div>
20
- ```
21
-
22
- ```js
23
- ---
24
- type: example
25
- ---
26
- <View background="primary-inverse" as="div">
27
- <Text color="primary-inverse">The quick brown fox <Link color="link-inverse" href="https://instructure.github.io/instructure-ui/" themeOverride={{
28
- focusInverseIconOutlineColor: 'pink'
29
- }}>jumps</Link> over the lazy dog.</Text>
30
- </View>
13
+ <Link href="https://instructure.github.io/instructure-ui/" target="_blank">
14
+ Link text
15
+ </Link>
31
16
  ```
32
17
 
33
18
  ### Controlled navigation
@@ -164,7 +149,7 @@ type: example
164
149
 
165
150
  ### Theme overrides
166
151
 
167
- Examples showing how theme overrides work for Link:
152
+ Examples showing how [theme overrides](legacy-theme-overrides) work for Link:
168
153
 
169
154
  ```js
170
155
  ---
@@ -38,10 +38,10 @@ import { combineDataCid } from '@instructure/ui-utils'
38
38
  import { logWarn as warn } from '@instructure/console'
39
39
 
40
40
  import { withStyle } from '@instructure/emotion'
41
- import generateStyle from './styles'
42
- import generateComponentTheme from './theme'
41
+ import generateStyle from './styles.js'
42
+ import generateComponentTheme from './theme.js'
43
43
 
44
- import { allowedProps } from './props'
44
+ import { allowedProps } from './props.js'
45
45
  import type { LinkProps, LinkState, LinkStyleProps } from './props'
46
46
 
47
47
  import type { ViewOwnProps } from '@instructure/ui-view/v11_6'
@@ -53,6 +53,7 @@ category: components
53
53
  **/
54
54
  @withStyle(generateStyle, generateComponentTheme)
55
55
  class Link extends Component<LinkProps, LinkState> {
56
+ static displayName = 'Link'
56
57
  static readonly componentId = 'Link'
57
58
 
58
59
  static allowedProps = allowedProps
@@ -168,7 +168,7 @@ type: example
168
168
 
169
169
  ### Theme overrides
170
170
 
171
- Examples showing how [theme overrides](using-theme-overrides) work for Link:
171
+ Examples showing how [theme overrides](new-theme-overrides) work for Link:
172
172
 
173
173
  ```js
174
174
  ---
@@ -176,13 +176,11 @@ type: example
176
176
  ---
177
177
  <div>
178
178
  <InstUISettingsProvider
179
- theme={{
180
- newTheme: {
181
- sharedTokens: {
182
- focusOutline: {
183
- infoColor: 'pink',
184
- width: '0.5rem',
185
- }
179
+ themeOverride={{
180
+ sharedTokens: {
181
+ focusOutline: {
182
+ infoColor: 'pink',
183
+ width: '0.5rem'
186
184
  }
187
185
  }
188
186
  }}
@@ -38,9 +38,9 @@ import { logWarn as warn } from '@instructure/console'
38
38
  import { renderIconWithProps } from '@instructure/ui-icons'
39
39
 
40
40
  import { withStyleNew } from '@instructure/emotion'
41
- import generateStyle from './styles'
41
+ import generateStyle from './styles.js'
42
42
 
43
- import { allowedProps } from './props'
43
+ import { allowedProps } from './props.js'
44
44
  import type { LinkProps, LinkState, LinkStyleProps } from './props'
45
45
 
46
46
  import type { ViewOwnProps } from '@instructure/ui-view/latest'
@@ -52,6 +52,7 @@ category: components
52
52
  **/
53
53
  @withStyleNew(generateStyle)
54
54
  class Link extends Component<LinkProps, LinkState> {
55
+ static displayName = 'Link'
55
56
  static readonly componentId = 'Link'
56
57
 
57
58
  static allowedProps = allowedProps
package/src/exports/a.ts CHANGED
@@ -22,5 +22,5 @@
22
22
  * SOFTWARE.
23
23
  */
24
24
 
25
- export { Link } from '../Link/v1'
25
+ export { Link } from '../Link/v1/index.js'
26
26
  export type { LinkProps } from '../Link/v1/props'
package/src/exports/b.ts CHANGED
@@ -22,5 +22,5 @@
22
22
  * SOFTWARE.
23
23
  */
24
24
 
25
- export { Link } from '../Link/v2'
25
+ export { Link } from '../Link/v2/index.js'
26
26
  export type { LinkProps } from '../Link/v2/props'