@webdevarif/dashui 0.1.4 → 0.1.6

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/index.d.mts CHANGED
@@ -328,13 +328,15 @@ interface AuthShellProps {
328
328
  children: React.ReactNode;
329
329
  /** Optional background pattern — 'dots' | 'grid' | 'none' */
330
330
  pattern?: 'dots' | 'grid' | 'none';
331
+ maxWidth?: string;
331
332
  }
332
- declare function AuthShell({ children, pattern }: AuthShellProps): react_jsx_runtime.JSX.Element;
333
+ declare function AuthShell({ children, pattern, maxWidth }: AuthShellProps): react_jsx_runtime.JSX.Element;
333
334
 
334
335
  interface AuthCardProps {
335
336
  children: React.ReactNode;
337
+ padding?: string;
336
338
  }
337
- declare function AuthCard({ children }: AuthCardProps): react_jsx_runtime.JSX.Element;
339
+ declare function AuthCard({ children, padding }: AuthCardProps): react_jsx_runtime.JSX.Element;
338
340
 
339
341
  interface AuthLogoProps {
340
342
  /** App name shown next to the logo mark */
package/dist/index.d.ts CHANGED
@@ -328,13 +328,15 @@ interface AuthShellProps {
328
328
  children: React.ReactNode;
329
329
  /** Optional background pattern — 'dots' | 'grid' | 'none' */
330
330
  pattern?: 'dots' | 'grid' | 'none';
331
+ maxWidth?: string;
331
332
  }
332
- declare function AuthShell({ children, pattern }: AuthShellProps): react_jsx_runtime.JSX.Element;
333
+ declare function AuthShell({ children, pattern, maxWidth }: AuthShellProps): react_jsx_runtime.JSX.Element;
333
334
 
334
335
  interface AuthCardProps {
335
336
  children: React.ReactNode;
337
+ padding?: string;
336
338
  }
337
- declare function AuthCard({ children }: AuthCardProps): react_jsx_runtime.JSX.Element;
339
+ declare function AuthCard({ children, padding }: AuthCardProps): react_jsx_runtime.JSX.Element;
338
340
 
339
341
  interface AuthLogoProps {
340
342
  /** App name shown next to the logo mark */
package/dist/index.js CHANGED
@@ -1568,7 +1568,7 @@ function usePagination(total, pageSize = 20) {
1568
1568
 
1569
1569
  // src/components/auth/AuthShell.tsx
1570
1570
  var import_jsx_runtime32 = require("react/jsx-runtime");
1571
- function AuthShell({ children, pattern = "dots" }) {
1571
+ function AuthShell({ children, pattern = "dots", maxWidth = "520px" }) {
1572
1572
  return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
1573
1573
  "div",
1574
1574
  {
@@ -1612,7 +1612,7 @@ function AuthShell({ children, pattern = "dots" }) {
1612
1612
  }
1613
1613
  }
1614
1614
  ),
1615
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("div", { style: { position: "relative", zIndex: 1, width: "100%", maxWidth: "440px" }, children })
1615
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("div", { style: { position: "relative", zIndex: 1, width: "100%", maxWidth }, children })
1616
1616
  ]
1617
1617
  }
1618
1618
  );
@@ -1620,7 +1620,7 @@ function AuthShell({ children, pattern = "dots" }) {
1620
1620
 
1621
1621
  // src/components/auth/AuthCard.tsx
1622
1622
  var import_jsx_runtime33 = require("react/jsx-runtime");
1623
- function AuthCard({ children }) {
1623
+ function AuthCard({ children, padding = "24px 28px" }) {
1624
1624
  return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
1625
1625
  "div",
1626
1626
  {
@@ -1629,7 +1629,7 @@ function AuthCard({ children }) {
1629
1629
  border: "1px solid var(--border)",
1630
1630
  borderRadius: "calc(var(--radius, 0.5rem) * 1.5)",
1631
1631
  boxShadow: "0 4px 32px rgba(0,0,0,0.06), 0 1px 4px rgba(0,0,0,0.04)",
1632
- padding: "36px 40px",
1632
+ padding,
1633
1633
  width: "100%"
1634
1634
  },
1635
1635
  children