@weni/unnnic-system 3.11.1-alpha.4 → 3.11.1-alpha.5

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": "@weni/unnnic-system",
3
- "version": "3.11.1-alpha.4",
3
+ "version": "3.11.1-alpha.5",
4
4
  "type": "commonjs",
5
5
  "files": [
6
6
  "dist",
@@ -9,7 +9,15 @@
9
9
  :showOverlay="!withoutOverlay"
10
10
  data-testid="drawer-container"
11
11
  :size="mappedSize"
12
- :class="['unnnic-drawer__container', `unnnic-drawer__container--${size}`]"
12
+ :class="
13
+ [
14
+ 'unnnic-drawer__container',
15
+ `unnnic-drawer__container--${size}`,
16
+ props.class,
17
+ ]
18
+ .filter(Boolean)
19
+ .join(' ')
20
+ "
13
21
  >
14
22
  <DrawerHeader class="unnnic-drawer__header">
15
23
  <section class="unnnic-drawer__title-container">
@@ -160,6 +168,10 @@ const props = defineProps({
160
168
  type: Boolean,
161
169
  default: false,
162
170
  },
171
+ class: {
172
+ type: String,
173
+ default: '',
174
+ },
163
175
  });
164
176
 
165
177
  const emit = defineEmits([
@@ -74,7 +74,6 @@ const ConditionalWrapper: Component = (_, { slots }) => {
74
74
  position: fixed;
75
75
  top: 0;
76
76
  left: 0;
77
- z-index: 9999;
78
77
 
79
78
  width: 100vw;
80
79
  height: 100vh;
@@ -82,8 +81,6 @@ const ConditionalWrapper: Component = (_, { slots }) => {
82
81
  }
83
82
 
84
83
  .unnnic-dialog-content {
85
- z-index: 10000;
86
-
87
84
  position: fixed;
88
85
  top: 50%;
89
86
  left: 50%;
@@ -87,8 +87,6 @@ const footerChildren = computed(() => {
87
87
  $popover-space: $unnnic-space-4;
88
88
 
89
89
  .unnnic-popover {
90
- z-index: 10000;
91
-
92
90
  border-radius: $unnnic-radius-2;
93
91
  box-shadow: $unnnic-shadow-1;
94
92