@m3000/market 0.0.1 → 0.0.2

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.
Files changed (79) hide show
  1. package/dist/styles.css +2 -0
  2. package/dist/tokens.css +2 -0
  3. package/package.json +10 -10
  4. package/src/components/blocks/auction/Auction.tsx +0 -74
  5. package/src/components/blocks/auction/AuctionArtwork.tsx +0 -4
  6. package/src/components/blocks/auction/AuctionBidForm.tsx +0 -138
  7. package/src/components/blocks/auction/AuctionBidInput.tsx +0 -166
  8. package/src/components/blocks/auction/AuctionContext.tsx +0 -401
  9. package/src/components/blocks/auction/AuctionInfo.tsx +0 -36
  10. package/src/components/blocks/auction/AuctionLayout.tsx +0 -200
  11. package/src/components/blocks/auction/AuctionRankings.tsx +0 -435
  12. package/src/components/blocks/auction/AuctionStatusTag.tsx +0 -98
  13. package/src/components/blocks/auction/AuctionSuggestedBids.tsx +0 -203
  14. package/src/components/blocks/auction/AuctionYourBidCard.tsx +0 -125
  15. package/src/components/blocks/auction/AuctionYourBids.tsx +0 -61
  16. package/src/components/blocks/auction/index.ts +0 -42
  17. package/src/components/blocks/index.ts +0 -1
  18. package/src/components/index.ts +0 -2
  19. package/src/components/primitives/Button.tsx +0 -183
  20. package/src/components/primitives/Drawer.tsx +0 -125
  21. package/src/components/primitives/Feedback.tsx +0 -185
  22. package/src/components/primitives/MorphDialog.tsx +0 -160
  23. package/src/components/primitives/Price.tsx +0 -394
  24. package/src/components/primitives/PriceInput.tsx +0 -48
  25. package/src/components/primitives/Receipt.tsx +0 -711
  26. package/src/components/primitives/Scale.tsx +0 -287
  27. package/src/components/primitives/Separator.tsx +0 -87
  28. package/src/components/primitives/Skeleton.tsx +0 -33
  29. package/src/components/primitives/SteppedInput.tsx +0 -313
  30. package/src/components/primitives/Tabs.tsx +0 -161
  31. package/src/components/primitives/Tag.tsx +0 -48
  32. package/src/components/primitives/Text.tsx +0 -102
  33. package/src/components/primitives/countdown/Countdown.tsx +0 -43
  34. package/src/components/primitives/countdown/index.ts +0 -2
  35. package/src/components/primitives/framed-image/FramedImage.tsx +0 -51
  36. package/src/components/primitives/framed-image/index.ts +0 -1
  37. package/src/components/primitives/index.ts +0 -42
  38. package/src/components/primitives/ranked-list/RankedList.tsx +0 -9
  39. package/src/components/primitives/ranked-list/Ranking.tsx +0 -454
  40. package/src/components/primitives/ranked-list/index.ts +0 -8
  41. package/src/hooks/index.ts +0 -1
  42. package/src/hooks/useCountdown.ts +0 -91
  43. package/src/index.ts +0 -130
  44. package/src/lib/cn.ts +0 -81
  45. package/src/lib/index.ts +0 -2
  46. package/src/lib/motion.ts +0 -55
  47. package/src/public/lea-83-time-walk.png +0 -0
  48. package/src/public/lea-83-time-walk.webp +0 -0
  49. package/src/stories/Auction.stories.tsx +0 -658
  50. package/src/stories/AuctionLayout.stories.tsx +0 -313
  51. package/src/stories/AuctionStatusTag.stories.tsx +0 -166
  52. package/src/stories/AuctionYourBidCard.stories.tsx +0 -257
  53. package/src/stories/Button.stories.tsx +0 -306
  54. package/src/stories/Countdown.stories.tsx +0 -158
  55. package/src/stories/Feedback.stories.tsx +0 -80
  56. package/src/stories/FramedImage.stories.tsx +0 -46
  57. package/src/stories/MorphDialog.stories.tsx +0 -88
  58. package/src/stories/Price.stories.tsx +0 -292
  59. package/src/stories/RankedList.stories.tsx +0 -190
  60. package/src/stories/Receipt.stories.tsx +0 -221
  61. package/src/stories/Scale.stories.tsx +0 -578
  62. package/src/stories/Separator.stories.tsx +0 -188
  63. package/src/stories/Skeleton.stories.tsx +0 -138
  64. package/src/stories/SteppedInput.stories.tsx +0 -321
  65. package/src/stories/Tabs.stories.tsx +0 -215
  66. package/src/stories/Tag.stories.tsx +0 -138
  67. package/src/stories/Text.stories.tsx +0 -245
  68. package/src/styles/globals.css +0 -39
  69. package/src/styles/index.css +0 -4
  70. package/src/styles/theme/animation.css +0 -11
  71. package/src/styles/theme/color.css +0 -185
  72. package/src/styles/theme/index.css +0 -3
  73. package/src/styles/theme/typography.css +0 -3
  74. package/src/styles/utility.css +0 -8
  75. package/src/types/index.ts +0 -149
  76. package/src/utils/format.ts +0 -130
  77. package/src/utils/index.ts +0 -16
  78. package/src/utils/rank-utils.ts +0 -131
  79. package/src/utils/tick-validation.ts +0 -65
