@instructure/ui-billboard 8.46.2-snapshot-5 → 8.46.2-snapshot-7
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/Billboard/__new-tests__/Billboard.test.js +1 -1
- package/lib/Billboard/__new-tests__/Billboard.test.js +1 -1
- package/lib/Billboard/index.js +2 -4
- package/lib/Billboard/props.js +2 -4
- package/lib/Billboard/styles.js +1 -2
- package/lib/Billboard/theme.js +1 -2
- package/package.json +16 -16
- package/src/Billboard/__new-tests__/Billboard.test.tsx +1 -1
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/Billboard/__new-tests__/Billboard.test.d.ts +1 -1
- package/types/Billboard/__new-tests__/Billboard.test.d.ts.map +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
|
-
## [8.46.2-snapshot-
|
|
6
|
+
## [8.46.2-snapshot-7](https://github.com/instructure/instructure-ui/compare/v8.46.1...v8.46.2-snapshot-7) (2023-10-20)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @instructure/ui-billboard
|
|
9
9
|
|
|
@@ -26,7 +26,7 @@ var _IconUserLine, _Billboard, _Billboard2, _Billboard3, _Billboard4, _span, _sp
|
|
|
26
26
|
import React from 'react';
|
|
27
27
|
import { fireEvent, render, screen } from '@testing-library/react';
|
|
28
28
|
import userEvent from '@testing-library/user-event';
|
|
29
|
-
import '@testing-library/jest-dom
|
|
29
|
+
import '@testing-library/jest-dom';
|
|
30
30
|
import { Billboard } from '../index';
|
|
31
31
|
import { IconUserLine } from '@instructure/ui-icons';
|
|
32
32
|
import { runAxeCheck } from '@instructure/ui-axe-check';
|
|
@@ -4,7 +4,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
var _react = _interopRequireDefault(require("react"));
|
|
5
5
|
var _react2 = require("@testing-library/react");
|
|
6
6
|
var _userEvent = _interopRequireDefault(require("@testing-library/user-event"));
|
|
7
|
-
require("@testing-library/jest-dom
|
|
7
|
+
require("@testing-library/jest-dom");
|
|
8
8
|
var _index = require("../index");
|
|
9
9
|
var _IconUserLine2 = require("@instructure/ui-icons/lib/IconUserLine.js");
|
|
10
10
|
var _runAxeCheck = require("@instructure/ui-axe-check/lib/runAxeCheck.js");
|
package/lib/Billboard/index.js
CHANGED
|
@@ -46,7 +46,7 @@ category: components
|
|
|
46
46
|
---
|
|
47
47
|
@tsProps
|
|
48
48
|
**/
|
|
49
|
-
let Billboard = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = (_class2 = class Billboard extends _react.Component {
|
|
49
|
+
let Billboard = exports.Billboard = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = (_class2 = class Billboard extends _react.Component {
|
|
50
50
|
constructor(...args) {
|
|
51
51
|
super(...args);
|
|
52
52
|
this.ref = null;
|
|
@@ -155,6 +155,4 @@ let Billboard = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default)
|
|
|
155
155
|
as: 'span',
|
|
156
156
|
elementRef: () => {}
|
|
157
157
|
}, _class2)) || _class);
|
|
158
|
-
exports.
|
|
159
|
-
var _default = Billboard;
|
|
160
|
-
exports.default = _default;
|
|
158
|
+
var _default = exports.default = Billboard;
|
package/lib/Billboard/props.js
CHANGED
|
@@ -31,7 +31,7 @@ var _emotion = require("@instructure/emotion");
|
|
|
31
31
|
* SOFTWARE.
|
|
32
32
|
*/
|
|
33
33
|
|
|
34
|
-
const propTypes = {
|
|
34
|
+
const propTypes = exports.propTypes = {
|
|
35
35
|
hero: _propTypes.default.oneOfType([_propTypes.default.element, _propTypes.default.func]),
|
|
36
36
|
size: _propTypes.default.oneOf(['small', 'medium', 'large']),
|
|
37
37
|
as: _propTypes.default.elementType,
|
|
@@ -46,6 +46,4 @@ const propTypes = {
|
|
|
46
46
|
readOnly: _propTypes.default.bool,
|
|
47
47
|
margin: _emotion.ThemeablePropTypes.spacing
|
|
48
48
|
};
|
|
49
|
-
exports.
|
|
50
|
-
const allowedProps = ['hero', 'size', 'as', 'elementRef', 'heading', 'headingAs', 'headingLevel', 'message', 'onClick', 'href', 'disabled', 'readOnly', 'margin'];
|
|
51
|
-
exports.allowedProps = allowedProps;
|
|
49
|
+
const allowedProps = exports.allowedProps = ['hero', 'size', 'as', 'elementRef', 'heading', 'headingAs', 'headingLevel', 'message', 'onClick', 'href', 'disabled', 'readOnly', 'margin'];
|
package/lib/Billboard/styles.js
CHANGED
package/lib/Billboard/theme.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-billboard",
|
|
3
|
-
"version": "8.46.2-snapshot-
|
|
3
|
+
"version": "8.46.2-snapshot-7",
|
|
4
4
|
"description": "A UI component to display empty states, 404 pages, redirects, etc.",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"module": "./es/index.js",
|
|
@@ -23,24 +23,24 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@instructure/ui-axe-check": "8.46.2-snapshot-
|
|
27
|
-
"@instructure/ui-babel-preset": "8.46.2-snapshot-
|
|
28
|
-
"@instructure/ui-color-utils": "8.46.2-snapshot-
|
|
29
|
-
"@instructure/ui-icons": "8.46.2-snapshot-
|
|
30
|
-
"@instructure/ui-test-utils": "8.46.2-snapshot-
|
|
31
|
-
"@instructure/ui-themes": "8.46.2-snapshot-
|
|
32
|
-
"@testing-library/jest-dom": "^
|
|
26
|
+
"@instructure/ui-axe-check": "8.46.2-snapshot-7",
|
|
27
|
+
"@instructure/ui-babel-preset": "8.46.2-snapshot-7",
|
|
28
|
+
"@instructure/ui-color-utils": "8.46.2-snapshot-7",
|
|
29
|
+
"@instructure/ui-icons": "8.46.2-snapshot-7",
|
|
30
|
+
"@instructure/ui-test-utils": "8.46.2-snapshot-7",
|
|
31
|
+
"@instructure/ui-themes": "8.46.2-snapshot-7",
|
|
32
|
+
"@testing-library/jest-dom": "^6.1.4",
|
|
33
33
|
"@testing-library/react": "^14.0.0",
|
|
34
|
-
"@testing-library/user-event": "^14.
|
|
34
|
+
"@testing-library/user-event": "^14.5.1"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@babel/runtime": "^7.
|
|
38
|
-
"@instructure/emotion": "8.46.2-snapshot-
|
|
39
|
-
"@instructure/shared-types": "8.46.2-snapshot-
|
|
40
|
-
"@instructure/ui-heading": "8.46.2-snapshot-
|
|
41
|
-
"@instructure/ui-img": "8.46.2-snapshot-
|
|
42
|
-
"@instructure/ui-react-utils": "8.46.2-snapshot-
|
|
43
|
-
"@instructure/ui-view": "8.46.2-snapshot-
|
|
37
|
+
"@babel/runtime": "^7.23.2",
|
|
38
|
+
"@instructure/emotion": "8.46.2-snapshot-7",
|
|
39
|
+
"@instructure/shared-types": "8.46.2-snapshot-7",
|
|
40
|
+
"@instructure/ui-heading": "8.46.2-snapshot-7",
|
|
41
|
+
"@instructure/ui-img": "8.46.2-snapshot-7",
|
|
42
|
+
"@instructure/ui-react-utils": "8.46.2-snapshot-7",
|
|
43
|
+
"@instructure/ui-view": "8.46.2-snapshot-7",
|
|
44
44
|
"prop-types": "^15.8.1"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
import React from 'react'
|
|
26
26
|
import { fireEvent, render, screen } from '@testing-library/react'
|
|
27
27
|
import userEvent from '@testing-library/user-event'
|
|
28
|
-
import '@testing-library/jest-dom
|
|
28
|
+
import '@testing-library/jest-dom'
|
|
29
29
|
|
|
30
30
|
import { Billboard } from '../index'
|
|
31
31
|
import { IconUserLine } from '@instructure/ui-icons'
|