Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
287 changes: 266 additions & 21 deletions LICENSE

Large diffs are not rendered by default.

21 changes: 10 additions & 11 deletions SLASHED-for-WP/admin-app/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion SLASHED-for-WP/admin-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
"dependencies": {
"fflate": "^0.8.3",
"lucide-svelte": "^1.0.1",
"@lucide/svelte": "^1.23.0",
"motion": "^12.23.24"
Comment thread
qodo-code-review[bot] marked this conversation as resolved.
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion SLASHED-for-WP/admin-app/src/App.svelte
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script lang="ts">
import { onMount, untrack } from 'svelte';
import { SlidersHorizontal, Eye, RotateCcw } from 'lucide-svelte';
import { SlidersHorizontal, Eye, RotateCcw } from '@lucide/svelte';
import type { PreviewTemplate, SlashedToken } from './types';
import StudioHeader from './components/shell/StudioHeader.svelte';
import SidebarNav from './components/shell/SidebarNav.svelte';
Expand Down
6 changes: 3 additions & 3 deletions SLASHED-for-WP/admin-app/src/AppOverlay.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
import SidebarNav from './components/shell/SidebarNav.svelte';
import DomainPanel from './components/DomainPanel.svelte';
import CommandPalette from './components/CommandPalette.svelte';
import { fa } from './lib/codec';
import { generateCSS } from './lib/codec';
import { loadInitialOverrides, injectLivePreview, saveOverrides } from './lib/persistence';
import { registerPreviewDoc } from './lib/previewResolver.svelte';
import { domainOf } from './lib/domains';
import tokensRaw from './data/api-index.generated.json';
import {
ChevronRight, Undo2, Redo2, Trash2, FolderOpen, Download, Save, Check, Loader2,
} from 'lucide-svelte';
} from '@lucide/svelte';

const ALL_TOKENS = ((tokensRaw as any).tokens ?? tokensRaw) as SlashedToken[];

Expand Down Expand Up @@ -200,7 +200,7 @@
}

function handleExport() {
const css = fa(overrides, { mode: 'layer', banner: true });
const css = generateCSS(overrides, { mode: 'layer', banner: true });
const blob = new Blob([css], { type: 'text/css' });
const url = URL.createObjectURL(blob);
const a = document.createElement('a');
Expand Down
2 changes: 1 addition & 1 deletion SLASHED-for-WP/admin-app/src/components/DomainPanel.svelte
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script lang="ts">
import { SlidersHorizontal, List } from 'lucide-svelte';
import { SlidersHorizontal, List } from '@lucide/svelte';
import type { SlashedToken } from '../types';
import { DOMAIN_PATTERNS, domainOf } from '../lib/domains';
import HomePanel from './panels/HomePanel.svelte';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<script lang="ts">
import classesData from '../../data/classes.generated.json';
import tokensData from '../../data/api-index.generated.json';
import { Copy, Check } from 'lucide-svelte';
import { Copy, Check } from '@lucide/svelte';

const classes = classesData.classes;
const tokens = tokensData.tokens.filter((t: any) => t.tier === 'PUBLIC' || t.tier === 'PUBLIC-ADVANCED');
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script lang="ts">
import { Check, Copy, Download, Link } from 'lucide-svelte';
import { Check, Copy, Download, Link } from '@lucide/svelte';
import { fa, qa } from '../../lib/codec';

let { overrides }: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import {
Sparkles, Palette, Type, Ruler, Layout, Square, Layers, Zap,
Puzzle, Blocks, SwatchBook, ShieldCheck, Package, BookOpen, Save,
} from 'lucide-svelte';
} from '@lucide/svelte';
import type { SavedSlot } from '../../types';
import { listSavedThemes, saveTheme } from '../../lib/savedThemes';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script lang="ts">
import { Save, Trash2, Check } from 'lucide-svelte';
import { Save, Trash2, Check } from '@lucide/svelte';
import type { SavedSlot } from '../../types';
import { listSavedThemes, saveTheme, deleteTheme } from '../../lib/savedThemes';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script lang="ts">
import { Sun, Moon, Smartphone, Tablet, Monitor, RefreshCw, ExternalLink, Columns2 } from 'lucide-svelte';
import { Sun, Moon, Smartphone, Tablet, Monitor, RefreshCw, ExternalLink, Columns2 } from '@lucide/svelte';
import type { PreviewTemplate } from '../../types';
import { fa } from '../../lib/codec';
import { computeDerivedOverrides } from '../../lib/persistence';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import {
Home, Palette, Type, Ruler, Layout, Square, Layers, Zap, Sparkles, Puzzle,
Blocks, SwatchBook, ShieldCheck, Package, BookOpen,
} from 'lucide-svelte';
} from '@lucide/svelte';

let { activeId, onSelect, overridesByDomain = {} }: {
activeId: string;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script lang="ts">
import { tick } from 'svelte';
import { Undo2, Redo2, Trash2, Share2, FolderOpen, Check, Save, Loader2 } from 'lucide-svelte';
import { Undo2, Redo2, Trash2, Share2, FolderOpen, Check, Save, Loader2 } from '@lucide/svelte';

const version = typeof __SLASHED_VERSION__ !== "undefined" ? __SLASHED_VERSION__ : "";

Expand Down
46 changes: 23 additions & 23 deletions SLASHED-for-WP/assets/admin-app/app.js

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion SLASHED-for-WP/integrations/bricks/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,4 +185,6 @@ the URL entirely with `slashed_bricks/css_bundle_url`.

## License

MIT — same as the SLASHED framework.
GPL-3.0-or-later, as part of the SLASHED for WordPress plugin (see the
plugin's `license.txt`). The bundled SLASHED framework CSS is MIT-licensed
(GPL-compatible).
4 changes: 2 additions & 2 deletions SLASHED-for-WP/integrations/bricks/slashed-bricks.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
* Version: 0.4.20
* Author: Jack Granatowski
* Author URI: https://codeslash.net
* License: GPL-2.0-or-later
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
* License: GPL-3.0-or-later
* License URI: https://www.gnu.org/licenses/gpl-3.0.html
* Requires PHP: 7.4
* Requires at least: 6.4
* Text Domain: slashed-bricks
Expand Down
4 changes: 2 additions & 2 deletions SLASHED-for-WP/integrations/gutenberg/slashed-gutenberg.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
* Version: 0.4.20
* Author: Jack Granatowski
* Author URI: https://codeslash.net
* License: GPL-2.0-or-later
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
* License: GPL-3.0-or-later
* License URI: https://www.gnu.org/licenses/gpl-3.0.html
* Requires PHP: 7.4
* Requires at least: 6.4
* Text Domain: slashed-gutenberg
Expand Down
Loading