@appscode/design-system 2.6.22-alpha-0.0.9 → 2.6.22-alpha-0.0.10

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.9",
3
+ "version": "2.6.22-alpha-0.0.10",
4
4
  "description": "A design system for Appscode websites and dashboards made using Bulma",
5
5
  "main": "main.scss",
6
6
  "scripts": {
@@ -24,9 +24,7 @@ const props = defineProps({
24
24
  <!-- Iterate through the items inside each section -->
25
25
  <slot name="sidebar-item" v-for="(item, idx) in data.items" :key="idx" :item="item">
26
26
  <a :href="item.link || '#'" class="sidebar-item" :class="{ 'is-active': item.isActive }">
27
- <span class="icon">
28
- <component :is="item.icon || CogIcon" />
29
- </span>
27
+ <span class="icon"><component :is="item.icon || CogIcon" /></span>
30
28
  <span>{{ item.text }}</span>
31
29
  </a>
32
30
  </slot>
@@ -34,51 +32,3 @@ const props = defineProps({
34
32
  </div>
35
33
  </div>
36
34
  </template>
37
-
38
- <style lang="scss">
39
- // sidebar items
40
- .sidebar-style-2 {
41
- border: 1px solid $color-border;
42
- border-radius: 4px;
43
- box-shadow: 8px 4px 14px 0px rgba(0, 0, 0, 0.05);
44
-
45
- .left-sidebar {
46
- width: 250px;
47
- }
48
-
49
- .sidebar-items {
50
- display: flex;
51
- flex-direction: column;
52
-
53
- .sidebar-item {
54
- display: flex;
55
- align-items: center;
56
- gap: 8px;
57
- color: $color-text;
58
- padding: 8px 16px;
59
- transition: 0.1s ease-in-out;
60
-
61
- &:last-child {
62
- margin-bottom: 8px;
63
- }
64
-
65
- &:hover {
66
- background-color: $primary-light-gray;
67
- }
68
-
69
- &.is-active {
70
- background-color: $ac-primary;
71
- color: $white-100;
72
- }
73
- }
74
-
75
- label {
76
- padding: 8px 16px;
77
- border-bottom: 1px solid $color-border;
78
- text-transform: uppercase;
79
- font-weight: 400;
80
- color: #616161;
81
- }
82
- }
83
- }
84
- </style>