dap-design-system 0.35.21 → 0.35.22
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 +105 -107
- package/dist/dds.js +261 -270
- package/dist/dds.js.map +1 -1
- package/dist/manifest/types/vue/index.d.ts +521 -517
- package/dist/manifest/vscode.html-custom-data.json +173 -173
- package/dist/manifest/web-types.json +617 -415
- package/dist/react-types.ts +17 -17
- package/dist/react.d.ts +211 -217
- package/dist/react.js +161 -163
- package/dist/react.js.map +1 -1
- package/package.json +1 -1
package/dist/dds.d.ts
CHANGED
|
@@ -790,8 +790,8 @@ export declare type CSSFlexDirection = 'column' | 'row' | 'column-reverse' | 'ro
|
|
|
790
790
|
* @property { 'default' | 'collapsed' | 'clean' | 'clean-collapsed' } variant - The variant of the accordion.
|
|
791
791
|
* @property {boolean} lastItem - Whether the accordion is the last item.
|
|
792
792
|
*
|
|
793
|
-
* @event dds-opened - Event fired when the accordion is opened.
|
|
794
|
-
* @event dds-closed - Event fired when the accordion is closed.
|
|
793
|
+
* @event {{ open: boolean, item: AccordionBaseElement }} dds-opened - Event fired when the accordion is opened.
|
|
794
|
+
* @event {{ open: boolean, item: AccordionBaseElement }} dds-closed - Event fired when the accordion is closed.
|
|
795
795
|
*
|
|
796
796
|
* @slot default - The content of the accordion.
|
|
797
797
|
* @slot heading - The heading of the accordion.
|
|
@@ -838,8 +838,6 @@ export declare class DapDSAccordion extends AccordionBaseElement {
|
|
|
838
838
|
* @summary An accordion group is a collection of accordion components.
|
|
839
839
|
* @title - Accordion group
|
|
840
840
|
* @group accordion
|
|
841
|
-
* *
|
|
842
|
-
* @event dds-change - Event fired when an accordion is opened or closed.
|
|
843
841
|
*
|
|
844
842
|
* @slot - The content of the accordion group.
|
|
845
843
|
*
|
|
@@ -1012,7 +1010,7 @@ export declare class DapDSBadge extends DdsElement {
|
|
|
1012
1010
|
* @summary A banner is a message displayed at the top of the page to provide important information to the user.
|
|
1013
1011
|
* @title - Banner
|
|
1014
1012
|
*
|
|
1015
|
-
* @event dds-close - Event fired when the banner is closed.
|
|
1013
|
+
* @event {{ void }} dds-close - Event fired when the banner is closed.
|
|
1016
1014
|
*
|
|
1017
1015
|
* @slot - The content of the banner.
|
|
1018
1016
|
* @slot actions - Actions of banner
|
|
@@ -1355,7 +1353,7 @@ export declare class DapDSButton extends GenericFormElement {
|
|
|
1355
1353
|
* @element dap-ds-calendar
|
|
1356
1354
|
* @title - Calendar
|
|
1357
1355
|
*
|
|
1358
|
-
* @event dds-change - Fired when the calendar value changes.
|
|
1356
|
+
* @event {{ value: Dayjs }} dds-change - Fired when the calendar value changes.
|
|
1359
1357
|
*
|
|
1360
1358
|
* @slot - The content of the calendar.
|
|
1361
1359
|
*
|
|
@@ -1508,7 +1506,7 @@ declare const DapDSCalendarCell_base: typeof DdsElement & {
|
|
|
1508
1506
|
* @element dap-ds-callout
|
|
1509
1507
|
* @title - Callout
|
|
1510
1508
|
*
|
|
1511
|
-
* @event dds-close - Fired when the close button is clicked.
|
|
1509
|
+
* @event {{ void }} dds-close - Fired when the close button is clicked.
|
|
1512
1510
|
*
|
|
1513
1511
|
* @slot - The content of the callout.
|
|
1514
1512
|
* @slot title - The title of the callout.
|
|
@@ -1844,10 +1842,10 @@ declare const DapDSCardTitle_base: typeof DdsElement & {
|
|
|
1844
1842
|
* @element dap-ds-checkbox
|
|
1845
1843
|
* @title - Checkbox
|
|
1846
1844
|
*
|
|
1847
|
-
* @event dds-change - Fired when the checkbox is checked or unchecked.
|
|
1848
|
-
* @event dds-blur - Emitted when the checkbox loses focus.
|
|
1849
|
-
* @event dds-focus - Emitted when the checkbox gains focus.
|
|
1850
|
-
* @event dds-input - Emitted when the checkbox receives input.
|
|
1845
|
+
* @event {{ checked: boolean, indeterminate: boolean, value: string, disabled: boolean, type: 'checkbox' }} dds-change - Fired when the checkbox is checked or unchecked.
|
|
1846
|
+
* @event {{ void }} dds-blur - Emitted when the checkbox loses focus.
|
|
1847
|
+
* @event {{ void }} dds-focus - Emitted when the checkbox gains focus.
|
|
1848
|
+
* @event {{ checked: boolean, indeterminate: boolean, value: string, disabled: boolean }} dds-input - Emitted when the checkbox receives input.
|
|
1851
1849
|
*
|
|
1852
1850
|
* @property {string} name - The name of the checkbox.
|
|
1853
1851
|
* @property {string} value - The value of the checkbox.
|
|
@@ -1927,12 +1925,12 @@ export declare class DapDSCheckbox extends LabeledChoiceElement {
|
|
|
1927
1925
|
* @element dap-ds-combobox
|
|
1928
1926
|
* @title - Combobox
|
|
1929
1927
|
*
|
|
1930
|
-
* @event dds-change - Fired when the select value changes.
|
|
1931
|
-
* @event dds-blur - Emitted when the select loses focus.
|
|
1932
|
-
* @event dds-focus - Emitted when the select gains focus.
|
|
1933
|
-
* @event dds-clear - Emitted when the select is cleared.
|
|
1934
|
-
* @event dds-search - Emitted when the manual input value changes.
|
|
1935
|
-
* @event dds-input - Emitted when typing happens in the input.
|
|
1928
|
+
* @event {{ value }} dds-change - Fired when the select value changes.
|
|
1929
|
+
* @event {{ void }} dds-blur - Emitted when the select loses focus.
|
|
1930
|
+
* @event {{ void }} dds-focus - Emitted when the select gains focus.
|
|
1931
|
+
* @event {{ void }} dds-clear - Emitted when the select is cleared.
|
|
1932
|
+
* @event {{ search: string }} dds-search - Emitted when the manual input value changes.
|
|
1933
|
+
* @event {{ input: string, originalEvent: Event }} dds-input - Emitted when typing happens in the input.
|
|
1936
1934
|
*
|
|
1937
1935
|
* @property {string} value - The value of the select.
|
|
1938
1936
|
* @property {string} placeholder - The placeholder of the select.
|
|
@@ -2073,7 +2071,7 @@ export declare class DapDSCommandGroup extends DdsElement {
|
|
|
2073
2071
|
* @title - Command item
|
|
2074
2072
|
* @group command
|
|
2075
2073
|
*
|
|
2076
|
-
* @event dds-command-item-click - Fired when the command item is clicked.
|
|
2074
|
+
* @event {{ value: string, closeOnSelect: boolean }} dds-command-item-click - Fired when the command item is clicked.
|
|
2077
2075
|
*
|
|
2078
2076
|
* @slot - The label of the command item.
|
|
2079
2077
|
* @slot check - The check of the command item.
|
|
@@ -2140,8 +2138,8 @@ export declare class DapDSCommandItem extends DdsElement {
|
|
|
2140
2138
|
*
|
|
2141
2139
|
* @slot - The content switcher items.
|
|
2142
2140
|
*
|
|
2143
|
-
* @event dds-change - Fired when the content switcher is changed.
|
|
2144
|
-
*
|
|
2141
|
+
* @event {{ value: string, selected: boolean }} dds-change - Fired when the content switcher is changed.
|
|
2142
|
+
*
|
|
2145
2143
|
* @csspart base - The main content switcher container.
|
|
2146
2144
|
*
|
|
2147
2145
|
* @cssproperty --dds-content-switcher-min-width - The minimum width of the content switcher (default: var(--dds-spacing-4000, 160px))
|
|
@@ -2227,13 +2225,13 @@ export declare class DapDSContentSwitcherItem extends DdsElement {
|
|
|
2227
2225
|
* @property {boolean} subtle - The weight of the label. Default is `false`
|
|
2228
2226
|
* @property {string} copyButtonAriaLabel - The aria label of the copy button.
|
|
2229
2227
|
*
|
|
2230
|
-
* @event dds-copy - Fired when the user clicks on the copy button.
|
|
2231
|
-
* @event dds-change - Fired when the input value changes.
|
|
2232
|
-
* @event dds-input - Fired when the input value changes.
|
|
2233
|
-
* @event dds-keydown - Fired when a key is pressed down.
|
|
2234
|
-
* @event dds-blur - Fired when the input loses focus.
|
|
2235
|
-
* @event dds-focus - Emitted when the input gains focus.
|
|
2236
|
-
* @event dds-not-allowed - Emitted when the value cannot be copied.
|
|
2228
|
+
* @event {{ value: string }} dds-copy - Fired when the user clicks on the copy button.
|
|
2229
|
+
* @event {{ value: string }} dds-change - Fired when the input value changes.
|
|
2230
|
+
* @event {{ value: string }} dds-input - Fired when the input value changes.
|
|
2231
|
+
* @event {{ value: string, originalEvent: Event }} dds-keydown - Fired when a key is pressed down.
|
|
2232
|
+
* @event {{ void }} dds-blur - Fired when the input loses focus.
|
|
2233
|
+
* @event {{ void }} dds-focus - Emitted when the input gains focus.
|
|
2234
|
+
* @event {{ void }} dds-not-allowed - Emitted when the value cannot be copied.
|
|
2237
2235
|
*
|
|
2238
2236
|
* @cssproperty --dds-input-height - The height of the input. Default is var(--dds-spacing-1000).
|
|
2239
2237
|
* @cssproperty --dds-input-padding - The padding of the input. Default is var(--dds-spacing-300).
|
|
@@ -2307,10 +2305,10 @@ export declare class DapDSDAPBadge extends DdsElement {
|
|
|
2307
2305
|
* @title - Data table
|
|
2308
2306
|
* @generic T
|
|
2309
2307
|
*
|
|
2310
|
-
* @event dds-sorting-change - Fired when the sorting of the table changes.
|
|
2311
|
-
* @event dds-selection-change - Fired when the selection of the table changes.
|
|
2312
|
-
* @event dds-pagination-change - Fired when the pagination of the table changes.
|
|
2313
|
-
* @event dds-row-click - Fired when a row is clicked.
|
|
2308
|
+
* @event {{ sorting: SortingState }} dds-sorting-change - Fired when the sorting of the table changes.
|
|
2309
|
+
* @event {{ selection: RowSelectionState }} dds-selection-change - Fired when the selection of the table changes.
|
|
2310
|
+
* @event {{ pagination: PaginationState }} dds-pagination-change - Fired when the pagination of the table changes.
|
|
2311
|
+
* @event {{ row: Row<T> }} dds-row-click - Fired when a row is clicked.
|
|
2314
2312
|
*
|
|
2315
2313
|
* @csspart base - The main table container.
|
|
2316
2314
|
* @csspart header - The header of the table.
|
|
@@ -2449,13 +2447,13 @@ export declare class DapDSDataTable<T> extends DdsElement {
|
|
|
2449
2447
|
* @property {string} autocomplete - The autocomplete of the datepicker.
|
|
2450
2448
|
* @property {boolean} autofocus - The autofocus of the datepicker.
|
|
2451
2449
|
*
|
|
2452
|
-
* @event dds-change - Fired when the datepicker value changes.
|
|
2453
|
-
* @event dds-input - Fired when the datepicker input value changes.
|
|
2454
|
-
* @event dds-valid-date - Fired when the datepicker input value is valid. Happens on manual input typing.
|
|
2455
|
-
* @event dds-invalid-date - Fired when the datepicker input value is invalid.
|
|
2456
|
-
* @event dds-clear - Fired when the datepicker is cleared.
|
|
2457
|
-
* @event dds-focus - Emitted when the datepicker gains focus.
|
|
2458
|
-
* @event dds-blur - Emitted when the datepicker loses focus.
|
|
2450
|
+
* @event {{ value: string }} dds-change - Fired when the datepicker value changes.
|
|
2451
|
+
* @event {{ value: string }} dds-input - Fired when the datepicker input value changes.
|
|
2452
|
+
* @event {{ value: string }} dds-valid-date - Fired when the datepicker input value is valid. Happens on manual input typing.
|
|
2453
|
+
* @event {{ value: string, type: 'invalid' | 'out-of-range' }} dds-invalid-date - Fired when the datepicker input value is invalid. Happens on manual input typing.
|
|
2454
|
+
* @event {{ void }} dds-clear - Fired when the datepicker is cleared.
|
|
2455
|
+
* @event {{ void }} dds-focus - Emitted when the datepicker gains focus.
|
|
2456
|
+
* @event {{ void }} dds-blur - Emitted when the datepicker loses focus.
|
|
2459
2457
|
*
|
|
2460
2458
|
* @csspart base - The main datepicker container.
|
|
2461
2459
|
* @csspart calendar - The calendar of the datepicker.
|
|
@@ -2673,13 +2671,13 @@ declare const DapDSFeedback_base: typeof DdsElement & {
|
|
|
2673
2671
|
* @property {boolean} optional - Whether the file input is optional.
|
|
2674
2672
|
* @property {boolean} subtle - Font weight of the feedback label. Default is `false` which is bold.
|
|
2675
2673
|
*
|
|
2676
|
-
* @event dds-upload-start - Fired when a file upload starts.
|
|
2677
|
-
* @event dds-upload-progress - Fired during file upload progress.
|
|
2678
|
-
* @event dds-upload-complete - Fired when a file upload completes successfully.
|
|
2679
|
-
* @event dds-upload-error - Fired when a file upload encounters an error.
|
|
2680
|
-
* @event dds-all-uploads-complete - Fired when all file uploads are complete.
|
|
2681
|
-
* @event dds-file-removed - Fired when a file is removed from the file input.
|
|
2682
|
-
* @event dds-file-change - Fired when the file input value changes.
|
|
2674
|
+
* @event {{ file: File }} dds-upload-start - Fired when a file upload starts.
|
|
2675
|
+
* @event {{ file: File, progress: number }} dds-upload-progress - Fired during file upload progress.
|
|
2676
|
+
* @event {{ file: File, item: DapDSFileInputListItem, result: any }} dds-upload-complete - Fired when a file upload completes successfully.
|
|
2677
|
+
* @event {{ file: File, item: DapDSFileInputListItem, error: Error }} dds-upload-error - Fired when a file upload encounters an error.
|
|
2678
|
+
* @event {{ void }} dds-all-uploads-complete - Fired when all file uploads are complete.
|
|
2679
|
+
* @event {{ file: FileListElement }} dds-file-removed - Fired when a file is removed from the file input.
|
|
2680
|
+
* @event {{ files: File[] }} dds-file-change - Fired when the file input value changes.
|
|
2683
2681
|
*
|
|
2684
2682
|
* @csspart base - The main file input container.
|
|
2685
2683
|
* @csspart input - The file input control.
|
|
@@ -2776,7 +2774,7 @@ declare const DapDSFileInputList_base: typeof DdsElement & {
|
|
|
2776
2774
|
* @title - File input list item
|
|
2777
2775
|
* @group file-input
|
|
2778
2776
|
*
|
|
2779
|
-
* @event dds-file-remove - Dispatched when a file is removed from the list.
|
|
2777
|
+
* @event {{ file: FileListElement }} dds-file-remove - Dispatched when a file is removed from the list.
|
|
2780
2778
|
*
|
|
2781
2779
|
* @csspart base - The main file input list item container.
|
|
2782
2780
|
* @csspart feedback - The feedback container.
|
|
@@ -3060,11 +3058,11 @@ export declare class DapDSIconButton extends DdsElement {
|
|
|
3060
3058
|
* @cssproperty --dds-input-addon-success-background - The background color of the success input addon. Default is var(--dds-background-ui-positive-enabled).
|
|
3061
3059
|
* @cssproperty --dds-input-addon-error-background - The background color of the error input addon. Default is var(--dds-background-ui-negative-enabled).
|
|
3062
3060
|
*
|
|
3063
|
-
* @event dds-change - Fired when the input value changes.
|
|
3064
|
-
* @event dds-input - Fired when the input value changes.
|
|
3065
|
-
* @event dds-keydown - Fired when a key is pressed down.
|
|
3066
|
-
* @event dds-blur - Fired when the input loses focus.
|
|
3067
|
-
* @event dds-focus - Emitted when the input gains focus.
|
|
3061
|
+
* @event {{ value: string }} dds-change - Fired when the input value changes.
|
|
3062
|
+
* @event {{ value: string }} dds-input - Fired when the input value changes.
|
|
3063
|
+
* @event {{ value: string, originalEvent: Event }} dds-keydown - Fired when a key is pressed down.
|
|
3064
|
+
* @event {{ void }} dds-blur - Fired when the input loses focus.
|
|
3065
|
+
* @event {{ void }} dds-focus - Emitted when the input gains focus.
|
|
3068
3066
|
*
|
|
3069
3067
|
* @slot postfix - The postfix of the input.
|
|
3070
3068
|
* @slot prefix - The prefix of the input.
|
|
@@ -3179,7 +3177,7 @@ declare const DapDSLabel_base: {
|
|
|
3179
3177
|
* @element dap-ds-link
|
|
3180
3178
|
* @title - Link
|
|
3181
3179
|
*
|
|
3182
|
-
* @event dds-click - Emitted when the link is clicked.
|
|
3180
|
+
* @event {{ event: Event }} dds-click - Emitted when the link is clicked.
|
|
3183
3181
|
*
|
|
3184
3182
|
* @slot - The text of the link.
|
|
3185
3183
|
*
|
|
@@ -3399,13 +3397,13 @@ export declare class DapDSListItem extends DdsElement {
|
|
|
3399
3397
|
* @property {string} header - Whether the modal should have a header. Default is true.
|
|
3400
3398
|
* @property {boolean} useNativeFocus - Whether the modal should use native focus. Default is false.
|
|
3401
3399
|
*
|
|
3402
|
-
* @event dds-before-open - Fires before the modal opens.
|
|
3403
|
-
* @event dds-opened - Fires after the modal opens.
|
|
3404
|
-
* @event dds-before-close - Fires before the modal closes.
|
|
3405
|
-
* @event dds-closed - Fires after the modal closed.
|
|
3406
|
-
* @event dds-close - Fires when the modal is closes. You can prevent the modal from closing by calling `event.preventDefault()`.
|
|
3407
|
-
* @event dds-ok - Fires when the OK button is clicked. You can prevent the modal from closing by calling `event.preventDefault()`.
|
|
3408
|
-
* @event dds-cancel - Fires when the Cancel button is clicked. You can prevent the modal from closing by calling `event.preventDefault()`.
|
|
3400
|
+
* @event {{ void }} dds-before-open - Fires before the modal opens.
|
|
3401
|
+
* @event {{ void }} dds-opened - Fires after the modal opens.
|
|
3402
|
+
* @event {{ void }} dds-before-close - Fires before the modal closes.
|
|
3403
|
+
* @event {{ void }} dds-closed - Fires after the modal closed.
|
|
3404
|
+
* @event {{ void }} dds-close - Fires when the modal is closes. You can prevent the modal from closing by calling `event.preventDefault()`.
|
|
3405
|
+
* @event {{ void }} dds-ok - Fires when the OK button is clicked. You can prevent the modal from closing by calling `event.preventDefault()`.
|
|
3406
|
+
* @event {{ void }} dds-cancel - Fires when the Cancel button is clicked. You can prevent the modal from closing by calling `event.preventDefault()`.
|
|
3409
3407
|
*
|
|
3410
3408
|
* @slot - The content of the modal.
|
|
3411
3409
|
* @slot title - The title of the modal.
|
|
@@ -3533,11 +3531,11 @@ export declare class DapDSNotificationBadge extends DdsElement {
|
|
|
3533
3531
|
* @property {boolean} disableEnter - Disables the enter key from being used to submit the form.
|
|
3534
3532
|
* @property {boolean} hideControls - Hides the increment and decrement buttons.
|
|
3535
3533
|
*
|
|
3536
|
-
* @event dds-change - Fired when the input value changes.
|
|
3537
|
-
* @event dds-input - Fired when the input value changes.
|
|
3538
|
-
* @event dds-keydown - Fired when a key is pressed down.
|
|
3539
|
-
* @event dds-blur - Fired when the input loses focus.
|
|
3540
|
-
* @event dds-focus - Emitted when the input gains focus.
|
|
3534
|
+
* @event {{ value: string }} dds-change - Fired when the input value changes.
|
|
3535
|
+
* @event {{ value: string }} dds-input - Fired when the input value changes.
|
|
3536
|
+
* @event {{ value: string, originalEvent: Event }} dds-keydown - Fired when a key is pressed down.
|
|
3537
|
+
* @event {{ void }} dds-blur - Fired when the input loses focus.
|
|
3538
|
+
* @event {{ void }} dds-focus - Emitted when the input gains focus.
|
|
3541
3539
|
*
|
|
3542
3540
|
* @slot feedback-icon - The custom icon of the feedback.
|
|
3543
3541
|
*
|
|
@@ -3596,8 +3594,8 @@ export declare class DapDSNumberInput extends InputBaseElement {
|
|
|
3596
3594
|
* @property { 'default' | 'collapsed' | 'clean' | 'clean-collapsed' } variant - The variant of the accordion.
|
|
3597
3595
|
* @property {boolean} lastItem - Whether the accordion is the last item.
|
|
3598
3596
|
*
|
|
3599
|
-
* @event dds-opened - Event fired when the accordion is opened.
|
|
3600
|
-
* @event dds-closed - Event fired when the accordion is closed.
|
|
3597
|
+
* @event {{ void }} dds-opened - Event fired when the accordion is opened.
|
|
3598
|
+
* @event {{ void }} dds-closed - Event fired when the accordion is closed.
|
|
3601
3599
|
*
|
|
3602
3600
|
* @slot default - The content of the accordion.
|
|
3603
3601
|
* @slot heading - The heading of the accordion.
|
|
@@ -3705,9 +3703,9 @@ declare const DapDSOptionItem_base: typeof DdsElement & {
|
|
|
3705
3703
|
* @element dap-ds-option-list
|
|
3706
3704
|
* @title - Option list
|
|
3707
3705
|
*
|
|
3708
|
-
* @event dds-cancel - Fired when the escape key is pressed.
|
|
3709
|
-
* @event dds-option-change - Fired when the option list value changes.
|
|
3710
|
-
* @event dds-keydown - Fired when a key is pressed down.
|
|
3706
|
+
* @event {{ void }} dds-cancel - Fired when the escape key is pressed.
|
|
3707
|
+
* @event {{ option: DapDSOptionItem, value: string, index: number, text: string }} dds-option-change - Fired when the option list value changes.
|
|
3708
|
+
* @event {{ void }} dds-keydown - Fired when a key is pressed down.
|
|
3711
3709
|
*
|
|
3712
3710
|
* @csspart base - The main option list container.
|
|
3713
3711
|
*
|
|
@@ -3809,7 +3807,7 @@ export declare class DapDSOverlay extends DdsElement {
|
|
|
3809
3807
|
* @element dap-ds-pager
|
|
3810
3808
|
* @title - Pager
|
|
3811
3809
|
*
|
|
3812
|
-
* @event dds-pagination-change - Event fired when the pagination changes
|
|
3810
|
+
* @event {{ action: string, pagination: { pageIndex: number, pageSize: number } }} dds-pagination-change - Event fired when the pagination changes
|
|
3813
3811
|
*
|
|
3814
3812
|
* @csspart base - The main pager container.
|
|
3815
3813
|
* @csspart first - The first page button.
|
|
@@ -3899,11 +3897,11 @@ export declare class DapDSPager extends DdsElement {
|
|
|
3899
3897
|
* @property {string} optionalLabel - The optional label of the password input.
|
|
3900
3898
|
* @property {boolean} subtle - The weight of the label. Default is `false`
|
|
3901
3899
|
*
|
|
3902
|
-
* @event dds-change - Fired when the input value changes.
|
|
3903
|
-
* @event dds-input - Fired when the input value changes.
|
|
3904
|
-
* @event dds-keydown - Fired when a key is pressed down.
|
|
3905
|
-
* @event dds-blur - Fired when the input loses focus.
|
|
3906
|
-
* @event dds-focus - Emitted when the input gains focus.
|
|
3900
|
+
* @event {{ value: string }} dds-change - Fired when the input value changes.
|
|
3901
|
+
* @event {{ value: string }} dds-input - Fired when the input value changes.
|
|
3902
|
+
* @event {{ value: string, originalEvent: Event }} dds-keydown - Fired when a key is pressed down.
|
|
3903
|
+
* @event {{ void }} dds-blur - Fired when the input loses focus.
|
|
3904
|
+
* @event {{ void }} dds-focus - Emitted when the input gains focus.
|
|
3907
3905
|
*
|
|
3908
3906
|
* @cssproperty --dds-input-height - The height of the input. Default is var(--dds-spacing-1000).
|
|
3909
3907
|
* @cssproperty --dds-input-padding - The padding of the input. Default is var(--dds-spacing-300).
|
|
@@ -3946,8 +3944,8 @@ export declare class DapDSPasswordInput extends InputBaseElement {
|
|
|
3946
3944
|
*
|
|
3947
3945
|
* @property {'xs' | 'sm' | 'lg'} size - The size of the popup.
|
|
3948
3946
|
*
|
|
3949
|
-
* @event dds-opened - Fired when the popup is opened.
|
|
3950
|
-
* @event dds-closed - Fired when the popup is closed.
|
|
3947
|
+
* @event {{ void }} dds-opened - Fired when the popup is opened.
|
|
3948
|
+
* @event {{ void }} dds-closed - Fired when the popup is closed.
|
|
3951
3949
|
*
|
|
3952
3950
|
* @slot trigger - The trigger of the popup.
|
|
3953
3951
|
* @slot - The content of the popup.
|
|
@@ -4028,10 +4026,10 @@ declare const DapDSPopup_base: typeof DdsElement & {
|
|
|
4028
4026
|
* @property {'left' | 'right'} labelPlacement - The placement of the label.
|
|
4029
4027
|
* @property {'top' | 'bottom'} descriptionPlacement - The placement of the description.
|
|
4030
4028
|
*
|
|
4031
|
-
* @event dds-change - Fired when the radio button is checked.
|
|
4032
|
-
* @event dds-blur - Emitted when the radio button loses focus.
|
|
4033
|
-
* @event dds-focus - Emitted when the radio button gains focus.
|
|
4034
|
-
* @event dds-input - Emitted when the radio button receives input.
|
|
4029
|
+
* @event {{ value: string }} dds-change - Fired when the radio button is checked.
|
|
4030
|
+
* @event {{ void }} dds-blur - Emitted when the radio button loses focus.
|
|
4031
|
+
* @event {{ void }} dds-focus - Emitted when the radio button gains focus.
|
|
4032
|
+
* @event {{ value: string }} dds-input - Emitted when the radio button receives input.
|
|
4035
4033
|
*
|
|
4036
4034
|
* @csspart base - The main radio button container.
|
|
4037
4035
|
* @csspart wrapper - The wrapper of the radio button.
|
|
@@ -4161,7 +4159,7 @@ export declare class DapDSRadioGroup extends GenericFormElement {
|
|
|
4161
4159
|
* @element dap-ds-rating
|
|
4162
4160
|
* @title - Rating
|
|
4163
4161
|
*
|
|
4164
|
-
* @event dds-change - Event fired when the rating value changes.
|
|
4162
|
+
* @event {{ value: number }} dds-change - Event fired when the rating value changes.
|
|
4165
4163
|
*
|
|
4166
4164
|
* @csspart base - The main rating container.
|
|
4167
4165
|
* @csspart star - The star element.
|
|
@@ -4321,9 +4319,9 @@ export declare class DapDSSearch extends ComboboxBaseElement {
|
|
|
4321
4319
|
* @element dap-ds-select
|
|
4322
4320
|
* @title - Select
|
|
4323
4321
|
*
|
|
4324
|
-
* @event dds-change - Fired when the select value changes.
|
|
4325
|
-
* @event dds-blur - Emitted when the select loses focus.
|
|
4326
|
-
* @event dds-focus - Emitted when the select gains focus.
|
|
4322
|
+
* @event {{ value: string }} dds-change - Fired when the select value changes.
|
|
4323
|
+
* @event {{ void }} dds-blur - Emitted when the select loses focus.
|
|
4324
|
+
* @event {{ void }} dds-focus - Emitted when the select gains focus.
|
|
4327
4325
|
*
|
|
4328
4326
|
* @property {string} value - The value of the select.
|
|
4329
4327
|
* @property {string} label - The label of the select.
|
|
@@ -4441,7 +4439,7 @@ export declare class DapDSSelect extends GenericFormElement {
|
|
|
4441
4439
|
* @element dap-ds-sidenav
|
|
4442
4440
|
* @title - Side navigation
|
|
4443
4441
|
*
|
|
4444
|
-
* @event dds-item-click - Event fired when the side navigation item is clicked.
|
|
4442
|
+
* @event {{ href: string, event: Event }} dds-item-click - Event fired when the side navigation item is clicked.
|
|
4445
4443
|
*
|
|
4446
4444
|
* @slot - The content of the side navigation.
|
|
4447
4445
|
*
|
|
@@ -4468,7 +4466,7 @@ export declare class DapDSSideNav extends DdsElement {
|
|
|
4468
4466
|
* @title - Side navigation group
|
|
4469
4467
|
* @group side-navigation
|
|
4470
4468
|
*
|
|
4471
|
-
* @event dds-item-click - Event fired when the side navigation item is clicked.
|
|
4469
|
+
* @event {{ href: string, event: Event }} dds-item-click - Event fired when the side navigation item is clicked.
|
|
4472
4470
|
*
|
|
4473
4471
|
* @slot - The content of the side navigation group.
|
|
4474
4472
|
* @slot submenu - The submenu of the side navigation group.
|
|
@@ -4515,7 +4513,7 @@ export declare class DapDSSideNavGroup extends DdsElement {
|
|
|
4515
4513
|
* @title - Side navigation item
|
|
4516
4514
|
* @group side-navigation
|
|
4517
4515
|
*
|
|
4518
|
-
* @event dds-item-click - Event fired when the side navigation item is clicked.
|
|
4516
|
+
* @event {{ href: string, event: Event }} dds-item-click - Event fired when the side navigation item is clicked.
|
|
4519
4517
|
*
|
|
4520
4518
|
* @slot - The content of the side navigation item.
|
|
4521
4519
|
* @slot suffix - The suffix of the side navigation item.
|
|
@@ -4629,7 +4627,7 @@ export declare class DapDSSnackbar extends DdsElement {
|
|
|
4629
4627
|
* @title - Snackbar message
|
|
4630
4628
|
* @group snackbar
|
|
4631
4629
|
*
|
|
4632
|
-
* @event dds-close - Fires when the snackbar closes.
|
|
4630
|
+
* @event {{ id: string }} dds-close - Fires when the snackbar closes.
|
|
4633
4631
|
*
|
|
4634
4632
|
* @slot default - The content of the snackbar.
|
|
4635
4633
|
*
|
|
@@ -4771,10 +4769,10 @@ export declare class DapDSStack extends DdsElement {
|
|
|
4771
4769
|
* @cssProperty --dds-switch-border-color - Border color of the switch.
|
|
4772
4770
|
* @cssProperty --dds-switch-high-contrast-border-color - Border color of the switch in high contrast mode.
|
|
4773
4771
|
*
|
|
4774
|
-
* @event dds-change - Fired when the input value changes.
|
|
4775
|
-
* @event dds-blur - Emitted when the input loses focus.
|
|
4776
|
-
* @event dds-focus - Emitted when the input gains focus.
|
|
4777
|
-
* @event dds-input - Emitted when the input receives input.
|
|
4772
|
+
* @event {{ value: string }} dds-change - Fired when the input value changes.
|
|
4773
|
+
* @event {{ void }} dds-blur - Emitted when the input loses focus.
|
|
4774
|
+
* @event {{ void }} dds-focus - Emitted when the input gains focus.
|
|
4775
|
+
* @event {{ value: string }} dds-input - Emitted when the input receives input.
|
|
4778
4776
|
*
|
|
4779
4777
|
* @csspart base - The main switch container.
|
|
4780
4778
|
* @csspart baselabel - The main label container
|
|
@@ -4827,7 +4825,7 @@ export declare class DapDSTab extends DdsElement {
|
|
|
4827
4825
|
* @title - Tab group
|
|
4828
4826
|
* @group tab
|
|
4829
4827
|
*
|
|
4830
|
-
* @event dds-tab-select - Fired when select a new tab.
|
|
4828
|
+
* @event {{ tabId: string }} dds-tab-select - Fired when select a new tab.
|
|
4831
4829
|
*
|
|
4832
4830
|
* @slot - The tab items.
|
|
4833
4831
|
*
|
|
@@ -5004,13 +5002,13 @@ export declare class DapDSTableRow extends DdsElement {
|
|
|
5004
5002
|
* @property {boolean} subtle - The weight of the label. Default is `false`
|
|
5005
5003
|
* @property {boolean} autofocus - The autofocus state of the textarea.
|
|
5006
5004
|
*
|
|
5007
|
-
* @event dds-count-change - Fires when the count of the textarea changes.
|
|
5008
|
-
* @event dds-change - Fired when the textarea value changes.
|
|
5009
|
-
* @event dds-input - Fired when the textarea value changes.
|
|
5010
|
-
* @event dds-keydown - Fired when a key is pressed down.
|
|
5011
|
-
* @event dds-blur - Fired when the textarea loses focus.
|
|
5012
|
-
* @event dds-focus - Emitted when the textarea gains focus.
|
|
5013
|
-
* @event dds-select - Emitted when select text in textarea.
|
|
5005
|
+
* @event {{ value: number }} dds-count-change - Fires when the count of the textarea changes.
|
|
5006
|
+
* @event {{ value: string }} dds-change - Fired when the textarea value changes.
|
|
5007
|
+
* @event {{ value: string }} dds-input - Fired when the textarea value changes.
|
|
5008
|
+
* @event {{ value: string, originalEvent: Event }} dds-keydown - Fired when a key is pressed down.
|
|
5009
|
+
* @event {{ void }} dds-blur - Fired when the textarea loses focus.
|
|
5010
|
+
* @event {{ void }} dds-focus - Emitted when the textarea gains focus.
|
|
5011
|
+
* @event {{ value: string }} dds-select - Emitted when select text in textarea.
|
|
5014
5012
|
*
|
|
5015
5013
|
* @slot feedback-icon - The custom icon of the feedback.
|
|
5016
5014
|
*
|
|
@@ -5120,7 +5118,7 @@ export declare class DapDSTimelineItem extends DdsElement {
|
|
|
5120
5118
|
*
|
|
5121
5119
|
* @property {'sm' | 'lg'} size - The size of the toc. Default is `lg`.
|
|
5122
5120
|
*
|
|
5123
|
-
* @event dds-anchor-change - Event that is triggered when the anchor changes.
|
|
5121
|
+
* @event {{ selectedItem: HTMLAnchorElement, anchorElement: IntersectionObserverEntry | HTMLElement }} dds-anchor-change - Event that is triggered when the anchor changes.
|
|
5124
5122
|
*
|
|
5125
5123
|
* @csspart base - The main container of the toc.
|
|
5126
5124
|
*
|
|
@@ -5324,11 +5322,11 @@ export declare class DapDSTooltip extends DdsElement {
|
|
|
5324
5322
|
* @property {string} footer - Whether the tray should have a footer. Default is false.
|
|
5325
5323
|
* @property {string} header - Whether the tray should have a header. Default is false.
|
|
5326
5324
|
*
|
|
5327
|
-
* @event dds-before-open - Fires before the tray opens.
|
|
5328
|
-
* @event dds-opened - Fires after the tray opens.
|
|
5329
|
-
* @event dds-before-close - Fires before the tray closes.
|
|
5330
|
-
* @event dds-closed - Fires after the tray closed.
|
|
5331
|
-
* @event dds-close - Fires when the tray is closes. You can prevent the tray from closing by calling `event.preventDefault()`.
|
|
5325
|
+
* @event {{ void }} dds-before-open - Fires before the tray opens.
|
|
5326
|
+
* @event {{ void }} dds-opened - Fires after the tray opens.
|
|
5327
|
+
* @event {{ void }} dds-before-close - Fires before the tray closes.
|
|
5328
|
+
* @event {{ void }} dds-closed - Fires after the tray closed.
|
|
5329
|
+
* @event {{ void }} dds-close - Fires when the tray is closes. You can prevent the tray from closing by calling `event.preventDefault()`.
|
|
5332
5330
|
*
|
|
5333
5331
|
* @slot - The content of the tray.
|
|
5334
5332
|
* @slot header - The header of the tray.
|