it-data-nexus-ui-library 2.10.17 → 2.10.18
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 +1 @@
|
|
|
1
|
-
import{jsx as r}from"react/jsx-runtime";import{Paper as
|
|
1
|
+
import{jsx as r}from"react/jsx-runtime";import{Paper as i}from"@mui/material";const s=({display:s,sx:a,children:e,...m})=>r(i,{...m,sx:[...s?[{borderRadius:{xs:2,sm:4}}]:[],...Array.isArray(a)?a:a?[a]:[]],children:e});export{s as Paper};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const o="2.10.
|
|
1
|
+
const o="2.10.18";export{o as SAGE_NEXUS_UI_VERSION};
|
package/dist/index.d.ts
CHANGED
|
@@ -871,12 +871,16 @@ declare const GlassCard: ({ sx, ...rest }: GlassCardProps) => react.JSX.Element;
|
|
|
871
871
|
type AiGlassCardProps = GlassCardProps;
|
|
872
872
|
declare const AiGlassCard: ({ sx, children, ...rest }: AiGlassCardProps) => react.JSX.Element;
|
|
873
873
|
|
|
874
|
-
|
|
874
|
+
interface NexusPaperProps extends PaperProps {
|
|
875
|
+
/** Applies the display-scale border radius (16px mobile / 32px desktop) for marketing and website contexts. */
|
|
876
|
+
display?: boolean;
|
|
877
|
+
}
|
|
878
|
+
declare const Paper: ({ display, sx, children, ...rest }: NexusPaperProps) => react.JSX.Element;
|
|
875
879
|
|
|
876
880
|
type AiPaperProps = PaperProps;
|
|
877
881
|
declare const AiPaper: ({ sx, children, ...rest }: AiPaperProps) => react.JSX.Element;
|
|
878
882
|
|
|
879
|
-
type GlassPaperProps =
|
|
883
|
+
type GlassPaperProps = NexusPaperProps;
|
|
880
884
|
declare const GlassPaper: ({ sx, children, ...rest }: GlassPaperProps) => react.JSX.Element;
|
|
881
885
|
|
|
882
886
|
type AiGlassPaperProps = GlassPaperProps;
|
|
@@ -1054,7 +1058,7 @@ type GlassPaperAsyncProps = Omit<GlassPaperProps, "children"> & {
|
|
|
1054
1058
|
};
|
|
1055
1059
|
declare const GlassPaperAsync: ({ title, description, actions, isLoading, isError, errorMessage, children, ...rest }: GlassPaperAsyncProps) => react.JSX.Element;
|
|
1056
1060
|
|
|
1057
|
-
type PaperAsyncProps = Omit<
|
|
1061
|
+
type PaperAsyncProps = Omit<NexusPaperProps, "children"> & {
|
|
1058
1062
|
title: string;
|
|
1059
1063
|
titleComponent?: "h2" | "h3" | "h4";
|
|
1060
1064
|
titleSx?: SxProps<Theme>;
|