@instructure/ui-view 11.7.4-snapshot-14 → 11.7.4-snapshot-49

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
- ## [11.7.4-snapshot-14](https://github.com/instructure/instructure-ui/compare/v11.7.3...v11.7.4-snapshot-14) (2026-05-20)
6
+ ## [11.7.4-snapshot-49](https://github.com/instructure/instructure-ui/compare/v11.7.3...v11.7.4-snapshot-49) (2026-06-17)
7
7
 
8
8
 
9
9
  ### Features
package/LICENSE.md CHANGED
@@ -2,6 +2,7 @@
2
2
  title: The MIT License (MIT)
3
3
  category: Getting Started
4
4
  order: 9
5
+ isWIP: true
5
6
  ---
6
7
 
7
8
  # The MIT License (MIT)
@@ -26,10 +26,10 @@ var _dec, _class;
26
26
  import { Component } from 'react';
27
27
  import { withStyle } from '@instructure/emotion';
28
28
  import { omitProps } from '@instructure/ui-react-utils';
29
- import { View } from "../../View/v1/index.js";
30
- import generateStyle from "./styles.js";
31
- import generateComponentTheme from "./theme.js";
32
- import { allowedProps } from "./props.js";
29
+ import { View } from '../../View/v1/index.js';
30
+ import generateStyle from './styles.js';
31
+ import generateComponentTheme from './theme.js';
32
+ import { allowedProps } from './props.js';
33
33
  import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
34
34
  /**
35
35
  ---
@@ -37,7 +37,7 @@ category: components
37
37
  ---
38
38
  **/
