@dxs-ts/eveli-ide 0.0.404 → 0.0.405

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.
@@ -6,6 +6,7 @@ export interface LocaleProviderProps {
6
6
  children: React.ReactNode;
7
7
  options?: LocaleApi.Localizations;
8
8
  defaultLocale?: () => string;
9
+ defaultDateLocale?: (selectedLocale: string) => string;
9
10
  }
10
11
  export declare const LocaleProvider: React.FC<LocaleProviderProps>;
11
12
  export declare const useLocale: () => LocaleApi.LocaleContextType;
@@ -8,6 +8,7 @@ export declare namespace LocaleApi {
8
8
  type Localizations = Record<LocalCode, Localization | {}>;
9
9
  interface LocaleContextType {
10
10
  locale: string;
11
+ localeForDate: string;
11
12
  messages: Localizations;
12
13
  setLocale: (newLocale: string) => void;
13
14
  }
@@ -1,6 +1,6 @@
1
1
  import { default as React } from 'react';
2
2
  export type EveliDatePickerProps = {
3
- label: string | React.ReactNode;
3
+ label?: string | React.ReactNode;
4
4
  readonly?: boolean;
5
5
  fullWidth?: boolean;
6
6
  value: string | Date | undefined | null;