@instructure/ui-link 10.15.2-snapshot-0 → 10.15.2-snapshot-2
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 +5 -2
- package/es/Link/props.js +1 -2
- package/lib/Link/props.js +1 -2
- package/package.json +16 -16
- package/src/Link/props.ts +1 -3
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/Link/index.d.ts.map +1 -1
- package/types/Link/props.d.ts.map +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,9 +3,12 @@
|
|
|
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.15.2-snapshot-
|
|
6
|
+
## [10.15.2-snapshot-2](https://github.com/instructure/instructure-ui/compare/v10.15.1...v10.15.2-snapshot-2) (2025-04-04)
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* update PropTypes to align with the new spacing tokens ([223d55b](https://github.com/instructure/instructure-ui/commit/223d55bad95e2a3a8b298d622e5b1d0fbab6b289))
|
|
9
12
|
|
|
10
13
|
|
|
11
14
|
|
package/es/Link/props.js
CHANGED
|
@@ -23,7 +23,6 @@
|
|
|
23
23
|
*/
|
|
24
24
|
|
|
25
25
|
import PropTypes from 'prop-types';
|
|
26
|
-
import { ThemeablePropTypes } from '@instructure/emotion';
|
|
27
26
|
const propTypes = {
|
|
28
27
|
children: PropTypes.node.isRequired,
|
|
29
28
|
href: PropTypes.string,
|
|
@@ -33,7 +32,7 @@ const propTypes = {
|
|
|
33
32
|
role: PropTypes.string,
|
|
34
33
|
forceButtonRole: PropTypes.bool,
|
|
35
34
|
interaction: PropTypes.oneOf(['enabled', 'disabled']),
|
|
36
|
-
margin:
|
|
35
|
+
margin: PropTypes.string,
|
|
37
36
|
renderIcon: PropTypes.oneOfType([PropTypes.func, PropTypes.node]),
|
|
38
37
|
iconPlacement: PropTypes.oneOf(['start', 'end']),
|
|
39
38
|
display: PropTypes.oneOf(['auto', 'block', 'inline-block', 'flex', 'inline-flex']),
|
package/lib/Link/props.js
CHANGED
|
@@ -6,7 +6,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.propTypes = exports.allowedProps = void 0;
|
|
8
8
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
9
|
-
var _emotion = require("@instructure/emotion");
|
|
10
9
|
/*
|
|
11
10
|
* The MIT License (MIT)
|
|
12
11
|
*
|
|
@@ -40,7 +39,7 @@ const propTypes = exports.propTypes = {
|
|
|
40
39
|
role: _propTypes.default.string,
|
|
41
40
|
forceButtonRole: _propTypes.default.bool,
|
|
42
41
|
interaction: _propTypes.default.oneOf(['enabled', 'disabled']),
|
|
43
|
-
margin:
|
|
42
|
+
margin: _propTypes.default.string,
|
|
44
43
|
renderIcon: _propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.node]),
|
|
45
44
|
iconPlacement: _propTypes.default.oneOf(['start', 'end']),
|
|
46
45
|
display: _propTypes.default.oneOf(['auto', 'block', 'inline-block', 'flex', 'inline-flex']),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-link",
|
|
3
|
-
"version": "10.15.2-snapshot-
|
|
3
|
+
"version": "10.15.2-snapshot-2",
|
|
4
4
|
"description": "A component for creating links",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"module": "./es/index.js",
|
|
@@ -24,24 +24,24 @@
|
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@babel/runtime": "^7.26.0",
|
|
27
|
-
"@instructure/console": "10.15.2-snapshot-
|
|
28
|
-
"@instructure/emotion": "10.15.2-snapshot-
|
|
29
|
-
"@instructure/shared-types": "10.15.2-snapshot-
|
|
30
|
-
"@instructure/ui-a11y-utils": "10.15.2-snapshot-
|
|
31
|
-
"@instructure/ui-color-utils": "10.15.2-snapshot-
|
|
32
|
-
"@instructure/ui-dom-utils": "10.15.2-snapshot-
|
|
33
|
-
"@instructure/ui-icons": "10.15.2-snapshot-
|
|
34
|
-
"@instructure/ui-prop-types": "10.15.2-snapshot-
|
|
35
|
-
"@instructure/ui-react-utils": "10.15.2-snapshot-
|
|
36
|
-
"@instructure/ui-testable": "10.15.2-snapshot-
|
|
37
|
-
"@instructure/ui-view": "10.15.2-snapshot-
|
|
27
|
+
"@instructure/console": "10.15.2-snapshot-2",
|
|
28
|
+
"@instructure/emotion": "10.15.2-snapshot-2",
|
|
29
|
+
"@instructure/shared-types": "10.15.2-snapshot-2",
|
|
30
|
+
"@instructure/ui-a11y-utils": "10.15.2-snapshot-2",
|
|
31
|
+
"@instructure/ui-color-utils": "10.15.2-snapshot-2",
|
|
32
|
+
"@instructure/ui-dom-utils": "10.15.2-snapshot-2",
|
|
33
|
+
"@instructure/ui-icons": "10.15.2-snapshot-2",
|
|
34
|
+
"@instructure/ui-prop-types": "10.15.2-snapshot-2",
|
|
35
|
+
"@instructure/ui-react-utils": "10.15.2-snapshot-2",
|
|
36
|
+
"@instructure/ui-testable": "10.15.2-snapshot-2",
|
|
37
|
+
"@instructure/ui-view": "10.15.2-snapshot-2",
|
|
38
38
|
"prop-types": "^15.8.1"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@instructure/ui-axe-check": "10.15.2-snapshot-
|
|
42
|
-
"@instructure/ui-babel-preset": "10.15.2-snapshot-
|
|
43
|
-
"@instructure/ui-test-utils": "10.15.2-snapshot-
|
|
44
|
-
"@instructure/ui-themes": "10.15.2-snapshot-
|
|
41
|
+
"@instructure/ui-axe-check": "10.15.2-snapshot-2",
|
|
42
|
+
"@instructure/ui-babel-preset": "10.15.2-snapshot-2",
|
|
43
|
+
"@instructure/ui-test-utils": "10.15.2-snapshot-2",
|
|
44
|
+
"@instructure/ui-themes": "10.15.2-snapshot-2",
|
|
45
45
|
"@testing-library/jest-dom": "^6.6.3",
|
|
46
46
|
"@testing-library/react": "^16.0.1",
|
|
47
47
|
"@testing-library/user-event": "^14.5.2",
|
package/src/Link/props.ts
CHANGED
|
@@ -25,8 +25,6 @@
|
|
|
25
25
|
import React from 'react'
|
|
26
26
|
import PropTypes from 'prop-types'
|
|
27
27
|
|
|
28
|
-
import { ThemeablePropTypes } from '@instructure/emotion'
|
|
29
|
-
|
|
30
28
|
import type {
|
|
31
29
|
ToProp,
|
|
32
30
|
AsElementType,
|
|
@@ -162,7 +160,7 @@ const propTypes: PropValidators<PropKeys> = {
|
|
|
162
160
|
role: PropTypes.string,
|
|
163
161
|
forceButtonRole: PropTypes.bool,
|
|
164
162
|
interaction: PropTypes.oneOf(['enabled', 'disabled']),
|
|
165
|
-
margin:
|
|
163
|
+
margin: PropTypes.string,
|
|
166
164
|
renderIcon: PropTypes.oneOfType([PropTypes.func, PropTypes.node]),
|
|
167
165
|
iconPlacement: PropTypes.oneOf(['start', 'end']),
|
|
168
166
|
display: PropTypes.oneOf([
|