From e756524134b690d6b5569664f908093d9a3a1f88 Mon Sep 17 00:00:00 2001 From: Eduard Predescu Date: Sun, 21 Jul 2024 18:39:04 +0300 Subject: [PATCH] feat(Stepper): implement stepper component --- .../registry/default/example/StepperDemo.vue | 55 +++++++++++++++++++ .../registry/default/ui/stepper/Stepper.vue | 30 ++++++++++ .../default/ui/stepper/StepperDescription.vue | 23 ++++++++ .../default/ui/stepper/StepperIndicator.vue | 35 ++++++++++++ .../default/ui/stepper/StepperItem.vue | 26 +++++++++ .../default/ui/stepper/StepperSeparator.vue | 31 +++++++++++ .../default/ui/stepper/StepperTitle.vue | 23 ++++++++ .../default/ui/stepper/StepperTrigger.vue | 26 +++++++++ .../lib/registry/default/ui/stepper/index.ts | 7 +++ .../registry/new-york/example/StepperDemo.vue | 55 +++++++++++++++++++ .../registry/new-york/ui/stepper/Stepper.vue | 30 ++++++++++ .../ui/stepper/StepperDescription.vue | 23 ++++++++ .../new-york/ui/stepper/StepperIndicator.vue | 35 ++++++++++++ .../new-york/ui/stepper/StepperItem.vue | 26 +++++++++ .../new-york/ui/stepper/StepperSeparator.vue | 31 +++++++++++ .../new-york/ui/stepper/StepperTitle.vue | 23 ++++++++ .../new-york/ui/stepper/StepperTrigger.vue | 26 +++++++++ .../lib/registry/new-york/ui/stepper/index.ts | 7 +++ 18 files changed, 512 insertions(+) create mode 100644 apps/www/src/lib/registry/default/example/StepperDemo.vue create mode 100644 apps/www/src/lib/registry/default/ui/stepper/Stepper.vue create mode 100644 apps/www/src/lib/registry/default/ui/stepper/StepperDescription.vue create mode 100644 apps/www/src/lib/registry/default/ui/stepper/StepperIndicator.vue create mode 100644 apps/www/src/lib/registry/default/ui/stepper/StepperItem.vue create mode 100644 apps/www/src/lib/registry/default/ui/stepper/StepperSeparator.vue create mode 100644 apps/www/src/lib/registry/default/ui/stepper/StepperTitle.vue create mode 100644 apps/www/src/lib/registry/default/ui/stepper/StepperTrigger.vue create mode 100644 apps/www/src/lib/registry/default/ui/stepper/index.ts create mode 100644 apps/www/src/lib/registry/new-york/example/StepperDemo.vue create mode 100644 apps/www/src/lib/registry/new-york/ui/stepper/Stepper.vue create mode 100644 apps/www/src/lib/registry/new-york/ui/stepper/StepperDescription.vue create mode 100644 apps/www/src/lib/registry/new-york/ui/stepper/StepperIndicator.vue create mode 100644 apps/www/src/lib/registry/new-york/ui/stepper/StepperItem.vue create mode 100644 apps/www/src/lib/registry/new-york/ui/stepper/StepperSeparator.vue create mode 100644 apps/www/src/lib/registry/new-york/ui/stepper/StepperTitle.vue create mode 100644 apps/www/src/lib/registry/new-york/ui/stepper/StepperTrigger.vue create mode 100644 apps/www/src/lib/registry/new-york/ui/stepper/index.ts diff --git a/apps/www/src/lib/registry/default/example/StepperDemo.vue b/apps/www/src/lib/registry/default/example/StepperDemo.vue new file mode 100644 index 00000000..fcfb2116 --- /dev/null +++ b/apps/www/src/lib/registry/default/example/StepperDemo.vue @@ -0,0 +1,55 @@ + + + diff --git a/apps/www/src/lib/registry/default/ui/stepper/Stepper.vue b/apps/www/src/lib/registry/default/ui/stepper/Stepper.vue new file mode 100644 index 00000000..6287623a --- /dev/null +++ b/apps/www/src/lib/registry/default/ui/stepper/Stepper.vue @@ -0,0 +1,30 @@ + + + diff --git a/apps/www/src/lib/registry/default/ui/stepper/StepperDescription.vue b/apps/www/src/lib/registry/default/ui/stepper/StepperDescription.vue new file mode 100644 index 00000000..af9133eb --- /dev/null +++ b/apps/www/src/lib/registry/default/ui/stepper/StepperDescription.vue @@ -0,0 +1,23 @@ + + + diff --git a/apps/www/src/lib/registry/default/ui/stepper/StepperIndicator.vue b/apps/www/src/lib/registry/default/ui/stepper/StepperIndicator.vue new file mode 100644 index 00000000..d7ca7e5f --- /dev/null +++ b/apps/www/src/lib/registry/default/ui/stepper/StepperIndicator.vue @@ -0,0 +1,35 @@ + + + diff --git a/apps/www/src/lib/registry/default/ui/stepper/StepperItem.vue b/apps/www/src/lib/registry/default/ui/stepper/StepperItem.vue new file mode 100644 index 00000000..aebdb294 --- /dev/null +++ b/apps/www/src/lib/registry/default/ui/stepper/StepperItem.vue @@ -0,0 +1,26 @@ + + + diff --git a/apps/www/src/lib/registry/default/ui/stepper/StepperSeparator.vue b/apps/www/src/lib/registry/default/ui/stepper/StepperSeparator.vue new file mode 100644 index 00000000..6246b026 --- /dev/null +++ b/apps/www/src/lib/registry/default/ui/stepper/StepperSeparator.vue @@ -0,0 +1,31 @@ + + + diff --git a/apps/www/src/lib/registry/default/ui/stepper/StepperTitle.vue b/apps/www/src/lib/registry/default/ui/stepper/StepperTitle.vue new file mode 100644 index 00000000..5ba5f7e1 --- /dev/null +++ b/apps/www/src/lib/registry/default/ui/stepper/StepperTitle.vue @@ -0,0 +1,23 @@ + + + diff --git a/apps/www/src/lib/registry/default/ui/stepper/StepperTrigger.vue b/apps/www/src/lib/registry/default/ui/stepper/StepperTrigger.vue new file mode 100644 index 00000000..46f920b5 --- /dev/null +++ b/apps/www/src/lib/registry/default/ui/stepper/StepperTrigger.vue @@ -0,0 +1,26 @@ + + + diff --git a/apps/www/src/lib/registry/default/ui/stepper/index.ts b/apps/www/src/lib/registry/default/ui/stepper/index.ts new file mode 100644 index 00000000..6bb2d607 --- /dev/null +++ b/apps/www/src/lib/registry/default/ui/stepper/index.ts @@ -0,0 +1,7 @@ +export { default as Stepper } from './Stepper.vue' +export { default as StepperItem } from './StepperItem.vue' +export { default as StepperIndicator } from './StepperIndicator.vue' +export { default as StepperTrigger } from './StepperTrigger.vue' +export { default as StepperTitle } from './StepperTitle.vue' +export { default as StepperDescription } from './StepperDescription.vue' +export { default as StepperSeparator } from './StepperSeparator.vue' diff --git a/apps/www/src/lib/registry/new-york/example/StepperDemo.vue b/apps/www/src/lib/registry/new-york/example/StepperDemo.vue new file mode 100644 index 00000000..32012a44 --- /dev/null +++ b/apps/www/src/lib/registry/new-york/example/StepperDemo.vue @@ -0,0 +1,55 @@ + + + diff --git a/apps/www/src/lib/registry/new-york/ui/stepper/Stepper.vue b/apps/www/src/lib/registry/new-york/ui/stepper/Stepper.vue new file mode 100644 index 00000000..fcd120e6 --- /dev/null +++ b/apps/www/src/lib/registry/new-york/ui/stepper/Stepper.vue @@ -0,0 +1,30 @@ + + + diff --git a/apps/www/src/lib/registry/new-york/ui/stepper/StepperDescription.vue b/apps/www/src/lib/registry/new-york/ui/stepper/StepperDescription.vue new file mode 100644 index 00000000..af9133eb --- /dev/null +++ b/apps/www/src/lib/registry/new-york/ui/stepper/StepperDescription.vue @@ -0,0 +1,23 @@ + + + diff --git a/apps/www/src/lib/registry/new-york/ui/stepper/StepperIndicator.vue b/apps/www/src/lib/registry/new-york/ui/stepper/StepperIndicator.vue new file mode 100644 index 00000000..b60ed6ed --- /dev/null +++ b/apps/www/src/lib/registry/new-york/ui/stepper/StepperIndicator.vue @@ -0,0 +1,35 @@ + + + diff --git a/apps/www/src/lib/registry/new-york/ui/stepper/StepperItem.vue b/apps/www/src/lib/registry/new-york/ui/stepper/StepperItem.vue new file mode 100644 index 00000000..b5a49c07 --- /dev/null +++ b/apps/www/src/lib/registry/new-york/ui/stepper/StepperItem.vue @@ -0,0 +1,26 @@ + + + diff --git a/apps/www/src/lib/registry/new-york/ui/stepper/StepperSeparator.vue b/apps/www/src/lib/registry/new-york/ui/stepper/StepperSeparator.vue new file mode 100644 index 00000000..8391ceae --- /dev/null +++ b/apps/www/src/lib/registry/new-york/ui/stepper/StepperSeparator.vue @@ -0,0 +1,31 @@ + + + diff --git a/apps/www/src/lib/registry/new-york/ui/stepper/StepperTitle.vue b/apps/www/src/lib/registry/new-york/ui/stepper/StepperTitle.vue new file mode 100644 index 00000000..5ba5f7e1 --- /dev/null +++ b/apps/www/src/lib/registry/new-york/ui/stepper/StepperTitle.vue @@ -0,0 +1,23 @@ + + + diff --git a/apps/www/src/lib/registry/new-york/ui/stepper/StepperTrigger.vue b/apps/www/src/lib/registry/new-york/ui/stepper/StepperTrigger.vue new file mode 100644 index 00000000..04b6a5b8 --- /dev/null +++ b/apps/www/src/lib/registry/new-york/ui/stepper/StepperTrigger.vue @@ -0,0 +1,26 @@ + + + diff --git a/apps/www/src/lib/registry/new-york/ui/stepper/index.ts b/apps/www/src/lib/registry/new-york/ui/stepper/index.ts new file mode 100644 index 00000000..6bb2d607 --- /dev/null +++ b/apps/www/src/lib/registry/new-york/ui/stepper/index.ts @@ -0,0 +1,7 @@ +export { default as Stepper } from './Stepper.vue' +export { default as StepperItem } from './StepperItem.vue' +export { default as StepperIndicator } from './StepperIndicator.vue' +export { default as StepperTrigger } from './StepperTrigger.vue' +export { default as StepperTitle } from './StepperTitle.vue' +export { default as StepperDescription } from './StepperDescription.vue' +export { default as StepperSeparator } from './StepperSeparator.vue'