@konfuzio/document-validation-ui 0.1.55-dev.0 → 0.1.55-dev.1

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.
Files changed (57) hide show
  1. package/dist/css/app.css +1 -1
  2. package/dist/index.html +1 -1
  3. package/dist/js/app.js +1 -1
  4. package/dist/js/app.js.map +1 -1
  5. package/dist/js/chunk-vendors.js +66 -23
  6. package/dist/js/chunk-vendors.js.map +1 -1
  7. package/jest.config.js +22 -2
  8. package/package.json +31 -37
  9. package/src/assets/scss/ann_set_table_options.scss +4 -4
  10. package/src/assets/scss/annotation_action_buttons.scss +7 -7
  11. package/src/assets/scss/annotation_details.scss +9 -9
  12. package/src/assets/scss/choose_label_set_modal.scss +5 -5
  13. package/src/assets/scss/document_action_bar.scss +3 -3
  14. package/src/assets/scss/document_annotations.scss +40 -40
  15. package/src/assets/scss/document_category.scss +8 -8
  16. package/src/assets/scss/document_dashboard.scss +1 -1
  17. package/src/assets/scss/document_edit.scss +29 -28
  18. package/src/assets/scss/document_error.scss +6 -6
  19. package/src/assets/scss/document_name.scss +6 -6
  20. package/src/assets/scss/document_page.scss +3 -3
  21. package/src/assets/scss/document_search_bar.scss +7 -7
  22. package/src/assets/scss/document_set_chooser.scss +2 -2
  23. package/src/assets/scss/document_thumbnails.scss +7 -7
  24. package/src/assets/scss/document_toolbar.scss +10 -10
  25. package/src/assets/scss/document_top_bar.scss +10 -10
  26. package/src/assets/scss/document_viewport_modal.scss +3 -3
  27. package/src/assets/scss/documents_list.scss +11 -12
  28. package/src/assets/scss/edit_page_thumbnail.scss +6 -6
  29. package/src/assets/scss/empty_state.scss +4 -4
  30. package/src/assets/scss/error_page.scss +2 -2
  31. package/src/assets/scss/extracting_data.scss +3 -3
  32. package/src/assets/scss/multi_ann_table_overlay.scss +3 -3
  33. package/src/assets/scss/multi_ann_table_popup.scss +1 -1
  34. package/src/assets/scss/new_annotation.scss +21 -14
  35. package/src/assets/scss/scrolling_document.scss +1 -1
  36. package/src/assets/scss/theme.scss +63 -52
  37. package/src/assets/scss/variables.scss +2 -0
  38. package/src/components/App.vue +75 -14
  39. package/src/components/DocumentAnnotations/AnnotationActionButtons.vue +2 -5
  40. package/src/components/DocumentAnnotations/AnnotationRow.vue +14 -2
  41. package/src/components/DocumentAnnotations/DocumentAnnotations.vue +19 -22
  42. package/src/components/DocumentDashboard.vue +11 -16
  43. package/src/components/DocumentEdit/EditPages.vue +48 -48
  44. package/src/components/DocumentPage/DocumentPage.vue +2 -2
  45. package/src/components/DocumentPage/EditAnnotation.vue +14 -12
  46. package/src/components/DocumentPage/NewAnnotation.vue +15 -14
  47. package/src/constants.js +1 -7
  48. package/src/i18n.js +2 -5
  49. package/src/locales/de.json +1 -1
  50. package/src/locales/en.json +1 -1
  51. package/src/locales/es.json +1 -1
  52. package/src/main.js +13 -16
  53. package/src/store/display.js +33 -22
  54. package/src/store/document.js +30 -15
  55. package/src/store/index.js +5 -8
  56. package/src/utils/utils.js +6 -0
  57. package/src/assets/scss/imports.scss +0 -1
package/jest.config.js CHANGED
@@ -1,5 +1,25 @@
1
1
  module.exports = {
2
- preset: "@vue/cli-plugin-unit-jest/presets/no-babel",
3
- setupFiles: ["./tests/setup.js"],
2
+ moduleFileExtensions: [
3
+ "vue",
4
+ "js",
5
+ "mjs",
6
+ "cjs",
7
+ "jsx",
8
+ "ts",
9
+ "tsx",
10
+ "json",
11
+ "node",
12
+ ],
13
+ moduleNameMapper: {
14
+ "\\.(css|less)$": "<rootDir>/tests/mock/styleMock.js",
15
+ },
16
+ testEnvironment: "jsdom",
17
+ testEnvironmentOptions: {
18
+ customExportConditions: ["node", "node-addons"],
19
+ },
4
20
  transformIgnorePatterns: ["node_modules/(?!axios|keycloak-js)"],
21
+ transform: {
22
+ "^.+\\.[t|j]sx?$": "babel-jest",
23
+ "^.+\\.vue$": "@vue/vue3-jest",
24
+ },
5
25
  };
