@techzyapp/ui-library 1.0.36 → 1.0.37

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
- {"version":3,"file":"PageNotFound-B-Ewl9a2.cjs","sources":["../src/components/PageNotFound/PageNotFound.tsx"],"sourcesContent":["import { forwardRef, type HTMLAttributes, type ReactNode } from 'react'\nimport { type LinkProps } from '@tanstack/react-router'\nimport { useT } from '../../theme'\nimport { EmptyState, type EmptyStateSize } from '../EmptyState'\nimport { Button } from '../Button'\nimport type { IconName } from '../../icons/names'\nimport { useHomeTo } from './useHomeTo'\n\nexport interface PageNotFoundProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title' | 'color'> {\n /** Hero glyph — an `IconName`, any node, or `false` to hide it. Defaults to `SearchStatus`. */\n icon?: IconName | ReactNode | false\n /** Heading. Defaults to the localized `notFound.title`. */\n title?: ReactNode\n /** Muted description. Defaults to the localized `notFound.description`. */\n description?: ReactNode\n /** Action button label. Defaults to the localized `notFound.action`. */\n actionLabel?: ReactNode\n /** Where the action navigates. Defaults to the first allowed menu page (RBAC-aware), else `/`. */\n to?: string\n /** Show the \"back home\" action button. Defaults to `true` (hidden anyway when there's no router). */\n showAction?: boolean\n /** Faded-grid hero backdrop — passed to `EmptyState`. Defaults to `true` (its default). */\n pattern?: boolean\n /** Size — passed to `EmptyState`. Defaults to `md`. */\n size?: EmptyStateSize\n /*\n * The router's `NotFoundRouteProps`, declared so `defaultNotFoundComponent: PageNotFound` type-checks (an\n * all-optional props type that shares no field with the router's props fails TypeScript's weak-type check),\n * and destructured away so they never reach the DOM. `routeId` stays a plain `string` — a parameter that\n * accepts `string` takes the app's narrower `RouteIds<…>` union, without tying the library to its route tree.\n */\n /** Passed by TanStack Router when used as `defaultNotFoundComponent`; ignored. */\n data?: unknown\n /** Passed by TanStack Router when used as `defaultNotFoundComponent`; ignored. */\n isNotFound?: boolean\n /** Passed by TanStack Router when used as `defaultNotFoundComponent`; ignored. */\n routeId?: string\n}\n\n/**\n * The shared **404** page. Drop it straight into TanStack Router as the\n * `defaultNotFoundComponent` — zero props needed: the title/description/action strings come from the\n * built-in i18n (`useT`), so they translate with the panel language, and the action navigates to the\n * **first allowed menu page** (the same RBAC-aware target as `FirstRouteRedirect`), falling back to\n * `/`. Built on `EmptyState` (hero glyph + title + description + action, `pattern` on by default), so\n * it renders inside the `RootLayout` content area with the shell/sidebar intact. Lenient: with no\n * router context the `EmptyState` still renders, just without the action button. Token-only styling.\n *\n * @example\n * const router = createRouter({\n * routeTree,\n * defaultNotFoundComponent: PageNotFound,\n * defaultErrorComponent: PageError,\n * })\n */\nexport const PageNotFound = forwardRef<HTMLDivElement, PageNotFoundProps>(function PageNotFound(\n {\n icon = 'SearchStatus',\n title,\n description,\n actionLabel,\n to,\n showAction = true,\n // the router's props — kept off the DOM\n data: _data,\n isNotFound: _isNotFound,\n routeId: _routeId,\n ...props\n },\n ref,\n) {\n const t = useT()\n // the first allowed menu page (RBAC-aware, `/` fallback); router is undefined outside a <RouterProvider>\n const { router, homeTo: resolvedTo } = useHomeTo(to)\n\n const canNavigate = !!router && resolvedTo != null\n const action =\n showAction && canNavigate ? (\n <Button size=\"sm\" onClick={() => router.navigate({ to: resolvedTo as LinkProps['to'] })}>\n {actionLabel ?? t('notFound.action')}\n </Button>\n ) : undefined\n\n return (\n <EmptyState\n ref={ref}\n icon={icon}\n title={title ?? t('notFound.title')}\n description={description ?? t('notFound.description')}\n action={action}\n {...props}\n />\n )\n})\n"],"names":["PageNotFound","forwardRef","icon","title","description","actionLabel","to","showAction","_data","_isNotFound","_routeId","props","ref","useT","router","resolvedTo","useHomeTo","canNavigate","action","jsx","Button","EmptyState"],"mappings":"gOAuDaA,EAAeC,EAAAA,WAA8C,SACxE,CACE,KAAAC,EAAO,eACP,MAAAC,EACA,YAAAC,EACA,YAAAC,EACA,GAAAC,EACA,WAAAC,EAAa,GAEb,KAAMC,EACN,WAAYC,EACZ,QAASC,EACT,GAAGC,CACL,EACAC,EACA,CACA,MAAM,EAAIC,EAAAA,KAAA,EAEJ,CAAE,OAAAC,EAAQ,OAAQC,CAAA,EAAeC,EAAAA,UAAUV,CAAE,EAE7CW,EAAc,CAAC,CAACH,GAAUC,GAAc,KACxCG,EACJX,GAAcU,EACZE,EAAAA,IAACC,EAAAA,QAAO,KAAK,KAAK,QAAS,IAAMN,EAAO,SAAS,CAAE,GAAIC,EAA+B,EACnF,YAAe,EAAE,iBAAiB,EACrC,EACE,OAEN,OACEI,EAAAA,IAACE,EAAAA,WAAA,CACC,IAAAT,EACA,KAAAV,EACA,MAAOC,GAAS,EAAE,gBAAgB,EAClC,YAAaC,GAAe,EAAE,sBAAsB,EACpD,OAAAc,EACC,GAAGP,CAAA,CAAA,CAGV,CAAC"}
1
+ {"version":3,"file":"PageNotFound-B-Ewl9a2.cjs","sources":["../src/components/PageNotFound/PageNotFound.tsx"],"sourcesContent":["import { forwardRef, type HTMLAttributes, type ReactNode } from 'react'\nimport { type LinkProps } from '@tanstack/react-router'\nimport { useT } from '../../theme'\nimport { EmptyState, type EmptyStateSize } from '../EmptyState'\nimport { Button } from '../Button'\nimport type { IconName } from '../../icons/names'\nimport { useHomeTo } from './useHomeTo'\n\nexport interface PageNotFoundProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title' | 'color'> {\n /** Hero glyph — an `IconName`, any node, or `false` to hide it. Defaults to `SearchStatus`. */\n icon?: IconName | ReactNode | false\n /** Heading. Defaults to the localized `notFound.title`. */\n title?: ReactNode\n /** Muted description. Defaults to the localized `notFound.description`. */\n description?: ReactNode\n /** Action button label. Defaults to the localized `notFound.action`. */\n actionLabel?: ReactNode\n /** Where the action navigates. Defaults to the first allowed menu page (RBAC-aware), else `/`. */\n to?: string\n /** Show the \"back home\" action button. Defaults to `true` (hidden anyway when there's no router). */\n showAction?: boolean\n /** Faded-grid hero backdrop — passed to `EmptyState`. Defaults to `true` (its default). */\n pattern?: boolean\n /** Size — passed to `EmptyState`. Defaults to `md`. */\n size?: EmptyStateSize\n /*\n * The router's `NotFoundRouteProps`, declared so `defaultNotFoundComponent: PageNotFound` type-checks (an\n * all-optional props type that shares no field with the router's props fails TypeScript's weak-type check —\n * `data` / `isNotFound` alone satisfy it), and destructured away so they never reach the DOM.\n * `routeId` is `unknown` ON PURPOSE: the router types it `RouteIds<RegisteredRouter['routeTree']>`, and any\n * narrower type here (1.0.36 had `string`) makes the assignability check resolve that — i.e. `typeof router`\n * through the app's `Register` block — while `createRouter` is still inferring `router`: a cycle (TS7022 /\n * TS2502). `unknown` accepts it without looking. Guarded by `routerDefaults.registered.test-d.ts`.\n */\n /** Passed by TanStack Router when used as `defaultNotFoundComponent`; ignored. */\n data?: unknown\n /** Passed by TanStack Router when used as `defaultNotFoundComponent`; ignored. */\n isNotFound?: boolean\n /** Passed by TanStack Router when used as `defaultNotFoundComponent`; ignored (`unknown` — see above). */\n routeId?: unknown\n}\n\n/**\n * The shared **404** page. Drop it straight into TanStack Router as the\n * `defaultNotFoundComponent` — zero props needed: the title/description/action strings come from the\n * built-in i18n (`useT`), so they translate with the panel language, and the action navigates to the\n * **first allowed menu page** (the same RBAC-aware target as `FirstRouteRedirect`), falling back to\n * `/`. Built on `EmptyState` (hero glyph + title + description + action, `pattern` on by default), so\n * it renders inside the `RootLayout` content area with the shell/sidebar intact. Lenient: with no\n * router context the `EmptyState` still renders, just without the action button. Token-only styling.\n *\n * @example\n * const router = createRouter({\n * routeTree,\n * defaultNotFoundComponent: PageNotFound,\n * defaultErrorComponent: PageError,\n * })\n */\nexport const PageNotFound = forwardRef<HTMLDivElement, PageNotFoundProps>(function PageNotFound(\n {\n icon = 'SearchStatus',\n title,\n description,\n actionLabel,\n to,\n showAction = true,\n // the router's props — kept off the DOM\n data: _data,\n isNotFound: _isNotFound,\n routeId: _routeId,\n ...props\n },\n ref,\n) {\n const t = useT()\n // the first allowed menu page (RBAC-aware, `/` fallback); router is undefined outside a <RouterProvider>\n const { router, homeTo: resolvedTo } = useHomeTo(to)\n\n const canNavigate = !!router && resolvedTo != null\n const action =\n showAction && canNavigate ? (\n <Button size=\"sm\" onClick={() => router.navigate({ to: resolvedTo as LinkProps['to'] })}>\n {actionLabel ?? t('notFound.action')}\n </Button>\n ) : undefined\n\n return (\n <EmptyState\n ref={ref}\n icon={icon}\n title={title ?? t('notFound.title')}\n description={description ?? t('notFound.description')}\n action={action}\n {...props}\n />\n )\n})\n"],"names":["PageNotFound","forwardRef","icon","title","description","actionLabel","to","showAction","_data","_isNotFound","_routeId","props","ref","useT","router","resolvedTo","useHomeTo","canNavigate","action","jsx","Button","EmptyState"],"mappings":"gOA0DaA,EAAeC,EAAAA,WAA8C,SACxE,CACE,KAAAC,EAAO,eACP,MAAAC,EACA,YAAAC,EACA,YAAAC,EACA,GAAAC,EACA,WAAAC,EAAa,GAEb,KAAMC,EACN,WAAYC,EACZ,QAASC,EACT,GAAGC,CACL,EACAC,EACA,CACA,MAAM,EAAIC,EAAAA,KAAA,EAEJ,CAAE,OAAAC,EAAQ,OAAQC,CAAA,EAAeC,EAAAA,UAAUV,CAAE,EAE7CW,EAAc,CAAC,CAACH,GAAUC,GAAc,KACxCG,EACJX,GAAcU,EACZE,EAAAA,IAACC,EAAAA,QAAO,KAAK,KAAK,QAAS,IAAMN,EAAO,SAAS,CAAE,GAAIC,EAA+B,EACnF,YAAe,EAAE,iBAAiB,EACrC,EACE,OAEN,OACEI,EAAAA,IAACE,EAAAA,WAAA,CACC,IAAAT,EACA,KAAAV,EACA,MAAOC,GAAS,EAAE,gBAAgB,EAClC,YAAaC,GAAe,EAAE,sBAAsB,EACpD,OAAAc,EACC,GAAGP,CAAA,CAAA,CAGV,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"PageNotFound-B6jcXPba.js","sources":["../src/components/PageNotFound/PageNotFound.tsx"],"sourcesContent":["import { forwardRef, type HTMLAttributes, type ReactNode } from 'react'\nimport { type LinkProps } from '@tanstack/react-router'\nimport { useT } from '../../theme'\nimport { EmptyState, type EmptyStateSize } from '../EmptyState'\nimport { Button } from '../Button'\nimport type { IconName } from '../../icons/names'\nimport { useHomeTo } from './useHomeTo'\n\nexport interface PageNotFoundProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title' | 'color'> {\n /** Hero glyph — an `IconName`, any node, or `false` to hide it. Defaults to `SearchStatus`. */\n icon?: IconName | ReactNode | false\n /** Heading. Defaults to the localized `notFound.title`. */\n title?: ReactNode\n /** Muted description. Defaults to the localized `notFound.description`. */\n description?: ReactNode\n /** Action button label. Defaults to the localized `notFound.action`. */\n actionLabel?: ReactNode\n /** Where the action navigates. Defaults to the first allowed menu page (RBAC-aware), else `/`. */\n to?: string\n /** Show the \"back home\" action button. Defaults to `true` (hidden anyway when there's no router). */\n showAction?: boolean\n /** Faded-grid hero backdrop — passed to `EmptyState`. Defaults to `true` (its default). */\n pattern?: boolean\n /** Size — passed to `EmptyState`. Defaults to `md`. */\n size?: EmptyStateSize\n /*\n * The router's `NotFoundRouteProps`, declared so `defaultNotFoundComponent: PageNotFound` type-checks (an\n * all-optional props type that shares no field with the router's props fails TypeScript's weak-type check),\n * and destructured away so they never reach the DOM. `routeId` stays a plain `string` — a parameter that\n * accepts `string` takes the app's narrower `RouteIds<…>` union, without tying the library to its route tree.\n */\n /** Passed by TanStack Router when used as `defaultNotFoundComponent`; ignored. */\n data?: unknown\n /** Passed by TanStack Router when used as `defaultNotFoundComponent`; ignored. */\n isNotFound?: boolean\n /** Passed by TanStack Router when used as `defaultNotFoundComponent`; ignored. */\n routeId?: string\n}\n\n/**\n * The shared **404** page. Drop it straight into TanStack Router as the\n * `defaultNotFoundComponent` — zero props needed: the title/description/action strings come from the\n * built-in i18n (`useT`), so they translate with the panel language, and the action navigates to the\n * **first allowed menu page** (the same RBAC-aware target as `FirstRouteRedirect`), falling back to\n * `/`. Built on `EmptyState` (hero glyph + title + description + action, `pattern` on by default), so\n * it renders inside the `RootLayout` content area with the shell/sidebar intact. Lenient: with no\n * router context the `EmptyState` still renders, just without the action button. Token-only styling.\n *\n * @example\n * const router = createRouter({\n * routeTree,\n * defaultNotFoundComponent: PageNotFound,\n * defaultErrorComponent: PageError,\n * })\n */\nexport const PageNotFound = forwardRef<HTMLDivElement, PageNotFoundProps>(function PageNotFound(\n {\n icon = 'SearchStatus',\n title,\n description,\n actionLabel,\n to,\n showAction = true,\n // the router's props — kept off the DOM\n data: _data,\n isNotFound: _isNotFound,\n routeId: _routeId,\n ...props\n },\n ref,\n) {\n const t = useT()\n // the first allowed menu page (RBAC-aware, `/` fallback); router is undefined outside a <RouterProvider>\n const { router, homeTo: resolvedTo } = useHomeTo(to)\n\n const canNavigate = !!router && resolvedTo != null\n const action =\n showAction && canNavigate ? (\n <Button size=\"sm\" onClick={() => router.navigate({ to: resolvedTo as LinkProps['to'] })}>\n {actionLabel ?? t('notFound.action')}\n </Button>\n ) : undefined\n\n return (\n <EmptyState\n ref={ref}\n icon={icon}\n title={title ?? t('notFound.title')}\n description={description ?? t('notFound.description')}\n action={action}\n {...props}\n />\n )\n})\n"],"names":["PageNotFound","forwardRef","icon","title","description","actionLabel","to","showAction","_data","_isNotFound","_routeId","props","ref","t","useT","router","resolvedTo","useHomeTo","canNavigate","action","jsx","Button","EmptyState"],"mappings":";;;;;;AAuDO,MAAMA,IAAeC,EAA8C,SACxE;AAAA,EACE,MAAAC,IAAO;AAAA,EACP,OAAAC;AAAA,EACA,aAAAC;AAAA,EACA,aAAAC;AAAA,EACA,IAAAC;AAAA,EACA,YAAAC,IAAa;AAAA;AAAA,EAEb,MAAMC;AAAA,EACN,YAAYC;AAAA,EACZ,SAASC;AAAA,EACT,GAAGC;AACL,GACAC,GACA;AACA,QAAMC,IAAIC,EAAA,GAEJ,EAAE,QAAAC,GAAQ,QAAQC,EAAA,IAAeC,EAAUX,CAAE,GAE7CY,IAAc,CAAC,CAACH,KAAUC,KAAc,MACxCG,IACJZ,KAAcW,IACZ,gBAAAE,EAACC,KAAO,MAAK,MAAK,SAAS,MAAMN,EAAO,SAAS,EAAE,IAAIC,GAA+B,GACnF,eAAeH,EAAE,iBAAiB,GACrC,IACE;AAEN,SACE,gBAAAO;AAAA,IAACE;AAAA,IAAA;AAAA,MACC,KAAAV;AAAA,MACA,MAAAV;AAAA,MACA,OAAOC,KAASU,EAAE,gBAAgB;AAAA,MAClC,aAAaT,KAAeS,EAAE,sBAAsB;AAAA,MACpD,QAAAM;AAAA,MACC,GAAGR;AAAA,IAAA;AAAA,EAAA;AAGV,CAAC;"}
1
+ {"version":3,"file":"PageNotFound-B6jcXPba.js","sources":["../src/components/PageNotFound/PageNotFound.tsx"],"sourcesContent":["import { forwardRef, type HTMLAttributes, type ReactNode } from 'react'\nimport { type LinkProps } from '@tanstack/react-router'\nimport { useT } from '../../theme'\nimport { EmptyState, type EmptyStateSize } from '../EmptyState'\nimport { Button } from '../Button'\nimport type { IconName } from '../../icons/names'\nimport { useHomeTo } from './useHomeTo'\n\nexport interface PageNotFoundProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title' | 'color'> {\n /** Hero glyph — an `IconName`, any node, or `false` to hide it. Defaults to `SearchStatus`. */\n icon?: IconName | ReactNode | false\n /** Heading. Defaults to the localized `notFound.title`. */\n title?: ReactNode\n /** Muted description. Defaults to the localized `notFound.description`. */\n description?: ReactNode\n /** Action button label. Defaults to the localized `notFound.action`. */\n actionLabel?: ReactNode\n /** Where the action navigates. Defaults to the first allowed menu page (RBAC-aware), else `/`. */\n to?: string\n /** Show the \"back home\" action button. Defaults to `true` (hidden anyway when there's no router). */\n showAction?: boolean\n /** Faded-grid hero backdrop — passed to `EmptyState`. Defaults to `true` (its default). */\n pattern?: boolean\n /** Size — passed to `EmptyState`. Defaults to `md`. */\n size?: EmptyStateSize\n /*\n * The router's `NotFoundRouteProps`, declared so `defaultNotFoundComponent: PageNotFound` type-checks (an\n * all-optional props type that shares no field with the router's props fails TypeScript's weak-type check —\n * `data` / `isNotFound` alone satisfy it), and destructured away so they never reach the DOM.\n * `routeId` is `unknown` ON PURPOSE: the router types it `RouteIds<RegisteredRouter['routeTree']>`, and any\n * narrower type here (1.0.36 had `string`) makes the assignability check resolve that — i.e. `typeof router`\n * through the app's `Register` block — while `createRouter` is still inferring `router`: a cycle (TS7022 /\n * TS2502). `unknown` accepts it without looking. Guarded by `routerDefaults.registered.test-d.ts`.\n */\n /** Passed by TanStack Router when used as `defaultNotFoundComponent`; ignored. */\n data?: unknown\n /** Passed by TanStack Router when used as `defaultNotFoundComponent`; ignored. */\n isNotFound?: boolean\n /** Passed by TanStack Router when used as `defaultNotFoundComponent`; ignored (`unknown` — see above). */\n routeId?: unknown\n}\n\n/**\n * The shared **404** page. Drop it straight into TanStack Router as the\n * `defaultNotFoundComponent` — zero props needed: the title/description/action strings come from the\n * built-in i18n (`useT`), so they translate with the panel language, and the action navigates to the\n * **first allowed menu page** (the same RBAC-aware target as `FirstRouteRedirect`), falling back to\n * `/`. Built on `EmptyState` (hero glyph + title + description + action, `pattern` on by default), so\n * it renders inside the `RootLayout` content area with the shell/sidebar intact. Lenient: with no\n * router context the `EmptyState` still renders, just without the action button. Token-only styling.\n *\n * @example\n * const router = createRouter({\n * routeTree,\n * defaultNotFoundComponent: PageNotFound,\n * defaultErrorComponent: PageError,\n * })\n */\nexport const PageNotFound = forwardRef<HTMLDivElement, PageNotFoundProps>(function PageNotFound(\n {\n icon = 'SearchStatus',\n title,\n description,\n actionLabel,\n to,\n showAction = true,\n // the router's props — kept off the DOM\n data: _data,\n isNotFound: _isNotFound,\n routeId: _routeId,\n ...props\n },\n ref,\n) {\n const t = useT()\n // the first allowed menu page (RBAC-aware, `/` fallback); router is undefined outside a <RouterProvider>\n const { router, homeTo: resolvedTo } = useHomeTo(to)\n\n const canNavigate = !!router && resolvedTo != null\n const action =\n showAction && canNavigate ? (\n <Button size=\"sm\" onClick={() => router.navigate({ to: resolvedTo as LinkProps['to'] })}>\n {actionLabel ?? t('notFound.action')}\n </Button>\n ) : undefined\n\n return (\n <EmptyState\n ref={ref}\n icon={icon}\n title={title ?? t('notFound.title')}\n description={description ?? t('notFound.description')}\n action={action}\n {...props}\n />\n )\n})\n"],"names":["PageNotFound","forwardRef","icon","title","description","actionLabel","to","showAction","_data","_isNotFound","_routeId","props","ref","t","useT","router","resolvedTo","useHomeTo","canNavigate","action","jsx","Button","EmptyState"],"mappings":";;;;;;AA0DO,MAAMA,IAAeC,EAA8C,SACxE;AAAA,EACE,MAAAC,IAAO;AAAA,EACP,OAAAC;AAAA,EACA,aAAAC;AAAA,EACA,aAAAC;AAAA,EACA,IAAAC;AAAA,EACA,YAAAC,IAAa;AAAA;AAAA,EAEb,MAAMC;AAAA,EACN,YAAYC;AAAA,EACZ,SAASC;AAAA,EACT,GAAGC;AACL,GACAC,GACA;AACA,QAAMC,IAAIC,EAAA,GAEJ,EAAE,QAAAC,GAAQ,QAAQC,EAAA,IAAeC,EAAUX,CAAE,GAE7CY,IAAc,CAAC,CAACH,KAAUC,KAAc,MACxCG,IACJZ,KAAcW,IACZ,gBAAAE,EAACC,KAAO,MAAK,MAAK,SAAS,MAAMN,EAAO,SAAS,EAAE,IAAIC,GAA+B,GACnF,eAAeH,EAAE,iBAAiB,GACrC,IACE;AAEN,SACE,gBAAAO;AAAA,IAACE;AAAA,IAAA;AAAA,MACC,KAAAV;AAAA,MACA,MAAAV;AAAA,MACA,OAAOC,KAASU,EAAE,gBAAgB;AAAA,MAClC,aAAaT,KAAeS,EAAE,sBAAsB;AAAA,MACpD,QAAAM;AAAA,MACC,GAAGR;AAAA,IAAA;AAAA,EAAA;AAGV,CAAC;"}
@@ -22,8 +22,8 @@ export interface PageNotFoundProps extends Omit<HTMLAttributes<HTMLDivElement>,
22
22
  data?: unknown;
23
23
  /** Passed by TanStack Router when used as `defaultNotFoundComponent`; ignored. */
24
24
  isNotFound?: boolean;
25
- /** Passed by TanStack Router when used as `defaultNotFoundComponent`; ignored. */
26
- routeId?: string;
25
+ /** Passed by TanStack Router when used as `defaultNotFoundComponent`; ignored (`unknown` — see above). */
26
+ routeId?: unknown;
27
27
  }
28
28
  /**
29
29
  * The shared **404** page. Drop it straight into TanStack Router as the
@@ -22,8 +22,8 @@ export interface PageNotFoundProps extends Omit<HTMLAttributes<HTMLDivElement>,
22
22
  data?: unknown;
23
23
  /** Passed by TanStack Router when used as `defaultNotFoundComponent`; ignored. */
24
24
  isNotFound?: boolean;
25
- /** Passed by TanStack Router when used as `defaultNotFoundComponent`; ignored. */
26
- routeId?: string;
25
+ /** Passed by TanStack Router when used as `defaultNotFoundComponent`; ignored (`unknown` — see above). */
26
+ routeId?: unknown;
27
27
  }
28
28
  /**
29
29
  * The shared **404** page. Drop it straight into TanStack Router as the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@techzyapp/ui-library",
3
- "version": "1.0.36",
3
+ "version": "1.0.37",
4
4
  "description": "Techzy UI — reusable React component library for admin panels.",
5
5
  "type": "module",
6
6
  "license": "MIT",