dap-design-system 0.9.150 → 0.9.152
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 +20 -0
- package/dist/dds.js +1506 -1478
- package/dist/dds.js.map +1 -1
- package/dist/manifest/types/vue/index.d.ts +148 -140
- package/dist/manifest/vscode.html-custom-data.json +104 -84
- package/dist/manifest/web-types.json +219 -198
- package/dist/react.d.ts +142 -120
- package/dist/react.js +58 -58
- package/dist/react.js.map +1 -1
- package/package.json +2 -3
package/dist/dds.d.ts
CHANGED
|
@@ -554,13 +554,18 @@ 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
570
|
handleKeyDown: (event: KeyboardEvent) => Promise<void>;
|
|
566
571
|
handleInput: (event: InputEvent) => Promise<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;
|
|
@@ -1210,6 +1216,7 @@ export declare class DapDSCheckbox extends LabelPositionedFormElement {
|
|
|
1210
1216
|
* @attribute {string} feedback - The feedback content of the select.
|
|
1211
1217
|
* @attribute {'error' | 'warning' | 'info'} feedbackType - The feedback type of the select.
|
|
1212
1218
|
* @attribute {'none' | 'typehead' | 'autocomplete' | 'manual'} searchMode - The search mode of the select.
|
|
1219
|
+
* @attribute {boolean} openOnEmpty - Whether the combobox should open on empty results.
|
|
1213
1220
|
*
|
|
1214
1221
|
* @csspart base - The main select container.
|
|
1215
1222
|
* @csspart trigger - The trigger button of the select.
|
|
@@ -1562,6 +1569,7 @@ export declare class DapDSIcon extends DdsElement {
|
|
|
1562
1569
|
* @attribute {string} ariaLabel - The aria label of the button.
|
|
1563
1570
|
* @attribute {string} name - The name of the button.
|
|
1564
1571
|
* @attribute {string} icon - The icon of the button. You can use the icon name from the icon component.
|
|
1572
|
+
* @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
1573
|
*
|
|
1566
1574
|
* @slot - The icon of the button.
|
|
1567
1575
|
*
|
|
@@ -1572,6 +1580,7 @@ export declare class DapDSIconButton extends DdsElement {
|
|
|
1572
1580
|
variant?: ButtonVariant_2;
|
|
1573
1581
|
clean?: boolean | undefined;
|
|
1574
1582
|
size: ButtonSize_2;
|
|
1583
|
+
iconSize: number;
|
|
1575
1584
|
disabled: boolean;
|
|
1576
1585
|
htmlType: HtmlButtonType_2;
|
|
1577
1586
|
icon: string;
|
|
@@ -2186,6 +2195,8 @@ export declare class DapDSRadioGroup extends GenericFormElement {
|
|
|
2186
2195
|
* @attribute {boolean} searchForText - Whether the search should search for the selected item text.
|
|
2187
2196
|
* @attribute {boolean} noTextComplete - Whether the search should not complete the text.
|
|
2188
2197
|
* @attribute {'none' | 'typehead' | 'autocomplete' | 'manual'} searchMode - The search mode of the select.
|
|
2198
|
+
* @attribute {string} searchButtonAriaLabel - The aria label of the search button.
|
|
2199
|
+
* @attribute {boolean} openOnEmpty - Whether the search should open on empty results.
|
|
2189
2200
|
*
|
|
2190
2201
|
* @csspart base - The main search container.
|
|
2191
2202
|
* @csspart trigger - The trigger button of the search.
|
|
@@ -2822,6 +2833,8 @@ export declare type DdsOpenedEvent = CustomEvent<Record<PropertyKey, never>>;
|
|
|
2822
2833
|
|
|
2823
2834
|
export declare type DdsOptionChangeEvent = CustomEvent<Record<PropertyKey, never>>;
|
|
2824
2835
|
|
|
2836
|
+
export declare type DdsOptionItemsChangedEvent = CustomEvent<Record<PropertyKey, never>>;
|
|
2837
|
+
|
|
2825
2838
|
export declare type DdsSearchEvent = CustomEvent<Record<PropertyKey, never>>;
|
|
2826
2839
|
|
|
2827
2840
|
export declare type DdsSelectEvent = CustomEvent<Record<PropertyKey, never>>;
|
|
@@ -4247,6 +4260,13 @@ declare global {
|
|
|
4247
4260
|
}
|
|
4248
4261
|
|
|
4249
4262
|
|
|
4263
|
+
declare global {
|
|
4264
|
+
interface GlobalEventHandlersEventMap {
|
|
4265
|
+
'dds-option-items-changed': DdsOptionItemsChangedEvent;
|
|
4266
|
+
}
|
|
4267
|
+
}
|
|
4268
|
+
|
|
4269
|
+
|
|
4250
4270
|
declare global {
|
|
4251
4271
|
interface GlobalEventHandlersEventMap {
|
|
4252
4272
|
'dds-search': DdsSearchEvent;
|