@appscode/design-system 1.1.0 → 2.0.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 (215) hide show
  1. package/base/_video-player.scss +65 -0
  2. package/base/utilities/_all.scss +7 -5
  3. package/base/utilities/_colors.scss +377 -0
  4. package/base/utilities/_customize-bulma.scss +23 -27
  5. package/base/utilities/_extended.scss +39 -0
  6. package/base/utilities/{_default.scss → _global.scss} +192 -333
  7. package/base/utilities/_layouts.scss +19 -0
  8. package/base/utilities/_mixin.scss +11 -11
  9. package/base/utilities/_spacing.scss +96 -0
  10. package/base/utilities/_typography.scss +56 -24
  11. package/components/_ac-alert-box.scss +205 -263
  12. package/components/_ac-calendar.scss +4 -4
  13. package/components/_ac-code-highlight.scss +13 -16
  14. package/components/_ac-content-layout.scss +165 -165
  15. package/components/_ac-drag.scss +13 -13
  16. package/components/_ac-modal.scss +212 -212
  17. package/components/_ac-options.scss +122 -123
  18. package/components/_ac-select-box.scss +10 -10
  19. package/components/_ac-table.scss +503 -502
  20. package/components/_ac-tabs.scss +65 -61
  21. package/components/_ac-tags.scss +116 -116
  22. package/components/_accordion.scss +117 -0
  23. package/components/_add-card.scss +3 -3
  24. package/components/_all.scss +35 -28
  25. package/components/_app-drawer.scss +0 -134
  26. package/components/_breadcumb.scss +0 -71
  27. package/components/_buttons.scss +779 -779
  28. package/components/_card-body-wrapper.scss +5 -5
  29. package/components/_dashboard-header.scss +0 -115
  30. package/components/_direct-deploy.scss +8 -8
  31. package/components/_getkeeper.scss +110 -0
  32. package/components/_go-to-top.scss +1 -1
  33. package/components/_graph.scss +10 -10
  34. package/components/_image-upload.scss +9 -9
  35. package/components/_input-card.scss +232 -0
  36. package/components/_input.scss +573 -0
  37. package/components/_left-sidebar-menu.scss +452 -587
  38. package/components/_monaco-editor.scss +2 -2
  39. package/components/{_ac-multi-select.scss → _multi-select.scss} +89 -251
  40. package/components/_navbar.scss +786 -752
  41. package/components/_nested-list.scss +3 -3
  42. package/components/_overview-info.scss +10 -10
  43. package/components/_overview-page.scss +4 -4
  44. package/components/_pagination.scss +106 -124
  45. package/components/_payment-card.scss +21 -21
  46. package/components/_preloader.scss +1 -1
  47. package/components/_preview-modal.scss +18 -18
  48. package/components/_pricing-table.scss +14 -14
  49. package/components/_progress-bar.scss +73 -86
  50. package/components/_subscription-card.scss +22 -24
  51. package/components/_table-of-content.scss +8 -8
  52. package/components/{_ac-terminal.scss → _terminal.scss} +114 -81
  53. package/components/_tfa.scss +9 -9
  54. package/components/_transitions.scss +35 -0
  55. package/components/_widget-menu.scss +252 -257
  56. package/components/_wizard.scss +518 -793
  57. package/components/ac-toaster/_ac-toasted.scss +11 -16
  58. package/components/bbum/_activities-header.scss +1 -1
  59. package/components/bbum/_card-team.scss +12 -12
  60. package/components/bbum/_information-center.scss +21 -23
  61. package/components/bbum/_left-sidebar.scss +8 -8
  62. package/components/bbum/_mobile-desktop.scss +16 -21
  63. package/components/bbum/_post.scss +5 -5
  64. package/components/bbum/_sign-up-notification.scss +10 -10
  65. package/components/bbum/_single-post-preview.scss +29 -29
  66. package/components/bbum/_user-profile.scss +10 -10
  67. package/components/ui-builder/_ui-builder.scss +221 -31
  68. package/components/ui-builder/_vue-open-api.scss +565 -7
  69. package/icons/close-icon.svg +3 -0
  70. package/layouts/_code-preview.scss +17 -18
  71. package/main.scss +26 -10
  72. package/package.json +1 -1
  73. package/plugins/theme.js +11 -9
  74. package/plugins/vue-toaster.js +1 -1
  75. package/vue-components/images/icons/cluster-icon.svg +10 -0
  76. package/vue-components/images/icons/org-icon.svg +10 -0
  77. package/vue-components/plugins/time-convert.js +49 -0
  78. package/vue-components/types/cluster.ts +6 -0
  79. package/vue-components/types/importFlow.ts +16 -0
  80. package/vue-components/types/notification.ts +6 -0
  81. package/vue-components/types/previewYaml.ts +8 -0
  82. package/vue-components/types/table.ts +55 -0
  83. package/vue-components/types/theme.ts +10 -0
  84. package/vue-components/types/user.ts +22 -0
  85. package/vue-components/v2/banner/Banner.vue +1 -1
  86. package/vue-components/v2/button/Buttons.vue +1 -1
  87. package/vue-components/v2/card/Card.vue +1 -1
  88. package/vue-components/v2/card/OverviewCards.vue +17 -2
  89. package/vue-components/v2/content/ContentTable.vue +14 -9
  90. package/vue-components/v2/editor/FilteredFileEditor.vue +2 -2
  91. package/vue-components/v2/editor/ResourceKeyValueEditor.vue +21 -21
  92. package/vue-components/v2/icons/Ellipsis.vue +2 -1
  93. package/vue-components/v2/modal/Modal.vue +2 -6
  94. package/vue-components/v2/navbar/Appdrawer.vue +37 -12
  95. package/vue-components/v2/navbar/Navbar.vue +3 -3
  96. package/vue-components/v2/navbar/NavbarItem.vue +3 -1
  97. package/vue-components/v2/navbar/NavbarItemContent.vue +1 -1
  98. package/vue-components/v2/navbar/User.vue +5 -22
  99. package/vue-components/v2/pagination/Pagination.vue +66 -0
  100. package/vue-components/v2/sidebar/SidebarItem.vue +10 -7
  101. package/{components/_ac-accordion.scss → vue-components/v3/accordion/Accordion.vue} +40 -6
  102. package/vue-components/v3/alert/Alert.vue +238 -0
  103. package/vue-components/v3/alert/Toast.vue +79 -0
  104. package/vue-components/v3/banner/Banner.vue +10 -0
  105. package/vue-components/v3/breadcrumbs/Breadcrumb.vue +166 -0
  106. package/vue-components/v3/button/Button.vue +110 -57
  107. package/vue-components/v3/button/Buttons.vue +22 -0
  108. package/vue-components/v3/button/DownloadBtn.vue +31 -0
  109. package/vue-components/v3/cards/Card.vue +32 -0
  110. package/vue-components/v3/cards/CardContent.vue +7 -0
  111. package/vue-components/v3/cards/CardHeader.vue +14 -0
  112. package/vue-components/v3/cards/Cards.vue +7 -0
  113. package/vue-components/v3/cards/Cluster.vue +159 -0
  114. package/vue-components/v3/cards/Counter.vue +39 -0
  115. package/vue-components/v3/cards/FeatureCard.vue +67 -0
  116. package/vue-components/v3/cards/FeatureCards.vue +6 -0
  117. package/vue-components/v3/cards/InfoCard.vue +242 -0
  118. package/vue-components/v3/cards/Monitoring.vue +90 -0
  119. package/vue-components/v3/cards/OrgClusterCard.vue +86 -0
  120. package/vue-components/v3/cards/OverviewCard.vue +28 -0
  121. package/vue-components/v3/cards/OverviewCards.vue +39 -0
  122. package/vue-components/v3/cards/Payment.vue +62 -0
  123. package/vue-components/v3/cards/Vendor.vue +89 -0
  124. package/vue-components/v3/content/ContentHeader.vue +39 -30
  125. package/vue-components/v3/content/ContentLayout.vue +20 -0
  126. package/vue-components/v3/content/ContentTable.vue +44 -58
  127. package/vue-components/v3/dropdown/DropdownAction.vue +95 -0
  128. package/vue-components/v3/dropdown/DropdownDivider.vue +2 -0
  129. package/vue-components/v3/dropdown/DropdownItem.vue +2 -0
  130. package/vue-components/v3/dropdown/DropdownMenu.vue +85 -91
  131. package/vue-components/v3/editor/Editor.vue +117 -115
  132. package/vue-components/v3/editor/FilteredFileEditor.vue +325 -128
  133. package/vue-components/v3/editor/ResourceKeyValueEditor.vue +73 -94
  134. package/vue-components/v3/footer/FooterArea.vue +40 -0
  135. package/vue-components/v3/footer/FooterItem.vue +32 -0
  136. package/vue-components/v3/footer/FooterItems.vue +15 -0
  137. package/vue-components/v3/footer/Info.vue +25 -0
  138. package/vue-components/v3/footer/Status.vue +43 -0
  139. package/vue-components/v3/footer/Usage.vue +34 -0
  140. package/vue-components/v3/form/Form.vue +24 -36
  141. package/vue-components/v3/form/FormFooter.vue +24 -0
  142. package/vue-components/v3/form/FormFooterControl.vue +7 -0
  143. package/vue-components/v3/form/FormFooterControls.vue +7 -0
  144. package/vue-components/v3/form-fields/AcSingleInput.vue +21 -0
  145. package/vue-components/v3/form-fields/FileUpload.vue +89 -0
  146. package/vue-components/v3/form-fields/Input.vue +19 -15
  147. package/vue-components/v3/header/Header.vue +120 -26
  148. package/vue-components/v3/header/HeaderItem.vue +18 -0
  149. package/vue-components/v3/header/HeaderItems.vue +4 -0
  150. package/vue-components/v3/icons/Ellipsis.vue +2 -0
  151. package/vue-components/v3/loaders/ClusterSwitcherLoader.vue +13 -0
  152. package/vue-components/v3/loaders/InfoCardLoader.vue +19 -0
  153. package/vue-components/v3/loaders/ResourceLoader.vue +4 -12
  154. package/vue-components/v3/loaders/SidebarLoader.vue +4 -12
  155. package/vue-components/v3/loaders/SingleInfoCardLoader.vue +24 -0
  156. package/vue-components/v3/modal/Modal.vue +294 -95
  157. package/vue-components/v3/modals/DeleteConfirmationModal.vue +37 -50
  158. package/vue-components/v3/modals/JsonShowModal.vue +63 -68
  159. package/vue-components/v3/navbar/Appdrawer.vue +198 -51
  160. package/vue-components/v3/navbar/Navbar.vue +139 -0
  161. package/vue-components/v3/navbar/NavbarItem.vue +103 -0
  162. package/vue-components/v3/navbar/NavbarItemContent.vue +282 -0
  163. package/vue-components/v3/navbar/Notification.vue +207 -0
  164. package/vue-components/v3/navbar/ThemeMode.vue +128 -112
  165. package/vue-components/v3/navbar/User.vue +431 -268
  166. package/vue-components/v3/notification/AlertBox.vue +266 -39
  167. package/vue-components/v3/notification/Notification.vue +50 -44
  168. package/vue-components/v3/notification/NotificationItem.vue +51 -19
  169. package/vue-components/v3/option-dots/Options.vue +197 -0
  170. package/vue-components/v3/pagination/Pagination.vue +216 -102
  171. package/vue-components/v3/preloader/Preloader.vue +23 -0
  172. package/vue-components/v3/searchbars/SearchBar.vue +50 -34
  173. package/vue-components/v3/sidebar/AccentColorPicker.vue +97 -0
  174. package/vue-components/v3/sidebar/ClusterSwitcher.vue +71 -86
  175. package/vue-components/v3/sidebar/Sidebar.vue +239 -0
  176. package/vue-components/v3/sidebar/SidebarBody.vue +14 -0
  177. package/vue-components/v3/sidebar/SidebarFooter.vue +89 -0
  178. package/vue-components/v3/sidebar/SidebarHeader.vue +131 -0
  179. package/vue-components/v3/sidebar/SidebarItem.vue +62 -0
  180. package/vue-components/v3/sidebar/SidebarItemWithDropDown.vue +101 -104
  181. package/vue-components/v3/sidebar/SidebarMenuList.vue +9 -0
  182. package/vue-components/v3/sidebar/Steps.vue +152 -0
  183. package/vue-components/v3/sidebar/sidebar-tabs/SidebarTabs.vue +204 -0
  184. package/vue-components/v3/sidebar/sidebar-tabs/SidebarTabsLayout.vue +44 -0
  185. package/vue-components/v3/sidebar/sidebar-tabs/TabsContent.vue +99 -0
  186. package/vue-components/v3/tab/TabItem.vue +10 -12
  187. package/vue-components/v3/tab/Tabs.vue +36 -0
  188. package/vue-components/v3/tab/TabsBody.vue +7 -0
  189. package/vue-components/v3/table/EmptyTableInfo.vue +8 -0
  190. package/vue-components/v3/table/FakeTableCell.vue +22 -31
  191. package/vue-components/v3/table/InfoTable.vue +89 -61
  192. package/vue-components/v3/table/MultiInfoTable.vue +72 -95
  193. package/vue-components/v3/table/Table.vue +596 -157
  194. package/vue-components/v3/table/TableCell.vue +13 -24
  195. package/vue-components/v3/table/TableContainer.vue +50 -28
  196. package/vue-components/v3/table/TableRow.vue +65 -87
  197. package/vue-components/v3/table/table-cell/ArrayCell.vue +94 -103
  198. package/vue-components/v3/table/table-cell/CellValue.vue +74 -106
  199. package/vue-components/v3/table/table-cell/GenericCell.vue +43 -42
  200. package/vue-components/v3/table/table-cell/ObjectCell.vue +91 -101
  201. package/vue-components/v3/table/table-cell/ValueWithModal.vue +22 -31
  202. package/vue-components/v3/tabs/EditorTabs.vue +18 -24
  203. package/vue-components/v3/tag/Tag.vue +16 -12
  204. package/vue-components/v3/tag/Tags.vue +7 -0
  205. package/base/utilities/_derived-variables.scss +0 -25
  206. package/base/utilities/_initial-variables.scss +0 -215
  207. package/base/utilities/dark-theme.scss +0 -26
  208. package/components/_ac-card.scss +0 -597
  209. package/components/_ac-input.scss +0 -876
  210. package/mixins/stickyContent.js +0 -141
  211. package/plugins/caching.ts +0 -243
  212. package/vue-components/v3/long-running-tasks/LongRunningTaskItem.vue +0 -92
  213. package/vue-components/v3/modals/LongRunningTasksModal.vue +0 -400
  214. package/vue-components/v3/terminal/LongRunningTaskTerminal.vue +0 -148
  215. /package/components/{_ac-report.scss → _report.scss} +0 -0
