kitchen-simulator 5.0.0-test.21 → 5.0.0-test.23
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kitchen-simulator",
|
|
3
|
-
"version": "5.0.0-test.
|
|
3
|
+
"version": "5.0.0-test.23",
|
|
4
4
|
"description": "It is a kitchen simulator.",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"module": "src/index.js",
|
|
@@ -121,11 +121,5 @@
|
|
|
121
121
|
"webpack": "5.92.1",
|
|
122
122
|
"webpack-cli": "5.1.4",
|
|
123
123
|
"webpack-dev-server": "5.0.4"
|
|
124
|
-
},
|
|
125
|
-
|
|
126
|
-
"peerDependencies": {
|
|
127
|
-
"react": ">=16.8 || ^17 || ^18",
|
|
128
|
-
"react-dom": ">=16.8 || ^17 || ^18",
|
|
129
|
-
"three": "^0.166.0"
|
|
130
124
|
}
|
|
131
125
|
}
|
|
@@ -1,21 +1,16 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import React, { Component } from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
|
-
import { Component } from 'react';
|
|
4
3
|
import * as Icon from 'react-icons/fa';
|
|
5
4
|
import Popup from 'reactjs-popup';
|
|
6
5
|
import {
|
|
6
|
+
DEFAULT_FONT_FAMILY,
|
|
7
7
|
KEYBOARD_BUTTON_CODE,
|
|
8
|
-
MODE,
|
|
9
8
|
NEW_DESIGN,
|
|
10
|
-
|
|
11
|
-
ASK_QUOTE,
|
|
12
|
-
DEFAULT_FONT_FAMILY,
|
|
13
|
-
TEXT_COLOR_NEUTRAL_0,
|
|
14
|
-
TEXT_COLOR_NEUTRAL_3,
|
|
9
|
+
SUBMIT_ADD_CART,
|
|
15
10
|
SUBMIT_DESIGN,
|
|
16
|
-
BG_COLOR_1,
|
|
17
11
|
SUBMIT_REQUEST_ASSIST,
|
|
18
|
-
|
|
12
|
+
TEXT_COLOR_NEUTRAL_0,
|
|
13
|
+
TEXT_COLOR_NEUTRAL_3
|
|
19
14
|
} from '../../constants';
|
|
20
15
|
import { FormTextInput } from '../style/export';
|
|
21
16
|
import './header.style.css';
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import React, { Component } from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import Panel from './panel';
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import { FaPencil, FaTrash, FaTimes } from 'react-icons/fa';
|
|
4
|
+
import { Tab, TabList, TabPanel, Tabs } from 'react-tabs';
|
|
5
|
+
import { FaTimes, FaTrash } from 'react-icons/fa';
|
|
7
6
|
import { FormNumberInput } from '../../components/style/export';
|
|
8
7
|
|
|
9
8
|
const tabStyle = { margin: '1em' };
|
|
@@ -1,18 +1,13 @@
|
|
|
1
|
-
import React, { useCallback, useEffect
|
|
1
|
+
import React, { useCallback, useEffect } from 'react';
|
|
2
2
|
import * as S from '../../../../src/components/toolbar/main/styles';
|
|
3
3
|
import {
|
|
4
4
|
DECIMAL_PLACES_2,
|
|
5
|
-
LOCAL_STORAGE_TOKEN_VALUE,
|
|
6
5
|
STATUS_POSITIVE_COLOR,
|
|
7
6
|
SUBMIT_ADD_CART,
|
|
8
7
|
SUBMIT_REQUEST_ASSIST,
|
|
9
|
-
TEXT_COLOR_NEUTRAL_2
|
|
10
|
-
TOE_KICK_MOLDING
|
|
8
|
+
TEXT_COLOR_NEUTRAL_2
|
|
11
9
|
} from '../../../../src/constants';
|
|
12
|
-
import {
|
|
13
|
-
getToeKickMoldingThumbnail,
|
|
14
|
-
makeSKUForMagento
|
|
15
|
-
} from '../../../../src/components/viewer2d/utils';
|
|
10
|
+
import { makeSKUForMagento } from '../../../../src/components/viewer2d/utils';
|
|
16
11
|
import ReviewItem from '../../../../src/components/toolbar/popup/product/reviewItem';
|
|
17
12
|
import ReviewMolding from '../../../../src/components/toolbar/popup/product/reviewMolding';
|
|
18
13
|
import { formatNumber } from '../../../../src/utils/math';
|