@instructure/ui-billboard 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 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-0](https://github.com/instructure/instructure-ui/compare/v10.15.1...v10.15.2-snapshot-0) (2025-04-04)
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
- **Note:** Version bump only for package @instructure/ui-billboard
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
 
@@ -23,7 +23,6 @@
23
23
  */
24
24
 
25
25
  import PropTypes from 'prop-types';
26
- import { ThemeablePropTypes } from '@instructure/emotion';
27
26
  const propTypes = {
28
27
  hero: PropTypes.oneOfType([PropTypes.element, PropTypes.func]),
29
28
  size: PropTypes.oneOf(['small', 'medium', 'large']),
@@ -37,7 +36,7 @@ const propTypes = {
37
36
  href: PropTypes.string,
38
37
  disabled: PropTypes.bool,
39
38
  readOnly: PropTypes.bool,
40
- margin: ThemeablePropTypes.spacing
39
+ margin: PropTypes.string
41
40
  };
42
41
  const allowedProps = ['hero', 'size', 'as', 'elementRef', 'heading', 'headingAs', 'headingLevel', 'message', 'onClick', 'href', 'disabled', 'readOnly', 'margin'];
43
42
  export { propTypes, allowedProps };
@@ -6,7 +6,6 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.propTypes = exports.allowedProps = void 0;
8
8
  var _propTypes = _interopRequireDefault(require("prop-types"));
9
- var _emotion = require("@instructure/emotion");
10
9
  /*
11
10
  * The MIT License (MIT)
12
11
  *
@@ -44,6 +43,6 @@ const propTypes = exports.propTypes = {
44
43
  href: _propTypes.default.string,
45
44
  disabled: _propTypes.default.bool,
46
45
  readOnly: _propTypes.default.bool,
47
- margin: _emotion.ThemeablePropTypes.spacing
46
+ margin: _propTypes.default.string
48
47
  };
49
48
  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.15.2-snapshot-0",
3
+ "version": "10.15.2-snapshot-2",
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,12 +23,12 @@
23
23
  },
24
24
  "license": "MIT",
25
25
  "devDependencies": {
26
- "@instructure/ui-axe-check": "10.15.2-snapshot-0",
27
- "@instructure/ui-babel-preset": "10.15.2-snapshot-0",
28
- "@instructure/ui-color-utils": "10.15.2-snapshot-0",
29
- "@instructure/ui-icons": "10.15.2-snapshot-0",
30
- "@instructure/ui-test-utils": "10.15.2-snapshot-0",
31
- "@instructure/ui-themes": "10.15.2-snapshot-0",
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-icons": "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,12 +36,12 @@
36
36
  },
37
37
  "dependencies": {
38
38
  "@babel/runtime": "^7.26.0",
39
- "@instructure/emotion": "10.15.2-snapshot-0",
40
- "@instructure/shared-types": "10.15.2-snapshot-0",
41
- "@instructure/ui-heading": "10.15.2-snapshot-0",
42
- "@instructure/ui-img": "10.15.2-snapshot-0",
43
- "@instructure/ui-react-utils": "10.15.2-snapshot-0",
44
- "@instructure/ui-view": "10.15.2-snapshot-0",
39
+ "@instructure/emotion": "10.15.2-snapshot-2",
40
+ "@instructure/shared-types": "10.15.2-snapshot-2",
41
+ "@instructure/ui-heading": "10.15.2-snapshot-2",
42
+ "@instructure/ui-img": "10.15.2-snapshot-2",
43
+ "@instructure/ui-react-utils": "10.15.2-snapshot-2",
44
+ "@instructure/ui-view": "10.15.2-snapshot-2",
45
45
  "prop-types": "^15.8.1"
46
46
  },
47
47
  "peerDependencies": {
@@ -24,8 +24,6 @@
24
24
 
25
25
  import PropTypes from 'prop-types'
26
26
 
27
- import { ThemeablePropTypes } from '@instructure/emotion'
28
-
29
27
  import type {
30
28
  Spacing,
31
29
  WithStyleProps,
@@ -127,7 +125,7 @@ const propTypes: PropValidators<PropKeys> = {
127
125
  href: PropTypes.string,
128
126
  disabled: PropTypes.bool,
129
127
  readOnly: PropTypes.bool,
130
- margin: ThemeablePropTypes.spacing
128
+ margin: PropTypes.string
131
129
  }
132
130
 
133
131
  const allowedProps: AllowedPropKeys = [