@rescui/icons 0.11.3 → 0.12.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/lib/index.css +6 -6
- package/lib/index.css.js +6 -6
- package/lib/index.css.js.map +1 -1
- package/lib/twitter.js +1 -1
- package/lib/twitter.js.map +1 -1
- package/package.json +5 -5
- package/svg/twitter.svg +1 -1
package/lib/index.css
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
.
|
|
1
|
+
._icon_nqd636_3{
|
|
2
2
|
fill:currentcolor;
|
|
3
3
|
}
|
|
4
|
-
.
|
|
4
|
+
._sizeS_nqd636_7{
|
|
5
5
|
width:20px;
|
|
6
6
|
height:20px;
|
|
7
7
|
}
|
|
8
|
-
.
|
|
8
|
+
._sizeM_nqd636_12{
|
|
9
9
|
width:24px;
|
|
10
10
|
height:24px;
|
|
11
11
|
}
|
|
12
|
-
.
|
|
12
|
+
._sizeL_nqd636_17{
|
|
13
13
|
width:28px;
|
|
14
14
|
height:28px;
|
|
15
15
|
}
|
|
16
|
-
.
|
|
16
|
+
._light_nqd636_22{
|
|
17
17
|
fill:#19191C;
|
|
18
18
|
}
|
|
19
|
-
.
|
|
19
|
+
._dark_nqd636_26{
|
|
20
20
|
fill:#FFFFFF;
|
|
21
21
|
}
|
|
22
22
|
@-webkit-keyframes rs-icon-rotate{
|
package/lib/index.css.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export default {
|
|
2
|
-
"icon": "
|
|
3
|
-
"sizeS": "
|
|
4
|
-
"sizeM": "
|
|
5
|
-
"sizeL": "
|
|
6
|
-
"light": "
|
|
7
|
-
"dark": "
|
|
2
|
+
"icon": "_icon_nqd636_3",
|
|
3
|
+
"sizeS": "_sizeS_nqd636_7",
|
|
4
|
+
"sizeM": "_sizeM_nqd636_12",
|
|
5
|
+
"sizeL": "_sizeL_nqd636_17",
|
|
6
|
+
"light": "_light_nqd636_22",
|
|
7
|
+
"dark": "_dark_nqd636_26"
|
|
8
8
|
};
|
|
9
9
|
//# sourceMappingURL=index.css.js.map
|
package/lib/index.css.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.css.js","names":[],"sources":["index.css.js"],"sourcesContent":["export default {\"icon\":\"
|
|
1
|
+
{"version":3,"file":"index.css.js","names":[],"sources":["index.css.js"],"sourcesContent":["export default {\"icon\":\"_icon_nqd636_3\",\"sizeS\":\"_sizeS_nqd636_7\",\"sizeM\":\"_sizeM_nqd636_12\",\"sizeL\":\"_sizeL_nqd636_17\",\"light\":\"_light_nqd636_22\",\"dark\":\"_dark_nqd636_26\"}"],"mappings":"AAAA,eAAe;EAAC,QAAO,gBAAR;EAAyB,SAAQ,iBAAjC;EAAmD,SAAQ,kBAA3D;EAA8E,SAAQ,kBAAtF;EAAyG,SAAQ,kBAAjH;EAAoI,QAAO;AAA3I,CAAf"}
|
package/lib/twitter.js
CHANGED
|
@@ -28,7 +28,7 @@ var TwitterIcon = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
28
28
|
className: cn(styles.icon, styles[theme], sizeStyles[size], className),
|
|
29
29
|
ref: ref
|
|
30
30
|
}), /*#__PURE__*/React.createElement("path", {
|
|
31
|
-
d: "
|
|
31
|
+
d: "M13.317 10.775L19.146 4h-1.381l-5.061 5.883L8.662 4H4l6.112 8.896L4 20h1.381l5.344-6.212L14.994 20h4.662l-6.339-9.225zm-1.891 2.199l-.62-.886L5.88 5.04H8l3.977 5.688.62.886 5.168 7.393h-2.121l-4.218-6.033z"
|
|
32
32
|
}));
|
|
33
33
|
});
|
|
34
34
|
TwitterIcon.propTypes = {
|
package/lib/twitter.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"twitter.js","names":["React","PropTypes","cn","styles","sizeStyles","sizeS","sizeM","sizeL","Size","TwitterIcon","forwardRef","ref","theme","size","className","props","icon","propTypes","string","oneOf","defaultProps"],"sources":["twitter.js"],"sourcesContent":["\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport cn from 'classnames';\n\nimport styles from './index.p.css';\n\nconst sizeStyles = {\n \"s\": styles.sizeS,\"m\": styles.sizeM,\"l\": styles.sizeL\n}\n\nexport const Size = {\n \"s\": \"s\",\"m\": \"m\",\"l\": \"l\"\n};\n\nconst TwitterIcon = React.forwardRef(\n ({ theme, size, className, ...props }, ref) => {return (<svg viewBox=\"0 0 24 24\" {...props} className={cn(styles.icon, styles[theme], sizeStyles[size], className)} ref={ref}><path d=\"
|
|
1
|
+
{"version":3,"file":"twitter.js","names":["React","PropTypes","cn","styles","sizeStyles","sizeS","sizeM","sizeL","Size","TwitterIcon","forwardRef","ref","theme","size","className","props","icon","propTypes","string","oneOf","defaultProps"],"sources":["twitter.js"],"sourcesContent":["\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport cn from 'classnames';\n\nimport styles from './index.p.css';\n\nconst sizeStyles = {\n \"s\": styles.sizeS,\"m\": styles.sizeM,\"l\": styles.sizeL\n}\n\nexport const Size = {\n \"s\": \"s\",\"m\": \"m\",\"l\": \"l\"\n};\n\nconst TwitterIcon = React.forwardRef(\n ({ theme, size, className, ...props }, ref) => {return (<svg viewBox=\"0 0 24 24\" {...props} className={cn(styles.icon, styles[theme], sizeStyles[size], className)} ref={ref}><path d=\"M13.317 10.775L19.146 4h-1.381l-5.061 5.883L8.662 4H4l6.112 8.896L4 20h1.381l5.344-6.212L14.994 20h4.662l-6.339-9.225zm-1.891 2.199l-.62-.886L5.88 5.04H8l3.977 5.688.62.886 5.168 7.393h-2.121l-4.218-6.033z\" /></svg>)}\n);\n\nTwitterIcon.propTypes = {\n className: PropTypes.string,\n theme: PropTypes.oneOf([\"light\", \"dark\"]),\n size: PropTypes.oneOf([\"s\", \"m\", \"l\"])\n};\n\nTwitterIcon.defaultProps = {\n size: \"m\"\n};\n\nexport default TwitterIcon;"],"mappings":";;;AACA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,S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3
|
-
"version": "0.
|
|
3
|
+
"version": "0.12.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "JetBrains",
|
|
@@ -30,10 +30,10 @@
|
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@rescui/babel-plugin-postcss-modules": "^0.0.3",
|
|
33
|
-
"@rescui/colors": "^0.1.
|
|
33
|
+
"@rescui/colors": "^0.1.8",
|
|
34
34
|
"@rescui/postcss-preset-library": "^0.1.1",
|
|
35
|
-
"@rescui/scripts": "^0.2.
|
|
36
|
-
"@rescui/typography": "^0.10.
|
|
35
|
+
"@rescui/scripts": "^0.2.2",
|
|
36
|
+
"@rescui/typography": "^0.10.3",
|
|
37
37
|
"postcss-modules": "^4.0.0",
|
|
38
38
|
"postsvg": "2.2.7",
|
|
39
39
|
"react-copy-to-clipboard": "^5.0.3"
|
|
@@ -42,5 +42,5 @@
|
|
|
42
42
|
"build": "yarn run svg-to-jsx && rescui-scripts postcss --no-clean-out --config=build.postcss.config.js && rescui-scripts babel --src=lib --out=lib --no-clean-out",
|
|
43
43
|
"svg-to-jsx": "rescui-scripts svg-to-jsx --src=svg --out=lib --template=template.js --ts-template=ts-template.js --typings-dir=lib"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "b8c3183110f4c518e1718ec7c9bdfaa2d4c7ff36"
|
|
46
46
|
}
|
package/svg/twitter.svg
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"><path d="
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"><path d="M13.317 10.775L19.146 4h-1.381l-5.061 5.883L8.662 4H4l6.112 8.896L4 20h1.381l5.344-6.212L14.994 20h4.662l-6.339-9.225zm-1.891 2.199l-.62-.886L5.88 5.04H8l3.977 5.688.62.886 5.168 7.393h-2.121l-4.218-6.033z"/></svg>
|