Skip to content

Commit

Permalink
Merge branch 'merge' of https://github.com/rhinobase/raftyui into merge
Browse files Browse the repository at this point in the history
  • Loading branch information
MathurAditya724 committed Jun 11, 2024
2 parents 148dcbd + 8e6d933 commit 1886f56
Show file tree
Hide file tree
Showing 8 changed files with 8,235 additions and 10,472 deletions.
4 changes: 3 additions & 1 deletion packages/blocks/src/color-picker/ColorPicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ export function ColorPicker() {
id={name}
name={name}
value={value}
onValueChange={({ valueAsString }) => onChange(valueAsString)}
onValueChange={({ valueAsString }: { valueAsString: string }) =>
onChange(valueAsString)
}
disabled={disabled}
ref={ref}
/>
Expand Down
1 change: 0 additions & 1 deletion packages/blocks/src/date-range/DateRange.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
"use client";
import { useThread } from "@fibr/react";
import { RangePicker } from "@rafty/ui";
import React from "react";
import { Controller, useFormContext } from "react-hook-form";
import type { DateRangeFieldProps } from "../types";
import { FieldWrapper, TooltipWrapper } from "../utils";
Expand Down
1 change: 0 additions & 1 deletion packages/blocks/src/editable-number/EditableNumber.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { useThread } from "@fibr/react";
import { EditableNumber as RaftyEditableNumber } from "@rafty/ui";
import React from "react";
import { Controller, useFormContext } from "react-hook-form";
import type { EditableNumberProps } from "../types";
import { FieldWrapper, TooltipWrapper } from "../utils";
Expand Down
1 change: 0 additions & 1 deletion packages/blocks/src/editable-text/EditableText.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { useThread } from "@fibr/react";
import { EditableText as RaftyEditableText } from "@rafty/ui";
import React from "react";
import { Controller, useFormContext } from "react-hook-form";
import type { EditableTextProps } from "../types";
import { FieldWrapper, TooltipWrapper } from "../utils";
Expand Down
1 change: 0 additions & 1 deletion packages/blocks/src/editable-textarea/EditableTextarea.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { useThread } from "@fibr/react";
import { EditableTextarea as RaftyEditableTextarea } from "@rafty/ui";
import React from "react";
import { Controller, useFormContext } from "react-hook-form";
import type { EditableTextareaProps } from "../types";
import { FieldWrapper, TooltipWrapper } from "../utils";
Expand Down
1 change: 0 additions & 1 deletion packages/blocks/src/file-input/FileInput.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
"use client";
import { useThread } from "@fibr/react";
import { FileUpload } from "@rafty/ui";
import React from "react";
import { Controller, useFormContext } from "react-hook-form";
import type { FileInputFieldProps } from "../types";
import { FieldWrapper, InputWrapper, TooltipWrapper } from "../utils";
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"url": "https://github.com/rhinobase/raftyui/issues"
},
"dependencies": {
"@ark-ui/react": "^2.2.3",
"@ark-ui/react": "^3.2.1",
"@hookform/error-message": "^2.0.1",
"@fibr/react": "^0.6.3",
"@heroicons/react": "^2.1.1",
Expand Down
Loading

0 comments on commit 1886f56

Please sign in to comment.