@leavittsoftware/web 4.22.1 → 4.24.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/leavitt/profile-picture/profile-picture.d.ts +5 -0
- package/leavitt/profile-picture/profile-picture.js +25 -1
- package/leavitt/profile-picture/profile-picture.js.map +1 -1
- package/package.json +2 -2
- package/titanium/chip/chip.d.ts +18 -0
- package/titanium/chip/chip.js +70 -12
- package/titanium/chip/chip.js.map +1 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import '@material/web/icon/icon';
|
|
1
2
|
import { LitElement, PropertyValues } from 'lit';
|
|
2
3
|
/**
|
|
3
4
|
* Displays a Leavitt Group users profile picture
|
|
@@ -19,6 +20,10 @@ export declare class ProfilePicture extends LitElement {
|
|
|
19
20
|
* Shows a colored ring around the picture
|
|
20
21
|
*/
|
|
21
22
|
accessor showRing: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Shows a test user indicator at the bottom of the picture
|
|
25
|
+
*/
|
|
26
|
+
accessor showTestUserIndicator: boolean;
|
|
22
27
|
/**
|
|
23
28
|
* Makes the image a link to the respective profile page
|
|
24
29
|
*/
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { __decorate } from "tslib";
|
|
2
|
+
import '@material/web/icon/icon';
|
|
2
3
|
import { isDevelopment } from '../../titanium/helpers/helpers';
|
|
3
|
-
import { css, html, LitElement } from 'lit';
|
|
4
|
+
import { css, html, LitElement, nothing } from 'lit';
|
|
4
5
|
import { customElement, property } from 'lit/decorators.js';
|
|
5
6
|
/**
|
|
6
7
|
* Displays a Leavitt Group users profile picture
|
|
@@ -27,6 +28,12 @@ let ProfilePicture = class ProfilePicture extends LitElement {
|
|
|
27
28
|
*/
|
|
28
29
|
get showRing() { return this.#showRing_accessor_storage; }
|
|
29
30
|
set showRing(value) { this.#showRing_accessor_storage = value; }
|
|
31
|
+
#showTestUserIndicator_accessor_storage;
|
|
32
|
+
/**
|
|
33
|
+
* Shows a test user indicator at the bottom of the picture
|
|
34
|
+
*/
|
|
35
|
+
get showTestUserIndicator() { return this.#showTestUserIndicator_accessor_storage; }
|
|
36
|
+
set showTestUserIndicator(value) { this.#showTestUserIndicator_accessor_storage = value; }
|
|
30
37
|
#profilePictureLinkPersonId_accessor_storage;
|
|
31
38
|
/**
|
|
32
39
|
* Makes the image a link to the respective profile page
|
|
@@ -87,6 +94,15 @@ let ProfilePicture = class ProfilePicture extends LitElement {
|
|
|
87
94
|
image-rendering: -webkit-optimize-contrast;
|
|
88
95
|
}
|
|
89
96
|
|
|
97
|
+
md-icon {
|
|
98
|
+
position: absolute;
|
|
99
|
+
bottom: -2px;
|
|
100
|
+
right: -2px;
|
|
101
|
+
color: var(--md-sys-color-on-primary);
|
|
102
|
+
background-color: var(--md-sys-color-primary);
|
|
103
|
+
border-radius: 50%;
|
|
104
|
+
}
|
|
105
|
+
|
|
90
106
|
:host([shape='circle']) a:after,
|
|
91
107
|
:host([shape='circle']) img {
|
|
92
108
|
border-radius: 50%;
|
|
@@ -148,6 +164,11 @@ let ProfilePicture = class ProfilePicture extends LitElement {
|
|
|
148
164
|
}
|
|
149
165
|
}}
|
|
150
166
|
/>
|
|
167
|
+
${this.showTestUserIndicator
|
|
168
|
+
? html `<md-icon part="test-user-indicator" style="--md-icon-size: calc(${this.size}px * 0.35);padding: calc(${this.size}px * 0.05)" title="Test user"
|
|
169
|
+
>bug_report</md-icon
|
|
170
|
+
>`
|
|
171
|
+
: nothing}
|
|
151
172
|
`;
|
|
152
173
|
}
|
|
153
174
|
render() {
|
|
@@ -168,6 +189,9 @@ __decorate([
|
|
|
168
189
|
__decorate([
|
|
169
190
|
property({ reflect: true, type: Boolean, attribute: 'show-ring' })
|
|
170
191
|
], ProfilePicture.prototype, "showRing", null);
|
|
192
|
+
__decorate([
|
|
193
|
+
property({ reflect: true, type: Boolean, attribute: 'show-test-user-indicator' })
|
|
194
|
+
], ProfilePicture.prototype, "showTestUserIndicator", null);
|
|
171
195
|
__decorate([
|
|
172
196
|
property({ reflect: true, type: Number, attribute: 'profile-picture-link-person-id' })
|
|
173
197
|
], ProfilePicture.prototype, "profilePictureLinkPersonId", null);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profile-picture.js","sourceRoot":"","sources":["profile-picture.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"profile-picture.js","sourceRoot":"","sources":["profile-picture.ts"],"names":[],"mappings":";AAAA,OAAO,yBAAyB,CAAC;AAGjC,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,UAAU,EAAE,OAAO,EAAkB,MAAM,KAAK,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE5D;;;;;GAKG;AAEI,IAAM,cAAc,GAApB,MAAM,cAAe,SAAQ,UAAU;IAIQ,2BAAwB;IAH5E;;OAEG;IACiD,IAAA,QAAQ,8CAAgB;IAAxB,IAAA,QAAQ,oDAAgB;IAKxB,0BAA6B,QAAQ,CAAC;IAH1F;;OAEG;IACiD,IAAA,KAAK,2CAAiC;IAAtC,IAAA,KAAK,iDAAiC;IAKb,2BAAkB;IAH/F;;OAEG;IAC0E,IAAA,QAAQ,8CAAU;IAAlB,IAAA,QAAQ,oDAAU;IAKH,wCAA+B;IAH3H;;OAEG;IACyF,IAAA,qBAAqB,2DAAU;IAA/B,IAAA,qBAAqB,iEAAU;IAK1B,6CAA0C;IAH3I;;OAEG;IAC8F,IAAA,0BAA0B,gEAAgB;IAA1C,IAAA,0BAA0B,sEAAgB;IAKtG,yBAAe,GAAG,CAAC;IAHxD;;OAEG;IACkC,IAAA,IAAI,0CAAe;IAAnB,IAAA,IAAI,gDAAe;IAKlB,0CAAiC,KAAK,CAAC;IAH7E;;OAEG;IACmC,IAAA,qBAAqB,2DAAkB;IAAvC,IAAA,qBAAqB,iEAAkB;IAE7E,e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,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,CAAC;8CAA4B;AAKH;IAA3F,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,SAAS,EAAE,0BAA0B,EAAE,CAAC;2DAAyC;AAK1B;IAAhG,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,gCAAgC,EAAE,CAAC;gEAAoD;AAKtG;IAApC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;0CAA6B;AAKlB;IAArC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;2DAAiD;AAlClE,cAAc;IAD1B,aAAa,CAAC,iBAAiB,CAAC;GACpB,cAAc,CAyK1B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leavittsoftware/web",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.24.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "",
|
|
6
6
|
"files": [
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"url": "https://github.com/LeavittSoftware/titanium-elements/issues"
|
|
41
41
|
},
|
|
42
42
|
"homepage": "https://github.com/LeavittSoftware/titanium-elements/#readme",
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "0861464466f377dada07fd14fc6a1a9e7a8a33f5"
|
|
44
44
|
}
|
package/titanium/chip/chip.d.ts
CHANGED
|
@@ -12,6 +12,21 @@ export declare class TitaniumChip extends LitElement {
|
|
|
12
12
|
* When true, the chip is selected
|
|
13
13
|
*/
|
|
14
14
|
accessor selected: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* The URL that the link button points to.
|
|
17
|
+
*/
|
|
18
|
+
href: string;
|
|
19
|
+
/**
|
|
20
|
+
* The filename to use when downloading the linked resource.
|
|
21
|
+
* If not specified, the browser will determine a filename.
|
|
22
|
+
* This is only applicable when the button is used as a link (`href` is set).
|
|
23
|
+
*/
|
|
24
|
+
download: string;
|
|
25
|
+
/**
|
|
26
|
+
* Where to display the linked `href` URL for a link button. Common options
|
|
27
|
+
* include `_blank` to open in a new tab.
|
|
28
|
+
*/
|
|
29
|
+
target: '_blank' | '_parent' | '_self' | '_top' | '';
|
|
15
30
|
/**
|
|
16
31
|
* When true, trailing slot is replaced with a remove icon button
|
|
17
32
|
*/
|
|
@@ -34,5 +49,8 @@ export declare class TitaniumChip extends LitElement {
|
|
|
34
49
|
private readonly trailingSlotElements;
|
|
35
50
|
static styles: import("lit").CSSResult[];
|
|
36
51
|
render(): import("lit-html").TemplateResult<1>;
|
|
52
|
+
private renderContent;
|
|
53
|
+
private renderButton;
|
|
54
|
+
private renderLink;
|
|
37
55
|
}
|
|
38
56
|
//# sourceMappingURL=chip.d.ts.map
|
package/titanium/chip/chip.js
CHANGED
|
@@ -3,10 +3,32 @@ import '@material/web/icon/icon';
|
|
|
3
3
|
import '@material/web/iconbutton/icon-button';
|
|
4
4
|
import '@material/web/ripple/ripple';
|
|
5
5
|
import '@material/web/focus/md-focus-ring';
|
|
6
|
-
import { css, html, LitElement } from 'lit';
|
|
6
|
+
import { css, html, LitElement, nothing } from 'lit';
|
|
7
7
|
import { customElement, property, queryAssignedElements } from 'lit/decorators.js';
|
|
8
8
|
import { ellipsis } from '@leavittsoftware/web/titanium/styles/ellipsis';
|
|
9
9
|
let TitaniumChip = class TitaniumChip extends LitElement {
|
|
10
|
+
constructor() {
|
|
11
|
+
super(...arguments);
|
|
12
|
+
/**
|
|
13
|
+
* The URL that the link button points to.
|
|
14
|
+
*/
|
|
15
|
+
this.href = '';
|
|
16
|
+
/**
|
|
17
|
+
* The filename to use when downloading the linked resource.
|
|
18
|
+
* If not specified, the browser will determine a filename.
|
|
19
|
+
* This is only applicable when the button is used as a link (`href` is set).
|
|
20
|
+
*/
|
|
21
|
+
this.download = '';
|
|
22
|
+
/**
|
|
23
|
+
* Where to display the linked `href` URL for a link button. Common options
|
|
24
|
+
* include `_blank` to open in a new tab.
|
|
25
|
+
*/
|
|
26
|
+
this.target = '';
|
|
27
|
+
this.#inputChipRemoveIcon_accessor_storage = 'close';
|
|
28
|
+
this.#disabled_accessor_storage = false;
|
|
29
|
+
this.#hasLeadingItems_accessor_storage = false;
|
|
30
|
+
this.#hasTrailingItems_accessor_storage = false;
|
|
31
|
+
}
|
|
10
32
|
#label_accessor_storage;
|
|
11
33
|
/**
|
|
12
34
|
* Label / text of the chip
|
|
@@ -31,22 +53,22 @@ let TitaniumChip = class TitaniumChip extends LitElement {
|
|
|
31
53
|
*/
|
|
32
54
|
get nonInteractive() { return this.#nonInteractive_accessor_storage; }
|
|
33
55
|
set nonInteractive(value) { this.#nonInteractive_accessor_storage = value; }
|
|
34
|
-
#inputChipRemoveIcon_accessor_storage
|
|
56
|
+
#inputChipRemoveIcon_accessor_storage;
|
|
35
57
|
/**
|
|
36
58
|
* Icon name of the remove icon chip
|
|
37
59
|
*/
|
|
38
60
|
get inputChipRemoveIcon() { return this.#inputChipRemoveIcon_accessor_storage; }
|
|
39
61
|
set inputChipRemoveIcon(value) { this.#inputChipRemoveIcon_accessor_storage = value; }
|
|
40
|
-
#disabled_accessor_storage
|
|
62
|
+
#disabled_accessor_storage;
|
|
41
63
|
/**
|
|
42
64
|
* Whether or not the input should be disabled
|
|
43
65
|
*/
|
|
44
66
|
get disabled() { return this.#disabled_accessor_storage; }
|
|
45
67
|
set disabled(value) { this.#disabled_accessor_storage = value; }
|
|
46
|
-
#hasLeadingItems_accessor_storage
|
|
68
|
+
#hasLeadingItems_accessor_storage;
|
|
47
69
|
get hasLeadingItems() { return this.#hasLeadingItems_accessor_storage; }
|
|
48
70
|
set hasLeadingItems(value) { this.#hasLeadingItems_accessor_storage = value; }
|
|
49
|
-
#hasTrailingItems_accessor_storage
|
|
71
|
+
#hasTrailingItems_accessor_storage;
|
|
50
72
|
get hasTrailingItems() { return this.#hasTrailingItems_accessor_storage; }
|
|
51
73
|
set hasTrailingItems(value) { this.#hasTrailingItems_accessor_storage = value; }
|
|
52
74
|
static { this.styles = [
|
|
@@ -64,6 +86,7 @@ let TitaniumChip = class TitaniumChip extends LitElement {
|
|
|
64
86
|
text-align: left;
|
|
65
87
|
}
|
|
66
88
|
|
|
89
|
+
a,
|
|
67
90
|
button {
|
|
68
91
|
display: grid;
|
|
69
92
|
align-items: center;
|
|
@@ -96,26 +119,35 @@ let TitaniumChip = class TitaniumChip extends LitElement {
|
|
|
96
119
|
font-weight: inherit;
|
|
97
120
|
line-height: inherit;
|
|
98
121
|
letter-spacing: inherit;
|
|
122
|
+
text-decoration: none;
|
|
99
123
|
|
|
100
124
|
padding: 0 12px;
|
|
101
125
|
}
|
|
102
126
|
|
|
103
127
|
:host([selected]) button,
|
|
104
|
-
:host([
|
|
128
|
+
:host([selected]) a,
|
|
129
|
+
:host([has-leading-items]) button,
|
|
130
|
+
:host([has-leading-items]) a {
|
|
105
131
|
grid: 'icon label' / auto 1fr;
|
|
106
132
|
padding-left: 8px;
|
|
107
133
|
}
|
|
108
134
|
|
|
109
135
|
:host([input-chip]) button,
|
|
110
|
-
:host([
|
|
136
|
+
:host([input-chip]) a,
|
|
137
|
+
:host([has-trailing-items]) button,
|
|
138
|
+
:host([has-trailing-items]) a {
|
|
111
139
|
grid: 'label trailing' / 1fr auto;
|
|
112
140
|
padding-right: 4px;
|
|
113
141
|
}
|
|
114
142
|
|
|
115
143
|
:host([selected][input-chip]) button,
|
|
144
|
+
:host([selected][input-chip]) a,
|
|
116
145
|
:host([selected][has-leading-items]) button,
|
|
146
|
+
:host([selected][has-leading-items]) a,
|
|
117
147
|
:host([has-leading-items][input-chip]) button,
|
|
118
|
-
:host([has-
|
|
148
|
+
:host([has-leading-items][input-chip]) a,
|
|
149
|
+
:host([has-trailing-items][has-leading-items]) button,
|
|
150
|
+
:host([has-trailing-items][has-leading-items]) a {
|
|
119
151
|
grid: 'icon label trailing' / auto 1fr auto;
|
|
120
152
|
}
|
|
121
153
|
|
|
@@ -159,9 +191,13 @@ let TitaniumChip = class TitaniumChip extends LitElement {
|
|
|
159
191
|
`,
|
|
160
192
|
]; }
|
|
161
193
|
render() {
|
|
162
|
-
return html
|
|
163
|
-
|
|
164
|
-
|
|
194
|
+
return html ` ${this.href ? this.renderLink() : this.renderButton()} `;
|
|
195
|
+
}
|
|
196
|
+
renderContent() {
|
|
197
|
+
const buttonId = this.href ? 'link' : 'button';
|
|
198
|
+
return html `
|
|
199
|
+
<md-ripple part="focus-ring" for=${buttonId} ?disabled=${this.disabled}></md-ripple>
|
|
200
|
+
<md-focus-ring part="ripple" for=${buttonId}></md-focus-ring>
|
|
165
201
|
${this.selected ? html `<md-icon selected-check>check</md-icon>` : html `<slot name="icon" @slotchange=${() => (this.hasLeadingItems = this.leadingSlotElements.length > 0)}></slot>`}
|
|
166
202
|
|
|
167
203
|
<main label ellipsis><slot name="label">${this.label}</slot></main>
|
|
@@ -176,7 +212,20 @@ let TitaniumChip = class TitaniumChip extends LitElement {
|
|
|
176
212
|
>`
|
|
177
213
|
: html `<slot name="trailing" @slotchange=${() => (this.hasTrailingItems = this.trailingSlotElements.length > 0)}></slot>`}
|
|
178
214
|
</slot>
|
|
179
|
-
|
|
215
|
+
`;
|
|
216
|
+
}
|
|
217
|
+
renderButton() {
|
|
218
|
+
return html `<button id="button" part="button" ?inert=${this.nonInteractive} ?disabled=${this.disabled}>${this.renderContent()}</button>`;
|
|
219
|
+
}
|
|
220
|
+
renderLink() {
|
|
221
|
+
return html `<a
|
|
222
|
+
id="link"
|
|
223
|
+
tabindex="${this.disabled ? -1 : nothing}"
|
|
224
|
+
href=${this.href}
|
|
225
|
+
download=${this.download || nothing}
|
|
226
|
+
target=${this.target || nothing}
|
|
227
|
+
>${this.renderContent()}
|
|
228
|
+
</a>`;
|
|
180
229
|
}
|
|
181
230
|
};
|
|
182
231
|
__decorate([
|
|
@@ -185,6 +234,15 @@ __decorate([
|
|
|
185
234
|
__decorate([
|
|
186
235
|
property({ type: Boolean, reflect: true })
|
|
187
236
|
], TitaniumChip.prototype, "selected", null);
|
|
237
|
+
__decorate([
|
|
238
|
+
property({ type: String })
|
|
239
|
+
], TitaniumChip.prototype, "href", void 0);
|
|
240
|
+
__decorate([
|
|
241
|
+
property()
|
|
242
|
+
], TitaniumChip.prototype, "download", void 0);
|
|
243
|
+
__decorate([
|
|
244
|
+
property()
|
|
245
|
+
], TitaniumChip.prototype, "target", void 0);
|
|
188
246
|
__decorate([
|
|
189
247
|
property({ type: Boolean, reflect: true, attribute: 'input-chip' })
|
|
190
248
|
], TitaniumChip.prototype, "inputChip", null);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chip.js","sourceRoot":"","sources":["chip.ts"],"names":[],"mappings":";AAAA,OAAO,yBAAyB,CAAC;AACjC,OAAO,sCAAsC,CAAC;AAE9C,OAAO,6BAA6B,CAAC;AACrC,OAAO,mCAAmC,CAAC;AAE3C,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"chip.js","sourceRoot":"","sources":["chip.ts"],"names":[],"mappings":";AAAA,OAAO,yBAAyB,CAAC;AACjC,OAAO,sCAAsC,CAAC;AAE9C,OAAO,6BAA6B,CAAC;AACrC,OAAO,mCAAmC,CAAC;AAE3C,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;AACrD,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AACnF,OAAO,EAAE,QAAQ,EAAE,MAAM,+CAA+C,CAAC;AAGlE,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,UAAU;IAArC;;QAWL;;WAEG;QACyB,SAAI,GAAG,EAAE,CAAC;QAEtC;;;;WAIG;QACS,aAAQ,GAAG,EAAE,CAAC;QAE1B;;;WAG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