@vygruppen/spor-react 12.8.9 → 12.8.10
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 +6 -0
- package/dist/index.cjs +25 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +6 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/util/externals.tsx +5 -0
package/.turbo/turbo-build.log
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
|
2
|
-
> @vygruppen/spor-react@12.8.
|
2
|
+
> @vygruppen/spor-react@12.8.10 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 314.57 KB
|
15
14
|
CJS dist/icons/index.cjs 381.00 B
|
16
15
|
CJS dist/icons/index.cjs.map 157.00 B
|
17
|
-
CJS dist/index.cjs.
|
18
|
-
CJS
|
19
|
-
|
16
|
+
CJS dist/index.cjs 315.14 KB
|
17
|
+
CJS dist/index.cjs.map 629.02 KB
|
18
|
+
CJS ⚡️ Build success in 3030ms
|
20
19
|
ESM dist/icons/index.mjs 110.00 B
|
21
|
-
ESM dist/index.mjs.
|
20
|
+
ESM dist/index.mjs 293.75 KB
|
22
21
|
ESM dist/icons/index.mjs.map 157.00 B
|
23
|
-
ESM
|
24
|
-
|
22
|
+
ESM dist/index.mjs.map 629.02 KB
|
23
|
+
ESM ⚡️ Build success in 3037ms
|
24
|
+
DTS ⚡️ Build success in 30729ms
|
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.40 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.40 KB
|
package/CHANGELOG.md
CHANGED
package/dist/index.cjs
CHANGED
@@ -982,11 +982,11 @@ var useScrollDirection = () => {
|
|
982
982
|
var AlertIcon = React27.forwardRef(
|
983
983
|
({ variant, customIcon }, ref) => {
|
984
984
|
const { t } = useTranslation();
|
985
|
-
const
|
985
|
+
const Icon3 = customIcon ?? getIcon(variant);
|
986
986
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
987
987
|
react.Box,
|
988
988
|
{
|
989
|
-
as:
|
989
|
+
as: Icon3,
|
990
990
|
ref,
|
991
991
|
"aria-label": t(texts5[variant]),
|
992
992
|
color: customIcon ? `alert.${variant}.icon` : void 0
|
@@ -3849,14 +3849,14 @@ var LineIcon = React27.forwardRef(
|
|
3849
3849
|
const borderContainer = () => {
|
3850
3850
|
return variant === "walk" && target === "travelTag" ? 0 : 0.5;
|
3851
3851
|
};
|
3852
|
-
const
|
3852
|
+
const Icon3 = getCorrectIcon({
|
3853
3853
|
variant: variant === "custom" && "customIconVariant" in rest ? rest.customIconVariant : (
|
3854
3854
|
// eslint-disable-next-line unicorn/no-nested-ternary
|
3855
3855
|
variant === "custom" ? "local-train" : variant
|
3856
3856
|
),
|
3857
3857
|
size
|
3858
3858
|
});
|
3859
|
-
if (!
|
3859
|
+
if (!Icon3) {
|
3860
3860
|
return null;
|
3861
3861
|
}
|
3862
3862
|
if (foregroundColor) {
|
@@ -3871,7 +3871,7 @@ var LineIcon = React27.forwardRef(
|
|
3871
3871
|
borderColor: variant === "walk" ? "core.outline" : "transparent",
|
3872
3872
|
"aria-label": label,
|
3873
3873
|
ref,
|
3874
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
3874
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(Icon3, { css: styles.icon })
|
3875
3875
|
}
|
3876
3876
|
);
|
3877
3877
|
}
|
@@ -10651,6 +10651,10 @@ var TooltipContent = React27.forwardRef(
|
|
10651
10651
|
);
|
10652
10652
|
TooltipContent.displayName = "TooltipContent";
|
10653
10653
|
|
10654
|
+
Object.defineProperty(exports, "AspectRatio", {
|
10655
|
+
enumerable: true,
|
10656
|
+
get: function () { return react.AspectRatio; }
|
10657
|
+
});
|
10654
10658
|
Object.defineProperty(exports, "Box", {
|
10655
10659
|
enumerable: true,
|
10656
10660
|
get: function () { return react.Box; }
|
@@ -10715,6 +10719,10 @@ Object.defineProperty(exports, "HStack", {
|
|
10715
10719
|
enumerable: true,
|
10716
10720
|
get: function () { return react.HStack; }
|
10717
10721
|
});
|
10722
|
+
Object.defineProperty(exports, "Icon", {
|
10723
|
+
enumerable: true,
|
10724
|
+
get: function () { return react.Icon; }
|
10725
|
+
});
|
10718
10726
|
Object.defineProperty(exports, "Image", {
|
10719
10727
|
enumerable: true,
|
10720
10728
|
get: function () { return react.Image; }
|
@@ -10799,6 +10807,10 @@ Object.defineProperty(exports, "VisuallyHidden", {
|
|
10799
10807
|
enumerable: true,
|
10800
10808
|
get: function () { return react.VisuallyHidden; }
|
10801
10809
|
});
|
10810
|
+
Object.defineProperty(exports, "createIcon", {
|
10811
|
+
enumerable: true,
|
10812
|
+
get: function () { return react.createIcon; }
|
10813
|
+
});
|
10802
10814
|
Object.defineProperty(exports, "createListCollection", {
|
10803
10815
|
enumerable: true,
|
10804
10816
|
get: function () { return react.createListCollection; }
|
@@ -10847,6 +10859,14 @@ Object.defineProperty(exports, "useMediaQuery", {
|
|
10847
10859
|
enumerable: true,
|
10848
10860
|
get: function () { return react.useMediaQuery; }
|
10849
10861
|
});
|
10862
|
+
Object.defineProperty(exports, "useRecipe", {
|
10863
|
+
enumerable: true,
|
10864
|
+
get: function () { return react.useRecipe; }
|
10865
|
+
});
|
10866
|
+
Object.defineProperty(exports, "useSlotRecipe", {
|
10867
|
+
enumerable: true,
|
10868
|
+
get: function () { return react.useSlotRecipe; }
|
10869
|
+
});
|
10850
10870
|
Object.defineProperty(exports, "useToken", {
|
10851
10871
|
enumerable: true,
|
10852
10872
|
get: function () { return react.useToken; }
|