@appscode/design-system 2.4.1 → 2.4.2

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appscode/design-system",
3
- "version": "2.4.1",
3
+ "version": "2.4.2",
4
4
  "description": "A design system for Appscode websites and dashboards made using Bulma",
5
5
  "main": "main.scss",
6
6
  "scripts": {
@@ -6,7 +6,32 @@
6
6
  padding-right: 32px;
7
7
  }
8
8
 
9
+ .custom-select-placeholder {
10
+ border: 1px solid $color-border-dark;
11
+ padding: 8px 15px;
12
+ border-radius: 4px;
13
+ line-height: 1;
14
+ cursor: pointer;
15
+ display: flex;
16
+ align-items: center;
17
+ height: 36px;
18
+
19
+ &:hover {
20
+ border: 1px solid $ac-primary;
21
+ }
22
+ }
23
+
9
24
  &.is-extra-small {
25
+ height: 32px;
26
+
27
+ .custom-select-placeholder {
28
+ height: 32px;
29
+ }
30
+
31
+ .ac-field {
32
+ top: 5px;
33
+ }
34
+
10
35
  .buttons {
11
36
  .button {
12
37
  height: 28px;
@@ -34,6 +59,7 @@
34
59
  right: 2px;
35
60
  top: 2px;
36
61
  margin: 0;
62
+ z-index: 9;
37
63
 
38
64
  .button {
39
65
  margin: 0 !important;
@@ -54,7 +80,7 @@
54
80
  width: 100%;
55
81
  max-height: 500px;
56
82
  overflow-y: auto;
57
- transition: 0.3s ease-in-out;
83
+ transition: 0.2s ease-in-out;
58
84
  opacity: 0;
59
85
  visibility: hidden;
60
86
 
@@ -284,7 +284,7 @@
284
284
  color: $color-heading;
285
285
  position: absolute;
286
286
  z-index: 2;
287
- transition: 0.3s ease-in-out;
287
+ transition: 0.1s ease-in-out;
288
288
 
289
289
  .is-required {
290
290
  color: $danger;
@@ -27,7 +27,13 @@ const CloseIcon = defineAsyncComponent(() => import("../icons/CloseIcon.vue"));
27
27
  <div class="ac-single-input is-small is-selectbox" :class="[isOpen ? 'is-open' : '']" style="z-index: 2">
28
28
  <!-- add 'show-label' class for move top -->
29
29
  <label for="custom-select" class="ac-label show-label">Select Option</label>
30
- <input type="text" value="Select" />
30
+
31
+ <!-- <input type="text" value="Select" /> -->
32
+ <p class="custom-select-placeholder">
33
+ <span class="is-ellipsis-1">
34
+ Select Value Select ValueSelect ValueSelect ValueSelect ValueSelect ValueSelect Value
35
+ </span>
36
+ </p>
31
37
 
32
38
  <div v-if="multiselect" class="ac-field field is-grouped is-clipped">
33
39
  <div class="control">