generated from zayne-labs/create-ts-library
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- ✨ Add FormDescription component for form field descriptions - 🏗️ Move context logic to dedicated form-context.ts file - 🛠️ Add useFormFieldContext hook with better error handling - ♻️ Improve error message types and render prop patterns refactor(form): 🔄 Enhance form component architecture and API style(form): - 🎨 Rename compound component exports to use -parts suffix - 🔤 Update provider names for better DX
- Loading branch information
1 parent
c091513
commit f02d029
Showing
51 changed files
with
1,058 additions
and
869 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
"@zayne-labs/ui-react": minor | ||
--- | ||
|
||
feat(form): | ||
|
||
- ✨ Add FormDescription component for form field descriptions | ||
- 🏗️ Move context logic to dedicated form-context.ts file | ||
- 🛠️ Add useFormFieldContext hook with better error handling | ||
- ♻️ Improve error message types and render prop patterns | ||
|
||
refactor(form): 🔄 Enhance form component architecture and API | ||
|
||
style(form): | ||
|
||
- 🎨 Rename compound component exports to use -parts suffix | ||
- 🔤 Update provider names for better DX |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
export * from "./show"; | ||
export * as Show from "./show"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
export { | ||
ShowContent as Content, | ||
ShowFallback as Fallback, | ||
ShowFallback as OtherWise, | ||
ShowRoot as Root, | ||
} from "./show"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export * from "./switch"; | ||
|
||
export * from "./switch-parts"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export { SwitchDefault as Default, SwitchMatch as Match, SwitchRoot as Root } from "./switch"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
export { | ||
CardContent as Content, | ||
CardDescription as Description, | ||
CardFooter as Footer, | ||
CardHeader as Header, | ||
CardRoot as Root, | ||
CardTitle as Title, | ||
} from "./card"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export * from "./card"; | ||
|
||
export * as Card from "./card-parts"; |
11 changes: 11 additions & 0 deletions
11
packages/react/src/components/ui/carousel/carousel-parts.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
export { CarouselContextProvider as Root } from "./carousel-store-context"; | ||
export { | ||
CarouselContent as Content, | ||
CarouselControls as Controls, | ||
CarouselButton as Button, | ||
CarouselItem as Item, | ||
CarouselItemWrapper as ItemWrapper, | ||
CarouselCaption as Caption, | ||
CarouselIndicator as Indicator, | ||
CarouselIndicatorWrapper as IndicatorWrapper, | ||
} from "./carousel"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...react/src/components/ui/carousel/index.ts → ...react/src/components/ui/carousel/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
export * from "./carousel"; | ||
export type * from "./types"; | ||
export * as Carousel from "./carousel-parts"; |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export { useDragScroll } from "./use-drag-scroll"; |
Oops, something went wrong.