@olonjs/cli 3.0.80 → 3.0.82
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.
|
@@ -596,7 +596,7 @@ cat << 'END_OF_FILE_CONTENT' > "package.json"
|
|
|
596
596
|
"@tiptap/extension-link": "^2.11.5",
|
|
597
597
|
"@tiptap/react": "^2.11.5",
|
|
598
598
|
"@tiptap/starter-kit": "^2.11.5",
|
|
599
|
-
"@olonjs/core": "^1.0.
|
|
599
|
+
"@olonjs/core": "^1.0.70",
|
|
600
600
|
"clsx": "^2.1.1",
|
|
601
601
|
"lucide-react": "^0.474.0",
|
|
602
602
|
"react": "^19.0.0",
|
|
@@ -3467,7 +3467,7 @@ echo "Creating src/components/header/View.tsx..."
|
|
|
3467
3467
|
cat << 'END_OF_FILE_CONTENT' > "src/components/header/View.tsx"
|
|
3468
3468
|
import React, { useState, useEffect } from 'react';
|
|
3469
3469
|
import { cn } from '@/lib/utils';
|
|
3470
|
-
import type { MenuItem } from '@
|
|
3470
|
+
import type { MenuItem } from '@olonjs/core';
|
|
3471
3471
|
import type { HeaderData, HeaderSettings } from './types';
|
|
3472
3472
|
|
|
3473
3473
|
export const Header: React.FC<{
|
|
@@ -3891,7 +3891,7 @@ mkdir -p "src/components/image-break"
|
|
|
3891
3891
|
echo "Creating src/components/image-break/View.tsx..."
|
|
3892
3892
|
cat << 'END_OF_FILE_CONTENT' > "src/components/image-break/View.tsx"
|
|
3893
3893
|
import React from 'react';
|
|
3894
|
-
import { resolveAssetUrl, useConfig } from '@
|
|
3894
|
+
import { resolveAssetUrl, useConfig } from '@olonjs/core';
|
|
3895
3895
|
import type { ImageBreakData, ImageBreakSettings } from './types';
|
|
3896
3896
|
|
|
3897
3897
|
export const ImageBreak: React.FC<{ data: ImageBreakData; settings?: ImageBreakSettings }> = ({ data }) => {
|
|
@@ -5958,7 +5958,7 @@ import {
|
|
|
5958
5958
|
Code2, Quote, SquareCode,
|
|
5959
5959
|
Link2, Unlink2, ImagePlus, Eraser,
|
|
5960
5960
|
} from 'lucide-react';
|
|
5961
|
-
import { STUDIO_EVENTS, useConfig, useStudio } from '@
|
|
5961
|
+
import { STUDIO_EVENTS, useConfig, useStudio } from '@olonjs/core';
|
|
5962
5962
|
import type { TiptapData, TiptapSettings } from './types';
|
|
5963
5963
|
|
|
5964
5964
|
// ── UI primitives ─────────────────────────────────────────────────────────────
|
|
@@ -596,7 +596,7 @@ cat << 'END_OF_FILE_CONTENT' > "package.json"
|
|
|
596
596
|
"@tiptap/extension-link": "^2.11.5",
|
|
597
597
|
"@tiptap/react": "^2.11.5",
|
|
598
598
|
"@tiptap/starter-kit": "^2.11.5",
|
|
599
|
-
"@olonjs/core": "^1.0.
|
|
599
|
+
"@olonjs/core": "^1.0.70",
|
|
600
600
|
"clsx": "^2.1.1",
|
|
601
601
|
"lucide-react": "^0.474.0",
|
|
602
602
|
"react": "^19.0.0",
|
|
@@ -2321,7 +2321,7 @@ cat << 'END_OF_FILE_CONTENT' > "src/components/contact-form/View.tsx"
|
|
|
2321
2321
|
import React, { useCallback, useState } from 'react';
|
|
2322
2322
|
import { useInView } from '@/lib/useInView';
|
|
2323
2323
|
import { useFormSubmit } from '@/lib/useFormSubmit';
|
|
2324
|
-
import { useConfig } from '@
|
|
2324
|
+
import { useConfig } from '@olonjs/core';
|
|
2325
2325
|
import type { ContactFormData, ContactFormSettings } from './types';
|
|
2326
2326
|
|
|
2327
2327
|
const inputCls = `
|
|
@@ -2695,7 +2695,7 @@ mkdir -p "src/components/cta-nature"
|
|
|
2695
2695
|
echo "Creating src/components/cta-nature/View.tsx..."
|
|
2696
2696
|
cat << 'END_OF_FILE_CONTENT' > "src/components/cta-nature/View.tsx"
|
|
2697
2697
|
import React from 'react';
|
|
2698
|
-
import { resolveAssetUrl, useConfig } from '@
|
|
2698
|
+
import { resolveAssetUrl, useConfig } from '@olonjs/core';
|
|
2699
2699
|
import type { CtaNatureData, CtaNatureSettings } from './types';
|
|
2700
2700
|
import type { SiteConfig } from '@/types';
|
|
2701
2701
|
import type { HeaderData } from '@/components/header';
|
|
@@ -3448,7 +3448,7 @@ mkdir -p "src/components/footer"
|
|
|
3448
3448
|
echo "Creating src/components/footer/View.tsx..."
|
|
3449
3449
|
cat << 'END_OF_FILE_CONTENT' > "src/components/footer/View.tsx"
|
|
3450
3450
|
import React, { useEffect, useState } from 'react';
|
|
3451
|
-
import { resolveAssetUrl, useConfig } from '@
|
|
3451
|
+
import { resolveAssetUrl, useConfig } from '@olonjs/core';
|
|
3452
3452
|
import type { FooterData, FooterSettings } from './types';
|
|
3453
3453
|
|
|
3454
3454
|
export const Footer: React.FC<{ data: FooterData; settings?: FooterSettings }> = ({ data }) => {
|
|
@@ -3888,9 +3888,9 @@ mkdir -p "src/components/header"
|
|
|
3888
3888
|
echo "Creating src/components/header/View.tsx..."
|
|
3889
3889
|
cat << 'END_OF_FILE_CONTENT' > "src/components/header/View.tsx"
|
|
3890
3890
|
import React, { useState, useEffect } from 'react';
|
|
3891
|
-
import { resolveAssetUrl, useConfig } from '@
|
|
3891
|
+
import { resolveAssetUrl, useConfig } from '@olonjs/core';
|
|
3892
3892
|
import type { HeaderData, HeaderSettings } from './types';
|
|
3893
|
-
import type { MenuItem } from '@
|
|
3893
|
+
import type { MenuItem } from '@olonjs/core';
|
|
3894
3894
|
|
|
3895
3895
|
interface HeaderProps {
|
|
3896
3896
|
data: HeaderData;
|
|
@@ -4303,7 +4303,7 @@ mkdir -p "src/components/image-break"
|
|
|
4303
4303
|
echo "Creating src/components/image-break/View.tsx..."
|
|
4304
4304
|
cat << 'END_OF_FILE_CONTENT' > "src/components/image-break/View.tsx"
|
|
4305
4305
|
import React from 'react';
|
|
4306
|
-
import { resolveAssetUrl, useConfig } from '@
|
|
4306
|
+
import { resolveAssetUrl, useConfig } from '@olonjs/core';
|
|
4307
4307
|
import type { ImageBreakData, ImageBreakSettings } from './types';
|
|
4308
4308
|
|
|
4309
4309
|
export const ImageBreak: React.FC<{ data: ImageBreakData; settings?: ImageBreakSettings }> = ({ data }) => {
|
|
@@ -6961,7 +6961,7 @@ import {
|
|
|
6961
6961
|
Code2, Quote, SquareCode,
|
|
6962
6962
|
Link2, Unlink2, ImagePlus, Eraser,
|
|
6963
6963
|
} from 'lucide-react';
|
|
6964
|
-
import { STUDIO_EVENTS, useConfig, useStudio } from '@
|
|
6964
|
+
import { STUDIO_EVENTS, useConfig, useStudio } from '@olonjs/core';
|
|
6965
6965
|
import type { TiptapData, TiptapSettings } from './types';
|
|
6966
6966
|
|
|
6967
6967
|
// ── UI primitives ─────────────────────────────────────────────────────────────
|
|
@@ -596,7 +596,7 @@ cat << 'END_OF_FILE_CONTENT' > "package.json"
|
|
|
596
596
|
"@tiptap/extension-link": "^2.11.5",
|
|
597
597
|
"@tiptap/react": "^2.11.5",
|
|
598
598
|
"@tiptap/starter-kit": "^2.11.5",
|
|
599
|
-
"@olonjs/core": "^1.0.
|
|
599
|
+
"@olonjs/core": "^1.0.70",
|
|
600
600
|
"clsx": "^2.1.1",
|
|
601
601
|
"lucide-react": "^0.474.0",
|
|
602
602
|
"react": "^19.0.0",
|
|
@@ -3467,7 +3467,7 @@ echo "Creating src/components/header/View.tsx..."
|
|
|
3467
3467
|
cat << 'END_OF_FILE_CONTENT' > "src/components/header/View.tsx"
|
|
3468
3468
|
import React, { useState, useEffect } from 'react';
|
|
3469
3469
|
import { cn } from '@/lib/utils';
|
|
3470
|
-
import type { MenuItem } from '@
|
|
3470
|
+
import type { MenuItem } from '@olonjs/core';
|
|
3471
3471
|
import type { HeaderData, HeaderSettings } from './types';
|
|
3472
3472
|
|
|
3473
3473
|
export const Header: React.FC<{
|
|
@@ -3891,7 +3891,7 @@ mkdir -p "src/components/image-break"
|
|
|
3891
3891
|
echo "Creating src/components/image-break/View.tsx..."
|
|
3892
3892
|
cat << 'END_OF_FILE_CONTENT' > "src/components/image-break/View.tsx"
|
|
3893
3893
|
import React from 'react';
|
|
3894
|
-
import { resolveAssetUrl, useConfig } from '@
|
|
3894
|
+
import { resolveAssetUrl, useConfig } from '@olonjs/core';
|
|
3895
3895
|
import type { ImageBreakData, ImageBreakSettings } from './types';
|
|
3896
3896
|
|
|
3897
3897
|
export const ImageBreak: React.FC<{ data: ImageBreakData; settings?: ImageBreakSettings }> = ({ data }) => {
|
|
@@ -5958,7 +5958,7 @@ import {
|
|
|
5958
5958
|
Code2, Quote, SquareCode,
|
|
5959
5959
|
Link2, Unlink2, ImagePlus, Eraser,
|
|
5960
5960
|
} from 'lucide-react';
|
|
5961
|
-
import { STUDIO_EVENTS, useConfig, useStudio } from '@
|
|
5961
|
+
import { STUDIO_EVENTS, useConfig, useStudio } from '@olonjs/core';
|
|
5962
5962
|
import type { TiptapData, TiptapSettings } from './types';
|
|
5963
5963
|
|
|
5964
5964
|
// ── UI primitives ─────────────────────────────────────────────────────────────
|