chore(circular-progress): value styles changed

This commit is contained in:
Junior Garcia 2023-03-31 10:29:23 -03:00
parent 9157b08187
commit aa527e28da
42 changed files with 186 additions and 24 deletions

View File

@ -1,5 +1,12 @@
# @nextui-org/accordion # @nextui-org/accordion
## 0.0.0-dev-v2-20230331132840
### Patch Changes
- Updated dependencies
- @nextui-org/theme@0.0.0-dev-v2-20230331132840
## 0.0.0-dev-v2-20230331023043 ## 0.0.0-dev-v2-20230331023043
### Patch Changes ### Patch Changes

View File

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

View File

@ -1,5 +1,12 @@
# @nextui-org/avatar # @nextui-org/avatar
## 0.0.0-dev-v2-20230331132840
### Patch Changes
- Updated dependencies
- @nextui-org/theme@0.0.0-dev-v2-20230331132840
## 0.0.0-dev-v2-20230331023043 ## 0.0.0-dev-v2-20230331023043
### Patch Changes ### Patch Changes

View File

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

View File

@ -1,5 +1,12 @@
# @nextui-org/badge # @nextui-org/badge
## 0.0.0-dev-v2-20230331132840
### Patch Changes
- Updated dependencies
- @nextui-org/theme@0.0.0-dev-v2-20230331132840
## 0.0.0-dev-v2-20230331023043 ## 0.0.0-dev-v2-20230331023043
### Patch Changes ### Patch Changes

View File

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

View File

@ -1,5 +1,14 @@
# @nextui-org/button # @nextui-org/button
## 0.0.0-dev-v2-20230331132840
### Patch Changes
- Updated dependencies
- @nextui-org/theme@0.0.0-dev-v2-20230331132840
- @nextui-org/drip@0.0.0-dev-v2-20230331132840
- @nextui-org/spinner@0.0.0-dev-v2-20230331132840
## 0.0.0-dev-v2-20230331023043 ## 0.0.0-dev-v2-20230331023043
### Patch Changes ### Patch Changes

View File

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

View File

@ -1,5 +1,13 @@
# @nextui-org/card # @nextui-org/card
## 0.0.0-dev-v2-20230331132840
### Patch Changes
- Updated dependencies
- @nextui-org/theme@0.0.0-dev-v2-20230331132840
- @nextui-org/drip@0.0.0-dev-v2-20230331132840
## 0.0.0-dev-v2-20230331023043 ## 0.0.0-dev-v2-20230331023043
### Patch Changes ### Patch Changes

View File

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

View File

@ -1,5 +1,12 @@
# @nextui-org/checkbox # @nextui-org/checkbox
## 0.0.0-dev-v2-20230331132840
### Patch Changes
- Updated dependencies
- @nextui-org/theme@0.0.0-dev-v2-20230331132840
## 0.0.0-dev-v2-20230331023043 ## 0.0.0-dev-v2-20230331023043
### Patch Changes ### Patch Changes

View File

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

View File

@ -1,5 +1,12 @@
# @nextui-org/chip # @nextui-org/chip
## 0.0.0-dev-v2-20230331132840
### Patch Changes
- Updated dependencies
- @nextui-org/theme@0.0.0-dev-v2-20230331132840
## 0.0.0-dev-v2-20230331023043 ## 0.0.0-dev-v2-20230331023043
### Patch Changes ### Patch Changes

View File

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

View File

@ -1,5 +1,12 @@
# @nextui-org/code # @nextui-org/code
## 0.0.0-dev-v2-20230331132840
### Patch Changes
- Updated dependencies
- @nextui-org/theme@0.0.0-dev-v2-20230331132840
## 0.0.0-dev-v2-20230331023043 ## 0.0.0-dev-v2-20230331023043
### Patch Changes ### Patch Changes

View File

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

View File

