PageSourceSearch

https://pb.carnegie.se/assets/testing-index-page-CyaVdmKD.js

js carnegie.se collected 2026-09-24 23:26:03 UTC 5,244 bytes, 12 lines download raw bytes

1import{n as t,r as a}from"./emotion-react-jsx-runtime.browser.esm-BmijSlgY.js";import{t as m}from"./useTranslation-ChgT83sV.js";import{a as c,n as u,t as p}from"./card-Bj7mrrp_.js";import{et as f}from"./16-DqtUuQDe.js";import{t as b}from"./link-tLekbh5y.js";import{t as n}from"./paragraph-cB6MzNM3.js";import{t as o}from"./heading-MRBENOc_.js";function x({page:e,openPageLabel:s}){return a("div",{className:`
2        flex h-full flex-col rounded-2xl border border-border bg-background-base p-5 transition-colors
3        hover:bg-muted/40
4      `,children:[t(o,{size:"m",children:e.title}),t(n,{size:"s",className:"mt-3 flex-1 text-foreground-secondary",children:e.description}),t("div",{className:"mt-5",children:t(b,{to:e.path,trailingIcon:f,children:s})})]})}function y({section:e,openPageLabel:s}){function l(i){return t(x,{page:i,openPageLabel:s},i.path)}return a(p,{children:[a(c,{className:"gap-2 border-b border-border/80 bg-muted/30",children:[t(o,{size:"l",children:e.title}),t(n,{size:"s",className:"max-w-2xl text-foreground-secondary",children:e.description})]}),t(u,{className:"pt-6",children:t("div",{className:`
5            grid gap-4
6            md:grid-cols-2
7          `,children:e.pages.map(l)})})]})}function S(){const{t:e}=m(),s=[{path:"/testing/button",title:e("Buttons"),description:e("Variant, size, state, and icon examples for the shared button component.")},{path:"/testing/account-picker",title:e("Account picker"),description:e("Single and multiple account picker examples with favorites, values, and error states.")},{path:"/testing/chip-label",title:e("Chip labels"),description:e("Variant, size, subtle mode, and icon combinations for ChipLabel.")},{path:"/testing/selection-list",title:e("Selection list"),description:e("Single-select list with pill highlight and checkmark for settings-style choices.")},{path:"/testing/sheet",title:e("Sheet"),description:e("Side panels with default close, settings-style header close, and bottom sheet examples.")},{path:"/testing/icons",title:e("Icons"),description:e("Browse available icons, compare sizes, and copy ready-to-use React snippets.")},{path:"/testing/brands",title:e("Brands"),description:e("Preview brand logo cards for the current user holdings.")},{path:"/testing/typography",title:e("Typography"),description:e("Inspect heading, paragraph, display text, and legacy Duplo typography styles and measurements.")}],l=[{path:"/testing/data-table",title:e("DataTable"),description:e("Examples for helper-based columns, alignment (center, headerAlign, cellAlign), pinning, footers, pagination, row clicks, DataTableSections (shared header and sorting), and snapshot-backed sorting patterns.")},{path:"/testing/table",title:e("DumbTable"),description:e("Legacy table examples covering default rendering, custom cells, sticky headers, empty state, and loading state.")},{path:"/testing/tree-map",title:e("Tree map"),description:e("Interactive account insights tree map playground for adjusting labels and percentages.")}],i=[{path:"/testing/user-settings",title:e("User settings"),description:e("Toggle stored user settings, reset system message state, and trigger the Sentry crash test flow.")},{path:"/testing/agreements",title:e("Agreements"),description:e("Render agreement test fixtures for rich text, links, and table-heavy agreement content.")},{path:"/testing/infront",title:e("Infront details"),description:e("Test Infront fund and stock detail hooks with manual symbol input and detailed field output.")},{path:"/testing/idle-timer",title:e("Idle timer"),description:e("Verify the warning modal timing and compare the shortened test timeout with the normal configuration.")}],d=[{title:e("Tables and data"),description:e("Table playgrounds and data-heavy verification pages for both the new and legacy table APIs."),pages:l},{title:e("Shared UI components"),description:e("Quick visual references for reusable building blocks such as buttons, typography, icons, and labels."),pages:s},{title:e("Integrations and state"),description:e("Internal pages for testing settings, agreements, external data hooks, and session or idle flows."),pages:i}];function g(r){return t(y,{section:r,openPageLabel:e("Open page")},r.title)}return a("div",{className:"mx-auto flex w-full max-w-6xl flex-col gap-6",children:[t(p,{className:"overflow-hidden",children:a(c,{className:`
8            gap-4 bg-muted/30
9            md:flex-row md:items-end md:justify-between
10          `,children:[a("div",{className:"space-y-2",children:[t(n,{size:"s",className:"text-foreground-tertiary",children:e("Internal tools")}),t(o,{size:"xl",children:e("Testing pages")}),t(n,{size:"m",className:"max-w-3xl text-foreground-secondary",children:e("Use this index to 
10jump between internal playgrounds and verification pages for shared UI components, table patterns, and feature-specific test flows.")})]}),a("div",{className:"rounded-2xl border border-border bg-background-base px-4 py-3",children:[t(n,{size:"s",className:"text-foreground-tertiary",children:e("Available pages")}),t(o,{size:"l",children:d.reduce((r,h)=>r+h.pages.length,0)})]})]})}),t("div",{className:"grid gap-6",children:d.map(g)})]})}export{S as TestingIndexPage};
11
12//# sourceMappingURL=testing-index-page-CyaVdmKD.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.