Skip to content

Commit

Permalink
Merge pull request #85 from justdlabs/laravel-11.x
Browse files Browse the repository at this point in the history
remove `paranoid` and use `justd-icons`
  • Loading branch information
irsyadadl authored Aug 7, 2024
2 parents 1272b8c + 3718b4c commit cf32ea9
Show file tree
Hide file tree
Showing 17 changed files with 23 additions and 25 deletions.
2 changes: 0 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@


## [1.0.5](https://github.com/justdlabs/inertia.ts/compare/1.0.4...1.0.5) (2024-08-07)

## [1.0.4](https://github.com/justdlabs/inertia.ts/compare/1.0.3...1.0.4) (2024-08-06)
Expand Down
Binary file modified bun.lockb
Binary file not shown.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@
"vite-plugin-watch": "^0.3.1"
},
"dependencies": {
"@irsyadadl/paranoid": "^1.4.12",
"clsx": "^2.1.1",
"framer-motion": "^11.3.21",
"justd-icons": "^1.4.21",
"react-aria-components": "^1.3.1",
"sonner": "^1.5.0",
"tailwind-merge": "^2.4.0",
Expand Down
2 changes: 1 addition & 1 deletion resources/js/components/logo.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { IconBrandLaravel } from '@irsyadadl/paranoid'
import { IconBrandLaravel } from 'justd-icons'
import React from 'react'
import { cn } from 'ui'

Expand Down
10 changes: 5 additions & 5 deletions resources/js/components/navbar.tsx
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
import { PagePropsData } from '@/types'
import { usePage } from '@inertiajs/react'
import { Container } from 'components/container'
import { Logo } from 'components/logo'
import { ThemeSwitcher } from 'components/theme-switcher'
import { motion } from 'framer-motion'
import {
IconBrandJustd,
IconBrandLaravel,
IconChevronDown,
IconColorSwatch,
IconHamburger,
IconSettings
} from '@irsyadadl/paranoid'
import { Container } from 'components/container'
import { Logo } from 'components/logo'
import { ThemeSwitcher } from 'components/theme-switcher'
import { motion } from 'framer-motion'
} from 'justd-icons'
import React from 'react'
import { ListBox, ListBoxItem, ListBoxItemProps } from 'react-aria-components'
import { tv } from 'tailwind-variants'
Expand Down
2 changes: 1 addition & 1 deletion resources/js/components/theme-switcher.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { IconMoon, IconSun } from '@irsyadadl/paranoid'
import { useTheme } from 'components/theme-provider'
import { IconMoon, IconSun } from 'justd-icons'
import { Button } from 'ui'

export function ThemeSwitcher() {
Expand Down
2 changes: 1 addition & 1 deletion resources/js/components/theme-toggle.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useTheme } from '@/components/theme-provider'
import { IconDeviceDesktop, IconMoon, IconSun } from '@irsyadadl/paranoid'
import { IconDeviceDesktop, IconMoon, IconSun } from 'justd-icons'
import { Button, cn } from 'ui'

export function ThemeToggle() {
Expand Down
2 changes: 1 addition & 1 deletion resources/js/components/ui/dialog.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from 'react'

import { IconX } from '@irsyadadl/paranoid'
import { IconX } from 'justd-icons'
import { Dialog as DialogPrimitive, type DialogProps, OverlayTriggerStateContext } from 'react-aria-components'
import { tv } from 'tailwind-variants'

Expand Down
2 changes: 1 addition & 1 deletion resources/js/components/ui/dropdown.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { IconCheck } from '@irsyadadl/paranoid'
import { IconCheck } from 'justd-icons'
import {
Collection,
composeRenderProps,
Expand Down
2 changes: 1 addition & 1 deletion resources/js/components/ui/list-box.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { IconHamburger } from '@irsyadadl/paranoid'
import { IconHamburger } from 'justd-icons'
import {
ListBoxItem as ListBoxItemPrimitive,
ListBox as ListBoxPrimitive,
Expand Down
2 changes: 1 addition & 1 deletion resources/js/components/ui/menu.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from 'react'

import { IconBulletFill, IconCheck, IconChevronLgRight } from '@irsyadadl/paranoid'
import { IconBulletFill, IconCheck, IconChevronLgRight } from 'justd-icons'
import type {
ButtonProps,
MenuItemProps as MenuItemPrimitiveProps,
Expand Down
2 changes: 1 addition & 1 deletion resources/js/components/ui/pagination.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
IconChevronsLgLeft,
IconChevronsLgRight,
IconDotsHorizontal
} from '@irsyadadl/paranoid'
} from 'justd-icons'
import type { ListBoxItemProps, ListBoxProps, SectionProps } from 'react-aria-components'
import { ListBox, ListBoxItem, Section, Separator } from 'react-aria-components'

Expand Down
2 changes: 1 addition & 1 deletion resources/js/components/ui/select.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as React from 'react'

import { IconChevronLgDown } from '@irsyadadl/paranoid'
import type { Placement } from '@react-types/overlays'
import { IconChevronLgDown } from 'justd-icons'
import {
Button,
composeRenderProps,
Expand Down
2 changes: 1 addition & 1 deletion resources/js/components/ui/table.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { IconChevronDown, IconChevronUp, IconDotGrid2X3 } from '@irsyadadl/paranoid'
import { IconChevronDown, IconChevronUp, IconDotGrid2X3 } from 'justd-icons'
import {
Button,
Cell,
Expand Down
2 changes: 1 addition & 1 deletion resources/js/components/ui/text-field.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from 'react'

import { IconLoader } from '@irsyadadl/paranoid'
import { IconLoader } from 'justd-icons'
import {
TextField as TextFieldPrimitive,
type TextFieldProps as TextFieldPrimitiveProps,
Expand Down
2 changes: 1 addition & 1 deletion resources/js/components/ui/toast.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useTheme } from '@/components/theme-provider'
import { IconCheck, IconCircleInfoFill, IconLoader, IconTriangleInfoFill } from '@irsyadadl/paranoid'
import { IconCheck, IconCircleInfoFill, IconLoader, IconTriangleInfoFill } from 'justd-icons'
import { Toaster as ToasterPrimitive, type ToasterProps } from 'sonner'
import { twJoin } from 'tailwind-merge'

Expand Down
10 changes: 5 additions & 5 deletions resources/js/pages/home.tsx
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import { Head } from '@inertiajs/react'
import { Container } from 'components/container'
import { Header } from 'components/header'
import { Logo } from 'components/logo'
import {
IconBrandGithub,
IconBrandJustd,
IconBrandKarteil,
IconBrandParanoid,
IconBrandParsinta,
IconCube
} from '@irsyadadl/paranoid'
import { Container } from 'components/container'
import { Header } from 'components/header'
import { Logo } from 'components/logo'
} from 'justd-icons'
import { AppLayout } from 'layouts'
import { Card, CardDescription, CardHeader, CardTitle, cn, Grid, GridCollection, GridItem, Link } from 'ui'

Expand All @@ -30,7 +30,7 @@ const items = [
},
{
name: 'Icons',
url: 'https://paranoid.irsyad.co',
url: 'https://getjustd.com/icons',
icon: IconBrandParanoid,
description:
'A library of beautifully crafted react icons, perfect for enhancing the visual appeal and user experience of your web applications.'
Expand Down

0 comments on commit cf32ea9

Please sign in to comment.