@internetarchive/collection-browser 2.2.3-alpha.6 → 2.4.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.
Files changed (305) hide show
  1. package/.editorconfig +29 -29
  2. package/.husky/pre-commit +4 -4
  3. package/LICENSE +661 -661
  4. package/README.md +83 -83
  5. package/dist/index.d.ts +12 -12
  6. package/dist/index.js +12 -12
  7. package/dist/src/app-root.d.ts +91 -91
  8. package/dist/src/app-root.js +487 -487
  9. package/dist/src/assets/img/icons/arrow-left.d.ts +2 -2
  10. package/dist/src/assets/img/icons/arrow-left.js +2 -2
  11. package/dist/src/assets/img/icons/arrow-right.d.ts +2 -2
  12. package/dist/src/assets/img/icons/arrow-right.js +2 -2
  13. package/dist/src/assets/img/icons/chevron.d.ts +2 -2
  14. package/dist/src/assets/img/icons/chevron.js +2 -2
  15. package/dist/src/assets/img/icons/contract.d.ts +2 -2
  16. package/dist/src/assets/img/icons/contract.js +2 -2
  17. package/dist/src/assets/img/icons/empty-query.d.ts +2 -2
  18. package/dist/src/assets/img/icons/empty-query.js +2 -2
  19. package/dist/src/assets/img/icons/expand.d.ts +2 -2
  20. package/dist/src/assets/img/icons/expand.js +2 -2
  21. package/dist/src/assets/img/icons/eye-closed.d.ts +2 -2
  22. package/dist/src/assets/img/icons/eye-closed.js +2 -2
  23. package/dist/src/assets/img/icons/eye.d.ts +2 -2
  24. package/dist/src/assets/img/icons/eye.js +2 -2
  25. package/dist/src/assets/img/icons/favorite-filled.d.ts +1 -1
  26. package/dist/src/assets/img/icons/favorite-filled.js +2 -2
  27. package/dist/src/assets/img/icons/favorite-unfilled.d.ts +1 -1
  28. package/dist/src/assets/img/icons/favorite-unfilled.js +2 -2
  29. package/dist/src/assets/img/icons/login-required.d.ts +1 -1
  30. package/dist/src/assets/img/icons/login-required.js +2 -2
  31. package/dist/src/assets/img/icons/mediatype/account.d.ts +1 -1
  32. package/dist/src/assets/img/icons/mediatype/account.js +2 -2
  33. package/dist/src/assets/img/icons/mediatype/audio.d.ts +1 -1
  34. package/dist/src/assets/img/icons/mediatype/audio.js +2 -2
  35. package/dist/src/assets/img/icons/mediatype/collection.d.ts +1 -1
  36. package/dist/src/assets/img/icons/mediatype/collection.js +2 -2
  37. package/dist/src/assets/img/icons/mediatype/data.d.ts +1 -1
  38. package/dist/src/assets/img/icons/mediatype/data.js +2 -2
  39. package/dist/src/assets/img/icons/mediatype/etree.d.ts +1 -1
  40. package/dist/src/assets/img/icons/mediatype/etree.js +2 -2
  41. package/dist/src/assets/img/icons/mediatype/film.d.ts +1 -1
  42. package/dist/src/assets/img/icons/mediatype/film.js +2 -2
  43. package/dist/src/assets/img/icons/mediatype/images.d.ts +1 -1
  44. package/dist/src/assets/img/icons/mediatype/images.js +2 -2
  45. package/dist/src/assets/img/icons/mediatype/radio.d.ts +1 -1
  46. package/dist/src/assets/img/icons/mediatype/radio.js +2 -2
  47. package/dist/src/assets/img/icons/mediatype/search.d.ts +1 -1
  48. package/dist/src/assets/img/icons/mediatype/search.js +2 -2
  49. package/dist/src/assets/img/icons/mediatype/software.d.ts +1 -1
  50. package/dist/src/assets/img/icons/mediatype/software.js +2 -2
  51. package/dist/src/assets/img/icons/mediatype/texts.d.ts +1 -1
  52. package/dist/src/assets/img/icons/mediatype/texts.js +2 -2
  53. package/dist/src/assets/img/icons/mediatype/tv.d.ts +1 -1
  54. package/dist/src/assets/img/icons/mediatype/tv.js +2 -2
  55. package/dist/src/assets/img/icons/mediatype/video.d.ts +1 -1
  56. package/dist/src/assets/img/icons/mediatype/video.js +2 -2
  57. package/dist/src/assets/img/icons/mediatype/web.d.ts +1 -1
  58. package/dist/src/assets/img/icons/mediatype/web.js +2 -2
  59. package/dist/src/assets/img/icons/null-result.d.ts +2 -2
  60. package/dist/src/assets/img/icons/null-result.js +2 -2
  61. package/dist/src/assets/img/icons/restricted.d.ts +1 -1
  62. package/dist/src/assets/img/icons/restricted.js +2 -2
  63. package/dist/src/assets/img/icons/reviews.d.ts +1 -1
  64. package/dist/src/assets/img/icons/reviews.js +2 -2
  65. package/dist/src/assets/img/icons/upload.d.ts +1 -1
  66. package/dist/src/assets/img/icons/upload.js +2 -2
  67. package/dist/src/assets/img/icons/views.d.ts +1 -1
  68. package/dist/src/assets/img/icons/views.js +2 -2
  69. package/dist/src/circular-activity-indicator.d.ts +5 -5
  70. package/dist/src/circular-activity-indicator.js +17 -17
  71. package/dist/src/collection-browser.d.ts +466 -466
  72. package/dist/src/collection-browser.js +1475 -1478
  73. package/dist/src/collection-browser.js.map +1 -1
  74. package/dist/src/collection-facets/facet-row.d.ts +30 -30
  75. package/dist/src/collection-facets/facet-row.js +114 -114
  76. package/dist/src/collection-facets/facet-tombstone-row.d.ts +5 -5
  77. package/dist/src/collection-facets/facet-tombstone-row.js +15 -15
  78. package/dist/src/collection-facets/facets-template.d.ts +17 -17
  79. package/dist/src/collection-facets/facets-template.js +114 -114
  80. package/dist/src/collection-facets/more-facets-content.d.ts +74 -74
  81. package/dist/src/collection-facets/more-facets-content.js +360 -360
  82. package/dist/src/collection-facets/more-facets-pagination.d.ts +36 -36
  83. package/dist/src/collection-facets/more-facets-pagination.js +196 -196
  84. package/dist/src/collection-facets/toggle-switch.d.ts +41 -41
  85. package/dist/src/collection-facets/toggle-switch.js +94 -94
  86. package/dist/src/collection-facets.d.ts +103 -103
  87. package/dist/src/collection-facets.js +510 -510
  88. package/dist/src/data-source/collection-browser-data-source-interface.d.ts +241 -241
  89. package/dist/src/data-source/collection-browser-data-source-interface.js +1 -1
  90. package/dist/src/data-source/collection-browser-data-source.d.ts +378 -378
  91. package/dist/src/data-source/collection-browser-data-source.js +985 -990
  92. package/dist/src/data-source/collection-browser-data-source.js.map +1 -1
  93. package/dist/src/data-source/collection-browser-query-state.d.ts +43 -43
  94. package/dist/src/data-source/collection-browser-query-state.js +1 -1
  95. package/dist/src/data-source/models.d.ts +28 -28
  96. package/dist/src/data-source/models.js +8 -8
  97. package/dist/src/empty-placeholder.d.ts +23 -23
  98. package/dist/src/empty-placeholder.js +74 -74
  99. package/dist/src/expanded-date-picker.d.ts +43 -43
  100. package/dist/src/expanded-date-picker.js +109 -109
  101. package/dist/src/language-code-handler/language-code-handler.d.ts +37 -37
  102. package/dist/src/language-code-handler/language-code-handler.js +26 -26
  103. package/dist/src/language-code-handler/language-code-mapping.d.ts +1 -1
  104. package/dist/src/language-code-handler/language-code-mapping.js +562 -562
  105. package/dist/src/manage/manage-bar.d.ts +30 -30
  106. package/dist/src/manage/manage-bar.js +61 -61
  107. package/dist/src/mediatype/mediatype-config.d.ts +3 -3
  108. package/dist/src/mediatype/mediatype-config.js +91 -91
  109. package/dist/src/models.d.ts +209 -209
  110. package/dist/src/models.js +381 -381
  111. package/dist/src/restoration-state-handler.d.ts +70 -70
  112. package/dist/src/restoration-state-handler.js +357 -357
  113. package/dist/src/sort-filter-bar/alpha-bar-tooltip.d.ts +6 -6
  114. package/dist/src/sort-filter-bar/alpha-bar-tooltip.js +24 -24
  115. package/dist/src/sort-filter-bar/alpha-bar.d.ts +21 -21
  116. package/dist/src/sort-filter-bar/alpha-bar.js +128 -128
  117. package/dist/src/sort-filter-bar/img/compact.d.ts +1 -1
  118. package/dist/src/sort-filter-bar/img/compact.js +2 -2
  119. package/dist/src/sort-filter-bar/img/list.d.ts +1 -1
  120. package/dist/src/sort-filter-bar/img/list.js +2 -2
  121. package/dist/src/sort-filter-bar/img/sort-toggle-disabled.d.ts +1 -1
  122. package/dist/src/sort-filter-bar/img/sort-toggle-disabled.js +2 -2
  123. package/dist/src/sort-filter-bar/img/sort-toggle-down.d.ts +1 -1
  124. package/dist/src/sort-filter-bar/img/sort-toggle-down.js +2 -2
  125. package/dist/src/sort-filter-bar/img/sort-toggle-up.d.ts +1 -1
  126. package/dist/src/sort-filter-bar/img/sort-toggle-up.js +2 -2
  127. package/dist/src/sort-filter-bar/img/sort-triangle.d.ts +1 -1
  128. package/dist/src/sort-filter-bar/img/sort-triangle.js +2 -2
  129. package/dist/src/sort-filter-bar/img/tile.d.ts +1 -1
  130. package/dist/src/sort-filter-bar/img/tile.js +2 -2
  131. package/dist/src/sort-filter-bar/sort-filter-bar.d.ts +222 -222
  132. package/dist/src/sort-filter-bar/sort-filter-bar.js +696 -696
  133. package/dist/src/styles/ia-button.d.ts +2 -2
  134. package/dist/src/styles/ia-button.js +16 -16
  135. package/dist/src/styles/item-image-styles.d.ts +8 -8
  136. package/dist/src/styles/item-image-styles.js +9 -9
  137. package/dist/src/styles/sr-only.d.ts +1 -1
  138. package/dist/src/styles/sr-only.js +2 -2
  139. package/dist/src/tiles/base-tile-component.d.ts +19 -19
  140. package/dist/src/tiles/base-tile-component.js +63 -63
  141. package/dist/src/tiles/collection-browser-loading-tile.d.ts +5 -5
  142. package/dist/src/tiles/collection-browser-loading-tile.js +15 -15
  143. package/dist/src/tiles/grid/account-tile.d.ts +18 -18
  144. package/dist/src/tiles/grid/account-tile.js +72 -72
  145. package/dist/src/tiles/grid/collection-tile.d.ts +15 -15
  146. package/dist/src/tiles/grid/collection-tile.js +80 -80
  147. package/dist/src/tiles/grid/item-tile.d.ts +30 -30
  148. package/dist/src/tiles/grid/item-tile.js +149 -149
  149. package/dist/src/tiles/grid/search-tile.d.ts +10 -10
  150. package/dist/src/tiles/grid/search-tile.js +51 -51
  151. package/dist/src/tiles/grid/styles/tile-grid-shared-styles.d.ts +1 -1
  152. package/dist/src/tiles/grid/styles/tile-grid-shared-styles.js +8 -8
  153. package/dist/src/tiles/grid/tile-stats.d.ts +11 -11
  154. package/dist/src/tiles/grid/tile-stats.js +53 -53
  155. package/dist/src/tiles/hover/hover-pane-controller.d.ts +219 -219
  156. package/dist/src/tiles/hover/hover-pane-controller.js +354 -352
  157. package/dist/src/tiles/hover/hover-pane-controller.js.map +1 -1
  158. package/dist/src/tiles/hover/tile-hover-pane.d.ts +18 -15
  159. package/dist/src/tiles/hover/tile-hover-pane.js +127 -47
  160. package/dist/src/tiles/hover/tile-hover-pane.js.map +1 -1
  161. package/dist/src/tiles/image-block.d.ts +17 -17
  162. package/dist/src/tiles/image-block.js +74 -74
  163. package/dist/src/tiles/image-block.js.map +1 -1
  164. package/dist/src/tiles/item-image.d.ts +39 -39
  165. package/dist/src/tiles/item-image.js +154 -154
  166. package/dist/src/tiles/list/tile-list-compact-header.d.ts +6 -6
  167. package/dist/src/tiles/list/tile-list-compact-header.js +38 -38
  168. package/dist/src/tiles/list/tile-list-compact.d.ts +15 -15
  169. package/dist/src/tiles/list/tile-list-compact.js +114 -114
  170. package/dist/src/tiles/list/tile-list.d.ts +50 -50
  171. package/dist/src/tiles/list/tile-list.js +315 -315
  172. package/dist/src/tiles/mediatype-icon.d.ts +9 -9
  173. package/dist/src/tiles/mediatype-icon.js +47 -47
  174. package/dist/src/tiles/overlay/icon-overlay.d.ts +10 -10
  175. package/dist/src/tiles/overlay/icon-overlay.js +40 -40
  176. package/dist/src/tiles/overlay/icon-text-overlay.d.ts +9 -9
  177. package/dist/src/tiles/overlay/icon-text-overlay.js +38 -38
  178. package/dist/src/tiles/overlay/text-overlay.d.ts +10 -10
  179. package/dist/src/tiles/overlay/text-overlay.js +42 -42
  180. package/dist/src/tiles/review-block.d.ts +12 -12
  181. package/dist/src/tiles/review-block.js +56 -56
  182. package/dist/src/tiles/text-snippet-block.d.ts +27 -27
  183. package/dist/src/tiles/text-snippet-block.js +73 -73
  184. package/dist/src/tiles/tile-dispatcher.d.ts +64 -64
  185. package/dist/src/tiles/tile-dispatcher.js +229 -229
  186. package/dist/src/tiles/tile-display-value-provider.d.ts +47 -47
  187. package/dist/src/tiles/tile-display-value-provider.js +94 -94
  188. package/dist/src/utils/analytics-events.d.ts +28 -28
  189. package/dist/src/utils/analytics-events.js +30 -30
  190. package/dist/src/utils/array-equals.d.ts +4 -4
  191. package/dist/src/utils/array-equals.js +10 -10
  192. package/dist/src/utils/collapse-repeated-quotes.d.ts +11 -11
  193. package/dist/src/utils/collapse-repeated-quotes.js +13 -13
  194. package/dist/src/utils/format-count.d.ts +7 -7
  195. package/dist/src/utils/format-count.js +76 -76
  196. package/dist/src/utils/format-date.d.ts +2 -2
  197. package/dist/src/utils/format-date.js +25 -25
  198. package/dist/src/utils/format-unit-size.d.ts +2 -2
  199. package/dist/src/utils/format-unit-size.js +33 -33
  200. package/dist/src/utils/local-date-from-utc.d.ts +9 -9
  201. package/dist/src/utils/local-date-from-utc.js +15 -15
  202. package/dist/src/utils/log.d.ts +7 -7
  203. package/dist/src/utils/log.js +15 -15
  204. package/dist/src/utils/resolve-mediatype.d.ts +8 -8
  205. package/dist/src/utils/resolve-mediatype.js +23 -23
  206. package/dist/src/utils/sha1.d.ts +2 -2
  207. package/dist/src/utils/sha1.js +8 -8
  208. package/dist/test/collection-browser.test.d.ts +1 -1
  209. package/dist/test/collection-browser.test.js +1301 -1284
  210. package/dist/test/collection-browser.test.js.map +1 -1
  211. package/dist/test/collection-facets/facet-row.test.d.ts +1 -1
  212. package/dist/test/collection-facets/facet-row.test.js +203 -203
  213. package/dist/test/collection-facets/facets-template.test.d.ts +1 -1
  214. package/dist/test/collection-facets/facets-template.test.js +105 -105
  215. package/dist/test/collection-facets/more-facets-content.test.d.ts +1 -1
  216. package/dist/test/collection-facets/more-facets-content.test.js +139 -139
  217. package/dist/test/collection-facets/more-facets-pagination.test.d.ts +1 -1
  218. package/dist/test/collection-facets/more-facets-pagination.test.js +117 -117
  219. package/dist/test/collection-facets/toggle-switch.test.d.ts +1 -1
  220. package/dist/test/collection-facets/toggle-switch.test.js +73 -73
  221. package/dist/test/collection-facets.test.d.ts +2 -2
  222. package/dist/test/collection-facets.test.js +652 -652
  223. package/dist/test/data-source/collection-browser-data-source.test.d.ts +1 -1
  224. package/dist/test/data-source/collection-browser-data-source.test.js +89 -89
  225. package/dist/test/empty-placeholder.test.d.ts +1 -1
  226. package/dist/test/empty-placeholder.test.js +63 -63
  227. package/dist/test/expanded-date-picker.test.d.ts +1 -1
  228. package/dist/test/expanded-date-picker.test.js +95 -95
  229. package/dist/test/icon-overlay.test.d.ts +1 -1
  230. package/dist/test/icon-overlay.test.js +24 -24
  231. package/dist/test/image-block.test.d.ts +1 -1
  232. package/dist/test/image-block.test.js +48 -48
  233. package/dist/test/item-image.test.d.ts +1 -1
  234. package/dist/test/item-image.test.js +85 -85
  235. package/dist/test/manage/manage-bar.test.d.ts +1 -1
  236. package/dist/test/manage/manage-bar.test.js +81 -81
  237. package/dist/test/mediatype-config.test.d.ts +1 -1
  238. package/dist/test/mediatype-config.test.js +16 -16
  239. package/dist/test/mocks/mock-analytics-handler.d.ts +10 -10
  240. package/dist/test/mocks/mock-analytics-handler.js +15 -15
  241. package/dist/test/mocks/mock-search-responses.d.ts +24 -24
  242. package/dist/test/mocks/mock-search-responses.js +860 -860
  243. package/dist/test/mocks/mock-search-service.d.ts +15 -15
  244. package/dist/test/mocks/mock-search-service.js +53 -53
  245. package/dist/test/restoration-state-handler.test.d.ts +1 -1
  246. package/dist/test/restoration-state-handler.test.js +270 -270
  247. package/dist/test/review-block.test.d.ts +1 -1
  248. package/dist/test/review-block.test.js +44 -44
  249. package/dist/test/sort-filter-bar/alpha-bar-tooltip.test.d.ts +1 -1
  250. package/dist/test/sort-filter-bar/alpha-bar-tooltip.test.js +12 -12
  251. package/dist/test/sort-filter-bar/alpha-bar.test.d.ts +1 -1
  252. package/dist/test/sort-filter-bar/alpha-bar.test.js +73 -73
  253. package/dist/test/sort-filter-bar/sort-filter-bar.test.d.ts +1 -1
  254. package/dist/test/sort-filter-bar/sort-filter-bar.test.js +426 -426
  255. package/dist/test/text-overlay.test.d.ts +1 -1
  256. package/dist/test/text-overlay.test.js +48 -48
  257. package/dist/test/text-snippet-block.test.d.ts +1 -1
  258. package/dist/test/text-snippet-block.test.js +57 -57
  259. package/dist/test/tile-stats.test.d.ts +1 -1
  260. package/dist/test/tile-stats.test.js +81 -81
  261. package/dist/test/tiles/grid/account-tile.test.d.ts +1 -1
  262. package/dist/test/tiles/grid/account-tile.test.js +76 -76
  263. package/dist/test/tiles/grid/collection-tile.test.d.ts +1 -1
  264. package/dist/test/tiles/grid/collection-tile.test.js +73 -73
  265. package/dist/test/tiles/grid/item-tile.test.d.ts +1 -1
  266. package/dist/test/tiles/grid/item-tile.test.js +312 -312
  267. package/dist/test/tiles/grid/search-tile.test.d.ts +1 -1
  268. package/dist/test/tiles/grid/search-tile.test.js +51 -51
  269. package/dist/test/tiles/hover/hover-pane-controller.test.d.ts +1 -1
  270. package/dist/test/tiles/hover/hover-pane-controller.test.js +259 -259
  271. package/dist/test/tiles/hover/tile-hover-pane.test.d.ts +1 -1
  272. package/dist/test/tiles/hover/tile-hover-pane.test.js +56 -13
  273. package/dist/test/tiles/hover/tile-hover-pane.test.js.map +1 -1
  274. package/dist/test/tiles/list/tile-list-compact.test.d.ts +1 -1
  275. package/dist/test/tiles/list/tile-list-compact.test.js +143 -143
  276. package/dist/test/tiles/list/tile-list.test.d.ts +1 -1
  277. package/dist/test/tiles/list/tile-list.test.js +297 -297
  278. package/dist/test/tiles/tile-dispatcher.test.d.ts +1 -1
  279. package/dist/test/tiles/tile-dispatcher.test.js +100 -100
  280. package/dist/test/tiles/tile-display-value-provider.test.d.ts +1 -1
  281. package/dist/test/tiles/tile-display-value-provider.test.js +141 -141
  282. package/dist/test/utils/array-equals.test.d.ts +1 -1
  283. package/dist/test/utils/array-equals.test.js +26 -26
  284. package/dist/test/utils/format-count.test.d.ts +1 -1
  285. package/dist/test/utils/format-count.test.js +23 -23
  286. package/dist/test/utils/format-date.test.d.ts +1 -1
  287. package/dist/test/utils/format-date.test.js +17 -17
  288. package/dist/test/utils/format-unit-size.test.d.ts +1 -1
  289. package/dist/test/utils/format-unit-size.test.js +17 -17
  290. package/dist/test/utils/local-date-from-utc.test.d.ts +1 -1
  291. package/dist/test/utils/local-date-from-utc.test.js +26 -26
  292. package/local.archive.org.cert +86 -86
  293. package/local.archive.org.key +27 -27
  294. package/package.json +1 -1
  295. package/renovate.json +6 -6
  296. package/src/collection-browser.ts +0 -4
  297. package/src/data-source/collection-browser-data-source.ts +0 -5
  298. package/src/tiles/hover/hover-pane-controller.ts +2 -0
  299. package/src/tiles/hover/tile-hover-pane.ts +100 -11
  300. package/src/tiles/image-block.ts +1 -1
  301. package/test/collection-browser.test.ts +24 -1
  302. package/test/tiles/hover/tile-hover-pane.test.ts +61 -0
  303. package/tsconfig.json +21 -21
  304. package/web-dev-server.config.mjs +30 -30
  305. package/web-test-runner.config.mjs +41 -41
