@progress/kendo-themes-html 7.2.0 → 7.2.1-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/cjs/autocomplete/tests/autocomplete-prefix-suffix.js +1416 -910
- package/dist/cjs/combobox/tests/combobox-prefix-suffix.js +1416 -910
- package/dist/cjs/filemanager/file-info.js +1238 -1239
- package/dist/cjs/filemanager/filemanager-toolbar.spec.js +1 -1
- package/dist/cjs/filemanager/filemanager.spec.js +3481 -2163
- package/dist/cjs/filemanager/templates/filemanager-grid-preview.js +1238 -1239
- package/dist/cjs/filemanager/templates/filemanager-grid.js +1238 -1239
- package/dist/cjs/filemanager/templates/filemanager-normal.js +1238 -1239
- package/dist/cjs/filemanager/templates/filemanager-preview.js +1238 -1239
- package/dist/cjs/filemanager/tests/filemanager-contextmenu.js +1238 -1239
- package/dist/cjs/filemanager/tests/filemanager-drag-hint.js +1238 -1239
- package/dist/cjs/filemanager/tests/filemanager-gridview-preview.js +2540 -2034
- package/dist/cjs/filemanager/tests/filemanager-gridview.js +1238 -1239
- package/dist/cjs/filemanager/tests/filemanager-listview-preview.js +2494 -1988
- package/dist/cjs/filemanager/tests/filemanager-listview.js +1238 -1239
- package/dist/cjs/form/tests/form-field-dropdowns.js +1373 -909
- package/dist/cjs/grid/tests/grid-editing-custom-editor.js +1504 -998
- package/dist/cjs/index.js +3002 -2407
- package/dist/cjs/multiselect/templates/multiselect-prefix.js +1391 -885
- package/dist/cjs/multiselect/templates/multiselect-suffix.js +1391 -885
- package/dist/cjs/multiselect/tests/multiselect-adaptive.js +1397 -891
- package/dist/cjs/multiselect/tests/multiselect-flat.js +1421 -915
- package/dist/cjs/multiselect/tests/multiselect-grouping.js +1397 -891
- package/dist/cjs/multiselect/tests/multiselect-opened.js +1399 -893
- package/dist/cjs/multiselect/tests/multiselect-outline.js +1421 -915
- package/dist/cjs/multiselect/tests/multiselect-prefix-suffix.js +1428 -922
- package/dist/cjs/multiselect/tests/multiselect-size-rounded.js +1400 -894
- package/dist/cjs/multiselect/tests/multiselect-solid.js +1421 -915
- package/dist/cjs/scheduler/tests/scheduler-edit-dialog.js +1388 -924
- package/dist/cjs/scheduler/tests/scheduler-editing-weekly.js +1402 -938
- package/dist/cjs/stepper/index.js +4669 -0
- package/dist/cjs/stepper/step-list.js +68 -0
- package/dist/cjs/stepper/step.js +4426 -0
- package/dist/cjs/stepper/stepper.spec.js +62 -0
- package/dist/cjs/stepper/templates/stepper-normal.js +4650 -0
- package/dist/cjs/stepper/templates/stepper-vertical.js +4650 -0
- package/dist/cjs/stepper/tests/stepper-horizontal-rtl.js +262 -150
- package/dist/cjs/stepper/tests/stepper-states.js +247 -228
- package/dist/cjs/stepper/tests/stepper-vertical-rtl.js +255 -122
- package/dist/cjs/stepper/tests/stepper-vertical.js +369 -238
- package/dist/cjs/stepper/tests/stepper.js +275 -187
- package/dist/cjs/taskboard/taskboard-card.js +4675 -0
- package/dist/cjs/taskboard/taskboard-column.js +4524 -0
- package/dist/cjs/taskboard/taskboard-pane.js +17117 -0
- package/dist/cjs/taskboard/taskboard-toolbar.js +7892 -0
- package/dist/cjs/taskboard/taskboard.spec.js +17117 -0
- package/dist/cjs/taskboard/templates/taskboard-normal.js +17168 -0
- package/dist/cjs/taskboard/tests/taskboard-card.js +12075 -3113
- package/dist/cjs/taskboard/tests/taskboard-column.js +12575 -742
- package/dist/cjs/taskboard/tests/taskboard-pane.js +10350 -1770
- package/dist/cjs/taskboard/tests/taskboard-resources.js +12673 -323
- package/dist/cjs/taskboard/tests/taskboard-rtl.js +10165 -1191
- package/dist/cjs/taskboard/tests/taskboard.js +10165 -1182
- package/dist/cjs/wizard/templates/wizard-normal.js +4899 -0
- package/dist/cjs/wizard/templates/wizard-vertical.js +4900 -0
- package/dist/cjs/wizard/tests/wizard-horizontal.js +394 -321
- package/dist/cjs/wizard/tests/wizard-vertical.js +413 -445
- package/dist/cjs/wizard/wizard-step.js +4524 -0
- package/dist/cjs/wizard/wizard-steps.js +56 -0
- package/dist/cjs/wizard/wizard.spec.js +110 -0
- package/dist/esm/autocomplete/tests/autocomplete-prefix-suffix.js +1416 -910
- package/dist/esm/combobox/tests/combobox-prefix-suffix.js +1416 -910
- package/dist/esm/filemanager/file-info.js +1240 -1241
- package/dist/esm/filemanager/filemanager-toolbar.spec.js +1 -1
- package/dist/esm/filemanager/filemanager.spec.js +2923 -1605
- package/dist/esm/filemanager/templates/filemanager-grid-preview.js +1240 -1241
- package/dist/esm/filemanager/templates/filemanager-grid.js +1240 -1241
- package/dist/esm/filemanager/templates/filemanager-normal.js +1240 -1241
- package/dist/esm/filemanager/templates/filemanager-preview.js +1240 -1241
- package/dist/esm/filemanager/tests/filemanager-contextmenu.js +1240 -1241
- package/dist/esm/filemanager/tests/filemanager-drag-hint.js +1240 -1241
- package/dist/esm/filemanager/tests/filemanager-gridview-preview.js +2560 -2054
- package/dist/esm/filemanager/tests/filemanager-gridview.js +1240 -1241
- package/dist/esm/filemanager/tests/filemanager-listview-preview.js +2514 -2008
- package/dist/esm/filemanager/tests/filemanager-listview.js +1240 -1241
- package/dist/esm/form/tests/form-field-dropdowns.js +1373 -909
- package/dist/esm/grid/tests/grid-editing-custom-editor.js +1504 -998
- package/dist/esm/index.js +2988 -2393
- package/dist/esm/multiselect/templates/multiselect-prefix.js +1391 -885
- package/dist/esm/multiselect/templates/multiselect-suffix.js +1391 -885
- package/dist/esm/multiselect/tests/multiselect-adaptive.js +1397 -891
- package/dist/esm/multiselect/tests/multiselect-flat.js +1421 -915
- package/dist/esm/multiselect/tests/multiselect-grouping.js +1397 -891
- package/dist/esm/multiselect/tests/multiselect-opened.js +1399 -893
- package/dist/esm/multiselect/tests/multiselect-outline.js +1421 -915
- package/dist/esm/multiselect/tests/multiselect-prefix-suffix.js +1428 -922
- package/dist/esm/multiselect/tests/multiselect-size-rounded.js +1400 -894
- package/dist/esm/multiselect/tests/multiselect-solid.js +1421 -915
- package/dist/esm/scheduler/tests/scheduler-edit-dialog.js +1388 -924
- package/dist/esm/scheduler/tests/scheduler-editing-weekly.js +1402 -938
- package/dist/esm/stepper/index.js +4653 -0
- package/dist/esm/stepper/step-list.js +46 -0
- package/dist/esm/stepper/step.js +4410 -0
- package/dist/esm/stepper/stepper.spec.js +40 -0
- package/dist/esm/stepper/templates/stepper-normal.js +4634 -0
- package/dist/esm/stepper/templates/stepper-vertical.js +4634 -0
- package/dist/esm/stepper/tests/stepper-horizontal-rtl.js +262 -150
- package/dist/esm/stepper/tests/stepper-states.js +247 -228
- package/dist/esm/stepper/tests/stepper-vertical-rtl.js +255 -122
- package/dist/esm/stepper/tests/stepper-vertical.js +366 -235
- package/dist/esm/stepper/tests/stepper.js +275 -187
- package/dist/esm/taskboard/taskboard-card.js +4659 -0
- package/dist/esm/taskboard/taskboard-column.js +4508 -0
- package/dist/esm/taskboard/taskboard-pane.js +17091 -0
- package/dist/esm/taskboard/taskboard-toolbar.js +7876 -0
- package/dist/esm/taskboard/taskboard.spec.js +17091 -0
- package/dist/esm/taskboard/templates/taskboard-normal.js +17142 -0
- package/dist/esm/taskboard/tests/taskboard-card.js +11799 -2847
- package/dist/esm/taskboard/tests/taskboard-column.js +12548 -725
- package/dist/esm/taskboard/tests/taskboard-pane.js +10334 -1764
- package/dist/esm/taskboard/tests/taskboard-resources.js +12665 -325
- package/dist/esm/taskboard/tests/taskboard-rtl.js +10170 -1206
- package/dist/esm/taskboard/tests/taskboard.js +10170 -1197
- package/dist/esm/wizard/templates/wizard-normal.js +4883 -0
- package/dist/esm/wizard/templates/wizard-vertical.js +4884 -0
- package/dist/esm/wizard/tests/wizard-horizontal.js +392 -319
- package/dist/esm/wizard/tests/wizard-vertical.js +411 -443
- package/dist/esm/wizard/wizard-step.js +4508 -0
- package/dist/esm/wizard/wizard-steps.js +34 -0
- package/dist/esm/wizard/wizard.spec.js +88 -0
- package/dist/types/filemanager/index.d.ts +1 -1
- package/dist/types/index.d.ts +3 -0
- package/dist/types/stepper/index.d.ts +5 -0
- package/dist/types/stepper/step-list.d.ts +15 -0
- package/dist/types/stepper/step.d.ts +25 -0
- package/dist/types/stepper/stepper.spec.d.ts +13 -0
- package/dist/types/stepper/templates/stepper-normal.d.ts +1 -0
- package/dist/types/stepper/templates/stepper-vertical.d.ts +1 -0
- package/dist/types/taskboard/index.d.ts +6 -0
- package/dist/types/taskboard/taskboard-card.d.ts +13 -0
- package/dist/types/taskboard/taskboard-column.d.ts +20 -0
- package/dist/types/taskboard/taskboard-pane.d.ts +19 -0
- package/dist/types/taskboard/taskboard-toolbar.d.ts +10 -0
- package/dist/types/taskboard/taskboard.spec.d.ts +23 -0
- package/dist/types/taskboard/templates/taskboard-normal.d.ts +1 -0
- package/dist/types/wizard/index.d.ts +5 -0
- package/dist/types/wizard/templates/wizard-normal.d.ts +1 -0
- package/dist/types/wizard/templates/wizard-vertical.d.ts +1 -0
- package/dist/types/wizard/wizard-step.d.ts +19 -0
- package/dist/types/wizard/wizard-steps.d.ts +9 -0
- package/dist/types/wizard/wizard.spec.d.ts +20 -0
- package/package.json +2 -2
- package/src/filemanager/filemanager-toolbar.spec.tsx +1 -1
- package/src/filemanager/filemanager.spec.tsx +2 -2
- package/src/filemanager/index.ts +1 -1
- package/src/index.ts +3 -3
- package/src/stepper/index.tsx +5 -0
- package/src/stepper/step-list.tsx +49 -0
- package/src/stepper/step.tsx +129 -0
- package/src/stepper/stepper.spec.tsx +42 -0
- package/src/stepper/templates/stepper-normal.tsx +19 -0
- package/src/stepper/templates/stepper-vertical.tsx +19 -0
- package/src/stepper/tests/stepper-horizontal-rtl.tsx +30 -156
- package/src/stepper/tests/stepper-states.tsx +31 -411
- package/src/stepper/tests/stepper-vertical-rtl.tsx +28 -120
- package/src/stepper/tests/stepper-vertical.tsx +41 -157
- package/src/stepper/tests/stepper.tsx +42 -241
- package/src/taskboard/index.ts +6 -0
- package/src/taskboard/taskboard-card.tsx +48 -0
- package/src/taskboard/taskboard-column.tsx +70 -0
- package/src/taskboard/taskboard-pane.tsx +68 -0
- package/src/taskboard/taskboard-toolbar.tsx +39 -0
- package/src/taskboard/taskboard.spec.tsx +94 -0
- package/src/taskboard/templates/taskboard-normal.tsx +70 -0
- package/src/taskboard/tests/taskboard-card.tsx +55 -130
- package/src/taskboard/tests/taskboard-column.tsx +93 -164
- package/src/taskboard/tests/taskboard-pane.tsx +3 -235
- package/src/taskboard/tests/taskboard-resources.tsx +22 -42
- package/src/taskboard/tests/taskboard-rtl.tsx +3 -126
- package/src/taskboard/tests/taskboard.tsx +2 -116
- package/src/wizard/index.ts +5 -0
- package/src/wizard/templates/wizard-normal.tsx +19 -0
- package/src/wizard/templates/wizard-vertical.tsx +20 -0
- package/src/wizard/tests/wizard-horizontal.tsx +20 -304
- package/src/wizard/tests/wizard-vertical.tsx +38 -472
- package/src/wizard/wizard-step.tsx +69 -0
- package/src/wizard/wizard-steps.tsx +29 -0
- package/src/wizard/wizard.spec.tsx +55 -0
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
import { Button } from '../../button';
|
|
4
|
-
import { ProgressBarNormal } from '../../progressbar';
|
|
1
|
+
import { WizardVertical, WizardStep, WizardSteps } from '..';
|
|
2
|
+
import { StepperVertical } from '../../stepper';
|
|
5
3
|
|
|
6
4
|
|
|
7
5
|
const style = `
|
|
@@ -21,16 +19,6 @@ const style = `
|
|
|
21
19
|
}
|
|
22
20
|
`;
|
|
23
21
|
|
|
24
|
-
const stepperStyle = {
|
|
25
|
-
display: "grid",
|
|
26
|
-
gridTemplateRows: "repeat(3, 1fr)"
|
|
27
|
-
};
|
|
28
|
-
|
|
29
|
-
const stepListStyle = {
|
|
30
|
-
gridRowStart: "1",
|
|
31
|
-
gridRowEnd: "-1",
|
|
32
|
-
};
|
|
33
|
-
|
|
34
22
|
export default () =>(
|
|
35
23
|
<>
|
|
36
24
|
<style>{style}</style>
|
|
@@ -38,494 +26,72 @@ export default () =>(
|
|
|
38
26
|
<section>
|
|
39
27
|
<div className="wrapper">
|
|
40
28
|
<p>Vertical wizard; Content is placed to the right (Default)</p>
|
|
41
|
-
<
|
|
42
|
-
<
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
<span className="k-step-label">
|
|
50
|
-
<span className="k-step-text">Account Info with too long text</span>
|
|
51
|
-
<Icon icon="check"></Icon>
|
|
52
|
-
</span>
|
|
53
|
-
</a>
|
|
54
|
-
</li>
|
|
55
|
-
<li className="k-step k-step-current k-focus k-step-error" style={{ maxHeight: "33.333%" }}>
|
|
56
|
-
<a href="#" className="k-step-link">
|
|
57
|
-
<span className="k-step-indicator">
|
|
58
|
-
<span className="k-step-indicator-text">2</span>
|
|
59
|
-
</span>
|
|
60
|
-
<span className="k-step-label">
|
|
61
|
-
<span className="k-step-text">Personal Info</span>
|
|
62
|
-
<Icon className="k-validation-icon" icon="exclamation-circle"></Icon>
|
|
63
|
-
</span>
|
|
64
|
-
</a>
|
|
65
|
-
</li>
|
|
66
|
-
<li className="k-step k-step-last k-step-optional">
|
|
67
|
-
<a href="#" className="k-step-link" style={{ maxHeight: "33.333%" }}>
|
|
68
|
-
<span className="k-step-indicator">
|
|
69
|
-
<span className="k-step-indicator-text">3</span>
|
|
70
|
-
</span>
|
|
71
|
-
<span className="k-step-label">
|
|
72
|
-
<span className="k-step-text">Payment Details</span>
|
|
73
|
-
<span className="k-step-label-optional">(Optional)</span>
|
|
74
|
-
</span>
|
|
75
|
-
</a>
|
|
76
|
-
</li>
|
|
77
|
-
</ol>
|
|
78
|
-
<ProgressBarNormal orientation="vertical" label={false} reverse={true} value="50" />
|
|
79
|
-
</nav>
|
|
80
|
-
<div className="k-wizard-steps">
|
|
81
|
-
<div className="k-wizard-step k-focus">
|
|
82
|
-
<div className="k-wizard-content">
|
|
83
|
-
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.
|
|
84
|
-
</div>
|
|
85
|
-
<div className="k-wizard-buttons">
|
|
86
|
-
<span className="k-wizard-buttons-left">
|
|
87
|
-
<Button>Reset</Button>
|
|
88
|
-
<span className="k-wizard-pager">Step 1 of 2</span>
|
|
89
|
-
</span>
|
|
90
|
-
<span className="k-wizard-buttons-right">
|
|
91
|
-
<Button>Previous</Button>
|
|
92
|
-
<Button themeColor="primary">Next</Button>
|
|
93
|
-
</span>
|
|
94
|
-
</div>
|
|
95
|
-
</div>
|
|
96
|
-
</div>
|
|
97
|
-
</div>
|
|
29
|
+
<WizardVertical>
|
|
30
|
+
<StepperVertical />
|
|
31
|
+
<WizardSteps>
|
|
32
|
+
<WizardStep focus>
|
|
33
|
+
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.
|
|
34
|
+
</WizardStep>
|
|
35
|
+
</WizardSteps>
|
|
36
|
+
</WizardVertical>
|
|
98
37
|
</div>
|
|
99
38
|
|
|
100
39
|
<div className="wrapper">
|
|
101
40
|
<p>Small height set</p>
|
|
102
|
-
<
|
|
103
|
-
<
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
<span className="k-step-label">
|
|
111
|
-
<span className="k-step-text">Account Info with too long text</span>
|
|
112
|
-
<Icon icon="check"></Icon>
|
|
113
|
-
</span>
|
|
114
|
-
</a>
|
|
115
|
-
</li>
|
|
116
|
-
<li className="k-step k-step-current k-focus k-step-error" style={{ maxHeight: "33.333%" }}>
|
|
117
|
-
<a href="#" className="k-step-link">
|
|
118
|
-
<span className="k-step-indicator">
|
|
119
|
-
<span className="k-step-indicator-text">2</span>
|
|
120
|
-
</span>
|
|
121
|
-
<span className="k-step-label">
|
|
122
|
-
<span className="k-step-text">Personal Info</span>
|
|
123
|
-
<Icon className="k-validation-icon" icon="exclamation-circle"></Icon>
|
|
124
|
-
</span>
|
|
125
|
-
</a>
|
|
126
|
-
</li>
|
|
127
|
-
<li className="k-step k-step-last k-step-optional">
|
|
128
|
-
<a href="#" className="k-step-link" style={{ maxHeight: "33.333%" }}>
|
|
129
|
-
<span className="k-step-indicator">
|
|
130
|
-
<span className="k-step-indicator-text">3</span>
|
|
131
|
-
</span>
|
|
132
|
-
<span className="k-step-label">
|
|
133
|
-
<span className="k-step-text">Payment Details</span>
|
|
134
|
-
<span className="k-step-label-optional">(Optional)</span>
|
|
135
|
-
</span>
|
|
136
|
-
</a>
|
|
137
|
-
</li>
|
|
138
|
-
</ol>
|
|
139
|
-
<ProgressBarNormal orientation="vertical" label={false} reverse={true} value="50" />
|
|
140
|
-
</nav>
|
|
141
|
-
<div className="k-wizard-steps">
|
|
142
|
-
<div className="k-wizard-step">
|
|
143
|
-
<div className="k-wizard-content">
|
|
144
|
-
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.
|
|
145
|
-
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.
|
|
146
|
-
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.
|
|
147
|
-
</div>
|
|
148
|
-
<div className="k-wizard-buttons">
|
|
149
|
-
<span className="k-wizard-buttons-left">
|
|
150
|
-
<Button>Reset</Button>
|
|
151
|
-
<span className="k-wizard-pager">Step 1 of 2</span>
|
|
152
|
-
</span>
|
|
153
|
-
<span className="k-wizard-buttons-right">
|
|
154
|
-
<Button>Previous</Button>
|
|
155
|
-
<Button themeColor="primary">Next</Button>
|
|
156
|
-
</span>
|
|
157
|
-
</div>
|
|
158
|
-
</div>
|
|
159
|
-
</div>
|
|
160
|
-
</div>
|
|
41
|
+
<WizardVertical style={{ height: "200px" }}>
|
|
42
|
+
<StepperVertical />
|
|
43
|
+
<WizardSteps>
|
|
44
|
+
<WizardStep>
|
|
45
|
+
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.
|
|
46
|
+
</WizardStep>
|
|
47
|
+
</WizardSteps>
|
|
48
|
+
</WizardVertical>
|
|
161
49
|
</div>
|
|
162
50
|
|
|
163
51
|
<div className="wrapper">
|
|
164
52
|
<p>Short content</p>
|
|
165
|
-
<
|
|
166
|
-
<nav className="k-stepper k-widget" style={stepperStyle}>
|
|
167
|
-
<ol className="k-step-list k-step-list-vertical" style={stepListStyle}>
|
|
168
|
-
<li className="k-step k-step-first k-step-done k-step-success" style={{ maxHeight: "33.333%" }}>
|
|
169
|
-
<a href="#" className="k-step-link">
|
|
170
|
-
<span className="k-step-indicator">
|
|
171
|
-
<span className="k-step-indicator-text">1</span>
|
|
172
|
-
</span>
|
|
173
|
-
<span className="k-step-label">
|
|
174
|
-
<span className="k-step-text">Account Info with too long text</span>
|
|
175
|
-
<Icon icon="check"></Icon>
|
|
176
|
-
</span>
|
|
177
|
-
</a>
|
|
178
|
-
</li>
|
|
179
|
-
<li className="k-step k-step-current k-focus k-step-error" style={{ maxHeight: "33.333%" }}>
|
|
180
|
-
<a href="#" className="k-step-link">
|
|
181
|
-
<span className="k-step-indicator">
|
|
182
|
-
<span className="k-step-indicator-text">2</span>
|
|
183
|
-
</span>
|
|
184
|
-
<span className="k-step-label">
|
|
185
|
-
<span className="k-step-text">Personal Info</span>
|
|
186
|
-
<Icon className="k-validation-icon" icon="exclamation-circle"></Icon>
|
|
187
|
-
</span>
|
|
188
|
-
</a>
|
|
189
|
-
</li>
|
|
190
|
-
<li className="k-step k-step-last k-step-optional" style={{ maxHeight: "33.333%" }}>
|
|
191
|
-
<a href="#" className="k-step-link" >
|
|
192
|
-
<span className="k-step-indicator">
|
|
193
|
-
<span className="k-step-indicator-text">3</span>
|
|
194
|
-
</span>
|
|
195
|
-
<span className="k-step-label">
|
|
196
|
-
<span className="k-step-text">Payment Details</span>
|
|
197
|
-
<span className="k-step-label-optional">(Optional)</span>
|
|
198
|
-
</span>
|
|
199
|
-
</a>
|
|
200
|
-
</li>
|
|
201
|
-
</ol>
|
|
202
|
-
<ProgressBarNormal orientation="vertical" label={false} reverse={true} value="50" />
|
|
203
|
-
</nav>
|
|
204
|
-
<div className="k-wizard-steps">
|
|
205
|
-
<div className="k-wizard-step">
|
|
206
|
-
<div className="k-wizard-content">
|
|
207
|
-
Short content
|
|
208
|
-
</div>
|
|
209
|
-
<div className="k-wizard-buttons">
|
|
210
|
-
<span className="k-wizard-buttons-left">
|
|
211
|
-
<Button>Reset</Button>
|
|
212
|
-
<span className="k-wizard-pager">Step 1 of 2</span>
|
|
213
|
-
</span>
|
|
214
|
-
<span className="k-wizard-buttons-right">
|
|
215
|
-
<Button>Previous</Button>
|
|
216
|
-
<Button themeColor="primary">Next</Button>
|
|
217
|
-
</span>
|
|
218
|
-
</div>
|
|
219
|
-
</div>
|
|
220
|
-
</div>
|
|
221
|
-
</div>
|
|
53
|
+
<WizardVertical />
|
|
222
54
|
</div>
|
|
223
55
|
|
|
224
56
|
<div className="wrapper">
|
|
225
57
|
<p>Short content; Big height set</p>
|
|
226
|
-
<
|
|
227
|
-
<nav className="k-stepper k-widget" style={stepperStyle}>
|
|
228
|
-
<ol className="k-step-list k-step-list-vertical" style={stepListStyle}>
|
|
229
|
-
<li className="k-step k-step-first k-step-done k-step-success" style={{ maxHeight: "33.333%" }}>
|
|
230
|
-
<a href="#" className="k-step-link">
|
|
231
|
-
<span className="k-step-indicator">
|
|
232
|
-
<span className="k-step-indicator-text">1</span>
|
|
233
|
-
</span>
|
|
234
|
-
<span className="k-step-label">
|
|
235
|
-
<span className="k-step-text">Account Info with too long text</span>
|
|
236
|
-
<Icon icon="check"></Icon>
|
|
237
|
-
</span>
|
|
238
|
-
</a>
|
|
239
|
-
</li>
|
|
240
|
-
<li className="k-step k-step-current k-focus k-step-error" style={{ maxHeight: "33.333%" }}>
|
|
241
|
-
<a href="#" className="k-step-link">
|
|
242
|
-
<span className="k-step-indicator">
|
|
243
|
-
<span className="k-step-indicator-text">2</span>
|
|
244
|
-
</span>
|
|
245
|
-
<span className="k-step-label">
|
|
246
|
-
<span className="k-step-text">Personal Info</span>
|
|
247
|
-
<Icon className="k-validation-icon" icon="exclamation-circle"></Icon>
|
|
248
|
-
</span>
|
|
249
|
-
</a>
|
|
250
|
-
</li>
|
|
251
|
-
<li className="k-step k-step-last k-step-optional" style={{ maxHeight: "33.333%" }}>
|
|
252
|
-
<a href="#" className="k-step-link" >
|
|
253
|
-
<span className="k-step-indicator">
|
|
254
|
-
<span className="k-step-indicator-text">3</span>
|
|
255
|
-
</span>
|
|
256
|
-
<span className="k-step-label">
|
|
257
|
-
<span className="k-step-text">Payment Details</span>
|
|
258
|
-
<span className="k-step-label-optional">(Optional)</span>
|
|
259
|
-
</span>
|
|
260
|
-
</a>
|
|
261
|
-
</li>
|
|
262
|
-
</ol>
|
|
263
|
-
<ProgressBarNormal orientation="vertical" label={false} reverse={true} value="50" />
|
|
264
|
-
</nav>
|
|
265
|
-
<div className="k-wizard-steps">
|
|
266
|
-
<div className="k-wizard-step">
|
|
267
|
-
<div className="k-wizard-content">
|
|
268
|
-
Short content
|
|
269
|
-
</div>
|
|
270
|
-
<div className="k-wizard-buttons">
|
|
271
|
-
<span className="k-wizard-buttons-left">
|
|
272
|
-
<Button>Reset</Button>
|
|
273
|
-
<span className="k-wizard-pager">Step 1 of 2</span>
|
|
274
|
-
</span>
|
|
275
|
-
<span className="k-wizard-buttons-right">
|
|
276
|
-
<Button>Previous</Button>
|
|
277
|
-
<Button themeColor="primary">Next</Button>
|
|
278
|
-
</span>
|
|
279
|
-
</div>
|
|
280
|
-
</div>
|
|
281
|
-
</div>
|
|
282
|
-
</div>
|
|
58
|
+
<WizardVertical style={{ height: "280px" }} />
|
|
283
59
|
</div>
|
|
284
60
|
</section>
|
|
285
61
|
|
|
286
62
|
<section>
|
|
287
63
|
<div className="wrapper">
|
|
288
64
|
<p>Vertical wizard; Content is placed to the left</p>
|
|
289
|
-
<
|
|
290
|
-
<
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
<span className="k-step-label">
|
|
298
|
-
<span className="k-step-text">Account Info with too long text</span>
|
|
299
|
-
<Icon icon="check"></Icon>
|
|
300
|
-
</span>
|
|
301
|
-
</a>
|
|
302
|
-
</li>
|
|
303
|
-
<li className="k-step k-step-current k-focus k-step-error" style={{ maxHeight: "33.333%" }}>
|
|
304
|
-
<a href="#" className="k-step-link">
|
|
305
|
-
<span className="k-step-indicator">
|
|
306
|
-
<span className="k-step-indicator-text">2</span>
|
|
307
|
-
</span>
|
|
308
|
-
<span className="k-step-label">
|
|
309
|
-
<span className="k-step-text">Personal Info</span>
|
|
310
|
-
<Icon className="k-validation-icon" icon="exclamation-circle"></Icon>
|
|
311
|
-
</span>
|
|
312
|
-
</a>
|
|
313
|
-
</li>
|
|
314
|
-
<li className="k-step k-step-last k-step-optional" style={{ maxHeight: "33.333%" }}>
|
|
315
|
-
<a href="#" className="k-step-link" >
|
|
316
|
-
<span className="k-step-indicator">
|
|
317
|
-
<span className="k-step-indicator-text">3</span>
|
|
318
|
-
</span>
|
|
319
|
-
<span className="k-step-label">
|
|
320
|
-
<span className="k-step-text">Payment Details</span>
|
|
321
|
-
<span className="k-step-label-optional">(Optional)</span>
|
|
322
|
-
</span>
|
|
323
|
-
</a>
|
|
324
|
-
</li>
|
|
325
|
-
</ol>
|
|
326
|
-
<ProgressBarNormal orientation="vertical" label={false} reverse={true} value="50" />
|
|
327
|
-
</nav>
|
|
328
|
-
<div className="k-wizard-steps">
|
|
329
|
-
<div className="k-wizard-step">
|
|
330
|
-
<div className="k-wizard-content">
|
|
331
|
-
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.
|
|
332
|
-
</div>
|
|
333
|
-
<div className="k-wizard-buttons">
|
|
334
|
-
<span className="k-wizard-buttons-left">
|
|
335
|
-
<Button>Reset</Button>
|
|
336
|
-
<span className="k-wizard-pager">Step 1 of 2</span>
|
|
337
|
-
</span>
|
|
338
|
-
<span className="k-wizard-buttons-right">
|
|
339
|
-
<Button>Previous</Button>
|
|
340
|
-
<Button themeColor="primary">Next</Button>
|
|
341
|
-
</span>
|
|
342
|
-
</div>
|
|
343
|
-
</div>
|
|
344
|
-
</div>
|
|
345
|
-
</div>
|
|
65
|
+
<WizardVertical contentPosition="left">
|
|
66
|
+
<StepperVertical />
|
|
67
|
+
<WizardSteps>
|
|
68
|
+
<WizardStep focus>
|
|
69
|
+
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.
|
|
70
|
+
</WizardStep>
|
|
71
|
+
</WizardSteps>
|
|
72
|
+
</WizardVertical>
|
|
346
73
|
</div>
|
|
347
74
|
|
|
348
75
|
<div className="wrapper">
|
|
349
76
|
<p>Small height set</p>
|
|
350
|
-
<
|
|
351
|
-
<
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
<span className="k-step-label">
|
|
359
|
-
<span className="k-step-text">Account Info with too long text</span>
|
|
360
|
-
<Icon icon="check"></Icon>
|
|
361
|
-
</span>
|
|
362
|
-
</a>
|
|
363
|
-
</li>
|
|
364
|
-
<li className="k-step k-step-current k-focus k-step-error" style={{ maxHeight: "33.333%" }}>
|
|
365
|
-
<a href="#" className="k-step-link">
|
|
366
|
-
<span className="k-step-indicator">
|
|
367
|
-
<span className="k-step-indicator-text">2</span>
|
|
368
|
-
</span>
|
|
369
|
-
<span className="k-step-label">
|
|
370
|
-
<span className="k-step-text">Personal Info</span>
|
|
371
|
-
<Icon className="k-validation-icon" icon="exclamation-circle"></Icon>
|
|
372
|
-
</span>
|
|
373
|
-
</a>
|
|
374
|
-
</li>
|
|
375
|
-
<li className="k-step k-step-last k-step-optional" style={{ maxHeight: "33.333%" }}>
|
|
376
|
-
<a href="#" className="k-step-link" >
|
|
377
|
-
<span className="k-step-indicator">
|
|
378
|
-
<span className="k-step-indicator-text">3</span>
|
|
379
|
-
</span>
|
|
380
|
-
<span className="k-step-label">
|
|
381
|
-
<span className="k-step-text">Payment Details</span>
|
|
382
|
-
<span className="k-step-label-optional">(Optional)</span>
|
|
383
|
-
</span>
|
|
384
|
-
</a>
|
|
385
|
-
</li>
|
|
386
|
-
</ol>
|
|
387
|
-
<ProgressBarNormal orientation="vertical" label={false} reverse={true} value="50" />
|
|
388
|
-
</nav>
|
|
389
|
-
<div className="k-wizard-steps">
|
|
390
|
-
<div className="k-wizard-step">
|
|
391
|
-
<div className="k-wizard-content">
|
|
392
|
-
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.
|
|
393
|
-
</div>
|
|
394
|
-
<div className="k-wizard-buttons">
|
|
395
|
-
<span className="k-wizard-buttons-left">
|
|
396
|
-
<Button>Reset</Button>
|
|
397
|
-
<span className="k-wizard-pager">Step 1 of 2</span>
|
|
398
|
-
</span>
|
|
399
|
-
<span className="k-wizard-buttons-right">
|
|
400
|
-
<Button>Previous</Button>
|
|
401
|
-
<Button themeColor="primary">Next</Button>
|
|
402
|
-
</span>
|
|
403
|
-
</div>
|
|
404
|
-
</div>
|
|
405
|
-
</div>
|
|
406
|
-
</div>
|
|
77
|
+
<WizardVertical contentPosition="left" style={{ height: "200px" }}>
|
|
78
|
+
<StepperVertical />
|
|
79
|
+
<WizardSteps>
|
|
80
|
+
<WizardStep>
|
|
81
|
+
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.
|
|
82
|
+
</WizardStep>
|
|
83
|
+
</WizardSteps>
|
|
84
|
+
</WizardVertical>
|
|
407
85
|
</div>
|
|
408
86
|
|
|
409
87
|
<div className="wrapper">
|
|
410
88
|
<p>Short content</p>
|
|
411
|
-
<
|
|
412
|
-
<nav className="k-stepper k-widget" style={stepperStyle}>
|
|
413
|
-
<ol className="k-step-list k-step-list-vertical" style={stepListStyle}>
|
|
414
|
-
<li className="k-step k-step-first k-step-done k-step-success" style={{ maxHeight: "33.333%" }}>
|
|
415
|
-
<a href="#" className="k-step-link">
|
|
416
|
-
<span className="k-step-indicator">
|
|
417
|
-
<span className="k-step-indicator-text">1</span>
|
|
418
|
-
</span>
|
|
419
|
-
<span className="k-step-label">
|
|
420
|
-
<span className="k-step-text">Account Info with too long text</span>
|
|
421
|
-
<Icon icon="check"></Icon>
|
|
422
|
-
</span>
|
|
423
|
-
</a>
|
|
424
|
-
</li>
|
|
425
|
-
<li className="k-step k-step-current k-focus k-step-error" style={{ maxHeight: "33.333%" }}>
|
|
426
|
-
<a href="#" className="k-step-link">
|
|
427
|
-
<span className="k-step-indicator">
|
|
428
|
-
<span className="k-step-indicator-text">2</span>
|
|
429
|
-
</span>
|
|
430
|
-
<span className="k-step-label">
|
|
431
|
-
<span className="k-step-text">Personal Info</span>
|
|
432
|
-
<Icon className="k-validation-icon" icon="exclamation-circle"></Icon>
|
|
433
|
-
</span>
|
|
434
|
-
</a>
|
|
435
|
-
</li>
|
|
436
|
-
<li className="k-step k-step-last k-step-optional" style={{ maxHeight: "33.333%" }}>
|
|
437
|
-
<a href="#" className="k-step-link" >
|
|
438
|
-
<span className="k-step-indicator">
|
|
439
|
-
<span className="k-step-indicator-text">3</span>
|
|
440
|
-
</span>
|
|
441
|
-
<span className="k-step-label">
|
|
442
|
-
<span className="k-step-text">Payment Details</span>
|
|
443
|
-
<span className="k-step-label-optional">(Optional)</span>
|
|
444
|
-
</span>
|
|
445
|
-
</a>
|
|
446
|
-
</li>
|
|
447
|
-
</ol>
|
|
448
|
-
<ProgressBarNormal orientation="vertical" label={false} reverse={true} value="50" />
|
|
449
|
-
</nav>
|
|
450
|
-
<div className="k-wizard-steps">
|
|
451
|
-
<div className="k-wizard-step">
|
|
452
|
-
<div className="k-wizard-content">
|
|
453
|
-
Short content
|
|
454
|
-
</div>
|
|
455
|
-
<div className="k-wizard-buttons">
|
|
456
|
-
<span className="k-wizard-buttons-left">
|
|
457
|
-
<Button>Reset</Button>
|
|
458
|
-
<span className="k-wizard-pager">Step 1 of 2</span>
|
|
459
|
-
</span>
|
|
460
|
-
<span className="k-wizard-buttons-right">
|
|
461
|
-
<Button>Previous</Button>
|
|
462
|
-
<Button themeColor="primary">Next</Button>
|
|
463
|
-
</span>
|
|
464
|
-
</div>
|
|
465
|
-
</div>
|
|
466
|
-
</div>
|
|
467
|
-
</div>
|
|
89
|
+
<WizardVertical contentPosition="left" />
|
|
468
90
|
</div>
|
|
469
91
|
|
|
470
92
|
<div className="wrapper">
|
|
471
93
|
<p>Short content; Big height set</p>
|
|
472
|
-
<
|
|
473
|
-
<nav className="k-stepper k-widget" style={stepperStyle}>
|
|
474
|
-
<ol className="k-step-list k-step-list-vertical" style={stepListStyle}>
|
|
475
|
-
<li className="k-step k-step-first k-step-done k-step-success" style={{ maxHeight: "33.333%" }}>
|
|
476
|
-
<a href="#" className="k-step-link">
|
|
477
|
-
<span className="k-step-indicator">
|
|
478
|
-
<span className="k-step-indicator-text">1</span>
|
|
479
|
-
</span>
|
|
480
|
-
<span className="k-step-label">
|
|
481
|
-
<span className="k-step-text">Account Info with too long text</span>
|
|
482
|
-
<Icon icon="check"></Icon>
|
|
483
|
-
</span>
|
|
484
|
-
</a>
|
|
485
|
-
</li>
|
|
486
|
-
<li className="k-step k-step-current k-focus k-step-error" style={{ maxHeight: "33.333%" }}>
|
|
487
|
-
<a href="#" className="k-step-link">
|
|
488
|
-
<span className="k-step-indicator">
|
|
489
|
-
<span className="k-step-indicator-text">2</span>
|
|
490
|
-
</span>
|
|
491
|
-
<span className="k-step-label">
|
|
492
|
-
<span className="k-step-text">Personal Info</span>
|
|
493
|
-
<Icon className="k-validation-icon" icon="exclamation-circle"></Icon>
|
|
494
|
-
</span>
|
|
495
|
-
</a>
|
|
496
|
-
</li>
|
|
497
|
-
<li className="k-step k-step-last k-step-optional" style={{ maxHeight: "33.333%" }}>
|
|
498
|
-
<a href="#" className="k-step-link" >
|
|
499
|
-
<span className="k-step-indicator">
|
|
500
|
-
<span className="k-step-indicator-text">3</span>
|
|
501
|
-
</span>
|
|
502
|
-
<span className="k-step-label">
|
|
503
|
-
<span className="k-step-text">Payment Details</span>
|
|
504
|
-
<span className="k-step-label-optional">(Optional)</span>
|
|
505
|
-
</span>
|
|
506
|
-
</a>
|
|
507
|
-
</li>
|
|
508
|
-
</ol>
|
|
509
|
-
<ProgressBarNormal orientation="vertical" label={false} reverse={true} value="50" />
|
|
510
|
-
</nav>
|
|
511
|
-
<div className="k-wizard-steps">
|
|
512
|
-
<div className="k-wizard-step">
|
|
513
|
-
<div className="k-wizard-content">
|
|
514
|
-
Short content
|
|
515
|
-
</div>
|
|
516
|
-
<div className="k-wizard-buttons">
|
|
517
|
-
<span className="k-wizard-buttons-left">
|
|
518
|
-
<Button>Reset</Button>
|
|
519
|
-
<span className="k-wizard-pager">Step 1 of 2</span>
|
|
520
|
-
</span>
|
|
521
|
-
<span className="k-wizard-buttons-right">
|
|
522
|
-
<Button>Previous</Button>
|
|
523
|
-
<Button themeColor="primary">Next</Button>
|
|
524
|
-
</span>
|
|
525
|
-
</div>
|
|
526
|
-
</div>
|
|
527
|
-
</div>
|
|
528
|
-
</div>
|
|
94
|
+
<WizardVertical contentPosition="left" style={{ height: "280px" }} />
|
|
529
95
|
</div>
|
|
530
96
|
</section>
|
|
531
97
|
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { Button } from '../button';
|
|
2
|
+
import { classNames, stateClassNames, States } from '../misc';
|
|
3
|
+
|
|
4
|
+
export const WIZZARDSTEP_CLASSNAME = `k-wizard-step`;
|
|
5
|
+
|
|
6
|
+
const states = [
|
|
7
|
+
States.focus,
|
|
8
|
+
];
|
|
9
|
+
|
|
10
|
+
const options = {};
|
|
11
|
+
|
|
12
|
+
export type KendoWizardStepProps = {
|
|
13
|
+
buttons?: JSX.Element;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
export type KendoWizardStepState = { [K in (typeof states)[number]]?: boolean };
|
|
17
|
+
|
|
18
|
+
const defaultProps = {
|
|
19
|
+
buttons: (
|
|
20
|
+
<>
|
|
21
|
+
<span className="k-wizard-buttons-left">
|
|
22
|
+
<Button>Reset</Button>
|
|
23
|
+
<span className="k-wizard-pager">Step 1 of 2</span>
|
|
24
|
+
</span>
|
|
25
|
+
<span className="k-wizard-buttons-right">
|
|
26
|
+
<Button>Previous</Button>
|
|
27
|
+
<Button themeColor="primary">Next</Button>
|
|
28
|
+
</span>
|
|
29
|
+
</>
|
|
30
|
+
),
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
export const WizardStep = (
|
|
34
|
+
props: KendoWizardStepProps & KendoWizardStepState & React.HTMLAttributes<HTMLDivElement>
|
|
35
|
+
) => {
|
|
36
|
+
const {
|
|
37
|
+
focus,
|
|
38
|
+
buttons,
|
|
39
|
+
...other
|
|
40
|
+
} = props;
|
|
41
|
+
|
|
42
|
+
return (
|
|
43
|
+
<div
|
|
44
|
+
{...other}
|
|
45
|
+
className={classNames(
|
|
46
|
+
props.className,
|
|
47
|
+
WIZZARDSTEP_CLASSNAME,
|
|
48
|
+
stateClassNames(WIZZARDSTEP_CLASSNAME, { focus }),
|
|
49
|
+
)}>
|
|
50
|
+
|
|
51
|
+
<div className="k-wizard-content">
|
|
52
|
+
{props.children}
|
|
53
|
+
</div>
|
|
54
|
+
|
|
55
|
+
{buttons &&
|
|
56
|
+
<div className="k-wizard-buttons">
|
|
57
|
+
{buttons}
|
|
58
|
+
</div>
|
|
59
|
+
}
|
|
60
|
+
</div>
|
|
61
|
+
);
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
WizardStep.states = states;
|
|
65
|
+
WizardStep.options = options;
|
|
66
|
+
WizardStep.className = WIZZARDSTEP_CLASSNAME;
|
|
67
|
+
WizardStep.defaultProps = defaultProps;
|
|
68
|
+
|
|
69
|
+
export default WizardStep;
|