Skip to content
This repository has been archived by the owner on Jan 15, 2025. It is now read-only.

Commit

Permalink
Update button-variants styles to include justify-center
Browse files Browse the repository at this point in the history
  • Loading branch information
thevuong committed Jan 18, 2024
1 parent 7f88747 commit af63a53
Show file tree
Hide file tree
Showing 13 changed files with 1,209 additions and 1,182 deletions.
6 changes: 6 additions & 0 deletions .idea/tailwindcss.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

34 changes: 17 additions & 17 deletions apps/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,40 +17,40 @@
"@codefixlabs/ui": "workspace:*",
"@faker-js/faker": "^8.3.1",
"@hookform/resolvers": "^3.3.4",
"@storybook/addon-a11y": "^7.6.7",
"@storybook/addon-essentials": "^7.6.7",
"@storybook/addon-interactions": "^7.6.7",
"@storybook/addon-links": "^7.6.7",
"@storybook/blocks": "^7.6.7",
"@storybook/manager-api": "^7.6.7",
"@storybook/nextjs": "^7.6.7",
"@storybook/react": "^7.6.7",
"@storybook/addon-a11y": "^7.6.9",
"@storybook/addon-essentials": "^7.6.9",
"@storybook/addon-interactions": "^7.6.9",
"@storybook/addon-links": "^7.6.9",
"@storybook/blocks": "^7.6.9",
"@storybook/manager-api": "^7.6.9",
"@storybook/nextjs": "^7.6.9",
"@storybook/react": "^7.6.9",
"@storybook/testing-library": "^0.2.2",
"@storybook/theming": "^7.6.7",
"@storybook/types": "^7.6.7",
"@tanstack/react-table": "^8.11.3",
"@storybook/theming": "^7.6.9",
"@storybook/types": "^7.6.9",
"@tanstack/react-table": "^8.11.6",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.0",
"date-fns": "^3.2.0",
"lucide-react": "^0.308.0",
"lucide-react": "^0.312.0",
"next": "^14.0.4",
"react": "^18.2.0",
"react-day-picker": "^8.10.0",
"react-dom": "^18.2.0",
"react-hook-form": "^7.49.3",
"storybook": "^7.6.7",
"storybook": "^7.6.9",
"tailwind-merge": "^2.2.0",
"zod": "^3.22.4"
},
"devDependencies": {
"@codefixlabs/tailwindcss": "workspace:*",
"@codefixlabs/tsconfig": "workspace:*",
"@next/eslint-plugin-next": "^14.0.4",
"@types/node": "^20.10.8",
"@types/react": "^18.2.47",
"@types/node": "^20.11.5",
"@types/react": "^18.2.48",
"@types/react-dom": "^18.2.18",
"autoprefixer": "^10.4.16",
"chromatic": "^10.2.0",
"autoprefixer": "^10.4.17",
"chromatic": "^10.3.1",
"eslint-config-codefixlabs": "workspace:*",
"postcss": "^8.4.33",
"tailwindcss": "^3.4.1",
Expand Down
10 changes: 1 addition & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,22 +36,14 @@
"prettier-plugin-tailwindcss"
],
"singleQuote": true,
"tailwindAttributes": [
"classNames"
],
"tailwindFunctions": [
"cva",
"cx",
"twMerge"
],
"trailingComma": "all"
},
"devDependencies": {
"@changesets/cli": "^2.27.1",
"@codefixlabs/tsconfig": "workspace:*",
"eslint": "^8.56.0",
"lint-staged": "^15.2.0",
"prettier": "^3.1.1",
"prettier": "^3.2.4",
"prettier-plugin-tailwindcss": "^0.5.11",
"simple-git-hooks": "^2.9.0",
"turbo": "^1.11.3",
Expand Down
6 changes: 6 additions & 0 deletions packages/eslint-config-codefixlabs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# eslint-config-codefixlabs

## 0.1.24

### Patch Changes

- Update button-variants styles to include justify-center

## 0.1.23

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/eslint-config-codefixlabs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-config-codefixlabs",
"version": "0.1.23",
"version": "0.1.24",
"license": "MIT",
"sideEffects": false,
"main": "index.js",
Expand All @@ -9,7 +9,7 @@
},
"dependencies": {
"@vercel/style-guide": "^5.1.0",
"eslint-plugin-mdx": "^3.1.1",
"eslint-plugin-mdx": "^3.1.5",
"eslint-plugin-storybook": "^0.6.15"
},
"publishConfig": {
Expand Down
6 changes: 6 additions & 0 deletions packages/hooks/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @codefixlabs/hooks

## 0.1.35

### Patch Changes

- Update button-variants styles to include justify-center

## 0.1.34

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/hooks/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@codefixlabs/hooks",
"version": "0.1.34",
"version": "0.1.35",
"license": "MIT",
"sideEffects": false,
"exports": {
Expand Down Expand Up @@ -35,7 +35,7 @@
},
"devDependencies": {
"@codefixlabs/tsconfig": "workspace:*",
"@types/react": "^18.2.47",
"@types/react": "^18.2.48",
"eslint-config-codefixlabs": "workspace:*",
"tsup": "^8.0.1",
"typescript": "^5.3.3"
Expand Down
6 changes: 6 additions & 0 deletions packages/lib/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @codefixlabs/lib

## 0.1.38

### Patch Changes

- Update button-variants styles to include justify-center

## 0.1.37

### Patch Changes
Expand Down
6 changes: 3 additions & 3 deletions packages/lib/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@codefixlabs/lib",
"version": "0.1.37",
"version": "0.1.38",
"license": "MIT",
"sideEffects": false,
"exports": {
Expand Down Expand Up @@ -38,13 +38,13 @@
"rehype-sanitize": "^6.0.0",
"rehype-stringify": "^10.0.0",
"remark-parse": "^11.0.0",
"remark-rehype": "^11.0.0",
"remark-rehype": "^11.1.0",
"remark-stringify": "^11.0.0",
"unified": "^11.0.4"
},
"devDependencies": {
"@codefixlabs/tsconfig": "workspace:*",
"@types/react": "^18.2.47",
"@types/react": "^18.2.48",
"eslint-config-codefixlabs": "workspace:*",
"tsup": "^8.0.1",
"typescript": "^5.3.3"
Expand Down
9 changes: 9 additions & 0 deletions packages/ui/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @codefixlabs/ui

## 0.1.95

### Patch Changes

- Update button-variants styles to include justify-center
- Updated dependencies
- @codefixlabs/hooks@0.1.35
- @codefixlabs/lib@0.1.38

## 0.1.94

### Patch Changes
Expand Down
40 changes: 20 additions & 20 deletions packages/ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@codefixlabs/ui",
"version": "0.1.94",
"version": "0.1.95",
"license": "MIT",
"sideEffects": false,
"exports": {
Expand Down Expand Up @@ -59,26 +59,26 @@
"@radix-ui/react-toggle-group": "^1.0.4",
"@radix-ui/react-toolbar": "^1.0.4",
"@radix-ui/react-tooltip": "^1.0.7",
"@tanstack/react-table": "^8.11.3",
"@tanstack/table-core": "^8.11.3",
"@tiptap/extension-highlight": "^2.1.15",
"@tiptap/extension-image": "^2.1.15",
"@tiptap/extension-table": "^2.1.15",
"@tiptap/extension-table-cell": "^2.1.15",
"@tiptap/extension-table-header": "^2.1.15",
"@tiptap/extension-table-row": "^2.1.15",
"@tiptap/extension-task-item": "^2.1.15",
"@tiptap/extension-task-list": "^2.1.15",
"@tiptap/extension-text-align": "^2.1.15",
"@tiptap/extension-youtube": "^2.1.15",
"@tiptap/pm": "^2.1.15",
"@tiptap/react": "^2.1.15",
"@tiptap/starter-kit": "^2.1.15",
"@tanstack/react-table": "^8.11.6",
"@tanstack/table-core": "^8.11.6",
"@tiptap/extension-highlight": "^2.1.16",
"@tiptap/extension-image": "^2.1.16",
"@tiptap/extension-table": "^2.1.16",
"@tiptap/extension-table-cell": "^2.1.16",
"@tiptap/extension-table-header": "^2.1.16",
"@tiptap/extension-table-row": "^2.1.16",
"@tiptap/extension-task-item": "^2.1.16",
"@tiptap/extension-task-list": "^2.1.16",
"@tiptap/extension-text-align": "^2.1.16",
"@tiptap/extension-youtube": "^2.1.16",
"@tiptap/pm": "^2.1.16",
"@tiptap/react": "^2.1.16",
"@tiptap/starter-kit": "^2.1.16",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.0",
"cmdk": "^0.2.0",
"date-fns": "^3.2.0",
"lucide-react": "^0.308.0",
"lucide-react": "^0.312.0",
"pluralize": "^8.0.0",
"react": "^18.2.0",
"react-day-picker": "^8.10.0",
Expand All @@ -90,10 +90,10 @@
"devDependencies": {
"@codefixlabs/tailwindcss": "workspace:*",
"@codefixlabs/tsconfig": "workspace:*",
"@types/node": "^20.10.8",
"@types/node": "^20.11.5",
"@types/pluralize": "^0.0.33",
"@types/react": "^18.2.47",
"autoprefixer": "^10.4.16",
"@types/react": "^18.2.48",
"autoprefixer": "^10.4.17",
"eslint-config-codefixlabs": "workspace:*",
"postcss": "^8.4.33",
"tailwindcss": "^3.4.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/server/button-variants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { cva } from 'class-variance-authority';

export const buttonVariants = cva(
[
'relative items-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors',
'relative items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors',
'ring-offset-background',
'focus-visible:ring-ring focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2',
'disabled:pointer-events-none disabled:duration-0',
Expand Down
Loading

0 comments on commit af63a53

Please sign in to comment.