@appscode/design-system 2.0.6-alpha.1 → 2.0.6

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 (100) hide show
  1. package/{vue-components/styles/base → base}/utilities/_grid.scss +1 -1
  2. package/components/_ac-modal.scss +212 -0
  3. package/components/_ac-options.scss +122 -0
  4. package/components/_ac-table.scss +503 -0
  5. package/components/_ac-tabs.scss +313 -0
  6. package/components/_accordion.scss +117 -0
  7. package/components/_all.scss +35 -0
  8. package/{vue-components/styles/components → components}/_input.scss +23 -44
  9. package/components/_left-sidebar-menu.scss +482 -0
  10. package/components/_navbar.scss +786 -0
  11. package/{vue-components/styles/components → components}/ui-builder/_ui-builder.scss +17 -17
  12. package/{vue-components/styles/components → components}/ui-builder/_vue-open-api.scss +35 -35
  13. package/main.scss +4 -4
  14. package/package.json +1 -1
  15. package/vue-components/v3/accordion/Accordion.vue +117 -1
  16. package/vue-components/v3/button/Button.vue +59 -1
  17. package/vue-components/v3/dropdown/DropdownAction.vue +32 -1
  18. package/vue-components/v3/form-fields/AcSingleInput.vue +1 -3
  19. package/vue-components/v3/modal/Modal.vue +216 -1
  20. package/vue-components/v3/navbar/Appdrawer.vue +121 -1
  21. package/vue-components/v3/navbar/Navbar.vue +93 -1
  22. package/vue-components/v3/navbar/NavbarItemContent.vue +275 -0
  23. package/vue-components/v3/navbar/User.vue +170 -5
  24. package/vue-components/v3/option-dots/Options.vue +144 -1
  25. package/vue-components/v3/sidebar/Sidebar.vue +201 -1
  26. package/vue-components/v3/tab/Tabs.vue +24 -1
  27. package/vue-components/v3/table/Table.vue +453 -1
  28. package/vue-components/styles/components/_accordion.scss +0 -117
  29. package/vue-components/styles/components/_all.scss +0 -16
  30. package/vue-components/styles/components/_button.scss +0 -59
  31. package/vue-components/styles/components/_dropdown.scss +0 -32
  32. package/vue-components/styles/components/_left-sidebar.scss +0 -201
  33. package/vue-components/styles/components/_menu-content.scss +0 -470
  34. package/vue-components/styles/components/_modal.scss +0 -216
  35. package/vue-components/styles/components/_navbar.scss +0 -70
  36. package/vue-components/styles/components/_options.scss +0 -134
  37. package/vue-components/styles/components/_table.scss +0 -430
  38. package/vue-components/styles/components/_tabs.scss +0 -338
  39. /package/{vue-components/styles/base → base}/_video-player.scss +0 -0
  40. /package/{vue-components/styles/base → base}/utilities/_all.scss +0 -0
  41. /package/{vue-components/styles/base → base}/utilities/_colors.scss +0 -0
  42. /package/{vue-components/styles/base → base}/utilities/_customize-bulma.scss +0 -0
  43. /package/{vue-components/styles/base → base}/utilities/_extended.scss +0 -0
  44. /package/{vue-components/styles/base → base}/utilities/_global.scss +0 -0
  45. /package/{vue-components/styles/base → base}/utilities/_layouts.scss +0 -0
  46. /package/{vue-components/styles/base → base}/utilities/_mixin.scss +0 -0
  47. /package/{vue-components/styles/base → base}/utilities/_spacing.scss +0 -0
  48. /package/{vue-components/styles/base → base}/utilities/_typography.scss +0 -0
  49. /package/{vue-components/styles/components → components}/_ac-alert-box.scss +0 -0
  50. /package/{vue-components/styles/components → components}/_ac-calendar.scss +0 -0
  51. /package/{vue-components/styles/components → components}/_ac-code-highlight.scss +0 -0
  52. /package/{vue-components/styles/components → components}/_ac-content-layout.scss +0 -0
  53. /package/{vue-components/styles/components → components}/_ac-drag.scss +0 -0
  54. /package/{vue-components/styles/components → components}/_ac-select-box.scss +0 -0
  55. /package/{vue-components/styles/components → components}/_ac-tags.scss +0 -0
  56. /package/{vue-components/styles/components → components}/_add-card.scss +0 -0
  57. /package/{vue-components/styles/components → components}/_app-drawer.scss +0 -0
  58. /package/{vue-components/styles/components → components}/_breadcumb.scss +0 -0
  59. /package/{vue-components/styles/components → components}/_buttons.scss +0 -0
  60. /package/{vue-components/styles/components → components}/_card-body-wrapper.scss +0 -0
  61. /package/{vue-components/styles/components → components}/_dashboard-header.scss +0 -0
  62. /package/{vue-components/styles/components → components}/_direct-deploy.scss +0 -0
  63. /package/{vue-components/styles/components → components}/_getkeeper.scss +0 -0
  64. /package/{vue-components/styles/components → components}/_go-to-top.scss +0 -0
  65. /package/{vue-components/styles/components → components}/_graph.scss +0 -0
  66. /package/{vue-components/styles/components → components}/_image-upload.scss +0 -0
  67. /package/{vue-components/styles/components → components}/_input-card.scss +0 -0
  68. /package/{vue-components/styles/components → components}/_monaco-editor.scss +0 -0
  69. /package/{vue-components/styles/components → components}/_multi-select.scss +0 -0
  70. /package/{vue-components/styles/components → components}/_nested-list.scss +0 -0
  71. /package/{vue-components/styles/components → components}/_overview-info.scss +0 -0
  72. /package/{vue-components/styles/components → components}/_overview-page.scss +0 -0
  73. /package/{vue-components/styles/components → components}/_pagination.scss +0 -0
  74. /package/{vue-components/styles/components → components}/_payment-card.scss +0 -0
  75. /package/{vue-components/styles/components → components}/_preloader.scss +0 -0
  76. /package/{vue-components/styles/components → components}/_preview-modal.scss +0 -0
  77. /package/{vue-components/styles/components → components}/_pricing-table.scss +0 -0
  78. /package/{vue-components/styles/components → components}/_progress-bar.scss +0 -0
  79. /package/{vue-components/styles/components → components}/_report.scss +0 -0
  80. /package/{vue-components/styles/components → components}/_subscription-card.scss +0 -0
  81. /package/{vue-components/styles/components → components}/_table-of-content.scss +0 -0
  82. /package/{vue-components/styles/components → components}/_terminal.scss +0 -0
  83. /package/{vue-components/styles/components → components}/_tfa.scss +0 -0
  84. /package/{vue-components/styles/components → components}/_transitions.scss +0 -0
  85. /package/{vue-components/styles/components → components}/_widget-menu.scss +0 -0
  86. /package/{vue-components/styles/components → components}/_wizard.scss +0 -0
  87. /package/{vue-components/styles/components → components}/ac-toaster/_ac-toasted.scss +0 -0
  88. /package/{vue-components/styles/components → components}/bbum/_activities-header.scss +0 -0
  89. /package/{vue-components/styles/components → components}/bbum/_all.scss +0 -0
  90. /package/{vue-components/styles/components → components}/bbum/_card-team.scss +0 -0
  91. /package/{vue-components/styles/components → components}/bbum/_information-center.scss +0 -0
  92. /package/{vue-components/styles/components → components}/bbum/_left-sidebar.scss +0 -0
  93. /package/{vue-components/styles/components → components}/bbum/_mobile-desktop.scss +0 -0
  94. /package/{vue-components/styles/components → components}/bbum/_post.scss +0 -0
  95. /package/{vue-components/styles/components → components}/bbum/_sign-up-notification.scss +0 -0
  96. /package/{vue-components/styles/components → components}/bbum/_single-post-preview.scss +0 -0
  97. /package/{vue-components/styles/components → components}/bbum/_user-profile.scss +0 -0
  98. /package/{vue-components/styles/layouts → layouts}/_404.scss +0 -0
  99. /package/{vue-components/styles/layouts → layouts}/_all.scss +0 -0
  100. /package/{vue-components/styles/layouts → layouts}/_code-preview.scss +0 -0
