@vygruppen/spor-react 12.6.3 → 12.6.4
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 +8 -0
- package/dist/index.d.mts +11 -8
- package/dist/index.d.ts +11 -8
- package/dist/index.js +16 -17
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +16 -17
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
- package/src/datepicker/DateRangePicker.tsx +1 -1
- package/src/theme/recipes/button.ts +8 -7
- package/src/theme/slot-recipes/field.ts +6 -8
package/.turbo/turbo-build.log
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
|
2
|
-
> @vygruppen/spor-react@12.6.
|
2
|
+
> @vygruppen/spor-react@12.6.4 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
|
+
ESM dist/index.mjs 290.84 KB
|
13
14
|
ESM dist/icons/index.mjs 110.00 B
|
15
|
+
ESM dist/index.mjs.map 623.43 KB
|
14
16
|
ESM dist/icons/index.mjs.map 157.00 B
|
15
|
-
ESM
|
16
|
-
|
17
|
-
ESM ⚡️ Build success in 2688ms
|
17
|
+
ESM ⚡️ Build success in 2736ms
|
18
|
+
CJS dist/index.js 311.49 KB
|
18
19
|
CJS dist/icons/index.js 380.00 B
|
20
|
+
CJS dist/index.js.map 623.43 KB
|
19
21
|
CJS dist/icons/index.js.map 157.00 B
|
20
|
-
CJS
|
21
|
-
|
22
|
-
CJS ⚡️ Build success in 2689ms
|
23
|
-
DTS ⚡️ Build success in 28559ms
|
22
|
+
CJS ⚡️ Build success in 2737ms
|
23
|
+
DTS ⚡️ Build success in 29941ms
|
24
24
|
DTS dist/icons/index.d.ts 44.00 B
|
25
|
-
DTS dist/index.d.ts 153.
|
25
|
+
DTS dist/index.d.ts 153.52 KB
|
26
26
|
DTS dist/icons/index.d.mts 44.00 B
|
27
|
-
DTS dist/index.d.mts 153.
|
27
|
+
DTS dist/index.d.mts 153.52 KB
|
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# @vygruppen/spor-react
|
2
2
|
|
3
|
+
## 12.6.4
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- f88c33b: Field: Fix styling for multi line errorText, where arrow collided with the error box.
|
8
|
+
DateRangePicker: Use same value type as DatePicker.
|
9
|
+
Button: Update style from figma, different padding and font sizes.
|
10
|
+
|
3
11
|
## 12.6.3
|
4
12
|
|
5
13
|
### Patch Changes
|
package/dist/index.d.mts
CHANGED
@@ -286,27 +286,30 @@ declare const buttonRecipe: _chakra_ui_react.RecipeDefinition<{
|
|
286
286
|
xs: {
|
287
287
|
minHeight: number;
|
288
288
|
minWidth: number;
|
289
|
-
|
290
|
-
fontSize: "xs";
|
289
|
+
paddingX: number;
|
290
|
+
fontSize: "mobile.xs";
|
291
291
|
fontWeight: "normal";
|
292
292
|
};
|
293
293
|
sm: {
|
294
294
|
minHeight: number;
|
295
295
|
minWidth: number;
|
296
|
-
|
296
|
+
paddingX: number;
|
297
|
+
fontSize: "mobile.sm";
|
297
298
|
fontWeight: "normal";
|
298
299
|
};
|
299
300
|
md: {
|
300
301
|
minHeight: number;
|
301
302
|
minWidth: number;
|
302
|
-
fontSize: "
|
303
|
+
fontSize: "mobile.md";
|
303
304
|
fontWeight: "bold";
|
305
|
+
paddingX: number;
|
304
306
|
};
|
305
307
|
lg: {
|
306
308
|
minHeight: number;
|
307
309
|
minWidth: number;
|
308
|
-
fontSize: "
|
310
|
+
fontSize: "mobile.md";
|
309
311
|
fontWeight: "bold";
|
312
|
+
paddingX: number;
|
310
313
|
};
|
311
314
|
};
|
312
315
|
}>;
|
@@ -623,15 +626,15 @@ declare const DatePicker: React__default.ForwardRefExoticComponent<Omit<AriaDate
|
|
623
626
|
positioning?: PopoverRootProps["positioning"];
|
624
627
|
} & FieldBaseProps & React__default.RefAttributes<HTMLDivElement>>;
|
625
628
|
|
626
|
-
type DateRangePickerProps = Omit<AriaDateRangePickerProps<DateValue
|
629
|
+
type DateRangePickerProps = Omit<AriaDateRangePickerProps<DateValue>, "onChange" | "errorMessage" | "isInvalid" | "isRequired"> & Pick<BoxProps, "minHeight"> & PropsWithChildren<DatePickerVariantProps> & CalendarVariants & {
|
627
630
|
startLabel?: string;
|
628
631
|
startName?: string;
|
629
632
|
endLabel?: string;
|
630
633
|
endName?: string;
|
631
634
|
withPortal?: boolean;
|
632
635
|
onChange?: (dates: {
|
633
|
-
start: DateValue
|
634
|
-
end: DateValue
|
636
|
+
start: DateValue | null;
|
637
|
+
end: DateValue | null;
|
635
638
|
} | null) => void;
|
636
639
|
positioning?: PopoverRootProps["positioning"];
|
637
640
|
} & FieldBaseProps;
|
package/dist/index.d.ts
CHANGED
@@ -286,27 +286,30 @@ declare const buttonRecipe: _chakra_ui_react.RecipeDefinition<{
|
|
286
286
|
xs: {
|
287
287
|
minHeight: number;
|
288
288
|
minWidth: number;
|
289
|
-
|
290
|
-
fontSize: "xs";
|
289
|
+
paddingX: number;
|
290
|
+
fontSize: "mobile.xs";
|
291
291
|
fontWeight: "normal";
|
292
292
|
};
|
293
293
|
sm: {
|
294
294
|
minHeight: number;
|
295
295
|
minWidth: number;
|
296
|
-
|
296
|
+
paddingX: number;
|
297
|
+
fontSize: "mobile.sm";
|
297
298
|
fontWeight: "normal";
|
298
299
|
};
|
299
300
|
md: {
|
300
301
|
minHeight: number;
|
301
302
|
minWidth: number;
|
302
|
-
fontSize: "
|
303
|
+
fontSize: "mobile.md";
|
303
304
|
fontWeight: "bold";
|
305
|
+
paddingX: number;
|
304
306
|
};
|
305
307
|
lg: {
|
306
308
|
minHeight: number;
|
307
309
|
minWidth: number;
|
308
|
-
fontSize: "
|
310
|
+
fontSize: "mobile.md";
|
309
311
|
fontWeight: "bold";
|
312
|
+
paddingX: number;
|
310
313
|
};
|
311
314
|
};
|
312
315
|
}>;
|
@@ -623,15 +626,15 @@ declare const DatePicker: React__default.ForwardRefExoticComponent<Omit<AriaDate
|
|
623
626
|
positioning?: PopoverRootProps["positioning"];
|
624
627
|
} & FieldBaseProps & React__default.RefAttributes<HTMLDivElement>>;
|
625
628
|
|
626
|
-
type DateRangePickerProps = Omit<AriaDateRangePickerProps<DateValue
|
629
|
+
type DateRangePickerProps = Omit<AriaDateRangePickerProps<DateValue>, "onChange" | "errorMessage" | "isInvalid" | "isRequired"> & Pick<BoxProps, "minHeight"> & PropsWithChildren<DatePickerVariantProps> & CalendarVariants & {
|
627
630
|
startLabel?: string;
|
628
631
|
startName?: string;
|
629
632
|
endLabel?: string;
|
630
633
|
endName?: string;
|
631
634
|
withPortal?: boolean;
|
632
635
|
onChange?: (dates: {
|
633
|
-
start: DateValue
|
634
|
-
end: DateValue
|
636
|
+
start: DateValue | null;
|
637
|
+
end: DateValue | null;
|
635
638
|
} | null) => void;
|
636
639
|
positioning?: PopoverRootProps["positioning"];
|
637
640
|
} & FieldBaseProps;
|
package/dist/index.js
CHANGED
@@ -5558,8 +5558,6 @@ var buttonRecipe = react.defineRecipe({
|
|
5558
5558
|
cursor: "pointer",
|
5559
5559
|
textWrap: "wrap",
|
5560
5560
|
width: "fit-content",
|
5561
|
-
paddingX: 3,
|
5562
|
-
paddingY: 1,
|
5563
5561
|
_disabled: {
|
5564
5562
|
cursor: "not-allowed",
|
5565
5563
|
pointerEvents: "none",
|
@@ -5639,27 +5637,30 @@ var buttonRecipe = react.defineRecipe({
|
|
5639
5637
|
xs: {
|
5640
5638
|
minHeight: 5,
|
5641
5639
|
minWidth: 5,
|
5642
|
-
|
5643
|
-
fontSize: "xs",
|
5640
|
+
paddingX: 1.5,
|
5641
|
+
fontSize: "mobile.xs",
|
5644
5642
|
fontWeight: "normal"
|
5645
5643
|
},
|
5646
5644
|
sm: {
|
5647
5645
|
minHeight: 6,
|
5648
5646
|
minWidth: 6,
|
5649
|
-
|
5647
|
+
paddingX: 2,
|
5648
|
+
fontSize: "mobile.sm",
|
5650
5649
|
fontWeight: "normal"
|
5651
5650
|
},
|
5652
5651
|
md: {
|
5653
5652
|
minHeight: 7,
|
5654
5653
|
minWidth: 7,
|
5655
|
-
fontSize: "
|
5656
|
-
fontWeight: "bold"
|
5654
|
+
fontSize: "mobile.md",
|
5655
|
+
fontWeight: "bold",
|
5656
|
+
paddingX: 3
|
5657
5657
|
},
|
5658
5658
|
lg: {
|
5659
5659
|
minHeight: 8,
|
5660
5660
|
minWidth: 8,
|
5661
|
-
fontSize: "
|
5662
|
-
fontWeight: "bold"
|
5661
|
+
fontSize: "mobile.md",
|
5662
|
+
fontWeight: "bold",
|
5663
|
+
paddingX: 3
|
5663
5664
|
}
|
5664
5665
|
}
|
5665
5666
|
},
|
@@ -7611,15 +7612,13 @@ var fieldSlotRecipe = react.defineSlotRecipe({
|
|
7611
7612
|
_after: {
|
7612
7613
|
content: "''",
|
7613
7614
|
position: "absolute",
|
7614
|
-
|
7615
|
+
top: 0,
|
7615
7616
|
left: "1em",
|
7616
|
-
width: 0,
|
7617
|
-
height: 0,
|
7618
|
-
|
7619
|
-
|
7620
|
-
|
7621
|
-
borderBottom: "0.5em solid",
|
7622
|
-
borderColor: "lightRed"
|
7617
|
+
width: "0.5rem",
|
7618
|
+
height: "0.5rem",
|
7619
|
+
backgroundColor: "lightRed",
|
7620
|
+
transform: "translateY(-50%) rotate(45deg)",
|
7621
|
+
pointerEvents: "none"
|
7623
7622
|
}
|
7624
7623
|
}
|
7625
7624
|
}
|