@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/dist/index.d.cts
CHANGED
@@ -2115,6 +2115,12 @@ declare const lineIconSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"icon" |
|
|
2115
2115
|
title: {
|
2116
2116
|
color: "text";
|
2117
2117
|
};
|
2118
|
+
iconContainer: {
|
2119
|
+
backgroundColor: "none";
|
2120
|
+
};
|
2121
|
+
icon: {
|
2122
|
+
color: "text";
|
2123
|
+
};
|
2118
2124
|
};
|
2119
2125
|
custom: {
|
2120
2126
|
iconContainer: {};
|
@@ -2264,7 +2270,7 @@ declare const travelTagSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"icon"
|
|
2264
2270
|
walk: {
|
2265
2271
|
textContainer: {
|
2266
2272
|
position: "absolute";
|
2267
|
-
left: "
|
2273
|
+
left: "0.875rem";
|
2268
2274
|
bottom: number;
|
2269
2275
|
};
|
2270
2276
|
title: {
|
package/dist/index.d.ts
CHANGED
@@ -2115,6 +2115,12 @@ declare const lineIconSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"icon" |
|
|
2115
2115
|
title: {
|
2116
2116
|
color: "text";
|
2117
2117
|
};
|
2118
|
+
iconContainer: {
|
2119
|
+
backgroundColor: "none";
|
2120
|
+
};
|
2121
|
+
icon: {
|
2122
|
+
color: "text";
|
2123
|
+
};
|
2118
2124
|
};
|
2119
2125
|
custom: {
|
2120
2126
|
iconContainer: {};
|
@@ -2264,7 +2270,7 @@ declare const travelTagSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"icon"
|
|
2264
2270
|
walk: {
|
2265
2271
|
textContainer: {
|
2266
2272
|
position: "absolute";
|
2267
|
-
left: "
|
2273
|
+
left: "0.875rem";
|
2268
2274
|
bottom: number;
|
2269
2275
|
};
|
2270
2276
|
title: {
|
package/dist/index.mjs
CHANGED
@@ -1062,6 +1062,7 @@ var Alert = forwardRef((props, ref) => {
|
|
1062
1062
|
children && /* @__PURE__ */ jsx(
|
1063
1063
|
Alert$1.Description,
|
1064
1064
|
{
|
1065
|
+
width: "100%",
|
1065
1066
|
paddingLeft: title ? 0.5 : 0,
|
1066
1067
|
paddingRight: closable ? 6 : 0,
|
1067
1068
|
children
|
@@ -3841,7 +3842,7 @@ var LineIcon = forwardRef(
|
|
3841
3842
|
return target === "travelTag" ? 0.5 : 1;
|
3842
3843
|
};
|
3843
3844
|
const borderContainer = () => {
|
3844
|
-
return variant === "walk" && target === "travelTag" ? 0 :
|
3845
|
+
return variant === "walk" && target === "travelTag" ? 0 : "1px";
|
3845
3846
|
};
|
3846
3847
|
const Icon3 = getCorrectIcon({
|
3847
3848
|
variant: (
|
@@ -3927,6 +3928,7 @@ var TravelTag = forwardRef(
|
|
3927
3928
|
"aria-disabled": disabled,
|
3928
3929
|
ref,
|
3929
3930
|
className: clsx_default("light", rest.className),
|
3931
|
+
backgroundColor,
|
3930
3932
|
...rest,
|
3931
3933
|
children: [
|
3932
3934
|
/* @__PURE__ */ jsx(
|
@@ -5103,7 +5105,7 @@ var createToast = ({
|
|
5103
5105
|
text,
|
5104
5106
|
variant,
|
5105
5107
|
id,
|
5106
|
-
duration =
|
5108
|
+
duration = 6e3
|
5107
5109
|
}) => toaster.create({
|
5108
5110
|
description: text,
|
5109
5111
|
type: variant,
|
@@ -7979,7 +7981,7 @@ var travelTagSlotRecipe = defineSlotRecipe({
|
|
7979
7981
|
walk: {
|
7980
7982
|
textContainer: {
|
7981
7983
|
position: "absolute",
|
7982
|
-
left: "
|
7984
|
+
left: "0.875rem",
|
7983
7985
|
bottom: 0
|
7984
7986
|
},
|
7985
7987
|
title: {
|
@@ -8177,6 +8179,12 @@ var lineIconSlotRecipe = defineSlotRecipe({
|
|
8177
8179
|
walk: {
|
8178
8180
|
title: {
|
8179
8181
|
color: "text"
|
8182
|
+
},
|
8183
|
+
iconContainer: {
|
8184
|
+
backgroundColor: "none"
|
8185
|
+
},
|
8186
|
+
icon: {
|
8187
|
+
color: "text"
|
8180
8188
|
}
|
8181
8189
|
},
|
8182
8190
|
custom: {
|