change structure bump version
This commit is contained in:
+20
-16
@@ -1,7 +1,11 @@
|
||||
{
|
||||
"name": "@avocadi/ui",
|
||||
"type": "module",
|
||||
"private": true,
|
||||
"version": "0.1.2",
|
||||
"private": false,
|
||||
"files": [
|
||||
"dist"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "tsdown"
|
||||
},
|
||||
@@ -22,22 +26,22 @@
|
||||
"zod": "^4.3.6"
|
||||
},
|
||||
"exports": {
|
||||
"./components/ui/accordion": "./dist/components/ui/accordion.js",
|
||||
"./components/ui/button": "./dist/components/ui/button.js",
|
||||
"./components/ui/card": "./dist/components/ui/card.js",
|
||||
"./components/ui/card-context": "./dist/components/ui/card-context.js",
|
||||
"./components/ui/carousel": "./dist/components/ui/carousel.js",
|
||||
"./components/ui/dialog": "./dist/components/ui/dialog.js",
|
||||
"./components/ui/richtext": "./dist/components/ui/richtext/index.js",
|
||||
"./components/ui/richtext/converters": "./dist/components/ui/richtext/converters/index.js",
|
||||
"./components/ui/richtext/converters/headings": "./dist/components/ui/richtext/converters/headings.js",
|
||||
"./components/ui/richtext/converters/internal-link": "./dist/components/ui/richtext/converters/internal-link.js",
|
||||
"./components/ui/section": "./dist/components/ui/section/index.js",
|
||||
"./components/ui/section/heading": "./dist/components/ui/section/heading/index.js",
|
||||
"./components/ui/section/section.types": "./dist/components/ui/section/section.types.js",
|
||||
"./components/ui/select": "./dist/components/ui/select.js",
|
||||
"./components/ui/text": "./dist/components/ui/text.js",
|
||||
"./accordion": "./dist/accordion.js",
|
||||
"./button": "./dist/button.js",
|
||||
"./card": "./dist/card.js",
|
||||
"./card-context": "./dist/card-context.js",
|
||||
"./carousel": "./dist/carousel.js",
|
||||
"./dialog": "./dist/dialog.js",
|
||||
"./lib/utils": "./dist/lib/utils.js",
|
||||
"./richtext": "./dist/richtext/index.js",
|
||||
"./richtext/converters": "./dist/richtext/converters/index.js",
|
||||
"./richtext/converters/headings": "./dist/richtext/converters/headings.js",
|
||||
"./richtext/converters/internal-link": "./dist/richtext/converters/internal-link.js",
|
||||
"./section": "./dist/section/index.js",
|
||||
"./section/heading": "./dist/section/heading/index.js",
|
||||
"./section/section.types": "./dist/section/section.types.js",
|
||||
"./select": "./dist/select.js",
|
||||
"./text": "./dist/text.js",
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"dependencies": {
|
||||
|
||||
@@ -5,7 +5,7 @@ import useEmblaCarousel, {
|
||||
} from "embla-carousel-react";
|
||||
import { ArrowLeft, ArrowRight } from "lucide-react";
|
||||
import * as React from "react";
|
||||
import { Button } from "@/components/ui/button";
|
||||
import { Button } from "@/button";
|
||||
import { cn } from "@/lib/utils";
|
||||
|
||||
type CarouselApi = UseEmblaCarouselType[1];
|
||||
@@ -4,7 +4,7 @@ import { XIcon } from "lucide-react";
|
||||
import { motion } from "motion/react";
|
||||
import { Dialog as DialogPrimitive } from "radix-ui";
|
||||
import type * as React from "react";
|
||||
import { Button } from "@/components/ui/button";
|
||||
import { Button } from "@/button";
|
||||
import { cn } from "@/lib/utils";
|
||||
import { cardVariants } from "./card";
|
||||
|
||||
@@ -3,7 +3,7 @@ import { ease } from "@unom/style";
|
||||
import { cva, type VariantProps } from "class-variance-authority";
|
||||
import { motion } from "motion/react";
|
||||
import type { FC, ReactElement, ReactNode } from "react";
|
||||
import Text from "@/components/ui/text";
|
||||
import Text from "@/text";
|
||||
import { cn } from "@/lib/utils";
|
||||
|
||||
type HeadingProps = {
|
||||
Reference in New Issue
Block a user