frakment 0.0.7 → 0.1.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "frakment",
3
- "version": "0.0.7",
3
+ "version": "0.1.0",
4
4
  "description": "CLI and design system for the frakment component registry",
5
5
  "keywords": [
6
6
  "components",
@@ -140,14 +140,18 @@ export function cn(...inputs: ClassValue[]) {
140
140
  await mkdir(path.join(cwd, "lib"), { recursive: true });
141
141
  await writeFile(
142
142
  path.join(cwd, "lib/animation.ts"),
143
- `export const SPRING_SMOOTH = { type: "spring", stiffness: 200, damping: 30 } as const
143
+ `export const springSoft = { type: "spring", stiffness: 200, damping: 30 } as const
144
144
 
145
- export const EASE_OUT = [0.16, 1, 0.3, 1] as const
146
- export const EASE_SMOOTH = [0.32, 0.72, 0, 1] as const
147
- export const EASE_IN_OUT = [0.4, 0, 0.2, 1] as const
145
+ export const easeInOut = [0.4, 0, 0.2, 1] as const
146
+ export const easeInOutQuad = [0.45, 0, 0.55, 1] as const
147
+ export const easeOutExpo = [0.16, 1, 0.3, 1] as const
148
+ export const easeSmoothOut = [0.32, 0.72, 0, 1] as const
148
149
 
149
- export const DURATION_FAST = 0.2
150
- export const DURATION_SMOOTH = 0.45
150
+ export const durationFast = 0.2
151
+ export const durationNormal = 0.3
152
+ export const durationSlow = 0.45
153
+
154
+ export const delayTight = 0.02
151
155
  `
152
156
  );
153
157
  s.succeed("Created 1 file:");