@instructure/ui-pill 10.0.1-snapshot-13 → 10.0.1-snapshot-14
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 +1 -1
- package/es/Pill/__new-tests__/Pill.test.js +0 -2
- package/es/Pill/props.js +0 -1
- package/lib/Pill/__new-tests__/Pill.test.js +0 -1
- package/lib/Pill/props.js +0 -1
- package/package.json +19 -19
- package/src/Pill/__new-tests__/Pill.test.tsx +0 -1
- package/src/Pill/props.ts +1 -1
- package/tsconfig.build.tsbuildinfo +1 -1
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.0.1-snapshot-
|
|
6
|
+
## [10.0.1-snapshot-14](https://github.com/instructure/instructure-ui/compare/v10.0.0...v10.0.1-snapshot-14) (2024-08-22)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @instructure/ui-pill
|
|
9
9
|
|
|
@@ -26,8 +26,6 @@ var _Pill, _Pill2, _Pill3, _Pill4, _Pill5;
|
|
|
26
26
|
import React from 'react';
|
|
27
27
|
import { render } from '@testing-library/react';
|
|
28
28
|
import '@testing-library/jest-dom';
|
|
29
|
-
|
|
30
|
-
// eslint-disable-next-line no-restricted-imports
|
|
31
29
|
import { runAxeCheck } from '@instructure/ui-axe-check';
|
|
32
30
|
import { Pill } from '../index';
|
|
33
31
|
import { IconEyeLine } from '@instructure/ui-icons';
|
package/es/Pill/props.js
CHANGED
|
@@ -26,7 +26,6 @@ import PropTypes from 'prop-types';
|
|
|
26
26
|
import { ThemeablePropTypes } from '@instructure/emotion';
|
|
27
27
|
const propTypes = {
|
|
28
28
|
as: PropTypes.elementType,
|
|
29
|
-
// eslint-disable-line react/require-default-props
|
|
30
29
|
children: PropTypes.node.isRequired,
|
|
31
30
|
color: PropTypes.oneOf(['primary', 'success', 'danger', 'info', 'warning', 'alert']),
|
|
32
31
|
elementRef: PropTypes.func,
|
|
@@ -31,7 +31,6 @@ var _Pill, _Pill2, _Pill3, _Pill4, _Pill5;
|
|
|
31
31
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
32
32
|
* SOFTWARE.
|
|
33
33
|
*/
|
|
34
|
-
// eslint-disable-next-line no-restricted-imports
|
|
35
34
|
describe('<Pill />', () => {
|
|
36
35
|
it('should render', async () => {
|
|
37
36
|
const _render = (0, _react2.render)(_Pill || (_Pill = /*#__PURE__*/_react.default.createElement(_index.Pill, null, "Overdue"))),
|
package/lib/Pill/props.js
CHANGED
|
@@ -33,7 +33,6 @@ var _emotion = require("@instructure/emotion");
|
|
|
33
33
|
|
|
34
34
|
const propTypes = exports.propTypes = {
|
|
35
35
|
as: _propTypes.default.elementType,
|
|
36
|
-
// eslint-disable-line react/require-default-props
|
|
37
36
|
children: _propTypes.default.node.isRequired,
|
|
38
37
|
color: _propTypes.default.oneOf(['primary', 'success', 'danger', 'info', 'warning', 'alert']),
|
|
39
38
|
elementRef: _propTypes.default.func,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-pill",
|
|
3
|
-
"version": "10.0.1-snapshot-
|
|
3
|
+
"version": "10.0.1-snapshot-14",
|
|
4
4
|
"description": "A UI component to communicate concise status.",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"module": "./es/index.js",
|
|
@@ -24,27 +24,27 @@
|
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@babel/runtime": "^7.24.5",
|
|
27
|
-
"@instructure/console": "10.0.1-snapshot-
|
|
28
|
-
"@instructure/emotion": "10.0.1-snapshot-
|
|
29
|
-
"@instructure/shared-types": "10.0.1-snapshot-
|
|
30
|
-
"@instructure/ui-react-utils": "10.0.1-snapshot-
|
|
31
|
-
"@instructure/ui-testable": "10.0.1-snapshot-
|
|
32
|
-
"@instructure/ui-tooltip": "10.0.1-snapshot-
|
|
33
|
-
"@instructure/ui-truncate-text": "10.0.1-snapshot-
|
|
34
|
-
"@instructure/ui-utils": "10.0.1-snapshot-
|
|
35
|
-
"@instructure/ui-view": "10.0.1-snapshot-
|
|
27
|
+
"@instructure/console": "10.0.1-snapshot-14",
|
|
28
|
+
"@instructure/emotion": "10.0.1-snapshot-14",
|
|
29
|
+
"@instructure/shared-types": "10.0.1-snapshot-14",
|
|
30
|
+
"@instructure/ui-react-utils": "10.0.1-snapshot-14",
|
|
31
|
+
"@instructure/ui-testable": "10.0.1-snapshot-14",
|
|
32
|
+
"@instructure/ui-tooltip": "10.0.1-snapshot-14",
|
|
33
|
+
"@instructure/ui-truncate-text": "10.0.1-snapshot-14",
|
|
34
|
+
"@instructure/ui-utils": "10.0.1-snapshot-14",
|
|
35
|
+
"@instructure/ui-view": "10.0.1-snapshot-14",
|
|
36
36
|
"prop-types": "^15.8.1"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@instructure/ui-axe-check": "10.0.1-snapshot-
|
|
40
|
-
"@instructure/ui-babel-preset": "10.0.1-snapshot-
|
|
41
|
-
"@instructure/ui-color-utils": "10.0.1-snapshot-
|
|
42
|
-
"@instructure/ui-icons": "10.0.1-snapshot-
|
|
43
|
-
"@instructure/ui-scripts": "10.0.1-snapshot-
|
|
44
|
-
"@instructure/ui-test-locator": "10.0.1-snapshot-
|
|
45
|
-
"@instructure/ui-test-queries": "10.0.1-snapshot-
|
|
46
|
-
"@instructure/ui-test-utils": "10.0.1-snapshot-
|
|
47
|
-
"@instructure/ui-themes": "10.0.1-snapshot-
|
|
39
|
+
"@instructure/ui-axe-check": "10.0.1-snapshot-14",
|
|
40
|
+
"@instructure/ui-babel-preset": "10.0.1-snapshot-14",
|
|
41
|
+
"@instructure/ui-color-utils": "10.0.1-snapshot-14",
|
|
42
|
+
"@instructure/ui-icons": "10.0.1-snapshot-14",
|
|
43
|
+
"@instructure/ui-scripts": "10.0.1-snapshot-14",
|
|
44
|
+
"@instructure/ui-test-locator": "10.0.1-snapshot-14",
|
|
45
|
+
"@instructure/ui-test-queries": "10.0.1-snapshot-14",
|
|
46
|
+
"@instructure/ui-test-utils": "10.0.1-snapshot-14",
|
|
47
|
+
"@instructure/ui-themes": "10.0.1-snapshot-14",
|
|
48
48
|
"@testing-library/jest-dom": "^6.4.6",
|
|
49
49
|
"@testing-library/react": "^15.0.7",
|
|
50
50
|
"vitest": "^2.0.2"
|
|
@@ -26,7 +26,6 @@ import React from 'react'
|
|
|
26
26
|
import { render } from '@testing-library/react'
|
|
27
27
|
import '@testing-library/jest-dom'
|
|
28
28
|
|
|
29
|
-
// eslint-disable-next-line no-restricted-imports
|
|
30
29
|
import { runAxeCheck } from '@instructure/ui-axe-check'
|
|
31
30
|
import { Pill } from '../index'
|
|
32
31
|
import { IconEyeLine } from '@instructure/ui-icons'
|
package/src/Pill/props.ts
CHANGED
|
@@ -76,7 +76,7 @@ type PillStyle = ComponentStyle<
|
|
|
76
76
|
>
|
|
77
77
|
|
|
78
78
|
const propTypes: PropValidators<PropKeys> = {
|
|
79
|
-
as: PropTypes.elementType,
|
|
79
|
+
as: PropTypes.elementType,
|
|
80
80
|
children: PropTypes.node.isRequired,
|
|
81
81
|
color: PropTypes.oneOf([
|
|
82
82
|
'primary',
|