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

Commit

Permalink
Add new files and update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
thevuong committed Jan 7, 2024
1 parent 49373aa commit c74dd4e
Show file tree
Hide file tree
Showing 78 changed files with 2,970 additions and 2,793 deletions.
1 change: 0 additions & 1 deletion .idea/inspectionProfiles/Project_Default.xml

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

2 changes: 1 addition & 1 deletion apps/docs/.storybook/preview.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import '@/ui/globals.css';
import '@/app/globals.css';
import type { Preview } from '@storybook/react';

const preview: Preview = {
Expand Down
34 changes: 17 additions & 17 deletions apps/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,28 +15,28 @@
"@codefixlabs/lib": "workspace:*",
"@codefixlabs/ui": "workspace:*",
"@faker-js/faker": "^8.3.1",
"@hookform/resolvers": "^3.3.3",
"@storybook/addon-a11y": "^7.6.6",
"@storybook/addon-essentials": "^7.6.6",
"@storybook/addon-interactions": "^7.6.6",
"@storybook/addon-links": "^7.6.6",
"@storybook/blocks": "^7.6.6",
"@storybook/manager-api": "^7.6.6",
"@storybook/nextjs": "^7.6.6",
"@storybook/react": "^7.6.6",
"@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/testing-library": "^0.2.2",
"@storybook/theming": "^7.6.6",
"@storybook/types": "^7.6.6",
"@tanstack/react-table": "^8.11.2",
"@storybook/theming": "^7.6.7",
"@storybook/types": "^7.6.7",
"@tanstack/react-table": "^8.11.3",
"class-variance-authority": "^0.7.0",
"date-fns": "^3.0.6",
"lucide-react": "^0.303.0",
"date-fns": "^3.1.0",
"lucide-react": "^0.306.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.2",
"storybook": "^7.6.6",
"storybook": "^7.6.7",
"tailwind-merge": "^2.2.0",
"zod": "^3.22.4"
},
Expand All @@ -50,8 +50,8 @@
"autoprefixer": "^10.4.16",
"chromatic": "^10.2.0",
"eslint-config-codefixlabs": "workspace:*",
"postcss": "^8.4.32",
"tailwindcss": "^3.4.0",
"postcss": "^8.4.33",
"tailwindcss": "^3.4.1",
"typescript": "^5.3.3"
}
}
File renamed without changes.
11 changes: 9 additions & 2 deletions apps/docs/src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
import '@/ui/globals.css';
import '@/app/globals.css';
import type { Metadata } from 'next';
import { nunito } from '@/ui/fonts';
import { Nunito } from 'next/font/google';
import React from 'react';

const nunito = Nunito({
subsets: ['vietnamese'],
variable: '--font-sans',
weight: 'variable',
});

