@appscode/design-system 2.6.22-alpha-0.0.16 → 2.6.22-alpha-0.0.17

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.6.22-alpha-0.0.16",
3
+ "version": "2.6.22-alpha-0.0.17",
4
4
  "description": "A design system for Appscode websites and dashboards made using Bulma",
5
5
  "main": "main.scss",
6
6
  "scripts": {
@@ -42,7 +42,7 @@
42
42
  }
43
43
  }
44
44
  .avatar-group {
45
- .avatar {
45
+ .avatar:not(:first-child) {
46
46
  margin-left: -8px;
47
47
  }
48
48
  }
@@ -26,7 +26,7 @@
26
26
  width: 100px;
27
27
  height: 100px;
28
28
  margin-bottom: 24px;
29
- padding: 24px;
29
+ padding: 4px;
30
30
 
31
31
  svg {
32
32
  color: $primary-30;
@@ -578,54 +578,3 @@
578
578
  }
579
579
  }
580
580
  }
581
-
582
- // file upload
583
- .file-upload {
584
- border: 1px dashed $color-border-dark;
585
- border-radius: 4px;
586
-
587
- &:hover {
588
- background-color: $secondary-light-gray;
589
- border-color: $ac-primary;
590
-
591
- label {
592
- .upload-icon {
593
- border: 1px solid $color-border-dark;
594
-
595
- svg {
596
- color: $color-heading;
597
- }
598
- }
599
- }
600
- }
601
-
602
- label {
603
- cursor: pointer;
604
- padding: 32px;
605
- display: block;
606
-
607
- .upload-icon {
608
- border: 1px solid $color-border;
609
- display: inline-flex;
610
- align-items: center;
611
- justify-content: center;
612
- border-radius: 50%;
613
- width: 100px;
614
- height: 100px;
615
- margin-bottom: 24px;
616
- padding: 24px;
617
-
618
- svg {
619
- color: $primary-30;
620
- }
621
- }
622
-
623
- p {
624
- color: $color-heading;
625
-
626
- strong {
627
- font-weight: 600;
628
- }
629
- }
630
- }
631
- }
@@ -15,6 +15,7 @@ interface prop {
15
15
  options?: Array<Option>;
16
16
  isLoading?: boolean;
17
17
  optionType?: "simple" | "custom";
18
+ placeholderText?: string
18
19
  }
19
20
 
20
21
  const props = withDefaults(defineProps<prop>(), {
@@ -22,6 +23,7 @@ const props = withDefaults(defineProps<prop>(), {
22
23
  options: () => [],
23
24
  isLoading: false,
24
25
  optionType: "simple",
26
+ placeholderText: 'Select Option'
25
27
  });
26
28
 
27
29
  const emit = defineEmits(["select", "remove", "onRefreshClick"]);
@@ -88,7 +90,7 @@ watch(isOpen, (n) => {
88
90
  :style="[isOpen ? { 'z-index': 2 } : '']"
89
91
  >
90
92
  <label for="custom-select" class="ac-label" :class="{ 'show-label': labelHoisted || isOpen }" @click="selectClick">
91
- Select Option
93
+ {{ placeholderText }}
92
94
  </label>
93
95
 
94
96
  <input