vira 26.5.1 → 26.5.3
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.
|
@@ -97,7 +97,6 @@ export const ViraPopUpTrigger = defineViraElement()({
|
|
|
97
97
|
display: flex;
|
|
98
98
|
flex-direction: column;
|
|
99
99
|
align-items: flex-start;
|
|
100
|
-
overflow: hidden;
|
|
101
100
|
|
|
102
101
|
/* highest possible z-index */
|
|
103
102
|
z-index: 2147483647;
|
|
@@ -106,6 +105,10 @@ export const ViraPopUpTrigger = defineViraElement()({
|
|
|
106
105
|
pointer-events: auto;
|
|
107
106
|
max-width: 100%;
|
|
108
107
|
}
|
|
108
|
+
|
|
109
|
+
&.right-aligned {
|
|
110
|
+
align-items: flex-end;
|
|
111
|
+
}
|
|
109
112
|
}
|
|
110
113
|
|
|
111
114
|
.open-upwards .pop-up-positioner {
|
|
@@ -263,7 +266,12 @@ export const ViraPopUpTrigger = defineViraElement()({
|
|
|
263
266
|
<div class="dropdown-trigger">
|
|
264
267
|
<slot name=${slotNames.trigger}></slot>
|
|
265
268
|
</div>
|
|
266
|
-
<div
|
|
269
|
+
<div
|
|
270
|
+
class="pop-up-positioner ${classMap({
|
|
271
|
+
'right-aligned': inputs.horizontalAnchor === HorizontalAnchor.Right,
|
|
272
|
+
})}"
|
|
273
|
+
style=${positionerStyles}
|
|
274
|
+
>
|
|
267
275
|
${renderIf(!!state.showPopUpResult, html `
|
|
268
276
|
<slot name=${slotNames.popUp}></slot>
|
|
269
277
|
`)}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vira",
|
|
3
|
-
"version": "26.5.
|
|
3
|
+
"version": "26.5.3",
|
|
4
4
|
"description": "A simple and highly versatile design system using element-vir.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"design",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"vite-tsconfig-paths": "^5.1.4"
|
|
68
68
|
},
|
|
69
69
|
"peerDependencies": {
|
|
70
|
-
"element-vir": "^26.5.
|
|
70
|
+
"element-vir": "^26.5.3"
|
|
71
71
|
},
|
|
72
72
|
"engines": {
|
|
73
73
|
"node": ">=22"
|