@wireapp/react-ui-kit 8.8.4 → 8.9.0
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/CHANGELOG.md +11 -0
- package/package.json +2 -2
- package/src/Form/DropFileInput.d.js +2 -0
- package/src/Form/DropFileInput.d.js.map +1 -0
- package/src/Form/DropFileInput.d.ts +19 -0
- package/src/Form/DropFileInput.js +237 -0
- package/src/Form/DropFileInput.js.map +1 -0
- package/src/Form/DropFileInput.md +18 -0
- package/src/Form/index.d.js +13 -0
- package/src/Form/index.d.js.map +1 -1
- package/src/Form/index.d.ts +1 -0
- package/src/Form/index.js +13 -0
- package/src/Form/index.js.map +1 -1
- package/src/Icon/SVGIcon.md +2 -0
- package/src/Icon/UploadIcon.d.js +2 -0
- package/src/Icon/UploadIcon.d.js.map +1 -0
- package/src/Icon/UploadIcon.d.ts +4 -0
- package/src/Icon/UploadIcon.js +46 -0
- package/src/Icon/UploadIcon.js.map +1 -0
- package/src/Icon/index.d.js +13 -0
- package/src/Icon/index.d.js.map +1 -1
- package/src/Icon/index.d.ts +1 -0
- package/src/Icon/index.js +13 -0
- package/src/Icon/index.js.map +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [8.9.0](https://github.com/wireapp/wire-web-packages/tree/main/packages/react-ui-kit/compare/@wireapp/react-ui-kit@8.8.4...@wireapp/react-ui-kit@8.9.0) (2022-07-19)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **react-ui-kit:** add DropFileInput component (#SQSERVICES-758) ([#4334](https://github.com/wireapp/wire-web-packages/tree/main/packages/react-ui-kit/issues/4334)) ([e3dbe38](https://github.com/wireapp/wire-web-packages/tree/main/packages/react-ui-kit/commit/e3dbe38a57be5f9d5d235d6b60c240d4cf2e3752)), closes [#SQSERVICES-758](https://github.com/wireapp/wire-web-packages/tree/main/packages/react-ui-kit/issues/SQSERVICES-758)
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [8.8.4](https://github.com/wireapp/wire-web-packages/tree/main/packages/react-ui-kit/compare/@wireapp/react-ui-kit@8.8.3...@wireapp/react-ui-kit@8.8.4) (2022-07-18)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @wireapp/react-ui-kit
|
package/package.json
CHANGED
|
@@ -69,6 +69,6 @@
|
|
|
69
69
|
"test:update": "yarn test --updateSnapshot",
|
|
70
70
|
"test:project": "yarn dist && yarn test"
|
|
71
71
|
},
|
|
72
|
-
"version": "8.
|
|
73
|
-
"gitHead": "
|
|
72
|
+
"version": "8.9.0",
|
|
73
|
+
"gitHead": "a53453a02b71cffb5639ad27f2e4da51635adfd3"
|
|
74
74
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[],"file":"DropFileInput.d.js"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/** @jsx jsx */
|
|
2
|
+
import { CSSObject } from '@emotion/react';
|
|
3
|
+
import { FC } from 'react';
|
|
4
|
+
import type { Theme } from '../Layout';
|
|
5
|
+
import type { TextProps } from '../Text';
|
|
6
|
+
export interface DropFileInputProps<T = HTMLInputElement> extends TextProps<T> {
|
|
7
|
+
onFilesUploaded: (files: File[]) => void;
|
|
8
|
+
onInvalidFilesDropError: () => void;
|
|
9
|
+
labelText: string;
|
|
10
|
+
headingText: string;
|
|
11
|
+
description?: string;
|
|
12
|
+
dropFileZoneWrapperCSS?: CSSObject;
|
|
13
|
+
}
|
|
14
|
+
export declare const dropFileWrapperStyle: CSSObject;
|
|
15
|
+
export declare const dropFileZoneWrapperStyle: <T>(theme: Theme, isDraggedOver: boolean) => CSSObject;
|
|
16
|
+
export declare const dropFileZoneLabelStyle: <T>(theme: Theme) => CSSObject;
|
|
17
|
+
export declare const dropFileZoneHeadingStyle: CSSObject;
|
|
18
|
+
export declare const dropFileZonDescriptionStyle: CSSObject;
|
|
19
|
+
export declare const DropFileInput: FC<DropFileInputProps<HTMLInputElement>>;
|
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
6
|
+
|
|
7
|
+
Object.defineProperty(exports, "__esModule", {
|
|
8
|
+
value: true
|
|
9
|
+
});
|
|
10
|
+
exports.DropFileInput = exports.dropFileZonDescriptionStyle = exports.dropFileZoneHeadingStyle = exports.dropFileZoneLabelStyle = exports.dropFileZoneWrapperStyle = exports.dropFileWrapperStyle = void 0;
|
|
11
|
+
|
|
12
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
13
|
+
|
|
14
|
+
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
15
|
+
|
|
16
|
+
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
17
|
+
|
|
18
|
+
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
19
|
+
|
|
20
|
+
var _react = require("@emotion/react");
|
|
21
|
+
|
|
22
|
+
var _react2 = _interopRequireWildcard(require("react"));
|
|
23
|
+
|
|
24
|
+
var _Identity = require("../Identity");
|
|
25
|
+
|
|
26
|
+
var _Icon = require("../Icon");
|
|
27
|
+
|
|
28
|
+
var _Layout = require("../Layout");
|
|
29
|
+
|
|
30
|
+
var _excluded = ["onFilesUploaded", "onInvalidFilesDropError", "dropFileZoneWrapperCSS", "labelText", "headingText", "description", "accept", "multiple"];
|
|
31
|
+
|
|
32
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
33
|
+
|
|
34
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
35
|
+
|
|
36
|
+
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
37
|
+
|
|
38
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
39
|
+
|
|
40
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { (0, _defineProperty2["default"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
41
|
+
|
|
42
|
+
var visuallyHiddenStyles = {
|
|
43
|
+
clip: 'rect(0 0 0 0)',
|
|
44
|
+
clipPath: 'inset(50%)',
|
|
45
|
+
height: '1px',
|
|
46
|
+
overflow: 'hidden',
|
|
47
|
+
position: 'absolute',
|
|
48
|
+
whiteSpace: 'nowrap',
|
|
49
|
+
width: '1px'
|
|
50
|
+
};
|
|
51
|
+
var dropFileWrapperStyle = {
|
|
52
|
+
maxWidth: '330px'
|
|
53
|
+
};
|
|
54
|
+
exports.dropFileWrapperStyle = dropFileWrapperStyle;
|
|
55
|
+
|
|
56
|
+
var dropFileZoneWrapperStyle = function dropFileZoneWrapperStyle(theme, isDraggedOver) {
|
|
57
|
+
return {
|
|
58
|
+
width: '100%',
|
|
59
|
+
padding: '28px 12px',
|
|
60
|
+
border: "1px dashed ".concat(theme.general.primaryColor),
|
|
61
|
+
borderBottomWidth: '2px',
|
|
62
|
+
borderRadius: '6px',
|
|
63
|
+
textAlign: 'center',
|
|
64
|
+
backgroundColor: isDraggedOver ? theme.general.backgroundColor : _Identity.COLOR.WHITE,
|
|
65
|
+
fontWeight: 400,
|
|
66
|
+
fontSize: '12px',
|
|
67
|
+
lineHeight: '13px',
|
|
68
|
+
color: _Identity.COLOR.GRAY
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
exports.dropFileZoneWrapperStyle = dropFileZoneWrapperStyle;
|
|
73
|
+
|
|
74
|
+
var dropFileZoneLabelStyle = function dropFileZoneLabelStyle(theme) {
|
|
75
|
+
return {
|
|
76
|
+
color: theme.general.primaryColor,
|
|
77
|
+
cursor: 'pointer',
|
|
78
|
+
':focus-within': {
|
|
79
|
+
outline: "1px solid ".concat(theme.general.primaryColor)
|
|
80
|
+
},
|
|
81
|
+
':hover': {
|
|
82
|
+
textDecoration: 'underline'
|
|
83
|
+
}
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
|
|
87
|
+
exports.dropFileZoneLabelStyle = dropFileZoneLabelStyle;
|
|
88
|
+
var dropFileZoneHeadingStyle = {
|
|
89
|
+
display: 'block',
|
|
90
|
+
whiteSpace: 'pre-line'
|
|
91
|
+
};
|
|
92
|
+
exports.dropFileZoneHeadingStyle = dropFileZoneHeadingStyle;
|
|
93
|
+
var dropFileZonDescriptionStyle = {
|
|
94
|
+
marginTop: '12px',
|
|
95
|
+
fontWeight: 400,
|
|
96
|
+
fontSize: '10px',
|
|
97
|
+
lineHeight: '13px',
|
|
98
|
+
color: _Identity.COLOR.GRAY,
|
|
99
|
+
whiteSpace: 'pre-line'
|
|
100
|
+
};
|
|
101
|
+
exports.dropFileZonDescriptionStyle = dropFileZonDescriptionStyle;
|
|
102
|
+
|
|
103
|
+
var _ref2 = process.env.NODE_ENV === "production" ? {
|
|
104
|
+
name: "pztmsj",
|
|
105
|
+
styles: "max-width:280px;margin:0 auto"
|
|
106
|
+
} : {
|
|
107
|
+
name: "urj1u0-DropFileInput",
|
|
108
|
+
styles: "max-width:280px;margin:0 auto;label:DropFileInput;",
|
|
109
|
+
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkRyb3BGaWxlSW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWtMbUUiLCJmaWxlIjoiRHJvcEZpbGVJbnB1dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKlxuICogV2lyZVxuICogQ29weXJpZ2h0IChDKSAyMDIyIFdpcmUgU3dpc3MgR21iSFxuICpcbiAqIFRoaXMgcHJvZ3JhbSBpcyBmcmVlIHNvZnR3YXJlOiB5b3UgY2FuIHJlZGlzdHJpYnV0ZSBpdCBhbmQvb3IgbW9kaWZ5XG4gKiBpdCB1bmRlciB0aGUgdGVybXMgb2YgdGhlIEdOVSBHZW5lcmFsIFB1YmxpYyBMaWNlbnNlIGF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0+e2hlYWRpbmdUZXh0fTwvc3Bhbj5cbiAgICAgICAgICAgICAgPGxhYmVsXG4gICAgICAgICAgICAgICAgYXJpYS1sYWJlbD17YCR7aGVhZGluZ1RleHR9ICR7bGFiZWxUZXh0fSAoJHtkZXNjcmlwdGlvbn0pYH1cbiAgICAgICAgICAgICAgICBjc3M9eyh0aGVtZTogVGhlbWUpID0+IGRyb3BGaWxlWm9uZUxhYmVsU3R5bGUodGhlbWUpfVxuICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgPHNwYW4+e2xhYmVsVGV4dH08L3NwYW4+XG4gICAgICAgICAgICAgICAgPGlucHV0XG4gICAgICAgICAgICAgICAgICBkYXRhLXRlc3RpZD1cImZpbGUtaW5wdXRcIlxuICAgICAgICAgICAgICAgICAgcmVmPXtyZWZ9XG4gICAgICAgICAgICAgICAgICBhY2NlcHQ9e2FjY2VwdH1cbiAgICAgICAgICAgICAgICAgIG11bHRpcGxlPXttdWx0aXBsZX1cbiAgICAgICAgICAgICAgICAgIGNzcz17dmlzdWFsbHlIaWRkZW5TdHlsZXN9XG4gICAgICAgICAgICAgICAgICBvbkNoYW5nZT17aGFuZGxlQ2hhbmdlfVxuICAgICAgICAgICAgICAgICAgdHlwZT1cImZpbGVcIlxuICAgICAgICAgICAgICAgICAgey4uLmlucHV0UHJvcHN9XG4gICAgICAgICAgICAgICAgLz5cbiAgICAgICAgICAgICAgPC9sYWJlbD5cbiAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgIDwvRmxleEJveD5cbiAgICAgICAgPC9kaXY+XG4gICAgICAgIHtkZXNjcmlwdGlvbiAmJiA8cCBjc3M9e2Ryb3BGaWxlWm9uRGVzY3JpcHRpb25TdHlsZX0+e2Rlc2NyaXB0aW9ufTwvcD59XG4gICAgICA8L2Rpdj5cbiAgICApO1xuICB9LFxuKTtcbiJdfQ== */",
|
|
110
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
111
|
+
};
|
|
112
|
+
|
|
113
|
+
var _ref3 = process.env.NODE_ENV === "production" ? {
|
|
114
|
+
name: "1ee42c1",
|
|
115
|
+
styles: "margin:12px 0"
|
|
116
|
+
} : {
|
|
117
|
+
name: "qqk9rh-DropFileInput",
|
|
118
|
+
styles: "margin:12px 0;label:DropFileInput;",
|
|
119
|
+
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkRyb3BGaWxlSW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1Md0IiLCJmaWxlIjoiRHJvcEZpbGVJbnB1dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKlxuICogV2lyZVxuICogQ29weXJpZ2h0IChDKSAyMDIyIFdpcmUgU3dpc3MgR21iSFxuICpcbiAqIFRoaXMgcHJvZ3JhbSBpcyBmcmVlIHNvZnR3YXJlOiB5b3UgY2FuIHJlZGlzdHJpYnV0ZSBpdCBhbmQvb3IgbW9kaWZ5XG4gKiBpdCB1bmRlciB0aGUgdGVybXMgb2YgdGhlIEdOVSBHZW5lcmFsIFB1YmxpYyBMaWNlbnNlIGFzIHB1Ymxpc2hlZCBieVxuICogdGhlIEZyZWUgU29mdHdhcmUgRm91bmRhdGlvbiwgZWl0aGVyIHZlcnNpb24gMyBvZiB0aGUgTGljZW5zZSwgb3JcbiAqIChhdCB5b3VyIG9wdGlvbikgYW55IGxhdGVyIHZlcnNpb24uXG4gKlxuICogVGhpcyBwcm9ncmFtIGlzIGRpc3RyaWJ1dGVkIGluIHRoZSBob3BlIHRoYXQgaXQgd2lsbCBiZSB1c2VmdWwsXG4gKiBidXQgV0lUSE9VVCBBTlkgV0FSUkFOVFk7IHdpdGhvdXQgZXZlbiB0aGUgaW1wbGllZCB3YXJyYW50eSBvZlxuICogTUVSQ0hBTlRBQklMSVRZIG9yIEZJVE5FU1MgRk9SIEEgUEFSVElDVUxBUiBQVVJQT1NFLiBTZWUgdGhlXG4gKiBHTl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gICAgICAgICAgICBhY2NlcHQ9e2FjY2VwdH1cbiAgICAgICAgICAgICAgICAgIG11bHRpcGxlPXttdWx0aXBsZX1cbiAgICAgICAgICAgICAgICAgIGNzcz17dmlzdWFsbHlIaWRkZW5TdHlsZXN9XG4gICAgICAgICAgICAgICAgICBvbkNoYW5nZT17aGFuZGxlQ2hhbmdlfVxuICAgICAgICAgICAgICAgICAgdHlwZT1cImZpbGVcIlxuICAgICAgICAgICAgICAgICAgey4uLmlucHV0UHJvcHN9XG4gICAgICAgICAgICAgICAgLz5cbiAgICAgICAgICAgICAgPC9sYWJlbD5cbiAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgIDwvRmxleEJveD5cbiAgICAgICAgPC9kaXY+XG4gICAgICAgIHtkZXNjcmlwdGlvbiAmJiA8cCBjc3M9e2Ryb3BGaWxlWm9uRGVzY3JpcHRpb25TdHlsZX0+e2Rlc2NyaXB0aW9ufTwvcD59XG4gICAgICA8L2Rpdj5cbiAgICApO1xuICB9LFxuKTtcbiJdfQ== */",
|
|
120
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
121
|
+
};
|
|
122
|
+
|
|
123
|
+
var _ref4 = process.env.NODE_ENV === "production" ? {
|
|
124
|
+
name: "1bszqua",
|
|
125
|
+
styles: "max-width:160px;margin:0 25px"
|
|
126
|
+
} : {
|
|
127
|
+
name: "r5lgab-DropFileInput",
|
|
128
|
+
styles: "max-width:160px;margin:0 25px;label:DropFileInput;",
|
|
129
|
+
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkRyb3BGaWxlSW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9MaUIiLCJmaWxlIjoiRHJvcEZpbGVJbnB1dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKlxuICogV2lyZVxuICogQ29weXJpZ2h0IChDKSAyMDIyIFdpcmUgU3dpc3MgR21iSFx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YWRJY29uIGNzcz17e21hcmdpbjogJzEycHggMCd9fSAvPlxuICAgICAgICAgICAgPGRpdiBjc3M9e3ttYXhXaWR0aDogJzE2MHB4JywgbWFyZ2luOiAnMCAyNXB4J319PlxuICAgICAgICAgICAgICA8c3BhbiBjc3M9e2Ryb3BGaWxlWm9uZUhlYWRpbmdTdHlsZX0+e2hlYWRpbmdUZXh0fTwvc3Bhbj5cbiAgICAgICAgICAgICAgPGxhYmVsXG4gICAgICAgICAgICAgICAgYXJpYS1sYWJlbD17YCR7aGVhZGluZ1RleHR9ICR7bGFiZWxUZXh0fSAoJHtkZXNjcmlwdGlvbn0pYH1cbiAgICAgICAgICAgICAgICBjc3M9eyh0aGVtZTogVGhlbWUpID0+IGRyb3BGaWxlWm9uZUxhYmVsU3R5bGUodGhlbWUpfVxuICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgPHNwYW4+e2xhYmVsVGV4dH08L3NwYW4+XG4gICAgICAgICAgICAgICAgPGlucHV0XG4gICAgICAgICAgICAgICAgICBkYXRhLXRlc3RpZD1cImZpbGUtaW5wdXRcIlxuICAgICAgICAgICAgICAgICAgcmVmPXtyZWZ9XG4gICAgICAgICAgICAgICAgICBhY2NlcHQ9e2FjY2VwdH1cbiAgICAgICAgICAgICAgICAgIG11bHRpcGxlPXttdWx0aXBsZX1cbiAgICAgICAgICAgICAgICAgIGNzcz17dmlzdWFsbHlIaWRkZW5TdHlsZXN9XG4gICAgICAgICAgICAgICAgICBvbkNoYW5nZT17aGFuZGxlQ2hhbmdlfVxuICAgICAgICAgICAgICAgICAgdHlwZT1cImZpbGVcIlxuICAgICAgICAgICAgICAgICAgey4uLmlucHV0UHJvcHN9XG4gICAgICAgICAgICAgICAgLz5cbiAgICAgICAgICAgICAgPC9sYWJlbD5cbiAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgIDwvRmxleEJveD5cbiAgICAgICAgPC9kaXY+XG4gICAgICAgIHtkZXNjcmlwdGlvbiAmJiA8cCBjc3M9e2Ryb3BGaWxlWm9uRGVzY3JpcHRpb25TdHlsZX0+e2Rlc2NyaXB0aW9ufTwvcD59XG4gICAgICA8L2Rpdj5cbiAgICApO1xuICB9LFxuKTtcbiJdfQ== */",
|
|
130
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
131
|
+
};
|
|
132
|
+
|
|
133
|
+
var DropFileInput = /*#__PURE__*/(0, _react2.forwardRef)(function (_ref, ref) {
|
|
134
|
+
var onFilesUploaded = _ref.onFilesUploaded,
|
|
135
|
+
onInvalidFilesDropError = _ref.onInvalidFilesDropError,
|
|
136
|
+
dropFileZoneWrapperCSS = _ref.dropFileZoneWrapperCSS,
|
|
137
|
+
labelText = _ref.labelText,
|
|
138
|
+
headingText = _ref.headingText,
|
|
139
|
+
description = _ref.description,
|
|
140
|
+
accept = _ref.accept,
|
|
141
|
+
multiple = _ref.multiple,
|
|
142
|
+
inputProps = (0, _objectWithoutProperties2["default"])(_ref, _excluded);
|
|
143
|
+
|
|
144
|
+
var _useState = (0, _react2.useState)(false),
|
|
145
|
+
_useState2 = (0, _slicedToArray2["default"])(_useState, 2),
|
|
146
|
+
isDraggedOver = _useState2[0],
|
|
147
|
+
setIsDraggedOver = _useState2[1];
|
|
148
|
+
|
|
149
|
+
var resetDraggedOver = function resetDraggedOver() {
|
|
150
|
+
return setIsDraggedOver(false);
|
|
151
|
+
};
|
|
152
|
+
|
|
153
|
+
var handleDragOver = function handleDragOver(event) {
|
|
154
|
+
event.preventDefault();
|
|
155
|
+
event.stopPropagation();
|
|
156
|
+
event.dataTransfer.dropEffect = 'copy';
|
|
157
|
+
|
|
158
|
+
if (event.dataTransfer.items.length > 0) {
|
|
159
|
+
setIsDraggedOver(true);
|
|
160
|
+
}
|
|
161
|
+
};
|
|
162
|
+
|
|
163
|
+
var handleDrop = function handleDrop(event) {
|
|
164
|
+
event.preventDefault();
|
|
165
|
+
event.stopPropagation();
|
|
166
|
+
resetDraggedOver();
|
|
167
|
+
var files = event.dataTransfer.files;
|
|
168
|
+
|
|
169
|
+
if (files.length < 1) {
|
|
170
|
+
return;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
var filesArr = multiple ? Array.from(files) : [files[0]];
|
|
174
|
+
var areFilesValid = !!accept ? filesArr.every(function (file) {
|
|
175
|
+
return accept.split(',').map(function (v) {
|
|
176
|
+
return v.trim();
|
|
177
|
+
}).includes(file.type);
|
|
178
|
+
}) : true;
|
|
179
|
+
|
|
180
|
+
if (!areFilesValid) {
|
|
181
|
+
onInvalidFilesDropError();
|
|
182
|
+
return;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
onFilesUploaded(filesArr);
|
|
186
|
+
};
|
|
187
|
+
|
|
188
|
+
var handleChange = function handleChange(event) {
|
|
189
|
+
var files = event.target.files;
|
|
190
|
+
|
|
191
|
+
if (files.length < 1) {
|
|
192
|
+
return;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
onFilesUploaded(Array.from(files));
|
|
196
|
+
};
|
|
197
|
+
|
|
198
|
+
return (0, _react.jsx)("div", {
|
|
199
|
+
css: dropFileWrapperStyle
|
|
200
|
+
}, (0, _react.jsx)("div", {
|
|
201
|
+
css: function css(theme) {
|
|
202
|
+
return _objectSpread(_objectSpread({}, dropFileZoneWrapperStyle(theme, isDraggedOver)), dropFileZoneWrapperCSS);
|
|
203
|
+
},
|
|
204
|
+
"data-testid": "dropzone",
|
|
205
|
+
onDragOver: handleDragOver,
|
|
206
|
+
onDragLeave: resetDraggedOver,
|
|
207
|
+
onDrop: handleDrop
|
|
208
|
+
}, (0, _react.jsx)(_Layout.FlexBox, {
|
|
209
|
+
align: "center",
|
|
210
|
+
justify: "center",
|
|
211
|
+
flexWrap: "wrap",
|
|
212
|
+
css: _ref2
|
|
213
|
+
}, (0, _react.jsx)(_Icon.UploadIcon, {
|
|
214
|
+
css: _ref3
|
|
215
|
+
}), (0, _react.jsx)("div", {
|
|
216
|
+
css: _ref4
|
|
217
|
+
}, (0, _react.jsx)("span", {
|
|
218
|
+
css: dropFileZoneHeadingStyle
|
|
219
|
+
}, headingText), (0, _react.jsx)("label", {
|
|
220
|
+
"aria-label": "".concat(headingText, " ").concat(labelText, " (").concat(description, ")"),
|
|
221
|
+
css: function css(theme) {
|
|
222
|
+
return dropFileZoneLabelStyle(theme);
|
|
223
|
+
}
|
|
224
|
+
}, (0, _react.jsx)("span", null, labelText), (0, _react.jsx)("input", (0, _extends2["default"])({
|
|
225
|
+
"data-testid": "file-input",
|
|
226
|
+
ref: ref,
|
|
227
|
+
accept: accept,
|
|
228
|
+
multiple: multiple,
|
|
229
|
+
css: visuallyHiddenStyles,
|
|
230
|
+
onChange: handleChange,
|
|
231
|
+
type: "file"
|
|
232
|
+
}, inputProps)))))), description && (0, _react.jsx)("p", {
|
|
233
|
+
css: dropFileZonDescriptionStyle
|
|
234
|
+
}, description));
|
|
235
|
+
});
|
|
236
|
+
exports.DropFileInput = DropFileInput;
|
|
237
|
+
//# sourceMappingURL=DropFileInput.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["DropFileInput.tsx"],"names":["visuallyHiddenStyles","clip","clipPath","height","overflow","position","whiteSpace","width","dropFileWrapperStyle","maxWidth","dropFileZoneWrapperStyle","theme","isDraggedOver","padding","border","general","primaryColor","borderBottomWidth","borderRadius","textAlign","backgroundColor","COLOR","WHITE","fontWeight","fontSize","lineHeight","color","GRAY","dropFileZoneLabelStyle","cursor","outline","textDecoration","dropFileZoneHeadingStyle","display","dropFileZonDescriptionStyle","marginTop","DropFileInput","ref","onFilesUploaded","onInvalidFilesDropError","dropFileZoneWrapperCSS","labelText","headingText","description","accept","multiple","inputProps","setIsDraggedOver","resetDraggedOver","handleDragOver","event","preventDefault","stopPropagation","dataTransfer","dropEffect","items","length","handleDrop","files","filesArr","Array","from","areFilesValid","every","file","split","map","v","trim","includes","type","handleChange","target"],"mappings":";;;;;;;;;;;;;;;;;;;AAoBA;;AACA;;AAEA;;AAGA;;AACA;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CAACC,KAAD,EAAQC,aAAR,CADxB,GAEA4B,sBAFA;AAAA,KADP;AAKE,mBAAY,UALd;AAME,IAAA,UAAU,EAAES,cANd;AAOE,IAAA,WAAW,EAAED,gBAPf;AAQE,IAAA,MAAM,EAAES;AARV,KAUE,gBAAC,eAAD;AAAS,IAAA,KAAK,EAAC,QAAf;AAAwB,IAAA,OAAO,EAAC,QAAhC;AAAyC,IAAA,QAAQ,EAAC,MAAlD;AAAyD,IAAA,GAAG;AAA5D,KACE,gBAAC,gBAAD;AAAY,IAAA,GAAG;AAAf,IADF,EAEE;AAAK,IAAA,GAAG;AAAR,KACE;AAAM,IAAA,GAAG,EAAEzB;AAAX,KAAsCU,WAAtC,CADF,EAEE;AACE,4BAAeA,WAAf,cAA8BD,SAA9B,eAA4CE,WAA5C,MADF;AAEE,IAAA,GAAG,EAAE,aAAChC,KAAD;AAAA,aAAkBiB,sBAAsB,CAACjB,KAAD,CAAxC;AAAA;AAFP,KAIE,8BAAO8B,SAAP,CAJF,EAKE;AACE,mBAAY,YADd;AAEE,IAAA,GAAG,EAAEJ,GAFP;AAGE,IAAA,MAAM,EAAEO,MAHV;AAIE,IAAA,QAAQ,EAAEC,QAJZ;AAKE,IAAA,GAAG,EAAE7C,oBALP;AAME,IAAA,QAAQ,EAAEuE,YANZ;AAOE,IAAA,IAAI,EAAC;AAPP,KAQMzB,UARN,EALF,CAFF,CAFF,CAVF,CADF,EAkCGH,WAAW,IAAI;AAAG,IAAA,GAAG,EAAET;AAAR,KAAsCS,WAAtC,CAlClB,CADF;AAsCD,CA9GoE,CAAhE","sourcesContent":["/*\n * Wire\n * Copyright (C) 2022 Wire Swiss GmbH\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see http://www.gnu.org/licenses/.\n *\n */\n\n/** @jsx jsx */\nimport {CSSObject, jsx} from '@emotion/react';\nimport React, {useState, FC, forwardRef, DragEvent} from 'react';\n\nimport {COLOR} from '../Identity';\nimport type {Theme} from '../Layout';\nimport type {TextProps} from '../Text';\nimport {UploadIcon} from '../Icon';\nimport {FlexBox} from '../Layout';\n\nexport interface DropFileInputProps<T = HTMLInputElement> extends TextProps<T> {\n onFilesUploaded: (files: File[]) => void;\n onInvalidFilesDropError: () => void;\n labelText: string;\n headingText: string;\n description?: string;\n dropFileZoneWrapperCSS?: CSSObject;\n}\n\nconst visuallyHiddenStyles: CSSObject = {\n clip: 'rect(0 0 0 0)',\n clipPath: 'inset(50%)',\n height: '1px',\n overflow: 'hidden',\n position: 'absolute',\n whiteSpace: 'nowrap',\n width: '1px',\n};\n\nexport const dropFileWrapperStyle: CSSObject = {\n maxWidth: '330px',\n};\n\nexport const dropFileZoneWrapperStyle: <T>(theme: Theme, isDraggedOver: boolean) => CSSObject = (\n theme,\n isDraggedOver,\n) => ({\n width: '100%',\n padding: '28px 12px',\n border: `1px dashed ${theme.general.primaryColor}`,\n borderBottomWidth: '2px',\n borderRadius: '6px',\n textAlign: 'center',\n backgroundColor: isDraggedOver ? theme.general.backgroundColor : COLOR.WHITE,\n fontWeight: 400,\n fontSize: '12px',\n lineHeight: '13px',\n color: COLOR.GRAY,\n});\n\nexport const dropFileZoneLabelStyle: <T>(theme: Theme) => CSSObject = theme => ({\n color: theme.general.primaryColor,\n cursor: 'pointer',\n ':focus-within': {\n outline: `1px solid ${theme.general.primaryColor}`,\n },\n ':hover': {\n textDecoration: 'underline',\n },\n});\n\nexport const dropFileZoneHeadingStyle: CSSObject = {\n display: 'block',\n whiteSpace: 'pre-line',\n};\n\nexport const dropFileZonDescriptionStyle: CSSObject = {\n marginTop: '12px',\n fontWeight: 400,\n fontSize: '10px',\n lineHeight: '13px',\n color: COLOR.GRAY,\n whiteSpace: 'pre-line',\n};\n\nexport const DropFileInput: FC<DropFileInputProps<HTMLInputElement>> = forwardRef<\n HTMLInputElement,\n DropFileInputProps<HTMLInputElement>\n>(\n (\n {\n onFilesUploaded,\n onInvalidFilesDropError,\n dropFileZoneWrapperCSS,\n labelText,\n headingText,\n description,\n accept,\n multiple,\n ...inputProps\n },\n ref,\n ) => {\n const [isDraggedOver, setIsDraggedOver] = useState(false);\n\n const resetDraggedOver = () => setIsDraggedOver(false);\n\n const handleDragOver = (event: DragEvent<HTMLDivElement>) => {\n event.preventDefault();\n event.stopPropagation();\n event.dataTransfer.dropEffect = 'copy';\n\n if (event.dataTransfer.items.length > 0) {\n setIsDraggedOver(true);\n }\n };\n\n const handleDrop = (event: DragEvent<HTMLDivElement>) => {\n event.preventDefault();\n event.stopPropagation();\n\n resetDraggedOver();\n\n const {files} = event.dataTransfer;\n if (files.length < 1) {\n return;\n }\n\n const filesArr = multiple ? Array.from(files) : [files[0]];\n\n const areFilesValid = !!accept\n ? filesArr.every(file =>\n accept\n .split(',')\n .map(v => v.trim())\n .includes(file.type),\n )\n : true;\n\n if (!areFilesValid) {\n onInvalidFilesDropError();\n return;\n }\n\n onFilesUploaded(filesArr);\n };\n\n const handleChange = (event: React.ChangeEvent<HTMLInputElement>) => {\n const {files} = event.target;\n\n if (files.length < 1) {\n return;\n }\n\n onFilesUploaded(Array.from(files));\n };\n\n return (\n <div css={dropFileWrapperStyle}>\n <div\n css={(theme: Theme) => ({\n ...dropFileZoneWrapperStyle(theme, isDraggedOver),\n ...dropFileZoneWrapperCSS,\n })}\n data-testid=\"dropzone\"\n onDragOver={handleDragOver}\n onDragLeave={resetDraggedOver}\n onDrop={handleDrop}\n >\n <FlexBox align=\"center\" justify=\"center\" flexWrap=\"wrap\" css={{maxWidth: '280px', margin: '0 auto'}}>\n <UploadIcon css={{margin: '12px 0'}} />\n <div css={{maxWidth: '160px', margin: '0 25px'}}>\n <span css={dropFileZoneHeadingStyle}>{headingText}</span>\n <label\n aria-label={`${headingText} ${labelText} (${description})`}\n css={(theme: Theme) => dropFileZoneLabelStyle(theme)}\n >\n <span>{labelText}</span>\n <input\n data-testid=\"file-input\"\n ref={ref}\n accept={accept}\n multiple={multiple}\n css={visuallyHiddenStyles}\n onChange={handleChange}\n type=\"file\"\n {...inputProps}\n />\n </label>\n </div>\n </FlexBox>\n </div>\n {description && <p css={dropFileZonDescriptionStyle}>{description}</p>}\n </div>\n );\n },\n);\n"],"file":"DropFileInput.js"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
Demo:
|
|
2
|
+
|
|
3
|
+
```js
|
|
4
|
+
import {Columns, Column, DropFileInput} from '@wireapp/react-ui-kit';
|
|
5
|
+
|
|
6
|
+
<>
|
|
7
|
+
<div>
|
|
8
|
+
<DropFileInput
|
|
9
|
+
onInvalidFilesDropError={console.log}
|
|
10
|
+
onFilesUploaded={() => console.error('error while uploading files')}
|
|
11
|
+
headingText="Drag & Drop an image \nor"
|
|
12
|
+
labelText="select one from your device"
|
|
13
|
+
accept="image/png, image/jpeg"
|
|
14
|
+
description="Image (JPG/PNG) size up to 1 MB, minimum 200 x 600 px"
|
|
15
|
+
/>
|
|
16
|
+
</div>
|
|
17
|
+
</>;
|
|
18
|
+
```
|
package/src/Form/index.d.js
CHANGED
|
@@ -56,6 +56,19 @@ Object.keys(_CodeInput).forEach(function (key) {
|
|
|
56
56
|
});
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
+
var _DropFileInput = require("./DropFileInput");
|
|
60
|
+
|
|
61
|
+
Object.keys(_DropFileInput).forEach(function (key) {
|
|
62
|
+
if (key === "default" || key === "__esModule") return;
|
|
63
|
+
if (key in exports && exports[key] === _DropFileInput[key]) return;
|
|
64
|
+
Object.defineProperty(exports, key, {
|
|
65
|
+
enumerable: true,
|
|
66
|
+
get: function get() {
|
|
67
|
+
return _DropFileInput[key];
|
|
68
|
+
}
|
|
69
|
+
});
|
|
70
|
+
});
|
|
71
|
+
|
|
59
72
|
var _ErrorMessage = require("./ErrorMessage");
|
|
60
73
|
|
|
61
74
|
Object.keys(_ErrorMessage).forEach(function (key) {
|
package/src/Form/index.d.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["index.d.ts"],"names":[],"mappings":";;;;;;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA","sourcesContent":["export * from './Button';\nexport * from './ButtonLink';\nexport * from './Checkbox';\nexport * from './CodeInput';\nexport * from './ErrorMessage';\nexport * from './Form';\nexport * from './Input';\nexport * from './InputBlock';\nexport * from './InputSubmitCombo';\nexport * from './RoundIconButton';\nexport * from './Select';\nexport * from './ShakeBox';\nexport * from './Switch';\nexport * from './TextArea';\nexport * from './Tooltip';\nexport * from './InputLabel';\n"],"file":"index.d.js"}
|
|
1
|
+
{"version":3,"sources":["index.d.ts"],"names":[],"mappings":";;;;;;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA","sourcesContent":["export * from './Button';\nexport * from './ButtonLink';\nexport * from './Checkbox';\nexport * from './CodeInput';\nexport * from './DropFileInput';\nexport * from './ErrorMessage';\nexport * from './Form';\nexport * from './Input';\nexport * from './InputBlock';\nexport * from './InputSubmitCombo';\nexport * from './RoundIconButton';\nexport * from './Select';\nexport * from './ShakeBox';\nexport * from './Switch';\nexport * from './TextArea';\nexport * from './Tooltip';\nexport * from './InputLabel';\n"],"file":"index.d.js"}
|
package/src/Form/index.d.ts
CHANGED
package/src/Form/index.js
CHANGED
|
@@ -56,6 +56,19 @@ Object.keys(_CodeInput).forEach(function (key) {
|
|
|
56
56
|
});
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
+
var _DropFileInput = require("./DropFileInput");
|
|
60
|
+
|
|
61
|
+
Object.keys(_DropFileInput).forEach(function (key) {
|
|
62
|
+
if (key === "default" || key === "__esModule") return;
|
|
63
|
+
if (key in exports && exports[key] === _DropFileInput[key]) return;
|
|
64
|
+
Object.defineProperty(exports, key, {
|
|
65
|
+
enumerable: true,
|
|
66
|
+
get: function get() {
|
|
67
|
+
return _DropFileInput[key];
|
|
68
|
+
}
|
|
69
|
+
});
|
|
70
|
+
});
|
|
71
|
+
|
|
59
72
|
var _ErrorMessage = require("./ErrorMessage");
|
|
60
73
|
|
|
61
74
|
Object.keys(_ErrorMessage).forEach(function (key) {
|
package/src/Form/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["index.ts"],"names":[],"mappings":";;;;;;AAmBA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA","sourcesContent":["/*\n * Wire\n * Copyright (C) 2018 Wire Swiss GmbH\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see http://www.gnu.org/licenses/.\n *\n */\n\nexport * from './Button';\nexport * from './ButtonLink';\nexport * from './Checkbox';\nexport * from './CodeInput';\nexport * from './ErrorMessage';\nexport * from './Form';\nexport * from './Input';\nexport * from './InputBlock';\nexport * from './InputSubmitCombo';\nexport * from './RoundIconButton';\nexport * from './Select';\nexport * from './ShakeBox';\nexport * from './Switch';\nexport * from './TextArea';\nexport * from './Tooltip';\nexport * from './InputLabel';\n"],"file":"index.js"}
|
|
1
|
+
{"version":3,"sources":["index.ts"],"names":[],"mappings":";;;;;;AAmBA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA","sourcesContent":["/*\n * Wire\n * Copyright (C) 2018 Wire Swiss GmbH\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see http://www.gnu.org/licenses/.\n *\n */\n\nexport * from './Button';\nexport * from './ButtonLink';\nexport * from './Checkbox';\nexport * from './CodeInput';\nexport * from './DropFileInput';\nexport * from './ErrorMessage';\nexport * from './Form';\nexport * from './Input';\nexport * from './InputBlock';\nexport * from './InputSubmitCombo';\nexport * from './RoundIconButton';\nexport * from './Select';\nexport * from './ShakeBox';\nexport * from './Switch';\nexport * from './TextArea';\nexport * from './Tooltip';\nexport * from './InputLabel';\n"],"file":"index.js"}
|
package/src/Icon/SVGIcon.md
CHANGED
|
@@ -78,6 +78,7 @@ import {
|
|
|
78
78
|
HideIcon,
|
|
79
79
|
TriangleIcon,
|
|
80
80
|
TwitterIcon,
|
|
81
|
+
UploadIcon,
|
|
81
82
|
WireIcon,
|
|
82
83
|
} from '@wireapp/react-ui-kit';
|
|
83
84
|
|
|
@@ -141,6 +142,7 @@ const icons = [
|
|
|
141
142
|
TeamIcon,
|
|
142
143
|
TimedIcon,
|
|
143
144
|
TrashIcon,
|
|
145
|
+
UploadIcon,
|
|
144
146
|
TrashCrossIcon,
|
|
145
147
|
TriangleIcon,
|
|
146
148
|
HideIcon,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[],"file":"UploadIcon.d.js"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.UploadIcon = void 0;
|
|
9
|
+
|
|
10
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
11
|
+
|
|
12
|
+
var _react = require("@emotion/react");
|
|
13
|
+
|
|
14
|
+
var _SVGIcon = require("./SVGIcon");
|
|
15
|
+
|
|
16
|
+
/*
|
|
17
|
+
* Wire
|
|
18
|
+
* Copyright (C) 2022 Wire Swiss GmbH
|
|
19
|
+
*
|
|
20
|
+
* This program is free software: you can redistribute it and/or modify
|
|
21
|
+
* it under the terms of the GNU General Public License as published by
|
|
22
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
23
|
+
* (at your option) any later version.
|
|
24
|
+
*
|
|
25
|
+
* This program is distributed in the hope that it will be useful,
|
|
26
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
27
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
28
|
+
* GNU General Public License for more details.
|
|
29
|
+
*
|
|
30
|
+
* You should have received a copy of the GNU General Public License
|
|
31
|
+
* along with this program. If not, see http://www.gnu.org/licenses/.
|
|
32
|
+
*
|
|
33
|
+
*/
|
|
34
|
+
|
|
35
|
+
/** @jsx jsx */
|
|
36
|
+
var UploadIcon = function UploadIcon(props) {
|
|
37
|
+
return (0, _react.jsx)(_SVGIcon.SVGIcon, (0, _extends2["default"])({
|
|
38
|
+
realWidth: 16,
|
|
39
|
+
realHeight: 16
|
|
40
|
+
}, props), (0, _react.jsx)("path", {
|
|
41
|
+
d: "M0 14H16V16H0V14ZM7 11H9V4H13L8 0L3 4H7V11Z"
|
|
42
|
+
}));
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
exports.UploadIcon = UploadIcon;
|
|
46
|
+
//# sourceMappingURL=UploadIcon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["UploadIcon.tsx"],"names":["UploadIcon","props"],"mappings":";;;;;;;;;;;AAoBA;;AACA;;AArBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AAIO,IAAMA,UAAU,GAAG,SAAbA,UAAa,CAACC,KAAD;AAAA,SACxB,gBAAC,gBAAD;AAAS,IAAA,SAAS,EAAE,EAApB;AAAwB,IAAA,UAAU,EAAE;AAApC,KAA4CA,KAA5C,GACE;AAAM,IAAA,CAAC,EAAC;AAAR,IADF,CADwB;AAAA,CAAnB","sourcesContent":["/*\n * Wire\n * Copyright (C) 2022 Wire Swiss GmbH\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see http://www.gnu.org/licenses/.\n *\n */\n\n/** @jsx jsx */\nimport {jsx} from '@emotion/react';\nimport {SVGIcon, SVGIconProps} from './SVGIcon';\n\nexport const UploadIcon = (props: SVGIconProps) => (\n <SVGIcon realWidth={16} realHeight={16} {...props}>\n <path d=\"M0 14H16V16H0V14ZM7 11H9V4H13L8 0L3 4H7V11Z\" />\n </SVGIcon>\n);\n"],"file":"UploadIcon.js"}
|
package/src/Icon/index.d.js
CHANGED
|
@@ -810,6 +810,19 @@ Object.keys(_TriangleIcon).forEach(function (key) {
|
|
|
810
810
|
});
|
|
811
811
|
});
|
|
812
812
|
|
|
813
|
+
var _UploadIcon = require("./UploadIcon");
|
|
814
|
+
|
|
815
|
+
Object.keys(_UploadIcon).forEach(function (key) {
|
|
816
|
+
if (key === "default" || key === "__esModule") return;
|
|
817
|
+
if (key in exports && exports[key] === _UploadIcon[key]) return;
|
|
818
|
+
Object.defineProperty(exports, key, {
|
|
819
|
+
enumerable: true,
|
|
820
|
+
get: function get() {
|
|
821
|
+
return _UploadIcon[key];
|
|
822
|
+
}
|
|
823
|
+
});
|
|
824
|
+
});
|
|
825
|
+
|
|
813
826
|
var _WireIcon = require("./WireIcon");
|
|
814
827
|
|
|
815
828
|
Object.keys(_WireIcon).forEach(function (key) {
|
package/src/Icon/index.d.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["index.d.ts"],"names":[],"mappings":";;;;;;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA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AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA","sourcesContent":["export * from './AddPeopleIcon';\nexport * from './ArchiveIcon';\nexport * from './ArrowIcon';\nexport * from './AttachmentIcon';\nexport * from './AudioVideoIcon';\nexport * from './BlockIcon';\nexport * from './CopyIcon';\nexport * from './CallIcon';\nexport * from './CameraIcon';\nexport * from './CamIcon';\nexport * from './CheckIcon';\nexport * from './CheckRoundIcon';\nexport * from './ChevronIcon';\nexport * from './CloseIcon';\nexport * from './DeviceIcon';\nexport * from './DownloadIcon';\nexport * from './EditDocumentIcon';\nexport * from './EditIcon';\nexport * from './EnterIcon';\nexport * from './ErrorIcon';\nexport * from './FileIcon';\nexport * from './GifIcon';\nexport * from './GroupIcon';\nexport * from './HangupIcon';\nexport * from './HideIcon';\nexport * from './ImageIcon';\nexport * from './SupportIcon';\nexport * from './InfoIcon';\nexport * from './InviteIcon';\nexport * from './LeaveIcon';\nexport * from './LinkIcon';\nexport * from './ListIcon';\nexport * from './LockIcon';\nexport * from './MessageIcon';\nexport * from './MinusIcon';\nexport * from './MoreIcon';\nexport * from './MuteIcon';\nexport * from './NotificationIcon';\nexport * from './NotificationOffIcon';\nexport * from './OptionsIcon';\nexport * from './GridIcon';\nexport * from './PeopleIcon';\nexport * from './PingIcon';\nexport * from './PlaneIcon';\nexport * from './PlusIcon';\nexport * from './ProfileIcon';\nexport * from './RecordIcon';\nexport * from './RecordBoldIcon';\nexport * from './RecordPendingIcon';\nexport * from './ReloadIcon';\nexport * from './ScreenshareIcon';\nexport * from './SearchIcon';\nexport * from './ServicesIcon';\nexport * from './SettingsIcon';\nexport * from './ShowIcon';\nexport * from './SignIcon';\nexport * from './SpeakerIcon';\nexport * from './TeamIcon';\nexport * from './TimedIcon';\nexport * from './TrashIcon';\nexport * from './TrashCrossIcon';\nexport * from './TriangleIcon';\nexport * from './WireIcon';\nexport * from './Brand/AndroidIcon';\nexport * from './Brand/AppleIcon';\nexport * from './Brand/ChromeIcon';\nexport * from './Brand/FacebookIcon';\nexport * from './Brand/GitHubIcon';\nexport * from './Brand/LinkedInIcon';\nexport * from './Brand/LinuxIcon';\nexport * from './Brand/MicrosoftIcon';\nexport * from './Brand/TwitterIcon';\n"],"file":"index.d.js"}
|
|
1
|
+
{"version":3,"sources":["index.d.ts"],"names":[],"mappings":";;;;;;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;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AA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA","sourcesContent":["export * from './AddPeopleIcon';\nexport * from './ArchiveIcon';\nexport * from './ArrowIcon';\nexport * from './AttachmentIcon';\nexport * from './AudioVideoIcon';\nexport * from './BlockIcon';\nexport * from './CopyIcon';\nexport * from './CallIcon';\nexport * from './CameraIcon';\nexport * from './CamIcon';\nexport * from './CheckIcon';\nexport * from './CheckRoundIcon';\nexport * from './ChevronIcon';\nexport * from './CloseIcon';\nexport * from './DeviceIcon';\nexport * from './DownloadIcon';\nexport * from './EditDocumentIcon';\nexport * from './EditIcon';\nexport * from './EnterIcon';\nexport * from './ErrorIcon';\nexport * from './FileIcon';\nexport * from './GifIcon';\nexport * from './GroupIcon';\nexport * from './HangupIcon';\nexport * from './HideIcon';\nexport * from './ImageIcon';\nexport * from './SupportIcon';\nexport * from './InfoIcon';\nexport * from './InviteIcon';\nexport * from './LeaveIcon';\nexport * from './LinkIcon';\nexport * from './ListIcon';\nexport * from './LockIcon';\nexport * from './MessageIcon';\nexport * from './MinusIcon';\nexport * from './MoreIcon';\nexport * from './MuteIcon';\nexport * from './NotificationIcon';\nexport * from './NotificationOffIcon';\nexport * from './OptionsIcon';\nexport * from './GridIcon';\nexport * from './PeopleIcon';\nexport * from './PingIcon';\nexport * from './PlaneIcon';\nexport * from './PlusIcon';\nexport * from './ProfileIcon';\nexport * from './RecordIcon';\nexport * from './RecordBoldIcon';\nexport * from './RecordPendingIcon';\nexport * from './ReloadIcon';\nexport * from './ScreenshareIcon';\nexport * from './SearchIcon';\nexport * from './ServicesIcon';\nexport * from './SettingsIcon';\nexport * from './ShowIcon';\nexport * from './SignIcon';\nexport * from './SpeakerIcon';\nexport * from './TeamIcon';\nexport * from './TimedIcon';\nexport * from './TrashIcon';\nexport * from './TrashCrossIcon';\nexport * from './TriangleIcon';\nexport * from './UploadIcon';\nexport * from './WireIcon';\nexport * from './Brand/AndroidIcon';\nexport * from './Brand/AppleIcon';\nexport * from './Brand/ChromeIcon';\nexport * from './Brand/FacebookIcon';\nexport * from './Brand/GitHubIcon';\nexport * from './Brand/LinkedInIcon';\nexport * from './Brand/LinuxIcon';\nexport * from './Brand/MicrosoftIcon';\nexport * from './Brand/TwitterIcon';\n"],"file":"index.d.js"}
|
package/src/Icon/index.d.ts
CHANGED
|
@@ -60,6 +60,7 @@ export * from './TimedIcon';
|
|
|
60
60
|
export * from './TrashIcon';
|
|
61
61
|
export * from './TrashCrossIcon';
|
|
62
62
|
export * from './TriangleIcon';
|
|
63
|
+
export * from './UploadIcon';
|
|
63
64
|
export * from './WireIcon';
|
|
64
65
|
export * from './Brand/AndroidIcon';
|
|
65
66
|
export * from './Brand/AppleIcon';
|
package/src/Icon/index.js
CHANGED
|
@@ -810,6 +810,19 @@ Object.keys(_TriangleIcon).forEach(function (key) {
|
|
|
810
810
|
});
|
|
811
811
|
});
|
|
812
812
|
|
|
813
|
+
var _UploadIcon = require("./UploadIcon");
|
|
814
|
+
|
|
815
|
+
Object.keys(_UploadIcon).forEach(function (key) {
|
|
816
|
+
if (key === "default" || key === "__esModule") return;
|
|
817
|
+
if (key in exports && exports[key] === _UploadIcon[key]) return;
|
|
818
|
+
Object.defineProperty(exports, key, {
|
|
819
|
+
enumerable: true,
|
|
820
|
+
get: function get() {
|
|
821
|
+
return _UploadIcon[key];
|
|
822
|
+
}
|
|
823
|
+
});
|
|
824
|
+
});
|
|
825
|
+
|
|
813
826
|
var _WireIcon = require("./WireIcon");
|
|
814
827
|
|
|
815
828
|
Object.keys(_WireIcon).forEach(function (key) {
|
package/src/Icon/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["index.ts"],"names":[],"mappings":";;;;;;AAmBA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;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AAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA","sourcesContent":["/*\n * Wire\n * Copyright (C) 2018 Wire Swiss GmbH\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see http://www.gnu.org/licenses/.\n *\n */\n\nexport * from './AddPeopleIcon';\nexport * from './ArchiveIcon';\nexport * from './ArrowIcon';\nexport * from './AttachmentIcon';\nexport * from './AudioVideoIcon';\nexport * from './BlockIcon';\nexport * from './CopyIcon';\nexport * from './CallIcon';\nexport * from './CameraIcon';\nexport * from './CamIcon';\nexport * from './CheckIcon';\nexport * from './CheckRoundIcon';\nexport * from './ChevronIcon';\nexport * from './CloseIcon';\nexport * from './DeviceIcon';\nexport * from './DownloadIcon';\nexport * from './EditDocumentIcon';\nexport * from './EditIcon';\nexport * from './EnterIcon';\nexport * from './ErrorIcon';\nexport * from './FileIcon';\nexport * from './GifIcon';\nexport * from './GroupIcon';\nexport * from './HangupIcon';\nexport * from './HideIcon';\nexport * from './ImageIcon';\nexport * from './SupportIcon';\nexport * from './InfoIcon';\nexport * from './InviteIcon';\nexport * from './LeaveIcon';\nexport * from './LinkIcon';\nexport * from './ListIcon';\nexport * from './LockIcon';\nexport * from './MessageIcon';\nexport * from './MinusIcon';\nexport * from './MoreIcon';\nexport * from './MuteIcon';\nexport * from './NotificationIcon';\nexport * from './NotificationOffIcon';\nexport * from './OptionsIcon';\nexport * from './GridIcon';\nexport * from './PeopleIcon';\nexport * from './PingIcon';\nexport * from './PlaneIcon';\nexport * from './PlusIcon';\nexport * from './ProfileIcon';\nexport * from './RecordIcon';\nexport * from './RecordBoldIcon';\nexport * from './RecordPendingIcon';\nexport * from './ReloadIcon';\nexport * from './ScreenshareIcon';\nexport * from './SearchIcon';\nexport * from './ServicesIcon';\nexport * from './SettingsIcon';\nexport * from './ShowIcon';\nexport * from './SignIcon';\nexport * from './SpeakerIcon';\nexport * from './TeamIcon';\nexport * from './TimedIcon';\nexport * from './TrashIcon';\nexport * from './TrashCrossIcon';\nexport * from './TriangleIcon';\nexport * from './WireIcon';\n\n// Brand Icons\nexport * from './Brand/AndroidIcon';\nexport * from './Brand/AppleIcon';\nexport * from './Brand/ChromeIcon';\nexport * from './Brand/FacebookIcon';\nexport * from './Brand/GitHubIcon';\nexport * from './Brand/LinkedInIcon';\nexport * from './Brand/LinuxIcon';\nexport * from './Brand/MicrosoftIcon';\nexport * from './Brand/TwitterIcon';\n"],"file":"index.js"}
|
|
1
|
+
{"version":3,"sources":["index.ts"],"names":[],"mappings":";;;;;;AAmBA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;A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A;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AAGA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA","sourcesContent":["/*\n * Wire\n * Copyright (C) 2018 Wire Swiss GmbH\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see http://www.gnu.org/licenses/.\n *\n */\n\nexport * from './AddPeopleIcon';\nexport * from './ArchiveIcon';\nexport * from './ArrowIcon';\nexport * from './AttachmentIcon';\nexport * from './AudioVideoIcon';\nexport * from './BlockIcon';\nexport * from './CopyIcon';\nexport * from './CallIcon';\nexport * from './CameraIcon';\nexport * from './CamIcon';\nexport * from './CheckIcon';\nexport * from './CheckRoundIcon';\nexport * from './ChevronIcon';\nexport * from './CloseIcon';\nexport * from './DeviceIcon';\nexport * from './DownloadIcon';\nexport * from './EditDocumentIcon';\nexport * from './EditIcon';\nexport * from './EnterIcon';\nexport * from './ErrorIcon';\nexport * from './FileIcon';\nexport * from './GifIcon';\nexport * from './GroupIcon';\nexport * from './HangupIcon';\nexport * from './HideIcon';\nexport * from './ImageIcon';\nexport * from './SupportIcon';\nexport * from './InfoIcon';\nexport * from './InviteIcon';\nexport * from './LeaveIcon';\nexport * from './LinkIcon';\nexport * from './ListIcon';\nexport * from './LockIcon';\nexport * from './MessageIcon';\nexport * from './MinusIcon';\nexport * from './MoreIcon';\nexport * from './MuteIcon';\nexport * from './NotificationIcon';\nexport * from './NotificationOffIcon';\nexport * from './OptionsIcon';\nexport * from './GridIcon';\nexport * from './PeopleIcon';\nexport * from './PingIcon';\nexport * from './PlaneIcon';\nexport * from './PlusIcon';\nexport * from './ProfileIcon';\nexport * from './RecordIcon';\nexport * from './RecordBoldIcon';\nexport * from './RecordPendingIcon';\nexport * from './ReloadIcon';\nexport * from './ScreenshareIcon';\nexport * from './SearchIcon';\nexport * from './ServicesIcon';\nexport * from './SettingsIcon';\nexport * from './ShowIcon';\nexport * from './SignIcon';\nexport * from './SpeakerIcon';\nexport * from './TeamIcon';\nexport * from './TimedIcon';\nexport * from './TrashIcon';\nexport * from './TrashCrossIcon';\nexport * from './TriangleIcon';\nexport * from './UploadIcon';\nexport * from './WireIcon';\n\n// Brand Icons\nexport * from './Brand/AndroidIcon';\nexport * from './Brand/AppleIcon';\nexport * from './Brand/ChromeIcon';\nexport * from './Brand/FacebookIcon';\nexport * from './Brand/GitHubIcon';\nexport * from './Brand/LinkedInIcon';\nexport * from './Brand/LinuxIcon';\nexport * from './Brand/MicrosoftIcon';\nexport * from './Brand/TwitterIcon';\n"],"file":"index.js"}
|