@mantine/dates 2.6.0-alpha.4 → 2.6.0-alpha.5
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/cjs/components/Calendar/Calendar.js +4 -3
- package/cjs/components/Calendar/Calendar.js.map +1 -1
- package/cjs/components/Calendar/CalendarWrapper/CalendarWrapper.js +3 -2
- package/cjs/components/Calendar/CalendarWrapper/CalendarWrapper.js.map +1 -1
- package/cjs/components/DatePicker/DatePicker.js +3 -5
- package/cjs/components/DatePicker/DatePicker.js.map +1 -1
- package/cjs/components/DatePickerBase/DatePickerBase.js +4 -6
- package/cjs/components/DatePickerBase/DatePickerBase.js.map +1 -1
- package/cjs/components/DateRangePicker/DateRangePicker.js +3 -5
- package/cjs/components/DateRangePicker/DateRangePicker.js.map +1 -1
- package/cjs/components/Month/Day/Day.js +3 -5
- package/cjs/components/Month/Day/Day.js.map +1 -1
- package/cjs/components/Month/Month.js +1 -1
- package/cjs/components/Month/Month.js.map +1 -1
- package/cjs/components/RangeCalendar/RangeCalendar.js +4 -3
- package/cjs/components/RangeCalendar/RangeCalendar.js.map +1 -1
- package/cjs/components/TimeInput/TimeField/TimeField.js +3 -5
- package/cjs/components/TimeInput/TimeField/TimeField.js.map +1 -1
- package/cjs/components/TimeInput/TimeInput.js +5 -7
- package/cjs/components/TimeInput/TimeInput.js.map +1 -1
- package/cjs/components/TimeRangeInput/TimeRangeInput.js +9 -11
- package/cjs/components/TimeRangeInput/TimeRangeInput.js.map +1 -1
- package/esm/components/Calendar/Calendar.js +5 -4
- package/esm/components/Calendar/Calendar.js.map +1 -1
- package/esm/components/Calendar/CalendarWrapper/CalendarWrapper.js +4 -3
- package/esm/components/Calendar/CalendarWrapper/CalendarWrapper.js.map +1 -1
- package/esm/components/DatePicker/DatePicker.js +4 -6
- package/esm/components/DatePicker/DatePicker.js.map +1 -1
- package/esm/components/DatePickerBase/DatePickerBase.js +5 -7
- package/esm/components/DatePickerBase/DatePickerBase.js.map +1 -1
- package/esm/components/DateRangePicker/DateRangePicker.js +4 -6
- package/esm/components/DateRangePicker/DateRangePicker.js.map +1 -1
- package/esm/components/Month/Day/Day.js +4 -6
- package/esm/components/Month/Day/Day.js.map +1 -1
- package/esm/components/Month/Month.js +1 -1
- package/esm/components/Month/Month.js.map +1 -1
- package/esm/components/RangeCalendar/RangeCalendar.js +5 -4
- package/esm/components/RangeCalendar/RangeCalendar.js.map +1 -1
- package/esm/components/TimeInput/TimeField/TimeField.js +4 -6
- package/esm/components/TimeInput/TimeField/TimeField.js.map +1 -1
- package/esm/components/TimeInput/TimeInput.js +6 -8
- package/esm/components/TimeInput/TimeInput.js.map +1 -1
- package/esm/components/TimeRangeInput/TimeRangeInput.js +10 -12
- package/esm/components/TimeRangeInput/TimeRangeInput.js.map +1 -1
- package/lib/components/Calendar/Calendar.d.ts +1 -4
- package/lib/components/Calendar/Calendar.d.ts.map +1 -1
- package/lib/components/Calendar/CalendarWrapper/CalendarWrapper.d.ts +1 -4
- package/lib/components/Calendar/CalendarWrapper/CalendarWrapper.d.ts.map +1 -1
- package/lib/components/DatePicker/DatePicker.d.ts +2 -5
- package/lib/components/DatePicker/DatePicker.d.ts.map +1 -1
- package/lib/components/DatePickerBase/DatePickerBase.d.ts +1 -6
- package/lib/components/DatePickerBase/DatePickerBase.d.ts.map +1 -1
- package/lib/components/DateRangePicker/DateRangePicker.d.ts +2 -5
- package/lib/components/DateRangePicker/DateRangePicker.d.ts.map +1 -1
- package/lib/components/Month/Day/Day.d.ts +1 -5
- package/lib/components/Month/Day/Day.d.ts.map +1 -1
- package/lib/components/RangeCalendar/RangeCalendar.d.ts +1 -4
- package/lib/components/RangeCalendar/RangeCalendar.d.ts.map +1 -1
- package/lib/components/TimeInput/TimeField/TimeField.d.ts +1 -6
- package/lib/components/TimeInput/TimeField/TimeField.d.ts.map +1 -1
- package/lib/components/TimeInput/TimeInput.d.ts +1 -6
- package/lib/components/TimeInput/TimeInput.d.ts.map +1 -1
- package/lib/components/TimeRangeInput/TimeRangeInput.d.ts +1 -6
- package/lib/components/TimeRangeInput/TimeRangeInput.d.ts.map +1 -1
- package/package.json +3 -3
|
@@ -5,8 +5,6 @@ export declare type TimeInputStylesNames = ClassNames<typeof useStyles> | InputS
|
|
|
5
5
|
export interface TimeInputProps extends DefaultProps<TimeInputStylesNames>, InputBaseProps, InputWrapperBaseProps, Omit<React.ComponentPropsWithoutRef<'div'>, 'onChange' | 'value' | 'defaultValue'> {
|
|
6
6
|
/** Input size */
|
|
7
7
|
size?: MantineSize;
|
|
8
|
-
/** Get element ref of hours input */
|
|
9
|
-
elementRef?: React.ForwardedRef<HTMLInputElement>;
|
|
10
8
|
/** Controlled input value */
|
|
11
9
|
value?: Date;
|
|
12
10
|
/** Uncontrolled input default value */
|
|
@@ -26,8 +24,5 @@ export interface TimeInputProps extends DefaultProps<TimeInputStylesNames>, Inpu
|
|
|
26
24
|
/** Disable field */
|
|
27
25
|
disabled?: boolean;
|
|
28
26
|
}
|
|
29
|
-
export declare
|
|
30
|
-
export declare namespace TimeInput {
|
|
31
|
-
var displayName: string;
|
|
32
|
-
}
|
|
27
|
+
export declare const TimeInput: React.ForwardRefExoticComponent<TimeInputProps & React.RefAttributes<HTMLInputElement>>;
|
|
33
28
|
//# sourceMappingURL=TimeInput.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TimeInput.d.ts","sourceRoot":"","sources":["../../../src/components/TimeInput/TimeInput.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"TimeInput.d.ts","sourceRoot":"","sources":["../../../src/components/TimeInput/TimeInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAC5D,OAAO,EACL,cAAc,EACd,qBAAqB,EACrB,gBAAgB,EAChB,uBAAuB,EACvB,YAAY,EAGZ,WAAW,EAEX,UAAU,EAGX,MAAM,eAAe,CAAC;AAMvB,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAE3C,oBAAY,oBAAoB,GAC5B,UAAU,CAAC,OAAO,SAAS,CAAC,GAC5B,gBAAgB,GAChB,uBAAuB,CAAC;AAE5B,MAAM,WAAW,cACf,SAAQ,YAAY,CAAC,oBAAoB,CAAC,EACxC,cAAc,EACd,qBAAqB,EACrB,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC,EAAE,UAAU,GAAG,OAAO,GAAG,cAAc,CAAC;IACpF,iBAAiB;IACjB,IAAI,CAAC,EAAE,WAAW,CAAC;IAEnB,6BAA6B;IAC7B,KAAK,CAAC,EAAE,IAAI,CAAC;IAEb,uCAAuC;IACvC,YAAY,CAAC,EAAE,IAAI,CAAC;IAEpB,wCAAwC;IACxC,QAAQ,CAAC,CAAC,KAAK,EAAE,IAAI,GAAG,IAAI,CAAC;IAE7B,4BAA4B;IAC5B,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB,8BAA8B;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,iCAAiC;IACjC,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,mCAAmC;IACnC,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB,mCAAmC;IACnC,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB,oBAAoB;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,SAAS,yFA4JrB,CAAC"}
|
|
@@ -5,8 +5,6 @@ export declare type TimeRangeInputStylesNames = Exclude<ClassNames<typeof useSty
|
|
|
5
5
|
export interface TimeRangeInputProps extends DefaultProps<TimeRangeInputStylesNames>, InputBaseProps, InputWrapperBaseProps, Omit<React.ComponentPropsWithoutRef<'div'>, 'onChange' | 'value' | 'defaultValue'> {
|
|
6
6
|
/** Input size */
|
|
7
7
|
size?: MantineSize;
|
|
8
|
-
/** Get element ref of hours input */
|
|
9
|
-
elementRef?: React.ForwardedRef<HTMLInputElement>;
|
|
10
8
|
/** Controlled input value */
|
|
11
9
|
value?: [Date | null, Date | null];
|
|
12
10
|
/** Uncontrolled input default value */
|
|
@@ -28,8 +26,5 @@ export interface TimeRangeInputProps extends DefaultProps<TimeRangeInputStylesNa
|
|
|
28
26
|
/** Separator between time inputs */
|
|
29
27
|
labelSeparator?: string;
|
|
30
28
|
}
|
|
31
|
-
export declare
|
|
32
|
-
export declare namespace TimeRangeInput {
|
|
33
|
-
var displayName: string;
|
|
34
|
-
}
|
|
29
|
+
export declare const TimeRangeInput: React.ForwardRefExoticComponent<TimeRangeInputProps & React.RefAttributes<HTMLInputElement>>;
|
|
35
30
|
//# sourceMappingURL=TimeRangeInput.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TimeRangeInput.d.ts","sourceRoot":"","sources":["../../../src/components/TimeRangeInput/TimeRangeInput.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"TimeRangeInput.d.ts","sourceRoot":"","sources":["../../../src/components/TimeRangeInput/TimeRangeInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAC5D,OAAO,EACL,cAAc,EACd,qBAAqB,EACrB,gBAAgB,EAChB,uBAAuB,EACvB,YAAY,EAGZ,WAAW,EAEX,UAAU,EAGX,MAAM,eAAe,CAAC;AAMvB,OAAO,SAAS,MAAM,yBAAyB,CAAC;AAEhD,oBAAY,yBAAyB,GACjC,OAAO,CAAC,UAAU,CAAC,OAAO,SAAS,CAAC,EAAE,UAAU,CAAC,GACjD,gBAAgB,GAChB,uBAAuB,CAAC;AAE5B,MAAM,WAAW,mBACf,SAAQ,YAAY,CAAC,yBAAyB,CAAC,EAC7C,cAAc,EACd,qBAAqB,EACrB,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC,EAAE,UAAU,GAAG,OAAO,GAAG,cAAc,CAAC;IACpF,iBAAiB;IACjB,IAAI,CAAC,EAAE,WAAW,CAAC;IAEnB,6BAA6B;IAC7B,KAAK,CAAC,EAAE,CAAC,IAAI,GAAG,IAAI,EAAE,IAAI,GAAG,IAAI,CAAC,CAAC;IAEnC,uCAAuC;IACvC,YAAY,CAAC,EAAE,CAAC,IAAI,GAAG,IAAI,EAAE,IAAI,GAAG,IAAI,CAAC,CAAC;IAE1C,wCAAwC;IACxC,QAAQ,CAAC,CAAC,KAAK,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC,GAAG,IAAI,CAAC;IAErC,4BAA4B;IAC5B,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB,8BAA8B;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,iCAAiC;IACjC,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,mCAAmC;IACnC,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB,mCAAmC;IACnC,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB,oBAAoB;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,oCAAoC;IACpC,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,eAAO,MAAM,cAAc,8FA8P1B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mantine/dates",
|
|
3
3
|
"description": "Calendars, date and time pickers based on Mantine components",
|
|
4
|
-
"version": "2.6.0-alpha.
|
|
4
|
+
"version": "2.6.0-alpha.5",
|
|
5
5
|
"main": "cjs/index.js",
|
|
6
6
|
"module": "esm/index.js",
|
|
7
7
|
"types": "lib/index.d.ts",
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
"author": "Vitaly Rtishchev <rtivital@gmail.com>",
|
|
10
10
|
"homepage": "https://mantine.dev/dates/getting-started/",
|
|
11
11
|
"peerDependencies": {
|
|
12
|
-
"@mantine/core": "2.6.0-alpha.
|
|
13
|
-
"@mantine/hooks": "2.6.0-alpha.
|
|
12
|
+
"@mantine/core": "2.6.0-alpha.5",
|
|
13
|
+
"@mantine/hooks": "2.6.0-alpha.5",
|
|
14
14
|
"dayjs": "^1.10.5",
|
|
15
15
|
"react": ">=16.8.0"
|
|
16
16
|
},
|