@thewhatmatters/wmds 0.4.46 → 0.4.48

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.
Files changed (183) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/dist/components/atoms/Table/Table.d.ts +16 -2
  3. package/dist/components/atoms/Table/Table.d.ts.map +1 -1
  4. package/dist/components/atoms/Table/Table.js +10 -8
  5. package/dist/components/atoms/Table/tableStyles.d.ts +11 -0
  6. package/dist/components/atoms/Table/tableStyles.d.ts.map +1 -1
  7. package/dist/components/atoms/Table/tableStyles.js +2 -2
  8. package/dist/components/molecules/IndexList/IndexList.d.ts +22 -2
  9. package/dist/components/molecules/IndexList/IndexList.d.ts.map +1 -1
  10. package/dist/components/molecules/IndexList/IndexList.js +106 -66
  11. package/dist/components/molecules/IndexList/indexListStyles.d.ts +29 -0
  12. package/dist/components/molecules/IndexList/indexListStyles.d.ts.map +1 -1
  13. package/dist/components/molecules/IndexList/indexListStyles.js +2 -2
  14. package/dist/styles.css +1 -1
  15. package/docs/components.md +1 -1
  16. package/docs/exports.json +1 -1
  17. package/docs/patterns/components-accordion--flush.tsx +1 -1
  18. package/docs/patterns/components-appshell--portal-dashboard-pattern.tsx +1 -1
  19. package/docs/patterns/components-avatar--dropdown-row.tsx +1 -1
  20. package/docs/patterns/components-badge--outline-tags.tsx +1 -1
  21. package/docs/patterns/components-badge--status-pill.tsx +1 -1
  22. package/docs/patterns/components-badge--with-avatar.tsx +1 -1
  23. package/docs/patterns/components-band--page-in-bands.tsx +1 -1
  24. package/docs/patterns/components-breadcrumb--editorial.tsx +1 -1
  25. package/docs/patterns/components-breadcrumb--long-path.tsx +1 -1
  26. package/docs/patterns/components-breadcrumb--path.tsx +1 -1
  27. package/docs/patterns/components-breadcrumb--router-links.tsx +1 -1
  28. package/docs/patterns/components-button-button--copy-button.tsx +1 -1
  29. package/docs/patterns/components-button-button--destructive-action.tsx +1 -1
  30. package/docs/patterns/components-button-button--external-link.tsx +1 -1
  31. package/docs/patterns/components-button-button--ghost-action.tsx +1 -1
  32. package/docs/patterns/components-button-button--inverse-action.tsx +1 -1
  33. package/docs/patterns/components-button-button--link-render.tsx +1 -1
  34. package/docs/patterns/components-button-button--multi-state-badge.tsx +1 -1
  35. package/docs/patterns/components-button-button--outline-mono.tsx +1 -1
  36. package/docs/patterns/components-button-button--primary-action.tsx +1 -1
  37. package/docs/patterns/components-button-button--row-hug.tsx +1 -1
  38. package/docs/patterns/components-button-button--row-layout.tsx +1 -1
  39. package/docs/patterns/components-button-button--secondary-action.tsx +1 -1
  40. package/docs/patterns/components-button-button--suggestion-pills.tsx +1 -1
  41. package/docs/patterns/components-button-button--with-count.tsx +1 -1
  42. package/docs/patterns/components-button-button--with-icon.tsx +1 -1
  43. package/docs/patterns/components-button-floatingactionbutton--vertical-actions.tsx +1 -1
  44. package/docs/patterns/components-calembed--pattern-skip-above.tsx +1 -1
  45. package/docs/patterns/components-card-card--body-slot-occupancy-history.tsx +1 -1
  46. package/docs/patterns/components-card-card--headerless-media.tsx +1 -1
  47. package/docs/patterns/components-card-card--outlined-layout.tsx +1 -1
  48. package/docs/patterns/components-card-card--pinned-height.tsx +1 -1
  49. package/docs/patterns/components-card-card--terminal-frame.tsx +1 -1
  50. package/docs/patterns/components-card-selectablecard--selectable-cards-pattern.tsx +1 -1
  51. package/docs/patterns/components-carousel--image-carousel.tsx +1 -1
  52. package/docs/patterns/components-chart--audience-activity-heatmap.tsx +1 -1
  53. package/docs/patterns/components-chart--cartesian-no-data-gaps.tsx +1 -1
  54. package/docs/patterns/components-chart--occupancy-history-in-card.tsx +1 -1
  55. package/docs/patterns/components-chart--occupancy-in-card.tsx +1 -1
  56. package/docs/patterns/components-chart--post-reach-distribution.tsx +1 -1
  57. package/docs/patterns/components-chart--ranked-audience-breakdown.tsx +1 -1
  58. package/docs/patterns/components-chart--revenue-by-line.tsx +1 -1
  59. package/docs/patterns/components-chart--segmented-ring-pattern.tsx +1 -1
  60. package/docs/patterns/components-chart--unit-grid-composition.tsx +1 -1
  61. package/docs/patterns/components-chatdock--pattern-chat-dock.tsx +1 -1
  62. package/docs/patterns/components-chatdock--pattern-start-project-gate.tsx +1 -1
  63. package/docs/patterns/components-chatqa--pattern-qa-with-reply.tsx +1 -1
  64. package/docs/patterns/components-checkbox-checkbox--default.tsx +1 -1
  65. package/docs/patterns/components-checkbox-checkbox--with-count.tsx +1 -1
  66. package/docs/patterns/components-checkbox-checkbox--with-description.tsx +1 -1
  67. package/docs/patterns/components-checkbox-checkboxgroup--default.tsx +1 -1
  68. package/docs/patterns/components-checkbox-checkboxgroup--option-counts.tsx +1 -1
  69. package/docs/patterns/components-copyfield--clipboard-blocked.tsx +1 -1
  70. package/docs/patterns/components-copyfield--copied.tsx +1 -1
  71. package/docs/patterns/components-copyfield--copy-key.tsx +1 -1
  72. package/docs/patterns/components-copyfield--on-navy.tsx +1 -1
  73. package/docs/patterns/components-descriptionlist--details.tsx +1 -1
  74. package/docs/patterns/components-descriptionlist--post-metadata.tsx +1 -1
  75. package/docs/patterns/components-dialog--alert-dialog-destructive.tsx +1 -1
  76. package/docs/patterns/components-dialog--alert-dialog-typed-confirmation.tsx +1 -1
  77. package/docs/patterns/components-dialog--default-dialog.tsx +1 -1
  78. package/docs/patterns/components-dialog--form-dialog.tsx +1 -1
  79. package/docs/patterns/components-displaycontrols--page-utilities.tsx +1 -1
  80. package/docs/patterns/components-displaycontrols--theme-switch.tsx +1 -1
  81. package/docs/patterns/components-errorsummary--contact-form.tsx +1 -1
  82. package/docs/patterns/components-field--horizontal-input.tsx +1 -1
  83. package/docs/patterns/components-field--horizontal-text-area.tsx +1 -1
  84. package/docs/patterns/components-field--multi-control.tsx +1 -1
  85. package/docs/patterns/components-filterpanel--panel.tsx +1 -1
  86. package/docs/patterns/components-footerreveal--marketing-hero-pattern.tsx +1 -1
  87. package/docs/patterns/components-footerreveal--marketing-hero-ruled-pattern.tsx +1 -1
  88. package/docs/patterns/components-footerreveal--marketing-hero-with-gallery-intro.tsx +1 -1
  89. package/docs/patterns/components-footerreveal--marketing-page-pattern.tsx +1 -1
  90. package/docs/patterns/components-footerreveal--ruled-grid-footer-pattern.tsx +1 -1
  91. package/docs/patterns/components-footerreveal--sequenced-marketing-hero.tsx +1 -1
  92. package/docs/patterns/components-herointro--two-line-intro.tsx +1 -1
  93. package/docs/patterns/components-herointro--with-actions.tsx +1 -1
  94. package/docs/patterns/components-herotilestack--marketing-hero-pattern.tsx +1 -1
  95. package/docs/patterns/components-herotilestack--marketing-hero-text-sequence.tsx +1 -1
  96. package/docs/patterns/components-herotilestack--marketing-hero-with-gallery-intro.tsx +1 -1
  97. package/docs/patterns/components-indexlist--post-index.tsx +1 -1
  98. package/docs/patterns/components-intakeconfirmation--booked-pattern.tsx +1 -1
  99. package/docs/patterns/components-intakeconfirmation--emailed-pattern.tsx +1 -1
  100. package/docs/patterns/components-intakeform--about-you-pattern.tsx +1 -1
  101. package/docs/patterns/components-intakeform--short-form-pattern.tsx +1 -1
  102. package/docs/patterns/components-intakemodal--intake-modal-pattern.tsx +1 -1
  103. package/docs/patterns/components-kbd--command-row.tsx +1 -1
  104. package/docs/patterns/components-kbd--numbered-choices.tsx +1 -1
  105. package/docs/patterns/components-kbd--shortcut.tsx +1 -1
  106. package/docs/patterns/components-linktile--resource-tile.tsx +1 -1
  107. package/docs/patterns/components-linktile--router-link.tsx +1 -1
  108. package/docs/patterns/components-logview--detail-pane.tsx +1 -1
  109. package/docs/patterns/components-logview--log-viewer.tsx +1 -1
  110. package/docs/patterns/components-moremenu--action-menu.tsx +1 -1
  111. package/docs/patterns/components-moremenu--in-card-header.tsx +1 -1
  112. package/docs/patterns/components-navlist--app-sidebar.tsx +1 -1
  113. package/docs/patterns/components-navlist--side-nav-settings.tsx +1 -1
  114. package/docs/patterns/components-notice--account-not-connected.tsx +1 -1
  115. package/docs/patterns/components-notice--holiday-closure.tsx +1 -1
  116. package/docs/patterns/components-notice--private-buyout.tsx +1 -1
  117. package/docs/patterns/components-notice--sync-failed.tsx +1 -1
  118. package/docs/patterns/components-pageheader--app-header-pattern.tsx +1 -1
  119. package/docs/patterns/components-pageheader--page-section-header.tsx +1 -1
  120. package/docs/patterns/components-pageheader--toolbar-header.tsx +1 -1
  121. package/docs/patterns/components-panel--end-detail-rail.tsx +1 -1
  122. package/docs/patterns/components-pillgroup--pill-group-pattern.tsx +1 -1
  123. package/docs/patterns/components-progress--upload-pattern.tsx +1 -1
  124. package/docs/patterns/components-promptbar--pattern-prompt-bar.tsx +1 -1
  125. package/docs/patterns/components-prose--article-body.tsx +1 -1
  126. package/docs/patterns/components-radio-radiogroup--default.tsx +1 -1
  127. package/docs/patterns/components-scrollhorizontal--project-gallery-pattern.tsx +1 -1
  128. package/docs/patterns/components-scrollhorizontal--with-intro.tsx +1 -1
  129. package/docs/patterns/components-sectioncaption--column-caption.tsx +1 -1
  130. package/docs/patterns/components-sectioncaption--with-action.tsx +1 -1
  131. package/docs/patterns/components-sheet--bottom-sheet.tsx +1 -1
  132. package/docs/patterns/components-sheet--end-sheet.tsx +1 -1
  133. package/docs/patterns/components-sheet--side-sheet-header-actions.tsx +1 -1
  134. package/docs/patterns/components-sheet--side-sheet-url-deep-link.tsx +1 -1
  135. package/docs/patterns/components-sheet--side-sheet.tsx +1 -1
  136. package/docs/patterns/components-sitenav--brand-and-cta.tsx +1 -1
  137. package/docs/patterns/components-sitenav--centered-links.tsx +1 -1
  138. package/docs/patterns/components-sitenav--compact.tsx +1 -1
  139. package/docs/patterns/components-sitenav--marketing-header.tsx +1 -1
  140. package/docs/patterns/components-sitenav--mega-menu.tsx +1 -1
  141. package/docs/patterns/components-stat--hero-stat.tsx +1 -1
  142. package/docs/patterns/components-stat--insights-row.tsx +1 -1
  143. package/docs/patterns/components-stepprogress--step-progress-pattern.tsx +1 -1
  144. package/docs/patterns/components-switch--default.tsx +1 -1
  145. package/docs/patterns/components-switch--settings-row.tsx +1 -1
  146. package/docs/patterns/components-tab--settings-pages.tsx +1 -1
  147. package/docs/patterns/components-table--approvals-with-sheet.tsx +1 -1
  148. package/docs/patterns/components-table--approvals.tsx +1 -1
  149. package/docs/patterns/components-table--basic.tsx +1 -1
  150. package/docs/patterns/components-taskrows--action-details.tsx +1 -1
  151. package/docs/patterns/components-taskrows--capsules.tsx +1 -1
  152. package/docs/patterns/components-taskrows--card-with-status-rows.tsx +1 -1
  153. package/docs/patterns/components-taskrows--controlled-expand.tsx +1 -1
  154. package/docs/patterns/components-taskrows--custom-slots.tsx +1 -1
  155. package/docs/patterns/components-taskrows--needs-you-table.tsx +1 -1
  156. package/docs/patterns/components-taskrows--status-list.tsx +1 -1
  157. package/docs/patterns/components-taskrows--tag-chips.tsx +1 -1
  158. package/docs/patterns/components-textarea--save-status.tsx +1 -1
  159. package/docs/patterns/components-textlink--external-destination.tsx +1 -1
  160. package/docs/patterns/components-textlink--inline-prose.tsx +1 -1
  161. package/docs/patterns/components-textlink--quiet-title.tsx +1 -1
  162. package/docs/patterns/components-textlink--supporting-copy.tsx +1 -1
  163. package/docs/patterns/components-textsequence--default.tsx +1 -1
  164. package/docs/patterns/components-textsequence--reduced-motion.tsx +1 -1
  165. package/docs/patterns/components-textsequence--shapes.tsx +1 -1
  166. package/docs/patterns/components-tilegrid--masonry.tsx +1 -1
  167. package/docs/patterns/components-toast--stacked-notifications.tsx +1 -1
  168. package/docs/patterns/components-tooltip--controlled.tsx +1 -1
  169. package/docs/patterns/components-tooltip--disabled-control.tsx +1 -1
  170. package/docs/patterns/components-tooltip--icon-action.tsx +1 -1
  171. package/docs/patterns/components-tooltip--keyboard-shortcut.tsx +1 -1
  172. package/docs/patterns/components-tooltip--placement.tsx +1 -1
  173. package/docs/patterns/foundations-scroll-fade--horizontal-rail.tsx +1 -1
  174. package/docs/patterns/foundations-scroll-fade--overflowing-list.tsx +1 -1
  175. package/docs/patterns/guides-chart-explorations--comparison-gallery.tsx +1 -1
  176. package/docs/patterns/guides-filter-panel--filtered-grid.tsx +1 -1
  177. package/docs/patterns/guides-filter-panel--filtered-index.tsx +1 -1
  178. package/docs/patterns/guides-overlay-flows--notification-preferences.tsx +1 -1
  179. package/docs/patterns/guides-post-page--post-page.tsx +1 -1
  180. package/docs/patterns/guides-profile-typography--editorial-profile.tsx +1 -1
  181. package/docs/patterns/guides-resource-detail--detail.tsx +1 -1
  182. package/docs/patterns/index.json +1 -1
  183. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -7,6 +7,31 @@ Every release of `@thewhatmatters/wmds` is listed here, newest first.
