@biotechusa/pdo-ui 1.0.0 → 1.0.1
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.
- package/dist/alert-dialog.js +1 -1
- package/dist/alert.js +1 -1
- package/dist/autocomplete.js +1 -1
- package/dist/avatar.js +1 -1
- package/dist/badge.js +1 -1
- package/dist/button.js +1 -1
- package/dist/card.js +1 -1
- package/dist/checkbox-group.js +1 -1
- package/dist/checkbox.js +1 -1
- package/dist/combobox.js +1 -1
- package/dist/dialog.js +1 -1
- package/dist/empty.js +1 -1
- package/dist/field.js +1 -1
- package/dist/fieldset.js +1 -1
- package/dist/form.js +1 -1
- package/dist/frame.js +1 -1
- package/dist/group.js +1 -1
- package/dist/input-group.js +1 -1
- package/dist/input.js +1 -1
- package/dist/label.js +1 -1
- package/dist/lib/utils.js +6 -0
- package/dist/menu.js +1 -1
- package/dist/number-field.js +1 -1
- package/dist/{src/pagination.d.ts → pagination.d.ts} +1 -1
- package/dist/pagination.js +1 -1
- package/dist/popover.js +1 -1
- package/dist/progress.js +1 -1
- package/dist/radio-group.js +1 -1
- package/dist/scroll-area.js +1 -1
- package/dist/select.js +1 -1
- package/dist/separator.js +1 -1
- package/dist/sheet.js +1 -1
- package/dist/skeleton.js +1 -1
- package/dist/slider.js +1 -1
- package/dist/spinner.js +1 -1
- package/dist/switch.js +1 -1
- package/dist/table.js +1 -1
- package/dist/tabs.js +1 -1
- package/dist/textarea.js +1 -1
- package/dist/{src/toggle-group.d.ts → toggle-group.d.ts} +2 -2
- package/dist/toggle-group.js +1 -1
- package/dist/toggle.js +1 -1
- package/dist/toolbar.js +1 -1
- package/dist/tooltip.js +1 -1
- package/package.json +3 -3
- /package/dist/{src/alert-dialog.d.ts → alert-dialog.d.ts} +0 -0
- /package/dist/{src/alert.d.ts → alert.d.ts} +0 -0
- /package/dist/{src/autocomplete.d.ts → autocomplete.d.ts} +0 -0
- /package/dist/{src/avatar.d.ts → avatar.d.ts} +0 -0
- /package/dist/{src/badge.d.ts → badge.d.ts} +0 -0
- /package/dist/{src/button.d.ts → button.d.ts} +0 -0
- /package/dist/{src/card.d.ts → card.d.ts} +0 -0
- /package/dist/{src/checkbox-group.d.ts → checkbox-group.d.ts} +0 -0
- /package/dist/{src/checkbox.d.ts → checkbox.d.ts} +0 -0
- /package/dist/{src/combobox.d.ts → combobox.d.ts} +0 -0
- /package/dist/{src/dialog.d.ts → dialog.d.ts} +0 -0
- /package/dist/{src/empty.d.ts → empty.d.ts} +0 -0
- /package/dist/{src/field.d.ts → field.d.ts} +0 -0
- /package/dist/{src/fieldset.d.ts → fieldset.d.ts} +0 -0
- /package/dist/{src/form.d.ts → form.d.ts} +0 -0
- /package/dist/{src/frame.d.ts → frame.d.ts} +0 -0
- /package/dist/{src/group.d.ts → group.d.ts} +0 -0
- /package/dist/{src/index.d.ts → index.d.ts} +0 -0
- /package/dist/{src/input-group.d.ts → input-group.d.ts} +0 -0
- /package/dist/{src/input.d.ts → input.d.ts} +0 -0
- /package/dist/{src/label.d.ts → label.d.ts} +0 -0
- /package/dist/{src/menu.d.ts → menu.d.ts} +0 -0
- /package/dist/{src/number-field.d.ts → number-field.d.ts} +0 -0
- /package/dist/{src/popover.d.ts → popover.d.ts} +0 -0
- /package/dist/{src/progress.d.ts → progress.d.ts} +0 -0
- /package/dist/{src/radio-group.d.ts → radio-group.d.ts} +0 -0
- /package/dist/{src/scroll-area.d.ts → scroll-area.d.ts} +0 -0
- /package/dist/{src/select.d.ts → select.d.ts} +0 -0
- /package/dist/{src/separator.d.ts → separator.d.ts} +0 -0
- /package/dist/{src/sheet.d.ts → sheet.d.ts} +0 -0
- /package/dist/{src/skeleton.d.ts → skeleton.d.ts} +0 -0
- /package/dist/{src/slider.d.ts → slider.d.ts} +0 -0
- /package/dist/{src/spinner.d.ts → spinner.d.ts} +0 -0
- /package/dist/{src/switch.d.ts → switch.d.ts} +0 -0
- /package/dist/{src/table.d.ts → table.d.ts} +0 -0
- /package/dist/{src/tabs.d.ts → tabs.d.ts} +0 -0
- /package/dist/{src/textarea.d.ts → textarea.d.ts} +0 -0
- /package/dist/{src/toggle.d.ts → toggle.d.ts} +0 -0
- /package/dist/{src/toolbar.d.ts → toolbar.d.ts} +0 -0
- /package/dist/{src/tooltip.d.ts → tooltip.d.ts} +0 -0
package/dist/alert-dialog.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { AlertDialog } from "@base-ui-components/react/alert-dialog";
|
|
3
|
-
import { cn } from "
|
|
3
|
+
import { cn } from "./lib/utils.js";
|
|
4
4
|
function alert_dialog_AlertDialog(props) {
|
|
5
5
|
return /*#__PURE__*/ jsx(AlertDialog.Root, {
|
|
6
6
|
"data-slot": "alert-dialog",
|
package/dist/alert.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { cva } from "class-variance-authority";
|
|
3
|
-
import { cn } from "
|
|
3
|
+
import { cn } from "./lib/utils.js";
|
|
4
4
|
const alertVariants = cva("relative grid w-full items-start gap-x-2 gap-y-0.5 rounded-xl border px-3.5 py-3 text-card-foreground text-sm has-[>svg]:has-data-[slot=alert-action]:grid-cols-[calc(var(--spacing)*4)_1fr_auto] has-[>svg]:grid-cols-[calc(var(--spacing)*4)_1fr] has-data-[slot=alert-action]:grid-cols-[1fr_auto] has-[>svg]:gap-x-2 [&>svg]:h-[1lh] [&>svg]:w-4", {
|
|
5
5
|
defaultVariants: {
|
|
6
6
|
variant: "default"
|
package/dist/autocomplete.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Autocomplete } from "@base-ui-components/react/autocomplete";
|
|
3
3
|
import { ChevronsUpDownIcon, XIcon } from "lucide-react";
|
|
4
|
-
import { cn } from "
|
|
4
|
+
import { cn } from "./lib/utils.js";
|
|
5
5
|
import { Input } from "./input.js";
|
|
6
6
|
import { ScrollArea } from "./scroll-area.js";
|
|
7
7
|
const autocomplete_Autocomplete = Autocomplete.Root;
|
package/dist/avatar.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Avatar } from "@base-ui-components/react/avatar";
|
|
3
|
-
import { cn } from "
|
|
3
|
+
import { cn } from "./lib/utils.js";
|
|
4
4
|
function avatar_Avatar({ className, ...props }) {
|
|
5
5
|
return /*#__PURE__*/ jsx(Avatar.Root, {
|
|
6
6
|
className: cn("inline-flex size-8 shrink-0 select-none items-center justify-center overflow-hidden rounded-full bg-background align-middle font-medium text-xs", className),
|
package/dist/badge.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { mergeProps } from "@base-ui-components/react/merge-props";
|
|
2
2
|
import { useRender } from "@base-ui-components/react/use-render";
|
|
3
3
|
import { cva } from "class-variance-authority";
|
|
4
|
-
import { cn } from "
|
|
4
|
+
import { cn } from "./lib/utils.js";
|
|
5
5
|
const badgeVariants = cva("relative inline-flex shrink-0 items-center justify-center gap-1 whitespace-nowrap rounded-sm border border-transparent font-medium outline-none transition-shadow focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1 focus-visible:ring-offset-background disabled:pointer-events-none disabled:opacity-64 [&_svg:not([class*='size-'])]:size-3 [&_svg]:pointer-events-none [&_svg]:shrink-0 [button,a&]:cursor-pointer [button,a&]:pointer-coarse:after:absolute [button,a&]:pointer-coarse:after:size-full [button,a&]:pointer-coarse:after:min-h-11 [button,a&]:pointer-coarse:after:min-w-11", {
|
|
6
6
|
defaultVariants: {
|
|
7
7
|
size: "default",
|
package/dist/button.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { mergeProps } from "@base-ui-components/react/merge-props";
|
|
2
2
|
import { useRender } from "@base-ui-components/react/use-render";
|
|
3
3
|
import { cva } from "class-variance-authority";
|
|
4
|
-
import { cn } from "
|
|
4
|
+
import { cn } from "./lib/utils.js";
|
|
5
5
|
const buttonVariants = cva("relative inline-flex shrink-0 cursor-pointer items-center justify-center gap-2 whitespace-nowrap rounded-lg border bg-clip-padding font-medium text-sm outline-none transition-shadow before:pointer-events-none before:absolute before:inset-0 before:rounded-[calc(var(--radius-lg)-1px)] pointer-coarse:after:absolute pointer-coarse:after:size-full pointer-coarse:after:min-h-11 pointer-coarse:after:min-w-11 focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1 focus-visible:ring-offset-background disabled:pointer-events-none disabled:opacity-64 [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0", {
|
|
6
6
|
defaultVariants: {
|
|
7
7
|
size: "default",
|
package/dist/card.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { cn } from "
|
|
2
|
+
import { cn } from "./lib/utils.js";
|
|
3
3
|
function Card({ className, ...props }) {
|
|
4
4
|
return /*#__PURE__*/ jsx("div", {
|
|
5
5
|
className: cn("relative flex flex-col gap-6 rounded-2xl border bg-card bg-clip-padding py-6 text-card-foreground shadow-xs before:pointer-events-none before:absolute before:inset-0 before:rounded-[calc(var(--radius-2xl)-1px)] before:shadow-[0_1px_--theme(--color-black/4%)] dark:bg-clip-border dark:before:shadow-[0_-1px_--theme(--color-white/8%)]", className),
|
package/dist/checkbox-group.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { CheckboxGroup } from "@base-ui-components/react/checkbox-group";
|
|
3
|
-
import { cn } from "
|
|
3
|
+
import { cn } from "./lib/utils.js";
|
|
4
4
|
function checkbox_group_CheckboxGroup({ className, ...props }) {
|
|
5
5
|
return /*#__PURE__*/ jsx(CheckboxGroup, {
|
|
6
6
|
className: cn("flex flex-col items-start gap-3", className),
|
package/dist/checkbox.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Checkbox } from "@base-ui-components/react/checkbox";
|
|
3
|
-
import { cn } from "
|
|
3
|
+
import { cn } from "./lib/utils.js";
|
|
4
4
|
function checkbox_Checkbox({ className, ...props }) {
|
|
5
5
|
return /*#__PURE__*/ jsx(Checkbox.Root, {
|
|
6
6
|
className: cn("relative inline-flex size-4 shrink-0 items-center justify-center rounded-lg border border-input bg-background bg-clip-padding shadow-xs outline-none ring-ring transition-shadow before:pointer-events-none before:absolute before:inset-0 before:rounded-[calc(0.25rem-1px)] not-disabled:not-data-checked:not-aria-invalid:before:shadow-[0_1px_--theme(--color-black/4%)] focus-visible:ring-2 focus-visible:ring-offset-1 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-64 aria-invalid:border-destructive/36 focus-visible:aria-invalid:border-destructive/64 focus-visible:aria-invalid:ring-destructive/48 dark:not-data-checked:bg-input/32 dark:bg-clip-border dark:aria-invalid:ring-destructive/24 dark:not-disabled:not-data-checked:not-aria-invalid:before:shadow-[0_-1px_--theme(--color-white/8%)] [&:is(:disabled,[data-checked],[aria-invalid])]:shadow-none", className),
|
package/dist/combobox.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { Combobox } from "@base-ui-components/react/combobox";
|
|
3
3
|
import { ChevronsUpDownIcon, XIcon } from "lucide-react";
|
|
4
4
|
import { createContext, useContext, useRef } from "react";
|
|
5
|
-
import { cn } from "
|
|
5
|
+
import { cn } from "./lib/utils.js";
|
|
6
6
|
import { Input } from "./input.js";
|
|
7
7
|
import { ScrollArea } from "./scroll-area.js";
|
|
8
8
|
const ComboboxContext = /*#__PURE__*/ createContext({
|
package/dist/dialog.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Dialog } from "@base-ui-components/react/dialog";
|
|
3
3
|
import { XIcon } from "lucide-react";
|
|
4
|
-
import { cn } from "
|
|
4
|
+
import { cn } from "./lib/utils.js";
|
|
5
5
|
const dialog_Dialog = Dialog.Root;
|
|
6
6
|
function DialogTrigger(props) {
|
|
7
7
|
return /*#__PURE__*/ jsx(Dialog.Trigger, {
|
package/dist/empty.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { cva } from "class-variance-authority";
|
|
3
|
-
import { cn } from "
|
|
3
|
+
import { cn } from "./lib/utils.js";
|
|
4
4
|
function Empty({ className, ...props }) {
|
|
5
5
|
return /*#__PURE__*/ jsx("div", {
|
|
6
6
|
className: cn("flex min-w-0 flex-1 flex-col items-center justify-center gap-6 text-balance rounded-xl border-dashed p-6 text-center md:p-12", className),
|
package/dist/field.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Field } from "@base-ui-components/react/field";
|
|
3
|
-
import { cn } from "
|
|
3
|
+
import { cn } from "./lib/utils.js";
|
|
4
4
|
function field_Field({ className, ...props }) {
|
|
5
5
|
return /*#__PURE__*/ jsx(Field.Root, {
|
|
6
6
|
className: cn("flex flex-col items-start gap-2", className),
|
package/dist/fieldset.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Fieldset } from "@base-ui-components/react/fieldset";
|
|
3
|
-
import { cn } from "
|
|
3
|
+
import { cn } from "./lib/utils.js";
|
|
4
4
|
function fieldset_Fieldset({ className, ...props }) {
|
|
5
5
|
return /*#__PURE__*/ jsx(Fieldset.Root, {
|
|
6
6
|
className: cn("flex w-full max-w-64 flex-col gap-6", className),
|
package/dist/form.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Form } from "@base-ui-components/react/form";
|
|
3
|
-
import { cn } from "
|
|
3
|
+
import { cn } from "./lib/utils.js";
|
|
4
4
|
function form_Form({ className, ...props }) {
|
|
5
5
|
return /*#__PURE__*/ jsx(Form, {
|
|
6
6
|
className: cn("flex w-full flex-col gap-4", className),
|
package/dist/frame.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { cn } from "
|
|
2
|
+
import { cn } from "./lib/utils.js";
|
|
3
3
|
function Frame({ className, ...props }) {
|
|
4
4
|
return /*#__PURE__*/ jsx("div", {
|
|
5
5
|
className: cn("relative flex flex-col rounded-2xl bg-muted p-1", className),
|
package/dist/group.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { mergeProps } from "@base-ui-components/react/merge-props";
|
|
3
3
|
import { useRender } from "@base-ui-components/react/use-render";
|
|
4
4
|
import { cva } from "class-variance-authority";
|
|
5
|
-
import { cn } from "
|
|
5
|
+
import { cn } from "./lib/utils.js";
|
|
6
6
|
import { Separator } from "./separator.js";
|
|
7
7
|
const groupVariants = cva("flex w-fit *:focus-visible:z-10 has-[>[data-slot=group]]:gap-2 *:has-focus-visible:z-10", {
|
|
8
8
|
defaultVariants: {
|
package/dist/input-group.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { cva } from "class-variance-authority";
|
|
3
|
-
import { cn } from "
|
|
3
|
+
import { cn } from "./lib/utils.js";
|
|
4
4
|
import { Input } from "./input.js";
|
|
5
5
|
import { Textarea } from "./textarea.js";
|
|
6
6
|
function InputGroup({ className, ...props }) {
|
package/dist/input.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Input } from "@base-ui-components/react/input";
|
|
3
|
-
import { cn } from "
|
|
3
|
+
import { cn } from "./lib/utils.js";
|
|
4
4
|
function input_Input({ className, size = "default", unstyled = false, ...props }) {
|
|
5
5
|
return /*#__PURE__*/ jsx("span", {
|
|
6
6
|
className: cn(!unstyled && "relative inline-flex w-full rounded-lg border border-input bg-background bg-clip-padding text-base/5 shadow-xs ring-ring/24 transition-shadow before:pointer-events-none before:absolute before:inset-0 before:rounded-[calc(var(--radius-lg)-1px)] not-has-disabled:not-has-focus-visible:not-has-aria-invalid:before:shadow-[0_1px_--theme(--color-black/4%)] has-focus-visible:has-aria-invalid:border-destructive/64 has-focus-visible:has-aria-invalid:ring-destructive/16 has-aria-invalid:border-destructive/36 has-focus-visible:border-ring has-disabled:opacity-64 has-[:disabled,:focus-visible,[aria-invalid]]:shadow-none has-focus-visible:ring-[3px] sm:text-sm dark:bg-input/32 dark:not-in-data-[slot=group]:bg-clip-border dark:has-aria-invalid:ring-destructive/24 dark:not-has-disabled:not-has-focus-visible:not-has-aria-invalid:before:shadow-[0_-1px_--theme(--color-white/8%)]", className) || void 0,
|
package/dist/label.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { cn } from "
|
|
2
|
+
import { cn } from "./lib/utils.js";
|
|
3
3
|
function Label({ className, ...props }) {
|
|
4
4
|
return /*#__PURE__*/ jsx("label", {
|
|
5
5
|
className: cn("inline-flex items-center gap-2 text-sm/4", className),
|
package/dist/menu.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Menu } from "@base-ui-components/react/menu";
|
|
3
3
|
import { CheckIcon, ChevronRightIcon } from "lucide-react";
|
|
4
|
-
import { cn } from "
|
|
4
|
+
import { cn } from "./lib/utils.js";
|
|
5
5
|
const menu_Menu = Menu.Root;
|
|
6
6
|
const MenuPortal = Menu.Portal;
|
|
7
7
|
function MenuTrigger(props) {
|
package/dist/number-field.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { NumberField } from "@base-ui-components/react/number-field";
|
|
3
3
|
import { MinusIcon, PlusIcon } from "lucide-react";
|
|
4
4
|
import { createContext, useContext, useId } from "react";
|
|
5
|
-
import { cn } from "
|
|
5
|
+
import { cn } from "./lib/utils.js";
|
|
6
6
|
import { Label } from "./label.js";
|
|
7
7
|
const NumberFieldContext = /*#__PURE__*/ createContext(null);
|
|
8
8
|
function number_field_NumberField({ id, className, size = "default", ...props }) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useRender } from "@base-ui-components/react/use-render";
|
|
2
2
|
import type * as React from "react";
|
|
3
|
-
import { type Button } from "
|
|
3
|
+
import { type Button } from "./button";
|
|
4
4
|
declare function Pagination({ className, ...props }: React.ComponentProps<"nav">): import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
declare function PaginationContent({ className, ...props }: React.ComponentProps<"ul">): import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
declare function PaginationItem({ ...props }: React.ComponentProps<"li">): import("react/jsx-runtime").JSX.Element;
|
package/dist/pagination.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { mergeProps } from "@base-ui-components/react/merge-props";
|
|
3
3
|
import { useRender } from "@base-ui-components/react/use-render";
|
|
4
4
|
import { ChevronLeftIcon, ChevronRightIcon, MoreHorizontalIcon } from "lucide-react";
|
|
5
|
-
import { cn } from "
|
|
5
|
+
import { cn } from "./lib/utils.js";
|
|
6
6
|
import { buttonVariants } from "./button.js";
|
|
7
7
|
function Pagination({ className, ...props }) {
|
|
8
8
|
return /*#__PURE__*/ jsx("nav", {
|
package/dist/popover.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Popover } from "@base-ui-components/react/popover";
|
|
3
|
-
import { cn } from "
|
|
3
|
+
import { cn } from "./lib/utils.js";
|
|
4
4
|
const popover_Popover = Popover.Root;
|
|
5
5
|
function PopoverTrigger(props) {
|
|
6
6
|
return /*#__PURE__*/ jsx(Popover.Trigger, {
|
package/dist/progress.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Progress } from "@base-ui-components/react/progress";
|
|
3
|
-
import { cn } from "
|
|
3
|
+
import { cn } from "./lib/utils.js";
|
|
4
4
|
function progress_Progress({ className, children, ...props }) {
|
|
5
5
|
return /*#__PURE__*/ jsx(Progress.Root, {
|
|
6
6
|
className: cn("flex w-full flex-col gap-2", className),
|
package/dist/radio-group.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Radio } from "@base-ui-components/react/radio";
|
|
3
3
|
import { RadioGroup } from "@base-ui-components/react/radio-group";
|
|
4
|
-
import { cn } from "
|
|
4
|
+
import { cn } from "./lib/utils.js";
|
|
5
5
|
function radio_group_RadioGroup({ className, ...props }) {
|
|
6
6
|
return /*#__PURE__*/ jsx(RadioGroup, {
|
|
7
7
|
className: cn("flex flex-col gap-3", className),
|
package/dist/scroll-area.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { ScrollArea } from "@base-ui-components/react/scroll-area";
|
|
3
|
-
import { cn } from "
|
|
3
|
+
import { cn } from "./lib/utils.js";
|
|
4
4
|
function scroll_area_ScrollArea({ className, children, orientation, ...props }) {
|
|
5
5
|
return /*#__PURE__*/ jsxs(ScrollArea.Root, {
|
|
6
6
|
className: "min-h-0",
|
package/dist/select.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Select } from "@base-ui-components/react/select";
|
|
3
3
|
import { ChevronDownIcon, ChevronUpIcon, ChevronsUpDownIcon } from "lucide-react";
|
|
4
|
-
import { cn } from "
|
|
4
|
+
import { cn } from "./lib/utils.js";
|
|
5
5
|
const select_Select = Select.Root;
|
|
6
6
|
function SelectTrigger({ className, size = "default", children, ...props }) {
|
|
7
7
|
return /*#__PURE__*/ jsxs(Select.Trigger, {
|
package/dist/separator.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Separator } from "@base-ui-components/react/separator";
|
|
3
|
-
import { cn } from "
|
|
3
|
+
import { cn } from "./lib/utils.js";
|
|
4
4
|
function separator_Separator({ className, orientation = "horizontal", ...props }) {
|
|
5
5
|
return /*#__PURE__*/ jsx(Separator, {
|
|
6
6
|
className: cn("shrink-0 bg-border data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:w-px data-[orientation=vertical]:not-[[class^='h-']]:not-[[class*='_h-']]:self-stretch", className),
|
package/dist/sheet.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { Dialog } from "@base-ui-components/react/dialog";
|
|
3
3
|
import { cva } from "class-variance-authority";
|
|
4
4
|
import { XIcon } from "lucide-react";
|
|
5
|
-
import { cn } from "
|
|
5
|
+
import { cn } from "./lib/utils.js";
|
|
6
6
|
const Sheet = Dialog.Root;
|
|
7
7
|
function SheetTrigger(props) {
|
|
8
8
|
return /*#__PURE__*/ jsx(Dialog.Trigger, {
|
package/dist/skeleton.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { cn } from "
|
|
2
|
+
import { cn } from "./lib/utils.js";
|
|
3
3
|
function Skeleton({ className, ...props }) {
|
|
4
4
|
return /*#__PURE__*/ jsx("div", {
|
|
5
5
|
className: cn("animate-skeleton rounded-sm [--skeleton-highlight:--alpha(var(--color-white)/64%)] [background:linear-gradient(120deg,transparent_40%,var(--skeleton-highlight),transparent_60%)_var(--color-muted)_0_0_/_200%_100%_fixed] dark:[--skeleton-highlight:--alpha(var(--color-white)/4%)]", className),
|
package/dist/slider.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Slider } from "@base-ui-components/react/slider";
|
|
3
3
|
import { useMemo } from "react";
|
|
4
|
-
import { cn } from "
|
|
4
|
+
import { cn } from "./lib/utils.js";
|
|
5
5
|
function slider_Slider({ className, children, defaultValue, value, min = 0, max = 100, ...props }) {
|
|
6
6
|
const _values = useMemo(()=>{
|
|
7
7
|
if (void 0 !== value) return Array.isArray(value) ? value : [
|
package/dist/spinner.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Loader2Icon } from "lucide-react";
|
|
3
|
-
import { cn } from "
|
|
3
|
+
import { cn } from "./lib/utils.js";
|
|
4
4
|
function Spinner({ className, ...props }) {
|
|
5
5
|
return /*#__PURE__*/ jsx(Loader2Icon, {
|
|
6
6
|
"aria-label": "Loading",
|
package/dist/switch.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Switch } from "@base-ui-components/react/switch";
|
|
3
|
-
import { cn } from "
|
|
3
|
+
import { cn } from "./lib/utils.js";
|
|
4
4
|
function switch_Switch({ className, ...props }) {
|
|
5
5
|
return /*#__PURE__*/ jsx(Switch.Root, {
|
|
6
6
|
className: cn("group/switch inset-shadow-[0_1px_--theme(--color-black/4%)] inline-flex h-4.5 w-7.5 shrink-0 items-center rounded-full p-px outline-none transition-all focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-64 data-checked:bg-primary data-unchecked:bg-input", className),
|
package/dist/table.js
CHANGED
package/dist/tabs.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Tabs } from "@base-ui-components/react/tabs";
|
|
3
|
-
import { cn } from "
|
|
3
|
+
import { cn } from "./lib/utils.js";
|
|
4
4
|
function tabs_Tabs({ className, ...props }) {
|
|
5
5
|
return /*#__PURE__*/ jsx(Tabs.Root, {
|
|
6
6
|
className: cn("flex flex-col gap-2 data-[orientation=vertical]:flex-row", className),
|
package/dist/textarea.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Field } from "@base-ui-components/react/field";
|
|
3
3
|
import { mergeProps } from "@base-ui-components/react/merge-props";
|
|
4
|
-
import { cn } from "
|
|
4
|
+
import { cn } from "./lib/utils.js";
|
|
5
5
|
function Textarea({ className, size = "default", unstyled = false, ...props }) {
|
|
6
6
|
return /*#__PURE__*/ jsx("span", {
|
|
7
7
|
className: cn(!unstyled && "relative inline-flex w-full rounded-lg border border-input bg-background bg-clip-padding text-base shadow-xs ring-ring/24 transition-shadow before:pointer-events-none before:absolute before:inset-0 before:rounded-[calc(var(--radius-lg)-1px)] has-focus-visible:has-aria-invalid:border-destructive/64 has-focus-visible:has-aria-invalid:ring-destructive/16 has-aria-invalid:border-destructive/36 has-focus-visible:border-ring has-disabled:opacity-64 has-[:disabled,:focus-visible,[aria-invalid]]:shadow-none has-focus-visible:ring-[3px] not-has-disabled:has-not-focus-visible:not-has-aria-invalid:before:shadow-[0_1px_--theme(--color-black/4%)] sm:text-sm dark:bg-input/32 dark:bg-clip-border dark:has-aria-invalid:ring-destructive/24 dark:not-has-disabled:has-not-focus-visible:not-has-aria-invalid:before:shadow-[0_-1px_--theme(--color-white/8%)]", className) || void 0,
|
|
@@ -2,8 +2,8 @@ import type { Toggle as TogglePrimitive } from "@base-ui-components/react/toggle
|
|
|
2
2
|
import { ToggleGroup as ToggleGroupPrimitive } from "@base-ui-components/react/toggle-group";
|
|
3
3
|
import type { VariantProps } from "class-variance-authority";
|
|
4
4
|
import * as React from "react";
|
|
5
|
-
import { Separator } from "
|
|
6
|
-
import { type toggleVariants } from "
|
|
5
|
+
import { Separator } from "./separator";
|
|
6
|
+
import { type toggleVariants } from "./toggle";
|
|
7
7
|
declare function ToggleGroup({ className, variant, size, orientation, children, ...props }: ToggleGroupPrimitive.Props & VariantProps<typeof toggleVariants>): import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
declare function Toggle({ className, children, variant, size, ...props }: TogglePrimitive.Props & VariantProps<typeof toggleVariants>): import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
declare function ToggleGroupSeparator({ className, orientation, ...props }: {
|
package/dist/toggle-group.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { ToggleGroup } from "@base-ui-components/react/toggle-group";
|
|
3
3
|
import { createContext, useContext } from "react";
|
|
4
|
-
import { cn } from "
|
|
4
|
+
import { cn } from "./lib/utils.js";
|
|
5
5
|
import { Separator } from "./separator.js";
|
|
6
6
|
import { Toggle } from "./toggle.js";
|
|
7
7
|
const ToggleGroupContext = /*#__PURE__*/ createContext({
|
package/dist/toggle.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Toggle } from "@base-ui-components/react/toggle";
|
|
3
3
|
import { cva } from "class-variance-authority";
|
|
4
|
-
import { cn } from "
|
|
4
|
+
import { cn } from "./lib/utils.js";
|
|
5
5
|
const toggleVariants = cva("relative inline-flex shrink-0 cursor-pointer select-none items-center justify-center gap-2 whitespace-nowrap rounded-lg border font-medium text-sm outline-none transition-shadow before:pointer-events-none before:absolute before:inset-0 before:rounded-[calc(var(--radius-lg)-1px)] pointer-coarse:after:absolute pointer-coarse:after:size-full pointer-coarse:after:min-h-11 pointer-coarse:after:min-w-11 hover:bg-accent/50 focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1 focus-visible:ring-offset-background disabled:pointer-events-none disabled:opacity-64 data-pressed:bg-accent data-pressed:text-accent-foreground data-pressed:transition-none dark:data-pressed:bg-input/80 dark:hover:bg-accent [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0", {
|
|
6
6
|
defaultVariants: {
|
|
7
7
|
size: "default",
|
package/dist/toolbar.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Toolbar } from "@base-ui-components/react/toolbar";
|
|
3
|
-
import { cn } from "
|
|
3
|
+
import { cn } from "./lib/utils.js";
|
|
4
4
|
function toolbar_Toolbar({ className, ...props }) {
|
|
5
5
|
return /*#__PURE__*/ jsx(Toolbar.Root, {
|
|
6
6
|
className: cn("relative flex gap-2 rounded-xl border bg-card bg-clip-padding p-1 text-card-foreground", className),
|
package/dist/tooltip.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Tooltip } from "@base-ui-components/react/tooltip";
|
|
3
|
-
import { cn } from "
|
|
3
|
+
import { cn } from "./lib/utils.js";
|
|
4
4
|
const TooltipProvider = Tooltip.Provider;
|
|
5
5
|
const tooltip_Tooltip = Tooltip.Root;
|
|
6
6
|
function TooltipTrigger(props) {
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@biotechusa/pdo-ui",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
7
|
-
"types": "./dist/
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
8
|
"import": "./dist/index.js"
|
|
9
9
|
},
|
|
10
10
|
"./dist/index.css": {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"default": "./dist/styles.css"
|
|
15
15
|
}
|
|
16
16
|
},
|
|
17
|
-
"types": "./dist/
|
|
17
|
+
"types": "./dist/index.d.ts",
|
|
18
18
|
"files": [
|
|
19
19
|
"dist"
|
|
20
20
|
],
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|