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

@mirohq/design-system-base-button

Package Overview
Dependencies
Maintainers
2
Versions
144
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mirohq/design-system-base-button - npm Package Compare versions

Comparing version 0.4.13 to 0.4.14

53

dist/main.js

@@ -38,2 +38,53 @@ 'use strict';

const ariaDisabledEventExceptions = [
"onAnimationEnd",
"onAnimationEndCapture",
"onAnimationIteration",
"onAnimationIterationCapture",
"onAnimationStartCapture",
"onBlur",
"onBlurCapture",
"onDragEnter",
"onDragEnterCapture",
"onDragExit",
"onDragExitCapture",
"onDragLeave",
"onDragLeave",
"onDragLeaveCapture",
"onDragLeaveCapture",
"onDragOver",
"onDragOver",
"onDragOverCapture",
"onDragOverCapture",
"onFocus",
"onFocusCapture",
"onGotPointerCapture",
"onGotPointerCaptureCapture",
"onLostPointerCapture",
"onLostPointerCaptureCapture",
"onMouseEnter",
"onMouseLeave",
"onMouseMove",
"onMouseMoveCapture",
"onMouseOut",
"onMouseOutCapture",
"onMouseOver",
"onMouseOverCapture",
"onPointerEnter",
"onPointerEnterCapture",
"onPointerLeave",
"onPointerLeaveCapture",
"onPointerMove",
"onPointerMoveCapture",
"onPointerOut",
"onPointerOutCapture",
"onPointerOver",
"onPointerOverCapture",
"onTouchMove",
"onTouchMoveCapture",
"onTransitionEnd",
"onTransitionEndCapture",
"onWheel",
"onWheelCapture"
];
const BaseButton = React__default["default"].forwardRef(

@@ -55,3 +106,3 @@ ({

if (designSystemUtils.booleanify(ariaDisabled)) {
elementProps = designSystemUtils.removeEventProps(elementProps, ["onBlur", "onFocus"]);
elementProps = designSystemUtils.removeEventProps(elementProps, ariaDisabledEventExceptions);
}

@@ -58,0 +109,0 @@ const { pressProps, isPressed } = designSystemUsePress.usePress({

@@ -30,2 +30,53 @@ import { jsx } from 'react/jsx-runtime';

const ariaDisabledEventExceptions = [
"onAnimationEnd",
"onAnimationEndCapture",
"onAnimationIteration",
"onAnimationIterationCapture",
"onAnimationStartCapture",
"onBlur",
"onBlurCapture",
"onDragEnter",
"onDragEnterCapture",
"onDragExit",
"onDragExitCapture",
"onDragLeave",
"onDragLeave",
"onDragLeaveCapture",
"onDragLeaveCapture",
"onDragOver",
"onDragOver",
"onDragOverCapture",
"onDragOverCapture",
"onFocus",
"onFocusCapture",
"onGotPointerCapture",
"onGotPointerCaptureCapture",
"onLostPointerCapture",
"onLostPointerCaptureCapture",
"onMouseEnter",
"onMouseLeave",
"onMouseMove",
"onMouseMoveCapture",
"onMouseOut",
"onMouseOutCapture",
"onMouseOver",
"onMouseOverCapture",
"onPointerEnter",
"onPointerEnterCapture",
"onPointerLeave",
"onPointerLeaveCapture",
"onPointerMove",
"onPointerMoveCapture",
"onPointerOut",
"onPointerOutCapture",
"onPointerOver",
"onPointerOverCapture",
"onTouchMove",
"onTouchMoveCapture",
"onTransitionEnd",
"onTransitionEndCapture",
"onWheel",
"onWheelCapture"
];
const BaseButton = React.forwardRef(

@@ -47,3 +98,3 @@ ({

if (booleanify(ariaDisabled)) {
elementProps = removeEventProps(elementProps, ["onBlur", "onFocus"]);
elementProps = removeEventProps(elementProps, ariaDisabledEventExceptions);
}

@@ -50,0 +101,0 @@ const { pressProps, isPressed } = usePress({

5

package.json
{
"name": "@mirohq/design-system-base-button",
"version": "0.4.13",
"version": "0.4.14",
"description": "",

@@ -33,3 +33,4 @@ "author": "Miro",

"@mirohq/design-system-primitive": "^1.1.0",
"@mirohq/design-system-stitches": "^2.3.5"
"@mirohq/design-system-stitches": "^2.3.5",
"@mirohq/design-system-types": "^0.6.0"
},

@@ -36,0 +37,0 @@ "scripts": {

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