react-kui 3.1.0 → 3.1.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/AI.en-US.md +86 -1
- package/AI.md +68 -4
- package/ai/behaviors.json +114 -14
- package/ai/cli.mjs +180 -17
- package/ai/descriptions.json +446 -0
- package/ai/kui-components.json +778 -305
- package/ai/mcp.mjs +2 -189
- package/ai/query.mjs +195 -0
- package/ai/skills/react-kui/SKILL.md +41 -9
- package/ai/skills/react-kui/references/mcp.md +11 -1
- package/ai/skills/react-kui/references/react-to-vue.md +110 -0
- package/ai/skills/react-kui/references/vue-to-react.md +86 -0
- package/ai/validate.mjs +18 -0
- package/es/_virtual/_rolldown/runtime.js +1 -1
- package/es/affix/index.js +1 -1
- package/es/alert/index.js +1 -1
- package/es/anchor/anchor-context.js +1 -1
- package/es/anchor/anchor-link.js +1 -1
- package/es/anchor/anchor.js +1 -1
- package/es/auto-complete/index.js +1 -1
- package/es/avatar/avatar-group-context.js +1 -1
- package/es/avatar/avatar-group.js +1 -1
- package/es/avatar/avatar.js +1 -1
- package/es/back-top/index.js +1 -1
- package/es/badge/index.js +1 -1
- package/es/base/teleport.js +1 -1
- package/es/base/transition-props.js +1 -1
- package/es/base/transition.js +1 -1
- package/es/breadcrumb/breadcrumb-context.js +1 -1
- package/es/breadcrumb/breadcrumb-item.js +1 -1
- package/es/breadcrumb/breadcrumb.js +1 -1
- package/es/button/button-group-context.js +1 -1
- package/es/button/button-group.js +1 -1
- package/es/button/button.js +1 -1
- package/es/calendar/index.js +1 -1
- package/es/card/index.js +1 -1
- package/es/carousel/carousel-context.js +1 -1
- package/es/carousel/carousel-item.js +1 -1
- package/es/carousel/carousel.js +522 -274
- package/es/carousel/drag.js +169 -0
- package/es/cascader/index.js +1 -1
- package/es/check-card/check-card-group.js +1 -1
- package/es/check-card/check-card.js +1 -1
- package/es/check-card/context.js +1 -1
- package/es/checkbox/checkbox-group-context.js +1 -1
- package/es/checkbox/checkbox-group.js +1 -1
- package/es/checkbox/checkbox.js +1 -1
- package/es/checkbox/index.js +1 -1
- package/es/collapse/collapse-panel.js +1 -1
- package/es/collapse/collapse.js +1 -1
- package/es/color-picker/alpha.js +1 -1
- package/es/color-picker/hue.js +1 -1
- package/es/color-picker/index.js +1 -1
- package/es/color-picker/mode.js +1 -1
- package/es/color-picker/paint.js +1 -1
- package/es/color-picker/presets.js +1 -1
- package/es/components.js +1 -1
- package/es/config/config-context.js +1 -1
- package/es/config/context.js +1 -1
- package/es/config/index.js +1 -1
- package/es/config/size-context.js +1 -1
- package/es/config/use-config-appearance.js +1 -1
- package/es/const/var.js +1 -1
- package/es/date-picker/index.js +1 -1
- package/es/descriptions/descriptions-item.js +1 -1
- package/es/descriptions/descriptions.js +1 -1
- package/es/divider/index.js +1 -1
- package/es/drawer/index.js +1 -1
- package/es/dropdown/dropdown-button.js +1 -1
- package/es/dropdown/dropdown-context.js +1 -1
- package/es/dropdown/dropdown.js +1 -1
- package/es/dropdown/trigger.js +1 -1
- package/es/empty/index.js +1 -1
- package/es/feature-card/index.js +1 -1
- package/es/feedback-panel/index.js +1 -1
- package/es/flame-wrap/index.js +1 -1
- package/es/flame-wrap/types.js +1 -1
- package/es/flex/index.js +1 -1
- package/es/form/field-context.js +1 -1
- package/es/form/form-context.js +1 -1
- package/es/form/form-item.js +1 -1
- package/es/form/form.js +1 -1
- package/es/form/utils.js +1 -1
- package/es/grid/grid-item.js +1 -1
- package/es/grid/grid.js +1 -1
- package/es/grid/useBreakpoint.js +1 -1
- package/es/icon/index.js +1 -1
- package/es/image/group.js +1 -1
- package/es/image/image-group-context.js +1 -1
- package/es/image/image.js +1 -1
- package/es/image/instance.js +1 -1
- package/es/image/preview.js +1 -1
- package/es/image/utils.js +1 -1
- package/es/index.js +1 -1
- package/es/input/index.js +1 -1
- package/es/input/input-base.js +202 -0
- package/es/input/input-box.js +1 -1
- package/es/input/input-group.js +1 -1
- package/es/input/input.js +19 -188
- package/es/input/textarea.js +1 -1
- package/es/input-number/index.js +4 -4
- package/es/input-otp/index.js +1 -1
- package/es/input-tag/index.js +1 -1
- package/es/kanban/index.js +1 -1
- package/es/layout/index.js +1 -1
- package/es/layout/layout-context.js +1 -1
- package/es/list-panel/index.js +1 -1
- package/es/loading/index.js +1 -1
- package/es/loading/loading-bar.js +1 -1
- package/es/locale/de.js +1 -1
- package/es/locale/el.js +1 -1
- package/es/locale/en.js +1 -1
- package/es/locale/fr.js +1 -1
- package/es/locale/it.js +1 -1
- package/es/locale/ja.js +1 -1
- package/es/locale/ko.js +1 -1
- package/es/locale/ru.js +1 -1
- package/es/locale/th.js +1 -1
- package/es/locale/uk.js +1 -1
- package/es/locale/vi.js +1 -1
- package/es/locale/zh-CN.js +1 -1
- package/es/locale/zh-TW.js +1 -1
- package/es/mentions/index.js +1 -1
- package/es/menu/menu-context.js +1 -1
- package/es/menu/menu-divider.js +1 -1
- package/es/menu/menu-group.js +1 -1
- package/es/menu/menu-item.js +1 -1
- package/es/menu/menu-keyboard.js +1 -1
- package/es/menu/menu.js +1 -1
- package/es/menu/recursive-menu.js +1 -1
- package/es/menu/sub-menu.js +1 -1
- package/es/message/index.js +1 -1
- package/es/modal/api.js +1 -1
- package/es/modal/modal.js +1 -1
- package/es/modal/toast.js +1 -1
- package/es/node_modules/.pnpm/kui-icons@5.0.0/node_modules/kui-icons/dist/kui-icons.esm.js +1 -1
- package/es/notice/container.js +1 -1
- package/es/notice/content.js +1 -1
- package/es/notice/index.js +1 -1
- package/es/notice/instance.js +1 -1
- package/es/page/index.js +99 -76
- package/es/page/responsive.js +96 -0
- package/es/page-header/index.js +1 -1
- package/es/popconfirm/index.js +1 -1
- package/es/poptip/index.js +1 -1
- package/es/popup/index.js +1 -1
- package/es/popup/layers.js +1 -1
- package/es/progress/index.js +1 -1
- package/es/qrcode/index.js +1 -1
- package/es/radio/radio-button.js +1 -1
- package/es/radio/radio-group-context.js +1 -1
- package/es/radio/radio-group.js +1 -1
- package/es/radio/radio.js +1 -1
- package/es/rate/index.js +1 -1
- package/es/rate/star.js +1 -1
- package/es/result/index.js +1 -1
- package/es/ripple/index.js +1 -1
- package/es/ripple/types.js +1 -1
- package/es/row-col/col.js +1 -1
- package/es/row-col/row.js +1 -1
- package/es/segmented/index.js +1 -1
- package/es/select/option.js +1 -1
- package/es/select/select.js +1 -1
- package/es/skeleton/skeleton-avatar.js +1 -1
- package/es/skeleton/skeleton-button.js +1 -1
- package/es/skeleton/skeleton-image.js +1 -1
- package/es/skeleton/skeleton-text.js +1 -1
- package/es/skeleton/skeleton.js +1 -1
- package/es/skeleton/use-skeleton-loading.js +1 -1
- package/es/slider/index.js +1 -1
- package/es/slider/thumb.js +1 -1
- package/es/space/index.js +1 -1
- package/es/spin/index.js +1 -1
- package/es/splitter/splitter-panel.js +1 -1
- package/es/splitter/splitter.js +1 -1
- package/es/stat-card/countup.js +1 -1
- package/es/stat-card/rollup.js +1 -1
- package/es/stat-card/stat-card.js +1 -1
- package/es/stat-card/stat-number.js +1 -1
- package/es/stat-card/utils/countup.js +1 -1
- package/es/stat-card/utils/odometer.js +1 -1
- package/es/steps/index.js +1 -1
- package/es/switch/index.js +1 -1
- package/es/table/column-setting.js +1 -1
- package/es/table/index.js +1 -1
- package/es/table/utils.js +1 -1
- package/es/tabs/tab-panel.js +1 -1
- package/es/tabs/tabs.js +1 -1
- package/es/tag/index.js +1 -1
- package/es/time-line/timeline-item.js +1 -1
- package/es/time-line/timeline.js +1 -1
- package/es/tooltip/index.js +1 -1
- package/es/tour/index.js +1 -1
- package/es/transfer/index.js +1 -1
- package/es/tree/index.js +1 -1
- package/es/tree/utils.js +1 -1
- package/es/tree-select/index.js +1 -1
- package/es/typography/index.js +1 -1
- package/es/upload/file-list.js +1 -1
- package/es/upload/index.js +1 -1
- package/es/upload/picture-sort.js +1 -1
- package/es/upload/selector.js +1 -1
- package/es/utils/checked.js +1 -1
- package/es/utils/color.js +1 -1
- package/es/utils/number.js +1 -1
- package/es/utils/placement.js +1 -1
- package/es/utils/popup.js +1 -1
- package/es/utils/react-node.js +1 -1
- package/es/utils/selection-tags.js +1 -1
- package/es/utils/share.js +1 -1
- package/es/utils/theme.js +1 -1
- package/es/utils/transition.js +1 -1
- package/es/utils/use-value.js +1 -1
- package/es/virtual-list/index.js +1 -1
- package/es/virtual-list/range.js +1 -1
- package/es/watermark/index.js +1 -1
- package/lib/index.cjs +2 -2
- package/lib/locale/de.cjs +1 -1
- package/lib/locale/el.cjs +1 -1
- package/lib/locale/en.cjs +1 -1
- package/lib/locale/fr.cjs +1 -1
- package/lib/locale/it.cjs +1 -1
- package/lib/locale/ja.cjs +1 -1
- package/lib/locale/ko.cjs +1 -1
- package/lib/locale/ru.cjs +1 -1
- package/lib/locale/th.cjs +1 -1
- package/lib/locale/uk.cjs +1 -1
- package/lib/locale/vi.cjs +1 -1
- package/lib/locale/zh-CN.cjs +1 -1
- package/lib/locale/zh-TW.cjs +1 -1
- package/package.json +6 -3
- package/style/base.css +1 -1
- package/style/components.css +2 -2
- package/style/index.css +2 -2
- package/style/theme.css +1 -1
- package/types/carousel/carousel.d.cts +2 -1
- package/types/carousel/carousel.d.ts +2 -1
- package/types/carousel/drag.d.cts +19 -0
- package/types/carousel/drag.d.ts +19 -0
- package/types/input/input-base.d.cts +31 -0
- package/types/input/input-base.d.ts +31 -0
- package/types/input/input.d.cts +2 -25
- package/types/input/input.d.ts +2 -25
- package/types/page/index.d.cts +1 -0
- package/types/page/index.d.ts +1 -0
- package/types/page/responsive.d.cts +1 -0
- package/types/page/responsive.d.ts +1 -0
package/style/theme.css
CHANGED
|
@@ -4,7 +4,7 @@ export interface CarouselRef {
|
|
|
4
4
|
prev: () => void;
|
|
5
5
|
goTo: (index: number) => void;
|
|
6
6
|
}
|
|
7
|
-
export interface CarouselProps extends Omit<HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue" | "defaultChecked"> {
|
|
7
|
+
export interface CarouselProps extends Omit<HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue" | "defaultChecked" | "draggable"> {
|
|
8
8
|
value?: number;
|
|
9
9
|
loop?: boolean;
|
|
10
10
|
autoplay?: boolean;
|
|
@@ -12,6 +12,7 @@ export interface CarouselProps extends Omit<HTMLAttributes<HTMLDivElement>, "onC
|
|
|
12
12
|
height?: number;
|
|
13
13
|
vertical?: boolean;
|
|
14
14
|
dots?: boolean;
|
|
15
|
+
swipeable?: boolean;
|
|
15
16
|
onChange?: (index: number) => void;
|
|
16
17
|
}
|
|
17
18
|
declare const Carousel: import('react').ForwardRefExoticComponent<CarouselProps & import('react').RefAttributes<CarouselRef>>;
|
|
@@ -4,7 +4,7 @@ export interface CarouselRef {
|
|
|
4
4
|
prev: () => void;
|
|
5
5
|
goTo: (index: number) => void;
|
|
6
6
|
}
|
|
7
|
-
export interface CarouselProps extends Omit<HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue" | "defaultChecked"> {
|
|
7
|
+
export interface CarouselProps extends Omit<HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue" | "defaultChecked" | "draggable"> {
|
|
8
8
|
value?: number;
|
|
9
9
|
loop?: boolean;
|
|
10
10
|
autoplay?: boolean;
|
|
@@ -12,6 +12,7 @@ export interface CarouselProps extends Omit<HTMLAttributes<HTMLDivElement>, "onC
|
|
|
12
12
|
height?: number;
|
|
13
13
|
vertical?: boolean;
|
|
14
14
|
dots?: boolean;
|
|
15
|
+
swipeable?: boolean;
|
|
15
16
|
onChange?: (index: number) => void;
|
|
16
17
|
}
|
|
17
18
|
declare const Carousel: import('react').ForwardRefExoticComponent<CarouselProps & import('react').RefAttributes<CarouselRef>>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
interface DragOptions {
|
|
2
|
+
swipeable: boolean;
|
|
3
|
+
vertical: boolean;
|
|
4
|
+
size: number;
|
|
5
|
+
count: number;
|
|
6
|
+
index: number;
|
|
7
|
+
loop: boolean;
|
|
8
|
+
}
|
|
9
|
+
interface DragCallbacks {
|
|
10
|
+
options: () => DragOptions;
|
|
11
|
+
start: () => number | void;
|
|
12
|
+
offset: (value: number) => void;
|
|
13
|
+
settle?: (duration: number) => void;
|
|
14
|
+
finish: (step: -1 | 0 | 1) => void;
|
|
15
|
+
}
|
|
16
|
+
export declare function bindCarouselDrag(root: HTMLElement, callbacks: DragCallbacks): () => void;
|
|
17
|
+
export declare function retargetCarousel(root: HTMLElement, vertical: boolean, size: number, count: number, next: number, step: number): number;
|
|
18
|
+
export declare function readCarouselOffset(root: HTMLElement, vertical: boolean, position: number, size: number): number;
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
interface DragOptions {
|
|
2
|
+
swipeable: boolean;
|
|
3
|
+
vertical: boolean;
|
|
4
|
+
size: number;
|
|
5
|
+
count: number;
|
|
6
|
+
index: number;
|
|
7
|
+
loop: boolean;
|
|
8
|
+
}
|
|
9
|
+
interface DragCallbacks {
|
|
10
|
+
options: () => DragOptions;
|
|
11
|
+
start: () => number | void;
|
|
12
|
+
offset: (value: number) => void;
|
|
13
|
+
settle?: (duration: number) => void;
|
|
14
|
+
finish: (step: -1 | 0 | 1) => void;
|
|
15
|
+
}
|
|
16
|
+
export declare function bindCarouselDrag(root: HTMLElement, callbacks: DragCallbacks): () => void;
|
|
17
|
+
export declare function retargetCarousel(root: HTMLElement, vertical: boolean, size: number, count: number, next: number, step: number): number;
|
|
18
|
+
export declare function readCarouselOffset(root: HTMLElement, vertical: boolean, position: number, size: number): number;
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ShapeType, SizeType, ThemeType } from '../const/types.cjs';
|
|
3
|
+
import { IconType } from '../icon/index.cjs';
|
|
4
|
+
export interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "prefix" | "onChange" | "defaultValue" | "defaultChecked"> {
|
|
5
|
+
clearable?: boolean;
|
|
6
|
+
visiblePasswordIcon?: boolean;
|
|
7
|
+
size?: SizeType;
|
|
8
|
+
value?: string | number | readonly string[];
|
|
9
|
+
icon?: IconType[];
|
|
10
|
+
suffix?: React.ReactNode;
|
|
11
|
+
prefix?: React.ReactNode;
|
|
12
|
+
addonBefore?: React.ReactNode;
|
|
13
|
+
addonAfter?: React.ReactNode;
|
|
14
|
+
theme?: ThemeType;
|
|
15
|
+
shape?: ShapeType;
|
|
16
|
+
onSearch?: (value: string) => void;
|
|
17
|
+
onIconClick?: (e: React.MouseEvent) => void;
|
|
18
|
+
onClear?: () => void;
|
|
19
|
+
onChange?: (value: string) => void;
|
|
20
|
+
}
|
|
21
|
+
export interface InputRef {
|
|
22
|
+
focus: () => void;
|
|
23
|
+
blur: () => void;
|
|
24
|
+
}
|
|
25
|
+
interface InputBaseProps extends InputProps {
|
|
26
|
+
stylePrefix?: "input" | "input-number";
|
|
27
|
+
controls?: React.ReactNode;
|
|
28
|
+
}
|
|
29
|
+
/** Shared implementation. Deliberately absent from the public component barrel. */
|
|
30
|
+
declare const InputBase: React.ForwardRefExoticComponent<InputBaseProps & React.RefAttributes<InputRef>>;
|
|
31
|
+
export default InputBase;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ShapeType, SizeType, ThemeType } from '../const/types.js';
|
|
3
|
+
import { IconType } from '../icon/index.js';
|
|
4
|
+
export interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "prefix" | "onChange" | "defaultValue" | "defaultChecked"> {
|
|
5
|
+
clearable?: boolean;
|
|
6
|
+
visiblePasswordIcon?: boolean;
|
|
7
|
+
size?: SizeType;
|
|
8
|
+
value?: string | number | readonly string[];
|
|
9
|
+
icon?: IconType[];
|
|
10
|
+
suffix?: React.ReactNode;
|
|
11
|
+
prefix?: React.ReactNode;
|
|
12
|
+
addonBefore?: React.ReactNode;
|
|
13
|
+
addonAfter?: React.ReactNode;
|
|
14
|
+
theme?: ThemeType;
|
|
15
|
+
shape?: ShapeType;
|
|
16
|
+
onSearch?: (value: string) => void;
|
|
17
|
+
onIconClick?: (e: React.MouseEvent) => void;
|
|
18
|
+
onClear?: () => void;
|
|
19
|
+
onChange?: (value: string) => void;
|
|
20
|
+
}
|
|
21
|
+
export interface InputRef {
|
|
22
|
+
focus: () => void;
|
|
23
|
+
blur: () => void;
|
|
24
|
+
}
|
|
25
|
+
interface InputBaseProps extends InputProps {
|
|
26
|
+
stylePrefix?: "input" | "input-number";
|
|
27
|
+
controls?: React.ReactNode;
|
|
28
|
+
}
|
|
29
|
+
/** Shared implementation. Deliberately absent from the public component barrel. */
|
|
30
|
+
declare const InputBase: React.ForwardRefExoticComponent<InputBaseProps & React.RefAttributes<InputRef>>;
|
|
31
|
+
export default InputBase;
|
package/types/input/input.d.cts
CHANGED
|
@@ -1,28 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
export interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "prefix" | "onChange" | "defaultValue" | "defaultChecked"> {
|
|
5
|
-
clearable?: boolean;
|
|
6
|
-
visiblePasswordIcon?: boolean;
|
|
7
|
-
size?: SizeType;
|
|
8
|
-
value?: string | number | readonly string[];
|
|
9
|
-
icon?: IconType[];
|
|
10
|
-
suffix?: React.ReactNode;
|
|
11
|
-
prefix?: React.ReactNode;
|
|
12
|
-
addonBefore?: React.ReactNode;
|
|
13
|
-
addonAfter?: React.ReactNode;
|
|
14
|
-
theme?: ThemeType;
|
|
15
|
-
shape?: ShapeType;
|
|
16
|
-
inputType?: string;
|
|
17
|
-
onSearch?: (value: string) => void;
|
|
18
|
-
onIconClick?: (e: React.MouseEvent) => void;
|
|
19
|
-
onClear?: () => void;
|
|
20
|
-
onChange?: (value: string) => void;
|
|
21
|
-
controls?: React.ReactNode;
|
|
22
|
-
}
|
|
23
|
-
export interface InputRef {
|
|
24
|
-
focus: () => void;
|
|
25
|
-
blur: () => void;
|
|
26
|
-
}
|
|
2
|
+
import { InputProps, InputRef } from './input-base.cjs';
|
|
3
|
+
export type { InputProps, InputRef } from './input-base.cjs';
|
|
27
4
|
declare const _default: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<InputRef>>;
|
|
28
5
|
export default _default;
|
package/types/input/input.d.ts
CHANGED
|
@@ -1,28 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
export interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "prefix" | "onChange" | "defaultValue" | "defaultChecked"> {
|
|
5
|
-
clearable?: boolean;
|
|
6
|
-
visiblePasswordIcon?: boolean;
|
|
7
|
-
size?: SizeType;
|
|
8
|
-
value?: string | number | readonly string[];
|
|
9
|
-
icon?: IconType[];
|
|
10
|
-
suffix?: React.ReactNode;
|
|
11
|
-
prefix?: React.ReactNode;
|
|
12
|
-
addonBefore?: React.ReactNode;
|
|
13
|
-
addonAfter?: React.ReactNode;
|
|
14
|
-
theme?: ThemeType;
|
|
15
|
-
shape?: ShapeType;
|
|
16
|
-
inputType?: string;
|
|
17
|
-
onSearch?: (value: string) => void;
|
|
18
|
-
onIconClick?: (e: React.MouseEvent) => void;
|
|
19
|
-
onClear?: () => void;
|
|
20
|
-
onChange?: (value: string) => void;
|
|
21
|
-
controls?: React.ReactNode;
|
|
22
|
-
}
|
|
23
|
-
export interface InputRef {
|
|
24
|
-
focus: () => void;
|
|
25
|
-
blur: () => void;
|
|
26
|
-
}
|
|
2
|
+
import { InputProps, InputRef } from './input-base.js';
|
|
3
|
+
export type { InputProps, InputRef } from './input-base.js';
|
|
27
4
|
declare const _default: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<InputRef>>;
|
|
28
5
|
export default _default;
|
package/types/page/index.d.cts
CHANGED
|
@@ -2,6 +2,7 @@ import { default as React } from 'react';
|
|
|
2
2
|
import { ShapeType, SizeType, ThemeType } from '../const/types.cjs';
|
|
3
3
|
export interface PageProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue" | "defaultChecked"> {
|
|
4
4
|
simple?: boolean;
|
|
5
|
+
responsive?: boolean;
|
|
5
6
|
disabled?: boolean;
|
|
6
7
|
showSizer?: boolean;
|
|
7
8
|
showTotal?: boolean;
|
package/types/page/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { default as React } from 'react';
|
|
|
2
2
|
import { ShapeType, SizeType, ThemeType } from '../const/types.js';
|
|
3
3
|
export interface PageProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue" | "defaultChecked"> {
|
|
4
4
|
simple?: boolean;
|
|
5
|
+
responsive?: boolean;
|
|
5
6
|
disabled?: boolean;
|
|
6
7
|
showSizer?: boolean;
|
|
7
8
|
showTotal?: boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function bindResponsivePage(root: HTMLElement): () => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function bindResponsivePage(root: HTMLElement): () => void;
|