@eodparks/ui 0.2.0 → 0.2.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.d.ts CHANGED
@@ -2,7 +2,7 @@ import { PartProps } from "@ui-sdk/react/primitive";
2
2
  import { ReactNode } from "react";
3
3
  type Variant = "info" | "success" | "warning" | "destructive";
4
4
  declare const alertVariants: (props?: ({
5
- variant?: "destructive" | "info" | "success" | "warning" | null | undefined;
5
+ variant?: "destructive" | "success" | "warning" | "info" | null | undefined;
6
6
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
7
  type AlertProps = Omit<PartProps<"div">, "children"> & {
8
8
  variant?: Variant;
package/dist/avatar.d.ts CHANGED
@@ -4,7 +4,7 @@ import { ComponentProps, ReactNode } from "react";
4
4
  type Size = "sm" | "md" | "lg";
5
5
  type Status = "online" | "away" | "busy" | "offline";
6
6
  declare const avatarVariants: (props?: ({
7
- size?: "sm" | "lg" | "md" | null | undefined;
7
+ size?: "sm" | "md" | "lg" | null | undefined;
8
8
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
9
9
  type AvatarProps = Omit<ComponentProps<typeof Avatar$1>, "children"> & {
10
10
  children?: ReactNode;
package/dist/badge.d.ts CHANGED
@@ -2,7 +2,7 @@ import { PartProps } from "@ui-sdk/react/primitive";
2
2
  import { VariantProps } from "class-variance-authority";
3
3
  import { ReactNode } from "react";
4
4
  declare const badgeVariants: (props?: ({
5
- variant?: "default" | "secondary" | "outline" | "destructive" | "info" | "success" | "warning" | "highlight" | null | undefined;
5
+ variant?: "default" | "secondary" | "outline" | "destructive" | "success" | "warning" | "info" | "highlight" | null | undefined;
6
6
  subtle?: boolean | null | undefined;
7
7
  shape?: "label" | "count" | "dot" | null | undefined;
8
8
  offset?: boolean | null | undefined;
@@ -2,8 +2,8 @@ import { Button as Button$1 } from "@ui-sdk/react/button";
2
2
  import { VariantProps } from "class-variance-authority";
3
3
  import { ComponentProps, ReactNode } from "react";
4
4
  declare const buttonVariants: (props?: ({
5
- variant?: "link" | "default" | "secondary" | "outline" | "ghost" | "destructive" | null | undefined;
6
- size?: "default" | "sm" | "lg" | "xs" | "icon" | "icon-sm" | "icon-xs" | null | undefined;
5
+ variant?: "link" | "default" | "secondary" | "outline" | "destructive" | "ghost" | null | undefined;
6
+ size?: "sm" | "lg" | "default" | "xs" | "icon" | "icon-sm" | "icon-xs" | null | undefined;
7
7
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
8
8
  type UIButtonProps = ComponentProps<typeof Button$1>;
9
9
  type ButtonProps = Omit<UIButtonProps, "children"> & VariantProps<typeof buttonVariants> & {
package/dist/button.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { n as ButtonProps, r as buttonVariants, t as Button } from "./button-C2CCxHu1.js";
1
+ import { n as ButtonProps, r as buttonVariants, t as Button } from "./button-Bu72BGjv.js";
2
2
  export { Button, type ButtonProps, buttonVariants };
package/dist/command.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { Command as Command$1, CommandController, CommandEmpty as CommandEmpty$1, CommandGroup as CommandGroup$1, CommandInput as CommandInput$1, CommandItem as CommandItem$1, CommandList as CommandList$1, CommandPage as CommandPage$1, CommandSeparator as CommandSeparator$1, CommandShortcut as CommandShortcut$1, CommandStatus as CommandStatus$1, createCommandController } from "@ui-sdk/react/command";
2
2
  import { DialogController } from "@ui-sdk/react/dialog";
3
3
  import { ComponentProps, ReactNode } from "react";
4
- import { r as Dialog$1 } from "./index-Ct4mPvuB.js";
4
+ import { r as Dialog$1 } from "./index-C-tNDS8C.js";
5
5
  type CommandProps = ComponentProps<typeof Command$1>;
6
6
  declare function Command({ className, ...props }: CommandProps): import("react").JSX.Element;
7
7
  type CommandInputProps = ComponentProps<typeof CommandInput$1>;
package/dist/dialog.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { _ as DialogTriggerProps, a as DialogClose, c as DialogContentProps, d as DialogFooter, f as DialogHeader, g as DialogTrigger, h as DialogTitleProps, i as DialogBody, l as DialogDescription, m as DialogTitle, n as createDialogController, o as DialogCloseProps, p as DialogProps, r as Dialog, s as DialogContent, t as DialogController, u as DialogDescriptionProps, v as dialogContentVariants } from "./index-Ct4mPvuB.js";
1
+ import { _ as DialogTriggerProps, a as DialogClose, c as DialogContentProps, d as DialogFooter, f as DialogHeader, g as DialogTrigger, h as DialogTitleProps, i as DialogBody, l as DialogDescription, m as DialogTitle, n as createDialogController, o as DialogCloseProps, p as DialogProps, r as Dialog, s as DialogContent, t as DialogController, u as DialogDescriptionProps, v as dialogContentVariants } from "./index-C-tNDS8C.js";
2
2
  export { Dialog, DialogBody, DialogClose, type DialogCloseProps, DialogContent, type DialogContentProps, type DialogController, DialogDescription, type DialogDescriptionProps, DialogFooter, DialogHeader, type DialogProps, DialogTitle, type DialogTitleProps, DialogTrigger, type DialogTriggerProps, createDialogController, dialogContentVariants };
@@ -1,4 +1,4 @@
1
- import { n as ButtonProps } from "./button-C2CCxHu1.js";
1
+ import { n as ButtonProps } from "./button-Bu72BGjv.js";
2
2
  type IconButtonProps = Omit<ButtonProps, "size" | "variant" | "aria-label"> & {
3
3
  /** Names the button and is shown as its tooltip. */
4
4
  "aria-label": string;
@@ -7,7 +7,7 @@ declare function Dialog({ onOpenChange, ...props }: DialogProps): import("react"
7
7
  type DialogTriggerProps = ComponentProps<typeof DialogTrigger$1>;
8
8
  declare function DialogTrigger(props: DialogTriggerProps): import("react").JSX.Element;
9
9
  declare const dialogContentVariants: (props?: ({
10
- size?: "sm" | "lg" | "md" | "xl" | null | undefined;
10
+ size?: "sm" | "md" | "lg" | "xl" | null | undefined;
11
11
  inline?: boolean | null | undefined;
12
12
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
13
13
  type UIContentProps = ComponentProps<typeof DialogContent$1>;
@@ -3,7 +3,7 @@ import { VariantProps } from "class-variance-authority";
3
3
  import { PartProps } from "@ui-sdk/react/primitive";
4
4
  import { ComponentProps } from "react";
5
5
  declare const groupVariants: (props?: ({
6
- size?: "default" | "sm" | "lg" | null | undefined;
6
+ size?: "sm" | "lg" | "default" | null | undefined;
7
7
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
8
8
  type InputGroupProps = Omit<ComponentProps<typeof InputGroup$1>, "size"> & VariantProps<typeof groupVariants>;
9
9
  declare function InputGroup({ size, className, ...props }: InputGroupProps): import("react").JSX.Element;
package/dist/input.d.ts CHANGED
@@ -2,7 +2,7 @@ import { Input as Input$1, InputClear as InputClear$1 } from "@ui-sdk/react/inpu
2
2
  import { VariantProps } from "class-variance-authority";
3
3
  import { ComponentProps } from "react";
4
4
  declare const inputVariants: (props?: ({
5
- size?: "default" | "sm" | "lg" | null | undefined;
5
+ size?: "sm" | "lg" | "default" | null | undefined;
6
6
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
7
  type InputProps = Omit<ComponentProps<typeof Input$1>, "size"> & VariantProps<typeof inputVariants> & {
8
8
  /** Adds a button that empties the input; it shows only while there is text. */
@@ -2,7 +2,7 @@ import { PasswordInput as PasswordInput$1, PasswordInputControl } from "@ui-sdk/
2
2
  import { VariantProps } from "class-variance-authority";
3
3
  import { ComponentProps } from "react";
4
4
  declare const variants: (props?: ({
5
- size?: "default" | "sm" | "lg" | null | undefined;
5
+ size?: "sm" | "lg" | "default" | null | undefined;
6
6
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
7
  type RootProps = Omit<ComponentProps<typeof PasswordInput$1>, "children" | "size">;
8
8
  type ControlProps = Pick<ComponentProps<typeof PasswordInputControl>, "id" | "placeholder" | "maxLength" | "minLength" | "pattern" | "autoFocus" | "ref" | "onBlur" | "onFocus" | "aria-label" | "aria-labelledby" | "aria-describedby" | "aria-invalid" | "aria-required">;
package/dist/sheet.d.ts CHANGED
@@ -7,7 +7,7 @@ declare function Sheet({ side, ...props }: SheetProps): import("react").JSX.Elem
7
7
  type SheetTriggerProps = ComponentProps<typeof DrawerTrigger>;
8
8
  declare function SheetTrigger(props: SheetTriggerProps): import("react").JSX.Element;
9
9
  declare const sheetContentVariants: (props?: ({
10
- size?: "sm" | "lg" | "md" | null | undefined;
10
+ size?: "sm" | "md" | "lg" | null | undefined;
11
11
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
12
12
  type UIContentProps = ComponentProps<typeof DrawerContent>;
13
13
  type SheetContentProps = UIContentProps & VariantProps<typeof sheetContentVariants> & {
package/dist/spinner.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { PartProps } from "@ui-sdk/react/primitive";
2
2
  import { VariantProps } from "class-variance-authority";
3
3
  declare const spinnerVariants: (props?: ({
4
- size?: "sm" | "lg" | "md" | null | undefined;
4
+ size?: "sm" | "md" | "lg" | null | undefined;
5
5
  layout?: "inline" | "block" | null | undefined;
6
6
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
7
  type SpinnerProps = PartProps<"span"> & VariantProps<typeof spinnerVariants> & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eodparks/ui",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "EOD shared React components on UI SDK.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -217,7 +217,7 @@
217
217
  "./package.json": "./package.json"
218
218
  },
219
219
  "dependencies": {
220
- "@eodparks/tokens": "0.2.0",
220
+ "@eodparks/tokens": "0.2.1",
221
221
  "@tanstack/react-table": "^8.21.3",
222
222
  "@ui-sdk/core": "0.1.0-beta.24",
223
223
  "@ui-sdk/react": "0.1.0-beta.24",