@astral/features 3.117.0 → 3.118.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.
@@ -622,65 +622,25 @@ export declare const StyledListItemIcon: import("@emotion/styled").StyledCompone
622
622
  }, "ref"> & import("react").RefAttributes<HTMLLIElement> & {
623
623
  theme?: import("@emotion/react").Theme | undefined;
624
624
  }, {}, {}>;
625
- export declare const GroupMenuItem: import("@emotion/styled").StyledComponent<{
626
- autoFocus?: boolean | undefined;
627
- classes?: Partial<import("@mui/material").MenuItemClasses> | undefined;
628
- dense?: boolean | undefined;
629
- disabled?: boolean | undefined;
630
- disableGutters?: boolean | undefined;
631
- divider?: boolean | undefined;
632
- selected?: boolean | undefined;
633
- sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
634
- } & Omit<{
635
- action?: import("react").Ref<import("@mui/material").ButtonBaseActions> | undefined;
636
- centerRipple?: boolean | undefined;
637
- children?: import("react").ReactNode;
638
- classes?: Partial<import("@mui/material").ButtonBaseClasses> | undefined;
639
- disabled?: boolean | undefined;
640
- disableRipple?: boolean | undefined;
641
- disableTouchRipple?: boolean | undefined;
642
- focusRipple?: boolean | undefined;
643
- focusVisibleClassName?: string | undefined;
644
- LinkComponent?: import("react").ElementType<any> | undefined;
645
- onFocusVisible?: import("react").FocusEventHandler<any> | undefined;
646
- sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
647
- tabIndex?: number | undefined;
648
- TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
649
- touchRippleRef?: import("react").Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
650
- }, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
625
+ export declare const GroupMenuItem: import("@emotion/styled").StyledComponent<import("@astral/ui").WithoutEmotionSpecific<import("@mui/material").MenuItemProps> & {
626
+ disabledReason?: string | undefined;
627
+ tooltipPlacement?: "bottom" | "left" | "right" | "top" | "bottom-end" | "bottom-start" | "left-end" | "left-start" | "right-end" | "right-start" | "top-end" | "top-start" | undefined;
628
+ component?: import("react").ElementType | undefined;
629
+ href?: string | undefined;
630
+ } & Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
651
631
  ref?: ((instance: HTMLLIElement | null) => void) | import("react").RefObject<HTMLLIElement> | null | undefined;
652
- }, "disabled" | "action" | "divider" | "sx" | "children" | "autoFocus" | "tabIndex" | keyof import("@mui/material/OverridableComponent").CommonProps | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "selected" | "dense" | "disableGutters"> & {
632
+ } & import("react").RefAttributes<HTMLLIElement> & {
653
633
  theme?: import("@emotion/react").Theme | undefined;
654
634
  } & {
655
635
  checked?: boolean | undefined;
656
636
  }, {}, {}>;
657
- export declare const Content: import("@emotion/styled").StyledComponent<{
658
- autoFocus?: boolean | undefined;
659
- classes?: Partial<import("@mui/material").MenuItemClasses> | undefined;
660
- dense?: boolean | undefined;
661
- disabled?: boolean | undefined;
662
- disableGutters?: boolean | undefined;
663
- divider?: boolean | undefined;
664
- selected?: boolean | undefined;
665
- sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
666
- } & Omit<{
667
- action?: import("react").Ref<import("@mui/material").ButtonBaseActions> | undefined;
668
- centerRipple?: boolean | undefined;
669
- children?: import("react").ReactNode;
670
- classes?: Partial<import("@mui/material").ButtonBaseClasses> | undefined;
671
- disabled?: boolean | undefined;
672
- disableRipple?: boolean | undefined;
673
- disableTouchRipple?: boolean | undefined;
674
- focusRipple?: boolean | undefined;
675
- focusVisibleClassName?: string | undefined;
676
- LinkComponent?: import("react").ElementType<any> | undefined;
677
- onFocusVisible?: import("react").FocusEventHandler<any> | undefined;
678
- sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
679
- tabIndex?: number | undefined;
680
- TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
681
- touchRippleRef?: import("react").Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
682
- }, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
637
+ export declare const Content: import("@emotion/styled").StyledComponent<import("@astral/ui").WithoutEmotionSpecific<import("@mui/material").MenuItemProps> & {
638
+ disabledReason?: string | undefined;
639
+ tooltipPlacement?: "bottom" | "left" | "right" | "top" | "bottom-end" | "bottom-start" | "left-end" | "left-start" | "right-end" | "right-start" | "top-end" | "top-start" | undefined;
640
+ component?: import("react").ElementType | undefined;
641
+ href?: string | undefined;
642
+ } & Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
683
643
  ref?: ((instance: HTMLLIElement | null) => void) | import("react").RefObject<HTMLLIElement> | null | undefined;
