@wireapp/react-ui-kit 8.0.0 → 8.2.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 +33 -0
- package/package.json +8 -8
- package/src/Form/Button.d.js +4 -0
- package/src/Form/Button.d.ts +8 -0
- package/src/Form/Button.js +83 -20
- package/src/Form/Button.js.map +1 -1
- package/src/Form/Button.md +61 -2
- package/src/Form/Checkbox.js +44 -22
- package/src/Form/Checkbox.js.map +1 -1
- package/src/Form/ErrorMessage.js +2 -2
- package/src/Form/ErrorMessage.js.map +1 -1
- package/src/Form/Input.js +6 -6
- package/src/Form/Input.js.map +1 -1
- package/src/Form/InputSubmitCombo.js +2 -2
- package/src/Form/InputSubmitCombo.js.map +1 -1
- package/src/Form/TextArea.js +1 -1
- package/src/Form/TextArea.js.map +1 -1
- package/src/Icon/HideIcon.js +1 -1
- package/src/Icon/HideIcon.js.map +1 -1
- package/src/Icon/ShowIcon.js +1 -1
- package/src/Icon/ShowIcon.js.map +1 -1
- package/src/Identity/colors-v2.d.js +2 -0
- package/src/Identity/colors-v2.d.js.map +1 -0
- package/src/Identity/colors-v2.d.ts +3 -0
- package/src/Identity/colors-v2.js +221 -0
- package/src/Identity/colors-v2.js.map +1 -0
- package/src/Identity/colors-v2.md +111 -0
- package/src/Identity/index.d.js +13 -0
- package/src/Identity/index.d.js.map +1 -1
- package/src/Identity/index.d.ts +1 -0
- package/src/Identity/index.js +13 -0
- package/src/Identity/index.js.map +1 -1
- package/src/Layout/headerMenu/MenuOpenButton.js +3 -3
- package/src/Layout/headerMenu/MenuOpenButton.js.map +1 -1
- package/src/Layout/headerMenu/MenuSubLink.js +1 -1
- package/src/Layout/headerMenu/MenuSubLink.js.map +1 -1
- package/src/Misc/ButtonGroup.d.js +2 -0
- package/src/Misc/ButtonGroup.d.js.map +1 -0
- package/src/Misc/ButtonGroup.d.ts +14 -0
- package/src/Misc/ButtonGroup.js +113 -0
- package/src/Misc/ButtonGroup.js.map +1 -0
- package/src/Misc/ButtonGroup.md +27 -0
- package/src/Misc/IconButton.d.js +6 -0
- package/src/Misc/IconButton.d.js.map +1 -0
- package/src/Misc/IconButton.d.ts +15 -0
- package/src/Misc/IconButton.js +122 -0
- package/src/Misc/IconButton.js.map +1 -0
- package/src/Misc/IconButton.md +43 -0
- package/src/Misc/childrenWithDefaultProps.d.ts +1 -1
- package/src/Misc/index.d.js +26 -0
- package/src/Misc/index.d.js.map +1 -1
- package/src/Misc/index.d.ts +2 -0
- package/src/Misc/index.js +26 -0
- package/src/Misc/index.js.map +1 -1
- package/src/Text/TextLink.js +2 -2
- package/src/Text/TextLink.js.map +1 -1
package/src/Form/Input.js
CHANGED
|
@@ -36,7 +36,7 @@ var inputStyle = function inputStyle(theme, _ref) {
|
|
|
36
36
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled;
|
|
37
37
|
var placeholderStyle = {
|
|
38
38
|
color: theme.Input.placeholderColor,
|
|
39
|
-
fontSize: '
|
|
39
|
+
fontSize: '16px',
|
|
40
40
|
textTransform: placeholderTextTransform
|
|
41
41
|
};
|
|
42
42
|
return {
|
|
@@ -46,19 +46,19 @@ var inputStyle = function inputStyle(theme, _ref) {
|
|
|
46
46
|
'&::-ms-input-placeholder': _objectSpread({}, placeholderStyle),
|
|
47
47
|
'&::-webkit-input-placeholder': _objectSpread({}, placeholderStyle),
|
|
48
48
|
'&:focus': {
|
|
49
|
-
boxShadow: "0 0 0 1px ".concat(_Identity.
|
|
49
|
+
boxShadow: "0 0 0 1px ".concat(_Identity.COLOR_V2.BLUE)
|
|
50
50
|
},
|
|
51
51
|
'&:invalid:not(:focus)': !markInvalid ? {
|
|
52
|
-
boxShadow: "0 0 0 1px ".concat(_Identity.
|
|
52
|
+
boxShadow: "0 0 0 1px ".concat(_Identity.COLOR_V2.GRAY)
|
|
53
53
|
} : {},
|
|
54
54
|
background: disabled ? theme.Input.backgroundColorDisabled : theme.Input.backgroundColor,
|
|
55
55
|
border: 'none',
|
|
56
56
|
borderRadius: '4px',
|
|
57
|
-
boxShadow: markInvalid ? "0 0 0 1px ".concat(_Identity.
|
|
58
|
-
caretColor: _Identity.
|
|
57
|
+
boxShadow: markInvalid ? "0 0 0 1px ".concat(_Identity.COLOR_V2.RED) : "0 0 0 1px ".concat(_Identity.COLOR_V2.GRAY),
|
|
58
|
+
caretColor: _Identity.COLOR_V2.BLUE,
|
|
59
59
|
color: theme.general.color,
|
|
60
60
|
fontWeight: 300,
|
|
61
|
-
height: '
|
|
61
|
+
height: '48px',
|
|
62
62
|
lineHeight: '24px',
|
|
63
63
|
margin: '0 0 16px',
|
|
64
64
|
outline: 'none',
|
package/src/Form/Input.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["Input.tsx"],"names":["inputStyle","theme","markInvalid","placeholderTextTransform","disabled","placeholderStyle","color","Input","placeholderColor","fontSize","textTransform","opacity","boxShadow","
|
|
1
|
+
{"version":3,"sources":["Input.tsx"],"names":["inputStyle","theme","markInvalid","placeholderTextTransform","disabled","placeholderStyle","color","Input","placeholderColor","fontSize","textTransform","opacity","boxShadow","COLOR_V2","BLUE","GRAY","background","backgroundColorDisabled","backgroundColor","border","borderRadius","RED","caretColor","general","fontWeight","height","lineHeight","margin","outline","padding","width","INPUT_CLASSNAME","filterInputProps","props","React","forwardRef","ref","type"],"mappings":";;;;;;;;;;;;;;;AAoBA;;AAEA;;AAEA;;AAGA;;;;;;;;AAOO,IAAMA,UAAgE,GAAG,SAAnEA,UAAmE,CAC9EC,KAD8E,QAG3E;AAAA,8BADFC,WACE;AAAA,MADFA,WACE,iCADY,KACZ;AAAA,mCADmBC,wBACnB;AAAA,MADmBA,wBACnB,sCAD8C,MAC9C;AAAA,2BADsDC,QACtD;AAAA,MADsDA,QACtD,8BADiE,KACjE;AACH,MAAMC,gBAAgB,GAAG;AACvBC,IAAAA,KAAK,EAAEL,KAAK,CAACM,KAAN,CAAYC,gBADI;AAEvBC,IAAA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N,CAG3D,iBAAmBC,GAAnB,EAA2B;AAAA,MAAzBC,IAAyB,SAAzBA,IAAyB;AAAA,MAAhBJ,KAAgB;AAC3B,SACE;AACE,IAAA,SAAS,EAAEF,eADb;AAEE,IAAA,GAAG,EAAE,aAAC9B,KAAD;AAAA,aAAkBD,UAAU,CAACC,KAAD,EAAQgC,KAAR,CAA5B;AAAA,KAFP;AAGE,IAAA,GAAG,EAAEG,GAHP;AAIE,IAAA,IAAI,EAAEC;AAJR,KAKML,gBAAgB,CAACC,KAAD,CALtB,EADF;AASD,CAb4D,CAAtD","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 {CSSObject, jsx} from '@emotion/react';\nimport type {Property} from 'csstype';\nimport React from 'react';\n\nimport {COLOR_V2} from '../Identity';\nimport type {Theme} from '../Layout';\nimport type {TextProps} from '../Text';\nimport {filterProps} from '../util';\n\nexport interface InputProps<T = HTMLInputElement> extends TextProps<T> {\n markInvalid?: boolean;\n placeholderTextTransform?: Property.TextTransform;\n}\n\nexport const inputStyle: <T>(theme: Theme, props: InputProps<T>) => CSSObject = (\n theme,\n {markInvalid = false, placeholderTextTransform = 'none', disabled = false},\n) => {\n const placeholderStyle = {\n color: theme.Input.placeholderColor,\n fontSize: '16px',\n textTransform: placeholderTextTransform,\n };\n\n return {\n '&::-moz-placeholder': {\n ...placeholderStyle,\n opacity: 1,\n },\n '&::-ms-input-placeholder': {\n ...placeholderStyle,\n },\n '&::-webkit-input-placeholder': {\n ...placeholderStyle,\n },\n '&:focus': {\n boxShadow: `0 0 0 1px ${COLOR_V2.BLUE}`,\n },\n '&:invalid:not(:focus)': !markInvalid\n ? {\n boxShadow: `0 0 0 1px ${COLOR_V2.GRAY}`,\n }\n : {},\n background: disabled ? theme.Input.backgroundColorDisabled : theme.Input.backgroundColor,\n border: 'none',\n borderRadius: '4px',\n boxShadow: markInvalid ? `0 0 0 1px ${COLOR_V2.RED}` : `0 0 0 1px ${COLOR_V2.GRAY}`,\n caretColor: COLOR_V2.BLUE,\n color: theme.general.color,\n fontWeight: 300,\n height: '48px',\n lineHeight: '24px',\n margin: '0 0 16px',\n outline: 'none',\n padding: '0 16px',\n width: '100%',\n };\n};\n\nexport const INPUT_CLASSNAME = 'wireinput';\nconst filterInputProps = (props: InputProps) => filterProps(props, ['markInvalid', 'placeholderTextTransform']);\n\nexport const Input: React.FC<InputProps<HTMLInputElement>> = React.forwardRef<\n HTMLInputElement,\n InputProps<HTMLInputElement>\n>(({type, ...props}, ref) => {\n return (\n <input\n className={INPUT_CLASSNAME}\n css={(theme: Theme) => inputStyle(theme, props)}\n ref={ref}\n type={type}\n {...filterInputProps(props)}\n />\n );\n});\n"],"file":"Input.js"}
|
|
@@ -38,7 +38,7 @@ var InputSubmitCombo = function InputSubmitCombo(_ref) {
|
|
|
38
38
|
|
|
39
39
|
return _objectSpread(_objectSpread({}, (0, _Input.inputStyle)(theme, props)), {}, (_objectSpread2 = {
|
|
40
40
|
'&:focus-within': {
|
|
41
|
-
boxShadow: "0 0 0 1px ".concat(_Identity.
|
|
41
|
+
boxShadow: "0 0 0 1px ".concat(_Identity.COLOR_V2.BLUE)
|
|
42
42
|
}
|
|
43
43
|
}, (0, _defineProperty2["default"])(_objectSpread2, ".".concat(_Input.INPUT_CLASSNAME), {
|
|
44
44
|
'&:focus, &:invalid:not(:focus)': {
|
|
@@ -48,7 +48,7 @@ var InputSubmitCombo = function InputSubmitCombo(_ref) {
|
|
|
48
48
|
flexGrow: 1,
|
|
49
49
|
margin: '0 8px 0 0',
|
|
50
50
|
padding: '0 0 0 16px'
|
|
51
|
-
}), (0, _defineProperty2["default"])(_objectSpread2, "alignItems", 'center'), (0, _defineProperty2["default"])(_objectSpread2, "display", 'flex'), (0, _defineProperty2["default"])(_objectSpread2, "height", '
|
|
51
|
+
}), (0, _defineProperty2["default"])(_objectSpread2, "alignItems", 'center'), (0, _defineProperty2["default"])(_objectSpread2, "display", 'flex'), (0, _defineProperty2["default"])(_objectSpread2, "height", '49px'), (0, _defineProperty2["default"])(_objectSpread2, "justifyContent", 'space-between'), (0, _defineProperty2["default"])(_objectSpread2, "marginBottom", '4px'), (0, _defineProperty2["default"])(_objectSpread2, "paddingLeft", 0), _objectSpread2));
|
|
52
52
|
}
|
|
53
53
|
}, props), children);
|
|
54
54
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["InputSubmitCombo.tsx"],"names":["INPUT_SUBMIT_COMBO_CLASSNAME","InputSubmitCombo","children","props","theme","boxShadow","
|
|
1
|
+
{"version":3,"sources":["InputSubmitCombo.tsx"],"names":["INPUT_SUBMIT_COMBO_CLASSNAME","InputSubmitCombo","children","props","theme","boxShadow","COLOR_V2","BLUE","INPUT_CLASSNAME","flexGrow","margin","padding"],"mappings":";;;;;;;;;;;;;;;AAoBA;;AAEA;;AACA;;;;;;;;AAKO,IAAMA,4BAA4B,GAAG,kBAArC;;;AAEA,IAAMC,gBAAgB,GAAG,SAAnBA,gBAAmB;AAAA,MAAEC,QAAF,QAAEA,QAAF;AAAA,MAAeC,KAAf;AAAA,SAC9B;AACE,IAAA,SAAS,EAAEH,4BADb;AAEE,IAAA,GAAG,EAAE,aAACI,KAAD;AAAA;;AAAA,6CACA,uBAAWA,KAAX,EAAkBD,KAAlB,CADA;AAEH,0BAAkB;AAChBE,UAAAA,SAAS,sBAAeC,mBAASC,IAAxB;AADO;AAFf,qEAKEC,sBALF,GAKsB;AACvB,0CAAkC;AAChCH,UAAAA,SAAS,EAAE;AADqB,SADX;AAIvBA,QAAAA,SAAS,EAAE,MAJY;AAKvBI,QAAAA,QAAQ,EAAE,CALa;AAMvBC,QAAAA,MAAM,EAAE,WANe;AAOvBC,QAAAA,OAAO,EAAE;AAPc,OALtB,kEAcS,QAdT,+DAeM,MAfN,8DAgBK,MAhBL,sEAiBa,eAjBb,oEAkBW,KAlBX,mEAmBU,CAnBV;AAAA;AAFP,KAuBMR,KAvBN,GAyBGD,QAzBH,CAD8B;AAAA,CAAzB","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/react';\n\nimport {INPUT_CLASSNAME, InputProps, inputStyle} from './Input';\nimport {COLOR_V2} from '../Identity';\nimport {Theme} from '../Layout';\n\nexport type InputSubmitComboProps<T = HTMLDivElement> = InputProps<T>;\n\nexport const INPUT_SUBMIT_COMBO_CLASSNAME = 'inputSubmitCombo';\n\nexport const InputSubmitCombo = ({children, ...props}: InputSubmitComboProps) => (\n <div\n className={INPUT_SUBMIT_COMBO_CLASSNAME}\n css={(theme: Theme) => ({\n ...inputStyle(theme, props),\n '&:focus-within': {\n boxShadow: `0 0 0 1px ${COLOR_V2.BLUE}`,\n },\n [`.${INPUT_CLASSNAME}`]: {\n '&:focus, &:invalid:not(:focus)': {\n boxShadow: 'none',\n },\n boxShadow: 'none',\n flexGrow: 1,\n margin: '0 8px 0 0',\n padding: '0 0 0 16px',\n },\n alignItems: 'center',\n display: 'flex',\n height: '49px', // needs a bit more space to not overlap with the `boxShadow` from `:focus`\n justifyContent: 'space-between',\n marginBottom: '4px',\n paddingLeft: 0,\n })}\n {...props}\n >\n {children}\n </div>\n);\n"],"file":"InputSubmitCombo.js"}
|
package/src/Form/TextArea.js
CHANGED
|
@@ -32,7 +32,7 @@ var textAreaStyle = function textAreaStyle(theme, _ref) {
|
|
|
32
32
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled;
|
|
33
33
|
var placeholderStyle = {
|
|
34
34
|
color: theme.Input.placeholderColor,
|
|
35
|
-
fontSize: '
|
|
35
|
+
fontSize: '16px',
|
|
36
36
|
textTransform: placeholderTextTransform
|
|
37
37
|
};
|
|
38
38
|
return {
|
package/src/Form/TextArea.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["TextArea.tsx"],"names":["textAreaStyle","theme","markInvalid","placeholderTextTransform","disabled","placeholderStyle","color","Input","placeholderColor","fontSize","textTransform","opacity","boxShadow","COLOR","BLUE","GRAY","background","backgroundColorDisabled","backgroundColor","border","borderRadius","RED","caretColor","general","fontWeight","lineHeight","margin","outline","padding","resize","width","TEXTAREA_CLASSNAME","filterTextAreaProps","props","TextArea","React","forwardRef","ref"],"mappings":";;;;;;;;;;;;;AAoBA;;AAEA;;AAEA;;AAGA;;;;;;AAOO,IAAMA,aAAsE,GAAG,SAAzEA,aAAyE,CACpFC,KADoF,QAGjF;AAAA,8BADFC,WACE;AAAA,MADFA,WACE,iCADY,KACZ;AAAA,mCADmBC,wBACnB;AAAA,MADmBA,wBACnB,sCAD8C,MAC9C;AAAA,2BADsDC,QACtD;AAAA,MADsDA,QACtD,8BADiE,KACjE;AACH,MAAMC,gBAAgB,GAAG;AACvBC,IAAAA,KAAK,EAAEL,KAAK,CAACM,KAAN,CAAYC,gBADI;AAEvBC,IAAAA,QAAQ,EAAE,MAFa;AAGvBC,IAAAA,aAAa,EAAEP;AAHQ,GAAzB;AAMA,SAAO;AACL,2DACKE,gBADL;AAEEM,MAAAA,OAAO,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aAAkBD,aAAa,CAACC,KAAD,EAAQgC,KAAR,CAA/B;AAAA,KAFP;AAGE,IAAA,GAAG,EAAEI;AAHP,KAIML,mBAAmB,CAACC,KAAD,CAJzB,EADA;AAAA,CAHoE,CAA/D","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 {CSSObject, jsx} from '@emotion/react';\nimport type {Property} from 'csstype';\nimport React from 'react';\n\nimport {COLOR} from '../Identity';\nimport type {Theme} from '../Layout';\nimport type {TextProps} from '../Text';\nimport {filterProps} from '../util';\n\nexport interface TextAreaProps<T = HTMLTextAreaElement> extends TextProps<T> {\n markInvalid?: boolean;\n placeholderTextTransform?: Property.TextTransform;\n}\n\nexport const textAreaStyle: <T>(theme: Theme, props: TextAreaProps<T>) => CSSObject = (\n theme,\n {markInvalid = false, placeholderTextTransform = 'none', disabled = false},\n) => {\n const placeholderStyle = {\n color: theme.Input.placeholderColor,\n fontSize: '
|
|
1
|
+
{"version":3,"sources":["TextArea.tsx"],"names":["textAreaStyle","theme","markInvalid","placeholderTextTransform","disabled","placeholderStyle","color","Input","placeholderColor","fontSize","textTransform","opacity","boxShadow","COLOR","BLUE","GRAY","background","backgroundColorDisabled","backgroundColor","border","borderRadius","RED","caretColor","general","fontWeight","lineHeight","margin","outline","padding","resize","width","TEXTAREA_CLASSNAME","filterTextAreaProps","props","TextArea","React","forwardRef","ref"],"mappings":";;;;;;;;;;;;;AAoBA;;AAEA;;AAEA;;AAGA;;;;;;AAOO,I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A,MAAM,EAAE,MA9BH;AA+BLC,IAAAA,KAAK,EAAE;AA/BF,GAAP;AAiCD,CA3CM;;;AA6CA,IAAMC,kBAAkB,GAAG,UAA3B;;;AACP,IAAMC,mBAAmB,GAAG,SAAtBA,mBAAsB,CAACC,KAAD;AAAA,SAA0B,uBAAYA,KAAZ,EAAmB,CAAC,aAAD,EAAgB,0BAAhB,CAAnB,CAA1B;AAAA,CAA5B;;AAEO,IAAMC,QAAsD,gBAAGC,mBAAMC,UAAN,CAGpE,UAACH,KAAD,EAAQI,GAAR;AAAA,SACA;AACE,IAAA,SAAS,EAAEN,kBADb;AAEE,IAAA,GAAG,EAAE,aAAC9B,KAAD;AAAA,aAAkBD,aAAa,CAACC,KAAD,EAAQgC,KAAR,CAA/B;AAAA,KAFP;AAGE,IAAA,GAAG,EAAEI;AAHP,KAIML,mBAAmB,CAACC,KAAD,CAJzB,EADA;AAAA,CAHoE,CAA/D","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 {CSSObject, jsx} from '@emotion/react';\nimport type {Property} from 'csstype';\nimport React from 'react';\n\nimport {COLOR} from '../Identity';\nimport type {Theme} from '../Layout';\nimport type {TextProps} from '../Text';\nimport {filterProps} from '../util';\n\nexport interface TextAreaProps<T = HTMLTextAreaElement> extends TextProps<T> {\n markInvalid?: boolean;\n placeholderTextTransform?: Property.TextTransform;\n}\n\nexport const textAreaStyle: <T>(theme: Theme, props: TextAreaProps<T>) => CSSObject = (\n theme,\n {markInvalid = false, placeholderTextTransform = 'none', disabled = false},\n) => {\n const placeholderStyle = {\n color: theme.Input.placeholderColor,\n fontSize: '16px',\n textTransform: placeholderTextTransform,\n };\n\n return {\n '&::-moz-placeholder': {\n ...placeholderStyle,\n opacity: 1,\n },\n '&::-ms-input-placeholder': {\n ...placeholderStyle,\n },\n '&::-webkit-input-placeholder': {\n ...placeholderStyle,\n },\n '&:focus': {\n boxShadow: `0 0 0 1px ${COLOR.BLUE}`,\n },\n '&:invalid': !markInvalid\n ? {\n boxShadow: `0 0 0 1px ${COLOR.GRAY}`,\n }\n : {},\n background: disabled ? theme.Input.backgroundColorDisabled : theme.Input.backgroundColor,\n border: 'none',\n borderRadius: '4px',\n boxShadow: markInvalid ? `0 0 0 1px ${COLOR.RED}` : `0 0 0 1px ${COLOR.GRAY}`,\n caretColor: COLOR.BLUE,\n color: theme.general.color,\n fontWeight: 300,\n lineHeight: '24px',\n margin: '0 0 16px',\n outline: 'none',\n padding: '16px 16px',\n resize: 'none',\n width: '100%',\n };\n};\n\nexport const TEXTAREA_CLASSNAME = 'textarea';\nconst filterTextAreaProps = (props: TextAreaProps) => filterProps(props, ['markInvalid', 'placeholderTextTransform']);\n\nexport const TextArea: React.FC<TextAreaProps<HTMLTextAreaElement>> = React.forwardRef<\n HTMLTextAreaElement,\n TextAreaProps<HTMLTextAreaElement>\n>((props, ref) => (\n <textarea\n className={TEXTAREA_CLASSNAME}\n css={(theme: Theme) => textAreaStyle(theme, props)}\n ref={ref}\n {...filterTextAreaProps(props)}\n />\n));\n"],"file":"TextArea.js"}
|
package/src/Icon/HideIcon.js
CHANGED
|
@@ -36,7 +36,7 @@ var _SVGIcon = require("./SVGIcon");
|
|
|
36
36
|
var HideIcon = function HideIcon(props) {
|
|
37
37
|
return (0, _react.jsx)(_SVGIcon.SVGIcon, (0, _extends2["default"])({
|
|
38
38
|
realWidth: 16,
|
|
39
|
-
realHeight:
|
|
39
|
+
realHeight: 13
|
|
40
40
|
}, props), (0, _react.jsx)("path", {
|
|
41
41
|
d: "M8 2.667A3.334 3.334 0 0111.333 6c0 .433-.086.84-.24 1.22l1.947 1.947A7.88 7.88 0 0015.327 6c-1.154-2.927-4-5-7.334-5-.933 0-1.826.167-2.653.467l1.44 1.44c.38-.154.787-.24 1.22-.24zM1.333.847l1.52 1.52.307.306A7.867 7.867 0 00.667 6c1.153 2.927 4 5 7.333 5 1.033 0 2.02-.2 2.92-.56l.28.28 1.953 1.947.847-.847L2.18 0l-.847.847zM5.02 4.533l1.033 1.034C6.02 5.707 6 5.853 6 6c0 1.107.893 2 2 2 .147 0 .293-.02.433-.053L9.467 8.98c-.447.22-.94.353-1.467.353A3.334 3.334 0 014.667 6c0-.527.133-1.02.353-1.467zm2.873-.52l2.1 2.1.014-.106c0-1.107-.894-2-2-2l-.114.006z"
|
|
42
42
|
}));
|
package/src/Icon/HideIcon.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["HideIcon.tsx"],"names":["HideIcon","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,gBAAC,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) 2020 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';\n\nimport {SVGIcon, SVGIconProps} from './SVGIcon';\n\nexport const HideIcon = (props: SVGIconProps) => (\n <SVGIcon realWidth={16} realHeight={
|
|
1
|
+
{"version":3,"sources":["HideIcon.tsx"],"names":["HideIcon","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,gBAAC,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) 2020 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';\n\nimport {SVGIcon, SVGIconProps} from './SVGIcon';\n\nexport const HideIcon = (props: SVGIconProps) => (\n <SVGIcon realWidth={16} realHeight={13} {...props}>\n <path d=\"M8 2.667A3.334 3.334 0 0111.333 6c0 .433-.086.84-.24 1.22l1.947 1.947A7.88 7.88 0 0015.327 6c-1.154-2.927-4-5-7.334-5-.933 0-1.826.167-2.653.467l1.44 1.44c.38-.154.787-.24 1.22-.24zM1.333.847l1.52 1.52.307.306A7.867 7.867 0 00.667 6c1.153 2.927 4 5 7.333 5 1.033 0 2.02-.2 2.92-.56l.28.28 1.953 1.947.847-.847L2.18 0l-.847.847zM5.02 4.533l1.033 1.034C6.02 5.707 6 5.853 6 6c0 1.107.893 2 2 2 .147 0 .293-.02.433-.053L9.467 8.98c-.447.22-.94.353-1.467.353A3.334 3.334 0 014.667 6c0-.527.133-1.02.353-1.467zm2.873-.52l2.1 2.1.014-.106c0-1.107-.894-2-2-2l-.114.006z\" />\n </SVGIcon>\n);\n"],"file":"HideIcon.js"}
|
package/src/Icon/ShowIcon.js
CHANGED
|
@@ -36,7 +36,7 @@ var _SVGIcon = require("./SVGIcon");
|
|
|
36
36
|
var ShowIcon = function ShowIcon(props) {
|
|
37
37
|
return (0, _react.jsx)(_SVGIcon.SVGIcon, (0, _extends2["default"])({
|
|
38
38
|
realWidth: 16,
|
|
39
|
-
realHeight:
|
|
39
|
+
realHeight: 10
|
|
40
40
|
}, props), (0, _react.jsx)("path", {
|
|
41
41
|
d: "M8 0C4.667 0 1.82 2.073.667 5c1.153 2.927 4 5 7.333 5s6.18-2.073 7.333-5c-1.153-2.927-4-5-7.333-5zm0 8.333a3.334 3.334 0 010-6.666 3.334 3.334 0 010 6.666zM8 3c-1.107 0-2 .893-2 2s.893 2 2 2 2-.893 2-2-.893-2-2-2z"
|
|
42
42
|
}));
|
package/src/Icon/ShowIcon.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["ShowIcon.tsx"],"names":["ShowIcon","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,gBAAC,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) 2020 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';\n\nimport {SVGIcon, SVGIconProps} from './SVGIcon';\n\nexport const ShowIcon = (props: SVGIconProps) => (\n <SVGIcon realWidth={16} realHeight={
|
|
1
|
+
{"version":3,"sources":["ShowIcon.tsx"],"names":["ShowIcon","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,gBAAC,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) 2020 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';\n\nimport {SVGIcon, SVGIconProps} from './SVGIcon';\n\nexport const ShowIcon = (props: SVGIconProps) => (\n <SVGIcon realWidth={16} realHeight={10} {...props}>\n <path d=\"M8 0C4.667 0 1.82 2.073.667 5c1.153 2.927 4 5 7.333 5s6.18-2.073 7.333-5c-1.153-2.927-4-5-7.333-5zm0 8.333a3.334 3.334 0 010-6.666 3.334 3.334 0 010 6.666zM8 3c-1.107 0-2 .893-2 2s.893 2 2 2 2-.893 2-2-.893-2-2-2z\" />\n </SVGIcon>\n);\n"],"file":"ShowIcon.js"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[],"file":"colors-v2.d.js"}
|
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.COLOR_V2 = exports.BASE_DARK_COLOR = exports.BASE_LIGHT_COLOR = void 0;
|
|
9
|
+
|
|
10
|
+
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
11
|
+
|
|
12
|
+
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; }
|
|
13
|
+
|
|
14
|
+
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; }
|
|
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
|
+
var BASE_LIGHT_COLOR = {
|
|
35
|
+
BLUE: '#0667c8',
|
|
36
|
+
GREEN: '#1d7833',
|
|
37
|
+
PETROL: '#01718e',
|
|
38
|
+
PURPLE: '#8944ab',
|
|
39
|
+
RED: '#c20013',
|
|
40
|
+
AMBER: '#a25915'
|
|
41
|
+
};
|
|
42
|
+
exports.BASE_LIGHT_COLOR = BASE_LIGHT_COLOR;
|
|
43
|
+
var BASE_DARK_COLOR = {
|
|
44
|
+
BLUE: '#54a6ff',
|
|
45
|
+
GREEN: '#30db5b',
|
|
46
|
+
PETROL: '#5de6ff',
|
|
47
|
+
PURPLE: '#da8fff',
|
|
48
|
+
RED: '#ff7770',
|
|
49
|
+
AMBER: '#ffd426'
|
|
50
|
+
};
|
|
51
|
+
exports.BASE_DARK_COLOR = BASE_DARK_COLOR;
|
|
52
|
+
var LIGHT_BLUE = {
|
|
53
|
+
BLUE_LIGHT_50: '#e7f0fa',
|
|
54
|
+
BLUE_LIGHT_100: '#cde1f4',
|
|
55
|
+
BLUE_LIGHT_200: '#9bc2e9',
|
|
56
|
+
BLUE_LIGHT_300: '#6aa4de',
|
|
57
|
+
BLUE_LIGHT_400: '#3885d3',
|
|
58
|
+
BLUE_LIGHT_500: BASE_LIGHT_COLOR.BLUE,
|
|
59
|
+
BLUE_LIGHT_600: '#0552a0',
|
|
60
|
+
BLUE_LIGHT_700: '#043e78',
|
|
61
|
+
BLUE_LIGHT_800: '#022950',
|
|
62
|
+
BLUE_LIGHT_900: '#19324d'
|
|
63
|
+
};
|
|
64
|
+
var DARK_BLUE = {
|
|
65
|
+
BLUE_DARK_50: '#eef7ff',
|
|
66
|
+
BLUE_DARK_100: '#ddedff',
|
|
67
|
+
BLUE_DARK_200: '#bbdbff',
|
|
68
|
+
BLUE_DARK_300: '#98caff',
|
|
69
|
+
BLUE_DARK_400: '#76b8ff',
|
|
70
|
+
BLUE_DARK_500: BASE_DARK_COLOR.BLUE,
|
|
71
|
+
BLUE_DARK_600: '#4385cc',
|
|
72
|
+
BLUE_DARK_700: '#326499',
|
|
73
|
+
BLUE_DARK_800: '#224266',
|
|
74
|
+
BLUE_DARK_900: '#19324d'
|
|
75
|
+
};
|
|
76
|
+
var LIGHT_GREEN = {
|
|
77
|
+
GREEN_LIGHT_50: '#e8f1ea',
|
|
78
|
+
GREEN_LIGHT_100: '#d2e4d6',
|
|
79
|
+
GREEN_LIGHT_200: '#a5c9ad',
|
|
80
|
+
GREEN_LIGHT_300: '#77ae85',
|
|
81
|
+
GREEN_LIGHT_400: '#4a935c',
|
|
82
|
+
GREEN_LIGHT_500: BASE_LIGHT_COLOR.GREEN,
|
|
83
|
+
GREEN_LIGHT_600: '#176029',
|
|
84
|
+
GREEN_LIGHT_700: '#11481f',
|
|
85
|
+
GREEN_LIGHT_800: '#0c3014',
|
|
86
|
+
GREEN_LIGHT_900: '#0e421b'
|
|
87
|
+
};
|
|
88
|
+
var DARK_GREEN = {
|
|
89
|
+
GREEN_DARK_50: '#ebfcef',
|
|
90
|
+
GREEN_DARK_100: '#d6f8de',
|
|
91
|
+
GREEN_DARK_200: '#acf1bd',
|
|
92
|
+
GREEN_DARK_300: '#83e99d',
|
|
93
|
+
GREEN_DARK_400: '#59e27c',
|
|
94
|
+
GREEN_DARK_500: BASE_DARK_COLOR.GREEN,
|
|
95
|
+
GREEN_DARK_600: '#26af49',
|
|
96
|
+
GREEN_DARK_700: '#1d8337',
|
|
97
|
+
GREEN_DARK_800: '#135824',
|
|
98
|
+
GREEN_DARK_900: '#0e421b'
|
|
99
|
+
};
|
|
100
|
+
var LIGHT_PETROL = {
|
|
101
|
+
PETROL_LIGHT_50: '#e5f1f3',
|
|
102
|
+
PETROL_LIGHT_100: '#cce2e7',
|
|
103
|
+
PETROL_LIGHT_200: '#99c6d0',
|
|
104
|
+
PETROL_LIGHT_300: '#67a9b8',
|
|
105
|
+
PETROL_LIGHT_400: '#348da1',
|
|
106
|
+
PETROL_LIGHT_500: BASE_LIGHT_COLOR.PETROL,
|
|
107
|
+
PETROL_LIGHT_600: '#015a6e',
|
|
108
|
+
PETROL_LIGHT_700: '#014352',
|
|
109
|
+
PETROL_LIGHT_800: '#002d37',
|
|
110
|
+
PETROL_LIGHT_900: '#1c454d'
|
|
111
|
+
};
|
|
112
|
+
var DARK_PETROL = {
|
|
113
|
+
PETROL_DARK_50: '#effdff',
|
|
114
|
+
PETROL_DARK_100: '#dffaff',
|
|
115
|
+
PETROL_DARK_200: '#bef5ff',
|
|
116
|
+
PETROL_DARK_300: '#9ef0ff',
|
|
117
|
+
PETROL_DARK_400: '#7debff',
|
|
118
|
+
PETROL_DARK_500: BASE_DARK_COLOR.PETROL,
|
|
119
|
+
PETROL_DARK_600: '#4Ab8cc',
|
|
120
|
+
PETROL_DARK_700: '#388a99',
|
|
121
|
+
PETROL_DARK_800: '#255c66',
|
|
122
|
+
PETROL_DARK_900: '#1c454d'
|
|
123
|
+
};
|
|
124
|
+
var LIGHT_PURPLE = {
|
|
125
|
+
PURPLE_LIGHT_50: '#f4edf7',
|
|
126
|
+
PURPLE_LIGHT_100: '#e7daee',
|
|
127
|
+
PURPLE_LIGHT_200: '#d0b4dd',
|
|
128
|
+
PURPLE_LIGHT_300: '#b88fcd',
|
|
129
|
+
PURPLE_LIGHT_400: '#a169bc',
|
|
130
|
+
PURPLE_LIGHT_500: BASE_LIGHT_COLOR.PURPLE,
|
|
131
|
+
PURPLE_LIGHT_600: '#6e3689',
|
|
132
|
+
PURPLE_LIGHT_700: '#522967',
|
|
133
|
+
PURPLE_LIGHT_800: '#371b44',
|
|
134
|
+
PURPLE_LIGHT_900: '#412b4d'
|
|
135
|
+
};
|
|
136
|
+
var DARK_PURPLE = {
|
|
137
|
+
PURPLE_DARK_50: '#fcf4ff',
|
|
138
|
+
PURPLE_DARK_100: '#f8e9ff',
|
|
139
|
+
PURPLE_DARK_200: '#f0d2ff',
|
|
140
|
+
PURPLE_DARK_300: '#e9bcff',
|
|
141
|
+
PURPLE_DARK_400: '#e1a5ff',
|
|
142
|
+
PURPLE_DARK_500: BASE_DARK_COLOR.PURPLE,
|
|
143
|
+
PURPLE_DARK_600: '#ae72cc',
|
|
144
|
+
PURPLE_DARK_700: '#835699',
|
|
145
|
+
PURPLE_DARK_800: '#573966',
|
|
146
|
+
PURPLE_DARK_900: '#412b4d'
|
|
147
|
+
};
|
|
148
|
+
var LIGHT_RED = {
|
|
149
|
+
RED_LIGHT_50: '#f9e6e8',
|
|
150
|
+
RED_LIGHT_100: '#f3ccd0',
|
|
151
|
+
RED_LIGHT_200: '#e799a1',
|
|
152
|
+
RED_LIGHT_300: '#da6671',
|
|
153
|
+
RED_LIGHT_400: '#ce3342',
|
|
154
|
+
RED_LIGHT_500: BASE_LIGHT_COLOR.RED,
|
|
155
|
+
RED_LIGHT_600: '#9b000f',
|
|
156
|
+
RED_LIGHT_700: '#74000b',
|
|
157
|
+
RED_LIGHT_800: '#4e0008',
|
|
158
|
+
RED_LIGHT_900: '#4d2422'
|
|
159
|
+
};
|
|
160
|
+
var DARK_RED = {
|
|
161
|
+
RED_DARK_50: '#fff2f1',
|
|
162
|
+
RED_DARK_100: '#ffe4e2',
|
|
163
|
+
RED_DARK_200: '#ffc9c6',
|
|
164
|
+
RED_DARK_300: '#ffada9',
|
|
165
|
+
RED_DARK_400: '#ff928d',
|
|
166
|
+
RED_DARK_500: BASE_DARK_COLOR.RED,
|
|
167
|
+
RED_DARK_600: '#cc5f5a',
|
|
168
|
+
RED_DARK_700: '#994743',
|
|
169
|
+
RED_DARK_800: '#66302d',
|
|
170
|
+
RED_DARK_900: '#4d2422'
|
|
171
|
+
};
|
|
172
|
+
var LIGHT_AMBER = {
|
|
173
|
+
AMBER_LIGHT_50: '#f6eee8',
|
|
174
|
+
AMBER_LIGHT_100: '#ecded0',
|
|
175
|
+
AMBER_LIGHT_200: '#dabda1',
|
|
176
|
+
AMBER_LIGHT_300: '#c79b73',
|
|
177
|
+
AMBER_LIGHT_400: '#b57A44',
|
|
178
|
+
AMBER_LIGHT_500: BASE_LIGHT_COLOR.AMBER,
|
|
179
|
+
AMBER_LIGHT_600: '#824711',
|
|
180
|
+
AMBER_LIGHT_700: '#61350d',
|
|
181
|
+
AMBER_LIGHT_800: '#412408',
|
|
182
|
+
AMBER_LIGHT_900: '#201204'
|
|
183
|
+
};
|
|
184
|
+
var DARK_AMBER = {
|
|
185
|
+
AMBER_DARK_50: '#fffbea',
|
|
186
|
+
AMBER_DARK_100: '#fff6d4',
|
|
187
|
+
AMBER_DARK_200: '#ffeea8',
|
|
188
|
+
AMBER_DARK_300: '#ffe57d',
|
|
189
|
+
AMBER_DARK_400: '#ffdd51',
|
|
190
|
+
AMBER_DARK_500: BASE_DARK_COLOR.AMBER,
|
|
191
|
+
AMBER_DARK_600: '#ccaa1e',
|
|
192
|
+
AMBER_DARK_700: '#997f17',
|
|
193
|
+
AMBER_DARK_800: '#66550f',
|
|
194
|
+
AMBER_DARK_900: '#4d400b'
|
|
195
|
+
};
|
|
196
|
+
|
|
197
|
+
var DARK = _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, DARK_BLUE), DARK_GREEN), DARK_PETROL), DARK_PURPLE), DARK_RED), DARK_AMBER);
|
|
198
|
+
|
|
199
|
+
var LIGHT = _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, LIGHT_BLUE), LIGHT_GREEN), LIGHT_PETROL), LIGHT_PURPLE), LIGHT_RED), LIGHT_AMBER);
|
|
200
|
+
|
|
201
|
+
var GRAYS = {
|
|
202
|
+
GRAY_10: '#fafafa',
|
|
203
|
+
GRAY_20: '#edeff0',
|
|
204
|
+
GRAY_30: '#e5e8ea',
|
|
205
|
+
GRAY_40: '#dce0e3',
|
|
206
|
+
GRAY_50: '#cbced1',
|
|
207
|
+
GRAY_60: '#9fa1a7',
|
|
208
|
+
GRAY_70: '#676b71',
|
|
209
|
+
GRAY_80: '#54585f',
|
|
210
|
+
GRAY_90: '#34373d',
|
|
211
|
+
GRAY_95: '#26272c',
|
|
212
|
+
GRAY_100: '#17181a'
|
|
213
|
+
};
|
|
214
|
+
|
|
215
|
+
var COLOR_V2 = _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, BASE_DARK_COLOR), BASE_LIGHT_COLOR), DARK), LIGHT), GRAYS), {}, {
|
|
216
|
+
BLACK: '#000',
|
|
217
|
+
WHITE: '#fff'
|
|
218
|
+
});
|
|
219
|
+
|
|
220
|
+
exports.COLOR_V2 = COLOR_V2;
|
|
221
|
+
//# sourceMappingURL=colors-v2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["colors-v2.ts"],"names":["BASE_LIGHT_COLOR","BLUE","GREEN","PETROL","PURPLE","RED","AMBER","BASE_DARK_COLOR","LIGHT_BLUE","BLUE_LIGHT_50","BLUE_LIGHT_100","BLUE_LIGHT_200","BLUE_LIGHT_300","BLUE_LIGHT_400","BLUE_LIGHT_500","BLUE_LIGHT_600","BLUE_LIGHT_700","BLUE_LIGHT_800","BLUE_LIGHT_900","DARK_BLUE","BLUE_DARK_50","BLUE_DARK_100","BLUE_DARK_200","BLUE_DARK_300","BLUE_DARK_400","BLUE_DARK_500","BLUE_DARK_600","BLUE_DARK_700","BLUE_DARK_800","BLUE_DARK_900","LIGHT_GREEN","GREEN_LIGHT_50","GREEN_LIGHT_100","GREEN_LIGHT_200","GREEN_LIGHT_300","GREEN_LIGHT_400","GREEN_LIGHT_500","GREEN_LIGHT_600","GREEN_LIGHT_700","GREEN_LIGHT_800","GREEN_LIGHT_900","DARK_GREEN","GREEN_DARK_50","GREEN_DARK_100","GREEN_DARK_200","GREEN_DARK_300","GREEN_DARK_400","GREEN_DARK_500","GREEN_DARK_600","GREEN_DARK_700","GREEN_DARK_800","GREEN_DARK_900","LIGHT_PETROL","PETROL_LIGHT_50","PETROL_LIGHT_100","PETROL_LIGHT_200","PETROL_LIGHT_300","PETROL_LIGHT_400","PETROL_LIGHT_500","PETROL_LIGHT_600","PETROL_LIGHT_700","PETROL_LIGHT_800","PETROL_LIGHT_900","DARK_PETROL","PETROL_DARK_50","PETROL_DARK_100","PETROL_DARK_200","PETROL_DARK_300","PETROL_DARK_400","PETROL_DARK_500","PETROL_DARK_600","PETROL_DARK_700","PETROL_DARK_800","PETROL_DARK_900","LIGHT_PURPLE","PURPLE_LIGHT_50","PURPLE_LIGHT_100","PURPLE_LIGHT_200","PURPLE_LIGHT_300","PURPLE_LIGHT_400","PURPLE_LIGHT_500","PURPLE_LIGHT_600","PURPLE_LIGHT_700","PURPLE_LIGHT_800","PURPLE_LIGHT_900","DARK_PURPLE","PURPLE_DARK_50","PURPLE_DARK_100","PURPLE_DARK_200","PURPLE_DARK_300","PURPLE_DARK_400","PURPLE_DARK_500","PURPLE_DARK_600","PURPLE_DARK_700","PURPLE_DARK_800","PURPLE_DARK_900","LIGHT_RED","RED_LIGHT_50","RED_LIGHT_100","RED_LIGHT_200","RED_LIGHT_300","RED_LIGHT_400","RED_LIGHT_500","RED_LIGHT_600","RED_LIGHT_700","RED_LIGHT_800","RED_LIGHT_900","DARK_RED","RED_DARK_50","RED_DARK_100","RED_DARK_200","RED_DARK_300","RED_DARK_400","RED_DARK_500","RED_DARK_600","RED_DARK_700","RED_DARK_800","RED_DARK_900","LIGHT_AMBER","AMBER_LIGHT_50","AMBER_LIGHT_100","AMBER_LIGHT_200","AMBER_LIGHT_300","AMBER_LIGHT_400","AMBER_LIGHT_500","AMBER_LIGHT_600","AMBER_LIGHT_700","AMBER_LIGHT_800","AMBER_LIGHT_900","DARK_AMBER","AMBER_DARK_50","AMBER_DARK_100","AMBER_DARK_200","AMBER_DARK_300","AMBER_DARK_400","AMBER_DARK_500","AMBER_DARK_600","AMBER_DARK_700","AMBER_DARK_800","AMBER_DARK_900","DARK","LIGHT","GRAYS","GRAY_10","GRAY_20","GRAY_30","GRAY_40","GRAY_50","GRAY_60","GRAY_70","GRAY_80","GRAY_90","GRAY_95","GRAY_100","COLOR_V2","BLACK","WHITE"],"mappings":";;;;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEO,IAAMA,gBAAwC,GAAG;AACtDC,EAAAA,IAAI,EAAE,SADgD;AAEtDC,EAAAA,KAAK,EAAE,SAF+C;AAGtDC,EAAAA,MAAM,EAAE,SAH8C;AAItDC,EAAAA,MAAM,EAAE,SAJ8C;AAKtDC,EAAAA,GAAG,EAAE,SALiD;AAMtDC,EAAAA,KAAK,EAAE;AAN+C,CAAjD;;AASA,IAAMC,eAAuC,GAAG;AACrDN,EAAAA,IAAI,EAAE,SAD+C;AAErDC,EAAAA,KAAK,EAAE,SAF8C;AAGrDC,EAAAA,MAAM,EAAE,SAH6C;AAIrDC,EAAAA,MAAM,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B,WAJ6B,GAK7BsB,QAL6B,GAM7BsB,UAN6B,CAAlC;;AASA,IAAMY,KAA6B,2FAC9BrI,UAD8B,GAE9BsB,WAF8B,GAG9BsB,YAH8B,GAI9BsB,YAJ8B,GAK9BsB,SAL8B,GAM9BsB,WAN8B,CAAnC;;AASA,IAAMwB,KAA6B,GAAG;AACpCC,EAAAA,OAAO,EAAE,SAD2B;AAEpCC,EAAAA,OAAO,EAAE,SAF2B;AAGpCC,EAAAA,OAAO,EAAE,SAH2B;AAIpCC,EAAAA,OAAO,EAAE,SAJ2B;AAKpCC,EAAAA,OAAO,EAAE,SAL2B;AAMpCC,EAAAA,OAAO,EAAE,SAN2B;AAOpCC,EAAAA,OAAO,EAAE,SAP2B;AAQpCC,EAAAA,OAAO,EAAE,SAR2B;AASpCC,EAAAA,OAAO,EAAE,SAT2B;AAUpCC,EAAAA,OAAO,EAAE,SAV2B;AAWpCC,EAAAA,QAAQ,EAAE;AAX0B,CAAtC;;AAcO,IAAMC,QAAa,2FACrBnJ,eADqB,GAErBP,gBAFqB,GAGrB4I,IAHqB,GAIrBC,KAJqB,GAKrBC,KALqB;AAMxBa,EAAAA,KAAK,EAAE,MANiB;AAOxBC,EAAAA,KAAK,EAAE;AAPiB,EAAnB","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\nexport const BASE_LIGHT_COLOR: Record<string, string> = {\n BLUE: '#0667c8',\n GREEN: '#1d7833',\n PETROL: '#01718e',\n PURPLE: '#8944ab',\n RED: '#c20013',\n AMBER: '#a25915',\n};\n\nexport const BASE_DARK_COLOR: Record<string, string> = {\n BLUE: '#54a6ff',\n GREEN: '#30db5b',\n PETROL: '#5de6ff',\n PURPLE: '#da8fff',\n RED: '#ff7770',\n AMBER: '#ffd426',\n};\n\nconst LIGHT_BLUE: Record<string, string> = {\n BLUE_LIGHT_50: '#e7f0fa',\n BLUE_LIGHT_100: '#cde1f4',\n BLUE_LIGHT_200: '#9bc2e9',\n BLUE_LIGHT_300: '#6aa4de',\n BLUE_LIGHT_400: '#3885d3',\n BLUE_LIGHT_500: BASE_LIGHT_COLOR.BLUE,\n BLUE_LIGHT_600: '#0552a0',\n BLUE_LIGHT_700: '#043e78',\n BLUE_LIGHT_800: '#022950',\n BLUE_LIGHT_900: '#19324d',\n};\n\nconst DARK_BLUE: Record<string, string> = {\n BLUE_DARK_50: '#eef7ff',\n BLUE_DARK_100: '#ddedff',\n BLUE_DARK_200: '#bbdbff',\n BLUE_DARK_300: '#98caff',\n BLUE_DARK_400: '#76b8ff',\n BLUE_DARK_500: BASE_DARK_COLOR.BLUE,\n BLUE_DARK_600: '#4385cc',\n BLUE_DARK_700: '#326499',\n BLUE_DARK_800: '#224266',\n BLUE_DARK_900: '#19324d',\n};\n\nconst LIGHT_GREEN: Record<string, string> = {\n GREEN_LIGHT_50: '#e8f1ea',\n GREEN_LIGHT_100: '#d2e4d6',\n GREEN_LIGHT_200: '#a5c9ad',\n GREEN_LIGHT_300: '#77ae85',\n GREEN_LIGHT_400: '#4a935c',\n GREEN_LIGHT_500: BASE_LIGHT_COLOR.GREEN,\n GREEN_LIGHT_600: '#176029',\n GREEN_LIGHT_700: '#11481f',\n GREEN_LIGHT_800: '#0c3014',\n GREEN_LIGHT_900: '#0e421b',\n};\n\nconst DARK_GREEN: Record<string, string> = {\n GREEN_DARK_50: '#ebfcef',\n GREEN_DARK_100: '#d6f8de',\n GREEN_DARK_200: '#acf1bd',\n GREEN_DARK_300: '#83e99d',\n GREEN_DARK_400: '#59e27c',\n GREEN_DARK_500: BASE_DARK_COLOR.GREEN,\n GREEN_DARK_600: '#26af49',\n GREEN_DARK_700: '#1d8337',\n GREEN_DARK_800: '#135824',\n GREEN_DARK_900: '#0e421b',\n};\n\nconst LIGHT_PETROL: Record<string, string> = {\n PETROL_LIGHT_50: '#e5f1f3',\n PETROL_LIGHT_100: '#cce2e7',\n PETROL_LIGHT_200: '#99c6d0',\n PETROL_LIGHT_300: '#67a9b8',\n PETROL_LIGHT_400: '#348da1',\n PETROL_LIGHT_500: BASE_LIGHT_COLOR.PETROL,\n PETROL_LIGHT_600: '#015a6e',\n PETROL_LIGHT_700: '#014352',\n PETROL_LIGHT_800: '#002d37',\n PETROL_LIGHT_900: '#1c454d',\n};\n\nconst DARK_PETROL: Record<string, string> = {\n PETROL_DARK_50: '#effdff',\n PETROL_DARK_100: '#dffaff',\n PETROL_DARK_200: '#bef5ff',\n PETROL_DARK_300: '#9ef0ff',\n PETROL_DARK_400: '#7debff',\n PETROL_DARK_500: BASE_DARK_COLOR.PETROL,\n PETROL_DARK_600: '#4Ab8cc',\n PETROL_DARK_700: '#388a99',\n PETROL_DARK_800: '#255c66',\n PETROL_DARK_900: '#1c454d',\n};\n\nconst LIGHT_PURPLE: Record<string, string> = {\n PURPLE_LIGHT_50: '#f4edf7',\n PURPLE_LIGHT_100: '#e7daee',\n PURPLE_LIGHT_200: '#d0b4dd',\n PURPLE_LIGHT_300: '#b88fcd',\n PURPLE_LIGHT_400: '#a169bc',\n PURPLE_LIGHT_500: BASE_LIGHT_COLOR.PURPLE,\n PURPLE_LIGHT_600: '#6e3689',\n PURPLE_LIGHT_700: '#522967',\n PURPLE_LIGHT_800: '#371b44',\n PURPLE_LIGHT_900: '#412b4d',\n};\n\nconst DARK_PURPLE: Record<string, string> = {\n PURPLE_DARK_50: '#fcf4ff',\n PURPLE_DARK_100: '#f8e9ff',\n PURPLE_DARK_200: '#f0d2ff',\n PURPLE_DARK_300: '#e9bcff',\n PURPLE_DARK_400: '#e1a5ff',\n PURPLE_DARK_500: BASE_DARK_COLOR.PURPLE,\n PURPLE_DARK_600: '#ae72cc',\n PURPLE_DARK_700: '#835699',\n PURPLE_DARK_800: '#573966',\n PURPLE_DARK_900: '#412b4d',\n};\n\nconst LIGHT_RED: Record<string, string> = {\n RED_LIGHT_50: '#f9e6e8',\n RED_LIGHT_100: '#f3ccd0',\n RED_LIGHT_200: '#e799a1',\n RED_LIGHT_300: '#da6671',\n RED_LIGHT_400: '#ce3342',\n RED_LIGHT_500: BASE_LIGHT_COLOR.RED,\n RED_LIGHT_600: '#9b000f',\n RED_LIGHT_700: '#74000b',\n RED_LIGHT_800: '#4e0008',\n RED_LIGHT_900: '#4d2422',\n};\n\nconst DARK_RED: Record<string, string> = {\n RED_DARK_50: '#fff2f1',\n RED_DARK_100: '#ffe4e2',\n RED_DARK_200: '#ffc9c6',\n RED_DARK_300: '#ffada9',\n RED_DARK_400: '#ff928d',\n RED_DARK_500: BASE_DARK_COLOR.RED,\n RED_DARK_600: '#cc5f5a',\n RED_DARK_700: '#994743',\n RED_DARK_800: '#66302d',\n RED_DARK_900: '#4d2422',\n};\n\nconst LIGHT_AMBER: Record<string, string> = {\n AMBER_LIGHT_50: '#f6eee8',\n AMBER_LIGHT_100: '#ecded0',\n AMBER_LIGHT_200: '#dabda1',\n AMBER_LIGHT_300: '#c79b73',\n AMBER_LIGHT_400: '#b57A44',\n AMBER_LIGHT_500: BASE_LIGHT_COLOR.AMBER,\n AMBER_LIGHT_600: '#824711',\n AMBER_LIGHT_700: '#61350d',\n AMBER_LIGHT_800: '#412408',\n AMBER_LIGHT_900: '#201204',\n};\n\nconst DARK_AMBER: Record<string, string> = {\n AMBER_DARK_50: '#fffbea',\n AMBER_DARK_100: '#fff6d4',\n AMBER_DARK_200: '#ffeea8',\n AMBER_DARK_300: '#ffe57d',\n AMBER_DARK_400: '#ffdd51',\n AMBER_DARK_500: BASE_DARK_COLOR.AMBER,\n AMBER_DARK_600: '#ccaa1e',\n AMBER_DARK_700: '#997f17',\n AMBER_DARK_800: '#66550f',\n AMBER_DARK_900: '#4d400b',\n};\n\nconst DARK: Record<string, string> = {\n ...DARK_BLUE,\n ...DARK_GREEN,\n ...DARK_PETROL,\n ...DARK_PURPLE,\n ...DARK_RED,\n ...DARK_AMBER,\n};\n\nconst LIGHT: Record<string, string> = {\n ...LIGHT_BLUE,\n ...LIGHT_GREEN,\n ...LIGHT_PETROL,\n ...LIGHT_PURPLE,\n ...LIGHT_RED,\n ...LIGHT_AMBER,\n};\n\nconst GRAYS: Record<string, string> = {\n GRAY_10: '#fafafa',\n GRAY_20: '#edeff0',\n GRAY_30: '#e5e8ea',\n GRAY_40: '#dce0e3',\n GRAY_50: '#cbced1',\n GRAY_60: '#9fa1a7',\n GRAY_70: '#676b71',\n GRAY_80: '#54585f',\n GRAY_90: '#34373d',\n GRAY_95: '#26272c',\n GRAY_100: '#17181a',\n};\n\nexport const COLOR_V2: any = {\n ...BASE_DARK_COLOR,\n ...BASE_LIGHT_COLOR,\n ...DARK,\n ...LIGHT,\n ...GRAYS,\n BLACK: '#000',\n WHITE: '#fff',\n};\n"],"file":"colors-v2.js"}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
```js
|
|
2
|
+
/** @jsx jsx */
|
|
3
|
+
import {jsx} from '@emotion/react';
|
|
4
|
+
import {COLOR, Container, H1, H2, H3, Line} from '@wireapp/react-ui-kit';
|
|
5
|
+
import Color from 'color';
|
|
6
|
+
import {COLOR_V2 as Colors, BASE_LIGHT_COLOR, BASE_DARK_COLOR} from './colors-v2';
|
|
7
|
+
|
|
8
|
+
const colorElementStyle = props => ({
|
|
9
|
+
'&::after': {
|
|
10
|
+
alignItems: 'center',
|
|
11
|
+
color: '#fff',
|
|
12
|
+
content: 'attr(data-text)',
|
|
13
|
+
display: 'flex',
|
|
14
|
+
fontSize: '10px',
|
|
15
|
+
fontWeight: 600,
|
|
16
|
+
height: '100%',
|
|
17
|
+
justifyContent: 'center',
|
|
18
|
+
opacity: 0,
|
|
19
|
+
position: 'absolute',
|
|
20
|
+
textAlign: 'center',
|
|
21
|
+
textShadow: '#000 0 0 2px',
|
|
22
|
+
transform: 'scale(1.2)',
|
|
23
|
+
transition: 'all 0.2s ease-in-out',
|
|
24
|
+
whiteSpace: 'pre-wrap',
|
|
25
|
+
width: '100%',
|
|
26
|
+
zIndex: 1,
|
|
27
|
+
},
|
|
28
|
+
'&:hover::after': {
|
|
29
|
+
opacity: 1,
|
|
30
|
+
transform: 'scale(1)',
|
|
31
|
+
},
|
|
32
|
+
cursor: 'pointer',
|
|
33
|
+
backgroundColor: props.backgroundColor,
|
|
34
|
+
border: '1px solid black',
|
|
35
|
+
borderRadius: '40px',
|
|
36
|
+
display: 'inline-block',
|
|
37
|
+
height: '80px',
|
|
38
|
+
position: 'relative',
|
|
39
|
+
width: '80px',
|
|
40
|
+
});
|
|
41
|
+
|
|
42
|
+
const ColorElement = ({name, backgroundColor}) => {
|
|
43
|
+
return (
|
|
44
|
+
<div
|
|
45
|
+
onClick={() => navigator.clipboard.writeText(backgroundColor)}
|
|
46
|
+
css={colorElementStyle({backgroundColor})}
|
|
47
|
+
data-text={`${name}\n${backgroundColor}`}
|
|
48
|
+
/>
|
|
49
|
+
);
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
const filterAndRenderColors = colorToFilter =>
|
|
53
|
+
Object.entries(Colors)
|
|
54
|
+
.filter(([name]) => name.includes(colorToFilter))
|
|
55
|
+
.map(([name, color]) => <ColorElement key={name} name={name} backgroundColor={color} />);
|
|
56
|
+
|
|
57
|
+
<Container>
|
|
58
|
+
<H2>Light UI</H2>
|
|
59
|
+
<H3>Main Accent Colors</H3>
|
|
60
|
+
|
|
61
|
+
{Object.entries(BASE_LIGHT_COLOR).map(([name, color]) => (
|
|
62
|
+
<ColorElement key={name} name={name} backgroundColor={color} />
|
|
63
|
+
))}
|
|
64
|
+
|
|
65
|
+
<H3>Blue</H3>
|
|
66
|
+
{filterAndRenderColors('BLUE_LIGHT')}
|
|
67
|
+
|
|
68
|
+
<H3>Green</H3>
|
|
69
|
+
{filterAndRenderColors('GREEN_LIGHT')}
|
|
70
|
+
|
|
71
|
+
<H3>Petrol</H3>
|
|
72
|
+
{filterAndRenderColors('PETROL_LIGHT')}
|
|
73
|
+
|
|
74
|
+
<H3>Purple</H3>
|
|
75
|
+
{filterAndRenderColors('PURPLE_LIGHT')}
|
|
76
|
+
|
|
77
|
+
<H3>Red</H3>
|
|
78
|
+
{filterAndRenderColors('RED_LIGHT')}
|
|
79
|
+
|
|
80
|
+
<H3>Amber</H3>
|
|
81
|
+
{filterAndRenderColors('AMBER_LIGHT')}
|
|
82
|
+
|
|
83
|
+
<H2>Dark UI</H2>
|
|
84
|
+
<H3>Main Accent Colors</H3>
|
|
85
|
+
|
|
86
|
+
{Object.entries(BASE_DARK_COLOR).map(([name, color]) => (
|
|
87
|
+
<ColorElement key={name} name={name} backgroundColor={color} />
|
|
88
|
+
))}
|
|
89
|
+
|
|
90
|
+
<H3>Blue</H3>
|
|
91
|
+
{filterAndRenderColors('BLUE_DARK')}
|
|
92
|
+
|
|
93
|
+
<H3>Green</H3>
|
|
94
|
+
{filterAndRenderColors('GREEN_DARK')}
|
|
95
|
+
|
|
96
|
+
<H3>Petrol</H3>
|
|
97
|
+
{filterAndRenderColors('PETROL_DARK')}
|
|
98
|
+
|
|
99
|
+
<H3>Purple</H3>
|
|
100
|
+
{filterAndRenderColors('PURPLE_DARK')}
|
|
101
|
+
|
|
102
|
+
<H3>Red</H3>
|
|
103
|
+
{filterAndRenderColors('RED_DARK')}
|
|
104
|
+
|
|
105
|
+
<H3>Amber</H3>
|
|
106
|
+
{filterAndRenderColors('AMBER_DARK')}
|
|
107
|
+
|
|
108
|
+
<H2>Grays</H2>
|
|
109
|
+
{filterAndRenderColors('GRAY')}
|
|
110
|
+
</Container>;
|
|
111
|
+
```
|
package/src/Identity/index.d.js
CHANGED
|
@@ -56,6 +56,19 @@ Object.keys(_colors).forEach(function (key) {
|
|
|
56
56
|
});
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
+
var _colorsV = require("./colors-v2");
|
|
60
|
+
|
|
61
|
+
Object.keys(_colorsV).forEach(function (key) {
|
|
62
|
+
if (key === "default" || key === "__esModule") return;
|
|
63
|
+
if (key in exports && exports[key] === _colorsV[key]) return;
|
|
64
|
+
Object.defineProperty(exports, key, {
|
|
65
|
+
enumerable: true,
|
|
66
|
+
get: function get() {
|
|
67
|
+
return _colorsV[key];
|
|
68
|
+
}
|
|
69
|
+
});
|
|
70
|
+
});
|
|
71
|
+
|
|
59
72
|
var _Logo = require("./Logo");
|
|
60
73
|
|
|
61
74
|
Object.keys(_Logo).forEach(function (key) {
|
|
@@ -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","sourcesContent":["export * from './Animation';\nexport * from './Avatar';\nexport * from './AvatarGrid';\nexport * from './colors';\nexport * from './Logo';\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","sourcesContent":["export * from './Animation';\nexport * from './Avatar';\nexport * from './AvatarGrid';\nexport * from './colors';\nexport * from './colors-v2';\nexport * from './Logo';\n"],"file":"index.d.js"}
|
package/src/Identity/index.d.ts
CHANGED
package/src/Identity/index.js
CHANGED
|
@@ -56,6 +56,19 @@ Object.keys(_colors).forEach(function (key) {
|
|
|
56
56
|
});
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
+
var _colorsV = require("./colors-v2");
|
|
60
|
+
|
|
61
|
+
Object.keys(_colorsV).forEach(function (key) {
|
|
62
|
+
if (key === "default" || key === "__esModule") return;
|
|
63
|
+
if (key in exports && exports[key] === _colorsV[key]) return;
|
|
64
|
+
Object.defineProperty(exports, key, {
|
|
65
|
+
enumerable: true,
|
|
66
|
+
get: function get() {
|
|
67
|
+
return _colorsV[key];
|
|
68
|
+
}
|
|
69
|
+
});
|
|
70
|
+
});
|
|
71
|
+
|
|
59
72
|
var _Logo = require("./Logo");
|
|
60
73
|
|
|
61
74
|
Object.keys(_Logo).forEach(function (key) {
|
|
@@ -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","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 './Animation';\nexport * from './Avatar';\nexport * from './AvatarGrid';\nexport * from './colors';\nexport * from './Logo';\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","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 './Animation';\nexport * from './Avatar';\nexport * from './AvatarGrid';\nexport * from './colors';\nexport * from './colors-v2';\nexport * from './Logo';\n"],"file":"index.js"}
|