From 32ed625a0d91b316a74e5c41eb624a25e5d10802 Mon Sep 17 00:00:00 2001 From: Timo Tijhof Date: Thu, 1 Aug 2024 03:14:18 +0100 Subject: [PATCH] Release 1.3.0 --- CONTRIBUTING.md | 2 +- README.md | 4 ++-- package.json | 2 +- typesense-minibar-foot.css | 2 +- typesense-minibar.css | 2 +- typesense-minibar.js | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 39a7598..9397d4d 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -37,7 +37,7 @@ Open export MINIBAR_VERSION=x.y.z ``` ```sh -sed -i'.bak' "s/typesense-minibar [0-9\.]*/typesense-minibar $MINIBAR_VERSION/" typesense-minibar* && \ +sed -i'.bak' "1s/typesense-minibar [0-9\.]*/typesense-minibar $MINIBAR_VERSION/" typesense-minibar* && \ sed -i'.bak' "s/minibar@[^/]*/minibar@$MINIBAR_VERSION/g" README.md && \ sed -i'.bak' 's/"version": "[^"]*"/"version": "'$MINIBAR_VERSION'"/' package.json && \ rm *.bak diff --git a/README.md b/README.md index aadaf24..e35489b 100644 --- a/README.md +++ b/README.md @@ -42,8 +42,8 @@ Distribution: -* **jsDelivr** ([browse](https://cdn.jsdelivr.net/npm/typesense-minibar@1.2.0/)):
[typesense-minibar.js](https://cdn.jsdelivr.net/npm/typesense-minibar@1.2.0/typesense-minibar.js), [typesense-minibar.css](https://cdn.jsdelivr.net/npm/typesense-minibar@1.2.0/typesense-minibar.css) -* **UNPKG** ([browse](https://unpkg.com/browse/typesense-minibar@1.2.0/)):
[typesense-minibar.js](https://unpkg.com/typesense-minibar@1.2.0/typesense-minibar.js), [typesense-minibar.css](https://unpkg.com/typesense-minibar@1.2.0/typesense-minibar.css) +* **jsDelivr** ([browse](https://cdn.jsdelivr.net/npm/typesense-minibar@1.3.0/)):
[typesense-minibar.js](https://cdn.jsdelivr.net/npm/typesense-minibar@1.3.0/typesense-minibar.js), [typesense-minibar.css](https://cdn.jsdelivr.net/npm/typesense-minibar@1.3.0/typesense-minibar.css) +* **UNPKG** ([browse](https://unpkg.com/browse/typesense-minibar@1.3.0/)):
[typesense-minibar.js](https://unpkg.com/typesense-minibar@1.3.0/typesense-minibar.js), [typesense-minibar.css](https://unpkg.com/typesense-minibar@1.3.0/typesense-minibar.css) * npm: [typesense-minibar](https://www.npmjs.com/package/typesense-minibar) ```shell npm i --save typesense-minibar diff --git a/package.json b/package.json index 19ef641..f0eab6e 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "typesense-minibar", "description": "Fast 2kB autocomplete search bar", - "version": "1.2.0", + "version": "1.3.0", "homepage": "https://github.com/jquery/typesense-minibar", "license": "MIT", "author": { diff --git a/typesense-minibar-foot.css b/typesense-minibar-foot.css index 17b270b..47db132 100644 --- a/typesense-minibar-foot.css +++ b/typesense-minibar-foot.css @@ -1,4 +1,4 @@ -/*! https://github.com/jquery/typesense-minibar 1.2.0 */ +/*! https://github.com/jquery/typesense-minibar 1.3.0 */ .tsmb-foot::after { content: ""; display: inline-block; diff --git a/typesense-minibar.css b/typesense-minibar.css index 362399d..c643da6 100644 --- a/typesense-minibar.css +++ b/typesense-minibar.css @@ -1,4 +1,4 @@ -/*! https://github.com/jquery/typesense-minibar 1.2.0 */ +/*! https://github.com/jquery/typesense-minibar 1.3.0 */ .tsmb-form, typesense-minibar { --tsmb-size-edge: 1px; diff --git a/typesense-minibar.js b/typesense-minibar.js index 9aa6c73..82458e1 100644 --- a/typesense-minibar.js +++ b/typesense-minibar.js @@ -1,4 +1,4 @@ -/*! https://github.com/jquery/typesense-minibar 1.2.0 */ +/*! https://github.com/jquery/typesense-minibar 1.3.0 */ globalThis.tsminibar = function tsminibar (form) { const { origin, collection } = form.dataset; const group = !!form.dataset.group;