@luckydye/calendar 1.0.1 → 1.0.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.
Files changed (2) hide show
  1. package/dist/calendar.js +7 -3
  2. package/package.json +1 -1
package/dist/calendar.js CHANGED
@@ -3052,7 +3052,11 @@ De.styles = Wn`
3052
3052
  isShowing: { type: Boolean }
3053
3053
  };
3054
3054
  let Ve = De;
3055
- customElements.define("status-message", Ve);
3055
+ try {
3056
+ customElements.define("status-message", Ve);
3057
+ } catch (i) {
3058
+ console.error("Failed to register custom element:", i);
3059
+ }
3056
3060
  const zt = 100, ye = 3e3, Y = 60, Pn = 12, be = 20, rn = class rn extends Bt {
3057
3061
  constructor() {
3058
3062
  super(), this._dayHeight = zt, this._scrollTop = 0, this.viewportHeight = 0, this.currentTime = /* @__PURE__ */ new Date(), this.selection = null, this.canvas = null, this.ctx = null, this.overlayCanvas = null, this.overlayCtx = null, this.minimapBufferCanvas = null, this.minimapBufferCtx = null, this.stripePatternCanvas = null, this.scrollContainer = null, this.scrollContent = null, this.resizeObserver = null, this.totalHeight = 0, this.isDraggingZoom = !1, this.zoomDragStartY = 0, this.zoomDragStartHeight = 0, this.zoomOriginY = 0, this.zoomViewportY = 0, this.isPanning = !1, this.panStartX = 0, this.panStartY = 0, this.panStartScrollTop = 0, this.isSelecting = !1, this.selectionStartX = 0, this.selectionStartY = 0, this.potentialSelectionStart = null, this.selectionModifierKey = !1, this.cursorPosition = null, this.animationFrame = null, this.isDraggingMinimap = !1, this.isFiltered = !1, this.timeUpdateInterval = null, this.isExtendingRange = !1, this.isCreatingEvent = !1, this.eventCreationStart = null, this.eventCreationEnd = null, this.eventCreationShiftPressed = !1, this.eventCreationPreviousShiftPressed = !1, this.eventCreationInitialDuration = null, this.movingEvent = null, this.movingEventOrigin = null, this.movingEventEnd = null, this.isDraggingEvent = !1, this.movingEventDuplicateMode = !1, this.movingEventMouseEvent = null, this.isDraggingFile = !1, this.resizingEvent = null, this.resizingEdge = null, this.resizingOriginalStart = null, this.resizingOriginalEnd = null, this.isResizingEvent = !1, this.historyStack = [], this.historyIndex = 0, this.saveHistoryTimeout = null, this.weeks = [], this.events = [], this.eventRects = [], this.hoveredEventId = null, this.selectedEventForDetail = null, this.selectedEventRect = null, this.updateEventTimeout = null, this.currentTheme = Ls(), this.activeCalendarColor = null, this.scrollToToday = () => {
@@ -4952,7 +4956,7 @@ rn.styles = Wn`
4952
4956
  border: 1px solid var(--grid-color, rgba(255, 255, 255, 0.1));
4953
4957
  flex-shrink: 0;
4954
4958
  gap: 16px;
4955
- position: fixed;
4959
+ position: absolute;
4956
4960
  bottom: 3rem;
4957
4961
  left: .5rem;
4958
4962
  right: 0.5rem;
@@ -5222,7 +5226,7 @@ rn.styles = Wn`
5222
5226
  }
5223
5227
 
5224
5228
  .status-bar {
5225
- position: fixed;
5229
+ position: absolute;
5226
5230
  bottom: 0;
5227
5231
  width: 100%;
5228
5232
  z-index: 10;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luckydye/calendar",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "author": "Tim Havlicek",
5
5
  "contributors": [],
6
6
  "description": "",