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 e}from"@mui/material";const i=({children:i,...m})=>r(e,{...m,children:i});export{i as Paper};
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.17";export{o as SAGE_NEXUS_UI_VERSION};
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
- declare const Paper: ({ children, ...rest }: PaperProps) => react.JSX.Element;
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 = PaperProps;
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<PaperProps, "children"> & {
1061
+ type PaperAsyncProps = Omit<NexusPaperProps, "children"> & {
1058
1062
  title: string;
1059
1063
  titleComponent?: "h2" | "h3" | "h4";
1060
1064
  titleSx?: SxProps<Theme>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "it-data-nexus-ui-library",
3
- "version": "2.10.17",
3
+ "version": "2.10.18",
4
4
  "description": "Nexus core components",
5
5
  "license": "ISC",
6
6
  "author": "emsmart-sage",