@@ -0,0 +1,19 @@
1
+ // default layout css
2
+ .ac-system-body {
3
+ display: grid;
4
+ grid-gap: 0px;
5
+ grid-template-columns: 250px calc(100% - 250px);
6
+ padding-top: 50px;
7
+ transition: 0.3s ease-in-out;
8
+
9
+ &.is-fullwidth {
10
+ grid-template-columns: auto !important;
11
+ }
12
+
13
+ }
14
+ // sidebar collapsed
15
+ .sidebar-collapsed {
16
+ .ac-system-body {
17
+ grid-template-columns: 60px calc(100% - 60px);
18
+ }
19
+ }
@@ -1,7 +1,7 @@
1
1
  // ac-buttons
2
2
  @mixin ac-button($colorName) {
3
3
  background-color: $colorName;
4
- color: $ac-white;
4
+ color: $white-100;
5
5
  border: none;
6
6
 
7
7
  &:hover {
@@ -62,7 +62,7 @@
62
62
 
63
63
  &:hover {
64
64
  background-color: $colorName;
65
- color: $ac-white;
65
+ color: $white-100;
66
66
  }
67
67
  }
68
68
 
@@ -82,7 +82,7 @@
82
82
 
83
83
  &:hover {
84
84
  background-color: $colorName;
85
- color: $ac-white;
85
+ color: $white-100;
86
86
  box-shadow: none;
87
87
 
88
88
  img {
@@ -92,7 +92,7 @@
92
92
  }
93
93
 
94
94
  &.is-inverted {
95
- background-color: $ac-white;
95
+ background-color: $white-100;
96
96
  color: $colorName;
97
97
 
98
98
  &:hover {
@@ -110,11 +110,11 @@
110
110
 
111
111
  &.is-outlined {
112
112
  background-color: transparent;
113
- border: 1px solid $ac-white;
114
- color: $ac-white;
113
+ border: 1px solid $white-100;
114
+ color: $white-100;
115
115
 
116
116
  &:hover {
117
- background-color: $ac-white;
117
+ background-color: $white-100;
118
118
  color: $colorName;
119
119
  }
120
120
  }
@@ -128,7 +128,7 @@
128
128
 
129
129
  &:hover {
130
130
  background-color: $colorName;
131
- color: $ac-white;
131
+ color: $white-100;
132
132
 
133
133
  @if (type_of($colorName) == "color") {
134
134
  box-shadow: 0px 6px 12px scale-color($color: $colorName, $lightness: 70%);
@@ -168,14 +168,14 @@
168
168
  &:hover {
169
169
  background-color: $colorName;
170
170
  box-shadow: none;
171
- color: $ac-white;
171
+ color: $white-100;
172
172
 
173
173
  .ac-play {
174
- border: 1px solid $ac-white;
174
+ border: 1px solid $white-100;
175
175
  }
176
176
 
177
177
  span {
178
- color: $ac-white;
178
+ color: $white-100;
179
179
  }
180
180
  }
181
181
  }
@@ -0,0 +1,96 @@
1
+ /* Margin & Padding view-height & view-width */
2
+ @for $i from 0 through 100 {
3
+ .m-#{$i} {
4
+ margin: #{$i}px !important;
5
+ }
6
+
7
+ .mt-#{$i} {
8
+ margin-top: #{$i}px !important;
9
+ }
10
+
11
+ .mb-#{$i} {
12
+ margin-bottom: #{$i}px !important;
13
+ }
14
+
15
+ .ml-#{$i} {
16
+ margin-left: #{$i}px !important;
17
+ }
18
+
19
+ .mr-#{$i} {
20
+ margin-right: #{$i}px !important;
21
+ }
22
+
23
+ .p-#{$i} {
24
+ padding: #{$i}px !important;
25
+ }
26
+
27
+ .pt-#{$i} {
28
+ padding-top: #{$i}px !important;
29
+ }
30
+
31
+ .pb-#{$i} {
32
+ padding-bottom: #{$i}px !important;
33
+ }
34
+
35
+ .pl-#{$i} {
36
+ padding-left: #{$i}px !important;
37
+ }
38
+
39
+ .pr-#{$i} {
40
+ padding-right: #{$i}px !important;
41
+ }
42
+
43
+ .vh-#{$i} {
44
+ height: #{$i}vh !important;
45
+ }
46
+
47
+ .vw-#{$i} {
48
+ width: #{$i}vw !important;
49
+ }
50
+
51
+ .font-#{$i} {
52
+ font-size: #{$i}px !important;
53
+ }
54
+ }
55
+
56
+ /* Deafult height & widht */
57
+ @for $i from 0 through 300 {
58
+ .height-#{$i} {
59
+ height: #{$i}px !important;
60
+ }
61
+
62
+ .width-#{$i} {
63
+ width: #{$i}px !important;
64
+ }
65
+ }
66
+
67
+ .height-auto {
68
+ height: auto !important;
69
+ }
70
+
71
+ .width-auto {
72
+ width: auto !important;
73
+ }
74
+
75
+ /* Deafult z-index and font-weight*/
76
+ @for $i from 0 through 10 {
77
+ .z-index-#{$i} {
78
+ z-index: #{$i} !important;
79
+ }
80
+
81
+ .font-weight-#{$i*100} {
82
+ font-weight: #{$i * 100} !important;
83
+ }
84
+ }
85
+
86
+ .mx-auto {
87
+ margin: 0 auto;
88
+ }
89
+
90
+ .mr-auto {
91
+ margin-right: auto;
92
+ }
93
+
94
+ .ml-auto {
95
+ margin-left: auto;
96
+ }
@@ -1,23 +1,34 @@
1
+ // Typography
2
+ @import url("https://fonts.googleapis.com/css2?family=Inconsolata:wght@200;300;400;500;600;700&family=Roboto:ital,wght@0,400;0,500;0,700;0,900;1,400;1,500;1,700&display=swap");
3
+
4
+ $font-heading: "Roboto", sans-serif;
5
+ $font-paragraph: "Roboto", sans-serif;
6
+
1
7
  html,
