-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'nextui-org:canary' into sync-input-value
- Loading branch information
Showing
126 changed files
with
3,724 additions
and
3,755 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,5 @@ | ||
--- | ||
"@nextui-org/theme": patch | ||
--- | ||
|
||
fix label placement in input and select |
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 @@ | ||
--- | ||
"@nextui-org/listbox": patch | ||
--- | ||
|
||
change ListboxItem key to optional (#3880) |
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 @@ | ||
--- | ||
"@nextui-org/select": patch | ||
--- | ||
|
||
update label placement in Select to use `shouldLabelBeOutside` instead of `isOutsideLeft`, resolving multiline label placement issues (#3841). |
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 @@ | ||
--- | ||
"@nextui-org/theme": patch | ||
--- | ||
|
||
fix the fullWidth variant in input and select component. (#3745) |
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 @@ | ||
--- | ||
"@nextui-org/theme": patch | ||
--- | ||
|
||
remove the pseudo cancel btn from input (#3907) |
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 @@ | ||
--- | ||
"@nextui-org/theme": patch | ||
--- | ||
|
||
replace the use of RTL-specific styles with logical properties. |
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 @@ | ||
--- | ||
"@nextui-org/autocomplete": patch | ||
--- | ||
|
||
Return null if there are items for exit animation on popover close to work |
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 @@ | ||
--- | ||
"@nextui-org/theme": patch | ||
--- | ||
|
||
separator icon RTL support in Breadcrumbs component (#2486) |
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 @@ | ||
--- | ||
"@nextui-org/theme": patch | ||
--- | ||
|
||
show margin only with label in Switch component (#3791) |
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,5 @@ | ||
#!/usr/bin/env sh | ||
huskyDir=$(dirname -- "$0") | ||
. "$huskyDir/_/husky.sh" | ||
|
||
. "$huskyDir/scripts/update-dep" |
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 @@ | ||
#!/usr/bin/env sh | ||
huskyDir=$(dirname -- "$0") | ||
. "$huskyDir/_/husky.sh" | ||
|
||
. "$huskyDir/scripts/update-dep" |
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 @@ | ||
#!/usr/bin/env sh | ||
changed_files="$(git diff-tree -r --name-only --no-commit-id ORIG_HEAD HEAD)" | ||
|
||
check_run() { | ||
if (echo "$changed_files" | grep --quiet "$1"); then | ||
printf "\033[36mDetected changes in pnpm-lock.yaml, starting dependency update\033[0m\n" | ||
eval "$2" | ||
fi | ||
} | ||
|
||
check_run pnpm-lock.yaml "pnpm install --color" |
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
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
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
20 changes: 20 additions & 0 deletions
20
apps/docs/content/components/accordion/bordered-variant.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,20 @@ | ||
import {Accordion, AccordionItem} from "@nextui-org/react"; | ||
|
||
export default function App() { | ||
const defaultContent = | ||
"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat."; | ||
|
||
return ( | ||
<Accordion variant="bordered"> | ||
<AccordionItem key="1" aria-label="Accordion 1" title="Accordion 1"> | ||
{defaultContent} | ||
</AccordionItem> | ||
<AccordionItem key="2" aria-label="Accordion 2" title="Accordion 2"> | ||
{defaultContent} | ||
</AccordionItem> | ||
<AccordionItem key="3" aria-label="Accordion 3" title="Accordion 3"> | ||
{defaultContent} | ||
</AccordionItem> | ||
</Accordion> | ||
); | ||
} |
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,20 @@ | ||
import {Accordion, AccordionItem} from "@nextui-org/react"; | ||
|
||
export default function App() { | ||
const defaultContent = | ||
"Lorem Innei ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat."; | ||
|
||
return ( | ||
<Accordion isCompact> | ||
<AccordionItem key="1" aria-label="Accordion 1" title="Accordion 1"> | ||
{defaultContent} | ||
</AccordionItem> | ||
<AccordionItem key="2" aria-label="Accordion 2" title="Accordion 2"> | ||
{defaultContent} | ||
</AccordionItem> | ||
<AccordionItem key="3" aria-label="Accordion 3" title="Accordion 3"> | ||
{defaultContent} | ||
</AccordionItem> | ||
</Accordion> | ||
); | ||
} |
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,22 @@ | ||
import React from "react"; | ||
import {Accordion, AccordionItem} from "@nextui-org/react"; | ||
|
||
export default function App() { | ||
const [selectedKeys, setSelectedKeys] = React.useState(new Set(["1"])); | ||
const defaultContent = | ||
"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat."; | ||
|
||
return ( | ||
<Accordion selectedKeys={selectedKeys} onSelectionChange={setSelectedKeys}> | ||
<AccordionItem key="1" aria-label="Accordion 1" title="Accordion 1"> | ||
{defaultContent} | ||
</AccordionItem> | ||
<AccordionItem key="2" aria-label="Accordion 2" title="Accordion 2"> | ||
{defaultContent} | ||
</AccordionItem> | ||
<AccordionItem key="3" aria-label="Accordion 3" title="Accordion 3"> | ||
{defaultContent} | ||
</AccordionItem> | ||
</Accordion> | ||
); | ||
} |
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,24 @@ | ||
import type {Selection} from "@nextui-org/react"; | ||
|
||
import React from "react"; | ||
import {Accordion, AccordionItem} from "@nextui-org/react"; | ||
|
||
export default function App() { | ||
const [selectedKeys, setSelectedKeys] = React.useState<Selection>(new Set(["1"])); | ||
const defaultContent = | ||
"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat."; | ||
|
||
return ( | ||
<Accordion selectedKeys={selectedKeys} onSelectionChange={setSelectedKeys}> | ||
<AccordionItem key="1" aria-label="Accordion 1" title="Accordion 1"> | ||
{defaultContent} | ||
</AccordionItem> | ||
<AccordionItem key="2" aria-label="Accordion 2" title="Accordion 2"> | ||
{defaultContent} | ||
</AccordionItem> | ||
<AccordionItem key="3" aria-label="Accordion 3" title="Accordion 3"> | ||
{defaultContent} | ||
</AccordionItem> | ||
</Accordion> | ||
); | ||
} |
Oops, something went wrong.