@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.cjs
CHANGED
|
@@ -12299,7 +12299,7 @@ var TOAST_VARIANTS = {
|
|
|
12299
12299
|
backgroundColor: "rgb(var(--color-fg))",
|
|
12300
12300
|
textColor: "rgb(var(--color-fg-inverse))",
|
|
12301
12301
|
iconBackground: "rgb(var(--color-success-400))",
|
|
12302
|
-
toastContentColor: "rgb(var(--color-success-
|
|
12302
|
+
toastContentColor: "rgb(var(--color-success-600))",
|
|
12303
12303
|
icon: /* @__PURE__ */ import_react37.default.createElement(
|
|
12304
12304
|
Success,
|
|
12305
12305
|
{
|
|
@@ -12312,22 +12312,22 @@ var TOAST_VARIANTS = {
|
|
|
12312
12312
|
error: {
|
|
12313
12313
|
backgroundColor: "rgb(var(--color-fg))",
|
|
12314
12314
|
textColor: "rgb(var(--color-fg-inverse))",
|
|
12315
|
-
|
|
12316
|
-
|
|
12315
|
+
toastContentColor: "rgb(var(--color-error-600))",
|
|
12316
|
+
iconBackground: "rgb(var(--color-error-400) / 80%)",
|
|
12317
12317
|
icon: /* @__PURE__ */ import_react37.default.createElement(XFill, { size: 16, color: "rgb(var(--color-error-600))" })
|
|
12318
12318
|
},
|
|
12319
12319
|
warning: {
|
|
12320
12320
|
backgroundColor: "rgb(var(--color-fg))",
|
|
12321
12321
|
textColor: "rgb(var(--color-fg-inverse))",
|
|
12322
12322
|
iconBackground: "rgb(var(--color-warning-500))",
|
|
12323
|
-
toastContentColor: "rgb(var(--color-warning-
|
|
12323
|
+
toastContentColor: "rgb(var(--color-warning-600))",
|
|
12324
12324
|
icon: /* @__PURE__ */ import_react37.default.createElement(Warning, { size: 16, color: "rgb(var(--color-warning-600))" })
|
|
12325
12325
|
},
|
|
12326
12326
|
info: {
|
|
12327
12327
|
backgroundColor: "rgb(var(--color-fg))",
|
|
12328
12328
|
textColor: "rgb(var(--color-fg-inverse))",
|
|
12329
12329
|
iconBackground: "rgb(var(--color-primary-400))",
|
|
12330
|
-
toastContentColor: "rgb(var(--color-primary-
|
|
12330
|
+
toastContentColor: "rgb(var(--color-primary-600))",
|
|
12331
12331
|
icon: /* @__PURE__ */ import_react37.default.createElement(
|
|
12332
12332
|
CircledInformation,
|
|
12333
12333
|
{
|
|
@@ -12416,7 +12416,7 @@ var Toast = ({
|
|
|
12416
12416
|
"div",
|
|
12417
12417
|
{
|
|
12418
12418
|
style: { backgroundColor: iconBackground },
|
|
12419
|
-
className: "grid size-
|
|
12419
|
+
className: "grid size-8 place-items-center rounded-full"
|
|
12420
12420
|
},
|
|
12421
12421
|
icon
|
|
12422
12422
|
), /* @__PURE__ */ import_react39.default.createElement("div", { className: "pointer-events-none flex-1" }, title && /* @__PURE__ */ import_react39.default.createElement("p", { className: "font-semibold" }, title), /* @__PURE__ */ import_react39.default.createElement("p", { className: "text-sm" }, message)), /* @__PURE__ */ import_react39.default.createElement(
|