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

Next #917

Merged
merged 74 commits into from
Feb 20, 2025
Merged

Next #917

Changes from 1 commit
Commits
Show all changes
74 commits
Select commit Hold shift + click to select a range
d2b3a87
refactor: radix-vue to reka-ui
zernonia Nov 4, 2024
f878cd1
chore: bump reka-ui version
zernonia Nov 4, 2024
f079f01
refactor: perform migration
zernonia Nov 4, 2024
19aacd9
chore: bump reka version
zernonia Nov 8, 2024
5ff9cda
chore: update deps
zernonia Nov 19, 2024
215e365
Merge remote-tracking branch 'origin/dev' into next-reka
zernonia Nov 19, 2024
da5f362
chore: run pnpm i and build regsitry
zernonia Nov 19, 2024
5c4b16c
docs: update reference api link
zernonia Nov 19, 2024
f3f84b8
chore: revamp sitte
zernonia Nov 19, 2024
6927943
docs: update content, styling
zernonia Nov 20, 2024
8cd51af
refactor: new CLI
zernonia Nov 20, 2024
5ff0b20
refactor: build registry
zernonia Nov 21, 2024
ac14ca8
chore: move registry, update import path, run app
zernonia Nov 21, 2024
aec80c9
refactor: build registry
zernonia Nov 21, 2024
ec54afa
chore: lint generated files
zernonia Nov 21, 2024
01808de
refactor: cli, add test
zernonia Nov 22, 2024
097830a
docs: fix build, update paths
zernonia Nov 22, 2024
bb5d5b2
docs: block preview and codes
zernonia Nov 22, 2024
360e55f
chore: add sidebars block
zernonia Nov 25, 2024
99c685e
chore: add sidebars block (2/2)
zernonia Nov 25, 2024
41d8363
docs: sidebar
zernonia Nov 25, 2024
d963607
chore: fix json
zernonia Nov 25, 2024
6d2515f
chore: fix crawled content
zernonia Nov 26, 2024
ec790cb
chore: fix regsitry dependencies adding .vue files
zernonia Nov 26, 2024
b3e10e4
chore: make sure to detect reka-ui as deps
zernonia Nov 26, 2024
b4e1135
feat: transform icons
zernonia Nov 27, 2024
8fec27e
refactor: replace with lucide icon, dropped v-calendar
zernonia Nov 27, 2024
47c4fbf
chore: cleanup
zernonia Nov 27, 2024
124f282
test: update
zernonia Nov 27, 2024
dc5c3fb
chore: update playground
zernonia Nov 27, 2024
2326784
chore: release next tag
zernonia Nov 27, 2024
69fbfb3
chore: release v1.0.0-next.0
zernonia Nov 27, 2024
20bb9c6
chore: update demo
zernonia Nov 27, 2024
b8f60e6
Merge branch 'dev' into next-reka
sadeghbarati Dec 4, 2024
3f0ded8
refactor: replace `kleur` with `consola` colors
sadeghbarati Dec 4, 2024
8a8d1ef
refactor: use `get-tsconfig` instead of `tsconfig-paths`
sadeghbarati Dec 4, 2024
5eee449
chore: build registry
sadeghbarati Dec 4, 2024
4d87066
chore: bump cli tag
sadeghbarati Dec 4, 2024
b5cf49e
chore: bump reka
zernonia Dec 10, 2024
d7c4f34
refactor(Command): adapt command component to use listbox
zernonia Dec 10, 2024
1804019
refactor(Command, Combobox): adapt to respective component
zernonia Dec 11, 2024
97e58c2
chore: update deps
sadeghbarati Jan 4, 2025
523d52a
refactor: use `tinyglobby` instead of `fast-glob`
sadeghbarati Jan 4, 2025
846f928
ci: add `pkg.pr.new` (#987)
sadeghbarati Jan 4, 2025
613eef0
chore: test
sadeghbarati Jan 4, 2025
586ecae
Merge branch 'dev' into next-reka
sadeghbarati Jan 4, 2025
72e99b4
Merge branch 'dev' into next-reka
sadeghbarati Jan 4, 2025
af11d22
chore: test
sadeghbarati Jan 4, 2025
a8c18bf
Merge branch 'dev' into next-reka
sadeghbarati Jan 5, 2025
a543629
test: fix test
zernonia Jan 22, 2025
37d53a4
chore: release v1.0.0-next.1
zernonia Jan 22, 2025
fa0fe01
refactor: rename hooks to composables for more familiar terms for vue
zernonia Jan 31, 2025
c741bde
test: update test to cater for composables
zernonia Jan 31, 2025
bed7d76
chore: release v1.0.0-next.2
zernonia Jan 31, 2025
c04c661
docs: latest design
zernonia Feb 12, 2025
e2c13ed
docs: add login blocks
zernonia Feb 12, 2025
75406f4
chore: update action
zernonia Feb 12, 2025
8707b43
chore: revert action changes
zernonia Feb 12, 2025
91a7e5c
docs: remove duplicated key, style improve
zernonia Feb 12, 2025
bf5cb3f
docs: style improve, remove view transition
zernonia Feb 12, 2025
e3c0412
chore: cleanup crawler
zernonia Feb 12, 2025
ebd84cd
chore: update deps
sadeghbarati Feb 14, 2025
936daa8
Merge branch 'dev' into next-reka
sadeghbarati Feb 14, 2025
64cb616
chore: build registry
sadeghbarati Feb 14, 2025
acc82eb
Merge remote-tracking branch 'origin/dev' into next-reka
sadeghbarati Feb 14, 2025
1e9b980
Merge branch 'dev' into next-reka
sadeghbarati Feb 14, 2025
32cbb72
chore: bump reka-ui
zernonia Feb 18, 2025
91288d4
chore: pin ts version for builder
zernonia Feb 20, 2025
84df3dd
chore: bump reka stable version
zernonia Feb 20, 2025
08f56dc
chore: bump vaul version
zernonia Feb 20, 2025
8b14d0a
docs: update registry, demo
zernonia Feb 20, 2025
50393f7
fix: init having wrong libs path
zernonia Feb 20, 2025
aeeab41
docs: include changelog
zernonia Feb 20, 2025
d7a873c
Merge remote-tracking branch 'origin/dev' into next-reka
zernonia Feb 20, 2025
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
Prev Previous commit
Next Next commit
chore: fix crawled content
  • Loading branch information
zernonia committed Nov 26, 2024
commit 6d2515f02a7d531312fc40a055c4ba8b104d77ce
2,848 changes: 1,424 additions & 1,424 deletions apps/www/__registry__/index.ts

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions apps/www/src/public/r/styles/default/accordion.json
Original file line number Diff line number Diff line change
@@ -10,31 +10,31 @@
"path": "ui/accordion/Accordion.vue",
"content": "<script setup lang=\"ts\">\nimport {\n AccordionRoot,\n type AccordionRootEmits,\n type AccordionRootProps,\n useForwardPropsEmits,\n} from 'reka-ui'\n\nconst props = defineProps<AccordionRootProps>()\nconst emits = defineEmits<AccordionRootEmits>()\n\nconst forwarded = useForwardPropsEmits(props, emits)\n</script>\n\n<template>\n <AccordionRoot v-bind=\"forwarded\">\n <slot />\n </AccordionRoot>\n</template>\n",
"type": "registry:ui",
"target": "accordion/Accordion.vue"
"target": ""
},
{
"path": "ui/accordion/AccordionContent.vue",
"content": "<script setup lang=\"ts\">\nimport { cn } from '@/lib/utils'\nimport { AccordionContent, type AccordionContentProps } from 'reka-ui'\nimport { computed, type HTMLAttributes } from 'vue'\n\nconst props = defineProps<AccordionContentProps & { class?: HTMLAttributes['class'] }>()\n\nconst delegatedProps = computed(() => {\n const { class: _, ...delegated } = props\n\n return delegated\n})\n</script>\n\n<template>\n <AccordionContent\n v-bind=\"delegatedProps\"\n class=\"overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down\"\n >\n <div :class=\"cn('pb-4 pt-0', props.class)\">\n <slot />\n </div>\n </AccordionContent>\n</template>\n",
"type": "registry:ui",
"target": "accordion/AccordionContent.vue"
"target": ""
},
{
"path": "ui/accordion/AccordionItem.vue",
"content": "<script setup lang=\"ts\">\nimport { cn } from '@/lib/utils'\nimport { AccordionItem, type AccordionItemProps, useForwardProps } from 'reka-ui'\nimport { computed, type HTMLAttributes } from 'vue'\n\nconst props = defineProps<AccordionItemProps & { class?: HTMLAttributes['class'] }>()\n\nconst delegatedProps = computed(() => {\n const { class: _, ...delegated } = props\n\n return delegated\n})\n\nconst forwardedProps = useForwardProps(delegatedProps)\n</script>\n\n<template>\n <AccordionItem\n v-bind=\"forwardedProps\"\n :class=\"cn('border-b', props.class)\"\n >\n <slot />\n </AccordionItem>\n</template>\n",
"type": "registry:ui",
"target": "accordion/AccordionItem.vue"
"target": ""
},
{
"path": "ui/accordion/AccordionTrigger.vue",
"content": "<script setup lang=\"ts\">\nimport { cn } from '@/lib/utils'\nimport { ChevronDown } from 'lucide-vue-next'\nimport {\n AccordionHeader,\n AccordionTrigger,\n type AccordionTriggerProps,\n} from 'reka-ui'\nimport { computed, type HTMLAttributes } from 'vue'\n\nconst props = defineProps<AccordionTriggerProps & { class?: HTMLAttributes['class'] }>()\n\nconst delegatedProps = computed(() => {\n const { class: _, ...delegated } = props\n\n return delegated\n})\n</script>\n\n<template>\n <AccordionHeader class=\"flex\">\n <AccordionTrigger\n v-bind=\"delegatedProps\"\n :class=\"\n cn(\n 'flex flex-1 items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180',\n props.class,\n )\n \"\n >\n <slot />\n <slot name=\"icon\">\n <ChevronDown\n class=\"h-4 w-4 shrink-0 transition-transform duration-200\"\n />\n </slot>\n </AccordionTrigger>\n </AccordionHeader>\n</template>\n",
"type": "registry:ui",
"target": "accordion/AccordionTrigger.vue"
"target": ""
},
{
"path": "ui/accordion/index.ts",
"content": "export { default as Accordion } from './Accordion.vue'\nexport { default as AccordionContent } from './AccordionContent.vue'\nexport { default as AccordionItem } from './AccordionItem.vue'\nexport { default as AccordionTrigger } from './AccordionTrigger.vue'\n",
"type": "registry:ui",
"target": "accordion/index.ts"
"target": ""
}
]
}
20 changes: 10 additions & 10 deletions apps/www/src/public/r/styles/default/alert-dialog.json
Original file line number Diff line number Diff line change
@@ -11,61 +11,61 @@
"path": "ui/alert-dialog/AlertDialog.vue",
"content": "<script setup lang=\"ts\">\nimport { type AlertDialogEmits, type AlertDialogProps, AlertDialogRoot, useForwardPropsEmits } from 'reka-ui'\n\nconst props = defineProps<AlertDialogProps>()\nconst emits = defineEmits<AlertDialogEmits>()\n\nconst forwarded = useForwardPropsEmits(props, emits)\n</script>\n\n<template>\n <AlertDialogRoot v-bind=\"forwarded\">\n <slot />\n </AlertDialogRoot>\n</template>\n",
"type": "registry:ui",
"target": "alert-dialog/AlertDialog.vue"
"target": ""
},
{
"path": "ui/alert-dialog/AlertDialogAction.vue",
"content": "<script setup lang=\"ts\">\nimport { cn } from '@/lib/utils'\nimport { buttonVariants } from '@/registry/default/ui/button'\nimport { AlertDialogAction, type AlertDialogActionProps } from 'reka-ui'\nimport { computed, type HTMLAttributes } from 'vue'\n\nconst props = defineProps<AlertDialogActionProps & { class?: HTMLAttributes['class'] }>()\n\nconst delegatedProps = computed(() => {\n const { class: _, ...delegated } = props\n\n return delegated\n})\n</script>\n\n<template>\n <AlertDialogAction v-bind=\"delegatedProps\" :class=\"cn(buttonVariants(), props.class)\">\n <slot />\n </AlertDialogAction>\n</template>\n",
"type": "registry:ui",
"target": "alert-dialog/AlertDialogAction.vue"
"target": ""
},
{
"path": "ui/alert-dialog/AlertDialogCancel.vue",
"content": "<script setup lang=\"ts\">\nimport { cn } from '@/lib/utils'\nimport { buttonVariants } from '@/registry/default/ui/button'\nimport { AlertDialogCancel, type AlertDialogCancelProps } from 'reka-ui'\nimport { computed, type HTMLAttributes } from 'vue'\n\nconst props = defineProps<AlertDialogCancelProps & { class?: HTMLAttributes['class'] }>()\n\nconst delegatedProps = computed(() => {\n const { class: _, ...delegated } = props\n\n return delegated\n})\n</script>\n\n<template>\n <AlertDialogCancel\n v-bind=\"delegatedProps\"\n :class=\"cn(\n buttonVariants({ variant: 'outline' }),\n 'mt-2 sm:mt-0',\n props.class,\n )\"\n >\n <slot />\n </AlertDialogCancel>\n</template>\n",
"type": "registry:ui",
"target": "alert-dialog/AlertDialogCancel.vue"
"target": ""
},
{
"path": "ui/alert-dialog/AlertDialogContent.vue",
"content": "<script setup lang=\"ts\">\nimport { cn } from '@/lib/utils'\nimport {\n AlertDialogContent,\n type AlertDialogContentEmits,\n type AlertDialogContentProps,\n AlertDialogOverlay,\n AlertDialogPortal,\n useForwardPropsEmits,\n} from 'reka-ui'\nimport { computed, type HTMLAttributes } from 'vue'\n\nconst props = defineProps<AlertDialogContentProps & { class?: HTMLAttributes['class'] }>()\nconst emits = defineEmits<AlertDialogContentEmits>()\n\nconst delegatedProps = computed(() => {\n const { class: _, ...delegated } = props\n\n return delegated\n})\n\nconst forwarded = useForwardPropsEmits(delegatedProps, emits)\n</script>\n\n<template>\n <AlertDialogPortal>\n <AlertDialogOverlay\n class=\"fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0\"\n />\n <AlertDialogContent\n v-bind=\"forwarded\"\n :class=\"\n cn(\n 'fixed left-1/2 top-1/2 z-50 grid w-full max-w-lg -translate-x-1/2 -translate-y-1/2 gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg',\n props.class,\n )\n \"\n >\n <slot />\n </AlertDialogContent>\n </AlertDialogPortal>\n</template>\n",
"type": "registry:ui",
"target": "alert-dialog/AlertDialogContent.vue"
"target": ""
},
{
"path": "ui/alert-dialog/AlertDialogDescription.vue",
"content": "<script setup lang=\"ts\">\nimport { cn } from '@/lib/utils'\nimport {\n AlertDialogDescription,\n type AlertDialogDescriptionProps,\n} from 'reka-ui'\nimport { computed, type HTMLAttributes } from 'vue'\n\nconst props = defineProps<AlertDialogDescriptionProps & { class?: HTMLAttributes['class'] }>()\n\nconst delegatedProps = computed(() => {\n const { class: _, ...delegated } = props\n\n return delegated\n})\n</script>\n\n<template>\n <AlertDialogDescription\n v-bind=\"delegatedProps\"\n :class=\"cn('text-sm text-muted-foreground', props.class)\"\n >\n <slot />\n </AlertDialogDescription>\n</template>\n",
"type": "registry:ui",
"target": "alert-dialog/AlertDialogDescription.vue"
"target": ""
},
{
"path": "ui/alert-dialog/AlertDialogFooter.vue",
"content": "<script setup lang=\"ts\">\nimport type { HTMLAttributes } from 'vue'\nimport { cn } from '@/lib/utils'\n\nconst props = defineProps<{\n class?: HTMLAttributes['class']\n}>()\n</script>\n\n<template>\n <div\n :class=\"\n cn(\n 'flex flex-col-reverse sm:flex-row sm:justify-end sm:gap-x-2',\n props.class,\n )\n \"\n >\n <slot />\n </div>\n</template>\n",
"type": "registry:ui",
"target": "alert-dialog/AlertDialogFooter.vue"
"target": ""
},
{
"path": "ui/alert-dialog/AlertDialogHeader.vue",
"content": "<script setup lang=\"ts\">\nimport type { HTMLAttributes } from 'vue'\nimport { cn } from '@/lib/utils'\n\nconst props = defineProps<{\n class?: HTMLAttributes['class']\n}>()\n</script>\n\n<template>\n <div\n :class=\"cn('flex flex-col gap-y-2 text-center sm:text-left', props.class)\"\n >\n <slot />\n </div>\n</template>\n",
"type": "registry:ui",
"target": "alert-dialog/AlertDialogHeader.vue"
"target": ""
},
{
"path": "ui/alert-dialog/AlertDialogTitle.vue",
"content": "<script setup lang=\"ts\">\nimport { cn } from '@/lib/utils'\nimport { AlertDialogTitle, type AlertDialogTitleProps } from 'reka-ui'\nimport { computed, type HTMLAttributes } from 'vue'\n\nconst props = defineProps<AlertDialogTitleProps & { class?: HTMLAttributes['class'] }>()\n\nconst delegatedProps = computed(() => {\n const { class: _, ...delegated } = props\n\n return delegated\n})\n</script>\n\n<template>\n <AlertDialogTitle\n v-bind=\"delegatedProps\"\n :class=\"cn('text-lg font-semibold', props.class)\"\n >\n <slot />\n </AlertDialogTitle>\n</template>\n",
"type": "registry:ui",
"target": "alert-dialog/AlertDialogTitle.vue"
"target": ""
},
{
"path": "ui/alert-dialog/AlertDialogTrigger.vue",
"content": "<script setup lang=\"ts\">\nimport { AlertDialogTrigger, type AlertDialogTriggerProps } from 'reka-ui'\n\nconst props = defineProps<AlertDialogTriggerProps>()\n</script>\n\n<template>\n <AlertDialogTrigger v-bind=\"props\">\n <slot />\n </AlertDialogTrigger>\n</template>\n",
"type": "registry:ui",
"target": "alert-dialog/AlertDialogTrigger.vue"
"target": ""
},
{
"path": "ui/alert-dialog/index.ts",
"content": "export { default as AlertDialog } from './AlertDialog.vue'\nexport { default as AlertDialogAction } from './AlertDialogAction.vue'\nexport { default as AlertDialogCancel } from './AlertDialogCancel.vue'\nexport { default as AlertDialogContent } from './AlertDialogContent.vue'\nexport { default as AlertDialogDescription } from './AlertDialogDescription.vue'\nexport { default as AlertDialogFooter } from './AlertDialogFooter.vue'\nexport { default as AlertDialogHeader } from './AlertDialogHeader.vue'\nexport { default as AlertDialogTitle } from './AlertDialogTitle.vue'\nexport { default as AlertDialogTrigger } from './AlertDialogTrigger.vue'\n",
"type": "registry:ui",
"target": "alert-dialog/index.ts"
"target": ""
}
]
}
8 changes: 4 additions & 4 deletions apps/www/src/public/r/styles/default/alert.json
Original file line number Diff line number Diff line change
@@ -10,25 +10,25 @@
"path": "ui/alert/Alert.vue",
"content": "<script setup lang=\"ts\">\nimport type { HTMLAttributes } from 'vue'\nimport { cn } from '@/lib/utils'\nimport { type AlertVariants, alertVariants } from '.'\n\nconst props = defineProps<{\n class?: HTMLAttributes['class']\n variant?: AlertVariants['variant']\n}>()\n</script>\n\n<template>\n <div :class=\"cn(alertVariants({ variant }), props.class)\" role=\"alert\">\n <slot />\n </div>\n</template>\n",
"type": "registry:ui",
"target": "alert/Alert.vue"
"target": ""
},
{
"path": "ui/alert/AlertDescription.vue",
"content": "<script setup lang=\"ts\">\nimport type { HTMLAttributes } from 'vue'\nimport { cn } from '@/lib/utils'\n\nconst props = defineProps<{\n class?: HTMLAttributes['class']\n}>()\n</script>\n\n<template>\n <div :class=\"cn('text-sm [&_p]:leading-relaxed', props.class)\">\n <slot />\n </div>\n</template>\n",
"type": "registry:ui",
"target": "alert/AlertDescription.vue"
"target": ""
},
{
"path": "ui/alert/AlertTitle.vue",
"content": "<script setup lang=\"ts\">\nimport type { HTMLAttributes } from 'vue'\nimport { cn } from '@/lib/utils'\n\nconst props = defineProps<{\n class?: HTMLAttributes['class']\n}>()\n</script>\n\n<template>\n <h5 :class=\"cn('mb-1 font-medium leading-none tracking-tight', props.class)\">\n <slot />\n </h5>\n</template>\n",
"type": "registry:ui",
"target": "alert/AlertTitle.vue"
"target": ""
},
{
"path": "ui/alert/index.ts",
"content": "import { cva, type VariantProps } from 'class-variance-authority'\n\nexport { default as Alert } from './Alert.vue'\nexport { default as AlertDescription } from './AlertDescription.vue'\nexport { default as AlertTitle } from './AlertTitle.vue'\n\nexport const alertVariants = cva(\n 'relative w-full rounded-lg border p-4 [&>svg~*]:pl-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground',\n {\n variants: {\n variant: {\n default: 'bg-background text-foreground',\n destructive:\n 'border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive',\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n },\n)\n\nexport type AlertVariants = VariantProps<typeof alertVariants>\n",
"type": "registry:ui",
"target": "alert/index.ts"
"target": ""
}
]
}
4 changes: 2 additions & 2 deletions apps/www/src/public/r/styles/default/aspect-ratio.json
Original file line number Diff line number Diff line change
@@ -8,13 +8,13 @@
"path": "ui/aspect-ratio/AspectRatio.vue",
"content": "<script setup lang=\"ts\">\nimport { AspectRatio, type AspectRatioProps } from 'reka-ui'\n\nconst props = defineProps<AspectRatioProps>()\n</script>\n\n<template>\n <AspectRatio v-bind=\"props\">\n <slot />\n </AspectRatio>\n</template>\n",
"type": "registry:ui",
"target": "aspect-ratio/AspectRatio.vue"
"target": ""
},
{
"path": "ui/aspect-ratio/index.ts",
"content": "export { default as AspectRatio } from './AspectRatio.vue'\n",
"type": "registry:ui",
"target": "aspect-ratio/index.ts"
"target": ""
}
]
}
Loading