@dayflow/core 3.1.1 → 3.1.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.
package/dist/index.d.ts CHANGED
@@ -1998,13 +1998,14 @@ declare const formatTemporal: (value: Temporal.ZonedDateTime, format: string, ti
1998
1998
  */
1999
1999
  declare function normalizeCssWidth(width?: number | string, defaultWidth?: string): string;
2000
2000
  /**
2001
- * Check if the browser's scrollbar takes up space in the layout.
2001
+ * Check if the calendar's scrollbar takes up space in the layout.
2002
2002
  *
2003
- * Some browsers (like Safari on macOS with "Show scroll bars: When scrolling" setting)
2004
- * use overlay scrollbars that don't take up space, while others (like Chrome on Windows)
2005
- * use scrollbars that reduce the available width of the container.
2003
+ * Tests inside a .df-calendar-container element so the library's scoped
2004
+ * scrollbar CSS applies (scrollbar-width: thin; ::-webkit-scrollbar { width: 2px }).
2005
+ * Also overrides any host-app CSS that hides scrollbars (e.g. display: none),
2006
+ * since we need to measure the actual rendered scrollbar width.
2006
2007
  *
2007
- * @returns true if scrollbar takes space, false otherwise
2008
+ * @returns true if the calendar scrollbar takes space, false otherwise
2008
2009
  */
2009
2010
  declare function scrollbarTakesSpace(): boolean;
2010
2011