@appscode/design-system 1.0.43-alpha.17 → 1.0.43-alpha.170

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 (109) hide show
  1. package/base/utilities/_default.scss +269 -4
  2. package/base/utilities/_derived-variables.scss +0 -1
  3. package/base/utilities/_initial-variables.scss +17 -176
  4. package/base/utilities/_mixin.scss +1 -17
  5. package/base/utilities/_typography.scss +14 -4
  6. package/base/utilities/dark-theme.scss +25 -0
  7. package/components/_ac-alert-box.scss +13 -5
  8. package/components/_ac-card.scss +44 -8
  9. package/components/_ac-code-highlight.scss +5 -1
  10. package/components/_ac-content-layout.scss +2 -2
  11. package/components/_ac-input.scss +63 -23
  12. package/components/_ac-multi-select.scss +187 -5
  13. package/components/_ac-options.scss +24 -9
  14. package/components/_ac-select-box.scss +14 -4
  15. package/components/_ac-table.scss +5 -3
  16. package/components/_ac-tabs.scss +39 -3
  17. package/components/_ac-terminal.scss +270 -0
  18. package/components/_app-drawer.scss +2 -2
  19. package/components/_breadcumb.scss +2 -0
  20. package/components/_buttons.scss +39 -7
  21. package/components/_card-body-wrapper.scss +2 -2
  22. package/components/_dashboard-header.scss +32 -0
  23. package/components/_direct-deploy.scss +69 -0
  24. package/components/_go-to-top.scss +1 -1
  25. package/components/_graph.scss +45 -0
  26. package/components/_image-upload.scss +5 -3
  27. package/components/_left-sidebar-menu.scss +193 -39
  28. package/components/_monaco-editor.scss +1 -1
  29. package/components/_navbar.scss +124 -7
  30. package/components/_overview-info.scss +4 -4
  31. package/components/_pagination.scss +8 -0
  32. package/components/_payment-card.scss +10 -1
  33. package/components/_preview-modal.scss +15 -4
  34. package/components/_pricing-table.scss +1 -1
  35. package/components/_progress-bar.scss +4 -4
  36. package/components/_subscription-card.scss +12 -5
  37. package/components/_table-of-content.scss +1 -1
  38. package/components/_tfa.scss +69 -0
  39. package/components/_transitions.scss +261 -0
  40. package/components/_wizard.scss +15 -3
  41. package/components/ac-toaster/_ac-toasted.scss +1 -1
  42. package/components/bbum/_card-team.scss +15 -7
  43. package/components/bbum/_information-center.scss +15 -1
  44. package/components/bbum/_mobile-desktop.scss +1 -1
  45. package/components/bbum/_sign-up-notification.scss +3 -3
  46. package/components/bbum/_single-post-preview.scss +1 -1
  47. package/components/bbum/_user-profile.scss +97 -90
  48. package/components/ui-builder/_ui-builder.scss +43 -3
  49. package/components/ui-builder/_vue-open-api.scss +104 -0
  50. package/main.scss +4 -0
  51. package/package.json +2 -7
  52. package/plugins/theme.js +4 -0
  53. package/plugins/vue-toaster.js +3 -0
  54. package/vue-components/v2/banner/Banner.vue +2 -2
  55. package/vue-components/v2/breadcrumbs/Breadcrumb.vue +97 -0
  56. package/vue-components/v2/button/Button.vue +5 -0
  57. package/vue-components/v2/button/DownloadBtn.vue +45 -0
  58. package/vue-components/v2/card/PaymentCards.vue +11 -2
  59. package/vue-components/v2/content/ContentTable.vue +12 -7
  60. package/vue-components/v2/editor/Editor.vue +36 -5
  61. package/vue-components/v2/editor/FilteredFileEditor.vue +188 -0
  62. package/vue-components/v2/editor/MonacoEditor.vue +125 -0
  63. package/vue-components/v2/editor/ResourceKeyValueEditor.vue +209 -0
  64. package/vue-components/v2/loaders/ResourceLoader.vue +101 -0
  65. package/vue-components/v2/loaders/SidebarLoader.vue +43 -0
  66. package/vue-components/v2/modal/Modal.vue +38 -13
  67. package/vue-components/v2/modals/DeleteConfirmationModal.vue +77 -0
  68. package/vue-components/v2/modals/JsonShowModal.vue +12 -2
  69. package/vue-components/v2/navbar/Appdrawer.vue +10 -9
  70. package/vue-components/v2/navbar/ThemeMode.vue +52 -45
  71. package/vue-components/v2/navbar/User.vue +202 -19
  72. package/vue-components/v2/preloader/Preloader.vue +5 -5
  73. package/vue-components/v2/sidebar/ClusterSwitcher.vue +126 -0
  74. package/vue-components/v2/sidebar/SidebarItem.vue +23 -1
  75. package/vue-components/v2/sidebar/SidebarItemWithDropDown.vue +19 -20
  76. package/vue-components/v2/table/Table.vue +44 -8
  77. package/vue-components/v2/table/TableRow.vue +17 -8
  78. package/vue-components/v2/table/table-cell/CellValue.vue +31 -4
  79. package/vue-components/v2/table/table-cell/GenericCell.vue +56 -0
  80. package/vue-components/v2/table/table-cell/ObjectCell.vue +4 -1
  81. package/vue-components/v2/tabs/EditorTabs.vue +1 -1
  82. package/vue-components/v3/button/Button.vue +5 -0
  83. package/vue-components/v3/content/ContentTable.vue +5 -0
  84. package/vue-components/v3/editor/Editor.vue +50 -30
  85. package/vue-components/v3/editor/FilteredFileEditor.vue +184 -0
  86. package/vue-components/v3/editor/MonacoEditor.vue +131 -0
  87. package/vue-components/v3/editor/ResourceKeyValueEditor.vue +125 -0
  88. package/vue-components/v3/form/Form.vue +63 -0
  89. package/vue-components/v3/form-fields/Input.vue +10 -10
  90. package/vue-components/v3/header/HeaderItem.vue +5 -0
  91. package/vue-components/v3/header/HeaderItems.vue +5 -0
  92. package/vue-components/v3/loaders/ResourceLoader.vue +83 -0
  93. package/vue-components/v3/loaders/SidebarLoader.vue +34 -0
  94. package/vue-components/v3/modal/Modal.vue +40 -16
  95. package/vue-components/v3/modals/DeleteConfirmationModal.vue +83 -0
  96. package/vue-components/v3/modals/JsonShowModal.vue +25 -16
  97. package/vue-components/v3/navbar/Appdrawer.vue +12 -7
  98. package/vue-components/v3/navbar/ThemeMode.vue +51 -46
  99. package/vue-components/v3/navbar/User.vue +190 -16
  100. package/vue-components/v3/sidebar/ClusterSwitcher.vue +133 -0
  101. package/vue-components/v3/sidebar/SidebarItemWithDropDown.vue +120 -0
  102. package/vue-components/v3/table/MultiInfoTable.vue +143 -0
  103. package/vue-components/v3/table/Table.vue +34 -11
  104. package/vue-components/v3/table/TableContainer.vue +34 -0
  105. package/vue-components/v3/table/TableRow.vue +10 -2
  106. package/vue-components/v3/table/table-cell/CellValue.vue +26 -3
  107. package/vue-components/v3/table/table-cell/GenericCell.vue +62 -0
  108. package/vue-components/v3/table/table-cell/ObjectCell.vue +5 -1
  109. package/vue-components/v3/tabs/EditorTabs.vue +1 -1
