dap-design-system 0.9.150 → 0.9.153
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/dds.d.ts +23 -1
- package/dist/dds.js +1735 -1695
- package/dist/dds.js.map +1 -1
- package/dist/manifest/types/vue/index.d.ts +29 -17
- package/dist/manifest/vscode.html-custom-data.json +33 -11
- package/dist/manifest/web-types.json +49 -21
- package/dist/react.d.ts +25 -1
- package/dist/react.js +7 -7
- package/dist/react.js.map +1 -1
- package/package.json +2 -3
package/dist/dds.d.ts
CHANGED
|
@@ -554,15 +554,20 @@ declare class ComboboxBaseElement extends GenericFormElement {
|
|
|
554
554
|
selectable?: string;
|
|
555
555
|
noAnimation?: boolean;
|
|
556
556
|
noTextComplete?: boolean;
|
|
557
|
+
openOnEmpty?: boolean;
|
|
558
|
+
searchButtonAriaLabel?: string;
|
|
557
559
|
selectedItem: any;
|
|
558
560
|
currentItem: any;
|
|
559
561
|
selectedText: string;
|
|
562
|
+
itemCount: number;
|
|
560
563
|
static styles: CSSResult;
|
|
561
564
|
protected firstUpdated(_changedProperties: PropertyValueMap<any> | Map<PropertyKey, unknown>): Promise<void>;
|
|
562
565
|
attributeChangedCallback(name: string, _old: string | null, value: string | null): void;
|
|
563
566
|
get isAutoComplete(): boolean;
|
|
567
|
+
get isOpenOnEmpty(): boolean;
|
|
568
|
+
get isOpenOnAutocomplete(): boolean;
|
|
564
569
|
handleClick: () => void;
|
|
565
|
-
handleKeyDown: (event: KeyboardEvent) => Promise<void>;
|
|
570
|
+
handleKeyDown: (event: KeyboardEvent) => Promise<false | void>;
|
|
566
571
|
handleInput: (event: InputEvent) => Promise<void>;
|
|
567
572
|
clearSelection(): Promise<void>;
|
|
568
573
|
handleListKeyDown: (event: CustomEvent) => void;
|
|
@@ -574,6 +579,7 @@ declare class ComboboxBaseElement extends GenericFormElement {
|
|
|
574
579
|
get focusElement(): void;
|
|
575
580
|
handleSelectedChange: (event: CustomEvent) => Promise<void>;
|
|
576
581
|
handleCurrentOptionChange: (event: CustomEvent) => void;
|
|
582
|
+
handleListChanged: (event: CustomEvent) => void;
|
|
577
583
|
handleClearClick: () => void;
|
|
578
584
|
handleSearchClick: (event: MouseEvent) => void;
|
|
579
585
|
private setSelectionRange;
|
|
@@ -992,6 +998,7 @@ export declare class DapDSCallout extends DdsElement {
|
|
|
992
998
|
export declare class DapDSCard extends DapDSCard_base {
|
|
993
999
|
interactive: boolean;
|
|
994
1000
|
disabled: boolean;
|
|
1001
|
+
noBorder: boolean;
|
|
995
1002
|
target: LinkTarget;
|
|
996
1003
|
href: string;
|
|
997
1004
|
rel: string;
|
|
@@ -1210,6 +1217,7 @@ export declare class DapDSCheckbox extends LabelPositionedFormElement {
|
|
|
1210
1217
|
* @attribute {string} feedback - The feedback content of the select.
|
|
1211
1218
|
* @attribute {'error' | 'warning' | 'info'} feedbackType - The feedback type of the select.
|
|
1212
1219
|
* @attribute {'none' | 'typehead' | 'autocomplete' | 'manual'} searchMode - The search mode of the select.
|
|
1220
|
+
* @attribute {boolean} openOnEmpty - Whether the combobox should open on empty results.
|
|
1213
1221
|
*
|
|
1214
1222
|
* @csspart base - The main select container.
|
|
1215
1223
|
* @csspart trigger - The trigger button of the select.
|
|
@@ -1562,6 +1570,7 @@ export declare class DapDSIcon extends DdsElement {
|
|
|
1562
1570
|
* @attribute {string} ariaLabel - The aria label of the button.
|
|
1563
1571
|
* @attribute {string} name - The name of the button.
|
|
1564
1572
|
* @attribute {string} icon - The icon of the button. You can use the icon name from the icon component.
|
|
1573
|
+
* @attribute {number} iconSize - The size of the icon in pixels. By default the icon gets the size of the button. This property overwrites the size of the icon.
|
|
1565
1574
|
*
|
|
1566
1575
|
* @slot - The icon of the button.
|
|
1567
1576
|
*
|
|
@@ -1572,6 +1581,7 @@ export declare class DapDSIconButton extends DdsElement {
|
|
|
1572
1581
|
variant?: ButtonVariant_2;
|
|
1573
1582
|
clean?: boolean | undefined;
|
|
1574
1583
|
size: ButtonSize_2;
|
|
1584
|
+
iconSize: number;
|
|
1575
1585
|
disabled: boolean;
|
|
1576
1586
|
htmlType: HtmlButtonType_2;
|
|
1577
1587
|
icon: string;
|
|
@@ -1747,6 +1757,7 @@ export declare class DapDSListItem extends DdsElement {
|
|
|
1747
1757
|
title: string;
|
|
1748
1758
|
icon: string;
|
|
1749
1759
|
number: number;
|
|
1760
|
+
interactive: boolean;
|
|
1750
1761
|
static styles: CSSResult;
|
|
1751
1762
|
getIcon: (icon: string, variant: ListItemVariant, status: ListItemStatus, number?: number) => TemplateResult_2;
|
|
1752
1763
|
render(): TemplateResult_2;
|
|
@@ -2186,6 +2197,8 @@ export declare class DapDSRadioGroup extends GenericFormElement {
|
|
|
2186
2197
|
* @attribute {boolean} searchForText - Whether the search should search for the selected item text.
|
|
2187
2198
|
* @attribute {boolean} noTextComplete - Whether the search should not complete the text.
|
|
2188
2199
|
* @attribute {'none' | 'typehead' | 'autocomplete' | 'manual'} searchMode - The search mode of the select.
|
|
2200
|
+
* @attribute {string} searchButtonAriaLabel - The aria label of the search button.
|
|
2201
|
+
* @attribute {boolean} openOnEmpty - Whether the search should open on empty results.
|
|
2189
2202
|
*
|
|
2190
2203
|
* @csspart base - The main search container.
|
|
2191
2204
|
* @csspart trigger - The trigger button of the search.
|
|
@@ -2822,6 +2835,8 @@ export declare type DdsOpenedEvent = CustomEvent<Record<PropertyKey, never>>;
|
|
|
2822
2835
|
|
|
2823
2836
|
export declare type DdsOptionChangeEvent = CustomEvent<Record<PropertyKey, never>>;
|
|
2824
2837
|
|
|
2838
|
+
export declare type DdsOptionItemsChangedEvent = CustomEvent<Record<PropertyKey, never>>;
|
|
2839
|
+
|
|
2825
2840
|
export declare type DdsSearchEvent = CustomEvent<Record<PropertyKey, never>>;
|
|
2826
2841
|
|
|
2827
2842
|
export declare type DdsSelectEvent = CustomEvent<Record<PropertyKey, never>>;
|
|
@@ -4247,6 +4262,13 @@ declare global {
|
|
|
4247
4262
|
}
|
|
4248
4263
|
|
|
4249
4264
|
|
|
4265
|
+
declare global {
|
|
4266
|
+
interface GlobalEventHandlersEventMap {
|
|
4267
|
+
'dds-option-items-changed': DdsOptionItemsChangedEvent;
|
|
4268
|
+
}
|
|
4269
|
+
}
|
|
4270
|
+
|
|
4271
|
+
|
|
4250
4272
|
declare global {
|
|
4251
4273
|
interface GlobalEventHandlersEventMap {
|
|
4252
4274
|
'dds-search': DdsSearchEvent;
|