fui-material 0.2.60 → 0.2.61
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/bundle.css +1980 -0
- package/dist/bundle.esm.css +1980 -0
- package/dist/bundle.esm.js +1341 -0
- package/dist/bundle.js +1398 -0
- package/dist/function-elements/fAlert/fAlert.d.ts +8 -0
- package/dist/function-elements/fAlert/index.d.ts +1 -0
- package/dist/function-elements/fConfirm/fConfirm.d.ts +7 -0
- package/dist/function-elements/fConfirm/index.d.ts +1 -0
- package/dist/function-elements/fPrompt/fPrompt.d.ts +8 -0
- package/dist/function-elements/fPrompt/index.d.ts +1 -0
- package/dist/function-elements/index.d.ts +3 -0
- package/dist/icons/FArrowIcon/FArrowIcon.d.ts +13 -0
- package/dist/icons/FArrowIcon/index.d.ts +1 -0
- package/dist/icons/FCheckIcon/FCheckIcon.d.ts +12 -0
- package/dist/icons/FCheckIcon/index.d.ts +1 -0
- package/dist/icons/FCloseIcon/FCloseIcon.d.ts +12 -0
- package/dist/icons/FCloseIcon/index.d.ts +1 -0
- package/dist/icons/FCopyAddIcon/FCopyAdd.d.ts +12 -0
- package/dist/icons/FDownloadIcon/FDownloadIcon.d.ts +11 -0
- package/dist/icons/FDownloadIcon/index.d.ts +1 -0
- package/dist/icons/FFilterIcon/FFilterIcon.d.ts +11 -0
- package/dist/icons/FFilterIcon/index.d.ts +1 -0
- package/dist/icons/FListIcon/FListIcon.d.ts +12 -0
- package/dist/icons/FListIcon/index.d.ts +1 -0
- package/dist/icons/FLoadIcon/FLoadIcon.d.ts +12 -0
- package/dist/icons/FLoadIcon/index.d.ts +1 -0
- package/dist/icons/FPenIcon/FPenIcon.d.ts +12 -0
- package/dist/icons/FPenIcon/index.d.ts +1 -0
- package/dist/icons/FPlusIcon/FPlusIcon.d.ts +12 -0
- package/dist/icons/FPlusIcon/index.d.ts +1 -0
- package/dist/icons/FTrashIcon/FTrashIcon.d.ts +12 -0
- package/dist/icons/FTrashIcon/index.d.ts +1 -0
- package/dist/icons/FUnlinkIcon/FUnlinkIcon.d.ts +12 -0
- package/dist/icons/index.d.ts +12 -0
- package/dist/material/Dialog/FDialog/FDialog.d.ts +14 -0
- package/dist/material/Dialog/FDialog/index.d.ts +1 -0
- package/dist/material/Dialog/FDialogBody/FDialogBody.d.ts +8 -0
- package/dist/material/Dialog/FDialogBody/index.d.ts +1 -0
- package/dist/material/Dialog/FDialogFooter/FDialogFooter.d.ts +6 -0
- package/dist/material/Dialog/FDialogFooter/index.d.ts +1 -0
- package/dist/material/Dialog/FDialogHeader/FDialogHeader.d.ts +7 -0
- package/dist/material/Dialog/FDialogHeader/index.d.ts +1 -0
- package/dist/material/Dropdown/FDropdown/FDropdown.d.ts +15 -0
- package/dist/material/Dropdown/FDropdownItem/FDropdownItem.d.ts +11 -0
- package/dist/material/FAccordion/FAccordion.d.ts +13 -0
- package/dist/material/FAccordion/index.d.ts +1 -0
- package/dist/material/FAlert/FAlert.d.ts +18 -0
- package/dist/material/FAlert/index.d.ts +1 -0
- package/dist/material/FButton/FButton.d.ts +18 -0
- package/dist/material/FButton/index.d.ts +1 -0
- package/dist/material/FButtonFile/FButtonFile.d.ts +21 -0
- package/dist/material/FButtonFile/index.d.ts +1 -0
- package/dist/material/FCheckbox/FCheckbox.d.ts +14 -0
- package/dist/material/FCheckbox/index.d.ts +1 -0
- package/dist/material/FContainer/FContainer.d.ts +11 -0
- package/dist/material/FContainer/index.d.ts +1 -0
- package/dist/material/FFile/FFile.d.ts +10 -0
- package/dist/material/FFile/index.d.ts +1 -0
- package/dist/material/FFullDateField/FFullDateField.d.ts +24 -0
- package/dist/material/FFullDateField/index.d.ts +1 -0
- package/dist/material/FGrid/FGrid.d.ts +17 -0
- package/dist/material/FGrid/index.d.ts +1 -0
- package/dist/material/FInputFileForm/FInputFileForm.d.ts +20 -0
- package/dist/material/FInputFileForm/index.d.ts +1 -0
- package/dist/material/FNative/FNative.d.ts +19 -0
- package/dist/material/FNative/index.d.ts +1 -0
- package/dist/material/FOpenImgFull/FOpenImgFull.d.ts +14 -0
- package/dist/material/FOpenImgFull/index.d.ts +1 -0
- package/dist/material/FPagination/FPagination.d.ts +14 -0
- package/dist/material/FPagination/hooks/usePagination.d.ts +9 -0
- package/dist/material/FPagination/index.d.ts +1 -0
- package/dist/material/FPaper/FPaper.d.ts +18 -0
- package/dist/material/FPaper/index.d.ts +1 -0
- package/dist/material/FPreloader/FPreloader.d.ts +10 -0
- package/dist/material/FPreloader/index.d.ts +1 -0
- package/dist/material/FProgress/FProgress.d.ts +8 -0
- package/dist/material/FProgress/index.d.ts +1 -0
- package/dist/material/FRadioButton/FRadioButton.d.ts +13 -0
- package/dist/material/FRadioButton/index.d.ts +1 -0
- package/dist/material/FSearchBox/FSearchBox.d.ts +32 -0
- package/dist/material/FSelectSearchDb/FSelectSearchDb.d.ts +21 -0
- package/dist/material/FSelectSearchDb/index.d.ts +1 -0
- package/dist/material/FStack/FStack.d.ts +14 -0
- package/dist/material/FStack/index.d.ts +1 -0
- package/dist/material/FTextArea/FTextArea.d.ts +23 -0
- package/dist/material/FTextArea/index.d.ts +1 -0
- package/dist/material/FTextField/FTextField.d.ts +26 -0
- package/dist/material/FTextField/index.d.ts +1 -0
- package/dist/material/FTimelineComponents/FTimeline/FTimeline.d.ts +10 -0
- package/dist/material/FTimelineComponents/FTimeline/index.d.ts +1 -0
- package/dist/material/FTimelineComponents/FTimelineCard/FTimelineCard.d.ts +10 -0
- package/dist/material/FTimelineComponents/FTimelineCard/index.d.ts +1 -0
- package/dist/material/SelectComponents/FSelect/FSelect.d.ts +21 -0
- package/dist/material/SelectComponents/FSelect/index.d.ts +1 -0
- package/dist/material/SelectComponents/FSelectItem/FSelectItem.d.ts +13 -0
- package/dist/material/SelectComponents/FSelectItem/index.d.ts +1 -0
- package/dist/material/TableComponents/FTable/FTable.d.ts +12 -0
- package/dist/material/TableComponents/FTable/index.d.ts +1 -0
- package/dist/material/TableComponents/FTableBody/FTableBody.d.ts +10 -0
- package/dist/material/TableComponents/FTableBody/index.d.ts +1 -0
- package/dist/material/TableComponents/FTableDataCell/FTableDataCell.d.ts +14 -0
- package/dist/material/TableComponents/FTableDataCell/index.d.ts +1 -0
- package/dist/material/TableComponents/FTableFooter/FTableFooter.d.ts +10 -0
- package/dist/material/TableComponents/FTableFooter/index.d.ts +1 -0
- package/dist/material/TableComponents/FTableHead/FTableHead.d.ts +10 -0
- package/dist/material/TableComponents/FTableHead/index.d.ts +1 -0
- package/dist/material/TableComponents/FTableHeaderCell/FTableHeaderCell.d.ts +12 -0
- package/dist/material/TableComponents/FTableHeaderCell/index.d.ts +1 -0
- package/dist/material/TableComponents/FTableRow/FTableRow.d.ts +10 -0
- package/dist/material/TableComponents/FTableRow/index.d.ts +1 -0
- package/dist/material/Tabs/FTab/FTab.d.ts +13 -0
- package/dist/material/Tabs/FTabs/FTabs.d.ts +10 -0
- package/dist/material/index.d.ts +41 -0
- package/package.json +7 -2
- package/.storybook/main.ts +0 -19
- package/.storybook/preview.ts +0 -15
- package/bun.lockb +0 -0
- package/public/favicon.ico +0 -0
- package/public/index.html +0 -43
- package/public/logo192.png +0 -0
- package/public/logo512.png +0 -0
- package/public/manifest.json +0 -25
- package/public/robots.txt +0 -3
- package/rollup.config.js +0 -33
- package/src/function-elements/fAlert/fAlert.css +0 -99
- package/src/function-elements/fAlert/fAlert.ts +0 -66
- package/src/function-elements/fAlert/index.tsx +0 -1
- package/src/function-elements/fConfirm/fConfirm.css +0 -80
- package/src/function-elements/fConfirm/fConfirm.ts +0 -66
- package/src/function-elements/fConfirm/index.tsx +0 -1
- package/src/function-elements/fPrompt/fPrompt.css +0 -85
- package/src/function-elements/fPrompt/fPrompt.ts +0 -77
- package/src/function-elements/fPrompt/index.tsx +0 -1
- package/src/function-elements/index.ts +0 -3
- package/src/icons/FArrowIcon/FArrowIcon.tsx +0 -50
- package/src/icons/FArrowIcon/index.ts +0 -1
- package/src/icons/FCheckIcon/FCheckIcon.tsx +0 -37
- package/src/icons/FCheckIcon/index.ts +0 -1
- package/src/icons/FCloseIcon/FCloseIcon.tsx +0 -28
- package/src/icons/FCloseIcon/index.ts +0 -1
- package/src/icons/FCopyAddIcon/FCopyAdd.tsx +0 -30
- package/src/icons/FDownloadIcon/FDownloadIcon.tsx +0 -29
- package/src/icons/FDownloadIcon/index.ts +0 -1
- package/src/icons/FFilterIcon/FFilterIcon.tsx +0 -28
- package/src/icons/FFilterIcon/index.ts +0 -1
- package/src/icons/FListIcon/FListIcon.tsx +0 -38
- package/src/icons/FListIcon/index.ts +0 -1
- package/src/icons/FLoadIcon/FLoadIcon.tsx +0 -61
- package/src/icons/FLoadIcon/FLoadIconCss.css +0 -48
- package/src/icons/FLoadIcon/index.ts +0 -1
- package/src/icons/FPenIcon/FPenIcon.tsx +0 -29
- package/src/icons/FPenIcon/index.ts +0 -1
- package/src/icons/FPlusIcon/FPlusIcon.tsx +0 -39
- package/src/icons/FPlusIcon/index.ts +0 -1
- package/src/icons/FTrashIcon/FTrashIcon.tsx +0 -40
- package/src/icons/FTrashIcon/index.ts +0 -1
- package/src/icons/FUnlinkIcon/FUnlinkIcon.tsx +0 -38
- package/src/icons/index.ts +0 -12
- package/src/material/Dialog/FDialog/FDialog.tsx +0 -61
- package/src/material/Dialog/FDialog/index.ts +0 -1
- package/src/material/Dialog/FDialogBody/FDialogBody.tsx +0 -43
- package/src/material/Dialog/FDialogBody/index.ts +0 -1
- package/src/material/Dialog/FDialogFooter/FDialogFooter.tsx +0 -26
- package/src/material/Dialog/FDialogFooter/index.ts +0 -1
- package/src/material/Dialog/FDialogHeader/FDialogHeader.tsx +0 -40
- package/src/material/Dialog/FDialogHeader/index.ts +0 -1
- package/src/material/Dialog/style/style.css +0 -73
- package/src/material/Dropdown/FDropdown/FDropdown.tsx +0 -60
- package/src/material/Dropdown/FDropdownItem/FDropdownItem.tsx +0 -35
- package/src/material/Dropdown/statick/FDropdown.css +0 -68
- package/src/material/Dropdown/statick/down-arrow.png +0 -0
- package/src/material/FAccordion/FAccordion.css +0 -80
- package/src/material/FAccordion/FAccordion.tsx +0 -37
- package/src/material/FAccordion/index.ts +0 -1
- package/src/material/FAlert/FAlert.css +0 -153
- package/src/material/FAlert/FAlert.tsx +0 -226
- package/src/material/FAlert/index.ts +0 -1
- package/src/material/FButton/FButton.css +0 -50
- package/src/material/FButton/FButton.tsx +0 -69
- package/src/material/FButton/index.ts +0 -1
- package/src/material/FButtonFile/FButtonFile.css +0 -180
- package/src/material/FButtonFile/FButtonFile.tsx +0 -157
- package/src/material/FButtonFile/index.ts +0 -1
- package/src/material/FCheckbox/Checkbox.css +0 -57
- package/src/material/FCheckbox/FCheckbox.tsx +0 -45
- package/src/material/FCheckbox/index.ts +0 -1
- package/src/material/FContainer/FContainer.css +0 -165
- package/src/material/FContainer/FContainer.tsx +0 -33
- package/src/material/FContainer/index.ts +0 -1
- package/src/material/FFile/FFile.css +0 -0
- package/src/material/FFile/FFile.tsx +0 -46
- package/src/material/FFile/index.ts +0 -1
- package/src/material/FFullDateField/FFullDateField.tsx +0 -137
- package/src/material/FFullDateField/index.ts +0 -1
- package/src/material/FGrid/FGrid.css +0 -179
- package/src/material/FGrid/FGrid.tsx +0 -76
- package/src/material/FGrid/css/bootstrap-theme.css +0 -589
- package/src/material/FGrid/css/bootstrap-theme.min.css +0 -7
- package/src/material/FGrid/css/bootstrap.css +0 -1020
- package/src/material/FGrid/css/bootstrap.min.css +0 -7
- package/src/material/FGrid/index.ts +0 -1
- package/src/material/FInputFileForm/FInputFileForm.css +0 -95
- package/src/material/FInputFileForm/FInputFileForm.tsx +0 -147
- package/src/material/FInputFileForm/index.ts +0 -1
- package/src/material/FNative/FNative.css +0 -41
- package/src/material/FNative/FNative.tsx +0 -97
- package/src/material/FNative/index.ts +0 -1
- package/src/material/FOpenImgFull/FOpenImgFull.css +0 -10
- package/src/material/FOpenImgFull/FOpenImgFull.tsx +0 -109
- package/src/material/FOpenImgFull/index.ts +0 -1
- package/src/material/FOpenImgFull/statick/1.png +0 -0
- package/src/material/FOpenImgFull/statick/3.png +0 -0
- package/src/material/FOpenImgFull/statick/OKrG1rmJMps.jpg +0 -0
- package/src/material/FPagination/FPagination.css +0 -59
- package/src/material/FPagination/FPagination.tsx +0 -90
- package/src/material/FPagination/hooks/usePagination.tsx +0 -69
- package/src/material/FPagination/index.ts +0 -1
- package/src/material/FPaper/FPaper.css +0 -61
- package/src/material/FPaper/FPaper.tsx +0 -62
- package/src/material/FPaper/index.ts +0 -1
- package/src/material/FPreloader/FPreloader.css +0 -21
- package/src/material/FPreloader/FPreloader.tsx +0 -49
- package/src/material/FPreloader/index.ts +0 -1
- package/src/material/FProgress/FProgress.css +0 -9
- package/src/material/FProgress/FProgress.tsx +0 -41
- package/src/material/FProgress/index.ts +0 -1
- package/src/material/FRadioButton/FRadioButton.tsx +0 -43
- package/src/material/FRadioButton/RadioButton.css +0 -58
- package/src/material/FRadioButton/index.ts +0 -1
- package/src/material/FSearchBox/FSearchBox.css +0 -11
- package/src/material/FSearchBox/FSearchBox.tsx +0 -184
- package/src/material/FSelectSearchDb/FSelectSearchDb.css +0 -83
- package/src/material/FSelectSearchDb/FSelectSearchDb.tsx +0 -196
- package/src/material/FSelectSearchDb/index.ts +0 -1
- package/src/material/FStack/FStack.css +0 -3
- package/src/material/FStack/FStack.tsx +0 -55
- package/src/material/FStack/index.ts +0 -1
- package/src/material/FTextArea/FTextArea.tsx +0 -124
- package/src/material/FTextArea/index.ts +0 -1
- package/src/material/FTextField/FTextField.css +0 -95
- package/src/material/FTextField/FTextField.tsx +0 -163
- package/src/material/FTextField/index.ts +0 -1
- package/src/material/FTimelineComponents/FTimeline/FTimeline.css +0 -82
- package/src/material/FTimelineComponents/FTimeline/FTimeline.tsx +0 -28
- package/src/material/FTimelineComponents/FTimeline/index.ts +0 -1
- package/src/material/FTimelineComponents/FTimelineCard/FTimelineCard.tsx +0 -31
- package/src/material/FTimelineComponents/FTimelineCard/index.ts +0 -1
- package/src/material/SelectComponents/FSelect/FSelect.css +0 -0
- package/src/material/SelectComponents/FSelect/FSelect.tsx +0 -121
- package/src/material/SelectComponents/FSelect/index.ts +0 -1
- package/src/material/SelectComponents/FSelectItem/FSelectItem.tsx +0 -42
- package/src/material/SelectComponents/FSelectItem/index.ts +0 -1
- package/src/material/TableComponents/FTable/FTable.css +0 -62
- package/src/material/TableComponents/FTable/FTable.tsx +0 -39
- package/src/material/TableComponents/FTable/index.ts +0 -1
- package/src/material/TableComponents/FTableBody/FTableBody.tsx +0 -28
- package/src/material/TableComponents/FTableBody/index.ts +0 -1
- package/src/material/TableComponents/FTableDataCell/FTableDataCell.tsx +0 -45
- package/src/material/TableComponents/FTableDataCell/index.ts +0 -1
- package/src/material/TableComponents/FTableFooter/FTableFooter.tsx +0 -29
- package/src/material/TableComponents/FTableFooter/index.ts +0 -1
- package/src/material/TableComponents/FTableHead/FTableHead.tsx +0 -28
- package/src/material/TableComponents/FTableHead/index.ts +0 -1
- package/src/material/TableComponents/FTableHeaderCell/FTableHeaderCell.tsx +0 -39
- package/src/material/TableComponents/FTableHeaderCell/index.ts +0 -1
- package/src/material/TableComponents/FTableRow/FTableRow.tsx +0 -28
- package/src/material/TableComponents/FTableRow/index.ts +0 -1
- package/src/material/Tabs/FTab/FTab.tsx +0 -39
- package/src/material/Tabs/FTabs/FTabs.tsx +0 -27
- package/src/material/Tabs/styles/FTabs.css +0 -49
- package/src/material/index.ts +0 -60
- package/src/material/statick/Colors.css +0 -87
- package/src/material/statick/index.css +0 -7
- package/tsconfig.json +0 -21
- /package/{src/icons/FCopyAddIcon/index.ts → dist/icons/FCopyAddIcon/index.d.ts} +0 -0
- /package/{src/icons/FUnlinkIcon/index.ts → dist/icons/FUnlinkIcon/index.d.ts} +0 -0
- /package/{src/index.ts → dist/index.d.ts} +0 -0
- /package/{src/material/Dropdown/FDropdown/index.ts → dist/material/Dropdown/FDropdown/index.d.ts} +0 -0
- /package/{src/material/Dropdown/FDropdownItem/index.ts → dist/material/Dropdown/FDropdownItem/index.d.ts} +0 -0
- /package/{src/material/FSearchBox/index.ts → dist/material/FSearchBox/index.d.ts} +0 -0
- /package/{src/material/Tabs/FTab/index.ts → dist/material/Tabs/FTab/index.d.ts} +0 -0
- /package/{src/material/Tabs/FTabs/index.ts → dist/material/Tabs/FTabs/index.d.ts} +0 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React, { FC } from "react";
|
|
2
|
+
import "./FPaper.css";
|
|
3
|
+
export interface IFPaper {
|
|
4
|
+
label?: string;
|
|
5
|
+
children?: React.ReactChild | React.ReactNode;
|
|
6
|
+
st?: React.CSSProperties;
|
|
7
|
+
fontSizeLabel?: string;
|
|
8
|
+
fontSizeBody?: string;
|
|
9
|
+
id?: string;
|
|
10
|
+
className?: string;
|
|
11
|
+
onAnimationEnd?: () => void;
|
|
12
|
+
animated?: {
|
|
13
|
+
name: string;
|
|
14
|
+
value: string;
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
declare const FPaper: FC<IFPaper>;
|
|
18
|
+
export default FPaper;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./FPaper";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React, { FC } from "react";
|
|
2
|
+
import "./FPreloader.css";
|
|
3
|
+
export interface IFPreloader {
|
|
4
|
+
st?: React.CSSProperties;
|
|
5
|
+
backgroundColor?: string;
|
|
6
|
+
children?: React.ReactChild | React.ReactNode;
|
|
7
|
+
open: boolean;
|
|
8
|
+
}
|
|
9
|
+
declare const FPreloader: FC<IFPreloader>;
|
|
10
|
+
export default FPreloader;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./FPreloader";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React, { FC } from "react";
|
|
2
|
+
import "./FProgress.css";
|
|
3
|
+
export interface IFProgress {
|
|
4
|
+
st?: React.CSSProperties;
|
|
5
|
+
color?: 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'light' | 'dark' | 'link';
|
|
6
|
+
}
|
|
7
|
+
declare const FProgress: FC<IFProgress>;
|
|
8
|
+
export default FProgress;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./FProgress";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React, { FC } from "react";
|
|
2
|
+
import './RadioButton.css';
|
|
3
|
+
export interface IFRadioButton {
|
|
4
|
+
label?: React.ReactChild | React.ReactNode;
|
|
5
|
+
onClick: React.MouseEventHandler<HTMLInputElement> | undefined;
|
|
6
|
+
className?: string;
|
|
7
|
+
id?: string;
|
|
8
|
+
st?: React.CSSProperties | undefined;
|
|
9
|
+
checked?: boolean | undefined;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
}
|
|
12
|
+
declare const FRadioButton: FC<IFRadioButton>;
|
|
13
|
+
export default FRadioButton;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./FRadioButton";
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import React, { FC } from "react";
|
|
2
|
+
import './FSearchBox.css';
|
|
3
|
+
import '../FTextField/FTextField.css';
|
|
4
|
+
import '../statick/index.css';
|
|
5
|
+
export interface IFSearchBox {
|
|
6
|
+
label?: string;
|
|
7
|
+
st?: React.CSSProperties;
|
|
8
|
+
value?: string | number | readonly string[] | undefined;
|
|
9
|
+
onChange?: React.ChangeEventHandler<HTMLInputElement> | undefined;
|
|
10
|
+
type?: 'text' | 'number' | 'email' | 'tel' | 'password';
|
|
11
|
+
onBlur?: React.FocusEventHandler<HTMLInputElement> | undefined;
|
|
12
|
+
onFocus?: React.FocusEventHandler<HTMLInputElement> | undefined;
|
|
13
|
+
fullWidth?: boolean;
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
readOnly?: boolean | undefined;
|
|
16
|
+
defaultValue?: string | number | readonly string[] | undefined;
|
|
17
|
+
errText?: string[];
|
|
18
|
+
helpText?: string;
|
|
19
|
+
onInput?: React.FormEventHandler<HTMLInputElement> | undefined;
|
|
20
|
+
id?: string;
|
|
21
|
+
className?: string;
|
|
22
|
+
load?: boolean;
|
|
23
|
+
min?: number;
|
|
24
|
+
max?: number;
|
|
25
|
+
placeholder?: string | undefined;
|
|
26
|
+
children?: React.ReactChild | React.ReactNode;
|
|
27
|
+
variant?: 'contained' | 'default';
|
|
28
|
+
color?: 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'light' | 'dark' | 'link';
|
|
29
|
+
onClick?: React.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
30
|
+
}
|
|
31
|
+
declare const FSearchBox: FC<IFSearchBox>;
|
|
32
|
+
export default FSearchBox;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React, { FC } from "react";
|
|
2
|
+
import './FSelectSearchDb.css';
|
|
3
|
+
export interface IFSelectSearchDb {
|
|
4
|
+
fetchingFunc: (text: string) => Promise<any[]>;
|
|
5
|
+
selectedElement: (e: any | undefined) => void;
|
|
6
|
+
selectItem: any;
|
|
7
|
+
label?: string;
|
|
8
|
+
st?: React.CSSProperties;
|
|
9
|
+
id?: string;
|
|
10
|
+
fullWidth?: boolean;
|
|
11
|
+
className?: string;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
readOnly?: boolean;
|
|
14
|
+
errText?: string[];
|
|
15
|
+
helpText?: string;
|
|
16
|
+
onFocus?: React.FocusEventHandler<HTMLInputElement> | undefined;
|
|
17
|
+
onBlur?: React.FocusEventHandler<HTMLInputElement> | undefined;
|
|
18
|
+
minLengthText?: number;
|
|
19
|
+
}
|
|
20
|
+
declare const FSelectSearchDb: FC<IFSelectSearchDb>;
|
|
21
|
+
export default FSelectSearchDb;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./FSelectSearchDb";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React, { FC } from "react";
|
|
2
|
+
import "./FStack.css";
|
|
3
|
+
export interface IFStack {
|
|
4
|
+
direction?: 'row' | "row-reverse" | 'column' | "column-reverse";
|
|
5
|
+
alignItems?: "flex-start" | "center" | "flex-end" | "stretch" | "baseline";
|
|
6
|
+
justifyContent?: "flex-start" | "center" | "flex-end" | "space-between" | "space-around" | "space-evenly";
|
|
7
|
+
spacing?: number;
|
|
8
|
+
children?: React.ReactChild | React.ReactNode;
|
|
9
|
+
className?: string;
|
|
10
|
+
st?: React.CSSProperties;
|
|
11
|
+
id?: string;
|
|
12
|
+
}
|
|
13
|
+
declare const FStack: FC<IFStack>;
|
|
14
|
+
export default FStack;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./FStack";
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React, { FC } from "react";
|
|
2
|
+
export interface IFTextArea {
|
|
3
|
+
label?: string;
|
|
4
|
+
st?: React.CSSProperties;
|
|
5
|
+
value?: string | undefined;
|
|
6
|
+
cols?: number;
|
|
7
|
+
rows?: number;
|
|
8
|
+
placeholder?: string;
|
|
9
|
+
readOnly?: boolean;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
autoComplete?: boolean;
|
|
12
|
+
className?: string;
|
|
13
|
+
id?: string;
|
|
14
|
+
fullWidth?: boolean;
|
|
15
|
+
onChange?: React.ChangeEventHandler<HTMLTextAreaElement> | undefined;
|
|
16
|
+
onClick?: React.MouseEventHandler<HTMLTextAreaElement> | undefined;
|
|
17
|
+
onFocus?: React.FocusEventHandler<HTMLTextAreaElement> | undefined;
|
|
18
|
+
errText?: string[];
|
|
19
|
+
helpText?: string;
|
|
20
|
+
load?: boolean;
|
|
21
|
+
}
|
|
22
|
+
declare const FTextArea: FC<IFTextArea>;
|
|
23
|
+
export default FTextArea;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./FTextArea";
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import React, { FC } from "react";
|
|
2
|
+
import "./FTextField.css";
|
|
3
|
+
export interface IFTextField {
|
|
4
|
+
label?: string;
|
|
5
|
+
st?: React.CSSProperties;
|
|
6
|
+
value?: string | number | readonly string[] | undefined | null;
|
|
7
|
+
onChange?: React.ChangeEventHandler<HTMLInputElement> | undefined;
|
|
8
|
+
type?: 'text' | 'number' | 'email' | 'tel' | 'password';
|
|
9
|
+
onBlur?: React.FocusEventHandler<HTMLInputElement> | undefined;
|
|
10
|
+
onFocus?: React.FocusEventHandler<HTMLInputElement> | undefined;
|
|
11
|
+
fullWidth?: boolean;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
readOnly?: boolean | undefined;
|
|
14
|
+
defaultValue?: string | number | readonly string[] | undefined;
|
|
15
|
+
errText?: string[];
|
|
16
|
+
helpText?: string;
|
|
17
|
+
onInput?: React.FormEventHandler<HTMLInputElement> | undefined;
|
|
18
|
+
id?: string;
|
|
19
|
+
className?: string;
|
|
20
|
+
load?: boolean;
|
|
21
|
+
min?: number;
|
|
22
|
+
max?: number;
|
|
23
|
+
placeholder?: string | undefined;
|
|
24
|
+
}
|
|
25
|
+
declare const FTextField: FC<IFTextField>;
|
|
26
|
+
export default FTextField;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./FTextField";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React, { FC } from 'react';
|
|
2
|
+
import "./FTimeline.css";
|
|
3
|
+
export interface IFTimeline {
|
|
4
|
+
children?: React.ReactChild | React.ReactNode;
|
|
5
|
+
st?: React.CSSProperties;
|
|
6
|
+
id?: string;
|
|
7
|
+
className?: string;
|
|
8
|
+
}
|
|
9
|
+
declare const FTimeline: FC<IFTimeline>;
|
|
10
|
+
export default FTimeline;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./FTimeline";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React, { FC } from 'react';
|
|
2
|
+
export interface IFTimelineCard {
|
|
3
|
+
children?: React.ReactChild | React.ReactNode;
|
|
4
|
+
st?: React.CSSProperties;
|
|
5
|
+
title?: string;
|
|
6
|
+
id?: string;
|
|
7
|
+
className?: string;
|
|
8
|
+
}
|
|
9
|
+
declare const FTimelineCard: FC<IFTimelineCard>;
|
|
10
|
+
export default FTimelineCard;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./FTimelineCard";
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React, { FC } from "react";
|
|
2
|
+
import "./FSelect.css";
|
|
3
|
+
export interface IFSelect {
|
|
4
|
+
label?: string;
|
|
5
|
+
st?: React.CSSProperties;
|
|
6
|
+
onChange?: React.ChangeEventHandler<HTMLSelectElement> | undefined;
|
|
7
|
+
children?: React.ReactChild | React.ReactNode;
|
|
8
|
+
value?: string | number | readonly string[] | undefined;
|
|
9
|
+
multiple?: boolean | undefined;
|
|
10
|
+
size?: number | undefined;
|
|
11
|
+
fullWidth?: boolean;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
defaultValue?: string | number | readonly string[] | undefined;
|
|
14
|
+
id?: string;
|
|
15
|
+
className?: string;
|
|
16
|
+
load?: boolean;
|
|
17
|
+
errText?: string[];
|
|
18
|
+
helpText?: string;
|
|
19
|
+
}
|
|
20
|
+
declare const FSelect: FC<IFSelect>;
|
|
21
|
+
export default FSelect;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./FSelect";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React, { FC } from "react";
|
|
2
|
+
export interface IFSelectItem {
|
|
3
|
+
st?: React.CSSProperties;
|
|
4
|
+
value?: string | number | readonly string[] | undefined;
|
|
5
|
+
children?: React.ReactChild | React.ReactNode;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
onClick?: React.MouseEventHandler<HTMLOptionElement> | undefined;
|
|
8
|
+
selected?: boolean;
|
|
9
|
+
className?: string;
|
|
10
|
+
id?: string;
|
|
11
|
+
}
|
|
12
|
+
declare const FSelectItem: FC<IFSelectItem>;
|
|
13
|
+
export default FSelectItem;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./FSelectItem";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React, { FC } from "react";
|
|
2
|
+
import "./FTable.css";
|
|
3
|
+
export interface IFTable {
|
|
4
|
+
st?: React.CSSProperties;
|
|
5
|
+
children?: React.ReactChild | React.ReactNode;
|
|
6
|
+
id?: string;
|
|
7
|
+
className?: string;
|
|
8
|
+
onClick?: React.MouseEventHandler<HTMLTableElement> | undefined;
|
|
9
|
+
overflowX?: 'visible' | 'hidden' | 'clip' | 'scroll' | 'auto' | undefined;
|
|
10
|
+
}
|
|
11
|
+
declare const FTable: FC<IFTable>;
|
|
12
|
+
export default FTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./FTable";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React, { FC } from "react";
|
|
2
|
+
export interface IFTableBody {
|
|
3
|
+
st?: React.CSSProperties;
|
|
4
|
+
children?: React.ReactChild | React.ReactNode;
|
|
5
|
+
onClick?: React.MouseEventHandler<HTMLTableSectionElement> | undefined;
|
|
6
|
+
id?: string;
|
|
7
|
+
className?: string;
|
|
8
|
+
}
|
|
9
|
+
declare const FTableBody: FC<IFTableBody>;
|
|
10
|
+
export default FTableBody;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./FTableBody";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React, { FC } from "react";
|
|
2
|
+
export interface IFTableDataCell {
|
|
3
|
+
st?: React.CSSProperties;
|
|
4
|
+
row?: number | undefined;
|
|
5
|
+
col?: number | undefined;
|
|
6
|
+
children?: React.ReactChild | React.ReactNode;
|
|
7
|
+
onClick?: React.MouseEventHandler<HTMLTableHeaderCellElement> | undefined;
|
|
8
|
+
id?: string;
|
|
9
|
+
onBlur?: React.FocusEventHandler<HTMLTableDataCellElement> | undefined;
|
|
10
|
+
onFocus?: React.FocusEventHandler<HTMLTableDataCellElement> | undefined;
|
|
11
|
+
className?: string;
|
|
12
|
+
}
|
|
13
|
+
declare const FTableDataCell: FC<IFTableDataCell>;
|
|
14
|
+
export default FTableDataCell;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./FTableDataCell";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React, { FC } from "react";
|
|
2
|
+
export interface IFTableFooter {
|
|
3
|
+
st?: React.CSSProperties;
|
|
4
|
+
children?: React.ReactChild | React.ReactNode;
|
|
5
|
+
onClick?: React.MouseEventHandler<HTMLTableSectionElement> | undefined;
|
|
6
|
+
id?: string;
|
|
7
|
+
className?: string;
|
|
8
|
+
}
|
|
9
|
+
declare const FTableFooter: FC<IFTableFooter>;
|
|
10
|
+
export default FTableFooter;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./FTableFooter";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React, { FC } from "react";
|
|
2
|
+
export interface IFTableHead {
|
|
3
|
+
st?: React.CSSProperties;
|
|
4
|
+
children?: React.ReactChild | React.ReactNode;
|
|
5
|
+
onClick?: React.MouseEventHandler<HTMLTableSectionElement> | undefined;
|
|
6
|
+
id?: string;
|
|
7
|
+
className?: string;
|
|
8
|
+
}
|
|
9
|
+
declare const FTableHead: FC<IFTableHead>;
|
|
10
|
+
export default FTableHead;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./FTableHead";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React, { FC } from "react";
|
|
2
|
+
export interface IFTableHeaderCell {
|
|
3
|
+
st?: React.CSSProperties;
|
|
4
|
+
row?: number | undefined;
|
|
5
|
+
col?: number | undefined;
|
|
6
|
+
children?: React.ReactChild | React.ReactNode;
|
|
7
|
+
onClick?: React.MouseEventHandler<HTMLTableHeaderCellElement> | undefined;
|
|
8
|
+
id?: string;
|
|
9
|
+
className?: string;
|
|
10
|
+
}
|
|
11
|
+
declare const FTableHeaderCell: FC<IFTableHeaderCell>;
|
|
12
|
+
export default FTableHeaderCell;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./FTableHeaderCell";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React, { FC } from "react";
|
|
2
|
+
export interface IFTableRow {
|
|
3
|
+
st?: React.CSSProperties;
|
|
4
|
+
children?: React.ReactChild | React.ReactNode;
|
|
5
|
+
onClick?: React.MouseEventHandler<HTMLTableRowElement> | undefined;
|
|
6
|
+
id?: string;
|
|
7
|
+
className?: string;
|
|
8
|
+
}
|
|
9
|
+
declare const FTableRow: FC<IFTableRow>;
|
|
10
|
+
export default FTableRow;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./FTableRow";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React, { FC } from "react";
|
|
2
|
+
import '../styles/FTabs.css';
|
|
3
|
+
export interface IFTabs {
|
|
4
|
+
children?: React.ReactChild | React.ReactNode;
|
|
5
|
+
id?: string;
|
|
6
|
+
className?: string;
|
|
7
|
+
st?: React.CSSProperties;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
active?: boolean;
|
|
10
|
+
onClick?: React.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
11
|
+
}
|
|
12
|
+
declare const FTab: FC<IFTabs>;
|
|
13
|
+
export default FTab;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React, { FC } from "react";
|
|
2
|
+
import '../styles/FTabs.css';
|
|
3
|
+
export interface IFTabs {
|
|
4
|
+
children?: React.ReactChild | React.ReactNode;
|
|
5
|
+
id?: string;
|
|
6
|
+
className?: string;
|
|
7
|
+
st?: React.CSSProperties;
|
|
8
|
+
}
|
|
9
|
+
declare const FTabs: FC<IFTabs>;
|
|
10
|
+
export default FTabs;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export { default as FButton } from "./FButton";
|
|
2
|
+
export { default as FButtonFile } from "./FButtonFile";
|
|
3
|
+
export { default as FTextField } from "./FTextField";
|
|
4
|
+
export { default as FStack } from "./FStack";
|
|
5
|
+
export { default as FGrid } from "./FGrid";
|
|
6
|
+
export { default as FContainer } from "./FContainer";
|
|
7
|
+
export { default as FPaper } from "./FPaper";
|
|
8
|
+
export { default as FTable } from "./TableComponents/FTable";
|
|
9
|
+
export { default as FTableHead } from "./TableComponents/FTableHead";
|
|
10
|
+
export { default as FTableBody } from "./TableComponents/FTableBody";
|
|
11
|
+
export { default as FTableRow } from "./TableComponents/FTableRow";
|
|
12
|
+
export { default as FTableHeaderCell } from "./TableComponents/FTableHeaderCell";
|
|
13
|
+
export { default as FTableDataCell } from "./TableComponents/FTableDataCell";
|
|
14
|
+
export { default as FTableFooter } from "./TableComponents/FTableFooter";
|
|
15
|
+
export { default as FDialog } from "./Dialog/FDialog";
|
|
16
|
+
export { default as FDialogHeader } from "./Dialog/FDialogHeader";
|
|
17
|
+
export { default as FDialogBody } from "./Dialog/FDialogBody";
|
|
18
|
+
export { default as FDialogFooter } from "./Dialog/FDialogFooter";
|
|
19
|
+
export { default as FProgress } from "./FProgress";
|
|
20
|
+
export { default as FPreloader } from "./FPreloader";
|
|
21
|
+
export { default as FCheckbox } from "./FCheckbox";
|
|
22
|
+
export { default as FRadioButton } from "./FRadioButton";
|
|
23
|
+
export { default as FPagination } from "./FPagination";
|
|
24
|
+
export { default as FTimeline } from "./FTimelineComponents/FTimeline";
|
|
25
|
+
export { default as FTimelineCard } from "./FTimelineComponents/FTimelineCard";
|
|
26
|
+
export { default as FOpenImgFull } from "./FOpenImgFull";
|
|
27
|
+
export { default as FAccordion } from "./FAccordion";
|
|
28
|
+
export { default as FInputFileForm } from "./FInputFileForm";
|
|
29
|
+
export { default as FFile } from "./FFile";
|
|
30
|
+
export { default as FSelect } from "./SelectComponents/FSelect";
|
|
31
|
+
export { default as FSelectItem } from "./SelectComponents/FSelectItem";
|
|
32
|
+
export { default as FFullDateField } from "./FFullDateField";
|
|
33
|
+
export { default as FSelectSearchDb } from "./FSelectSearchDb";
|
|
34
|
+
export { default as FTextArea } from "./FTextArea";
|
|
35
|
+
export { default as FAlert } from "./FAlert";
|
|
36
|
+
export { default as FNative } from "./FNative";
|
|
37
|
+
export { default as FTabs } from "./Tabs/FTabs";
|
|
38
|
+
export { default as FTab } from "./Tabs/FTab";
|
|
39
|
+
export { default as FDropdown } from "./Dropdown/FDropdown";
|
|
40
|
+
export { default as FDropdownItem } from "./Dropdown/FDropdownItem";
|
|
41
|
+
export { default as FSearchBox } from "./FSearchBox";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fui-material",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.61",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -36,5 +36,10 @@
|
|
|
36
36
|
"@types/react-dom": "^18.2.10",
|
|
37
37
|
"react": "^18.2.0",
|
|
38
38
|
"react-dom": "^18.2.0"
|
|
39
|
-
}
|
|
39
|
+
},
|
|
40
|
+
"main": "dist/index.d.ts",
|
|
41
|
+
"module": "dist/index.d.tss",
|
|
42
|
+
"files": [
|
|
43
|
+
"dist"
|
|
44
|
+
]
|
|
40
45
|
}
|
package/.storybook/main.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type { StorybookConfig } from "@storybook/react-vite";
|
|
2
|
-
|
|
3
|
-
const config: StorybookConfig = {
|
|
4
|
-
stories: ["../src/**/*.mdx", "../src/**/*.stories.@(js|jsx|mjs|ts|tsx)"],
|
|
5
|
-
addons: [
|
|
6
|
-
"@storybook/addon-links",
|
|
7
|
-
"@storybook/addon-essentials",
|
|
8
|
-
"@storybook/addon-onboarding",
|
|
9
|
-
"@storybook/addon-interactions",
|
|
10
|
-
],
|
|
11
|
-
framework: {
|
|
12
|
-
name: "@storybook/react-vite",
|
|
13
|
-
options: {},
|
|
14
|
-
},
|
|
15
|
-
docs: {
|
|
16
|
-
autodocs: "tag",
|
|
17
|
-
},
|
|
18
|
-
};
|
|
19
|
-
export default config;
|
package/.storybook/preview.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { Preview } from "@storybook/react";
|
|
2
|
-
|
|
3
|
-
const preview: Preview = {
|
|
4
|
-
parameters: {
|
|
5
|
-
actions: { argTypesRegex: "^on[A-Z].*" },
|
|
6
|
-
controls: {
|
|
7
|
-
matchers: {
|
|
8
|
-
color: /(background|color)$/i,
|
|
9
|
-
date: /Date$/,
|
|
10
|
-
},
|
|
11
|
-
},
|
|
12
|
-
},
|
|
13
|
-
};
|
|
14
|
-
|
|
15
|
-
export default preview;
|
package/bun.lockb
DELETED
|
Binary file
|
package/public/favicon.ico
DELETED
|
File without changes
|
package/public/index.html
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="utf-8" />
|
|
5
|
-
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
|
|
6
|
-
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
7
|
-
<meta name="theme-color" content="#000000" />
|
|
8
|
-
<meta
|
|
9
|
-
name="description"
|
|
10
|
-
content="Web site created using create-react-app"
|
|
11
|
-
/>
|
|
12
|
-
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
|
|
13
|
-
<!--
|
|
14
|
-
manifest.json provides metadata used when your web app is installed on a
|
|
15
|
-
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
|
|
16
|
-
-->
|
|
17
|
-
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
|
|
18
|
-
<!--
|
|
19
|
-
Notice the use of %PUBLIC_URL% in the tags above.
|
|
20
|
-
It will be replaced with the URL of the `public` folder during the build.
|
|
21
|
-
Only files inside the `public` folder can be referenced from the HTML.
|
|
22
|
-
|
|
23
|
-
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
|
|
24
|
-
work correctly both with client-side routing and a non-root public URL.
|
|
25
|
-
Learn how to configure a non-root public URL by running `npm run build`.
|
|
26
|
-
-->
|
|
27
|
-
<title>React App</title>
|
|
28
|
-
</head>
|
|
29
|
-
<body>
|
|
30
|
-
<noscript>You need to enable JavaScript to run this app.</noscript>
|
|
31
|
-
<div id="root"></div>
|
|
32
|
-
<!--
|
|
33
|
-
This HTML file is a template.
|
|
34
|
-
If you open it directly in the browser, you will see an empty page.
|
|
35
|
-
|
|
36
|
-
You can add webfonts, meta tags, or analytics to this file.
|
|
37
|
-
The build step will place the bundled scripts into the <body> tag.
|
|
38
|
-
|
|
39
|
-
To begin the development, run `npm start` or `yarn start`.
|
|
40
|
-
To create a production bundle, use `npm run build` or `yarn build`.
|
|
41
|
-
-->
|
|
42
|
-
</body>
|
|
43
|
-
</html>
|
package/public/logo192.png
DELETED
|
File without changes
|
package/public/logo512.png
DELETED
|
File without changes
|
package/public/manifest.json
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"short_name": "React App",
|
|
3
|
-
"name": "Create React App Sample",
|
|
4
|
-
"icons": [
|
|
5
|
-
{
|
|
6
|
-
"src": "favicon.ico",
|
|
7
|
-
"sizes": "64x64 32x32 24x24 16x16",
|
|
8
|
-
"type": "image/x-icon"
|
|
9
|
-
},
|
|
10
|
-
{
|
|
11
|
-
"src": "logo192.png",
|
|
12
|
-
"type": "image/png",
|
|
13
|
-
"sizes": "192x192"
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
"src": "logo512.png",
|
|
17
|
-
"type": "image/png",
|
|
18
|
-
"sizes": "512x512"
|
|
19
|
-
}
|
|
20
|
-
],
|
|
21
|
-
"start_url": ".",
|
|
22
|
-
"display": "standalone",
|
|
23
|
-
"theme_color": "#000000",
|
|
24
|
-
"background_color": "#ffffff"
|
|
25
|
-
}
|
package/public/robots.txt
DELETED
package/rollup.config.js
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
import image from '@rollup/plugin-image';
|
|
3
|
-
import json from '@rollup/plugin-json';
|
|
4
|
-
import commonjs from '@rollup/plugin-commonjs';
|
|
5
|
-
import resolve from '@rollup/plugin-node-resolve';
|
|
6
|
-
import postcss from 'rollup-plugin-postcss';
|
|
7
|
-
import typescript from "rollup-plugin-typescript2";
|
|
8
|
-
|
|
9
|
-
export default {
|
|
10
|
-
input: 'src/index.ts',
|
|
11
|
-
output: [
|
|
12
|
-
{
|
|
13
|
-
file: 'dist/bundle.js',
|
|
14
|
-
format: 'cjs',
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
file: 'dist/bundle.esm.js',
|
|
18
|
-
format: 'esm',
|
|
19
|
-
},
|
|
20
|
-
],
|
|
21
|
-
plugins: [
|
|
22
|
-
resolve(),
|
|
23
|
-
commonjs(),
|
|
24
|
-
typescript(),
|
|
25
|
-
image(),
|
|
26
|
-
json(),
|
|
27
|
-
postcss({
|
|
28
|
-
extract: true,
|
|
29
|
-
extensions: ['.css'],
|
|
30
|
-
}),
|
|
31
|
-
],
|
|
32
|
-
external: ['react', 'react-dom'],
|
|
33
|
-
};
|