dap-design-system 0.45.7 → 0.45.8
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/components.d.ts +15 -4
- package/dist/components.js +174 -138
- package/dist/components.js.map +1 -1
- package/dist/dds.d.ts +15 -4
- package/dist/manifest/types/vue/index.d.ts +245 -243
- package/dist/manifest/vscode.html-custom-data.json +177 -172
- package/dist/manifest/web-types.json +582 -577
- package/dist/react-types.ts +7 -7
- package/dist/react.d.ts +214 -201
- package/dist/react.js +79 -79
- package/dist/react.js.map +1 -1
- package/package.json +2 -1
package/dist/components.d.ts
CHANGED
|
@@ -2414,6 +2414,8 @@ export declare class DapDSDAPBadge extends DdsElement {
|
|
|
2414
2414
|
* @csspart header-row - The header row of the table.
|
|
2415
2415
|
* @csspart header-cell - All cells of the header.
|
|
2416
2416
|
* @csspart body - The body of the table.
|
|
2417
|
+
* @csspart empty - The empty content of the table.
|
|
2418
|
+
* @csspart loading - The loading content of the table.
|
|
2417
2419
|
* @csspart row - All rows of the table.
|
|
2418
2420
|
* @csspart cell - All cells of the table.
|
|
2419
2421
|
* @csspart pager - The pager of the table.
|
|
@@ -6209,7 +6211,7 @@ export declare class DapDSTimelineItem extends DdsElement {
|
|
|
6209
6211
|
* @element dap-ds-timepicker
|
|
6210
6212
|
* @title - Timepicker
|
|
6211
6213
|
*
|
|
6212
|
-
* @property {Dayjs} value - The value of the timepicker.
|
|
6214
|
+
* @property {Dayjs | string} value - The value of the timepicker. Can be a Dayjs object or a string in 'HH:mm' format.
|
|
6213
6215
|
* @property {string} label - The label of the timepicker.
|
|
6214
6216
|
* @property {string} description - The description of the timepicker.
|
|
6215
6217
|
* @property {'xs' | 'sm' | 'lg'} size - The size of the timepicker.
|
|
@@ -6245,10 +6247,10 @@ export declare class DapDSTimelineItem extends DdsElement {
|
|
|
6245
6247
|
* @property {boolean} hideDisabledTimes - Whether to hide disabled times or show them as disabled.
|
|
6246
6248
|
* @property {TimePreset[]} presets - Array of preset time slots for quick selection.
|
|
6247
6249
|
*
|
|
6248
|
-
* @event {{ value: string }} dds-change - Fired when the timepicker value changes.
|
|
6250
|
+
* @event {{ value: Dayjs | string, hour: number, minute: number, second?: number }} dds-change - Fired when the timepicker value changes.
|
|
6249
6251
|
* @event {{ value: string }} dds-input - Fired when the timepicker input value changes.
|
|
6250
|
-
* @event {{ value: string }} dds-valid-time - Fired when the timepicker input value is valid. Happens on manual input typing.
|
|
6251
|
-
* @event {{ value: string, type: 'invalid' | 'out-of-range' }} dds-invalid-time - Fired when the timepicker input value is invalid. Happens on manual input typing.
|
|
6252
|
+
* @event {{ value: Dayjs | string, hour: number, minute: number, second?: number }} dds-valid-time - Fired when the timepicker input value is valid. Happens on manual input typing.
|
|
6253
|
+
* @event {{ value: Dayjs | string, hour: number, minute: number, second?: number, type: 'invalid' | 'out-of-range' }} dds-invalid-time - Fired when the timepicker input value is invalid. Happens on manual input typing.
|
|
6252
6254
|
* @event {{ void }} dds-clear - Fired when the timepicker is cleared.
|
|
6253
6255
|
* @event {{ void }} dds-focus - Emitted when the timepicker gains focus.
|
|
6254
6256
|
* @event {{ void }} dds-blur - Emitted when the timepicker loses focus.
|
|
@@ -6294,6 +6296,10 @@ export declare class DapDSTimelineItem extends DdsElement {
|
|
|
6294
6296
|
export declare class DapDSTimePicker extends GenericFormElement {
|
|
6295
6297
|
private readonly triggerInput;
|
|
6296
6298
|
private readonly timeGrid;
|
|
6299
|
+
/** The value of the timepicker (selected time).
|
|
6300
|
+
* @type {Dayjs | string | Date | number}
|
|
6301
|
+
*/
|
|
6302
|
+
value?: Dayjs | string | Date | number;
|
|
6297
6303
|
private _timeValue?;
|
|
6298
6304
|
private get timeValue();
|
|
6299
6305
|
private set timeValue(value);
|
|
@@ -6370,6 +6376,11 @@ export declare class DapDSTimePicker extends GenericFormElement {
|
|
|
6370
6376
|
static readonly styles: CSSResult;
|
|
6371
6377
|
protected firstUpdated(_changedProperties: PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
|
|
6372
6378
|
attributeChangedCallback(name: string, oldValue: any, newValue: any): void;
|
|
6379
|
+
/**
|
|
6380
|
+
* Normalizes a time value to a Dayjs object.
|
|
6381
|
+
* Handles Dayjs objects, Date objects, strings (HH:mm or HH:mm:ss format, or date strings), and undefined/null.
|
|
6382
|
+
*/
|
|
6383
|
+
private normalizeTime;
|
|
6373
6384
|
private syncTimeValue;
|
|
6374
6385
|
protected updated(_changedProperties: PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
|
|
6375
6386
|
private updateTimeGridSelection;
|