@zeedhi/common 1.78.0 → 1.78.2
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/zd-common.esm.js
CHANGED
|
@@ -2438,12 +2438,35 @@ class Col extends ComponentRender {
|
|
|
2438
2438
|
constructor(props) {
|
|
2439
2439
|
super(props);
|
|
2440
2440
|
this.cols = '12';
|
|
2441
|
+
/**
|
|
2442
|
+
* Defines the component height. Possible values for this property can be
|
|
2443
|
+
* <samp>'auto', '100%', '400px' or 400</samp>
|
|
2444
|
+
*/
|
|
2445
|
+
this.height = 'auto';
|
|
2446
|
+
/**
|
|
2447
|
+
* Defines the component min height. Possible values for this property can be
|
|
2448
|
+
* <samp>'auto', '100%', '400px' or 400</samp>
|
|
2449
|
+
*/
|
|
2450
|
+
this.minHeight = 'auto';
|
|
2451
|
+
/**
|
|
2452
|
+
* Defines the component max height. Possible values for this property can be
|
|
2453
|
+
* <samp>'auto', '100%', '400px' or 400</samp>
|
|
2454
|
+
*/
|
|
2455
|
+
this.maxHeight = 'none';
|
|
2456
|
+
/**
|
|
2457
|
+
* Set component height to fill all space available
|
|
2458
|
+
*/
|
|
2459
|
+
this.fillHeight = false;
|
|
2441
2460
|
this.cols = this.getInitValue('cols', props.cols, this.cols);
|
|
2442
2461
|
this.sm = this.getInitValue('sm', props.sm, this.sm);
|
|
2443
2462
|
this.md = this.getInitValue('md', props.md, this.md);
|
|
2444
2463
|
this.lg = this.getInitValue('lg', props.lg, this.lg);
|
|
2445
2464
|
this.xl = this.getInitValue('xl', props.xl, this.xl);
|
|
2446
2465
|
this.offset = this.getInitValue('offset', props.offset, this.offset);
|
|
2466
|
+
this.height = this.getInitValue('height', props.height, this.height);
|
|
2467
|
+
this.minHeight = this.getInitValue('minHeight', props.minHeight, this.minHeight);
|
|
2468
|
+
this.maxHeight = this.getInitValue('maxHeight', props.maxHeight, this.maxHeight);
|
|
2469
|
+
this.fillHeight = this.getInitValue('fillHeight', props.fillHeight, this.fillHeight);
|
|
2447
2470
|
this.createAccessors();
|
|
2448
2471
|
}
|
|
2449
2472
|
}
|
package/dist/zd-common.umd.js
CHANGED
|
@@ -2445,12 +2445,35 @@
|
|
|
2445
2445
|
constructor(props) {
|
|
2446
2446
|
super(props);
|
|
2447
2447
|
this.cols = '12';
|
|
2448
|
+
/**
|
|
2449
|
+
* Defines the component height. Possible values for this property can be
|
|
2450
|
+
* <samp>'auto', '100%', '400px' or 400</samp>
|
|
2451
|
+
*/
|
|
2452
|
+
this.height = 'auto';
|
|
2453
|
+
/**
|
|
2454
|
+
* Defines the component min height. Possible values for this property can be
|
|
2455
|
+
* <samp>'auto', '100%', '400px' or 400</samp>
|
|
2456
|
+
*/
|
|
2457
|
+
this.minHeight = 'auto';
|
|
2458
|
+
/**
|
|
2459
|
+
* Defines the component max height. Possible values for this property can be
|
|
2460
|
+
* <samp>'auto', '100%', '400px' or 400</samp>
|
|
2461
|
+
*/
|
|
2462
|
+
this.maxHeight = 'none';
|
|
2463
|
+
/**
|
|
2464
|
+
* Set component height to fill all space available
|
|
2465
|
+
*/
|
|
2466
|
+
this.fillHeight = false;
|
|
2448
2467
|
this.cols = this.getInitValue('cols', props.cols, this.cols);
|
|
2449
2468
|
this.sm = this.getInitValue('sm', props.sm, this.sm);
|
|
2450
2469
|
this.md = this.getInitValue('md', props.md, this.md);
|
|
2451
2470
|
this.lg = this.getInitValue('lg', props.lg, this.lg);
|
|
2452
2471
|
this.xl = this.getInitValue('xl', props.xl, this.xl);
|
|
2453
2472
|
this.offset = this.getInitValue('offset', props.offset, this.offset);
|
|
2473
|
+
this.height = this.getInitValue('height', props.height, this.height);
|
|
2474
|
+
this.minHeight = this.getInitValue('minHeight', props.minHeight, this.minHeight);
|
|
2475
|
+
this.maxHeight = this.getInitValue('maxHeight', props.maxHeight, this.maxHeight);
|
|
2476
|
+
this.fillHeight = this.getInitValue('fillHeight', props.fillHeight, this.fillHeight);
|
|
2454
2477
|
this.createAccessors();
|
|
2455
2478
|
}
|
|
2456
2479
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zeedhi/common",
|
|
3
|
-
"version": "1.78.
|
|
3
|
+
"version": "1.78.2",
|
|
4
4
|
"description": "Zeedhi Common",
|
|
5
5
|
"author": "Zeedhi <zeedhi@teknisa.com>",
|
|
6
6
|
"license": "ISC",
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"lodash.times": "4.3.*",
|
|
40
40
|
"mockdate": "3.0.*"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "f90d2ee43230496d7eac7740266dabc973c9438a"
|
|
43
43
|
}
|
|
@@ -10,6 +10,25 @@ export declare class Col extends ComponentRender implements ICol {
|
|
|
10
10
|
lg?: string | number;
|
|
11
11
|
xl?: string | number;
|
|
12
12
|
offset?: string | number;
|
|
13
|
+
/**
|
|
14
|
+
* Defines the component height. Possible values for this property can be
|
|
15
|
+
* <samp>'auto', '100%', '400px' or 400</samp>
|
|
16
|
+
*/
|
|
17
|
+
height: string | number;
|
|
18
|
+
/**
|
|
19
|
+
* Defines the component min height. Possible values for this property can be
|
|
20
|
+
* <samp>'auto', '100%', '400px' or 400</samp>
|
|
21
|
+
*/
|
|
22
|
+
minHeight: string | number;
|
|
23
|
+
/**
|
|
24
|
+
* Defines the component max height. Possible values for this property can be
|
|
25
|
+
* <samp>'auto', '100%', '400px' or 400</samp>
|
|
26
|
+
*/
|
|
27
|
+
maxHeight: string | number;
|
|
28
|
+
/**
|
|
29
|
+
* Set component height to fill all space available
|
|
30
|
+
*/
|
|
31
|
+
fillHeight: boolean;
|
|
13
32
|
/**
|
|
14
33
|
* Creates a new Col.
|
|
15
34
|
* @param props Col properties
|
|
@@ -9,4 +9,8 @@ export interface ICol extends IComponentRender {
|
|
|
9
9
|
lg?: boolean | string | number;
|
|
10
10
|
xl?: boolean | string | number;
|
|
11
11
|
offset?: string | number;
|
|
12
|
+
height?: number | string;
|
|
13
|
+
maxHeight?: number | string;
|
|
14
|
+
minHeight?: number | string;
|
|
15
|
+
fillHeight?: boolean;
|
|
12
16
|
}
|