@ws-ui/shared 1.11.8 → 1.11.9
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.
|
@@ -2,6 +2,15 @@ declare namespace webforms {
|
|
|
2
2
|
type ReactCSSProperties = import('react').CSSProperties;
|
|
3
3
|
type CraftComponent = import('@ws-ui/craftjs-core').SerializedNode;
|
|
4
4
|
|
|
5
|
+
type CustomStyleProperty = {
|
|
6
|
+
id: string;
|
|
7
|
+
key: string;
|
|
8
|
+
value: string;
|
|
9
|
+
active?: boolean;
|
|
10
|
+
new?: boolean;
|
|
11
|
+
invalid?: boolean;
|
|
12
|
+
};
|
|
13
|
+
|
|
5
14
|
type ComponentProps<CSSProperties = ReactCSSProperties> = {
|
|
6
15
|
readonly?: boolean;
|
|
7
16
|
disabled?: boolean;
|
|
@@ -25,6 +34,10 @@ declare namespace webforms {
|
|
|
25
34
|
* Contains list of classnames that have been applied to the element by the user
|
|
26
35
|
*/
|
|
27
36
|
classNames?: string[];
|
|
37
|
+
/**
|
|
38
|
+
* Contains list of custom css properties that have been applied to the element by the user
|
|
39
|
+
*/
|
|
40
|
+
customStyleProps?: CustomStyleProperty[];
|
|
28
41
|
/**
|
|
29
42
|
* Represants the main datasource for the component.
|
|
30
43
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ws-ui/shared",
|
|
3
|
-
"version": "1.11.
|
|
3
|
+
"version": "1.11.9",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.cjs.js",
|
|
6
6
|
"module": "./dist/index.es.js",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"@radix-ui/react-popover": "^0.1.6",
|
|
28
28
|
"@radix-ui/react-tooltip": "^0.1.7",
|
|
29
29
|
"@ws-ui/craftjs-core": "0.2.26",
|
|
30
|
-
"@ws-ui/icons": "1.11.
|
|
30
|
+
"@ws-ui/icons": "1.11.9",
|
|
31
31
|
"classnames": "^2.3.1",
|
|
32
32
|
"hotkeys-js": "^3.8.7",
|
|
33
33
|
"jsonschema": "^1.5.0",
|