@mbao01/common 0.8.1 → 0.9.1
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/dist/types/components/ActivityFeed/ActivityFeed.d.ts +6 -0
- package/dist/types/components/ActivityFeed/constants.d.ts +6 -0
- package/dist/types/components/ActivityFeed/index.d.ts +2 -0
- package/dist/types/components/ActivityFeed/types.d.ts +21 -0
- package/dist/types/components/Amount/Amount.d.ts +6 -0
- package/dist/types/components/Amount/index.d.ts +2 -0
- package/dist/types/components/Amount/types.d.ts +19 -0
- package/dist/types/components/AnimatedCounter/AnimatedCounter.d.ts +6 -0
- package/dist/types/components/AnimatedCounter/index.d.ts +2 -0
- package/dist/types/components/AnimatedCounter/types.d.ts +13 -0
- package/dist/types/components/AnimatedGroup/AnimatedGroup.d.ts +6 -0
- package/dist/types/components/AnimatedGroup/index.d.ts +2 -0
- package/dist/types/components/AnimatedGroup/types.d.ts +22 -0
- package/dist/types/components/AnimatedList/AnimatedList.d.ts +6 -0
- package/dist/types/components/AnimatedList/index.d.ts +2 -0
- package/dist/types/components/AnimatedList/types.d.ts +13 -0
- package/dist/types/components/BorderBeam/BorderBeam.d.ts +6 -0
- package/dist/types/components/BorderBeam/index.d.ts +2 -0
- package/dist/types/components/BorderBeam/types.d.ts +13 -0
- package/dist/types/components/Box/Box.d.ts +4 -0
- package/dist/types/components/Box/constants.d.ts +4 -0
- package/dist/types/components/CalendarHeatmap/CalendarHeatmap.d.ts +6 -0
- package/dist/types/components/CalendarHeatmap/index.d.ts +2 -0
- package/dist/types/components/CalendarHeatmap/types.d.ts +25 -0
- package/dist/types/components/Chart/stories/examples/AreaChart.d.ts +6 -0
- package/dist/types/components/Chart/stories/examples/BarChart.d.ts +11 -0
- package/dist/types/components/Chart/stories/examples/LineChart.d.ts +10 -0
- package/dist/types/components/Chart/stories/examples/PieChart.d.ts +5 -0
- package/dist/types/components/Chart/stories/examples/RadialChart.d.ts +5 -0
- package/dist/types/components/CircularProgress/CircularProgress.d.ts +6 -0
- package/dist/types/components/CircularProgress/constants.d.ts +5 -0
- package/dist/types/components/CircularProgress/index.d.ts +2 -0
- package/dist/types/components/CircularProgress/types.d.ts +17 -0
- package/dist/types/components/ComparisonBar/ComparisonBar.d.ts +6 -0
- package/dist/types/components/ComparisonBar/constants.d.ts +4 -0
- package/dist/types/components/ComparisonBar/index.d.ts +2 -0
- package/dist/types/components/ComparisonBar/types.d.ts +21 -0
- package/dist/types/components/Confetti/Confetti.d.ts +6 -0
- package/dist/types/components/Confetti/index.d.ts +2 -0
- package/dist/types/components/Confetti/types.d.ts +19 -0
- package/dist/types/components/CountdownTimer/CountdownTimer.d.ts +6 -0
- package/dist/types/components/CountdownTimer/index.d.ts +2 -0
- package/dist/types/components/CountdownTimer/types.d.ts +13 -0
- package/dist/types/components/DataList/DataList.d.ts +6 -0
- package/dist/types/components/DataList/constants.d.ts +12 -0
- package/dist/types/components/DataList/index.d.ts +2 -0
- package/dist/types/components/DataList/types.d.ts +15 -0
- package/dist/types/components/DatePicker/DateRangePresetPicker.d.ts +2 -0
- package/dist/types/components/DatePicker/index.d.ts +1 -0
- package/dist/types/components/DatePicker/types.d.ts +19 -0
- package/dist/types/components/Description/Description.d.ts +2 -1
- package/dist/types/components/Description/DescriptionGroup.d.ts +6 -0
- package/dist/types/components/Description/constants.d.ts +23 -0
- package/dist/types/components/Description/index.d.ts +2 -0
- package/dist/types/components/Description/types.d.ts +28 -3
- package/dist/types/components/Form/DatetimeInput/DatetimeInput.d.ts +1 -1
- package/dist/types/components/GlowCard/GlowCard.d.ts +6 -0
- package/dist/types/components/GlowCard/index.d.ts +2 -0
- package/dist/types/components/GlowCard/types.d.ts +8 -0
- package/dist/types/components/GradientText/GradientText.d.ts +6 -0
- package/dist/types/components/GradientText/index.d.ts +2 -0
- package/dist/types/components/GradientText/types.d.ts +14 -0
- package/dist/types/components/Greeting/Greeting.d.ts +6 -0
- package/dist/types/components/Greeting/index.d.ts +2 -0
- package/dist/types/components/Greeting/types.d.ts +9 -0
- package/dist/types/components/IconContainer/IconContainer.d.ts +2 -0
- package/dist/types/components/IconContainer/constants.d.ts +15 -0
- package/dist/types/components/IconContainer/index.d.ts +1 -0
- package/dist/types/components/IconContainer/types.d.ts +3 -0
- package/dist/types/components/KPICard/KPICard.d.ts +6 -0
- package/dist/types/components/KPICard/index.d.ts +2 -0
- package/dist/types/components/KPICard/types.d.ts +17 -0
- package/dist/types/components/Marquee/Marquee.d.ts +6 -0
- package/dist/types/components/Marquee/index.d.ts +2 -0
- package/dist/types/components/Marquee/types.d.ts +12 -0
- package/dist/types/components/Meteors/Meteors.d.ts +6 -0
- package/dist/types/components/Meteors/index.d.ts +2 -0
- package/dist/types/components/Meteors/types.d.ts +5 -0
- package/dist/types/components/MiniAreaChart/MiniAreaChart.d.ts +6 -0
- package/dist/types/components/MiniAreaChart/index.d.ts +2 -0
- package/dist/types/components/MiniAreaChart/types.d.ts +10 -0
- package/dist/types/components/MiniBarChart/MiniBarChart.d.ts +6 -0
- package/dist/types/components/MiniBarChart/index.d.ts +2 -0
- package/dist/types/components/MiniBarChart/types.d.ts +15 -0
- package/dist/types/components/MiniDonutChart/MiniDonutChart.d.ts +6 -0
- package/dist/types/components/MiniDonutChart/index.d.ts +2 -0
- package/dist/types/components/MiniDonutChart/types.d.ts +15 -0
- package/dist/types/components/MiniStackedBar/MiniStackedBar.d.ts +6 -0
- package/dist/types/components/MiniStackedBar/index.d.ts +2 -0
- package/dist/types/components/MiniStackedBar/types.d.ts +13 -0
- package/dist/types/components/NumberTicker/NumberTicker.d.ts +6 -0
- package/dist/types/components/NumberTicker/index.d.ts +2 -0
- package/dist/types/components/NumberTicker/types.d.ts +11 -0
- package/dist/types/components/Pulse/Pulse.d.ts +6 -0
- package/dist/types/components/Pulse/constants.d.ts +10 -0
- package/dist/types/components/Pulse/index.d.ts +2 -0
- package/dist/types/components/Pulse/types.d.ts +11 -0
- package/dist/types/components/ShinyButton/ShinyButton.d.ts +6 -0
- package/dist/types/components/ShinyButton/index.d.ts +2 -0
- package/dist/types/components/ShinyButton/types.d.ts +4 -0
- package/dist/types/components/Sparkline/Sparkline.d.ts +6 -0
- package/dist/types/components/Sparkline/index.d.ts +2 -0
- package/dist/types/components/Sparkline/types.d.ts +17 -0
- package/dist/types/components/SpotlightCard/SpotlightCard.d.ts +6 -0
- package/dist/types/components/SpotlightCard/index.d.ts +2 -0
- package/dist/types/components/SpotlightCard/types.d.ts +7 -0
- package/dist/types/components/StatCard/StatCard.d.ts +6 -0
- package/dist/types/components/StatCard/index.d.ts +2 -0
- package/dist/types/components/StatCard/types.d.ts +15 -0
- package/dist/types/components/TextShimmer/TextShimmer.d.ts +6 -0
- package/dist/types/components/TextShimmer/index.d.ts +2 -0
- package/dist/types/components/TextShimmer/types.d.ts +7 -0
- package/dist/types/components/TrendBadge/TrendBadge.d.ts +6 -0
- package/dist/types/components/TrendBadge/constants.d.ts +7 -0
- package/dist/types/components/TrendBadge/index.d.ts +2 -0
- package/dist/types/components/TrendBadge/types.d.ts +15 -0
- package/dist/types/components/WidgetShell/WidgetShell.d.ts +6 -0
- package/dist/types/components/WidgetShell/index.d.ts +2 -0
- package/dist/types/components/WidgetShell/types.d.ts +20 -0
- package/dist/types/index.d.ts +34 -0
- package/package.json +2 -1
- package/src/components/Accordion/constants.ts +1 -1
- package/src/components/ActivityFeed/ActivityFeed.tsx +51 -0
- package/src/components/ActivityFeed/constants.ts +19 -0
- package/src/components/ActivityFeed/index.ts +2 -0
- package/src/components/ActivityFeed/types.ts +23 -0
- package/src/components/Alert/constants.ts +1 -1
- package/src/components/AlertDialog/constants.ts +1 -1
- package/src/components/Amount/Amount.tsx +50 -0
- package/src/components/Amount/index.ts +2 -0
- package/src/components/Amount/types.ts +20 -0
- package/src/components/AnimatedCounter/AnimatedCounter.tsx +68 -0
- package/src/components/AnimatedCounter/index.ts +2 -0
- package/src/components/AnimatedCounter/types.ts +14 -0
- package/src/components/AnimatedGroup/AnimatedGroup.tsx +97 -0
- package/src/components/AnimatedGroup/index.ts +2 -0
- package/src/components/AnimatedGroup/types.ts +21 -0
- package/src/components/AnimatedList/AnimatedList.tsx +42 -0
- package/src/components/AnimatedList/index.ts +2 -0
- package/src/components/AnimatedList/types.ts +15 -0
- package/src/components/Badge/constants.ts +1 -1
- package/src/components/Banner/constants.ts +1 -1
- package/src/components/BorderBeam/BorderBeam.tsx +41 -0
- package/src/components/BorderBeam/index.ts +2 -0
- package/src/components/BorderBeam/types.ts +14 -0
- package/src/components/Box/Box.tsx +8 -2
- package/src/components/Box/constants.ts +35 -0
- package/src/components/Button/constants.ts +66 -63
- package/src/components/CalendarHeatmap/CalendarHeatmap.tsx +141 -0
- package/src/components/CalendarHeatmap/index.ts +2 -0
- package/src/components/CalendarHeatmap/types.ts +27 -0
- package/src/components/Card/constants.ts +24 -21
- package/src/components/Carousel/constants.ts +2 -2
- package/src/components/Chart/stories/examples/AreaChart.tsx +55 -0
- package/src/components/Chart/stories/examples/BarChart.tsx +95 -0
- package/src/components/Chart/stories/examples/LineChart.tsx +111 -0
- package/src/components/Chart/stories/examples/PieChart.tsx +55 -0
- package/src/components/Chart/stories/examples/RadialChart.tsx +65 -0
- package/src/components/CircularProgress/CircularProgress.tsx +46 -0
- package/src/components/CircularProgress/constants.ts +32 -0
- package/src/components/CircularProgress/index.ts +2 -0
- package/src/components/CircularProgress/types.ts +18 -0
- package/src/components/Command/constants.ts +1 -1
- package/src/components/ComparisonBar/ComparisonBar.tsx +65 -0
- package/src/components/ComparisonBar/constants.ts +23 -0
- package/src/components/ComparisonBar/index.ts +2 -0
- package/src/components/ComparisonBar/types.ts +23 -0
- package/src/components/Confetti/Confetti.tsx +82 -0
- package/src/components/Confetti/index.ts +2 -0
- package/src/components/Confetti/types.ts +20 -0
- package/src/components/CountdownTimer/CountdownTimer.tsx +91 -0
- package/src/components/CountdownTimer/index.ts +2 -0
- package/src/components/CountdownTimer/types.ts +14 -0
- package/src/components/DataList/DataList.tsx +32 -0
- package/src/components/DataList/constants.ts +47 -0
- package/src/components/DataList/index.ts +2 -0
- package/src/components/DataList/types.ts +17 -0
- package/src/components/DatePicker/DateRangePresetPicker.tsx +122 -0
- package/src/components/DatePicker/index.ts +1 -0
- package/src/components/DatePicker/types.ts +22 -0
- package/src/components/Description/Description.tsx +67 -5
- package/src/components/Description/DescriptionGroup.tsx +39 -0
- package/src/components/Description/constants.ts +128 -0
- package/src/components/Description/index.ts +10 -0
- package/src/components/Description/types.ts +31 -3
- package/src/components/Dialog/constants.ts +2 -2
- package/src/components/Dock/constants.ts +2 -2
- package/src/components/Drawer/constants.ts +2 -2
- package/src/components/Form/Checkbox/constants.ts +1 -1
- package/src/components/Form/DatetimeInput/constants.ts +1 -1
- package/src/components/Form/Input/constants.ts +1 -1
- package/src/components/Form/MultiSelect/constants.ts +1 -1
- package/src/components/Form/NativeSelect/constants.ts +1 -1
- package/src/components/Form/Radio/constants.ts +1 -1
- package/src/components/Form/Select/constants.ts +1 -1
- package/src/components/Form/Slider/constants.ts +1 -1
- package/src/components/Form/Switch/constants.ts +1 -1
- package/src/components/Form/Textarea/constants.ts +1 -1
- package/src/components/GlowCard/GlowCard.tsx +46 -0
- package/src/components/GlowCard/index.ts +2 -0
- package/src/components/GlowCard/types.ts +9 -0
- package/src/components/GradientText/GradientText.tsx +36 -0
- package/src/components/GradientText/index.ts +2 -0
- package/src/components/GradientText/types.ts +15 -0
- package/src/components/Greeting/Greeting.tsx +46 -0
- package/src/components/Greeting/index.ts +2 -0
- package/src/components/Greeting/types.ts +10 -0
- package/src/components/IconContainer/IconContainer.tsx +44 -0
- package/src/components/IconContainer/constants.ts +112 -0
- package/src/components/IconContainer/index.ts +1 -0
- package/src/components/IconContainer/types.ts +5 -0
- package/src/components/KPICard/KPICard.tsx +75 -0
- package/src/components/KPICard/index.ts +2 -0
- package/src/components/KPICard/types.ts +18 -0
- package/src/components/Marquee/Marquee.tsx +45 -0
- package/src/components/Marquee/index.ts +2 -0
- package/src/components/Marquee/types.ts +13 -0
- package/src/components/Menu/Menubar/constants.ts +2 -2
- package/src/components/Menu/NavigationMenu/constants.ts +2 -2
- package/src/components/Meteors/Meteors.tsx +38 -0
- package/src/components/Meteors/index.ts +2 -0
- package/src/components/Meteors/types.ts +6 -0
- package/src/components/MiniAreaChart/MiniAreaChart.tsx +68 -0
- package/src/components/MiniAreaChart/index.ts +2 -0
- package/src/components/MiniAreaChart/types.ts +11 -0
- package/src/components/MiniBarChart/MiniBarChart.tsx +49 -0
- package/src/components/MiniBarChart/index.ts +2 -0
- package/src/components/MiniBarChart/types.ts +16 -0
- package/src/components/MiniDonutChart/MiniDonutChart.tsx +87 -0
- package/src/components/MiniDonutChart/index.ts +2 -0
- package/src/components/MiniDonutChart/types.ts +17 -0
- package/src/components/MiniStackedBar/MiniStackedBar.tsx +61 -0
- package/src/components/MiniStackedBar/index.ts +2 -0
- package/src/components/MiniStackedBar/types.ts +15 -0
- package/src/components/NumberTicker/NumberTicker.tsx +58 -0
- package/src/components/NumberTicker/index.ts +2 -0
- package/src/components/NumberTicker/types.ts +12 -0
- package/src/components/Pagination/constants.ts +2 -2
- package/src/components/Progress/constants.ts +1 -1
- package/src/components/Pulse/Pulse.tsx +26 -0
- package/src/components/Pulse/constants.ts +55 -0
- package/src/components/Pulse/index.ts +2 -0
- package/src/components/Pulse/types.ts +12 -0
- package/src/components/Resizable/constants.ts +1 -1
- package/src/components/Sheet/constants.ts +1 -1
- package/src/components/ShinyButton/ShinyButton.tsx +57 -0
- package/src/components/ShinyButton/index.ts +2 -0
- package/src/components/ShinyButton/types.ts +8 -0
- package/src/components/Skeleton/constants.ts +1 -1
- package/src/components/Sonner/constants.ts +1 -1
- package/src/components/Sparkline/Sparkline.tsx +108 -0
- package/src/components/Sparkline/index.ts +2 -0
- package/src/components/Sparkline/types.ts +18 -0
- package/src/components/SpotlightCard/SpotlightCard.tsx +56 -0
- package/src/components/SpotlightCard/index.ts +2 -0
- package/src/components/SpotlightCard/types.ts +8 -0
- package/src/components/Stat/constants.ts +1 -1
- package/src/components/StatCard/StatCard.tsx +59 -0
- package/src/components/StatCard/index.ts +2 -0
- package/src/components/StatCard/types.ts +16 -0
- package/src/components/Tabs/constants.ts +1 -1
- package/src/components/TextShimmer/TextShimmer.tsx +34 -0
- package/src/components/TextShimmer/index.ts +2 -0
- package/src/components/TextShimmer/types.ts +8 -0
- package/src/components/Timeline/constants.ts +1 -1
- package/src/components/Toggle/constants.ts +1 -1
- package/src/components/Tooltip/constants.ts +1 -1
- package/src/components/TrendBadge/TrendBadge.tsx +40 -0
- package/src/components/TrendBadge/constants.ts +38 -0
- package/src/components/TrendBadge/index.ts +2 -0
- package/src/components/TrendBadge/types.ts +16 -0
- package/src/components/WidgetShell/WidgetShell.tsx +101 -0
- package/src/components/WidgetShell/index.ts +2 -0
- package/src/components/WidgetShell/types.ts +22 -0
- package/src/index.ts +36 -0
- package/src/stylesheets/tailwind.css +208 -0
- package/src/utilities/getSubpaths/getSubpaths.ts +1 -2
package/src/index.ts
CHANGED
|
@@ -24,17 +24,23 @@ export * from "./components/Paragraph";
|
|
|
24
24
|
|
|
25
25
|
/** utility & atoms */
|
|
26
26
|
export * from "./components/AspectRatio";
|
|
27
|
+
export * from "./components/IconContainer";
|
|
27
28
|
export * from "./components/Image";
|
|
28
29
|
export * from "./components/Spinner";
|
|
29
30
|
|
|
30
31
|
/** data display */
|
|
31
32
|
export * from "./components/Accordion";
|
|
33
|
+
export * from "./components/ActivityFeed";
|
|
32
34
|
export * from "./components/Alert";
|
|
35
|
+
export * from "./components/Amount";
|
|
33
36
|
export * from "./components/Avatar";
|
|
34
37
|
export * from "./components/Badge";
|
|
35
38
|
export * from "./components/Card";
|
|
36
39
|
export * from "./components/Calendar";
|
|
40
|
+
export * from "./components/CircularProgress";
|
|
37
41
|
export * from "./components/Collapsible";
|
|
42
|
+
export * from "./components/CountdownTimer";
|
|
43
|
+
export * from "./components/DataList";
|
|
38
44
|
export * from "./components/Description";
|
|
39
45
|
export * from "./components/Dock";
|
|
40
46
|
export * from "./components/Indicator";
|
|
@@ -44,15 +50,21 @@ export * from "./components/List";
|
|
|
44
50
|
export * from "./components/Progress";
|
|
45
51
|
export * from "./components/Resizable";
|
|
46
52
|
export * from "./components/ScrollArea";
|
|
53
|
+
export * from "./components/ComparisonBar";
|
|
47
54
|
export * from "./components/Separator";
|
|
48
55
|
export * from "./components/Sonner";
|
|
56
|
+
export * from "./components/Sparkline";
|
|
49
57
|
export * from "./components/Stack";
|
|
50
58
|
export * from "./components/Stat";
|
|
59
|
+
export * from "./components/StatCard";
|
|
51
60
|
export * from "./components/Status";
|
|
52
61
|
export * from "./components/Table";
|
|
53
62
|
export * from "./components/Tabs";
|
|
54
63
|
export * from "./components/Text";
|
|
55
64
|
export * from "./components/Timeline";
|
|
65
|
+
export * from "./components/TrendBadge";
|
|
66
|
+
export * from "./components/CalendarHeatmap";
|
|
67
|
+
export * from "./components/Greeting";
|
|
56
68
|
|
|
57
69
|
/** data input */
|
|
58
70
|
export * from "./components/DatetimePicker";
|
|
@@ -72,9 +84,11 @@ export * from "./components/Chart";
|
|
|
72
84
|
export * from "./components/Command";
|
|
73
85
|
export * from "./components/Dialog";
|
|
74
86
|
export * from "./components/HoverCard";
|
|
87
|
+
export * from "./components/KPICard";
|
|
75
88
|
export * from "./components/Popover";
|
|
76
89
|
export * from "./components/Slot";
|
|
77
90
|
export * from "./components/Widget";
|
|
91
|
+
export * from "./components/WidgetShell";
|
|
78
92
|
|
|
79
93
|
/** molecules */
|
|
80
94
|
export * from "./components/Banner";
|
|
@@ -86,3 +100,25 @@ export * from "./components/Footer";
|
|
|
86
100
|
export * from "./components/Header";
|
|
87
101
|
export * from "./components/Panel";
|
|
88
102
|
export * from "./components/Sheet";
|
|
103
|
+
|
|
104
|
+
/** inline charts */
|
|
105
|
+
export * from "./components/MiniAreaChart";
|
|
106
|
+
export * from "./components/MiniBarChart";
|
|
107
|
+
export * from "./components/MiniDonutChart";
|
|
108
|
+
export * from "./components/MiniStackedBar";
|
|
109
|
+
|
|
110
|
+
/** effects */
|
|
111
|
+
export * from "./components/AnimatedCounter";
|
|
112
|
+
export * from "./components/AnimatedGroup";
|
|
113
|
+
export * from "./components/AnimatedList";
|
|
114
|
+
export * from "./components/BorderBeam";
|
|
115
|
+
export * from "./components/Confetti";
|
|
116
|
+
export * from "./components/GlowCard";
|
|
117
|
+
export * from "./components/GradientText";
|
|
118
|
+
export * from "./components/Marquee";
|
|
119
|
+
export * from "./components/Meteors";
|
|
120
|
+
export * from "./components/NumberTicker";
|
|
121
|
+
export * from "./components/Pulse";
|
|
122
|
+
export * from "./components/ShinyButton";
|
|
123
|
+
export * from "./components/SpotlightCard";
|
|
124
|
+
export * from "./components/TextShimmer";
|
|
@@ -151,6 +151,214 @@
|
|
|
151
151
|
opacity: 0;
|
|
152
152
|
}
|
|
153
153
|
}
|
|
154
|
+
|
|
155
|
+
/* ─── Rich animation keyframes ──────────────────── */
|
|
156
|
+
|
|
157
|
+
--animate-shimmer: shimmer 2s linear infinite;
|
|
158
|
+
--animate-pulse-soft: pulse-soft 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
|
159
|
+
--animate-float: float 3s ease-in-out infinite;
|
|
160
|
+
--animate-wiggle: wiggle 1s ease-in-out infinite;
|
|
161
|
+
--animate-shake: shake 0.5s ease-in-out;
|
|
162
|
+
--animate-bounce-in: bounce-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
|
|
163
|
+
--animate-scale-in: scale-in 0.2s ease-out;
|
|
164
|
+
--animate-scale-out: scale-out 0.2s ease-in;
|
|
165
|
+
--animate-slide-up-fade: slide-up-fade 0.4s cubic-bezier(0.16, 1, 0.3, 1);
|
|
166
|
+
--animate-slide-down-fade: slide-down-fade 0.4s cubic-bezier(0.16, 1, 0.3, 1);
|
|
167
|
+
--animate-slide-left-fade: slide-left-fade 0.4s cubic-bezier(0.16, 1, 0.3, 1);
|
|
168
|
+
--animate-slide-right-fade: slide-right-fade 0.4s cubic-bezier(0.16, 1, 0.3, 1);
|
|
169
|
+
--animate-spotlight: spotlight 2s ease 0.75s 1 forwards;
|
|
170
|
+
--animate-gradient: gradient 8s linear infinite;
|
|
171
|
+
--animate-text-gradient: text-gradient 4s linear infinite;
|
|
172
|
+
--animate-border-beam: border-beam 4s linear infinite;
|
|
173
|
+
--animate-meteor: meteor 5s linear infinite;
|
|
174
|
+
--animate-marquee: marquee var(--tw-duration, 40s) linear infinite;
|
|
175
|
+
|
|
176
|
+
@keyframes shimmer {
|
|
177
|
+
0% {
|
|
178
|
+
background-position: -200% 0;
|
|
179
|
+
}
|
|
180
|
+
100% {
|
|
181
|
+
background-position: 200% 0;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
@keyframes pulse-soft {
|
|
186
|
+
0%, 100% {
|
|
187
|
+
opacity: 1;
|
|
188
|
+
}
|
|
189
|
+
50% {
|
|
190
|
+
opacity: 0.7;
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
@keyframes float {
|
|
195
|
+
0%, 100% {
|
|
196
|
+
transform: translateY(0);
|
|
197
|
+
}
|
|
198
|
+
50% {
|
|
199
|
+
transform: translateY(-10px);
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
@keyframes wiggle {
|
|
204
|
+
0%, 100% {
|
|
205
|
+
transform: rotate(-3deg);
|
|
206
|
+
}
|
|
207
|
+
50% {
|
|
208
|
+
transform: rotate(3deg);
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
@keyframes shake {
|
|
213
|
+
10%, 90% { transform: translateX(-1px); }
|
|
214
|
+
20%, 80% { transform: translateX(2px); }
|
|
215
|
+
30%, 50%, 70% { transform: translateX(-4px); }
|
|
216
|
+
40%, 60% { transform: translateX(4px); }
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
@keyframes bounce-in {
|
|
220
|
+
0% {
|
|
221
|
+
opacity: 0;
|
|
222
|
+
transform: scale(0.3);
|
|
223
|
+
}
|
|
224
|
+
50% {
|
|
225
|
+
transform: scale(1.05);
|
|
226
|
+
}
|
|
227
|
+
70% {
|
|
228
|
+
transform: scale(0.9);
|
|
229
|
+
}
|
|
230
|
+
100% {
|
|
231
|
+
opacity: 1;
|
|
232
|
+
transform: scale(1);
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
@keyframes scale-in {
|
|
237
|
+
0% {
|
|
238
|
+
opacity: 0;
|
|
239
|
+
transform: scale(0.95);
|
|
240
|
+
}
|
|
241
|
+
100% {
|
|
242
|
+
opacity: 1;
|
|
243
|
+
transform: scale(1);
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
@keyframes scale-out {
|
|
248
|
+
0% {
|
|
249
|
+
opacity: 1;
|
|
250
|
+
transform: scale(1);
|
|
251
|
+
}
|
|
252
|
+
100% {
|
|
253
|
+
opacity: 0;
|
|
254
|
+
transform: scale(0.95);
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
@keyframes slide-up-fade {
|
|
259
|
+
0% {
|
|
260
|
+
opacity: 0;
|
|
261
|
+
transform: translateY(8px);
|
|
262
|
+
}
|
|
263
|
+
100% {
|
|
264
|
+
opacity: 1;
|
|
265
|
+
transform: translateY(0);
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
@keyframes slide-down-fade {
|
|
270
|
+
0% {
|
|
271
|
+
opacity: 0;
|
|
272
|
+
transform: translateY(-8px);
|
|
273
|
+
}
|
|
274
|
+
100% {
|
|
275
|
+
opacity: 1;
|
|
276
|
+
transform: translateY(0);
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
@keyframes slide-left-fade {
|
|
281
|
+
0% {
|
|
282
|
+
opacity: 0;
|
|
283
|
+
transform: translateX(8px);
|
|
284
|
+
}
|
|
285
|
+
100% {
|
|
286
|
+
opacity: 1;
|
|
287
|
+
transform: translateX(0);
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
@keyframes slide-right-fade {
|
|
292
|
+
0% {
|
|
293
|
+
opacity: 0;
|
|
294
|
+
transform: translateX(-8px);
|
|
295
|
+
}
|
|
296
|
+
100% {
|
|
297
|
+
opacity: 1;
|
|
298
|
+
transform: translateX(0);
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
@keyframes spotlight {
|
|
303
|
+
0% {
|
|
304
|
+
opacity: 0;
|
|
305
|
+
transform: translate(-72%, -62%) scale(0.5);
|
|
306
|
+
}
|
|
307
|
+
100% {
|
|
308
|
+
opacity: 1;
|
|
309
|
+
transform: translate(-50%, -40%) scale(1);
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
@keyframes gradient {
|
|
314
|
+
0% {
|
|
315
|
+
background-position: 0% 50%;
|
|
316
|
+
}
|
|
317
|
+
50% {
|
|
318
|
+
background-position: 100% 50%;
|
|
319
|
+
}
|
|
320
|
+
100% {
|
|
321
|
+
background-position: 0% 50%;
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
@keyframes text-gradient {
|
|
326
|
+
to {
|
|
327
|
+
background-position: 200% center;
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
@keyframes border-beam {
|
|
332
|
+
0% {
|
|
333
|
+
offset-distance: 0%;
|
|
334
|
+
}
|
|
335
|
+
100% {
|
|
336
|
+
offset-distance: 100%;
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
@keyframes marquee {
|
|
341
|
+
from {
|
|
342
|
+
transform: translateX(0);
|
|
343
|
+
}
|
|
344
|
+
to {
|
|
345
|
+
transform: translateX(calc(-100% - var(--gap, 16px)));
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
@keyframes meteor {
|
|
350
|
+
0% {
|
|
351
|
+
transform: rotate(215deg) translateX(0);
|
|
352
|
+
opacity: 1;
|
|
353
|
+
}
|
|
354
|
+
70% {
|
|
355
|
+
opacity: 1;
|
|
356
|
+
}
|
|
357
|
+
100% {
|
|
358
|
+
transform: rotate(215deg) translateX(-500px);
|
|
359
|
+
opacity: 0;
|
|
360
|
+
}
|
|
361
|
+
}
|
|
154
362
|
}
|
|
155
363
|
|
|
156
364
|
/* Utility classes */
|
|
@@ -6,8 +6,7 @@ const createPathObject = (
|
|
|
6
6
|
pathLabels?: Record<string, string>
|
|
7
7
|
) => ({
|
|
8
8
|
href: { pathname },
|
|
9
|
-
|
|
10
|
-
label: pathLabels?.[pathname] || segment, // always fallback to segment if label does not exist
|
|
9
|
+
label: pathLabels?.[pathname] || segment,
|
|
11
10
|
});
|
|
12
11
|
|
|
13
12
|
export const getSubpaths = (
|