684
- }, "disabled" | "action" | "divider" | "sx" | "children" | "autoFocus" | "tabIndex" | keyof import("@mui/material/OverridableComponent").CommonProps | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "selected" | "dense" | "disableGutters"> & {
644
+ } & import("react").RefAttributes<HTMLLIElement> & {
685
645
  theme?: import("@emotion/react").Theme | undefined;
686
646
  }, {}, {}>;
@@ -622,65 +622,25 @@ export declare const StyledListItemIcon: import("@emotion/styled").StyledCompone
622
622
  }, "ref"> & import("react").RefAttributes<HTMLLIElement> & {
623
623
  theme?: import("@emotion/react").Theme | undefined;
624
624
  }, {}, {}>;
625
- export declare const GroupMenuItem: import("@emotion/styled").StyledComponent<{
626
- autoFocus?: boolean | undefined;
627
- classes?: Partial<import("@mui/material").MenuItemClasses> | undefined;
628
- dense?: boolean | undefined;
629
- disabled?: boolean | undefined;
630
- disableGutters?: boolean | undefined;
631
- divider?: boolean | undefined;
632
- selected?: boolean | undefined;
633
- sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
634
- } & Omit<{
635
- action?: import("react").Ref<import("@mui/material").ButtonBaseActions> | undefined;
636
- centerRipple?: boolean | undefined;
637
- children?: import("react").ReactNode;
638
- classes?: Partial<import("@mui/material").ButtonBaseClasses> | undefined;
639
- disabled?: boolean | undefined;
640
- disableRipple?: boolean | undefined;
641
- disableTouchRipple?: boolean | undefined;
642
- focusRipple?: boolean | undefined;
643
- focusVisibleClassName?: string | undefined;
644
- LinkComponent?: import("react").ElementType<any> | undefined;
645
- onFocusVisible?: import("react").FocusEventHandler<any> | undefined;
646
- sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
647
- tabIndex?: number | undefined;
648
- TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
649
- touchRippleRef?: import("react").Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
650
- }, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
625
+ export declare const GroupMenuItem: import("@emotion/styled").StyledComponent<import("@astral/ui").WithoutEmotionSpecific<import("@mui/material").MenuItemProps> & {
626
+ disabledReason?: string | undefined;
627
+ tooltipPlacement?: "bottom" | "left" | "right" | "top" | "bottom-end" | "bottom-start" | "left-end" | "left-start" | "right-end" | "right-start" | "top-end" | "top-start" | undefined;
628
+ component?: import("react").ElementType | undefined;
629
+ href?: string | undefined;
630
+ } & Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
651
631
  ref?: ((instance: HTMLLIElement | null) => void) | import("react").RefObject<HTMLLIElement> | null | undefined;
652
- }, "disabled" | "action" | "divider" | "sx" | "children" | "autoFocus" | "tabIndex" | keyof import("@mui/material/OverridableComponent").CommonProps | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "selected" | "dense" | "disableGutters"> & {
632
+ } & import("react").RefAttributes<HTMLLIElement> & {
653
633
  theme?: import("@emotion/react").Theme | undefined;
654
634
  } & {
655
635
  checked?: boolean | undefined;
656
636
  }, {}, {}>;
657
- export declare const Content: import("@emotion/styled").StyledComponent<{
658
- autoFocus?: boolean | undefined;
659
- classes?: Partial<import("@mui/material").MenuItemClasses> | undefined;
660
- dense?: boolean | undefined;
661
- disabled?: boolean | undefined;
662
- disableGutters?: boolean | undefined;
663
- divider?: boolean | undefined;
664
- selected?: boolean | undefined;
665
- sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
666
- } & Omit<{
667
- action?: import("react").Ref<import("@mui/material").ButtonBaseActions> | undefined;
668
- centerRipple?: boolean | undefined;
669
- children?: import("react").ReactNode;
670
- classes?: Partial<import("@mui/material").ButtonBaseClasses> | undefined;
671
- disabled?: boolean | undefined;
672
- disableRipple?: boolean | undefined;
673
- disableTouchRipple?: boolean | undefined;
674
- focusRipple?: boolean | undefined;
675
- focusVisibleClassName?: string | undefined;
676
- LinkComponent?: import("react").ElementType<any> | undefined;
677
- onFocusVisible?: import("react").FocusEventHandler<any> | undefined;
678
- sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
679
- tabIndex?: number | undefined;
680
- TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
681
- touchRippleRef?: import("react").Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
682
- }, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
637
+ export declare const Content: import("@emotion/styled").StyledComponent<import("@astral/ui").WithoutEmotionSpecific<import("@mui/material").MenuItemProps> & {
638
+ disabledReason?: string | undefined;
639
+ tooltipPlacement?: "bottom" | "left" | "right" | "top" | "bottom-end" | "bottom-start" | "left-end" | "left-start" | "right-end" | "right-start" | "top-end" | "top-start" | undefined;
640
+ component?: import("react").ElementType | undefined;
641
+ href?: string | undefined;
642
+ } & Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
683
643
  ref?: ((instance: HTMLLIElement | null) => void) | import("react").RefObject<HTMLLIElement> | null | undefined;
