@progress/kendo-themes-html 6.3.1-dev.0 → 6.4.0-dev.0
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/bottom-nav/bottom-nav-item.js +234 -0
- package/dist/bottom-nav/bottom-nav-item.js.map +7 -0
- package/dist/bottom-nav/bottom-nav.spec.js +122 -0
- package/dist/bottom-nav/bottom-nav.spec.js.map +7 -0
- package/dist/bottom-nav/tests/bottom-nav-colors.js +269 -358
- package/dist/bottom-nav/tests/bottom-nav-colors.js.map +4 -4
- package/dist/bottom-nav/tests/bottom-nav-items.js +168 -53
- package/dist/bottom-nav/tests/bottom-nav-items.js.map +4 -4
- package/dist/bottom-nav/tests/bottom-nav-rtl.js +153 -50
- package/dist/bottom-nav/tests/bottom-nav-rtl.js.map +4 -4
- package/dist/bottom-nav/tests/bottom-nav.js +167 -76
- package/dist/bottom-nav/tests/bottom-nav.js.map +4 -4
- package/dist/breadcrumb/breadcrumb-container.js +76 -0
- package/dist/breadcrumb/breadcrumb-container.js.map +7 -0
- package/dist/breadcrumb/breadcrumb-input-container.js +65 -0
- package/dist/breadcrumb/breadcrumb-input-container.js.map +7 -0
- package/dist/breadcrumb/breadcrumb-item-text.js +70 -0
- package/dist/breadcrumb/breadcrumb-item-text.js.map +7 -0
- package/dist/breadcrumb/breadcrumb-item.js +75 -0
- package/dist/breadcrumb/breadcrumb-item.js.map +7 -0
- package/dist/breadcrumb/breadcrumb-link.js +132 -0
- package/dist/breadcrumb/breadcrumb-link.js.map +7 -0
- package/dist/breadcrumb/breadcrumb-root-item-container.js +65 -0
- package/dist/breadcrumb/breadcrumb-root-item-container.js.map +7 -0
- package/dist/breadcrumb/breadcrumb.spec.js +125 -0
- package/dist/breadcrumb/breadcrumb.spec.js.map +7 -0
- package/dist/breadcrumb/tests/breadcrumb-rtl.js +349 -153
- package/dist/breadcrumb/tests/breadcrumb-rtl.js.map +4 -4
- package/dist/breadcrumb/tests/breadcrumb.js +349 -153
- package/dist/breadcrumb/tests/breadcrumb.js.map +4 -4
- package/dist/coloreditor/color-editor.spec.js +1586 -0
- package/dist/coloreditor/color-editor.spec.js.map +7 -0
- package/dist/coloreditor/tests/coloreditor-focused-colorgradient.js +821 -176
- package/dist/coloreditor/tests/coloreditor-focused-colorgradient.js.map +4 -4
- package/dist/coloreditor/tests/coloreditor-rtl.js +727 -265
- package/dist/coloreditor/tests/coloreditor-rtl.js.map +4 -4
- package/dist/coloreditor/tests/coloreditor-states.js +821 -176
- package/dist/coloreditor/tests/coloreditor-states.js.map +4 -4
- package/dist/coloreditor/tests/coloreditor-views.js +727 -265
- package/dist/coloreditor/tests/coloreditor-views.js.map +4 -4
- package/dist/coloreditor/tests/coloreditor.js +821 -176
- package/dist/coloreditor/tests/coloreditor.js.map +4 -4
- package/dist/colorgradient/color-contrast.js +199 -0
- package/dist/colorgradient/color-contrast.js.map +7 -0
- package/dist/colorgradient/color-gradient.spec.js +1246 -0
- package/dist/colorgradient/color-gradient.spec.js.map +7 -0
- package/dist/colorgradient/color-input.js +1029 -0
- package/dist/colorgradient/color-input.js.map +7 -0
- package/dist/colorgradient/tests/colorgradient-contrast.js +532 -155
- package/dist/colorgradient/tests/colorgradient-contrast.js.map +4 -4
- package/dist/colorgradient/tests/colorgradient-draghandle.js +536 -202
- package/dist/colorgradient/tests/colorgradient-draghandle.js.map +4 -4
- package/dist/colorgradient/tests/colorgradient-modes.js +433 -260
- package/dist/colorgradient/tests/colorgradient-modes.js.map +4 -4
- package/dist/colorgradient/tests/colorgradient-rtl.js +532 -155
- package/dist/colorgradient/tests/colorgradient-rtl.js.map +4 -4
- package/dist/colorgradient/tests/colorgradient-states.js +536 -132
- package/dist/colorgradient/tests/colorgradient-states.js.map +4 -4
- package/dist/colorgradient/tests/colorgradient.js +532 -132
- package/dist/colorgradient/tests/colorgradient.js.map +4 -4
- package/dist/colorpalette/colorpalette.spec.js +1 -1
- package/dist/colorpalette/colorpalette.spec.js.map +2 -2
- package/dist/colorpalette/tests/colorpalette-states.js +1 -1
- package/dist/colorpalette/tests/colorpalette-states.js.map +2 -2
- package/dist/colorpalette/tests/colorpalette-variants.js +1 -1
- package/dist/colorpalette/tests/colorpalette-variants.js.map +2 -2
- package/dist/colorpalette/tests/colorpalette.js +1 -1
- package/dist/colorpalette/tests/colorpalette.js.map +2 -2
- package/dist/colorpicker/tests/colorpicker-dropdown.js +757 -185
- package/dist/colorpicker/tests/colorpicker-dropdown.js.map +4 -4
- package/dist/editor/tests/editor-table-wizard.js +1984 -0
- package/dist/editor/tests/editor-table-wizard.js.map +7 -0
- package/dist/expansion-panel/expansion-panel.spec.js +253 -0
- package/dist/expansion-panel/expansion-panel.spec.js.map +7 -0
- package/dist/expansion-panel/tests/expansion-panel-rtl.js +100 -83
- package/dist/expansion-panel/tests/expansion-panel-rtl.js.map +4 -4
- package/dist/expansion-panel/tests/expansion-panel.js +100 -83
- package/dist/expansion-panel/tests/expansion-panel.js.map +4 -4
- package/dist/filemanager/tests/filemanager-contextmenu.js +492 -340
- package/dist/filemanager/tests/filemanager-contextmenu.js.map +4 -4
- package/dist/filemanager/tests/filemanager-drag-hint.js +468 -316
- package/dist/filemanager/tests/filemanager-drag-hint.js.map +4 -4
- package/dist/filemanager/tests/filemanager-gridview.js +533 -381
- package/dist/filemanager/tests/filemanager-gridview.js.map +4 -4
- package/dist/filemanager/tests/filemanager-listview.js +487 -335
- package/dist/filemanager/tests/filemanager-listview.js.map +4 -4
- package/dist/filemanager/tests/filemanager-preview.js +586 -434
- package/dist/filemanager/tests/filemanager-preview.js.map +4 -4
- package/dist/grid/tests/grid-column-menu-rtl.js +15 -15
- package/dist/grid/tests/grid-column-menu-rtl.js.map +2 -2
- package/dist/grid/tests/grid-column-menu.js +15 -15
- package/dist/grid/tests/grid-column-menu.js.map +2 -2
- package/dist/index.js +2131 -1244
- package/dist/index.js.map +4 -4
- package/dist/multiselecttree/multiselecttree.spec.js +1003 -0
- package/dist/multiselecttree/multiselecttree.spec.js.map +7 -0
- package/dist/multiselecttree/tests/multiselecttree-flat.js +1208 -0
- package/dist/multiselecttree/tests/multiselecttree-flat.js.map +7 -0
- package/dist/{editor/tests/editor-table-wizard-accessibility.js → multiselecttree/tests/multiselecttree-opened.js} +646 -645
- package/dist/multiselecttree/tests/multiselecttree-opened.js.map +7 -0
- package/dist/multiselecttree/tests/multiselecttree-outline.js +1208 -0
- package/dist/multiselecttree/tests/multiselecttree-outline.js.map +7 -0
- package/dist/multiselecttree/tests/multiselecttree-size.js +1107 -0
- package/dist/multiselecttree/tests/multiselecttree-size.js.map +7 -0
- package/dist/multiselecttree/tests/multiselecttree.js +1194 -0
- package/dist/multiselecttree/tests/multiselecttree.js.map +7 -0
- package/dist/pivotgrid/tests/pivotgrid-column-menus.js +8 -8
- package/dist/pivotgrid/tests/pivotgrid-column-menus.js.map +2 -2
- package/dist/scheduler/tests/scheduler-adaptive-agenda.js +6 -4
- package/dist/scheduler/tests/scheduler-adaptive-agenda.js.map +2 -2
- package/dist/scheduler/tests/scheduler-adaptive-day-resource-group.js +6 -4
- package/dist/scheduler/tests/scheduler-adaptive-day-resource-group.js.map +2 -2
- package/dist/scheduler/tests/scheduler-adaptive-day.js +6 -4
- package/dist/scheduler/tests/scheduler-adaptive-day.js.map +2 -2
- package/dist/scheduler/tests/scheduler-adaptive-month.js +6 -4
- package/dist/scheduler/tests/scheduler-adaptive-month.js.map +2 -2
- package/dist/scheduler/tests/scheduler-angular-agenda-rtl.js +8 -11
- package/dist/scheduler/tests/scheduler-angular-agenda-rtl.js.map +2 -2
- package/dist/scheduler/tests/scheduler-angular-agenda.js +8 -11
- package/dist/scheduler/tests/scheduler-angular-agenda.js.map +2 -2
- package/dist/scheduler/tests/scheduler-angular-day-rtl.js +8 -11
- package/dist/scheduler/tests/scheduler-angular-day-rtl.js.map +2 -2
- package/dist/scheduler/tests/scheduler-angular-month-rtl.js +8 -11
- package/dist/scheduler/tests/scheduler-angular-month-rtl.js.map +2 -2
- package/dist/scheduler/tests/scheduler-angular-month.js +8 -11
- package/dist/scheduler/tests/scheduler-angular-month.js.map +2 -2
- package/dist/scheduler/tests/scheduler-angular-rtl.js +8 -11
- package/dist/scheduler/tests/scheduler-angular-rtl.js.map +2 -2
- package/dist/scheduler/tests/scheduler-angular.js +8 -11
- package/dist/scheduler/tests/scheduler-angular.js.map +2 -2
- package/dist/scheduler/tests/scheduler-flex-layout.js +7 -10
- package/dist/scheduler/tests/scheduler-flex-layout.js.map +2 -2
- package/dist/scheduler/tests/scheduler-jquery-agenda.js +7 -10
- package/dist/scheduler/tests/scheduler-jquery-agenda.js.map +2 -2
- package/dist/scheduler/tests/scheduler-jquery-month.js +7 -10
- package/dist/scheduler/tests/scheduler-jquery-month.js.map +2 -2
- package/dist/scheduler/tests/scheduler-react-agenda.js +7 -10
- package/dist/scheduler/tests/scheduler-react-agenda.js.map +2 -2
- package/dist/scheduler/tests/scheduler-react-day.js +7 -10
- package/dist/scheduler/tests/scheduler-react-day.js.map +2 -2
- package/dist/scheduler/tests/scheduler-react-month.js +7 -10
- package/dist/scheduler/tests/scheduler-react-month.js.map +2 -2
- package/dist/scheduler/tests/scheduler-react-timeline-multi.js +7 -10
- package/dist/scheduler/tests/scheduler-react-timeline-multi.js.map +2 -2
- package/dist/scheduler/tests/scheduler-react-timeline.js +14 -20
- package/dist/scheduler/tests/scheduler-react-timeline.js.map +2 -2
- package/dist/scheduler/tests/scheduler-react-week.js +7 -10
- package/dist/scheduler/tests/scheduler-react-week.js.map +2 -2
- package/dist/scheduler/tests/scheduler-year.js +6 -9
- package/dist/scheduler/tests/scheduler-year.js.map +2 -2
- package/dist/scheduler/tests/scheduler.js +13 -19
- package/dist/scheduler/tests/scheduler.js.map +2 -2
- package/dist/slider/slider-tick.js +48 -0
- package/dist/slider/slider-tick.js.map +7 -0
- package/dist/slider/slider.spec.js +411 -0
- package/dist/slider/slider.spec.js.map +7 -0
- package/dist/slider/tests/slider-css-vars.js +300 -268
- package/dist/slider/tests/slider-css-vars.js.map +4 -4
- package/dist/slider/tests/slider-tick-absolute-position.js +155 -36
- package/dist/slider/tests/slider-tick-absolute-position.js.map +4 -4
- package/dist/slider/tests/slider.js +235 -209
- package/dist/slider/tests/slider.js.map +4 -4
- package/dist/spreadsheet/tests/spreadsheet-filter-menu.js +2 -2
- package/dist/spreadsheet/tests/spreadsheet-filter-menu.js.map +2 -2
- package/package.json +2 -2
- package/src/bottom-nav/bottom-nav-item.tsx +62 -0
- package/src/bottom-nav/bottom-nav.spec.tsx +76 -0
- package/src/bottom-nav/index.ts +2 -0
- package/src/bottom-nav/tests/bottom-nav-colors.tsx +109 -325
- package/src/bottom-nav/tests/bottom-nav-items.tsx +12 -22
- package/src/bottom-nav/tests/bottom-nav-rtl.tsx +13 -37
- package/src/bottom-nav/tests/bottom-nav.tsx +29 -77
- package/src/breadcrumb/breadcrumb-container.tsx +36 -0
- package/src/breadcrumb/breadcrumb-input-container.tsx +22 -0
- package/src/breadcrumb/breadcrumb-item-text.tsx +32 -0
- package/src/breadcrumb/breadcrumb-item.tsx +34 -0
- package/src/breadcrumb/breadcrumb-link.tsx +55 -0
- package/src/breadcrumb/breadcrumb-root-item-container.tsx +22 -0
- package/src/breadcrumb/breadcrumb.spec.tsx +55 -0
- package/src/breadcrumb/index.ts +7 -0
- package/src/breadcrumb/tests/breadcrumb-rtl.tsx +275 -231
- package/src/breadcrumb/tests/breadcrumb.tsx +274 -231
- package/src/coloreditor/color-editor.spec.tsx +93 -0
- package/src/coloreditor/index.ts +1 -0
- package/src/coloreditor/tests/coloreditor-focused-colorgradient.tsx +2 -76
- package/src/coloreditor/tests/coloreditor-rtl.tsx +3 -107
- package/src/coloreditor/tests/coloreditor-states.tsx +2 -77
- package/src/coloreditor/tests/coloreditor-views.tsx +3 -107
- package/src/coloreditor/tests/coloreditor.tsx +2 -77
- package/src/colorgradient/color-contrast.tsx +44 -0
- package/src/colorgradient/color-gradient.spec.tsx +102 -0
- package/src/colorgradient/color-input.tsx +123 -0
- package/src/colorgradient/index.ts +4 -0
- package/src/colorgradient/tests/colorgradient-contrast.tsx +2 -83
- package/src/colorgradient/tests/colorgradient-draghandle.tsx +4 -146
- package/src/colorgradient/tests/colorgradient-modes.tsx +6 -214
- package/src/colorgradient/tests/colorgradient-rtl.tsx +2 -74
- package/src/colorgradient/tests/colorgradient-states.tsx +14 -51
- package/src/colorgradient/tests/colorgradient.tsx +2 -55
- package/src/colorpalette/colorpalette.spec.tsx +5 -5
- package/src/colorpicker/tests/colorpicker-dropdown.tsx +7 -184
- package/src/editor/tests/editor-table-wizard.tsx +280 -0
- package/src/expansion-panel/expansion-panel.spec.tsx +86 -0
- package/src/expansion-panel/index.ts +1 -0
- package/src/expansion-panel/tests/expansion-panel-rtl.tsx +48 -111
- package/src/expansion-panel/tests/expansion-panel.tsx +49 -111
- package/src/filemanager/tests/filemanager-contextmenu.tsx +9 -8
- package/src/filemanager/tests/filemanager-drag-hint.tsx +9 -8
- package/src/filemanager/tests/filemanager-gridview.tsx +17 -16
- package/src/filemanager/tests/filemanager-listview.tsx +17 -16
- package/src/filemanager/tests/filemanager-preview.tsx +25 -24
- package/src/grid/tests/grid-column-menu-rtl.tsx +45 -15
- package/src/grid/tests/grid-column-menu.tsx +45 -15
- package/src/index.ts +7 -4
- package/src/multiselecttree/index.ts +1 -0
- package/src/multiselecttree/multiselecttree.spec.tsx +150 -0
- package/src/multiselecttree/tests/multiselecttree-flat.tsx +179 -0
- package/src/multiselecttree/tests/multiselecttree-opened.tsx +119 -0
- package/src/multiselecttree/tests/multiselecttree-outline.tsx +179 -0
- package/src/multiselecttree/tests/multiselecttree-size.tsx +54 -0
- package/src/multiselecttree/tests/multiselecttree.tsx +179 -0
- package/src/pivotgrid/tests/pivotgrid-column-menus.tsx +24 -8
- package/src/scheduler/tests/scheduler-adaptive-agenda.tsx +13 -14
- package/src/scheduler/tests/scheduler-adaptive-day-resource-group.tsx +13 -14
- package/src/scheduler/tests/scheduler-adaptive-day.tsx +13 -14
- package/src/scheduler/tests/scheduler-adaptive-month.tsx +13 -14
- package/src/scheduler/tests/scheduler-angular-agenda-rtl.tsx +13 -17
- package/src/scheduler/tests/scheduler-angular-agenda.tsx +13 -17
- package/src/scheduler/tests/scheduler-angular-day-rtl.tsx +13 -17
- package/src/scheduler/tests/scheduler-angular-month-rtl.tsx +13 -17
- package/src/scheduler/tests/scheduler-angular-month.tsx +13 -17
- package/src/scheduler/tests/scheduler-angular-rtl.tsx +13 -17
- package/src/scheduler/tests/scheduler-angular.tsx +13 -17
- package/src/scheduler/tests/scheduler-flex-layout.tsx +10 -14
- package/src/scheduler/tests/scheduler-jquery-agenda.tsx +10 -14
- package/src/scheduler/tests/scheduler-jquery-month.tsx +10 -14
- package/src/scheduler/tests/scheduler-react-agenda.tsx +10 -14
- package/src/scheduler/tests/scheduler-react-day.tsx +10 -14
- package/src/scheduler/tests/scheduler-react-month.tsx +10 -14
- package/src/scheduler/tests/scheduler-react-timeline-multi.tsx +10 -14
- package/src/scheduler/tests/scheduler-react-timeline.tsx +19 -28
- package/src/scheduler/tests/scheduler-react-week.tsx +10 -14
- package/src/scheduler/tests/scheduler-year.tsx +9 -13
- package/src/scheduler/tests/scheduler.tsx +20 -27
- package/src/slider/index.ts +2 -0
- package/src/slider/slider-tick.tsx +52 -0
- package/src/slider/slider.spec.tsx +120 -0
- package/src/slider/tests/slider-css-vars.tsx +185 -349
- package/src/slider/tests/slider-tick-absolute-position.tsx +40 -64
- package/src/slider/tests/slider.tsx +118 -262
- package/src/spreadsheet/tests/spreadsheet-filter-menu.tsx +6 -2
- package/dist/editor/tests/editor-table-wizard-accessibility.js.map +0 -7
- package/src/editor/tests/editor-table-wizard-accessibility.tsx +0 -69
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
import ReactDOM from 'react-dom/client';
|
|
2
|
+
import { Chip, ChipAction } from '../../chip';
|
|
3
|
+
import { MultiSelectTree } from '../../multiselecttree';
|
|
4
|
+
|
|
5
|
+
const root = ReactDOM.createRoot(
|
|
6
|
+
document.getElementById('app') as HTMLElement
|
|
7
|
+
);
|
|
8
|
+
|
|
9
|
+
const styles = `
|
|
10
|
+
#test-area {
|
|
11
|
+
grid-template-columns: 160px repeat(2, 300px);
|
|
12
|
+
}
|
|
13
|
+
`;
|
|
14
|
+
|
|
15
|
+
root.render(
|
|
16
|
+
<>
|
|
17
|
+
<style>{styles}</style>
|
|
18
|
+
<div id="test-area" className="k-d-grid">
|
|
19
|
+
|
|
20
|
+
<span></span>
|
|
21
|
+
<span>MultiSelectTree Flat</span>
|
|
22
|
+
<span>MultiSelectTree Flat RTL</span>
|
|
23
|
+
|
|
24
|
+
<div>Empty</div>
|
|
25
|
+
<div>
|
|
26
|
+
<MultiSelectTree fillMode="flat" placeholder="MultiSelectTree..." />
|
|
27
|
+
</div>
|
|
28
|
+
<div dir="rtl">
|
|
29
|
+
<MultiSelectTree fillMode="flat" placeholder="MultiSelectTree..." />
|
|
30
|
+
</div>
|
|
31
|
+
|
|
32
|
+
<div>Arrow button</div>
|
|
33
|
+
<div>
|
|
34
|
+
<MultiSelectTree fillMode="flat" showArrowButton placeholder="MultiSelectTree with arrow button" />
|
|
35
|
+
</div>
|
|
36
|
+
<div dir="rtl">
|
|
37
|
+
<MultiSelectTree fillMode="flat" showArrowButton placeholder="MultiSelectTree with arrow button" />
|
|
38
|
+
</div>
|
|
39
|
+
|
|
40
|
+
<div>Normal</div>
|
|
41
|
+
<div>
|
|
42
|
+
<MultiSelectTree fillMode="flat"
|
|
43
|
+
tags={(
|
|
44
|
+
<Chip text="Normal" actions={ <ChipAction type="remove"/> } />
|
|
45
|
+
)}
|
|
46
|
+
/>
|
|
47
|
+
</div>
|
|
48
|
+
<div dir="rtl">
|
|
49
|
+
<MultiSelectTree fillMode="flat"
|
|
50
|
+
tags={(
|
|
51
|
+
<Chip text="Normal" actions={ <ChipAction type="remove"/> } />
|
|
52
|
+
)}
|
|
53
|
+
/>
|
|
54
|
+
</div>
|
|
55
|
+
|
|
56
|
+
<div>Hover</div>
|
|
57
|
+
<div>
|
|
58
|
+
<MultiSelectTree fillMode="flat"
|
|
59
|
+
tags={(
|
|
60
|
+
<Chip text="Hover" actions={ <ChipAction type="remove"/> } />
|
|
61
|
+
)}
|
|
62
|
+
hover
|
|
63
|
+
/>
|
|
64
|
+
</div>
|
|
65
|
+
<div dir="rtl">
|
|
66
|
+
<MultiSelectTree fillMode="flat"
|
|
67
|
+
tags={(
|
|
68
|
+
<Chip text="Hover" actions={ <ChipAction type="remove"/> } />
|
|
69
|
+
)}
|
|
70
|
+
hover
|
|
71
|
+
/>
|
|
72
|
+
</div>
|
|
73
|
+
|
|
74
|
+
<div>Focus</div>
|
|
75
|
+
<div>
|
|
76
|
+
<MultiSelectTree fillMode="flat"
|
|
77
|
+
tags={(
|
|
78
|
+
<Chip text="Focus" focus actions={ <ChipAction type="remove"/> } />
|
|
79
|
+
)}
|
|
80
|
+
focus
|
|
81
|
+
/>
|
|
82
|
+
</div>
|
|
83
|
+
<div dir="rtl">
|
|
84
|
+
<MultiSelectTree fillMode="flat"
|
|
85
|
+
tags={(
|
|
86
|
+
<Chip text="Focus" focus actions={ <ChipAction type="remove"/> } />
|
|
87
|
+
)}
|
|
88
|
+
focus
|
|
89
|
+
/>
|
|
90
|
+
</div>
|
|
91
|
+
|
|
92
|
+
<div>Disabled</div>
|
|
93
|
+
<div>
|
|
94
|
+
<MultiSelectTree fillMode="flat"
|
|
95
|
+
tags={(
|
|
96
|
+
<Chip text="Disabled" actions={ <ChipAction type="remove"/> } />
|
|
97
|
+
)}
|
|
98
|
+
disabled
|
|
99
|
+
/>
|
|
100
|
+
</div>
|
|
101
|
+
<div dir="rtl">
|
|
102
|
+
<MultiSelectTree fillMode="flat"
|
|
103
|
+
tags={(
|
|
104
|
+
<Chip text="Disabled" actions={ <ChipAction type="remove"/> } />
|
|
105
|
+
)}
|
|
106
|
+
disabled
|
|
107
|
+
/>
|
|
108
|
+
</div>
|
|
109
|
+
|
|
110
|
+
<div>Invalid</div>
|
|
111
|
+
<div>
|
|
112
|
+
<MultiSelectTree fillMode="flat"
|
|
113
|
+
tags={(
|
|
114
|
+
<Chip text="Invalid" actions={ <ChipAction type="remove"/> } />
|
|
115
|
+
)}
|
|
116
|
+
invalid
|
|
117
|
+
/>
|
|
118
|
+
</div>
|
|
119
|
+
<div dir="rtl">
|
|
120
|
+
<MultiSelectTree fillMode="flat"
|
|
121
|
+
tags={(
|
|
122
|
+
<Chip text="Invalid" actions={ <ChipAction type="remove"/> } />
|
|
123
|
+
)}
|
|
124
|
+
invalid
|
|
125
|
+
/>
|
|
126
|
+
</div>
|
|
127
|
+
|
|
128
|
+
<div>Invalid + Focus</div>
|
|
129
|
+
<div>
|
|
130
|
+
<MultiSelectTree fillMode="flat"
|
|
131
|
+
tags={(
|
|
132
|
+
<Chip text="Invalid + Focus" actions={ <ChipAction type="remove"/> } />
|
|
133
|
+
)}
|
|
134
|
+
invalid
|
|
135
|
+
focus
|
|
136
|
+
/>
|
|
137
|
+
</div>
|
|
138
|
+
<div dir="rtl">
|
|
139
|
+
<MultiSelectTree fillMode="flat"
|
|
140
|
+
tags={(
|
|
141
|
+
<Chip text="Invalid + Focus" actions={ <ChipAction type="remove"/> } />
|
|
142
|
+
)}
|
|
143
|
+
invalid
|
|
144
|
+
focus
|
|
145
|
+
/>
|
|
146
|
+
</div>
|
|
147
|
+
|
|
148
|
+
<div>Loading</div>
|
|
149
|
+
<div>
|
|
150
|
+
<MultiSelectTree fillMode="flat" placeholder="Loading..." loading/>
|
|
151
|
+
</div>
|
|
152
|
+
<div dir="rtl">
|
|
153
|
+
<MultiSelectTree fillMode="flat" placeholder="Loading..." loading />
|
|
154
|
+
</div>
|
|
155
|
+
|
|
156
|
+
<div>Multi Line + Overflow</div>
|
|
157
|
+
<div>
|
|
158
|
+
<MultiSelectTree fillMode="flat"
|
|
159
|
+
tags={(
|
|
160
|
+
<>
|
|
161
|
+
<Chip text="Multi-line" actions={ <ChipAction type="remove"/> } />
|
|
162
|
+
<Chip text="Multi-line + Overflow with a very very very long text" actions={ <ChipAction type="remove"/> } />
|
|
163
|
+
</>
|
|
164
|
+
)}
|
|
165
|
+
/>
|
|
166
|
+
</div>
|
|
167
|
+
<div dir="rtl">
|
|
168
|
+
<MultiSelectTree fillMode="flat"
|
|
169
|
+
tags={(
|
|
170
|
+
<>
|
|
171
|
+
<Chip text="Multi-line" actions={ <ChipAction type="remove"/> } />
|
|
172
|
+
<Chip text="Multi-line + Overflow with a very very very long text" actions={ <ChipAction type="remove"/> } />
|
|
173
|
+
</>
|
|
174
|
+
)}
|
|
175
|
+
/>
|
|
176
|
+
</div>
|
|
177
|
+
</div>
|
|
178
|
+
</>
|
|
179
|
+
);
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import ReactDOM from 'react-dom/client';
|
|
2
|
+
import { Chip, ChipAction } from '../../chip';
|
|
3
|
+
import { MultiSelectTree } from '..';
|
|
4
|
+
import { Checkbox } from '../../checkbox';
|
|
5
|
+
import { Textbox } from '../../textbox';
|
|
6
|
+
import { Icon } from '../../icon';
|
|
7
|
+
import { Treeview, TreeviewGroup, TreeviewItem } from '../../treeview';
|
|
8
|
+
|
|
9
|
+
const root = ReactDOM.createRoot(
|
|
10
|
+
document.getElementById('app') as HTMLElement
|
|
11
|
+
);
|
|
12
|
+
|
|
13
|
+
const styles = `
|
|
14
|
+
#test-area {
|
|
15
|
+
grid-template-columns: 160px repeat(2, 300px);
|
|
16
|
+
}
|
|
17
|
+
`;
|
|
18
|
+
|
|
19
|
+
root.render(
|
|
20
|
+
<>
|
|
21
|
+
<style>{styles}</style>
|
|
22
|
+
<div id="test-area" className="k-d-grid">
|
|
23
|
+
|
|
24
|
+
<span></span>
|
|
25
|
+
<span>MultiSelectTree</span>
|
|
26
|
+
<span>MultiSelectTree RTL</span>
|
|
27
|
+
|
|
28
|
+
<div>Opened</div>
|
|
29
|
+
<div>
|
|
30
|
+
<MultiSelectTree opened
|
|
31
|
+
tags={(
|
|
32
|
+
<>
|
|
33
|
+
<Chip text="Furniture" actions={ <ChipAction type="remove"/> } />
|
|
34
|
+
</>
|
|
35
|
+
)}
|
|
36
|
+
popup={(
|
|
37
|
+
<>
|
|
38
|
+
<div className="k-list-filter">
|
|
39
|
+
<Textbox
|
|
40
|
+
prefix={
|
|
41
|
+
<>
|
|
42
|
+
<Icon name="search" />
|
|
43
|
+
</>
|
|
44
|
+
}
|
|
45
|
+
/>
|
|
46
|
+
</div>
|
|
47
|
+
<div className="k-check-all">
|
|
48
|
+
<Checkbox/>
|
|
49
|
+
<span className="k-checkbox-label">
|
|
50
|
+
Check all
|
|
51
|
+
</span>
|
|
52
|
+
</div>
|
|
53
|
+
<Treeview>
|
|
54
|
+
<TreeviewItem text="Furniture" showCheckbox checked>
|
|
55
|
+
<TreeviewGroup>
|
|
56
|
+
<TreeviewItem text="Child 1" showCheckbox />
|
|
57
|
+
<TreeviewItem text="Child 2" showCheckbox />
|
|
58
|
+
<TreeviewItem text="Child 3" showCheckbox />
|
|
59
|
+
</TreeviewGroup>
|
|
60
|
+
</TreeviewItem>
|
|
61
|
+
<TreeviewItem text="Decor" showCheckbox>
|
|
62
|
+
<TreeviewGroup>
|
|
63
|
+
<TreeviewItem text="Child 1" showCheckbox />
|
|
64
|
+
<TreeviewItem text="Child 2" showCheckbox />
|
|
65
|
+
<TreeviewItem text="Child 3" showCheckbox />
|
|
66
|
+
</TreeviewGroup>
|
|
67
|
+
</TreeviewItem>
|
|
68
|
+
</Treeview>
|
|
69
|
+
</>
|
|
70
|
+
)}
|
|
71
|
+
/>
|
|
72
|
+
</div>
|
|
73
|
+
<div dir="rtl">
|
|
74
|
+
<MultiSelectTree opened
|
|
75
|
+
tags={(
|
|
76
|
+
<>
|
|
77
|
+
<Chip text="Furniture" actions={ <ChipAction type="remove"/> } />
|
|
78
|
+
</>
|
|
79
|
+
)}
|
|
80
|
+
popup={(
|
|
81
|
+
<>
|
|
82
|
+
<div className="k-list-filter">
|
|
83
|
+
<Textbox
|
|
84
|
+
prefix={
|
|
85
|
+
<>
|
|
86
|
+
<Icon name="search" />
|
|
87
|
+
</>
|
|
88
|
+
}
|
|
89
|
+
/>
|
|
90
|
+
</div>
|
|
91
|
+
<div className="k-check-all">
|
|
92
|
+
<Checkbox/>
|
|
93
|
+
<span className="k-checkbox-label">
|
|
94
|
+
Check all
|
|
95
|
+
</span>
|
|
96
|
+
</div>
|
|
97
|
+
<Treeview>
|
|
98
|
+
<TreeviewItem text="Furniture" showCheckbox checked>
|
|
99
|
+
<TreeviewGroup>
|
|
100
|
+
<TreeviewItem text="Child 1" showCheckbox />
|
|
101
|
+
<TreeviewItem text="Child 2" showCheckbox />
|
|
102
|
+
<TreeviewItem text="Child 3" showCheckbox />
|
|
103
|
+
</TreeviewGroup>
|
|
104
|
+
</TreeviewItem>
|
|
105
|
+
<TreeviewItem text="Decor" showCheckbox>
|
|
106
|
+
<TreeviewGroup>
|
|
107
|
+
<TreeviewItem text="Child 1" showCheckbox />
|
|
108
|
+
<TreeviewItem text="Child 2" showCheckbox />
|
|
109
|
+
<TreeviewItem text="Child 3" showCheckbox />
|
|
110
|
+
</TreeviewGroup>
|
|
111
|
+
</TreeviewItem>
|
|
112
|
+
</Treeview>
|
|
113
|
+
</>
|
|
114
|
+
)}
|
|
115
|
+
/>
|
|
116
|
+
</div>
|
|
117
|
+
</div>
|
|
118
|
+
</>
|
|
119
|
+
);
|
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
import ReactDOM from 'react-dom/client';
|
|
2
|
+
import { Chip, ChipAction } from '../../chip';
|
|
3
|
+
import { MultiSelectTree } from '../../multiselecttree';
|
|
4
|
+
|
|
5
|
+
const root = ReactDOM.createRoot(
|
|
6
|
+
document.getElementById('app') as HTMLElement
|
|
7
|
+
);
|
|
8
|
+
|
|
9
|
+
const styles = `
|
|
10
|
+
#test-area {
|
|
11
|
+
grid-template-columns: 160px repeat(2, 300px);
|
|
12
|
+
}
|
|
13
|
+
`;
|
|
14
|
+
|
|
15
|
+
root.render(
|
|
16
|
+
<>
|
|
17
|
+
<style>{styles}</style>
|
|
18
|
+
<div id="test-area" className="k-d-grid">
|
|
19
|
+
|
|
20
|
+
<span></span>
|
|
21
|
+
<span>MultiSelectTree Outline</span>
|
|
22
|
+
<span>MultiSelectTree Outline RTL</span>
|
|
23
|
+
|
|
24
|
+
<div>Empty</div>
|
|
25
|
+
<div>
|
|
26
|
+
<MultiSelectTree fillMode="outline" placeholder="MultiSelectTree..." />
|
|
27
|
+
</div>
|
|
28
|
+
<div dir="rtl">
|
|
29
|
+
<MultiSelectTree fillMode="outline" placeholder="MultiSelectTree..." />
|
|
30
|
+
</div>
|
|
31
|
+
|
|
32
|
+
<div>Arrow button</div>
|
|
33
|
+
<div>
|
|
34
|
+
<MultiSelectTree fillMode="outline" showArrowButton placeholder="MultiSelectTree with arrow button" />
|
|
35
|
+
</div>
|
|
36
|
+
<div dir="rtl">
|
|
37
|
+
<MultiSelectTree fillMode="outline" showArrowButton placeholder="MultiSelectTree with arrow button" />
|
|
38
|
+
</div>
|
|
39
|
+
|
|
40
|
+
<div>Normal</div>
|
|
41
|
+
<div>
|
|
42
|
+
<MultiSelectTree fillMode="outline"
|
|
43
|
+
tags={(
|
|
44
|
+
<Chip text="Normal" actions={ <ChipAction type="remove"/> } />
|
|
45
|
+
)}
|
|
46
|
+
/>
|
|
47
|
+
</div>
|
|
48
|
+
<div dir="rtl">
|
|
49
|
+
<MultiSelectTree fillMode="outline"
|
|
50
|
+
tags={(
|
|
51
|
+
<Chip text="Normal" actions={ <ChipAction type="remove"/> } />
|
|
52
|
+
)}
|
|
53
|
+
/>
|
|
54
|
+
</div>
|
|
55
|
+
|
|
56
|
+
<div>Hover</div>
|
|
57
|
+
<div>
|
|
58
|
+
<MultiSelectTree fillMode="outline"
|
|
59
|
+
tags={(
|
|
60
|
+
<Chip text="Hover" actions={ <ChipAction type="remove"/> } />
|
|
61
|
+
)}
|
|
62
|
+
hover
|
|
63
|
+
/>
|
|
64
|
+
</div>
|
|
65
|
+
<div dir="rtl">
|
|
66
|
+
<MultiSelectTree fillMode="outline"
|
|
67
|
+
tags={(
|
|
68
|
+
<Chip text="Hover" actions={ <ChipAction type="remove"/> } />
|
|
69
|
+
)}
|
|
70
|
+
hover
|
|
71
|
+
/>
|
|
72
|
+
</div>
|
|
73
|
+
|
|
74
|
+
<div>Focus</div>
|
|
75
|
+
<div>
|
|
76
|
+
<MultiSelectTree fillMode="outline"
|
|
77
|
+
tags={(
|
|
78
|
+
<Chip text="Focus" focus actions={ <ChipAction type="remove"/> } />
|
|
79
|
+
)}
|
|
80
|
+
focus
|
|
81
|
+
/>
|
|
82
|
+
</div>
|
|
83
|
+
<div dir="rtl">
|
|
84
|
+
<MultiSelectTree fillMode="outline"
|
|
85
|
+
tags={(
|
|
86
|
+
<Chip text="Focus" focus actions={ <ChipAction type="remove"/> } />
|
|
87
|
+
)}
|
|
88
|
+
focus
|
|
89
|
+
/>
|
|
90
|
+
</div>
|
|
91
|
+
|
|
92
|
+
<div>Disabled</div>
|
|
93
|
+
<div>
|
|
94
|
+
<MultiSelectTree fillMode="outline"
|
|
95
|
+
tags={(
|
|
96
|
+
<Chip text="Disabled" actions={ <ChipAction type="remove"/> } />
|
|
97
|
+
)}
|
|
98
|
+
disabled
|
|
99
|
+
/>
|
|
100
|
+
</div>
|
|
101
|
+
<div dir="rtl">
|
|
102
|
+
<MultiSelectTree fillMode="outline"
|
|
103
|
+
tags={(
|
|
104
|
+
<Chip text="Disabled" actions={ <ChipAction type="remove"/> } />
|
|
105
|
+
)}
|
|
106
|
+
disabled
|
|
107
|
+
/>
|
|
108
|
+
</div>
|
|
109
|
+
|
|
110
|
+
<div>Invalid</div>
|
|
111
|
+
<div>
|
|
112
|
+
<MultiSelectTree fillMode="outline"
|
|
113
|
+
tags={(
|
|
114
|
+
<Chip text="Invalid" actions={ <ChipAction type="remove"/> } />
|
|
115
|
+
)}
|
|
116
|
+
invalid
|
|
117
|
+
/>
|
|
118
|
+
</div>
|
|
119
|
+
<div dir="rtl">
|
|
120
|
+
<MultiSelectTree fillMode="outline"
|
|
121
|
+
tags={(
|
|
122
|
+
<Chip text="Invalid" actions={ <ChipAction type="remove"/> } />
|
|
123
|
+
)}
|
|
124
|
+
invalid
|
|
125
|
+
/>
|
|
126
|
+
</div>
|
|
127
|
+
|
|
128
|
+
<div>Invalid + Focus</div>
|
|
129
|
+
<div>
|
|
130
|
+
<MultiSelectTree fillMode="outline"
|
|
131
|
+
tags={(
|
|
132
|
+
<Chip text="Invalid + Focus" actions={ <ChipAction type="remove"/> } />
|
|
133
|
+
)}
|
|
134
|
+
invalid
|
|
135
|
+
focus
|
|
136
|
+
/>
|
|
137
|
+
</div>
|
|
138
|
+
<div dir="rtl">
|
|
139
|
+
<MultiSelectTree fillMode="outline"
|
|
140
|
+
tags={(
|
|
141
|
+
<Chip text="Invalid + Focus" actions={ <ChipAction type="remove"/> } />
|
|
142
|
+
)}
|
|
143
|
+
invalid
|
|
144
|
+
focus
|
|
145
|
+
/>
|
|
146
|
+
</div>
|
|
147
|
+
|
|
148
|
+
<div>Loading</div>
|
|
149
|
+
<div>
|
|
150
|
+
<MultiSelectTree fillMode="outline" placeholder="Loading..." loading/>
|
|
151
|
+
</div>
|
|
152
|
+
<div dir="rtl">
|
|
153
|
+
<MultiSelectTree fillMode="outline" placeholder="Loading..." loading />
|
|
154
|
+
</div>
|
|
155
|
+
|
|
156
|
+
<div>Multi Line + Overflow</div>
|
|
157
|
+
<div>
|
|
158
|
+
<MultiSelectTree fillMode="outline"
|
|
159
|
+
tags={(
|
|
160
|
+
<>
|
|
161
|
+
<Chip text="Multi-line" actions={ <ChipAction type="remove"/> } />
|
|
162
|
+
<Chip text="Multi-line + Overflow with a very very very long text" actions={ <ChipAction type="remove"/> } />
|
|
163
|
+
</>
|
|
164
|
+
)}
|
|
165
|
+
/>
|
|
166
|
+
</div>
|
|
167
|
+
<div dir="rtl">
|
|
168
|
+
<MultiSelectTree fillMode="outline"
|
|
169
|
+
tags={(
|
|
170
|
+
<>
|
|
171
|
+
<Chip text="Multi-line" actions={ <ChipAction type="remove"/> } />
|
|
172
|
+
<Chip text="Multi-line + Overflow with a very very very long text" actions={ <ChipAction type="remove"/> } />
|
|
173
|
+
</>
|
|
174
|
+
)}
|
|
175
|
+
/>
|
|
176
|
+
</div>
|
|
177
|
+
</div>
|
|
178
|
+
</>
|
|
179
|
+
);
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import ReactDOM from 'react-dom/client';
|
|
2
|
+
import { Chip, ChipAction } from '../../chip';
|
|
3
|
+
import { MultiSelectTree } from '../../multiselecttree';
|
|
4
|
+
|
|
5
|
+
const root = ReactDOM.createRoot(
|
|
6
|
+
document.getElementById('app') as HTMLElement
|
|
7
|
+
);
|
|
8
|
+
|
|
9
|
+
const styles = `
|
|
10
|
+
#test-area {
|
|
11
|
+
max-width: 600px;
|
|
12
|
+
grid-template-columns: 120px repeat(1, 1fr);
|
|
13
|
+
}
|
|
14
|
+
`;
|
|
15
|
+
|
|
16
|
+
root.render(
|
|
17
|
+
<>
|
|
18
|
+
<style>{styles}</style>
|
|
19
|
+
<div id="test-area" className="k-d-grid k-grid-cols-3">
|
|
20
|
+
<span>small</span>
|
|
21
|
+
<MultiSelectTree
|
|
22
|
+
size="small"
|
|
23
|
+
tags={(
|
|
24
|
+
<>
|
|
25
|
+
<Chip text="Chip Text" size="small" actions={ <ChipAction type="remove"/> } />
|
|
26
|
+
<Chip text="Chip Text" size="small" actions={ <ChipAction type="remove"/> } />
|
|
27
|
+
</>
|
|
28
|
+
)}
|
|
29
|
+
/>
|
|
30
|
+
|
|
31
|
+
<span>medium</span>
|
|
32
|
+
<MultiSelectTree
|
|
33
|
+
size="medium"
|
|
34
|
+
tags={(
|
|
35
|
+
<>
|
|
36
|
+
<Chip text="Chip Text" size="medium" actions={ <ChipAction type="remove"/> } />
|
|
37
|
+
<Chip text="Chip Text" size="medium" actions={ <ChipAction type="remove"/> } />
|
|
38
|
+
</>
|
|
39
|
+
)}
|
|
40
|
+
/>
|
|
41
|
+
|
|
42
|
+
<span>large</span>
|
|
43
|
+
<MultiSelectTree
|
|
44
|
+
size="large"
|
|
45
|
+
tags={(
|
|
46
|
+
<>
|
|
47
|
+
<Chip text="Chip Text" size="large" actions={ <ChipAction type="remove"/> } />
|
|
48
|
+
<Chip text="Chip Text" size="large" actions={ <ChipAction type="remove"/> } />
|
|
49
|
+
</>
|
|
50
|
+
)}
|
|
51
|
+
/>
|
|
52
|
+
</div>
|
|
53
|
+
</>
|
|
54
|
+
);
|