7
7
  - **Pasted patterns:** when a release changes a **Pattern — …** story's Show code, it is named under Consumer actions so apps re-copy it.
8
8
  - **How to add an entry** (contributors): don't edit this file on a feature branch. Add a release note as `changes/<topic>.md` (format in `changes/README.md`). The release step, `npm run release:prepare` on its own **Release 0.x.y** branch, folds every note into one new entry here and bumps the version once. `npm run check:changelog` checks this file and the notes.
9
9
 
10
+ ## 0.4.48
11
+
12
+ **IndexList: rows on the page grid, with tags and arrows.**
13
+
14
+ - **IndexList** `columns="page"` (new): the rows sit on the page grid like a table of posts: the date in the first two columns, the title across the width, and an end column (Journal — Hover Index; Randy, 2026-11-06). Default stays `"tracks"`.
15
+ - **IndexList.Item** `tags` (new): a few WMDS `Badge`s at the row's end (on phones they join the meta line).
16
+ - **IndexList.Item** `rowLink` (new): the whole row is one link with a quiet fill on hover and keyboard focus.
17
+ - **IndexList.Item** `arrow` / `external` (new): an arrow at the row's end (→, or ↗ for another site); `external` opens a new tab and says so.
18
+
19
+ ### Consumer actions
20
+
21
+ - None.
22
+
23
+ ## 0.4.47
24
+
25
+ **Table: a ruled grid for pricing tables.**
26
+
27
+ - **Table** `rules="grid"` (new): a rule between every column and round the outside, so each cell is a ruled box. With a `colgroup` the columns are equal, so packages can head the same columns as the rows under them (Pricing — Ruled Table; Randy, 2026-11-06). Default stays `"rows"`.
28
+ - **Table** `stickyHeader` (new, with `rules="grid"`): the header row stays at the top of the page while the rows scroll under it, so each row's column is always clear (Heron-style pricing; Randy, 2026-11-06). `--table-sticky-top` sits it under a fixed nav.
29
+ - **TableHead** `wrap` (new): a header cell that holds more than a label (a heading, a price, a button) wraps, sits at the top and gets more room.
30
+
31
+ ### Consumer actions
32
+
33
+ - None.
34
+
10
35
  ## 0.4.46
