@appscode/design-system 2.0.5 → 2.0.6-alpha.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 (103) hide show
  1. package/main.scss +4 -4
  2. package/package.json +1 -1
  3. package/{base → vue-components/styles/base}/utilities/_grid.scss +1 -1
  4. package/vue-components/styles/components/_accordion.scss +117 -0
  5. package/vue-components/styles/components/_all.scss +16 -0
  6. package/vue-components/styles/components/_button.scss +59 -0
  7. package/vue-components/styles/components/_dropdown.scss +32 -0
  8. package/{components → vue-components/styles/components}/_input.scss +44 -23
  9. package/vue-components/styles/components/_left-sidebar.scss +201 -0
  10. package/vue-components/styles/components/_menu-content.scss +470 -0
  11. package/vue-components/styles/components/_modal.scss +216 -0
  12. package/vue-components/styles/components/_navbar.scss +70 -0
  13. package/vue-components/styles/components/_options.scss +134 -0
  14. package/vue-components/styles/components/_table.scss +430 -0
  15. package/vue-components/styles/components/_tabs.scss +338 -0
  16. package/{components → vue-components/styles/components}/ui-builder/_ui-builder.scss +17 -17
  17. package/{components → vue-components/styles/components}/ui-builder/_vue-open-api.scss +35 -35
  18. package/vue-components/v3/accordion/Accordion.vue +1 -117
  19. package/vue-components/v3/button/Button.vue +2 -59
  20. package/vue-components/v3/content/ContentHeader.vue +1 -1
  21. package/vue-components/v3/content/ContentLayout.vue +1 -1
  22. package/vue-components/v3/dropdown/DropdownAction.vue +1 -32
  23. package/vue-components/v3/form-fields/AcSingleInput.vue +3 -1
  24. package/vue-components/v3/modal/Modal.vue +1 -216
  25. package/vue-components/v3/navbar/Appdrawer.vue +1 -121
  26. package/vue-components/v3/navbar/Navbar.vue +1 -93
  27. package/vue-components/v3/navbar/NavbarItemContent.vue +0 -275
  28. package/vue-components/v3/navbar/User.vue +5 -170
  29. package/vue-components/v3/option-dots/Options.vue +1 -144
  30. package/vue-components/v3/sidebar/Sidebar.vue +1 -201
  31. package/vue-components/v3/sidebar/SidebarItem.vue +1 -1
  32. package/vue-components/v3/tab/Tabs.vue +1 -24
  33. package/vue-components/v3/table/Table.vue +1 -453
  34. package/components/_ac-modal.scss +0 -212
  35. package/components/_ac-options.scss +0 -122
  36. package/components/_ac-table.scss +0 -503
  37. package/components/_ac-tabs.scss +0 -313
  38. package/components/_accordion.scss +0 -117
  39. package/components/_all.scss +0 -35
  40. package/components/_left-sidebar-menu.scss +0 -482
  41. package/components/_navbar.scss +0 -786
  42. /package/{base → vue-components/styles/base}/_video-player.scss +0 -0
  43. /package/{base → vue-components/styles/base}/utilities/_all.scss +0 -0
  44. /package/{base → vue-components/styles/base}/utilities/_colors.scss +0 -0
  45. /package/{base → vue-components/styles/base}/utilities/_customize-bulma.scss +0 -0
  46. /package/{base → vue-components/styles/base}/utilities/_extended.scss +0 -0
  47. /package/{base → vue-components/styles/base}/utilities/_global.scss +0 -0
  48. /package/{base → vue-components/styles/base}/utilities/_layouts.scss +0 -0
  49. /package/{base → vue-components/styles/base}/utilities/_mixin.scss +0 -0
  50. /package/{base → vue-components/styles/base}/utilities/_spacing.scss +0 -0
  51. /package/{base → vue-components/styles/base}/utilities/_typography.scss +0 -0
  52. /package/{components → vue-components/styles/components}/_ac-alert-box.scss +0 -0
  53. /package/{components → vue-components/styles/components}/_ac-calendar.scss +0 -0
  54. /package/{components → vue-components/styles/components}/_ac-code-highlight.scss +0 -0
  55. /package/{components → vue-components/styles/components}/_ac-content-layout.scss +0 -0
  56. /package/{components → vue-components/styles/components}/_ac-drag.scss +0 -0
  57. /package/{components → vue-components/styles/components}/_ac-select-box.scss +0 -0
  58. /package/{components → vue-components/styles/components}/_ac-tags.scss +0 -0
  59. /package/{components → vue-components/styles/components}/_add-card.scss +0 -0
  60. /package/{components → vue-components/styles/components}/_app-drawer.scss +0 -0
  61. /package/{components → vue-components/styles/components}/_breadcumb.scss +0 -0
  62. /package/{components → vue-components/styles/components}/_buttons.scss +0 -0
  63. /package/{components → vue-components/styles/components}/_card-body-wrapper.scss +0 -0
  64. /package/{components → vue-components/styles/components}/_dashboard-header.scss +0 -0
  65. /package/{components → vue-components/styles/components}/_direct-deploy.scss +0 -0
  66. /package/{components → vue-components/styles/components}/_getkeeper.scss +0 -0
  67. /package/{components → vue-components/styles/components}/_go-to-top.scss +0 -0
  68. /package/{components → vue-components/styles/components}/_graph.scss +0 -0
  69. /package/{components → vue-components/styles/components}/_image-upload.scss +0 -0
  70. /package/{components → vue-components/styles/components}/_input-card.scss +0 -0
  71. /package/{components → vue-components/styles/components}/_monaco-editor.scss +0 -0
  72. /package/{components → vue-components/styles/components}/_multi-select.scss +0 -0
  73. /package/{components → vue-components/styles/components}/_nested-list.scss +0 -0
  74. /package/{components → vue-components/styles/components}/_overview-info.scss +0 -0
  75. /package/{components → vue-components/styles/components}/_overview-page.scss +0 -0
  76. /package/{components → vue-components/styles/components}/_pagination.scss +0 -0
  77. /package/{components → vue-components/styles/components}/_payment-card.scss +0 -0
  78. /package/{components → vue-components/styles/components}/_preloader.scss +0 -0
  79. /package/{components → vue-components/styles/components}/_preview-modal.scss +0 -0
  80. /package/{components → vue-components/styles/components}/_pricing-table.scss +0 -0
  81. /package/{components → vue-components/styles/components}/_progress-bar.scss +0 -0
  82. /package/{components → vue-components/styles/components}/_report.scss +0 -0
  83. /package/{components → vue-components/styles/components}/_subscription-card.scss +0 -0
  84. /package/{components → vue-components/styles/components}/_table-of-content.scss +0 -0
  85. /package/{components → vue-components/styles/components}/_terminal.scss +0 -0
  86. /package/{components → vue-components/styles/components}/_tfa.scss +0 -0
  87. /package/{components → vue-components/styles/components}/_transitions.scss +0 -0
  88. /package/{components → vue-components/styles/components}/_widget-menu.scss +0 -0
  89. /package/{components → vue-components/styles/components}/_wizard.scss +0 -0
  90. /package/{components → vue-components/styles/components}/ac-toaster/_ac-toasted.scss +0 -0
  91. /package/{components → vue-components/styles/components}/bbum/_activities-header.scss +0 -0
  92. /package/{components → vue-components/styles/components}/bbum/_all.scss +0 -0
  93. /package/{components → vue-components/styles/components}/bbum/_card-team.scss +0 -0
  94. /package/{components → vue-components/styles/components}/bbum/_information-center.scss +0 -0
  95. /package/{components → vue-components/styles/components}/bbum/_left-sidebar.scss +0 -0
  96. /package/{components → vue-components/styles/components}/bbum/_mobile-desktop.scss +0 -0
  97. /package/{components → vue-components/styles/components}/bbum/_post.scss +0 -0
  98. /package/{components → vue-components/styles/components}/bbum/_sign-up-notification.scss +0 -0
  99. /package/{components → vue-components/styles/components}/bbum/_single-post-preview.scss +0 -0
  100. /package/{components → vue-components/styles/components}/bbum/_user-profile.scss +0 -0
  101. /package/{layouts → vue-components/styles/layouts}/_404.scss +0 -0
  102. /package/{layouts → vue-components/styles/layouts}/_all.scss +0 -0
  103. /package/{layouts → vue-components/styles/layouts}/_code-preview.scss +0 -0
