@internetarchive/collection-browser 0.2.5 → 0.2.6

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.
Files changed (42) hide show
  1. package/dist/src/{tiles/grid → assets/img}/icons/favorite-filled.d.ts +0 -0
  2. package/dist/src/{tiles/grid → assets/img}/icons/favorite-filled.js +0 -0
  3. package/dist/src/{tiles/grid → assets/img}/icons/favorite-filled.js.map +1 -1
  4. package/dist/src/{tiles/grid → assets/img}/icons/reviews.d.ts +0 -0
  5. package/dist/src/{tiles/grid → assets/img}/icons/reviews.js +0 -0
  6. package/dist/src/{tiles/grid → assets/img}/icons/reviews.js.map +1 -1
  7. package/dist/src/{tiles/grid → assets/img}/icons/upload.d.ts +0 -0
  8. package/dist/src/{tiles/grid → assets/img}/icons/upload.js +0 -0
  9. package/dist/src/{tiles/grid → assets/img}/icons/upload.js.map +1 -1
  10. package/dist/src/assets/img/icons/views.d.ts +1 -0
  11. package/dist/src/{tiles/grid → assets/img}/icons/views.js +1 -1
  12. package/dist/src/assets/img/icons/views.js.map +1 -0
  13. package/dist/src/tiles/grid/account-tile.d.ts +1 -0
  14. package/dist/src/tiles/grid/account-tile.js +45 -78
  15. package/dist/src/tiles/grid/account-tile.js.map +1 -1
  16. package/dist/src/tiles/grid/item-tile.d.ts +1 -0
  17. package/dist/src/tiles/grid/item-tile.js +49 -122
  18. package/dist/src/tiles/grid/item-tile.js.map +1 -1
  19. package/dist/src/tiles/grid/tile-stats.d.ts +10 -0
  20. package/dist/src/tiles/grid/tile-stats.js +134 -0
  21. package/dist/src/tiles/grid/tile-stats.js.map +1 -0
  22. package/dist/src/tiles/mediatype-icon.js +4 -0
  23. package/dist/src/tiles/mediatype-icon.js.map +1 -1
  24. package/dist/test/tile-stats.test.d.ts +1 -0
  25. package/dist/test/tile-stats.test.js +42 -0
  26. package/dist/test/tile-stats.test.js.map +1 -0
  27. package/package.json +1 -1
  28. package/src/{tiles/grid → assets/img}/icons/favorite-filled.ts +0 -0
  29. package/src/{tiles/grid → assets/img}/icons/reviews.ts +0 -0
  30. package/src/{tiles/grid → assets/img}/icons/upload.ts +0 -0
  31. package/src/{tiles/grid → assets/img}/icons/views.ts +1 -1
  32. package/src/tiles/grid/account-tile.ts +44 -77
  33. package/src/tiles/grid/item-tile.ts +50 -123
  34. package/src/tiles/grid/tile-stats.ts +132 -0
  35. package/src/tiles/mediatype-icon.ts +4 -0
  36. package/test/tile-stats.test.ts +57 -0
  37. package/dist/src/tiles/grid/icons/account.d.ts +0 -1
  38. package/dist/src/tiles/grid/icons/account.js +0 -12
  39. package/dist/src/tiles/grid/icons/account.js.map +0 -1
  40. package/dist/src/tiles/grid/icons/views.d.ts +0 -2
  41. package/dist/src/tiles/grid/icons/views.js.map +0 -1
  42. package/src/tiles/grid/icons/account.ts +0 -12
@@ -1,16 +1,13 @@
1
1
  /* eslint-disable import/no-duplicates */
2
2
  import { css, CSSResultGroup, html, LitElement, nothing } from 'lit';
3
3
  import { customElement, property } from 'lit/decorators.js';
4
+ import { ifDefined } from 'lit/directives/if-defined.js';
4
5
 
5
6
  import { TileModel } from '../../models';
6
- import { formatCount } from '../../utils/format-count';
7
-
8
- import { favoriteFilledIcon } from './icons/favorite-filled';
9
- import { reviewsIcon } from './icons/reviews';
10
- import viewsIcon from './icons/views';
11
7
 
12
8
  import '../mediatype-icon';
13
9
  import '../item-image';
10
+ import './tile-stats';
14
11
 
15
12
  @customElement('item-tile')
