@c-rex/ui 0.3.0-build.40 → 0.3.0-build.42

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.40",
3
+ "version": "0.3.0-build.42",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "src"
@@ -147,13 +147,14 @@ function InputGroupText({ className, ...props }: React.ComponentProps<"span">) {
147
147
  )
148
148
  }
149
149
 
150
- function InputGroupInput({
151
- className,
152
- ...props
153
- }: React.ComponentProps<typeof Input>) {
150
+ const InputGroupInput = React.forwardRef<
151
+ HTMLInputElement,
152
+ React.ComponentProps<typeof Input>
153
+ >(({ className, ...props }, ref) => {
154
154
  return (
155
155
  <Input
156
156
  data-slot="input-group-control"
157
+ ref={ref}
157
158
  className={cn(
158
159
  "flex-1 rounded-none border-0 bg-transparent shadow-none focus-visible:ring-0 dark:bg-transparent",
159
160
  className
@@ -161,7 +162,9 @@ function InputGroupInput({
161
162
  {...props}
162
163
  />
163
164
  )
164
- }
165
+ })
166
+ InputGroupInput.displayName = "InputGroupInput"
167
+
165
168
 
166
169
  function InputGroupTextarea({
167
170
  className,