Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

dom-flip

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dom-flip - npm Package Compare versions

Comparing version 0.2.3 to 0.2.4

2

dist/dom-flip.d.ts

@@ -71,3 +71,3 @@ /**

*
* Defaults to `transitioning`.
* Defaults to `dom-flip-transitioning`.
*

@@ -74,0 +74,0 @@ * @type String

/**
* The regex used to parse the transform matrix string.
*/
const transformRegex = /matrix\((-?\d*\.?\d+),\s*0,\s*0,\s*(-?\d*\.?\d+),\s*0,\s*0\)/;
/**
* Generates a CSS `translate`-rule compatible string that does a 2D transform.

@@ -25,2 +21,6 @@ *

/**
* The regex used to parse the transform matrix string.
*/
const transformRegex = /matrix\((-?\d*\.?\d+),\s*0,\s*0,\s*(-?\d*\.?\d+),\s*0,\s*0\)/;
/**
* `dom-flip`

@@ -96,7 +96,7 @@ *

*
* Defaults to `transitioning`.
* Defaults to `dom-flip-transitioning`.
*
* @type String
*/
this.transitionClassName = 'transitioning';
this.transitionClassName = 'dom-flip-transitioning';
/**

@@ -103,0 +103,0 @@ * Whether a dom change event handler is enqueued for the current animation frame.

/**
* All used attribute names.
*/
const enum AttributeNames {
Active = 'active',
AttrName = 'attr-name',
DelayMs = 'delay-ms',
DurationMs = 'duration-ms',
Easing = 'easing',
TransitionClassName = 'transition-class-name',
}
/**
* Child metadata.

@@ -18,19 +30,2 @@ */

/**
* All used attribute names.
*/
const enum AttributeNames {
Active = 'active',
AttrName = 'attr-name',
DelayMs = 'delay-ms',
DurationMs = 'duration-ms',
Easing = 'easing',
TransitionClassName = 'transition-class-name',
}
/**
* The regex used to parse the transform matrix string.
*/
const transformRegex = /matrix\((-?\d*\.?\d+),\s*0,\s*0,\s*(-?\d*\.?\d+),\s*0,\s*0\)/;
/**
* Generates a CSS `translate`-rule compatible string that does a 2D transform.

@@ -59,2 +54,7 @@ *

/**
* The regex used to parse the transform matrix string.
*/
const transformRegex = /matrix\((-?\d*\.?\d+),\s*0,\s*0,\s*(-?\d*\.?\d+),\s*0,\s*0\)/;
/**
* `dom-flip`

@@ -144,7 +144,7 @@ *

*
* Defaults to `transitioning`.
* Defaults to `dom-flip-transitioning`.
*
* @type String
*/
transitionClassName: string = 'transitioning';
transitionClassName: string = 'dom-flip-transitioning';

@@ -274,3 +274,3 @@ /**

const bbox = this.getBoundingClientRect();
const map = new Map();
const map = new Map<string, [HTMLElement, ChildData]>();

@@ -277,0 +277,0 @@ for (const el of this._slot.assignedNodes()) {

{
"name": "dom-flip",
"version": "0.2.3",
"version": "0.2.4",
"description": "Smooth position animation for web components",

@@ -5,0 +5,0 @@ "main": "dist/dom-flip.js",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc