@evergis/react 4.0.147 → 4.0.149
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/dist/components/Dashboard/containers/StructuredDataContainer/types.d.ts +2 -0
- package/dist/components/Dashboard/elements/ElementTable/components/ColorCell.d.ts +12 -0
- package/dist/components/Dashboard/elements/ElementTable/constants.d.ts +5 -0
- package/dist/components/Dashboard/elements/ElementTable/styled.d.ts +19 -9
- package/dist/components/Dashboard/types.d.ts +5 -0
- package/dist/index.js +104 -38
- package/dist/index.js.map +1 -1
- package/dist/react.esm.js +105 -40
- package/dist/react.esm.js.map +1 -1
- package/dist/utils/color.d.ts +8 -0
- package/package.json +2 -2
package/dist/utils/color.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Color } from '@evergis/color';
|
|
1
2
|
export declare const transparentizeColor: (originalColor: string, percent: number) => string;
|
|
2
3
|
export declare const hexToRgba: (hexCode: string, opacity?: number) => string;
|
|
3
4
|
export declare const rgbToHex: (r: number, g: number, b: number) => string;
|
|
@@ -18,3 +19,10 @@ export declare const getGradientColors: (colorsCount?: number) => string[];
|
|
|
18
19
|
* @returns adjusted color in hex format
|
|
19
20
|
*/
|
|
20
21
|
export declare const adjustColor: (color: string, lightnessAdjustment?: number) => string;
|
|
22
|
+
/**
|
|
23
|
+
* Цвет в hex: `#rrggbb`, а при неполной непрозрачности — `#rrggbbaa`.
|
|
24
|
+
*
|
|
25
|
+
* Полностью непрозрачная альфа отбрасывается: в значении она ничего не уточняет, а строку
|
|
26
|
+
* удлиняет — и в конфиге, и в данных удобнее короткая запись.
|
|
27
|
+
*/
|
|
28
|
+
export declare const colorToHex: (color: Partial<Color>) => string;
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "4.0.
|
|
2
|
+
"version": "4.0.149",
|
|
3
3
|
"name": "@evergis/react",
|
|
4
4
|
"author": "Everpoint",
|
|
5
5
|
"license": "MIT",
|
|
@@ -89,5 +89,5 @@
|
|
|
89
89
|
"uuid": "^13.0.0",
|
|
90
90
|
"wkt": "^0.1.1"
|
|
91
91
|
},
|
|
92
|
-
"gitHead": "
|
|
92
|
+
"gitHead": "30a9de557e9d84d596f071e459b9a2d9956a1d2e"
|
|
93
93
|
}
|