@gem-sdk/core 1.8.0 → 1.8.4
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.
|
@@ -5,9 +5,9 @@ var makeStyle = require('./make-style.js');
|
|
|
5
5
|
|
|
6
6
|
const getBorderStyle = (value)=>{
|
|
7
7
|
return makeStyle.makeStyle({
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
b: value?.border,
|
|
9
|
+
bc: value?.color,
|
|
10
|
+
bw: value?.width
|
|
11
11
|
});
|
|
12
12
|
};
|
|
13
13
|
const handleConvertBorderStyle = (value)=>{
|
|
@@ -3,9 +3,9 @@ import { makeStyle, makeStyleResponsiveState, makeStyleState } from './make-styl
|
|
|
3
3
|
|
|
4
4
|
const getBorderStyle = (value)=>{
|
|
5
5
|
return makeStyle({
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
b: value?.border,
|
|
7
|
+
bc: value?.color,
|
|
8
|
+
bw: value?.width
|
|
9
9
|
});
|
|
10
10
|
};
|
|
11
11
|
const handleConvertBorderStyle = (value)=>{
|
package/dist/types/index.d.ts
CHANGED
|
@@ -405,6 +405,7 @@ type RangeControlType<T> = SharedControlType<T> & {
|
|
|
405
405
|
units?: string[];
|
|
406
406
|
disableOnChange?: boolean;
|
|
407
407
|
ignoreUnit?: boolean;
|
|
408
|
+
hideUnit?: boolean;
|
|
408
409
|
};
|
|
409
410
|
|
|
410
411
|
type Option$2<T> = {
|
|
@@ -467,6 +468,7 @@ type SegmentControlType<T> = {
|
|
|
467
468
|
type Option$1<T> = {
|
|
468
469
|
value: T extends ObjectDevices<infer U> ? U extends StateProp<infer A> ? A : U : T extends StateProp<infer B> ? B : T;
|
|
469
470
|
label: string | number;
|
|
471
|
+
hideOnPage?: string[];
|
|
470
472
|
};
|
|
471
473
|
type Mapped$1<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
472
474
|
id: K;
|