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

seemly

Package Overview
Dependencies
Maintainers
1
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

seemly - npm Package Compare versions

Comparing version 0.0.1-alpha.1 to 0.0.1-alpha.2

es/dom/unwrap-element.d.ts

2

es/css/index.d.ts
export declare function depx(value: string | number): number;
export declare function pxfy(value: string): string;
export declare function pxfy(value: string | number): string;

@@ -11,3 +11,7 @@ export function depx(value) {

export function pxfy(value) {
if (typeof value === 'number')
return `${value}px`;
if (value.endsWith('px'))
return value;
return `${value}px`;
}
export { nextFrameOnce } from './animation/next-frame-once';
export { nextFrame } from './animation/next-frame';
export { getScrollParent } from './dom/get-scroll-parent';
export { unwrapElement } from './dom/unwrap-element';
export { depx, pxfy } from './css/index';
export { changeColor, rgba, composite } from './color';
export { createId } from './misc/index';
export { nextFrameOnce } from './animation/next-frame-once';
export { nextFrame } from './animation/next-frame';
export { getScrollParent } from './dom/get-scroll-parent';
export { unwrapElement } from './dom/unwrap-element';
export { depx, pxfy } from './css/index';
export { changeColor, rgba, composite } from './color';
export { createId } from './misc/index';
export declare function depx(value: string | number): number;
export declare function pxfy(value: string): string;
export declare function pxfy(value: string | number): string;

@@ -15,4 +15,8 @@ "use strict";

function pxfy(value) {
if (typeof value === 'number')
return `${value}px`;
if (value.endsWith('px'))
return value;
return `${value}px`;
}
exports.pxfy = pxfy;
export { nextFrameOnce } from './animation/next-frame-once';
export { nextFrame } from './animation/next-frame';
export { getScrollParent } from './dom/get-scroll-parent';
export { unwrapElement } from './dom/unwrap-element';
export { depx, pxfy } from './css/index';
export { changeColor, rgba, composite } from './color';
export { createId } from './misc/index';
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.composite = exports.rgba = exports.changeColor = exports.pxfy = exports.depx = exports.getScrollParent = exports.nextFrame = exports.nextFrameOnce = void 0;
exports.createId = exports.composite = exports.rgba = exports.changeColor = exports.pxfy = exports.depx = exports.unwrapElement = exports.getScrollParent = exports.nextFrame = exports.nextFrameOnce = void 0;
var next_frame_once_1 = require("./animation/next-frame-once");

@@ -10,2 +10,4 @@ Object.defineProperty(exports, "nextFrameOnce", { enumerable: true, get: function () { return next_frame_once_1.nextFrameOnce; } });

Object.defineProperty(exports, "getScrollParent", { enumerable: true, get: function () { return get_scroll_parent_1.getScrollParent; } });
var unwrap_element_1 = require("./dom/unwrap-element");
Object.defineProperty(exports, "unwrapElement", { enumerable: true, get: function () { return unwrap_element_1.unwrapElement; } });
var index_1 = require("./css/index");

@@ -18,1 +20,3 @@ Object.defineProperty(exports, "depx", { enumerable: true, get: function () { return index_1.depx; } });

Object.defineProperty(exports, "composite", { enumerable: true, get: function () { return color_1.composite; } });
var index_2 = require("./misc/index");
Object.defineProperty(exports, "createId", { enumerable: true, get: function () { return index_2.createId; } });
{
"name": "seemly",
"version": "0.0.1-alpha.1",
"version": "0.0.1-alpha.2",
"description": "Utils for user interface.",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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