Skip to content

Commit

Permalink
fix: change @lmsqueezy scope to @LemonSqueezy (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
brankoconjic authored Dec 20, 2023
1 parent 4c65893 commit 1e758c6
Show file tree
Hide file tree
Showing 106 changed files with 214 additions and 246 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
jobs:
release:
if: ${{ github.repository_owner == 'lmsqueezy' }}
name: Create a PR for release workflow
name: "Create Release Pull Request or Publish to npm"
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
"devDependencies": {
"@docsearch/react": "^3.5.2",
"@lmsqueezy/wedges": "workspace:*",
"@lemonsqueezy/wedges": "workspace:*",
"@tailwindcss/typography": "^0.5.10",
"@types/hast": "^3.0.3",
"@types/node": "^20",
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/app/[[...slug]]/page.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { Metadata } from "next";
import Link from "next/link";
import { notFound } from "next/navigation";
import { Button } from "@lmsqueezy/wedges";
import { Button } from "@lemonsqueezy/wedges";
import { allDocs, type LinkProperties } from "contentlayer/generated";

import { siteConfig } from "@/config/siteConfig";
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/app/not-found.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Link from "next/link";
import { HomeIcon } from "@iconicicons/react";
import { Button } from "@lmsqueezy/wedges";
import { Button } from "@lemonsqueezy/wedges";

import { Logomark } from "@/components/Logo";

Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/components/CopyButton.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"use client";

import { useState } from "react";
import { Button, Tooltip } from "@lmsqueezy/wedges";
import { Button, Tooltip } from "@lemonsqueezy/wedges";

import { cn } from "@/lib/utils";

Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/components/EditPageLink.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import Link from "next/link";
import { usePathname } from "next/navigation";
import { ChevronUpIcon } from "@iconicicons/react";
import { Button } from "@lmsqueezy/wedges";
import { Button } from "@lemonsqueezy/wedges";

import { GithubIcon } from "./Icons";

Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/components/LemonSqueezyHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import { useState } from "react";
import { ChevronDownIcon } from "@iconicicons/react";
import { Button } from "@lmsqueezy/wedges";
import { Button } from "@lemonsqueezy/wedges";

import { siteConfig } from "@/config/siteConfig";
import { focusClasses } from "@/lib/a11y";
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/components/Mdx.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import Image from "next/image";
import Link from "next/link";
import { Alert, Button, Tabs, Tooltip } from "@lmsqueezy/wedges";
import { Alert, Button, Tabs, Tooltip } from "@lemonsqueezy/wedges";
import { useMDXComponent } from "next-contentlayer/hooks";

import { cn } from "@/lib/utils";
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/components/Pagination.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Link from "next/link";
import { ChevronLeftIcon, ChevronRightIcon } from "@iconicicons/react";
import { Button } from "@lmsqueezy/wedges";
import { Button } from "@lemonsqueezy/wedges";
import { type Doc } from "contentlayer/generated";

import { type NavItem } from "@/types/nav";
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/components/PreviewComponent.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { forwardRef, Suspense, useEffect, useMemo, useRef, useState } from "react";
import { Demos } from "@/examples";
import { CodeIcon, EyeIcon, MoonIcon, SunIcon } from "@iconicicons/react";
import { Button, Tabs, type TabsElement, type TabsProps } from "@lmsqueezy/wedges";
import { Button, Tabs, type TabsElement, type TabsProps } from "@lemonsqueezy/wedges";

import { cn } from "@/lib/utils";

Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/components/PropsTable.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from "react";
import { Tooltip } from "@lmsqueezy/wedges";
import { Tooltip } from "@lemonsqueezy/wedges";

import { cn } from "@/lib/utils";

Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/components/Search.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import Link from "next/link";
import Router from "next/router";
import { DocSearchModal, useDocSearchKeyboardEvents } from "@docsearch/react";
import { SearchIcon } from "@iconicicons/react";
import { Button, Kbd } from "@lmsqueezy/wedges";
import { Button, Kbd } from "@lemonsqueezy/wedges";
import { createPortal } from "react-dom";

import { cn } from "@/lib/utils";
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/components/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { useId, useState } from "react";
import Link from "next/link";
import { usePathname } from "next/navigation";
import { ChevronDownIcon, CloseIcon } from "@iconicicons/react";
import { Badge, Button } from "@lmsqueezy/wedges";
import { Badge, Button } from "@lemonsqueezy/wedges";

import { type NavItem } from "@/types/nav";
import { sidebarConfig } from "@/config/sidebarConfig";
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/components/WedgesHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import Link from "next/link";
import { usePathname } from "next/navigation";
import { MenuIcon, SearchIcon } from "@iconicicons/react";
import { Button } from "@lmsqueezy/wedges";
import { Button } from "@lemonsqueezy/wedges";

import { siteConfig } from "@/config/siteConfig";
import { focusClasses } from "@/lib/a11y";
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/content/components/alert.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ links:
### Usage

```tsx
import { Alert } from "@lmsqueezy/wedges";
import { Alert } from "@lemonsqueezy/wedges";
```

```tsx showLineNumbers
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/content/components/avatar-group.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ links:
### Usage

```tsx
import { AvatarGroup } from "@lmsqueezy/wedges";
import { AvatarGroup } from "@lemonsqueezy/wedges";
```

```tsx showLineNumbers
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/content/components/avatar.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ links:
### Usage

```tsx
import { Avatar } from "@lmsqueezy/wedges";
import { Avatar } from "@lemonsqueezy/wedges";
```

```tsx showLineNumbers
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/content/components/badge.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ links:
### Usage

```tsx
import { Badge } from "@lmsqueezy/wedges";
import { Badge } from "@lemonsqueezy/wedges";
```

```tsx showLineNumbers
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/content/components/button-group.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ links:
### Usage

```tsx
import { ButtonGroup } from "@lmsqueezy/wedges";
import { ButtonGroup } from "@lemonsqueezy/wedges";
```

```tsx showLineNumbers
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/content/components/button.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ links:
### Usage

```tsx
import { Button } from "@lmsqueezy/wedges";
import { Button } from "@lemonsqueezy/wedges";
```

```tsx showLineNumbers
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/content/components/checkbox-group.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ links:
### Usage

```tsx
import { CheckboxGroup } from "@lmsqueezy/wedges";
import { CheckboxGroup } from "@lemonsqueezy/wedges";
```

```tsx showLineNumbers
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/content/components/checkbox.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ links:
### Usage

```tsx
import { Checkbox } from "@lmsqueezy/wedges";
import { Checkbox } from "@lemonsqueezy/wedges";
```

For more advanced usage you can use `Checkbox.Root` component to customize the appearance of the checkbox.
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/content/components/dropdown-menu.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ links:
### Usage

```tsx
import { DropdDown } from "@lmsqueezy/wedges";
import { DropdDown } from "@lemonsqueezy/wedges";
```

```tsx showLineNumbers
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/content/components/input.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ links:
### Usage

```tsx
import { Input } from "@lmsqueezy/wedges";
import { Input } from "@lemonsqueezy/wedges";
```

```tsx showLineNumbers
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/content/components/label.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ links:
### Usage

```tsx
import { Label } from "@lmsqueezy/wedges";
import { Label } from "@lemonsqueezy/wedges";
```

```tsx showLineNumbers
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/content/components/popover.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ links:
### Usage

```tsx
import { Popover } from "@lmsqueezy/wedges";
import { Popover } from "@lemonsqueezy/wedges";
```

```tsx showLineNumbers
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/content/components/radio-group.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ links:
### Usage

```tsx
import { RadioGroup } from "@lmsqueezy/wedges";
import { RadioGroup } from "@lemonsqueezy/wedges";
```

```tsx showLineNumbers
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/content/components/switch-group.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ links:
### Usage

```tsx
import { SwitchGroup } from "@lmsqueezy/wedges";
import { SwitchGroup } from "@lemonsqueezy/wedges";
```

```tsx showLineNumbers
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/content/components/switch.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ links:
### Usage

```tsx
import { Switch } from "@lmsqueezy/wedges";
import { Switch } from "@lemonsqueezy/wedges";
```

```tsx showLineNumbers
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/content/components/tabs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ links:
### Usage

```tsx
import { Tabs } from "@lmsqueezy/wedges";
import { Tabs } from "@lemonsqueezy/wedges";
```

```tsx showLineNumbers
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/content/components/tag.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ links:
### Usage

```tsx
import { Tag } from "@lmsqueezy/wedges";
import { Tag } from "@lemonsqueezy/wedges";
```

```tsx showLineNumbers
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/content/components/textarea.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ links:
### Usage

```tsx
import { Textarea } from "@lmsqueezy/wedges";
import { Textarea } from "@lemonsqueezy/wedges";
```

```tsx showLineNumbers
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/content/components/toggle-group.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ links:
### Usage

```tsx
import { ToggleGroup } from "@lmsqueezy/wedges";
import { ToggleGroup } from "@lemonsqueezy/wedges";
```

```tsx showLineNumbers
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/content/components/toggle.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ links:
### Usage

```tsx
import { Toggle } from "@lmsqueezy/wedges";
import { Toggle } from "@lemonsqueezy/wedges";
```

```tsx showLineNumbers
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/content/components/tooltip.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ links:
For a quick usage, use the `Tooltip` component directly.

```tsx
import { Tooltip } from "@lmsqueezy/wedges";
import { Tooltip } from "@lemonsqueezy/wedges";
```

```tsx showLineNumbers
Expand Down
12 changes: 6 additions & 6 deletions apps/docs/src/content/installation/astro.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -119,23 +119,23 @@ yarn astro add react tailwind --yes
<Tabs.Content value="pnpm">

```bash
pnpm add @lmsqueezy/wedges
pnpm add @lemonsqueezy/wedges
```

</Tabs.Content>

<Tabs.Content value="npm">

```bash
npm i @lmsqueezy/wedges
npm i @lemonsqueezy/wedges
```

</Tabs.Content>

<Tabs.Content value="yarn">

```bash
yarn add @lmsqueezy/wedges
yarn add @lemonsqueezy/wedges
```

</Tabs.Content>
Expand All @@ -147,13 +147,13 @@ yarn add @lmsqueezy/wedges
Update your `tailwind.config.mjs` file to add the necessary configuration for Wedges:

```tsx {1,7,10,11} title="tailwind.config.mjs" showLineNumbers
import { wedgesTW } from "@lmsqueezy/wedges";
import { wedgesTW } from "@lemonsqueezy/wedges";

/** @type {import('tailwindcss').Config} */
const config = {
content: [
'./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}',
'node_modules/@lmsqueezy/wedges/dist/**/*.{js,ts,jsx,tsx}',
'node_modules/@lemonsqueezy/wedges/dist/**/*.{js,ts,jsx,tsx}',
],
theme: {},
darkMode: "class",
Expand Down Expand Up @@ -181,7 +181,7 @@ That's all. You can now start using the components in your application.

```tsx {2,10} showLineNumbers
---
import { Alert } from "@lmsqueezy/wedges";
import { Alert } from "@lemonsqueezy/wedges";
---

<html lang="en">
Expand Down
Loading

0 comments on commit 1e758c6

Please sign in to comment.