@wow-two-beta/ui 0.0.68 → 0.0.69

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.
@@ -1,4 +1,4 @@
1
- import { Kbd, addDays, MONTHS_LONG, startOfDay, WEEKDAYS_SHORT, isToday, addMonths, isSameDay } from './chunk-3BKZLK7D.js';
1
+ import { Kbd, MONTHS_LONG, WEEKDAYS_SHORT } from './chunk-EKGOQL75.js';
2
2
  import { Inline } from './chunk-WKVWOAQV.js';
3
3
  import { useClipboard, useControlled, useReducedMotion } from './chunk-RNHY33US.js';
4
4
  import { Icon } from './chunk-D7ZFCHX5.js';
@@ -4194,6 +4194,27 @@ var Gantt = forwardRef(function Gantt2({
4194
4194
  }
4195
4195
  );
4196
4196
  });
4197
+ function startOfDay(d) {
4198
+ const c = new Date(d);
4199
+ c.setHours(0, 0, 0, 0);
4200
+ return c;
4201
+ }
4202
+ function isSameDay(a, b) {
4203
+ return a.getFullYear() === b.getFullYear() && a.getMonth() === b.getMonth() && a.getDate() === b.getDate();
4204
+ }
4205
+ function isToday(d) {
4206
+ return isSameDay(d, /* @__PURE__ */ new Date());
4207
+ }
4208
+ function addDays(d, n) {
4209
+ const c = new Date(d);
4210
+ c.setDate(c.getDate() + n);
4211
+ return c;
4212
+ }
4213
+ function addMonths(d, n) {
4214
+ const c = new Date(d);
4215
+ c.setMonth(d.getMonth() + n, d.getDate());
4216
+ return c;
4217
+ }
4197
4218
  function startOfWeek(d, weekStart) {
4198
4219
  const c = startOfDay(d);
4199
4220
  const diff = (c.getDay() - weekStart + 7) % 7;
@@ -5945,5 +5966,5 @@ var Sortable = Object.assign(SortableRoot, {
5945
5966
  });
5946
5967
 
5947
5968
  export { Accordion2 as Accordion, AccordionContent, AccordionItem, AccordionTrigger, ActivityFeed, ActivityItem, AnimatedNumber, AnnotationMarker, AudioPlayer, AudioWaveform, Avatar, AvatarGroup, Badge, BadgeOverlay, Card, Carousel2 as Carousel, CarouselDot, CarouselDots, CarouselNext, CarouselPrev, CarouselSlide, CarouselSlides, CarouselViewport, ChatBubble, Code, Collapsible2 as Collapsible, CollapsibleContent, CollapsibleTrigger, Comment, CommentThread, Confetti, CountBadge, CountUp, DataGrid, DataTable, DaySeparator, DescriptionList, DiffViewer, EmptyState, EventCalendar, Eyebrow, FeatureCard, Gantt, GradientText, Heading, HeatmapCalendar, Highlight, Image, InfoRow, KeyboardShortcut, List2 as List, ListItem, Mark, Marquee, MessageList, MetaInline, MetricChip, NodeEditor, NotificationDot, PDFViewer, PricingCard, Quote, ReactionBar, ScheduleView, ScrollReveal, SectionHeader, Separator, Snippet, Sortable, Sparkline, Stat, Status, StepCard, SwipeActions, Table2 as Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeaderCell, TableRow, Tabs2 as Tabs, TabsList, TabsPanel, TabsTab, Text, ThreadView, Tilt, Timeline2 as Timeline, TimelineDescription, TimelineItem, TimelineTitle, Tree2 as Tree, TreeGroup, TreeItem, Typewriter, VideoPlayer, avatarVariants, badgeVariants, codeVariants, headingVariants, textVariants };
5948
- //# sourceMappingURL=chunk-D5QVCOX5.js.map
5949
- //# sourceMappingURL=chunk-D5QVCOX5.js.map
5969
+ //# sourceMappingURL=chunk-X3JVVEUJ.js.map
5970
+ //# sourceMappingURL=chunk-X3JVVEUJ.js.map