@progress/kendo-themes-html 4.42.1-dev.4 → 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.
Files changed (55) hide show
  1. package/lib/jsx-runtime.js +32 -3
  2. package/package.json +2 -2
  3. package/src/autocomplete/autocomplete.jsx +4 -4
  4. package/src/avatar/README.md +21 -0
  5. package/src/avatar/avatar.jsx +113 -0
  6. package/src/avatar/index.js +1 -0
  7. package/src/button/button.jsx +6 -6
  8. package/src/checkbox/checkbox.jsx +3 -3
  9. package/src/chip/README.md +47 -0
  10. package/src/chip/chip-actions.jsx +80 -0
  11. package/src/chip/chip-avatar.jsx +13 -0
  12. package/src/chip/chip-list.jsx +84 -0
  13. package/src/chip/chip.jsx +180 -0
  14. package/src/chip/index.js +4 -0
  15. package/src/colorpicker/color-preview.jsx +6 -2
  16. package/src/colorpicker/colorpicker.jsx +12 -13
  17. package/src/combobox/combobox.jsx +5 -5
  18. package/src/{component.js → component/component.jsx} +4 -2
  19. package/src/component/index.js +1 -0
  20. package/src/dateinput/dateinput.jsx +9 -11
  21. package/src/datepicker/datepicker.jsx +9 -11
  22. package/src/datetimepicker/datetimepicker.jsx +9 -11
  23. package/src/dropdownlist/dropdownlist.jsx +9 -6
  24. package/src/icon/icon.jsx +1 -1
  25. package/src/index.js +43 -3
  26. package/src/input/input-inner-input.jsx +1 -1
  27. package/src/input/input-inner-span.jsx +1 -1
  28. package/src/input/input-inner-textarea.jsx +1 -1
  29. package/src/input/input-prefix.jsx +1 -1
  30. package/src/input/input-suffix.jsx +1 -1
  31. package/src/input/input.jsx +4 -4
  32. package/src/input/picker.jsx +4 -4
  33. package/src/list/README.md +93 -0
  34. package/src/list/index.js +5 -0
  35. package/src/list/list-content.jsx +94 -0
  36. package/src/list/list-group-item.jsx +66 -0
  37. package/src/list/list-header.jsx +67 -0
  38. package/src/list/list-item.jsx +117 -0
  39. package/src/list/list.jsx +182 -0
  40. package/src/maskedtextbox/maskedtextbox.jsx +4 -4
  41. package/src/nodata/index.js +1 -0
  42. package/src/nodata/nodata.jsx +64 -0
  43. package/src/numerictextbox/numerictextbox.jsx +5 -5
  44. package/src/popup/README.md +15 -0
  45. package/src/popup/index.js +1 -0
  46. package/src/popup/popup.jsx +80 -0
  47. package/src/radio/radio.jsx +2 -2
  48. package/src/searchbar/searchbar.jsx +1 -1
  49. package/src/searchbox/searchbox.jsx +4 -4
  50. package/src/spinbutton/spinbutton.jsx +9 -3
  51. package/src/switch/switch.jsx +6 -6
  52. package/src/textarea/textarea.jsx +4 -4
  53. package/src/textbox/textbox.jsx +4 -4
  54. package/src/timepicker/timepicker.jsx +9 -11
  55. package/utils/styles.js +14 -5
@@ -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';
@@ -1,4 +1,4 @@
1
- import { Component, globalDefaultProps } from '../component';
1
+ import { Component, globalDefaultProps } from '../component/index';
2
2
  import { IconStatic } from '../icon/index';
3
3
 
4
4
  class ColorPreview extends Component {
@@ -29,6 +29,10 @@ function ColorPreviewStatic(props) {
29
29
  }
30
30
  ];
31
31
 
32
+ let styles = {
33
+ 'background-color': color
34
+ };
35
+
32
36
  let ariaAttr = aria
33
37
  ? {}
34
38
  : {};
