@c-rex/ui 0.3.0-build.67 → 0.3.0-build.70

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@c-rex/ui",
3
- "version": "0.3.0-build.67",
3
+ "version": "0.3.0-build.70",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "src"
@@ -169,11 +169,11 @@
169
169
  "@c-rex/typescript-config": "*",
170
170
  "@turbo/gen": "^2.4.4",
171
171
  "@types/node": "^22.13.10",
172
- "@types/react": "19.0.10",
173
- "@types/react-dom": "19.0.4",
172
+ "@types/react": "18.3.31",
173
+ "@types/react-dom": "18.3.7",
174
174
  "eslint": "^9.23.0",
175
175
  "shadcn": "^2.5.0",
176
- "typescript": "latest"
176
+ "typescript": "5.8.2"
177
177
  },
178
178
  "dependencies": {
179
179
  "@c-rex/constants": "*",
package/src/input.tsx CHANGED
@@ -19,7 +19,7 @@ const inputVariants = cva(
19
19
  }
20
20
  )
21
21
 
22
- interface InputProps
22
+ export interface InputProps
23
23
  extends React.ComponentProps<"input">,
24
24
  VariantProps<typeof inputVariants> {
25
25
  asChild?: boolean;
@@ -67,12 +67,13 @@ function PaginationLink({
67
67
 
68
68
  function PaginationPrevious({
69
69
  className,
70
+ size = "default",
70
71
  ...props
71
72
  }: React.ComponentProps<typeof PaginationLink>) {
72
73
  return (
73
74
  <PaginationLink
74
75
  aria-label="Go to previous page"
75
- size="default"
76
+ size={size}
76
77
  className={cn("gap-1 px-2.5 sm:pl-2.5", className)}
77
78
  {...props}
78
79
  >
@@ -83,12 +84,13 @@ function PaginationPrevious({
83
84
 
84
85
  function PaginationNext({
85
86
  className,
87
+ size = "default",
86
88
  ...props
87
89
  }: React.ComponentProps<typeof PaginationLink>) {
88
90
  return (
89
91
  <PaginationLink
90
92
  aria-label="Go to next page"
91
- size="default"
93
+ size={size}
92
94
  className={cn("gap-1 px-2.5 sm:pr-2.5", className)}
93
95
  {...props}
94
96
  >