@inriver/inri 1.11.0 → 1.12.0

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.
@@ -0,0 +1,8 @@
1
+ # Changesets
2
+
3
+ Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
4
+ with multi-package repos, or single-package repos to help you version and publish your code. You can
5
+ find the full documentation for it [in our repository](https://github.com/changesets/changesets)
6
+
7
+ We have a quick list of common questions to get you started engaging with this project in
8
+ [our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
@@ -0,0 +1,11 @@
1
+ {
2
+ "$schema": "https://unpkg.com/@changesets/config@2.3.1/schema.json",
3
+ "changelog": "@changesets/cli/changelog",
4
+ "commit": false,
5
+ "fixed": [],
6
+ "linked": [],
7
+ "access": "restricted",
8
+ "baseBranch": "main",
9
+ "updateInternalDependencies": "patch",
10
+ "ignore": []
11
+ }
package/.eslintrc.js CHANGED
@@ -1,5 +1,5 @@
1
1
  const baseConfig = require('./configs/base-eslint-config.js')
2
2
 
3
3
  module.exports = {
4
- ...baseConfig
4
+ ...baseConfig,
5
5
  }
@@ -1,74 +1,4 @@
1
1
  const baseTailwindConfig = {
2
- preflight: false,
3
- darkMode: false,
4
- theme: {
5
- extend: {
6
- zIndex: {
7
- '-1': '-1',
8
- },
9
- },
10
- colors: {
11
- current: 'currentColor',
12
-
13
- grey: 'var(--color-grey)',
14
- 'grey-light': 'var(--color-grey-light)',
15
- 'grey-lighter': 'var(--color-grey-lighter)',
16
- 'grey-dark': 'var(--color-grey-dark)',
17
- 'grey-darker': 'var(--color-grey-darker)',
18
- 'grey-darkest': 'var(--color-grey-darkest)',
19
-
20
- blue: 'var(--color-blue)',
21
- 'blue-light': 'var(--color-blue-light)',
22
- purple: 'var(--color-purple)',
23
- 'purple-light': 'var(--color-purple-light)',
24
- red: 'var(--color-red)',
25
- 'red-light': 'var(--color-red-light)',
26
- orange: 'var(--color-orange)',
27
- 'orange-light': 'var(--color-orange-light)',
28
- yellow: 'var(--color-yellow)',
29
- 'yellow-light': 'var(--color-yellow-light)',
30
- green: 'var(--color-green)',
31
- 'green-light': 'var(--color-green-light)',
32
- 'green-light-30': 'var(--color-green-light-30)',
33
-
34
- primary: 'var(--q-primary)',
35
- 'on-primary': 'var(--on-primary-color)',
36
- 'on-primary-alt': 'var(--on-primary-alt-color)',
37
- 'primary-effect': 'var(--primary-effect-color)',
38
-
39
- secondary: 'var(--q-secondary)',
40
- 'on-secondary': 'var(--on-secondary-color)',
41
- 'on-secondary-alt': 'var(--on-secondary-alt-color)',
42
- 'secondary-effect': 'var(--secondary-effect-color)',
43
-
44
- accent: 'var(--q-accent)',
45
- 'on-accent': 'var(--on-accent-color)',
46
- 'on-accent-alt': 'var(--on-accent-alt-color)',
47
- 'accent-effect': 'var(--accent-effect-color)',
48
-
49
- surface: 'var(--surface-color)',
50
- 'on-surface': 'var(--on-surface-color)',
51
- 'surface-effect': 'var(--surface-effect-color)',
52
- 'surface-border': 'var(--surface-border-color)',
53
-
54
- // Color aliases
55
- 'border-default': 'var(--color-border)',
56
- },
57
- // Make sure that these match the Quasar breakpoints
58
- screens: {
59
- sm: '600px',
60
- md: '1024px',
61
- lg: '1440px',
62
- xl: '1920px',
63
- },
64
- },
65
- variants: {
66
- extend: {},
67
- },
68
- plugins: [],
69
-
70
- // These are colors that can be used by Quasar, but are generated at runtime. These must always be included.
71
- // For example color="blue-light" will generate "bg-blue-light" so it has to be included in this list.
72
2
  safelist: [
73
3
  'bg-grey-light',
74
4
  'bg-grey-lighter',
@@ -108,6 +38,7 @@ const baseTailwindConfig = {
108
38
  'bg-accent-effect',
109
39
  'bg-on-surface',
110
40
  'bg-surface-effect',
41
+ 'bg-surface',
111
42
 
112
43
  'text-on-primary',
113
44
  'text-on-primary-alt',
@@ -121,9 +52,8 @@ const baseTailwindConfig = {
121
52
  'text-on-surface',
122
53
  'text-surface-effect',
123
54
  ],
124
-
125
55
  // These are already included in Quasar so we don't have to create them again
126
- blocklist: [
56
+ blocklist: [
127
57
  'bg-primary',
128
58
  'bg-secondary',
129
59
  'bg-accent',
@@ -146,6 +76,71 @@ const baseTailwindConfig = {
146
76
  'text-yellow',
147
77
  'text-green',
148
78
  ],
79
+ theme: {
80
+ extend: {
81
+ zIndex: {
82
+ '-1': '-1',
83
+ },
84
+ colors: {
85
+ current: 'currentColor',
86
+
87
+ grey: 'var(--color-grey)',
88
+ 'grey-light': 'var(--color-grey-light)',
89
+ 'grey-lighter': 'var(--color-grey-lighter)',
90
+ 'grey-dark': 'var(--color-grey-dark)',
91
+ 'grey-darker': 'var(--color-grey-darker)',
92
+ 'grey-darkest': 'var(--color-grey-darkest)',
93
+
94
+ blue: 'var(--color-blue)',
95
+ 'blue-light': 'var(--color-blue-light)',
96
+ purple: 'var(--color-purple)',
97
+ 'purple-light': 'var(--color-purple-light)',
98
+ red: 'var(--color-red)',
99
+ 'red-light': 'var(--color-red-light)',
100
+ orange: 'var(--color-orange)',
101
+ 'orange-light': 'var(--color-orange-light)',
102
+ yellow: 'var(--color-yellow)',
103
+ 'yellow-light': 'var(--color-yellow-light)',
104
+ green: 'var(--color-green)',
105
+ 'green-light': 'var(--color-green-light)',
106
+ 'green-light-30': 'var(--color-green-light-30)',
107
+
108
+ primary: 'var(--q-primary)',
109
+ 'on-primary': 'var(--on-primary-color)',
110
+ 'on-primary-alt': 'var(--on-primary-alt-color)',
111
+ 'primary-effect': 'var(--primary-effect-color)',
112
+
113
+ secondary: 'var(--q-secondary)',
114
+ 'on-secondary': 'var(--on-secondary-color)',
115
+ 'on-secondary-alt': 'var(--on-secondary-alt-color)',
116
+ 'secondary-effect': 'var(--secondary-effect-color)',
117
+
118
+ accent: 'var(--q-accent)',
119
+ 'on-accent': 'var(--on-accent-color)',
120
+ 'on-accent-alt': 'var(--on-accent-alt-color)',
121
+ 'accent-effect': 'var(--accent-effect-color)',
122
+
123
+ surface: 'var(--surface-color)',
124
+ 'on-surface': 'var(--on-surface-color)',
125
+ 'surface-effect': 'var(--surface-effect-color)',
126
+ 'surface-border': 'var(--surface-border-color)',
127
+
128
+ // Color aliases
129
+ 'border-default': 'var(--color-border)',
130
+ },
131
+ },
132
+ // Make sure that these match the Quasar breakpoints
133
+ screens: {
134
+ sm: '600px',
135
+ md: '1024px',
136
+ lg: '1440px',
137
+ xl: '1920px',
138
+ },
139
+ },
140
+ variants: {
141
+ extend: {},
142
+ },
143
+ plugins: [],
149
144
  }
150
145
 
151
146
  module.exports = baseTailwindConfig
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inriver/inri",
3
- "version": "1.11.0",
3
+ "version": "1.12.0",
4
4
  "peerDependencies": {
5
5
  "quasar": "2.12.1",
6
6
  "vue": "^3.3.4",
@@ -31,5 +31,21 @@
31
31
  "stylelint-config-standard": "^22.0.0",
32
32
  "stylelint-webpack-plugin": "^3.0.1",
33
33
  "typescript": "~4.1.5"
34
+ },
35
+ "gitHooks": {
36
+ "pre-commit": "lint-staged"
37
+ },
38
+ "lint-staged": {
39
+ "*.{css,scss,sass,vue}": [
40
+ "stylelint --fix",
41
+ "git add"
42
+ ],
43
+ "*.{js,jsx,vue,ts,tsx}": [
44
+ "vue-cli-service lint",
45
+ "git add"
46
+ ]
47
+ },
48
+ "scripts": {
49
+ "lint": "vue-cli-service lint"
34
50
  }
35
51
  }
@@ -33,7 +33,7 @@ export function useDialog (data?: object, immediate = true) {
33
33
  emit('after-confirm', returnValue)
34
34
 
35
35
  if (msg) {
36
- notify.success(msg)
36
+ notify.success(msg)
37
37
  }
38
38
  }
39
39