fancy-ui-svelte 0.4.1 → 0.5.0
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/README.md +18 -4
- package/dist/fancy-ui/fluid-cursor/FluidCursor.svelte +168 -32
- package/dist/fancy-ui/fluid-cursor/FluidCursor.svelte.d.ts +7 -0
- package/dist/fancy-ui/fluid-cursor/FluidCursor.test.js +36 -9
- package/dist/fancy-ui/fluid-cursor/index.d.ts +4 -1
- package/dist/fancy-ui/fluid-cursor/index.js +4 -1
- package/dist/fancy-ui/registry.js +1463 -0
- package/dist/fancy-ui/shimmer-button/ShimmerButton.svelte +1 -1
- package/dist/fancy-ui/tailwind.css +2 -2
- package/dist/types.d.ts +35 -0
- package/package.json +7 -1
- package/dist/fancy-ui/fluid-cursor/FluidCursorAdvanced.svelte +0 -1556
- package/dist/fancy-ui/fluid-cursor/FluidCursorAdvanced.svelte.d.ts +0 -33
- package/dist/fancy-ui/fluid-cursor/FluidCursorAdvanced.test.d.ts +0 -1
- package/dist/fancy-ui/fluid-cursor/FluidCursorAdvanced.test.js +0 -86
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
|
|
44
44
|
<button
|
|
45
45
|
class={cn(
|
|
46
|
-
"shimmer-button group relative z-0 flex cursor-pointer items-center justify-center overflow-hidden [border-radius:var(--radius)] border border-white/10 px-6 py-3 whitespace-nowrap text-white [background:var(--bg)]
|
|
46
|
+
"shimmer-button group relative z-0 flex cursor-pointer items-center justify-center overflow-hidden [border-radius:var(--radius)] border border-white/10 px-6 py-3 whitespace-nowrap text-white [background:var(--bg)]",
|
|
47
47
|
"transform-gpu transition-transform duration-300 ease-in-out active:translate-y-px",
|
|
48
48
|
className
|
|
49
49
|
)}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/* Import this file in your app's CSS to include fancy-ui Tailwind classes:
|
|
2
|
-
@import "fancy-ui/tailwind.css"; */
|
|
3
|
-
@source "
|
|
2
|
+
@import "fancy-ui-svelte/tailwind.css"; */
|
|
3
|
+
@source ".";
|
package/dist/types.d.ts
CHANGED
|
@@ -63,6 +63,31 @@ export type ComponentStatus = "done" | "in-progress" | "planned";
|
|
|
63
63
|
* Component category for organization
|
|
64
64
|
*/
|
|
65
65
|
export type ComponentCategory = "buttons" | "cards" | "backgrounds" | "text" | "layout" | "feedback" | "data-display" | "navigation" | "media" | "effects";
|
|
66
|
+
/**
|
|
67
|
+
* Component prop definition for documentation
|
|
68
|
+
*/
|
|
69
|
+
export interface PropDef {
|
|
70
|
+
name: string;
|
|
71
|
+
type: string;
|
|
72
|
+
default?: string;
|
|
73
|
+
description: string;
|
|
74
|
+
required?: boolean;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Component slot definition for documentation
|
|
78
|
+
*/
|
|
79
|
+
export interface SlotDef {
|
|
80
|
+
name: string;
|
|
81
|
+
description: string;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Component event definition for documentation
|
|
85
|
+
*/
|
|
86
|
+
export interface EventDef {
|
|
87
|
+
name: string;
|
|
88
|
+
detail: string;
|
|
89
|
+
description: string;
|
|
90
|
+
}
|
|
66
91
|
/**
|
|
67
92
|
* Component metadata for registry
|
|
68
93
|
*/
|
|
@@ -84,4 +109,14 @@ export interface ComponentMeta {
|
|
|
84
109
|
source: string;
|
|
85
110
|
url?: string;
|
|
86
111
|
}>;
|
|
112
|
+
/** Searchable tags */
|
|
113
|
+
tags?: string[];
|
|
114
|
+
/** Component props documentation */
|
|
115
|
+
props?: PropDef[];
|
|
116
|
+
/** Component slots documentation */
|
|
117
|
+
slots?: SlotDef[];
|
|
118
|
+
/** Component events documentation */
|
|
119
|
+
events?: EventDef[];
|
|
120
|
+
/** Version when component was added */
|
|
121
|
+
since?: string;
|
|
87
122
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fancy-ui-svelte",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.5.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
@@ -20,6 +20,10 @@
|
|
|
20
20
|
"ui",
|
|
21
21
|
"tailwind"
|
|
22
22
|
],
|
|
23
|
+
"sideEffects": [
|
|
24
|
+
"**/*.css",
|
|
25
|
+
"**/*.svelte"
|
|
26
|
+
],
|
|
23
27
|
"files": [
|
|
24
28
|
"dist/fancy-ui",
|
|
25
29
|
"dist/utils.js",
|
|
@@ -75,11 +79,13 @@
|
|
|
75
79
|
"isomorphic-dompurify": "^3.7.1",
|
|
76
80
|
"jsdom": "^28.0.0",
|
|
77
81
|
"marked": "^17.0.3",
|
|
82
|
+
"mdsvex": "^0.12.7",
|
|
78
83
|
"nanoid": "^5.1.6",
|
|
79
84
|
"prettier": "^3.8.1",
|
|
80
85
|
"prettier-plugin-svelte": "^3.5.0",
|
|
81
86
|
"prettier-plugin-tailwindcss": "^0.7.2",
|
|
82
87
|
"publint": "^0.3.18",
|
|
88
|
+
"shiki": "^4.0.2",
|
|
83
89
|
"svelte": "^5.45.6",
|
|
84
90
|
"svelte-check": "^4.3.4",
|
|
85
91
|
"tailwind-variants": "^3.2.2",
|