@commercetools-frontend-extensions/unpublish-products-modal 1.2.6 → 1.2.8
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/commercetools-frontend-extensions-unpublish-products-modal.cjs.dev.js +1140 -43
- package/dist/commercetools-frontend-extensions-unpublish-products-modal.cjs.prod.js +1131 -43
- package/dist/commercetools-frontend-extensions-unpublish-products-modal.esm.js +1129 -42
- package/dist/declarations/src/@types/index.d.ts +0 -2
- package/package.json +3 -2
- package/dist/active-drag-drop-area-272fc575.esm.js +0 -51
- package/dist/active-drag-drop-area-d4747efc.cjs.dev.js +0 -53
- package/dist/active-drag-drop-area-fc551a0e.cjs.prod.js +0 -53
- package/dist/declarations/src/@types/file-upload.d.ts +0 -42
- package/dist/declarations/src/@types/import-container.d.ts +0 -11
- package/dist/enabled-drop-area-a750ea18.cjs.prod.js +0 -70
- package/dist/enabled-drop-area-c3902695.esm.js +0 -68
- package/dist/enabled-drop-area-c750b6ba.cjs.dev.js +0 -70
- package/dist/file-dropped-area-0d73f0f6.cjs.dev.js +0 -73
- package/dist/file-dropped-area-23cc482a.cjs.prod.js +0 -73
- package/dist/file-dropped-area-dad90f26.esm.js +0 -71
- package/dist/index-21e8e348.cjs.dev.js +0 -1547
- package/dist/index-7a25a6ee.esm.js +0 -1517
- package/dist/index-a2aa0229.cjs.prod.js +0 -1535
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { useIntl } from 'react-intl';
|
|
2
|
-
import { Spacings, PaperclipIcon, Constraints, Text, SecondaryButton } from '@commercetools-frontend/ui-kit';
|
|
3
|
-
import { u as useUnpublishProductsContext, m as messages } from './index-7a25a6ee.esm.js';
|
|
4
|
-
import 'react';
|
|
5
|
-
import '@commercetools-frontend/actions-global';
|
|
6
|
-
import '@commercetools-frontend/application-shell-connectors';
|
|
7
|
-
import '@commercetools-frontend/constants';
|
|
8
|
-
import '@commercetools-frontend/sdk';
|
|
9
|
-
import '@commercetools-frontend/sentry';
|
|
10
|
-
import '@babel/runtime-corejs3/core-js-stable/object/keys';
|
|
11
|
-
import '@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols';
|
|
12
|
-
import '@babel/runtime-corejs3/core-js-stable/instance/filter';
|
|
13
|
-
import '@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor';
|
|
14
|
-
import '@babel/runtime-corejs3/core-js-stable/instance/for-each';
|
|
15
|
-
import '@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors';
|
|
16
|
-
import '@babel/runtime-corejs3/core-js-stable/object/define-properties';
|
|
17
|
-
import '@babel/runtime-corejs3/core-js-stable/object/define-property';
|
|
18
|
-
import '@babel/runtime-corejs3/helpers/defineProperty';
|
|
19
|
-
import '@babel/runtime-corejs3/core-js-stable/json/stringify';
|
|
20
|
-
import '@babel/runtime-corejs3/core-js-stable/instance/every';
|
|
21
|
-
import '@babel/runtime-corejs3/core-js-stable/promise';
|
|
22
|
-
import '@babel/runtime-corejs3/core-js-stable/array/is-array';
|
|
23
|
-
import '@babel/runtime-corejs3/core-js-stable/instance/find';
|
|
24
|
-
import '@babel/runtime-corejs3/core-js-stable/instance/map';
|
|
25
|
-
import 'papaparse';
|
|
26
|
-
import '@babel/runtime-corejs3/core-js-stable/reflect/construct';
|
|
27
|
-
import '@babel/runtime-corejs3/helpers/createClass';
|
|
28
|
-
import '@babel/runtime-corejs3/helpers/classCallCheck';
|
|
29
|
-
import '@babel/runtime-corejs3/helpers/possibleConstructorReturn';
|
|
30
|
-
import '@babel/runtime-corejs3/helpers/getPrototypeOf';
|
|
31
|
-
import '@babel/runtime-corejs3/helpers/inherits';
|
|
32
|
-
import '@babel/runtime-corejs3/helpers/wrapNativeSuper';
|
|
33
|
-
import '@commercetools-frontend/application-shell';
|
|
34
|
-
import { jsxs, jsx } from '@emotion/react/jsx-runtime';
|
|
35
|
-
import '@babel/runtime-corejs3/helpers/slicedToArray';
|
|
36
|
-
import '@commercetools-frontend/application-components';
|
|
37
|
-
import '@commercetools-frontend/fullstory';
|
|
38
|
-
import '@babel/runtime-corejs3/core-js-stable/instance/some';
|
|
39
|
-
import 'react-dropzone';
|
|
40
|
-
import '@emotion/styled/base';
|
|
41
|
-
import '@emotion/react';
|
|
42
|
-
import '@babel/runtime-corejs3/core-js-stable/instance/slice';
|
|
43
|
-
import '@commercetools-frontend/i18n';
|
|
44
|
-
|
|
45
|
-
function FileDroppedArea() {
|
|
46
|
-
const intl = useIntl();
|
|
47
|
-
const _useUnpublishProducts = useUnpublishProductsContext(),
|
|
48
|
-
state = _useUnpublishProducts.state;
|
|
49
|
-
return jsxs(Spacings.Stack, {
|
|
50
|
-
alignItems: "center",
|
|
51
|
-
scale: "s",
|
|
52
|
-
children: [jsxs(Spacings.Inline, {
|
|
53
|
-
alignItems: "flex-start",
|
|
54
|
-
scale: "xs",
|
|
55
|
-
children: [jsx(PaperclipIcon, {
|
|
56
|
-
color: "neutral60"
|
|
57
|
-
}), jsx(Constraints.Horizontal, {
|
|
58
|
-
max: 13,
|
|
59
|
-
children: jsx(Text.Body, {
|
|
60
|
-
children: state.droppedFile?.name
|
|
61
|
-
})
|
|
62
|
-
})]
|
|
63
|
-
}), jsx(SecondaryButton, {
|
|
64
|
-
tone: "secondary",
|
|
65
|
-
size: "medium",
|
|
66
|
-
label: intl.formatMessage(messages.chooseFile)
|
|
67
|
-
})]
|
|
68
|
-
});
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
export { FileDroppedArea as default };
|