Skip to content

Commit 3f99b75

Browse files
Merge pull request #18 from johndatserakis/jd-upgrade-to-vue-3
Upgrade to Vue 3
2 parents b1378c1 + fc5e656 commit 3f99b75

30 files changed

+9941
-22431
lines changed

.babelrc

Lines changed: 20 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,24 @@
11
{
2-
"presets": [
2+
"presets": [
3+
[
4+
"@babel/preset-env",
5+
{
6+
"modules": false
7+
}
8+
]
9+
],
10+
"env": {
11+
"test": {
12+
"presets": [
313
[
4-
"@babel/preset-env",
5-
{
6-
"targets": {
7-
"browsers": [
8-
"last 2 versions",
9-
"safari >= 7"
10-
]
11-
}
14+
"@babel/preset-env",
15+
{
16+
"targets": {
17+
"node": "current"
1218
}
19+
}
1320
]
14-
],
15-
"plugins": [
16-
[
17-
"@babel/plugin-transform-runtime"
18-
]
19-
]
20-
}
21+
]
22+
}
23+
}
24+
}

.editorconfig

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
1-
# editorconfig.org
2-
31
root = true
42

53
[*]
6-
indent_style = space
7-
indent_size = 4
8-
end_of_line = lf
94
charset = utf-8
10-
trim_trailing_whitespace = true
5+
end_of_line = lf
6+
indent_size = 2
7+
indent_style = space
118
insert_final_newline = true
9+
trim_trailing_whitespace = true
1210

1311
[*.md]
14-
trim_trailing_whitespace = false
12+
trim_trailing_whitespace = false

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
node_modules
1+
node_modules

.prettierrc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"printWidth": 100,
3+
"semi": true,
4+
"singleQuote": true,
5+
"tabWidth": 2,
6+
"trailingComma": "all",
7+
"useTabs": false
8+
}

CHANGELOG.md

Lines changed: 20 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,51 @@
11
# CHANGELOG.md
22

3+
## 6.0.0
4+
5+
- Upgrade package to support Vue 3. Vue 2 support can be found at `v5.4.0`.
6+
37
## 5.2.0 (2020-10-07)
48

5-
- Added `forceCookies` option. Thank you @YannikFirre.
9+
- Added `forceCookies` option. Thank you @YannikFirre.
610

711
## 5.1.1 (2019-02-19)
812

9-
- Adjusting iife build
13+
- Adjusting iife build
1014

1115
## 5.1.0 (2019-01-07)
1216

13-
- Removing the `scoped` prop from the `style` tags to allow for proper overwrite of styles.
17+
- Removing the `scoped` prop from the `style` tags to allow for proper overwrite of styles.
1418

1519
## 5.0.2 (2018-12-13)
1620

17-
- Fixing scrollbar issue on Windows in Chrome and Firefox.
21+
- Fixing scrollbar issue on Windows in Chrome and Firefox.
1822

1923
## 5.0.0 (2018-11-15)
2024

21-
- Adjusted the way that events were emitted (now all snake-case). [issue](https://github.com/promosis/vue-cookie-accept-decline/issues/10)
22-
- Added new way to postpone and hide the popup. [issue](https://github.com/promosis/vue-cookie-accept-decline/issues/11)
23-
- Fixed Windows scrollbar issue.
25+
- Adjusted the way that events were emitted (now all snake-case). [issue](https://github.com/johndatserakis/vue-cookie-accept-decline/issues/10)
26+
- Added new way to postpone and hide the popup. [issue](https://github.com/johndatserakis/vue-cookie-accept-decline/issues/11)
27+
- Fixed Windows scrollbar issue.
2428

2529
## 4.0.0 (2018-11-02)
2630

27-
- Adjusted build output - there will now be an additional `css` file that needs to be imported along with the `js`. This allows the `css` to be handled nicely by webpack or your app's build system.
31+
- Adjusted build output - there will now be an additional `css` file that needs to be imported along with the `js`. This allows the `css` to be handled nicely by webpack or your app's build system.
2832

2933
## 3.0.2 (2018-10-24)
3034

31-
- Fixed button bug on some older iPads.
35+
- Fixed button bug on some older iPads.
3236

3337
## 3.0.1 (2018-10-23)
3438

35-
- Added Codesandbox example. Updated readme.
39+
- Added Codesandbox example. Updated readme.
3640

3741
## 3.0.0 (2018-10-23)
3842

39-
- Added new default display option of `floating`.
40-
- Added new required `elementId` property to allow for multiple instances of `vue-cookie-accept-decline` on the same page.
41-
- Exposed a `removeCookie` method that can be used to clear the cookie the component creates. Also exposed the `init` method to allow devs to show the panel back to the user if they remove the cookie using `removeCookie`.
42-
- Updated readme to account for these new changes.
43-
- Added unit tests for the component.
43+
- Added new default display option of `floating`.
44+
- Added new required `elementId` property to allow for multiple instances of `vue-cookie-accept-decline` on the same page.
45+
- Exposed a `removeCookie` method that can be used to clear the cookie the component creates. Also exposed the `init` method to allow devs to show the panel back to the user if they remove the cookie using `removeCookie`.
46+
- Updated readme to account for these new changes.
47+
- Added unit tests for the component.
4448

4549
## 2.0.2 (2018-10-10)
4650

47-
- Decreased box-shadow opacity and adjusted border-top color.
51+
- Decreased box-shadow opacity and adjusted border-top color.

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2018 Promosis, Inc.
3+
Copyright (c) 2018 John Datserakis
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

0 commit comments

Comments
 (0)