@enso-ui/teams 4.0.0 → 4.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.eslintrc.js CHANGED
@@ -1,44 +1,46 @@
1
1
  module.exports = {
2
- 'root': true,
2
+ root: true,
3
3
  extends: [
4
4
  'airbnb-base',
5
- 'plugin:vue/recommended'
5
+ 'plugin:vue/vue3-recommended',
6
6
  ],
7
7
  plugins: [
8
8
  'vue',
9
9
  ],
10
10
  globals: {
11
11
  axios: true,
12
- route: true,
13
12
  },
14
13
  parserOptions: {
15
14
  parser: 'babel-eslint',
16
15
  sourceType: 'module',
17
- 'ecmaVersion': 2017,
18
- allowImportExportEverywhere: true
16
+ ecmaVersion: 2017,
17
+ allowImportExportEverywhere: true,
19
18
  },
20
19
  rules: {
21
20
  'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
22
21
  'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
23
22
  indent: ['error', 4],
23
+ 'arrow-parens': ['error', 'as-needed'],
24
24
  'vue/html-indent': 0,
25
25
  'vue/attributes-order': 0,
26
26
  'no-plusplus': 0,
27
- 'no-debugger': 0,
28
27
  'no-param-reassign': 0,
29
28
  'no-mixed-operators': 0,
29
+ 'no-underscore-dangle': 0,
30
30
  'func-names': 0,
31
31
  'no-shadow': 0,
32
+ 'vue/multi-word-component-names': 0,
32
33
  'vue/max-attributes-per-line': 0,
34
+ 'vue/first-attribute-linebreak': 0,
33
35
  'no-return-assign': ['error', 'except-parens'],
34
36
  'vue/html-closing-bracket-newline': ['error', {
35
- 'singleline': 'never',
36
- 'multiline': 'never'
37
+ singleline: 'never',
38
+ multiline: 'never',
37
39
  }],
38
40
  'vue/html-closing-bracket-spacing': ['error', {
39
- 'startTag': 'never',
40
- 'endTag': 'never',
41
- 'selfClosingTag': 'never'
42
- }]
41
+ startTag: 'never',
42
+ endTag: 'never',
43
+ selfClosingTag: 'never',
44
+ }],
43
45
  },
44
- };
46
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@enso-ui/teams",
3
- "version": "4.0.0",
3
+ "version": "4.0.4",
4
4
  "description": "Basic teams package",
5
5
  "main": "src/bulma/pages/teams/Index.vue",
6
6
  "scripts": {
@@ -27,6 +27,7 @@
27
27
  "@enso-ui/ui": "^5.0",
28
28
  "@fortawesome/fontawesome-svg-core": "^1.2.2",
29
29
  "@fortawesome/free-solid-svg-icons": "^5.2.0",
30
+ "@fortawesome/vue-fontawesome": "3.0.0-5",
30
31
  "v-tooltip": "4.0.0-alpha.1",
31
32
  "vue": "^3.0"
32
33
  },
@@ -37,7 +38,7 @@
37
38
  "autoprefixer": "^9.6.1",
38
39
  "babel-eslint": "^10.0.1",
39
40
  "cross-env": "^6.0.0",
40
- "eslint": "^7.0",
41
+ "eslint": "^8.0.0",
41
42
  "eslint-import-resolver-alias": "^1.1.2",
42
43
  "eslint-plugin-vue": "^8.0.0"
43
44
  }
@@ -60,6 +60,7 @@
60
60
  </template>
61
61
 
62
62
  <script>
63
+ import { FontAwesomeIcon as Fa } from '@fortawesome/vue-fontawesome';
63
64
  import { library } from '@fortawesome/fontawesome-svg-core';
64
65
  import { faPlus, faSearch, faSpinner } from '@fortawesome/free-solid-svg-icons';
65
66
  import Team from './components/Team.vue';
@@ -71,7 +72,7 @@ export default {
71
72
 
72
73
  inject: ['errorHandler', 'i18n', 'route'],
73
74
 
74
- components: { Team },
75
+ components: { Fa, Team },
75
76
 
76
77
  data: () => ({
77
78
  loading: false,
@@ -82,6 +82,7 @@
82
82
  </template>
83
83
 
84
84
  <script>
85
+ import { FontAwesomeIcon as Fa } from '@fortawesome/vue-fontawesome';
85
86
  import { library } from '@fortawesome/fontawesome-svg-core';
86
87
  import {
87
88
  faBan, faPencilAlt, faTrash, faCheck,
@@ -100,7 +101,7 @@ export default {
100
101
 
101
102
  directives: { focus },
102
103
 
103
- components: { Fade, EnsoSelect, AvatarList },
104
+ components: { AvatarList, EnsoSelect, Fa, Fade },
104
105
 
105
106
  props: {
106
107
  team: {