@xsolla/xui-date-picker 0.119.0 → 0.121.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xsolla/xui-date-picker",
3
- "version": "0.119.0",
3
+ "version": "0.121.0",
4
4
  "main": "./web/index.js",
5
5
  "module": "./web/index.mjs",
6
6
  "types": "./web/index.d.ts",
@@ -13,10 +13,10 @@
13
13
  "test:coverage": "vitest run --coverage"
14
14
  },
15
15
  "dependencies": {
16
- "@xsolla/xui-calendar": "0.119.0",
17
- "@xsolla/xui-core": "0.119.0",
18
- "@xsolla/xui-input": "0.119.0",
19
- "@xsolla/xui-primitives-core": "0.119.0",
16
+ "@xsolla/xui-calendar": "0.121.0",
17
+ "@xsolla/xui-core": "0.121.0",
18
+ "@xsolla/xui-input": "0.121.0",
19
+ "@xsolla/xui-primitives-core": "0.121.0",
20
20
  "date-fns": "^3.0.0"
21
21
  },
22
22
  "peerDependencies": {
@@ -1,62 +0,0 @@
1
- /**
2
- * Flowtype definitions for index
3
- * Generated by Flowgen from a Typescript Definition
4
- * Flowgen v1.21.0
5
- * @flow
6
- */
7
-
8
- import { CalendarProps, CalendarLocaleType } from "@xsolla/xui-calendar";
9
- declare export {
10
- Calendar,
11
- CalendarChipOption,
12
- CalendarChips,
13
- CalendarChipsProps,
14
- CalendarGrid,
15
- CalendarGridProps,
16
- CalendarHeader,
17
- CalendarHeaderProps,
18
- CalendarLocaleType,
19
- CalendarProps,
20
- DualCalendar,
21
- DualCalendarProps,
22
- } from "@xsolla/xui-calendar";
23
- import * as react from "react";
24
- declare type DateRangeType = [Date | null, Date | null];
25
- declare type DatePickerProps = {
26
- /**
27
- * Event handler when the value of a Datepicker changes.
28
- */
29
- onChange?: (date: Date | DateRangeType) => void,
30
-
31
- /**
32
- * Placeholder text for the input
33
- */
34
- placeholder?: string,
35
-
36
- /**
37
- * Size of the input
38
- */
39
- size?: "xl" | "lg" | "md" | "sm" | "xs",
40
-
41
- /**
42
- * Whether the input is disabled
43
- */
44
- disabled?: boolean,
45
-
46
- /**
47
- * Custom background color for the input
48
- */
49
- backgroundColor?: string,
50
- ...
51
- } & $Diff<CalendarProps, { onChange: any }>;
52
- declare var DatePicker: react.ForwardRefExoticComponent<{
53
- ...DatePickerProps,
54
- ...react.RefAttributes<any>,
55
- }>;
56
- declare function formatDate(
57
- date: Date,
58
- formatStr: string,
59
- locale?: CalendarLocaleType
60
- ): string;
61
- export type { DatePickerProps, DateRangeType };
62
- declare export { DatePicker, formatDate };
package/web/index.js.flow DELETED
@@ -1,62 +0,0 @@
1
- /**
2
- * Flowtype definitions for index
3
- * Generated by Flowgen from a Typescript Definition
4
- * Flowgen v1.21.0
5
- * @flow
6
- */
7
-
8
- import { CalendarProps, CalendarLocaleType } from "@xsolla/xui-calendar";
9
- declare export {
10
- Calendar,
11
- CalendarChipOption,
12
- CalendarChips,
13
- CalendarChipsProps,
14
- CalendarGrid,
15
- CalendarGridProps,
16
- CalendarHeader,
17
- CalendarHeaderProps,
18
- CalendarLocaleType,
19
- CalendarProps,
20
- DualCalendar,
21
- DualCalendarProps,
22
- } from "@xsolla/xui-calendar";
23
- import * as react from "react";
24
- declare type DateRangeType = [Date | null, Date | null];
25
- declare type DatePickerProps = {
26
- /**
27
- * Event handler when the value of a Datepicker changes.
28
- */
29
- onChange?: (date: Date | DateRangeType) => void,
30
-
31
- /**
32
- * Placeholder text for the input
33
- */
34
- placeholder?: string,
35
-
36
- /**
37
- * Size of the input
38
- */
39
- size?: "xl" | "lg" | "md" | "sm" | "xs",
40
-
41
- /**
42
- * Whether the input is disabled
43
- */
44
- disabled?: boolean,
45
-
46
- /**
47
- * Custom background color for the input
48
- */
49
- backgroundColor?: string,
50
- ...
51
- } & $Diff<CalendarProps, { onChange: any }>;
52
- declare var DatePicker: react.ForwardRefExoticComponent<{
53
- ...DatePickerProps,
54
- ...react.RefAttributes<any>,
55
- }>;
56
- declare function formatDate(
57
- date: Date,
58
- formatStr: string,
59
- locale?: CalendarLocaleType
60
- ): string;
61
- export type { DatePickerProps, DateRangeType };
62
- declare export { DatePicker, formatDate };