-
-
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.
Merge branch 'nextui-org:canary' into adding-isClearable-to-select
- Loading branch information
Showing
99 changed files
with
3,534 additions
and
3,235 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/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/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 | ||
--- | ||
|
||
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
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> | ||
); | ||
} |
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
Oops, something went wrong.