@dgithiomi/sbui-web 1.0.4 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +6 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +6 -6
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +3 -3
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -12260,7 +12260,7 @@ var TOAST_VARIANTS = {
|
|
|
12260
12260
|
backgroundColor: "rgb(var(--color-fg))",
|
|
12261
12261
|
textColor: "rgb(var(--color-fg-inverse))",
|
|
12262
12262
|
iconBackground: "rgb(var(--color-success-400))",
|
|
12263
|
-
toastContentColor: "rgb(var(--color-success-
|
|
12263
|
+
toastContentColor: "rgb(var(--color-success-600))",
|
|
12264
12264
|
icon: /* @__PURE__ */ React14.createElement(
|
|
12265
12265
|
Success,
|
|
12266
12266
|
{
|
|
@@ -12273,22 +12273,22 @@ var TOAST_VARIANTS = {
|
|
|
12273
12273
|
error: {
|
|
12274
12274
|
backgroundColor: "rgb(var(--color-fg))",
|
|
12275
12275
|
textColor: "rgb(var(--color-fg-inverse))",
|
|
12276
|
-
|
|
12277
|
-
|
|
12276
|
+
toastContentColor: "rgb(var(--color-error-600))",
|
|
12277
|
+
iconBackground: "rgb(var(--color-error-400) / 80%)",
|
|
12278
12278
|
icon: /* @__PURE__ */ React14.createElement(XFill, { size: 16, color: "rgb(var(--color-error-600))" })
|
|
12279
12279
|
},
|
|
12280
12280
|
warning: {
|
|
12281
12281
|
backgroundColor: "rgb(var(--color-fg))",
|
|
12282
12282
|
textColor: "rgb(var(--color-fg-inverse))",
|
|
12283
12283
|
iconBackground: "rgb(var(--color-warning-500))",
|
|
12284
|
-
toastContentColor: "rgb(var(--color-warning-
|
|
12284
|
+
toastContentColor: "rgb(var(--color-warning-600))",
|
|
12285
12285
|
icon: /* @__PURE__ */ React14.createElement(Warning, { size: 16, color: "rgb(var(--color-warning-600))" })
|
|
12286
12286
|
},
|
|
12287
12287
|
info: {
|
|
12288
12288
|
backgroundColor: "rgb(var(--color-fg))",
|
|
12289
12289
|
textColor: "rgb(var(--color-fg-inverse))",
|
|
12290
12290
|
iconBackground: "rgb(var(--color-primary-400))",
|
|
12291
|
-
toastContentColor: "rgb(var(--color-primary-
|
|
12291
|
+
toastContentColor: "rgb(var(--color-primary-600))",
|
|
12292
12292
|
icon: /* @__PURE__ */ React14.createElement(
|
|
12293
12293
|
CircledInformation,
|
|
12294
12294
|
{
|
|
@@ -12377,7 +12377,7 @@ var Toast = ({
|
|
|
12377
12377
|
"div",
|
|
12378
12378
|
{
|
|
12379
12379
|
style: { backgroundColor: iconBackground },
|
|
12380
|
-
className: "grid size-
|
|
12380
|
+
className: "grid size-8 place-items-center rounded-full"
|
|
12381
12381
|
},
|
|
12382
12382
|
icon
|
|
12383
12383
|
), /* @__PURE__ */ React15.createElement("div", { className: "pointer-events-none flex-1" }, title && /* @__PURE__ */ React15.createElement("p", { className: "font-semibold" }, title), /* @__PURE__ */ React15.createElement("p", { className: "text-sm" }, message)), /* @__PURE__ */ React15.createElement(
|