11
36
 
12
37
  **Carousel: a quiet Pause button for logo marquees.**
@@ -9,6 +9,18 @@ export interface TableProps {
9
9
  /** Names the scrolling region and the table. One of `aria-label` or `aria-labelledby` is required. */
10
10
  "aria-label"?: string;
11
11
  "aria-labelledby"?: string;
12
+ /**
13
+ * `rows` (default): a rule under each row. `grid`: rules between the columns and round the outside too, so every
14
+ * cell is a ruled box. Pair it with a `colgroup` for equal columns (a pricing grid whose packages head the columns).
15
+ */
16
+ rules?: "rows" | "grid";
17
+ /**
18
+ * Pin the header row to the top of the page while the rows scroll under it, so a long comparison keeps its
19
+ * column heads in view (a pricing grid's packages). Needs `rules="grid"`: only a table that fits its box can let
20
+ * go of the sideways scroll that would otherwise trap the header. Offset it under a fixed nav with
21
+ * `--table-sticky-top` on a parent.
22
+ */
23
+ stickyHeader?: boolean;
12
24
  /** Layout-only — applies to the scroll box. */
13
25
  className?: TableLayoutClassName;
14
26
  }
@@ -25,6 +37,8 @@ export interface TableHeadProps extends Omit<ThHTMLAttributes<HTMLTableCellEleme
25
37
  align?: TableAlign;
26
38
  /** Pin the column to the start edge while the table scrolls sideways. Set it on every cell of the column. */
27
39
  sticky?: boolean;
40
+ /** Content richer than a label (a heading, a price, a button): it wraps, sits at the top of the cell and gets more room. */
41
+ wrap?: boolean;
28
42
  className?: TableLayoutClassName;
29
43
  }
