@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
@@ -0,0 +1,338 @@
1
+ // .tabs {
2
+ // &.ac-tabs {
3
+ // ul {
4
+ // border-bottom-color: $primary-90;
5
+ // }
6
+
7
+ // &.is-line {
8
+ // ul {
9
+ // border-bottom-color: $primary-90;
10
+ // padding-left: 4px;
11
+
12
+ // li {
13
+ // &.is-active {
14
+ // a {
15
+ // font-weight: 500;
16
+ // border-bottom-color: $primary;
17
+ // border-bottom: 2px solid $primary !important;
18
+ // border-width: 2px;
19
+ // }
20
+ // }
21
+
22
+ // a {
23
+ // // text-transform: uppercase;
24
+ // font-weight: 400;
25
+ // color: $primary-5;
26
+ // font-size: 13px;
27
+ // border-bottom: none;
28
+ // padding: 6px 16px;
29
+
30
+ // &:hover {
31
+ // border-bottom-color: $primary;
32
+ // }
33
+ // }
34
+ // }
35
+ // }
36
+ // }
37
+
38
+ // &.is-boxed {
39
+ // font-size: 14px;
40
+
41
+ // a {
42
+ // padding: 8px 20px;
43
+ // color: $primary-20;
44
+
45
+ // &:hover {
46
+ // border-bottom-color: transparent;
47
+ // background-color: transparent;
48
+ // }
49
+ // }
50
+
51
+ // ul {
52
+ // padding-left: 10px;
53
+
54
+ // li {
55
+ // &.is-active {
56
+ // position: relative;
57
+ // border-color: $primary-90;
58
+ // z-index: 1;
59
+ // color: $primary;
60
+
61
+ // &:after {
62
+ // position: absolute;
63
+ // content: "";
64
+ // left: 0;
65
+ // top: 0;
66
+ // width: 100%;
67
+ // height: 4px;
68
+ // border-radius: 4px 4px 0 0;
69
+ // background-color: $primary;
70
+ // }
71
+
72
+ // a {
73
+ // border-color: $primary-90;
74
+ // background-color: $white-100;
75
+ // padding: 8px 20px;
76
+ // font-weight: 500;
77
+ // margin-bottom: -2px;
78
+ // font-size: 13px;
79
+ // }
80
+ // }
81
+ // }
82
+ // }
83
+
84
+ // &.is-gap {
85
+ // ul {
86
+ // li {
87
+ // margin-right: 6px;
88
+
89
+ // &.is-active {
90
+ // box-shadow: 0px 4px 6px rgba(133, 145, 163, 0.54);
91
+ // }
92
+
93
+ // a {
94
+ // border: 1px solid $primary-90;
95
+ // border-bottom: none;
96
+ // margin-bottom: -2px;
97
+ // font-size: 13px;
98
+ // color: $primary-20;
99
+ // }
100
+ // }
101
+ // }
102
+
103
+ // &.is-borderless {
104
+ // ul {
105
+ // border-bottom-color: transparent;
106
+
107
+ // li {
108
+ // &.is-active {
109
+ // a {
110
+ // background-color: $primary-90;
111
+ // }
112
+ // }
113
+
114
+ // a {
115
+ // border: 1px solid transparent;
116
+ // }
117
+ // }
118
+ // }
119
+ // }
120
+ // }
121
+ // }
122
+
123
+ // &.is-toggle {
124
+ // ul {
125
+ // border: 1px solid $primary-10;
126
+ // border-radius: 4px;
127
+ // padding: 4px;
128
+ // flex-grow: inherit;
129
+
130
+ // li {
131
+ // &.is-active {
132
+ // a {
133
+ // color: $white-100;
134
+ // background-color: $primary;
135
+
136
+ // &:hover {
137
+ // background-color: $primary;
138
+ // }
139
+ // }
140
+ // }
141
+
142
+ // a {
143
+ // font-size: 16px;
144
+ // font-weight: 500;
145
+ // border: none;
146
+ // padding: 8px 25px;
147
+ // line-height: 1;
148
+ // border-radius: 4px;
149
+
150
+ // &:hover {
151
+ // background-color: inherit;
152
+ // }
153
+ // }
154
+ // }
155
+ // }
156
+ // }
157
+
158
+ // &.kubedb-ui-tabs {
159
+ // ul {
160
+ // border-bottom: none;
161
+
162
+ // li {
163
+ // &.is-active {
164
+ // a {
165
+ // border-bottom: 3px solid $primary !important;
166
+ // }
167
+ // }
168
+ // }
169
+ // }
170
+ // }
171
+ // }
172
+ // }
173
+
174
+ // .ac-tabs-body {
175
+ // &.is-content-available {
176
+ // .ac-tabs {
177
+ // margin-bottom: 0;
178
+
179
+ // ul {
180
+ // li {
181
+ // &.is-active {
182
+ // a {
183
+ // border-color: $primary-90;
184
+ // background-color: $white-100;
185
+ // color: $primary;
186
+ // }
187
+ // }
188
+ // }
189
+ // }
190
+ // }
191
+
192
+ // .ac-tab-content {
193
+ // background-color: $white-100;
194
+ // border: 1px solid $primary-90;
195
+ // border-top: none;
196
+ // border-radius: 0 0 4px 4px;
197
+
198
+ // &.is-borderless {
199
+ // border: 1px solid transparent;
200
+ // background-color: $primary-90;
201
+ // border-radius: 4px 4px 4px 4px;
202
+ // }
203
+ // }
204
+ // }
205
+ // }
206
+
207
+ // .ac-tabs-body {
208
+ // &.is-content-available {
209
+ // &.has-bg-color {
210
+ // .ac-tabs {
211
+ // ul {
212
+ // border-bottom-width: 0px;
213
+
214
+ // li {
215
+ // &.is-active {
216
+ // a {
217
+ // background-color: $primary-90;
218
+ // color: $primary;
219
+ // }
220
+ // }
221
+ // }
222
+ // }
223
+ // }
224
+ // }
225
+ // }
226
+ // }
227
+
228
+ // .tabs li.is-active a {
229
+ // color: $primary;
230
+ // }
231
+
232
+ // .no-data-available {
233
+ // img {
234
+ // width: 250px;
235
+ // }
236
+ // }
237
+
238
+ // .ac-system-body.bb-user-management {
239
+ // .tabs.ac-tabs.is-line {
240
+ // margin-left: -20px;
241
+ // position: sticky;
242
+ // top: 50px;
243
+ // z-index: 99;
244
+ // background: $white-100;
245
+ // }
246
+ // }
247
+
248
+ // // dark theme
249
+ // // .is-dark-theme {
250
+ // // .tabs {
251
+ // // &.is-toggle {
252
+ // // a {
253
+ // // &:hover {
254
+ // // background-color: $dark-bg;
255
+ // // }
256
+ // // }
257
+ // // }
258
+
259
+ // // a {
260
+ // // border-bottom: 1px solid $primary-90;
261
+ // // color: $white-100;
262
+ // // }
263
+
264
+ // // &.ac-tabs.is-line {
265
+ // // ul {
266
+ // // li.is-active {
267
+ // // a {
268
+ // // color: $primary-10;
269
+ // // }
270
+ // // }
271
+ // // }
272
+ // // }
273
+ // // }
274
+ // // }
275
+
276
+ // /****************************************
277
+ // Responsive Classes
278
+ // *****************************************/
279
+ // // Extra small devices (portrait phones, less than 576px)
280
+ // @media (max-width: 575.98px) {
281
+ // }
282
+
283
+ // // Small devices (landscape phones, 576px and up)
284
+ // @media (min-width: 576px) and (max-width: 767.98px) {
285
+ // }
286
+
287
+ // // Medium devices (tablets, 768px and up)
288
+ // @media (min-width: 768px) and (max-width: 991.98px) {
289
+ // }
290
+
291
+ // // Large devices (desktops, 992px and up)
292
+ // @media (min-width: 992px) and (max-width: 1199.98px) {
293
+ // }
294
+
295
+ // // Extra large devices (large desktops, 1200px and up)
296
+ // @media (min-width: 1200px) {
297
+ // .card-body-wrapper {
298
+ // .tabs.ac-tabs {
299
+ // &.is-boxed {
300
+ // ul {
301
+ // li {
302
+ // &.is-active {
303
+ // a {
304
+ // border-color: $primary-90;
305
+ // background-color: $white-100;
306
+ // }
307
+ // }
308
+ // }
309
+ // }
310
+ // }
311
+ // }
312
+ // }
313
+ // }
314
+
315
+ .tabs {
316
+ &.ac-tabs {
317
+ ul {
318
+ border-color: $primary-90;
319
+ }
320
+ a {
321
+ padding: 8px 20px;
322
+ color: $primary-10;
323
+ font-weight: 500;
324
+ color: $black-40;
325
+ &:hover {
326
+ border-bottom-color: $black-40;
327
+ }
328
+ }
329
+ li {
330
+ &.is-active {
331
+ a {
332
+ border-bottom-color: $primary;
333
+ color: $primary;
334
+ }
335
+ }
336
+ }
337
+ }
338
+ }
@@ -403,24 +403,24 @@
403
403
  }
