fui-material 0.1.85 → 0.1.87
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 +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/material/FAlert/FAlert.d.ts +3 -0
- package/dist/cjs/types/material/FAlert/FAlert.stories.d.ts +4 -0
- package/dist/cjs/types/material/FButton/FButton.d.ts +1 -0
- package/dist/cjs/types/material/FIcons/FArrowIcon/FArrowIcon.d.ts +1 -1
- package/dist/cjs/types/material/FIcons/FCheckIcon/FCheckIcon.d.ts +1 -1
- package/dist/cjs/types/material/FIcons/FListIcon/FListIcon.d.ts +1 -1
- package/dist/cjs/types/material/FIcons/FPenIcon/FPenIcon.d.ts +1 -1
- package/dist/cjs/types/material/FIcons/FPlusIcon/FPlusIcon.d.ts +1 -1
- package/dist/cjs/types/material/FIcons/FTrashIcon/FTrashIcon.d.ts +1 -1
- package/dist/cjs/types/material/index.d.ts +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/material/FAlert/FAlert.d.ts +3 -0
- package/dist/esm/types/material/FAlert/FAlert.stories.d.ts +4 -0
- package/dist/esm/types/material/FButton/FButton.d.ts +1 -0
- package/dist/esm/types/material/FIcons/FArrowIcon/FArrowIcon.d.ts +1 -1
- package/dist/esm/types/material/FIcons/FCheckIcon/FCheckIcon.d.ts +1 -1
- package/dist/esm/types/material/FIcons/FListIcon/FListIcon.d.ts +1 -1
- package/dist/esm/types/material/FIcons/FPenIcon/FPenIcon.d.ts +1 -1
- package/dist/esm/types/material/FIcons/FPlusIcon/FPlusIcon.d.ts +1 -1
- package/dist/esm/types/material/FIcons/FTrashIcon/FTrashIcon.d.ts +1 -1
- package/dist/esm/types/material/index.d.ts +1 -0
- package/dist/index.d.ts +16 -1
- package/package.json +1 -1
|
@@ -2,6 +2,10 @@ import React from 'react';
|
|
|
2
2
|
import { ComponentMeta, Story } from '@storybook/react';
|
|
3
3
|
import { IFAlert } from "./FAlert";
|
|
4
4
|
import "bootstrap/dist/css/bootstrap.css";
|
|
5
|
+
import "./FAlert-stories.css";
|
|
5
6
|
declare const _default: ComponentMeta<React.FC<IFAlert>>;
|
|
6
7
|
export default _default;
|
|
7
8
|
export declare const Default: Story<IFAlert>;
|
|
9
|
+
export declare const ButtonClose: Story<IFAlert>;
|
|
10
|
+
export declare const Variant: Story<IFAlert>;
|
|
11
|
+
export declare const Position: Story<IFAlert>;
|
|
@@ -39,3 +39,4 @@ export { default as FCheckIcon } from "./FIcons/FCheckIcon";
|
|
|
39
39
|
export { default as FListIcon } from "./FIcons/FListIcon";
|
|
40
40
|
export { default as FPenIcon } from "./FIcons/FPenIcon";
|
|
41
41
|
export { default as FTextArea } from "./FTextArea";
|
|
42
|
+
export { default as FAlert } from "./FAlert";
|
package/dist/index.d.ts
CHANGED
|
@@ -464,4 +464,19 @@ interface IFTextArea {
|
|
|
464
464
|
}
|
|
465
465
|
declare const FTextArea: FC<IFTextArea>;
|
|
466
466
|
|
|
467
|
-
|
|
467
|
+
interface IFAlert {
|
|
468
|
+
variant: 'info' | 'error';
|
|
469
|
+
onClose?: React.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
470
|
+
title: string;
|
|
471
|
+
body: string;
|
|
472
|
+
st?: React.CSSProperties | undefined;
|
|
473
|
+
open: boolean;
|
|
474
|
+
vertical: 'top' | 'bottom';
|
|
475
|
+
horizontal: 'left' | 'center' | 'right';
|
|
476
|
+
buttonClose: boolean;
|
|
477
|
+
id?: string;
|
|
478
|
+
className?: string;
|
|
479
|
+
}
|
|
480
|
+
declare const FAlert: FC<IFAlert>;
|
|
481
|
+
|
|
482
|
+
export { FAccordion, FAlert, FArrowIcon, FButton$1 as FButton, FButton as FButtonFile, FCheckIcon, FCheckbox, FCloseIcon, FContainer, FDialog, FDialogBody, FDialogFooter, FDialogHeader, FFile, FFullDateField, FGrid, FInputFileForm, FListIcon, FOpenImgFull, FPagination, FPaper, FPenIcon, FPlusIcon, FPreloader, FProgress, FRadioButton, FSelect, FSelectItem, FSelectSearchDb, FStack, FTable, FTableBody, FTableDataCell, FTableFooter, FTableHead, FTableHeaderCell, FTableRow, FTextArea, FTextField, FTimeline, FTimelineCard, FTrashIcon };
|