@wireapp/react-ui-kit 7.52.10 → 7.55.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 +41 -0
- package/package.json +4 -4
- package/src/Form/Checkbox.js +3 -3
- package/src/Form/Checkbox.js.map +1 -1
- package/src/Form/ShakeBox.d.ts +1 -1
- package/src/Icon/ArrowIcon.js +0 -4
- package/src/Icon/ArrowIcon.js.map +1 -1
- package/src/Icon/CheckRoundIcon.d.js +2 -0
- package/src/Icon/CheckRoundIcon.d.js.map +1 -0
- package/src/Icon/CheckRoundIcon.d.ts +3 -0
- package/src/Icon/CheckRoundIcon.js +46 -0
- package/src/Icon/CheckRoundIcon.js.map +1 -0
- package/src/Icon/LinkIcon.d.js +2 -0
- package/src/Icon/LinkIcon.d.js.map +1 -0
- package/src/Icon/LinkIcon.d.ts +3 -0
- package/src/Icon/LinkIcon.js +47 -0
- package/src/Icon/LinkIcon.js.map +1 -0
- package/src/Icon/ListIcon.d.js +2 -0
- package/src/Icon/ListIcon.d.js.map +1 -0
- package/src/Icon/ListIcon.d.ts +3 -0
- package/src/Icon/ListIcon.js +46 -0
- package/src/Icon/ListIcon.js.map +1 -0
- package/src/Icon/SVGIcon.md +8 -0
- package/src/Icon/SupportIcon.d.js +2 -0
- package/src/Icon/SupportIcon.d.js.map +1 -0
- package/src/Icon/SupportIcon.d.ts +3 -0
- package/src/Icon/SupportIcon.js +46 -0
- package/src/Icon/SupportIcon.js.map +1 -0
- package/src/Icon/TriangleIcon.js +0 -3
- package/src/Icon/TriangleIcon.js.map +1 -1
- package/src/Icon/index.d.js +52 -0
- package/src/Icon/index.d.js.map +1 -1
- package/src/Icon/index.d.ts +4 -0
- package/src/Icon/index.js +52 -0
- package/src/Icon/index.js.map +1 -1
- package/src/Identity/Avatar.js +2 -4
- package/src/Identity/Avatar.js.map +1 -1
- package/src/Layout/Container.d.ts +5 -5
- package/src/Layout/sizes.js +0 -2
- package/src/Layout/sizes.js.map +1 -1
- package/src/Modal/Modal.js +2 -3
- package/src/Modal/Modal.js.map +1 -1
- package/src/Text/Text.d.ts +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,47 @@
|
|
|
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
|
+
# [7.55.0](https://github.com/wireapp/wire-web-packages/tree/main/packages/react-ui-kit/compare/@wireapp/react-ui-kit@7.54.0...@wireapp/react-ui-kit@7.55.0) (2021-12-02)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **react-ui-kit:** Add link icon ([#4189](https://github.com/wireapp/wire-web-packages/tree/main/packages/react-ui-kit/issues/4189)) ([9104140](https://github.com/wireapp/wire-web-packages/tree/main/packages/react-ui-kit/commit/9104140d7671dbcd36a3fbdbafbbb860e5a2b374))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [7.54.0](https://github.com/wireapp/wire-web-packages/tree/main/packages/react-ui-kit/compare/@wireapp/react-ui-kit@7.53.0...@wireapp/react-ui-kit@7.54.0) (2021-09-22)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* **react-ui-kit:** Adjust checkbox styling ([#4136](https://github.com/wireapp/wire-web-packages/tree/main/packages/react-ui-kit/issues/4136)) ([71694d1](https://github.com/wireapp/wire-web-packages/tree/main/packages/react-ui-kit/commit/71694d1762a52777407b85370ae575d5456edf31))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
# [7.53.0](https://github.com/wireapp/wire-web-packages/tree/main/packages/react-ui-kit/compare/@wireapp/react-ui-kit@7.52.11...@wireapp/react-ui-kit@7.53.0) (2021-09-09)
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
### Features
|
|
32
|
+
|
|
33
|
+
* **react-ui-kit:** Add CheckRound, List & Support icons ([#4125](https://github.com/wireapp/wire-web-packages/tree/main/packages/react-ui-kit/issues/4125)) ([a9fe082](https://github.com/wireapp/wire-web-packages/tree/main/packages/react-ui-kit/commit/a9fe082d48be9e7361615cf3d15f31af92a3dc41))
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
## [7.52.11](https://github.com/wireapp/wire-web-packages/tree/main/packages/react-ui-kit/compare/@wireapp/react-ui-kit@7.52.10...@wireapp/react-ui-kit@7.52.11) (2021-08-30)
|
|
40
|
+
|
|
41
|
+
**Note:** Version bump only for package @wireapp/react-ui-kit
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
6
47
|
## [7.52.10](https://github.com/wireapp/wire-web-packages/tree/main/packages/react-ui-kit/compare/@wireapp/react-ui-kit@7.52.9...@wireapp/react-ui-kit@7.52.10) (2021-08-12)
|
|
7
48
|
|
|
8
49
|
**Note:** Version bump only for package @wireapp/react-ui-kit
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"dependencies": {
|
|
3
3
|
"@emotion/core": "10.1.1",
|
|
4
4
|
"@types/color": "3.0.2",
|
|
5
|
-
"bazinga64": "5.
|
|
5
|
+
"bazinga64": "5.10.0",
|
|
6
6
|
"color": "3.1.3",
|
|
7
7
|
"emotion-normalize": "10.1.0",
|
|
8
8
|
"emotion-theming": "10.0.27",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"react-styleguidist": "11.1.7",
|
|
33
33
|
"react-test-renderer": "17.0.1",
|
|
34
34
|
"rimraf": "3.0.2",
|
|
35
|
-
"typescript": "4.
|
|
35
|
+
"typescript": "4.4.2"
|
|
36
36
|
},
|
|
37
37
|
"homepage": "https://wire-react-ui-kit.netlify.app/",
|
|
38
38
|
"peerDependencies": {
|
|
@@ -68,6 +68,6 @@
|
|
|
68
68
|
"test:update": "yarn test --updateSnapshot",
|
|
69
69
|
"test:project": "yarn dist && yarn test"
|
|
70
70
|
},
|
|
71
|
-
"version": "7.
|
|
72
|
-
"gitHead": "
|
|
71
|
+
"version": "7.55.0",
|
|
72
|
+
"gitHead": "63d45c5a4ced820c52c3bce6f904370060bc588f"
|
|
73
73
|
}
|
package/src/Form/Checkbox.js
CHANGED
|
@@ -39,7 +39,7 @@ var filterStyledLabelProps = function filterStyledLabelProps(props) {
|
|
|
39
39
|
};
|
|
40
40
|
|
|
41
41
|
var StyledLabel = function StyledLabel(props) {
|
|
42
|
-
var checkSvg = '<svg xmlns="http://www.w3.org/2000/svg" width="
|
|
42
|
+
var checkSvg = '<svg xmlns="http://www.w3.org/2000/svg" width="12" height="10" viewBox="0 0 8 6"><path fill="white" d="M2.8 6L8 .7 7.3 0 2.8 4.6.7 2.4l-.7.7z"/></svg>';
|
|
43
43
|
return (0, _core.jsx)("label", (0, _extends2["default"])({
|
|
44
44
|
css: function css(theme) {
|
|
45
45
|
var _ref;
|
|
@@ -51,7 +51,7 @@ var StyledLabel = function StyledLabel(props) {
|
|
|
51
51
|
}), (0, _defineProperty2["default"])(_ref, '&::before', {
|
|
52
52
|
background: _Identity.COLOR.WHITE,
|
|
53
53
|
border: props.markInvalid ? "1px solid ".concat(_Identity.COLOR.RED) : "1px solid ".concat(_Identity.COLOR.GRAY),
|
|
54
|
-
borderRadius: '
|
|
54
|
+
borderRadius: '1px',
|
|
55
55
|
boxSizing: 'border-box',
|
|
56
56
|
content: '""',
|
|
57
57
|
display: 'inline-block',
|
|
@@ -74,7 +74,7 @@ var _ref3 = process.env.NODE_ENV === "production" ? {
|
|
|
74
74
|
} : {
|
|
75
75
|
name: "ofijmy-Checkbox",
|
|
76
76
|
styles: "align-items:center;display:flex;justify-content:flex-start;;label:Checkbox;",
|
|
77
|
-
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
77
|
+
map: "/*# sourceMappingURL=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tLjcuN3pcIi8+PC9zdmc+JztcbiAgcmV0dXJuIChcbiAgICA8bGFiZWxcbiAgICAgIGNzcz17dGhlbWUgPT4gKHtcbiAgICAgICAgW2AuJHtJTlBVVF9DTEFTU05BTUV9OmNoZWNrZWQgKyAmOjpiZWZvcmVgXToge1xuICAgICAgICAgIGJhY2tncm91bmQ6IGAke0NPTE9SLkJMVUV9IHVybCgnZGF0YTppbWFnZS9zdmcreG1sOyB1dGY4LCAke2NoZWNrU3ZnfScpIG5vLXJlcGVhdCBjZW50ZXJgLFxuICAgICAgICB9LFxuICAgICAgICBbYC4ke0lOUFVUX0NMQVNTTkFNRX06Zm9jdXMgKyAmOjpiZWZvcmVgXToge1xuICAgICAgICAgIGJvcmRlckNvbG9yOiBDT0xPUi5CTFVFLFxuICAgICAgICB9LFxuICAgICAgICAnJjo6YmVmb3JlJzoge1xuICAgICAgICAgIGJhY2tncm91bmQ6IENPTE9SLldISVRFLFxuICAgICAgICAgIGJvcmRlcjogcHJvcHMubWFya0ludmFsaWQgPyBgMXB4IHNvbGlkICR7Q09MT1IuUkVEfWAgOiBgMXB4IHNvbGlkICR7Q09MT1IuR1JBWX1gLFxuICAgICAgICAgIGJvcmRlclJhZGl1czogJzFweCcsXG4gICAgICAgICAgYm94U2l6aW5nOiAnYm9yZGVyLWJveCcsXG4gICAgICAgICAgY29udGVudDogJ1wiXCInLFxuICAgICAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgICAgIGhlaWdodDogJzE2cHgnLFxuICAgICAgICAgIG1hcmdpbjogJzRweCA4cHggMCAtMTZweCcsXG4gICAgICAgICAgb3BhY2l0eTogcHJvcHMuZGlzYWJsZWQgPyAwLjU2IDogMSxcbiAgICAgICAgICB3aWR0aDogJzE2cHgnLFxuICAgICAgICB9LFxuICAgICAgICBhOiB7XG4gICAgICAgICAgLi4udGV4dExpbmtTdHlsZSh0aGVtZSwge30pLFxuICAgICAgICB9LFxuICAgICAgICBkaXNwbGF5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AgICB3aWR0aDogJzE2cHgnLFxuICAgICAgfX1cbiAgICAgIGRpc2FibGVkPXtkaXNhYmxlZH1cbiAgICAgIHJlZj17cmVmfVxuICAgICAgey4uLmZpbHRlckNoZWNrYm94UHJvcHMocHJvcHMpfVxuICAgIC8+XG4gICAgPFN0eWxlZExhYmVsIGh0bWxGb3I9e2lkfSBkaXNhYmxlZD17ZGlzYWJsZWR9IG1hcmtJbnZhbGlkPXtwcm9wcy5tYXJrSW52YWxpZH0+XG4gICAgICB7Y2hpbGRyZW59XG4gICAgPC9TdHlsZWRMYWJlbD5cbiAgPC9kaXY+XG4pKTtcblxuZXhwb3J0IHR5cGUgQ2hlY2tib3hMYWJlbFByb3BzPFQgPSBIVE1MU3BhbkVsZW1lbnQ+ID0gVGV4dFByb3BzPFQ+O1xuXG5leHBvcnQgY29uc3QgQ2hlY2tib3hMYWJlbCA9ICh7Y29sb3IgPSBDT0xPUi5URVhULCAuLi5wcm9wc306IENoZWNrYm94TGFiZWxQcm9wcykgPT4gKFxuICA8VGV4dFxuICAgIGNzcz17dGhlbWUgPT4gKHtcbiAgICAgIC4uLnRleHRTdHlsZSh0aGVtZSwge1xuICAgICAgICBjb2xvcixcbiAgICAgICAgLi4ucHJvcHMsXG4gICAgICB9KSxcbiAgICAgIGE6IHtcbiAgICAgICAgY29sb3I6IENPTE9SLkxJTkssXG4gICAgICAgIHRleHREZWNvcmF0aW9uOiAnbm9uZScsXG4gICAgICB9LFxuICAgIH0pfVxuICAgIHsuLi5wcm9wc31cbiAgLz5cbik7XG4iXX0= */",
|
|
78
78
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
79
79
|
};
|
|
80
80
|
|
package/src/Form/Checkbox.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["Checkbox.tsx"],"names":["filterStyledLabelProps","props","StyledLabel","checkSvg","theme","INPUT_CLASSNAME","background","COLOR","BLUE","borderColor","WHITE","border","markInvalid","RED","GRAY","borderRadius","boxSizing","content","display","height","margin","opacity","disabled","width","filterCheckboxProps","Checkbox","React","forwardRef","ref","id","Math","random","toString","children","style","marginBottom","CheckboxLabel","color","TEXT","a","LINK","textDecoration"],"mappings":";;;;;;;;;;;;;;;AAoBA;;AACA;;AAEA;;AACA;;AACA;;AACA;;;;;;;;;;;AAOA,IAAMA,sBAAsB,GAAG,SAAzBA,sBAAyB,CAACC,KAAD;AAAA,SAA6B,uBAAYA,KAAZ,EAAmB,CAAC,aAAD,CAAnB,CAA7B;AAAA,CAA/B;;AAEA,IAAMC,WAAW,GAAG,SAAdA,WAAc,CAACD,KAAD,EAA6B;AAC/C,MAAME,QAAQ,GACZ,
|
|
1
|
+
{"version":3,"sources":["Checkbox.tsx"],"names":["filterStyledLabelProps","props","StyledLabel","checkSvg","theme","INPUT_CLASSNAME","background","COLOR","BLUE","borderColor","WHITE","border","markInvalid","RED","GRAY","borderRadius","boxSizing","content","display","height","margin","opacity","disabled","width","filterCheckboxProps","Checkbox","React","forwardRef","ref","id","Math","random","toString","children","style","marginBottom","CheckboxLabel","color","TEXT","a","LINK","textDecoration"],"mappings":";;;;;;;;;;;;;;;AAoBA;;AACA;;AAEA;;AACA;;AACA;;AACA;;;;;;;;;;;AAOA,IAAMA,sBAAsB,GAAG,SAAzBA,sBAAyB,CAACC,KAAD;AAAA,SAA6B,uBAAYA,KAAZ,EAAmB,CAAC,aAAD,CAAnB,CAA7B;AAAA,CAA/B;;AAEA,IAAMC,WAAW,GAAG,SAAdA,WAAc,CAACD,KAAD,EAA6B;AAC/C,MAAME,QAAQ,GACZ,wJADF;AAEA,SACE;AACE,IAAA,GAAG,EAAE,aAAAC,KAAK;AAAA;;AAAA,0EACHC,sBADG,2BACqC;AAC3CC,QAAAA,UAAU,YAAKC,gBAAMC,IAAX,6CAAkDL,QAAlD;AADiC,OADrC,qDAIHE,sBAJG,yBAImC;AACzCI,QAAAA,WAAW,EAAEF,gBAAMC;AADsB,OAJnC,0CAOR,WAPQ,EAOK;A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EAAE;AACLV,MAAAA,MAAM,EAAE,MADH;AAELgB,MAAAA,YAAY,EAAE,GAFT;AAGLd,MAAAA,OAAO,EAAE,CAHJ;AAILE,MAAAA,KAAK,EAAE;AAJF,KAHT;AASE,IAAA,QAAQ,EAAED,QATZ;AAUE,IAAA,GAAG,EAAEM;AAVP,KAWMJ,mBAAmB,CAACvB,KAAD,CAXzB,EARF,EAqBE,eAAC,WAAD;AAAa,IAAA,OAAO,EAAE4B,EAAtB;AAA0B,IAAA,QAAQ,EAAEP,QAApC;AAA8C,IAAA,WAAW,EAAErB,KAAK,CAACW;AAAjE,KACGqB,QADH,CArBF,CADA;AAAA,CAHiE,CAA5D;;;;AAiCA,IAAMG,aAAa,GAAG,SAAhBA,aAAgB;AAAA,0BAAEC,KAAF;AAAA,MAAEA,KAAF,4BAAU9B,gBAAM+B,IAAhB;AAAA,MAAyBrC,KAAzB;AAAA,SAC3B,eAAC,UAAD;AACE,IAAA,GAAG,EAAE,aAAAG,KAAK;AAAA,6CACL,qBAAUA,KAAV;AACDiC,QAAAA,KAAK,EAALA;AADC,SAEEpC,KAFF,EADK;AAKRsC,QAAAA,CAAC,EAAE;AACDF,UAAAA,KAAK,EAAE9B,gBAAMiC,IADZ;AAEDC,UAAAA,cAAc,EAAE;AAFf;AALK;AAAA;AADZ,KAWMxC,KAXN,EAD2B;AAAA,CAAtB","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\n/** @jsx jsx */\nimport {jsx} from '@emotion/core';\nimport React from 'react';\n\nimport {COLOR} from '../Identity';\nimport {Text, TextProps, textStyle, textLinkStyle} from '../Text';\nimport {filterProps} from '../util';\nimport {INPUT_CLASSNAME, Input, InputProps} from './Input';\n\nexport interface StyledLabelProps<T = HTMLLabelElement> extends React.HTMLProps<T> {\n disabled?: boolean;\n markInvalid?: boolean;\n}\n\nconst filterStyledLabelProps = (props: StyledLabelProps) => filterProps(props, ['markInvalid']);\n\nconst StyledLabel = (props: StyledLabelProps) => {\n const checkSvg =\n '<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"12\" height=\"10\" viewBox=\"0 0 8 6\"><path fill=\"white\" d=\"M2.8 6L8 .7 7.3 0 2.8 4.6.7 2.4l-.7.7z\"/></svg>';\n return (\n <label\n css={theme => ({\n [`.${INPUT_CLASSNAME}:checked + &::before`]: {\n background: `${COLOR.BLUE} url('data:image/svg+xml; utf8, ${checkSvg}') no-repeat center`,\n },\n [`.${INPUT_CLASSNAME}:focus + &::before`]: {\n borderColor: COLOR.BLUE,\n },\n '&::before': {\n background: COLOR.WHITE,\n border: props.markInvalid ? `1px solid ${COLOR.RED}` : `1px solid ${COLOR.GRAY}`,\n borderRadius: '1px',\n boxSizing: 'border-box',\n content: '\"\"',\n display: 'inline-block',\n height: '16px',\n margin: '4px 8px 0 -16px',\n opacity: props.disabled ? 0.56 : 1,\n width: '16px',\n },\n a: {\n ...textLinkStyle(theme, {}),\n },\n display: 'flex',\n opacity: props.disabled ? 0.56 : 1,\n })}\n {...filterStyledLabelProps(props)}\n />\n );\n};\n\ninterface CheckboxProps<T = HTMLInputElement> extends InputProps<T> {\n id?: string;\n}\n\nconst filterCheckboxProps = (props: CheckboxProps) => filterProps(props, ['markInvalid']);\n\nexport const Checkbox: React.FC<CheckboxProps<HTMLInputElement>> = React.forwardRef<\n HTMLInputElement,\n CheckboxProps<HTMLInputElement>\n>(({id = Math.random().toString(), children, style, disabled, ...props}, ref) => (\n <div\n css={{\n alignItems: 'center',\n display: 'flex',\n justifyContent: 'flex-start',\n }}\n style={style}\n >\n <Input\n type={'checkbox'}\n id={id}\n style={{\n height: '16px',\n marginBottom: '0',\n opacity: 0,\n width: '16px',\n }}\n disabled={disabled}\n ref={ref}\n {...filterCheckboxProps(props)}\n />\n <StyledLabel htmlFor={id} disabled={disabled} markInvalid={props.markInvalid}>\n {children}\n </StyledLabel>\n </div>\n));\n\nexport type CheckboxLabelProps<T = HTMLSpanElement> = TextProps<T>;\n\nexport const CheckboxLabel = ({color = COLOR.TEXT, ...props}: CheckboxLabelProps) => (\n <Text\n css={theme => ({\n ...textStyle(theme, {\n color,\n ...props,\n }),\n a: {\n color: COLOR.LINK,\n textDecoration: 'none',\n },\n })}\n {...props}\n />\n);\n"],"file":"Checkbox.js"}
|
package/src/Form/ShakeBox.d.ts
CHANGED
|
@@ -8,4 +8,4 @@ export interface ShakeBoxProps extends React.HTMLProps<HTMLDivElement> {
|
|
|
8
8
|
export interface ShakeBoxRef {
|
|
9
9
|
shake: () => void;
|
|
10
10
|
}
|
|
11
|
-
export declare const ShakeBox: React.ForwardRefExoticComponent<Pick<ShakeBoxProps, "max" | "required" | "
|
|
11
|
+
export declare const ShakeBox: React.ForwardRefExoticComponent<Pick<ShakeBoxProps, "max" | "required" | "type" | "data" | "threshold" | "default" | "high" | "low" | "key" | "id" | "media" | "height" | "width" | "start" | "open" | "name" | "color" | "content" | "translate" | "value" | "hidden" | "cite" | "dir" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "acceptCharset" | "action" | "method" | "noValidate" | "target" | "accessKey" | "draggable" | "lang" | "className" | "prefix" | "children" | "contentEditable" | "inputMode" | "nonce" | "tabIndex" | "async" | "disabled" | "multiple" | "size" | "manifest" | "wrap" | "src" | "accept" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "marginHeight" | "marginWidth" | "maxLength" | "mediaGroup" | "min" | "minLength" | "muted" | "optimum" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contextMenu" | "placeholder" | "spellCheck" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "amplitude" | "speed" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "srcDoc" | "srcLang" | "srcSet" | "step" | "useMap" | "wmode" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | "damping"> & React.RefAttributes<ShakeBoxRef>>;
|
package/src/Icon/ArrowIcon.js
CHANGED
|
@@ -16,16 +16,12 @@ var _core = require("@emotion/core");
|
|
|
16
16
|
var _SVGIcon = require("./SVGIcon");
|
|
17
17
|
|
|
18
18
|
var _excluded = ["direction"];
|
|
19
|
-
|
|
20
|
-
/* eslint-disable sort-keys-fix/sort-keys-fix */
|
|
21
19
|
var rotation = {
|
|
22
20
|
right: 0,
|
|
23
21
|
down: 90,
|
|
24
22
|
left: 180,
|
|
25
23
|
up: 270
|
|
26
24
|
};
|
|
27
|
-
/* eslint-enable sort-keys-fix/sort-keys-fix */
|
|
28
|
-
|
|
29
25
|
exports.rotation = rotation;
|
|
30
26
|
|
|
31
27
|
var ArrowIcon = function ArrowIcon(_ref) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["ArrowIcon.tsx"],"names":["rotation","right","down","left","up","ArrowIcon","direction","props"],"mappings":";;;;;;;;;;;;;AAoBA;;AAEA
|
|
1
|
+
{"version":3,"sources":["ArrowIcon.tsx"],"names":["rotation","right","down","left","up","ArrowIcon","direction","props"],"mappings":";;;;;;;;;;;;;AAoBA;;AAEA;;;AAaO,IAAMA,QAAkB,GAAG;AAChCC,EAAAA,KAAK,EAAE,CADyB;AAEhCC,EAAAA,IAAI,EAAE,EAF0B;AAGhCC,EAAAA,IAAI,EAAE,GAH0B;AAIhCC,EAAAA,EAAE,EAAE;AAJ4B,CAA3B;;;AAOA,IAAMC,SAAS,GAAG,SAAZA,SAAY;AAAA,4BAAEC,SAAF;AAAA,MAAEA,SAAF,+BAAc,OAAd;AAAA,MAA0BC,KAA1B;AAAA,SACvB,eAAC,gBAAD;AAAS,IAAA,SAAS,EAAE,EAApB;AAAwB,IAAA,UAAU,EAAE;AAApC,KAA4CA,KAA5C,GACE;AAAM,IAAA,SAAS,mBAAYP,QAAQ,CAACM,SAAD,CAApB,UAAf;AAAuD,IAAA,CAAC,EAAC;AAAzD,IADF,CADuB;AAAA,CAAlB","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\n/** @jsx jsx */\nimport {jsx} from '@emotion/core';\n\nimport {SVGIcon, SVGIconProps} from './SVGIcon';\n\nexport interface Rotation {\n down: number;\n left: number;\n right: number;\n up: number;\n}\n\nexport interface ArrowProps extends SVGIconProps {\n direction?: keyof Rotation;\n}\n\nexport const rotation: Rotation = {\n right: 0,\n down: 90,\n left: 180,\n up: 270,\n};\n\nexport const ArrowIcon = ({direction = 'right', ...props}: ArrowProps) => (\n <SVGIcon realWidth={16} realHeight={16} {...props}>\n <path transform={`rotate(${rotation[direction]} 8 8)`} d=\"M5.8 1.5L7.3 0l8 8-8 8-1.5-1.5L11.3 9H.7V7h10.6\" />\n </SVGIcon>\n);\n"],"file":"ArrowIcon.js"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[],"file":"CheckRoundIcon.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.CheckRoundIcon = void 0;
|
|
9
|
+
|
|
10
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
11
|
+
|
|
12
|
+
var _core = require("@emotion/core");
|
|
13
|
+
|
|
14
|
+
var _SVGIcon = require("./SVGIcon");
|
|
15
|
+
|
|
16
|
+
/*
|
|
17
|
+
* Wire
|
|
18
|
+
* Copyright (C) 2021 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 CheckRoundIcon = function CheckRoundIcon(props) {
|
|
37
|
+
return (0, _core.jsx)(_SVGIcon.SVGIcon, (0, _extends2["default"])({
|
|
38
|
+
realWidth: 20,
|
|
39
|
+
realHeight: 16
|
|
40
|
+
}, props), (0, _core.jsx)("path", {
|
|
41
|
+
d: "M10 0c5.523 0 10 4.477 10 10s-4.477 10-10 10S0 15.523 0 10 4.477 0 10 0zm5.382 5.563-7.06 6.974-3.765-3.69-1.768 1.769 5.532 5.456 8.829-8.74-1.768-1.769z"
|
|
42
|
+
}));
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
exports.CheckRoundIcon = CheckRoundIcon;
|
|
46
|
+
//# sourceMappingURL=CheckRoundIcon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["CheckRoundIcon.tsx"],"names":["CheckRoundIcon","props"],"mappings":";;;;;;;;;;;AAoBA;;AAEA;;AAtBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AAKO,IAAMA,cAAc,GAAG,SAAjBA,cAAiB,CAACC,KAAD;AAAA,SAC5B,eAAC,gBAAD;AAAS,IAAA,SAAS,EAAE,EAApB;AAAwB,IAAA,UAAU,EAAE;AAApC,KAA4CA,KAA5C,GACE;AAAM,IAAA,CAAC,EAAC;AAAR,IADF,CAD4B;AAAA,CAAvB","sourcesContent":["/*\n * Wire\n * Copyright (C) 2021 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/core';\n\nimport {SVGIcon, SVGIconProps} from './SVGIcon';\n\nexport const CheckRoundIcon = (props: SVGIconProps) => (\n <SVGIcon realWidth={20} realHeight={16} {...props}>\n <path d=\"M10 0c5.523 0 10 4.477 10 10s-4.477 10-10 10S0 15.523 0 10 4.477 0 10 0zm5.382 5.563-7.06 6.974-3.765-3.69-1.768 1.769 5.532 5.456 8.829-8.74-1.768-1.769z\" />\n </SVGIcon>\n);\n"],"file":"CheckRoundIcon.js"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[],"file":"LinkIcon.d.js"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.LinkIcon = void 0;
|
|
9
|
+
|
|
10
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
11
|
+
|
|
12
|
+
var _core = require("@emotion/core");
|
|
13
|
+
|
|
14
|
+
var _SVGIcon = require("./SVGIcon");
|
|
15
|
+
|
|
16
|
+
/*
|
|
17
|
+
* Wire
|
|
18
|
+
* Copyright (C) 2021 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 LinkIcon = function LinkIcon(_ref) {
|
|
37
|
+
var props = (0, _extends2["default"])({}, _ref);
|
|
38
|
+
return (0, _core.jsx)(_SVGIcon.SVGIcon, (0, _extends2["default"])({
|
|
39
|
+
realWidth: 12,
|
|
40
|
+
realHeight: 10
|
|
41
|
+
}, props), (0, _core.jsx)("path", {
|
|
42
|
+
d: "M7.66.185c-1.721 0-3.208.995-3.91 2.438h1.8a2.832 2.832 0 0 1 2.11-.938c1.563 0 2.83 1.26 2.83 2.813A2.822 2.822 0 0 1 7.66 7.31a2.832 2.832 0 0 1-2.11-.937h-1.8A4.343 4.343 0 0 0 7.66 8.81c2.397 0 4.34-1.93 4.34-4.312C12 2.116 10.057.185 7.66.185ZM4.34 3.56c1.721 0 3.208.995 3.91 2.438h-1.8a2.832 2.832 0 0 0-2.11-.938 2.822 2.822 0 0 0-2.83 2.813 2.822 2.822 0 0 0 2.83 2.812c.839 0 1.592-.362 2.11-.937h1.8a4.343 4.343 0 0 1-3.91 2.437c-2.397 0-4.34-1.93-4.34-4.312C0 5.49 1.943 3.56 4.34 3.56Z"
|
|
43
|
+
}));
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
exports.LinkIcon = LinkIcon;
|
|
47
|
+
//# sourceMappingURL=LinkIcon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["LinkIcon.tsx"],"names":["LinkIcon","props"],"mappings":";;;;;;;;;;;AAoBA;;AAEA;;AAtBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AAKO,IAAMA,QAAQ,GAAG,SAAXA,QAAW;AAAA,MAAKC,KAAL;AAAA,SACtB,eAAC,gBAAD;AAAS,IAAA,SAAS,EAAE,EAApB;AAAwB,IAAA,UAAU,EAAE;AAApC,KAA4CA,KAA5C,GACE;AAAM,IAAA,CAAC,EAAC;AAAR,IADF,CADsB;AAAA,CAAjB","sourcesContent":["/*\n * Wire\n * Copyright (C) 2021 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/core';\n\nimport {SVGIcon, SVGIconProps} from './SVGIcon';\n\nexport const LinkIcon = ({...props}: SVGIconProps) => (\n <SVGIcon realWidth={12} realHeight={10} {...props}>\n <path d=\"M7.66.185c-1.721 0-3.208.995-3.91 2.438h1.8a2.832 2.832 0 0 1 2.11-.938c1.563 0 2.83 1.26 2.83 2.813A2.822 2.822 0 0 1 7.66 7.31a2.832 2.832 0 0 1-2.11-.937h-1.8A4.343 4.343 0 0 0 7.66 8.81c2.397 0 4.34-1.93 4.34-4.312C12 2.116 10.057.185 7.66.185ZM4.34 3.56c1.721 0 3.208.995 3.91 2.438h-1.8a2.832 2.832 0 0 0-2.11-.938 2.822 2.822 0 0 0-2.83 2.813 2.822 2.822 0 0 0 2.83 2.812c.839 0 1.592-.362 2.11-.937h1.8a4.343 4.343 0 0 1-3.91 2.437c-2.397 0-4.34-1.93-4.34-4.312C0 5.49 1.943 3.56 4.34 3.56Z\" />\n </SVGIcon>\n);\n"],"file":"LinkIcon.js"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[],"file":"ListIcon.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.ListIcon = void 0;
|
|
9
|
+
|
|
10
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
11
|
+
|
|
12
|
+
var _core = require("@emotion/core");
|
|
13
|
+
|
|
14
|
+
var _SVGIcon = require("./SVGIcon");
|
|
15
|
+
|
|
16
|
+
/*
|
|
17
|
+
* Wire
|
|
18
|
+
* Copyright (C) 2021 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 ListIcon = function ListIcon(props) {
|
|
37
|
+
return (0, _core.jsx)(_SVGIcon.SVGIcon, (0, _extends2["default"])({
|
|
38
|
+
realWidth: 14,
|
|
39
|
+
realHeight: 11
|
|
40
|
+
}, props), (0, _core.jsx)("path", {
|
|
41
|
+
d: "M4 6h10v2H4V6zm0-6h10v2H4V0zm10 12v2H4v-2h10zM2 12v2H0v-2h2zm0-6v2H0V6h2zm0-6v2H0V0h2z"
|
|
42
|
+
}));
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
exports.ListIcon = ListIcon;
|
|
46
|
+
//# sourceMappingURL=ListIcon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["ListIcon.tsx"],"names":["ListIcon","props"],"mappings":";;;;;;;;;;;AAoBA;;AAEA;;AAtBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AAKO,IAAMA,QAAQ,GAAG,SAAXA,QAAW,CAACC,KAAD;AAAA,SACtB,eAAC,gBAAD;AAAS,IAAA,SAAS,EAAE,EAApB;AAAwB,IAAA,UAAU,EAAE;AAApC,KAA4CA,KAA5C,GACE;AAAM,IAAA,CAAC,EAAC;AAAR,IADF,CADsB;AAAA,CAAjB","sourcesContent":["/*\n * Wire\n * Copyright (C) 2021 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/core';\n\nimport {SVGIcon, SVGIconProps} from './SVGIcon';\n\nexport const ListIcon = (props: SVGIconProps) => (\n <SVGIcon realWidth={14} realHeight={11} {...props}>\n <path d=\"M4 6h10v2H4V6zm0-6h10v2H4V0zm10 12v2H4v-2h10zM2 12v2H0v-2h2zm0-6v2H0V6h2zm0-6v2H0V0h2z\" />\n </SVGIcon>\n);\n"],"file":"ListIcon.js"}
|
package/src/Icon/SVGIcon.md
CHANGED
|
@@ -16,6 +16,7 @@ import {
|
|
|
16
16
|
CameraIcon,
|
|
17
17
|
CamIcon,
|
|
18
18
|
CheckIcon,
|
|
19
|
+
CheckRoundIcon,
|
|
19
20
|
ChevronIcon,
|
|
20
21
|
ChromeIcon,
|
|
21
22
|
CloseIcon,
|
|
@@ -29,15 +30,18 @@ import {
|
|
|
29
30
|
ErrorIcon,
|
|
30
31
|
FacebookIcon,
|
|
31
32
|
FileIcon,
|
|
33
|
+
LinkIcon,
|
|
32
34
|
GifIcon,
|
|
33
35
|
GitHubIcon,
|
|
34
36
|
GroupIcon,
|
|
35
37
|
H1,
|
|
36
38
|
HangupIcon,
|
|
37
39
|
ImageIcon,
|
|
40
|
+
SupportIcon,
|
|
38
41
|
InfoIcon,
|
|
39
42
|
InviteIcon,
|
|
40
43
|
LeaveIcon,
|
|
44
|
+
ListIcon,
|
|
41
45
|
Line,
|
|
42
46
|
LinkedInIcon,
|
|
43
47
|
LinuxIcon,
|
|
@@ -89,6 +93,7 @@ const icons = [
|
|
|
89
93
|
CameraIcon,
|
|
90
94
|
CamIcon,
|
|
91
95
|
CheckIcon,
|
|
96
|
+
CheckRoundIcon,
|
|
92
97
|
ChevronIcon,
|
|
93
98
|
CloseIcon,
|
|
94
99
|
DeviceIcon,
|
|
@@ -102,9 +107,11 @@ const icons = [
|
|
|
102
107
|
GroupIcon,
|
|
103
108
|
HangupIcon,
|
|
104
109
|
ImageIcon,
|
|
110
|
+
SupportIcon,
|
|
105
111
|
InfoIcon,
|
|
106
112
|
InviteIcon,
|
|
107
113
|
LeaveIcon,
|
|
114
|
+
ListIcon,
|
|
108
115
|
LockIcon,
|
|
109
116
|
MessageIcon,
|
|
110
117
|
MinusIcon,
|
|
@@ -118,6 +125,7 @@ const icons = [
|
|
|
118
125
|
PingIcon,
|
|
119
126
|
PlaneIcon,
|
|
120
127
|
PlusIcon,
|
|
128
|
+
LinkIcon,
|
|
121
129
|
ProfileIcon,
|
|
122
130
|
RecordIcon,
|
|
123
131
|
RecordBoldIcon,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[],"file":"SupportIcon.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.SupportIcon = void 0;
|
|
9
|
+
|
|
10
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
11
|
+
|
|
12
|
+
var _core = require("@emotion/core");
|
|
13
|
+
|
|
14
|
+
var _SVGIcon = require("./SVGIcon");
|
|
15
|
+
|
|
16
|
+
/*
|
|
17
|
+
* Wire
|
|
18
|
+
* Copyright (C) 2021 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 SupportIcon = function SupportIcon(props) {
|
|
37
|
+
return (0, _core.jsx)(_SVGIcon.SVGIcon, (0, _extends2["default"])({
|
|
38
|
+
realWidth: 16,
|
|
39
|
+
realHeight: 13
|
|
40
|
+
}, props), (0, _core.jsx)("path", {
|
|
41
|
+
d: "M11.33 14.159a7.032 7.032 0 0 0 2.829-2.829l-2.294-2.294a4.005 4.005 0 0 0 0-2.072l2.294-2.294a7.032 7.032 0 0 0-2.829-2.83L9.036 4.135a4.005 4.005 0 0 0-2.072 0L4.67 1.841A7.032 7.032 0 0 0 1.84 4.67l2.294 2.294a4.005 4.005 0 0 0 0 2.072L1.841 11.33a7.032 7.032 0 0 0 2.829 2.83l2.294-2.294a4.005 4.005 0 0 0 2.072 0l2.294 2.294zM8 16A8 8 0 1 1 8 0a8 8 0 0 1 0 16zm0-4a4 4 0 1 0 0-8 4 4 0 0 0 0 8zm0 1A5 5 0 1 1 8 3a5 5 0 0 1 0 10z"
|
|
42
|
+
}));
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
exports.SupportIcon = SupportIcon;
|
|
46
|
+
//# sourceMappingURL=SupportIcon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["SupportIcon.tsx"],"names":["SupportIcon","props"],"mappings":";;;;;;;;;;;AAoBA;;AAEA;;AAtBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AAKO,IAAMA,WAAW,GAAG,SAAdA,WAAc,CAACC,KAAD;AAAA,SACzB,eAAC,gBAAD;AAAS,IAAA,SAAS,EAAE,EAApB;AAAwB,IAAA,UAAU,EAAE;AAApC,KAA4CA,KAA5C,GACE;AAAM,IAAA,CAAC,EAAC;AAAR,IADF,CADyB;AAAA,CAApB","sourcesContent":["/*\n * Wire\n * Copyright (C) 2021 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/core';\n\nimport {SVGIcon, SVGIconProps} from './SVGIcon';\n\nexport const SupportIcon = (props: SVGIconProps) => (\n <SVGIcon realWidth={16} realHeight={13} {...props}>\n <path d=\"M11.33 14.159a7.032 7.032 0 0 0 2.829-2.829l-2.294-2.294a4.005 4.005 0 0 0 0-2.072l2.294-2.294a7.032 7.032 0 0 0-2.829-2.83L9.036 4.135a4.005 4.005 0 0 0-2.072 0L4.67 1.841A7.032 7.032 0 0 0 1.84 4.67l2.294 2.294a4.005 4.005 0 0 0 0 2.072L1.841 11.33a7.032 7.032 0 0 0 2.829 2.83l2.294-2.294a4.005 4.005 0 0 0 2.072 0l2.294 2.294zM8 16A8 8 0 1 1 8 0a8 8 0 0 1 0 16zm0-4a4 4 0 1 0 0-8 4 4 0 0 0 0 8zm0 1A5 5 0 1 1 8 3a5 5 0 0 1 0 10z\" />\n </SVGIcon>\n);\n"],"file":"SupportIcon.js"}
|
package/src/Icon/TriangleIcon.js
CHANGED
|
@@ -16,15 +16,12 @@ var _core = require("@emotion/core");
|
|
|
16
16
|
var _SVGIcon = require("./SVGIcon");
|
|
17
17
|
|
|
18
18
|
var _excluded = ["direction"];
|
|
19
|
-
|
|
20
|
-
/* eslint-disable sort-keys-fix/sort-keys-fix */
|
|
21
19
|
var rotation = {
|
|
22
20
|
down: 0,
|
|
23
21
|
left: 90,
|
|
24
22
|
up: 180,
|
|
25
23
|
right: 270
|
|
26
24
|
};
|
|
27
|
-
/* eslint-enable sort-keys-fix/sort-keys-fix */
|
|
28
25
|
|
|
29
26
|
var TriangleIcon = function TriangleIcon(_ref) {
|
|
30
27
|
var _ref$direction = _ref.direction,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["TriangleIcon.tsx"],"names":["rotation","down","left","up","right","TriangleIcon","direction","props"],"mappings":";;;;;;;;;;;;;AAoBA;;AAGA
|
|
1
|
+
{"version":3,"sources":["TriangleIcon.tsx"],"names":["rotation","down","left","up","right","TriangleIcon","direction","props"],"mappings":";;;;;;;;;;;;;AAoBA;;AAGA;;;AAMA,IAAMA,QAAkB,GAAG;AACzBC,EAAAA,IAAI,EAAE,CADmB;AAEzBC,EAAAA,IAAI,EAAE,EAFmB;AAGzBC,EAAAA,EAAE,EAAE,GAHqB;AAIzBC,EAAAA,KAAK,EAAE;AAJkB,CAA3B;;AAOO,IAAMC,YAAY,GAAG,SAAfA,YAAe;AAAA,4BAAEC,SAAF;AAAA,MAAEA,SAAF,+BAAc,MAAd;AAAA,MAAyBC,KAAzB;AAAA,SAC1B,eAAC,gBAAD;AAAS,IAAA,SAAS,EAAE,CAApB;AAAuB,IAAA,UAAU,EAAE;AAAnC,KAA0CA,KAA1C,GACE;AAAM,IAAA,SAAS,mBAAYP,QAAQ,CAACM,SAAD,CAApB,UAAf;AAAuD,IAAA,QAAQ,EAAC,SAAhE;AAA0E,IAAA,CAAC,EAAC;AAA5E,IADF,CAD0B;AAAA,CAArB","sourcesContent":["/*\n * Wire\n * Copyright (C) 2019 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/core';\n\nimport type {Rotation} from './ArrowIcon';\nimport {SVGIcon, SVGIconProps} from './SVGIcon';\n\nexport interface Props extends SVGIconProps {\n direction?: keyof Rotation;\n}\n\nconst rotation: Rotation = {\n down: 0,\n left: 90,\n up: 180,\n right: 270,\n};\n\nexport const TriangleIcon = ({direction = 'down', ...props}: Props) => (\n <SVGIcon realWidth={8} realHeight={8} {...props}>\n <path transform={`rotate(${rotation[direction]} 4 4)`} fillRule=\"evenodd\" d=\"M0 2h8L4 7\" />\n </SVGIcon>\n);\n"],"file":"TriangleIcon.js"}
|