@fonixtree/magic-design 0.0.37 → 0.0.39
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/README.md +320 -0
- package/es/assets/fonts/magic-box-iconfont.css +11 -3
- package/es/assets/fonts/magic-box-iconfont.css.bak +11 -3
- package/es/assets/fonts/magic-box-iconfont.js +1 -1
- package/es/assets/fonts/magic-box-iconfont.js.bak +1 -1
- package/es/assets/fonts/magic-box-iconfont.ttf +0 -0
- package/es/assets/fonts/magic-box-iconfont.woff +0 -0
- package/es/assets/fonts/magic-box-iconfont.woff2 +0 -0
- package/es/assets/images/layout-icon/layout-navigation-newline.png +0 -0
- package/es/assets/images/layout-icon/layout-navigation-tile.png +0 -0
- package/es/common/FontStyles/index.js +25 -6
- package/es/common/ProductSource/index.less +2 -0
- package/es/composite-comp/common/components/ProductItem/index.js +23 -5
- package/es/composite-comp/common/components/ProductItem/index.less +46 -11
- package/es/composite-comp/common/config-panels/CustomizeConfig/index.js +21 -4
- package/es/composite-comp/dito/components/FlashDeal/mobile/index.less +6 -0
- package/es/composite-comp/dito/components/MobileNavigation/defaultJSON.js +94 -0
- package/es/composite-comp/dito/components/MobileNavigation/index.js +84 -0
- package/es/composite-comp/dito/components/MobileNavigation/mobile/index.js +129 -0
- package/es/composite-comp/dito/components/MobileNavigation/mobile/index.less +292 -0
- package/es/composite-comp/dito/components/Recommend/defaultJSON.js +95 -15
- package/es/composite-comp/dito/components/Recommend/index.js +10 -1
- package/es/composite-comp/dito/components/Recommend/mobile/index.js +214 -77
- package/es/composite-comp/dito/components/Recommend/mobile/index.less +28 -27
- package/es/composite-comp/dito/components/Recommend/pc/imgs/defImg1.png +0 -0
- package/es/composite-comp/dito/components/Recommend/pc/imgs/defImg2.png +0 -0
- package/es/composite-comp/dito/components/Recommend/pc/imgs/defImg3.png +0 -0
- package/es/composite-comp/dito/components/Recommend/pc/index.js +653 -0
- package/es/composite-comp/dito/components/Recommend/pc/index.less +80 -0
- package/es/composite-comp/dito/components/SearchBar/mobile/index.js +187 -4
- package/es/composite-comp/dito/components/SearchBar/mobile/index.less +20 -20
- package/es/composite-comp/dito/config-panels/MobileNavigationConfig/MobileNavigationConfigGroup/index.js +126 -0
- package/es/composite-comp/dito/config-panels/MobileNavigationConfig/index.js +184 -0
- package/es/composite-comp/dito/config-panels/RecommendConfig/index.js +115 -44
- package/es/composite-comp/dito/second-config-panels/MobileNavigationSecondConfig/index.js +111 -0
- package/es/composite-comp/dito/second-config-panels/RecommendSecondConfig/AIRecommendation/index.js +1 -3
- package/es/composite-comp/dito/second-config-panels/RecommendSecondConfig/index.js +89 -59
- package/es/constants/component-types.js +9 -3
- package/es/constants/index.js +5 -1
- package/es/constants/layout.js +31 -3
- package/es/core/Designer/ConfigPanel/index.js +5 -1
- package/es/locale/en/en.json +8 -1
- package/es/locale/es/es.json +12 -4
- package/es/locale/id/id.json +8 -1
- package/es/meta-comp/components/Button/index.less +1 -0
- package/es/meta-comp/components/Image/image/defalut-img.png +0 -0
- package/es/meta-comp/config-panels/TextConfig/index.js +1 -0
- package/lib/assets/fonts/magic-box-iconfont.css +11 -3
- package/lib/assets/fonts/magic-box-iconfont.css.bak +11 -3
- package/lib/assets/fonts/magic-box-iconfont.js +1 -1
- package/lib/assets/fonts/magic-box-iconfont.js.bak +1 -1
- package/lib/assets/fonts/magic-box-iconfont.ttf +0 -0
- package/lib/assets/fonts/magic-box-iconfont.woff +0 -0
- package/lib/assets/fonts/magic-box-iconfont.woff2 +0 -0
- package/lib/assets/images/layout-icon/layout-navigation-newline.png +0 -0
- package/lib/assets/images/layout-icon/layout-navigation-tile.png +0 -0
- package/lib/common/FontStyles/index.js +25 -6
- package/lib/common/ProductSource/index.less +2 -0
- package/lib/composite-comp/common/components/ProductItem/index.js +23 -5
- package/lib/composite-comp/common/components/ProductItem/index.less +46 -11
- package/lib/composite-comp/common/config-panels/CustomizeConfig/index.js +21 -4
- package/lib/composite-comp/dito/components/FlashDeal/mobile/index.less +6 -0
- package/lib/composite-comp/dito/components/MobileNavigation/defaultJSON.js +94 -0
- package/lib/composite-comp/dito/components/MobileNavigation/index.js +84 -0
- package/lib/composite-comp/dito/components/MobileNavigation/mobile/index.js +129 -0
- package/lib/composite-comp/dito/components/MobileNavigation/mobile/index.less +292 -0
- package/lib/composite-comp/dito/components/Recommend/defaultJSON.js +95 -15
- package/lib/composite-comp/dito/components/Recommend/index.js +10 -1
- package/lib/composite-comp/dito/components/Recommend/mobile/index.js +214 -77
- package/lib/composite-comp/dito/components/Recommend/mobile/index.less +28 -27
- package/lib/composite-comp/dito/components/Recommend/pc/imgs/defImg1.png +0 -0
- package/lib/composite-comp/dito/components/Recommend/pc/imgs/defImg2.png +0 -0
- package/lib/composite-comp/dito/components/Recommend/pc/imgs/defImg3.png +0 -0
- package/lib/composite-comp/dito/components/Recommend/pc/index.js +653 -0
- package/lib/composite-comp/dito/components/Recommend/pc/index.less +80 -0
- package/lib/composite-comp/dito/components/SearchBar/mobile/index.js +187 -4
- package/lib/composite-comp/dito/components/SearchBar/mobile/index.less +20 -20
- package/lib/composite-comp/dito/config-panels/MobileNavigationConfig/MobileNavigationConfigGroup/index.js +126 -0
- package/lib/composite-comp/dito/config-panels/MobileNavigationConfig/index.js +184 -0
- package/lib/composite-comp/dito/config-panels/RecommendConfig/index.js +115 -44
- package/lib/composite-comp/dito/second-config-panels/MobileNavigationSecondConfig/index.js +111 -0
- package/lib/composite-comp/dito/second-config-panels/RecommendSecondConfig/AIRecommendation/index.js +1 -3
- package/lib/composite-comp/dito/second-config-panels/RecommendSecondConfig/index.js +89 -59
- package/lib/constants/component-types.js +9 -3
- package/lib/constants/index.js +5 -1
- package/lib/constants/layout.js +31 -3
- package/lib/core/Designer/ConfigPanel/index.js +5 -1
- package/lib/locale/en/en.json +8 -1
- package/lib/locale/es/es.json +12 -4
- package/lib/locale/id/id.json +8 -1
- package/lib/meta-comp/components/Button/index.less +1 -0
- package/lib/meta-comp/components/Image/image/defalut-img.png +0 -0
- package/lib/meta-comp/config-panels/TextConfig/index.js +1 -0
- package/package.json +86 -1
- package/es/composite-comp/dito/config-panels/RecommendConfig/imgs/layout1.png +0 -0
- package/lib/composite-comp/dito/config-panels/RecommendConfig/imgs/layout1.png +0 -0
package/lib/locale/en/en.json
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
+
"NAVIGATION_NAME": "Navigation Name",
|
|
3
|
+
"ADD_NAVIGATION": "Add Navigation",
|
|
2
4
|
"SAVE": "Save",
|
|
5
|
+
"GROUP_NAME": "Group Name",
|
|
6
|
+
"SEE_ALL": "See All",
|
|
7
|
+
"SECOND_CATEGORY": "Secondary Category",
|
|
3
8
|
"ADD_GROUP": "Add Group",
|
|
4
9
|
"CONTENT_WIDTH": "Content Width",
|
|
5
10
|
"MAGNIFICATION": "Magnification",
|
|
@@ -61,6 +66,7 @@
|
|
|
61
66
|
"SOURCE_OF_PRODUCT": "Source Of Product",
|
|
62
67
|
"AI_RECOMMENDATION": "AI Recommendation",
|
|
63
68
|
"SELECT_PRODUCT": "Select Product",
|
|
69
|
+
"PRODUCT_QUANTITY": "Product quantity",
|
|
64
70
|
"COLOR": "Color",
|
|
65
71
|
"AUTOPLAYS": "Autoplays",
|
|
66
72
|
"SHOW_NAVIGATION_ARROW": "Show navigation arrow",
|
|
@@ -117,5 +123,6 @@
|
|
|
117
123
|
"PLEASE_SELECT": "Please select",
|
|
118
124
|
"PLEASE_SEARCH": "Please Search",
|
|
119
125
|
"KEYWRODS": "Keywrods",
|
|
120
|
-
"TEXT": "Text"
|
|
126
|
+
"TEXT": "Text",
|
|
127
|
+
"OKAY": "OKAY"
|
|
121
128
|
}
|
package/lib/locale/es/es.json
CHANGED
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
{
|
|
2
|
+
"NAVIGATION_NAME": "Navigation Name",
|
|
3
|
+
"ADD_NAVIGATION": "Add Navigation",
|
|
4
|
+
"SAVE": "Guardar",
|
|
5
|
+
"GROUP_NAME": "Nome do grupo",
|
|
6
|
+
"SEE_ALL": "Ver todos",
|
|
7
|
+
"SECOND_CATEGORY": "Categoría secundaria",
|
|
8
|
+
"ADD_GROUP": "Agregar Grupo",
|
|
2
9
|
"CONTENT_WIDTH": "Ancho del contenido",
|
|
3
10
|
"MAGNIFICATION": "Aumento",
|
|
4
11
|
"RECOMMENDED_RULES": "Reglas recomendadas",
|
|
@@ -49,7 +56,6 @@
|
|
|
49
56
|
"GUESS_YOU_LIKE": "Supongo que te gusta",
|
|
50
57
|
"CATEGORY": "Categoría",
|
|
51
58
|
"LABEL": "Etiqueta",
|
|
52
|
-
"ADD_GROUP": "Agregar Grupo",
|
|
53
59
|
"UNDERLINE_STYLE": "Estilo de subrayado",
|
|
54
60
|
"UNDERLINE_COLOR": "Color de subrayado",
|
|
55
61
|
"UNDERLINE_SETTING": "Configuración de Subrayado",
|
|
@@ -60,6 +66,7 @@
|
|
|
60
66
|
"SOURCE_OF_PRODUCT": "Origen del producto",
|
|
61
67
|
"AI_RECOMMENDATION": "Recomendación de IA",
|
|
62
68
|
"SELECT_PRODUCT": "Seleccionar Producto",
|
|
69
|
+
"PRODUCT_QUANTITY": "Cantidad del producto",
|
|
63
70
|
"COLOR": "Color",
|
|
64
71
|
"AUTOPLAYS": "Reproducciones automáticas",
|
|
65
72
|
"SHOW_NAVIGATION_ARROW": "Mostrar flecha de navegación",
|
|
@@ -67,7 +74,7 @@
|
|
|
67
74
|
"CONTENT": "Contenido",
|
|
68
75
|
"SPACING": "Espacio",
|
|
69
76
|
"CUSTOMIZE": "Personalizar",
|
|
70
|
-
"
|
|
77
|
+
"BUTTON": "Botón",
|
|
71
78
|
"SECONDARY_BUTTON": "Botón Secundario",
|
|
72
79
|
"SETTING": "Ajuste",
|
|
73
80
|
"SHOW_DIVIDER": "Mostrar divisor",
|
|
@@ -104,7 +111,7 @@
|
|
|
104
111
|
"GROUP_BY": "Agrupar por",
|
|
105
112
|
"FLASH_SALE": "Oferta relámpago",
|
|
106
113
|
"THE_PRODUCT_QUANTITY_WILL_BE_AUTOMATICALLY_UPDATED_WITH_THE_ITEMS_THAT_MEET_THE_CATEGORY_CONDITIONS": "La cantidad del producto se actualizará automáticamente con los artículos que cumplan con las condiciones de la categoría",
|
|
107
|
-
"
|
|
114
|
+
"OK": "OK",
|
|
108
115
|
"CANCEL": "Cancelar",
|
|
109
116
|
"LINK_TYPE": "Tipo de enlace",
|
|
110
117
|
"LOOKS_LIKE_YOU_DO_NOT_HAVE_ANY_IMAGES_IN_YOUR_GALLERY__CHOOSE_IMAGES_TO_FEATURE_ON_THIS_PAGE_": "Parece que no tiene ninguna imagen en su galería. Elija imágenes para mostrar en esta página.",
|
|
@@ -116,5 +123,6 @@
|
|
|
116
123
|
"PLEASE_SELECT": "Por favor seleccione",
|
|
117
124
|
"PLEASE_SEARCH": "Por favor busque",
|
|
118
125
|
"KEYWRODS": "Palabras clave",
|
|
119
|
-
"TEXT": "Texto"
|
|
126
|
+
"TEXT": "Texto",
|
|
127
|
+
"OKAY": "OKAY"
|
|
120
128
|
}
|
package/lib/locale/id/id.json
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
+
"NAVIGATION_NAME": "Navigation Name",
|
|
3
|
+
"ADD_NAVIGATION": "Add Navigation",
|
|
2
4
|
"SAVE": "Save",
|
|
5
|
+
"GROUP_NAME": "Group Name",
|
|
6
|
+
"SEE_ALL": "See All",
|
|
7
|
+
"SECOND_CATEGORY": "Secondary Category",
|
|
3
8
|
"ADD_GROUP": "Add Group",
|
|
4
9
|
"CONTENT_WIDTH": "Content Width",
|
|
5
10
|
"MAGNIFICATION": "Magnification",
|
|
@@ -61,6 +66,7 @@
|
|
|
61
66
|
"SOURCE_OF_PRODUCT": "Source Of Product",
|
|
62
67
|
"AI_RECOMMENDATION": "AI Recommendation",
|
|
63
68
|
"SELECT_PRODUCT": "Select Product",
|
|
69
|
+
"PRODUCT_QUANTITY": "Product quantity",
|
|
64
70
|
"COLOR": "Color",
|
|
65
71
|
"AUTOPLAYS": "Autoplays",
|
|
66
72
|
"SHOW_NAVIGATION_ARROW": "Show navigation arrow",
|
|
@@ -117,5 +123,6 @@
|
|
|
117
123
|
"PLEASE_SELECT": "Please select",
|
|
118
124
|
"PLEASE_SEARCH": "Please Search",
|
|
119
125
|
"KEYWRODS": "Keywrods",
|
|
120
|
-
"TEXT": "Text"
|
|
126
|
+
"TEXT": "Text",
|
|
127
|
+
"OKAY": "OKAY"
|
|
121
128
|
}
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fonixtree/magic-design",
|
|
3
3
|
"author": "Cylon Team",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.39",
|
|
5
5
|
"description": "Magic Design",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"module": "es/index.js",
|
|
@@ -34,6 +34,91 @@
|
|
|
34
34
|
"replace": "^1.2.1",
|
|
35
35
|
"slick-carousel": "^1.8.1"
|
|
36
36
|
},
|
|
37
|
+
"devDependencies": {
|
|
38
|
+
"react-dom": "^16.11.0",
|
|
39
|
+
"react": "^16.11.0",
|
|
40
|
+
"gulp": "4.0.2",
|
|
41
|
+
"gulp-less": "5.0.0",
|
|
42
|
+
"gulp-postcss": "9.0.1",
|
|
43
|
+
"gulp-rename": "2.0.0",
|
|
44
|
+
"postcss-less": "6.0.0",
|
|
45
|
+
"@babel/core": "^7.16.0",
|
|
46
|
+
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.3",
|
|
47
|
+
"@rollup/plugin-babel": "^5.3.1",
|
|
48
|
+
"@rollup/plugin-commonjs": "^22.0.0",
|
|
49
|
+
"@rollup/plugin-image": "^2.1.1",
|
|
50
|
+
"@rollup/plugin-json": "^4.1.0",
|
|
51
|
+
"@rollup/plugin-node-resolve": "^13.3.0",
|
|
52
|
+
"@svgr/webpack": "^5.5.0",
|
|
53
|
+
"@types/axios": "^0.14.0",
|
|
54
|
+
"@types/lodash": "^4.14.182",
|
|
55
|
+
"@types/node": "^17.0.36",
|
|
56
|
+
"@types/react": "^18.0.9",
|
|
57
|
+
"@types/react-color": "^3.0.6",
|
|
58
|
+
"@types/react-dom": "^18.0.5",
|
|
59
|
+
"@types/uuid": "^8.3.4",
|
|
60
|
+
"@typescript-eslint/eslint-plugin": "^5.27.1",
|
|
61
|
+
"add": "^2.0.6",
|
|
62
|
+
"babel-loader": "^8.2.3",
|
|
63
|
+
"babel-plugin-named-asset-import": "^0.3.8",
|
|
64
|
+
"babel-preset-react-app": "^10.0.1",
|
|
65
|
+
"bfj": "^7.0.2",
|
|
66
|
+
"browserslist": "^4.18.1",
|
|
67
|
+
"camelcase": "^6.2.1",
|
|
68
|
+
"case-sensitive-paths-webpack-plugin": "^2.4.0",
|
|
69
|
+
"child_process": "^1.0.2",
|
|
70
|
+
"classnames": "^2.3.1",
|
|
71
|
+
"css-loader": "^6.5.1",
|
|
72
|
+
"css-minimizer-webpack-plugin": "^3.2.0",
|
|
73
|
+
"dotenv": "^10.0.0",
|
|
74
|
+
"dotenv-expand": "^5.1.0",
|
|
75
|
+
"eslint": "7",
|
|
76
|
+
"eslint-config-next": "^12.1.6",
|
|
77
|
+
"eslint-config-react-app": "^7.0.1",
|
|
78
|
+
"eslint-webpack-plugin": "^3.1.1",
|
|
79
|
+
"extract-zip": "^2.0.1",
|
|
80
|
+
"file-loader": "^6.2.0",
|
|
81
|
+
"fs-extra": "^10.0.0",
|
|
82
|
+
"html-webpack-plugin": "^5.5.0",
|
|
83
|
+
"http-proxy-middleware": "^2.0.6",
|
|
84
|
+
"identity-obj-proxy": "^3.0.0",
|
|
85
|
+
"less": "3.13.1",
|
|
86
|
+
"less-loader": "^11.0.0",
|
|
87
|
+
"mini-css-extract-plugin": "^2.4.5",
|
|
88
|
+
"mv": "^2.1.1",
|
|
89
|
+
"ora": "^4.1.1",
|
|
90
|
+
"postcss": "^8.4.4",
|
|
91
|
+
"postcss-flexbugs-fixes": "^5.0.2",
|
|
92
|
+
"postcss-loader": "^6.2.1",
|
|
93
|
+
"postcss-normalize": "^10.0.1",
|
|
94
|
+
"postcss-preset-env": "^7.0.1",
|
|
95
|
+
"postcss-px-to-viewport": "^1.1.1",
|
|
96
|
+
"postcss-selector-namespace": "^3.0.1",
|
|
97
|
+
"prompts": "^2.4.2",
|
|
98
|
+
"rc-tools": "^9.6.1-alpha.1",
|
|
99
|
+
"react-app-polyfill": "^3.0.0",
|
|
100
|
+
"react-dev-utils": "^12.0.1",
|
|
101
|
+
"react-refresh": "^0.11.0",
|
|
102
|
+
"resolve": "^1.20.0",
|
|
103
|
+
"resolve-url-loader": "^4.0.0",
|
|
104
|
+
"rollup-plugin-dts": "^4.2.2",
|
|
105
|
+
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
106
|
+
"rollup-plugin-postcss": "^4.0.2",
|
|
107
|
+
"rollup-plugin-styles": "^4.0.0",
|
|
108
|
+
"rollup-plugin-typescript2": "^0.32.1",
|
|
109
|
+
"sass-loader": "^12.3.0",
|
|
110
|
+
"semver": "^7.3.5",
|
|
111
|
+
"source-map-loader": "^3.0.0",
|
|
112
|
+
"style-loader": "^3.3.1",
|
|
113
|
+
"tailwindcss": "^3.0.2",
|
|
114
|
+
"terser-webpack-plugin": "^5.2.5",
|
|
115
|
+
"typescript": "^4.7.2",
|
|
116
|
+
"web-vitals": "^2.1.4",
|
|
117
|
+
"webpack": "^5.64.4",
|
|
118
|
+
"webpack-dev-server": "^4.6.0",
|
|
119
|
+
"webpack-manifest-plugin": "^4.0.2",
|
|
120
|
+
"workbox-webpack-plugin": "^6.4.1"
|
|
121
|
+
},
|
|
37
122
|
"peerDependencies": {
|
|
38
123
|
"react-dom": ">=16.11.0",
|
|
39
124
|
"react": ">=16.11.0"
|
|
Binary file
|
|
Binary file
|