@useloops/design-system 1.4.160 → 1.4.162
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/esm/index.js +2 -2
- package/dist/index.d.ts +7 -4
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -5,7 +5,9 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
5
5
|
import * as _emotion_styled from '@emotion/styled';
|
|
6
6
|
import * as _mui_system from '@mui/system';
|
|
7
7
|
import { Theme as Theme$1 } from '@mui/material/styles';
|
|
8
|
+
import { NavigationSizing as NavigationSizing$1 } from 'Platform/Navigation/Navigation';
|
|
8
9
|
import { NumericFormatProps } from 'react-number-format';
|
|
10
|
+
import { PopupState } from 'material-ui-popup-state/hooks';
|
|
9
11
|
import { SurfaceProps as SurfaceProps$1 } from 'WebCore/Surface';
|
|
10
12
|
import { UniqueIdentifier } from '@dnd-kit/core';
|
|
11
13
|
import { SubmitHandler } from 'react-hook-form';
|
|
@@ -478,12 +480,13 @@ declare const Markdown: (props: any) => react_jsx_runtime.JSX.Element;
|
|
|
478
480
|
type NavigationSizing = 'sm' | 'lg';
|
|
479
481
|
interface NavigationProps {
|
|
480
482
|
isMobile?: boolean;
|
|
483
|
+
logoLink?: string;
|
|
481
484
|
nudgeProps: NudgeProps$1;
|
|
482
485
|
primaryMenuItemProps: MenuItemProps[];
|
|
483
486
|
secondaryMenuItemProps: MenuItemProps[];
|
|
484
487
|
sizing?: NavigationSizing;
|
|
485
488
|
tertiaryMenuItemProps: MenuItemProps[];
|
|
486
|
-
|
|
489
|
+
toggleMenuOnClick?: () => void;
|
|
487
490
|
userMenuProps: UserMenuProps$1;
|
|
488
491
|
}
|
|
489
492
|
interface MenuItemProps {
|
|
@@ -529,7 +532,7 @@ interface NudgeProps extends PropsWithChildren {
|
|
|
529
532
|
description: string;
|
|
530
533
|
notification?: boolean;
|
|
531
534
|
title: string;
|
|
532
|
-
navigationSizing: NavigationSizing;
|
|
535
|
+
navigationSizing: NavigationSizing$1;
|
|
533
536
|
}
|
|
534
537
|
declare const Nudge: FunctionComponent<NudgeProps>;
|
|
535
538
|
|
|
@@ -563,7 +566,7 @@ interface PopperProps {
|
|
|
563
566
|
transitionFadeProps?: Pick<FadeProps, 'easing' | 'timeout' | 'appear' | 'enter' | 'exit'>;
|
|
564
567
|
surfaceProps?: SurfaceProps$1;
|
|
565
568
|
bindOn?: BindOn[];
|
|
566
|
-
trigger: ReactNode;
|
|
569
|
+
trigger: (state: PopupState) => ReactNode;
|
|
567
570
|
children: ReactElement;
|
|
568
571
|
}
|
|
569
572
|
declare const Popper: ({ bindOn, trigger, children, ...props }: PopperProps) => react_jsx_runtime.JSX.Element;
|
|
@@ -1345,4 +1348,4 @@ declare module '@mui/system' {
|
|
|
1345
1348
|
}
|
|
1346
1349
|
}
|
|
1347
1350
|
|
|
1348
|
-
export { AnnualController, type AnnualControllerProps, AuthContainerSurface, type AuthContainerSurfaceProps, AuthFormHeader, type AuthFormHeaderProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Button, type ButtonProps, CheckboxGroup as CheckBoxGroup, Checkbox, type CheckboxGroupProps, type CheckboxProps, ColorBackgroundContainer, type ColorBackgroundContainerProps, CustomField, type CustomFieldProps, DEFAULT_MAX_INPUT_LENGTH, Differential, type DifferentialProps, DropdownMenu, type FieldType, type FieldTypes, FormControlLabel, FormGenerator, type FormGeneratorConfig, type FormGeneratorHandler, GridOverlay, type GridOverlayProps, Html, type HtmlProps, Icon, IconButton, IconButtonGroup, type IconButtonProps, InputFieldBase, type InputFieldBaseProps, InputLabel, InputLabelHelp, type InputLabelHelpProps, type InputLabelProps, Likert, type LikertProps, Link, type LinkProps, Loader, type LoaderProps, Logo, Markdown, MenuButton, type MenuButtonProps, Navigation, type NavigationProps, Nudge, type NudgeProps, NumberField, type NumberFieldProps, Pill, type PillProps, PlanFeatureTable, type PlanFeatureTableProps, PlanTierCard, type PlanTierCardProps, PlanTierCardScale, type PlanTierCardScaleProps, Popper, type PopperProps, Portal, type PortalProps, PoweredByWatermarkLogo, Progress, type ProgressProps, Radio, RadioGroup, type RadioGroupProps, type RadioProps, Rank, type RankProps, RichTextField, type RichTextFieldProps, Select, type SelectProps, Slider, type SliderProps, SortableList, type SortableListProps, StarRating, type StarRatingProps, Surface, type SurfaceProps, Switch, type SwitchProps, Textarea as TextArea, TextBarDivider, type TextBarDividerProps, TextField, type TextFieldProps, type TextareaProps, ThemeProvider, TickGroup, type TickGroupProps, Toast, type ToastProps, Tooltip, type TooltipProps, Typography, type TypographyProps, UserMenu, type UserMenuProps, backgroundCreator, chooseArticle, defaultInputValidation, emailValidation, passwordValidation, useDropdownMenu };
|
|
1351
|
+
export { AnnualController, type AnnualControllerProps, AuthContainerSurface, type AuthContainerSurfaceProps, AuthFormHeader, type AuthFormHeaderProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Button, type ButtonProps, CheckboxGroup as CheckBoxGroup, Checkbox, type CheckboxGroupProps, type CheckboxProps, ColorBackgroundContainer, type ColorBackgroundContainerProps, CustomField, type CustomFieldProps, DEFAULT_MAX_INPUT_LENGTH, Differential, type DifferentialProps, DropdownMenu, type FieldType, type FieldTypes, FormControlLabel, FormGenerator, type FormGeneratorConfig, type FormGeneratorHandler, GridOverlay, type GridOverlayProps, Html, type HtmlProps, Icon, IconButton, IconButtonGroup, type IconButtonProps, InputFieldBase, type InputFieldBaseProps, InputLabel, InputLabelHelp, type InputLabelHelpProps, type InputLabelProps, Likert, type LikertProps, Link, type LinkProps, Loader, type LoaderProps, Logo, Markdown, MenuButton, type MenuButtonProps, Navigation, type NavigationProps, type NavigationSizing, Nudge, type NudgeProps, NumberField, type NumberFieldProps, Pill, type PillProps, PlanFeatureTable, type PlanFeatureTableProps, PlanTierCard, type PlanTierCardProps, PlanTierCardScale, type PlanTierCardScaleProps, Popper, type PopperProps, Portal, type PortalProps, PoweredByWatermarkLogo, Progress, type ProgressProps, Radio, RadioGroup, type RadioGroupProps, type RadioProps, Rank, type RankProps, RichTextField, type RichTextFieldProps, Select, type SelectProps, Slider, type SliderProps, SortableList, type SortableListProps, StarRating, type StarRatingProps, Surface, type SurfaceProps, Switch, type SwitchProps, Textarea as TextArea, TextBarDivider, type TextBarDividerProps, TextField, type TextFieldProps, type TextareaProps, ThemeProvider, TickGroup, type TickGroupProps, Toast, type ToastProps, Tooltip, type TooltipProps, Typography, type TypographyProps, UserMenu, type UserMenuProps, backgroundCreator, chooseArticle, defaultInputValidation, emailValidation, passwordValidation, useDropdownMenu };
|