@vygruppen/spor-react 3.0.2 → 3.0.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 +8 -8
- package/CHANGELOG.md +14 -0
- package/dist/{CountryCodeSelect-QGMCRWO6.mjs → CountryCodeSelect-PXKYFQHM.mjs} +1 -1
- package/dist/{chunk-CIZ54LAU.mjs → chunk-ETCK74GR.mjs} +301 -203
- package/dist/index.d.ts +6 -6
- package/dist/index.js +305 -208
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/datepicker/DateField.tsx +47 -27
- package/src/datepicker/DatePicker.tsx +122 -107
- package/src/datepicker/DateTimeSegment.tsx +41 -32
- package/src/datepicker/TimeField.tsx +1 -0
- package/src/input/Combobox.tsx +10 -1
- package/src/input/Popover.tsx +23 -1
- package/src/theme/components/datepicker.ts +1 -0
package/dist/index.d.ts
CHANGED
@@ -417,11 +417,6 @@ type CardProps = Exclude<BoxProps, "size"> & {
|
|
417
417
|
*/
|
418
418
|
declare const Card: _chakra_ui_system_dist_system_types.ComponentWithAs<As, CardProps>;
|
419
419
|
|
420
|
-
type DatePickerProps = AriaDatePickerProps<DateValue> & Pick<BoxProps, "minHeight" | "width"> & {
|
421
|
-
variant: ResponsiveValue<"simple" | "with-trigger">;
|
422
|
-
name?: string;
|
423
|
-
showYearNavigation?: boolean;
|
424
|
-
};
|
425
420
|
/**
|
426
421
|
* A date picker component.
|
427
422
|
*
|
@@ -431,7 +426,11 @@ type DatePickerProps = AriaDatePickerProps<DateValue> & Pick<BoxProps, "minHeigh
|
|
431
426
|
* <DatePicker label="Dato" variant="simple" />
|
432
427
|
* ```
|
433
428
|
*/
|
434
|
-
declare
|
429
|
+
declare const DatePicker: React__default.ForwardRefExoticComponent<AriaDatePickerProps<DateValue> & Pick<BoxProps, "width" | "minHeight"> & {
|
430
|
+
variant: ResponsiveValue<"simple" | "with-trigger">;
|
431
|
+
name?: string | undefined;
|
432
|
+
showYearNavigation?: boolean | undefined;
|
433
|
+
} & React__default.RefAttributes<HTMLDivElement>>;
|
435
434
|
|
436
435
|
type DateRangePickerProps = AriaDateRangePickerProps<DateValue> & Pick<BoxProps, "minHeight"> & {
|
437
436
|
startLabel?: string;
|
@@ -2706,6 +2705,7 @@ declare const theme: {
|
|
2706
2705
|
fontSize: string;
|
2707
2706
|
color: string;
|
2708
2707
|
margin: number;
|
2708
|
+
cursor: string;
|
2709
2709
|
};
|
2710
2710
|
dateTimeSegment: {
|
2711
2711
|
color: string;
|