@internetarchive/collection-browser 2.6.4-alpha.3 → 2.6.5

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.
@@ -0,0 +1,8 @@
1
+ import { LitElement, TemplateResult, CSSResultGroup } from 'lit';
2
+ import type { CollectionTitles } from '../data-source/models';
3
+ export declare class SmartFacetBar extends LitElement {
4
+ /** The collection name cache for converting collection identifiers to titles */
5
+ collectionTitles?: CollectionTitles;
6
+ render(): TemplateResult<1>;
7
+ static get styles(): CSSResultGroup;
8
+ }
@@ -0,0 +1,27 @@
1
+ import { __decorate } from "tslib";
2
+ import { css, html, LitElement, } from 'lit';
3
+ import { customElement, property } from 'lit/decorators.js';
4
+ let SmartFacetBar = class SmartFacetBar extends LitElement {
5
+ //
6
+ // COMPONENT LIFECYCLE METHODS
7
+ //
8
+ render() {
9
+ return html ``;
10
+ }
11
+ //
12
+ // STYLES
13
+ //
14
+ static get styles() {
15
+ return css `
16
+
17
+ `;
18
+ }
19
+ };
20
+ __decorate([
21
+ property({ type: Object })
22
+ ], SmartFacetBar.prototype, "collectionTitles", void 0);
23
+ SmartFacetBar = __decorate([
24
+ customElement('smart-facet-bar')
25
+ ], SmartFacetBar);
26
+ export { SmartFacetBar };
27
+ //# sourceMappingURL=smart-facet-bar.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"smart-facet-bar.js","sourceRoot":"","sources":["../../../src/collection-facets/smart-facet-bar.ts"],"names":[],"mappings":";AAAA,OAAO,EACL,GAAG,EACH,IAAI,EACJ,UAAU,GAIX,MAAM,KAAK,CAAC;AACb,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAI5D,IAAa,aAAa,GAA1B,MAAa,aAAc,SAAQ,UAAU;IAK3C,EAAE;IACF,8BAA8B;IAC9B,EAAE;IAEF,MAAM;QACJ,OAAO,IAAI,CAAA,EAAE,CAAC;IAChB,CAAC;IAED,EAAE;IACF,SAAS;IACT,EAAE;IAEF,MAAM,KAAK,MAAM;QACf,OAAO,GAAG,CAAA;;KAET,CAAC;IACJ,CAAC;CACF,CAAA;AAnBC;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;uDACS;AAHzB,aAAa;IADzB,aAAa,CAAC,iBAAiB,CAAC;GACpB,aAAa,CAsBzB;SAtBY,aAAa","sourcesContent":["import {\n css,\n html,\n LitElement,\n TemplateResult,\n CSSResultGroup,\n nothing,\n} from 'lit';\nimport { customElement, property } from 'lit/decorators.js';\nimport type { CollectionTitles } from '../data-source/models';\n\n@customElement('smart-facet-bar')\nexport class SmartFacetBar extends LitElement {\n /** The collection name cache for converting collection identifiers to titles */\n @property({ type: Object })\n collectionTitles?: CollectionTitles;\n\n //\n // COMPONENT LIFECYCLE METHODS\n //\n\n render() {\n return html``;\n }\n\n //\n // STYLES\n //\n\n static get styles(): CSSResultGroup {\n return css`\n \n `;\n }\n}\n"]}
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "The Internet Archive Collection Browser.",
4
4
  "license": "AGPL-3.0-only",
5
5
  "author": "Internet Archive",
6
- "version": "2.6.4-alpha.3",
6
+ "version": "2.6.5",
7
7
  "main": "dist/index.js",
8
8
  "module": "dist/index.js",
9
9
  "scripts": {
@@ -58,7 +58,7 @@
58
58
  "eslint-plugin-wc": "^1.3.2",
59
59
  "gh-pages": "^4.0.0",
60
60
  "husky": "^7.0.0",
61
- "madge": "^5.0.1",
61
+ "madge": "^7.0.0",
62
62
  "prettier": "^2.4.1",
63
63
  "rimraf": "^3.0.2",
64
64
  "sinon": "^12.0.1",
@@ -0,0 +1,35 @@
1
+ import {
2
+ css,
3
+ html,
4
+ LitElement,
5
+ TemplateResult,
6
+ CSSResultGroup,
7
+ nothing,
8
+ } from 'lit';
9
+ import { customElement, property } from 'lit/decorators.js';
10
+ import type { CollectionTitles } from '../data-source/models';
11
+
12
+ @customElement('smart-facet-bar')
13
+ export class SmartFacetBar extends LitElement {
14
+ /** The collection name cache for converting collection identifiers to titles */
15
+ @property({ type: Object })
16
+ collectionTitles?: CollectionTitles;
17
+
18
+ //
19
+ // COMPONENT LIFECYCLE METHODS
20
+ //
21
+
22
+ render() {
23
+ return html``;
24
+ }
25
+
26
+ //
27
+ // STYLES
28
+ //
29
+
30
+ static get styles(): CSSResultGroup {
31
+ return css`
32
+
33
+ `;
34
+ }
35
+ }