@burh/nuxt-core 1.1.5 → 1.1.6

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.
@@ -34,6 +34,7 @@
34
34
  v-show="isDropdownOpen"
35
35
  class="filter__dropdown"
36
36
  ref="dropdownContainer"
37
+ :style="`--filter-dropdown-width: ${dropdownWidth}px`"
37
38
  >
38
39
  <div class="filter__dropdown__content">
39
40
  <slot name="dropdown-content" />
@@ -70,6 +71,10 @@ export default {
70
71
  baseColor: {
71
72
  type: String,
72
73
  default: '#5865F2'
74
+ },
75
+ dropdownWidth: {
76
+ type: String,
77
+ default: '350'
73
78
  }
74
79
  },
75
80
  data() {
@@ -183,8 +188,10 @@ export default {
183
188
  z-index: 100;
184
189
  margin-bottom: 10px;
185
190
  .filter__dropdown {
191
+ $width: var(--filter-dropdown-width);
192
+
186
193
  position: absolute;
187
- width: 350px;
194
+ width: $width;
188
195
  left: calc(50% + (10px / 2));
189
196
  transform: translateX(-50%);
190
197
  margin-top: 10px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@burh/nuxt-core",
3
- "version": "1.1.5",
3
+ "version": "1.1.6",
4
4
  "description": "Design System and Components.",
5
5
  "author": "Burh",
6
6
  "private": false,