@instructure/ui-navigation 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/AppNav/props.js +1 -2
- package/lib/AppNav/props.js +1 -2
- package/package.json +25 -25
- package/src/AppNav/props.ts +1 -2
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/AppNav/index.d.ts.map +1 -1
- package/types/AppNav/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/AppNav/props.js
CHANGED
|
@@ -24,7 +24,6 @@
|
|
|
24
24
|
|
|
25
25
|
import PropTypes from 'prop-types';
|
|
26
26
|
import { Children as ChildrenPropTypes } from '@instructure/ui-prop-types';
|
|
27
|
-
import { ThemeablePropTypes } from '@instructure/emotion';
|
|
28
27
|
import { Item } from './Item';
|
|
29
28
|
const propTypes = {
|
|
30
29
|
screenReaderLabel: PropTypes.string.isRequired,
|
|
@@ -32,7 +31,7 @@ const propTypes = {
|
|
|
32
31
|
debounce: PropTypes.number,
|
|
33
32
|
renderBeforeItems: PropTypes.oneOfType([PropTypes.node, PropTypes.func]),
|
|
34
33
|
renderAfterItems: PropTypes.oneOfType([PropTypes.node, PropTypes.func]),
|
|
35
|
-
margin:
|
|
34
|
+
margin: PropTypes.string,
|
|
36
35
|
elementRef: PropTypes.func,
|
|
37
36
|
renderTruncateLabel: PropTypes.oneOfType([PropTypes.node, PropTypes.func]),
|
|
38
37
|
onUpdate: PropTypes.func,
|
package/lib/AppNav/props.js
CHANGED
|
@@ -7,7 +7,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.propTypes = exports.allowedProps = void 0;
|
|
8
8
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
9
9
|
var _Children = require("@instructure/ui-prop-types/lib/Children.js");
|
|
10
|
-
var _emotion = require("@instructure/emotion");
|
|
11
10
|
var _Item = require("./Item");
|
|
12
11
|
/*
|
|
13
12
|
* The MIT License (MIT)
|
|
@@ -39,7 +38,7 @@ const propTypes = exports.propTypes = {
|
|
|
39
38
|
debounce: _propTypes.default.number,
|
|
40
39
|
renderBeforeItems: _propTypes.default.oneOfType([_propTypes.default.node, _propTypes.default.func]),
|
|
41
40
|
renderAfterItems: _propTypes.default.oneOfType([_propTypes.default.node, _propTypes.default.func]),
|
|
42
|
-
margin:
|
|
41
|
+
margin: _propTypes.default.string,
|
|
43
42
|
elementRef: _propTypes.default.func,
|
|
44
43
|
renderTruncateLabel: _propTypes.default.oneOfType([_propTypes.default.node, _propTypes.default.func]),
|
|
45
44
|
onUpdate: _propTypes.default.func,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-navigation",
|
|
3
|
-
"version": "10.15.2-snapshot-
|
|
3
|
+
"version": "10.15.2-snapshot-2",
|
|
4
4
|
"description": "Main and application level navigational components",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"module": "./es/index.js",
|
|
@@ -23,12 +23,12 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@instructure/ui-axe-check": "10.15.2-snapshot-
|
|
27
|
-
"@instructure/ui-babel-preset": "10.15.2-snapshot-
|
|
28
|
-
"@instructure/ui-color-utils": "10.15.2-snapshot-
|
|
29
|
-
"@instructure/ui-scripts": "10.15.2-snapshot-
|
|
30
|
-
"@instructure/ui-test-utils": "10.15.2-snapshot-
|
|
31
|
-
"@instructure/ui-themes": "10.15.2-snapshot-
|
|
26
|
+
"@instructure/ui-axe-check": "10.15.2-snapshot-2",
|
|
27
|
+
"@instructure/ui-babel-preset": "10.15.2-snapshot-2",
|
|
28
|
+
"@instructure/ui-color-utils": "10.15.2-snapshot-2",
|
|
29
|
+
"@instructure/ui-scripts": "10.15.2-snapshot-2",
|
|
30
|
+
"@instructure/ui-test-utils": "10.15.2-snapshot-2",
|
|
31
|
+
"@instructure/ui-themes": "10.15.2-snapshot-2",
|
|
32
32
|
"@testing-library/jest-dom": "^6.6.3",
|
|
33
33
|
"@testing-library/react": "^16.0.1",
|
|
34
34
|
"@testing-library/user-event": "^14.5.2",
|
|
@@ -36,24 +36,24 @@
|
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@babel/runtime": "^7.26.0",
|
|
39
|
-
"@instructure/console": "10.15.2-snapshot-
|
|
40
|
-
"@instructure/debounce": "10.15.2-snapshot-
|
|
41
|
-
"@instructure/emotion": "10.15.2-snapshot-
|
|
42
|
-
"@instructure/shared-types": "10.15.2-snapshot-
|
|
43
|
-
"@instructure/ui-a11y-content": "10.15.2-snapshot-
|
|
44
|
-
"@instructure/ui-a11y-utils": "10.15.2-snapshot-
|
|
45
|
-
"@instructure/ui-badge": "10.15.2-snapshot-
|
|
46
|
-
"@instructure/ui-dom-utils": "10.15.2-snapshot-
|
|
47
|
-
"@instructure/ui-focusable": "10.15.2-snapshot-
|
|
48
|
-
"@instructure/ui-icons": "10.15.2-snapshot-
|
|
49
|
-
"@instructure/ui-menu": "10.15.2-snapshot-
|
|
50
|
-
"@instructure/ui-prop-types": "10.15.2-snapshot-
|
|
51
|
-
"@instructure/ui-react-utils": "10.15.2-snapshot-
|
|
52
|
-
"@instructure/ui-testable": "10.15.2-snapshot-
|
|
53
|
-
"@instructure/ui-tooltip": "10.15.2-snapshot-
|
|
54
|
-
"@instructure/ui-truncate-list": "10.15.2-snapshot-
|
|
55
|
-
"@instructure/ui-utils": "10.15.2-snapshot-
|
|
56
|
-
"@instructure/ui-view": "10.15.2-snapshot-
|
|
39
|
+
"@instructure/console": "10.15.2-snapshot-2",
|
|
40
|
+
"@instructure/debounce": "10.15.2-snapshot-2",
|
|
41
|
+
"@instructure/emotion": "10.15.2-snapshot-2",
|
|
42
|
+
"@instructure/shared-types": "10.15.2-snapshot-2",
|
|
43
|
+
"@instructure/ui-a11y-content": "10.15.2-snapshot-2",
|
|
44
|
+
"@instructure/ui-a11y-utils": "10.15.2-snapshot-2",
|
|
45
|
+
"@instructure/ui-badge": "10.15.2-snapshot-2",
|
|
46
|
+
"@instructure/ui-dom-utils": "10.15.2-snapshot-2",
|
|
47
|
+
"@instructure/ui-focusable": "10.15.2-snapshot-2",
|
|
48
|
+
"@instructure/ui-icons": "10.15.2-snapshot-2",
|
|
49
|
+
"@instructure/ui-menu": "10.15.2-snapshot-2",
|
|
50
|
+
"@instructure/ui-prop-types": "10.15.2-snapshot-2",
|
|
51
|
+
"@instructure/ui-react-utils": "10.15.2-snapshot-2",
|
|
52
|
+
"@instructure/ui-testable": "10.15.2-snapshot-2",
|
|
53
|
+
"@instructure/ui-tooltip": "10.15.2-snapshot-2",
|
|
54
|
+
"@instructure/ui-truncate-list": "10.15.2-snapshot-2",
|
|
55
|
+
"@instructure/ui-utils": "10.15.2-snapshot-2",
|
|
56
|
+
"@instructure/ui-view": "10.15.2-snapshot-2",
|
|
57
57
|
"prop-types": "^15.8.1"
|
|
58
58
|
},
|
|
59
59
|
"peerDependencies": {
|
package/src/AppNav/props.ts
CHANGED
|
@@ -25,7 +25,6 @@ import React from 'react'
|
|
|
25
25
|
import PropTypes from 'prop-types'
|
|
26
26
|
|
|
27
27
|
import { Children as ChildrenPropTypes } from '@instructure/ui-prop-types'
|
|
28
|
-
import { ThemeablePropTypes } from '@instructure/emotion'
|
|
29
28
|
|
|
30
29
|
import { Item } from './Item'
|
|
31
30
|
|
|
@@ -110,7 +109,7 @@ const propTypes: PropValidators<PropKeys> = {
|
|
|
110
109
|
debounce: PropTypes.number,
|
|
111
110
|
renderBeforeItems: PropTypes.oneOfType([PropTypes.node, PropTypes.func]),
|
|
112
111
|
renderAfterItems: PropTypes.oneOfType([PropTypes.node, PropTypes.func]),
|
|
113
|
-
margin:
|
|
112
|
+
margin: PropTypes.string,
|
|
114
113
|
elementRef: PropTypes.func,
|
|
115
114
|
renderTruncateLabel: PropTypes.oneOfType([PropTypes.node, PropTypes.func]),
|
|
116
115
|
onUpdate: PropTypes.func,
|