feat(root): warning and success colors a11y improved on light theme, docs bugs fixed

This commit is contained in:
Junior Garcia 2023-06-12 19:16:18 -03:00
parent 0ac048c11f
commit cfa43f22c7
123 changed files with 766 additions and 101 deletions

View File

@ -73,7 +73,7 @@ export const Sandpack: FC<SandpackProps> = ({
showTabs={showTabs}
/>
)}
<div className="hidden md:flex opacity-0 group-hover:opacity-100 transition-opacity absolute gap-0 right-2 top-2 items-center justify-center bg-code-background">
<div className="hidden md:flex z-20 opacity-0 group-hover:opacity-100 transition-opacity absolute gap-0 right-2 top-2 items-center justify-center bg-code-background">
{showReportBug && <BugReportButton />}
{showCopyCode && <CopyButton />}
{!showPreview && showOpenInCodeSandbox && <CodeSandboxButton />}

View File

@ -1,5 +1,20 @@
# @nextui-org/accordion
## 0.0.0-dev-v2-20230612221453
### Patch Changes
- Warning and success color a11y improved on light mode
- Updated dependencies
- @nextui-org/use-aria-accordion-item@0.0.0-dev-v2-20230612221453
- @nextui-org/framer-transitions@0.0.0-dev-v2-20230612221453
- @nextui-org/shared-icons@0.0.0-dev-v2-20230612221453
- @nextui-org/shared-utils@0.0.0-dev-v2-20230612221453
- @nextui-org/aria-utils@0.0.0-dev-v2-20230612221453
- @nextui-org/dom-utils@0.0.0-dev-v2-20230612221453
- @nextui-org/system@0.0.0-dev-v2-20230612221453
- @nextui-org/theme@0.0.0-dev-v2-20230612221453
## 0.0.0-dev-v2-20230612214035
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/accordion",
"version": "0.0.0-dev-v2-20230612214035",
"version": "0.0.0-dev-v2-20230612221453",
"description": "Collapse display a list of high-level options that can expand/collapse to reveal more information.",
"keywords": [
"react",

View File

@ -1,5 +1,17 @@
# @nextui-org/avatar
## 0.0.0-dev-v2-20230612221453
### Patch Changes
- Warning and success color a11y improved on light mode
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230612221453
- @nextui-org/dom-utils@0.0.0-dev-v2-20230612221453
- @nextui-org/use-image@0.0.0-dev-v2-20230612221453
- @nextui-org/system@0.0.0-dev-v2-20230612221453
- @nextui-org/theme@0.0.0-dev-v2-20230612221453
## 0.0.0-dev-v2-20230612214035
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/avatar",
"version": "0.0.0-dev-v2-20230612214035",
"version": "0.0.0-dev-v2-20230612221453",
"description": "The Avatar component is used to represent a user, and displays the profile picture, initials or fallback icon.",
"keywords": [
"avatar"

View File

@ -1,5 +1,16 @@
# @nextui-org/badge
## 0.0.0-dev-v2-20230612221453
### Patch Changes
- Warning and success color a11y improved on light mode
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230612221453
- @nextui-org/dom-utils@0.0.0-dev-v2-20230612221453
- @nextui-org/system@0.0.0-dev-v2-20230612221453
- @nextui-org/theme@0.0.0-dev-v2-20230612221453
## 0.0.0-dev-v2-20230612214035
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/badge",
"version": "0.0.0-dev-v2-20230612214035",
"version": "0.0.0-dev-v2-20230612221453",
"description": "Badges are used as a small numerical value or status descriptor for UI elements.",
"keywords": [
"badge"

View File

@ -1,5 +1,19 @@
# @nextui-org/button
## 0.0.0-dev-v2-20230612221453
### Patch Changes
- Warning and success color a11y improved on light mode
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230612221453
- @nextui-org/use-aria-button@0.0.0-dev-v2-20230612221453
- @nextui-org/dom-utils@0.0.0-dev-v2-20230612221453
- @nextui-org/spinner@0.0.0-dev-v2-20230612221453
- @nextui-org/drip@0.0.0-dev-v2-20230612221453
- @nextui-org/system@0.0.0-dev-v2-20230612221453
- @nextui-org/theme@0.0.0-dev-v2-20230612221453
## 0.0.0-dev-v2-20230612214035
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/button",
"version": "0.0.0-dev-v2-20230612214035",
"version": "0.0.0-dev-v2-20230612221453",
"description": "Buttons allow users to perform actions and choose with a single tap.",
"keywords": [
"button"

View File

@ -1,5 +1,18 @@
# @nextui-org/card
## 0.0.0-dev-v2-20230612221453
### Patch Changes
- Warning and success color a11y improved on light mode
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230612221453
- @nextui-org/use-aria-button@0.0.0-dev-v2-20230612221453
- @nextui-org/dom-utils@0.0.0-dev-v2-20230612221453
- @nextui-org/drip@0.0.0-dev-v2-20230612221453
- @nextui-org/system@0.0.0-dev-v2-20230612221453
- @nextui-org/theme@0.0.0-dev-v2-20230612221453
## 0.0.0-dev-v2-20230612214035
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/card",
"version": "0.0.0-dev-v2-20230612214035",
"version": "0.0.0-dev-v2-20230612221453",
"description": "Card is a container for text, photos, and actions in the context of a single subject.",
"keywords": [
"card"

View File

@ -1,5 +1,16 @@
# @nextui-org/checkbox
## 0.0.0-dev-v2-20230612221453
### Patch Changes
- Warning and success color a11y improved on light mode
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230612221453
- @nextui-org/dom-utils@0.0.0-dev-v2-20230612221453
- @nextui-org/system@0.0.0-dev-v2-20230612221453
- @nextui-org/theme@0.0.0-dev-v2-20230612221453
## 0.0.0-dev-v2-20230612214035
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/checkbox",
"version": "0.0.0-dev-v2-20230612214035",
"version": "0.0.0-dev-v2-20230612221453",
"description": "Checkboxes allow users to select multiple items from a list of individual items, or to mark one individual item as selected.",
"keywords": [
"checkbox"

View File

@ -1,5 +1,17 @@
# @nextui-org/chip
## 0.0.0-dev-v2-20230612221453
### Patch Changes
- Warning and success color a11y improved on light mode
- Updated dependencies
- @nextui-org/shared-icons@0.0.0-dev-v2-20230612221453
- @nextui-org/shared-utils@0.0.0-dev-v2-20230612221453
- @nextui-org/dom-utils@0.0.0-dev-v2-20230612221453
- @nextui-org/system@0.0.0-dev-v2-20230612221453
- @nextui-org/theme@0.0.0-dev-v2-20230612221453
## 0.0.0-dev-v2-20230612214035
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/chip",
"version": "0.0.0-dev-v2-20230612214035",
"version": "0.0.0-dev-v2-20230612221453",
"description": "Chips help people enter information, make selections, filter content, or trigger actions.",
"keywords": [
"chip"

View File

@ -1,5 +1,16 @@
# @nextui-org/code
## 0.0.0-dev-v2-20230612221453
### Patch Changes
- Warning and success color a11y improved on light mode
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230612221453
- @nextui-org/dom-utils@0.0.0-dev-v2-20230612221453
- @nextui-org/system@0.0.0-dev-v2-20230612221453
- @nextui-org/theme@0.0.0-dev-v2-20230612221453
## 0.0.0-dev-v2-20230612214035
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/code",
"version": "0.0.0-dev-v2-20230612214035",
"version": "0.0.0-dev-v2-20230612221453",
"description": "Code is a component used to display inline code.",
"keywords": [
"code"

View File

@ -1,5 +1,16 @@
# @nextui-org/divider
## 0.0.0-dev-v2-20230612221453
### Patch Changes
- Warning and success color a11y improved on light mode
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230612221453
- @nextui-org/dom-utils@0.0.0-dev-v2-20230612221453
- @nextui-org/system@0.0.0-dev-v2-20230612221453
- @nextui-org/theme@0.0.0-dev-v2-20230612221453
## 0.0.0-dev-v2-20230612214035
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/divider",
"version": "0.0.0-dev-v2-20230612214035",
"version": "0.0.0-dev-v2-20230612221453",
"description": ". A separator is a visual divider between two groups of content",
"keywords": [
"divider"

View File

@ -1,5 +1,16 @@
# @nextui-org/drip
## 0.0.0-dev-v2-20230612221453
### Patch Changes
- Warning and success color a11y improved on light mode
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230612221453
- @nextui-org/dom-utils@0.0.0-dev-v2-20230612221453
- @nextui-org/system@0.0.0-dev-v2-20230612221453
- @nextui-org/theme@0.0.0-dev-v2-20230612221453
## 0.0.0-dev-v2-20230612214035
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/drip",
"version": "0.0.0-dev-v2-20230612214035",
"version": "0.0.0-dev-v2-20230612221453",
"description": "A ripple effect for ensuring that the user fells the system is reacting instantaneously",
"keywords": [
"drip"

View File

@ -1,5 +1,19 @@
# @nextui-org/dropdown
## 0.0.0-dev-v2-20230612221453
### Patch Changes
- Warning and success color a11y improved on light mode
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230612221453
- @nextui-org/aria-utils@0.0.0-dev-v2-20230612221453
- @nextui-org/use-is-mobile@0.0.0-dev-v2-20230612221453
- @nextui-org/dom-utils@0.0.0-dev-v2-20230612221453
- @nextui-org/popover@0.0.0-dev-v2-20230612221453
- @nextui-org/system@0.0.0-dev-v2-20230612221453
- @nextui-org/theme@0.0.0-dev-v2-20230612221453
## 0.0.0-dev-v2-20230612214035
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/dropdown",
"version": "0.0.0-dev-v2-20230612214035",
"version": "0.0.0-dev-v2-20230612221453",
"description": "A dropdown displays a list of actions or options that a user can choose.",
"keywords": [
"dropdown"

View File

@ -1,5 +1,17 @@
# @nextui-org/image
## 0.0.0-dev-v2-20230612221453
### Patch Changes
- Warning and success color a11y improved on light mode
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230612221453
- @nextui-org/dom-utils@0.0.0-dev-v2-20230612221453
- @nextui-org/use-image@0.0.0-dev-v2-20230612221453
- @nextui-org/system@0.0.0-dev-v2-20230612221453
- @nextui-org/theme@0.0.0-dev-v2-20230612221453
## 0.0.0-dev-v2-20230612214035
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/image",
"version": "0.0.0-dev-v2-20230612214035",
"version": "0.0.0-dev-v2-20230612221453",
"description": "A simple image component",
"keywords": [
"image"

View File

@ -1,5 +1,18 @@
# @nextui-org/input
## 0.0.0-dev-v2-20230612221453
### Patch Changes
- Warning and success color a11y improved on light mode
- Updated dependencies
- @nextui-org/shared-icons@0.0.0-dev-v2-20230612221453
- @nextui-org/shared-utils@0.0.0-dev-v2-20230612221453
- @nextui-org/use-aria-field@0.0.0-dev-v2-20230612221453
- @nextui-org/dom-utils@0.0.0-dev-v2-20230612221453
- @nextui-org/system@0.0.0-dev-v2-20230612221453
- @nextui-org/theme@0.0.0-dev-v2-20230612221453
## 0.0.0-dev-v2-20230612214035
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/input",
"version": "0.0.0-dev-v2-20230612214035",
"version": "0.0.0-dev-v2-20230612221453",
"description": "The input component is designed for capturing user input within a text field.",
"keywords": [
"input"

View File

@ -1,5 +1,16 @@
# @nextui-org/kbd
## 0.0.0-dev-v2-20230612221453
### Patch Changes
- Warning and success color a11y improved on light mode
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230612221453
- @nextui-org/dom-utils@0.0.0-dev-v2-20230612221453
- @nextui-org/system@0.0.0-dev-v2-20230612221453
- @nextui-org/theme@0.0.0-dev-v2-20230612221453
## 0.0.0-dev-v2-20230612214035
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/kbd",
"version": "0.0.0-dev-v2-20230612214035",
"version": "0.0.0-dev-v2-20230612221453",
"description": "The keyboard key components indicates which key or set of keys used to execute a specificv action",
"keywords": [
"kbd"

View File

@ -1,5 +1,17 @@
# @nextui-org/link
## 0.0.0-dev-v2-20230612221453
### Patch Changes
- Warning and success color a11y improved on light mode
- Updated dependencies
- @nextui-org/shared-icons@0.0.0-dev-v2-20230612221453
- @nextui-org/shared-utils@0.0.0-dev-v2-20230612221453
- @nextui-org/dom-utils@0.0.0-dev-v2-20230612221453
- @nextui-org/system@0.0.0-dev-v2-20230612221453
- @nextui-org/theme@0.0.0-dev-v2-20230612221453
## 0.0.0-dev-v2-20230612214035
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/link",
"version": "0.0.0-dev-v2-20230612214035",
"version": "0.0.0-dev-v2-20230612221453",
"description": "Links allow users to click their way from page to page. This component is styled to resemble a hyperlink and semantically renders an &lt;a&gt;",
"keywords": [
"link"

View File

@ -1,5 +1,20 @@
# @nextui-org/modal
## 0.0.0-dev-v2-20230612221453
### Patch Changes
- Warning and success color a11y improved on light mode
- Updated dependencies
- @nextui-org/framer-transitions@0.0.0-dev-v2-20230612221453
- @nextui-org/shared-icons@0.0.0-dev-v2-20230612221453
- @nextui-org/shared-utils@0.0.0-dev-v2-20230612221453
- @nextui-org/use-aria-button@0.0.0-dev-v2-20230612221453
- @nextui-org/use-disclosure@0.0.0-dev-v2-20230612221453
- @nextui-org/dom-utils@0.0.0-dev-v2-20230612221453
- @nextui-org/system@0.0.0-dev-v2-20230612221453
- @nextui-org/theme@0.0.0-dev-v2-20230612221453
## 0.0.0-dev-v2-20230612214035
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/modal",
"version": "0.0.0-dev-v2-20230612214035",
"version": "0.0.0-dev-v2-20230612221453",
"description": "Displays a dialog with a custom content that requires attention or provides additional information.",
"keywords": [
"modal"

View File

@ -1,5 +1,19 @@
# @nextui-org/navbar
## 0.0.0-dev-v2-20230612221453
### Patch Changes
- Warning and success color a11y improved on light mode
- Updated dependencies
- @nextui-org/use-aria-toggle-button@0.0.0-dev-v2-20230612221453
- @nextui-org/framer-transitions@0.0.0-dev-v2-20230612221453
- @nextui-org/use-scroll-position@0.0.0-dev-v2-20230612221453
- @nextui-org/shared-utils@0.0.0-dev-v2-20230612221453
- @nextui-org/dom-utils@0.0.0-dev-v2-20230612221453
- @nextui-org/system@0.0.0-dev-v2-20230612221453
- @nextui-org/theme@0.0.0-dev-v2-20230612221453
## 0.0.0-dev-v2-20230612214035
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/navbar",
"version": "0.0.0-dev-v2-20230612214035",
"version": "0.0.0-dev-v2-20230612221453",
"description": "A responsive navigation header positioned on top side of your page that includes support for branding, links, navigation, collapse and more.",
"keywords": [
"navbar"

View File

@ -1,5 +1,18 @@
# @nextui-org/pagination
## 0.0.0-dev-v2-20230612221453
### Patch Changes
- Warning and success color a11y improved on light mode
- Updated dependencies
- @nextui-org/shared-icons@0.0.0-dev-v2-20230612221453
- @nextui-org/shared-utils@0.0.0-dev-v2-20230612221453
- @nextui-org/use-pagination@0.0.0-dev-v2-20230612221453
- @nextui-org/dom-utils@0.0.0-dev-v2-20230612221453
- @nextui-org/system@0.0.0-dev-v2-20230612221453
- @nextui-org/theme@0.0.0-dev-v2-20230612221453
## 0.0.0-dev-v2-20230612214035
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/pagination",
"version": "0.0.0-dev-v2-20230612214035",
"version": "0.0.0-dev-v2-20230612221453",
"description": "The Pagination component allows you to display active page and navigate between multiple pages.",
"keywords": [
"pagination"

View File

@ -1,5 +1,20 @@
# @nextui-org/popover
## 0.0.0-dev-v2-20230612221453
### Patch Changes
- Warning and success color a11y improved on light mode
- Updated dependencies
- @nextui-org/framer-transitions@0.0.0-dev-v2-20230612221453
- @nextui-org/shared-utils@0.0.0-dev-v2-20230612221453
- @nextui-org/use-aria-button@0.0.0-dev-v2-20230612221453
- @nextui-org/aria-utils@0.0.0-dev-v2-20230612221453
- @nextui-org/dom-utils@0.0.0-dev-v2-20230612221453
- @nextui-org/button@0.0.0-dev-v2-20230612221453
- @nextui-org/system@0.0.0-dev-v2-20230612221453
- @nextui-org/theme@0.0.0-dev-v2-20230612221453
## 0.0.0-dev-v2-20230612214035
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/popover",
"version": "0.0.0-dev-v2-20230612214035",
"version": "0.0.0-dev-v2-20230612221453",
"description": "A popover is an overlay element positioned relative to a trigger.",
"keywords": [
"popover"

View File

@ -1,5 +1,18 @@
# @nextui-org/progress
## 0.0.0-dev-v2-20230612221453
### Patch Changes
- Warning and success color a11y improved on light mode
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230612221453
- @nextui-org/use-aria-label@0.0.0-dev-v2-20230612221453
- @nextui-org/use-is-mounted@0.0.0-dev-v2-20230612221453
- @nextui-org/dom-utils@0.0.0-dev-v2-20230612221453
- @nextui-org/system@0.0.0-dev-v2-20230612221453
- @nextui-org/theme@0.0.0-dev-v2-20230612221453
## 0.0.0-dev-v2-20230612214035
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/progress",
"version": "0.0.0-dev-v2-20230612214035",
"version": "0.0.0-dev-v2-20230612221453",
"description": "Progress bars show either determinate or indeterminate progress of an operation over time.",
"keywords": [
"progress"

View File

@ -1,5 +1,16 @@
# @nextui-org/radio
## 0.0.0-dev-v2-20230612221453
### Patch Changes
- Warning and success color a11y improved on light mode
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230612221453
- @nextui-org/dom-utils@0.0.0-dev-v2-20230612221453
- @nextui-org/system@0.0.0-dev-v2-20230612221453
- @nextui-org/theme@0.0.0-dev-v2-20230612221453
## 0.0.0-dev-v2-20230612214035
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/radio",
"version": "0.0.0-dev-v2-20230612214035",
"version": "0.0.0-dev-v2-20230612221453",
"description": "Radios allow users to select a single option from a list of mutually exclusive options.",
"keywords": [
"radio"

View File

@ -1,5 +1,16 @@
# @nextui-org/skeleton
## 0.0.0-dev-v2-20230612221453
### Patch Changes
- Warning and success color a11y improved on light mode
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230612221453
- @nextui-org/dom-utils@0.0.0-dev-v2-20230612221453
- @nextui-org/system@0.0.0-dev-v2-20230612221453
- @nextui-org/theme@0.0.0-dev-v2-20230612221453
## 0.0.0-dev-v2-20230612214035
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/skeleton",
"version": "0.0.0-dev-v2-20230612214035",
"version": "0.0.0-dev-v2-20230612221453",
"description": "Skeleton is used to display the loading state of some component.",
"keywords": [
"skeleton"

View File

@ -1,5 +1,20 @@
# @nextui-org/snippet
## 0.0.0-dev-v2-20230612221453
### Patch Changes
- Warning and success color a11y improved on light mode
- Updated dependencies
- @nextui-org/shared-icons@0.0.0-dev-v2-20230612221453
- @nextui-org/shared-utils@0.0.0-dev-v2-20230612221453
- @nextui-org/use-clipboard@0.0.0-dev-v2-20230612221453
- @nextui-org/dom-utils@0.0.0-dev-v2-20230612221453
- @nextui-org/tooltip@0.0.0-dev-v2-20230612221453
- @nextui-org/button@0.0.0-dev-v2-20230612221453
- @nextui-org/system@0.0.0-dev-v2-20230612221453
- @nextui-org/theme@0.0.0-dev-v2-20230612221453
## 0.0.0-dev-v2-20230612214035
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/snippet",
"version": "0.0.0-dev-v2-20230612214035",
"version": "0.0.0-dev-v2-20230612221453",
"description": "Display a snippet of copyable code for the command line.",
"keywords": [
"snippet"

View File

@ -1,5 +1,16 @@
# @nextui-org/spacer
## 0.0.0-dev-v2-20230612221453
### Patch Changes
- Warning and success color a11y improved on light mode
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230612221453
- @nextui-org/dom-utils@0.0.0-dev-v2-20230612221453
- @nextui-org/system@0.0.0-dev-v2-20230612221453
- @nextui-org/theme@0.0.0-dev-v2-20230612221453
## 0.0.0-dev-v2-20230612214035
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/spacer",
"version": "0.0.0-dev-v2-20230612214035",
"version": "0.0.0-dev-v2-20230612221453",
"description": "A flexible spacer component designed to create consistent spacing and maintain alignment in your layout.",
"keywords": [
"spacer"

View File

@ -1,5 +1,16 @@
# @nextui-org/spinner
## 0.0.0-dev-v2-20230612221453
### Patch Changes
- Warning and success color a11y improved on light mode
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230612221453
- @nextui-org/dom-utils@0.0.0-dev-v2-20230612221453
- @nextui-org/system@0.0.0-dev-v2-20230612221453
- @nextui-org/theme@0.0.0-dev-v2-20230612221453
## 0.0.0-dev-v2-20230612214035
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/spinner",
"version": "0.0.0-dev-v2-20230612214035",
"version": "0.0.0-dev-v2-20230612221453",
"description": "Loaders express an unspecified wait time or display the length of a process.",
"keywords": [
"loading",

View File

@ -1,5 +1,16 @@
# @nextui-org/switch
## 0.0.0-dev-v2-20230612221453
### Patch Changes
- Warning and success color a11y improved on light mode
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230612221453
- @nextui-org/dom-utils@0.0.0-dev-v2-20230612221453
- @nextui-org/system@0.0.0-dev-v2-20230612221453
- @nextui-org/theme@0.0.0-dev-v2-20230612221453
## 0.0.0-dev-v2-20230612214035
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/switch",
"version": "0.0.0-dev-v2-20230612214035",
"version": "0.0.0-dev-v2-20230612221453",
"description": "A switch is similar to a checkbox, but represents on/off values as opposed to selection.",
"keywords": [
"switch"

View File

@ -1,5 +1,19 @@
# @nextui-org/table
## 0.0.0-dev-v2-20230612221453
### Patch Changes
- Warning and success color a11y improved on light mode
- Updated dependencies
- @nextui-org/shared-icons@0.0.0-dev-v2-20230612221453
- @nextui-org/shared-utils@0.0.0-dev-v2-20230612221453
- @nextui-org/checkbox@0.0.0-dev-v2-20230612221453
- @nextui-org/dom-utils@0.0.0-dev-v2-20230612221453
- @nextui-org/spacer@0.0.0-dev-v2-20230612221453
- @nextui-org/system@0.0.0-dev-v2-20230612221453
- @nextui-org/theme@0.0.0-dev-v2-20230612221453
## 0.0.0-dev-v2-20230612214035
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/table",
"version": "0.0.0-dev-v2-20230612214035",
"version": "0.0.0-dev-v2-20230612221453",
"description": "Tables are used to display tabular data using rows and columns. ",
"keywords": [
"table"

View File

@ -1,5 +1,19 @@
# @nextui-org/tabs
## 0.0.0-dev-v2-20230612221453
### Patch Changes
- Warning and success color a11y improved on light mode
- Updated dependencies
- @nextui-org/framer-transitions@0.0.0-dev-v2-20230612221453
- @nextui-org/shared-utils@0.0.0-dev-v2-20230612221453
- @nextui-org/use-is-mounted@0.0.0-dev-v2-20230612221453
- @nextui-org/aria-utils@0.0.0-dev-v2-20230612221453
- @nextui-org/dom-utils@0.0.0-dev-v2-20230612221453
- @nextui-org/system@0.0.0-dev-v2-20230612221453
- @nextui-org/theme@0.0.0-dev-v2-20230612221453
## 0.0.0-dev-v2-20230612214035
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/tabs",
"version": "0.0.0-dev-v2-20230612214035",
"version": "0.0.0-dev-v2-20230612221453",
"description": "Tabs organize content into multiple sections and allow users to navigate between them.",
"keywords": [
"tabs"

View File

@ -1,5 +1,18 @@
# @nextui-org/tooltip
## 0.0.0-dev-v2-20230612221453
### Patch Changes
- Warning and success color a11y improved on light mode
- Updated dependencies
- @nextui-org/framer-transitions@0.0.0-dev-v2-20230612221453
- @nextui-org/shared-utils@0.0.0-dev-v2-20230612221453
- @nextui-org/aria-utils@0.0.0-dev-v2-20230612221453
- @nextui-org/dom-utils@0.0.0-dev-v2-20230612221453
- @nextui-org/system@0.0.0-dev-v2-20230612221453
- @nextui-org/theme@0.0.0-dev-v2-20230612221453
## 0.0.0-dev-v2-20230612214035
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/tooltip",
"version": "0.0.0-dev-v2-20230612214035",
"version": "0.0.0-dev-v2-20230612221453",
"description": "A React Component for rendering dynamically positioned Tooltips",
"keywords": [
"tooltip"

View File

@ -1,5 +1,17 @@
# @nextui-org/user
## 0.0.0-dev-v2-20230612221453
### Patch Changes
- Warning and success color a11y improved on light mode
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230612221453
- @nextui-org/dom-utils@0.0.0-dev-v2-20230612221453
- @nextui-org/avatar@0.0.0-dev-v2-20230612221453
- @nextui-org/system@0.0.0-dev-v2-20230612221453
- @nextui-org/theme@0.0.0-dev-v2-20230612221453
## 0.0.0-dev-v2-20230612214035
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/user",
"version": "0.0.0-dev-v2-20230612214035",
"version": "0.0.0-dev-v2-20230612221453",
"description": "Flexible User Profile Component.",
"keywords": [
"user"

View File

@ -1,5 +1,44 @@
# @nextui-org/react
## 0.0.0-dev-v2-20230612221453
### Patch Changes
- Warning and success color a11y improved on light mode
- Updated dependencies
- @nextui-org/pagination@0.0.0-dev-v2-20230612221453
- @nextui-org/accordion@0.0.0-dev-v2-20230612221453
- @nextui-org/checkbox@0.0.0-dev-v2-20230612221453
- @nextui-org/dropdown@0.0.0-dev-v2-20230612221453
- @nextui-org/progress@0.0.0-dev-v2-20230612221453
- @nextui-org/skeleton@0.0.0-dev-v2-20230612221453
- @nextui-org/divider@0.0.0-dev-v2-20230612221453
- @nextui-org/popover@0.0.0-dev-v2-20230612221453
- @nextui-org/snippet@0.0.0-dev-v2-20230612221453
- @nextui-org/spinner@0.0.0-dev-v2-20230612221453
- @nextui-org/tooltip@0.0.0-dev-v2-20230612221453
- @nextui-org/avatar@0.0.0-dev-v2-20230612221453
- @nextui-org/button@0.0.0-dev-v2-20230612221453
- @nextui-org/navbar@0.0.0-dev-v2-20230612221453
- @nextui-org/spacer@0.0.0-dev-v2-20230612221453
- @nextui-org/switch@0.0.0-dev-v2-20230612221453
- @nextui-org/badge@0.0.0-dev-v2-20230612221453
- @nextui-org/image@0.0.0-dev-v2-20230612221453
- @nextui-org/input@0.0.0-dev-v2-20230612221453
- @nextui-org/modal@0.0.0-dev-v2-20230612221453
- @nextui-org/radio@0.0.0-dev-v2-20230612221453
- @nextui-org/table@0.0.0-dev-v2-20230612221453
- @nextui-org/card@0.0.0-dev-v2-20230612221453
- @nextui-org/chip@0.0.0-dev-v2-20230612221453
- @nextui-org/code@0.0.0-dev-v2-20230612221453
- @nextui-org/drip@0.0.0-dev-v2-20230612221453
- @nextui-org/link@0.0.0-dev-v2-20230612221453
- @nextui-org/tabs@0.0.0-dev-v2-20230612221453
- @nextui-org/user@0.0.0-dev-v2-20230612221453
- @nextui-org/kbd@0.0.0-dev-v2-20230612221453
- @nextui-org/system@0.0.0-dev-v2-20230612221453
- @nextui-org/theme@0.0.0-dev-v2-20230612221453
## 0.0.0-dev-v2-20230612214035
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/react",
"version": "0.0.0-dev-v2-20230612214035",
"version": "0.0.0-dev-v2-20230612221453",
"description": "🚀 Beautiful and modern React UI library.",
"author": "Junior Garcia <jrgarciadev@gmail.com>",
"homepage": "https://nextui.org",

View File

@ -1,5 +1,11 @@
# @nextui-org/system
## 0.0.0-dev-v2-20230612221453
### Patch Changes
- Warning and success color a11y improved on light mode
## 0.0.0-dev-v2-20230612214035
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/system",
"version": "0.0.0-dev-v2-20230612214035",
"version": "0.0.0-dev-v2-20230612221453",
"description": "NextUI system primitives",
"keywords": [
"system"

View File

@ -1,5 +1,11 @@
# @nextui-org/theme
## 0.0.0-dev-v2-20230612221453
### Patch Changes
- Warning and success color a11y improved on light mode
## 0.0.0-dev-v2-20230612214035
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/theme",
"version": "0.0.0-dev-v2-20230612214035",
"version": "0.0.0-dev-v2-20230612221453",
"description": "The default theme for NextUI components",
"keywords": [
"theme",

View File

@ -48,24 +48,12 @@ const badge = tv({
shadow: {},
},
color: {
default: {
badge: colorVariants.solid.default,
},
primary: {
badge: colorVariants.solid.primary,
},
secondary: {
badge: colorVariants.solid.secondary,
},
success: {
badge: colorVariants.solid.success,
},
warning: {
badge: colorVariants.solid.warning,
},
danger: {
badge: colorVariants.solid.danger,
},
default: {},
primary: {},
secondary: {},
success: {},
warning: {},
danger: {},
},
size: {
xs: {
@ -143,6 +131,49 @@ const badge = tv({
isInvisible: false,
},
compoundVariants: [
// solid / color
{
variant: "solid",
color: "default",
class: {
badge: colorVariants.solid.default,
},
},
{
variant: "solid",
color: "primary",
class: {
badge: colorVariants.solid.primary,
},
},
{
variant: "solid",
color: "secondary",
class: {
badge: colorVariants.solid.secondary,
},
},
{
variant: "solid",
color: "success",
class: {
badge: colorVariants.solid.success,
},
},
{
variant: "solid",
color: "warning",
class: {
badge: colorVariants.solid.warning,
},
},
{
variant: "solid",
color: "danger",
class: {
badge: colorVariants.solid.danger,
},
},
// shadow / color
{
variant: "shadow",

View File

@ -48,28 +48,16 @@ const snippet = tv({
variant: {
flat: "",
solid: "",
bordered: "border-2 !bg-transparent",
bordered: "border-2 bg-transparent",
shadow: "",
},
color: {
default: {
base: colorVariants.flat.default,
},
primary: {
base: colorVariants.flat.primary,
},
secondary: {
base: colorVariants.flat.secondary,
},
success: {
base: colorVariants.flat.success,
},
warning: {
base: colorVariants.flat.warning,
},
danger: {
base: colorVariants.flat.danger,
},
default: {},
primary: {},
secondary: {},
success: {},
warning: {},
danger: {},
},
size: {
xs: {
@ -133,7 +121,50 @@ const snippet = tv({
disableAnimation: false,
},
compoundVariants: [
// solid & shadow / color
// flat / color
{
variant: "flat",
color: "default",
class: {
base: colorVariants.flat.default,
},
},
{
variant: "flat",
color: "primary",
class: {
base: colorVariants.flat.primary,
},
},
{
variant: "flat",
color: "secondary",
class: {
base: colorVariants.flat.secondary,
},
},
{
variant: "flat",
color: "success",
class: {
base: colorVariants.flat.success,
},
},
{
variant: "flat",
color: "warning",
class: {
base: colorVariants.flat.warning,
},
},
{
variant: "flat",
color: "danger",
class: {
base: colorVariants.flat.danger,
},
},
// solid / color
{
variant: "solid",
color: "default",

View File

@ -32,8 +32,8 @@ const flat = {
default: "bg-default-100 text-default-foreground",
primary: "bg-primary-50 text-primary",
secondary: "bg-secondary-100 text-secondary",
success: "bg-success-50 text-success",
warning: "bg-warning-50 text-warning",
success: "bg-success-50 text-success-600 dark:text-success",
warning: "bg-warning-50 text-warning-600 dark:text-warning",
danger: "bg-danger-50 text-danger",
foreground: "bg-foreground/10 text-foreground",
};

View File

@ -1,5 +1,11 @@
# @nextui-org/use-aria-accordion-item
## 0.0.0-dev-v2-20230612221453
### Patch Changes
- Warning and success color a11y improved on light mode
## 0.0.0-dev-v2-20230612214035
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/use-aria-accordion-item",
"version": "0.0.0-dev-v2-20230612214035",
"version": "0.0.0-dev-v2-20230612221453",
"description": "Internal impl for react aria accordion item",
"keywords": [
"use-aria-accordion-item"

View File

@ -1,5 +1,11 @@
# @nextui-org/use-aria-button
## 0.0.0-dev-v2-20230612221453
### Patch Changes
- Warning and success color a11y improved on light mode
## 0.0.0-dev-v2-20230612214035
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/use-aria-button",
"version": "0.0.0-dev-v2-20230612214035",
"version": "0.0.0-dev-v2-20230612221453",
"description": "Internal hook to handle button a11y and events, this is based on react-aria button hook but without the onClick warning",
"keywords": [
"use-aria-button"

View File

@ -1,5 +1,14 @@
# @nextui-org/use-aria-field
## 0.0.0-dev-v2-20230612221453
### Patch Changes
- Warning and success color a11y improved on light mode
- Updated dependencies
- @nextui-org/use-aria-slot-id@0.0.0-dev-v2-20230612221453
- @nextui-org/use-aria-label@0.0.0-dev-v2-20230612221453
## 0.0.0-dev-v2-20230612214035
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/use-aria-field",
"version": "0.0.0-dev-v2-20230612214035",
"version": "0.0.0-dev-v2-20230612221453",
"description": "Based on react-aria useField hook, provides the accessibility implementation for input fields",
"keywords": [
"use-aria-field"

View File

@ -1,5 +1,11 @@
# @nextui-org/use-aria-label
## 0.0.0-dev-v2-20230612221453
### Patch Changes
- Warning and success color a11y improved on light mode
## 0.0.0-dev-v2-20230612214035
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/use-aria-label",
"version": "0.0.0-dev-v2-20230612214035",
"version": "0.0.0-dev-v2-20230612221453",
"description": "Based on react-aria label hook, it provides the accessibility implementation for labels and their associated elements. Labels provide context for user inputs.",
"keywords": [
"use-aria-label"

View File

@ -1,5 +1,11 @@
# @nextui-org/use-aria-slot-id
## 0.0.0-dev-v2-20230612221453
### Patch Changes
- Warning and success color a11y improved on light mode
## 0.0.0-dev-v2-20230612214035
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/use-aria-slot-id",
"version": "0.0.0-dev-v2-20230612214035",
"version": "0.0.0-dev-v2-20230612221453",
"description": "Based on react-aria useSlotId, used to generate an id, and after render check if that id is rendered",
"keywords": [
"use-aria-slot-id"

View File

@ -1,5 +1,13 @@
# @nextui-org/use-aria-toggle-button
## 0.0.0-dev-v2-20230612221453
### Patch Changes
- Warning and success color a11y improved on light mode
- Updated dependencies
- @nextui-org/use-aria-button@0.0.0-dev-v2-20230612221453
## 0.0.0-dev-v2-20230612214035
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/use-aria-toggle-button",
"version": "0.0.0-dev-v2-20230612214035",
"version": "0.0.0-dev-v2-20230612221453",
"description": "Internal hook to handle button a11y and events, this is based on react-aria button hook but without the onClick warning",
"keywords": [
"use-aria-toggle-button"

View File

@ -1,5 +1,13 @@
# @nextui-org/use-callback-ref
## 0.0.0-dev-v2-20230612221453
### Patch Changes
- Warning and success color a11y improved on light mode
- Updated dependencies
- @nextui-org/use-safe-layout-effect@0.0.0-dev-v2-20230612221453
## 0.0.0-dev-v2-20230612214035
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/use-callback-ref",
"version": "0.0.0-dev-v2-20230612214035",
"version": "0.0.0-dev-v2-20230612221453",
"description": "React hook to persist any value between renders, but keeps it up-to-date if it changes.",
"keywords": [
"use-callback-ref"

View File

@ -1,5 +1,11 @@
# @nextui-org/use-clipboard
## 0.0.0-dev-v2-20230612221453
### Patch Changes
- Warning and success color a11y improved on light mode
## 0.0.0-dev-v2-20230612214035
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/use-clipboard",
"version": "0.0.0-dev-v2-20230612214035",
"version": "0.0.0-dev-v2-20230612221453",
"description": "Wrapper around navigator.clipboard with feedback timeout",
"keywords": [
"use-clipboard"

View File

@ -1,5 +1,13 @@
# @nextui-org/use-disclosure
## 0.0.0-dev-v2-20230612221453
### Patch Changes
- Warning and success color a11y improved on light mode
- Updated dependencies
- @nextui-org/use-callback-ref@0.0.0-dev-v2-20230612221453
## 0.0.0-dev-v2-20230612214035
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/use-disclosure",
"version": "0.0.0-dev-v2-20230612214035",
"version": "0.0.0-dev-v2-20230612221453",
"description": "The hook in charge of managing modals",
"keywords": [
"use-disclosure"

View File

@ -1,5 +1,13 @@
# @nextui-org/use-image
## 0.0.0-dev-v2-20230612221453
### Patch Changes
- Warning and success color a11y improved on light mode
- Updated dependencies
- @nextui-org/use-safe-layout-effect@0.0.0-dev-v2-20230612221453
## 0.0.0-dev-v2-20230612214035
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/use-image",
"version": "0.0.0-dev-v2-20230612214035",
"version": "0.0.0-dev-v2-20230612221453",
"description": "React hook for progressing image loading",
"keywords": [
"use-image"

View File

@ -1,5 +1,11 @@
# @nextui-org/use-infinite-scroll
## 0.0.0-dev-v2-20230612221453
### Patch Changes
- Warning and success color a11y improved on light mode
## 0.0.0-dev-v2-20230612214035
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/use-infinite-scroll",
"version": "0.0.0-dev-v2-20230612214035",
"version": "0.0.0-dev-v2-20230612221453",
"description": "A hook for handling infinity scroll based on the IntersectionObserver API",
"keywords": [
"use-infinite-scroll"

View File

@ -1,5 +1,11 @@
# @nextui-org/use-is-mobile
## 0.0.0-dev-v2-20230612221453
### Patch Changes
- Warning and success color a11y improved on light mode
## 0.0.0-dev-v2-20230612214035
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/use-is-mobile",
"version": "0.0.0-dev-v2-20230612214035",
"version": "0.0.0-dev-v2-20230612221453",
"description": "A hook that returns whether the device is mobile or not",
"keywords": [
"use-is-mobile"

View File

@ -1,5 +1,11 @@
# @nextui-org/use-is-mounted
## 0.0.0-dev-v2-20230612221453
### Patch Changes
- Warning and success color a11y improved on light mode
## 0.0.0-dev-v2-20230612214035
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/use-is-mounted",
"version": "0.0.0-dev-v2-20230612214035",
"version": "0.0.0-dev-v2-20230612221453",
"description": "This hook can be used to render client-based components or run client logic",
"keywords": [
"use-is-mounted"

View File

@ -1,5 +1,13 @@
# @nextui-org/use-pagination
## 0.0.0-dev-v2-20230612221453
### Patch Changes
- Warning and success color a11y improved on light mode
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230612221453
## 0.0.0-dev-v2-20230612214035
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/use-pagination",
"version": "0.0.0-dev-v2-20230612214035",
"version": "0.0.0-dev-v2-20230612221453",
"description": "State management hook for Pagination component, it lets you manage pagination with controlled and uncontrolled state",
"keywords": [
"use-pagination"

View File

@ -1,5 +1,13 @@
# @nextui-org/use-real-shape
## 0.0.0-dev-v2-20230612221453
### Patch Changes
- Warning and success color a11y improved on light mode
- Updated dependencies
- @nextui-org/dom-utils@0.0.0-dev-v2-20230612221453
## 0.0.0-dev-v2-20230612214035
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/use-real-shape",
"version": "0.0.0-dev-v2-20230612214035",
"version": "0.0.0-dev-v2-20230612221453",
"description": "Hook that returns the real dimensions of an element",
"keywords": [
"use-real-shape"

Some files were not shown because too many files have changed in this diff Show More