Socket
Socket
Sign inDemoInstall

@hiogawa/tiny-toast

Package Overview
Dependencies
3
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.1-pre.6 to 0.1.1-pre.7

6

dist/preact/index.js

@@ -915,3 +915,3 @@ // ../../node_modules/.pnpm/preact@10.17.1/node_modules/preact/dist/preact.mjs

class: item.data.class,
style: item.data.style ?? istyle({
style: istyle({
display: "flex",

@@ -922,3 +922,3 @@ alignItems: "center",

boxShadow: "0 3px 10px rgba(0, 0, 0, 0.1), 0 3px 3px rgba(0, 0, 0, 0.05)"
})
}) + (item.data.style ?? "")
},

@@ -949,3 +949,3 @@ includesGuard(["success", "error", "info"], item.data.type) && y("span", {

function istyle(props) {
return Object.entries(props).map(([k3, v3]) => `${k3.replace(/[A-Z]/g, "-$&").toLowerCase()}:${v3}`).join(";");
return Object.entries(props).map(([k3, v3]) => `${k3.replace(/[A-Z]/g, "-$&").toLowerCase()}:${v3};`).join("");
}

@@ -952,0 +952,0 @@

@@ -662,6 +662,3 @@ // src/utils.ts

show: item.step < TOAST_STEP.DISMISS,
style: {
pointerEvents: "auto",
transitionDuration: "200ms"
},
style: { pointerEvents: "auto" },
onEnterFrom: transition.enterFrom,

@@ -690,3 +687,3 @@ onEnterTo: transition.enterTo,

alignItems: "center",
padding: "8px 10px",
padding: "10px 10px",
borderRadius: "8px",

@@ -711,3 +708,3 @@ boxShadow: "0 3px 10px rgba(0, 0, 0, 0.1), 0 3px 3px rgba(0, 0, 0, 0.05)",

),
/* @__PURE__ */ React8.createElement("div", { style: { padding: "0 0.5rem" } }, item.data.render({ item, toast }))
/* @__PURE__ */ React8.createElement("div", { style: { padding: "0 10px" } }, item.data.render({ item, toast }))
);

@@ -714,0 +711,0 @@ }

{
"name": "@hiogawa/tiny-toast",
"version": "0.1.1-pre.6",
"version": "0.1.1-pre.7",
"type": "module",

@@ -41,4 +41,4 @@ "main": "./dist/index.js",

"react": "^18.2.0",
"@hiogawa/tiny-transition": "0.0.1-pre.3",
"@hiogawa/unocss-preset-antd": "2.2.1-pre.5"
"@hiogawa/unocss-preset-antd": "2.2.1-pre.5",
"@hiogawa/tiny-transition": "0.0.1-pre.3"
},

@@ -45,0 +45,0 @@ "peerDependencies": {

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc