@broxus/react-uikit 0.17.0 → 0.17.1
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/cjs/components/DatePicker/index.scss +2 -0
- package/dist/cjs/components/DatePicker/types.d.ts +2 -3
- package/dist/cjs/components/DatePicker/types.js +0 -1
- package/dist/cjs/tsconfig.cjs.tsbuildinfo +1 -1
- package/dist/esm/components/DatePicker/index.scss +2 -0
- package/dist/esm/components/DatePicker/types.d.ts +2 -3
- package/dist/esm/components/DatePicker/types.js +0 -1
- package/dist/esm/tsconfig.esm.tsbuildinfo +1 -1
- package/package.json +7 -7
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { type PickerRef, type PickerPanelProps as RcPickerPanelProps, type PickerProps as RcPickerProps, type RangePickerProps as RcRangePickerProps } from 'rc-picker';
|
|
2
2
|
import { type Locale as RcPickerLocale } from 'rc-picker/lib/interface';
|
|
3
|
+
import { type PickerPanelRef } from 'rc-picker/lib/PickerPanel';
|
|
3
4
|
import type * as React from 'react';
|
|
4
5
|
import { type TimePickerLocale } from '../../components/TimePicker';
|
|
5
6
|
import { type AnyObject, type SizeType, type StateType } from '../../types';
|
|
6
|
-
import { PickerPanelRef } from 'rc-picker/lib/PickerPanel';
|
|
7
7
|
export interface AdditionalPickerLocaleProps {
|
|
8
8
|
dateFormat?: string;
|
|
9
9
|
dateTimeFormat?: string;
|
|
@@ -26,8 +26,7 @@ export interface PickerLocale extends AdditionalPickerLocaleProps {
|
|
|
26
26
|
lang: RcPickerLocale & AdditionalPickerLocaleLangProps;
|
|
27
27
|
timePickerLocale: TimePickerLocale;
|
|
28
28
|
}
|
|
29
|
-
|
|
30
|
-
type DatePickerPlacement = (typeof DatePickerPlacements)[number];
|
|
29
|
+
export type DatePickerPlacement = 'bottom-left' | 'bottom-right' | 'top-left' | 'top-right';
|
|
31
30
|
type InjectDefaultProps<Props> = Omit<Props, 'locale' | 'generateConfig' | 'hideHeader'> & {
|
|
32
31
|
locale?: PickerLocale;
|
|
33
32
|
placement?: DatePickerPlacement;
|