@scalar/use-toasts
Advanced tools
Comparing version 0.7.4 to 0.7.5
# @scalar/use-toasts | ||
## 0.7.5 | ||
### Patch Changes | ||
- db92a85: fix(use-toasts): set parent class for scalar toasts | ||
## 0.7.4 | ||
@@ -4,0 +10,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { defineComponent as c, ref as i, onMounted as u, openBlock as f, createBlock as m, unref as p, createCommentVNode as l } from "vue"; | ||
import { defineComponent as c, ref as i, onMounted as u, openBlock as f, createBlock as m, unref as l, createCommentVNode as p } from "vue"; | ||
import { toast as t, Toaster as d } from "vue-sonner"; | ||
@@ -20,6 +20,6 @@ import { useToasts as _ } from "../hooks/useToasts.js"; | ||
}); | ||
}), (s, r) => o.value ? (f(), m(p(d), { | ||
}), (s, r) => o.value ? (f(), m(l(d), { | ||
key: 0, | ||
toastOptions: { class: "toaster" } | ||
})) : l("", !0); | ||
class: "scalar-toaster" | ||
})) : p("", !0); | ||
} | ||
@@ -26,0 +26,0 @@ }); |
@@ -1,2 +0,2 @@ | ||
(function(){"use strict";try{if(typeof document<"u"){var a=document.createElement("style");a.appendChild(document.createTextNode(".toaster[data-sonner-toast][data-styled=true]{background:var(--scalar-background-1);color:var(--scalar-color-1);padding:18px;border:none;border-radius:var(--scalar-radius-lg);font-size:var(--scalar-font-size-3);font-weight:var(--scalar-font-medium);box-shadow:var(--scalar-shadow-2)}.toaster[data-sonner-toast] [data-icon]{align-self:start}.toaster[data-sonner-toast][data-styled=true][data-expanded=true]{height:auto}.toaster[data-sonner-toast][data-type=error]{background:var(--scalar-background-1)}.toaster[data-sonner-toast][data-type=error] [data-icon]{color:color-mix(in srgb,var(--scalar-color-red) 75%,var(--scalar-color-1))}.toaster[data-sonner-toast][data-type=warning]{background:var(--scalar-background-1)}.toaster[data-sonner-toast][data-type=warning] [data-icon]{color:color-mix(in srgb,var(--scalar-color-orange) 90%,var(--scalar-color-1))}")),document.head.appendChild(a)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})(); | ||
(function(){"use strict";try{if(typeof document<"u"){var a=document.createElement("style");a.appendChild(document.createTextNode(".scalar-toaster [data-sonner-toast][data-styled=true]{background:var(--scalar-background-1);color:var(--scalar-color-1);padding:18px;border:none;border-radius:var(--scalar-radius-lg);font-size:var(--scalar-font-size-3);font-weight:var(--scalar-font-medium);box-shadow:var(--scalar-shadow-2)}.scalar-toaster [data-sonner-toast] [data-icon]{align-self:start;position:relative;top:2px}.scalar-toaster [data-sonner-toast][data-styled=true][data-expanded=true]{height:auto}.scalar-toaster [data-sonner-toast][data-type=error]{background:var(--scalar-background-1)}.scalar-toaster [data-sonner-toast][data-type=error] [data-icon]{color:color-mix(in srgb,var(--scalar-color-red) 75%,var(--scalar-color-1))}.scalar-toaster [data-sonner-toast][data-type=warning]{background:var(--scalar-background-1)}.scalar-toaster [data-sonner-toast][data-type=warning] [data-icon]{color:color-mix(in srgb,var(--scalar-color-orange) 90%,var(--scalar-color-1))}")),document.head.appendChild(a)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})(); | ||
import { default as t } from "./components/ScalarToasts.vue.js"; | ||
@@ -3,0 +3,0 @@ |
@@ -20,3 +20,3 @@ { | ||
], | ||
"version": "0.7.4", | ||
"version": "0.7.5", | ||
"engines": { | ||
@@ -33,3 +33,3 @@ "node": ">=18" | ||
"nanoid": "^5.0.7", | ||
"vue": "^3.4.22", | ||
"vue": "^3.4.29", | ||
"vue-sonner": "^1.0.3" | ||
@@ -40,8 +40,6 @@ }, | ||
"@vitest/coverage-v8": "^1.6.0", | ||
"tsc-alias": "^1.8.8", | ||
"vite": "^5.2.10", | ||
"vite-plugin-css-injected-by-js": "^3.4.0", | ||
"vitest": "^1.6.0", | ||
"vue-tsc": "^2.0.13", | ||
"@scalar/build-tooling": "0.1.7" | ||
"@scalar/build-tooling": "0.1.10" | ||
}, | ||
@@ -48,0 +46,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6
18905
Updatedvue@^3.4.29