2
8
  body {
3
- background-color: $ac-bg;
4
- font-family: $ac-family-paragraph;
9
+ background-color: transparent;
10
+ font-family: $font-paragraph;
5
11
  font-weight: 400;
6
12
  font-size: 13px;
7
- color: $ac-color-text;
13
+ color: $primary-10;
8
14
  }
15
+
9
16
  p {
10
- font-size: 13px;
17
+ font-size: 1rem;
18
+ font-family: $font-paragraph;
19
+ font-weight: 400;
20
+ line-height: 150%;
11
21
  }
22
+
12
23
  h1,
13
24
  h2,
14
25
  h3,
15
26
  h4,
16
27
  h5,
17
28
  h6 {
18
- font-family: $ac-family-heading;
19
- font-weight: 500;
20
- color: $ac-color-heading;
29
+ font-family: $font-heading;
30
+ font-weight: 600;
31
+ color: $primary-5;
21
32
  }
22
33
 
23
34
  h1 {
@@ -46,43 +57,63 @@ h6 {
46
57
 
47
58
  h6 {
48
59
  &.is-tiny {
49
- font-size: $font-size-tiny;
50
- line-height: $font-size-tiny + 10;
60
+ font-size: 11px;
61
+ line-height: 11px + 10;
51
62
  }
52
63
 
53
64
  &.is-extra-small {
54
- font-size: $font-size-extra-small;
55
- line-height: $font-size-extra-small + 10;
65
+ font-size: 12px;
66
+ line-height: 12px + 10;
56
67
  }
57
68
 
58
69
  &.is-small {
59
- font-size: $font-size-small;
60
- line-height: $font-size-small + 10;
70
+ font-size: 13px;
71
+ line-height: 13px + 10;
61
72
  }
62
73
 
63
74
  &.is-normal {
64
- font-size: $font-size-normal;
65
- line-height: $font-size-normal + 10;
75
+ font-size: 14px;
76
+ line-height: 14px + 10;
66
77
  }
67
78
 
68
79
  &.is-semi-normal {
69
- font-size: $font-size-semi-normal;
70
- line-height: $font-size-semi-normal + 10;
80
+ font-size: 15px;
81
+ line-height: 15px + 10;
71
82
  }
72
83
 
73
84
  &.is-medium {
74
- font-size: $font-size-medium;
75
- line-height: $font-size-medium + 10;
85
+ font-size: 16px;
86
+ line-height: 16px + 10;
76
87
  }
77
88
  }
78
89
 
79
90
  a {
80
- font-family: $ac-family-paragraph;
81
- color: $ac-primary;
91
+ font-family: $font-paragraph;
92
+ color: $primary;
93
+ }
94
+
95
+ .text-xm {
96
+ font-size: 0.769rem; //10px
97
+ }
98
+
99
+ .text-sm {
100
+ font-size: 0.846rem; //11px
101
+ }
102
+
103
+ .text-base {
104
+ font-size: 1rem; //13px
105
+ }
106
+
107
+ .text-lg {
108
+ font-size: 1.077rem; //14px
109
+ }
110
+
111
+ .text-xl {
112
+ font-size: 1.231rem; //16px
82
113
  }
83
114
 
84
115
  hr {
85
- background-color: $ac-bg-light-gray;
116
+ background-color: $black-60;
86
117
  border: none;
87
118
  display: block;
88
119
  height: 1px;
@@ -90,7 +121,7 @@ hr {
90
121
  }
91
122
 
92
123
  strong {
93
- color: $ac-color-value;
124
+ color: $primary-20;
94
125
  }
95
126
 
96
127
  .is-font-medium {
@@ -100,6 +131,7 @@ strong {
100
131
  .is-font-bold {
101
132
  font-weight: 700;
102
133
  }
103
- .material-icons{
134
+
135
+ .material-icons {
104
136
  font-size: 1em;
105
137
  }