@internetarchive/ia-book-actions 0.0.17 → 0.0.18

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@internetarchive/ia-book-actions",
3
- "version": "0.0.17",
3
+ "version": "0.0.18",
4
4
  "description": "Bookreader actions for borrowable book",
5
5
  "author": "Internet Archive",
6
6
  "license": "AGPL-3.0-only",
@@ -18,15 +18,11 @@
18
18
  "test:watch": "web-test-runner --watch --playwright --browsers chromium firefox webkit"
19
19
  },
20
20
  "dependencies": {
21
- "@internetarchive/ia-icons": "^1.2.2",
22
- "@internetarchive/icon-bookmark": "^1.1.3",
23
- "@internetarchive/icon-close": "^1.1.3",
24
21
  "@internetarchive/icon-info": "^1.2.6",
25
22
  "@internetarchive/local-cache": "^0.2.0",
26
23
  "@internetarchive/modal-manager": "^0.1.0",
27
- "@internetarchive/shared-resize-observer": "^0.0.1",
28
- "lit-element": "^2.4.0",
29
- "lit-html": "^1.3.0"
24
+ "@internetarchive/shared-resize-observer": "^0.2.0",
25
+ "lit": "^2.2.1"
30
26
  },
31
27
  "devDependencies": {
32
28
  "@open-wc/eslint-config": "^4.2.0",
@@ -1,4 +1,4 @@
1
- import { html } from 'lit-element';
1
+ import { html } from 'lit';
2
2
 
3
3
  export const archiveLogo = html`
4
4
  <svg
@@ -1,4 +1,4 @@
1
- import { html } from 'lit-element';
1
+ import { html } from 'lit';
2
2
 
3
3
  export const dropdownOpened = html`<svg
4
4
  height="4"
@@ -1,4 +1,4 @@
1
- import { html } from 'lit-element';
1
+ import { html } from 'lit';
2
2
 
3
3
  export const purchaseIcon = html`<svg
4
4
  height="20"
@@ -1,4 +1,4 @@
1
- import { css } from 'lit-element';
1
+ import { css } from 'lit';
2
2
 
3
3
  export default css`
4
4
  :host {
@@ -1,4 +1,4 @@
1
- import { css } from 'lit-element';
1
+ import { css } from 'lit';
2
2
 
3
3
  export default css`
4
4
  .ia-button {
@@ -1,4 +1,4 @@
1
- import { html, css } from 'lit-element';
1
+ import { html, css } from 'lit';
2
2
 
3
3
  import {
4
4
  analyticsCategories,
@@ -1,6 +1,6 @@
1
- import { html } from 'lit-element';
2
- import { nothing } from 'lit-html';
3
- import { classMap } from 'lit-html/directives/class-map';
1
+ import { html } from 'lit';
2
+ import { nothing } from 'lit/html.js';
3
+ import { classMap } from 'lit/directives/class-map.js';
4
4
 
5
5
  import ActionsHandler from '../core/services/actions-handler/actions-handler.js';
6
6
 
@@ -1,5 +1,5 @@
1
- import { html, css, LitElement, svg } from 'lit-element';
2
- import { unsafeHTML } from 'lit-html/directives/unsafe-html';
1
+ import { html, css, LitElement, svg } from 'lit';
2
+ import { unsafeHTML } from 'lit/directives/unsafe-html.js';
3
3
  import '@internetarchive/icon-info/icon-info.js';
4
4
 
5
5
  export class InfoIcon extends LitElement {
@@ -1,4 +1,4 @@
1
- import { html, css, LitElement } from 'lit-element';
1
+ import { html, css, LitElement } from 'lit';
2
2
 
3
3
  export class TextGroup extends LitElement {
4
4
  static get properties() {
@@ -1,4 +1,4 @@
1
- import { nothing } from 'lit-html';
1
+ import { nothing } from 'lit/html.js';
2
2
 
3
3
  export class URLHelper {
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { LitElement } from 'lit-element';
1
+ import { LitElement } from 'lit';
2
2
 
3
3
  import { URLHelper } from '../../config/url-helper.js';
4
4
  import ActionsHandlerService from './actions-handler-service.js';
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable camelcase */
2
- import { html, css, LitElement } from 'lit-element';
2
+ import { html, css, LitElement } from 'lit';
3
3
 
4
4
  import { SharedResizeObserver } from '@internetarchive/shared-resize-observer';
5
5
  import { ModalConfig } from '@internetarchive/modal-manager';