@auronui/vue 1.0.8 → 1.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.
@@ -15246,6 +15246,15 @@ var SelectContent_default = /* @__PURE__ */ (0, vue.defineComponent)({
15246
15246
  const props = __props;
15247
15247
  const ctx = useSelectInject();
15248
15248
  const rootContext = (0, reka_ui.injectSelectRootContext)();
15249
+ const justOpened = (0, vue.ref)(false);
15250
+ (0, vue.watch)(() => rootContext.open.value, (open) => {
15251
+ if (open) {
15252
+ justOpened.value = true;
15253
+ setTimeout(() => {
15254
+ justOpened.value = false;
15255
+ }, 100);
15256
+ }
15257
+ });
15249
15258
  return (_ctx, _cache) => {
15250
15259
  return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(reka_ui.SelectPortal), null, {
15251
15260
  default: (0, vue.withCtx)(() => [(0, vue.createVNode)((0, vue.unref)(AnimatePresence_default), null, {
@@ -15255,7 +15264,7 @@ var SelectContent_default = /* @__PURE__ */ (0, vue.defineComponent)({
15255
15264
  "data-slot": "popover"
15256
15265
  }, {
15257
15266
  default: (0, vue.withCtx)(() => [(0, vue.withDirectives)((0, vue.createVNode)((0, vue.unref)(motion).div, {
15258
- class: (0, vue.normalizeClass)((0, vue.unref)(ctx).slots.value.popover()),
15267
+ class: (0, vue.normalizeClass)([(0, vue.unref)(ctx).slots.value.popover(), { "select__popover--opening": justOpened.value }]),
15259
15268
  animate: (0, vue.unref)(rootContext).open.value ? {
15260
15269
  opacity: 1,
15261
15270
  scale: 1