404
404
  }
405
405
  // buttons
406
- .button {
407
- &.ac-button {
408
- &.is-medium {
409
- font-size: 1rem;
410
- height: 36px;
411
- }
412
- &.is-tinny {
413
- height: 24px;
414
- padding: 0 8px;
415
- }
416
- }
417
- }
406
+ // .button {
407
+ // &.ac-button {
408
+ // &.is-medium {
409
+ // font-size: 1rem;
410
+ // height: 36px;
411
+ // }
412
+ // &.is-tinny {
413
+ // height: 24px;
414
+ // padding: 0 8px;
415
+ // }
416
+ // }
417
+ // }
418
418
 
419
- .button[disabled] {
420
- &.is-ghost {
421
- border-color: transparent !important;
422
- }
423
- }
419
+ // .button[disabled] {
420
+ // &.is-ghost {
421
+ // border-color: transparent !important;
422
+ // }
423
+ // }
424
424
 
425
425
  p.is-error,
426
426
  span.is-error {
@@ -619,41 +619,41 @@
619
619
  }
620
620
 
621
621
  // button scss
622
- .button {
623
- &.ac-button {
624
- padding: 8px 16px;
625
- font-weight: 500;
626
- line-height: 1;
627
-
628
- &.is-light {
629
- &.is-loading {
630
- &::after {
631
- border-color: transparent transparent #1c1c1c #1c1c1c !important;
632
- }
633
- }
634
- }
635
- &.is-ghost {
636
- border-color: transparent !important;
637
- }
638
- &.is-square {
639
- border: 1px solid $primary-95;
640
- }
641
- &.is-small {
642
- padding: 4px 9px;
643
- }
644
- &.is-medium {
645
- font-size: 1rem;
646
- height: 36px;
647
- }
648
- }
649
- &:focus {
650
- outline: none;
651
- box-shadow: none;
652
- }
653
- }
654
- button.is-primary {
655
- background-color: $primary;
656
- }
622
+ // .button {
623
+ // &.ac-button {
624
+ // padding: 8px 16px;
625
+ // font-weight: 500;
626
+ // line-height: 1;
627
+
628
+ // &.is-light {
629
+ // &.is-loading {
630
+ // &::after {
631
+ // border-color: transparent transparent #1c1c1c #1c1c1c !important;
632
+ // }
633
+ // }
634
+ // }
635
+ // &.is-ghost {
636
+ // border-color: transparent !important;
637
+ // }
638
+ // &.is-square {
639
+ // border: 1px solid $primary-95;
640
+ // }
641
+ // &.is-small {
642
+ // padding: 4px 9px;
643
+ // }
644
+ // &.is-medium {
645
+ // font-size: 1rem;
646
+ // height: 36px;
647
+ // }
648
+ // }
649
+ // &:focus {
650
+ // outline: none;
651
+ // box-shadow: none;
652
+ // }
653
+ // }
654
+ // button.is-primary {
655
+ // background-color: $primary;
656
+ // }
657
657
 