39
39
  let ContextView = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = class ContextView extends Component {
40
- static displayName = "ContextView";
40
+ static displayName = 'ContextView';
41
41
  static componentId = 'ContextView';
42
42
  static allowedProps = allowedProps;
43
43
  static defaultProps = {
@@ -26,9 +26,9 @@ var _dec, _class;
26
26
  import { Component } from 'react';
27
27
  import { withStyleNew } from '@instructure/emotion';
28
28
  import { omitProps } from '@instructure/ui-react-utils';
29
- import { View } from "../../View/v2/index.js";
30
- import generateStyle from "./styles.js";
31
- import { allowedProps } from "./props.js";
29
+ import { View } from '../../View/v2/index.js';
30
+ import generateStyle from './styles.js';
31
+ import { allowedProps } from './props.js';
32
32
  import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
33
33
  /**
34
34
  ---
@@ -36,7 +36,7 @@ category: components
36
36
  ---
37
37
  **/
38
38
  let ContextView = (_dec = withStyleNew(generateStyle), _dec(_class = class ContextView extends Component {
39
- static displayName = "ContextView";
39
+ static displayName = 'ContextView';
40
40
  static componentId = 'ContextView';
41
41
  static allowedProps = allowedProps;
42
42
  static defaultProps = {
@@ -29,9 +29,9 @@ import { textDirectionContextConsumer } from '@instructure/ui-i18n';
29
29
  import { logError as error } from '@instructure/console';
30
30
  import { getElementType, omitProps, pickProps, passthroughProps } from '@instructure/ui-react-utils';
31
31
  import { withStyle } from '@instructure/emotion';
32
- import generateStyle from "./styles.js";
33
- import generateComponentTheme from "./theme.js";
34
- import { allowedProps } from "./props.js";
32
+ import generateStyle from './styles.js';
33
+ import generateComponentTheme from './theme.js';
34
+ import { allowedProps } from './props.js';
35
35
  import { jsx as _jsx } from "@emotion/react/jsx-runtime";
36
36
  /**
37
37
  ---
@@ -40,7 +40,7 @@ category: components
40
40
  @module View
41
41
  **/
42
42
  let View = (_dec = textDirectionContextConsumer(), _dec2 = withStyle(generateStyle, generateComponentTheme), _dec(_class = _dec2(_class = class View extends Component {
43
- static displayName = "View";
43
+ static displayName = 'View';
44
44
  static componentId = 'View';
45
45
  static allowedProps = allowedProps;
46
46
  static defaultProps = {
@@ -29,8 +29,8 @@ import { textDirectionContextConsumer } from '@instructure/ui-i18n';
29
29
  import { logError as error } from '@instructure/console';
30
30
  import { getElementType, omitProps, pickProps, passthroughProps } from '@instructure/ui-react-utils';
31
31
  import { withStyleNew } from '@instructure/emotion';
32
- import generateStyle from "./styles.js";
33
- import { allowedProps } from "./props.js";
32
+ import generateStyle from './styles.js';
33
+ import { allowedProps } from './props.js';
34
34
  import { jsx as _jsx } from "@emotion/react/jsx-runtime";
35
35
  /**
36
36
  ---
@@ -39,7 +39,7 @@ category: components
39
39
  @module View
40
40
  **/
41
41
  let View = (_dec = textDirectionContextConsumer(), _dec2 = withStyleNew(generateStyle), _dec(_class = _dec2(_class = class View extends Component {
42
- static displayName = "View";
42
+ static displayName = 'View';
43
43
  static componentId = 'View';
44
44
  static allowedProps = allowedProps;
45
45
  static defaultProps = {
package/es/exports/a.js CHANGED
@@ -21,5 +21,6 @@
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 { ContextView } from "../ContextView/v1/index.js";
25
- export { View } from "../View/v1/index.js";
24
+
25
+ export { ContextView } from '../ContextView/v1/index.js';
26
+ export { View } from '../View/v1/index.js';
package/es/exports/b.js CHANGED
@@ -21,5 +21,6 @@
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 { ContextView } from "../ContextView/v2/index.js";
25
- export { View } from "../View/v2/index.js";
24
+
25
+ export { ContextView } from '../ContextView/v2/index.js';
26
+ export { View } from '../View/v2/index.js';
@@ -8,10 +8,10 @@ exports.default = exports.ContextView = void 0;
8
8
  var _react = require("react");
9
9
  var _emotion = require("@instructure/emotion");
10
10
  var _omitProps = require("@instructure/ui-react-utils/lib/omitProps.js");
11
- var _v = require("../../View/v1");
12
- var _styles = _interopRequireDefault(require("./styles"));
13
- var _theme = _interopRequireDefault(require("./theme"));
14
- var _props = require("./props");
11
+ var _index = require("../../View/v1/index.js");
12
+ var _styles = _interopRequireDefault(require("./styles.js"));
13
+ var _theme = _interopRequireDefault(require("./theme.js"));
14
+ var _props = require("./props.js");
15
15
  var _jsxRuntime = require("@emotion/react/jsx-runtime");
16
16
  var _dec, _class;
17
17
  /*
@@ -43,7 +43,7 @@ category: components
43
43
  ---
44
44
  **/
45
45
  let ContextView = exports.ContextView = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = class ContextView extends _react.Component {
46
- static displayName = "ContextView";
46
+ static displayName = 'ContextView';
47
47
  static componentId = 'ContextView';
48
48
  static allowedProps = _props.allowedProps;
49
49
  static defaultProps = {
@@ -95,7 +95,7 @@ let ContextView = exports.ContextView = (_dec = (0, _emotion.withStyle)(_styles.
95
95
  styles,
96
96
  borderColor
97
97
  } = this.props;
98
- return (0, _jsxRuntime.jsx)(_v.View, {
98
+ return (0, _jsxRuntime.jsx)(_index.View, {
99
99
  ...(0, _omitProps.omitProps)(this.props, ContextView.allowedProps),
100
100
  css: styles?.contextView,
101
101
  style: style,
@@ -106,7 +106,7 @@ let ContextView = exports.ContextView = (_dec = (0, _emotion.withStyle)(_styles.
106
106
  elementRef: this.handleRef,
107
107
  margin: margin,
108
108
  stacking: stacking,
109
- children: (0, _jsxRuntime.jsxs)(_v.View, {
109
+ children: (0, _jsxRuntime.jsxs)(_index.View, {
110
110
  css: styles?.contextView__content,
111
111
  display: "block",
112
112
  borderRadius: "medium",
@@ -8,9 +8,9 @@ exports.default = exports.ContextView = void 0;
8
8
  var _react = require("react");
9
9
  var _emotion = require("@instructure/emotion");
10
10
  var _omitProps = require("@instructure/ui-react-utils/lib/omitProps.js");
11
- var _v = require("../../View/v2");
12
- var _styles = _interopRequireDefault(require("./styles"));
13
- var _props = require("./props");
11
+ var _index = require("../../View/v2/index.js");
12
+ var _styles = _interopRequireDefault(require("./styles.js"));
13
+ var _props = require("./props.js");
14
14
  var _jsxRuntime = require("@emotion/react/jsx-runtime");
15
15
  var _dec, _class;
16
16
  /*
@@ -42,7 +42,7 @@ category: components
42
42
  ---
43
43
  **/
44
44
  let ContextView = exports.ContextView = (_dec = (0, _emotion.withStyleNew)(_styles.default), _dec(_class = class ContextView extends _react.Component {
45
- static displayName = "ContextView";
45
+ static displayName = 'ContextView';
46
46
  static componentId = 'ContextView';
47
47
  static allowedProps = _props.allowedProps;
48
48
  static defaultProps = {
@@ -94,7 +94,7 @@ let ContextView = exports.ContextView = (_dec = (0, _emotion.withStyleNew)(_styl
94
94
  styles,
95
95
  borderColor
96
96
  } = this.props;
97
- return (0, _jsxRuntime.jsx)(_v.View, {
97
+ return (0, _jsxRuntime.jsx)(_index.View, {
98
98
  ...(0, _omitProps.omitProps)(this.props, ContextView.allowedProps),
99
99
  css: styles?.contextView,
100
100
  style: style,
@@ -105,7 +105,7 @@ let ContextView = exports.ContextView = (_dec = (0, _emotion.withStyleNew)(_styl
105
105
  elementRef: this.handleRef,
106
106
  margin: margin,
107
107
  stacking: stacking,
108
- children: (0, _jsxRuntime.jsxs)(_v.View, {
108
+ children: (0, _jsxRuntime.jsxs)(_index.View, {
109
109
  css: styles?.contextView__content,
110
110
  display: "block",
111
111
  borderRadius: styles?.borderRadius,
@@ -14,9 +14,9 @@ var _omitProps = require("@instructure/ui-react-utils/lib/omitProps.js");
14
14
  var _pickProps = require("@instructure/ui-react-utils/lib/pickProps.js");
15
15
  var _passthroughProps = require("@instructure/ui-react-utils/lib/passthroughProps.js");
16
16
  var _emotion = require("@instructure/emotion");
17
- var _styles = _interopRequireDefault(require("./styles"));
18
- var _theme = _interopRequireDefault(require("./theme"));
19
- var _props = require("./props");
17
+ var _styles = _interopRequireDefault(require("./styles.js"));
18
+ var _theme = _interopRequireDefault(require("./theme.js"));
19
+ var _props = require("./props.js");
20
20
  var _jsxRuntime = require("@emotion/react/jsx-runtime");
21
21
  var _dec, _dec2, _class;
22
22
  /*
@@ -49,7 +49,7 @@ category: components
49
49
  @module View
50
50
  **/
51
51
  let View = exports.View = (_dec = (0, _textDirectionContextConsumer.textDirectionContextConsumer)(), _dec2 = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = _dec2(_class = class View extends _react.Component {
52
- static displayName = "View";
52
+ static displayName = 'View';
53
53
  static componentId = 'View';
54
54
  static allowedProps = _props.allowedProps;
55
55
  static defaultProps = {
@@ -14,8 +14,8 @@ var _omitProps = require("@instructure/ui-react-utils/lib/omitProps.js");
14
14
  var _pickProps = require("@instructure/ui-react-utils/lib/pickProps.js");
15
15
  var _passthroughProps = require("@instructure/ui-react-utils/lib/passthroughProps.js");
16
16
  var _emotion = require("@instructure/emotion");
17
- var _styles = _interopRequireDefault(require("./styles"));
18
- var _props = require("./props");
17
+ var _styles = _interopRequireDefault(require("./styles.js"));
18
+ var _props = require("./props.js");
19
19
  var _jsxRuntime = require("@emotion/react/jsx-runtime");
20
20
  var _dec, _dec2, _class;
21
21
  /*
@@ -48,7 +48,7 @@ category: components
48
48
  @module View
49
49
  **/
50
50
  let View = exports.View = (_dec = (0, _textDirectionContextConsumer.textDirectionContextConsumer)(), _dec2 = (0, _emotion.withStyleNew)(_styles.default), _dec(_class = _dec2(_class = class View extends _react.Component {
51
- static displayName = "View";
51
+ static displayName = 'View';
52
52
  static componentId = 'View';
53
53
  static allowedProps = _props.allowedProps;
54
54
  static defaultProps = {
package/lib/exports/a.js CHANGED
@@ -6,14 +6,14 @@ Object.defineProperty(exports, "__esModule", {
6
6
  Object.defineProperty(exports, "ContextView", {
7
7
  enumerable: true,
8
8
  get: function () {
9
- return _v.ContextView;
9
+ return _index.ContextView;
10
10
  }
11
11
  });
12
12
  Object.defineProperty(exports, "View", {
13
13
  enumerable: true,
14
14
  get: function () {
15
- return _v2.View;
15
+ return _index2.View;
16
16
  }
17
17
  });
18
- var _v = require("../ContextView/v1");
19
- var _v2 = require("../View/v1");
18
+ var _index = require("../ContextView/v1/index.js");
19
+ var _index2 = require("../View/v1/index.js");
package/lib/exports/b.js CHANGED
@@ -6,14 +6,14 @@ Object.defineProperty(exports, "__esModule", {
6
6
  Object.defineProperty(exports, "ContextView", {
7
7
  enumerable: true,
8
8
  get: function () {
9
- return _v.ContextView;
9
+ return _index.ContextView;
10
10
  }
11
11
  });
12
12
  Object.defineProperty(exports, "View", {
13
13
  enumerable: true,
14
14
  get: function () {
15
- return _v2.View;
15
+ return _index2.View;
16
16
  }
17
17
  });
18
- var _v = require("../ContextView/v2");
19
- var _v2 = require("../View/v2");
18
+ var _index = require("../ContextView/v2/index.js");
19
+ var _index2 = require("../View/v2/index.js");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-view",
3
- "version": "11.7.4-snapshot-14",
3
+ "version": "11.7.4-snapshot-49",
4
4
  "description": "A component for basic styles including spacing, sizing, borders, display, positioning, and focus states.",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "module": "./es/index.js",
@@ -15,22 +15,22 @@
15
15
  "license": "MIT",
16
16
  "dependencies": {
17
17
  "@babel/runtime": "^7.29.2",
18
- "@instructure/emotion": "11.7.4-snapshot-14",
19
- "@instructure/shared-types": "11.7.4-snapshot-14",
20
- "@instructure/ui-i18n": "11.7.4-snapshot-14",
21
- "@instructure/ui-dom-utils": "11.7.4-snapshot-14",
22
- "@instructure/ui-color-utils": "11.7.4-snapshot-14",
23
- "@instructure/console": "11.7.4-snapshot-14",
24
- "@instructure/ui-position": "11.7.4-snapshot-14",
25
- "@instructure/ui-react-utils": "11.7.4-snapshot-14",
26
- "@instructure/ui-themes": "11.7.4-snapshot-14"
18
+ "@instructure/shared-types": "11.7.4-snapshot-49",
19
+ "@instructure/console": "11.7.4-snapshot-49",
20
+ "@instructure/emotion": "11.7.4-snapshot-49",
21
+ "@instructure/ui-color-utils": "11.7.4-snapshot-49",
22
+ "@instructure/ui-dom-utils": "11.7.4-snapshot-49",
23
+ "@instructure/ui-i18n": "11.7.4-snapshot-49",
24
+ "@instructure/ui-position": "11.7.4-snapshot-49",
25
+ "@instructure/ui-react-utils": "11.7.4-snapshot-49",
26
+ "@instructure/ui-themes": "11.7.4-snapshot-49"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@testing-library/jest-dom": "^6.6.3",
30
30
  "@testing-library/react": "15.0.7",
31
31
  "vitest": "^3.2.2",
32
- "@instructure/ui-babel-preset": "11.7.4-snapshot-14",
33
- "@instructure/ui-axe-check": "11.7.4-snapshot-14"
32
+ "@instructure/ui-axe-check": "11.7.4-snapshot-49",
33
+ "@instructure/ui-babel-preset": "11.7.4-snapshot-49"
34
34
  },
35
35
  "peerDependencies": {
36
36
  "react": ">=18 <=19"
@@ -27,11 +27,11 @@ import { Component } from 'react'
27
27
  import { withStyle } from '@instructure/emotion'
28
28
  import { omitProps } from '@instructure/ui-react-utils'
29
29
 
30
- import { View } from '../../View/v1'
30
+ import { View } from '../../View/v1/index.js'
31
31
 
32
- import generateStyle from './styles'
33
- import generateComponentTheme from './theme'
34
- import { allowedProps } from './props'
32
+ import generateStyle from './styles.js'
33
+ import generateComponentTheme from './theme.js'
34
+ import { allowedProps } from './props.js'
35
35
  import type { ContextViewProps } from './props'
36
36
 
37
37
  /**
@@ -42,6 +42,7 @@ category: components
42
42
 
43
43
  @withStyle(generateStyle, generateComponentTheme)
44
44
  class ContextView extends Component<ContextViewProps> {
45
+ static displayName = 'ContextView'
45
46
  static readonly componentId = 'ContextView'
46
47
  static allowedProps = allowedProps
47
48
  static defaultProps = {
@@ -27,10 +27,10 @@ import { Component } from 'react'
27
27
  import { withStyleNew } from '@instructure/emotion'
28
28
  import { omitProps } from '@instructure/ui-react-utils'
29
29
 
30
- import { View } from '../../View/v2'
30
+ import { View } from '../../View/v2/index.js'
31
31
 
32
- import generateStyle from './styles'
33
- import { allowedProps } from './props'
32
+ import generateStyle from './styles.js'
33
+ import { allowedProps } from './props.js'
34
34
  import type { ContextViewProps } from './props'
35
35
 
36
36
  /**
@@ -41,6 +41,7 @@ category: components
41
41
 
42
42
  @withStyleNew(generateStyle)
43
43
  class ContextView extends Component<ContextViewProps> {
44
+ static displayName = 'ContextView'
44
45
  static readonly componentId = 'ContextView'
45
46
  static allowedProps = allowedProps
46
47
  static defaultProps = {
@@ -35,10 +35,10 @@ import {
35
35
  } from '@instructure/ui-react-utils'
36
36
  import { withStyle } from '@instructure/emotion'
37
37
 
38
- import generateStyle from './styles'
39
- import generateComponentTheme from './theme'
38
+ import generateStyle from './styles.js'
39
+ import generateComponentTheme from './theme.js'
40
40
 
41
- import { allowedProps } from './props'
41
+ import { allowedProps } from './props.js'
42
42
  import type { ViewProps } from './props'
43
43
 
44
44
  declare const process: Record<string, any> | undefined
@@ -52,6 +52,7 @@ category: components
52
52
  @textDirectionContextConsumer()
53
53
  @withStyle(generateStyle, generateComponentTheme)
54
54
  class View extends Component<ViewProps> {
55
+ static displayName = 'View'
55
56
  static componentId = 'View'
56
57
  static allowedProps = allowedProps
57
58
  static defaultProps = {
@@ -35,9 +35,9 @@ import {
35
35
  } from '@instructure/ui-react-utils'
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 { ViewProps } from './props'
42
42
 
43
43
  declare const process: Record<string, any> | undefined
@@ -51,6 +51,7 @@ category: components
51
51
  @textDirectionContextConsumer()
52
52
  @withStyleNew(generateStyle)
53
53
  class View extends Component<ViewProps> {
54
+ static displayName = 'View'
54
55
  static componentId = 'View'
55
56
  static allowedProps = allowedProps
56
57
  static defaultProps = {
package/src/exports/a.ts CHANGED
@@ -22,8 +22,8 @@
22
22
  * SOFTWARE.
23
23
  */
24
24
 
25
- export { ContextView } from '../ContextView/v1'
26
- export { View } from '../View/v1'
25
+ export { ContextView } from '../ContextView/v1/index.js'
26
+ export { View } from '../View/v1/index.js'
27
27
 
28
28
  export type { ContextViewProps } from '../ContextView/v1/props'
29
29
  export type { ViewProps, ViewOwnProps } from '../View/v1/props'
package/src/exports/b.ts CHANGED
@@ -22,8 +22,8 @@
22
22
  * SOFTWARE.
23
23
  */
24
24
 
25
- export { ContextView } from '../ContextView/v2'
26
- export { View } from '../View/v2'
25
+ export { ContextView } from '../ContextView/v2/index.js'
26
+ export { View } from '../View/v2/index.js'
27
27
 
28
28
  export type { ContextViewProps } from '../ContextView/v2/props'
29
29
  export type { ViewProps, ViewOwnProps } from '../View/v2/props'