@privateers/ui 0.3.17 → 0.3.18

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.cjs CHANGED
@@ -949,18 +949,18 @@ function PaginationItem({
949
949
  function PaginationLink({
950
950
  className,
951
951
  isActive,
952
- size = "icon",
953
952
  ...props
954
953
  }) {
955
- const variant = isActive ? "outline" : "ghost";
956
954
  return /* @__PURE__ */ jsxRuntime.jsx(
957
955
  "button",
958
956
  {
959
957
  "aria-current": isActive ? "page" : void 0,
960
958
  "data-slot": "pagination-link",
961
- "data-variant": variant,
962
959
  className: cn(
963
- buttonVariants({ variant, size }),
960
+ buttonVariants({
961
+ variant: isActive ? "outline" : "ghost",
962
+ size: "icon"
963
+ }),
964
964
  className
965
965
  ),
966
966
  ...props
@@ -975,7 +975,6 @@ function PaginationPrevious({
975
975
  PaginationLink,
976
976
  {
977
977
  "aria-label": "Go to previous page",
978
- size: "default",
979
978
  "data-slot": "pagination-previous",
980
979
  className: cn("gap-1 pl-2.5", className),
981
980
  ...props,
@@ -994,7 +993,6 @@ function PaginationNext({
994
993
  PaginationLink,
995
994
  {
996
995
  "aria-label": "Go to next page",
997
- size: "default",
998
996
  "data-slot": "pagination-next",
999
997
  className: cn("gap-1 pr-2.5", className),
1000
998
  ...props,
@@ -1590,7 +1588,7 @@ function Slider({
1590
1588
  {
1591
1589
  "data-slot": "slider",
1592
1590
  defaultValue,
1593
- ...value !== void 0 ? { value } : {},
1591
+ value,
1594
1592
  min,
1595
1593
  max,
1596
1594
  className: cn(
@@ -1603,7 +1601,7 @@ function Slider({
1603
1601
  radixUi.Slider.Track,
1604
1602
  {
1605
1603
  "data-slot": "slider-track",
1606
- className: "relative h-1.5 w-full grow overflow-hidden rounded-full bg-primary/40",
1604
+ className: "relative h-1.5 w-full grow overflow-hidden rounded-full bg-primary/20",
1607
1605
  children: /* @__PURE__ */ jsxRuntime.jsx(
1608
1606
  radixUi.Slider.Range,
1609
1607
  {
@@ -1617,7 +1615,7 @@ function Slider({
1617
1615
  radixUi.Slider.Thumb,
1618
1616
  {
1619
1617
  "data-slot": "slider-thumb",
1620
- className: "block size-4 rounded-full border-2 border-primary bg-primary-foreground shadow transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50"
1618
+ className: "block size-4 rounded-full border border-primary/50 bg-background shadow transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50"
1621
1619
  },
1622
1620
  index
1623
1621
  ))
@@ -1766,7 +1764,7 @@ function Switch({
1766
1764
  "data-slot": "switch-thumb",
1767
1765
  className: cn(
1768
1766
  "pointer-events-none block size-4 rounded-full bg-background shadow-lg ring-0 transition-transform",
1769
- "data-[state=checked]:translate-x-4 data-[state=checked]:bg-primary-foreground data-[state=unchecked]:translate-x-0"
1767
+ "data-[state=checked]:translate-x-4 data-[state=unchecked]:translate-x-0"
1770
1768
  )
1771
1769
  }
1772
1770
  )