@@ -64,7 +68,7 @@ function ColorPreviewStatic(props) {
64
68
  return (
65
69
  <span className={colorPreviewClasses} {...ariaAttr} {...htmlAttributes}>
66
70
  {iconName && <IconStatic name={iconName} className="k-color-preview-icon" />}
67
- <span className="k-color-preview-mask"></span>
71
+ <span className="k-color-preview-mask" style={styles}></span>
68
72
  </span>
69
73
  );
70
74
  }
@@ -1,4 +1,4 @@
1
- import { globalDefaultProps } from '../component';
1
+ import { globalDefaultProps } from '../component/index';
2
2
  import { Picker, PickerStatic, InputInnerSpanStatic } from '../input/index';
3
3
  import { ColorPreviewStatic } from './color-preview.jsx';
4
4
  import { ButtonStatic } from '../button/index';
@@ -52,7 +52,8 @@ function ColorpickerStatic(props) {
52
52
 
53
53
  let colorpickerClasses = [
54
54
  ownClassName,
55
- 'k-colorpicker'
55
+ 'k-colorpicker',
56
+ 'k-icon-picker'
56
57
  ];
57
58
 
58
59
  let ariaAttr = aria
@@ -66,17 +67,15 @@ function ColorpickerStatic(props) {
66
67
  'k-widget',
67
68
  'k-colorpicker',
68
69
  {
70
+ 'k-state-hover': hover === true,
71
+ 'k-state-focus': focus === true,
72
+ 'k-state-invalid': invalid === true,
69
73
  'k-state-disabled': disabled === true
70
74
  }
71
75
  ];
72
76
 
73
77
  let legacyWrapClasses = [
74
- 'k-picker-wrap',
75
- {
76
- 'k-state-hover': hover === true,
77
- 'k-state-focused': focus === true,
78
- 'k-state-invalid': invalid === true
79
- }
78
+ 'k-picker-wrap'
80
79
  ];
81
80
 
82
81
  return (
@@ -92,9 +91,9 @@ function ColorpickerStatic(props) {
92
91
  return (
93
92
  <PickerStatic className={colorpickerClasses} {...ariaAttr} {...htmlAttributes}>
94
93
  {prefix}
95
- <InputInnerSpanStatic showValue={false} valueIcon={<ColorPreviewStatic className="k-icon k-value-icon" color={value} iconName={iconName} />} />
94
+ <InputInnerSpanStatic showValue={false} valueIcon={<ColorPreviewStatic className="k-value-icon" color={value} iconName={iconName} />} />
96
95
  {suffix}
97
- <ButtonStatic className="k-input-button" icon="arrow-s" rounded="none" size={size} fillMode={fillMode}></ButtonStatic>
96
+ <ButtonStatic className="k-input-button" icon="arrow-s" shape={null} rounded={null} size={size} fillMode={fillMode}></ButtonStatic>
98
97
  </PickerStatic>
99
98
  );
100
99
  }
@@ -131,10 +130,10 @@ ColorpickerStatic.propTypes = {
131
130
  prefix: typeof '#fragment',
132
131
  suffix: typeof '#fragment',
133
132
 
134
- size: typeof [ 'none', 'small', 'medium', 'large' ],
135
- rounded: typeof [ 'none', 'small', 'medium', 'large', 'pill' ],
133
+ size: typeof [ null, 'small', 'medium', 'large' ],
134
+ rounded: typeof [ null, 'small', 'medium', 'large', 'full' ],
136
135
 
137
- fillMode: typeof [ 'none', 'solid', 'flat', 'outline' ],
136
+ fillMode: typeof [ null, 'solid', 'flat', 'outline' ],
138
137
 
139
138
  hover: typeof false,
140
139
  focus: typeof false,
@@ -1,4 +1,4 @@
1
- import { globalDefaultProps } from '../component';
1
+ import { globalDefaultProps } from '../component/index';
2
2
  import { Input, InputStatic, InputInnerInputStatic } from '../input/index';
3
3
  import { InputValidationIconStatic, InputLoadingIconStatic, InputClearValueStatic } from '../input/index';
4
4
  import { ButtonStatic } from '../button/index';
@@ -110,7 +110,7 @@ function ComboboxStatic(props) {
110
110
  <InputValidationIconStatic {...props} />
111
111
  <InputLoadingIconStatic {...props} />
112
112
  <InputClearValueStatic {...props} />
113
- <ButtonStatic className="k-input-button" icon="arrow-s" rounded="none" size={size} fillMode={fillMode}></ButtonStatic>
113
+ <ButtonStatic className="k-input-button" icon="arrow-s" shape={null} rounded={null} size={size} fillMode={fillMode}></ButtonStatic>
114
114
  </InputStatic>
115
115
  );
116
116
  }
@@ -149,10 +149,10 @@ ComboboxStatic.propTypes = {
149
149
  prefix: typeof '#fragment',
150
150
  suffix: typeof '#fragment',
151
151
 
152
- size: typeof [ 'none', 'small', 'medium', 'large' ],
153
- rounded: typeof [ 'none', 'small', 'medium', 'large', 'pill' ],
152
+ size: typeof [ null, 'small', 'medium', 'large' ],
153
+ rounded: typeof [ null, 'small', 'medium', 'large', 'full' ],
154
154
 
155
- fillMode: typeof [ 'none', 'solid', 'flat', 'outline' ],
155
+ fillMode: typeof [ null, 'solid', 'flat', 'outline' ],
156
156
 
157
157
  hover: typeof false,
158
158
  focus: typeof false,
@@ -1,9 +1,11 @@
1
- import { isFunction } from '../utils/object';
2
- import { renderDOM, htmlToProps } from '../lib/jsx-runtime';
1
+ import { isFunction } from '../../utils/object';
2
+ import { renderDOM, htmlToProps } from '../../lib/jsx-runtime';
3
3
 
4
4
  const globalDefaultProps = {
5
5
  legacy: true,
6
6
 
7
+ framework: 'universal',
8
+
7
9
  className: '',
8
10
 
9
11
  aria: false,
@@ -0,0 +1 @@
1
+ export * from './component.jsx';
@@ -1,4 +1,4 @@
1
- import { Component, globalDefaultProps } from '../component';
1
+ import { Component, globalDefaultProps } from '../component/index';
2
2
  import { InputStatic, InputInnerInputStatic } from '../input/index';
3
3
  import { InputValidationIconStatic, InputLoadingIconStatic, InputClearValueStatic } from '../input/index';
4
4
  import { SpinButtonStatic } from '../spinbutton/index';
@@ -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 = [
@@ -111,7 +109,7 @@ function DateInputStatic(props) {
111
109
  <InputValidationIconStatic {...props} />
112
110
  <InputLoadingIconStatic {...props} />
113
111
  <InputClearValueStatic {...props} />
114
- {showSpinButton === true && <SpinButtonStatic className="k-input-spinner" />}
112
+ {showSpinButton === true && <SpinButtonStatic className="k-input-spinner" size={size} fillMode={fillMode} />}
115
113
  </InputStatic>
116
114
  );
117
115
  }
@@ -147,10 +145,10 @@ DateInputStatic.propTypes = {
147
145
  showLoadingIcon: typeof true,
148
146
  showClearButton: typeof true,
149
147
 
150
- size: typeof [ 'none', 'small', 'medium', 'large' ],
151
- rounded: typeof [ 'none', 'small', 'medium', 'large', 'pill' ],
148
+ size: typeof [ null, 'small', 'medium', 'large' ],
149
+ rounded: typeof [ null, 'small', 'medium', 'large', 'full' ],
152
150
 
153
- fillMode: typeof [ 'none', 'solid', 'flat', 'outline' ],
151
+ fillMode: typeof [ null, 'solid', 'flat', 'outline' ],
154
152
 
155
153
  hover: typeof false,
156
154
  focus: typeof false,
@@ -1,4 +1,4 @@
1
- import { globalDefaultProps } from '../component';
1
+ import { globalDefaultProps } from '../component/index';
2
2
  import { Input, InputStatic, InputInnerInputStatic } from '../input/index';
3
3
  import { InputValidationIconStatic, InputLoadingIconStatic, InputClearValueStatic } from '../input/index';
4
4
  import { ButtonStatic } from '../button/index';
@@ -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 (
@@ -110,7 +108,7 @@ function DatePickerStatic(props) {
110
108
  <InputValidationIconStatic {...props} />
111
109
  <InputLoadingIconStatic {...props} />
112
110
  <InputClearValueStatic {...props} />
113
- <ButtonStatic className="k-input-button" icon="calendar" rounded="none" size={size} fillMode={fillMode}></ButtonStatic>
111
+ <ButtonStatic className="k-input-button" icon="calendar" shape={null} rounded={null} size={size} fillMode={fillMode}></ButtonStatic>
114
112
  </InputStatic>
115
113
  );
116
114
  }
@@ -149,10 +147,10 @@ DatePickerStatic.propTypes = {
149
147
  prefix: typeof '#fragment',
150
148
  suffix: typeof '#fragment',
151
149
 
152
- size: typeof [ 'none', 'small', 'medium', 'large' ],
153
- rounded: typeof [ 'none', 'small', 'medium', 'large', 'pill' ],
150
+ size: typeof [ null, 'small', 'medium', 'large' ],
151
+ rounded: typeof [ null, 'small', 'medium', 'large', 'full' ],
154
152
 
155
- fillMode: typeof [ 'none', 'solid', 'flat', 'outline' ],
153
+ fillMode: typeof [ null, 'solid', 'flat', 'outline' ],
156
154
 
157
155
  hover: typeof false,
158
156
  focus: typeof false,
@@ -1,4 +1,4 @@
1
- import { globalDefaultProps } from '../component';
1
+ import { globalDefaultProps } from '../component/index';
2
2
  import { Input, InputStatic, InputInnerInputStatic } from '../input/index';
3
3
  import { InputValidationIconStatic, InputLoadingIconStatic, InputClearValueStatic } from '../input/index';
4
4
  import { ButtonStatic } from '../button/index';
@@ -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 (
@@ -110,7 +108,7 @@ function DateTimePickerStatic(props) {
110
108
  <InputValidationIconStatic {...props} />
111
109
  <InputLoadingIconStatic {...props} />
112
110
  <InputClearValueStatic {...props} />
113
- <ButtonStatic className="k-input-button" icon="calendar" rounded="none" size={size} fillMode={fillMode}></ButtonStatic>
111
+ <ButtonStatic className="k-input-button" icon="calendar" shape={null} rounded={null} size={size} fillMode={fillMode}></ButtonStatic>
114
112
  </InputStatic>
115
113
  );
116
114
  }
@@ -149,10 +147,10 @@ DateTimePickerStatic.propTypes = {
149
147
  prefix: typeof '#fragment',
150
148
  suffix: typeof '#fragment',
151
149
 
152
- size: typeof [ 'none', 'small', 'medium', 'large' ],
153
- rounded: typeof [ 'none', 'small', 'medium', 'large', 'pill' ],
150
+ size: typeof [ null, 'small', 'medium', 'large' ],
151
+ rounded: typeof [ null, 'small', 'medium', 'large', 'full' ],
154
152
 
155
- fillMode: typeof [ 'none', 'solid', 'flat', 'outline' ],
153
+ fillMode: typeof [ null, 'solid', 'flat', 'outline' ],
156
154
 
157
155
  hover: typeof false,
158
156
  focus: typeof false,
@@ -1,4 +1,4 @@
1
- import { globalDefaultProps } from '../component';
1
+ import { globalDefaultProps } from '../component/index';
2
2
  import { Picker, PickerStatic, InputInnerSpanStatic } from '../input/index';
3
3
  import { InputValidationIconStatic, InputLoadingIconStatic, InputClearValueStatic } from '../input/index';
4
4
  import { ButtonStatic } from '../button/index';
@@ -71,7 +71,10 @@ function DropdownListStatic(props) {
71
71
 
72
72
  let dropdownListClasses = [
73
73
  ownClassName,
74
- 'k-dropdown'
74
+ 'k-dropdown',
75
+ {
76
+ 'k-icon-picker': showValue !== true && (valueIcon !== null || valueIconName !== '')
77
+ }
75
78
  ];
76
79
 
77
80
  let ariaAttr = aria
@@ -119,7 +122,7 @@ function DropdownListStatic(props) {
119
122
  <InputValidationIconStatic {...props} />
120
123
  <InputLoadingIconStatic {...props} />
121
124
  <InputClearValueStatic {...props} />
122
- <ButtonStatic className="k-input-button" icon={arrowIconName} rounded="none" size={size} fillMode={fillMode}></ButtonStatic>
125
+ <ButtonStatic className="k-input-button" icon={arrowIconName} shape={null} rounded={null} size={size} fillMode={fillMode}></ButtonStatic>
123
126
  </PickerStatic>
124
127
  );
125
128
  }
@@ -168,10 +171,10 @@ DropdownListStatic.propTypes = {
168
171
  prefix: typeof '#fragment',
169
172
  suffix: typeof '#fragment',
170
173
 
171
- size: typeof [ 'none', 'small', 'medium', 'large' ],
172
- rounded: typeof [ 'none', 'small', 'medium', 'large', 'pill' ],
174
+ size: typeof [ null, 'small', 'medium', 'large' ],
175
+ rounded: typeof [ null, 'small', 'medium', 'large', 'full' ],
173
176
 
174
- fillMode: typeof [ 'none', 'solid', 'flat', 'outline' ],
177
+ fillMode: typeof [ null, 'solid', 'flat', 'outline' ],
175
178
 
176
179
  hover: typeof false,
177
180
  focus: typeof false,
package/src/icon/icon.jsx CHANGED
@@ -1,4 +1,4 @@
1
- import { Component, globalDefaultProps } from '../component';
1
+ import { Component, globalDefaultProps } from '../component/index';
2
2
 
3
3
  class Icon extends Component {
4
4
  render() {
package/src/index.js CHANGED
@@ -16,7 +16,7 @@ export function init() {
16
16
  window.addEventListener('DOMContentLoaded', init);
17
17
 
18
18
  // Dependencies
19
- export * from './component';
19
+ export * from './component/index';
20
20
 
21
21
  // Generic content
22
22
  export * from './icon/index';
@@ -24,8 +24,17 @@ export * from './icon/index';
24
24
  // Primitive components
25
25
  export * from './input/index';
26
26
  // export * from './picker/index';
27
- // export * from './popup/index';
28
- // export * from './list/index';
27
+ export * from './popup/index';
28
+ export * from './list/index';
29
+ export * from './nodata/index';
30
+
31
+ // Indicators
32
+ export * from './avatar/index';
33
+ // export * from './badge/index';
34
+ export * from './chip/index';
35
+ // export * from './color-preview/index';
36
+ // export * from './loader/index';
37
+ // export * from './skeleton/index';
29
38
 
30
39
  // Native forms
31
40
  export * from './button/index';
@@ -57,3 +66,34 @@ export * from './searchbox/index';
57
66
  export * from './switch/index';
58
67
  // export * from './upload/index';
59
68
  // export * from './dropzone/index';
69
+
70
+ // Command interfaces
71
+ // export * from './action-buttons/index';
72
+ // export * from './fab/index';
73
+ // export * from './menu/index';
74
+ // export * from './toolbar/index';
75
+
76
+ // Popups and modals
77
+ // export * from './action-sheet/index';
78
+ // export * from './dialog/index';
79
+ // export * from './drawer/index';
80
+ // export * from './notification/index';
81
+ // export * from './popover/index';
82
+ // export * from './tooltip/index';
83
+ // export * from './window/index';
84
+
85
+ // Navigation
86
+ // export * from './appbar/index';
87
+ // export * from './bottom-nav/index';
88
+ // export * from './breadcrumb/index';
89
+ // export * from './pager/index';
90
+ // export * from './stepper/index';
91
+ // export * from './tabstrip/index';
92
+ // export * from './wizard/index';
93
+
94
+ // Layout & containers
95
+ // export * from './card/index';
96
+ // export * from './expander/index';
97
+ // export * from './panelbar/index';
98
+ // export * from './splitter/index';
99
+ // export * from './tile-layout/index';
@@ -1,4 +1,4 @@
1
- import { Component, globalDefaultProps } from '../component';
1
+ import { Component, globalDefaultProps } from '../component/index';
2
2
 
3
3
  class InputInnerInput extends Component {
4
4
  render() {
@@ -1,5 +1,5 @@
1
1
  import { IconStatic } from '../icon/index';
2
- import { Component, globalDefaultProps } from '../component';
2
+ import { Component, globalDefaultProps } from '../component/index';
3
3
 
4
4
  class InputInnerSpan extends Component {
5
5
  render() {
@@ -1,4 +1,4 @@
1
- import { Component, globalDefaultProps } from '../component';
1
+ import { Component, globalDefaultProps } from '../component/index';
2
2
 
3
3
  class InputInnerTextarea extends Component {
4
4
  render() {
@@ -1,4 +1,4 @@
1
- import { Component, globalDefaultProps } from '../component';
1
+ import { Component, globalDefaultProps } from '../component/index';
2
2
 
3
3
  class InputPrefix extends Component {
4
4
  render() {
@@ -1,4 +1,4 @@
1
- import { Component, globalDefaultProps } from '../component';
1
+ import { Component, globalDefaultProps } from '../component/index';
2
2
 
3
3
  class InputSuffix extends Component {
4
4
  render() {
@@ -1,5 +1,5 @@
1
1
  import * as styles from '../../utils/styles';
2
- import { Component, globalDefaultProps } from '../component';
2
+ import { Component, globalDefaultProps } from '../component/index';
3
3
 
4
4
  class Input extends Component {
5
5
 
@@ -126,10 +126,10 @@ InputStatic.propTypes = {
126
126
  prefix: typeof '#fragment',
127
127
  suffix: typeof '#fragment',
128
128
 
129
- size: typeof [ 'none', 'small', 'medium', 'large' ],
130
- rounded: typeof [ 'none', 'small', 'medium', 'large', 'pill' ],
129
+ size: typeof [ null, 'small', 'medium', 'large' ],
130
+ rounded: typeof [ null, 'small', 'medium', 'large', 'full' ],
131
131
 
132
- fillMode: typeof [ 'none', 'solid', 'flat', 'outline' ],
132
+ fillMode: typeof [ null, 'solid', 'flat', 'outline' ],
133
133
 
134
134
  hover: typeof false,
135
135
  focus: typeof false,
@@ -1,5 +1,5 @@
1
1
  import * as styles from '../../utils/styles';
2
- import { Component, globalDefaultProps } from '../component';
2
+ import { Component, globalDefaultProps } from '../component/index';
3
3
 
4
4
  class Picker extends Component {
5
5
 
@@ -124,10 +124,10 @@ PickerStatic.propTypes = {
124
124
  prefix: typeof '#fragment',
125
125
  suffix: typeof '#fragment',
126
126
 
127
- size: typeof [ 'none', 'small', 'medium', 'large' ],
128
- rounded: typeof [ 'none', 'small', 'medium', 'large', 'pill' ],
127
+ size: typeof [ null, 'small', 'medium', 'large' ],
128
+ rounded: typeof [ null, 'small', 'medium', 'large', 'full' ],
129
129
 
130
- fillMode: typeof [ 'none', 'solid', 'flat', 'outline' ],
130
+ fillMode: typeof [ null, 'solid', 'flat', 'outline' ],
131
131
 
132
132
  hover: typeof false,
133
133
  focus: typeof false,
@@ -0,0 +1,93 @@
1
+ ```html
2
+ <!-- jquery / react / vue rendering -->
3
+ <div class="k-list k-list-md">
4
+ <div class="k-list-header"><span class="k-list-header-text">Group 1</span></div>
5
+ <div class="k-list-content">
6
+ <ul class="k-list-ul">
7
+ <li class="k-list-item">
8
+ <span class="k-list-item-text">Item 1.1</span>
9
+ </li>
10
+ <li class="k-list-item">
11
+ <span class="k-list-item-text">Item 1.2</span>
12
+ </li>
13
+ <li class="k-list-item k-first">
14
+ <span class="k-list-item-text">Item 2.1</span>
15
+ <span class="k-list-group-label">Group 2</span>
16
+ </li>
17
+ <li class="k-list-item">
18
+ <span class="k-list-item-text">Item 2.2</span>
19
+ </li>
20
+ </ul>
21
+ </div>
22
+ </div>
23
+
24
+ <!-- jquery / react / vue rendering w/ virtualization -->
25
+ <div class="k-list k-virtual-list k-list-md">
26
+ <div class="k-list-header"><span class="k-list-header-text">Group 1</span></div>
27
+ <div class="k-list-content">
28
+ <ul class="k-list-ul">
29
+ <li class="k-list-item">
30
+ <span class="k-list-item-text">Item 1.1</span>
31
+ </li>
32
+ <li class="k-list-item">
33
+ <span class="k-list-item-text">Item 1.2</span>
34
+ </li>
35
+ <li class="k-list-item k-first">
36
+ <span class="k-list-item-text">Item 2.1</span>
37
+ <span class="k-list-group-label">Group 2</span>
38
+ </li>
39
+ <li class="k-list-item">
40
+ <span class="k-list-item-text">Item 2.2</span>
41
+ </li>
42
+ </ul>
43
+ </div>
44
+ </div>
45
+
46
+ <!-- angular / blazor rendering -->
47
+ <div class="k-list k-list-md">
48
+ <div class="k-list-header"><span class="k-list-header-text">Group 1</span></div>
49
+ <div class="k-list-content">
50
+ <ul class="k-list-ul">
51
+ <li class="k-list-item">
52
+ <span class="k-list-item-text">Item 1.1</span>
53
+ </li>
54
+ <li class="k-list-item">
55
+ <span class="k-list-item-text">Item 1.2</span>
56
+ </li>
57
+ <li class="k-list-group-item">
58
+ <span class="k-list-item-text">Group 2</span>
59
+ </li>
60
+ <li class="k-list-item">
61
+ <span class="k-list-item-text">Item 2.1</span>
62
+ </li>
63
+ <li class="k-list-item">
64
+ <span class="k-list-item-text">Item 2.2</span>
65
+ </li>
66
+ </ul>
67
+ </div>
68
+ </div>
69
+
70
+ <!-- angular / blazor rendering w/ virtualization -->
71
+ <div class="k-list k-virtual-list k-list-md">
72
+ <div class="k-list-header"><span class="k-list-header-text">Group 1</span></div>
73
+ <div class="k-list-content">
74
+ <ul class="k-list-ul">
75
+ <li class="k-list-item">
76
+ <span class="k-list-item-text">Item 1.1</span>
77
+ </li>
78
+ <li class="k-list-item">
79
+ <span class="k-list-item-text">Item 1.2</span>
80
+ </li>
81
+ <li class="k-list-group-item">
82
+ <span class="k-list-item-text">Group 2</span>
83
+ </li>
84
+ <li class="k-list-item">
85
+ <span class="k-list-item-text">Item 2.1</span>
86
+ </li>
87
+ <li class="k-list-item">
88
+ <span class="k-list-item-text">Item 2.2</span>
89
+ </li>
90
+ </ul>
91
+ </div>
92
+ </div>
93
+ ```
@@ -0,0 +1,5 @@
1
+ export * from './list.jsx';
2
+ export * from './list-header.jsx';
3
+ export * from './list-content.jsx';
4
+ export * from './list-item.jsx';
5
+ export * from './list-group-item.jsx';