@quartzds/core 1.0.0-beta.113 → 1.0.0-beta.115
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/CHANGELOG.md +50 -0
- package/components/index.d.ts +2 -2
- package/components/index.js +2 -2
- package/components/{p-CB1GgGmx.js → p--vOFwWP9.js} +4 -4
- package/components/{p-CB1GgGmx.js.map → p--vOFwWP9.js.map} +1 -1
- package/{dist/esm/helpers-CDZIefsI.js → components/p-Bs-thw7N.js} +24 -8
- package/components/{p-CzJQDr3N.js.map → p-Bs-thw7N.js.map} +1 -1
- package/components/{p-9fm05BrQ.js → p-D6kEwmWw.js} +16 -9
- package/components/p-D6kEwmWw.js.map +1 -0
- package/components/{p-jzP-octC.js → p-DG13nyez.js} +13 -13
- package/components/p-DG13nyez.js.map +1 -0
- package/components/{p-oYV2Vg_F.js → p-DHsQa63F.js} +6 -6
- package/components/{p-oYV2Vg_F.js.map → p-DHsQa63F.js.map} +1 -1
- package/components/{p-GGIVf4ry.js → p-DQ0iArwG.js} +12 -12
- package/components/p-DQ0iArwG.js.map +1 -0
- package/components/{p-Cin_uEzc.js → p-DRvYbv4e.js} +6 -6
- package/components/{p-Cin_uEzc.js.map → p-DRvYbv4e.js.map} +1 -1
- package/components/p-DabDNFFa.js +112 -0
- package/components/p-DabDNFFa.js.map +1 -0
- package/components/{p-CPvTGxdE.js → p-DeLdhUte.js} +9 -9
- package/components/p-DeLdhUte.js.map +1 -0
- package/components/{p-CK_Yxg3A.js → p-Df4zqimN.js} +11 -9
- package/components/p-Df4zqimN.js.map +1 -0
- package/components/{p-Dqnx5weA.js → p-Dmky30vp.js} +3 -3
- package/components/{p-Dqnx5weA.js.map → p-Dmky30vp.js.map} +1 -1
- package/components/{p-CSR3ZAEX.js → p-I5PkZmy8.js} +4 -4
- package/components/{p-CSR3ZAEX.js.map → p-I5PkZmy8.js.map} +1 -1
- package/components/qds-action-item.js +7 -7
- package/components/qds-action-item.js.map +1 -1
- package/components/{qds-nav-list-item.d.ts → qds-avatar-media.d.ts} +4 -4
- package/components/qds-avatar-media.js +14 -0
- package/components/qds-avatar-media.js.map +1 -0
- package/components/qds-breadcrumb-item.js +7 -7
- package/components/qds-breadcrumb-item.js.map +1 -1
- package/components/qds-button.js +1 -1
- package/components/qds-checkbox.js +1 -1
- package/components/qds-chip.js +11 -11
- package/components/qds-chip.js.map +1 -1
- package/components/qds-dialog.js +26 -7
- package/components/qds-dialog.js.map +1 -1
- package/components/qds-dropdown.js +1 -1
- package/components/qds-form-message.js +5 -5
- package/components/qds-form-message.js.map +1 -1
- package/components/qds-icon-button.js +10 -8
- package/components/qds-icon-button.js.map +1 -1
- package/components/qds-icon.js +1 -1
- package/components/qds-inline-link.js +43 -13
- package/components/qds-inline-link.js.map +1 -1
- package/components/qds-input.js +6 -6
- package/components/qds-label.js +1 -1
- package/components/qds-list-item.js +22 -16
- package/components/qds-list-item.js.map +1 -1
- package/components/qds-loader.js +3 -3
- package/components/qds-loader.js.map +1 -1
- package/components/qds-menu-item.js +9 -9
- package/components/qds-menu-item.js.map +1 -1
- package/components/qds-mini-button.js +1 -1
- package/components/qds-progress-bar.js +1 -1
- package/components/qds-radio.js +1 -1
- package/components/qds-select.js +5 -5
- package/components/qds-standalone-link.js +43 -13
- package/components/qds-standalone-link.js.map +1 -1
- package/components/qds-switch.js +5 -5
- package/components/qds-tab.js +11 -11
- package/components/qds-tab.js.map +1 -1
- package/components/qds-tabbar.js +8 -8
- package/components/qds-table-cell.js +2 -2
- package/components/qds-table-head-cell.js +2 -2
- package/components/qds-table-row.js +1 -1
- package/components/qds-table.js +1 -1
- package/components/qds-tag.js +1 -1
- package/components/qds-textarea.js +3 -3
- package/components/qds-title.js +1 -1
- package/components/qds-tooltip.js +1 -1
- package/dist/cjs/{helpers-D--0PcCT.js → helpers-BH_NFaV-.js} +24 -8
- package/dist/cjs/helpers-BH_NFaV-.js.map +1 -0
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{library-CF8K3bIq.js → library-C_NJJiFI.js} +15 -8
- package/dist/cjs/library-C_NJJiFI.js.map +1 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/qds-action-item.cjs.entry.js +5 -5
- package/dist/cjs/qds-action-item.entry.cjs.js.map +1 -1
- package/dist/cjs/qds-avatar-media.qds-checkbox.qds-radio.entry.cjs.js.map +1 -0
- package/dist/cjs/{qds-checkbox_2.cjs.entry.js → qds-avatar-media_3.cjs.entry.js} +79 -8
- package/dist/cjs/qds-breadcrumb-item.cjs.entry.js +5 -5
- package/dist/cjs/qds-breadcrumb-item.entry.cjs.js.map +1 -1
- package/dist/cjs/qds-button.cjs.entry.js +8 -8
- package/dist/cjs/qds-button.entry.cjs.js.map +1 -1
- package/dist/cjs/qds-chip.cjs.entry.js +8 -8
- package/dist/cjs/qds-chip.entry.cjs.js.map +1 -1
- package/dist/cjs/qds-dialog.cjs.entry.js +23 -4
- package/dist/cjs/qds-dialog.entry.cjs.js.map +1 -1
- package/dist/cjs/qds-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/qds-form-message.cjs.entry.js +4 -4
- package/dist/cjs/qds-form-message.entry.cjs.js.map +1 -1
- package/dist/cjs/qds-icon-button.cjs.entry.js +8 -6
- package/dist/cjs/qds-icon-button.entry.cjs.js.map +1 -1
- package/dist/cjs/qds-icon.cjs.entry.js +2 -2
- package/dist/cjs/qds-inline-link.cjs.entry.js +39 -8
- package/dist/cjs/qds-inline-link.entry.cjs.js.map +1 -1
- package/dist/cjs/qds-input.cjs.entry.js +4 -4
- package/dist/cjs/qds-label.cjs.entry.js +9 -9
- package/dist/cjs/qds-label.entry.cjs.js.map +1 -1
- package/dist/cjs/qds-list-item.cjs.entry.js +10 -10
- package/dist/cjs/qds-list-item.entry.cjs.js.map +1 -1
- package/dist/cjs/qds-loader.cjs.entry.js +2 -2
- package/dist/cjs/qds-loader.entry.cjs.js.map +1 -1
- package/dist/cjs/qds-menu-item.cjs.entry.js +6 -6
- package/dist/cjs/qds-menu-item.entry.cjs.js.map +1 -1
- package/dist/cjs/qds-mini-button.cjs.entry.js +1 -1
- package/dist/cjs/qds-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/qds-select.cjs.entry.js +4 -4
- package/dist/cjs/qds-standalone-link.cjs.entry.js +39 -8
- package/dist/cjs/qds-standalone-link.entry.cjs.js.map +1 -1
- package/dist/cjs/qds-switch.cjs.entry.js +4 -4
- package/dist/cjs/qds-tab.cjs.entry.js +7 -7
- package/dist/cjs/qds-tab.entry.cjs.js.map +1 -1
- package/dist/cjs/qds-tabbar.cjs.entry.js +5 -5
- package/dist/cjs/qds-table-cell.cjs.entry.js +2 -2
- package/dist/cjs/qds-table-head-cell.cjs.entry.js +2 -2
- package/dist/cjs/qds-table-row.cjs.entry.js +1 -1
- package/dist/cjs/qds-table.cjs.entry.js +1 -1
- package/dist/cjs/qds-tag_2.cjs.entry.js +6 -6
- package/dist/cjs/qds-textarea.cjs.entry.js +3 -3
- package/dist/cjs/qds-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/qds.cjs.js +1 -1
- package/dist/custom-elements.json +311 -367
- package/dist/docs.json +223 -331
- package/{components/p-CzJQDr3N.js → dist/esm/helpers-t9FQ7Vl_.js} +24 -8
- package/dist/esm/helpers-t9FQ7Vl_.js.map +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/{library-B2PJ_ZJB.js → library-C7n28y3j.js} +15 -8
- package/dist/esm/library-C7n28y3j.js.map +1 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/qds-action-item.entry.js +5 -5
- package/dist/esm/qds-action-item.entry.js.map +1 -1
- package/dist/esm/qds-avatar-media.qds-checkbox.qds-radio.entry.js.map +1 -0
- package/dist/esm/{qds-checkbox_2.entry.js → qds-avatar-media_3.entry.js} +79 -9
- package/dist/esm/qds-breadcrumb-item.entry.js +5 -5
- package/dist/esm/qds-breadcrumb-item.entry.js.map +1 -1
- package/dist/esm/qds-button.entry.js +8 -8
- package/dist/esm/qds-button.entry.js.map +1 -1
- package/dist/esm/qds-chip.entry.js +8 -8
- package/dist/esm/qds-chip.entry.js.map +1 -1
- package/dist/esm/qds-dialog.entry.js +23 -4
- package/dist/esm/qds-dialog.entry.js.map +1 -1
- package/dist/esm/qds-dropdown.entry.js +1 -1
- package/dist/esm/qds-form-message.entry.js +4 -4
- package/dist/esm/qds-form-message.entry.js.map +1 -1
- package/dist/esm/qds-icon-button.entry.js +8 -6
- package/dist/esm/qds-icon-button.entry.js.map +1 -1
- package/dist/esm/qds-icon.entry.js +2 -2
- package/dist/esm/qds-inline-link.entry.js +39 -8
- package/dist/esm/qds-inline-link.entry.js.map +1 -1
- package/dist/esm/qds-input.entry.js +4 -4
- package/dist/esm/qds-label.entry.js +9 -9
- package/dist/esm/qds-label.entry.js.map +1 -1
- package/dist/esm/qds-list-item.entry.js +10 -10
- package/dist/esm/qds-list-item.entry.js.map +1 -1
- package/dist/esm/qds-loader.entry.js +2 -2
- package/dist/esm/qds-loader.entry.js.map +1 -1
- package/dist/esm/qds-menu-item.entry.js +6 -6
- package/dist/esm/qds-menu-item.entry.js.map +1 -1
- package/dist/esm/qds-mini-button.entry.js +1 -1
- package/dist/esm/qds-progress-bar.entry.js +1 -1
- package/dist/esm/qds-select.entry.js +4 -4
- package/dist/esm/qds-standalone-link.entry.js +39 -8
- package/dist/esm/qds-standalone-link.entry.js.map +1 -1
- package/dist/esm/qds-switch.entry.js +4 -4
- package/dist/esm/qds-tab.entry.js +7 -7
- package/dist/esm/qds-tab.entry.js.map +1 -1
- package/dist/esm/qds-tabbar.entry.js +5 -5
- package/dist/esm/qds-table-cell.entry.js +2 -2
- package/dist/esm/qds-table-head-cell.entry.js +2 -2
- package/dist/esm/qds-table-row.entry.js +1 -1
- package/dist/esm/qds-table.entry.js +1 -1
- package/dist/esm/qds-tag_2.entry.js +6 -6
- package/dist/esm/qds-textarea.entry.js +3 -3
- package/dist/esm/qds-tooltip.entry.js +2 -2
- package/dist/esm/qds.js +1 -1
- package/dist/types/components/avatar-media/avatar-media.d.ts +39 -0
- package/dist/types/components/icon-button/icon-button.d.ts +1 -1
- package/dist/types/components/inline-link/inline-link.d.ts +1 -1
- package/dist/types/components/label/label.d.ts +1 -1
- package/dist/types/components/standalone-link/standalone-link.d.ts +1 -1
- package/dist/types/components.d.ts +94 -125
- package/dist/types/helpers.d.ts +3 -3
- package/dist/vscode.html-custom-data.json +29 -52
- package/hydrate/index.js +694 -632
- package/hydrate/index.mjs +694 -632
- package/package.json +1 -1
- package/components/p-9fm05BrQ.js.map +0 -1
- package/components/p-CK_Yxg3A.js.map +0 -1
- package/components/p-CPvTGxdE.js.map +0 -1
- package/components/p-GGIVf4ry.js.map +0 -1
- package/components/p-jzP-octC.js.map +0 -1
- package/components/qds-nav-list-item.js +0 -164
- package/components/qds-nav-list-item.js.map +0 -1
- package/dist/cjs/helpers-D--0PcCT.js.map +0 -1
- package/dist/cjs/library-CF8K3bIq.js.map +0 -1
- package/dist/cjs/qds-checkbox.qds-radio.entry.cjs.js.map +0 -1
- package/dist/cjs/qds-nav-list-item.cjs.entry.js +0 -120
- package/dist/cjs/qds-nav-list-item.entry.cjs.js.map +0 -1
- package/dist/esm/helpers-CDZIefsI.js.map +0 -1
- package/dist/esm/library-B2PJ_ZJB.js.map +0 -1
- package/dist/esm/qds-checkbox.qds-radio.entry.js.map +0 -1
- package/dist/esm/qds-nav-list-item.entry.js +0 -118
- package/dist/esm/qds-nav-list-item.entry.js.map +0 -1
- package/dist/types/components/nav-list-item/nav-list-item.d.ts +0 -67
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import type { ComponentInterface } from '../../stencil-public-runtime';
|
|
2
|
+
/**
|
|
3
|
+
* @experimental
|
|
4
|
+
*/
|
|
5
|
+
export declare class AvatarMedia implements ComponentInterface {
|
|
6
|
+
#private;
|
|
7
|
+
/**
|
|
8
|
+
* The avatar-media's image source.
|
|
9
|
+
* @webnative
|
|
10
|
+
*/
|
|
11
|
+
readonly src?: string;
|
|
12
|
+
/**
|
|
13
|
+
* The alt text for the avatar-media's image.
|
|
14
|
+
* @webnative
|
|
15
|
+
*/
|
|
16
|
+
readonly alt: string;
|
|
17
|
+
/**
|
|
18
|
+
* The avatar-media's icon name.
|
|
19
|
+
*/
|
|
20
|
+
readonly iconName?: string;
|
|
21
|
+
/**
|
|
22
|
+
* The avatar-media's icon library.
|
|
23
|
+
*/
|
|
24
|
+
readonly iconLibrary?: string;
|
|
25
|
+
/**
|
|
26
|
+
* The avatar-media's text content.
|
|
27
|
+
*/
|
|
28
|
+
readonly text?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Emitted when the avatar-media's image fails to load due to an error.
|
|
31
|
+
*/
|
|
32
|
+
private readonly errorEmitter;
|
|
33
|
+
private initials;
|
|
34
|
+
private hasImageError;
|
|
35
|
+
private handleTextChange;
|
|
36
|
+
componentWillLoad(): Promise<void> | void;
|
|
37
|
+
render(): any;
|
|
38
|
+
}
|
|
39
|
+
//# sourceMappingURL=avatar-media.d.ts.map
|
|
@@ -213,9 +213,9 @@ export declare class InlineLink implements ComponentInterface {
|
|
|
213
213
|
private readonly focusEmitter;
|
|
214
214
|
private readonly host;
|
|
215
215
|
private linkIcon?;
|
|
216
|
-
private tabIndex?;
|
|
217
216
|
private readonly internals;
|
|
218
217
|
protected onClick(event: MouseEvent): void;
|
|
218
|
+
protected onKeydown(event: KeyboardEvent): void;
|
|
219
219
|
protected disabledChanged(): void;
|
|
220
220
|
protected tabindexChanged(newValue: string): void;
|
|
221
221
|
protected hrefTargetChanged(): void;
|
|
@@ -37,7 +37,7 @@ export declare class Label implements ComponentInterface {
|
|
|
37
37
|
* By default, the tooltip is anchored to the label itself when this prop is not set.
|
|
38
38
|
*/
|
|
39
39
|
readonly tooltipTarget?: Tooltip['target'];
|
|
40
|
-
private
|
|
40
|
+
private tooltip;
|
|
41
41
|
protected textChanged(): void;
|
|
42
42
|
componentDidLoad(): void;
|
|
43
43
|
disconnectedCallback(): void;
|
|
@@ -221,9 +221,9 @@ export declare class StandaloneLink implements ComponentInterface {
|
|
|
221
221
|
private readonly focusEmitter;
|
|
222
222
|
private readonly host;
|
|
223
223
|
private linkIcon?;
|
|
224
|
-
private tabIndex?;
|
|
225
224
|
private readonly internals;
|
|
226
225
|
protected onClick(event: MouseEvent): void;
|
|
226
|
+
protected onKeydown(event: KeyboardEvent): void;
|
|
227
227
|
protected disabledChanged(): void;
|
|
228
228
|
protected tabindexChanged(newValue: string): void;
|
|
229
229
|
protected hrefTargetChanged(): void;
|
|
@@ -107,6 +107,35 @@ export namespace Components {
|
|
|
107
107
|
*/
|
|
108
108
|
"text": string;
|
|
109
109
|
}
|
|
110
|
+
/**
|
|
111
|
+
* @experimental
|
|
112
|
+
*/
|
|
113
|
+
interface QdsAvatarMedia {
|
|
114
|
+
/**
|
|
115
|
+
* The alt text for the avatar-media's image.
|
|
116
|
+
* @webnative
|
|
117
|
+
* @default ''
|
|
118
|
+
*/
|
|
119
|
+
"alt": string;
|
|
120
|
+
/**
|
|
121
|
+
* The avatar-media's icon library.
|
|
122
|
+
* @default 'default'
|
|
123
|
+
*/
|
|
124
|
+
"iconLibrary"?: string;
|
|
125
|
+
/**
|
|
126
|
+
* The avatar-media's icon name.
|
|
127
|
+
*/
|
|
128
|
+
"iconName"?: string;
|
|
129
|
+
/**
|
|
130
|
+
* The avatar-media's image source.
|
|
131
|
+
* @webnative
|
|
132
|
+
*/
|
|
133
|
+
"src"?: string;
|
|
134
|
+
/**
|
|
135
|
+
* The avatar-media's text content.
|
|
136
|
+
*/
|
|
137
|
+
"text"?: string;
|
|
138
|
+
}
|
|
110
139
|
/**
|
|
111
140
|
* The `<qds-badge-counter>` element is a small, rounded UI element used to
|
|
112
141
|
* display numerical values or counts. It is designed to draw the user's eye to
|
|
@@ -752,7 +781,7 @@ export namespace Components {
|
|
|
752
781
|
/**
|
|
753
782
|
* The icon button's accessible name.
|
|
754
783
|
*/
|
|
755
|
-
"text"
|
|
784
|
+
"text"?: string;
|
|
756
785
|
}
|
|
757
786
|
/**
|
|
758
787
|
* `<qds-inline-link>` elements, with their `href` property, create a hyperlink
|
|
@@ -1194,48 +1223,6 @@ export namespace Components {
|
|
|
1194
1223
|
*/
|
|
1195
1224
|
"text": string;
|
|
1196
1225
|
}
|
|
1197
|
-
/**
|
|
1198
|
-
* @see https://quartz.se.com/build/components/nav-list-item
|
|
1199
|
-
*/
|
|
1200
|
-
interface QdsNavListItem {
|
|
1201
|
-
/**
|
|
1202
|
-
* Displays the navigation list item in a collapsed state without its text. The text will be displayed in a tooltip instead. This property has no effect if the navigation list item does not have an icon set.
|
|
1203
|
-
* @default false
|
|
1204
|
-
*/
|
|
1205
|
-
"collapsed": boolean;
|
|
1206
|
-
/**
|
|
1207
|
-
* Prevents the navigation list item from being interacted with: it cannot be selected or focused.
|
|
1208
|
-
* @default false
|
|
1209
|
-
*/
|
|
1210
|
-
"disabled": boolean;
|
|
1211
|
-
/**
|
|
1212
|
-
* The name of a registered icon library.
|
|
1213
|
-
* @default 'default'
|
|
1214
|
-
*/
|
|
1215
|
-
"iconLibrary": string;
|
|
1216
|
-
/**
|
|
1217
|
-
* The name of the icon to render. Available names depend on the icon library being used.
|
|
1218
|
-
*/
|
|
1219
|
-
"iconName"?: string;
|
|
1220
|
-
/**
|
|
1221
|
-
* Whether or not the navigation list item is selected.
|
|
1222
|
-
* @default false
|
|
1223
|
-
*/
|
|
1224
|
-
"selected": boolean;
|
|
1225
|
-
/**
|
|
1226
|
-
* The navigation list items's size.
|
|
1227
|
-
* @default 'standard'
|
|
1228
|
-
*/
|
|
1229
|
-
"size"?: Size;
|
|
1230
|
-
/**
|
|
1231
|
-
* Text to display for the subtext.
|
|
1232
|
-
*/
|
|
1233
|
-
"subtext"?: string;
|
|
1234
|
-
/**
|
|
1235
|
-
* Primary text to display.
|
|
1236
|
-
*/
|
|
1237
|
-
"text": string;
|
|
1238
|
-
}
|
|
1239
1226
|
/**
|
|
1240
1227
|
* The `<qds-progress-bar>` element displays an indicator showing the
|
|
1241
1228
|
* completion progress of a task.
|
|
@@ -2090,6 +2077,10 @@ export interface QdsActionItemCustomEvent<T> extends CustomEvent<T> {
|
|
|
2090
2077
|
detail: T;
|
|
2091
2078
|
target: HTMLQdsActionItemElement;
|
|
2092
2079
|
}
|
|
2080
|
+
export interface QdsAvatarMediaCustomEvent<T> extends CustomEvent<T> {
|
|
2081
|
+
detail: T;
|
|
2082
|
+
target: HTMLQdsAvatarMediaElement;
|
|
2083
|
+
}
|
|
2093
2084
|
export interface QdsButtonCustomEvent<T> extends CustomEvent<T> {
|
|
2094
2085
|
detail: T;
|
|
2095
2086
|
target: HTMLQdsButtonElement;
|
|
@@ -2138,10 +2129,6 @@ export interface QdsMiniButtonCustomEvent<T> extends CustomEvent<T> {
|
|
|
2138
2129
|
detail: T;
|
|
2139
2130
|
target: HTMLQdsMiniButtonElement;
|
|
2140
2131
|
}
|
|
2141
|
-
export interface QdsNavListItemCustomEvent<T> extends CustomEvent<T> {
|
|
2142
|
-
detail: T;
|
|
2143
|
-
target: HTMLQdsNavListItemElement;
|
|
2144
|
-
}
|
|
2145
2132
|
export interface QdsRadioCustomEvent<T> extends CustomEvent<T> {
|
|
2146
2133
|
detail: T;
|
|
2147
2134
|
target: HTMLQdsRadioElement;
|
|
@@ -2196,6 +2183,26 @@ declare global {
|
|
|
2196
2183
|
prototype: HTMLQdsActionItemElement;
|
|
2197
2184
|
new (): HTMLQdsActionItemElement;
|
|
2198
2185
|
};
|
|
2186
|
+
interface HTMLQdsAvatarMediaElementEventMap {
|
|
2187
|
+
"qdsError": void;
|
|
2188
|
+
}
|
|
2189
|
+
/**
|
|
2190
|
+
* @experimental
|
|
2191
|
+
*/
|
|
2192
|
+
interface HTMLQdsAvatarMediaElement extends Components.QdsAvatarMedia, HTMLStencilElement {
|
|
2193
|
+
addEventListener<K extends keyof HTMLQdsAvatarMediaElementEventMap>(type: K, listener: (this: HTMLQdsAvatarMediaElement, ev: QdsAvatarMediaCustomEvent<HTMLQdsAvatarMediaElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2194
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2195
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2196
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2197
|
+
removeEventListener<K extends keyof HTMLQdsAvatarMediaElementEventMap>(type: K, listener: (this: HTMLQdsAvatarMediaElement, ev: QdsAvatarMediaCustomEvent<HTMLQdsAvatarMediaElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2198
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2199
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2200
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2201
|
+
}
|
|
2202
|
+
var HTMLQdsAvatarMediaElement: {
|
|
2203
|
+
prototype: HTMLQdsAvatarMediaElement;
|
|
2204
|
+
new (): HTMLQdsAvatarMediaElement;
|
|
2205
|
+
};
|
|
2199
2206
|
/**
|
|
2200
2207
|
* The `<qds-badge-counter>` element is a small, rounded UI element used to
|
|
2201
2208
|
* display numerical values or counts. It is designed to draw the user's eye to
|
|
@@ -2569,27 +2576,6 @@ declare global {
|
|
|
2569
2576
|
prototype: HTMLQdsMiniButtonElement;
|
|
2570
2577
|
new (): HTMLQdsMiniButtonElement;
|
|
2571
2578
|
};
|
|
2572
|
-
interface HTMLQdsNavListItemElementEventMap {
|
|
2573
|
-
"qdsBlur": QdsFocusEventDetail;
|
|
2574
|
-
"qdsFocus": QdsFocusEventDetail;
|
|
2575
|
-
}
|
|
2576
|
-
/**
|
|
2577
|
-
* @see https://quartz.se.com/build/components/nav-list-item
|
|
2578
|
-
*/
|
|
2579
|
-
interface HTMLQdsNavListItemElement extends Components.QdsNavListItem, HTMLStencilElement {
|
|
2580
|
-
addEventListener<K extends keyof HTMLQdsNavListItemElementEventMap>(type: K, listener: (this: HTMLQdsNavListItemElement, ev: QdsNavListItemCustomEvent<HTMLQdsNavListItemElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2581
|
-
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2582
|
-
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2583
|
-
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2584
|
-
removeEventListener<K extends keyof HTMLQdsNavListItemElementEventMap>(type: K, listener: (this: HTMLQdsNavListItemElement, ev: QdsNavListItemCustomEvent<HTMLQdsNavListItemElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2585
|
-
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2586
|
-
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2587
|
-
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2588
|
-
}
|
|
2589
|
-
var HTMLQdsNavListItemElement: {
|
|
2590
|
-
prototype: HTMLQdsNavListItemElement;
|
|
2591
|
-
new (): HTMLQdsNavListItemElement;
|
|
2592
|
-
};
|
|
2593
2579
|
/**
|
|
2594
2580
|
* The `<qds-progress-bar>` element displays an indicator showing the
|
|
2595
2581
|
* completion progress of a task.
|
|
@@ -2865,6 +2851,7 @@ declare global {
|
|
|
2865
2851
|
};
|
|
2866
2852
|
interface HTMLElementTagNameMap {
|
|
2867
2853
|
"qds-action-item": HTMLQdsActionItemElement;
|
|
2854
|
+
"qds-avatar-media": HTMLQdsAvatarMediaElement;
|
|
2868
2855
|
"qds-badge-counter": HTMLQdsBadgeCounterElement;
|
|
2869
2856
|
"qds-badge-indicator": HTMLQdsBadgeIndicatorElement;
|
|
2870
2857
|
"qds-breadcrumb-item": HTMLQdsBreadcrumbItemElement;
|
|
@@ -2884,7 +2871,6 @@ declare global {
|
|
|
2884
2871
|
"qds-loader": HTMLQdsLoaderElement;
|
|
2885
2872
|
"qds-menu-item": HTMLQdsMenuItemElement;
|
|
2886
2873
|
"qds-mini-button": HTMLQdsMiniButtonElement;
|
|
2887
|
-
"qds-nav-list-item": HTMLQdsNavListItemElement;
|
|
2888
2874
|
"qds-progress-bar": HTMLQdsProgressBarElement;
|
|
2889
2875
|
"qds-radio": HTMLQdsRadioElement;
|
|
2890
2876
|
"qds-select": HTMLQdsSelectElement;
|
|
@@ -2952,6 +2938,39 @@ declare namespace LocalJSX {
|
|
|
2952
2938
|
*/
|
|
2953
2939
|
"text": string;
|
|
2954
2940
|
}
|
|
2941
|
+
/**
|
|
2942
|
+
* @experimental
|
|
2943
|
+
*/
|
|
2944
|
+
interface QdsAvatarMedia {
|
|
2945
|
+
/**
|
|
2946
|
+
* The alt text for the avatar-media's image.
|
|
2947
|
+
* @webnative
|
|
2948
|
+
* @default ''
|
|
2949
|
+
*/
|
|
2950
|
+
"alt"?: string;
|
|
2951
|
+
/**
|
|
2952
|
+
* The avatar-media's icon library.
|
|
2953
|
+
* @default 'default'
|
|
2954
|
+
*/
|
|
2955
|
+
"iconLibrary"?: string;
|
|
2956
|
+
/**
|
|
2957
|
+
* The avatar-media's icon name.
|
|
2958
|
+
*/
|
|
2959
|
+
"iconName"?: string;
|
|
2960
|
+
/**
|
|
2961
|
+
* Emitted when the avatar-media's image fails to load due to an error.
|
|
2962
|
+
*/
|
|
2963
|
+
"onQdsError"?: (event: QdsAvatarMediaCustomEvent<void>) => void;
|
|
2964
|
+
/**
|
|
2965
|
+
* The avatar-media's image source.
|
|
2966
|
+
* @webnative
|
|
2967
|
+
*/
|
|
2968
|
+
"src"?: string;
|
|
2969
|
+
/**
|
|
2970
|
+
* The avatar-media's text content.
|
|
2971
|
+
*/
|
|
2972
|
+
"text"?: string;
|
|
2973
|
+
}
|
|
2955
2974
|
/**
|
|
2956
2975
|
* The `<qds-badge-counter>` element is a small, rounded UI element used to
|
|
2957
2976
|
* display numerical values or counts. It is designed to draw the user's eye to
|
|
@@ -3653,7 +3672,7 @@ declare namespace LocalJSX {
|
|
|
3653
3672
|
/**
|
|
3654
3673
|
* The icon button's accessible name.
|
|
3655
3674
|
*/
|
|
3656
|
-
"text"
|
|
3675
|
+
"text"?: string;
|
|
3657
3676
|
}
|
|
3658
3677
|
/**
|
|
3659
3678
|
* `<qds-inline-link>` elements, with their `href` property, create a hyperlink
|
|
@@ -4159,56 +4178,6 @@ declare namespace LocalJSX {
|
|
|
4159
4178
|
*/
|
|
4160
4179
|
"text": string;
|
|
4161
4180
|
}
|
|
4162
|
-
/**
|
|
4163
|
-
* @see https://quartz.se.com/build/components/nav-list-item
|
|
4164
|
-
*/
|
|
4165
|
-
interface QdsNavListItem {
|
|
4166
|
-
/**
|
|
4167
|
-
* Displays the navigation list item in a collapsed state without its text. The text will be displayed in a tooltip instead. This property has no effect if the navigation list item does not have an icon set.
|
|
4168
|
-
* @default false
|
|
4169
|
-
*/
|
|
4170
|
-
"collapsed"?: boolean;
|
|
4171
|
-
/**
|
|
4172
|
-
* Prevents the navigation list item from being interacted with: it cannot be selected or focused.
|
|
4173
|
-
* @default false
|
|
4174
|
-
*/
|
|
4175
|
-
"disabled"?: boolean;
|
|
4176
|
-
/**
|
|
4177
|
-
* The name of a registered icon library.
|
|
4178
|
-
* @default 'default'
|
|
4179
|
-
*/
|
|
4180
|
-
"iconLibrary"?: string;
|
|
4181
|
-
/**
|
|
4182
|
-
* The name of the icon to render. Available names depend on the icon library being used.
|
|
4183
|
-
*/
|
|
4184
|
-
"iconName"?: string;
|
|
4185
|
-
/**
|
|
4186
|
-
* Emitted when the navigation list item loses focus.
|
|
4187
|
-
*/
|
|
4188
|
-
"onQdsBlur"?: (event: QdsNavListItemCustomEvent<QdsFocusEventDetail>) => void;
|
|
4189
|
-
/**
|
|
4190
|
-
* Emitted when the navigation list item gains focus.
|
|
4191
|
-
*/
|
|
4192
|
-
"onQdsFocus"?: (event: QdsNavListItemCustomEvent<QdsFocusEventDetail>) => void;
|
|
4193
|
-
/**
|
|
4194
|
-
* Whether or not the navigation list item is selected.
|
|
4195
|
-
* @default false
|
|
4196
|
-
*/
|
|
4197
|
-
"selected"?: boolean;
|
|
4198
|
-
/**
|
|
4199
|
-
* The navigation list items's size.
|
|
4200
|
-
* @default 'standard'
|
|
4201
|
-
*/
|
|
4202
|
-
"size"?: Size;
|
|
4203
|
-
/**
|
|
4204
|
-
* Text to display for the subtext.
|
|
4205
|
-
*/
|
|
4206
|
-
"subtext"?: string;
|
|
4207
|
-
/**
|
|
4208
|
-
* Primary text to display.
|
|
4209
|
-
*/
|
|
4210
|
-
"text": string;
|
|
4211
|
-
}
|
|
4212
4181
|
/**
|
|
4213
4182
|
* The `<qds-progress-bar>` element displays an indicator showing the
|
|
4214
4183
|
* completion progress of a task.
|
|
@@ -5136,6 +5105,7 @@ declare namespace LocalJSX {
|
|
|
5136
5105
|
}
|
|
5137
5106
|
interface IntrinsicElements {
|
|
5138
5107
|
"qds-action-item": QdsActionItem;
|
|
5108
|
+
"qds-avatar-media": QdsAvatarMedia;
|
|
5139
5109
|
"qds-badge-counter": QdsBadgeCounter;
|
|
5140
5110
|
"qds-badge-indicator": QdsBadgeIndicator;
|
|
5141
5111
|
"qds-breadcrumb-item": QdsBreadcrumbItem;
|
|
@@ -5155,7 +5125,6 @@ declare namespace LocalJSX {
|
|
|
5155
5125
|
"qds-loader": QdsLoader;
|
|
5156
5126
|
"qds-menu-item": QdsMenuItem;
|
|
5157
5127
|
"qds-mini-button": QdsMiniButton;
|
|
5158
|
-
"qds-nav-list-item": QdsNavListItem;
|
|
5159
5128
|
"qds-progress-bar": QdsProgressBar;
|
|
5160
5129
|
"qds-radio": QdsRadio;
|
|
5161
5130
|
"qds-select": QdsSelect;
|
|
@@ -5181,6 +5150,10 @@ declare module "@stencil/core" {
|
|
|
5181
5150
|
* @see https://quartz.se.com/build/components/action-item
|
|
5182
5151
|
*/
|
|
5183
5152
|
"qds-action-item": LocalJSX.QdsActionItem & JSXBase.HTMLAttributes<HTMLQdsActionItemElement>;
|
|
5153
|
+
/**
|
|
5154
|
+
* @experimental
|
|
5155
|
+
*/
|
|
5156
|
+
"qds-avatar-media": LocalJSX.QdsAvatarMedia & JSXBase.HTMLAttributes<HTMLQdsAvatarMediaElement>;
|
|
5184
5157
|
/**
|
|
5185
5158
|
* The `<qds-badge-counter>` element is a small, rounded UI element used to
|
|
5186
5159
|
* display numerical values or counts. It is designed to draw the user's eye to
|
|
@@ -5306,10 +5279,6 @@ declare module "@stencil/core" {
|
|
|
5306
5279
|
* @experimental
|
|
5307
5280
|
*/
|
|
5308
5281
|
"qds-mini-button": LocalJSX.QdsMiniButton & JSXBase.HTMLAttributes<HTMLQdsMiniButtonElement>;
|
|
5309
|
-
/**
|
|
5310
|
-
* @see https://quartz.se.com/build/components/nav-list-item
|
|
5311
|
-
*/
|
|
5312
|
-
"qds-nav-list-item": LocalJSX.QdsNavListItem & JSXBase.HTMLAttributes<HTMLQdsNavListItemElement>;
|
|
5313
5282
|
/**
|
|
5314
5283
|
* The `<qds-progress-bar>` element displays an indicator showing the
|
|
5315
5284
|
* completion progress of a task.
|
package/dist/types/helpers.d.ts
CHANGED
|
@@ -34,12 +34,12 @@ export declare const ignorePromise: <T>(promise: Promise<T>) => void;
|
|
|
34
34
|
export declare const isTouchDevice: () => boolean;
|
|
35
35
|
export declare const roundByDPR: (value: number) => number;
|
|
36
36
|
/**
|
|
37
|
-
* Checks if an element's
|
|
37
|
+
* Checks if an element's ellipsis is active.
|
|
38
38
|
*
|
|
39
39
|
* @param element The element to check.
|
|
40
|
-
* @returns `true` if
|
|
40
|
+
* @returns `true` if ellipsis is active, `false` otherwise.
|
|
41
41
|
*/
|
|
42
|
-
export declare const
|
|
42
|
+
export declare const isEllipsisActive: (element: HTMLElement) => boolean;
|
|
43
43
|
export declare const determineLinkIcon: (target?: string, rel?: string) => LinkIcon | undefined;
|
|
44
44
|
export declare const resolveTarget: (target?: ReferenceElement | string | (() => ReferenceElement | string)) => ReferenceElement | undefined;
|
|
45
45
|
/**
|
|
@@ -67,6 +67,35 @@
|
|
|
67
67
|
}
|
|
68
68
|
]
|
|
69
69
|
},
|
|
70
|
+
{
|
|
71
|
+
"name": "qds-avatar-media",
|
|
72
|
+
"description": {
|
|
73
|
+
"kind": "markdown",
|
|
74
|
+
"value": "<!--\nSPDX-FileCopyrightText: © 2025 Schneider Electric\n\nSPDX-License-Identifier: Apache-2.0\n-->"
|
|
75
|
+
},
|
|
76
|
+
"attributes": [
|
|
77
|
+
{
|
|
78
|
+
"name": "alt",
|
|
79
|
+
"description": "The alt text for the avatar-media's image."
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"name": "icon-library",
|
|
83
|
+
"description": "The avatar-media's icon library."
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"name": "icon-name",
|
|
87
|
+
"description": "The avatar-media's icon name."
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"name": "src",
|
|
91
|
+
"description": "The avatar-media's image source."
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"name": "text",
|
|
95
|
+
"description": "The avatar-media's text content."
|
|
96
|
+
}
|
|
97
|
+
]
|
|
98
|
+
},
|
|
70
99
|
{
|
|
71
100
|
"name": "qds-badge-counter",
|
|
72
101
|
"description": {
|
|
@@ -1711,58 +1740,6 @@
|
|
|
1711
1740
|
}
|
|
1712
1741
|
]
|
|
1713
1742
|
},
|
|
1714
|
-
{
|
|
1715
|
-
"name": "qds-nav-list-item",
|
|
1716
|
-
"description": {
|
|
1717
|
-
"kind": "markdown",
|
|
1718
|
-
"value": "<!--\nSPDX-FileCopyrightText: © 2024 Schneider Electric\n\nSPDX-License-Identifier: Apache-2.0\n-->"
|
|
1719
|
-
},
|
|
1720
|
-
"attributes": [
|
|
1721
|
-
{
|
|
1722
|
-
"name": "collapsed",
|
|
1723
|
-
"description": "Displays the navigation list item in a collapsed state without its text.\nThe text will be displayed in a tooltip instead.\n\nThis property has no effect if the navigation list item does not have an\nicon set."
|
|
1724
|
-
},
|
|
1725
|
-
{
|
|
1726
|
-
"name": "disabled",
|
|
1727
|
-
"description": "Prevents the navigation list item from being interacted with: it cannot be\nselected or focused."
|
|
1728
|
-
},
|
|
1729
|
-
{
|
|
1730
|
-
"name": "icon-library",
|
|
1731
|
-
"description": "The name of a registered icon library."
|
|
1732
|
-
},
|
|
1733
|
-
{
|
|
1734
|
-
"name": "icon-name",
|
|
1735
|
-
"description": "The name of the icon to render.\n\nAvailable names depend on the icon library being used."
|
|
1736
|
-
},
|
|
1737
|
-
{
|
|
1738
|
-
"name": "selected",
|
|
1739
|
-
"description": "Whether or not the navigation list item is selected."
|
|
1740
|
-
},
|
|
1741
|
-
{
|
|
1742
|
-
"name": "size",
|
|
1743
|
-
"description": "The navigation list items's size.",
|
|
1744
|
-
"values": [
|
|
1745
|
-
{
|
|
1746
|
-
"name": "large"
|
|
1747
|
-
},
|
|
1748
|
-
{
|
|
1749
|
-
"name": "small"
|
|
1750
|
-
},
|
|
1751
|
-
{
|
|
1752
|
-
"name": "standard"
|
|
1753
|
-
}
|
|
1754
|
-
]
|
|
1755
|
-
},
|
|
1756
|
-
{
|
|
1757
|
-
"name": "subtext",
|
|
1758
|
-
"description": "Text to display for the subtext."
|
|
1759
|
-
},
|
|
1760
|
-
{
|
|
1761
|
-
"name": "text",
|
|
1762
|
-
"description": "Primary text to display."
|
|
1763
|
-
}
|
|
1764
|
-
]
|
|
1765
|
-
},
|
|
1766
1743
|
{
|
|
1767
1744
|
"name": "qds-progress-bar",
|
|
1768
1745
|
"description": {
|