@instructure/ui-billboard 10.26.1 → 11.0.1-snapshot-0

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 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.26.1](https://github.com/instructure/instructure-ui/compare/v10.26.0...v10.26.1) (2025-10-06)
6
+ ## [11.0.1-snapshot-0](https://github.com/instructure/instructure-ui/compare/v11.0.0...v11.0.1-snapshot-0) (2025-10-07)
7
7
 
8
8
  **Note:** Version bump only for package @instructure/ui-billboard
9
9
 
@@ -11,6 +11,35 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
11
11
 
12
12
 
13
13
 
14
+ # [11.0.0](https://github.com/instructure/instructure-ui/compare/v10.26.0...v11.0.0) (2025-10-06)
15
+
16
+
17
+ ### Features
18
+
19
+ * **many:** instUI v11 release ([36f5438](https://github.com/instructure/instructure-ui/commit/36f54382669186227ba24798bbf7201ef2f5cd4c))
20
+
21
+
22
+ ### BREAKING CHANGES
23
+
24
+ * **many:** InstUI v11 contains the following breaking changes:
25
+ - React 16 and 17 are no longer supported
26
+ - remove `PropTypes` from all packages
27
+ - remove `CodeEditor` component
28
+ - remove `@instui/theme-registry` package
29
+ - remove `@testable`, `@experimental`, `@hack` decorators
30
+ - InstUISettingsProvider's `as` prop is removed
31
+ - `canvas.use()`, `canvasHighContrast.use()` functions are removed
32
+ - `canvasThemeLocal`, `canvasHighContrastThemeLocal` are removed
33
+ - `variables` field on theme objects are removed
34
+ - remove deprecated props from Table: Row's `isStacked`, Body's
35
+ `isStacked`, `hover`, and `headers`
36
+ - `Table`'s `caption` prop is now required
37
+ - `ui-dom-utils`'s `getComputedStyle` can now return `undefined`
38
+
39
+
40
+
41
+
42
+
14
43
  # [10.26.0](https://github.com/instructure/instructure-ui/compare/v10.25.0...v10.26.0) (2025-10-01)
15
44
 
16
45
  **Note:** Version bump only for package @instructure/ui-billboard
@@ -30,7 +30,7 @@ import { omitProps, callRenderProp, getElementType } from '@instructure/ui-react
30
30
  import { withStyle } from '@instructure/emotion';
31
31
  import generateStyle from './styles';
32
32
  import generateComponentTheme from './theme';
33
- import { propTypes, allowedProps } from './props';
33
+ import { allowedProps } from './props';
34
34
  import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
35
35
  /**
36
36
  ---
@@ -145,7 +145,7 @@ let Billboard = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_
145
145
  })
146
146
  });
147
147
  }
148
- }, _Billboard.displayName = "Billboard", _Billboard.componentId = 'Billboard', _Billboard.propTypes = propTypes, _Billboard.allowedProps = allowedProps, _Billboard.defaultProps = {
148
+ }, _Billboard.displayName = "Billboard", _Billboard.componentId = 'Billboard', _Billboard.allowedProps = allowedProps, _Billboard.defaultProps = {
149
149
  disabled: false,
150
150
  readOnly: false,
151
151
  size: 'medium',
@@ -22,21 +22,5 @@
22
22
  * SOFTWARE.
23
23
  */
24
24
 
25
- import PropTypes from 'prop-types';
26
- const propTypes = {
27
- hero: PropTypes.oneOfType([PropTypes.element, PropTypes.func]),
28
- size: PropTypes.oneOf(['small', 'medium', 'large']),
29
- as: PropTypes.elementType,
30
- elementRef: PropTypes.func,
31
- heading: PropTypes.string,
32
- headingAs: PropTypes.oneOf(['h1', 'h2', 'h3', 'span']),
33
- headingLevel: PropTypes.oneOf(['h1', 'h2', 'h3', 'h4']),
34
- message: PropTypes.oneOfType([PropTypes.node, PropTypes.func]),
35
- onClick: PropTypes.func,
36
- href: PropTypes.string,
37
- disabled: PropTypes.bool,
38
- readOnly: PropTypes.bool,
39
- margin: PropTypes.string
40
- };
41
25
  const allowedProps = ['hero', 'size', 'as', 'elementRef', 'heading', 'headingAs', 'headingLevel', 'message', 'onClick', 'href', 'disabled', 'readOnly', 'margin'];
42
- export { propTypes, allowedProps };
26
+ export { allowedProps };
@@ -153,7 +153,7 @@ let Billboard = exports.Billboard = (_dec = (0, _emotion.withStyle)(_styles.defa
153
153
  })
154
154
  });
155
155
  }
