@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.
- package/.turbo/turbo-build.log +10 -10
- package/.turbo/turbo-postinstall.log +1 -1
- package/CHANGELOG.md +13 -0
- package/dist/index.cjs +11 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -1
- package/dist/index.d.ts +7 -1
- package/dist/index.mjs +11 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/alert/Alert.tsx +1 -0
- package/src/linjetag/LineIcon.tsx +1 -1
- package/src/linjetag/TravelTag.tsx +1 -0
- package/src/theme/slot-recipes/line-icon.ts +6 -0
- package/src/theme/slot-recipes/travel-tag.ts +2 -1
- package/src/toast/toast.tsx +1 -1
package/.turbo/turbo-build.log
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
|
2
|
-
> @vygruppen/spor-react@12.10.
|
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.
|
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.
|
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
|
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
|
21
|
+
ESM dist/index.mjs.map 629.75 KB
|
21
22
|
ESM dist/icons/index.mjs.map 157.00 B
|
22
|
-
ESM
|
23
|
-
|
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.
|
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.
|
28
|
+
DTS dist/index.d.cts 156.18 KB
|
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 :
|
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 =
|
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: "
|
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: {
|