rankrunners-cms 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +11 -11
- package/src/editor/blocks/Blank/index.tsx +1 -1
- package/src/editor/blocks/Button/index.tsx +2 -2
- package/src/editor/blocks/Card/index.tsx +1 -1
- package/src/editor/blocks/Container/index.tsx +1 -1
- package/src/editor/blocks/Flex/index.tsx +1 -1
- package/src/editor/blocks/Grid/index.tsx +1 -1
- package/src/editor/blocks/Heading/index.tsx +1 -1
- package/src/editor/blocks/Hero/Hero.tsx +2 -2
- package/src/editor/blocks/Hero/client.tsx +2 -2
- package/src/editor/blocks/Hero/server.tsx +1 -1
- package/src/editor/blocks/Logos/index.tsx +1 -1
- package/src/editor/blocks/Paragraph/index.tsx +1 -1
- package/src/editor/blocks/Space/index.tsx +1 -1
- package/src/editor/blocks/Stats/index.tsx +1 -1
- package/src/editor/blocks/Text/index.tsx +1 -1
- package/src/editor/components/Layout/index.tsx +1 -1
- package/src/editor/index.tsx +1 -1
- package/src/editor/types.ts +1 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rankrunners-cms",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.2",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "bun run --bun tsdown",
|
|
7
7
|
"watch": "bun run --bun tsdown --watch"
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
"types": "dist/types/index.d.ts",
|
|
10
10
|
"module": "dist/index.js",
|
|
11
11
|
"peerDependencies": {
|
|
12
|
-
"react": "^19.2.
|
|
13
|
-
"@
|
|
14
|
-
"next": "^16.
|
|
12
|
+
"react": "^19.2.3",
|
|
13
|
+
"@puckeditor/core": "^0.21.0",
|
|
14
|
+
"next": "^16.1.2"
|
|
15
15
|
},
|
|
16
16
|
"peerDependenciesMeta": {
|
|
17
17
|
"next": {
|
|
@@ -21,17 +21,17 @@
|
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"@bosh-code/tsdown-plugin-inject-css": "^2.0.0",
|
|
23
23
|
"@bosh-code/tsdown-plugin-tailwindcss": "^1.0.1",
|
|
24
|
-
"@swc/core": "^1.15.
|
|
25
|
-
"@types/react": "^19.2.
|
|
26
|
-
"bun-types": "^1.3.
|
|
27
|
-
"tsdown": "^0.
|
|
24
|
+
"@swc/core": "^1.15.8",
|
|
25
|
+
"@types/react": "^19.2.8",
|
|
26
|
+
"bun-types": "^1.3.6",
|
|
27
|
+
"tsdown": "^0.19.0",
|
|
28
28
|
"typescript": "^5.9.3"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"classnames": "^2.5.1",
|
|
32
|
-
"lucide-react": "^0.
|
|
33
|
-
"react": "^19.2.
|
|
34
|
-
"tailwindcss": "^4.1.
|
|
32
|
+
"lucide-react": "^0.562.0",
|
|
33
|
+
"react": "^19.2.3",
|
|
34
|
+
"tailwindcss": "^4.1.18"
|
|
35
35
|
},
|
|
36
36
|
"trustedDependencies": [
|
|
37
37
|
"@swc/core"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import styles from './styles.module.css'
|
|
2
|
-
import type { ComponentConfig } from '@
|
|
2
|
+
import type { ComponentConfig } from '@puckeditor/core'
|
|
3
3
|
import getClassNameFactory from '../../utils/getClassNameFactory'
|
|
4
4
|
|
|
5
5
|
const getClassName = getClassNameFactory('Blank', styles)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// import { DynamicIcon, dynamicIconImports } from 'lucide-react/dynamic'
|
|
2
2
|
import { withLayout } from '../../components/Layout'
|
|
3
3
|
import styles from './styles.module.css'
|
|
4
|
-
import type { ComponentConfig } from '@
|
|
4
|
+
import type { ComponentConfig } from '@puckeditor/core'
|
|
5
5
|
import type { WithLayout } from '../../components/Layout'
|
|
6
6
|
import getClassNameFactory from '../../utils/getClassNameFactory'
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Section } from '../../components/Section'
|
|
2
2
|
import { withLayout } from '../../components/Layout'
|
|
3
3
|
import styles from './styles.module.css'
|
|
4
|
-
import type { ComponentConfig, Slot } from '@
|
|
4
|
+
import type { ComponentConfig, Slot } from '@puckeditor/core'
|
|
5
5
|
import type { WithLayout } from '../../components/Layout'
|
|
6
6
|
import getClassNameFactory from '../../utils/getClassNameFactory'
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Section } from '../../components/Section'
|
|
2
2
|
import { withLayout } from '../../components/Layout'
|
|
3
3
|
import styles from './styles.module.css'
|
|
4
|
-
import type { ComponentConfig, Slot } from '@
|
|
4
|
+
import type { ComponentConfig, Slot } from '@puckeditor/core'
|
|
5
5
|
import getClassNameFactory from '../../utils/getClassNameFactory'
|
|
6
6
|
|
|
7
7
|
const getClassName = getClassNameFactory('Grid', styles)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Section } from '../../components/Section'
|
|
2
2
|
import { withLayout } from '../../components/Layout'
|
|
3
|
-
import type { ComponentConfig } from '@
|
|
3
|
+
import type { ComponentConfig } from '@puckeditor/core'
|
|
4
4
|
import type { WithLayout } from '../../components/Layout'
|
|
5
5
|
|
|
6
6
|
export type HeadingProps = WithLayout<{
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Button } from '@
|
|
1
|
+
import { Button } from '@puckeditor/core'
|
|
2
2
|
import { Section } from '../../components/Section'
|
|
3
3
|
import styles from './styles.module.css'
|
|
4
|
-
import type { PuckComponent, Slot } from '@
|
|
4
|
+
import type { PuckComponent, Slot } from '@puckeditor/core'
|
|
5
5
|
import type { ReactNode } from 'react'
|
|
6
6
|
import getClassNameFactory from '../../utils/getClassNameFactory'
|
|
7
7
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Link2 } from 'lucide-react'
|
|
2
|
-
import { AutoField, FieldLabel } from '@
|
|
2
|
+
import { AutoField, FieldLabel } from '@puckeditor/core'
|
|
3
3
|
import { quotes } from './quotes'
|
|
4
4
|
import HeroComponent from './Hero'
|
|
5
|
-
import type { ComponentConfig } from '@
|
|
5
|
+
import type { ComponentConfig } from '@puckeditor/core'
|
|
6
6
|
import type { HeroProps } from './Hero'
|
|
7
7
|
|
|
8
8
|
export const Hero: ComponentConfig<{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Section } from '../../components/Section'
|
|
2
2
|
import styles from './styles.module.css'
|
|
3
|
-
import type { ComponentConfig } from '@
|
|
3
|
+
import type { ComponentConfig } from '@puckeditor/core'
|
|
4
4
|
import getClassNameFactory from '../../utils/getClassNameFactory'
|
|
5
5
|
|
|
6
6
|
const getClassName = getClassNameFactory('Logos', styles)
|
|
@@ -2,7 +2,7 @@ import { ALargeSmall, AlignLeft } from 'lucide-react'
|
|
|
2
2
|
|
|
3
3
|
import { Section } from '../../components/Section'
|
|
4
4
|
import { withLayout } from '../../components/Layout'
|
|
5
|
-
import type { ComponentConfig } from '@
|
|
5
|
+
import type { ComponentConfig } from '@puckeditor/core'
|
|
6
6
|
import type { WithLayout } from '../../components/Layout'
|
|
7
7
|
|
|
8
8
|
export type ParagraphProps = WithLayout<{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { spacingOptions } from '../../options'
|
|
2
2
|
import styles from './styles.module.css'
|
|
3
|
-
import type { ComponentConfig } from '@
|
|
3
|
+
import type { ComponentConfig } from '@puckeditor/core'
|
|
4
4
|
import getClassNameFactory from '../../utils/getClassNameFactory'
|
|
5
5
|
|
|
6
6
|
const getClassName = getClassNameFactory('Space', styles)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Section } from '../../components/Section'
|
|
2
2
|
import styles from './styles.module.css'
|
|
3
|
-
import type { ComponentConfig } from '@
|
|
3
|
+
import type { ComponentConfig } from '@puckeditor/core'
|
|
4
4
|
import getClassNameFactory from '../../utils/getClassNameFactory'
|
|
5
5
|
|
|
6
6
|
const getClassName = getClassNameFactory('Stats', styles)
|
|
@@ -2,7 +2,7 @@ import { ALargeSmall, AlignLeft } from 'lucide-react'
|
|
|
2
2
|
|
|
3
3
|
import { Section } from '../../components/Section'
|
|
4
4
|
import { withLayout } from '../../components/Layout'
|
|
5
|
-
import type { ComponentConfig } from '@
|
|
5
|
+
import type { ComponentConfig } from '@puckeditor/core'
|
|
6
6
|
import type { WithLayout } from '../../components/Layout'
|
|
7
7
|
|
|
8
8
|
export type TextProps = WithLayout<{
|
package/src/editor/index.tsx
CHANGED
|
@@ -12,7 +12,7 @@ import { Space } from "./blocks/Space";
|
|
|
12
12
|
import { Paragraph } from "./blocks/Paragraph";
|
|
13
13
|
import { Container } from "./blocks/Container";
|
|
14
14
|
import type { CategoriesType, CMSUserConfig, ComponentsType } from "./types";
|
|
15
|
-
import type { RootConfig } from "@
|
|
15
|
+
import type { RootConfig } from "@puckeditor/core";
|
|
16
16
|
|
|
17
17
|
export * from "./types";
|
|
18
18
|
|