Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(docs): added missing package manager tab #3631

Merged
Merged
Show file tree
Hide file tree
Changes from 173 commits
Commits
Show all changes
175 commits
Select commit Hold shift + click to select a range
aba1716
chore(root): reat-aria packages updated (#2889)
jrgarciadev Apr 28, 2024
add893c
Merge branch 'canary' of github.com:nextui-org/nextui into canary
jrgarciadev Apr 28, 2024
6aacde2
chore(storybook): common colors enabled (#2902)
jrgarciadev Apr 28, 2024
c83ff38
fix(range-calendar): hide only dates outside the month (#2906)
ShrinidhiUpadhyaya Apr 29, 2024
2a2a069
fix(date-picker): keep date picker style consistent for different var…
wingkwong Apr 29, 2024
5f5ad7a
fix: add missing TableRowProps export (#2866)
sapkra Apr 29, 2024
648edad
fix(input): correct label margin for RTL required inputs (#2781)
mrbadri Apr 29, 2024
f8b917a
docs(core): add storybook and canary release info (#2914)
wingkwong Apr 29, 2024
e3afa47
Cn utility refactor (#2915)
jrgarciadev Apr 29, 2024
91127f8
docs(date-picker): change to jsx instead (#2919)
wingkwong Apr 30, 2024
72a950a
Merge branch 'main' of github.com:nextui-org/nextui into canary
jrgarciadev May 1, 2024
3748abe
Merge branch 'main' of github.com:nextui-org/nextui into canary
jrgarciadev May 2, 2024
9acf3ea
fix(switch): support uncontrolled switch in react-hook-form (#2924)
wingkwong May 3, 2024
c7bdd06
Merge branch 'main' of github.com:nextui-org/nextui into canary
jrgarciadev May 3, 2024
f28b1e9
Merge branch 'canary' of github.com:nextui-org/nextui into canary
jrgarciadev May 3, 2024
ec6fd12
Merge branch 'main' of github.com:nextui-org/nextui into canary
jrgarciadev May 4, 2024
73d9695
refactor(root): react aria packages fixed (#2944)
jrgarciadev May 4, 2024
dc24587
feat(docs): docs changes (#2868)
wingkwong May 4, 2024
76f4dd8
fix(slider): missing marks when hideThumb is true & revise slider sty…
wingkwong May 4, 2024
633f9d2
feat(test): react hook form tests & stories (#2931)
wingkwong May 4, 2024
10497f1
fix: update accordion item heading tag to be customizable (#2265)
outputboy May 13, 2024
5f735a9
fix(theme): add pointer-events-none to skeleton base (#2972)
wingkwong May 13, 2024
e34c5e3
feat(tabs): add `destroyInactiveTabPanel` prop for Tabs component (#2…
wingkwong May 13, 2024
422770c
refactor: add support for disabling the animation globally (#2929)
jrgarciadev May 13, 2024
7af584a
Merge branch 'main' of github.com:nextui-org/nextui into canary
jrgarciadev May 13, 2024
81eeea5
Merge branch 'main' of github.com:nextui-org/nextui into canary
jrgarciadev May 13, 2024
ad08010
fix(theme): remove origin-bottom from button (#2990)
wingkwong May 13, 2024
8988981
fix(skeleton): overflow issue in skeleton (#2986)
wingkwong May 13, 2024
3312d4e
Merge branch 'main' of github.com:nextui-org/nextui into canary
jrgarciadev May 18, 2024
b51cd52
Merge branch 'main' of github.com:nextui-org/nextui into canary
jrgarciadev May 18, 2024
f5bf12a
Merge branch 'main' of github.com:nextui-org/nextui into canary
jrgarciadev May 18, 2024
9d63259
fix(table): v2 input/textarea don't allow spaces inside a table (#3020)
wingkwong May 19, 2024
5329de4
fix(slider): calculate the correct value on mark click (#3017)
wingkwong May 19, 2024
77e85e6
fix(theme): revise input isInvalid styles (#3010)
wingkwong May 19, 2024
ca8554c
feat(date-picker): add missing ref to input wrapper (#3011)
wingkwong May 19, 2024
1109bae
fix(core): incorrect tailwind classnames (#3018)
wingkwong May 19, 2024
7df2c71
fix(dropdown): focus behaviour on press / enter keydown (#2970)
wingkwong May 19, 2024
c8f792c
fix(component): update type definition to prevent primitive values as…
ryo-manba May 19, 2024
a213300
fix(select): onSelectionChange can handle number (#2937)
ryo-manba May 19, 2024
0108d06
fix(calendar): scrolling is hidden when changing the month (#2949)
novsource May 19, 2024
06ecd21
fix: make VisuallyHidden's element type as span when it's inside phra…
kosmotema May 20, 2024
bc75983
docs: sync nextui-cli api (#3035)
winchesHe May 22, 2024
540aa21
feat: switch default validationBehavior to aria and allow switching v…
ryo-manba May 22, 2024
3b14c21
fix: popover-based focus behaviour (#2854)
wingkwong May 24, 2024
8048dcc
fix(components): Fix 'Tap to click' behavior on macOS with Edge/Chrom…
ericfabreu May 24, 2024
bf68c91
fix(date-picker): corrected inert value for true condition (#3054)
ShrinidhiUpadhyaya May 24, 2024
f24a973
fix(hooks): resolve type error in onKeyDown event handler (#3064)
Gaic4o May 24, 2024
07d722d
Update dependency array on setPage useCallback hook (#3029)
jesuzon May 24, 2024
20ba819
fix: error peerDep in pkg (#3014)
winchesHe May 24, 2024
6bbd234
Fix DatePicker Time Input (#2845)
chirokas May 24, 2024
39bc460
fix(date-picker): test
jrgarciadev May 24, 2024
fa26ce0
fix(hooks): optimize useScrollPosition with useCallback and useRef (#…
Gaic4o May 24, 2024
31bfaeb
fix(select): placeholder text display for controlled component (#3081)
ryo-manba May 26, 2024
5194a02
Merge branch 'main' of github.com:nextui-org/nextui into canary
jrgarciadev May 26, 2024
384cf11
chore(docs): v2.4.0 (#3084)
jrgarciadev May 27, 2024
578cf5a
chore(changese): update @nextui-org/react dependency to minor version
jrgarciadev May 27, 2024
59fcfa0
docs: update cli docs (#3096)
winchesHe May 27, 2024
9a2cf47
ci(changesets): version packages (#2903)
github-actions[bot] May 27, 2024
41d2eeb
fix(radio): remove required attribute for Radio with validationBehavi…
ryo-manba May 28, 2024
43bef07
fix(theme): add missing pointer event after data loaded (#3126)
wingkwong May 29, 2024
685995a
fix(system): listbox href issue (experimental) (#3119)
wingkwong May 29, 2024
cdbc651
fix(avatar): avoid passing `disableAnimation` prop to a DOM element (…
wingkwong May 31, 2024
0c10581
fix(docs): removed unused import & corrected prop for disabled DatePi…
ShrinidhiUpadhyaya May 31, 2024
750b466
ci(changesets): version packages (#3115)
github-actions[bot] May 31, 2024
68d1629
fix(pagination): missing animation (#3144)
wingkwong May 31, 2024
be29da1
chore(root): merge branch 'main' of github.com:nextui-org/nextui into…
jrgarciadev May 31, 2024
d9327f9
fix tsup domain (#3158)
egoist Jun 1, 2024
f3fdb7b
chore(docs): remove destroyInactiveTabPanel from Tab due to merge con…
wingkwong Jun 1, 2024
2069a7a
fix(autocomplete): maximum update depth exceeded in autocomplete (#3175)
wingkwong Jun 4, 2024
eae28e4
Merge branch 'main' of github.com:nextui-org/nextui into canary
jrgarciadev Jun 6, 2024
3500147
chore(checkbox): avoid passing non-DOM attributes to svg (#3199)
wingkwong Jun 6, 2024
6df27c6
fix(docs): fix typo in autocomplete documentation page (#3182)
ShiiFu Jun 7, 2024
a0d6a77
fix(select): add missing data-invalid in select and add missing data …
wingkwong Jun 7, 2024
5c83e9c
fix(tabs): destroyInactiveTabPanel unmounts inactive tabs' content (#…
wingkwong Jun 7, 2024
a06422f
fix(select): unset form value after unselecting an item (#3157)
wingkwong Jun 7, 2024
d8ceab3
fix(tabs): set tab panel id correctly (#3246)
ryo-manba Jun 14, 2024
995041a
docs(tooltip): supplement correct style path (#3183)
wingkwong Jun 14, 2024
5b9e317
fix(use-aria-menu): link logic in useMenuItem (#3229)
wingkwong Jun 14, 2024
bea1bde
chore(deps): bump @internationalized/date version (#3230)
wingkwong Jun 14, 2024
dbb4b8e
fix(input): input display with hidden type (#3174)
wingkwong Jun 14, 2024
3da8149
feat(date-picker): add support for DatePicker to apply styles to Date…
ryo-manba Jun 14, 2024
df0126f
refactor(date): updated errorMessage story and modified to import pro…
ryo-manba Jun 15, 2024
0e4213c
Update regex-validation.ts (#3123)
Softwaremanufaktur Jun 15, 2024
255c641
fix(autocomplete): controlled state logic (#2969)
chirokas Jun 15, 2024
b9bb06f
fix(utilities): resolve assignRef TypeScript ref assignment issue (#3…
Gaic4o Jun 15, 2024
75d1223
fix(table): table-column align prop (#2900)
chirokas Jun 15, 2024
be932c1
fix(navbar): fixed the height of navbar menu (#1805)
nozomemein Jun 15, 2024
47c2472
fix: RA dependencies bump (#3240)
wingkwong Jun 15, 2024
571522c
ci(changesets): version packages (#3147)
github-actions[bot] Jun 15, 2024
1e3e970
Merge branch 'main' of github.com:nextui-org/nextui into canary
jrgarciadev Jun 15, 2024
6951b1f
fix(avatar): remove extra `disableAnimation` prop in `getImageProps` …
wingkwong Jun 16, 2024
f785d1f
fix(system-rsc): extendVariants with defaultVariants (#3299)
wingkwong Jun 22, 2024
773f300
fix(date-picker): update calendar classNames in useDateRangePicker (#…
jrgarciadev Jun 22, 2024
e9a6a16
fix(accordion): variants for nested accordions (#3291)
wingkwong Jun 22, 2024
cd0c15d
Merge branch 'main' of github.com:nextui-org/nextui into canary
jrgarciadev Jun 22, 2024
2ce7d74
Merge branch 'main' of github.com:nextui-org/nextui into canary
jrgarciadev Jun 22, 2024
0691630
refactor(.github): nextui version description in bug report template …
wingkwong Jun 22, 2024
edd48a0
chore: add accessible name to the icon button (#3300)
ryo-manba Jun 23, 2024
4218335
fix(radio): ensure radio input correctly references description (#3301)
ryo-manba Jun 23, 2024
720f2f5
refactor(.github): github action warnings (#3317)
wingkwong Jun 25, 2024
78d4216
Merge branch 'main' of github.com:nextui-org/nextui into canary
jrgarciadev Jun 27, 2024
0711b66
fix(doc): migrated ScriptProvider component from the root level to ea…
kuri-sun Jun 29, 2024
f1fd2a8
Merge branch 'main' of github.com:nextui-org/nextui into canary
jrgarciadev Jun 29, 2024
8b0b7e0
refactor(docs): fix international calendar bug (#3363)
deval2498 Jun 29, 2024
9daef56
fix(table): custom with class names storybook styles (#3344)
ankitts Jun 29, 2024
ec7c417
chore(deps): pnpm-lock.yaml (#3372)
wingkwong Jul 3, 2024
106752a
fix(accordion): allow cursor navigation within text (#3419)
ryo-manba Jul 6, 2024
9806d1c
fix(date-range-picker): input field clear error (#3409)
ShrinidhiUpadhyaya Jul 6, 2024
3cdfb2a
fix: remove autoCapitalize to prevent Firefox warning (#3376)
ryo-manba Jul 6, 2024
c5ab49a
fix(user): avatar icon not shown in User component (#3387)
wingkwong Jul 6, 2024
7cc1bd7
fix(select): close select by pressing selector button (#3374)
wingkwong Jul 6, 2024
1cd64b2
fix(select): import HiddenSelect and UseSelectProps (#3368)
ryo-manba Jul 6, 2024
167e197
feat: eslint add rule prefer top level type import (#3354)
winchesHe Jul 6, 2024
fd4b720
fix(calendar): disable button picker in calendar if `isDisabled` is t…
wingkwong Jul 6, 2024
f5d94f9
fix: incorrect year in showMonthAndYearPickers with locale (#3331)
wingkwong Jul 6, 2024
0462dde
fix(popover): dialog focus behaviour (#3311)
wingkwong Jul 6, 2024
9d26d02
refactor(docs): sort component routes alphabetically (#3328)
wingkwong Jul 6, 2024
1671f56
docs(pagination): fix typo of missing "`" in doc (#3324)
wiyco Jul 6, 2024
57f7c95
fix(image): override default auto height (#3327)
wingkwong Jul 6, 2024
b4c046f
fix(table): differentiate selected bg color from striped bg color (#3…
sjoerdvanBommel Jul 6, 2024
a164c26
fix(date-picker): open and close datepicker after pressing selector b…
wingkwong Jul 6, 2024
444d320
fix(popover): close popover on scroll (#3414)
wingkwong Jul 6, 2024
35e709d
fix(navbar): shouldHideOnScroll fixed (#3315)
pratyush3124 Jul 6, 2024
8dce94e
fix(accordion): pass missing `dividerProps` to Divider (#3392)
chirokas Jul 6, 2024
a3a77bf
fix(image): optional height (#3420)
wingkwong Jul 6, 2024
93f1787
fix(input): input with file type (#3268)
wingkwong Jul 6, 2024
5652e7b
fix(date-picker): resolve width clipping issue on 90/110% zoom (#3416)
awesome-pro Jul 6, 2024
0cdfdb4
fix: onSelectionChange type incorrect (#3336)
winchesHe Jul 6, 2024
22682db
Merge branch 'canary' of github.com:nextui-org/nextui into canary
jrgarciadev Jul 7, 2024
60bb09f
fix: tsc errors (#3362)
winchesHe Jul 7, 2024
89ccf17
feat: add tw config to get the intelliSense (#3385)
winchesHe Jul 7, 2024
134f371
fix(datePicker): prevent year, month change in showMonthAndYearPicker…
KumJungMin Jul 8, 2024
9438dfd
fix: add onClear prop to Ripple component in button custom implementa…
ryxxn Jul 12, 2024
2333c39
fix(input): fixed the background change on autofill in Chrome (#3430)
awesome-pro Jul 12, 2024
c1f05ec
fix(time-input): minValue and maxValue validation (#3426)
chirokas Jul 12, 2024
30f0755
fix(docs): incorrect image height (#3427)
wingkwong Jul 12, 2024
6ec494a
docs: removed show more from code example (#3373)
ankitts Jul 12, 2024
049d236
fix(table): resolve double fetch issue in useInfiniteScroll hook (#3332)
abhisektomar1 Jul 12, 2024
b762141
docs(frameworks): update highlighted line numbers in Frameworks examp…
RockerFlower Jul 12, 2024
bbebb79
fix(autocomplete): remove unnecessary state.close (#3464)
wingkwong Jul 16, 2024
e968f54
Merge branch 'canary' of github.com:nextui-org/nextui into canary
jrgarciadev Jul 17, 2024
0071ec2
Merge branch 'main' of github.com:nextui-org/nextui into canary
jrgarciadev Jul 17, 2024
8192e0e
ci(changesets): version packages (#3266)
github-actions[bot] Jul 17, 2024
a41ed42
Merge branch 'main' of github.com:nextui-org/nextui into canary
jrgarciadev Jul 17, 2024
5591138
fix(system-rsc): defaultVariants null case in extendVariants (#3503)
wingkwong Jul 18, 2024
1fdbf2a
fix(date-range-picker): calendar-content width as per visible-months …
awesome-pro Jul 18, 2024
7d61cf3
fix: normalize 'status' field values to lowercase across multiple fil…
codeesura Jul 18, 2024
8b19307
fix(modal): double scrollbar in inside scrollbehaviour (#3495)
awesome-pro Jul 18, 2024
46edcca
fix(table): sortable header slow color change during theme change (#3…
awesome-pro Jul 18, 2024
59428b1
fix(theme): button scaling when disableAnimation is true (#3499)
wingkwong Jul 18, 2024
fbd4f4b
fix(system-rsc): add @react-types/shared to dependencies (#3501)
simPod Jul 18, 2024
4dfe194
build(script): fixing Clean script (#3500)
sandeep36butte Jul 18, 2024
0185952
ci(changesets): version packages (#3507)
github-actions[bot] Jul 18, 2024
cef1122
ci(changesets): version packages (#3508)
github-actions[bot] Jul 18, 2024
2d2d300
feat(chanageset): bump versions (#3512)
wingkwong Jul 19, 2024
f052c34
ci(changesets): version packages (#3513)
github-actions[bot] Jul 19, 2024
e67b028
chore: merged with main
jrgarciadev Jul 21, 2024
e9eb949
Merge branch 'main' of github.com:nextui-org/nextui into canary
jrgarciadev Jul 21, 2024
a4543e1
fix(navbar): fixed the height when style h-full
awesome-pro Jul 21, 2024
626e0e0
fix(navbar): fixed the height when style h-full
awesome-pro Jul 21, 2024
df765bc
Merge branch 'main' of github.com:nextui-org/nextui into canary
jrgarciadev Jul 22, 2024
9ae43dd
Merge branch 'nextui-org:canary' into canary
awesome-pro Jul 23, 2024
710644f
fix(deps): overrides RA utils pkg (#3537)
wingkwong Jul 23, 2024
b806ca4
chore(deps): rollback PR3537 (#3541)
wingkwong Jul 23, 2024
6d9995b
chore(docs): lint sponsors (#3547)
wingkwong Jul 24, 2024
816e5cb
Merge branch 'nextui-org:canary' into canary
awesome-pro Jul 25, 2024
e1d60c1
docs(changeset): resolved extra file
awesome-pro Aug 2, 2024
3a2ded2
fix(docs): added missing package manager tabs in docs
awesome-pro Aug 4, 2024
4bce545
refactor(cli-docs): changed line 33
awesome-pro Aug 4, 2024
1973864
chore(deps): upgrade pnpm to v9 (#3589)
wingkwong Aug 9, 2024
56725c2
Merge branch 'nextui-org:canary' into canary
awesome-pro Aug 9, 2024
9d35f93
refactor(files): removed unnecessary files
awesome-pro Aug 10, 2024
a4e5024
fix(docs): added missing package manager tabs in docs
awesome-pro Aug 10, 2024
5e7bc89
fix(docs): added missing package manager tabs in docs
awesome-pro Aug 10, 2024
1f071d3
refactor(cli.mdx): updated typo
awesome-pro Aug 11, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16.x
20.x
317 changes: 314 additions & 3 deletions apps/docs/components/icons/sponsors.tsx

Large diffs are not rendered by default.

7 changes: 6 additions & 1 deletion apps/docs/components/marketing/sponsors.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
import {Button, Link} from "@nextui-org/react";

import {sectionWrapper} from "@/components/primitives";
import {Story2DesignLogo, ReplexicaLogo, CodeRabbitLogo, ScrumbuissLogo} from "@/components/icons/sponsors";
import {
Story2DesignLogo,
ReplexicaLogo,
CodeRabbitLogo,
ScrumbuissLogo,
} from "@/components/icons/sponsors";
import {HeartFilledIcon} from "@/components/icons";
import {siteConfig} from "@/config/site";
import {Sponsor, SponsorItem} from "@/components/marketing/sponsor-item";
Expand Down
37 changes: 25 additions & 12 deletions apps/docs/content/docs/guide/cli.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,16 @@ To install the `CLI` globally, execute one of the following commands in your ter

### Without Installation

Alternatively, you can use the `CLI` without a global installation by employing `npx`:
Alternatively, you can use the `CLI` without a global installation by running the following commands:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

commands -> command


```bash
npx nextui-cli@latest
```
<PackageManagers
commands={{
npm: "npx nextui-cli@latest",
yarn: "yarn dlx nextui-cli@latest",
pnpm: "pnpm dlx nextui-cli@latest",
bun: "bunx nextui-cli@latest",
}}
/>

</Steps>

Expand Down Expand Up @@ -113,16 +118,24 @@ You will be prompted to configure your project:
```

Install the dependencies to start the local server:

```codeBlock bash
cd my-nextui-app && npm install
```
<PackageManagers
commands={{
npm: "cd my-nextui-app && npm install",
yarn: "cd my-nextui-app && yarn install",
pnpm: "cd my-nextui-app && pnpm install",
bun: "cd my-nextui-app && bun install",
}}
/>

Start the local server:

```codeBlock bash
npm run dev
```
<PackageManagers
commands={{
npm: "npm run dev",
yarn: "yarn run dev",
pnpm: "pnpm run dev",
bun: "bun run dev",
}}
/>

## add

Expand Down
15 changes: 9 additions & 6 deletions apps/docs/content/docs/guide/installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,17 @@ You will be prompted to configure your project:
```

Install the dependencies to start the local server:
```codeBlock bash
cd my-nextui-app && npm install
```


Start the local server:
```codeBlock bash
npm run dev
```
<PackageManagers
commands={{
npm: "npm run dev",
yarn: "yarn run dev",
pnpm: "pnpm run dev",
bun: "bun run dev",
}}
/>

Once your NextUI project is ready to develop, you can add individual components using the CLI. For example, to add a button component:

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@
},
"engines": {
"node": ">=16.x",
"pnpm": ">=8.x"
"pnpm": ">=9.x"
},
"packageManager": "pnpm@8.7.0"
"packageManager": "pnpm@9.6.0"
}
33 changes: 33 additions & 0 deletions packages/components/dropdown/stories/dropdown.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -739,3 +739,36 @@ export const DisableAnimation = {
disableAnimation: true,
},
};

export const TestTemplate = () => {
const [selectedKeys, setSelectedKeys] = React.useState(new Set(["text"]));

const selectedValue = React.useMemo(
() => Array.from(selectedKeys).join(", ").replaceAll("_", " "),
[selectedKeys],
);

return (
<Dropdown>
<DropdownTrigger>
<Button className="capitalize" variant="bordered">
{selectedValue}
</Button>
</DropdownTrigger>
<DropdownMenu
disallowEmptySelection
aria-label="Single selection example"
selectedKeys={selectedKeys}
selectionMode="single"
variant="flat"
onSelectionChange={setSelectedKeys}
>
<DropdownItem key="text">Text</DropdownItem>
<DropdownItem key="number">Number</DropdownItem>
<DropdownItem key="date">Date</DropdownItem>
<DropdownItem key="single_date">Single Date</DropdownItem>
<DropdownItem key="iteration">Iteration</DropdownItem>
</DropdownMenu>
</Dropdown>
);
};
Loading