Skip to content

Commit

Permalink
chore: update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
zaaakher committed Jun 17, 2024
1 parent 2b0e393 commit 589e060
Show file tree
Hide file tree
Showing 10 changed files with 769 additions and 1,007 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,13 @@
### Tools used

- Styling: [Tailwind](https://tailwindcss.com/)
- Headless UI: [Radix-UI](https://www.radix-ui.com/)
- Headless UI: [Radix-UI](https://www.radix-ui.com/) & [Headless UI](https://headlessui.dev/)
- Forms: [react-hook-form](https://react-hook-form.com/)
- Tables: [@tanstack/react-table](https://tanstack.com/table/v8)
- Form Validation: [zod](https://zod.dev/)
- Phone Validation: [libphonenumber-js](https://gitlab.com/catamphetamine/libphonenumber-js)
- Carousel: [embla-carousel-react](https://www.embla-carousel.com/)
- Toast: [sonner](https://github.com/emilkowalski/sonner)
- Combobox: [cmdk](https://github.com/pacocoursey/cmdk)

## Install
Expand Down
14 changes: 7 additions & 7 deletions apps/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,21 +57,21 @@
"cmdk": "^1.0.0",
"contentlayer2": "0.4.6",
"date-fns": "^3.6.0",
"embla-carousel-autoplay": "8.1.3",
"embla-carousel-react": "8.1.3",
"embla-carousel-autoplay": "8.1.5",
"embla-carousel-react": "8.1.5",
"geist": "^1.3.0",
"jotai": "^2.8.3",
"lodash.template": "^4.5.0",
"lucide-react": "0.390.0",
"lucide-react": "0.395.0",
"markdown-wasm": "^1.2.0",
"next": "14.2.3",
"next": "14.2.4",
"next-contentlayer2": "^0.4.6",
"next-themes": "^0.3.0",
"nextjs-progressloader": "^1.2.0",
"react": "^18.3.1",
"react-day-picker": "^8.10.1",
"react-dom": "^18.3.1",
"react-hook-form": "^7.51.5",
"react-hook-form": "^7.52.0",
"react-resizable-panels": "^2.0.19",
"react-wrap-balancer": "^1.1.1",
"recharts": "^2.12.7",
Expand All @@ -88,7 +88,7 @@
"@types/react-color": "^3.0.12",
"@types/react-dom": "^18.3.0",
"esbuild": "^0.21.5",
"eslint": "^9.4.0",
"eslint": "^9.5.0",
"mdast-util-toc": "^7.1.0",
"postcss": "^8.4.38",
"rehype": "^13.0.1",
Expand All @@ -99,7 +99,7 @@
"remark-code-import": "^1.2.0",
"remark-gfm": "^4.0.0",
"rimraf": "^5.0.7",
"shiki": "^1.6.3",
"shiki": "^1.7.0",
"tailwindcss": "^3.4.4",
"typescript": "^5.4.5",
"unist-builder": "4.0.0",
Expand Down
9 changes: 1 addition & 8 deletions apps/docs/styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
content: counter(step);
}
.neo-brutalism {
@apply shadow-color-primary active:shadow-color-primary-active border-primary rounded border-2 px-4 py-2 font-bold uppercase transition-all active:translate-x-0.5 active:translate-y-0.5 dark:bg-black;
@apply shadow-color-primary active:shadow-color-primary-active border-primary rounded border-2 px-4 py-2 font-bold uppercase transition-all active:translate-x-0.5 active:translate-y-0.5 dark:bg-black;
}
.clickable-link {
@apply text-primary/80 hover:text-primary cursor-pointer underline underline-offset-4 transition-all;
Expand Down Expand Up @@ -494,10 +494,3 @@
@apply px-4;
}
}

@media (max-width: 600px) {
[data-sonner-toaster] {
--mobile-offset: 32px !important;
right: var(--mobile-offset) !important ;
}
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
"@types/node": "^20.14.2",
"concurrently": "^8.2.2",
"husky": "^9.0.11",
"prettier": "^3.3.1",
"prettier-plugin-tailwindcss": "^0.6.2",
"prettier": "^3.3.2",
"prettier-plugin-tailwindcss": "^0.6.4",
"typescript": "^5.4.5"
}
}
6 changes: 6 additions & 0 deletions packages/components/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @sikka/hawa

## 0.42.5

### Patch Changes

- Update dependencies

## 0.42.4

### Patch Changes
Expand Down
7 changes: 6 additions & 1 deletion packages/components/hooks/useDialogCarousel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,12 @@ type DialogCarouselType = {
export const useDialogCarousel = (options?: any): DialogCarouselType => {
const [emblaRef, emblaApi] = useEmblaCarousel(
{ loop: false, watchDrag: false, startIndex: 0, ...options },
[AutoHeight({ destroyHeight: "fit", active: true })],
[
AutoHeight({
// destroyHeight: "fit", //TODO: see what replaced this
active: true,
}),
],
);
const [canScrollPrev, setCanScrollPrev] = useState(false);
const checkCanScrollPrev = () => {
Expand Down
16 changes: 8 additions & 8 deletions packages/components/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sikka/hawa",
"version": "0.42.4",
"version": "0.42.5",
"description": "Modern UI Kit made with Tailwind",
"author": {
"name": "Sikka Software",
Expand Down Expand Up @@ -80,18 +80,18 @@
"clsx": "^2.1.1",
"cmdk": "^1.0.0",
"date-fns": "^3.6.0",
"embla-carousel-auto-height": "^8.1.3",
"embla-carousel-react": "^8.1.3",
"embla-carousel-auto-height": "^8.1.5",
"embla-carousel-react": "^8.1.5",
"input-otp": "^1.2.4",
"libphonenumber-js": "^1.11.3",
"prism-react-renderer": "^2.3.1",
"prismjs": "^1.29.0",
"react-day-picker": "^8.10.1",
"react-dropzone": "^14.2.3",
"react-headless-pagination": "^1.1.6",
"react-hook-form": "^7.51.5",
"react-hook-form": "^7.52.0",
"react-select": "^5.8.0",
"signature_pad": "^5.0.1",
"signature_pad": "^5.0.2",
"sonner": "^1.5.0",
"tailwind-merge": "^2.3.0",
"tailwind-variants": "^0.2.1",
Expand All @@ -101,17 +101,17 @@
"devDependencies": {
"@babel/preset-react": "^7.24.7",
"@sikka/alam": "^0.0.4",
"@testing-library/jest-dom": "^6.4.5",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/react": "^16.0.0",
"@types/jest": "^29.5.12",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"autoprefixer": "^10.4.19",
"boxen": "^7.1.1",
"chalk": "^5.3.0",
"embla-carousel": "8.1.3",
"embla-carousel": "8.1.5",
"jest": "^29.7.0",
"lucide-react": "^0.390.0",
"lucide-react": "^0.395.0",
"postcss": "^8.4.38",
"postcss-cli": "^11.0.0",
"postcss-import": "^16.1.0",
Expand Down
34 changes: 17 additions & 17 deletions packages/storybook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"cmdk": "^1.0.0",
"eslint": "^9.4.0",
"eslint-config-next": "^14.2.3",
"next": "^14.2.3",
"eslint": "^9.5.0",
"eslint-config-next": "^14.2.4",
"next": "^14.2.4",
"next-themes": "^0.3.0",
"prism-react-renderer": "^2.3.1",
"react": "18.3.1",
Expand All @@ -35,33 +35,33 @@
"@sikka/alam": "^0.0.4",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@storybook/addon-essentials": "^8.1.6",
"@storybook/addon-interactions": "^8.1.6",
"@storybook/addon-links": "^8.1.6",
"@storybook/addon-mdx-gfm": "^8.1.6",
"@storybook/blocks": "^8.1.6",
"@storybook/manager-api": "^8.1.6",
"@storybook/nextjs": "^8.1.6",
"@storybook/react": "^8.1.6",
"@storybook/addon-essentials": "^8.1.9",
"@storybook/addon-interactions": "^8.1.9",
"@storybook/addon-links": "^8.1.9",
"@storybook/addon-mdx-gfm": "^8.1.9",
"@storybook/blocks": "^8.1.9",
"@storybook/manager-api": "^8.1.9",
"@storybook/nextjs": "^8.1.9",
"@storybook/react": "^8.1.9",
"@storybook/testing-library": "^0.2.2",
"@storybook/theming": "^8.1.6",
"@testing-library/jest-dom": "^6.4.5",
"@storybook/theming": "^8.1.9",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/react": "^16.0.0",
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"@types/jest": "^29.5.12",
"autoprefixer": "^10.4.19",
"css-loader": "^7.1.2",
"eslint-plugin-storybook": "^0.8.0",
"jest": "^29.7.0",
"lucide-react": "^0.390.0",
"lucide-react": "^0.395.0",
"postcss": "^8.4.38",
"postcss-cli": "^11.0.0",
"postcss-import": "^16.1.0",
"postcss-loader": "^8.1.1",
"prettier": "^3.3.1",
"prettier-plugin-tailwindcss": "^0.6.2",
"prettier": "^3.3.2",
"prettier-plugin-tailwindcss": "^0.6.4",
"recharts": "^2.12.7",
"storybook": "^8.1.6",
"storybook": "^8.1.9",
"storybook-dark-mode": "^4.0.1",
"style-loader": "^4.0.0",
"tailwindcss": "^3.4.4",
Expand Down
6 changes: 3 additions & 3 deletions packages/tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@
"test": "jest"
},
"dependencies": {
"eslint": "^9.4.0",
"eslint-config-next": "^14.2.3",
"eslint": "^9.5.0",
"eslint-config-next": "^14.2.4",
"react": "18.3.1",
"react-dom": "18.3.1"
},
"devDependencies": {
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@babel/preset-react": "^7.24.7",
"@testing-library/jest-dom": "^6.4.5",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/react": "^16.0.0",
"@types/jest": "^29.5.12",
"autoprefixer": "^10.4.19",
Expand Down
Loading

0 comments on commit 589e060

Please sign in to comment.