@progress/kendo-themes-html 14.7.1-dev.3 → 14.7.1-dev.4
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/datainsights-composer/demos/datainsights-composer.js +1 -1
- package/dist/cjs/datainsights-composer/templates/datainsights-composer-data-source-browser-popup.js +1 -1
- package/dist/cjs/datainsights-composer/templates/datainsights-composer-data-source-fields-popup.js +1 -1
- package/dist/cjs/datainsights-composer/templates/datainsights-composer-error.js +1 -1
- package/dist/cjs/datainsights-composer/templates/datainsights-composer-followup.js +1 -1
- package/dist/cjs/datainsights-composer/templates/datainsights-composer-history-popup.js +1 -1
- package/dist/cjs/datainsights-composer/templates/datainsights-composer-loading.js +1 -1
- package/dist/cjs/datainsights-composer/templates/datainsights-composer-prompt-many-data-sources.js +1 -1
- package/dist/cjs/datainsights-composer/templates/datainsights-composer-prompt.js +1 -1
- package/dist/cjs/datainsights-composer/templates/datainsights-composer-report-edit-panel.js +1 -1
- package/dist/cjs/datainsights-composer/templates/datainsights-composer-report.js +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/esm/datainsights-composer/templates/datainsights-composer-data-source-browser-popup.mjs +1 -1
- package/dist/esm/datainsights-composer/templates/datainsights-composer-data-source-fields-popup.mjs +1 -1
- package/dist/esm/index.mjs +1 -1
- package/dist/meta/action-sheet.json +86 -0
- package/dist/meta/agent-response.json +174 -0
- package/dist/meta/appbar.json +42 -0
- package/dist/meta/autocomplete.json +163 -0
- package/dist/meta/avatar.json +86 -0
- package/dist/meta/badge.json +74 -0
- package/dist/meta/bottom-nav.json +113 -0
- package/dist/meta/breadcrumb.json +86 -0
- package/dist/meta/button-group.json +82 -0
- package/dist/meta/button.json +125 -0
- package/dist/meta/calendar.json +196 -0
- package/dist/meta/captcha.json +69 -0
- package/dist/meta/card.json +88 -0
- package/dist/meta/chart-wizard.json +43 -0
- package/dist/meta/chart.json +128 -0
- package/dist/meta/chat.json +87 -0
- package/dist/meta/checkbox.json +137 -0
- package/dist/meta/checkpoint.json +41 -0
- package/dist/meta/chip.json +176 -0
- package/dist/meta/citation.json +80 -0
- package/dist/meta/coloreditor.json +77 -0
- package/dist/meta/colorgradient.json +175 -0
- package/dist/meta/colorpalette.json +113 -0
- package/dist/meta/colorpicker.json +145 -0
- package/dist/meta/column-menu.json +200 -0
- package/dist/meta/combobox.json +206 -0
- package/dist/meta/context-menu.json +126 -0
- package/dist/meta/datainsights-composer.json +184 -0
- package/dist/meta/dateinput.json +139 -0
- package/dist/meta/datepicker.json +154 -0
- package/dist/meta/daterangepicker.json +94 -0
- package/dist/meta/datetimepicker.json +170 -0
- package/dist/meta/dialog.json +73 -0
- package/dist/meta/dock-manager.json +94 -0
- package/dist/meta/drawer.json +107 -0
- package/dist/meta/dropdowngrid.json +159 -0
- package/dist/meta/dropdownlist.json +189 -0
- package/dist/meta/dropdowntree.json +162 -0
- package/dist/meta/dropzone.json +33 -0
- package/dist/meta/editor.json +94 -0
- package/dist/meta/expansion-panel.json +80 -0
- package/dist/meta/fab.json +92 -0
- package/dist/meta/file-box.json +62 -0
- package/dist/meta/filemanager.json +46 -0
- package/dist/meta/filter.json +83 -0
- package/dist/meta/floating-label.json +33 -0
- package/dist/meta/floating-toolbar.json +111 -0
- package/dist/meta/form.json +65 -0
- package/dist/meta/gantt.json +289 -0
- package/dist/meta/grid.json +861 -0
- package/dist/meta/icon.json +65 -0
- package/dist/meta/imageeditor.json +209 -0
- package/dist/meta/index.json +15055 -0
- package/dist/meta/input.json +105 -0
- package/dist/meta/label.json +19 -0
- package/dist/meta/list.json +79 -0
- package/dist/meta/listbox.json +169 -0
- package/dist/meta/listview.json +124 -0
- package/dist/meta/loader.json +121 -0
- package/dist/meta/map.json +34 -0
- package/dist/meta/maskedtextbox.json +104 -0
- package/dist/meta/mediaplayer.json +110 -0
- package/dist/meta/menu-button.json +166 -0
- package/dist/meta/menu.json +249 -0
- package/dist/meta/message-box.json +46 -0
- package/dist/meta/multiselect.json +225 -0
- package/dist/meta/multiselecttree.json +191 -0
- package/dist/meta/multiviewcalendar.json +121 -0
- package/dist/meta/notification.json +80 -0
- package/dist/meta/numerictextbox.json +142 -0
- package/dist/meta/orgchart.json +141 -0
- package/dist/meta/otp.json +145 -0
- package/dist/meta/overlay.json +30 -0
- package/dist/meta/pager.json +169 -0
- package/dist/meta/panelbar.json +120 -0
- package/dist/meta/pdf-viewer.json +92 -0
- package/dist/meta/pivotgrid.json +143 -0
- package/dist/meta/popover.json +73 -0
- package/dist/meta/popup.json +41 -0
- package/dist/meta/progressbar.json +113 -0
- package/dist/meta/prompt-box.json +104 -0
- package/dist/meta/prompt.json +151 -0
- package/dist/meta/propertygrid.json +171 -0
- package/dist/meta/radio.json +130 -0
- package/dist/meta/rating.json +108 -0
- package/dist/meta/scheduler.json +420 -0
- package/dist/meta/scrollview.json +94 -0
- package/dist/meta/searchbox.json +68 -0
- package/dist/meta/segmented-control.json +137 -0
- package/dist/meta/signature.json +96 -0
- package/dist/meta/skeleton.json +35 -0
- package/dist/meta/slider.json +159 -0
- package/dist/meta/smart-box.json +240 -0
- package/dist/meta/speech-to-text-button.json +115 -0
- package/dist/meta/split-button.json +133 -0
- package/dist/meta/splitter.json +93 -0
- package/dist/meta/spreadsheet.json +286 -0
- package/dist/meta/stepper.json +97 -0
- package/dist/meta/switch.json +128 -0
- package/dist/meta/table.json +95 -0
- package/dist/meta/tabstrip.json +145 -0
- package/dist/meta/taskboard.json +134 -0
- package/dist/meta/textarea.json +111 -0
- package/dist/meta/textbox.json +104 -0
- package/dist/meta/tilelayout.json +132 -0
- package/dist/meta/timedurationpicker.json +202 -0
- package/dist/meta/timeline.json +227 -0
- package/dist/meta/timepicker.json +206 -0
- package/dist/meta/toolbar.json +209 -0
- package/dist/meta/tooltip.json +82 -0
- package/dist/meta/treelist.json +250 -0
- package/dist/meta/treeview.json +168 -0
- package/dist/meta/upload.json +130 -0
- package/dist/meta/window.json +87 -0
- package/dist/meta/wizard.json +88 -0
- package/package.json +11 -6
- package/src/datainsights-composer/templates/datainsights-composer-data-source-browser-popup.tsx +1 -1
- package/src/datainsights-composer/templates/datainsights-composer-data-source-fields-popup.tsx +5 -5
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
{
|
|
2
|
+
"component": "colorpicker",
|
|
3
|
+
"name": "Colorpicker",
|
|
4
|
+
"components": [
|
|
5
|
+
{
|
|
6
|
+
"name": "ColorPicker",
|
|
7
|
+
"isPrimary": true,
|
|
8
|
+
"rootClass": "k-colorpicker",
|
|
9
|
+
"options": [
|
|
10
|
+
{
|
|
11
|
+
"name": "size",
|
|
12
|
+
"values": [
|
|
13
|
+
"small",
|
|
14
|
+
"medium",
|
|
15
|
+
"large"
|
|
16
|
+
],
|
|
17
|
+
"default": null
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"name": "rounded",
|
|
21
|
+
"values": [
|
|
22
|
+
"none",
|
|
23
|
+
"small",
|
|
24
|
+
"medium",
|
|
25
|
+
"large",
|
|
26
|
+
"full"
|
|
27
|
+
],
|
|
28
|
+
"default": null
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"name": "fillMode",
|
|
32
|
+
"values": [
|
|
33
|
+
"solid",
|
|
34
|
+
"flat",
|
|
35
|
+
"outline"
|
|
36
|
+
],
|
|
37
|
+
"default": null
|
|
38
|
+
}
|
|
39
|
+
],
|
|
40
|
+
"states": [
|
|
41
|
+
"hover",
|
|
42
|
+
"focus",
|
|
43
|
+
"valid",
|
|
44
|
+
"invalid",
|
|
45
|
+
"required",
|
|
46
|
+
"disabled"
|
|
47
|
+
],
|
|
48
|
+
"aria": [
|
|
49
|
+
{
|
|
50
|
+
"prop": null,
|
|
51
|
+
"attribute": "role=\"combobox\"",
|
|
52
|
+
"description": "The focusable element should have role combobox (input with popup)."
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"prop": null,
|
|
56
|
+
"attribute": "aria-label|aria-labelledby",
|
|
57
|
+
"description": "The component needs an accessible name including the currently selected value."
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"prop": null,
|
|
61
|
+
"attribute": "aria-haspopup=\"dialog\"",
|
|
62
|
+
"description": "Indicates the component has a Dialog Popup."
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"prop": null,
|
|
66
|
+
"attribute": "aria-expanded=\"true\"|\\\"false\"",
|
|
67
|
+
"description": "Announces the visibility state of the popup."
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"prop": null,
|
|
71
|
+
"attribute": "aria-controls",
|
|
72
|
+
"description": "Points to the popup element."
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"prop": null,
|
|
76
|
+
"attribute": "tabindex=\"0\"",
|
|
77
|
+
"description": "The element must be focusable."
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"prop": null,
|
|
81
|
+
"attribute": "aria-disabled=\"true\"",
|
|
82
|
+
"description": "Rendered only when the picker is disabled."
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"prop": null,
|
|
86
|
+
"attribute": "tabindex=\"-1\"",
|
|
87
|
+
"description": "The inner ColorGradient must be removed from the page tab sequence."
|
|
88
|
+
}
|
|
89
|
+
],
|
|
90
|
+
"keyboard": [
|
|
91
|
+
{
|
|
92
|
+
"trigger": "Alt/Opt(Mac) + ArrowDown",
|
|
93
|
+
"behavior": "Opens pop up"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"trigger": "Enter",
|
|
97
|
+
"behavior": "Opens pop up"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"trigger": "Alt/Opt(Mac) + ArrowUp or Escape",
|
|
101
|
+
"behavior": "Closes popup"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"trigger": "Escape",
|
|
105
|
+
"behavior": "Closes Popup and moves focus back to k-colorpicker element."
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"trigger": "Tab",
|
|
109
|
+
"behavior": "Navigates to the next focusable element in the Popup. If current focus is on the last element, moves focus to the first focusable item in the Popup."
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"trigger": "Shift + Tab",
|
|
113
|
+
"behavior": "Navigates to the previous focusable element in the Popup. If current focus is on the first element, moves focus to the last focusable item in the Popup."
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"trigger": "Enter",
|
|
117
|
+
"behavior": "For button items, executes the currently focused button action."
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"trigger": "Escape",
|
|
121
|
+
"behavior": "If any of the colorgradient elements are currently focused, bring focus back to the k-colorpicker element."
|
|
122
|
+
}
|
|
123
|
+
],
|
|
124
|
+
"ux": [
|
|
125
|
+
{
|
|
126
|
+
"trigger": "Popup",
|
|
127
|
+
"behavior": "Opens a color picker popup when the swatch button is clicked."
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"trigger": "Color preview",
|
|
131
|
+
"behavior": "The trigger button reflects the currently selected color."
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"trigger": "Flat mode",
|
|
135
|
+
"behavior": "Can be rendered inline without a popup wrapper."
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"trigger": "Gradient and palette tabs",
|
|
139
|
+
"behavior": "Tabs let the user switch between gradient picker and palette."
|
|
140
|
+
}
|
|
141
|
+
]
|
|
142
|
+
}
|
|
143
|
+
],
|
|
144
|
+
"resources": []
|
|
145
|
+
}
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
{
|
|
2
|
+
"component": "column-menu",
|
|
3
|
+
"name": "ColumnMenu",
|
|
4
|
+
"components": [
|
|
5
|
+
{
|
|
6
|
+
"name": "ColumnList",
|
|
7
|
+
"isPrimary": true,
|
|
8
|
+
"rootClass": "k-column-list",
|
|
9
|
+
"options": [
|
|
10
|
+
{
|
|
11
|
+
"name": "size",
|
|
12
|
+
"values": [
|
|
13
|
+
"small",
|
|
14
|
+
"medium",
|
|
15
|
+
"large"
|
|
16
|
+
],
|
|
17
|
+
"default": null
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"states": [],
|
|
21
|
+
"aria": [
|
|
22
|
+
{
|
|
23
|
+
"prop": null,
|
|
24
|
+
"attribute": "role=\"listbox\"",
|
|
25
|
+
"description": "Sets the listbox role of the list of columns wrapper."
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"prop": null,
|
|
29
|
+
"attribute": "aria-multiselectable=\"true\"",
|
|
30
|
+
"description": "Specifies that the list is multiselectable."
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"prop": null,
|
|
34
|
+
"attribute": "aria-label",
|
|
35
|
+
"description": "Accessible name for the column list."
|
|
36
|
+
}
|
|
37
|
+
],
|
|
38
|
+
"keyboard": [],
|
|
39
|
+
"ux": []
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"name": "ColumnMenu",
|
|
43
|
+
"isPrimary": true,
|
|
44
|
+
"rootClass": "k-column-menu",
|
|
45
|
+
"options": [
|
|
46
|
+
{
|
|
47
|
+
"name": "size",
|
|
48
|
+
"values": [
|
|
49
|
+
"small",
|
|
50
|
+
"medium",
|
|
51
|
+
"large"
|
|
52
|
+
],
|
|
53
|
+
"default": null
|
|
54
|
+
}
|
|
55
|
+
],
|
|
56
|
+
"states": [],
|
|
57
|
+
"aria": [],
|
|
58
|
+
"keyboard": [
|
|
59
|
+
{
|
|
60
|
+
"trigger": "Tab",
|
|
61
|
+
"behavior": "Navigates to the next focusable element in the Popup. If current focus is on the last element, moves focus to the first focusable item in the Popup."
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"trigger": "Shift + Tab",
|
|
65
|
+
"behavior": "Navigates to the previous focusable element in the Popup. If current focus is on the first element, moves focus to the last focusable item in the Popup."
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"trigger": "Enter",
|
|
69
|
+
"behavior": "For column menu items, executes the currently focused item action. If item is expandable, expands or collapses the item."
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"trigger": "Escape",
|
|
73
|
+
"behavior": "When focus is inside a focusable element in the item content, returns focus to the parent menu item. When focus is on a menu item, closes the ColumnMenu Popup and returns focus to the element from which the menu was opened."
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"trigger": "ArrowDown or ArrowUp",
|
|
77
|
+
"behavior": "Moves the focus to the next/previous item when focus is in the ColumnChooser list of options."
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"trigger": "Space",
|
|
81
|
+
"behavior": "Toggles the checked state of the focused ColumnChooser option."
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"trigger": "Escape",
|
|
85
|
+
"behavior": "When focus is inside a sub-view, returns to the main view and focuses the item that opened the sub-view. When focus is on the main view, closes the ActionSheet and returns focus to the element from which the menu was opened."
|
|
86
|
+
}
|
|
87
|
+
],
|
|
88
|
+
"ux": [
|
|
89
|
+
{
|
|
90
|
+
"trigger": "Filter",
|
|
91
|
+
"behavior": "Provides a filter form to narrow column data."
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"trigger": "Sort",
|
|
95
|
+
"behavior": "Offers ascending and descending sort actions for the column."
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"trigger": "Column chooser",
|
|
99
|
+
"behavior": "Allows hiding or showing individual columns."
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"trigger": "Lock / Unlock",
|
|
103
|
+
"behavior": "Allows pinning a column to the left or right side of the grid."
|
|
104
|
+
}
|
|
105
|
+
]
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"name": "ColumnMenuItem",
|
|
109
|
+
"isPrimary": true,
|
|
110
|
+
"rootClass": "k-columnmenu-item",
|
|
111
|
+
"options": [],
|
|
112
|
+
"states": [
|
|
113
|
+
"focus",
|
|
114
|
+
"selected"
|
|
115
|
+
],
|
|
116
|
+
"aria": [
|
|
117
|
+
{
|
|
118
|
+
"prop": null,
|
|
119
|
+
"attribute": "role=\"button\"",
|
|
120
|
+
"description": "Sets column menu item role to button."
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"prop": null,
|
|
124
|
+
"attribute": "tabindex=\"0\"",
|
|
125
|
+
"description": "Sets column menu item tabindex."
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"prop": null,
|
|
129
|
+
"attribute": "aria-expanded=\"true\"|\\\"false\"",
|
|
130
|
+
"description": "Sets the expanded state of an expandable item."
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"prop": null,
|
|
134
|
+
"attribute": "aria-controls",
|
|
135
|
+
"description": "Points to id attribute of the content whose visibility the expandable item controls."
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"prop": null,
|
|
139
|
+
"attribute": "id",
|
|
140
|
+
"description": "Unique and deterministic id linked to the aria-controls attribute of the corresponding expandable item."
|
|
141
|
+
}
|
|
142
|
+
],
|
|
143
|
+
"keyboard": [],
|
|
144
|
+
"ux": []
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"name": "GroupMenu",
|
|
148
|
+
"isPrimary": true,
|
|
149
|
+
"rootClass": "k-group-menu",
|
|
150
|
+
"options": [
|
|
151
|
+
{
|
|
152
|
+
"name": "size",
|
|
153
|
+
"values": [
|
|
154
|
+
"small",
|
|
155
|
+
"medium",
|
|
156
|
+
"large"
|
|
157
|
+
],
|
|
158
|
+
"default": null
|
|
159
|
+
}
|
|
160
|
+
],
|
|
161
|
+
"states": [],
|
|
162
|
+
"aria": [],
|
|
163
|
+
"keyboard": [],
|
|
164
|
+
"ux": []
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"name": "GroupMenuItem",
|
|
168
|
+
"isPrimary": true,
|
|
169
|
+
"rootClass": "k-group-menu-item",
|
|
170
|
+
"options": [],
|
|
171
|
+
"states": [
|
|
172
|
+
"hover",
|
|
173
|
+
"selected"
|
|
174
|
+
],
|
|
175
|
+
"aria": [],
|
|
176
|
+
"keyboard": [],
|
|
177
|
+
"ux": []
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"name": "ColumnListItem",
|
|
181
|
+
"isPrimary": false,
|
|
182
|
+
"rootClass": "k-column-list-item",
|
|
183
|
+
"options": [],
|
|
184
|
+
"states": [
|
|
185
|
+
"focus",
|
|
186
|
+
"disabled",
|
|
187
|
+
"hover"
|
|
188
|
+
],
|
|
189
|
+
"aria": [],
|
|
190
|
+
"keyboard": [],
|
|
191
|
+
"ux": []
|
|
192
|
+
}
|
|
193
|
+
],
|
|
194
|
+
"resources": [
|
|
195
|
+
{
|
|
196
|
+
"url": "https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/dialog_role",
|
|
197
|
+
"text": "MDN reference for the dialog role"
|
|
198
|
+
}
|
|
199
|
+
]
|
|
200
|
+
}
|
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
{
|
|
2
|
+
"component": "combobox",
|
|
3
|
+
"name": "Combobox",
|
|
4
|
+
"components": [
|
|
5
|
+
{
|
|
6
|
+
"name": "Combobox",
|
|
7
|
+
"isPrimary": true,
|
|
8
|
+
"rootClass": "k-combobox",
|
|
9
|
+
"options": [
|
|
10
|
+
{
|
|
11
|
+
"name": "size",
|
|
12
|
+
"values": [
|
|
13
|
+
"small",
|
|
14
|
+
"medium",
|
|
15
|
+
"large"
|
|
16
|
+
],
|
|
17
|
+
"default": null
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"name": "rounded",
|
|
21
|
+
"values": [
|
|
22
|
+
"none",
|
|
23
|
+
"small",
|
|
24
|
+
"medium",
|
|
25
|
+
"large",
|
|
26
|
+
"full"
|
|
27
|
+
],
|
|
28
|
+
"default": null
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"name": "fillMode",
|
|
32
|
+
"values": [
|
|
33
|
+
"solid",
|
|
34
|
+
"flat",
|
|
35
|
+
"outline"
|
|
36
|
+
],
|
|
37
|
+
"default": null
|
|
38
|
+
}
|
|
39
|
+
],
|
|
40
|
+
"states": [
|
|
41
|
+
"hover",
|
|
42
|
+
"focus",
|
|
43
|
+
"valid",
|
|
44
|
+
"invalid",
|
|
45
|
+
"loading",
|
|
46
|
+
"required",
|
|
47
|
+
"disabled",
|
|
48
|
+
"readonly"
|
|
49
|
+
],
|
|
50
|
+
"aria": [
|
|
51
|
+
{
|
|
52
|
+
"prop": null,
|
|
53
|
+
"attribute": "role=\"combobox\"",
|
|
54
|
+
"description": "Identifies the input as a combobox."
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"prop": null,
|
|
58
|
+
"attribute": "aria-haspopup=\"listbox\"",
|
|
59
|
+
"description": "Indicates the combobox has a listbox popup."
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"prop": null,
|
|
63
|
+
"attribute": "aria-expanded",
|
|
64
|
+
"description": "Indicates whether the popup is open."
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"prop": null,
|
|
68
|
+
"attribute": "aria-invalid=\"true\"",
|
|
69
|
+
"description": "Rendered when the combobox is in an invalid state."
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"prop": null,
|
|
73
|
+
"attribute": "aria-busy=\"true\"",
|
|
74
|
+
"description": "Rendered when the combobox is loading data."
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"prop": null,
|
|
78
|
+
"attribute": "aria-label|aria-labelledby",
|
|
79
|
+
"description": "Accessible name provided by consuming app."
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"prop": null,
|
|
83
|
+
"attribute": "aria-disabled=\"true\"",
|
|
84
|
+
"description": "Rendered when the combobox is disabled."
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"prop": null,
|
|
88
|
+
"attribute": "role=\"button\"",
|
|
89
|
+
"description": "The dropdown toggle button."
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"prop": null,
|
|
93
|
+
"attribute": "aria-label",
|
|
94
|
+
"description": "Accessible name for the dropdown button."
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"prop": null,
|
|
98
|
+
"attribute": "tabindex=\"-1\"",
|
|
99
|
+
"description": "Dropdown button is not in the tab order."
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"prop": null,
|
|
103
|
+
"attribute": "role=\"listbox\"",
|
|
104
|
+
"description": "The popup list container has the listbox role."
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"prop": null,
|
|
108
|
+
"attribute": "aria-label|aria-labelledby",
|
|
109
|
+
"description": "Popup listbox must have an accessible name. Consuming code is responsible for associating with the component label via aria-labelledby."
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"prop": null,
|
|
113
|
+
"attribute": "role=\"option\"",
|
|
114
|
+
"description": "Each list item is an option."
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"prop": null,
|
|
118
|
+
"attribute": "aria-selected",
|
|
119
|
+
"description": "Indicates the selected state."
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"prop": null,
|
|
123
|
+
"attribute": "aria-live=\"polite\"",
|
|
124
|
+
"description": "Announces no-data state to screen readers."
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"prop": null,
|
|
128
|
+
"attribute": "id",
|
|
129
|
+
"description": "Referenced by aria-controls and aria-activedescendant on the input."
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"prop": null,
|
|
133
|
+
"attribute": "aria-autocomplete",
|
|
134
|
+
"description": "Indicates autocomplete behavior to assistive technologies"
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"prop": null,
|
|
138
|
+
"attribute": "aria-activedescendant",
|
|
139
|
+
"description": "Points to focused item when popup is open"
|
|
140
|
+
}
|
|
141
|
+
],
|
|
142
|
+
"keyboard": [
|
|
143
|
+
{
|
|
144
|
+
"trigger": "Typing in the input",
|
|
145
|
+
"behavior": "Focuses the matched item."
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"trigger": "ArrowDown",
|
|
149
|
+
"behavior": "Highlights the next available item."
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"trigger": "ArrowUp",
|
|
153
|
+
"behavior": "Highlights the previous available item."
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"trigger": "Enter",
|
|
157
|
+
"behavior": "Selects the focused item."
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"trigger": "Alt/Opt(Mac) + ArrowDown",
|
|
161
|
+
"behavior": "Opens the popup."
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"trigger": "Alt/Opt(Mac) + ArrowUp or Escape",
|
|
165
|
+
"behavior": "Closes the popup."
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"trigger": "Escape",
|
|
169
|
+
"behavior": "If the popup is not visible, clears the value."
|
|
170
|
+
}
|
|
171
|
+
],
|
|
172
|
+
"ux": [
|
|
173
|
+
{
|
|
174
|
+
"trigger": "Editable input",
|
|
175
|
+
"behavior": "The user can type to filter options or enter a custom value."
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"trigger": "Popup",
|
|
179
|
+
"behavior": "Opens a dropdown list when the toggle button is clicked or when the user types."
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"trigger": "Selection",
|
|
183
|
+
"behavior": "Choosing an option fills the input and closes the popup."
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"trigger": "Placeholder",
|
|
187
|
+
"behavior": "Displays hint text when no value is selected."
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"trigger": "Disabled state",
|
|
191
|
+
"behavior": "When disabled, the control is non-interactive."
|
|
192
|
+
}
|
|
193
|
+
]
|
|
194
|
+
}
|
|
195
|
+
],
|
|
196
|
+
"resources": [
|
|
197
|
+
{
|
|
198
|
+
"url": "https://www.w3.org/WAI/ARIA/apg/example-index/combobox/combobox-autocomplete-both.html",
|
|
199
|
+
"text": "WAI-ARIA Authoring Practices: Editable Combobox With Both List and Inline Autocomplete Example"
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"url": "https://www.w3.org/WAI/ARIA/apg/example-index/combobox/combobox-autocomplete-list.html",
|
|
203
|
+
"text": "WAI-ARIA Authoring Practices: Editable Combobox With List Autocomplete Example"
|
|
204
|
+
}
|
|
205
|
+
]
|
|
206
|
+
}
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
{
|
|
2
|
+
"component": "context-menu",
|
|
3
|
+
"name": "ContextMenu",
|
|
4
|
+
"components": [
|
|
5
|
+
{
|
|
6
|
+
"name": "ContextMenu",
|
|
7
|
+
"isPrimary": true,
|
|
8
|
+
"rootClass": "k-context-menu",
|
|
9
|
+
"options": [],
|
|
10
|
+
"states": [],
|
|
11
|
+
"aria": [
|
|
12
|
+
{
|
|
13
|
+
"prop": null,
|
|
14
|
+
"attribute": "role=\"menu\"",
|
|
15
|
+
"description": "The context menu implements the menu role."
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"prop": null,
|
|
19
|
+
"attribute": "role=\"menuitem\"",
|
|
20
|
+
"description": "Announces the Menu item role."
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"prop": null,
|
|
24
|
+
"attribute": "aria-haspopup=\"menu\"",
|
|
25
|
+
"description": "Indicates a popup menu is associated with the item."
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"prop": null,
|
|
29
|
+
"attribute": "aria-expanded=\"true\"|\\\"false\"",
|
|
30
|
+
"description": "Indicates whether the submenu is expanded."
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"prop": null,
|
|
34
|
+
"attribute": "aria-disabled=\"true\"",
|
|
35
|
+
"description": "Informs assistive technologies that a Menu item is disabled."
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"prop": null,
|
|
39
|
+
"attribute": "aria-hidden=\"true\"",
|
|
40
|
+
"description": "Expand arrow elements are hidden from assistive technologies."
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"prop": null,
|
|
44
|
+
"attribute": "tabindex=\"0\"",
|
|
45
|
+
"description": "The focused item has tabindex 0."
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"prop": null,
|
|
49
|
+
"attribute": "aria-controls=\"ul.k-menu-group id\"",
|
|
50
|
+
"description": "Points to the ID of the submenu."
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"prop": null,
|
|
54
|
+
"attribute": "id",
|
|
55
|
+
"description": "Each nested menu has an id linked to parent aria-controls."
|
|
56
|
+
}
|
|
57
|
+
],
|
|
58
|
+
"keyboard": [
|
|
59
|
+
{
|
|
60
|
+
"trigger": "Shift + F10",
|
|
61
|
+
"behavior": "When applied to a target, the command opens the ContextMenu."
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"trigger": "ArrowUp",
|
|
65
|
+
"behavior": "Focuses the previous item."
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"trigger": "ArrowDown",
|
|
69
|
+
"behavior": "Focuses the next item."
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"trigger": "ArrowLeft",
|
|
73
|
+
"behavior": "(For root items) opens the item and focuses the last child.; (For child items) closes and focuses the parent."
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"trigger": "ArrowRight",
|
|
77
|
+
"behavior": "If the item has children, opens the item and focuses the first child. For child items without children, focuses and opens the next root item."
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"trigger": "Escape",
|
|
81
|
+
"behavior": "Closes the ContextMenu and returns the focus to the target."
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"trigger": "Home",
|
|
85
|
+
"behavior": "Focuses the first item."
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"trigger": "End",
|
|
89
|
+
"behavior": "Focuses the last item."
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"trigger": "Enter",
|
|
93
|
+
"behavior": "Selects the focused item. If the item has children, opens the item and focuses the first child. If the item does not have children and has a URL, navigates to the specified URL."
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"trigger": "Space",
|
|
97
|
+
"behavior": "Selects the focused item. If the item has children, opens the item and focuses the first child. If the item does not have children and has a URL, navigates to the specified URL."
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"trigger": "Alphanumeric character",
|
|
101
|
+
"behavior": "Focuses the next item with text starting with the character."
|
|
102
|
+
}
|
|
103
|
+
],
|
|
104
|
+
"ux": [
|
|
105
|
+
{
|
|
106
|
+
"trigger": "Right-click trigger",
|
|
107
|
+
"behavior": "Opens when the user right-clicks (or long-presses on touch) the target element."
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"trigger": "Submenus",
|
|
111
|
+
"behavior": "Menu items can have submenus that open on hover."
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"trigger": "Dismiss",
|
|
115
|
+
"behavior": "Closes when clicking outside the menu or pressing Escape."
|
|
116
|
+
}
|
|
117
|
+
]
|
|
118
|
+
}
|
|
119
|
+
],
|
|
120
|
+
"resources": [
|
|
121
|
+
{
|
|
122
|
+
"url": "https://www.w3.org/WAI/ARIA/apg/patterns/menu/",
|
|
123
|
+
"text": "ARIA patterns Menu"
|
|
124
|
+
}
|
|
125
|
+
]
|
|
126
|
+
}
|