@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 +4 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
1
2
|
import { Accordion as Accordion$1, AspectRatio as AspectRatio$1, Collapsible as Collapsible$1, Popover as Popover$1, NavigationMenu as NavigationMenu$1, Dialog as Dialog$1, ContextMenu as ContextMenu$1, HoverCard as HoverCard$1, Avatar as Avatar$1, Slot, Checkbox as Checkbox$1, Label as Label$1, Progress as Progress$1, RadioGroup as RadioGroup$1, ScrollArea as ScrollArea$1, Separator as Separator$1, Slider as Slider$1, Switch as Switch$1, Tabs as Tabs$1, Select as Select$1, AlertDialog as AlertDialog$1, DropdownMenu as DropdownMenu$1, Tooltip as Tooltip$1 } from 'radix-ui';
|
|
2
3
|
import { ChevronDown, ChevronRight, MoreHorizontal, ChevronLeft, CheckIcon, Calendar as Calendar$1, Circle, X, PanelLeft, Loader2, ChevronDownIcon, ChevronUpIcon, XIcon, Search, Check, ChevronRightIcon } from 'lucide-react';
|
|
3
4
|
import { clsx } from 'clsx';
|
|
@@ -1566,7 +1567,7 @@ function Slider({
|
|
|
1566
1567
|
{
|
|
1567
1568
|
"data-slot": "slider",
|
|
1568
1569
|
defaultValue,
|
|
1569
|
-
value,
|
|
1570
|
+
...value !== void 0 ? { value } : {},
|
|
1570
1571
|
min,
|
|
1571
1572
|
max,
|
|
1572
1573
|
className: cn(
|
|
@@ -1579,7 +1580,7 @@ function Slider({
|
|
|
1579
1580
|
Slider$1.Track,
|
|
1580
1581
|
{
|
|
1581
1582
|
"data-slot": "slider-track",
|
|
1582
|
-
className: "relative h-1.5 w-full grow overflow-hidden rounded-full bg-primary/
|
|
1583
|
+
className: "relative h-1.5 w-full grow overflow-hidden rounded-full bg-primary/40",
|
|
1583
1584
|
children: /* @__PURE__ */ jsx(
|
|
1584
1585
|
Slider$1.Range,
|
|
1585
1586
|
{
|
|
@@ -1593,7 +1594,7 @@ function Slider({
|
|
|
1593
1594
|
Slider$1.Thumb,
|
|
1594
1595
|
{
|
|
1595
1596
|
"data-slot": "slider-thumb",
|
|
1596
|
-
className: "block size-4 rounded-full border border-primary
|
|
1597
|
+
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"
|
|
1597
1598
|
},
|
|
1598
1599
|
index
|
|
1599
1600
|
))
|