@inntechcorp/it-design 2.0.125 → 2.0.127
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/dist/calendar/index.d.ts +3 -4
- package/dist/context/ITDContext.d.ts +1 -0
- package/dist/index.cjs.js +69 -71
- package/dist/index.d.ts +4 -3
- package/dist/index.esm.js +29 -31
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -24,6 +24,7 @@ type ITDContextType = {
|
|
|
24
24
|
type ITDProviderProps = {
|
|
25
25
|
theme?: string;
|
|
26
26
|
language?: string;
|
|
27
|
+
dateFormat?: string;
|
|
27
28
|
children: ChildrenProps$1;
|
|
28
29
|
};
|
|
29
30
|
declare const ITDContext: react.Context<ITDContextType>;
|
|
@@ -470,10 +471,10 @@ type AccordionMenuProps = AccordionProps & {
|
|
|
470
471
|
declare const Accordion: FunctionComponent<AccordionMenuProps> & AccordionMenuSubComponents;
|
|
471
472
|
|
|
472
473
|
declare const Calendar: react.ForwardRefExoticComponent<{
|
|
473
|
-
value
|
|
474
|
-
defaultValue
|
|
474
|
+
value?: string | undefined;
|
|
475
|
+
defaultValue?: string | undefined;
|
|
475
476
|
className?: string | undefined;
|
|
476
|
-
onChange
|
|
477
|
+
onChange?: ((value: CalendarValueProps) => void) | null | undefined;
|
|
477
478
|
disabledDate?: ((date: moment$1.Moment) => boolean) | undefined;
|
|
478
479
|
} & react.RefAttributes<unknown>>;
|
|
479
480
|
|