@majoo-ui/react 1.61.12-rc.20 → 1.61.12-rc.22

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.
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React, { ComponentPropsWithoutRef } from 'react';
2
2
  import * as AccordionPrimitive from '@radix-ui/react-accordion';
3
3
  import { BaseRadixNoCss, BaseRadixProps } from '../../type/base.types';
4
4
  declare type AccordionPrimitiveProps = AccordionPrimitive.AccordionSingleProps | AccordionPrimitive.AccordionMultipleProps;
@@ -9,7 +9,7 @@ declare type AccordionProps = {
9
9
  children: React.ReactNode;
10
10
  } & AccordionPrimitiveProps & BaseRadixProps;
11
11
  export declare const Accordion: React.ForwardRefExoticComponent<AccordionProps & React.RefAttributes<HTMLDivElement>>;
12
- declare type AccordionTriggerPrimitiveProps = AccordionPrimitive.AccordionTriggerProps & React.HTMLAttributes<HTMLButtonElement>;
12
+ declare type AccordionTriggerPrimitiveProps = Omit<AccordionPrimitive.AccordionTriggerProps, keyof ComponentPropsWithoutRef<'button'>>;
13
13
  interface AccordionTriggerProps extends AccordionTriggerPrimitiveProps, BaseRadixProps {
14
14
  /**
15
15
  * If the value is 'false' then it will hide the arrow icon.
@@ -1,7 +1,12 @@
1
1
  import React from 'react';
2
2
  import { Dialog } from '../../';
3
- import { PointerDownOutsideEvent, FocusOutsideEvent } from '@radix-ui/react-dismissable-layer';
4
3
  import type { DialogContentProps } from '..';
4
+ declare type PointerDownOutsideEvent = CustomEvent<{
5
+ originalEvent: PointerEvent;
6
+ }>;
7
+ declare type FocusOutsideEvent = CustomEvent<{
8
+ originalEvent: FocusEvent;
9
+ }>;
5
10
  export declare const PageDialogFooter: import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
6
11
  sm: "(min-width: 359px)";
7
12
  md: "(min-width: 767px)";
@@ -202,6 +202,7 @@ export declare const TableHeaderCellContainer: import("@stitches/react/types/sty
202
202
  isMobile?: boolean | "true" | undefined;
203
203
  isToggleable?: boolean | "true" | undefined;
204
204
  isToggled?: boolean | "true" | undefined;
205
+ darkTheme?: boolean | "true" | undefined;
205
206
  }, {
206
207
  sm: "(min-width: 359px)";
207
208
  md: "(min-width: 767px)";
@@ -687,6 +688,102 @@ export declare const TableRow: import("@stitches/react/types/styled-component").
687
688
  backgroundColor: string;
688
689
  };
689
690
  }>>;
691
+ export declare const Cell: import("@stitches/react/types/styled-component").StyledComponent<"td", {}, {
692
+ sm: "(min-width: 359px)";
693
+ md: "(min-width: 767px)";
694
+ lg: "(min-width: 1023px)";
695
+ xl: "(min-width: 1199px)";
696
+ '2xl': "(min-width: 1399px)";
697
+ '3xl': "(min-width: 1600px)";
698
+ }, import("@stitches/react/types/css-util").CSS<{
699
+ sm: "(min-width: 359px)";
700
+ md: "(min-width: 767px)";
701
+ lg: "(min-width: 1023px)";
702
+ xl: "(min-width: 1199px)";
703
+ '2xl': "(min-width: 1399px)";
704
+ '3xl': "(min-width: 1600px)";
705
+ }, {
706
+ colors: unknown;
707
+ space: unknown;
708
+ shadows: unknown;
709
+ fontSizes: unknown;
710
+ fonts: unknown;
711
+ lineHeights: unknown;
712
+ letterSpacings: unknown;
713
+ radii: unknown;
714
+ sizes: unknown;
715
+ zIndices: unknown;
716
+ }, import("@stitches/react/types/config").DefaultThemeMap, {
717
+ m: (value: {
718
+ readonly [$$ScaleValue]: "space";
719
+ }) => {
720
+ margin: {
721
+ readonly [$$ScaleValue]: "space";
722
+ };
723
+ };
724
+ mt: (value: {
725
+ readonly [$$ScaleValue]: "space";
726
+ }) => {
727
+ marginTop: {
728
+ readonly [$$ScaleValue]: "space";
729
+ };
730
+ };
731
+ mr: (value: {
732
+ readonly [$$ScaleValue]: "space";
733
+ }) => {
734
+ marginRight: {
735
+ readonly [$$ScaleValue]: "space";
736
+ };
737
+ };
738
+ mb: (value: {
739
+ readonly [$$ScaleValue]: "space";
740
+ }) => {
741
+ marginBottom: {
742
+ readonly [$$ScaleValue]: "space";
743
+ };
744
+ };
745
+ ml: (value: {
746
+ readonly [$$ScaleValue]: "space";
747
+ }) => {
748
+ marginLeft: {
749
+ readonly [$$ScaleValue]: "space";
750
+ };
751
+ };
752
+ mx: (value: {
753
+ readonly [$$ScaleValue]: "space";
754
+ }) => {
755
+ marginLeft: {
756
+ readonly [$$ScaleValue]: "space";
757
+ };
758
+ marginRight: {
759
+ readonly [$$ScaleValue]: "space";
760
+ };
761
+ };
762
+ my: (value: {
763
+ readonly [$$ScaleValue]: "space";
764
+ }) => {
765
+ marginTop: {
766
+ readonly [$$ScaleValue]: "space";
767
+ };
768
+ marginBottom: {
769
+ readonly [$$ScaleValue]: "space";
770
+ };
771
+ };
772
+ size: (value: {
773
+ readonly [$$PropertyValue]: "width";
774
+ }) => {
775
+ width: {
776
+ readonly [$$PropertyValue]: "width";
777
+ };
778
+ height: {
779
+ readonly [$$PropertyValue]: "width";
780
+ };
781
+ };
782
+ subtleColor: (value: string) => {
783
+ color: string;
784
+ backgroundColor: string;
785
+ };
786
+ }>>;
690
787
  export declare const TableCell: import("@stitches/react/types/styled-component").StyledComponent<"td", {
691
788
  subCell?: boolean | "true" | undefined;
692
789
  headerSubCell?: boolean | "true" | undefined;
@@ -618,7 +618,17 @@ export declare const darkTheme: string & {
618
618
  } & import("@stitches/react/types/stitches").ThemeTokens<{
619
619
  colors: {
620
620
  bgWhite: string;
621
+ bgGray: string;
621
622
  bgDark: string;
623
+ textPrimary: string;
624
+ textSecondary: string;
625
+ bgHeader: string;
626
+ btnPrimary: string;
627
+ btnSecondary: string;
628
+ primary50: string;
629
+ primary100: string;
630
+ iconPrimary: string;
631
+ bgBorder: string;
622
632
  };
623
633
  }, "">;
624
634
  export declare const colors: any;