@progress/kendo-themes-html 4.43.1-dev.2 → 4.43.1-dev.3
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 +2 -2
- package/src/colorpicker/README.md +24 -15
- package/src/input/picker.jsx +2 -2
- package/src/list/list-content.jsx +18 -17
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-themes-html",
|
|
3
3
|
"description": "A collection of HTML helpers used for developing Kendo UI themes",
|
|
4
|
-
"version": "4.43.1-dev.
|
|
4
|
+
"version": "4.43.1-dev.3",
|
|
5
5
|
"author": "Progress",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"keywords": [
|
|
@@ -42,5 +42,5 @@
|
|
|
42
42
|
"@rollup/plugin-node-resolve": "^13.0.6",
|
|
43
43
|
"rollup": "^2.59.0"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "17b6139d64d5dab2c8687e0f2e50fda466679766"
|
|
46
46
|
}
|
|
@@ -1,28 +1,37 @@
|
|
|
1
1
|
```html
|
|
2
2
|
<!-- default rendering -->
|
|
3
|
-
<span class="k-
|
|
4
|
-
<
|
|
5
|
-
|
|
3
|
+
<span class="k-colorpicker k-icon-picker k-picker k-picker-md k-rounded-md k-picker-solid">
|
|
4
|
+
<span class="k-input-inner">
|
|
5
|
+
<span class="k-value-icon k-color-preview k-no-color">
|
|
6
|
+
<span class="k-color-preview-mask" style="background-color: red;"></span>
|
|
7
|
+
</span>
|
|
8
|
+
</span>
|
|
9
|
+
<button type="button" class="k-input-button k-button k-button-md k-button-solid k-button-solid-base k-icon-button">
|
|
6
10
|
<span class="k-button-icon k-icon k-i-arrow-s"></span>
|
|
7
11
|
</button>
|
|
8
12
|
</span>
|
|
9
13
|
|
|
10
14
|
<!-- canonical rendering -->
|
|
11
15
|
<span class="
|
|
12
|
-
k-
|
|
13
|
-
k-
|
|
14
|
-
k-
|
|
15
|
-
k-
|
|
16
|
-
k-
|
|
16
|
+
k-colorpicker
|
|
17
|
+
k-picker
|
|
18
|
+
k-icon-picker
|
|
19
|
+
k-picker-{size}
|
|
20
|
+
k-rounded-{rounded}
|
|
21
|
+
k-picker-{fillMode}
|
|
17
22
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
23
|
+
{valid && 'k-valid'}
|
|
24
|
+
{invalid && 'k-invalid'}
|
|
25
|
+
{required && 'k-required'}
|
|
26
|
+
{disabled && 'k-disabled'}
|
|
22
27
|
">
|
|
23
|
-
<
|
|
24
|
-
|
|
25
|
-
|
|
28
|
+
{inputPrefix && <span class="k-input-prefix">...</span>}
|
|
29
|
+
<span class="k-input-inner">
|
|
30
|
+
<span class="k-value-icon k-color-preview k-no-color">
|
|
31
|
+
<span class="k-color-preview-mask" style={value}></span>
|
|
32
|
+
</span>
|
|
33
|
+
</span>
|
|
34
|
+
{inputSuffix && <span class="k-input-suffix">...</span>}
|
|
26
35
|
<button type="button" class="k-input-button k-button k-icon-button k-button-{size} k-button-{fillMode} k-button-{fillMode}-base">
|
|
27
36
|
<span class="k-button-icon k-icon k-i-arrow-s"></span>
|
|
28
37
|
</button>
|
package/src/input/picker.jsx
CHANGED
|
@@ -62,9 +62,9 @@ function PickerStatic(props) {
|
|
|
62
62
|
let pickerClasses = [
|
|
63
63
|
ownClassName,
|
|
64
64
|
'k-picker',
|
|
65
|
-
styles.sizeClass( size, 'k-
|
|
65
|
+
styles.sizeClass( size, 'k-picker' ),
|
|
66
66
|
styles.roundedClass( rounded ),
|
|
67
|
-
styles.fillModeClass( fillMode, 'k-
|
|
67
|
+
styles.fillModeClass( fillMode, 'k-picker' ),
|
|
68
68
|
{
|
|
69
69
|
'k-hover': hover === true,
|
|
70
70
|
'k-focus': focus === true,
|
|
@@ -25,32 +25,33 @@ function ListContentStatic(props) {
|
|
|
25
25
|
'k-list-content'
|
|
26
26
|
];
|
|
27
27
|
|
|
28
|
-
let legacyListContentClasses = [
|
|
29
|
-
ownClassName,
|
|
30
|
-
'k-list-content',
|
|
31
|
-
{
|
|
32
|
-
'k-list-scroller': virtualization === false,
|
|
33
|
-
'k-virtual-content': virtualization === true
|
|
34
|
-
}
|
|
35
|
-
];
|
|
36
|
-
|
|
37
28
|
let listULClasses = [
|
|
38
29
|
'k-list-ul'
|
|
39
30
|
];
|
|
40
31
|
|
|
41
|
-
let legacyListULClasses = [
|
|
42
|
-
'k-list',
|
|
43
|
-
'k-reset',
|
|
44
|
-
{
|
|
45
|
-
'k-virtual-list': virtualization === true
|
|
46
|
-
}
|
|
47
|
-
];
|
|
48
|
-
|
|
49
32
|
let ariaAttr = aria
|
|
50
33
|
? {}
|
|
51
34
|
: {};
|
|
52
35
|
|
|
53
36
|
if (legacy) {
|
|
37
|
+
|
|
38
|
+
let legacyListContentClasses = [
|
|
39
|
+
ownClassName,
|
|
40
|
+
'k-list-content',
|
|
41
|
+
{
|
|
42
|
+
'k-list-scroller': virtualization === false || virtualization === undefined,
|
|
43
|
+
'k-virtual-content': virtualization === true
|
|
44
|
+
}
|
|
45
|
+
];
|
|
46
|
+
|
|
47
|
+
let legacyListULClasses = [
|
|
48
|
+
'k-list',
|
|
49
|
+
'k-reset',
|
|
50
|
+
{
|
|
51
|
+
'k-virtual-list': virtualization === true
|
|
52
|
+
}
|
|
53
|
+
];
|
|
54
|
+
|
|
54
55
|
return (
|
|
55
56
|
<div className={legacyListContentClasses} {...ariaAttr} {...htmlAttributes}>
|
|
56
57
|
<ul className={legacyListULClasses}>
|