@@ -147,7 +147,11 @@ watch(dropDownStatus, (n) => {
147
147
  </div>
148
148
  </div>
149
149
  </a>
150
- <transition-group name="list" tag="ul" class="list-items py-2">
150
+ <transition-group
151
+ name="list"
152
+ tag="ul"
153
+ class="list-items ac-scrollbar py-2"
154
+ >
151
155
  <li key="settings" v-if="serverDomain !== pathName">
152
156
  <a
153
157
  v-if="user.isPersonalAccount"
@@ -280,172 +284,3 @@ watch(dropDownStatus, (n) => {
280
284
  </template>
281
285
  </navbar-item>
282
286
  </template>
283
-
284
- <style lang="scss" scoped>
285
- .ac-vscrollbar {
286
- overflow: auto !important;
287
- }
288
- .line-break-anywhere {
289
- line-break: anywhere;
290
- }
291
- .navbar-dropdown-wrapper {
292
- width: 240px;
293
- }
294
-
295
- .user-profile-wrapper {
296
- background-color: $white-100;
297
- border-radius: 4px;
298
- border: 1px solid $primary-90;
299
-
300
- .profile-area {
301
- display: flex;
302
- align-items: center;
303
- border-bottom: 1px solid $primary-90;
304
- padding: 16px 16px;
305
-
306
- .profile-photo {
307
- // width: 50px;
308
- // height: 50px;
309
- border-radius: 50%;
310
- position: relative;
311
- z-index: 1;
312
- margin-right: 10px;
313
-
314
- img {
315
- border-radius: 50%;
316
- width: 100%;
317
- border: 2px solid #d2e7f9;
318
- }
319
-
320
- .camera-icon {
321
- position: absolute;
322
- right: -10px;
323
- top: 0;
324
- background-color: transparent;
325
- border: none;
326
- cursor: pointer;
327
- }
328
- }
329
-
330
- .profile-info {
331
- p {
332
- color: $primary-10;
333
- font-size: 13px;
334
- font-weight: 500;
335
- line-height: 1.3;
336
- }
337
-
338
- a {
339
- font-size: 1rem;
340
- color: $primary-20;
341
- line-height: 1.3;
342
- }
343
- }
344
- }
345
- .list-items {
346
- max-height: calc(100vh - 100px);
347
- overflow-y: auto;
348
- }
349
- }
350
-
351
- .ac-menu-item {
352
- &.ac-profile-button {
353
- margin-right: 15px;
354
- button.button.ac-nav-button {
355
- .ac-user-profile {
356
- width: 32px;
357
- height: 32px;
358
- border-radius: 50%;
359
- overflow: hidden;
360
- border: 2px solid $primary-90;
361
- }
362
- i.fa {
363
- padding-left: 8px;
364
- }
365
- }
366
- }
367
- }
368
-
369
- .list-items {
370
- li {
371
- &.is-close {
372
- ul {
373
- max-height: 0;
374
- visibility: hidden;
375
- transition: max-height 0.25s ease-out;
376
- &.ac-vscrollbar {
377
- padding: 0;
378
- }
379
- }
380
- }
381
-
382
- &.is-open {
383
- ul {
384
- padding: 8px;
385
- max-height: 200px;
386
- visibility: visible;
387
- transition: max-height 0.25s ease-out;
388
- li {
389
- padding: 0;
390
- border: 1px solid $primary-95;
391
- }
392
- }
393
- }
394
- a {
395
- padding: 8px 16px;
396
- font-weight: 500;
397
- display: block;
398
- color: $primary-10;
399
- transition: 0.3s;
400
- display: flex;
401
- align-items: center;
402
- gap: 8px;
403
-
404
- &:hover {
405
- background-color: $primary-97;
406
- color: $primary;
407
- }
408
- }
409
- }
410
- }
411
- .ac-menu-item {
412
- .is-fullwidth {
413
- width: 100%;
414
- }
415
- }
416
- .ac-nav-button {
417
- background-color: transparent;
418
- border: none;
419
- color: $primary-80;
420
- padding: 0 14px;
421
- margin-left: 15px;
422
-
423
- // &.ac-profile-button {
424
- // color: $primary-10;
425
- // font-weight: 500;
426
- // }
427
-
428
- &:last-child {
429
- margin-left: 0;
430
- }
431
-
432
- span {
433
- position: absolute;
434
- top: 5px;
435
- right: 5px;
436
- width: 15px;
437
- height: 15px;
438
- background-color: $white-100;
439
- font-size: 12px;
440
- line-height: 15px;
441
- border-radius: 50%;
442
- color: $primary;
443
- z-index: 9;
444
- }
445
-
446
- &:focus {
447
- outline: none;
448
- box-shadow: none !important;
449
- }
450
- }
451
- </style>
@@ -50,148 +50,5 @@ const documentClick = (e: Event) => {
50
50
  </template>
51
51
 
52
52
  <style lang="scss">
53
- .ac-options {
54
- border-radius: 50%;
55
- width: 32px;
56
- height: 32px;
57
- text-align: center;
58
- margin: 0;
59
- display: flex;
60
- align-items: center;
61
- justify-content: center;
62
- border: none;
63
- background-color: transparent;
64
- cursor: pointer;
65
- &:hover {
66
- background-color: $primary-90;
67
- }
68
-
69
- &:focus-within {
70
- .options-items {
71
- opacity: 1;
72
- visibility: visible;
73
- }
74
- }
75
-
76
- &.is-horaizental {
77
- .option-dots {
78
- flex-direction: row;
79
-
80
- span {
81
- margin-bottom: 0;
82
- margin-right: 2px;
83
- }
84
- }
85
- }
86
-
87
- &.is-centered {
88
- .option-dots {
89
- align-items: center;
90
- }
91
-
92
- .options-items {
93
- left: 50%;
94
- }
95
- }
96
-
97
- &.is-right {
98
- .option-dots {
99
- align-items: flex-end;
100
- }
101
-
102
- .options-items {
103
- right: 0px;
104
- }
105
- }
106
-
107
- .option-dots {
108
- display: flex;
109
- flex-direction: column;
110
- cursor: pointer;
111
- align-items: flex-start;
112
- border: none;
113
- background-color: transparent;
114
- transition: 0.3 ease-in-out;
115
-
116
- &:hover {
117
- color: $primary;
118
- }
119
-
120
- span {
121
- width: 4px;
122
- height: 4px;
123
- background-color: $primary-20;
124
- border-radius: 50%;
125
- margin-bottom: 1px;
126
- }
127
- }
128
-
129
- .options-items {
130
- border-radius: 4px;
131
- position: absolute;
132
- z-index: 99;
133
- background-color: $white-100;
134
- min-width: 160px;
135
- top: 30px;
136
- padding: 5px 0;
137
- border: 1px solid $primary-90;
138
- list-style: none;
139
- opacity: 0;
140
- visibility: hidden;
141
- transition: 0.3s ease-in-out;
142
- text-align: left;
143
-
144
- li {
145
- .list-button {
146
- width: 100%;
147
- background-color: transparent;
148
- border: none;
149
- cursor: pointer;
150
- font-weight: 400;
151
- text-align: left;
152
- color: $primary-20;
153
- font-size: 13px;
154
- padding: 10px 30px;
155
- display: block;
156
-
157
- &:hover {
158
- background-color: $primary-90;
159
- color: $primary;
160
- }
161
-
162
- span {
163
- background-color: transparent;
164
-
165
- &.icon {
166
- margin-right: 5px;
167
- }
168
- }
169
- }
170
-
171
- a {
172
- font-size: 13px;
173
- padding: 7px 15px;
174
- display: block;
175
- text-decoration: none !important;
176
- color: $primary-10 !important;
177
- border: none;
178
-
179
- &:hover {
180
- background-color: $primary-90;
181
- color: $primary !important;
182
- }
183
- }
184
- }
185
- }
186
- }
187
-
188
- // dark theme start
189
- .is-dark-theme {
190
- .ac-options {
191
- .options-items {
192
- --ac-white: var(--dark-bg-light);
193
- }
194
- }
195
- }
196
- // dark theme end
53
+ @import "../../../vue-components/styles/components/options";
197
54
  </style>
@@ -35,205 +35,5 @@ withDefaults(defineProps<Props>(), {
35
35
  </template>
36
36
 
37
37
  <style lang="scss">
38
- .ac-left-sidebar-wrapper {
39
- position: fixed;
40
- top: 0px;
41
- z-index: 9999;
42
- background-color: $primary-20;
43
- width: 250px;
44
- transition: 0.3s ease-in-out;
45
- }
46
-
47
- .ac-left-sidebar {
48
- .menu-list {
49
- &.ac-menu-list {
50
- height: calc(100vh - 80px);
51
- overflow-y: auto;
52
- padding-top: 4px;
53
- scrollbar-color: $white-100 transparent;
54
-
55
- /* width */
56
- &::-webkit-scrollbar {
57
- display: none;
58
- }
59
-
60
- &::-webkit-scrollbar {
61
- display: none;
62
- }
63
-
64
- li {
65
- &.is-open {
66
- a {
67
- &.ac-dropdown-button {
68
- .ac-arrow-down {
69
- transform: rotate(-180deg);
70
- transform-origin: 5px;
71
- }
72
- }
73
- }
74
-
75
- ul {
76
- li {
77
- a {
78
- strong {
79
- font-weight: 500;
80
- }
81
- }
82
- }
83
- }
84
- }
85
-
86
- a {
87
- font-style: normal;
88
- font-weight: 500;
89
- font-size: 13px;
90
- line-height: 16px;
91
- color: $primary-97;
92
- position: relative;
93
- z-index: 1;
94
- padding: 10px 15px 10px 24px;
95
- transition: 0.3s ease-in-out;
96
- display: flex;
97
- align-items: center;
98
-
99
- &:after {
100
- position: absolute;
101
- content: "";
102
- left: 10px;
103
- top: 0;
104
- width: calc(100% - 20px);
105
- height: 100%;
106
- background: $primary;
107
- border-radius: 4px;
108
- z-index: -1;
109
- transition: 0.3s ease-in-out;
110
- opacity: 0;
111
- visibility: hidden;
112
- }
113
-
114
- strong {
115
- max-width: calc(100% - 65px);
116
- // line-break: anywhere;
117
- white-space: break-spaces;
118
- display: flex;
119
- align-items: center;
120
- overflow: hidden;
121
- font-weight: 500;
122
- transition: 0.3s ease-in-out;
123
- }
124
-
125
- &.ac-dropdown-button {
126
- user-select: none;
127
-
128
- .ac-arrow-down {
129
- position: absolute;
130
- margin-right: 0;
131
- right: 20px;
132
- transition: transform 0.3s;
133
- transform-origin: 4px;
134
- color: $black-70;
135
- }
136
- }
137
-
138
- &:hover {
139
- background-color: transparent;
140
-
141
- &:after {
142
- color: $primary;
143
- opacity: 0.2;
144
- visibility: visible;
145
- }
146
-
147
- span {
148
- color: $primary-97;
149
-
150
- img {
151
- filter: brightness(10);
152
- }
153
- }
154
- }
155
-
156
- span {
157
- margin-right: 12px;
158
- width: 16px;
159
- height: 16px;
160
- color: $black-30;
161
- font-size: 16px;
162
-
163
- img {
164
- width: 100%;
165
- filter: brightness(10);
166
- transition: 0.3s ease-in-out;
167
- }
168
- }
169
- }
170
-
171
- ul {
172
- max-height: 0;
173
- transition: max-height 0.2s ease-out;
174
- margin: 0;
175
- padding: 0;
176
- border-left: none;
177
- overflow: hidden;
178
-
179
- li {
180
- a {
181
- padding-left: 52px;
182
- font-size: 12px;
183
- padding-top: 10px;
184
- padding-bottom: 10px;
185
- }
186
- }
187
- }
188
- }
189
- }
190
- a {
191
- &.is-active {
192
- background-color: transparent;
193
- &::after {
194
- opacity: 1 !important;
195
- visibility: visible !important;
196
- }
197
- }
198
- }
199
- }
200
- }
201
-
202
- .sidebar-collapsed:not(.is-hoverable) {
203
- .ac-left-sidebar-wrapper {
204
- width: 60px;
205
- .ac-left-sidebar {
206
- .menu-list {
207
- &.ac-menu-list {
208
- li {
209
- a {
210
- padding: 10px 15px;
211
- display: flex;
212
- align-items: center;
213
- justify-content: center;
214
-
215
- span {
216
- margin: 0;
217
- }
218
- strong {
219
- opacity: 0;
220
- visibility: hidden;
221
- }
222
- }
223
- ul {
224
- li {
225
- a {
226
- padding-left: 15px;
227
- display: flex;
228
- justify-content: center;
229
- align-items: center;
230
- }
231
- }
232
- }
233
- }
234
- }
235
- }
236
- }
237
- }
238
- }
38
+ @import "../../../vue-components/styles/components/left-sidebar";
239
39
  </style>
@@ -46,7 +46,7 @@ watch(
46
46
  </script>
47
47
 
48
48
  <template>
49
- <li ref="sidebarItem">
49
+ <li ref="sidebarItem" data-testid="cluster-sidebar-item">
50
50
  <router-link
51
51
  :id="id"
52
52
  :title="title"
@@ -9,28 +9,5 @@
9
9
  </template>
10
10
 
11
11
  <style lang="scss">
12
- .tabs {
13
- &.ac-tabs {
14
- ul {
15
- border-color: $primary-90;
16
- }
17
- a {
18
- padding: 8px 20px;
19
- color: $primary-10;
20
- font-weight: 500;
21
- color: $black-40;
22
- &:hover {
23
- border-bottom-color: $black-40;
24
- }
25
- }
26
- li {
27
- &.is-active {
28
- a {
29
- border-bottom-color: $primary;
30
- color: $primary;
31
- }
32
- }
33
- }
34
- }
35
- }
12
+ @import "../../../vue-components/styles/components/tabs";
36
13
  </style>