fis-component 0.0.45 → 0.0.46

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.
@@ -1,12 +1,24 @@
1
1
  export type DateRangeProps = {
2
2
  className?: string;
3
- placeholder?: [string, string];
4
3
  label?: string;
5
4
  required?: boolean;
6
5
  message?: string;
7
6
  negative?: boolean;
8
7
  positive?: boolean;
9
- };
8
+ placeholder?: [string, string];
9
+ } & React.ComponentProps<typeof RangePicker>;
10
+ declare const RangePicker: import("react").ForwardRefExoticComponent<Omit<import("rc-picker").RangePickerProps<import("dayjs").Dayjs>, "locale" | "generateConfig" | "hideHeader"> & {
11
+ locale?: import("antd/es/date-picker/generatePicker").PickerLocale;
12
+ size?: import("antd/es/button").ButtonSize;
13
+ placement?: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
14
+ bordered?: boolean;
15
+ status?: import("antd/es/_util/statusUtils").InputStatus;
16
+ variant?: import("antd/es/config-provider").Variant;
17
+ dropdownClassName?: string;
18
+ popupClassName?: string;
19
+ rootClassName?: string;
20
+ popupStyle?: React.CSSProperties;
21
+ } & import("react").RefAttributes<import("rc-picker").PickerRef>>;
10
22
  declare const FISDateRange: {
11
23
  ({ placeholder, label, required, message, negative, positive, ...rest }: DateRangeProps): import("react/jsx-runtime").JSX.Element;
12
24
  displayName: string;
package/dist/index.d.ts CHANGED
@@ -3,6 +3,12 @@ import React__default, { ComponentPropsWithoutRef, ReactNode, Ref, ForwardedRef,
3
3
  import { DefaultTheme } from 'styled-components';
4
4
  import * as react_jsx_runtime from 'react/jsx-runtime';
5
5
  import { TooltipProps as TooltipProps$1, CollapseProps, TableProps as TableProps$1, PaginationProps as PaginationProps$1 } from 'antd';
6
+ import * as antd_es_config_provider from 'antd/es/config-provider';
7
+ import * as antd_es__util_statusUtils from 'antd/es/_util/statusUtils';
8
+ import * as antd_es_button from 'antd/es/button';
9
+ import * as antd_es_date_picker_generatePicker from 'antd/es/date-picker/generatePicker';
10
+ import * as rc_picker from 'rc-picker';
11
+ import * as dayjs from 'dayjs';
6
12
  import * as antd_es_notification_interface from 'antd/es/notification/interface';
7
13
 
8
14
  interface ThemeProviderProps {
@@ -4105,13 +4111,25 @@ declare const FISSorter: ({ columnKey, onSort, sortedInfo, colorActive, UpIcon,
4105
4111
 
4106
4112
  type DateRangeProps = {
4107
4113
  className?: string;
4108
- placeholder?: [string, string];
4109
4114
  label?: string;
4110
4115
  required?: boolean;
4111
4116
  message?: string;
4112
4117
  negative?: boolean;
4113
4118
  positive?: boolean;
4114
- };
4119
+ placeholder?: [string, string];
4120
+ } & React.ComponentProps<typeof RangePicker>;
4121
+ declare const RangePicker: React$1.ForwardRefExoticComponent<Omit<rc_picker.RangePickerProps<dayjs.Dayjs>, "locale" | "generateConfig" | "hideHeader"> & {
4122
+ locale?: antd_es_date_picker_generatePicker.PickerLocale;
4123
+ size?: antd_es_button.ButtonSize;
4124
+ placement?: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
4125
+ bordered?: boolean;
4126
+ status?: antd_es__util_statusUtils.InputStatus;
4127
+ variant?: antd_es_config_provider.Variant;
4128
+ dropdownClassName?: string;
4129
+ popupClassName?: string;
4130
+ rootClassName?: string;
4131
+ popupStyle?: React.CSSProperties;
4132
+ } & React$1.RefAttributes<rc_picker.PickerRef>>;
4115
4133
  declare const FISDateRange: {
4116
4134
  ({ placeholder, label, required, message, negative, positive, ...rest }: DateRangeProps): react_jsx_runtime.JSX.Element;
4117
4135
  displayName: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "homepage": "https://vietdiemtran.github.io/fis-component/",
3
3
  "name": "fis-component",
4
- "version": "0.0.45",
4
+ "version": "0.0.46",
5
5
  "description": "",
6
6
  "main": "dist/cjs/index.js",
7
7
  "module": "dist/esm/index.js",