dap-design-system 0.40.3 → 0.41.0
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 +65 -0
- package/dist/dds.js +3238 -3154
- package/dist/dds.js.map +1 -1
- package/dist/manifest/types/vue/index.d.ts +559 -520
- package/dist/manifest/vscode.html-custom-data.json +469 -422
- package/dist/manifest/web-types.json +1337 -1232
- package/dist/react-types.ts +19 -18
- package/dist/react.d.ts +104 -0
- package/dist/react.js +715 -705
- package/dist/react.js.map +1 -1
- package/package.json +1 -1
package/dist/dds.d.ts
CHANGED
|
@@ -733,6 +733,8 @@ declare type CaptionProps = {
|
|
|
733
733
|
size: never;
|
|
734
734
|
};
|
|
735
735
|
|
|
736
|
+
declare type ChipSize = 'sm' | 'lg';
|
|
737
|
+
|
|
736
738
|
declare interface ChoiceElementMixinInterface {
|
|
737
739
|
checked: boolean;
|
|
738
740
|
}
|
|
@@ -2374,6 +2376,65 @@ export declare class DapDSCheckbox extends LabeledChoiceElement {
|
|
|
2374
2376
|
render(): TemplateResult_2;
|
|
2375
2377
|
}
|
|
2376
2378
|
|
|
2379
|
+
/**
|
|
2380
|
+
* `dap-ds-chip`
|
|
2381
|
+
* @summary A chip is a small status descriptor for UI elements.
|
|
2382
|
+
* @element dap-ds-chip
|
|
2383
|
+
* @title - Chip
|
|
2384
|
+
*
|
|
2385
|
+
* @event {{ value: string }} dds-remove - Fired when the chip is removed
|
|
2386
|
+
* @event {{ value?: string, selected: boolean }} dds-select - Fired when the chip is selected
|
|
2387
|
+
*
|
|
2388
|
+
* @csspart base - The base part
|
|
2389
|
+
* @csspart content-container - The container for the content
|
|
2390
|
+
* @csspart remove-button - The remove button
|
|
2391
|
+
*
|
|
2392
|
+
* @cssproperty --dds-chip-border-width - Border width of the chip
|
|
2393
|
+
* @cssproperty --dds-chip-border-style - Border style of the chip
|
|
2394
|
+
* @cssproperty --dds-chip-border-radius - Border radius of the chip
|
|
2395
|
+
* @cssProperty --dds-chip-border-color - Border color of the chip
|
|
2396
|
+
* @cssproperty --dds-chip-font-weight - Font weight of the chip
|
|
2397
|
+
* @cssproperty --dds-chip-line-height - Line height of the chip
|
|
2398
|
+
* @cssproperty --dds-chip-transition - Transition timing for chip interactions
|
|
2399
|
+
* @cssproperty --dds-chip-padding-sm - Padding for small chip size
|
|
2400
|
+
* @cssproperty --dds-chip-padding-lg - Padding for large chip size
|
|
2401
|
+
* @cssproperty --dds-chip-font-size-sm - Font size for small chip size
|
|
2402
|
+
* @cssproperty --dds-chip-font-size-lg - Font size for large chip size
|
|
2403
|
+
* @cssproperty --dds-chip-background-color - Background color of the chip
|
|
2404
|
+
* @cssproperty --dds-chip-text-color - Text color of the chip
|
|
2405
|
+
* @cssproperty --dds-chip-hover-background-color - Background color of the chip on hover
|
|
2406
|
+
* @cssproperty --dds-chip-active-background-color - Background color of the chip when active
|
|
2407
|
+
* @cssproperty --dds-chip-selected-background-color - Background color of the selected chip
|
|
2408
|
+
* @cssproperty --dds-chip-selected-text-color - Text color of the selected chip
|
|
2409
|
+
* @cssproperty --dds-chip-selected-border-color - Border color of the selected chip
|
|
2410
|
+
* @cssproperty --dds-chip-disabled-background-color - Background color of the disabled chip
|
|
2411
|
+
* @cssproperty --dds-chip-disabled-text-color - Text color of the disabled chip
|
|
2412
|
+
*/
|
|
2413
|
+
export declare class DapDSChip extends DdsElement {
|
|
2414
|
+
/** The size of the badge
|
|
2415
|
+
* @type { 'sm' | 'lg' }
|
|
2416
|
+
*/
|
|
2417
|
+
size: ChipSize;
|
|
2418
|
+
/** Whether the chip is removeable */
|
|
2419
|
+
removeable: boolean;
|
|
2420
|
+
/** Whether the chip is selectable */
|
|
2421
|
+
selectable: boolean;
|
|
2422
|
+
/** Whether the chip is selected */
|
|
2423
|
+
selected: boolean;
|
|
2424
|
+
/** Whether the chip is disabled */
|
|
2425
|
+
disabled: boolean;
|
|
2426
|
+
/** The value of the chip */
|
|
2427
|
+
value?: string;
|
|
2428
|
+
/** The aria label for the delete button */
|
|
2429
|
+
deleteAriaLabel?: string;
|
|
2430
|
+
static readonly styles: CSSResult;
|
|
2431
|
+
updated(changedProperties: Map<string, unknown>): void;
|
|
2432
|
+
private handleClick;
|
|
2433
|
+
private handleRemove;
|
|
2434
|
+
private handleKeyDown;
|
|
2435
|
+
render(): TemplateResult_2;
|
|
2436
|
+
}
|
|
2437
|
+
|
|
2377
2438
|
/**
|
|
2378
2439
|
* `dap-ds-combobox`
|
|
2379
2440
|
* @summary A select is a form element that allows the user to select one option from a set.
|
|
@@ -6881,6 +6942,10 @@ export declare type DdsPaginationChangeEvent = CustomEvent<{
|
|
|
6881
6942
|
pagination: PaginationState;
|
|
6882
6943
|
}>;
|
|
6883
6944
|
|
|
6945
|
+
export declare type DdsRemoveEvent = CustomEvent<{
|
|
6946
|
+
value: string;
|
|
6947
|
+
}>;
|
|
6948
|
+
|
|
6884
6949
|
export declare type DdsRowClickEvent = CustomEvent<SortingState[]>;
|
|
6885
6950
|
|
|
6886
6951
|
export declare type DdsSearchEvent = CustomEvent<{
|