-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
feat: tailwind variants upgrade #4386
base: canary
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
--- | ||
"@nextui-org/use-intersection-observer": patch | ||
"@nextui-org/use-data-scroll-overflow": patch | ||
"@nextui-org/use-aria-accordion-item": patch | ||
"@nextui-org/use-aria-modal-overlay": patch | ||
"@nextui-org/use-safe-layout-effect": patch | ||
"@nextui-org/use-aria-multiselect": patch | ||
"@nextui-org/use-infinite-scroll": patch | ||
"@nextui-org/use-scroll-position": patch | ||
"@nextui-org/react-rsc-utils": patch | ||
"@nextui-org/scroll-shadow": patch | ||
"@nextui-org/use-aria-accordion": patch | ||
"@nextui-org/autocomplete": patch | ||
"@nextui-org/use-update-effect": patch | ||
"@nextui-org/breadcrumbs": patch | ||
"@nextui-org/date-picker": patch | ||
"@nextui-org/use-callback-ref": patch | ||
"@nextui-org/framer-utils": patch | ||
"@nextui-org/shared-icons": patch | ||
"@nextui-org/date-input": patch | ||
"@nextui-org/pagination": patch | ||
"@nextui-org/use-aria-button": patch | ||
"@nextui-org/react-utils": patch | ||
"@nextui-org/accordion": patch | ||
"@nextui-org/input-otp": patch | ||
"@nextui-org/use-disclosure": patch | ||
"@nextui-org/use-is-mounted": patch | ||
"@nextui-org/use-pagination": patch | ||
"@nextui-org/use-real-shape": patch | ||
"@nextui-org/aria-utils": patch | ||
"@nextui-org/test-utils": patch | ||
"@nextui-org/calendar": patch | ||
"@nextui-org/checkbox": patch | ||
"@nextui-org/dropdown": patch | ||
"@nextui-org/progress": patch | ||
"@nextui-org/skeleton": patch | ||
"@nextui-org/use-aria-link": patch | ||
"@nextui-org/use-clipboard": patch | ||
"@nextui-org/use-draggable": patch | ||
"@nextui-org/use-is-mobile": patch | ||
"@nextui-org/use-ref-state": 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/use-measure": 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/use-resize": 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/use-image": patch | ||
"@nextui-org/use-theme": patch | ||
"@nextui-org/kbd": patch | ||
"@nextui-org/use-ssr": patch | ||
"@nextui-org/system": patch | ||
"@nextui-org/react": patch | ||
"@nextui-org/theme": patch | ||
--- | ||
|
||
Tailwind variants upgraded to the latest version, classnames adjusted, tests fixed |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,8 +50,8 @@ | |
"@nextui-org/shared-icons": "workspace:*", | ||
"@nextui-org/switch": "workspace:*", | ||
"clean-package": "2.2.0", | ||
"react": "^18.0.0", | ||
"react-dom": "^18.0.0" | ||
"react": "18.3.0", | ||
"react-dom": "18.3.0" | ||
Comment on lines
+53
to
+54
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 💡 Codebase verification React version inconsistency detected across packages Some packages are using exact version Affected packages with caret range (
🔗 Analysis chainVerify React version consistency across packages The upgrade to React 18.3.0 aligns with the PR objectives. Let's verify this version is consistent across all packages. 🏁 Scripts executedThe following scripts were executed for the analysis: Script: #!/bin/bash
# Check React version consistency across all package.json files
fd package.json packages/ -x jq -r '. | select(.devDependencies.react != null) | [.name, .devDependencies.react] | @tsv'
Length of output: 2462 |
||
}, | ||
"clean-package": "../../../clean-package.config.json" | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -59,8 +59,8 @@ | |
"@nextui-org/shared-icons": "workspace:*", | ||
"framer-motion": "11.9.0", | ||
"clean-package": "2.2.0", | ||
"react": "^18.0.0", | ||
"react-dom": "^18.0.0" | ||
"react": "18.3.0", | ||
"react-dom": "18.3.0" | ||
Comment on lines
+62
to
+63
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 💡 Codebase verification Add @nextui-org/test-utils as a devDependency The verification confirms that most components, including pagination and radio, have @nextui-org/test-utils as a devDependency. For consistency with the rest of the codebase, this package should be added to the button component's devDependencies.
🔗 Analysis chainConsider adding test utilities Other components like pagination and radio have added @nextui-org/test-utils. Consider adding it here for consistency. 🏁 Scripts executedThe following scripts were executed for the analysis: Script: #!/bin/bash
# Check which components have test utils
fd -e package.json -x jq -r '. | select(.devDependencies["@nextui-org/test-utils"] != null) | .name'
Length of output: 102 Script: #!/bin/bash
# Let's check the devDependencies of pagination and radio packages first
echo "=== Pagination package.json ==="
fd "package.json" --full-path "*pagination*" -x cat {}
echo -e "\n=== Radio package.json ==="
fd "package.json" --full-path "*radio*" -x cat {}
echo -e "\n=== All packages with test-utils ==="
rg -l "@nextui-org/test-utils" -g "package.json"
Length of output: 1519 |
||
}, | ||
"clean-package": "../../../clean-package.config.json" | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Codebase verification
React 18.3.0 is not a valid or released version
The npm registry shows that React 18.3.0 does not exist as a released version. The latest stable version is 19.0.0, with experimental and canary versions beyond that. This version specification across multiple package.json files needs to be corrected to use a valid React version.
🔗 Analysis chain
Verify React 18.3.0 stability and compatibility
The update to React 18.3.0 aligns with the PR objectives. However, let's verify the stability of this version.
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
Length of output: 5794