package/src/lib/cn.ts DELETED
@@ -1,81 +0,0 @@
1
- import { type ClassValue, clsx } from "clsx";
2
- import { extendTailwindMerge } from "tailwind-merge";
3
-
4
- // Primitive color scale (Radix-style 1-12 naming)
5
- const PRIMITIVE_COLORS = [
6
- "grey-1",
7
- "grey-2",
8
- "grey-3",
9
- "grey-4",
10
- "grey-5",
11
- "grey-6",
12
- "grey-7",
13
- "grey-8",
14
- "grey-9",
15
- "grey-10",
16
- "grey-11",
17
- "grey-12",
18
- "white",
19
- "black",
20
- "current",
21
- "transparent",
22
- ];
23
-
24
- // Semantic color tokens (shadcn-style naming)
25
- const SEMANTIC_COLORS = [
26
- "background",
27
- "foreground",
28
- "muted",
29
- "muted-foreground",
30
- "card",
31
- "card-foreground",
32
- "popover",
33
- "popover-foreground",
34
- "primary",
35
- "primary-hover",
36
- "primary-foreground",
37
- "secondary",
38
- "secondary-hover",
39
- "secondary-foreground",
40
- "accent",
41
- "accent-hover",
42
- "accent-active",
43
- "accent-foreground",
44
- "border",
45
- "input",
46
- "ring",
47
- "disabled",
48
- "disabled-foreground",
49
- "destructive",
50
- "destructive-hover",
51
- "destructive-foreground",
52
- "destructive-muted",
53
- "destructive-muted-foreground",
54
- "success",
55
- "success-hover",
56
- "success-foreground",
57
- "success-muted",
58
- "success-muted-foreground",
59
- "warning",
60
- "warning-hover",
61
- "warning-foreground",
62
- "warning-muted",
63
- "warning-muted-foreground",
64
- "separator",
65
- ];
66
-
67
- const THEME_COLORS = [...PRIMITIVE_COLORS, ...SEMANTIC_COLORS];
68
-
69
- const customTwMerge = extendTailwindMerge({
70
- extend: {
71
- classGroups: {
72
- "text-color": [{ text: THEME_COLORS }],
73
- "bg-color": [{ bg: THEME_COLORS }],
74
- "border-color": [{ border: THEME_COLORS }],
75
- },
76
- },
77
- });
78
-
79
- export function cn(...inputs: ClassValue[]): string {
80
- return customTwMerge(clsx(inputs));
81
- }
package/src/lib/index.ts DELETED
@@ -1,2 +0,0 @@
1
- export { cn } from "./cn";
2
- export { springs, transitions } from "./motion";
package/src/lib/motion.ts DELETED
@@ -1,55 +0,0 @@
1
- import type { Transition } from "motion/react";
2
-
3
- type SpringTransition = {
4
- type: "spring";
5
- stiffness: number;
6
- damping: number;
7
- mass: number;
8
- };
9
-
10
- /**
11
- * Shared spring configurations for consistent animations across the app.
12
- */
13
- export const springs: Record<string, SpringTransition> = {
14
- /** Snappy, responsive spring for UI interactions */
15
- snappy: {
16
- type: "spring",
17
- stiffness: 500,
18
- damping: 30,
19
- mass: 1,
20
- },
21
- /** Bouncy spring with overshoot for playful interactions */
22
- bouncy: {
23
- type: "spring",
24
- stiffness: 600,
25
- damping: 20,
26
- mass: 1,
27
- },
28
- /** Smooth spring for layout animations */
29
- smooth: {
30
- type: "spring",
31
- stiffness: 350,
32
- damping: 35,
33
- mass: 1,
34
- },
35
- /** Quick spring for micro-interactions */
36
- quick: {
37
- type: "spring",
38
- stiffness: 700,
39
- damping: 35,
40
- mass: 0.8,
41
- },
42
- };
43
-
44
- /**
45
- * Common transition presets combining spring with other settings.
46
- */
47
- export const transitions: Record<string, Transition> = {
48
- /** Default layout transition */
49
- layout: springs.snappy,
50
- /** Fade transition for overlays */
51
- fade: {
52
- duration: 0.15,
53
- ease: "easeOut",
54
- },
55
- };
Binary file
Binary file