Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
perf: expose direct UI and utility imports
Richie McIlroybc6ef22bd44f
diff --git a/packages/ui/package.json b/packages/ui/package.jsonindex b76a0f4b1..041bbc22d 100644--- a/packages/ui/package.json+++ b/packages/ui/package.json@@ -5,6 +5,9 @@"types": "./src/index.tsx","exports": {".": "./src/index.tsx",+ "./logo": "./src/components/icons/Logo.tsx",+ "./button": "./src/components/Button.tsx",+ "./navigation-menu": "./src/components/NavigationMenu.tsx","./tailwind": "./tailwind.config.js","./postcss": "./postcss.config.js","./style": "./style/styles.css"diff --git a/packages/ui/src/components/Button.tsx b/packages/ui/src/components/Button.tsxindex 099e9bd32..25bd3a72b 100644--- a/packages/ui/src/components/Button.tsx+++ b/packages/ui/src/components/Button.tsx@@ -1,4 +1,4 @@-import { classNames } from "@cap/utils";+import { classNames } from "@cap/utils/helpers";import { Slot } from "@radix-ui/react-slot";import { cva, type VariantProps } from "class-variance-authority";import * as React from "react";diff --git a/packages/ui/src/components/NavigationMenu.tsx b/packages/ui/src/components/NavigationMenu.tsxindex eea3baf65..590839cfe 100644--- a/packages/ui/src/components/NavigationMenu.tsx+++ b/packages/ui/src/components/NavigationMenu.tsx@@ -1,4 +1,4 @@-import { classNames } from "@cap/utils";+import { classNames } from "@cap/utils/helpers";import * as NavigationMenuPrimitive from "@radix-ui/react-navigation-menu";import { cva } from "class-variance-authority";import { ChevronDown } from "lucide-react";diff --git a/packages/utils/package.json b/packages/utils/package.jsonindex 82f842d4c..1e1b7373c 100644--- a/packages/utils/package.json+++ b/packages/utils/package.json@@ -2,7 +2,8 @@"name": "@cap/utils","type": "module","exports": {- ".": "./src/index.ts"+ ".": "./src/index.ts",+ "./helpers": "./src/helpers.ts"},"scripts": {"typecheck": "tsc -b",