@carbon/motion 11.44.0 → 11.45.0-rc.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/es/index.js CHANGED
@@ -51,6 +51,5 @@ const motion = (name, mode) => {
51
51
  if (!easing[mode]) throw new Error(`Unable to find a mode for the easing \`${name}\` called: \`${mode}\`. Expected one of: ${Object.keys(easing).join(", ")}`);
52
52
  return easing[mode];
53
53
  };
54
-
55
54
  //#endregion
56
- export { durationFast01, durationFast02, durationModerate01, durationModerate02, durationSlow01, durationSlow02, easings, fast01, fast02, moderate01, moderate02, motion, slow01, slow02, unstable_tokens };
55
+ export { durationFast01, durationFast02, durationModerate01, durationModerate02, durationSlow01, durationSlow02, easings, fast01, fast02, moderate01, moderate02, motion, slow01, slow02, unstable_tokens };
package/lib/index.js CHANGED
@@ -1,5 +1,4 @@
1
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
-
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
2
  //#region src/index.ts
4
3
  /**
5
4
  * Copyright IBM Corp. 2018, 2026
@@ -53,7 +52,6 @@ const motion = (name, mode) => {
53
52
  if (!easing[mode]) throw new Error(`Unable to find a mode for the easing \`${name}\` called: \`${mode}\`. Expected one of: ${Object.keys(easing).join(", ")}`);
54
53
  return easing[mode];
55
54
  };
56
-
57
55
  //#endregion
58
56
  exports.durationFast01 = durationFast01;
59
57
  exports.durationFast02 = durationFast02;
@@ -69,4 +67,4 @@ exports.moderate02 = moderate02;
69
67
  exports.motion = motion;
70
68
  exports.slow01 = slow01;
71
69
  exports.slow02 = slow02;
72
- exports.unstable_tokens = unstable_tokens;
70
+ exports.unstable_tokens = unstable_tokens;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@carbon/motion",
3
3
  "description": "Motion helpers for digital and software products using the Carbon Design System",
4
- "version": "11.44.0",
4
+ "version": "11.45.0-rc.0",
5
5
  "license": "Apache-2.0",
6
6
  "main": "lib/index.js",
7
7
  "module": "es/index.js",
@@ -33,7 +33,7 @@
33
33
  "postinstall": "ibmtelemetry --config=telemetry.yml"
34
34
  },
35
35
  "devDependencies": {
36
- "@carbon/cli": "^11.42.0",
36
+ "@carbon/cli": "^11.43.0-rc.0",
37
37
  "rimraf": "^6.0.1",
38
38
  "typescript": "^5.7.3",
39
39
  "typescript-config-carbon": "^0.9.0"
@@ -41,5 +41,5 @@
41
41
  "dependencies": {
42
42
  "@ibm/telemetry-js": "^1.5.0"
43
43
  },
44
- "gitHead": "937649543e9cc6af9dfb6b53a2adb76760bca986"
44
+ "gitHead": "20a00767571db791cac99d499527e2f995ead478"
45
45
  }
package/umd/index.js CHANGED
@@ -1,12 +1,9 @@
1
1
  (function(global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
3
- typeof define === 'function' && define.amd ? define(['exports'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.CarbonMotion = {})));
2
+ typeof exports === "object" && typeof module !== "undefined" ? factory(exports) : typeof define === "function" && define.amd ? define(["exports"], factory) : (global = typeof globalThis !== "undefined" ? globalThis : global || self, factory(global.CarbonMotion = {}));
5
3
  })(this, function(exports) {
6
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
7
-
8
- //#region src/index.ts
9
- /**
4
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
5
+ //#region src/index.ts
6
+ /**
10
7
  * Copyright IBM Corp. 2018, 2026
11
8
  *
12
9
  * This source code is licensed under the Apache-2.0 license found in the
@@ -58,21 +55,20 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
58
55
  if (!easing[mode]) throw new Error(`Unable to find a mode for the easing \`${name}\` called: \`${mode}\`. Expected one of: ${Object.keys(easing).join(", ")}`);
59
56
  return easing[mode];
60
57
  };
61
-
62
- //#endregion
63
- exports.durationFast01 = durationFast01;
64
- exports.durationFast02 = durationFast02;
65
- exports.durationModerate01 = durationModerate01;
66
- exports.durationModerate02 = durationModerate02;
67
- exports.durationSlow01 = durationSlow01;
68
- exports.durationSlow02 = durationSlow02;
69
- exports.easings = easings;
70
- exports.fast01 = fast01;
71
- exports.fast02 = fast02;
72
- exports.moderate01 = moderate01;
73
- exports.moderate02 = moderate02;
74
- exports.motion = motion;
75
- exports.slow01 = slow01;
76
- exports.slow02 = slow02;
77
- exports.unstable_tokens = unstable_tokens;
78
- });
58
+ //#endregion
59
+ exports.durationFast01 = durationFast01;
60
+ exports.durationFast02 = durationFast02;
61
+ exports.durationModerate01 = durationModerate01;
62
+ exports.durationModerate02 = durationModerate02;
63
+ exports.durationSlow01 = durationSlow01;
64
+ exports.durationSlow02 = durationSlow02;
65
+ exports.easings = easings;
66
+ exports.fast01 = fast01;
67
+ exports.fast02 = fast02;
68
+ exports.moderate01 = moderate01;
69
+ exports.moderate02 = moderate02;
70
+ exports.motion = motion;
71
+ exports.slow01 = slow01;
72
+ exports.slow02 = slow02;
73
+ exports.unstable_tokens = unstable_tokens;
74
+ });