Skip to content

Commit 1f8e3bb

Browse files
committed
Missing method fix, non-breaking audit fix
1 parent 11b750c commit 1f8e3bb

File tree

11 files changed

+13951
-276
lines changed

11 files changed

+13951
-276
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [Unreleased]
8+
### Fixed
9+
- onBeforeUnmount unlisten() fix
10+
711
## [2.0.2] - 2021-06-09
812
### Fixed
913
- NPM audit issues

demo/lib/vue-picker.esm.css

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,3 @@
1-
.vue-picker-option {
2-
display: block;
3-
text-align: start;
4-
width: 100%;
5-
background: none;
6-
border: none;
7-
padding: 8px; }
8-
.vue-picker-option_cur {
9-
font-weight: bold; }
10-
.vue-picker-option:disabled {
11-
color: var(--col-disabled); }
12-
.vue-picker-option:hover:not(:disabled) {
13-
background-color: lightgray; }
14-
151
.vue-picker {
162
--col: black;
173
--col-dd-bg: white;
@@ -69,3 +55,17 @@
6955
padding: 8px 0;
7056
overflow-y: auto;
7157
display: inline-block; }
58+
59+
.vue-picker-option {
60+
display: block;
61+
text-align: start;
62+
width: 100%;
63+
background: none;
64+
border: none;
65+
padding: 8px; }
66+
.vue-picker-option_cur {
67+
font-weight: bold; }
68+
.vue-picker-option:disabled {
69+
color: var(--col-disabled); }
70+
.vue-picker-option:hover:not(:disabled) {
71+
background-color: lightgray; }

demo/lib/vue-picker.esm.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ var script$1 = {
297297

298298
onBeforeUnmount(function () {
299299
keyboard.unlistenOn(openerRef.value);
300-
keyboard.unlisten(document);
300+
keyboard.unlistenOn(document);
301301
});
302302

303303
var _emitModelValue = function (val) {

docs/css/index.461be09a.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/css/index.4a11ee3b.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<html><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><title>VuePicker demo</title><script defer="defer" src="/vue-picker/js/chunk-vendors.47f48c08.js"></script><script defer="defer" src="/vue-picker/js/index.38311ddd.js"></script><link href="/vue-picker/css/index.4a11ee3b.css" rel="stylesheet"></head><body><div id="app"></div><noscript><strong>We're sorry but your browser doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript></body></html>
1+
<html><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><title>VuePicker demo</title><script defer="defer" src="/vue-picker/js/chunk-vendors.47f48c08.js"></script><script defer="defer" src="/vue-picker/js/index.bb71b1fc.js"></script><link href="/vue-picker/css/index.461be09a.css" rel="stylesheet"></head><body><div id="app"></div><noscript><strong>We're sorry but your browser doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript></body></html>

docs/js/index.38311ddd.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/js/index.bb71b1fc.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)