@internetarchive/ia-item-navigator
Advanced tools
Comparing version 2.0.0-alpha6 to 2.0.0-alpha7
@@ -23,16 +23,17 @@ /* eslint-disable no-restricted-globals */ | ||
{ | ||
file_origin: "", | ||
file_source: "beyonce-cosmo-article.pdf", | ||
file_subprefix: "beyonce-cosmo-article", | ||
file_origin: '', | ||
file_source: 'beyonce-cosmo-article.pdf', | ||
file_subprefix: 'beyonce-cosmo-article', | ||
orig_sort: 0, | ||
title: "beyonce-cosmo-article.pdf", | ||
url_path: "/details/pdf_only_item/beyonce-cosmo-article.pdf", | ||
title: 'beyonce-cosmo-article.pdf', | ||
url_path: '/details/pdf_only_item/beyonce-cosmo-article.pdf', | ||
}, | ||
{ | ||
file_origin: "", | ||
file_source: "onestrandriverpdf.pdf", | ||
file_subprefix: "onestrandriverpdf", | ||
file_origin: '', | ||
file_source: 'onestrandriverpdf.pdf', | ||
file_subprefix: 'onestrandriverpdf', | ||
orig_sort: 1, | ||
title: "Very cool title that is extra long so it wraps for three rows and close to the right side of the pane", | ||
url_path: "/details/pdf_only_item/onestrandriverpdf.pdf", | ||
title: | ||
'Very cool title that is extra long so it wraps for three rows and close to the right side of the pane', | ||
url_path: '/details/pdf_only_item/onestrandriverpdf.pdf', | ||
}, | ||
@@ -39,0 +40,0 @@ { |
@@ -14,16 +14,16 @@ import { __decorate } from "tslib"; | ||
{ | ||
file_origin: "", | ||
file_source: "beyonce-cosmo-article.pdf", | ||
file_subprefix: "beyonce-cosmo-article", | ||
file_origin: '', | ||
file_source: 'beyonce-cosmo-article.pdf', | ||
file_subprefix: 'beyonce-cosmo-article', | ||
orig_sort: 0, | ||
title: "beyonce-cosmo-article.pdf", | ||
url_path: "/details/pdf_only_item/beyonce-cosmo-article.pdf", | ||
title: 'beyonce-cosmo-article.pdf', | ||
url_path: '/details/pdf_only_item/beyonce-cosmo-article.pdf', | ||
}, | ||
{ | ||
file_origin: "", | ||
file_source: "onestrandriverpdf.pdf", | ||
file_subprefix: "onestrandriverpdf", | ||
file_origin: '', | ||
file_source: 'onestrandriverpdf.pdf', | ||
file_subprefix: 'onestrandriverpdf', | ||
orig_sort: 1, | ||
title: "Very cool title that is extra long so it wraps for three rows and close to the right side of the pane", | ||
url_path: "/details/pdf_only_item/onestrandriverpdf.pdf", | ||
title: 'Very cool title that is extra long so it wraps for three rows and close to the right side of the pane', | ||
url_path: '/details/pdf_only_item/onestrandriverpdf.pdf', | ||
}, | ||
@@ -30,0 +30,0 @@ { |
@@ -23,3 +23,3 @@ import { LitElement, PropertyValues, CSSResult, TemplateResult, nothing } from 'lit'; | ||
sharedObserver?: SharedResizeObserver; | ||
loaded: true | null; | ||
loaded: boolean; | ||
openMenuState: 'overlay' | 'shift'; | ||
@@ -26,0 +26,0 @@ private frame; |
@@ -19,3 +19,3 @@ import { __decorate } from "tslib"; | ||
this.menuOpened = false; | ||
this.loaded = null; | ||
this.loaded = false; | ||
this.openMenuState = 'shift'; | ||
@@ -133,3 +133,3 @@ } | ||
const { loaded } = e.detail; | ||
this.loaded = loaded || null; | ||
this.loaded = loaded !== null && loaded !== void 0 ? loaded : false; | ||
} | ||
@@ -136,0 +136,0 @@ /** Fullscreen Management */ |
@@ -188,3 +188,3 @@ import { __decorate } from "tslib"; | ||
__decorate([ | ||
property({ type: String }) | ||
property({ type: String, reflect: true }) | ||
], IauxSortFilesButton.prototype, "sortOrderBy", void 0); | ||
@@ -191,0 +191,0 @@ IauxSortFilesButton = __decorate([ |
@@ -65,3 +65,3 @@ /* eslint-disable camelcase */ | ||
el.loadingStateUpdated = spy; | ||
el.loaded = null; | ||
el.loaded = false; | ||
el.viewAvailable = false; | ||
@@ -68,0 +68,0 @@ await el.updateComplete; |
{ | ||
"name": "@internetarchive/ia-item-navigator", | ||
"version": "v2.0.0-alpha6", | ||
"version": "v2.0.0-alpha7", | ||
"description": "Internet Archive's Item Navigator, visually explore an item's contents.", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -75,5 +75,3 @@ import { | ||
@property({ type: Boolean, reflect: true, attribute: true }) loaded: | ||
| true | ||
| null = null; | ||
@property({ type: Boolean, reflect: true, attribute: true }) loaded: boolean = false; | ||
@@ -215,3 +213,3 @@ @state() openMenuState: 'overlay' | 'shift' = 'shift'; | ||
const { loaded } = e.detail; | ||
this.loaded = loaded || null; | ||
this.loaded = loaded ?? false; | ||
} | ||
@@ -218,0 +216,0 @@ |
@@ -127,3 +127,3 @@ /* eslint-disable max-classes-per-file */ | ||
@property({ type: String }) sortOrderBy: sortOptions = 'default'; | ||
@property({ type: String, reflect: true }) sortOrderBy: sortOptions = 'default'; | ||
@@ -130,0 +130,0 @@ render() { |
@@ -90,3 +90,3 @@ /* eslint-disable camelcase */ | ||
el.loadingStateUpdated = spy; | ||
el.loaded = null; | ||
el.loaded = false; | ||
el.viewAvailable = false; | ||
@@ -93,0 +93,0 @@ await el.updateComplete; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
424621
6525