@overmap-ai/blocks 1.0.25-component-forms.0 → 1.0.25-table-row-loading.0

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.
Files changed (51) hide show
  1. package/dist/Badge/index.d.ts +1 -1
  2. package/dist/BaseMenuGroups/BaseItemGroup/BaseItemGroup.d.ts +1 -1
  3. package/dist/BaseMenuGroups/BaseItemGroup/index.d.ts +1 -1
  4. package/dist/BaseMenuGroups/BaseItemGroup/typings.d.ts +1 -1
  5. package/dist/BaseMenuGroups/BaseMultiSelectGroup/BaseMultiSelectGroup.d.ts +1 -1
  6. package/dist/BaseMenuGroups/BaseMultiSelectGroup/index.d.ts +1 -1
  7. package/dist/BaseMenuGroups/BaseMultiSelectGroup/typings.d.ts +1 -1
  8. package/dist/BaseMenuGroups/BaseSelectGroup/BaseSelectGroup.d.ts +1 -1
  9. package/dist/BaseMenuGroups/BaseSelectGroup/index.d.ts +1 -1
  10. package/dist/BaseMenuGroups/BaseSelectGroup/typings.d.ts +1 -1
  11. package/dist/BaseMenuGroups/BaseSubMenuGroup/BaseSubMenuGroup.d.ts +2 -2
  12. package/dist/BaseMenuGroups/BaseSubMenuGroup/index.d.ts +1 -1
  13. package/dist/BaseMenuGroups/BaseSubMenuGroup/typings.d.ts +1 -1
  14. package/dist/BaseMenuGroups/index.d.ts +1 -1
  15. package/dist/BaseMenuGroups/typings.d.ts +2 -7
  16. package/dist/Buttons/index.d.ts +4 -4
  17. package/dist/Checkbox/typings.d.ts +0 -2
  18. package/dist/ContextActionMenu/ContextActionMenu.d.ts +8 -0
  19. package/dist/ContextActionMenu/index.d.ts +1 -0
  20. package/dist/ContextMenu/ContextMenuGroups.d.ts +6 -0
  21. package/dist/ContextMenu/Root.d.ts +24 -0
  22. package/dist/ContextMenu/index.d.ts +9 -0
  23. package/dist/ContextMultiSelectMenu/ContextMultiSelectMenu.d.ts +9 -0
  24. package/dist/ContextMultiSelectMenu/index.d.ts +1 -0
  25. package/dist/ContextSelectMenu/ContextSelectMenu.d.ts +9 -0
  26. package/dist/ContextSelectMenu/index.d.ts +1 -0
  27. package/dist/DropdownItemMenu/DropdownItemMenu.d.ts +3 -2
  28. package/dist/DropdownItemMenu/index.d.ts +0 -1
  29. package/dist/DropdownMenu/DropdownMenu.d.ts +2 -1
  30. package/dist/DropdownMenu/index.d.ts +1 -3
  31. package/dist/DropdownMultiSelect/DropdownMultiSelect.d.ts +2 -1
  32. package/dist/DropdownMultiSelect/index.d.ts +0 -1
  33. package/dist/DropdownSelect/DropdownSelect.d.ts +3 -2
  34. package/dist/DropdownSelect/index.d.ts +1 -2
  35. package/dist/Layout/SlideOutTrigger.d.ts +1 -0
  36. package/dist/Popover/index.d.ts +1 -0
  37. package/dist/Select/index.d.ts +1 -1
  38. package/dist/Separator/index.d.ts +1 -1
  39. package/dist/SlideOutV3/SlideOutV3.d.ts +7 -2
  40. package/dist/Switch/index.d.ts +1 -1
  41. package/dist/Table/typings.d.ts +1 -0
  42. package/dist/TextArea/index.d.ts +1 -1
  43. package/dist/ToggleGroup/index.d.ts +1 -1
  44. package/dist/blocks.js +219 -54
  45. package/dist/blocks.js.map +1 -1
  46. package/dist/blocks.umd.cjs +216 -51
  47. package/dist/blocks.umd.cjs.map +1 -1
  48. package/dist/index.d.ts +5 -0
  49. package/dist/style.css +11 -6
  50. package/dist/typings.d.ts +2 -2
  51. package/package.json +1 -1
