@privateers/ui 0.2.0 → 0.3.1

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
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  'use strict';
2
3
 
3
4
  var radixUi = require('radix-ui');
@@ -1587,7 +1588,7 @@ function Slider({
1587
1588
  {
1588
1589
  "data-slot": "slider",
1589
1590
  defaultValue,
1590
- value,
1591
+ ...value !== void 0 ? { value } : {},
1591
1592
  min,
1592
1593
  max,
1593
1594
  className: cn(
@@ -1600,7 +1601,7 @@ function Slider({
1600
1601
  radixUi.Slider.Track,
1601
1602
  {
1602
1603
  "data-slot": "slider-track",
1603
- className: "relative h-1.5 w-full grow overflow-hidden rounded-full bg-primary/20",
1604
+ className: "relative h-1.5 w-full grow overflow-hidden rounded-full bg-primary/40",
1604
1605
  children: /* @__PURE__ */ jsxRuntime.jsx(
1605
1606
  radixUi.Slider.Range,
1606
1607
  {
@@ -1614,7 +1615,7 @@ function Slider({
1614
1615
  radixUi.Slider.Thumb,
1615
1616
  {
1616
1617
  "data-slot": "slider-thumb",
1617
- 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"
1618
+ className: "block size-4 rounded-full border-2 border-primary bg-background shadow transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50"
1618
1619
  },
1619
1620
  index
1620
1621
  ))