@plumeria/core 0.21.3 → 0.21.5

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/dist/index.js CHANGED
@@ -151,14 +151,14 @@ const keyframes = (object) => {
151
151
 
152
152
  const viewTransition = (object) => {
153
153
  const hash = (0, zss_engine.genBase36Hash)(object, 1, 8);
154
- const name = `vt-${hash}`;
154
+ const transitionId = `vt-${hash}`;
155
155
  global({
156
- [`::view-transition-group(${name})`]: object.group,
157
- [`::view-transition-image-pair(${name})`]: object.imagePair,
158
- [`::view-transition-old(${name})`]: object.old,
159
- [`::view-transition-new(${name})`]: object.new
156
+ [`::view-transition-group(${transitionId})`]: object.group,
157
+ [`::view-transition-image-pair(${transitionId})`]: object.imagePair,
158
+ [`::view-transition-old(${transitionId})`]: object.old,
159
+ [`::view-transition-new(${transitionId})`]: object.new
160
160
  });
161
- return name;
161
+ return transitionId;
162
162
  };
163
163
 
164
164
  const defineTokens = (object) => {
package/dist/index.mjs CHANGED
@@ -151,14 +151,14 @@ const keyframes = (object) => {
151
151
 
152
152
  const viewTransition = (object) => {
153
153
  const hash = genBase36Hash(object, 1, 8);
154
- const name = `vt-${hash}`;
154
+ const transitionId = `vt-${hash}`;
155
155
  global({
156
- [`::view-transition-group(${name})`]: object.group,
157
- [`::view-transition-image-pair(${name})`]: object.imagePair,
158
- [`::view-transition-old(${name})`]: object.old,
159
- [`::view-transition-new(${name})`]: object.new
156
+ [`::view-transition-group(${transitionId})`]: object.group,
157
+ [`::view-transition-image-pair(${transitionId})`]: object.imagePair,
158
+ [`::view-transition-old(${transitionId})`]: object.old,
159
+ [`::view-transition-new(${transitionId})`]: object.new
160
160
  });
161
- return name;
161
+ return transitionId;
162
162
  };
163
163
 
164
164
  const defineTokens = (object) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plumeria/core",
3
- "version": "0.21.3",
3
+ "version": "0.21.5",
4
4
  "description": "The atomic on-demand CSS-in-JS.",
5
5
  "author": "Refirst 11",
6
6
  "license": "MIT",