@canlooks/can-ui 0.0.172 → 0.0.173

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.
@@ -2,8 +2,8 @@ import { ReactNode } from 'react';
2
2
  import { ColorPropsValue, DivProps, Size } from '../../types';
3
3
  import { DatePickerSharedProps, DateTimePickerProps } from '../dateTimePicker';
4
4
  import { Dayjs } from 'dayjs';
5
- type DateValueType = [Dayjs | null, Dayjs | null] | null;
6
- type PickerType = 'start' | 'end';
5
+ export type DateValueType = [Dayjs | null, Dayjs | null] | null;
6
+ export type PickerType = 'start' | 'end';
7
7
  export interface DateTimeRangePickerProps extends DatePickerSharedProps, Omit<DivProps, 'defaultValue' | 'onChange'> {
8
8
  startPickerProps?: DateTimePickerProps;
9
9
  endPickerProps?: DateTimePickerProps;
@@ -25,4 +25,3 @@ export interface DateTimeRangePickerProps extends DatePickerSharedProps, Omit<Di
25
25
  autoFocus?: boolean;
26
26
  }
27
27
  export declare const DateTimeRangePicker: import("react").MemoExoticComponent<({ startPickerProps, endPickerProps, format, defaultValue, value, onChange, defaultOpenPicker, openPicker, onOpenPickerChange, autoClose, separator, min, max, disabledDates, disabledHours, disabledMinutes, disabledSeconds, variant, size, color, disabled, readOnly, autoFocus, ...props }: DateTimeRangePickerProps) => import("@emotion/react/jsx-runtime").JSX.Element>;
28
- export {};
@@ -24,7 +24,6 @@ exports.Tabs = (0, react_2.memo)(({ tabs, labelKey = 'label', primaryKey = 'valu
24
24
  const setInnerValue = (value) => {
25
25
  if (!readOnly && !disabled && value !== innerValue.current) {
26
26
  _setInnerValue(value);
27
- console.log(96, value);
28
27
  variant === 'line' && setAnimating(true);
29
28
  }
30
29
  };
@@ -2,8 +2,8 @@ import { ReactNode } from 'react';
2
2
  import { ColorPropsValue, DivProps, Size } from '../../types.js';
3
3
  import { DatePickerSharedProps, DateTimePickerProps } from '../dateTimePicker/index.js';
4
4
  import { Dayjs } from 'dayjs';
5
- type DateValueType = [Dayjs | null, Dayjs | null] | null;
6
- type PickerType = 'start' | 'end';
5
+ export type DateValueType = [Dayjs | null, Dayjs | null] | null;
6
+ export type PickerType = 'start' | 'end';
7
7
  export interface DateTimeRangePickerProps extends DatePickerSharedProps, Omit<DivProps, 'defaultValue' | 'onChange'> {
8
8
  startPickerProps?: DateTimePickerProps;
9
9
  endPickerProps?: DateTimePickerProps;
@@ -25,4 +25,3 @@ export interface DateTimeRangePickerProps extends DatePickerSharedProps, Omit<Di
25
25
  autoFocus?: boolean;
26
26
  }
27
27
  export declare const DateTimeRangePicker: import("react").MemoExoticComponent<({ startPickerProps, endPickerProps, format, defaultValue, value, onChange, defaultOpenPicker, openPicker, onOpenPickerChange, autoClose, separator, min, max, disabledDates, disabledHours, disabledMinutes, disabledSeconds, variant, size, color, disabled, readOnly, autoFocus, ...props }: DateTimeRangePickerProps) => import("@emotion/react/jsx-runtime").JSX.Element>;
28
- export {};
@@ -20,7 +20,6 @@ export const Tabs = memo(({ tabs, labelKey = 'label', primaryKey = 'value', size
20
20
  const setInnerValue = (value) => {
21
21
  if (!readOnly && !disabled && value !== innerValue.current) {
22
22
  _setInnerValue(value);
23
- console.log(96, value);
24
23
  variant === 'line' && setAnimating(true);
25
24
  }
26
25
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@canlooks/can-ui",
3
- "version": "0.0.172",
3
+ "version": "0.0.173",
4
4
  "author": "C.CanLiang <canlooks@gmail.com>",
5
5
  "description": "My ui framework",
6
6
  "license": "MIT",