@appscode/design-system 1.1.0-beta.5 → 1.1.0-beta.50

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 (90) hide show
  1. package/base/utilities/_colors.scss +45 -114
  2. package/base/utilities/_global.scss +25 -19
  3. package/base/utilities/_typography.scss +2 -2
  4. package/base/utilities/dark-theme.scss +2 -8
  5. package/components/_ac-alert-box.scss +2 -2
  6. package/components/_ac-code-highlight.scss +9 -12
  7. package/components/_ac-drag.scss +4 -4
  8. package/components/_ac-modal.scss +2 -2
  9. package/components/_ac-select-box.scss +5 -5
  10. package/components/_ac-table.scss +7 -7
  11. package/components/_ac-tabs.scss +29 -26
  12. package/components/_all.scss +7 -5
  13. package/components/_buttons.scss +10 -10
  14. package/components/_graph.scss +10 -10
  15. package/components/_image-upload.scss +4 -4
  16. package/components/_input-card.scss +232 -0
  17. package/components/{_ac-input.scss → _input.scss} +53 -7
  18. package/components/_left-sidebar-menu.scss +9 -13
  19. package/components/_monaco-editor.scss +2 -2
  20. package/components/_multi-select.scss +589 -0
  21. package/components/_navbar.scss +7 -7
  22. package/components/_nested-list.scss +2 -2
  23. package/components/_overview-info.scss +3 -3
  24. package/components/_pricing-table.scss +5 -5
  25. package/components/_progress-bar.scss +61 -74
  26. package/components/_subscription-card.scss +8 -10
  27. package/components/_table-of-content.scss +4 -4
  28. package/components/{_ac-terminal.scss → _terminal.scss} +62 -73
  29. package/components/_widget-menu.scss +7 -12
  30. package/components/_wizard.scss +13 -286
  31. package/components/bbum/_information-center.scss +8 -10
  32. package/components/bbum/_mobile-desktop.scss +9 -14
  33. package/components/bbum/_single-post-preview.scss +9 -9
  34. package/components/ui-builder/_ui-builder.scss +194 -10
  35. package/components/ui-builder/_vue-open-api.scss +58 -13
  36. package/icons/close-icon.svg +3 -0
  37. package/layouts/_code-preview.scss +6 -7
  38. package/package.json +1 -1
  39. package/vue-components/types/importFlow.ts +16 -0
  40. package/vue-components/types/notification.ts +3 -3
  41. package/vue-components/v2/banner/Banner.vue +1 -1
  42. package/vue-components/v2/editor/FilteredFileEditor.vue +2 -2
  43. package/vue-components/v2/modal/Modal.vue +1 -1
  44. package/vue-components/v2/pagination/Pagination.vue +1 -0
  45. package/vue-components/v3/alert/Alert.vue +2 -2
  46. package/vue-components/v3/banner/Banner.vue +2 -2
  47. package/vue-components/v3/breadcrumbs/Breadcrumb.vue +66 -4
  48. package/vue-components/v3/button/Button.vue +33 -11
  49. package/vue-components/v3/cards/Cluster.vue +7 -3
  50. package/vue-components/v3/cards/FeatureCard.vue +1 -1
  51. package/vue-components/v3/cards/FeatureCards.vue +1 -1
  52. package/vue-components/v3/cards/InfoCard.vue +1 -2
  53. package/vue-components/v3/cards/Vendor.vue +1 -1
  54. package/vue-components/v3/content/ContentTable.vue +1 -1
  55. package/vue-components/v3/editor/FilteredFileEditor.vue +5 -1
  56. package/vue-components/v3/footer/FooterArea.vue +6 -0
  57. package/vue-components/v3/footer/Info.vue +10 -8
  58. package/vue-components/v3/footer/Status.vue +21 -23
  59. package/vue-components/v3/footer/Usage.vue +20 -30
  60. package/vue-components/v3/form/Form.vue +0 -3
  61. package/vue-components/v3/form-fields/AcSingleInput.vue +503 -1
  62. package/vue-components/v3/header/Header.vue +2 -2
  63. package/vue-components/v3/loaders/InfoCardLoader.vue +18 -60
  64. package/vue-components/v3/loaders/SingleInfoCardLoader.vue +24 -0
  65. package/vue-components/v3/modal/Modal.vue +6 -11
  66. package/vue-components/v3/navbar/NavbarItemContent.vue +1 -1
  67. package/vue-components/v3/navbar/User.vue +4 -4
  68. package/vue-components/v3/notification/AlertBox.vue +233 -3
  69. package/vue-components/v3/notification/Notification.vue +2 -2
  70. package/vue-components/v3/option-dots/Options.vue +3 -2
  71. package/vue-components/v3/pagination/Pagination.vue +2 -1
  72. package/vue-components/v3/preloader/Preloader.vue +1 -1
  73. package/vue-components/v3/sidebar/ClusterSwitcher.vue +1 -761
  74. package/vue-components/v3/sidebar/Sidebar.vue +3 -30
  75. package/vue-components/v3/sidebar/SidebarFooter.vue +5 -2
  76. package/vue-components/v3/sidebar/Steps.vue +55 -51
  77. package/vue-components/v3/sidebar/sidebar-tabs/SidebarTabs.vue +78 -2
  78. package/vue-components/v3/sidebar/sidebar-tabs/SidebarTabsLayout.vue +12 -3
  79. package/vue-components/v3/table/InfoTable.vue +6 -4
  80. package/vue-components/v3/table/Table.vue +16 -16
  81. package/vue-components/v3/table/TableRow.vue +2 -2
  82. package/vue-components/v3/tag/Tag.vue +1 -0
  83. package/components/_ac-card.scss +0 -0
  84. package/components/_ac-multi-select.scss +0 -780
  85. package/vue-components/types/longRunningTasks.ts +0 -20
  86. package/vue-components/v3/long-running-tasks/LongRunningTaskItem.vue +0 -94
  87. package/vue-components/v3/modals/LongRunningTasksModal.vue +0 -402
  88. package/vue-components/v3/terminal/LongRunningTaskTerminal.vue +0 -151
  89. /package/components/{_ac-accordion.scss → _accordion.scss} +0 -0
  90. /package/components/{_ac-report.scss → _report.scss} +0 -0
