@instructure/ui-billboard 11.7.3 → 11.7.4-pr-snapshot-1781695314229
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 +8 -0
- package/LICENSE.md +1 -0
- package/{lib/Billboard/v2/props.js → babel.config.cjs} +12 -7
- package/es/Billboard/v1/index.js +4 -4
- package/es/Billboard/v2/index.js +3 -3
- package/es/exports/a.js +1 -1
- package/es/exports/b.js +1 -1
- package/package.json +14 -19
- package/src/Billboard/v1/index.tsx +4 -3
- package/src/Billboard/v2/index.tsx +3 -2
- package/src/exports/a.ts +1 -1
- package/src/exports/b.ts +1 -1
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/Billboard/v1/index.d.ts +1 -0
- package/types/Billboard/v1/index.d.ts.map +1 -1
- package/types/Billboard/v2/index.d.ts +2 -1
- package/types/Billboard/v2/index.d.ts.map +1 -1
- package/types/exports/a.d.ts +1 -1
- package/types/exports/a.d.ts.map +1 -1
- package/types/exports/b.d.ts +1 -1
- package/types/exports/b.d.ts.map +1 -1
- package/lib/Billboard/v1/index.js +0 -170
- package/lib/Billboard/v1/props.js +0 -31
- package/lib/Billboard/v1/styles.js +0 -181
- package/lib/Billboard/v1/theme.js +0 -82
- package/lib/Billboard/v2/index.js +0 -202
- package/lib/Billboard/v2/styles.js +0 -177
- package/lib/exports/a.js +0 -12
- package/lib/exports/b.js +0 -12
- package/lib/package.json +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
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-pr-snapshot-1781695314229](https://github.com/instructure/instructure-ui/compare/v11.7.3...v11.7.4-pr-snapshot-1781695314229) (2026-06-17)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @instructure/ui-billboard
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [11.7.3](https://github.com/instructure/instructure-ui/compare/v11.7.2...v11.7.3) (2026-05-07)
|
|
7
15
|
|
|
8
16
|
|
package/LICENSE.md
CHANGED
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.allowedProps = void 0;
|
|
7
1
|
/*
|
|
8
2
|
* The MIT License (MIT)
|
|
9
3
|
*
|
|
@@ -28,4 +22,15 @@ exports.allowedProps = void 0;
|
|
|
28
22
|
* SOFTWARE.
|
|
29
23
|
*/
|
|
30
24
|
|
|
31
|
-
|
|
25
|
+
module.exports = {
|
|
26
|
+
presets: [
|
|
27
|
+
[
|
|
28
|
+
require('@instructure/ui-babel-preset'),
|
|
29
|
+
{
|
|
30
|
+
esModules: Boolean(process.env.ES_MODULES),
|
|
31
|
+
removeConsole: process.env.NODE_ENV === 'production',
|
|
32
|
+
transformImports: Boolean(process.env.TRANSFORM_IMPORTS)
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
]
|
|
36
|
+
}
|
package/es/Billboard/v1/index.js
CHANGED
|
@@ -28,9 +28,9 @@ import { Heading } from '@instructure/ui-heading/v11_6';
|
|
|
28
28
|
import { View } from '@instructure/ui-view/v11_6';
|
|
29
29
|
import { omitProps, callRenderProp, getElementType } from '@instructure/ui-react-utils';
|
|
30
30
|
import { withStyle } from '@instructure/emotion';
|
|
31
|
-
import generateStyle from
|
|
32
|
-
import generateComponentTheme from
|
|
33
|
-
import { allowedProps } from
|
|
31
|
+
import generateStyle from './styles.js';
|
|
32
|
+
import generateComponentTheme from './theme.js';
|
|
33
|
+
import { allowedProps } from './props.js';
|
|
34
34
|
import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
|
35
35
|
/**
|
|
36
36
|
---
|
|
@@ -38,7 +38,7 @@ category: components
|
|
|
38
38
|
---
|
|
39
39
|
**/
|
|
40
40
|
let Billboard = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = class Billboard extends Component {
|
|
41
|
-
static displayName =
|
|
41
|
+
static displayName = 'Billboard';
|
|
42
42
|
static componentId = 'Billboard';
|
|
43
43
|
static allowedProps = allowedProps;
|
|
44
44
|
static defaultProps = {
|
package/es/Billboard/v2/index.js
CHANGED
|
@@ -29,8 +29,8 @@ import { View } from '@instructure/ui-view/latest';
|
|
|
29
29
|
import { omitProps, callRenderProp, getElementType } from '@instructure/ui-react-utils';
|
|
30
30
|
import { renderIconWithProps } from '@instructure/ui-icons';
|
|
31
31
|
import { withStyleNew } from '@instructure/emotion';
|
|
32
|
-
import generateStyle from
|
|
33
|
-
import { allowedProps } from
|
|
32
|
+
import generateStyle from './styles.js';
|
|
33
|
+
import { allowedProps } from './props.js';
|
|
34
34
|
import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
|
35
35
|
// Map Billboard sizes to icon sizes
|
|
36
36
|
const billboardSizeToIconSize = {
|
|
@@ -45,7 +45,7 @@ category: components
|
|
|
45
45
|
---
|
|
46
46
|
**/
|
|
47
47
|
let Billboard = (_dec = withStyleNew(generateStyle), _dec(_class = class Billboard extends Component {
|
|
48
|
-
static displayName =
|
|
48
|
+
static displayName = 'Billboard';
|
|
49
49
|
static componentId = 'Billboard';
|
|
50
50
|
static allowedProps = allowedProps;
|
|
51
51
|
static defaultProps = {
|
package/es/exports/a.js
CHANGED
package/es/exports/b.js
CHANGED
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-billboard",
|
|
3
|
-
"version": "11.7.
|
|
3
|
+
"version": "11.7.4-pr-snapshot-1781695314229",
|
|
4
|
+
"type": "module",
|
|
4
5
|
"description": "A UI component to display empty states, 404 pages, redirects, etc.",
|
|
5
6
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
7
|
"module": "./es/index.js",
|
|
7
|
-
"main": "./lib/index.js",
|
|
8
8
|
"types": "./types/index.d.ts",
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
@@ -15,23 +15,23 @@
|
|
|
15
15
|
"license": "MIT",
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@babel/runtime": "^7.29.2",
|
|
18
|
-
"@instructure/
|
|
19
|
-
"@instructure/
|
|
20
|
-
"@instructure/ui-img": "11.7.
|
|
21
|
-
"@instructure/ui-react-utils": "11.7.
|
|
22
|
-
"@instructure/
|
|
23
|
-
"@instructure/ui-themes": "11.7.
|
|
24
|
-
"@instructure/ui-view": "11.7.
|
|
18
|
+
"@instructure/emotion": "11.7.4-pr-snapshot-1781695314229",
|
|
19
|
+
"@instructure/shared-types": "11.7.4-pr-snapshot-1781695314229",
|
|
20
|
+
"@instructure/ui-img": "11.7.4-pr-snapshot-1781695314229",
|
|
21
|
+
"@instructure/ui-react-utils": "11.7.4-pr-snapshot-1781695314229",
|
|
22
|
+
"@instructure/ui-heading": "11.7.4-pr-snapshot-1781695314229",
|
|
23
|
+
"@instructure/ui-themes": "11.7.4-pr-snapshot-1781695314229",
|
|
24
|
+
"@instructure/ui-view": "11.7.4-pr-snapshot-1781695314229"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@testing-library/jest-dom": "^6.6.3",
|
|
28
28
|
"@testing-library/react": "15.0.7",
|
|
29
29
|
"@testing-library/user-event": "^14.6.1",
|
|
30
30
|
"vitest": "^3.2.2",
|
|
31
|
-
"@instructure/ui-axe-check": "11.7.
|
|
32
|
-
"@instructure/ui-
|
|
33
|
-
"@instructure/ui-
|
|
34
|
-
"@instructure/ui-
|
|
31
|
+
"@instructure/ui-axe-check": "11.7.4-pr-snapshot-1781695314229",
|
|
32
|
+
"@instructure/ui-babel-preset": "11.7.4-pr-snapshot-1781695314229",
|
|
33
|
+
"@instructure/ui-color-utils": "11.7.4-pr-snapshot-1781695314229",
|
|
34
|
+
"@instructure/ui-icons": "11.7.4-pr-snapshot-1781695314229"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
37
|
"react": ">=18 <=19"
|
|
@@ -41,7 +41,6 @@
|
|
|
41
41
|
},
|
|
42
42
|
"sideEffects": false,
|
|
43
43
|
"exports": {
|
|
44
|
-
"./lib/*": "./lib/*",
|
|
45
44
|
"./es/*": "./es/*",
|
|
46
45
|
"./types/*": "./types/*",
|
|
47
46
|
"./package.json": "./package.json",
|
|
@@ -50,28 +49,24 @@
|
|
|
50
49
|
"src": "./src/exports/a.ts",
|
|
51
50
|
"types": "./types/exports/a.d.ts",
|
|
52
51
|
"import": "./es/exports/a.js",
|
|
53
|
-
"require": "./lib/exports/a.js",
|
|
54
52
|
"default": "./es/exports/a.js"
|
|
55
53
|
},
|
|
56
54
|
"./v11_6": {
|
|
57
55
|
"src": "./src/exports/a.ts",
|
|
58
56
|
"types": "./types/exports/a.d.ts",
|
|
59
57
|
"import": "./es/exports/a.js",
|
|
60
|
-
"require": "./lib/exports/a.js",
|
|
61
58
|
"default": "./es/exports/a.js"
|
|
62
59
|
},
|
|
63
60
|
"./v11_7": {
|
|
64
61
|
"src": "./src/exports/b.ts",
|
|
65
62
|
"types": "./types/exports/b.d.ts",
|
|
66
63
|
"import": "./es/exports/b.js",
|
|
67
|
-
"require": "./lib/exports/b.js",
|
|
68
64
|
"default": "./es/exports/b.js"
|
|
69
65
|
},
|
|
70
66
|
"./latest": {
|
|
71
67
|
"src": "./src/exports/b.ts",
|
|
72
68
|
"types": "./types/exports/b.d.ts",
|
|
73
69
|
"import": "./es/exports/b.js",
|
|
74
|
-
"require": "./lib/exports/b.js",
|
|
75
70
|
"default": "./es/exports/b.js"
|
|
76
71
|
}
|
|
77
72
|
},
|
|
@@ -79,7 +74,7 @@
|
|
|
79
74
|
"lint": "ui-scripts lint",
|
|
80
75
|
"lint:fix": "ui-scripts lint --fix",
|
|
81
76
|
"clean": "ui-scripts clean",
|
|
82
|
-
"build": "ui-scripts build
|
|
77
|
+
"build": "ui-scripts build",
|
|
83
78
|
"build:watch": "pnpm run ts:check -- --watch & ui-scripts build --watch",
|
|
84
79
|
"build:types": "tsc -p tsconfig.build.json",
|
|
85
80
|
"ts:check": "tsc -p tsconfig.build.json --noEmit --emitDeclarationOnly false"
|
|
@@ -34,10 +34,10 @@ import {
|
|
|
34
34
|
|
|
35
35
|
import { withStyle } from '@instructure/emotion'
|
|
36
36
|
|
|
37
|
-
import generateStyle from './styles'
|
|
38
|
-
import generateComponentTheme from './theme'
|
|
37
|
+
import generateStyle from './styles.js'
|
|
38
|
+
import generateComponentTheme from './theme.js'
|
|
39
39
|
|
|
40
|
-
import { allowedProps } from './props'
|
|
40
|
+
import { allowedProps } from './props.js'
|
|
41
41
|
import type { BillboardProps, HeroIconSize } from './props'
|
|
42
42
|
import type { ViewProps } from '@instructure/ui-view/v11_6'
|
|
43
43
|
|
|
@@ -48,6 +48,7 @@ category: components
|
|
|
48
48
|
**/
|
|
49
49
|
@withStyle(generateStyle, generateComponentTheme)
|
|
50
50
|
class Billboard extends Component<BillboardProps> {
|
|
51
|
+
static displayName = 'Billboard'
|
|
51
52
|
static readonly componentId = 'Billboard'
|
|
52
53
|
|
|
53
54
|
static allowedProps = allowedProps
|
|
@@ -35,9 +35,9 @@ import { renderIconWithProps } from '@instructure/ui-icons'
|
|
|
35
35
|
|
|
36
36
|
import { withStyleNew } from '@instructure/emotion'
|
|
37
37
|
|
|
38
|
-
import generateStyle from './styles'
|
|
38
|
+
import generateStyle from './styles.js'
|
|
39
39
|
|
|
40
|
-
import { allowedProps } from './props'
|
|
40
|
+
import { allowedProps } from './props.js'
|
|
41
41
|
import type { BillboardProps } from './props'
|
|
42
42
|
import type { ViewProps } from '@instructure/ui-view/latest'
|
|
43
43
|
|
|
@@ -58,6 +58,7 @@ class Billboard extends Component<
|
|
|
58
58
|
BillboardProps,
|
|
59
59
|
{ isHovered: boolean; isActive: boolean }
|
|
60
60
|
> {
|
|
61
|
+
static displayName = 'Billboard'
|
|
61
62
|
static readonly componentId = 'Billboard'
|
|
62
63
|
|
|
63
64
|
static allowedProps = allowedProps
|
package/src/exports/a.ts
CHANGED
|
@@ -21,5 +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 { Billboard } from '../Billboard/v1'
|
|
24
|
+
export { Billboard } from '../Billboard/v1/index.js'
|
|
25
25
|
export type { BillboardProps } from '../Billboard/v1/props'
|
package/src/exports/b.ts
CHANGED
|
@@ -21,5 +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 { Billboard } from '../Billboard/v2'
|
|
24
|
+
export { Billboard } from '../Billboard/v2/index.js'
|
|
25
25
|
export type { BillboardProps } from '../Billboard/v2/props'
|