package/package.json CHANGED
@@ -1,22 +1,18 @@
1
1
  {
2
2
  "name": "@konfuzio/document-validation-ui",
3
- "version": "0.1.55-dev.0",
4
- "repository": "git://github.com:konfuzio-ai/document-validation-ui.git",
3
+ "version": "0.1.55-dev.1",
4
+ "repository": "https://github.com/konfuzio-ai/document-validation-ui",
5
5
  "main": "dist/app.js",
6
6
  "scripts": {
7
7
  "serve": "vue-cli-service serve",
8
8
  "build": "vue-cli-service build --name DocumentValidationUi ./src/main.js",
9
- "test:unit": "vue-cli-service test:unit",
9
+ "test:unit": "jest",
10
10
  "cypress:open": "cypress open",
11
11
  "i18n:report": "vue-cli-service i18n:report --src \"./src/**/*.?(js|vue)\" --locales \"./src/locales/**/*.json\"",
12
12
  "lint": "vue-cli-service lint",
13
13
  "format": "prettier . --write",
14
14
  "prepublishOnly": "npm run build"
15
15
  },
16
- "pre-commit": [
17
- "test:unit",
18
- "lint"
19
- ],
20
16
  "files": [
21
17
  "dist/*",
22
18
  "src/*",
@@ -24,44 +20,42 @@
24
20
  "*.js"
25
21
  ],
26
22
  "dependencies": {
27
- "@fortawesome/fontawesome-svg-core": "^6.3.0",
28
- "@fortawesome/free-solid-svg-icons": "^6.3.0",
29
- "@fortawesome/vue-fontawesome": "^2.0.10",
23
+ "@fortawesome/fontawesome-svg-core": "^6.7.2",
24
+ "@fortawesome/free-solid-svg-icons": "^6.7.2",
25
+ "@fortawesome/vue-fontawesome": "^3.0.8",
30
26
  "@sentry/tracing": "^6.19.4",
31
27
  "@sentry/vue": "^6.2.0",
32
- "axios": "^1.7.4",
33
- "bignumber.js": "^9.1.0",
34
- "buefy": "^0.9.22",
35
- "keycloak-js": "^26.0.6",
36
- "konva": "^8.3.13",
37
- "sass": "^1.56.0",
38
- "sass-loader": "^13.1.0",
39
- "vue": "^2.6.14",
40
- "vue-i18n": "^8.27.1",
41
- "vue-i18n-bridge": "^9.2.2",
42
- "vue-konva": "^2.1.7",
43
- "vue-observe-visibility": "^1.0.0",
44
- "vue-split-panel": "^1.0.4",
45
- "vue-template-compiler": "^2.6.10",
46
- "vuedraggable": "^2.24.3",
47
- "vuex": "^3.6.2"
28
+ "@vue/compat": "^3.5.13",
29
+ "axios": "^1.8.2",
30
+ "bignumber.js": "^9.1.2",
31
+ "buefy": "npm:@ntohq/buefy-next@^0.2.0",
32
+ "keycloak-js": "^25.0.6",
33
+ "konva": "^9.3.18",
34
+ "sass": "^1.85.0",
35
+ "sass-loader": "^16.0.5",
36
+ "splitpanes": "^3.1.8",
37
+ "vue": "^3.5.13",
38
+ "vue-i18n": "^10.0.5",
39
+ "vue-konva": "^3.2.0",
40
+ "vue3-observe-visibility": "^1.0.3",
41
+ "vuedraggable": "^4.1.0",
42
+ "vuex": "^4.1.0"
48
43
  },
49
44
  "devDependencies": {
50
- "@4tw/cypress-drag-drop": "^2.2.5",
51
- "@intlify/vue-i18n-loader": "^1.x",
52
- "@vue/cli-plugin-eslint": "^5.0.8",
53
- "@vue/cli-plugin-unit-jest": "^5.0.8",
45
+ "@4tw/cypress-drag-drop": "^2.3.0",
46
+ "@babel/preset-env": "^7.26.9",
54
47
  "@vue/cli-service": "^5.0.8",
55
- "@vue/test-utils": "^1.1.3",
56
- "@vue/vue2-jest": "^27.0.0",
57
- "babel-jest": "^27.0.6",
48
+ "@vue/compiler-sfc": "^3.1.0",
49
+ "@vue/test-utils": "^2.4.6",
50
+ "@vue/vue3-jest": "^29.2.6",
51
+ "babel-jest": "^29.7.0",
58
52
  "cypress": "^13.2.0",
59
53
  "dotenv": "^16.3.1",
60
- "eslint": "^8.30.0",
54
+ "eslint": "^8.57.1",
61
55
  "eslint-config-prettier": "^8.6.0",
62
- "eslint-plugin-vue": "^9.8.0",
63
- "jest": "^27.0.5",
64
- "pre-commit": "^1.2.2",
56
+ "eslint-plugin-vue": "^9.32.0",
57
+ "jest": "^29.2.6",
58
+ "jest-environment-jsdom": "^29.7.0",
65
59
  "prettier": "2.8.1"
66
60
  }
67
61
  }
