amotify 0.0.65 → 0.0.67
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/amotify.js +3 -2
- package/dist/amotify.min.css +2 -2
- package/dist/coreVender.js +14 -2
- package/dist/node_modules/@fortawesome/free-regular-svg-icons/faCalendarAlt.d.ts +7 -0
- package/dist/node_modules/@fortawesome/free-regular-svg-icons/faCalendarDays.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-regular-svg-icons/faClock.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faAngleDown.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faAngleLeft.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faAngleRight.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faAngleUp.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faArrowDown.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faArrowLeft.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faArrowRight.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faArrowRotateRight.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faArrowUp.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faBars.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faBarsStaggered.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faCaretDown.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faCaretLeft.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faCaretRight.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faCaretUp.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faCheck.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faCheckCircle.d.ts +7 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faChevronDown.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faChevronLeft.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faChevronRight.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faChevronUp.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faCircleCheck.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faCircleQuestion.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faCloudArrowUp.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faCopy.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faDownload.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faEdit.d.ts +7 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faEllipsis.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faEllipsisH.d.ts +7 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faEllipsisV.d.ts +7 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faEllipsisVertical.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faExclamation.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faExclamationTriangle.d.ts +7 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faExternalLinkAlt.d.ts +7 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faEye.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faFile.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faFilter.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faGear.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faGripVertical.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faHeart.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faHome.d.ts +7 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faHouse.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faImage.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faLink.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faLinkSlash.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faMagnifyingGlass.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faMinus.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faPalette.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faPaperPlane.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faPen.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faPenToSquare.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faPlus.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faQuestion.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faQuestionCircle.d.ts +7 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faRedo.d.ts +7 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faRotate.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faRotateLeft.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faRotateRight.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faSearch.d.ts +7 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faShare.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faStar.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faTimes.d.ts +7 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faTrashAlt.d.ts +7 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faTrashCan.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faTriangleExclamation.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faUpRightFromSquare.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faUser.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faXmark.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faYenSign.d.ts +14 -0
- package/dist/node_modules/@fortawesome/react-fontawesome/index.es.d.ts +2 -0
- package/dist/node_modules/@remix-run/router/dist/router.d.ts +317 -0
- package/dist/node_modules/css-loader/dist/runtime/api.d.ts +2 -0
- package/dist/node_modules/css-loader/dist/runtime/noSourceMaps.d.ts +2 -0
- package/dist/node_modules/jsmin-front/dist/jsmin.d.ts +3 -0
- package/dist/node_modules/prop-types/factoryWithThrowingShims.d.ts +86 -0
- package/dist/node_modules/prop-types/index.d.ts +2 -0
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.d.ts +2 -0
- package/dist/node_modules/react/cjs/react.production.min.d.ts +116 -0
- package/dist/node_modules/react/index.d.ts +2 -0
- package/dist/node_modules/react-dom/cjs/react-dom.production.min.d.ts +37 -0
- package/dist/node_modules/react-dom/client.d.ts +2 -0
- package/dist/node_modules/react-dom/index.d.ts +2 -0
- package/dist/node_modules/react-router/dist/index.d.ts +241 -0
- package/dist/node_modules/react-router-dom/dist/index.d.ts +139 -0
- package/dist/node_modules/scheduler/cjs/scheduler.production.min.d.ts +20 -0
- package/dist/node_modules/scheduler/index.d.ts +2 -0
- package/dist/src/@atoms.d.ts +4 -0
- package/dist/src/@declations/_.d.ts +23 -0
- package/dist/src/@declations/amotify.d.ts +1358 -0
- package/dist/src/@declations/jsminAmotifyExtension.d.ts +132 -0
- package/dist/src/@declations/module.d.ts +1 -0
- package/dist/src/@declations/styles.d.ts +145 -0
- package/dist/src/@functions.d.ts +12 -0
- package/dist/src/@global.d.ts +23 -0
- package/dist/src/@jsminAmotifyExtension/_.d.ts +4 -0
- package/dist/src/@jsminAmotifyExtension/fetch.d.ts +1 -0
- package/dist/src/@jsminAmotifyExtension/formCollect.d.ts +1 -0
- package/dist/src/@jsminAmotifyExtension/spreadSheet.d.ts +4 -0
- package/dist/src/@jsminAmotifyExtension/variables.d.ts +1 -0
- package/dist/src/@molecules.d.ts +23 -0
- package/dist/src/@organisms.d.ts +1 -0
- package/dist/src/@templates.d.ts +2 -0
- package/dist/src/@variables.d.ts +8 -0
- package/dist/src/atoms/FAI/parts.d.ts +3 -0
- package/dist/src/atoms/Logo/parts.d.ts +2 -0
- package/dist/src/atoms/Various/parts.d.ts +11 -0
- package/dist/src/config.d.ts +19 -0
- package/dist/src/functions/Button/_.d.ts +2 -0
- package/dist/src/functions/Cropper/parts.d.ts +2 -0
- package/dist/src/functions/Effects/Fade.d.ts +2 -0
- package/dist/src/functions/Effects/Ripple.d.ts +1 -0
- package/dist/src/functions/Effects/_.d.ts +4 -0
- package/dist/src/functions/Input/Chips/Selector.d.ts +2 -0
- package/dist/src/functions/Input/Chips/_.d.ts +3 -0
- package/dist/src/functions/Input/Contenteditable.d.ts +4 -0
- package/dist/src/functions/Input/DigitCharacters.d.ts +4 -0
- package/dist/src/functions/Input/File/_.d.ts +3 -0
- package/dist/src/functions/Input/Hidden.d.ts +3 -0
- package/dist/src/functions/Input/List/_.d.ts +4 -0
- package/dist/src/functions/Input/RichSelect/_.d.ts +4 -0
- package/dist/src/functions/Input/Segmented/_.d.ts +2 -0
- package/dist/src/functions/Input/Select/_.d.ts +4 -0
- package/dist/src/functions/Input/Slider/_.d.ts +4 -0
- package/dist/src/functions/Input/Switch/_.d.ts +4 -0
- package/dist/src/functions/Input/Text.d.ts +8 -0
- package/dist/src/functions/Input/TextArea.d.ts +4 -0
- package/dist/src/functions/Input/Time/Picker.d.ts +4 -0
- package/dist/src/functions/Input/Time/_.d.ts +5 -0
- package/dist/src/functions/Input/_.d.ts +6 -0
- package/dist/src/functions/Input/core.d.ts +36 -0
- package/dist/src/functions/Inputs/_.d.ts +4 -0
- package/dist/src/functions/Inputs/text.d.ts +3 -0
- package/dist/src/functions/Layout/PageNotFound.d.ts +2 -0
- package/dist/src/functions/Layout/PageRouter.d.ts +4 -0
- package/dist/src/functions/Layout/PageViewController/parts.d.ts +4 -0
- package/dist/src/functions/Layout/Plate.d.ts +3 -0
- package/dist/src/functions/Layout/RootViewController/parts.d.ts +2 -0
- package/dist/src/functions/Layout/SwipeView/parts.d.ts +5 -0
- package/dist/src/functions/Layout/TabBar.d.ts +4 -0
- package/dist/src/functions/Layout/_.d.ts +3 -0
- package/dist/src/functions/Loader/corner.d.ts +3 -0
- package/dist/src/functions/Loader/mini.d.ts +7 -0
- package/dist/src/functions/Loader/parts.d.ts +4 -0
- package/dist/src/functions/Loader/top.d.ts +3 -0
- package/dist/src/functions/Sheet/parts.d.ts +3 -0
- package/dist/src/functions/SnackBar/parts.d.ts +3 -0
- package/dist/src/functions/Table/Data/parts.d.ts +6 -0
- package/dist/src/functions/Table/Drag/parts.d.ts +4 -0
- package/dist/src/functions/Table/Normal/parts.d.ts +3 -0
- package/dist/src/functions/Table/_.d.ts +10 -0
- package/dist/src/functions/Tooltips/parts.d.ts +3 -0
- package/dist/src/global/LaunchReactApplication.d.ts +3 -0
- package/dist/src/global/styleConverter.d.ts +3 -0
- package/dist/src/launch.d.ts +10 -0
- package/dist/src/molecules/Accordion/parts.d.ts +3 -0
- package/dist/src/molecules/LinkifyText/parts.d.ts +3 -0
- package/dist/src/molecules/List.d.ts +3 -0
- package/dist/src/templates/PlayGround/parts.d.ts +2 -0
- package/package.json +10 -10
- package/tsconfig.json +14 -7
- package/@types/_.tsx +0 -7
- package/@types/amot.tsx +0 -355
- package/@types/fn.tsx +0 -1280
- package/@types/jsminAmotifyExtension.tsx +0 -137
- package/@types/module.tsx +0 -1
- package/@types/state.tsx +0 -231
- package/src/@atoms.tsx +0 -34
- package/src/@functions.tsx +0 -29
- package/src/@global.tsx +0 -145
- package/src/@jsminAmotifyExtension/_.tsx +0 -4
- package/src/@jsminAmotifyExtension/fetch.tsx +0 -110
- package/src/@jsminAmotifyExtension/formCollect.tsx +0 -94
- package/src/@jsminAmotifyExtension/spreadSheet.tsx +0 -165
- package/src/@jsminAmotifyExtension/variables.tsx +0 -137
- package/src/@molecules.tsx +0 -96
- package/src/@organisms.tsx +0 -1
- package/src/@reactPacks/reactProduction@18.2.0.js +0 -79
- package/src/@reactPacks/reactRouterDomProduction@18.2.0.js +0 -31
- package/src/@styles/@app.scss +0 -4
- package/src/@styles/UniStyling.scss +0 -1028
- package/src/@styles/init.scss +0 -94
- package/src/@styles/props.scss +0 -109
- package/src/@styles/styleSet.scss +0 -38
- package/src/@styles/themeColor.scss +0 -71
- package/src/@styles/var.scss +0 -182
- package/src/@templates.tsx +0 -7
- package/src/@variables.tsx +0 -74
- package/src/atoms/FAI/parts.tsx +0 -139
- package/src/atoms/Logo/parts.tsx +0 -335
- package/src/atoms/Logo/style.module.scss +0 -96
- package/src/atoms/Various/parts.tsx +0 -159
- package/src/atoms/Various/style.module.scss +0 -46
- package/src/config.tsx +0 -191
- package/src/functions/Button/_.tsx +0 -331
- package/src/functions/Button/style.module.scss +0 -157
- package/src/functions/Cropper/parts.tsx +0 -1084
- package/src/functions/Cropper/style.module.scss +0 -64
- package/src/functions/Effects/Fade.tsx +0 -76
- package/src/functions/Effects/Ripple.tsx +0 -141
- package/src/functions/Effects/_.tsx +0 -33
- package/src/functions/Effects/style.module.scss +0 -91
- package/src/functions/Input/Chips/Selector.tsx +0 -445
- package/src/functions/Input/Chips/_.tsx +0 -289
- package/src/functions/Input/Chips/style.module.scss +0 -6
- package/src/functions/Input/Contenteditable.tsx +0 -114
- package/src/functions/Input/DigitCharacters.tsx +0 -235
- package/src/functions/Input/File/_.tsx +0 -553
- package/src/functions/Input/File/style.module.scss +0 -34
- package/src/functions/Input/Hidden.tsx +0 -21
- package/src/functions/Input/List/_.tsx +0 -383
- package/src/functions/Input/List/style.module.scss +0 -84
- package/src/functions/Input/RichSelect/_.tsx +0 -230
- package/src/functions/Input/RichSelect/style.module.scss +0 -11
- package/src/functions/Input/Segmented/_.tsx +0 -246
- package/src/functions/Input/Segmented/style.module.scss +0 -81
- package/src/functions/Input/Select/_.tsx +0 -218
- package/src/functions/Input/Select/style.module.scss +0 -11
- package/src/functions/Input/Slider/_.tsx +0 -524
- package/src/functions/Input/Slider/style.module.scss +0 -67
- package/src/functions/Input/Switch/_.tsx +0 -176
- package/src/functions/Input/Switch/style.module.scss +0 -18
- package/src/functions/Input/Text.tsx +0 -487
- package/src/functions/Input/TextArea.tsx +0 -109
- package/src/functions/Input/Time/Picker.tsx +0 -1361
- package/src/functions/Input/Time/_.tsx +0 -749
- package/src/functions/Input/Time/style.module.scss +0 -79
- package/src/functions/Input/_.tsx +0 -881
- package/src/functions/Input/core.tsx +0 -473
- package/src/functions/Input/style.module.scss +0 -102
- package/src/functions/Inputs/_.tsx +0 -5
- package/src/functions/Inputs/style.module.scss +0 -15
- package/src/functions/Inputs/text.tsx +0 -53
- package/src/functions/Inputs/types.d.ts +0 -13
- package/src/functions/Layout/PageNotFound.tsx +0 -78
- package/src/functions/Layout/PageRouter.tsx +0 -89
- package/src/functions/Layout/PageViewController/parts.tsx +0 -27
- package/src/functions/Layout/Plate.tsx +0 -30
- package/src/functions/Layout/RootViewController/parts.tsx +0 -300
- package/src/functions/Layout/RootViewController/style.module.scss +0 -23
- package/src/functions/Layout/SwipeView/parts.tsx +0 -375
- package/src/functions/Layout/SwipeView/style.module.scss +0 -20
- package/src/functions/Layout/TabBar.tsx +0 -60
- package/src/functions/Layout/_.tsx +0 -20
- package/src/functions/Loader/corner.tsx +0 -74
- package/src/functions/Loader/mini.tsx +0 -114
- package/src/functions/Loader/parts.tsx +0 -103
- package/src/functions/Loader/style.module.scss +0 -223
- package/src/functions/Loader/top.tsx +0 -84
- package/src/functions/Sheet/parts.tsx +0 -994
- package/src/functions/Sheet/style.module.scss +0 -208
- package/src/functions/SnackBar/parts.tsx +0 -215
- package/src/functions/SnackBar/style.module.scss +0 -25
- package/src/functions/Table/Data/parts.tsx +0 -965
- package/src/functions/Table/Drag/parts.tsx +0 -442
- package/src/functions/Table/Normal/parts.tsx +0 -124
- package/src/functions/Table/_.tsx +0 -177
- package/src/functions/Table/style.module.scss +0 -93
- package/src/functions/Tooltips/parts.tsx +0 -53
- package/src/global/LaunchReactApplication.tsx +0 -40
- package/src/global/styleConverter.tsx +0 -465
- package/src/launch.tsx +0 -117
- package/src/molecules/Accordion/parts.tsx +0 -146
- package/src/molecules/Accordion/style.module.scss +0 -13
- package/src/molecules/LinkifyText/parts.tsx +0 -52
- package/src/molecules/List.tsx +0 -31
- package/src/preload.tsx +0 -31
- package/src/templates/PlayGround/parts.tsx +0 -96
- package/src/templates/PlayGround/style.module.scss +0 -38
- package/webpack.config.js +0 -146
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { fn } from '@declations';
|
|
3
|
+
import { React } from '@global';
|
|
4
|
+
export declare const DataFNs: fn.Tables.Data.FNs;
|
|
5
|
+
export declare const DataComps: fn.Tables.Data.Comps;
|
|
6
|
+
export declare const DataTable: (params: fn.Tables.Data.Params) => React.JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Styles, fn } from '@declations';
|
|
2
|
+
export declare const Comps: fn.Tables.CompsMethods;
|
|
3
|
+
export declare const Table: fn.Tables.Methods;
|
|
4
|
+
export declare const DefaultCellStyles: (type: fn.Tables.Types, tone: fn.Tables.Tones) => Styles.Params;
|
|
5
|
+
export declare const DefaultCellSystemStyles: (args: {
|
|
6
|
+
top: boolean;
|
|
7
|
+
bottom: boolean;
|
|
8
|
+
left: boolean;
|
|
9
|
+
right: boolean;
|
|
10
|
+
}) => Styles.Params;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import './@styles/@app.scss';
|
|
2
|
+
export { Device, Browser, Styles, ReactElement, config, global, atoms, mols, orgs, temps, fn } from './@declations/_';
|
|
3
|
+
import { amotify } from './@declations/_';
|
|
4
|
+
import { launchID } from './@variables';
|
|
5
|
+
export { launchID };
|
|
6
|
+
declare let publicURI: string;
|
|
7
|
+
export { publicURI };
|
|
8
|
+
import './@jsminAmotifyExtension/_';
|
|
9
|
+
declare const instance: amotify;
|
|
10
|
+
export default instance;
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "amotify",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.67",
|
|
4
4
|
"description": "UI Component for React",
|
|
5
|
-
"main": "dist/
|
|
6
|
-
"types": "dist
|
|
5
|
+
"main": "dist/amotify.js",
|
|
6
|
+
"types": "dist/src/launch.d.ts",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"clean": "rimraf dist",
|
|
9
9
|
"devCDN:webpack": "webpack --mode development --watch",
|
|
10
|
-
"devCDN:server": "nodemon app.js
|
|
10
|
+
"devCDN:server": "nodemon app.js",
|
|
11
11
|
"proCDN:webpack": "webpack --mode production",
|
|
12
12
|
"start": "run-p clean devCDN:*",
|
|
13
13
|
"build": "run-p clean proCDN:*"
|
|
@@ -34,10 +34,12 @@
|
|
|
34
34
|
"@fortawesome/free-regular-svg-icons": "^6.5.1",
|
|
35
35
|
"@fortawesome/free-solid-svg-icons": "^6.5.1",
|
|
36
36
|
"@fortawesome/react-fontawesome": "^0.2.0",
|
|
37
|
-
"
|
|
38
|
-
"react": "^18.
|
|
39
|
-
"
|
|
40
|
-
"react
|
|
37
|
+
"@types/react": "^18.3.1",
|
|
38
|
+
"@types/react-dom": "^18.3.0",
|
|
39
|
+
"jsmin-front": "^0.0.29",
|
|
40
|
+
"react": "^18.3.1",
|
|
41
|
+
"react-dom": "^18.3.1",
|
|
42
|
+
"react-router-dom": "^6.23.0"
|
|
41
43
|
},
|
|
42
44
|
"devDependencies": {
|
|
43
45
|
"@babel/cli": "^7.23.0",
|
|
@@ -46,8 +48,6 @@
|
|
|
46
48
|
"@babel/preset-typescript": "^7.23.3",
|
|
47
49
|
"@types/express": "^4.17.21",
|
|
48
50
|
"@types/google.maps": "^3.54.8",
|
|
49
|
-
"@types/react": "^18.2.37",
|
|
50
|
-
"@types/react-dom": "^18.2.15",
|
|
51
51
|
"babel-loader": "^9.1.3",
|
|
52
52
|
"babel-preset-preact": "^2.0.0",
|
|
53
53
|
"browser-sync-webpack-plugin": "^2.3.0",
|
package/tsconfig.json
CHANGED
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
"DOM"
|
|
5
5
|
],
|
|
6
6
|
"jsx": "react",
|
|
7
|
-
"target": "es5",
|
|
7
|
+
// "target": "es5",
|
|
8
|
+
"target": "ES2016",
|
|
8
9
|
"module": "commonjs",
|
|
9
|
-
"sourceMap": false,
|
|
10
10
|
"baseUrl": "./",
|
|
11
11
|
"paths": {
|
|
12
12
|
"~": [
|
|
@@ -24,6 +24,9 @@
|
|
|
24
24
|
"@styleSet": [
|
|
25
25
|
"src/@styles/styleSet"
|
|
26
26
|
],
|
|
27
|
+
"@declations": [
|
|
28
|
+
"src/@declations/_"
|
|
29
|
+
],
|
|
27
30
|
"@global": [
|
|
28
31
|
"src/@global"
|
|
29
32
|
],
|
|
@@ -48,8 +51,9 @@
|
|
|
48
51
|
"forceConsistentCasingInFileNames": true,
|
|
49
52
|
"downlevelIteration": true,
|
|
50
53
|
"allowJs": true,
|
|
51
|
-
"
|
|
52
|
-
|
|
54
|
+
"emitDeclarationOnly": false,
|
|
55
|
+
"declaration": true,
|
|
56
|
+
"sourceMap": false,
|
|
53
57
|
"outDir": "./dist",
|
|
54
58
|
"noImplicitAny": true,
|
|
55
59
|
"noImplicitThis": true,
|
|
@@ -58,11 +62,14 @@
|
|
|
58
62
|
// "noUnusedParameters": true,
|
|
59
63
|
"strictNullChecks": true,
|
|
60
64
|
"esModuleInterop": true,
|
|
61
|
-
"noEmitOnError": false
|
|
65
|
+
"noEmitOnError": false,
|
|
66
|
+
"noEmit": false
|
|
62
67
|
},
|
|
63
68
|
"exclude": [
|
|
64
69
|
"node_modules",
|
|
65
|
-
"
|
|
66
|
-
|
|
70
|
+
"dist"
|
|
71
|
+
],
|
|
72
|
+
"include": [
|
|
73
|
+
"src/*",
|
|
67
74
|
]
|
|
68
75
|
}
|
package/@types/_.tsx
DELETED
package/@types/amot.tsx
DELETED
|
@@ -1,355 +0,0 @@
|
|
|
1
|
-
export default {}
|
|
2
|
-
|
|
3
|
-
import { FontAwesomeIconProps } from '@fortawesome/react-fontawesome'
|
|
4
|
-
import { IconDefinition } from "@fortawesome/fontawesome-common-types"
|
|
5
|
-
import * as FontawesomeCore from '@fortawesome/fontawesome-svg-core'
|
|
6
|
-
|
|
7
|
-
import React from 'react'
|
|
8
|
-
import ReactDOM from 'react-dom'
|
|
9
|
-
import * as ReactRouterDOM from 'react-router-dom'
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
declare global {
|
|
13
|
-
type ReactElement = React.ReactNode | React.ReactNode[]
|
|
14
|
-
|
|
15
|
-
namespace amotify {
|
|
16
|
-
type ToneTypes = 'default' | 'flat' | 'sharp'
|
|
17
|
-
type DarkModeTypes = 'light' | 'auto' | 'dark' | 'dim'
|
|
18
|
-
type ThemeColorTypes = 'comun' | 'leaf' | 'heart' | 'droplet' |
|
|
19
|
-
|
|
20
|
-
'brick' | 'flower' | 'lip' | 'wine' | 'theater' | 'bat' | 'poizon' | 'eggplant' | 'ufo' | 'alien' | 'tombstone' | 'ninja' | 'moon' | 'rain' | 'unicorn' | 'axe' | 'gem' | 'soap' | 'drizzle' | 'building' | 'fish' | 'icicles' | 'water' | 'tree1' | 'tree2' | 'tree3' | 'battery' | 'seedle' | 'greenTea' | 'oak' | 'salad' | 'cloudy' | 'lemon' | 'angel' | 'parasol' | 'pizza' | 'thunder' | 'latte' | 'island' | 'shovel' | 'coffee' | 'carrot' | 'cactus' | 'volcano' | 'choco' | 'industry' | 'gun' | 'galaxy' |
|
|
21
|
-
|
|
22
|
-
'line' | 'twitter' | 'amazon' | 'facebook' | 'android' | 'slackBlue' | 'slackGreen' | 'slackRed' | 'slackYellow' | 'slackBase' | 'googleBlue' | 'googleGreen' | 'googleYellow' | 'googleRed'
|
|
23
|
-
|
|
24
|
-
type RoundnessTypes = 0 | 1 | 2 | 3 | 4 | 5
|
|
25
|
-
|
|
26
|
-
type DeviceTypes = 'windows' | 'android' | 'iPhone' | 'iPad' | 'macOSX' | 'undefined'
|
|
27
|
-
type BrowserTypes = 'chrome' | 'firefox' | 'safari' | 'opera' | 'ie' | 'edge' | 'undefined'
|
|
28
|
-
|
|
29
|
-
namespace config {
|
|
30
|
-
interface Methods {
|
|
31
|
-
version: string
|
|
32
|
-
launchID: string
|
|
33
|
-
tone: amotify.ToneTypes
|
|
34
|
-
themeColor: amotify.ThemeColorTypes
|
|
35
|
-
darkMode: amotify.DarkModeTypes
|
|
36
|
-
roundness: amotify.RoundnessTypes
|
|
37
|
-
device: {
|
|
38
|
-
deviceIs: DeviceTypes
|
|
39
|
-
browserIs: BrowserTypes
|
|
40
|
-
isBreakpoint(): boolean
|
|
41
|
-
isPhonepoint(): boolean
|
|
42
|
-
isSystemDarkmode(): boolean
|
|
43
|
-
isPhone: boolean
|
|
44
|
-
isTouchDevice: boolean
|
|
45
|
-
isIOS: boolean
|
|
46
|
-
}
|
|
47
|
-
update: {
|
|
48
|
-
tone( value: amotify.ToneTypes ): void
|
|
49
|
-
themeColor( value: amotify.ThemeColorTypes ): void
|
|
50
|
-
darkMode( value: amotify.DarkModeTypes ): void
|
|
51
|
-
roundness( value: amotify.RoundnessTypes ): void
|
|
52
|
-
}
|
|
53
|
-
variables: {
|
|
54
|
-
darkmodeColors: {
|
|
55
|
-
light: string
|
|
56
|
-
dark: string
|
|
57
|
-
dim: string
|
|
58
|
-
auto(): string
|
|
59
|
-
}
|
|
60
|
-
themeColors: {
|
|
61
|
-
[ key in amotify.ThemeColorTypes ]: {
|
|
62
|
-
alfa( alfa?: number ): string
|
|
63
|
-
isBrand: boolean
|
|
64
|
-
isAvocado: boolean
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
readExtraCDN( url: string ): Promise<boolean>
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
namespace global {
|
|
73
|
-
type LaunchReactApplicationInput = {
|
|
74
|
-
baseElement?: HTMLElement | string
|
|
75
|
-
reactElement: ReactElement
|
|
76
|
-
nonRouter?: boolean
|
|
77
|
-
isRoot?: boolean
|
|
78
|
-
appearances?: {
|
|
79
|
-
roundness?: RoundnessTypes
|
|
80
|
-
themeColor?: amotify.ThemeColorTypes
|
|
81
|
-
tone?: amotify.ToneTypes
|
|
82
|
-
darkMode?: amotify.DarkModeTypes
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
type useStoreParams = {
|
|
86
|
-
set( params: {
|
|
87
|
-
key: string
|
|
88
|
-
value: any
|
|
89
|
-
privateKey?: string
|
|
90
|
-
} ): boolean
|
|
91
|
-
update( params: {
|
|
92
|
-
key: string
|
|
93
|
-
value: any
|
|
94
|
-
privateKey?: string
|
|
95
|
-
} ): boolean
|
|
96
|
-
get( key: string,privateKey?: string ): any
|
|
97
|
-
delete( key: string,privateKey?: string ): boolean
|
|
98
|
-
}
|
|
99
|
-
type useRecycleParams = {
|
|
100
|
-
set( key: string ): string
|
|
101
|
-
do( key: string ): void
|
|
102
|
-
}
|
|
103
|
-
type PageTransitParams = {
|
|
104
|
-
open( url: string ): void
|
|
105
|
-
pushSync( url: string ): void
|
|
106
|
-
pushAsync( url: string ): void
|
|
107
|
-
push( url: string,newTab?: boolean ): void
|
|
108
|
-
back(): void
|
|
109
|
-
}
|
|
110
|
-
namespace StyleConverter {
|
|
111
|
-
type ReadStyleSet = {
|
|
112
|
-
<T>( params: T ): T
|
|
113
|
-
}
|
|
114
|
-
type ToClassName = {
|
|
115
|
-
<T>( params: T ): T
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
interface Methods {
|
|
120
|
-
React: typeof React
|
|
121
|
-
ReactDOM: typeof ReactDOM
|
|
122
|
-
ReactRouterDOM: typeof ReactRouterDOM
|
|
123
|
-
StyleConverter: {
|
|
124
|
-
ReadStyleSet: StyleConverter.ReadStyleSet
|
|
125
|
-
ToClassName: StyleConverter.ToClassName
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
pageTransit: PageTransitParams
|
|
129
|
-
useStore: global.useStoreParams
|
|
130
|
-
useRecycle: global.useRecycleParams
|
|
131
|
-
LaunchReactApplication( params: global.LaunchReactApplicationInput ): void
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
namespace atoms {
|
|
136
|
-
type BoxInput = amotifyBasicElement & {
|
|
137
|
-
children?: ReactElement
|
|
138
|
-
} & React.HTMLAttributes<HTMLDivElement>
|
|
139
|
-
type SpanProps = amotifyBasicElement & {
|
|
140
|
-
children?: ReactElement
|
|
141
|
-
} & React.HTMLAttributes<HTMLSpanElement>
|
|
142
|
-
type ParagraphProps = amotifyBasicElement & {
|
|
143
|
-
children?: ReactElement
|
|
144
|
-
} & React.HTMLAttributes<HTMLParagraphElement>
|
|
145
|
-
|
|
146
|
-
type FlexProps = amotifyBasicElement & {
|
|
147
|
-
children?: ReactElement
|
|
148
|
-
} & React.HTMLAttributes<HTMLDivElement>
|
|
149
|
-
|
|
150
|
-
type GridProps = amotifyBasicElement & {
|
|
151
|
-
children: ReactElement
|
|
152
|
-
|
|
153
|
-
onClick?: {
|
|
154
|
-
( event: React.MouseEvent<HTMLDivElement,MouseEvent> ): void
|
|
155
|
-
}
|
|
156
|
-
} & React.HTMLAttributes<HTMLDivElement>
|
|
157
|
-
|
|
158
|
-
namespace FAI {
|
|
159
|
-
type Method = React.FC<FAIParams> & Shortcuts
|
|
160
|
-
type FAIParams = amotifyBasicElement & {
|
|
161
|
-
icon: FontawesomeCore.IconProp | IconDefinition
|
|
162
|
-
iconParams?: Omit<FontAwesomeIconProps,'icon'>
|
|
163
|
-
}
|
|
164
|
-
type Shortcuts = {
|
|
165
|
-
[ key in ShortCutNames ]: React.FC<Omit<FAIParams,'icon'>>
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
type ShortCutNames =
|
|
169
|
-
'User' | 'Times' |
|
|
170
|
-
|
|
171
|
-
'AngleRight' | 'AngleLeft' | 'AngleUp' | 'AngleDown' |
|
|
172
|
-
'ChevronLeft' | 'ChevronRight' | 'ChevronUp' | 'ChevronDown' |
|
|
173
|
-
'CaretLeft' | 'CaretRight' | 'CaretUp' | 'CaretDown' |
|
|
174
|
-
'ArrowLeft' | 'ArrowRight' | 'ArrowUp' | 'ArrowDown' |
|
|
175
|
-
|
|
176
|
-
'Rotate' | 'Redo' |
|
|
177
|
-
'Check' | 'CheckCircle' |
|
|
178
|
-
'Question' | 'QuestionCircle' |
|
|
179
|
-
'Exclamation' | 'ExclamationTriangle' |
|
|
180
|
-
'Home' | 'Share' |
|
|
181
|
-
'Search' | 'YenSign' | 'Heart' | 'Star' |
|
|
182
|
-
'Edit' | 'Pen' | 'Copy' | 'File' |
|
|
183
|
-
'TrashAlt' | 'Bars' | 'Download' |
|
|
184
|
-
'Link' | 'LinkSlash' | 'ExternalLinkAlt' |
|
|
185
|
-
'Gear' |
|
|
186
|
-
'Plus' | 'Minus' |
|
|
187
|
-
'EllipsisH' | 'EllipsisV' |
|
|
188
|
-
'PaperPlane' |
|
|
189
|
-
'Image'
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
namespace Image {
|
|
193
|
-
type Methods = React.FC<CompInput> & DefaultImages
|
|
194
|
-
type CompInput = amotifyBasicElement & {
|
|
195
|
-
src: string
|
|
196
|
-
alt?: string
|
|
197
|
-
showExpand?: boolean | string
|
|
198
|
-
} & React.HTMLAttributes<HTMLImageElement>
|
|
199
|
-
|
|
200
|
-
type DefaultImages = {
|
|
201
|
-
uri: {
|
|
202
|
-
mingooIcon: string
|
|
203
|
-
comunIcon: string
|
|
204
|
-
comunIconClear: string
|
|
205
|
-
defaultIcon( type:
|
|
206
|
-
'image' |
|
|
207
|
-
'object' |
|
|
208
|
-
'user' |
|
|
209
|
-
'group' |
|
|
210
|
-
'store'
|
|
211
|
-
): string
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
}
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
namespace Logos {
|
|
218
|
-
type Methods = {
|
|
219
|
-
Icon: ( params: Params ) => JSX.Element
|
|
220
|
-
Title: ( params: Params ) => JSX.Element
|
|
221
|
-
|
|
222
|
-
Brands: {
|
|
223
|
-
MingooIcon: ( params: DefaultLogoTypes ) => JSX.Element
|
|
224
|
-
MingooTitle: ( params: DefaultLogoTypes ) => JSX.Element
|
|
225
|
-
MingooLogoH: ( params: DefaultLogoTypes ) => JSX.Element
|
|
226
|
-
MingooLogoV: ( params: DefaultLogoTypes ) => JSX.Element
|
|
227
|
-
|
|
228
|
-
ComunIcon: ( params: DefaultLogoTypes ) => JSX.Element
|
|
229
|
-
ComunTitle: ( params: DefaultLogoTypes ) => JSX.Element
|
|
230
|
-
ComunLogoH: ( params: DefaultLogoTypes ) => JSX.Element
|
|
231
|
-
ComunLogoV: ( params: DefaultLogoTypes ) => JSX.Element
|
|
232
|
-
|
|
233
|
-
Google: ( params: DefaultLogoTypes ) => JSX.Element
|
|
234
|
-
Facebook: ( params: DefaultLogoTypes ) => JSX.Element
|
|
235
|
-
Twitter: ( params: DefaultLogoTypes ) => JSX.Element
|
|
236
|
-
LINE: ( params: DefaultLogoTypes ) => JSX.Element
|
|
237
|
-
}
|
|
238
|
-
}
|
|
239
|
-
type Params = amotifyBasicElement & {
|
|
240
|
-
size?: 'S' | 'R' | 'L' | '2L' | '3L'
|
|
241
|
-
color?: 'normal' | 'white'
|
|
242
|
-
children?: ReactElement | React.FC<any>
|
|
243
|
-
}
|
|
244
|
-
type DefaultLogoTypes = amotifyBasicElement & {
|
|
245
|
-
size?: 'S' | 'R' | 'L' | '2L' | '3L'
|
|
246
|
-
color?: 'normal' | 'white'
|
|
247
|
-
}
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
type PlaceholderParams = amotify.atoms.BoxInput & {
|
|
251
|
-
color?: 'cloud' | 'white'
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
type Methods = {
|
|
255
|
-
Box: React.FC<atoms.BoxInput>
|
|
256
|
-
|
|
257
|
-
Flex: React.FC<atoms.FlexProps>
|
|
258
|
-
FlexBr: React.FC<amotifyUniStyleParams>
|
|
259
|
-
|
|
260
|
-
Placeholder: React.FC<PlaceholderParams>
|
|
261
|
-
|
|
262
|
-
Grid: React.FC<atoms.GridProps>
|
|
263
|
-
|
|
264
|
-
FAI: FAI.Method
|
|
265
|
-
|
|
266
|
-
Span: React.FC<atoms.SpanProps>
|
|
267
|
-
Paragraph: React.FC<atoms.ParagraphProps>
|
|
268
|
-
Img: atoms.Image.Methods
|
|
269
|
-
|
|
270
|
-
Logo: Logos.Methods
|
|
271
|
-
}
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
namespace mols {
|
|
275
|
-
namespace Accordion {
|
|
276
|
-
type Params = {
|
|
277
|
-
defaultOpen?: boolean
|
|
278
|
-
override?: boolean
|
|
279
|
-
accordionID?: string
|
|
280
|
-
slideAnimation?: 'none' | 'fast' | 'slow'
|
|
281
|
-
children: ReactElement
|
|
282
|
-
onToggleEvent?: {
|
|
283
|
-
( open: boolean ): void
|
|
284
|
-
}
|
|
285
|
-
} & atoms.BoxInput
|
|
286
|
-
type FNParams = {
|
|
287
|
-
fn: {
|
|
288
|
-
open( accordionID: string ): void
|
|
289
|
-
close( accordionID: string ): void
|
|
290
|
-
toggle( accordionID: string ): void
|
|
291
|
-
}
|
|
292
|
-
}
|
|
293
|
-
type SetParams = React.FC<Params> & FNParams
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
namespace List {
|
|
297
|
-
type Params = amotifyBasicElement & {
|
|
298
|
-
rowStyles?: amotifyUniStyleParams
|
|
299
|
-
rows: RowsParams[]
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
type RowsParams = {
|
|
303
|
-
children: ReactElement
|
|
304
|
-
} & amotifyBasicElement
|
|
305
|
-
}
|
|
306
|
-
|
|
307
|
-
type LinkifyTextProps = {
|
|
308
|
-
text: string
|
|
309
|
-
placeholder?: ReactElement
|
|
310
|
-
}
|
|
311
|
-
|
|
312
|
-
type Methods = {
|
|
313
|
-
List: React.FC<mols.List.Params>
|
|
314
|
-
Accordion: mols.Accordion.SetParams
|
|
315
|
-
LinkifyText: React.FC<mols.LinkifyTextProps>
|
|
316
|
-
Text: {
|
|
317
|
-
NowrapSpan: React.FC<atoms.SpanProps>
|
|
318
|
-
Title: React.FC<atoms.BoxInput>
|
|
319
|
-
SubTitle: React.FC<atoms.BoxInput>
|
|
320
|
-
ThirdTitle: React.FC<atoms.BoxInput>
|
|
321
|
-
Paragraph: React.FC<atoms.BoxInput>
|
|
322
|
-
Normal: React.FC<atoms.BoxInput>
|
|
323
|
-
Description: React.FC<atoms.BoxInput>
|
|
324
|
-
Supplement: React.FC<atoms.BoxInput>
|
|
325
|
-
}
|
|
326
|
-
Column: React.FC<atoms.FlexProps>
|
|
327
|
-
Row: {
|
|
328
|
-
Center: React.FC<atoms.FlexProps>
|
|
329
|
-
Left: React.FC<atoms.FlexProps>
|
|
330
|
-
Right: React.FC<atoms.FlexProps>
|
|
331
|
-
Separate: React.FC<atoms.FlexProps>
|
|
332
|
-
}
|
|
333
|
-
}
|
|
334
|
-
}
|
|
335
|
-
|
|
336
|
-
namespace orgs {
|
|
337
|
-
}
|
|
338
|
-
|
|
339
|
-
namespace temps {
|
|
340
|
-
type Methods = {
|
|
341
|
-
PlayGround: React.FC<{}>
|
|
342
|
-
}
|
|
343
|
-
}
|
|
344
|
-
}
|
|
345
|
-
interface amotify {
|
|
346
|
-
config: amotify.config.Methods
|
|
347
|
-
global: amotify.global.Methods
|
|
348
|
-
atoms: amotify.atoms.Methods
|
|
349
|
-
mols: amotify.mols.Methods
|
|
350
|
-
orgs: {}
|
|
351
|
-
temps: amotify.temps.Methods
|
|
352
|
-
fn: amotify.fn.Methods
|
|
353
|
-
}
|
|
354
|
-
var amotify: amotify
|
|
355
|
-
}
|