fis-component 0.0.34 → 0.0.36
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/index.js +231 -20
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/src/assets/icons/ChevronLeftIcon.d.ts +3 -0
- package/dist/cjs/types/src/assets/icons/ChevronRightIcon.d.ts +3 -0
- package/dist/cjs/types/src/assets/icons/InfoIcon.d.ts +1 -2
- package/dist/cjs/types/src/assets/icons/index.d.ts +2 -0
- package/dist/cjs/types/src/components/Breadcrumb/index.d.ts +1 -1
- package/dist/cjs/types/src/components/MenuSelect/types.d.ts +1 -1
- package/dist/cjs/types/src/components/Pagination/Pagination.stories.d.ts +8 -0
- package/dist/cjs/types/src/components/Pagination/index.d.ts +9 -0
- package/dist/cjs/types/src/components/Pagination/styles.d.ts +25 -0
- package/dist/cjs/types/src/components/Select/types.d.ts +3 -3
- package/dist/cjs/types/src/components/Select/utils.d.ts +2 -0
- package/dist/cjs/types/src/components/SelectItem/index.d.ts +1 -5
- package/dist/cjs/types/src/components/Toast/ToastContext.d.ts +2 -1
- package/dist/cjs/types/src/components/Toast/index.d.ts +1 -0
- package/dist/cjs/types/src/components/Toast/styles.d.ts +3 -1
- package/dist/cjs/types/src/components/Toast/useToast.d.ts +2 -1
- package/dist/cjs/types/src/index.d.ts +5 -0
- package/dist/esm/index.js +227 -21
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/src/assets/icons/ChevronLeftIcon.d.ts +3 -0
- package/dist/esm/types/src/assets/icons/ChevronRightIcon.d.ts +3 -0
- package/dist/esm/types/src/assets/icons/InfoIcon.d.ts +1 -2
- package/dist/esm/types/src/assets/icons/index.d.ts +2 -0
- package/dist/esm/types/src/components/Breadcrumb/index.d.ts +1 -1
- package/dist/esm/types/src/components/MenuSelect/types.d.ts +1 -1
- package/dist/esm/types/src/components/Pagination/Pagination.stories.d.ts +8 -0
- package/dist/esm/types/src/components/Pagination/index.d.ts +9 -0
- package/dist/esm/types/src/components/Pagination/styles.d.ts +25 -0
- package/dist/esm/types/src/components/Select/types.d.ts +3 -3
- package/dist/esm/types/src/components/Select/utils.d.ts +2 -0
- package/dist/esm/types/src/components/SelectItem/index.d.ts +1 -5
- package/dist/esm/types/src/components/Toast/ToastContext.d.ts +2 -1
- package/dist/esm/types/src/components/Toast/index.d.ts +1 -0
- package/dist/esm/types/src/components/Toast/styles.d.ts +3 -1
- package/dist/esm/types/src/components/Toast/useToast.d.ts +2 -1
- package/dist/esm/types/src/index.d.ts +5 -0
- package/dist/index.d.ts +75 -27
- package/package.json +1 -1
|
@@ -37,3 +37,5 @@ export { default as MoreIcon } from "./MoreIcon";
|
|
|
37
37
|
export { default as NoDataIcon } from "./NoDataIcon";
|
|
38
38
|
export { default as NoResultIcon } from "./NoResultIcon";
|
|
39
39
|
export { default as RemoveIcon } from "./RemoveIcon";
|
|
40
|
+
export { default as ChevronLeftIcon } from "./ChevronLeftIcon";
|
|
41
|
+
export { default as ChevronRightIcon } from "./ChevronRightIcon";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import { PaginationProps } from "./";
|
|
3
|
+
declare const _default: Meta<PaginationProps>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Default: StoryObj<PaginationProps>;
|
|
6
|
+
export declare const Minimized: StoryObj<PaginationProps>;
|
|
7
|
+
export declare const CustomTotal: StoryObj<PaginationProps>;
|
|
8
|
+
export declare const WithRecordCounted: StoryObj<PaginationProps>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { PaginationProps as AntdPaginationProps } from "antd";
|
|
3
|
+
export interface PaginationProps extends AntdPaginationProps {
|
|
4
|
+
minimize?: boolean;
|
|
5
|
+
recordCounted?: boolean;
|
|
6
|
+
onIconPageRecordClick?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
|
|
7
|
+
}
|
|
8
|
+
declare const FISPagination: React.FC<PaginationProps>;
|
|
9
|
+
export default FISPagination;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export declare const PaginationAntdSC: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("antd").PaginationProps, {
|
|
2
|
+
$minimize?: boolean;
|
|
3
|
+
}>> & string & Omit<import("react").FC<import("antd").PaginationProps>, keyof import("react").Component<any, {}, any>>;
|
|
4
|
+
export declare const DivPaginationContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
5
|
+
export declare const DivPaginationContent: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
6
|
+
export declare const SpanTotalSC: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
|
|
7
|
+
export declare const SelectPageSizeSC: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<(Omit<Partial<import("../Input/InputLabel").InputLabelProps> & Omit<import("../MenuSelect/types").MenuProps, "size" | "onClickMenu" | "groups" | "multi" | "selectedValues" | "onChangeSelected"> & Omit<import("../SelectItem").SelectFieldProps, "onChange" | "value"> & {
|
|
8
|
+
options: import("../Select/types").SelectOption[];
|
|
9
|
+
message?: string;
|
|
10
|
+
placeholderSearch?: string;
|
|
11
|
+
positive?: boolean;
|
|
12
|
+
multiDisplayText?: (count: number) => string;
|
|
13
|
+
renderOption?: (option: import("../Select/types").SelectOption) => React.ReactNode;
|
|
14
|
+
} & import("../Select/types").SingleSelect<string> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
15
|
+
ref?: ((instance: HTMLInputElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
16
|
+
}) | (Omit<Partial<import("../Input/InputLabel").InputLabelProps> & Omit<import("../MenuSelect/types").MenuProps, "size" | "onClickMenu" | "groups" | "multi" | "selectedValues" | "onChangeSelected"> & Omit<import("../SelectItem").SelectFieldProps, "onChange" | "value"> & {
|
|
17
|
+
options: import("../Select/types").SelectOption[];
|
|
18
|
+
message?: string;
|
|
19
|
+
placeholderSearch?: string;
|
|
20
|
+
positive?: boolean;
|
|
21
|
+
multiDisplayText?: (count: number) => string;
|
|
22
|
+
renderOption?: (option: import("../Select/types").SelectOption) => React.ReactNode;
|
|
23
|
+
} & import("../Select/types").MultiSelect<string> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
24
|
+
ref?: ((instance: HTMLInputElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
25
|
+
}), import("styled-components/dist/types").BaseObject>> & string & Omit<import("react").ForwardRefExoticComponent<import("../Select/types").SelectProps<string> & import("react").RefAttributes<HTMLInputElement>>, keyof import("react").Component<any, {}, any>>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { InputFieldProps } from "../Input/InputField";
|
|
2
1
|
import { InputLabelProps } from "../Input/InputLabel";
|
|
3
2
|
import { MenuProps } from "../MenuSelect/types";
|
|
3
|
+
import { SelectFieldProps } from "../SelectItem";
|
|
4
4
|
export interface SelectOption {
|
|
5
|
-
groupLabel
|
|
5
|
+
groupLabel?: string;
|
|
6
6
|
items: {
|
|
7
7
|
label: string;
|
|
8
8
|
description?: string;
|
|
@@ -21,7 +21,7 @@ export type MultiSelect<T> = {
|
|
|
21
21
|
onChange: (value: T[]) => void;
|
|
22
22
|
displayValue?: (value: SelectOption[]) => string;
|
|
23
23
|
};
|
|
24
|
-
export type SelectProps<T> =
|
|
24
|
+
export type SelectProps<T> = Partial<InputLabelProps> & Omit<MenuProps, "groups" | "multi" | "selectedValues" | "onChangeSelected" | "onClickMenu" | "size"> & Omit<SelectFieldProps, "value" | "onChange"> & {
|
|
25
25
|
options: SelectOption[];
|
|
26
26
|
message?: string;
|
|
27
27
|
placeholderSearch?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentPropsWithoutRef, JSX } from "react";
|
|
2
2
|
export type SelectSize = "xs" | "sm" | "md" | "lg";
|
|
3
|
-
export interface SelectFieldProps extends Omit<ComponentPropsWithoutRef<"input">, "onClick"> {
|
|
3
|
+
export interface SelectFieldProps extends Omit<ComponentPropsWithoutRef<"input">, "onClick" | "size"> {
|
|
4
4
|
/**Control the size of the component*/
|
|
5
5
|
size?: SelectSize;
|
|
6
6
|
/**Prefix for filter value*/
|
|
@@ -11,10 +11,6 @@ export interface SelectFieldProps extends Omit<ComponentPropsWithoutRef<"input">
|
|
|
11
11
|
actived?: boolean;
|
|
12
12
|
/**active-dropdown for current field*/
|
|
13
13
|
activeDropdown?: boolean;
|
|
14
|
-
/** onClickSuffix for current field Button */
|
|
15
|
-
onClickSuffix?: () => void;
|
|
16
|
-
/** onClickPrefix for current field Button */
|
|
17
|
-
onClickPrefix?: () => void;
|
|
18
14
|
}
|
|
19
15
|
declare const FISSelectItem: import("react").ForwardRefExoticComponent<SelectFieldProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
20
16
|
export default FISSelectItem;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { ToastProps } from ".";
|
|
2
|
+
import { ToastProps, ToastPositionType } from ".";
|
|
3
3
|
interface ToastOptions extends ToastProps {
|
|
4
4
|
duration?: number;
|
|
5
|
+
position?: ToastPositionType;
|
|
5
6
|
}
|
|
6
7
|
export interface ToastContextType {
|
|
7
8
|
showToast: (options: ToastOptions) => void;
|
|
@@ -2,6 +2,7 @@ import React from "react";
|
|
|
2
2
|
export type ThemeType = "neutral" | "info" | "positive" | "caution" | "negative";
|
|
3
3
|
export type ToastType = "link" | "button" | "no-action";
|
|
4
4
|
export type PositionType = "inline" | "bottom";
|
|
5
|
+
export type ToastPositionType = "top-center" | "bottom-center";
|
|
5
6
|
export type ToastProps = {
|
|
6
7
|
className?: string;
|
|
7
8
|
theme?: ThemeType;
|
|
@@ -9,5 +9,7 @@ export declare const DivIconSC: import("styled-components/dist/types").IStyledCo
|
|
|
9
9
|
export declare const PTitleSC: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, ToastProps>> & string;
|
|
10
10
|
export declare const LinkSC: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, never>> & string;
|
|
11
11
|
export declare const DivTitleWrap: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, ToastProps>> & string;
|
|
12
|
-
export declare const ToastWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").
|
|
12
|
+
export declare const ToastWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
13
|
+
$position?: "top-center" | "bottom-center";
|
|
14
|
+
}>> & string;
|
|
13
15
|
export {};
|
|
@@ -41,3 +41,8 @@ export { default as FISProgressLinear } from "./components/ProgressLinear";
|
|
|
41
41
|
export { default as FISSplitButton } from "./components/SplitButton";
|
|
42
42
|
export { default as FISSelect } from "./components/Select";
|
|
43
43
|
export { default as FISSelectItem } from "./components/SelectItem";
|
|
44
|
+
export { default as useNotification } from "./components/Notification/useNotification";
|
|
45
|
+
export { default as useToast } from "./components/Toast/useToast";
|
|
46
|
+
export { default as FISHeaderCell } from "./components/Table/HeaderCell";
|
|
47
|
+
export { default as FISColumnCell } from "./components/Table/ColumnCell";
|
|
48
|
+
export { default as FISPagination } from "./components/Pagination";
|
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,8 @@ import * as React$1 from 'react';
|
|
|
2
2
|
import React__default, { ComponentPropsWithoutRef, ReactNode, Ref, ForwardedRef, JSX, FC, DetailedHTMLProps, HTMLAttributes, ReactElement, ComponentType } from 'react';
|
|
3
3
|
import { DefaultTheme } from 'styled-components';
|
|
4
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
|
-
import { TooltipProps as TooltipProps$1, CollapseProps, TableProps as TableProps$1 } from 'antd';
|
|
5
|
+
import { TooltipProps as TooltipProps$1, CollapseProps, TableProps as TableProps$1, PaginationProps as PaginationProps$1 } from 'antd';
|
|
6
|
+
import * as antd_es_notification_interface from 'antd/es/notification/interface';
|
|
6
7
|
|
|
7
8
|
interface ThemeProviderProps {
|
|
8
9
|
theme?: DefaultTheme;
|
|
@@ -3567,7 +3568,7 @@ interface BreadcrumbItemProps extends ComponentPropsWithoutRef<"button"> {
|
|
|
3567
3568
|
icon?: React__default.ReactNode;
|
|
3568
3569
|
label?: string;
|
|
3569
3570
|
active?: boolean;
|
|
3570
|
-
onClick
|
|
3571
|
+
onClick?: () => void;
|
|
3571
3572
|
}
|
|
3572
3573
|
type BreadcrumbProps = {
|
|
3573
3574
|
items: BreadcrumbItemProps[];
|
|
@@ -3842,7 +3843,7 @@ interface MenuItem {
|
|
|
3842
3843
|
value: string;
|
|
3843
3844
|
}
|
|
3844
3845
|
interface MenuGroup {
|
|
3845
|
-
groupLabel
|
|
3846
|
+
groupLabel?: string;
|
|
3846
3847
|
items: MenuItem[];
|
|
3847
3848
|
}
|
|
3848
3849
|
type MenuSize = "md" | "lg";
|
|
@@ -3957,6 +3958,7 @@ declare const FISCollapse: React.FC<CustomCollapseProps>;
|
|
|
3957
3958
|
type ThemeType$1 = "neutral" | "info" | "positive" | "caution" | "negative";
|
|
3958
3959
|
type ToastType = "link" | "button" | "no-action";
|
|
3959
3960
|
type PositionType = "inline" | "bottom";
|
|
3961
|
+
type ToastPositionType = "top-center" | "bottom-center";
|
|
3960
3962
|
type ToastProps = {
|
|
3961
3963
|
className?: string;
|
|
3962
3964
|
theme?: ThemeType$1;
|
|
@@ -4135,10 +4137,10 @@ declare namespace FISAlertBanner {
|
|
|
4135
4137
|
var displayName: string;
|
|
4136
4138
|
}
|
|
4137
4139
|
|
|
4138
|
-
type Variant$
|
|
4140
|
+
type Variant$2 = "indeterminate" | "determinate";
|
|
4139
4141
|
type Size$1 = "xs" | "sm" | "md" | "lg";
|
|
4140
4142
|
interface ProgressCircularProps {
|
|
4141
|
-
variant: Variant$
|
|
4143
|
+
variant: Variant$2;
|
|
4142
4144
|
percent?: number;
|
|
4143
4145
|
size?: Size$1;
|
|
4144
4146
|
invert?: boolean;
|
|
@@ -4149,10 +4151,10 @@ declare namespace FISProgressCircular {
|
|
|
4149
4151
|
var displayName: string;
|
|
4150
4152
|
}
|
|
4151
4153
|
|
|
4152
|
-
type Variant = "indeterminate" | "determinate";
|
|
4154
|
+
type Variant$1 = "indeterminate" | "determinate";
|
|
4153
4155
|
type Size = "xs" | "sm" | "md" | "lg";
|
|
4154
4156
|
interface ProgressLinearProps {
|
|
4155
|
-
variant: Variant;
|
|
4157
|
+
variant: Variant$1;
|
|
4156
4158
|
percent: number;
|
|
4157
4159
|
size?: Size;
|
|
4158
4160
|
invert?: boolean;
|
|
@@ -4182,8 +4184,23 @@ declare const FISSplitButton: React__default.ForwardRefExoticComponent<{
|
|
|
4182
4184
|
className?: string;
|
|
4183
4185
|
} & React__default.RefAttributes<HTMLDivElement>>;
|
|
4184
4186
|
|
|
4187
|
+
type SelectSize = "xs" | "sm" | "md" | "lg";
|
|
4188
|
+
interface SelectFieldProps extends Omit<ComponentPropsWithoutRef<"input">, "onClick" | "size"> {
|
|
4189
|
+
/**Control the size of the component*/
|
|
4190
|
+
size?: SelectSize;
|
|
4191
|
+
/**Prefix for filter value*/
|
|
4192
|
+
iconPrefix?: string | JSX.Element;
|
|
4193
|
+
/**iconSuffix for filter value*/
|
|
4194
|
+
iconSuffix?: string | JSX.Element;
|
|
4195
|
+
/**actived for current field*/
|
|
4196
|
+
actived?: boolean;
|
|
4197
|
+
/**active-dropdown for current field*/
|
|
4198
|
+
activeDropdown?: boolean;
|
|
4199
|
+
}
|
|
4200
|
+
declare const FISSelectItem: React$1.ForwardRefExoticComponent<SelectFieldProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
4201
|
+
|
|
4185
4202
|
interface SelectOption {
|
|
4186
|
-
groupLabel
|
|
4203
|
+
groupLabel?: string;
|
|
4187
4204
|
items: {
|
|
4188
4205
|
label: string;
|
|
4189
4206
|
description?: string;
|
|
@@ -4202,7 +4219,7 @@ type MultiSelect<T> = {
|
|
|
4202
4219
|
onChange: (value: T[]) => void;
|
|
4203
4220
|
displayValue?: (value: SelectOption[]) => string;
|
|
4204
4221
|
};
|
|
4205
|
-
type SelectProps<T> =
|
|
4222
|
+
type SelectProps<T> = Partial<InputLabelProps> & Omit<MenuProps, "groups" | "multi" | "selectedValues" | "onChangeSelected" | "onClickMenu" | "size"> & Omit<SelectFieldProps, "value" | "onChange"> & {
|
|
4206
4223
|
options: SelectOption[];
|
|
4207
4224
|
message?: string;
|
|
4208
4225
|
placeholderSearch?: string;
|
|
@@ -4213,24 +4230,55 @@ type SelectProps<T> = Omit<InputFieldProps, "value" | "onChange"> & Partial<Inpu
|
|
|
4213
4230
|
|
|
4214
4231
|
declare const FISSelect: React$1.ForwardRefExoticComponent<SelectProps<string> & React$1.RefAttributes<HTMLInputElement>>;
|
|
4215
4232
|
|
|
4216
|
-
type
|
|
4217
|
-
|
|
4218
|
-
|
|
4219
|
-
|
|
4220
|
-
|
|
4221
|
-
|
|
4222
|
-
|
|
4223
|
-
|
|
4224
|
-
|
|
4225
|
-
|
|
4226
|
-
|
|
4227
|
-
|
|
4228
|
-
|
|
4229
|
-
|
|
4230
|
-
|
|
4231
|
-
|
|
4233
|
+
type NotificationBaseProps = {
|
|
4234
|
+
title: string | React.ReactElement;
|
|
4235
|
+
description: string | React.ReactElement;
|
|
4236
|
+
duration?: number;
|
|
4237
|
+
slot?: React.ReactNode;
|
|
4238
|
+
cancelText?: string;
|
|
4239
|
+
okText?: string;
|
|
4240
|
+
moreOption?: boolean;
|
|
4241
|
+
key?: string;
|
|
4242
|
+
onCancel?: () => void;
|
|
4243
|
+
onOk?: () => void;
|
|
4244
|
+
onMoreClick?: () => void;
|
|
4245
|
+
onClose?: () => void;
|
|
4246
|
+
};
|
|
4247
|
+
type SystemNotificationProps = NotificationBaseProps & {
|
|
4248
|
+
imgUrl: string;
|
|
4249
|
+
};
|
|
4250
|
+
type InfoNotificationProps = NotificationBaseProps & {
|
|
4251
|
+
icon?: string;
|
|
4252
|
+
size?: IconSize;
|
|
4253
|
+
variant?: Variant;
|
|
4254
|
+
roundedIcon?: boolean;
|
|
4255
|
+
};
|
|
4256
|
+
type Variant = "neutral" | "info" | "positive" | "caution" | "negative";
|
|
4257
|
+
type IconSize = 24 | 28 | 36 | 44 | 56 | 68 | 84;
|
|
4258
|
+
|
|
4259
|
+
declare const useNotification: () => {
|
|
4260
|
+
api: antd_es_notification_interface.NotificationInstance;
|
|
4261
|
+
contextHolder: React__default.ReactElement<unknown, string | React__default.JSXElementConstructor<any>>;
|
|
4262
|
+
notificationWithImage: ({ key: keyProp, duration, onClose: onCloseProp, ...rest }: SystemNotificationProps) => void;
|
|
4263
|
+
notificationWithFeature: ({ key: keyProp, duration, onClose: onCloseProp, ...rest }: InfoNotificationProps) => void;
|
|
4264
|
+
};
|
|
4265
|
+
|
|
4266
|
+
interface ToastOptions extends ToastProps {
|
|
4267
|
+
duration?: number;
|
|
4268
|
+
position?: ToastPositionType;
|
|
4232
4269
|
}
|
|
4233
|
-
|
|
4270
|
+
interface ToastContextType {
|
|
4271
|
+
showToast: (options: ToastOptions) => void;
|
|
4272
|
+
}
|
|
4273
|
+
|
|
4274
|
+
declare const useToast: () => ToastContextType;
|
|
4275
|
+
|
|
4276
|
+
interface PaginationProps extends PaginationProps$1 {
|
|
4277
|
+
minimize?: boolean;
|
|
4278
|
+
recordCounted?: boolean;
|
|
4279
|
+
onIconPageRecordClick?: (event: React__default.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
|
|
4280
|
+
}
|
|
4281
|
+
declare const FISPagination: React__default.FC<PaginationProps>;
|
|
4234
4282
|
|
|
4235
|
-
export { FISAlertBanner, FISAvatar, FISBadge, FISBreadcrumb, FISButton, FISButtonGroup, FISCheckbox, FISCheckboxGroup, FISChipButton, FISCollapse, FISCombobox, FISDateRange, FISDivider, FISIconButton, FISInputArea, FISInputDate, FISInputField, FISInputLabel, FISInputStepper, FISInputText, FISInputTime, FISLinkButton, FISMenuItem, FISMenuSection, FISMenuSelect, FISProgressCircular, FISProgressLinear, FISRadio, RadioGroup as FISRadioGroup, FISSegmented, FISSelect, FISSelectItem, FISSorter, FISSplitButton, FISSwitch, FISTab, FISTable, FISColumnCell as FISTableColumn, FISHeaderCell as FISTableHeader, FISThemeProvider, FISToast, FISTooltip, SegmentedPanelItem, TabPanelItem };
|
|
4283
|
+
export { FISAlertBanner, FISAvatar, FISBadge, FISBreadcrumb, FISButton, FISButtonGroup, FISCheckbox, FISCheckboxGroup, FISChipButton, FISCollapse, FISColumnCell, FISCombobox, FISDateRange, FISDivider, FISHeaderCell, FISIconButton, FISInputArea, FISInputDate, FISInputField, FISInputLabel, FISInputStepper, FISInputText, FISInputTime, FISLinkButton, FISMenuItem, FISMenuSection, FISMenuSelect, FISPagination, FISProgressCircular, FISProgressLinear, FISRadio, RadioGroup as FISRadioGroup, FISSegmented, FISSelect, FISSelectItem, FISSorter, FISSplitButton, FISSwitch, FISTab, FISTable, FISColumnCell as FISTableColumn, FISHeaderCell as FISTableHeader, FISThemeProvider, FISToast, FISTooltip, SegmentedPanelItem, TabPanelItem, useNotification, useToast };
|
|
4236
4284
|
export type { ThemeType$2 as ThemeType };
|