@vygruppen/spor-react 12.4.5 → 12.4.6
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 +12 -12
- package/.turbo/turbo-postinstall.log +1 -1
- package/CHANGELOG.md +7 -0
- package/dist/index.d.mts +13 -9
- package/dist/index.d.ts +13 -9
- package/dist/index.js +20 -18
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +20 -18
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/linjetag/InfoTag.tsx +0 -1
- package/src/linjetag/LineIcon.tsx +1 -1
- package/src/linjetag/types.ts +1 -1
- package/src/theme/slot-recipes/accordion.ts +9 -10
- package/src/theme/slot-recipes/info-tag.ts +11 -7
package/.turbo/turbo-build.log
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
|
2
|
-
> @vygruppen/spor-react@12.4.
|
2
|
+
> @vygruppen/spor-react@12.4.6 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
|
@@ -10,18 +10,18 @@ CLI Target: node16
|
|
10
10
|
CJS Build start
|
11
11
|
ESM Build start
|
12
12
|
DTS Build start
|
13
|
-
|
14
|
-
ESM dist/icons/index.mjs 110.00 B
|
15
|
-
ESM dist/index.mjs.map 622.03 KB
|
16
|
-
ESM dist/icons/index.mjs.map 157.00 B
|
17
|
-
ESM ⚡️ Build success in 2664ms
|
13
|
+
CJS dist/index.js 310.51 KB
|
18
14
|
CJS dist/icons/index.js 380.00 B
|
19
|
-
CJS dist/index.js
|
15
|
+
CJS dist/index.js.map 622.22 KB
|
20
16
|
CJS dist/icons/index.js.map 157.00 B
|
21
|
-
CJS
|
22
|
-
|
23
|
-
|
17
|
+
CJS ⚡️ Build success in 2607ms
|
18
|
+
ESM dist/index.mjs 290.17 KB
|
19
|
+
ESM dist/icons/index.mjs 110.00 B
|
20
|
+
ESM dist/index.mjs.map 622.22 KB
|
21
|
+
ESM dist/icons/index.mjs.map 157.00 B
|
22
|
+
ESM ⚡️ Build success in 2607ms
|
23
|
+
DTS ⚡️ Build success in 26071ms
|
24
24
|
DTS dist/icons/index.d.ts 44.00 B
|
25
|
-
DTS dist/index.d.ts 126.
|
25
|
+
DTS dist/index.d.ts 126.31 KB
|
26
26
|
DTS dist/icons/index.d.mts 44.00 B
|
27
|
-
DTS dist/index.d.mts 126.
|
27
|
+
DTS dist/index.d.mts 126.31 KB
|
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,12 @@
|
|
1
1
|
# @vygruppen/spor-react
|
2
2
|
|
3
|
+
## 12.4.6
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- 15b6def: TravelTag, InfoTag, LineIcon: Size is no longer required and variants have been added to recipe
|
8
|
+
- e249e04: Accordion: Fixed styling on different variants
|
9
|
+
|
3
10
|
## 12.4.5
|
4
11
|
|
5
12
|
### Patch Changes
|
package/dist/index.d.mts
CHANGED
@@ -1855,13 +1855,17 @@ declare const StaticCard: React$1.ForwardRefExoticComponent<{
|
|
1855
1855
|
|
1856
1856
|
declare const infoTagSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"icon" | "title" | "description" | "iconContainer" | "container" | "textContainer" | "walk", {
|
1857
1857
|
variant: {
|
1858
|
-
walk: {
|
1859
|
-
|
1860
|
-
|
1861
|
-
|
1862
|
-
|
1863
|
-
|
1864
|
-
};
|
1858
|
+
walk: {};
|
1859
|
+
ferry: {};
|
1860
|
+
subway: {};
|
1861
|
+
tram: {};
|
1862
|
+
"local-train": {};
|
1863
|
+
"region-train": {};
|
1864
|
+
"region-express-train": {};
|
1865
|
+
"long-distance-train": {};
|
1866
|
+
"airport-express-train": {};
|
1867
|
+
"vy-bus": {};
|
1868
|
+
"local-bus": {};
|
1865
1869
|
};
|
1866
1870
|
size: {
|
1867
1871
|
sm: {
|
@@ -1906,7 +1910,7 @@ declare const infoTagSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"icon" |
|
|
1906
1910
|
type Variant$1 = "local-train" | "region-train" | "region-express-train" | "long-distance-train" | "airport-express-train" | "vy-bus" | "local-bus" | "ferry" | "subway" | "tram" | "alt-transport" | "walk";
|
1907
1911
|
type Size = "sm" | "md" | "lg";
|
1908
1912
|
type TagProps = VariantProps$1 & {
|
1909
|
-
size
|
1913
|
+
size?: Size;
|
1910
1914
|
title: string;
|
1911
1915
|
description?: string;
|
1912
1916
|
};
|
@@ -2078,7 +2082,7 @@ type DefaultVariantProps = {
|
|
2078
2082
|
};
|
2079
2083
|
type VariantProps = DefaultVariantProps | CustomVariantProps;
|
2080
2084
|
type LineIconProps = Exclude<BoxProps, "variant"> & VariantProps & PropsWithChildren<LineIconVariantProps> & {
|
2081
|
-
size
|
2085
|
+
size?: TagProps["size"];
|
2082
2086
|
foregroundColor?: string;
|
2083
2087
|
backgroundColor?: string;
|
2084
2088
|
disabled?: boolean;
|
package/dist/index.d.ts
CHANGED
@@ -1855,13 +1855,17 @@ declare const StaticCard: React$1.ForwardRefExoticComponent<{
|
|
1855
1855
|
|
1856
1856
|
declare const infoTagSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"icon" | "title" | "description" | "iconContainer" | "container" | "textContainer" | "walk", {
|
1857
1857
|
variant: {
|
1858
|
-
walk: {
|
1859
|
-
|
1860
|
-
|
1861
|
-
|
1862
|
-
|
1863
|
-
|
1864
|
-
};
|
1858
|
+
walk: {};
|
1859
|
+
ferry: {};
|
1860
|
+
subway: {};
|
1861
|
+
tram: {};
|
1862
|
+
"local-train": {};
|
1863
|
+
"region-train": {};
|
1864
|
+
"region-express-train": {};
|
1865
|
+
"long-distance-train": {};
|
1866
|
+
"airport-express-train": {};
|
1867
|
+
"vy-bus": {};
|
1868
|
+
"local-bus": {};
|
1865
1869
|
};
|
1866
1870
|
size: {
|
1867
1871
|
sm: {
|
@@ -1906,7 +1910,7 @@ declare const infoTagSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"icon" |
|
|
1906
1910
|
type Variant$1 = "local-train" | "region-train" | "region-express-train" | "long-distance-train" | "airport-express-train" | "vy-bus" | "local-bus" | "ferry" | "subway" | "tram" | "alt-transport" | "walk";
|
1907
1911
|
type Size = "sm" | "md" | "lg";
|
1908
1912
|
type TagProps = VariantProps$1 & {
|
1909
|
-
size
|
1913
|
+
size?: Size;
|
1910
1914
|
title: string;
|
1911
1915
|
description?: string;
|
1912
1916
|
};
|
@@ -2078,7 +2082,7 @@ type DefaultVariantProps = {
|
|
2078
2082
|
};
|
2079
2083
|
type VariantProps = DefaultVariantProps | CustomVariantProps;
|
2080
2084
|
type LineIconProps = Exclude<BoxProps, "variant"> & VariantProps & PropsWithChildren<LineIconVariantProps> & {
|
2081
|
-
size
|
2085
|
+
size?: TagProps["size"];
|
2082
2086
|
foregroundColor?: string;
|
2083
2087
|
backgroundColor?: string;
|
2084
2088
|
disabled?: boolean;
|
package/dist/index.js
CHANGED
@@ -4784,7 +4784,6 @@ var InfoTag = ({
|
|
4784
4784
|
}) => {
|
4785
4785
|
const recipe = react.useSlotRecipe({ key: "infoTag" });
|
4786
4786
|
const styles = recipe({
|
4787
|
-
variant,
|
4788
4787
|
size,
|
4789
4788
|
...customProps
|
4790
4789
|
});
|
@@ -6845,23 +6844,23 @@ var accordionSlotRecipe = react.defineSlotRecipe({
|
|
6845
6844
|
},
|
6846
6845
|
"&:hover": {
|
6847
6846
|
outlineWidth: tokens23__namespace.default.size.stroke.md,
|
6848
|
-
outlineColor: "core.outline
|
6849
|
-
outline: "solid",
|
6847
|
+
outlineColor: "core.outline",
|
6848
|
+
outline: "2px solid",
|
6850
6849
|
outlineOffset: 0
|
6851
6850
|
},
|
6852
6851
|
"&:active": {
|
6853
6852
|
backgroundColor: "core.surface.active",
|
6854
6853
|
outlineWidth: tokens23__namespace.default.size.stroke.sm,
|
6855
|
-
|
6856
|
-
outline: "solid"
|
6854
|
+
outline: "none"
|
6857
6855
|
}
|
6858
6856
|
}
|
6859
6857
|
},
|
6860
6858
|
floating: {
|
6861
6859
|
item: {
|
6862
|
-
outline: "solid",
|
6860
|
+
outline: "1px solid",
|
6863
6861
|
outlineWidth: tokens23__namespace.default.size.stroke.sm,
|
6864
|
-
|
6862
|
+
boxShadow: "sm",
|
6863
|
+
outlineColor: "floating.outline"
|
6865
6864
|
},
|
6866
6865
|
itemTrigger: {
|
6867
6866
|
_expanded: {
|
@@ -6869,15 +6868,14 @@ var accordionSlotRecipe = react.defineSlotRecipe({
|
|
6869
6868
|
},
|
6870
6869
|
"&:hover": {
|
6871
6870
|
outlineWidth: tokens23__namespace.default.size.stroke.md,
|
6871
|
+
outline: "1px solid",
|
6872
6872
|
outlineColor: "floating.outline.hover",
|
6873
|
-
|
6874
|
-
outlineOffset: 0
|
6873
|
+
outlineOffset: 1
|
6875
6874
|
},
|
6876
6875
|
"&:active": {
|
6877
6876
|
backgroundColor: "floating.surface.active",
|
6878
6877
|
outlineWidth: tokens23__namespace.default.size.stroke.sm,
|
6879
|
-
|
6880
|
-
outline: "solid"
|
6878
|
+
outline: "none"
|
6881
6879
|
}
|
6882
6880
|
}
|
6883
6881
|
}
|
@@ -8249,13 +8247,17 @@ var infoTagSlotRecipe = react.defineSlotRecipe({
|
|
8249
8247
|
},
|
8250
8248
|
variants: {
|
8251
8249
|
variant: {
|
8252
|
-
walk: {
|
8253
|
-
|
8254
|
-
|
8255
|
-
|
8256
|
-
|
8257
|
-
|
8258
|
-
}
|
8250
|
+
walk: {},
|
8251
|
+
ferry: {},
|
8252
|
+
subway: {},
|
8253
|
+
tram: {},
|
8254
|
+
"local-train": {},
|
8255
|
+
"region-train": {},
|
8256
|
+
"region-express-train": {},
|
8257
|
+
"long-distance-train": {},
|
8258
|
+
"airport-express-train": {},
|
8259
|
+
"vy-bus": {},
|
8260
|
+
"local-bus": {}
|
8259
8261
|
},
|
8260
8262
|
size: {
|
8261
8263
|
...(_a4 = travelTagSlotRecipe.variants) == null ? void 0 : _a4.size,
|