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

@mirohq/design-system-utils

Package Overview
Dependencies
Maintainers
2
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mirohq/design-system-utils - npm Package Compare versions

Comparing version 0.12.1 to 0.13.0-checkbox.0

8

dist/main.js

@@ -37,3 +37,11 @@ 'use strict';

const booleanify = (value) => {
if (value === false || value === "false") {
return false;
}
return true;
};
exports.addPropsToChildren = addPropsToChildren;
exports.booleanify = booleanify;
exports.createConstants = createConstants;

@@ -40,0 +48,0 @@ exports.isFragment = isFragment;

9

dist/module.js

@@ -33,3 +33,10 @@ import { Fragment, Children, cloneElement } from 'react';

export { addPropsToChildren, createConstants, isFragment, mapKeysToVariants };
const booleanify = (value) => {
if (value === false || value === "false") {
return false;
}
return true;
};
export { addPropsToChildren, booleanify, createConstants, isFragment, mapKeysToVariants };
//# sourceMappingURL=module.js.map
import { ReactNode, ReactElement } from 'react';
import * as _stitches_react_types_css_util from '@stitches/react/types/css-util';
import { CSSProperties } from '@stitches/react';
import { Booleanish } from '@mirohq/design-system-types';

@@ -33,2 +34,9 @@ declare const createConstants: <T extends string | number>(...constants: readonly T[]) => { [K in T]: K; };

export { addPropsToChildren, createConstants, isFragment, mapKeysToVariants };
/**
* Returns boolean type.
* @param value
* @returns
*/
declare const booleanify: (value: Booleanish) => boolean;
export { addPropsToChildren, booleanify, createConstants, isFragment, mapKeysToVariants };

5

package.json
{
"name": "@mirohq/design-system-utils",
"version": "0.12.1",
"version": "0.13.0-checkbox.0",
"description": "",

@@ -28,2 +28,5 @@ "author": "Miro",

},
"dependencies": {
"@mirohq/design-system-types": "^0.4.0-checkbox.0"
},
"scripts": {

@@ -30,0 +33,0 @@ "build": "rollup -c ../../rollup.config.js",

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