@@ -1,6 +1,6 @@
1
- import { LitElement, CSSResultGroup } from 'lit';
2
- export declare class AlphaBarTooltip extends LitElement {
3
- numResults: number;
4
- render(): import("lit-html").TemplateResult<1>;
5
- static get styles(): CSSResultGroup;
6
- }
1
+ import { LitElement, CSSResultGroup } from 'lit';
2
+ export declare class AlphaBarTooltip extends LitElement {
3
+ numResults: number;
4
+ render(): import("lit-html").TemplateResult<1>;
5
+ static get styles(): CSSResultGroup;
6
+ }
@@ -1,12 +1,12 @@
1
- import { __decorate } from "tslib";
2
- import { LitElement, html, css } from 'lit';
3
- import { customElement, property } from 'lit/decorators.js';
4
- let AlphaBarTooltip = class AlphaBarTooltip extends LitElement {
5
- constructor() {
6
- super(...arguments);
7
- this.numResults = 0;
8
- }
9
- render() {
1
+ import { __decorate } from "tslib";
2
+ import { LitElement, html, css } from 'lit';
3
+ import { customElement, property } from 'lit/decorators.js';
4
+ let AlphaBarTooltip = class AlphaBarTooltip extends LitElement {
5
+ constructor() {
6
+ super(...arguments);
7
+ this.numResults = 0;
8
+ }
9
+ render() {
10
10
  return html `
11
11
  <div id="tooltip-container" role="tooltip">
12
12
  <div id="arrow"></div>
@@ -14,11 +14,11 @@ let AlphaBarTooltip = class AlphaBarTooltip extends LitElement {
14
14
  ${this.numResults} ${this.numResults === 1 ? 'result' : 'results'}
15
15
  </div>
16
16
  </div>
17
- `;
18
- }
19
- static get styles() {
20
- const arrowSize = css `var(--tooltipArrowSize, 5px)`;
21
- const arrowOffset = css `var(--tooltipArrowOffset, 0px)`;
17
+ `;
18
+ }
19
+ static get styles() {
20
+ const arrowSize = css `var(--tooltipArrowSize, 5px)`;
21
+ const arrowOffset = css `var(--tooltipArrowOffset, 0px)`;
22
22
  return css `
23
23
  #tooltip-container {
24
24
  width: max-content;
@@ -47,14 +47,14 @@ let AlphaBarTooltip = class AlphaBarTooltip extends LitElement {
47
47
  text-align: center;
48
48
  text-decoration: none;
49
49
  }
50
- `;
51
- }
52
- };
53
- __decorate([
54
- property({ type: Number })
55
- ], AlphaBarTooltip.prototype, "numResults", void 0);
56
- AlphaBarTooltip = __decorate([
57
- customElement('alpha-bar-tooltip')
58
- ], AlphaBarTooltip);
59
- export { AlphaBarTooltip };
50
+ `;
51
+ }
52
+ };
53
+ __decorate([
54
+ property({ type: Number })
55
+ ], AlphaBarTooltip.prototype, "numResults", void 0);
56
+ AlphaBarTooltip = __decorate([
57
+ customElement('alpha-bar-tooltip')
58
+ ], AlphaBarTooltip);
59
+ export { AlphaBarTooltip };
60
60
  //# sourceMappingURL=alpha-bar-tooltip.js.map
@@ -1,21 +1,21 @@
1
- import { LitElement, TemplateResult } from 'lit';
2
- import type { PrefixFilterCounts } from '../models';
3
- import './alpha-bar-tooltip';
4
- export declare class AlphaBar extends LitElement {
5
- selectedLetter: string | null;
6
- letterCounts?: PrefixFilterCounts;
7
- ariaLandmarkLabel?: string;
8
- private tooltipShown;
9
- private hoveredLetter?;
10
- private tooltip?;
11
- private readonly alphabet;
12
- private get selectedUppercaseLetter();
13
- render(): TemplateResult<1>;
14
- private letterButtonTemplate;
15
- private tooltipTemplate;
16
- private letterClicked;
17
- private handleMouseMove;
18
- private handleMouseLeave;
19
- private positionTooltip;
20
- static styles: import("lit").CSSResult;
21
- }
1
+ import { LitElement, TemplateResult } from 'lit';
2
+ import type { PrefixFilterCounts } from '../models';
3
+ import './alpha-bar-tooltip';
4
+ export declare class AlphaBar extends LitElement {
5
+ selectedLetter: string | null;
6
+ letterCounts?: PrefixFilterCounts;
7
+ ariaLandmarkLabel?: string;
8
+ private tooltipShown;
9
+ private hoveredLetter?;
10
+ private tooltip?;
11
+ private readonly alphabet;
12
+ private get selectedUppercaseLetter();
13
+ render(): TemplateResult<1>;
14
+ private letterButtonTemplate;
15
+ private tooltipTemplate;
16
+ private letterClicked;
17
+ private handleMouseMove;
18
+ private handleMouseLeave;
19
+ private positionTooltip;
20
+ static styles: import("lit").CSSResult;
21
+ }
@@ -1,27 +1,27 @@
1
- import { __decorate } from "tslib";
2
- import { LitElement, html, css, nothing } from 'lit';
3
- import { customElement, property, state, query } from 'lit/decorators.js';
4
- import './alpha-bar-tooltip';
5
- let AlphaBar = class AlphaBar extends LitElement {
6
- constructor() {
7
- super(...arguments);
8
- this.selectedLetter = null;
9
- this.tooltipShown = false;
10
- this.alphabet = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'.split('');
11
- }
12
- get selectedUppercaseLetter() {
13
- var _a;
14
- return (_a = this.selectedLetter) === null || _a === void 0 ? void 0 : _a.toUpperCase();
15
- }
16
- render() {
17
- var _a;
1
+ import { __decorate } from "tslib";
2
+ import { LitElement, html, css, nothing } from 'lit';
3
+ import { customElement, property, state, query } from 'lit/decorators.js';
4
+ import './alpha-bar-tooltip';
5
+ let AlphaBar = class AlphaBar extends LitElement {
6
+ constructor() {
7
+ super(...arguments);
8
+ this.selectedLetter = null;
9
+ this.tooltipShown = false;
10
+ this.alphabet = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'.split('');
11
+ }
12
+ get selectedUppercaseLetter() {
13
+ var _a;
14
+ return (_a = this.selectedLetter) === null || _a === void 0 ? void 0 : _a.toUpperCase();
15
+ }
16
+ render() {
17
+ var _a;
18
18
  return html `
19
19
  <section id="container" aria-label=${(_a = this.ariaLandmarkLabel) !== null && _a !== void 0 ? _a : nothing}>
20
20
  <ul>
21
21
  ${this.alphabet.map(letter => html `
22
22
  <li
23
- class=${letter === this.selectedUppercaseLetter
24
- ? 'selected'
23
+ class=${letter === this.selectedUppercaseLetter
24
+ ? 'selected'
25
25
  : nothing}
26
26
  @mousemove=${this.handleMouseMove}
27
27
  @mouseleave=${this.handleMouseLeave}
@@ -32,103 +32,103 @@ let AlphaBar = class AlphaBar extends LitElement {
32
32
  `)}
33
33
  </ul>
34
34
  </section>
35
- `;
36
- }
37
- letterButtonTemplate(letter) {
38
- var _a, _b, _c;
39
- const ariaLabel = `${letter}: ${(_b = (_a = this.letterCounts) === null || _a === void 0 ? void 0 : _a[letter]) !== null && _b !== void 0 ? _b : 0} results`;
35
+ `;
36
+ }
37
+ letterButtonTemplate(letter) {
38
+ var _a, _b, _c;
39
+ const ariaLabel = `${letter}: ${(_b = (_a = this.letterCounts) === null || _a === void 0 ? void 0 : _a[letter]) !== null && _b !== void 0 ? _b : 0} results`;
40
40
  return html `
41
41
  <button
42
42
  aria-label=${ariaLabel}
43
43
  ?disabled=${!((_c = this.letterCounts) === null || _c === void 0 ? void 0 : _c[letter])}
44
- @click=${() => {
45
- this.letterClicked(letter);
44
+ @click=${() => {
45
+ this.letterClicked(letter);
46
46
  }}
47
47
  >
48
48
  ${letter}
49
49
  </button>
50
- `;
51
- }
52
- tooltipTemplate(letter) {
53
- var _a, _b;
54
- if (this.hoveredLetter !== letter)
55
- return nothing;
56
- return this.tooltipShown
50
+ `;
51
+ }
52
+ tooltipTemplate(letter) {
53
+ var _a, _b;
54
+ if (this.hoveredLetter !== letter)
55
+ return nothing;
56
+ return this.tooltipShown
57
57
  ? html `<alpha-bar-tooltip
58
58
  data-letter=${letter}
59
59
  .numResults=${(_b = (_a = this.letterCounts) === null || _a === void 0 ? void 0 : _a[this.hoveredLetter]) !== null && _b !== void 0 ? _b : 0}
60
- ></alpha-bar-tooltip>`
61
- : nothing;
62
- }
63
- letterClicked(letter) {
64
- if (letter === this.selectedUppercaseLetter) {
65
- this.selectedLetter = null;
66
- }
67
- else {
68
- this.selectedLetter = letter;
69
- }
70
- this.dispatchEvent(new CustomEvent('letterChanged', {
71
- detail: { selectedLetter: this.selectedUppercaseLetter },
72
- }));
73
- }
74
- async handleMouseMove(e) {
75
- var _a, _b;
76
- const target = e.target;
77
- if (target && !this.tooltipShown) {
78
- const targetLetter = (_b = (_a = target.textContent) === null || _a === void 0 ? void 0 : _a.trim()) !== null && _b !== void 0 ? _b : undefined;
79
- this.tooltipShown = true;
80
- this.hoveredLetter = targetLetter;
81
- await this.updateComplete;
82
- await new Promise(resolve => {
83
- setTimeout(resolve, 0);
84
- });
85
- if (this.tooltip && this.tooltip.dataset.letter === targetLetter) {
86
- this.positionTooltip(target);
87
- }
88
- }
89
- }
90
- handleMouseLeave() {
91
- this.tooltipShown = false;
92
- this.hoveredLetter = undefined;
93
- }
94
- positionTooltip(targetElmt) {
95
- if (!this.tooltip)
96
- return;
97
- // Basic positioning is just to center the whole tooltip on the letter box.
98
- const tooltipWidth = this.tooltip.clientWidth;
99
- const letterWidth = targetElmt.clientWidth;
100
- let left = letterWidth / 2 - tooltipWidth / 2;
101
- // But we also need to ensure the tooltip doesn't flow outside the viewport.
102
- // First, calculate the full width of the document body, including margins
103
- // (but not including any scrollbar).
104
- const bodyStyle = getComputedStyle(document.body);
105
- const bodyMarginLeft = parseFloat(bodyStyle.getPropertyValue('margin-left'));
106
- const bodyMarginRight = parseFloat(bodyStyle.getPropertyValue('margin-right'));
107
- const bodyWidthWithMargin = document.body.clientWidth + bodyMarginLeft + bodyMarginRight;
108
- // Calculate the positions of the tooltip's left/right edges, and determine
109
- // how much they overflow the viewport by (if at all).
110
- const targetRect = targetElmt.getBoundingClientRect();
111
- const tooltipLeft = targetRect.left + left;
112
- const tooltipRight = tooltipLeft + tooltipWidth;
113
- const offset = 1; // How many pixels the tooltip must be offset from the left/right edges
114
- let overflowAmt;
115
- if (tooltipLeft < offset) {
116
- // Tooltip overflows left edge of viewport
117
- overflowAmt = tooltipLeft - offset;
118
- }
119
- else if (tooltipRight > bodyWidthWithMargin - offset) {
120
- // Tooltip overflows right edge of viewport
121
- overflowAmt = tooltipRight - bodyWidthWithMargin + offset;
122
- }
123
- // Apply any needed adjustment to the tooltip and its arrow to keep it in the viewport
124
- if (overflowAmt) {
125
- left -= overflowAmt;
126
- this.tooltip.style.setProperty('--tooltipArrowOffset', `${overflowAmt}px`);
127
- }
128
- this.tooltip.style.left = `${left}px`;
129
- this.tooltip.classList.add('fade-in');
130
- }
131
- };
60
+ ></alpha-bar-tooltip>`
61
+ : nothing;
62
+ }
63
+ letterClicked(letter) {
64
+ if (letter === this.selectedUppercaseLetter) {
65
+ this.selectedLetter = null;
66
+ }
67
+ else {
68
+ this.selectedLetter = letter;
69
+ }
70
+ this.dispatchEvent(new CustomEvent('letterChanged', {
71
+ detail: { selectedLetter: this.selectedUppercaseLetter },
72
+ }));
73
+ }
74
+ async handleMouseMove(e) {
75
+ var _a, _b;
76
+ const target = e.target;
77
+ if (target && !this.tooltipShown) {
78
+ const targetLetter = (_b = (_a = target.textContent) === null || _a === void 0 ? void 0 : _a.trim()) !== null && _b !== void 0 ? _b : undefined;
79
+ this.tooltipShown = true;
80
+ this.hoveredLetter = targetLetter;
81
+ await this.updateComplete;
82
+ await new Promise(resolve => {
83
+ setTimeout(resolve, 0);
84
+ });
85
+ if (this.tooltip && this.tooltip.dataset.letter === targetLetter) {
86
+ this.positionTooltip(target);
87
+ }
88
+ }
89
+ }
90
+ handleMouseLeave() {
91
+ this.tooltipShown = false;
92
+ this.hoveredLetter = undefined;
93
+ }
94
+ positionTooltip(targetElmt) {
95
+ if (!this.tooltip)
96
+ return;
97
+ // Basic positioning is just to center the whole tooltip on the letter box.
98
+ const tooltipWidth = this.tooltip.clientWidth;
99
+ const letterWidth = targetElmt.clientWidth;
100
+ let left = letterWidth / 2 - tooltipWidth / 2;
101
+ // But we also need to ensure the tooltip doesn't flow outside the viewport.
102
+ // First, calculate the full width of the document body, including margins
103
+ // (but not including any scrollbar).
104
+ const bodyStyle = getComputedStyle(document.body);
105
+ const bodyMarginLeft = parseFloat(bodyStyle.getPropertyValue('margin-left'));
106
+ const bodyMarginRight = parseFloat(bodyStyle.getPropertyValue('margin-right'));
107
+ const bodyWidthWithMargin = document.body.clientWidth + bodyMarginLeft + bodyMarginRight;
108
+ // Calculate the positions of the tooltip's left/right edges, and determine
109
+ // how much they overflow the viewport by (if at all).
110
+ const targetRect = targetElmt.getBoundingClientRect();
111
+ const tooltipLeft = targetRect.left + left;
112
+ const tooltipRight = tooltipLeft + tooltipWidth;
113
+ const offset = 1; // How many pixels the tooltip must be offset from the left/right edges
114
+ let overflowAmt;
115
+ if (tooltipLeft < offset) {
116
+ // Tooltip overflows left edge of viewport
117
+ overflowAmt = tooltipLeft - offset;
118
+ }
119
+ else if (tooltipRight > bodyWidthWithMargin - offset) {
120
+ // Tooltip overflows right edge of viewport
121
+ overflowAmt = tooltipRight - bodyWidthWithMargin + offset;
122
+ }
123
+ // Apply any needed adjustment to the tooltip and its arrow to keep it in the viewport
124
+ if (overflowAmt) {
125
+ left -= overflowAmt;
126
+ this.tooltip.style.setProperty('--tooltipArrowOffset', `${overflowAmt}px`);
127
+ }
128
+ this.tooltip.style.left = `${left}px`;
129
+ this.tooltip.classList.add('fade-in');
130
+ }
131
+ };
132
132
  AlphaBar.styles = css `
133
133
  h1 {
134
134
  font-size: 1.2rem;
@@ -215,27 +215,27 @@ AlphaBar.styles = css `
215
215
  grid-template-columns: repeat(13, 1fr);
216
216
  }
217
217
  }
218
- `;
219
- __decorate([
220
- property({ type: String })
221
- ], AlphaBar.prototype, "selectedLetter", void 0);
222
- __decorate([
223
- property({ type: Object })
224
- ], AlphaBar.prototype, "letterCounts", void 0);
225
- __decorate([
226
- property({ type: String })
227
- ], AlphaBar.prototype, "ariaLandmarkLabel", void 0);
228
- __decorate([
229
- state()
230
- ], AlphaBar.prototype, "tooltipShown", void 0);
231
- __decorate([
232
- state()
233
- ], AlphaBar.prototype, "hoveredLetter", void 0);
234
- __decorate([
235
- query('alpha-bar-tooltip')
236
- ], AlphaBar.prototype, "tooltip", void 0);
237
- AlphaBar = __decorate([
238
- customElement('alpha-bar')
239
- ], AlphaBar);
240
- export { AlphaBar };
218
+ `;
219
+ __decorate([
220
+ property({ type: String })
221
+ ], AlphaBar.prototype, "selectedLetter", void 0);
222
+ __decorate([
223
+ property({ type: Object })
224
+ ], AlphaBar.prototype, "letterCounts", void 0);
225
+ __decorate([
226
+ property({ type: String })
227
+ ], AlphaBar.prototype, "ariaLandmarkLabel", void 0);
228
+ __decorate([
229
+ state()
230
+ ], AlphaBar.prototype, "tooltipShown", void 0);
231
+ __decorate([
232
+ state()
233
+ ], AlphaBar.prototype, "hoveredLetter", void 0);
234
+ __decorate([
235
+ query('alpha-bar-tooltip')
236
+ ], AlphaBar.prototype, "tooltip", void 0);
237
+ AlphaBar = __decorate([
238
+ customElement('alpha-bar')
239
+ ], AlphaBar);
240
+ export { AlphaBar };
241
241
  //# sourceMappingURL=alpha-bar.js.map
@@ -1 +1 @@
1
- export declare const compactIcon: import("lit-html").TemplateResult<2>;
1
+ export declare const compactIcon: import("lit-html").TemplateResult<2>;
@@ -1,5 +1,5 @@
1
- import { svg } from 'lit';
1
+ import { svg } from 'lit';
2
2
  export const compactIcon = svg `
3
3
  <svg viewBox="0 0 100 100" xmlns = "http://www.w3.org/2000/svg" > <path d="m96.9964435 6h-93.90621462c-.91561615 0-1.65899868-.29021372-2.23014758-.87064117-.57114891-.58042745-.85783455-1.3048369-.86005692-2.17322835 0-.81214848.28668564-1.50731158.86005692-2.08548931.57337127-.57817773 1.3167538-.86839145 2.23014758-.87064117h93.90621462c.800053 0 1.5012105.29021372 2.1034726.87064117.602262.58042745.9022819 1.27559055.9000718 2.08548931 0 .86839145-.3000321 1.5928009-.9000718 2.17322835-.6000398.58042745-1.3011973.87064117-2.1034726.87064117zm-93.90621462 9.6666667h93.90621462c.800053 0 1.5012105.2861891 2.1034726.8585673.602262.5723782.9022819 1.2579009.9000718 2.0565682 0 .8563487-.3000321 1.5851326-.9000718 2.1863516-.6000398.6012189-1.3011973.9007192-2.1034726.8985129h-93.90621462c-.91561615 0-1.65899868-.2995125-2.23014758-.8985129-.57114891-.5990005-.85783455-1.3277843-.86005692-2.1863516 0-.8008858.28668564-1.4864086.86005692-2.0565682.57337127-.5701597 1.3167538-.8563488 2.23014758-.8585673zm0 15.6700431h93.90621462c.800053 0 1.5012105.303883 2.1034726.9116489.602262.6077659.9022819 1.2886888.9000718 2.0427687-.0022346.7540799-.3022545 1.4496342-.9000718 2.0866629-.5978174.6370287-1.2989749.955543-2.1034726.955543h-93.90621462c-.85783454 0-1.58788286-.3038829-2.19014494-.9116488s-.90228193-1.3179516-.90007182-2.1305571c.00223463-.8126055.30225448-1.5081599.90007182-2.0866629.59781734-.5785031 1.32786566-.8688802 2.19014494-.8711312zm0 15.6632902h93.90621462c.800053 0 1.5012105.2861892 2.1034726.8585675.602262.5723783.9022819 1.2290603.9000718 1.9700462 0 .7986674-.3144775 1.5274514-.943408 2.186352-.6289306.6589006-1.3156427.9872417-2.0601364.9850343h-93.90621462c-.85783454 0-1.58788286-.3139318-2.19014494-.9417731-.60226208-.6278414-.90228193-1.3699365-.90007182-2.2262854 0-.7986674.2866979-1.4697699.86006918-2.0133074.57337127-.5435376 1.3167538-.8153063 2.23014758-.8153063zm0 15.6666667h93.90621462c.800053 0 1.5012105.3038947 2.1034726.9116593.602262.6077647.9022819 1.3472117.9000718 2.218341 0 .7540783-.3000321 1.4203685-.9000718 1.9988703-.6000398.5785019-1.3011973.8688784-2.1034726.8711294h-93.90621462c-.91561615 0-1.65899868-.2757451-2.23014758-.8272352-.57114891-.5514902-.85783455-1.2324117-.86005692-2.0427645 0-.8688784.28668564-1.6083253.86005692-2.218341.57337127-.6100156 1.3167538-.9138979 2.23014758-.9116593zm0 15.6666666h93.90621462c.800053 0 1.5012105.3038948 2.1034726.9116594.602262.6077646.9022819 1.3472116.9000718 2.2183409 0 .7540784-.3000321 1.4203685-.9000718 1.9988704-.6000398.5785019-1.3011973.8688784-2.1034726.8711293h-93.90621462c-.91561615 0-1.65899868-.275745-2.23014758-.8272352-.57114891-.5514901-.85783455-1.2324116-.86005692-2.0427645 0-.8688783.28668564-1.6083253.86005692-2.2183409.57337127-.6100156 1.3167538-.9138979 2.23014758-.9116594zm0 15.6666667h93.90621462c.800053 0 1.5012105.3038947 2.1034726.9116594.602262.6077646.9022819 1.3472116.9000718 2.2183409 0 .7540784-.3000321 1.4203685-.9000718 1.9988704-.6000398.5785019-1.3011973.8688783-2.1034726.8711293h-93.90621462c-.91561615 0-1.65899868-.2757451-2.23014758-.8272352-.57114891-.5514901-.85783455-1.2324116-.86005692-2.0427645 0-.8688783.28668564-1.6083253.86005692-2.2183409.57337127-.6100156 1.3167538-.913898 2.23014758-.9116594z" /> </svg>
4
- `;
4
+ `;
5
5
  //# sourceMappingURL=compact.js.map
@@ -1 +1 @@
1
- export declare const listIcon: import("lit-html").TemplateResult<2>;
1
+ export declare const listIcon: import("lit-html").TemplateResult<2>;
@@ -1,5 +1,5 @@
1
- import { svg } from 'lit';
1
+ import { svg } from 'lit';
2
2
  export const listIcon = svg `
3
3
  <svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><g fill-rule="nonzero"><path d="m97.8975061 6h-65.7343743c-.6409315 0-1.1612995-.29021372-1.5611039-.87064117-.3998043-.58042745-.6004844-1.3048369-.60204-2.17322835 0-.81214848.20068-1.50731158.60204-2.08548931.4013601-.57817773.921728-.86839145 1.5611039-.87064117h65.7343743c.5600372 0 1.0508477.29021372 1.4724313.87064117s.6315976 1.27559055.6300505 2.08548931c0 .86839145-.2100226 1.5928009-.6300505 2.17322835-.420028.58042745-.9108384.87064117-1.4724313.87064117z"/><path d="m97.8975061 61h-65.7343743c-.6409315 0-1.1612995-.2902137-1.5611039-.8706412-.3998043-.5804274-.6004844-1.3048369-.60204-2.1732283 0-.8121485.20068-1.5073116.60204-2.0854893.4013601-.5781778.921728-.8683915 1.5611039-.8706412h65.7343743c.5600372 0 1.0508477.2902137 1.4724313.8706412.4215836.5804274.6315976 1.2755905.6300505 2.0854893 0 .8683914-.2100226 1.5928009-.6300505 2.1732283-.420028.5804275-.9108384.8706412-1.4724313.8706412z"/><path d="m97.8975061 19h-65.7343743c-.6409315 0-1.1612995-.2902137-1.5611039-.8706412-.3998043-.5804274-.6004844-1.3048369-.60204-2.1732283 0-.8121485.20068-1.5073116.60204-2.0854893.4013601-.5781778.921728-.8683915 1.5611039-.8706412h65.7343743c.5600372 0 1.0508477.2902137 1.4724313.8706412.4215836.5804274.6315976 1.2755905.6300505 2.0854893 0 .8683914-.2100226 1.5928009-.6300505 2.1732283-.420028.5804275-.9108384.8706412-1.4724313.8706412z"/><path d="m97.8975061 74h-65.7343743c-.6409315 0-1.1612995-.2902137-1.5611039-.8706412-.3998043-.5804274-.6004844-1.3048369-.60204-2.1732283 0-.8121485.20068-1.5073116.60204-2.0854893.4013601-.5781778.921728-.8683915 1.5611039-.8706412h65.7343743c.5600372 0 1.0508477.2902137 1.4724313.8706412.4215836.5804274.6315976 1.2755905.6300505 2.0854893 0 .8683914-.2100226 1.5928009-.6300505 2.1732283-.420028.5804275-.9108384.8706412-1.4724313.8706412z"/><path d="m97.8975061 32h-65.7343743c-.6409315 0-1.1612995-.2902137-1.5611039-.8706412-.3998043-.5804274-.6004844-1.3048369-.60204-2.1732283 0-.8121485.20068-1.5073116.60204-2.0854893.4013601-.5781778.921728-.8683915 1.5611039-.8706412h65.7343743c.5600372 0 1.0508477.2902137 1.4724313.8706412.4215836.5804274.6315976 1.2755905.6300505 2.0854893 0 .8683914-.2100226 1.5928009-.6300505 2.1732283-.420028.5804275-.9108384.8706412-1.4724313.8706412z"/><path d="m97.8975061 87h-65.7343743c-.6409315 0-1.1612995-.2902137-1.5611039-.8706412-.3998043-.5804274-.6004844-1.3048369-.60204-2.1732283 0-.8121485.20068-1.5073116.60204-2.0854893.4013601-.5781778.921728-.8683915 1.5611039-.8706412h65.7343743c.5600372 0 1.0508477.2902137 1.4724313.8706412.4215836.5804274.6315976 1.2755905.6300505 2.0854893 0 .8683914-.2100226 1.5928009-.6300505 2.1732283-.420028.5804275-.9108384.8706412-1.4724313.8706412z"/><path d="m97.8975061 45h-65.7343743c-.6409315 0-1.1612995-.2902137-1.5611039-.8706412-.3998043-.5804274-.6004844-1.3048369-.60204-2.1732283 0-.8121485.20068-1.5073116.60204-2.0854893.4013601-.5781778.921728-.8683915 1.5611039-.8706412h65.7343743c.5600372 0 1.0508477.2902137 1.4724313.8706412.4215836.5804274.6315976 1.2755905.6300505 2.0854893 0 .8683914-.2100226 1.5928009-.6300505 2.1732283-.420028.5804275-.9108384.8706412-1.4724313.8706412z"/><path d="m97.8975061 100h-65.7343743c-.6409315 0-1.1612995-.2902137-1.5611039-.8706412-.3998043-.5804274-.6004844-1.3048369-.60204-2.1732283 0-.8121485.20068-1.5073116.60204-2.0854893.4013601-.5781778.921728-.8683915 1.5611039-.8706412h65.7343743c.5600372 0 1.0508477.2902137 1.4724313.8706412.4215836.5804274.6315976 1.2755905.6300505 2.0854893 0 .8683914-.2100226 1.5928009-.6300505 2.1732283-.420028.5804275-.9108384.8706412-1.4724313.8706412z"/><path d="m0 0h25v25h-25z"/><path d="m0 55h25v25h-25z"/></g></svg>
4
- `;
4
+ `;
5
5
  //# sourceMappingURL=list.js.map
@@ -1 +1 @@
1
- export declare const sortDisabledIcon: import("lit-html").TemplateResult<1>;
1
+ export declare const sortDisabledIcon: import("lit-html").TemplateResult<1>;
@@ -1,4 +1,4 @@
1
- import { html } from 'lit';
1
+ import { html } from 'lit';
2
2
  export const sortDisabledIcon = html `
3
3
  <svg viewBox="0 0 64 100" xmlns="http://www.w3.org/2000/svg">
4
4
  <g fill="#bbb" fill-rule="evenodd">
@@ -11,5 +11,5 @@ export const sortDisabledIcon = html `
11
11
  />
12
12
  </g>
13
13
  </svg>
14
- `;
14
+ `;
15
15
  //# sourceMappingURL=sort-toggle-disabled.js.map
@@ -1 +1 @@
1
- export declare const sortDownIcon: import("lit-html").TemplateResult<1>;
1
+ export declare const sortDownIcon: import("lit-html").TemplateResult<1>;
@@ -1,4 +1,4 @@
1
- import { html } from 'lit';
1
+ import { html } from 'lit';
2
2
  export const sortDownIcon = html `
3
3
  <svg viewBox="0 0 64 100" xmlns="http://www.w3.org/2000/svg">
4
4
  <g fill-rule="evenodd">
@@ -13,5 +13,5 @@ export const sortDownIcon = html `
13
13
  />
14
14
  </g>
15
15
  </svg>
16
- `;
16
+ `;
17
17
  //# sourceMappingURL=sort-toggle-down.js.map
@@ -1 +1 @@
1
- export declare const sortUpIcon: import("lit-html").TemplateResult<1>;
1
+ export declare const sortUpIcon: import("lit-html").TemplateResult<1>;
@@ -1,4 +1,4 @@
1
- import { html } from 'lit';
1
+ import { html } from 'lit';
2
2
  export const sortUpIcon = html `
3
3
  <svg viewBox="0 0 64 100" xmlns="http://www.w3.org/2000/svg">
4
4
  <g fill-rule="evenodd">
@@ -13,5 +13,5 @@ export const sortUpIcon = html `
13
13
  />
14
14
  </g>
15
15
  </svg>
16
- `;
16
+ `;
17
17
  //# sourceMappingURL=sort-toggle-up.js.map
@@ -1 +1 @@
1
- export declare const sortIcon: import("lit-html").TemplateResult<2>;
1
+ export declare const sortIcon: import("lit-html").TemplateResult<2>;
@@ -1,5 +1,5 @@
1
- import { svg } from 'lit';
1
+ import { svg } from 'lit';
2
2
  export const sortIcon = svg `
3
3
  <svg viewBox="0 0 100 55" xmlns="http://www.w3.org/2000/svg"><path d="m50 0 50 55h-100z"/></svg>
4
- `;
4
+ `;
5
5
  //# sourceMappingURL=sort-triangle.js.map
@@ -1 +1 @@
1
- export declare const tileIcon: import("lit-html").TemplateResult<2>;
1
+ export declare const tileIcon: import("lit-html").TemplateResult<2>;
@@ -1,5 +1,5 @@
1
- import { svg } from 'lit';
1
+ import { svg } from 'lit';
2
2
  export const tileIcon = svg `
3
3
  <svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="m64 54v46h-28v-46zm36 0v46h-28v-46zm-72 0v46h-28v-46zm36-54v46h-28v-46zm36 0v46h-28v-46zm-72 0v46h-28v-46z"/></svg>
4
- `;
4
+ `;
5
5
  //# sourceMappingURL=tile.js.map