diff --git a/apps/www/__registry__/index.ts b/apps/www/__registry__/index.ts index 3819aa07..06f8f53b 100644 --- a/apps/www/__registry__/index.ts +++ b/apps/www/__registry__/index.ts @@ -478,6 +478,13 @@ export const Index = { component: () => import('../src/lib/registry/default/example/PaginationDemo.vue').then(m => m.default), files: ['../src/lib/registry/default/example/PaginationDemo.vue'], }, + PinInputDemo: { + name: 'PinInputDemo', + type: 'components:example', + registryDependencies: ['pin-input'], + component: () => import('../src/lib/registry/default/example/PinInputDemo.vue').then(m => m.default), + files: ['../src/lib/registry/default/example/PinInputDemo.vue'], + }, PopoverDemo: { name: 'PopoverDemo', type: 'components:example', @@ -1362,6 +1369,13 @@ export const Index = { component: () => import('../src/lib/registry/new-york/example/PaginationDemo.vue').then(m => m.default), files: ['../src/lib/registry/new-york/example/PaginationDemo.vue'], }, + PinInputDemo: { + name: 'PinInputDemo', + type: 'components:example', + registryDependencies: ['pin-input'], + component: () => import('../src/lib/registry/new-york/example/PinInputDemo.vue').then(m => m.default), + files: ['../src/lib/registry/new-york/example/PinInputDemo.vue'], + }, PopoverDemo: { name: 'PopoverDemo', type: 'components:example', diff --git a/apps/www/src/content/docs/components/pin-input.md b/apps/www/src/content/docs/components/pin-input.md new file mode 100644 index 00000000..b44e02c9 --- /dev/null +++ b/apps/www/src/content/docs/components/pin-input.md @@ -0,0 +1,9 @@ +--- +title: PIN Input +description: Allows users to input a sequence of one-character alphanumeric inputs. +source: apps/www/src/lib/registry/default/ui/pin-input +primitive: https://www.radix-vue.com/components/pin-input.html +--- + + + diff --git a/apps/www/src/lib/registry/default/example/PinInputDemo.vue b/apps/www/src/lib/registry/default/example/PinInputDemo.vue new file mode 100644 index 00000000..1a581d26 --- /dev/null +++ b/apps/www/src/lib/registry/default/example/PinInputDemo.vue @@ -0,0 +1,30 @@ + + + diff --git a/apps/www/src/lib/registry/default/ui/pin-input/PinInput.vue b/apps/www/src/lib/registry/default/ui/pin-input/PinInput.vue new file mode 100644 index 00000000..c985bb30 --- /dev/null +++ b/apps/www/src/lib/registry/default/ui/pin-input/PinInput.vue @@ -0,0 +1,21 @@ + + + diff --git a/apps/www/src/lib/registry/default/ui/pin-input/PinInputInput.vue b/apps/www/src/lib/registry/default/ui/pin-input/PinInputInput.vue new file mode 100644 index 00000000..49d953ba --- /dev/null +++ b/apps/www/src/lib/registry/default/ui/pin-input/PinInputInput.vue @@ -0,0 +1,18 @@ + + + diff --git a/apps/www/src/lib/registry/default/ui/pin-input/index.ts b/apps/www/src/lib/registry/default/ui/pin-input/index.ts new file mode 100644 index 00000000..ee290cc8 --- /dev/null +++ b/apps/www/src/lib/registry/default/ui/pin-input/index.ts @@ -0,0 +1,2 @@ +export { default as PinInput } from './PinInput.vue' +export { default as PinInputInput } from './PinInputInput.vue' diff --git a/apps/www/src/lib/registry/new-york/example/PinInputDemo.vue b/apps/www/src/lib/registry/new-york/example/PinInputDemo.vue new file mode 100644 index 00000000..0d8bacf2 --- /dev/null +++ b/apps/www/src/lib/registry/new-york/example/PinInputDemo.vue @@ -0,0 +1,28 @@ + + + diff --git a/apps/www/src/lib/registry/new-york/ui/pin-input/PinInput.vue b/apps/www/src/lib/registry/new-york/ui/pin-input/PinInput.vue new file mode 100644 index 00000000..c985bb30 --- /dev/null +++ b/apps/www/src/lib/registry/new-york/ui/pin-input/PinInput.vue @@ -0,0 +1,21 @@ + + + diff --git a/apps/www/src/lib/registry/new-york/ui/pin-input/PinInputInput.vue b/apps/www/src/lib/registry/new-york/ui/pin-input/PinInputInput.vue new file mode 100644 index 00000000..49d953ba --- /dev/null +++ b/apps/www/src/lib/registry/new-york/ui/pin-input/PinInputInput.vue @@ -0,0 +1,18 @@ + + + diff --git a/apps/www/src/lib/registry/new-york/ui/pin-input/index.ts b/apps/www/src/lib/registry/new-york/ui/pin-input/index.ts new file mode 100644 index 00000000..ee290cc8 --- /dev/null +++ b/apps/www/src/lib/registry/new-york/ui/pin-input/index.ts @@ -0,0 +1,2 @@ +export { default as PinInput } from './PinInput.vue' +export { default as PinInputInput } from './PinInputInput.vue'