Skip to content

Commit

Permalink
fix dist
Browse files Browse the repository at this point in the history
  • Loading branch information
lalomartins committed Dec 23, 2023
1 parent 4cfe11a commit b4ddebd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
"author": "Lalo Martins",
"license": "BSD-3-Clause",
"dependencies": {
"@shoelace-style/shoelace": "^2.12.0",
"lit": "^3.0.0"
},
"devDependencies": {
Expand Down
10 changes: 5 additions & 5 deletions shoestring-pagination.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,15 @@
*/

import { LitElement, css, html } from "lit";
import { customElement } from "lit/decorators.js";
import "@shoelace-style/shoelace/dist/components/button/button";
import "@shoelace-style/shoelace/dist/components/icon-button/icon-button";
import "@shoelace-style/shoelace/dist/components/button/button.js";
import "@shoelace-style/shoelace/dist/components/icon-button/icon-button.js";


/**
* An example element.
*
* @fires page-changed - Indicates when the page changes
*/
@customElement("shoestring-pagination")
export class Pagination extends LitElement {
static properties = {
current: {
Expand Down Expand Up @@ -144,8 +142,9 @@ export class Pagination extends LitElement {
`;
}
}
customElements.define("shoestring-pagination", Pagination);
export default Pagination;

@customElement("shoestring-pagination-page-button")
export class PaginationPageButton extends LitElement {
static properties = { page: { type: Number }, current: { type: Boolean } };

Expand Down Expand Up @@ -176,3 +175,4 @@ export class PaginationPageButton extends LitElement {
</sl-button> `;
}
}
customElements.define("shoestring-pagination-page-button", PaginationPageButton);

0 comments on commit b4ddebd

Please sign in to comment.