ml-uikit 1.0.4 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9,4 +9,4 @@ export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElemen
9
9
  }
10
10
  declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
11
11
  export { Button, buttonVariants };
12
- //# sourceMappingURL=Button.d.ts.map
12
+ //# sourceMappingURL=button.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../src/components/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAIjE,QAAA,MAAM,cAAc;;;mFA0BnB,CAAA;AAED,MAAM,WAAW,WACf,SAAQ,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EACnD,YAAY,CAAC,OAAO,cAAc,CAAC;IACrC,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,QAAA,MAAM,MAAM,uFAWX,CAAA;AAGD,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,CAAA"}
1
+ {"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../src/components/button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAIjE,QAAA,MAAM,cAAc;;;mFA0BnB,CAAA;AAED,MAAM,WAAW,WACf,SAAQ,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EACnD,YAAY,CAAC,OAAO,cAAc,CAAC;IACrC,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,QAAA,MAAM,MAAM,uFAWX,CAAA;AAGD,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,CAAA"}
@@ -1,5 +1,5 @@
1
1
  import { jsxDEV as _jsxDEV } from "react/jsx-dev-runtime";
2
- const _jsxFileName = "/Users/deepakkushwaha/Documents/GitHub/ml-uikit/src/components/Button.tsx";
2
+ const _jsxFileName = "/Users/deepakkushwaha/Documents/GitHub/ml-uikit/src/components/button.tsx";
3
3
  import * as React from "react";
4
4
  import { Slot } from "@radix-ui/react-slot";
5
5
  import { cva } from "class-variance-authority";
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  import { DayPicker, type DayButton } from "react-day-picker";
3
- import { Button } from "./Button";
3
+ import { Button } from "./button";
4
4
  declare function Calendar({ className, classNames, showOutsideDays, captionLayout, buttonVariant, formatters, components, ...props }: React.ComponentProps<typeof DayPicker> & {
5
5
  buttonVariant?: React.ComponentProps<typeof Button>["variant"];
6
6
  }): import("react/jsx-dev-runtime").JSX.Element;
@@ -4,7 +4,7 @@ import { useEffect, useRef } from "react";
4
4
  import { ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, } from "lucide-react";
5
5
  import { DayPicker, getDefaultClassNames, } from "react-day-picker";
6
6
  import { cn } from "../lib/utils";
7
- import { Button, buttonVariants } from "./Button";
7
+ import { Button, buttonVariants } from "./button";
8
8
  function Calendar({ className, classNames, showOutsideDays = true, captionLayout = "label", buttonVariant = "ghost", formatters, components, ...props }) {
9
9
  const defaultClassNames = getDefaultClassNames();
10
10
  return (_jsxDEV(DayPicker, { showOutsideDays: showOutsideDays, className: cn("bg-background group/calendar p-3 [--cell-size:2rem] [[data-slot=card-content]_&]:bg-transparent [[data-slot=popover-content]_&]:bg-transparent", String.raw `rtl:**:[.rdp-button\_next>svg]:rotate-180`, String.raw `rtl:**:[.rdp-button\_previous>svg]:rotate-180`, className), captionLayout: captionLayout, formatters: {
@@ -1,7 +1,7 @@
1
1
  import { jsxDEV as _jsxDEV } from "react/jsx-dev-runtime";
2
2
  const _jsxFileName = "/Users/deepakkushwaha/Documents/GitHub/ml-uikit/src/components/ML_Component/Login.tsx";
3
3
  import { Input } from "../ui/input";
4
- import { Button } from "../Button";
4
+ import { Button } from "../button";
5
5
  function Login() {
6
6
  return (_jsxDEV("div", { className: "border p-4 flex gap-4 rounded-md flex-col", children: [_jsxDEV(Input, { type: "email", placeholder: "Email" }, void 0, false, { fileName: _jsxFileName, lineNumber: 8, columnNumber: 7 }, this), _jsxDEV(Input, { type: "password", placeholder: "Password" }, void 0, false, { fileName: _jsxFileName, lineNumber: 9, columnNumber: 7 }, this), _jsxDEV(Button, { children: "Login" }, void 0, false, { fileName: _jsxFileName, lineNumber: 10, columnNumber: 7 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 6, columnNumber: 11 }, this));
7
7
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "ml-uikit",
3
3
  "description": "A Metis Labs UI kit library starter for React with Tailwind CSS, Vite, TypeScript and Shadcn-ui components.",
4
4
  "private": false,
5
- "version": "1.0.4",
5
+ "version": "1.0.5",
6
6
  "type": "module",
7
7
  "main": "dist/index.cjs.js",
8
8
  "module": "dist/index.es.js",