@codapet/design-system 0.4.5 → 0.4.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
@@ -2500,7 +2500,7 @@ function DateRangeInput({
2500
2500
  onMonthChange: onMonthChange ?? setMonthState,
2501
2501
  showOutsideDays,
2502
2502
  className: cn(
2503
- "md:w-auto w-[calc(100vw-50px)] mx-auto h-[350px] overflow-y-auto md:h-auto m-2",
2503
+ "w-auto mx-auto h-[350px] overflow-y-auto md:h-auto m-2",
2504
2504
  calendarClassName
2505
2505
  ),
2506
2506
  classNames,
@@ -2529,7 +2529,7 @@ function DateRangeInput({
2529
2529
  ]
2530
2530
  }
2531
2531
  ) }),
2532
- /* @__PURE__ */ jsxs11(PopoverContent, { className: "p-0 flex flex-col overflow-y-auto max-h-[min(90dvh,520px)] md:w-[350px] w-[var(--radix-popover-trigger-width)] ", children: [
2532
+ /* @__PURE__ */ jsxs11(PopoverContent, { className: "p-0 flex flex-col overflow-y-auto h-[400px] md:h-auto md:w-[350px] ", children: [
2533
2533
  /* @__PURE__ */ jsx23(Calendar, { ...resolvedCalendarProps }),
2534
2534
  /* @__PURE__ */ jsxs11("div", { className: "flex flex-col gap-2 px-2 py-2", children: [
2535
2535
  /* @__PURE__ */ jsx23(
@@ -5156,7 +5156,7 @@ function TabsList({
5156
5156
  {
5157
5157
  "data-slot": "tabs-list",
5158
5158
  className: cn(
5159
- " text-muted-foreground inline-flex h-9 w-fit items-center justify-center rounded-lg p-[3px]",
5159
+ "text-muted-foreground flex h-9 items-center rounded-lg p-[3px] overflow-x-auto",
5160
5160
  className
5161
5161
  ),
5162
5162
  ...props
@@ -5172,7 +5172,7 @@ function TabsTrigger({
5172
5172
  {
5173
5173
  "data-slot": "tabs-trigger",
5174
5174
  className: cn(
5175
- "cursor-pointer data-[state=active]:border-b-2 data-[state=active]:border-brand-normal border-0 border-t-0 rounded-none data-[state=active]:text-black data-[state=active]:font-semibold data-[state=active]:bg-background dark:data-[state=active]:text-white focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 dark:text-muted-foreground inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 px-2 py-[6px] font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 text-zinc-500 font-sans border-b-1 border-b-gray-stroke-light text-sm",
5175
+ "cursor-pointer data-[state=active]:border-b-2 data-[state=active]:border-brand-normal border-0 border-t-0 rounded-none data-[state=active]:text-black data-[state=active]:font-semibold data-[state=active]:bg-background dark:data-[state=active]:text-white focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 dark:text-muted-foreground inline-flex h-[calc(100%-1px)] shrink-0 items-center justify-center gap-1.5 px-2 py-[6px] font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 text-zinc-500 font-sans border-b-1 border-b-gray-stroke-light text-sm",
5176
5176
  className
5177
5177
  ),
5178
5178
  ...props