@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.
@@ -96,6 +96,8 @@
96
96
 
97
97
  .uk-datepicker .uk-datepicker-input .uk-control {
98
98
  border: 0 none;
99
+ flex: 1;
100
+ min-width: 1px;
99
101
  padding: 0;
100
102
  }
101
103
 
@@ -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
- declare const DatePickerPlacements: readonly ["bottomLeft", "bottomRight", "topLeft", "topRight"];
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;
@@ -1,2 +1 @@
1
- const DatePickerPlacements = ['bottomLeft', 'bottomRight', 'topLeft', 'topRight'];
2
1
  export {};