vira 26.5.1 → 26.5.2

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.
@@ -106,6 +106,10 @@ export const ViraPopUpTrigger = defineViraElement()({
106
106
  pointer-events: auto;
107
107
  max-width: 100%;
108
108
  }
109
+
110
+ &.right-aligned {
111
+ align-items: flex-end;
112
+ }
109
113
  }
110
114
 
111
115
  .open-upwards .pop-up-positioner {
@@ -263,7 +267,12 @@ export const ViraPopUpTrigger = defineViraElement()({
263
267
  <div class="dropdown-trigger">
264
268
  <slot name=${slotNames.trigger}></slot>
265
269
  </div>
266
- <div class="pop-up-positioner" style=${positionerStyles}>
270
+ <div
271
+ class="pop-up-positioner ${classMap({
272
+ 'right-aligned': inputs.horizontalAnchor === HorizontalAnchor.Right,
273
+ })}"
274
+ style=${positionerStyles}
275
+ >
267
276
  ${renderIf(!!state.showPopUpResult, html `
268
277
  <slot name=${slotNames.popUp}></slot>
269
278
  `)}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vira",
3
- "version": "26.5.1",
3
+ "version": "26.5.2",
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.1"
70
+ "element-vir": "^26.5.2"
71
71
  },
72
72
  "engines": {
73
73
  "node": ">=22"