Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/canary' into docs/themes
Browse files Browse the repository at this point in the history
  • Loading branch information
xylish7 committed Nov 6, 2024
2 parents c9c165c + 1091377 commit a461954
Show file tree
Hide file tree
Showing 371 changed files with 15,658 additions and 9,912 deletions.
5 changes: 5 additions & 0 deletions .changeset/calm-trees-serve.md
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
2 changes: 1 addition & 1 deletion .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"fixed": [],
"linked": [],
"access": "public",
"baseBranch": "canary",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH": {
"onlyUpdatePeerDependentsWhenOutOfRange": true
Expand Down
5 changes: 5 additions & 0 deletions .changeset/curly-zoos-thank.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@nextui-org/listbox": patch
---

change ListboxItem key to optional (#3880)
5 changes: 5 additions & 0 deletions .changeset/dull-bags-divide.md
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).
5 changes: 5 additions & 0 deletions .changeset/fast-horses-explode.md
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)
53 changes: 53 additions & 0 deletions .changeset/few-jars-flow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
---
"@nextui-org/table": minor
"@nextui-org/accordion": minor
"@nextui-org/autocomplete": minor
"@nextui-org/avatar": minor
"@nextui-org/breadcrumbs": minor
"@nextui-org/button": minor
"@nextui-org/calendar": minor
"@nextui-org/card": minor
"@nextui-org/checkbox": minor
"@nextui-org/chip": minor
"@nextui-org/date-input": minor
"@nextui-org/date-picker": minor
"@nextui-org/divider": minor
"@nextui-org/dropdown": minor
"@nextui-org/input": minor
"@nextui-org/kbd": minor
"@nextui-org/link": minor
"@nextui-org/listbox": minor
"@nextui-org/menu": minor
"@nextui-org/modal": minor
"@nextui-org/navbar": minor
"@nextui-org/pagination": minor
"@nextui-org/popover": minor
"@nextui-org/progress": minor
"@nextui-org/radio": minor
"@nextui-org/select": minor
"@nextui-org/slider": minor
"@nextui-org/snippet": minor
"@nextui-org/switch": minor
"@nextui-org/tabs": minor
"@nextui-org/tooltip": minor
"@nextui-org/user": minor
"@nextui-org/react": minor
"@nextui-org/system": minor
"@nextui-org/system-rsc": minor
"@nextui-org/use-aria-accordion": minor
"@nextui-org/use-aria-accordion-item": minor
"@nextui-org/use-aria-button": minor
"@nextui-org/use-aria-link": minor
"@nextui-org/use-aria-menu": minor
"@nextui-org/use-aria-modal-overlay": minor
"@nextui-org/use-aria-multiselect": minor
"@nextui-org/use-aria-overlay": minor
"@nextui-org/use-aria-toggle-button": minor
"@nextui-org/use-disclosure": minor
"@nextui-org/use-intersection-observer": minor
"@nextui-org/use-is-mobile": minor
"@nextui-org/use-pagination": minor
"@nextui-org/aria-utils": minor
---

update react-aria version
5 changes: 5 additions & 0 deletions .changeset/flat-pants-accept.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@nextui-org/date-picker": patch
---

Fixes getCalendarProps to propagate the classNames in the calendarProps. (#3769)
5 changes: 5 additions & 0 deletions .changeset/forty-doors-flash.md
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)
5 changes: 5 additions & 0 deletions .changeset/giant-worms-hammer.md
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.
5 changes: 5 additions & 0 deletions .changeset/grumpy-mayflies-rhyme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@nextui-org/theme": patch
---

