-
-
Notifications
You must be signed in to change notification settings - Fork 47
feat: add CounterLoading component with demo and documentation #127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,2 @@ | ||
| NODE_ENV=developmnet | ||
| NODE_ENV=developmnet | ||
| ANALYZE=false | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -25,17 +25,13 @@ export const componentsPreviewRegistry: Record< | |
| ), | ||
| }, | ||
| "animated-pricing": { | ||
| component: dynamic(() => | ||
| import("@/components/nurui/animated-pricing-demo").then( | ||
| (mod) => mod.AnimatedPricingDemo, | ||
| ), | ||
| component: dynamic( | ||
| () => import("@/components/nurui/animated-pricing-demo"), | ||
| ), | ||
| }, | ||
| "creative-pricing": { | ||
| component: dynamic(() => | ||
| import("@/components/nurui/creative-pricing-demo").then( | ||
| (mod) => mod.CreativePricingDemo, | ||
| ), | ||
| component: dynamic( | ||
| () => import("@/components/nurui/creative-pricing-demo"), | ||
| ), | ||
| }, | ||
| "grid-feature": { | ||
|
|
@@ -56,18 +52,10 @@ export const componentsPreviewRegistry: Record< | |
| ), | ||
| }, | ||
| "following-eye": { | ||
| component: dynamic(() => | ||
| import("@/components/nurui/following-eye-demo").then( | ||
| (mod) => mod.FollowingEyeDemo, | ||
| ), | ||
| ), | ||
| component: dynamic(() => import("@/components/nurui/following-eye-demo")), | ||
| }, | ||
| "animated-list": { | ||
| component: dynamic(() => | ||
| import("@/components/nurui/animated-list-demo").then( | ||
| (mod) => mod.AnimatedListDemo, | ||
| ), | ||
| ), | ||
| component: dynamic(() => import("@/components/nurui/animated-list-demo")), | ||
| }, | ||
| banner: { | ||
| component: dynamic(() => import("@/components/nurui/banner-demo")), | ||
|
|
@@ -144,22 +132,18 @@ export const componentsPreviewRegistry: Record< | |
| ), | ||
| ), | ||
| }, | ||
| "play-button": { | ||
|
|
||
| "play-button": { | ||
| component: dynamic(() => import("@/components/nurui/play-button-demo")), | ||
| }, | ||
| "copy-button": { | ||
| component: dynamic(() => import("@/components/nurui/copy-button-demo")), | ||
| }, | ||
| // loaders | ||
|
|
||
| "ripple-loader": { | ||
| // loaders | ||
| "ripple-loader": { | ||
| component: dynamic(() => import("@/components/nurui/ripple-loader-demo")), | ||
| }, | ||
| "counter-loading": { | ||
| component: dynamic(() => import("@/components/nurui/counter-loading-demo")), | ||
| "counter-loader": { | ||
| component: dynamic(() => import("@/components/nurui/counter-loader-demo")), | ||
| }, | ||
|
Comment on lines
+140
to
146
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🛠️ Refactor suggestion | 🟠 Major 🧩 Analysis chainNew loader entries look good; confirm slug consistency The new "counter-loader" preview entry aligns with the rename. LGTM. Please also ensure no stale "counter-loading" references remain in routes/docs. 🏁 Script executed: #!/bin/bash
# Find any lingering "counter-loading" references
rg -nP 'counter-loading'Length of output: 1359 Update stale “counter-loading” references in registry and docs
🤖 Prompt for AI Agents |
||
|
|
||
|
|
||
| // cards | ||
| "playing-card": { | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix the typo in NODE_ENV value.
The value "developmnet" contains a typo and should be "development". This error will propagate to developers who copy this example file.
Apply this diff:
📝 Committable suggestion
🤖 Prompt for AI Agents