-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
184 changed files
with
4,233 additions
and
3,260 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,2 @@ | ||
--- | ||
--- |
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,10 @@ | ||
--- | ||
"@heroui/date-picker": patch | ||
"@heroui/date-input": patch | ||
"@heroui/select": patch | ||
"@heroui/input": patch | ||
"@heroui/system": patch | ||
"@heroui/theme": patch | ||
--- | ||
|
||
Adding support for global labelPlacement prop. (ENG-1694) |
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 @@ | ||
--- | ||
"@heroui/spinner": patch | ||
"@heroui/theme": patch | ||
--- | ||
|
||
Adding variants to the Spinner Component. |
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,5 @@ | ||
--- | ||
"@heroui/theme": patch | ||
--- | ||
|
||
Fix tabs slots "wrapper" rename to "tabWrapper" -- Breaking Change (#4552) |
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,5 @@ | ||
--- | ||
"@heroui/form": patch | ||
--- | ||
|
||
changed form default validation behavior to native |
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,5 @@ | ||
--- | ||
"@heroui/use-image": patch | ||
--- | ||
|
||
fix loading image after props changes (#4518) |
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,5 @@ | ||
--- | ||
"@heroui/kbd": patch | ||
--- | ||
|
||
Add fn win alt keys (#4499) |
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,84 @@ | ||
--- | ||
"@heroui/use-intersection-observer": patch | ||
"@heroui/use-data-scroll-overflow": patch | ||
"@heroui/use-aria-accordion-item": patch | ||
"@heroui/use-aria-modal-overlay": patch | ||
"@heroui/use-safe-layout-effect": patch | ||
"@heroui/use-aria-multiselect": patch | ||
"@heroui/use-infinite-scroll": patch | ||
"@heroui/use-scroll-position": patch | ||
"@heroui/react-rsc-utils": patch | ||
"@heroui/scroll-shadow": patch | ||
"@heroui/use-aria-accordion": patch | ||
"@heroui/autocomplete": patch | ||
"@heroui/use-update-effect": patch | ||
"@heroui/breadcrumbs": patch | ||
"@heroui/date-picker": patch | ||
"@heroui/use-callback-ref": patch | ||
"@heroui/framer-utils": patch | ||
"@heroui/shared-icons": patch | ||
"@heroui/date-input": patch | ||
"@heroui/pagination": patch | ||
"@heroui/use-aria-button": patch | ||
"@heroui/react-utils": patch | ||
"@heroui/accordion": patch | ||
"@heroui/input-otp": patch | ||
"@heroui/use-disclosure": patch | ||
"@heroui/use-is-mounted": patch | ||
"@heroui/use-pagination": patch | ||
"@heroui/use-real-shape": patch | ||
"@heroui/aria-utils": patch | ||
"@heroui/test-utils": patch | ||
"@heroui/calendar": patch | ||
"@heroui/checkbox": patch | ||
"@heroui/dropdown": patch | ||
"@heroui/progress": patch | ||
"@heroui/skeleton": patch | ||
"@heroui/use-aria-link": patch | ||
"@heroui/use-clipboard": patch | ||
"@heroui/use-draggable": patch | ||
"@heroui/use-is-mobile": patch | ||
"@heroui/use-ref-state": patch | ||
"@heroui/divider": patch | ||
"@heroui/listbox": patch | ||
"@heroui/popover": patch | ||
"@heroui/snippet": patch | ||
"@heroui/spinner": patch | ||
"@heroui/tooltip": patch | ||
"@heroui/avatar": patch | ||
"@heroui/button": patch | ||
"@heroui/drawer": patch | ||
"@heroui/navbar": patch | ||
"@heroui/ripple": patch | ||
"@heroui/select": patch | ||
"@heroui/slider": patch | ||
"@heroui/spacer": patch | ||
"@heroui/switch": patch | ||
"@heroui/use-measure": patch | ||
"@heroui/alert": patch | ||
"@heroui/badge": patch | ||
"@heroui/image": patch | ||
"@heroui/input": patch | ||
"@heroui/modal": patch | ||
"@heroui/radio": patch | ||
"@heroui/table": patch | ||
"@heroui/use-resize": patch | ||
"@heroui/card": patch | ||
"@heroui/chip": patch | ||
"@heroui/code": patch | ||
"@heroui/form": patch | ||
"@heroui/link": patch | ||
"@heroui/menu": patch | ||
"@heroui/tabs": patch | ||
"@heroui/user": patch | ||
"@heroui/system-rsc": patch | ||
"@heroui/use-image": patch | ||
"@heroui/use-theme": patch | ||
"@heroui/kbd": patch | ||
"@heroui/use-ssr": patch | ||
"@heroui/system": patch | ||
"@heroui/react": patch | ||
"@heroui/theme": patch | ||
--- | ||
|
||
Tailwind variants upgraded to the latest version, classnames adjusted, tests fixed |
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,53 @@ | ||
--- | ||
"@heroui/use-intersection-observer": patch | ||
"@heroui/use-aria-accordion-item": patch | ||
"@heroui/use-aria-modal-overlay": patch | ||
"@heroui/use-aria-multiselect": patch | ||
"@heroui/use-aria-accordion": patch | ||
"@heroui/autocomplete": patch | ||
"@heroui/breadcrumbs": patch | ||
"@heroui/date-picker": patch | ||
"@heroui/date-input": patch | ||
"@heroui/pagination": patch | ||
"@heroui/use-aria-button": patch | ||
"@heroui/accordion": patch | ||
"@heroui/input-otp": patch | ||
"@heroui/use-disclosure": patch | ||
"@heroui/use-pagination": patch | ||
"@heroui/aria-utils": patch | ||
"@heroui/calendar": patch | ||
"@heroui/checkbox": patch | ||
"@heroui/dropdown": patch | ||
"@heroui/progress": patch | ||
"@heroui/use-aria-link": patch | ||
"@heroui/use-draggable": patch | ||
"@heroui/divider": patch | ||
"@heroui/listbox": patch | ||
"@heroui/popover": patch | ||
"@heroui/snippet": patch | ||
"@heroui/tooltip": patch | ||
"@heroui/avatar": patch | ||
"@heroui/button": patch | ||
"@heroui/navbar": patch | ||
"@heroui/select": patch | ||
"@heroui/slider": patch | ||
"@heroui/switch": patch | ||
"@heroui/alert": patch | ||
"@heroui/input": patch | ||
"@heroui/modal": patch | ||
"@heroui/radio": patch | ||
"@heroui/table": patch | ||
"@heroui/card": patch | ||
"@heroui/chip": patch | ||
"@heroui/form": patch | ||
"@heroui/link": patch | ||
"@heroui/menu": patch | ||
"@heroui/tabs": patch | ||
"@heroui/user": patch | ||
"@heroui/system-rsc": patch | ||
"@heroui/kbd": patch | ||
"@heroui/system": patch | ||
"@heroui/react": patch | ||
--- | ||
|
||
bump RA versions |
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
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
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
34 changes: 17 additions & 17 deletions
34
apps/docs/content/components/checkbox-group/custom-implementation.raw.jsx
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
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
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
30 changes: 30 additions & 0 deletions
30
apps/docs/content/components/form/custom-validation-aria.raw.jsx
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,30 @@ | ||
import {Form, Input, Button} from "@heroui-org/react"; | ||
|
||
export default function App() { | ||
const onSubmit = (e) => { | ||
e.preventDefault(); | ||
}; | ||
|
||
return ( | ||
<Form className="w-full max-w-xs" validationBehavior="aria" onSubmit={onSubmit}> | ||
<Input | ||
isRequired | ||
label="Username" | ||
labelPlacement="outside" | ||
name="username" | ||
placeholder="Enter your username" | ||
type="text" | ||
validate={(value) => { | ||
if (value.length < 3) { | ||
return "Username must be at least 3 characters long"; | ||
} | ||
|
||
return value === "admin" ? "Nice try!" : null; | ||
}} | ||
/> | ||
<Button type="submit" variant="bordered"> | ||
Submit | ||
</Button> | ||
</Form> | ||
); | ||
} |
Oops, something went wrong.