@megafon/ui-core 2.0.0 → 2.1.3
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 +55 -0
- package/dist/es/colors/ColorItem/ColorItem.css +52 -0
- package/dist/es/colors/ColorItem/ColorItem.d.ts +12 -0
- package/dist/es/colors/ColorItem/ColorItem.js +35 -0
- package/dist/es/colors/Colors.css +203 -32
- package/dist/es/colors/Colors.js +243 -35
- package/dist/es/colors/colorsData.d.ts +20 -7
- package/dist/es/colors/colorsData.js +204 -61
- package/dist/es/components/Banner/BannerDot.css +2 -2
- package/dist/es/components/Button/Button.css +11 -11
- package/dist/es/components/Button/Button.js +11 -4
- package/dist/es/components/Carousel/Carousel.css +1 -1
- package/dist/es/components/Carousel/Carousel.js +6 -1
- package/dist/es/components/ContentArea/ContentArea.css +4 -0
- package/dist/es/components/ContentArea/ContentArea.d.ts +13 -9
- package/dist/es/components/ContentArea/ContentArea.js +39 -6
- package/dist/es/components/Counter/Counter.css +3 -3
- package/dist/es/components/NavArrow/NavArrow.css +1 -1
- package/dist/es/components/Notification/Notification.css +10 -19
- package/dist/es/components/Paragraph/Paragraph.css +2 -0
- package/dist/es/components/Paragraph/Paragraph.d.ts +17 -1
- package/dist/es/components/Paragraph/Paragraph.js +40 -1
- package/dist/es/components/Tabs/Tab.d.ts +2 -0
- package/dist/es/components/Tabs/Tabs.css +2 -2
- package/dist/es/components/Tabs/Tabs.d.ts +2 -0
- package/dist/es/components/Tabs/Tabs.js +12 -2
- package/dist/es/components/TextField/TextField.js +8 -3
- package/dist/lib/colors/ColorItem/ColorItem.css +52 -0
- package/dist/lib/colors/ColorItem/ColorItem.d.ts +12 -0
- package/dist/lib/colors/ColorItem/ColorItem.js +50 -0
- package/dist/lib/colors/Colors.css +203 -32
- package/dist/lib/colors/Colors.js +250 -36
- package/dist/lib/colors/colorsData.d.ts +20 -7
- package/dist/lib/colors/colorsData.js +204 -61
- package/dist/lib/components/Banner/BannerDot.css +2 -2
- package/dist/lib/components/Button/Button.css +11 -11
- package/dist/lib/components/Button/Button.js +12 -4
- package/dist/lib/components/Carousel/Carousel.css +1 -1
- package/dist/lib/components/Carousel/Carousel.js +6 -1
- package/dist/lib/components/ContentArea/ContentArea.css +4 -0
- package/dist/lib/components/ContentArea/ContentArea.d.ts +13 -9
- package/dist/lib/components/ContentArea/ContentArea.js +42 -6
- package/dist/lib/components/Counter/Counter.css +3 -3
- package/dist/lib/components/NavArrow/NavArrow.css +1 -1
- package/dist/lib/components/Notification/Notification.css +10 -19
- package/dist/lib/components/Paragraph/Paragraph.css +2 -0
- package/dist/lib/components/Paragraph/Paragraph.d.ts +17 -1
- package/dist/lib/components/Paragraph/Paragraph.js +44 -1
- package/dist/lib/components/Tabs/Tab.d.ts +2 -0
- package/dist/lib/components/Tabs/Tabs.css +2 -2
- package/dist/lib/components/Tabs/Tabs.d.ts +2 -0
- package/dist/lib/components/Tabs/Tabs.js +12 -2
- package/dist/lib/components/TextField/TextField.js +8 -3
- package/package.json +4 -3
- package/styles/base.less +87 -39
package/dist/es/colors/Colors.js
CHANGED
|
@@ -1,51 +1,259 @@
|
|
|
1
|
+
import "core-js/modules/es.symbol";
|
|
2
|
+
import "core-js/modules/es.symbol.description";
|
|
1
3
|
import "core-js/modules/es.array.map";
|
|
2
4
|
import "core-js/modules/es.function.name";
|
|
5
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
3
6
|
import * as React from 'react';
|
|
4
7
|
import { cnCreate } from '@megafon/ui-helpers';
|
|
8
|
+
import Grid from "../components/Grid/Grid";
|
|
9
|
+
import GridColumn from "../components/Grid/GridColumn";
|
|
5
10
|
import Header from "../components/Header/Header";
|
|
6
11
|
import Paragraph from "../components/Paragraph/Paragraph";
|
|
12
|
+
import Tile from "../components/Tile/Tile";
|
|
13
|
+
import ColorItem from "./ColorItem/ColorItem";
|
|
14
|
+
import colorsData from "./colorsData";
|
|
7
15
|
import "./Colors.css";
|
|
8
|
-
|
|
16
|
+
|
|
17
|
+
var Diagram = function Diagram(props) {
|
|
18
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
19
|
+
viewBox: "0 0 259 259",
|
|
20
|
+
fill: "none"
|
|
21
|
+
}, props), /*#__PURE__*/React.createElement("path", {
|
|
22
|
+
d: "M74.979 12.036a129.498 129.498 0 01113.346 2.096L129.5 129.5 74.979 12.036z",
|
|
23
|
+
fill: "#DDFFEC"
|
|
24
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
25
|
+
d: "M188.067 14a129.507 129.507 0 0167.808 87.225L129.5 129.5 188.067 14z",
|
|
26
|
+
fill: "#E1FAFF"
|
|
27
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
28
|
+
d: "M255.835 101.043a129.504 129.504 0 01-25.217 109.361L129.5 129.5l126.335-28.457z",
|
|
29
|
+
fill: "#EBEAFF"
|
|
30
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
31
|
+
d: "M230.817 210.154A129.494 129.494 0 01129.774 259l-.274-129.5 101.317 80.654z",
|
|
32
|
+
fill: "#FEF"
|
|
33
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
34
|
+
d: "M129.5 259a129.492 129.492 0 01-101.147-48.632L129.5 129.5V259z",
|
|
35
|
+
fill: "#FFC5C9"
|
|
36
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
37
|
+
d: "M28.086 210.032A129.496 129.496 0 013.271 100.58L129.5 129.5 28.086 210.032z",
|
|
38
|
+
fill: "#FFCFC7"
|
|
39
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
40
|
+
d: "M3.377 100.121A129.5 129.5 0 0174.799 12.12L129.5 129.5 3.377 100.121z",
|
|
41
|
+
fill: "#FFEDD1"
|
|
42
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
43
|
+
d: "M84.367 32.023a107.694 107.694 0 0194.259 1.742l-48.919 95.942-45.34-97.684z",
|
|
44
|
+
fill: "#0CDC78"
|
|
45
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
46
|
+
d: "M178.411 33.656a107.684 107.684 0 0156.391 72.537l-105.095 23.514 48.704-96.05z",
|
|
47
|
+
fill: "#62E3FF"
|
|
48
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
49
|
+
d: "M234.768 106.042a107.682 107.682 0 01-.122 47.862 107.683 107.683 0 01-20.849 43.083l-84.09-67.28 105.061-23.665z",
|
|
50
|
+
fill: "#554FC9"
|
|
51
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
52
|
+
d: "M213.963 196.779a107.683 107.683 0 01-84.028 40.621l-.228-107.693 84.256 67.072z",
|
|
53
|
+
fill: "#AA67C1"
|
|
54
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
55
|
+
d: "M129.707 237.4a107.693 107.693 0 01-84.115-40.443l84.115-67.25V237.4z",
|
|
56
|
+
fill: "#F8505D"
|
|
57
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
58
|
+
d: "M45.37 196.678a107.694 107.694 0 01-20.637-91.022l104.974 24.051-84.337 66.971z",
|
|
59
|
+
fill: "#FF765D"
|
|
60
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
61
|
+
d: "M24.821 105.275a107.695 107.695 0 0159.396-73.182l45.49 97.614-104.886-24.432z",
|
|
62
|
+
fill: "#FFB945"
|
|
63
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
64
|
+
d: "M93.146 51.187a86.327 86.327 0 0175.559 1.397l-39.214 76.907-36.345-78.304z",
|
|
65
|
+
fill: "#00B956"
|
|
66
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
67
|
+
d: "M168.533 52.496a86.332 86.332 0 0145.202 58.146l-84.244 18.849 39.042-76.995z",
|
|
68
|
+
fill: "#5BD9E5"
|
|
69
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
70
|
+
d: "M213.708 110.521a86.325 86.325 0 01-16.81 72.902l-67.407-53.932 84.217-18.97z",
|
|
71
|
+
fill: "#444189"
|
|
72
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
73
|
+
d: "M197.031 183.256a86.314 86.314 0 01-67.357 32.562l-.183-86.327 67.54 53.765z",
|
|
74
|
+
fill: "#731982"
|
|
75
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
76
|
+
d: "M129.491 215.818a86.326 86.326 0 01-67.427-32.419l67.427-53.908v86.327z",
|
|
77
|
+
fill: "#F62434"
|
|
78
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
79
|
+
d: "M61.886 183.175a86.325 86.325 0 01-16.542-72.963l84.147 19.279-67.605 53.684z",
|
|
80
|
+
fill: "#EB5A40"
|
|
81
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
82
|
+
d: "M45.414 109.906a86.327 86.327 0 0147.612-58.663l36.465 78.248-84.077-19.585z",
|
|
83
|
+
fill: "#FFA717"
|
|
84
|
+
}), /*#__PURE__*/React.createElement("ellipse", {
|
|
85
|
+
cx: 129.491,
|
|
86
|
+
cy: 129.707,
|
|
87
|
+
rx: 60.429,
|
|
88
|
+
ry: 60.645,
|
|
89
|
+
fill: "#fff"
|
|
90
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
91
|
+
d: "M124.234 14h3.832v-.568h-2.76l1.576-1.536c.704-.688 1.152-1.376 1.152-2.08 0-.984-.672-1.608-1.728-1.608-1.088 0-1.768.712-1.856 1.832h.648c.112-.896.544-1.272 1.208-1.272.648 0 1.024.384 1.024 1.024 0 .584-.304 1.104-.824 1.656l-2.272 2.392V14zm6.991.072c1.408 0 2.216-1.12 2.216-2.784v-.32c0-1.632-.824-2.76-2.232-2.76-1.4 0-2.256 1.088-2.256 2.776v.32c0 1.664.904 2.768 2.272 2.768zm0-.576c-.952 0-1.56-.752-1.56-2.2v-.32c0-1.408.576-2.208 1.544-2.208.968 0 1.528.864 1.528 2.192v.32c0 1.448-.512 2.216-1.512 2.216zM242.602 153.771l-.992 3.702.548.147.715-2.666 1.076 1.92c.482.858 1.031 1.469 1.711 1.651.95.254 1.727-.233 2-1.253.282-1.051-.23-1.892-1.289-2.267l-.168.626c.837.34 1.088.854.916 1.496-.168.626-.636.89-1.254.724-.564-.151-.988-.579-1.386-1.225l-1.723-2.813-.154-.042zm-1.879 6.734c-.365 1.36.508 2.43 2.115 2.861l.309.083c1.577.422 2.88-.082 3.244-1.442.362-1.352-.467-2.46-2.097-2.897l-.31-.083c-1.607-.431-2.907.157-3.261 1.478zm.556.149c.247-.919 1.13-1.312 2.529-.937l.309.083c1.36.364 1.984 1.127 1.733 2.062-.25.935-1.23 1.253-2.513.909l-.309-.083c-1.398-.375-2.008-1.068-1.749-2.034zM187.685 228.41l-3.369 1.827.271.499 2.426-1.315-.653 2.101c-.291.94-.357 1.759-.021 2.378.469.865 1.357 1.093 2.285.59.957-.519 1.215-1.469.759-2.495l-.57.308c.329.841.128 1.378-.456 1.694-.569.309-1.083.151-1.388-.412-.278-.513-.259-1.115-.065-1.848l.857-3.186-.076-.141zm-6.18 3.269c-1.237.671-1.414 2.041-.621 3.504l.153.281c.778 1.435 2.04 2.034 3.277 1.362 1.231-.667 1.465-2.031.661-3.515l-.153-.282c-.793-1.462-2.114-2.002-3.317-1.35zm.275.506c.837-.453 1.73-.082 2.42 1.191l.152.281c.672 1.238.547 2.216-.304 2.677-.851.462-1.756-.031-2.389-1.199l-.152-.281c-.69-1.273-.606-2.192.273-2.669zM82.243 235.09l-3.422-1.724-.256.507 2.465 1.242-2.099.663c-.938.298-1.647.711-1.964 1.339-.443.879-.123 1.739.82 2.214.971.489 1.899.159 2.481-.801l-.578-.292c-.503.75-1.058.891-1.651.593-.58-.292-.742-.804-.454-1.376.263-.521.768-.849 1.48-1.108l3.106-1.114.072-.143zm-6.21-3.209c-1.258-.634-2.484.003-3.233 1.489l-.144.286c-.734 1.458-.505 2.836.752 3.469 1.25.63 2.504.043 3.264-1.464l.144-.286c.748-1.486.438-2.879-.784-3.494zm-.26.514c.85.429 1.055 1.374.403 2.667l-.144.286c-.633 1.257-1.507 1.713-2.372 1.277-.864-.435-.976-1.459-.378-2.645l.144-.286c.651-1.293 1.454-1.749 2.347-1.299zM18.766 161.137l-.845-3.738-.555.126.61 2.692-1.846-1.199c-.827-.534-1.597-.82-2.283-.664-.96.217-1.42 1.01-1.188 2.04.24 1.061 1.085 1.567 2.197 1.406l-.143-.632c-.899.088-1.36-.25-1.507-.898-.143-.632.148-1.083.773-1.224.57-.129 1.143.053 1.796.438l2.835 1.688.156-.035zm-1.472-6.834c-.31-1.374-1.581-1.915-3.204-1.547l-.313.07c-1.591.36-2.51 1.413-2.2 2.786.31 1.366 1.56 1.96 3.206 1.588l.312-.071c1.623-.367 2.5-1.492 2.199-2.826zm-.562.127c.21.928-.39 1.687-1.802 2.007l-.312.07c-1.373.311-2.28-.074-2.494-1.019-.213-.944.506-1.68 1.801-1.973l.312-.071c1.412-.319 2.275.01 2.495.986zM35.376 63.414l2.323-3.048-.452-.344-1.673 2.195-.267-2.184c-.12-.977-.396-1.75-.956-2.177-.783-.597-1.686-.44-2.326.4-.66.865-.505 1.837.332 2.586l.393-.515c-.645-.632-.682-1.204-.28-1.732.393-.515.926-.582 1.435-.194.465.354.694.911.818 1.66l.526 3.256.127.097zm4.294-5.517c.853-1.12.452-2.441-.871-3.45l-.255-.194c-1.298-.989-2.695-1.017-3.548.103-.848 1.113-.502 2.454.84 3.477l.256.194c1.323 1.008 2.75.958 3.578-.13zm-.458-.349c-.577.757-1.544.785-2.695-.092l-.255-.194c-1.12-.854-1.407-1.797-.82-2.567.586-.77 1.613-.691 2.67.113l.254.194c1.151.878 1.452 1.75.846 2.546zM214.977 52.57l2.473 2.927.434-.367-1.781-2.108 2.19.213c.98.093 1.795-.009 2.332-.463.752-.635.795-1.551.113-2.358-.702-.83-1.685-.89-2.597-.235l.418.495c.757-.493 1.323-.405 1.751.102.419.495.368 1.03-.121 1.443-.446.377-1.039.48-1.796.44l-3.294-.192-.122.103zm4.457 5.386c.909 1.075 2.286.97 3.557-.104l.244-.207c1.247-1.053 1.577-2.41.668-3.486-.904-1.07-2.287-1.021-3.577.069l-.244.206c-1.271 1.074-1.531 2.477-.648 3.522zm.44-.372c-.614-.727-.432-1.677.674-2.611l.244-.207c1.075-.909 2.058-.985 2.683-.246.625.74.326 1.725-.688 2.582l-.244.207c-1.106.934-2.023 1.04-2.669.275z",
|
|
92
|
+
fill: "#333",
|
|
93
|
+
fillOpacity: 0.5
|
|
94
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
95
|
+
d: "M126.819 36.072c.968 0 1.968-.568 1.968-1.712 0-.736-.432-1.232-1.096-1.472.528-.232.88-.632.88-1.208 0-.896-.864-1.472-1.752-1.472-.88 0-1.76.56-1.76 1.488 0 .56.32.992.864 1.2-.608.216-1.08.712-1.08 1.48 0 1.136 1.04 1.696 1.976 1.696zm.024-3.424c-.584 0-1.08-.344-1.08-.944 0-.592.464-.952 1.056-.952.592 0 1.048.384 1.048.936 0 .608-.416.96-1.024.96zm-.024 2.856c-.664 0-1.264-.4-1.264-1.152 0-.76.6-1.152 1.28-1.152s1.24.384 1.24 1.136c0 .76-.552 1.168-1.256 1.168zm5.101.568c1.408 0 2.216-1.12 2.216-2.784v-.32c0-1.632-.824-2.76-2.232-2.76-1.4 0-2.256 1.088-2.256 2.776v.32c0 1.664.904 2.768 2.272 2.768zm0-.576c-.952 0-1.56-.752-1.56-2.2v-.32c0-1.408.576-2.208 1.544-2.208.968 0 1.528.864 1.528 2.192v.32c0 1.448-.512 2.216-1.512 2.216zM220.613 150.555c-.251.935.039 2.048 1.144 2.344.711.191 1.302-.098 1.706-.677.087.57.382 1.013.939 1.162.865.232 1.645-.453 1.875-1.311.228-.85-.085-1.845-.982-2.085-.541-.145-1.041.052-1.383.524-.051-.643-.408-1.228-1.15-1.427-1.097-.294-1.907.566-2.149 1.47zm3.301.91c.151-.565.612-.955 1.191-.799.572.153.8.694.646 1.266-.153.572-.642.913-1.175.77-.587-.157-.82-.65-.662-1.237zm-2.753-.763c.172-.641.714-1.117 1.44-.923.734.197.958.878.782 1.535-.176.657-.692 1.098-1.419.904-.734-.197-.985-.836-.803-1.516zm-1.869 4.781c-.364 1.36.509 2.43 2.116 2.861l.309.082c1.576.423 2.879-.081 3.244-1.441.362-1.352-.467-2.461-2.098-2.898l-.309-.083c-1.607-.43-2.908.157-3.262 1.479zm.557.149c.246-.92 1.13-1.313 2.529-.938l.309.083c1.36.364 1.983 1.128 1.733 2.063-.251.935-1.23 1.252-2.513.909l-.309-.083c-1.399-.375-2.008-1.068-1.749-2.034zM174.892 210.239c-.851.461-1.459 1.437-.914 2.443.351.647.967.877 1.665.771-.353.456-.472.975-.197 1.482.427.788 1.461.882 2.241.459.774-.42 1.281-1.331.838-2.147-.266-.492-.754-.72-1.331-.643.431-.48.61-1.141.244-1.816-.542-.999-1.723-.995-2.546-.549zm1.611 3.021c.514-.278 1.114-.212 1.4.315.282.521.046 1.058-.475 1.341-.52.282-1.104.162-1.367-.324-.29-.534-.092-1.042.442-1.332zm-1.34-2.522c.584-.316 1.302-.251 1.66.41.363.668.022 1.299-.576 1.623-.598.324-1.273.254-1.631-.407-.363-.669-.072-1.29.547-1.626zm-4.755 1.932c-1.238.671-1.414 2.041-.621 3.504l.152.281c.778 1.435 2.04 2.034 3.278 1.363 1.231-.668 1.465-2.032.66-3.516l-.152-.281c-.794-1.463-2.114-2.003-3.317-1.351zm.274.507c.837-.454 1.73-.083 2.42 1.19l.153.281c.671 1.238.546 2.216-.305 2.677-.851.462-1.755-.031-2.388-1.198l-.152-.282c-.691-1.273-.607-2.192.272-2.668zM89.864 214.215c-.864-.435-2.013-.378-2.528.644-.33.657-.168 1.294.317 1.807-.576-.03-1.07.169-1.33.683-.402.801.11 1.704.903 2.103.786.396 1.824.292 2.241-.537.252-.5.16-1.03-.231-1.46.64.08 1.284-.15 1.63-.836.511-1.015-.166-1.983-1.002-2.404zm-1.562 3.047c.522.263.81.793.54 1.329-.266.529-.842.642-1.371.375-.529-.266-.763-.814-.515-1.307.274-.543.803-.67 1.346-.397zm1.307-2.54c.593.299.949.926.61 1.598-.342.679-1.054.759-1.661.453s-.935-.901-.596-1.573c.341-.678 1.018-.794 1.647-.478zm-4.3-2.802c-1.258-.633-2.483.003-3.232 1.49l-.144.285c-.734 1.458-.506 2.836.752 3.469 1.25.63 2.504.044 3.263-1.464l.144-.286c.749-1.486.438-2.878-.784-3.494zm-.26.515c.85.428 1.055 1.373.404 2.666l-.144.286c-.634 1.257-1.508 1.713-2.373 1.277-.864-.435-.975-1.459-.378-2.645l.144-.286c.651-1.293 1.454-1.748 2.347-1.298zM39.724 153.747c-.214-.945-.988-1.795-2.104-1.542-.718.162-1.107.693-1.194 1.394-.343-.464-.81-.719-1.373-.592-.873.197-1.245 1.167-1.049 2.033.194.859.935 1.593 1.84 1.389.546-.124.897-.531.98-1.108.345.546.932.897 1.681.727 1.108-.251 1.425-1.388 1.219-2.301zm-3.345.732c.129.569-.097 1.129-.683 1.261-.577.131-1.03-.242-1.161-.82-.13-.577.143-1.107.682-1.228.593-.135 1.028.194 1.162.787zm2.79-.607c.147.648-.11 1.321-.844 1.487-.741.168-1.256-.331-1.406-.994-.15-.664.101-1.295.835-1.46.74-.168 1.26.28 1.416.967zm-.57-5.101c-.311-1.373-1.582-1.914-3.205-1.547l-.312.07c-1.592.36-2.51 1.413-2.2 2.786.31 1.366 1.56 1.961 3.206 1.588l.312-.07c1.623-.367 2.5-1.493 2.198-2.827zm-.562.127c.21.929-.39 1.688-1.802 2.007l-.312.071c-1.373.31-2.28-.075-2.494-1.019-.214-.944.505-1.681 1.8-1.974l.313-.071c1.412-.319 2.274.011 2.495.986zM54.5 74.735c.586-.77.74-1.91-.17-2.603-.585-.446-1.241-.403-1.835-.02.136-.561.03-1.084-.427-1.433-.713-.543-1.695-.204-2.233.502-.533.7-.621 1.74.117 2.302.445.339.983.346 1.478.04-.197.614-.088 1.29.523 1.756.903.688 1.98.2 2.546-.544zm-2.71-2.094c-.354.464-.928.65-1.405.286-.471-.358-.476-.946-.117-1.417.358-.47.94-.6 1.38-.266.483.369.51.913.142 1.397zm2.258 1.75c-.403.528-1.085.762-1.683.307-.604-.46-.553-1.176-.14-1.717.412-.54 1.056-.753 1.655-.297.604.46.594 1.147.167 1.707zm3.543-3.714c.853-1.12.452-2.441-.872-3.45l-.254-.194c-1.298-.989-2.695-1.017-3.548.103-.849 1.114-.502 2.454.84 3.477l.255.194c1.324 1.008 2.75.958 3.579-.13zm-.458-.35c-.577.758-1.544.786-2.696-.091l-.254-.194c-1.12-.854-1.407-1.797-.82-2.567.586-.77 1.613-.691 2.669.113l.254.194c1.152.878 1.453 1.75.847 2.546zM199.787 68.791c.625.74 1.704 1.137 2.578.398.562-.475.662-1.125.417-1.787.518.254 1.051.264 1.49-.108.685-.578.567-1.61-.006-2.288-.568-.672-1.564-.983-2.273-.384-.427.362-.551.885-.358 1.435-.558-.325-1.241-.365-1.828.13-.868.734-.624 1.89-.02 2.604zm2.631-2.192c-.377-.446-.435-1.047.024-1.434.452-.382 1.026-.26 1.408.192.383.452.384 1.049-.038 1.405-.464.392-1.002.302-1.394-.163zm-2.197 1.825c-.429-.507-.51-1.223.064-1.709.58-.49 1.267-.285 1.706.235.439.519.507 1.195-.067 1.68-.581.49-1.249.332-1.703-.206zm2.859 4.263c.909 1.076 2.286.97 3.556-.104l.245-.207c1.246-1.053 1.576-2.41.667-3.486-.903-1.07-2.287-1.02-3.576.069l-.245.206c-1.271 1.075-1.53 2.478-.647 3.522zm.44-.371c-.615-.728-.433-1.677.673-2.612l.245-.206c1.075-.91 2.058-.986 2.683-.246.624.739.326 1.724-.688 2.582l-.245.206c-1.106.935-2.023 1.04-2.668.276zM121.259 60.072c1.464 0 2.48-.88 2.48-2.536v-.424h-2.352v.576h1.672c-.024 1.016-.56 1.824-1.8 1.824-1.344 0-2.048-.928-2.048-2.344v-.064c0-1.4.752-2.36 2.064-2.36.832 0 1.456.352 1.616 1.264h.696c-.176-1.288-1.192-1.816-2.328-1.816-1.64 0-2.768 1.248-2.768 2.92v.064c0 1.672 1.008 2.896 2.768 2.896zm3.597-.072h.664v-2.296c0-1.032.536-1.296 1.376-1.336v-.624c-.752.024-1.112.352-1.376.824v-.752h-.664V60zm4.602.072c.944 0 1.64-.44 1.784-1.28h-.664c-.088.488-.464.728-1.112.728-.856 0-1.312-.528-1.344-1.48h3.152v-.216c0-1.496-.912-2.08-1.88-2.08-1.152 0-1.96.88-1.96 2.144v.064c0 1.288.84 2.12 2.024 2.12zm-1.312-2.568c.112-.744.568-1.208 1.248-1.208.688 0 1.136.344 1.2 1.208h-2.448zm5.859 2.568c.944 0 1.64-.44 1.784-1.28h-.664c-.088.488-.464.728-1.112.728-.856 0-1.312-.528-1.344-1.48h3.152v-.216c0-1.496-.912-2.08-1.88-2.08-1.152 0-1.96.88-1.96 2.144v.064c0 1.288.84 2.12 2.024 2.12zm-1.312-2.568c.112-.744.568-1.208 1.248-1.208.688 0 1.136.344 1.2 1.208h-2.448zM136.84 60h.664v-2.536c0-.752.552-1.144 1.168-1.144.672 0 .984.328.984 1.064V60h.664v-2.568c0-1.216-.608-1.688-1.472-1.688-.688 0-1.152.344-1.344.736v-.664h-.664V60zM204.843 128.705l2.047.549-.277 1.035c-.201.75-.573 1.147-1.322.946l-.031-.008c-.68-.182-.906-.698-.695-1.486l.278-1.036zm-2.757-1.459l-.18.672 2.403.644-.227.85-2.845 1.002-.201.75 2.904-1.036c-.057.797.228 1.527 1.14 1.771l.031.009c1.105.296 1.772-.461 2.055-1.52l.445-1.661-5.525-1.481zm-1.77 6.328c-.244.912.001 1.698.775 2.054l.172-.641c-.449-.211-.583-.637-.416-1.263.222-.826.85-1.13 1.778-.915l-.816 3.045.209.056c1.445.387 2.245-.343 2.495-1.278.298-1.113-.342-2.121-1.563-2.448l-.062-.017c-1.244-.333-2.265.263-2.572 1.407zm2.82-.603c.69.301 1.02.861.844 1.518-.178.665-.626 1.009-1.477.847l.633-2.365zm-3.521 3.499l-.172.641 3.5.938-.265.989.541.145.265-.989.727.195c.409.109.652.348.542.758a1.124 1.124 0 01-.181.399l.541.144c.079-.111.123-.215.179-.423.214-.796-.16-1.319-.979-1.538l-.657-.176.155-.58-.54-.145-.156.58-3.5-.938zm-.653 2.434l-.174.649 5.974 1.601.174-.649-5.974-1.601zm-1.038 3.597c-.244.912.001 1.698.775 2.055l.172-.642c-.449-.211-.583-.636-.416-1.262.222-.827.85-1.131 1.778-.915l-.816 3.044.209.056c1.445.387 2.245-.343 2.495-1.278.298-1.112-.342-2.121-1.563-2.448l-.062-.016c-1.244-.334-2.265.262-2.572 1.406zm2.82-.603c.69.301 1.02.862.844 1.519-.178.664-.626 1.008-1.477.846l.633-2.365zm-3.338 2.814l-.184.688 1.332 1.549-1.922.653-.203.757 2.52-.906 1.559 1.85.186-.695-1.205-1.375 1.733-.596.201-.749-2.325.826-1.692-2.002zm-1.77 6.607l-.507 1.893c-.296 1.105.015 1.95 1.059 2.23l.031.008c.718.193 1.208.001 1.617-.751.047.692.441 1.013.943 1.148l.031.008c1.09.292 1.631-.367 1.906-1.394l.445-1.662-5.525-1.48zm2.938 1.491l1.886.505-.265.989c-.207.773-.56 1.068-1.186.9l-.031-.008c-.68-.182-.89-.57-.673-1.381l.269-1.005zm-2.589-.694l2.064.553-.303 1.128c-.238.889-.664 1.181-1.344.999l-.031-.009c-.672-.18-.928-.646-.713-1.45l.327-1.221zm-1.629 3.979l-.174.649 5.974 1.6.174-.649-5.974-1.6zm-.961 3.311c-.174.649.038 1.186.367 1.473l-.642-.172-.171.641 4.041 1.083.172-.641-2.45-.656c-.726-.195-.96-.837-.807-1.409.17-.634.568-.85 1.279-.66l2.527.677.171-.641-2.557-.686c-1.113-.298-1.715.187-1.93.991zm-1.306 4.874c-.245.912 0 1.698.774 2.054l.172-.641c-.449-.211-.583-.637-.415-1.263.221-.827.849-1.13 1.777-.915l-.816 3.045.209.056c1.445.387 2.245-.343 2.496-1.278.298-1.113-.343-2.121-1.564-2.448l-.062-.017c-1.244-.333-2.265.263-2.571 1.407zm2.82-.603c.689.301 1.019.861.843 1.518-.178.665-.626 1.008-1.477.847l.634-2.365zM171.053 185.101l-.611.332 1.109 2.047-.816.442c-.956.519-1.533 1.368-.953 2.437l.015.028c.568 1.048 1.592 1.039 2.555.517l1.428-.774-2.727-5.029zm.761 2.864l1.087 2.004-.858.465c-.682.37-1.249.332-1.634-.378l-.015-.029c-.351-.647-.155-1.208.562-1.597l.858-.465zm-6.084-.059c-.591.32-.835.844-.817 1.28l-.316-.584-.584.317 1.995 3.678.583-.317-1.209-2.229c-.358-.661-.053-1.273.468-1.555.577-.313 1.007-.173 1.358.474l1.247 2.3.584-.317-1.262-2.328c-.55-1.012-1.315-1.116-2.047-.719zm-2.896 1.652l-.584.317 1.094 2.018c.492.907.147 1.395-.573 1.83l.298.549c.649-.38.809-.839.817-1.38l.358.661.584-.317-1.994-3.678zm-4.188 2.817c.717-.389 1.45-.213 1.961.729l.03.057c.511.942.235 1.674-.447 2.044-.619.336-1.384.15-1.888-.778l-.03-.057c-.484-.893-.358-1.599.374-1.995zm.849-2.663l-.583.316 1.022 1.885c-.41-.251-1.003-.321-1.608.007-1.012.549-1.254 1.681-.644 2.806l.031.057c.621 1.146 1.713 1.464 2.676.942.535-.29.859-.884.875-1.357l.336.618.584-.316-2.689-4.958zm-3.729 3.678l-.591.32 2.948 5.437.591-.321-2.948-5.436zm-3.325 1.721c-.83.45-1.232 1.168-.958 1.975l.584-.316c-.155-.471.061-.861.63-1.17.753-.408 1.405-.161 1.887.66l-2.771 1.503.103.19c.713 1.315 1.794 1.393 2.645.932 1.012-.549 1.303-1.708.701-2.819l-.031-.056c-.614-1.133-1.749-1.464-2.79-.899zm2.378 1.632c.256.707.076 1.333-.522 1.657-.604.328-1.162.239-1.63-.49l2.152-1.167zM104.844 194.969l-.621-.313-1.152 2.286-1.843-.929-.256.508 1.843.928-.91 1.808-2.365-1.191-.256.507 2.987 1.504 2.573-5.108zm-4.95-2.574c-.6-.303-1.17-.204-1.517.059l.299-.593-.593-.298-1.882 3.736.593.299 1.14-2.265c.339-.671 1.015-.769 1.544-.503.586.295.717.728.386 1.386l-1.177 2.336.593.299 1.191-2.365c.518-1.029.166-1.717-.577-2.091zm-3.01-1.436l-.593-.299-1.033 2.051c-.464.921-1.061.916-1.83.574l-.28.557c.682.317 1.151.186 1.6-.117l-.339.672.593.299 1.882-3.737zm-2.402-2.84l-.6-.303-4.602 3.997.607.306 2.386-2.157-.206 3.255.635.32.224-4.088 1.556-1.33zM67.194 166.733l-.14-.616-4.703-.306 4.122-2.261-.14-.625-5.908-.189.143.632 4.777.125-4.221 2.333.11.484 4.798.292-4.246 2.15.157.694 5.25-2.713zm-2.035-6.925c.13.569-.09.832-.511.927-.601.136-.94-.419-1.125-1.238l-.127-.562.507-.115c.632-.142 1.101.301 1.256.988zm.53-.055c-.136-.6-.422-.921-.873-1.139l.515-.117-.147-.647-2.692.609c-1.139.257-1.298 1.04-1.122 1.82.178.788.69 1.452 1.637 1.328l-.146-.648c-.514.051-.818-.209-.945-.77-.141-.625.075-.936.723-1.083l.296-.067.133.586c.236 1.045.782 1.972 1.726 1.758.835-.189 1.066-.873.895-1.63zm-.792-3.175l-.147-.648-2.24.507c-1.006.227-1.382-.237-1.606-1.048l-.609.138c.19.728.589 1.007 1.108 1.16l-.734.166.147.648 4.08-.923zm-.664-2.934l-.147-.648-2.496.565c-.734.166-1.216-.299-1.336-.83-.127-.561.1-.933.818-1.095l2.575-.583-.146-.647-2.497.565c-.734.165-1.216-.3-1.336-.83-.127-.562.1-.933.818-1.096l2.575-.582-.146-.648-2.529.572c-1.186.268-1.478 1.007-1.312 1.74.115.508.487 1.063 1.08 1.224-.498.334-.612.844-.494 1.367.132.585.545.959.97 1.06l-.624.141.146.648 4.081-.923zm-5.203-9.222l-2.067.468-.237-1.046c-.171-.757-.027-1.281.73-1.453l.03-.007c.688-.155 1.128.197 1.308.992l.236 1.046zm3.119.008l-.154-.679-2.426.549-.194-.858 2.05-2.211-.17-.757-2.088 2.268c-.321-.731-.913-1.245-1.834-1.036l-.03.007c-1.117.252-1.354 1.233-1.112 2.302l.379 1.677 5.579-1.262zm-1.38-6.424c-.207-.921-.79-1.503-1.641-1.458l.146.648c.496-.022.813.292.956.924.189.835-.226 1.396-1.147 1.637l-.696-3.074-.21.048c-1.46.33-1.828 1.348-1.614 2.292.254 1.124 1.29 1.718 2.523 1.439l.063-.014c1.256-.284 1.882-1.287 1.62-2.442zm-2.215 1.846c-.75.055-1.303-.287-1.453-.951-.152-.671.085-1.183.913-1.436l.54 2.387zm.688-6.097c.156.687-.21 1.352-1.24 1.585l-.063.014c-.99.224-1.67-.131-1.853-.942-.18-.796.198-1.407 1.244-1.643l.062-.014c1.046-.237 1.68.243 1.85 1zm.555-.051c-.134-.593-.638-1.078-1.089-1.222l.703-.159-.147-.648-6.032 1.365.147.647 2.606-.589c-.345.324-.577.819-.424 1.498.254 1.124 1.313 1.705 2.561 1.422l.063-.014c1.271-.288 1.853-1.231 1.612-2.3zm-1.764-7.8c-.283-1.248-1.116-1.995-2.448-1.899l.143.632c.937-.064 1.54.464 1.747 1.377.272 1.201-.424 2.113-1.844 2.435l-.063.014c-1.404.317-2.476-.252-2.737-1.407-.216-.952.11-1.542.929-1.875l-.152-.671c-1.183.39-1.577 1.513-1.314 2.676.342 1.513 1.787 2.351 3.441 1.977l.062-.014c1.717-.388 2.6-1.63 2.236-3.245zM70.376 93.38l.422-.554-4.55-3.467-.393.515-.041 1.639.515.392.044-1.576 4.003 3.05zm2.464-3.116c.718-.942.735-1.995-.092-2.625-.63-.48-1.267-.422-1.815.005.144-.544.07-1.082-.445-1.475-.63-.48-1.585-.413-2.245.452-.659.865-.518 1.908.177 2.488l.368-.484c-.472-.45-.524-1.094-.093-1.66.422-.553.961-.575 1.394-.245.496.378.578.852.127 1.444l-.243.318.465.354.262-.344c.49-.642 1.03-.733 1.616-.287.535.408.631.994.088 1.707-.548.719-1.209.728-1.788.367l-.388.51c.82.573 1.875.442 2.612-.525zm2.047-2.806l.432-.567-3.174-5.114-.076-.058-2.284 2.998.445.339 1.76-2.31 2.897 4.712zm3.783-4.846c.776-1.018.813-2.136-.115-3.096l-.393.516c.65.677.633 1.478.066 2.223-.747.98-1.893 1.032-3.05.15l-.052-.04c-1.145-.872-1.397-2.06-.68-3.001.592-.777 1.254-.906 2.035-.492l.417-.547c-1.06-.657-2.173-.238-2.895.71-.94 1.235-.656 2.88.693 3.908l.051.039c1.4 1.067 2.92.947 3.923-.37zM178.867 81.22c.765.904 1.789 1.148 2.583.477.605-.511.687-1.146.387-1.773.501.258 1.042.304 1.537-.115.605-.51.747-1.458.045-2.29-.703-.83-1.751-.918-2.467-.365l.392.464c.541-.363 1.181-.275 1.641.268.449.532.353 1.063-.062 1.414-.477.403-.957.38-1.438-.188l-.258-.306-.446.377.279.33c.522.617.493 1.165-.07 1.64-.513.434-1.106.401-1.684-.283-.584-.69-.45-1.338.028-1.826l-.413-.488c-.738.676-.838 1.734-.054 2.663zm2.646 3.018l.449.531 4.369-3.692-.418-.495-1.591-.394-.495.418 1.529.384-3.843 3.248zm2.062 2.44l.449.532 4.369-3.692-.418-.495-1.59-.395-.495.419 1.529.383-3.844 3.248zm3.02 3.685c.826.978 1.91 1.256 3.047.557l-.418-.495c-.802.489-1.581.299-2.185-.416-.795-.941-.598-2.071.514-3.011l.049-.042c1.1-.929 2.314-.918 3.078-.014.63.746.613 1.42.04 2.093l.444.525c.87-.892.702-2.07-.068-2.98-1.002-1.185-2.67-1.263-3.965-.168l-.049.041c-1.344 1.136-1.556 2.645-.487 3.91z",
|
|
96
|
+
fill: "#fff"
|
|
97
|
+
}));
|
|
98
|
+
};
|
|
99
|
+
|
|
100
|
+
var basic = colorsData.basic,
|
|
101
|
+
secondary = colorsData.secondary,
|
|
102
|
+
system = colorsData.system,
|
|
103
|
+
gradientColors = colorsData.gradientColors,
|
|
104
|
+
staticColors = colorsData.staticColors,
|
|
105
|
+
staticOpacity = colorsData.staticOpacity,
|
|
106
|
+
soft = colorsData.soft;
|
|
9
107
|
var cn = cnCreate('colors');
|
|
10
108
|
|
|
11
109
|
var Colors = function Colors() {
|
|
12
|
-
|
|
13
|
-
className: cn()
|
|
14
|
-
}, /*#__PURE__*/React.createElement(Header, null, "Colors"), /*#__PURE__*/React.createElement("div", {
|
|
15
|
-
className: cn('inner')
|
|
16
|
-
}, colors.map(function (_ref, i) {
|
|
17
|
-
var title = _ref.title,
|
|
18
|
-
items = _ref.items;
|
|
110
|
+
var renderUnderline = function renderUnderline() {
|
|
19
111
|
return /*#__PURE__*/React.createElement("div", {
|
|
20
|
-
|
|
21
|
-
|
|
112
|
+
className: cn('underline')
|
|
113
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
114
|
+
className: cn('pointer')
|
|
115
|
+
}));
|
|
116
|
+
};
|
|
117
|
+
|
|
118
|
+
var renderBasicColors = function renderBasicColors() {
|
|
119
|
+
var title = basic.title,
|
|
120
|
+
_basic$colorsGroup = basic.colorsGroup,
|
|
121
|
+
colorsGroup = _basic$colorsGroup === void 0 ? [] : _basic$colorsGroup;
|
|
122
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
123
|
+
className: cn('line')
|
|
22
124
|
}, /*#__PURE__*/React.createElement(Header, {
|
|
23
|
-
as: "
|
|
24
|
-
className: cn('title')
|
|
25
|
-
}, title),
|
|
26
|
-
var
|
|
27
|
-
|
|
28
|
-
return /*#__PURE__*/React.createElement(
|
|
29
|
-
key:
|
|
30
|
-
className: cn('
|
|
31
|
-
|
|
32
|
-
|
|
125
|
+
as: "h2",
|
|
126
|
+
className: cn('group-title')
|
|
127
|
+
}, title), /*#__PURE__*/React.createElement(Grid, null, colorsGroup.map(function (_ref, index) {
|
|
128
|
+
var description = _ref.description,
|
|
129
|
+
colors = _ref.colors;
|
|
130
|
+
return /*#__PURE__*/React.createElement(GridColumn, {
|
|
131
|
+
key: description,
|
|
132
|
+
className: cn('basic-group'),
|
|
133
|
+
all: !index ? '3' : '9',
|
|
134
|
+
mobile: "12"
|
|
33
135
|
}, /*#__PURE__*/React.createElement("div", {
|
|
34
|
-
className: cn('
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
136
|
+
className: cn('list')
|
|
137
|
+
}, colors.map(function (_ref2) {
|
|
138
|
+
var name = _ref2.name,
|
|
139
|
+
code = _ref2.code,
|
|
140
|
+
_ref2$border = _ref2.border,
|
|
141
|
+
border = _ref2$border === void 0 ? '' : _ref2$border;
|
|
142
|
+
return /*#__PURE__*/React.createElement(ColorItem, {
|
|
143
|
+
className: cn('item'),
|
|
144
|
+
colorName: name,
|
|
145
|
+
colorCode: code,
|
|
146
|
+
key: name,
|
|
147
|
+
border: border
|
|
148
|
+
});
|
|
149
|
+
})), renderUnderline(), /*#__PURE__*/React.createElement("div", {
|
|
150
|
+
className: cn('description')
|
|
151
|
+
}, description));
|
|
152
|
+
})));
|
|
153
|
+
};
|
|
154
|
+
|
|
155
|
+
var renderColorBlock = function renderColorBlock(items) {
|
|
156
|
+
var _a, _b;
|
|
157
|
+
|
|
158
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
159
|
+
className: cn('line')
|
|
160
|
+
}, /*#__PURE__*/React.createElement(Header, {
|
|
161
|
+
as: "h2",
|
|
162
|
+
className: cn('group-title')
|
|
163
|
+
}, items.title), /*#__PURE__*/React.createElement("div", {
|
|
164
|
+
className: cn('list')
|
|
165
|
+
}, (_a = items.colorsList) === null || _a === void 0 ? void 0 : _a.colors.map(function (_ref3) {
|
|
166
|
+
var name = _ref3.name,
|
|
167
|
+
code = _ref3.code,
|
|
168
|
+
_ref3$gradient = _ref3.gradient,
|
|
169
|
+
gradient = _ref3$gradient === void 0 ? '' : _ref3$gradient,
|
|
170
|
+
_ref3$border = _ref3.border,
|
|
171
|
+
border = _ref3$border === void 0 ? '' : _ref3$border;
|
|
172
|
+
return /*#__PURE__*/React.createElement(ColorItem, {
|
|
173
|
+
className: cn('item'),
|
|
174
|
+
colorName: name,
|
|
175
|
+
colorCode: code,
|
|
176
|
+
gradient: gradient,
|
|
177
|
+
key: name,
|
|
178
|
+
border: border
|
|
179
|
+
});
|
|
180
|
+
})), renderUnderline(), /*#__PURE__*/React.createElement("div", {
|
|
181
|
+
className: cn('description')
|
|
182
|
+
}, (_b = items.colorsList) === null || _b === void 0 ? void 0 : _b.description));
|
|
183
|
+
};
|
|
184
|
+
|
|
185
|
+
var renderSoftColors = function renderSoftColors() {
|
|
186
|
+
var _soft$colorsList = soft.colorsList;
|
|
187
|
+
_soft$colorsList = _soft$colorsList === void 0 ? {} : _soft$colorsList;
|
|
188
|
+
var _soft$colorsList$colo = _soft$colorsList.colors,
|
|
189
|
+
colors = _soft$colorsList$colo === void 0 ? [] : _soft$colorsList$colo,
|
|
190
|
+
description = _soft$colorsList.description;
|
|
191
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
192
|
+
className: cn('soft-list')
|
|
193
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
194
|
+
className: cn('list', {
|
|
195
|
+
soft: true
|
|
196
|
+
})
|
|
197
|
+
}, colors.map(function (_ref4) {
|
|
198
|
+
var name = _ref4.name,
|
|
199
|
+
code = _ref4.code,
|
|
200
|
+
_ref4$parentColor = _ref4.parentColor,
|
|
201
|
+
parentColor = _ref4$parentColor === void 0 ? '' : _ref4$parentColor;
|
|
202
|
+
return /*#__PURE__*/React.createElement(ColorItem, {
|
|
203
|
+
className: cn('item', {
|
|
204
|
+
soft: true
|
|
205
|
+
}),
|
|
206
|
+
colorName: name,
|
|
207
|
+
colorCode: code,
|
|
208
|
+
parentColorCode: parentColor,
|
|
209
|
+
key: name
|
|
210
|
+
});
|
|
211
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
212
|
+
className: cn('description')
|
|
213
|
+
}, description));
|
|
214
|
+
};
|
|
215
|
+
|
|
216
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
217
|
+
className: cn()
|
|
218
|
+
}, /*#__PURE__*/React.createElement(Header, {
|
|
219
|
+
as: "h1",
|
|
220
|
+
className: cn('title')
|
|
221
|
+
}, "\u0426\u0432\u0435\u0442\u0430"), /*#__PURE__*/React.createElement(Paragraph, null, "\u041F\u0430\u043B\u0438\u0442\u0440\u0430 \u0446\u0432\u0435\u0442\u043E\u0432, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u043C\u0430\u044F \u0432 \u043F\u0440\u043E\u0434\u0443\u043A\u0442\u0430\u0445 \u041C\u0435\u0433\u0430\u0424\u043E\u043D"), /*#__PURE__*/React.createElement("div", {
|
|
222
|
+
className: cn('inner')
|
|
223
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
224
|
+
className: cn('container')
|
|
225
|
+
}, renderBasicColors(), /*#__PURE__*/React.createElement(Grid, {
|
|
226
|
+
hAlign: "between"
|
|
227
|
+
}, /*#__PURE__*/React.createElement(GridColumn, {
|
|
228
|
+
all: "6",
|
|
229
|
+
mobile: "12",
|
|
230
|
+
tablet: "12"
|
|
231
|
+
}, renderColorBlock(secondary)), /*#__PURE__*/React.createElement(GridColumn, {
|
|
232
|
+
all: "5",
|
|
233
|
+
mobile: "12",
|
|
234
|
+
tablet: "12"
|
|
235
|
+
}, renderColorBlock(system))), /*#__PURE__*/React.createElement(Grid, null, /*#__PURE__*/React.createElement(GridColumn, {
|
|
236
|
+
all: "5",
|
|
237
|
+
mobile: "12",
|
|
238
|
+
tablet: "12"
|
|
239
|
+
}, renderColorBlock(gradientColors)), /*#__PURE__*/React.createElement(GridColumn, {
|
|
240
|
+
all: "3",
|
|
241
|
+
leftOffsetWide: "1",
|
|
242
|
+
leftOffsetTablet: "1",
|
|
243
|
+
leftOffsetDesktop: "1",
|
|
244
|
+
mobile: "12",
|
|
245
|
+
tablet: "12"
|
|
246
|
+
}, renderColorBlock(staticColors))), /*#__PURE__*/React.createElement("div", null, renderColorBlock(staticOpacity))), /*#__PURE__*/React.createElement(Tile, {
|
|
247
|
+
className: cn('soft'),
|
|
248
|
+
radius: "rounded"
|
|
249
|
+
}, /*#__PURE__*/React.createElement(Header, {
|
|
250
|
+
as: "h2",
|
|
251
|
+
className: cn('group-title')
|
|
252
|
+
}, "Soft"), /*#__PURE__*/React.createElement("div", {
|
|
253
|
+
className: cn('group')
|
|
254
|
+
}, /*#__PURE__*/React.createElement(Diagram, {
|
|
255
|
+
className: cn('diagram')
|
|
256
|
+
}), renderSoftColors()))));
|
|
49
257
|
};
|
|
50
258
|
|
|
51
259
|
export default Colors;
|
|
@@ -1,8 +1,21 @@
|
|
|
1
|
-
declare
|
|
1
|
+
declare type ColorType = {
|
|
2
|
+
name: string;
|
|
3
|
+
code: string;
|
|
4
|
+
border?: string;
|
|
5
|
+
parentColor?: string;
|
|
6
|
+
gradient?: string;
|
|
7
|
+
};
|
|
8
|
+
declare type ColorsListType = {
|
|
9
|
+
description: string;
|
|
10
|
+
colors: ColorType[];
|
|
11
|
+
};
|
|
12
|
+
export declare type ColorsItemType = {
|
|
2
13
|
title: string;
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
14
|
+
colorsList?: ColorsListType;
|
|
15
|
+
colorsGroup?: ColorsListType[];
|
|
16
|
+
};
|
|
17
|
+
export declare type ColorsType = {
|
|
18
|
+
[key: string]: ColorsItemType;
|
|
19
|
+
};
|
|
20
|
+
declare const colors: ColorsType;
|
|
21
|
+
export default colors;
|
|
@@ -1,61 +1,204 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
1
|
+
var colors = {
|
|
2
|
+
basic: {
|
|
3
|
+
title: 'Basic',
|
|
4
|
+
colorsGroup: [{
|
|
5
|
+
description: 'Основные цвета бренда',
|
|
6
|
+
colors: [{
|
|
7
|
+
name: 'Green',
|
|
8
|
+
code: '#00B956'
|
|
9
|
+
}, {
|
|
10
|
+
name: 'Purple',
|
|
11
|
+
code: '#731982'
|
|
12
|
+
}]
|
|
13
|
+
}, {
|
|
14
|
+
description: 'Градация оттенков серого',
|
|
15
|
+
colors: [{
|
|
16
|
+
name: 'Base',
|
|
17
|
+
code: '#FFFFFF',
|
|
18
|
+
border: '1px solid #EDEDED'
|
|
19
|
+
}, {
|
|
20
|
+
name: 'Content',
|
|
21
|
+
code: '#333333'
|
|
22
|
+
}, {
|
|
23
|
+
name: 'Spb Sky 0',
|
|
24
|
+
code: '#F6F6F6',
|
|
25
|
+
border: '2px solid #EDEDED'
|
|
26
|
+
}, {
|
|
27
|
+
name: 'Spb Sky 1',
|
|
28
|
+
code: '#EDEDED'
|
|
29
|
+
}, {
|
|
30
|
+
name: 'Spb Sky 2',
|
|
31
|
+
code: '#D8D8D8'
|
|
32
|
+
}, {
|
|
33
|
+
name: 'Spb Sky 3',
|
|
34
|
+
code: '#999999'
|
|
35
|
+
}]
|
|
36
|
+
}]
|
|
37
|
+
},
|
|
38
|
+
secondary: {
|
|
39
|
+
title: 'Secondary',
|
|
40
|
+
colorsList: {
|
|
41
|
+
description: 'Акцентные цвета',
|
|
42
|
+
colors: [{
|
|
43
|
+
name: 'Warm Red C',
|
|
44
|
+
code: '#EB5A40'
|
|
45
|
+
}, {
|
|
46
|
+
name: '137C',
|
|
47
|
+
code: '#FFA717'
|
|
48
|
+
}, {
|
|
49
|
+
name: '311C',
|
|
50
|
+
code: '#5BD9E5'
|
|
51
|
+
}, {
|
|
52
|
+
name: 'Reflex Blue',
|
|
53
|
+
code: '#444189'
|
|
54
|
+
}]
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
system: {
|
|
58
|
+
title: 'System',
|
|
59
|
+
colorsList: {
|
|
60
|
+
description: 'Системные цвета, используемые для отображения состояний интерфейсов и ссылок',
|
|
61
|
+
colors: [{
|
|
62
|
+
name: 'Fury',
|
|
63
|
+
code: '#F62434'
|
|
64
|
+
}, {
|
|
65
|
+
name: 'System Blue',
|
|
66
|
+
code: '#34AAF2'
|
|
67
|
+
}, {
|
|
68
|
+
name: 'Background',
|
|
69
|
+
code: '#FFFFFF'
|
|
70
|
+
}]
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
gradientColors: {
|
|
74
|
+
title: 'Gradient',
|
|
75
|
+
colorsList: {
|
|
76
|
+
description: 'Градиентные заливки ',
|
|
77
|
+
colors: [{
|
|
78
|
+
name: 'Basic',
|
|
79
|
+
code: '#01873F #00B956 #14CD6A',
|
|
80
|
+
gradient: 'linear-gradient(90deg, #01873F 0%, #00B956 74%, #14CD6A 100%)'
|
|
81
|
+
}, {
|
|
82
|
+
name: 'VIP',
|
|
83
|
+
code: '#5B1168 #731982 #821E93',
|
|
84
|
+
gradient: 'linear-gradient(90deg, #5B1168 0%, #731982 74%, #821E93 100%)'
|
|
85
|
+
}, {
|
|
86
|
+
name: 'Exclusive',
|
|
87
|
+
code: '#2A2674 #444189 #504D93',
|
|
88
|
+
gradient: 'linear-gradient(90deg, #2A2674 0%, #444189 74%, #504D93 100%)'
|
|
89
|
+
}]
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
staticColors: {
|
|
93
|
+
title: 'Static',
|
|
94
|
+
colorsList: {
|
|
95
|
+
description: 'Цвета не зависящие от темы',
|
|
96
|
+
colors: [{
|
|
97
|
+
name: 'STC White',
|
|
98
|
+
code: '#FFFFFFF',
|
|
99
|
+
border: '1px solid #EDEDED'
|
|
100
|
+
}, {
|
|
101
|
+
name: 'STC Black',
|
|
102
|
+
code: '#333333'
|
|
103
|
+
}]
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
staticOpacity: {
|
|
107
|
+
title: 'Static Opacity',
|
|
108
|
+
colorsList: {
|
|
109
|
+
description: 'Цвета c прозрачностью не зависящие от темы',
|
|
110
|
+
colors: [{
|
|
111
|
+
name: 'STC White 5%',
|
|
112
|
+
code: '#FFFFFF0D',
|
|
113
|
+
border: '1px solid #EDEDED'
|
|
114
|
+
}, {
|
|
115
|
+
name: 'STC White 10%',
|
|
116
|
+
code: '#FFFFFF1A',
|
|
117
|
+
border: '1px solid #EDEDED'
|
|
118
|
+
}, {
|
|
119
|
+
name: 'STC White 20%',
|
|
120
|
+
code: '#FFFFFF33',
|
|
121
|
+
border: '1px solid #EDEDED'
|
|
122
|
+
}, {
|
|
123
|
+
name: 'STC White 50%',
|
|
124
|
+
code: '#FFFFFF80'
|
|
125
|
+
}, {
|
|
126
|
+
name: 'STC Black 5%',
|
|
127
|
+
code: '#3333330D'
|
|
128
|
+
}, {
|
|
129
|
+
name: 'STC Black 10%',
|
|
130
|
+
code: '#3333331A'
|
|
131
|
+
}, {
|
|
132
|
+
name: 'STC Black 20%',
|
|
133
|
+
code: '#33333333'
|
|
134
|
+
}, {
|
|
135
|
+
name: 'STC Black 50%',
|
|
136
|
+
code: '#33333380'
|
|
137
|
+
}]
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
soft: {
|
|
141
|
+
title: 'Soft',
|
|
142
|
+
colorsList: {
|
|
143
|
+
description: 'Дополнительная (вспомогательная) палитра, образованная от Basic, Secondary и System цветов. Каждый цвет из Soft палитры работает в паре с его родительским цветом.',
|
|
144
|
+
colors: [{
|
|
145
|
+
name: 'Green 80',
|
|
146
|
+
code: '#0CDC78',
|
|
147
|
+
parentColor: '#00B956'
|
|
148
|
+
}, {
|
|
149
|
+
name: 'Purple 80',
|
|
150
|
+
code: '#AA67C1',
|
|
151
|
+
parentColor: '#731982'
|
|
152
|
+
}, {
|
|
153
|
+
name: 'Warm Red C 80',
|
|
154
|
+
code: '#FF765D',
|
|
155
|
+
parentColor: '#EB5A40'
|
|
156
|
+
}, {
|
|
157
|
+
name: '137C 80',
|
|
158
|
+
code: '#FFB945',
|
|
159
|
+
parentColor: '#FFB945'
|
|
160
|
+
}, {
|
|
161
|
+
name: '311C 80',
|
|
162
|
+
code: '#62E3FF',
|
|
163
|
+
parentColor: '#5BD9E5'
|
|
164
|
+
}, {
|
|
165
|
+
name: 'Reflex Blue 80',
|
|
166
|
+
code: '#554FC9',
|
|
167
|
+
parentColor: '#444189'
|
|
168
|
+
}, {
|
|
169
|
+
name: 'Fury 80',
|
|
170
|
+
code: '#F8505D',
|
|
171
|
+
parentColor: '#F62434'
|
|
172
|
+
}, {
|
|
173
|
+
name: 'Green 20',
|
|
174
|
+
code: '#DDFFEC',
|
|
175
|
+
parentColor: '#00B956'
|
|
176
|
+
}, {
|
|
177
|
+
name: 'Purple 20',
|
|
178
|
+
code: '#FFEEFF',
|
|
179
|
+
parentColor: '#731982'
|
|
180
|
+
}, {
|
|
181
|
+
name: 'Warm Red C 20',
|
|
182
|
+
code: '#FFCFC7',
|
|
183
|
+
parentColor: '#EB5A40'
|
|
184
|
+
}, {
|
|
185
|
+
name: '137C 20',
|
|
186
|
+
code: '#FFEDD1',
|
|
187
|
+
parentColor: '#FFB945'
|
|
188
|
+
}, {
|
|
189
|
+
name: '311C 20',
|
|
190
|
+
code: '#E1FAFF',
|
|
191
|
+
parentColor: '#5BD9E5'
|
|
192
|
+
}, {
|
|
193
|
+
name: 'Reflex Blue 20',
|
|
194
|
+
code: '#EBEAFF',
|
|
195
|
+
parentColor: '#444189'
|
|
196
|
+
}, {
|
|
197
|
+
name: 'Fury 20',
|
|
198
|
+
code: '#FFC5C9',
|
|
199
|
+
parentColor: '#F62434'
|
|
200
|
+
}]
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
};
|
|
204
|
+
export default colors;
|
|
@@ -27,7 +27,7 @@ h5 {
|
|
|
27
27
|
width: 100%;
|
|
28
28
|
height: 100%;
|
|
29
29
|
border-radius: 50%;
|
|
30
|
-
background-color:
|
|
30
|
+
background-color: #FFFFFF80;
|
|
31
31
|
}
|
|
32
32
|
.mfui-banner-dot_active {
|
|
33
33
|
padding: 0;
|
|
@@ -54,7 +54,7 @@ h5 {
|
|
|
54
54
|
transform-origin: center;
|
|
55
55
|
-webkit-animation: timer linear;
|
|
56
56
|
animation: timer linear;
|
|
57
|
-
fill:
|
|
57
|
+
fill: #FFFFFF80;
|
|
58
58
|
stroke: #FFFFFF;
|
|
59
59
|
stroke-width: 100;
|
|
60
60
|
stroke-dasharray: 1000;
|