@@ -18,4 +18,506 @@ withDefaults(defineProps<Props>(), {
18
18
  </div>
19
19
  </template>
20
20
 
21
- <style lang="scss"></style>
21
+ <style lang="scss">
22
+ .ac-single-input {
23
+ position: relative;
24
+ z-index: 1;
25
+ margin-bottom: 15px;
26
+
27
+ &.is-disable {
28
+ opacity: 0.5;
29
+
30
+ input,
31
+ .button.is-information,
32
+ .eye i.fa {
33
+ cursor: not-allowed;
34
+ }
35
+ }
36
+
37
+ &.is-information {
38
+ input {
39
+ padding-right: 45px;
40
+
41
+ &[type="password"] {
42
+ padding-right: 80px;
43
+ }
44
+ }
45
+
46
+ span.eye i.fa {
47
+ right: 35px;
48
+ }
49
+ }
50
+
51
+ &.is-success {
52
+ input,
53
+ .ac-card,
54
+ textarea {
55
+ border: 1px solid $primary !important;
56
+ }
57
+
58
+ p {
59
+ color: $primary;
60
+ }
61
+ }
62
+
63
+ &.is-danger {
64
+ input,
65
+ .ac-card,
66
+ textarea {
67
+ border: 1px solid $danger;
68
+ }
69
+
70
+ p {
71
+ color: $danger;
72
+ }
73
+ }
74
+
75
+ &.is-loading {
76
+ input,
77
+ .ac-card,
78
+ textarea {
79
+ border: 1px solid $info;
80
+ opacity: 0.5;
81
+ }
82
+
83
+ p {
84
+ color: $info;
85
+ opacity: 0.5;
86
+ }
87
+ }
88
+
89
+ &.borderless-input {
90
+ input {
91
+ border: none;
92
+ font-size: 13px;
93
+ padding: 4px 7px;
94
+ height: 30px;
95
+ background-color: $white-100;
96
+ padding-right: 30px;
97
+
98
+ &[type="password"] {
99
+ padding-right: 30px;
100
+ }
101
+
102
+ &:focus {
103
+ outline: none;
104
+ border: none;
105
+ }
106
+ }
107
+
108
+ span.eye {
109
+ i.fa {
110
+ padding: 9px;
111
+ font-size: 12px;
112
+ }
113
+ }
114
+ }
115
+
116
+ &.is-normal {
117
+ input {
118
+ height: 45px;
119
+ font-size: 15px;
120
+ font-weight: 400;
121
+ }
122
+
123
+ .button {
124
+ &.is-information {
125
+ height: 45px;
126
+ width: 45px;
127
+ margin-top: 0;
128
+ }
129
+ }
130
+
131
+ span.eye i.fa {
132
+ padding: 14px 10px;
133
+ }
134
+
135
+ .ac-search-button {
136
+ margin-top: -22.5px;
137
+ }
138
+
139
+ label {
140
+ top: 13px;
141
+ font-size: 13px;
142
+
143
+ &.show-label {
144
+ font-size: 12px;
145
+ color: $primary-20;
146
+ top: -9px;
147
+ font-weight: 500;
148
+ background-color: $white-100;
149
+ }
150
+ }
151
+
152
+ .control {
153
+ &.has-icons-right {
154
+ .icon {
155
+ height: 45px;
156
+ width: 30px;
157
+ font-size: 13px;
158
+ }
159
+ }
160
+ }
161
+ }
162
+
163
+ &.is-small {
164
+ input {
165
+ height: 36px;
166
+ font-size: 13px;
167
+ font-weight: 400;
168
+ }
169
+
170
+ .button {
171
+ &.is-information {
172
+ height: 36px;
173
+ width: 36px;
174
+ margin-top: 0;
175
+ padding: 10px;
176
+ }
177
+ }
178
+
179
+ span.eye i.fa {
180
+ padding: 10px;
181
+ }
182
+
183
+ .ac-search-button {
184
+ margin-top: -18px;
185
+ }
186
+
187
+ label {
188
+ top: 8px;
189
+ font-size: 13px;
190
+
191
+ &.switch-label {
192
+ top: 0;
193
+ }
194
+
195
+ &.show-label {
196
+ font-size: 12px;
197
+ top: -9px;
198
+ font-weight: 500;
199
+ color: $black-40;
200
+
201
+ &.is-required {
202
+ &:after {
203
+ width: calc(100% + 10px);
204
+ }
205
+ }
206
+ }
207
+ }
208
+
209
+ .control {
210
+ &.has-icons-right {
211
+ .icon {
212
+ height: 36px;
213
+ width: 25px;
214
+ font-size: 13px;
215
+ }
216
+ }
217
+ }
218
+ }
219
+
220
+ &.is-extra-small {
221
+ input {
222
+ height: 32px;
223
+ font-size: 13px;
224
+ font-weight: 400;
225
+ }
226
+
227
+ .button {
228
+ &.is-information {
229
+ height: 32px;
230
+ width: 32px;
231
+ margin-top: 0;
232
+ }
233
+ }
234
+
235
+ span.eye i.fa {
236
+ padding: 10px;
237
+ }
238
+
239
+ .ac-search-button {
240
+ margin-top: 0px;
241
+ top: 0;
242
+ display: flex;
243
+ align-items: center;
244
+ width: 40px;
245
+ justify-content: center;
246
+
247
+ svg {
248
+ width: 18px;
249
+ }
250
+ }
251
+
252
+ label {
253
+ top: 8px;
254
+ font-size: 13px;
255
+
256
+ &.switch-label {
257
+ top: 0;
258
+ }
259
+
260
+ &.show-label {
261
+ font-size: 12px;
262
+ top: -9px;
263
+ }
264
+ }
265
+
266
+ .control {
267
+ &.has-icons-right {
268
+ .icon {
269
+ height: 32px;
270
+ width: 25px;
271
+ font-size: 13px;
272
+ }
273
+ }
274
+ }
275
+ }
276
+
277
+ &:last-child {
278
+ margin-bottom: 0;
279
+ }
280
+
281
+ &.is-dark {
282
+ input {
283
+ background-color: $primary-10;
284
+ border-color: transparent;
285
+ color: $white-100;
286
+
287
+ &::placeholder {
288
+ color: $primary-10;
289
+ }
290
+
291
+ button {
292
+ i.fa {
293
+ color: $white-100;
294
+ }
295
+ }
296
+ }
297
+ }
298
+
299
+ label {
300
+ font-size: 13px;
301
+ left: 15px;
302
+ top: 11px;
303
+ cursor: text;
304
+ color: $primary-10;
305
+ position: absolute;
306
+ z-index: 2;
307
+ transition: 0.3s ease-in-out;
308
+
309
+ .is-required {
310
+ color: $danger;
311
+
312
+ img {
313
+ position: absolute;
314
+ top: 7px;
315
+ padding-left: 3px;
316
+ }
317
+ }
318
+
319
+ &.show-label {
320
+ top: -9px;
321
+ left: 10px;
322
+ padding: 0 5px;
323
+ font-size: 13px;
324
+ color: $black-40;
325
+
326
+ &:after {
327
+ position: absolute;
328
+ content: "";
329
+ left: 0;
330
+ top: 50%;
331
+ background-color: $white-100;
332
+ width: 100%;
333
+ height: 2px;
334
+ margin-top: -1px;
335
+ z-index: -1;
336
+ }
337
+
338
+ // &.is-required {
339
+ // &:after {
340
+ // width: calc(100% + 10px);
341
+ // }
342
+ // }
343
+ }
344
+ }
345
+
346
+ .button {
347
+ &.is-information {
348
+ background-color: transparent;
349
+ border: none;
350
+ position: absolute;
351
+ right: 0;
352
+ height: 32px;
353
+ width: 32px;
354
+ margin-top: 0;
355
+
356
+ &:focus {
357
+ outline: none;
358
+ box-shadow: none;
359
+ background-color: #e4e8ef;
360
+ transform: scale(0.8);
361
+ }
362
+ }
363
+ }
364
+
365
+ .ac-search-button {
366
+ background-color: transparent;
367
+ border: none;
368
+ position: absolute;
369
+ left: 0;
370
+ top: 50%;
371
+ width: 32px;
372
+ height: 100%;
373
+ margin-top: -15px;
374
+ color: $primary-20;
375
+ cursor: pointer;
376
+ }
377
+
378
+ .ac-dropdown-content {
379
+ position: absolute;
380
+ background-color: $primary-90;
381
+ width: 100%;
382
+ height: auto;
383
+ box-shadow: 0px 4px 16px rgba(132, 147, 168, 0.6);
384
+ border-radius: 4px;
385
+ overflow: hidden;
386
+
387
+ ul {
388
+ li {
389
+ a {
390
+ color: $primary-10;
391
+ display: block;
392
+ font-size: 13px;
393
+ padding: 8px 20px;
394
+ transition: 0.3s;
395
+
396
+ &:hover {
397
+ background-color: $primary-30;
398
+ color: $primary;
399
+ }
400
+ }
401
+ }
402
+ }
403
+ }
404
+
405
+ .ac-textarea {
406
+ .ac-label {
407
+ &.is-required {
408
+ &:after {
409
+ width: calc(100% + 10px);
410
+ }
411
+ }
412
+ }
413
+
414
+ textarea {
415
+ border: 1px solid $primary-80;
416
+ background-color: transparent;
417
+ padding: 10px 15px;
418
+ min-height: 50px;
419
+
420
+ &.bg-white {
421
+ background-color: transparent;
422
+ }
423
+
424
+ &:focus {
425
+ outline: none;
426
+ border: 1px solid $primary;
427
+ }
428
+ }
429
+ }
430
+
431
+ input,
432
+ .ac-card,
433
+ textarea {
434
+ background-color: $white-100;
435
+ color: $primary-10;
436
+ height: 45px;
437
+ font-weight: 400;
438
+ width: 100%;
439
+ border-radius: 4px;
440
+ border: 1px solid $primary-80;
441
+ padding: 8px 15px;
442
+ font-size: 13px;
443
+
444
+ &:hover {
445
+ border-color: $black-70;
446
+ }
447
+
448
+ &.bg-white {
449
+ background-color: $white-100;
450
+ }
451
+
452
+ &.StripeElement--focus {
453
+ border: 1px solid $primary;
454
+ }
455
+
456
+ &:focus {
457
+ border: 1px solid $primary;
458
+ outline: none;
459
+ background-color: $white-100;
460
+ }
461
+
462
+ &[type="password"] {
463
+ padding-right: 40px;
464
+ }
465
+
466
+ &[type="search"] {
467
+ padding-left: 30px;
468
+ }
469
+
470
+ transition: background-color 0.3s ease-in-out;
471
+ }
472
+
473
+ .ac-card {
474
+ height: 36px;
475
+ padding: 10px 20px;
476
+ }
477
+
478
+ textarea {
479
+ height: 55px;
480
+ }
481
+
482
+ b.isRequired {
483
+ color: $danger;
484
+ font-size: 13px;
485
+ position: absolute;
486
+ right: 5px;
487
+ z-index: 9;
488
+ }
489
+
490
+ span.eye {
491
+ i.fa {
492
+ color: $primary-70;
493
+ position: absolute;
494
+ cursor: pointer;
495
+ padding: 15px;
496
+ right: 0;
497
+ top: 0;
498
+ }
499
+ }
500
+
501
+ .is-danger {
502
+ font-size: 12px;
503
+ line-height: 22px;
504
+ color: $danger;
505
+ text-align: left;
506
+
507
+ i.fa {
508
+ padding-right: 10px;
509
+ }
510
+ }
511
+ }
512
+
513
+ .ac-input.ac-search {
514
+ width: 42px;
515
+ transition: 0.3s ease-in-out;
516
+ padding: 0;
517
+ }
518
+
519
+ .ac-search:focus {
520
+ width: 200px !important;
521
+ padding-right: 10px;
522
+ }
523
+ </style>
@@ -26,7 +26,7 @@ withDefaults(defineProps<Props>(), {
26
26
  <header-items>
27
27
  <header-item>
28
28
  <transition name="fade" mode="out-in" appear>
29
- <h5 :key="title">{{ title }}</h5>
29
+ <h4 :key="title">{{ title }}</h4>
30
30
  </transition>
31
31
  </header-item>
32
32
  <slot name="header-left-controls" />
@@ -41,7 +41,7 @@ withDefaults(defineProps<Props>(), {
41
41
  <style lang="scss" scoped>
42
42
  .inner-header {
43
43
  padding: 6px 20px;
44
- border-bottom: 1px solid $primary-90;
44
+ border-bottom: 1px solid $primary-93;
45
45
  position: sticky;
46
46
  background: $white-100;
47
47
  z-index: 99;
@@ -1,65 +1,23 @@
1
- <script setup lang="ts">
1
+ <script>
2
2
  import { ContentLoader } from "vue-content-loader";
3
+
4
+ export default {
5
+ components: { ContentLoader },
6
+ };
3
7
  </script>
4
8
 
5
9
  <template>
6
- <div>
7
- <svg
8
- role="img"
9
- width="230"
10
- height="115"
11
- aria-labelledby="loading-aria"
12
- viewBox="0 0 230 115"
13
- preserveAspectRatio="none"
14
- >
15
- <title id="loading-aria">Loading...</title>
16
- <rect
17
- x="0"
18
- y="0"
19
- width="100%"
20
- height="100%"
21
- clip-path="url(#clip-path)"
22
- style="fill: url('#fill')"
23
- ></rect>
24
- <defs>
25
- <clipPath id="clip-path">
26
- <rect x="150" y="40" rx="3" ry="3" width="60" height="50" />
27
- <rect x="10" y="70" rx="3" ry="3" width="120" height="11" />
28
- <rect x="10" y="100" rx="3" ry="3" width="120" height="11" />
29
- <rect x="150" y="100" rx="3" ry="3" width="60" height="11" />
30
- <rect x="10" y="1" rx="3" ry="3" width="200" height="22" />
31
- <rect x="10" y="40" rx="3" ry="3" width="120" height="11" />
32
- </clipPath>
33
- <linearGradient id="fill">
34
- <stop offset="0.599964" stop-color="#cfcfcf" stop-opacity="1">
35
- <animate
36
- attributeName="offset"
37
- values="-2; -2; 1"
38
- keyTimes="0; 0.25; 1"
39
- dur="2s"
40
- repeatCount="indefinite"
41
- ></animate>
42
- </stop>
43
- <stop offset="1.59996" stop-color="#ecebeb" stop-opacity="1">
44
- <animate
45
- attributeName="offset"
46
- values="-1; -1; 2"
47
- keyTimes="0; 0.25; 1"
48
- dur="2s"
49
- repeatCount="indefinite"
50
- ></animate>
51
- </stop>
52
- <stop offset="2.59996" stop-color="#cfcfcf" stop-opacity="1">
53
- <animate
54
- attributeName="offset"
55
- values="0; 0; 3"
56
- keyTimes="0; 0.25; 1"
57
- dur="2s"
58
- repeatCount="indefinite"
59
- ></animate>
60
- </stop>
61
- </linearGradient>
62
- </defs>
63
- </svg>
64
- </div>
10
+ <content-loader
11
+ viewBox="0 0 230 115"
12
+ :speed="2"
13
+ primaryColor="#f5f5f5"
14
+ secondaryColor="#ecebeb"
15
+ >
16
+ <rect x="0" y="0" rx="0" ry="0" width="NaN" height="NaN" />
17
+ <rect x="10" y="70" rx="3" ry="3" width="120" height="11" />
18
+ <rect x="10" y="100" rx="3" ry="3" width="120" height="11" />
19
+ <rect x="150" y="100" rx="3" ry="3" width="60" height="11" />
20
+ <rect x="10" y="1" rx="3" ry="3" width="216" height="22" />
21
+ <rect x="10" y="40" rx="3" ry="3" width="120" height="11" />
22
+ </content-loader>
65
23
  </template>
@@ -0,0 +1,24 @@
1
+ <script>
2
+ import { ContentLoader } from "vue-content-loader";
3
+
4
+ export default {
5
+ components: { ContentLoader },
6
+ };
7
+ </script>
8
+
9
+ <template>
10
+ <content-loader
11
+ viewBox="0 0 1540 90"
12
+ :speed="2"
13
+ primaryColor="#f5f5f5"
14
+ secondaryColor="#ecebeb"
15
+ >
16
+ <rect x="0" y="0" rx="0" ry="0" width="NaN" height="NaN" />
17
+ <circle cx="47" cy="52" r="21" />
18
+ <rect x="86" y="64" rx="0" ry="0" width="95" height="11" />
19
+ <rect x="86" y="29" rx="0" ry="0" width="146" height="22" />
20
+ <rect x="1240" y="57" rx="0" ry="0" width="64" height="12" />
21
+ <rect x="1340" y="57" rx="0" ry="0" width="64" height="12" />
22
+ <rect x="1440" y="56" rx="0" ry="0" width="64" height="12" />
23
+ </content-loader>
24
+ </template>
@@ -31,19 +31,14 @@ const Buttons = defineAsyncComponent(() => import("./../button/Buttons.vue"));
31
31
  const AcButton = defineAsyncComponent(() => import("./../button/Button.vue"));
32
32
 
33
33
  //TODO: need to update not a currect way to import the file
34
- const modalCloseIcon = import.meta.glob(
35
- "/src/assets/icons/modal/close-icon.svg",
36
- { eager: true }
37
- );
34
+ const modalCloseIcon = import.meta.glob("../../../icons/close-icon.svg", {
35
+ eager: true,
36
+ });
38
37
 
39
38
  const showModal = ref(false);
40
39
  const crossIcon = ref(
41
- (
42
- modalCloseIcon["/src/assets/icons/modal/close-icon.svg"] as Record<
43
- string,
44
- unknown
45
- >
46
- ).default as string
40
+ (modalCloseIcon["../../../icons/close-icon.svg"] as Record<string, unknown>)
41
+ ?.default as string
47
42
  );
48
43
 
49
44
  const onKeyDown = (e: KeyboardEvent) => {
@@ -97,7 +92,7 @@ watch(
97
92
  <div class="ac-modal-inner">
98
93
  <!-- modal header start -->
99
94
  <div class="ac-modal-header">
100
- <h6>{{ title }}</h6>
95
+ <h5>{{ title }}</h5>
101
96
  <header-items>
102
97
  <slot name="modal-header-controls" />
103
98
  <header-item>
@@ -80,7 +80,7 @@
80
80
  border: none;
81
81
  padding: 0;
82
82
  font-size: 11px;
83
- color: #eb5757;
83
+ color: $danger;
84
84
  background-color: transparent;
85
85
  }
86
86
  }
@@ -1,8 +1,8 @@
1
1
  <script setup lang="ts">
2
2
  import { defineAsyncComponent, ref, watch, computed, nextTick } from "vue";
3
- import type { User, Organization } from "../../types/user";
3
+ import type { User } from "../../types/user";
4
4
 
5
- interface FormatedOrgs extends Organization {
5
+ interface FormatedOrgs extends User {
6
6
  isPersonalAccount?: boolean;
7
7
  }
8
8
 
@@ -93,13 +93,13 @@ watch(dropDownStatus, (n) => {
93
93
  <navbar-item :modifierClasses="'ac-profile-button'">
94
94
  <template #navbar-item>
95
95
  <div class="ac-user-profile mr-8">
96
- <img :src="(user.avatar_url as string)" alt="User Photo" />
96
+ <img :src="user.avatar_url" alt="User Photo" />
97
97
  </div>
98
98
  {{ user.full_name || user.username }}
99
99
  <i class="fa fa-angle-down" aria-hidden="true"></i>
100
100
  </template>
101
101
  <!-- <button class="button ac-nav-button ac-profile-button">
102
-
102
+
103
103
  </button> -->
104
104
 
105
105
  <template #navbar-content>