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

@zag-js/types

Package Overview
Dependencies
Maintainers
1
Versions
836
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zag-js/types - npm Package Compare versions

Comparing version 0.0.0-dev-20220413091534 to 0.0.0-dev-20220413174154

dist/controls.d.ts.map

1

dist/controls.d.ts

@@ -42,1 +42,2 @@ export declare type ControlProp = {

export declare function defineControls<T extends ControlRecord>(config: T): T;
//# sourceMappingURL=controls.d.ts.map

@@ -32,1 +32,2 @@ import type * as React from "react";

export * from "./controls";
//# sourceMappingURL=index.d.ts.map

@@ -1,2 +0,38 @@

var a=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var p=Object.prototype.hasOwnProperty;var u=(t,e)=>{for(var o in e)a(t,o,{get:e[o],enumerable:!0})},d=(t,e,o,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of s(e))!p.call(t,n)&&n!==o&&a(t,n,{get:()=>e[n],enumerable:!(r=i(e,n))||r.enumerable});return t};var y=t=>d(a({},"__esModule",{value:!0}),t);var m={};u(m,{createNormalizer:()=>l,defineControls:()=>T,normalizeProp:()=>b});module.exports=y(m);function l(t){return{button:t,label:t,input:t,output:t,element:t}}var b=l(t=>t);function T(t){return t}
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
for (var name in all)
__defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") {
for (let key of __getOwnPropNames(from))
if (!__hasOwnProp.call(to, key) && key !== except)
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
}
return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
// src/index.ts
var src_exports = {};
__export(src_exports, {
createNormalizer: () => createNormalizer,
defineControls: () => defineControls,
normalizeProp: () => normalizeProp
});
module.exports = __toCommonJS(src_exports);
// src/prop-types.ts
function createNormalizer(fn) {
return { button: fn, label: fn, input: fn, output: fn, element: fn };
}
var normalizeProp = createNormalizer((v) => v);
// src/controls.ts
function defineControls(config) {
return config;
}
//# sourceMappingURL=index.js.map

@@ -69,1 +69,2 @@ import type * as React from "react";

export {};
//# sourceMappingURL=prop-types.d.ts.map

15

package.json
{
"name": "@zag-js/types",
"version": "0.0.0-dev-20220413091534",
"version": "0.0.0-dev-20220413174154",
"keywords": [

@@ -18,3 +18,3 @@ "js",

"files": [
"dist"
"dist/**/*"
],

@@ -26,3 +26,12 @@ "publishConfig": {

"url": "https://github.com/chakra-ui/zag/issues"
},
"scripts": {
"build:fast": "zag build",
"start": "zag build --watch",
"build": "zag build --prod",
"test": "jest --config ../../jest.config.js --rootDir . --passWithNoTests",
"lint": "eslint src --ext .ts,.tsx",
"test:ci": "yarn test --ci --runInBand",
"test:watch": "yarn test --watch --updateSnapshot"
}
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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