@ -1,5 +1,12 @@
# @nextui-org/drip # @nextui-org/drip
## 0.0.0-dev-v2-20230331132840
### Patch Changes
- Updated dependencies
- @nextui-org/theme@0.0.0-dev-v2-20230331132840
## 0.0.0-dev-v2-20230331023043 ## 0.0.0-dev-v2-20230331023043
### Patch Changes ### Patch Changes

View File

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

View File

@ -1,5 +1,12 @@
# @nextui-org/link # @nextui-org/link
## 0.0.0-dev-v2-20230331132840
### Patch Changes
- Updated dependencies
- @nextui-org/theme@0.0.0-dev-v2-20230331132840
## 0.0.0-dev-v2-20230331023043 ## 0.0.0-dev-v2-20230331023043
### Patch Changes ### Patch Changes

View File

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

View File

@ -1,5 +1,12 @@
# @nextui-org/pagination # @nextui-org/pagination
## 0.0.0-dev-v2-20230331132840
### Patch Changes
- Updated dependencies
- @nextui-org/theme@0.0.0-dev-v2-20230331132840
## 0.0.0-dev-v2-20230331023043 ## 0.0.0-dev-v2-20230331023043
### Patch Changes ### Patch Changes

View File

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

View File

@ -1,5 +1,12 @@
# @nextui-org/progress # @nextui-org/progress
## 0.0.0-dev-v2-20230331132840
### Patch Changes
- Updated dependencies
- @nextui-org/theme@0.0.0-dev-v2-20230331132840
## 0.0.0-dev-v2-20230331023043 ## 0.0.0-dev-v2-20230331023043
### Patch Changes ### Patch Changes

View File

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

View File

