@vygruppen/spor-react 13.1.1 → 13.1.3
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/.turbo/turbo-build.log +8 -8
- package/.turbo/turbo-postinstall.log +2 -2
- package/CHANGELOG.md +14 -0
- package/dist/index.cjs +36 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +36 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/logo/VyLogo.tsx +14 -0
- package/src/toast/toast.tsx +7 -1
package/dist/index.mjs
CHANGED
|
@@ -5633,7 +5633,18 @@ var VyLogo = ({
|
|
|
5633
5633
|
fillRule: "evenodd",
|
|
5634
5634
|
clipRule: "evenodd",
|
|
5635
5635
|
d: "M98.49.07h-1.82c-2.98 0-4.6 1.49-5.63 5.06l-6.52 21.79a18.22 18.22 0 0 1-1.67 3.96c.57.78 1.17 1.26 1.76 1.38 1.13-.96 2.06-2.75 2.89-5.46l6.49-21.67c.9-3.1 2.23-4.63 4.5-4.98a.04.04 0 0 0 0-.08Z",
|
|
5636
|
-
fill: fillForAccent
|
|
5636
|
+
fill: fillForAccent,
|
|
5637
|
+
display: { _light: "block", _dark: "none" }
|
|
5638
|
+
}
|
|
5639
|
+
),
|
|
5640
|
+
/* @__PURE__ */ jsx(
|
|
5641
|
+
Path,
|
|
5642
|
+
{
|
|
5643
|
+
fillRule: "evenodd",
|
|
5644
|
+
clipRule: "evenodd",
|
|
5645
|
+
d: "M98.49.07h-1.82c-2.98 0-4.6 1.49-5.63 5.06l-6.52 21.79a18.22 18.22 0 0 1-1.67 3.96c.57.78 1.17 1.26 1.76 1.38 1.13-.96 2.06-2.75 2.89-5.46l6.49-21.67c.9-3.1 2.23-4.63 4.5-4.98a.04.04 0 0 0 0-.08Z",
|
|
5646
|
+
fill: "main",
|
|
5647
|
+
display: { _light: "none", _dark: "block" }
|
|
5637
5648
|
}
|
|
5638
5649
|
),
|
|
5639
5650
|
/* @__PURE__ */ jsx(
|
|
@@ -5685,7 +5696,16 @@ var VyLogo = ({
|
|
|
5685
5696
|
Path,
|
|
5686
5697
|
{
|
|
5687
5698
|
d: "M53.78 1.44a4.64 4.64 0 0 0-4.17.93A10.79 10.79 0 0 0 46.19 8L34.53 47.72c-.58 1.93-1.2 3.75-2.56 4.87-.62.5-1.4.86-2.39 1.01a.04.04 0 0 0 0 .08h1.8c1.57 0 2.69-.41 3.53-1.1 1.36-1.1 1.98-2.93 2.56-4.86L49.05 8.3c.73-2.74 1.95-4.63 3.43-5.9.43-.36.88-.68 1.35-.95l-.05-.01Z",
|
|
5688
|
-
fill: fillForAccent
|
|
5699
|
+
fill: fillForAccent,
|
|
5700
|
+
display: { _light: "block", _dark: "none" }
|
|
5701
|
+
}
|
|
5702
|
+
),
|
|
5703
|
+
/* @__PURE__ */ jsx(
|
|
5704
|
+
Path,
|
|
5705
|
+
{
|
|
5706
|
+
d: "M53.78 1.44a4.64 4.64 0 0 0-4.17.93A10.79 10.79 0 0 0 46.19 8L34.53 47.72c-.58 1.93-1.2 3.75-2.56 4.87-.62.5-1.4.86-2.39 1.01a.04.04 0 0 0 0 .08h1.8c1.57 0 2.69-.41 3.53-1.1 1.36-1.1 1.98-2.93 2.56-4.86L49.05 8.3c.73-2.74 1.95-4.63 3.43-5.9.43-.36.88-.68 1.35-.95l-.05-.01Z",
|
|
5707
|
+
fill: "main",
|
|
5708
|
+
display: { _light: "none", _dark: "block" }
|
|
5689
5709
|
}
|
|
5690
5710
|
)
|
|
5691
5711
|
] }),
|
|
@@ -6539,10 +6559,20 @@ var createToast = ({
|
|
|
6539
6559
|
var Toaster = () => {
|
|
6540
6560
|
return /* @__PURE__ */ jsx(Portal, { children: /* @__PURE__ */ jsx(Toaster$1, { toaster, insetInline: { mdDown: "4" }, children: (toast) => {
|
|
6541
6561
|
var _a6;
|
|
6542
|
-
return /* @__PURE__ */ jsxs(
|
|
6543
|
-
|
|
6544
|
-
|
|
6545
|
-
|
|
6562
|
+
return /* @__PURE__ */ jsxs(
|
|
6563
|
+
Toast.Root,
|
|
6564
|
+
{
|
|
6565
|
+
width: { md: (_a6 = toast.meta) == null ? void 0 : _a6.width },
|
|
6566
|
+
border: "sm",
|
|
6567
|
+
borderColor: `outline.${toast.type}`,
|
|
6568
|
+
boxShadow: "sm",
|
|
6569
|
+
role: "alert",
|
|
6570
|
+
children: [
|
|
6571
|
+
/* @__PURE__ */ jsx(AlertIcon, { variant: toast.type }),
|
|
6572
|
+
/* @__PURE__ */ jsx(Stack, { gap: "1", flex: "1", maxWidth: "100%", children: /* @__PURE__ */ jsx(Toast.Description, { children: toast.description }) })
|
|
6573
|
+
]
|
|
6574
|
+
}
|
|
6575
|
+
);
|
|
6546
6576
|
} }) });
|
|
6547
6577
|
};
|
|
6548
6578
|
var SporProvider = ({
|