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.
Files changed (26) hide show
  1. package/dist/cjs/index.js +1 -1
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/cjs/types/material/FAlert/FAlert.d.ts +3 -0
  4. package/dist/cjs/types/material/FAlert/FAlert.stories.d.ts +4 -0
  5. package/dist/cjs/types/material/FButton/FButton.d.ts +1 -0
  6. package/dist/cjs/types/material/FIcons/FArrowIcon/FArrowIcon.d.ts +1 -1
  7. package/dist/cjs/types/material/FIcons/FCheckIcon/FCheckIcon.d.ts +1 -1
  8. package/dist/cjs/types/material/FIcons/FListIcon/FListIcon.d.ts +1 -1
  9. package/dist/cjs/types/material/FIcons/FPenIcon/FPenIcon.d.ts +1 -1
  10. package/dist/cjs/types/material/FIcons/FPlusIcon/FPlusIcon.d.ts +1 -1
  11. package/dist/cjs/types/material/FIcons/FTrashIcon/FTrashIcon.d.ts +1 -1
  12. package/dist/cjs/types/material/index.d.ts +1 -0
  13. package/dist/esm/index.js +1 -1
  14. package/dist/esm/index.js.map +1 -1
  15. package/dist/esm/types/material/FAlert/FAlert.d.ts +3 -0
  16. package/dist/esm/types/material/FAlert/FAlert.stories.d.ts +4 -0
  17. package/dist/esm/types/material/FButton/FButton.d.ts +1 -0
  18. package/dist/esm/types/material/FIcons/FArrowIcon/FArrowIcon.d.ts +1 -1
  19. package/dist/esm/types/material/FIcons/FCheckIcon/FCheckIcon.d.ts +1 -1
  20. package/dist/esm/types/material/FIcons/FListIcon/FListIcon.d.ts +1 -1
  21. package/dist/esm/types/material/FIcons/FPenIcon/FPenIcon.d.ts +1 -1
  22. package/dist/esm/types/material/FIcons/FPlusIcon/FPlusIcon.d.ts +1 -1
  23. package/dist/esm/types/material/FIcons/FTrashIcon/FTrashIcon.d.ts +1 -1
  24. package/dist/esm/types/material/index.d.ts +1 -0
  25. package/dist/index.d.ts +16 -1
  26. 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>;
@@ -1,5 +1,6 @@
1
1
  import React from "react";
2
2
  import './FButton.css';
3
+ import "../statick/Colors.css";
3
4
  export interface IFButton {
4
5
  children?: React.ReactChild | React.ReactNode;
5
6
  variant?: 'contained' | 'default';
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import "../FIconsStyles.css";
2
+ import "../../statick/Colors.css";
3
3
  export interface IFArrowIcon {
4
4
  color?: 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'light' | 'dark' | 'link';
5
5
  size?: number;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import "../FIconsStyles.css";
2
+ import "../../statick/Colors.css";
3
3
  export interface IFCheckIcon {
4
4
  color?: 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'light' | 'dark' | 'link';
5
5
  size?: number;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import "../FIconsStyles.css";
2
+ import "../../statick/Colors.css";
3
3
  export interface IFListIcon {
4
4
  color?: 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'light' | 'dark' | 'link';
5
5
  size?: number;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import "../FIconsStyles.css";
2
+ import "../../statick/Colors.css";
3
3
  export interface IFPenIcon {
4
4
  color?: 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'light' | 'dark' | 'link';
5
5
  size?: number;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import "../FIconsStyles.css";
2
+ import "../../statick/Colors.css";
3
3
  export interface IFPlusIcon {
4
4
  color?: 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'light' | 'dark' | 'link';
5
5
  size?: number;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import "../FIconsStyles.css";
2
+ import "../../statick/Colors.css";
3
3
  export interface IFTrashIcon {
4
4
  color?: 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'light' | 'dark' | 'link';
5
5
  size?: number;
@@ -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
- export { FAccordion, 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 };
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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fui-material",
3
- "version": "0.1.85",
3
+ "version": "0.1.87",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org/"