@progress/kendo-themes-html 6.7.0-dev.0 → 6.7.0-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.
- package/dist/cjs/action-sheet/tests/action-sheet-data-table.js +100 -88
- package/dist/cjs/action-sheet/tests/action-sheet-date-time-selector.js +63 -26
- package/dist/cjs/action-sheet/tests/action-sheet-time-selector.js +51 -14
- package/dist/cjs/action-sheet/tests/action-sheet-treeview.js +56 -44
- package/dist/cjs/captcha/captcha.spec.js +55 -25
- package/dist/cjs/captcha/tests/captcha-loading.js +59 -29
- package/dist/cjs/captcha/tests/captcha.js +59 -29
- package/dist/cjs/chat/chat-message-group.js +261 -0
- package/dist/cjs/chat/chat-message.js +112 -0
- package/dist/cjs/chat/chat-quick-replies.js +71 -0
- package/dist/cjs/chat/chat.spec.js +6859 -0
- package/dist/cjs/chat/tests/chat-rtl.js +2613 -235
- package/dist/cjs/chat/tests/chat-scrollable-deck.js +2802 -206
- package/dist/cjs/chat/tests/chat.js +1117 -790
- package/dist/cjs/datetime-selector/datetime-selector.spec.js +96 -23
- package/dist/cjs/datetime-selector/tests/datetime-selector.js +94 -85
- package/dist/cjs/datetimepicker/datetimepicker.spec.js +75 -66
- package/dist/cjs/datetimepicker/templates/datetimepicker-adaptive.js +77 -68
- package/dist/cjs/datetimepicker/templates/datetimepicker-normal.js +77 -68
- package/dist/cjs/datetimepicker/templates/datetimepicker-popup.js +77 -68
- package/dist/cjs/datetimepicker/tests/datetimepicker-adaptive.js +87 -78
- package/dist/cjs/datetimepicker/tests/datetimepicker-flat.js +92 -83
- package/dist/cjs/datetimepicker/tests/datetimepicker-opened.js +89 -80
- package/dist/cjs/datetimepicker/tests/datetimepicker-outline.js +92 -83
- package/dist/cjs/datetimepicker/tests/datetimepicker-size-rounded.js +90 -81
- package/dist/cjs/datetimepicker/tests/datetimepicker-solid.js +92 -83
- package/dist/cjs/dropdowngrid/dropdowngrid.spec.js +63 -51
- package/dist/cjs/dropdowngrid/templates/dropdowngrid-adaptive.js +65 -53
- package/dist/cjs/dropdowngrid/templates/dropdowngrid-normal.js +65 -53
- package/dist/cjs/dropdowngrid/templates/dropdowngrid-popup.js +103 -91
- package/dist/cjs/dropdowngrid/tests/dropdowngrid-adaptive.js +75 -63
- package/dist/cjs/dropdowngrid/tests/dropdowngrid-flat.js +80 -68
- package/dist/cjs/dropdowngrid/tests/dropdowngrid-opened.js +113 -101
- package/dist/cjs/dropdowngrid/tests/dropdowngrid-outline.js +82 -70
- package/dist/cjs/dropdowngrid/tests/dropdowngrid-size-rounded.js +78 -66
- package/dist/cjs/dropdowngrid/tests/dropdowngrid-solid.js +80 -68
- package/dist/cjs/dropdowntree/dropdowntree.spec.js +35 -23
- package/dist/cjs/dropdowntree/templates/dropdowntree-adaptive.js +37 -25
- package/dist/cjs/dropdowntree/templates/dropdowntree-normal.js +37 -25
- package/dist/cjs/dropdowntree/templates/dropdowntree-popup.js +47 -35
- package/dist/cjs/dropdowntree/tests/dropdowntree-adaptive.js +47 -35
- package/dist/cjs/dropdowntree/tests/dropdowntree-flat.js +52 -40
- package/dist/cjs/dropdowntree/tests/dropdowntree-opened.js +57 -45
- package/dist/cjs/dropdowntree/tests/dropdowntree-outline.js +52 -40
- package/dist/cjs/dropdowntree/tests/dropdowntree-size-rounded.js +50 -38
- package/dist/cjs/dropdowntree/tests/dropdowntree-solid.js +52 -40
- package/dist/cjs/editor/editor-toolbar.js +48 -43
- package/dist/cjs/editor/tests/editor-find-replace.js +48 -43
- package/dist/cjs/editor/tests/editor-table-wizard.js +129 -127
- package/dist/cjs/editor/tests/editor-view-source.js +14 -12
- package/dist/cjs/editor/tests/editor.js +48 -43
- package/dist/cjs/filemanager/tests/filemanager-contextmenu.js +84 -67
- package/dist/cjs/filemanager/tests/filemanager-drag-hint.js +84 -67
- package/dist/cjs/filemanager/tests/filemanager-gridview.js +149 -132
- package/dist/cjs/filemanager/tests/filemanager-listview.js +103 -86
- package/dist/cjs/filemanager/tests/filemanager-preview.js +202 -185
- package/dist/cjs/filemanager/tests/filemanager-toolbar.js +605 -580
- package/dist/cjs/filter/tests/filter.js +48 -43
- package/dist/cjs/floating-label/tests/floating-label-flat.js +43 -41
- package/dist/cjs/floating-label/tests/floating-label-outline.js +43 -41
- package/dist/cjs/floating-label/tests/floating-label.js +43 -41
- package/dist/cjs/form/tests/form-field-dateinputs.js +111 -102
- package/dist/cjs/form/tests/form-field-dropdowns.js +82 -47
- package/dist/cjs/form/tests/form-field-fieldset.js +68 -66
- package/dist/cjs/form/tests/form-field-inputs-rtl.js +239 -222
- package/dist/cjs/form/tests/form-field-inputs.js +240 -223
- package/dist/cjs/gantt/tests/gantt-editing-popup-general.js +204 -195
- package/dist/cjs/gantt/tests/gantt-editing-popup-other.js +288 -286
- package/dist/cjs/gantt/tests/gantt-editing-popup-predecessors.js +48 -43
- package/dist/cjs/gantt/tests/gantt-editing-popup-resources.js +48 -43
- package/dist/cjs/gantt/tests/gantt-editing-popup-successors.js +48 -43
- package/dist/cjs/gantt/tests/gantt-react.js +48 -43
- package/dist/cjs/gantt/tests/gantt-row-reordering.js +48 -43
- package/dist/cjs/gantt/tests/gantt.js +48 -43
- package/dist/cjs/grid/tests/grid-adaptive-column-menu.js +58 -50
- package/dist/cjs/grid/tests/grid-adaptive-filter-bool.js +28 -19
- package/dist/cjs/grid/tests/grid-adaptive-filter.js +37 -28
- package/dist/cjs/grid/tests/grid-adaptive-pager.js +149 -92
- package/dist/cjs/grid/tests/grid-adaptive-search.js +48 -43
- package/dist/cjs/grid/tests/grid-angular.js +180 -87
- package/dist/cjs/grid/tests/grid-column-reordering-actions.js +580 -506
- package/dist/cjs/grid/tests/grid-column-reordering.js +585 -511
- package/dist/cjs/grid/tests/grid-column-resizing-actions.js +728 -547
- package/dist/cjs/grid/tests/grid-editing-custom-editor.js +275 -223
- package/dist/cjs/grid/tests/grid-editing-inline-angular.js +48 -43
- package/dist/cjs/grid/tests/grid-editing-inline-blazor.js +48 -43
- package/dist/cjs/grid/tests/grid-editing.js +48 -43
- package/dist/cjs/grid/tests/grid-filter-row-angular.js +48 -43
- package/dist/cjs/grid/tests/grid-filter-row-blazor.js +48 -43
- package/dist/cjs/grid/tests/grid-filter-row.js +160 -151
- package/dist/cjs/grid/tests/grid-grouping-actions.js +546 -472
- package/dist/cjs/grid/tests/grid-grouping.js +48 -43
- package/dist/cjs/grid/tests/grid-pager.js +235 -178
- package/dist/cjs/grid/tests/grid-row-reordering.js +538 -464
- package/dist/cjs/grid/tests/grid-rows-resizing.js +48 -43
- package/dist/cjs/grid/tests/grid-rtl-angular.js +181 -88
- package/dist/cjs/grid/tests/grid-rtl.js +181 -88
- package/dist/cjs/grid/tests/grid-selection-aggregates.js +183 -90
- package/dist/cjs/grid/tests/grid-size-sm-comp-sm.js +670 -628
- package/dist/cjs/grid/tests/grid-size-sm.js +670 -628
- package/dist/cjs/grid/tests/grid-sticky-columns-rtl.js +295 -238
- package/dist/cjs/grid/tests/grid-toolbar.js +48 -43
- package/dist/cjs/grid/tests/grid-virtualization.js +452 -407
- package/dist/cjs/grid/tests/grid.js +181 -88
- package/dist/cjs/imageeditor/tests/imageeditor-crop-pane.js +48 -43
- package/dist/cjs/imageeditor/tests/imageeditor-resize-pane.js +48 -43
- package/dist/cjs/imageeditor/tests/imageeditor.js +48 -43
- package/dist/cjs/index.js +3301 -2760
- package/dist/cjs/listgroup/listgroup-item.spec.js +78 -0
- package/dist/cjs/listgroup/listgroup.spec.js +125 -0
- package/dist/cjs/listgroup/templates/listgroup-normal.js +136 -0
- package/dist/cjs/listgroup/tests/listgroup.js +145 -40
- package/dist/cjs/listview/listview.spec.js +162 -105
- package/dist/cjs/listview/tests/listview-layout.js +209 -152
- package/dist/cjs/listview/tests/listview-loading.js +180 -123
- package/dist/cjs/listview/tests/listview.js +195 -138
- package/dist/cjs/mediaplayer/tests/mediaplayer.js +48 -43
- package/dist/cjs/multiselect/multiselect.spec.js +737 -19
- package/dist/cjs/multiselect/templates/multiselect-adaptive.js +5802 -0
- package/dist/cjs/multiselect/templates/multiselect-arrow-button.js +5796 -0
- package/dist/cjs/multiselect/templates/multiselect-grouping.js +5814 -0
- package/dist/cjs/multiselect/{tests/multiselect-size.js → templates/multiselect-normal.js} +1260 -614
- package/dist/cjs/multiselect/templates/multiselect-popup.js +5808 -0
- package/dist/cjs/multiselect/templates/multiselect-value.js +5834 -0
- package/dist/cjs/multiselect/tests/multiselect-adaptive.js +5842 -0
- package/dist/cjs/multiselect/tests/multiselect-flat.js +799 -148
- package/dist/cjs/multiselect/tests/multiselect-grouping.js +5850 -0
- package/dist/cjs/multiselect/tests/multiselect-opened.js +1175 -895
- package/dist/cjs/multiselect/tests/multiselect-outline.js +799 -148
- package/dist/cjs/multiselect/tests/multiselect-size-rounded.js +5870 -0
- package/dist/cjs/multiselect/tests/{multiselect.js → multiselect-solid.js} +805 -142
- package/dist/cjs/multiselecttree/tests/multiselecttree-opened.js +54 -42
- package/dist/cjs/pager/index.js +143 -86
- package/dist/cjs/pager/pager.spec.js +143 -86
- package/dist/cjs/pager/tests/{pager-responsive.js → pager-adaptive.js} +169 -113
- package/dist/cjs/pager/tests/pager-sizes.js +163 -106
- package/dist/cjs/pager/tests/pager.js +153 -96
- package/dist/cjs/pdf-viewer/tests/pdf-viewer-blank-page-blazor.js +204 -142
- package/dist/cjs/pdf-viewer/tests/pdf-viewer-blank-page.js +214 -152
- package/dist/cjs/pdf-viewer/tests/pdf-viewer-search-panel.js +293 -124
- package/dist/cjs/pdf-viewer/tests/pdf-viewer.js +204 -142
- package/dist/cjs/pivotgrid/tests/pivotgrid-column-menus.js +133 -121
- package/dist/cjs/pivotgrid/tests/pivotgrid-jquery-configurator.js +122 -110
- package/dist/cjs/pivotgrid/tests/pivotgrid-jquery.js +48 -43
- package/dist/cjs/pivotgrid/tests/pivotgrid-settings-panel-horizontal.js +172 -160
- package/dist/cjs/pivotgrid/tests/pivotgrid-settings-panel-reordering.js +298 -286
- package/dist/cjs/pivotgrid/tests/pivotgrid-settings-panel-vertical.js +226 -214
- package/dist/cjs/pivotgrid/tests/pivotgrid-settings-top.js +356 -344
- package/dist/cjs/pivotgrid/tests/pivotgrid.js +337 -325
- package/dist/cjs/radio/templates/radio-inside-label.js +165 -0
- package/dist/cjs/radio/templates/radio-label.js +165 -0
- package/dist/cjs/radio/templates/radio-normal.js +162 -0
- package/dist/cjs/radio/tests/radio-size.js +23 -74
- package/dist/cjs/radio/tests/radio.js +44 -136
- package/dist/cjs/scheduler/tests/scheduler-adaptive-agenda.js +48 -43
- package/dist/cjs/scheduler/tests/scheduler-adaptive-day-resource-group.js +48 -43
- package/dist/cjs/scheduler/tests/scheduler-adaptive-day.js +48 -43
- package/dist/cjs/scheduler/tests/scheduler-adaptive-month.js +48 -43
- package/dist/cjs/scheduler/tests/scheduler-angular-agenda-rtl.js +48 -43
- package/dist/cjs/scheduler/tests/scheduler-angular-agenda.js +48 -43
- package/dist/cjs/scheduler/tests/scheduler-angular-day-rtl.js +48 -43
- package/dist/cjs/scheduler/tests/scheduler-angular-month-rtl.js +48 -43
- package/dist/cjs/scheduler/tests/scheduler-angular-month.js +48 -43
- package/dist/cjs/scheduler/tests/scheduler-angular-rtl.js +48 -43
- package/dist/cjs/scheduler/tests/scheduler-angular.js +48 -43
- package/dist/cjs/scheduler/tests/scheduler-edit-dialog.js +513 -458
- package/dist/cjs/scheduler/tests/scheduler-editing-weekly.js +527 -472
- package/dist/cjs/scheduler/tests/scheduler-flex-layout.js +48 -43
- package/dist/cjs/scheduler/tests/scheduler-jquery-agenda.js +48 -43
- package/dist/cjs/scheduler/tests/scheduler-jquery-month.js +48 -43
- package/dist/cjs/scheduler/tests/scheduler-react-agenda.js +48 -43
- package/dist/cjs/scheduler/tests/scheduler-react-day.js +48 -43
- package/dist/cjs/scheduler/tests/scheduler-react-month.js +48 -43
- package/dist/cjs/scheduler/tests/scheduler-react-timeline-multi.js +48 -43
- package/dist/cjs/scheduler/tests/scheduler-react-timeline.js +48 -43
- package/dist/cjs/scheduler/tests/scheduler-react-week.js +48 -43
- package/dist/cjs/scheduler/tests/scheduler-year.js +48 -43
- package/dist/cjs/scheduler/tests/scheduler.js +48 -43
- package/dist/cjs/scrollview/{tests/scrollview-angular.js → scrollview-spec.js} +98 -84
- package/dist/cjs/scrollview/tests/scrollview.js +108 -89
- package/dist/cjs/skeleton/index.js +68 -0
- package/dist/cjs/skeleton/skeleton.spec.js +70 -0
- package/dist/cjs/skeleton/tests/skeleton.js +58 -13
- package/dist/cjs/split-button/split-button.spec.js +124 -55
- package/dist/cjs/split-button/{tests/split-button.js → templates/icon-split-button.js} +132 -100
- package/dist/cjs/split-button/templates/icon-text-split-button.js +4553 -0
- package/dist/cjs/split-button/{tests/split-button-size.js → templates/split-button-popup.js} +306 -147
- package/dist/cjs/split-button/templates/text-split-button.js +4553 -0
- package/dist/cjs/split-button/tests/split-button-flat.js +4763 -0
- package/dist/cjs/split-button/tests/split-button-opened.js +4770 -0
- package/dist/cjs/split-button/tests/split-button-outline.js +4763 -0
- package/dist/cjs/split-button/tests/split-button-size-rounded.js +4770 -0
- package/dist/cjs/split-button/tests/split-button-solid.js +4763 -0
- package/dist/cjs/spreadsheet/tests/spreadsheet-data-validation.js +172 -163
- package/dist/cjs/spreadsheet/tests/spreadsheet-dialog.js +216 -205
- package/dist/cjs/spreadsheet/tests/spreadsheet-filter-menu.js +46 -34
- package/dist/cjs/spreadsheet/tests/spreadsheet-tools-popup.js +48 -43
- package/dist/cjs/spreadsheet/tests/spreadsheet.js +48 -43
- package/dist/cjs/switch/switch.spec.js +17 -9
- package/dist/cjs/switch/templates/switch-checked.js +203 -0
- package/dist/cjs/switch/templates/switch-normal.js +203 -0
- package/dist/cjs/switch/tests/switch-size-rounded.js +51 -53
- package/dist/cjs/switch/tests/switch.js +49 -37
- package/dist/cjs/table/table-header.js +15 -3
- package/dist/cjs/table/templates/data-table-normal.js +489 -0
- package/dist/cjs/table/templates/table-list-virtualization.js +489 -0
- package/dist/cjs/table/templates/table-list.js +519 -0
- package/dist/cjs/table/templates/table-native.js +452 -0
- package/dist/cjs/table/tests/table-data-sizes.js +76 -175
- package/dist/cjs/table/tests/table-list-jquery.js +151 -139
- package/dist/cjs/table/tests/table-list-sizes.js +69 -154
- package/dist/cjs/table/tests/table-list-virtual.js +89 -76
- package/dist/cjs/table/tests/table-native-sizes.js +69 -144
- package/dist/cjs/table/tests/table-native-states.js +145 -58
- package/dist/cjs/taskboard/tests/taskboard-card.js +48 -43
- package/dist/cjs/taskboard/tests/taskboard-pane.js +48 -43
- package/dist/cjs/taskboard/tests/taskboard-rtl.js +48 -43
- package/dist/cjs/taskboard/tests/taskboard.js +48 -43
- package/dist/cjs/textarea/templates/textarea-normal.js +4621 -0
- package/dist/cjs/textarea/tests/textarea-flat.js +25 -27
- package/dist/cjs/textarea/tests/textarea-outline.js +25 -27
- package/dist/cjs/textarea/tests/textarea-size-rounded.js +4642 -0
- package/dist/cjs/textarea/tests/{textarea.js → textarea-solid.js} +30 -32
- package/dist/cjs/textarea/textarea.spec.js +4 -5
- package/dist/cjs/tilelayout/tests/tilelayout-resizing.js +190 -107
- package/dist/cjs/tilelayout/tests/tilelayout.js +231 -134
- package/dist/cjs/tilelayout/tilelayout-item-hint.spec.js +40 -0
- package/dist/cjs/tilelayout/{tests/tilelayout-react.js → tilelayout-item.spec.js} +61 -27
- package/dist/cjs/tilelayout/tilelayout.spec.js +72 -0
- package/dist/cjs/time-selector/templates/time-selector-all.js +4653 -0
- package/dist/cjs/time-selector/templates/time-selector-hour.js +4653 -0
- package/dist/cjs/time-selector/templates/time-selector-minute.js +4653 -0
- package/dist/cjs/time-selector/tests/time-selector.js +196 -165
- package/dist/cjs/time-selector/time-selector.spec.js +87 -14
- package/dist/cjs/timedurationpicker/tests/timedurationpicker-expanded.js +32 -23
- package/dist/cjs/timedurationpicker/tests/timedurationpicker.js +46 -37
- package/dist/cjs/timedurationpicker/timedurationpicker.spec.js +24 -15
- package/dist/cjs/timepicker/templates/timepicker-adaptive.js +67 -58
- package/dist/cjs/timepicker/templates/timepicker-normal.js +67 -58
- package/dist/cjs/timepicker/templates/timepicker-popup.js +67 -58
- package/dist/cjs/timepicker/tests/timepicker-adaptive.js +77 -68
- package/dist/cjs/timepicker/tests/timepicker-flat.js +82 -73
- package/dist/cjs/timepicker/tests/timepicker-opened.js +77 -68
- package/dist/cjs/timepicker/tests/timepicker-outline.js +82 -73
- package/dist/cjs/timepicker/tests/timepicker-solid.js +82 -73
- package/dist/cjs/timepicker/timepicker.spec.js +65 -56
- package/dist/cjs/toolbar/tests/toolbar-adaptive.js +48 -43
- package/dist/cjs/toolbar/tests/toolbar-angular.js +442 -425
- package/dist/cjs/toolbar/tests/toolbar-components.js +444 -427
- package/dist/cjs/toolbar/tests/toolbar-sizes.js +308 -295
- package/dist/cjs/toolbar/tests/toolbar.js +529 -504
- package/dist/cjs/toolbar/toolbar-angular.spec.js +48 -43
- package/dist/cjs/toolbar/toolbar.spec.js +48 -43
- package/dist/cjs/treeview/templates/treeview-checkboxes.js +4595 -0
- package/dist/cjs/treeview/templates/treeview-hierarchy.js +4595 -0
- package/dist/cjs/treeview/templates/treeview-icons.js +4595 -0
- package/dist/cjs/treeview/templates/treeview-normal.js +4586 -0
- package/dist/cjs/treeview/tests/treeview-size.js +38 -38
- package/dist/cjs/treeview/tests/treeview.js +117 -112
- package/dist/cjs/treeview/treeview.spec.js +17 -5
- package/dist/esm/action-sheet/tests/action-sheet-data-table.js +100 -88
- package/dist/esm/action-sheet/tests/action-sheet-date-time-selector.js +63 -26
- package/dist/esm/action-sheet/tests/action-sheet-time-selector.js +51 -14
- package/dist/esm/action-sheet/tests/action-sheet-treeview.js +56 -44
- package/dist/esm/captcha/captcha.spec.js +50 -20
- package/dist/esm/captcha/tests/captcha-loading.js +54 -24
- package/dist/esm/captcha/tests/captcha.js +54 -24
- package/dist/esm/chat/chat-message-group.js +239 -0
- package/dist/esm/chat/chat-message.js +90 -0
- package/dist/esm/chat/chat-quick-replies.js +49 -0
- package/dist/esm/chat/chat.spec.js +6843 -0
- package/dist/esm/chat/tests/chat-rtl.js +2624 -246
- package/dist/esm/chat/tests/chat-scrollable-deck.js +2799 -203
- package/dist/esm/chat/tests/chat.js +1113 -786
- package/dist/esm/datetime-selector/datetime-selector.spec.js +96 -23
- package/dist/esm/datetime-selector/tests/datetime-selector.js +95 -86
- package/dist/esm/datetimepicker/datetimepicker.spec.js +75 -66
- package/dist/esm/datetimepicker/templates/datetimepicker-adaptive.js +77 -68
- package/dist/esm/datetimepicker/templates/datetimepicker-normal.js +77 -68
- package/dist/esm/datetimepicker/templates/datetimepicker-popup.js +77 -68
- package/dist/esm/datetimepicker/tests/datetimepicker-adaptive.js +87 -78
- package/dist/esm/datetimepicker/tests/datetimepicker-flat.js +92 -83
- package/dist/esm/datetimepicker/tests/datetimepicker-opened.js +89 -80
- package/dist/esm/datetimepicker/tests/datetimepicker-outline.js +92 -83
- package/dist/esm/datetimepicker/tests/datetimepicker-size-rounded.js +90 -81
- package/dist/esm/datetimepicker/tests/datetimepicker-solid.js +92 -83
- package/dist/esm/dropdowngrid/dropdowngrid.spec.js +63 -51
- package/dist/esm/dropdowngrid/templates/dropdowngrid-adaptive.js +65 -53
- package/dist/esm/dropdowngrid/templates/dropdowngrid-normal.js +65 -53
- package/dist/esm/dropdowngrid/templates/dropdowngrid-popup.js +103 -91
- package/dist/esm/dropdowngrid/tests/dropdowngrid-adaptive.js +75 -63
- package/dist/esm/dropdowngrid/tests/dropdowngrid-flat.js +80 -68
- package/dist/esm/dropdowngrid/tests/dropdowngrid-opened.js +113 -101
- package/dist/esm/dropdowngrid/tests/dropdowngrid-outline.js +82 -70
- package/dist/esm/dropdowngrid/tests/dropdowngrid-size-rounded.js +78 -66
- package/dist/esm/dropdowngrid/tests/dropdowngrid-solid.js +80 -68
- package/dist/esm/dropdowntree/dropdowntree.spec.js +35 -23
- package/dist/esm/dropdowntree/templates/dropdowntree-adaptive.js +37 -25
- package/dist/esm/dropdowntree/templates/dropdowntree-normal.js +37 -25
- package/dist/esm/dropdowntree/templates/dropdowntree-popup.js +47 -35
- package/dist/esm/dropdowntree/tests/dropdowntree-adaptive.js +47 -35
- package/dist/esm/dropdowntree/tests/dropdowntree-flat.js +52 -40
- package/dist/esm/dropdowntree/tests/dropdowntree-opened.js +57 -45
- package/dist/esm/dropdowntree/tests/dropdowntree-outline.js +52 -40
- package/dist/esm/dropdowntree/tests/dropdowntree-size-rounded.js +50 -38
- package/dist/esm/dropdowntree/tests/dropdowntree-solid.js +52 -40
- package/dist/esm/editor/editor-toolbar.js +49 -44
- package/dist/esm/editor/tests/editor-find-replace.js +57 -52
- package/dist/esm/editor/tests/editor-table-wizard.js +118 -116
- package/dist/esm/editor/tests/editor-view-source.js +13 -11
- package/dist/esm/editor/tests/editor.js +51 -46
- package/dist/esm/filemanager/tests/filemanager-contextmenu.js +87 -70
- package/dist/esm/filemanager/tests/filemanager-drag-hint.js +87 -70
- package/dist/esm/filemanager/tests/filemanager-gridview.js +152 -135
- package/dist/esm/filemanager/tests/filemanager-listview.js +106 -89
- package/dist/esm/filemanager/tests/filemanager-preview.js +205 -188
- package/dist/esm/filemanager/tests/filemanager-toolbar.js +651 -626
- package/dist/esm/filter/tests/filter.js +53 -48
- package/dist/esm/floating-label/tests/floating-label-flat.js +41 -39
- package/dist/esm/floating-label/tests/floating-label-outline.js +41 -39
- package/dist/esm/floating-label/tests/floating-label.js +41 -39
- package/dist/esm/form/tests/form-field-dateinputs.js +111 -102
- package/dist/esm/form/tests/form-field-dropdowns.js +82 -47
- package/dist/esm/form/tests/form-field-fieldset.js +54 -52
- package/dist/esm/form/tests/form-field-inputs-rtl.js +239 -222
- package/dist/esm/form/tests/form-field-inputs.js +240 -223
- package/dist/esm/gantt/tests/gantt-editing-popup-general.js +204 -195
- package/dist/esm/gantt/tests/gantt-editing-popup-other.js +241 -239
- package/dist/esm/gantt/tests/gantt-editing-popup-predecessors.js +52 -47
- package/dist/esm/gantt/tests/gantt-editing-popup-resources.js +52 -47
- package/dist/esm/gantt/tests/gantt-editing-popup-successors.js +52 -47
- package/dist/esm/gantt/tests/gantt-react.js +51 -46
- package/dist/esm/gantt/tests/gantt-row-reordering.js +51 -46
- package/dist/esm/gantt/tests/gantt.js +51 -46
- package/dist/esm/grid/tests/grid-adaptive-column-menu.js +55 -47
- package/dist/esm/grid/tests/grid-adaptive-filter-bool.js +28 -19
- package/dist/esm/grid/tests/grid-adaptive-filter.js +37 -28
- package/dist/esm/grid/tests/grid-adaptive-pager.js +150 -93
- package/dist/esm/grid/tests/grid-adaptive-search.js +51 -46
- package/dist/esm/grid/tests/grid-angular.js +234 -141
- package/dist/esm/grid/tests/grid-column-reordering-actions.js +582 -508
- package/dist/esm/grid/tests/grid-column-reordering.js +587 -513
- package/dist/esm/grid/tests/grid-column-resizing-actions.js +730 -549
- package/dist/esm/grid/tests/grid-editing-custom-editor.js +275 -223
- package/dist/esm/grid/tests/grid-editing-inline-angular.js +51 -46
- package/dist/esm/grid/tests/grid-editing-inline-blazor.js +51 -46
- package/dist/esm/grid/tests/grid-editing.js +51 -46
- package/dist/esm/grid/tests/grid-filter-row-angular.js +51 -46
- package/dist/esm/grid/tests/grid-filter-row-blazor.js +51 -46
- package/dist/esm/grid/tests/grid-filter-row.js +160 -151
- package/dist/esm/grid/tests/grid-grouping-actions.js +548 -474
- package/dist/esm/grid/tests/grid-grouping.js +51 -46
- package/dist/esm/grid/tests/grid-pager.js +236 -179
- package/dist/esm/grid/tests/grid-row-reordering.js +540 -466
- package/dist/esm/grid/tests/grid-rows-resizing.js +51 -46
- package/dist/esm/grid/tests/grid-rtl-angular.js +216 -123
- package/dist/esm/grid/tests/grid-rtl.js +212 -119
- package/dist/esm/grid/tests/grid-selection-aggregates.js +222 -129
- package/dist/esm/grid/tests/grid-size-sm-comp-sm.js +615 -573
- package/dist/esm/grid/tests/grid-size-sm.js +615 -573
- package/dist/esm/grid/tests/grid-sticky-columns-rtl.js +296 -239
- package/dist/esm/grid/tests/grid-toolbar.js +51 -46
- package/dist/esm/grid/tests/grid-virtualization.js +399 -356
- package/dist/esm/grid/tests/grid.js +221 -128
- package/dist/esm/imageeditor/tests/imageeditor-crop-pane.js +56 -51
- package/dist/esm/imageeditor/tests/imageeditor-resize-pane.js +56 -51
- package/dist/esm/imageeditor/tests/imageeditor.js +51 -46
- package/dist/esm/index.js +3301 -2760
- package/dist/esm/listgroup/listgroup-item.spec.js +56 -0
- package/dist/esm/listgroup/listgroup.spec.js +103 -0
- package/dist/esm/listgroup/templates/listgroup-normal.js +114 -0
- package/dist/esm/listgroup/tests/listgroup.js +145 -40
- package/dist/esm/listview/listview.spec.js +163 -106
- package/dist/esm/listview/tests/listview-layout.js +210 -153
- package/dist/esm/listview/tests/listview-loading.js +181 -124
- package/dist/esm/listview/tests/listview.js +196 -139
- package/dist/esm/mediaplayer/tests/mediaplayer.js +51 -46
- package/dist/esm/multiselect/multiselect.spec.js +737 -19
- package/dist/esm/multiselect/templates/multiselect-adaptive.js +5786 -0
- package/dist/esm/multiselect/templates/multiselect-arrow-button.js +5780 -0
- package/dist/esm/multiselect/templates/multiselect-grouping.js +5798 -0
- package/dist/esm/multiselect/{tests/multiselect-size.js → templates/multiselect-normal.js} +1223 -577
- package/dist/esm/multiselect/templates/multiselect-popup.js +5792 -0
- package/dist/esm/multiselect/templates/multiselect-value.js +5818 -0
- package/dist/esm/multiselect/tests/multiselect-adaptive.js +5826 -0
- package/dist/esm/multiselect/tests/multiselect-flat.js +799 -148
- package/dist/esm/multiselect/tests/multiselect-grouping.js +5834 -0
- package/dist/esm/multiselect/tests/multiselect-opened.js +1161 -881
- package/dist/esm/multiselect/tests/multiselect-outline.js +799 -148
- package/dist/esm/multiselect/tests/multiselect-size-rounded.js +5854 -0
- package/dist/esm/multiselect/tests/{multiselect.js → multiselect-solid.js} +801 -138
- package/dist/esm/multiselecttree/tests/multiselecttree-opened.js +54 -42
- package/dist/esm/pager/index.js +144 -87
- package/dist/esm/pager/pager.spec.js +144 -87
- package/dist/esm/pager/tests/{pager-responsive.js → pager-adaptive.js} +166 -110
- package/dist/esm/pager/tests/pager-sizes.js +164 -107
- package/dist/esm/pager/tests/pager.js +154 -97
- package/dist/esm/pdf-viewer/tests/pdf-viewer-blank-page-blazor.js +206 -144
- package/dist/esm/pdf-viewer/tests/pdf-viewer-blank-page.js +216 -154
- package/dist/esm/pdf-viewer/tests/pdf-viewer-search-panel.js +294 -125
- package/dist/esm/pdf-viewer/tests/pdf-viewer.js +206 -144
- package/dist/esm/pivotgrid/tests/pivotgrid-column-menus.js +133 -121
- package/dist/esm/pivotgrid/tests/pivotgrid-jquery-configurator.js +122 -110
- package/dist/esm/pivotgrid/tests/pivotgrid-jquery.js +55 -50
- package/dist/esm/pivotgrid/tests/pivotgrid-settings-panel-horizontal.js +172 -160
- package/dist/esm/pivotgrid/tests/pivotgrid-settings-panel-reordering.js +298 -286
- package/dist/esm/pivotgrid/tests/pivotgrid-settings-panel-vertical.js +226 -214
- package/dist/esm/pivotgrid/tests/pivotgrid-settings-top.js +356 -344
- package/dist/esm/pivotgrid/tests/pivotgrid.js +337 -325
- package/dist/esm/radio/templates/radio-inside-label.js +143 -0
- package/dist/esm/radio/templates/radio-label.js +143 -0
- package/dist/esm/radio/templates/radio-normal.js +140 -0
- package/dist/esm/radio/tests/radio-size.js +23 -74
- package/dist/esm/radio/tests/radio.js +44 -136
- package/dist/esm/scheduler/tests/scheduler-adaptive-agenda.js +51 -46
- package/dist/esm/scheduler/tests/scheduler-adaptive-day-resource-group.js +51 -46
- package/dist/esm/scheduler/tests/scheduler-adaptive-day.js +51 -46
- package/dist/esm/scheduler/tests/scheduler-adaptive-month.js +51 -46
- package/dist/esm/scheduler/tests/scheduler-angular-agenda-rtl.js +51 -46
- package/dist/esm/scheduler/tests/scheduler-angular-agenda.js +51 -46
- package/dist/esm/scheduler/tests/scheduler-angular-day-rtl.js +51 -46
- package/dist/esm/scheduler/tests/scheduler-angular-month-rtl.js +51 -46
- package/dist/esm/scheduler/tests/scheduler-angular-month.js +51 -46
- package/dist/esm/scheduler/tests/scheduler-angular-rtl.js +51 -46
- package/dist/esm/scheduler/tests/scheduler-angular.js +51 -46
- package/dist/esm/scheduler/tests/scheduler-edit-dialog.js +480 -425
- package/dist/esm/scheduler/tests/scheduler-editing-weekly.js +494 -439
- package/dist/esm/scheduler/tests/scheduler-flex-layout.js +51 -46
- package/dist/esm/scheduler/tests/scheduler-jquery-agenda.js +51 -46
- package/dist/esm/scheduler/tests/scheduler-jquery-month.js +51 -46
- package/dist/esm/scheduler/tests/scheduler-react-agenda.js +51 -46
- package/dist/esm/scheduler/tests/scheduler-react-day.js +51 -46
- package/dist/esm/scheduler/tests/scheduler-react-month.js +51 -46
- package/dist/esm/scheduler/tests/scheduler-react-timeline-multi.js +51 -46
- package/dist/esm/scheduler/tests/scheduler-react-timeline.js +51 -46
- package/dist/esm/scheduler/tests/scheduler-react-week.js +51 -46
- package/dist/esm/scheduler/tests/scheduler-year.js +51 -46
- package/dist/esm/scheduler/tests/scheduler.js +51 -46
- package/dist/esm/scrollview/{tests/scrollview-angular.js → scrollview-spec.js} +94 -80
- package/dist/esm/scrollview/tests/scrollview.js +108 -89
- package/dist/esm/skeleton/index.js +46 -0
- package/dist/esm/skeleton/skeleton.spec.js +48 -0
- package/dist/esm/skeleton/tests/skeleton.js +54 -11
- package/dist/esm/split-button/split-button.spec.js +124 -55
- package/dist/esm/split-button/{tests/split-button.js → templates/icon-split-button.js} +128 -96
- package/dist/esm/split-button/{tests/split-button-size.js → templates/icon-text-split-button.js} +128 -157
- package/dist/esm/split-button/templates/split-button-popup.js +4725 -0
- package/dist/esm/{scrollview/tests/scrollview-blazor.js → split-button/templates/text-split-button.js} +327 -91
- package/dist/esm/split-button/tests/split-button-flat.js +4747 -0
- package/dist/esm/split-button/tests/split-button-opened.js +4754 -0
- package/dist/esm/split-button/tests/split-button-outline.js +4747 -0
- package/dist/esm/split-button/tests/split-button-size-rounded.js +4754 -0
- package/dist/esm/split-button/tests/split-button-solid.js +4747 -0
- package/dist/esm/spreadsheet/tests/spreadsheet-data-validation.js +172 -163
- package/dist/esm/spreadsheet/tests/spreadsheet-dialog.js +211 -200
- package/dist/esm/spreadsheet/tests/spreadsheet-filter-menu.js +46 -34
- package/dist/esm/spreadsheet/tests/spreadsheet-tools-popup.js +51 -46
- package/dist/esm/spreadsheet/tests/spreadsheet.js +51 -46
- package/dist/esm/switch/switch.spec.js +17 -9
- package/dist/esm/switch/templates/switch-checked.js +181 -0
- package/dist/esm/switch/templates/switch-normal.js +181 -0
- package/dist/esm/switch/tests/switch-size-rounded.js +49 -51
- package/dist/esm/switch/tests/switch.js +48 -36
- package/dist/esm/table/table-header.js +15 -3
- package/dist/esm/table/templates/data-table-normal.js +467 -0
- package/dist/esm/table/templates/table-list-virtualization.js +467 -0
- package/dist/esm/table/templates/table-list.js +497 -0
- package/dist/esm/table/templates/table-native.js +430 -0
- package/dist/esm/table/tests/table-data-sizes.js +76 -175
- package/dist/esm/table/tests/table-list-jquery.js +151 -139
- package/dist/esm/table/tests/table-list-sizes.js +69 -154
- package/dist/esm/table/tests/table-list-virtual.js +89 -76
- package/dist/esm/table/tests/table-native-sizes.js +70 -145
- package/dist/esm/table/tests/table-native-states.js +145 -58
- package/dist/esm/taskboard/tests/taskboard-card.js +51 -46
- package/dist/esm/taskboard/tests/taskboard-pane.js +55 -50
- package/dist/esm/taskboard/tests/taskboard-rtl.js +51 -46
- package/dist/esm/taskboard/tests/taskboard.js +51 -46
- package/dist/esm/textarea/templates/textarea-normal.js +4605 -0
- package/dist/esm/textarea/tests/textarea-flat.js +23 -25
- package/dist/esm/textarea/tests/textarea-outline.js +23 -25
- package/dist/esm/textarea/tests/textarea-size-rounded.js +4626 -0
- package/dist/esm/textarea/tests/{textarea.js → textarea-solid.js} +26 -28
- package/dist/esm/textarea/textarea.spec.js +4 -5
- package/dist/esm/tilelayout/tests/tilelayout-resizing.js +175 -102
- package/dist/esm/tilelayout/tests/tilelayout.js +216 -129
- package/dist/esm/tilelayout/tilelayout-item-hint.spec.js +20 -0
- package/dist/esm/tilelayout/{tests/tilelayout-react.js → tilelayout-item.spec.js} +50 -24
- package/dist/esm/tilelayout/tilelayout.spec.js +50 -0
- package/dist/esm/time-selector/templates/time-selector-all.js +4637 -0
- package/dist/esm/time-selector/templates/time-selector-hour.js +4637 -0
- package/dist/esm/time-selector/templates/time-selector-minute.js +4637 -0
- package/dist/esm/time-selector/tests/time-selector.js +197 -166
- package/dist/esm/time-selector/time-selector.spec.js +87 -14
- package/dist/esm/timedurationpicker/tests/timedurationpicker-expanded.js +32 -23
- package/dist/esm/timedurationpicker/tests/timedurationpicker.js +46 -37
- package/dist/esm/timedurationpicker/timedurationpicker.spec.js +24 -15
- package/dist/esm/timepicker/templates/timepicker-adaptive.js +67 -58
- package/dist/esm/timepicker/templates/timepicker-normal.js +67 -58
- package/dist/esm/timepicker/templates/timepicker-popup.js +67 -58
- package/dist/esm/timepicker/tests/timepicker-adaptive.js +77 -68
- package/dist/esm/timepicker/tests/timepicker-flat.js +82 -73
- package/dist/esm/timepicker/tests/timepicker-opened.js +77 -68
- package/dist/esm/timepicker/tests/timepicker-outline.js +82 -73
- package/dist/esm/timepicker/tests/timepicker-solid.js +82 -73
- package/dist/esm/timepicker/timepicker.spec.js +65 -56
- package/dist/esm/toolbar/tests/toolbar-adaptive.js +51 -46
- package/dist/esm/toolbar/tests/toolbar-angular.js +442 -425
- package/dist/esm/toolbar/tests/toolbar-components.js +444 -427
- package/dist/esm/toolbar/tests/toolbar-sizes.js +283 -270
- package/dist/esm/toolbar/tests/toolbar.js +529 -504
- package/dist/esm/toolbar/toolbar-angular.spec.js +49 -44
- package/dist/esm/toolbar/toolbar.spec.js +49 -44
- package/dist/esm/treeview/templates/treeview-checkboxes.js +4579 -0
- package/dist/esm/treeview/templates/treeview-hierarchy.js +4579 -0
- package/dist/esm/treeview/templates/treeview-icons.js +4579 -0
- package/dist/esm/treeview/templates/treeview-normal.js +4570 -0
- package/dist/esm/treeview/tests/treeview-size.js +38 -38
- package/dist/esm/treeview/tests/treeview.js +117 -112
- package/dist/esm/treeview/treeview.spec.js +17 -5
- package/dist/types/chat/chat-message-group.d.ts +22 -0
- package/dist/types/chat/chat-message.d.ts +22 -0
- package/dist/types/chat/chat-quick-replies.d.ts +13 -0
- package/dist/types/chat/chat.spec.d.ts +18 -0
- package/dist/types/chat/index.d.ts +4 -0
- package/dist/types/listgroup/index.d.ts +3 -0
- package/dist/types/listgroup/listgroup-item.spec.d.ts +25 -0
- package/dist/types/listgroup/listgroup.spec.d.ts +16 -0
- package/dist/types/listgroup/templates/listgroup-normal.d.ts +1 -0
- package/dist/types/multiselect/index.d.ts +6 -0
- package/dist/types/multiselect/multiselect.spec.d.ts +3 -0
- package/dist/types/multiselect/templates/multiselect-adaptive.d.ts +1 -0
- package/dist/types/multiselect/templates/multiselect-arrow-button.d.ts +1 -0
- package/dist/types/multiselect/templates/multiselect-grouping.d.ts +1 -0
- package/dist/types/multiselect/templates/multiselect-normal.d.ts +1 -0
- package/dist/types/multiselect/templates/multiselect-popup.d.ts +1 -0
- package/dist/types/multiselect/templates/multiselect-value.d.ts +1 -0
- package/dist/types/pager/pager.spec.d.ts +4 -2
- package/dist/types/radio/index.d.ts +3 -0
- package/dist/types/radio/templates/radio-inside-label.d.ts +1 -0
- package/dist/types/radio/templates/radio-label.d.ts +1 -0
- package/dist/types/radio/templates/radio-normal.d.ts +1 -0
- package/dist/types/scrollview/index.d.ts +1 -0
- package/dist/types/scrollview/scrollview-spec.d.ts +23 -0
- package/dist/types/skeleton/index.d.ts +1 -0
- package/dist/types/skeleton/skeleton.spec.d.ts +18 -0
- package/dist/types/split-button/index.d.ts +4 -0
- package/dist/types/split-button/split-button.spec.d.ts +3 -0
- package/dist/types/split-button/templates/icon-split-button.d.ts +1 -0
- package/dist/types/split-button/templates/icon-text-split-button.d.ts +1 -0
- package/dist/types/split-button/templates/split-button-popup.d.ts +1 -0
- package/dist/types/split-button/templates/text-split-button.d.ts +1 -0
- package/dist/types/split-button/tests/split-button-solid.d.ts +2 -0
- package/dist/types/switch/index.d.ts +2 -0
- package/dist/types/switch/switch.spec.d.ts +8 -4
- package/dist/types/switch/templates/switch-checked.d.ts +1 -0
- package/dist/types/switch/templates/switch-normal.d.ts +1 -0
- package/dist/types/table/index.d.ts +4 -0
- package/dist/types/table/templates/data-table-normal.d.ts +1 -0
- package/dist/types/table/templates/table-list-virtualization.d.ts +1 -0
- package/dist/types/table/templates/table-list.d.ts +1 -0
- package/dist/types/table/templates/table-native.d.ts +1 -0
- package/dist/types/textarea/index.d.ts +1 -0
- package/dist/types/textarea/templates/textarea-normal.d.ts +1 -0
- package/dist/types/textarea/tests/textarea-size-rounded.d.ts +2 -0
- package/dist/types/textarea/tests/textarea-solid.d.ts +2 -0
- package/dist/types/textarea/textarea.spec.d.ts +2 -2
- package/dist/types/tilelayout/index.d.ts +3 -0
- package/dist/types/tilelayout/tilelayout-item-hint.spec.d.ts +13 -0
- package/dist/types/tilelayout/tilelayout-item.spec.d.ts +17 -0
- package/dist/types/tilelayout/tilelayout.spec.d.ts +18 -0
- package/dist/types/time-selector/index.d.ts +3 -0
- package/dist/types/time-selector/templates/time-selector-all.d.ts +1 -0
- package/dist/types/time-selector/templates/time-selector-hour.d.ts +1 -0
- package/dist/types/time-selector/templates/time-selector-minute.d.ts +1 -0
- package/dist/types/treeview/index.d.ts +4 -0
- package/dist/types/treeview/templates/treeview-checkboxes.d.ts +1 -0
- package/dist/types/treeview/templates/treeview-hierarchy.d.ts +1 -0
- package/dist/types/treeview/templates/treeview-icons.d.ts +1 -0
- package/dist/types/treeview/templates/treeview-normal.d.ts +1 -0
- package/package.json +2 -2
- package/src/captcha/captcha.spec.tsx +2 -4
- package/src/chat/chat-message-group.tsx +63 -0
- package/src/chat/chat-message.tsx +58 -0
- package/src/chat/chat-quick-replies.tsx +54 -0
- package/src/chat/chat.spec.tsx +88 -0
- package/src/chat/index.ts +4 -0
- package/src/chat/tests/chat-rtl.tsx +45 -84
- package/src/chat/tests/chat-scrollable-deck.tsx +42 -56
- package/src/chat/tests/chat.tsx +85 -150
- package/src/grid/tests/grid-adaptive-pager.tsx +2 -2
- package/src/grid/tests/grid-angular.tsx +2 -1
- package/src/grid/tests/grid-rtl-angular.tsx +3 -2
- package/src/grid/tests/grid-rtl.tsx +3 -2
- package/src/grid/tests/grid-selection-aggregates.tsx +5 -4
- package/src/grid/tests/grid-size-sm-comp-sm.tsx +3 -2
- package/src/grid/tests/grid-size-sm.tsx +3 -2
- package/src/grid/tests/grid-sticky-columns-rtl.tsx +1 -1
- package/src/grid/tests/grid-virtualization.tsx +202 -200
- package/src/grid/tests/grid.tsx +3 -2
- package/src/listgroup/index.ts +3 -0
- package/src/listgroup/listgroup-item.spec.tsx +69 -0
- package/src/listgroup/listgroup.spec.tsx +62 -0
- package/src/listgroup/templates/listgroup-normal.tsx +12 -0
- package/src/listgroup/tests/listgroup.tsx +35 -38
- package/src/multiselect/index.ts +6 -0
- package/src/multiselect/multiselect.spec.tsx +22 -0
- package/src/multiselect/templates/multiselect-adaptive.tsx +8 -0
- package/src/multiselect/templates/multiselect-arrow-button.tsx +3 -0
- package/src/multiselect/templates/multiselect-grouping.tsx +23 -0
- package/src/multiselect/templates/multiselect-normal.tsx +3 -0
- package/src/multiselect/templates/multiselect-popup.tsx +16 -0
- package/src/multiselect/templates/multiselect-value.tsx +12 -0
- package/src/multiselect/tests/multiselect-adaptive.tsx +33 -0
- package/src/multiselect/tests/multiselect-flat.tsx +28 -124
- package/src/multiselect/tests/multiselect-grouping.tsx +28 -0
- package/src/multiselect/tests/multiselect-opened.tsx +3 -36
- package/src/multiselect/tests/multiselect-outline.tsx +28 -124
- package/src/multiselect/tests/multiselect-size-rounded.tsx +32 -0
- package/src/multiselect/tests/multiselect-solid.tsx +79 -0
- package/src/pager/pager.spec.tsx +36 -29
- package/src/pager/tests/pager-adaptive.tsx +25 -0
- package/src/radio/index.ts +3 -0
- package/src/radio/templates/radio-inside-label.tsx +10 -0
- package/src/radio/templates/radio-label.tsx +8 -0
- package/src/radio/templates/radio-normal.tsx +3 -0
- package/src/radio/tests/radio-size.tsx +11 -73
- package/src/radio/tests/radio.tsx +29 -142
- package/src/scrollview/index.ts +1 -0
- package/src/scrollview/scrollview-spec.tsx +134 -0
- package/src/scrollview/tests/scrollview.tsx +5 -119
- package/src/skeleton/index.tsx +1 -0
- package/src/skeleton/skeleton.spec.tsx +50 -0
- package/src/skeleton/tests/skeleton.tsx +11 -12
- package/src/split-button/index.ts +4 -0
- package/src/split-button/split-button.spec.tsx +47 -35
- package/src/split-button/templates/icon-split-button.tsx +3 -0
- package/src/split-button/templates/icon-text-split-button.tsx +3 -0
- package/src/split-button/templates/split-button-popup.tsx +17 -0
- package/src/split-button/templates/text-split-button.tsx +3 -0
- package/src/split-button/tests/split-button-flat.tsx +28 -0
- package/src/split-button/tests/split-button-opened.tsx +27 -0
- package/src/split-button/tests/split-button-outline.tsx +28 -0
- package/src/split-button/tests/split-button-size-rounded.tsx +39 -0
- package/src/split-button/tests/split-button-solid.tsx +29 -0
- package/src/switch/index.ts +2 -0
- package/src/switch/switch.spec.tsx +14 -12
- package/src/switch/templates/switch-checked.tsx +3 -0
- package/src/switch/templates/switch-normal.tsx +3 -0
- package/src/switch/tests/switch-size-rounded.tsx +23 -102
- package/src/switch/tests/switch.tsx +26 -51
- package/src/table/index.ts +5 -0
- package/src/table/templates/data-table-normal.tsx +76 -0
- package/src/table/templates/table-list-virtualization.tsx +79 -0
- package/src/table/templates/table-list.tsx +63 -0
- package/src/table/templates/table-native.tsx +64 -0
- package/src/table/tests/table-data-sizes.tsx +4 -226
- package/src/table/tests/table-list-sizes.tsx +4 -187
- package/src/table/tests/table-list-virtual.tsx +2 -78
- package/src/table/tests/table-native-sizes.tsx +4 -182
- package/src/table/tests/table-native-states.tsx +3 -5
- package/src/textarea/index.ts +1 -0
- package/src/textarea/templates/textarea-normal.tsx +3 -0
- package/src/textarea/tests/textarea-flat.tsx +17 -40
- package/src/textarea/tests/textarea-outline.tsx +17 -41
- package/src/textarea/tests/textarea-size-rounded.tsx +32 -0
- package/src/textarea/tests/textarea-solid.tsx +52 -0
- package/src/textarea/textarea.spec.tsx +4 -5
- package/src/tilelayout/index.ts +3 -0
- package/src/tilelayout/tests/tilelayout-resizing.tsx +8 -35
- package/src/tilelayout/tests/tilelayout.tsx +27 -87
- package/src/tilelayout/tilelayout-item-hint.spec.tsx +30 -0
- package/src/tilelayout/tilelayout-item.spec.tsx +69 -0
- package/src/tilelayout/tilelayout.spec.tsx +56 -0
- package/src/time-selector/index.ts +3 -0
- package/src/time-selector/templates/time-selector-all.tsx +23 -0
- package/src/time-selector/templates/time-selector-hour.tsx +23 -0
- package/src/time-selector/templates/time-selector-minute.tsx +23 -0
- package/src/time-selector/tests/time-selector.tsx +4 -39
- package/src/treeview/index.ts +4 -0
- package/src/treeview/templates/treeview-checkboxes.tsx +28 -0
- package/src/treeview/templates/treeview-hierarchy.tsx +30 -0
- package/src/treeview/templates/treeview-icons.tsx +30 -0
- package/src/treeview/templates/treeview-normal.tsx +13 -0
- package/src/treeview/tests/treeview-size.tsx +4 -41
- package/src/treeview/tests/treeview.tsx +11 -136
- package/dist/cjs/scrollview/tests/scrollview-blazor.js +0 -4317
- package/src/multiselect/tests/multiselect-size.tsx +0 -50
- package/src/multiselect/tests/multiselect.tsx +0 -176
- package/src/pager/tests/pager-responsive.tsx +0 -27
- package/src/scrollview/tests/scrollview-angular.tsx +0 -109
- package/src/scrollview/tests/scrollview-blazor.tsx +0 -120
- package/src/split-button/tests/split-button-size.tsx +0 -111
- package/src/split-button/tests/split-button.tsx +0 -87
- package/src/textarea/tests/textarea.tsx +0 -75
- package/src/tilelayout/tests/tilelayout-react.tsx +0 -44
- /package/dist/types/multiselect/tests/{multiselect-size.d.ts → multiselect-adaptive.d.ts} +0 -0
- /package/dist/types/multiselect/tests/{multiselect.d.ts → multiselect-grouping.d.ts} +0 -0
- /package/dist/types/{pager/tests/pager-responsive.d.ts → multiselect/tests/multiselect-size-rounded.d.ts} +0 -0
- /package/dist/types/{scrollview/tests/scrollview-angular.d.ts → multiselect/tests/multiselect-solid.d.ts} +0 -0
- /package/dist/types/{scrollview/tests/scrollview-blazor.d.ts → pager/tests/pager-adaptive.d.ts} +0 -0
- /package/dist/types/split-button/tests/{split-button-size.d.ts → split-button-flat.d.ts} +0 -0
- /package/dist/types/split-button/tests/{split-button.d.ts → split-button-opened.d.ts} +0 -0
- /package/dist/types/{textarea/tests/textarea.d.ts → split-button/tests/split-button-outline.d.ts} +0 -0
- /package/dist/types/{tilelayout/tests/tilelayout-react.d.ts → split-button/tests/split-button-size-rounded.d.ts} +0 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export type KendoScrollViewProps = {
|
|
2
|
+
mode?: "light" | "normal" | "dark";
|
|
3
|
+
views?: number;
|
|
4
|
+
animate?: boolean;
|
|
5
|
+
arrows?: boolean;
|
|
6
|
+
pager?: boolean;
|
|
7
|
+
rtl?: boolean;
|
|
8
|
+
};
|
|
9
|
+
export declare const ScrollView: {
|
|
10
|
+
(props: KendoScrollViewProps & React.HtmlHTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
states: any[];
|
|
12
|
+
options: {};
|
|
13
|
+
className: string;
|
|
14
|
+
defaultProps: {
|
|
15
|
+
mode: string;
|
|
16
|
+
views: number;
|
|
17
|
+
animate: boolean;
|
|
18
|
+
arrows: boolean;
|
|
19
|
+
pager: boolean;
|
|
20
|
+
rtl: boolean;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
export default ScrollView;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './skeleton.spec';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const SKELETON_CLASSNAME = "k-skeleton";
|
|
3
|
+
export type KendoSkeletonProps = {
|
|
4
|
+
shape?: 'circle' | 'text' | 'rect';
|
|
5
|
+
animation?: false | 'wave' | 'pulse';
|
|
6
|
+
style?: React.CSSProperties;
|
|
7
|
+
};
|
|
8
|
+
export declare const Skeleton: {
|
|
9
|
+
(props: KendoSkeletonProps & React.HTMLAttributes<HTMLSpanElement>): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
states: any[];
|
|
11
|
+
options: {};
|
|
12
|
+
className: string;
|
|
13
|
+
defaultProps: {
|
|
14
|
+
shape: string;
|
|
15
|
+
animation: string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
export default Skeleton;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
export declare const SPLITBUTTON_CLASSNAME = "k-split-button";
|
|
2
3
|
declare const states: ("active" | "focus" | "disabled" | "selected" | "hover")[];
|
|
3
4
|
declare const options: {
|
|
@@ -18,6 +19,8 @@ export type KendoSplitButtonProps = KendoSplitButtonOptions & {
|
|
|
18
19
|
iconClassName?: string;
|
|
19
20
|
showArrow?: boolean;
|
|
20
21
|
arrowIconName?: string;
|
|
22
|
+
popup?: JSX.Element;
|
|
23
|
+
opened?: boolean;
|
|
21
24
|
};
|
|
22
25
|
export type KendoSplitButtonState = {
|
|
23
26
|
[K in (typeof states)[number]]?: boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const IconSplitButton: (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const IconTextSplitButton: (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const SplitButtonPopup: (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const TextSplitButton: (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -2,15 +2,17 @@ export declare const SWITCH_CLASSNAME = "k-switch";
|
|
|
2
2
|
declare const states: ("focus" | "disabled" | "checked" | "hover")[];
|
|
3
3
|
declare const options: {
|
|
4
4
|
size: ("small" | "medium" | "large")[];
|
|
5
|
+
trackRounded: ("small" | "medium" | "full" | "large")[];
|
|
6
|
+
thumbRounded: ("small" | "medium" | "full" | "large")[];
|
|
5
7
|
};
|
|
6
8
|
export type KendoSwitchOptions = {
|
|
7
9
|
size?: (typeof options.size)[number] | null;
|
|
10
|
+
trackRounded?: (typeof options.trackRounded)[number] | null;
|
|
11
|
+
thumbRounded?: (typeof options.thumbRounded)[number] | null;
|
|
8
12
|
};
|
|
9
13
|
export type KendoSwitchProps = KendoSwitchOptions & {
|
|
10
14
|
onLabel?: string;
|
|
11
15
|
offLabel?: string;
|
|
12
|
-
trackRounded?: null | "sm" | "md" | "lg" | "full";
|
|
13
|
-
thumbRounded?: null | "sm" | "md" | "lg" | "full";
|
|
14
16
|
};
|
|
15
17
|
export type KendoSwitchState = {
|
|
16
18
|
[K in (typeof states)[number]]?: boolean;
|
|
@@ -20,12 +22,14 @@ export declare const Switch: {
|
|
|
20
22
|
states: ("focus" | "disabled" | "checked" | "hover")[];
|
|
21
23
|
options: {
|
|
22
24
|
size: ("small" | "medium" | "large")[];
|
|
25
|
+
trackRounded: ("small" | "medium" | "full" | "large")[];
|
|
26
|
+
thumbRounded: ("small" | "medium" | "full" | "large")[];
|
|
23
27
|
};
|
|
24
28
|
className: string;
|
|
25
29
|
defaultProps: {
|
|
26
30
|
size: "medium";
|
|
27
|
-
trackRounded:
|
|
28
|
-
thumbRounded:
|
|
31
|
+
trackRounded: "full";
|
|
32
|
+
thumbRounded: "full";
|
|
29
33
|
};
|
|
30
34
|
};
|
|
31
35
|
export default Switch;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const SwitchChecked: (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const SwitchNormal: (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -17,3 +17,7 @@ export * from './table-group-header';
|
|
|
17
17
|
export * from './table-group-sticky-header';
|
|
18
18
|
export * from './table-group-row';
|
|
19
19
|
export * from './table-list-group-row';
|
|
20
|
+
export * from "./templates/table-list";
|
|
21
|
+
export * from "./templates/table-list-virtualization";
|
|
22
|
+
export * from "./templates/data-table-normal";
|
|
23
|
+
export * from "./templates/table-native";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const DataTableNormal: (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const DataTableVirtualization: (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const DataTableList: (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const TableNative: (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const TextareaNormal: (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const TEXTAREA_CLASSNAME = "k-textarea";
|
|
2
|
-
declare const states: ("required" | "
|
|
2
|
+
declare const states: ("required" | "focus" | "invalid" | "disabled" | "hover" | "valid")[];
|
|
3
3
|
declare const options: {
|
|
4
4
|
size: ("small" | "medium" | "large")[];
|
|
5
5
|
rounded: ("small" | "medium" | "full" | "large")[];
|
|
@@ -20,7 +20,7 @@ export type KendoTextareaState = {
|
|
|
20
20
|
};
|
|
21
21
|
export declare const Textarea: {
|
|
22
22
|
(props: KendoTextareaProps & KendoTextareaState & React.HTMLAttributes<HTMLSpanElement>): import("react/jsx-runtime").JSX.Element;
|
|
23
|
-
states: ("required" | "
|
|
23
|
+
states: ("required" | "focus" | "invalid" | "disabled" | "hover" | "valid")[];
|
|
24
24
|
options: {
|
|
25
25
|
size: ("small" | "medium" | "large")[];
|
|
26
26
|
rounded: ("small" | "medium" | "full" | "large")[];
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const TILELAYOUTITEMHINT_CLASSNAME = "k-layout-item-hint";
|
|
3
|
+
export type KendoTileLayoutItemHintProps = {
|
|
4
|
+
style?: React.CSSProperties;
|
|
5
|
+
};
|
|
6
|
+
export declare const TileLayoutItemHint: {
|
|
7
|
+
(props: KendoTileLayoutItemHintProps & React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
states: any[];
|
|
9
|
+
options: {};
|
|
10
|
+
className: string;
|
|
11
|
+
defaultProps: {};
|
|
12
|
+
};
|
|
13
|
+
export default TileLayoutItemHint;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const TILELAYOUTITEM_CLASSNAME = "k-tilelayout-item";
|
|
3
|
+
export type KendoTileLayoutItemProps = {
|
|
4
|
+
header?: React.ReactNode | string;
|
|
5
|
+
body?: React.ReactNode;
|
|
6
|
+
focus?: boolean;
|
|
7
|
+
resize?: true | 'vertical' | 'horizontal';
|
|
8
|
+
style?: React.CSSProperties;
|
|
9
|
+
};
|
|
10
|
+
export declare const TileLayoutItem: {
|
|
11
|
+
(props: KendoTileLayoutItemProps & React.HTMLAttributes<HTMLSpanElement>): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
states: "focus"[];
|
|
13
|
+
options: {};
|
|
14
|
+
className: string;
|
|
15
|
+
defaultProps: {};
|
|
16
|
+
};
|
|
17
|
+
export default TileLayoutItem;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const TILELAYOUT_CLASSNAME = "k-tilelayout";
|
|
3
|
+
export type KendoTileLayoutProps = {
|
|
4
|
+
gap?: string;
|
|
5
|
+
columns?: number;
|
|
6
|
+
columnWidth?: string;
|
|
7
|
+
rowHeight?: string;
|
|
8
|
+
style?: React.CSSProperties;
|
|
9
|
+
children?: React.ReactNode;
|
|
10
|
+
};
|
|
11
|
+
export declare const TileLayout: {
|
|
12
|
+
(props: KendoTileLayoutProps & React.HTMLAttributes<HTMLSpanElement>): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
states: any[];
|
|
14
|
+
options: {};
|
|
15
|
+
className: string;
|
|
16
|
+
defaultProps: {};
|
|
17
|
+
};
|
|
18
|
+
export default TileLayout;
|
|
@@ -2,3 +2,6 @@ export * from './time-selector.spec';
|
|
|
2
2
|
export * from './time-selector-column';
|
|
3
3
|
export * from './time-selector-header';
|
|
4
4
|
export * from './time-selector-fast-selection';
|
|
5
|
+
export * from './templates/time-selector-all';
|
|
6
|
+
export * from './templates/time-selector-hour';
|
|
7
|
+
export * from './templates/time-selector-minute';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const TimeSelectorAll: (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const TimeSelectorHour: (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const TimeSelectorMinute: (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -2,3 +2,7 @@ export * from './treeview.spec';
|
|
|
2
2
|
export * from './treeview-item.spec';
|
|
3
3
|
export * from './treeview-leaf';
|
|
4
4
|
export * from './treeview-group';
|
|
5
|
+
export * from "./templates/treeview-normal";
|
|
6
|
+
export * from "./templates/treeview-hierarchy";
|
|
7
|
+
export * from "./templates/treeview-icons";
|
|
8
|
+
export * from "./templates/treeview-checkboxes";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const TreeviewCheckboxes: (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const TreeviewHierarchy: (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const TreeviewIcons: (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const TreeviewNormal: (props: any) => import("react/jsx-runtime").JSX.Element;
|
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": "6.7.0-dev.
|
|
4
|
+
"version": "6.7.0-dev.2",
|
|
5
5
|
"author": "Progress",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"keywords": [
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@types/react": "^18.0.2"
|
|
53
53
|
},
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "48b9852e24736586f7bb277b8db520075eadd6e4"
|
|
55
55
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Button } from '../button';
|
|
2
2
|
import { Textbox } from '../textbox';
|
|
3
|
+
import { Skeleton } from '../skeleton';
|
|
3
4
|
import { classNames, stateClassNames, States } from '../misc';
|
|
4
5
|
|
|
5
6
|
export const CAPTCHA_CLASSNAME = `k-captcha`;
|
|
@@ -54,10 +55,7 @@ export const Captcha = (
|
|
|
54
55
|
src="/packages/html/assets/captcha.jpg"
|
|
55
56
|
/>
|
|
56
57
|
{loading && (
|
|
57
|
-
<
|
|
58
|
-
style={{ width: '100%', height: '100%' }}
|
|
59
|
-
className="k-skeleton k-skeleton-rect">
|
|
60
|
-
</span>
|
|
58
|
+
<Skeleton shape={'rect'} style={{ width: '100%', height: '100%' }} />
|
|
61
59
|
)}
|
|
62
60
|
</div>
|
|
63
61
|
<div className="k-captcha-image-controls k-vstack">
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { classNames, stateClassNames, States } from '../misc';
|
|
2
|
+
import { Avatar } from '../avatar';
|
|
3
|
+
|
|
4
|
+
export const CHATMESSAGEGROUP_CLASSNAME = 'k-message-group';
|
|
5
|
+
|
|
6
|
+
const states = [
|
|
7
|
+
States.selected
|
|
8
|
+
];
|
|
9
|
+
|
|
10
|
+
const options = {};
|
|
11
|
+
|
|
12
|
+
const defaultProps = {
|
|
13
|
+
author: "Bruv",
|
|
14
|
+
avatar: "/packages/html/assets/avatar.jpg",
|
|
15
|
+
alt: false
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
export type KendoChatMessageGroupProps = {
|
|
19
|
+
alt?: boolean;
|
|
20
|
+
author?: string;
|
|
21
|
+
avatar?: null | string;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
export type KendoChatMessageGroupState = { [K in (typeof states)[number]]?: boolean };
|
|
25
|
+
|
|
26
|
+
export const ChatMessageGroup = (
|
|
27
|
+
props: KendoChatMessageGroupProps &
|
|
28
|
+
KendoChatMessageGroupState &
|
|
29
|
+
React.HTMLAttributes<HTMLDivElement>
|
|
30
|
+
) => {
|
|
31
|
+
const {
|
|
32
|
+
alt = defaultProps.alt,
|
|
33
|
+
author = defaultProps.author,
|
|
34
|
+
avatar = defaultProps.avatar,
|
|
35
|
+
selected,
|
|
36
|
+
...other
|
|
37
|
+
} = props;
|
|
38
|
+
|
|
39
|
+
return (
|
|
40
|
+
<div
|
|
41
|
+
{...other}
|
|
42
|
+
className={classNames(
|
|
43
|
+
CHATMESSAGEGROUP_CLASSNAME,
|
|
44
|
+
props.className,
|
|
45
|
+
stateClassNames( CHATMESSAGEGROUP_CLASSNAME, { selected } ),
|
|
46
|
+
{
|
|
47
|
+
'k-alt': alt,
|
|
48
|
+
'k-no-avatar': !avatar
|
|
49
|
+
}
|
|
50
|
+
)}>
|
|
51
|
+
{ author && <p className="k-author">{author}</p> }
|
|
52
|
+
{ avatar && <Avatar type="image"><img src={avatar} /></Avatar> }
|
|
53
|
+
{props.children}
|
|
54
|
+
</div>
|
|
55
|
+
);
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
ChatMessageGroup.states = states;
|
|
59
|
+
ChatMessageGroup.options = options;
|
|
60
|
+
ChatMessageGroup.className = CHATMESSAGEGROUP_CLASSNAME;
|
|
61
|
+
ChatMessageGroup.defaultProps = defaultProps;
|
|
62
|
+
|
|
63
|
+
export default ChatMessageGroup;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { classNames, stateClassNames, States } from '../misc';
|
|
2
|
+
|
|
3
|
+
export const CHATMESSAGE_CLASSNAME = 'k-message';
|
|
4
|
+
|
|
5
|
+
const states = [
|
|
6
|
+
States.selected
|
|
7
|
+
];
|
|
8
|
+
|
|
9
|
+
const options = {};
|
|
10
|
+
|
|
11
|
+
const defaultProps = {
|
|
12
|
+
time: 'Thu Feb 08 2018',
|
|
13
|
+
text: 'How can I help you?',
|
|
14
|
+
status: 'Seen'
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
export type KendoChatMessageProps = {
|
|
18
|
+
time?: string,
|
|
19
|
+
text?: string,
|
|
20
|
+
status?: string
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
export type KendoChatMessageState = { [K in (typeof states)[number]]?: boolean };
|
|
24
|
+
|
|
25
|
+
export const ChatMessage = (
|
|
26
|
+
props: KendoChatMessageProps &
|
|
27
|
+
KendoChatMessageState &
|
|
28
|
+
React.HTMLAttributes<HTMLDivElement>
|
|
29
|
+
) => {
|
|
30
|
+
const {
|
|
31
|
+
time = defaultProps.time,
|
|
32
|
+
text = defaultProps.text,
|
|
33
|
+
status = defaultProps.status,
|
|
34
|
+
selected,
|
|
35
|
+
...other
|
|
36
|
+
} = props;
|
|
37
|
+
|
|
38
|
+
return (
|
|
39
|
+
<div
|
|
40
|
+
{...other}
|
|
41
|
+
className={classNames(
|
|
42
|
+
CHATMESSAGE_CLASSNAME,
|
|
43
|
+
props.className,
|
|
44
|
+
stateClassNames(CHATMESSAGE_CLASSNAME, { selected })
|
|
45
|
+
)}>
|
|
46
|
+
<time className="k-message-time">{time}</time>
|
|
47
|
+
<div className="k-chat-bubble">{text}</div>
|
|
48
|
+
<span className="k-message-status">{status}</span>
|
|
49
|
+
</div>
|
|
50
|
+
);
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
ChatMessage.states = states;
|
|
54
|
+
ChatMessage.options = options;
|
|
55
|
+
ChatMessage.className = CHATMESSAGE_CLASSNAME;
|
|
56
|
+
ChatMessage.defaultProps = defaultProps;
|
|
57
|
+
|
|
58
|
+
export default ChatMessage;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { classNames } from '../misc';
|
|
2
|
+
|
|
3
|
+
const CHATQUICKREPLY_CLASSNAME = 'k-quick-replies';
|
|
4
|
+
|
|
5
|
+
const states = [];
|
|
6
|
+
|
|
7
|
+
const options = {};
|
|
8
|
+
|
|
9
|
+
const defaultOptions = {
|
|
10
|
+
actions: [ 'Quick', 'Reply', 'Another quick', 'Reply with different length' ]
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
export type KendoChatQuickRepliesOptions = {
|
|
15
|
+
actions?: Array<string>;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
export const ChatQuickReply = (
|
|
19
|
+
props: KendoChatQuickRepliesOptions &
|
|
20
|
+
React.HTMLAttributes<HTMLDivElement>
|
|
21
|
+
) => {
|
|
22
|
+
const {
|
|
23
|
+
actions = defaultOptions.actions,
|
|
24
|
+
...other
|
|
25
|
+
} = props;
|
|
26
|
+
|
|
27
|
+
const children: JSX.Element[] = [];
|
|
28
|
+
|
|
29
|
+
if (actions) {
|
|
30
|
+
actions.map((action, index) => {
|
|
31
|
+
children.push(
|
|
32
|
+
<span className="k-quick-reply" key={index}>{action}</span>
|
|
33
|
+
);
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
return (
|
|
38
|
+
<div
|
|
39
|
+
{...other}
|
|
40
|
+
className={classNames(
|
|
41
|
+
CHATQUICKREPLY_CLASSNAME,
|
|
42
|
+
props.className
|
|
43
|
+
)}>
|
|
44
|
+
{children}
|
|
45
|
+
</div>
|
|
46
|
+
);
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
ChatQuickReply.states = states;
|
|
50
|
+
ChatQuickReply.options = options;
|
|
51
|
+
ChatQuickReply.className = CHATQUICKREPLY_CLASSNAME;
|
|
52
|
+
ChatQuickReply.defaultOptions = defaultOptions;
|
|
53
|
+
|
|
54
|
+
export default ChatQuickReply;
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { classNames } from '../misc';
|
|
2
|
+
import { Button } from '../button';
|
|
3
|
+
import { Toolbar } from '../toolbar';
|
|
4
|
+
import { Textbox } from '../textbox';
|
|
5
|
+
|
|
6
|
+
const CHAT_CLASSNAME = 'k-chat';
|
|
7
|
+
|
|
8
|
+
const states = [];
|
|
9
|
+
|
|
10
|
+
const options = {};
|
|
11
|
+
|
|
12
|
+
const defaultOptions = {
|
|
13
|
+
showToolbar: true,
|
|
14
|
+
showMessageBox: true,
|
|
15
|
+
showMoreButton: true
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
export type KendoChatProps = {
|
|
19
|
+
dir?: "ltr" | "rtl",
|
|
20
|
+
showToolbar?: boolean,
|
|
21
|
+
showMessageBox?: boolean,
|
|
22
|
+
showMoreButton?: boolean,
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export const Chat = (
|
|
26
|
+
props: KendoChatProps &
|
|
27
|
+
React.HTMLAttributes<HTMLDivElement>
|
|
28
|
+
) => {
|
|
29
|
+
const {
|
|
30
|
+
dir,
|
|
31
|
+
showToolbar = defaultOptions.showToolbar,
|
|
32
|
+
showMessageBox = defaultOptions.showMessageBox,
|
|
33
|
+
showMoreButton = defaultOptions.showMoreButton,
|
|
34
|
+
...other
|
|
35
|
+
} = props;
|
|
36
|
+
|
|
37
|
+
return (
|
|
38
|
+
<div
|
|
39
|
+
{...other}
|
|
40
|
+
className={classNames(
|
|
41
|
+
CHAT_CLASSNAME,
|
|
42
|
+
props.className
|
|
43
|
+
)} dir={dir}>
|
|
44
|
+
<div className="k-message-list k-avatars">
|
|
45
|
+
<div className="k-message-list-content">
|
|
46
|
+
{props.children}
|
|
47
|
+
</div>
|
|
48
|
+
</div>
|
|
49
|
+
{ showMessageBox &&
|
|
50
|
+
<Textbox
|
|
51
|
+
className="k-message-box"
|
|
52
|
+
placeholder="Type a message..."
|
|
53
|
+
suffix={
|
|
54
|
+
<>
|
|
55
|
+
{ showMoreButton && <Button fillMode="flat" icon="more-horizontal"></Button> }
|
|
56
|
+
<Button fillMode="flat" icon="paper-plane" className="k-chat-send"></Button>
|
|
57
|
+
</>
|
|
58
|
+
}
|
|
59
|
+
/>
|
|
60
|
+
}
|
|
61
|
+
{ showToolbar &&
|
|
62
|
+
<Toolbar className="k-chat-toolbar">
|
|
63
|
+
<Button className="k-scroll-button k-scroll-button-left k-hidden" fillMode="flat" rounded={null} size={null} icon="chevron-left"></Button>
|
|
64
|
+
<div className="k-toolbar-group k-button-list">
|
|
65
|
+
<Button fillMode="flat" icon="arrow-rotate-cw"></Button>
|
|
66
|
+
<Button fillMode="flat" icon="gear"></Button>
|
|
67
|
+
<Button fillMode="flat" icon="wrench"></Button>
|
|
68
|
+
<Button fillMode="flat" icon="plus"></Button>
|
|
69
|
+
<Button fillMode="flat" icon="search"></Button>
|
|
70
|
+
<Button fillMode="flat" icon="star"></Button>
|
|
71
|
+
<Button fillMode="flat" icon="bell"></Button>
|
|
72
|
+
<Button fillMode="flat" icon="question-circle"></Button>
|
|
73
|
+
<Button fillMode="flat" icon="trash"></Button>
|
|
74
|
+
</div>
|
|
75
|
+
<Button className="k-scroll-button k-scroll-button-right" fillMode="flat" rounded={null} size={null} icon="chevron-right"></Button>
|
|
76
|
+
</Toolbar>
|
|
77
|
+
}
|
|
78
|
+
</div>
|
|
79
|
+
|
|
80
|
+
);
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
Chat.states = states;
|
|
84
|
+
Chat.options = options;
|
|
85
|
+
Chat.className = CHAT_CLASSNAME;
|
|
86
|
+
Chat.defaultOptions = defaultOptions;
|
|
87
|
+
|
|
88
|
+
export default Chat;
|