Skip to content

Commit 518ad6d

Browse files
Merge pull request #3 from method-inc/dev
update package name to method-inc
2 parents 49901cf + 66fb49d commit 518ad6d

File tree

219 files changed

+909
-909
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

219 files changed

+909
-909
lines changed

apps/docs/astro.config.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ export default defineConfig({
1111
integrations: [
1212
starlight({
1313
favicon: '/favicon.png',
14-
title: 'rnr-method',
15-
description: 'Documentation for rnr-method',
14+
title: 'method-inc',
15+
description: 'Documentation for method-inc',
1616
components: {
1717
ThemeSelect: './src/components/ThemeSelect.astro',
1818
Head: './src/components/Head.astro',
1919
},
2020
social: {
21-
github: 'https://github.com/roninoss/rnr-method',
21+
github: 'https://github.com/roninoss/method-inc',
2222
},
2323
sidebar: [
2424
{

apps/docs/package.json

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@rnr-method/docs",
2+
"name": "@method-inc/docs",
33
"type": "module",
44
"version": "0.0.1",
55
"scripts": {
@@ -20,38 +20,38 @@
2020
"@radix-ui/react-collapsible": "^1.1.0",
2121
"@radix-ui/react-dropdown-menu": "^2.1.1",
2222
"@radix-ui/react-slot": "^1.1.0",
23-
"@rnr-method/accordion": "workspace:*",
24-
"@rnr-method/alert-dialog": "workspace:*",
25-
"@rnr-method/aspect-ratio": "workspace:*",
26-
"@rnr-method/avatar": "workspace:*",
27-
"@rnr-method/checkbox": "workspace:*",
28-
"@rnr-method/collapsible": "workspace:*",
29-
"@rnr-method/context-menu": "workspace:*",
30-
"@rnr-method/dialog": "workspace:*",
31-
"@rnr-method/dropdown-menu": "workspace:*",
32-
"@rnr-method/hooks": "workspace:*",
33-
"@rnr-method/hover-card": "workspace:*",
34-
"@rnr-method/label": "workspace:*",
35-
"@rnr-method/menubar": "workspace:*",
36-
"@rnr-method/navigation-menu": "workspace:*",
37-
"@rnr-method/popover": "workspace:*",
38-
"@rnr-method/portal": "workspace:*",
39-
"@rnr-method/progress": "workspace:*",
40-
"@rnr-method/radio-group": "workspace:*",
41-
"@rnr-method/select": "workspace:*",
42-
"@rnr-method/separator": "workspace:*",
43-
"@rnr-method/slider": "workspace:*",
44-
"@rnr-method/slot": "workspace:*",
45-
"@rnr-method/switch": "workspace:*",
46-
"@rnr-method/table": "workspace:*",
47-
"@rnr-method/tabs": "workspace:*",
48-
"@rnr-method/toast": "workspace:*",
49-
"@rnr-method/toggle": "workspace:*",
50-
"@rnr-method/toggle-group": "workspace:*",
51-
"@rnr-method/toolbar": "workspace:*",
52-
"@rnr-method/tooltip": "workspace:*",
53-
"@rnr-method/types": "workspace:*",
54-
"@rnr-method/utils": "workspace:*",
23+
"@method-inc/accordion": "workspace:*",
24+
"@method-inc/alert-dialog": "workspace:*",
25+
"@method-inc/aspect-ratio": "workspace:*",
26+
"@method-inc/avatar": "workspace:*",
27+
"@method-inc/checkbox": "workspace:*",
28+
"@method-inc/collapsible": "workspace:*",
29+
"@method-inc/context-menu": "workspace:*",
30+
"@method-inc/dialog": "workspace:*",
31+
"@method-inc/dropdown-menu": "workspace:*",
32+
"@method-inc/hooks": "workspace:*",
33+
"@method-inc/hover-card": "workspace:*",
34+
"@method-inc/label": "workspace:*",
35+
"@method-inc/menubar": "workspace:*",
36+
"@method-inc/navigation-menu": "workspace:*",
37+
"@method-inc/popover": "workspace:*",
38+
"@method-inc/portal": "workspace:*",
39+
"@method-inc/progress": "workspace:*",
40+
"@method-inc/radio-group": "workspace:*",
41+
"@method-inc/select": "workspace:*",
42+
"@method-inc/separator": "workspace:*",
43+
"@method-inc/slider": "workspace:*",
44+
"@method-inc/slot": "workspace:*",
45+
"@method-inc/switch": "workspace:*",
46+
"@method-inc/table": "workspace:*",
47+
"@method-inc/tabs": "workspace:*",
48+
"@method-inc/toast": "workspace:*",
49+
"@method-inc/toggle": "workspace:*",
50+
"@method-inc/toggle-group": "workspace:*",
51+
"@method-inc/toolbar": "workspace:*",
52+
"@method-inc/tooltip": "workspace:*",
53+
"@method-inc/types": "workspace:*",
54+
"@method-inc/utils": "workspace:*",
5555
"@types/react": "~18.3.12",
5656
"@types/react-dom": "^18.2.19",
5757
"@vercel/analytics": "^1.3.1",

apps/docs/src/components/Head.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import Default from '@astrojs/starlight/components/Head.astro'
77
<Default {...Astro.props}><slot /></Default>
88

99
<!-- Render the <meta/> tags for the Open Graph images. -->
10-
<meta property="og:image" content="https://rnr-method.vercel.app/rnr-method-og.png" />
11-
<meta name="twitter:image" content="https://rnr-method.vercel.app/rnr-method-og.png" />
10+
<meta property="og:image" content="https://method-inc.vercel.app/method-inc-og.png" />
11+
<meta name="twitter:image" content="https://method-inc.vercel.app/method-inc-og.png" />
1212
<script>
1313
import { inject } from '@vercel/analytics';
1414
inject();

apps/docs/src/content/docs/accordion.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ description: A vertically stacked set of interactive headings that each reveal a
99
import Code from '@/components/ManualCode.astro';
1010
import { LinkButton } from '@/components/react/LinkButton';
1111
import { Aside, Tabs, TabItem } from '@astrojs/starlight/components';
12-
import importedNativeCode from '@/../node_modules/@rnr-method/accordion/src/accordion.tsx?raw';
13-
import importedWebCode from '@/../node_modules/@rnr-method/accordion/src/accordion.web.tsx?raw';
14-
import importedTypesCode from '@/../node_modules/@rnr-method/accordion/src/types.ts?raw';
15-
import importedIndexCode from '@/../node_modules/@rnr-method/accordion/src/index.ts?raw';
12+
import importedNativeCode from '@/../node_modules/@method-inc/accordion/src/accordion.tsx?raw';
13+
import importedWebCode from '@/../node_modules/@method-inc/accordion/src/accordion.web.tsx?raw';
14+
import importedTypesCode from '@/../node_modules/@method-inc/accordion/src/types.ts?raw';
15+
import importedIndexCode from '@/../node_modules/@method-inc/accordion/src/index.ts?raw';
1616

1717
A vertically stacked set of interactive headings that each reveal a section of content.
1818

@@ -24,7 +24,7 @@ A vertically stacked set of interactive headings that each reveal a section of c
2424
Install the component via your command line.
2525

2626
```bash
27-
npx expo install @rnr-method/accordion
27+
npx expo install @method-inc/accordion
2828
```
2929

3030
</TabItem>
@@ -84,7 +84,7 @@ A vertically stacked set of interactive headings that each reveal a section of c
8484
## Usage
8585

8686
```tsx
87-
import * as AccordionPrimitive from '@rnr-method/accordion';
87+
import * as AccordionPrimitive from '@method-inc/accordion';
8888

8989
function Example() {
9090
return (

apps/docs/src/content/docs/alert-dialog.mdx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ description: A modal dialog that interrupts the user with important content and
99
import Code from '@/components/ManualCode.astro';
1010
import { LinkButton } from '@/components/react/LinkButton';
1111
import { Aside, Tabs, TabItem } from '@astrojs/starlight/components';
12-
import importedNativeCode from '@/../node_modules/@rnr-method/alert-dialog/src/alert-dialog.tsx?raw';
13-
import importedWebCode from '@/../node_modules/@rnr-method/alert-dialog/src/alert-dialog.web.tsx?raw';
14-
import importedTypesCode from '@/../node_modules/@rnr-method/alert-dialog/src/types.ts?raw';
15-
import importedIndexCode from '@/../node_modules/@rnr-method/alert-dialog/src/index.ts?raw';
12+
import importedNativeCode from '@/../node_modules/@method-inc/alert-dialog/src/alert-dialog.tsx?raw';
13+
import importedWebCode from '@/../node_modules/@method-inc/alert-dialog/src/alert-dialog.web.tsx?raw';
14+
import importedTypesCode from '@/../node_modules/@method-inc/alert-dialog/src/types.ts?raw';
15+
import importedIndexCode from '@/../node_modules/@method-inc/alert-dialog/src/index.ts?raw';
1616

1717
A modal dialog that interrupts the user with important content and expects a response.
1818

@@ -25,14 +25,14 @@ A modal dialog that interrupts the user with important content and expects a res
2525
Install the component via your command line.
2626

2727
```bash
28-
npx expo install @rnr-method/alert-dialog
28+
npx expo install @method-inc/alert-dialog
2929
```
3030

3131
<Aside title="Peer dependency">
3232
If you do not have the portal primitive in your project, you will need to add it as well.
3333

3434
```bash
35-
npx expo install @rnr-method/portal
35+
npx expo install @method-inc/portal
3636
```
3737
</Aside>
3838

@@ -93,7 +93,7 @@ A modal dialog that interrupts the user with important content and expects a res
9393
Requires a `<PortalHost />` as the last child of your `<Root/>` (`app/_layout.tsx`) component
9494

9595
```tsx
96-
import { PortalHost } from '@rnr-method/portal';
96+
import { PortalHost } from '@method-inc/portal';
9797

9898
function Root() {
9999
return (
@@ -109,7 +109,7 @@ A modal dialog that interrupts the user with important content and expects a res
109109
</Aside>
110110

111111
```tsx
112-
import * as AlertDialogPrimitive from '@rnr-method/alert-dialog';
112+
import * as AlertDialogPrimitive from '@method-inc/alert-dialog';
113113
import { Text } from 'react-native';
114114

115115
function Example() {

apps/docs/src/content/docs/aspect-ratio.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ description: Presents content within a chosen aspect ratio.
99
import Code from '@/components/ManualCode.astro';
1010
import { LinkButton } from '@/components/react/LinkButton';
1111
import { Aside, Tabs, TabItem } from '@astrojs/starlight/components';
12-
import importedCode from '@/../node_modules/@rnr-method/aspect-ratio/src/aspect-ratio.tsx?raw';
12+
import importedCode from '@/../node_modules/@method-inc/aspect-ratio/src/aspect-ratio.tsx?raw';
1313

1414

1515
Presents content within a chosen aspect ratio.
@@ -22,7 +22,7 @@ Presents content within a chosen aspect ratio.
2222
Install the component via your command line.
2323

2424
```bash
25-
npx expo install @rnr-method/aspect-ratio
25+
npx expo install @method-inc/aspect-ratio
2626
```
2727

2828
</TabItem>
@@ -47,7 +47,7 @@ Presents content within a chosen aspect ratio.
4747
## Usage
4848

4949
```tsx
50-
import * as AspectRatio from '@rnr-method/aspect-ratio';
50+
import * as AspectRatio from '@method-inc/aspect-ratio';
5151

5252
function Example() {
5353
return (

apps/docs/src/content/docs/avatar.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ description: An image component featuring an alternative representation for depi
99
import Code from '@/components/ManualCode.astro';
1010
import { LinkButton } from '@/components/react/LinkButton';
1111
import { Aside, Tabs, TabItem } from '@astrojs/starlight/components';
12-
import importedNativeCode from '@/../node_modules/@rnr-method/avatar/src/avatar.tsx?raw';
13-
import importedTypesCode from '@/../node_modules/@rnr-method/avatar/src/types.ts?raw';
12+
import importedNativeCode from '@/../node_modules/@method-inc/avatar/src/avatar.tsx?raw';
13+
import importedTypesCode from '@/../node_modules/@method-inc/avatar/src/types.ts?raw';
1414

1515

1616
An image component featuring an alternative representation for depicting the user.
@@ -23,7 +23,7 @@ An image component featuring an alternative representation for depicting the use
2323
Install the component via your command line.
2424

2525
```bash
26-
npx expo install @rnr-method/avatar
26+
npx expo install @method-inc/avatar
2727
```
2828

2929
</TabItem>
@@ -52,7 +52,7 @@ An image component featuring an alternative representation for depicting the use
5252
## Usage
5353

5454
```tsx
55-
import * as AvatarPrimitive from '@rnr-method/avatar';
55+
import * as AvatarPrimitive from '@method-inc/avatar';
5656

5757
const GITHUB_AVATAR_URI = 'https://github.com/mrzachnugent.png';
5858

apps/docs/src/content/docs/checkbox.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ description: A box that is a checked (ticked) indicator when activated.
99
import Code from '@/components/ManualCode.astro';
1010
import { LinkButton } from '@/components/react/LinkButton';
1111
import { Aside, Tabs, TabItem } from '@astrojs/starlight/components';
12-
import importedNativeCode from '@/../node_modules/@rnr-method/checkbox/src/checkbox.tsx?raw';
13-
import importedWebCode from '@/../node_modules/@rnr-method/checkbox/src/checkbox.web.tsx?raw';
14-
import importedTypesCode from '@/../node_modules/@rnr-method/checkbox/src/types.ts?raw';
15-
import importedIndexCode from '@/../node_modules/@rnr-method/checkbox/src/index.ts?raw';
12+
import importedNativeCode from '@/../node_modules/@method-inc/checkbox/src/checkbox.tsx?raw';
13+
import importedWebCode from '@/../node_modules/@method-inc/checkbox/src/checkbox.web.tsx?raw';
14+
import importedTypesCode from '@/../node_modules/@method-inc/checkbox/src/types.ts?raw';
15+
import importedIndexCode from '@/../node_modules/@method-inc/checkbox/src/index.ts?raw';
1616

1717

1818
A box that is a checked (ticked) indicator when activated.
@@ -25,7 +25,7 @@ A box that is a checked (ticked) indicator when activated.
2525
Install the component via your command line.
2626

2727
```bash
28-
npx expo install @rnr-method/checkbox
28+
npx expo install @method-inc/checkbox
2929
```
3030

3131
</TabItem>
@@ -80,7 +80,7 @@ A box that is a checked (ticked) indicator when activated.
8080
## Usage
8181

8282
```tsx
83-
import * as CheckboxPrimitive from '@rnr-method/checkbox';
83+
import * as CheckboxPrimitive from '@method-inc/checkbox';
8484

8585
function Example() {
8686
const [checked, setChecked] = React.useState(false);

apps/docs/src/content/docs/collapsible.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ description: A dynamic element that facilitates the expansion or collapse of a p
99
import Code from '@/components/ManualCode.astro';
1010
import { LinkButton } from '@/components/react/LinkButton';
1111
import { Aside, Tabs, TabItem } from '@astrojs/starlight/components';
12-
import importedNativeCode from '@/../node_modules/@rnr-method/collapsible/src/collapsible.tsx?raw';
13-
import importedWebCode from '@/../node_modules/@rnr-method/collapsible/src/collapsible.web.tsx?raw';
14-
import importedTypesCode from '@/../node_modules/@rnr-method/collapsible/src/types.ts?raw';
15-
import importedIndexCode from '@/../node_modules/@rnr-method/collapsible/src/index.ts?raw';
12+
import importedNativeCode from '@/../node_modules/@method-inc/collapsible/src/collapsible.tsx?raw';
13+
import importedWebCode from '@/../node_modules/@method-inc/collapsible/src/collapsible.web.tsx?raw';
14+
import importedTypesCode from '@/../node_modules/@method-inc/collapsible/src/types.ts?raw';
15+
import importedIndexCode from '@/../node_modules/@method-inc/collapsible/src/index.ts?raw';
1616

1717

1818
A dynamic element that facilitates the expansion or collapse of a panel.
@@ -25,7 +25,7 @@ A dynamic element that facilitates the expansion or collapse of a panel.
2525
Install the component via your command line.
2626

2727
```bash
28-
npx expo install @rnr-method/collapsible
28+
npx expo install @method-inc/collapsible
2929
```
3030

3131
</TabItem>
@@ -78,7 +78,7 @@ A dynamic element that facilitates the expansion or collapse of a panel.
7878
## Usage
7979

8080
```tsx
81-
import * as CollapsiblePrimitive from '@rnr-method/collapsible';
81+
import * as CollapsiblePrimitive from '@method-inc/collapsible';
8282

8383
function Example() {
8484
return (

apps/docs/src/content/docs/context-menu.mdx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ description: Shows a menu activated by either a right-click or a long-press.
99
import Code from '@/components/ManualCode.astro';
1010
import { LinkButton } from '@/components/react/LinkButton';
1111
import { Aside, Tabs, TabItem } from '@astrojs/starlight/components';
12-
import importedNativeCode from '@/../node_modules/@rnr-method/context-menu/src/context-menu.tsx?raw';
13-
import importedWebCode from '@/../node_modules/@rnr-method/context-menu/src/context-menu.web.tsx?raw';
14-
import importedTypesCode from '@/../node_modules/@rnr-method/context-menu/src/types.ts?raw';
15-
import importedIndexCode from '@/../node_modules/@rnr-method/context-menu/src/index.ts?raw';
12+
import importedNativeCode from '@/../node_modules/@method-inc/context-menu/src/context-menu.tsx?raw';
13+
import importedWebCode from '@/../node_modules/@method-inc/context-menu/src/context-menu.web.tsx?raw';
14+
import importedTypesCode from '@/../node_modules/@method-inc/context-menu/src/types.ts?raw';
15+
import importedIndexCode from '@/../node_modules/@method-inc/context-menu/src/index.ts?raw';
1616

1717

1818
Shows a menu activated by either a right-click or a long-press.
@@ -25,15 +25,15 @@ Shows a menu activated by either a right-click or a long-press.
2525
Install the component via your command line.
2626

2727
```bash
28-
npx expo install @rnr-method/context-menu
28+
npx expo install @method-inc/context-menu
2929
```
3030

3131

3232
<Aside title="Peer dependency">
3333
If you do not have the portal primitive in your project, you will need to add it as well.
3434

3535
```bash
36-
npx expo install @rnr-method/portal
36+
npx expo install @method-inc/portal
3737
```
3838
</Aside>
3939

@@ -95,7 +95,7 @@ Shows a menu activated by either a right-click or a long-press.
9595
Requires a `<PortalHost />` as the last child of your `<Root/>` (`app/_layout.tsx`) component
9696

9797
```tsx
98-
import { PortalHost } from '@rnr-method/portal';
98+
import { PortalHost } from '@method-inc/portal';
9999

100100
function Root() {
101101
return (
@@ -112,7 +112,7 @@ Shows a menu activated by either a right-click or a long-press.
112112

113113
```tsx
114114
import * as React from 'react';
115-
import * as ContextMenuPrimitive from '@rnr-method/context-menu';
115+
import * as ContextMenuPrimitive from '@method-inc/context-menu';
116116
import { Text } from 'react-native';
117117

118118
function Example() {

0 commit comments

Comments
 (0)