Skip to content

Commit

Permalink
primitives
Browse files Browse the repository at this point in the history
  • Loading branch information
dinoDanic committed Oct 23, 2023
1 parent ff7f995 commit 855050f
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@kodiui/cli",
"version": "0.1.15",
"version": "0.1.16",
"description": "",
"main": "dist/index.js",
"type": "module",
Expand Down
6 changes: 3 additions & 3 deletions packages/ui/components/primitives/cluster.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import React from "react";

import { cn } from "@/lib/utils";
import { GapVariants } from "./tokens/spacing";
import { FlexVariants } from "./tokens/flex";
import { GapVariants, gapVariants } from "./tokens/spacing";
import { FlexVariants, flexVariants } from "./tokens/flex";
import { cn } from "./lib/utils";

export type BoxProps = React.HTMLAttributes<HTMLDivElement> &
GapVariants &
Expand Down
6 changes: 6 additions & 0 deletions packages/ui/components/primitives/lib/utils.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { clsx, type ClassValue } from "clsx";
import { twMerge } from "tailwind-merge";

export function cn(...inputs: ClassValue[]) {
return twMerge(clsx(inputs));
}
1 change: 1 addition & 0 deletions packages/ui/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './components/primitives/cluster'
3 changes: 3 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 855050f

Please sign in to comment.