New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@yamada-ui/switch

Package Overview
Dependencies
Maintainers
1
Versions
1155
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@yamada-ui/switch - npm Package Compare versions

Comparing version 0.0.0-dev-20230625235915 to 0.0.0-dev-20230701130255

dist/chunk-J2GEE6AC.mjs

4

dist/index.js

@@ -43,3 +43,3 @@ "use strict";

labelProps,
reverse,
isReverse,
flexDirection,

@@ -78,3 +78,3 @@ transition = {

display: "inline-flex",
flexDirection: flexDirection != null ? flexDirection : reverse ? "row-reverse" : "row",
flexDirection: flexDirection != null ? flexDirection : isReverse ? "row-reverse" : "row",
alignItems: "center",

@@ -81,0 +81,0 @@ verticalAlign: "top",

@@ -14,6 +14,23 @@ import * as _yamada_ui_core from '@yamada-ui/core';

type SwitchOptions = {
/**
* The switch icon to use.
*/
icon?: ReactElement<SwitchIconProps>;
/**
* Props for switch input element.
*/
inputProps?: InputHTMLAttributes<HTMLInputElement>;
/**
* Props for switch label element.
*/
labelProps?: HTMLUIProps<'span'>;
reverse?: boolean;
/**
* Change switch label from right to left.
*
* @default false
*/
isReverse?: boolean;
/**
* Motion transition settings.
*/
transition?: MotionTransition;

@@ -20,0 +37,0 @@ };

@@ -41,3 +41,3 @@ "use strict";

labelProps,
reverse,
isReverse,
flexDirection,

@@ -76,3 +76,3 @@ transition = {

display: "inline-flex",
flexDirection: flexDirection != null ? flexDirection : reverse ? "row-reverse" : "row",
flexDirection: flexDirection != null ? flexDirection : isReverse ? "row-reverse" : "row",
alignItems: "center",

@@ -79,0 +79,0 @@ verticalAlign: "top",

{
"name": "@yamada-ui/switch",
"version": "0.0.0-dev-20230625235915",
"version": "0.0.0-dev-20230701130255",
"description": "Yamada UI switch component",

@@ -38,6 +38,6 @@ "keywords": [

"dependencies": {
"@yamada-ui/core": "0.0.0-dev-20230625235915",
"@yamada-ui/core": "0.0.0-dev-20230701130255",
"@yamada-ui/utils": "0.1.1",
"@yamada-ui/checkbox": "0.0.0-dev-20230625235915",
"@yamada-ui/motion": "0.0.0-dev-20230625235915"
"@yamada-ui/checkbox": "0.0.0-dev-20230701130255",
"@yamada-ui/motion": "0.0.0-dev-20230701130255"
},

@@ -76,4 +76,4 @@ "devDependencies": {

"typecheck": "tsc --noEmit",
"gen:types": "tsx ../../../scripts/generate-types"
"gen:docs": "tsx ../../../scripts/generate-docs"
}
}

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