156
- }, _Billboard.displayName = "Billboard", _Billboard.componentId = 'Billboard', _Billboard.propTypes = _props.propTypes, _Billboard.allowedProps = _props.allowedProps, _Billboard.defaultProps = {
156
+ }, _Billboard.displayName = "Billboard", _Billboard.componentId = 'Billboard', _Billboard.allowedProps = _props.allowedProps, _Billboard.defaultProps = {
157
157
  disabled: false,
158
158
  readOnly: false,
159
159
  size: 'medium',
@@ -1,11 +1,9 @@
1
1
  "use strict";
2
2
 
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
4
3
  Object.defineProperty(exports, "__esModule", {
5
4
  value: true
6
5
  });
7
- exports.propTypes = exports.allowedProps = void 0;
8
- var _propTypes = _interopRequireDefault(require("prop-types"));
6
+ exports.allowedProps = void 0;
9
7
  /*
10
8
  * The MIT License (MIT)
11
9
  *
@@ -30,19 +28,4 @@ var _propTypes = _interopRequireDefault(require("prop-types"));
30
28
  * SOFTWARE.
31
29
  */
32
30
 
33
- const propTypes = exports.propTypes = {
34
- hero: _propTypes.default.oneOfType([_propTypes.default.element, _propTypes.default.func]),
35
- size: _propTypes.default.oneOf(['small', 'medium', 'large']),
36
- as: _propTypes.default.elementType,
37
- elementRef: _propTypes.default.func,
38
- heading: _propTypes.default.string,
39
- headingAs: _propTypes.default.oneOf(['h1', 'h2', 'h3', 'span']),
40
- headingLevel: _propTypes.default.oneOf(['h1', 'h2', 'h3', 'h4']),
41
- message: _propTypes.default.oneOfType([_propTypes.default.node, _propTypes.default.func]),
42
- onClick: _propTypes.default.func,
43
- href: _propTypes.default.string,
44
- disabled: _propTypes.default.bool,
45
- readOnly: _propTypes.default.bool,
46
- margin: _propTypes.default.string
47
- };
48
31
  const allowedProps = exports.allowedProps = ['hero', 'size', 'as', 'elementRef', 'heading', 'headingAs', 'headingLevel', 'message', 'onClick', 'href', 'disabled', 'readOnly', 'margin'];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-billboard",
3
- "version": "10.26.1",
3
+ "version": "11.0.1-snapshot-0",
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,28 +23,27 @@
23
23
  },
24
24
  "license": "MIT",
25
25
  "devDependencies": {
26
- "@instructure/ui-axe-check": "10.26.1",
27
- "@instructure/ui-babel-preset": "10.26.1",
28
- "@instructure/ui-color-utils": "10.26.1",
29
- "@instructure/ui-icons": "10.26.1",
30
- "@instructure/ui-themes": "10.26.1",
26
+ "@instructure/ui-axe-check": "11.0.1-snapshot-0",
27
+ "@instructure/ui-babel-preset": "11.0.1-snapshot-0",
28
+ "@instructure/ui-color-utils": "11.0.1-snapshot-0",
29
+ "@instructure/ui-icons": "11.0.1-snapshot-0",
30
+ "@instructure/ui-themes": "11.0.1-snapshot-0",
31
31
  "@testing-library/jest-dom": "^6.6.3",
32
- "@testing-library/react": "^16.0.1",
32
+ "@testing-library/react": "15.0.7",
33
33
  "@testing-library/user-event": "^14.6.1",
34
34
  "vitest": "^3.2.2"
35
35
  },
