@progress/kendo-themes-html 4.43.1-dev.1 → 4.43.1-dev.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.
@@ -37,7 +37,10 @@ const attrMap = {
37
37
  onlabel: 'onLabel',
38
38
  offlabel: 'offLabel',
39
39
  trackrounded: 'trackRounded',
40
- thumbrounded: 'thumbRounded'
40
+ thumbrounded: 'thumbRounded',
41
+
42
+ // Chip
43
+ showavatar: 'showAvatar'
41
44
  };
42
45
 
43
46
  const booleanAttr = new Set([
@@ -70,6 +73,8 @@ const booleanAttr = new Set([
70
73
  'virtualization',
71
74
  'root',
72
75
 
76
+ 'showAvatar',
77
+
73
78
  'aria'
74
79
  ]);
75
80
 
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.1",
4
+ "version": "4.43.1-dev.2",
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": "9dcefebd634a5d866712324f22b0e903deaf7158"
45
+ "gitHead": "c8f3818a458d171ff85a688531bb94ea3ab9799c"
46
46
  }
@@ -139,7 +139,7 @@ AutocompleteStatic.propTypes = {
139
139
  suffix: typeof '#fragment',
140
140
 
141
141
  size: typeof [ null, 'small', 'medium', 'large' ],
142
- rounded: typeof [ null, 'small', 'medium', 'large', 'pill' ],
142
+ rounded: typeof [ null, 'small', 'medium', 'large', 'full' ],
143
143
 
144
144
  fillMode: typeof [ null, 'solid', 'flat', 'outline' ],
145
145
 
@@ -16,7 +16,6 @@ function AvatarStatic(props) {
16
16
  type,
17
17
 
18
18
  size,
19
- shape,
20
19
  rounded,
21
20
  bordered,
22
21
 
@@ -35,29 +34,29 @@ function AvatarStatic(props) {
35
34
  styles.sizeClass( size, 'k-avatar' ),
36
35
  styles.roundedClass( rounded ),
37
36
  styles.fillModeClass( fillMode, 'k-avatar' ),
38
- styles.shapeClass( shape, 'k-avatar' ),
39
37
  styles.themeColorClass( fillMode, themeColor, 'k-avatar' ),
40
38
  styles.borderedClass( bordered, 'k-avatar' ),
41
39
  ];
42
40
 
43
- let legacyClasses = [
44
- ownClassName,
45
- 'k-avatar',
46
- `k-avatar-${themeColor}`,
47
- {
48
- 'k-avatar-circle': rounded === 'circle',
49
- 'k-avatar-rounded': rounded !== 'circle' && rounded !== null
50
- },
51
- styles.sizeClass( size, 'k-avatar' ),
52
- styles.fillModeClass( fillMode, 'k-avatar' ),
53
- styles.borderedClass( bordered, 'k-avatar' ),
54
- ];
55
-
56
41
  let ariaAttr = aria
57
42
  ? {}
58
43
  : {};
59
44
 
60
45
  if (legacy) {
46
+
47
+ let legacyClasses = [
48
+ ownClassName,
49
+ 'k-avatar',
50
+ `k-avatar-${themeColor}`,
51
+ {
52
+ 'k-avatar-circle': rounded === 'full',
53
+ 'k-avatar-rounded': rounded !== 'full' && rounded !== null
54
+ },
55
+ styles.sizeClass( size, 'k-avatar' ),
56
+ styles.fillModeClass( fillMode, 'k-avatar' ),
57
+ styles.borderedClass( bordered, 'k-avatar' ),
58
+ ];
59
+
61
60
  return (
62
61
  <span className={legacyClasses} {...ariaAttr} {...htmlAttributes}>
63
62
  <span className={`k-avatar-${type}`}>
@@ -85,8 +84,7 @@ AvatarStatic.defaultProps = {
85
84
  type: '',
86
85
 
87
86
  size: 'medium',
88
- shape: 'square',
89
- rounded: 'circle',
87
+ rounded: 'full',
90
88
  bordered: false,
91
89
 
92
90
  fillMode: 'solid',
@@ -99,9 +97,8 @@ AvatarStatic.propTypes = {
99
97
 
100
98
  type: typeof '',
101
99
 
102
- size: typeof [ null, 'small', 'medium', 'large', 'circle' ],
103
- shape: typeof [ null, 'square', 'circle', 'rounded' ],
104
- rounded: typeof [ null, '0', 'small', 'medium', 'large' ],
100
+ size: typeof [ null, 'small', 'medium', 'large' ],
101
+ rounded: typeof [ null, 'small', 'medium', 'large', 'full' ],
105
102
  bordered: typeof false,
106
103
 
107
104
  fillMode: typeof [ null, 'solid', 'outline' ],
@@ -125,7 +125,7 @@ ButtonStatic.propTypes = {
125
125
  type: typeof [ 'button', 'submit', 'reset' ],
126
126
 
127
127
  size: typeof [ null, 'small', 'medium', 'large' ],
128
- rounded: typeof [ null, '0', 'small', 'medium', 'large', 'pill', 'circle' ],
128
+ rounded: typeof [ null, 'small', 'medium', 'large', 'full' ],
129
129
  shape: typeof [ null, 'rectangle', 'square' ],
130
130
 
131
131
  fillMode: typeof [ null, 'solid', 'flat', 'outline', 'link' ],
@@ -0,0 +1,47 @@
1
+ ## Chip
2
+
3
+ ```html
4
+ <!-- default rendering -->
5
+ <div class="k-chip k-chip-md k-rounded-full k-chip-solid k-chip-solid-base">
6
+ <span class="k-chip-text">Chip Text</span>
7
+ </div>
8
+
9
+ <!-- canonical rendering -->
10
+ <div class="
11
+ k-chip
12
+ k-chip-${size}
13
+ k-rounded-${rounded}
14
+ k-chip-${fillMode}
15
+ k-chip-${fillMode}-${themeColor}
16
+
17
+ ${disabled && 'k-disabled'}>
18
+ {icon !== '' && <span class="k-chip-icon k-icon k-i-${icon}"></span>}
19
+ {avatar !== '' && <span class="k-chip-avatar k-avatar"></span>}
20
+ <span className="k-chip-content">
21
+ { children.length
22
+ ? children
23
+ : text &&
24
+ <span className="k-chip-label">{text}</span>}
25
+ </span>
26
+ {removable && <span class="k-chip-icon k-icon k-i-${removeIcon}"></span>}
27
+ </div>
28
+ ```
29
+
30
+ ## ChipList
31
+
32
+ ```html
33
+ <!-- default rendering -->
34
+ <div class="k-chip-list k-chip-list-md">
35
+ <div class="k-chip k-chip-md k-rounded-full k-chip-solid k-chip-solid-base">...</div>
36
+ <div class="k-chip k-chip-md k-rounded-full k-chip-solid k-chip-solid-base">...</div>
37
+ <div class="k-chip k-chip-md k-rounded-full k-chip-solid k-chip-solid-base">...</div>
38
+ </div>
39
+
40
+ <!-- canonical rendering -->
41
+ <div class="
42
+ k-chip-list
43
+ k-chip-${size}">
44
+ <div class="k-chip" {...props}>...</div>
45
+ <div class="k-chip" {...props}>...</div>
46
+ </div>
47
+ ```
@@ -0,0 +1,80 @@
1
+ import { Component, globalDefaultProps } from '../component/index';
2
+ import { IconStatic } from '../icon/index';
3
+
4
+ function transformActions(actions) {
5
+ let newActions = [];
6
+
7
+ actions.forEach(action => {
8
+ if (action === 'more') {
9
+ newActions.push(
10
+ <span className="k-chip-action k-chip-more-action">
11
+ <IconStatic name="more-vertical" />
12
+ </span>
13
+ );
14
+
15
+ return;
16
+ }
17
+
18
+ if (action === 'remove') {
19
+ newActions.push(
20
+ <span className="k-chip-action k-chip-remove-action">
21
+ <IconStatic name="x-circle" />
22
+ </span>
23
+ );
24
+
25
+ return;
26
+ }
27
+
28
+ newActions.push(
29
+ <span className={`k-chip-action k-chip-${action}-action`}>
30
+ <IconStatic name={action} />
31
+ </span>
32
+ );
33
+ });
34
+
35
+ return newActions;
36
+ }
37
+
38
+ class ChipActions extends Component {
39
+ render() {
40
+ return <ChipActionsStatic {...this.props} />;
41
+ }
42
+ }
43
+
44
+ function ChipActionsStatic(props) {
45
+
46
+ const {
47
+ actions
48
+ } = props;
49
+
50
+ if (actions.length === 0) {
51
+ return <></>;
52
+ }
53
+
54
+ return (
55
+ <span className="k-chip-actions">
56
+ {transformActions( actions )}
57
+ </span>
58
+ );
59
+
60
+ }
61
+
62
+ ChipActionsStatic.defaultProps = {
63
+ ...globalDefaultProps,
64
+
65
+ actions: []
66
+ };
67
+
68
+ ChipActionsStatic.propTypes = {
69
+ className: typeof '',
70
+ children: typeof [],
71
+
72
+ actions: typeof [],
73
+
74
+ aria: typeof false,
75
+ legacy: typeof false,
76
+
77
+ htmlAttributes: typeof []
78
+ };
79
+
80
+ export { ChipActions, ChipActionsStatic };
@@ -0,0 +1,13 @@
1
+ import { AvatarStatic } from '../avatar/index';
2
+
3
+ function ChipAvatarStatic() {
4
+
5
+ return (
6
+ <AvatarStatic className="k-chip-avatar" type="image">
7
+ <img src="../../assets/avatar.jpg"/>
8
+ </AvatarStatic>
9
+ );
10
+
11
+ }
12
+
13
+ export { ChipAvatarStatic };
@@ -0,0 +1,84 @@
1
+
2
+ import * as styles from '../../utils/styles';
3
+ import { Component, globalDefaultProps } from '../component/index';
4
+
5
+ class ChipList extends Component {
6
+ render() {
7
+ return <ChipListStatic {...this.props} />;
8
+ }
9
+ }
10
+
11
+ function ChipListStatic(props) {
12
+ const {
13
+ className: ownClassName,
14
+
15
+ children,
16
+
17
+ size,
18
+
19
+ selection,
20
+
21
+ aria,
22
+ legacy,
23
+
24
+ ...htmlAttributes
25
+ } = props;
26
+
27
+ let listClasses = [
28
+ ownClassName,
29
+ 'k-chip-list',
30
+ styles.sizeClass( size, 'k-chip-list' ),
31
+ {
32
+ 'k-selection-single': selection === 'single',
33
+ 'k-selection-multiple': selection === 'multiple'
34
+ }
35
+ ];
36
+
37
+
38
+ let legacyListClasses = [
39
+ ownClassName,
40
+ 'k-chip-list'
41
+ ];
42
+
43
+ let ariaAttr = aria
44
+ ? {}
45
+ : {};
46
+
47
+ if (legacy) {
48
+ return (
49
+ <div className={legacyListClasses} {...ariaAttr} {...htmlAttributes}>
50
+ {children}
51
+ </div>
52
+ );
53
+ }
54
+
55
+ return (
56
+ <div className={listClasses} {...ariaAttr} {...htmlAttributes}>
57
+ {children}
58
+ </div>
59
+ );
60
+ }
61
+
62
+ ChipListStatic.defaultProps = {
63
+ ...globalDefaultProps,
64
+
65
+ size: 'medium',
66
+
67
+ selection: 'none'
68
+ };
69
+
70
+ ChipListStatic.propTypes = {
71
+ className: typeof '',
72
+ children: typeof [],
73
+
74
+ size: typeof [ null, 'small', 'medium', 'large' ],
75
+
76
+ selection: typeof [ null, 'single', 'multiple' ],
77
+
78
+ aria: typeof false,
79
+ legacy: typeof false,
80
+
81
+ htmlAttributes: typeof []
82
+ };
83
+
84
+ export { ChipList, ChipListStatic };
@@ -0,0 +1,180 @@
1
+ import * as styles from '../../utils/styles';
2
+ import { Component, globalDefaultProps } from '../component/index';
3
+ import { IconStatic } from '../icon/index';
4
+ import { ChipAvatarStatic } from './chip-avatar.jsx';
5
+ import { ChipActionsStatic } from './chip-actions.jsx';
6
+
7
+ class Chip extends Component {
8
+
9
+ init() {
10
+ let actions = this._props.actions;
11
+ let newActions = [];
12
+
13
+ if (actions === undefined) {
14
+ this._props.actions = [];
15
+ return;
16
+ }
17
+
18
+ if (Array.isArray(actions)) {
19
+ return;
20
+ }
21
+
22
+ actions.split(',').forEach(action => {
23
+ newActions.push(action.trim());
24
+ });
25
+
26
+ this._props.actions = newActions;
27
+ }
28
+
29
+ render() {
30
+ return <ChipStatic {...this.props} />;
31
+ }
32
+ }
33
+
34
+ function ChipStatic(props) {
35
+ const {
36
+ className: ownClassName,
37
+
38
+ children,
39
+
40
+ text,
41
+ icon,
42
+ actions,
43
+
44
+ showAvatar,
45
+
46
+ size,
47
+ rounded,
48
+
49
+ fillMode,
50
+ themeColor,
51
+
52
+ hover,
53
+ focus,
54
+ active,
55
+ selected,
56
+ disabled,
57
+
58
+ aria,
59
+ legacy,
60
+
61
+ ...htmlAttributes
62
+ } = props;
63
+
64
+ let chipClasses = [
65
+ ownClassName,
66
+ 'k-chip',
67
+ styles.sizeClass( size, 'k-chip' ),
68
+ styles.roundedClass( rounded ),
69
+ styles.fillModeClass( fillMode, 'k-chip' ),
70
+ styles.themeColorClass( fillMode, themeColor, 'k-chip' ),
71
+ {
72
+ 'k-hover': hover === true,
73
+ 'k-focus': focus === true,
74
+ 'k-active': active === true,
75
+ 'k-selected': selected === true,
76
+ 'k-disabled': disabled === true
77
+ }
78
+ ];
79
+
80
+ // Augment attributes
81
+ htmlAttributes.disabled = disabled;
82
+
83
+ let ariaAttr = aria
84
+ ? {}
85
+ : {};
86
+
87
+ if (legacy) {
88
+
89
+ let legacyClasses = [
90
+ ownClassName,
91
+ 'k-chip',
92
+ `k-chip-${themeColor}`,
93
+ {
94
+ 'k-chip-outline': fillMode === 'outline',
95
+ 'k-chip-solid': fillMode === 'solid',
96
+ 'k-state-hover': hover === true,
97
+ 'k-state-focus': focus === true,
98
+ 'k-state-active': active === true,
99
+ 'k-state-selected': selected === true,
100
+ 'k-state-disabled': disabled === true
101
+ }
102
+ ];
103
+
104
+ return (
105
+ <div className={legacyClasses} {...ariaAttr} {...htmlAttributes}>
106
+ <IconStatic className="k-chip-icon" name={icon} />
107
+ {showAvatar && <ChipAvatarStatic {...props} />}
108
+ <span className="k-chip-content">
109
+ { children.length
110
+ ? children
111
+ : text && <span className="k-chip-label">{text}</span>
112
+ }
113
+ </span>
114
+ { actions.length > 0 && <ChipActionsStatic actions={actions} />}
115
+ </div>
116
+ );
117
+ }
118
+
119
+ return (
120
+ <div className={chipClasses} {...ariaAttr} {...htmlAttributes}>
121
+ <IconStatic className="k-chip-icon" name={icon} />
122
+ {showAvatar && <ChipAvatarStatic {...props} />}
123
+ <span className="k-chip-content">
124
+ { children.length
125
+ ? children
126
+ : text && <span className="k-chip-label k-text-ellipsis">{text}</span>
127
+ }
128
+ </span>
129
+ { actions.length > 0 && <ChipActionsStatic actions={actions} />}
130
+ </div>
131
+ );
132
+ }
133
+
134
+ ChipStatic.defaultProps = {
135
+ ...globalDefaultProps,
136
+
137
+ children: [],
138
+
139
+ text: '',
140
+ icon: '',
141
+ actions: [],
142
+ showAvatar: false,
143
+
144
+ className: '',
145
+
146
+ size: 'medium',
147
+ rounded: 'medium',
148
+
149
+ fillMode: 'solid',
150
+ themeColor: 'base'
151
+ };
152
+
153
+ ChipStatic.propTypes = {
154
+ className: typeof '',
155
+ children: typeof [],
156
+
157
+ text: typeof '',
158
+ icon: typeof '',
159
+ actions: typeof [],
160
+ showAvatar: typeof false,
161
+
162
+ size: typeof [ null, 'small', 'medium', 'large' ],
163
+ rounded: typeof [ null, 'small', 'medium', 'large', 'full' ],
164
+
165
+ fillMode: typeof [ null, 'solid', 'outline' ],
166
+ themeColor: typeof [ null, 'base', 'error', 'warning', 'info', 'success' ],
167
+
168
+ hover: typeof false,
169
+ focus: typeof false,
170
+ active: typeof false,
171
+ selected: typeof false,
172
+ disabled: typeof false,
173
+
174
+ aria: typeof false,
175
+ legacy: typeof false,
176
+
177
+ htmlAttributes: typeof []
178
+ };
179
+
180
+ export { Chip, ChipStatic };
@@ -0,0 +1,4 @@
1
+ export * from './chip.jsx';
2
+ export * from './chip-avatar.jsx';
3
+ export * from './chip-actions.jsx';
4
+ export * from './chip-list.jsx';
@@ -67,17 +67,15 @@ function ColorpickerStatic(props) {
67
67
  'k-widget',
68
68
  'k-colorpicker',
69
69
  {
70
+ 'k-state-hover': hover === true,
71
+ 'k-state-focus': focus === true,
72
+ 'k-state-invalid': invalid === true,
70
73
  'k-state-disabled': disabled === true
71
74
  }
72
75
  ];
73
76
 
74
77
  let legacyWrapClasses = [
75
- 'k-picker-wrap',
76
- {
77
- 'k-state-hover': hover === true,
78
- 'k-state-focused': focus === true,
79
- 'k-state-invalid': invalid === true
80
- }
78
+ 'k-picker-wrap'
81
79
  ];
82
80
 
83
81
  return (
@@ -133,7 +131,7 @@ ColorpickerStatic.propTypes = {
133
131
  suffix: typeof '#fragment',
134
132
 
135
133
  size: typeof [ null, 'small', 'medium', 'large' ],
136
- rounded: typeof [ null, 'small', 'medium', 'large', 'pill' ],
134
+ rounded: typeof [ null, 'small', 'medium', 'large', 'full' ],
137
135
 
138
136
  fillMode: typeof [ null, 'solid', 'flat', 'outline' ],
139
137
 
@@ -150,7 +150,7 @@ ComboboxStatic.propTypes = {
150
150
  suffix: typeof '#fragment',
151
151
 
152
152
  size: typeof [ null, 'small', 'medium', 'large' ],
153
- rounded: typeof [ null, 'small', 'medium', 'large', 'pill' ],
153
+ rounded: typeof [ null, 'small', 'medium', 'large', 'full' ],
154
154
 
155
155
  fillMode: typeof [ null, 'solid', 'flat', 'outline' ],
156
156
 
@@ -75,17 +75,15 @@ function DateInputStatic(props) {
75
75
  'k-widget',
76
76
  'k-dateinput',
77
77
  {
78
+ 'k-state-hover': hover === true,
79
+ 'k-state-focus': focus === true,
80
+ 'k-state-invalid': invalid === true,
78
81
  'k-state-disabled': disabled === true
79
82
  }
80
83
  ];
81
84
 
82
85
  let legacyWrapClasses = [
83
- 'k-dateinput-wrap',
84
- {
85
- 'k-state-hover': hover === true,
86
- 'k-state-focused': focus === true,
87
- 'k-state-invalid': invalid === true
88
- }
86
+ 'k-dateinput-wrap'
89
87
  ];
90
88
 
91
89
  let legacyInputClasses = [
@@ -148,7 +146,7 @@ DateInputStatic.propTypes = {
148
146
  showClearButton: typeof true,
149
147
 
150
148
  size: typeof [ null, 'small', 'medium', 'large' ],
151
- rounded: typeof [ null, 'small', 'medium', 'large', 'pill' ],
149
+ rounded: typeof [ null, 'small', 'medium', 'large', 'full' ],
152
150
 
153
151
  fillMode: typeof [ null, 'solid', 'flat', 'outline' ],
154
152
 
@@ -76,17 +76,15 @@ function DatePickerStatic(props) {
76
76
  'k-widget',
77
77
  'k-datepicker',
78
78
  {
79
+ 'k-state-hover': hover === true,
80
+ 'k-state-focus': focus === true,
81
+ 'k-state-invalid': invalid === true,
79
82
  'k-state-disabled': disabled === true
80
83
  }
81
84
  ];
82
85
 
83
86
  let legacyWrapClasses = [
84
- 'k-picker-wrap',
85
- {
86
- 'k-state-hover': hover === true,
87
- 'k-state-focused': focus === true,
88
- 'k-state-invalid': invalid === true
89
- }
87
+ 'k-picker-wrap'
90
88
  ];
91
89
 
92
90
  return (
@@ -150,7 +148,7 @@ DatePickerStatic.propTypes = {
150
148
  suffix: typeof '#fragment',
151
149
 
152
150
  size: typeof [ null, 'small', 'medium', 'large' ],
153
- rounded: typeof [ null, 'small', 'medium', 'large', 'pill' ],
151
+ rounded: typeof [ null, 'small', 'medium', 'large', 'full' ],
154
152
 
155
153
  fillMode: typeof [ null, 'solid', 'flat', 'outline' ],
156
154
 
@@ -76,17 +76,15 @@ function DateTimePickerStatic(props) {
76
76
  'k-widget',
77
77
  'k-datetimepicker',
78
78
  {
79
+ 'k-state-hover': hover === true,
80
+ 'k-state-focus': focus === true,
81
+ 'k-state-invalid': invalid === true,
79
82
  'k-state-disabled': disabled === true
80
83
  }
81
84
  ];
82
85
 
83
86
  let legacyWrapClasses = [
84
- 'k-picker-wrap',
85
- {
86
- 'k-state-hover': hover === true,
87
- 'k-state-focused': focus === true,
88
- 'k-state-invalid': invalid === true
89
- }
87
+ 'k-picker-wrap'
90
88
  ];
91
89
 
92
90
  return (
@@ -150,7 +148,7 @@ DateTimePickerStatic.propTypes = {
150
148
  suffix: typeof '#fragment',
151
149
 
152
150
  size: typeof [ null, 'small', 'medium', 'large' ],
153
- rounded: typeof [ null, 'small', 'medium', 'large', 'pill' ],
151
+ rounded: typeof [ null, 'small', 'medium', 'large', 'full' ],
154
152
 
155
153
  fillMode: typeof [ null, 'solid', 'flat', 'outline' ],
156
154
 
@@ -172,7 +172,7 @@ DropdownListStatic.propTypes = {
172
172
  suffix: typeof '#fragment',
173
173
 
174
174
  size: typeof [ null, 'small', 'medium', 'large' ],
175
- rounded: typeof [ null, 'small', 'medium', 'large', 'pill' ],
175
+ rounded: typeof [ null, 'small', 'medium', 'large', 'full' ],
176
176
 
177
177
  fillMode: typeof [ null, 'solid', 'flat', 'outline' ],
178
178
 
package/src/index.js CHANGED
@@ -31,7 +31,7 @@ export * from './nodata/index';
31
31
  // Indicators
32
32
  export * from './avatar/index';
33
33
  // export * from './badge/index';
34
- // export * from './chip/index';
34
+ export * from './chip/index';
35
35
  // export * from './color-preview/index';
36
36
  // export * from './loader/index';
37
37
  // export * from './skeleton/index';
@@ -127,7 +127,7 @@ InputStatic.propTypes = {
127
127
  suffix: typeof '#fragment',
128
128
 
129
129
  size: typeof [ null, 'small', 'medium', 'large' ],
130
- rounded: typeof [ null, 'small', 'medium', 'large', 'pill' ],
130
+ rounded: typeof [ null, 'small', 'medium', 'large', 'full' ],
131
131
 
132
132
  fillMode: typeof [ null, 'solid', 'flat', 'outline' ],
133
133
 
@@ -125,7 +125,7 @@ PickerStatic.propTypes = {
125
125
  suffix: typeof '#fragment',
126
126
 
127
127
  size: typeof [ null, 'small', 'medium', 'large' ],
128
- rounded: typeof [ null, 'small', 'medium', 'large', 'pill' ],
128
+ rounded: typeof [ null, 'small', 'medium', 'large', 'full' ],
129
129
 
130
130
  fillMode: typeof [ null, 'solid', 'flat', 'outline' ],
131
131
 
@@ -20,7 +20,8 @@ function ListHeaderStatic(props) {
20
20
 
21
21
  let listHeaderClasses = [
22
22
  ownClassName,
23
- 'k-list-header'
23
+ // 'k-list-header',
24
+ 'k-list-group-sticky-header'
24
25
  ];
25
26
 
26
27
  let legacyListHeaderClasses = [
@@ -133,7 +133,7 @@ MaskedTextboxStatic.propTypes = {
133
133
  showClearButton: typeof true,
134
134
 
135
135
  size: typeof [ null, 'small', 'medium', 'large' ],
136
- rounded: typeof [ null, 'small', 'medium', 'large', 'pill' ],
136
+ rounded: typeof [ null, 'small', 'medium', 'large', 'full' ],
137
137
 
138
138
  fillMode: typeof [ null, 'solid', 'flat', 'outline' ],
139
139
 
@@ -149,7 +149,7 @@ NumericTextboxStatic.propTypes = {
149
149
  showClearButton: typeof true,
150
150
 
151
151
  size: typeof [ null, 'small', 'medium', 'large' ],
152
- rounded: typeof [ null, 'small', 'medium', 'large', 'pill' ],
152
+ rounded: typeof [ null, 'small', 'medium', 'large', 'full' ],
153
153
 
154
154
  fillMode: typeof [ null, 'solid', 'flat', 'outline' ],
155
155
 
@@ -69,7 +69,7 @@ PopupStatic.propTypes = {
69
69
  className: typeof '',
70
70
 
71
71
  size: typeof [ null, 'small', 'medium', 'large' ],
72
- rounded: typeof [ null, 'small', 'medium', 'large', 'pill' ],
72
+ rounded: typeof [ null, 'small', 'medium', 'large' ],
73
73
 
74
74
  aria: typeof false,
75
75
  legacy: typeof false,
@@ -150,7 +150,7 @@ SearchboxInner.propTypes = {
150
150
  suffix: typeof '#fragment',
151
151
 
152
152
  size: typeof [ null, 'small', 'medium', 'large' ],
153
- rounded: typeof [ null, 'small', 'medium', 'large', 'pill' ],
153
+ rounded: typeof [ null, 'small', 'medium', 'large', 'full' ],
154
154
 
155
155
  fillMode: typeof [ null, 'solid', 'flat', 'outline' ],
156
156
 
@@ -105,8 +105,8 @@ SwitchStatic.defaultProps = {
105
105
  offLabel: '',
106
106
 
107
107
  size: 'medium',
108
- trackRounded: 'pill',
109
- thumbRounded: 'pill'
108
+ trackRounded: 'full',
109
+ thumbRounded: 'full'
110
110
  };
111
111
  SwitchStatic.propTypes = {
112
112
  checked: typeof false,
@@ -115,8 +115,8 @@ SwitchStatic.propTypes = {
115
115
  offLabel: typeof '',
116
116
 
117
117
  size: typeof [ null, 'small', 'medium', 'large' ],
118
- trackRounded: typeof [ null, '0', 'small', 'medium', 'large', 'pill', 'circle' ],
119
- thumbRounded: typeof [ null, '0', 'small', 'medium', 'large', 'pill', 'circle' ],
118
+ trackRounded: typeof [ null, 'small', 'medium', 'large', 'full' ],
119
+ thumbRounded: typeof [ null, 'small', 'medium', 'large', 'full' ],
120
120
 
121
121
  hover: typeof false,
122
122
  focus: typeof false,
@@ -117,7 +117,7 @@ TextareaStatic.propTypes = {
117
117
  suffix: typeof '#fragment',
118
118
 
119
119
  size: typeof [ null, 'small', 'medium', 'large' ],
120
- rounded: typeof [ null, 'small', 'medium', 'large', 'pill' ],
120
+ rounded: typeof [ null, 'small', 'medium', 'large', 'full' ],
121
121
 
122
122
  fillMode: typeof [ null, 'solid', 'flat', 'outline' ],
123
123
 
@@ -140,7 +140,7 @@ TextboxStatic.propTypes = {
140
140
  suffix: typeof '#fragment',
141
141
 
142
142
  size: typeof [ null, 'small', 'medium', 'large' ],
143
- rounded: typeof [ null, 'small', 'medium', 'large', 'pill' ],
143
+ rounded: typeof [ null, 'small', 'medium', 'large', 'full' ],
144
144
 
145
145
  fillMode: typeof [ null, 'solid', 'flat', 'outline' ],
146
146
 
@@ -76,17 +76,15 @@ function TimePickerStatic(props) {
76
76
  'k-widget',
77
77
  'k-timepicker',
78
78
  {
79
+ 'k-state-hover': hover === true,
80
+ 'k-state-focus': focus === true,
81
+ 'k-state-invalid': invalid === true,
79
82
  'k-state-disabled': disabled === true
80
83
  }
81
84
  ];
82
85
 
83
86
  let legacyWrapClasses = [
84
- 'k-picker-wrap',
85
- {
86
- 'k-state-hover': hover === true,
87
- 'k-state-focused': focus === true,
88
- 'k-state-invalid': invalid === true
89
- }
87
+ 'k-picker-wrap'
90
88
  ];
91
89
 
92
90
  return (
@@ -150,7 +148,7 @@ TimePickerStatic.propTypes = {
150
148
  suffix: typeof '#fragment',
151
149
 
152
150
  size: typeof [ null, 'small', 'medium', 'large' ],
153
- rounded: typeof [ null, 'small', 'medium', 'large', 'pill' ],
151
+ rounded: typeof [ null, 'small', 'medium', 'large', 'full' ],
154
152
 
155
153
  fillMode: typeof [ null, 'solid', 'flat', 'outline' ],
156
154