684
- }, "disabled" | "action" | "divider" | "sx" | "children" | "autoFocus" | "tabIndex" | keyof import("@mui/material/OverridableComponent").CommonProps | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "selected" | "dense" | "disableGutters"> & {
644
+ } & import("react").RefAttributes<HTMLLIElement> & {
685
645
  theme?: import("@emotion/react").Theme | undefined;
686
646
  }, {}, {}>;
@@ -4,7 +4,12 @@ export declare const StyledMenu: import("@emotion/styled").StyledComponent<impor
4
4
  } & {
5
5
  theme?: import("@emotion/react").Theme | undefined;
6
6
  }, {}, {}>;
7
- export declare const StyledMenuItem: import("@mui/material").ExtendButtonBase<import("@mui/material").MenuItemTypeMap<{}, "li">>;
7
+ export declare const StyledMenuItem: <TComponent extends import("react").ElementType>(props: import("@astral/ui").WithoutEmotionSpecific<import("@mui/material").MenuItemProps> & {
8
+ disabledReason?: string | undefined;
9
+ tooltipPlacement?: "bottom" | "left" | "right" | "top" | "bottom-end" | "bottom-start" | "left-end" | "left-start" | "right-end" | "right-start" | "top-end" | "top-start" | undefined;
10
+ component?: TComponent | undefined;
11
+ href?: string | undefined;
12
+ } & import("react").ComponentPropsWithRef<import("react").ElementType extends TComponent ? "li" : TComponent> & import("react").RefAttributes<HTMLLIElement>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | null;
8
13
  export declare const Logo: import("@emotion/styled").StyledComponent<{
9
14
  theme?: import("@emotion/react").Theme | undefined;
10
15
  as?: import("react").ElementType<any> | undefined;
package/package.json CHANGED
@@ -2,9 +2,9 @@
2
2
  "name": "@astral/features",
3
3
  "browser": "./index.js",
4
4
  "main": "./node/index.js",
5
- "version": "3.117.0",
5
+ "version": "3.118.0",
6
6
  "dependencies": {
7
- "@astral/ui": "^3.117.0",
7
+ "@astral/ui": "^3.118.0",
8
8
  "mobx": "^6.8.0",
9
9
  "mobx-react-lite": "^3.4.0",
10
10
  "@astral/cryptopro-cades": "^1.5.1"
@@ -4,7 +4,12 @@ export declare const StyledMenu: import("@emotion/styled").StyledComponent<impor
4
4
  } & {
5
5
  theme?: import("@emotion/react").Theme | undefined;
6
6
  }, {}, {}>;
7
- export declare const StyledMenuItem: import("@mui/material").ExtendButtonBase<import("@mui/material").MenuItemTypeMap<{}, "li">>;
7
+ export declare const StyledMenuItem: <TComponent extends import("react").ElementType>(props: import("@astral/ui").WithoutEmotionSpecific<import("@mui/material").MenuItemProps> & {
8
+ disabledReason?: string | undefined;
9
+ tooltipPlacement?: "bottom" | "left" | "right" | "top" | "bottom-end" | "bottom-start" | "left-end" | "left-start" | "right-end" | "right-start" | "top-end" | "top-start" | undefined;
10
+ component?: TComponent | undefined;
11
+ href?: string | undefined;
12
+ } & import("react").ComponentPropsWithRef<import("react").ElementType extends TComponent ? "li" : TComponent> & import("react").RefAttributes<HTMLLIElement>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | null;
8
13
  export declare const Logo: import("@emotion/styled").StyledComponent<{
9
14
  theme?: import("@emotion/react").Theme | undefined;
10
15
  as?: import("react").ElementType<any> | undefined;