@helpwave/hightide 0.8.5 → 0.8.7

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.mjs CHANGED
@@ -9563,21 +9563,23 @@ var Tooltip = ({
9563
9563
  containerClassName,
9564
9564
  alignment,
9565
9565
  isAnimated,
9566
- ...props
9566
+ onIsShownChange,
9567
+ displayProps
9567
9568
  }) => {
9568
9569
  return /* @__PURE__ */ jsxs6(
9569
9570
  TooltipRoot,
9570
9571
  {
9571
9572
  isInitiallyShown,
9573
+ onIsShownChange,
9572
9574
  appearDelay,
9573
9575
  disabled,
9574
9576
  children: [
9575
- /* @__PURE__ */ jsx16(TooltipTrigger, { children: ({ props: props2, callbackRef, disabled: disabled2 }) => /* @__PURE__ */ jsx16(
9577
+ /* @__PURE__ */ jsx16(TooltipTrigger, { children: ({ props, callbackRef, disabled: disabled2 }) => /* @__PURE__ */ jsx16(
9576
9578
  "div",
9577
9579
  {
9578
9580
  ref: callbackRef,
9579
9581
  className: containerClassName,
9580
- ...disabled2 ? void 0 : props2,
9582
+ ...disabled2 ? void 0 : props,
9581
9583
  children
9582
9584
  }
9583
9585
  ) }),
@@ -9586,7 +9588,7 @@ var Tooltip = ({
9586
9588
  {
9587
9589
  alignment,
9588
9590
  isAnimated,
9589
- ...props,
9591
+ ...displayProps,
9590
9592
  children: tooltip
9591
9593
  }
9592
9594
  )
@@ -10280,9 +10282,10 @@ var Expandable = forwardRef7(function Expandable2({
10280
10282
  trigger,
10281
10283
  triggerProps,
10282
10284
  contentProps,
10283
- contentExpandedClassName
10285
+ contentExpandedClassName,
10286
+ ...props
10284
10287
  }, ref) {
10285
- return /* @__PURE__ */ jsxs9(ExpandableRoot, { ref, children: [
10288
+ return /* @__PURE__ */ jsxs9(ExpandableRoot, { ref, ...props, children: [
10286
10289
  /* @__PURE__ */ jsx20(ExpandableHeader, { ...triggerProps, children: trigger }),
10287
10290
  /* @__PURE__ */ jsx20(ExpandableContext.Consumer, { children: (ctx) => /* @__PURE__ */ jsx20(
10288
10291
  ExpandableContent,
@@ -14642,7 +14645,7 @@ var formatRelative = (date, locale) => {
14642
14645
  if (Math.abs(diffInSeconds) < timesInSeconds.week) return rtf.format(Math.round(diffInSeconds / timesInSeconds.day), "day");
14643
14646
  if (Math.abs(diffInSeconds) < timesInSeconds.monthImprecise) return rtf.format(Math.round(diffInSeconds / timesInSeconds.week), "week");
14644
14647
  if (Math.abs(diffInSeconds) < timesInSeconds.yearImprecise) return rtf.format(Math.round(diffInSeconds / timesInSeconds.monthImprecise), "month");
14645
- return rtf.format(Math.round(diffInSeconds / timesInSeconds.monthImprecise), "year");
14648
+ return rtf.format(Math.round(diffInSeconds / timesInSeconds.yearImprecise), "year");
14646
14649
  };
14647
14650
  var toInputString = (date, format) => {
14648
14651
  switch (format) {