@@ -1,2 +1,2 @@
1
1
  export * from "./Badge";
2
- export * from "./typings.ts";
2
+ export * from "./typings";
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
- import { BaseItemGroupElementProps, BaseItemGroupProps } from "./typings.ts";
2
+ import { BaseItemGroupElementProps, BaseItemGroupProps } from "./typings";
3
3
  export declare const BaseItemGroup: import("react").NamedExoticComponent<BaseItemGroupProps & BaseItemGroupElementProps>;
@@ -1,2 +1,2 @@
1
1
  export * from "./BaseItemGroup";
2
- export type { BaseItemProps, BaseItemGroupProps, BaseItemGroupElementProps } from "./typings.ts";
2
+ export type { BaseItemProps, BaseItemGroupProps, BaseItemGroupElementProps } from "./typings";
@@ -1,6 +1,6 @@
1
1
  import { FC, ReactElement } from "react";
2
2
  import { MenuGroupProps, MenuItemProps } from "@radix-ui/react-menu";
3
- import { BaseMenuItemProps, BaseMenuGroupProps, TextFilterProps } from "../typings.ts";
3
+ import { BaseMenuItemProps, BaseMenuGroupProps, TextFilterProps } from "../typings";
4
4
  export type BaseItemProps = BaseMenuItemProps & Omit<MenuItemProps, "asChild" | "content"> & {
5
5
  shortcut?: string[];
6
6
  itemDecorator?: (itemElement: ReactElement) => ReactElement;
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
- import { BaseMultiSelectGroupProps, BaseMultiSelectGroupElementProps } from "./typings.ts";
2
+ import { BaseMultiSelectGroupProps, BaseMultiSelectGroupElementProps } from "./typings";
3
3
  export declare const BaseMultiSelectGroup: import("react").NamedExoticComponent<BaseMultiSelectGroupProps & BaseMultiSelectGroupElementProps>;
@@ -1,2 +1,2 @@
1
1
  export * from "./BaseMultiSelectGroup";
2
- export type { BaseMultiSelectItemProps, BaseMultiSelectGroupProps, BaseMultiSelectGroupElementProps, } from "./typings.ts";
2
+ export * from "./typings";
@@ -1,6 +1,6 @@
1
1
  import { MenuCheckboxItemProps, MenuGroupProps, MenuItemIndicatorProps } from "@radix-ui/react-menu";
2
2
  import { FC, ReactNode } from "react";
3
- import { BaseMenuItemProps, BaseMenuGroupProps, TextFilterProps } from "../typings.ts";
3
+ import { BaseMenuItemProps, BaseMenuGroupProps, TextFilterProps } from "../typings";
4
4
  export type BaseMultiSelectItemProps = BaseMenuItemProps & Omit<MenuCheckboxItemProps, "asChild" | "content" | "checked" | "onCheckedChange"> & {
5
5
  value: string;
6
6
  };
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
- import { BaseSelectGroupProps, BaseSelectGroupElementProps } from "./typings.ts";
2
+ import { BaseSelectGroupProps, BaseSelectGroupElementProps } from "./typings";
3
3
  export declare const BaseSelectGroup: import("react").NamedExoticComponent<BaseSelectGroupProps & BaseSelectGroupElementProps>;
@@ -1,2 +1,2 @@
1
1
  export * from "./BaseSelectGroup";
2
- export type { BaseSelectItemProps, BaseSelectGroupProps, BaseSelectGroupElementProps } from "./typings.ts";
2
+ export * from "./typings";
@@ -1,6 +1,6 @@
1
1
  import { FC, ReactNode } from "react";
2
2
  import { MenuCheckboxItemProps, MenuGroupProps, MenuItemIndicatorProps } from "@radix-ui/react-menu";
3
- import { BaseMenuItemProps, BaseMenuGroupProps, TextFilterProps } from "../typings.ts";
3
+ import { BaseMenuItemProps, BaseMenuGroupProps, TextFilterProps } from "../typings";
4
4
  export type BaseSelectItemProps = BaseMenuItemProps & Omit<MenuCheckboxItemProps, "asChild" | "content"> & {
5
5
  value: string;
6
6
  };
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
- import { BaseSubMenuGroupElementProps } from "./typings.ts";
3
- export declare const BaseSubMenuGroup: import("react").NamedExoticComponent<Omit<import("../typings.ts").BaseMenuGroupProps<import("./typings.ts").BaseSubMenuItemProps>, "closeOnSelect"> & Omit<import("@radix-ui/react-menu").MenuGroupProps, "color" | "asChild"> & BaseSubMenuGroupElementProps>;
2
+ import { BaseSubMenuGroupElementProps } from "./typings";
3
+ export declare const BaseSubMenuGroup: import("react").NamedExoticComponent<Omit<import("..").BaseMenuGroupProps<import("./typings").BaseSubMenuItemProps>, "closeOnSelect"> & Omit<import("@radix-ui/react-menu").MenuGroupProps, "color" | "asChild"> & BaseSubMenuGroupElementProps>;
@@ -1,2 +1,2 @@
1
1
  export * from "./BaseSubMenuGroup";
2
- export type { BaseSubMenuGroupProps, BaseSubMenuItemProps, BaseSubMenuGroupElementProps } from "./typings.ts";
2
+ export * from "./typings";
@@ -1,6 +1,6 @@
1
1
  import { FC, ReactNode } from "react";
2
2
  import { MenuGroupProps, MenuSubContentProps, MenuSubProps, MenuSubTriggerProps } from "@radix-ui/react-menu";
3
- import { BaseMenuItemProps, BaseMenuGroupProps } from "../typings.ts";
3
+ import { BaseMenuItemProps, BaseMenuGroupProps } from "../typings";
4
4
  export type BaseSubMenuItemProps = BaseMenuItemProps & Omit<MenuSubTriggerProps, "asChild" | "content"> & {
5
5
  triggerIndicator: ReactNode;
6
6
  subContent: ReactNode;
@@ -2,4 +2,4 @@ export * from "./BaseItemGroup";
2
2
  export * from "./BaseSelectGroup";
3
3
  export * from "./BaseMultiSelectGroup";
4
4
  export * from "./BaseSubMenuGroup";
5
- export type { TextFilterProps, BaseMenuProps } from "./typings.ts";
5
+ export * from "./typings";
@@ -1,6 +1,5 @@
1
- import { ComponentProps, ReactElement, ReactNode } from "react";
2
- import { DropdownMenu as RadixDropdownMenu } from "@radix-ui/themes";
3
- import { AllOrNone } from "../utils.ts";
1
+ import { ReactElement, ReactNode } from "react";
2
+ import { AllOrNone } from "../utils";
4
3
  export interface BaseMenuGroupProps<TItemProps> {
5
4
  closeOnSelect?: boolean;
6
5
  items: TItemProps[];
@@ -30,8 +29,4 @@ export type BaseMenuProps = {
30
29
  * @default false
31
30
  */
32
31
  disabled?: boolean;
33
- /** determines on which side of the trigger the dropdown select renders on, if open space
34
- * @default "bottom"
35
- * */
36
- side?: ComponentProps<typeof RadixDropdownMenu.Content>["side"];
37
32
  };
@@ -1,4 +1,4 @@
1
- export { default as Button } from "./Button.tsx";
2
- export { default as IconButton } from "./IconButton.tsx";
3
- export type { ButtonHoverEffect } from "./typings.ts";
4
- export { divButtonProps } from "./constants.ts";
1
+ export { default as Button } from "./Button";
2
+ export { default as IconButton } from "./IconButton";
3
+ export type { ButtonHoverEffect } from "./typings";
4
+ export { divButtonProps } from "./constants";
@@ -1,6 +1,5 @@
1
1
  import React, { ReactNode, ReactElement } from "react";
2
2
  import { Checkbox as RadixCheckbox } from "@radix-ui/themes";
3
- import { FlexProps } from "../Flex";
4
3
  export type RadixCheckboxProps = React.ComponentProps<typeof RadixCheckbox>;
5
4
  export type CheckboxValue = boolean | "indeterminate";
6
5
  export interface CheckboxProps extends RadixCheckboxProps {
@@ -9,7 +8,6 @@ export interface CheckboxProps extends RadixCheckboxProps {
9
8
  label?: ReactNode;
10
9
  doesLabelCheck?: boolean;
11
10
  alwaysShow?: boolean;
12
- checkboxPosition?: FlexProps["align"];
13
11
  }
14
12
  export interface SelectAllCheckboxProps extends Omit<CheckboxProps, "checked"> {
15
13
  children: Array<ReactElement<CheckboxProps>>;
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ import { ContextMenuRootProps } from "../ContextMenu";
3
+ import { BaseItemGroupProps } from "../BaseMenuGroups";
4
+ export type ContextActionMenuProps = Omit<ContextMenuRootProps, "content"> & BaseItemGroupProps;
5
+ /** Creates a Context Menu containing "action" items only. Its desired use is for displaying a list of actions that need to be
6
+ * rendered within a Context Menu that appears upon right-clicking within its trigger element.
7
+ * It is a wrapper around the ContextMenu API's Root and ItemGroup components. */
8
+ export declare const ContextActionMenu: import("react").MemoExoticComponent<(props: ContextActionMenuProps) => import("react/jsx-runtime").JSX.Element>;
@@ -0,0 +1 @@
1
+ export * from "./ContextActionMenu";
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ import { BaseItemGroupProps, BaseMultiSelectGroupProps, BaseSelectGroupProps, BaseSubMenuGroupProps } from "../BaseMenuGroups";
3
+ export declare const ActionItemGroup: import("react").MemoExoticComponent<(props: BaseItemGroupProps) => import("react/jsx-runtime").JSX.Element>;
4
+ export declare const SelectItemGroup: import("react").MemoExoticComponent<(props: BaseSelectGroupProps) => import("react/jsx-runtime").JSX.Element>;
5
+ export declare const MultiSelectItemGroup: import("react").MemoExoticComponent<(props: BaseMultiSelectGroupProps) => import("react/jsx-runtime").JSX.Element>;
6
+ export declare const SubItemGroup: import("react").MemoExoticComponent<(props: BaseSubMenuGroupProps) => import("react/jsx-runtime").JSX.Element>;
@@ -0,0 +1,24 @@
1
+ import { PropsWithChildren, ReactNode } from "react";
2
+ import { ContextMenuContentProps, ContextMenuProps } from "@radix-ui/react-context-menu";
3
+ export interface ContextMenuRootProps extends PropsWithChildren, Omit<ContextMenuContentProps, "color" | "content"> {
4
+ /** used to disable the Context Menu from appearing on right click within its trigger element.
5
+ * @default false
6
+ * */
7
+ disabled?: boolean;
8
+ /** used to disable pointer events outside the Context Menu when its open.
9
+ * @default false
10
+ * */
11
+ modal?: ContextMenuProps["modal"];
12
+ /** content to be displayed within the Context Menu.
13
+ * The following components are recommended:
14
+ * ContextMenu.ItemGroup
15
+ * ContextMenu.SelectGroup
16
+ * ContextMenu.MultiSelectGroup
17
+ * ContextMenu.SubMenuGroup
18
+ * */
19
+ content: ReactNode;
20
+ }
21
+ /** The Root component of the ContextMenu API is simply used to render a popover when right-clicking within the
22
+ * Context Menu's trigger. Its content can be completely customized using the ```content``` prop.
23
+ * */
24
+ export declare const Root: import("react").MemoExoticComponent<(props: ContextMenuRootProps) => import("react/jsx-runtime").JSX.Element>;
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ export type { ContextMenuRootProps } from "./Root";
3
+ export declare const ContextMenu: {
4
+ Root: import("react").MemoExoticComponent<(props: import("./Root.tsx").ContextMenuRootProps) => import("react/jsx-runtime").JSX.Element>;
5
+ ActionItemGroup: import("react").MemoExoticComponent<(props: import("../index.ts").BaseItemGroupProps) => import("react/jsx-runtime").JSX.Element>;
6
+ SelectItemGroup: import("react").MemoExoticComponent<(props: import("../index.ts").BaseSelectGroupProps) => import("react/jsx-runtime").JSX.Element>;
7
+ MultiSelectItemGroup: import("react").MemoExoticComponent<(props: import("../index.ts").BaseMultiSelectGroupProps) => import("react/jsx-runtime").JSX.Element>;
8
+ SubItemGroup: import("react").MemoExoticComponent<(props: import("../index.ts").BaseSubMenuGroupProps) => import("react/jsx-runtime").JSX.Element>;
9
+ };
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ import { ContextMenuRootProps } from "../ContextMenu";
3
+ import { BaseMultiSelectGroupProps } from "../BaseMenuGroups";
4
+ export type ContextMultiSelectMenuProps = Omit<ContextMenuRootProps, "content"> & BaseMultiSelectGroupProps;
5
+ /** Creates a Context Menu displaying a list of items to select from.
6
+ * Its desired use is for displaying a list of options, where multiple items can be selected at a time,
7
+ * within a Context Menu that appears upon right-clicking within its trigger element.
8
+ * It is a wrapper around the ContextMenu API's Root and MultiSelect components. */
9
+ export declare const ContextMultiSelectMenu: import("react").MemoExoticComponent<(props: ContextMultiSelectMenuProps) => import("react/jsx-runtime").JSX.Element>;
@@ -0,0 +1 @@
1
+ export * from "./ContextMultiSelectMenu";
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ import { ContextMenuRootProps } from "../ContextMenu";
3
+ import { BaseSelectGroupProps } from "../BaseMenuGroups";
4
+ export type ContextSelectMenuProps = Omit<ContextMenuRootProps, "content"> & BaseSelectGroupProps;
5
+ /** Creates a Context Menu displaying a list of items to select from.
6
+ * Its desired use is for displaying a list of options, where only one can be selected at a time,
7
+ * within a Context Menu that appears upon right-clicking within its trigger element.
8
+ * It is a wrapper around the ContextMenu API's Root and SelectGroup components. */
9
+ export declare const ContextSelectMenu: import("react").MemoExoticComponent<(props: ContextSelectMenuProps) => import("react/jsx-runtime").JSX.Element>;
@@ -0,0 +1 @@
1
+ export * from "./ContextSelectMenu";
@@ -1,8 +1,9 @@
1
1
  import { FC } from "react";
2
- import { DropdownMenuItemGroupItemProps, DropdownMenuItemGroupProps } from "../DropdownMenu/DropdownMenuGroups.tsx";
2
+ import { DropdownMenuItemGroupItemProps, DropdownMenuItemGroupProps } from "../DropdownMenu";
3
3
  import { BaseMenuProps } from "../BaseMenuGroups";
4
+ import { DropdownMenuContentProps } from "@radix-ui/react-dropdown-menu";
4
5
  export type DropdownItemMenuItemProps = DropdownMenuItemGroupItemProps;
5
- export type DropdownItemMenuProps = DropdownMenuItemGroupProps & BaseMenuProps;
6
+ export type DropdownItemMenuProps = DropdownMenuItemGroupProps & BaseMenuProps & DropdownMenuContentProps;
6
7
  /** The DropdownItemMenu component is a user interface element that provides a list of options for the user to choose from.
7
8
  * It is commonly used in web applications to present a set of related choices in a compact and organized manner.
8
9
  * This DropdownItemMenu component is a wrapper around the Radix-UI DropdownItemMenu component that can be found here https://www.radix-ui.com/themes/docs/components/dropdown-menu */
@@ -1,2 +1 @@
1
1
  export * from "./DropdownItemMenu";
2
- export type { DropdownItemMenuProps, DropdownItemMenuItemProps } from "./DropdownItemMenu";
@@ -1,8 +1,9 @@
1
1
  import { FC, PropsWithChildren } from "react";
2
2
  import { DropdownMenuItemGroupItemProps } from "./DropdownMenuGroups.tsx";
3
3
  import { BaseMenuProps } from "../BaseMenuGroups";
4
+ import { DropdownMenuContentProps } from "@radix-ui/react-dropdown-menu";
4
5
  export type DropdownMenuItemProps = DropdownMenuItemGroupItemProps;
5
- export type DropdownMenuProps = PropsWithChildren & BaseMenuProps;
6
+ export type DropdownMenuProps = PropsWithChildren & BaseMenuProps & DropdownMenuContentProps;
6
7
  /** The DropdownMenu component is a user interface element that provides a list of options for the user to choose from.
7
8
  * It is commonly used in web applications to present a set of related choices in a compact and organized manner.
8
9
  * This DropdownMenu component is a wrapper around the Radix-UI DropdownMenu component that can be found here https://www.radix-ui.com/themes/docs/components/dropdown-menu */
@@ -1,4 +1,2 @@
1
- export { DropdownMenu } from "./DropdownMenu";
2
- export type { DropdownMenuProps, DropdownMenuItemProps } from "./DropdownMenu";
1
+ export * from "./DropdownMenu";
3
2
  export * from "./DropdownMenuGroups";
4
- export type { DropdownMenuItemGroupProps, DropdownMenuItemGroupItemProps, DropdownMenuSelectGroupProps, DropdownMenuSelectGroupItemProps, DropdownMenuMultiSelectGroupProps, DropdownMenuMultiSelectGroupItemProps, DropdownMenuSubMenuGroupProps, DropdownMenuSubMenuGroupItemProps, } from "./DropdownMenuGroups.tsx";
@@ -1,6 +1,7 @@
1
1
  import { FC } from "react";
2
2
  import { DropdownMenuMultiSelectGroupItemProps, DropdownMenuMultiSelectGroupProps } from "../DropdownMenu";
3
3
  import { BaseMenuProps } from "../BaseMenuGroups";
4
+ import { DropdownMenuContentProps } from "@radix-ui/react-dropdown-menu";
4
5
  export type DropdownMultiSelectItemProps = DropdownMenuMultiSelectGroupItemProps;
5
- export type DropdownMultiSelectProps = DropdownMenuMultiSelectGroupProps & BaseMenuProps;
6
+ export type DropdownMultiSelectProps = DropdownMenuMultiSelectGroupProps & BaseMenuProps & DropdownMenuContentProps;
6
7
  export declare const DropdownMultiSelect: FC<DropdownMultiSelectProps>;
@@ -1,2 +1 @@
1
1
  export * from "./DropdownMultiSelect";
2
- export type { DropdownMultiSelectProps, DropdownMultiSelectItemProps } from "./DropdownMultiSelect";
@@ -1,6 +1,7 @@
1
1
  import { FC } from "react";
2
- import { DropdownMenuItemGroupItemProps, DropdownMenuSelectGroupProps } from "../DropdownMenu/DropdownMenuGroups.tsx";
2
+ import { DropdownMenuItemGroupItemProps, DropdownMenuSelectGroupProps } from "../DropdownMenu";
3
3
  import { BaseMenuProps } from "../BaseMenuGroups";
4
+ import { DropdownMenuContentProps } from "@radix-ui/react-dropdown-menu";
4
5
  export type DropdownSelectItemProps = DropdownMenuItemGroupItemProps;
5
- export type DropdownSelectProps = DropdownMenuSelectGroupProps & BaseMenuProps;
6
+ export type DropdownSelectProps = DropdownMenuSelectGroupProps & BaseMenuProps & DropdownMenuContentProps;
6
7
  export declare const DropdownSelect: FC<DropdownSelectProps>;
@@ -1,2 +1 @@
1
- export { DropdownSelect } from "./DropdownSelect";
2
- export type { DropdownSelectProps, DropdownSelectItemProps } from "./DropdownSelect";
1
+ export * from "./DropdownSelect";
@@ -2,5 +2,6 @@ import { PropsWithChildren } from "react";
2
2
  import { SlideOutV3Props } from "../SlideOutV3";
3
3
  export interface SlideOutTriggerProps extends PropsWithChildren {
4
4
  side: SlideOutV3Props["side"];
5
+ type?: "toggle" | "open" | "close";
5
6
  }
6
7
  export declare const SlideOutTrigger: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<SlideOutTriggerProps & import("react").RefAttributes<HTMLButtonElement>>>;
@@ -1 +1,2 @@
1
1
  export * from "./Popover";
2
+ export * from "./typings";
@@ -1,2 +1,2 @@
1
1
  export * from "./Select";
2
- export * from "./typings.ts";
2
+ export * from "./typings";
@@ -1,2 +1,2 @@
1
1
  export * from "./Separator";
2
- export * from "./typings.ts";
2
+ export * from "./typings";
@@ -1,5 +1,5 @@
1
1
  import { PropsWithChildren, ReactNode } from "react";
2
- import { PropsWithClassNameAndStyle } from "../typings.ts";
2
+ import { PropsWithClassNameAndStyle } from "../typings";
3
3
  export interface SlideOutV3Props extends PropsWithChildren, PropsWithClassNameAndStyle {
4
4
  /** The controlled open state of the SlideOut */
5
5
  open: boolean;
@@ -8,6 +8,11 @@ export interface SlideOutV3Props extends PropsWithChildren, PropsWithClassNameAn
8
8
  * to the SlideOut component as well.
9
9
  * @default false */
10
10
  modal?: boolean;
11
+ /** hides the SlideOut and its overlay but doesn't change the open state of the SlideOut. Should be used if
12
+ * the SlideOut needs to be hidden for some reason but not triggering a close
13
+ * @default false
14
+ * */
15
+ hide?: boolean;
11
16
  /** The side the SlideOut should position on and "slide-in" from */
12
17
  side: "left" | "right";
13
18
  /** controls if the SlideOut can be resized by the user
@@ -38,7 +43,7 @@ export interface SlideOutV3Props extends PropsWithChildren, PropsWithClassNameAn
38
43
  /** overlay to be rendered when the SlideOut is open*/
39
44
  overlayComponent?: ReactNode;
40
45
  /** content to be rendered within the SlideOut */
41
- content: ReactNode;
46
+ content: ReactNode | null;
42
47
  }
43
48
  /** The SlideOut component is a UI element that allows you to create a slide-in/slide-out effect for content within
44
49
  * your application. It provides a smooth transition animation for revealing and hiding content. */
@@ -1,2 +1,2 @@
1
1
  export * from "./Switch";
2
- export * from "./typings.ts";
2
+ export * from "./typings";
@@ -34,6 +34,7 @@ export interface TableRow {
34
34
  onClick?: (row: TableRow) => void;
35
35
  className?: string;
36
36
  disabled?: boolean;
37
+ loading?: boolean;
37
38
  columns: {
38
39
  [columnId: string]: TableCell;
39
40
  };
@@ -1,2 +1,2 @@
1
1
  export * from "./TextArea";
2
- export * from "./typings.ts";
2
+ export * from "./typings";
@@ -1,2 +1,2 @@
1
1
  export * from "./ToggleGroup";
2
- export * from "./typings.ts";
2
+ export * from "./typings";