16
13
  export class ItemTile extends LitElement {
@@ -19,182 +16,112 @@ export class ItemTile extends LitElement {
19
16
  @property({ type: String }) baseImageUrl?: string;
20
17
 
21
18
  render() {
22
- const itemTitle = this.model?.title || nothing;
19
+ const itemTitle = this.model?.title;
23
20
  const itemCreator = this.model?.creator;
24
21
  return html`
25
- <div id="container">
26
- <div id="title-image-container">
27
- <h1 id="item-title" title=${itemTitle}>${itemTitle}</h1>
28
- <div id="item-image-container">
29
- <item-image .model=${this.model} .baseImageUrl=${this.baseImageUrl}>
22
+ <div class="container">
23
+ <div class="item-info">
24
+ <div id="title">
25
+ <h1 class="truncated" title=${ifDefined(
26
+ itemTitle
27
+ )}>${itemTitle}</h1>
28
+ </div>
29
+
30
+ <div id="image">
31
+ <item-image
32
+ .model=${this.model}
33
+ .baseImageUrl=${this.baseImageUrl}>
30
34
  </item-image>
31
35
  </div>
32
- <div class="item-creator">
33
- <div class="truncated">
34
- ${itemCreator
35
- ? html`<span>by&nbsp;${itemCreator}</span>`
36
- : nothing}
37
- </div>
36
+ <div class="created-by truncated">
37
+ ${itemCreator ? html`<span>by&nbsp;${itemCreator}</span>` : nothing}
38
38
  </div>
39
39
  </div>
40
40
 
41
- <div class="hr"></div>
42
-
43
- <div id="item-stats-container">
44
- <div id="stats-holder">
45
- <div class="col">
46
- <mediatype-icon
47
- .mediatype=${this.model?.mediatype}
48
- .collection=${this.model?.collections}
49
- style="--iconHeight:25px; --iconWidth:25px;"
50
- >
51
- </mediatype-icon>
52
- </div>
53
- <div class="col">
54
- ${viewsIcon}
55
- <p class="status-text">
56
- ${formatCount(this.model?.viewCount, 'short', 'short')}
57
- </p>
58
- </div>
59
- <div class="col">
60
- ${favoriteFilledIcon}
61
- <p class="status-text">
62
- ${formatCount(this.model?.itemCount, 'short', 'short')}
63
- </p>
64
- </div>
65
- <div class="col">
66
- ${reviewsIcon}
67
- <p class="status-text">
68
- ${formatCount(this.model?.favCount, 'short', 'short')}
69
- </p>
70
- </div>
71
- </div>
41
+ <tile-stats
42
+ .mediatype=${this.model?.mediatype}
43
+ .viewCount=${this.model?.viewCount}
44
+ .favCount=${this.model?.favCount}
45
+ .commentCount=${this.model?.commentCount}>
46
+ </tile-stats>
72
47
  </div>
73
48
  </div>
74
49
  `;
75
50
  }
76
51
 
77
52
  static get styles(): CSSResultGroup {
78
- const cornerRadiusCss = css`var(--collectionTileCornerRadius, 4px)`;
79
-
80
53
  return css`
81
- #container {
54
+ .container {
82
55
  background-color: #ffffff;
83
- border-radius: ${cornerRadiusCss};
56
+ border-radius: var(--collectionTileCornerRadius, 4px);
84
57
  box-shadow: 1px 1px 2px 0px;
85
58
  display: flex;
86
59
  flex-direction: column;
87
60
  height: 100%;
88
- position: relative;
89
61
  }
90
62
 
91
- #title-image-container {
92
- display: flex;
93
- flex: 1;
94
- flex-direction: column;
95
- padding: 0.5rem 0.5rem 0 0.5rem;
63
+ .item-info {
64
+ padding: 5px 5px 0 5px;
65
+ flex-grow: 1;
96
66
  }
97
67
 
98
- #item-title {
99
- color: #2c2c2c;
100
- font-size: 1.6rem;
101
- text-align: center;
102
- margin-top: 0rem;
103
- margin-bottom: 0.5rem;
104
- overflow: hidden;
105
- text-overflow: ellipsis;
106
- display: -webkit-box;
107
- -webkit-line-clamp: 2;
108
- -webkit-box-orient: vertical;
109
- line-height: 2rem;
110
- height: 4rem;
68
+ #title {
69
+ flex-shrink: 0;
111
70
  }
112
71
 
113
- #item-image-container {
72
+ #image {
114
73
  display: flex;
115
74
  justify-content: center;
116
75
  flex: 1;
76
+ height: 16rem;
117
77
  }
118
78
 
119
79
  .hidden {
120
80
  display: none;
121
81
  }
122
82
 
123
- #container:hover > #title-image-container > .item-title {
83
+ .container:hover > .item-info > #title > .truncated {
124
84
  text-decoration: underline;
125
85
  }
126
86
 
127
87
  /** this is a workaround for Safari 15 where the hover effects are not working */
128
- #title-image-container:hover > #item-title {
88
+ #title:hover > .truncated {
129
89
  text-decoration: underline;
130
90
  }
131
91
 
132
- #container:hover > #item-title {
133
- background-color: #fcfcfc;
134
- }
135
-
136
- .item-creator {
92
+ .created-by {
137
93
  display: flex;
138
94
  justify-content: center;
139
95
  align-items: flex-end; /* Important to start text from bottom */
140
96
  height: 3rem;
141
97
  padding-top: 1rem;
98
+ margin-top: 5px;
142
99
  }
143
100
 
144
101
  .truncated {
145
102
  flex: 1;
146
- min-width: 0; /* Important for long words! */
147
- }
148
-
149
- .truncated span {
150
- font-size: 1.4rem;
151
103
  color: #2c2c2c;
152
- -webkit-line-clamp: 2;
104
+ min-width: 0; /* Important for long words! */
105
+ text-align: center;
106
+ line-height: 2rem;
153
107
  text-overflow: ellipsis;
154
108
  overflow: hidden;
155
- display: -webkit-box;
156
- -webkit-box-orient: vertical;
157
109
  word-wrap: break-word;
158
- line-height: 2rem;
159
- text-align: center;
160
- }
161
-
162
- .hr {
163
- border: 0.5px solid #ccc;
164
- }
165
-
166
- #item-stats-container {
167
- align-items: center;
168
- display: flex;
169
- height: 5.5rem;
170
- padding-left: 1rem;
171
- padding-right: 0.5rem;
172
- }
173
-
174
- #stats-holder {
175
- align-items: center;
176
- display: flex;
177
- flex: 1;
178
- justify-content: space-evenly;
179
- text-align: center;
180
- width: 100%;
181
- }
182
-
183
- svg {
184
- height: 10px;
185
- width: 10px;
110
+ -webkit-line-clamp: 2;
111
+ -webkit-box-orient: vertical;
186
112
  }
187
113
 
188
- .status-text {
189
- font-size: 14px;
190
- color: #2c2c2c;
191
- margin: auto;
192
- display: block;
193
- text-align: center;
114
+ .truncated span {
115
+ font-size: 1.4rem;
116
+ display: -webkit-box;
194
117
  }
195
118
 
196
- .col {
197
- width: 25%;
119
+ h1.truncated {
120
+ margin-top: 0rem;
121
+ margin-bottom: 0.5rem;
122
+ font-size: 1.6rem;
123
+ height: 4rem;
124
+ display: -webkit-box;
198
125
  }
199
126
  `;
200
127
  }
@@ -0,0 +1,132 @@
1
+ import { css, CSSResultGroup, html, LitElement } from 'lit';
2
+ import { customElement, property } from 'lit/decorators.js';
3
+
4
+ import { favoriteFilledIcon } from '../../assets/img/icons/favorite-filled';
5
+ import { reviewsIcon } from '../../assets/img/icons/reviews';
6
+ import { uploadIcon } from '../../assets/img/icons/upload';
7
+ import { viewsIcon } from '../../assets/img/icons/views';
8
+
9
+ import { formatCount } from '../../utils/format-count';
10
+
11
+ @customElement('tile-stats')
12
+ export class TileStats extends LitElement {
13
+ @property({ type: String }) mediatype?: string;
14
+
15
+ @property({ type: Number }) itemCount?: number;
16
+
17
+ @property({ type: Number }) viewCount?: number;
18
+
19
+ @property({ type: Number }) favCount?: number;
20
+
21
+ @property({ type: Number }) commentCount?: number;
22
+
23
+ render() {
24
+ return html`
25
+ <div class="item-stats">
26
+ <p class="sr-only">
27
+ ${this.mediatype === 'account' ? 'Account Stats' : 'Item Stats'}
28
+ </p>
29
+ <ul id="stats-row">
30
+ <li class="col">
31
+ <p class="sr-only">Mediatype:</p>
32
+ <mediatype-icon .mediatype=${this.mediatype}></mediatype-icon>
33
+ </li>
34
+ <li class="col">
35
+ ${this.mediatype === 'account' ? uploadIcon : viewsIcon}
36
+ <p class="status-text">
37
+ <span class="sr-only">
38
+ ${this.mediatype === 'account' ? 'Uploads:' : 'Views:'}
39
+ </span>
40
+ ${formatCount(
41
+ this.mediatype === 'account' ? this.itemCount : this.viewCount,
42
+ 'short',
43
+ 'short'
44
+ )}
45
+ </p>
46
+ </li>
47
+ <li class="col">
48
+ ${favoriteFilledIcon}
49
+ <p class="status-text">
50
+ <span class="sr-only">Favorites:</span>
51
+ ${formatCount(this.favCount, 'short', 'short')}
52
+ </p>
53
+ </li>
54
+ <li class="col">
55
+ ${reviewsIcon}
56
+ <p class="status-text">
57
+ <span class="sr-only">Reviews:</span>
58
+ ${formatCount(this.commentCount, 'short', 'short')}
59
+ </p>
60
+ </li>
61
+ </ul>
62
+ </div>
63
+ `;
64
+ }
65
+
66
+ static get styles(): CSSResultGroup {
67
+ return css`
68
+ mediatype-icon {
69
+ --iconHeight: 25px;
70
+ --iconWidth: 25px;
71
+ }
72
+
73
+ ul {
74
+ all: unset; // unset all property values
75
+ list-style-type: none; // remove default list-style
76
+ }
77
+
78
+ li {
79
+ list-style-type: none; // remove default list-style
80
+ }
81
+
82
+ .item-stats {
83
+ height: 35px;
84
+ }
85
+
86
+ #stats-row {
87
+ border-top: 1px solid #bbb;
88
+ align-items: center;
89
+ display: flex;
90
+ flex: 1;
91
+ justify-content: space-evenly;
92
+ text-align: center;
93
+ width: 100%;
94
+ padding-top: 5px;
95
+ padding-bottom: 5px;
96
+ }
97
+
98
+ .sr-only {
99
+ position: absolute;
100
+ width: 1px;
101
+ height: 1px;
102
+ padding: 0;
103
+ margin: -1px;
104
+ overflow: hidden;
105
+ clip: rect(0, 0, 0, 0);
106
+ border: 0;
107
+ }
108
+
109
+ .col {
110
+ width: 25%;
111
+ height: 25px;
112
+ }
113
+
114
+ svg {
115
+ height: 10px;
116
+ width: 10px;
117
+ display: block;
118
+ margin: auto;
119
+ }
120
+
121
+ .status-text {
122
+ font-size: 14px;
123
+ height: 15px;
124
+ color: #2c2c2c;
125
+ line-height: 20px;
126
+ margin: auto;
127
+ display: block;
128
+ text-align: center;
129
+ }
130
+ `;
131
+ }
132
+ }
@@ -50,6 +50,10 @@ export class MediatypeIcon extends LitElement {
50
50
 
51
51
  static get styles(): CSSResultGroup {
52
52
  return css`
53
+ #icon {
54
+ height: var(--iconHeight, 25px);
55
+ }
56
+
53
57
  .status-text {
54
58
  font-size: 14px;
55
59
  color: #2c2c2c;
@@ -0,0 +1,57 @@
1
+ /* eslint-disable import/no-duplicates */
2
+ import { expect, fixture } from '@open-wc/testing';
3
+ import { html } from 'lit';
4
+ import { TileStats } from '../src/tiles/grid/tile-stats';
5
+
6
+ import '../src/tiles/grid/tile-stats';
7
+
8
+ describe('Tile Stats', () => {
9
+ it('should render initial component', async () => {
10
+ const el = await fixture<TileStats>(html`<tile-stats></tile-stats>`);
11
+
12
+ const itemStats = el.shadowRoot?.querySelector('.item-stats');
13
+ const statsRow = el.shadowRoot?.querySelector('#stats-row');
14
+ const statsRowCount = statsRow?.childElementCount;
15
+
16
+ expect(itemStats).to.exist;
17
+ expect(statsRow).to.exist;
18
+ expect(statsRowCount).to.equal(4);
19
+ });
20
+
21
+ it('should render component with value', async () => {
22
+ const el = await fixture<TileStats>(
23
+ html`
24
+ <tile-stats
25
+ .mediatype=${'account'}
26
+ .itemCount=${1}
27
+ .favCount=${2}
28
+ .commentCount=${3}
29
+ >
30
+ </tile-stats>
31
+ `
32
+ );
33
+
34
+ const statsRow = el.shadowRoot?.querySelector('#stats-row');
35
+
36
+ const mediatypeStat = statsRow?.children.item(0);
37
+ // get second column item in stats row
38
+ const itemStatCount = statsRow?.children
39
+ .item(1)
40
+ ?.querySelector('.status-text')?.textContent;
41
+ // get third column item in stats row
42
+ const favoritesStatCount = statsRow?.children
43
+ .item(2)
44
+ ?.querySelector('.status-text')?.textContent;
45
+ // get fourth column item in stats row
46
+ const reviewsStatCount = statsRow?.children
47
+ .item(3)
48
+ ?.querySelector('.status-text')?.textContent;
49
+
50
+ expect(mediatypeStat).to.exist;
51
+
52
+ // Snapshot testing - reference: https://open-wc.org/docs/testing/semantic-dom-diff/#snapshot-testing
53
+ expect(itemStatCount).to.equalSnapshot(1);
54
+ expect(favoritesStatCount).to.equalSnapshot(2);
55
+ expect(reviewsStatCount).to.equalSnapshot(3);
56
+ });
57
+ });
@@ -1 +0,0 @@
1
- export declare const accountIcon: import("lit-html").TemplateResult<2>;
@@ -1,12 +0,0 @@
1
- import { svg } from 'lit';
2
- export const accountIcon = svg `
3
- <svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg">
4
- <path
5
- d="m89.6854559 79.6500588c1.7300364 6.4823648 2.180423 13.3122689 3.3145441 20.3499412h-86c.5683151-15.8558542 2.98334063-30.7849367 15.1676149-41.6581341 22.9948067-20.518674 59.250299-9.0032844 67.517841 21.3081929zm-40.0998307-79.6500588c10.872402.0493248 19.9700408 9.25722341 19.917959 20.1421788-.0829413 11.042868-8.9616237 19.8492523-20.0602807 19.8578212-11.1181198 0-19.9397193-8.7904706-19.9397193-19.8908727-.0327543-11.11998815 9.0125781-20.17487063 20.082041-20.1091273z"
6
- fill="#333"
7
- fill-rule="evenodd"
8
- />
9
- <title>Icon of a person</title>
10
- </svg>
11
- `;
12
- //# sourceMappingURL=account.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"account.js","sourceRoot":"","sources":["../../../../../src/tiles/grid/icons/account.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAAA;;;;;;;;;CAS7B,CAAC","sourcesContent":["import { svg } from 'lit';\n\nexport const accountIcon = svg`\n <svg viewBox=\"0 0 100 100\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"m89.6854559 79.6500588c1.7300364 6.4823648 2.180423 13.3122689 3.3145441 20.3499412h-86c.5683151-15.8558542 2.98334063-30.7849367 15.1676149-41.6581341 22.9948067-20.518674 59.250299-9.0032844 67.517841 21.3081929zm-40.0998307-79.6500588c10.872402.0493248 19.9700408 9.25722341 19.917959 20.1421788-.0829413 11.042868-8.9616237 19.8492523-20.0602807 19.8578212-11.1181198 0-19.9397193-8.7904706-19.9397193-19.8908727-.0327543-11.11998815 9.0125781-20.17487063 20.082041-20.1091273z\"\n fill=\"#333\"\n fill-rule=\"evenodd\"\n />\n <title>Icon of a person</title>\n </svg>\n`;\n"]}
@@ -1,2 +0,0 @@
1
- declare const _default: import("lit-html").TemplateResult<2>;
2
- export default _default;
@@ -1 +0,0 @@
1
- {"version":3,"file":"views.js","sourceRoot":"","sources":["../../../../../src/tiles/grid/icons/views.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,eAAe,GAAG,CAAA;;;;;;;;CAQjB,CAAC","sourcesContent":["import { svg } from 'lit';\n\nexport default svg`\n <svg viewBox=\"0 0 100 100\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"m98 50.5704143c-.2830293-.471515-.671154-1.1088947-1.1643742-1.9121392s-1.6003642-2.3617474-3.3214321-4.6755089c-1.7210678-2.3137614-3.522258-4.5325939-5.4035703-6.6564975-1.8813124-2.1239037-4.2828993-4.473133-7.2047606-7.0476881-2.9218612-2.5745551-5.8895067-4.7933876-8.9029363-6.6564976-3.0134295-1.86311-6.4628491-3.4330878-10.3482587-4.7099336-3.8854095-1.2768458-7.7822651-1.9142256-11.6905667-1.9121443-3.9083017.0020914-7.8051573.6154781-11.6905668 1.8401652-3.8854096 1.2246871-7.3702078 2.8301329-10.4543947 4.8163375-3.0841869 1.9862045-6.0278997 4.1695691-8.8311384 6.5500937s-5.2048256 4.7652219-7.2047605 7.1540919c-1.99993501 2.38887-3.75430043 4.5722346-5.26309632 6.5500938s-2.63883199 3.583305-3.39010829 4.8163374l-1.13003609 1.8401602c.2830293.4715149.67115403 1.1088946 1.16437421 1.9121391.49322017.8032445 1.5878776 2.3617475 3.28397229 4.6755089s3.47439274 4.521119 5.3348942 6.6220728c1.8605014 2.1009538 4.2506422 4.4387083 7.1704224 7.0132633 2.9197801 2.5745551 5.8874256 4.7819127 8.9029363 6.6220729 3.0155106 1.8401601 6.4774168 3.398663 10.3857184 4.6755088 3.9083017 1.2768458 7.8176438 1.9142256 11.7280266 1.9121443 3.9103827-.0020914 7.7957922-.6154781 11.6562286-1.8401652s7.3337886-2.818658 10.4200566-4.7819127 6.0299808-4.1351444 8.8311384-6.515669 5.2152311-4.7652219 7.2422203-7.1540919 3.8052873-4.5607597 5.3348942-6.515669c1.5296068-1.9549093 2.6721295-3.5488802 3.427568-4.7819127zm-24.5142913 0c0 6.467683-2.3079374 12.0152859-6.9238123 16.6428087s-10.1495139 6.9412843-16.600917 6.9412843c-6.4992683 0-12.0453939-2.3137615-16.6383767-6.9412843s-6.8894742-10.1751257-6.8894742-16.6428087 2.2964914-12.003811 6.8894742-16.608384 10.1391084-6.9068595 16.6383767-6.9068595c6.4534842 0 11.9871232 2.3022865 16.600917 6.9068595s6.9217312 10.140701 6.9238123 16.608384zm-23.5247293-10.552755c2.8261308 0 5.2870289 1.0619518 7.3826944 3.1858555 2.0956655 2.1239036 3.1434982 4.5795368 3.1434982 7.3668995 0 2.8332624-1.0478327 5.2888956-3.1434982 7.3668995-2.0956655 2.078004-4.5565636 3.1170059-7.3826944 3.1170059-2.873996 0-5.3348941-1.0264838-7.3826944-3.0794516-2.0478002-2.0529677-3.0717003-4.5200758-3.0717003-7.4013243 0-2.8332624 1.0239001-5.3003705 3.0717003-7.4013243 2.0478003-2.1009538 4.5086984-3.1514307 7.3826944-3.1514307z\"\n fill=\"#333\"\n />\n <title>Eye icon</title>\n </svg>\n`;\n"]}
@@ -1,12 +0,0 @@
1
- import { svg } from 'lit';
2
-
3
- export const accountIcon = svg`
4
- <svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg">
5
- <path
6
- d="m89.6854559 79.6500588c1.7300364 6.4823648 2.180423 13.3122689 3.3145441 20.3499412h-86c.5683151-15.8558542 2.98334063-30.7849367 15.1676149-41.6581341 22.9948067-20.518674 59.250299-9.0032844 67.517841 21.3081929zm-40.0998307-79.6500588c10.872402.0493248 19.9700408 9.25722341 19.917959 20.1421788-.0829413 11.042868-8.9616237 19.8492523-20.0602807 19.8578212-11.1181198 0-19.9397193-8.7904706-19.9397193-19.8908727-.0327543-11.11998815 9.0125781-20.17487063 20.082041-20.1091273z"
7
- fill="#333"
8
- fill-rule="evenodd"
9
- />
10
- <title>Icon of a person</title>
11
- </svg>
12
- `;