@appscode/design-system 2.6.22-alpha-0.0.18 → 2.6.22-alpha-0.0.20

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.18",
3
+ "version": "2.6.22-alpha-0.0.20",
4
4
  "description": "A design system for Appscode websites and dashboards made using Bulma",
5
5
  "main": "main.scss",
6
6
  "scripts": {
@@ -67,6 +67,12 @@
67
67
  }
68
68
  }
69
69
 
70
+ &.is-extra-large {
71
+ .ac-modal-inner {
72
+ width: calc(100vw - 200px);
73
+ }
74
+ }
75
+
70
76
  .ac-modal-inner {
71
77
  margin: 0 auto;
72
78
  background-color: $white-100;
@@ -40,13 +40,19 @@
40
40
  margin-left: -20px;
41
41
  border-bottom: 1px solid $color-border;
42
42
 
43
- &.is-unread {
44
- background-color: $secondary-light-gray;
43
+ &.is-read {
44
+ h6 {
45
+ font-weight: 400 !important;
46
+ }
47
+ h6,
48
+ p,
49
+ button,
50
+ span {
51
+ color: $slate-40;
52
+ }
45
53
  }
46
54
  &.is-active {
47
55
  background-color: $primary-light-gray;
48
- border-top: 1px solid $ac-primary;
49
- border-bottom: 1px solid $ac-primary;
50
56
 
51
57
  h6 {
52
58
  color: $ac-primary;
@@ -61,6 +67,7 @@
61
67
  }
62
68
  .time {
63
69
  font-size: 11px;
70
+ text-transform: capitalize;
64
71
  }
65
72
  .ac-checkbox {
66
73
  margin-top: 4px;
@@ -70,6 +77,9 @@
70
77
  .message-details {
71
78
  max-width: 768px;
72
79
  margin: 0;
80
+ .table.ac-table {
81
+ background-color: #fff;
82
+ }
73
83
  @include until-widescreen {
74
84
  margin: 0;
75
85
  }
@@ -135,7 +145,7 @@ body:has(.message-details) {
135
145
  &.is-open {
136
146
  // background-color: $primary-light-gray;
137
147
  padding: 16px;
138
- border: 2px solid $ac-primary;
148
+ background-color: #f1f1f1;
139
149
  border-radius: 8px;
140
150
  margin: 8px;
141
151
  }
@@ -143,6 +153,8 @@ body:has(.message-details) {
143
153
  max-width: 100%;
144
154
  font-size: 1rem;
145
155
  max-height: 300px;
156
+ padding: 4px;
157
+ border-radius: 4px;
146
158
  }
147
159
  }
148
160
 
@@ -16,11 +16,5 @@ const handleInput = (e: Event) => {
16
16
  </script>
17
17
 
18
18
  <template>
19
- <input
20
- class="ac-input"
21
- data-testid="ac-input"
22
- :class="{ 'width-200': modelValue }"
23
- :value="modelValue"
24
- @input="handleInput"
25
- />
19
+ <input class="ac-input" data-testid="ac-input" :value="modelValue" @input="handleInput" />
26
20
  </template>
@@ -5,10 +5,12 @@ import HeroiconsChevronDown20Solid from "~icons/heroicons/chevron-down-20-solid"
5
5
  interface Props {
6
6
  title: string;
7
7
  isOpen?: boolean;
8
+ hasIcon?: boolean
8
9
  }
9
10
 
10
11
  const props = withDefaults(defineProps<Props>(), {
11
12
  isOpen: false,
13
+ hasIcon: false
12
14
  });
13
15
 
14
16
  const dropDownStatus = ref<"close" | "open">("close");
@@ -31,15 +33,15 @@ watch(
31
33
 
32
34
  <template>
33
35
  <div
34
- class="label p-16 b-b-1 is-flex is-align-items-center is-justify-content-space-between is-fullwidth is-clickable"
35
- @click="toggleDropDownStatus"
36
- >
36
+ class="label pt-10 pb-10 pl-16 pr-16 b-b-1 is-flex is-align-items-center is-justify-content-space-between is-fullwidth is-clickable"
37
+ @click="toggleDropDownStatus">
37
38
  <div class="is-flex gap-8">
38
- <span class="icon"><slot name="drop-down-icon" /></span>{{ title }}
39
+ <span v-if="hasIcon" class="icon">
40
+ <slot name="drop-down-icon" />
41
+ </span>{{ title }}
39
42
  </div>
40
43
  <HeroiconsChevronDown20Solid
41
- :style="{ transform: dropDownStatus === 'open' ? 'rotate(180deg)' : 'none', transition: '0.2s' }"
42
- />
44
+ :style="{ transform: dropDownStatus === 'open' ? 'rotate(180deg)' : 'none', transition: '0.2s' }" />
43
45
  </div>
44
46
  <slot v-if="dropDownStatus === 'open'" name="drop-down-items" />
45
47
  </template>
@@ -13,10 +13,10 @@ withDefaults(defineProps<Props>(), {
13
13
  </script>
14
14
 
15
15
  <template>
16
- <router-link :to="url" class="sidebar-item" :class="{ 'is-active': isActive }">
16
+ <div class="sidebar-item is-clickable" :class="{ 'is-active': isActive }">
17
17
  <span class="icon">
18
18
  <slot name="item-icon" />
19
19
  </span>
20
20
  <span>{{ title }}</span>
21
- </router-link>
21
+ </div>
22
22
  </template>