@mcurros2/microm 1.1.486-0 → 1.1.488-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.
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { AlertProps, DefaultMantineColor, ProgressProps, MantineNumberSize, ButtonProps, Variants, StepperProps, SelectItem, BadgeVariant, MantineSize, CardProps, MantineTheme, ImageProps, MantineColor, BoxProps, TextareaProps, TextInputProps, PasswordInputProps, NotificationProps, CheckboxProps, ActionIconProps, NumberInputProps, MultiSelectProps, SimpleGridProps, OverlayProps, TransitionProps, AccordionProps, PinInputProps, SwitchProps, Radio, SelectProps, GroupProps, AvatarProps, AnchorProps, AutocompleteItem, AutocompleteProps, DefaultProps, BadgeProps, BreadcrumbsProps, MenuProps as _MenuProps1, TitleOrder, CSSObject, StackProps, NavbarProps, TooltipProps } from "@mantine/core";
1
+ import { AlertProps, DefaultMantineColor, ProgressProps, ModalProps, MantineNumberSize, ButtonProps, Variants, StepperProps, SelectItem, BadgeVariant, MantineSize, CardProps, MantineTheme, ImageProps, MantineColor, BoxProps, TextareaProps, TextInputProps, PasswordInputProps, NotificationProps, CheckboxProps, ActionIconProps, NumberInputProps, MultiSelectProps, SimpleGridProps, OverlayProps, TransitionProps, AccordionProps, PinInputProps, SwitchProps, Radio, SelectProps, GroupProps, AvatarProps, AnchorProps, AutocompleteItem, AutocompleteProps, DefaultProps, BadgeProps, BreadcrumbsProps, MenuProps as _MenuProps1, TitleOrder, CSSObject, StackProps, Navbar, NavbarProps, TooltipProps } from "@mantine/core";
2
2
  import React, { JSX, JSXElementConstructor, ReactElement, ReactNode, PropsWithChildren, RefAttributes, ForwardRefExoticComponent, Dispatch, RefObject, SetStateAction, ComponentType, CSSProperties, MutableRefObject, useState, KeyboardEvent, ComponentPropsWithoutRef, Context, ReactPortal } from "react";
3
3
  import { hasLength, isNotEmpty, matches, UseFormReturnType } from "@mantine/form";
4
4
  import { ModalSettings } from "@mantine/modals/lib/context";
@@ -152,10 +152,8 @@ export interface LoginValues {
152
152
  rememberme: boolean;
153
153
  }
154
154
  export function Login(props: LoginOptions): JSX.Element;
155
- export interface LoginModalProps {
155
+ export interface LoginModalProps extends Omit<ModalProps, 'opened'> {
156
156
  client: MicroMClient;
157
- title?: string;
158
- onClose?: () => void;
159
157
  onLoggedIn: (claims?: Partial<MicroMClientClaimTypes>) => void;
160
158
  checkOnInit?: boolean;
161
159
  }
@@ -4748,6 +4746,11 @@ export interface MenuCardNavBarPanelProps extends Omit<NavbarProps, 'children' |
4748
4746
  itemProps?: NavBarItemOverrides;
4749
4747
  /** Overrides applied to the search item only, after itemProps. Replaces the default object entirely when set per instance */
4750
4748
  searchItemProps?: NavBarItemOverrides;
4749
+ footer?: ReactNode;
4750
+ spacing?: MantineNumberSize;
4751
+ logoSectionProps: ComponentPropsWithoutRef<typeof Navbar.Section>;
4752
+ itemsSectionProps: ComponentPropsWithoutRef<typeof Navbar.Section>;
4753
+ footerSectionProps: ComponentPropsWithoutRef<typeof Navbar.Section>;
4751
4754
  }
4752
4755
  export const MenuCardNavBarPanelDefaultProps: Partial<MenuCardNavBarPanelProps>;
4753
4756
  export function MenuCardNavBarPanel(props: MenuCardNavBarPanelProps): JSX.Element;