Skip to content

Commit

Permalink
chore: resolve conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
wingkwong committed Dec 1, 2024
2 parents 79e999b + 1c46061 commit f02fa10
Show file tree
Hide file tree
Showing 1,534 changed files with 46,919 additions and 34,149 deletions.
6 changes: 6 additions & 0 deletions .changeset/brave-trains-wave.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@nextui-org/menu": patch
"@nextui-org/theme": patch
---

Fix menu item classNames not work (#4119)
10 changes: 10 additions & 0 deletions .changeset/calm-weeks-tie.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
"@nextui-org/accordion": patch
"@nextui-org/button": patch
"@nextui-org/card": patch
"@nextui-org/date-picker": patch
"@nextui-org/navbar": patch
"@nextui-org/snippet": patch
---

fix missing peer / dev dependency for framer-motion
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": "main",
"baseBranch": "canary",
"updateInternalDependencies": "patch",
"___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH": {
"onlyUpdatePeerDependentsWhenOutOfRange": true
Expand Down
5 changes: 5 additions & 0 deletions .changeset/curly-rules-warn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@nextui-org/calendar": patch
---

add missing `framer-motion` in `peerDependencies`
5 changes: 5 additions & 0 deletions .changeset/few-ants-breathe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@nextui-org/input-otp": patch
---

Fix input-otp peer deps
7 changes: 7 additions & 0 deletions .changeset/five-adults-protect.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@nextui-org/input": patch
"@nextui-org/shared-icons": patch
"@nextui-org/theme": patch
---

introduce `isClearable` to Textarea component (#2348, #2112)
5 changes: 5 additions & 0 deletions .changeset/fluffy-icons-refuse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@nextui-org/table": patch
---

Currently, whenever any arrow-key keypress is triggered it navigates the focus to other cell/row. This creates an issue when the table cell contains a component which requires this keys for specific purpose (eg. if a table cell contains input component, it might need arrow keys for editing. But it is not possible because whenever the keypress triggers navigation). The PR adds an `isKeyboardNavigationDisabled` prop to disable the navigation.
5 changes: 5 additions & 0 deletions .changeset/fuzzy-lies-brush.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@nextui-org/table": patch
---

The `layoutNode` prop has been removed due to the update to react-aria.
7 changes: 7 additions & 0 deletions .changeset/lazy-buttons-exercise.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@nextui-org/listbox": patch
"@nextui-org/menu": patch
"@nextui-org/theme": patch
---

Add truncate class to the list item to avoid overflow the wrapper
5 changes: 5 additions & 0 deletions .changeset/many-starfishes-refuse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@nextui-org/theme": patch
---

revise label font size for lg (#3073)
7 changes: 7 additions & 0 deletions .changeset/nasty-bees-sniff.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@nextui-org/listbox": patch
"@nextui-org/menu": patch
"@nextui-org/pagination": patch
---

Fixes missing `<li>` wrapper when `href` prop is passed in `ListboxItem`, `MenuItem`, and `PaginationItem` (#4147)
49 changes: 49 additions & 0 deletions .changeset/pink-days-yawn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
---
"@nextui-org/scroll-shadow": patch
"@nextui-org/autocomplete": patch
"@nextui-org/breadcrumbs": patch
"@nextui-org/date-picker": patch
"@nextui-org/date-input": patch
"@nextui-org/pagination": patch
"@nextui-org/accordion": patch
"@nextui-org/input-otp": patch
"@nextui-org/calendar": patch
"@nextui-org/checkbox": patch
"@nextui-org/dropdown": patch
"@nextui-org/progress": patch
"@nextui-org/skeleton": patch
"@nextui-org/divider": patch
"@nextui-org/listbox": patch
"@nextui-org/popover": patch
"@nextui-org/snippet": patch
"@nextui-org/spinner": patch
"@nextui-org/tooltip": patch
"@nextui-org/avatar": patch
"@nextui-org/button": patch
"@nextui-org/drawer": patch
"@nextui-org/navbar": patch
"@nextui-org/ripple": patch
"@nextui-org/select": patch
"@nextui-org/slider": patch
"@nextui-org/spacer": patch
"@nextui-org/switch": patch
"@nextui-org/alert": patch
"@nextui-org/badge": patch
"@nextui-org/image": patch
"@nextui-org/input": patch
"@nextui-org/modal": patch
"@nextui-org/radio": patch
"@nextui-org/table": patch
"@nextui-org/card": patch
"@nextui-org/chip": patch
"@nextui-org/code": patch
"@nextui-org/form": patch
"@nextui-org/link": patch
"@nextui-org/menu": patch
"@nextui-org/tabs": patch
"@nextui-org/user": patch
"@nextui-org/system-rsc": patch
"@nextui-org/kbd": patch
---

Fix peer deps
5 changes: 5 additions & 0 deletions .changeset/purple-berries-play.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@nextui-org/form": patch
---

add form component
9 changes: 9 additions & 0 deletions .changeset/sharp-pianos-pump.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
"@nextui-org/autocomplete": patch
"@nextui-org/checkbox": patch
"@nextui-org/date-picker": patch
"@nextui-org/input": patch
"@nextui-org/radio": patch
---

support server validation with form
7 changes: 7 additions & 0 deletions .changeset/spotty-flies-jump.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@nextui-org/input-otp": patch
"@nextui-org/theme": patch
"@nextui-org/react": patch
---

Adding new input-otp component.
5 changes: 5 additions & 0 deletions .changeset/spotty-spies-call.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@nextui-org/select": patch
---

Fix Controlled IsInvalid Prop In Select
5 changes: 5 additions & 0 deletions .changeset/tiny-laws-cheer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@nextui-org/system": patch
---

align `navigate` function parameters with `@react-aria`
10 changes: 5 additions & 5 deletions .github/workflows/QA.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
build:
name: Build
runs-on: ubuntu-latest
runs-on: ubuntu-latest-m
steps:
- name: Checkout branch
uses: actions/checkout@v4
Expand All @@ -21,7 +21,7 @@ jobs:

tests:
name: Tests
runs-on: ubuntu-latest
runs-on: ubuntu-latest-m
steps:
- name: Checkout branch
uses: actions/checkout@v4
Expand All @@ -34,7 +34,7 @@ jobs:

eslint:
name: ESLint
runs-on: ubuntu-latest
runs-on: ubuntu-latest-m
steps:
- name: Checkout branch
uses: actions/checkout@v4
Expand All @@ -47,7 +47,7 @@ jobs:

types:
name: TypeScript
runs-on: ubuntu-latest
runs-on: ubuntu-latest-m
steps:
- name: Checkout branch
uses: actions/checkout@v4
Expand All @@ -60,7 +60,7 @@ jobs:

prettier:
name: Prettier
runs-on: ubuntu-latest
runs-on: ubuntu-latest-m
steps:
- name: Checkout branch
uses: actions/checkout@v4
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/enter-pre-release-mode.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: Enter pre-release mode
on: workflow_dispatch

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
runs-on: ubuntu-latest-m
permissions:
contents: write
pull-requests: write
Expand All @@ -20,6 +20,8 @@ jobs:

- name: Enter pre-release mode
id: enter-pre-release-mode
env:
GITHUB_TOKEN: ${{ secrets.GA_ACCESS_TOKEN }}
run: |
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config user.name "github-actions[bot]"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ 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
runs-on: ubuntu-latest-m
permissions:
contents: write
pull-requests: write
id-token: write

steps:
- name: Checkout branch
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ github.event.inputs.branch }}
fetch-depth: 0
Expand All @@ -29,6 +29,8 @@ jobs:
run: npx rimraf .changeset/pre.json

- name: Commit and push changes
env:
GITHUB_TOKEN: ${{ secrets.GA_ACCESS_TOKEN }}
run: |
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config user.name "github-actions[bot]"
Expand Down
17 changes: 9 additions & 8 deletions .github/workflows/pre-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ on:
- "packages/**"
branches:
- "beta/release-next"
- "canary"

concurrency: ${{ github.workflow }}-${{ github.ref }}

Expand All @@ -28,6 +27,13 @@ jobs:
- name: Install
uses: ./.github/common-actions/install

- name: Debug condition values
run: |
echo "pre.json exists: ${{ steps.check_if_pre_json_exists.outputs.files_exists }}"
echo "Commit message: ${{ github.event.head_commit.message }}"
echo "Contains version packages: ${{ contains(github.event.head_commit.message, 'ci(changesets): version packages') }}"
echo "Full condition would be: ${{ steps.check_if_pre_json_exists.outputs.files_exists == 'true' && contains(github.event.head_commit.message, 'ci(changesets): version packages') }}"
- name: Check if pre.json exists
id: check_if_pre_json_exists
uses: andstor/file-existence-action@v3.0.0
Expand All @@ -52,20 +58,15 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Debug condition values
run: |
echo "pre.json exists: ${{ steps.check_if_pre_json_exists.outputs.files_exists }}"
echo "Commit message: ${{ github.event.head_commit.message }}"
echo "Contains version packages: ${{ contains(github.event.head_commit.message, 'ci(changesets): version packages') }}"
echo "Full condition would be: ${{ steps.check_if_pre_json_exists.outputs.files_exists == 'true' && contains(github.event.head_commit.message, 'ci(changesets): version packages') }}"
- name: Tests
if: "${{ steps.check_if_pre_json_exists.outputs.files_exists == 'true' && contains(github.event.head_commit.message, 'ci(changesets): version packages') }}"
run: pnpm test

- name: Build
if: "${{ steps.check_if_pre_json_exists.outputs.files_exists == 'true' && contains(github.event.head_commit.message, 'ci(changesets): version packages') }}"
run: pnpm build
env:
NODE_OPTIONS: "--max-old-space-size=4096"

- name: Publish to NPM
id: publish-to-npm
Expand Down
21 changes: 16 additions & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,28 +6,28 @@ on:
- ".changeset/**"
- "packages/**"
branches:
- main
- canary

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}

jobs:
release:
name: Release
runs-on: ubuntu-latest
runs-on: ubuntu-latest-m
steps:
- name: Checkout branch
uses: actions/checkout@v4

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

- name: Build
run: pnpm build

- name: Tests
run: pnpm test

- name: Build
run: pnpm build

- name: Create Release Pull Request or Publish to NPM
id: changesets
uses: changesets/action@v1
Expand All @@ -39,4 +39,15 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Create canary release
if: steps.changesets.outputs.published != 'true'
timeout-minutes: 15
run: |
git checkout canary
pnpm version:canary
pnpm release:canary
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/update-stats.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
jobs:
update-stats:
name: Update Stats
runs-on: ubuntu-latest
runs-on: ubuntu-latest-m
steps:
- name: Checkout branch
uses: actions/checkout@v4
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ packages/**/*.backup.ts

# ignore sitemap
apps/**/sitemap.xml
apps/**/sitemap-0.xml

# turbo
.turbo
Expand Down
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@
},
"tailwindCSS.experimental.classRegex": [
["([\"'`][^\"'`]*.*?[\"'`])", "[\"'`]([^\"'`]*).*?[\"'`]"]
]
],
}
4 changes: 0 additions & 4 deletions apps/docs/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@
{
"files": ["*.ts", "*.tsx"],
"rules": {}
},
{
"files": ["*.js", "*.jsx"],
"rules": {}
}
]
}
Loading

0 comments on commit f02fa10

Please sign in to comment.