bump `tailwind-merge` version (#3614)
6 changes: 6 additions & 0 deletions .changeset/kind-cobras-travel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@nextui-org/calendar": patch
"@nextui-org/date-picker": patch
---

Add month and year picker to DateRangePicker and RangeCalendar (#3089, #3090)
5 changes: 5 additions & 0 deletions .changeset/light-needles-behave.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@nextui-org/use-theme": minor
---

introduce `use-theme` hook
8 changes: 8 additions & 0 deletions .changeset/mean-mangos-occur.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"@nextui-org/calendar": patch
"@nextui-org/theme": patch
"@nextui-org/use-infinite-scroll": patch
"@nextui-org/shared-utils": patch
---

replaced lodash with native approaches
5 changes: 5 additions & 0 deletions .changeset/mighty-birds-deny.md
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
6 changes: 6 additions & 0 deletions .changeset/neat-donkeys-accept.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@nextui-org/date-picker": minor
"@nextui-org/theme": minor
---

Add support for selectorButtonPlacement property (#3015)
6 changes: 6 additions & 0 deletions .changeset/pink-beans-sit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@nextui-org/use-image": patch
"@nextui-org/test-utils": patch
---

fix cached image flashing due to use-image always returning pending initially. The fix was to check if the image is loaded instantly through HTMLImageElement.complete attribute and use that to initialize the state.
5 changes: 5 additions & 0 deletions .changeset/poor-moose-double.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@nextui-org/theme": patch
---

added stripe color gradients for progress (#1933)
6 changes: 6 additions & 0 deletions .changeset/poor-sheep-repair.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@nextui-org/alert": patch
"@nextui-org/theme": patch
---

introduced Alert component (#2250)
5 changes: 5 additions & 0 deletions .changeset/popular-pigs-begin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@nextui-org/autocomplete": patch
---

automatically focus first non-disabled item
5 changes: 5 additions & 0 deletions .changeset/quick-geckos-punch.md
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)
4 changes: 4 additions & 0 deletions .changeset/slimy-cats-brush.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
---

Update Twitter logo, links, and named references to X. Removed Twitter logo from social based on review feedback.
5 changes: 5 additions & 0 deletions .changeset/slow-paws-punch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@nextui-org/popover": minor
---

added `shouldCloseOnScroll` to control the popover closing on scroll (#3594)
5 changes: 5 additions & 0 deletions .changeset/smooth-mayflies-wonder.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@nextui-org/tabs": patch
---

Add tab ref
6 changes: 6 additions & 0 deletions .changeset/soft-apricots-sleep.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@nextui-org/modal": patch
"@nextui-org/use-draggable": patch
---

Add draggable modal (#2647)
5 changes: 5 additions & 0 deletions .changeset/sour-seas-buy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@nextui-org/menu": patch
---

Use `useMenu` and `useMenuItem` from `@react-aria` instead of custom hooks
15 changes: 15 additions & 0 deletions .changeset/swift-news-complain.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
"@nextui-org/accordion": patch
"@nextui-org/calendar": patch
"@nextui-org/modal": patch
"@nextui-org/navbar": patch
"@nextui-org/popover": patch
"@nextui-org/ripple": patch
"@nextui-org/tooltip": patch
"@nextui-org/theme": patch
"@nextui-org/use-infinite-scroll": patch
"@nextui-org/dom-animation": patch
"@nextui-org/shared-utils": patch
---

framer motion optimization (#3340)
20 changes: 20 additions & 0 deletions .changeset/thirty-cheetahs-guess.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
"@nextui-org/accordion": patch
"@nextui-org/autocomplete": patch
"@nextui-org/button": patch
"@nextui-org/calendar": patch
"@nextui-org/card": patch
"@nextui-org/dropdown": patch
"@nextui-org/modal": patch
"@nextui-org/navbar": patch
"@nextui-org/popover": patch
"@nextui-org/ripple": patch
"@nextui-org/select": patch
"@nextui-org/snippet": patch
"@nextui-org/tabs": patch
"@nextui-org/tooltip": patch
"@nextui-org/system": patch
"@nextui-org/framer-utils": patch
---

update `framer-motion` versions
5 changes: 5 additions & 0 deletions .changeset/tricky-fans-draw.md
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)
5 changes: 5 additions & 0 deletions .changeset/twelve-papayas-clean.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@nextui-org/tabs": patch
---

revise the inert attribute in `TabPanel` (#3972)
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ contact_links:
- name: 💬 Discord Community Chat
url: https://discord.gg/9b6yyZKmH4
about: Ask quick questions or simply chat on the `NextUI` community Discord server.
- name: 💬 New Updates (Twitter)
url: https://twitter.com/getnextui
about: Link to our twitter account if you want to follow us and stay up to date with NextUI news
- name: 💬 New Updates (X)
url: https://x.com/getnextui
about: Link to our X account if you want to follow us and stay up to date with NextUI news
6 changes: 3 additions & 3 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ Closes # <!-- Github issue # here -->

## 📝 Description

> Add a brief description
<!--- Add a brief description -->

## ⛳️ Current behavior (updates)

> Please describe the current behavior that you are modifying
<!--- Please describe the current behavior that you are modifying -->

## 🚀 New behavior

> Please describe the behavior or changes this PR adds
<!--- Please describe the behavior or changes this PR adds -->

## 💣 Is this a breaking change (Yes/No):

Expand Down
33 changes: 33 additions & 0 deletions .github/workflows/enter-pre-release-mode.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Enter pre-release mode
on: workflow_dispatch

jobs:
enter-pre-release-mode:
if: ${{ github.ref == 'refs/heads/beta/release-next' || github.ref == 'refs/heads/canary' }}
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
id-token: write
steps:
- name: Checkout branch
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Install
uses: ./.github/common-actions/install

- name: Enter pre-release mode
id: enter-pre-release-mode
run: |
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config user.name "github-actions[bot]"
if [ ${{ github.ref }} == 'refs/heads/canary' ]; then
pnpm changeset:canary
else
pnpm changeset:beta
fi
git add -A
git commit -m 'chore(pre-release): enter pre-release mode'
git push
37 changes: 37 additions & 0 deletions .github/workflows/exit-pre-release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Exit pre-release mode

on: workflow_dispatch
jobs:
exit-pre-release-mode:
if: ${{ github.ref == 'refs/heads/beta/release-next' || github.ref == 'refs/heads/canary' }}
name: exit pre-release mode
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
id-token: write

steps:
- name: Checkout branch
uses: actions/checkout@v3
with:
ref: ${{ github.event.inputs.branch }}
fetch-depth: 0

- name: Install
uses: ./.github/common-actions/install

- name: remove pre.json
# we only remove .changeset/pre.json here
# since we want to keep the changeset files introduced in beta/release-next or canary branch
# once we merge it to canary / main, those files will be removed in version PR in canary
# and converted to corresponding changelogs
run: npx rimraf .changeset/pre.json

- name: Commit and push changes
run: |
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config user.name "github-actions[bot]"
git add -A
git commit -m "ci(changesets): exit pre-release mode"
git push
Loading

0 comments on commit a461954

Please sign in to comment.