Skip to content

Commit

Permalink
Upgrade Lit and release 1.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredcwhite committed Oct 11, 2021
1 parent 2519d5c commit 57411d6
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 15 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
# Changelog

## Unreleased
## 1.1.2 / 2021-10-11

* Upgrade to newer Lit
* Switch from `site.pages` to `site.generated_pages` due to Bridgetown 1.0 API change

## 1.1.1 / 2021-07-18

* Allow for styling of links

## 1.1.0 / 2021-06-04

* Support the Resource content engine in Bridgetown 0.20+
Expand Down
5 changes: 3 additions & 2 deletions frontend/javascript/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ plugins: [
...
]
*/
import { LitElement, css, html, customElement, property } from "lit-element"
import { unsafeHTML } from "lit-html/directives/unsafe-html"
import { LitElement, css, html } from "lit"
import { customElement, property } from "lit/decorators.js"
import { unsafeHTML } from "lit/directives/unsafe-html.js"
import SearchEngine from "./search_engine"

@customElement("bridgetown-search-form")
Expand Down
2 changes: 1 addition & 1 deletion lib/bridgetown-quick-search/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

module Bridgetown
module QuickSearch
VERSION = "1.1.1"
VERSION = "1.1.2"
end
end
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bridgetown-quick-search",
"version": "1.1.1",
"version": "1.1.2",
"main": "frontend/javascript/index.js",
"module": "frontend/javascript/index.js",
"exports": {
Expand All @@ -26,7 +26,7 @@
},
"dependencies": {
"@babel/runtime": "^7.10.1",
"lit-element": "^2.3.1",
"lit": "^2.0.0",
"lunr": "^2.3.8"
},
"devDependencies": {
Expand Down
40 changes: 31 additions & 9 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -241,13 +241,23 @@
lodash "^4.17.19"
to-fast-properties "^2.0.0"

"@lit/reactive-element@^1.0.0":
version "1.0.1"
resolved "https://registry.yarnpkg.com/@lit/reactive-element/-/reactive-element-1.0.1.tgz#853cacd4d78d79059f33f66f8e7b0e5c34bee294"
integrity sha512-nSD5AA2AZkKuXuvGs8IK7K5ZczLAogfDd26zT9l6S7WzvqALdVWcW5vMUiTnZyj5SPcNwNNANj0koeV1ieqTFQ==

"@nicolo-ribaudo/chokidar-2@^2.1.8":
version "2.1.8"
resolved "https://registry.yarnpkg.com/@nicolo-ribaudo/chokidar-2/-/chokidar-2-2.1.8.tgz#eef8d9b47e8dc589499f14d656e8d2dd978c3d14"
integrity sha512-FohwULwAebCUKi/akMFyGi7jfc7JXTeMHzKxuP3umRd9mK/2Y7/SMBSI2jX+YLopPXi+PF9l307NmpfxTdCegA==
dependencies:
chokidar "2.1.8"

"@types/trusted-types@^2.0.2":
version "2.0.2"
resolved "https://registry.yarnpkg.com/@types/trusted-types/-/trusted-types-2.0.2.tgz#fc25ad9943bcac11cceb8168db4f275e0e72e756"
integrity sha512-F5DIZ36YVLE+PN+Zwws4kJogq47hNgX3Nx6WyDJ3kcplxyke3XIzB8uK5n/Lpm1HBsbGzd6nmGehL8cPekP+Tg==

ansi-styles@^3.2.1:
version "3.2.1"
resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d"
Expand Down Expand Up @@ -930,17 +940,29 @@ kind-of@^6.0.0, kind-of@^6.0.2:
resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-6.0.3.tgz#07c05034a6c349fa06e24fa35aa76db4580ce4dd"
integrity sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==

lit-element@^2.3.1:
version "2.4.0"
resolved "https://registry.yarnpkg.com/lit-element/-/lit-element-2.4.0.tgz#b22607a037a8fc08f5a80736dddf7f3f5d401452"
integrity sha512-pBGLglxyhq/Prk2H91nA0KByq/hx/wssJBQFiYqXhGDvEnY31PRGYf1RglVzyLeRysu0IHm2K0P196uLLWmwFg==
lit-element@^3.0.0:
version "3.0.1"
resolved "https://registry.yarnpkg.com/lit-element/-/lit-element-3.0.1.tgz#3c545af17d8a46268bc1dd5623a47486e6ff76f4"
integrity sha512-vs9uybH9ORyK49CFjoNGN85HM9h5bmisU4TQ63phe/+GYlwvY/3SIFYKdjV6xNvzz8v2MnVC+9+QOkPqh+Q3Ew==
dependencies:
lit-html "^1.1.1"
"@lit/reactive-element" "^1.0.0"
lit-html "^2.0.0"

lit-html@^1.1.1:
version "1.3.0"
resolved "https://registry.yarnpkg.com/lit-html/-/lit-html-1.3.0.tgz#c80f3cc5793a6dea6c07172be90a70ab20e56034"
integrity sha512-0Q1bwmaFH9O14vycPHw8C/IeHMk/uSDldVLIefu/kfbTBGIc44KGH6A8p1bDfxUfHdc8q6Ct7kQklWoHgr4t1Q==
lit-html@^2.0.0:
version "2.0.1"
resolved "https://registry.yarnpkg.com/lit-html/-/lit-html-2.0.1.tgz#63241015efa07bc9259b6f96f04abd052d2a1f95"
integrity sha512-KF5znvFdXbxTYM/GjpdOOnMsjgRcFGusTnB54ixnCTya5zUR0XqrDRj29ybuLS+jLXv1jji6Y8+g4W7WP8uL4w==
dependencies:
"@types/trusted-types" "^2.0.2"

lit@^2.0.0:
version "2.0.2"
resolved "https://registry.yarnpkg.com/lit/-/lit-2.0.2.tgz#5e6f422924e0732258629fb379556b6d23f7179c"
integrity sha512-hKA/1YaSB+P+DvKWuR2q1Xzy/iayhNrJ3aveD0OQ9CKn6wUjsdnF/7LavDOJsKP/K5jzW/kXsuduPgRvTFrFJw==
dependencies:
"@lit/reactive-element" "^1.0.0"
lit-element "^3.0.0"
lit-html "^2.0.0"

lodash@^4.17.19:
version "4.17.21"
Expand Down

0 comments on commit 57411d6

Please sign in to comment.