@ -1,6 +1,6 @@
import React from "react"; import React from "react";
import {ComponentStory, ComponentMeta} from "@storybook/react"; import {ComponentStory, ComponentMeta} from "@storybook/react";
import {progress} from "@nextui-org/theme"; import {circularProgress} from "@nextui-org/theme";
import {CircularProgress, CircularProgressProps} from "../src"; import {CircularProgress, CircularProgressProps} from "../src";
@ -29,8 +29,8 @@ export default {
} as ComponentMeta<typeof CircularProgress>; } as ComponentMeta<typeof CircularProgress>;
const defaultProps = { const defaultProps = {
...progress.defaultVariants, ...circularProgress.defaultVariants,
value: 55, value: 70,
}; };
const Template: ComponentStory<typeof CircularProgress> = (args: CircularProgressProps) => ( const Template: ComponentStory<typeof CircularProgress> = (args: CircularProgressProps) => (

View File

@ -1,5 +1,12 @@
# @nextui-org/radio # @nextui-org/radio
## 0.0.0-dev-v2-20230331132840
### Patch Changes
- Updated dependencies
- @nextui-org/theme@0.0.0-dev-v2-20230331132840
## 0.0.0-dev-v2-20230331023043 ## 0.0.0-dev-v2-20230331023043
### Patch Changes ### Patch Changes

View File

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

View File

@ -1,5 +1,13 @@
# @nextui-org/snippet # @nextui-org/snippet
## 0.0.0-dev-v2-20230331132840
### Patch Changes
- Updated dependencies
- @nextui-org/theme@0.0.0-dev-v2-20230331132840
- @nextui-org/tooltip@0.0.0-dev-v2-20230331132840
## 0.0.0-dev-v2-20230331023043 ## 0.0.0-dev-v2-20230331023043
### Patch Changes ### Patch Changes

View File

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

View File

@ -1,5 +1,12 @@
# @nextui-org/spinner # @nextui-org/spinner
## 0.0.0-dev-v2-20230331132840
### Patch Changes
- Updated dependencies
- @nextui-org/theme@0.0.0-dev-v2-20230331132840
## 0.0.0-dev-v2-20230331023043 ## 0.0.0-dev-v2-20230331023043
### Patch Changes ### Patch Changes

View File

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

View File

@ -1,5 +1,12 @@
# @nextui-org/switch # @nextui-org/switch
## 0.0.0-dev-v2-20230331132840
### Patch Changes
- Updated dependencies
- @nextui-org/theme@0.0.0-dev-v2-20230331132840
## 0.0.0-dev-v2-20230331023043 ## 0.0.0-dev-v2-20230331023043
### Patch Changes ### Patch Changes

View File

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

View File

@ -1,5 +1,12 @@
# @nextui-org/tooltip # @nextui-org/tooltip
## 0.0.0-dev-v2-20230331132840
### Patch Changes
- Updated dependencies
- @nextui-org/theme@0.0.0-dev-v2-20230331132840
## 0.0.0-dev-v2-20230331023043 ## 0.0.0-dev-v2-20230331023043
### Patch Changes ### Patch Changes

View File

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

View File

@ -1,5 +1,13 @@
# @nextui-org/user # @nextui-org/user
## 0.0.0-dev-v2-20230331132840
### Patch Changes
- Updated dependencies
- @nextui-org/theme@0.0.0-dev-v2-20230331132840
- @nextui-org/avatar@0.0.0-dev-v2-20230331132840
## 0.0.0-dev-v2-20230331023043 ## 0.0.0-dev-v2-20230331023043
### Patch Changes ### Patch Changes

View File

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

View File

@ -1,5 +1,30 @@
# @nextui-org/react # @nextui-org/react
## 0.0.0-dev-v2-20230331132840
### Patch Changes
- Updated dependencies
- @nextui-org/theme@0.0.0-dev-v2-20230331132840
- @nextui-org/accordion@0.0.0-dev-v2-20230331132840
- @nextui-org/avatar@0.0.0-dev-v2-20230331132840
- @nextui-org/badge@0.0.0-dev-v2-20230331132840
- @nextui-org/button@0.0.0-dev-v2-20230331132840
- @nextui-org/card@0.0.0-dev-v2-20230331132840
- @nextui-org/checkbox@0.0.0-dev-v2-20230331132840
- @nextui-org/chip@0.0.0-dev-v2-20230331132840
- @nextui-org/code@0.0.0-dev-v2-20230331132840
- @nextui-org/drip@0.0.0-dev-v2-20230331132840
- @nextui-org/link@0.0.0-dev-v2-20230331132840
- @nextui-org/pagination@0.0.0-dev-v2-20230331132840
- @nextui-org/progress@0.0.0-dev-v2-20230331132840
- @nextui-org/radio@0.0.0-dev-v2-20230331132840
- @nextui-org/snippet@0.0.0-dev-v2-20230331132840
- @nextui-org/spinner@0.0.0-dev-v2-20230331132840
- @nextui-org/switch@0.0.0-dev-v2-20230331132840
- @nextui-org/tooltip@0.0.0-dev-v2-20230331132840
- @nextui-org/user@0.0.0-dev-v2-20230331132840
## 0.0.0-dev-v2-20230331023043 ## 0.0.0-dev-v2-20230331023043
### Patch Changes ### Patch Changes

View File

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

View File

@ -1,5 +1,11 @@
# @nextui-org/theme # @nextui-org/theme
## 0.0.0-dev-v2-20230331132840
### Patch Changes
- CircularProgress value styles changed
## 0.0.0-dev-v2-20230331023043 ## 0.0.0-dev-v2-20230331023043
### Patch Changes ### Patch Changes

View File

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

View File

@ -27,7 +27,7 @@ const circularProgress = tv({
svgWrapper: "relative block", svgWrapper: "relative block",
svg: "z-0 relative overflow-hidden", svg: "z-0 relative overflow-hidden",
circle: "h-full stroke-current", circle: "h-full stroke-current",
value: "absolute font-semibold top-0 left-0 w-full h-full flex items-center justify-center", value: "absolute font-normal top-0 left-0 w-full h-full flex items-center justify-center",
}, },
variants: { variants: {
color: { color: {