@progress/kendo-themes-html 14.7.1-dev.2 → 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/dist/types/chip/chip-list.spec.d.ts +0 -1
- package/dist/types/chip/chip.spec.d.ts +0 -5
- package/dist/types/datainsights-composer/datainsights-composer-fields.spec.d.ts +6 -1
- package/dist/types/datainsights-composer/datainsights-composer-history-checkpoint.spec.d.ts +2 -2
- package/dist/types/datainsights-composer/datainsights-composer-popup.spec.d.ts +12 -1
- package/package.json +11 -6
- package/src/chip/chip-list.spec.tsx +0 -1
- package/src/chip/chip.spec.tsx +0 -5
- package/src/datainsights-composer/datainsights-composer-fields.spec.tsx +6 -1
- package/src/datainsights-composer/datainsights-composer-history-checkpoint.spec.tsx +2 -2
- package/src/datainsights-composer/datainsights-composer-popup.spec.tsx +13 -1
- 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
- package/src/datainsights-composer/tests/datainsights-composer-history.tsx +0 -5
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
{
|
|
2
|
+
"component": "window",
|
|
3
|
+
"name": "Window",
|
|
4
|
+
"components": [
|
|
5
|
+
{
|
|
6
|
+
"name": "Window",
|
|
7
|
+
"isPrimary": true,
|
|
8
|
+
"rootClass": "k-window",
|
|
9
|
+
"options": [],
|
|
10
|
+
"states": [],
|
|
11
|
+
"aria": [
|
|
12
|
+
{
|
|
13
|
+
"prop": null,
|
|
14
|
+
"attribute": "role=\"dialog\"",
|
|
15
|
+
"description": "Announces the dialog role of the component."
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"prop": null,
|
|
19
|
+
"attribute": "aria-labelledby",
|
|
20
|
+
"description": "Associate the title of the dialog."
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"keyboard": [
|
|
24
|
+
{
|
|
25
|
+
"trigger": "Alt/Opt(Mac) + ArrowDown",
|
|
26
|
+
"behavior": "Minimizes or restores the state, if the focused element is the window"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"trigger": "Alt/Opt(Mac) + ArrowUp",
|
|
30
|
+
"behavior": "Maximizes or restores the state, if the focused element is the window"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"trigger": "Arrow Keys",
|
|
34
|
+
"behavior": "Move the window to the respective direction (UP"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"trigger": "Control/Cmd(Mac) + ArrowUp",
|
|
38
|
+
"behavior": "Decreases the height of the window triggering the resizing capabilities. Applicable only when the component is resizable."
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"trigger": "Control/Cmd(Mac) + ArrowDown",
|
|
42
|
+
"behavior": "Increases the height of the window triggering the resizing capabilities. Applicable only when the component is resizable."
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"trigger": "Control/Cmd(Mac) + ArrowLeft",
|
|
46
|
+
"behavior": "Decreases the width of the window triggering the resizing capabilities. Applicable only when the component is resizable."
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"trigger": "Control/Cmd(Mac) + ArrowRight",
|
|
50
|
+
"behavior": "Increases the width of the window triggering the resizing capabilities. Applicable only when the component is resizable."
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"trigger": "Escape",
|
|
54
|
+
"behavior": "Closes the window. When the window is modal, the focus should be returned to the element that triggered the open."
|
|
55
|
+
}
|
|
56
|
+
],
|
|
57
|
+
"ux": [
|
|
58
|
+
{
|
|
59
|
+
"trigger": "Draggable",
|
|
60
|
+
"behavior": "The window is repositioned by dragging its title bar."
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"trigger": "Resizable",
|
|
64
|
+
"behavior": "The window is resized by dragging its edges or corners."
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"trigger": "Minimize / Maximize",
|
|
68
|
+
"behavior": "The window can be collapsed to only the title bar or expanded to fill the viewport."
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"trigger": "Close",
|
|
72
|
+
"behavior": "The × button removes the window from the DOM."
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"trigger": "Stacking",
|
|
76
|
+
"behavior": "Multiple open windows maintain correct z-index layering."
|
|
77
|
+
}
|
|
78
|
+
]
|
|
79
|
+
}
|
|
80
|
+
],
|
|
81
|
+
"resources": [
|
|
82
|
+
{
|
|
83
|
+
"url": "https://www.w3.org/WAI/ARIA/apg/patterns/dialog-modal/examples/dialog/",
|
|
84
|
+
"text": "ARIA practices Modal Dialog Example"
|
|
85
|
+
}
|
|
86
|
+
]
|
|
87
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
{
|
|
2
|
+
"component": "wizard",
|
|
3
|
+
"name": "Wizard",
|
|
4
|
+
"components": [
|
|
5
|
+
{
|
|
6
|
+
"name": "Wizard",
|
|
7
|
+
"isPrimary": true,
|
|
8
|
+
"rootClass": "k-wizard",
|
|
9
|
+
"options": [],
|
|
10
|
+
"states": [
|
|
11
|
+
"disabled"
|
|
12
|
+
],
|
|
13
|
+
"aria": [],
|
|
14
|
+
"keyboard": [
|
|
15
|
+
{
|
|
16
|
+
"trigger": "ArrowLeft or ArrowUp",
|
|
17
|
+
"behavior": "Selects previous tab."
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"trigger": "ArrowRight or ArrowDown",
|
|
21
|
+
"behavior": "Selects next tab."
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"trigger": "Home",
|
|
25
|
+
"behavior": "Selects first tab."
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"trigger": "End",
|
|
29
|
+
"behavior": "Selects last tab."
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"trigger": "Tab",
|
|
33
|
+
"behavior": "Focuses next element in the page Tab sequence. That could be the currently visible `tabpanel`, an element on it, or an element outside the Wizard."
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"trigger": "Shift + Tab",
|
|
37
|
+
"behavior": "Focuses previous element in the page Tab sequence."
|
|
38
|
+
}
|
|
39
|
+
],
|
|
40
|
+
"ux": [
|
|
41
|
+
{
|
|
42
|
+
"trigger": "Multi-step",
|
|
43
|
+
"behavior": "Guides the user through a complex task split into discrete steps."
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"trigger": "Progress indicator",
|
|
47
|
+
"behavior": "A stepper at the top shows completed, current, and upcoming steps."
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"trigger": "Navigation buttons",
|
|
51
|
+
"behavior": "Back and Next buttons move between steps."
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"trigger": "Per-step validation",
|
|
55
|
+
"behavior": "Each step can validate its inputs before the Next button is enabled."
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"trigger": "Step click",
|
|
59
|
+
"behavior": "Previously completed steps can be revisited by clicking the step indicator."
|
|
60
|
+
}
|
|
61
|
+
]
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"name": "WizardStep",
|
|
65
|
+
"isPrimary": false,
|
|
66
|
+
"rootClass": "k-wizard-step",
|
|
67
|
+
"options": [],
|
|
68
|
+
"states": [
|
|
69
|
+
"focus"
|
|
70
|
+
],
|
|
71
|
+
"aria": [
|
|
72
|
+
{
|
|
73
|
+
"prop": null,
|
|
74
|
+
"attribute": "aria-label",
|
|
75
|
+
"description": "for the tabpanel, e.g. \"Step 2 of 3\""
|
|
76
|
+
}
|
|
77
|
+
],
|
|
78
|
+
"keyboard": [],
|
|
79
|
+
"ux": []
|
|
80
|
+
}
|
|
81
|
+
],
|
|
82
|
+
"resources": [
|
|
83
|
+
{
|
|
84
|
+
"url": "https://www.w3.org/TR/wai-aria-1.2/#tablist",
|
|
85
|
+
"text": "WAI-ARIA specification for tablist"
|
|
86
|
+
}
|
|
87
|
+
]
|
|
88
|
+
}
|
|
@@ -19,7 +19,6 @@ export type KendoChipListProps = KendoChipListOptions & {
|
|
|
19
19
|
* @aria {aria-keyshortcuts="Enter Delete"} Announces the Delete action along with the default Enter key.
|
|
20
20
|
* @aria {aria-multiselectable="true"} Indicates multiple selections are allowed.
|
|
21
21
|
* @aria {aria-label} Accessible name for the chip list; required when role="listbox".
|
|
22
|
-
* @aria {role="group"} Groups chips that each act as independent controls (e.g. popup triggers) rather than selectable options; `aria-orientation` is omitted since it is not supported on this role.
|
|
23
22
|
* @ux {Chip group} Renders a horizontal or wrapping collection of chip elements.
|
|
24
23
|
* @ux {Selection} Supports single or multi-selection across the chips in the list.
|
|
25
24
|
* @ux {Add chip} Can include an add-chip control to allow the user to create new chips.
|
|
@@ -28,16 +28,11 @@ export type KendoChipState = {
|
|
|
28
28
|
* @ux {Removable} An optional remove icon allows the chip to be dismissed.
|
|
29
29
|
* @ux {Icon or avatar} Can display an icon or avatar image alongside the label.
|
|
30
30
|
* @ux {Disabled state} When disabled, the chip is non-interactive.
|
|
31
|
-
* @aria {role="presentation" or "listitem"} Used for read-only, informational chips that must still be announced; `aria-pressed` is omitted for these.
|
|
32
|
-
* @aria {aria-haspopup} Indicates the Chip opens a popup on activation instead of toggling a pressed state; `aria-pressed` is omitted when present.
|
|
33
|
-
* @aria {tabindex="-1"} When used as a static label inside another focusable or roving-tabindex container (e.g. a TreeView row), the Chip must not be independently focusable; pairing it with `pointer-events: none` also lets clicks and hover pass through to that container.
|
|
34
31
|
*/
|
|
35
32
|
export declare const Chip: KendoComponent<KendoChipProps & KendoChipState & React.HTMLAttributes<HTMLDivElement>>;
|
|
36
33
|
/**
|
|
37
34
|
* @keyboard {ArrowRight} Focuses the next chip in a horizontally oriented chiplist.
|
|
38
35
|
* @keyboard {ArrowLeft} Focuses the previous chip in a horizontally oriented group.
|
|
39
|
-
* @keyboard {ArrowDown} Focuses the next chip in a vertically stacked group (e.g. a field list).
|
|
40
|
-
* @keyboard {ArrowUp} Focuses the previous chip in a vertically stacked group.
|
|
41
36
|
* @keyboard {Enter or Space} Triggers a click action on the Chip.
|
|
42
37
|
* @keyboard {Delete or Backspace} Removes the Chip when a delete action is configured.
|
|
43
38
|
*
|
|
@@ -2,7 +2,12 @@ import type { KendoComponent } from '../_types/component';
|
|
|
2
2
|
export declare const DATA_INSIGHTS_COMPOSER_FIELDS_CLASSNAME = "k-datainsights-composer-fields";
|
|
3
3
|
/**
|
|
4
4
|
* Wraps the row of field chips shown in the empty/prompt state.
|
|
5
|
-
* @
|
|
5
|
+
* @aria {role="group"} Groups data-source chips that act as popup triggers.
|
|
6
|
+
* @aria {aria-label} Names the data-source chip group.
|
|
7
|
+
* @aria {aria-haspopup="true"} Indicates that each data-source chip opens a popup.
|
|
8
|
+
* @aria {tabindex="0" or "-1"} Maintains one data-source chip in the tab order using roving tabindex.
|
|
9
|
+
* @keyboard {Tab} Moves focus into the group through its active roving-tabindex chip, or from that chip to the next focusable element.
|
|
10
|
+
* @keyboard {Shift+Tab} Moves focus from the active chip to the previous focusable element.
|
|
6
11
|
* @keyboard {ArrowRight or ArrowLeft} Moves the roving tab stop between the data source chips, same as the standalone ChipList.
|
|
7
12
|
* @keyboard {Enter or Space} Opens the Data Source popup for the focused chip.
|
|
8
13
|
*/
|
|
@@ -16,8 +16,8 @@ export interface DataInsightsComposerHistoryCheckpointProps extends React.HTMLAt
|
|
|
16
16
|
* @aria {role="option"} Each checkpoint is an option in the history listbox.
|
|
17
17
|
* @aria {tabindex="-1"} Non-active checkpoints stay out of the tab order.
|
|
18
18
|
* @keyboard {ArrowUp or ArrowDown} Moves the roving tab stop between checkpoints, same as a standard list.
|
|
19
|
-
* @keyboard {Tab} From the active
|
|
20
|
-
* @keyboard {Shift+Tab} From a restore button, returns focus to its own checkpoint.
|
|
19
|
+
* @keyboard {Tab} From the active checkpoint, moves focus to its restore button. From that button, or from the current checkpoint which has no restore action, moves focus outside the popup.
|
|
20
|
+
* @keyboard {Shift+Tab} From a restore button, returns focus to its own checkpoint. From the active checkpoint, moves focus to the previous focusable element outside the popup.
|
|
21
21
|
* A history item with a timestamp and an optional restore action.
|
|
22
22
|
*/
|
|
23
23
|
export declare const DataInsightsComposerHistoryCheckpoint: KendoComponent<DataInsightsComposerHistoryCheckpointProps>;
|
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
import type { KendoComponent } from '../_types/component';
|
|
2
2
|
export declare const DATA_INSIGHTS_COMPOSER_POPUP_CLASSNAME = "k-datainsights-composer-popup";
|
|
3
|
-
/**
|
|
3
|
+
/**
|
|
4
|
+
* Popup shell used by the Composer data-source and history views.
|
|
5
|
+
* @aria {role="presentation"} Removes button semantics from field-label chips in data-source popups.
|
|
6
|
+
* @aria {tabindex="0" or "-1"} Uses roving tabindex for a standalone field list; chips embedded in TreeView items stay out of the tab order.
|
|
7
|
+
*/
|
|
4
8
|
export declare const DataInsightsComposerPopup: KendoComponent<React.HTMLAttributes<HTMLDivElement>>;
|
|
9
|
+
/**
|
|
10
|
+
* @keyboard {ArrowDown} Moves to the next chip in a data-source field list, or from the browser search box to the first TreeView item.
|
|
11
|
+
* @keyboard {ArrowUp} Moves to the previous chip in a data-source field list, or from the first browser TreeView item to the search box.
|
|
12
|
+
* @keyboard {Tab} In a data-source field-list popup, moves focus into the list through its active roving-tabindex chip; pressing Tab again moves focus outside the popup.
|
|
13
|
+
* @keyboard {Shift+Tab} From the active chip in a data-source field-list popup, moves focus to the previous focusable element outside the popup.
|
|
14
|
+
* @keyboard {Escape} Closes the popup and returns focus to the element that opened it.
|
|
15
|
+
*/
|
|
5
16
|
export default DataInsightsComposerPopup;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-themes-html",
|
|
3
3
|
"description": "A collection of HTML helpers used for developing Kendo UI themes",
|
|
4
|
-
"version": "14.7.1-dev.
|
|
4
|
+
"version": "14.7.1-dev.4",
|
|
5
5
|
"author": "Progress",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"keywords": [
|
|
@@ -12,15 +12,19 @@
|
|
|
12
12
|
],
|
|
13
13
|
"types": "./dist/types/index.d.ts",
|
|
14
14
|
"exports": {
|
|
15
|
-
"
|
|
16
|
-
|
|
17
|
-
|
|
15
|
+
".": {
|
|
16
|
+
"types": "./dist/types/index.d.ts",
|
|
17
|
+
"import": "./dist/esm/index.mjs",
|
|
18
|
+
"require": "./dist/cjs/index.js"
|
|
19
|
+
},
|
|
20
|
+
"./meta/*.json": "./dist/meta/*.json"
|
|
18
21
|
},
|
|
19
22
|
"files": [
|
|
20
23
|
"dist/**/*.js",
|
|
21
24
|
"dist/**/*.mjs",
|
|
22
25
|
"dist/**/*.d.ts",
|
|
23
26
|
"dist/**/*.js.map",
|
|
27
|
+
"dist/meta/*.json",
|
|
24
28
|
"src/**/**.ts",
|
|
25
29
|
"src/**/**.tsx"
|
|
26
30
|
],
|
|
@@ -43,12 +47,13 @@
|
|
|
43
47
|
"typegen": "npx tsc --emitDeclarationOnly --declaration --declarationDir dist/types/",
|
|
44
48
|
"typecheck": "npx tsc --noEmit --emitDeclarationOnly false --project tsconfig.json ",
|
|
45
49
|
"build:tests": "node ./scripts/build-tests.js",
|
|
46
|
-
"
|
|
50
|
+
"build:meta": "node ./scripts/render-a11y-docs.mjs",
|
|
51
|
+
"docs": "npm run build && npm run build:meta",
|
|
47
52
|
"docs:check": "npm run docs && git diff --name-only --exit-code -- docs",
|
|
48
53
|
"test": "vitest run",
|
|
49
54
|
"test:watch": "vitest",
|
|
50
55
|
"test:coverage": "vitest run --coverage",
|
|
51
|
-
"prepublishOnly": "npm run build && npm run typegen"
|
|
56
|
+
"prepublishOnly": "npm run build && npm run typegen && npm run build:meta"
|
|
52
57
|
},
|
|
53
58
|
"dependencies": {
|
|
54
59
|
"@progress/kendo-svg-icons": "^5.5.0"
|
|
@@ -31,7 +31,6 @@ const defaultOptions = {
|
|
|
31
31
|
* @aria {aria-keyshortcuts="Enter Delete"} Announces the Delete action along with the default Enter key.
|
|
32
32
|
* @aria {aria-multiselectable="true"} Indicates multiple selections are allowed.
|
|
33
33
|
* @aria {aria-label} Accessible name for the chip list; required when role="listbox".
|
|
34
|
-
* @aria {role="group"} Groups chips that each act as independent controls (e.g. popup triggers) rather than selectable options; `aria-orientation` is omitted since it is not supported on this role.
|
|
35
34
|
* @ux {Chip group} Renders a horizontal or wrapping collection of chip elements.
|
|
36
35
|
* @ux {Selection} Supports single or multi-selection across the chips in the list.
|
|
37
36
|
* @ux {Add chip} Can include an add-chip control to allow the user to create new chips.
|
package/src/chip/chip.spec.tsx
CHANGED
|
@@ -54,9 +54,6 @@ const defaultOptions = {
|
|
|
54
54
|
* @ux {Removable} An optional remove icon allows the chip to be dismissed.
|
|
55
55
|
* @ux {Icon or avatar} Can display an icon or avatar image alongside the label.
|
|
56
56
|
* @ux {Disabled state} When disabled, the chip is non-interactive.
|
|
57
|
-
* @aria {role="presentation" or "listitem"} Used for read-only, informational chips that must still be announced; `aria-pressed` is omitted for these.
|
|
58
|
-
* @aria {aria-haspopup} Indicates the Chip opens a popup on activation instead of toggling a pressed state; `aria-pressed` is omitted when present.
|
|
59
|
-
* @aria {tabindex="-1"} When used as a static label inside another focusable or roving-tabindex container (e.g. a TreeView row), the Chip must not be independently focusable; pairing it with `pointer-events: none` also lets clicks and hover pass through to that container.
|
|
60
57
|
*/
|
|
61
58
|
export const Chip: KendoComponent<KendoChipProps & KendoChipState & React.HTMLAttributes<HTMLDivElement>> = (
|
|
62
59
|
props: KendoChipProps &
|
|
@@ -141,8 +138,6 @@ Chip.folderName = CHIP_FOLDER_NAME;
|
|
|
141
138
|
/**
|
|
142
139
|
* @keyboard {ArrowRight} Focuses the next chip in a horizontally oriented chiplist.
|
|
143
140
|
* @keyboard {ArrowLeft} Focuses the previous chip in a horizontally oriented group.
|
|
144
|
-
* @keyboard {ArrowDown} Focuses the next chip in a vertically stacked group (e.g. a field list).
|
|
145
|
-
* @keyboard {ArrowUp} Focuses the previous chip in a vertically stacked group.
|
|
146
141
|
* @keyboard {Enter or Space} Triggers a click action on the Chip.
|
|
147
142
|
* @keyboard {Delete or Backspace} Removes the Chip when a delete action is configured.
|
|
148
143
|
*
|
|
@@ -6,7 +6,12 @@ export const DATA_INSIGHTS_COMPOSER_FIELDS_CLASSNAME = 'k-datainsights-composer-
|
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Wraps the row of field chips shown in the empty/prompt state.
|
|
9
|
-
* @
|
|
9
|
+
* @aria {role="group"} Groups data-source chips that act as popup triggers.
|
|
10
|
+
* @aria {aria-label} Names the data-source chip group.
|
|
11
|
+
* @aria {aria-haspopup="true"} Indicates that each data-source chip opens a popup.
|
|
12
|
+
* @aria {tabindex="0" or "-1"} Maintains one data-source chip in the tab order using roving tabindex.
|
|
13
|
+
* @keyboard {Tab} Moves focus into the group through its active roving-tabindex chip, or from that chip to the next focusable element.
|
|
14
|
+
* @keyboard {Shift+Tab} Moves focus from the active chip to the previous focusable element.
|
|
10
15
|
* @keyboard {ArrowRight or ArrowLeft} Moves the roving tab stop between the data source chips, same as the standalone ChipList.
|
|
11
16
|
* @keyboard {Enter or Space} Opens the Data Source popup for the focused chip.
|
|
12
17
|
*/
|
|
@@ -23,8 +23,8 @@ export interface DataInsightsComposerHistoryCheckpointProps extends React.HTMLAt
|
|
|
23
23
|
* @aria {role="option"} Each checkpoint is an option in the history listbox.
|
|
24
24
|
* @aria {tabindex="-1"} Non-active checkpoints stay out of the tab order.
|
|
25
25
|
* @keyboard {ArrowUp or ArrowDown} Moves the roving tab stop between checkpoints, same as a standard list.
|
|
26
|
-
* @keyboard {Tab} From the active
|
|
27
|
-
* @keyboard {Shift+Tab} From a restore button, returns focus to its own checkpoint.
|
|
26
|
+
* @keyboard {Tab} From the active checkpoint, moves focus to its restore button. From that button, or from the current checkpoint which has no restore action, moves focus outside the popup.
|
|
27
|
+
* @keyboard {Shift+Tab} From a restore button, returns focus to its own checkpoint. From the active checkpoint, moves focus to the previous focusable element outside the popup.
|
|
28
28
|
* A history item with a timestamp and an optional restore action.
|
|
29
29
|
*/
|
|
30
30
|
export const DataInsightsComposerHistoryCheckpoint: KendoComponent<DataInsightsComposerHistoryCheckpointProps> = (props) => {
|
|
@@ -5,7 +5,11 @@ import { DATA_INSIGHTS_COMPOSER_FOLDER_NAME, DATA_INSIGHTS_COMPOSER_MODULE_NAME
|
|
|
5
5
|
|
|
6
6
|
export const DATA_INSIGHTS_COMPOSER_POPUP_CLASSNAME = 'k-datainsights-composer-popup';
|
|
7
7
|
|
|
8
|
-
/**
|
|
8
|
+
/**
|
|
9
|
+
* Popup shell used by the Composer data-source and history views.
|
|
10
|
+
* @aria {role="presentation"} Removes button semantics from field-label chips in data-source popups.
|
|
11
|
+
* @aria {tabindex="0" or "-1"} Uses roving tabindex for a standalone field list; chips embedded in TreeView items stay out of the tab order.
|
|
12
|
+
*/
|
|
9
13
|
export const DataInsightsComposerPopup: KendoComponent<React.HTMLAttributes<HTMLDivElement>> = (props) => {
|
|
10
14
|
const { className, children, ...other } = props;
|
|
11
15
|
return (
|
|
@@ -27,4 +31,12 @@ DataInsightsComposerPopup.defaultOptions = {};
|
|
|
27
31
|
DataInsightsComposerPopup.moduleName = DATA_INSIGHTS_COMPOSER_MODULE_NAME;
|
|
28
32
|
DataInsightsComposerPopup.folderName = DATA_INSIGHTS_COMPOSER_FOLDER_NAME;
|
|
29
33
|
|
|
34
|
+
/**
|
|
35
|
+
* @keyboard {ArrowDown} Moves to the next chip in a data-source field list, or from the browser search box to the first TreeView item.
|
|
36
|
+
* @keyboard {ArrowUp} Moves to the previous chip in a data-source field list, or from the first browser TreeView item to the search box.
|
|
37
|
+
* @keyboard {Tab} In a data-source field-list popup, moves focus into the list through its active roving-tabindex chip; pressing Tab again moves focus outside the popup.
|
|
38
|
+
* @keyboard {Shift+Tab} From the active chip in a data-source field-list popup, moves focus to the previous focusable element outside the popup.
|
|
39
|
+
* @keyboard {Escape} Closes the popup and returns focus to the element that opened it.
|
|
40
|
+
*/
|
|
41
|
+
|
|
30
42
|
export default DataInsightsComposerPopup;
|
package/src/datainsights-composer/templates/datainsights-composer-data-source-browser-popup.tsx
CHANGED
|
@@ -6,7 +6,7 @@ import { DataInsightsComposerPopup } from '..';
|
|
|
6
6
|
const TreeviewChipItem = ({ text }: { text: string }) => (
|
|
7
7
|
<TreeviewItem
|
|
8
8
|
content={
|
|
9
|
-
<Chip role="presentation" tabIndex={-1} text={text} rounded="full" fillMode="outline"
|
|
9
|
+
<Chip role="presentation" tabIndex={-1} text={text} rounded="full" fillMode="outline" />
|
|
10
10
|
}
|
|
11
11
|
/>
|
|
12
12
|
);
|
package/src/datainsights-composer/templates/datainsights-composer-data-source-fields-popup.tsx
CHANGED
|
@@ -10,11 +10,11 @@ export const DataInsightsComposerDataSourceFieldsPopup = (props: any) => (
|
|
|
10
10
|
sales_order
|
|
11
11
|
</DataInsightsComposerPopupListGroupHeader>
|
|
12
12
|
<ChipList className="k-datainsights-composer-popup-field-list" role="none">
|
|
13
|
-
<Chip role="presentation" tabIndex={0} rounded="full" fillMode="outline"
|
|
14
|
-
<Chip role="presentation" tabIndex={-1} rounded="full" fillMode="outline"
|
|
15
|
-
<Chip role="presentation" tabIndex={-1} rounded="full" fillMode="outline"
|
|
16
|
-
<Chip role="presentation" tabIndex={-1} rounded="full" fillMode="outline"
|
|
17
|
-
<Chip role="presentation" tabIndex={-1} rounded="full" fillMode="outline"
|
|
13
|
+
<Chip role="presentation" tabIndex={0} rounded="full" fillMode="outline" text="SalesOrderID" />
|
|
14
|
+
<Chip role="presentation" tabIndex={-1} rounded="full" fillMode="outline" text="OrderDate" />
|
|
15
|
+
<Chip role="presentation" tabIndex={-1} rounded="full" fillMode="outline" text="ShipDate" />
|
|
16
|
+
<Chip role="presentation" tabIndex={-1} rounded="full" fillMode="outline" text="SubTotal" />
|
|
17
|
+
<Chip role="presentation" tabIndex={-1} rounded="full" fillMode="outline" text="TaxAmt" />
|
|
18
18
|
</ChipList>
|
|
19
19
|
</DataInsightsComposerPopup>
|
|
20
20
|
);
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { DataInsightsComposerHistoryPopup } from '../templates/datainsights-composer-history-popup';
|
|
2
1
|
import { DataInsightsComposerHistoryCheckpoint, DataInsightsComposerPopupListGroupHeader } from '..';
|
|
3
2
|
import { List, ListContent } from '../../list';
|
|
4
3
|
import { Popup } from '../../popup';
|
|
@@ -13,10 +12,6 @@ const styles = `
|
|
|
13
12
|
export default () => (
|
|
14
13
|
<>
|
|
15
14
|
<style>{styles}</style>
|
|
16
|
-
<div id="test-area">
|
|
17
|
-
<h3>History popup</h3>
|
|
18
|
-
<DataInsightsComposerHistoryPopup />
|
|
19
|
-
</div>
|
|
20
15
|
<div id="test-area">
|
|
21
16
|
<h3>History popup states</h3>
|
|
22
17
|
<Popup className={classNames('k-list-container', 'k-datainsights-composer-popup')} containerRole="region" containerAriaLabel="History">
|