@vygruppen/spor-react 12.10.3 → 12.10.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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @vygruppen/spor-react@12.10.3 build /home/runner/work/spor/spor/packages/spor-react
2
+ > @vygruppen/spor-react@12.10.5 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,18 +11,18 @@ CLI Cleaning output folder
11
11
  ESM Build start
12
12
  CJS Build start
13
13
  DTS Build start
14
- CJS dist/index.cjs 315.03 KB
14
+ CJS dist/index.cjs 315.20 KB
15
15
  CJS dist/icons/index.cjs 381.00 B
16
- CJS dist/index.cjs.map 629.44 KB
16
+ CJS dist/index.cjs.map 629.75 KB
17
17
  CJS dist/icons/index.cjs.map 157.00 B
18
- CJS ⚡️ Build success in 2766ms
18
+ CJS ⚡️ Build success in 2506ms
19
+ ESM dist/index.mjs 293.80 KB
19
20
  ESM dist/icons/index.mjs 110.00 B
20
- ESM dist/index.mjs 293.63 KB
21
+ ESM dist/index.mjs.map 629.75 KB
21
22
  ESM dist/icons/index.mjs.map 157.00 B
22
- ESM dist/index.mjs.map 629.44 KB
23
- ESM ⚡️ Build success in 2769ms
24
- DTS ⚡️ Build success in 18537ms
23
+ ESM ⚡️ Build success in 2507ms
24
+ DTS ⚡️ Build success in 18032ms
25
25
  DTS dist/icons/index.d.ts 44.00 B
26
- DTS dist/index.d.ts 156.04 KB
26
+ DTS dist/index.d.ts 156.18 KB
27
27
  DTS dist/icons/index.d.cts 44.00 B
28
- DTS dist/index.d.cts 156.04 KB
28
+ DTS dist/index.d.cts 156.18 KB
@@ -1,5 +1,5 @@
1
1
 
2
- > @vygruppen/spor-react@12.10.3 postinstall /home/runner/work/spor/spor/packages/spor-react
2
+ > @vygruppen/spor-react@12.10.5 postinstall /home/runner/work/spor/spor/packages/spor-react
3
3
  > chakra typegen src/theme/index.ts
4
4
 
5
5
  ┌ Chakra CLI ⚡️
package/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # @vygruppen/spor-react
2
2
 
3
+ ## 12.10.5
4
+
5
+ ### Patch Changes
6
+
7
+ - 2710738: Fix correct duration of toast.
8
+ - d6ab343: Add backgroundColor to travelTag
9
+
10
+ ## 12.10.4
11
+
12
+ ### Patch Changes
13
+
14
+ - 220e413: Update border style for LineIcon and adjust travel tag position
15
+
3
16
  ## 12.10.3
4
17
 
5
18
  ### Patch Changes
package/dist/index.cjs CHANGED
@@ -1082,6 +1082,7 @@ var Alert = React27.forwardRef((props, ref) => {
1082
1082
  children && /* @__PURE__ */ jsxRuntime.jsx(
1083
1083
  react.Alert.Description,
1084
1084
  {
1085
+ width: "100%",
1085
1086
  paddingLeft: title ? 0.5 : 0,
1086
1087
  paddingRight: closable ? 6 : 0,
1087
1088
  children
@@ -3861,7 +3862,7 @@ var LineIcon = React27.forwardRef(
3861
3862
  return target === "travelTag" ? 0.5 : 1;
3862
3863
  };
3863
3864
  const borderContainer = () => {
3864
- return variant === "walk" && target === "travelTag" ? 0 : 0.5;
3865
+ return variant === "walk" && target === "travelTag" ? 0 : "1px";
3865
3866
  };
3866
3867
  const Icon3 = getCorrectIcon({
3867
3868
  variant: (
@@ -3947,6 +3948,7 @@ var TravelTag = React27.forwardRef(
3947
3948
  "aria-disabled": disabled,
3948
3949
  ref,
3949
3950
  className: clsx_default("light", rest.className),
3951
+ backgroundColor,
3950
3952
  ...rest,
3951
3953
  children: [
3952
3954
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -5123,7 +5125,7 @@ var createToast = ({
5123
5125
  text,
5124
5126
  variant,
5125
5127
  id,
5126
- duration = 6e5
5128
+ duration = 6e3
5127
5129
  }) => toaster.create({
5128
5130
  description: text,
5129
5131
  type: variant,
@@ -7999,7 +8001,7 @@ var travelTagSlotRecipe = react.defineSlotRecipe({
7999
8001
  walk: {
8000
8002
  textContainer: {
8001
8003
  position: "absolute",
8002
- left: "1.3rem",
8004
+ left: "0.875rem",
8003
8005
  bottom: 0
8004
8006
  },
8005
8007
  title: {
@@ -8197,6 +8199,12 @@ var lineIconSlotRecipe = react.defineSlotRecipe({
8197
8199
  walk: {
8198
8200
  title: {
8199
8201
  color: "text"
8202
+ },
8203
+ iconContainer: {
8204
+ backgroundColor: "none"
8205
+ },
8206
+ icon: {
8207
+ color: "text"
8200
8208
  }
8201
8209
  },
8202
8210
  custom: {