@@ -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 {
package/main.scss CHANGED
@@ -1,6 +1,6 @@
1
1
  @charset "utf-8";
2
2
  // customize bulma css
3
- @import "@/components/vue-components/styles/base/utilities/_customize-bulma.scss";
3
+ @import "@/assets/design-system/base/utilities/_customize-bulma.scss";
4
4
 
5
5
  // Third party CSS
6
6
  @import "../node_modules/bulma/bulma.sass";
@@ -11,13 +11,13 @@
11
11
  @import "vue-multiselect/dist/vue-multiselect.css";
12
12
 
13
13
  // BASE
14
- @import "@/components/vue-components/styles/base/utilities/all";
14
+ @import "./base/utilities/all";
15
15
 
16
16
  // LAYOUTS
17
- @import "@/components/vue-components/styles/layouts/all";
17
+ @import "./layouts/all";
18
18
 
19
19
  // COMPONENTS
20
- @import "@/components/vue-components/styles/components/all";
20
+ @import "./components/all";
21
21
 
22
22
  // //BASE - Base styles, variables, mixins
23
23
  // @import "base/video-player";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appscode/design-system",
3
- "version": "2.0.6-alpha.1",
3
+ "version": "2.0.6",
4
4
  "description": "A design system for Appscode websites and dashboards made using Bulma",
5
5
  "main": "main.scss",
6
6
  "scripts": {
@@ -31,5 +31,121 @@ withDefaults(defineProps<Props>(), {
31
31
  </div>
32
32
  </template>
33
33
  <style lang="scss" scoped>
34
- @import "../../../vue-components/styles/components/accordion";
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
+ }
35
151
  </style>
@@ -70,5 +70,63 @@ const showUnpluginIcon = computed(() => {
70
70
  </template>
71
71
 
72
72
  <style lang="scss" scoped>
73
- @import "../../../vue-components/styles/components/button";
73
+ .button {
74
+ &.ac-button {
75
+ padding: 8px 16px;
76
+ font-weight: 500;
77
+ line-height: 1;
78
+
79
+ &.is-primary {
80
+ &.is-light {
81
+ color: $primary;
82
+ &:focus:not(:hover) {
83
+ color: inherit;
84
+ }
85
+ }
86
+ }
87
+ &.is-warning {
88
+ &.is-light {
89
+ color: $yellow-30;
90
+ &:focus:not(:hover) {
91
+ color: inherit;
92
+ }
93
+ }
94
+ }
95
+
96
+ &.is-success {
97
+ &.is-light {
98
+ color: $green-30;
99
+ &:focus:not(:hover) {
100
+ color: inherit;
101
+ }
102
+ }
103
+ }
104
+ &.is-light {
105
+ &.is-loading {
106
+ &::after {
107
+ border-color: transparent transparent #1c1c1c #1c1c1c !important;
108
+ }
109
+ }
110
+ &.is-outlined {
111
+ &:hover {
112
+ border-color: inherit;
113
+ }
114
+ }
115
+ }
116
+
117
+ &.is-small {
118
+ padding: 4px 12px;
119
+ &:not(.is-rounded) {
120
+ border-radius: 4px;
121
+ }
122
+ }
123
+ &.is-medium {
124
+ font-size: 1rem;
125
+ height: 36px;
126
+ }
127
+ }
128
+ }
129
+ button.is-primary {
130
+ background-color: $primary;
131
+ }
74
132
  </style>
@@ -60,5 +60,36 @@ onClickOutside(actionDropdown, () => emit("update:modelValue", false));
60
60
  <!-- dropdown end -->
61
61
  </template>
62
62
  <style lang="scss">
63
- @import "../../../vue-components/styles/components/dropdown";
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
+ }
64
95
  </style>
@@ -18,6 +18,4 @@ withDefaults(defineProps<Props>(), {
18
18
  </div>
19
19
  </template>
20
20
 
21
- <style lang="scss">
22
- @import "../../../vue-components/styles/components/input";
23
- </style>
21
+ <style lang="scss"></style>
@@ -143,5 +143,220 @@ watch(
143
143
  </template>
144
144
 
145
145
  <style lang="scss" scoped>
146
- @import "../../../vue-components/styles/components/modal";
146
+ // modal start
147
+ .ac-modal {
148
+ // position: relative;
149
+ min-height: 100vh;
150
+ position: fixed;
151
+ width: 100%;
152
+ left: 0;
153
+ top: 0;
154
+ z-index: 9999;
155
+ .ac-button {
156
+ &.is-white {
157
+ margin-right: -10px;
158
+ }
159
+ }
160
+
161
+ &:after {
162
+ position: absolute;
163
+ content: "";
164
+ left: 0;
165
+ top: 0;
166
+ width: 100%;
167
+ height: 100%;
168
+ background-color: $primary-5;
169
+ z-index: -1;
170
+ opacity: 0.5;
171
+ }
172
+
173
+ &.is-small {
174
+ .ac-modal-inner {
175
+ border-radius: 4px;
176
+ width: 446px;
177
+ }
178
+ }
179
+
180
+ &.is-normal {
181
+ .ac-modal-inner {
182
+ width: 518px;
183
+ }
184
+ }
185
+
186
+ &.is-medium {
187
+ .ac-modal-inner {
188
+ width: 800px;
189
+ }
190
+ }
191
+
192
+ &.is-large {
193
+ .ac-modal-inner {
194
+ width: 1000px !important;
195
+ }
196
+ }
197
+
198
+ .ac-modal-inner {
199
+ margin: 0 auto;
200
+ background-color: $white-100;
201
+ border-radius: 4px;
202
+ overflow: hidden;
203
+ box-shadow: 12px 26px 118px rgba(0, 0, 0, 0.16);
204
+
205
+ .ac-modal-header {
206
+ background-color: $white-100;
207
+ padding: 10px 20px;
208
+ display: flex;
209
+ align-items: center;
210
+ justify-content: space-between;
211
+ border: 1px solid $primary-90;
212
+
213
+ h6 {
214
+ color: $primary-10;
215
+ }
216
+
217
+ .ms-close-button {
218
+ button {
219
+ cursor: pointer;
220
+ padding: 3px 5px;
221
+ color: $primary-10;
222
+ }
223
+ }
224
+ }
225
+
226
+ .ac-modal-body {
227
+ padding: 20px;
228
+ max-height: calc(100vh - 230px);
229
+ overflow-y: auto;
230
+
231
+ .ac-modal-content {
232
+ img {
233
+ // width: 100%;
234
+ height: auto;
235
+ }
236
+
237
+ .action-message {
238
+ p {
239
+ font-size: 16px;
240
+ margin-bottom: 10px;
241
+
242
+ &:last-child {
243
+ margin-bottom: 0;
244
+ }
245
+
246
+ &.is-description {
247
+ font-weight: 400;
248
+ color: $primary-10;
249
+
250
+ strong {
251
+ font-weight: 500;
252
+ }
253
+ }
254
+ }
255
+ }
256
+ }
257
+ }
258
+
259
+ .ac-modal-footer {
260
+ border-top: 1px solid $primary-90;
261
+ padding: 10px 20px;
262
+ }
263
+ }
264
+ }
265
+
266
+ /****************************************
267
+ Responsive Classes
268
+ *****************************************/
269
+ // Extra small devices (portrait phones, less than 576px)
270
+ @media (max-width: 575.98px) {
271
+ .ac-modal {
272
+ &.is-small {
273
+ .ac-modal-inner {
274
+ width: 266px;
275
+ }
276
+ }
277
+
278
+ &.is-normal {
279
+ .ac-modal-inner {
280
+ width: calc(100% - 15px);
281
+ }
282
+ }
283
+
284
+ &.is-medium {
285
+ .ac-modal-inner {
286
+ width: calc(100% - 15px);
287
+ }
288
+ }
289
+
290
+ &.is-large {
291
+ .ac-modal-inner {
292
+ width: calc(100% - 15px);
293
+ }
294
+ }
295
+
296
+ .action-message.pt-35.pb-35 {
297
+ padding-top: 20px !important;
298
+ padding-bottom: 20px !important;
299
+ }
300
+ }
301
+ }
302
+
303
+ // Small devices (landscape phones, 576px and up)
304
+ @media (min-width: 576px) and (max-width: 767.98px) {
305
+ .ac-modal {
306
+ &.is-small {
307
+ .ac-modal-inner {
308
+ width: 266px;
309
+ }
310
+ }
311
+
312
+ &.is-normal {
313
+ .ac-modal-inner {
314
+ width: calc(100% - 15px);
315
+ }
316
+ }
317
+
318
+ &.is-medium {
319
+ .ac-modal-inner {
320
+ width: calc(100% - 15px);
321
+ }
322
+ }
323
+
324
+ &.is-large {
325
+ .ac-modal-inner {
326
+ width: calc(100% - 15px);
327
+ }
328
+ }
329
+ }
330
+ }
331
+
332
+ // Medium devices (tablets, 768px and up)
333
+ @media (min-width: 768px) and (max-width: 991.98px) {
334
+ .ac-modal {
335
+ &.is-normal {
336
+ .ac-modal-inner {
337
+ width: calc(100% - 50px);
338
+ }
339
+ }
340
+
341
+ &.is-medium {
342
+ .ac-modal-inner {
343
+ width: calc(100% - 50px);
344
+ }
345
+ }
346
+
347
+ &.is-large {
348
+ .ac-modal-inner {
349
+ width: calc(100% - 50px);
350
+ }
351
+ }
352
+ }
353
+ }
354
+
355
+ // Large devices (desktops, 992px and up)
356
+ @media (min-width: 992px) and (max-width: 1199.98px) {
357
+ }
358
+
359
+ // Extra large devices (large desktops, 1200px and up)
360
+ @media (min-width: 1200px) {
361
+ }
147
362
  </style>