@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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @vygruppen/spor-react@13.1.1 build /home/runner/work/spor/spor/packages/spor-react
2
+ > @vygruppen/spor-react@13.1.3 build /home/runner/work/spor/spor/packages/spor-react
3
3
  > tsup
4
4
 
5
5
  CLI Building entry: src/index.tsx, src/icons/index.tsx
@@ -11,17 +11,17 @@ CLI Cleaning output folder
11
11
  ESM Build start
12
12
  CJS Build start
13
13
  DTS Build start
14
+ ESM dist/index.mjs 338.27 KB
14
15
  ESM dist/icons/index.mjs 110.00 B
15
- ESM dist/index.mjs 337.19 KB
16
+ ESM dist/index.mjs.map 720.59 KB
16
17
  ESM dist/icons/index.mjs.map 157.00 B
17
- ESM dist/index.mjs.map 719.14 KB
18
- ESM ⚡️ Build success in 2606ms
19
- CJS dist/index.cjs 361.21 KB
18
+ ESM ⚡️ Build success in 2927ms
19
+ CJS dist/index.cjs 362.31 KB
20
20
  CJS dist/icons/index.cjs 381.00 B
21
- CJS dist/index.cjs.map 719.14 KB
22
21
  CJS dist/icons/index.cjs.map 157.00 B
23
- CJS ⚡️ Build success in 2607ms
24
- DTS ⚡️ Build success in 22738ms
22
+ CJS dist/index.cjs.map 720.59 KB
23
+ CJS ⚡️ Build success in 2928ms
24
+ DTS ⚡️ Build success in 21478ms
25
25
  DTS dist/icons/index.d.ts 44.00 B
26
26
  DTS dist/index.d.ts 143.27 KB
27
27
  DTS dist/icons/index.d.cts 44.00 B
@@ -1,8 +1,8 @@
1
1
 
2
- > @vygruppen/spor-react@13.1.1 postinstall /home/runner/work/spor/spor/packages/spor-react
2
+ > @vygruppen/spor-react@13.1.3 postinstall /home/runner/work/spor/spor/packages/spor-react
3
3
  > chakra typegen src/theme/index.ts
4
4
 
5
- ◇ injected env (0) from .env // tip: override existing { override: true }
5
+ ◇ injected env (0) from .env // tip: secrets for agents [www.dotenvx.com]
6
6
  ┌ Chakra CLI ⚡️
7
7
  [?25l│
8
8
  ◒ Generating conditions types...
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @vygruppen/spor-react
2
2
 
3
+ ## 13.1.3
4
+
5
+ ### Patch Changes
6
+
7
+ - 15b5e35: Update Vy-logo to use correct colors in darkmode
8
+ - Updated dependencies [65651f0]
9
+ - @vygruppen/spor-design-tokens@5.0.2
10
+
11
+ ## 13.1.2
12
+
13
+ ### Patch Changes
14
+
15
+ - 976b64a: Add border to toast
16
+
3
17
  ## 13.1.1
4
18
 
5
19
  ### Patch Changes
package/dist/index.cjs CHANGED
@@ -5652,7 +5652,18 @@ var VyLogo = ({
5652
5652
  fillRule: "evenodd",
5653
5653
  clipRule: "evenodd",
5654
5654
  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",
5655
- fill: fillForAccent
5655
+ fill: fillForAccent,
5656
+ display: { _light: "block", _dark: "none" }
5657
+ }
5658
+ ),
5659
+ /* @__PURE__ */ jsxRuntime.jsx(
5660
+ Path,
5661
+ {
5662
+ fillRule: "evenodd",
5663
+ clipRule: "evenodd",
5664
+ 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",
5665
+ fill: "main",
5666
+ display: { _light: "none", _dark: "block" }
5656
5667
  }
5657
5668
  ),
5658
5669
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -5704,7 +5715,16 @@ var VyLogo = ({
5704
5715
  Path,
5705
5716
  {
5706
5717
  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: fillForAccent
5718
+ fill: fillForAccent,
5719
+ display: { _light: "block", _dark: "none" }
5720
+ }
5721
+ ),
5722
+ /* @__PURE__ */ jsxRuntime.jsx(
5723
+ Path,
5724
+ {
5725
+ 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",
5726
+ fill: "main",
5727
+ display: { _light: "none", _dark: "block" }
5708
5728
  }
5709
5729
  )
5710
5730
  ] }),
@@ -6558,10 +6578,20 @@ var createToast = ({
6558
6578
  var Toaster = () => {
6559
6579
  return /* @__PURE__ */ jsxRuntime.jsx(react.Portal, { children: /* @__PURE__ */ jsxRuntime.jsx(react.Toaster, { toaster, insetInline: { mdDown: "4" }, children: (toast) => {
6560
6580
  var _a6;
6561
- return /* @__PURE__ */ jsxRuntime.jsxs(react.Toast.Root, { width: { md: (_a6 = toast.meta) == null ? void 0 : _a6.width }, role: "alert", children: [
6562
- /* @__PURE__ */ jsxRuntime.jsx(AlertIcon, { variant: toast.type }),
6563
- /* @__PURE__ */ jsxRuntime.jsx(react.Stack, { gap: "1", flex: "1", maxWidth: "100%", children: /* @__PURE__ */ jsxRuntime.jsx(react.Toast.Description, { children: toast.description }) })
6564
- ] });
6581
+ return /* @__PURE__ */ jsxRuntime.jsxs(
6582
+ react.Toast.Root,
6583
+ {
6584
+ width: { md: (_a6 = toast.meta) == null ? void 0 : _a6.width },
6585
+ border: "sm",
6586
+ borderColor: `outline.${toast.type}`,
6587
+ boxShadow: "sm",
6588
+ role: "alert",
6589
+ children: [
6590
+ /* @__PURE__ */ jsxRuntime.jsx(AlertIcon, { variant: toast.type }),
6591
+ /* @__PURE__ */ jsxRuntime.jsx(react.Stack, { gap: "1", flex: "1", maxWidth: "100%", children: /* @__PURE__ */ jsxRuntime.jsx(react.Toast.Description, { children: toast.description }) })
6592
+ ]
6593
+ }
6594
+ );
6565
6595
  } }) });
6566
6596
  };
6567
6597
  var SporProvider = ({