30
44
  export interface TableCellProps extends Omit<TdHTMLAttributes<HTMLTableCellElement>, "className" | "align"> {
@@ -42,12 +56,12 @@ export interface TableCaptionProps {
42
56
  * Semantic table in a horizontal-scroll box. The box is a focusable `region` named by the table's
43
57
  * label, so a keyboard can scroll it; the table never squeezes its columns below their content.
44
58
  */
45
- declare function Table({ children, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, className }: TableProps): import("react").JSX.Element;
59
+ declare function Table({ children, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, rules, stickyHeader, className }: TableProps): import("react").JSX.Element;
46
60
  declare function TableHeader({ children, className }: TableSectionProps): import("react").JSX.Element;
47
61
  declare function TableBody({ children, className }: TableSectionProps): import("react").JSX.Element;
48
62
  declare function TableFooter({ children, className }: TableSectionProps): import("react").JSX.Element;
49
63
  declare function TableRow({ children, className, ...rest }: TableRowProps): import("react").JSX.Element;
50
- declare function TableHead({ align, sticky, scope, className, children, ...rest }: TableHeadProps): import("react").JSX.Element;
64
+ declare function TableHead({ align, sticky, wrap, scope, className, children, ...rest }: TableHeadProps): import("react").JSX.Element;
51
65
  declare function TableCell({ align, sticky, className, children, ...rest }: TableCellProps): import("react").JSX.Element;
52
66
  declare function TableCaption({ children, className }: TableCaptionProps): import("react").JSX.Element;
53
67
  export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow };
@@ -1 +1 @@
1
- {"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/Table/Table.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,OAAO,CAAC;AAE3F,OAAO,EAYL,KAAK,UAAU,EAChB,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,WAAW,EAAE,KAAK,UAAU,EAAE,MAAM,eAAe,CAAC;AAE7D,sDAAsD;AACtD,MAAM,MAAM,oBAAoB,GAAG,MAAM,CAAC;AAE1C,MAAM,WAAW,UAAU;IACzB,qEAAqE;IACrE,QAAQ,EAAE,SAAS,CAAC;IACpB,sGAAsG;IACtG,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,+CAA+C;IAC/C,SAAS,CAAC,EAAE,oBAAoB,CAAC;CAClC;AAED,MAAM,WAAW,iBAAiB;IAChC,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E5D;AAED,iBAAS,WAAW,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,iBAAiB,+BAE9D;AAED,iBAAS,QAAQ,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,aAAa,+BAMhE;AAED,iBAAS,SAAS,CAAC,EAAE,KAAe,EAAE,MAAM,EAAE,IAAI,EAAE,KAAa,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,EAAE,cAAc,+BAMhH;AAED,iBAAS,SAAS,CAAC,EAAE,KAAe,EAAE,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,EAAE,cAAc,+BAM3F;AAED,iBAAS,YAAY,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,iBAAiB,+BAE/D;AAED,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,YAAY,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,WAAW,EAAE,QAAQ,EAAE,CAAC"}
@@ -3,15 +3,17 @@ import { cn as e } from "../../../lib/cn.js";
3
3
  import { tableAlignClasses as t, tableAligns as n, tableBodyClasses as r, tableCaptionClasses as i, tableCellClasses as a, tableClasses as o, tableFooterClasses as s, tableHeadClasses as c, tableHeaderClasses as l, tableRowClasses as u, tableScrollClasses as d } from "./tableStyles.js";
4
4
  import { jsx as f } from "react/jsx-runtime";
5
5
  //#region src/components/atoms/Table/Table.tsx
6
- function p({ children: t, "aria-label": n, "aria-labelledby": r, className: i }) {
6
+ function p({ children: t, "aria-label": n, "aria-labelledby": r, rules: i = "rows", stickyHeader: a, className: s }) {
7
+ let c = a === !0 && i === "grid";
7
8
  return /* @__PURE__ */ f("div", {
8
9
  role: "region",
9
10
  tabIndex: 0,
10
11
  "aria-label": n,
11
12
  "aria-labelledby": r,
12
- className: e(d, i),
13
+ className: e(d, c && "!overflow-visible", s),
13
14
  children: /* @__PURE__ */ f("table", {
14
- className: o,
15
+ className: e(o, i === "grid" && "!min-w-0 border border-border [&_th]:border-x [&_th]:border-border [&_td]:border-x [&_td]:border-border [&_th]:px-6 [&_td]:px-6 [&_td]:py-4 lg:[&_th]:px-8 lg:[&_td]:px-8", c && "[&_thead]:sticky [&_thead]:top-[var(--table-sticky-top,0px)] [&_thead]:z-10 [&_thead]:bg-body [&_thead]:shadow-[0_1px_0_var(--color-border)]"),
16
+ "data-rules": i,
15
17
  children: t
16
18
  })
17
19
  });
@@ -41,12 +43,12 @@ function _({ children: t, className: n, ...r }) {
41
43
  children: t
42
44
  });
43
45
  }
44
- function v({ align: n = "start", sticky: r, scope: i = "col", className: a, children: o, ...s }) {
46
+ function v({ align: n = "start", sticky: r, wrap: i, scope: a = "col", className: o, children: s, ...l }) {
45
47
  return /* @__PURE__ */ f("th", {
46
- ...s,
47
- scope: i,
48
- className: e(c, t[n], r && "sticky start-0 z-10 bg-body", a),
49
- children: o
48
+ ...l,
49
+ scope: a,
50
+ className: e(c, t[n], r && "sticky start-0 z-10 bg-body", i && "!h-auto !whitespace-normal !align-top py-6 lg:py-8", o),
51
+ children: s
50
52
  });
51
53
  }
52
54
  function y({ align: n = "start", sticky: r, className: i, children: o, ...s }) {
@@ -5,12 +5,23 @@ export type TableAlign = (typeof tableAligns)[number];
5
5
  export declare const tableScrollClasses = "w-full max-w-full overflow-x-auto focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-focus-ring";
6
6
  /** A table with a `colgroup` lays its columns out from the `col` widths, so a filled and an empty table match. */
7
7
  export declare const tableClasses: string;
8
+ /** `rules="grid"`: a rule between every column and round the outside, so each cell is a ruled box (a pricing grid). */
9
+ export declare const tableGridRulesClasses: string;
8
10
  export declare const tableHeaderClasses = "[&_tr]:border-b [&_tr]:border-border";
9
11
  export declare const tableBodyClasses = "[&_tr:last-child]:border-b-0";
10
12
  export declare const tableFooterClasses = "border-t border-border-emphasized [&>tr]:border-b-0";
11
13
  export declare const tableRowClasses = "border-b border-border transition-colors hover:bg-ghost-hover";
12
14
  export declare const tableHeadClasses: string;
13
15
  export declare const tableCellClasses = "px-3 py-3 align-middle";
16
+ /**
17
+ * `stickyHeader` (with `rules="grid"`, which fits its box): the scroll box lets go of its overflow so the header row
18
+ * can stick to the page, and the whole header (every header row) pins to the top (below `--table-sticky-top`, e.g. a fixed nav's height),
19
+ * opaque so the rows slide under them.
20
+ */
21
+ export declare const tableStickyHeaderScrollClasses = "!overflow-visible";
22
+ export declare const tableStickyHeaderClasses = "[&_thead]:sticky [&_thead]:top-[var(--table-sticky-top,0px)] [&_thead]:z-10 [&_thead]:bg-body [&_thead]:shadow-[0_1px_0_var(--color-border)]";
23
+ /** A header cell that holds more than a label (a package's name, price and action): wraps, sits at the top, roomier. */
24
+ export declare const tableHeadWrapClasses = "!h-auto !whitespace-normal !align-top py-6 lg:py-8";
14
25
  export declare const tableCaptionClasses: string;
15
26
  /** A column pinned to the start edge while the rest scrolls — opaque so cells slide under it. */
16
27
  export declare const tableStickyClasses = "sticky start-0 z-10 bg-body";
@@ -1 +1 @@
1
- {"version":3,"file":"tableStyles.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/Table/tableStyles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW,qCAAsC,CAAC;AAE/D,mEAAmE;AACnE,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,WAAW,CAAC,CAAC,MAAM,CAAC,CAAC;AAEtD,uEAAuE;AACvE,eAAO,MAAM,kBAAkB,6IAC6G,CAAC;AAE7I,kHAAkH;AAClH,eAAO,MAAM,YAAY,QAAkH,CAAC;AAE5I,eAAO,MAAM,kBAAkB,yCAAyC,CAAC;AAEzE,eAAO,MAAM,gBAAgB,iCAAiC,CAAC;AAE/D,eAAO,MAAM,kBAAkB,wDAAwD,CAAC;AAExF,eAAO,MAAM,eAAe,kEAAkE,CAAC;AAE/F,eAAO,MAAM,gBAAgB,QAAmG,CAAC;AAEjI,eAAO,MAAM,gBAAgB,2BAA2B,CAAC;AAEzD,eAAO,MAAM,mBAAmB,QAA0D,CAAC;AAE3F,iGAAiG;AACjG,eAAO,MAAM,kBAAkB,gCAAgC,CAAC;AAEhE,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,UAAU,EAAE,MAAM,CAIxD,CAAC"}
1
+ {"version":3,"file":"tableStyles.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/Table/tableStyles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW,qCAAsC,CAAC;AAE/D,mEAAmE;AACnE,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,WAAW,CAAC,CAAC,MAAM,CAAC,CAAC;AAEtD,uEAAuE;AACvE,eAAO,MAAM,kBAAkB,6IAC6G,CAAC;AAE7I,kHAAkH;AAClH,eAAO,MAAM,YAAY,QAAkH,CAAC;AAE5I,uHAAuH;AACvH,eAAO,MAAM,qBAAqB,QAImC,CAAC;AAEtE,eAAO,MAAM,kBAAkB,yCAAyC,CAAC;AAEzE,eAAO,MAAM,gBAAgB,iCAAiC,CAAC;AAE/D,eAAO,MAAM,kBAAkB,wDAAwD,CAAC;AAExF,eAAO,MAAM,eAAe,kEAAkE,CAAC;AAE/F,eAAO,MAAM,gBAAgB,QAAmG,CAAC;AAEjI,eAAO,MAAM,gBAAgB,2BAA2B,CAAC;AAEzD;;;;GAIG;AACH,eAAO,MAAM,8BAA8B,sBAAsB,CAAC;AAClE,eAAO,MAAM,wBAAwB,iJAC2G,CAAC;AAEjJ,wHAAwH;AACxH,eAAO,MAAM,oBAAoB,uDAAuD,CAAC;AAEzF,eAAO,MAAM,mBAAmB,QAA0D,CAAC;AAE3F,iGAAiG;AACjG,eAAO,MAAM,kBAAkB,gCAAgC,CAAC;AAEhE,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,UAAU,EAAE,MAAM,CAIxD,CAAC"}
@@ -5,10 +5,10 @@ var t = [
5
5
  "start",
6
6
  "center",
7
7
  "end"
8
- ], n = "w-full max-w-full overflow-x-auto focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-focus-ring", r = `w-full min-w-max caption-bottom border-collapse has-[colgroup]:table-fixed text-fg ${e("body")}`, i = "[&_tr]:border-b [&_tr]:border-border", a = "[&_tr:last-child]:border-b-0", o = "border-t border-border-emphasized [&>tr]:border-b-0", s = "border-b border-border transition-colors hover:bg-ghost-hover", c = `h-11 px-3 text-start align-middle font-normal whitespace-nowrap ${e("ui-label")}`, l = "px-3 py-3 align-middle", u = `mt-3 text-start ${e("body")} text-muted`, d = "sticky start-0 z-10 bg-body", f = {
8
+ ], n = "w-full max-w-full overflow-x-auto focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-focus-ring", r = `w-full min-w-max caption-bottom border-collapse has-[colgroup]:table-fixed text-fg ${e("body")}`, i = "!min-w-0 border border-border [&_th]:border-x [&_th]:border-border [&_td]:border-x [&_td]:border-border [&_th]:px-6 [&_td]:px-6 [&_td]:py-4 lg:[&_th]:px-8 lg:[&_td]:px-8", a = "[&_tr]:border-b [&_tr]:border-border", o = "[&_tr:last-child]:border-b-0", s = "border-t border-border-emphasized [&>tr]:border-b-0", c = "border-b border-border transition-colors hover:bg-ghost-hover", l = `h-11 px-3 text-start align-middle font-normal whitespace-nowrap ${e("ui-label")}`, u = "px-3 py-3 align-middle", d = "!overflow-visible", f = "[&_thead]:sticky [&_thead]:top-[var(--table-sticky-top,0px)] [&_thead]:z-10 [&_thead]:bg-body [&_thead]:shadow-[0_1px_0_var(--color-border)]", p = "!h-auto !whitespace-normal !align-top py-6 lg:py-8", m = `mt-3 text-start ${e("body")} text-muted`, h = "sticky start-0 z-10 bg-body", g = {
9
9
  start: "text-start",
10
10
  center: "text-center",
11
11
  end: "text-end tabular-nums"
12
12
  };
13
13
  //#endregion
14
- export { f as tableAlignClasses, t as tableAligns, a as tableBodyClasses, u as tableCaptionClasses, l as tableCellClasses, r as tableClasses, o as tableFooterClasses, c as tableHeadClasses, i as tableHeaderClasses, s as tableRowClasses, n as tableScrollClasses, d as tableStickyClasses };
14
+ export { g as tableAlignClasses, t as tableAligns, o as tableBodyClasses, m as tableCaptionClasses, u as tableCellClasses, r as tableClasses, s as tableFooterClasses, i as tableGridRulesClasses, l as tableHeadClasses, p as tableHeadWrapClasses, a as tableHeaderClasses, c as tableRowClasses, n as tableScrollClasses, h as tableStickyClasses, f as tableStickyHeaderClasses, d as tableStickyHeaderScrollClasses };
@@ -18,6 +18,12 @@ export interface IndexListProps {
18
18
  captions?: IndexListCaptions;
19
19
  /** Title scale: `lg` type-display-3 (default), `md` type-heading-1, `sm` type-heading-3. */
20
20
  size?: IndexListSize;
21
+ /**
22
+ * `tracks` (default): the list's own two tracks (meta and title). `page`: the rows sit on the WMDS page grid
23
+ * (place the list as a direct child of a `grid-page` or Band): meta in the first two columns from md, the title
24
+ * across the width, a row's arrow in the last column. Like a table of posts.
25
+ */
26
+ columns?: "tracks" | "page";
21
27
  /** The heading element around each title. Default: `h2`. */
22
28
  titleAs?: IndexListTitleElement;
23
29
  /** Shown in place of the rows when there are none — for example "No posts match these filters." */
@@ -52,14 +58,28 @@ export interface IndexListItemProps {
52
58
  onOpenChange?: (open: boolean) => void;
53
59
  /** Names the preview control. Default: "Preview: {title}". */
54
60
  previewLabel?: string;
61
+ /**
62
+ * The whole row is the link: one hit area, a quiet fill across the row on hover and keyboard focus. `arrow` sets
63
+ * it too.
64
+ */
65
+ rowLink?: boolean;
66
+ /** An arrow at the row's end (→, or ↗ with `external`); the whole row is the link. */
67
+ arrow?: boolean;
68
+ /** The row goes to another site: the link opens in a new tab (said to screen readers), and its arrow, if any, is ↗. */
69
+ external?: boolean;
70
+ /**
71
+ * Slot: the row's tags, a few WMDS `Badge`s (e.g. "Case study", "Guide"), at the row's end before its arrow (from
72
+ * md; on phones they join the meta line). Needs `columns="page"`.
73
+ */
74
+ tags?: ReactNode;
55
75
  className?: IndexListLayoutClassName;
56
76
  }
57
77
  /**
58
78
  * Editorial index — a ruled list where each row has a meta column, a large linked title, and an
59
79
  * optional preview that expands under the title. Optional column captions share the rows' tracks.
60
80
  */
61
- declare function IndexListRoot({ captions, size, titleAs, empty, resultsLabel, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, children, className, }: IndexListProps): import("react").JSX.Element;
62
- declare function IndexListItem({ title, href, render, meta, preview, defaultOpen, open: openProp, onOpenChange, previewLabel, className, }: IndexListItemProps): import("react").JSX.Element;
81
+ declare function IndexListRoot({ captions, size, titleAs, columns, empty, resultsLabel, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, children, className, }: IndexListProps): import("react").JSX.Element;
82
+ declare function IndexListItem({ title, href, render, meta, preview, defaultOpen, open: openProp, onOpenChange, previewLabel, rowLink: rowLinkProp, arrow, external, tags, className, }: IndexListItemProps): import("react").JSX.Element;
63
83
  export declare const IndexList: typeof IndexListRoot & {
64
84
  Item: typeof IndexListItem;
65
85
  };
@@ -1 +1 @@
1
- {"version":3,"file":"IndexList.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/IndexList/IndexList.tsx"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,YAAY,EACjB,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAKf,OAAO,EAiBL,KAAK,aAAa,EAClB,KAAK,qBAAqB,EAC3B,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EACL,cAAc,EACd,sBAAsB,EACtB,KAAK,aAAa,EAClB,KAAK,qBAAqB,GAC3B,MAAM,mBAAmB,CAAC;AAG3B,sDAAsD;AACtD,MAAM,MAAM,wBAAwB,GAAG,MAAM,CAAC;AAE9C,MAAM,WAAW,iBAAiB;IAChC,iGAAiG;IACjG,IAAI,EAAE,SAAS,CAAC;IAChB,2CAA2C;IAC3C,KAAK,EAAE,SAAS,CAAC;CAClB;AAED,MAAM,WAAW,cAAc;IAC7B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,iBAAiB,CAAC;IAC7B,4FAA4F;IAC5F,IAAI,CAAC,EAAE,aAAa,CAAC;IAC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E,kBAAkB,+BA6CpB;AAED,eAAO,MAAM,SAAS;;CAEpB,CAAC"}
1
+ {"version":3,"file":"IndexList.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/IndexList/IndexList.tsx"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,YAAY,EACjB,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAKf,OAAO,EAiCL,KAAK,aAAa,EAClB,KAAK,qBAAqB,EAC3B,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EACL,cAAc,EACd,sBAAsB,EACtB,KAAK,aAAa,EAClB,KAAK,qBAAqB,GAC3B,MAAM,mBAAmB,CAAC;AAG3B,sDAAsD;AACtD,MAAM,MAAM,wBAAwB,GAAG,MAAM,CAAC;AAE9C,MAAM,WAAW,iBAAiB;IAChC,iGAAiG;IACjG,IAAI,EAAE,SAAS,CAAC;IAChB,2CAA2C;IAC3C,KAAK,EAAE,SAAS,CAAC;CAClB;AAED,MAAM,WAAW,cAAc;IAC7B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,iBAAiB,CAAC;IAC7B,4FAA4F;IAC5F,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB;;;;OAIG;IACH,OAAO,CAAC,EAAE,QAAQ,GAAG,MAAM,CAAC;IAC5B,4DAA4D;IAC5D,OAAO,CAAC,EAAE,qBAAqB,CAAC;IAChC,mGAAmG;IACnG,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,8DAA8D;IAC9D,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,+BAA+B;IAC/B,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,wBAAwB,CAAC;CACtC;AAED,MAAM,WAAW,kBAAkB;IACjC,0CAA0C;IAC1C,KAAK,EAAE,MAAM,CAAC;IACd,gFAAgF;IAChF,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,2GAA2G;IAC3G,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,6FAA6F;IAC7F,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,wFAAwF;IACxF,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,kCAAkC;IAClC,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,gCAAgC;IAChC,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACvC,8DAA8D;IAC9D,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,sFAAsF;IACtF,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,uHAAuH;IACvH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,SAAS,CAAC,EAAE,wBAAwB,CAAC;CACtC;AAUD;;;GAGG;AACH,iBAAS,aAAa,CAAC,EACrB,QAAQ,EACR,IAAW,EACX,OAAc,EACd,OAAkB,EAClB,KAAK,EACL,YAAY,EACZ,YAAY,EAAE,SAAS,EACvB,iBAAiB,EAAE,cAAc,EACjC,QAAQ,EACR,SAAS,GACV,EAAE,cAAc,+BAoChB;AAED,iBAAS,aAAa,CAAC,EACrB,KAAK,EACL,IAAI,EACJ,MAAM,EACN,IAAI,EACJ,OAAO,EACP,WAAmB,EACnB,IAAI,EAAE,QAAQ,EACd,YAAY,EACZ,YAAY,EACZ,OAAO,EAAE,WAAmB,EAC5B,KAAa,EACb,QAAgB,EAChB,IAAI,EACJ,SAAS,GACV,EAAE,kBAAkB,+BAsEpB;AAED,eAAO,MAAM,SAAS;;CAEpB,CAAC"}
@@ -3,97 +3,137 @@ import { cn as e } from "../../../lib/cn.js";
3
3
  import { IconButton as t } from "../../atoms/IconButton/IconButton.js";
4
4
  import { TextLink as n } from "../../atoms/TextLink/TextLink.js";
5
5
  import { emptySlot as r } from "../EmptyState/EmptyState.js";
6
- import { indexListCaptionsClasses as i, indexListChevronClasses as a, indexListEmptyClasses as o, indexListItemClasses as s, indexListListClasses as c, indexListMetaClasses as l, indexListPanelClasses as u, indexListPanelContentClasses as d, indexListPanelInnerClasses as f, indexListRootClasses as p, indexListSizes as m, indexListTitleCellClasses as h, indexListTitleClasses as g, indexListTitleElements as _, indexListTitleSizeClasses as v, indexListToggleAlignClasses as y } from "./indexListStyles.js";
7
- import { Children as b, createContext as x, useContext as S, useId as C, useMemo as w, useState as T } from "react";
8
- import { ChevronDown as E } from "lucide-react";
9
- import { jsx as D, jsxs as O } from "react/jsx-runtime";
6
+ import { indexListArrowClasses as i, indexListArrowNudgeClasses as a, indexListArrowNudgeExternalClasses as o, indexListCaptionsClasses as s, indexListChevronClasses as c, indexListEmptyClasses as l, indexListItemClasses as u, indexListListClasses as d, indexListMetaClasses as f, indexListPageCaptionsClasses as p, indexListPageEndClasses as m, indexListPageItemClasses as h, indexListPageMetaClasses as g, indexListPagePanelClasses as _, indexListPageRootClasses as v, indexListPageTitleCellClasses as y, indexListPageTitleCellEndClasses as b, indexListPanelClasses as ee, indexListPanelContentClasses as x, indexListPanelInnerClasses as S, indexListRootClasses as C, indexListRowLinkClasses as w, indexListSizes as T, indexListTagsClasses as te, indexListTagsInMetaClasses as E, indexListTitleCellClasses as D, indexListTitleClasses as O, indexListTitleElements as k, indexListTitleSizeClasses as A, indexListToggleAlignClasses as j } from "./indexListStyles.js";
7
+ import { Children as M, createContext as N, useContext as P, useId as F, useMemo as I, useState as ne } from "react";
8
+ import { ArrowRight as L, ArrowUpRight as R, ChevronDown as z } from "lucide-react";
9
+ import { jsx as B, jsxs as V } from "react/jsx-runtime";
10
10
  //#region src/components/molecules/IndexList/IndexList.tsx
11
- var k = x({
11
+ var H = N({
12
12
  size: "lg",
13
- titleAs: "h2"
13
+ titleAs: "h2",
14
+ page: !1
14
15
  });
15
- function A({ captions: t, size: n = "lg", titleAs: a = "h2", empty: s, resultsLabel: l, "aria-label": u, "aria-labelledby": d, children: f, className: m }) {
16
- let h = b.toArray(f).length > 0, g = w(() => ({
16
+ function U({ captions: t, size: n = "lg", titleAs: i = "h2", columns: a = "tracks", empty: o, resultsLabel: c, "aria-label": u, "aria-labelledby": f, children: m, className: h }) {
17
+ let g = M.toArray(m).length > 0, _ = a === "page", y = I(() => ({
17
18
  size: n,
18
- titleAs: a
19
- }), [n, a]);
20
- return /* @__PURE__ */ D(k.Provider, {
21
- value: g,
22
- children: /* @__PURE__ */ O("div", {
23
- className: e(p, m),
19
+ titleAs: i,
20
+ page: _
21
+ }), [
22
+ n,
23
+ i,
24
+ _
25
+ ]);
26
+ return /* @__PURE__ */ B(H.Provider, {
27
+ value: y,
28
+ children: /* @__PURE__ */ V("div", {
29
+ className: e(_ ? v : C, h),
24
30
  "data-size": n,
31
+ "data-columns": a,
25
32
  children: [
26
- h && t != null ? /* @__PURE__ */ O("div", {
27
- className: i,
33
+ g && t != null ? /* @__PURE__ */ V("div", {
34
+ className: _ ? p : s,
28
35
  "aria-hidden": "true",
29
36
  "data-index-list-captions": "",
30
- children: [/* @__PURE__ */ O("span", { children: ["/ ", t.meta] }), /* @__PURE__ */ O("span", {
31
- className: "@lg:col-start-2",
37
+ children: [/* @__PURE__ */ V("span", {
38
+ className: _ ? "md:col-span-2" : void 0,
39
+ children: ["/ ", t.meta]
40
+ }), /* @__PURE__ */ V("span", {
41
+ className: _ ? "md:col-span-6 md:col-start-3 lg:col-span-10" : "@lg:col-start-2",
32
42
  children: ["/ ", t.title]
33
43
  })]
34
44
  }) : null,
35
- h ? /* @__PURE__ */ D("ul", {
45
+ g ? /* @__PURE__ */ B("ul", {
36
46
  role: "list",
37
47
  "aria-label": u,
38
- "aria-labelledby": d,
39
- className: e(c, t != null && "@lg:border-t-0"),
40
- children: f
41
- }) : s == null ? null : /* @__PURE__ */ D("div", {
42
- className: o,
48
+ "aria-labelledby": f,
49
+ className: e(d, _ && "col-span-full grid grid-cols-subgrid", t != null && "@lg:border-t-0"),
50
+ children: m
51
+ }) : o == null ? null : /* @__PURE__ */ B("div", {
52
+ className: l,
43
53
  "data-index-list-empty": "",
44
- children: r(s)
54
+ children: r(o)
45
55
  }),
46
- l == null ? null : /* @__PURE__ */ D("p", {
56
+ c == null ? null : /* @__PURE__ */ B("p", {
47
57
  role: "status",
48
58
  className: "sr-only",
49
- children: l
59
+ children: c
50
60
  })
51
61
  ]
52
62
  })
53
63
  });
54
64
  }
55
- function j({ title: r, href: i, render: o, meta: c, preview: p, defaultOpen: m = !1, open: _, onOpenChange: b, previewLabel: x, className: w }) {
56
- let { size: A, titleAs: j } = S(k), M = C(), [N, P] = T(m), F = _ !== void 0, I = F ? _ : N, L = p != null;
57
- function R() {
58
- let e = !I;
59
- F || P(e), b?.(e);
65
+ function W({ title: r, href: s, render: l, meta: d, preview: p, defaultOpen: v = !1, open: C, onOpenChange: T, previewLabel: k, rowLink: M = !1, arrow: N = !1, external: I = !1, tags: U, className: W }) {
66
+ let { size: G, titleAs: K, page: q } = P(H), J = M || N, Y = q && (N || U != null), X = F(), [re, ie] = ne(v), Z = C !== void 0, Q = Z ? C : re, $ = p != null;
67
+ function ae() {
68
+ let e = !Q;
69
+ Z || ie(e), T?.(e);
60
70
  }
61
- return /* @__PURE__ */ O("li", {
62
- className: e(s, w),
71
+ return /* @__PURE__ */ V("li", {
72
+ className: e(q ? h : u, J && w, W),
73
+ "data-row-link": J ? "" : void 0,
63
74
  children: [
64
- c == null ? null : /* @__PURE__ */ D("div", {
65
- className: l,
66
- children: c
75
+ d == null ? null : /* @__PURE__ */ V("div", {
76
+ className: q ? g : f,
77
+ children: [d, q && U != null ? /* @__PURE__ */ B("span", {
78
+ className: E,
79
+ children: U
80
+ }) : null]
81
+ }),
82
+ /* @__PURE__ */ V("div", {
83
+ className: q ? Y ? b : y : D,
84
+ children: [
85
+ /* @__PURE__ */ B(K, {
86
+ className: e(O, A[G]),
87
+ children: /* @__PURE__ */ B(n, {
88
+ variant: "quiet",
89
+ href: s,
90
+ render: l,
91
+ newTab: I,
92
+ children: r
93
+ })
94
+ }),
95
+ $ ? /* @__PURE__ */ B(t, {
96
+ size: "md",
97
+ className: e(j[G], J && "relative z-10"),
98
+ icon: /* @__PURE__ */ B(z, { className: e(c, Q && "rotate-180") }),
99
+ "aria-label": k ?? `Preview: ${r}`,
100
+ title: "",
101
+ "aria-expanded": Q,
102
+ "aria-controls": X,
103
+ onClick: ae
104
+ }) : null,
105
+ N && !q ? /* @__PURE__ */ B("span", {
106
+ "aria-hidden": "true",
107
+ className: e(i, I ? o : a),
108
+ children: B(I ? R : L, {
109
+ className: "size-5",
110
+ strokeWidth: 2
111
+ })
112
+ }) : null
113
+ ]
67
114
  }),
68
- /* @__PURE__ */ O("div", {
69
- className: h,
70
- children: [/* @__PURE__ */ D(j, {
71
- className: e(g, v[A]),
72
- children: /* @__PURE__ */ D(n, {
73
- variant: "quiet",
74
- href: i,
75
- render: o,
76
- children: r
115
+ Y ? /* @__PURE__ */ V("div", {
116
+ className: m,
117
+ children: [U == null ? null : /* @__PURE__ */ B("span", {
118
+ className: te,
119
+ children: U
120
+ }), N ? /* @__PURE__ */ B("span", {
121
+ "aria-hidden": "true",
122
+ className: e(i, I ? o : a),
123
+ children: B(I ? R : L, {
124
+ className: "size-5",
125
+ strokeWidth: 2
77
126
  })
78
- }), L ? /* @__PURE__ */ D(t, {
79
- size: "md",
80
- className: y[A],
81
- icon: /* @__PURE__ */ D(E, { className: e(a, I && "rotate-180") }),
82
- "aria-label": x ?? `Preview: ${r}`,
83
- title: "",
84
- "aria-expanded": I,
85
- "aria-controls": M,
86
- onClick: R
87
127
  }) : null]
88
- }),
89
- L ? /* @__PURE__ */ D("div", {
90
- className: e("motion-collapse", u),
91
- "data-visible": I ? "true" : "false",
92
- children: /* @__PURE__ */ D("div", {
93
- id: M,
94
- className: f,
95
- children: /* @__PURE__ */ D("div", {
96
- className: d,
128
+ }) : null,
129
+ $ ? /* @__PURE__ */ B("div", {
130
+ className: e("motion-collapse", q ? _ : ee),
131
+ "data-visible": Q ? "true" : "false",
132
+ children: /* @__PURE__ */ B("div", {
133
+ id: X,
134
+ className: S,
135
+ children: /* @__PURE__ */ B("div", {
136
+ className: x,
97
137
  children: p
98
138
  })
99
139
  })
@@ -101,6 +141,6 @@ function j({ title: r, href: i, render: o, meta: c, preview: p, defaultOpen: m =
101
141
  ]
102
142
  });
103
143
  }
104
- var M = Object.assign(A, { Item: j });
144
+ var G = Object.assign(U, { Item: W });
105
145
  //#endregion
106
- export { M as IndexList, m as indexListSizes, _ as indexListTitleElements };
146
+ export { G as IndexList, T as indexListSizes, k as indexListTitleElements };
@@ -26,4 +26,33 @@ export declare const indexListPanelInnerClasses = "overflow-hidden";
26
26
  export declare const indexListPanelContentClasses: string;
27
27
  /** Empty state — between the same rules as the rows. */
28
28
  export declare const indexListEmptyClasses = "border-y border-border py-8";
29
+ /**
30
+ * `columns="page"`: the list sits on the WMDS page grid (subgrid) instead of its own tracks. The meta takes the
31
+ * first two columns from md (above the title on phones), the title the width, and a row's arrow the last column.
32
+ */
33
+ export declare const indexListPageRootClasses = "col-span-full grid min-w-0 grid-cols-subgrid";
34
+ export declare const indexListPageListClasses = "col-span-full grid grid-cols-subgrid";
35
+ export declare const indexListPageCaptionsClasses: string;
36
+ export declare const indexListPageItemClasses = "col-span-full grid grid-cols-subgrid items-baseline border-b border-border py-4";
37
+ export declare const indexListPageMetaClasses: string;
38
+ /** The title cell beside the meta; a row with an end cell (tags, arrow) leaves the last columns for it. */
39
+ export declare const indexListPageTitleCellClasses = "col-span-full flex min-w-0 items-start gap-3 md:col-span-6 md:col-start-3 lg:col-span-10";
40
+ export declare const indexListPageTitleCellEndClasses = "col-span-3 flex min-w-0 items-start gap-3 md:col-span-4 md:col-start-3 lg:col-span-7";
41
+ /** The end cell: the row's tags (badges) then its arrow, flush to the end; one column on phones (arrow only), two from md, three from lg. */
42
+ export declare const indexListPageEndClasses = "col-span-1 flex items-center justify-end gap-3 self-center md:col-span-2 lg:col-span-3";
43
+ /** Tags sit in the end cell from md; on phones they join the meta line. */
44
+ export declare const indexListTagsClasses = "flex-wrap justify-end gap-2 max-md:hidden md:flex";
45
+ export declare const indexListTagsInMetaClasses = "ms-2 flex-wrap gap-2 align-middle max-md:inline-flex md:hidden";
46
+ export declare const indexListPagePanelClasses = "col-span-full md:col-span-6 md:col-start-3 lg:col-span-10";
47
+ /**
48
+ * A row that is one link (`arrow` or `external`): the title's link covers the whole row, and the row lights up under
49
+ * the pointer or keyboard focus with a quiet fill that bleeds a little past the text.
50
+ */
51
+ export declare const indexListRowLinkClasses: string;
52
+ /** The row's arrow at the end: decorative (the title says where it goes), nudged on hover. */
53
+ export declare const indexListArrowClasses: string;
54
+ export declare const indexListArrowNudgeClasses = "group-has-[a:hover]/row:translate-x-1";
55
+ export declare const indexListArrowNudgeExternalClasses = "group-has-[a:hover]/row:-translate-y-0.5 group-has-[a:hover]/row:translate-x-0.5";
56
+ /** The preview control stays clickable over the row's link. */
57
+ export declare const indexListToggleAboveRowClasses = "relative z-10";
29
58
  //# sourceMappingURL=indexListStyles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"indexListStyles.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/IndexList/indexListStyles.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,cAAc,6BAA8B,CAAC;AAE1D,mFAAmF;AACnF,MAAM,MAAM,aAAa,GAAG,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,CAAC,CAAC;AAE5D,eAAO,MAAM,sBAAsB,6BAA8B,CAAC;AAElE,MAAM,MAAM,qBAAqB,GAAG,CAAC,OAAO,sBAAsB,CAAC,CAAC,MAAM,CAAC,CAAC;AAU5E,eAAO,MAAM,oBAAoB,4CAA4C,CAAC;AAE9E,2EAA2E;AAC3E,eAAO,MAAM,wBAAwB,QAIpC,CAAC;AAEF,eAAO,MAAM,oBAAoB,6CAA6C,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9F,eAAO,MAAM,qBAAqB,QAGjC,CAAC;AACF,eAAO,MAAM,0BAA0B,0CAA0C,CAAC;AAClF,eAAO,MAAM,kCAAkC,qFAAqF,CAAC;AACrI,+DAA+D;AAC/D,eAAO,MAAM,8BAA8B,kBAAkB,CAAC"}
@@ -19,6 +19,6 @@ var r = [
19
19
  lg: "mt-[calc((var(--text-display-3-size)*var(--text-display-3-leading)-2.75rem)/2)]",
20
20
  md: "mt-[calc((var(--text-heading-1-size)*var(--text-heading-1-leading)-2.75rem)/2)]",
21
21
  sm: "mt-[calc((var(--text-heading-3-size)*var(--text-heading-3-leading)-2.75rem)/2)]"
22
- }, g = e("transition-transform", n("medium")), _ = "rotate-180", v = "@lg:col-start-2", y = "overflow-hidden", b = e(t("body"), "text-muted pt-2 pb-1 pr-14"), x = "border-y border-border py-8";
22
+ }, g = e("transition-transform", n("medium")), _ = "rotate-180", v = "@lg:col-start-2", y = "overflow-hidden", b = e(t("body"), "text-muted pt-2 pb-1 pr-14"), x = "border-y border-border py-8", S = "col-span-full grid min-w-0 grid-cols-subgrid", C = "col-span-full grid grid-cols-subgrid", w = e("col-span-full grid-cols-subgrid border-b border-border-emphasized pb-3 text-muted max-md:hidden md:grid", t("eyebrow")), T = "col-span-full grid grid-cols-subgrid items-baseline border-b border-border py-4", E = e(t("caption"), "col-span-full mb-1 tabular-nums md:col-span-2 md:mb-0"), D = "col-span-full flex min-w-0 items-start gap-3 md:col-span-6 md:col-start-3 lg:col-span-10", O = "col-span-3 flex min-w-0 items-start gap-3 md:col-span-4 md:col-start-3 lg:col-span-7", k = "col-span-1 flex items-center justify-end gap-3 self-center md:col-span-2 lg:col-span-3", A = "flex-wrap justify-end gap-2 max-md:hidden md:flex", j = "ms-2 flex-wrap gap-2 align-middle max-md:inline-flex md:hidden", M = "col-span-full md:col-span-6 md:col-start-3 lg:col-span-10", N = e("group/row relative isolate [&_a]:after:absolute [&_a]:after:inset-0 [&_a]:after:content-['']", "before:pointer-events-none before:absolute before:inset-y-0 before:-inset-x-3 before:-z-10 before:rounded-md before:bg-ghost-hover before:opacity-0", "has-[a:hover]:before:opacity-100 has-[a:focus-visible]:before:opacity-100", n("fast"), "before:transition-opacity"), P = e("pointer-events-none flex shrink-0 justify-end self-center text-muted transition-transform", n("fast")), F = "group-has-[a:hover]/row:translate-x-1", I = "group-has-[a:hover]/row:-translate-y-0.5 group-has-[a:hover]/row:translate-x-0.5", L = "relative z-10";
23
23
  //#endregion
24
- export { s as indexListCaptionsClasses, g as indexListChevronClasses, _ as indexListChevronOpenClasses, x as indexListEmptyClasses, u as indexListItemClasses, l as indexListListCaptionedClasses, c as indexListListClasses, d as indexListMetaClasses, v as indexListPanelClasses, b as indexListPanelContentClasses, y as indexListPanelInnerClasses, o as indexListRootClasses, r as indexListSizes, f as indexListTitleCellClasses, m as indexListTitleClasses, i as indexListTitleElements, p as indexListTitleSizeClasses, h as indexListToggleAlignClasses };
24
+ export { P as indexListArrowClasses, F as indexListArrowNudgeClasses, I as indexListArrowNudgeExternalClasses, s as indexListCaptionsClasses, g as indexListChevronClasses, _ as indexListChevronOpenClasses, x as indexListEmptyClasses, u as indexListItemClasses, l as indexListListCaptionedClasses, c as indexListListClasses, d as indexListMetaClasses, w as indexListPageCaptionsClasses, k as indexListPageEndClasses, T as indexListPageItemClasses, C as indexListPageListClasses, E as indexListPageMetaClasses, M as indexListPagePanelClasses, S as indexListPageRootClasses, D as indexListPageTitleCellClasses, O as indexListPageTitleCellEndClasses, v as indexListPanelClasses, b as indexListPanelContentClasses, y as indexListPanelInnerClasses, o as indexListRootClasses, N as indexListRowLinkClasses, r as indexListSizes, A as indexListTagsClasses, j as indexListTagsInMetaClasses, f as indexListTitleCellClasses, m as indexListTitleClasses, i as indexListTitleElements, p as indexListTitleSizeClasses, L as indexListToggleAboveRowClasses, h as indexListToggleAlignClasses };