@progress/kendo-themes-html 14.7.1-dev.2 → 14.7.1-dev.3
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/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 +1 -1
- 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/tests/datainsights-composer-history.tsx +0 -5
|
@@ -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
|
@@ -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;
|
|
@@ -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">
|