36
36
  "dependencies": {
37
37
  "@babel/runtime": "^7.27.6",
38
- "@instructure/emotion": "10.26.1",
39
- "@instructure/shared-types": "10.26.1",
40
- "@instructure/ui-heading": "10.26.1",
41
- "@instructure/ui-img": "10.26.1",
42
- "@instructure/ui-react-utils": "10.26.1",
43
- "@instructure/ui-view": "10.26.1",
44
- "prop-types": "^15.8.1"
38
+ "@instructure/emotion": "11.0.1-snapshot-0",
39
+ "@instructure/shared-types": "11.0.1-snapshot-0",
40
+ "@instructure/ui-heading": "11.0.1-snapshot-0",
41
+ "@instructure/ui-img": "11.0.1-snapshot-0",
42
+ "@instructure/ui-react-utils": "11.0.1-snapshot-0",
43
+ "@instructure/ui-view": "11.0.1-snapshot-0"
45
44
  },
46
45
  "peerDependencies": {
47
- "react": ">=16.14 <=18"
46
+ "react": ">=18 <=19"
48
47
  },
49
48
  "publishConfig": {
50
49
  "access": "public"
@@ -37,7 +37,7 @@ import { withStyle } from '@instructure/emotion'
37
37
  import generateStyle from './styles'
38
38
  import generateComponentTheme from './theme'
39
39
 
40
- import { propTypes, allowedProps } from './props'
40
+ import { allowedProps } from './props'
41
41
  import type { BillboardProps, HeroIconSize } from './props'
42
42
  import type { ViewProps } from '@instructure/ui-view'
43
43
 
@@ -50,7 +50,6 @@ category: components
50
50
  class Billboard extends Component<BillboardProps> {
51
51
  static readonly componentId = 'Billboard'
52
52
 
53
- static propTypes = propTypes
54
53
  static allowedProps = allowedProps
55
54
  static defaultProps = {
56
55
  disabled: false,
@@ -22,8 +22,6 @@
22
22
  * SOFTWARE.
23
23
  */
24
24
 
25
- import PropTypes from 'prop-types'
26
-
27
25
  import type {
28
26
  Spacing,
29
27
  WithStyleProps,
@@ -32,8 +30,7 @@ import type {
32
30
  import type {
33
31
  AsElementType,
34
32
  BillboardTheme,
35
- OtherHTMLAttributes,
36
- PropValidators
33
+ OtherHTMLAttributes
37
34
  } from '@instructure/shared-types'
38
35
  import type { ViewProps } from '@instructure/ui-view'
39
36
  import { MouseEvent } from 'react'
@@ -111,23 +108,6 @@ type BillboardProps = BillboardOwnProps &
111
108
  type BillboardStyle = ComponentStyle<
112
109
  'billboard' | 'content' | 'hero' | 'heading' | 'message'
113
110
  >
114
-
115
- const propTypes: PropValidators<PropKeys> = {
116
- hero: PropTypes.oneOfType([PropTypes.element, PropTypes.func]),
117
- size: PropTypes.oneOf(['small', 'medium', 'large']),
118
- as: PropTypes.elementType,
119
- elementRef: PropTypes.func,
120
- heading: PropTypes.string,
121
- headingAs: PropTypes.oneOf(['h1', 'h2', 'h3', 'span']),
122
- headingLevel: PropTypes.oneOf(['h1', 'h2', 'h3', 'h4']),
123
- message: PropTypes.oneOfType([PropTypes.node, PropTypes.func]),
124
- onClick: PropTypes.func,
125
- href: PropTypes.string,
126
- disabled: PropTypes.bool,
127
- readOnly: PropTypes.bool,
128
- margin: PropTypes.string
129
- }
130
-
131
111
  const allowedProps: AllowedPropKeys = [
132
112
  'hero',
133
113
  'size',
@@ -145,4 +125,4 @@ const allowedProps: AllowedPropKeys = [
145
125
  ]
146
126
 
147
127
  export type { BillboardProps, BillboardStyle, HeroIconSize }
148
- export { propTypes, allowedProps }
128
+ export { allowedProps }