@sberbusiness/icons-next 1.15.0 → 1.16.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/package.json +1 -1
- package/styles/icons.css +1 -1
- package/utils/getPathClassName.js +26 -22
package/package.json
CHANGED
package/styles/icons.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._ghaavl { fill: #008985; } ._15lr6aa { fill: #19BDB0; } ._h65740 { fill: #D10032; } ._qvb3nx { fill: #F80C45; } ._n8xc66 { fill: #EF4C01; } ._il00l8 { fill: #FF7A17; } ._h0yaqm { fill: #0E57CC; } ._15zfo5z { fill: #1297FE; } ._phdcqa { fill: #697591; } ._u1a8kd { fill: #95A3C1; } ._5tscgt { fill: #1F1F22; fill-opacity: .45; } ._1f9vrht { fill: #FFFFFF; fill-opacity: .35; } ._zapf2x { fill: #FFFFFF; fill-opacity: 1; } ._qm54uk { fill: #FFFFFF; fill-opacity: 1; } ._p81qom { fill: #FFB13B; } ._1ugk55v { fill: #FFB13B; } ._k4ayqb { fill: #1F1F22; fill-opacity: 1; } ._1wtfws2 { fill: #FFFFFF; fill-opacity: 1; } ._ncoscb { fill: #1F1F22; fill-opacity: 1; } ._1dtor2f { fill: #1F1F22; fill-opacity: .45; } ._xlsyjw { fill: #FFFFFF; fill-opacity: .35; } @media (hover: hover) and (pointer: fine), only screen and (-ms-high-contrast:active), (-ms-high-contrast:none) { .hoverable:hover ._ghaavl { fill: #21A19A; } .hoverable:hover ._15lr6aa { fill: #4BD9CF; } .hoverable:hover ._h65740 { fill: #E60037; } .hoverable:hover ._qvb3nx { fill: #FF5571; } .hoverable:hover ._n8xc66 { fill: #EF4C01; } .hoverable:hover ._il00l8 { fill: #FF7A17; } .hoverable:hover ._h0yaqm { fill: #0E57CC; } .hoverable:hover ._15zfo5z { fill: #1297FE; } .hoverable:hover ._phdcqa { fill: #697591; } .hoverable:hover ._u1a8kd { fill: #95A3C1; } .hoverable:hover ._5tscgt { fill: #1F1F22; fill-opacity: 1; } .hoverable:hover ._1f9vrht { fill: #FFFFFF; fill-opacity: 1; } .hoverable:hover ._zapf2x { fill: #FFFFFF; fill-opacity: 1; } .hoverable:hover ._qm54uk { fill: #FFFFFF; fill-opacity: 1; } .hoverable:hover ._p81qom { fill: #FFB13B; } .hoverable:hover ._1ugk55v { fill: #FFB13B; } .hoverable:hover ._k4ayqb { fill: #1F1F22; fill-opacity: 1; } .hoverable:hover ._1wtfws2 { fill: #FFFFFF; fill-opacity: 1; } .hoverable:hover ._ncoscb { fill: #1F1F22; fill-opacity: 1; } .hoverable:hover ._1dtor2f { fill: #1F1F22; fill-opacity: 1; } .hoverable:hover ._xlsyjw { fill: #FFFFFF; fill-opacity: 1; } } .hoverable:not(:disabled):active ._ghaavl, .hoverable.active ._ghaavl { fill: #007777; } .hoverable:not(:disabled):active ._15lr6aa, .hoverable.active ._15lr6aa { fill: #008985; } .hoverable:not(:disabled):active ._h65740, .hoverable.active ._h65740 { fill: #BD002C; } .hoverable:not(:disabled):active ._qvb3nx, .hoverable.active ._qvb3nx { fill: #D10032; } .hoverable:not(:disabled):active ._n8xc66, .hoverable.active ._n8xc66 { fill: #D10032; } .hoverable:not(:disabled):active ._il00l8, .hoverable.active ._il00l8 { fill: #FF7A17; } .hoverable:not(:disabled):active ._h0yaqm, .hoverable.active ._h0yaqm { fill: #0E57CC; } .hoverable:not(:disabled):active ._15zfo5z, .hoverable.active ._15zfo5z { fill: #1297FE; } .hoverable:not(:disabled):active ._phdcqa, .hoverable.active ._phdcqa { fill: #697591; } .hoverable:not(:disabled):active ._u1a8kd, .hoverable.active ._u1a8kd { fill: #95A3C1; } .hoverable:not(:disabled):active ._5tscgt, .hoverable.active ._5tscgt { fill: #1F1F22; fill-opacity: 1; } .hoverable:not(:disabled):active ._1f9vrht, .hoverable.active ._1f9vrht { fill: #FFFFFF; fill-opacity: 1; } .hoverable:not(:disabled):active ._zapf2x, .hoverable.active ._zapf2x { fill: #FFFFFF; fill-opacity: 1; } .hoverable:not(:disabled):active ._qm54uk, .hoverable.active ._qm54uk { fill: #FFFFFF; fill-opacity: 1; } .hoverable:not(:disabled):active ._p81qom, .hoverable.active ._p81qom { fill: #FFB13B; } .hoverable:not(:disabled):active ._1ugk55v, .hoverable.active ._1ugk55v { fill: #FFB13B; } .hoverable:not(:disabled):active ._k4ayqb, .hoverable.active ._k4ayqb { fill: #008985; } .hoverable:not(:disabled):active ._1wtfws2, .hoverable.active ._1wtfws2 { fill: #19BDB0; } .hoverable:not(:disabled):active ._ncoscb, .hoverable.active ._ncoscb { fill: #1F1F22; fill-opacity: 1; } .hoverable:not(:disabled):active ._1dtor2f, .hoverable.active ._1dtor2f { fill: #008985; } .hoverable:not(:disabled):active ._xlsyjw, .hoverable.active ._xlsyjw { fill: #19BDB0; } .hoverable:disabled ._ghaavl, .hoverable.disabled ._ghaavl { fill: #1F1F22; fill-opacity: .15; } .hoverable:disabled ._15lr6aa, .hoverable.disabled ._15lr6aa { fill: #FFFFFF; fill-opacity: .15; } .hoverable:disabled ._h65740, .hoverable.disabled ._h65740 { fill: #1F1F22; fill-opacity: .15; } .hoverable:disabled ._qvb3nx, .hoverable.disabled ._qvb3nx { fill: #FFFFFF; fill-opacity: .15; } .hoverable:disabled ._n8xc66, .hoverable.disabled ._n8xc66 { fill: #1F1F22; fill-opacity: .15; } .hoverable:disabled ._il00l8, .hoverable.disabled ._il00l8 { fill: #FFFFFF; fill-opacity: .15; } .hoverable:disabled ._h0yaqm, .hoverable.disabled ._h0yaqm { fill: #1F1F22; fill-opacity: .15; } .hoverable:disabled ._15zfo5z, .hoverable.disabled ._15zfo5z { fill: #FFFFFF; fill-opacity: .15; } .hoverable:disabled ._phdcqa, .hoverable.disabled ._phdcqa { fill: #1F1F22; fill-opacity: .15; } .hoverable:disabled ._u1a8kd, .hoverable.disabled ._u1a8kd { fill: #FFFFFF; fill-opacity: .15; } .hoverable:disabled ._5tscgt, .hoverable.disabled ._5tscgt { fill: #1F1F22; fill-opacity: .15; } .hoverable:disabled ._1f9vrht, .hoverable.disabled ._1f9vrht { fill: #FFFFFF; fill-opacity: .15; } .hoverable:disabled ._zapf2x, .hoverable.disabled ._zapf2x { fill: #1F1F22; fill-opacity: .15; } .hoverable:disabled ._qm54uk, .hoverable.disabled ._qm54uk { fill: #FFFFFF; fill-opacity: .15; } .hoverable:disabled ._p81qom, .hoverable.disabled ._p81qom { fill: #1F1F22; fill-opacity: .15; } .hoverable:disabled ._1ugk55v, .hoverable.disabled ._1ugk55v { fill: #FFFFFF; fill-opacity: .15; } .hoverable:disabled ._k4ayqb, .hoverable.disabled ._k4ayqb { fill: #1F1F22; fill-opacity: .15; } .hoverable:disabled ._1wtfws2, .hoverable.disabled ._1wtfws2 { fill: #FFFFFF; fill-opacity: .15; } .hoverable:disabled ._ncoscb, .hoverable.disabled ._ncoscb { fill: #FFFFFF; fill-opacity: .15; } .hoverable:disabled ._1dtor2f, .hoverable.disabled ._1dtor2f { fill: #1F1F22; fill-opacity: .15; } .hoverable:disabled ._xlsyjw, .hoverable.disabled ._xlsyjw { fill: #FFFFFF; fill-opacity: .15; }
|
|
@@ -1,48 +1,52 @@
|
|
|
1
1
|
import { EIconsTheme } from "../ThemeProvider";
|
|
2
2
|
const themeToClassNamePalettes = [
|
|
3
3
|
{
|
|
4
|
-
[EIconsTheme.LIGHT]: "
|
|
5
|
-
[EIconsTheme.DARK]: "
|
|
4
|
+
[EIconsTheme.LIGHT]: "_ghaavl",
|
|
5
|
+
[EIconsTheme.DARK]: "_15lr6aa",
|
|
6
6
|
},
|
|
7
7
|
{
|
|
8
|
-
[EIconsTheme.LIGHT]: "
|
|
9
|
-
[EIconsTheme.DARK]: "
|
|
8
|
+
[EIconsTheme.LIGHT]: "_h65740",
|
|
9
|
+
[EIconsTheme.DARK]: "_qvb3nx",
|
|
10
10
|
},
|
|
11
11
|
{
|
|
12
|
-
[EIconsTheme.LIGHT]: "
|
|
13
|
-
[EIconsTheme.DARK]: "
|
|
12
|
+
[EIconsTheme.LIGHT]: "_n8xc66",
|
|
13
|
+
[EIconsTheme.DARK]: "_il00l8",
|
|
14
14
|
},
|
|
15
15
|
{
|
|
16
|
-
[EIconsTheme.LIGHT]: "
|
|
17
|
-
[EIconsTheme.DARK]: "
|
|
16
|
+
[EIconsTheme.LIGHT]: "_h0yaqm",
|
|
17
|
+
[EIconsTheme.DARK]: "_15zfo5z",
|
|
18
18
|
},
|
|
19
19
|
{
|
|
20
|
-
[EIconsTheme.LIGHT]: "
|
|
21
|
-
[EIconsTheme.DARK]: "
|
|
20
|
+
[EIconsTheme.LIGHT]: "_phdcqa",
|
|
21
|
+
[EIconsTheme.DARK]: "_u1a8kd",
|
|
22
22
|
},
|
|
23
23
|
{
|
|
24
|
-
[EIconsTheme.LIGHT]: "
|
|
25
|
-
[EIconsTheme.DARK]: "
|
|
24
|
+
[EIconsTheme.LIGHT]: "_5tscgt",
|
|
25
|
+
[EIconsTheme.DARK]: "_1f9vrht",
|
|
26
26
|
},
|
|
27
27
|
{
|
|
28
|
-
[EIconsTheme.LIGHT]: "
|
|
29
|
-
[EIconsTheme.DARK]: "
|
|
28
|
+
[EIconsTheme.LIGHT]: "_1f9vrht",
|
|
29
|
+
[EIconsTheme.DARK]: "_5tscgt",
|
|
30
30
|
},
|
|
31
31
|
{
|
|
32
|
-
[EIconsTheme.LIGHT]: "
|
|
33
|
-
[EIconsTheme.DARK]: "
|
|
32
|
+
[EIconsTheme.LIGHT]: "_zapf2x",
|
|
33
|
+
[EIconsTheme.DARK]: "_qm54uk",
|
|
34
34
|
},
|
|
35
35
|
{
|
|
36
|
-
[EIconsTheme.LIGHT]: "
|
|
37
|
-
[EIconsTheme.DARK]: "
|
|
36
|
+
[EIconsTheme.LIGHT]: "_p81qom",
|
|
37
|
+
[EIconsTheme.DARK]: "_1ugk55v",
|
|
38
38
|
},
|
|
39
39
|
{
|
|
40
|
-
[EIconsTheme.LIGHT]: "
|
|
41
|
-
[EIconsTheme.DARK]: "
|
|
40
|
+
[EIconsTheme.LIGHT]: "_k4ayqb",
|
|
41
|
+
[EIconsTheme.DARK]: "_1wtfws2",
|
|
42
42
|
},
|
|
43
43
|
{
|
|
44
|
-
[EIconsTheme.LIGHT]: "
|
|
45
|
-
[EIconsTheme.DARK]: "
|
|
44
|
+
[EIconsTheme.LIGHT]: "_zapf2x",
|
|
45
|
+
[EIconsTheme.DARK]: "_ncoscb",
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
[EIconsTheme.LIGHT]: "_1dtor2f",
|
|
49
|
+
[EIconsTheme.DARK]: "_xlsyjw",
|
|
46
50
|
},
|
|
47
51
|
];
|
|
48
52
|
const getPathClassName = (paletteIndex, theme) => themeToClassNamePalettes[paletteIndex][theme];
|