Skip to content
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

feat(stepper): new stepper component #318

Open
wants to merge 109 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
109 commits
Select commit Hold shift + click to select a range
8d9d86e
feat(stepper): add component with docs
damianricobelli May 8, 2023
0a49584
Merge branch 'main' into feat/stepper
damianricobelli May 8, 2023
942f959
Merge branch 'main' into feat/stepper
damianricobelli May 9, 2023
e0767d0
Merge branch 'main' into feat/stepper
damianricobelli May 9, 2023
9d920d3
Merge branch 'main' into feat/stepper
damianricobelli May 10, 2023
3820faa
refactor(stepper): update component names
damianricobelli May 10, 2023
90d538f
Merge branch 'main' into feat/stepper
damianricobelli May 14, 2023
f9449b6
Merge branch 'main' into feat/stepper
damianricobelli May 30, 2023
4dda819
feat(stepper): add component with docs
damianricobelli May 8, 2023
654f0f4
refactor(stepper): update component names
damianricobelli May 10, 2023
fe8d02e
Merge branch 'feat/stepper' of https://github.com/damianricobelli/ui …
damianricobelli Jul 4, 2023
8d6d6b0
Merge branch 'main' into feat/stepper
damianricobelli Jul 4, 2023
0297f06
style(stepper): update default size
damianricobelli Jul 4, 2023
a29903f
Merge branch 'main' into feat/stepper
damianricobelli Jul 9, 2023
4d43cb1
Merge branch 'main' into feat/stepper
damianricobelli Jul 13, 2023
b622870
Merge branch 'main' into feat/stepper
shadcn Jul 27, 2023
f317fc0
Merge branch 'main' into feat/stepper
damianricobelli Aug 2, 2023
694f443
Merge branch 'main' into feat/stepper
damianricobelli Aug 5, 2023
f26fd65
fix: add aspect square and classname props
damianricobelli Aug 18, 2023
68855d8
Merge branch 'main' into feat/stepper
damianricobelli Aug 18, 2023
5b4c0d2
Merge branch 'main' into feat/stepper
shadcn Aug 25, 2023
7dbf7c5
Merge branch 'main' into feat/stepper
damianricobelli Oct 27, 2023
490db6b
Merge branch 'main' into feat/stepper
shadcn Nov 12, 2023
3da551f
Merge branch 'main' into feat/stepper
damianricobelli Dec 12, 2023
21b26a0
chore: rename components
damianricobelli Dec 18, 2023
bc0050e
chore: add use stepper to manual docs and update components
damianricobelli Dec 18, 2023
38eee78
Merge branch 'main' into feat/stepper
damianricobelli Dec 23, 2023
2ab9354
refactor: wip
damianricobelli Dec 24, 2023
1c00a86
Merge branch 'main' into feat/stepper
damianricobelli Dec 24, 2023
109e238
Merge branch 'main' into feat/stepper
damianricobelli Jan 2, 2024
ac80464
refactor: wip structure
damianricobelli Jan 2, 2024
c72d6d1
Merge branch 'main' into feat/stepper
damianricobelli Jan 8, 2024
fc96e31
feat: improve DX and add smooth scroll in horizontal orientation
damianricobelli Jan 8, 2024
fe16bc7
feat: improve DX, update docs and add scroll tracking
damianricobelli Jan 14, 2024
5f514a2
chore: update registry
damianricobelli Jan 14, 2024
bb520a5
Merge branch 'main' into feat/stepper
damianricobelli Jan 14, 2024
0b5e401
Merge branch 'main' into feat/stepper
damianricobelli Jan 14, 2024
a478335
Merge branch 'main' into feat/stepper
damianricobelli Jan 17, 2024
9f1a2ef
chore: remove unused files
damianricobelli Jan 17, 2024
4b01224
chore: update docs
damianricobelli Jan 17, 2024
fc7f593
Merge branch 'main' into feat/stepper
damianricobelli Jan 18, 2024
f54a4a6
docs: add stepper with form example
damianricobelli Jan 22, 2024
d5fbccb
Merge branch 'feat/stepper' of https://github.com/damianricobelli/ui …
damianricobelli Jan 22, 2024
61bc794
Merge branch 'main' into feat/stepper
damianricobelli Jan 29, 2024
655b44f
fix: avoid using the index as a key
damianricobelli Jan 30, 2024
0ec495f
Merge branch 'main' into feat/stepper
damianricobelli Feb 5, 2024
69e3aac
Merge branch 'main' into feat/stepper
damianricobelli Mar 5, 2024
f692c36
Merge branch 'main' into feat/stepper
damianricobelli Mar 7, 2024
1c13d4f
Merge branch 'main' into feat/stepper
damianricobelli Mar 7, 2024
99c9e6d
Merge branch 'main' into feat/stepper
damianricobelli Mar 10, 2024
e0a3279
Merge branch 'main' into feat/stepper
damianricobelli Mar 12, 2024
2571209
Merge branch 'main' into feat/stepper
damianricobelli Mar 19, 2024
ae61132
feat: new logic, animations and variants
damianricobelli Mar 22, 2024
80683bf
Merge branch 'main' into feat/stepper
damianricobelli Mar 22, 2024
277403b
chore: update registry with new format
damianricobelli Mar 22, 2024
a8d08d2
chore: add sizes example
damianricobelli Mar 22, 2024
f082202
chore: update prop name
damianricobelli Mar 22, 2024
5fcf8be
chore: add api docs
damianricobelli Mar 22, 2024
535235d
chore: add data attr docs
damianricobelli Mar 23, 2024
07c5e81
chore: update data attr docs
damianricobelli Mar 23, 2024
c1fe7c7
Merge branch 'main' into feat/stepper
damianricobelli Mar 24, 2024
2a137fb
chore: improve API
damianricobelli Mar 25, 2024
05d26ff
Merge branch 'main' into feat/stepper
damianricobelli Mar 25, 2024
e2d5312
feat: add props table component
damianricobelli Mar 25, 2024
a1023bc
feat: add props table component
damianricobelli Mar 25, 2024
1be54af
chore: update hook docs
damianricobelli Mar 25, 2024
e9d8734
chore: update clickable example
damianricobelli Mar 25, 2024
3ebe513
Merge branch 'main' into feat/stepper
damianricobelli Mar 26, 2024
7e72cd8
Merge branch 'main' into feat/stepper
damianricobelli Mar 26, 2024
30c045f
chore: remove unnecessary optional
damianricobelli Mar 27, 2024
2ed9fdd
chore: convert to boolean the value of isOptionalStep
damianricobelli Mar 27, 2024
1ed990c
Merge branch 'main' into feat/stepper
damianricobelli Mar 28, 2024
fc77b63
fix: tailwind classes order
damianricobelli Mar 31, 2024
908e685
chore: add use client
damianricobelli Mar 31, 2024
b20545b
chore: update registry
damianricobelli Mar 31, 2024
e8eaa84
chore: remove render horizontal function
damianricobelli Mar 31, 2024
cee4e37
chore: update registry
damianricobelli Apr 2, 2024
04c66dc
chore: improve examples and add css variables prop
damianricobelli Apr 4, 2024
a15c4a2
fix: props table colors
damianricobelli Apr 4, 2024
8082a52
chore: add setter parameter
damianricobelli Apr 4, 2024
9fda2a8
Merge branch 'main' into feat/stepper
damianricobelli Apr 5, 2024
a308248
fix: pass styles to the provider
damianricobelli Apr 7, 2024
d659b21
chore: add custom styles docs
damianricobelli Apr 7, 2024
1586f55
Merge branch 'main' into feat/stepper
damianricobelli Apr 9, 2024
5750317
Merge branch 'main' into feat/stepper
damianricobelli Apr 9, 2024
a2d4c91
fix: last step spaces
damianricobelli Apr 10, 2024
623faf6
chore: update docs
damianricobelli Apr 10, 2024
f784d76
Merge branch 'feat/stepper' of https://github.com/damianricobelli/ui …
damianricobelli Apr 10, 2024
1bdf45e
chore: update font weight
damianricobelli Apr 10, 2024
9a33e34
chore: update blue color to primary color
damianricobelli Apr 14, 2024
773c9dc
fix: destructive text color
damianricobelli Apr 14, 2024
4d37297
Merge branch 'main' into feat/stepper
shadcn Apr 17, 2024
26e7be5
Merge branch 'main' into feat/stepper
damianricobelli Apr 17, 2024
60a5e22
Merge branch 'main' into feat/stepper
damianricobelli Apr 18, 2024
820b231
fix: scroll tracking
damianricobelli Apr 19, 2024
20f3279
docs: add scroll tracking example
damianricobelli Apr 19, 2024
1df1389
Merge branch 'main' into feat/stepper
damianricobelli Apr 23, 2024
4978933
fix: tab index
damianricobelli Apr 24, 2024
09458a3
Merge branch 'main' into feat/stepper
damianricobelli May 15, 2024
8fe9c9b
Merge branch 'main' into feat/stepper
damianricobelli Jun 3, 2024
d90f67e
Merge branch 'main' into feat/stepper
damianricobelli Jun 4, 2024
1c500eb
Merge branch 'main' into feat/stepper
damianricobelli Jul 7, 2024
7ee251e
Merge branch 'main' into feat/stepper
damianricobelli Jul 16, 2024
c4f01c3
Merge branch 'main' into feat/stepper
damianricobelli Jul 16, 2024
2706a0c
Merge branch 'main' into feat/stepper
damianricobelli Jul 17, 2024
1db0157
Merge branch 'main' into feat/stepper
damianricobelli Jul 25, 2024
e035a72
Merge branch 'main' into feat/stepper
damianricobelli Aug 6, 2024
1072248
Merge branch 'main' into feat/stepper
damianricobelli Aug 7, 2024
f8a0b2e
Merge branch 'main' into feat/stepper
damianricobelli Aug 23, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,6 @@ yarn-error.log*
.turbo

