@vygruppen/spor-react 13.1.1 → 13.1.2

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.2 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/icons/index.mjs 110.00 B
15
- ESM dist/index.mjs 337.19 KB
16
- 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
14
+ CJS dist/index.cjs 361.36 KB
20
15
  CJS dist/icons/index.cjs 381.00 B
21
- CJS dist/index.cjs.map 719.14 KB
16
+ CJS dist/index.cjs.map 719.37 KB
22
17
  CJS dist/icons/index.cjs.map 157.00 B
23
- CJS ⚡️ Build success in 2607ms
24
- DTS ⚡️ Build success in 22738ms
18
+ CJS ⚡️ Build success in 2677ms
19
+ ESM dist/index.mjs 337.34 KB
20
+ ESM dist/icons/index.mjs 110.00 B
21
+ ESM dist/index.mjs.map 719.37 KB
22
+ ESM dist/icons/index.mjs.map 157.00 B
23
+ ESM ⚡️ Build success in 2682ms
24
+ DTS ⚡️ Build success in 20448ms
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.2 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: ⌘ multiple files { path: ['.env.local', '.env'] }
6
6
  ┌ Chakra CLI ⚡️
7
7
  [?25l│
8
8
  ◒ Generating conditions types...
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @vygruppen/spor-react
2
2
 
3
+ ## 13.1.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 976b64a: Add border to toast
8
+
3
9
  ## 13.1.1
4
10
 
5
11
  ### Patch Changes
package/dist/index.cjs CHANGED
@@ -6558,10 +6558,20 @@ var createToast = ({
6558
6558
  var Toaster = () => {
6559
6559
  return /* @__PURE__ */ jsxRuntime.jsx(react.Portal, { children: /* @__PURE__ */ jsxRuntime.jsx(react.Toaster, { toaster, insetInline: { mdDown: "4" }, children: (toast) => {
6560
6560
  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
- ] });
6561
+ return /* @__PURE__ */ jsxRuntime.jsxs(
6562
+ react.Toast.Root,
6563
+ {
6564
+ width: { md: (_a6 = toast.meta) == null ? void 0 : _a6.width },
6565
+ border: "sm",
6566
+ borderColor: `outline.${toast.type}`,
6567
+ boxShadow: "sm",
6568
+ role: "alert",
6569
+ children: [
6570
+ /* @__PURE__ */ jsxRuntime.jsx(AlertIcon, { variant: toast.type }),
6571
+ /* @__PURE__ */ jsxRuntime.jsx(react.Stack, { gap: "1", flex: "1", maxWidth: "100%", children: /* @__PURE__ */ jsxRuntime.jsx(react.Toast.Description, { children: toast.description }) })
6572
+ ]
6573
+ }
6574
+ );
6565
6575
  } }) });
6566
6576
  };
6567
6577
  var SporProvider = ({