export const metadata: Metadata = {
description: 'Generated by create next app',
Expand Down
1 change: 1 addition & 0 deletions apps/docs/src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import {
} from '@codefixlabs/ui';
import { BellIcon, CheckIcon } from 'lucide-react';
import Link from 'next/link';
import * as React from 'react';

const notifications = [
{
Expand Down
19 changes: 8 additions & 11 deletions apps/docs/src/stories/dialog/dialog.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,9 @@ export const Basic: Story = {
</div>
</DialogBody>
<DialogFooter>
<DialogClose asChild className="ml-auto">
<Button type="submit">Save changes</Button>
<DialogClose>Cancel</DialogClose>
<DialogClose type="submit" variant="primary">
Save changes
</DialogClose>
</DialogFooter>
</DialogContent>
Expand Down Expand Up @@ -118,8 +119,9 @@ export const Scrolling: Story = {
</DialogBody>

<DialogFooter>
<DialogClose asChild className="ml-auto">
<Button type="submit">Save changes</Button>
<DialogClose>Cancel</DialogClose>
<DialogClose type="submit" variant="primary">
Save changes
</DialogClose>
</DialogFooter>
</DialogContent>
Expand Down Expand Up @@ -271,13 +273,8 @@ function DialogForm(
</DialogBody>

<DialogFooter>
<DialogClose asChild>
<Button
disabled={form.formState.isSubmitting}
variant="outline"
>
Cancel
</Button>
<DialogClose disabled={form.formState.isSubmitting}>
Cancel
</DialogClose>

<Button loading={form.formState.isSubmitting} type="submit">
Expand Down
16 changes: 4 additions & 12 deletions apps/docs/src/stories/drawer/drawer.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,8 @@ export const Basic: Story = {
</p>
</DrawerBody>
<DrawerFooter>
<DrawerClose asChild>
<Button variant="ghost">Secondary</Button>
</DrawerClose>
<DrawerClose asChild>
<Button>Primary</Button>
</DrawerClose>
<DrawerClose>Secondary</DrawerClose>
<DrawerClose variant="primary">Primary</DrawerClose>
</DrawerFooter>
</DrawerContent>
</Drawer>
Expand Down Expand Up @@ -92,12 +88,8 @@ export const Scrolling: Story = {
))}
</DrawerBody>
<DrawerFooter>
<DrawerClose asChild>
<Button variant="ghost">Secondary</Button>
</DrawerClose>
<DrawerClose asChild>
<Button>Primary</Button>
</DrawerClose>
<DrawerClose>Secondary</DrawerClose>
<DrawerClose variant="primary">Primary</DrawerClose>
</DrawerFooter>
</DrawerContent>
</Drawer>
Expand Down
7 changes: 0 additions & 7 deletions apps/docs/src/ui/fonts.ts

This file was deleted.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
],
"scripts": {
"build": "turbo run build",
"build:packages": "turbo run build --filter='./packages/*'",
"build:packages": "turbo run build --force --filter='./packages/*'",
"changeset": "changeset",
"clean": "turbo run clean && rm -rf .turbo node_modules",
"dev": "turbo run dev",
Expand Down Expand Up @@ -53,9 +53,9 @@
"eslint": "^8.56.0",
"lint-staged": "^15.2.0",
"prettier": "^3.1.1",
"prettier-plugin-tailwindcss": "^0.5.10",
"prettier-plugin-tailwindcss": "^0.5.11",
"simple-git-hooks": "^2.9.0",
"turbo": "^1.11.2"
"turbo": "^1.11.3"
},
"packageManager": "[email protected]"
}
3 changes: 3 additions & 0 deletions packages/eslint-config-codefixlabs/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": ["./library"]
}
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.20

### Patch Changes

- Add new files and update dependencies

## 0.1.19

### Patch Changes
Expand Down
7 changes: 1 addition & 6 deletions packages/eslint-config-codefixlabs/package.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,12 @@
{
"name": "eslint-config-codefixlabs",
"version": "0.1.19",
"version": "0.1.20",
"license": "MIT",
"sideEffects": false,
"main": "index.js",
"scripts": {
"clean": "rm -rf node_modules"
},
"eslintConfig": {
"extends": [
"./library"
]
},
"dependencies": {
"@vercel/style-guide": "^5.1.0",
"eslint-plugin-mdx": "^3.1.1",
Expand Down
3 changes: 3 additions & 0 deletions packages/hooks/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": ["eslint-config-codefixlabs/react"]
}
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.31

### Patch Changes

- Add new files and update dependencies

## 0.1.30

### Patch Changes
Expand Down
7 changes: 1 addition & 6 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.30",
"version": "0.1.31",
"license": "MIT",
"sideEffects": false,
"exports": {
Expand Down Expand Up @@ -28,11 +28,6 @@
"dev": "tsup --watch",
"lint": "eslint src/"
},
"eslintConfig": {
"extends": [
"eslint-config-codefixlabs/react"
]
},
"dependencies": {
"country-state-city": "^3.2.1",
"react": "^18.2.0",
Expand Down
3 changes: 3 additions & 0 deletions packages/lib/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": ["eslint-config-codefixlabs/react"]
}
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.33

### Patch Changes

- Add new files and update dependencies

## 0.1.32

### Patch Changes
Expand Down
7 changes: 1 addition & 6 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.32",
"version": "0.1.33",
"license": "MIT",
"sideEffects": false,
"exports": {
Expand Down Expand Up @@ -28,11 +28,6 @@
"dev": "tsup --watch",
"lint": "eslint src/"
},
"eslintConfig": {
"extends": [
"eslint-config-codefixlabs/react"
]
},
"dependencies": {
"libphonenumber-js": "^1.10.53",
"react": "^18.2.0",
Expand Down
3 changes: 3 additions & 0 deletions packages/tailwindcss/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": ["eslint-config-codefixlabs/library"]
}
6 changes: 6 additions & 0 deletions packages/tailwindcss/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @codefixlabs/tailwindcss

## 0.1.44

### Patch Changes

- Add new files and update dependencies

## 0.1.43

### Patch Changes
Expand Down
9 changes: 2 additions & 7 deletions packages/tailwindcss/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@codefixlabs/tailwindcss",
"version": "0.1.43",
"version": "0.1.44",
"license": "MIT",
"sideEffects": false,
"exports": {
Expand Down Expand Up @@ -28,15 +28,10 @@
"dev": "tsup --watch",
"lint": "eslint src/"
},
"eslintConfig": {
"extends": [
"eslint-config-codefixlabs/library"
]
},
"dependencies": {
"@tailwindcss/container-queries": "^0.1.1",
"@tailwindcss/typography": "^0.5.10",
"tailwindcss": "^3.4.0"
"tailwindcss": "^3.4.1"
},
"devDependencies": {
"@codefixlabs/tsconfig": "workspace:*",
Expand Down
3 changes: 3 additions & 0 deletions packages/ui/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": ["eslint-config-codefixlabs/react"]
}
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.85

### Patch Changes

- Add new files and update dependencies
- Updated dependencies
- @codefixlabs/hooks@0.1.31
- @codefixlabs/lib@0.1.33

## 0.1.84

### Patch Changes
Expand Down
Loading

0 comments on commit c74dd4e

Please sign in to comment.