@opendesign-plus/components 0.0.1-rc.51 → 0.0.1-rc.53

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.
@@ -705,6 +705,13 @@
705
705
  color: var(--o-color-white);
706
706
  height: 16px;
707
707
  }
708
+ @media (min-width: 841px) {
709
+ .o-meeting-calendar .calendar-body .calender .el-calendar-day .out-box .icon-box {
710
+ position: absolute;
711
+ left: 12px;
712
+ bottom: 8px;
713
+ }
714
+ }
708
715
  .o-meeting-calendar .calendar-body .calender .el-calendar-day .out-box .icon-box .o-icon {
709
716
  flex-shrink: 0;
710
717
  position: relative;
@@ -1,4 +1,4 @@
1
- import { defineComponent, computed, ref, watch, onMounted, nextTick, onBeforeUnmount, openBlock, createElementBlock, createElementVNode, toDisplayString, unref, createVNode, withCtx, createTextVNode, createCommentVNode, normalizeClass, createBlock, normalizeStyle, Fragment, renderList, resolveDynamicComponent, renderSlot } from "vue";
1
+ import { defineComponent, computed, ref, watch, nextTick, onMounted, onBeforeUnmount, openBlock, createElementBlock, createElementVNode, toDisplayString, unref, createVNode, withCtx, createTextVNode, createCommentVNode, normalizeClass, createBlock, normalizeStyle, Fragment, renderList, resolveDynamicComponent, renderSlot } from "vue";
2
2
  import { isClient, OButton, OIcon, OIconChevronLeft, OIconChevronRight, OSelect, OOption, OTab, OTabPane, OScroller, OResult, OFigure } from "@opensig/opendesign";
3
3
  import dayjs from "dayjs";
4
4
  import { ElCalendar } from "element-plus";
@@ -290,8 +290,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
290
290
  if (!containerWidth) return;
291
291
  tabEl.classList.add("measuring");
292
292
  const fullWidth = measureEl.getBoundingClientRect().width;
293
- tabEl.classList.remove("measuring");
294
- tabEl.classList.toggle("hide-icons", fullWidth > containerWidth);
293
+ nextTick(() => {
294
+ tabEl.classList.remove("measuring");
295
+ tabEl.classList.toggle("hide-icons", fullWidth > containerWidth - 32);
296
+ });
295
297
  }, 120);
296
298
  onMounted(() => {
297
299
  getCalendarHeight();
@@ -194,8 +194,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
194
194
  if (!containerWidth) return;
195
195
  tabEl.classList.add("measuring");
196
196
  const fullWidth = measureEl.getBoundingClientRect().width;
197
- tabEl.classList.remove("measuring");
198
- tabEl.classList.toggle("hide-icons", fullWidth > containerWidth);
197
+ nextTick(() => {
198
+ tabEl.classList.remove("measuring");
199
+ tabEl.classList.toggle("hide-icons", fullWidth > containerWidth - 32);
200
+ });
199
201
  }, 120);
200
202
  onMounted(() => {
201
203
  getDates();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opendesign-plus/components",
3
- "version": "0.0.1-rc.51",
3
+ "version": "0.0.1-rc.53",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -45,8 +45,8 @@
45
45
  "vue-dompurify-html": "^3.1.2",
46
46
  "vue": "^3.5.13",
47
47
  "element-plus": "2.13.1",
48
- "@opendesign-plus/styles": "0.0.1-rc.2",
49
- "@opendesign-plus/composables": "0.0.1-rc.10"
48
+ "@opendesign-plus/composables": "0.0.1-rc.10",
49
+ "@opendesign-plus/styles": "0.0.1-rc.2"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@vitejs/plugin-vue": "^5.2.1",