@sjsf/moving-icons
Advanced tools
@@ -1,12 +0,12 @@ | ||
| import type { IconDefinitions } from '@sjsf/form'; | ||
| import type { IconDefinitions } from "@sjsf/form"; | ||
| export interface ExtraIcons { | ||
| } | ||
| declare const icons: { | ||
| 'move-array-item-up': () => ReturnType<import("svelte").Snippet>; | ||
| 'move-array-item-down': () => ReturnType<import("svelte").Snippet>; | ||
| 'remove-array-item': () => ReturnType<import("svelte").Snippet>; | ||
| 'copy-array-item': () => ReturnType<import("svelte").Snippet>; | ||
| 'remove-object-property': () => ReturnType<import("svelte").Snippet>; | ||
| "move-array-item-up": () => ReturnType<import("svelte").Snippet>; | ||
| "move-array-item-down": () => ReturnType<import("svelte").Snippet>; | ||
| "remove-array-item": () => ReturnType<import("svelte").Snippet>; | ||
| "copy-array-item": () => ReturnType<import("svelte").Snippet>; | ||
| "remove-object-property": () => ReturnType<import("svelte").Snippet>; | ||
| }; | ||
| export declare const definitions: typeof icons & Pick<IconDefinitions, keyof ExtraIcons>; | ||
| export {}; |
@@ -1,9 +0,9 @@ | ||
| import { arrowDownOutline, arrowUpOutline, fileCopyOutline, trashBinOutline } from './icons.svelte'; | ||
| import { arrowDownOutline, arrowUpOutline, fileCopyOutline, trashBinOutline, } from "./icons.svelte"; | ||
| const icons = { | ||
| 'move-array-item-up': arrowUpOutline, | ||
| 'move-array-item-down': arrowDownOutline, | ||
| 'remove-array-item': trashBinOutline, | ||
| 'copy-array-item': fileCopyOutline, | ||
| 'remove-object-property': trashBinOutline | ||
| "move-array-item-up": arrowUpOutline, | ||
| "move-array-item-down": arrowDownOutline, | ||
| "remove-array-item": trashBinOutline, | ||
| "copy-array-item": fileCopyOutline, | ||
| "remove-object-property": trashBinOutline, | ||
| }; | ||
| export const definitions = icons; |
| <script lang="ts" module> | ||
| import { X } from '@jis3r/icons'; | ||
| import '@sjsf/form/extra-labels/clear'; | ||
| import { X } from "@jis3r/icons"; | ||
| import "@sjsf/form/extra-labels/clear"; | ||
| declare module '../definitions.js' { | ||
| interface ExtraIcons { | ||
| clear: {}; | ||
| } | ||
| } | ||
| declare module "../definitions.js" { | ||
| interface ExtraIcons { | ||
| clear: {}; | ||
| } | ||
| } | ||
| import { definitions } from '../definitions.js'; | ||
| import { definitions } from "../definitions.js"; | ||
| definitions.clear = clear; | ||
| definitions.clear = clear; | ||
| </script> | ||
| {#snippet clear()} | ||
| <X size={20} /> | ||
| <X size={20} /> | ||
| {/snippet} |
@@ -1,3 +0,3 @@ | ||
| import '@sjsf/form/extra-labels/clear'; | ||
| declare module '../definitions.js' { | ||
| import "@sjsf/form/extra-labels/clear"; | ||
| declare module "../definitions.js" { | ||
| interface ExtraIcons { | ||
@@ -4,0 +4,0 @@ clear: {}; |
| <script lang="ts" module> | ||
| import { Pencil } from '@jis3r/icons'; | ||
| import '@sjsf/form/extra-labels/edit'; | ||
| import { Pencil } from "@jis3r/icons"; | ||
| import "@sjsf/form/extra-labels/edit"; | ||
| declare module '../definitions.js' { | ||
| interface ExtraIcons { | ||
| edit: {}; | ||
| } | ||
| } | ||
| declare module "../definitions.js" { | ||
| interface ExtraIcons { | ||
| edit: {}; | ||
| } | ||
| } | ||
| import { definitions } from '../definitions.js'; | ||
| import { definitions } from "../definitions.js"; | ||
| definitions.edit = edit; | ||
| definitions.edit = edit; | ||
| </script> | ||
| {#snippet edit()} | ||
| <Pencil size={20} /> | ||
| <Pencil size={20} /> | ||
| {/snippet} |
@@ -1,3 +0,3 @@ | ||
| import '@sjsf/form/extra-labels/edit'; | ||
| declare module '../definitions.js' { | ||
| import "@sjsf/form/extra-labels/edit"; | ||
| declare module "../definitions.js" { | ||
| interface ExtraIcons { | ||
@@ -4,0 +4,0 @@ edit: {}; |
| <script lang="ts" module> | ||
| import { ArrowUp, ArrowDown, Trash, Copy } from '@jis3r/icons'; | ||
| import { ArrowUp, ArrowDown, Trash, Copy } from "@jis3r/icons"; | ||
| export { arrowDownOutline, arrowUpOutline, trashBinOutline, fileCopyOutline }; | ||
| export { arrowDownOutline, arrowUpOutline, trashBinOutline, fileCopyOutline }; | ||
| </script> | ||
| {#snippet arrowUpOutline()} | ||
| <ArrowUp size={20} /> | ||
| <ArrowUp size={20} /> | ||
| {/snippet} | ||
| {#snippet arrowDownOutline()} | ||
| <ArrowDown size={20} /> | ||
| <ArrowDown size={20} /> | ||
| {/snippet} | ||
| {#snippet trashBinOutline()} | ||
| <Trash size={20} /> | ||
| <Trash size={20} /> | ||
| {/snippet} | ||
| {#snippet fileCopyOutline()} | ||
| <Copy size={20} /> | ||
| <Copy size={20} /> | ||
| {/snippet} |
+5
-5
| export declare const icons: import("@sjsf/form/lib/resolver").Resolver<Record<"remove-object-property" | "remove-array-item" | "copy-array-item" | "move-array-item-up" | "move-array-item-down" | keyof import("./definitions.js").ExtraIcons, any>, { | ||
| 'move-array-item-up': () => ReturnType<import("svelte").Snippet>; | ||
| 'move-array-item-down': () => ReturnType<import("svelte").Snippet>; | ||
| 'remove-array-item': () => ReturnType<import("svelte").Snippet>; | ||
| 'copy-array-item': () => ReturnType<import("svelte").Snippet>; | ||
| 'remove-object-property': () => ReturnType<import("svelte").Snippet>; | ||
| "move-array-item-up": () => ReturnType<import("svelte").Snippet>; | ||
| "move-array-item-down": () => ReturnType<import("svelte").Snippet>; | ||
| "remove-array-item": () => ReturnType<import("svelte").Snippet>; | ||
| "copy-array-item": () => ReturnType<import("svelte").Snippet>; | ||
| "remove-object-property": () => ReturnType<import("svelte").Snippet>; | ||
| } & Pick<import("@sjsf/form").IconDefinitions, keyof import("./definitions.js").ExtraIcons>>; |
+2
-2
@@ -1,3 +0,3 @@ | ||
| import { fromRecord } from '@sjsf/form/lib/resolver'; | ||
| import { definitions } from './definitions.js'; | ||
| import { fromRecord } from "@sjsf/form/lib/resolver"; | ||
| import { definitions } from "./definitions.js"; | ||
| export const icons = fromRecord(definitions); |
+29
-28
| { | ||
| "name": "@sjsf/moving-icons", | ||
| "version": "3.6.0", | ||
| "version": "3.7.0", | ||
| "description": "The jis3r/icons based icons set for svelte-jsonschema-form", | ||
| "license": "MIT", | ||
| "keywords": [ | ||
| "animated", | ||
| "form", | ||
| "icons", | ||
| "lucide", | ||
| "animated", | ||
| "form" | ||
| "lucide" | ||
| ], | ||
| "type": "module", | ||
| "homepage": "https://x0k.github.io/svelte-jsonschema-form/", | ||
| "bugs": "https://github.com/x0k/svelte-jsonschema-form/issues", | ||
| "license": "MIT", | ||
| "repository": { | ||
| "type": "git", | ||
| "url": "git+https://github.com/x0k/svelte-jsonschema-form.git", | ||
| "directory": "packages/moving-icons" | ||
| }, | ||
| "files": [ | ||
@@ -18,12 +24,5 @@ "dist", | ||
| ], | ||
| "publishConfig": { | ||
| "provenance": true | ||
| }, | ||
| "repository": { | ||
| "type": "git", | ||
| "url": "git+https://github.com/x0k/svelte-jsonschema-form.git", | ||
| "directory": "packages/moving-icons" | ||
| }, | ||
| "bugs": "https://github.com/x0k/svelte-jsonschema-form/issues", | ||
| "homepage": "https://x0k.github.io/svelte-jsonschema-form/", | ||
| "type": "module", | ||
| "types": "./dist/index.d.ts", | ||
| "svelte": "./dist/index.js", | ||
| "exports": { | ||
@@ -40,2 +39,12 @@ "./package.json": "./package.json", | ||
| }, | ||
| "publishConfig": { | ||
| "provenance": true | ||
| }, | ||
| "devDependencies": { | ||
| "@jis3r/icons": "^2.7.0", | ||
| "globals": "17.7.0", | ||
| "svelte": "^5.56.4", | ||
| "@sjsf/form": "3.7.0", | ||
| "theme-testing": "1.0.28" | ||
| }, | ||
| "peerDependencies": { | ||
@@ -46,11 +55,2 @@ "@jis3r/icons": "^1.2.0 || ^2.0.0", | ||
| }, | ||
| "devDependencies": { | ||
| "@jis3r/icons": "^2.7.0", | ||
| "globals": "17.6.0", | ||
| "svelte": "^5.55.5", | ||
| "@sjsf/form": "3.6.0", | ||
| "theme-testing": "1.0.27" | ||
| }, | ||
| "svelte": "./dist/index.js", | ||
| "types": "./dist/index.d.ts", | ||
| "scripts": { | ||
@@ -63,7 +63,8 @@ "dev": "vite dev", | ||
| "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch", | ||
| "lint": "prettier --check . && eslint .", | ||
| "format": "prettier --write .", | ||
| "lint": "eslint .", | ||
| "test:integration": "playwright test", | ||
| "test:unit": "vitest" | ||
| "test:unit": "vitest", | ||
| "format": "oxfmt .", | ||
| "format:check": "oxfmt --check ." | ||
| } | ||
| } |
9309
0.45%