.contentlayer
tsconfig.tsbuildinfo
tsconfig.tsbuildinfo

.pnpm-store
308 changes: 308 additions & 0 deletions apps/www/__registry__/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,17 @@ export const Index: Record<string, any> = {
subcategory: "undefined",
chunks: []
},
"stepper": {
name: "stepper",
type: "components:ui",
registryDependencies: undefined,
component: React.lazy(() => import("@/registry/default/ui/stepper")),
source: "",
files: ["registry/default/ui/stepper.tsx"],
category: "undefined",
subcategory: "undefined",
chunks: []
},
"switch": {
name: "switch",
type: "components:ui",
Expand Down Expand Up @@ -1600,6 +1611,149 @@ export const Index: Record<string, any> = {
subcategory: "undefined",
chunks: []
},
"stepper-demo": {
name: "stepper-demo",
type: "components:example",
registryDependencies: ["stepper"],
component: React.lazy(() => import("@/registry/default/example/stepper-demo")),
source: "",
files: ["registry/default/example/stepper-demo.tsx"],
category: "undefined",
subcategory: "undefined",
chunks: []
},
"stepper-custom-styles": {
name: "stepper-custom-styles",
type: "components:example",
registryDependencies: ["stepper"],
component: React.lazy(() => import("@/registry/default/example/stepper-custom-styles")),
source: "",
files: ["registry/default/example/stepper-custom-styles.tsx"],
category: "undefined",
subcategory: "undefined",
chunks: []
},
"stepper-orientation": {
name: "stepper-orientation",
type: "components:example",
registryDependencies: ["stepper"],
component: React.lazy(() => import("@/registry/default/example/stepper-orientation")),
source: "",
files: ["registry/default/example/stepper-orientation.tsx"],
category: "undefined",
subcategory: "undefined",
chunks: []
},
"stepper-description": {
name: "stepper-description",
type: "components:example",
registryDependencies: ["stepper"],
component: React.lazy(() => import("@/registry/default/example/stepper-description")),
source: "",
files: ["registry/default/example/stepper-description.tsx"],
category: "undefined",
subcategory: "undefined",
chunks: []
},
"stepper-sizes": {
name: "stepper-sizes",
type: "components:example",
registryDependencies: ["stepper"],
component: React.lazy(() => import("@/registry/default/example/stepper-sizes")),
source: "",
files: ["registry/default/example/stepper-sizes.tsx"],
category: "undefined",
subcategory: "undefined",
chunks: []
},
"stepper-form": {
name: "stepper-form",
type: "components:example",
registryDependencies: ["stepper"],
component: React.lazy(() => import("@/registry/default/example/stepper-form")),
source: "",
files: ["registry/default/example/stepper-form.tsx"],
category: "undefined",
subcategory: "undefined",
chunks: []
},
"stepper-variants": {
name: "stepper-variants",
type: "components:example",
registryDependencies: ["stepper"],
component: React.lazy(() => import("@/registry/default/example/stepper-variants")),
source: "",
files: ["registry/default/example/stepper-variants.tsx"],
category: "undefined",
subcategory: "undefined",
chunks: []
},
"stepper-custom-icons": {
name: "stepper-custom-icons",
type: "components:example",
registryDependencies: ["stepper"],
component: React.lazy(() => import("@/registry/default/example/stepper-custom-icons")),
source: "",
files: ["registry/default/example/stepper-custom-icons.tsx"],
category: "undefined",
subcategory: "undefined",
chunks: []
},
"stepper-footer-inside": {
name: "stepper-footer-inside",
type: "components:example",
registryDependencies: ["stepper"],
component: React.lazy(() => import("@/registry/default/example/stepper-footer-inside")),
source: "",
files: ["registry/default/example/stepper-footer-inside.tsx"],
category: "undefined",
subcategory: "undefined",
chunks: []
},
"stepper-scroll-tracking": {
name: "stepper-scroll-tracking",
type: "components:example",
registryDependencies: ["stepper"],
component: React.lazy(() => import("@/registry/default/example/stepper-scroll-tracking")),
source: "",
files: ["registry/default/example/stepper-scroll-tracking.tsx"],
category: "undefined",
subcategory: "undefined",
chunks: []
},
"stepper-clickable-steps": {
name: "stepper-clickable-steps",
type: "components:example",
registryDependencies: ["stepper"],
component: React.lazy(() => import("@/registry/default/example/stepper-clickable-steps")),
source: "",
files: ["registry/default/example/stepper-clickable-steps.tsx"],
category: "undefined",
subcategory: "undefined",
chunks: []
},
"stepper-optional-steps": {
name: "stepper-optional-steps",
type: "components:example",
registryDependencies: ["stepper"],
component: React.lazy(() => import("@/registry/default/example/stepper-optional-steps")),
source: "",
files: ["registry/default/example/stepper-optional-steps.tsx"],
category: "undefined",
subcategory: "undefined",
chunks: []
},
"stepper-state": {
name: "stepper-state",
type: "components:example",
registryDependencies: ["stepper"],
component: React.lazy(() => import("@/registry/default/example/stepper-state")),
source: "",
files: ["registry/default/example/stepper-state.tsx"],
category: "undefined",
subcategory: "undefined",
chunks: []
},
"switch-demo": {
name: "switch-demo",
type: "components:example",
Expand Down Expand Up @@ -3735,6 +3889,17 @@ export const Index: Record<string, any> = {
subcategory: "undefined",
chunks: []
},
"stepper": {
name: "stepper",
type: "components:ui",
registryDependencies: undefined,
component: React.lazy(() => import("@/registry/new-york/ui/stepper")),
source: "",
files: ["registry/new-york/ui/stepper.tsx"],
category: "undefined",
subcategory: "undefined",
chunks: []
},
"switch": {
name: "switch",
type: "components:ui",
Expand Down Expand Up @@ -4912,6 +5077,149 @@ export const Index: Record<string, any> = {
subcategory: "undefined",
chunks: []
},
"stepper-demo": {
name: "stepper-demo",
type: "components:example",
registryDependencies: ["stepper"],
component: React.lazy(() => import("@/registry/new-york/example/stepper-demo")),
source: "",
files: ["registry/new-york/example/stepper-demo.tsx"],
category: "undefined",
subcategory: "undefined",
chunks: []
},
"stepper-custom-styles": {
name: "stepper-custom-styles",
type: "components:example",
registryDependencies: ["stepper"],
component: React.lazy(() => import("@/registry/new-york/example/stepper-custom-styles")),
source: "",
files: ["registry/new-york/example/stepper-custom-styles.tsx"],
category: "undefined",
subcategory: "undefined",
chunks: []
},
"stepper-orientation": {
name: "stepper-orientation",
type: "components:example",
registryDependencies: ["stepper"],
component: React.lazy(() => import("@/registry/new-york/example/stepper-orientation")),
source: "",
files: ["registry/new-york/example/stepper-orientation.tsx"],
category: "undefined",
subcategory: "undefined",
chunks: []
},
"stepper-description": {
name: "stepper-description",
type: "components:example",
registryDependencies: ["stepper"],
component: React.lazy(() => import("@/registry/new-york/example/stepper-description")),
source: "",
files: ["registry/new-york/example/stepper-description.tsx"],
category: "undefined",
subcategory: "undefined",
chunks: []
},
"stepper-sizes": {
name: "stepper-sizes",
type: "components:example",
registryDependencies: ["stepper"],
component: React.lazy(() => import("@/registry/new-york/example/stepper-sizes")),
source: "",
files: ["registry/new-york/example/stepper-sizes.tsx"],
category: "undefined",
subcategory: "undefined",
chunks: []
},
"stepper-form": {
name: "stepper-form",
type: "components:example",
registryDependencies: ["stepper"],
component: React.lazy(() => import("@/registry/new-york/example/stepper-form")),
source: "",
files: ["registry/new-york/example/stepper-form.tsx"],
category: "undefined",
subcategory: "undefined",
chunks: []
},
"stepper-variants": {
name: "stepper-variants",
type: "components:example",
registryDependencies: ["stepper"],
component: React.lazy(() => import("@/registry/new-york/example/stepper-variants")),
source: "",
files: ["registry/new-york/example/stepper-variants.tsx"],
category: "undefined",
subcategory: "undefined",
chunks: []
},
"stepper-custom-icons": {
name: "stepper-custom-icons",
type: "components:example",
registryDependencies: ["stepper"],
component: React.lazy(() => import("@/registry/new-york/example/stepper-custom-icons")),
source: "",
files: ["registry/new-york/example/stepper-custom-icons.tsx"],
category: "undefined",
subcategory: "undefined",
chunks: []
},
"stepper-footer-inside": {
name: "stepper-footer-inside",
type: "components:example",
registryDependencies: ["stepper"],
component: React.lazy(() => import("@/registry/new-york/example/stepper-footer-inside")),
source: "",
files: ["registry/new-york/example/stepper-footer-inside.tsx"],
category: "undefined",
subcategory: "undefined",
chunks: []
},
"stepper-scroll-tracking": {
name: "stepper-scroll-tracking",
type: "components:example",
registryDependencies: ["stepper"],
component: React.lazy(() => import("@/registry/new-york/example/stepper-scroll-tracking")),
source: "",
files: ["registry/new-york/example/stepper-scroll-tracking.tsx"],
category: "undefined",
subcategory: "undefined",
chunks: []
},
"stepper-clickable-steps": {
name: "stepper-clickable-steps",
type: "components:example",
registryDependencies: ["stepper"],
component: React.lazy(() => import("@/registry/new-york/example/stepper-clickable-steps")),
source: "",
files: ["registry/new-york/example/stepper-clickable-steps.tsx"],
category: "undefined",
subcategory: "undefined",
chunks: []
},
"stepper-optional-steps": {
name: "stepper-optional-steps",
type: "components:example",
registryDependencies: ["stepper"],
component: React.lazy(() => import("@/registry/new-york/example/stepper-optional-steps")),
source: "",
files: ["registry/new-york/example/stepper-optional-steps.tsx"],
category: "undefined",
subcategory: "undefined",
chunks: []
},
"stepper-state": {
name: "stepper-state",
type: "components:example",
registryDependencies: ["stepper"],
component: React.lazy(() => import("@/registry/new-york/example/stepper-state")),
source: "",
files: ["registry/new-york/example/stepper-state.tsx"],
category: "undefined",
subcategory: "undefined",
chunks: []
},
"switch-demo": {
name: "switch-demo",
type: "components:example",
Expand Down
2 changes: 2 additions & 0 deletions apps/www/components/mdx-components.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import { ComponentPreview } from "@/components/component-preview"
import { ComponentSource } from "@/components/component-source"
import { CopyButton, CopyNpmCommandButton } from "@/components/copy-button"
import { FrameworkDocs } from "@/components/framework-docs"
import { PropsTable } from "@/components/props-table"
import { StyleWrapper } from "@/components/style-wrapper"
import {
Accordion,
Expand Down Expand Up @@ -231,6 +232,7 @@ const components = {
),
Image,
Callout,
PropsTable,
ComponentPreview,
ComponentExample,
ComponentSource,
Expand Down
Loading