@@ -1,9 +1,9 @@
1
- @import "./imports.scss";
1
+ @use "variables.scss";
2
2
 
3
3
  .ann-set-table-header {
4
4
  position: absolute;
5
- background-color: $purple;
6
- color: $white;
5
+ background-color: variables.$purple;
6
+ color: variables.$white;
7
7
  font-size: 14px;
8
8
  padding: 4px;
9
9
  z-index: 9;
@@ -20,7 +20,7 @@
20
20
  }
21
21
 
22
22
  .delete-action {
23
- color: $red;
23
+ color: variables.$red;
24
24
  }
25
25
  }
26
26
  }
@@ -1,4 +1,4 @@
1
- @import "./imports.scss";
1
+ @use "variables.scss";
2
2
  .action-buttons {
3
3
  display: flex;
4
4
  align-items: center;
@@ -22,13 +22,13 @@
22
22
 
23
23
  &.is-button-text-ghost {
24
24
  height: 26px;
25
- color: $grey-blue;
25
+ color: variables.$grey-blue;
26
26
  font-size: 14px;
27
27
  font-weight: 500;
28
28
 
29
29
  &:hover {
30
30
  text-decoration: none;
31
- color: $text-color;
31
+ color: variables.$text-color;
32
32
  }
33
33
 
34
34
  &:focus {
@@ -54,20 +54,20 @@
54
54
  .accept-icon,
55
55
  .restore-icon,
56
56
  .accept-all-icon {
57
- color: $green !important;
57
+ color: variables.$green !important;
58
58
  }
59
59
  .save-icon {
60
- color: $primary;
60
+ color: variables.$primary;
61
61
  }
62
62
  .decline-icon {
63
- color: $red;
63
+ color: variables.$red;
64
64
  }
65
65
  .cancel-icon,
66
66
  .search-icon,
67
67
  .missing-icon,
68
68
  .link-icon,
69
69
  .spinner-icon {
70
- color: $grey-blue;
70
+ color: variables.$grey-blue;
71
71
  }
72
72
 
73
73
  .spinner-icon {
@@ -1,4 +1,4 @@
1
- @import "./imports.scss";
1
+ @use "variables.scss";
2
2
 
3
3
  .annotation-details {
4
4
  .label-icon {
@@ -47,11 +47,11 @@
47
47
 
48
48
  .label-description {
49
49
  opacity: 0.7;
50
- color: $white;
50
+ color: variables.$white;
51
51
  font-weight: 400;
52
52
  font-size: 12px;
53
53
  line-height: 18px;
54
- border-bottom: 1px solid $low-opacity-white;
54
+ border-bottom: 1px solid variables.$low-opacity-white;
55
55
  padding-bottom: 8px;
56
56
  word-wrap: break-all;
57
57
  white-space: normal;
@@ -62,7 +62,7 @@
62
62
  }
63
63
 
64
64
  .confidence {
65
- color: $white;
65
+ color: variables.$white;
66
66
  font-weight: 400;
67
67
  font-size: 12px;
68
68
  line-height: 18px;
@@ -71,19 +71,19 @@
71
71
  justify-content: space-between;
72
72
 
73
73
  &:not(.tooltip-in-public-view) {
74
- border-bottom: 1px solid $low-opacity-white;
74
+ border-bottom: 1px solid variables.$low-opacity-white;
75
75
  padding-bottom: 8px;
76
76
  }
77
77
 
78
78
  .value {
79
- color: $green;
79
+ color: variables.$green;
80
80
 
81
81
  &.yellow {
82
- color: $yellow;
82
+ color: variables.$yellow;
83
83
  }
84
84
 
85
85
  &.red {
86
- color: $red;
86
+ color: variables.$red;
87
87
  }
88
88
  }
89
89
  }
@@ -92,7 +92,7 @@
92
92
  font-weight: 400;
93
93
  font-size: 12px;
94
94
  line-height: 18px;
95
- color: $white;
95
+ color: variables.$white;
96
96
 
97
97
  > div {
98
98
  display: flex;
@@ -1,4 +1,4 @@
1
- @import "./imports.scss";
1
+ @use "variables.scss";
2
2
 
3
3
  .choose-label-set-modal {
4
4
  .content {
@@ -6,14 +6,14 @@
6
6
  font-weight: 500;
7
7
  font-size: 18px;
8
8
  line-height: 28px;
9
- color: $grey-darker;
9
+ color: variables.$grey-darker;
10
10
  }
11
11
 
12
12
  p {
13
13
  font-weight: 400;
14
14
  font-size: 14px;
15
15
  line-height: 20px;
16
- color: $text-strong;
16
+ color: variables.$text-strong;
17
17
  }
18
18
 
19
19
  .label-set-list {
@@ -29,7 +29,7 @@
29
29
  }
30
30
 
31
31
  .labels-list {
32
- color: $grey-blue;
32
+ color: variables.$grey-blue;
33
33
  font-size: 14px;
34
34
  font-weight: 400;
35
35
  line-height: 20px;
@@ -40,7 +40,7 @@
40
40
  font-size: 12px;
41
41
  line-height: 18px;
42
42
  text-align: center;
43
- color: $text-color;
43
+ color: variables.$text-color;
44
44
  margin-top: 8px;
45
45
  }
46
46
  }
@@ -1,4 +1,4 @@
1
- @import "./imports.scss";
1
+ @use "variables.scss";
2
2
  .action-bar {
3
3
  position: absolute;
4
4
  width: fit-content;
@@ -9,7 +9,7 @@
9
9
  z-index: 100;
10
10
 
11
11
  .action-bar-elements {
12
- background-color: $text-color;
12
+ background-color: variables.$text-color;
13
13
  height: 40px;
14
14
  width: fit-content;
15
15
  padding: 4px 4px 4px 12px;
@@ -28,7 +28,7 @@
28
28
  }
29
29
 
30
30
  .action-text {
31
- color: $white;
31
+ color: variables.$white;
32
32
  font-size: 14px;
33
33
  font-weight: 400;
34
34
  line-height: 20px;
@@ -1,11 +1,13 @@
1
- @import "./imports.scss";
1
+ @use "variables.scss";
2
2
 
3
3
  #document-annotations {
4
- font-family: $font-family;
5
- background-color: $background;
4
+ font-family: variables.$font-family;
5
+ background-color: variables.$background;
6
+ overflow-y: auto;
6
7
  position: relative;
7
8
  display: flex;
8
9
  flex-direction: column;
10
+ height: 100%;
9
11
 
10
12
  &.disabled {
11
13
  pointer-events: none;
@@ -21,7 +23,7 @@
21
23
  padding-right: 16px;
22
24
  padding-bottom: 8px;
23
25
  width: 100%;
24
- box-shadow: 0px 1px 0px $grey-lightest;
26
+ box-shadow: 0px 1px 0px variables.$grey-lightest;
25
27
  display: flex;
26
28
  align-items: center;
27
29
 
@@ -45,8 +47,6 @@
45
47
 
46
48
  .annotation-set-list {
47
49
  padding-bottom: 16px;
48
- overflow: auto;
49
- height: 100vh;
50
50
 
51
51
  .annotation-options {
52
52
  display: flex;
@@ -84,14 +84,14 @@
84
84
  justify-content: space-between;
85
85
 
86
86
  &:hover {
87
- background-color: $background;
87
+ background-color: variables.$background;
88
88
  }
89
89
 
90
90
  .label-set-name {
91
91
  font-weight: 600;
92
92
  font-size: 14px;
93
93
  line-height: 20px;
94
- color: $text;
94
+ color: variables.$text;
95
95
  display: flex;
96
96
  align-items: center;
97
97
  gap: 8px;
@@ -116,7 +116,7 @@
116
116
  padding: 4px 8px;
117
117
  border-radius: 32px;
118
118
  margin-left: 14px;
119
- background: $purple-low-opacity;
119
+ background: variables.$purple-low-opacity;
120
120
  display: flex;
121
121
  width: fit-content;
122
122
  align-items: center;
@@ -141,7 +141,7 @@
141
141
  flex-direction: row;
142
142
  justify-content: space-between;
143
143
  align-items: center;
144
- border-bottom: 1px solid $grey-lightest;
144
+ border-bottom: 1px solid variables.$grey-lightest;
145
145
  min-height: 44px;
146
146
  cursor: pointer;
147
147
 
@@ -149,7 +149,7 @@
149
149
  display: flex;
150
150
  flex-direction: row;
151
151
  padding-left: 16px;
152
- color: $text-lighter;
152
+ color: variables.$text-lighter;
153
153
  align-items: center;
154
154
 
155
155
  icon {
@@ -172,22 +172,22 @@
172
172
  .label-annotations-pending {
173
173
  padding: 0px 8px;
174
174
  border-radius: 20px;
175
- background: $grey-lighter-low-opacity;
176
- color: $text-lighter;
175
+ background: variables.$grey-lighter-low-opacity;
176
+ color: variables.$text-lighter;
177
177
  margin-right: 4px;
178
178
  }
179
179
 
180
180
  .label-annotations-accepted {
181
181
  padding: 0px 8px;
182
182
  border-radius: 20px;
183
- background: $green-low-opacity;
184
- color: $green;
183
+ background: variables.$green-low-opacity;
184
+ color: variables.$green;
185
185
  }
186
186
  }
187
187
  }
188
188
 
189
189
  .label-group-annotation-list {
190
- background-color: $grey-hover;
190
+ background-color: variables.$grey-hover;
191
191
 
192
192
  .annotation-row {
193
193
  padding-left: 16px;
@@ -195,7 +195,7 @@
195
195
  }
196
196
 
197
197
  .label-name {
198
- color: $text-lighter;
198
+ color: variables.$text-lighter;
199
199
  word-break: break-word;
200
200
  font-size: 14px;
201
201
  line-height: 20px;
@@ -205,7 +205,7 @@
205
205
 
206
206
  .annotation-row {
207
207
  width: 100%;
208
- border-bottom: 1px solid $grey-lightest;
208
+ border-bottom: 1px solid variables.$grey-lightest;
209
209
  transition: background-color 0.2s ease-out;
210
210
  align-items: center;
211
211
  height: 100%;
@@ -260,13 +260,13 @@
260
260
  gap: 8px;
261
261
  min-width: 216px;
262
262
  text-align: left;
263
- border-bottom: 1px solid $low-opacity-white;
263
+ border-bottom: 1px solid variables.$low-opacity-white;
264
264
  padding-bottom: 8px;
265
265
  word-wrap: break-all;
266
266
  white-space: normal;
267
267
 
268
268
  .translation-title {
269
- color: $white;
269
+ color: variables.$white;
270
270
  font-weight: 400;
271
271
  font-size: 12px;
272
272
  line-height: 18px;
@@ -277,7 +277,7 @@
277
277
  font-weight: 500;
278
278
  text-align: right;
279
279
  &.no-translation {
280
- color: $red;
280
+ color: variables.$red;
281
281
  font-weight: 400;
282
282
  }
283
283
  }
@@ -288,7 +288,7 @@
288
288
  line-height: 18px;
289
289
  font-size: 12px;
290
290
  opacity: 0.7;
291
- color: $white;
291
+ color: variables.$white;
292
292
  font-weight: 400;
293
293
  }
294
294
  }
@@ -336,7 +336,7 @@
336
336
  }
337
337
 
338
338
  .spinner {
339
- color: $grey;
339
+ color: variables.$grey;
340
340
  }
341
341
 
342
342
  .annotation-items {
@@ -355,7 +355,7 @@
355
355
  background-image: linear-gradient(
356
356
  to right,
357
357
  transparent,
358
- $grey-hover 20%
358
+ variables.$grey-hover 20%
359
359
  );
360
360
 
361
361
  &.is-ann-editing {
@@ -366,7 +366,7 @@
366
366
 
367
367
  .annotation-value {
368
368
  display: inline-block;
369
- color: $text;
369
+ color: variables.$text;
370
370
  padding: 0;
371
371
  border: none;
372
372
  background-color: transparent;
@@ -382,12 +382,12 @@
382
382
  &.label-empty {
383
383
  font-weight: 500;
384
384
  font-size: 14px;
385
- color: $primary;
385
+ color: variables.$primary;
386
386
 
387
387
  &.clicked-ann {
388
388
  user-select: auto;
389
389
  font-weight: 400;
390
- color: $text-lighter;
390
+ color: variables.$text-lighter;
391
391
  }
392
392
  }
393
393
  }
@@ -400,27 +400,27 @@
400
400
  }
401
401
 
402
402
  &:hover {
403
- background-color: $grey-hover !important;
403
+ background-color: variables.$grey-hover !important;
404
404
  }
405
405
  &.selected {
406
- background-color: $grey-lightest;
406
+ background-color: variables.$grey-lightest;
407
407
  }
408
408
 
409
409
  &.hovered-empty-labels {
410
- background-color: $grey-lightest;
411
- border-bottom-color: $grey-detail;
410
+ background-color: variables.$grey-lightest;
411
+ border-bottom-color: variables.$grey-detail;
412
412
  }
413
413
 
414
414
  &.hovered-pending-annotations {
415
415
  position: relative;
416
- border-bottom-color: $primary;
416
+ border-bottom-color: variables.$primary;
417
417
 
418
418
  &:before {
419
419
  display: block;
420
420
  content: "";
421
421
  width: 100%;
422
422
  height: 100%;
423
- background: $primary;
423
+ background: variables.$primary;
424
424
  opacity: 0.1;
425
425
  position: absolute;
426
426
  top: 0;
@@ -429,21 +429,21 @@
429
429
  }
430
430
 
431
431
  &.editing {
432
- background-color: $background;
433
- border-bottom: 1px solid $primary;
432
+ background-color: variables.$background;
433
+ border-bottom: 1px solid variables.$primary;
434
434
  }
435
435
 
436
436
  .not-found-text {
437
- color: $grey;
437
+ color: variables.$grey;
438
438
  opacity: 0.3;
439
439
  }
440
440
 
441
441
  .saving-changes {
442
- color: $grey;
442
+ color: variables.$grey;
443
443
  }
444
444
 
445
445
  .error-editing {
446
- color: $red;
446
+ color: variables.$red;
447
447
  animation: shake 0.82s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
448
448
  transform: translate3d(0, 0, 0);
449
449
  }
@@ -478,13 +478,13 @@
478
478
  display: flex;
479
479
  gap: 5px;
480
480
  padding-left: 28px;
481
- color: $text-lighter;
481
+ color: variables.$text-lighter;
482
482
  font-size: 14px;
483
483
  line-height: 20px;
484
484
  min-height: 44px;
485
485
 
486
486
  a {
487
- color: $white;
487
+ color: variables.$white;
488
488
  text-decoration: underline;
489
489
  font-weight: 500;
490
490
  }
@@ -1,16 +1,16 @@
1
- @import "./imports.scss";
1
+ @use "variables.scss";
2
2
 
3
3
  .category-chooser {
4
4
  cursor: pointer;
5
5
  height: 100%;
6
6
 
7
7
  &.split-mode {
8
- border: 1px solid $grey-outline;
8
+ border: 1px solid variables.$grey-outline;
9
9
  border-radius: 4px;
10
- background-color: $white;
10
+ background-color: variables.$white;
11
11
 
12
12
  &:hover {
13
- border-color: $grey-outline-dark;
13
+ border-color: variables.$grey-outline-dark;
14
14
  background-color: transparent;
15
15
  }
16
16
  }
@@ -21,7 +21,7 @@
21
21
 
22
22
  &:not(.split-mode) {
23
23
  .category-drop-down {
24
- border-right: $component-border;
24
+ border-right: variables.$component-border;
25
25
  }
26
26
  }
27
27
  .category-drop-down {
@@ -53,7 +53,7 @@
53
53
 
54
54
  .category-title {
55
55
  font-size: 12px;
56
- color: $grey;
56
+ color: variables.$grey;
57
57
  }
58
58
 
59
59
  .category-name {
@@ -71,12 +71,12 @@
71
71
  display: flex;
72
72
  align-items: center;
73
73
  justify-content: space-evenly;
74
- border-right: $component-border;
74
+ border-right: variables.$component-border;
75
75
 
76
76
  .category-info {
77
77
  p {
78
78
  font-size: 12px;
79
- color: $grey;
79
+ color: variables.$grey;
80
80
  }
81
81
  }
82
82
  }
@@ -1,4 +1,4 @@
1
- @import "./imports.scss";
1
+ @use "variables.scss";
2
2
 
3
3
  .dashboard {
4
4
  flex: 1;