658
658
  .is-refresh {
659
659
  i.fa {
@@ -31,121 +31,5 @@ withDefaults(defineProps<Props>(), {
31
31
  </div>
32
32
  </template>
33
33
  <style lang="scss" scoped>
34
- .ac-accordion-wrapper {
35
- &.is-marginless {
36
- .single-accordion-item {
37
- margin: 0;
38
- padding: 0;
39
-
40
- .accordion-heading {
41
- padding: 10px 20px;
42
- position: relative;
43
- z-index: 1;
44
-
45
- &::after {
46
- position: absolute;
47
- content: "";
48
- left: 0;
49
- top: 0;
50
- width: 4px;
51
- height: 100%;
52
- background-color: $primary;
53
- }
54
- }
55
- }
56
- }
57
-
58
- .single-accordion-item {
59
- background-color: $white-100;
60
- padding: 15px 20px;
61
- margin-bottom: 15px;
62
- border-radius: 4px;
63
- border: 1px solid $primary-90;
64
-
65
- &.open {
66
- .accordion-heading {
67
- margin-bottom: 10px;
68
- }
69
- }
70
-
71
- &:last-child {
72
- margin-bottom: 0;
73
- }
74
-
75
- .accordion-heading {
76
- display: flex;
77
- align-items: center;
78
- justify-content: space-between;
79
-
80
- h3 {
81
- cursor: pointer;
82
- }
83
-
84
- button {
85
- font-size: 12px;
86
- letter-spacing: 0.1px;
87
- }
88
-
89
- .icon {
90
- width: 20px;
91
- height: 20px;
92
- border: 1px solid $primary-90;
93
- line-height: 20px;
94
- display: flex;
95
- justify-content: center;
96
- align-items: center;
97
- font-size: 10px;
98
- border-radius: 50%;
99
- cursor: pointer;
100
- }
101
- }
102
-
103
- .accordion-body {
104
- max-height: 0;
105
- transition: max-height 0.2s ease-out;
106
- overflow: hidden;
107
-
108
- p {
109
- font-size: 13px;
110
- color: $primary-20;
111
- line-height: 1.6;
112
- }
113
- }
114
- }
115
- }
116
-
117
- .overview-body {
118
- .ac-accordion-wrapper {
119
- &.is-marginless {
120
- .single-accordion-item {
121
- .accordion-heading {
122
- padding-bottom: 0;
123
- }
124
- }
125
- }
126
- }
127
- }
128
-
129
- /****************************************
130
- Responsive Classes
131
- *****************************************/
132
- // Extra small devices (portrait phones, less than 576px)
133
- @media (max-width: 575.98px) {
134
- }
135
-
136
- // Small devices (landscape phones, 576px and up)
137
- @media (min-width: 576px) and (max-width: 767.98px) {
138
- }
139
-
140
- // Medium devices (tablets, 768px and up)
141
- @media (min-width: 768px) and (max-width: 991.98px) {
142
- }
143
-
144
- // Large devices (desktops, 992px and up)
145
- @media (min-width: 992px) and (max-width: 1199.98px) {
146
- }
147
-
148
- // Extra large devices (large desktops, 1200px and up)
149
- @media (min-width: 1200px) {
150
- }
34
+ @import "../../../vue-components/styles/components/accordion";
151
35
  </style>
@@ -45,6 +45,7 @@ const showUnpluginIcon = computed(() => {
45
45
  :disabled="disabled ? true : undefined"
46
46
  @click="handleClick"
47
47
  :title="tooltip"
48
+ data-testid="ac-create-button"
48
49
  >
49
50
  <span
50
51
  v-if="iconClass || iconImage"
@@ -69,63 +70,5 @@ const showUnpluginIcon = computed(() => {
69
70
  </template>
70
71
 
71
72
  <style lang="scss" scoped>
72
- .button {
73
- &.ac-button {
74
- padding: 8px 16px;
75
- font-weight: 500;
76
- line-height: 1;
77
-
78
- &.is-primary {
79
- &.is-light {
80
- color: $primary;
81
- &:focus:not(:hover) {
82
- color: inherit;
83
- }
84
- }
85
- }
86
- &.is-warning {
87
- &.is-light {
88
- color: $yellow-30;
89
- &:focus:not(:hover) {
90
- color: inherit;
91
- }
92
- }
93
- }
94
-
95
- &.is-success {
96
- &.is-light {
97
- color: $green-30;
98
- &:focus:not(:hover) {
99
- color: inherit;
100
- }
101
- }
102
- }
103
- &.is-light {
104
- &.is-loading {
105
- &::after {
106
- border-color: transparent transparent #1c1c1c #1c1c1c !important;
107
- }
108
- }
109
- &.is-outlined {
110
- &:hover {
111
- border-color: inherit;
112
- }
113
- }
114
- }
115
-
116
- &.is-small {
117
- padding: 4px 12px;
118
- &:not(.is-rounded) {
119
- border-radius: 4px;
120
- }
121
- }
122
- &.is-medium {
123
- font-size: 1rem;
124
- height: 36px;
125
- }
126
- }
127
- }
128
- button.is-primary {
129
- background-color: $primary;
130
- }
73
+ @import "../../../vue-components/styles/components/button";
131
74
  </style>
@@ -36,7 +36,7 @@ withDefaults(defineProps<Props>(), {
36
36
  <!-- header left end -->
37
37
 
38
38
  <!-- header right start -->
39
- <div class="ac-cheader-right">
39
+ <div class="ac-cheader-right" data-testid="ac-right-header-content">
40
40
  <!-- your feedom content start here -->
41
41
  <header-items>
42
42
  <slot />
@@ -1,7 +1,7 @@
1
1
  <script setup lang="ts"></script>
2
2
 
3
3
  <template>
4
- <div class="ac-content-layout">
4
+ <div class="ac-content-layout" data-testid="ac-content-layout">
5
5
  <slot name="content-header" />
6
6
 
7
7
  <div class="ac-content">
@@ -60,36 +60,5 @@ onClickOutside(actionDropdown, () => emit("update:modelValue", false));
60
60
  <!-- dropdown end -->
61
61
  </template>
62
62
  <style lang="scss">
63
- .dropdown-group {
64
- margin-bottom: 8px;
65
- }
66
- .dropdown-action {
67
- .dropdown-content {
68
- min-width: 220px;
69
- max-width: 500px;
70
- max-height: calc(100vh - 200px);
71
- overflow-y: auto;
72
- border: 1px solid $primary-90;
73
-
74
- label {
75
- padding: 8px 16px;
76
- display: flex;
77
- border-bottom: 1px solid $primary-95;
78
- color: $primary-20;
79
- font-weight: 500;
80
- }
81
- .dropdown-item {
82
- display: flex;
83
- align-items: center;
84
- gap: 8px;
85
- font-size: 13px;
86
- padding: 8px 16px;
87
- color: $primary-20;
88
- &:hover {
89
- background-color: $primary-97;
90
- color: $primary;
91
- }
92
- }
93
- }
94
- }
63
+ @import "../../../vue-components/styles/components/dropdown";
95
64
  </style>