@@ -572,7 +572,7 @@
572
572
  .wizard-title,
573
573
  .wizard-title.has-line {
574
574
  span {
575
- background-color: $ac-border;
575
+ background-color: $ac-label-text;
576
576
  }
577
577
  }
578
578
 
@@ -651,7 +651,7 @@ label {
651
651
  margin-top: -0.5px;
652
652
  width: 100%;
653
653
  height: 1px;
654
- background-color: $ac-input-bg-color;
654
+ background-color: $ac-blue-light;
655
655
  z-index: -1;
656
656
  }
657
657
  }
@@ -731,7 +731,7 @@ h5 {
731
731
  .card-checkbox {
732
732
  width: 358px;
733
733
  height: 115px;
734
- border: 1px solid $ac-border;
734
+ border: 1px solid $ac-label-text;
735
735
  }
736
736
 
737
737
  // checkbox card end
@@ -823,6 +823,18 @@ h5 {
823
823
  }
824
824
 
825
825
  // inline input end
826
+
827
+ // dark theme start
828
+ .is-dark-theme {
829
+ h6.wizard-title.has-line:after {
830
+ --ac-blue-light: $ac-color-value;
831
+ }
832
+
833
+ .ac-certificate-info {
834
+ --ac-bg-light-gray: var(--dark-bg-light);
835
+ }
836
+ }
837
+ // dark theme end
826
838
  /****************************************
827
839
  Responsive Classes
828
840
  *****************************************/
@@ -10,7 +10,7 @@
10
10
  border-radius: 4px !important;
11
11
 
12
12
  * {
13
- color: #fff !important;
13
+ color: $ac-white !important;
14
14
  }
15
15
 
16
16
  p {
@@ -1,18 +1,25 @@
1
1
  .single-team-card {
2
- background-color: $ac-white;
2
+ border: 1px solid $ac-white-light;
3
+ background-color: hsla(
4
+ var(--hsl-hue),
5
+ var(--hsl-saturation),
6
+ var(--hsl-lightness),
7
+ 0.03
8
+ );
3
9
  border-radius: 4px;
4
- overflow: hidden;
10
+ // overflow: hidden;
5
11
  transition: 0.3s ease-in-out;
6
12
 
7
13
  &:hover {
8
- box-shadow: $ac-shadow-1;
14
+ // box-shadow: $ac-shadow-1;
15
+ border: 1px solid $ac-primary;
16
+ background-color: $ac-white;
9
17
  }
10
18
 
11
19
  .card-header {
12
20
  display: flex;
13
21
  align-items: center;
14
22
  justify-content: space-between;
15
- background-color: $ac-white;
16
23
  padding: 15px 20px;
17
24
  border-bottom: 1px solid $ac-white-light;
18
25
  box-shadow: none;
@@ -81,11 +88,12 @@
81
88
  align-items: center;
82
89
  justify-content: space-around;
83
90
  list-style: none;
84
-
85
- li:not(:first-child) {
91
+ li {
92
+ &:not(:first-child) {
93
+ list-style: disc;
94
+ }
86
95
  font-size: $font-size-small;
87
96
  color: $ac-color-value;
88
- list-style: disc;
89
97
  }
90
98
  }
91
99
  }
@@ -133,7 +133,7 @@
133
133
  }
134
134
 
135
135
  .block-list {
136
- background-color: $ac-input-bg-color;
136
+ background-color: $ac-blue-light;
137
137
  padding: 7px;
138
138
  border-radius: 4px;
139
139
 
@@ -174,6 +174,20 @@
174
174
  top: 140px;
175
175
  }
176
176
  }
177
+
178
+ // dark theme start
179
+ .is-dark-theme {
180
+ .information-center {
181
+ .information-center-inner {
182
+ .info-body {
183
+ .block-list {
184
+ background-color: var(--dark-bg-light);
185
+ }
186
+ }
187
+ }
188
+ }
189
+ }
190
+ // dark theme end
177
191
  // Extra small devices (portrait phones, less than 576px)
178
192
  @media (max-width: 575.98px) {
179
193
  .information-center.width-300 {
@@ -111,7 +111,7 @@
111
111
  // preview laptop and mobile view
112
112
  .post-body-wrapper {
113
113
  display: grid;
114
- grid-template-columns: 35% 65%;
114
+ grid-template-columns: 50% 50%;
115
115
  grid-gap: 20px;
116
116
  background-color: $ac-white;
117
117
  padding: 20px;
@@ -10,7 +10,7 @@
10
10
  content: "";
11
11
  width: 100%;
12
12
  height: 100%;
13
- left: 0;
13
+ left: 15px;
14
14
  bottom: 0;
15
15
  background-image: url("~@appscode/design-system-images/icons/bb-large-icon.svg");
16
16
  background-size: cover;
@@ -25,7 +25,7 @@
25
25
  content: "";
26
26
  width: 100%;
27
27
  height: 100%;
28
- right: 0;
28
+ right: 15px;
29
29
  top: 0;
30
30
  background-size: cover;
31
31
  background-position: center;
@@ -68,7 +68,7 @@
68
68
  margin-bottom: 10px;
69
69
 
70
70
  a {
71
- color: #003466;
71
+ color: $ac-color-heading;
72
72
  text-decoration: underline;
73
73
  }
74
74
  }
@@ -137,7 +137,7 @@
137
137
  h2 {
138
138
  font-size: $ac-size-2;
139
139
  margin-bottom: 25px;
140
- color: #003466;
140
+ color: $ac-color-heading;
141
141
  }
142
142
  }
143
143
  }
@@ -1,113 +1,120 @@
1
- .user-profile-wrapper {
2
- .user-profile-photo {
3
- background-color: $ac-white;
4
- border-radius: 4px;
5
- overflow: hidden;
6
- padding: 10px;
7
- position: relative;
8
- z-index: 1;
9
- margin-bottom: 10px;
10
-
11
- .thumbnail {
12
- height: 240px;
13
- background-size: cover;
14
- background-position: center;
15
- background-color: $ac-gray-lightest;
16
- background-repeat: no-repeat;
17
- border-radius: 10px;
18
-
19
- &.profile-1 {
20
- background-image: url("~@appscode/design-system-images/icons/appscode-large-icon.jpg");
21
- }
22
- }
23
-
24
- .setting-button {
25
- position: absolute;
26
- left: 15px;
27
- top: 15px;
28
- font-size: 18px;
29
- color: $ac-white;
30
- background-color: transparent;
31
- border: none;
32
- cursor: pointer;
33
- }
34
- }
35
-
36
- .profile-information {
37
- .profile-top-info {
38
- display: flex;
39
- align-items: center;
40
- justify-content: space-between;
41
-
42
- h3 {
43
- font-size: 26px;
44
- line-height: 1.4;
45
-
46
- span {
47
- font-size: 14px;
48
- line-height: 1.5;
49
- font-weight: 400;
50
- display: block;
51
- color: $ac-color-text;
1
+ .ac-system-body.bb-user-management {
2
+ .user-profile-wrapper {
3
+ padding: 20px;
4
+ border-right: 1px solid $ac-white-light;
5
+ height: calc(100vh - 52px);
6
+ position: sticky;
7
+ top: 52px;
8
+
9
+ .user-profile-photo {
10
+ background-color: $ac-white;
11
+ border-radius: 4px;
12
+ overflow: hidden;
13
+ position: relative;
14
+ z-index: 1;
15
+ margin-bottom: 10px;
16
+
17
+ .thumbnail {
18
+ height: 240px;
19
+ background-size: cover;
20
+ background-position: center;
21
+ background-color: $ac-gray-lightest;
22
+ background-repeat: no-repeat;
23
+ border-radius: 10px;
24
+
25
+ &.profile-1 {
26
+ background-image: url("~@appscode/design-system-images/icons/appscode-large-icon.jpg");
52
27
  }
53
28
  }
54
- }
55
29
 
56
- .edit-icon {
57
- max-width: 16px;
58
- }
59
-
60
- p {
61
- font-size: 14px;
62
- color: $ac-color-text;
63
- line-height: 160%;
64
- margin-bottom: 20px;
30
+ .setting-button {
31
+ position: absolute;
32
+ left: 15px;
33
+ top: 15px;
34
+ font-size: 18px;
35
+ color: $ac-white;
36
+ background-color: transparent;
37
+ border: none;
38
+ cursor: pointer;
39
+ }
65
40
  }
66
41
 
67
- .social-links {
68
- margin-bottom: 20px;
69
-
70
- a {
71
- max-width: 26px;
72
- margin-right: 10px;
73
- display: inline-block;
74
-
75
- &:last-child {
76
- margin-right: 0;
77
- }
42
+ .profile-information {
43
+ .profile-top-info {
44
+ display: flex;
45
+ align-items: center;
46
+ justify-content: space-between;
47
+ margin-bottom: 10px;
78
48
 
79
- img {
80
- width: 100%;
49
+ h3 {
50
+ font-size: 26px;
51
+ line-height: 1.4;
52
+
53
+ span {
54
+ font-size: 14px;
55
+ line-height: 1.5;
56
+ font-weight: 400;
57
+ display: block;
58
+ color: $ac-color-value;
59
+ }
81
60
  }
82
61
  }
83
- }
84
-
85
- .edit-profile {
86
- background-color: transparent;
87
- }
88
62
 
89
- .website-link {
90
- margin-top: 20px;
63
+ .edit-icon {
64
+ max-width: 16px;
65
+ }
91
66
 
92
- a {
93
- color: $ac-primary;
94
- display: flex;
95
- align-items: center;
67
+ p {
68
+ font-size: 14px;
69
+ color: $ac-color-text;
70
+ line-height: 160%;
96
71
  margin-bottom: 10px;
72
+ }
97
73
 
98
- &:last-child {
99
- margin-bottom: 0;
100
- }
74
+ .social-links {
75
+ margin-bottom: 20px;
101
76
 
102
- img {
103
- max-width: 18px;
77
+ a {
78
+ max-width: 26px;
104
79
  margin-right: 10px;
80
+ display: inline-block;
81
+
82
+ &:last-child {
83
+ margin-right: 0;
84
+ }
85
+
86
+ img {
87
+ width: 100%;
88
+ }
89
+ }
90
+ }
91
+ .website-link {
92
+ margin-top: 20px;
93
+
94
+ a {
95
+ color: $ac-primary;
96
+ display: flex;
97
+ align-items: center;
98
+ margin-bottom: 10px;
99
+ font-size: 13px;
100
+ &:last-child {
101
+ margin-bottom: 0;
102
+ }
103
+
104
+ img {
105
+ max-width: 15px;
106
+ margin-right: 10px;
107
+ }
105
108
  }
106
109
  }
107
110
  }
108
111
  }
109
112
  }
110
113
 
114
+ .sign-up-notification {
115
+ border: 1px solid $ac-white-light;
116
+ padding: 20px;
117
+ }
111
118
  // circle type profile start
112
119
  .ac-profile-photo {
113
120
  figure {
@@ -23,7 +23,7 @@
23
23
  }
24
24
  .key-value-save {
25
25
  display: grid;
26
- grid-template-columns: 1fr 1fr auto;
26
+ grid-template-columns: 1fr 1fr auto auto;
27
27
  grid-gap: 15px;
28
28
  }
29
29
  .value-list-save {
@@ -61,7 +61,7 @@
61
61
  position: absolute;
62
62
  content: "";
63
63
  left: 27px;
64
- top: 5px;
64
+ top: 10px;
65
65
  width: 1px;
66
66
  height: calc(100% - 20px);
67
67
  border: 1px dashed $ac-white-light;
@@ -101,6 +101,9 @@
101
101
  cursor: pointer;
102
102
  background-color: $ac-white;
103
103
  color: $ac-color-value;
104
+ &.is-disabled {
105
+ cursor: not-allowed;
106
+ }
104
107
  }
105
108
  }
106
109
  }
@@ -109,6 +112,12 @@
109
112
  }
110
113
  }
111
114
 
115
+ .is-visibility-hidden {
116
+ visibility: hidden !important;
117
+ height: 0 !important;
118
+ opacity: 0 !important;
119
+ }
120
+
112
121
  // nested elements end
113
122
 
114
123
  .table-wrapper {
@@ -155,7 +164,12 @@
155
164
  border-radius: 4px;
156
165
  }
157
166
  }
158
-
167
+ .is-collapsed {
168
+ &.ac-nested-elements::before,
169
+ &.ac-nested-elements::after {
170
+ display: none;
171
+ }
172
+ }
159
173
  // details with checkradio
160
174
  .details-with-checkradio-wrapper {
161
175
  display: grid;
@@ -163,6 +177,32 @@
163
177
  grid-gap: 15px;
164
178
  }
165
179
 
180
+ // dark theme start
181
+ .is-dark-theme {
182
+ .nested-body {
183
+ code {
184
+ background-color: var(--dark-bg-light);
185
+ }
186
+ }
187
+ }
188
+
189
+ //For resource input from
190
+ .resource-input {
191
+ display: grid;
192
+ grid-template-columns: 60px 1fr 1fr;
193
+ grid-gap: 15px;
194
+ align-items: center;
195
+ margin-bottom: 15px;
196
+ .label-text {
197
+ font-weight: 300;
198
+ }
199
+ .ac-single-input {
200
+ margin: 0;
201
+ }
202
+ }
203
+
204
+
205
+ // dark theme end
166
206
  /****************************************
167
207
  Responsive Classes
168
208
  *****************************************/
@@ -0,0 +1,104 @@
1
+ .vue-schema-form-array {
2
+ .nested-body {
3
+ // margin-bottom: 15px;
4
+ display: flex;
5
+
6
+ .form-left-item {
7
+ margin-right: 10px;
8
+ width: calc(100% - 92px);
9
+ }
10
+ }
11
+ }
12
+
13
+ .nested-header {
14
+ .tabs.ac-tabs {
15
+ margin-bottom: 0;
16
+ opacity: 0;
17
+ visibility: hidden;
18
+ transition: 0.3s ease-in-out;
19
+ }
20
+
21
+ &:hover {
22
+ .tabs.ac-tabs {
23
+ opacity: 1;
24
+ visibility: visible;
25
+ }
26
+ }
27
+ }
28
+
29
+ .vue-openapi-form {
30
+ margin-left: -20px;
31
+ .is-warning {
32
+ font-size: 12px;
33
+ color: #ea3d2f;
34
+ padding-left: 10px;
35
+ }
36
+
37
+ .ac-nested-elements {
38
+ &:first-child {
39
+ margin-left: 0;
40
+ }
41
+
42
+ .nested-body {
43
+ padding-left: 0px;
44
+ }
45
+
46
+ .nested-header {
47
+ width: 100%;
48
+ }
49
+ }
50
+
51
+ .ac-single-switch {
52
+ margin-left: -15px;
53
+ }
54
+
55
+ .ac-single-input {
56
+ margin-left: 25px;
57
+
58
+ &:last-child {
59
+ margin-bottom: 15px;
60
+ }
61
+ }
62
+ }
63
+
64
+ .vue-form-scema-body {
65
+ .left-content {
66
+ width: 650px;
67
+ background-color: $ac-white-lighter;
68
+ padding: 30px;
69
+ }
70
+
71
+ .right-content {
72
+ width: 100%;
73
+ margin-top: 30px;
74
+ }
75
+ }
76
+
77
+ .v-tooltip-open {
78
+ background-color: $ac-white;
79
+ }
80
+
81
+ .ac-nested-elements::after {
82
+ top: 25px;
83
+ width: 1px;
84
+ height: calc(100% - 50px);
85
+ }
86
+
87
+ .ac-nested-elements::before {
88
+ bottom: 12px;
89
+ }
90
+
91
+ .is-collapsed {
92
+ &.ac-nested-elements::before,
93
+ &.ac-nested-elements::after {
94
+ display: none;
95
+ }
96
+ }
97
+
98
+ .ui-builders-wrapper {
99
+ .ac-nested-elements::before {
100
+ bottom: 6px !important;
101
+ }
102
+ }
103
+
104
+ // for vue-tooltip
package/main.scss CHANGED
@@ -3,10 +3,12 @@
3
3
  @import "~bulma-checkradio";
4
4
  @import "~bulma-switch";
5
5
  @import "~bulma-tooltip";
6
+ @import url("https://fonts.googleapis.com/css2?family=Material+Icons&display=swap");
6
7
  @import "vue-multiselect/dist/vue-multiselect.min.css";
7
8
 
8
9
  // BASE
9
10
  @import "~assets/design-system/base/utilities/initial-variables";
11
+ @import "~assets/design-system/base/utilities/dark-theme";
10
12
  @import "~assets/design-system/base/utilities/derived-variables";
11
13
  @import "~assets/design-system/base/utilities/typography";
12
14
  @import "~assets/design-system/base/utilities/default";
@@ -48,10 +50,12 @@
48
50
  @import "~assets/design-system/components/overview-info";
49
51
  @import "~assets/design-system/components/pricing-table";
50
52
  @import "~assets/design-system/components/table-of-content";
53
+ @import "~assets/design-system/components/direct-deploy";
51
54
  @import "~assets/design-system/components/preview-modal";
52
55
  @import "~assets/design-system/components/wizard";
53
56
  @import "~assets/design-system/components/preloader";
54
57
  @import "~assets/design-system/components/pagination";
58
+ @import "~assets/design-system/components/graph";
55
59
  @import "~assets/design-system/components/ui-builder/ui-builder";
56
60
  @import "~assets/design-system/components/ac-toaster/ac-toasted";
57
61
  @import "~assets/design-system/components/bbum/post";
package/package.json CHANGED
@@ -1,18 +1,13 @@
1
1
  {
2
2
  "name": "@appscode/design-system",
3
- "version": "1.0.43-alpha.17",
3
+ "version": "1.0.43-alpha.170",
4
4
  "description": "A design system for Appscode websites and dashboards made using Bulma",
5
5
  "main": "main.scss",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"
8
8
  },
9
9
  "dependencies": {
10
- "@appscode/design-system-images": "0.0.13",
11
- "bulma-checkradio": "^1.1.1",
12
- "bulma-switch": "^2.0.0",
13
- "bulma-tooltip": "^3.0.2",
14
- "v-calendar": "^1.0.6",
15
- "vue-multiselect": "^2.1.6"
10
+ "@appscode/design-system-images": "0.0.13"
16
11
  },
17
12
  "repository": {
18
13
  "type": "git",
package/plugins/theme.js CHANGED
@@ -136,3 +136,7 @@ export function getFontHSL() {
136
136
  lightness,
137
137
  };
138
138
  }
139
+ export const loaderLightThemePrimaryColor = "#f5f7f9";
140
+ export const loaderDarkThemePrimaryColor = "#2e323c";
141
+ export const loaderLightThemeSecondaryColor = "#ecebeb";
142
+ export const loaderDarkThemeSecondaryColor = "#21272e";
@@ -41,6 +41,7 @@ module.exports = {
41
41
  },
42
42
  options: {
43
43
  icon: "fa-warning",
44
+ duration: 20000,
44
45
  type: "error",
45
46
  className: "ac-toast is-error",
46
47
  },
@@ -56,6 +57,7 @@ module.exports = {
56
57
  },
57
58
  options: {
58
59
  icon: "fa-info",
60
+ duration: 20000,
59
61
  type: "info",
60
62
  className: "ac-toast is-info",
61
63
  },
@@ -73,6 +75,7 @@ module.exports = {
73
75
  },
74
76
  options: {
75
77
  icon: "fa-warning",
78
+ duration: 2500,
76
79
  type: "error",
77
80
  className: "ac-toast is-warning",
78
81
  },
@@ -1,8 +1,8 @@
1
1
  <template>
2
2
  <div class="sign-up-notification mb-20">
3
3
  <div class="notification-inner has-text-centered">
4
- <h3><slot name="banner-title" /></h3>
5
- <slot />
4
+ <h3><slot name="banner-title">Error!</slot></h3>
5
+ <slot><p>Oops!! There was an error while loading!</p></slot>
6
6
  </div>
7
7
  </div>
8
8
  </template>