@instructure/ui-motion 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 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-motion
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
@@ -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)
@@ -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,6 +22,15 @@ exports.allowedProps = void 0;
28
22
  * SOFTWARE.
29
23
  */
30
24
 
31
- // TransitionCommonProps get passed to BaseTransition
32
-
33
- const allowedProps = exports.allowedProps = ['type', 'children', 'in', 'unmountOnExit', 'transitionOnMount', 'transitionEnter', 'transitionExit', 'onTransition', 'onEnter', 'onEntering', 'onEntered', 'onExit', 'onExiting', 'onExited', 'elementRef'];
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
+ }
@@ -25,7 +25,7 @@
25
25
  import { Component } from 'react';
26
26
  import { getClassList, findDOMNode } from '@instructure/ui-dom-utils';
27
27
  import { ensureSingleChild, safeCloneElement } from '@instructure/ui-react-utils';
28
- import { allowedProps } from "./props.js";
28
+ import { allowedProps } from './props.js';
29
29
  const STATES = {
30
30
  EXITED: -2,
31
31
  EXITING: -1,
@@ -41,7 +41,7 @@ private: true
41
41
  so that it works with css modules. The internals are pretty different now, but it has roughly the same api.
42
42
  **/
43
43
  class BaseTransition extends Component {
44
- static displayName = "BaseTransition";
44
+ static displayName = 'BaseTransition';
45
45
  static allowedProps = allowedProps;
46
46
  static defaultProps = {
47
47
  in: false,
@@ -27,19 +27,19 @@ var _dec, _class;
27
27
  import { Component } from 'react';
28
28
  import { ms } from '@instructure/ui-utils';
29
29
  import { withStyle, Global } from '@instructure/emotion';
30
- import generateStyle from "./styles.js";
31
- import generateComponentTheme from "./theme.js";
32
- import { BaseTransition } from "./BaseTransition/index.js";
33
- import { allowedProps } from "./props.js";
30
+ import generateStyle from './styles.js';
31
+ import generateComponentTheme from './theme.js';
32
+ import { BaseTransition } from './BaseTransition/index.js';
33
+ import { allowedProps } from './props.js';
34
34
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
35
35
  /**
36
36
  ---
37
- category: components/utilities
37
+ category: components/Util Components
38
38
  ---
39
39
  @module Transition
40
40
  **/
41
41
  let Transition = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = class Transition extends Component {
42
- static displayName = "Transition";
42
+ static displayName = 'Transition';
43
43
  static componentId = 'Transition';
44
44
  static allowedProps = allowedProps;
45
45
  static defaultProps = {
package/es/index.js 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 { Transition } from "./Transition/index.js";
25
- export { BaseTransition } from "./Transition/BaseTransition/index.js";
24
+ export { Transition } from './Transition/index.js';
25
+ export { BaseTransition } from './Transition/BaseTransition/index.js';
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@instructure/ui-motion",
3
- "version": "11.7.3",
3
+ "version": "11.7.4-pr-snapshot-1781695314229",
4
+ "type": "module",
4
5
  "description": "A UI component library made by Instructure Inc.",
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,18 +15,18 @@
15
15
  "license": "MIT",
16
16
  "dependencies": {
17
17
  "@babel/runtime": "^7.29.2",
18
- "@instructure/shared-types": "11.7.3",
19
- "@instructure/ui-dom-utils": "11.7.3",
20
- "@instructure/ui-themes": "11.7.3",
21
- "@instructure/emotion": "11.7.3",
22
- "@instructure/ui-utils": "11.7.3",
23
- "@instructure/ui-react-utils": "11.7.3"
18
+ "@instructure/shared-types": "11.7.4-pr-snapshot-1781695314229",
19
+ "@instructure/emotion": "11.7.4-pr-snapshot-1781695314229",
20
+ "@instructure/ui-dom-utils": "11.7.4-pr-snapshot-1781695314229",
21
+ "@instructure/ui-react-utils": "11.7.4-pr-snapshot-1781695314229",
22
+ "@instructure/ui-themes": "11.7.4-pr-snapshot-1781695314229",
23
+ "@instructure/ui-utils": "11.7.4-pr-snapshot-1781695314229"
24
24
  },
25
25
  "devDependencies": {
26
26
  "@testing-library/jest-dom": "^6.6.3",
27
27
  "@testing-library/react": "15.0.7",
28
28
  "vitest": "^3.2.2",
29
- "@instructure/ui-babel-preset": "11.7.3"
29
+ "@instructure/ui-babel-preset": "11.7.4-pr-snapshot-1781695314229"
30
30
  },
31
31
  "peerDependencies": {
32
32
  "react": ">=18 <=19"
@@ -40,10 +40,8 @@
40
40
  "src": "./src/index.ts",
41
41
  "types": "./types/index.d.ts",
42
42
  "import": "./es/index.js",
43
- "require": "./lib/index.js",
44
43
  "default": "./es/index.js"
45
44
  },
46
- "./lib/*": "./lib/*",
47
45
  "./es/*": "./es/*",
48
46
  "./types/*": "./types/*",
49
47
  "./package.json": "./package.json",
@@ -53,7 +51,7 @@
53
51
  "lint": "ui-scripts lint",
54
52
  "lint:fix": "ui-scripts lint --fix",
55
53
  "clean": "ui-scripts clean",
56
- "build": "ui-scripts build --modules es,cjs",
54
+ "build": "ui-scripts build",
57
55
  "build:watch": "pnpm run ts:check -- --watch & ui-scripts build --watch",
58
56
  "build:types": "tsc -p tsconfig.build.json",
59
57
  "ts:check": "tsc -p tsconfig.build.json --noEmit --emitDeclarationOnly false"
@@ -30,7 +30,7 @@ import {
30
30
  safeCloneElement
31
31
  } from '@instructure/ui-react-utils'
32
32
 
33
- import { allowedProps } from './props'
33
+ import { allowedProps } from './props.js'
34
34
  import type {
35
35
  BaseTransitionProps,
36
36
  BaseTransitionState,
@@ -56,6 +56,7 @@ class BaseTransition extends Component<
56
56
  BaseTransitionProps,
57
57
  BaseTransitionState
58
58
  > {
59
+ static displayName = 'BaseTransition'
59
60
  static allowedProps = allowedProps
60
61
  static defaultProps = {
61
62
  in: false,
@@ -29,22 +29,23 @@ import { ms } from '@instructure/ui-utils'
29
29
 
30
30
  import { withStyle, Global } from '@instructure/emotion'
31
31
 
32
- import generateStyle from './styles'
33
- import generateComponentTheme from './theme'
32
+ import generateStyle from './styles.js'
33
+ import generateComponentTheme from './theme.js'
34
34
 
35
- import { BaseTransition } from './BaseTransition'
35
+ import { BaseTransition } from './BaseTransition/index.js'
36
36
 
37
- import { allowedProps } from './props'
37
+ import { allowedProps } from './props.js'
38
38
  import type { TransitionProps } from './props'
39
39
 
40
40
  /**
41
41
  ---
42
- category: components/utilities
42
+ category: components/Util Components
43
43
  ---
44
44
  @module Transition
45
45
  **/
46
46
  @withStyle(generateStyle, generateComponentTheme)
47
47
  class Transition extends Component<TransitionProps> {
48
+ static displayName = 'Transition'
48
49
  static readonly componentId = 'Transition'
49
50
 
50
51
  static allowedProps = allowedProps
package/src/index.ts CHANGED
@@ -21,7 +21,7 @@
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 { Transition } from './Transition'
25
- export { BaseTransition } from './Transition/BaseTransition'
24
+ export { Transition } from './Transition/index.js'
25
+ export { BaseTransition } from './Transition/BaseTransition/index.js'
26
26
  export type { TransitionProps, TransitionType } from './Transition/props'
27
27
  export type { BaseTransitionStatesType } from './Transition/BaseTransition/props'