@mw-kit/mw-ui 1.8.5 → 1.8.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.
|
@@ -3,7 +3,7 @@ import type { TimeProps } from '../../../Input/components/Time/interfaces';
|
|
|
3
3
|
import type { BasicCalendarProps } from '../Basic/interfaces';
|
|
4
4
|
type Value = Date | null;
|
|
5
5
|
type InputTimeProps = Omit<TimeProps, 'type' | 'value' | 'setValue' | 'minWidth'>;
|
|
6
|
-
export interface Common extends Pick<BasicCalendarProps, 'initialMonth' | 'max' | 'min' | 'onChangeMonth'>, Omit<React.HTMLAttributes<HTMLDivElement>, 'onSubmit'> {
|
|
6
|
+
export interface Common extends Pick<BasicCalendarProps, 'initialMonth' | 'max' | 'min' | 'onChangeMonth' | 'label' | 'calendar' | 'paddingless'>, Omit<React.HTMLAttributes<HTMLDivElement>, 'onSubmit'> {
|
|
7
7
|
initialValue?: Value;
|
|
8
8
|
value?: [Value, (value: Value) => void];
|
|
9
9
|
time?: true | InputTimeProps | ((value: Value) => InputTimeProps | undefined);
|
package/dist/index.d.mts
CHANGED
|
@@ -976,7 +976,7 @@ type BasicCalendarProps = (Common$2 & {
|
|
|
976
976
|
|
|
977
977
|
type Value$2 = Date | null;
|
|
978
978
|
type InputTimeProps$1 = Omit<TimeProps, 'type' | 'value' | 'setValue' | 'minWidth'>;
|
|
979
|
-
interface Common$1 extends Pick<BasicCalendarProps, 'initialMonth' | 'max' | 'min' | 'onChangeMonth'>, Omit<React.HTMLAttributes<HTMLDivElement>, 'onSubmit'> {
|
|
979
|
+
interface Common$1 extends Pick<BasicCalendarProps, 'initialMonth' | 'max' | 'min' | 'onChangeMonth' | 'label' | 'calendar' | 'paddingless'>, Omit<React.HTMLAttributes<HTMLDivElement>, 'onSubmit'> {
|
|
980
980
|
initialValue?: Value$2;
|
|
981
981
|
value?: [Value$2, (value: Value$2) => void];
|
|
982
982
|
time?: true | InputTimeProps$1 | ((value: Value$2) => InputTimeProps$1 | undefined);
|
package/dist/index.js
CHANGED
|
@@ -10698,7 +10698,10 @@ var CalendarSingle = import_react19.default.forwardRef(
|
|
|
10698
10698
|
"invalid",
|
|
10699
10699
|
"absolute",
|
|
10700
10700
|
"getDay",
|
|
10701
|
-
"onChangeMonth"
|
|
10701
|
+
"onChangeMonth",
|
|
10702
|
+
"label",
|
|
10703
|
+
"calendar",
|
|
10704
|
+
"paddingless"
|
|
10702
10705
|
]);
|
|
10703
10706
|
const mainProps = filterObject(props, [
|
|
10704
10707
|
"absolute"
|
package/dist/index.mjs
CHANGED
|
@@ -10642,7 +10642,10 @@ var CalendarSingle = React17.forwardRef(
|
|
|
10642
10642
|
"invalid",
|
|
10643
10643
|
"absolute",
|
|
10644
10644
|
"getDay",
|
|
10645
|
-
"onChangeMonth"
|
|
10645
|
+
"onChangeMonth",
|
|
10646
|
+
"label",
|
|
10647
|
+
"calendar",
|
|
10648
|
+
"paddingless"
|
|
10646
10649
|
]);
|
|
10647
10650
|
const mainProps = filterObject(props, [
|
|
10648
10651
|
"absolute"
|