@jamsrui/slider 0.0.18 → 0.0.20

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/styles.d.mts CHANGED
@@ -15,9 +15,7 @@ declare const slider: _jamsrui_utils.TVReturnType<{
15
15
  };
16
16
  };
17
17
  isDisabled: {
18
- true: {
19
- root: string;
20
- };
18
+ true: {};
21
19
  };
22
20
  }, {
23
21
  root: string;
@@ -40,9 +38,7 @@ declare const slider: _jamsrui_utils.TVReturnType<{
40
38
  };
41
39
  };
42
40
  isDisabled: {
43
- true: {
44
- root: string;
45
- };
41
+ true: {};
46
42
  };
47
43
  }, {
48
44
  root: string;
@@ -65,9 +61,7 @@ declare const slider: _jamsrui_utils.TVReturnType<{
65
61
  };
66
62
  };
67
63
  isDisabled: {
68
- true: {
69
- root: string;
70
- };
64
+ true: {};
71
65
  };
72
66
  }, {
73
67
  root: string;
package/dist/styles.mjs CHANGED
@@ -1 +1 @@
1
- import{tv as o}from"@jamsrui/utils";const e=o({slots:{root:"relative flex touch-none select-none items-center",control:"flex items-center",track:"relative h-5 w-full grow overflow-hidden rounded-full bg-neutral-200 dark:bg-neutral-800",indicator:"absolute h-full bg-primary",thumb:"block h-5 w-5 rounded-full border-2 border-primary bg-background ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",value:"text-sm"},variants:{orientation:{horizontal:{root:"w-full",control:"w-full"},vertical:{control:"h-full",root:"h-full flex-col",track:"h-full w-5",indicator:"w-full bottom-0"}},isDisabled:{true:{root:"opacity-50 cursor-not-allowed"}}},defaultVariants:{orientation:"horizontal"}});export{e as slider};
1
+ import{tv as o}from"@jamsrui/utils";const t=o({slots:{root:"relative flex touch-none select-none items-center",control:"flex items-center",track:"relative h-5 w-full grow overflow-hidden rounded-full bg-neutral-200 dark:bg-neutral-800",indicator:"absolute h-full bg-primary",thumb:"block h-5 w-5 rounded-full border-2 border-primary bg-background ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:status-disabled",value:"text-sm"},variants:{orientation:{horizontal:{root:"w-full",control:"w-full"},vertical:{control:"h-full",root:"h-full flex-col",track:"h-full w-5",indicator:"w-full bottom-0"}},isDisabled:{true:{}}},defaultVariants:{orientation:"horizontal"}});export{t as slider};
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@jamsrui/slider",
3
- "version": "0.0.18",
3
+ "version": "0.0.20",
4
4
  "peerDependencies": {
5
5
  "react": ">=19"
6
6
  },
7
7
  "dependencies": {
8
- "@jamsrui/hooks": "^0.0.18",
9
- "@jamsrui/core": "^0.0.14",
10
- "@jamsrui/utils": "^0.0.18"
8
+ "@jamsrui/hooks": "^0.0.20",
9
+ "@jamsrui/core": "^0.0.16",
10
+ "@jamsrui/utils": "^0.0.20"
11
11
  },
12
12
  "exports": {
13
13
  ".": {